agefans Enhance

增强播放功能,实现自动换集、无缝换集、画中画、历史记录、断点续播、弹幕等功能。适配agefans、NT动漫、bimiacg、mutefun、次元城、稀饭动漫

// ==UserScript==
// @name         agefans Enhance
// @namespace    https://github.com/IronKinoko/agefans-enhance
// @icon         https://www.agemys.com/favicon.ico
// @version      1.43.6
// @description  增强播放功能,实现自动换集、无缝换集、画中画、历史记录、断点续播、弹幕等功能。适配agefans、NT动漫、bimiacg、mutefun、次元城、稀饭动漫
// @author       IronKinoko
// @include      https://www.age.tv/*
// @include      https://www.agefans.*
// @include      https://www.agemys.*
// @include      https://www.agedm.*
// @include      https://m.agedm.*
// @include      http*://www.ntdm9.*
// @include      http*://www.bimiacg*.net*
// @include      https://pro.ascepan.top/*
// @include      https://danmu.yhdmjx.com/*
// @include      https://*.sp-flv.com*
// @include      https://*43.240.74.134*
// @include      https://*43.240.156.118*
// @include      https://www.mutedm.com/*
// @include      https://www.mutean.com/*
// @include      https://www.mute01.com/*
// @include      https://www.cycanime.com/*
// @include      https://www.cyc-anime.net/*
// @include      https://player.cycanime.com/*
// @include      https://dick.xfani.com/*
// @include      https://player.moedot.net/*
// @run-at       document-end
// @require      https://unpkg.com/jquery@3.6.0/dist/jquery.min.js
// @require      https://unpkg.com/plyr@3.6.4/dist/plyr.min.js
// @require      https://unpkg.com/hls.js@1.0.9/dist/hls.min.js
// @require      https://unpkg.com/@ironkinoko/danmaku@1.4.1/dist/danmaku.umd.js
// @grant        GM_getValue
// @grant        GM_setValue
// @grant        GM_xmlhttpRequest
// @connect      dandanplay.net
// @license      MIT
// ==/UserScript==

/**
 * 权限声明:
 * 1. GM_xmlhttpRequest
 *    脚本会请求有限的网络权限。仅用于访问弹幕查询功能需要链接到的 dandanplay.net 第三方域名
 *    你可以从 脚本编辑/设置/XHR安全 中管理网络权限
 *
 * 2. GM_getValue, GM_setValue
 *    脚本会使用本地存储功能,用于在不同页面间保存“播放器配置”与“agefans 历史浏览记录”。
 *
 * 3. @include
 *    脚本还匹配了 agefans 以外的一些链接,用于提供相同视频资源搜索功能
 */

