colexiu-report-legacy.f40f4501.js 186 KB

1
  1. !function(){var e=["premium","referrerPolicy"];function t(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=p(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 a,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw a}}}}function n(e,t,n,r,i,a,o){try{var l=e[a](o),s=l.value}catch(c){return void n(c)}l.done?t(s):Promise.resolve(s).then(r,i)}function r(e){return function(){var t=this,r=arguments;return new Promise((function(i,a){var o=e.apply(t,r);function l(e){n(o,i,a,l,s,"next",e)}function s(e){n(o,i,a,l,s,"throw",e)}l(void 0)}))}}function i(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function a(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||p(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(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 u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,a=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(s){l=!0,i=s}finally{try{o||null==n.return||n.return()}finally{if(l)throw i}}return a}(e,t)||p(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){if(e){if("string"==typeof e)return m(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)?m(e,t):void 0}}function m(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 h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e){return f="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},f(e)}var g=document.createElement("style");g.innerHTML='._musicSheet_kzmj4_1{padding-top:.96rem}._musicSheet_kzmj4_1 img{display:none!important}._headTitle_kzmj4_7{font-size:.32rem;font-weight:700;text-align:center;padding:.18667rem 0 0}._btn_kzmj4_13{position:fixed;bottom:.4rem;z-index:9;left:50%;transform:translate(-50%)}._btn_kzmj4_13 ._btnCont_kzmj4_20{height:auto;padding:0;background-color:transparent;border:none}._popup_kzmj4_26 .plyr{min-width:auto}._popup_kzmj4_26 .plyr__poster{background-image:url(/orchestra-music-score/assets/videobg.e54e8ad4.png)!important;background-size:cover!important}.eyeProtection ._header_seljm_1{background:var(--eye-background-color)!important}._header_seljm_1{position:absolute;z-index:2;top:0;left:0;right:0;border-radius:.13333rem .13333rem 0 0;background-color:#fff}._header_seljm_1 .van-hairline--right:after{border-color:#ebdabf!important;height:80%;top:10%}._header_seljm_1 ._leftButton_seljm_18{display:flex;align-items:center}._header_seljm_1 ._leftButton_seljm_18 ._back_seljm_22{z-index:9;padding:0;height:auto;background-color:transparent;border:none}._header_seljm_1 ._info_seljm_29{display:flex;justify-content:space-between;height:.96rem;box-sizing:border-box;padding-right:.42667rem;padding-left:.21333rem}._header_seljm_1 ._info_seljm_29 .van-grid-item__content{display:flex;flex-direction:column;justify-content:center;background-color:transparent}._header_seljm_1 ._musicName_seljm_43{margin-left:.18667rem;max-width:20vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.26667rem;color:#985131}._header_seljm_1 ._demos_seljm_52{right:.13333rem;height:initial;display:flex;margin-top:.13333rem;position:absolute;padding:0 .08rem;float:right;background-color:rgba(255,255,255,.6);height:.50667rem;border-radius:.24rem}._header_seljm_1 ._demos_seljm_52>div{display:flex;align-items:center}._header_seljm_1 ._demos_seljm_52>div>span{display:inline-block;margin:0 .10667rem;font-size:.18667rem;color:#1a1a1a}._header_seljm_1 .van-grid:after{display:none;border:none}._header_seljm_1 .van-grid-item__content{width:.74667rem;padding:0;color:#333;display:flex}._header_seljm_1 .van-grid-item__content:after{border-color:#e5e5e5}._header_seljm_1 .van-grid-item__content>div>span{font-size:.21333rem;font-weight:700}._header_seljm_1 .van-grid-item__content>span{color:#999;font-size:.16rem;display:block;height:.32rem;line-height:.32rem;text-align:center}._header_seljm_1 .van-grid-item__content>span.switch{width:.56rem;border-radius:.16rem}._header_seljm_1 .van-grid-item__content>span.active{background-color:var(--van-primary-color);color:#fff}._header_seljm_1 .van-grid-item__content>span{width:initial;height:initial}._header_seljm_1 .van-grid-item__content:after{display:none;border:none}._line_seljm_115{position:relative}._line_seljm_115:before{width:100%;height:.10667rem;background:#fcd660;border-radius:.05333rem;opacity:.26;content:"";display:block;position:absolute;bottom:-.05333rem}._btns_seljm_129 .van-grid-item__content img{display:block;width:.4rem;height:.4rem}._btns_seljm_129 .van-grid-item__content>span{margin-top:0;font-size:.13333rem;width:initial;height:initial}._pop_seljm_140{padding:.21333rem .4rem;border-radius:.24rem}._pop_seljm_140 h2{font-size:.21333rem;color:#333;font-weight:400;text-align:center}._pop_seljm_140>div{margin-left:0}._pop_seljm_140 .van-badge__wrapper{width:.18667rem;height:.32rem;display:block;text-align:center}._pop_seljm_140 .van-grid-item__content{display:flex;flex-direction:row;align-items:start;justify-content:flex-start;padding-left:0;padding-right:0}._pop_seljm_140 .van-grid-item__content>span{display:inline-block;margin-left:.08rem;flex:1;color:#1a1a1a;font-size:.16rem;width:2.26667rem;height:.24rem}._close_seljm_176{position:absolute;right:-.16rem;top:-.16rem;width:.42667rem;height:.42667rem;display:flex;z-index:10}._close_seljm_176 img{display:block;width:100%;height:100%}._try_seljm_190{position:fixed;left:50%;transform:translate(-50%);bottom:.26667rem}._try_seljm_190 ._trybtn_seljm_196{width:2.18667rem;height:.58667rem;background:linear-gradient(180deg,#59e5d5 0%,#2dc7aa 100%);box-shadow:0 .05333rem .18667rem rgba(45,199,170,.25);border-radius:.32rem;font-size:.24rem;color:#fff;margin:auto;border:none}._videoContent_seljm_207{margin:0;border-radius:.26667rem;--plyr-color-main: var(--van-primary-color);background-color:transparent}._videoContent_seljm_207 ._box_seljm_213{display:flex;align-items:center;overflow:hidden;max-width:80vw;height:80vh;max-height:8.66667rem}._videoContent_seljm_207 ._box_seljm_213 video{width:100%;height:100%;object-fit:contain}._videoContent_seljm_207 .plyr{border-radius:.26667rem;height:100%}@keyframes plyr-progress{to{background-position:.66667rem 0;background-position:var(--plyr-progress-loading-size,25px) 0}}@keyframes plyr-popup{0%{opacity:.5;transform:translateY(.26667rem)}to{opacity:1;transform:translateY(0)}}@keyframes plyr-fade-in{0%{opacity:0}to{opacity:1}}.plyr{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;align-items:center;direction:ltr;display:flex;flex-direction:column;font-family:inherit;font-family:var(--plyr-font-family,inherit);font-variant-numeric:tabular-nums;font-weight:400;font-weight:var(--plyr-font-weight-regular,400);line-height:1.7;line-height:var(--plyr-line-height,1.7);max-width:100%;min-width:5.33333rem;position:relative;text-shadow:none;transition:box-shadow .3s ease;z-index:0}.plyr audio,.plyr iframe,.plyr video{display:block;height:100%;width:100%}.plyr button{font:inherit;line-height:inherit;width:auto}.plyr:focus{outline:0}.plyr--full-ui{box-sizing:border-box}.plyr--full-ui *,.plyr--full-ui :after,.plyr--full-ui :before{box-sizing:inherit}.plyr--full-ui a,.plyr--full-ui button,.plyr--full-ui input,.plyr--full-ui label{touch-action:manipulation}.plyr__badge{background:#4a5464;background:var(--plyr-badge-background,#4a5464);border-radius:.05333rem;border-radius:var(--plyr-badge-border-radius,2px);color:#fff;color:var(--plyr-badge-text-color,#fff);font-size:.24rem;font-size:var(--plyr-font-size-badge,9px);line-height:1;padding:.08rem .10667rem}.plyr--full-ui ::-webkit-media-text-track-container{display:none}.plyr__captions{animation:plyr-fade-in .3s ease;bottom:0;display:none;font-size:.34667rem;font-size:var(--plyr-font-size-small,13px);left:0;padding:.26667rem;padding:var(--plyr-control-spacing,10px);position:absolute;text-align:center;transition:transform .4s ease-in-out;width:100%}.plyr__captions span:empty{display:none}@media (min-width:480px){.plyr__captions{font-size:.4rem;font-size:var(--plyr-font-size-base,15px);padding:.53333rem;padding:calc(var(--plyr-control-spacing, 10px)*2)}}@media (min-width:768px){.plyr__captions{font-size:.48rem;font-size:var(--plyr-font-size-large,18px)}}.plyr--captions-active .plyr__captions{display:block}.plyr:not(.plyr--hide-controls) .plyr__controls:not(:empty)~.plyr__captions{transform:translateY(-1.06667rem);transform:translateY(calc(var(--plyr-control-spacing, 10px)*-4))}.plyr__caption{background:rgba(0,0,0,.8);background:var(--plyr-captions-background,rgba(0,0,0,.8));border-radius:.05333rem;-webkit-box-decoration-break:clone;box-decoration-break:clone;color:#fff;color:var(--plyr-captions-text-color,#fff);line-height:185%;padding:.2em .5em;white-space:pre-wrap}.plyr__caption div{display:inline}.plyr__control{background:transparent;border:0;border-radius:.08rem;border-radius:var(--plyr-control-radius,3px);color:inherit;cursor:pointer;flex-shrink:0;overflow:visible;padding:.18667rem;padding:calc(var(--plyr-control-spacing, 10px)*.7);position:relative;transition:all .3s ease}.plyr__control svg{fill:currentColor;display:block;height:.48rem;height:var(--plyr-control-icon-size,18px);pointer-events:none;width:.48rem;width:var(--plyr-control-icon-size,18px)}.plyr__control:focus{outline:0}.plyr__control.plyr__tab-focus{outline-color:#00b3ff;outline-color:var(--plyr-tab-focus-color,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));outline-offset:.05333rem;outline-style:dotted;outline-width:.08rem}a.plyr__control{text-decoration:none}.plyr__control.plyr__control--pressed .icon--not-pressed,.plyr__control.plyr__control--pressed .label--not-pressed,.plyr__control:not(.plyr__control--pressed) .icon--pressed,.plyr__control:not(.plyr__control--pressed) .label--pressed,a.plyr__control:after,a.plyr__control:before{display:none}.plyr--full-ui ::-webkit-media-controls{display:none}.plyr__controls{align-items:center;display:flex;justify-content:flex-end;text-align:center}.plyr__controls .plyr__progress__container{flex:1;min-width:0}.plyr__controls .plyr__controls__item{margin-left:.06667rem;margin-left:calc(var(--plyr-control-spacing, 10px)/4)}.plyr__controls .plyr__controls__item:first-child{margin-left:0;margin-right:auto}.plyr__controls .plyr__controls__item.plyr__progress__container{padding-left:.06667rem;padding-left:calc(var(--plyr-control-spacing, 10px)/4)}.plyr__controls .plyr__controls__item.plyr__time{padding:0 .13333rem;padding:0 calc(var(--plyr-control-spacing, 10px)/2)}.plyr__controls .plyr__controls__item.plyr__progress__container:first-child,.plyr__controls .plyr__controls__item.plyr__time+.plyr__time,.plyr__controls .plyr__controls__item.plyr__time:first-child{padding-left:0}.plyr [data-plyr=airplay],.plyr [data-plyr=captions],.plyr [data-plyr=fullscreen],.plyr [data-plyr=pip],.plyr__controls:empty{display:none}.plyr--airplay-supported [data-plyr=airplay],.plyr--captions-enabled [data-plyr=captions],.plyr--fullscreen-enabled [data-plyr=fullscreen],.plyr--pip-supported [data-plyr=pip]{display:inline-block}.plyr__menu{display:flex;position:relative}.plyr__menu .plyr__control svg{transition:transform .3s ease}.plyr__menu .plyr__control[aria-expanded=true] svg{transform:rotate(90deg)}.plyr__menu .plyr__control[aria-expanded=true] .plyr__tooltip{display:none}.plyr__menu__container{animation:plyr-popup .2s ease;background:hsla(0,0%,100%,.9);background:var(--plyr-menu-background,hsla(0,0%,100%,.9));border-radius:.10667rem;bottom:100%;box-shadow:0 .02667rem .05333rem rgba(0,0,0,.15);box-shadow:var(--plyr-menu-shadow,0 1px 2px rgba(0,0,0,.15));color:#4a5464;color:var(--plyr-menu-color,#4a5464);font-size:.4rem;font-size:var(--plyr-font-size-base,15px);margin-bottom:.26667rem;position:absolute;right:-.08rem;text-align:left;white-space:nowrap;z-index:3}.plyr__menu__container>div{overflow:hidden;transition:height .35s cubic-bezier(.4,0,.2,1),width .35s cubic-bezier(.4,0,.2,1)}.plyr__menu__container:after{border:.10667rem solid transparent;border-top:var(--plyr-menu-arrow-size,4px) solid hsla(0,0%,100%,.9);border-width:var(--plyr-menu-arrow-size,4px);content:"";height:0;position:absolute;right:.37333rem;right:calc(var(--plyr-control-icon-size, 18px)/2 + var(--plyr-control-spacing, 10px)*.7 - var(--plyr-menu-arrow-size, 4px)/2);top:100%;width:0}.plyr__menu__container [role=menu]{padding:.18667rem;padding:calc(var(--plyr-control-spacing, 10px)*.7)}.plyr__menu__container [role=menuitem],.plyr__menu__container [role=menuitemradio]{margin-top:.05333rem}.plyr__menu__container [role=menuitem]:first-child,.plyr__menu__container [role=menuitemradio]:first-child{margin-top:0}.plyr__menu__container .plyr__control{align-items:center;color:#4a5464;color:var(--plyr-menu-color,#4a5464);display:flex;font-size:.34667rem;font-size:var(--plyr-font-size-menu,var(--plyr-font-size-small,13px));padding:.12444rem .28rem;padding:calc(var(--plyr-control-spacing, 10px)*.7/1.5) calc(var(--plyr-control-spacing, 10px)*.7*1.5);-webkit-user-select:none;user-select:none;width:100%}.plyr__menu__container .plyr__control>span{align-items:inherit;display:flex;width:100%}.plyr__menu__container .plyr__control:after{border:.10667rem solid transparent;border:var(--plyr-menu-item-arrow-size,4px) solid transparent;content:"";position:absolute;top:50%;transform:translateY(-50%)}.plyr__menu__container .plyr__control--forward{padding-right:.74667rem;padding-right:calc(var(--plyr-control-spacing, 10px)*.7*4)}.plyr__menu__container .plyr__control--forward:after{border-left-color:#728197;border-left-color:var(--plyr-menu-arrow-color,#728197);right:.17333rem;right:calc(var(--plyr-control-spacing, 10px)*.7*1.5 - var(--plyr-menu-item-arrow-size, 4px))}.plyr__menu__container .plyr__control--forward.plyr__tab-focus:after,.plyr__menu__container .plyr__control--forward:hover:after{border-left-color:initial}.plyr__menu__container .plyr__control--back{font-weight:400;font-weight:var(--plyr-font-weight-regular,400);margin:.18667rem;margin:calc(var(--plyr-control-spacing, 10px)*.7);margin-bottom:.09333rem;margin-bottom:calc(var(--plyr-control-spacing, 10px)*.7/2);padding-left:.74667rem;padding-left:calc(var(--plyr-control-spacing, 10px)*.7*4);position:relative;width:calc(100% - .37333rem);width:calc(100% - var(--plyr-control-spacing, 10px)*.7*2)}.plyr__menu__container .plyr__control--back:after{border-right-color:#728197;border-right-color:var(--plyr-menu-arrow-color,#728197);left:.17333rem;left:calc(var(--plyr-control-spacing, 10px)*.7*1.5 - var(--plyr-menu-item-arrow-size, 4px))}.plyr__menu__container .plyr__control--back:before{background:#dcdfe5;background:var(--plyr-menu-back-border-color,#dcdfe5);box-shadow:0 .02667rem #fff;box-shadow:0 .02667rem 0 var(--plyr-menu-back-border-shadow-color,#fff);content:"";height:.02667rem;left:0;margin-top:.09333rem;margin-top:calc(var(--plyr-control-spacing, 10px)*.7/2);overflow:hidden;position:absolute;right:0;top:100%}.plyr__menu__container .plyr__control--back.plyr__tab-focus:after,.plyr__menu__container .plyr__control--back:hover:after{border-right-color:initial}.plyr__menu__container .plyr__control[role=menuitemradio]{padding-left:.18667rem;padding-left:calc(var(--plyr-control-spacing, 10px)*.7)}.plyr__menu__container .plyr__control[role=menuitemradio]:after,.plyr__menu__container .plyr__control[role=menuitemradio]:before{border-radius:100%}.plyr__menu__container .plyr__control[role=menuitemradio]:before{background:rgba(0,0,0,.1);content:"";display:block;flex-shrink:0;height:.42667rem;margin-right:.26667rem;margin-right:var(--plyr-control-spacing,10px);transition:all .3s ease;width:.42667rem}.plyr__menu__container .plyr__control[role=menuitemradio]:after{background:#fff;border:0;height:.16rem;left:.32rem;opacity:0;top:50%;transform:translateY(-50%) scale(0);transition:transform .3s ease,opacity .3s ease;width:.16rem}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:before{background:#00b3ff;background:var(--plyr-control-toggle-checked-background,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)))}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:after{opacity:1;transform:translateY(-50%) scale(1)}.plyr__menu__container .plyr__control[role=menuitemradio].plyr__tab-focus:before,.plyr__menu__container .plyr__control[role=menuitemradio]:hover:before{background:rgba(35,40,47,.1)}.plyr__menu__container .plyr__menu__value{align-items:center;display:flex;margin-left:auto;margin-right:calc(-.18667rem + 2);margin-right:calc(var(--plyr-control-spacing, 10px)*.7*-1 - -2);overflow:hidden;padding-left:.65333rem;padding-left:calc(var(--plyr-control-spacing, 10px)*.7*3.5);pointer-events:none}.plyr--full-ui input[type=range]{-webkit-appearance:none;background:transparent;border:0;border-radius:.69333rem;border-radius:calc(var(--plyr-range-thumb-height, 13px)*2);color:#00b3ff;color:var(--plyr-range-fill-background,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));display:block;height:.50667rem;height:calc(var(--plyr-range-thumb-active-shadow-width, 3px)*2 + var(--plyr-range-thumb-height, 13px));margin:0;min-width:0;padding:0;transition:box-shadow .3s ease;width:100%}.plyr--full-ui input[type=range]::-webkit-slider-runnable-track{background:transparent;background-image:linear-gradient(90deg,currentColor 0,transparent 0);background-image:linear-gradient(to right,currentColor var(--value,0),transparent var(--value,0));border:0;border-radius:.06667rem;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:.13333rem;height:var(--plyr-range-track-height,5px);-webkit-transition:box-shadow .3s ease;transition:box-shadow .3s ease;-webkit-user-select:none;user-select:none}.plyr--full-ui input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 .02667rem .02667rem rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2));height:.34667rem;height:var(--plyr-range-thumb-height,13px);margin-top:-.10667rem;margin-top:calc(var(--plyr-range-thumb-height, 13px)/2*-1 - var(--plyr-range-track-height, 5px)/2*-1);position:relative;-webkit-transition:all .2s ease;transition:all .2s ease;width:.34667rem;width:var(--plyr-range-thumb-height,13px)}.plyr--full-ui input[type=range]::-moz-range-track{background:transparent;border:0;border-radius:.06667rem;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:.13333rem;height:var(--plyr-range-track-height,5px);-moz-transition:box-shadow .3s ease;transition:box-shadow .3s ease;user-select:none}.plyr--full-ui input[type=range]::-moz-range-thumb{background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 .02667rem .02667rem rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2));height:.34667rem;height:var(--plyr-range-thumb-height,13px);position:relative;-moz-transition:all .2s ease;transition:all .2s ease;width:.34667rem;width:var(--plyr-range-thumb-height,13px)}.plyr--full-ui input[type=range]::-moz-range-progress{background:currentColor;border-radius:.06667rem;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:.13333rem;height:var(--plyr-range-track-height,5px)}.plyr--full-ui input[type=range]::-ms-track{color:transparent}.plyr--full-ui input[type=range]::-ms-fill-upper,.plyr--full-ui input[type=range]::-ms-track{background:transparent;border:0;border-radius:.06667rem;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:.13333rem;height:var(--plyr-range-track-height,5px);-ms-transition:box-shadow .3s ease;transition:box-shadow .3s ease;user-select:none}.plyr--full-ui input[type=range]::-ms-fill-lower{background:transparent;background:currentColor;border:0;border-radius:.06667rem;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:.13333rem;height:var(--plyr-range-track-height,5px);-ms-transition:box-shadow .3s ease;transition:box-shadow .3s ease;user-select:none}.plyr--full-ui input[type=range]::-ms-thumb{background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 .02667rem .02667rem rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2));height:.34667rem;height:var(--plyr-range-thumb-height,13px);margin-top:0;position:relative;-ms-transition:all .2s ease;transition:all .2s ease;width:.34667rem;width:var(--plyr-range-thumb-height,13px)}.plyr--full-ui input[type=range]::-ms-tooltip{display:none}.plyr--full-ui input[type=range]:focus{outline:0}.plyr--full-ui input[type=range]::-moz-focus-outer{border:0}.plyr--full-ui input[type=range].plyr__tab-focus::-webkit-slider-runnable-track{outline-color:#00b3ff;outline-color:var(--plyr-tab-focus-color,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));outline-offset:.05333rem;outline-style:dotted;outline-width:.08rem}.plyr--full-ui input[type=range].plyr__tab-focus::-moz-range-track{outline-color:#00b3ff;outline-color:var(--plyr-tab-focus-color,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));outline-offset:.05333rem;outline-style:dotted;outline-width:.08rem}.plyr--full-ui input[type=range].plyr__tab-focus::-ms-track{outline-color:#00b3ff;outline-color:var(--plyr-tab-focus-color,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));outline-offset:.05333rem;outline-style:dotted;outline-width:.08rem}.plyr__poster{background-color:#000;background-color:var(--plyr-video-background,var(--plyr-video-background,#000));background-position:50% 50%;background-repeat:no-repeat;background-size:contain;height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .2s ease;width:100%;z-index:1}.plyr--stopped.plyr__poster-enabled .plyr__poster{opacity:1}.plyr--youtube.plyr--paused.plyr__poster-enabled:not(.plyr--stopped) .plyr__poster{display:none}.plyr__time{font-size:.34667rem;font-size:var(--plyr-font-size-time,var(--plyr-font-size-small,13px))}.plyr__time+.plyr__time:before{content:"\\2044";margin-right:.26667rem;margin-right:var(--plyr-control-spacing,10px)}@media (max-width:767px){.plyr__time+.plyr__time{display:none}}.plyr__tooltip{background:hsla(0,0%,100%,.9);background:var(--plyr-tooltip-background,hsla(0,0%,100%,.9));border-radius:.08rem;border-radius:var(--plyr-tooltip-radius,3px);bottom:100%;box-shadow:0 .02667rem .05333rem rgba(0,0,0,.15);box-shadow:var(--plyr-tooltip-shadow,0 1px 2px rgba(0,0,0,.15));color:#4a5464;color:var(--plyr-tooltip-color,#4a5464);font-size:.34667rem;font-size:var(--plyr-font-size-small,13px);font-weight:400;font-weight:var(--plyr-font-weight-regular,400);left:50%;line-height:1.3;margin-bottom:.26667rem;margin-bottom:calc(var(--plyr-control-spacing, 10px)/2*2);opacity:0;padding:.13333rem .2rem;padding:calc(var(--plyr-control-spacing, 10px)/2) calc(var(--plyr-control-spacing, 10px)/2*1.5);pointer-events:none;position:absolute;transform:translate(-50%,.26667rem) scale(.8);transform-origin:50% 100%;transition:transform .2s ease .1s,opacity .2s ease .1s;white-space:nowrap;z-index:2}.plyr__tooltip:before{border-left:.10667rem solid transparent;border-left:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-right:.10667rem solid transparent;border-right:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-top:.10667rem solid hsla(0,0%,100%,.9);border-top:var(--plyr-tooltip-arrow-size,4px) solid var(--plyr-tooltip-background,hsla(0,0%,100%,.9));bottom:-.10667rem;bottom:calc(var(--plyr-tooltip-arrow-size, 4px)*-1);content:"";height:0;left:50%;position:absolute;transform:translate(-50%);width:0;z-index:2}.plyr .plyr__control.plyr__tab-focus .plyr__tooltip,.plyr .plyr__control:hover .plyr__tooltip,.plyr__tooltip--visible{opacity:1;transform:translate(-50%) scale(1)}.plyr .plyr__control:hover .plyr__tooltip{z-index:3}.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip,.plyr__controls>.plyr__control:first-child .plyr__tooltip{left:0;transform:translateY(.26667rem) scale(.8);transform-origin:0 100%}.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip:before,.plyr__controls>.plyr__control:first-child .plyr__tooltip:before{left:.42667rem;left:calc(var(--plyr-control-icon-size, 18px)/2 + var(--plyr-control-spacing, 10px)*.7)}.plyr__controls>.plyr__control:last-child .plyr__tooltip{left:auto;right:0;transform:translateY(.26667rem) scale(.8);transform-origin:100% 100%}.plyr__controls>.plyr__control:last-child .plyr__tooltip:before{left:auto;right:.42667rem;right:calc(var(--plyr-control-icon-size, 18px)/2 + var(--plyr-control-spacing, 10px)*.7);transform:translate(50%)}.plyr__controls>.plyr__control:first-child+.plyr__control.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child+.plyr__control:hover .plyr__tooltip,.plyr__controls>.plyr__control:first-child.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:first-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child:hover .plyr__tooltip,.plyr__controls>.plyr__control:last-child.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:last-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:last-child:hover .plyr__tooltip{transform:translate(0) scale(1)}.plyr__progress{left:.17333rem;left:calc(var(--plyr-range-thumb-height, 13px)*.5);margin-right:.34667rem;margin-right:var(--plyr-range-thumb-height,13px);position:relative}.plyr__progress__buffer,.plyr__progress input[type=range]{margin-left:-.17333rem;margin-left:calc(var(--plyr-range-thumb-height, 13px)*-.5);margin-right:-.17333rem;margin-right:calc(var(--plyr-range-thumb-height, 13px)*-.5);width:calc(100% + .34667rem);width:calc(100% + var(--plyr-range-thumb-height, 13px))}.plyr__progress input[type=range]{position:relative;z-index:2}.plyr__progress .plyr__tooltip{font-size:.34667rem;font-size:var(--plyr-font-size-time,var(--plyr-font-size-small,13px));left:0}.plyr__progress__buffer{-webkit-appearance:none;background:transparent;border:0;border-radius:2.66667rem;height:.13333rem;height:var(--plyr-range-track-height,5px);left:0;margin-top:-.06667rem;margin-top:calc(var(--plyr-range-track-height, 5px)/2*-1);padding:0;position:absolute;top:50%}.plyr__progress__buffer::-webkit-progress-bar{background:transparent}.plyr__progress__buffer::-webkit-progress-value{background:currentColor;border-radius:2.66667rem;min-width:.13333rem;min-width:var(--plyr-range-track-height,5px);-webkit-transition:width .2s ease;transition:width .2s ease}.plyr__progress__buffer::-moz-progress-bar{background:currentColor;border-radius:2.66667rem;min-width:.13333rem;min-width:var(--plyr-range-track-height,5px);-moz-transition:width .2s ease;transition:width .2s ease}.plyr__progress__buffer::-ms-fill{border-radius:2.66667rem;-ms-transition:width .2s ease;transition:width .2s ease}.plyr--loading .plyr__progress__buffer{animation:plyr-progress 1s linear infinite;background-image:linear-gradient(-45deg,rgba(35,40,47,.6) 25%,transparent 0,transparent 50%,rgba(35,40,47,.6) 0,rgba(35,40,47,.6) 75%,transparent 0,transparent);background-image:linear-gradient(-45deg,var(--plyr-progress-loading-background,rgba(35,40,47,.6)) 25%,transparent 25%,transparent 50%,var(--plyr-progress-loading-background,rgba(35,40,47,.6)) 50%,var(--plyr-progress-loading-background,rgba(35,40,47,.6)) 75%,transparent 75%,transparent);background-repeat:repeat-x;background-size:.66667rem .66667rem;background-size:var(--plyr-progress-loading-size,25px) var(--plyr-progress-loading-size,25px);color:transparent}.plyr--video.plyr--loading .plyr__progress__buffer{background-color:rgba(255,255,255,.25);background-color:var(--plyr-video-progress-buffered-background,hsla(0,0%,100%,.25))}.plyr--audio.plyr--loading .plyr__progress__buffer{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6))}.plyr__volume{align-items:center;display:flex;max-width:2.93333rem;min-width:2.13333rem;position:relative;width:20%}.plyr__volume input[type=range]{margin-left:.13333rem;margin-left:calc(var(--plyr-control-spacing, 10px)/2);margin-right:.13333rem;margin-right:calc(var(--plyr-control-spacing, 10px)/2);position:relative;z-index:2}.plyr--is-ios .plyr__volume{min-width:0;width:auto}.plyr--audio{display:block}.plyr--audio .plyr__controls{background:#fff;background:var(--plyr-audio-controls-background,#fff);border-radius:inherit;color:#4a5464;color:var(--plyr-audio-control-color,#4a5464);padding:.26667rem;padding:var(--plyr-control-spacing,10px)}.plyr--audio .plyr__control.plyr__tab-focus,.plyr--audio .plyr__control:hover,.plyr--audio .plyr__control[aria-expanded=true]{background:#00b3ff;background:var(--plyr-audio-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));color:#fff;color:var(--plyr-audio-control-color-hover,#fff)}.plyr--full-ui.plyr--audio input[type=range]::-webkit-slider-runnable-track{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6)))}.plyr--full-ui.plyr--audio input[type=range]::-moz-range-track{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6)))}.plyr--full-ui.plyr--audio input[type=range]::-ms-track{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6)))}.plyr--full-ui.plyr--audio input[type=range]:active::-webkit-slider-thumb{box-shadow:0 .02667rem .02667rem rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2),0 0 0 .08rem rgba(35,40,47,.1);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,rgba(35,40,47,.1))}.plyr--full-ui.plyr--audio input[type=range]:active::-moz-range-thumb{box-shadow:0 .02667rem .02667rem rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2),0 0 0 .08rem rgba(35,40,47,.1);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,rgba(35,40,47,.1))}.plyr--full-ui.plyr--audio input[type=range]:active::-ms-thumb{box-shadow:0 .02667rem .02667rem rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2),0 0 0 .08rem rgba(35,40,47,.1);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,rgba(35,40,47,.1))}.plyr--audio .plyr__progress__buffer{color:rgba(193,200,209,.6);color:var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6))}.plyr--video{background:#000;background:var(--plyr-video-background,var(--plyr-video-background,#000));overflow:hidden}.plyr--video.plyr--menu-open{overflow:visible}.plyr__video-wrapper{background:#000;background:var(--plyr-video-background,var(--plyr-video-background,#000));margin:auto;overflow:hidden;position:relative;width:100%}.plyr__video-embed,.plyr__video-wrapper--fixed-ratio{aspect-ratio:16/9}@supports not (aspect-ratio:16/9){.plyr__video-embed,.plyr__video-wrapper--fixed-ratio{height:0;padding-bottom:56.25%;position:relative}}.plyr__video-embed iframe,.plyr__video-wrapper--fixed-ratio video{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.plyr--full-ui .plyr__video-embed>.plyr__video-embed__container{padding-bottom:240%;position:relative;transform:translateY(-38.28125%)}.plyr--video .plyr__controls{background:linear-gradient(transparent,rgba(0,0,0,.75));background:var(--plyr-video-controls-background,linear-gradient(transparent,rgba(0,0,0,.75)));border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;bottom:0;color:#fff;color:var(--plyr-video-control-color,#fff);left:0;padding:.13333rem;padding:calc(var(--plyr-control-spacing, 10px)/2);padding-top:.53333rem;padding-top:calc(var(--plyr-control-spacing, 10px)*2);position:absolute;right:0;transition:opacity .4s ease-in-out,transform .4s ease-in-out;z-index:3}@media (min-width:480px){.plyr--video .plyr__controls{padding:.26667rem;padding:var(--plyr-control-spacing,10px);padding-top:.93333rem;padding-top:calc(var(--plyr-control-spacing, 10px)*3.5)}}.plyr--video.plyr--hide-controls .plyr__controls{opacity:0;pointer-events:none;transform:translateY(100%)}.plyr--video .plyr__control.plyr__tab-focus,.plyr--video .plyr__control:hover,.plyr--video .plyr__control[aria-expanded=true]{background:#00b3ff;background:var(--plyr-video-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));color:#fff;color:var(--plyr-video-control-color-hover,#fff)}.plyr__control--overlaid{background:#00b3ff;background:var(--plyr-video-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));border:0;border-radius:100%;color:#fff;color:var(--plyr-video-control-color,#fff);display:none;left:50%;opacity:.9;padding:.4rem;padding:calc(var(--plyr-control-spacing, 10px)*1.5);position:absolute;top:50%;transform:translate(-50%,-50%);transition:.3s;z-index:2}.plyr__control--overlaid svg{left:.05333rem;position:relative}.plyr__control--overlaid:focus,.plyr__control--overlaid:hover{opacity:1}.plyr--playing .plyr__control--overlaid{opacity:0;visibility:hidden}.plyr--full-ui.plyr--video .plyr__control--overlaid{display:block}.plyr--full-ui.plyr--video input[type=range]::-webkit-slider-runnable-track{background-color:rgba(255,255,255,.25);background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,hsla(0,0%,100%,.25)))}.plyr--full-ui.plyr--video input[type=range]::-moz-range-track{background-color:rgba(255,255,255,.25);background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,hsla(0,0%,100%,.25)))}.plyr--full-ui.plyr--video input[type=range]::-ms-track{background-color:rgba(255,255,255,.25);background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,hsla(0,0%,100%,.25)))}.plyr--full-ui.plyr--video input[type=range]:active::-webkit-slider-thumb{box-shadow:0 .02667rem .02667rem rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2),0 0 0 .08rem rgba(255,255,255,.5);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,hsla(0,0%,100%,.5))}.plyr--full-ui.plyr--video input[type=range]:active::-moz-range-thumb{box-shadow:0 .02667rem .02667rem rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2),0 0 0 .08rem rgba(255,255,255,.5);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,hsla(0,0%,100%,.5))}.plyr--full-ui.plyr--video input[type=range]:active::-ms-thumb{box-shadow:0 .02667rem .02667rem rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2),0 0 0 .08rem rgba(255,255,255,.5);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 .02667rem rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,hsla(0,0%,100%,.5))}.plyr--video .plyr__progress__buffer{color:rgba(255,255,255,.25);color:var(--plyr-video-progress-buffered-background,hsla(0,0%,100%,.25))}.plyr:fullscreen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:fullscreen video{height:100%}.plyr:fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:fullscreen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-webkit-full-screen .plyr__captions{font-size:.56rem;font-size:var(--plyr-font-size-xlarge,21px)}.plyr:fullscreen .plyr__captions{font-size:.56rem;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr:-webkit-full-screen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-webkit-full-screen video{height:100%}.plyr:-webkit-full-screen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-webkit-full-screen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-webkit-full-screen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-webkit-full-screen .plyr__captions{font-size:.56rem;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr:-moz-full-screen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-moz-full-screen video{height:100%}.plyr:-moz-full-screen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-moz-full-screen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-moz-full-screen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-moz-full-screen .plyr__captions{font-size:.56rem;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr:-ms-fullscreen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-ms-fullscreen video{height:100%}.plyr:-ms-fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-ms-fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-ms-fullscreen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-ms-fullscreen .plyr__captions{font-size:.56rem;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr--fullscreen-fallback{background:#000;border-radius:0!important;bottom:0;display:block;height:100%;left:0;margin:0;position:fixed;right:0;top:0;width:100%;z-index:10000000}.plyr--fullscreen-fallback video{height:100%}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen{display:block}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr--fullscreen-fallback.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr--fullscreen-fallback .plyr__captions{font-size:.56rem;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr__ads{border-radius:inherit;bottom:0;cursor:pointer;left:0;overflow:hidden;position:absolute;right:0;top:0;z-index:-1}.plyr__ads>div,.plyr__ads>div iframe{height:100%;position:absolute;width:100%}.plyr__ads:after{background:#23282f;border-radius:.05333rem;bottom:.26667rem;bottom:var(--plyr-control-spacing,10px);color:#fff;content:attr(data-badge-text);font-size:.29333rem;padding:.05333rem .16rem;pointer-events:none;position:absolute;right:.26667rem;right:var(--plyr-control-spacing,10px);z-index:3}.plyr__ads:after:empty{display:none}.plyr__cues{background:currentColor;display:block;height:.13333rem;height:var(--plyr-range-track-height,5px);left:0;margin:-var(--plyr-range-track-height,5px)/2 0 0;opacity:.8;position:absolute;top:50%;width:.08rem;z-index:3}.plyr__preview-thumb{background-color:rgba(255,255,255,.9);background-color:var(--plyr-tooltip-background,hsla(0,0%,100%,.9));border-radius:.08rem;bottom:100%;box-shadow:0 .02667rem .05333rem rgba(0,0,0,.15);box-shadow:var(--plyr-tooltip-shadow,0 1px 2px rgba(0,0,0,.15));margin-bottom:.26667rem;margin-bottom:calc(var(--plyr-control-spacing, 10px)/2*2);opacity:0;padding:.08rem;padding:var(--plyr-tooltip-radius,3px);pointer-events:none;position:absolute;transform:translateY(.26667rem) scale(.8);transform-origin:50% 100%;transition:transform .2s ease .1s,opacity .2s ease .1s;z-index:2}.plyr__preview-thumb--is-shown{opacity:1;transform:translate(0) scale(1)}.plyr__preview-thumb:before{border-left:.10667rem solid transparent;border-left:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-right:.10667rem solid transparent;border-right:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-top:.10667rem solid hsla(0,0%,100%,.9);border-top:var(--plyr-tooltip-arrow-size,4px) solid var(--plyr-tooltip-background,hsla(0,0%,100%,.9));bottom:-.10667rem;bottom:calc(var(--plyr-tooltip-arrow-size, 4px)*-1);content:"";height:0;left:50%;position:absolute;transform:translate(-50%);width:0;z-index:2}.plyr__preview-thumb__image-container{background:#c1c8d1;border-radius:.05333rem;border-radius:calc(var(--plyr-tooltip-radius, 3px) - .02667rem);overflow:hidden;position:relative;z-index:0}.plyr__preview-thumb__image-container img{height:100%;left:0;max-height:none;max-width:none;position:absolute;top:0;width:100%}.plyr__preview-thumb__time-container{bottom:.16rem;left:0;position:absolute;right:0;white-space:nowrap;z-index:3}.plyr__preview-thumb__time-container span{background-color:rgba(0,0,0,.55);border-radius:.05333rem;border-radius:calc(var(--plyr-tooltip-radius, 3px) - .02667rem);color:#fff;font-size:.34667rem;font-size:var(--plyr-font-size-time,var(--plyr-font-size-small,13px));padding:.08rem .16rem}.plyr__preview-scrubbing{bottom:0;filter:blur(.02667rem);height:100%;left:0;margin:auto;opacity:0;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0;transition:opacity .3s ease;width:100%;z-index:1}.plyr__preview-scrubbing--is-shown{opacity:1}.plyr__preview-scrubbing img{height:100%;left:0;max-height:none;max-width:none;-o-object-fit:contain;object-fit:contain;position:absolute;top:0;width:100%}.plyr--no-transition{transition:none!important}.plyr__sr-only{clip:rect(.02667rem,.02667rem,.02667rem,.02667rem);border:0!important;height:.02667rem!important;overflow:hidden;padding:0!important;position:absolute!important;width:.02667rem!important}.plyr [hidden]{display:none!important}\n',document.head.appendChild(g),System.register(["./App-legacy.2a33c1c9.js","./lib-flexible-legacy.e8ca3d6a.js","./index-legacy.3d80b828.js","./state-legacy.062adc49.js","./arrow-left-legacy.4d9183f1.js","./music-legacy.996cf9b7.js","./index-legacy.034a9922.js"],(function(){"use strict";var n,l,c,p,m,g,y,b,v,w,_,k,x,T,A,C,S,E,P,I,N,j,M,z,O,L,F,D,q,R,H,B,V,U,Q,W,K,G,X,Y,Z,J,$;return{setters:[function(e){n=e.r,l=e.d,c=e.b,p=e.u,m=e.t,g=e.j,y=e.W,b=e.a,v=e.B,w=e.X,_=e.G,k=e.e,x=e.g,T=e.F,A=e.P,C=e.H,S=e.Y,E=e.Z,P=e.w,I=e.h,N=e.i,j=e.S,M=e.E,z=e.M,O=e.k,L=e.o,F=e._,D=e.l,q=e.$,R=e.m,H=e.n,B=e.p,V=e.q,U=e.v,Q=e.x,W=e.y,K=e.z,G=e.C,X=e.c},function(){},function(e){Y=e.h,Z=e.N,J=e.c},function(e){$=e.s},function(){},function(){},function(){}],execute:function(){var ee="_musicSheet_kzmj4_1",te={header:"_header_seljm_1",leftButton:"_leftButton_seljm_18",back:"_back_seljm_22",info:"_info_seljm_29",musicName:"_musicName_seljm_43",demos:"_demos_seljm_52",line:"_line_seljm_115",btns:"_btns_seljm_129",pop:"_pop_seljm_140",close:"_close_seljm_176",try:"_try_seljm_190",trybtn:"_trybtn_seljm_196",videoContent:"_videoContent_seljm_207",box:"_box_seljm_213"},ne="data:image/png;base64,iVBORw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GoeqUhL2szpJ+8DSPnS+eIebcxMx7KmnevQMMC8MsqzI1peGohQRVdxori2bu041TIeAluG0+C/KqwcxYljdGV4wegqIl4HZqS60BpUwz3psyZYvXdtY4mpUAtqHposjadleaUSiF3Xku5Ye0/NHlYKwHoyuyuv65mdScuwnqdGNbKrM2zeoQ+emijAZR7q0KeB5wT2DwbQJYPHGQPDBdABgWLXVxjwLbgalppncuCDT0p3EU0eUoFe3alg8GeAO+mfKkkx1zCYyPvd9ccngRFFB/BNdnjUBdf8eW9KBuJ77/a+AUivA0r8BaOM77D0vL2D072Cp0xdRGzNm4+1utWoFFQW0zYC9pc77wQhYXAngm9rpYrvkWfoAxEvRWrxKbgTigiw4hsNuwJm7rweK0gBPAHM/57NtyLP2WAa7kcJTKL64Na4pRW1CwZI2GltmeBHQYygItyFr3Qai6+wN8MWtNoc3gfEWiPbDsp4HOj8vZlBRAJIeb3fAWqObflcvFBddA7J6g9EdsLqBqBlZ6xyYziCVehdF2/9DGST+t5ykgP8HFBpqjHlpbdQAAAAASUVORK5CYII=";function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ie(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oe(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 le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(n),!0).forEach((function(t){ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var se={addCSS:!0,thumbWidth:15,watch:!0};function ce(e,t){return function(){return Array.from(document.querySelectorAll(t)).includes(this)}.call(e,t)}var ue=function(e){return null!=e?e.constructor:null},de=function(e,t){return!!(e&&t&&e instanceof t)},pe=function(e){return null==e},me=function(e){return ue(e)===Object},he=function(e){return ue(e)===String},fe=function(e){return Array.isArray(e)},ge=function(e){return de(e,NodeList)},ye=he,be=fe,ve=ge,we=function(e){return de(e,Element)},_e=function(e){return de(e,Event)},ke=function(e){return pe(e)||(he(e)||fe(e)||ge(e))&&!e.length||me(e)&&!Object.keys(e).length};function xe(e,t){if(1>t){var n=function(e){var t="".concat(e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}(t);return parseFloat(e.toFixed(n))}return Math.round(e/t)*t}var Te,Ae,Ce,Se=function(){function e(t,n){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),we(t)?this.element=t:ye(t)&&(this.element=document.querySelector(t)),we(this.element)&&ke(this.element.rangeTouch)&&(this.config=le({},se,{},n),this.init())}return function(e,t,n){t&&ie(e.prototype,t),n&&ie(e,n)}(e,[{key:"init",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="none",this.element.style.webKitUserSelect="none",this.element.style.touchAction="manipulation"),this.listeners(!0),this.element.rangeTouch=this)}},{key:"destroy",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="",this.element.style.webKitUserSelect="",this.element.style.touchAction=""),this.listeners(!1),this.element.rangeTouch=null)}},{key:"listeners",value:function(e){var t=this,n=e?"addEventListener":"removeEventListener";["touchstart","touchmove","touchend"].forEach((function(e){t.element[n](e,(function(e){return t.set(e)}),!1)}))}},{key:"get",value:function(t){if(!e.enabled||!_e(t))return null;var n,r=t.target,i=t.changedTouches[0],a=parseFloat(r.getAttribute("min"))||0,o=parseFloat(r.getAttribute("max"))||100,l=parseFloat(r.getAttribute("step"))||1,s=r.getBoundingClientRect(),c=100/s.width*(this.config.thumbWidth/2)/100;return 0>(n=100/s.width*(i.clientX-s.left))?n=0:100<n&&(n=100),50>n?n-=(100-2*n)*c:50<n&&(n+=2*(n-50)*c),a+xe(n/100*(o-a),l)}},{key:"set",value:function(t){e.enabled&&_e(t)&&!t.target.disabled&&(t.preventDefault(),t.target.value=this.get(t),function(e,t){if(e&&t){var n=new Event(t,{bubbles:!0});e.dispatchEvent(n)}}(t.target,"touchend"===t.type?"change":"input"))}}],[{key:"setup",value:function(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=null;if(ke(t)||ye(t)?r=Array.from(document.querySelectorAll(ye(t)?t:'input[type="range"]')):we(t)?r=[t]:ve(t)?r=Array.from(t):be(t)&&(r=t.filter(we)),ke(r))return null;var i=le({},se,{},n);if(ye(t)&&i.watch){var a=new MutationObserver((function(n){Array.from(n).forEach((function(n){Array.from(n.addedNodes).forEach((function(n){we(n)&&ce(n,t)&&new e(n,i)}))}))}));a.observe(document.body,{childList:!0,subtree:!0})}return r.map((function(t){return new e(t,n)}))}},{key:"enabled",get:function(){return"ontouchstart"in document.documentElement}}]),e}(),Ee=function(e){return null!=e?e.constructor:null},Pe=function(e,t){return Boolean(e&&t&&e instanceof t)},Ie=function(e){return null==e},Ne=function(e){return Ee(e)===Object},je=function(e){return Ee(e)===String},Me=function(e){return Ee(e)===Function},ze=function(e){return Array.isArray(e)},Oe=function(e){return Pe(e,NodeList)},Le=function(e){return Ie(e)||(je(e)||ze(e)||Oe(e))&&!e.length||Ne(e)&&!Object.keys(e).length},Fe=Ie,De=Ne,qe=function(e){return Ee(e)===Number&&!Number.isNaN(e)},Re=je,He=function(e){return Ee(e)===Boolean},Be=Me,Ve=ze,Ue=Oe,Qe=function(e){return null!==e&&"object"==f(e)&&1===e.nodeType&&"object"==f(e.style)&&"object"==f(e.ownerDocument)},We=function(e){return Pe(e,Event)},Ke=function(e){return Pe(e,KeyboardEvent)},Ge=function(e){return Pe(e,TextTrack)||!Ie(e)&&je(e.kind)},Xe=function(e){return Pe(e,Promise)&&Me(e.then)},Ye=function(e){if(Pe(e,window.URL))return!0;if(!je(e))return!1;var t=e;e.startsWith("http://")&&e.startsWith("https://")||(t="http://".concat(e));try{return!Le(new URL(t).hostname)}catch(e){return!1}},Ze=Le,Je=(Te=document.createElement("span"),Ae={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},Ce=Object.keys(Ae).find((function(e){return void 0!==Te.style[e]})),!!Re(Ce)&&Ae[Ce]);function $e(e,t){setTimeout((function(){try{e.hidden=!0,e.offsetHeight,e.hidden=!1}catch(e){}}),t)}var et={isIE:Boolean(window.document.documentMode),isEdge:window.navigator.userAgent.includes("Edge"),isWebkit:"WebkitAppearance"in document.documentElement.style&&!/Edge/.test(navigator.userAgent),isIPhone:/(iPhone|iPod)/gi.test(navigator.platform),isIos:"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1||/(iPad|iPhone|iPod)/gi.test(navigator.platform)};function tt(e,t){return t.split(".").reduce((function(e,t){return e&&e[t]}),e)}function nt(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},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();return De(i)?(Object.keys(i).forEach((function(t){De(i[t])?(Object.keys(e).includes(t)||Object.assign(e,h({},t,{})),nt(e[t],i[t])):Object.assign(e,h({},t,i[t]))})),nt.apply(void 0,[e].concat(n))):e}function rt(e,t){var n=e.length?e:[e];Array.from(n).reverse().forEach((function(e,n){var r=n>0?t.cloneNode(!0):t,i=e.parentNode,a=e.nextSibling;r.appendChild(e),a?i.insertBefore(r,a):i.appendChild(r)}))}function it(e,t){Qe(e)&&!Ze(t)&&Object.entries(t).filter((function(e){var t=d(e,2)[1];return!Fe(t)})).forEach((function(t){var n=d(t,2),r=n[0],i=n[1];return e.setAttribute(r,i)}))}function at(e,t,n){var r=document.createElement(e);return De(t)&&it(r,t),Re(n)&&(r.innerText=n),r}function ot(e,t,n,r){Qe(t)&&t.appendChild(at(e,n,r))}function lt(e){Ue(e)||Ve(e)?Array.from(e).forEach(lt):Qe(e)&&Qe(e.parentNode)&&e.parentNode.removeChild(e)}function st(e){if(Qe(e))for(var t=e.childNodes.length;t>0;)e.removeChild(e.lastChild),t-=1}function ct(e,t){return Qe(t)&&Qe(t.parentNode)&&Qe(e)?(t.parentNode.replaceChild(e,t),e):null}function ut(e,t){if(!Re(e)||Ze(e))return{};var n={},r=nt({},t);return e.split(",").forEach((function(e){var t=e.trim(),i=t.replace(".",""),a=t.replace(/[[\]]/g,"").split("="),o=d(a,1)[0],l=a.length>1?a[1].replace(/["']/g,""):"";switch(t.charAt(0)){case".":Re(r.class)?n.class="".concat(r.class," ").concat(i):n.class=i;break;case"#":n.id=t.replace("#","");break;case"[":n[o]=l}})),nt(r,n)}function dt(e,t){if(Qe(e)){var n=t;He(n)||(n=!e.hidden),e.hidden=n}}function pt(e,t,n){if(Ue(e))return Array.from(e).map((function(e){return pt(e,t,n)}));if(Qe(e)){var r="toggle";return void 0!==n&&(r=n?"add":"remove"),e.classList[r](t),e.classList.contains(t)}return!1}function mt(e,t){return Qe(e)&&e.classList.contains(t)}function ht(e,t){var n=Element.prototype;return(n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||function(){return Array.from(document.querySelectorAll(t)).includes(this)}).call(e,t)}function ft(e){return this.elements.container.querySelectorAll(e)}function gt(e){return this.elements.container.querySelector(e)}function yt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Qe(e)&&(e.focus({preventScroll:!0}),t&&pt(e,this.config.classNames.tabFocus))}var bt={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},vt={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check:function(e,t,n){var r=et.isIPhone&&n&&vt.playsinline,i=vt[e]||"html5"!==t;return{api:i,ui:i&&vt.rangeInput&&("video"!==e||!et.isIPhone||r)}},pip:!(et.isIPhone||!Be(at("video").webkitSetPresentationMode)&&(!document.pictureInPictureEnabled||at("video").disablePictureInPicture)),airplay:Be(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime:function(e){if(Ze(e))return!1;var t=d(e.split("/"),1)[0],n=e;if(!this.isHTML5||t!==this.type)return!1;Object.keys(bt).includes(n)&&(n+='; codecs="'.concat(bt[e],'"'));try{return Boolean(n&&this.media.canPlayType(n).replace(/no/,""))}catch(e){return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:function(){var e=document.createElement("input");return e.type="range","range"===e.type}(),touch:"ontouchstart"in document.documentElement,transitions:!1!==Je,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},wt=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,null}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e}();function _t(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(e&&"addEventListener"in e&&!Ze(t)&&Be(n)){var l=t.split(" "),s=o;wt&&(s={passive:a,capture:o}),l.forEach((function(t){r&&r.eventListeners&&i&&r.eventListeners.push({element:e,type:t,callback:n,options:s}),e[i?"addEventListener":"removeEventListener"](t,n,s)}))}}function kt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];_t.call(this,e,t,n,!0,r,i)}function xt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];_t.call(this,e,t,n,!1,r,i)}function Tt(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2?arguments[2]:void 0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=function o(){for(var l=arguments.length,s=new Array(l),c=0;c<l;c++)s[c]=arguments[c];xt(e,n,o,i,a),r.apply(t,s)};_t.call(this,e,n,o,!0,i,a)}function At(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(Qe(e)&&!Ze(t)){var i=new CustomEvent(t,{bubbles:n,detail:u(u({},r),{},{plyr:this})});e.dispatchEvent(i)}}function Ct(){this&&this.eventListeners&&(this.eventListeners.forEach((function(e){var t=e.element,n=e.type,r=e.callback,i=e.options;t.removeEventListener(n,r,i)})),this.eventListeners=[])}function St(){var e=this;return new Promise((function(t){return e.ready?setTimeout(t,0):kt.call(e,e.elements.container,"ready",t)})).then((function(){}))}function Et(e){Xe(e)&&e.then(null,(function(){}))}function Pt(e){return Ve(e)?e.filter((function(t,n){return e.indexOf(t)===n})):e}function It(e,t){return Ve(e)&&e.length?e.reduce((function(e,n){return Math.abs(n-t)<Math.abs(e-t)?n:e})):null}function Nt(e){return!(!window||!window.CSS)&&window.CSS.supports(e)}var jt=[[1,1],[4,3],[3,4],[5,4],[4,5],[3,2],[2,3],[16,10],[10,16],[16,9],[9,16],[21,9],[9,21],[32,9],[9,32]].reduce((function(e,t){var n=d(t,2),r=n[0],i=n[1];return u(u({},e),{},h({},r/i,[r,i]))}),{});function Mt(e){return!!(Ve(e)||Re(e)&&e.includes(":"))&&(Ve(e)?e:e.split(":")).map(Number).every(qe)}function zt(e){if(!Ve(e)||!e.every(qe))return null;var t=d(e,2),n=t[0],r=t[1],i=function e(t,n){return 0===n?t:e(n,t%n)}(n,r);return[n/i,r/i]}function Ot(e){var t=function(e){return Mt(e)?e.split(":").map(Number):null},n=t(e);if(null===n&&(n=t(this.config.ratio)),null===n&&!Ze(this.embed)&&Ve(this.embed.ratio)&&(n=this.embed.ratio),null===n&&this.isHTML5){var r=this.media;n=[r.videoWidth,r.videoHeight]}return zt(n)}function Lt(e){if(!this.isVideo)return{};var t=this.elements.wrapper,n=Ot.call(this,e);if(!Ve(n))return{};var r=d(zt(n),2),i=r[0],a=r[1],o=100/i*a;if(Nt("aspect-ratio: ".concat(i,"/").concat(a))?t.style.aspectRatio="".concat(i,"/").concat(a):t.style.paddingBottom="".concat(o,"%"),this.isVimeo&&!this.config.vimeo.premium&&this.supported.ui){var l=100/this.media.offsetWidth*parseInt(window.getComputedStyle(this.media).paddingBottom,10),s=(l-o)/(l/50);this.fullscreen.active?t.style.paddingBottom=null:this.media.style.transform="translateY(-".concat(s,"%)")}else this.isHTML5&&t.classList.add(this.config.classNames.videoFixedRatio);return{padding:o,ratio:n}}function Ft(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.05,r=e/t,i=It(Object.keys(jt),r);return Math.abs(i-r)<=n?jt[i]:[e,t]}var Dt={getSources:function(){var e=this;return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter((function(t){var n=t.getAttribute("type");return!!Ze(n)||vt.mime.call(e,n)})):[]},getQualityOptions:function(){return this.config.quality.forced?this.config.quality.options:Dt.getSources.call(this).map((function(e){return Number(e.getAttribute("size"))})).filter(Boolean)},setup:function(){if(this.isHTML5){var e=this;e.options.speed=e.config.speed.options,Ze(this.config.ratio)||Lt.call(e),Object.defineProperty(e.media,"quality",{get:function(){var t=Dt.getSources.call(e).find((function(t){return t.getAttribute("src")===e.source}));return t&&Number(t.getAttribute("size"))},set:function(t){if(e.quality!==t){if(e.config.quality.forced&&Be(e.config.quality.onChange))e.config.quality.onChange(t);else{var n=Dt.getSources.call(e).find((function(e){return Number(e.getAttribute("size"))===t}));if(!n)return;var r=e.media,i=r.currentTime,a=r.paused,o=r.preload,l=r.readyState,s=r.playbackRate;e.media.src=n.getAttribute("src"),("none"!==o||l)&&(e.once("loadedmetadata",(function(){e.speed=s,e.currentTime=i,a||Et(e.play())})),e.media.load())}At.call(e,e.media,"qualitychange",!1,{quality:t})}}})}},cancelRequests:function(){this.isHTML5&&(lt(Dt.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}};function qt(e){return"".concat(e,"-").concat(Math.floor(1e4*Math.random()))}function Rt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Ze(e)?e:e.toString().replace(/{(\d+)}/g,(function(e,t){return n[t].toString()}))}var Ht=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e.replace(new RegExp(t.toString().replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1"),"g"),n.toString())},Bt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.toString().replace(/\w\S*/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}))};function Vt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.toString();return t=Ht(t,"-"," "),t=Ht(t,"_"," "),t=Bt(t),Ht(t," ","")}function Ut(e){var t=document.createElement("div");return t.appendChild(e),t.innerHTML}var Qt={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},Wt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Ze(e)||Ze(t))return"";var n=tt(t.i18n,e);if(Ze(n))return Object.keys(Qt).includes(e)?Qt[e]:"";var r={"{seektime}":t.seekTime,"{title}":t.title};return Object.entries(r).forEach((function(e){var t=d(e,2),r=t[0],i=t[1];n=Ht(n,r,i)})),n},Kt=function(){function e(t){var n=this;o(this,e),re(this,"get",(function(t){if(!e.supported||!n.enabled)return null;var r=window.localStorage.getItem(n.key);if(Ze(r))return null;var i=JSON.parse(r);return Re(t)&&t.length?i[t]:i})),re(this,"set",(function(t){if(e.supported&&n.enabled&&De(t)){var r=n.get();Ze(r)&&(r={}),nt(r,t),window.localStorage.setItem(n.key,JSON.stringify(r))}})),this.enabled=t.config.storage.enabled,this.key=t.config.storage.key}return s(e,null,[{key:"supported",get:function(){try{if(!("localStorage"in window))return!1;var e="___test";return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch(e){return!1}}}]),e}();function Gt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";return new Promise((function(n,r){try{var i=new XMLHttpRequest;if(!("withCredentials"in i))return;i.addEventListener("load",(function(){if("text"===t)try{n(JSON.parse(i.responseText))}catch(e){n(i.responseText)}else n(i.response)})),i.addEventListener("error",(function(){throw new Error(i.status)})),i.open("GET",e,!0),i.responseType=t,i.send()}catch(e){r(e)}}))}function Xt(e,t){if(Re(e)){var n=Re(t),r=function(){return null!==document.getElementById(t)},i=function(e,t){e.innerHTML=t,n&&r()||document.body.insertAdjacentElement("afterbegin",e)};if(!n||!r()){var a=Kt.supported,o=document.createElement("div");if(o.setAttribute("hidden",""),n&&o.setAttribute("id",t),a){var l=window.localStorage.getItem("cache-".concat(t));if(null!==l){var s=JSON.parse(l);i(o,s.content)}}Gt(e).then((function(e){Ze(e)||(a&&window.localStorage.setItem("cache-".concat(t),JSON.stringify({content:e})),i(o,e))})).catch((function(){}))}}}var Yt=function(e){return Math.trunc(e/60/60%60,10)},Zt=function(e){return Math.trunc(e%60,10)};function Jt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!qe(e))return Jt(void 0,t,n);var r,i=function(e){return"0".concat(e).slice(-2)},a=Yt(e),o=(r=e,Math.trunc(r/60%60,10)),l=Zt(e);return a=t||a>0?"".concat(a,":"):"","".concat(n&&e>0?"-":"").concat(a).concat(i(o),":").concat(i(l))}var $t={getIconUrl:function(){var e=new URL(this.config.iconUrl,window.location).host!==window.location.host||et.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:e}},findElements:function(){try{return this.elements.controls=gt.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:ft.call(this,this.config.selectors.buttons.play),pause:gt.call(this,this.config.selectors.buttons.pause),restart:gt.call(this,this.config.selectors.buttons.restart),rewind:gt.call(this,this.config.selectors.buttons.rewind),fastForward:gt.call(this,this.config.selectors.buttons.fastForward),mute:gt.call(this,this.config.selectors.buttons.mute),pip:gt.call(this,this.config.selectors.buttons.pip),airplay:gt.call(this,this.config.selectors.buttons.airplay),settings:gt.call(this,this.config.selectors.buttons.settings),captions:gt.call(this,this.config.selectors.buttons.captions),fullscreen:gt.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=gt.call(this,this.config.selectors.progress),this.elements.inputs={seek:gt.call(this,this.config.selectors.inputs.seek),volume:gt.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:gt.call(this,this.config.selectors.display.buffer),currentTime:gt.call(this,this.config.selectors.display.currentTime),duration:gt.call(this,this.config.selectors.display.duration)},Qe(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(".".concat(this.config.classNames.tooltip))),!0}catch(Te){return this.debug.warn("It looks like there is a problem with your custom controls HTML",Te),this.toggleNativeControls(!0),!1}},createIcon:function(e,t){var n="http://www.w3.org/2000/svg",r=$t.getIconUrl.call(this),i="".concat(r.cors?"":r.url,"#").concat(this.config.iconPrefix),a=document.createElementNS(n,"svg");it(a,nt(t,{"aria-hidden":"true",focusable:"false"}));var o=document.createElementNS(n,"use"),l="".concat(i,"-").concat(e);return"href"in o&&o.setAttributeNS("http://www.w3.org/1999/xlink","href",l),o.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l),a.appendChild(o),a},createLabel:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Wt(e,this.config);return at("span",u(u({},t),{},{class:[t.class,this.config.classNames.hidden].filter(Boolean).join(" ")}),n)},createBadge:function(e){if(Ze(e))return null;var t=at("span",{class:this.config.classNames.menu.value});return t.appendChild(at("span",{class:this.config.classNames.menu.badge},e)),t},createButton:function(e,t){var n=this,r=nt({},t),i=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString();return(e=Vt(e)).charAt(0).toLowerCase()+e.slice(1)}(e),a={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach((function(e){Object.keys(r).includes(e)&&(a[e]=r[e],delete r[e])})),"button"!==a.element||Object.keys(r).includes("type")||(r.type="button"),Object.keys(r).includes("class")?r.class.split(" ").some((function(e){return e===n.config.classNames.control}))||nt(r,{class:"".concat(r.class," ").concat(this.config.classNames.control)}):r.class=this.config.classNames.control,e){case"play":a.toggle=!0,a.label="play",a.labelPressed="pause",a.icon="play",a.iconPressed="pause";break;case"mute":a.toggle=!0,a.label="mute",a.labelPressed="unmute",a.icon="volume",a.iconPressed="muted";break;case"captions":a.toggle=!0,a.label="enableCaptions",a.labelPressed="disableCaptions",a.icon="captions-off",a.iconPressed="captions-on";break;case"fullscreen":a.toggle=!0,a.label="enterFullscreen",a.labelPressed="exitFullscreen",a.icon="enter-fullscreen",a.iconPressed="exit-fullscreen";break;case"play-large":r.class+=" ".concat(this.config.classNames.control,"--overlaid"),i="play",a.label="play",a.icon="play";break;default:Ze(a.label)&&(a.label=i),Ze(a.icon)&&(a.icon=e)}var o=at(a.element);return a.toggle?(o.appendChild($t.createIcon.call(this,a.iconPressed,{class:"icon--pressed"})),o.appendChild($t.createIcon.call(this,a.icon,{class:"icon--not-pressed"})),o.appendChild($t.createLabel.call(this,a.labelPressed,{class:"label--pressed"})),o.appendChild($t.createLabel.call(this,a.label,{class:"label--not-pressed"}))):(o.appendChild($t.createIcon.call(this,a.icon)),o.appendChild($t.createLabel.call(this,a.label))),nt(r,ut(this.config.selectors.buttons[i],r)),it(o,r),"play"===i?(Ve(this.elements.buttons[i])||(this.elements.buttons[i]=[]),this.elements.buttons[i].push(o)):this.elements.buttons[i]=o,o},createRange:function(e,t){var n=at("input",nt(ut(this.config.selectors.inputs[e]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":Wt(e,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},t));return this.elements.inputs[e]=n,$t.updateRangeFill.call(this,n),Se.setup(n),n},createProgress:function(e,t){var n=at("progress",nt(ut(this.config.selectors.display[e]),{min:0,max:100,value:0,role:"progressbar","aria-hidden":!0},t));if("volume"!==e){n.appendChild(at("span",null,"0"));var r={played:"played",buffer:"buffered"}[e],i=r?Wt(r,this.config):"";n.innerText="% ".concat(i.toLowerCase())}return this.elements.display[e]=n,n},createTime:function(e,t){var n=ut(this.config.selectors.display[e],t),r=at("div",nt(n,{class:"".concat(n.class?n.class:""," ").concat(this.config.classNames.display.time," ").trim(),"aria-label":Wt(e,this.config)}),"00:00");return this.elements.display[e]=r,r},bindMenuItemShortcuts:function(e,t){var n=this;kt.call(this,e,"keydown keyup",(function(r){if([32,38,39,40].includes(r.which)&&(r.preventDefault(),r.stopPropagation(),"keydown"!==r.type)){var i,a=ht(e,'[role="menuitemradio"]');if(!a&&[32,39].includes(r.which))$t.showMenuPanel.call(n,t,!0);else 32!==r.which&&(40===r.which||a&&39===r.which?(i=e.nextElementSibling,Qe(i)||(i=e.parentNode.firstElementChild)):(i=e.previousElementSibling,Qe(i)||(i=e.parentNode.lastElementChild)),yt.call(n,i,!0))}}),!1),kt.call(this,e,"keyup",(function(e){13===e.which&&$t.focusFirstMenuItem.call(n,null,!0)}))},createMenuItem:function(e){var t=this,n=e.value,r=e.list,i=e.type,a=e.title,o=e.badge,l=void 0===o?null:o,s=e.checked,c=void 0!==s&&s,u=ut(this.config.selectors.inputs[i]),d=at("button",nt(u,{type:"button",role:"menuitemradio",class:"".concat(this.config.classNames.control," ").concat(u.class?u.class:"").trim(),"aria-checked":c,value:n})),p=at("span");p.innerHTML=a,Qe(l)&&p.appendChild(l),d.appendChild(p),Object.defineProperty(d,"checked",{enumerable:!0,get:function(){return"true"===d.getAttribute("aria-checked")},set:function(e){e&&Array.from(d.parentNode.children).filter((function(e){return ht(e,'[role="menuitemradio"]')})).forEach((function(e){return e.setAttribute("aria-checked","false")})),d.setAttribute("aria-checked",e?"true":"false")}}),this.listeners.bind(d,"click keyup",(function(e){if(!Ke(e)||32===e.which){switch(e.preventDefault(),e.stopPropagation(),d.checked=!0,i){case"language":t.currentTrack=Number(n);break;case"quality":t.quality=n;break;case"speed":t.speed=parseFloat(n)}$t.showMenuPanel.call(t,"home",Ke(e))}}),i,!1),$t.bindMenuItemShortcuts.call(this,d,i),r.appendChild(d)},formatTime:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return qe(e)?Jt(e,Yt(this.duration)>0,t):e},updateTimeDisplay:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];Qe(e)&&qe(t)&&(e.innerText=$t.formatTime(t,n))},updateVolume:function(){this.supported.ui&&(Qe(this.elements.inputs.volume)&&$t.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),Qe(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||0===this.volume))},setRange:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;Qe(e)&&(e.value=t,$t.updateRangeFill.call(this,e))},updateProgress:function(e){var t=this;if(this.supported.ui&&We(e)){var n=0;if(e)switch(e.type){case"timeupdate":case"seeking":case"seeked":n=function(e,t){return 0===e||0===t||Number.isNaN(e)||Number.isNaN(t)?0:(e/t*100).toFixed(2)}(this.currentTime,this.duration),"timeupdate"===e.type&&$t.setRange.call(this,this.elements.inputs.seek,n);break;case"playing":case"progress":!function(e,n){var r=qe(n)?n:0,i=Qe(e)?e:t.elements.display.buffer;if(Qe(i)){i.value=r;var a=i.getElementsByTagName("span")[0];Qe(a)&&(a.childNodes[0].nodeValue=r)}}(this.elements.display.buffer,100*this.buffered)}}},updateRangeFill:function(e){var t=We(e)?e.target:e;if(Qe(t)&&"range"===t.getAttribute("type")){if(ht(t,this.config.selectors.inputs.seek)){t.setAttribute("aria-valuenow",this.currentTime);var n=$t.formatTime(this.currentTime),r=$t.formatTime(this.duration),i=Wt("seekLabel",this.config);t.setAttribute("aria-valuetext",i.replace("{currentTime}",n).replace("{duration}",r))}else if(ht(t,this.config.selectors.inputs.volume)){var a=100*t.value;t.setAttribute("aria-valuenow",a),t.setAttribute("aria-valuetext","".concat(a.toFixed(1),"%"))}else t.setAttribute("aria-valuenow",t.value);et.isWebkit&&t.style.setProperty("--value",t.value/t.max*100+"%")}},updateSeekTooltip:function(e){var t=this;if(this.config.tooltips.seek&&Qe(this.elements.inputs.seek)&&Qe(this.elements.display.seekTooltip)&&0!==this.duration){var n="".concat(this.config.classNames.tooltip,"--visible"),r=function(e){return pt(t.elements.display.seekTooltip,n,e)};if(this.touch)r(!1);else{var i=0,a=this.elements.progress.getBoundingClientRect();if(We(e))i=100/a.width*(e.pageX-a.left);else{if(!mt(this.elements.display.seekTooltip,n))return;i=parseFloat(this.elements.display.seekTooltip.style.left,10)}i<0?i=0:i>100&&(i=100),$t.updateTimeDisplay.call(this,this.elements.display.seekTooltip,this.duration/100*i),this.elements.display.seekTooltip.style.left="".concat(i,"%"),We(e)&&["mouseenter","mouseleave"].includes(e.type)&&r("mouseenter"===e.type)}}},timeUpdate:function(e){var t=!Qe(this.elements.display.duration)&&this.config.invertTime;$t.updateTimeDisplay.call(this,this.elements.display.currentTime,t?this.duration-this.currentTime:this.currentTime,t),e&&"timeupdate"===e.type&&this.media.seeking||$t.updateProgress.call(this,e)},durationUpdate:function(){if(this.supported.ui&&(this.config.invertTime||!this.currentTime)){if(this.duration>=Math.pow(2,32))return dt(this.elements.display.currentTime,!0),void dt(this.elements.progress,!0);Qe(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);var e=Qe(this.elements.display.duration);!e&&this.config.displayDuration&&this.paused&&$t.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),e&&$t.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),$t.updateSeekTooltip.call(this)}},toggleMenuButton:function(e,t){dt(this.elements.settings.buttons[e],!t)},updateSetting:function(e,t,n){var r=this.elements.settings.panels[e],i=null,a=t;if("captions"===e)i=this.currentTrack;else{if(i=Ze(n)?this[e]:n,Ze(i)&&(i=this.config[e].default),!Ze(this.options[e])&&!this.options[e].includes(i))return void this.debug.warn("Unsupported value of '".concat(i,"' for ").concat(e));if(!this.config[e].options.includes(i))return void this.debug.warn("Disabled value of '".concat(i,"' for ").concat(e))}if(Qe(a)||(a=r&&r.querySelector('[role="menu"]')),Qe(a)){this.elements.settings.buttons[e].querySelector(".".concat(this.config.classNames.menu.value)).innerHTML=$t.getLabel.call(this,e,i);var o=a&&a.querySelector('[value="'.concat(i,'"]'));Qe(o)&&(o.checked=!0)}},getLabel:function(e,t){switch(e){case"speed":return 1===t?Wt("normal",this.config):"".concat(t,"&times;");case"quality":if(qe(t)){var n=Wt("qualityLabel.".concat(t),this.config);return n.length?n:"".concat(t,"p")}return Bt(t);case"captions":return nn.getLabel.call(this);default:return null}},setQualityMenu:function(e){var t=this;if(Qe(this.elements.settings.panels.quality)){var n="quality",r=this.elements.settings.panels.quality.querySelector('[role="menu"]');Ve(e)&&(this.options.quality=Pt(e).filter((function(e){return t.config.quality.options.includes(e)})));var i=!Ze(this.options.quality)&&this.options.quality.length>1;if($t.toggleMenuButton.call(this,n,i),st(r),$t.checkMenu.call(this),i){var a=function(e){var n=Wt("qualityBadge.".concat(e),t.config);return n.length?$t.createBadge.call(t,n):null};this.options.quality.sort((function(e,n){var r=t.config.quality.options;return r.indexOf(e)>r.indexOf(n)?1:-1})).forEach((function(e){$t.createMenuItem.call(t,{value:e,list:r,type:n,title:$t.getLabel.call(t,"quality",e),badge:a(e)})})),$t.updateSetting.call(this,n,r)}}},setCaptionsMenu:function(){var e=this;if(Qe(this.elements.settings.panels.captions)){var t="captions",n=this.elements.settings.panels.captions.querySelector('[role="menu"]'),r=nn.getTracks.call(this),i=Boolean(r.length);if($t.toggleMenuButton.call(this,t,i),st(n),$t.checkMenu.call(this),i){var a=r.map((function(t,r){return{value:r,checked:e.captions.toggled&&e.currentTrack===r,title:nn.getLabel.call(e,t),badge:t.language&&$t.createBadge.call(e,t.language.toUpperCase()),list:n,type:"language"}}));a.unshift({value:-1,checked:!this.captions.toggled,title:Wt("disabled",this.config),list:n,type:"language"}),a.forEach($t.createMenuItem.bind(this)),$t.updateSetting.call(this,t,n)}}},setSpeedMenu:function(){var e=this;if(Qe(this.elements.settings.panels.speed)){var t="speed",n=this.elements.settings.panels.speed.querySelector('[role="menu"]');this.options.speed=this.options.speed.filter((function(t){return t>=e.minimumSpeed&&t<=e.maximumSpeed}));var r=!Ze(this.options.speed)&&this.options.speed.length>1;$t.toggleMenuButton.call(this,t,r),st(n),$t.checkMenu.call(this),r&&(this.options.speed.forEach((function(r){$t.createMenuItem.call(e,{value:r,list:n,type:t,title:$t.getLabel.call(e,"speed",r)})})),$t.updateSetting.call(this,t,n))}},checkMenu:function(){var e=this.elements.settings.buttons,t=!Ze(e)&&Object.values(e).some((function(e){return!e.hidden}));dt(this.elements.settings.menu,!t)},focusFirstMenuItem:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.elements.settings.popup.hidden){var n=e;Qe(n)||(n=Object.values(this.elements.settings.panels).find((function(e){return!e.hidden})));var r=n.querySelector('[role^="menuitem"]');yt.call(this,r,t)}},toggleMenu:function(e){var t=this.elements.settings.popup,n=this.elements.buttons.settings;if(Qe(t)&&Qe(n)){var r=t.hidden,i=r;if(He(e))i=e;else if(Ke(e)&&27===e.which)i=!1;else if(We(e)){var a=Be(e.composedPath)?e.composedPath()[0]:e.target,o=t.contains(a);if(o||!o&&e.target!==n&&i)return}n.setAttribute("aria-expanded",i),dt(t,!i),pt(this.elements.container,this.config.classNames.menu.open,i),i&&Ke(e)?$t.focusFirstMenuItem.call(this,null,!0):i||r||yt.call(this,n,Ke(e))}},getMenuSize:function(e){var t=e.cloneNode(!0);t.style.position="absolute",t.style.opacity=0,t.removeAttribute("hidden"),e.parentNode.appendChild(t);var n=t.scrollWidth,r=t.scrollHeight;return lt(t),{width:n,height:r}},showMenuPanel:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.elements.container.querySelector("#plyr-settings-".concat(this.id,"-").concat(t));if(Qe(r)){var i=r.parentNode,a=Array.from(i.children).find((function(e){return!e.hidden}));if(vt.transitions&&!vt.reducedMotion){i.style.width="".concat(a.scrollWidth,"px"),i.style.height="".concat(a.scrollHeight,"px");var o=$t.getMenuSize.call(this,r),l=function t(n){n.target===i&&["width","height"].includes(n.propertyName)&&(i.style.width="",i.style.height="",xt.call(e,i,Je,t))};kt.call(this,i,Je,l),i.style.width="".concat(o.width,"px"),i.style.height="".concat(o.height,"px")}dt(a,!0),dt(r,!1),$t.focusFirstMenuItem.call(this,r,n)}},setDownloadUrl:function(){var e=this.elements.buttons.download;Qe(e)&&e.setAttribute("href",this.download)},create:function(e){var t=this,n=$t.bindMenuItemShortcuts,r=$t.createButton,i=$t.createProgress,a=$t.createRange,o=$t.createTime,l=$t.setQualityMenu,s=$t.setSpeedMenu,c=$t.showMenuPanel;this.elements.controls=null,Ve(this.config.controls)&&this.config.controls.includes("play-large")&&this.elements.container.appendChild(r.call(this,"play-large"));var u=at("div",ut(this.config.selectors.controls.wrapper));this.elements.controls=u;var d={class:"plyr__controls__item"};return Pt(Ve(this.config.controls)?this.config.controls:[]).forEach((function(l){if("restart"===l&&u.appendChild(r.call(t,"restart",d)),"rewind"===l&&u.appendChild(r.call(t,"rewind",d)),"play"===l&&u.appendChild(r.call(t,"play",d)),"fast-forward"===l&&u.appendChild(r.call(t,"fast-forward",d)),"progress"===l){var s=at("div",{class:"".concat(d.class," plyr__progress__container")}),p=at("div",ut(t.config.selectors.progress));if(p.appendChild(a.call(t,"seek",{id:"plyr-seek-".concat(e.id)})),p.appendChild(i.call(t,"buffer")),t.config.tooltips.seek){var m=at("span",{class:t.config.classNames.tooltip},"00:00");p.appendChild(m),t.elements.display.seekTooltip=m}t.elements.progress=p,s.appendChild(t.elements.progress),u.appendChild(s)}if("current-time"===l&&u.appendChild(o.call(t,"currentTime",d)),"duration"===l&&u.appendChild(o.call(t,"duration",d)),"mute"===l||"volume"===l){var h=t.elements.volume;if(Qe(h)&&u.contains(h)||(h=at("div",nt({},d,{class:"".concat(d.class," plyr__volume").trim()})),t.elements.volume=h,u.appendChild(h)),"mute"===l&&h.appendChild(r.call(t,"mute")),"volume"===l&&!et.isIos){var f={max:1,step:.05,value:t.config.volume};h.appendChild(a.call(t,"volume",nt(f,{id:"plyr-volume-".concat(e.id)})))}}if("captions"===l&&u.appendChild(r.call(t,"captions",d)),"settings"===l&&!Ze(t.config.settings)){var g=at("div",nt({},d,{class:"".concat(d.class," plyr__menu").trim(),hidden:""}));g.appendChild(r.call(t,"settings",{"aria-haspopup":!0,"aria-controls":"plyr-settings-".concat(e.id),"aria-expanded":!1}));var y=at("div",{class:"plyr__menu__container",id:"plyr-settings-".concat(e.id),hidden:""}),b=at("div"),v=at("div",{id:"plyr-settings-".concat(e.id,"-home")}),w=at("div",{role:"menu"});v.appendChild(w),b.appendChild(v),t.elements.settings.panels.home=v,t.config.settings.forEach((function(r){var i=at("button",nt(ut(t.config.selectors.buttons.settings),{type:"button",class:"".concat(t.config.classNames.control," ").concat(t.config.classNames.control,"--forward"),role:"menuitem","aria-haspopup":!0,hidden:""}));n.call(t,i,r),kt.call(t,i,"click",(function(){c.call(t,r,!1)}));var a=at("span",null,Wt(r,t.config)),o=at("span",{class:t.config.classNames.menu.value});o.innerHTML=e[r],a.appendChild(o),i.appendChild(a),w.appendChild(i);var l=at("div",{id:"plyr-settings-".concat(e.id,"-").concat(r),hidden:""}),s=at("button",{type:"button",class:"".concat(t.config.classNames.control," ").concat(t.config.classNames.control,"--back")});s.appendChild(at("span",{"aria-hidden":!0},Wt(r,t.config))),s.appendChild(at("span",{class:t.config.classNames.hidden},Wt("menuBack",t.config))),kt.call(t,l,"keydown",(function(e){37===e.which&&(e.preventDefault(),e.stopPropagation(),c.call(t,"home",!0))}),!1),kt.call(t,s,"click",(function(){c.call(t,"home",!1)})),l.appendChild(s),l.appendChild(at("div",{role:"menu"})),b.appendChild(l),t.elements.settings.buttons[r]=i,t.elements.settings.panels[r]=l})),y.appendChild(b),g.appendChild(y),u.appendChild(g),t.elements.settings.popup=y,t.elements.settings.menu=g}if("pip"===l&&vt.pip&&u.appendChild(r.call(t,"pip",d)),"airplay"===l&&vt.airplay&&u.appendChild(r.call(t,"airplay",d)),"download"===l){var _=nt({},d,{element:"a",href:t.download,target:"_blank"});t.isHTML5&&(_.download="");var k=t.config.urls.download;!Ye(k)&&t.isEmbed&&nt(_,{icon:"logo-".concat(t.provider),label:t.provider}),u.appendChild(r.call(t,"download",_))}"fullscreen"===l&&u.appendChild(r.call(t,"fullscreen",d))})),this.isHTML5&&l.call(this,Dt.getQualityOptions.call(this)),s.call(this),u},inject:function(){var e=this;if(this.config.loadSprite){var t=$t.getIconUrl.call(this);t.cors&&Xt(t.url,"sprite-plyr")}this.id=Math.floor(1e4*Math.random());var n=null;this.elements.controls=null;var r,i={id:this.id,seektime:this.config.seekTime,title:this.config.title},a=!0;if(Be(this.config.controls)&&(this.config.controls=this.config.controls.call(this,i)),this.config.controls||(this.config.controls=[]),Qe(this.config.controls)||Re(this.config.controls)?n=this.config.controls:(n=$t.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:nn.getLabel.call(this)}),a=!1),a&&Re(this.config.controls)&&(n=function(e){var t=e;return Object.entries(i).forEach((function(e){var n=d(e,2),r=n[0],i=n[1];t=Ht(t,"{".concat(r,"}"),i)})),t}(n)),Re(this.config.selectors.controls.container)&&(r=document.querySelector(this.config.selectors.controls.container)),Qe(r)||(r=this.elements.container),r[Qe(n)?"insertAdjacentElement":"insertAdjacentHTML"]("afterbegin",n),Qe(this.elements.controls)||$t.findElements.call(this),!Ze(this.elements.buttons)){var o=function(t){var n=e.config.classNames.controlPressed;Object.defineProperty(t,"pressed",{enumerable:!0,get:function(){return mt(t,n)},set:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];pt(t,n,e)}})};Object.values(this.elements.buttons).filter(Boolean).forEach((function(e){Ve(e)||Ue(e)?Array.from(e).filter(Boolean).forEach(o):o(e)}))}if(et.isEdge&&$e(r),this.config.tooltips.controls){var l=this.config,s=l.classNames,c=l.selectors,u="".concat(c.controls.wrapper," ").concat(c.labels," .").concat(s.hidden),p=ft.call(this,u);Array.from(p).forEach((function(t){pt(t,e.config.classNames.hidden,!1),pt(t,e.config.classNames.tooltip,!0)}))}}};function en(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e;if(t){var r=document.createElement("a");r.href=n,n=r.href}try{return new URL(n)}catch(e){return null}}function tn(e){var t=new URLSearchParams;return De(e)&&Object.entries(e).forEach((function(e){var n=d(e,2),r=n[0],i=n[1];t.set(r,i)})),t}var nn={setup:function(){if(this.supported.ui)if(!this.isVideo||this.isYouTube||this.isHTML5&&!vt.textTracks)Ve(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&$t.setCaptionsMenu.call(this);else{if(Qe(this.elements.captions)||(this.elements.captions=at("div",ut(this.config.selectors.captions)),function(e,t){Qe(e)&&Qe(t)&&t.parentNode.insertBefore(e,t.nextSibling)}(this.elements.captions,this.elements.wrapper)),et.isIE&&window.URL){var e=this.media.querySelectorAll("track");Array.from(e).forEach((function(e){var t=e.getAttribute("src"),n=en(t);null!==n&&n.hostname!==window.location.href.hostname&&["http:","https:"].includes(n.protocol)&&Gt(t,"blob").then((function(t){e.setAttribute("src",window.URL.createObjectURL(t))})).catch((function(){lt(e)}))}))}var t=Pt((navigator.languages||[navigator.language||navigator.userLanguage||"en"]).map((function(e){return e.split("-")[0]}))),n=(this.storage.get("language")||this.config.captions.language||"auto").toLowerCase();"auto"===n&&(n=d(t,1)[0]);var r=this.storage.get("captions");if(He(r)||(r=this.config.captions.active),Object.assign(this.captions,{toggled:!1,active:r,language:n,languages:t}),this.isHTML5){var i=this.config.captions.update?"addtrack removetrack":"removetrack";kt.call(this,this.media.textTracks,i,nn.update.bind(this))}setTimeout(nn.update.bind(this),0)}},update:function(){var e=this,t=nn.getTracks.call(this,!0),n=this.captions,r=n.active,i=n.language,a=n.meta,o=n.currentTrackNode,l=Boolean(t.find((function(e){return e.language===i})));this.isHTML5&&this.isVideo&&t.filter((function(e){return!a.get(e)})).forEach((function(t){e.debug.log("Track added",t),a.set(t,{default:"showing"===t.mode}),"showing"===t.mode&&(t.mode="hidden"),kt.call(e,t,"cuechange",(function(){return nn.updateCues.call(e)}))})),(l&&this.language!==i||!t.includes(o))&&(nn.setLanguage.call(this,i),nn.toggle.call(this,r&&l)),pt(this.elements.container,this.config.classNames.captions.enabled,!Ze(t)),Ve(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&$t.setCaptionsMenu.call(this)},toggle:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.supported.ui){var r=this.captions.toggled,i=this.config.classNames.captions.active,o=Fe(e)?!r:e;if(o!==r){if(n||(this.captions.active=o,this.storage.set({captions:o})),!this.language&&o&&!n){var l=nn.getTracks.call(this),s=nn.findTrack.call(this,[this.captions.language].concat(a(this.captions.languages)),!0);return this.captions.language=s.language,void nn.set.call(this,l.indexOf(s))}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=o),pt(this.elements.container,i,o),this.captions.toggled=o,$t.updateSetting.call(this,"captions"),At.call(this,this.media,o?"captionsenabled":"captionsdisabled")}setTimeout((function(){o&&t.captions.toggled&&(t.captions.currentTrackNode.mode="hidden")}))}},set:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=nn.getTracks.call(this);if(-1!==e)if(qe(e))if(e in n){if(this.captions.currentTrack!==e){this.captions.currentTrack=e;var r=n[e],i=r||{},a=i.language;this.captions.currentTrackNode=r,$t.updateSetting.call(this,"captions"),t||(this.captions.language=a,this.storage.set({language:a})),this.isVimeo&&this.embed.enableTextTrack(a),At.call(this,this.media,"languagechange")}nn.toggle.call(this,!0,t),this.isHTML5&&this.isVideo&&nn.updateCues.call(this)}else this.debug.warn("Track not found",e);else this.debug.warn("Invalid caption argument",e);else nn.toggle.call(this,!1,t)},setLanguage:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(Re(e)){var n=e.toLowerCase();this.captions.language=n;var r=nn.getTracks.call(this),i=nn.findTrack.call(this,[n]);nn.set.call(this,r.indexOf(i),t)}else this.debug.warn("Invalid language argument",e)},getTracks:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Array.from((this.media||{}).textTracks||[]).filter((function(n){return!e.isHTML5||t||e.captions.meta.has(n)})).filter((function(e){return["captions","subtitles"].includes(e.kind)}))},findTrack:function(e){var t,n=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=nn.getTracks.call(this),a=function(e){return Number((n.captions.meta.get(e)||{}).default)},o=Array.from(i).sort((function(e,t){return a(t)-a(e)}));return e.every((function(e){return t=o.find((function(t){return t.language===e})),!t})),t||(r?o[0]:void 0)},getCurrentTrack:function(){return nn.getTracks.call(this)[this.currentTrack]},getLabel:function(e){var t=e;return!Ge(t)&&vt.textTracks&&this.captions.toggled&&(t=nn.getCurrentTrack.call(this)),Ge(t)?Ze(t.label)?Ze(t.language)?Wt("enabled",this.config):e.language.toUpperCase():t.label:Wt("disabled",this.config)},updateCues:function(e){if(this.supported.ui)if(Qe(this.elements.captions))if(Fe(e)||Array.isArray(e)){var t=e;if(!t){var n=nn.getCurrentTrack.call(this);t=Array.from((n||{}).activeCues||[]).map((function(e){return e.getCueAsHTML()})).map(Ut)}var r=t.map((function(e){return e.trim()})).join("\n");if(r!==this.elements.captions.innerHTML){st(this.elements.captions);var i=at("span",ut(this.config.selectors.caption));i.innerHTML=r,this.elements.captions.appendChild(i),At.call(this,this.media,"cuechange")}}else this.debug.warn("updateCues: Invalid input",e);else this.debug.warn("No captions element to render to")}},rn={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:null,clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.6.8/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240],forced:!1,onChange:null},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2,4]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",pip:"PIP",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"SD"}},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/oembed.json?url={0}"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://noembed.com/embed?url=https://www.youtube.com/watch?v={0}"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption"},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",videoFixedRatio:"plyr__video-wrapper--fixed-ratio",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isIos:"plyr--is-ios",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},tabFocus:"plyr__tab-focus",previewThumbnails:{thumbContainer:"plyr__preview-thumb",thumbContainerShown:"plyr__preview-thumb--is-shown",imageContainer:"plyr__preview-thumb__image-container",timeContainer:"plyr__preview-thumb__time-container",scrubbingContainer:"plyr__preview-scrubbing",scrubbingContainerShown:"plyr__preview-scrubbing--is-shown"}},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id"}},ads:{enabled:!1,publisherId:"",tagUrl:""},previewThumbnails:{enabled:!1,src:""},vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1,customControls:!0,referrerPolicy:null,premium:!1},youtube:{rel:0,showinfo:0,iv_load_policy:3,modestbranding:1,customControls:!0,noCookie:!1}},an="picture-in-picture",on="inline",ln={html5:"html5",youtube:"youtube",vimeo:"vimeo"},sn="audio",cn="video";var un=function(){},dn=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];o(this,e),this.enabled=window.console&&t,this.enabled&&this.log("Debugging enabled")}return s(e,[{key:"log",get:function(){return this.enabled?Function.prototype.bind.call(console.log,console):un}},{key:"warn",get:function(){return this.enabled?Function.prototype.bind.call(console.warn,console):un}},{key:"error",get:function(){return this.enabled?Function.prototype.bind.call(console.error,console):un}}]),e}(),pn=function(){function e(t){var n=this;o(this,e),re(this,"onChange",(function(){if(n.enabled){var e=n.player.elements.buttons.fullscreen;Qe(e)&&(e.pressed=n.active);var t=n.target===n.player.media?n.target:n.player.elements.container;At.call(n.player,t,n.active?"enterfullscreen":"exitfullscreen",!0)}})),re(this,"toggleFallback",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e?n.scrollPosition={x:window.scrollX||0,y:window.scrollY||0}:window.scrollTo(n.scrollPosition.x,n.scrollPosition.y),document.body.style.overflow=e?"hidden":"",pt(n.target,n.player.config.classNames.fullscreen.fallback,e),et.isIos){var t=document.head.querySelector('meta[name="viewport"]'),r="viewport-fit=cover";t||(t=document.createElement("meta")).setAttribute("name","viewport");var i=Re(t.content)&&t.content.includes(r);e?(n.cleanupViewport=!i,i||(t.content+=",".concat(r))):n.cleanupViewport&&(t.content=t.content.split(",").filter((function(e){return e.trim()!==r})).join(","))}n.onChange()})),re(this,"trapFocus",(function(e){if(!et.isIos&&n.active&&"Tab"===e.key&&9===e.keyCode){var t=document.activeElement,r=ft.call(n.player,"a[href], button:not(:disabled), input:not(:disabled), [tabindex]"),i=d(r,1)[0],a=r[r.length-1];t!==a||e.shiftKey?t===i&&e.shiftKey&&(a.focus(),e.preventDefault()):(i.focus(),e.preventDefault())}})),re(this,"update",(function(){var t;n.enabled?(t=n.forceFallback?"Fallback (forced)":e.native?"Native":"Fallback",n.player.debug.log("".concat(t," fullscreen enabled"))):n.player.debug.log("Fullscreen not supported and fallback disabled");pt(n.player.elements.container,n.player.config.classNames.fullscreen.enabled,n.enabled)})),re(this,"enter",(function(){n.enabled&&(et.isIos&&n.player.config.fullscreen.iosNative?n.player.isVimeo?n.player.embed.requestFullscreen():n.target.webkitEnterFullscreen():!e.native||n.forceFallback?n.toggleFallback(!0):n.prefix?Ze(n.prefix)||n.target["".concat(n.prefix,"Request").concat(n.property)]():n.target.requestFullscreen({navigationUI:"hide"}))})),re(this,"exit",(function(){if(n.enabled)if(et.isIos&&n.player.config.fullscreen.iosNative)n.target.webkitExitFullscreen(),Et(n.player.play());else if(!e.native||n.forceFallback)n.toggleFallback(!1);else if(n.prefix){if(!Ze(n.prefix)){var t="moz"===n.prefix?"Cancel":"Exit";document["".concat(n.prefix).concat(t).concat(n.property)]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document)})),re(this,"toggle",(function(){n.active?n.exit():n.enter()})),this.player=t,this.prefix=e.prefix,this.property=e.property,this.scrollPosition={x:0,y:0},this.forceFallback="force"===t.config.fullscreen.fallback,this.player.elements.fullscreen=t.config.fullscreen.container&&function(e,t){return(Element.prototype.closest||function(){var e=this;do{if(ht.matches(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}).call(e,t)}(this.player.elements.container,t.config.fullscreen.container),kt.call(this.player,document,"ms"===this.prefix?"MSFullscreenChange":"".concat(this.prefix,"fullscreenchange"),(function(){n.onChange()})),kt.call(this.player,this.player.elements.container,"dblclick",(function(e){Qe(n.player.elements.controls)&&n.player.elements.controls.contains(e.target)||n.player.listeners.proxy(e,n.toggle,"fullscreen")})),kt.call(this,this.player.elements.container,"keydown",(function(e){return n.trapFocus(e)})),this.update()}return s(e,[{key:"usingNative",get:function(){return e.native&&!this.forceFallback}},{key:"enabled",get:function(){return(e.native||this.player.config.fullscreen.fallback)&&this.player.config.fullscreen.enabled&&this.player.supported.ui&&this.player.isVideo}},{key:"active",get:function(){if(!this.enabled)return!1;if(!e.native||this.forceFallback)return mt(this.target,this.player.config.classNames.fullscreen.fallback);var t=this.prefix?document["".concat(this.prefix).concat(this.property,"Element")]:document.fullscreenElement;return t&&t.shadowRoot?t===this.target.getRootNode().host:t===this.target}},{key:"target",get:function(){return et.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.fullscreen||this.player.elements.container}}],[{key:"native",get:function(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}},{key:"prefix",get:function(){if(Be(document.exitFullscreen))return"";var e="";return["webkit","moz","ms"].some((function(t){return!(!Be(document["".concat(t,"ExitFullscreen")])&&!Be(document["".concat(t,"CancelFullScreen")])||(e=t,0))})),e}},{key:"property",get:function(){return"moz"===this.prefix?"FullScreen":"Fullscreen"}}]),e}();function mn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Promise((function(n,r){var i=new Image,a=function(){delete i.onload,delete i.onerror,(i.naturalWidth>=t?n:r)(i)};Object.assign(i,{onload:a,onerror:a,src:e})}))}var hn={addStyleHook:function(){pt(this.elements.container,this.config.selectors.container.replace(".",""),!0),pt(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build:function(){var e=this;if(this.listeners.media(),!this.supported.ui)return this.debug.warn("Basic support only for ".concat(this.provider," ").concat(this.type)),void hn.toggleNativeControls.call(this,!0);Qe(this.elements.controls)||($t.inject.call(this),this.listeners.controls()),hn.toggleNativeControls.call(this),this.isHTML5&&nn.setup.call(this),this.volume=null,this.muted=null,this.loop=null,this.quality=null,this.speed=null,$t.updateVolume.call(this),$t.timeUpdate.call(this),hn.checkPlaying.call(this),pt(this.elements.container,this.config.classNames.pip.supported,vt.pip&&this.isHTML5&&this.isVideo),pt(this.elements.container,this.config.classNames.airplay.supported,vt.airplay&&this.isHTML5),pt(this.elements.container,this.config.classNames.isIos,et.isIos),pt(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout((function(){At.call(e,e.media,"ready")}),0),hn.setTitle.call(this),this.poster&&hn.setPoster.call(this,this.poster,!1).catch((function(){})),this.config.duration&&$t.durationUpdate.call(this)},setTitle:function(){var e=Wt("play",this.config);if(Re(this.config.title)&&!Ze(this.config.title)&&(e+=", ".concat(this.config.title)),Array.from(this.elements.buttons.play||[]).forEach((function(t){t.setAttribute("aria-label",e)})),this.isEmbed){var t=gt.call(this,"iframe");if(!Qe(t))return;var n=Ze(this.config.title)?"video":this.config.title,r=Wt("frameTitle",this.config);t.setAttribute("title",r.replace("{title}",n))}},togglePoster:function(e){pt(this.elements.container,this.config.classNames.posterEnabled,e)},setPoster:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return n&&this.poster?Promise.reject(new Error("Poster already set")):(this.media.setAttribute("data-poster",e),this.elements.poster.removeAttribute("hidden"),St.call(this).then((function(){return mn(e)})).catch((function(n){throw e===t.poster&&hn.togglePoster.call(t,!1),n})).then((function(){if(e!==t.poster)throw new Error("setPoster cancelled by later call to setPoster")})).then((function(){return Object.assign(t.elements.poster.style,{backgroundImage:"url('".concat(e,"')"),backgroundSize:""}),hn.togglePoster.call(t,!0),e})))},checkPlaying:function(e){var t=this;pt(this.elements.container,this.config.classNames.playing,this.playing),pt(this.elements.container,this.config.classNames.paused,this.paused),pt(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach((function(e){Object.assign(e,{pressed:t.playing}),e.setAttribute("aria-label",Wt(t.playing?"pause":"play",t.config))})),We(e)&&"timeupdate"===e.type||hn.toggleControls.call(this)},checkLoading:function(e){var t=this;this.loading=["stalled","waiting"].includes(e.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout((function(){pt(t.elements.container,t.config.classNames.loading,t.loading),hn.toggleControls.call(t)}),this.loading?250:0)},toggleControls:function(e){var t=this.elements.controls;if(t&&this.config.hideControls){var n=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(Boolean(e||this.loading||this.paused||t.pressed||t.hover||n))}},migrateStyles:function(){var e=this;Object.values(u({},this.media.style)).filter((function(e){return!Ze(e)&&Re(e)&&e.startsWith("--plyr")})).forEach((function(t){e.elements.container.style.setProperty(t,e.media.style.getPropertyValue(t)),e.media.style.removeProperty(t)})),Ze(this.media.style)&&this.media.removeAttribute("style")}},fn=function(){function e(t){var n=this;o(this,e),re(this,"firstTouch",(function(){var e=n.player,t=e.elements;e.touch=!0,pt(t.container,e.config.classNames.isTouch,!0)})),re(this,"setTabFocus",(function(e){var t=n.player,r=t.elements;if(clearTimeout(n.focusTimer),"keydown"!==e.type||9===e.which){"keydown"===e.type&&(n.lastKeyDown=e.timeStamp);var i=e.timeStamp-n.lastKeyDown<=20;("focus"!==e.type||i)&&(function(){var e=t.config.classNames.tabFocus;pt(ft.call(t,".".concat(e)),e,!1)}(),"focusout"!==e.type&&(n.focusTimer=setTimeout((function(){var e=document.activeElement;r.container.contains(e)&&pt(document.activeElement,t.config.classNames.tabFocus,!0)}),10)))}})),re(this,"global",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=n.player;t.config.keyboard.global&&_t.call(t,window,"keydown keyup",n.handleKey,e,!1),_t.call(t,document.body,"click",n.toggleMenu,e),Tt.call(t,document.body,"touchstart",n.firstTouch),_t.call(t,document.body,"keydown focus blur focusout",n.setTabFocus,e,!1,!0)})),re(this,"container",(function(){var e=n.player,t=e.config,r=e.elements,i=e.timers;!t.keyboard.global&&t.keyboard.focused&&kt.call(e,r.container,"keydown keyup",n.handleKey,!1),kt.call(e,r.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",(function(t){var n=r.controls;n&&"enterfullscreen"===t.type&&(n.pressed=!1,n.hover=!1);var a=0;["touchstart","touchmove","mousemove"].includes(t.type)&&(hn.toggleControls.call(e,!0),a=e.touch?3e3:2e3),clearTimeout(i.controls),i.controls=setTimeout((function(){return hn.toggleControls.call(e,!1)}),a)}));var a=function(){if(e.isVimeo&&!e.config.vimeo.premium){var t=r.wrapper,n=e.fullscreen.active,i=d(Ot.call(e),2),a=i[0],o=i[1],l=Nt("aspect-ratio: ".concat(a," / ").concat(o));if(n){var s=d([Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)],2),c=s[0],u=s[1],p=c/u>a/o;l?(t.style.width=p?"auto":"100%",t.style.height=p?"100%":"auto"):(t.style.maxWidth=p?u/o*a+"px":null,t.style.margin=p?"0 auto":null)}else l?(t.style.width=null,t.style.height=null):(t.style.maxWidth=null,t.style.margin=null)}},o=function(){clearTimeout(i.resized),i.resized=setTimeout(a,50)};kt.call(e,r.container,"enterfullscreen exitfullscreen",(function(t){e.fullscreen.target===r.container&&(!e.isEmbed&&Ze(e.config.ratio)||(a(),("enterfullscreen"===t.type?kt:xt).call(e,window,"resize",o)))}))})),re(this,"media",(function(){var e=n.player,t=e.elements;if(kt.call(e,e.media,"timeupdate seeking seeked",(function(t){return $t.timeUpdate.call(e,t)})),kt.call(e,e.media,"durationchange loadeddata loadedmetadata",(function(t){return $t.durationUpdate.call(e,t)})),kt.call(e,e.media,"ended",(function(){e.isHTML5&&e.isVideo&&e.config.resetOnEnd&&(e.restart(),e.pause())})),kt.call(e,e.media,"progress playing seeking seeked",(function(t){return $t.updateProgress.call(e,t)})),kt.call(e,e.media,"volumechange",(function(t){return $t.updateVolume.call(e,t)})),kt.call(e,e.media,"playing play pause ended emptied timeupdate",(function(t){return hn.checkPlaying.call(e,t)})),kt.call(e,e.media,"waiting canplay seeked playing",(function(t){return hn.checkLoading.call(e,t)})),e.supported.ui&&e.config.clickToPlay&&!e.isAudio){var r=gt.call(e,".".concat(e.config.classNames.video));if(!Qe(r))return;kt.call(e,t.container,"click",(function(i){([t.container,r].includes(i.target)||r.contains(i.target))&&(e.touch&&e.config.hideControls||(e.ended?(n.proxy(i,e.restart,"restart"),n.proxy(i,(function(){Et(e.play())}),"play")):n.proxy(i,(function(){Et(e.togglePlay())}),"play")))}))}e.supported.ui&&e.config.disableContextMenu&&kt.call(e,t.wrapper,"contextmenu",(function(e){e.preventDefault()}),!1),kt.call(e,e.media,"volumechange",(function(){e.storage.set({volume:e.volume,muted:e.muted})})),kt.call(e,e.media,"ratechange",(function(){$t.updateSetting.call(e,"speed"),e.storage.set({speed:e.speed})})),kt.call(e,e.media,"qualitychange",(function(t){$t.updateSetting.call(e,"quality",null,t.detail.quality)})),kt.call(e,e.media,"ready qualitychange",(function(){$t.setDownloadUrl.call(e)}));var i=e.config.events.concat(["keyup","keydown"]).join(" ");kt.call(e,e.media,i,(function(n){var r=n.detail,i=void 0===r?{}:r;"error"===n.type&&(i=e.media.error),At.call(e,t.container,n.type,!0,i)}))})),re(this,"proxy",(function(e,t,r){var i=n.player,a=i.config.listeners[r],o=!0;Be(a)&&(o=a.call(i,e)),!1!==o&&Be(t)&&t.call(i,e)})),re(this,"bind",(function(e,t,r,i){var a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=n.player,l=o.config.listeners[i],s=Be(l);kt.call(o,e,t,(function(e){return n.proxy(e,r,i)}),a&&!s)})),re(this,"controls",(function(){var e=n.player,t=e.elements,r=et.isIE?"change":"input";if(t.buttons.play&&Array.from(t.buttons.play).forEach((function(t){n.bind(t,"click",(function(){Et(e.togglePlay())}),"play")})),n.bind(t.buttons.restart,"click",e.restart,"restart"),n.bind(t.buttons.rewind,"click",(function(){e.lastSeekTime=Date.now(),e.rewind()}),"rewind"),n.bind(t.buttons.fastForward,"click",(function(){e.lastSeekTime=Date.now(),e.forward()}),"fastForward"),n.bind(t.buttons.mute,"click",(function(){e.muted=!e.muted}),"mute"),n.bind(t.buttons.captions,"click",(function(){return e.toggleCaptions()})),n.bind(t.buttons.download,"click",(function(){At.call(e,e.media,"download")}),"download"),n.bind(t.buttons.fullscreen,"click",(function(){e.fullscreen.toggle()}),"fullscreen"),n.bind(t.buttons.pip,"click",(function(){e.pip="toggle"}),"pip"),n.bind(t.buttons.airplay,"click",e.airplay,"airplay"),n.bind(t.buttons.settings,"click",(function(t){t.stopPropagation(),t.preventDefault(),$t.toggleMenu.call(e,t)}),null,!1),n.bind(t.buttons.settings,"keyup",(function(t){var n=t.which;[13,32].includes(n)&&(13!==n?(t.preventDefault(),t.stopPropagation(),$t.toggleMenu.call(e,t)):$t.focusFirstMenuItem.call(e,null,!0))}),null,!1),n.bind(t.settings.menu,"keydown",(function(t){27===t.which&&$t.toggleMenu.call(e,t)})),n.bind(t.inputs.seek,"mousedown mousemove",(function(e){var n=t.progress.getBoundingClientRect(),r=100/n.width*(e.pageX-n.left);e.currentTarget.setAttribute("seek-value",r)})),n.bind(t.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",(function(t){var n=t.currentTarget,r=t.keyCode?t.keyCode:t.which,i="play-on-seeked";if(!Ke(t)||39===r||37===r){e.lastSeekTime=Date.now();var a=n.hasAttribute(i),o=["mouseup","touchend","keyup"].includes(t.type);a&&o?(n.removeAttribute(i),Et(e.play())):!o&&e.playing&&(n.setAttribute(i,""),e.pause())}})),et.isIos){var i=ft.call(e,'input[type="range"]');Array.from(i).forEach((function(e){return n.bind(e,r,(function(e){return $e(e.target)}))}))}n.bind(t.inputs.seek,r,(function(t){var n=t.currentTarget,r=n.getAttribute("seek-value");Ze(r)&&(r=n.value),n.removeAttribute("seek-value"),e.currentTime=r/n.max*e.duration}),"seek"),n.bind(t.progress,"mouseenter mouseleave mousemove",(function(t){return $t.updateSeekTooltip.call(e,t)})),n.bind(t.progress,"mousemove touchmove",(function(t){var n=e.previewThumbnails;n&&n.loaded&&n.startMove(t)})),n.bind(t.progress,"mouseleave touchend click",(function(){var t=e.previewThumbnails;t&&t.loaded&&t.endMove(!1,!0)})),n.bind(t.progress,"mousedown touchstart",(function(t){var n=e.previewThumbnails;n&&n.loaded&&n.startScrubbing(t)})),n.bind(t.progress,"mouseup touchend",(function(t){var n=e.previewThumbnails;n&&n.loaded&&n.endScrubbing(t)})),et.isWebkit&&Array.from(ft.call(e,'input[type="range"]')).forEach((function(t){n.bind(t,"input",(function(t){return $t.updateRangeFill.call(e,t.target)}))})),e.config.toggleInvert&&!Qe(t.display.duration)&&n.bind(t.display.currentTime,"click",(function(){0!==e.currentTime&&(e.config.invertTime=!e.config.invertTime,$t.timeUpdate.call(e))})),n.bind(t.inputs.volume,r,(function(t){e.volume=t.target.value}),"volume"),n.bind(t.controls,"mouseenter mouseleave",(function(n){t.controls.hover=!e.touch&&"mouseenter"===n.type})),t.fullscreen&&Array.from(t.fullscreen.children).filter((function(e){return!e.contains(t.container)})).forEach((function(r){n.bind(r,"mouseenter mouseleave",(function(n){t.controls.hover=!e.touch&&"mouseenter"===n.type}))})),n.bind(t.controls,"mousedown mouseup touchstart touchend touchcancel",(function(e){t.controls.pressed=["mousedown","touchstart"].includes(e.type)})),n.bind(t.controls,"focusin",(function(){var r=e.config,i=e.timers;pt(t.controls,r.classNames.noTransition,!0),hn.toggleControls.call(e,!0),setTimeout((function(){pt(t.controls,r.classNames.noTransition,!1)}),0);var a=n.touch?3e3:4e3;clearTimeout(i.controls),i.controls=setTimeout((function(){return hn.toggleControls.call(e,!1)}),a)})),n.bind(t.inputs.volume,"wheel",(function(t){var n=t.webkitDirectionInvertedFromDevice,r=[t.deltaX,-t.deltaY].map((function(e){return n?-e:e})),i=d(r,2),a=i[0],o=i[1],l=Math.sign(Math.abs(a)>Math.abs(o)?a:o);e.increaseVolume(l/50);var s=e.media.volume;(1===l&&s<1||-1===l&&s>0)&&t.preventDefault()}),"volume",!1)})),this.player=t,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.setTabFocus=this.setTabFocus.bind(this),this.firstTouch=this.firstTouch.bind(this)}return s(e,[{key:"handleKey",value:function(e){var t=this.player,n=t.elements,r=e.keyCode?e.keyCode:e.which,i="keydown"===e.type,a=i&&r===this.lastKey;if(!(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)&&qe(r))if(i){var o=document.activeElement;if(Qe(o)){var l=t.config.selectors.editable;if(o!==n.inputs.seek&&ht(o,l))return;if(32===e.which&&ht(o,'button, [role^="menuitem"]'))return}switch([32,37,38,39,40,48,49,50,51,52,53,54,56,57,67,70,73,75,76,77,79].includes(r)&&(e.preventDefault(),e.stopPropagation()),r){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:a||(t.currentTime=t.duration/10*(r-48));break;case 32:case 75:a||Et(t.togglePlay());break;case 38:t.increaseVolume(.1);break;case 40:t.decreaseVolume(.1);break;case 77:a||(t.muted=!t.muted);break;case 39:t.forward();break;case 37:t.rewind();break;case 70:t.fullscreen.toggle();break;case 67:a||t.toggleCaptions();break;case 76:t.loop=!t.loop}27===r&&!t.fullscreen.usingNative&&t.fullscreen.active&&t.fullscreen.toggle(),this.lastKey=r}else this.lastKey=null}},{key:"toggleMenu",value:function(e){$t.toggleMenu.call(this.player,e)}}]),e}();var gn=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e,t){e.exports=function(){var e=function(){},t={},n={},r={};function i(e,t){if(e){var i=r[e];if(n[e]=t,i)for(;i.length;)i[0](e,t),i.splice(0,1)}}function a(t,n){t.call&&(t={success:t}),n.length?(t.error||e)(n):(t.success||e)(t)}function o(t,n,r,i){var a,l,s=document,c=r.async,u=(r.numRetries||0)+1,d=r.before||e,p=t.replace(/[\?|#].*$/,""),m=t.replace(/^(css|img)!/,"");i=i||0,/(^css!|\.css$)/.test(p)?((l=s.createElement("link")).rel="stylesheet",l.href=m,(a="hideFocus"in l)&&l.relList&&(a=0,l.rel="preload",l.as="style")):/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(p)?(l=s.createElement("img")).src=m:((l=s.createElement("script")).src=t,l.async=void 0===c||c),l.onload=l.onerror=l.onbeforeload=function(e){var s=e.type[0];if(a)try{l.sheet.cssText.length||(s="e")}catch(e){18!=e.code&&(s="e")}if("e"==s){if((i+=1)<u)return o(t,n,r,i)}else if("preload"==l.rel&&"style"==l.as)return l.rel="stylesheet";n(t,s,e.defaultPrevented)},!1!==d(t,l)&&s.head.appendChild(l)}function l(e,t,n){var r,i,a=(e=e.push?e:[e]).length,l=a,s=[];for(r=function(e,n,r){if("e"==n&&s.push(e),"b"==n){if(!r)return;s.push(e)}--a||t(s)},i=0;i<l;i++)o(e[i],r,n)}function s(e,n,r){var o,s;if(n&&n.trim&&(o=n),s=(o?r:n)||{},o){if(o in t)throw"LoadJS";t[o]=!0}function c(t,n){l(e,(function(e){a(s,e),t&&a({success:t,error:n},e),i(o,e)}),s)}if(s.returnPromise)return new Promise(c);c()}return s.ready=function(e,t){return function(e,t){e=e.push?e:[e];var i,a,o,l=[],s=e.length,c=s;for(i=function(e,n){n.length&&l.push(e),--c||t(l)};s--;)a=e[s],(o=n[a])?i(a,o):(r[a]=r[a]||[]).push(i)}(e,(function(e){a(t,e)})),s},s.done=function(e){i(e,[])},s.reset=function(){t={},n={},r={}},s.isDefined=function(e){return e in t},s}()}));function yn(e){return new Promise((function(t,n){gn(e,{success:t,error:n})}))}function bn(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,At.call(this,this.media,e?"play":"pause"))}var vn={setup:function(){var e=this;pt(e.elements.wrapper,e.config.classNames.embed,!0),e.options.speed=e.config.speed.options,Lt.call(e),De(window.Vimeo)?vn.ready.call(e):yn(e.config.urls.vimeo.sdk).then((function(){vn.ready.call(e)})).catch((function(t){e.debug.warn("Vimeo SDK (player.js) failed to load",t)}))},ready:function(){var t=this,n=this,r=n.config.vimeo,a=r.premium,o=r.referrerPolicy,l=i(r,e);a&&Object.assign(l,{controls:!1,sidedock:!1});var s=tn(u({loop:n.config.loop.active,autoplay:n.autoplay,muted:n.muted,gesture:"media",playsinline:!this.config.fullscreen.iosNative},l)),c=n.media.getAttribute("src");Ze(c)&&(c=n.media.getAttribute(n.config.attributes.embed.id));var p=function(e){return Ze(e)?null:qe(Number(e))?e:e.match(/^.*(vimeo.com\/|video\/)(\d+).*/)?RegExp.$2:e}(c),m=at("iframe"),h=Rt(n.config.urls.vimeo.iframe,p,s);if(m.setAttribute("src",h),m.setAttribute("allowfullscreen",""),m.setAttribute("allow",["autoplay","fullscreen","picture-in-picture","encrypted-media","accelerometer","gyroscope"].join("; ")),Ze(o)||m.setAttribute("referrerPolicy",o),a||!r.customControls)m.setAttribute("data-poster",n.poster),n.media=ct(m,n.media);else{var f=at("div",{class:n.config.classNames.embedContainer,"data-poster":n.poster});f.appendChild(m),n.media=ct(f,n.media)}r.customControls||Gt(Rt(n.config.urls.vimeo.api,h)).then((function(e){!Ze(e)&&e.thumbnail_url&&hn.setPoster.call(n,e.thumbnail_url).catch((function(){}))})),n.embed=new window.Vimeo.Player(m,{autopause:n.config.autopause,muted:n.muted}),n.media.paused=!0,n.media.currentTime=0,n.supported.ui&&n.embed.disableTextTrack(),n.media.play=function(){return bn.call(n,!0),n.embed.play()},n.media.pause=function(){return bn.call(n,!1),n.embed.pause()},n.media.stop=function(){n.pause(),n.currentTime=0};var g=n.media.currentTime;Object.defineProperty(n.media,"currentTime",{get:function(){return g},set:function(e){var t=n.embed,r=n.media,i=n.paused,a=n.volume,o=i&&!t.hasPlayed;r.seeking=!0,At.call(n,r,"seeking"),Promise.resolve(o&&t.setVolume(0)).then((function(){return t.setCurrentTime(e)})).then((function(){return o&&t.pause()})).then((function(){return o&&t.setVolume(a)})).catch((function(){}))}});var y=n.config.speed.selected;Object.defineProperty(n.media,"playbackRate",{get:function(){return y},set:function(e){n.embed.setPlaybackRate(e).then((function(){y=e,At.call(n,n.media,"ratechange")})).catch((function(){n.options.speed=[1]}))}});var b=n.config.volume;Object.defineProperty(n.media,"volume",{get:function(){return b},set:function(e){n.embed.setVolume(e).then((function(){b=e,At.call(n,n.media,"volumechange")}))}});var v=n.config.muted;Object.defineProperty(n.media,"muted",{get:function(){return v},set:function(e){var t=!!He(e)&&e;n.embed.setVolume(t?0:n.config.volume).then((function(){v=t,At.call(n,n.media,"volumechange")}))}});var w,_=n.config.loop;Object.defineProperty(n.media,"loop",{get:function(){return _},set:function(e){var t=He(e)?e:n.config.loop.active;n.embed.setLoop(t).then((function(){_=t}))}}),n.embed.getVideoUrl().then((function(e){w=e,$t.setDownloadUrl.call(n)})).catch((function(e){t.debug.warn(e)})),Object.defineProperty(n.media,"currentSrc",{get:function(){return w}}),Object.defineProperty(n.media,"ended",{get:function(){return n.currentTime===n.duration}}),Promise.all([n.embed.getVideoWidth(),n.embed.getVideoHeight()]).then((function(e){var r=d(e,2),i=r[0],a=r[1];n.embed.ratio=Ft(i,a),Lt.call(t)})),n.embed.setAutopause(n.config.autopause).then((function(e){n.config.autopause=e})),n.embed.getVideoTitle().then((function(e){n.config.title=e,hn.setTitle.call(t)})),n.embed.getCurrentTime().then((function(e){g=e,At.call(n,n.media,"timeupdate")})),n.embed.getDuration().then((function(e){n.media.duration=e,At.call(n,n.media,"durationchange")})),n.embed.getTextTracks().then((function(e){n.media.textTracks=e,nn.setup.call(n)})),n.embed.on("cuechange",(function(e){var t=e.cues,r=(void 0===t?[]:t).map((function(e){return function(e){var t=document.createDocumentFragment(),n=document.createElement("div");return t.appendChild(n),n.innerHTML=e,t.firstChild.innerText}(e.text)}));nn.updateCues.call(n,r)})),n.embed.on("loaded",(function(){n.embed.getPaused().then((function(e){bn.call(n,!e),e||At.call(n,n.media,"playing")})),Qe(n.embed.element)&&n.supported.ui&&n.embed.element.setAttribute("tabindex",-1)})),n.embed.on("bufferstart",(function(){At.call(n,n.media,"waiting")})),n.embed.on("bufferend",(function(){At.call(n,n.media,"playing")})),n.embed.on("play",(function(){bn.call(n,!0),At.call(n,n.media,"playing")})),n.embed.on("pause",(function(){bn.call(n,!1)})),n.embed.on("timeupdate",(function(e){n.media.seeking=!1,g=e.seconds,At.call(n,n.media,"timeupdate")})),n.embed.on("progress",(function(e){n.media.buffered=e.percent,At.call(n,n.media,"progress"),1===parseInt(e.percent,10)&&At.call(n,n.media,"canplaythrough"),n.embed.getDuration().then((function(e){e!==n.media.duration&&(n.media.duration=e,At.call(n,n.media,"durationchange"))}))})),n.embed.on("seeked",(function(){n.media.seeking=!1,At.call(n,n.media,"seeked")})),n.embed.on("ended",(function(){n.media.paused=!0,At.call(n,n.media,"ended")})),n.embed.on("error",(function(e){n.media.error=e,At.call(n,n.media,"error")})),r.customControls&&setTimeout((function(){return hn.build.call(n)}),0)}};function wn(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,At.call(this,this.media,e?"play":"pause"))}function _n(e){return e.noCookie?"https://www.youtube-nocookie.com":"http:"===window.location.protocol?"http://www.youtube.com":void 0}var kn={setup:function(){var e=this;if(pt(this.elements.wrapper,this.config.classNames.embed,!0),De(window.YT)&&Be(window.YT.Player))kn.ready.call(this);else{var t=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){Be(t)&&t(),kn.ready.call(e)},yn(this.config.urls.youtube.sdk).catch((function(t){e.debug.warn("YouTube API failed to load",t)}))}},getTitle:function(e){var t=this;Gt(Rt(this.config.urls.youtube.api,e)).then((function(e){if(De(e)){var n=e.title,r=e.height,i=e.width;t.config.title=n,hn.setTitle.call(t),t.embed.ratio=Ft(i,r)}Lt.call(t)})).catch((function(){Lt.call(t)}))},ready:function(){var e=this,t=e.config.youtube,n=e.media&&e.media.getAttribute("id");if(Ze(n)||!n.startsWith("youtube-")){var r=e.media.getAttribute("src");Ze(r)&&(r=e.media.getAttribute(this.config.attributes.embed.id));var i=function(e){return Ze(e)?null:e.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/)?RegExp.$2:e}(r),a=at("div",{id:qt(e.provider),"data-poster":t.customControls?e.poster:void 0});if(e.media=ct(a,e.media),t.customControls){var o=function(e){return"https://i.ytimg.com/vi/".concat(i,"/").concat(e,"default.jpg")};mn(o("maxres"),121).catch((function(){return mn(o("sd"),121)})).catch((function(){return mn(o("hq"))})).then((function(t){return hn.setPoster.call(e,t.src)})).then((function(t){t.includes("maxres")||(e.elements.poster.style.backgroundSize="cover")})).catch((function(){}))}e.embed=new window.YT.Player(e.media,{videoId:i,host:_n(t),playerVars:nt({},{autoplay:e.config.autoplay?1:0,hl:e.config.hl,controls:e.supported.ui&&t.customControls?0:1,disablekb:1,playsinline:e.config.fullscreen.iosNative?0:1,cc_load_policy:e.captions.active?1:0,cc_lang_pref:e.config.captions.language,widget_referrer:window?window.location.href:null},t),events:{onError:function(t){if(!e.media.error){var n=t.data,r={2:"The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.",5:"The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.",100:"The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.",101:"The owner of the requested video does not allow it to be played in embedded players.",150:"The owner of the requested video does not allow it to be played in embedded players."}[n]||"An unknown error occured";e.media.error={code:n,message:r},At.call(e,e.media,"error")}},onPlaybackRateChange:function(t){var n=t.target;e.media.playbackRate=n.getPlaybackRate(),At.call(e,e.media,"ratechange")},onReady:function(n){if(!Be(e.media.play)){var r=n.target;kn.getTitle.call(e,i),e.media.play=function(){wn.call(e,!0),r.playVideo()},e.media.pause=function(){wn.call(e,!1),r.pauseVideo()},e.media.stop=function(){r.stopVideo()},e.media.duration=r.getDuration(),e.media.paused=!0,e.media.currentTime=0,Object.defineProperty(e.media,"currentTime",{get:function(){return Number(r.getCurrentTime())},set:function(t){e.paused&&!e.embed.hasPlayed&&e.embed.mute(),e.media.seeking=!0,At.call(e,e.media,"seeking"),r.seekTo(t)}}),Object.defineProperty(e.media,"playbackRate",{get:function(){return r.getPlaybackRate()},set:function(e){r.setPlaybackRate(e)}});var a=e.config.volume;Object.defineProperty(e.media,"volume",{get:function(){return a},set:function(t){a=t,r.setVolume(100*a),At.call(e,e.media,"volumechange")}});var o=e.config.muted;Object.defineProperty(e.media,"muted",{get:function(){return o},set:function(t){var n=He(t)?t:o;o=n,r[n?"mute":"unMute"](),r.setVolume(100*a),At.call(e,e.media,"volumechange")}}),Object.defineProperty(e.media,"currentSrc",{get:function(){return r.getVideoUrl()}}),Object.defineProperty(e.media,"ended",{get:function(){return e.currentTime===e.duration}});var l=r.getAvailablePlaybackRates();e.options.speed=l.filter((function(t){return e.config.speed.options.includes(t)})),e.supported.ui&&t.customControls&&e.media.setAttribute("tabindex",-1),At.call(e,e.media,"timeupdate"),At.call(e,e.media,"durationchange"),clearInterval(e.timers.buffering),e.timers.buffering=setInterval((function(){e.media.buffered=r.getVideoLoadedFraction(),(null===e.media.lastBuffered||e.media.lastBuffered<e.media.buffered)&&At.call(e,e.media,"progress"),e.media.lastBuffered=e.media.buffered,1===e.media.buffered&&(clearInterval(e.timers.buffering),At.call(e,e.media,"canplaythrough"))}),200),t.customControls&&setTimeout((function(){return hn.build.call(e)}),50)}},onStateChange:function(n){var r=n.target;switch(clearInterval(e.timers.playing),e.media.seeking&&[1,2].includes(n.data)&&(e.media.seeking=!1,At.call(e,e.media,"seeked")),n.data){case-1:At.call(e,e.media,"timeupdate"),e.media.buffered=r.getVideoLoadedFraction(),At.call(e,e.media,"progress");break;case 0:wn.call(e,!1),e.media.loop?(r.stopVideo(),r.playVideo()):At.call(e,e.media,"ended");break;case 1:t.customControls&&!e.config.autoplay&&e.media.paused&&!e.embed.hasPlayed?e.media.pause():(wn.call(e,!0),At.call(e,e.media,"playing"),e.timers.playing=setInterval((function(){At.call(e,e.media,"timeupdate")}),50),e.media.duration!==r.getDuration()&&(e.media.duration=r.getDuration(),At.call(e,e.media,"durationchange")));break;case 2:e.muted||e.embed.unMute(),wn.call(e,!1);break;case 3:At.call(e,e.media,"waiting")}At.call(e,e.elements.container,"statechange",!1,{code:n.data})}}})}}},xn={setup:function(){this.media?(pt(this.elements.container,this.config.classNames.type.replace("{0}",this.type),!0),pt(this.elements.container,this.config.classNames.provider.replace("{0}",this.provider),!0),this.isEmbed&&pt(this.elements.container,this.config.classNames.type.replace("{0}","video"),!0),this.isVideo&&(this.elements.wrapper=at("div",{class:this.config.classNames.video}),rt(this.media,this.elements.wrapper),this.elements.poster=at("div",{class:this.config.classNames.poster}),this.elements.wrapper.appendChild(this.elements.poster)),this.isHTML5?Dt.setup.call(this):this.isYouTube?kn.setup.call(this):this.isVimeo&&vn.setup.call(this)):this.debug.warn("No media element found!")}},Tn=function(){function e(t){var n=this;o(this,e),re(this,"load",(function(){n.enabled&&(De(window.google)&&De(window.google.ima)?n.ready():yn(n.player.config.urls.googleIMA.sdk).then((function(){n.ready()})).catch((function(){n.trigger("error",new Error("Google IMA SDK failed to load"))})))})),re(this,"ready",(function(){var e;n.enabled||((e=n).manager&&e.manager.destroy(),e.elements.displayContainer&&e.elements.displayContainer.destroy(),e.elements.container.remove()),n.startSafetyTimer(12e3,"ready()"),n.managerPromise.then((function(){n.clearSafetyTimer("onAdsManagerLoaded()")})),n.listeners(),n.setupIMA()})),re(this,"setupIMA",(function(){n.elements.container=at("div",{class:n.player.config.classNames.ads}),n.player.elements.container.appendChild(n.elements.container),google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED),google.ima.settings.setLocale(n.player.config.ads.language),google.ima.settings.setDisableCustomPlaybackForIOS10Plus(n.player.config.playsinline),n.elements.displayContainer=new google.ima.AdDisplayContainer(n.elements.container,n.player.media),n.loader=new google.ima.AdsLoader(n.elements.displayContainer),n.loader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,(function(e){return n.onAdsManagerLoaded(e)}),!1),n.loader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(function(e){return n.onAdError(e)}),!1),n.requestAds()})),re(this,"requestAds",(function(){var e=n.player.elements.container;try{var t=new google.ima.AdsRequest;t.adTagUrl=n.tagUrl,t.linearAdSlotWidth=e.offsetWidth,t.linearAdSlotHeight=e.offsetHeight,t.nonLinearAdSlotWidth=e.offsetWidth,t.nonLinearAdSlotHeight=e.offsetHeight,t.forceNonLinearFullSlot=!1,t.setAdWillPlayMuted(!n.player.muted),n.loader.requestAds(t)}catch(e){n.onAdError(e)}})),re(this,"pollCountdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!e)return clearInterval(n.countdownTimer),void n.elements.container.removeAttribute("data-badge-text");n.countdownTimer=setInterval((function(){var e=Jt(Math.max(n.manager.getRemainingTime(),0)),t="".concat(Wt("advertisement",n.player.config)," - ").concat(e);n.elements.container.setAttribute("data-badge-text",t)}),100)})),re(this,"onAdsManagerLoaded",(function(e){if(n.enabled){var t=new google.ima.AdsRenderingSettings;t.restoreCustomPlaybackStateOnAdBreakComplete=!0,t.enablePreloading=!0,n.manager=e.getAdsManager(n.player,t),n.cuePoints=n.manager.getCuePoints(),n.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(function(e){return n.onAdError(e)})),Object.keys(google.ima.AdEvent.Type).forEach((function(e){n.manager.addEventListener(google.ima.AdEvent.Type[e],(function(e){return n.onAdEvent(e)}))})),n.trigger("loaded")}})),re(this,"addCuePoints",(function(){Ze(n.cuePoints)||n.cuePoints.forEach((function(e){if(0!==e&&-1!==e&&e<n.player.duration){var t=n.player.elements.progress;if(Qe(t)){var r=100/n.player.duration*e,i=at("span",{class:n.player.config.classNames.cues});i.style.left="".concat(r.toString(),"%"),t.appendChild(i)}}}))})),re(this,"onAdEvent",(function(e){var t=n.player.elements.container,r=e.getAd(),i=e.getAdData();switch(function(e){At.call(n.player,n.player.media,"ads".concat(e.replace(/_/g,"").toLowerCase()))}(e.type),e.type){case google.ima.AdEvent.Type.LOADED:n.trigger("loaded"),n.pollCountdown(!0),r.isLinear()||(r.width=t.offsetWidth,r.height=t.offsetHeight);break;case google.ima.AdEvent.Type.STARTED:n.manager.setVolume(n.player.volume);break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:n.player.ended?n.loadAds():n.loader.contentComplete();break;case google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED:n.pauseContent();break;case google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED:n.pollCountdown(),n.resumeContent();break;case google.ima.AdEvent.Type.LOG:i.adError&&n.player.debug.warn("Non-fatal ad error: ".concat(i.adError.getMessage()))}})),re(this,"onAdError",(function(e){n.cancel(),n.player.debug.warn("Ads error",e)})),re(this,"listeners",(function(){var e,t=n.player.elements.container;n.player.on("canplay",(function(){n.addCuePoints()})),n.player.on("ended",(function(){n.loader.contentComplete()})),n.player.on("timeupdate",(function(){e=n.player.currentTime})),n.player.on("seeked",(function(){var t=n.player.currentTime;Ze(n.cuePoints)||n.cuePoints.forEach((function(r,i){e<r&&r<t&&(n.manager.discardAdBreak(),n.cuePoints.splice(i,1))}))})),window.addEventListener("resize",(function(){n.manager&&n.manager.resize(t.offsetWidth,t.offsetHeight,google.ima.ViewMode.NORMAL)}))})),re(this,"play",(function(){var e=n.player.elements.container;n.managerPromise||n.resumeContent(),n.managerPromise.then((function(){n.manager.setVolume(n.player.volume),n.elements.displayContainer.initialize();try{n.initialized||(n.manager.init(e.offsetWidth,e.offsetHeight,google.ima.ViewMode.NORMAL),n.manager.start()),n.initialized=!0}catch(e){n.onAdError(e)}})).catch((function(){}))})),re(this,"resumeContent",(function(){n.elements.container.style.zIndex="",n.playing=!1,Et(n.player.media.play())})),re(this,"pauseContent",(function(){n.elements.container.style.zIndex=3,n.playing=!0,n.player.media.pause()})),re(this,"cancel",(function(){n.initialized&&n.resumeContent(),n.trigger("error"),n.loadAds()})),re(this,"loadAds",(function(){n.managerPromise.then((function(){n.manager&&n.manager.destroy(),n.managerPromise=new Promise((function(e){n.on("loaded",e),n.player.debug.log(n.manager)})),n.initialized=!1,n.requestAds()})).catch((function(){}))})),re(this,"trigger",(function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];var a=n.events[e];Ve(a)&&a.forEach((function(e){Be(e)&&e.apply(n,r)}))})),re(this,"on",(function(e,t){return Ve(n.events[e])||(n.events[e]=[]),n.events[e].push(t),n})),re(this,"startSafetyTimer",(function(e,t){n.player.debug.log("Safety timer invoked from: ".concat(t)),n.safetyTimer=setTimeout((function(){n.cancel(),n.clearSafetyTimer("startSafetyTimer()")}),e)})),re(this,"clearSafetyTimer",(function(e){Fe(n.safetyTimer)||(n.player.debug.log("Safety timer cleared from: ".concat(e)),clearTimeout(n.safetyTimer),n.safetyTimer=null)})),this.player=t,this.config=t.config.ads,this.playing=!1,this.initialized=!1,this.elements={container:null,displayContainer:null},this.manager=null,this.loader=null,this.cuePoints=null,this.events={},this.safetyTimer=null,this.countdownTimer=null,this.managerPromise=new Promise((function(e,t){n.on("loaded",e),n.on("error",t)})),this.load()}return s(e,[{key:"enabled",get:function(){var e=this.config;return this.player.isHTML5&&this.player.isVideo&&e.enabled&&(!Ze(e.publisherId)||Ye(e.tagUrl))}},{key:"tagUrl",get:function(){var e=this.config;return Ye(e.tagUrl)?e.tagUrl:"https://go.aniview.com/api/adserver6/vast/?".concat(tn({AV_PUBLISHERID:"58c25bb0073ef448b1087ad6",AV_CHANNELID:"5a0458dc28a06145e4519d21",AV_URL:window.location.hostname,cb:Date.now(),AV_WIDTH:640,AV_HEIGHT:480,AV_CDIM2:e.publisherId}))}}]),e}(),An=function(e){var t=[];return e.split(/\r\n\r\n|\n\n|\r\r/).forEach((function(e){var n={};e.split(/\r\n|\n|\r/).forEach((function(e){if(qe(n.startTime)){if(!Ze(e.trim())&&Ze(n.text)){var t,r,i=e.trim().split("#xywh=");t=d(i,1),n.text=t[0],i[1]&&(r=d(i[1].split(","),4),n.x=r[0],n.y=r[1],n.w=r[2],n.h=r[3])}}else{var a=e.match(/([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})( ?--> ?)([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})/);a&&(n.startTime=60*Number(a[1]||0)*60+60*Number(a[2])+Number(a[3])+Number("0.".concat(a[4])),n.endTime=60*Number(a[6]||0)*60+60*Number(a[7])+Number(a[8])+Number("0.".concat(a[9])))}})),n.text&&t.push(n)})),t},Cn=function(e,t){var n={};return e>t.width/t.height?(n.width=t.width,n.height=1/e*t.width):(n.height=t.height,n.width=e*t.height),n},Sn=function(){function e(t){var n=this;o(this,e),re(this,"load",(function(){n.player.elements.display.seekTooltip&&(n.player.elements.display.seekTooltip.hidden=n.enabled),n.enabled&&n.getThumbnails().then((function(){n.enabled&&(n.render(),n.determineContainerAutoSizing(),n.loaded=!0)}))})),re(this,"getThumbnails",(function(){return new Promise((function(e){var t=n.player.config.previewThumbnails.src;if(Ze(t))throw new Error("Missing previewThumbnails.src config attribute");var r=function(){n.thumbnails.sort((function(e,t){return e.height-t.height})),n.player.debug.log("Preview thumbnails",n.thumbnails),e()};if(Be(t))t((function(e){n.thumbnails=e,r()}));else{var i=(Re(t)?[t]:t).map((function(e){return n.getThumbnail(e)}));Promise.all(i).then(r)}}))})),re(this,"getThumbnail",(function(e){return new Promise((function(t){Gt(e).then((function(r){var i={frames:An(r),height:null,urlPrefix:""};i.frames[0].text.startsWith("/")||i.frames[0].text.startsWith("http://")||i.frames[0].text.startsWith("https://")||(i.urlPrefix=e.substring(0,e.lastIndexOf("/")+1));var a=new Image;a.onload=function(){i.height=a.naturalHeight,i.width=a.naturalWidth,n.thumbnails.push(i),t()},a.src=i.urlPrefix+i.frames[0].text}))}))})),re(this,"startMove",(function(e){if(n.loaded&&We(e)&&["touchmove","mousemove"].includes(e.type)&&n.player.media.duration){if("touchmove"===e.type)n.seekTime=n.player.media.duration*(n.player.elements.inputs.seek.value/100);else{var t=n.player.elements.progress.getBoundingClientRect(),r=100/t.width*(e.pageX-t.left);n.seekTime=n.player.media.duration*(r/100),n.seekTime<0&&(n.seekTime=0),n.seekTime>n.player.media.duration-1&&(n.seekTime=n.player.media.duration-1),n.mousePosX=e.pageX,n.elements.thumb.time.innerText=Jt(n.seekTime)}n.showImageAtCurrentTime()}})),re(this,"endMove",(function(){n.toggleThumbContainer(!1,!0)})),re(this,"startScrubbing",(function(e){(Fe(e.button)||!1===e.button||0===e.button)&&(n.mouseDown=!0,n.player.media.duration&&(n.toggleScrubbingContainer(!0),n.toggleThumbContainer(!1,!0),n.showImageAtCurrentTime()))})),re(this,"endScrubbing",(function(){n.mouseDown=!1,Math.ceil(n.lastTime)===Math.ceil(n.player.media.currentTime)?n.toggleScrubbingContainer(!1):Tt.call(n.player,n.player.media,"timeupdate",(function(){n.mouseDown||n.toggleScrubbingContainer(!1)}))})),re(this,"listeners",(function(){n.player.on("play",(function(){n.toggleThumbContainer(!1,!0)})),n.player.on("seeked",(function(){n.toggleThumbContainer(!1)})),n.player.on("timeupdate",(function(){n.lastTime=n.player.media.currentTime}))})),re(this,"render",(function(){n.elements.thumb.container=at("div",{class:n.player.config.classNames.previewThumbnails.thumbContainer}),n.elements.thumb.imageContainer=at("div",{class:n.player.config.classNames.previewThumbnails.imageContainer}),n.elements.thumb.container.appendChild(n.elements.thumb.imageContainer);var e=at("div",{class:n.player.config.classNames.previewThumbnails.timeContainer});n.elements.thumb.time=at("span",{},"00:00"),e.appendChild(n.elements.thumb.time),n.elements.thumb.container.appendChild(e),Qe(n.player.elements.progress)&&n.player.elements.progress.appendChild(n.elements.thumb.container),n.elements.scrubbing.container=at("div",{class:n.player.config.classNames.previewThumbnails.scrubbingContainer}),n.player.elements.wrapper.appendChild(n.elements.scrubbing.container)})),re(this,"destroy",(function(){n.elements.thumb.container&&n.elements.thumb.container.remove(),n.elements.scrubbing.container&&n.elements.scrubbing.container.remove()})),re(this,"showImageAtCurrentTime",(function(){n.mouseDown?n.setScrubbingContainerSize():n.setThumbContainerSizeAndPos();var e=n.thumbnails[0].frames.findIndex((function(e){return n.seekTime>=e.startTime&&n.seekTime<=e.endTime})),t=e>=0,r=0;n.mouseDown||n.toggleThumbContainer(t),t&&(n.thumbnails.forEach((function(t,i){n.loadedImages.includes(t.frames[e].text)&&(r=i)})),e!==n.showingThumb&&(n.showingThumb=e,n.loadImage(r)))})),re(this,"loadImage",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=n.showingThumb,r=n.thumbnails[e],i=r.urlPrefix,a=r.frames[t],o=r.frames[t].text,l=i+o;if(n.currentImageElement&&n.currentImageElement.dataset.filename===o)n.showImage(n.currentImageElement,a,e,t,o,!1),n.currentImageElement.dataset.index=t,n.removeOldImages(n.currentImageElement);else{n.loadingImage&&n.usingSprites&&(n.loadingImage.onload=null);var s=new Image;s.src=l,s.dataset.index=t,s.dataset.filename=o,n.showingThumbFilename=o,n.player.debug.log("Loading image: ".concat(l)),s.onload=function(){return n.showImage(s,a,e,t,o,!0)},n.loadingImage=s,n.removeOldImages(s)}})),re(this,"showImage",(function(e,t,r,i,a){var o=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];n.player.debug.log("Showing thumb: ".concat(a,". num: ").concat(i,". qual: ").concat(r,". newimg: ").concat(o)),n.setImageSizeAndOffset(e,t),o&&(n.currentImageContainer.appendChild(e),n.currentImageElement=e,n.loadedImages.includes(a)||n.loadedImages.push(a)),n.preloadNearby(i,!0).then(n.preloadNearby(i,!1)).then(n.getHigherQuality(r,e,t,a))})),re(this,"removeOldImages",(function(e){Array.from(n.currentImageContainer.children).forEach((function(t){if("img"===t.tagName.toLowerCase()){var r=n.usingSprites?500:1e3;if(t.dataset.index!==e.dataset.index&&!t.dataset.deleting){t.dataset.deleting=!0;var i=n.currentImageContainer;setTimeout((function(){i.removeChild(t),n.player.debug.log("Removing thumb: ".concat(t.dataset.filename))}),r)}}}))})),re(this,"preloadNearby",(function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return new Promise((function(r){setTimeout((function(){var i=n.thumbnails[0].frames[e].text;if(n.showingThumbFilename===i){var a;a=t?n.thumbnails[0].frames.slice(e):n.thumbnails[0].frames.slice(0,e).reverse();var o=!1;a.forEach((function(e){var t=e.text;if(t!==i&&!n.loadedImages.includes(t)){o=!0,n.player.debug.log("Preloading thumb filename: ".concat(t));var a=n.thumbnails[0].urlPrefix+t,l=new Image;l.src=a,l.onload=function(){n.player.debug.log("Preloaded thumb filename: ".concat(t)),n.loadedImages.includes(t)||n.loadedImages.push(t),r()}}})),o||r()}}),300)}))})),re(this,"getHigherQuality",(function(e,t,r,i){if(e<n.thumbnails.length-1){var a=t.naturalHeight;n.usingSprites&&(a=r.h),a<n.thumbContainerHeight&&setTimeout((function(){n.showingThumbFilename===i&&(n.player.debug.log("Showing higher quality thumb for: ".concat(i)),n.loadImage(e+1))}),300)}})),re(this,"toggleThumbContainer",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=n.player.config.classNames.previewThumbnails.thumbContainerShown;n.elements.thumb.container.classList.toggle(r,e),!e&&t&&(n.showingThumb=null,n.showingThumbFilename=null)})),re(this,"toggleScrubbingContainer",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=n.player.config.classNames.previewThumbnails.scrubbingContainerShown;n.elements.scrubbing.container.classList.toggle(t,e),e||(n.showingThumb=null,n.showingThumbFilename=null)})),re(this,"determineContainerAutoSizing",(function(){(n.elements.thumb.imageContainer.clientHeight>20||n.elements.thumb.imageContainer.clientWidth>20)&&(n.sizeSpecifiedInCSS=!0)})),re(this,"setThumbContainerSizeAndPos",(function(){if(n.sizeSpecifiedInCSS){if(n.elements.thumb.imageContainer.clientHeight>20&&n.elements.thumb.imageContainer.clientWidth<20){var e=Math.floor(n.elements.thumb.imageContainer.clientHeight*n.thumbAspectRatio);n.elements.thumb.imageContainer.style.width="".concat(e,"px")}else if(n.elements.thumb.imageContainer.clientHeight<20&&n.elements.thumb.imageContainer.clientWidth>20){var t=Math.floor(n.elements.thumb.imageContainer.clientWidth/n.thumbAspectRatio);n.elements.thumb.imageContainer.style.height="".concat(t,"px")}}else{var r=Math.floor(n.thumbContainerHeight*n.thumbAspectRatio);n.elements.thumb.imageContainer.style.height="".concat(n.thumbContainerHeight,"px"),n.elements.thumb.imageContainer.style.width="".concat(r,"px")}n.setThumbContainerPos()})),re(this,"setThumbContainerPos",(function(){var e=n.player.elements.progress.getBoundingClientRect(),t=n.player.elements.container.getBoundingClientRect(),r=n.elements.thumb.container,i=t.left-e.left+10,a=t.right-e.left-r.clientWidth-10,o=n.mousePosX-e.left-r.clientWidth/2;o<i&&(o=i),o>a&&(o=a),r.style.left="".concat(o,"px")})),re(this,"setScrubbingContainerSize",(function(){var e=Cn(n.thumbAspectRatio,{width:n.player.media.clientWidth,height:n.player.media.clientHeight}),t=e.width,r=e.height;n.elements.scrubbing.container.style.width="".concat(t,"px"),n.elements.scrubbing.container.style.height="".concat(r,"px")})),re(this,"setImageSizeAndOffset",(function(e,t){if(n.usingSprites){var r=n.thumbContainerHeight/t.h;e.style.height=e.naturalHeight*r+"px",e.style.width=e.naturalWidth*r+"px",e.style.left="-".concat(t.x*r,"px"),e.style.top="-".concat(t.y*r,"px")}})),this.player=t,this.thumbnails=[],this.loaded=!1,this.lastMouseMoveTime=Date.now(),this.mouseDown=!1,this.loadedImages=[],this.elements={thumb:{},scrubbing:{}},this.load()}return s(e,[{key:"enabled",get:function(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.previewThumbnails.enabled}},{key:"currentImageContainer",get:function(){return this.mouseDown?this.elements.scrubbing.container:this.elements.thumb.imageContainer}},{key:"usingSprites",get:function(){return Object.keys(this.thumbnails[0].frames[0]).includes("w")}},{key:"thumbAspectRatio",get:function(){return this.usingSprites?this.thumbnails[0].frames[0].w/this.thumbnails[0].frames[0].h:this.thumbnails[0].width/this.thumbnails[0].height}},{key:"thumbContainerHeight",get:function(){return this.mouseDown?Cn(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight}).height:this.sizeSpecifiedInCSS?this.elements.thumb.imageContainer.clientHeight:Math.floor(this.player.media.clientWidth/this.thumbAspectRatio/4)}},{key:"currentImageElement",get:function(){return this.mouseDown?this.currentScrubbingImageElement:this.currentThumbnailImageElement},set:function(e){this.mouseDown?this.currentScrubbingImageElement=e:this.currentThumbnailImageElement=e}}]),e}(),En={insertElements:function(e,t){var n=this;Re(t)?ot(e,this.media,{src:t}):Ve(t)&&t.forEach((function(t){ot(e,n.media,t)}))},change:function(e){var t=this;tt(e,"sources.length")?(Dt.cancelRequests.call(this),this.destroy.call(this,(function(){t.options.quality=[],lt(t.media),t.media=null,Qe(t.elements.container)&&t.elements.container.removeAttribute("class");var n=e.sources,r=e.type,i=d(n,1)[0],a=i.provider,o=void 0===a?ln.html5:a,l=i.src,s="html5"===o?r:"div",c="html5"===o?{}:{src:l};Object.assign(t,{provider:o,type:r,supported:vt.check(r,o,t.config.playsinline),media:at(s,c)}),t.elements.container.appendChild(t.media),He(e.autoplay)&&(t.config.autoplay=e.autoplay),t.isHTML5&&(t.config.crossorigin&&t.media.setAttribute("crossorigin",""),t.config.autoplay&&t.media.setAttribute("autoplay",""),Ze(e.poster)||(t.poster=e.poster),t.config.loop.active&&t.media.setAttribute("loop",""),t.config.muted&&t.media.setAttribute("muted",""),t.config.playsinline&&t.media.setAttribute("playsinline","")),hn.addStyleHook.call(t),t.isHTML5&&En.insertElements.call(t,"source",n),t.config.title=e.title,xn.setup.call(t),t.isHTML5&&Object.keys(e).includes("tracks")&&En.insertElements.call(t,"track",e.tracks),(t.isHTML5||t.isEmbed&&!t.supported.ui)&&hn.build.call(t),t.isHTML5&&t.media.load(),Ze(e.previewThumbnails)||(Object.assign(t.config.previewThumbnails,e.previewThumbnails),t.previewThumbnails&&t.previewThumbnails.loaded&&(t.previewThumbnails.destroy(),t.previewThumbnails=null),t.config.previewThumbnails.enabled&&(t.previewThumbnails=new Sn(t))),t.fullscreen.update()}),!0)):this.debug.warn("Invalid source format")}};var Pn=function(){function e(t,n){var r=this;if(o(this,e),re(this,"play",(function(){return Be(r.media.play)?(r.ads&&r.ads.enabled&&r.ads.managerPromise.then((function(){return r.ads.play()})).catch((function(){return Et(r.media.play())})),r.media.play()):null})),re(this,"pause",(function(){return r.playing&&Be(r.media.pause)?r.media.pause():null})),re(this,"togglePlay",(function(e){return(He(e)?e:!r.playing)?r.play():r.pause()})),re(this,"stop",(function(){r.isHTML5?(r.pause(),r.restart()):Be(r.media.stop)&&r.media.stop()})),re(this,"restart",(function(){r.currentTime=0})),re(this,"rewind",(function(e){r.currentTime-=qe(e)?e:r.config.seekTime})),re(this,"forward",(function(e){r.currentTime+=qe(e)?e:r.config.seekTime})),re(this,"increaseVolume",(function(e){var t=r.media.muted?0:r.volume;r.volume=t+(qe(e)?e:0)})),re(this,"decreaseVolume",(function(e){r.increaseVolume(-e)})),re(this,"airplay",(function(){vt.airplay&&r.media.webkitShowPlaybackTargetPicker()})),re(this,"toggleControls",(function(e){if(r.supported.ui&&!r.isAudio){var t=mt(r.elements.container,r.config.classNames.hideControls),n=void 0===e?void 0:!e,i=pt(r.elements.container,r.config.classNames.hideControls,n);if(i&&Ve(r.config.controls)&&r.config.controls.includes("settings")&&!Ze(r.config.settings)&&$t.toggleMenu.call(r,!1),i!==t){var a=i?"controlshidden":"controlsshown";At.call(r,r.media,a)}return!i}return!1})),re(this,"on",(function(e,t){kt.call(r,r.elements.container,e,t)})),re(this,"once",(function(e,t){Tt.call(r,r.elements.container,e,t)})),re(this,"off",(function(e,t){xt(r.elements.container,e,t)})),re(this,"destroy",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(r.ready){var n=function(){document.body.style.overflow="",r.embed=null,t?(Object.keys(r.elements).length&&(lt(r.elements.buttons.play),lt(r.elements.captions),lt(r.elements.controls),lt(r.elements.wrapper),r.elements.buttons.play=null,r.elements.captions=null,r.elements.controls=null,r.elements.wrapper=null),Be(e)&&e()):(Ct.call(r),Dt.cancelRequests.call(r),ct(r.elements.original,r.elements.container),At.call(r,r.elements.original,"destroyed",!0),Be(e)&&e.call(r.elements.original),r.ready=!1,setTimeout((function(){r.elements=null,r.media=null}),200))};r.stop(),clearTimeout(r.timers.loading),clearTimeout(r.timers.controls),clearTimeout(r.timers.resized),r.isHTML5?(hn.toggleNativeControls.call(r,!0),n()):r.isYouTube?(clearInterval(r.timers.buffering),clearInterval(r.timers.playing),null!==r.embed&&Be(r.embed.destroy)&&r.embed.destroy(),n()):r.isVimeo&&(null!==r.embed&&r.embed.unload().then(n),setTimeout(n,200))}})),re(this,"supports",(function(e){return vt.mime.call(r,e)})),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=vt.touch,this.media=t,Re(this.media)&&(this.media=document.querySelectorAll(this.media)),(window.jQuery&&this.media instanceof jQuery||Ue(this.media)||Ve(this.media))&&(this.media=this.media[0]),this.config=nt({},rn,e.defaults,n||{},function(){try{return JSON.parse(r.media.getAttribute("data-plyr-config"))}catch(t){return{}}}()),this.elements={container:null,fullscreen:null,captions:null,buttons:{},display:{},progress:{},inputs:{},settings:{popup:null,menu:null,panels:{},buttons:{}}},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new dn(this.config.debug),this.debug.log("Config",this.config),this.debug.log("Support",vt),!Fe(this.media)&&Qe(this.media))if(this.media.plyr)this.debug.warn("Target already setup");else if(this.config.enabled)if(vt.check().api){var i=this.media.cloneNode(!0);i.autoplay=!1,this.elements.original=i;var a=this.media.tagName.toLowerCase(),l=null,s=null;switch(a){case"div":if(l=this.media.querySelector("iframe"),Qe(l)){if(s=en(l.getAttribute("src")),this.provider=function(e){return/^(https?:\/\/)?(www\.)?(youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(e)?ln.youtube:/^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(e)?ln.vimeo:null}(s.toString()),this.elements.container=this.media,this.media=l,this.elements.container.className="",s.search.length){var c=["1","true"];c.includes(s.searchParams.get("autoplay"))&&(this.config.autoplay=!0),c.includes(s.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=c.includes(s.searchParams.get("playsinline")),this.config.youtube.hl=s.searchParams.get("hl")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(Ze(this.provider)||!Object.values(ln).includes(this.provider))return void this.debug.error("Setup failed: Invalid provider");this.type=cn;break;case"video":case"audio":this.type=a,this.provider=ln.html5,this.media.hasAttribute("crossorigin")&&(this.config.crossorigin=!0),this.media.hasAttribute("autoplay")&&(this.config.autoplay=!0),(this.media.hasAttribute("playsinline")||this.media.hasAttribute("webkit-playsinline"))&&(this.config.playsinline=!0),this.media.hasAttribute("muted")&&(this.config.muted=!0),this.media.hasAttribute("loop")&&(this.config.loop.active=!0);break;default:return void this.debug.error("Setup failed: unsupported type")}this.supported=vt.check(this.type,this.provider,this.config.playsinline),this.supported.api?(this.eventListeners=[],this.listeners=new fn(this),this.storage=new Kt(this),this.media.plyr=this,Qe(this.elements.container)||(this.elements.container=at("div",{tabindex:0}),rt(this.media,this.elements.container)),hn.migrateStyles.call(this),hn.addStyleHook.call(this),xn.setup.call(this),this.config.debug&&kt.call(this,this.elements.container,this.config.events.join(" "),(function(e){r.debug.log("event: ".concat(e.type))})),this.fullscreen=new pn(this),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&hn.build.call(this),this.listeners.container(),this.listeners.global(),this.config.ads.enabled&&(this.ads=new Tn(this)),this.isHTML5&&this.config.autoplay&&this.once("canplay",(function(){return Et(r.play())})),this.lastSeekTime=0,this.config.previewThumbnails.enabled&&(this.previewThumbnails=new Sn(this))):this.debug.error("Setup failed: no support")}else this.debug.error("Setup failed: no support");else this.debug.error("Setup failed: disabled by config");else this.debug.error("Setup failed: no suitable element passed")}return s(e,[{key:"isHTML5",get:function(){return this.provider===ln.html5}},{key:"isEmbed",get:function(){return this.isYouTube||this.isVimeo}},{key:"isYouTube",get:function(){return this.provider===ln.youtube}},{key:"isVimeo",get:function(){return this.provider===ln.vimeo}},{key:"isVideo",get:function(){return this.type===cn}},{key:"isAudio",get:function(){return this.type===sn}},{key:"playing",get:function(){return Boolean(this.ready&&!this.paused&&!this.ended)}},{key:"paused",get:function(){return Boolean(this.media.paused)}},{key:"stopped",get:function(){return Boolean(this.paused&&0===this.currentTime)}},{key:"ended",get:function(){return Boolean(this.media.ended)}},{key:"currentTime",get:function(){return Number(this.media.currentTime)},set:function(e){if(this.duration){var t=qe(e)&&e>0;this.media.currentTime=t?Math.min(e,this.duration):0,this.debug.log("Seeking to ".concat(this.currentTime," seconds"))}}},{key:"buffered",get:function(){var e=this.media.buffered;return qe(e)?e:e&&e.length&&this.duration>0?e.end(0)/this.duration:0}},{key:"seeking",get:function(){return Boolean(this.media.seeking)}},{key:"duration",get:function(){var e=parseFloat(this.config.duration),t=(this.media||{}).duration,n=qe(t)&&t!==1/0?t:0;return e||n}},{key:"volume",get:function(){return Number(this.media.volume)},set:function(e){var t=e;Re(t)&&(t=Number(t)),qe(t)||(t=this.storage.get("volume")),qe(t)||(t=this.config.volume),t>1&&(t=1),t<0&&(t=0),this.config.volume=t,this.media.volume=t,!Ze(e)&&this.muted&&t>0&&(this.muted=!1)}},{key:"muted",get:function(){return Boolean(this.media.muted)},set:function(e){var t=e;He(t)||(t=this.storage.get("muted")),He(t)||(t=this.config.muted),this.config.muted=t,this.media.muted=t}},{key:"hasAudio",get:function(){return!this.isHTML5||!!this.isAudio||Boolean(this.media.mozHasAudio)||Boolean(this.media.webkitAudioDecodedByteCount)||Boolean(this.media.audioTracks&&this.media.audioTracks.length)}},{key:"speed",get:function(){return Number(this.media.playbackRate)},set:function(e){var t=this,n=null;qe(e)&&(n=e),qe(n)||(n=this.storage.get("speed")),qe(n)||(n=this.config.speed.selected);var r=this.minimumSpeed,i=this.maximumSpeed;n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:255;return Math.min(Math.max(e,t),n)}(n,r,i),this.config.speed.selected=n,setTimeout((function(){t.media.playbackRate=n}),0)}},{key:"minimumSpeed",get:function(){return this.isYouTube?Math.min.apply(Math,a(this.options.speed)):this.isVimeo?.5:.0625}},{key:"maximumSpeed",get:function(){return this.isYouTube?Math.max.apply(Math,a(this.options.speed)):this.isVimeo?2:16}},{key:"quality",get:function(){return this.media.quality},set:function(e){var t=this.config.quality,n=this.options.quality;if(n.length){var r=[!Ze(e)&&Number(e),this.storage.get("quality"),t.selected,t.default].find(qe),i=!0;if(!n.includes(r)){var a=It(n,r);this.debug.warn("Unsupported quality option: ".concat(r,", using ").concat(a," instead")),r=a,i=!1}t.selected=r,this.media.quality=r,i&&this.storage.set({quality:r})}}},{key:"loop",get:function(){return Boolean(this.media.loop)},set:function(e){var t=He(e)?e:this.config.loop.active;this.config.loop.active=t,this.media.loop=t}},{key:"source",get:function(){return this.media.currentSrc},set:function(e){En.change.call(this,e)}},{key:"download",get:function(){var e=this.config.urls.download;return Ye(e)?e:this.source},set:function(e){Ye(e)&&(this.config.urls.download=e,$t.setDownloadUrl.call(this))}},{key:"poster",get:function(){return this.isVideo?this.media.getAttribute("poster")||this.media.getAttribute("data-poster"):null},set:function(e){this.isVideo?hn.setPoster.call(this,e,!1).catch((function(){})):this.debug.warn("Poster can only be set for video")}},{key:"ratio",get:function(){if(!this.isVideo)return null;var e=zt(Ot.call(this));return Ve(e)?e.join(":"):e},set:function(e){this.isVideo?Re(e)&&Mt(e)?(this.config.ratio=zt(e),Lt.call(this)):this.debug.error("Invalid aspect ratio specified (".concat(e,")")):this.debug.warn("Aspect ratio can only be set for video")}},{key:"autoplay",get:function(){return Boolean(this.config.autoplay)},set:function(e){var t=He(e)?e:this.config.autoplay;this.config.autoplay=t}},{key:"toggleCaptions",value:function(e){nn.toggle.call(this,e,!1)}},{key:"currentTrack",get:function(){var e=this.captions,t=e.toggled,n=e.currentTrack;return t?n:-1},set:function(e){nn.set.call(this,e,!1)}},{key:"language",get:function(){return(nn.getCurrentTrack.call(this)||{}).language},set:function(e){nn.setLanguage.call(this,e,!1)}},{key:"pip",get:function(){return vt.pip?Ze(this.media.webkitPresentationMode)?this.media===document.pictureInPictureElement:this.media.webkitPresentationMode===an:null},set:function(e){if(vt.pip){var t=He(e)?e:!this.pip;Be(this.media.webkitSetPresentationMode)&&this.media.webkitSetPresentationMode(t?an:on),Be(this.media.requestPictureInPicture)&&(!this.pip&&t?this.media.requestPictureInPicture():this.pip&&!t&&document.exitPictureInPicture())}}}],[{key:"supported",value:function(e,t,n){return vt.check(e,t,n)}},{key:"loadSprite",value:function(e,t){return Xt(e,t)}},{key:"setup",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null;return Re(t)?r=Array.from(document.querySelectorAll(t)):Ue(t)?r=Array.from(t):Ve(t)&&(r=t.filter(Qe)),Ze(r)?null:r.map((function(t){return new e(t,n)}))}}]),e}();Pn.defaults=function(e){return JSON.parse(JSON.stringify(e))}(rn);var In=n("pitch"),Nn=n(!1),jn=l({name:"ColexiuReportHeader",props:{detail:{type:Object},record:{type:Object},className:{type:String}},emits:["activeChange"],setup:function(e,t){var r=t.emit,i=t.expose,a=c(),o=p(),l=m(e),s=l.detail,u=l.record,d=n(!1),h=n(!1);g.isPercussion&&(In.value="rhythm",r("activeChange","rhythm"));var f=function(){C({api:"back"})},P=n(),I=function(){var e;if("evaluation"!=o.source){var t=sessionStorage.getItem("behaviorId")||""+(new Date).valueOf(),n=S.stringifyUrl({url:location.origin+"/orchestra-music-score",query:{id:null===(e=s.value)||void 0===e?void 0:e.id,behaviorId:t,client:a.isTeacher?"teacher":"student"}});C({api:"openAccompanyWebView",content:{url:n,orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0}})}else f()},N=y((function(){var e,t=((null===(e=u.value)||void 0===e?void 0:e.videoFilePath)||"").split(".").pop();return"wav"===t||"mp3"===t||"m4a"===t?"audio":"video"})),j=function(){d.value=!0,h.value||E((function(){var e="audio"===N.value?"#audioSrc":"#videoSrc";P.value=new Pn(e,{controls:["play-large","play","progress"],fullscreen:{enabled:!1}}),h.value=!0}))};return i({autoShow:function(){"1"!=localStorage.getItem("explain-view")&&(Nn.value=!0,setTimeout((function(){Nn.value=!1,localStorage.setItem("explain-view","1")}),5e3))}}),function(){var e,t;return b("header",{class:[te.header,te.className]},[b("div",{class:te.info},[b("div",{class:te.leftButton},[b(v,{onClick:f,class:te.back},{default:function(){return[b("img",{style:{width:"30px",height:"30px",display:"block"},src:w,alt:"back"},null)]}}),b("span",{class:te.musicName},[null==u||null===(e=u.value)||void 0===e?void 0:e.sysMusicScoreName])]),u.value&&null!==(t=u.value)&&void 0!==t&&t.heardLevel?b(_,{class:te.center,columnNum:5,style:{alignItems:"center","flex-wrap":"nowrap"}},{default:function(){return[b(k,{class:"van-hairline--right"},{icon:function(){var e;return b("span",null,[Y[null===(e=u.value)||void 0===e?void 0:e.heardLevel]])},text:function(){return b("span",null,[x("难度")])}}),b(k,{class:"van-hairline--right"},{icon:function(){var e;return b("span",null,[null===(e=u.value)||void 0===e?void 0:e.score,x("分")])},text:function(){return b("span",null,[x("评测分数")])}}),g.isPercussion?null:b(k,{class:"van-hairline--right",onClick:function(){In.value="pitch",r("activeChange","pitch")}},{icon:function(){var e;return b("span",{style:{color:"var(--van-primary-color)"}},[null===(e=u.value)||void 0===e?void 0:e.intonation,x("分")])},text:function(){return b("span",{class:["switch",{active:"pitch"===In.value}]},[x("音准")])}}),b(k,{class:"van-hairline--right",onClick:function(){In.value="rhythm",r("activeChange","rhythm")}},{icon:function(){var e;return b("span",{style:{color:"var(--van-primary-color)"}},[null===(e=u.value)||void 0===e?void 0:e.cadence,x("分")])},text:function(){return b("span",{class:["switch",{active:"rhythm"===In.value}]},[x("节奏")])}}),g.isPercussion?null:b(k,{onClick:function(){In.value="completion",r("activeChange","completion")}},{icon:function(){var e;return b("span",{style:{color:"#4EA1FF"}},[null===(e=u.value)||void 0===e?void 0:e.integrity,x("分")])},text:function(){return b("span",{class:["switch",{active:"completion"===In.value}]},[x("完成度")])}})]}}):null,b(_,{class:te.btns,style:{alignItems:"center","flex-wrap":"nowrap"}},{default:function(){var e;return[null!==(e=u.value)&&void 0!==e&&e.videoFilePath?b(k,{onClick:j},{icon:function(){return b("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAABCCAYAAADjVADoAAAAAXNSR0IArs4c6QAADmVJREFUeF7FnAuUVVUZx3/7DgzIw1Jc9mLMB2pQWguFVmgI2WvRMkdKw6SHiisdU0vUzNIGy2hKUkEmS6sVUZiZktIMsEBIxbQE0QoULEGGfCAqLwdm5p7d+u4557LPPnufcy6MddZSZp177n789/f9v//37X2u4n9wtSzTQ3u6OFkrhis4RmuO0YqDNAxGV/4jgB3ADq15DVgXaNahWFunebh5gup4s4ep3owOmpt16YAxjA/q+CwBpwaao3XUkdbIvCv/k3+z/pZno2u9hqWUuLv+MZY1N6ugt8fdq0B8b5FuqO9DU1kzGc3QykTjCUeTsiceT9Z73wQsBK4DzdzuMq0/blSbeguQXgFi+kI9rK4P3wjgi1pTX1lw34obnyWswgLNtKDIgCptGm13oZjTE9By0+nq2f0FZL+AmL1MD9oZ0AxcqjV9bbPPAsS0BOffBVwnar8bmNl5IM2t49XOfQVkn4G4cYluLCtmaXEBj9lXVzzmBdMaIn5wghc9VwjIvW136Douufk0NX9fwKgZiJltut/uemagaAo0ykd6CXBcXGH7vgFmEcuK2TJhTaFHtup6ps6aoPbUAkhNQMxYpBvKfZivNSPt1Spq3qlV9nGGAZTJDVW+cFiNwSWryiUaW2sg08JA3LhEj9CwMICGIiEvjhgeokuETXkmyHMvc+KWi0U6JBmSYZMq8clZjWpNEcsoBETLg3q06qZNa4bYE0yscJLVQ4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KTtsJS5b+DQGVKKLwKEKEaZvJyW2RbphJhTssbni1JAR+eBDF+ed3RIGvjavbqxDPcQHSarguDTAHkJm0NHiGt8V1xjcNoqZPJrX4ZHN8Jjz8NuSzZ7+Ssveim00kxsn1LgMFk8rEvu0bdquDgrgckSK0V8VcAQspSdK6luvdoJL2yDzduN44VZuYKvwOxPsGYvvKCG44UCxiVtul/QySNa9jws4nTlI1kTtxVf1aSjP1Lt+Zi/YETw5EurVCdj2i91v76QeQS5ab5uoMwKra0T+Rlx2sklrgmYW27GqieIuYbij8kJKeAVm4ISJ8WawUXRuYfSL5mvR/T08GCgGdLbOsKlVzIJ0OQiEzyLgxLCT1VO6I9tP28/DqXHyF14rx4d9NCODk/opxg5h0RdOqII83s5yHCpLEvQiq19YcKCKb3wmkIMxlfuCl9ckZP6CdPLyff3lVCzQDAJ3KcjUOGLK3mWEM8v1zVMfzp3XuUI4nwh0MRK+BKzXq5H2KvvcyOpSgd1NGZxgs0TNQERR5POHcwIoKlyaN1kfl8UcOiIlP6vJSL4wqakHppW1clUX3RwEaXcqxmIuKHzf6cbNcwKguiNXwuEIjqiKtNdgiwnYbOJFs1mFF91iSXf5M37+wyENNJ0lx60S16A1VwaaCoFNGeVyKVDLNJNSPTadES3Uszs3E3z8ov/Dy/AmmhO/rUeVqrLeCXaoyNiH7f5RsKfWTV3AQx0BTBHQ4uZRRZZfdcz+2URdoOThEw1TTpgsib5hrA3KauBUCN90IFibo+itRYyzAOoV4GIO5Ma6NPHMl6VOVPDR2SroKbU2eIMYD0llqK4e8EGlkmNMW9itX7+pgBhD+KcuXpoT8DJAQzX8kMaQeWHNEScDar8kEZYEZMf0dipNa+ikH2WdUHA2kDzcPsFb/4PafwX3nQqiEAj6p4AAAAASUVORK5CYII="},null)},text:function(){return b("span",null,[x("回放")])}}):null,b(k,{onClick:function(){return Nn.value=!0}},{icon:function(){return b("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAABCCAYAAADjVADoAAAA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qeODu1nR/h9i1zuEAmZhgp1c4khcF6/wjZ1bGApsaRU54uLjBBZIKl7fe+h5GAXkf1D5CS//TDZ1BvLEHKlOnqVmkCZ7qP/rbBRpbgLroJzL4HPtSvMJlTu8Op62Po7qP/YslcR3UuK1SB0a/Z0kJrRQDG5Nv0wWdh22qA5OOIua50iSWfkch+1nX/a2XDmud7vdqd724DNT/Ieefgg1O+Dve97m8Dv/AXe9zdqUusJ+Rxmd++pElPX5H+80F1UdeD0QOvNXtHGZFwfLtt2oFn7NNKWaOHGFFcJ+w7a4wtfmNB96jggeorZ9q8v5D6C/Mj1pRQVbwJRmmh2oQkZHBHbxbZ8Hkwwdd8hcIEU4JLqILCbIqeXeNTTDLYrJxDuOCcN7opw/oSk6bRoPlUffRWTEqicUt60wjQQbFbrttmLEH3E5NqcX1dIBcLtfurgb9Po1II6oZ9jZW0uFOMNy4QihVad4ZJ23/J2ob0UFQ8Qjz537F9TCIelLIPGNUhK7WUwgzes0ST016h15lP1zicRDI3CvXk3QlyZZgnBQPKyiBAMxRmiaBUSe9W78MEap2FMazOBy+dwumstdRQ7Zbk4weSJgoBwh6WiSX3LGeD4X27TGM+2sqFr5DifkLbvEI7a2KvQvSjUCbKaf4kJSdHhqMkyqaGcdEMZjc5st4YRsQSdJRPYPt/TLLqp59Qu7ijfR3C3TSwlzUF/v2CL0BvL7ODWFB3JgtC+AKuT4X9EJxwBKik5mDVlcz4AHBVHJFpH9rqOZIomItVXomXzWFp8InQCHEbKhSqm6VlkIZM/bhZhPlQqMnVQ3FERdxlDYuYTVu2heg+Ip8k0VBdChmkAHZNrJFsIGURZX6QcDPIyd6sgwCEpm82lRGEXAu/fJjRfs14dGU6bWKGfnxAgYpaSHdgeGnojZRcc2cn9ZxoIJc5aIwm+3VKPlCo1/tj9RxrS/dlBc2ejyNae8H+k8W/0wFuXsFPmfwAAAABJRU5ErkJggg=="},null)},text:function(){return b("span",null,[x("释义")])}}),a.isStudent?b(k,{onClick:I},{icon:function(){return b("img",{src:"/orchestra-music-score/assets/again.78a8b607.svg"},null)},text:function(){return b("span",null,[x("再来一遍")])}}):null]}})]),u.value?b("div",{class:te.demos},["pitch"===In.value&&b(T,null,[b("div",null,[b(Z,{fill:"#FFAB25",shadow:!0,x:-3,y:0},null),b("span",null,[x("音高了")])]),b("div",null,[b(Z,{fill:"#FFAB25",shadow:!0,x:-1,y:-2},null),b("span",null,[x("音低了")])])]),$.isPercussion?null:b(T,null,["rhythm"===In.value&&b(T,null,[b("div",null,[b(Z,{fill:"#FF4444",shadow:!0,x:0},null),b("span",null,[x("节奏快了")])]),b("div",null,[b(Z,{fill:"#FF4444",shadow:!0,x:-3,y:-2},null),b("span",null,[x("节奏慢了")])])]),"completion"===In.value&&b("div",null,[b(Z,{fill:"#CC75FF"},null),b("span",null,[x("时值不足")])])])]):null,b(A,{teleport:"body",show:Nn.value,class:te.pop,style:{width:"60vw"},onClickOverlay:function(){return Nn.value=!1}},{default:function(){return[b("div",{class:te.close,onClick:function(){return Nn.value=!1}},[b("img",{src:ne},null)]),b("h2",null,[x("图标释义")]),b(_,{columnNum:2,class:te.btns,border:!1},{default:function(){return[b(k,null,{text:function(){return b("span",null,[x("绿色音符:演奏正确")])},icon:function(){return b(Z,{fill:"#01C1B5"},null)}}),b(k,null,{text:function(){return b("span",null,[x("红色音符:错音")])},icon:function(){return b(Z,{fill:"#FF4444"},null)}}),b(k,null,{text:function(){return b("span",null,[x("音符重影(红色在前):节奏过快")])},icon:function(){return b(Z,{fill:"#FF4444",shadow:!0,x:0},null)}}),b(k,null,{text:function(){return b("span",null,[x("音符重影(红色在后):节奏慢了")])},icon:function(){return b(Z,{fill:"#FF4444",shadow:!0,x:-3,y:-2},null)}}),b(k,null,{text:function(){return b("span",null,[x("音符重影(黄色在上):音高了")])},icon:function(){return b(Z,{fill:"#FFAB25",shadow:!0,x:-3,y:0},null)}}),b(k,null,{text:function(){return b("span",null,[x("音符重影(黄色在下):音低了")])},icon:function(){return b(Z,{fill:"#FFAB25",shadow:!0,x:-1,y:-2},null)}}),b(k,null,{text:function(){return b("span",null,[x("紫色音符:完整度不足")])},icon:function(){return b(Z,{fill:"#CC75FF"},null)}}),b(k,null,{text:function(){return b("span",null,[x("灰色音符:未演奏")])},icon:function(){return b(Z,{fill:"#AEAEAE"},null)}})]}})]}}),b(A,{teleport:"body",show:d.value,"onUpdate:show":function(e){return d.value=e},class:te.videoContent,onClose:function(){var e;null===(e=P.value)||void 0===e||e.pause()}},{default:function(){var e,t;return[b("div",{class:te.close,onClick:function(){return d.value=!1}},[b("img",{src:ne},null)]),"audio"===N.value&&b("audio",{id:"audioSrc",src:null===(e=u.value)||void 0===e?void 0:e.videoFilePath,controls:"false",preload:"metadata",playsinline:!0},null),"video"===N.value&&b("div",{class:te.box},[b("video",{id:"videoSrc",class:te.videoBox,src:null===(t=u.value)||void 0===t?void 0:t.videoFilePath,"data-poster":"/orchestra-music-score/assets/videobg.2d19d627.png",preload:"metadata",playsinline:!0},null)])]}})])}}}),Mn=p(),zn=function(){var e=r(regeneratorRuntime.mark((function e(t,r){var i,a,o,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,V(t);case 2:return i=e.sent,a=n(""),o=U(i),a.value=Q(o.parsedXML,{title:r.musicSheetName}),l=Number(Mn["part-index"])||0,a.value=W(a.value,l),e.abrupt("return",a);case 9:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),On=l({name:"Colexiu",setup:function(){var e=n(),i=n(!0),a=n(!1),o=n(""),l=n([]),s=n([]),c=function(e){var t=n("loading"),i=n({}),a=n({});return L(r(regeneratorRuntime.mark((function e(){var n,r,o,l,s,c,u,d,p,m;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=sessionStorage.getItem("Authorization"),console.log("第一次请求",n),n){e.next=7;break}return e.next=5,F({api:"getToken"});case 5:null!=(o=e.sent)&&null!==(r=o.content)&&void 0!==r&&r.accessToken&&sessionStorage.setItem("Authorization",o.content.tokenType+" "+o.content.accessToken);case 7:return t.value="loading",e.prev=8,e.next=11,D.get("/musicPracticeRecord/getLastEvaluationMusicalNotesPlayStats",{params:{recordId:Mn.id}});case 11:if((p=e.sent).data){e.next=15;break}return t.value="error",e.abrupt("return");case 15:return a.value=p.data,e.next=18,D.get("/musicSheet/detail/".concat(null===(l=a.value)||void 0===l?void 0:l.musicalNotesPlayStats.examSongId));case 18:m=e.sent,i.value=m.data,g.partIndex=p.data.partIndex||0,g.isPercussion=1==(null===(s=m.data)||void 0===s||null===(c=s.background)||void 0===c||null===(u=c[g.partIndex])||void 0===u?void 0:u.musicSubject)||q(null===(d=m.data)||void 0===d?void 0:d.musicSheetName),t.value="success",e.next=29;break;case 25:e.prev=25,e.t0=e.catch(8),t.value="error",console.log(e.t0);case 29:case"end":return e.stop()}}),e,null,[[8,25]])})))),[t,i,a]}(Mn.id),p=d(c,3),m=p[0],f=p[1],y=p[2];P(m,r(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("success"!==m.value||!f.value.xmlFileUrl){e.next=5;break}return e.next=3,zn(f.value.xmlFileUrl,f.value);case 3:t=e.sent,o.value=t.value;case 5:case"end":return e.stop()}}),e)})))),I();var v=function(){_();var e,n,r=t((n=["RIGHT","WRONG","CADENCE_WRONG"],console.log(In.value),"pitch"===In.value?n.push.apply(n,["INTONATION_HIGH","INTONATION_LOW"]):"rhythm"===In.value?n.push.apply(n,["CADENCE_FAST","CADENCE_SLOW"]):"completion"===In.value&&n.push.apply(n,["INTEGRITY_WRONG"]),y.value.musicalNotesPlayStats.notesData.filter((function(e){return n.includes(e.musicalErrorType)}))));try{var i=function(){var t=e.value,n=s.value[t.musicalNotesIndex];setTimeout((function(){if(!l.value.includes(n.id)){l.value.push(n.id);var e=document.getElementById("vf-"+n.id),r=document.getElementById("vf-"+n.id+"-stem"),i=t.musicalErrorType,a=["INTONATION_HIGH","INTONATION_LOW","CADENCE_FAST","CADENCE_SLOW"].includes(i);if(null==r||r.classList.add(J[i]),null==e||e.classList.add(J[i]),e&&a){var o;null==r||r.classList.remove(J[i]),null==r||r.classList.add(J.RIGHT),null==e||e.classList.remove(J[i]),null==e||e.classList.add(J.RIGHT);var s=e.querySelector(".vf-notehead").cloneNode(!0);s.style.transform=function(e){switch(e){case"CADENCE_FAST":return"translateX(-2px)";case"CADENCE_SLOW":return"translateX(2px)";case"INTONATION_HIGH":return"translateY(-2px)";case"INTONATION_LOW":return"translateY(2px)";default:return""}}(i),e.style.opacity=".7",r&&(r.style.opacity=".7"),s.id="vf-"+n.id+"-copy",null==s||s.classList.add(J[i]),null===(o=R.osmd)||void 0===o||o.container.querySelector("svg").insertAdjacentElement("afterbegin",s)}}}),300)};for(r.s();!(e=r.n()).done;)i()}catch(a){r.e(a)}finally{r.f()}},w=function(e){if(e){var n,r=t(e.classList.values());try{for(r.s();!(n=r.n()).done;){var i=n.value;0!==(null==i?void 0:i.indexOf("vf-"))&&e.classList.remove(i)}}catch(a){r.e(a)}finally{r.f()}}},_=function(){var e,n=t(l.value);try{for(n.s();!(e=n.n()).done;){var r=e.value;w(document.getElementById("vf-"+r)),w(document.getElementById("vf-"+r+"-stem"));var i="vf-"+r+"-copy",a=document.getElementById(i);a&&a.remove()}}catch(o){n.e(o)}finally{n.f()}l.value=[]},k=function(n){var r;i.value=!1,null===(r=e.value)||void 0===r||r.autoShow(),setTimeout((function(){for(var e=0,t=Array.from(document.querySelectorAll(".vf-beam"));e<t.length;e++){var n;null===(n=t[e].querySelector("path"))||void 0===n||n.setAttribute("fill","#aeaeae")}})),R.osmd=n,s.value=H(R.osmd),v();var a=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=K(e);g.evaluatings=u(u({},g.evaluatings),{},h({},r.measureIndex,u(u(u({},r),G(t.score)),{},{score:t.score,dontTransition:n})))};if(y.value.userMeasureScore)for(var o in y.value.userMeasureScore)if(Object.prototype.hasOwnProperty.call(y.value.userMeasureScore,o)){var l,c=y.value.userMeasureScore[o],d=t(s.value);try{for(d.s();!(l=d.n()).done;){var p=l.value;if(c.measureRenderIndex==p.noteElement.sourceMeasure.MeasureNumberXML-1)if(p.noteElement.tie){var m,f=t(p.noteElement.tie.notes);try{for(f.s();!(m=f.n()).done;){var b=m.value,w=B(b);w&&a(w,c,b!==p.noteElement.tie.StartNote)}}catch(_){f.e(_)}finally{f.f()}}else a(p,c)}}catch(_){d.e(_)}finally{d.f()}}},x=function(){a.value=!0,i.value=!1};return function(){var t=i.value||"loading"===m.value,n=a.value||"error"===m.value;return b("div",{class:[N.container,O.sett.eyeProtection&&"eyeProtection"]},[!i.value&&b(jn,{className:N.header,detail:f.value,record:y,ref:e,style:{paddingLeft:g.isSpecialShapedScreen?g.notchHeight/2+"px":"auto"},onActiveChange:function(e){return v()}},null),b("div",{id:"colexiu-detail-music-sheet",class:[N.musicSheet,ee],style:{paddingLeft:g.isSpecialShapedScreen?g.notchHeight/2+"px":"auto"}},[t&&!n&&b(j,{class:N.skeleton,rowWidth:"80%",title:!0,row:3},null),n&&b(M,null,null),o.value&&b(T,null,[b("div",{class:N.headTitle},[f.value.musicSheetName]),b(z,{score:o.value,showSection:!0,opotions:{drawTitle:!1,drawComposer:!1,drawLyricist:!1,drawMetronomeMarks:!0,drawMeasureNumbers:!0,autoResize:!1},EngravingRules:{DefaultColorNotehead:"#aeaeae",DefaultColorRest:"#aeaeae",DefaultColorMusic:"#aeaeae",DefaultColorStem:"#aeaeae",DefaultColorChordSymbol:"#aeaeae",DefaultColorLabel:"#aeaeae",DYMusicScoreType:O.sett.type},onRerender:k,onRenderError:x},null)])])])}}});X(On).mount("#app")}}}))}();