(function (Hls, Plyr, Danmaku) {
  'use strict';

  var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}

  var css$g = "@keyframes plyr-progress{to{background-position:25px 0;background-position:var(--plyr-progress-loading-size,25px) 0}}@keyframes plyr-popup{0%{opacity:.5;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes plyr-fade-in{from{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:200px;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:2px;border-radius:var(--plyr-badge-border-radius,2px);color:#fff;color:var(--plyr-badge-text-color,#fff);font-size:9px;font-size:var(--plyr-font-size-badge,9px);line-height:1;padding:3px 4px}.plyr--full-ui ::-webkit-media-text-track-container{display:none}.plyr__captions{animation:plyr-fade-in .3s ease;bottom:0;display:none;font-size:13px;font-size:var(--plyr-font-size-small,13px);left:0;padding:10px;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:15px;font-size:var(--plyr-font-size-base,15px);padding:calc(10px * 2);padding:calc(var(--plyr-control-spacing,10px) * 2)}}@media (min-width:768px){.plyr__captions{font-size:18px;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(calc(10px * -4));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:2px;-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:0 0;border:0;border-radius:3px;border-radius:var(--plyr-control-radius,3px);color:inherit;cursor:pointer;flex-shrink:0;overflow:visible;padding:calc(10px * .7);padding:calc(var(--plyr-control-spacing,10px) * .7);position:relative;transition:all .3s ease}.plyr__control svg{display:block;fill:currentColor;height:18px;height:var(--plyr-control-icon-size,18px);pointer-events:none;width:18px;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:2px;outline-style:dotted;outline-width:3px}a.plyr__control{text-decoration:none}a.plyr__control::after,a.plyr__control::before{display: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{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:calc(10px / 4);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:calc(10px / 4);padding-left:calc(var(--plyr-control-spacing,10px)/ 4)}.plyr__controls .plyr__controls__item.plyr__time{padding:0 calc(10px / 2);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__controls:empty{display:none}.plyr [data-plyr=airplay],.plyr [data-plyr=captions],.plyr [data-plyr=fullscreen],.plyr [data-plyr=pip]{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:rgba(255,255,255,.9);background:var(--plyr-menu-background,rgba(255,255,255,.9));border-radius:4px;bottom:100%;box-shadow:0 1px 2px 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:15px;font-size:var(--plyr-font-size-base,15px);margin-bottom:10px;position:absolute;right:-3px;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:4px solid transparent;border:var(--plyr-menu-arrow-size,4px) solid transparent;border-top-color:rgba(255,255,255,.9);border-top-color:var(--plyr-menu-background,rgba(255,255,255,.9));content:'';height:0;position:absolute;right:calc(((18px / 2) + calc(10px * .7)) - (4px / 2));right:calc(((var(--plyr-control-icon-size,18px)/ 2) + calc(var(--plyr-control-spacing,10px) * .7)) - (var(--plyr-menu-arrow-size,4px)/ 2));top:100%;width:0}.plyr__menu__container [role=menu]{padding:calc(10px * .7);padding:calc(var(--plyr-control-spacing,10px) * .7)}.plyr__menu__container [role=menuitem],.plyr__menu__container [role=menuitemradio]{margin-top:2px}.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:13px;font-size:var(--plyr-font-size-menu,var(--plyr-font-size-small,13px));padding-bottom:calc(calc(10px * .7)/ 1.5);padding-bottom:calc(calc(var(--plyr-control-spacing,10px) * .7)/ 1.5);padding-left:calc(calc(10px * .7) * 1.5);padding-left:calc(calc(var(--plyr-control-spacing,10px) * .7) * 1.5);padding-right:calc(calc(10px * .7) * 1.5);padding-right:calc(calc(var(--plyr-control-spacing,10px) * .7) * 1.5);padding-top:calc(calc(10px * .7)/ 1.5);padding-top:calc(calc(var(--plyr-control-spacing,10px) * .7)/ 1.5);-webkit-user-select:none;-ms-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:4px 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:calc(calc(10px * .7) * 4);padding-right:calc(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:calc((calc(10px * .7) * 1.5) - 4px);right:calc((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:currentColor}.plyr__menu__container .plyr__control--back{font-weight:400;font-weight:var(--plyr-font-weight-regular,400);margin:calc(10px * .7);margin:calc(var(--plyr-control-spacing,10px) * .7);margin-bottom:calc(calc(10px * .7)/ 2);margin-bottom:calc(calc(var(--plyr-control-spacing,10px) * .7)/ 2);padding-left:calc(calc(10px * .7) * 4);padding-left:calc(calc(var(--plyr-control-spacing,10px) * .7) * 4);position:relative;width:calc(100% - (calc(10px * .7) * 2));width:calc(100% - (calc(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:calc((calc(10px * .7) * 1.5) - 4px);left:calc((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 1px 0 #fff;box-shadow:0 1px 0 var(--plyr-menu-back-border-shadow-color,#fff);content:'';height:1px;left:0;margin-top:calc(calc(10px * .7)/ 2);margin-top:calc(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:currentColor}.plyr__menu__container .plyr__control[role=menuitemradio]{padding-left:calc(10px * .7);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:16px;margin-right:10px;margin-right:var(--plyr-control-spacing,10px);transition:all .3s ease;width:16px}.plyr__menu__container .plyr__control[role=menuitemradio]::after{background:#fff;border:0;height:6px;left:12px;opacity:0;top:50%;transform:translateY(-50%) scale(0);transition:transform .3s ease,opacity .3s ease;width:6px}.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((calc(10px * .7) - 2) * -1);margin-right:calc((calc(var(--plyr-control-spacing,10px) * .7) - 2) * -1);overflow:hidden;padding-left:calc(calc(10px * .7) * 3.5);padding-left:calc(calc(var(--plyr-control-spacing,10px) * .7) * 3.5);pointer-events:none}.plyr--full-ui input[type=range]{-webkit-appearance:none;background:0 0;border:0;border-radius:calc(13px * 2);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:calc((3px * 2) + 13px);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:0 0;border:0;border-radius:calc(5px / 2);border-radius:calc(var(--plyr-range-track-height,5px)/ 2);height:5px;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;background-image:linear-gradient(to right,currentColor 0,transparent 0);background-image:linear-gradient(to right,currentColor var(--value,0),transparent var(--value,0))}.plyr--full-ui input[type=range]::-webkit-slider-thumb{background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2));height:13px;height:var(--plyr-range-thumb-height,13px);position:relative;-webkit-transition:all .2s ease;transition:all .2s ease;width:13px;width:var(--plyr-range-thumb-height,13px);-webkit-appearance:none;margin-top:calc(((13px - 5px)/ 2) * -1);margin-top:calc(((var(--plyr-range-thumb-height,13px) - var(--plyr-range-track-height,5px))/ 2) * -1)}.plyr--full-ui input[type=range]::-moz-range-track{background:0 0;border:0;border-radius:calc(5px / 2);border-radius:calc(var(--plyr-range-track-height,5px)/ 2);height:5px;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 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2));height:13px;height:var(--plyr-range-thumb-height,13px);position:relative;-moz-transition:all .2s ease;transition:all .2s ease;width:13px;width:var(--plyr-range-thumb-height,13px)}.plyr--full-ui input[type=range]::-moz-range-progress{background:currentColor;border-radius:calc(5px / 2);border-radius:calc(var(--plyr-range-track-height,5px)/ 2);height:5px;height:var(--plyr-range-track-height,5px)}.plyr--full-ui input[type=range]::-ms-track{background:0 0;border:0;border-radius:calc(5px / 2);border-radius:calc(var(--plyr-range-track-height,5px)/ 2);height:5px;height:var(--plyr-range-track-height,5px);-ms-transition:box-shadow .3s ease;transition:box-shadow .3s ease;-ms-user-select:none;user-select:none;color:transparent}.plyr--full-ui input[type=range]::-ms-fill-upper{background:0 0;border:0;border-radius:calc(5px / 2);border-radius:calc(var(--plyr-range-track-height,5px)/ 2);height:5px;height:var(--plyr-range-track-height,5px);-ms-transition:box-shadow .3s ease;transition:box-shadow .3s ease;-ms-user-select:none;user-select:none}.plyr--full-ui input[type=range]::-ms-fill-lower{background:0 0;border:0;border-radius:calc(5px / 2);border-radius:calc(var(--plyr-range-track-height,5px)/ 2);height:5px;height:var(--plyr-range-track-height,5px);-ms-transition:box-shadow .3s ease;transition:box-shadow .3s ease;-ms-user-select:none;user-select:none;background:currentColor}.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 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2));height:13px;height:var(--plyr-range-thumb-height,13px);position:relative;-ms-transition:all .2s ease;transition:all .2s ease;width:13px;width:var(--plyr-range-thumb-height,13px);margin-top:0}.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:2px;outline-style:dotted;outline-width:3px}.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:2px;outline-style:dotted;outline-width:3px}.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:2px;outline-style:dotted;outline-width:3px}.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__time{font-size:13px;font-size:var(--plyr-font-size-time,var(--plyr-font-size-small,13px))}.plyr__time+.plyr__time::before{content:'\\2044';margin-right:10px;margin-right:var(--plyr-control-spacing,10px)}@media (max-width:767px){.plyr__time+.plyr__time{display:none}}.plyr__tooltip{background:rgba(255,255,255,.9);background:var(--plyr-tooltip-background,rgba(255,255,255,.9));border-radius:3px;border-radius:var(--plyr-tooltip-radius,3px);bottom:100%;box-shadow:0 1px 2px 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:13px;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:calc(calc(10px / 2) * 2);margin-bottom:calc(calc(var(--plyr-control-spacing,10px)/ 2) * 2);opacity:0;padding:calc(10px / 2) calc(calc(10px / 2) * 1.5);padding:calc(var(--plyr-control-spacing,10px)/ 2) calc(calc(var(--plyr-control-spacing,10px)/ 2) * 1.5);pointer-events:none;position:absolute;transform:translate(-50%,10px) scale(.8);transform-origin:50% 100%;transition:transform .2s .1s ease,opacity .2s .1s ease;white-space:nowrap;z-index:2}.plyr__tooltip::before{border-left:4px solid transparent;border-left:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-right:4px solid transparent;border-right:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-top:4px solid rgba(255,255,255,.9);border-top:var(--plyr-tooltip-arrow-size,4px) solid var(--plyr-tooltip-background,rgba(255,255,255,.9));bottom:calc(4px * -1);bottom:calc(var(--plyr-tooltip-arrow-size,4px) * -1);content:'';height:0;left:50%;position:absolute;transform:translateX(-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%,0) scale(1)}.plyr .plyr__control:hover .plyr__tooltip{z-index:3}.plyr__controls>.plyr__control:first-child .plyr__tooltip,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip{left:0;transform:translate(0,10px) scale(.8);transform-origin:0 100%}.plyr__controls>.plyr__control:first-child .plyr__tooltip::before,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip::before{left:calc((18px / 2) + calc(10px * .7));left:calc((var(--plyr-control-icon-size,18px)/ 2) + calc(var(--plyr-control-spacing,10px) * .7))}.plyr__controls>.plyr__control:last-child .plyr__tooltip{left:auto;right:0;transform:translate(0,10px) scale(.8);transform-origin:100% 100%}.plyr__controls>.plyr__control:last-child .plyr__tooltip::before{left:auto;right:calc((18px / 2) + calc(10px * .7));right:calc((var(--plyr-control-icon-size,18px)/ 2) + calc(var(--plyr-control-spacing,10px) * .7));transform:translateX(50%)}.plyr__controls>.plyr__control:first-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child+.plyr__control.plyr__tab-focus .plyr__tooltip,.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:hover .plyr__tooltip,.plyr__controls>.plyr__control:last-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:last-child.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:last-child:hover .plyr__tooltip{transform:translate(0,0) scale(1)}.plyr__progress{left:calc(13px * .5);left:calc(var(--plyr-range-thumb-height,13px) * .5);margin-right:13px;margin-right:var(--plyr-range-thumb-height,13px);position:relative}.plyr__progress input[type=range],.plyr__progress__buffer{margin-left:calc(13px * -.5);margin-left:calc(var(--plyr-range-thumb-height,13px) * -.5);margin-right:calc(13px * -.5);margin-right:calc(var(--plyr-range-thumb-height,13px) * -.5);width:calc(100% + 13px);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:13px;font-size:var(--plyr-font-size-time,var(--plyr-font-size-small,13px));left:0}.plyr__progress__buffer{-webkit-appearance:none;background:0 0;border:0;border-radius:100px;height:5px;height:var(--plyr-range-track-height,5px);left:0;margin-top:calc((5px / 2) * -1);margin-top:calc((var(--plyr-range-track-height,5px)/ 2) * -1);padding:0;position:absolute;top:50%}.plyr__progress__buffer::-webkit-progress-bar{background:0 0}.plyr__progress__buffer::-webkit-progress-value{background:currentColor;border-radius:100px;min-width:5px;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:100px;min-width:5px;min-width:var(--plyr-range-track-height,5px);-moz-transition:width .2s ease;transition:width .2s ease}.plyr__progress__buffer::-ms-fill{border-radius:100px;-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 25%,transparent 50%,rgba(35,40,47,.6) 50%,rgba(35,40,47,.6) 75%,transparent 75%,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:25px 25px;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,rgba(255,255,255,.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:110px;min-width:80px;position:relative;width:20%}.plyr__volume input[type=range]{margin-left:calc(10px / 2);margin-left:calc(var(--plyr-control-spacing,10px)/ 2);margin-right:calc(10px / 2);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:10px;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 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px rgba(35,40,47,.1);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px 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 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px rgba(35,40,47,.1);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px 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 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px rgba(35,40,47,.1);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px 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));height:100%;margin:auto;overflow:hidden;position:relative;width:100%}.plyr__video-embed,.plyr__video-wrapper--fixed-ratio{height:0;padding-bottom:56.25%}.plyr__video-embed iframe,.plyr__video-wrapper--fixed-ratio video{border:0;left:0;position:absolute;top:0}.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(rgba(0,0,0,0),rgba(0,0,0,.75));background:var(--plyr-video-controls-background,linear-gradient(rgba(0,0,0,0),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:calc(10px / 2);padding:calc(var(--plyr-control-spacing,10px)/ 2);padding-top:calc(10px * 2);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:10px;padding:var(--plyr-control-spacing,10px);padding-top:calc(10px * 3.5);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:calc(10px * 1.5);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:2px;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,rgba(255,255,255,.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,rgba(255,255,255,.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,rgba(255,255,255,.25)))}.plyr--full-ui.plyr--video input[type=range]:active::-webkit-slider-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px rgba(255,255,255,.5);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px 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(255,255,255,.5))}.plyr--full-ui.plyr--video input[type=range]:active::-moz-range-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px rgba(255,255,255,.5);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px 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(255,255,255,.5))}.plyr--full-ui.plyr--video input[type=range]:active::-ms-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px rgba(255,255,255,.5);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px 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(255,255,255,.5))}.plyr--video .plyr__progress__buffer{color:rgba(255,255,255,.25);color:var(--plyr-video-progress-buffered-background,rgba(255,255,255,.25))}.plyr:-webkit-full-screen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-ms-fullscreen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:fullscreen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-webkit-full-screen video{height:100%}.plyr:-ms-fullscreen video{height:100%}.plyr:fullscreen video{height:100%}.plyr:-webkit-full-screen .plyr__video-wrapper{height:100%;position:static}.plyr:-ms-fullscreen .plyr__video-wrapper{height:100%;position:static}.plyr:fullscreen .plyr__video-wrapper{height:100%;position:static}.plyr:-webkit-full-screen.plyr--vimeo .plyr__video-wrapper{height:0;position:relative}.plyr:-ms-fullscreen.plyr--vimeo .plyr__video-wrapper{height:0;position:relative}.plyr:fullscreen.plyr--vimeo .plyr__video-wrapper{height:0;position:relative}.plyr:-webkit-full-screen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-ms-fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-webkit-full-screen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-ms-fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-webkit-full-screen.plyr--hide-controls{cursor:none}.plyr:-ms-fullscreen.plyr--hide-controls{cursor:none}.plyr:fullscreen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-webkit-full-screen .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}.plyr:-ms-fullscreen .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}.plyr:fullscreen .plyr__captions{font-size:21px;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__video-wrapper{height:100%;position:static}.plyr:-webkit-full-screen.plyr--vimeo .plyr__video-wrapper{height:0;position:relative}.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:21px;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__video-wrapper{height:100%;position:static}.plyr:-moz-full-screen.plyr--vimeo .plyr__video-wrapper{height:0;position:relative}.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:21px;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__video-wrapper{height:100%;position:static}.plyr:-ms-fullscreen.plyr--vimeo .plyr__video-wrapper{height:0;position:relative}.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:21px;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr--fullscreen-fallback{background:#000;border-radius:0!important;height:100%;margin:0;width:100%;bottom:0;display:block;left:0;position:fixed;right:0;top:0;z-index:10000000}.plyr--fullscreen-fallback video{height:100%}.plyr--fullscreen-fallback .plyr__video-wrapper{height:100%;position:static}.plyr--fullscreen-fallback.plyr--vimeo .plyr__video-wrapper{height:0;position:relative}.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:21px;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:2px;bottom:10px;bottom:var(--plyr-control-spacing,10px);color:#fff;content:attr(data-badge-text);font-size:11px;padding:2px 6px;pointer-events:none;position:absolute;right:10px;right:var(--plyr-control-spacing,10px);z-index:3}.plyr__ads::after:empty{display:none}.plyr__cues{background:currentColor;display:block;height:5px;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:3px;z-index:3}.plyr__preview-thumb{background-color:rgba(255,255,255,.9);background-color:var(--plyr-tooltip-background,rgba(255,255,255,.9));border-radius:3px;bottom:100%;box-shadow:0 1px 2px rgba(0,0,0,.15);box-shadow:var(--plyr-tooltip-shadow,0 1px 2px rgba(0,0,0,.15));margin-bottom:calc(calc(10px / 2) * 2);margin-bottom:calc(calc(var(--plyr-control-spacing,10px)/ 2) * 2);opacity:0;padding:3px;padding:var(--plyr-tooltip-radius,3px);pointer-events:none;position:absolute;transform:translate(0,10px) scale(.8);transform-origin:50% 100%;transition:transform .2s .1s ease,opacity .2s .1s ease;z-index:2}.plyr__preview-thumb--is-shown{opacity:1;transform:translate(0,0) scale(1)}.plyr__preview-thumb::before{border-left:4px solid transparent;border-left:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-right:4px solid transparent;border-right:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-top:4px solid rgba(255,255,255,.9);border-top:var(--plyr-tooltip-arrow-size,4px) solid var(--plyr-tooltip-background,rgba(255,255,255,.9));bottom:calc(4px * -1);bottom:calc(var(--plyr-tooltip-arrow-size,4px) * -1);content:'';height:0;left:50%;position:absolute;transform:translateX(-50%);width:0;z-index:2}.plyr__preview-thumb__image-container{background:#c1c8d1;border-radius:calc(3px - 1px);border-radius:calc(var(--plyr-tooltip-radius,3px) - 1px);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:6px;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:calc(3px - 1px);border-radius:calc(var(--plyr-tooltip-radius,3px) - 1px);color:#fff;font-size:13px;font-size:var(--plyr-font-size-time,var(--plyr-font-size-small,13px));padding:3px 6px}.plyr__preview-scrubbing{bottom:0;filter:blur(1px);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;object-fit:contain;position:absolute;top:0;width:100%}.plyr--no-transition{transition:none!important}.plyr__sr-only{clip:rect(1px,1px,1px,1px);overflow:hidden;border:0!important;height:1px!important;padding:0!important;position:absolute!important;width:1px!important}.plyr [hidden]{display:none!important}";
  n(css$g,{});

  var css$f = ":root {\n  --k-player-background-highlight: rgba(95, 95, 95, 0.65);\n  --k-player-background: rgba(0, 0, 0, 0.65);\n  --k-player-color: white;\n  --k-player-primary-color: #00b3ff;\n  --k-player-primary-color-highlight: rgba(0, 179, 255, 0.1);\n}\n\n.k-menu {\n  list-style: none;\n  margin: 0;\n  padding: 0;\n  border-radius: 4px;\n  overflow: hidden;\n}\n.k-menu-item {\n  padding: 0 16px;\n  line-height: 36px;\n  height: 36px;\n  cursor: pointer;\n  width: 100%;\n  white-space: nowrap;\n  color: white;\n  transition: all 0.3s;\n  text-align: center;\n}\n.k-menu-item:hover {\n  background: var(--k-player-background-highlight);\n}\n\n.k-btn, .k-capsule div {\n  color: var(--k-player-primary-color);\n  background: var(--k-player-primary-color-highlight);\n  padding: 4px 8px;\n  border-radius: 4px;\n  cursor: pointer;\n  white-space: nowrap;\n  transition: all 0.15s;\n  user-select: none;\n}\n\n.k-capsule input:not(:checked) + div {\n  color: #999;\n  background: #ddd;\n}\n\n.k-menu-item.k-menu-active {\n  color: var(--k-player-primary-color);\n}\n\n.k-input,\n.k-select {\n  background: white;\n  border: 1px solid #f1f1f1;\n  color: black;\n  outline: 0;\n  border-radius: 2px;\n  transition: all 0.15s ease;\n}\n.k-input:focus, .k-input:hover,\n.k-select:focus,\n.k-select:hover {\n  border-color: var(--k-player-primary-color);\n}\n.k-input::placeholder,\n.k-select::placeholder {\n  color: #999;\n}\n\n.k-settings-list {\n  margin: 0;\n  padding: 8px;\n  text-align: left;\n}\n.k-settings-item {\n  width: 100%;\n  white-space: nowrap;\n  color: white;\n  display: flex;\n  align-items: center;\n  gap: 8px;\n}\n.k-settings-list > .k-settings-item + .k-settings-item {\n  margin-top: 8px;\n}";
  n(css$f,{});

  /** Detect free variable `global` from Node.js. */
  var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;

  /** Detect free variable `self`. */
  var freeSelf = typeof self == 'object' && self && self.Object === Object && self;

  /** Used as a reference to the global object. */
  var root = freeGlobal || freeSelf || Function('return this')();

  /** Built-in value references. */
  var Symbol = root.Symbol;

  /** Used for built-in method references. */
  var objectProto$4 = Object.prototype;

  /** Used to check objects for own properties. */
  var hasOwnProperty$3 = objectProto$4.hasOwnProperty;

  /**
   * Used to resolve the
   * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
   * of values.
   */
  var nativeObjectToString$1 = objectProto$4.toString;

  /** Built-in value references. */
  var symToStringTag$1 = Symbol ? Symbol.toStringTag : undefined;

  /**
   * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
   *
   * @private
   * @param {*} value The value to query.
   * @returns {string} Returns the raw `toStringTag`.
   */
  function getRawTag(value) {
    var isOwn = hasOwnProperty$3.call(value, symToStringTag$1),
        tag = value[symToStringTag$1];

    try {
      value[symToStringTag$1] = undefined;
      var unmasked = true;
    } catch (e) {}

    var result = nativeObjectToString$1.call(value);
    if (unmasked) {
      if (isOwn) {
        value[symToStringTag$1] = tag;
      } else {
        delete value[symToStringTag$1];
      }
    }
    return result;
  }

  /** Used for built-in method references. */
  var objectProto$3 = Object.prototype;

  /**
   * Used to resolve the
   * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
   * of values.
   */
  var nativeObjectToString = objectProto$3.toString;

  /**
   * Converts `value` to a string using `Object.prototype.toString`.
   *
   * @private
   * @param {*} value The value to convert.
   * @returns {string} Returns the converted string.
   */
  function objectToString(value) {
    return nativeObjectToString.call(value);
  }

  /** `Object#toString` result references. */
  var nullTag = '[object Null]',
      undefinedTag = '[object Undefined]';

  /** Built-in value references. */
  var symToStringTag = Symbol ? Symbol.toStringTag : undefined;

  /**
   * The base implementation of `getTag` without fallbacks for buggy environments.
   *
   * @private
   * @param {*} value The value to query.
   * @returns {string} Returns the `toStringTag`.
   */
  function baseGetTag(value) {
    if (value == null) {
      return value === undefined ? undefinedTag : nullTag;
    }
    return (symToStringTag && symToStringTag in Object(value))
      ? getRawTag(value)
      : objectToString(value);
  }

  /**
   * Checks if `value` is object-like. A value is object-like if it's not `null`
   * and has a `typeof` result of "object".
   *
   * @static
   * @memberOf _
   * @since 4.0.0
   * @category Lang
   * @param {*} value The value to check.
   * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
   * @example
   *
   * _.isObjectLike({});
   * // => true
   *
   * _.isObjectLike([1, 2, 3]);
   * // => true
   *
   * _.isObjectLike(_.noop);
   * // => false
   *
   * _.isObjectLike(null);
   * // => false
   */
  function isObjectLike(value) {
    return value != null && typeof value == 'object';
  }

  /** `Object#toString` result references. */
  var symbolTag = '[object Symbol]';

  /**
   * Checks if `value` is classified as a `Symbol` primitive or object.
   *
   * @static
   * @memberOf _
   * @since 4.0.0
   * @category Lang
   * @param {*} value The value to check.
   * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
   * @example
   *
   * _.isSymbol(Symbol.iterator);
   * // => true
   *
   * _.isSymbol('abc');
   * // => false
   */
  function isSymbol(value) {
    return typeof value == 'symbol' ||
      (isObjectLike(value) && baseGetTag(value) == symbolTag);
  }

  /** Used to match a single whitespace character. */
  var reWhitespace = /\s/;

  /**
   * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
   * character of `string`.
   *
   * @private
   * @param {string} string The string to inspect.
   * @returns {number} Returns the index of the last non-whitespace character.
   */
  function trimmedEndIndex(string) {
    var index = string.length;

    while (index-- && reWhitespace.test(string.charAt(index))) {}
    return index;
  }

  /** Used to match leading whitespace. */
  var reTrimStart = /^\s+/;

  /**
   * The base implementation of `_.trim`.
   *
   * @private
   * @param {string} string The string to trim.
   * @returns {string} Returns the trimmed string.
   */
  function baseTrim(string) {
    return string
      ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')
      : string;
  }

  /**
   * Checks if `value` is the
   * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
   * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
   *
   * @static
   * @memberOf _
   * @since 0.1.0
   * @category Lang
   * @param {*} value The value to check.
   * @returns {boolean} Returns `true` if `value` is an object, else `false`.
   * @example
   *
   * _.isObject({});
   * // => true
   *
   * _.isObject([1, 2, 3]);
   * // => true
   *
   * _.isObject(_.noop);
   * // => true
   *
   * _.isObject(null);
   * // => false
   */
  function isObject(value) {
    var type = typeof value;
    return value != null && (type == 'object' || type == 'function');
  }

  /** Used as references for various `Number` constants. */
  var NAN = 0 / 0;

  /** Used to detect bad signed hexadecimal string values. */
  var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;

  /** Used to detect binary string values. */
  var reIsBinary = /^0b[01]+$/i;

  /** Used to detect octal string values. */
  var reIsOctal = /^0o[0-7]+$/i;

  /** Built-in method references without a dependency on `root`. */
  var freeParseInt = parseInt;

  /**
   * Converts `value` to a number.
   *
   * @static
   * @memberOf _
   * @since 4.0.0
   * @category Lang
   * @param {*} value The value to process.
   * @returns {number} Returns the number.
   * @example
   *
   * _.toNumber(3.2);
   * // => 3.2
   *
   * _.toNumber(Number.MIN_VALUE);
   * // => 5e-324
   *
   * _.toNumber(Infinity);
   * // => Infinity
   *
   * _.toNumber('3.2');
   * // => 3.2
   */
  function toNumber(value) {
    if (typeof value == 'number') {
      return value;
    }
    if (isSymbol(value)) {
      return NAN;
    }
    if (isObject(value)) {
      var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
      value = isObject(other) ? (other + '') : other;
    }
    if (typeof value != 'string') {
      return value === 0 ? value : +value;
    }
    value = baseTrim(value);
    var isBinary = reIsBinary.test(value);
    return (isBinary || reIsOctal.test(value))
      ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
      : (reIsBadHex.test(value) ? NAN : +value);
  }

  /** `Object#toString` result references. */
  var asyncTag = '[object AsyncFunction]',
      funcTag = '[object Function]',
      genTag = '[object GeneratorFunction]',
      proxyTag = '[object Proxy]';

  /**
   * Checks if `value` is classified as a `Function` object.
   *
   * @static
   * @memberOf _
   * @since 0.1.0
   * @category Lang
   * @param {*} value The value to check.
   * @returns {boolean} Returns `true` if `value` is a function, else `false`.
   * @example
   *
   * _.isFunction(_);
   * // => true
   *
   * _.isFunction(/abc/);
   * // => false
   */
  function isFunction(value) {
    if (!isObject(value)) {
      return false;
    }
    // The use of `Object#toString` avoids issues with the `typeof` operator
    // in Safari 9 which returns 'object' for typed arrays and other constructors.
    var tag = baseGetTag(value);
    return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
  }

  /** Used to detect overreaching core-js shims. */
  var coreJsData = root['__core-js_shared__'];

  /** Used to detect methods masquerading as native. */
  var maskSrcKey = (function() {
    var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
    return uid ? ('Symbol(src)_1.' + uid) : '';
  }());

  /**
   * Checks if `func` has its source masked.
   *
   * @private
   * @param {Function} func The function to check.
   * @returns {boolean} Returns `true` if `func` is masked, else `false`.
   */
  function isMasked(func) {
    return !!maskSrcKey && (maskSrcKey in func);
  }

  /** Used for built-in method references. */
  var funcProto$1 = Function.prototype;

  /** Used to resolve the decompiled source of functions. */
  var funcToString$1 = funcProto$1.toString;

  /**
   * Converts `func` to its source code.
   *
   * @private
   * @param {Function} func The function to convert.
   * @returns {string} Returns the source code.
   */
  function toSource(func) {
    if (func != null) {
      try {
        return funcToString$1.call(func);
      } catch (e) {}
      try {
        return (func + '');
      } catch (e) {}
    }
    return '';
  }

  /**
   * Used to match `RegExp`
   * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
   */
  var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;

  /** Used to detect host constructors (Safari). */
  var reIsHostCtor = /^\[object .+?Constructor\]$/;

  /** Used for built-in method references. */
  var funcProto = Function.prototype,
      objectProto$2 = Object.prototype;

  /** Used to resolve the decompiled source of functions. */
  var funcToString = funcProto.toString;

  /** Used to check objects for own properties. */
  var hasOwnProperty$2 = objectProto$2.hasOwnProperty;

  /** Used to detect if a method is native. */
  var reIsNative = RegExp('^' +
    funcToString.call(hasOwnProperty$2).replace(reRegExpChar, '\\$&')
    .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
  );

  /**
   * The base implementation of `_.isNative` without bad shim checks.
   *
   * @private
   * @param {*} value The value to check.
   * @returns {boolean} Returns `true` if `value` is a native function,
   *  else `false`.
   */
  function baseIsNative(value) {
    if (!isObject(value) || isMasked(value)) {
      return false;
    }
    var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
    return pattern.test(toSource(value));
  }

  /**
   * Gets the value at `key` of `object`.
   *
   * @private
   * @param {Object} [object] The object to query.
   * @param {string} key The key of the property to get.
   * @returns {*} Returns the property value.
   */
  function getValue(object, key) {
    return object == null ? undefined : object[key];
  }

  /**
   * Gets the native function at `key` of `object`.
   *
   * @private
   * @param {Object} object The object to query.
   * @param {string} key The key of the method to get.
   * @returns {*} Returns the function if it's native, else `undefined`.
   */
  function getNative(object, key) {
    var value = getValue(object, key);
    return baseIsNative(value) ? value : undefined;
  }

  /**
   * Performs a
   * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
   * comparison between two values to determine if they are equivalent.
   *
   * @static
   * @memberOf _
   * @since 4.0.0
   * @category Lang
   * @param {*} value The value to compare.
   * @param {*} other The other value to compare.
   * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
   * @example
   *
   * var object = { 'a': 1 };
   * var other = { 'a': 1 };
   *
   * _.eq(object, object);
   * // => true
   *
   * _.eq(object, other);
   * // => false
   *
   * _.eq('a', 'a');
   * // => true
   *
   * _.eq('a', Object('a'));
   * // => false
   *
   * _.eq(NaN, NaN);
   * // => true
   */
  function eq(value, other) {
    return value === other || (value !== value && other !== other);
  }

  /* Built-in method references that are verified to be native. */
  var nativeCreate = getNative(Object, 'create');

  /**
   * Removes all key-value entries from the hash.
   *
   * @private
   * @name clear
   * @memberOf Hash
   */
  function hashClear() {
    this.__data__ = nativeCreate ? nativeCreate(null) : {};
    this.size = 0;
  }

  /**
   * Removes `key` and its value from the hash.
   *
   * @private
   * @name delete
   * @memberOf Hash
   * @param {Object} hash The hash to modify.
   * @param {string} key The key of the value to remove.
   * @returns {boolean} Returns `true` if the entry was removed, else `false`.
   */
  function hashDelete(key) {
    var result = this.has(key) && delete this.__data__[key];
    this.size -= result ? 1 : 0;
    return result;
  }

  /** Used to stand-in for `undefined` hash values. */
  var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';

  /** Used for built-in method references. */
  var objectProto$1 = Object.prototype;

  /** Used to check objects for own properties. */
  var hasOwnProperty$1 = objectProto$1.hasOwnProperty;

  /**
   * Gets the hash value for `key`.
   *
   * @private
   * @name get
   * @memberOf Hash
   * @param {string} key The key of the value to get.
   * @returns {*} Returns the entry value.
   */
  function hashGet(key) {
    var data = this.__data__;
    if (nativeCreate) {
      var result = data[key];
      return result === HASH_UNDEFINED$1 ? undefined : result;
    }
    return hasOwnProperty$1.call(data, key) ? data[key] : undefined;
  }

  /** Used for built-in method references. */
  var objectProto = Object.prototype;

  /** Used to check objects for own properties. */
  var hasOwnProperty = objectProto.hasOwnProperty;

  /**
   * Checks if a hash value for `key` exists.
   *
   * @private
   * @name has
   * @memberOf Hash
   * @param {string} key The key of the entry to check.
   * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
   */
  function hashHas(key) {
    var data = this.__data__;
    return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
  }

  /** Used to stand-in for `undefined` hash values. */
  var HASH_UNDEFINED = '__lodash_hash_undefined__';

  /**
   * Sets the hash `key` to `value`.
   *
   * @private
   * @name set
   * @memberOf Hash
   * @param {string} key The key of the value to set.
   * @param {*} value The value to set.
   * @returns {Object} Returns the hash instance.
   */
  function hashSet(key, value) {
    var data = this.__data__;
    this.size += this.has(key) ? 0 : 1;
    data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
    return this;
  }

  /**
   * Creates a hash object.
   *
   * @private
   * @constructor
   * @param {Array} [entries] The key-value pairs to cache.
   */
  function Hash(entries) {
    var index = -1,
        length = entries == null ? 0 : entries.length;

    this.clear();
    while (++index < length) {
      var entry = entries[index];
      this.set(entry[0], entry[1]);
    }
  }

  // Add methods to `Hash`.
  Hash.prototype.clear = hashClear;
  Hash.prototype['delete'] = hashDelete;
  Hash.prototype.get = hashGet;
  Hash.prototype.has = hashHas;
  Hash.prototype.set = hashSet;

  /**
   * Removes all key-value entries from the list cache.
   *
   * @private
   * @name clear
   * @memberOf ListCache
   */
  function listCacheClear() {
    this.__data__ = [];
    this.size = 0;
  }

  /**
   * Gets the index at which the `key` is found in `array` of key-value pairs.
   *
   * @private
   * @param {Array} array The array to inspect.
   * @param {*} key The key to search for.
   * @returns {number} Returns the index of the matched value, else `-1`.
   */
  function assocIndexOf(array, key) {
    var length = array.length;
    while (length--) {
      if (eq(array[length][0], key)) {
        return length;
      }
    }
    return -1;
  }

  /** Used for built-in method references. */
  var arrayProto = Array.prototype;

  /** Built-in value references. */
  var splice = arrayProto.splice;

  /**
   * Removes `key` and its value from the list cache.
   *
   * @private
   * @name delete
   * @memberOf ListCache
   * @param {string} key The key of the value to remove.
   * @returns {boolean} Returns `true` if the entry was removed, else `false`.
   */
  function listCacheDelete(key) {
    var data = this.__data__,
        index = assocIndexOf(data, key);

    if (index < 0) {
      return false;
    }
    var lastIndex = data.length - 1;
    if (index == lastIndex) {
      data.pop();
    } else {
      splice.call(data, index, 1);
    }
    --this.size;
    return true;
  }

  /**
   * Gets the list cache value for `key`.
   *
   * @private
   * @name get
   * @memberOf ListCache
   * @param {string} key The key of the value to get.
   * @returns {*} Returns the entry value.
   */
  function listCacheGet(key) {
    var data = this.__data__,
        index = assocIndexOf(data, key);

    return index < 0 ? undefined : data[index][1];
  }

  /**
   * Checks if a list cache value for `key` exists.
   *
   * @private
   * @name has
   * @memberOf ListCache
   * @param {string} key The key of the entry to check.
   * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
   */
  function listCacheHas(key) {
    return assocIndexOf(this.__data__, key) > -1;
  }

  /**
   * Sets the list cache `key` to `value`.
   *
   * @private
   * @name set
   * @memberOf ListCache
   * @param {string} key The key of the value to set.
   * @param {*} value The value to set.
   * @returns {Object} Returns the list cache instance.
   */
  function listCacheSet(key, value) {
    var data = this.__data__,
        index = assocIndexOf(data, key);

    if (index < 0) {
      ++this.size;
      data.push([key, value]);
    } else {
      data[index][1] = value;
    }
    return this;
  }

  /**
   * Creates an list cache object.
   *
   * @private
   * @constructor
   * @param {Array} [entries] The key-value pairs to cache.
   */
  function ListCache(entries) {
    var index = -1,
        length = entries == null ? 0 : entries.length;

    this.clear();
    while (++index < length) {
      var entry = entries[index];
      this.set(entry[0], entry[1]);
    }
  }

  // Add methods to `ListCache`.
  ListCache.prototype.clear = listCacheClear;
  ListCache.prototype['delete'] = listCacheDelete;
  ListCache.prototype.get = listCacheGet;
  ListCache.prototype.has = listCacheHas;
  ListCache.prototype.set = listCacheSet;

  /* Built-in method references that are verified to be native. */
  var Map = getNative(root, 'Map');

  /**
   * Removes all key-value entries from the map.
   *
   * @private
   * @name clear
   * @memberOf MapCache
   */
  function mapCacheClear() {
    this.size = 0;
    this.__data__ = {
      'hash': new Hash,
      'map': new (Map || ListCache),
      'string': new Hash
    };
  }

  /**
   * Checks if `value` is suitable for use as unique object key.
   *
   * @private
   * @param {*} value The value to check.
   * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
   */
  function isKeyable(value) {
    var type = typeof value;
    return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
      ? (value !== '__proto__')
      : (value === null);
  }

  /**
   * Gets the data for `map`.
   *
   * @private
   * @param {Object} map The map to query.
   * @param {string} key The reference key.
   * @returns {*} Returns the map data.
   */
  function getMapData(map, key) {
    var data = map.__data__;
    return isKeyable(key)
      ? data[typeof key == 'string' ? 'string' : 'hash']
      : data.map;
  }

  /**
   * Removes `key` and its value from the map.
   *
   * @private
   * @name delete
   * @memberOf MapCache
   * @param {string} key The key of the value to remove.
   * @returns {boolean} Returns `true` if the entry was removed, else `false`.
   */
  function mapCacheDelete(key) {
    var result = getMapData(this, key)['delete'](key);
    this.size -= result ? 1 : 0;
    return result;
  }

  /**
   * Gets the map value for `key`.
   *
   * @private
   * @name get
   * @memberOf MapCache
   * @param {string} key The key of the value to get.
   * @returns {*} Returns the entry value.
   */
  function mapCacheGet(key) {
    return getMapData(this, key).get(key);
  }

  /**
   * Checks if a map value for `key` exists.
   *
   * @private
   * @name has
   * @memberOf MapCache
   * @param {string} key The key of the entry to check.
   * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
   */
  function mapCacheHas(key) {
    return getMapData(this, key).has(key);
  }

  /**
   * Sets the map `key` to `value`.
   *
   * @private
   * @name set
   * @memberOf MapCache
   * @param {string} key The key of the value to set.
   * @param {*} value The value to set.
   * @returns {Object} Returns the map cache instance.
   */
  function mapCacheSet(key, value) {
    var data = getMapData(this, key),
        size = data.size;

    data.set(key, value);
    this.size += data.size == size ? 0 : 1;
    return this;
  }

  /**
   * Creates a map cache object to store key-value pairs.
   *
   * @private
   * @constructor
   * @param {Array} [entries] The key-value pairs to cache.
   */
  function MapCache(entries) {
    var index = -1,
        length = entries == null ? 0 : entries.length;

    this.clear();
    while (++index < length) {
      var entry = entries[index];
      this.set(entry[0], entry[1]);
    }
  }

  // Add methods to `MapCache`.
  MapCache.prototype.clear = mapCacheClear;
  MapCache.prototype['delete'] = mapCacheDelete;
  MapCache.prototype.get = mapCacheGet;
  MapCache.prototype.has = mapCacheHas;
  MapCache.prototype.set = mapCacheSet;

  /** Error message constants. */
  var FUNC_ERROR_TEXT$2 = 'Expected a function';

  /**
   * Creates a function that memoizes the result of `func`. If `resolver` is
   * provided, it determines the cache key for storing the result based on the
   * arguments provided to the memoized function. By default, the first argument
   * provided to the memoized function is used as the map cache key. The `func`
   * is invoked with the `this` binding of the memoized function.
   *
   * **Note:** The cache is exposed as the `cache` property on the memoized
   * function. Its creation may be customized by replacing the `_.memoize.Cache`
   * constructor with one whose instances implement the
   * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
   * method interface of `clear`, `delete`, `get`, `has`, and `set`.
   *
   * @static
   * @memberOf _
   * @since 0.1.0
   * @category Function
   * @param {Function} func The function to have its output memoized.
   * @param {Function} [resolver] The function to resolve the cache key.
   * @returns {Function} Returns the new memoized function.
   * @example
   *
   * var object = { 'a': 1, 'b': 2 };
   * var other = { 'c': 3, 'd': 4 };
   *
   * var values = _.memoize(_.values);
   * values(object);
   * // => [1, 2]
   *
   * values(other);
   * // => [3, 4]
   *
   * object.a = 2;
   * values(object);
   * // => [1, 2]
   *
   * // Modify the result cache.
   * values.cache.set(object, ['a', 'b']);
   * values(object);
   * // => ['a', 'b']
   *
   * // Replace `_.memoize.Cache`.
   * _.memoize.Cache = WeakMap;
   */
  function memoize(func, resolver) {
    if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
      throw new TypeError(FUNC_ERROR_TEXT$2);
    }
    var memoized = function() {
      var args = arguments,
          key = resolver ? resolver.apply(this, args) : args[0],
          cache = memoized.cache;

      if (cache.has(key)) {
        return cache.get(key);
      }
      var result = func.apply(this, args);
      memoized.cache = cache.set(key, result) || cache;
      return result;
    };
    memoized.cache = new (memoize.Cache || MapCache);
    return memoized;
  }

  // Expose `MapCache`.
  memoize.Cache = MapCache;

  /**
   * The base implementation of `_.clamp` which doesn't coerce arguments.
   *
   * @private
   * @param {number} number The number to clamp.
   * @param {number} [lower] The lower bound.
   * @param {number} upper The upper bound.
   * @returns {number} Returns the clamped number.
   */
  function baseClamp(number, lower, upper) {
    if (number === number) {
      if (upper !== undefined) {
        number = number <= upper ? number : upper;
      }
      if (lower !== undefined) {
        number = number >= lower ? number : lower;
      }
    }
    return number;
  }

  /**
   * Clamps `number` within the inclusive `lower` and `upper` bounds.
   *
   * @static
   * @memberOf _
   * @since 4.0.0
   * @category Number
   * @param {number} number The number to clamp.
   * @param {number} [lower] The lower bound.
   * @param {number} upper The upper bound.
   * @returns {number} Returns the clamped number.
   * @example
   *
   * _.clamp(-10, -5, 5);
   * // => -5
   *
   * _.clamp(10, -5, 5);
   * // => 5
   */
  function clamp(number, lower, upper) {
    if (upper === undefined) {
      upper = lower;
      lower = undefined;
    }
    if (upper !== undefined) {
      upper = toNumber(upper);
      upper = upper === upper ? upper : 0;
    }
    if (lower !== undefined) {
      lower = toNumber(lower);
      lower = lower === lower ? lower : 0;
    }
    return baseClamp(toNumber(number), lower, upper);
  }

  /**
   * Gets the timestamp of the number of milliseconds that have elapsed since
   * the Unix epoch (1 January 1970 00:00:00 UTC).
   *
   * @static
   * @memberOf _
   * @since 2.4.0
   * @category Date
   * @returns {number} Returns the timestamp.
   * @example
   *
   * _.defer(function(stamp) {
   *   console.log(_.now() - stamp);
   * }, _.now());
   * // => Logs the number of milliseconds it took for the deferred invocation.
   */
  var now = function() {
    return root.Date.now();
  };

  /** Error message constants. */
  var FUNC_ERROR_TEXT$1 = 'Expected a function';

  /* Built-in method references for those with the same name as other `lodash` methods. */
  var nativeMax = Math.max,
      nativeMin = Math.min;

  /**
   * Creates a debounced function that delays invoking `func` until after `wait`
   * milliseconds have elapsed since the last time the debounced function was
   * invoked. The debounced function comes with a `cancel` method to cancel
   * delayed `func` invocations and a `flush` method to immediately invoke them.
   * Provide `options` to indicate whether `func` should be invoked on the
   * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
   * with the last arguments provided to the debounced function. Subsequent
   * calls to the debounced function return the result of the last `func`
   * invocation.
   *
   * **Note:** If `leading` and `trailing` options are `true`, `func` is
   * invoked on the trailing edge of the timeout only if the debounced function
   * is invoked more than once during the `wait` timeout.
   *
   * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
   * until to the next tick, similar to `setTimeout` with a timeout of `0`.
   *
   * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
   * for details over the differences between `_.debounce` and `_.throttle`.
   *
   * @static
   * @memberOf _
   * @since 0.1.0
   * @category Function
   * @param {Function} func The function to debounce.
   * @param {number} [wait=0] The number of milliseconds to delay.
   * @param {Object} [options={}] The options object.
   * @param {boolean} [options.leading=false]
   *  Specify invoking on the leading edge of the timeout.
   * @param {number} [options.maxWait]
   *  The maximum time `func` is allowed to be delayed before it's invoked.
   * @param {boolean} [options.trailing=true]
   *  Specify invoking on the trailing edge of the timeout.
   * @returns {Function} Returns the new debounced function.
   * @example
   *
   * // Avoid costly calculations while the window size is in flux.
   * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
   *
   * // Invoke `sendMail` when clicked, debouncing subsequent calls.
   * jQuery(element).on('click', _.debounce(sendMail, 300, {
   *   'leading': true,
   *   'trailing': false
   * }));
   *
   * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
   * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
   * var source = new EventSource('/stream');
   * jQuery(source).on('message', debounced);
   *
   * // Cancel the trailing debounced invocation.
   * jQuery(window).on('popstate', debounced.cancel);
   */
  function debounce(func, wait, options) {
    var lastArgs,
        lastThis,
        maxWait,
        result,
        timerId,
        lastCallTime,
        lastInvokeTime = 0,
        leading = false,
        maxing = false,
        trailing = true;

    if (typeof func != 'function') {
      throw new TypeError(FUNC_ERROR_TEXT$1);
    }
    wait = toNumber(wait) || 0;
    if (isObject(options)) {
      leading = !!options.leading;
      maxing = 'maxWait' in options;
      maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
      trailing = 'trailing' in options ? !!options.trailing : trailing;
    }

    function invokeFunc(time) {
      var args = lastArgs,
          thisArg = lastThis;

      lastArgs = lastThis = undefined;
      lastInvokeTime = time;
      result = func.apply(thisArg, args);
      return result;
    }

    function leadingEdge(time) {
      // Reset any `maxWait` timer.
      lastInvokeTime = time;
      // Start the timer for the trailing edge.
      timerId = setTimeout(timerExpired, wait);
      // Invoke the leading edge.
      return leading ? invokeFunc(time) : result;
    }

    function remainingWait(time) {
      var timeSinceLastCall = time - lastCallTime,
          timeSinceLastInvoke = time - lastInvokeTime,
          timeWaiting = wait - timeSinceLastCall;

      return maxing
        ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
        : timeWaiting;
    }

    function shouldInvoke(time) {
      var timeSinceLastCall = time - lastCallTime,
          timeSinceLastInvoke = time - lastInvokeTime;

      // Either this is the first call, activity has stopped and we're at the
      // trailing edge, the system time has gone backwards and we're treating
      // it as the trailing edge, or we've hit the `maxWait` limit.
      return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
        (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
    }

    function timerExpired() {
      var time = now();
      if (shouldInvoke(time)) {
        return trailingEdge(time);
      }
      // Restart the timer.
      timerId = setTimeout(timerExpired, remainingWait(time));
    }

    function trailingEdge(time) {
      timerId = undefined;

      // Only invoke if we have `lastArgs` which means `func` has been
      // debounced at least once.
      if (trailing && lastArgs) {
        return invokeFunc(time);
      }
      lastArgs = lastThis = undefined;
      return result;
    }

    function cancel() {
      if (timerId !== undefined) {
        clearTimeout(timerId);
      }
      lastInvokeTime = 0;
      lastArgs = lastCallTime = lastThis = timerId = undefined;
    }

    function flush() {
      return timerId === undefined ? result : trailingEdge(now());
    }

    function debounced() {
      var time = now(),
          isInvoking = shouldInvoke(time);

      lastArgs = arguments;
      lastThis = this;
      lastCallTime = time;

      if (isInvoking) {
        if (timerId === undefined) {
          return leadingEdge(lastCallTime);
        }
        if (maxing) {
          // Handle invocations in a tight loop.
          clearTimeout(timerId);
          timerId = setTimeout(timerExpired, wait);
          return invokeFunc(lastCallTime);
        }
      }
      if (timerId === undefined) {
        timerId = setTimeout(timerExpired, wait);
      }
      return result;
    }
    debounced.cancel = cancel;
    debounced.flush = flush;
    return debounced;
  }

  /** Error message constants. */
  var FUNC_ERROR_TEXT = 'Expected a function';

  /**
   * Creates a throttled function that only invokes `func` at most once per
   * every `wait` milliseconds. The throttled function comes with a `cancel`
   * method to cancel delayed `func` invocations and a `flush` method to
   * immediately invoke them. Provide `options` to indicate whether `func`
   * should be invoked on the leading and/or trailing edge of the `wait`
   * timeout. The `func` is invoked with the last arguments provided to the
   * throttled function. Subsequent calls to the throttled function return the
   * result of the last `func` invocation.
   *
   * **Note:** If `leading` and `trailing` options are `true`, `func` is
   * invoked on the trailing edge of the timeout only if the throttled function
   * is invoked more than once during the `wait` timeout.
   *
   * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
   * until to the next tick, similar to `setTimeout` with a timeout of `0`.
   *
   * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
   * for details over the differences between `_.throttle` and `_.debounce`.
   *
   * @static
   * @memberOf _
   * @since 0.1.0
   * @category Function
   * @param {Function} func The function to throttle.
   * @param {number} [wait=0] The number of milliseconds to throttle invocations to.
   * @param {Object} [options={}] The options object.
   * @param {boolean} [options.leading=true]
   *  Specify invoking on the leading edge of the timeout.
   * @param {boolean} [options.trailing=true]
   *  Specify invoking on the trailing edge of the timeout.
   * @returns {Function} Returns the new throttled function.
   * @example
   *
   * // Avoid excessively updating the position while scrolling.
   * jQuery(window).on('scroll', _.throttle(updatePosition, 100));
   *
   * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
   * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });
   * jQuery(element).on('click', throttled);
   *
   * // Cancel the trailing throttled invocation.
   * jQuery(window).on('popstate', throttled.cancel);
   */
  function throttle(func, wait, options) {
    var leading = true,
        trailing = true;

    if (typeof func != 'function') {
      throw new TypeError(FUNC_ERROR_TEXT);
    }
    if (isObject(options)) {
      leading = 'leading' in options ? !!options.leading : leading;
      trailing = 'trailing' in options ? !!options.trailing : trailing;
    }
    return debounce(func, wait, {
      'leading': leading,
      'maxWait': wait,
      'trailing': trailing
    });
  }

  function createTest(target) {
    return (test) => typeof test === "function" ? test() : typeof test === "string" ? target.includes(test) || test === "*" : test.test(target);
  }
  class Runtime {
    constructor() {
      this.getTopLocationHref = memoize(
        async () => {
          if (parent === self)
            return window.location.href;
          return new Promise((resolve) => {
            window.addEventListener("message", function once(e) {
              var _a;
              if (((_a = e.data) == null ? void 0 : _a.key) === "getLocationHref") {
                window.removeEventListener("message", once);
                resolve(e.data.url);
              }
            });
            parent.postMessage({ key: "getLocationHref" }, "*");
          });
        },
        () => window.location.href
      );
      this.list = [
        {
          domains: [],
          opts: [],
          search: {
            name: "[BT]\u871C\u67D1\u8BA1\u5212",
            search: (name) => `https://mikanani.me/Home/Search?searchstr=${name}`
          }
        }
      ];
      if (parent === self) {
        window.addEventListener("message", (e) => {
          var _a, _b;
          if (((_a = e.data) == null ? void 0 : _a.key) === "getLocationHref") {
            (_b = e.source) == null ? void 0 : _b.postMessage(
              { key: "getLocationHref", url: location.href },
              { targetOrigin: "*" }
            );
          }
        });
      }
    }
    register(item) {
      this.list.push(item);
    }
    async getSearchActions() {
      const isInIframe = parent !== self;
      const searchs = this.list.map((o) => o.search).filter(Boolean).filter((o) => !(isInIframe && o.disabledInIframe));
      const register = this.getActiveRegister();
      const info = await this.getCurrentVideoNameAndEpisode();
      if (!(info == null ? void 0 : info.name))
        return [];
      let name = info.name;
      return searchs.filter((search) => search !== register.search && search.search).map((search) => ({
        name: search.name,
        search: () => {
          const url = search.search(encodeURIComponent(name));
          if (!url)
            return;
          if (isInIframe)
            parent.postMessage({ key: "openLink", url }, "*");
          else
            window.open(url);
        }
      }));
    }
    async getCurrentVideoNameAndEpisode() {
      var _a, _b, _c, _d;
      const register = this.getActiveRegister();
      if (!((_a = register.search) == null ? void 0 : _a.getSearchName))
        return;
      let rawName = await register.search.getSearchName() || "";
      let episode = await ((_c = (_b = register.search).getEpisode) == null ? void 0 : _c.call(_b)) || "";
      let name = rawName.replace(/第.季/, "").replace(/[<>《》''‘’""“”\[\]]/g, "").trim();
      episode = ((_d = episode.match(/([0-9.]+)[集话]/)) == null ? void 0 : _d[1].replace(/^0+/, "")) || episode.replace(/[第集话()()]/g, "") || episode;
      return { name, rawName, episode };
    }
    getActiveRegister() {
      const registers = this.list.filter(
        ({ domains }) => domains.some(createTest(location.origin))
      );
      if (registers.length !== 1) {
        console.log(window.location, registers);
        throw new Error(`\u6FC0\u6D3B\u7684\u57DF\u540D\u5E94\u8BE5\u5C31\u4E00\u4E2A`);
      }
      console.log("\u6FC0\u6D3B\u7684Register", registers[0]);
      return registers[0];
    }
    getActiveOpts() {
      const register = this.getActiveRegister();
      return register.opts.filter(({ test }) => {
        const testArr = Array.isArray(test) ? test : [test];
        return testArr.some(createTest(location.pathname + location.search));
      });
    }
    run() {
      let setupList = [];
      let runList = [];
      const opts = this.getActiveOpts();
      opts.forEach((opt) => {
        const { run, setup, runInIframe } = opt;
        let needRun = runInIframe ? parent !== self : parent === self;
        if (needRun) {
          console.log("\u6FC0\u6D3B\u7684opt", opt);
          setup && setupList.push(setup);
          runList.push(run);
        }
      });
      const init = () => {
        setupList.forEach((setup) => setup());
        runList.forEach((run) => run());
      };
      if (document.readyState !== "loading") {
        init();
      } else {
        window.addEventListener("DOMContentLoaded", init);
      }
    }
  }
  const runtime = new Runtime();

  var css$e = "#k-player-message {\n  z-index: 999;\n  position: absolute;\n  left: 20px;\n  bottom: 60px;\n}\n#k-player-message .k-player-message-item {\n  display: block;\n  width: max-content;\n  padding: 8px 16px;\n  background: var(--k-player-background);\n  border-radius: 4px;\n  color: white;\n  font-size: 14px;\n  white-space: nowrap;\n  overflow: hidden;\n  box-sizing: border-box;\n  margin-top: 4px;\n}\n#k-player-message .k-player-message-item:hover {\n  background: var(--k-player-background-highlight);\n  transition: all 0.3s;\n}";
  n(css$e,{});

  class Message {
    constructor(selector) {
      this.MaxLength = 5;
      this.$message = $('<div id="k-player-message">');
      this.$message.appendTo($(selector));
    }
    info(message, ms = 1500) {
      if (this.$message.children().length > this.MaxLength) {
        this.$message.children().first().remove();
      }
      return new Promise((resolve) => {
        $(`<div class="k-player-message-item"></div>`).append(message).hide().appendTo(this.$message).show(150).delay(ms).hide(150, function() {
          $(this).remove();
          resolve();
        });
      });
    }
    destroy() {
      this.$message.empty();
    }
  }

  function parseTime(time = 0) {
    time = Math.round(time);
    return `${Math.floor(time / 60).toString().padStart(2, "0")}:${(time % 60).toString().padStart(2, "0")}`;
  }

  function createStorage$1(storage) {
    function getItem(key, defaultValue) {
      try {
        const value = storage.getItem(key);
        if (value)
          return JSON.parse(value);
        return defaultValue;
      } catch (error) {
        return defaultValue;
      }
    }
    return {
      getItem,
      setItem(key, value) {
        storage.setItem(key, JSON.stringify(value));
      },
      removeItem: storage.removeItem.bind(storage),
      clear: storage.clear.bind(storage)
    };
  }
  const session = createStorage$1(window.sessionStorage);
  const local = createStorage$1(window.localStorage);
  let gm;
  try {
    gm = { getItem: GM_getValue, setItem: GM_setValue };
  } catch (error) {
    gm = local;
  }

  var css$d = ".k-popover {\n  position: relative;\n}\n.k-popover-overlay {\n  position: absolute;\n  display: none;\n  bottom: 100%;\n  left: 50%;\n  transform: translateX(-50%);\n  z-index: 100;\n  padding-bottom: 20px;\n}\n.k-popover-content {\n  background: var(--k-player-background);\n  border-radius: 4px;\n  overflow-x: hidden;\n  overflow-y: auto;\n  cursor: initial;\n  max-height: var(--k-player-popover-max-height, 70vh);\n}\n.k-popover-content::-webkit-scrollbar {\n  display: none;\n}";
  n(css$d,{});

  function popover(target, overlay, trigger = "hover") {
    const $target = $(target);
    const $content = $(
      `<div class="k-popover-overlay"><div class="k-popover-content"></div></div>`
    );
    $content.on("click", (e) => e.stopPropagation());
    $content.find(".k-popover-content").append(overlay);
    $target.addClass("k-popover");
    $target.append($content);
    if (trigger === "click") {
      $target.on("click", () => {
        $content.fadeIn("fast");
        $target.addClass("k-popover-active");
      });
      window.addEventListener("click", (e) => {
        if (!$target[0].contains(e.target)) {
          $content.fadeOut("fast");
          $target.removeClass("k-popover-active");
        }
      });
    } else {
      let timeID;
      $target.on("mouseenter", () => {
        clearTimeout(timeID);
        timeID = window.setTimeout(() => {
          $content.fadeIn("fast");
          $target.addClass("k-popover-active");
        }, 100);
      });
      $target.on("mouseleave", () => {
        clearTimeout(timeID);
        timeID = window.setTimeout(() => {
          $content.fadeOut("fast");
          $target.removeClass("k-popover-active");
        }, 100);
      });
    }
    return $target;
  }

  const isMac$1 = /macintosh|mac os x/i.test(navigator.userAgent);
  const KeyMap = {
    ArrowUp: "\u2191",
    ArrowDown: "\u2193",
    ArrowLeft: "\u2190",
    ArrowRight: "\u2192",
    ctrl: "Ctrl",
    alt: "Alt",
    shift: "Shift"
  };
  const MacKeyMap = {
    ctrl: "\u2303",
    meta: "\u2318",
    alt: "\u2325",
    shift: "\u21E7"
  };
  if (isMac$1) {
    Object.assign(KeyMap, MacKeyMap);
  }
  function renderKey(key) {
    Object.entries(KeyMap).forEach(([k, v]) => {
      key = key.replace(new RegExp(k, "i"), v);
    });
    return key;
  }

  var Commands$1 = /* @__PURE__ */ ((Commands2) => {
    Commands2["forward5"] = "forward5";
    Commands2["backward5"] = "backward5";
    Commands2["forward30"] = "forward30";
    Commands2["backward30"] = "backward30";
    Commands2["forward60"] = "forward60";
    Commands2["backward60"] = "backward60";
    Commands2["forward90"] = "forward90";
    Commands2["backward90"] = "backward90";
    Commands2["togglePlay"] = "togglePlay";
    Commands2["next"] = "next";
    Commands2["prev"] = "prev";
    Commands2["toggleWidescreen"] = "toggleWidescreen";
    Commands2["Escape"] = "Escape";
    Commands2["restoreSpeed"] = "restoreSpeed";
    Commands2["increaseSpeed"] = "increaseSpeed";
    Commands2["decreaseSpeed"] = "decreaseSpeed";
    Commands2["temporaryIncreaseSpeed"] = "temporaryIncreaseSpeed";
    Commands2["togglePIP"] = "togglePIP";
    Commands2["internal"] = "internal";
    Commands2["help"] = "help";
    Commands2["prevFrame"] = "prevFrame";
    Commands2["nextFrame"] = "nextFrame";
    Commands2["toggleFullscreen"] = "toggleFullscreen";
    Commands2["decreaseVolume"] = "decreaseVolume";
    Commands2["increaseVolume"] = "increaseVolume";
    Commands2["toggleMute"] = "toggleMute";
    Commands2["forwardCustom"] = "forwardCustom";
    Commands2["backwardCustom"] = "backwardCustom";
    Commands2["recordCustomSeekTime"] = "recordCustomSeekTime";
    return Commands2;
  })(Commands$1 || {});

  var __defProp$3 = Object.defineProperty;
  var __defProps$2 = Object.defineProperties;
  var __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;
  var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
  var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
  var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
  var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
  var __spreadValues$3 = (a, b) => {
    for (var prop in b || (b = {}))
      if (__hasOwnProp$3.call(b, prop))
        __defNormalProp$3(a, prop, b[prop]);
    if (__getOwnPropSymbols$3)
      for (var prop of __getOwnPropSymbols$3(b)) {
        if (__propIsEnum$3.call(b, prop))
          __defNormalProp$3(a, prop, b[prop]);
      }
    return a;
  };
  var __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));
  const isMac = /macintosh|mac os x/i.test(navigator.userAgent);
  const DefaultKeyBindings = [
    { command: Commands$1.togglePlay, key: "Space", description: "\u64AD\u653E/\u6682\u505C" },
    {
      command: Commands$1.backward5,
      key: "ArrowLeft",
      description: "\u6B65\u90005s"
    },
    {
      command: Commands$1.forward5,
      key: "ArrowRight",
      description: "\u6B65\u8FDB5s"
    },
    {
      command: Commands$1.backward30,
      key: "shift ArrowLeft",
      description: "\u6B65\u900030s"
    },
    {
      command: Commands$1.forward30,
      key: "shift ArrowRight",
      description: "\u6B65\u8FDB30s"
    },
    {
      command: Commands$1.backward60,
      key: "alt ArrowLeft",
      description: "\u6B65\u900060s"
    },
    {
      command: Commands$1.forward60,
      key: "alt ArrowRight",
      description: "\u6B65\u8FDB60s"
    },
    {
      command: Commands$1.backward90,
      key: "ctrl ArrowLeft",
      mac: "meta ArrowLeft",
      description: "\u6B65\u900090s"
    },
    {
      command: Commands$1.forward90,
      key: "ctrl ArrowRight",
      mac: "meta ArrowRight",
      description: "\u6B65\u8FDB90s"
    },
    {
      command: Commands$1.backwardCustom,
      key: "shift J",
      description: "\u6B65\u9000[\u8BB0\u5FC6\u65F6\u95F4]"
    },
    { command: Commands$1.forwardCustom, key: "J", description: "\u6B65\u8FDB[\u8BB0\u5FC6\u65F6\u95F4]" },
    {
      command: Commands$1.recordCustomSeekTime,
      key: "K",
      description: "\u8BB0\u5F55\u6B65\u8FDB\u65F6\u95F4"
    },
    { command: Commands$1.prevFrame, key: "", description: "\u4E0A\u4E00\u5E27" },
    { command: Commands$1.nextFrame, key: "", description: "\u4E0B\u4E00\u5E27" },
    { command: Commands$1.prev, key: "P", description: "\u4E0A\u4E00\u96C6" },
    { command: Commands$1.next, key: "N", description: "\u4E0B\u4E00\u96C6" },
    { command: Commands$1.toggleWidescreen, key: "W", description: "\u5BBD\u5C4F" },
    {
      command: Commands$1.toggleFullscreen,
      key: "F",
      description: "\u5168\u5C4F"
    },
    {
      command: Commands$1.Escape,
      key: "Escape",
      editable: false,
      description: "\u9000\u51FA\u5168\u5C4F/\u5BBD\u5C4F"
    },
    { command: Commands$1.restoreSpeed, key: "Z", description: "\u539F\u901F\u64AD\u653E" },
    { command: Commands$1.decreaseSpeed, key: "X", description: "\u51CF\u901F\u64AD\u653E" },
    { command: Commands$1.increaseSpeed, key: "C", description: "\u52A0\u901F\u64AD\u653E" },
    {
      command: Commands$1.temporaryIncreaseSpeed,
      key: "V",
      description: "\u957F\u6309\u52A0\u901F"
    },
    { command: Commands$1.togglePIP, key: "I", description: "\u753B\u4E2D\u753B" },
    {
      command: Commands$1.increaseVolume,
      key: "ArrowUp",
      description: "\u589E\u5927\u97F3\u91CF"
    },
    {
      command: Commands$1.decreaseVolume,
      key: "ArrowDown",
      description: "\u51CF\u5C0F\u97F3\u91CF"
    },
    {
      command: Commands$1.toggleMute,
      key: "M",
      description: "\u5207\u6362\u9759\u97F3"
    },
    {
      command: Commands$1.internal,
      key: "?",
      editable: false,
      description: "\u663E\u793A\u5E2E\u52A9"
    }
  ];
  class KeyBindings {
    constructor() {
      this.storageKey = "user-custom-keybindings";
      this.listener = [];
    }
    getCustomKeyBindings() {
      return gm.getItem(this.storageKey, []);
    }
    setCustomKeyBindings(keyBindings) {
      gm.setItem(this.storageKey, keyBindings);
    }
    registerKeyBinding(keyBinding) {
      DefaultKeyBindings.push(keyBinding);
      this.notify();
    }
    setKeyBinding(command, key) {
      let customKeyBindings = this.getCustomKeyBindings();
      customKeyBindings = customKeyBindings.filter((o) => o.command !== command);
      if (key) {
        customKeyBindings.push({ command, key });
      }
      this.setCustomKeyBindings(customKeyBindings);
      this.notify();
    }
    getKeyBindings() {
      const customKeyBindings = this.getCustomKeyBindings();
      return DefaultKeyBindings.map((keyBinding) => {
        const customKeyBinding = customKeyBindings.find(
          (o) => o.command === keyBinding.command
        );
        const nextKeyBinding = __spreadProps$2(__spreadValues$3({}, keyBinding), { originKey: "", customKey: "" });
        if (isMac && nextKeyBinding.mac) {
          nextKeyBinding.key = nextKeyBinding.mac;
        }
        nextKeyBinding.originKey = nextKeyBinding.key;
        if (customKeyBinding) {
          nextKeyBinding.key = customKeyBinding.key;
          nextKeyBinding.customKey = customKeyBinding.key;
        }
        return nextKeyBinding;
      });
    }
    getKeyBinding(command) {
      const keyBindings = this.getKeyBindings();
      return keyBindings.find((o) => o.command === command);
    }
    getCommand(key) {
      var _a;
      const keyBindings = this.getKeyBindings();
      return (_a = keyBindings.find((o) => o.key === key)) == null ? void 0 : _a.command;
    }
    subscribe(cb) {
      this.listener.push(cb);
      return () => {
        this.listener = this.listener.filter((fn) => fn !== cb);
      };
    }
    notify() {
      this.listener.forEach((fn) => fn());
    }
  }

  function normalizeKeyEvent(e) {
    const SPECIAL_KEY_EN = "`-=[]\\;',./~!@#$%^&*()_+{}|:\"<>?".split("");
    const SPECIAL_KEY_ZH = "\xB7-=\u3010\u3011\u3001\uFF1B\u2018\uFF0C\u3002/\uFF5E\uFF01@#\xA5%\u2026&*\uFF08\uFF09\u2014+\u300C\u300D\uFF5C\uFF1A\u201C\u300A\u300B\uFF1F".split("");
    let key = e.key;
    if (e.code === "Space") {
      key = "Space";
    }
    if (/^[a-z]$/.test(key)) {
      key = key.toUpperCase();
    } else if (SPECIAL_KEY_ZH.includes(key)) {
      key = SPECIAL_KEY_EN[SPECIAL_KEY_ZH.indexOf(key)];
    }
    let keyArr = [];
    e.ctrlKey && keyArr.push("ctrl");
    e.metaKey && keyArr.push("meta");
    e.shiftKey && !SPECIAL_KEY_EN.includes(key) && keyArr.push("shift");
    e.altKey && keyArr.push("alt");
    if (!/Control|Meta|Shift|Alt/i.test(key))
      keyArr.push(key);
    keyArr = [...new Set(keyArr)];
    return keyArr.join(" ");
  }

  const _Shortcuts = class {
    constructor(player) {
      this.player = player;
      this.handleKeyEvent = (e) => {
        var _a;
        if (/input|textarea|select/i.test((_a = document.activeElement) == null ? void 0 : _a.tagName))
          return;
        const key = normalizeKeyEvent(e);
        const command = _Shortcuts.keyBindings.getCommand(key);
        if (command) {
          e.preventDefault();
          this.invoke(command, e);
        }
      };
      window.addEventListener("keydown", this.handleKeyEvent);
      window.addEventListener("keyup", this.handleKeyEvent);
    }
    static registerCommand(command, keydown, keyup) {
      this.commands.push({ command, keydown, keyup });
    }
    invoke(command, e) {
      var _a;
      const cmd = _Shortcuts.commands.find((cmd2) => cmd2.command === command);
      if (cmd) {
        const type = e.type === "keydown" ? "keydown" : "keyup";
        (_a = cmd[type]) == null ? void 0 : _a.call(this.player, e);
      }
    }
  };
  let Shortcuts = _Shortcuts;
  Shortcuts.Commands = Commands$1;
  Shortcuts.keyBindings = new KeyBindings();
  Shortcuts.commands = [];
  customElements.define(
    "k-shortcuts-tip",
    class extends HTMLElement {
      constructor() {
        super();
        this.node = document.createElement("span");
        const shadowRoot = this.attachShadow({ mode: "open" });
        shadowRoot.appendChild(this.node);
        this.unsubscribe = Shortcuts.keyBindings.subscribe(() => {
          this.renderKey();
        });
        this.renderKey();
      }
      renderKey() {
        const command = this.getAttribute("command");
        const kb = Shortcuts.keyBindings.getKeyBinding(command);
        if (kb) {
          this.node.textContent = renderKey(kb.key);
        }
      }
      disconnectedCallback() {
        this.unsubscribe();
      }
    }
  );
  function setup$1(player) {
    new Shortcuts(player);
  }

  const SHIFT_KEY = '~!@#$%^&*()_+{}|:"<>?\uFF5E\uFF01@#\xA5%\u2026&*\uFF08\uFF09\u2014\u2014+\u300C\u300D\uFF5C\uFF1A\u201C\u300A\u300B\uFF1F';
  function keybind(keys, cb) {
    const isMac = /macintosh|mac os x/i.test(navigator.userAgent);
    keys = keys.filter((key) => !key.includes(isMac ? "ctrl" : "meta"));
    $(window).on("keydown", (e) => {
      var _a;
      if (((_a = document.activeElement) == null ? void 0 : _a.tagName) === "INPUT")
        return;
      let keyArr = [];
      e.ctrlKey && keyArr.push("ctrl");
      e.metaKey && keyArr.push("meta");
      e.shiftKey && !SHIFT_KEY.includes(e.key) && keyArr.push("shift");
      e.altKey && keyArr.push("alt");
      if (!["Control", "Meta", "Shift", "Alt"].includes(e.key)) {
        keyArr.push(e.key);
      }
      keyArr = [...new Set(keyArr)];
      const key = keyArr.join("+");
      if (keys.includes(key)) {
        cb(e.originalEvent, key);
      }
    });
  }

  var css$c = ".k-modal {\n  position: fixed;\n  left: 0;\n  right: 0;\n  top: 0;\n  bottom: 0;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  z-index: 2147483647;\n  text-align: left;\n  animation: fadeIn 0.3s ease forwards;\n  color: rgba(0, 0, 0, 0.85);\n  font-family: system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;\n}\n@keyframes fadeIn {\n  from {\n    opacity: 0;\n  }\n  to {\n    opacity: 1;\n  }\n}\n.k-modal * {\n  color: inherit;\n}\n.k-modal-mask {\n  position: fixed;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  top: 0;\n  background: rgba(0, 0, 0, 0.45);\n  cursor: pointer;\n}\n.k-modal-wrap {\n  position: fixed;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  top: 0;\n  overflow: auto;\n  text-align: center;\n  user-select: none;\n}\n.k-modal-wrap::before {\n  content: \"\";\n  display: inline-block;\n  width: 0;\n  height: 100%;\n  vertical-align: middle;\n}\n.k-modal-container {\n  margin: 20px 0;\n  display: inline-block;\n  vertical-align: middle;\n  text-align: left;\n  position: relative;\n  width: 520px;\n  min-height: 100px;\n  background: white;\n  border-radius: 2px;\n  user-select: text;\n}\n.k-modal-header {\n  font-size: 16px;\n  border-bottom: 1px solid #f1f1f1;\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n}\n.k-modal-header-title {\n  padding: 16px;\n  font-weight: 500;\n}\n.k-modal-close {\n  cursor: pointer;\n  height: 55px;\n  width: 55px;\n  position: absolute;\n  right: 0;\n  top: 0;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  user-select: none;\n}\n.k-modal-close * {\n  color: rgba(0, 0, 0, 0.45);\n  transition: color 0.15s ease;\n}\n.k-modal-close:hover * {\n  color: rgba(0, 0, 0, 0.85);\n}\n.k-modal-body {\n  padding: 16px;\n  font-size: 14px;\n}\n.k-modal-footer {\n  padding: 10px 16px;\n  font-size: 14px;\n  border-top: 1px solid #f1f1f1;\n  display: flex;\n  justify-content: flex-end;\n}\n.k-modal-btn {\n  user-select: none;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  height: 32px;\n  line-height: 32px;\n  border-radius: 2px;\n  border: 1px solid #1890ff;\n  background: #1890ff;\n  color: white;\n  min-width: 64px;\n  cursor: pointer;\n  padding: 0 8px;\n}";
  n(css$c,{});

  function modal(opts) {
    const { title, content, onClose, onOk, afterClose, okText = "\u786E \u5B9A" } = opts;
    const store = {
      width: document.body.style.width,
      overflow: document.body.style.overflow
    };
    const ID = Math.random().toString(16).slice(2);
    $(`
<div class="k-modal ${opts.className || ""}" role="dialog" id="${ID}">
  <div class="k-modal-mask"></div>
  <div class="k-modal-wrap">
    <div class="k-modal-container" ${opts.width ? `style="width:${opts.width}px;"` : ""}>
      <div class="k-modal-header">
        <div class="k-modal-header-title"></div>
        <a class="k-modal-close">
          <svg viewBox="64 64 896 896" focusable="false" data-icon="close" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"></path></svg>
        </a>
      </div>
      <div class="k-modal-body">
      </div>
    </div>
  </div>
</div>`).appendTo("body");
    $("body").css({
      width: `calc(100% - ${window.innerWidth - document.body.clientWidth}px)`,
      overflow: "hidden"
    });
    if (title) {
      $(`#${ID} .k-modal-header-title`).append(title);
    } else
      $(`#${ID} .k-modal-header-title`).remove();
    $(`#${ID} .k-modal-body`).append(content);
    $(`#${ID} .k-modal-close`).on("click", () => {
      handleClose();
    });
    $(`#${ID} .k-modal-container`).on("click", (e) => {
      e.stopPropagation();
    });
    $(`#${ID} .k-modal-wrap`).on("click", () => {
      handleClose();
    });
    function reset() {
      $(`#${ID}`).remove();
      $("body").css(store);
      window.removeEventListener("keydown", fn, { capture: true });
      afterClose == null ? void 0 : afterClose();
    }
    function handleClose() {
      onClose == null ? void 0 : onClose();
      reset();
    }
    function handleOk() {
      onOk == null ? void 0 : onOk();
      reset();
    }
    function fn(e) {
      if (["Escape"].includes(e.key)) {
        e.stopPropagation();
        handleClose();
      }
    }
    window.addEventListener("keydown", fn, { capture: true });
    if (onOk) {
      $(`#${ID} .k-modal-container`).append(`
      <div class="k-modal-footer">
        <button class="k-modal-btn k-modal-ok">${okText}</button>
      </div>
    `);
      $(`#${ID} .k-modal-ok`).on("click", () => {
        handleOk();
      });
    }
  }

  var css$b = ".k-alert {\n  margin-bottom: 16px;\n  box-sizing: border-box;\n  color: black;\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: \"tnum\";\n  position: relative;\n  display: flex;\n  align-items: center;\n  padding: 8px 15px;\n  word-wrap: break-word;\n  border-radius: 2px;\n}\n.k-alert-icon {\n  margin-right: 8px;\n  display: block;\n  color: var(--k-player-primary-color);\n}\n.k-alert-content {\n  flex: 1;\n  min-width: 0;\n}\n.k-alert-info {\n  background-color: var(--k-player-primary-color-highlight);\n  border: 1px solid var(--k-player-primary-color);\n}";
  n(css$b,{});

  function alert(html) {
    return `<div class="k-alert k-alert-info">
  <svg class="k-alert-icon" viewBox="64 64 896 896" focusable="false" data-icon="info-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true">
    <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"></path>
  </svg>
  <div class="k-alert-content">
    <div class="k-alert-message">${html}</div>
  </div>
</div>`;
  }

  var css$a = ".k-tab {\n  flex: 1;\n  white-space: nowrap;\n  cursor: pointer;\n  text-align: center;\n  padding: 8px 16px;\n}\n.k-tabs {\n  display: flex;\n  position: relative;\n  border-bottom: 1px solid rgba(255, 255, 255, 0.2);\n}\n.k-tabs-wrapper {\n  text-align: left;\n  overflow: hidden;\n}\n.k-tabs-wrapper * {\n  box-sizing: border-box;\n}\n.k-tab-indicator {\n  position: absolute;\n  width: 0;\n  height: 1px;\n  left: 0;\n  bottom: -1px;\n  background-color: var(--k-player-primary-color);\n  transition: all 0.3s;\n}\n.k-tabs-panes {\n  display: flex;\n  flex-wrap: nowrap;\n  transition: all 0.3s;\n}\n.k-tab-pane {\n  flex: 0 0 100%;\n  width: 100%;\n  padding: 8px;\n  position: relative;\n}";
  n(css$a,{});

  function tabs(opts) {
    const tabsHTML = [];
    const tabsContentHTML = [];
    opts.forEach((tab, idx) => {
      const tabHTML = `<div class="k-tab" data-idx="${idx}">${tab.name}</div>`;
      const $contentHTML = $(
        `<div class="k-tab-pane ${tab.className || ""}"></div>`
      );
      $contentHTML.append(
        typeof tab.content === "function" ? tab.content() : tab.content
      );
      tabsHTML.push(tabHTML);
      tabsContentHTML.push($contentHTML);
    });
    const $root = $(`<div class="k-tabs-wrapper">
    <div class="k-tabs">
      ${tabsHTML.join("")}
      <div class="k-tab-indicator"></div>
    </div>
    <div class="k-tabs-panes"></div>
  </div>`);
    $root.find(".k-tabs-panes").append(...tabsContentHTML);
    const $indicator = $root.find(".k-tab-indicator");
    $root.find(".k-tab").on("click", (e) => {
      $root.find(".k-tab").removeClass("active");
      const $tab = $(e.target).addClass("active");
      const idx = parseInt($tab.attr("data-idx"));
      $root.find(".k-tabs-panes").css("transform", `translateX(-${idx * 100}%)`);
      function updateIndictor() {
        const width = $tab.outerWidth();
        if (width)
          $indicator.css({ width, left: idx * width });
        else
          requestAnimationFrame(updateIndictor);
      }
      updateIndictor();
    });
    $root.find(".k-tab:first").trigger("click");
    return $root;
  }

  var css$9 = ".script-info .k-modal-body {\n  padding: 0;\n}\n.script-info .k-modal-body * {\n  box-sizing: border-box;\n  font-size: 14px;\n  line-height: normal;\n  font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;\n}\n.script-info .k-modal-body table {\n  width: 100%;\n  border-spacing: 0;\n  border-collapse: separate;\n}\n.script-info .k-modal-body tbody tr td:first-child {\n  white-space: nowrap;\n  width: 85px;\n}\n.script-info .k-modal-body th,\n.script-info .k-modal-body td {\n  padding: 8px;\n  border-bottom: 1px solid #f1f1f1;\n  word-wrap: break-word;\n  word-break: break-all;\n}\n.script-info .k-modal-body .info-title {\n  font-weight: 600;\n  padding-top: 24px;\n}\n.script-info .k-modal-body a {\n  color: var(--k-player-primary-color);\n  margin: -4px 0 -4px -8px;\n  padding: 4px 8px;\n  border-radius: 4px;\n  text-decoration: none;\n  cursor: pointer;\n  display: inline-block;\n  white-space: nowrap;\n}\n.script-info .k-modal-body a:hover {\n  color: var(--k-player-primary-color);\n  text-decoration: underline;\n  background-color: var(--k-player-primary-color-highlight);\n}\n.script-info .k-modal-body .k-tabs {\n  border-bottom: 1px solid #f1f1f1;\n}\n.script-info .k-modal-body .shortcuts {\n  padding: 8px;\n}\n.script-info .k-modal-body .shortcuts-wrapper {\n  height: 400px;\n  padding: 0;\n  overflow-y: scroll;\n  position: relative;\n}\n.script-info .k-modal-body .shortcuts-wrapper::-webkit-scrollbar {\n  width: 8px;\n}\n.script-info .k-modal-body .shortcuts-wrapper::-webkit-scrollbar-thumb {\n  background: rgba(0, 0, 0, 0.15);\n  border-radius: 4px;\n}\n.script-info .k-modal-body .shortcuts-wrapper::-webkit-scrollbar-thumb:hover {\n  background-color: rgba(0, 0, 0, 0.45);\n}\n.script-info .k-modal-body .shortcuts th {\n  position: sticky;\n  background-color: white;\n  top: 0;\n  z-index: 1;\n}\n.script-info .k-modal-body .shortcuts .shortcuts-input-wrapper {\n  display: flex;\n  align-items: center;\n}\n.script-info .k-modal-body .shortcuts .k-input {\n  flex: 1;\n  padding: 4px 8px;\n  border-radius: 4px;\n}\n.script-info .k-modal-body .shortcuts a {\n  margin-left: 8px;\n}\n.script-info .k-modal-body .shortcuts .k-font-kbd {\n  font-family: consolas, monospace;\n}\n.script-info .k-modal-body .feature {\n  margin-bottom: 8px;\n}\n.script-info .k-modal-body .feature-title {\n  font-weight: 500;\n}\n.script-info .k-modal-body .feature-description {\n  color: #666;\n}";
  n(css$9,{});

  function genIssueURL({ title, body }) {
    const url = new URL(
      `https://github.com/IronKinoko/agefans-enhance/issues/new`
    );
    url.searchParams.set("title", title);
    url.searchParams.set("body", body);
    return url.toString();
  }
  const scriptInfo = (video) => {
    const githubIssueURL = genIssueURL({
      title: "\u{1F41B}[Bug]",
      body: issueBody(video == null ? void 0 : video.src)
    });
    return tabs([
      {
        name: "\u811A\u672C\u4FE1\u606F",
        content: `
    <table>
      <tbody>
      <tr><td>\u811A\u672C\u7248\u672C</td><td>${"1.43.6"}</td></tr>
      <tr>
        <td>\u811A\u672C\u4F5C\u8005</td>
        <td><a target="_blank" rel="noreferrer" href="https://github.com/IronKinoko">IronKinoko</a></td>
      </tr>
      <tr>
        <td>\u811A\u672C\u6E90\u7801</td>
        <td>
          <a target="_blank" rel="noreferrer" href="https://github.com/IronKinoko/agefans-enhance">GitHub</a>
          <a target="_blank" rel="noreferrer" href="https://github.com/IronKinoko/agefans-enhance/releases">\u66F4\u65B0\u8BB0\u5F55</a>
          </td>
      </tr>
      <tr>
        <td>\u62A5\u9519/\u610F\u89C1</td>
        <td>
          <a target="_blank" rel="noreferrer" href="${githubIssueURL}">GitHub Issues</a>
          <a target="_blank" rel="noreferrer" href="https://greasyfork.org/scripts/424023/feedback">Greasy Fork \u53CD\u9988</a>
        </td>
      </tr>
      <tr>
        <td>\u7279\u522B\u9E23\u8C22</td>
        <td>
          <a target="_blank" rel="noreferrer" href="https://www.dandanplay.com/">\u5F39\u5F39play</a>\u63D0\u4F9B\u5F39\u5E55\u670D\u52A1
        </td>
      </tr>
      ${video ? `<tr><td colspan="2" class="info-title">\u89C6\u9891\u4FE1\u606F</td></tr>
         <tr><td>\u89C6\u9891\u94FE\u63A5</td><td>${video.src}</td></tr>
         <tr><td>\u89C6\u9891\u4FE1\u606F</td><td>${video.videoWidth} x ${video.videoHeight}</td></tr>` : ""}
      </tbody>
    </table>
    `
      },
      {
        name: "\u5FEB\u6377\u952E",
        className: "shortcuts-wrapper",
        content: () => {
          const $root = $(`
          <div class="shortcuts">
            ${alert("\u81EA\u5B9A\u4E49\u6309\u952E\u7ACB\u5373\u751F\u6548\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u8F93\u5165\u6CD5")}

            <table>
              <thead>
                <tr>
                  <th>\u52A8\u4F5C</th>
                  <th>\u9ED8\u8BA4\u6309\u952E</th>
                  <th>\u81EA\u5B9A\u4E49</th>
                </tr>
              </thead>
              <colgroup>
                <col style="width:130px"></col>
                <col style="width:130px"></col>
                <col></col>
              </colgroup>
              <tbody></tbody>
            </table>
          </div>
        
        `);
          const keyBindings = Shortcuts.keyBindings.getKeyBindings();
          keyBindings.forEach((kb) => {
            const $tr = $(`
          <tr>
            <td>${kb.description}</td>
            <td><span class="k-font-kbd">${renderKey(kb.originKey)}</span></td>
            <td>
              <div class="shortcuts-input-wrapper">
                <input type="text" class="k-input k-font-kbd"><a>\u5220\u9664</a>
              </div>
            </td>
          </tr>
          `);
            if (kb.editable !== false) {
              $tr.find("input").val(renderKey(kb.customKey)).on("keydown", function(e) {
                e.stopPropagation();
                e.preventDefault();
                const key = normalizeKeyEvent(e.originalEvent);
                this.value = renderKey(key);
                Shortcuts.keyBindings.setKeyBinding(kb.command, key);
              });
              $tr.find("a").on("click", function(e) {
                $tr.find("input").val("");
                Shortcuts.keyBindings.setKeyBinding(kb.command, "");
              });
            } else {
              $tr.find("td").eq(2).html("\u4E0D\u652F\u6301\u81EA\u5B9A\u4E49");
            }
            $root.find("tbody").append($tr);
          });
          return $root;
        }
      },
      {
        name: "\u5B9E\u9A8C\u6027\u529F\u80FD",
        className: "feature-wrapper",
        content: () => `
      <div>
        ${alert("\u5B9E\u9A8C\u6027\u529F\u80FD\u53EF\u80FD\u5B58\u5728\u95EE\u9898\uFF0C\u4EC5\u4F9B\u5C1D\u8BD5")}

        <ul class="features">
          <li class="feature">
            <div class="feature-title">\u64AD\u653E\u672C\u5730\u6587\u4EF6</div>
            <div class="feature-desc">\u5C06\u672C\u5730\u6587\u4EF6\u62D6\u5165\u5230\u89C6\u9891\u533A\u57DF\uFF0C\u53EF\u4EE5\u64AD\u653E\u672C\u5730\u6587\u4EF6\uFF0C\u5E38\u7528\u4E8E\u64AD\u653E\u672C\u5730\u66F4\u9AD8\u6E05\u7684\u89C6\u9891</div>
          </li>
        <ul>
      </div>
      `
      }
    ]);
  };
  const issueBody = (src = "") => `# \u6587\u5B57\u63CF\u8FF0
<!-- \u5982\u679C\u6709\u9700\u8981\u989D\u5916\u63CF\u8FF0\uFF0C\u6216\u8005\u63D0\u610F\u89C1\u53EF\u4EE5\u5199\u5728\u4E0B\u9762\u7A7A\u767D\u5904 -->


# \u7F51\u5740\u94FE\u63A5
${window.location.href}

# \u89C6\u9891\u94FE\u63A5
${src}

# \u73AF\u5883
userAgent: ${navigator.userAgent}
\u811A\u672C\u7248\u672C: ${"1.43.6"}
`;

  const GlobalKey = "show-help-info";
  function help() {
    if (!document.fullscreenElement) {
      const video = $("#k-player")[0];
      if (parent !== self) {
        parent.postMessage(
          {
            key: GlobalKey,
            video: video ? {
              src: video.currentSrc,
              videoWidth: video.videoWidth,
              videoHeight: video.videoHeight
            } : null
          },
          "*"
        );
        return;
      }
      showHelp(video);
    }
  }
  function showHelp(video) {
    if ($(".script-info").length)
      return;
    modal({
      className: "script-info",
      title: "agefans Enhance",
      content: scriptInfo(video)
    });
  }
  keybind(["?", "\uFF1F"], help);
  window.addEventListener("message", (e) => {
    var _a;
    if (((_a = e.data) == null ? void 0 : _a.key) !== GlobalKey)
      return;
    showHelp(e.data.video);
  });

  function seekTime(duration) {
    return function() {
      this.currentTime = clamp(this.currentTime + duration, 0, this.plyr.duration);
      this.message.info(`\u6B65${duration < 0 ? "\u9000" : "\u8FDB"}${Math.abs(duration)}s`);
    };
  }
  Shortcuts.registerCommand(Commands$1.forward5, seekTime(5));
  Shortcuts.registerCommand(Commands$1.backward5, seekTime(-5));
  Shortcuts.registerCommand(Commands$1.forward30, seekTime(30));
  Shortcuts.registerCommand(Commands$1.backward30, seekTime(-30));
  Shortcuts.registerCommand(Commands$1.forward60, seekTime(60));
  Shortcuts.registerCommand(Commands$1.backward60, seekTime(-60));
  Shortcuts.registerCommand(Commands$1.forward90, seekTime(90));
  Shortcuts.registerCommand(Commands$1.backward90, seekTime(-90));
  Shortcuts.registerCommand(Commands$1.forwardCustom, function(e) {
    seekTime(+this.localConfig.customSeekTime).call(this, e);
  });
  Shortcuts.registerCommand(Commands$1.backwardCustom, function(e) {
    seekTime(-this.localConfig.customSeekTime).call(this, e);
  });
  Shortcuts.registerCommand(
    Commands$1.recordCustomSeekTime,
    (() => {
      let start = null;
      return function() {
        if (start === null) {
          start = this.currentTime;
          this.message.info("\u5F00\u59CB\u8BB0\u5F55\u81EA\u5B9A\u4E49\u8DF3\u8F6C\u65F6\u95F4");
        } else {
          this.configSaveToLocal(
            "customSeekTime",
            Math.abs(Math.round(this.currentTime - start))
          );
          this.message.info(
            `\u8BB0\u5F55\u6210\u529F\uFF0C\u81EA\u5B9A\u4E49\u8DF3\u8F6C\u65F6\u95F4\u4E3A${this.localConfig.customSeekTime}s`
          );
          start = null;
        }
      };
    })()
  );
  Shortcuts.registerCommand(Commands$1.prev, function() {
    this.trigger("prev");
  });
  Shortcuts.registerCommand(Commands$1.next, function() {
    this.trigger("next");
  });
  Shortcuts.registerCommand(Commands$1.toggleWidescreen, function() {
    if (this.plyr.fullscreen.active)
      return;
    this.toggleWidescreen();
  });
  Shortcuts.registerCommand(Commands$1.togglePlay, function() {
    this.plyr.togglePlay();
  });
  Shortcuts.registerCommand(Commands$1.Escape, function() {
    if (this.plyr.fullscreen.active || !this.isWideScreen)
      return;
    this.toggleWidescreen(false);
  });
  Shortcuts.registerCommand(
    Commands$1.restoreSpeed,
    (() => {
      let prevSpeed = 1;
      return function() {
        if (this.speed !== 1) {
          prevSpeed = this.speed;
          this.speed = 1;
        } else {
          if (this.speed !== prevSpeed) {
            this.speed = prevSpeed;
          }
        }
      };
    })()
  );
  function changeSpeed(diff) {
    return function() {
      let idx = this.speedList.indexOf(this.speed);
      const newIdx = clamp(idx + diff, 0, this.speedList.length - 1);
      if (newIdx === idx)
        return;
      const speed = this.speedList[newIdx];
      this.speed = speed;
    };
  }
  Shortcuts.registerCommand(Commands$1.increaseSpeed, changeSpeed(1));
  Shortcuts.registerCommand(Commands$1.decreaseSpeed, changeSpeed(-1));
  function createTemporaryIncreaseSpeed() {
    let prevSpeed = 1;
    let isIncreasingSpeed = false;
    return [
      function keydown(e) {
        if (!e.repeat || isIncreasingSpeed)
          return;
        isIncreasingSpeed = true;
        prevSpeed = this.speed;
        this.plyr.speed = 3;
        this.message.info("\u500D\u901F\u64AD\u653E\u4E2D", 500);
      },
      function keyup(e) {
        if (!isIncreasingSpeed)
          return;
        isIncreasingSpeed = false;
        this.plyr.speed = prevSpeed;
      }
    ];
  }
  Shortcuts.registerCommand(
    Commands$1.temporaryIncreaseSpeed,
    ...createTemporaryIncreaseSpeed()
  );
  Shortcuts.registerCommand(Commands$1.togglePIP, function() {
    this.plyr.pip = !this.plyr.pip;
  });
  Shortcuts.registerCommand(Commands$1.internal, function() {
  });
  function changeFrame(diff) {
    let fps = 30;
    let isSuspend = false;
    return function() {
      this.plyr.pause();
      this.currentTime = clamp(
        this.currentTime + diff / fps,
        0,
        this.plyr.duration
      );
      if (this.localConfig.autoplay) {
        if (!isSuspend) {
          this.plyr.play = ((play) => {
            isSuspend = true;
            return () => {
              isSuspend = false;
              this.plyr.play = play;
            };
          })(this.plyr.play);
        }
      }
      this.message.destroy();
      this.message.info(`${diff > 0 ? "\u4E0B" : "\u4E0A"}\u4E00\u5E27`);
    };
  }
  Shortcuts.registerCommand(Commands$1.prevFrame, changeFrame(-1));
  Shortcuts.registerCommand(Commands$1.nextFrame, changeFrame(1));
  Shortcuts.registerCommand(Commands$1.toggleFullscreen, function() {
    this.plyr.fullscreen.toggle();
  });
  Shortcuts.registerCommand(Commands$1.increaseVolume, function() {
    this.plyr.increaseVolume(0.05);
    this.message.info(`\u97F3\u91CF${Math.round(this.plyr.volume * 100)}%`);
  });
  Shortcuts.registerCommand(Commands$1.decreaseVolume, function() {
    this.plyr.decreaseVolume(0.05);
    this.message.info(`\u97F3\u91CF${Math.round(this.plyr.volume * 100)}%`);
  });
  Shortcuts.registerCommand(Commands$1.toggleMute, function() {
    this.plyr.muted = !this.plyr.muted;
    this.message.info(this.plyr.muted ? "\u9759\u97F3" : "\u53D6\u6D88\u9759\u97F3");
  });

  const icons = `
<svg
xmlns="http://www.w3.org/2000/svg"
style="position: absolute; width: 0px; height: 0px; overflow: hidden"
aria-hidden="true"
>
  <symbol id="next" viewBox="0 0 22 22">
    <path
      d="M16 5a1 1 0 00-1 1v4.615a1.431 1.431 0 00-.615-.829L7.21 5.23A1.439 1.439 0 005 6.445v9.11a1.44 1.44 0 002.21 1.215l7.175-4.555a1.436 1.436 0 00.616-.828V16a1 1 0 002 0V6C17 5.448 16.552 5 16 5z"
    ></path>
  </symbol>

  <symbol
    id="widescreen"
    viewBox="0 0 88 88"
    preserveAspectRatio="xMidYMid meet"
  >
    <defs>
      <clipPath id="__lottie_element_127">
        <rect width="88" height="88" x="0" y="0"></rect>
      </clipPath>
    </defs>
    <g clip-path="url(#__lottie_element_127)">
      <g
        transform="matrix(1,0,0,1,44,44)"
        opacity="1"
        style="display: block"
      >
        <g opacity="1" transform="matrix(1,0,0,1,0,0)">
          <path
            fill="rgb(255,255,255)"
            fill-opacity="1"
            d=" M-14,-20 C-14,-20 -26,-20 -26,-20 C-27.049999237060547,-20 -27.920000076293945,-19.18000030517578 -27.989999771118164,-18.149999618530273 C-27.989999771118164,-18.149999618530273 -28,-18 -28,-18 C-28,-18 -28,-6 -28,-6 C-28,-4.949999809265137 -27.18000030517578,-4.079999923706055 -26.149999618530273,-4.010000228881836 C-26.149999618530273,-4.010000228881836 -26,-4 -26,-4 C-26,-4 -22,-4 -22,-4 C-20.950000762939453,-4 -20.079999923706055,-4.820000171661377 -20.010000228881836,-5.849999904632568 C-20.010000228881836,-5.849999904632568 -20,-6 -20,-6 C-20,-6 -20,-12 -20,-12 C-20,-12 -14,-12 -14,-12 C-12.949999809265137,-12 -12.079999923706055,-12.819999694824219 -12.010000228881836,-13.850000381469727 C-12.010000228881836,-13.850000381469727 -12,-14 -12,-14 C-12,-14 -12,-18 -12,-18 C-12,-19.049999237060547 -12.819999694824219,-19.920000076293945 -13.850000381469727,-19.989999771118164 C-13.850000381469727,-19.989999771118164 -14,-20 -14,-20z M26,-20 C26,-20 14,-20 14,-20 C12.949999809265137,-20 12.079999923706055,-19.18000030517578 12.010000228881836,-18.149999618530273 C12.010000228881836,-18.149999618530273 12,-18 12,-18 C12,-18 12,-14 12,-14 C12,-12.949999809265137 12.819999694824219,-12.079999923706055 13.850000381469727,-12.010000228881836 C13.850000381469727,-12.010000228881836 14,-12 14,-12 C14,-12 20,-12 20,-12 C20,-12 20,-6 20,-6 C20,-4.949999809265137 20.81999969482422,-4.079999923706055 21.850000381469727,-4.010000228881836 C21.850000381469727,-4.010000228881836 22,-4 22,-4 C22,-4 26,-4 26,-4 C27.049999237060547,-4 27.920000076293945,-4.820000171661377 27.989999771118164,-5.849999904632568 C27.989999771118164,-5.849999904632568 28,-6 28,-6 C28,-6 28,-18 28,-18 C28,-19.049999237060547 27.18000030517578,-19.920000076293945 26.149999618530273,-19.989999771118164 C26.149999618530273,-19.989999771118164 26,-20 26,-20z M-22,4 C-22,4 -26,4 -26,4 C-27.049999237060547,4 -27.920000076293945,4.820000171661377 -27.989999771118164,5.849999904632568 C-27.989999771118164,5.849999904632568 -28,6 -28,6 C-28,6 -28,18 -28,18 C-28,19.049999237060547 -27.18000030517578,19.920000076293945 -26.149999618530273,19.989999771118164 C-26.149999618530273,19.989999771118164 -26,20 -26,20 C-26,20 -14,20 -14,20 C-12.949999809265137,20 -12.079999923706055,19.18000030517578 -12.010000228881836,18.149999618530273 C-12.010000228881836,18.149999618530273 -12,18 -12,18 C-12,18 -12,14 -12,14 C-12,12.949999809265137 -12.819999694824219,12.079999923706055 -13.850000381469727,12.010000228881836 C-13.850000381469727,12.010000228881836 -14,12 -14,12 C-14,12 -20,12 -20,12 C-20,12 -20,6 -20,6 C-20,4.949999809265137 -20.81999969482422,4.079999923706055 -21.850000381469727,4.010000228881836 C-21.850000381469727,4.010000228881836 -22,4 -22,4z M26,4 C26,4 22,4 22,4 C20.950000762939453,4 20.079999923706055,4.820000171661377 20.010000228881836,5.849999904632568 C20.010000228881836,5.849999904632568 20,6 20,6 C20,6 20,12 20,12 C20,12 14,12 14,12 C12.949999809265137,12 12.079999923706055,12.819999694824219 12.010000228881836,13.850000381469727 C12.010000228881836,13.850000381469727 12,14 12,14 C12,14 12,18 12,18 C12,19.049999237060547 12.819999694824219,19.920000076293945 13.850000381469727,19.989999771118164 C13.850000381469727,19.989999771118164 14,20 14,20 C14,20 26,20 26,20 C27.049999237060547,20 27.920000076293945,19.18000030517578 27.989999771118164,18.149999618530273 C27.989999771118164,18.149999618530273 28,18 28,18 C28,18 28,6 28,6 C28,4.949999809265137 27.18000030517578,4.079999923706055 26.149999618530273,4.010000228881836 C26.149999618530273,4.010000228881836 26,4 26,4z M28,-28 C32.41999816894531,-28 36,-24.420000076293945 36,-20 C36,-20 36,20 36,20 C36,24.420000076293945 32.41999816894531,28 28,28 C28,28 -28,28 -28,28 C-32.41999816894531,28 -36,24.420000076293945 -36,20 C-36,20 -36,-20 -36,-20 C-36,-24.420000076293945 -32.41999816894531,-28 -28,-28 C-28,-28 28,-28 28,-28z"
          ></path>
        </g>
      </g>
    </g>
  </symbol>

  <symbol
    id="widescreen-quit"
    viewBox="0 0 88 88"
    preserveAspectRatio="xMidYMid meet"
  >
    <defs>
      <clipPath id="__lottie_element_132">
        <rect width="88" height="88" x="0" y="0"></rect>
      </clipPath>
    </defs>
    <g clip-path="url(#__lottie_element_132)">
      <g
        transform="matrix(1,0,0,1,44,44)"
        opacity="1"
        style="display: block"
      >
        <g opacity="1" transform="matrix(1,0,0,1,0,0)">
          <path
            fill="rgb(255,255,255)"
            fill-opacity="1"
            d=" M-14,-20 C-14,-20 -18,-20 -18,-20 C-19.049999237060547,-20 -19.920000076293945,-19.18000030517578 -19.989999771118164,-18.149999618530273 C-19.989999771118164,-18.149999618530273 -20,-18 -20,-18 C-20,-18 -20,-12 -20,-12 C-20,-12 -26,-12 -26,-12 C-27.049999237060547,-12 -27.920000076293945,-11.180000305175781 -27.989999771118164,-10.149999618530273 C-27.989999771118164,-10.149999618530273 -28,-10 -28,-10 C-28,-10 -28,-6 -28,-6 C-28,-4.949999809265137 -27.18000030517578,-4.079999923706055 -26.149999618530273,-4.010000228881836 C-26.149999618530273,-4.010000228881836 -26,-4 -26,-4 C-26,-4 -14,-4 -14,-4 C-12.949999809265137,-4 -12.079999923706055,-4.820000171661377 -12.010000228881836,-5.849999904632568 C-12.010000228881836,-5.849999904632568 -12,-6 -12,-6 C-12,-6 -12,-18 -12,-18 C-12,-19.049999237060547 -12.819999694824219,-19.920000076293945 -13.850000381469727,-19.989999771118164 C-13.850000381469727,-19.989999771118164 -14,-20 -14,-20z M18,-20 C18,-20 14,-20 14,-20 C12.949999809265137,-20 12.079999923706055,-19.18000030517578 12.010000228881836,-18.149999618530273 C12.010000228881836,-18.149999618530273 12,-18 12,-18 C12,-18 12,-6 12,-6 C12,-4.949999809265137 12.819999694824219,-4.079999923706055 13.850000381469727,-4.010000228881836 C13.850000381469727,-4.010000228881836 14,-4 14,-4 C14,-4 26,-4 26,-4 C27.049999237060547,-4 27.920000076293945,-4.820000171661377 27.989999771118164,-5.849999904632568 C27.989999771118164,-5.849999904632568 28,-6 28,-6 C28,-6 28,-10 28,-10 C28,-11.050000190734863 27.18000030517578,-11.920000076293945 26.149999618530273,-11.989999771118164 C26.149999618530273,-11.989999771118164 26,-12 26,-12 C26,-12 20,-12 20,-12 C20,-12 20,-18 20,-18 C20,-19.049999237060547 19.18000030517578,-19.920000076293945 18.149999618530273,-19.989999771118164 C18.149999618530273,-19.989999771118164 18,-20 18,-20z M-14,4 C-14,4 -26,4 -26,4 C-27.049999237060547,4 -27.920000076293945,4.820000171661377 -27.989999771118164,5.849999904632568 C-27.989999771118164,5.849999904632568 -28,6 -28,6 C-28,6 -28,10 -28,10 C-28,11.050000190734863 -27.18000030517578,11.920000076293945 -26.149999618530273,11.989999771118164 C-26.149999618530273,11.989999771118164 -26,12 -26,12 C-26,12 -20,12 -20,12 C-20,12 -20,18 -20,18 C-20,19.049999237060547 -19.18000030517578,19.920000076293945 -18.149999618530273,19.989999771118164 C-18.149999618530273,19.989999771118164 -18,20 -18,20 C-18,20 -14,20 -14,20 C-12.949999809265137,20 -12.079999923706055,19.18000030517578 -12.010000228881836,18.149999618530273 C-12.010000228881836,18.149999618530273 -12,18 -12,18 C-12,18 -12,6 -12,6 C-12,4.949999809265137 -12.819999694824219,4.079999923706055 -13.850000381469727,4.010000228881836 C-13.850000381469727,4.010000228881836 -14,4 -14,4z M26,4 C26,4 14,4 14,4 C12.949999809265137,4 12.079999923706055,4.820000171661377 12.010000228881836,5.849999904632568 C12.010000228881836,5.849999904632568 12,6 12,6 C12,6 12,18 12,18 C12,19.049999237060547 12.819999694824219,19.920000076293945 13.850000381469727,19.989999771118164 C13.850000381469727,19.989999771118164 14,20 14,20 C14,20 18,20 18,20 C19.049999237060547,20 19.920000076293945,19.18000030517578 19.989999771118164,18.149999618530273 C19.989999771118164,18.149999618530273 20,18 20,18 C20,18 20,12 20,12 C20,12 26,12 26,12 C27.049999237060547,12 27.920000076293945,11.180000305175781 27.989999771118164,10.149999618530273 C27.989999771118164,10.149999618530273 28,10 28,10 C28,10 28,6 28,6 C28,4.949999809265137 27.18000030517578,4.079999923706055 26.149999618530273,4.010000228881836 C26.149999618530273,4.010000228881836 26,4 26,4z M28,-28 C32.41999816894531,-28 36,-24.420000076293945 36,-20 C36,-20 36,20 36,20 C36,24.420000076293945 32.41999816894531,28 28,28 C28,28 -28,28 -28,28 C-32.41999816894531,28 -36,24.420000076293945 -36,20 C-36,20 -36,-20 -36,-20 C-36,-24.420000076293945 -32.41999816894531,-28 -28,-28 C-28,-28 28,-28 28,-28z"
          ></path>
        </g>
      </g>
    </g>
  </symbol>

  <symbol id="question" width="1em" height="1em" viewBox="0 0 22 22">
    <path fill="currentColor" d="M6 16l-3 3V5a2 2 0 012-2h12a2 2 0 012 2v9a2 2 0 01-2 2H6zm4-4v2h2v-2h-2zm2-.998c0-.34.149-.523.636-.925.022-.018.296-.24.379-.31a5.81 5.81 0 00.173-.152C13.705 9.145 14 8.656 14 8a3 3 0 00-5.698-1.314c-.082.17-.153.41-.213.72A.5.5 0 008.581 8h1.023a.5.5 0 00.476-.348.851.851 0 01.114-.244A.999.999 0 0112 8c0 1.237-2 1.16-2 3h2z"></path>
  </symbol>
</svg>

<template id="plyr__next">
  <button
    class="plyr__controls__item plyr__control plyr__next plyr__custom"
    type="button"
    data-plyr="next"
    aria-label="Next"
  >
    <svg focusable="false">
      <use xlink:href="#next"></use>
    </svg>
    <span class="plyr__tooltip">\u4E0B\u4E00\u96C6(<k-shortcuts-tip command="${Shortcuts.Commands.next}"></k-shortcuts-tip>)</span>
  </button>
</template>

<template id="plyr__widescreen">
  <button
    class="plyr__controls__item plyr__control plyr__widescreen plyr__custom"
    type="button"
    data-plyr="widescreen"
    aria-label="widescreen"
  >
    <svg class="icon--not-pressed" focusable="false">
      <use xlink:href="#widescreen"></use>
    </svg>
    <svg class="icon--pressed" focusable="false">
      <use xlink:href="#widescreen-quit"></use>
    </svg>
    <span class="label--not-pressed plyr__tooltip">\u7F51\u9875\u5168\u5C4F(<k-shortcuts-tip command="${Shortcuts.Commands.toggleWidescreen}"></k-shortcuts-tip>)</span>
    <span class="label--pressed plyr__tooltip">\u9000\u51FA\u7F51\u9875\u5168\u5C4F(<k-shortcuts-tip command="${Shortcuts.Commands.toggleWidescreen}"></k-shortcuts-tip>)</span>
  </button>
</template>

`;
  $("body").append(icons);
  const loadingHTML = `
<div id="k-player-loading" style="display: none">
  <div class="k-player-center">
    <div class="k-player-tsuma"></div>
    <div class="lds-spinner">
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
    </div>  
  </div>
</div>
`;
  const errorHTML = `
<div id="k-player-error" style="display: none">
  <div class="k-player-center">
    <div class="k-player-error-img"></div>
    <div class="k-player-tsuma"></div>
    <div class="k-player-error-info"></div>
  </div>
</div>`;
  const pipHTML = `
<div id="k-player-pip" style="display: none">
  <div class="k-player-center">
    <div class="k-player-tsuma"></div>
  </div>
</div>`;
  const speedList = [0.5, 0.75, 1, 1.25, 1.5, 2, 2.5, 3, 3.5, 4];
  const speedHTML = popover(
    `
<div id="k-speed" class="plyr__controls__item k-popover k-text-btn">
  <span id="k-speed-text" class="k-text-btn-text">\u500D\u901F</span>
</div>
`,
    `<ul class="k-menu">
${[...speedList].reverse().map(
    (speed) => `<li class="k-menu-item k-speed-item" data-speed="${speed}">${speed}x</li>`
  ).join("")}
</ul>`
  );
  const settingsHTML = popover(
    `
<button id="k-settings" type="button" class="plyr__control plyr__controls__item">
  <svg><use href="#plyr-settings" /></svg>
</button>
`,
    `
<div class="k-settings-list">
  <label class="k-settings-item">
    <input type="checkbox" name="showSearchActions" />
    \u663E\u793A\u753B\u8D28
  </label>
  <label class="k-settings-item">
    <input type="checkbox" name="autoplay" />
    \u81EA\u52A8\u64AD\u653E
  </label>
  <label class="k-settings-item">
    <input type="checkbox" name="autoNext" />
    \u81EA\u52A8\u4E0B\u4E00\u96C6
  </label>
  <label class="k-settings-item">
    <input type="checkbox" name="showPlayLarge" />
    \u663E\u793A\u64AD\u653E\u56FE\u6807
  </label>
  <label class="k-settings-item">
    <input type="checkbox" name="continuePlay" />
    \u8BB0\u5FC6\u64AD\u653E\u4F4D\u7F6E
  </label>
  <label class="k-settings-item">
    <input type="checkbox" name="showProgress" />
    \u663E\u793A\u5E95\u90E8\u8FDB\u5EA6\u6761
  </label>
</div>
`
  );
  const searchActionsHTML = popover(
    `
<div class="plyr__controls__item k-popover k-text-btn">
  <span class="k-text-btn-text">\u753B\u8D28</span>
</div>
`,
    `<ul class="k-menu"></ul>`
  );
  const progressHTML = `
<div class="k-player-progress">
  <div class="k-player-progress-current"></div>
  <div class="k-player-progress-buffer"></div>
</div>
`;
  const i18n = {
    restart: "\u91CD\u64AD",
    rewind: "\u5FEB\u9000 {seektime}s",
    play: "\u64AD\u653E(\u7A7A\u683C\u952E)",
    pause: "\u6682\u505C(\u7A7A\u683C\u952E)",
    fastForward: "\u5FEB\u8FDB {seektime}s",
    seek: "Seek",
    seekLabel: "{currentTime} / {duration}",
    played: "\u5DF2\u64AD\u653E",
    buffered: "\u5DF2\u7F13\u51B2",
    currentTime: "\u5F53\u524D\u65F6\u95F4",
    duration: "\u7247\u957F",
    volume: "\u97F3\u91CF",
    mute: "\u9759\u97F3(M)",
    unmute: "\u53D6\u6D88\u9759\u97F3(M)",
    enableCaptions: "\u663E\u793A\u5B57\u5E55",
    disableCaptions: "\u9690\u85CF\u5B57\u5E55",
    download: "\u4E0B\u8F7D",
    enterFullscreen: "\u8FDB\u5165\u5168\u5C4F(F)",
    exitFullscreen: "\u9000\u51FA\u5168\u5C4F(F)",
    frameTitle: "\u6807\u9898\u540D\u79F0\uFF1A {title}",
    captions: "\u5B57\u5E55",
    settings: "\u8BBE\u7F6E",
    menuBack: "\u8FD4\u56DE\u4E0A\u7EA7",
    speed: "\u500D\u901F",
    normal: "1.0x",
    quality: "\u5206\u8FA8\u7387",
    loop: "\u5FAA\u73AF",
    start: "\u5F00\u59CB",
    end: "\u7ED3\u675F",
    all: "\u5168\u90E8",
    reset: "\u91CD\u7F6E",
    disabled: "\u7981\u7528",
    enabled: "\u542F\u7528",
    advertisement: "\u5E7F\u544A",
    qualityBadge: {
      2160: "4K",
      1440: "HD",
      1080: "HD",
      720: "HD",
      576: "SD",
      480: "SD"
    }
  };

  var css$8 = "#k-player-wrapper {\n  position: relative;\n  width: 100%;\n  height: 100%;\n  background: #000;\n  overflow: hidden;\n  font-size: 14px;\n  --k-player-error-background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWEAAAEQCAMAAABWXzWBAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAB+UExURUdwTP/v3zJRbd6wpUZuiR4eJZKUmcbGxispL8bIzQoHCJqanhQUGEFkfaysr6Khpb+/wTBGWSAQET4iJLa3ujc5P4F9gMPExyYwPouLjmJVWX1fX08vMUtJTWhHQP///y8XGWhmaXhydOfm5uTEts+mmuLX0aN9c/fi07uUioFWbdMAAAABdFJOUwBA5thmAAAgAElEQVR42uyd6XKjOhCFp1xBrBYCCwnhcMs4VX7/R7xqSYDA4CWB2I7VMzUVk+THfD45vagh//65cOHChQsXLly4cOHChYv3i/3ucDjs9g7EarHLIxmO8ZqAC1Yoxg7GKh5xiALsE+EYryfhhPkyKAuiKD98OiKLE44K6qvAjScZ7yrHZFmTyKOj30ZaJ84qVjCJtCPsE1SAjJ1VLGsSxLeCaKtwYBaLQ1T5w0hr58bL2rAYEfZp49x4SZPwsH8WAgo31+OtYsM6eKyKCpfwVrFhY8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L6cFXPpTqmc335SHd5shtfLw5ejlU47PuIm7ZOS/Ypdzviv8vC+IaHgDZVHfwl0bxcg1+rqLYjfgJhL83l6AesccQ9BW8/eN0KMIE9tT/u+nZqcsHav0Q4fDrHWM8hFHDmZRo/vmzIKU+N/3ezcI/3pNFbb/gsSsSb1wLyRxti/Wxf4Cqio6zxtotzj+/bU+N4kHUUeXh8+fPjw4cOHDx8+fPjw8WfifzujtuTxyJZ/AAAAAElFTkSuQmCC);\n  --k-player-tsuma-length: 2;\n  --plyr-line-height: 1;\n  --plyr-tooltip-background: var(--k-player-background);\n  --plyr-tooltip-color: var(--k-player-color);\n  --plyr-range-thumb-background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAGSUExURUdwTMnHx+vr6oyMjOnp6eTl5dbW1ry8wNXV1efl5O3t7ePj5NnZ2cTDw/Hx8Ozs7Onp6XFfcePj5OPj5OLi4tbW1ubm5t/f4M7NzuPj4+7u7t3d3eHj4+bl5eLi4+Hh4drc3NTU1M/Pz9DOzuHh4RESFQ8QEw0OERcXGOvq6iYlJh0bG87MyeHg3lRRThMUFsbDwGJfXYyJhiAfIHl2cdjW0y4rJ0FAPzIxMxscJvB5ZJiVkri1sqajoEpDbRMtPxIXGyckGelkXrGuq768ubWxrXNwbm9boYNzww6c4gGu8sdeVhNffJibTfOQYNWLS3zDkuymQz0yIJzMWd7ZTLq+RGN/QoOAfG9raKyqqYNltXZGPBllkTWJ1Wk1MWOEzCZMWAK8+AWTv8x5VAxMRRa8o7jQjTeKUFjKw6pwPaRaR7SEM8DOWFNeLU5EIv22RE9cnmItMQd2prJOTCGDpVNurGSk3TS380E5Vwlwj3d6toaXcHGilAh3cH3EYk7AdmlBMUrFnZd3J3NsK49rKEY6HBLcix4AAAAqdFJOUwAV9AfFuCYNMv/oqkUg+8nTA5OfblDggEBi2lyLv7V1dmdlfmj//////gxP1k4AAAKHSURBVDjLtZRXc9pAFIWFQAKJXl2x03bVCwgJ0XHDvfcS917Te+LU/50VMI7BJjN5yNFodnb0Sbv37LnCsH+S00UGb09J5z1MGKdDtpupJ04TrjvQE65QoEJke0ck0uEhu2hxgIvbmhhv5yDPJjka5yzRPjUtFHxdTVAHl2CglsxVErKcSOVW0wyTlkKNjM0h8hCgi2EYdAMWAsCu+hv2ThK+JGgWU/F139qVK0Al0YeaBPkc57ipkPRLK8odBlFsigrUKaebSoB7GEQpFaruQ4RbBi0EkSu91cU68xpsSfGDnSSC2iiZAS0FZaoNOeQfEuBfICEfsGEevMLUlhdqFSrVAUKlVgyTwqNYr5S2IOX5y/HTOQCEi6Oj/TKApYkXG6UqlJa6sbBoWG9s9vdnp6bn2KX5L9cHn8ul3bGx0acl9AQaIoHFVas2YRwxU7M/Lxfn52e+Hey/30HM1rMygjQ1gDksCBr92dOv01dnPxbOl5Zmjid2d0YnXo8MZ6AFxbDa8Wvj2U1wcvX9YmGxj5853n71doN5hyDLKdGPuXUTLaesZ/dOZmd/9S0uTE4efspsv9kqDq8VrTJNvQeL1Lxk1/emzy4BnJs8P/xownLxw8haMWNVZ7npoutJEvqspAHWMKpjxuSVqgVJ2oPZ3aLZ4DiEt0doqHGUzyieVFofC0hRVjvYw1Ki5eExst5TDbrXobcKHZTFWD2aLoe0bMC7GWe0FT0WrWc86A3jaspkUTfVUWi1FZ8YouLtf9rFHiVwvZCSTV4TWJYVNCOdyKlS4HFjozs93Q5a0sXB/MDAUF4VJTzmfuS9798TfRAK9xAE4Q63PWz3Blv+pYJ2pCAWxP6PfgNybqCJigGJ+wAAAABJRU5ErkJggg==) no-repeat\n    center/contain;\n  --plyr-range-thumb-width: 18px;\n  --plyr-range-thumb-height: 18px;\n  --plyr-color-main: var(--k-player-primary-color);\n}\n#k-player-wrapper .plyr--full-ui.plyr--video input[type=range] {\n  cursor: pointer;\n}\n#k-player-wrapper .plyr--full-ui.plyr--video input[type=range]::-webkit-slider-thumb {\n  transform: scale(0);\n}\n#k-player-wrapper .plyr--full-ui.plyr--video input[type=range]:hover::-webkit-slider-thumb {\n  transform: scale(1);\n}\n#k-player-wrapper .plyr--full-ui.plyr--video input[type=range]:active::-webkit-slider-thumb {\n  transition: all 0.1s linear;\n  box-shadow: none;\n}\n#k-player-wrapper .plyr--full-ui.plyr--video input[type=range].shake-0:active::-webkit-slider-thumb {\n  transform: scale(1.3) rotate(15deg);\n}\n#k-player-wrapper .plyr--full-ui.plyr--video input[type=range].shake-1:active::-webkit-slider-thumb {\n  transform: scale(1.3) rotate(-15deg);\n}\n#k-player-wrapper.k-player-widescreen {\n  position: fixed;\n  left: 0;\n  top: 0;\n  z-index: 10000;\n}\n#k-player-wrapper .k-player-contianer {\n  width: 100%;\n  height: 100%;\n}\n#k-player-wrapper .k-player-controls-spacer {\n  flex: 1;\n}\n#k-player-wrapper #k-player-loading,\n#k-player-wrapper #k-player-error {\n  position: absolute;\n  left: 0;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  z-index: 10;\n  font-size: 66px;\n  color: white;\n  pointer-events: none;\n  background: black;\n}\n#k-player-wrapper .k-player-error-img {\n  background: var(--k-player-error-background) no-repeat center/contain;\n  width: 200px;\n  height: 200px;\n  opacity: 0.4;\n}\n#k-player-wrapper .k-player-error-info {\n  text-align: center;\n  padding: 24px;\n  font-size: 18px;\n}\n#k-player-wrapper #k-player-pip {\n  position: absolute;\n  left: 0;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  z-index: 10;\n  pointer-events: none;\n}\n#k-player-wrapper .k-player-tsuma {\n  width: 200px;\n  height: 200px;\n  position: absolute;\n  bottom: 0;\n  right: 0;\n  background: no-repeat center/contain;\n  opacity: 0.1;\n  z-index: -1;\n  pointer-events: none;\n}\n#k-player-wrapper .k-player-tsuma[data-bg-idx=\"0\"] {\n  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATYAAAE2CAMAAADcYk6bAAAABGdBTUEAALGPC/xhBQAAAAFzUkd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1K9RE0gimlRDzBtXBt7542tstNc8KN/IHFzezRVS2Z1xFvWarZD5KRvr5DzV5vXoqWtJfH1c/fN+/Rdxh/FeasVwlbQnhm2fnw+0y7QuJmNDDqTFzr6V1VjOxYr0djqtH7KRt4oo0Pi4rYHpKaKFgIIO0yFO1gsnEtICxJFjtTunIkemNqjIjM9nv0M85+Bxg1fVV3bHmFN2rEaCdUVBYZNVOihV0c4UegwgmEUKn5RfTfHx0HJxYUd7m7aziKo9N9z2SKi1k5We1vUNU2DU1Iy0jGbGbaX6eLwOjwyebyF7Q+EDaStGukQ60JMxxxRp/qN+Psib6/TXO5lh9GO2SzyX9iScdJ+yc6/Q5BgbHF3WgWG44+DrnTOAVudZkHGzeTxBlulXMLRzizBmmmhtLQE/y3ErWgdyNxHt254+5IkbxIHC7cHQxG9tpCqojFtfXkSNqykI61iwJZnzzILMm76iNJga7hdA2kT2NjD9WFozTxRp+ukvtzcC+9cWsq0aiLJu5Zu1Le3yXonUztG1nZIW9rmuBj6hl9X2BlX6pGWgo5q9TfYpLStpGfYVnKoR75gnacQt3K8xHZTH7YuS8ZwJCAWtrXtu4+OiWdlkeK3sMVTe+D6ByzYsqLdvun7ZuA3iZlT30L4hH+AlH60kAnxVQAAAABJRU5ErkJggg==);\n}\n#k-player-wrapper .k-player-tsuma[data-bg-idx=\"1\"] {\n  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATYAAAE2CAMAAADcYk6bAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAB+UExURUdwTMKHkf++sQYGBgEBATs3PP///wAAAP/v38bGxg4ODhYVFfapocPDwx8dHjIwMEdFRSgmJ2FeXlRRUW5ra728vIeHh3p6eZSUlKqqqaCgn+zs7LOzs/bi09TT08O0rZ3D0dF2eeTVyOHg4MHc76Btb9THusOco+GXkseRisc763UAAAAIdFJOUwD///////+AFXA4nwAAIABJREFUeNrsnImuozYUhhsxngy2vLJzKZGKMnn/N6wXEpYY7IDvTCJx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L1fu0B6AV1xYHi8+cjNfpB7u6LA08Z81B+Rlz8QPYOnbt+QIVlUrnzpAaF3Zuxt78RZ4FHb2t+HHz+MM6a/kKlxsX1hZ7C1s8WHFParXE6VJqhqbhtKQfqQPbvYUt4xN6dnHdTUuZj0VPz9/QIP21bZe/C/SjdFknXJ+N2uXeyWgxeWYa0tsX54QcL+3UYiMPNguTiqt5N4nxnE8Qfed6T49Ryfxmhj+OMNE8OOYR7XJFlr+RW/AI8QVXV93g8SdlBuSPsfE2iJ5X68aqjj6ATTyALfEJSisxHs6wdfl00cUzX00/T4bNm20WhZB/zSd3eUq1M56D54mbSSnx4GgMrmBUVdhEMhfzA9hi49ZrcToECA+kGgr7XS56Dkjp/bC8s7R+aCqYNp5EwyWZTPMqrZNgfhUob0wbhgfs97Alxq23DSroDmRxK86sApOk55NmlYTt0KXq8pPjAAUGsjMPNkPRcUyiGoinsDU/gI2JeEiNGWFrd3AHei9NIJrKB79W+xsjWRK2G/rBb84C8NyQhH921xm36ca0YXRwC5u8lzYZaog8kx2EWimha32nY/CXQykd5fzdPSLjSsc2zz/8i1jbTa8Q6KSq/8Uj2C6fIMnMSbP8FGcxm+JibBdD81jJXngFPhsivH4NW5IDaYPpXzN8guP96itpk82vYOsochYKRR2rkY0or1g0HR0BiXdanvMi1yz9L2BLt2QvwocNtfgmIM1J2w9hs66UMcP79zPR14iKtBkc4qMvEBynjY1P49Hv1z1Plrb9464k4gRY/YdOpS3B8TYB4sHWsM7MRLaUHWy6rinvWDyfOCLyEMNv87hsaX7H+/n81/9ZNrkhKCpo7gAAAABJRU5ErkJggg==);\n}\n#k-player-wrapper .k-player-center {\n  width: 100%;\n  height: 100%;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n}\n#k-player-wrapper #k-player-header {\n  transform: translateY(0);\n  transition: transform 0.3s;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  padding: 8px;\n  text-align: right;\n}\n#k-player-wrapper #k-player-header .k-player-question-icon {\n  font-size: 24px;\n  width: 1em;\n  height: 1em;\n  color: white;\n  cursor: pointer;\n}\n#k-player-wrapper .plyr--hide-controls #k-player-header {\n  transform: translateY(-100%);\n}\n#k-player-wrapper .plyr {\n  width: 100%;\n  height: 100%;\n}\n#k-player-wrapper .plyr__control svg {\n  font-size: 18px;\n}\n#k-player-wrapper video {\n  display: block;\n}\n#k-player-wrapper .plyr__next svg {\n  transform: scale(1.7);\n}\n#k-player-wrapper .plyr__widescreen svg {\n  transform: scale(1.3);\n}\n#k-player-wrapper .plyr--hide-cursor {\n  cursor: none;\n}\n#k-player-wrapper .plyr__control span:not(.plyr__tooltip) {\n  color: inherit;\n}\n#k-player-wrapper .plyr--hide-controls .k-player-progress {\n  opacity: 1;\n  transition: opacity 0.3s ease-in 0.2s;\n}\n#k-player-wrapper .k-player-fullscreen .k-player-progress,\n#k-player-wrapper .k-player-fullscreen [data-plyr=widescreen] {\n  display: none;\n}\n#k-player-wrapper .k-player-progress {\n  opacity: 0;\n  transition: opacity 0.2s ease-out;\n  height: 2px;\n  width: 100%;\n  position: absolute;\n  bottom: 0;\n}\n#k-player-wrapper .k-player-progress .k-player-progress-current {\n  position: absolute;\n  left: 0;\n  top: 0;\n  height: 100%;\n  z-index: 2;\n  background-color: var(--k-player-primary-color);\n}\n#k-player-wrapper .k-player-progress .k-player-progress-buffer {\n  position: absolute;\n  left: 0;\n  top: 0;\n  z-index: 1;\n  height: 100%;\n  background-color: var(--plyr-video-progress-buffered-background, rgba(255, 255, 255, 0.25));\n}\n#k-player-wrapper .plyr__controls {\n  z-index: 20;\n}\n#k-player-wrapper .plyr__controls .plyr__controls__item:first-child {\n  margin-right: 0;\n}\n#k-player-wrapper .plyr__controls .plyr__controls__item.plyr__progress__container {\n  position: absolute;\n  top: 15px;\n  left: 10px;\n  right: 10px;\n  --plyr-range-track-height: 2px;\n}\n#k-player-wrapper .plyr__controls .plyr__controls__item.plyr__progress__container:hover {\n  --plyr-range-track-height: 4px;\n}\n#k-player-wrapper .plyr__controls .k-text-btn {\n  display: inline-block;\n  padding: 0 8px;\n  text-align: center;\n}\n#k-player-wrapper .plyr__controls .k-text-btn-text {\n  line-height: 32px;\n  user-select: none;\n}\n@media (max-width: 576px) {\n  #k-player-wrapper .plyr__controls {\n    padding-top: 30px;\n  }\n  #k-player-wrapper [data-plyr=pip],\n  #k-player-wrapper [data-plyr=widescreen],\n  #k-player-wrapper .plyr__volume {\n    display: none;\n  }\n}\n\n.lds-spinner {\n  color: official;\n  display: inline-block;\n  position: relative;\n  width: 80px;\n  height: 80px;\n}\n.lds-spinner div {\n  transform-origin: 40px 40px;\n  animation: lds-spinner 1.2s linear infinite;\n}\n.lds-spinner div::after {\n  content: \" \";\n  display: block;\n  position: absolute;\n  top: 3px;\n  left: 37px;\n  width: 6px;\n  height: 18px;\n  border-radius: 20%;\n  background: #fff;\n}\n.lds-spinner div:nth-child(1) {\n  transform: rotate(0deg);\n  animation-delay: -1.1s;\n}\n.lds-spinner div:nth-child(2) {\n  transform: rotate(30deg);\n  animation-delay: -1s;\n}\n.lds-spinner div:nth-child(3) {\n  transform: rotate(60deg);\n  animation-delay: -0.9s;\n}\n.lds-spinner div:nth-child(4) {\n  transform: rotate(90deg);\n  animation-delay: -0.8s;\n}\n.lds-spinner div:nth-child(5) {\n  transform: rotate(120deg);\n  animation-delay: -0.7s;\n}\n.lds-spinner div:nth-child(6) {\n  transform: rotate(150deg);\n  animation-delay: -0.6s;\n}\n.lds-spinner div:nth-child(7) {\n  transform: rotate(180deg);\n  animation-delay: -0.5s;\n}\n.lds-spinner div:nth-child(8) {\n  transform: rotate(210deg);\n  animation-delay: -0.4s;\n}\n.lds-spinner div:nth-child(9) {\n  transform: rotate(240deg);\n  animation-delay: -0.3s;\n}\n.lds-spinner div:nth-child(10) {\n  transform: rotate(270deg);\n  animation-delay: -0.2s;\n}\n.lds-spinner div:nth-child(11) {\n  transform: rotate(300deg);\n  animation-delay: -0.1s;\n}\n.lds-spinner div:nth-child(12) {\n  transform: rotate(330deg);\n  animation-delay: 0s;\n}\n\n@keyframes lds-spinner {\n  0% {\n    opacity: 1;\n  }\n  100% {\n    opacity: 0;\n  }\n}";
  n(css$8,{});

  var __defProp$2 = Object.defineProperty;
  var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
  var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
  var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
  var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
  var __spreadValues$2 = (a, b) => {
    for (var prop in b || (b = {}))
      if (__hasOwnProp$2.call(b, prop))
        __defNormalProp$2(a, prop, b[prop]);
    if (__getOwnPropSymbols$2)
      for (var prop of __getOwnPropSymbols$2(b)) {
        if (__propIsEnum$2.call(b, prop))
          __defNormalProp$2(a, prop, b[prop]);
      }
    return a;
  };
  const MediaErrorMessage = {
    1: "\u4F60\u4E2D\u6B62\u4E86\u5A92\u4F53\u64AD\u653E",
    2: "\u7F51\u7EDC\u9519\u8BEF",
    3: "\u6587\u4EF6\u635F\u574F",
    4: "\u8D44\u6E90\u6709\u95EE\u9898\u770B\u4E0D\u4E86",
    5: "\u8D44\u6E90\u88AB\u52A0\u5BC6\u4E86"
  };
  const defaultConfig = {
    customSeekTime: 89,
    speed: 1,
    continuePlay: true,
    autoNext: true,
    showProgress: true,
    volume: 1,
    showSearchActions: true,
    autoplay: true,
    showPlayLarge: false
  };
  const _KPlayer = class {
    constructor(selector, opts = {}) {
      this.isHoverControls = false;
      this.speedList = speedList;
      this.setCurrentTimeLogThrottled = throttle(() => {
        if (this.currentTime > 3)
          this.setCurrentTimeLog();
      }, 1e3);
      this.hideControlsDebounced = debounce(() => {
        const dom = document.querySelector(".plyr");
        if (!this.isHoverControls)
          dom == null ? void 0 : dom.classList.add("plyr--hide-controls");
      }, 1e3);
      this.hideCursorDebounced = debounce(() => {
        const dom = document.querySelector(".plyr");
        dom == null ? void 0 : dom.classList.add("plyr--hide-cursor");
      }, 1e3);
      this.isJumped = false;
      this.opts = opts;
      this.$wrapper = $('<div id="k-player-wrapper"/>').replaceAll(selector);
      this.$loading = $(loadingHTML);
      this.$error = $(errorHTML);
      this.$pip = $(pipHTML);
      this.$video = (opts.video ? $(opts.video) : $("<video />")).attr({ id: "k-player", playsinline: true });
      this.$progress = $(progressHTML);
      this.$header = $('<div id="k-player-header"/>');
      this.$wrapper.append(this.$video);
      this.localConfigKey = "kplayer";
      this.statusSessionKey = "k-player-status";
      this.localPlayTimeKey = "k-player-play-time";
      this.localConfig = Object.assign(
        {},
        defaultConfig,
        gm.getItem(this.localConfigKey)
      );
      const isIOS = /ip(hone|od)/i.test(navigator.userAgent);
      this.plyr = new Plyr("#k-player", __spreadValues$2({
        autoplay: this.localConfig.autoplay,
        keyboard: { global: false, focused: false },
        controls: [
          "play-large",
          "play",
          "progress",
          "current-time",
          "duration",
          "mute",
          "volume",
          "pip",
          "fullscreen"
        ],
        storage: { enabled: false },
        volume: this.localConfig.volume,
        fullscreen: {
          enabled: true,
          iosNative: isIOS
        },
        i18n,
        tooltips: {
          controls: true,
          seek: true
        },
        disableContextMenu: false
      }, opts));
      this.$videoWrapper = this.$wrapper.find(".plyr");
      this.$videoWrapper.find(".plyr__time--duration").after('<div class="plyr__controls__item k-player-controls-spacer"/>');
      this.$videoWrapper.find('[data-plyr="pip"] .plyr__tooltip').html(
        `\u753B\u4E2D\u753B(<k-shortcuts-tip command=${Shortcuts.Commands.togglePIP}></k-shortcuts-tip>)`
      );
      this.$videoWrapper.append(
        this.$loading,
        this.$error,
        this.$pip,
        this.$progress,
        this.$header
      );
      this.message = new Message(this.$videoWrapper);
      this.eventMap = {};
      this.isWideScreen = false;
      this.wideScreenBodyStyles = {};
      this.tsumaLength = +getComputedStyle(this.$wrapper[0]).getPropertyValue("--k-player-tsuma-length").trim();
      this.curentTsuma = -1;
      this.injectSettings();
      this.injectSpeed();
      this.injectNext();
      this.injectSreen();
      this.injectSearchActions();
      _KPlayer.plguinList.forEach((setup) => setup(this));
      this.initEvent();
      if (opts.eventToParentWindow) {
        this.eventToParentWindow();
      }
      const status = session.getItem(this.statusSessionKey);
      if (status) {
        session.removeItem(this.statusSessionKey);
        this.toggleWidescreen(status);
      }
    }
    static register(setup) {
      this.plguinList.push(setup);
    }
    async setCurrentTimeLog(time) {
      time = Math.floor(time != null ? time : this.currentTime);
      const store = local.getItem(this.localPlayTimeKey, {});
      const key = await this.playTimeStoreKey();
      store[key] = time;
      local.setItem(this.localPlayTimeKey, store);
    }
    async getCurrentTimeLog() {
      const store = local.getItem(this.localPlayTimeKey, {});
      const key = await this.playTimeStoreKey();
      return store[key];
    }
    async playTimeStoreKey() {
      return await runtime.getTopLocationHref();
    }
    async jumpToLogTime() {
      if (this.isJumped)
        return;
      if (this.currentTime < 3) {
        this.isJumped = true;
        const logTime = await this.getCurrentTimeLog();
        if (logTime && this.plyr.duration - logTime > 10) {
          this.message.info(`\u5DF2\u81EA\u52A8\u8DF3\u8F6C\u81F3\u5386\u53F2\u64AD\u653E\u4F4D\u7F6E ${parseTime(logTime)}`);
          this.currentTime = logTime;
        }
      }
    }
    initEvent() {
      this.$video.on("dragover", (e) => {
        e.preventDefault();
      }).on("drop", (_e) => {
        var _a;
        const e = _e.originalEvent;
        e.preventDefault();
        const file = (_a = e.dataTransfer) == null ? void 0 : _a.files[0];
        if (file) {
          this.src = URL.createObjectURL(file);
        }
      });
      this.on("loadstart", () => {
        this.$loading.show();
        this.hideError();
      });
      this.on("loadedmetadata", () => {
        this.$loading.hide();
        this.$searchActions.find(".k-text-btn-text").text(this.media.videoHeight + "P");
      });
      this.on("canplay", () => {
        this.$loading.hide();
        if (this.localConfig.autoplay) {
          (async () => {
            try {
              await this.plyr.play();
            } catch (error) {
            } finally {
              if (this.media.paused) {
                window.addEventListener(
                  "click",
                  () => {
                    setTimeout(() => {
                      if (this.media.paused)
                        this.plyr.play();
                    }, 100);
                  },
                  { capture: true, once: true }
                );
              }
            }
          })();
        }
        if (this.localConfig.continuePlay) {
          this.jumpToLogTime();
        }
      });
      this.on("error", () => {
        this.setCurrentTimeLog(0);
        this.$searchActions.show();
        const code = this.media.error.code;
        this.$loading.hide();
        this.showError(MediaErrorMessage[code] || this.src);
        if (code === 3) {
          const countKey = "skip-error-retry-count" + window.location.search;
          let skipErrorRetryCount = parseInt(session.getItem(countKey) || "0");
          if (skipErrorRetryCount < 3) {
            skipErrorRetryCount++;
            const duration = 2 * skipErrorRetryCount;
            this.message.info(
              `\u89C6\u9891\u6E90\u51FA\u73B0\u95EE\u9898\uFF0C\u7B2C${skipErrorRetryCount}\u6B21\u5C1D\u8BD5\u8DF3\u8FC7${duration}s\u9519\u8BEF\u7247\u6BB5`,
              4e3
            ).then(() => {
              this.trigger("skiperror", 2 * skipErrorRetryCount);
            });
            session.setItem(countKey, skipErrorRetryCount.toString());
          } else {
            this.message.info(`\u89C6\u9891\u6E90\u51FA\u73B0\u95EE\u9898\uFF0C\u591A\u6B21\u5C1D\u8BD5\u5931\u8D25\uFF0C\u8BF7\u624B\u52A8\u8DF3\u8FC7\u9519\u8BEF\u7247\u6BB5`, 4e3).then(() => {
              this.trigger("skiperror", 0);
            });
            session.removeItem(countKey);
          }
        } else {
          const $dom = $(
            "<div>\u89C6\u9891\u64AD\u653E\u5931\u8D25\uFF0C\u70B9\u51FB\u6B64\u5904\u6682\u65F6\u5173\u95ED\u811A\u672C\u529F\u80FD\uFF0C\u4F7F\u7528\u539F\u751F\u64AD\u653E\u5668\u89C2\u770B</div>"
          ).css("cursor", "pointer");
          $dom.on("click", () => {
            this.message.destroy();
            session.setItem("stop-use", true);
            window.location.reload();
          });
          this.message.info($dom, 1e4);
        }
      });
      this.on("pause", () => {
        this.hideControlsDebounced();
      });
      this.on("prev", () => {
        this.message.info("\u6B63\u5728\u5207\u6362\u4E0A\u4E00\u96C6");
      });
      this.on("next", () => {
        this.message.info("\u6B63\u5728\u5207\u6362\u4E0B\u4E00\u96C6");
      });
      this.on("enterfullscreen", () => {
        this.$videoWrapper.addClass("k-player-fullscreen");
      });
      this.on("exitfullscreen", () => {
        this.$videoWrapper.removeClass("k-player-fullscreen");
      });
      this.on("volumechange", () => {
        this.configSaveToLocal("volume", this.plyr.volume);
      });
      this.on("timeupdate", () => {
        this.setCurrentTimeLogThrottled();
        this.$progress.find(".k-player-progress-current").css("width", (this.currentTime / this.plyr.duration || 0) * 100 + "%");
        this.$progress.find(".k-player-progress-buffer").css("width", this.plyr.buffered * 100 + "%");
      });
      this.on("ended", () => {
        if (this.localConfig.autoNext) {
          this.trigger("next");
        }
      });
      this.on("enterpictureinpicture", () => {
        this.setRandomTsuma();
        this.$pip.fadeIn();
      });
      this.on("leavepictureinpicture", () => {
        this.$pip.fadeOut();
      });
      $(".plyr__controls button,.plyr__controls input").on("mouseleave", (e) => {
        e.target.blur();
      });
      const playerEl = document.querySelector(".plyr");
      playerEl.addEventListener("mousemove", () => {
        playerEl.classList.remove("plyr--hide-cursor");
        this.hideCursorDebounced();
        if (this.plyr.paused) {
          this.hideControlsDebounced();
        }
      });
      const controlsEl = document.querySelector(".plyr__controls");
      controlsEl.addEventListener("mouseenter", () => {
        this.isHoverControls = true;
      });
      controlsEl.addEventListener("mouseleave", () => {
        this.isHoverControls = false;
      });
      this.initInputEvent();
    }
    initInputEvent() {
      let timeId;
      const $dom = $("#k-player-wrapper input[type='range']");
      $dom.trigger("mouseup").off("mousedown").off("mouseup");
      $dom.on("mousedown", function() {
        clearInterval(timeId);
        let i = 0;
        timeId = window.setInterval(() => {
          $(this).removeClass().addClass(`shake-${i++ % 2}`);
        }, 100);
      });
      $dom.on("mouseup", function() {
        clearInterval(timeId);
        $(this).removeClass();
      });
    }
    on(event, callback) {
      if ([
        "prev",
        "next",
        "enterwidescreen",
        "exitwidescreen",
        "skiperror"
      ].includes(event)) {
        if (!this.eventMap[event])
          this.eventMap[event] = [];
        this.eventMap[event].push(callback);
      } else {
        this.plyr.on(event, callback);
      }
    }
    trigger(event, params) {
      const fnList = this.eventMap[event] || [];
      fnList.forEach((fn) => {
        fn(this, params);
      });
    }
    injectSettings() {
      this.$settings = $(settingsHTML);
      this.$settings.find("[name=showPlayLarge]").prop("checked", this.localConfig.showPlayLarge).on("change", (e) => {
        const checked = e.target.checked;
        this.configSaveToLocal("showPlayLarge", checked);
        this.$videoWrapper.find(".plyr__control.plyr__control--overlaid").toggle(checked);
      });
      this.$videoWrapper.find(".plyr__control.plyr__control--overlaid").toggle(this.localConfig.showPlayLarge);
      this.$settings.find("[name=showSearchActions]").prop("checked", this.localConfig.showSearchActions).on("change", (e) => {
        const checked = e.target.checked;
        this.configSaveToLocal("showSearchActions", checked);
        this.$searchActions.toggle(checked);
      });
      this.$settings.find("[name=autoNext]").prop("checked", this.localConfig.autoNext).on("change", (e) => {
        const checked = e.target.checked;
        this.configSaveToLocal("autoNext", checked);
      });
      this.$settings.find("[name=showProgress]").prop("checked", this.localConfig.showProgress).on("change", (e) => {
        const checked = e.target.checked;
        this.configSaveToLocal("showProgress", checked);
        this.$progress.toggle(checked);
      });
      this.$progress.toggle(this.localConfig.showProgress);
      this.$settings.find("[name=autoplay]").prop("checked", this.localConfig.autoplay).on("change", (e) => {
        const checked = e.target.checked;
        this.configSaveToLocal("autoplay", checked);
        this.plyr.autoplay = checked;
      });
      this.$settings.find("[name=continuePlay]").prop("checked", this.localConfig.continuePlay).on("change", (e) => {
        const checked = e.target.checked;
        this.configSaveToLocal("continuePlay", checked);
      });
      this.$settings.insertAfter(".plyr__controls__item.plyr__volume");
    }
    configSaveToLocal(key, value) {
      this.localConfig[key] = value;
      gm.setItem(this.localConfigKey, this.localConfig);
    }
    injectSpeed() {
      this.$speed = $(speedHTML);
      const speedItems = this.$speed.find(".k-speed-item");
      const localSpeed = this.localConfig.speed;
      speedItems.each((_, el) => {
        const speed = +el.dataset.speed;
        if (speed === localSpeed) {
          el.classList.add("k-menu-active");
        }
        $(el).on("click", () => {
          this.speed = speed;
        });
      });
      this.plyr.speed = localSpeed;
      this.$speed.find("#k-speed-text").text(localSpeed === 1 ? "\u500D\u901F" : localSpeed + "x");
      this.$speed.insertBefore(".plyr__controls__item.plyr__volume");
    }
    injectNext() {
      $($("#plyr__next").html()).insertBefore(".plyr__controls__item.plyr__progress__container").on("click", () => {
        this.trigger("next");
      });
    }
    injectSreen() {
      $($("#plyr__widescreen").html()).insertBefore('[data-plyr="fullscreen"]').on("click", () => {
        this.toggleWidescreen();
      });
    }
    async injectSearchActions() {
      this.$searchActions = $(searchActionsHTML).toggle(
        this.localConfig.showSearchActions
      );
      this.$searchActions.insertBefore(this.$speed);
      const actions = await runtime.getSearchActions();
      if (actions.length === 0)
        return;
      this.$searchActions.find(".k-menu").append(
        actions.map(({ name, search }) => {
          return $(
            `<li class="k-menu-item k-speed-item">${name}</li>`
          ).on("click", search);
        })
      );
    }
    toggleWidescreen(bool = !this.isWideScreen) {
      if (this.isWideScreen === bool)
        return;
      this.isWideScreen = bool;
      session.setItem(this.statusSessionKey, this.isWideScreen);
      if (this.isWideScreen) {
        this.wideScreenBodyStyles = $("body").css(["overflow"]);
        $("body").css("overflow", "hidden");
        this.$wrapper.addClass("k-player-widescreen");
        $(".plyr__widescreen").addClass("plyr__control--pressed");
      } else {
        $("body").css(this.wideScreenBodyStyles);
        this.$wrapper.removeClass("k-player-widescreen");
        $(".plyr__widescreen").removeClass("plyr__control--pressed");
      }
      this.trigger(this.isWideScreen ? "enterwidescreen" : "exitwidescreen");
    }
    get media() {
      return this.$video[0];
    }
    set src(src) {
      this.isJumped = false;
      if (src.includes(".m3u8")) {
        if (Hls.isSupported()) {
          const hls = new Hls();
          hls.loadSource(src);
          hls.attachMedia(this.media);
        } else if (this.media.canPlayType("application/vnd.apple.mpegurl")) {
          this.$video.attr("src", src);
        } else {
          throw new Error("\u4E0D\u652F\u6301\u64AD\u653E hls \u6587\u4EF6");
        }
      } else {
        this.$video.attr("src", src);
      }
    }
    get src() {
      return this.media.currentSrc;
    }
    set currentTime(value) {
      this.plyr.currentTime = value;
    }
    get currentTime() {
      return this.plyr.currentTime;
    }
    get speed() {
      return this.plyr.speed;
    }
    set speed(speed) {
      this.plyr.speed = speed;
      const speedItems = this.$speed.find(".k-speed-item");
      speedItems.each((_, el) => {
        if (speed === +el.dataset.speed) {
          el.classList.add("k-menu-active");
        } else {
          el.classList.remove("k-menu-active");
        }
      });
      this.$speed.find("#k-speed-text").text(speed === 1 ? "\u500D\u901F" : speed + "x");
      this.message.destroy();
      this.message.info(`\u89C6\u9891\u901F\u5EA6\uFF1A${speed}`);
      this.configSaveToLocal("speed", speed);
    }
    showError(text) {
      this.setRandomTsuma();
      this.$error.show().find(".k-player-error-info").text(text);
    }
    hideError() {
      this.$error.hide();
    }
    setRandomTsuma() {
      this.curentTsuma = ++this.curentTsuma % this.tsumaLength;
      this.$wrapper.find(".k-player-tsuma").attr("data-bg-idx", this.curentTsuma);
    }
    eventToParentWindow() {
      const evnetKeys = [
        "prev",
        "next",
        "enterwidescreen",
        "exitwidescreen",
        "skiperror",
        "progress",
        "playing",
        "play",
        "pause",
        "timeupdate",
        "volumechange",
        "seeking",
        "seeked",
        "ratechange",
        "ended",
        "enterfullscreen",
        "exitfullscreen",
        "captionsenabled",
        "captionsdisabled",
        "languagechange",
        "controlshidden",
        "controlsshown",
        "ready",
        "loadstart",
        "loadeddata",
        "loadedmetadata",
        "canplay",
        "canplaythrough",
        "stalled",
        "waiting",
        "emptied",
        "cuechange",
        "error"
      ];
      evnetKeys.forEach((key) => {
        this.on(key, () => {
          const video = this.media;
          const info = {
            width: video.videoWidth,
            height: video.videoHeight,
            currentTime: video.currentTime,
            src: video.src,
            duration: video.duration
          };
          window.parent.postMessage({ key, video: info }, "*");
        });
      });
    }
  };
  let KPlayer = _KPlayer;
  KPlayer.plguinList = [];

  function request(opts) {
    let { url, method, params } = opts;
    if (params) {
      let u = new URL(url);
      Object.keys(params).forEach((key) => {
        const value = params[key];
        if (value !== void 0 && value !== null) {
          u.searchParams.set(key, params[key]);
        }
      });
      url = u.toString();
    }
    return new Promise((resolve, reject) => {
      GM_xmlhttpRequest({
        url,
        method: method || "GET",
        responseType: "json",
        onload: (res) => {
          resolve(res.response);
        },
        onerror: reject
      });
    });
  }

  function createStorage(storageKey) {
    function storage(key, value) {
      const store = local.getItem(storageKey, {});
      if (value) {
        store[key] = value;
        local.setItem(storageKey, store);
      } else {
        return store[key];
      }
    }
    return storage;
  }
  const storageAnimeName = createStorage("k-player-danmaku-anime-name-v2");
  const storageEpisodeName = createStorage("k-player-danmaku-episode-name");
  function convert32ToHex(color) {
    return "#" + parseInt(color).toString(16);
  }
  function parseUid(uid) {
    let source = "\u5F39\u5F39play", id = uid;
    const matcher = uid.match(/^\[(.*?)\](.*)/);
    if (matcher) {
      source = matcher[1];
      id = matcher[2];
    }
    return { source, id };
  }
  function rangePercent(min, input, max) {
    input = Math.min(max, Math.max(min, input));
    return (input - min) / (max - min) * 100;
  }
  function addRangeListener(opts) {
    const { $dom, name, onInput, player, onChange } = opts;
    const $valueDom = $(
      '<div style="width:45px;flex-shrink:0;text-align:right;white-space:nowrap;"></div>'
    );
    $valueDom.insertAfter($dom);
    const min = parseFloat($dom.attr("min"));
    const max = parseFloat($dom.attr("max"));
    const setStyle = () => {
      const value = parseFloat($dom.val());
      player.configSaveToLocal(name, value);
      onInput == null ? void 0 : onInput(value);
      $valueDom.text((value * 100).toFixed(0) + "%");
      $dom.css("--value", rangePercent(min, value, max) + "%");
    };
    $dom.val(player.localConfig[name]);
    $dom.on("input", setStyle);
    $dom.on("change", () => {
      onChange == null ? void 0 : onChange(parseFloat($dom.val()));
    });
    setStyle();
  }
  function getCheckboxGroupValue($dom) {
    const ret = [];
    $dom.each((_, el) => {
      if (el.checked)
        ret.push(el.value);
    });
    return ret;
  }
  function setCheckboxGroupValue($dom, value) {
    $dom.each((_, el) => {
      if (value.includes(el.value)) {
        el.checked = true;
      }
    });
  }

  async function getComments(episodeId) {
    const res = await request({
      url: `https://api.dandanplay.net/api/v2/comment/${episodeId}?withRelated=true&chConvert=1`
    });
    return res.comments.map((o) => {
      const [time, type, color, uid] = o.p.split(",");
      const user = parseUid(uid);
      return {
        mode: { 1: "rtl", 4: "bottom", 5: "top" }[type] || "rtl",
        text: o.m,
        time: parseFloat(time),
        style: { color: convert32ToHex(color) },
        user
      };
    }).sort((a, b) => a.time - b.time);
  }
  async function searchAnimeWithEpisode(anime, episode) {
    const res = await request({
      url: "https://api.dandanplay.net/api/v2/search/episodes",
      params: { anime, episode }
    });
    return res.animes;
  }

  function createDanmakuList(player, getComments, refreshDanmaku) {
    const $open = $("#k-player-danmaku-search-form .open-danmaku-list");
    $open.on("click", () => {
      const comments = getComments();
      if (!comments)
        return;
      const $root = $(`
      <div class="k-player-danmaku-list-wrapper">
        <div class="k-player-danmaku-list-source-filter">
          <div>\u6765\u6E90\uFF1A</div>
          <div class="k-player-danmaku-list-source"></div>
        </div>
      
        <div class="k-player-danmaku-list-table-wrapper">
          <div class="k-player-danmaku-list-table-content">
            <table class="k-player-danmaku-list-table">
              <thead>
                <tr>
                  <th>\u65F6\u95F4</th>
                  <th>\u5185\u5BB9</th>
                  <th>\u6765\u6E90</th>
                </tr>
              </thead>
              <tbody>
              </tbody>
            </table>
          </div>
        </div>

      </div>
    `);
      let i = 0;
      let end = 100;
      const render = () => {
        if (i >= comments.length) {
          $content.height("");
          return;
        }
        $root.find("tbody").append(
          comments.slice(i, end).map(
            (cmt) => `
        <tr data-source="${cmt.user.source}">
          <td>${parseTime(cmt.time)}</td>
          <td>${cmt.text}</td>
          <td>${cmt.user.source}</td>
        </tr>`
          ).join("")
        );
        i = end;
      };
      render();
      modal({
        title: "\u5F39\u5E55\u5217\u8868",
        content: $root,
        className: "k-player-danmaku-list",
        afterClose: () => {
          refreshDanmaku();
        }
      });
      const $source = $root.find(".k-player-danmaku-list-source");
      const sourceCountMap = comments.reduce(
        (map, cmt) => {
          var _a;
          const source = cmt.user.source;
          (_a = map[source]) != null ? _a : map[source] = 0;
          map[source]++;
          return map;
        },
        {}
      );
      Object.entries(sourceCountMap).forEach(([source, count]) => {
        const isDisabled = player.localConfig.danmakuSourceDisabledList.includes(source);
        const percent = (count / comments.length * 100).toFixed(2);
        $(`<label class="k-player-danmaku-list-source-item k-capsule">
          <input hidden type="checkbox" value="${source}"/>
          <div title="${source}\u6709${count}\u6761\u5F39\u5E55">${source}(${percent}%)</div>
        </label>`).appendTo($source).find("input").prop("checked", !isDisabled).on("change", (e) => {
          let next = [...player.localConfig.danmakuSourceDisabledList];
          if (e.currentTarget.checked) {
            next = next.filter((src) => src !== source);
          } else {
            next.push(source);
          }
          player.configSaveToLocal("danmakuSourceDisabledList", next);
        });
      });
      const $wrapper = $root.find(".k-player-danmaku-list-table-wrapper");
      const $content = $root.find(".k-player-danmaku-list-table-content");
      const $table = $root.find(".k-player-danmaku-list-table");
      const itemHeight = $root.find("thead tr").height();
      $content.height(itemHeight * (comments.length + 1));
      $wrapper.on("scroll", (e) => {
        const dom = e.currentTarget;
        const height = dom.scrollTop + dom.clientHeight + 1e3;
        if ($table.height() < height) {
          end = Math.ceil(height / itemHeight);
          render();
        }
      });
    });
  }

  function parseToJSON(raw) {
    return new Promise((resolve, reject) => {
      const blob = new Blob([raw], { type: "application/json" });
      const url = URL.createObjectURL(blob);
      fetch(url).then((r) => r.json()).then(resolve).catch(reject).finally(() => {
        URL.revokeObjectURL(url);
      });
    });
  }

  function createFilter(player, refreshDanmaku) {
    const $filter = $("#k-player-danmaku-filter-form");
    const $importLabel = $("#k-player-danmaku-filter-import");
    $importLabel.on("click", () => {
      modal({
        title: "\u5BFC\u5165B\u7AD9\u5C4F\u853D\u8BBE\u5B9A",
        content: `
      <p>1. \u968F\u4FBF\u70B9\u5F00\u4E00\u4E2A\u89C6\u9891\uFF0C\u53F3\u4FA7\u5F39\u5E55\u5217\u8868\u6253\u5F00\u5C4F\u853D\u8BBE\u5B9A\uFF0C\u5BF9\u5C4F\u853D\u5217\u8868\u53F3\u952E\uFF0C\u5BFC\u51FAxml\u6216json\u6587\u4EF6\u3002</p>
      <p>2. \u70B9\u51FB\u4E0B\u9762\u3010\u5F00\u59CB\u5BFC\u5165\u3011\u6309\u94AE\uFF0C\u9009\u62E9\u521A\u4E0B\u8F7D\u7684xml\u6216json\u6587\u4EF6</p>
      `,
        okText: "\u5F00\u59CB\u5BFC\u5165",
        onOk: importBiliSettings
      });
    });
    function importBiliSettings() {
      var _a;
      const $import = $(
        '<input type="file" style="display:none" accept=".xml,.json"/>'
      );
      $import.on("change", (e) => {
        var _a2;
        const file = (_a2 = e.target.files) == null ? void 0 : _a2[0];
        $import.remove();
        if (!file)
          return;
        const fd = new FileReader();
        fd.onload = () => {
          const result = fd.result;
          if (typeof result === "string") {
            if (file.name.endsWith(".xml"))
              importBiliXML(result);
            if (file.name.endsWith(".json"))
              importBiliJSON(result);
          }
        };
        fd.readAsText(file);
      });
      $import.appendTo("body");
      (_a = $import.get(0)) == null ? void 0 : _a.click();
    }
    function importBiliXML(xml) {
      const $xml = $(xml);
      const $activeItems = $xml.find('item[enabled="true"]');
      let rules = $activeItems.map((_, el) => el.textContent).get().filter((t) => /^(t|r)=/.test(t)).map((t) => t.replace(/^(t|r)=/, ""));
      mergeRules(rules);
    }
    async function importBiliJSON(jsonStr) {
      try {
        let json = await parseToJSON(jsonStr);
        let rules = json.filter((o) => o.opened && o.type !== 2).map((o) => o.type === 1 ? `/${o.filter}/` : o.filter);
        mergeRules(rules);
      } catch (error) {
        player.message.info("\u5BFC\u5165\u5931\u8D25\uFF0CJSON \u683C\u5F0F\u6709\u8BEF", 3e3);
      }
    }
    function mergeRules(rules) {
      const mergedRules = /* @__PURE__ */ new Set([...player.localConfig.danmakuFilter, ...rules]);
      player.message.info(
        `\u5BFC\u5165 ${mergedRules.size - player.localConfig.danmakuFilter.length} \u6761\u89C4\u5219`
      );
      player.configSaveToLocal("danmakuFilter", [...mergedRules]);
      refreshDanmaku();
      refreshFilterDom();
    }
    const $input = $filter.find('[name="filter-input"]');
    $input.on("keypress", (e) => {
      if (e.key === "Enter")
        addFilter($input.val());
    });
    function refreshFilterDom() {
      const filters = player.localConfig.danmakuFilter;
      let html = "";
      filters.forEach((filter, idx) => {
        html += `<div class="ft-row">
    <div class="ft-content">${filter}</div>
    <div class="ft-op"><a key="delete" data-idx="${idx}">\u5220\u9664</a></div>
    </div>`;
      });
      $filter.find(".ft-body").empty().append(html);
      $filter.find("[key=delete]").on("click", (e) => {
        const idx = parseInt($(e.target).attr("data-idx"));
        deleteFilter(idx);
      });
      $filter.find("#filter-count").text(filters.length);
    }
    function deleteFilter(idx) {
      player.localConfig.danmakuFilter.splice(idx, 1);
      player.configSaveToLocal("danmakuFilter", player.localConfig.danmakuFilter);
      refreshDanmaku();
      refreshFilterDom();
    }
    function addFilter(filter) {
      const filters = player.localConfig.danmakuFilter;
      $input.val("");
      if (!filter || filters.includes(filter))
        return;
      if (/^\/.*\/$/.test(filter)) {
        try {
          new RegExp(filter.slice(1, -1));
        } catch (error) {
          return;
        }
      }
      filters.push(filter);
      player.configSaveToLocal("danmakuFilter", filters);
      refreshFilterDom();
      refreshDanmaku();
    }
    refreshFilterDom();
  }

  var Commands = /* @__PURE__ */ ((Commands2) => {
    Commands2["danmakuSwitch"] = "switchDanmaku";
    Commands2["danmakuSyncBack"] = "danmakuSyncBack";
    Commands2["danmakuSyncForward"] = "danmakuSyncForward";
    Commands2["danmakuSyncRestore"] = "danmakuSyncRestore";
    return Commands2;
  })(Commands || {});

  const $danmakuOverlay = tabs([
    {
      name: "\u641C\u7D22",
      content: `<div id="k-player-danmaku-search-form">
      <label>
        <span>\u641C\u7D22\u756A\u5267\u540D\u79F0</span>
        <input type="text" id="animeName" class="k-input" />
      </label>
      <div style="min-height:24px; padding-top:4px">
        <span id="tips"></span>
      </div>
      <label>
        <span>\u756A\u5267\u540D\u79F0</span>
        <select id="animes" class="k-select"></select>
      </label>
      <label>
        <span>\u7AE0\u8282</span>
        <select id="episodes" class="k-select"></select>
      </label>
      <label>
        <span class="open-danmaku-list">
          <span>\u5F39\u5E55\u5217\u8868</span><small data-id="count"></small>
        </span>
      </label>
      
      <span class="specific-thanks">\u5F39\u5E55\u670D\u52A1\u7531 \u5F39\u5F39play \u63D0\u4F9B</span>
    </div>`
    },
    {
      name: "\u8BBE\u7F6E",
      content: `
    <div id="k-player-danmaku-setting-form" class="k-settings-list">
      <label class="k-settings-item">
        <input type="checkbox" name="showDanmaku" />
        <span>\u663E\u793A\u5F39\u5E55(<k-shortcuts-tip command="${Commands.danmakuSwitch}"></k-shortcuts-tip>)</span>
        </label>
      <label class="k-settings-item">
        <input type="checkbox" name="showPbp" />
        <span>\u663E\u793A\u9AD8\u80FD\u8FDB\u5EA6\u6761</span>
      </label>
      <div class="k-settings-item">
        <label class="k-settings-item" title="\u542F\u7528\u540E\u5408\u5E76\u663E\u793A\u91CD\u590D\u7684\u5F39\u5E55">
          <input type="checkbox" name="danmakuMerge" />
          <span>\u5408\u5E76\u5F39\u5E55</span>
        </label>
        <label class="k-settings-item" title="\u542F\u7528\u540E\u5F53\u5F39\u5E55\u8FC7\u591A\u7684\u65F6\u5019\u53EF\u4EE5\u91CD\u53E0\u663E\u793A">
          <input type="checkbox" name="danmakuOverlap" />
          <span>\u91CD\u53E0\u5F39\u5E55</span>
        </label>
      </div>
      <label class="k-settings-item">
        <span>\u900F\u660E\u5EA6&#12288;</span>
        <input type="range" name="opacity" step="0.01" min="0" max="1" />
      </label>
      <label class="k-settings-item">
        <span>\u5F39\u5E55\u5927\u5C0F</span>
        <input type="range" name="danmakuFontSize" step="0.01" min="0.5" max="2" />
      </label>
      <label class="k-settings-item">
        <span>\u5F39\u5E55\u901F\u5EA6</span>
        <input type="range" name="danmakuSpeed" step="0.01" min="0.5" max="1.5" />
      </label>
      <label class="k-settings-item" title="\u57FA\u51C6\u4E3A 24 \u5206\u949F 3000 \u6761\u5F39\u5E55">
        <span>\u5F39\u5E55\u5BC6\u5EA6</span>
        <input type="range" name="danmakuDensity" step="0.01" min="0.5" max="2" />
      </label>
      <label class="k-settings-item">
        <span>\u5F39\u5E55\u533A\u57DF</span>
        <input type="range" name="danmakuScrollAreaPercent" step="0.01" min="0.25" max="1" />
      </label>
      <div class="k-settings-item" style="height:24px">
        <div>\u5F39\u5E55\u7C7B\u578B</div>
        <label class="k-settings-item" title="\u9876\u90E8\u5F39\u5E55">
          <input type="checkbox" name="danmakuMode" value="top"/>
          <span>\u9876</span>
        </label>
        <label class="k-settings-item" title="\u5E95\u90E8\u5F39\u5E55">
          <input type="checkbox" name="danmakuMode" value="bottom"/>
          <span>\u5E95</span>
        </label>
        <label class="k-settings-item" title="\u5F69\u8272\u5F39\u5E55">
          <input type="checkbox" name="danmakuMode" value="color" />
          <span>\u5F69</span>
        </label>
      </div>
    </div>
    `
    },
    {
      name: "\u8FC7\u6EE4",
      content: `
    <div id="k-player-danmaku-filter-form">
      <div class="ft-input-wrapper">
        <div>
          <input name="filter-input" placeholder="\u53EF\u6B63\u5219\u201C/\u201D\u5F00\u5934\u201C/\u201D\u7ED3\u5C3E" class="k-select"/>
        </div>
        <label id="k-player-danmaku-filter-import" title="\u5BFC\u5165B\u7AD9\u5F39\u5E55\u8FC7\u6EE4\u8BBE\u7F6E">
          \u5BFC\u5165
        </label>
      </div>

      <div id="k-player-danmaku-filter-table">
        <div class="ft-row" style="pointer-events:none;">
          <div class="ft-content">\u5185\u5BB9(<span id="filter-count"></span>)</div>
          <div class="ft-op">\u64CD\u4F5C</div>
        </div>
        <div class="ft-body"></div>
      </div>
    </div>
    `
    }
  ]);
  $danmakuOverlay.attr("id", "k-player-danmaku-overlay");
  const $danmakuSwitch = $(`
<button
  class="plyr__controls__item plyr__control plyr__switch-danmaku plyr__custom"
  type="button"
  data-plyr="switch-danmaku"
  aria-label="switch-danmaku"
  >
  <svg class="icon--not-pressed" focusable="false" width="1em" height="1em" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="bpx-svg-sprite-danmu-off"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.085 4.891l-.999-1.499a1.008 1.008 0 011.679-1.118l1.709 2.566c.54-.008 1.045-.012 1.515-.012h.13c.345 0 .707.003 1.088.007l1.862-2.59a1.008 1.008 0 011.637 1.177l-1.049 1.46c.788.02 1.631.046 2.53.078 1.958.069 3.468 1.6 3.74 3.507.088.613.13 2.158.16 3.276l.001.027c.01.333.017.63.025.856a.987.987 0 01-1.974.069c-.008-.23-.016-.539-.025-.881v-.002c-.028-1.103-.066-2.541-.142-3.065-.143-1.004-.895-1.78-1.854-1.813-2.444-.087-4.466-.13-6.064-.131-1.598 0-3.619.044-6.063.13a2.037 2.037 0 00-1.945 1.748c-.15 1.04-.225 2.341-.225 3.904 0 1.874.11 3.474.325 4.798.154.949.95 1.66 1.91 1.708a97.58 97.58 0 005.416.139.988.988 0 010 1.975c-2.196 0-3.61-.047-5.513-.141A4.012 4.012 0 012.197 17.7c-.236-1.446-.351-3.151-.351-5.116 0-1.64.08-3.035.245-4.184A4.013 4.013 0 015.92 4.96c.761-.027 1.483-.05 2.164-.069zm4.436 4.707h-1.32v4.63h2.222v.848h-2.618v1.078h2.431a5.01 5.01 0 013.575-3.115V9.598h-1.276a8.59 8.59 0 00.748-1.42l-1.089-.384a14.232 14.232 0 01-.814 1.804h-1.518l.693-.308a8.862 8.862 0 00-.814-1.408l-1.045.352c.297.396.572.847.825 1.364zm-4.18 3.564l.154-1.485h1.98V8.289h-3.2v.979h2.067v1.43H7.483l-.308 3.454h2.277c0 1.166-.044 1.925-.12 2.277-.078.352-.386.528-.936.528-.308 0-.616-.022-.902-.055l.297 1.067.062.004c.285.02.551.04.818.04 1.001-.066 1.562-.418 1.694-1.056.11-.638.176-1.903.176-3.795h-2.2zm7.458.11v-.858h-1.254v.858H15.8zm-2.376-.858v.858h-1.199v-.858h1.2zm-1.199-.946h1.2v-.902h-1.2v.902zm2.321 0v-.902H15.8v.902h-1.254zm3.517 10.594a4 4 0 100-8 4 4 0 000 8zm-.002-1.502a2.5 2.5 0 01-2.217-3.657l3.326 3.398a2.49 2.49 0 01-1.109.259zm2.5-2.5c0 .42-.103.815-.286 1.162l-3.328-3.401a2.5 2.5 0 013.614 2.239z"></path></svg>
  <svg class="icon--pressed" focusable="false" width="1em" height="1em" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="bpx-svg-sprite-danmu-on"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.989 4.828c-.47 0-.975.004-1.515.012l-1.71-2.566a1.008 1.008 0 00-1.678 1.118l.999 1.5c-.681.018-1.403.04-2.164.068a4.013 4.013 0 00-3.83 3.44c-.165 1.15-.245 2.545-.245 4.185 0 1.965.115 3.67.35 5.116a4.012 4.012 0 003.763 3.363l.906.046c1.205.063 1.808.095 3.607.095a.988.988 0 000-1.975c-1.758 0-2.339-.03-3.501-.092l-.915-.047a2.037 2.037 0 01-1.91-1.708c-.216-1.324-.325-2.924-.325-4.798 0-1.563.076-2.864.225-3.904.14-.977.96-1.713 1.945-1.747 2.444-.087 4.465-.13 6.063-.131 1.598 0 3.62.044 6.064.13.96.034 1.71.81 1.855 1.814.075.524.113 1.962.141 3.065v.002c.01.342.017.65.025.88a.987.987 0 101.974-.068c-.008-.226-.016-.523-.025-.856v-.027c-.03-1.118-.073-2.663-.16-3.276-.273-1.906-1.783-3.438-3.74-3.507-.9-.032-1.743-.058-2.531-.078l1.05-1.46a1.008 1.008 0 00-1.638-1.177l-1.862 2.59c-.38-.004-.744-.007-1.088-.007h-.13zm.521 4.775h-1.32v4.631h2.222v.847h-2.618v1.078h2.618l.003.678c.36.026.714.163 1.01.407h.11v-1.085h2.694v-1.078h-2.695v-.847H16.8v-4.63h-1.276a8.59 8.59 0 00.748-1.42L15.183 7.8a14.232 14.232 0 01-.814 1.804h-1.518l.693-.308a8.862 8.862 0 00-.814-1.408l-1.045.352c.297.396.572.847.825 1.364zm-4.18 3.564l.154-1.485h1.98V8.294h-3.2v.98H9.33v1.43H7.472l-.308 3.453h2.277c0 1.166-.044 1.925-.12 2.277-.078.352-.386.528-.936.528-.308 0-.616-.022-.902-.055l.297 1.067.062.005c.285.02.551.04.818.04 1.001-.067 1.562-.419 1.694-1.057.11-.638.176-1.903.176-3.795h-2.2zm7.458.11v-.858h-1.254v.858h1.254zm-2.376-.858v.858h-1.199v-.858h1.2zm-1.199-.946h1.2v-.902h-1.2v.902zm2.321 0v-.902h1.254v.902h-1.254z"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M22.846 14.627a1 1 0 00-1.412.075l-5.091 5.703-2.216-2.275-.097-.086-.008-.005a1 1 0 00-1.322 1.493l2.963 3.041.093.083.007.005c.407.315 1 .27 1.354-.124l5.81-6.505.08-.102.005-.008a1 1 0 00-.166-1.295z" fill="var(--color)"></path></svg>
  <span class="label--not-pressed plyr__tooltip">\u5F00\u542F\u5F39\u5E55(<k-shortcuts-tip command="${Commands.danmakuSwitch}"></k-shortcuts-tip>)</span>
  <span class="label--pressed plyr__tooltip">\u5173\u95ED\u5F39\u5E55(<k-shortcuts-tip command="${Commands.danmakuSwitch}"></k-shortcuts-tip>)</span>
</button>`);
  const $danmakuSettingButton = $(`<button class="plyr__controls__item plyr__control" type="button" data-plyr="danmaku-setting">
<svg class="icon--not-pressed" focusable="false" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" id="bpx-svg-sprite-new-danmu-setting"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.645 4.881l1.06-1.473a.998.998 0 10-1.622-1.166L13.22 4.835a110.67 110.67 0 00-1.1-.007h-.131c-.47 0-.975.004-1.515.012L8.783 2.3A.998.998 0 007.12 3.408l.988 1.484c-.688.019-1.418.042-2.188.069a4.013 4.013 0 00-3.83 3.44c-.165 1.15-.245 2.545-.245 4.185 0 1.965.115 3.67.35 5.116a4.012 4.012 0 003.763 3.363c1.903.094 3.317.141 5.513.141a.988.988 0 000-1.975 97.58 97.58 0 01-5.416-.139 2.037 2.037 0 01-1.91-1.708c-.216-1.324-.325-2.924-.325-4.798 0-1.563.076-2.864.225-3.904.14-.977.96-1.713 1.945-1.747 2.444-.087 4.465-.13 6.063-.131 1.598 0 3.62.044 6.064.13.96.034 1.71.81 1.855 1.814.075.524.113 1.962.141 3.065v.002c.005.183.01.07.014-.038.004-.096.008-.189.011-.081a.987.987 0 101.974-.069c-.004-.105-.007-.009-.011.09-.002.056-.004.112-.007.135l-.002.01a.574.574 0 01-.005-.091v-.027c-.03-1.118-.073-2.663-.16-3.276-.273-1.906-1.783-3.438-3.74-3.507-.905-.032-1.752-.058-2.543-.079zm-3.113 4.703h-1.307v4.643h2.2v.04l.651-1.234c.113-.215.281-.389.482-.509v-.11h.235c.137-.049.283-.074.433-.074h1.553V9.584h-1.264a8.5 8.5 0 00.741-1.405l-1.078-.381c-.24.631-.501 1.23-.806 1.786h-1.503l.686-.305c-.228-.501-.5-.959-.806-1.394l-1.034.348c.294.392.566.839.817 1.35zm-1.7 5.502h2.16l-.564 1.068h-1.595v-1.068zm-2.498-1.863l.152-1.561h1.96V8.289H7.277v.969h2.048v1.435h-1.84l-.306 3.51h2.254c0 1.155-.043 1.906-.12 2.255-.076.348-.38.523-.925.523-.305 0-.61-.022-.893-.055l.294 1.056.061.005c.282.02.546.039.81.039.991-.065 1.547-.414 1.677-1.046.11-.631.175-1.883.175-3.757H8.334zm5.09-.8v.85h-1.188v-.85h1.187zm-1.188-.955h1.187v-.893h-1.187v.893zm2.322.007v-.893h1.241v.893h-1.241zm.528 2.757a1.26 1.26 0 011.087-.627l4.003-.009a1.26 1.26 0 011.094.63l1.721 2.982c.226.39.225.872-.001 1.263l-1.743 3a1.26 1.26 0 01-1.086.628l-4.003.009a1.26 1.26 0 01-1.094-.63l-1.722-2.982a1.26 1.26 0 01.002-1.263l1.742-3zm1.967.858a1.26 1.26 0 00-1.08.614l-.903 1.513a1.26 1.26 0 00-.002 1.289l.885 1.492c.227.384.64.62 1.086.618l2.192-.005a1.26 1.26 0 001.08-.615l.904-1.518a1.26 1.26 0 00.001-1.288l-.884-1.489a1.26 1.26 0 00-1.086-.616l-2.193.005zm2.517 2.76a1.4 1.4 0 11-2.8 0 1.4 1.4 0 012.8 0z"></path></svg>
<span class="label--not-pressed plyr__tooltip">\u5F39\u5E55\u8BBE\u7F6E</span>
</button>`);
  const $danmaku = popover($danmakuSettingButton, $danmakuOverlay, "click");
  const $danmakuContainer = $('<div id="k-player-danmaku"></div>');
  const $pbp = $(`
<svg
  viewBox="0 0 1000 100"
  preserveAspectRatio="none"
  id="k-player-pbp"
>
  <defs>
    <clipPath id="k-player-pbp-curve-path" clipPathUnits="userSpaceOnUse">
      <path d=""></path>
    </clipPath>
  </defs>

  <g
    fill-opacity="0.2"
    clip-path="url(#k-player-pbp-curve-path)"
    hover-bind="1"
  >
    <rect x="0" y="0" width="100%" height="100%" fill="rgb(255,255,255)"></rect>
    <rect id="k-player-pbp-played-path" x="0" y="0" width="0" height="100%" fill="currentColor"></rect>
  </g>
</svg>
`);

  var css$7 = "#k-player-danmaku {\n  position: absolute;\n  left: 0;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  z-index: 10;\n  pointer-events: none;\n}\n#k-player-danmaku .danmaku {\n  font-size: calc(var(--danmaku-font-size, 24px) * var(--danmaku-font-size-scale, 1));\n  font-family: SimHei, \"Microsoft JhengHei\", Arial, Helvetica, sans-serif;\n  font-weight: bold;\n  text-shadow: black 1px 0px 1px, black 0px 1px 1px, black 0px -1px 1px, black -1px 0px 1px;\n  line-height: 1.3;\n}\n@media (max-width: 576px) {\n  #k-player-danmaku .danmaku {\n    --danmaku-font-size: 16px;\n  }\n}\n#k-player-danmaku-overlay {\n  width: 210px;\n}\n#k-player-danmaku-search-form > * {\n  font-size: 14px;\n  box-sizing: border-box;\n  text-align: left;\n}\n#k-player-danmaku-search-form input,\n#k-player-danmaku-search-form select {\n  display: block;\n  margin-top: 4px;\n  width: 100%;\n}\n#k-player-danmaku-search-form label {\n  display: block;\n}\n#k-player-danmaku-search-form label span {\n  line-height: 1.4;\n}\n#k-player-danmaku-search-form label + label {\n  margin-top: 8px;\n}\n#k-player-danmaku-search-form .open-danmaku-list {\n  cursor: pointer;\n  transition: color 0.15s;\n}\n#k-player-danmaku-search-form .open-danmaku-list:hover * {\n  color: var(--k-player-primary-color);\n}\n#k-player-danmaku-search-form .specific-thanks {\n  color: #757575;\n  font-size: 12px;\n  position: absolute;\n  left: 8px;\n  bottom: 8px;\n  user-select: none;\n}\n#k-player-danmaku-setting-form {\n  padding: 0;\n}\n#k-player-danmaku-setting-form input {\n  margin: 0;\n}\n#k-player-danmaku-filter-form {\n  padding: 0;\n}\n#k-player-danmaku-filter-form .ft-input-wrapper {\n  display: flex;\n  align-items: center;\n}\n#k-player-danmaku-filter-form .ft-input-wrapper > div {\n  flex: 1;\n}\n#k-player-danmaku-filter-form .ft-input-wrapper > div input {\n  width: 100%;\n}\n#k-player-danmaku-filter-form .ft-input-wrapper label {\n  margin-left: 8px;\n  border: 0;\n  color: white;\n  cursor: pointer;\n  transition: color 0.15s;\n  white-space: nowrap;\n  user-select: none;\n}\n#k-player-danmaku-filter-form .ft-input-wrapper label:hover {\n  color: var(--k-player-primary-color);\n}\n#k-player-danmaku-filter-table {\n  margin-top: 8px;\n}\n#k-player-danmaku-filter-table .ft-body {\n  height: 200px;\n  overflow: auto;\n}\n#k-player-danmaku-filter-table .ft-body::-webkit-scrollbar {\n  display: none;\n}\n#k-player-danmaku-filter-table .ft-row {\n  display: flex;\n  border-radius: 4px;\n  transition: all 0.15s;\n}\n#k-player-danmaku-filter-table .ft-row:hover {\n  background: var(--k-player-background-highlight);\n}\n#k-player-danmaku-filter-table .ft-content {\n  padding: 4px 8px;\n  flex: 1px;\n  min-width: 0;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n#k-player-danmaku-filter-table .ft-op {\n  flex-shrink: 0;\n  padding: 4px 8px;\n}\n#k-player-danmaku-filter-table a {\n  color: white;\n  cursor: pointer;\n  transition: color 0.15s;\n  user-select: none;\n}\n#k-player-danmaku-filter-table a:hover {\n  color: var(--k-player-primary-color);\n}\n\n#k-player-pbp {\n  position: absolute;\n  top: -17px;\n  height: 28px;\n  -webkit-appearance: none;\n  appearance: none;\n  left: 0;\n  position: absolute;\n  margin-left: calc(var(--plyr-range-thumb-height, 13px) * -0.5);\n  margin-right: calc(var(--plyr-range-thumb-height, 13px) * -0.5);\n  width: calc(100% + var(--plyr-range-thumb-height, 13px));\n  pointer-events: none;\n}\n\n#k-player-pbp-played-path {\n  color: var(--k-player-primary-color);\n}\n\n.plyr__controls__item.plyr__progress__container:hover #k-player-pbp {\n  top: -18px;\n}\n\n.plyr__switch-danmaku .icon--pressed {\n  --color: var(--k-player-primary-color);\n  transition: 0.3s all ease;\n}\n\n.plyr__switch-danmaku:hover .icon--pressed {\n  --color: white;\n}\n\n.k-popover-active .plyr__tooltip {\n  display: none;\n}\n\n.k-player-danmaku-list * {\n  box-sizing: border-box;\n  font-size: 14px;\n  line-height: normal;\n  font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;\n}\n.k-player-danmaku-list .k-modal-body {\n  padding: 0;\n}\n.k-player-danmaku-list-wrapper {\n  height: 500px;\n  max-height: 80vh;\n  display: flex;\n  flex-direction: column;\n}\n.k-player-danmaku-list-source-filter {\n  display: flex;\n  align-items: center;\n  white-space: nowrap;\n  padding: 16px;\n}\n.k-player-danmaku-list-source {\n  flex: 1;\n  min-width: 0;\n  display: flex;\n  flex-wrap: wrap;\n  gap: 8px;\n}\n.k-player-danmaku-list-table-wrapper {\n  flex: 1;\n  min-height: 0;\n  overflow-y: scroll;\n  position: relative;\n}\n.k-player-danmaku-list-table-wrapper::-webkit-scrollbar {\n  width: 8px;\n}\n.k-player-danmaku-list-table-wrapper::-webkit-scrollbar-thumb {\n  background: rgba(0, 0, 0, 0.15);\n  border-radius: 4px;\n}\n.k-player-danmaku-list-table-wrapper::-webkit-scrollbar-thumb:hover {\n  background-color: rgba(0, 0, 0, 0.45);\n}\n.k-player-danmaku-list-table {\n  width: 100%;\n  border-spacing: 0;\n  border-collapse: separate;\n  table-layout: fixed;\n}\n.k-player-danmaku-list-table th,\n.k-player-danmaku-list-table td {\n  padding: 8px;\n  border-bottom: 1px solid #f1f1f1;\n  word-wrap: break-word;\n  word-break: break-all;\n  white-space: nowrap;\n}\n.k-player-danmaku-list-table th {\n  position: sticky;\n  background-color: white;\n  top: 0;\n  z-index: 1;\n}\n.k-player-danmaku-list-table th:nth-child(1) {\n  width: 55px;\n}\n.k-player-danmaku-list-table td:nth-child(2) {\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n.k-player-danmaku-list-table th:nth-child(3) {\n  width: 100px;\n}";
  n(css$7,{});

  function createProgressBarPower(duration, comments) {
    const data = comments.map((cmt) => cmt.time);
    const svgMaxLength = 1e3;
    const size = 100;
    const stepLength = svgMaxLength / size;
    const stepTime = duration / size;
    const counts = [];
    let i = 0, j = 0;
    while (i++ <= size) {
      const base = stepTime * i;
      let count = 0;
      while (data[j++] < base) {
        count++;
      }
      counts.push(count);
    }
    let start = "M 0 100, L ";
    let end = " 1000.0 80.0 L 1000 100 Z";
    const maxCount = Math.max(Math.max(...counts), 1);
    const points = [];
    counts.forEach((count, i2) => {
      const x = i2 * stepLength;
      const y = (1 - count / maxCount) * 80;
      if (i2 !== 0)
        points.push({ x: (x - stepLength / 2).toFixed(2), y: y.toFixed(2) });
      if (i2 !== counts.length - 1)
        points.push({ x: x.toFixed(2), y: y.toFixed(2) });
    });
    for (let i2 = 0; i2 < points.length; ) {
      const p1 = points[i2++];
      const p2 = points[i2++];
      start += `${p1.x} ${p1.y} C ${p2.x} ${p1.y}, ${p2.x} ${p2.y},`;
    }
    $pbp.find("path").attr("d", start + end);
    $(".plyr__controls__item.plyr__progress__container .plyr__progress").append(
      $pbp
    );
  }

  Object.assign(defaultConfig, {
    showDanmaku: false,
    opacity: 0.6,
    showPbp: false,
    danmakuSpeed: 1,
    danmakuFontSize: 1,
    danmakuMode: ["top", "color"],
    danmakuFilter: [],
    danmakuScrollAreaPercent: 1,
    danmakuMerge: false,
    danmakuDensity: 1,
    danmakuOverlap: false,
    danmakuSourceDisabledList: []
  });
  const baseDanmkuSpeed = 130;
  let state = 0 /* unSearched */;
  const $animeName = $danmaku.find("#animeName");
  const $animes = $danmaku.find("#animes");
  const $episodes = $danmaku.find("#episodes");
  const $openDanmakuList = $danmaku.find(".open-danmaku-list");
  const $tips = $danmaku.find("#tips");
  const $showDanmaku = $danmaku.find("[name='showDanmaku']");
  const $showPbp = $danmaku.find("[name='showPbp']");
  const $danmakuMerge = $danmaku.find("[name='danmakuMerge']");
  const $danmakuOverlap = $danmaku.find(
    "[name='danmakuOverlap']"
  );
  const $opacity = $danmaku.find("[name='opacity']");
  const $danmakuSpeed = $danmaku.find("[name='danmakuSpeed']");
  const $danmakuFontSize = $danmaku.find(
    "[name='danmakuFontSize']"
  );
  const $danmakuDensity = $danmaku.find(
    "[name='danmakuDensity']"
  );
  const $danmakuScrollAreaPercent = $danmaku.find(
    "[name='danmakuScrollAreaPercent']"
  );
  const $danmakuMode = $danmaku.find("[name='danmakuMode']");
  let core;
  let comments;
  let player$1;
  let videoInfo;
  let syncDiff = 0;
  function refreshDanmaku() {
    stop();
    autoStart();
  }
  const showTips = (message, duration = 1500) => {
    $tips.text(message).fadeIn("fast").delay(duration).fadeOut("fast");
  };
  const stop = () => {
    core == null ? void 0 : core.hide();
  };
  const start = () => {
    function run() {
      if (!player$1.media.duration)
        return requestAnimationFrame(run);
      if (!comments)
        return;
      const nextComments = adjustCommentCount(comments);
      $openDanmakuList.find('[data-id="count"]').text(`(${nextComments.length}/${comments.length})`);
      if (player$1.localConfig.showDanmaku) {
        if (!core) {
          core = new Danmaku({
            container: $danmakuContainer[0],
            media: player$1.media,
            comments: nextComments,
            merge: player$1.localConfig.danmakuMerge,
            scrollAreaPercent: player$1.localConfig.danmakuScrollAreaPercent,
            overlap: player$1.localConfig.danmakuOverlap
          });
        } else {
          core.reload(nextComments);
          core.show();
        }
        core.speed = baseDanmkuSpeed * player$1.localConfig.danmakuSpeed;
      }
      if (player$1.localConfig.showPbp) {
        createProgressBarPower(player$1.media.duration, nextComments);
      }
    }
    requestAnimationFrame(run);
  };
  const adjustCommentCount = (comments2) => {
    let ret = comments2;
    ret = ret.filter((cmt) => {
      const isFilterMatch = player$1.localConfig.danmakuFilter.some((filter) => {
        if (/^\/.*\/$/.test(filter)) {
          const re = new RegExp(filter.slice(1, -1));
          return re.test(cmt.text);
        } else {
          return cmt.text.includes(filter);
        }
      });
      return !isFilterMatch;
    });
    ret = ret.filter((cmt) => {
      const isDisabledSource = player$1.localConfig.danmakuSourceDisabledList.includes(cmt.user.source);
      return !isDisabledSource;
    });
    const mode = player$1.localConfig.danmakuMode;
    if (!mode.includes("color")) {
      ret = ret.filter(
        (cmt) => cmt.style.color === "#ffffff"
      );
    }
    if (!mode.includes("bottom")) {
      ret = ret.filter((cmt) => cmt.mode !== "bottom");
    }
    if (!mode.includes("top")) {
      ret = ret.filter((cmt) => cmt.mode !== "top");
    }
    const maxLength = Math.round(
      3e3 / (24 * 60) * player$1.media.duration * player$1.localConfig.danmakuDensity
    );
    if (ret.length > maxLength) {
      let ratio = ret.length / maxLength;
      ret = [...new Array(maxLength)].map((_, i) => ret[Math.floor(i * ratio)]);
    }
    return ret;
  };
  const loadEpisode = async (episodeId) => {
    stop();
    comments = await getComments(episodeId);
    syncDiff = 0;
    state = 3 /* getComments */;
    start();
    player$1.message.info(`\u756A\u5267\uFF1A${$animes.find(":selected").text()}`, 2e3);
    player$1.message.info(`\u7AE0\u8282\uFF1A${$episodes.find(":selected").text()}`, 2e3);
    player$1.message.info(`\u5DF2\u52A0\u8F7D ${comments.length} \u6761\u5F39\u5E55`, 2e3);
  };
  const searchAnime = async (name) => {
    state = 1 /* searched */;
    name || (name = $animeName.val());
    if (!name || name.length < 2)
      return showTips("\u756A\u5267\u540D\u79F0\u4E0D\u5C11\u4E8E2\u4E2A\u5B57");
    try {
      const animes = await searchAnimeWithEpisode(name);
      if (animes.length === 0)
        return showTips("\u672A\u641C\u7D22\u5230\u756A\u5267");
      updateAnimes(animes);
      findEpisode(animes);
    } catch (error) {
      showTips("\u5F39\u5E55\u670D\u52A1\u5F02\u5E38\uFF0C\u7A0D\u540E\u518D\u8BD5", 3e3);
    }
  };
  const findEpisode = async (animes) => {
    if (!animes)
      return;
    const anime = animes.find((anime2) => {
      const storeAnime = storageAnimeName(videoInfo.rawName);
      if (storeAnime) {
        return anime2.animeId === storeAnime.animeId;
      }
      return anime2.animeTitle === videoInfo.rawName;
    });
    if (anime) {
      let episodeName = videoInfo.episode;
      let episode;
      let storedEpisodeId = storageEpisodeName(
        `${videoInfo.rawName}.${videoInfo.episode}`
      );
      if (storedEpisodeId) {
        episode = anime.episodes.find(
          (episode2) => String(episode2.episodeId) === storedEpisodeId
        );
      }
      if (!episode && !isNaN(+episodeName)) {
        episode = anime.episodes.find(
          (episode2) => new RegExp(`${episodeName}[\u8BDD\u96C6]`).test(episode2.episodeTitle)
        );
        if (!episode) {
          episode = anime.episodes.find(
            (episode2) => episode2.episodeTitle.includes(episodeName)
          );
        }
      }
      if (episode) {
        state = 2 /* findEpisode */;
        $animes.val(anime.animeId);
        $animes.trigger("change");
        $episodes.val(episode.episodeId);
        $episodes.trigger("change");
        return;
      }
    }
    player$1.message.info("\u5F39\u5E55\u672A\u80FD\u81EA\u52A8\u5339\u914D\u6570\u636E\u6E90\uFF0C\u8BF7\u624B\u52A8\u641C\u7D22");
  };
  const initEvents = (name) => {
    $animeName.val(name);
    $animeName.on("keypress", (e) => {
      if (e.key === "Enter")
        searchAnime($animeName.val());
    });
    $animeName.on("blur", (e) => {
      searchAnime($animeName.val());
    });
    $animes.on("change", (e) => {
      const animeId = $(e.target).val();
      const animes = $animes.data("animes");
      const anime = animes.find((anime2) => String(anime2.animeId) === animeId);
      if (!anime)
        return;
      storageAnimeName(videoInfo.rawName, {
        animeId: anime.animeId,
        animeTitle: anime.animeTitle,
        keyword: $animeName.val()
      });
      updateEpisodes(anime);
    });
    $episodes.on("change", (e) => {
      const episodeId = $(e.target).val();
      const anime = $episodes.data("anime");
      storageAnimeName(videoInfo.rawName, {
        animeId: anime.animeId,
        animeTitle: anime.animeTitle,
        keyword: $animeName.val()
      });
      storageEpisodeName(`${videoInfo.rawName}.${videoInfo.episode}`, episodeId);
      loadEpisode(episodeId);
    });
    $danmakuSwitch.toggleClass("plyr__control--pressed", player$1.localConfig.showDanmaku).on("click", () => {
      switchDanmaku();
    });
    const resizeOb = new ResizeObserver(() => {
      core == null ? void 0 : core.resize();
    });
    resizeOb.observe($danmakuContainer[0]);
    const mutationOb = new MutationObserver(async () => {
      Object.assign(videoInfo, await runtime.getCurrentVideoNameAndEpisode());
      state = 1 /* searched */;
      autoStart();
    });
    mutationOb.observe(player$1.media, { attributeFilter: ["src"] });
    player$1.initInputEvent();
    $showDanmaku.prop("checked", player$1.localConfig.showDanmaku).on("change", (e) => {
      switchDanmaku(e.target.checked);
    });
    $showPbp.prop("checked", player$1.localConfig.showPbp).on("change", (e) => {
      const chekced = e.target.checked;
      $pbp.toggle(chekced);
      player$1.configSaveToLocal("showPbp", chekced);
      if (chekced)
        autoStart();
    });
    $pbp.toggle(player$1.localConfig.showPbp || false);
    const $pbpPlayed = $pbp.find("#k-player-pbp-played-path");
    player$1.on("timeupdate", () => {
      $pbpPlayed.attr(
        "width",
        (player$1.currentTime / player$1.plyr.duration || 0) * 100 + "%"
      );
    });
    $danmakuMerge.prop("checked", player$1.localConfig.danmakuMerge).on("change", (e) => {
      const chekced = e.target.checked;
      player$1.configSaveToLocal("danmakuMerge", chekced);
      if (core)
        core.merge = chekced;
    });
    $danmakuOverlap.prop("checked", player$1.localConfig.danmakuOverlap).on("change", (e) => {
      const chekced = e.target.checked;
      player$1.configSaveToLocal("danmakuOverlap", chekced);
      if (core)
        core.overlap = chekced;
    });
    addRangeListener({
      $dom: $opacity,
      name: "opacity",
      onInput: (v) => {
        $danmakuContainer.css({ opacity: v });
      },
      player: player$1
    });
    addRangeListener({
      $dom: $danmakuFontSize,
      name: "danmakuFontSize",
      onInput: (v) => {
        $danmakuContainer.css("--danmaku-font-size-scale", v);
      },
      player: player$1
    });
    addRangeListener({
      $dom: $danmakuSpeed,
      name: "danmakuSpeed",
      onChange: (v) => {
        if (core)
          core.speed = baseDanmkuSpeed * v;
      },
      player: player$1
    });
    addRangeListener({
      $dom: $danmakuDensity,
      name: "danmakuDensity",
      onChange: refreshDanmaku,
      player: player$1
    });
    addRangeListener({
      $dom: $danmakuScrollAreaPercent,
      name: "danmakuScrollAreaPercent",
      onChange: (val) => {
        if (core)
          core.scrollAreaPercent = val;
      },
      player: player$1
    });
    setCheckboxGroupValue($danmakuMode, player$1.localConfig.danmakuMode);
    $danmakuMode.on("change", () => {
      const modes = getCheckboxGroupValue($danmakuMode);
      player$1.configSaveToLocal("danmakuMode", modes);
      if (core) {
        refreshDanmaku();
      }
    });
    createFilter(player$1, refreshDanmaku);
    createDanmakuList(player$1, () => comments, refreshDanmaku);
  };
  function switchDanmaku(bool) {
    bool != null ? bool : bool = !player$1.localConfig.showDanmaku;
    player$1.configSaveToLocal("showDanmaku", bool);
    $danmakuSwitch.toggleClass("plyr__control--pressed", bool);
    $showDanmaku.prop("checked", bool);
    player$1.message.info(`\u5F39\u5E55${bool ? "\u5F00\u542F" : "\u5173\u95ED"}`);
    if (bool) {
      autoStart();
    } else {
      stop();
    }
  }
  Shortcuts.keyBindings.registerKeyBinding({
    command: Commands.danmakuSwitch,
    description: "\u663E\u793A/\u9690\u85CF\u5F39\u5E55",
    key: "D"
  });
  Shortcuts.registerCommand(Commands.danmakuSwitch, function() {
    switchDanmaku();
  });
  Shortcuts.keyBindings.registerKeyBinding({
    command: Commands.danmakuSyncBack,
    description: "\u5F39\u5E55\u6EDE\u540E0.5s",
    key: ","
  });
  Shortcuts.registerCommand(Commands.danmakuSyncBack, function() {
    if (!comments)
      return;
    comments.forEach((comment) => {
      comment.time += 0.5;
    });
    syncDiff += 0.5;
    this.message.destroy();
    this.message.info(`\u5F39\u5E55\u540C\u6B65\uFF1A\u6EDE\u540E\u4E860.5s\uFF08${syncDiff}s\uFF09`);
    refreshDanmaku();
  });
  Shortcuts.keyBindings.registerKeyBinding({
    command: Commands.danmakuSyncForward,
    description: "\u5F39\u5E55\u8D85\u524D0.5s",
    key: "."
  });
  Shortcuts.registerCommand(Commands.danmakuSyncForward, function() {
    if (!comments)
      return;
    comments.forEach((comment) => {
      comment.time += -0.5;
    });
    syncDiff += -0.5;
    this.message.destroy();
    this.message.info(`\u5F39\u5E55\u540C\u6B65\uFF1A\u8D85\u524D\u4E860.5s\uFF08${syncDiff}s\uFF09`);
    refreshDanmaku();
  });
  Shortcuts.keyBindings.registerKeyBinding({
    command: Commands.danmakuSyncRestore,
    description: "\u5F39\u5E55\u540C\u6B65\u590D\u4F4D",
    key: "/"
  });
  Shortcuts.registerCommand(Commands.danmakuSyncRestore, function() {
    if (!comments)
      return;
    comments.forEach((comment) => {
      comment.time += -syncDiff;
    });
    syncDiff = 0;
    this.message.destroy();
    this.message.info("\u5F39\u5E55\u540C\u6B65\uFF1A\u5DF2\u590D\u4F4D");
    refreshDanmaku();
  });
  const updateAnimes = (animes) => {
    const html = animes.reduce(
      (html2, anime) => html2 + `<option value="${anime.animeId}">${anime.animeTitle}</option>`,
      ""
    );
    $animes.data("animes", animes);
    $animes.html(html);
    updateEpisodes(animes[0]);
    showTips(`\u627E\u5230 ${animes.length} \u90E8\u756A\u5267`);
  };
  const updateEpisodes = (anime) => {
    const { episodes } = anime;
    const html = episodes.reduce(
      (html2, episode) => html2 + `<option value="${episode.episodeId}">${episode.episodeTitle}</option>`,
      ""
    );
    $episodes.data("anime", anime);
    $episodes.html(html);
    $episodes.val("");
  };
  function autoStart() {
    if (!(player$1.localConfig.showDanmaku || player$1.localConfig.showPbp))
      return;
    switch (state) {
      case 0 /* unSearched */:
        searchAnime();
        break;
      case 1 /* searched */:
        findEpisode($animes.data("animes"));
        break;
      case 2 /* findEpisode */:
        $episodes.trigger("change");
        break;
      case 3 /* getComments */:
        start();
        break;
    }
  }
  async function setup(_player) {
    player$1 = _player;
    const info = await runtime.getCurrentVideoNameAndEpisode();
    if (!info)
      return;
    videoInfo = info;
    player$1.$videoWrapper.append($danmakuContainer);
    $danmaku.insertBefore(player$1.$searchActions);
    $danmaku.before($danmakuSwitch);
    let defaultSearchName = storageAnimeName(videoInfo.rawName) || videoInfo.name;
    initEvents(
      typeof defaultSearchName === "object" ? defaultSearchName.keyword : defaultSearchName
    );
    autoStart();
  }

  KPlayer.register(setup);
  KPlayer.register(setup$1);

  function execInUnsafeWindow(fn) {
    return new Promise((resolve, reject) => {
      const contextId = Math.random().toFixed(16).slice(2);
      window.addEventListener("message", function listener(e) {
        if (e.data && e.data.contextId === contextId) {
          const data = e.data.data;
          resolve(data);
          window.removeEventListener("message", listener);
          script.remove();
        }
      });
      const code = `
    ;(async function runInUnsafeWindow() {
      const data = await (${fn.toString()})()
      window.postMessage({ contextId: '${contextId}', data }, '*')
    })()
    `;
      const script = document.createElement("script");
      script.textContent = code;
      document.body.appendChild(script);
    });
  }

  function queryDom(selector) {
    return new Promise((resolve) => {
      let dom;
      function search() {
        dom = $(selector);
        if (dom.length === 0) {
          requestAnimationFrame(search);
        } else {
          resolve(dom[0]);
        }
      }
      search();
    });
  }

  function sleep(ms) {
    if (!ms) {
      return new Promise((resolve) => {
        requestAnimationFrame(resolve);
      });
    }
    return new Promise((resolve) => {
      setTimeout(resolve, ms);
    });
  }

  async function wait(selector) {
    let bool = selector();
    while (!bool) {
      await sleep();
      bool = selector();
    }
  }

  let player;
  const parser$3 = {
    "danmu.yhdmjx.com": async () => {
      const video = await queryDom("video");
      video.src = "";
      player = new KPlayer("#player", { eventToParentWindow: true });
      player.src = await execInUnsafeWindow(
        () => window.v_decrypt(window.config.url, window._token_key, window.key_token)
      );
    },
    "pro.ascepan.top": async () => {
      const video = await queryDom("video");
      video.src = "";
      player = new KPlayer("#player", { eventToParentWindow: true });
      player.src = await execInUnsafeWindow(() => window.config.url);
    },
    "sp-flv.com": async () => {
      const video = await queryDom("video");
      await wait(() => !!video.currentSrc);
      let url = video.currentSrc;
      if (url.startsWith("blob:")) {
        url = await execInUnsafeWindow(() => window.video_url);
        if (url) {
          video.src = "";
          player = new KPlayer("#mplayer-media-wrapper", {
            eventToParentWindow: true
          });
          player.src = url;
        }
      } else {
        video.src = "";
        player = new KPlayer("#mplayer-media-wrapper", {
          eventToParentWindow: true
        });
        player.src = url;
      }
      console.log("\u{1F680} ~ file: parser.ts:29 ~ 'vip.sp-flv.com': ~ url:", url);
    },
    "agefans-01": async () => {
      let url = "";
      while (!url) {
        url = await execInUnsafeWindow(() => {
          var _a;
          return (_a = window.stray) == null ? void 0 : _a.url;
        });
        await sleep(100);
      }
      $("#artplayer").remove();
      $("body").append('<div id="k-player-container"/>');
      player = new KPlayer("#k-player-container", { eventToParentWindow: true });
      player.src = url;
    },
    "agefans-02": async () => {
      let url = "";
      while (!url) {
        url = await execInUnsafeWindow(() => {
          var _a, _b;
          return ((_b = (_a = window.art) == null ? void 0 : _a.hls) == null ? void 0 : _b.url) || window.Vurl;
        });
        await sleep(100);
      }
      await execInUnsafeWindow(() => window.art.destroy(false));
      $("#loading").remove();
      $("body").append('<div id="k-player-container"/>');
      player = new KPlayer("#k-player-container", { eventToParentWindow: true });
      player.src = url;
    }
  };

  var css$6 = ".pro-ascepan-top #bkcl {\n  display: none !important;\n}";
  n(css$6,{});

  runtime.register({
    domains: [
      "pro.ascepan.top",
      "danmu.yhdmjx.com",
      "sp-flv.com",
      "43.240.74.134",
      "43.240.156.118"
    ],
    opts: [
      {
        test: () => window.location.href.includes("danmu.yhdmjx.com/m3u8.php"),
        runInIframe: true,
        run: parser$3["danmu.yhdmjx.com"]
      },
      {
        test: () => window.location.href.includes("pro.ascepan.top/player"),
        runInIframe: true,
        run: parser$3["pro.ascepan.top"],
        setup: () => $("body").addClass("pro-ascepan-top")
      },
      {
        test: () => !!window.location.href.match(/sp-flv\.com.*url=/),
        runInIframe: true,
        run: parser$3["sp-flv.com"]
      },
      {
        test: () => !!window.location.href.match(
          /((43.240.74.134)|(43.240.156.118)).*vip.*url=/
        ),
        runInIframe: true,
        run: parser$3["agefans-01"]
      },
      {
        test: () => !!window.location.href.match(
          /((43.240.74.134)|(43.240.156.118)).*m3u8.*url=/
        ),
        runInIframe: true,
        run: parser$3["agefans-02"]
      }
    ],
    search: {
      getSearchName: () => {
        return new Promise((resolve) => {
          const fn = (e) => {
            if (e.data.key === "getSearchName") {
              resolve(e.data.name);
              window.removeEventListener("message", fn);
            }
          };
          window.addEventListener("message", fn);
          parent.postMessage({ key: "getSearchName" }, "*");
        });
      },
      getEpisode: () => {
        return new Promise((resolve) => {
          const fn = (e) => {
            if (e.data.key === "getEpisode") {
              resolve(e.data.name);
              window.removeEventListener("message", fn);
            }
          };
          window.addEventListener("message", fn);
          parent.postMessage({ key: "getEpisode" }, "*");
        });
      }
    }
  });

  var css$5 = ".agefans-wrapper .video_detail_episode a:visited {\n  color: rgb(220, 53, 69) !important;\n}";
  n(css$5,{});

  var css$4 = ".k-episode-anchor:visited {\n  color: rgb(220, 53, 69) !important;\n}\n\n.k-his-table {\n  width: 100%;\n  line-height: 1.4;\n  border-spacing: 0;\n  border-collapse: separate;\n}\n.k-his-table th,\n.k-his-table td {\n  padding: 4px 8px;\n  transition: background 0.3s ease;\n}\n.k-his-table tr:hover td {\n  background: #f1f1f1;\n}";
  n(css$4,{});

  var __defProp$1 = Object.defineProperty;
  var __defProps$1 = Object.defineProperties;
  var __getOwnPropDescs$1 = Object.getOwnPropertyDescriptors;
  var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
  var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
  var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
  var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
  var __spreadValues$1 = (a, b) => {
    for (var prop in b || (b = {}))
      if (__hasOwnProp$1.call(b, prop))
        __defNormalProp$1(a, prop, b[prop]);
    if (__getOwnPropSymbols$1)
      for (var prop of __getOwnPropSymbols$1(b)) {
        if (__propIsEnum$1.call(b, prop))
          __defNormalProp$1(a, prop, b[prop]);
      }
    return a;
  };
  var __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));
  const his$1 = {
    key: "k-history",
    load() {
      return local.getItem(this.key, []);
    },
    save(data) {
      local.setItem(this.key, data.slice(0, 100));
    },
    log(info, time) {
      let data = local.getItem(this.key, []);
      data = data.filter((o) => o.id !== info.id);
      data.unshift(__spreadProps$1(__spreadValues$1({}, info), { time }));
      this.save(data);
    }
  };
  const logHis$1 = throttle(his$1.log.bind(his$1), 1e3);
  function renderHistroy$1() {
    const data = his$1.load();
    const content = data.map(
      (info) => `<tr>
    <td>
      <a href="${info.url}">${info.animeName}</a>
    </td>
    <td>
      <a href="${info.url}">${info.episodeName}</a>
    </td>
    <td>${parseTime(info.time)}</td>
    </tr>`
    ).join("");
    modal({
      title: "\u5386\u53F2\u8BB0\u5F55",
      content: `
    <table class="k-his-table">
      <thead>
        <tr>
          <th>\u6807\u9898</th>
          <th style="width:80px">\u7AE0\u8282</th>
          <th style="width:80px">\u65F6\u95F4</th>
        </tr>
      </thead>
      <tbody>
        ${content}
      </tbody>
    </table>
      `
    });
  }

  function defineIframePlayer(config) {
    const { iframeSelector, search } = config;
    function createIframeReadyToChangeIframeSrc(url) {
      const iframe = document.createElement("iframe");
      iframe.className = "ready-to-change-iframe-src";
      iframe.style.cssText = "position:fixed;left:0;top:0;z-index:9999;opacity:0;pointer-events:none;";
      iframe.src = url;
      document.body.appendChild(iframe);
    }
    function setActive(url) {
      if (window.location.href !== url) {
        window.history.pushState(window.history.state, "", url);
      }
      config.setActive(url);
      createIframeReadyToChangeIframeSrc(url);
    }
    function createHistrory() {
      if (config.history) {
        config.history.creator(renderHistroy$1);
      }
    }
    function isFocusInputElement() {
      if (!document.activeElement)
        return false;
      return ["input", "textarea", "select"].includes(
        document.activeElement.tagName.toLowerCase()
      );
    }
    function runInTop() {
      window.addEventListener("keydown", (e) => {
        var _a;
        if (isFocusInputElement())
          return;
        if ((_a = window.getSelection()) == null ? void 0 : _a.toString())
          return;
        if (e.ctrlKey || e.shiftKey || e.altKey || e.metaKey)
          return;
        $(iframeSelector)[0].blur();
        $(iframeSelector)[0].focus();
        if (e.key === " ")
          e.preventDefault();
      });
      $(iframeSelector).attr({ allow: "autoplay; fullscreen" });
      window.addEventListener("popstate", () => {
        setActive(window.location.href);
      });
      config.getEpisodeList().each((_, el) => {
        el.classList.add("k-episode-anchor");
        el.addEventListener("click", (e) => {
          e.preventDefault();
          if ($(".ready-to-change-iframe-src").length)
            return;
          if (!el.href)
            return;
          setActive(el.href);
        });
      });
      window.addEventListener("message", async (e) => {
        var _a, _b, _c, _d;
        if (!e.data.key)
          return;
        switch (e.data.key) {
          case "getSearchName": {
            (_a = e.source) == null ? void 0 : _a.postMessage(
              {
                key: "getSearchName",
                name: await search.getSearchName()
              },
              { targetOrigin: "*" }
            );
            break;
          }
          case "getEpisode": {
            (_b = e.source) == null ? void 0 : _b.postMessage(
              { key: "getEpisode", name: await search.getEpisode() },
              { targetOrigin: "*" }
            );
            break;
          }
          case "openLink": {
            window.open(e.data.url);
            break;
          }
          case "changeIframeSrc": {
            const iframe = $(iframeSelector)[0];
            (_c = iframe.contentWindow) == null ? void 0 : _c.location.replace(e.data.url);
            document.title = e.data.title;
            $(".ready-to-change-iframe-src").remove();
            break;
          }
          case "prev":
          case "next": {
            if ($(".ready-to-change-iframe-src").length)
              return;
            const url = config.switchEpisode(e.data.key === "next");
            if (url)
              setActive(url);
            break;
          }
          case "enterwidescreen": {
            $("body").css("overflow", "hidden");
            $("body").addClass("widescreen");
            $(iframeSelector).css({
              position: "fixed",
              left: 0,
              right: 0,
              bottom: 0,
              top: 0,
              zIndex: 2147483648
            });
            break;
          }
          case "exitwidescreen": {
            $("body").css("overflow", "");
            $("body").removeClass("widescreen");
            $(iframeSelector).removeAttr("style");
            break;
          }
          case "timeupdate": {
            if (config.history) {
              logHis$1(
                {
                  animeName: await search.getSearchName(),
                  episodeName: await search.getEpisode(),
                  id: await config.history.getId(),
                  url: window.location.href
                },
                e.data.video.currentTime
              );
            }
            break;
          }
        }
        (_d = config.onIframeMessage) == null ? void 0 : _d.call(config, e.data.key, e.data, e);
      });
    }
    function runInIframe() {
      top == null ? void 0 : top.postMessage(
        {
          key: "changeIframeSrc",
          url: $(iframeSelector).attr("src"),
          title: document.title
        },
        "*"
      );
    }
    return { runInTop, runInIframe, createHistrory };
  }

  function getActive$5() {
    return $(".van-grid-item.van-grid-item--active");
  }
  function switchPart$6(next) {
    var _a;
    const $active = getActive$5();
    let $nextActive = $active[next ? "next" : "prev"]();
    (_a = $nextActive[0]) == null ? void 0 : _a.click();
    return null;
  }
  const iframePlayer$5 = defineIframePlayer({
    iframeSelector: "#playerIFrame iframe",
    getActive: getActive$5,
    setActive: (href) => {
    },
    search: {
      getSearchName: () => $(".detail-box h2").text(),
      getEpisode: () => getActive$5().text()
    },
    getEpisodeList: () => $(".video-source-box .van-grid-item"),
    switchEpisode: (next) => switchPart$6(next)
  });
  async function mobilePlayModule() {
    await wait(() => getActive$5().length > 0);
    iframePlayer$5.runInTop();
  }

  function calcSortDirection() {
    var _a, _b, _c;
    const $active = getActive$4();
    const $prev = $active.prev();
    const $next = $active.next();
    const prevText = (_a = $prev.text().match(/\d+/)) == null ? void 0 : _a[0];
    const nextText = (_b = $next.text().match(/\d+/)) == null ? void 0 : _b[0];
    const activeText = (_c = $active.text().match(/\d+/)) == null ? void 0 : _c[0];
    const prev = Number(prevText);
    const current = Number(activeText);
    const next = Number(nextText);
    if (prevText) {
      if (prev < current) {
        local.setItem("sortDirection", "asc");
      } else {
        local.setItem("sortDirection", "desc");
      }
    } else if (nextText) {
      if (next > current) {
        local.setItem("sortDirection", "asc");
      } else {
        local.setItem("sortDirection", "desc");
      }
    } else {
      local.setItem("sortDirection", "asc");
    }
    return local.getItem("sortDirection");
  }
  function getActiveTabIndex() {
    const pathname = window.location.pathname;
    const match = pathname.match(/play\/.*\/(\d+)\/(\d+)/);
    if (match) {
      const activeTab = match[1];
      return Number(activeTab) - 1;
    }
    return null;
  }
  function getSortButon() {
    return $('button:contains("\u66F4\u6539\u6392\u5E8F")');
  }
  function rememberSortDirection() {
    const $btn = getSortButon();
    $btn.on("click", () => {
      setTimeout(() => {
        calcSortDirection();
        activeScrollIntoView();
      }, 100);
    });
  }
  function getSortDirection() {
    return local.getItem("sortDirection", "asc");
  }
  function restoreSortDirection() {
    const sortDirection = getSortDirection();
    if (sortDirection === "desc") {
      getSortButon().trigger("click");
    }
  }
  function activeScrollIntoView() {
    const $active = getActive$4();
    function getScrollParent() {
      let parent = $active.parent()[0];
      while (parent && parent.tagName !== "BODY") {
        const overflowY = getComputedStyle(parent).overflowY;
        if (overflowY === "auto" || overflowY === "scroll") {
          return parent;
        }
        parent = parent.parentElement;
      }
      return document.body;
    }
    const scrollEl = getScrollParent();
    const scrollRect = scrollEl.getBoundingClientRect();
    const activeRect = $active[0].getBoundingClientRect();
    scrollEl.scrollTop += activeRect.top - scrollRect.top - 100;
  }
  function insertFocusBtn() {
    const html = `
  <button id="k-focus" type="button" class="btn btn-sm btn-outline-light btn-playlist-order">\u805A\u7126</button>
  `;
    $(html).on("click", async () => {
      const idx = getActiveTabIndex();
      if (idx != null) {
        const $activeTab = $(".playlist-source-tab button[data-bs-toggle]").eq(
          idx
        );
        if (!$activeTab.hasClass("active")) {
          $activeTab.trigger("click");
          await sleep(100);
        }
      }
      activeScrollIntoView();
    }).prependTo(".playlist-source-tab .float-end");
  }
  function getActive$4() {
    return $(".video_detail_episode .video_detail_spisode_playing").parent();
  }
  function switchPart$5(next) {
    var _a;
    const $active = getActive$4();
    const sortDirection = getSortDirection();
    let $nextActive;
    if (sortDirection === "asc")
      $nextActive = $active[next ? "next" : "prev"]();
    else
      $nextActive = $active[next ? "prev" : "next"]();
    return (_a = $nextActive.find("a")[0]) == null ? void 0 : _a.href;
  }
  const iframePlayer$4 = defineIframePlayer({
    iframeSelector: ".video_play_wrapper iframe",
    getActive: getActive$4,
    setActive: (href) => {
      $(".video_detail_episode a").each((_, el) => {
        const $el = $(el);
        if (el.href === href) {
          $(".video_detail_spisode_playing").appendTo($el.parent());
        }
      });
      $("#k-focus").trigger("click");
    },
    search: {
      getSearchName: () => $(".video_detail_wrapper .cata_video_item .card-title").text(),
      getEpisode: () => getActive$4().text()
    },
    getEpisodeList: () => $(".video_detail_episode a"),
    switchEpisode: (next) => switchPart$5(next)
  });
  function playModule$1() {
    $(".video_detail_episode a").each((_, el) => {
      if (el.href)
        el.href = el.href.replace("http://", "https://");
    });
    iframePlayer$4.runInTop();
    rememberSortDirection();
    restoreSortDirection();
    insertFocusBtn();
    activeScrollIntoView();
  }
  function playModuleInIframe() {
    iframePlayer$4.runInIframe();
  }

  runtime.register({
    domains: ["age.tv", "agemys", "agefans", "agedm"],
    opts: [
      {
        test: "*",
        run: () => {
          $("body").addClass("agefans-wrapper");
        }
      },
      { test: "/play", run: playModule$1 },
      { test: "/play", run: playModuleInIframe, runInIframe: true },
      { test: () => location.hash.includes("/play/"), run: mobilePlayModule }
    ],
    search: {
      name: "agefans",
      search: (name) => `https://www.agefans.com/search?query=${name}`
    }
  });

  const favoriteKey = "favorite";
  function getFavorite(id) {
    const favorites = local.getItem(favoriteKey, []);
    if (id) {
      return favorites.find((f) => f.id === id);
    }
    return favorites;
  }
  function setFavorite(favorite) {
    const favorites = getFavorite();
    const index = favorites.findIndex((f) => f.id === favorite.id);
    if (index === -1) {
      favorites.push(favorite);
    } else {
      favorites[index] = favorite;
    }
    local.setItem(favoriteKey, favorites.slice(-100));
  }
  function removeFavorite(id) {
    const favorites = getFavorite();
    const index = favorites.findIndex((f) => f.id === id);
    if (index !== -1) {
      favorites.splice(index, 1);
      local.setItem(favoriteKey, favorites);
    }
  }
  function renderFavoriteList() {
    const favorites = getFavorite();
    const $root = $(".div_right.baseblock");
    const $content = $(`<div class="blockcontent">
    <ul id="anime_update"></ul>
  </div>`);
    $root.prepend(`<div class="blocktitle">\u8BA2\u9605</div>`, $content);
    let groups = $(".mod").map((idx, el) => {
      let list = [];
      $(el).find(".one_new_anime").each((_, el2) => {
        const $el = $(el2);
        const id = $el.find("a").attr("href").match(/\/(\d+).html/)[1];
        const title = $el.find(".one_new_anime_name").text();
        const update = $el.find(".one_new_anime_ji").text();
        const favorite = favorites.find((f) => f.id === id);
        if (favorite) {
          list.push({ favorite, title, update });
        }
      });
      return { idx, list };
    }).get();
    const day = new Date().getDay() - 1;
    groups = [...groups.slice(day), ...groups.slice(0, day)];
    groups.filter((o) => o.list.length > 0).forEach(({ idx, list }, index) => {
      const $ul = $(`<ul id="new_anime_page"></ul>`);
      list.forEach(({ favorite, title: title2, update }) => {
        $ul.append(
          `<li class="one_new_anime" style="display:flex; justify-content:space-between;">
            <a class="one_new_anime_name" href="${favorite.current.url}">${title2}</a>
            <a class="one_new_anime_ji" style="flex-shrink:0;" href="${favorite.current.url}">${favorite.current.name}/${update}</a>
          </li>`
        );
      });
      const title = $("#new_anime_btns .new_anime_btn").eq(idx).text();
      $content.find("#anime_update").append(
        `<div style="margin-top:${index !== 0 ? 8 : 0}px;">${title}</div>`,
        $ul
      );
    });
  }
  function renderFavoriteBtn() {
    const $btn = $(`<a href="javascript:void(0)" style="float:right;">\u8BA2\u9605</a>`);
    $btn.on("click", () => {
      if (getFavorite(id)) {
        removeFavorite(id);
        $btn.text("\u8BA2\u9605");
        return;
      } else {
        updateFavoriteCurrent(true);
        $btn.text("\u5DF2\u8BA2\u9605");
      }
    });
    const id = location.pathname.match(/\/(\d+)-/)[1];
    if (getFavorite().find((f) => f.id === id)) {
      $btn.text("\u5DF2\u8BA2\u9605");
    }
    $("#detailname").append($btn);
  }
  function updateFavoriteCurrent(push) {
    const id = location.pathname.match(/\/(\d+)-/)[1];
    if (!push && !getFavorite(id))
      return;
    const name = $(".active-play").text();
    const url = location.pathname;
    setFavorite({ id, current: { name, url } });
  }

  function getActive$3() {
    return $(".active-play");
  }
  function switchPart$4(next) {
    return $(".active-play").parent()[next ? "next" : "prev"]().find("a")[0].href;
  }
  function runInTop$3() {
    iframePlayer$3.runInTop();
    renderFavoriteBtn();
  }
  const iframePlayer$3 = defineIframePlayer({
    iframeSelector: "#playleft iframe",
    getActive: () => $(".active-play"),
    setActive: (href) => {
      $(".movurl a").each((_, el) => {
        if (el.href === href) {
          el.classList.add("active-play");
        } else {
          el.classList.remove("active-play");
        }
      });
    },
    search: {
      getSearchName: () => $("#detailname a:nth-child(1)").text(),
      getEpisode: () => getActive$3().text()
    },
    getEpisodeList: () => $(".movurl a"),
    switchEpisode: (next) => switchPart$4(next),
    history: {
      creator: (renderHistory) => {
        const $btn = $(`<a class="nav_button">\u5386\u53F2</a>`);
        $btn.on("click", renderHistory);
        $btn.insertBefore("#top_search_from");
      },
      getId: () => location.pathname.match(/\/(\d+)-/)[1]
    },
    onIframeMessage: (key, data) => {
      if (key === "canplay") {
        const video = data.video;
        const width = $("#ageframediv").width();
        if (width)
          $("#ageframediv").height(video.height / video.width * width);
        updateFavoriteCurrent(false);
      }
    }
  });

  runtime.register({
    domains: [".ntdm9."],
    opts: [
      { test: "*", run: iframePlayer$3.createHistrory },
      { test: "/", run: renderFavoriteList },
      { test: "/play", run: runInTop$3 },
      { test: "/play", run: iframePlayer$3.runInIframe, runInIframe: true }
    ],
    search: {
      name: "NT\u52A8\u6F2B",
      search: (name) => `http://www.ntdm9.com/search/-------------.html?wd=${name}&page=1`
    }
  });

  var css$3 = ".bimi-wrapper .play-full,\n.bimi-wrapper #bkcl,\n.bimi-wrapper marquee {\n  display: none !important;\n}\n.bimi-wrapper .bimi-his-table {\n  width: 100%;\n  line-height: 1.4;\n  border-spacing: 0;\n  border-collapse: separate;\n}\n.bimi-wrapper .bimi-his-table th,\n.bimi-wrapper .bimi-his-table td {\n  padding: 4px 8px;\n  transition: background 0.3s ease;\n}\n.bimi-wrapper .bimi-his-table tr:hover td {\n  background: #f1f1f1;\n}";
  n(css$3,{});

  var __defProp = Object.defineProperty;
  var __defProps = Object.defineProperties;
  var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
  var __hasOwnProp = Object.prototype.hasOwnProperty;
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
  var __spreadValues = (a, b) => {
    for (var prop in b || (b = {}))
      if (__hasOwnProp.call(b, prop))
        __defNormalProp(a, prop, b[prop]);
    if (__getOwnPropSymbols)
      for (var prop of __getOwnPropSymbols(b)) {
        if (__propIsEnum.call(b, prop))
          __defNormalProp(a, prop, b[prop]);
      }
    return a;
  };
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
  const his = {
    key: "bangumi-history",
    load() {
      return local.getItem(this.key, []);
    },
    save(data) {
      local.setItem(this.key, data.slice(0, 100));
    },
    log(info, time) {
      let data = local.getItem(this.key, []);
      data = data.filter((o) => o.id !== info.id);
      data.unshift(__spreadProps(__spreadValues({}, info), { time }));
      this.save(data);
    }
  };
  const logHis = throttle(his.log.bind(his), 1e3);
  function renderHistroy() {
    const data = his.load();
    const content = data.map(
      (info) => `<tr>
    <td>
      <a href="${info.url}">${info.animeName}</a>
    </td>
    <td>
      <a href="${info.url}">${info.episodeName}</a>
    </td>
    <td>${parseTime(info.time)}</td>
    </tr>`
    ).join("");
    modal({
      title: "\u5386\u53F2\u8BB0\u5F55",
      content: `
    <table class="bimi-his-table">
      <thead>
        <tr>
          <th>\u6807\u9898</th>
          <th>\u7AE0\u8282</th>
          <th style="width:100px">\u65F6\u95F4</th>
        </tr>
      </thead>
      <tbody>
        ${content}
      </tbody>
    </table>
      `
    });
  }
  function createButton() {
    const $btn = $('<li class="item"><a>\u5386\u53F2</a></li>');
    $btn.on("click", renderHistroy);
    $(".header-top__nav ul").append($btn);
  }
  function histroyModule() {
    createButton();
  }

  function replacePlayer() {
    new KPlayer("#player", {
      video: $("video")[0],
      eventToParentWindow: true
    });
  }
  function switchPart$3(next) {
    var _a;
    (_a = $(
      `.player-info .play-qqun .${next ? "next" : "pre"}:not(.btns_disad)`
    )[0]) == null ? void 0 : _a.click();
  }
  function getPlayInfo() {
    const animeName = $(".v_path a.current").text();
    const episodeName = (() => {
      let name = "";
      let pre = $(".player-info .play-qqun .pre").attr("href");
      let next = $(".player-info .play-qqun .next").attr("href");
      if (pre) {
        name = $(`.player_list a[href='${pre}']`).parent().next().find("a").text();
      } else if (next) {
        name = $(`.player_list a[href='${next}']`).parent().prev().find("a").text();
      } else {
        name = $(`.player_list a[href='${location.pathname}']`).text();
      }
      return name;
    })();
    const url = location.pathname;
    const id = location.pathname.match(new RegExp("\\/(?<id>\\d+)\\/play")).groups.id;
    return { id, url, animeName, episodeName };
  }
  async function playModule() {
    var _a;
    $("#bkcl").remove();
    const info = getPlayInfo();
    const iframe = await queryDom(
      `#playleft iframe[src*='url=']`
    );
    window.addEventListener("message", (e) => {
      var _a2, _b, _c, _d;
      if (!((_a2 = e.data) == null ? void 0 : _a2.key))
        return;
      const key = e.data.key;
      const video = e.data.video;
      if (key === "initDone") {
        (_b = iframe.contentWindow) == null ? void 0 : _b.postMessage({ key: "initDone" }, "*");
      }
      if (key === "prev")
        switchPart$3(false);
      if (key === "next")
        switchPart$3(true);
      if (key === "enterwidescreen") {
        $("body").css("overflow", "hidden");
        $(iframe).css({
          position: "fixed",
          left: 0,
          right: 0,
          bottom: 0,
          top: 0,
          zIndex: 99999
        });
      }
      if (key === "exitwidescreen") {
        $("body").css("overflow", "");
        $(iframe).removeAttr("style");
      }
      if (key === "getSearchName") {
        (_c = iframe.contentWindow) == null ? void 0 : _c.postMessage(
          { key: "getSearchName", name: info.animeName },
          "*"
        );
      }
      if (key === "getEpisode") {
        (_d = iframe.contentWindow) == null ? void 0 : _d.postMessage(
          { key: "getEpisode", name: info.episodeName },
          "*"
        );
      }
      if (key === "openLink") {
        window.open(e.data.url);
      }
      if (key === "canplay") {
        const height = $("#video").width() / video.width * video.height;
        $("#video").height(height);
      }
      if (key === "timeupdate") {
        logHis(info, video.currentTime);
      }
    });
    (_a = iframe.contentWindow) == null ? void 0 : _a.postMessage({ key: "initDone" }, "*");
    iframe.focus();
    window.addEventListener("keydown", (e) => {
      if (document.activeElement !== document.body)
        return;
      iframe.focus();
      if (e.key === " ")
        e.preventDefault();
    });
  }
  function playInIframeModule() {
    const fn = (e) => {
      var _a;
      if (!((_a = e.data) == null ? void 0 : _a.key))
        return;
      if (e.data.key === "initDone") {
        replacePlayer();
        window.removeEventListener("message", fn);
      }
    };
    window.addEventListener("message", fn);
    parent.postMessage({ key: "initDone" }, "*");
  }

  runtime.register({
    domains: [/bimiacg\d+.net/],
    opts: [
      {
        test: /.*/,
        setup: () => $("body").addClass("bimi-wrapper"),
        run: histroyModule
      },
      { test: ["/play/"], run: playModule },
      { test: [/.*/], runInIframe: true, run: playInIframeModule }
    ],
    search: {
      name: "BIMI\u52A8\u6F2B",
      search: (name) => `http://www.bimiacg10.net/vod/search/wd/${name}/`,
      getSearchName: () => {
        return new Promise((resolve) => {
          const fn = (e) => {
            if (e.data.key === "getSearchName") {
              resolve(e.data.name);
              window.removeEventListener("message", fn);
            }
          };
          window.addEventListener("message", fn);
          parent.postMessage({ key: "getSearchName" }, "*");
        });
      },
      getEpisode: () => {
        return new Promise((resolve) => {
          const fn = (e) => {
            if (e.data.key === "getEpisode") {
              resolve(e.data.name);
              window.removeEventListener("message", fn);
            }
          };
          window.addEventListener("message", fn);
          parent.postMessage({ key: "getEpisode" }, "*");
        });
      }
    }
  });

  function getActive$2() {
    return $(".module-play-list .module-play-list-link.active");
  }
  function switchPart$2(next) {
    var _a;
    return (_a = getActive$2()[next ? "next" : "prev"]().get(0)) == null ? void 0 : _a.href;
  }
  function runInTop$2() {
    $("body").addClass("mutefun");
    iframePlayer$2.runInTop();
  }
  const iframePlayer$2 = defineIframePlayer({
    iframeSelector: "#playleft iframe",
    getActive: getActive$2,
    setActive: (href) => {
      $(".module-play-list-link").each((_, el) => {
        if (el.href === href) {
          el.classList.add("active");
          $(".playon").insertAfter($(el).find("span"));
        } else {
          el.classList.remove("active");
        }
      });
    },
    search: {
      getSearchName: () => $(".module-info-heading h1").text(),
      getEpisode: () => getActive$2().text()
    },
    getEpisodeList: () => $(".module-play-list-link"),
    switchEpisode: (next) => switchPart$2(next)
  });
  async function parser$2() {
    const video = await queryDom("video");
    await wait(() => !!video.currentSrc);
    let url = video.currentSrc;
    url = await execInUnsafeWindow(() => window.config.url);
    video.src = "";
    const player = new KPlayer("#player", {
      eventToParentWindow: true
    });
    player.src = url;
    $("#ADplayer,#ADtip").remove();
  }

  var css$2 = ".mutefun.widescreen .header,\n.mutefun.widescreen .module-player-side,\n.mutefun.widescreen .fixedGroup {\n  visibility: hidden;\n  pointer-events: none;\n}";
  n(css$2,{});

  runtime.register({
    domains: [".mutedm.", ".mutean.", ".mute01."],
    opts: [
      { test: "/vodplay", run: runInTop$2 },
      { test: "/vodplay", run: iframePlayer$2.runInIframe, runInIframe: true },
      {
        test: ["/addons/dp/player/dp.php"],
        run: parser$2,
        runInIframe: true
      }
    ],
    search: {
      name: "MuteFun",
      search: (name) => `https://www.mutean.com/vodsearch/${name}-------------.html`,
      getSearchName: () => {
        return new Promise((resolve) => {
          const fn = (e) => {
            if (e.data.key === "getSearchName") {
              resolve(e.data.name);
              window.removeEventListener("message", fn);
            }
          };
          window.addEventListener("message", fn);
          parent.postMessage({ key: "getSearchName" }, "*");
        });
      },
      getEpisode: () => {
        return new Promise((resolve) => {
          const fn = (e) => {
            if (e.data.key === "getEpisode") {
              resolve(e.data.name);
              window.removeEventListener("message", fn);
            }
          };
          window.addEventListener("message", fn);
          parent.postMessage({ key: "getEpisode" }, "*");
        });
      }
    }
  });

  function getActive$1() {
    return $(".anthology-list-play li.on > a");
  }
  function switchPart$1(next) {
    var _a;
    return (_a = getActive$1().parent()[next ? "next" : "prev"]().find("a")[0]) == null ? void 0 : _a.href;
  }
  function runInTop$1() {
    $("body").addClass("cycanime");
    iframePlayer$1.runInTop();
  }
  const iframePlayer$1 = defineIframePlayer({
    iframeSelector: "#playleft iframe",
    getActive: getActive$1,
    setActive: (href) => {
      $(".anthology-list-play li a").each((_, el) => {
        if (el.href === href) {
          el.parentElement.classList.add("ecnav-dt", "on");
          $(".play-on").insertAfter($(el).find("span"));
        } else {
          el.parentElement.classList.remove("ecnav-dt", "on");
        }
      });
    },
    search: {
      getSearchName: () => $(".player-title-link").text(),
      getEpisode: () => getActive$1().text()
    },
    getEpisodeList: () => $(".anthology-list-play li a"),
    switchEpisode: (next) => switchPart$1(next)
  });
  async function parser$1() {
    const video = await queryDom("video");
    await wait(() => !!video.currentSrc);
    let url = video.currentSrc;
    video.src = "";
    const player = new KPlayer("#mui-player", {
      eventToParentWindow: true
    });
    player.src = url;
  }

  var css$1 = ".cycanime.widescreen .header_nav0,\n.cycanime.widescreen .top-back.hoa,\n.cycanime.widescreen .fixedGroup {\n  visibility: hidden;\n  pointer-events: none;\n}";
  n(css$1,{});

  runtime.register({
    domains: [".cycanime.", ".cyc-anime."],
    opts: [
      { test: "/watch", run: runInTop$1 },
      { test: "/watch", run: iframePlayer$1.runInIframe, runInIframe: true },
      {
        test: () => location.hostname.includes("player.cycanime"),
        run: parser$1,
        runInIframe: true
      }
    ],
    search: {
      name: "\u6B21\u5143\u57CE",
      search: (name) => `https://www.cyc-anime.net/search.html?wd=${name}`,
      getSearchName: () => {
        return new Promise((resolve) => {
          const fn = (e) => {
            if (e.data.key === "getSearchName") {
              resolve(e.data.name);
              window.removeEventListener("message", fn);
            }
          };
          window.addEventListener("message", fn);
          parent.postMessage({ key: "getSearchName" }, "*");
        });
      },
      getEpisode: () => {
        return new Promise((resolve) => {
          const fn = (e) => {
            if (e.data.key === "getEpisode") {
              resolve(e.data.name);
              window.removeEventListener("message", fn);
            }
          };
          window.addEventListener("message", fn);
          parent.postMessage({ key: "getEpisode" }, "*");
        });
      }
    }
  });

  function getActive() {
    return $(".anthology-list-play li.on > a");
  }
  function switchPart(next) {
    var _a;
    return (_a = getActive().parent()[next ? "next" : "prev"]().find("a")[0]) == null ? void 0 : _a.href;
  }
  function runInTop() {
    $("body").addClass("xfani");
    $(".player-news").remove();
    iframePlayer.runInTop();
  }
  const iframePlayer = defineIframePlayer({
    iframeSelector: "#playleft iframe",
    getActive,
    setActive: (href) => {
      $(".anthology-list-play li a").each((_, el) => {
        if (el.href === href) {
          el.parentElement.classList.add("ecnav-dt", "on");
          $(".play-on").insertAfter($(el).find("span"));
        } else {
          el.parentElement.classList.remove("ecnav-dt", "on");
        }
      });
    },
    search: {
      getSearchName: () => $(".player-title-link").text(),
      getEpisode: () => getActive().text()
    },
    getEpisodeList: () => $(".anthology-list-play li a"),
    switchEpisode: (next) => switchPart(next)
  });
  async function parser() {
    const video = await queryDom("video");
    await wait(() => !!video.currentSrc);
    let url = video.currentSrc;
    video.src = "";
    const player = new KPlayer("#player", {
      eventToParentWindow: true
    });
    player.src = url;
    $("#loading").remove();
    await execInUnsafeWindow(() => {
      PlayEr.void.destroy();
    });
  }

  var css = ".xfani.widescreen .header_nav0,\n.xfani.widescreen .top-back.hoa,\n.xfani.widescreen .fixedGroup {\n  visibility: hidden;\n  pointer-events: none;\n}";
  n(css,{});

  runtime.register({
    domains: [".xfani.", "player.moedot"],
    opts: [
      { test: "/watch", run: runInTop },
      { test: "/watch", run: iframePlayer.runInIframe, runInIframe: true },
      {
        test: () => location.hostname.includes("player.moedot"),
        run: parser,
        runInIframe: true
      }
    ],
    search: {
      name: "\u7A00\u996D\u52A8\u6F2B",
      search: (name) => `https://dick.xfani.com/search.html?wd=${name}`,
      getSearchName: () => {
        return new Promise((resolve) => {
          const fn = (e) => {
            if (e.data.key === "getSearchName") {
              resolve(e.data.name);
              window.removeEventListener("message", fn);
            }
          };
          window.addEventListener("message", fn);
          parent.postMessage({ key: "getSearchName" }, "*");
        });
      },
      getEpisode: () => {
        return new Promise((resolve) => {
          const fn = (e) => {
            if (e.data.key === "getEpisode") {
              resolve(e.data.name);
              window.removeEventListener("message", fn);
            }
          };
          window.addEventListener("message", fn);
          parent.postMessage({ key: "getEpisode" }, "*");
        });
      }
    }
  });

  runtime.run();

})(Hls, Plyr, Danmaku);