mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
87 lines
642 KiB
JavaScript
87 lines
642 KiB
JavaScript
// ==UserScript==
|
||
// @name Bilibili Evolved
|
||
// @description 强大的哔哩哔哩增强脚本
|
||
// @updateURL https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/dist/bilibili-evolved.user.js
|
||
// @downloadURL https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/dist/bilibili-evolved.user.js
|
||
// @version 2.0.4
|
||
// @author Grant Howard, Coulomb-G
|
||
// @copyright 2021, Grant Howard (https://github.com/the1812) & Coulomb-G (https://github.com/Coulomb-G)
|
||
// @licence MIT
|
||
// @match *://*.bilibili.com/*
|
||
// @exclude *://api.bilibili.com/*
|
||
// @exclude *://api.*.bilibili.com/*
|
||
// @exclude *://*.bilibili.com/api/*
|
||
// @exclude *://member.bilibili.com/studio/bs-editor/*
|
||
// @exclude *://t.bilibili.com/h5/dynamic/specification
|
||
// @exclude *://bbq.bilibili.com/*
|
||
// @run-at document-start
|
||
// @supportURL https://github.com/the1812/Bilibili-Evolved/issues
|
||
// @homepage https://github.com/the1812/Bilibili-Evolved
|
||
// @grant unsafeWindow
|
||
// @grant GM_getValue
|
||
// @grant GM_setValue
|
||
// @grant GM_deleteValue
|
||
// @grant GM_info
|
||
// @grant GM_xmlhttpRequest
|
||
// @connect raw.githubusercontent.com
|
||
// @connect github.com
|
||
// @connect cdn.jsdelivr.net
|
||
// @connect cn.bing.com
|
||
// @connect www.bing.com
|
||
// @connect translate.google.cn
|
||
// @connect translate.google.com
|
||
// @connect localhost
|
||
// @connect *
|
||
// @require https://cdn.jsdelivr.net/npm/lodash@4.17.21/lodash.min.js
|
||
// @icon https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/images/logo-small.png
|
||
// @icon64 https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/images/logo.png
|
||
// ==/UserScript==
|
||
/* eslint-disable */ /* spell-checker: disable */
|
||
// @[ You can find all source codes in GitHub repo ]
|
||
(function(){var __webpack_modules__={6684:function(e,t,n){"use strict";n.r(t),n.d(t,{compatibilityPatch:function(){return a}});var i=n(7177),r=n(5550);
|
||
/* eslint-disable no-underscore-dangle */
|
||
const a=()=>{(0,i.contentLoaded)((async()=>{document.body.classList.add("round-corner");const{isIframe:e,matchUrlPattern:t}=await Promise.resolve().then(n.bind(n,1906));document.documentElement.classList.toggle("iframe",e()&&["https://t.bilibili.com/share/card/index","https://manga.bilibili.com/eden/bilibili-nav-panel.html","https://live.bilibili.com/blackboard/dropdown-menu.html","https://www.bilibili.com/page-proxy/game-nav.html"].some(t))})),(0,i.fullyLoaded)((()=>{(0,r.select)("meta[name=spm_prefix]").then((e=>{e&&(e.remove(),(0,r.select)((()=>unsafeWindow.__spm_prefix)).then((()=>{unsafeWindow.__spm_prefix&&delete unsafeWindow.__spm_prefix})))}))})),"requestIdleCallback"in window||(window.requestIdleCallback=e=>window.setTimeout(e,0),window.cancelIdleCallback=e=>{window.clearTimeout(e)})}},4797:function(e,t,n){"use strict";n.r(t),n.d(t,{initVue:function(){return ys}});var i=Object.freeze({});function r(e){return null==e}function a(e){return null!=e}function o(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function l(e){return null!==e&&"object"==typeof e}var c=Object.prototype.toString;function d(e){return"[object Object]"===c.call(e)}function u(e){return"[object RegExp]"===c.call(e)}function p(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return a(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function h(e){return null==e?"":Array.isArray(e)||d(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function g(e,t){for(var n=Object.create(null),i=e.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var b=g("slot,component",!0),v=g("key,ref,slot,slot-scope,is");function y(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var w=Object.prototype.hasOwnProperty;function x(e,t){return w.call(e,t)}function k(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var _=/-(\w)/g,C=k((function(e){return e.replace(_,(function(e,t){return t?t.toUpperCase():""}))})),S=k((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),E=/\B([A-Z])/g,$=k((function(e){return e.replace(E,"-$1").toLowerCase()}));var A=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function I(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i}function T(e,t){for(var n in t)e[n]=t[n];return e}function O(e){for(var t={},n=0;n<e.length;n++)e[n]&&T(t,e[n]);return t}
|
||
/* eslint-disable no-unused-vars */function L(e,t,n){}var M=function(e,t,n){return!1},P=function(e){return e};function z(e,t){if(e===t)return!0;var n=l(e),i=l(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var r=Array.isArray(e),a=Array.isArray(t);if(r&&a)return e.length===t.length&&e.every((function(e,n){return z(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(r||a)return!1;var o=Object.keys(e),s=Object.keys(t);return o.length===s.length&&o.every((function(n){return z(e[n],t[n])}))}catch(e){return!1}}function D(e,t){for(var n=0;n<e.length;n++)if(z(e[n],t))return n;return-1}function V(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var B="data-server-rendered",N=["component","directive","filter"],j=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],q={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:M,isReservedAttr:M,isUnknownElement:M,getTagNamespace:L,parsePlatformTagName:P,mustUseProp:M,async:!0,_lifecycleHooks:j},F=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function R(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function U(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var H=new RegExp("[^"+F.source+".$_\\d]");var Z,W="__proto__"in{},G="undefined"!=typeof window,X="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,J=X&&WXEnvironment.platform.toLowerCase(),K=G&&window.navigator.userAgent.toLowerCase(),Y=K&&/msie|trident/.test(K),Q=K&&K.indexOf("msie 9.0")>0,ee=K&&K.indexOf("edge/")>0,te=(K&&K.indexOf("android"),K&&/iphone|ipad|ipod|ios/.test(K)||"ios"===J),ne=(K&&/chrome\/\d+/.test(K),K&&/phantomjs/.test(K),K&&K.match(/firefox\/(\d+)/)),ie={}.watch,re=!1;if(G)try{var ae={};Object.defineProperty(ae,"passive",{get:function(){re=!0}}),window.addEventListener("test-passive",null,ae)}catch(e){}var oe=function(){return void 0===Z&&(Z=!G&&!X&&void 0!==n.g&&(n.g.process&&"server"===n.g.process.env.VUE_ENV)),Z},se=G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function le(e){return"function"==typeof e&&/native code/.test(e.toString())}var ce,de="undefined"!=typeof Symbol&&le(Symbol)&&"undefined"!=typeof Reflect&&le(Reflect.ownKeys);ce="undefined"!=typeof Set&&le(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ue=L,pe=0,fe=function(){this.id=pe++,this.subs=[]};fe.prototype.addSub=function(e){this.subs.push(e)},fe.prototype.removeSub=function(e){y(this.subs,e)},fe.prototype.depend=function(){fe.target&&fe.target.addDep(this)},fe.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t<n;t++)e[t].update()},fe.target=null;var he=[];function me(e){he.push(e),fe.target=e}function ge(){he.pop(),fe.target=he[he.length-1]}var be=function(e,t,n,i,r,a,o,s){this.tag=e,this.data=t,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=a,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=o,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},ve={child:{configurable:!0}};ve.child.get=function(){return this.componentInstance},Object.defineProperties(be.prototype,ve);var ye=function(e){void 0===e&&(e="");var t=new be;return t.text=e,t.isComment=!0,t};function we(e){return new be(void 0,void 0,void 0,String(e))}function xe(e){var t=new be(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var ke=Array.prototype,_e=Object.create(ke);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(e){var t=ke[e];U(_e,e,(function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];var r,a=t.apply(this,n),o=this.__ob__;switch(e){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&o.observeArray(r),o.dep.notify(),a}))}));var Ce=Object.getOwnPropertyNames(_e),Se=!0;function Ee(e){Se=e}var $e=function(e){this.value=e,this.dep=new fe,this.vmCount=0,U(e,"__ob__",this),Array.isArray(e)?(W?function(e,t){
|
||
/* eslint-disable no-proto */
|
||
e.__proto__=t}(e,_e):function(e,t,n){for(var i=0,r=n.length;i<r;i++){var a=n[i];U(e,a,t[a])}}(e,_e,Ce),this.observeArray(e)):this.walk(e)};function Ae(e,t){var n;if(l(e)&&!(e instanceof be))return x(e,"__ob__")&&e.__ob__ instanceof $e?n=e.__ob__:Se&&!oe()&&(Array.isArray(e)||d(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new $e(e)),t&&n&&n.vmCount++,n}function Ie(e,t,n,i,r){var a=new fe,o=Object.getOwnPropertyDescriptor(e,t);if(!o||!1!==o.configurable){var s=o&&o.get,l=o&&o.set;s&&!l||2!==arguments.length||(n=e[t]);var c=!r&&Ae(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return fe.target&&(a.depend(),c&&(c.dep.depend(),Array.isArray(t)&&Le(t))),t},set:function(t){var i=s?s.call(e):n;
|
||
/* eslint-disable no-self-compare */t===i||t!=t&&i!=i||s&&!l||(l?l.call(e,t):n=t,c=!r&&Ae(t),a.notify())}})}}function Te(e,t,n){if(Array.isArray(e)&&p(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var i=e.__ob__;return e._isVue||i&&i.vmCount?n:i?(Ie(i.value,t,n),i.dep.notify(),n):(e[t]=n,n)}function Oe(e,t){if(Array.isArray(e)&&p(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||x(e,t)&&(delete e[t],n&&n.dep.notify())}}function Le(e){for(var t=void 0,n=0,i=e.length;n<i;n++)(t=e[n])&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&Le(t)}$e.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Ie(e,t[n])},$e.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Ae(e[t])};var Me=q.optionMergeStrategies;function Pe(e,t){if(!t)return e;for(var n,i,r,a=de?Reflect.ownKeys(t):Object.keys(t),o=0;o<a.length;o++)"__ob__"!==(n=a[o])&&(i=e[n],r=t[n],x(e,n)?i!==r&&d(i)&&d(r)&&Pe(i,r):Te(e,n,r));return e}function ze(e,t,n){return n?function(){var i="function"==typeof t?t.call(n,n):t,r="function"==typeof e?e.call(n,n):e;return i?Pe(i,r):r}:t?e?function(){return Pe("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function De(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function Ve(e,t,n,i){var r=Object.create(e||null);return t?T(r,t):r}Me.data=function(e,t,n){return n?ze(e,t,n):t&&"function"!=typeof t?e:ze(e,t)},j.forEach((function(e){Me[e]=De})),N.forEach((function(e){Me[e+"s"]=Ve})),Me.watch=function(e,t,n,i){if(e===ie&&(e=void 0),t===ie&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var r={};for(var a in T(r,e),t){var o=r[a],s=t[a];o&&!Array.isArray(o)&&(o=[o]),r[a]=o?o.concat(s):Array.isArray(s)?s:[s]}return r},Me.props=Me.methods=Me.inject=Me.computed=function(e,t,n,i){if(!e)return t;var r=Object.create(null);return T(r,e),t&&T(r,t),r},Me.provide=ze;var Be=function(e,t){return void 0===t?e:t};function Ne(e,t,n){if("function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var i,r,a={};if(Array.isArray(n))for(i=n.length;i--;)"string"==typeof(r=n[i])&&(a[C(r)]={type:null});else if(d(n))for(var o in n)r=n[o],a[C(o)]=d(r)?r:{type:r};e.props=a}}(t),function(e,t){var n=e.inject;if(n){var i=e.inject={};if(Array.isArray(n))for(var r=0;r<n.length;r++)i[n[r]]={from:n[r]};else if(d(n))for(var a in n){var o=n[a];i[a]=d(o)?T({from:a},o):{from:o}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var i=t[n];"function"==typeof i&&(t[n]={bind:i,update:i})}}(t),!t._base&&(t.extends&&(e=Ne(e,t.extends,n)),t.mixins))for(var i=0,r=t.mixins.length;i<r;i++)e=Ne(e,t.mixins[i],n);var a,o={};for(a in e)s(a);for(a in t)x(e,a)||s(a);function s(i){var r=Me[i]||Be;o[i]=r(e[i],t[i],n,i)}return o}function je(e,t,n,i){if("string"==typeof n){var r=e[t];if(x(r,n))return r[n];var a=C(n);if(x(r,a))return r[a];var o=S(a);return x(r,o)?r[o]:r[n]||r[a]||r[o]}}function qe(e,t,n,i){var r=t[e],a=!x(n,e),o=n[e],s=Ue(Boolean,r.type);if(s>-1)if(a&&!x(r,"default"))o=!1;else if(""===o||o===$(e)){var l=Ue(String,r.type);(l<0||s<l)&&(o=!0)}if(void 0===o){o=function(e,t,n){if(!x(t,"default"))return;var i=t.default;0;if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return"function"==typeof i&&"Function"!==Fe(t.type)?i.call(e):i}(i,r,e);var c=Se;Ee(!0),Ae(o),Ee(c)}return o}function Fe(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Re(e,t){return Fe(e)===Fe(t)}function Ue(e,t){if(!Array.isArray(t))return Re(t,e)?0:-1;for(var n=0,i=t.length;n<i;n++)if(Re(t[n],e))return n;return-1}function He(e,t,n){me();try{if(t)for(var i=t;i=i.$parent;){var r=i.$options.errorCaptured;if(r)for(var a=0;a<r.length;a++)try{if(!1===r[a].call(i,e,t,n))return}catch(e){We(e,i,"errorCaptured hook")}}We(e,t,n)}finally{ge()}}function Ze(e,t,n,i,r){var a;try{(a=n?e.apply(t,n):e.call(t))&&!a._isVue&&f(a)&&!a._handled&&(a.catch((function(e){return He(e,i,r+" (Promise/async)")})),a._handled=!0)}catch(e){He(e,i,r)}return a}function We(e,t,n){if(q.errorHandler)try{return q.errorHandler.call(null,e,t,n)}catch(t){t!==e&&Ge(t,null,"config.errorHandler")}Ge(e,t,n)}function Ge(e,t,n){if(!G&&!X||"undefined"==typeof console)throw e;console.error(e)}var Xe,Je=!1,Ke=[],Ye=!1;function Qe(){Ye=!1;var e=Ke.slice(0);Ke.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&le(Promise)){var et=Promise.resolve();Xe=function(){et.then(Qe),te&&setTimeout(L)},Je=!0}else if(Y||"undefined"==typeof MutationObserver||!le(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Xe="undefined"!=typeof setImmediate&&le(setImmediate)?function(){setImmediate(Qe)}:function(){setTimeout(Qe,0)};else{var tt=1,nt=new MutationObserver(Qe),it=document.createTextNode(String(tt));nt.observe(it,{characterData:!0}),Xe=function(){tt=(tt+1)%2,it.data=String(tt)},Je=!0}function rt(e,t){var n;if(Ke.push((function(){if(e)try{e.call(t)}catch(e){He(e,t,"nextTick")}else n&&n(t)})),Ye||(Ye=!0,Xe()),!e&&"undefined"!=typeof Promise)return new Promise((function(e){n=e}))}var at=new ce;function ot(e){st(e,at),at.clear()}function st(e,t){var n,i,r=Array.isArray(e);if(!(!r&&!l(e)||Object.isFrozen(e)||e instanceof be)){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(r)for(n=e.length;n--;)st(e[n],t);else for(n=(i=Object.keys(e)).length;n--;)st(e[i[n]],t)}}var lt=k((function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),i="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=i?e.slice(1):e,once:n,capture:i,passive:t}}));function ct(e,t){function n(){var e=arguments,i=n.fns;if(!Array.isArray(i))return Ze(i,null,arguments,t,"v-on handler");for(var r=i.slice(),a=0;a<r.length;a++)Ze(r[a],null,e,t,"v-on handler")}return n.fns=e,n}function dt(e,t,n,i,a,s){var l,c,d,u;for(l in e)c=e[l],d=t[l],u=lt(l),r(c)||(r(d)?(r(c.fns)&&(c=e[l]=ct(c,s)),o(u.once)&&(c=e[l]=a(u.name,c,u.capture)),n(u.name,c,u.capture,u.passive,u.params)):c!==d&&(d.fns=c,e[l]=d));for(l in t)r(e[l])&&i((u=lt(l)).name,t[l],u.capture)}function ut(e,t,n){var i;e instanceof be&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function l(){n.apply(this,arguments),y(i.fns,l)}r(s)?i=ct([l]):a(s.fns)&&o(s.merged)?(i=s).fns.push(l):i=ct([s,l]),i.merged=!0,e[t]=i}function pt(e,t,n,i,r){if(a(t)){if(x(t,n))return e[n]=t[n],r||delete t[n],!0;if(x(t,i))return e[n]=t[i],r||delete t[i],!0}return!1}function ft(e){return s(e)?[we(e)]:Array.isArray(e)?mt(e):void 0}function ht(e){return a(e)&&a(e.text)&&!1===e.isComment}function mt(e,t){var n,i,l,c,d=[];for(n=0;n<e.length;n++)r(i=e[n])||"boolean"==typeof i||(c=d[l=d.length-1],Array.isArray(i)?i.length>0&&(ht((i=mt(i,(t||"")+"_"+n))[0])&&ht(c)&&(d[l]=we(c.text+i[0].text),i.shift()),d.push.apply(d,i)):s(i)?ht(c)?d[l]=we(c.text+i):""!==i&&d.push(we(i)):ht(i)&&ht(c)?d[l]=we(c.text+i.text):(o(e._isVList)&&a(i.tag)&&r(i.key)&&a(t)&&(i.key="__vlist"+t+"_"+n+"__"),d.push(i)));return d}function gt(e,t){if(e){for(var n=Object.create(null),i=de?Reflect.ownKeys(e):Object.keys(e),r=0;r<i.length;r++){var a=i[r];if("__ob__"!==a){for(var o=e[a].from,s=t;s;){if(s._provided&&x(s._provided,o)){n[a]=s._provided[o];break}s=s.$parent}if(!s)if("default"in e[a]){var l=e[a].default;n[a]="function"==typeof l?l.call(t):l}else 0}}return n}}function bt(e,t){if(!e||!e.length)return{};for(var n={},i=0,r=e.length;i<r;i++){var a=e[i],o=a.data;if(o&&o.attrs&&o.attrs.slot&&delete o.attrs.slot,a.context!==t&&a.fnContext!==t||!o||null==o.slot)(n.default||(n.default=[])).push(a);else{var s=o.slot,l=n[s]||(n[s]=[]);"template"===a.tag?l.push.apply(l,a.children||[]):l.push(a)}}for(var c in n)n[c].every(vt)&&delete n[c];return n}function vt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function yt(e,t,n){var r,a=Object.keys(t).length>0,o=e?!!e.$stable:!a,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(o&&n&&n!==i&&s===n.$key&&!a&&!n.$hasNormal)return n;for(var l in r={},e)e[l]&&"$"!==l[0]&&(r[l]=wt(t,l,e[l]))}else r={};for(var c in t)c in r||(r[c]=xt(t,c));return e&&Object.isExtensible(e)&&(e._normalized=r),U(r,"$stable",o),U(r,"$key",s),U(r,"$hasNormal",a),r}function wt(e,t,n){var i=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:ft(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:i,enumerable:!0,configurable:!0}),i}function xt(e,t){return function(){return e[t]}}function kt(e,t){var n,i,r,o,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),i=0,r=e.length;i<r;i++)n[i]=t(e[i],i);else if("number"==typeof e)for(n=new Array(e),i=0;i<e;i++)n[i]=t(i+1,i);else if(l(e))if(de&&e[Symbol.iterator]){n=[];for(var c=e[Symbol.iterator](),d=c.next();!d.done;)n.push(t(d.value,n.length)),d=c.next()}else for(o=Object.keys(e),n=new Array(o.length),i=0,r=o.length;i<r;i++)s=o[i],n[i]=t(e[s],s,i);return a(n)||(n=[]),n._isVList=!0,n}function _t(e,t,n,i){var r,a=this.$scopedSlots[e];a?(n=n||{},i&&(n=T(T({},i),n)),r=a(n)||t):r=this.$slots[e]||t;var o=n&&n.slot;return o?this.$createElement("template",{slot:o},r):r}function Ct(e){return je(this.$options,"filters",e)||P}function St(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function Et(e,t,n,i,r){var a=q.keyCodes[t]||n;return r&&i&&!q.keyCodes[t]?St(r,i):a?St(a,e):i?$(i)!==t:void 0}function $t(e,t,n,i,r){if(n)if(l(n)){var a;Array.isArray(n)&&(n=O(n));var o=function(o){if("class"===o||"style"===o||v(o))a=e;else{var s=e.attrs&&e.attrs.type;a=i||q.mustUseProp(t,s,o)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=C(o),c=$(o);l in a||c in a||(a[o]=n[o],r&&((e.on||(e.on={}))["update:"+o]=function(e){n[o]=e}))};for(var s in n)o(s)}else;return e}function At(e,t){var n=this._staticTrees||(this._staticTrees=[]),i=n[e];return i&&!t||Tt(i=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),i}function It(e,t,n){return Tt(e,"__once__"+t+(n?"_"+n:""),!0),e}function Tt(e,t,n){if(Array.isArray(e))for(var i=0;i<e.length;i++)e[i]&&"string"!=typeof e[i]&&Ot(e[i],t+"_"+i,n);else Ot(e,t,n)}function Ot(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Lt(e,t){if(t)if(d(t)){var n=e.on=e.on?T({},e.on):{};for(var i in t){var r=n[i],a=t[i];n[i]=r?[].concat(r,a):a}}else;return e}function Mt(e,t,n,i){t=t||{$stable:!n};for(var r=0;r<e.length;r++){var a=e[r];Array.isArray(a)?Mt(a,t,n):a&&(a.proxy&&(a.fn.proxy=!0),t[a.key]=a.fn)}return i&&(t.$key=i),t}function Pt(e,t){for(var n=0;n<t.length;n+=2){var i=t[n];"string"==typeof i&&i&&(e[t[n]]=t[n+1])}return e}function zt(e,t){return"string"==typeof e?t+e:e}function Dt(e){e._o=It,e._n=m,e._s=h,e._l=kt,e._t=_t,e._q=z,e._i=D,e._m=At,e._f=Ct,e._k=Et,e._b=$t,e._v=we,e._e=ye,e._u=Mt,e._g=Lt,e._d=Pt,e._p=zt}function Vt(e,t,n,r,a){var s,l=this,c=a.options;x(r,"_uid")?(s=Object.create(r))._original=r:(s=r,r=r._original);var d=o(c._compiled),u=!d;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||i,this.injections=gt(c.inject,r),this.slots=function(){return l.$slots||yt(e.scopedSlots,l.$slots=bt(n,r)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return yt(e.scopedSlots,this.slots())}}),d&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=yt(e.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,n,i){var a=Ut(s,e,t,n,i,u);return a&&!Array.isArray(a)&&(a.fnScopeId=c._scopeId,a.fnContext=r),a}:this._c=function(e,t,n,i){return Ut(s,e,t,n,i,u)}}function Bt(e,t,n,i,r){var a=xe(e);return a.fnContext=n,a.fnOptions=i,t.slot&&((a.data||(a.data={})).slot=t.slot),a}function Nt(e,t){for(var n in t)e[C(n)]=t[n]}Dt(Vt.prototype);var jt={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;jt.prepatch(n,n)}else{(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},i=e.data.inlineTemplate;a(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns);return new e.componentOptions.Ctor(n)}(e,tn)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,r,a){0;var o=r.data.scopedSlots,s=e.$scopedSlots,l=!!(o&&!o.$stable||s!==i&&!s.$stable||o&&e.$scopedSlots.$key!==o.$key),c=!!(a||e.$options._renderChildren||l);e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r);if(e.$options._renderChildren=a,e.$attrs=r.data.attrs||i,e.$listeners=n||i,t&&e.$options.props){Ee(!1);for(var d=e._props,u=e.$options._propKeys||[],p=0;p<u.length;p++){var f=u[p],h=e.$options.props;d[f]=qe(f,h,t,e)}Ee(!0),e.$options.propsData=t}n=n||i;var m=e.$options._parentListeners;e.$options._parentListeners=n,en(e,n,m),c&&(e.$slots=bt(a,r.context),e.$forceUpdate());0}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,i=e.componentInstance;i._isMounted||(i._isMounted=!0,sn(i,"mounted")),e.data.keepAlive&&(n._isMounted?((t=i)._inactive=!1,cn.push(t)):an(i,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?on(t,!0):t.$destroy())}},qt=Object.keys(jt);function Ft(e,t,n,s,c){if(!r(e)){var d=n.$options._base;if(l(e)&&(e=d.extend(e)),"function"==typeof e){var u;if(r(e.cid)&&void 0===(e=function(e,t){if(o(e.error)&&a(e.errorComp))return e.errorComp;if(a(e.resolved))return e.resolved;var n=Wt;n&&a(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n);if(o(e.loading)&&a(e.loadingComp))return e.loadingComp;if(n&&!a(e.owners)){var i=e.owners=[n],s=!0,c=null,d=null;n.$on("hook:destroyed",(function(){return y(i,n)}));var u=function(e){for(var t=0,n=i.length;t<n;t++)i[t].$forceUpdate();e&&(i.length=0,null!==c&&(clearTimeout(c),c=null),null!==d&&(clearTimeout(d),d=null))},p=V((function(n){e.resolved=Gt(n,t),s?i.length=0:u(!0)})),h=V((function(t){a(e.errorComp)&&(e.error=!0,u(!0))})),m=e(p,h);return l(m)&&(f(m)?r(e.resolved)&&m.then(p,h):f(m.component)&&(m.component.then(p,h),a(m.error)&&(e.errorComp=Gt(m.error,t)),a(m.loading)&&(e.loadingComp=Gt(m.loading,t),0===m.delay?e.loading=!0:c=setTimeout((function(){c=null,r(e.resolved)&&r(e.error)&&(e.loading=!0,u(!1))}),m.delay||200)),a(m.timeout)&&(d=setTimeout((function(){d=null,r(e.resolved)&&h(null)}),m.timeout)))),s=!1,e.loading?e.loadingComp:e.resolved}}(u=e,d)))return function(e,t,n,i,r){var a=ye();return a.asyncFactory=e,a.asyncMeta={data:t,context:n,children:i,tag:r},a}(u,t,n,s,c);t=t||{},In(e),a(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",i=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var r=t.on||(t.on={}),o=r[i],s=t.model.callback;a(o)?(Array.isArray(o)?-1===o.indexOf(s):o!==s)&&(r[i]=[s].concat(o)):r[i]=s}(e.options,t);var p=function(e,t,n){var i=t.options.props;if(!r(i)){var o={},s=e.attrs,l=e.props;if(a(s)||a(l))for(var c in i){var d=$(c);pt(o,l,c,d,!0)||pt(o,s,c,d,!1)}return o}}(t,e);if(o(e.options.functional))return function(e,t,n,r,o){var s=e.options,l={},c=s.props;if(a(c))for(var d in c)l[d]=qe(d,c,t||i);else a(n.attrs)&&Nt(l,n.attrs),a(n.props)&&Nt(l,n.props);var u=new Vt(n,l,o,r,e),p=s.render.call(null,u._c,u);if(p instanceof be)return Bt(p,n,u.parent,s);if(Array.isArray(p)){for(var f=ft(p)||[],h=new Array(f.length),m=0;m<f.length;m++)h[m]=Bt(f[m],n,u.parent,s);return h}}(e,p,t,n,s);var h=t.on;if(t.on=t.nativeOn,o(e.options.abstract)){var m=t.slot;t={},m&&(t.slot=m)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<qt.length;n++){var i=qt[n],r=t[i],a=jt[i];r===a||r&&r._merged||(t[i]=r?Rt(a,r):a)}}(t);var g=e.options.name||c;return new be("vue-component-"+e.cid+(g?"-"+g:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:p,listeners:h,tag:c,children:s},u)}}}function Rt(e,t){var n=function(n,i){e(n,i),t(n,i)};return n._merged=!0,n}function Ut(e,t,n,i,r,c){return(Array.isArray(n)||s(n))&&(r=i,i=n,n=void 0),o(c)&&(r=2),function(e,t,n,i,r){if(a(n)&&a(n.__ob__))return ye();a(n)&&a(n.is)&&(t=n.is);if(!t)return ye();0;Array.isArray(i)&&"function"==typeof i[0]&&((n=n||{}).scopedSlots={default:i[0]},i.length=0);2===r?i=ft(i):1===r&&(i=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(i));var o,s;if("string"==typeof t){var c;s=e.$vnode&&e.$vnode.ns||q.getTagNamespace(t),o=q.isReservedTag(t)?new be(q.parsePlatformTagName(t),n,i,void 0,void 0,e):n&&n.pre||!a(c=je(e.$options,"components",t))?new be(t,n,i,void 0,void 0,e):Ft(c,n,e,i,t)}else o=Ft(t,n,e,i);return Array.isArray(o)?o:a(o)?(a(s)&&Ht(o,s),a(n)&&function(e){l(e.style)&&ot(e.style);l(e.class)&&ot(e.class)}(n),o):ye()}(e,t,n,i,r)}function Ht(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),a(e.children))for(var i=0,s=e.children.length;i<s;i++){var l=e.children[i];a(l.tag)&&(r(l.ns)||o(n)&&"svg"!==l.tag)&&Ht(l,t,n)}}var Zt,Wt=null;function Gt(e,t){return(e.__esModule||de&&"Module"===e[Symbol.toStringTag])&&(e=e.default),l(e)?t.extend(e):e}function Xt(e){return e.isComment&&e.asyncFactory}function Jt(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(a(n)&&(a(n.componentOptions)||Xt(n)))return n}}function Kt(e,t){Zt.$on(e,t)}function Yt(e,t){Zt.$off(e,t)}function Qt(e,t){var n=Zt;return function i(){var r=t.apply(null,arguments);null!==r&&n.$off(e,i)}}function en(e,t,n){Zt=e,dt(t,n||{},Kt,Yt,Qt,e),Zt=void 0}var tn=null;function nn(e){var t=tn;return tn=e,function(){tn=t}}function rn(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function an(e,t){if(t){if(e._directInactive=!1,rn(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)an(e.$children[n]);sn(e,"activated")}}function on(e,t){if(!(t&&(e._directInactive=!0,rn(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)on(e.$children[n]);sn(e,"deactivated")}}function sn(e,t){me();var n=e.$options[t],i=t+" hook";if(n)for(var r=0,a=n.length;r<a;r++)Ze(n[r],e,null,e,i);e._hasHookEvent&&e.$emit("hook:"+t),ge()}var ln=[],cn=[],dn={},un=!1,pn=!1,fn=0;var hn=0,mn=Date.now;if(G&&!Y){var gn=window.performance;gn&&"function"==typeof gn.now&&mn()>document.createEvent("Event").timeStamp&&(mn=function(){return gn.now()})}function bn(){var e,t;for(hn=mn(),pn=!0,ln.sort((function(e,t){return e.id-t.id})),fn=0;fn<ln.length;fn++)(e=ln[fn]).before&&e.before(),t=e.id,dn[t]=null,e.run();var n=cn.slice(),i=ln.slice();fn=ln.length=cn.length=0,dn={},un=pn=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,an(e[t],!0)}(n),function(e){var t=e.length;for(;t--;){var n=e[t],i=n.vm;i._watcher===n&&i._isMounted&&!i._isDestroyed&&sn(i,"updated")}}(i),se&&q.devtools&&se.emit("flush")}var vn=0,yn=function(e,t,n,i,r){this.vm=e,r&&(e._watcher=this),e._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++vn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ce,this.newDepIds=new ce,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!H.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=L)),this.value=this.lazy?void 0:this.get()};yn.prototype.get=function(){var e;me(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;He(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ot(e),ge(),this.cleanupDeps()}return e},yn.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},yn.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},yn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==dn[t]){if(dn[t]=!0,pn){for(var n=ln.length-1;n>fn&&ln[n].id>e.id;)n--;ln.splice(n+1,0,e)}else ln.push(e);un||(un=!0,rt(bn))}}(this)},yn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){He(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},yn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},yn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},yn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var wn={enumerable:!0,configurable:!0,get:L,set:L};function xn(e,t,n){wn.get=function(){return this[t][n]},wn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,wn)}function kn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},i=e._props={},r=e.$options._propKeys=[];e.$parent&&Ee(!1);var a=function(a){r.push(a);var o=qe(a,t,n,e);Ie(i,a,o),a in e||xn(e,"_props",a)};for(var o in t)a(o);Ee(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?L:A(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;d(t=e._data="function"==typeof t?function(e,t){me();try{return e.call(t,t)}catch(e){return He(e,t,"data()"),{}}finally{ge()}}(t,e):t||{})||(t={});var n=Object.keys(t),i=e.$options.props,r=(e.$options.methods,n.length);for(;r--;){var a=n[r];0,i&&x(i,a)||R(a)||xn(e,"_data",a)}Ae(t,!0)}(e):Ae(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),i=oe();for(var r in t){var a=t[r],o="function"==typeof a?a:a.get;0,i||(n[r]=new yn(e,o||L,L,_n)),r in e||Cn(e,r,a)}}(e,t.computed),t.watch&&t.watch!==ie&&function(e,t){for(var n in t){var i=t[n];if(Array.isArray(i))for(var r=0;r<i.length;r++)$n(e,n,i[r]);else $n(e,n,i)}}(e,t.watch)}var _n={lazy:!0};function Cn(e,t,n){var i=!oe();"function"==typeof n?(wn.get=i?Sn(t):En(n),wn.set=L):(wn.get=n.get?i&&!1!==n.cache?Sn(t):En(n.get):L,wn.set=n.set||L),Object.defineProperty(e,t,wn)}function Sn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),fe.target&&t.depend(),t.value}}function En(e){return function(){return e.call(this,this)}}function $n(e,t,n,i){return d(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,i)}var An=0;function In(e){var t=e.options;if(e.super){var n=In(e.super);if(n!==e.superOptions){e.superOptions=n;var i=function(e){var t,n=e.options,i=e.sealedOptions;for(var r in n)n[r]!==i[r]&&(t||(t={}),t[r]=n[r]);return t}(e);i&&T(e.extendOptions,i),(t=e.options=Ne(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function Tn(e){this._init(e)}function On(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,i=n.cid,r=e._Ctor||(e._Ctor={});if(r[i])return r[i];var a=e.name||n.options.name;var o=function(e){this._init(e)};return(o.prototype=Object.create(n.prototype)).constructor=o,o.cid=t++,o.options=Ne(n.options,e),o.super=n,o.options.props&&function(e){var t=e.options.props;for(var n in t)xn(e.prototype,"_props",n)}(o),o.options.computed&&function(e){var t=e.options.computed;for(var n in t)Cn(e.prototype,n,t[n])}(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,N.forEach((function(e){o[e]=n[e]})),a&&(o.options.components[a]=o),o.superOptions=n.options,o.extendOptions=e,o.sealedOptions=T({},o.options),r[i]=o,o}}function Ln(e){return e&&(e.Ctor.options.name||e.tag)}function Mn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!u(e)&&e.test(t)}function Pn(e,t){var n=e.cache,i=e.keys,r=e._vnode;for(var a in n){var o=n[a];if(o){var s=Ln(o.componentOptions);s&&!t(s)&&zn(n,a,i,r)}}}function zn(e,t,n,i){var r=e[t];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),e[t]=null,y(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=An++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),i=t._parentVnode;n.parent=t.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Ne(In(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&en(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=bt(t._renderChildren,r),e.$scopedSlots=i,e._c=function(t,n,i,r){return Ut(e,t,n,i,r,!1)},e.$createElement=function(t,n,i,r){return Ut(e,t,n,i,r,!0)};var a=n&&n.data;Ie(e,"$attrs",a&&a.attrs||i,null,!0),Ie(e,"$listeners",t._parentListeners||i,null,!0)}(t),sn(t,"beforeCreate"),function(e){var t=gt(e.$options.inject,e);t&&(Ee(!1),Object.keys(t).forEach((function(n){Ie(e,n,t[n])})),Ee(!0))}(t),kn(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),sn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(Tn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Te,e.prototype.$delete=Oe,e.prototype.$watch=function(e,t,n){var i=this;if(d(t))return $n(i,e,t,n);(n=n||{}).user=!0;var r=new yn(i,e,t,n);if(n.immediate)try{t.call(i,r.value)}catch(e){He(e,i,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(Tn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var i=this;if(Array.isArray(e))for(var r=0,a=e.length;r<a;r++)i.$on(e[r],n);else(i._events[e]||(i._events[e]=[])).push(n),t.test(e)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(e,t){var n=this;function i(){n.$off(e,i),t.apply(n,arguments)}return i.fn=t,n.$on(e,i),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var i=0,r=e.length;i<r;i++)n.$off(e[i],t);return n}var a,o=n._events[e];if(!o)return n;if(!t)return n._events[e]=null,n;for(var s=o.length;s--;)if((a=o[s])===t||a.fn===t){o.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?I(n):n;for(var i=I(arguments,1),r='event handler for "'+e+'"',a=0,o=n.length;a<o;a++)Ze(n[a],t,i,t,r)}return t}}(Tn),function(e){e.prototype._update=function(e,t){var n=this,i=n.$el,r=n._vnode,a=nn(n);n._vnode=e,n.$el=r?n.__patch__(r,e):n.__patch__(n.$el,e,t,!1),a(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){sn(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||y(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),sn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(Tn),function(e){Dt(e.prototype),e.prototype.$nextTick=function(e){return rt(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,i=n.render,r=n._parentVnode;r&&(t.$scopedSlots=yt(r.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=r;try{Wt=t,e=i.call(t._renderProxy,t.$createElement)}catch(n){He(n,t,"render"),e=t._vnode}finally{Wt=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof be||(e=ye()),e.parent=r,e}}(Tn);var Dn=[String,RegExp,Array],Vn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Dn,exclude:Dn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)zn(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){Pn(e,(function(e){return Mn(t,e)}))})),this.$watch("exclude",(function(t){Pn(e,(function(e){return!Mn(t,e)}))}))},render:function(){var e=this.$slots.default,t=Jt(e),n=t&&t.componentOptions;if(n){var i=Ln(n),r=this.include,a=this.exclude;if(r&&(!i||!Mn(r,i))||a&&i&&Mn(a,i))return t;var o=this.cache,s=this.keys,l=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;o[l]?(t.componentInstance=o[l].componentInstance,y(s,l),s.push(l)):(o[l]=t,s.push(l),this.max&&s.length>parseInt(this.max)&&zn(o,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return q}};Object.defineProperty(e,"config",t),e.util={warn:ue,extend:T,mergeOptions:Ne,defineReactive:Ie},e.set=Te,e.delete=Oe,e.nextTick=rt,e.observable=function(e){return Ae(e),e},e.options=Object.create(null),N.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,T(e.options.components,Vn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=I(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Ne(this.options,e),this}}(e),On(e),function(e){N.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&d(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}(Tn),Object.defineProperty(Tn.prototype,"$isServer",{get:oe}),Object.defineProperty(Tn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Tn,"FunctionalRenderContext",{value:Vt}),Tn.version="2.6.12";var Bn=g("style,class"),Nn=g("input,textarea,option,select,progress"),jn=function(e,t,n){return"value"===n&&Nn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},qn=g("contenteditable,draggable,spellcheck"),Fn=g("events,caret,typing,plaintext-only"),Rn=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Un="http://www.w3.org/1999/xlink",Hn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Zn=function(e){return Hn(e)?e.slice(6,e.length):""},Wn=function(e){return null==e||!1===e};function Gn(e){for(var t=e.data,n=e,i=e;a(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=Xn(i.data,t));for(;a(n=n.parent);)n&&n.data&&(t=Xn(t,n.data));return function(e,t){if(a(e)||a(t))return Jn(e,Kn(t));return""}(t.staticClass,t.class)}function Xn(e,t){return{staticClass:Jn(e.staticClass,t.staticClass),class:a(e.class)?[e.class,t.class]:t.class}}function Jn(e,t){return e?t?e+" "+t:e:t||""}function Kn(e){return Array.isArray(e)?function(e){for(var t,n="",i=0,r=e.length;i<r;i++)a(t=Kn(e[i]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):l(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var Yn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Qn=g("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),ei=g("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),ti=function(e){return Qn(e)||ei(e)};function ni(e){return ei(e)?"svg":"math"===e?"math":void 0}var ii=Object.create(null);var ri=g("text,number,password,search,email,tel,url");function ai(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}var oi=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(e,t){return document.createElementNS(Yn[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),si={create:function(e,t){li(t)},update:function(e,t){e.data.ref!==t.data.ref&&(li(e,!0),li(t))},destroy:function(e){li(e,!0)}};function li(e,t){var n=e.data.ref;if(a(n)){var i=e.context,r=e.componentInstance||e.elm,o=i.$refs;t?Array.isArray(o[n])?y(o[n],r):o[n]===r&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(r)<0&&o[n].push(r):o[n]=[r]:o[n]=r}}var ci=new be("",{},[]),di=["create","activate","update","remove","destroy"];function ui(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&a(e.data)===a(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,i=a(n=e.data)&&a(n=n.attrs)&&n.type,r=a(n=t.data)&&a(n=n.attrs)&&n.type;return i===r||ri(i)&&ri(r)}(e,t)||o(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&r(t.asyncFactory.error))}function pi(e,t,n){var i,r,o={};for(i=t;i<=n;++i)a(r=e[i].key)&&(o[r]=i);return o}var fi={create:hi,update:hi,destroy:function(e){hi(e,ci)}};function hi(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,i,r,a=e===ci,o=t===ci,s=gi(e.data.directives,e.context),l=gi(t.data.directives,t.context),c=[],d=[];for(n in l)i=s[n],r=l[n],i?(r.oldValue=i.value,r.oldArg=i.arg,vi(r,"update",t,e),r.def&&r.def.componentUpdated&&d.push(r)):(vi(r,"bind",t,e),r.def&&r.def.inserted&&c.push(r));if(c.length){var u=function(){for(var n=0;n<c.length;n++)vi(c[n],"inserted",t,e)};a?ut(t,"insert",u):u()}d.length&&ut(t,"postpatch",(function(){for(var n=0;n<d.length;n++)vi(d[n],"componentUpdated",t,e)}));if(!a)for(n in s)l[n]||vi(s[n],"unbind",e,e,o)}(e,t)}var mi=Object.create(null);function gi(e,t){var n,i,r=Object.create(null);if(!e)return r;for(n=0;n<e.length;n++)(i=e[n]).modifiers||(i.modifiers=mi),r[bi(i)]=i,i.def=je(t.$options,"directives",i.name);return r}function bi(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function vi(e,t,n,i,r){var a=e.def&&e.def[t];if(a)try{a(n.elm,e,n,i,r)}catch(i){He(i,n.context,"directive "+e.name+" "+t+" hook")}}var yi=[si,fi];function wi(e,t){var n=t.componentOptions;if(!(a(n)&&!1===n.Ctor.options.inheritAttrs||r(e.data.attrs)&&r(t.data.attrs))){var i,o,s=t.elm,l=e.data.attrs||{},c=t.data.attrs||{};for(i in a(c.__ob__)&&(c=t.data.attrs=T({},c)),c)o=c[i],l[i]!==o&&xi(s,i,o);for(i in(Y||ee)&&c.value!==l.value&&xi(s,"value",c.value),l)r(c[i])&&(Hn(i)?s.removeAttributeNS(Un,Zn(i)):qn(i)||s.removeAttribute(i))}}function xi(e,t,n){e.tagName.indexOf("-")>-1?ki(e,t,n):Rn(t)?Wn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):qn(t)?e.setAttribute(t,function(e,t){return Wn(t)||"false"===t?"false":"contenteditable"===e&&Fn(t)?t:"true"}(t,n)):Hn(t)?Wn(n)?e.removeAttributeNS(Un,Zn(t)):e.setAttributeNS(Un,t,n):ki(e,t,n)}function ki(e,t,n){if(Wn(n))e.removeAttribute(t);else{if(Y&&!Q&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,n)}}var _i={create:wi,update:wi};function Ci(e,t){var n=t.elm,i=t.data,o=e.data;if(!(r(i.staticClass)&&r(i.class)&&(r(o)||r(o.staticClass)&&r(o.class)))){var s=Gn(t),l=n._transitionClasses;a(l)&&(s=Jn(s,Kn(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Si,Ei,$i,Ai,Ii,Ti,Oi={create:Ci,update:Ci},Li=/[\w).+\-_$\]]/;function Mi(e){var t,n,i,r,a,o=!1,s=!1,l=!1,c=!1,d=0,u=0,p=0,f=0;for(i=0;i<e.length;i++)if(n=t,t=e.charCodeAt(i),o)39===t&&92!==n&&(o=!1);else if(s)34===t&&92!==n&&(s=!1);else if(l)96===t&&92!==n&&(l=!1);else if(c)47===t&&92!==n&&(c=!1);else if(124!==t||124===e.charCodeAt(i+1)||124===e.charCodeAt(i-1)||d||u||p){switch(t){case 34:s=!0;break;case 39:o=!0;break;case 96:l=!0;break;case 40:p++;break;case 41:p--;break;case 91:u++;break;case 93:u--;break;case 123:d++;break;case 125:d--}if(47===t){for(var h=i-1,m=void 0;h>=0&&" "===(m=e.charAt(h));h--);m&&Li.test(m)||(c=!0)}}else void 0===r?(f=i+1,r=e.slice(0,i).trim()):g();function g(){(a||(a=[])).push(e.slice(f,i).trim()),f=i+1}if(void 0===r?r=e.slice(0,i).trim():0!==f&&g(),a)for(i=0;i<a.length;i++)r=Pi(r,a[i]);return r}function Pi(e,t){var n=t.indexOf("(");if(n<0)return'_f("'+t+'")('+e+")";var i=t.slice(0,n),r=t.slice(n+1);return'_f("'+i+'")('+e+(")"!==r?","+r:r)}
|
||
/* eslint-disable no-unused-vars */function zi(e,t){console.error("[Vue compiler]: "+e)}function Di(e,t){return e?e.map((function(e){return e[t]})).filter((function(e){return e})):[]}function Vi(e,t,n,i,r){(e.props||(e.props=[])).push(Zi({name:t,value:n,dynamic:r},i)),e.plain=!1}function Bi(e,t,n,i,r){(r?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(Zi({name:t,value:n,dynamic:r},i)),e.plain=!1}function Ni(e,t,n,i){e.attrsMap[t]=n,e.attrsList.push(Zi({name:t,value:n},i))}function ji(e,t,n,i,r,a,o,s){(e.directives||(e.directives=[])).push(Zi({name:t,rawName:n,value:i,arg:r,isDynamicArg:a,modifiers:o},s)),e.plain=!1}function qi(e,t,n){return n?"_p("+t+',"'+e+'")':e+t}function Fi(e,t,n,r,a,o,s,l){var c;(r=r||i).right?l?t="("+t+")==='click'?'contextmenu':("+t+")":"click"===t&&(t="contextmenu",delete r.right):r.middle&&(l?t="("+t+")==='click'?'mouseup':("+t+")":"click"===t&&(t="mouseup")),r.capture&&(delete r.capture,t=qi("!",t,l)),r.once&&(delete r.once,t=qi("~",t,l)),r.passive&&(delete r.passive,t=qi("&",t,l)),r.native?(delete r.native,c=e.nativeEvents||(e.nativeEvents={})):c=e.events||(e.events={});var d=Zi({value:n.trim(),dynamic:l},s);r!==i&&(d.modifiers=r);var u=c[t];Array.isArray(u)?a?u.unshift(d):u.push(d):c[t]=u?a?[d,u]:[u,d]:d,e.plain=!1}function Ri(e,t,n){var i=Ui(e,":"+t)||Ui(e,"v-bind:"+t);if(null!=i)return Mi(i);if(!1!==n){var r=Ui(e,t);if(null!=r)return JSON.stringify(r)}}function Ui(e,t,n){var i;if(null!=(i=e.attrsMap[t]))for(var r=e.attrsList,a=0,o=r.length;a<o;a++)if(r[a].name===t){r.splice(a,1);break}return n&&delete e.attrsMap[t],i}function Hi(e,t){for(var n=e.attrsList,i=0,r=n.length;i<r;i++){var a=n[i];if(t.test(a.name))return n.splice(i,1),a}}function Zi(e,t){return t&&(null!=t.start&&(e.start=t.start),null!=t.end&&(e.end=t.end)),e}function Wi(e,t,n){var i=n||{},r=i.number,a="$$v",o=a;i.trim&&(o="(typeof $$v === 'string'? $$v.trim(): $$v)"),r&&(o="_n("+o+")");var s=Gi(t,o);e.model={value:"("+t+")",expression:JSON.stringify(t),callback:"function ($$v) {"+s+"}"}}function Gi(e,t){var n=function(e){if(e=e.trim(),Si=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<Si-1)return(Ai=e.lastIndexOf("."))>-1?{exp:e.slice(0,Ai),key:'"'+e.slice(Ai+1)+'"'}:{exp:e,key:null};Ei=e,Ai=Ii=Ti=0;for(;!Ji();)Ki($i=Xi())?Qi($i):91===$i&&Yi($i);return{exp:e.slice(0,Ii),key:e.slice(Ii+1,Ti)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Xi(){return Ei.charCodeAt(++Ai)}function Ji(){return Ai>=Si}function Ki(e){return 34===e||39===e}function Yi(e){var t=1;for(Ii=Ai;!Ji();)if(Ki(e=Xi()))Qi(e);else if(91===e&&t++,93===e&&t--,0===t){Ti=Ai;break}}function Qi(e){for(var t=e;!Ji()&&(e=Xi())!==t;);}var er,tr="__r";function nr(e,t,n){var i=er;return function r(){var a=t.apply(null,arguments);null!==a&&ar(e,r,n,i)}}var ir=Je&&!(ne&&Number(ne[1])<=53);function rr(e,t,n,i){if(ir){var r=hn,a=t;t=a._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=r||e.timeStamp<=0||e.target.ownerDocument!==document)return a.apply(this,arguments)}}er.addEventListener(e,t,re?{capture:n,passive:i}:n)}function ar(e,t,n,i){(i||er).removeEventListener(e,t._wrapper||t,n)}function or(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},i=e.data.on||{};er=t.elm,function(e){if(a(e.__r)){var t=Y?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}a(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(n),dt(n,i,rr,ar,nr,t.context),er=void 0}}var sr,lr={create:or,update:or};function cr(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,i,o=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(n in a(l.__ob__)&&(l=t.data.domProps=T({},l)),s)n in l||(o[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===s[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=i;var c=r(i)?"":String(i);dr(o,c)&&(o.value=c)}else if("innerHTML"===n&&ei(o.tagName)&&r(o.innerHTML)){(sr=sr||document.createElement("div")).innerHTML="<svg>"+i+"</svg>";for(var d=sr.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;d.firstChild;)o.appendChild(d.firstChild)}else if(i!==s[n])try{o[n]=i}catch(e){}}}}function dr(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,i=e._vModifiers;if(a(i)){if(i.number)return m(n)!==m(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var ur={create:cr,update:cr},pr=k((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var i=e.split(n);i.length>1&&(t[i[0].trim()]=i[1].trim())}})),t}));function fr(e){var t=hr(e.style);return e.staticStyle?T(e.staticStyle,t):t}function hr(e){return Array.isArray(e)?O(e):"string"==typeof e?pr(e):e}var mr,gr=/^--/,br=/\s*!important$/,vr=function(e,t,n){if(gr.test(t))e.style.setProperty(t,n);else if(br.test(n))e.style.setProperty($(t),n.replace(br,""),"important");else{var i=wr(t);if(Array.isArray(n))for(var r=0,a=n.length;r<a;r++)e.style[i]=n[r];else e.style[i]=n}},yr=["Webkit","Moz","ms"],wr=k((function(e){if(mr=mr||document.createElement("div").style,"filter"!==(e=C(e))&&e in mr)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<yr.length;n++){var i=yr[n]+t;if(i in mr)return i}}));function xr(e,t){var n=t.data,i=e.data;if(!(r(n.staticStyle)&&r(n.style)&&r(i.staticStyle)&&r(i.style))){var o,s,l=t.elm,c=i.staticStyle,d=i.normalizedStyle||i.style||{},u=c||d,p=hr(t.data.style)||{};t.data.normalizedStyle=a(p.__ob__)?T({},p):p;var f=function(e,t){var n,i={};if(t)for(var r=e;r.componentInstance;)(r=r.componentInstance._vnode)&&r.data&&(n=fr(r.data))&&T(i,n);(n=fr(e.data))&&T(i,n);for(var a=e;a=a.parent;)a.data&&(n=fr(a.data))&&T(i,n);return i}(t,!0);for(s in u)r(f[s])&&vr(l,s,"");for(s in f)(o=f[s])!==u[s]&&vr(l,s,null==o?"":o)}}var kr={create:xr,update:xr},_r=/\s+/;function Cr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(_r).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Sr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(_r).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Er(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&T(t,$r(e.name||"v")),T(t,e),t}return"string"==typeof e?$r(e):void 0}}var $r=k((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Ar=G&&!Q,Ir="transition",Tr="animation",Or="transition",Lr="transitionend",Mr="animation",Pr="animationend";Ar&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Or="WebkitTransition",Lr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Mr="WebkitAnimation",Pr="webkitAnimationEnd"));var zr=G?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Dr(e){zr((function(){zr(e)}))}function Vr(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Cr(e,t))}function Br(e,t){e._transitionClasses&&y(e._transitionClasses,t),Sr(e,t)}function Nr(e,t,n){var i=qr(e,t),r=i.type,a=i.timeout,o=i.propCount;if(!r)return n();var s=r===Ir?Lr:Pr,l=0,c=function(){e.removeEventListener(s,d),n()},d=function(t){t.target===e&&++l>=o&&c()};setTimeout((function(){l<o&&c()}),a+1),e.addEventListener(s,d)}var jr=/\b(transform|all)(,|$)/;function qr(e,t){var n,i=window.getComputedStyle(e),r=(i[Or+"Delay"]||"").split(", "),a=(i[Or+"Duration"]||"").split(", "),o=Fr(r,a),s=(i[Mr+"Delay"]||"").split(", "),l=(i[Mr+"Duration"]||"").split(", "),c=Fr(s,l),d=0,u=0;return t===Ir?o>0&&(n=Ir,d=o,u=a.length):t===Tr?c>0&&(n=Tr,d=c,u=l.length):u=(n=(d=Math.max(o,c))>0?o>c?Ir:Tr:null)?n===Ir?a.length:l.length:0,{type:n,timeout:d,propCount:u,hasTransform:n===Ir&&jr.test(i[Or+"Property"])}}function Fr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map((function(t,n){return Rr(t)+Rr(e[n])})))}function Rr(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Ur(e,t){var n=e.elm;a(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=Er(e.data.transition);if(!r(i)&&!a(n._enterCb)&&1===n.nodeType){for(var o=i.css,s=i.type,c=i.enterClass,d=i.enterToClass,u=i.enterActiveClass,p=i.appearClass,f=i.appearToClass,h=i.appearActiveClass,g=i.beforeEnter,b=i.enter,v=i.afterEnter,y=i.enterCancelled,w=i.beforeAppear,x=i.appear,k=i.afterAppear,_=i.appearCancelled,C=i.duration,S=tn,E=tn.$vnode;E&&E.parent;)S=E.context,E=E.parent;var $=!S._isMounted||!e.isRootInsert;if(!$||x||""===x){var A=$&&p?p:c,I=$&&h?h:u,T=$&&f?f:d,O=$&&w||g,L=$&&"function"==typeof x?x:b,M=$&&k||v,P=$&&_||y,z=m(l(C)?C.enter:C);0;var D=!1!==o&&!Q,B=Wr(L),N=n._enterCb=V((function(){D&&(Br(n,T),Br(n,I)),N.cancelled?(D&&Br(n,A),P&&P(n)):M&&M(n),n._enterCb=null}));e.data.show||ut(e,"insert",(function(){var t=n.parentNode,i=t&&t._pending&&t._pending[e.key];i&&i.tag===e.tag&&i.elm._leaveCb&&i.elm._leaveCb(),L&&L(n,N)})),O&&O(n),D&&(Vr(n,A),Vr(n,I),Dr((function(){Br(n,A),N.cancelled||(Vr(n,T),B||(Zr(z)?setTimeout(N,z):Nr(n,s,N)))}))),e.data.show&&(t&&t(),L&&L(n,N)),D||B||N()}}}function Hr(e,t){var n=e.elm;a(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=Er(e.data.transition);if(r(i)||1!==n.nodeType)return t();if(!a(n._leaveCb)){var o=i.css,s=i.type,c=i.leaveClass,d=i.leaveToClass,u=i.leaveActiveClass,p=i.beforeLeave,f=i.leave,h=i.afterLeave,g=i.leaveCancelled,b=i.delayLeave,v=i.duration,y=!1!==o&&!Q,w=Wr(f),x=m(l(v)?v.leave:v);0;var k=n._leaveCb=V((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),y&&(Br(n,d),Br(n,u)),k.cancelled?(y&&Br(n,c),g&&g(n)):(t(),h&&h(n)),n._leaveCb=null}));b?b(_):_()}function _(){k.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),p&&p(n),y&&(Vr(n,c),Vr(n,u),Dr((function(){Br(n,c),k.cancelled||(Vr(n,d),w||(Zr(x)?setTimeout(k,x):Nr(n,s,k)))}))),f&&f(n,k),y||w||k())}}function Zr(e){return"number"==typeof e&&!isNaN(e)}function Wr(e){if(r(e))return!1;var t=e.fns;return a(t)?Wr(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Gr(e,t){!0!==t.data.show&&Ur(t)}var Xr=function(e){var t,n,i={},l=e.modules,c=e.nodeOps;for(t=0;t<di.length;++t)for(i[di[t]]=[],n=0;n<l.length;++n)a(l[n][di[t]])&&i[di[t]].push(l[n][di[t]]);function d(e){var t=c.parentNode(e);a(t)&&c.removeChild(t,e)}function u(e,t,n,r,s,l,d){if(a(e.elm)&&a(l)&&(e=l[d]=xe(e)),e.isRootInsert=!s,!function(e,t,n,r){var s=e.data;if(a(s)){var l=a(e.componentInstance)&&s.keepAlive;if(a(s=s.hook)&&a(s=s.init)&&s(e,!1),a(e.componentInstance))return p(e,t),f(n,e.elm,r),o(l)&&function(e,t,n,r){var o,s=e;for(;s.componentInstance;)if(a(o=(s=s.componentInstance._vnode).data)&&a(o=o.transition)){for(o=0;o<i.activate.length;++o)i.activate[o](ci,s);t.push(s);break}f(n,e.elm,r)}(e,t,n,r),!0}}(e,t,n,r)){var u=e.data,m=e.children,g=e.tag;a(g)?(e.elm=e.ns?c.createElementNS(e.ns,g):c.createElement(g,e),v(e),h(e,m,t),a(u)&&b(e,t),f(n,e.elm,r)):o(e.isComment)?(e.elm=c.createComment(e.text),f(n,e.elm,r)):(e.elm=c.createTextNode(e.text),f(n,e.elm,r))}}function p(e,t){a(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,m(e)?(b(e,t),v(e)):(li(e),t.push(e))}function f(e,t,n){a(e)&&(a(n)?c.parentNode(n)===e&&c.insertBefore(e,t,n):c.appendChild(e,t))}function h(e,t,n){if(Array.isArray(t)){0;for(var i=0;i<t.length;++i)u(t[i],n,e.elm,null,!0,t,i)}else s(e.text)&&c.appendChild(e.elm,c.createTextNode(String(e.text)))}function m(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return a(e.tag)}function b(e,n){for(var r=0;r<i.create.length;++r)i.create[r](ci,e);a(t=e.data.hook)&&(a(t.create)&&t.create(ci,e),a(t.insert)&&n.push(e))}function v(e){var t;if(a(t=e.fnScopeId))c.setStyleScope(e.elm,t);else for(var n=e;n;)a(t=n.context)&&a(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t),n=n.parent;a(t=tn)&&t!==e.context&&t!==e.fnContext&&a(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t)}function y(e,t,n,i,r,a){for(;i<=r;++i)u(n[i],a,e,t,!1,n,i)}function w(e){var t,n,r=e.data;if(a(r))for(a(t=r.hook)&&a(t=t.destroy)&&t(e),t=0;t<i.destroy.length;++t)i.destroy[t](e);if(a(t=e.children))for(n=0;n<e.children.length;++n)w(e.children[n])}function x(e,t,n){for(;t<=n;++t){var i=e[t];a(i)&&(a(i.tag)?(k(i),w(i)):d(i.elm))}}function k(e,t){if(a(t)||a(e.data)){var n,r=i.remove.length+1;for(a(t)?t.listeners+=r:t=function(e,t){function n(){0==--n.listeners&&d(e)}return n.listeners=t,n}(e.elm,r),a(n=e.componentInstance)&&a(n=n._vnode)&&a(n.data)&&k(n,t),n=0;n<i.remove.length;++n)i.remove[n](e,t);a(n=e.data.hook)&&a(n=n.remove)?n(e,t):t()}else d(e.elm)}function _(e,t,n,i){for(var r=n;r<i;r++){var o=t[r];if(a(o)&&ui(e,o))return r}}function C(e,t,n,s,l,d){if(e!==t){a(t.elm)&&a(s)&&(t=s[l]=xe(t));var p=t.elm=e.elm;if(o(e.isAsyncPlaceholder))a(t.asyncFactory.resolved)?$(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(o(t.isStatic)&&o(e.isStatic)&&t.key===e.key&&(o(t.isCloned)||o(t.isOnce)))t.componentInstance=e.componentInstance;else{var f,h=t.data;a(h)&&a(f=h.hook)&&a(f=f.prepatch)&&f(e,t);var g=e.children,b=t.children;if(a(h)&&m(t)){for(f=0;f<i.update.length;++f)i.update[f](e,t);a(f=h.hook)&&a(f=f.update)&&f(e,t)}r(t.text)?a(g)&&a(b)?g!==b&&function(e,t,n,i,o){var s,l,d,p=0,f=0,h=t.length-1,m=t[0],g=t[h],b=n.length-1,v=n[0],w=n[b],k=!o;for(;p<=h&&f<=b;)r(m)?m=t[++p]:r(g)?g=t[--h]:ui(m,v)?(C(m,v,i,n,f),m=t[++p],v=n[++f]):ui(g,w)?(C(g,w,i,n,b),g=t[--h],w=n[--b]):ui(m,w)?(C(m,w,i,n,b),k&&c.insertBefore(e,m.elm,c.nextSibling(g.elm)),m=t[++p],w=n[--b]):ui(g,v)?(C(g,v,i,n,f),k&&c.insertBefore(e,g.elm,m.elm),g=t[--h],v=n[++f]):(r(s)&&(s=pi(t,p,h)),r(l=a(v.key)?s[v.key]:_(v,t,p,h))?u(v,i,e,m.elm,!1,n,f):ui(d=t[l],v)?(C(d,v,i,n,f),t[l]=void 0,k&&c.insertBefore(e,d.elm,m.elm)):u(v,i,e,m.elm,!1,n,f),v=n[++f]);p>h?y(e,r(n[b+1])?null:n[b+1].elm,n,f,b,i):f>b&&x(t,p,h)}(p,g,b,n,d):a(b)?(a(e.text)&&c.setTextContent(p,""),y(p,null,b,0,b.length-1,n)):a(g)?x(g,0,g.length-1):a(e.text)&&c.setTextContent(p,""):e.text!==t.text&&c.setTextContent(p,t.text),a(h)&&a(f=h.hook)&&a(f=f.postpatch)&&f(e,t)}}}function S(e,t,n){if(o(n)&&a(e.parent))e.parent.data.pendingInsert=t;else for(var i=0;i<t.length;++i)t[i].data.hook.insert(t[i])}var E=g("attrs,class,staticClass,staticStyle,key");function $(e,t,n,i){var r,s=t.tag,l=t.data,c=t.children;if(i=i||l&&l.pre,t.elm=e,o(t.isComment)&&a(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(a(l)&&(a(r=l.hook)&&a(r=r.init)&&r(t,!0),a(r=t.componentInstance)))return p(t,n),!0;if(a(s)){if(a(c))if(e.hasChildNodes())if(a(r=l)&&a(r=r.domProps)&&a(r=r.innerHTML)){if(r!==e.innerHTML)return!1}else{for(var d=!0,u=e.firstChild,f=0;f<c.length;f++){if(!u||!$(u,c[f],n,i)){d=!1;break}u=u.nextSibling}if(!d||u)return!1}else h(t,c,n);if(a(l)){var m=!1;for(var g in l)if(!E(g)){m=!0,b(t,n);break}!m&&l.class&&ot(l.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,s){if(!r(t)){var l,d=!1,p=[];if(r(e))d=!0,u(t,p);else{var f=a(e.nodeType);if(!f&&ui(e,t))C(e,t,p,null,null,s);else{if(f){if(1===e.nodeType&&e.hasAttribute(B)&&(e.removeAttribute(B),n=!0),o(n)&&$(e,t,p))return S(t,p,!0),e;l=e,e=new be(c.tagName(l).toLowerCase(),{},[],void 0,l)}var h=e.elm,g=c.parentNode(h);if(u(t,p,h._leaveCb?null:g,c.nextSibling(h)),a(t.parent))for(var b=t.parent,v=m(t);b;){for(var y=0;y<i.destroy.length;++y)i.destroy[y](b);if(b.elm=t.elm,v){for(var k=0;k<i.create.length;++k)i.create[k](ci,b);var _=b.data.hook.insert;if(_.merged)for(var E=1;E<_.fns.length;E++)_.fns[E]()}else li(b);b=b.parent}a(g)?x([e],0,0):a(e.tag)&&w(e)}}return S(t,p,d),t.elm}a(e)&&w(e)}}({nodeOps:oi,modules:[_i,Oi,lr,ur,kr,G?{create:Gr,activate:Gr,remove:function(e,t){!0!==e.data.show?Hr(e,t):t()}}:{}].concat(yi)});Q&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&ia(e,"input")}));var Jr={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?ut(n,"postpatch",(function(){Jr.componentUpdated(e,t,n)})):Kr(e,t,n.context),e._vOptions=[].map.call(e.options,ea)):("textarea"===n.tag||ri(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",ta),e.addEventListener("compositionend",na),e.addEventListener("change",na),Q&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Kr(e,t,n.context);var i=e._vOptions,r=e._vOptions=[].map.call(e.options,ea);if(r.some((function(e,t){return!z(e,i[t])})))(e.multiple?t.value.some((function(e){return Qr(e,r)})):t.value!==t.oldValue&&Qr(t.value,r))&&ia(e,"change")}}};function Kr(e,t,n){Yr(e,t,n),(Y||ee)&&setTimeout((function(){Yr(e,t,n)}),0)}function Yr(e,t,n){var i=t.value,r=e.multiple;if(!r||Array.isArray(i)){for(var a,o,s=0,l=e.options.length;s<l;s++)if(o=e.options[s],r)a=D(i,ea(o))>-1,o.selected!==a&&(o.selected=a);else if(z(ea(o),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));r||(e.selectedIndex=-1)}}function Qr(e,t){return t.every((function(t){return!z(t,e)}))}function ea(e){return"_value"in e?e._value:e.value}function ta(e){e.target.composing=!0}function na(e){e.target.composing&&(e.target.composing=!1,ia(e.target,"input"))}function ia(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function ra(e){return!e.componentInstance||e.data&&e.data.transition?e:ra(e.componentInstance._vnode)}var aa={model:Jr,show:{bind:function(e,t,n){var i=t.value,r=(n=ra(n)).data&&n.data.transition,a=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&r?(n.data.show=!0,Ur(n,(function(){e.style.display=a}))):e.style.display=i?a:"none"},update:function(e,t,n){var i=t.value;!i!=!t.oldValue&&((n=ra(n)).data&&n.data.transition?(n.data.show=!0,i?Ur(n,(function(){e.style.display=e.__vOriginalDisplay})):Hr(n,(function(){e.style.display="none"}))):e.style.display=i?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,i,r){r||(e.style.display=e.__vOriginalDisplay)}}},oa={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function sa(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?sa(Jt(t.children)):e}function la(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];var r=n._parentListeners;for(var a in r)t[C(a)]=r[a];return t}function ca(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var da=function(e){return e.tag||Xt(e)},ua=function(e){return"show"===e.name},pa={name:"transition",props:oa,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(da)).length){0;var i=this.mode;0;var r=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return r;var a=sa(r);if(!a)return r;if(this._leaving)return ca(e,r);var o="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?o+"comment":o+a.tag:s(a.key)?0===String(a.key).indexOf(o)?a.key:o+a.key:a.key;var l=(a.data||(a.data={})).transition=la(this),c=this._vnode,d=sa(c);if(a.data.directives&&a.data.directives.some(ua)&&(a.data.show=!0),d&&d.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(a,d)&&!Xt(d)&&(!d.componentInstance||!d.componentInstance._vnode.isComment)){var u=d.data.transition=T({},l);if("out-in"===i)return this._leaving=!0,ut(u,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),ca(e,r);if("in-out"===i){if(Xt(a))return c;var p,f=function(){p()};ut(l,"afterEnter",f),ut(l,"enterCancelled",f),ut(u,"delayLeave",(function(e){p=e}))}}return r}}},fa=T({tag:String,moveClass:String},oa);function ha(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function ma(e){e.data.newPos=e.elm.getBoundingClientRect()}function ga(e){var t=e.data.pos,n=e.data.newPos,i=t.left-n.left,r=t.top-n.top;if(i||r){e.data.moved=!0;var a=e.elm.style;a.transform=a.WebkitTransform="translate("+i+"px,"+r+"px)",a.transitionDuration="0s"}}delete fa.mode;var ba={Transition:pa,TransitionGroup:{props:fa,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var r=nn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,r(),t.call(e,n,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],a=this.children=[],o=la(this),s=0;s<r.length;s++){var l=r[s];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))a.push(l),n[l.key]=l,(l.data||(l.data={})).transition=o;else;}if(i){for(var c=[],d=[],u=0;u<i.length;u++){var p=i[u];p.data.transition=o,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?c.push(p):d.push(p)}this.kept=e(t,null,c),this.removed=d}return e(t,null,a)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(ha),e.forEach(ma),e.forEach(ga),this._reflow=document.body.offsetHeight,e.forEach((function(e){if(e.data.moved){var n=e.elm,i=n.style;Vr(n,t),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Lr,n._moveCb=function e(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(Lr,e),n._moveCb=null,Br(n,t))})}})))},methods:{hasMove:function(e,t){if(!Ar)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach((function(e){Sr(n,e)})),Cr(n,t),n.style.display="none",this.$el.appendChild(n);var i=qr(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}}};Tn.config.mustUseProp=jn,Tn.config.isReservedTag=ti,Tn.config.isReservedAttr=Bn,Tn.config.getTagNamespace=ni,Tn.config.isUnknownElement=function(e){if(!G)return!0;if(ti(e))return!1;if(e=e.toLowerCase(),null!=ii[e])return ii[e];var t=document.createElement(e);return e.indexOf("-")>-1?ii[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:ii[e]=/HTMLUnknownElement/.test(t.toString())},T(Tn.options.directives,aa),T(Tn.options.components,ba),Tn.prototype.__patch__=G?Xr:L,Tn.prototype.$mount=function(e,t){return function(e,t,n){var i;return e.$el=t,e.$options.render||(e.$options.render=ye),sn(e,"beforeMount"),i=function(){e._update(e._render(),n)},new yn(e,i,L,{before:function(){e._isMounted&&!e._isDestroyed&&sn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,sn(e,"mounted")),e}(this,e=e&&G?ai(e):void 0,t)},G&&setTimeout((function(){q.devtools&&se&&se.emit("init",Tn)}),0);var va=/\{\{((?:.|\r?\n)+?)\}\}/g,ya=/[-.*+?^${}()|[\]\/\\]/g,wa=k((function(e){var t=e[0].replace(ya,"\\$&"),n=e[1].replace(ya,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}));var xa={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Ui(e,"class");n&&(e.staticClass=JSON.stringify(n));var i=Ri(e,"class",!1);i&&(e.classBinding=i)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var ka,_a={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Ui(e,"style");n&&(e.staticStyle=JSON.stringify(pr(n)));var i=Ri(e,"style",!1);i&&(e.styleBinding=i)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},Ca=function(e){return(ka=ka||document.createElement("div")).innerHTML=e,ka.textContent},Sa=g("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ea=g("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),$a=g("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Aa=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ia=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ta="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+F.source+"]*",Oa="((?:"+Ta+"\\:)?"+Ta+")",La=new RegExp("^<"+Oa),Ma=/^\s*(\/?)>/,Pa=new RegExp("^<\\/"+Oa+"[^>]*>"),za=/^<!DOCTYPE [^>]+>/i,Da=/^<!\--/,Va=/^<!\[/,Ba=g("script,style,textarea",!0),Na={},ja={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},qa=/&(?:lt|gt|quot|amp|#39);/g,Fa=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Ra=g("pre,textarea",!0),Ua=function(e,t){return e&&Ra(e)&&"\n"===t[0]};function Ha(e,t){var n=t?Fa:qa;return e.replace(n,(function(e){return ja[e]}))}var Za,Wa,Ga,Xa,Ja,Ka,Ya,Qa,eo=/^@|^v-on:/,to=/^v-|^@|^:|^#/,no=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,io=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ro=/^\(|\)$/g,ao=/^\[.*\]$/,oo=/:(.*)$/,so=/^:|^\.|^v-bind:/,lo=/\.[^.\]]+(?=[^\]]*$)/g,co=/^v-slot(:|$)|^#/,uo=/[\r\n]/,po=/\s+/g,fo=k(Ca),ho="_empty_";function mo(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:ko(t),rawAttrsMap:{},parent:n,children:[]}}function go(e,t){Za=t.warn||zi,Ka=t.isPreTag||M,Ya=t.mustUseProp||M,Qa=t.getTagNamespace||M;var n=t.isReservedTag||M;(function(e){return!!e.component||!n(e.tag)}),Ga=Di(t.modules,"transformNode"),Xa=Di(t.modules,"preTransformNode"),Ja=Di(t.modules,"postTransformNode"),Wa=t.delimiters;var i,r,a=[],o=!1!==t.preserveWhitespace,s=t.whitespace,l=!1,c=!1;function d(e){if(u(e),l||e.processed||(e=bo(e,t)),a.length||e===i||i.if&&(e.elseif||e.else)&&yo(i,{exp:e.elseif,block:e}),r&&!e.forbidden)if(e.elseif||e.else)o=e,(s=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(r.children))&&s.if&&yo(s,{exp:o.elseif,block:o});else{if(e.slotScope){var n=e.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[n]=e}r.children.push(e),e.parent=r}var o,s;e.children=e.children.filter((function(e){return!e.slotScope})),u(e),e.pre&&(l=!1),Ka(e.tag)&&(c=!1);for(var d=0;d<Ja.length;d++)Ja[d](e,t)}function u(e){if(!c)for(var t;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}return function(e,t){for(var n,i,r=[],a=t.expectHTML,o=t.isUnaryTag||M,s=t.canBeLeftOpenTag||M,l=0;e;){if(n=e,i&&Ba(i)){var c=0,d=i.toLowerCase(),u=Na[d]||(Na[d]=new RegExp("([\\s\\S]*?)(</"+d+"[^>]*>)","i")),p=e.replace(u,(function(e,n,i){return c=i.length,Ba(d)||"noscript"===d||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),Ua(d,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));l+=e.length-p.length,e=p,E(d,l-c,l)}else{var f=e.indexOf("<");if(0===f){if(Da.test(e)){var h=e.indexOf("--\x3e");if(h>=0){t.shouldKeepComment&&t.comment(e.substring(4,h),l,l+h+3),_(h+3);continue}}if(Va.test(e)){var m=e.indexOf("]>");if(m>=0){_(m+2);continue}}var g=e.match(za);if(g){_(g[0].length);continue}var b=e.match(Pa);if(b){var v=l;_(b[0].length),E(b[1],v,l);continue}var y=C();if(y){S(y),Ua(y.tagName,e)&&_(1);continue}}var w=void 0,x=void 0,k=void 0;if(f>=0){for(x=e.slice(f);!(Pa.test(x)||La.test(x)||Da.test(x)||Va.test(x)||(k=x.indexOf("<",1))<0);)f+=k,x=e.slice(f);w=e.substring(0,f)}f<0&&(w=e),w&&_(w.length),t.chars&&w&&t.chars(w,l-w.length,l)}if(e===n){t.chars&&t.chars(e);break}}function _(t){l+=t,e=e.substring(t)}function C(){var t=e.match(La);if(t){var n,i,r={tagName:t[1],attrs:[],start:l};for(_(t[0].length);!(n=e.match(Ma))&&(i=e.match(Ia)||e.match(Aa));)i.start=l,_(i[0].length),i.end=l,r.attrs.push(i);if(n)return r.unarySlash=n[1],_(n[0].length),r.end=l,r}}function S(e){var n=e.tagName,l=e.unarySlash;a&&("p"===i&&$a(n)&&E(i),s(n)&&i===n&&E(n));for(var c=o(n)||!!l,d=e.attrs.length,u=new Array(d),p=0;p<d;p++){var f=e.attrs[p],h=f[3]||f[4]||f[5]||"",m="a"===n&&"href"===f[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;u[p]={name:f[1],value:Ha(h,m)}}c||(r.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:u,start:e.start,end:e.end}),i=n),t.start&&t.start(n,u,c,e.start,e.end)}function E(e,n,a){var o,s;if(null==n&&(n=l),null==a&&(a=l),e)for(s=e.toLowerCase(),o=r.length-1;o>=0&&r[o].lowerCasedTag!==s;o--);else o=0;if(o>=0){for(var c=r.length-1;c>=o;c--)t.end&&t.end(r[c].tag,n,a);r.length=o,i=o&&r[o-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,a):"p"===s&&(t.start&&t.start(e,[],!1,n,a),t.end&&t.end(e,n,a))}E()}(e,{warn:Za,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,o,s,u){var p=r&&r.ns||Qa(e);Y&&"svg"===p&&(n=function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];_o.test(i.name)||(i.name=i.name.replace(Co,""),t.push(i))}return t}(n));var f,h=mo(e,n,r);p&&(h.ns=p),"style"!==(f=h).tag&&("script"!==f.tag||f.attrsMap.type&&"text/javascript"!==f.attrsMap.type)||oe()||(h.forbidden=!0);for(var m=0;m<Xa.length;m++)h=Xa[m](h,t)||h;l||(!function(e){null!=Ui(e,"v-pre")&&(e.pre=!0)}(h),h.pre&&(l=!0)),Ka(h.tag)&&(c=!0),l?function(e){var t=e.attrsList,n=t.length;if(n)for(var i=e.attrs=new Array(n),r=0;r<n;r++)i[r]={name:t[r].name,value:JSON.stringify(t[r].value)},null!=t[r].start&&(i[r].start=t[r].start,i[r].end=t[r].end);else e.pre||(e.plain=!0)}(h):h.processed||(vo(h),function(e){var t=Ui(e,"v-if");if(t)e.if=t,yo(e,{exp:t,block:e});else{null!=Ui(e,"v-else")&&(e.else=!0);var n=Ui(e,"v-else-if");n&&(e.elseif=n)}}(h),function(e){null!=Ui(e,"v-once")&&(e.once=!0)}(h)),i||(i=h),o?d(h):(r=h,a.push(h))},end:function(e,t,n){var i=a[a.length-1];a.length-=1,r=a[a.length-1],d(i)},chars:function(e,t,n){if(r&&(!Y||"textarea"!==r.tag||r.attrsMap.placeholder!==e)){var i,a,d,u=r.children;if(e=c||e.trim()?"script"===(i=r).tag||"style"===i.tag?e:fo(e):u.length?s?"condense"===s&&uo.test(e)?"":" ":o?" ":"":"")c||"condense"!==s||(e=e.replace(po," ")),!l&&" "!==e&&(a=function(e,t){var n=t?wa(t):va;if(n.test(e)){for(var i,r,a,o=[],s=[],l=n.lastIndex=0;i=n.exec(e);){(r=i.index)>l&&(s.push(a=e.slice(l,r)),o.push(JSON.stringify(a)));var c=Mi(i[1].trim());o.push("_s("+c+")"),s.push({"@binding":c}),l=r+i[0].length}return l<e.length&&(s.push(a=e.slice(l)),o.push(JSON.stringify(a))),{expression:o.join("+"),tokens:s}}}(e,Wa))?d={type:2,expression:a.expression,tokens:a.tokens,text:e}:" "===e&&u.length&&" "===u[u.length-1].text||(d={type:3,text:e}),d&&u.push(d)}},comment:function(e,t,n){if(r){var i={type:3,text:e,isComment:!0};0,r.children.push(i)}}}),i}function bo(e,t){var n;!function(e){var t=Ri(e,"key");if(t){e.key=t}}(e),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,function(e){var t=Ri(e,"ref");t&&(e.ref=t,e.refInFor=function(e){var t=e;for(;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(e))}(e),function(e){var t;"template"===e.tag?(t=Ui(e,"scope"),e.slotScope=t||Ui(e,"slot-scope")):(t=Ui(e,"slot-scope"))&&(e.slotScope=t);var n=Ri(e,"slot");n&&(e.slotTarget='""'===n?'"default"':n,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||Bi(e,"slot",n,function(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}(e,"slot")));if("template"===e.tag){var i=Hi(e,co);if(i){0;var r=wo(i),a=r.name,o=r.dynamic;e.slotTarget=a,e.slotTargetDynamic=o,e.slotScope=i.value||ho}}else{var s=Hi(e,co);if(s){0;var l=e.scopedSlots||(e.scopedSlots={}),c=wo(s),d=c.name,u=c.dynamic,p=l[d]=mo("template",[],e);p.slotTarget=d,p.slotTargetDynamic=u,p.children=e.children.filter((function(e){if(!e.slotScope)return e.parent=p,!0})),p.slotScope=s.value||ho,e.children=[],e.plain=!1}}}(e),"slot"===(n=e).tag&&(n.slotName=Ri(n,"name")),function(e){var t;(t=Ri(e,"is"))&&(e.component=t);null!=Ui(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var i=0;i<Ga.length;i++)e=Ga[i](e,t)||e;return function(e){var t,n,i,r,a,o,s,l,c=e.attrsList;for(t=0,n=c.length;t<n;t++){if(i=r=c[t].name,a=c[t].value,to.test(i))if(e.hasBindings=!0,(o=xo(i.replace(to,"")))&&(i=i.replace(lo,"")),so.test(i))i=i.replace(so,""),a=Mi(a),(l=ao.test(i))&&(i=i.slice(1,-1)),o&&(o.prop&&!l&&"innerHtml"===(i=C(i))&&(i="innerHTML"),o.camel&&!l&&(i=C(i)),o.sync&&(s=Gi(a,"$event"),l?Fi(e,'"update:"+('+i+")",s,null,!1,0,c[t],!0):(Fi(e,"update:"+C(i),s,null,!1,0,c[t]),$(i)!==C(i)&&Fi(e,"update:"+$(i),s,null,!1,0,c[t])))),o&&o.prop||!e.component&&Ya(e.tag,e.attrsMap.type,i)?Vi(e,i,a,c[t],l):Bi(e,i,a,c[t],l);else if(eo.test(i))i=i.replace(eo,""),(l=ao.test(i))&&(i=i.slice(1,-1)),Fi(e,i,a,o,!1,0,c[t],l);else{var d=(i=i.replace(to,"")).match(oo),u=d&&d[1];l=!1,u&&(i=i.slice(0,-(u.length+1)),ao.test(u)&&(u=u.slice(1,-1),l=!0)),ji(e,i,r,a,u,l,o,c[t])}else Bi(e,i,JSON.stringify(a),c[t]),!e.component&&"muted"===i&&Ya(e.tag,e.attrsMap.type,i)&&Vi(e,i,"true",c[t])}}(e),e}function vo(e){var t;if(t=Ui(e,"v-for")){var n=function(e){var t=e.match(no);if(!t)return;var n={};n.for=t[2].trim();var i=t[1].trim().replace(ro,""),r=i.match(io);r?(n.alias=i.replace(io,"").trim(),n.iterator1=r[1].trim(),r[2]&&(n.iterator2=r[2].trim())):n.alias=i;return n}(t);n&&T(e,n)}}function yo(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function wo(e){var t=e.name.replace(co,"");return t||"#"!==e.name[0]&&(t="default"),ao.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'+t+'"',dynamic:!1}}function xo(e){var t=e.match(lo);if(t){var n={};return t.forEach((function(e){n[e.slice(1)]=!0})),n}}function ko(e){for(var t={},n=0,i=e.length;n<i;n++)t[e[n].name]=e[n].value;return t}var _o=/^xmlns:NS\d+/,Co=/^NS\d+:/;function So(e){return mo(e.tag,e.attrsList.slice(),e.parent)}var Eo=[xa,_a,{preTransformNode:function(e,t){if("input"===e.tag){var n,i=e.attrsMap;if(!i["v-model"])return;if((i[":type"]||i["v-bind:type"])&&(n=Ri(e,"type")),i.type||n||!i["v-bind"]||(n="("+i["v-bind"]+").type"),n){var r=Ui(e,"v-if",!0),a=r?"&&("+r+")":"",o=null!=Ui(e,"v-else",!0),s=Ui(e,"v-else-if",!0),l=So(e);vo(l),Ni(l,"type","checkbox"),bo(l,t),l.processed=!0,l.if="("+n+")==='checkbox'"+a,yo(l,{exp:l.if,block:l});var c=So(e);Ui(c,"v-for",!0),Ni(c,"type","radio"),bo(c,t),yo(l,{exp:"("+n+")==='radio'"+a,block:c});var d=So(e);return Ui(d,"v-for",!0),Ni(d,":type",n),bo(d,t),yo(l,{exp:r,block:d}),o?l.else=!0:s&&(l.elseif=s),l}}}}];var $o,Ao,Io={expectHTML:!0,modules:Eo,directives:{model:function(e,t,n){n;var i=t.value,r=t.modifiers,a=e.tag,o=e.attrsMap.type;if(e.component)return Wi(e,i,r),!1;if("select"===a)!function(e,t,n){var i='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";i=i+" "+Gi(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Fi(e,"change",i,null,!0)}(e,i,r);else if("input"===a&&"checkbox"===o)!function(e,t,n){var i=n&&n.number,r=Ri(e,"value")||"null",a=Ri(e,"true-value")||"true",o=Ri(e,"false-value")||"false";Vi(e,"checked","Array.isArray("+t+")?_i("+t+","+r+")>-1"+("true"===a?":("+t+")":":_q("+t+","+a+")")),Fi(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+a+"):("+o+");if(Array.isArray($$a)){var $$v="+(i?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Gi(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Gi(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Gi(t,"$$c")+"}",null,!0)}(e,i,r);else if("input"===a&&"radio"===o)!function(e,t,n){var i=n&&n.number,r=Ri(e,"value")||"null";Vi(e,"checked","_q("+t+","+(r=i?"_n("+r+")":r)+")"),Fi(e,"change",Gi(t,r),null,!0)}(e,i,r);else if("input"===a||"textarea"===a)!function(e,t,n){var i=e.attrsMap.type;0;var r=n||{},a=r.lazy,o=r.number,s=r.trim,l=!a&&"range"!==i,c=a?"change":"range"===i?tr:"input",d="$event.target.value";s&&(d="$event.target.value.trim()");o&&(d="_n("+d+")");var u=Gi(t,d);l&&(u="if($event.target.composing)return;"+u);Vi(e,"value","("+t+")"),Fi(e,c,u,null,!0),(s||o)&&Fi(e,"blur","$forceUpdate()")}(e,i,r);else{if(!q.isReservedTag(a))return Wi(e,i,r),!1}return!0},text:function(e,t){t.value&&Vi(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Vi(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:Sa,mustUseProp:jn,canBeLeftOpenTag:Ea,isReservedTag:ti,getTagNamespace:ni,staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(Eo)},To=k((function(e){return g("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));function Oo(e,t){e&&($o=To(t.staticKeys||""),Ao=t.isReservedTag||M,Lo(e),Mo(e,!1))}function Lo(e){if(e.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||b(e.tag)||!Ao(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every($o)))}(e),1===e.type){if(!Ao(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,n=e.children.length;t<n;t++){var i=e.children[t];Lo(i),i.static||(e.static=!1)}if(e.ifConditions)for(var r=1,a=e.ifConditions.length;r<a;r++){var o=e.ifConditions[r].block;Lo(o),o.static||(e.static=!1)}}}function Mo(e,t){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=t),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var n=0,i=e.children.length;n<i;n++)Mo(e.children[n],t||!!e.for);if(e.ifConditions)for(var r=1,a=e.ifConditions.length;r<a;r++)Mo(e.ifConditions[r].block,t)}}var Po=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,zo=/\([^)]*?\);*$/,Do=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Vo={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Bo={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},No=function(e){return"if("+e+")return null;"},jo={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:No("$event.target !== $event.currentTarget"),ctrl:No("!$event.ctrlKey"),shift:No("!$event.shiftKey"),alt:No("!$event.altKey"),meta:No("!$event.metaKey"),left:No("'button' in $event && $event.button !== 0"),middle:No("'button' in $event && $event.button !== 1"),right:No("'button' in $event && $event.button !== 2")};function qo(e,t){var n=t?"nativeOn:":"on:",i="",r="";for(var a in e){var o=Fo(e[a]);e[a]&&e[a].dynamic?r+=a+","+o+",":i+='"'+a+'":'+o+","}return i="{"+i.slice(0,-1)+"}",r?n+"_d("+i+",["+r.slice(0,-1)+"])":n+i}function Fo(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return Fo(e)})).join(",")+"]";var t=Do.test(e.value),n=Po.test(e.value),i=Do.test(e.value.replace(zo,""));if(e.modifiers){var r="",a="",o=[];for(var s in e.modifiers)if(jo[s])a+=jo[s],Vo[s]&&o.push(s);else if("exact"===s){var l=e.modifiers;a+=No(["ctrl","shift","alt","meta"].filter((function(e){return!l[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else o.push(s);return o.length&&(r+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Ro).join("&&")+")return null;"}(o)),a&&(r+=a),"function($event){"+r+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":i?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(i?"return "+e.value:e.value)+"}"}function Ro(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Vo[e],i=Bo[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(i)+")"}var Uo={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:L},Ho=function(e){this.options=e,this.warn=e.warn||zi,this.transforms=Di(e.modules,"transformCode"),this.dataGenFns=Di(e.modules,"genData"),this.directives=T(T({},Uo),e.directives);var t=e.isReservedTag||M;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Zo(e,t){var n=new Ho(t);return{render:"with(this){return "+(e?Wo(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Wo(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Go(e,t);if(e.once&&!e.onceProcessed)return Xo(e,t);if(e.for&&!e.forProcessed)return Yo(e,t);if(e.if&&!e.ifProcessed)return Jo(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',i=ns(e,t),r="_t("+n+(i?","+i:""),a=e.attrs||e.dynamicAttrs?as((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:C(e.name),value:e.value,dynamic:e.dynamic}}))):null,o=e.attrsMap["v-bind"];!a&&!o||i||(r+=",null");a&&(r+=","+a);o&&(r+=(a?"":",null")+","+o);return r+")"}(e,t);var n;if(e.component)n=function(e,t,n){var i=t.inlineTemplate?null:ns(t,n,!0);return"_c("+e+","+Qo(t,n)+(i?","+i:"")+")"}(e.component,e,t);else{var i;(!e.plain||e.pre&&t.maybeComponent(e))&&(i=Qo(e,t));var r=e.inlineTemplate?null:ns(e,t,!0);n="_c('"+e.tag+"'"+(i?","+i:"")+(r?","+r:"")+")"}for(var a=0;a<t.transforms.length;a++)n=t.transforms[a](e,n);return n}return ns(e,t)||"void 0"}function Go(e,t){e.staticProcessed=!0;var n=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return "+Wo(e,t)+"}"),t.pre=n,"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function Xo(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return Jo(e,t);if(e.staticInFor){for(var n="",i=e.parent;i;){if(i.for){n=i.key;break}i=i.parent}return n?"_o("+Wo(e,t)+","+t.onceId+++","+n+")":Wo(e,t)}return Go(e,t)}function Jo(e,t,n,i){return e.ifProcessed=!0,Ko(e.ifConditions.slice(),t,n,i)}function Ko(e,t,n,i){if(!e.length)return i||"_e()";var r=e.shift();return r.exp?"("+r.exp+")?"+a(r.block)+":"+Ko(e,t,n,i):""+a(r.block);function a(e){return n?n(e,t):e.once?Xo(e,t):Wo(e,t)}}function Yo(e,t,n,i){var r=e.for,a=e.alias,o=e.iterator1?","+e.iterator1:"",s=e.iterator2?","+e.iterator2:"";return e.forProcessed=!0,(i||"_l")+"(("+r+"),function("+a+o+s+"){return "+(n||Wo)(e,t)+"})"}function Qo(e,t){var n="{",i=function(e,t){var n=e.directives;if(!n)return;var i,r,a,o,s="directives:[",l=!1;for(i=0,r=n.length;i<r;i++){a=n[i],o=!0;var c=t.directives[a.name];c&&(o=!!c(e,a,t.warn)),o&&(l=!0,s+='{name:"'+a.name+'",rawName:"'+a.rawName+'"'+(a.value?",value:("+a.value+"),expression:"+JSON.stringify(a.value):"")+(a.arg?",arg:"+(a.isDynamicArg?a.arg:'"'+a.arg+'"'):"")+(a.modifiers?",modifiers:"+JSON.stringify(a.modifiers):"")+"},")}if(l)return s.slice(0,-1)+"]"}(e,t);i&&(n+=i+","),e.key&&(n+="key:"+e.key+","),e.ref&&(n+="ref:"+e.ref+","),e.refInFor&&(n+="refInFor:true,"),e.pre&&(n+="pre:true,"),e.component&&(n+='tag:"'+e.tag+'",');for(var r=0;r<t.dataGenFns.length;r++)n+=t.dataGenFns[r](e);if(e.attrs&&(n+="attrs:"+as(e.attrs)+","),e.props&&(n+="domProps:"+as(e.props)+","),e.events&&(n+=qo(e.events,!1)+","),e.nativeEvents&&(n+=qo(e.nativeEvents,!0)+","),e.slotTarget&&!e.slotScope&&(n+="slot:"+e.slotTarget+","),e.scopedSlots&&(n+=function(e,t,n){var i=e.for||Object.keys(t).some((function(e){var n=t[e];return n.slotTargetDynamic||n.if||n.for||es(n)})),r=!!e.if;if(!i)for(var a=e.parent;a;){if(a.slotScope&&a.slotScope!==ho||a.for){i=!0;break}a.if&&(r=!0),a=a.parent}var o=Object.keys(t).map((function(e){return ts(t[e],n)})).join(",");return"scopedSlots:_u(["+o+"]"+(i?",null,true":"")+(!i&&r?",null,false,"+function(e){var t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return t>>>0}(o):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var a=function(e,t){var n=e.children[0];0;if(n&&1===n.type){var i=Zo(n,t.options);return"inlineTemplate:{render:function(){"+i.render+"},staticRenderFns:["+i.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}(e,t);a&&(n+=a+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+as(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function es(e){return 1===e.type&&("slot"===e.tag||e.children.some(es))}function ts(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Jo(e,t,ts,"null");if(e.for&&!e.forProcessed)return Yo(e,t,ts);var i=e.slotScope===ho?"":String(e.slotScope),r="function("+i+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(ns(e,t)||"undefined")+":undefined":ns(e,t)||"undefined":Wo(e,t))+"}",a=i?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+r+a+"}"}function ns(e,t,n,i,r){var a=e.children;if(a.length){var o=a[0];if(1===a.length&&o.for&&"template"!==o.tag&&"slot"!==o.tag){var s=n?t.maybeComponent(o)?",1":",0":"";return""+(i||Wo)(o,t)+s}var l=n?function(e,t){for(var n=0,i=0;i<e.length;i++){var r=e[i];if(1===r.type){if(is(r)||r.ifConditions&&r.ifConditions.some((function(e){return is(e.block)}))){n=2;break}(t(r)||r.ifConditions&&r.ifConditions.some((function(e){return t(e.block)})))&&(n=1)}}return n}(a,t.maybeComponent):0,c=r||rs;return"["+a.map((function(e){return c(e,t)})).join(",")+"]"+(l?","+l:"")}}function is(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function rs(e,t){return 1===e.type?Wo(e,t):3===e.type&&e.isComment?function(e){return"_e("+JSON.stringify(e.text)+")"}(e):"_v("+(2===(n=e).type?n.expression:os(JSON.stringify(n.text)))+")";var n}function as(e){for(var t="",n="",i=0;i<e.length;i++){var r=e[i],a=os(r.value);r.dynamic?n+=r.name+","+a+",":t+='"'+r.name+'":'+a+","}return t="{"+t.slice(0,-1)+"}",n?"_d("+t+",["+n.slice(0,-1)+"])":t}function os(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");function ss(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),L}}function ls(e){var t=Object.create(null);return function(n,i,r){(i=T({},i)).warn;delete i.warn;var a=i.delimiters?String(i.delimiters)+n:n;if(t[a])return t[a];var o=e(n,i);var s={},l=[];return s.render=ss(o.render,l),s.staticRenderFns=o.staticRenderFns.map((function(e){return ss(e,l)})),t[a]=s}}var cs,ds,us=(cs=function(e,t){var n=go(e.trim(),t);!1!==t.optimize&&Oo(n,t);var i=Zo(n,t);return{ast:n,render:i.render,staticRenderFns:i.staticRenderFns}},function(e){function t(t,n){var i=Object.create(e),r=[],a=[];if(n)for(var o in n.modules&&(i.modules=(e.modules||[]).concat(n.modules)),n.directives&&(i.directives=T(Object.create(e.directives||null),n.directives)),n)"modules"!==o&&"directives"!==o&&(i[o]=n[o]);i.warn=function(e,t,n){(n?a:r).push(e)};var s=cs(t.trim(),i);return s.errors=r,s.tips=a,s}return{compile:t,compileToFunctions:ls(t)}})(Io),ps=(us.compile,us.compileToFunctions);function fs(e){return(ds=ds||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',ds.innerHTML.indexOf(" ")>0}var hs=!!G&&fs(!1),ms=!!G&&fs(!0),gs=k((function(e){var t=ai(e);return t&&t.innerHTML})),bs=Tn.prototype.$mount;Tn.prototype.$mount=function(e,t){if((e=e&&ai(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&(i=gs(i));else{if(!i.nodeType)return this;i=i.innerHTML}else e&&(i=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(i){0;var r=ps(i,{outputSourceRange:!1,shouldDecodeNewlines:hs,shouldDecodeNewlinesForHref:ms,delimiters:n.delimiters,comments:n.comments},this),a=r.render,o=r.staticRenderFns;n.render=a,n.staticRenderFns=o}}return bs.call(this,e,t)},Tn.compile=ps;var vs=Tn;const ys=()=>{window.Vue=vs,Vue.config.devtools=!1,Vue.config.productionTip=!1,Vue.directive("hit",{inserted(e,{value:t}){if(t&&"function"==typeof t){const n=e=>{t.length>0?t(e):t()};e.addEventListener("click",t),e.addEventListener("keydown",(e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),n(e))}))}}})}},5830:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var i=n(6243),r=n(1906),a=n(2587);const o={name:"launchBar.plugin",displayName:"搜索栏 - 快捷键支持",setup:({addData:e})=>{e("keymap.actions",(e=>{e.showLaunchBar={displayName:"显示搜索栏",run:async()=>{const{toggleLaunchBar:e}=await Promise.resolve().then(n.bind(n,9931));return e(),!0}}})),e("keymap.presets",(e=>{e.showLaunchBar="/"}))}},s={name:"launchBar",displayName:"搜索栏",configurable:!1,entry:r.none,plugin:o,hidden:!0,tags:[a.t.general,a.t.utils]};var l=n(5106),c=n(1993),d=n(3420);function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class p{constructor(){u(this,"accepts",(e=>e.nodeType===Node.ELEMENT_NODE)),u(this,"getValue",(e=>e.nodeValue)),u(this,"setValue",((e,t)=>{e.nodeValue=t})),u(this,"getElement",(e=>e))}translate(e){let t=this.getValue(e);if(!t||"string"!=typeof t||"*"===t)return;t=t.trim();const n=p.map.get(t);if(void 0===n){const n=p.regex.find((([e])=>e.test(t)));if(n){const[i,r]=n;this.setValue(e,t.replace(i,r))}}else if("string"==typeof n)this.setValue(e,n);else if(Array.isArray(n)){let t=null;for(const i of n)if("string"==typeof i)t=i;else{const{text:n,selector:r,not:a}=i;this.getElement(e)?.matches(r)!==Boolean(a)&&(t=n)}null!==t&&this.setValue(e,t)}else{const{text:t,selector:i,not:r}=n;this.getElement(e)?.matches(i)!==Boolean(r)&&this.setValue(e,t)}}static walk(e,t){const n=document.createNodeIterator(e,// eslint-disable-next-line no-bitwise
|
||
NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT);let i=n.nextNode();for(;i;)t(i),i=n.nextNode()}static translate(e){if(e.nodeType===Node.TEXT_NODE)return void p.textNode.translate(e);const t=e=>{for(const t of p.sensitiveTranslators)t.accepts(e)&&t.translate(e)};t(e),p.walk(e,t)}static translateCssMatches(){const e=p.map.get("*");if(e)for(const{selector:t,text:n}of e){const e=document.querySelector(t);e&&[...e.childNodes].filter((e=>e.nodeType===Node.TEXT_NODE)).forEach((e=>e.nodeValue=n))}}}u(p,"textNode",void 0),u(p,"title",void 0),u(p,"placeholder",void 0),u(p,"sensitiveTranslators",void 0),u(p,"map",void 0),u(p,"regex",void 0);p.textNode=new class extends p{constructor(...e){super(...e),u(this,"accepts",(e=>e.nodeType===Node.TEXT_NODE)),u(this,"getElement",(e=>e.parentElement))}},p.title=new class extends p{constructor(...e){super(...e),u(this,"getValue",(e=>e.getAttribute("title"))),u(this,"setValue",((e,t)=>{e.setAttribute("title",t)}))}},p.placeholder=new class extends p{constructor(...e){super(...e),u(this,"getValue",(e=>e.getAttribute("placeholder"))),u(this,"setValue",((e,t)=>{e.setAttribute("placeholder",t)}))}},p.sensitiveTranslators=[p.textNode,p.title,p.placeholder];const f={name:"i18n",displayName:"多语言",configurable:!1,entry:async()=>{const{getSelectedLanguage:e}=await Promise.resolve().then(n.bind(n,7365)),t=e();if(t===l.defaultLanguageCode)return;const{registerAndGetData:i}=await Promise.resolve().then(n.bind(n,950)),[r,a]=i(`i18n.${t}`,new Map,[]);console.log(t,r.size,a.length),0===r.size&&0===a.length||(document.documentElement.setAttribute("lang",t),p.map=r,p.regex=a,p.translate(document.body),p.translateCssMatches(),(0,d.allMutations)((e=>{e.forEach((e=>{"childList"===e.type?(e.addedNodes.length>0&&p.translateCssMatches(),e.addedNodes.forEach((e=>{p.translate(e)}))):"characterData"===e.type?p.textNode.translate(e.target):"attributes"===e.type&&("title"===e.attributeName?p.title.translate(e.target):"placeholder"===e.attributeName&&p.placeholder.translate(e.target))}))})))},tags:[a.t.utils,a.t.experimental,a.t.general],description:{"zh-CN":"安装其他语言包可以更换界面语言, 机器翻译选择可以设定其他一些功能如`动态翻译`, `评论翻译`使用的翻译器. 机器翻译的选择不影响界面语言."},options:{language:{defaultValue:l.languageCodeToName[l.defaultLanguageCode],displayName:"界面语言选择",dropdownEnum:l.languageCodeToName},translator:{defaultValue:Object.keys(c.WK)[0],displayName:"机器翻译选择",dropdownEnum:c.U6}},hidden:!0};var h=n(6171),m=n(5945);const g=/^http:\/\/localhost/,b="autoUpdate",v=e=>g.test(e),y=e=>void 0!==h.settings.userComponents[e]||void 0!==h.settings.userPlugins[e]||void 0!==h.settings.userStyles[e],w=async e=>{const{items:t,existPredicate:i=y,filterNames:r=[],force:a=!1,maxCount:o=1/0}=e,s=Number(new Date),{devMode:l}=(0,h.getGeneralSettings)(),{options:c}=(0,h.getComponentSettings)(b);Object.keys(t).filter((e=>!i(e))).forEach((e=>{delete t[e]}));let d=0;return(await Promise.allSettled(Object.entries(t).filter((([e,t])=>(e=>0===r.length||r.includes(e))(e)&&Boolean(t.url))).map((async([e,i])=>{const{url:r,lastUpdateCheck:u,alwaysUpdate:p}=i;if(!(p&&l)&&s-u<=c.minimumDuration&&!a)return`[${e}] 未超过更新间隔期, 已跳过`;if(d>o&&!a)return`[${e}] 已到达单次更新量上限 (${o} 个), 已跳过`;let f=r;g.test(r)&&c.localPortOverride&&(f=r.replace(/:(\d)+/,`:${c.localPortOverride}`));const h=await coreApis.ajax.monkey({url:f});if(!(e in t))return`[${e}] 已被卸载, 取消更新`;if(!h)return`[${e}] 更新下载失败, 取消更新`;const{installFeatureFromCode:m}=await Promise.resolve().then(n.bind(n,9513)),{message:b}=await m(h,r);return i.lastUpdateCheck=Number(new Date),d++,`[${e}] ${b}`})))).map(((e,n)=>{if("fulfilled"===e.status)return e.value;const i=e.reason?.message??e.reason.toString();return`[${Object.keys(t)[n]}] ${i}`})).join("\n").trim()},x=async e=>{const{options:t}=(0,h.getComponentSettings)(b),{components:n}=t.urls;return w({items:n,...e})},k=async e=>{const{options:t}=(0,h.getComponentSettings)(b),{plugins:n}=t.urls;return w({items:n,...e})},_=async e=>{const{options:t}=(0,h.getComponentSettings)(b),{styles:n}=t.urls;return w({items:n,...e})},C={name:b,displayName:"自动更新器",description:{"zh-CN":"自动检查组件, 插件和样式的更新. (仅限从设置面板中安装的)"},tags:[a.t.utils],options:{lastUpdateCheck:{displayName:"最后检查更新日期",defaultValue:0,hidden:!0},localPortOverride:{displayName:"本地组件链接端口",defaultValue:"",hidden:!0},minimumDuration:{displayName:"更新间隔 (ms)",defaultValue:864e5},urls:{displayName:"更新链接",defaultValue:{components:{},plugins:{},styles:{}},hidden:!0},maxUpdateCount:{displayName:"单次最大更新量 (个)",defaultValue:4,hidden:!0}},entry:async({settings:{options:e},coreApis:{pluginApis:t}})=>{const i=Number(new Date)-e.lastUpdateCheck,r=async()=>{console.log("[自动更新器] 开始检查更新"),console.log(await x({maxCount:e.maxUpdateCount})||"暂无组件更新"),console.log(await k({maxCount:e.maxUpdateCount})||"暂无插件更新"),console.log(await _({maxCount:e.maxUpdateCount})||"暂无样式更新"),e.lastUpdateCheck=Number(new Date),console.log("[自动更新器] 完成更新检查")};i>=e.minimumDuration&&coreApis.lifeCycle.fullyLoaded(r);const a={checkUpdates:r,checkUpdatesAndReload:async()=>{await r(),window.location.reload()},updateSingleComponent:async(...e)=>{await x({filterNames:e,force:!0}),window.location.reload()},updateSinglePlugin:async(...e)=>{await k({filterNames:e,force:!0}),window.location.reload()},updateSingleStyle:async(...e)=>{await _({filterNames:e,force:!0}),window.location.reload()},updateLastFeature:async()=>{const t=Object.values(e.urls).flatMap((e=>Object.entries(e))).map((([e,t])=>({key:e,time:t.lastUpdateCheck,item:t}))).sort((0,m.descendingSort)((e=>e.time))),[n]=t;n?(await w({items:{[n.key]:n.item},force:!0}),window.location.reload()):console.log("没有找到最近更新的功能")}};if((0,h.getGeneralSettings)().devMode){const e="mdi-cloud-sync-outline";t.data.addData("launchBar.actions",(t=>{t.push({name:"autoUpdateActions",getActions:async()=>[{name:"检查所有更新",description:"Check Updates",action:async()=>{const{Toast:e}=await Promise.resolve().then(n.bind(n,5683)),t=e.info("正在检查更新...","检查所有更新");await a.checkUpdatesAndReload(),t.dismiss()},icon:e},{name:"检查最近更新的功能",description:"Check Last Update",action:async()=>{const{Toast:e}=await Promise.resolve().then(n.bind(n,5683)),t=e.info("正在检查更新...","检查最近更新的功能");await a.updateLastFeature(),t.dismiss()},icon:e}]})}))}return a},plugin:{displayName:"自动更新器 - 功能扩展",description:{"zh-CN":"记录在设置面板中的功能安装/卸载数据供自动更新使用; 并在组件详情中支持手动检查该组件的更新."},setup:({addData:e,addHook:t})=>{["components","plugins","styles"].forEach((e=>{t(`user${lodash.startCase(e)}.add`,{after:(t,n,i)=>{const{options:r}=(0,h.getComponentSettings)("autoUpdate"),a=r.urls[e][i.name];a?(a.url=n,a.lastUpdateCheck=Number(new Date),a.alwaysUpdate=v(n)):r.urls[e][i.name]={url:n,lastUpdateCheck:Number(new Date),installTime:Number(new Date),alwaysUpdate:v(n)}}}),t(`user${lodash.startCase(e)}.remove`,{after:t=>{const{options:n}=(0,h.getComponentSettings)("autoUpdate");n.urls[e][t.name]&&delete n.urls[e][t.name]}})})),e("settingsPanel.componentActions",(e=>{const{options:t}=(0,h.getComponentSettings)("autoUpdate");e.push((e=>{const i=t.urls.components[e.name];if(i)return{name:"checkUpdate",displayName:"检查更新",icon:v(i.url)?"mdi-file-download-outline":"mdi-cloud-download-outline",condition:()=>(0,h.isUserComponent)(e),title:i.url,action:async()=>{const{Toast:t}=await Promise.resolve().then(n.bind(n,5683)),i=t.info("检查更新中...","检查更新"),r=await x({filterNames:[e.name],force:!0});i.message=r,i.duration=3e3}}}))}))}}},S=()=>[i.component,s,f,C]},8171:function(e,t,n){"use strict";n.r(t),n.d(t,{componentsMap:function(){return l},components:function(){return c},importComponent:function(){return h},loadComponent:function(){return m},loadAllUserComponents:function(){return g},loadAllComponents:function(){return b},componentsTags:function(){return s.t}});var i=n(6171),r=n(7177),a=n(4345),o=n(5830),s=n(2587);const l={},c=lodash.once((()=>{const e=(0,o.Z)();return e.forEach((e=>l[e.name]=e)),e}))(),d=async e=>{if(!e.i18n)return;const{addI18nData:t}=await Promise.resolve().then(n.bind(n,7365));Object.entries(e.i18n).forEach((([e,n])=>{const{map:i=[],regex:r=[]}=n;t(e,i,r)}))},u=e=>`${e.name}.widget`,p=async e=>{if(e.widget){const t={...e.widget,name:u(e)},{addData:i}=await Promise.resolve().then(n.bind(n,950)),{WidgetsPlugin:r}=await Promise.resolve().then(n.bind(n,6243));i(r,(n=>{if(n.find((e=>e.name===t.name)))return;const{urlInclude:i,urlExclude:r}=t;e.urlInclude&&(i?i.push(...e.urlInclude):t.urlInclude=[...e.urlInclude]),e.urlExclude&&(r?r.push(...e.urlExclude):t.urlExclude=[...e.urlExclude]),n.push(t)}))}},f={},h=e=>{if(!(e in f))throw new Error(`组件'${e}'未加载, 请确认拼写无误且组件已开启.`);return f[e]},m=async e=>{const{componentLoadTrace:t}=await Promise.resolve().then(n.bind(n,1485)),{matchUrlPattern:r}=await Promise.resolve().then(n.bind(n,1906)),{coreApis:a}=await Promise.resolve().then(n.bind(n,9388));await t(e);const o=async()=>{p(e);const t=await e.entry({settings:(0,i.getComponentSettings)(e),metadata:e,coreApis:a});f[e.name]=t||{}};e.reload&&e.unload&&(0,i.addComponentListener)(e.name,(async t=>{if(!1!==e.configurable&&!(e.urlExclude&&e.urlExclude.some(r)||e.urlInclude&&e.urlInclude.every(lodash.negate(r))))if(e.name in f){if(t&&e.reload&&(e.reload(),e.widget&&p(e)),!t&&e.unload&&(e.unload(),e.widget)){const{getData:t}=await Promise.resolve().then(n.bind(n,950)),{WidgetsPlugin:i}=await Promise.resolve().then(n.bind(n,6243)),[r]=t(i);if(r){const t=u(e),n=r.findIndex((e=>e.name===t));-1!==n&&r.splice(n,1)}}}else t&&await o()})),(0,i.isComponentEnabled)(e)&&await o()},g=async()=>{const{settings:e}=await Promise.resolve().then(n.bind(n,6171)),{batchParseCode:t}=await Promise.resolve().then(n.bind(n,7731));(await t(Object.values(e.userComponents).map((e=>e.code)))).forEach((e=>{c.push(e),l[e.name]=e}))},b=async()=>{const e=(0,i.getGeneralSettings)(),{loadAllPlugins:t}=await Promise.resolve().then(n.bind(n,1623)),o=()=>t(c).then((()=>Promise.allSettled(c.map(d)))).then((()=>Promise.allSettled(c.map(m)))).then((async()=>{if(e.devMode){const{componentLoadTime:e,componentResolveTime:t}=await Promise.resolve().then(n.bind(n,1485)),{logStats:i}=await Promise.resolve().then(n.bind(n,9476));i("components block",e),i("components resolve",t)}}));return new Promise((t=>{e.scriptLoadingMode===a.LoadingMode.Delay?(0,r.fullyLoaded)((()=>o().then(t))):e.scriptLoadingMode===a.LoadingMode.Race&&(0,r.contentLoaded)((()=>o().then(t)))}))}},5143:function(e,t,n){"use strict";n.r(t),n.d(t,{getDescriptionMarkdown:function(){return s},getDescriptionHTML:function(){return l},getDescriptionText:function(){return c}});var i=n(5106),r=n(7084),a=n.n(r),o=n(7365);const s=e=>{const{description:t,author:n}=e;return(n?Array.isArray(n)?`by ${n.map((e=>`[@${e.name}](${e.link})`)).join(",")}\n\n`:`by [@${n.name}](${n.link})\n\n`:"")+(t?"string"==typeof t?t:t[(0,i.languageNameToCode)((0,o.getSelectedLanguage)())]||t["zh-CN"]:"暂无描述.")},l=e=>a()(s(e)),c=e=>{const t=l(e),n=document.createElement("div");return n.innerHTML=t,n.innerText}},7365:function(e,t,n){"use strict";n.r(t),n.d(t,{addI18nData:function(){return o},getSelectedLanguage:function(){return s}});var i=n(950),r=n(6171),a=n(5106);const o=(e,t,n)=>{(0,i.addData)(`i18n.${e}`,((e,i)=>{t?.forEach((([t,n])=>e.set(t,n))),n&&i.push(...n)}))},s=()=>{const e=(0,r.getComponentSettings)("i18n");return(0,a.languageNameToCode)(e.options.language)}},1993:function(e,t,n){"use strict";n.d(t,{WK:function(){return p},U6:function(){return f},Ty:function(){return h}});var i=n(7195),r=n(2121),a=n(6171),o=n(5106),s=n(950),l=n(1906);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class d{constructor(){c(this,"name",void 0),c(this,"link",void 0),c(this,"defaultLanguage",void 0)}getTargetLanguage(){const e=(0,a.getComponentSettings)("i18n");return e.enabled?(0,o.languageNameToCode)(e.options.language):this.defaultLanguage}toString(){return this.name}}class u extends d{constructor(...e){super(...e),c(this,"name","Google"),c(this,"link","https://translate.google.com/"),c(this,"defaultLanguage","zh"),c(this,"apiUrl","https://translate.google.com/translate_a/single")}async translate(e){let t=this.getTargetLanguage();t.includes("-")&&t!==this.defaultLanguage&&(t=t.substring(0,t.indexOf("-")));try{const n=await(0,i.monkey)({url:`${this.apiUrl}?${(0,l.formData)({client:"gtx",sl:"auto",tl:t,dt:"t",q:encodeURIComponent(e)})}`,method:"GET",headers:{"User-Agent":r.UserAgent},responseType:"json"});return n[0].map((e=>e[0])).join("")}catch(e){throw console.error("Translator: Google",e),new Error("调用Google翻译失败.")}}}const[p]=(0,s.registerAndGetData)("i18n.machineTranslators",{GoogleCN:new class extends u{constructor(...e){super(...e),c(this,"name","GoogleCN"),c(this,"link","https://translate.google.cn/"),c(this,"apiUrl","https://translate.google.cn/translate_a/single")}},Google:new u}),f=Object.keys(p),h=()=>{const{options:{translator:e}}=(0,a.getComponentSettings)("i18n");return p[e]||p.GoogleCN}},2168:function(e,t,n){"use strict";n.d(t,{WY:function(){return r},dr:function(){return a}});const i=(e="search_history")=>{const t=localStorage.getItem(e);return t?JSON.parse(t):[]},r=(e,t="search_history")=>{console.log("add",e),localStorage.setItem(t,JSON.stringify(lodash.sortBy(lodash.uniqBy([{value:e,isHistory:1,timestamp:Number(new Date)},...i()],(e=>e.value)),(e=>e.timestamp)).reverse().slice(0,12)))},a={name:"history",getActions:async()=>{const{search:e}=await Promise.resolve().then(n.bind(n,6674)),t={name:"清除搜索历史",icon:"mdi-trash-can-outline",description:"Clear History",explicitSelect:!0,action:()=>{((e="search_history")=>{localStorage.setItem(e,"[]")})()}},r=i().map((t=>({name:t.value,icon:"mdi-history",explicitSelect:!0,action:()=>{e(t.value)},deleteAction:()=>{((e,t="search_history")=>{const n=i(),r=n.findIndex((t=>t.value===e));console.log("delete",e,r),-1!==r&&(n.splice(r,1),localStorage.setItem(t,JSON.stringify(n)))})(t.value)}})));return r.length>0&&r.push(t),r}}},4247:function(e,t,n){"use strict";n.r(t),n.d(t,{LaunchBarActionProviders:function(){return i}});const i="launchBar.actions"},6674:function(e,t,n){"use strict";n.r(t),n.d(t,{search:function(){return o},searchProvider:function(){return s}});var i=n(1906),r=n(7195),a=n(2168);const o=e=>{if(!e)return;(0,a.WY)(e);const t={keyword:e,from_source:"nav_suggest_new"};window.open(`https://search.bilibili.com/all?${(0,i.formData)(t)}`,"_blank")},s={name:"search",getActions:async e=>{const t=`https://s.search.bilibili.com/main/suggest?func=suggest&suggest_type=accurate&sub_type=tag&main_ver=v1&highlight=&userid=${(0,i.getUID)()}&bangumi_acc_num=1&special_acc_num=1&topic_acc_num=1&upuser_acc_num=3&tag_num=10&special_num=10&bangumi_num=10&upuser_num=3&term=${e}`,n=await(0,r.getJson)(t),a=[{name:e,icon:"search",content:async()=>Vue.extend({render:t=>t("div",{domProps:{innerHTML:`<em class="suggest-highlight">${e}</em>`}})}),action:()=>o(e)}];if(0!==n.code)return a;const s=lodash.get(n,"result.tag");return s?(a.push(...s.map((e=>({name:e.value,icon:"search",content:async()=>Vue.extend({render:t=>t("div",{domProps:{innerHTML:e.name.replace(/suggest_high_light/g,"suggest-highlight")}})}),action:()=>o(e.value)})))),lodash.uniqBy(a,(e=>e.name))):a}}},9931:function(e,t,n){"use strict";n.r(t),n.d(t,{toggleLaunchBar:function(){return g}});var i=n(1906),r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("VPopup",{staticClass:"global-launch-bar-container",attrs:{lazy:!1,fixed:""},on:{"!keydown":function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.close()}},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[n("LaunchBar",{ref:"launchBar"})],1)};r._withStripped=!0;var a=n(7553),o=n(3059),s=Vue.extend({components:{LaunchBar:o.Z,VPopup:a.default},data:()=>({show:!0}),watch:{show(e){e&&this.focus()}},async mounted(){await this.$nextTick(),this.focus()},methods:{focus(){const e=this.$refs.launchBar?.$refs.input;e?.focus(),e?.select()},close(){this.show=!1;this.$refs.launchBar?.$refs.input?.blur()}}}),l=n(3379),c=n.n(l),d=n(5584),u=n.n(d),p={insert:"head",singleton:!1},f=(c()(u(),p),u().locals,(0,n(1900).Z)(s,r,[],!1,null,null,null));f.options.__file="src/components/launch-bar/GlobalLaunchBar.vue";var h=f.exports;let m;const g=()=>{if(!m)return m=(0,i.mountVueComponent)(h),void document.body.append(m.$el);m.show=!m.show}},6243:function(e,t,n){"use strict";n.r(t),n.d(t,{SettingsPanelDockSide:function(){return f},WidgetsPlugin:function(){return p},component:function(){return h}});var i=n(1906),r=n(4345),a=n(6314),o=n(2462),s=n(6171),l=n(5300),c=n(2587),d=n(950),u=n(4247);const p="widgets";let f;!function(e){e.Left="左侧",e.Right="右侧"}(f||(f={}));const h={name:"settingsPanel",displayName:"通用设置",configurable:!1,entry:async({metadata:e})=>{const{isIframe:t}=await Promise.resolve().then(n.bind(n,1906));t()||((0,s.addComponentListener)(`${e.name}.dockSide`,(e=>{document.body.classList.toggle("settings-panel-dock-right",e===f.Right)}),!0),requestIdleCallback((async()=>{const e=await Promise.resolve().then(n.bind(n,5863)),t=(0,i.mountVueComponent)(e);document.body.insertAdjacentElement("beforeend",t.$el)})))},options:{themeColor:{defaultValue:"#00A0D8",displayName:"主题颜色",color:!0},scriptLoadingMode:{defaultValue:r.LoadingMode.Delay,displayName:"功能加载模式",dropdownEnum:r.LoadingMode},styleLoadingMode:{defaultValue:r.LoadingMode.Race,displayName:"样式加载模式",dropdownEnum:r.LoadingMode},textColor:{defaultValue:a.TextColor.Auto,displayName:"文本颜色",dropdownEnum:a.TextColor},cdnRoot:{defaultValue:o.CdnTypes.jsDelivr,displayName:"更新源",dropdownEnum:o.CdnTypes},dockSide:{defaultValue:f.Left,displayName:"设置面板停靠",dropdownEnum:f},filenameFormat:{defaultValue:"[title][ - ep]",displayName:"文件命名格式"},batchFilenameFormat:{defaultValue:"[n - ][ep]",displayName:"批量命名格式"},downloadPackageEmitMode:{defaultValue:l.h.Packed,displayName:"文件下载模式",dropdownEnum:l.h},devMode:{defaultValue:!1,displayName:"开发者模式"}},tags:[c.t.general],i18n:{"en-US":{map:[["通用设置","General"],["实验性","Experimental"],["通用","General"],["开发者模式","Dev mode"],["辅助颜色","Accent color"],["功能加载模式","Script loading mode"],["样式加载模式","Style loading mode"]]}},plugin:{displayName:"设置面板 - 功能扩展",setup:()=>{(0,d.addData)(u.LaunchBarActionProviders,(e=>{e.push({name:"onlineRegistry",getActions:async()=>[{name:"切换在线仓库",description:"Toggle Online Registry",icon:"mdi-web",action:async()=>{const{togglePopup:e}=await Promise.resolve().then(n.bind(n,5760));e()}}]})}))}}}},5858:function(e,t,n){"use strict";n.d(t,{U:function(){return r},B:function(){return a}});var i=n(6171);const r=Vue.extend({props:{componentData:{type:Object,required:!0}},data(){return{settings:(0,i.getComponentSettings)(this.componentData)}}}),a=e=>Vue.extend({data:()=>({virtual:!1}),async mounted(){const{dq:t}=await Promise.resolve().then(n.bind(n,1906)),{visibleInside:i}=await Promise.resolve().then(n.bind(n,3420)),r=this.$el,a=t(e);a?i(r,a,"150% 0px",(e=>{e.forEach((e=>{this.virtual=!e.isIntersecting}))})):console.warn("virtual container not found, virtual scroll will be disabled!")}})},5760:function(e,t,n){"use strict";n.r(t),n.d(t,{initPopup:function(){return B},togglePopup:function(){return N}});var i=n(1906),r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("VPopup",{staticClass:"online-registry",attrs:{fixed:"","auto-close":!1},model:{value:e.popupOpen,callback:function(t){e.popupOpen=t},expression:"popupOpen"}},[n("div",{staticClass:"online-registry-header"},[n("VIcon",{staticClass:"online-registry-header-title-icon",attrs:{icon:"mdi-web"}}),e._v(" "),n("div",{staticClass:"online-registry-header-title"},[e._v("\n 在线仓库\n ")]),e._v(" "),n("VIcon",{staticClass:"online-registry-header-refresh-icon",attrs:{icon:"mdi-refresh",size:22,title:"刷新"},on:{click:function(t){return e.fetchFeatures()}}}),e._v(" "),n("VIcon",{staticClass:"online-registry-header-close-icon",attrs:{icon:"close",size:18,title:"关闭"},on:{click:function(t){e.popupOpen=!1}}})],1),e._v(" "),n("div",{staticClass:"online-registry-header"},[n("div",{staticClass:"online-registry-header-search"},[n("VIcon",{attrs:{icon:"search",size:18}}),e._v(" "),n("TextBox",{attrs:{placeholder:"搜索功能"},model:{value:e.searchKeyword,callback:function(t){e.searchKeyword=t},expression:"searchKeyword"}})],1),e._v(" "),n("div",{staticClass:"online-registry-header-branch"},[e._v("\n 分支:\n "),n("VDropdown",{attrs:{items:e.registryBranches},scopedSlots:e._u([{key:"item",fn:function(t){var n=t.item;return[e._v("\n "+e._s(n)+"\n ")]}}]),model:{value:e.selectedBranch,callback:function(t){e.selectedBranch=t},expression:"selectedBranch"}})],1)]),e._v(" "),n("div",{staticClass:"online-registry-separator"}),e._v(" "),n("div",{ref:"content",staticClass:"online-registry-content"},[e.loading?n("VLoading"):e._e(),e._v(" "),e.loading||e.list.length?e._e():n("VEmpty"),e._v(" "),e._l(e.filteredList,(function(e){return n("RegistryItem",{key:e.name,attrs:{item:e}})}))],2)])};r._withStripped=!0;var a=n(7195),o=n(2462),s=n(1836),l=n(6171),c=n(2264),d=n(3923),u=n(125),p=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("MiniToast",{staticClass:"online-registry-item-wrapper",class:{virtual:e.virtual},attrs:{placement:"right",container:"body",delay:[200,0],offset:[0,12]},scopedSlots:e._u([{key:"toast",fn:function(){return[e.description?n("div",{staticClass:"online-registry-description",domProps:{innerHTML:e._s(e.description)}}):e._e()]},proxy:!0}])},[e.virtual?e._e():n("div",{staticClass:"online-registry-item"},[n("VIcon",{staticClass:"item-icon",attrs:{size:18,icon:e.icon}}),e._v(" "),n("div",{staticClass:"item-badge"},[e._v("\n "+e._s(e.badge)+"\n ")]),e._v(" "),n("div",{staticClass:"item-display-name"},[e._v("\n "+e._s(e.item.displayName)+"\n ")]),e._v(" "),n("div",{staticClass:"grow"}),e._v(" "),n("div",{staticClass:"item-action"},[e.installed?n("VButton",{staticClass:"reinstall-button",attrs:{title:"重新安装",disabled:e.installing},on:{click:function(t){e.install(e.getUrl(e.item))}}},[e._v("\n "+e._s(e.installing?"正在安装":"已安装")+"\n ")]):n("VButton",{staticClass:"install-button",attrs:{title:"安装",type:"primary",disabled:e.installing},on:{click:function(t){e.install(e.getUrl(e.item))}}},[n("VIcon",{attrs:{icon:"mdi-plus",size:15}}),e._v("\n "+e._s(e.installing?"正在安装":"安装")+"\n ")],1)],1)],1)])};p._withStripped=!0;var f=n(5143),h=n(9513),m=n(3420);const g=e=>`${o.cdnRoots[(0,l.getGeneralSettings)().cdnRoot](s.meta.compilationInfo.branch,e.owner)}${e.fullAbsolutePath}`,b=e=>{const t=`user${lodash.startCase(e.type)}s`;return e.name in l.settings[t]},v={component:{icon:"mdi-cube-scan",badge:"组件",getUrl:g,isInstalled:b},plugin:{icon:"mdi-puzzle-outline",badge:"插件",getUrl:g,isInstalled:b},style:{icon:"mdi-tune",badge:"样式",getUrl:g,isInstalled:b},pack:{icon:"mdi-package-variant-closed",badge:"合集包",getUrl:e=>e.items.map(g).join("\n"),isInstalled:e=>e.items.every(b)}};var y=Vue.extend({components:{VIcon:d.VIcon,VButton:d.VButton,MiniToast:d.MiniToast},props:{item:{type:Object,required:!0}},data(){return{typeMappings:v,...v[this.item.type],description:(0,f.getDescriptionHTML)(this.item),installing:!1,installed:!1,virtual:!1}},created(){this.checkInstalled()},mounted(){const e=this.$el;(0,m.visibleInside)(e,e.parentElement,"150% 0px",(e=>{e.forEach((e=>{this.virtual=!e.isIntersecting}))}))},methods:{checkInstalled(){this.installed=this.isInstalled(this.item)},async install(e){const t=e.split("\n").map((e=>e.trim())).filter((e=>""!==e));try{this.installing=!0,await Promise.all(t.map((async e=>(0,h.installFeature)(e)))),this.checkInstalled()}catch(e){(0,c.logError)(e)}finally{this.installing=!1}}}}),w=n(3379),x=n.n(w),k=n(3947),_=n.n(k),C={insert:"head",singleton:!1},S=(x()(_(),C),_().locals,n(1900)),E=(0,S.Z)(y,p,[],!1,null,null,null);E.options.__file="src/components/settings-panel/sub-pages/online-registry/RegistryItem.vue";var $=E.exports,A=n(950);const[I]=(0,A.registerAndGetData)("settingsPanel.registryBranches",["master","preview"]),T=(0,l.getGeneralSettings)();var O=Vue.extend({components:{VIcon:d.VIcon,VDropdown:d.VDropdown,TextBox:d.TextBox,VPopup:d.VPopup,RegistryItem:$,VLoading:d.VLoading,VEmpty:d.VEmpty},props:{open:{default:!1,type:Boolean}},data(){const e=[T.registryBranch,s.meta.compilationInfo.branch,I[0]].filter((e=>I.includes(e)&&Boolean(e)));return{searchKeyword:"",popupOpen:!1,loading:!1,list:[],filteredList:[],fuse:null,registryBranches:I,selectedBranch:e[0]}},watch:{searchKeyword:lodash.debounce((function(e){if(!e)return void(this.filteredList=this.list);const t=this.fuse.search(e);this.filteredList=t.map((e=>e.item)),this.$nextTick().then((()=>this.$refs.content.scrollTo(0,0)))}),200),selectedBranch(e){T.registryBranch=e,this.fetchFeatures()}},mounted(){this.fetchFeatures()},methods:{async fetchFeatures(){if(this.loading)return;const e=o.cdnRoots[T.cdnRoot](this.selectedBranch);try{this.loading=!0;const t=`${e}doc/features/features.json`,n=`${e}doc/features/pack/pack.json`,i=await(0,a.monkey)({url:t,responseType:"json"}),r=await(0,a.monkey)({url:n,responseType:"json"});if(!Array.isArray(i)||!Array.isArray(r))throw console.error("Fetch failed:",i,r,t,n),new Error("获取在线仓库数据失败, 请尝试在通用设置中设置其他更新源, 然后再试一次.");this.list=[...r,...i],this.fuse=new u.Z(this.list,{keys:["displayName","name","description"]}),this.searchKeyword="",this.filteredList=[...this.list]}catch(e){(0,c.logError)(e)}finally{this.loading=!1}}}}),L=n(8959),M=n.n(L),P={insert:"head",singleton:!1},z=(x()(M(),P),M().locals,(0,S.Z)(O,r,[],!1,null,null,null));z.options.__file="src/components/settings-panel/sub-pages/online-registry/OnlineRegistry.vue";var D=z.exports;let V;const B=()=>{V||(V=(0,i.mountVueComponent)(D),document.body.append(V.$el))},N=()=>{V||B(),V.popupOpen=!V.popupOpen}},2587:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});const i={video:{name:"video",displayName:"视频",color:"#2196F3",icon:"mdi-play-circle-outline",order:1},style:{name:"style",displayName:"样式",color:"#8BC34A",icon:"mdi-palette-outline",order:2},feeds:{name:"feeds",displayName:"动态",color:"#00ACC1",icon:"mdi-pinwheel-outline",order:3},live:{name:"live",displayName:"直播",color:"#26A69A",icon:"mdi-video-wireless-outline",order:4},utils:{name:"utils",displayName:"工具",color:"#A36FFD",icon:"mdi-rocket-launch-outline",order:5},touch:{name:"touch",displayName:"触摸",color:"#78909C",icon:"mdi-gesture-tap-button",order:6},experimental:{name:"experimental",displayName:"实验",color:"#FF5722",icon:"mdi-flask-outline",order:7},general:{name:"general",displayName:"通用",color:"#888",icon:"mdi-progress-wrench",order:8}}},7010:function(e,t,n){"use strict";n.r(t),n.d(t,{installComponent:function(){return o},uninstallComponent:function(){return s},toggleComponent:function(){return l}});var i=n(6171),r=n(5830),a=n(8171);const o=async e=>{const{components:t}=await Promise.resolve().then(n.bind(n,8171)),{parseExternalInput:o}=await Promise.resolve().then(n.bind(n,7731)),s=await o(e);if(null===s)throw new Error("无效的组件代码");const{settings:l}=await Promise.resolve().then(n.bind(n,6171));if((0,r.Z)().some((e=>e.name===s.name)))throw new Error(`不能覆盖内置组件'${s.name}', 请更换名称`);const c={...lodash.omit(s,"entry","widget","instantStyles","reload","unload","plugin","urlInclude","urlExclude")},d=l.userComponents[s.name];if(d){d.code=e,d.metadata=c;const t=(0,i.componentToSettings)(s);return lodash.defaultsDeep(d.settings.options,lodash.pickBy(t.options,(e=>!Array.isArray(e)))),{metadata:s,message:`已更新组件'${s.displayName}', 刷新后生效`}}return l.userComponents[s.name]={code:e,metadata:c,settings:(0,i.componentToSettings)(s)},t.push(s),a.componentsMap[s.name]=s,{metadata:s,message:`已安装组件'${s.displayName}', 刷新后生效`}},s=async e=>{const{settings:t}=await Promise.resolve().then(n.bind(n,6171)),{components:i}=await Promise.resolve().then(n.bind(n,8171)),r=Object.entries(t.userComponents).find((([t,{metadata:{displayName:n}}])=>t===e||n===e));if(!r)throw new Error(`没有找到与名称'${e}'相关联的组件`);const[o,{metadata:s,settings:l}]=r,c=i.findIndex((e=>e.name===o));if(-1!==c){const{instantStyles:e}=i[c];if(e){const{removeStyle:t}=await Promise.resolve().then(n.bind(n,6182));e.forEach((e=>t(e.name)))}l.enabled=!1,i.splice(c,1),delete a.componentsMap[o]}return delete t.userComponents[o],{metadata:s,message:`已卸载组件'${s.displayName}, 刷新后生效'`}},l=async e=>{const{settings:t}=await Promise.resolve().then(n.bind(n,6171)),i=Object.entries(t.userComponents).find((([t,{metadata:{displayName:n}}])=>t===e||n===e));if(!i)throw new Error(`没有找到与名称'${e}'相关联的组件`);const[,r]=i;r.settings.enabled=!r.settings.enabled;const{enabled:a}=r.settings,{displayName:o}=r.metadata;return`已${a?"开启":"关闭"}组件'${o}', 可能需要刷新后才能生效`}},2149:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{updateCategories:function(){return updateCategories},updateIcons:function(){return updateIcons}});var _core_ajax__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(7195),_core_download__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(4114);const updateCategories=async()=>{const[script]=dqa("script").filter((e=>e.src.includes("stardust-video")));if(!script)throw new Error("no script found");const scriptText=await(0,_core_ajax__WEBPACK_IMPORTED_MODULE_1__.getText)(script.src),match=scriptText.match(/([\w]+?=\[\{name:"首页".+?\}.+?\]),[\w]+?=\[\{name:"首頁"/);if(!match)throw new Error("no match in script");const variables=match[1].match(/(\w+?)(?==\[)/g),data=eval(`var ${match[1]}; [${variables.join(",")}]`);_core_download__WEBPACK_IMPORTED_MODULE_0__.DownloadPackage.single("raw.json",data)},updateIcons=()=>{const e=dqa(".bili-header-channel-panel svg");if(0===e.length)throw new Error("svg icons not found");const t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("aria-hidden","true"),t.setAttribute("style","position: absolute; width: 0px; height: 0px; overflow: hidden;"),t.id="be-category-icons",e.forEach((e=>{const n=document.createElementNS("http://www.w3.org/2000/svg","symbol");n.innerHTML=e.innerHTML,n.id=e.id.replace(/^channel-icon-/,"header-icon-")||`header-icon-${e.parentElement?.href.match(/\/v\/(.+)$/)?.[1]}`,"header-icon-teleplay"===n.id&&(n.id="header-icon-tv"),n.id||console.warn("cannot find id for",e),n.setAttribute("viewBox",e.getAttribute("viewBox")),t.appendChild(n)})),_core_download__WEBPACK_IMPORTED_MODULE_0__.DownloadPackage.single("icons.svg",t.outerHTML)}},6958:function(e,t,n){"use strict";n.r(t),n.d(t,{bpxPlayerPolyfill:function(){return o}});var i=n(3420),r=n(5550),a=n(1906);const o=lodash.once((async()=>{document.URL.startsWith("https://www.bilibili.com/bangumi/play/")&&((async()=>{const e=await(0,r.select)(".bpx-player-container");e?(0,i.attributes)(e,(()=>{const t=e.getAttribute("data-screen");document.body.classList.toggle("player-mode-webfullscreen","full"===t||"web"===t),"wide"===t&&document.body.classList.add("player-mode-widescreen")})):console.warn("[bpx player polyfill] bpxContainer not found")})(),(async()=>{const e=await(0,r.select)((()=>unsafeWindow.$pbp));if(!e)return void console.warn("[bpx player polyfill] pbp not found");const t={aid:e.options.aid.toString(),cid:e.options.cid.toString(),bvid:e.options.bvid};Object.values(t).some((e=>""===e||parseInt(e)<=0))&&console.warn("[bpx player polyfill] invalid pbp data"),Object.assign(unsafeWindow,t)})(),(async()=>{const e=await(0,r.select)(".bpx-player-video-perch");e&&(0,a.preventEvent)(e,"dblclick")})())}))},7412:function(e,t,n){"use strict";n.r(t),n.d(t,{PlayerAgent:function(){return u},VideoPlayerAgent:function(){return p},BwpPlayerAgent:function(){return f},BangumiPlayerAgent:function(){return h},playerAgent:function(){return m}});var i=n(5550),r=n(1906),a=n(7735),o=n(6958);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const l=e=>{const t=()=>(0,i.select)(e);return t.selector=e,t.sync=()=>dq(e),t},c=e=>{const t=e=>"string"!=typeof e?lodash.mapValues(e,t):l(e);return lodash.mapValues(e,t)},d=e=>{const t=e.sync();return t?.click(),t};class u{constructor(){s(this,"type",void 0),s(this,"query",void 0)}provideCustomQuery(e){const t=c(e[this.type]??e.video);return{...this,custom:t}}widescreen(){return d(this.query.control.buttons.widescreen)}webFullscreen(){return d(this.query.control.buttons.webFullscreen)}fullscreen(){return d(this.query.control.buttons.fullscreen)}togglePlay(){return d(this.query.control.buttons.start)}togglePip(){return d(this.query.control.buttons.pip)}toggleMute(){return d(this.query.control.buttons.volume)}toggleDanmaku(){const e=this.query.danmakuSwitch.sync();return e?(e.checked=!e.checked,(0,r.raiseEvent)(e,"change"),e.checked):null}
|
||
// eslint-disable-next-line class-methods-use-this
|
||
getPlayerConfig(e){return lodash.get(JSON.parse(localStorage.getItem("bilibili_player_settings")),e,!1)}isAutoPlay(){return this.getPlayerConfig("video_status.autoplay")}}class p extends u{constructor(...e){super(...e),s(this,"type","video"),s(this,"query",c({playerWrap:".player-wrap",bilibiliPlayer:".bilibili-player",playerArea:".bilibili-player-area",video:{element:".bilibili-player-video video",wrap:".bilibili-player-video-wrap",top:".bilibili-player-video-top",state:".bilibili-player-video-state",panel:".bilibili-player-video-panel",popup:".bilibili-player-video-popup",subtitle:".bilibili-player-video-subtitle",basDanmaku:".bilibili-player-video-bas-danmaku",advDanmaku:".bilibili-player-video-adv-danmaku",danmaku:".bilibili-player-video-danmaku",container:".bilibili-player-video"},control:{element:".bilibili-player-control",wrap:".bilibili-player-control-wrap",mask:".bilibili-player-control-mask",top:".bilibili-player-control-top",progress:".bilibili-player-video-progress",bottom:".bilibili-player-control-bottom",bottomLeft:".bilibili-player-control-bottom-left",bottomCenter:".bilibili-player-control-bottom-center",bottomRight:".bilibili-player-control-bottom-right",buttons:{start:".bilibili-player-video-btn-start",next:".bilibili-player-video-btn-next",time:".bilibili-player-video-time",quality:".bilibili-player-btn-quality",pageList:".bilibili-player-video-btn-pagelist",speed:".bilibili-player-video-btn-speed",subtitle:".bilibili-player-video-btn-subtitle",volume:".bilibili-player-video-btn-volume .bilibili-player-iconfont-volume",settings:".bilibili-player-video-btn-setting",pip:".bilibili-player-video-btn-pip",widescreen:".bilibili-player-video-btn-widescreen",webFullscreen:".bilibili-player-video-web-fullscreen",fullscreen:".bilibili-player-video-btn-fullscreen"},settings:{wrap:".bilibili-player-video-btn-setting-wrap",lightOff:".bilibili-player-video-btn-setting-right-others-content-lightoff .bui-checkbox-input"}},toastWrap:".bilibili-player-video-toast-wrp",danmakuTipLayer:".bilibili-player-dm-tip-wrap",danmakuSwitch:".bilibili-player-video-danmaku-switch input"}))}
|
||
// eslint-disable-next-line class-methods-use-this
|
||
get nativeApi(){return unsafeWindow.player}isMute(){return this.nativeApi?this.nativeApi.isMute():null}changeVolume(e){if(!this.nativeApi)return null;const t=this.nativeApi.volume();return this.nativeApi.volume(t+e/100),Math.round(100*this.nativeApi.volume())}seek(e){return this.nativeApi?(this.nativeApi.play(),setTimeout((()=>{this.nativeApi.seek(e);const t=dq(".bilibili-player-video-toast-bottom .bilibili-player-video-toast-item:first-child .bilibili-player-video-toast-item-text span:nth-child(2)");t&&(t.textContent=" 00:00")})),this.nativeApi.getCurrentTime()):null}changeTime(e){if(!this.nativeApi)return null;const t=this.query.video.element.sync();return t?(this.nativeApi.seek(t.currentTime+e,t.paused),this.nativeApi.getCurrentTime()):null}async toggleLight(e){const t=await this.query.control.settings.lightOff();t.checked=!e,(0,r.raiseEvent)(t,"change")}}class f extends p{constructor(){super(),s(this,"type","bwp"),this.query.video.element=l(".bilibili-player-video bwp-video")}}class h extends u{constructor(){super(),s(this,"type","bangumi"),s(this,"query",c({playerWrap:".player-module",bilibiliPlayer:".bpx-player-container",playerArea:".bpx-player-primary-area",video:{element:".bpx-player-video-wrap video",wrap:".bpx-player-video-area",top:".bpx-player-top-wrap",state:".bpx-player-state-wrap",panel:".bpx-player-ending-panel",popup:".bpx-player-dialog-wrap",subtitle:".bpx-player-subtitle-wrap",basDanmaku:".bpx-player-bas-dm-wrap",advDanmaku:".bpx-player-adv-dm-wrap",danmaku:".bpx-player-row-dm-wrap",container:".bpx-player-video-wrap"},control:{element:".squirtle-controller",wrap:".bpx-player-control-wrap",mask:".bpx-player-control-mask",top:".bpx-player-control-top",progress:".squirtle-progress-wrap",bottom:".squirtle-controller-wrap",bottomLeft:".squirtle-controller-wrap-left",bottomCenter:".squirtle-controller-wrap-center",bottomRight:".squirtle-controller-wrap-right",buttons:{start:".squirtle-video-start",next:".squirtle-video-next",time:".squirtle-time-wrap",quality:".squirtle-video-quality",pageList:".squirtle-video-pagelist",speed:".squirtle-video-speed",subtitle:".squirtle-video-subtitle",volume:".squirtle-video-volume .squirtle-volume-icon",settings:".squirtle-video-setting",pip:".squirtle-video-pip",widescreen:".squirtle-video-widescreen",webFullscreen:".squirtle-video-pagefullscreen",fullscreen:".squirtle-video-fullscreen"},settings:{wrap:".squirtle-setting-wrap",lightOff:".squirtle-lightoff"}},toastWrap:".bpx-player-tooltip-area",danmakuTipLayer:".bpx-player-dialog-wrap",danmakuSwitch:".bpx-player-dm-switch input"})),(0,o.bpxPlayerPolyfill)()}isMute(){return this.query.control.buttons.volume.sync()?.classList.contains("squirtle-volume-mute-state")??!1}changeVolume(e){const t=this.query.video.element.sync();return t?(t.volume=lodash.clamp(t.volume+e/100,0,1),Math.round(100*t.volume)):null}seek(e){const t=this.query.video.element.sync();return t?(t.play(),setTimeout((()=>{t.currentTime=lodash.clamp(e,0,t.duration);const n=dq(".bpx-player-toast-row .bpx-player-toast-item .bpx-player-toast-text");n?.textContent?.startsWith("已为您定位至")&&(n.textContent="已为您定位至00:00")})),t.currentTime):null}changeTime(e){const t=this.query.video.element.sync();return t?(t.currentTime=lodash.clamp(t.currentTime+e,0,t.duration),t.currentTime):null}toggleLight(e){const t=this.query.control.settings.lightOff.sync(),n=!t.classList.contains("active")&&!e,i=t.classList.contains("active")&&e;(n||i)&&t.dispatchEvent(new MouseEvent("click"))}}const m=(0,a.matchCurrentPage)(a.bangumiUrls)?new h:(0,r.isBwpVideo)()?new f:new p},7195:function(e,t,n){"use strict";n.r(t),n.d(t,{getBlob:function(){return s},getBlobWithCredentials:function(){return l},getText:function(){return d},getTextWithCredentials:function(){return u},getJson:function(){return h},getJsonWithCredentials:function(){return m},postText:function(){return g},postTextWithCredentials:function(){return b},postJson:function(){return v},postJsonWithCredentials:function(){return y},monkey:function(){return w},responsiveGetPages:function(){return x},getPages:function(){return k},bilibiliApi:function(){return _}});var i=n(2264);const r=e=>{const t=new XMLHttpRequest,{isText:n=!0,body:i}=e(t);return new Promise(((e,r)=>{t.addEventListener("load",(()=>e(n?t.responseText:t.response))),t.addEventListener("error",(()=>r(t.status))),t.send(i)}))},a=e=>t=>(t.withCredentials=!0,e(t)),o=e=>t=>(t.responseType="blob",t.open("GET",e),{isText:!1}),s=e=>r(o(e)),l=e=>r(a(o(e))),c=e=>t=>(t.responseType="text",t.open("GET",e),{isText:!0}),d=e=>r(c(e)),u=e=>r(a(c(e))),p=e=>t=>(t.responseType="json",t.open("GET",e),{isText:!1}),f=e=>"string"==typeof e?JSON.parse(e):e,h=async e=>{const t=await r(p(e));return f(t)},m=async e=>{const t=await r(a(p(e)));return f(t)},g=(e,t)=>r((n=>(n.open("POST",e),n.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),{isText:!1,body:t}))),b=(e,t)=>r((n=>(n.open("POST",e),n.withCredentials=!0,n.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),{isText:!1,body:t}))),v=(e,t)=>r((n=>(n.open("POST",e),n.setRequestHeader("Content-Type","application/json"),{isText:!1,body:JSON.stringify(t)}))),y=(e,t)=>r((n=>(n.open("POST",e),n.withCredentials=!0,n.setRequestHeader("Content-Type","application/json"),{isText:!1,body:JSON.stringify(t)}))),w=e=>new Promise(((t,n)=>{const i={...e,onload:e=>t(e.response),onerror:e=>{const t={...JSON.parse(JSON.stringify(e)),toString(){return JSON.stringify(this)}};n(t)}};"method"in i||(i.method="GET"),GM_xmlhttpRequest(i)})),x=e=>{let t;const n=new Promise((n=>{t=new Promise((t=>{(async()=>{const{api:i,getList:r,getTotal:a}=e;let o=1,s=1/0;const l=[];for(;l.length<s;){const e=await i(o);0!==e.code&&console.warn(`api failed in ajax.getPages. message = ${e.message}, page = ${o}, total = ${s}, api = `,i);const n=r(e);l.push(...n),1===o&&t(l),o++,s===1/0&&(s=a(e))}n(l)})()}))}));return[t,n]},k=async e=>{const[,t]=x(e);return await t},_=async(e,t)=>{const n=await e;if(0!==n.code){const e=new Error(`${t}: code = ${n.code}, message = ${n.message||n.msg}`);throw(0,i.logError)(e),e}return n.data||{}}},2462:function(e,t,n){"use strict";let i;n.r(t),n.d(t,{CdnTypes:function(){return i},cdnRoots:function(){return a}}),function(e){e.jsDelivr="jsDelivr",e.GitHub="GitHub"}(i||(i={}));const r="the1812",a={jsDelivr:(e,t)=>`https://cdn.jsdelivr.net/gh/${t||r}/Bilibili-Evolved@${e}/`,GitHub:(e,t)=>`https://raw.githubusercontent.com/${t||r}/Bilibili-Evolved/${e}/`}},9388:function(e,t,n){"use strict";n.r(t),n.d(t,{coreApis:function(){return On},externalApis:function(){return Ln}});var i={};n.r(i),n.d(i,{Reorder:function(){return N},ReorderDecreaseClassName:function(){return P},ReorderEnabledClassName:function(){return D},ReorderIncreaseClassName:function(){return z},ReorderOrientations:function(){return B},ReorderingClassName:function(){return V}});var r={};n.r(r),n.d(r,{getUserInfo:function(){return Z}});var a={};n.r(a),n.d(a,{CompareResult:function(){return W},Version:function(){return G}});var o={};n.r(o),n.d(o,{loadDanmakuSettingsPanel:function(){return ne},loadLazyPanel:function(){return ee},loadLazyPlayerSettingsPanel:function(){return te},loadSubtitleSettingsPanel:function(){return ie}});var s={};n.r(s),n.d(s,{styledComponentEntry:function(){return pe},toggleStyle:function(){return fe}});var l={};n.r(l),n.d(l,{getWatchlaterList:function(){return ge},toggleWatchlater:function(){return be},watchlaterList:function(){return me}});var c={};n.r(c),n.d(c,{addMenuItem:function(){return De},applyContentFilter:function(){return Le},bangumiTypeList:function(){return we},feedsCardTypes:function(){return ye},feedsCardsManager:function(){return $e},forEachFeedsCard:function(){return Ae},getFeeds:function(){return ze},getVideoFeeds:function(){return Pe},groupVideoFeeds:function(){return Ie},isPreOrderedVideo:function(){return Te},navbarFeedsTypeList:function(){return xe},withContentFilter:function(){return Me}});var d={};n.r(d),n.d(d,{disableProfilePopup:function(){return lt}});var u={};n.r(u),n.d(u,{compareID:function(){return ut},getLatestID:function(){return dt},getNotifyCount:function(){return mt},isNewID:function(){return ft},setLatestID:function(){return pt},updateInterval:function(){return ct},updateLatestID:function(){return ht}});var p={};n.r(p),n.d(p,{convertHexColorForDialogue:function(){return bt},convertHexColorForStyle:function(){return vt},convertTimeByDuration:function(){return wt},convertTimeByEndTime:function(){return xt},normalizeContent:function(){return kt}});var f={};n.r(f),n.d(f,{lightOff:function(){return Et},lightOn:function(){return St}});var h={};n.r(h),n.d(h,{forEachVideoDanmaku:function(){return It}});var m={};n.r(m),n.d(m,{BangumiInfo:function(){return Lt},VideoInfo:function(){return Ot}});var g={};n.r(g),n.d(g,{allQualities:function(){return zt},loginRequiredQualities:function(){return Mt},vipRequiredQualities:function(){return Pt}});var b={};n.r(b),n.d(b,{addMenuItem:function(){return Vt},forEachContextMenu:function(){return Dt}});var v={};n.r(v),n.d(v,{addControlBarButton:function(){return qt}});var y={};n.r(y),n.d(y,{waitForControlBar:function(){return Ft}});var w={};n.r(w),n.d(w,{LiveSocket:function(){return Xt}});var x={};n.r(x),n.d(x,{addMenuItem:function(){return on},commentAreas:function(){return Jt},forEachCommentArea:function(){return rn},forEachCommentItem:function(){return an}});var k={};n.r(k),n.d(k,{addCategoryIcons:function(){return gn},categories:function(){return fn},categoryCodes:function(){return hn},categoryLinks:function(){return mn},rawData:function(){return ln}});var _={};n.r(_),n.d(_,{createSwitchOptions:function(){return Sn}});var C=n(7195),S=n(2462),E=n(4114),$=n(7731),A=n(7590),I=n(7177),T=n(4345),O=n(1836),L=n(3420);function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const P="reorder-decrease",z="reorder-increase",D="reorder-enabled",V="reordering",B={horizontal:{name:"horizontal",getMoveTransform:e=>`translateX(${e}px)`,setOtherTransform:lodash.throttle(((e,t,n)=>{if(!t.classList.contains(V))return;const i=e.find((e=>e.element===t));if(!i)return;const r=i.rect,a=e.filter((e=>e.rect.left<r.left)).sort(((e,t)=>t.rect.left-e.rect.left)),o=e.filter((e=>e.rect.left>r.left)).sort(((e,t)=>e.rect.left-t.rect.left));if(n>=0){const[e]=o;a.forEach((e=>{e.element.style.transform="",e.element.classList.remove(z)})),o.forEach((t=>{r.left+n+r.width>=t.rect.left+t.rect.width/2?(t.element.classList.add(P),t.element.style.transform=`translateX(-${e.rect.left-r.left}px)`):(t.element.classList.remove(P),t.element.style.transform="")}))}else{const[e]=a;o.forEach((e=>{e.element.style.transform="",e.element.classList.remove(P)})),a.forEach((t=>{r.left+n<=t.rect.left+t.rect.width/2?(t.element.classList.add(z),t.element.style.transform=`translateX(${r.left+r.width-e.rect.left-e.rect.width}px)`):(t.element.classList.remove(z),t.element.style.transform="")}))}}),50)},vertical:{name:"vertical",getMoveTransform:(e,t)=>`translateY(${t}px)`,setOtherTransform:lodash.throttle(((e,t,n,i)=>{if(!t.classList.contains(V))return;const r=e.find((e=>e.element===t));if(!r)return;const a=r.rect,o=e.filter((e=>e.rect.top<a.top)).sort(((e,t)=>t.rect.top-e.rect.top)),s=e.filter((e=>e.rect.top>a.top)).sort(((e,t)=>e.rect.top-t.rect.top));if(i>=0){const[e]=s;o.forEach((e=>{e.element.style.transform="",e.element.classList.remove(z)})),s.forEach((t=>{a.top+i+a.height>=t.rect.top+t.rect.height/2?(t.element.classList.add(P),t.element.style.transform=`translateY(-${e.rect.top-a.top}px)`):(t.element.classList.remove(P),t.element.style.transform="")}))}else{const[e]=o;s.forEach((e=>{e.element.style.transform="",e.element.classList.remove(P)})),o.forEach((t=>{a.top+i<=t.rect.top+t.rect.height/2?(t.element.classList.add(z),t.element.style.transform=`translateY(${a.top+a.height-e.rect.top-e.rect.height}px)`):(t.element.classList.remove(z),t.element.style.transform="")}))}}),50)}};class N extends EventTarget{constructor(e){super(),this.container=e,M(this,"orientation",B.horizontal),M(this,"enabled",!1),M(this,"children",void 0),M(this,"snapshots",new Map),M(this,"attachedEvents",[]),this.children=[...this.container.children],this.children.every((e=>""===e.style.order))&&this.children.forEach(((e,t)=>{e.style.order=(t+1).toString()}))}addEventListener(e,t,n){super.addEventListener(e,t,n)}removeEventListener(e,t,n){super.addEventListener(e,t,n)}getOrderMap(){return new Map(this.children.map((e=>[e,parseInt(e.style.order)])))}toggle(){this.enabled?this.disable():this.enable()}generateSnapshots(){this.children.forEach((e=>{this.snapshots.set(e,{element:e,rect:e.getBoundingClientRect()})}))}enable(){this.children.forEach((e=>{let t=0,n=0,i=!1;e.classList.add(D);(()=>{const r=(r,a)=>{e.classList.add(V),e.style.transition="none",e.style.userSelect="none",this.generateSnapshots(),this.children.filter((t=>t!==e)).forEach((e=>{e.style.transition="transform .2s ease-out"})),t=r,n=a,i=!0},a=e=>{r(e.screenX,e.screenY)};e.addEventListener("mousedown",a),this.attachedEvents.push((()=>e.removeEventListener("mousedown",a)));const o=e=>{if(1!==e.touches.length)return;const[t]=e.touches;r(t.screenX,t.screenY)};e.addEventListener("touchstart",o),this.attachedEvents.push((()=>e.removeEventListener("touchstart",o)))})(),(()=>{const r=(i,r)=>{const a=i-t,o=r-n;e.style.transform=this.orientation.getMoveTransform(a,o),this.orientation.setOtherTransform([...this.snapshots.values()],e,a,o)},a=e=>{i&&(r(e.screenX,e.screenY),e.cancelable&&e.preventDefault())};document.addEventListener("mousemove",a),this.attachedEvents.push((()=>document.removeEventListener("mousemove",a)));const o=e=>{if(!i)return;if(1!==e.touches.length)return;const[t]=e.touches;r(t.screenX,t.screenY),e.cancelable&&e.preventDefault()};e.addEventListener("touchmove",o,{passive:!1}),this.attachedEvents.push((()=>e.removeEventListener("touchmove",o)))})(),(()=>{const t=()=>{if(!i)return;e.classList.remove(V),i=!1;let t=0;const n=this.children.filter((t=>t!==e)),r=[];n.forEach((e=>{e.style.transform="",e.style.transition="",e.classList.contains(z)?(t--,e.style.order=(parseInt(e.style.order)+1).toString(),e.classList.remove(z),r.push(this.snapshots.get(e))):e.classList.contains(P)&&(t++,e.style.order=(parseInt(e.style.order)-1).toString(),e.classList.remove(P),r.push(this.snapshots.get(e)))})),e.style.userSelect="",e.style.order=(parseInt(e.style.order)+t).toString(),e.style.transform="",e.style.transition="",this.dispatchEvent(new CustomEvent("reorder",{detail:this.children.map((e=>({element:e,order:parseInt(e.style.order)})))}))};document.addEventListener("mouseup",t),this.attachedEvents.push((()=>document.removeEventListener("mouseup",t))),e.addEventListener("touchend",t),this.attachedEvents.push((()=>e.removeEventListener("touchend",t)))})()})),this.enabled=!0}disable(){this.attachedEvents.forEach((e=>e())),this.children.forEach((e=>e.classList.remove(D))),this.enabled=!1}}var j=n(391),q=n(5550),F=n(6182),R=n(6314),U=n(6171);const H={isLogin:!1},Z=lodash.once((async()=>{const{getUID:e}=await Promise.resolve().then(n.bind(n,1906));if(!e())return H;const{getJsonWithCredentials:t}=await Promise.resolve().then(n.bind(n,7195)),i=await t("https://api.bilibili.com/x/web-interface/nav");return 0!==i.code&&-101!==i.code?(console.warn("[store.fetchUserInfo] API Error",i.message),H):i.data}));let W;!function(e){e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e[e.Incomparable=NaN]="Incomparable"}(W||(W={}));class G{constructor(e){var t,n,i;if(this.versionString=e,i=void 0,(n="parts")in(t=this)?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,!/^[\d\.]+$/.test(e))throw new Error("Invalid version string");this.parts=e.split(".").map((e=>parseInt(e)))}compareTo(e){for(let t=0;t<this.parts.length;++t){if(e.parts.length===t)return W.Greater;if(this.parts[t]!==e.parts[t])return this.parts[t]>e.parts[t]?W.Greater:W.Less}return this.parts.length!==e.parts.length?W.Less:W.Equal}greaterThan(e){return this.compareTo(e)===W.Greater}lessThan(e){return this.compareTo(e)===W.Less}equals(e){return this.compareTo(e)===W.Equal}}var X=n(1906),J=n(2121),K=n(3708),Y=n(53),Q=n(5106);const ee=async(e,t={})=>{const{style:n,enterDelay:i=750,leaveDelay:r=1e3}=t,a=await(0,q.select)(e);if(!a)throw new Error(`lazy panel failed! selector = ${e}`);let o;return void 0!==n&&(o=document.createElement("style"),o.textContent=n,document.body.insertAdjacentElement("beforeend",o)),(0,X.raiseEvent)(a,"mouseover"),await(0,X.delay)(i),(0,X.raiseEvent)(a,"mouseout"),setTimeout((()=>o?.remove()),r),a},te=async(e,t,n={})=>{await ee(e,{style:`${t} { display: none !important; }`,...n});const i=(0,X.dq)(t);if(!i)throw new Error(`lazy player settings panel failed! panelSelector = ${t}`);return i},ne=()=>te(".bilibili-player-video-danmaku-setting",".bilibili-player-video-danmaku-setting-wrap"),ie=()=>te(".bilibili-player-video-btn-subtitle",".bilibili-player-video-subtitle-setting-wrap",{style:".bilibili-player-video-subtitle-setting-wrap, .bilibili-player-video-subtitle { display: none }"});var re=n(2264),ae=n(5945),oe=n(7735),se=n(5683),le=n(8208),ce=n(3923),de=n(8171),ue=n(7010);const pe=(e,t)=>async i=>{const{default:r}=await e(),{addStyle:a}=await Promise.resolve().then(n.bind(n,6182));return a(r,i.metadata.name),t(i)},fe=(e,t,i=X.none)=>{let r=null;const a=async()=>{if(r)return;const{default:i}=await t(),{addStyle:a}=await Promise.resolve().then(n.bind(n,6182));r=a(i,e)};return{name:e,entry:e=>a().then((()=>i(e))),reload:a,unload:()=>{r?.remove(),r=null}}};var he=n(5143);const me=[];async function ge(e=!1){const{getJsonWithCredentials:t}=await Promise.resolve().then(n.bind(n,7195)),i=await t("https://api.bilibili.com/x/v2/history/toview/web");if(0!==i.code)throw new Error(`获取稍后再看列表失败: ${i.message}`);if(!i.data.list)return lodash.pullAll(me,me),[];const r=i.data.list,a=r.filter((e=>!me.find((t=>t===e.aid)))),o=me.filter((e=>!r.find((t=>t.aid===e))));return lodash.pullAll(me,o),me.push(...a.map((e=>e.aid))),e?r:r.map((e=>e.aid))}const be=async(e,t)=>{const i=parseInt(e.toString());if(Number.isNaN(i))return;void 0===t&&(t=!me.includes(i));const r=t?"https://api.bilibili.com/x/v2/history/toview/add":"https://api.bilibili.com/x/v2/history/toview/del",{getCsrf:a}=await Promise.resolve().then(n.bind(n,1906)),o=a(),{postTextWithCredentials:s}=await Promise.resolve().then(n.bind(n,7195)),l=await s(r,`aid=${e}&csrf=${o}`),c=JSON.parse(l);if(0!==c.code)throw new Error(`稍后再看操作失败: ${c.message}`);t?me.push(i):lodash.pull(me,i)};requestIdleCallback((async()=>{const{getUID:e}=await Promise.resolve().then(n.bind(n,1906));e()&&ge()}));var ve=n(950);const ye={repost:{id:1,name:"转发"},textWithImages:{id:2,name:"图文"},text:{id:4,name:"文字"},video:{id:8,name:"视频"},miniVideo:{id:16,name:"小视频"},column:{id:64,name:"专栏"},audio:{id:256,name:"音频"},bangumi:{id:512,name:"番剧"},share:{id:2048,name:"分享"},manga:{id:2049,name:"漫画"},film:{id:4098,name:"电影"},tv:{id:4099,name:"TV剧"},chinese:{id:4100,name:"国创"},documentary:{id:4101,name:"纪录片"},mediaList:{id:4300,name:"收藏夹"},liveRecord:{id:2047,name:"开播记录"}},we="512,4097,4098,4099,4100,4101",xe="8,64,512,4097,4098,4099,4100,4101";function ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const _e=e=>e.querySelector(".repost")?ye.repost:e.querySelector(".imagesbox")?ye.textWithImages:e.querySelector(".video-container")?ye.video:e.querySelector(".bangumi-container")?ye.bangumi:e.querySelector(".article-container")?ye.column:e.querySelector(".music-container")?ye.audio:e.querySelector(".h5share-container")?ye.share:e.querySelector(".vc-ctnr")?ye.miniVideo:e.querySelector(".live-container")?ye.liveRecord:ye.text,Ce=[],Se="feeds.manager.listAdaptors";(0,ve.addData)(Se,(e=>{e.push({name:"live",match:[...oe.liveUrls],watchCardsList:async e=>{const t=await(0,q.select)(".room-feed");if(!t)return!1;console.log("live watch");let n=null;return(0,L.childList)(t,(async()=>{if(dq(".room-feed-content")){const t=await(0,q.select)(".room-feed-content .content");n?.disconnect(),[n]=e.updateCards(t)}else n?.disconnect(),n=null,await Promise.all(e.cards.map((e=>e.element)).map((t=>e.removeCard(t))))})),!0}},{name:"space",match:["https://space.bilibili.com/"],watchCardsList:async e=>{const t=await(0,q.select)(".s-space");if(!t)return!1;const n={},i=()=>n.listElement&&n.observer?(console.log("space feeds stop"),n.observer?.then((e=>e.disconnect())),delete n.observer,delete n.listElement,Promise.all(e.cards.map((e=>e.element)).map((t=>e.removeCard(t))))):[],r=()=>{if(n.observer)return n.observer;const t=(0,q.select)(".feed-card .content");return n.observer=(async()=>{const a=await t;a!==await n.listElement&&(n.listElement&&await i(),n.listElement=t,r()),console.log("space feeds start");const[o]=e.updateCards(a);return o})(),n.observer};return(0,L.childListSubtree)(t,(async()=>{dq(".feed-card .content")?r():i()})),!0}},{name:"topic",match:["https://t.bilibili.com/topic"],watchCardsList:async e=>{const t=await(0,q.select)(".page-container");if(!t)return!1;let n=null;return(0,L.childList)(t,(async()=>{if(dq(".page-container .feed")){const t=await(0,q.select)(".feed .feed-topic");n?.disconnect(),[n]=e.updateCards(t)}else n?.disconnect(),n=null,await Promise.all(e.cards.map((e=>e.element)).map((t=>e.removeCard(t))))})),!0}},{name:"default",match:["https://t.bilibili.com/"],watchCardsList:async e=>{const t=await(0,q.select)(".feed-card .content, .detail-content .detail-card");return!!t&&(e.updateCards(t),!0)}})}));class Ee extends EventTarget{constructor(...e){super(...e),ke(this,"watching",!1),ke(this,"cards",[])}addEventListener(e,t,n){super.addEventListener(e,t,n)}removeEventListener(e,t,n){super.removeEventListener(e,t,n)}async addCard(e){if(e&&e instanceof HTMLElement&&e.classList.contains("card"))if(null!==e.querySelector(".skeleton")){const[t]=(0,L.childList)(e,(()=>{null===e.querySelector(".skeleton")&&(t.disconnect(),this.addCard(e))}))}else{if(null===e.parentNode)return;const t=await Ee.parseCard(e);if(!t.presented)return;if(this.cards.find((e=>e.id===t.id)))return;this.cards.push(t),this.cards.sort(((e,t)=>e.id===t.id?0:e.id>t.id?-1:1));const n=new CustomEvent("addCard",{detail:t});this.dispatchEvent(n),Ce.forEach((e=>e.added(t)))}}async removeCard(e){if(e&&e instanceof HTMLElement&&e.classList.contains("card")){const t=e.getAttribute("data-did"),n=this.cards.findIndex((e=>e.id===t));if(-1===n)return;const i=this.cards[n];this.cards.splice(n,1);const r=new CustomEvent("removeCard",{detail:i});this.dispatchEvent(r),Ce.forEach((e=>e.removed(i)))}}static async parseCard(e){
|
||
// eslint-disable-next-line no-underscore-dangle
|
||
const t=e=>e.__vue__||e.parentElement.__vue__,n=async t=>{const n=await(0,q.sq)((()=>e.querySelector(t)),(t=>null!==t||null===e.parentNode),{queryInterval:100});if(null===e.parentNode)return"";if(null===n)return console.warn(e,t,e.parentNode),"";return n.innerText.trim()},i=e=>{if(void 0===e.card.origin)return{originalText:"",originalDescription:"",originalTitle:""};const t=JSON.parse(e.card.origin);return{originalText:e.originCardData.pureText,originalDescription:lodash.get(t,"item.description",lodash.get(t,"desc","")),originalTitle:t.title}},r=async e=>{const t=parseInt(await n(e));return isNaN(t)?0:t},a={id:e.getAttribute("data-did"),username:await n(".main-content .user-name"),text:"",reposts:await r(".button-bar .single-button:nth-child(1) .text-offset"),comments:await r(".button-bar .single-button:nth-child(2) .text-offset"),likes:await r(".button-bar .single-button:nth-child(3) .text-offset"),element:e,type:_e(e),get presented(){return null!==e.parentNode},async getText(){const n=await(async n=>{if(n===ye.bangumi)return"";const r=await(0,q.sq)((()=>e),(n=>Boolean(t(n)||!e.parentNode)),{queryInterval:100});if(null===e.parentNode)return"";if(null===r)return console.warn(r,e,t(r),e.parentNode),"";const a=t(r);if(n===ye.repost){const e=a.card.item.content,t=i(a);return[e,...Object.values(t).filter((e=>""!==e))].filter((e=>Boolean(e))).join("\n")}return[a.originCardData.pureText,a.originCardData.title].filter((e=>Boolean(e))).join("\n")})(this.type);return this.text=n,n}};if(await a.getText(),e.setAttribute("data-type",a.type.id.toString()),(e=>e.type===ye.repost)(a)){const n=a.username,r=t(a.element),o=lodash.get(r,"card.origin_user.info.uname","");n===o&&e.setAttribute("data-self-repost","true"),a.repostUsername=o,a.repostText=i(r).originalText}return a}updateCards(e){const t=".card[data-did]",n=e=>{if(e instanceof HTMLElement){if(e.matches(t))return e;const n=e.querySelector(t);if(n)return n}};return[...e.querySelectorAll(t)].forEach((e=>this.addCard(e))),(0,L.childList)(e,(e=>{e.forEach((e=>{e.addedNodes.forEach((e=>this.addCard(n(e)))),e.removedNodes.forEach((e=>this.removeCard(n(e))))}))}))}async startWatching(){if(this.watching)return!0;this.watching=!0;const[e]=(0,ve.registerAndGetData)(Se,[]),t=e.find((e=>e.match.some((e=>(0,X.matchUrlPattern)(e)))));return t?t.watchCardsList(this):(console.warn("[FeedsCardsManager] No adaptor found",e),!1)}}const $e=new Ee,Ae=e=>{(async()=>{if(!await $e.startWatching())return void console.error("feedsCardsManager.startWatching() failed");const{added:t}=e;t&&$e.cards.forEach((e=>t(e))),Ce.push({added:none,removed:none,...e})})()},Ie=e=>{const t=lodash.groupBy(e,(e=>e.aid)),n=e=>({id:e.upID,name:e.upName,faceUrl:e.upFaceUrl});return Object.values(t).map((e=>{if(1===e.length)return e[0];const[t,...i]=e;return t.cooperation=[n(t),...i.map(n)],console.log([...t.cooperation]),t})).sort((0,ae.descendingStringSort)((e=>e.id)))},Te=e=>1===lodash.get(e,"extra.is_reserve_recall",0),Oe="feeds.contentFilters";(0,ve.registerData)(Oe,[]);const Le=e=>{const[t]=(0,ve.getData)(Oe);return t.reduce(((e,t)=>t.filter(e)),e)},Me=e=>(...t)=>e(...t).then((e=>Le(e))),Pe=Me((async(e="video")=>{if(!(0,X.getUID)())return[];const t=await(0,C.getJsonWithCredentials)(`https://api.vc.bilibili.com/dynamic_svr/v1/dynamic_svr/dynamic_new?uid=${(0,X.getUID)()}&type_list=${"video"===e?8:512}`);if(0!==t.code)throw new Error(t.message);const n=t.data.cards,i=n.filter((e=>!Te(JSON.parse(e.card))));return"video"===e?Ie(n.map((e=>{const t=JSON.parse(e.card),n=lodash.get(e,"display.topic_info.topic_details",[]).map((e=>({id:e.topic_id,name:e.topic_name})));return{id:e.desc.dynamic_id_str,aid:t.aid,bvid:e.desc.bvid||t.bvid,title:t.title,upID:e.desc.user_profile.info.uid,upName:e.desc.user_profile.info.uname,upFaceUrl:e.desc.user_profile.info.face,coverUrl:t.pic,description:t.desc,timestamp:e.timestamp,time:new Date(1e3*e.timestamp),topics:n,dynamic:t.dynamic,like:(0,K.formatCount)(e.desc.like),duration:t.duration,durationText:(0,K.formatDuration)(t.duration,0),playCount:(0,K.formatCount)(t.stat.view),danmakuCount:(0,K.formatCount)(t.stat.danmaku),watchlater:me.includes(t.aid)}}))):"bangumi"===e?i.map((e=>{const t=JSON.parse(e.card);return{id:e.desc.dynamic_id_str,aid:t.aid,bvid:e.desc.bvid||t.bvid,epID:t.episode_id,title:t.new_desc,upName:t.apiSeasonInfo.title,upFaceUrl:t.apiSeasonInfo.cover,coverUrl:t.cover,description:"",timestamp:e.timestamp,time:new Date(1e3*e.timestamp),like:(0,K.formatCount)(e.desc.like),durationText:"",playCount:(0,K.formatCount)(t.play_count),danmakuCount:(0,K.formatCount)(t.bullet_count),watchlater:!1}})):[]})),ze=async(e,t)=>{if("string"==typeof e)return(0,C.getJsonWithCredentials)(`https://api.vc.bilibili.com/dynamic_svr/v1/dynamic_svr/dynamic_new?uid=${(0,X.getUID)()}&type_list=${e}`);const n=e.id.toString();let i=`https://api.vc.bilibili.com/dynamic_svr/v1/dynamic_svr/dynamic_new?uid=${(0,X.getUID)()}&type_list=${n}`;return t&&(i=`https://api.vc.bilibili.com/dynamic_svr/v1/dynamic_svr/dynamic_history?uid=${(0,X.getUID)()}&offset_dynamic_id=${t}&type=${n}`),(0,C.getJsonWithCredentials)(i)},De=(e,t)=>{const n=dq(e.element,".more-panel"),{className:i,text:r,action:a}=t;if(!n||dq(n,`.${i}`))return;const o=document.createElement("p");o.classList.add("child-button","c-pointer",i),o.textContent=r;[...new Set([...n.children].map((e=>e.getAttributeNames().filter((e=>e.startsWith("data-v-"))))).flat())].forEach((e=>o.setAttribute(e,""))),o.addEventListener("click",(t=>{a(t),e.element.click()})),n.appendChild(o)};var Ve=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{staticClass:"bangumi-card",class:{new:e.isNew},attrs:{target:"_blank",href:e.data.url}},[n("div",{staticClass:"ep-cover-container"},[n("DpiImage",{staticClass:"ep-cover",attrs:{size:{width:100},src:e.data.epCoverUrl}})],1),e._v(" "),n("h1",{staticClass:"ep-title",attrs:{title:e.data.epTitle}},[e._v(e._s(e.data.epTitle))]),e._v(" "),n("div",{staticClass:"up",attrs:{title:e.data.title}},[n("DpiImage",{staticClass:"cover",attrs:{size:24,src:e.data.coverUrl}}),e._v(" "),n("div",{staticClass:"title"},[e._v(e._s(e.data.title))])],1)])};Ve._withStripped=!0;var Be=Vue.extend({components:{DpiImage:ce.DpiImage},props:{data:{type:Object,required:!0},isNew:{type:Boolean,default:!1}}}),Ne=n(3379),je=n.n(Ne),qe=n(5478),Fe=n.n(qe),Re={insert:"head",singleton:!1},Ue=(je()(Fe(),Re),Fe().locals,n(1900)),He=(0,Ue.Z)(Be,Ve,[],!1,null,"3bc2da4f",null);He.options.__file="src/components/feeds/BangumiCard.vue";var Ze=He.exports,We=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{staticClass:"video-card",class:{vertical:"vertical"===e.orientation,"no-stats":!e.showStats},attrs:{target:"_blank",href:e.epID?"https://www.bilibili.com/bangumi/play/ep"+e.epID:"https://www.bilibili.com/"+e.bvid}},[n("div",{staticClass:"cover-container"},[n("DpiImage",{staticClass:"cover",attrs:{src:e.coverUrl,size:{height:120,width:200}}}),e._v(" "),e.isNew?n("div",{staticClass:"new"},[e._v("NEW")]):e._e(),e._v(" "),e.pubTime&&e.pubTimeText?[n("div",{staticClass:"publish-time-summary"},[e._v("\n "+e._s(e.pubTimeText)+"\n ")]),e._v(" "),n("div",{staticClass:"publish-time-detail"},[e._v("\n "+e._s(e.pubTime)+"\n ")])]:e._e(),e._v(" "),e.durationText?n("div",{staticClass:"duration"},[e._v(e._s(e.durationText))]):e._e(),e._v(" "),e.durationText&&null!==e.watchlater&&void 0!==e.watchlater?n("div",{staticClass:"watchlater",on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.toggleWatchlater(e.aid)}}},[n("VIcon",{attrs:{size:15,icon:e.watchlater?"mdi-check-circle":"mdi-clock-outline"}}),e._v("\n "+e._s(e.watchlater?"已添加":"稍后再看")+"\n ")],1):e._e()],2),e._v(" "),n("h1",{staticClass:"title",attrs:{title:e.title}},[e._v(e._s(e.title))]),e._v(" "),e.topics&&e.topics.length?n("div",{staticClass:"topics"},e._l(e.topics.slice(0,3),(function(t){return n("a",{key:t.id,staticClass:"topic",attrs:{target:"_blank",href:"https://t.bilibili.com/topic/name/"+t.name+"/feed"}},[e._v("#"+e._s(t.name)+"#")])})),0):n("p",{staticClass:"description",attrs:{title:e.description}},[e._v(e._s(e.description))]),e._v(" "),0===e.cooperation.length?n("a",{staticClass:"up",class:{"no-face":!e.upFaceUrl},attrs:{target:"_blank",href:e.upID?"https://space.bilibili.com/"+e.upID:null}},[e.upFaceUrl?n("DpiImage",{staticClass:"face",attrs:{src:e.upFaceUrl,size:24}}):n("VIcon",{attrs:{icon:"up"}}),e._v(" "),n("div",{staticClass:"name",attrs:{title:e.upName}},[e._v(e._s(e.upName))])],1):e._e(),e._v(" "),0!==e.cooperation.length?n("div",{staticClass:"cooperation"},[n("div",{staticClass:"cooperation-ups"},e._l(e.reversedCooperation,(function(e){return n("a",{key:e.id,staticClass:"cooperation-up",class:{"no-face":!e.faceUrl},attrs:{target:"_blank",title:e.name,href:e.id?"https://space.bilibili.com/"+e.id:null}},[e.faceUrl?n("DpiImage",{staticClass:"face",attrs:{src:e.faceUrl,size:24}}):n("VIcon",{attrs:{icon:"up"}})],1)})),0),e._v(" "),n("div",{staticClass:"cooperation-note"},[e._v("\n 联合投稿\n ")])]):e._e(),e._v(" "),e.showStats?n("div",{staticClass:"stats"},[e.like&&!e.vertical?[n("VIcon",{attrs:{icon:"like-outline",size:18}}),e._v("\n "+e._s(e.like)+"\n ")]:e._e(),e._v(" "),e.coins&&!e.vertical?[n("VIcon",{attrs:{icon:"coin-outline",size:18}}),e._v("\n "+e._s(e.coins)+"\n ")]:e._e(),e._v(" "),e.favorites?[n("VIcon",{attrs:{icon:"favorites-outline",size:18}}),e._v("\n "+e._s(e.favorites)+"\n ")]:e._e(),e._v(" "),e.playCount?[n("VIcon",{attrs:{icon:"play",size:18}}),e._v("\n "+e._s(e.playCount)+"\n ")]:e._e(),e._v(" "),e.danmakuCount?[n("VIcon",{attrs:{icon:"danmaku",size:18}}),e._v("\n "+e._s(e.danmakuCount)+"\n ")]:e._e()],2):e._e()])};We._withStripped=!0;var Ge={components:{DpiImage:ce.DpiImage,VIcon:ce.VIcon},props:{data:{type:Object,required:!0},orientation:{type:String,default:"horizontal"},showStats:{type:Boolean,default:!0},isNew:{type:Boolean,default:!1}},data(){return{watchlaterList:me,upFaceUrl:"",danmakuCount:"",like:"",coins:"",favorites:"",dynamic:"",topics:[],upID:0,epID:0,cooperation:[],...lodash.omit(this.data,"watchlater"),watchlaterInit:this.data.watchlater}},computed:{vertical(){return"vertical"===this.orientation},watchlater(){return(0,X.getUID)()&&null!==this.watchlaterInit?this.watchlaterList.includes(this.aid):null},reversedCooperation(){return[...this.cooperation].reverse().slice(0,3)}},methods:{toggleWatchlater:be}},Xe=n(1745),Je=n.n(Xe),Ke={insert:"head",singleton:!1},Ye=(je()(Je(),Ke),Je().locals,(0,Ue.Z)(Ge,We,[],!1,null,"0ffa1cb1",null));Ye.options.__file="src/components/feeds/VideoCard.vue";var Qe=Ye.exports,et=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{staticClass:"column-card",attrs:{target:"_blank",href:"https://www.bilibili.com/read/cv"+e.data.cvID}},[n("div",{staticClass:"covers"},e._l(e.data.covers,(function(e){return n("DpiImage",{key:e,staticClass:"cover",attrs:{size:{height:120},src:e}})})),1),e._v(" "),n("a",{staticClass:"up",attrs:{target:"_blank",href:"https://space.bilibili.com/"+e.data.upID}},[n("DpiImage",{staticClass:"face",attrs:{size:24,src:e.data.upFaceUrl}}),e._v(" "),n("div",{staticClass:"name"},[e._v(e._s(e.data.upName))])],1),e._v(" "),n("h1",{staticClass:"title",attrs:{title:e.data.title}},[e._v(e._s(e.data.title))]),e._v(" "),n("div",{staticClass:"description",attrs:{title:e.data.description}},[e._v(e._s(e.data.description))])])};et._withStripped=!0;var tt=Vue.extend({components:{DpiImage:ce.DpiImage},props:{data:{type:Object,required:!0},isNew:{type:Boolean,default:!1}}}),nt=n(620),it=n.n(nt),rt={insert:"head",singleton:!1},at=(je()(it(),rt),it().locals,(0,Ue.Z)(tt,et,[],!1,null,null,null));at.options.__file="src/components/feeds/ColumnCard.vue";var ot=at.exports;let st=!1;const lt=()=>{"https://t.bilibili.com/"===document.URL.replace(window.location.search,"")&&(async()=>{const{select:e}=await Promise.resolve().then(n.bind(n,5550)),t=await e(".live-up-list");if(null!==t){const{getComponentSettings:e}=await Promise.resolve().then(n.bind(n,6171));if(st)return;const i=e("fixedSidebars"),r=e("extendFeedsLive");t.addEventListener("mouseenter",(e=>{(i.enabled||r.enabled)&&e.stopImmediatePropagation()}),{capture:!0}),st=!0}})()},ct=3e5,dt=()=>(0,X.getCookieValue)(`bp_t_offset_${(0,X.getUID)()}`),ut=(e,t)=>e===t?0:e.length>t.length?1:t.length>e.length?-1:e>t==!0?1:-1,pt=e=>{if(null==e)return;const t=dt();ut(e,t)<0||(document.cookie=`bp_t_offset_${(0,X.getUID)()}=${e};path=/;domain=.bilibili.com;max-age=2592000`)},ft=e=>ut(e,dt())>0,ht=e=>{const[t]=[...e.map((e=>e.id))].sort(ut).reverse();pt(t)},mt=async e=>{const t=`https://api.vc.bilibili.com/dynamic_svr/v1/dynamic_svr/dynamic_num?rsp_type=1&uid=${(0,X.getUID)()}&update_num_dy_id=${dt()}&type_list=${e||xe}`,n=await(0,C.getJsonWithCredentials)(t);return 0!==n.code?0:lodash.get(n,"data.update_num",0)},gt=e=>{e.startsWith("#")&&(e=e.substring(1));return{red:e.substring(0,2),green:e.substring(2,4),blue:e.substring(4,6)}},bt=e=>{const{red:t,green:n,blue:i}=gt(e);return`\\c&H${i}${n}${t}&`.toUpperCase()},vt=(e,t=1)=>{const{red:n,green:i,blue:r}=gt(e);return`&H${Math.round(255*(1-t)).toString(16).padStart(2,"0")}${r}${i}${n}`.toUpperCase()},yt=e=>{let t=0,n=0;for(;e>=60;)e-=60,n++;for(;n>=60;)n-=60,t++;return`${t}:${String(n).padStart(2,"0")}:${(e=>{const[t,n="00"]=String(e).split(".");return`${t.padStart(2,"0")}.${n.substr(0,2).padEnd(2,"0")}`})(e)}`},wt=(e,t)=>[yt(e),yt(e+t)],xt=(e,t)=>[yt(e),yt(t)],kt=e=>{const t={"{":"{","}":"}","&":"&","<":"<",">":">",""":'"',"'":"'","\n":"\\N"};for(const[n,i]of Object.entries(t))e=e.replace(new RegExp(n,"g"),i);return e};var _t=n(7412);const Ct=e=>oe.playerUrls.some((e=>(0,X.matchUrlPattern)(e)))?async()=>{const t=_t.playerAgent,{query:{control:{settings:n,buttons:i}}}=t;te(i.settings.selector,n.wrap.selector),t.toggleLight(e)}:X.none,St=Ct(!0),Et=Ct(!1);let $t;const At=[],It=async e=>{await(0,q.hasVideo)()&&(0,L.videoChange)((async()=>{const t=await _t.playerAgent.query.video.danmaku();t&&((e,t)=>{$t&&$t.disconnect(),[$t]=(0,L.childListSubtree)(e,(e=>{e.forEach((e=>{e.addedNodes.forEach((e=>{if(e.nodeType===Node.TEXT_NODE){const n=e.parentElement,i=At.find((e=>e.element===n));if(!i)return;return i.text=e.textContent||"",i.reuse=!0,void(t.added&&t.added(i))}if(!(e instanceof HTMLElement))return;const n={element:i=e,reuse:!1,text:i.textContent||""};var i;At.push(n),t.added&&t.added(n)})),e.removedNodes.forEach((e=>{if(!(e instanceof HTMLElement))return;const n=At.findIndex((t=>t.element===e));if(-1!==n){const[e]=At.splice(n,1);t.removed&&t.removed(e)}}))}))}))})(t,e)}))};function Tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class Ot{constructor(e){Tt(this,"aid",void 0),Tt(this,"cid",void 0),Tt(this,"pageCount",void 0),Tt(this,"coverUrl",void 0),Tt(this,"tagId",void 0),Tt(this,"tagName",void 0),Tt(this,"title",void 0),Tt(this,"description",void 0),Tt(this,"up",void 0),Tt(this,"pages",void 0),Tt(this,"subtitles",void 0),this.aid=e}async fetchInfo(){let e;e=this.cid?`https://api.bilibili.com/x/web-interface/view?aid=${this.aid}&cid=${this.cid}`:`https://api.bilibili.com/x/web-interface/view?aid=${this.aid}`;const t=await(0,C.getJson)(e);if(0!==t.code)throw new Error(t.message);const{data:n}=t;return this.cid=n.cid,this.pageCount=n.videos,this.coverUrl=n.pic.replace("http:","https:"),this.tagId=n.tid,this.tagName=n.tname,this.title=n.title,this.description=n.desc,this.up={uid:n.owner.mid,name:n.owner.name,faceUrl:n.owner.face.replace("http:","https:")},this.pages=n.pages.map((e=>({cid:e.cid,title:e.part,pageNumber:e.page}))),this.subtitles=n.subtitle.list.map((e=>({id:e.id,languageCode:e.lan,language:e.lan_doc,url:e.subtitle_url.replace("http:","https:")}))),this}}class Lt{constructor(e){Tt(this,"ep",void 0),Tt(this,"videos",void 0),Tt(this,"title",void 0),Tt(this,"cover",void 0),Tt(this,"squareCover",void 0),Tt(this,"aid",void 0),Tt(this,"cid",void 0),this.ep=e,this.videos=[]}async fetchInfo(){const e=await(0,C.getText)(`https://www.bilibili.com/bangumi/play/ep${this.ep}/`),t=JSON.parse(e.match(/window\.__INITIAL_STATE__=(.*);\(function\(\){/)[1]);return this.title=t.mediaInfo.title,this.cover=t.mediaInfo.cover,this.squareCover=t.mediaInfo.square_cover,this.aid=t.epInfo.aid,this.cid=t.epInfo.cid,this.videos=t.epList.map((async e=>({title:e.index_title,aid:e.aid,cid:e.cid,info:await new Ot(e.aid).fetchInfo()}))),this}}const Mt=[{name:"720P",displayName:"高清 720P",value:64},{name:"1080P",displayName:"高清 1080P",value:80}],Pt=[{name:"HDR",displayName:"真彩 HDR",value:125},{name:"4K",displayName:"超清 4K",value:120},{name:"1080P60",displayName:"高清 1080P60",value:116},{name:"1080P+",displayName:"高清 1080P+",value:112},{name:"720P60",displayName:"高清 720P60",value:74}],zt=[...Pt,...Mt,{name:"480P",displayName:"清晰 480P",value:32},{name:"360P",displayName:"流畅 360P",value:16}].sort((0,ae.descendingSort)((e=>e.value))),Dt=async e=>{const{open:t,close:n}=e;if(!(0,q.hasVideo)())return;const i=await(0,q.select)(".bilibili-player");if(!i)return;const[r]=(0,L.childList)(i,(()=>{const e=dq(".bilibili-player-context-menu-origin");if(e){r.disconnect();const i=dq(e,"ul"),a={containerElement:e,listElement:i,get itemElements(){return dqa(e,".context-menu-function")},get isOpen(){return e.classList.contains("active")}};(0,L.childList)(i,(()=>{a.isOpen?t?.(a):n?.(a)}))}}))},Vt=async(e,t)=>Dt({open:t=>{if(t.listElement.contains(e))return;const n=document.createElement("li");n.classList.add("context-line","context-menu-function"),n.setAttribute("data-append","1");const i=document.createElement("a");i.classList.add("context-menu-a","js-action"),i.href="javascript:void(0);",i.appendChild(e),n.addEventListener("mouseover",(()=>n.classList.add("hover"))),n.addEventListener("mouseout",(()=>n.classList.remove("hover"))),n.appendChild(i),t.listElement.appendChild(n)},close:e=>t?.(e)});let Bt;const Nt=[],jt=lodash.once((async()=>{oe.playerUrls.some((e=>(0,X.matchUrlPattern)(e)))&&(0,L.videoChange)((async()=>{const{playerAgent:e}=await Promise.resolve().then(n.bind(n,7412)),t=await e.query.control.buttons.time();if(null===t||null!==t.parentElement?.querySelector(".be-video-control-bar-extend"))return;const i=await Promise.resolve().then(n.bind(n,135)).then((e=>e.default));Bt=new i({propsData:{items:Nt}}).$mount(),t.insertAdjacentElement("afterend",Bt.$el)}))})),qt=async e=>{Bt||await jt(),Nt.push(e)},Ft=async e=>{if(!oe.liveUrls.some((e=>(0,X.matchUrlPattern)(e))))return;const t=await(0,q.select)(".bilibili-live-player-video-controller, .web-player-controller-wrap:not(.web-player-controller-bg)");if(!t)return;const{init:n,callback:i}=e;n?.(t),(0,L.childList)(t,(async()=>{const e=dq(t,".control-area");e&&i?.(e)}))};function Rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ut=0,Ht=2,Zt={heartBeat:2,heartBeatResponse:3,message:5,enterRoom:7,enterRoomResponse:8};class Wt{constructor(){Rt(this,"textEncoder",new TextEncoder),Rt(this,"textDecoder",new TextDecoder)}static readInt(e,t,n){let i=0;for(let r=n-1;r>=0;r--)i+=256**(n-r-1)*e[t+r];return i}static writeInt(e,t,n,i){let r=0;for(;r<n;)e[t+r]=i/256**(n-r-1),r++}encode(e,t){const n=this.textEncoder.encode(e),i=16+n.byteLength,r=[0,0,0,0,0,16,0,1,0,0,0,Zt[t],0,0,0,1];return Wt.writeInt(r,0,4,i),new Uint8Array(r.concat(...n)).buffer}decode(e){const t=async e=>{const i={packetLength:Wt.readInt(e,0,4),headerLength:Wt.readInt(e,4,2),protocolVersion:Wt.readInt(e,6,2),operation:Wt.readInt(e,8,4),sequenceID:Wt.readInt(e,12,4)},r=[i];if(i.packetLength<e.length&&r.push(...await t(e.slice(i.packetLength))),i.operation===Zt.message){const r=e.slice(i.headerLength,i.packetLength);if(i.protocolVersion===Ht){const{pako:e}=await Promise.resolve().then(n.bind(n,5269)),a=await t(e.inflate(r));a&&(i.messages=a.map((e=>e.messages[0])))}else i.protocolVersion===Ut&&(i.messages=[JSON.parse(this.textDecoder.decode(r))])}else i.operation===Zt.heartBeatResponse&&(i.heartBeatResponse={count:Wt.readInt(e,16,4)});return r};return new Promise(((n,i)=>{const r=new FileReader;r.onload=async e=>{if(!e.target)return void i(e);const r=new Uint8Array(e.target.result);n(await t(r))},r.readAsArrayBuffer(e)}))}}class Gt{constructor(){Rt(this,"startTime",0)}getLiveTime(){return new Promise((e=>{if(this.startTime)return void e(this.startTime);const t=(0,X.dq)(".bilibili-live-player-video-controller-duration-btn span"),[n]=(0,L.childList)(t,(t=>{if(t.length>0&&t.some((e=>e.addedNodes.length>0&&[...e.addedNodes].every((e=>e.nodeType===Node.TEXT_NODE))))){n.disconnect();const i=t[0].addedNodes[0].textContent,[r,a,o=0]=i.split(":").reverse().map(lodash.unary(parseInt)),s=Number(new Date);this.startTime=s-1e3*o*3600-60*a*1e3-1e3*r,e(this.startTime)}}))}))}}class Xt extends EventTarget{constructor(e){super(),this.roomID=e,Rt(this,"heartBeatTimer",void 0),Rt(this,"webSocket",void 0),Rt(this,"retryInterval",200),Rt(this,"autoRetry",!0),Rt(this,"servers",["broadcastlv.chat.bilibili.com"]),Rt(this,"selectedServer",""),Rt(this,"liveTime",new Gt),Rt(this,"bufferHelper",new Wt),Rt(this,"stopRequested",!1),window.addEventListener("unload",(()=>this.stop()))}heartBeat(){this.webSocket.readyState===WebSocket.OPEN?this.webSocket.send(this.bufferHelper.encode("","heartBeat")):(this.stop(),this.restart())}restart(){if(this.dispatchEvent(new CustomEvent("restart")),!this.stopRequested&&this.autoRetry){console.log(`Live Socket: unexpected disconnect, retry in ${this.retryInterval}ms`);const e=this.servers.indexOf(this.selectedServer);e<this.servers.length-1?this.selectedServer=this.servers[e+1]:[this.selectedServer]=this.servers,console.log("Live Socket: server changed to",this.selectedServer),setTimeout((()=>this.start()),this.retryInterval)}}async start(){const e=await(0,C.getJson)(`https://api.live.bilibili.com/room/v1/Danmu/getConf?room_id=${this.roomID}&platform=pc&player=web`),t=lodash.get(e,"data.host_server_list",[]);this.servers=[...new Set([...this.servers,...t.map((e=>e.host))])],""===this.selectedServer&&([this.selectedServer]=this.servers,console.log("Initial server:",this.selectedServer)),this.webSocket&&[WebSocket.CONNECTING,WebSocket.OPEN].includes(this.webSocket.readyState)&&this.stop(),this.webSocket=new WebSocket(`wss://${this.selectedServer}/sub`),this.stopRequested=!1,this.dispatchEvent(new CustomEvent("start",{detail:this.webSocket})),this.webSocket.addEventListener("open",(()=>{const t={roomid:this.roomID,uid:parseInt((0,X.getUID)()),protover:2,platform:"web",clientVer:"1.10.1",type:"2",key:lodash.get(e,"data.token")};this.webSocket.send(this.bufferHelper.encode(JSON.stringify(t),"enterRoom")),this.dispatchEvent(new CustomEvent("open",{detail:t}))})),this.webSocket.addEventListener("message",(async e=>{const[t]=await this.bufferHelper.decode(e.data);switch(this.dispatchEvent(new CustomEvent("message",{detail:t})),t.operation){case Zt.enterRoomResponse:this.heartBeatTimer&&clearInterval(this.heartBeatTimer),this.heartBeatTimer=window.setInterval((()=>{this.heartBeat()}),3e4);break;case Zt.heartBeatResponse:if(!t.heartBeatResponse)break;this.dispatchEvent(new CustomEvent("heartBeatResponse",{detail:t.heartBeatResponse.count}));break;case Zt.message:{if(!t.messages)break;const e=await this.liveTime.getLiveTime();t.messages.forEach((t=>{if("DANMU_MSG"===t.cmd){const{info:n}=t,i={content:n[1],type:n[0][1],fontSize:n[0][2],color:n[0][3],sendTime:n[0][4],userHash:n[0][7],userID:n[2][0],userName:n[2][1],startTime:e,get time(){return this.sendTime-this.startTime}};this.dispatchEvent(new CustomEvent("danmaku",{detail:i}))}}));break}}})),this.webSocket.addEventListener("close",(e=>{this.stopRequested||(console.error("Live Socket: close",e),this.restart())})),this.webSocket.addEventListener("error",(e=>{console.error("Live Socket: error",e),this.restart()}))}stop(){this.stopRequested=!0,this.heartBeatTimer&&clearInterval(this.heartBeatTimer),this.webSocket&&this.webSocket.readyState===WebSocket.OPEN&&this.webSocket.close()}}const Jt=[],Kt="bb-comment",Yt=[],Qt=[],en=[],tn=e=>{const t=e.querySelector(".con .user .name"),n=e=>{const t=e.querySelector(".reply-face"),n=e.querySelector(".reply-con .user .name");return{id:e.getAttribute("data-id"),element:e,userID:t.getAttribute("data-usercard-mid"),userName:n.textContent,content:e.querySelector(".text-con").textContent,timeText:e.querySelector(".info .time").textContent,likes:parseInt(e.querySelector(".info .like span").textContent)}},i={id:e.getAttribute("data-id"),element:e,userID:t.getAttribute("data-usercard-mid"),userName:t.textContent,content:e.querySelector(".con .text").textContent,timeText:e.querySelector(".con .info .time").textContent,likes:parseInt(e.querySelector(".con .like span").textContent),replies:[]};if(dq(e,".reply-box .view-more")){const t=dq(e,".reply-box");(0,L.childList)(t,(t=>{i.replies=(0,X.dqa)(e,".reply-box .reply-item").map(n),0!==t.length&&i.onRepliesUpdate?.(i.replies)}))}else i.replies=(0,X.dqa)(e,".reply-box .reply-item").map(n);return i},nn=e=>{if(e instanceof HTMLElement&&e.classList.contains(Kt)){const t={element:e,items:[]};Jt.push(t),(e=>{e.observer||(e.items=(0,X.dqa)(e.element,".list-item.reply-wrap").map(tn),e.items.forEach((e=>{Yt.forEach((t=>t(e)))})),[e.observer]=(0,L.childListSubtree)(e.element,(t=>{t.forEach((t=>{const n=e=>e instanceof HTMLElement&&e.classList.contains("list-item")&&e.classList.contains("reply-wrap");t.addedNodes.forEach((t=>{if(n(t)){const n=tn(t);e.items.push(n),Yt.forEach((e=>e(n)))}})),t.removedNodes.forEach((t=>{if(n(t)){const n=t.getAttribute("data-id"),i=e.items.findIndex((e=>e.id===n));if(-1!==i){const[t]=e.items.splice(i,1);Qt.forEach((e=>e(t)))}}}))}))})))})(t),en.forEach((e=>e(t)))}};(0,I.contentLoaded)((()=>{(0,L.allMutations)((e=>{e.forEach((e=>{e.addedNodes.forEach((e=>nn(e)))}))})),(0,X.dqa)(".bb-comment").forEach(nn)}));const rn=e=>{Jt.forEach((t=>e(t))),en.push(e)},an=e=>{const{added:t,removed:n}=e;rn((e=>{t&&(e.items.forEach((e=>t(e))),Yt.push(t)),n&&Qt.push(n)}))},on=(e,t)=>{const n=dq(e.element,".opera-list ul"),{className:i,text:r,action:a}=t;if(!n||dq(n,`.${i}`))return;const o=document.createElement("li");o.classList.add(i),o.textContent=r,o.addEventListener("click",(e=>{a(e)})),n.appendChild(o)};var sn=n(2149);const ln=JSON.parse('[[{"name":"首页","route":"/","tid":"","locid":23,"sub":[]},{"name":"动画","route":"douga","tid":1,"locid":52,"count":"","subMenuSize":162,"slider":{"width":620,"height":220},"viewTag":false,"customComponent":{"name":"Energy","titleId":2507,"leftId":2452,"rightId":2453},"sub":[{"name":"MAD·AMV","route":"mad","tid":24,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":151},"desc":"具有一定制作程度的动画或静画的二次创作视频","url":"//www.bilibili.com/video/douga-mad-1.html"},{"name":"MMD·3D","route":"mmd","tid":25,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":152},"desc":"使用MMD(MikuMikuDance)和其他3D建模类软件制作的视频","url":"//www.bilibili.com/video/douga-mmd-1.html"},{"name":"短片·手书·配音","route":"voice","tid":47,"ps":15,"rps":10,"desc":"追求创新并具有强烈特色的短片、手书(绘)及ACG相关配音","url":"//www.bilibili.com/video/douga-voice-1.html"},{"name":"手办·模玩","route":"garage_kit","tid":210,"ps":15,"rps":10,"desc":"手办模玩的测评、改造或其他衍生内容","url":""},{"name":"特摄","route":"tokusatsu","tid":86,"ps":15,"rps":10,"desc":"特摄相关衍生视频","url":"//www.bilibili.com/video/cinephile-tokusatsu.html"},{"name":"综合","route":"other","tid":27,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":153},"desc":"以动画及动画相关内容为素材,包括但不仅限于音频替换、杂谈、排行榜等内容","url":"//www.bilibili.com/video/douga-else-1.html"}]},{"name":"番剧","route":"anime","tid":13,"url":"//www.bilibili.com/anime/","takeOvered":true,"count":"","subMenuSize":172,"combination":true,"sub":[{"name":"连载动画","tid":33,"route":"serial","desc":"当季连载的动画番剧","url":"//www.bilibili.com/video/bangumi-two-1.html"},{"name":"完结动画","tid":32,"route":"finish","desc":"已完结的动画番剧合集","url":"//www.bilibili.com/video/part-twoelement-1.html"},{"name":"资讯","tid":51,"route":"information","desc":"动画番剧相关资讯视频","url":"//www.bilibili.com/video/douga-else-information-1.html"},{"name":"官方延伸","tid":152,"route":"offical","desc":"动画番剧为主题的宣传节目、采访视频,及声优相关视频","url":"//www.bilibili.com/video/bagumi_offical_1.html"},{"name":"新番时间表","url":"//www.bilibili.com/anime/timeline/","desc":""},{"name":"番剧索引","url":"//www.bilibili.com/anime/index/","desc":""}]},{"name":"国创","tid":167,"route":"guochuang","url":"//www.bilibili.com/guochuang/","takeOvered":true,"count":"","subMenuSize":214,"combination":true,"sub":[{"name":"国产动画","tid":153,"route":"chinese","desc":"我国出品的PGC动画","url":"//www.bilibili.com/video/bangumi_chinese_1.html"},{"name":"国产原创相关","tid":168,"route":"original","desc":"","url":"//www.bilibili.com/video/guochuang-fanvid-1.html"},{"name":"布袋戏","tid":169,"route":"puppetry","desc":"","url":"//www.bilibili.com/video/glove-puppetry-1.html"},{"name":"动态漫·广播剧","tid":195,"route":"motioncomic","desc":"","url":""},{"name":"资讯","tid":170,"route":"information","desc":"","url":"//www.bilibili.com/video/guochuang-offical-1.html"},{"name":"新番时间表","url":"//www.bilibili.com/guochuang/timeline/","desc":""},{"name":"国产动画索引","url":"//www.bilibili.com/guochuang/index/","desc":""}]},{"name":"音乐","route":"music","tid":3,"locid":58,"count":"","subMenuSize":268,"slider":{"width":620,"height":220},"viewTag":true,"customComponent":{"name":"Energy","titleId":2511,"leftId":2462,"rightId":3131,"rightType":"slide"},"sub":[{"name":"原创音乐","route":"original","tid":28,"ps":15,"rps":10,"viewHotTag":true,"ad":{"active":true,"dataLocId":243},"dpConfig":[{"name":"一日","value":1},{"name":"三日","value":3}],"desc":"个人或团队制作以音乐为主要原创因素的歌曲或纯音乐","url":"//www.bilibili.com/video/music-original-1.html"},{"name":"翻唱","route":"cover","tid":31,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":245},"viewHotTag":true,"dpConfig":[{"name":"一日","value":1},{"name":"三日","value":3}],"desc":"一切非官方的人声再演绎歌曲作品","url":"//www.bilibili.com/video/music-Cover-1.html"},{"name":"VOCALOID·UTAU","route":"vocaloid","tid":30,"ps":15,"rps":10,"viewHotTag":true,"dpConfig":[{"name":"一日","value":1},{"name":"三日","value":3}],"desc":"以雅马哈Vocaloid和UTAU引擎为基础,包含其他调教引擎,运用各类音源进行的歌曲创作内容","url":"//www.bilibili.com/video/music-vocaloid-1.html"},{"name":"电音","route":"electronic","tid":194,"ps":15,"rps":10,"viewHotTag":true,"dpConfig":[{"name":"一日","value":1},{"name":"三日","value":3}],"desc":"以电子合成器、音乐软体等产生的电子声响制作的音乐","url":"#"},{"name":"演奏","route":"perform","tid":59,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":247},"viewHotTag":true,"dpConfig":[{"name":"一日","value":1},{"name":"三日","value":3}],"desc":"传统或非传统乐器及器材的演奏作品","url":"//www.bilibili.com/video/music-perform-1.html"},{"name":"MV","route":"mv","tid":193,"ps":15,"rps":10,"viewHotTag":true,"dpConfig":[{"name":"一日","value":1},{"name":"三日","value":3}],"desc":"音乐录影带,为搭配音乐而拍摄或制作的视频","url":"//www.bilibili.com/video/music-coordinate-1.html"},{"name":"音乐现场","route":"live","tid":29,"ps":15,"rps":10,"viewHotTag":true,"dpConfig":[{"name":"一日","value":1},{"name":"三日","value":3}],"desc":"音乐实况表演视频","url":"//www.bilibili.com/video/music-oped-1.html"},{"name":"音乐综合","route":"other","tid":130,"ps":15,"rps":10,"viewHotTag":true,"dpConfig":[{"name":"一日","value":1},{"name":"三日","value":3}],"desc":"收录无法定义到其他音乐子分区的音乐视频","url":"//www.bilibili.com/video/music-collection-1.html"},{"name":"音频","customZone":"Audio","route":"audio","url":"//www.bilibili.com/audio/home?musicType=music"},{"name":"说唱","url":"//www.bilibili.com/v/rap"}]},{"name":"舞蹈","route":"dance","tid":129,"locid":64,"count":"","subMenuSize":172,"slider":{"width":620,"height":220},"viewTag":false,"customComponent":{"name":"Energy","titleId":2513,"leftId":2472,"rightId":2473},"sub":[{"name":"宅舞","route":"otaku","tid":20,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":249},"desc":"与ACG相关的翻跳、原创舞蹈","url":"//www.bilibili.com/video/dance-1.html"},{"name":"街舞","route":"hiphop","tid":198,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":251},"desc":"收录街舞相关内容,包括赛事现场、舞室作品、个人翻跳、FREESTYLE等","url":""},{"name":"明星舞蹈","route":"star","tid":199,"ps":15,"rps":10,"desc":"国内外明星发布的官方舞蹈及其翻跳内容","url":""},{"name":"中国舞","route":"china","tid":200,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":253},"desc":"传承中国艺术文化的舞蹈内容,包括古典舞、民族民间舞、汉唐舞、古风舞等","url":""},{"name":"舞蹈综合","route":"three_d","tid":154,"ps":15,"rps":10,"desc":"收录无法定义到其他舞蹈子分区的舞蹈视频","url":""},{"name":"舞蹈教程","route":"demo","tid":156,"ps":10,"rps":6,"desc":"镜面慢速,动作分解,基础教程等具有教学意义的舞蹈视频","url":"//www.bilibili.com/video/dance-demo-1.html"}]},{"name":"游戏","route":"game","tid":4,"locid":70,"count":"","subMenuSize":240,"slider":{"width":470,"height":216},"viewTag":true,"customComponent":{"name":"Energy","titleId":3761,"leftId":3765,"rightId":3775,"rightType":"slide"},"recommendCardType":"GameGroomBox","sub":[{"name":"单机游戏","route":"stand_alone","tid":17,"ps":10,"rps":7,"rankshow":1,"viewHotTag":true,"ad":{"active":true,"dataLocId":255},"dpConfig":[{"name":"三日","value":3},{"name":"一日","value":1},{"name":"一周","value":7}],"desc":"以所有平台(PC、主机、移动端)的单机或联机游戏为主的视频内容,包括游戏预告、CG、实况解说及相关的评测、杂谈与视频剪辑等","url":"//www.bilibili.com/video/videogame-1.html"},{"name":"电子竞技","route":"esports","tid":171,"ps":10,"rps":7,"rankshow":1,"viewHotTag":true,"ad":{"active":true,"dataLocId":257},"desc":"具有高对抗性的电子竞技游戏项目,其相关的赛事、实况、攻略、解说、短剧等视频。","url":"//www.bilibili.com/video/esports-1.html"},{"name":"手机游戏","route":"mobile","tid":172,"ps":10,"rps":7,"rankshow":1,"viewHotTag":true,"desc":"以手机及平板设备为主要平台的游戏,其相关的实况、攻略、解说、短剧、演示等视频。","url":"//www.bilibili.com/video/mobilegame-1.html"},{"name":"网络游戏","route":"online","tid":65,"ps":10,"rps":7,"rankshow":1,"viewHotTag":true,"ad":{"active":true,"dataLocId":259},"dpConfig":[{"name":"三日","value":3},{"name":"一日","value":1},{"name":"一周","value":7}],"desc":"由网络运营商运营的多人在线游戏,以及电子竞技的相关游戏内容。包括赛事、攻略、实况、解说等相关视频","url":"//www.bilibili.com/video/onlinegame-1.html"},{"name":"桌游棋牌","route":"board","tid":173,"ps":5,"rps":3,"rankshow":1,"viewHotTag":true,"desc":"桌游、棋牌、卡牌对战等及其相关电子版游戏的实况、攻略、解说、演示等视频。","url":"//www.bilibili.com/video/boardgame-1.html"},{"name":"GMV","route":"gmv","tid":121,"ps":5,"rps":3,"rankshow":1,"viewHotTag":true,"dpConfig":[{"name":"三日","value":3},{"name":"一日","value":1},{"name":"一周","value":7}],"desc":"由游戏素材制作的MV视频。以游戏内容或CG为主制作的,具有一定创作程度的MV类型的视频","url":"//www.bilibili.com/video/gmv-1.html"},{"name":"音游","route":"music","tid":136,"ps":5,"rps":3,"rankshow":1,"viewHotTag":true,"dpConfig":[{"name":"三日","value":3},{"name":"一日","value":1},{"name":"一周","value":7}],"desc":"各个平台上,通过配合音乐与节奏而进行的音乐类游戏视频","url":"//www.bilibili.com/video/music-game-1.html"},{"name":"Mugen","route":"mugen","tid":19,"ps":5,"rps":3,"rankshow":1,"viewHotTag":true,"dpConfig":[{"name":"三日","value":3},{"name":"一日","value":1},{"name":"一周","value":7}],"desc":"以Mugen引擎为平台制作、或与Mugen相关的游戏视频","url":"//www.bilibili.com/video/game-mugen-1.html"},{"name":"游戏赛事","url":"//www.bilibili.com/v/game/match/","newIcon":true}]},{"name":"知识","route":"knowledge","tid":36,"locid":76,"count":"","subMenuSize":172,"slider":{"width":620,"height":220},"viewTag":false,"customComponent":{"name":"Energy","titleId":2058,"leftId":2047,"rightId":2048},"sub":[{"name":"科学科普","route":"science","tid":201,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":261},"desc":"回答你的十万个为什么"},{"name":"社科·法律·心理","route":"social_science","tid":124,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":263},"desc":"基于社会科学、法学、心理学展开或个人观点输出的知识视频"},{"name":"人文历史","route":"humanity_history","tid":228,"ps":15,"rps":10,"desc":"看看古今人物,聊聊历史过往,品品文学典籍"},{"name":"财经商业","route":"business","tid":207,"ps":15,"rps":10,"desc":"说金融市场,谈宏观经济,一起畅聊商业故事"},{"name":"校园学习","route":"campus","tid":208,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":265},"desc":"老师很有趣,学生也有才,我们一起搞学习"},{"name":"职业职场","route":"career","tid":209,"ps":15,"rps":10,"desc":"职业分享、升级指南,一起成为最有料的职场人"},{"name":"设计·创意","route":"design","tid":229,"ps":15,"rps":10,"desc":"天马行空,创意设计,都在这里"},{"name":"野生技能协会","route":"skill","tid":122,"ps":15,"rps":10,"desc":"技能党集合,是时候展示真正的技术了"}]},{"name":"科技","route":"tech","tid":188,"locid":2977,"count":"","subMenuSize":80,"slider":{"width":620,"height":220},"viewTag":false,"customComponent":{"name":"Energy","titleId":2980,"leftId":2978,"rightId":2979},"sub":[{"name":"数码","route":"digital","tid":95,"ps":15,"rps":10,"viewHotTag":true,"desc":"科技数码产品大全,一起来做发烧友","url":"#"},{"name":"软件应用","route":"application","tid":230,"ps":15,"rps":10,"viewHotTag":true,"desc":"超全软件应用指南","url":"#"},{"name":"计算机技术","route":"computer_tech","tid":231,"ps":15,"rps":10,"viewHotTag":true,"desc":"研究分析、教学演示、经验分享......有关计算机技术的都在这里","url":"#"},{"name":"工业·工程·机械","route":"industry","tid":232,"ps":15,"rps":10,"viewHotTag":true,"desc":"前方高能,机甲重工即将出没","url":"#"},{"name":"极客DIY","route":"diy","tid":233,"ps":15,"rps":10,"viewHotTag":true,"desc":"炫酷技能,极客文化,硬核技巧,准备好你的惊讶","url":"#"}]},{"name":"运动","route":"sports","tid":234,"locid":4639,"isHide":true,"subMenuSize":164,"slider":{"width":620,"height":220},"viewTag":false,"customComponent":{"name":"Energy","leftId":4646,"rightId":4652,"rightType":"slide"},"sub":[{"name":"篮球·足球","route":"basketballfootball","tid":235,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":4656},"desc":"与篮球、足球相关的视频,包括但不限于篮足球赛事、教学、评述、剪辑、剧情等相关内容","url":"#"},{"name":"健身","route":"aerobics","tid":164,"ps":15,"rps":10,"desc":"与健身相关的视频,包括但不限于瑜伽、CrossFit、健美、力量举、普拉提、街健等相关内容","url":"//www.bilibili.com/video/fashion-body-1.html"},{"name":"竞技体育","route":"athletic","tid":236,"ps":15,"rps":10,"desc":"与竞技体育相关的视频,包括但不限于乒乓、羽毛球、排球、赛车等竞技项目的赛事、评述、剪辑、剧情等相关内容","url":"#"},{"name":"运动文化","route":"culture","tid":237,"ps":15,"rps":10,"desc":"与运动文化相关的视频,包络但不限于球鞋、球衣、球星卡等运动衍生品的分享、解读,体育产业的分析、科普等相关内容","url":"#"},{"name":"运动综合","route":"comprehensive","tid":238,"ps":15,"rps":10,"desc":"与运动综合相关的视频,包括但不限于钓鱼、骑行、滑板等日常运动分享、教学、Vlog等相关内容","url":"#"}]},{"name":"汽车","route":"car","tid":223,"locid":4428,"isHide":true,"subMenuSize":164,"slider":{"width":620,"height":220},"viewTag":false,"customComponent":{"name":"Energy","leftId":4435,"rightId":4441,"rightType":"slide"},"sub":[{"name":"汽车生活","route":"life","tid":176,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":4445},"desc":"分享汽车及出行相关的生活体验类视频","url":"#"},{"name":"汽车文化","route":"culture","tid":224,"ps":15,"rps":10,"desc":"车迷的精神圣地,包括汽车赛事、品牌历史、汽车改装、经典车型和汽车模型等","url":"#"},{"name":"汽车极客","route":"geek","tid":225,"ps":15,"rps":10,"desc":"汽车硬核达人聚集地,包括DIY造车、专业评测和技术知识分享","url":"#"},{"name":"摩托车","route":"motorcycle","tid":240,"ps":15,"rps":10,"desc":"骑士们集合啦","url":"#"},{"name":"智能出行","route":"smart","tid":226,"ps":15,"rps":10,"desc":"探索新能源汽车和未来智能出行的前沿阵地","url":"#"},{"name":"购车攻略","route":"strategy","tid":227,"ps":15,"rps":10,"desc":"丰富详实的购车建议和新车体验","url":"#"}]},{"name":"生活","route":"life","tid":160,"locid":88,"count":"","subMenuSize":164,"slider":{"width":620,"height":220},"viewTag":false,"customComponent":{"name":"Energy","titleId":2062,"leftId":1674,"rightId":1670},"sub":[{"name":"搞笑","route":"funny","tid":138,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":273},"desc":"各种沙雕有趣的搞笑剪辑,挑战,表演,配音等视频","url":"//www.bilibili.com/video/ent_funny_1.html","locid":4204,"recommendId":4210,"slider":{"width":620,"height":220},"customComponent":{"name":"Energy","leftId":4212,"rightId":4218,"rightType":"slide"}},{"name":"家居房产","route":"home","tid":239,"ps":15,"rps":10,"desc":"与买房、装修、居家生活相关的分享","url":"#"},{"name":"手工","route":"handmake","tid":161,"ps":15,"rps":10,"desc":"手工制品的制作过程或成品展示、教程、测评类视频","url":"//www.bilibili.com/video/ent-handmake-1.html"},{"name":"绘画","route":"painting","tid":162,"ps":15,"rps":10,"desc":"绘画过程或绘画教程,以及绘画相关的所有视频","url":"//www.bilibili.com/video/ent-painting-1.html"},{"name":"日常","route":"daily","tid":21,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":275},"desc":"记录日常生活,分享生活故事","url":"//www.bilibili.com/video/ent-life-1.html"}]},{"name":"美食","route":"food","tid":211,"locid":4243,"count":"","isHide":true,"subMenuSize":164,"slider":{"width":620,"height":220},"viewTag":false,"customComponent":{"name":"Energy","leftId":4258,"rightId":4264},"sub":[{"name":"美食制作","route":"make","tid":76,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":4268},"desc":"学做人间美味,展示精湛厨艺","url":"#"},{"name":"美食侦探","route":"detective","tid":212,"ps":15,"rps":10,"desc":"寻找美味餐厅,发现街头美食","url":"#"},{"name":"美食测评","route":"measurement","tid":213,"ps":15,"rps":10,"desc":"吃货世界,品尝世间美味","url":"#"},{"name":"田园美食","route":"rural","tid":214,"ps":15,"rps":10,"desc":"品味乡野美食,寻找山与海的味道","url":"#"},{"name":"美食记录","route":"record","tid":215,"ps":15,"rps":10,"desc":"记录一日三餐,给生活添一点幸福感","url":"#"}]},{"name":"动物圈","route":"animal","tid":217,"locid":4365,"count":"","isHide":true,"subMenuSize":164,"slider":{"width":620,"height":220},"viewTag":false,"customComponent":{"name":"Energy","leftId":4376,"rightId":4381,"rightType":"slide"},"sub":[{"name":"喵星人","route":"cat","tid":218,"ps":15,"rps":10,"desc":"喵喵喵喵喵","url":"#","ad":{"active":true,"dataLocId":4385}},{"name":"汪星人","route":"dog","tid":219,"ps":15,"rps":10,"desc":"汪汪汪汪汪","url":"#"},{"name":"大熊猫","route":"panda","tid":220,"ps":15,"rps":10,"desc":"芝麻汤圆营业中","url":"#"},{"name":"野生动物","route":"wild_animal","tid":221,"ps":15,"rps":10,"desc":"内有“猛兽”出没","url":"#"},{"name":"爬宠","route":"reptiles","tid":222,"ps":15,"rps":10,"desc":"鳞甲有灵","url":"#"},{"name":"动物综合","route":"animal_composite","tid":75,"ps":15,"rps":10,"desc":"收录除上述子分区外,其余动物相关视频以及非动物主体或多个动物主体的动物相关延伸内容","url":"#"}]},{"name":"鬼畜","route":"kichiku","tid":119,"locid":100,"count":"","subMenuSize":182,"slider":{"width":620,"height":220},"viewTag":false,"customComponent":{"name":"Energy","titleId":2509,"leftId":2482,"rightId":2483},"sub":[{"name":"鬼畜调教","route":"guide","tid":22,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":285},"desc":"使用素材在音频、画面上做一定处理,达到与BGM一定的同步感","url":"//www.bilibili.com/video/ent-Kichiku-1.html"},{"name":"音MAD","route":"mad","tid":26,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":287},"desc":"使用素材音频进行一定的二次创作来达到还原原曲的非商业性质稿件","url":"//www.bilibili.com/video/douga-kichiku-1.html"},{"name":"人力VOCALOID","route":"manual_vocaloid","tid":126,"ps":15,"rps":10,"desc":"将人物或者角色的无伴奏素材进行人工调音,使其就像VOCALOID一样歌唱的技术","url":"//www.bilibili.com/video/kichiku-manual_vocaloid-1.html"},{"name":"鬼畜剧场","route":"theatre","tid":216,"ps":15,"rps":10,"desc":"使用素材进行人工剪辑编排的有剧情的作品"},{"name":"教程演示","route":"course","tid":127,"ps":10,"rps":6,"rightComponent":{"name":"CmImgList","id":148},"ad":{"active":true,"dataLocId":289},"hideDropdown":false,"desc":"鬼畜相关的教程演示","url":"//www.bilibili.com/video/kichiku-course-1.html"}]},{"name":"时尚","route":"fashion","tid":155,"locid":94,"count":"","subMenuSize":124,"slider":{"width":620,"height":220},"viewTag":false,"customComponent":{"name":"Energy","titleId":2515,"leftId":2492,"rightId":2493},"sub":[{"name":"美妆护肤","route":"makeup","tid":157,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":279},"desc":"彩妆护肤、美甲美发、仿妆、医美相关内容分享或产品测评","url":"//www.bilibili.com/video/fashion-makeup-fitness-1.html"},{"name":"穿搭","route":"clothing","tid":158,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":281},"desc":"穿搭风格、穿搭技巧的展示分享,涵盖衣服、鞋靴、箱包配件、配饰(帽子、钟表、珠宝首饰)等","url":"//www.bilibili.com/video/fashion-clothing-1.html"},{"name":"时尚潮流","route":"trend","tid":159,"ps":15,"rps":10,"desc":"时尚街拍、时装周、时尚大片,时尚品牌、潮流等行业相关记录及知识科普","url":"#"}]},{"name":"资讯","route":"information","tid":202,"locid":4076,"count":"","subMenuSize":60,"slider":{"width":620,"height":220},"viewTag":false,"sub":[{"name":"热点","route":"hotspot","tid":203,"ps":18,"rps":10,"desc":"全民关注的时政热门资讯"},{"name":"环球","route":"global","tid":204,"ps":18,"rps":10,"desc":"全球范围内发生的具有重大影响力的事件动态"},{"name":"社会","route":"social","tid":205,"ps":18,"rps":10,"desc":"日常生活的社会事件、社会问题、社会风貌的报道"},{"name":"综合","route":"multiple","tid":206,"ps":18,"rps":10,"desc":"除上述领域外其它垂直领域的综合资讯"}]},{"name":"娱乐","route":"ent","tid":5,"locid":82,"count":"","subMenuSize":62,"slider":{"width":620,"height":220},"viewTag":false,"customComponent":{"name":"Energy","titleId":2067,"leftId":2065,"rightId":2066},"sub":[{"name":"综艺","route":"variety","tid":71,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":267},"desc":"所有综艺相关,全部一手掌握!","url":"//www.bilibili.com/video/ent-variety-1.html"},{"name":"娱乐杂谈","route":"talker","tid":241,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":269},"desc":"娱乐人物解读、娱乐热点点评、娱乐行业分析"},{"name":"粉丝创作","route":"fans","tid":242,"ps":15,"rps":10,"desc":"粉丝向创作视频"},{"name":"明星综合","route":"celebrity","tid":137,"ps":15,"rps":10,"desc":"娱乐圈动态、明星资讯相关"}]},{"name":"影视","route":"cinephile","tid":181,"locid":2211,"count":"","subMenuSize":84,"slider":{"width":620,"height":220},"viewTag":false,"customComponent":{"name":"Energy","titleId":2309,"leftId":2307,"rightId":2308},"sub":[{"name":"影视杂谈","route":"cinecism","tid":182,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":2212},"desc":"影视评论、解说、吐槽、科普等","url":"//www.bilibili.com/video/cinephile-cinecism.html"},{"name":"影视剪辑","route":"montage","tid":183,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":2213},"desc":"对影视素材进行剪辑再创作的视频","url":"//www.bilibili.com/video/cinephile-montage.html"},{"name":"短片","route":"shortfilm","tid":85,"ps":15,"rps":10,"desc":"追求自我表达且具有特色的短片","url":"//www.bilibili.com/video/cinephile-shortfilm.html"},{"name":"预告·资讯","route":"trailer_info","tid":184,"ps":15,"rps":10,"ad":{"active":true,"dataLocId":2214},"desc":"影视类相关资讯,预告,花絮等视频","url":"//www.bilibili.com/video/cinephile-trailer-info.html"}]},{"name":"纪录片","route":"documentary","tid":177,"url":"//www.bilibili.com/documentary/","count":"","takeOvered":true,"hasParent":true,"combination":true,"sub":[{"name":"人文·历史","tid":37,"route":"history","dise":"","url":"//www.bilibili.com/video/doco-history.html"},{"name":"科学·探索·自然","tid":178,"route":"science","dise":"","url":"//www.bilibili.com/video/doco-science.html"},{"name":"军事","tid":179,"route":"military","dise":"","url":"//www.bilibili.com/video/doco-military.html"},{"name":"社会·美食·旅行","tid":180,"route":"travel","dise":"","url":"//www.bilibili.com/video/doco-travel.html"},{"name":"纪录片索引","url":"//www.bilibili.com/documentary/index/"}]},{"name":"电影","route":"movie","tid":23,"url":"//www.bilibili.com/movie/","count":"","takeOvered":true,"hasParent":true,"combination":true,"sub":[{"name":"华语电影","tid":147,"route":"chinese","desc":"","url":"//www.bilibili.com/video/movie_chinese_1.html"},{"name":"欧美电影","tid":145,"route":"west","desc":"","url":"//www.bilibili.com/video/movie_west_1.html"},{"name":"日本电影","tid":146,"route":"japan","desc":"","url":"//www.bilibili.com/video/movie_japan_1.html"},{"name":"其他国家","tid":83,"route":"movie","desc":"","url":"//www.bilibili.com/video/movie-movie-1.html"},{"name":"电影索引","url":"//www.bilibili.com/movie/index/"}]},{"name":"电视剧","route":"tv","tid":11,"url":"//www.bilibili.com/tv/","count":"","takeOvered":true,"hasParent":true,"combination":true,"sub":[{"name":"国产剧","tid":185,"route":"mainland","desc":"","url":"//www.bilibili.com/video/tv-mainland.html"},{"name":"海外剧","tid":187,"route":"overseas","desc":"","url":"//www.bilibili.com/video/tv-overseas.html"},{"name":"电视剧索引","url":"//www.bilibili.com/tv/index/"}]},{"name":"虚拟UP主","route":"virtual","locid":4735,"count":"","isHide":true,"subMenuSize":60,"slider":{"width":620,"height":220},"viewTag":false,"customComponent":{"name":"Energy","titleId":4754,"leftId":4756},"sub":[{"name":"游戏","route":"game","tid":4,"ps":18,"rps":10,"url":"//www.bilibili.com/v/virtual/game"},{"name":"音乐","route":"music","tid":3,"ps":18,"rps":10,"url":"//www.bilibili.com/v/virtual/music"},{"name":"动画","route":"douga","tid":1,"ps":18,"rps":10,"url":"//www.bilibili.com/v/virtual/douga"},{"name":"其他","route":"other","tid":0,"ps":18,"rps":10,"url":"//www.bilibili.com/v/virtual/other"}]}],[{"url":"//live.bilibili.com/all","name":"全部直播"},{"url":"//live.bilibili.com/p/eden/area-tags?parentAreaId=2&areaId=0","name":"网游直播"},{"url":"//live.bilibili.com/p/eden/area-tags?parentAreaId=3&areaId=0","name":"手游直播"},{"url":"//live.bilibili.com/p/eden/area-tags?parentAreaId=6&areaId=0","name":"单机直播"},{"url":"//live.bilibili.com/p/eden/area-tags?parentAreaId=1&areaId=0","name":"娱乐直播"},{"url":"//live.bilibili.com/p/eden/area-tags?parentAreaId=5&areaId=0","name":"电台直播"},{"url":"//live.bilibili.com/p/eden/area-tags?parentAreaId=9&areaId=0","name":"虚拟直播"},{"url":"//live.bilibili.com/p/eden/area-tags?parentAreaId=10&areaId=0","name":"生活直播"},{"url":"//live.bilibili.com/p/eden/area-tags?parentAreaId=11&areaId=0","name":"学习直播"}],[{"name":"会员购","url":"//show.bilibili.com/platform/home.html","icon":"icon-vip-buy"},{"name":"游戏中心","url":"//game.bilibili.com","icon":"icon-game"},{"name":"画友","url":"http://h.bilibili.com","icon":"icon-hy"},{"name":"芒果TV","url":"//www.bilibili.com/mango","icon":"icon-mango"}],[{"name":"专栏","report":"article","url":"//www.bilibili.com/read/home","icon":"read"},{"name":"直播","report":"live","url":"//live.bilibili.com","icon":"live","sub":[{"url":"//live.bilibili.com/all","name":"全部直播"},{"url":"//live.bilibili.com/p/eden/area-tags?parentAreaId=2&areaId=0","name":"网游直播"},{"url":"//live.bilibili.com/p/eden/area-tags?parentAreaId=3&areaId=0","name":"手游直播"},{"url":"//live.bilibili.com/p/eden/area-tags?parentAreaId=6&areaId=0","name":"单机直播"},{"url":"//live.bilibili.com/p/eden/area-tags?parentAreaId=1&areaId=0","name":"娱乐直播"},{"url":"//live.bilibili.com/p/eden/area-tags?parentAreaId=5&areaId=0","name":"电台直播"},{"url":"//live.bilibili.com/p/eden/area-tags?parentAreaId=9&areaId=0","name":"虚拟直播"},{"url":"//live.bilibili.com/p/eden/area-tags?parentAreaId=10&areaId=0","name":"生活直播"},{"url":"//live.bilibili.com/p/eden/area-tags?parentAreaId=11&areaId=0","name":"学习直播"}]},{"name":"活动","report":"activity","url":"//www.bilibili.com/blackboard/activity-list.html","icon":"activit"},{"name":"课堂","report":"cheese","url":"//www.bilibili.com/cheese/","icon":"zhishi"},{"name":"小黑屋","report":"blackroom","url":"//www.bilibili.com/blackroom/","icon":"blackroom"},{"name":"新歌热榜","report":"musicplus","url":"//www.bilibili.com/v/musicplus/","icon":"musicplus"}]]'),cn=e=>e.startsWith("//")?`https:${e}`:e.replace("http:","https:"),dn=ln[0].filter((e=>"string"!=typeof e.tid)),un=ln[3],pn={};dn.forEach((e=>{const t=cn(`https://www.bilibili.com/v/${e.route}/`);pn[e.name]={icon:e.route,code:e.tid,link:t,subCategories:e.sub?Object.fromEntries(e.sub.map((e=>{const n=cn(e.route?`${t}${e.route}/`:e.url);return[e.name,n]}))):null}})),un.forEach((e=>{pn[e.name]={icon:e.icon,code:null,link:cn(e.url),subCategories:e.sub?Object.fromEntries(e.sub.map((e=>[e.name,cn(e.url)]))):null}}));const fn=pn,hn=Object.fromEntries(dn.map((e=>[e.route,e.tid]))),mn=Object.fromEntries(Object.values(pn).map((e=>[e.icon,e.link]))),gn=async()=>{if(document.getElementById("be-category-icons"))return;const{default:e}=await Promise.resolve().then(n.bind(n,382));document.body.insertAdjacentHTML("beforeend",e)};var bn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"translate-container"},[e.working||e.translated?e._e():n("div",{staticClass:"translate",on:{click:function(t){return e.translate()}}},[n("VIcon",{attrs:{size:14,icon:"mdi-earth"}}),e._v("翻译\n ")],1),e._v(" "),e.translated?n("div",{staticClass:"translated"},[n("a",{attrs:{href:e.activeTranslator&&e.activeTranslator.link,target:"_blank"}},[e._v("\n 翻译自\n ")]),e._v(" "),n("VDropdown",{attrs:{items:Object.values(e.translateProviders),value:e.activeTranslator,"key-mapper":function(e){return e.name}},on:{change:function(t){return e.changeTranslator(t)}},scopedSlots:e._u([{key:"item",fn:function(t){var n=t.item;return[e._v("\n "+e._s(n.name)+"\n ")]}}],null,!1,1956376614)})],1):e._e(),e._v(" "),e.working?n("VIcon",{staticClass:"translating mdi-spin",attrs:{size:18,icon:"mdi-loading"}}):e._e(),e._v(" "),!e.working&&e.translated?n("div",{staticClass:"translate-result",domProps:{textContent:e._s(e.result)}}):e._e()],1)};bn._withStripped=!0;var vn=n(1993),yn=Vue.extend({components:{VDropdown:ce.VDropdown,VIcon:ce.VIcon},props:{text:{type:String,required:!0}},data:()=>({result:"",working:!1,translateProviders:vn.WK,activeTranslator:{}}),computed:{translated(){return""!==this.result}},methods:{changeTranslator(e){(0,U.getComponentSettings)("i18n").options.translator=e.name,this.translate()},async translate(){try{this.working=!0;const e=this.text.replace(/#(.+?)#/g,"");this.activeTranslator=(0,vn.Ty)();const t=this.activeTranslator;this.result=await t.translate(e)}catch(e){(0,re.logError)(e)}finally{this.working=!1}}}}),wn=n(4618),xn=n.n(wn),kn={insert:"head",singleton:!1},_n=(je()(xn(),kn),xn().locals,(0,Ue.Z)(yn,bn,[],!1,null,null,null));_n.options.__file="src/components/i18n/machine-translator/MachineTranslator.vue";var Cn=_n.exports;const Sn=e=>{void 0===e.radio&&(e.radio=!1);const{name:t,switches:i}=e,r={};return Object.entries(i).forEach((([e,{displayName:t,defaultValue:n}])=>{r[`switch-${e}`]={defaultValue:n,displayName:t,hidden:!0}})),i=>{const a=`${i.displayName}选项`,o={componentName:i.name,optionDisplayName:a};Object.assign(e,o),r[t]={defaultValue:e,displayName:a},i.options={...i.options,...r},i.widget||(i.widget={component:()=>Promise.resolve().then(n.bind(n,1299)).then((e=>e.default)),options:e});const s=i.entry;return i.entry=async(...e)=>{s?.(...e);const{name:t}=i,n=(0,U.getComponentSettings)(t).options;Object.keys(n).forEach((e=>{e.startsWith("switch-")&&(0,U.addComponentListener)(`${t}.${e}`,(n=>{document.body.classList.toggle(`${t}-${e}`,n)}),!0)}))},i}};const En={component:de,userComponent:ue,styledComponent:s,description:he,switchOptions:_,launchBar:{LaunchBar:n(3059).Z},feeds:{api:c,BangumiCard:Ze,VideoCard:Qe,ColumnCard:ot,disableProfilePopup:d,notify:u},video:{assUtils:p,playerLight:f,playerAgent:_t,videoDanmaku:h,videoInfo:m,videoQuality:g,videoContextMenu:b,videoControlBar:v,watchlater:l},live:{liveControlBar:y,liveSocket:w},utils:{commentApis:x,categories:{updater:sn,data:k}},i18N:{machineTranslator:{MachineTranslator:Cn}}};var $n=n(8900),An=n(1623),In=n(9543);const Tn={style:$n,plugin:An,data:ve,hook:In},On={ajax:C,cdnTypes:S,download:E,externalInput:$,filePicker:A,lifeCycle:I,loadingMode:T,meta:O,observer:L,reorder:i,runtimeLibrary:j,spinQuery:q,style:F,textColor:R,userInfo:r,version:a,settings:U,toast:se,themeColor:le,utils:{...X,constants:J,formatters:K,title:Y,i18n:Q,lazyPanel:o,log:re,sort:ae,urls:oe},ui:ce,componentApis:En,pluginApis:Tn},Ln={ajax:C,...S,...E,...$,...A,lifeCycle:I,...T,...O,observer:L,...i,runtimeLibrary:j,spinQuery:q,...F,...R,...r,...a,settingsApis:U,get settings(){return U.settings},...se,utils:{...X,...J,...K,...Y,...Q,...o,...re,...ae,...oe},ui:ce,componentApis:{...En.component,...En.userComponent,...En.styledComponent,...En.launchBar,...lodash.omit(En,"component","userComponent","styledComponent","launchBar")},pluginApis:{...Tn.style,...Tn.plugin,...Tn.data,...Tn.hook},monkeyApis:{GM_setValue:GM_setValue,GM_getValue:GM_getValue,GM_deleteValue:GM_deleteValue,GM_xmlhttpRequest:GM_xmlhttpRequest,GM_info:GM_info},lodash:lodash,Vue:Vue,sandboxWindow:window,theWorld:e=>{setTimeout((()=>{}),e)}}},5300:function(e,t,n){"use strict";let i;n.d(t,{h:function(){return i}}),function(e){e.Packed="打包下载",e.Individual="单独下载"}(i||(i={}))},4114:function(e,t,n){"use strict";n.r(t),n.d(t,{DownloadPackage:function(){return l}});var i=n(5300),r=n(391),a=n(6171),o=n(3708);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class l{constructor(e=[]){this.entries=e,s(this,"noEscape",!1)}add(e,t,n={}){null!=t&&this.entries.push({name:this.noEscape?e:(0,o.formatFilename)(e),data:t,options:n})}async blob(){if(0===this.entries.length)return null;if(1===this.entries.length){const{data:e}=this.entries[0];return"string"==typeof e?new Blob([e]):e}const e=new(await r.JSZipLibrary);return this.entries.forEach((({name:t,data:n,options:i})=>{e.file(t,n,i)})),e.generateAsync({type:"blob"})}async emit(e){if(0===this.entries.length)return;e&&1!==this.entries.length||(e=this.entries[0].name);if((0,a.getGeneralSettings)().downloadPackageEmitMode===i.h.Individual&&this.entries.length>1)return void await Promise.all(this.entries.map((e=>l.single(e.name,e.data,e.options))));const t=await this.blob();t&&l.download(e,t)}static download(e,t){const n=document.createElement("a"),i=URL.createObjectURL(t);l.lastPackageUrl&&URL.revokeObjectURL(l.lastPackageUrl),l.lastPackageUrl=i;const r=(0,o.formatFilename)(e);n.setAttribute("href",i),n.setAttribute("download",r),console.log("[Download file]",r),document.body.appendChild(n),n.click(),n.remove()}static async single(e,t,n={}){const i=new l;return i.add(e,t,n),i.emit()}}s(l,"lastPackageUrl","")},7731:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{parseExternalInput:function(){return parseExternalInput},batchParseCode:function(){return batchParseCode}});var _file_picker__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7590);const parseExternalInput=async input=>{if(void 0===input){const files=await(0,_file_picker__WEBPACK_IMPORTED_MODULE_0__.pickFile)({accept:"application/json"});if(!(files.length>0))return console.error("[parseExternalInput] No file selected"),null;{const[file]=files,text=await file.text();try{return eval(`(${text})`)}catch(e){return console.error(e),null}}}else{if("string"!=typeof input)return input;try{const exports={},result=eval(input);if(Object.values(exports).length>0){const e=Object.values(exports)[0];return e}return result}catch(e){return console.error(e),null}}},batchParseCode=async inputs=>{try{const exports={},result=inputs.map((input=>eval(input)));if(Object.values(exports).length>0){const{coreApis:e}=await Promise.resolve().then(__webpack_require__.bind(__webpack_require__,9388));return Object.values(exports).map((t=>"function"==typeof t?t(e):t))}return result}catch(e){return console.error(e),null}}},7590:function(e,t,n){"use strict";let i,r;n.r(t),n.d(t,{pickFile:function(){return o}});const a={accept:"*",multiple:!1},o=async(e=a)=>{const{accept:t,multiple:n}={...a,...e};i||(i=document.createElement("input"),i.type="file",i.style.display="none",document.body.appendChild(i),i.addEventListener("change",(()=>{r?.([...i.files]),r=null}))),i.accept=t,i.multiple=n,i.value="",r&&r([]);return await new Promise((e=>{r=e,i.click()}))}},9513:function(e,t,n){"use strict";n.r(t),n.d(t,{tryParseZip:function(){return s},installFeatureFromCode:function(){return l},installFeature:function(){return c}});var i=n(7010),r=n(9543),a=n(1623),o=n(8900);const s=async e=>{const{JSZipLibrary:t}=await Promise.resolve().then(n.bind(n,391)),{monkey:i}=await Promise.resolve().then(n.bind(n,7195)),r=e.endsWith(".zip"),a=r?"blob":"text",o=await i({url:e,method:"GET",responseType:a});if(!r||"string"==typeof o)return o;const s=await t,l=await s.loadAsync(o),c=Object.values(l.files);if(0===c.length)throw new Error("Empty zip file");return c[0].async("text")},l=async(e,t)=>{const{parseExternalInput:s}=await Promise.resolve().then(n.bind(n,7731)),l=await s(e),{type:c,installer:d}=(()=>{if((e=>"entry"in e)(l))return{type:"component",installer:()=>(0,i.installComponent)(e)};if((e=>"setup"in e)(l))return{type:"plugin",installer:()=>(0,a.installPlugin)(e)};if((e=>"style"in e)(l))return{type:"style",installer:()=>(0,o.installStyle)(e)};throw new Error("无效的功能代码")})(),{before:u,after:p}=(0,r.getHook)(`user${lodash.startCase(c)}s.add`,e,t);await u();const f=await d();return await p(f.metadata),f},c=async e=>{const t=await s(e);return l(t,e)}},7177:function(e,t,n){"use strict";n.r(t),n.d(t,{headLoaded:function(){return r},contentLoaded:function(){return a},fullyLoaded:function(){return o},LifeCycleEventTypes:function(){return s},raiseLifeCycleEvent:function(){return l}});var i=n(3420);const r=e=>new Promise((t=>{if(null!==document.head)t(e());else{const[n]=(0,i.childList)(document.documentElement,(()=>{null!==document.head&&(n.disconnect(),t(e()))}))}})),a=e=>new Promise((t=>{"loading"!==document.readyState?t(e()):document.addEventListener("DOMContentLoaded",(()=>t(e())))})),o=e=>new Promise((t=>{"complete"===document.readyState?t(e()):unsafeWindow.addEventListener("load",(()=>t(e())))}));let s;!function(e){e.Start="be:start",e.StyleLoaded="be:style-loaded",e.ComponentsLoaded="be:components-loaded",e.End="be:end"}(s||(s={}));const l=e=>{unsafeWindow.dispatchEvent(new CustomEvent(e))}},4345:function(e,t,n){"use strict";let i;n.r(t),n.d(t,{LoadingMode:function(){return i}}),function(e){e.Delay="延后",e.Race="同时"}(i||(i={}))},1836:function(e,t,n){"use strict";n.r(t),n.d(t,{branches:function(){return a},meta:function(){return s}});var i=JSON.parse('{"version":"2.0.4","author":"Grant Howard, Coulomb-G","copyright":"[year], Grant Howard (https://github.com/the1812) & Coulomb-G (https://github.com/Coulomb-G)","licence":"MIT","match":"*://*.bilibili.com/*","exclude":["*://api.bilibili.com/*","*://api.*.bilibili.com/*","*://*.bilibili.com/api/*","*://member.bilibili.com/studio/bs-editor/*","*://t.bilibili.com/h5/dynamic/specification","*://bbq.bilibili.com/*"],"run-at":"document-start","supportURL":"https://github.com/the1812/Bilibili-Evolved/issues","homepage":"https://github.com/the1812/Bilibili-Evolved","grant":["unsafeWindow","GM_getValue","GM_setValue","GM_deleteValue","GM_info","GM_xmlhttpRequest"],"connect":["raw.githubusercontent.com","github.com","cdn.jsdelivr.net","cn.bing.com","www.bing.com","translate.google.cn","translate.google.com","localhost","*"],"require":["https://cdn.jsdelivr.net/npm/lodash@4.17.21/lodash.min.js"],"icon":"https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/images/logo-small.png","icon64":"https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/images/logo.png"}'),r=n(2462);i.copyright=i.copyright.replace(/\[year\]/g,(new Date).getFullYear().toString());const a={stable:"v2",preview:"preview"},o={commitHash:"24ea310e8615450c4cc736e2680c7596827c1af9",branch:"preview",nearestTag:"v2.0.4-preview",versionWithTag:"v2.0.4-preview-4-g24ea310e8"},s={compilationInfo:o,name:GM_info.script.name,description:GM_info.script.description,get originalFilename(){const{branch:e}=o;return e===a.stable?"bilibili-evolved.user.js":`bilibili-evolved.${e}.user.js`},get updateURL(){return`${r.cdnRoots.jsDelivr(o.branch)}dist/${this.originalFilename}`},get downloadURL(){return this.updateURL},...i}},3420:function(e,t,n){"use strict";n.r(t),n.d(t,{childList:function(){return l},childListSubtree:function(){return c},attributes:function(){return d},attributesSubtree:function(){return u},characterData:function(){return p},characterDataSubtree:function(){return f},allMutationsOn:function(){return h},allMutations:function(){return g},visible:function(){return v},visibleInside:function(){return y},sizeChange:function(){return w},urlChange:function(){return k},videoChange:function(){return S}});var i=n(1906),r=n(5550),a=n(7735);const o=e=>"string"==typeof e?(0,i.dqa)(e):Array.isArray(e)?e:[e],s=(e,t,n)=>{const i=new MutationObserver(n);return e.forEach((e=>i.observe(e,t))),n([],i),[i,t]},l=(e,t)=>s(o(e),{childList:!0,subtree:!1,attributes:!1},t),c=(e,t)=>s(o(e),{childList:!0,subtree:!0,attributes:!1},t),d=(e,t)=>s(o(e),{childList:!1,subtree:!1,attributes:!0},t),u=(e,t)=>s(o(e),{childList:!1,subtree:!0,attributes:!0},t),p=(e,t)=>s(o(e),{childList:!1,subtree:!1,attributes:!1,characterData:!0},t),f=(e,t)=>s(o(e),{childList:!1,subtree:!0,attributes:!1,characterData:!0},t),h=(e,t)=>s(o(e),{childList:!0,subtree:!0,attributes:!0,characterData:!0},t),m={observer:null,config:null,callbacks:[]},g=e=>{if(m.observer)m.callbacks.push(e);else{m.callbacks.push(e);const[t,n]=h(document.body,(e=>m.callbacks.forEach((t=>t(e,m.observer)))));m.observer=t,m.config=n}return m},b=(e,t,n)=>{const i=new IntersectionObserver(n,t);return e.forEach((e=>i.observe(e))),[i,t]},v=(e,t)=>b(o(e),{},t),y=(e,t,n,i)=>b(o(e),{root:t,rootMargin:n},i),w=(e,t)=>((e,t,n)=>{const i=new ResizeObserver(n);return e.forEach((e=>i.observe(e,t))),[i,t]})(o(e),{box:"border-box"},t),x=lodash.once((()=>{let e=document.URL;g((()=>{e!==document.URL&&((()=>{const e=new CustomEvent("urlChange",{detail:document.URL});window.dispatchEvent(e)})(),e=document.URL)}))})),k=(e,t)=>{x(),e(document.URL),window.addEventListener("urlChange",(()=>e(document.URL)),t)},_=lodash.once((()=>(0,r.select)((()=>{if(unsafeWindow.cid)return unsafeWindow.cid;if(unsafeWindow.player&&unsafeWindow.player.getVideoMessage){const e=unsafeWindow.player.getVideoMessage();return Number.isNaN(e.cid)?null:(!unsafeWindow.aid&&e.aid&&(unsafeWindow.aid=e.aid.toString()),!unsafeWindow.bvid&&e.bvid&&(unsafeWindow.bvid=e.bvid),e.cid.toString())}return null}))));let C=!1;const S=async(e,t)=>{if(!(0,a.matchCurrentPage)(a.playerUrls))return!1;const{bpxPlayerPolyfill:i}=await Promise.resolve().then(n.bind(n,6958));i();const r=await _();if(null===r)return!1;const o=()=>({aid:unsafeWindow.aid,cid:unsafeWindow.cid});if(!C){let e=r;Object.defineProperty(unsafeWindow,"cid",{get:()=>e,set(t){e=t,Array.isArray(t)||(()=>{const e=o(),t=new CustomEvent("videoChange",{detail:e});window.dispatchEvent(t)})()}}),C=!0}return e(o()),window.addEventListener("videoChange",(t=>e(t.detail)),t),!0}},1485:function(e,t,n){"use strict";n.r(t),n.d(t,{componentLoadTime:function(){return i},componentResolveTime:function(){return r},componentLoadTrace:function(){return a}});const i=new Map,r=new Map,a=async e=>{const{getGeneralSettings:t}=await Promise.resolve().then(n.bind(n,6171));if(!t().devMode)return;const a=e.entry;e.entry=async e=>{const{metadata:t}=e,n=performance.now();let o=a(e);const s=performance.now();o instanceof Promise&&(o=await o);const l=performance.now();return i.set(t,s-n),r.set(t,l-n),o}}},8970:function(e,t,n){"use strict";n.r(t),n.d(t,{pluginLoadTime:function(){return i},pluginResolveTime:function(){return r},pluginLoadTrace:function(){return a}});const i=new Map,r=new Map,a=async e=>{const{getGeneralSettings:t}=await Promise.resolve().then(n.bind(n,6171));if(!t().devMode)return;const a=e.setup;e.setup=async t=>{const n=performance.now();let o=a(t);const s=performance.now();o instanceof Promise&&(o=await o);const l=performance.now();return i.set(e,s-n),r.set(e,l-n),o}}},719:function(e,t,n){"use strict";n.r(t),n.d(t,{promiseLoadTime:function(){return i},promiseResolveTime:function(){return r},promiseLoadTrace:function(){return a}});const i=new Map,r=new Map,a=async(e,t)=>{const{getGeneralSettings:a}=await Promise.resolve().then(n.bind(n,6171));if(!a().devMode)return t();const o=performance.now(),s=t(),l=performance.now(),c=await s,d=performance.now();return i.set({name:e},l-o),r.set({name:e},d-o),c}},9476:function(e,t,n){"use strict";n.r(t),n.d(t,{logStats:function(){return i}});const i=(e,t)=>{const n=[...t.entries()],i=n.reduce(((e,t)=>e+t[1]),0);console.groupCollapsed(`${e} time:`,Math.round(100*i)/100+"ms",`for ${n.length} items`),n.forEach((([e,t])=>{console.log(`%c${e.name} %c${Math.round(100*t)/100}ms ${Math.round(t/i*1e4)/100}% %c`,"color: #00A0D8","color: #888","color: unset")})),console.groupEnd()}},391:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{RuntimeLibrary:function(){return RuntimeLibrary},protobufLibrary:function(){return protobufLibrary},JSZipLibrary:function(){return JSZipLibrary},SortableJSLibrary:function(){return SortableJSLibrary}});var _ajax__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7195);function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class RuntimeLibrary{constructor(e){this.config=e,_defineProperty(this,"modulePromise",void 0)}async then(resolve,reject){try{const{url:url,getModule:getModule}=this.config;this.modulePromise||(this.modulePromise=(async()=>{console.log(`[Runtime Library] Start download from ${url}`);const code=await(0,_ajax__WEBPACK_IMPORTED_MODULE_0__.monkey)({url:url});return console.log(`[Runtime Library] Downloaded from ${url} , length = ${code.length}`),function runEval(){return eval(code);// eslint-disable-next-line no-extra-bind
|
||
}.bind(window)(),getModule(window)})());const library=await this.modulePromise;return resolve(library)}catch(e){throw reject(e),e}}}const protobufLibrary=new RuntimeLibrary({url:"https://cdn.jsdelivr.net/npm/protobufjs@6.10.1/dist/light/protobuf.min.js",getModule:e=>e.protobuf}),JSZipLibrary=new RuntimeLibrary({url:"https://cdn.jsdelivr.net/npm/jszip@3.7.1/dist/jszip.min.js",getModule:e=>e.JSZip}),SortableJSLibrary=new RuntimeLibrary({url:"https://cdn.jsdelivr.net/npm/sortablejs@1.14.0/Sortable.min.js",getModule:e=>e.Sortable})},5605:function(e,t,n){"use strict";n.r(t),n.d(t,{componentOptionsToSettings:function(){return o},componentToSettings:function(){return s},isUserComponent:function(){return l},isUserPlugin:function(){return c},getComponentSettings:function(){return u},getGeneralSettings:function(){return p},isComponentEnabled:function(){return f}});var i=n(8171),r=n(6171),a=n(1906);const o=e=>lodash.fromPairs(Object.entries(e).map((([e,t])=>[e,t.defaultValue]))),s=e=>({enabled:e.enabledByDefault??!0,options:e.options?o(e.options):{}}),l=e=>{const t="string"==typeof e?e:e.name;return Boolean(r.settings.userComponents[t])},c=e=>{const t="string"==typeof e?e:e.name;return Boolean(r.settings.userPlugins[t])},d={enabled:!1,options:new Proxy({},{get:()=>!1})},u=e=>{if("string"==typeof e){const t=i.componentsMap[e];if(void 0===t)return r.settings.components.settingsPanel.options.devMode&&console.warn("No settings found for component:",e),d;e=t}if(l(e)){const{name:t}=e;return r.settings.userComponents[t]?.settings??d}return r.settings.components[e.name]},p=()=>u("settingsPanel").options,f=e=>("string"==typeof e&&(e=i.componentsMap[e]),(!e.urlExclude||!e.urlExclude.some(a.matchUrlPattern))&&((!e.urlInclude||!e.urlInclude.every(lodash.negate(a.matchUrlPattern)))&&(!1===e.configurable?e.enabledByDefault??!0:u(e).enabled)))},6171:function(e,t,n){"use strict";n.r(t),n.d(t,{isProxy:function(){return c},createProxy:function(){return d},defaultSettings:function(){return u},addSettingsChangeListener:function(){return p},removeSettingsChangeListener:function(){return f},addComponentListener:function(){return m},removeComponentListener:function(){return g},settings:function(){return b},componentOptionsToSettings:function(){return a.componentOptionsToSettings},componentToSettings:function(){return a.componentToSettings},getComponentSettings:function(){return a.getComponentSettings},getGeneralSettings:function(){return a.getGeneralSettings},isComponentEnabled:function(){return a.isComponentEnabled},isUserComponent:function(){return a.isUserComponent},isUserPlugin:function(){return a.isUserPlugin}});var i=n(8171),r=n(1623),a=n(5605);let o={userStyles:{},userPlugins:{},userComponents:{},components:{},plugins:{}},s=!1;const l=new Map,c=Symbol("isProxy"),d=(e,t)=>{const n=(e,i,r=[])=>{for(const[t,a]of Object.entries(e))"object"!=typeof a||a instanceof RegExp||(e[t]=n(a,i||t,[...r,t]));return new Proxy(e,{get:(e,t)=>t===c||e[t],set(e,a,o){"object"!=typeof o||o instanceof RegExp||!0===o[c]||(o=n(o,i||a,[...r,a]));const s=e[a];return e[a]=o,t(o,s,i||a,[...r,a]),!0},deleteProperty(e,n){const a=e[n];return delete e[n],t(void 0,a,i||n,[...r,n]),!0}})};return n(e)};r.plugins.forEach((e=>{o.plugins[e.name]=!0})),i.components.forEach((e=>{o.components[e.name]=(0,a.componentToSettings)(e)}));const u=lodash.cloneDeep(o);o=d((e=>{for(const[t,n]of Object.entries(e)){let i;const r=GM_getValue(t,n);i="object"==typeof r?lodash.defaultsDeep(r,n):r,e[t]=i}return e})(o),((e,t,n,i=[])=>{if(s){GM_setValue(n.toString(),o[n.toString()]);const r=i.join(".");if(i.length>1){const e=i.slice(0,i.length-1).join("."),t=lodash.get(o,e);if(Array.isArray(t)||lodash.isPlainObject(t)){l.get(e)?.forEach((e=>e(t,null,n,i)))}}l.get(r)?.forEach((r=>r(e,t,n,i)))}}));for(const[e,t]of Object.entries(o))GM_setValue(e,t);const p=(e,t,n=!1)=>{const i=l.get(e);if(i?i.push(t):l.set(e,[t]),n){const n=lodash.get(o,e);t(n,n,"",[])}},f=(e,t)=>{const n=l.get(e);if(!n)return;const i=n.indexOf(t);-1!==i&&n.splice(i,1)},h=e=>{const[t,n]=e.split(".");return(0,a.isUserComponent)(t)?void 0===n?`userComponents.${t}.settings.enabled`:`userComponents.${t}.settings.options.${n}`:void 0===n?`components.${t}.enabled`:`components.${t}.options.${n}`},m=(e,t,n=!1)=>{p(h(e),t,n)},g=(e,t)=>{f(h(e),t)};s=!0;const b=o},5550:function(e,t,n){"use strict";n.r(t),n.d(t,{sq:function(){return o},select:function(){return c},selectLazy:function(){return d},selectAll:function(){return f},selectAllLazy:function(){return h},count:function(){return m},hasVideo:function(){return b}});var i=n(3420),r=n(1906);const a={maxRetry:15,queryInterval:1e3},o=(e,t=(e=>Boolean(e)),n=a)=>{const i={...a,...n};return new Promise((n=>{let a=null,o=0;const s=()=>{n(a)},l=()=>{o>i.maxRetry?n(null):(a=e(),!0===t(a,s)?n(a):setTimeout((()=>{"undefined"!=typeof document?(0,r.waitForForeground)((()=>{o++,l()})):l()}),i.queryInterval))};l()}))},s=new Map,l=(e,t)=>{let n;if("string"==typeof e){if(s.has(e))return s.get(e);n=()=>document.querySelector((0,r.bwpVideoFilter)(e))}else n=e;const i=t(n);if("string"==typeof e){const t=i.then((t=>(s.delete(e),t)));return s.set(e,t),t}return i},c=(e,t)=>l(e,(e=>o(e,(e=>null!=e),t))),d=e=>l(e,(e=>new Promise((t=>{(0,i.allMutations)((()=>{const n=e();null!=n&&t(n)}))})))),u=new Map,p=(e,t)=>{let n;if("string"==typeof e){if(u.has(e))return u.get(e);n=()=>Array.from(document.querySelectorAll((0,r.bwpVideoFilter)(e)))}else n=e;const i=e=>null===e?[]:e,a=t(n);if("string"==typeof e){const t=a.then((t=>(u.delete(e),i(t))));return u.set(e,t),t}return a.then((e=>i(e)))},f=(e,t)=>p(e,(e=>o(e,(e=>e.length>0),t))),h=e=>p(e,(e=>new Promise((t=>{(0,i.allMutations)((()=>{const n=e();null!=n&&t(n)}))})))),m=(e,t,n)=>o(e,(e=>e.length===t),n);let g;const b=async()=>{g||(g=new Promise((e=>(0,i.videoChange)((()=>e(unsafeWindow.cid))))));const e=await g;return Boolean(e)}},6182:function(e,t,n){"use strict";n.r(t),n.d(t,{getDefaultStyleID:function(){return r},addStyle:function(){return a},addImportantStyle:function(){return o},removeStyle:function(){return s},loadInstantStyle:function(){return l},preloadStyles:function(){return c},loadAllCustomStyles:function(){return d}});var i=n(7177);const r=e=>e.replace(/([a-z][A-Z])/g,(e=>`${e[0]}-${e[1].toLowerCase()}`)),a=(e,t,n)=>{const i=t?r(t):null,a=dq(`#${i}`);if(!a||!t){const t=document.createElement("style");return t.id=i,t.textContent=e,(n||document.head).insertAdjacentElement("beforeend",t),t}return a},o=(e,t)=>a(e,t,document.body),s=(...e)=>{e.forEach((e=>{const t=r(e);dqa(`#${t}`).forEach((e=>e.remove()))}))},l=async(e,t={head:document.head,body:document.body})=>{e.instantStyles?.forEach((async e=>{const n=document.createElement("style");if(n.id=r(e.name),"string"==typeof e.style)n.textContent=e.style;else{const{default:t}=await e.style();n.textContent=t}e.important?t.body.appendChild(n):t.head.appendChild(n)}))},c=lodash.once((async()=>{const{LoadingMode:e}=await Promise.resolve().then(n.bind(n,4345)),{addHook:t}=await Promise.resolve().then(n.bind(n,9543)),{getGeneralSettings:a,settings:o,isComponentEnabled:c,isUserComponent:d,addComponentListener:u,removeComponentListener:p}=await Promise.resolve().then(n.bind(n,6171)),f=async()=>{const{components:e}=await Promise.resolve().then(n.bind(n,8171)),a=document.createDocumentFragment(),f=document.createDocumentFragment();await Promise.all(e.map((e=>{const n=t=>t?l(e):e.instantStyles?.forEach((e=>s(e.name)));if(u(e.name,n),d(e)&&t("userComponents.remove",{after:t=>{t.name===e.name&&p(e.name,n)}}),c(e))return l(e,{head:a,body:f})})));const{UserStyleMode:h}=await Promise.resolve().then(n.bind(n,8900));Object.values(o.userStyles).filter((e=>e.mode===h.Instant)).forEach((e=>{const t=document.createElement("style");t.id=r(e.name),t.textContent=e.style,a.appendChild(t)})),document.head.appendChild(a),(0,i.contentLoaded)((()=>document.body.appendChild(f)))};a().styleLoadingMode===e.Delay?await(0,i.contentLoaded)(f):await f(),(0,i.contentLoaded)((async()=>{const{initColors:e}=await Promise.resolve().then(n.bind(n,8208)),{initMdiStyle:t}=await Promise.resolve().then(n.bind(n,3007));document.head.appendChild(e()),document.head.appendChild(t())}))})),d=async()=>{const{settings:e}=await Promise.resolve().then(n.bind(n,6171)),{UserStyleMode:t}=await Promise.resolve().then(n.bind(n,8900));(0,i.contentLoaded)((()=>{Object.values(e.userStyles).filter((e=>e.mode===t.Important)).forEach((e=>{a(e.style,e.name,document.body)}))})),Object.values(e.userStyles).filter((e=>e.mode===t.Default)).forEach((e=>{a(e.style,e.name,document.head)}))}},6314:function(e,t,n){"use strict";let i;n.r(t),n.d(t,{TextColor:function(){return i}}),function(e){e.Auto="自动",e.White="白色",e.Black="黑色"}(i||(i={}))},8208:function(e,t,n){"use strict";n.r(t),n.d(t,{initColors:function(){return l}});var i=n(6767),r=n.n(i),a=n(6171);const o=(e,t)=>{const n=t.hue()-e.hue(),i=100*((t.saturationv()-e.saturationv())/100+1),r=e=>Math.round(10*e)/10;return`hue-rotate(${r(n)}deg) saturate(${r(i)}%)`};var s=n(6314);const l=()=>{const e=document.createElement("style"),t=new Map,n=(e,n)=>{t.set(e,n)},i=lodash.debounce((()=>{e.textContent=`\n html {\n ${[...t.entries()].map((([e,t])=>`${e}: ${t};`)).join("\n")}\n }\n `.trim()}),100);return(0,a.addComponentListener)("settingsPanel.themeColor",(e=>{n("--theme-color",e);for(let t=10;t<=90;t+=10){const i=r()(e,"hex");n(`--theme-color-${t}`,i.alpha(t/100).rgb().string()),n(`--theme-color-lightness-${t}`,i.lightness(t).rgb().toString())}n("--pink-image-filter",o(r()({r:251,g:113,b:152},"rgb"),r()(e,"hex"))),n("--blue-image-filter",o(r()({r:0,g:160,b:213},"rgb"),r()(e,"hex"))),i()}),!0),(0,a.addComponentListener)("settingsPanel.accentColor",(e=>{n("--accent-color",e),i()}),!0),(0,a.addComponentListener)("settingsPanel.textColor",(e=>{let t;t=e===s.TextColor.Auto?r()(a.settings.themeColor).isLight()?"black":"white":e===s.TextColor.Black?"black":"white",n("--text-color",t),n("--foreground-color",t),n("--foreground-color-d",r()(t,"keyword").alpha(.875).rgb().string()),n("--foreground-color-b",r()(t,"keyword").alpha(.75).rgb().string()),n("--brightness",("black"===t?"100":"0")+"%"),n("--invert-filter","black"===t?"invert(0)":"invert(1)"),i()}),!0),e}},5683:function(e,t,n){"use strict";n.r(t),n.d(t,{Toast:function(){return b},ToastType:function(){return m}});var i=n(1906),r=n(8333),a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition-group",{staticClass:"toast-card-container",attrs:{name:"toast-card-container",tag:"div"}},e._l(e.cards,(function(e){return n("ToastCard",{key:e.key,attrs:{"data-key":e.key,card:e}})})),1)};a._withStripped=!0;var o=Vue.extend({components:{ToastCard:()=>Promise.resolve().then(n.bind(n,7300)).then((e=>e.default))},data:()=>({cards:[]})}),s=n(3379),l=n.n(s),c=n(848),d=n.n(c),u={insert:"head",singleton:!1},p=(l()(d(),u),d().locals,(0,n(1900).Z)(o,a,[],!1,null,null,null));p.options.__file="src/core/toast/ToastCardContainer.vue";var f=p.exports;function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let m,g;!function(e){e.Default="default",e.Info="info",e.Success="success",e.Error="error"}(m||(m={}));class b{constructor(e="",t="",n=m.Default){this.message=e,this.title=t,this.type=n,h(this,"durationNumber",3e3),h(this,"durationTimeout",0),h(this,"creationTime",Number(new Date)),h(this,"randomKey",Math.floor(Math.random()*(Number.MAX_SAFE_INTEGER+1)))}static get containerVM(){return g||b.createToastContainer(),g}static createToastContainer(){dq(".toast-card-container")||(g=(0,i.mountVueComponent)(f),document.body.insertAdjacentElement("beforeend",g.$el))}get element(){return dq(`.toast-card[data-key='${this.key}']`)}get key(){return`${this.creationTime}[${this.randomKey}]`}get duration(){return this.durationNumber}set duration(e){this.durationNumber=e,this.durationTimeout&&this.clearDuration(),this.setDuration()}show(){b.containerVM.cards.unshift(this),this.setDuration()}dismiss(){b.containerVM.cards.includes(this)&&b.containerVM.cards.splice(b.containerVM.cards.indexOf(this),1),this.clearDuration()}setDuration(){void 0!==this.durationNumber&&(this.durationTimeout=window.setTimeout((()=>this.dismiss()),this.durationNumber))}clearDuration(){window.clearTimeout(this.durationTimeout),this.durationTimeout=0}static internalShow(e,t,n,i){const r=new b(e,t,i);return r.duration=n,r.show(),r}static show(e,t,n){return this.internalShow(e,t,n,m.Default)}static info(e,t,n){return this.internalShow(e,t,n,m.Info)}static success(e,t,n){return this.internalShow(e,t,n,m.Success)}static error(e,t,n){return this.internalShow(e,t,n,m.Error)}static mini(...e){return(0,r.$)(...e)}}},8333:function(e,t,n){"use strict";function i(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function a(e){var t=r(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function o(e){return e instanceof r(e).Element||e instanceof Element}function s(e){return e instanceof r(e).HTMLElement||e instanceof HTMLElement}function l(e){return"undefined"!=typeof ShadowRoot&&(e instanceof r(e).ShadowRoot||e instanceof ShadowRoot)}function c(e){return e?(e.nodeName||"").toLowerCase():null}function d(e){return((o(e)?e.ownerDocument:e.document)||window.document).documentElement}function u(e){return i(d(e)).left+a(e).scrollLeft}function p(e){return r(e).getComputedStyle(e)}function f(e){var t=p(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function h(e,t,n){void 0===n&&(n=!1);var o,l,p=d(t),h=i(e),m=s(t),g={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(m||!m&&!n)&&(("body"!==c(t)||f(p))&&(g=(o=t)!==r(o)&&s(o)?{scrollLeft:(l=o).scrollLeft,scrollTop:l.scrollTop}:a(o)),s(t)?((b=i(t)).x+=t.clientLeft,b.y+=t.clientTop):p&&(b.x=u(p))),{x:h.left+g.scrollLeft-b.x,y:h.top+g.scrollTop-b.y,width:h.width,height:h.height}}function m(e){var t=i(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function g(e){return"html"===c(e)?e:e.assignedSlot||e.parentNode||(l(e)?e.host:null)||d(e)}function b(e){return["html","body","#document"].indexOf(c(e))>=0?e.ownerDocument.body:s(e)&&f(e)?e:b(g(e))}function v(e,t){var n;void 0===t&&(t=[]);var i=b(e),a=i===(null==(n=e.ownerDocument)?void 0:n.body),o=r(i),s=a?[o].concat(o.visualViewport||[],f(i)?i:[]):i,l=t.concat(s);return a?l:l.concat(v(g(s)))}function y(e){return["table","td","th"].indexOf(c(e))>=0}function w(e){return s(e)&&"fixed"!==p(e).position?e.offsetParent:null}function x(e){for(var t=r(e),n=w(e);n&&y(n)&&"static"===p(n).position;)n=w(n);return n&&("html"===c(n)||"body"===c(n)&&"static"===p(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&s(e)&&"fixed"===p(e).position)return null;for(var n=g(e);s(n)&&["html","body"].indexOf(c(n))<0;){var i=p(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}n.d(t,{$:function(){return st}});var k="top",_="bottom",C="right",S="left",E="auto",$=[k,_,C,S],A="start",I="end",T="viewport",O="popper",L=$.reduce((function(e,t){return e.concat([t+"-"+A,t+"-"+I])}),[]),M=[].concat($,[E]).reduce((function(e,t){return e.concat([t,t+"-"+A,t+"-"+I])}),[]),P=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function z(e){var t=new Map,n=new Set,i=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&r(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),i}var D={placement:"bottom",modifiers:[],strategy:"absolute"};function V(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function B(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,r=t.defaultOptions,a=void 0===r?D:r;return function(e,t,n){void 0===n&&(n=a);var r,s,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},D,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],d=!1,u={state:l,setOptions:function(n){p(),l.options=Object.assign({},a,l.options,n),l.scrollParents={reference:o(e)?v(e):e.contextElement?v(e.contextElement):[],popper:v(t)};var r=function(e){var t=z(e);return P.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(i,l.options.modifiers)));return l.orderedModifiers=r.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var a=r({state:l,name:t,instance:u,options:i}),o=function(){};c.push(a||o)}})),u.update()},forceUpdate:function(){if(!d){var e=l.elements,t=e.reference,n=e.popper;if(V(t,n)){l.rects={reference:h(t,x(n),"fixed"===l.options.strategy),popper:m(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<l.orderedModifiers.length;i++)if(!0!==l.reset){var r=l.orderedModifiers[i],a=r.fn,o=r.options,s=void 0===o?{}:o,c=r.name;"function"==typeof a&&(l=a({state:l,options:s,name:c,instance:u})||l)}else l.reset=!1,i=-1}}},update:(r=function(){return new Promise((function(e){u.forceUpdate(),e(l)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(r())}))}))),s}),destroy:function(){p(),d=!0}};if(!V(e,t))return u;function p(){c.forEach((function(e){return e()})),c=[]}return u.setOptions(n).then((function(e){!d&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var N={passive:!0};// eslint-disable-next-line import/no-unused-modules
|
||
// eslint-disable-next-line import/no-unused-modules
|
||
var j={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,a=i.scroll,o=void 0===a||a,s=i.resize,l=void 0===s||s,c=r(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach((function(e){e.addEventListener("scroll",n.update,N)})),l&&c.addEventListener("resize",n.update,N),function(){o&&d.forEach((function(e){e.removeEventListener("scroll",n.update,N)})),l&&c.removeEventListener("resize",n.update,N)}},data:{}};function q(e){return e.split("-")[0]}function F(e){return e.split("-")[1]}function R(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function U(e){var t,n=e.reference,i=e.element,r=e.placement,a=r?q(r):null,o=r?F(r):null,s=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(a){case k:t={x:s,y:n.y-i.height};break;case _:t={x:s,y:n.y+n.height};break;case C:t={x:n.x+n.width,y:l};break;case S:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=a?R(a):null;if(null!=c){var d="y"===c?"height":"width";switch(o){case A:t[c]=t[c]-(n[d]/2-i[d]/2);break;case I:t[c]=t[c]+(n[d]/2-i[d]/2)}}return t}// eslint-disable-next-line import/no-unused-modules
|
||
var H={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=U({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Z=Math.max,W=Math.min,G=Math.round,X={top:"auto",right:"auto",bottom:"auto",left:"auto"};function J(e){var t,n=e.popper,i=e.popperRect,a=e.placement,o=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,f=!0===u?function(e){var t=e.x,n=e.y,i=window.devicePixelRatio||1;return{x:G(G(t*i)/i)||0,y:G(G(n*i)/i)||0}}(o):"function"==typeof u?u(o):o,h=f.x,m=void 0===h?0:h,g=f.y,b=void 0===g?0:g,v=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),w=S,E=k,$=window;if(c){var A=x(n),I="clientHeight",T="clientWidth";A===r(n)&&"static"!==p(A=d(n)).position&&(I="scrollHeight",T="scrollWidth"),A=A,a===k&&(E=_,b-=A[I]-i.height,b*=l?1:-1),a===S&&(w=C,m-=A[T]-i.width,m*=l?1:-1)}var O,L=Object.assign({position:s},c&&X);return l?Object.assign({},L,((O={})[E]=y?"0":"",O[w]=v?"0":"",O.transform=($.devicePixelRatio||1)<2?"translate("+m+"px, "+b+"px)":"translate3d("+m+"px, "+b+"px, 0)",O)):Object.assign({},L,((t={})[E]=y?b+"px":"",t[w]=v?m+"px":"",t.transform="",t))}// eslint-disable-next-line import/no-unused-modules
|
||
var K={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},r=t.elements[e];s(r)&&c(r)&&(Object.assign(r.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],r=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});s(i)&&c(i)&&(Object.assign(i.style,a),Object.keys(r).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};// eslint-disable-next-line import/no-unused-modules
|
||
var Y={left:"right",right:"left",bottom:"top",top:"bottom"};function Q(e){return e.replace(/left|right|bottom|top/g,(function(e){return Y[e]}))}var ee={start:"end",end:"start"};function te(e){return e.replace(/start|end/g,(function(e){return ee[e]}))}function ne(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&l(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function ie(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function re(e,t){return t===T?ie(function(e){var t=r(e),n=d(e),i=t.visualViewport,a=n.clientWidth,o=n.clientHeight,s=0,l=0;return i&&(a=i.width,o=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=i.offsetLeft,l=i.offsetTop)),{width:a,height:o,x:s+u(e),y:l}}(e)):s(t)?function(e){var t=i(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):ie(function(e){var t,n=d(e),i=a(e),r=null==(t=e.ownerDocument)?void 0:t.body,o=Z(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=Z(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-i.scrollLeft+u(e),c=-i.scrollTop;return"rtl"===p(r||n).direction&&(l+=Z(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:l,y:c}}(d(e)))}function ae(e,t,n){var i="clippingParents"===t?function(e){var t=v(g(e)),n=["absolute","fixed"].indexOf(p(e).position)>=0&&s(e)?x(e):e;return o(n)?t.filter((function(e){return o(e)&&ne(e,n)&&"body"!==c(e)})):[]}(e):[].concat(t),r=[].concat(i,[n]),a=r[0],l=r.reduce((function(t,n){var i=re(e,n);return t.top=Z(i.top,t.top),t.right=W(i.right,t.right),t.bottom=W(i.bottom,t.bottom),t.left=Z(i.left,t.left),t}),re(e,a));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function oe(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function se(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}
|
||
// eslint-disable-next-line import/no-unused-modules
|
||
function le(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=void 0===r?e.placement:r,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,u=void 0===c?T:c,p=n.elementContext,f=void 0===p?O:p,h=n.altBoundary,m=void 0!==h&&h,g=n.padding,b=void 0===g?0:g,v=oe("number"!=typeof b?b:se(b,$)),y=f===O?"reference":O,w=e.elements.reference,x=e.rects.popper,S=e.elements[m?y:f],E=ae(o(S)?S:S.contextElement||d(e.elements.popper),l,u),A=i(w),I=U({reference:A,element:x,strategy:"absolute",placement:a}),L=ie(Object.assign({},x,I)),M=f===O?L:A,P={top:E.top-M.top+v.top,bottom:M.bottom-E.bottom+v.bottom,left:E.left-M.left+v.left,right:M.right-E.right+v.right},z=e.modifiersData.offset;if(f===O&&z){var D=z[a];Object.keys(P).forEach((function(e){var t=[C,_].indexOf(e)>=0?1:-1,n=[k,_].indexOf(e)>=0?"y":"x";P[e]+=D[n]*t}))}return P}function ce(e,t,n){return Z(e,W(t,n))}function de(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ue(e){return[k,C,_,S].some((function(t){return e[t]>=0}))}// eslint-disable-next-line import/no-unused-modules
|
||
var pe=B({defaultModifiers:[j,H,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,r=void 0===i||i,a=n.adaptive,o=void 0===a||a,s=n.roundOffsets,l=void 0===s||s,c={placement:q(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,J(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,J(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}// eslint-disable-next-line import/no-unused-modules
|
||
,data:{}},K,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.offset,a=void 0===r?[0,0]:r,o=M.reduce((function(e,n){return e[n]=function(e,t,n){var i=q(e),r=[S,k].indexOf(i)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o=o||0,s=(s||0)*r,[S,C].indexOf(i)>=0?{x:s,y:o}:{x:o,y:s}}(n,t.rects,a),e}),{}),s=o[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=o}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var r=n.mainAxis,a=void 0===r||r,o=n.altAxis,s=void 0===o||o,l=n.fallbackPlacements,c=n.padding,d=n.boundary,u=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,b=q(g),v=l||(b===g||!h?[Q(g)]:
|
||
// eslint-disable-next-line import/no-unused-modules
|
||
function(e){if(q(e)===E)return[];var t=Q(e);return[te(e),t,te(t)]}(g)),y=[g].concat(v).reduce((function(e,n){return e.concat(q(n)===E?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?M:l,d=F(i),u=d?s?L:L.filter((function(e){return F(e)===d})):$,p=u.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=u);var f=p.reduce((function(t,n){return t[n]=le(e,{placement:n,boundary:r,rootBoundary:a,padding:o})[q(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:d,rootBoundary:u,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,x=t.rects.popper,I=new Map,T=!0,O=y[0],P=0;P<y.length;P++){var z=y[P],D=q(z),V=F(z)===A,B=[k,_].indexOf(D)>=0,N=B?"width":"height",j=le(t,{placement:z,boundary:d,rootBoundary:u,altBoundary:p,padding:c}),R=B?V?C:S:V?_:k;w[N]>x[N]&&(R=Q(R));var U=Q(R),H=[];if(a&&H.push(j[D]<=0),s&&H.push(j[R]<=0,j[U]<=0),H.every((function(e){return e}))){O=z,T=!1;break}I.set(z,H)}if(T)for(var Z=function(e){var t=y.find((function(t){var n=I.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return O=t,"break"},W=h?3:1;W>0;W--){if("break"===Z(W))break}t.placement!==O&&(t.modifiersData[i]._skip=!0,t.placement=O,t.reset=!0)}}// eslint-disable-next-line import/no-unused-modules
|
||
,requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.mainAxis,a=void 0===r||r,o=n.altAxis,s=void 0!==o&&o,l=n.boundary,c=n.rootBoundary,d=n.altBoundary,u=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,g=void 0===h?0:h,b=le(t,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),v=q(t.placement),y=F(t.placement),w=!y,E=R(v),$="x"===E?"y":"x",I=t.modifiersData.popperOffsets,T=t.rects.reference,O=t.rects.popper,L="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,M={x:0,y:0};if(I){if(a||s){var P="y"===E?k:S,z="y"===E?_:C,D="y"===E?"height":"width",V=I[E],B=I[E]+b[P],N=I[E]-b[z],j=f?-O[D]/2:0,U=y===A?T[D]:O[D],H=y===A?-O[D]:-T[D],G=t.elements.arrow,X=f&&G?m(G):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},K=J[P],Y=J[z],Q=ce(0,T[D],X[D]),ee=w?T[D]/2-j-Q-K-L:U-Q-K-L,te=w?-T[D]/2+j+Q+Y+L:H+Q+Y+L,ne=t.elements.arrow&&x(t.elements.arrow),ie=ne?"y"===E?ne.clientTop||0:ne.clientLeft||0:0,re=t.modifiersData.offset?t.modifiersData.offset[t.placement][E]:0,ae=I[E]+ee-re-ie,oe=I[E]+te-re;if(a){var se=ce(f?W(B,ae):B,V,f?Z(N,oe):N);I[E]=se,M[E]=se-V}if(s){var de="x"===E?k:S,ue="x"===E?_:C,pe=I[$],fe=pe+b[de],he=pe-b[ue],me=ce(f?W(fe,ae):fe,pe,f?Z(he,oe):he);I[$]=me,M[$]=me-pe}}t.modifiersData[i]=M}}// eslint-disable-next-line import/no-unused-modules
|
||
,requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,r=e.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,s=q(n.placement),l=R(s),c=[S,C].indexOf(s)>=0?"height":"width";if(a&&o){var d=function(e,t){return oe("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:se(e,$))}(r.padding,n),u=m(a),p="y"===l?k:S,f="y"===l?_:C,h=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c],g=o[l]-n.rects.reference[l],b=x(a),v=b?"y"===l?b.clientHeight||0:b.clientWidth||0:0,y=h/2-g/2,w=d[p],E=v-u[c]-d[f],A=v/2-u[c]/2+y,I=ce(w,A,E),T=l;n.modifiersData[i]=((t={})[T]=I,t.centerOffset=I-A,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&ne(t.elements.popper,i)&&(t.elements.arrow=i)}// eslint-disable-next-line import/no-unused-modules
|
||
,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,r=t.rects.popper,a=t.modifiersData.preventOverflow,o=le(t,{elementContext:"reference"}),s=le(t,{altBoundary:!0}),l=de(o,i),c=de(s,r,a),d=ue(l),u=ue(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}}]}),fe="tippy-content",he="tippy-backdrop",me="tippy-arrow",ge="tippy-svg-arrow",be={passive:!0,capture:!0};function ve(e,t,n){if(Array.isArray(e)){var i=e[t];return null==i?Array.isArray(n)?n[t]:n:i}return e}function ye(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function we(e,t){return"function"==typeof e?e.apply(void 0,t):e}function xe(e,t){return 0===t?e:function(i){clearTimeout(n),n=setTimeout((function(){e(i)}),t)};var n}function ke(e){return[].concat(e)}function _e(e,t){-1===e.indexOf(t)&&e.push(t)}function Ce(e){return e.split("-")[0]}function Se(e){return[].slice.call(e)}function Ee(){return document.createElement("div")}function $e(e){return["Element","Fragment"].some((function(t){return ye(e,t)}))}function Ae(e){return ye(e,"MouseEvent")}function Ie(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function Te(e){return $e(e)?[e]:function(e){return ye(e,"NodeList")}(e)?Se(e):Array.isArray(e)?e:Se(document.querySelectorAll(e))}function Oe(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Le(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Me(e){var t,n=ke(e)[0];return(null==n||null==(t=n.ownerDocument)?void 0:t.body)?n.ownerDocument:document}function Pe(e,t,n){var i=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[i](t,n)}))}var ze={isTouch:!1},De=0;function Ve(){ze.isTouch||(ze.isTouch=!0,window.performance&&document.addEventListener("mousemove",Be))}function Be(){var e=performance.now();e-De<20&&(ze.isTouch=!1,document.removeEventListener("mousemove",Be)),De=e}function Ne(){var e=document.activeElement;if(Ie(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var je="undefined"!=typeof window&&"undefined"!=typeof document?navigator.userAgent:"",qe=/MSIE |Trident\//.test(je);var Fe={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Re=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Fe,{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Ue=Object.keys(Re);function He(e){var t=(e.plugins||[]).reduce((function(t,n){var i=n.name,r=n.defaultValue;return i&&(t[i]=void 0!==e[i]?e[i]:r),t}),{});return Object.assign({},e,{},t)}function Ze(e,t){var n=Object.assign({},t,{content:we(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(He(Object.assign({},Re,{plugins:t}))):Ue).reduce((function(t,n){var i=(e.getAttribute("data-tippy-"+n)||"").trim();if(!i)return t;if("content"===n)t[n]=i;else try{t[n]=JSON.parse(i)}catch(e){t[n]=i}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},Re.aria,{},n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function We(e,t){e.innerHTML=t}function Ge(e){var t=Ee();return!0===e?t.className=me:(t.className=ge,$e(e)?t.appendChild(e):We(t,e)),t}function Xe(e,t){$e(t.content)?(We(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?We(e,t.content):e.textContent=t.content)}function Je(e){var t=e.firstElementChild,n=Se(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(fe)})),arrow:n.find((function(e){return e.classList.contains(me)||e.classList.contains(ge)})),backdrop:n.find((function(e){return e.classList.contains(he)}))}}function Ke(e){var t=Ee(),n=Ee();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=Ee();function r(n,i){var r=Je(t),a=r.box,o=r.content,s=r.arrow;i.theme?a.setAttribute("data-theme",i.theme):a.removeAttribute("data-theme"),"string"==typeof i.animation?a.setAttribute("data-animation",i.animation):a.removeAttribute("data-animation"),i.inertia?a.setAttribute("data-inertia",""):a.removeAttribute("data-inertia"),a.style.maxWidth="number"==typeof i.maxWidth?i.maxWidth+"px":i.maxWidth,i.role?a.setAttribute("role",i.role):a.removeAttribute("role"),n.content===i.content&&n.allowHTML===i.allowHTML||Xe(o,e.props),i.arrow?s?n.arrow!==i.arrow&&(a.removeChild(s),a.appendChild(Ge(i.arrow))):a.appendChild(Ge(i.arrow)):s&&a.removeChild(s)}return i.className=fe,i.setAttribute("data-state","hidden"),Xe(i,e.props),t.appendChild(n),n.appendChild(i),r(e.props,e.props),{popper:t,onUpdate:r}}Ke.$$tippy=!0;var Ye=1,Qe=[],et=[];function tt(e,t){var n,i,r,a,o,s,l,c,d,u=Ze(e,Object.assign({},Re,{},He((n=t,Object.keys(n).reduce((function(e,t){return void 0!==n[t]&&(e[t]=n[t]),e}),{}))))),p=!1,f=!1,h=!1,m=!1,g=[],b=xe(G,u.interactiveDebounce),v=Ye++,y=(d=u.plugins).filter((function(e,t){return d.indexOf(e)===t})),w={id:v,reference:e,popper:Ee(),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(i),clearTimeout(r),cancelAnimationFrame(a)},setProps:function(t){0;if(w.state.isDestroyed)return;P("onBeforeUpdate",[w,t]),Z();var n=w.props,i=Ze(e,Object.assign({},w.props,{},t,{ignoreAttributes:!0}));w.props=i,H(),n.interactiveDebounce!==i.interactiveDebounce&&(V(),b=xe(G,i.interactiveDebounce));n.triggerTarget&&!i.triggerTarget?ke(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):i.triggerTarget&&e.removeAttribute("aria-expanded");D(),M(),_&&_(n,i);w.popperInstance&&(Y(),ee().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));P("onAfterUpdate",[w,t])},setContent:function(e){w.setProps({content:e})},show:function(){0;var e=w.state.isVisible,t=w.state.isDestroyed,n=!w.state.isEnabled,i=ze.isTouch&&!w.props.touch,r=ve(w.props.duration,0,Re.duration);if(e||t||n||i)return;if(I().hasAttribute("disabled"))return;if(P("onShow",[w],!1),!1===w.props.onShow(w))return;w.state.isVisible=!0,A()&&(k.style.visibility="visible");M(),q(),w.state.isMounted||(k.style.transition="none");if(A()){var a=O(),o=a.box,s=a.content;Oe([o,s],0)}l=function(){var e;if(w.state.isVisible&&!m){if(m=!0,k.offsetHeight,k.style.transition=w.props.moveTransition,A()&&w.props.animation){var t=O(),n=t.box,i=t.content;Oe([n,i],r),Le([n,i],"visible")}z(),D(),_e(et,w),null==(e=w.popperInstance)||e.forceUpdate(),w.state.isMounted=!0,P("onMount",[w]),w.props.animation&&A()&&function(e,t){R(e,t)}(r,(function(){w.state.isShown=!0,P("onShown",[w])}))}},function(){var e,t=w.props.appendTo,n=I();e=w.props.interactive&&t===Re.appendTo||"parent"===t?n.parentNode:we(t,[n]);e.contains(k)||e.appendChild(k);Y(),!1}()},hide:function(){0;var e=!w.state.isVisible,t=w.state.isDestroyed,n=!w.state.isEnabled,i=ve(w.props.duration,1,Re.duration);if(e||t||n)return;if(P("onHide",[w],!1),!1===w.props.onHide(w))return;w.state.isVisible=!1,w.state.isShown=!1,m=!1,p=!1,A()&&(k.style.visibility="hidden");if(V(),F(),M(),A()){var r=O(),a=r.box,o=r.content;w.props.animation&&(Oe([a,o],i),Le([a,o],"hidden"))}z(),D(),w.props.animation?A()&&function(e,t){R(e,(function(){!w.state.isVisible&&k.parentNode&&k.parentNode.contains(k)&&t()}))}(i,w.unmount):w.unmount()},hideWithInteractivity:function(e){0;T().addEventListener("mousemove",b),_e(Qe,b),b(e)},enable:function(){w.state.isEnabled=!0},disable:function(){w.hide(),w.state.isEnabled=!1},unmount:function(){0;w.state.isVisible&&w.hide();if(!w.state.isMounted)return;Q(),ee().forEach((function(e){e._tippy.unmount()})),k.parentNode&&k.parentNode.removeChild(k);et=et.filter((function(e){return e!==w})),w.state.isMounted=!1,P("onHidden",[w])},destroy:function(){0;if(w.state.isDestroyed)return;w.clearDelayTimeouts(),w.unmount(),Z(),delete e._tippy,w.state.isDestroyed=!0,P("onDestroy",[w])}};if(!u.render)return w;var x=u.render(w),k=x.popper,_=x.onUpdate;k.setAttribute("data-tippy-root",""),k.id="tippy-"+w.id,w.popper=k,e._tippy=w,k._tippy=w;var C=y.map((function(e){return e.fn(w)})),S=e.hasAttribute("aria-expanded");return H(),D(),M(),P("onCreate",[w]),u.showOnCreate&&te(),k.addEventListener("mouseenter",(function(){w.props.interactive&&w.state.isVisible&&w.clearDelayTimeouts()})),k.addEventListener("mouseleave",(function(e){w.props.interactive&&w.props.trigger.indexOf("mouseenter")>=0&&(T().addEventListener("mousemove",b),b(e))})),w;function E(){var e=w.props.touch;return Array.isArray(e)?e:[e,0]}function $(){return"hold"===E()[0]}function A(){var e;
|
||
// @ts-ignore
|
||
return!!(null==(e=w.props.render)?void 0:e.$$tippy)}function I(){return c||e}function T(){var e=I().parentNode;return e?Me(e):document}function O(){return Je(k)}function L(e){return w.state.isMounted&&!w.state.isVisible||ze.isTouch||o&&"focus"===o.type?0:ve(w.props.delay,e?0:1,Re.delay)}function M(){k.style.pointerEvents=w.props.interactive&&w.state.isVisible?"":"none",k.style.zIndex=""+w.props.zIndex}function P(e,t,n){var i;(void 0===n&&(n=!0),C.forEach((function(n){n[e]&&n[e].apply(void 0,t)})),n)&&(i=w.props)[e].apply(i,t)}function z(){var t=w.props.aria;if(t.content){var n="aria-"+t.content,i=k.id;ke(w.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(w.state.isVisible)e.setAttribute(n,t?t+" "+i:i);else{var r=t&&t.replace(i,"").trim();r?e.setAttribute(n,r):e.removeAttribute(n)}}))}}function D(){!S&&w.props.aria.expanded&&ke(w.props.triggerTarget||e).forEach((function(e){w.props.interactive?e.setAttribute("aria-expanded",w.state.isVisible&&e===I()?"true":"false"):e.removeAttribute("aria-expanded")}))}function V(){T().removeEventListener("mousemove",b),Qe=Qe.filter((function(e){return e!==b}))}function B(e){if(!(ze.isTouch&&(h||"mousedown"===e.type)||w.props.interactive&&k.contains(e.target))){if(I().contains(e.target)){if(ze.isTouch)return;if(w.state.isVisible&&w.props.trigger.indexOf("click")>=0)return}else P("onClickOutside",[w,e]);!0===w.props.hideOnClick&&(w.clearDelayTimeouts(),w.hide(),f=!0,setTimeout((function(){f=!1})),w.state.isMounted||F())}}function N(){h=!0}function j(){h=!1}function q(){var e=T();e.addEventListener("mousedown",B,!0),e.addEventListener("touchend",B,be),e.addEventListener("touchstart",j,be),e.addEventListener("touchmove",N,be)}function F(){var e=T();e.removeEventListener("mousedown",B,!0),e.removeEventListener("touchend",B,be),e.removeEventListener("touchstart",j,be),e.removeEventListener("touchmove",N,be)}function R(e,t){var n=O().box;function i(e){e.target===n&&(Pe(n,"remove",i),t())}if(0===e)return t();Pe(n,"remove",s),Pe(n,"add",i),s=i}function U(t,n,i){void 0===i&&(i=!1),ke(w.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,i),g.push({node:e,eventType:t,handler:n,options:i})}))}function H(){var e;$()&&(U("touchstart",W,{passive:!0}),U("touchend",X,{passive:!0})),(e=w.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(U(e,W),e){case"mouseenter":U("mouseleave",X);break;case"focus":U(qe?"focusout":"blur",J);break;case"focusin":U("focusout",J)}}))}function Z(){g.forEach((function(e){var t=e.node,n=e.eventType,i=e.handler,r=e.options;t.removeEventListener(n,i,r)})),g=[]}function W(e){var t,n=!1;if(w.state.isEnabled&&!K(e)&&!f){var i="focus"===(null==(t=o)?void 0:t.type);o=e,c=e.currentTarget,D(),!w.state.isVisible&&Ae(e)&&Qe.forEach((function(t){return t(e)})),"click"===e.type&&(w.props.trigger.indexOf("mouseenter")<0||p)&&!1!==w.props.hideOnClick&&w.state.isVisible?n=!0:te(e),"click"===e.type&&(p=!n),n&&!i&&ne(e)}}function G(e){var t=e.target,n=I().contains(t)||k.contains(t);"mousemove"===e.type&&n||function(e,t){var n=t.clientX,i=t.clientY;return e.every((function(e){var t=e.popperRect,r=e.popperState,a=e.props.interactiveBorder,o=Ce(r.placement),s=r.modifiersData.offset;if(!s)return!0;var l="bottom"===o?s.top.y:0,c="top"===o?s.bottom.y:0,d="right"===o?s.left.x:0,u="left"===o?s.right.x:0,p=t.top-i+l>a,f=i-t.bottom-c>a,h=t.left-n+d>a,m=n-t.right-u>a;return p||f||h||m}))}(ee().concat(k).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:u}:null})).filter(Boolean),e)&&(V(),ne(e))}function X(e){K(e)||w.props.trigger.indexOf("click")>=0&&p||(w.props.interactive?w.hideWithInteractivity(e):ne(e))}function J(e){w.props.trigger.indexOf("focusin")<0&&e.target!==I()||w.props.interactive&&e.relatedTarget&&k.contains(e.relatedTarget)||ne(e)}function K(e){return!!ze.isTouch&&$()!==e.type.indexOf("touch")>=0}function Y(){Q();var t=w.props,n=t.popperOptions,i=t.placement,r=t.offset,a=t.getReferenceClientRect,o=t.moveTransition,s=A()?Je(k).arrow:null,c=a?{getBoundingClientRect:a,contextElement:a.contextElement||I()}:e,d=[{name:"offset",options:{offset:r}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!o}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(A()){var n=O().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];A()&&s&&d.push({name:"arrow",options:{element:s,padding:3}}),d.push.apply(d,(null==n?void 0:n.modifiers)||[]),w.popperInstance=pe(c,k,Object.assign({},n,{placement:i,onFirstUpdate:l,modifiers:d}))}function Q(){w.popperInstance&&(w.popperInstance.destroy(),w.popperInstance=null)}function ee(){return Se(k.querySelectorAll("[data-tippy-root]"))}function te(e){w.clearDelayTimeouts(),e&&P("onTrigger",[w,e]),q();var t=L(!0),n=E(),r=n[0],a=n[1];ze.isTouch&&"hold"===r&&a&&(t=a),t?i=setTimeout((function(){w.show()}),t):w.show()}function ne(e){if(w.clearDelayTimeouts(),P("onUntrigger",[w,e]),w.state.isVisible){if(!(w.props.trigger.indexOf("mouseenter")>=0&&w.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&p)){var t=L(!1);t?r=setTimeout((function(){w.state.isVisible&&w.hide()}),t):a=requestAnimationFrame((function(){w.hide()}))}}else F()}}function nt(e,t){void 0===t&&(t={});var n=Re.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Ve,be),window.addEventListener("blur",Ne);var i=Object.assign({},t,{plugins:n}),r=Te(e).reduce((function(e,t){var n=t&&tt(t,i);return n&&e.push(n),e}),[]);return $e(e)?r[0]:r}nt.defaultProps=Re,nt.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Re[t]=e[t]}))},nt.currentInput=ze;Object.assign({},K,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});nt.setDefaultProps({render:Ke});var it=nt,rt=n(6182),at=n(2731),ot=n.n(at);const st=(e,t,i={})=>{(0,rt.addStyle)(ot(),"mini-toast-style"),Promise.resolve().then(n.bind(n,925));const r=it(t,{content:e,allowHTML:!0,interactive:!0,delay:[0,200],arrow:!0,...i});return{get message(){return r.props.content},set message(e){r.setContent(e)},get triggerElement(){return r.reference},get placement(){return r.props.placement},set placement(e){r.setProps({placement:e})},get tippy(){return r}}}},2121:function(e,t,n){"use strict";n.r(t),n.d(t,{UserAgent:function(){return i},EmptyImageUrl:function(){return r}});const i="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0",r='data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="0" height="0"></svg>'},3708:function(e,t,n){"use strict";n.r(t),n.d(t,{formatFileSize:function(){return i},formatPercent:function(){return r},formatDuration:function(){return a},formatCount:function(){return o},formatNumber:function(){return s},formatDate:function(){return l},formatTime:function(){return c},formatDateTime:function(){return d},formatFilename:function(){return u}});const i=(e,t=1)=>{let n=e,i=0;for(;n>=1024;)n/=1024,i++;return`${Math.round(n*10**t)/10**t}${["B","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`},r=(e,t=1)=>Math.round(100*e*10**t)/10**t+"%",a=(e,t=0)=>{const n=(e%60).toFixed(t),i=(Math.trunc(e/60)%60).toString(),r=Math.trunc(e/3600).toString(),a=0===t?2:3+t;return"0"===r?`${i.padStart(2,"0")}:${n.padStart(a,"0")}`:`${r}:${i.padStart(2,"0")}:${n.padStart(a,"0")}`},o=(e,t=0)=>{if(null==e)return"0";const{number:n,unit:i}=(e=>("string"==typeof e&&(e=parseInt(e)),e>=1e8?{number:(Math.round(e/1e7)/10).toString(),unit:"亿"}:e>=1e4?{number:(Math.round(e/1e3)/10).toString(),unit:"万"}:{number:e.toString(),unit:""}))(e);return`${n.padStart(t,"0")}${i}`},s=(e,t)=>{if(Number.isNaN(e))return null;const n=Math.log10(t)+1,i=e.toString(),r=i.length-Math.trunc(e).toString().length;return i.padStart(n+r,"0")},l=e=>`${e.getFullYear()}-${(e.getMonth()+1).toString().padStart(2,"0")}-${e.getDate().toString().padStart(2,"0")}`,c=e=>`${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}:${e.getSeconds().toString().padStart(2,"0")}`,d=e=>`${l(e)} ${c(e)}`,u=(e,t="")=>e.replace(/[\/\\:\*\?"<>\|]/g,t)},5106:function(e,t,n){"use strict";n.r(t),n.d(t,{defaultLanguageCode:function(){return r},browserLanguageCode:function(){return a},languageCodeToName:function(){return o},languageNameToCode:function(){return s}});var i=n(950);const r="zh-CN",a=navigator.language,o={"zh-CN":"简体中文"};(0,i.registerAndGetData)("i18n",o);const s=e=>{const t=Object.entries(o).find((([,t])=>t===e));return t?t[0]:r}},1906:function(e,t,n){"use strict";function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.r(t),n.d(t,{bwpVideoFilter:function(){return r},dq:function(){return a},dqa:function(){return o},none:function(){return s},isBwpVideo:function(){return l},delay:function(){return c},matchPattern:function(){return d},matchUrlPattern:function(){return u},mountVueComponent:function(){return p},isEmbeddedPlayer:function(){return f},isIframe:function(){return h},isNotHtml:function(){return m},raiseEvent:function(){return g},getDpiSourceSet:function(){return b},getCookieValue:function(){return v},getUID:function(){return y},getCsrf:function(){return w},fixed:function(){return x},createHook:function(){return k},preventEvent:function(){return _},formData:function(){return C},deleteValue:function(){return S},DoubleClickEvent:function(){return E},playerReady:function(){return $},isTyping:function(){return A},retrieveImageUrl:function(){return I},waitForForeground:function(){return T}});const r=e=>{const t={video:", bwp-video",".bilibili-player-video video":", .bilibili-player-video bwp-video"}[e];return t?e+t:e},a=(e,t)=>t?e.querySelector(r(t)):document.querySelector(r(e)),o=(e,t)=>t?Array.from(e.querySelectorAll(r(t))):Array.from(document.querySelectorAll(r(e))),s=()=>{},l=()=>unsafeWindow.__ENABLE_WASM_PLAYER__||Boolean(a("bwp-video")),c=(e=0)=>new Promise((t=>setTimeout((()=>t()),e))),d=(e,t)=>"string"==typeof t?e.includes(t):t.test(e),u=e=>d(document.URL.replace(window.location.search,""),e),p=(e,t)=>new Vue("default"in e?e.default:e).$mount(t),f=()=>"player.bilibili.com"===window.location.host||document.URL.startsWith("https://www.bilibili.com/html/player.html"),h=()=>document.body&&unsafeWindow.parent.window!==unsafeWindow,m=()=>"text/html"!==document.contentType,g=(e,t)=>{const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)},b=(e,t,n)=>{if(!n){const t=e.match(/.+\.(.+)$/);n=t?t[1]:"jpg"}return n.startsWith(".")&&(n=n.substring(1)),[1,1.25,1.5,1.75,2,2.25,2.5,2.75,3,3.25,3.5,3.75,4].map((i=>{if("object"==typeof t){if("width"in t&&"height"in t)return`${e}@${Math.trunc(t.width*i)}w_${Math.trunc(t.height*i)}h.${n} ${i}x`;if("width"in t)return`${e}@${Math.trunc(t.width*i)}w.${n} ${i}x`;if("height"in t)return`${e}@${Math.trunc(t.height*i)}h.${n} ${i}x`;throw new Error(`Invalid argument 'baseSize': ${JSON.stringify(t)}`)}return`${e}@${Math.trunc(t*i)}w_${Math.trunc(t*i)}h.${n} ${i}x`})).join(",")},v=e=>document.cookie.replace(new RegExp(`(?:(?:^|.*;\\s*)${e}\\s*\\=\\s*([^;]*).*$)|^.*$`),"$1"),y=()=>v("DedeUserID"),w=()=>v("bili_jct"),x=(e,t=1)=>{const n=10**t;let i=(Math.trunc(e*n)/n).toString();const r=i.indexOf(".");if(r>-1){const e=i.length-r-1;e<t&&(i+="0".repeat(t-e))}else i+=`.${"0".repeat(t)}`;return i},k=(e,t,n)=>{const i=e[t];return e[t]=function(...e){if(n(...e))return i?.call(this,...e)},i},_=(e,t)=>{const n=e=>e.stopImmediatePropagation();return e.addEventListener(t,n,{capture:!0}),()=>{e.removeEventListener(t,n,{capture:!0})}},C=e=>Object.entries(e).map((([e,t])=>`${e}=${t}`)).join("&"),S=(e,t)=>{const n=e.findIndex(t);-1!==n&&e.splice(n,1)};class E{constructor(e,t=!1){this.handler=e,this.preventSingle=t,i(this,"elements",[]),i(this,"singleClickHandler",s),i(this,"clickedOnce",!1),i(this,"doubleClickHandler",(e=>{this.clickedOnce?(this.clickedOnce=!1,Promise.resolve().then((()=>{this.handler?.(e)}))):(this.clickedOnce=!0,setTimeout((()=>{this.clickedOnce&&(this.clickedOnce=!1,this.preventSingle&&this.singleClickHandler?.(e))}),200)),this.preventSingle&&e.stopImmediatePropagation()}))}bind(e){-1===this.elements.indexOf(e)&&(this.elements.push(e),e.addEventListener("click",this.doubleClickHandler,{capture:!0}))}unbind(e){const t=this.elements.indexOf(e);-1!==t&&(this.elements.splice(t,1),e.removeEventListener("click",this.doubleClickHandler,{capture:!0}))}}const $=async()=>{const{sq:e}=await Promise.resolve().then(n.bind(n,5550)),{logError:t}=await Promise.resolve().then(n.bind(n,2264));return await e((()=>unsafeWindow),(()=>void 0!==unsafeWindow.UserStatus)),new Promise(((e,n)=>{"https://www.bilibili.com/blackboard/newplayer.html"===document.URL.replace(window.location.search,"")&&document.URL.includes("fjw=true")||f()||(unsafeWindow.onLoginInfoLoaded?unsafeWindow.onLoginInfoLoaded(e):(t(new Error("utils.playerReady 失败")),console.error("typeof onLoginInfoLoaded === "+typeof unsafeWindow.onLoginInfoLoaded),n()))}))},A=()=>{const{activeElement:e}=document;return!!e&&(!!e.hasAttribute("contenteditable")||["input","textarea"].includes(e.nodeName.toLowerCase()))},I=e=>{if(!(e instanceof HTMLElement))return null;let t;if(e.hasAttribute("data-src"))t=e.getAttribute("data-src");else if(e instanceof HTMLImageElement)t=e.src;else{const{backgroundImage:n}=e.style;if(!n)return null;const i=n.match(/url\("(.+)"\)/);if(!i)return null;t=i[1]}const n=t.match(/^(.+)(\..+?)(@.+)$/);if(n)return{url:n[1]+n[2],extension:n[2]};const i=t.match(/^(.+)(\..+?)$/);return i?{url:i[1]+i[2],extension:i[2]}:null},T=e=>{const t=()=>"visible"===document.visibilityState&&(e(),document.removeEventListener("visibilitychange",t),!0);t()||document.addEventListener("visibilitychange",t)}},2264:function(e,t,n){"use strict";n.r(t),n.d(t,{logError:function(){return i}});const i=async(e,t)=>{let i;if("string"==typeof e)i=e,console.error(i);else{const{getGeneralSettings:t}=await Promise.resolve().then(n.bind(n,6171));i=t().devMode?e.stack:e.message,console.error(e)}const{Toast:r}=await Promise.resolve().then(n.bind(n,5683));r.error(i,"错误",t)}},5945:function(e,t,n){"use strict";n.r(t),n.d(t,{ascendingSort:function(){return r},ascendingStringSort:function(){return a},descendingSort:function(){return o},descendingStringSort:function(){return s}});const i=e=>e,r=(e=i)=>(t,n)=>e(t)-e(n),a=(e=i)=>(t,n)=>e(t).localeCompare(e(n)),o=(e=i)=>(t,n)=>e(n)-e(t),s=(e=i)=>(t,n)=>e(n).localeCompare(e(t))},53:function(e,t,n){"use strict";n.r(t),n.d(t,{formatTitle:function(){return s},getFriendlyTitle:function(){return l}});var i=n(1906),r=n(6171),a=n(3708),o=n(5945);const s=(e,t=!0,n={})=>{const r=new Date,s={title:document.title.replace(/:([^:]+?)_.+?_bilibili_哔哩哔哩$/,"").replace(/_哔哩哔哩_bilibili$/,"").replace(/ - 哔哩哔哩$/,"").replace(/_哔哩哔哩 \(゜-゜\)つロ 干杯~-bilibili$/,"").replace(/(.*?) - (.*?) - 哔哩哔哩直播,二次元弹幕直播平台$/,"$1").trim(),ep:(()=>{if(!t)return;const e=(0,i.dq)("#eplist_module li.cursor .ep-title");if(null!==e)return e.innerText;const n=(0,i.dq)("#multi_page .cur-list>ul li.on a");return null!==n?n.getAttribute("title"):void 0})(),aid:unsafeWindow.aid,bvid:unsafeWindow.bvid,cid:unsafeWindow.cid,lid:document.URL.replace(/https:\/\/live\.bilibili\.com\/(blanc\/)?(\d)+/,"$2"),y:r.getFullYear().toString(),M:(r.getMonth()+1).toString().padStart(2,"0"),d:r.getDate().toString().padStart(2,"0"),h:r.getHours().toString().padStart(2,"0"),m:r.getMinutes().toString().padStart(2,"0"),s:r.getSeconds().toString().padStart(2,"0"),ms:r.getMilliseconds().toString().substr(0,3)};Object.assign(s,n);const l=Object.keys(s).sort((0,o.descendingSort)((e=>e.length))).reduce(((e,t)=>e.replace(new RegExp(`\\[([^\\[\\]]*?)${t}([^\\[\\]]*?)\\]`,"g"),s[t]?`$1${s[t]}$2`:"")),e);return(0,a.formatFilename)(l," ")},l=(e=!0,t={})=>s((0,r.getGeneralSettings)().filenameFormat,e,t)},7735:function(e,t,n){"use strict";n.r(t),n.d(t,{watchlaterUrls:function(){return r},favoriteListUrls:function(){return a},mediaListUrls:function(){return o},videoUrls:function(){return s},bangumiUrls:function(){return l},cheeseUrls:function(){return c},videoAndBangumiUrls:function(){return d},allVideoUrls:function(){return u},mainSiteUrls:function(){return p},liveUrls:function(){return f},darkExcludes:function(){return h},feedsUrlsWithoutDetail:function(){return m},feedsUrls:function(){return g},columnUrls:function(){return b},playerUrls:function(){return v},matchCurrentPage:function(){return y}});var i=n(1906);const r=["//www.bilibili.com/medialist/play/watchlater/"],a=["//www.bilibili.com/medialist/play/ml"],o=[...r,...a],s=["//www.bilibili.com/video/",...o],l=["//www.bilibili.com/bangumi/"],c=["//www.bilibili.com/cheese/"],d=[...s,...l],u=[...d,...c],p=["https://www.bilibili.com/v/",/^https:\/\/www\.bilibili\.com\/$/,/^https:\/\/www\.bilibili\.com\/index.html$/,/^https:\/\/www\.bilibili\.com\/watchlater\/#\/list$/],f=[/^https:\/\/live\.bilibili\.com\/(blanc\/)?[\d]+/],h=["//member.bilibili.com/v2","//member.bilibili.com/video/upload.html","//member.bilibili.com/article-text/home","//www.bilibili.com/audio/submit/","//member.bilibili.com/studio/bs-editor/projects","//www.bilibili.com/s/video/"],m=[/^https:\/\/t\.bilibili\.com\/$/,/^https:\/\/space\.bilibili\.com\//,/^https:\/\/live\.bilibili\.com\/(blanc\/)?[\d]+/],g=[...m,/^https:\/\/t\.bilibili\.com\//],b=[/^https:\/\/www\.bilibili\.com\/read\/cv/],v=["//player.bilibili.com","//www.bilibili.com/html/player.html",...s,...l,...c],y=(...e)=>e.some((e=>Array.isArray(e)?e.some((e=>(0,i.matchUrlPattern)(e))):(0,i.matchUrlPattern)(e)))},7761:function(e,t,n){"use strict";n.r(t),n.d(t,{getHandlers:function(){return a},plugin:function(){return o}});let i=!1;const r=new Map,a=e=>{const t=e.toLowerCase();let n=r.get(t);return void 0===n&&(n=[],r.set(t,n)),n},o={name:"ajaxHook",displayName:"Ajax Hook API",setup:()=>{if(i)return;i=!0;const e={open:XMLHttpRequest.prototype.open,send:XMLHttpRequest.prototype.send},t=(e,t,...n)=>a(e).forEach((e=>e.call(t,...n))),n=(n,i,...r)=>{t(`before${n}`,i,...r);const a=e[n].call(i,...r);return t(`after${n}`,i,...r),a},r=(e,n)=>{if(n[e]){const i=n[e];n[e]=(...r)=>{t(`before${e}`,n,...r),i.apply(n,r),t(`after${e}`,n,...r)}}else n[e]=(...i)=>{t(`before${e}`,n,...i),t(`after${e}`,n,...i)}};XMLHttpRequest.prototype.open=function(...e){return n("open",this,...e)},XMLHttpRequest.prototype.send=function(...e){return r("onreadystatechange",this),r("onload",this),n("send",this,...e)}}}},950:function(e,t,n){"use strict";n.r(t),n.d(t,{registerData:function(){return r},addData:function(){return a},getData:function(){return o},registerAndGetData:function(){return s}});const i=new Map,r=(e,...t)=>{if(i.has(e)){const n=i.get(e),{registered:r}=n;if(r)return;n.registered=!0,n.data=t}else i.set(e,{registered:!0,data:t,loaded:!1,providers:[]})},a=(e,t)=>{if(i.has(e)){const{providers:n,registered:r,data:a}=i.get(e);n.push(t),r&&t(...a)}else i.set(e,{registered:!1,data:[],loaded:!1,providers:[t]})},o=e=>{if(i.has(e)){const t=i.get(e),{data:n,registered:r,loaded:a,providers:o}=t;if(r)return a||(o.forEach((e=>e(...n))),t.loaded=!0),n}return[]},s=(e,...t)=>(r(e,...t),o(e))},9543:function(e,t,n){"use strict";n.r(t),n.d(t,{addHook:function(){return r},getHook:function(){return a}});const i=new Map,r=(e,t)=>{if(i.has(e)){const{providers:n}=i.get(e);n.push(t)}else i.set(e,{providers:[t]})},a=(e,...t)=>{if(i.has(e)){const n=i.get(e),{providers:r}=n;return{before:async(...e)=>Promise.all(r.map((n=>n.before?.(...t.concat(e))))),after:async(...e)=>Promise.all(r.map((n=>n.after?.(...t.concat(e)))))}}return{before:async()=>Promise.all([]),after:async()=>Promise.all([])}}},9717:function(e,t,n){"use strict";n.r(t),n.d(t,{plugin:function(){return a}});const i=async(e,t,n)=>{const i={name:t,icon:"mdi-content-copy",description:`复制${e}`,indexer:n,action:async()=>{i.name===t&&await navigator.clipboard.writeText(t)}};return[i]},r=[{pattern:/^av([\d]+)$/i,name:e=>`av${e[1]}`,badge:"av号跳转",link:e=>`https://www.bilibili.com/av${e[1]}`,extend:async e=>{const{getJson:t}=await Promise.resolve().then(n.bind(n,7195)),r=await t(`https://api.bilibili.com/x/web-interface/view?aid=${e[1]}`),a=lodash.get(r,"data.bvid",null);return null===a?[]:i("BV号",a,`av${e[1]}`)}},{pattern:/^bv([\da-zA-Z]+)$/i,name:e=>`BV${e[1]}`,badge:"BV号跳转",link:e=>`https://www.bilibili.com/BV${e[1]}`,extend:async e=>{const{getJson:t}=await Promise.resolve().then(n.bind(n,7195)),r=await t(`https://api.bilibili.com/x/web-interface/view?bvid=${e[1]}`),a=lodash.get(r,"data.aid",null);return null===a?[]:i("av号",`av${a}`,`BV${e[1]}`)}}],a={name:"launchBar.actions.IDSearch",displayName:"ID搜索快速跳转",async setup(){const{addData:e}=await Promise.resolve().then(n.bind(n,950)),{LaunchBarActionProviders:t}=await Promise.resolve().then(n.bind(n,4247));e(t,(e=>{e.push({name:"IDSearchProvider",getActions:async e=>{const t=[];for(const n of r){const i=e.match(n.pattern);if(i&&(t.push({name:n.name(i),icon:"mdi-open-in-new",description:n.badge,action:()=>{window.open(n.link(i),"_blank")}}),n.extend)){const e=await n.extend(i);t.push(...e)}}return t}})}))}}},1623:function(e,t,n){"use strict";n.r(t),n.d(t,{pluginsMap:function(){return o},plugins:function(){return s},installPlugin:function(){return l},uninstallPlugin:function(){return c},extractPluginFromComponent:function(){return d},loadPlugin:function(){return u},loadAllPlugins:function(){return p}});var i=n(1906),r=n(950),a=n(9543);const o={},s=lodash.once((()=>{const e=n(4353);return e.keys().map((t=>{const n=e(t);if("plugin"in n){const e=n.plugin;return o[e.name]=e,e}})).filter((e=>void 0!==e))}))(),l=async e=>{const{parseExternalInput:t}=await Promise.resolve().then(n.bind(n,7731)),i=await t(e);if(null===i)throw new Error("无效的插件代码");const{settings:r}=await Promise.resolve().then(n.bind(n,6171)),a=r.userPlugins[i.name];if(a)return a.code=e,a.name=i.name,a.displayName=i.displayName||i.name,{metadata:i,message:`已更新插件'${i.displayName}', 刷新后生效`};const o={code:e,displayName:i.name,...i};return r.userPlugins[i.name]=o,s.push(o),{metadata:i,message:`已安装插件'${i.displayName||i.name}', 刷新后生效`}},c=async e=>{const{settings:t}=await Promise.resolve().then(n.bind(n,6171)),r=Object.entries(t.userPlugins).find((([t,{displayName:n}])=>t===e||n===e));if(!r)throw new Error(`没有找到与名称'${e}'相关联的插件`);const[a,o]=r;return delete t.userPlugins[a],(0,i.deleteValue)(s,(e=>e.name===a)),{metadata:o,message:`已卸载插件'${o.displayName}', 刷新后生效`}},d=e=>e.plugin?{name:`${e.name}.plugin`,displayName:`${e.displayName} - 附带插件`,...e.plugin}:null,u=async e=>{if(e.setup){const{pluginLoadTrace:t}=await Promise.resolve().then(n.bind(n,8970));await t(e);const{coreApis:i}=await Promise.resolve().then(n.bind(n,9388));return e.setup({coreApis:i,addData:r.addData,addHook:a.addHook,registerData:r.registerData,registerAndGetData:r.registerAndGetData,getHook:a.getHook})}return null},p=async e=>{const{settings:t,getGeneralSettings:i}=await Promise.resolve().then(n.bind(n,6171)),{batchParseCode:r}=await Promise.resolve().then(n.bind(n,7731)),a=e.map(d).filter((e=>null!==e)).concat(await r(Object.values(t.userPlugins).map((e=>e.code))));return s.push(...a),Promise.allSettled(s.map(u)).then((async()=>{if(i().devMode){const{pluginLoadTime:e,pluginResolveTime:t}=await Promise.resolve().then(n.bind(n,8970)),{logStats:i}=await Promise.resolve().then(n.bind(n,9476));i("plugins block",e),i("plugins resolve",t)}}))}},8900:function(e,t,n){"use strict";n.r(t),n.d(t,{UserStyleMode:function(){return a},styles:function(){return o},installStyle:function(){return s},uninstallStyle:function(){return l}});var i=n(6171),r=n(1906);let a;!function(e){e.Default="default",e.Instant="instant",e.Important="important"}(a||(a={}));const o=Object.values(i.settings.userStyles),s=async e=>{try{let t;const{parseExternalInput:r}=await Promise.resolve().then(n.bind(n,7731));t="string"==typeof e?await r(e):e;const{name:s,style:l,displayName:c,mode:d}=t,{removeStyle:u,addImportantStyle:p,addStyle:f}=await Promise.resolve().then(n.bind(n,6182)),h=i.settings.userStyles[s];if(h)Object.assign(h,t),u(s);else{const e={displayName:s,mode:a.Default,...t};i.settings.userStyles[s]=e,o.push(e)}return d===a.Important?p(l,s):f(l,s),{metadata:t,message:`已安装样式'${c||s}'`}}catch(e){throw new Error("无效的样式代码")}},l=async e=>{const t=Object.entries(i.settings.userStyles).find((([t,{displayName:n}])=>t===e||n===e));if(!t)throw new Error(`没有找到与名称'${e}'相关联的样式`);const{removeStyle:a}=await Promise.resolve().then(n.bind(n,6182)),[s,{displayName:l}]=t;return a(s),delete i.settings.userStyles[s],(0,r.deleteValue)(o,(e=>e.name===s)),{metadata:t,message:`已卸载样式'${l}'`}}},3923:function(e,t,n){"use strict";n.r(t),n.d(t,{CheckBox:function(){return f},ColorPicker:function(){return C},DefaultWidget:function(){return vt},DpiImage:function(){return T},ImagePicker:function(){return B},ImageViewer:function(){return G},MiniToast:function(){return yt.Z},ProgressBar:function(){return ie},ProgressRing:function(){return de},RadioButton:function(){return ge},RangeInput:function(){return Ce},ScrollTrigger:function(){return Ae},SwitchBox:function(){return Ie.Z},TabControl:function(){return De},TextArea:function(){return Ue},TextBox:function(){return He.default},VButton:function(){return Ze.default},VDropdown:function(){return et},VEmpty:function(){return ct},VIcon:function(){return i.default},VLoading:function(){return dt.default},VPopup:function(){return Ge.default},VSlider:function(){return ut.default},showImage:function(){return J}});var i=n(5464),r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("VButton",e._b({staticClass:"be-check-box",class:{checked:e.checked,"left-icon":"left"===e.iconPosition},attrs:{role:"checkbox","aria-checked":e.checked,type:"transparent"},on:{click:function(t){return e.$emit("change",!e.checked)}}},"VButton",e.$attrs,!1),[n("div",{staticClass:"text-container"},[e._t("default",[e._v("CheckBox")])],2),e._v(" "),n("div",{staticClass:"icon-container"},[n("VIcon",{staticClass:"not-checked",attrs:{size:16,icon:e.notCheckedIcon}}),e._v(" "),n("VIcon",{staticClass:"checked",attrs:{size:16,icon:e.checkedIcon}})],1)])};r._withStripped=!0;var a=Vue.extend({name:"CheckBox",components:{VButton:()=>Promise.resolve().then(n.bind(n,1621)).then((e=>e.default)),VIcon:()=>Promise.resolve().then(n.bind(n,5464)).then((e=>e.default))},model:{prop:"checked",event:"change"},props:{checked:{type:Boolean,required:!0},iconPosition:{type:String,default:"left"},checkedIcon:{type:String,default:"mdi-checkbox-marked-circle"},notCheckedIcon:{type:String,default:"mdi-checkbox-blank-circle-outline"}}}),o=n(3379),s=n.n(o),l=n(1377),c=n.n(l),d={insert:"head",singleton:!1},u=(s()(c(),d),c().locals,n(1900)),p=(0,u.Z)(a,r,[],!1,null,"25934ad6",null);p.options.__file="src/ui/CheckBox.vue";var f=p.exports,h=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"be-color-picker"},[n("div",{directives:[{name:"hit",rawName:"v-hit",value:function(){return e.popupOpened=!e.popupOpened},expression:"() => popupOpened = !popupOpened"}],ref:"button",staticClass:"selected-color",style:{backgroundColor:e.color,width:e.size+"px",height:e.size+"px"},attrs:{role:"button",tabindex:"0"}}),e._v(" "),n("VPopup",{staticClass:"picker",class:{compact:e.compact},style:{"--offset":e.popupOffset+"px"},attrs:{"esc-close":"","auto-close":!1,"trigger-element":e.$refs.button},model:{value:e.popupOpened,callback:function(t){e.popupOpened=t},expression:"popupOpened"}},[n("div",{staticClass:"item-group"},[n("div",{staticClass:"item-title"},[e._v("\n 预设颜色\n ")]),e._v(" "),n("div",{staticClass:"colors"},e._l(e.colors,(function(t){return n("div",{directives:[{name:"hit",rawName:"v-hit",value:function(){return e.selectHexColor(t)},expression:"() => selectHexColor(c)"}],key:t,staticClass:"color",style:{backgroundColor:t},attrs:{role:"radio",tabindex:e.popupOpened?0:-1}})})),0)]),e._v(" "),n("div",{staticClass:"item-group"},[n("div",{staticClass:"item-title"},[e._v("\n 调色\n ")]),e._v(" "),n("div",{staticClass:"bars"},[e.isRGB?[n("div",{staticClass:"bar"},[n("div",{staticClass:"bar-name"},[e._v("\n R\n ")]),e._v(" "),n("VSlider",{attrs:{focusable:!1,max:255,value:e.wrapper.red},on:{change:function(t){return e.wrapper.change("red",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[n("div",{staticClass:"color-bar",style:{background:e.wrapper.redGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[n("div",{staticClass:"color-thumb"})]},proxy:!0}],null,!1,2466330035)}),e._v(" "),n("TextBox",{staticClass:"bar-value",attrs:{"max-length":"3","change-on-blur":"",disabled:!e.popupOpened,text:e.int(e.wrapper.red)},on:{change:function(t){return e.wrapper.change("red",t)}}})],1),e._v(" "),n("div",{staticClass:"bar"},[n("div",{staticClass:"bar-name"},[e._v("\n G\n ")]),e._v(" "),n("VSlider",{attrs:{focusable:!1,max:255,value:e.wrapper.green},on:{change:function(t){return e.wrapper.change("green",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[n("div",{staticClass:"color-bar",style:{background:e.wrapper.greenGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[n("div",{staticClass:"color-thumb"})]},proxy:!0}],null,!1,2962781435)}),e._v(" "),n("TextBox",{staticClass:"bar-value",attrs:{"max-length":"3","change-on-blur":"",disabled:!e.popupOpened,text:e.int(e.wrapper.green)},on:{change:function(t){return e.wrapper.change("green",t)}}})],1),e._v(" "),n("div",{staticClass:"bar"},[n("div",{staticClass:"bar-name"},[e._v("\n B\n ")]),e._v(" "),n("VSlider",{attrs:{focusable:!1,max:255,value:e.wrapper.blue},on:{change:function(t){return e.wrapper.change("blue",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[n("div",{staticClass:"color-bar",style:{background:e.wrapper.blueGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[n("div",{staticClass:"color-thumb"})]},proxy:!0}],null,!1,660815582)}),e._v(" "),n("TextBox",{staticClass:"bar-value",attrs:{"max-length":"3","change-on-blur":"",disabled:!e.popupOpened,text:e.int(e.wrapper.blue)},on:{change:function(t){return e.wrapper.change("blue",t)}}})],1)]:[n("div",{staticClass:"bar"},[n("div",{staticClass:"bar-name"},[e._v("\n H\n ")]),e._v(" "),n("VSlider",{attrs:{focusable:!1,max:359.9,value:e.wrapper.hue},on:{change:function(t){return e.wrapper.change("hue",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[n("div",{staticClass:"color-bar",style:{background:e.wrapper.hueGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[n("div",{staticClass:"color-thumb"})]},proxy:!0}])}),e._v(" "),n("TextBox",{staticClass:"bar-value",attrs:{"max-length":"4","change-on-blur":"",disabled:!e.popupOpened,text:e.fixed(e.wrapper.hue)},on:{change:function(t){return e.wrapper.change("hue",t)}}})],1),e._v(" "),n("div",{staticClass:"bar"},[n("div",{staticClass:"bar-name"},[e._v("\n S\n ")]),e._v(" "),n("VSlider",{attrs:{focusable:!1,value:e.wrapper.saturation},on:{change:function(t){return e.wrapper.change("saturationv",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[n("div",{staticClass:"color-bar",style:{background:e.wrapper.saturationGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[n("div",{staticClass:"color-thumb"})]},proxy:!0}])}),e._v(" "),n("TextBox",{staticClass:"bar-value",attrs:{"max-length":"5","change-on-blur":"",disabled:!e.popupOpened,text:e.fixed(e.wrapper.saturation)},on:{change:function(t){return e.wrapper.change("saturationv",t)}}})],1),e._v(" "),n("div",{staticClass:"bar"},[n("div",{staticClass:"bar-name"},[e._v("\n B\n ")]),e._v(" "),n("VSlider",{attrs:{focusable:!1,value:e.wrapper.brightness},on:{change:function(t){return e.wrapper.change("value",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[n("div",{staticClass:"color-bar",style:{background:e.wrapper.brightnessGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[n("div",{staticClass:"color-thumb"})]},proxy:!0}])}),e._v(" "),n("TextBox",{staticClass:"bar-value",attrs:{"max-length":"5","change-on-blur":"",disabled:!e.popupOpened,text:e.fixed(e.wrapper.brightness)},on:{change:function(t){return e.wrapper.change("value",t)}}})],1)]],2)]),e._v(" "),n("div",{staticClass:"info item-group"},[n("VButton",{staticClass:"toggle-mode",attrs:{disabled:!e.popupOpened,type:"transparent",title:e.isRGB?"切换至HSB":"切换至RGB"},on:{click:function(t){e.isRGB=!e.isRGB}}},[e._v("\n "+e._s(e.isRGB?"切换至HSB":"切换至RGB")+"\n ")]),e._v(" "),n("div",{staticClass:"grow"}),e._v(" "),n("div",{staticClass:"color-preview",style:{backgroundColor:e.wrapper.hex}}),e._v(" "),n("TextBox",{staticClass:"hex",attrs:{disabled:!e.popupOpened,text:e.wrapper.hex,"change-on-blur":""},on:{change:function(t){return e.selectHexColor(t)}}})],1),e._v(" "),n("div",{staticClass:"operations item-group",on:{click:function(t){e.popupOpened=!e.popupOpened}}},[n("VButton",{staticClass:"cancel",attrs:{disabled:!e.popupOpened},on:{click:function(t){return e.reset()}}},[e._v("\n 取消\n ")]),e._v(" "),n("VButton",{staticClass:"ok",attrs:{disabled:!e.popupOpened,type:"primary"},on:{click:function(t){return e.ok()}}},[e._v("\n 确定\n ")])],1)])],1)};h._withStripped=!0;var m=n(6767),g=n.n(m),b=JSON.parse('["#E57373","#F06292","#BA68C8","#9575CD","#7986CB","#2196F3","#00A0D8","#00ACC1","#26A69A","#81C784","#9CCC65","#FF9800","#FF7043","#A1887F","#757575","#78909C"]');const v=e=>{let t=new(g())(e);const n={get color(){return t},set color(e){t=e,this.updateProps()},change(e,n){"string"==typeof n&&(n=parseFloat(n),Number.isNaN(n))||(this.color=t[e](n))},updateProps(){this.red=t.red(),this.green=t.green(),this.blue=t.blue(),this.hue=t.hue(),this.saturation=t.saturationv(),this.brightness=t.value(),this.hex=t.hex(),this.hueGradient=`linear-gradient(to right, ${t.hue(0).hex()}, ${t.hue(60).hex()}, ${t.hue(120).hex()}, ${t.hue(180).hex()}, ${t.hue(240).hex()}, ${t.hue(300).hex()}, ${t.hue(0).hex()})`,this.saturationGradient=`linear-gradient(to right, ${t.saturationv(0).hex()}, ${t.saturationv(100).hex()})`,this.brightnessGradient=`linear-gradient(to right, ${t.value(0).hex()}, ${t.value(100).hex()})`,this.redGradient=`linear-gradient(to right, ${t.red(0).hex()}, ${t.red(255).hex()})`,this.greenGradient=`linear-gradient(to right, ${t.green(0).hex()}, ${t.green(255).hex()})`,this.blueGradient=`linear-gradient(to right, ${t.blue(0).hex()}, ${t.blue(255).hex()})`}};return n.updateProps(),n};var y=Vue.extend({name:"ColorPicker",components:{TextBox:()=>Promise.resolve().then(n.bind(n,825)).then((e=>e.default)),VSlider:()=>Promise.resolve().then(n.bind(n,7928)).then((e=>e.default)),VButton:()=>Promise.resolve().then(n.bind(n,1621)).then((e=>e.default)),VPopup:()=>Promise.resolve().then(n.bind(n,7553)).then((e=>e.default))},model:{prop:"color",event:"change"},props:{color:{type:String,default:"#000000",required:!0},size:{type:Number,default:24,required:!1},compact:{type:Boolean,default:!1},popupOffset:{type:Number,default:0}},data(){return{popupOpened:!1,wrapper:v(this.color),colors:b,isRGB:!1}},watch:{popupOpened(e){e&&(document.body.addEventListener("mousedown",(e=>{this.$el.contains(e.target)||this.$el===e.target||document.body.addEventListener("mouseup",(()=>{this.popupOpened=!1}),{once:!0})})),document.body.addEventListener("touchstart",(e=>{1!==e.touches.length||this.$el.contains(e.target)||this.$el===e.target||document.body.addEventListener("touchend",(()=>{this.popupOpened=!1}),{once:!0})})))}},methods:{ok(){this.$emit("change",this.wrapper.hex)},reset(){this.wrapper.color=new(g())(this.color)},selectHexColor(e){try{const t=new(g())(e,"hex");this.wrapper.color=t}catch(e){}},fixed:e=>(Math.round(10*e)/10).toString(),int:e=>Math.round(e).toString()}}),w=n(3500),x=n.n(w),k={insert:"head",singleton:!1},_=(s()(x(),k),x().locals,(0,u.Z)(y,h,[],!1,null,"b80ac862",null));_.options.__file="src/ui/ColorPicker.vue";var C=_.exports,S=function(){var e=this,t=e.$createElement;return(e._self._c||t)("img",{class:{placeholder:e.isPlaceholderActive},attrs:{width:e.width,height:e.height,srcset:e.srcset,src:e.actualSrc}})};S._withStripped=!0;var E=n(1906),$=n(2121),A=Vue.extend({name:"DpiImage",props:{size:{type:[Object,Number],required:!0},src:{type:String,required:!0},intersection:{type:Object,default:()=>({})},placeholderImage:{type:Boolean,default:!1}},data:()=>({srcset:null,actualSrc:$.EmptyImageUrl,isPlaceholderActive:!1}),computed:{width(){return"object"==typeof this.size&&"width"in this.size?this.size.width:null},height(){return"object"==typeof this.size&&"height"in this.size?this.size.height:null}},watch:{size(){this.sourceChange()},src(){this.sourceChange()}},mounted(){const e={rootMargin:"200px",...this.intersection},t=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&(this.calcSrc(),t.disconnect())}))}),e);t.observe(this.$el)},methods:{sourceChange(){this.actualSrc!==$.EmptyImageUrl&&null!==this.srcset&&this.calcSrc()},calcSrc(){const e=!this.src||!this.size;if(this.isPlaceholderActive=e&&this.placeholderImage,e)return this.srcset=null,void(this.placeholderImage?this.actualSrc="https://s1.hdslb.com/bfs/static/blive/live-web-center/static/img/no-cover.1ebe4d5.jpg":this.actualSrc=$.EmptyImageUrl);let{src:t}=this;if(t.startsWith("http:")&&(t=t.replace("http:","https:")),t.includes("//static.hdslb.com/images/member/noface.gif"))return this.srcset=t,void(this.actualSrc=t);this.srcset=(0,E.getDpiSourceSet)(t,this.size),this.actualSrc=t}}}),I=(0,u.Z)(A,S,[],!1,null,null,null);I.options.__file="src/ui/DpiImage.vue";var T=I.exports,O=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"be-image-picker"},[n("VButton",{ref:"pickButton",staticClass:"pick-button",on:{click:function(t){e.popupOpen=!e.popupOpen}}},[e._t("text",[e._v("\n 选择图片\n ")])],2),e._v(" "),n("VPopup",{staticClass:"popup",attrs:{"trigger-element":e.$refs.pickButton},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.cancel()}},model:{value:e.popupOpen,callback:function(t){e.popupOpen=t},expression:"popupOpen"}},[n("transition-group",{staticClass:"images",attrs:{name:"image-list",tag:"div",tabindex:"-1"}},e._l(e.images,(function(t){return n("div",{directives:[{name:"hit",rawName:"v-hit",value:function(){return e.selectImage(t)},expression:"() => selectImage(i)"}],key:t.name,staticClass:"image",class:{selected:t.name===e.selectedImage.name},attrs:{title:t.name,tabindex:e.popupOpen?0:-1}},[n("img",{attrs:{width:"64",height:"64",src:t.url}})])})),0),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:0===e.images.length,expression:"images.length === 0"}],staticClass:"empty-tip"},[e._v("\n 空空如也哦 = ̄ω ̄=\n ")]),e._v(" "),n("div",{staticClass:"operations"},[n("VPopup",{staticClass:"add-image-popup",attrs:{tabindex:"-1",lazy:!1,"trigger-element":e.$refs.addButton},model:{value:e.addImagePopupOpen,callback:function(t){e.addImagePopupOpen=t},expression:"addImagePopupOpen"}},[n("div",{staticClass:"add-image-row"},[e._v("\n 名称:\n "),n("TextBox",{ref:"addImageInput",attrs:{disabled:!e.addImagePopupOpen},model:{value:e.newImage.name,callback:function(t){e.$set(e.newImage,"name",t)},expression:"newImage.name"}})],1),e._v(" "),n("div",{staticClass:"add-image-row"},[e._v("\n 链接:\n "),n("TextBox",{attrs:{disabled:!e.addImagePopupOpen},model:{value:e.newImage.url,callback:function(t){e.$set(e.newImage,"url",t)},expression:"newImage.url"}})],1),e._v(" "),n("div",{staticClass:"add-image-row buttons"},[n("VButton",{attrs:{disabled:!e.addImagePopupOpen},on:{click:function(t){e.addImagePopupOpen=!1,e.clearNewImage()}}},[e._v("\n 取消\n ")]),e._v(" "),n("VButton",{attrs:{disabled:!e.newImage.url||!e.newImage.name,type:"primary"},on:{click:function(t){e.addImage(e.newImage),e.addImagePopupOpen=!1,e.clearNewImage()}}},[e._v("\n 确定\n ")])],1)]),e._v(" "),n("VButton",{staticClass:"clear-image",attrs:{disabled:!e.selectedImage.name},on:{click:function(t){return e.clearImage()}}},[e._v("\n 清除选择\n ")]),e._v(" "),n("VButton",{ref:"addButton",staticClass:"add-image",attrs:{disabled:!e.popupOpen},on:{click:function(t){return e.openAddImagePopup()}}},[e._v("\n 添加\n ")]),e._v(" "),n("VButton",{staticClass:"edit-image",attrs:{disabled:!e.selectedImage.name},on:{click:function(t){return e.editImage()}}},[e._v("\n 编辑\n ")]),e._v(" "),n("VButton",{attrs:{disabled:!e.selectedImage.name},on:{click:function(t){e.removeImage(e.selectedImage),e.clearImage()}}},[e._v("\n 删除\n ")])],1),e._v(" "),n("div",{staticClass:"operations"},[n("VButton",{attrs:{disabled:!e.popupOpen},on:{click:function(t){return e.cancel()}}},[e._v("\n 取消\n ")]),e._v(" "),n("VButton",{attrs:{disabled:!e.popupOpen,type:"primary"},on:{click:function(t){return e.ok()}}},[e._v("\n 确定\n ")])],1),e._v(" "),e.addImagePopupOpen?n("div",{staticClass:"mask"}):e._e()],1)],1)};O._withStripped=!0;const L=[];var M=Vue.extend({name:"ImagePicker",components:{VButton:()=>Promise.resolve().then(n.bind(n,1621)).then((e=>e.default)),VPopup:()=>Promise.resolve().then(n.bind(n,7553)).then((e=>e.default)),TextBox:()=>Promise.resolve().then(n.bind(n,825)).then((e=>e.default))},model:{prop:"image",event:"change"},props:{image:{type:Object,required:!0}},data:()=>({images:L,popupOpen:!1,addImagePopupOpen:!1,selectedImage:{name:"",url:""},newImage:{name:"",url:""}}),methods:{addImage:e=>{if(!e.name||!e.url)return;const t=L.find((t=>t.name===e.name));t?t.url=e.url:L.unshift(e)},removeImage:e=>{const t="string"==typeof e?e:e.name,n=L.findIndex((e=>e.name===t));-1!==n&&L.splice(n,1)},ok(){this.$emit("change",this.selectedImage),this.popupOpen=!1},cancel(){this.selectedImage=this.image,this.popupOpen=!1},selectImage(e){this.selectedImage.name===e.name?this.selectedImage={name:"",url:""}:this.selectedImage=e},clearImage(){this.selectedImage={name:"",url:""}},clearNewImage(){this.newImage={name:"",url:""}},editImage(){this.newImage=this.selectedImage,this.openAddImagePopup()},async openAddImagePopup(){this.addImagePopupOpen=!this.addImagePopupOpen,await this.$nextTick(),this.$refs.addImageInput.$refs.input.focus()}}}),P=n(2228),z=n.n(P),D={insert:"head",singleton:!1},V=(s()(z(),D),z().locals,(0,u.Z)(M,O,[],!1,null,"22d00072",null));V.options.__file="src/ui/ImagePicker.vue";var B=V.exports,N=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"image-viewer-container",class:{open:e.open},on:{click:e.detectOutside}},[n("div",{ref:"viewer",staticClass:"image-viewer"},[n("div",{staticClass:"image-container"},[e.image?n("img",{staticClass:"image",attrs:{src:e.image}}):e._e()]),e._v(" "),n("div",{staticClass:"close image-viewer-icon",attrs:{title:"关闭"},on:{click:function(t){e.open=!1}}},[n("VIcon",{attrs:{size:48,icon:"mdi-close"}})],1),e._v(" "),n("a",{staticClass:"copy-link image-viewer-icon",attrs:{target:"_blank",title:"复制原链接"},on:{click:function(t){return e.copyLink()}}},[n("VIcon",{attrs:{size:48,icon:"mdi-link"}})],1),e._v(" "),n("a",{staticClass:"new-tab image-viewer-icon",attrs:{target:"_blank",title:"在新标签页打开"},on:{click:function(t){return e.newTab()}}},[n("VIcon",{attrs:{size:48,icon:"mdi-open-in-new"}})],1),e._v(" "),e.blobUrl?n("a",{staticClass:"download image-viewer-icon",attrs:{target:"_blank",title:"下载",href:e.blobUrl,download:e.filename}},[n("VIcon",{attrs:{size:48,icon:"mdi-download"}})],1):e._e()])])};N._withStripped=!0;var j=n(6171),q=n(53),F=n(7195),R=Vue.extend({components:{VIcon:i.default},props:{image:{type:String,required:!0}},data:()=>({filename:"",open:!1,blobUrl:""}),watch:{async image(e){this.blobUrl&&URL.revokeObjectURL(this.blobUrl),e||(this.blobUrl="");const t=await(0,F.getBlob)(e);this.blobUrl=URL.createObjectURL(t),this.updateFilename()}},mounted(){(0,j.addComponentListener)("settingsPanel.filenameFormat",(()=>{this.updateFilename()}),!0)},methods:{async copyLink(){await navigator.clipboard.writeText(this.image)},newTab(){window.open(this.image,"_blank")},detectOutside(e){const t=this.$el,{viewer:n}=this.$refs;e.target!==t&&e.target!==n||(this.open=!1)},updateFilename(){const e=this.image;this.filename=e?(0,q.getFriendlyTitle)(document.URL.includes("/www.bilibili.com/bangumi/"))+e.substring(e.lastIndexOf(".")):""}}}),U=n(7552),H=n.n(U),Z={insert:"head",singleton:!1},W=(s()(H(),Z),H().locals,(0,u.Z)(R,N,[],!1,null,"1a44716a",null));W.options.__file="src/ui/ImageViewer.vue";var G=W.exports;let X;const J=async e=>(X||await(async()=>(X=new G({propsData:{image:"",open:!1}}).$mount(),document.body.insertAdjacentElement("beforeend",X.$el),X))(),setTimeout((()=>{X.image=e,X.open=!0})),X);var K=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"be-progress-bar"},[n("div",{staticClass:"progress",class:{transition:e.transition},style:{width:e.width}})])};K._withStripped=!0;var Y=Vue.extend({name:"ProgressBar",props:{progress:{type:Number,default:50},min:{type:Number,default:0},max:{type:Number,default:100},transition:{type:Boolean,default:!1}},computed:{width(){let e=this.progress;e>this.max?e=this.max:e<this.min&&(e=this.min);return 100*((e-this.min)/(this.max-this.min))+"%"}}}),Q=n(6293),ee=n.n(Q),te={insert:"head",singleton:!1},ne=(s()(ee(),te),ee().locals,(0,u.Z)(Y,K,[],!1,null,"3ac6d224",null));ne.options.__file="src/ui/ProgressBar.vue";var ie=ne.exports,re=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"be-progress-ring"},[n("svg",{attrs:{height:e.size,width:e.size}},[n("circle",{staticClass:"progress",class:{transition:e.transition},style:{strokeDashoffset:e.strokeDashoffset},attrs:{fill:"transparent","stroke-linecap":"round","stroke-dasharray":e.circumference+" "+e.circumference,"stroke-width":e.stroke,r:e.radius,cx:e.size/2,cy:e.size/2}}),e._v(" "),n("circle",{staticClass:"progress-background",attrs:{fill:"transparent","stroke-width":e.stroke,r:e.radius,cx:e.size/2,cy:e.size/2}})])])};re._withStripped=!0;var ae=Vue.extend({name:"ProgressRing",props:{size:{type:Number,required:!0},progress:{type:Number,default:50},stroke:{type:Number,default:4},min:{type:Number,default:0},max:{type:Number,default:100},transition:{type:Boolean,default:!1}},data(){const e=this.size/2-this.stroke;return{radius:e,circumference:2*e*Math.PI}},computed:{strokeDashoffset(){let e=this.progress;e>this.max?e=this.max:e<this.min&&(e=this.min);return(1-(e-this.min)/(this.max-this.min))*this.circumference}}}),oe=n(4858),se=n.n(oe),le={insert:"head",singleton:!1},ce=(s()(se(),le),se().locals,(0,u.Z)(ae,re,[],!1,null,"3f873eef",null));ce.options.__file="src/ui/ProgressRing.vue";var de=ce.exports,ue=function(){var e=this,t=e.$createElement;return(e._self._c||t)("CheckBox",e._b({staticClass:"be-radio-button",attrs:{role:"radio",checked:e.checked,"checked-icon":e.checkedIcon,"not-checked-icon":e.notCheckedIcon},on:{change:function(t){return e.emitChange(t)}}},"CheckBox",e.$attrs,!1),[e._t("default",[e._v("RadioButton")])],2)};ue._withStripped=!0;const pe=new Map,fe=lodash.curry(((e,t,n)=>{pe.has(e)?pe.get(e).push({instance:t,uncheck:n}):pe.set(e,[{instance:t,uncheck:n}])}));var he=Vue.extend({name:"RadioButton",components:{CheckBox:f},model:{prop:"checked",event:"change"},props:{checked:{type:Boolean,required:!0},allowUncheck:{type:Boolean,default:!1},group:{type:String,default:""},checkedIcon:{type:String,default:"mdi-radiobox-marked"},notCheckedIcon:{type:String,default:"mdi-radiobox-blank"}},watch:{checked(e){if(e){const e=this.group,t=this.$el;let n;n=""===e?t.parentElement:e,pe.get(n).forEach((({instance:e,uncheck:t})=>{e!==this&&t()}))}}},mounted(){const e=this.group,t=this.$el;let n;n=fe(""===e?t.parentElement:e),n(this,(()=>this.$emit("change",!1)))},methods:{emitChange(e){(this.checked&&this.allowUncheck||!this.checked)&&this.$emit("change",e)}}}),me=(0,u.Z)(he,ue,[],!1,null,null,null);me.options.__file="src/ui/RadioButton.vue";var ge=me.exports,be=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"be-range-input"},[n("TextBox",{attrs:{"change-on-blur":"",text:e.wrapper.range.start.toString()},on:{change:function(t){e.wrapper.start=t}}}),e._v(" "),e._t("separator",[n("div",{staticClass:"default-separator"},[e._v("\n ~\n ")])]),e._v(" "),n("TextBox",{attrs:{"change-on-blur":"",text:e.wrapper.range.end.toString()},on:{change:function(t){e.wrapper.end=t}}})],2)};be._withStripped=!0;const ve=e=>({range:e.range,get start(){return this.range.start.toString()},set start(e){this.createNewRange(e,this.end)},get end(){return this.range.end.toString()},set end(e){this.createNewRange(this.start,e)},createNewRange(t,n){let i={start:t,end:n};e.validator&&(i=e.validator(i)),null!=i?(this.range=i,e.$emit("change",i)):this.range={start:this.range.start,end:this.range.end}}});var ye=Vue.extend({name:"RangeInput",components:{TextBox:()=>Promise.resolve().then(n.bind(n,825))},model:{prop:"range",event:"change"},props:{range:{type:Object,required:!0},validator:{type:Function,default:void 0}},data(){return{wrapper:ve(this)}}}),we=n(9729),xe=n.n(we),ke={insert:"head",singleton:!1},_e=(s()(xe(),ke),xe().locals,(0,u.Z)(ye,be,[],!1,null,"f376e002",null));_e.options.__file="src/ui/RangeInput.vue";var Ce=_e.exports,Se=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"be-scroll-trigger"},[e._t("default",[n("VLoading")])],2)};Se._withStripped=!0;var Ee=Vue.extend({components:{VLoading:()=>Promise.resolve().then(n.bind(n,2074)).then((e=>e.default))},async mounted(){const e=this.$el,{visible:t}=await Promise.resolve().then(n.bind(n,3420));t(e,(e=>{e.some((e=>e.intersectionRatio>0))&&this.$emit("trigger")}))}}),$e=(0,u.Z)(Ee,Se,[],!1,null,null,null);$e.options.__file="src/ui/ScrollTrigger.vue";var Ae=$e.exports,Ie=n(3353),Te=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"be-tab-control"},[n("div",{staticClass:"default-header"},[e._t("tabs",[n("div",{staticClass:"default-tabs"},e._l(e.tabs,(function(t){return n("div",{key:t.name,staticClass:"default-tab",class:{selected:t===e.selectedTab},attrs:{"data-count":t.count>0?t.count:null},on:{click:function(n){return e.selectTab(t)}}},[n("div",{staticClass:"default-tab-name"},[e._v("\n "+e._s(t.displayName)+"\n ")])])})),0)]),e._v(" "),n("div",{staticClass:"header-item"},[e._t("header-item")],2),e._v(" "),null!==e.moreLink&&void 0!==e.moreLink?n("a",{staticClass:"be-more-link",attrs:{href:"function"==typeof e.moreLink?e.moreLink(e.selectedTab):e.moreLink}},[n("VButton",{attrs:{disabled:!e.moreLink,round:""}},[e._t("more-link",[e._v("\n 查看更多\n "),n("VIcon",{attrs:{icon:"mdi-dots-horizontal",size:18}})])],2)],1):e._e()],2),e._v(" "),e._t("content",[n("div",{staticClass:"default-content"},[n("transition",{attrs:{name:"content-transition"}},[n(e.selectedTab.component,e._b({tag:"component"},"component",e.selectedTab.propsData,!1))],1)],1)])],2)};Te._withStripped=!0;var Oe=Vue.extend({name:"TabControl",components:{VButton:()=>Promise.resolve().then(n.bind(n,1621)).then((e=>e.default)),VIcon:()=>Promise.resolve().then(n.bind(n,5464)).then((e=>e.default))},model:{prop:"link",event:"change"},props:{tabs:{type:Array,required:!0,validator:e=>0!==e.length},link:{type:String,required:!1,default:null},moreLink:{type:[String,Function],default:null}},data(){return{selectedTab:this.tabs[0]}},mounted(){this.$emit("change",this.selectedTab.activeLink)},methods:{selectTab(e){this.selectedTab!==e?(this.selectedTab=e,e.count=0,this.$emit("change",this.selectedTab.activeLink)):e.activeLink&&window.open(e.activeLink,"_blank")}}}),Le=n(5901),Me=n.n(Le),Pe={insert:"head",singleton:!1},ze=(s()(Me(),Pe),Me().locals,(0,u.Z)(Oe,Te,[],!1,null,null,null));ze.options.__file="src/ui/TabControl.vue";var De=ze.exports,Ve=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"be-text-area",attrs:{role:"text"}},[n("textarea",e._g(e._b({ref:"input",attrs:{type:"text"},domProps:{value:e.text},on:{change:function(t){return t.stopPropagation(),e.change(t)},input:function(t){return t.stopPropagation(),e.input(t)},compositionstart:e.compositionStart,compositionend:e.compositionEnd}},"textarea",e.$attrs,!1),e.restListeners))])};Ve._withStripped=!0;var Be=n(1357),Ne=Vue.extend({name:"TextArea",mixins:[Be.t]}),je=n(835),qe=n.n(je),Fe={insert:"head",singleton:!1},Re=(s()(qe(),Fe),qe().locals,(0,u.Z)(Ne,Ve,[],!1,null,null,null));Re.options.__file="src/ui/TextArea.vue";var Ue=Re.exports,He=n(825),Ze=n(1621),We=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"hit",rawName:"v-hit",value:e.hit,expression:"hit"}],staticClass:"be-dropdown",class:{disabled:e.disabled,round:e.round},attrs:{role:"combobox",tabindex:e.disabled?-1:0,"aria-disabled":e.disabled}},[n("div",{ref:"selected",staticClass:"selected"},[n("div",{staticClass:"selected-item"},[null!==e.value&&void 0!==e.value?e._t("item",[e._v("\n "+e._s(e.value.displayName)+"\n ")],{item:e.value}):e._e()],2),e._v(" "),n("div",{staticClass:"arrow",class:{open:e.popupOpen}},[e._t("arrow",[n("div",{staticClass:"default-arrow"},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"}},[n("defs",[n("clipPath",{attrs:{id:"clip-arrow-down"}},[n("rect",{attrs:{width:"24",height:"24"}})])]),e._v(" "),n("g",{attrs:{id:"arrow-down","clip-path":"url(#clip-arrow-down)"}},[n("path",{attrs:{id:"Path_1","data-name":"Path 1",d:"M2,17,12,7,22,17",transform:"translate(24 25) rotate(180)","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"}})])])])])],2)]),e._v(" "),n("VPopup",{ref:"popup",staticClass:"dropdown-popup",attrs:{lazy:!1,"trigger-element":e.$refs.selected},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.selectItem(e.value)}},model:{value:e.popupOpen,callback:function(t){e.popupOpen=t},expression:"popupOpen"}},e._l(e.items,(function(t){return n("div",{directives:[{name:"hit",rawName:"v-hit",value:function(){return e.selectItem(t)},expression:"() => selectItem(item)"}],key:e.keyMapper(t),staticClass:"bex-dropdown-item",attrs:{tabindex:e.popupOpen?0:-1}},[e._t("item",[e._v("\n "+e._s(t.displayName)+"\n ")],{item:t})],2)})),0)],1)};We._withStripped=!0;var Ge=n(7553),Xe=Vue.extend({name:"VDropdown",components:{VPopup:Ge.default},model:{prop:"value",event:"change"},props:{value:{required:!0},items:{type:Array,required:!0},keyMapper:{type:Function,default:e=>e.name},round:{type:Boolean,default:!1}},data:()=>({popupOpen:!1}),computed:{disabled(){return Boolean(this.$attrs.disabled)}},watch:{disabled(e){e&&(this.popupOpen=!1)}},created(){null!==this.value&&void 0!==this.value||this.$emit("change",this.items[0]||"<No items>")},methods:{selectItem(e){e!==this.value&&this.$emit("change",e),this.popupOpen=!1,this.$el.focus()},hit(e){if(this.disabled)return;const t=this.$refs.popup.$el,n=e.target;t===n||t.contains(n)||(this.popupOpen=!this.popupOpen)}}}),Je=n(6015),Ke=n.n(Je),Ye={insert:"head",singleton:!1},Qe=(s()(Ke(),Ye),Ke().locals,(0,u.Z)(Xe,We,[],!1,null,"0e500725",null));Qe.options.__file="src/ui/VDropdown.vue";var et=Qe.exports,tt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"be-empty"},[e._t("default",["string"==typeof e.config.content&&e.config.content.length>0?[e._v("\n "+e._s(e.config.content)+"\n ")]:e._e(),e._v(" "),"string"!=typeof e.config.content?n(e.config.content,{tag:"component"}):e._e()])],2)};tt._withStripped=!0;var nt=n(950);const[it]=(0,nt.registerAndGetData)("vEmpty",{content:"空空如也哦 = ̄ω ̄="});var rt=Vue.extend({name:"VEmpty",data:()=>({config:it})}),at=n(1739),ot=n.n(at),st={insert:"head",singleton:!1},lt=(s()(ot(),st),ot().locals,(0,u.Z)(rt,tt,[],!1,null,null,null));lt.options.__file="src/ui/VEmpty.vue";var ct=lt.exports,dt=n(2074),ut=n(7928),pt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("VButton",e._g(e._b({staticClass:"default-widget"},"VButton",e.$attrs,!1),e.$listeners),[n("div",{staticClass:"widget-icon"},[e._t("icon",[n("VIcon",{attrs:{type:e.iconType,icon:e.icon}})])],2),e._v(" "),n("div",{staticClass:"widget-name"},[e._t("default",[e._v(e._s(e.name))])],2)])};pt._withStripped=!0;var ft=Vue.extend({components:{VIcon:i.default,VButton:Ze.default},props:{name:{type:String,default:""},icon:{type:String,default:""},iconType:{type:String,default:""}}}),ht=n(4937),mt=n.n(ht),gt={insert:"head",singleton:!1},bt=(s()(mt(),gt),mt().locals,(0,u.Z)(ft,pt,[],!1,null,"8fc42b3a",null));bt.options.__file="src/ui/DefaultWidget.vue";var vt=bt.exports,yt=n(2080)},3007:function(e,t,n){"use strict";n.r(t),n.d(t,{initMdiStyle:function(){return i}});const i=()=>{const e=document.createElement("link");return e.rel="stylesheet",e.href="https://cdn.jsdelivr.net/gh/Templarian/MaterialDesign-Webfont@5.3.45/css/materialdesignicons.min.css",e.media="none",e.onload=()=>{e.media="all"},e}},1357:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});const i=Vue.extend({model:{prop:"text",event:"change"},props:{text:{type:String,required:!1,default:""},changeOnBlur:{type:Boolean,required:!1,default:!1},validator:{type:Function,default:void 0}},data(){return{composing:!1,restListeners:lodash.omit(this.$listeners,"change","input","compositionstart","compositionend")}},methods:{emitChange(){let{value:e}=this.$refs.input;this.validator&&(e=this.validator(e),this.changeOnBlur&&(this.$refs.input.value=e)),e!==this.text&&this.$emit("change",e)},input(){this.changeOnBlur||this.composing||this.emitChange()},change(){this.changeOnBlur&&!this.composing&&this.emitChange()},compositionStart(){this.composing=!0},compositionEnd(){this.composing=!1,this.input()},focus(){this.$refs.input.focus()}}})},8168:function(e,t,n){var i=n(9092),r={};for(var a in i)i.hasOwnProperty(a)&&(r[i[a]]=a);var o=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var s in o)if(o.hasOwnProperty(s)){if(!("channels"in o[s]))throw new Error("missing channels property: "+s);if(!("labels"in o[s]))throw new Error("missing channel labels property: "+s);if(o[s].labels.length!==o[s].channels)throw new Error("channel and label counts mismatch: "+s);var l=o[s].channels,c=o[s].labels;delete o[s].channels,delete o[s].labels,Object.defineProperty(o[s],"channels",{value:l}),Object.defineProperty(o[s],"labels",{value:c})}o.rgb.hsl=function(e){var t,n,i=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(i,r,a),s=Math.max(i,r,a),l=s-o;return s===o?t=0:i===s?t=(r-a)/l:r===s?t=2+(a-i)/l:a===s&&(t=4+(i-r)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(o+s)/2,[t,100*(s===o?0:n<=.5?l/(s+o):l/(2-s-o)),100*n]},o.rgb.hsv=function(e){var t,n,i,r,a,o=e[0]/255,s=e[1]/255,l=e[2]/255,c=Math.max(o,s,l),d=c-Math.min(o,s,l),u=function(e){return(c-e)/6/d+.5};return 0===d?r=a=0:(a=d/c,t=u(o),n=u(s),i=u(l),o===c?r=i-n:s===c?r=1/3+t-i:l===c&&(r=2/3+n-t),r<0?r+=1:r>1&&(r-=1)),[360*r,100*a,100*c]},o.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[o.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,i))),100*(i=1-1/255*Math.max(t,Math.max(n,i)))]},o.rgb.cmyk=function(e){var t,n=e[0]/255,i=e[1]/255,r=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-i,1-r)))/(1-t)||0),100*((1-i-t)/(1-t)||0),100*((1-r-t)/(1-t)||0),100*t]},o.rgb.keyword=function(e){var t=r[e];if(t)return t;var n,a,o,s=1/0;for(var l in i)if(i.hasOwnProperty(l)){var c=i[l],d=(a=e,o=c,Math.pow(a[0]-o[0],2)+Math.pow(a[1]-o[1],2)+Math.pow(a[2]-o[2],2));d<s&&(s=d,n=l)}return n},o.keyword.rgb=function(e){return i[e]},o.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*t+.7152*n+.0722*i),100*(.0193*t+.1192*n+.9505*i)]},o.rgb.lab=function(e){var t=o.rgb.xyz(e),n=t[0],i=t[1],r=t[2];return i/=100,r/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},o.hsl.rgb=function(e){var t,n,i,r,a,o=e[0]/360,s=e[1]/100,l=e[2]/100;if(0===s)return[a=255*l,a,a];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),r=[0,0,0];for(var c=0;c<3;c++)(i=o+1/3*-(c-1))<0&&i++,i>1&&i--,a=6*i<1?t+6*(n-t)*i:2*i<1?n:3*i<2?t+(n-t)*(2/3-i)*6:t,r[c]=255*a;return r},o.hsl.hsv=function(e){var t=e[0],n=e[1]/100,i=e[2]/100,r=n,a=Math.max(i,.01);return n*=(i*=2)<=1?i:2-i,r*=a<=1?a:2-a,[t,100*(0===i?2*r/(a+r):2*n/(i+n)),100*((i+n)/2)]},o.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,i=e[2]/100,r=Math.floor(t)%6,a=t-Math.floor(t),o=255*i*(1-n),s=255*i*(1-n*a),l=255*i*(1-n*(1-a));switch(i*=255,r){case 0:return[i,l,o];case 1:return[s,i,o];case 2:return[o,i,l];case 3:return[o,s,i];case 4:return[l,o,i];case 5:return[i,o,s]}},o.hsv.hsl=function(e){var t,n,i,r=e[0],a=e[1]/100,o=e[2]/100,s=Math.max(o,.01);return i=(2-a)*o,n=a*s,[r,100*(n=(n/=(t=(2-a)*s)<=1?t:2-t)||0),100*(i/=2)]},o.hwb.rgb=function(e){var t,n,i,r,a,o,s,l=e[0]/360,c=e[1]/100,d=e[2]/100,u=c+d;switch(u>1&&(c/=u,d/=u),i=6*l-(t=Math.floor(6*l)),0!=(1&t)&&(i=1-i),r=c+i*((n=1-d)-c),t){default:case 6:case 0:a=n,o=r,s=c;break;case 1:a=r,o=n,s=c;break;case 2:a=c,o=n,s=r;break;case 3:a=c,o=r,s=n;break;case 4:a=r,o=c,s=n;break;case 5:a=n,o=c,s=r}return[255*a,255*o,255*s]},o.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,i=e[2]/100,r=e[3]/100;return[255*(1-Math.min(1,t*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r)),255*(1-Math.min(1,i*(1-r)+r))]},o.xyz.rgb=function(e){var t,n,i,r=e[0]/100,a=e[1]/100,o=e[2]/100;return n=-.9689*r+1.8758*a+.0415*o,i=.0557*r+-.204*a+1.057*o,t=(t=3.2406*r+-1.5372*a+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]},o.xyz.lab=function(e){var t=e[0],n=e[1],i=e[2];return n/=100,i/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},o.lab.xyz=function(e){var t,n,i,r=e[0];t=e[1]/500+(n=(r+16)/116),i=n-e[2]/200;var a=Math.pow(n,3),o=Math.pow(t,3),s=Math.pow(i,3);return n=a>.008856?a:(n-16/116)/7.787,t=o>.008856?o:(t-16/116)/7.787,i=s>.008856?s:(i-16/116)/7.787,[t*=95.047,n*=100,i*=108.883]},o.lab.lch=function(e){var t,n=e[0],i=e[1],r=e[2];return(t=360*Math.atan2(r,i)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(i*i+r*r),t]},o.lch.lab=function(e){var t,n=e[0],i=e[1];return t=e[2]/360*2*Math.PI,[n,i*Math.cos(t),i*Math.sin(t)]},o.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],r=1 in arguments?arguments[1]:o.rgb.hsv(e)[2];if(0===(r=Math.round(r/50)))return 30;var a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===r&&(a+=60),a},o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])},o.rgb.ansi256=function(e){var t=e[0],n=e[1],i=e[2];return t===n&&n===i?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)},o.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},o.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},o.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},o.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var i=parseInt(n,16);return[i>>16&255,i>>8&255,255&i]},o.rgb.hcg=function(e){var t,n=e[0]/255,i=e[1]/255,r=e[2]/255,a=Math.max(Math.max(n,i),r),o=Math.min(Math.min(n,i),r),s=a-o;return t=s<=0?0:a===n?(i-r)/s%6:a===i?2+(r-n)/s:4+(n-i)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?o/(1-s):0)]},o.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,i=1,r=0;return(i=n<.5?2*t*n:2*t*(1-n))<1&&(r=(n-.5*i)/(1-i)),[e[0],100*i,100*r]},o.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,i=t*n,r=0;return i<1&&(r=(n-i)/(1-i)),[e[0],100*i,100*r]},o.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,i=e[2]/100;if(0===n)return[255*i,255*i,255*i];var r,a=[0,0,0],o=t%1*6,s=o%1,l=1-s;switch(Math.floor(o)){case 0:a[0]=1,a[1]=s,a[2]=0;break;case 1:a[0]=l,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=s;break;case 3:a[0]=0,a[1]=l,a[2]=1;break;case 4:a[0]=s,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=l}return r=(1-n)*i,[255*(n*a[0]+r),255*(n*a[1]+r),255*(n*a[2]+r)]},o.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),i=0;return n>0&&(i=t/n),[e[0],100*i,100*n]},o.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,i=0;return n>0&&n<.5?i=t/(2*n):n>=.5&&n<1&&(i=t/(2*(1-n))),[e[0],100*i,100*n]},o.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},o.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,i=n-t,r=0;return i<1&&(r=(n-i)/(1-i)),[e[0],100*i,100*r]},o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},o.gray.hsl=o.gray.hsv=function(e){return[0,0,e[0]]},o.gray.hwb=function(e){return[0,100,e[0]]},o.gray.cmyk=function(e){return[0,0,0,e[0]]},o.gray.lab=function(e){return[e[0],0,0]},o.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},o.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},2085:function(e,t,n){var i=n(8168),r=n(4111),a={};Object.keys(i).forEach((function(e){a[e]={},Object.defineProperty(a[e],"channels",{value:i[e].channels}),Object.defineProperty(a[e],"labels",{value:i[e].labels});var t=r(e);Object.keys(t).forEach((function(n){var i=t[n];a[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var i=n.length,r=0;r<i;r++)n[r]=Math.round(n[r]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(i),a[e][n].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(i)}))})),e.exports=a},9092:function(e){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},4111:function(e,t,n){var i=n(8168);function r(e){var t=function(){for(var e={},t=Object.keys(i),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),a=Object.keys(i[r]),o=a.length,s=0;s<o;s++){var l=a[s],c=t[l];-1===c.distance&&(c.distance=t[r].distance+1,c.parent=r,n.unshift(l))}return t}function a(e,t){return function(n){return t(e(n))}}function o(e,t){for(var n=[t[e].parent,e],r=i[t[e].parent][e],o=t[e].parent;t[o].parent;)n.unshift(t[o].parent),r=a(i[t[o].parent][o],r),o=t[o].parent;return r.conversion=n,r}e.exports=function(e){for(var t=r(e),n={},i=Object.keys(t),a=i.length,s=0;s<a;s++){var l=i[s];null!==t[l].parent&&(n[l]=o(l,t))}return n}},8874:function(e){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},9818:function(e,t,n){var i=n(8874),r=n(6851),a={};for(var o in i)i.hasOwnProperty(o)&&(a[i[o]]=o);var s=e.exports={to:{},get:{}};function l(e,t,n){return Math.min(Math.max(t,e),n)}function c(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}s.get=function(e){var t,n;switch(e.substring(0,3).toLowerCase()){case"hsl":t=s.get.hsl(e),n="hsl";break;case"hwb":t=s.get.hwb(e),n="hwb";break;default:t=s.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},s.get.rgb=function(e){if(!e)return null;var t,n,r,a=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(r=t[2],t=t[1],n=0;n<3;n++){var o=2*n;a[n]=parseInt(t.slice(o,o+2),16)}r&&(a[3]=parseInt(r,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(r=(t=t[1])[3],n=0;n<3;n++)a[n]=parseInt(t[n]+t[n],16);r&&(a[3]=parseInt(r+r,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(n=0;n<3;n++)a[n]=parseInt(t[n+1],0);t[4]&&(a[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)))return(t=e.match(/(\D+)/))?"transparent"===t[1]?[0,0,0,0]:(a=i[t[1]])?(a[3]=1,a):null:null;for(n=0;n<3;n++)a[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(a[3]=parseFloat(t[4]))}for(n=0;n<3;n++)a[n]=l(a[n],0,255);return a[3]=l(a[3],0,1),a},s.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d*\.)?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])+360)%360,l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}return null},s.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}return null},s.to.hex=function(){var e=r(arguments);return"#"+c(e[0])+c(e[1])+c(e[2])+(e[3]<1?c(Math.round(255*e[3])):"")},s.to.rgb=function(){var e=r(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},s.to.rgb.percent=function(){var e=r(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),i=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+i+"%)":"rgba("+t+"%, "+n+"%, "+i+"%, "+e[3]+")"},s.to.hsl=function(){var e=r(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},s.to.hwb=function(){var e=r(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},s.to.keyword=function(e){return a[e.slice(0,3)]}},6767:function(e,t,n){"use strict";var i=n(9818),r=n(2085),a=[].slice,o=["keyword","gray","hex"],s={};Object.keys(r).forEach((function(e){s[a.call(r[e].labels).sort().join("")]=e}));var l={};function c(e,t){if(!(this instanceof c))return new c(e,t);if(t&&t in o&&(t=null),t&&!(t in r))throw new Error("Unknown model: "+t);var n,d;if(null==e)// eslint-disable-line no-eq-null,eqeqeq
|
||
this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof c)this.model=e.model,this.color=e.color.slice(),this.valpha=e.valpha;else if("string"==typeof e){var u=i.get(e);if(null===u)throw new Error("Unable to parse color from string: "+e);this.model=u.model,d=r[this.model].channels,this.color=u.value.slice(0,d),this.valpha="number"==typeof u.value[d]?u.value[d]:1}else if(e.length){this.model=t||"rgb",d=r[this.model].channels;var p=a.call(e,0,d);this.color=f(p,d),this.valpha="number"==typeof e[d]?e[d]:1}else if("number"==typeof e)e&=16777215,this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;var h=Object.keys(e);"alpha"in e&&(h.splice(h.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);var m=h.sort().join("");if(!(m in s))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=s[m];var g=r[this.model].labels,b=[];for(n=0;n<g.length;n++)b.push(e[g[n]]);this.color=f(b)}if(l[this.model])for(d=r[this.model].channels,n=0;n<d;n++){var v=l[this.model][n];v&&(this.color[n]=v(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}function d(e,t,n){return(e=Array.isArray(e)?e:[e]).forEach((function(e){(l[e]||(l[e]=[]))[t]=n})),e=e[0],function(i){var r;return arguments.length?(n&&(i=n(i)),(r=this[e]()).color[t]=i,r):(r=this[e]().color[t],n&&(r=n(r)),r)}}function u(e){return function(t){return Math.max(0,Math.min(e,t))}}function p(e){return Array.isArray(e)?e:[e]}function f(e,t){for(var n=0;n<t;n++)"number"!=typeof e[n]&&(e[n]=0);return e}c.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(e){var t=this.model in i.to?this:this.rgb(),n=1===(t=t.round("number"==typeof e?e:1)).valpha?t.color:t.color.concat(this.valpha);return i.to[t.model](n)},percentString:function(e){var t=this.rgb().round("number"==typeof e?e:1),n=1===t.valpha?t.color:t.color.concat(this.valpha);return i.to.rgb.percent(n)},array:function(){return 1===this.valpha?this.color.slice():this.color.concat(this.valpha)},object:function(){for(var e={},t=r[this.model].channels,n=r[this.model].labels,i=0;i<t;i++)e[n[i]]=this.color[i];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray:function(){var e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject:function(){var e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round:function(e){return e=Math.max(e||0,0),new c(this.color.map(function(e){return function(t){return function(e,t){return Number(e.toFixed(t))}(t,e)}}(e)).concat(this.valpha),this.model)},alpha:function(e){return arguments.length?new c(this.color.concat(Math.max(0,Math.min(1,e))),this.model):this.valpha},red:d("rgb",0,u(255)),green:d("rgb",1,u(255)),blue:d("rgb",2,u(255)),hue:d(["hsl","hsv","hsl","hwb","hcg"],0,(function(e){return(e%360+360)%360})),// eslint-disable-line brace-style
|
||
saturationl:d("hsl",1,u(100)),lightness:d("hsl",2,u(100)),saturationv:d("hsv",1,u(100)),value:d("hsv",2,u(100)),chroma:d("hcg",1,u(100)),gray:d("hcg",2,u(100)),white:d("hwb",1,u(100)),wblack:d("hwb",2,u(100)),cyan:d("cmyk",0,u(100)),magenta:d("cmyk",1,u(100)),yellow:d("cmyk",2,u(100)),black:d("cmyk",3,u(100)),x:d("xyz",0,u(100)),y:d("xyz",1,u(100)),z:d("xyz",2,u(100)),l:d("lab",0,u(100)),a:d("lab",1),b:d("lab",2),keyword:function(e){return arguments.length?new c(e):r[this.model].keyword(this.color)},hex:function(e){return arguments.length?new c(e):i.to.hex(this.rgb().round().color)},rgbNumber:function(){var e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity:function(){for(var e=this.rgb().color,t=[],n=0;n<e.length;n++){var i=e[n]/255;t[n]=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},isDark:function(){var e=this.rgb().color;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var e=this.rgb(),t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten:function(e){var t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken:function(e){var t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate:function(e){var t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate:function(e){var t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten:function(e){var t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken:function(e){var t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale:function(){var e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return c.rgb(t,t,t)},fade:function(e){return this.alpha(this.valpha-this.valpha*e)},opaquer:function(e){return this.alpha(this.valpha+this.valpha*e)},rotate:function(e){var t=this.hsl(),n=t.color[0];return n=(n=(n+e)%360)<0?360+n:n,t.color[0]=n,t},mix:function(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);var n=e.rgb(),i=this.rgb(),r=void 0===t?.5:t,a=2*r-1,o=n.alpha()-i.alpha(),s=((a*o==-1?a:(a+o)/(1+a*o))+1)/2,l=1-s;return c.rgb(s*n.red()+l*i.red(),s*n.green()+l*i.green(),s*n.blue()+l*i.blue(),n.alpha()*r+i.alpha()*(1-r))}},Object.keys(r).forEach((function(e){if(-1===o.indexOf(e)){var t=r[e].channels;c.prototype[e]=function(){if(this.model===e)return new c(this);if(arguments.length)return new c(arguments,e);var n="number"==typeof arguments[t]?t:this.valpha;return new c(p(r[this.model][e].raw(this.color)).concat(n),e)},c[e]=function(n){return"number"==typeof n&&(n=f(a.call(arguments),t)),new c(n,e)}}})),e.exports=c},8513:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,'.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:currentColor;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:currentColor;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:currentColor;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:currentColor;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}',""]),e.exports=i},8535:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".switch-options {\n position: relative;\n --columns: 1;\n}\n.switch-options.grid {\n width: 100%;\n}\n.switch-options .switch-icon {\n margin-right: 8px;\n transform: scale(0.9);\n}\n.switch-options .dim {\n opacity: 0.5;\n}\n.switch-options-grid {\n font-size: 12px;\n display: grid;\n grid-template-columns: repeat(auto-fill, 50%);\n}\n.switch-options-popup {\n font-size: 12px;\n transition: 0.2s ease-out;\n transform-origin: left;\n transform: translateY(-50%) scale(0.9);\n top: 50%;\n left: calc(100% + 8px);\n background-color: #fff;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n white-space: nowrap;\n padding: 4px;\n display: grid;\n width: max-content;\n grid-template-columns: repeat(var(--columns), auto);\n border-radius: 5px;\n border: 1px solid rgba(136,136,136,0.13333);\n max-height: calc(100vh - 100px);\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n}\nbody.dark .switch-options-popup {\n background-color: #333;\n}\n.switch-options-popup::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.switch-options-popup.open {\n transform: translateY(-50%) scale(1);\n}\nbody.settings-panel-dock-right .switch-options-popup {\n right: calc(100% + 8px);\n left: unset;\n transform-origin: right;\n}\n.switch-options.small-size .switch-options-popup {\n transform-origin: top;\n top: calc(100% + 8px);\n left: 50%;\n transform: translateX(-50%) scale(0.9);\n}\n.switch-options.small-size .switch-options-popup.open {\n transform: translateX(-50%) scale(1);\n}",""]),e.exports=i},5478:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,'.bangumi-card[data-v-3bc2da4f] {\n --cover-width: 94px;\n background-color: #fff;\n margin: 0 8px 8px 8px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n box-sizing: border-box;\n border: 1px solid rgba(136,136,136,0.13333);\n border-radius: 8px;\n display: grid;\n grid-template-areas: "cover epTitle" "cover title";\n grid-template-columns: var(--cover-width) 1fr;\n grid-template-rows: 6fr 5fr;\n position: relative;\n flex-shrink: 0;\n}\n.bangumi-card .up[data-v-3bc2da4f] {\n grid-area: title;\n display: flex;\n align-items: center;\n padding: 0 12px;\n align-self: center;\n overflow: hidden;\n margin-bottom: 4px;\n}\n.bangumi-card .up .cover[data-v-3bc2da4f] {\n height: 18px;\n border-radius: 50%;\n}\n.bangumi-card .up .title[data-v-3bc2da4f] {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n margin: 0 6px;\n line-height: normal;\n}\n.bangumi-card .ep-title[data-v-3bc2da4f] {\n grid-area: epTitle;\n font-size: 11pt;\n font-weight: bold;\n padding: 0 12px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n align-self: center;\n color: inherit;\n line-height: normal;\n margin-top: 4px;\n}\n.bangumi-card .ep-cover-container[data-v-3bc2da4f] {\n grid-area: cover;\n border-radius: 8px 0 0 8px;\n overflow: hidden;\n display: flex;\n}\n.bangumi-card .ep-cover-container .ep-cover[data-v-3bc2da4f] {\n background-color: rgba(136,136,136,0.26667);\n width: var(--cover-width);\n min-height: 62.5px;\n}\n.bangumi-card:hover .ep-title[data-v-3bc2da4f] {\n color: var(--theme-color);\n}\n.bangumi-card:hover .ep-cover[data-v-3bc2da4f] {\n transform: scale(1.05);\n}\nbody.dark .bangumi-card[data-v-3bc2da4f] {\n box-shadow: rgba(0,0,0,0.06667) 0 4px 12px 0px;\n background-color: #2d2d2d;\n color: #eee;\n}\n.bangumi-card.new[data-v-3bc2da4f]::before {\n content: "NEW";\n position: absolute;\n top: 4px;\n left: 4px;\n background-color: var(--theme-color);\n color: var(--foreground-color);\n padding: 0 6px;\n height: 18px;\n border-radius: 9px;\n font-weight: 700;\n font-size: 11px;\n line-height: 18px;\n z-index: 1;\n}',""]),e.exports=i},620:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".column-card {\n width: 356px;\n display: flex;\n flex-direction: column;\n margin-bottom: 12px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid rgba(136,136,136,0.13333);\n background-color: #fff;\n box-sizing: border-box;\n position: relative;\n flex-shrink: 0;\n font-size: 12px;\n cursor: pointer;\n border-radius: 8px;\n}\nbody.dark .column-card {\n background-color: #282828;\n color: #eee;\n}\n.column-card .covers {\n position: relative;\n display: flex;\n overflow: hidden;\n border-radius: 8px 8px 0 0;\n}\n.column-card .covers .cover {\n flex: 1 0 0;\n height: 120px;\n width: 0;\n -o-object-fit: cover;\n object-fit: cover;\n}\n.column-card .up {\n position: absolute;\n left: 8px;\n top: calc(120px - 28px - 6px);\n padding: 2px;\n display: flex;\n align-items: center;\n background-color: rgba(0,0,0,0.66667);\n border-radius: 14px;\n height: 28px;\n box-sizing: border-box;\n}\n.column-card .up .face {\n border-radius: 50%;\n height: 24px;\n width: 24px;\n}\n.column-card .up .name {\n margin: 0 6px;\n color: #fff;\n}\n.column-card .title {\n padding: 10px 10px 0;\n margin: 0;\n font-size: 11pt;\n font-weight: bold;\n color: inherit;\n line-height: normal;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.column-card .description {\n margin: 8px 10px;\n display: -webkit-box;\n white-space: normal;\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: break-all;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n line-height: 1.5;\n max-height: 3em;\n}\n.column-card:hover .title {\n color: var(--theme-color);\n}\n.column-card:hover .cover {\n transform: scale(1.05);\n}",""]),e.exports=i},1745:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,'.video-card[data-v-0ffa1cb1] {\n display: grid;\n grid-template-columns: 200px 1fr;\n grid-template-rows: 1fr 1fr 1fr;\n grid-template-areas: "cover title" "cover description" "cover up";\n height: var(--card-height);\n width: var(--card-width);\n color: black;\n background-color: #fff;\n border-radius: 8px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid rgba(136,136,136,0.13333);\n box-sizing: border-box;\n margin-right: var(--card-margin);\n margin-bottom: var(--card-margin);\n position: relative;\n}\nbody.dark .video-card[data-v-0ffa1cb1], body.dark .video-card[data-v-0ffa1cb1]:hover {\n background-color: #282828;\n color: #eee;\n}\n.video-card[data-v-0ffa1cb1]:hover {\n color: black;\n}\n.video-card.vertical[data-v-0ffa1cb1] {\n grid-template-columns: auto auto;\n grid-template-rows: 1fr auto auto;\n grid-template-areas: "cover cover" "title title" "up up";\n}\n.video-card.vertical .description[data-v-0ffa1cb1],\n.video-card.vertical .topics[data-v-0ffa1cb1] {\n display: none;\n}\n.video-card.vertical .cover-container[data-v-0ffa1cb1] {\n border-radius: 8px 8px 0 0;\n}\n.video-card.vertical .title[data-v-0ffa1cb1] {\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n max-height: 3em;\n word-break: break-all;\n white-space: normal;\n line-height: 1.5;\n margin: 8px 0;\n font-size: 10pt;\n}\n.video-card.vertical .up[data-v-0ffa1cb1] {\n align-self: start;\n white-space: nowrap;\n}\n.video-card.vertical .up .name[data-v-0ffa1cb1] {\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.video-card.vertical .up[data-v-0ffa1cb1]:not(.no-face) {\n margin-left: 8px;\n max-width: calc(var(--card-width) - 24px);\n}\n.video-card.vertical .up.no-face[data-v-0ffa1cb1] {\n margin-top: 8px;\n max-width: calc(var(--card-width) - 24px);\n}\n.video-card.vertical .cooperation[data-v-0ffa1cb1] {\n margin: 0 12px 8px 8px;\n}\n.video-card.vertical .stats[data-v-0ffa1cb1] {\n align-self: end;\n justify-self: start;\n margin-bottom: 6px;\n margin-right: 0;\n}\n.video-card > *[data-v-0ffa1cb1] {\n justify-self: self-start;\n align-self: center;\n}\n.video-card .publish-time-summary[data-v-0ffa1cb1],\n.video-card .publish-time-detail[data-v-0ffa1cb1],\n.video-card .duration[data-v-0ffa1cb1],\n.video-card .watchlater[data-v-0ffa1cb1] {\n opacity: 0;\n}\n.video-card:hover .cover[data-v-0ffa1cb1] {\n transform: scale(1.05);\n transition: 0.1s cubic-bezier(0.39, 0.58, 0.57, 1);\n}\n.video-card:hover .publish-time-summary[data-v-0ffa1cb1],\n.video-card:hover .duration[data-v-0ffa1cb1],\n.video-card:hover .watchlater[data-v-0ffa1cb1] {\n opacity: 1;\n}\n.video-card .publish-time-summary[data-v-0ffa1cb1]:hover {\n opacity: 0;\n}\n.video-card .publish-time-summary:hover ~ .publish-time-detail[data-v-0ffa1cb1] {\n opacity: 1;\n}\n.video-card .cover-container[data-v-0ffa1cb1] {\n grid-area: cover;\n border-radius: 8px 0 0 8px;\n position: relative;\n width: calc(var(--card-width) - 2px);\n height: calc(var(--card-width) / 20 * 12);\n overflow: hidden;\n}\n.video-card .cover-container .cover[data-v-0ffa1cb1] {\n -o-object-fit: cover;\n object-fit: cover;\n width: 100%;\n height: 100%;\n}\n.video-card .cover-container[data-v-0ffa1cb1] > :not(.cover) {\n position: absolute;\n display: flex;\n align-items: center;\n grid-gap: 0;\n gap: 0;\n}\n.video-card .cover-container .publish-time-detail[data-v-0ffa1cb1],\n.video-card .cover-container .publish-time-summary[data-v-0ffa1cb1],\n.video-card .cover-container .duration[data-v-0ffa1cb1],\n.video-card .cover-container .watchlater[data-v-0ffa1cb1] {\n bottom: 6px;\n padding: 2px 8px;\n background-color: rgba(0,0,0,0.66667);\n color: white;\n border-radius: 10px;\n height: 20px;\n box-sizing: border-box;\n}\n.video-card .cover-container .publish-time-detail .mdi[data-v-0ffa1cb1],\n.video-card .cover-container .publish-time-summary .mdi[data-v-0ffa1cb1],\n.video-card .cover-container .duration .mdi[data-v-0ffa1cb1],\n.video-card .cover-container .watchlater .mdi[data-v-0ffa1cb1] {\n margin-right: 4px;\n}\n.video-card .cover-container .new[data-v-0ffa1cb1] {\n top: 6px;\n left: 6px;\n background-color: var(--theme-color);\n color: var(--foreground-color);\n font-weight: bold;\n padding: 2px 8px;\n border-radius: 10px;\n height: 20px;\n box-sizing: border-box;\n}\n.video-card .cover-container .publish-time-detail[data-v-0ffa1cb1] {\n z-index: 0;\n}\n.video-card .cover-container .publish-time-summary[data-v-0ffa1cb1] {\n z-index: 1;\n}\n.video-card .cover-container .publish-time-detail[data-v-0ffa1cb1],\n.video-card .cover-container .publish-time-summary[data-v-0ffa1cb1] {\n top: 6px;\n right: 6px;\n}\n.video-card .cover-container .duration[data-v-0ffa1cb1] {\n left: 6px;\n}\n.video-card .cover-container .watchlater[data-v-0ffa1cb1] {\n right: 6px;\n padding-left: 4px;\n}\n.video-card .title[data-v-0ffa1cb1] {\n grid-area: title;\n font-size: 12pt;\n font-weight: bold;\n color: inherit;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n justify-self: stretch;\n text-overflow: ellipsis;\n}\n.video-card .title[data-v-0ffa1cb1]:hover {\n color: var(--theme-color);\n}\n.video-card .topics[data-v-0ffa1cb1] {\n grid-area: description;\n display: flex;\n align-items: center;\n margin-left: 12px;\n}\n.video-card .topics .topic[data-v-0ffa1cb1] {\n color: inherit;\n padding: 4px 8px;\n background-color: rgba(136,136,136,0.13333);\n margin-right: 8px;\n border-radius: 14px;\n white-space: nowrap;\n max-width: 120px;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.video-card .topics .topic[data-v-0ffa1cb1]:hover {\n background-color: rgba(136,136,136,0.26667);\n color: var(--theme-color);\n}\n.video-card .description[data-v-0ffa1cb1] {\n grid-area: description;\n color: inherit;\n overflow: hidden;\n align-self: stretch;\n justify-self: stretch;\n margin: 0 12px;\n line-height: 1.5;\n height: 3em;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n scrollbar-width: none !important;\n}\n.video-card .description[data-v-0ffa1cb1]::-webkit-scrollbar {\n width: 0px !important;\n}\n.video-card .description.single-line[data-v-0ffa1cb1] {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.video-card .cooperation[data-v-0ffa1cb1],\n.video-card .up[data-v-0ffa1cb1],\n.video-card .stats[data-v-0ffa1cb1] {\n grid-area: up;\n}\n.video-card .up[data-v-0ffa1cb1] {\n margin-left: 12px;\n display: flex;\n align-items: center;\n padding: 2px;\n background-color: transparent;\n border: 1px solid rgba(136,136,136,0.13333);\n box-sizing: border-box;\n border-radius: 15px;\n color: inherit;\n}\n.video-card .up .name[data-v-0ffa1cb1] {\n margin: 0 8px;\n}\n.video-card .up.no-face[data-v-0ffa1cb1] {\n background-color: transparent;\n padding: 0;\n}\n.video-card .up.no-face .be-icon[data-v-0ffa1cb1] {\n font-size: 14pt;\n opacity: 0.75;\n}\n.video-card .up .face[data-v-0ffa1cb1] {\n border-radius: 50%;\n width: 24px;\n height: 24px;\n}\n.video-card .up[data-v-0ffa1cb1]:not(.no-face):hover {\n background-color: rgba(136,136,136,0.13333);\n}\n.video-card .up:hover .name[data-v-0ffa1cb1],\n.video-card .up:hover .be-icon[data-v-0ffa1cb1] {\n color: var(--theme-color);\n}\n.video-card.no-stats .up[data-v-0ffa1cb1] {\n margin-bottom: 8px;\n}\n.video-card .cooperation[data-v-0ffa1cb1] {\n margin-left: 12px;\n display: flex;\n align-items: center;\n justify-self: stretch;\n justify-content: space-between;\n}\n.video-card .cooperation-ups[data-v-0ffa1cb1] {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: flex-start;\n}\n.video-card .cooperation-ups .cooperation-up[data-v-0ffa1cb1] {\n flex: 0 0 15px;\n width: 15px;\n display: flex;\n}\n.video-card .cooperation-ups .cooperation-up.no-face[data-v-0ffa1cb1] {\n background-color: transparent;\n padding: 0;\n}\n.video-card .cooperation-ups .cooperation-up.no-face .be-icon[data-v-0ffa1cb1] {\n font-size: 14pt;\n opacity: 0.75;\n}\n.video-card .cooperation-ups .cooperation-up .face[data-v-0ffa1cb1] {\n border-radius: 50%;\n width: 24px;\n height: 24px;\n}\n.video-card .cooperation-ups .cooperation-up .face[data-v-0ffa1cb1] {\n border: 1px solid rgba(136,136,136,0.13333);\n padding: 2px;\n background-color: #fff;\n}\nbody.dark .video-card .cooperation-ups .cooperation-up .face[data-v-0ffa1cb1] {\n background-color: #282828;\n}\n.video-card .cooperation-ups:hover .cooperation-up[data-v-0ffa1cb1] {\n flex-basis: auto;\n width: 30px;\n margin-right: 4px;\n}\n.video-card .cooperation-note[data-v-0ffa1cb1] {\n opacity: 0.5;\n}\n.video-card .stats[data-v-0ffa1cb1] {\n justify-self: self-end;\n margin-right: 12px;\n display: flex;\n align-items: center;\n opacity: 0.5;\n}\n.video-card .stats .be-icon[data-v-0ffa1cb1] {\n margin: 0 4px 0 12px;\n}',""]),e.exports=i},4618:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".bb-comment .translate-container,\n.card-content .translate-container {\n margin: 4px 0 2px 0;\n display: inline-block;\n font-weight: normal;\n font-size: 14px;\n}\n.bb-comment .translate-container .translated,\n.card-content .translate-container .translated {\n font-size: 12px;\n display: flex;\n align-items: center;\n grid-gap: 8px;\n gap: 8px;\n}\n.bb-comment .translate-container .translated a,\n.card-content .translate-container .translated a {\n color: #aaa !important;\n}\n.bb-comment .translate-container .translated a:hover,\n.card-content .translate-container .translated a:hover {\n color: var(--theme-color) !important;\n}\n.bb-comment .translate-container .translate,\n.card-content .translate-container .translate {\n display: flex;\n align-items: center;\n grid-gap: 2px;\n gap: 2px;\n font-size: 12px;\n height: 18px;\n color: #aaa;\n cursor: pointer;\n}\n.bb-comment .translate-container .translate:hover,\n.card-content .translate-container .translate:hover {\n color: var(--theme-color);\n}\n.bb-comment .translate-container .translate-result,\n.card-content .translate-container .translate-result {\n padding-top: 6px;\n white-space: pre-wrap;\n line-height: 20px;\n word-break: break-all;\n word-wrap: break-word;\n}\nbody.dark .bb-comment .translate-container .translate-result,\nbody.dark .card-content .translate-container .translate-result {\n color: #eee;\n}\n.bb-comment .reply-con .text-con {\n display: block;\n margin: 0 !important;\n}\n.card-content .translate-container {\n margin: 13px 0 2px 0;\n}",""]),e.exports=i},3955:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".suggest-item {\n outline: none !important;\n padding: 6px 6px 6px 10px;\n cursor: pointer;\n}\n.suggest-item.disabled {\n cursor: default;\n display: flex;\n align-items: center;\n grid-gap: 0;\n gap: 0;\n justify-content: center;\n}\n.suggest-item:not(.disabled):hover, .suggest-item:not(.disabled)[focus-within] {\n background-color: rgba(136,136,136,0.13333);\n}\n.suggest-item:not(.disabled):hover, .suggest-item:not(.disabled):focus-within {\n background-color: rgba(136,136,136,0.13333);\n}\n.suggest-item:first-child {\n padding-top: 8px;\n border-radius: 7px 7px 0 0;\n}\n.suggest-item:last-child {\n padding-bottom: 8px;\n border-radius: 0 0 7px 7px;\n}\n.suggest-item-content {\n display: flex;\n align-items: center;\n grid-gap: 0;\n gap: 0;\n}\n.suggest-item-icon {\n margin-right: 6px;\n}\n.suggest-item-title {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n grid-gap: 0;\n gap: 0;\n flex: 1 0 0;\n width: 0;\n}\n.suggest-item-name {\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.suggest-item-description {\n opacity: 0.5;\n font-size: smaller;\n}\n.suggest-item-delete {\n opacity: 0.5;\n margin-right: 4px;\n}\n.suggest-item-delete:hover {\n opacity: 1;\n}",""]),e.exports=i},5584:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".global-launch-bar-container {\n display: flex;\n top: 20vh;\n left: 50%;\n width: 40vw;\n max-width: 650px;\n height: 50px;\n padding: 0 8px;\n z-index: 5000;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid rgba(136,136,136,0.13333);\n box-sizing: border-box;\n border: 1px solid rgba(136,136,136,0.13333);\n font-size: 16px;\n transform: translateX(-50%);\n transition: opacity 0.2s ease-out;\n}\nbody.dark .global-launch-bar-container {\n background-color: #282828;\n color: #eee;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .global-launch-bar-container {\n background-color: #222;\n}\n.global-launch-bar-container .launch-bar {\n flex: 1;\n}\nbody.dark .global-launch-bar-container .launch-bar {\n --color: #eee;\n}\n.global-launch-bar-container .launch-bar .launch-bar-suggest-list {\n transition: 0.2s ease-out;\n top: calc(100% + 8px);\n max-height: calc(80vh - 16px - 50px);\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n font-size: 14px;\n}\n.global-launch-bar-container .launch-bar .launch-bar-suggest-list::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}",""]),e.exports=i},4815:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".launch-bar {\n --color: black;\n color: var(--color);\n position: relative;\n display: flex;\n align-items: center;\n grid-gap: 0;\n gap: 0;\n}\n.launch-bar .input-area {\n display: flex;\n flex-direction: column;\n flex: 1;\n}\n.launch-bar .input-area .recommended-target {\n display: none;\n}\n.launch-bar .input-area .launch-bar-form {\n flex: 1;\n display: flex;\n}\n.launch-bar .input-area .launch-bar-form .input {\n flex: 1;\n padding: 8px;\n background-color: transparent;\n border: none;\n outline: none !important;\n color: inherit;\n box-sizing: border-box;\n width: 15vw;\n font-size: inherit;\n}\n.launch-bar .input-area .launch-bar-form .input::placeholder {\n color: inherit !important;\n opacity: 0.8;\n}\n.launch-bar .input-area .launch-bar-form .submit {\n color: inherit;\n padding: 4px;\n background: transparent;\n border: none;\n outline: none !important;\n cursor: pointer;\n}\n.launch-bar .input-area .input-active-bar {\n flex: 0 0 auto;\n align-self: flex-start;\n height: 2px;\n width: 0;\n border-radius: 1px;\n background-color: var(--theme-color);\n transition: 0.3s ease-in-out;\n}\n.launch-bar .launch-bar-suggest-list {\n position: absolute;\n top: 100%;\n left: 50%;\n opacity: 0;\n width: 100%;\n transform: translateX(-50%) translateY(-4px);\n pointer-events: none;\n border: 1px solid rgba(136,136,136,0.13333);\n white-space: nowrap;\n border-radius: 8px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n color: black;\n background-color: #fff;\n}\nbody.dark .launch-bar .launch-bar-suggest-list {\n color: #eee;\n background-color: #222;\n}\n.launch-bar .launch-bar-suggest-list .suggest-highlight {\n color: var(--theme-color);\n font-style: normal;\n}\n.launch-bar[focus-within] .input-active-bar {\n width: 100%;\n}\n.launch-bar:focus-within .input-active-bar {\n width: 100%;\n}\n.launch-bar[focus-within] .launch-bar-suggest-list,\n.launch-bar .launch-bar-suggest-list[focus-within] {\n opacity: 1;\n transform: translateX(-50%);\n pointer-events: initial;\n}\n.launch-bar:focus-within .launch-bar-suggest-list,\n.launch-bar .launch-bar-suggest-list:focus-within {\n opacity: 1;\n transform: translateX(-50%);\n pointer-events: initial;\n}",""]),e.exports=i},8353:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,'.component-description {\n word-break: break-all;\n line-height: normal;\n}\n.component-description ul,\n.component-description ul li {\n list-style: disc;\n}\n.component-description ol,\n.component-description ol li {\n list-style: decimal;\n}\n.component-description ul,\n.component-description ol {\n padding-left: 16px;\n}\n.component-description ul li,\n.component-description ol li {\n line-height: 1.75;\n}\n.component-description p {\n margin: 0;\n}\n.component-description > p {\n line-height: 1.75;\n}\n.component-description pre {\n white-space: pre-wrap;\n}\n.component-description code {\n display: inline-block;\n padding: 0 4px;\n margin: 1px 2px;\n border-radius: 4px;\n background-color: rgba(136,136,136,0.13333);\n line-height: normal;\n}\n.component-description kbd {\n font-family: monospace;\n border: 1px solid #ccc;\n display: inline-block;\n border-radius: 4px;\n padding: 0 4px;\n margin: 1px 2px;\n line-height: 1.1;\n}\nbody.dark .component-description kbd {\n border-color: #666;\n}\n.component-description blockquote {\n border-radius: 4px;\n margin: 0;\n padding: 4px;\n padding-left: 12px;\n color: inherit;\n background-color: rgba(136,136,136,0.06667);\n box-sizing: border-box;\n position: relative;\n}\nbody.dark .component-description blockquote * {\n color: inherit !important;\n}\n.component-description blockquote::before {\n content: "";\n position: absolute;\n display: block;\n width: 3px;\n height: calc(100% - 8px);\n top: 4px;\n left: 0;\n border-radius: 2px;\n background-color: var(--theme-color);\n}\n.component-description a,\n.component-description a[focus-within],\n.component-description a:hover {\n color: var(--theme-color);\n}\n.component-description a,\n.component-description a:focus-within,\n.component-description a:hover {\n color: var(--theme-color);\n}\n.component-description > :last-child {\n margin-bottom: 0;\n}',""]),e.exports=i},7278:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".component-detail {\n min-width: 264px;\n width: 264px;\n flex: 1;\n background-color: inherit;\n border-radius: 7px;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n grid-gap: 0;\n gap: 0;\n}\n.component-detail::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.component-detail-separator {\n height: 1px;\n background-color: rgba(136,136,136,0.13333);\n margin-bottom: 12px;\n flex-shrink: 0;\n align-self: stretch;\n}\n.component-detail-header {\n display: flex;\n align-items: center;\n grid-gap: 0;\n gap: 0;\n justify-content: space-between;\n padding: 12px;\n background-color: inherit;\n position: sticky;\n top: 0;\n z-index: 2;\n}\n.component-detail-header .display-name {\n font-weight: bold;\n font-size: 16px;\n}\n.component-detail-header .close {\n cursor: pointer;\n}\n.component-detail-header .close:hover {\n color: var(--theme-color);\n}\n.component-detail-description:not(:last-child) {\n padding: 12px 12px 0;\n}\n.component-detail-tags {\n display: flex;\n align-items: center;\n grid-gap: 0;\n gap: 0;\n flex-wrap: wrap;\n padding: 0 8px 8px;\n}\n.component-detail-tags .tag {\n display: flex;\n align-items: center;\n grid-gap: 0;\n gap: 0;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid rgba(136,136,136,0.13333);\n box-sizing: border-box;\n box-sizing: border-box;\n height: 24px;\n border-radius: 12px;\n padding: 2px 6px;\n margin-right: 4px;\n margin-bottom: 4px;\n font-size: 12px;\n box-shadow: none;\n}\nbody.dark .component-detail-tags .tag {\n background-color: #282828;\n color: #eee;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\n.component-detail-tags .tag .tag-color {\n border-radius: 50%;\n width: 12px;\n height: 12px;\n margin-right: 4px;\n}\n.component-detail-internal-data {\n display: flex;\n align-items: center;\n grid-gap: 0;\n gap: 0;\n position: sticky;\n bottom: 0;\n justify-content: space-between;\n min-height: 24px;\n box-sizing: content-box;\n background-color: inherit;\n padding: 8px 12px;\n}\n.component-detail-internal-data .internal-name {\n opacity: 0.5;\n}\n.component-detail-internal-data .tippy-content {\n padding: 4px;\n}\n.component-detail-internal-data .extra-actions-wrapper {\n position: relative;\n transform: translateX(2px);\n}\n.component-detail-internal-data .extra-actions-wrapper .extra-actions {\n padding: 4px;\n cursor: pointer;\n}\n.component-detail-internal-data .extra-actions-wrapper .extra-actions-list {\n width: max-content;\n}\n.component-detail-operations {\n display: flex;\n align-items: center;\n grid-gap: 0;\n gap: 0;\n}\n.component-detail-operations > * {\n flex: 1 0 0;\n}\n.component-detail-operations > *:not(:last-child) {\n margin-right: 8px;\n}\n.component-detail-options {\n padding: 8px 12px;\n}\n.component-detail-options .component-detail-options-title {\n font-weight: bold;\n font-size: 14px;\n margin-bottom: 8px;\n}\n.component-detail-options .generated-option:not(:last-child) {\n margin-bottom: 4px;\n}\n.component-detail-grow {\n flex: 1;\n}",""]),e.exports=i},5136:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".component-option[data-v-ddb921e6] {\n display: flex;\n align-items: center;\n min-height: 24px;\n}\n.component-option .unknown-option-type[data-v-ddb921e6],\n.component-option .be-slider[data-v-ddb921e6],\n.component-option .be-range-input[data-v-ddb921e6],\n.component-option .be-text-box[data-v-ddb921e6] {\n flex: 1 0 0;\n}\n.component-option[data-type=boolean] .option-name[data-v-ddb921e6] {\n flex: 1 0 0;\n}\n.component-option[data-type=dropdown] .option-name[data-v-ddb921e6] {\n flex: 1 0 0;\n}\n.component-option[data-type=color] .option-name[data-v-ddb921e6] {\n flex: 1 0 0;\n}\n.component-option[data-type=switch][data-v-ddb921e6] {\n justify-content: center;\n}\n.component-option[data-type=switch] .option-name[data-v-ddb921e6] {\n display: none;\n}\n.component-option .option-name[data-v-ddb921e6] {\n margin-right: 8px;\n}\n.component-option .be-slider[data-v-ddb921e6] {\n margin: 0 8px;\n}",""]),e.exports=i},9389:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,'.component-settings {\n display: flex;\n flex-direction: column;\n justify-content: center;\n box-sizing: border-box;\n overflow: hidden;\n padding: 7px 12px 7px 7px;\n width: 100%;\n min-height: 36px;\n position: relative;\n cursor: pointer;\n transition: 0.2s ease-out;\n}\n.component-settings::after {\n content: "";\n opacity: 0;\n transition: opacity 0.2s ease-out;\n position: absolute;\n top: 0;\n left: 10px;\n height: 100%;\n width: calc(100% - 20px);\n pointer-events: none;\n background-image: repeating-linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0) 10px, rgba(136,136,136,0.13333) 10px, rgba(136,136,136,0.13333) 30px, rgba(0,0,0,0) 30px, rgba(0,0,0,0) 38px, rgba(136,136,136,0.13333) 38px, rgba(136,136,136,0.13333) 50px, rgba(0,0,0,0) 50px);\n}\n.component-settings.virtual::after {\n opacity: 1;\n}\n.component-settings.virtual .row {\n display: none;\n}\n.component-settings .row {\n display: flex;\n align-items: center;\n grid-gap: 0;\n gap: 0;\n justify-content: space-between;\n}\n.component-settings .row:not(:last-child) {\n margin-bottom: 8px;\n}\n.component-settings .display-name {\n font-size: 14px;\n height: 20px;\n flex: 1 0 auto;\n margin-left: 6px;\n width: 200px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n display: flex;\n align-items: center;\n grid-gap: 0;\n gap: 0;\n}\n.component-settings .details-arrow {\n opacity: 0.75;\n width: 32px;\n justify-content: flex-end;\n}\n.component-settings .be-switch-box {\n margin: 0;\n}\n.component-settings:hover {\n background-color: rgba(136,136,136,0.06667);\n}\n.component-settings:hover .options-count {\n opacity: 1;\n}\n.component-settings.selected {\n background-color: rgba(136,136,136,0.13333);\n}',""]),e.exports=i},2915:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".settings-panel-content .sidebar > * {\n position: relative;\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n.settings-panel-content .sidebar > * .settings-panel-sub-page {\n font-size: 13px;\n top: 12px;\n transition: 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);\n transform: translateX(calc(-12.5% * var(--direction)));\n min-width: 372px;\n padding: 12px;\n box-sizing: border-box;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid rgba(136,136,136,0.13333);\n box-sizing: border-box;\n}\nbody.dark .settings-panel-content .sidebar > * .settings-panel-sub-page {\n background-color: #282828;\n color: #eee;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\n.settings-panel-content .sidebar > * .settings-panel-sub-page.open {\n transform: translateX(0);\n}\n.settings-panel-content .sidebar > * .settings-panel-sub-page .sub-page-row {\n display: flex;\n align-items: center;\n grid-gap: 0;\n gap: 0;\n justify-content: space-between;\n flex-shrink: 0;\n}\n.settings-panel-content .sidebar > * .settings-panel-sub-page .sub-page-row:not(:last-child) {\n margin-bottom: 12px;\n}\n.settings-panel-content .sidebar > * .settings-panel-sub-page .separator {\n height: 1px;\n background-color: rgba(136,136,136,0.13333);\n width: 100%;\n}\n.settings-panel-content .sidebar > * .component-tags-item {\n background-color: transparent;\n cursor: pointer;\n display: flex;\n align-items: center;\n white-space: nowrap;\n padding: 8px;\n padding-right: 10px;\n font-size: 13px;\n}\n.settings-panel-content .sidebar > * .component-tags-item .tag-name {\n margin-right: 4px;\n margin-left: 8px;\n}\n.settings-panel-content .sidebar > * .component-tags-item:hover, .settings-panel-content .sidebar > * .component-tags-item.selected {\n background-color: rgba(136,136,136,0.13333);\n}\n.settings-panel-content .sidebar > * .icon-list,\n.settings-panel-content .sidebar > * .component-tags {\n flex-grow: 1;\n max-height: calc(var(--panel-height) - var(--header-height));\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n background-color: transparent;\n width: 40px;\n display: flex;\n flex-direction: column;\n}\n.settings-panel-content .sidebar > * .icon-list::-webkit-scrollbar,\n.settings-panel-content .sidebar > * .component-tags::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.settings-panel-content .sidebar > * .icon-list .grow,\n.settings-panel-content .sidebar > * .component-tags .grow {\n flex-grow: 1;\n}\n.settings-panel-content .sidebar > * .icon-list .be-icon,\n.settings-panel-content .sidebar > * .component-tags .be-icon {\n margin-left: 2px;\n}\n.settings-panel-content .sidebar > * .component-tags {\n height: 100%;\n width: auto;\n position: absolute;\n top: 0;\n opacity: 0;\n transition: 0.2s ease-out;\n pointer-events: none;\n background-color: #fff;\n border-right: 1px solid rgba(136,136,136,0.13333);\n}\nbody.dark .settings-panel-content .sidebar > * .component-tags {\n background-color: #222;\n}\n.settings-panel-content .sidebar > * .icon-list:hover ~ .component-tags,\n.settings-panel-content .sidebar > * .component-tags:hover {\n opacity: 1;\n pointer-events: initial;\n}",""]),e.exports=i},8918:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,'.be-settings {\n line-height: normal;\n font-size: 12px;\n --panel-height: calc(100vh - 120px);\n}\nbody.player-mode-blackmask .be-settings {\n visibility: hidden;\n}\n.be-settings > .sidebar {\n position: fixed;\n top: 50%;\n z-index: 1002;\n transform: translateX(calc(-50% * var(--direction))) translateY(-50%);\n}\nbody.player-mode-webfullscreen .be-settings > .sidebar, body.player-fullscreen-fix .be-settings > .sidebar, body.player-full-win .be-settings > .sidebar {\n z-index: 1;\n}\n.be-settings > .sidebar > * {\n transition: transform 0.3s ease-out, opacity 0.3s ease-out;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n width: 26px;\n height: 26px;\n padding: 8px;\n box-sizing: content-box;\n background-color: rgba(255,255,255,0.66667);\n border-radius: 50%;\n position: relative;\n}\nbody.dark .be-settings > .sidebar > * {\n background-color: rgba(51,51,51,0.66667);\n}\n.be-settings > .sidebar > *:not(:last-child) {\n margin-bottom: 26px;\n}\n.be-settings > .sidebar > *::after {\n content: "";\n width: 140%;\n height: 140%;\n position: absolute;\n top: -20%;\n left: -20%;\n background: transparent;\n}\n.be-settings > .sidebar > * .be-icon {\n font-size: 26px;\n color: #888;\n fill: #888;\n transition: fill 0.3s ease-out;\n}\n.be-settings > .sidebar > *:hover {\n transform: translateX(calc(60% * var(--direction))) scale(1.1);\n background-color: #fff;\n}\nbody.dark .be-settings > .sidebar > *:hover {\n background-color: #333;\n}\n.be-settings > .sidebar > *:hover .be-icon {\n color: #222;\n fill: #222;\n}\nbody.dark .be-settings > .sidebar > *:hover .be-icon {\n color: #eee;\n fill: #eee;\n}\n.be-settings > .sidebar > *.open {\n transform: translateX(calc(100% * var(--direction))) scale(1.5);\n opacity: 0;\n}\n.be-settings .settings-panel-popup {\n transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);\n top: 50%;\n z-index: 100001;\n}\n.be-settings .settings-panel-popup.close {\n transform: translateZ(0) translateY(-50%) translateX(calc(-48% * var(--direction)));\n}\n.be-settings .settings-panel-popup.open {\n transform: translateZ(0) translateY(-50%) translateX(0);\n}\n.be-settings .widgets-panel-popup {\n top: 50%;\n z-index: 100001;\n transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);\n}\n.be-settings .widgets-panel-popup.close {\n transform: translateZ(0) translateY(-50%) translateX(calc(-48% * var(--direction)));\n}\n.be-settings .widgets-panel-popup.open {\n transform: translateZ(0) translateY(-50%) translateX(0);\n}\n.bilibili-player-dm-tip-wrap {\n pointer-events: none !important;\n}\nbody:not(.settings-panel-dock-right) .contact-help {\n display: none !important;\n}\nbody:not(.settings-panel-dock-right) .be-settings {\n --direction: 1;\n}\nbody:not(.settings-panel-dock-right) .be-settings > .sidebar {\n left: 0;\n}\nbody:not(.settings-panel-dock-right) .widgets-panel-popup,\nbody:not(.settings-panel-dock-right) .settings-panel-popup {\n left: 12px;\n transform-origin: left;\n}\nbody:not(.settings-panel-dock-right) .settings-panel-popup .settings-panel-content .sidebar {\n border-right: 1px solid rgba(136,136,136,0.13333);\n}\nbody:not(.settings-panel-dock-right) .settings-panel-popup .settings-panel-content .main {\n border-bottom-right-radius: 7px;\n}\nbody:not(.settings-panel-dock-right) .settings-panel-popup .component-tags {\n border-bottom-left-radius: 8px;\n border-right: 1px solid rgba(136,136,136,0.13333);\n left: 0;\n}\nbody:not(.settings-panel-dock-right) .settings-panel-popup .component-tags .component-tags-item:last-child {\n border-bottom-left-radius: 7px;\n}\nbody:not(.settings-panel-dock-right) .settings-panel-sub-page {\n left: 53px;\n}\nbody.settings-panel-dock-right {\n --direction: -1;\n}\nbody.settings-panel-dock-right .be-settings > .sidebar {\n right: 0;\n}\nbody.settings-panel-dock-right .widgets-panel-popup,\nbody.settings-panel-dock-right .settings-panel-popup {\n right: 12px;\n transform-origin: right;\n}\nbody.settings-panel-dock-right .settings-panel-popup .settings-panel-content .sidebar {\n order: 1;\n border-left: 1px solid rgba(136,136,136,0.13333);\n}\nbody.settings-panel-dock-right .settings-panel-popup .settings-panel-content .main {\n border-bottom-left-radius: 7px;\n}\nbody.settings-panel-dock-right .settings-panel-popup .component-tags {\n border-bottom-right-radius: 8px;\n border-left: 1px solid rgba(136,136,136,0.13333);\n right: 0;\n}\nbody.settings-panel-dock-right .settings-panel-popup .component-tags .component-tags-item:last-child {\n border-bottom-right-radius: 7px;\n}\nbody.settings-panel-dock-right .settings-panel-popup .component-settings {\n padding: 7px 7px 7px 12px;\n}\nbody.settings-panel-dock-right .settings-panel-popup .component-settings .row {\n flex-direction: row-reverse;\n}\nbody.settings-panel-dock-right .settings-panel-popup .component-settings .row .details-arrow {\n transform: rotate(180deg);\n}\nbody.settings-panel-dock-right .settings-panel-popup .component-settings .row .display-name {\n margin-left: 12px;\n width: 180px;\n}\nbody.settings-panel-dock-right .settings-panel-sub-page {\n right: 53px;\n}',""]),e.exports=i},3374:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".settings-panel-popup {\n z-index: 1000;\n}\n.settings-panel-popup .settings-panel {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n display: flex;\n align-items: stretch;\n flex-direction: column;\n grid-gap: 0;\n gap: 0;\n position: relative;\n overscroll-behavior: contain;\n border-radius: 8px;\n background-color: #fff;\n color: black;\n border: 1px solid rgba(136,136,136,0.13333);\n box-sizing: content-box;\n width: auto;\n min-width: 320px;\n height: var(--panel-height);\n --header-height: 50px;\n transition: opacity 0.2s 0.2s ease-out;\n}\nbody.dark .settings-panel-popup .settings-panel {\n background-color: #222;\n color: #eee;\n}\n.settings-panel-popup .settings-panel .settings-panel-header {\n box-sizing: border-box;\n height: var(--header-height);\n padding: 12px;\n border-bottom: 1px solid rgba(136,136,136,0.13333);\n display: flex;\n align-items: center;\n grid-gap: 8px;\n gap: 8px;\n color: black;\n fill: black;\n stroke: black;\n}\nbody.dark .settings-panel-popup .settings-panel .settings-panel-header {\n color: #eee;\n fill: #eee;\n stroke: #eee;\n}\n.settings-panel-popup .settings-panel .settings-panel-header .title {\n font-size: 18px;\n font-weight: bold;\n}\n.settings-panel-popup .settings-panel .settings-panel-header .settings-panel-search {\n flex-grow: 1;\n display: flex;\n align-items: center;\n grid-gap: 0;\n gap: 0;\n justify-content: center;\n}\n.settings-panel-popup .settings-panel .settings-panel-header .settings-panel-search .be-textbox {\n flex: 1 0 0;\n}\n.settings-panel-popup .settings-panel .settings-panel-header .settings-panel-search .be-icon {\n margin-right: 8px;\n opacity: 0.5;\n}\n.settings-panel-popup .settings-panel .settings-panel-header .collaspe .be-icon {\n font-size: 28px;\n}\n.settings-panel-popup .settings-panel .settings-panel-header .peek {\n cursor: pointer;\n}\n.settings-panel-popup .settings-panel .settings-panel-header .collaspe .be-icon,\n.settings-panel-popup .settings-panel .settings-panel-header .close .be-icon {\n cursor: pointer;\n transition: 0.2s ease-out;\n}\n.settings-panel-popup .settings-panel .settings-panel-header .collaspe .be-icon:hover,\n.settings-panel-popup .settings-panel .settings-panel-header .close .be-icon:hover {\n color: var(--theme-color);\n}\n.settings-panel-popup .settings-panel .settings-panel-content {\n flex: 1;\n display: flex;\n max-height: calc(var(--panel-height) - var(--header-height));\n}\n.settings-panel-popup .settings-panel .settings-panel-content .sidebar {\n display: flex;\n flex-direction: column;\n z-index: 1;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main {\n flex: 1;\n padding: 0;\n position: relative;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main .be-empty {\n min-height: 36px;\n padding: 7px;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main .component-list {\n display: grid;\n grid-template-columns: auto;\n grid-gap: 0;\n gap: 0;\n width: auto;\n margin: 0;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main > * {\n flex: 1;\n}\n.settings-panel-popup .settings-panel .component-detail-panel {\n background-color: #fff;\n color: black;\n border-radius: 8px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid rgba(136,136,136,0.13333);\n box-sizing: border-box;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n grid-gap: 0;\n gap: 0;\n top: 50%;\n left: calc(100% - 12px);\n height: calc(100% - 22px);\n z-index: -1;\n transform: translateZ(0) translateY(-50%) translateX(calc(-48% * var(--direction)));\n transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);\n padding-left: 12px;\n}\nbody.dark .settings-panel-popup .settings-panel .component-detail-panel {\n background-color: #282828;\n color: #eee;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.settings-panel-dock-right .settings-panel-popup .settings-panel .component-detail-panel {\n left: unset;\n right: calc(100% - 12px);\n padding: 0 12px 0 0;\n}\n.settings-panel-popup .settings-panel .component-detail-panel.open {\n transform: translateZ(0) translateY(-50%) translateX(0);\n}\n.settings-panel-popup .settings-panel.collasped {\n height: auto;\n transform: translateY(calc(50% - 45vh));\n opacity: 0.3;\n}\n.settings-panel-popup .settings-panel.collasped .header, body.dark .settings-panel-popup .settings-panel.collasped .header {\n border-color: transparent;\n}\n.settings-panel-popup .settings-panel.collasped .sidebar,\n.settings-panel-popup .settings-panel.collasped .main {\n opacity: 0;\n padding: 0;\n pointer-events: none;\n}\n.settings-panel-popup .settings-panel.collasped .sidebar {\n display: none;\n}\n.settings-panel-popup .settings-panel.collasped:hover {\n opacity: 1;\n}\n.settings-panel-popup .settings-panel.peek {\n opacity: 0.1;\n}",""]),e.exports=i},5089:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".tag-ring {\n display: flex;\n transform: scaleX(-1) rotate(-90deg);\n}\n.tag-ring svg {\n height: 18px;\n width: 18px;\n}",""]),e.exports=i},3731:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".widgets-panel {\n max-height: var(--panel-height);\n min-height: 80px;\n display: flex;\n align-items: center;\n flex-direction: column;\n grid-gap: 0;\n gap: 0;\n justify-content: flex-start;\n align-items: flex-start;\n flex-wrap: wrap;\n padding: 16px;\n padding-right: 20px;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid rgba(136,136,136,0.13333);\n box-sizing: border-box;\n color: black;\n fill: black;\n stroke: black;\n}\nbody.dark .widgets-panel {\n background-color: #282828;\n color: #eee;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .widgets-panel {\n background-color: #222;\n}\nbody.dark .widgets-panel {\n color: #eee;\n fill: #eee;\n stroke: #eee;\n}\n.widgets-panel-header {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n grid-gap: 0;\n gap: 0;\n font-weight: bold;\n font-size: 18px;\n margin-bottom: 18px;\n}\n.widgets-panel-header .be-icon {\n margin-right: 6px;\n}\n.widgets-panel .widgets-loading,\n.widgets-panel .widgets-empty {\n padding: 12px 0;\n}\n.widgets-panel .widget-items {\n position: relative;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n grid-gap: 8px;\n gap: 8px;\n align-items: flex-start;\n}\n.widgets-panel .widget-items .widget-item {\n font-size: 14px;\n transition: 0.2s ease-out;\n display: flex;\n}\n.widgets-panel .widget-items .widget-item-enter, .widgets-panel .widget-items .widget-item-leave-to {\n opacity: 0;\n transform: scale(0.9);\n}\n.widgets-panel .widget-items .widget-item-leave-active {\n transition: 0.24s cubic-bezier(0.22, 0.61, 0.36, 1);\n position: absolute;\n white-space: nowrap;\n}\n.widgets-panel .widget-items .multiple-widgets {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n grid-gap: 8px;\n gap: 8px;\n align-items: flex-start;\n position: relative;\n}",""]),e.exports=i},9311:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".component-action {\n display: flex;\n align-items: center;\n grid-gap: 6px;\n gap: 6px;\n cursor: pointer;\n border-radius: 4px;\n padding: 4px 8px 4px 6px;\n font-size: 13px;\n}\n.component-action:hover {\n background-color: rgba(136,136,136,0.26667);\n}\n.component-action.disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}",""]),e.exports=i},9455:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".be-about-page {\n flex: 1;\n}\n.be-about-page-header {\n display: flex;\n align-items: center;\n grid-gap: 6px;\n gap: 6px;\n margin-bottom: 12px;\n}\n.be-about-page-header .title-text {\n font-size: 16px;\n font-weight: bold;\n flex: 1 0 auto;\n}\n.be-about-page-content {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n grid-gap: 24px;\n gap: 24px;\n}\n.be-about-page-content .script-meta-info {\n display: flex;\n align-items: center;\n flex-direction: column;\n grid-gap: 8px;\n gap: 8px;\n text-align: center;\n padding: 0 24px;\n}\n.be-about-page-content .script-meta-info .meta-info-name {\n font-weight: 500;\n font-size: 22px;\n}\n.be-about-page-content .script-meta-info .meta-info-version {\n font-size: 14px;\n color: var(--theme-color);\n}\n.be-about-page-content .script-meta-info .meta-info-description {\n opacity: 0.5;\n}\n.be-about-page-content .script-links .script-link {\n display: flex;\n align-items: stretch;\n grid-gap: 0;\n gap: 0;\n}\n.be-about-page-content .script-links .script-link .be-button {\n flex: 1;\n}\n.be-about-page-content .script-links,\n.be-about-page-content .about-page-actions {\n display: flex;\n align-items: stretch;\n grid-gap: 8px;\n gap: 8px;\n flex-wrap: wrap;\n}\n.be-about-page-content .script-links .script-link,\n.be-about-page-content .script-links .about-page-action,\n.be-about-page-content .about-page-actions .script-link,\n.be-about-page-content .about-page-actions .about-page-action {\n flex: 1 0 auto;\n}\n.be-about-page-content .script-links .script-link .be-icon,\n.be-about-page-content .script-links .about-page-action .be-icon,\n.be-about-page-content .about-page-actions .script-link .be-icon,\n.be-about-page-content .about-page-actions .about-page-action .be-icon {\n margin-right: 6px;\n}",""]),e.exports=i},9681:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".manage-panel .manage-item {\n flex: 0 0 auto;\n min-height: 30px;\n width: 100%;\n box-sizing: border-box;\n}",""]),e.exports=i},4510:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".manage-panel {\n height: calc(var(--panel-height) - 52px - 48px);\n display: flex;\n flex-direction: column;\n}\n.manage-panel > :not(:last-child) {\n margin-bottom: 12px;\n}\n.manage-panel .be-button .be-icon {\n margin-right: 6px;\n}\n.manage-panel .exclude-built-in .be-switch-box {\n margin-left: 6px;\n}\n.manage-panel .title-text {\n font-size: 14px;\n font-weight: bold;\n}\n.manage-panel .item-url-result {\n color: var(--theme-color);\n}\n.manage-panel .item-url {\n margin-right: 12px;\n}\n.manage-panel .manage-item-list {\n display: flex;\n align-items: center;\n flex-direction: column;\n grid-gap: 0;\n gap: 0;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n flex-shrink: 1;\n}\n.manage-panel .manage-item-list::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.manage-panel .item-actions {\n display: flex;\n align-items: center;\n grid-gap: 0;\n gap: 0;\n grid-gap: 12px;\n gap: 12px;\n}\n.manage-panel .exclude-built-in {\n display: flex;\n align-items: center;\n grid-gap: 0;\n gap: 0;\n}\n.manage-panel .be-loading {\n width: 100%;\n text-align: center;\n}\n.manage-panel .description-text {\n opacity: 0.75;\n}\n.manage-panel .add-item-row {\n position: relative;\n}\n.manage-panel .batch-add-popup {\n top: calc(100% + 8px);\n left: 50%;\n transition: 0.2s ease-out;\n transform: translateX(-50%) translateY(-8px);\n padding: 8px;\n width: 100%;\n min-height: calc(var(--panel-height) / 2);\n background-color: #fff;\n color: black;\n border-radius: 8px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid rgba(136,136,136,0.13333);\n box-sizing: border-box;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n grid-gap: 8px;\n gap: 8px;\n}\nbody.dark .manage-panel .batch-add-popup {\n background-color: #282828;\n color: #eee;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .manage-panel .batch-add-popup {\n background-color: #222;\n}\n.manage-panel .batch-add-popup.open {\n transform: translateX(-50%) translateY(0px);\n}\n.manage-panel .batch-add-popup .be-text-area {\n flex: 1 0 auto;\n}\n.manage-panel .batch-add-popup .batch-add-actions {\n display: flex;\n align-items: center;\n grid-gap: 8px;\n gap: 8px;\n}\n.manage-panel .batch-add-popup .batch-add-actions .be-button {\n flex: 1 0 0;\n}\n.manage-panel .batch-add-popup .batch-add-actions .be-icon {\n margin-right: 6px;\n}\n.manage-panel-title .be-icon {\n margin-right: 6px;\n}\n.manage-panel-title .title-text {\n font-size: 16px;\n font-weight: bold;\n flex: 1 0 auto;\n}",""]),e.exports=i},1580:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,'.manage-panel .user-item {\n display: grid;\n grid-column-gap: 6px;\n column-gap: 6px;\n grid-template: "displayName line remove" auto "name line remove" auto/auto 1fr auto;\n align-items: center;\n padding: 6px 0;\n}\n.manage-panel .user-item .user-item-display-name {\n grid-area: displayName;\n}\n.manage-panel .user-item .user-item-name {\n grid-area: name;\n opacity: 0.5;\n font-size: 11px;\n}\n.manage-panel .user-item .user-item-line {\n grid-area: line;\n justify-self: stretch;\n transition: 0.2s ease-out;\n opacity: 0;\n height: 0;\n width: 100%;\n border-bottom: 1px dashed;\n box-sizing: border-box;\n}\n.manage-panel .user-item .user-item-toggle {\n grid-area: toggle;\n justify-self: end;\n}\n.manage-panel .user-item .user-item-remove-confirm {\n display: flex;\n align-items: center;\n grid-gap: 8px;\n gap: 8px;\n font-size: 13px;\n color: white;\n}\n.manage-panel .user-item .user-item-remove-confirm .be-button {\n color: inherit;\n font-size: 12px;\n padding: 4px;\n padding-right: 6px;\n}\n.manage-panel .user-item .user-item-remove-confirm .be-button .be-icon {\n margin-right: 4px;\n}\n.manage-panel .user-item .tippy-box {\n border-radius: 8px;\n}\n.manage-panel .user-item .tippy-box .tippy-content {\n padding-right: 5px;\n}\n.manage-panel .user-item .user-item-remove {\n grid-area: remove;\n justify-self: end;\n display: flex;\n align-items: center;\n opacity: 0.1;\n transition: 0.2s ease-out;\n cursor: pointer;\n padding: 4px;\n}\n.manage-panel .user-item .user-item-remove:hover {\n opacity: 1;\n color: #E54E4E;\n}\n.manage-panel .user-item:hover .user-item-remove:not(:hover) {\n opacity: 0.75;\n}\n.manage-panel .user-item:hover .user-item-line {\n opacity: 0.5;\n}',""]),e.exports=i},8959:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".online-registry {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%) scale(0.95);\n width: 360px;\n height: 85vh;\n z-index: 100002;\n transition: 0.2s ease-out;\n font-size: 14px;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n grid-gap: 0;\n gap: 0;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid rgba(136,136,136,0.13333);\n box-sizing: border-box;\n}\nbody.dark .online-registry {\n background-color: #282828;\n color: #eee;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .online-registry {\n background-color: #222;\n}\n.online-registry.open {\n transform: translate(-50%, -50%) scale(1);\n}\n.online-registry-header {\n padding: 12px;\n display: flex;\n align-items: center;\n grid-gap: 12px;\n gap: 12px;\n}\n.online-registry-header + .online-registry-header {\n padding-top: 0;\n}\n.online-registry-header-title {\n flex: 1;\n font-size: 18px;\n font-weight: bold;\n}\n.online-registry-header-search {\n flex: 1;\n justify-content: center;\n display: flex;\n align-items: center;\n grid-gap: 6px;\n gap: 6px;\n}\n.online-registry-header-search .be-textbox {\n max-width: 320px;\n flex: 1;\n font-size: 12px;\n}\n.online-registry-header-branch {\n display: flex;\n align-items: center;\n grid-gap: 6px;\n gap: 6px;\n font-size: 12px;\n}\n.online-registry-header-refresh-icon, .online-registry-header-close-icon {\n padding: 4px;\n cursor: pointer;\n transition: 0.3s ease-out;\n}\n.online-registry-header-refresh-icon:hover, .online-registry-header-close-icon:hover {\n color: var(--theme-color);\n}\n.online-registry-header-refresh-icon {\n padding: 2px;\n}\n.online-registry-header-refresh-icon:hover {\n transform: rotate(360deg);\n}\n.online-registry-separator {\n height: 1px;\n width: calc(100% - 24px);\n margin: 0 12px;\n background-color: rgba(136,136,136,0.13333);\n}\n.online-registry-content {\n flex: 1;\n padding: 4px 0;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n}\n.online-registry-content::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.online-registry-content .be-loading,\n.online-registry-content .be-empty {\n margin: 12px 0;\n}",""]),e.exports=i},3947:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,'.online-registry-item-wrapper {\n min-height: 39px;\n position: relative;\n}\n.online-registry-item-wrapper::before {\n content: "";\n opacity: 0;\n transition: opacity 0.2s ease-out;\n position: absolute;\n pointer-events: none;\n top: 50%;\n left: 12px;\n transform: translateY(-50%);\n width: calc(100% - 24px);\n height: 20px;\n background-color: rgba(136,136,136,0.13333);\n display: flex;\n}\n.online-registry-item-wrapper.virtual::before {\n opacity: 1;\n}\n.online-registry-item {\n display: flex;\n align-items: center;\n grid-gap: 4px;\n gap: 4px;\n flex-wrap: wrap;\n padding: 8px 12px;\n}\n.online-registry-item:hover {\n background-color: rgba(136,136,136,0.06667);\n}\n.online-registry-item:not(:last-child) {\n border-bottom: 1px solid rgba(136,136,136,0.13333);\n}\n.online-registry-item .item-badge {\n padding: 2px 4px;\n border: 1px solid rgba(136,136,136,0.13333);\n border-radius: 4px;\n font-size: 12px;\n}\n.online-registry-item .item-display-name {\n font-weight: bold;\n}\n.online-registry-item .grow {\n flex: 1 0 0;\n}\n.online-registry-item .item-action {\n font-size: 12px;\n}\n.online-registry-item .item-action .be-icon {\n margin-right: 6px;\n}\n.online-registry-item .item-action .reinstall-button:not(:hover):not([focus-within]) {\n opacity: 0.5;\n}\n.online-registry-item .item-action .reinstall-button:not(:hover):not(:focus-within) {\n opacity: 0.5;\n}\n.online-registry-item:hover .item-description {\n opacity: 1;\n}\n.online-registry-description {\n font-size: 13px;\n line-height: normal;\n}\n.online-registry-description ul,\n.online-registry-description ul li {\n list-style: disc;\n}\n.online-registry-description ol,\n.online-registry-description ol li {\n list-style: decimal;\n}\n.online-registry-description ul,\n.online-registry-description ol {\n padding-left: 16px;\n}\n.online-registry-description ul li,\n.online-registry-description ol li {\n line-height: 1.75;\n}\n.online-registry-description p {\n margin: 0;\n}\n.online-registry-description > p {\n line-height: 1.75;\n}\n.online-registry-description pre {\n white-space: pre-wrap;\n}\n.online-registry-description code {\n display: inline-block;\n padding: 0 4px;\n margin: 1px 2px;\n border-radius: 4px;\n background-color: rgba(136,136,136,0.13333);\n line-height: normal;\n}\n.online-registry-description kbd {\n font-family: monospace;\n border: 1px solid #ccc;\n display: inline-block;\n border-radius: 4px;\n padding: 0 4px;\n margin: 1px 2px;\n line-height: 1.1;\n}\nbody.dark .online-registry-description kbd {\n border-color: #666;\n}\n.online-registry-description blockquote {\n border-radius: 4px;\n margin: 0;\n padding: 4px;\n padding-left: 12px;\n color: inherit;\n background-color: rgba(136,136,136,0.06667);\n box-sizing: border-box;\n position: relative;\n}\nbody.dark .online-registry-description blockquote * {\n color: inherit !important;\n}\n.online-registry-description blockquote::before {\n content: "";\n position: absolute;\n display: block;\n width: 3px;\n height: calc(100% - 8px);\n top: 4px;\n left: 0;\n border-radius: 2px;\n background-color: var(--theme-color);\n}\n.online-registry-description a,\n.online-registry-description a[focus-within],\n.online-registry-description a:hover {\n color: var(--theme-color);\n}\n.online-registry-description a,\n.online-registry-description a:focus-within,\n.online-registry-description a:hover {\n color: var(--theme-color);\n}\n.online-registry-description > :last-child {\n margin-bottom: 0;\n}',""]),e.exports=i},1885:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".be-video-control-bar-extend {\n display: flex;\n}\n.squirtle-controller-wrap .be-video-control-bar-extend {\n margin-top: 1px;\n}\n.be-video-control-bar-extend, .squirtle-controller.squirtle-wide-screen .be-video-control-bar-extend.squirtle-block-wrap {\n width: auto !important;\n margin-top: 0px;\n}\n.be-video-control-bar-extend .bp-svgicon {\n width: auto;\n padding-top: 1px;\n}\n.be-video-control-bar-extend .bp-svgicon .be-icon {\n transition: transform 0.2s ease-out;\n}\n.be-video-control-bar-extend .bp-svgicon .be-icon svg,\n.be-video-control-bar-extend .bp-svgicon .be-icon {\n font-size: 22px;\n width: 22px;\n height: 22px;\n color: #fff;\n fill: #fff;\n}\nbody.player-mode-webfullscreen .be-video-control-bar-extend .bp-svgicon .be-icon svg, body.player-fullscreen-fix .be-video-control-bar-extend .bp-svgicon .be-icon svg, body.player-full-win .be-video-control-bar-extend .bp-svgicon .be-icon svg,\nbody.player-mode-webfullscreen .be-video-control-bar-extend .bp-svgicon .be-icon,\nbody.player-fullscreen-fix .be-video-control-bar-extend .bp-svgicon .be-icon,\nbody.player-full-win .be-video-control-bar-extend .bp-svgicon .be-icon {\n font-size: 28px;\n width: 28px;\n height: 28px;\n}\n.be-video-control-bar-extend .be-video-control-tooltip {\n pointer-events: none;\n font-size: 12px;\n padding: 6px 8px;\n line-height: normal;\n white-space: nowrap;\n color: #fff;\n background-color: rgba(0,0,0,0.70196);\n border-radius: 4px;\n position: absolute;\n top: 0;\n left: 50%;\n transform: translateX(-50%) translateY(calc(-100% - 11px));\n opacity: 0;\n}\n.be-video-control-bar-extend-item {\n display: flex;\n align-items: flex-start;\n justify-content: center;\n position: relative;\n}\n.squirtle-controller-wrap .be-video-control-bar-extend-item {\n align-items: center;\n}\n.be-video-control-bar-extend-item:hover .be-video-control-tooltip {\n transition: all 0.3s ease-in-out 0.3s;\n opacity: 1;\n transform: translateX(-50%) translateY(calc(-100% - 19px));\n}\n.be-video-control-bar-extend-item:active .bp-svgicon .be-icon {\n transform: scale(0.95);\n}\n.be-video-control-bar-extend-item button {\n background-color: transparent;\n margin: 0;\n padding: 0;\n border: none;\n cursor: pointer;\n}\n.be-video-control-bar-extend-item button:hover, .be-video-control-bar-extend-item button:active {\n outline: none !important;\n}",""]),e.exports=i},735:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".toast-card {\n background: #fff;\n min-width: var(--card-min-width);\n max-width: 60vw;\n min-height: 87px;\n margin: 8px 0;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n box-sizing: border-box;\n border: 1px solid rgba(136,136,136,0.26667);\n transform-origin: left;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n transition: 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);\n position: relative;\n padding-left: 8px;\n border-radius: 8px;\n}\n.toast-card.toast-card-container-enter, .toast-card.toast-card-container-leave-to {\n opacity: 0;\n transform: translateX(var(--card-min-width-negative));\n}\n.toast-card.toast-card-container-leave-active {\n position: absolute;\n transition: 0.3s cubic-bezier(0.6, -0.28, 0.74, 0.05);\n}\n.toast-card-header {\n display: flex;\n align-items: center;\n grid-gap: 0;\n gap: 0;\n}\n.toast-card-title {\n font-size: 18px;\n color: #444;\n opacity: 0.5;\n margin: 12px;\n font-weight: bold;\n flex: 1 1 auto;\n}\nbody.dark .toast-card-title {\n color: #999;\n}\n.toast-card-dismiss {\n height: 20px;\n width: 20px;\n display: flex;\n align-items: center;\n grid-gap: 0;\n gap: 0;\n flex: 0 0 auto;\n padding: 16px;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n transition: all 0.2s ease-out;\n transform-origin: center;\n opacity: 0.5;\n box-sizing: content-box;\n}\n.toast-card-dismiss:hover {\n transform: scale(1.2);\n}\n.toast-card-dismiss:active {\n transform: scale(1.1);\n}\n.toast-card-message {\n color: #000;\n font-size: 14px;\n margin: 0 16px 12px 12px;\n white-space: pre-wrap;\n display: flex;\n align-items: center;\n line-height: 1.5;\n flex-wrap: wrap;\n word-break: break-all;\n max-height: 200px;\n overflow: auto;\n}\n.toast-card-border {\n position: absolute;\n border-radius: 2px;\n height: calc(100% - 10px);\n width: 4px;\n top: 5px;\n left: 0;\n}\n.toast-card.toast-default .toast-card-border {\n background-color: #444;\n}\n.toast-card.toast-error .toast-card-border {\n background-color: #f44336;\n}\n.toast-card.toast-info .toast-card-border {\n background-color: #2196f3;\n}\n.toast-card.toast-success .toast-card-border {\n background-color: #8bc34a;\n}\n.toast-card span,\n.toast-card .link {\n display: inline-block;\n padding: 4px 6px;\n margin: 0 2px;\n background-color: rgba(136,136,136,0.13333);\n text-decoration: none;\n color: #000;\n transition: all 0.2s ease-out;\n border-radius: 6px;\n}\n.toast-card .link:hover {\n background-color: rgba(136,136,136,0.2);\n}\n.toast-card .link:active {\n background-color: rgba(136,136,136,0.26667);\n}\n.toast-card .download-link,\n.toast-card .download-link:hover {\n color: inherit !important;\n text-decoration: underline;\n word-break: break-all;\n}",""]),e.exports=i},848:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".toast-card-container {\n --card-min-width: 240px;\n --card-min-width-negative: -240px;\n position: fixed;\n left: 0;\n bottom: 0;\n display: flex;\n flex-direction: column-reverse;\n align-items: flex-start;\n padding-left: 16px;\n z-index: 100001;\n pointer-events: none;\n overflow: hidden;\n width: 100%;\n height: 100%;\n transition: 0.2s ease-out;\n}\n.toast-card-container * {\n pointer-events: initial;\n transition: 0.2s ease-out;\n}",""]),e.exports=i},1377:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".be-check-box .text-container[data-v-25934ad6] {\n flex: 1 1 auto;\n display: flex;\n align-items: center;\n}\n.be-check-box .icon-container[data-v-25934ad6] {\n flex-shrink: 0;\n position: relative;\n margin: 2px 0 2px 8px;\n}\n.be-check-box .icon-container > *[data-v-25934ad6] {\n transition: 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);\n}\n.be-check-box .icon-container .not-checked[data-v-25934ad6] {\n opacity: 0.75;\n}\n.be-check-box .icon-container .checked[data-v-25934ad6] {\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0;\n transform: scale(0);\n}\n.be-check-box.checked .icon-container[data-v-25934ad6] {\n color: var(--theme-color);\n}\n.be-check-box.checked .icon-container .not-checked[data-v-25934ad6] {\n transform: scale(0);\n opacity: 0;\n}\n.be-check-box.checked .icon-container .checked[data-v-25934ad6] {\n transform: scale(1);\n opacity: 1;\n}\n.be-check-box.left-icon .icon-container[data-v-25934ad6] {\n order: -1;\n margin: 2px 8px 2px 0;\n}",""]),e.exports=i},3500:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".be-color-picker[data-v-b80ac862] {\n font-size: 14px;\n display: flex;\n position: relative;\n color: #000;\n}\n.be-color-picker[data-v-b80ac862], .be-color-picker *[data-v-b80ac862] {\n -webkit-tap-highlight-color: transparent;\n}\nbody.dark .be-color-picker[data-v-b80ac862] {\n color: #eee;\n}\n.be-color-picker .selected-color[data-v-b80ac862] {\n cursor: pointer;\n border-radius: 50%;\n outline: none !important;\n transition: box-shadow 0.2s ease-out;\n}\n.be-color-picker .selected-color[focus-within][data-v-b80ac862] {\n box-shadow: 0 0 0 3px var(--theme-color-20);\n}\n.be-color-picker .selected-color[data-v-b80ac862]:focus-within {\n box-shadow: 0 0 0 3px var(--theme-color-20);\n}\n.be-color-picker .picker[data-v-b80ac862] {\n left: calc(50% + var(--offset));\n top: 100%;\n transition: 0.12s ease-out;\n transform: translateX(-50%) translateY(8px) scale(0.75);\n transform-origin: top;\n display: flex;\n flex-direction: column;\n align-items: stretch;\n padding: 14px;\n width: 240px;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid rgba(136,136,136,0.13333);\n box-sizing: border-box;\n box-sizing: content-box;\n}\nbody.dark .be-color-picker .picker[data-v-b80ac862] {\n background-color: #282828;\n color: #eee;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .be-color-picker .picker[data-v-b80ac862] {\n background-color: #222;\n}\n.be-color-picker .picker.open[data-v-b80ac862] {\n transform: translateX(-50%) translateY(8px) scale(1);\n}\n.be-color-picker .picker .item-group[data-v-b80ac862] {\n display: flex;\n flex-direction: column;\n}\n.be-color-picker .picker .item-group .item-title[data-v-b80ac862] {\n font-weight: bold;\n margin-bottom: 8px;\n}\n.be-color-picker .picker .item-group.info[data-v-b80ac862], .be-color-picker .picker .item-group.operations[data-v-b80ac862] {\n flex-direction: row;\n}\n.be-color-picker .picker .item-group.operations .ok[data-v-b80ac862],\n.be-color-picker .picker .item-group.operations .cancel[data-v-b80ac862] {\n padding: 6px 8px;\n flex: 1 0 0;\n text-align: center;\n font-size: 14px;\n}\n.be-color-picker .picker .item-group.operations .cancel[data-v-b80ac862] {\n margin-right: 4px;\n}\n.be-color-picker .picker .item-group.operations .ok[data-v-b80ac862] {\n margin-left: 4px;\n}\n.be-color-picker .picker .item-group.info[data-v-b80ac862] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.be-color-picker .picker .item-group.info .color-preview[data-v-b80ac862] {\n transition: none;\n width: 24px;\n height: 24px;\n margin-right: 8px;\n border-radius: 50%;\n}\n.be-color-picker .picker .item-group.info .grow[data-v-b80ac862] {\n flex: 1 0 0;\n}\n.be-color-picker .picker .item-group.info .toggle-mode[data-v-b80ac862] {\n font-size: 14px;\n padding: 4px 8px;\n}\n.be-color-picker .picker .item-group.info .hex[data-v-b80ac862] {\n flex: 1 1 64px;\n}\n.be-color-picker .picker .item-group .colors[data-v-b80ac862] {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-start;\n}\n.be-color-picker .picker .item-group .colors .color[data-v-b80ac862] {\n outline: none !important;\n margin-right: 6px;\n margin-bottom: 6px;\n height: 24px;\n width: 24px;\n cursor: pointer;\n border-radius: 50%;\n transition: transform 0.2s ease-out;\n}\n.be-color-picker .picker .item-group .colors .color[data-v-b80ac862]:hover, .be-color-picker .picker .item-group .colors .color[focus-within][data-v-b80ac862] {\n transform: scale(1.1);\n}\n.be-color-picker .picker .item-group .colors .color[data-v-b80ac862]:hover, .be-color-picker .picker .item-group .colors .color[data-v-b80ac862]:focus-within {\n transform: scale(1.1);\n}\n.be-color-picker .picker .item-group .colors .color[data-v-b80ac862]:active {\n transform: scale(1.05);\n}\n.be-color-picker .picker .item-group .bars[data-v-b80ac862] {\n display: flex;\n flex-direction: column;\n}\n.be-color-picker .picker .item-group .bars .bar[data-v-b80ac862] {\n display: flex;\n align-items: center;\n font-size: 14px;\n margin-bottom: 4px;\n}\n.be-color-picker .picker .item-group .bars .bar .color-bar[data-v-b80ac862] {\n height: 4px;\n border-radius: 2px;\n box-shadow: 0 0 0 2px rgba(136,136,136,0.13333);\n}\n.be-color-picker .picker .item-group .bars .bar .color-thumb[data-v-b80ac862] {\n width: 14px;\n height: 14px;\n border-radius: 50%;\n border: 2px solid var(--theme-color-20);\n transition: border 0.2s ease-out;\n background-color: #fff;\n}\n.be-color-picker .picker .item-group .bars .bar .be-slider[focus-within] .color-thumb[data-v-b80ac862] {\n border-color: var(--theme-color);\n}\n.be-color-picker .picker .item-group .bars .bar .be-slider:focus-within .color-thumb[data-v-b80ac862] {\n border-color: var(--theme-color);\n}\n.be-color-picker .picker .item-group .bars .bar-name[data-v-b80ac862] {\n flex-shrink: 0;\n width: 24px;\n}\n.be-color-picker .picker .item-group .bars .bar-value[data-v-b80ac862] {\n flex: 0 0 48px;\n margin-left: 6px;\n text-align: right;\n}\n.be-color-picker .picker .item-group .bars .be-slider[data-v-b80ac862] {\n flex: 1 0 0;\n margin: 4px 6px;\n}\n.be-color-picker .picker .item-group[data-v-b80ac862]:not(:last-child) {\n margin-bottom: 16px;\n}\n.be-color-picker .picker.compact[data-v-b80ac862] {\n width: 200px;\n}\n.be-color-picker .picker.compact .item-group .colors .color[data-v-b80ac862] {\n width: 19px;\n height: 19px;\n}",""]),e.exports=i},4937:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".default-widget[data-v-8fc42b3a] {\n position: relative;\n}\n.default-widget .widget-icon[data-v-8fc42b3a] {\n margin-right: 8px;\n opacity: 0.75;\n}\n.default-widget .widget-name[data-v-8fc42b3a] {\n display: flex;\n}",""]),e.exports=i},2228:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".be-image-picker[data-v-22d00072] {\n position: relative;\n font-size: 14px;\n}\n.be-image-picker .popup[data-v-22d00072] {\n transition: 0.12s ease-out;\n transform: translateX(-50%) translateY(8px) scale(0.75);\n transform-origin: top;\n top: 100%;\n left: 50%;\n padding: 8px;\n width: 302px;\n box-sizing: border-box;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid rgba(136,136,136,0.13333);\n box-sizing: border-box;\n}\nbody.dark .be-image-picker .popup[data-v-22d00072] {\n background-color: #282828;\n color: #eee;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .be-image-picker .popup[data-v-22d00072] {\n background-color: #222;\n}\n.be-image-picker .popup.open[data-v-22d00072] {\n transform: translateX(-50%) translateY(8px) scale(1);\n}\n.be-image-picker .popup .empty-tip[data-v-22d00072] {\n color: black;\n fill: black;\n stroke: black;\n text-align: center;\n margin-bottom: 16px;\n}\nbody.dark .be-image-picker .popup .empty-tip[data-v-22d00072] {\n color: #eee;\n fill: #eee;\n stroke: #eee;\n}\n.be-image-picker .popup .images[data-v-22d00072] {\n max-height: 240px;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n outline: none !important;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: flex-start;\n padding-left: 6px;\n padding-top: 6px;\n}\n.be-image-picker .popup .images[data-v-22d00072]::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.be-image-picker .popup .images .image[data-v-22d00072] {\n border-radius: 4px;\n transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;\n outline: none !important;\n overflow: hidden;\n cursor: pointer;\n display: flex;\n margin-right: 6px;\n margin-bottom: 6px;\n}\n.be-image-picker .popup .images .image.image-list-enter[data-v-22d00072], .be-image-picker .popup .images .image.image-list-leave-to[data-v-22d00072] {\n opacity: 0;\n}\n.be-image-picker .popup .images .image.image-list-leave-active[data-v-22d00072] {\n position: absolute;\n}\n.be-image-picker .popup .images .image img[data-v-22d00072] {\n -o-object-fit: cover;\n object-fit: cover;\n transition: 0.2s ease-out;\n}\n.be-image-picker .popup .images .image[data-v-22d00072]:hover, .be-image-picker .popup .images .image[focus-within][data-v-22d00072] {\n box-shadow: 0 0 0 2px var(--theme-color), 0 0 0 4px var(--theme-color-20);\n}\n.be-image-picker .popup .images .image[data-v-22d00072]:hover, .be-image-picker .popup .images .image[data-v-22d00072]:focus-within {\n box-shadow: 0 0 0 2px var(--theme-color), 0 0 0 4px var(--theme-color-20);\n}\n.be-image-picker .popup .images .image:hover img[data-v-22d00072], .be-image-picker .popup .images .image[focus-within] img[data-v-22d00072] {\n transform: scale(1.1);\n}\n.be-image-picker .popup .images .image:hover img[data-v-22d00072], .be-image-picker .popup .images .image:focus-within img[data-v-22d00072] {\n transform: scale(1.1);\n}\n.be-image-picker .popup .images .image.selected[data-v-22d00072] {\n box-shadow: 0 0 0 3px var(--theme-color);\n}\n.be-image-picker .popup .mask[data-v-22d00072] {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: 8px;\n background-color: rgba(0,0,0,0.66667);\n}\n.be-image-picker .popup .operations[data-v-22d00072] {\n display: flex;\n margin: 8px 4px 4px 4px;\n}\n.be-image-picker .popup .operations[data-v-22d00072] > :not(:last-child) {\n margin-right: 8px;\n}\n.be-image-picker .popup .operations > .be-button[data-v-22d00072] {\n flex: 1 0 0;\n padding: 6px 8px;\n}\n.be-image-picker .popup .operations > .be-button.clear-image[data-v-22d00072] {\n flex-grow: 2;\n}\n.be-image-picker .popup .operations .add-image-popup[data-v-22d00072] {\n transition: 0.12s ease-out;\n transform: translateX(-50%) translateY(-50%) scale(0.75);\n top: 50%;\n left: 50%;\n padding: 14px;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid rgba(136,136,136,0.13333);\n box-sizing: border-box;\n width: 80%;\n}\nbody.dark .be-image-picker .popup .operations .add-image-popup[data-v-22d00072] {\n background-color: #282828;\n color: #eee;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .be-image-picker .popup .operations .add-image-popup[data-v-22d00072] {\n background-color: #222;\n}\n.be-image-picker .popup .operations .add-image-popup.open[data-v-22d00072] {\n transform: translateX(-50%) translateY(-50%) scale(1);\n}\n.be-image-picker .popup .operations .add-image-popup .add-image-row[data-v-22d00072] {\n display: flex;\n align-items: center;\n justify-content: center;\n color: black;\n fill: black;\n stroke: black;\n}\nbody.dark .be-image-picker .popup .operations .add-image-popup .add-image-row[data-v-22d00072] {\n color: #eee;\n fill: #eee;\n stroke: #eee;\n}\n.be-image-picker .popup .operations .add-image-popup .add-image-row[data-v-22d00072]:not(:last-child) {\n margin-bottom: 12px;\n}\n.be-image-picker .popup .operations .add-image-popup .add-image-row .be-textbox[data-v-22d00072] {\n margin-left: 8px;\n flex: 1 0 0;\n}\n.be-image-picker .popup .operations .add-image-popup .add-image-row .be-button[data-v-22d00072] {\n flex: 1 0 0;\n padding: 6px 8px;\n}\n.be-image-picker .popup .operations .add-image-popup .add-image-row .title[data-v-22d00072] {\n font-weight: bold;\n font-size: 16px;\n}\n.be-image-picker .popup .operations .add-image-popup .add-image-row.buttons[data-v-22d00072] > :not(:last-child) {\n margin-right: 8px;\n}",""]),e.exports=i},7552:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,'.image-viewer-container[data-v-1a44716a] {\n background: rgba(0, 0, 0, 0.85);\n width: 100%;\n height: 100%;\n position: fixed;\n top: 0;\n left: 0;\n z-index: 100002;\n display: flex;\n justify-content: center;\n align-items: center;\n opacity: 0;\n pointer-events: none;\n color: #eee;\n}\n.image-viewer-container[data-v-1a44716a], .image-viewer-container *[data-v-1a44716a] {\n transition: 0.2s ease-out;\n}\n.image-viewer-container.open[data-v-1a44716a] {\n opacity: 1;\n pointer-events: initial;\n}\n.image-viewer-container .image-viewer[data-v-1a44716a] {\n width: 90%;\n height: 90%;\n display: grid;\n grid-template: "image close" 48px "image ." auto "image copy-link" 48px "image ." 12px "image new-tab" 48px "image ." 18px "image download" 48px/auto 48px;\n grid-column-gap: 12px;\n column-gap: 12px;\n justify-items: center;\n justify-content: stretch;\n align-items: center;\n align-content: stretch;\n transform: scale(0.95);\n}\n.image-viewer-container .image-viewer .image-container[data-v-1a44716a] {\n grid-area: image;\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n.image-viewer-container .image-viewer .image-container .image[data-v-1a44716a] {\n flex: 1 0 0;\n height: 0;\n -o-object-fit: contain;\n object-fit: contain;\n}\n.image-viewer-container .image-viewer .close[data-v-1a44716a] {\n grid-area: close;\n}\n.image-viewer-container .image-viewer .download[data-v-1a44716a] {\n grid-area: download;\n}\n.image-viewer-container .image-viewer .copy-link[data-v-1a44716a] {\n grid-area: copy-link;\n transform: scale(0.95);\n}\n.image-viewer-container .image-viewer .new-tab[data-v-1a44716a] {\n grid-area: new-tab;\n transform: scale(0.85);\n}\n.image-viewer-container .image-viewer .image-viewer-icon[data-v-1a44716a] {\n cursor: pointer;\n width: 100%;\n height: 100%;\n transition: 0.2s ease-out;\n color: #eee;\n}\n.image-viewer-container .image-viewer .image-viewer-icon:hover .be-icon[data-v-1a44716a] {\n color: var(--theme-color);\n}\n.image-viewer-container.open .image-viewer[data-v-1a44716a] {\n transform: scale(1);\n}',""]),e.exports=i},6293:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".be-progress-bar[data-v-3ac6d224] {\n display: flex;\n justify-content: flex-start;\n align-items: stretch;\n height: 4px;\n background-color: rgba(136,136,136,0.26667);\n border-radius: 2px;\n min-width: 24px;\n overflow: hidden;\n}\n.be-progress-bar .progress[data-v-3ac6d224] {\n border-radius: 2px;\n background-color: var(--theme-color);\n}\n.be-progress-bar .progress.transition[data-v-3ac6d224] {\n transition: width 0.3s ease-out;\n}",""]),e.exports=i},4858:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".be-progress-ring[data-v-3f873eef] {\n display: flex;\n}\n.be-progress-ring svg[data-v-3f873eef] {\n transform: rotate(-90deg);\n}\n.be-progress-ring svg .progress[data-v-3f873eef] {\n stroke: var(--theme-color);\n}\n.be-progress-ring svg .progress.transition[data-v-3f873eef] {\n transition: stroke-dashoffset 0.3s ease-out;\n}\n.be-progress-ring svg .progress-background[data-v-3f873eef] {\n stroke: rgba(136,136,136,0.26667);\n}",""]),e.exports=i},9729:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".be-range-input[data-v-f376e002] {\n display: flex;\n align-items: center;\n}\n.be-range-input > .be-textbox[data-v-f376e002] {\n flex: 1;\n}\n.be-range-input .default-separator[data-v-f376e002] {\n margin: 0 8px;\n flex: 0 0 auto;\n}",""]),e.exports=i},2472:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".be-switch-box {\n outline: none !important;\n width: 32px;\n margin: 4px 0;\n}\n.be-switch-box, .be-switch-box *, .be-switch-box *::before, .be-switch-box *::after {\n transition: 0.2s all ease-out;\n}\n.be-switch-box input[type=checkbox] {\n display: none;\n}\n.be-switch-box label {\n display: block;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n}\n.be-switch-box .bar {\n position: relative;\n background-color: rgba(136,136,136,0.26667);\n box-sizing: border-box;\n height: 12px;\n border-radius: 6px;\n}\n.be-switch-box .bar .thumb {\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n width: 18px;\n height: 18px;\n border-radius: 50%;\n background-color: #fff;\n border: 1px solid #ddd;\n}\nbody.dark .be-switch-box .bar .thumb {\n border-color: #555;\n background-color: #666;\n}\n.be-switch-box.checked .bar {\n background-color: var(--theme-color-50);\n}\n.be-switch-box.checked .bar .thumb {\n background-color: var(--theme-color);\n border-color: transparent;\n left: calc(100% - 18px);\n}\nbody.dark .be-switch-box.checked .bar .thumb {\n border-color: transparent;\n background-color: var(--theme-color);\n}\n.be-switch-box[focus-within].checked .thumb {\n box-shadow: 0 0 0 1px var(--theme-color-20);\n}\n.be-switch-box:focus-within.checked .thumb {\n box-shadow: 0 0 0 1px var(--theme-color-20);\n}\n.be-switch-box.disabled {\n opacity: 0.5;\n}\n.be-switch-box.disabled, .be-switch-box.disabled * {\n cursor: not-allowed;\n}",""]),e.exports=i},5901:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,'.be-tab-control {\n display: flex;\n flex-direction: column;\n}\n.be-tab-control .default-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 8px 8px 0;\n}\n.be-tab-control .default-header .default-tabs {\n display: flex;\n padding: 6px 8px;\n}\n.be-tab-control .default-header .default-tabs .default-tab {\n font-size: 14px;\n position: relative;\n cursor: pointer;\n -webkit-user-select: none;\n user-select: none;\n color: black;\n fill: black;\n stroke: black;\n}\nbody.dark .be-tab-control .default-header .default-tabs .default-tab {\n color: #eee;\n fill: #eee;\n stroke: #eee;\n}\n.be-tab-control .default-header .default-tabs .default-tab:not(:last-child) {\n margin-right: 16px;\n}\n.be-tab-control .default-header .default-tabs .default-tab::after {\n content: "";\n position: absolute;\n top: calc(100% + 4px);\n left: 50%;\n display: block;\n height: 3px;\n border-radius: 2px;\n width: 80%;\n background-color: var(--theme-color);\n transition: transform 0.2s ease-out;\n transform: translateX(-50%) scaleX(0);\n}\n.be-tab-control .default-header .default-tabs .default-tab-name {\n transition: transform 0.2s ease-out;\n opacity: 0.5;\n}\n.be-tab-control .default-header .default-tabs .default-tab.selected .default-tab-name {\n font-weight: bold;\n transform: scale(1.1);\n opacity: 1;\n}\n.be-tab-control .default-header .default-tabs .default-tab.selected::after {\n transform: translateX(-50%) scaleX(1);\n}\n.be-tab-control .default-header .default-tabs .default-tab:not(.selected)[data-count]::before {\n content: attr(data-count);\n position: absolute;\n bottom: calc(100% + 2px);\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 4px;\n font-size: 11px;\n border-radius: 10px;\n background-color: #fff;\n border: 1px solid rgba(136,136,136,0.13333);\n height: 10px;\n min-width: 10px;\n box-sizing: content-box;\n line-height: 1;\n}\nbody.dark .be-tab-control .default-header .default-tabs .default-tab:not(.selected)[data-count]::before {\n background-color: #333;\n}\n.be-tab-control .default-header .header-item {\n flex: 1;\n margin: 0 8px;\n}\n.be-tab-control .default-header .be-more-link .be-button {\n padding: 4px 6px 4px 10px;\n}\n.be-tab-control .default-header .be-more-link .be-button .be-icon {\n margin-left: 4px;\n}\n.be-tab-control .default-content {\n display: flex;\n flex: 1;\n justify-content: center;\n padding: 6px 0;\n position: relative;\n max-height: 100%;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n}\n.be-tab-control .default-content::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.be-tab-control .default-content .content-transition-enter, .be-tab-control .default-content .content-transition-leave-to {\n opacity: 0;\n transform: translateY(-12px);\n}\n.be-tab-control .default-content .content-transition-leave-active {\n position: absolute;\n}\n.be-tab-control .default-content .content-transition-enter-active, .be-tab-control .default-content .content-transition-leave-active {\n transition: 0.2s ease-out;\n}',""]),e.exports=i},835:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".be-text-area {\n flex: 1 1 32px;\n min-width: 32px;\n display: flex;\n align-items: stretch;\n justify-content: stretch;\n border-radius: 4px;\n transition: border 0.2s ease-out, box-shadow 0.2s ease-out;\n box-shadow: 0 0 0 1px rgba(136,136,136,0.26667), 0 0 0 0px var(--theme-color-20);\n}\n.be-text-area[focus-within] {\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-text-area:focus-within {\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-text-area textarea {\n resize: none;\n width: 0;\n flex: 1 0 0;\n padding: 4px 6px;\n border-radius: 4px;\n background-color: transparent;\n border: none;\n outline: none !important;\n color: black;\n font-size: inherit;\n}\nbody.dark .be-text-area textarea {\n color: #eee;\n}\n.be-text-area textarea:disabled {\n opacity: 0.3;\n cursor: not-allowed;\n}\n.be-text-area textarea::-webkit-input-placeholder {\n color: #888;\n}",""]),e.exports=i},6020:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".be-textbox[data-v-242237dc] {\n position: relative;\n flex: 1 1 32px;\n min-width: 32px;\n display: flex;\n align-items: stretch;\n justify-content: stretch;\n border-radius: 4px;\n transition: border 0.2s ease-out, box-shadow 0.2s ease-out;\n box-shadow: 0 0 0 1px rgba(136,136,136,0.26667), 0 0 0 0px var(--theme-color-20);\n}\n.be-textbox[focus-within][data-v-242237dc] {\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-textbox[data-v-242237dc]:focus-within {\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-textbox input[type=text][data-v-242237dc] {\n line-height: normal;\n padding: 4px 6px;\n border-radius: 4px;\n flex: 1 0 0;\n background-color: transparent;\n border: none;\n outline: none !important;\n color: black;\n width: 0;\n font-size: inherit;\n}\nbody.dark .be-textbox input[type=text][data-v-242237dc] {\n color: #eee;\n}\n.be-textbox input[type=text][data-v-242237dc]:disabled {\n opacity: 0.3;\n cursor: not-allowed;\n}\n.be-textbox input[type=text][data-v-242237dc]::-webkit-input-placeholder {\n color: #888;\n}\n.be-textbox.linear[data-v-242237dc] {\n box-shadow: none;\n}\n.be-textbox.linear input[type=text][data-v-242237dc] {\n padding: 4px;\n}\n.be-textbox.linear .linear-bar[data-v-242237dc] {\n position: absolute;\n top: calc(100% - 1px);\n left: 50%;\n transform: translateX(-50%);\n border-radius: 1px;\n height: 1px;\n width: 100%;\n background-color: rgba(136,136,136,0.26667);\n}\n.be-textbox.linear[focus-within][data-v-242237dc] {\n box-shadow: none;\n}\n.be-textbox.linear[data-v-242237dc]:focus-within {\n box-shadow: none;\n}\n.be-textbox.linear[focus-within] .linear-bar[data-v-242237dc] {\n background-color: var(--theme-color);\n}\n.be-textbox.linear:focus-within .linear-bar[data-v-242237dc] {\n background-color: var(--theme-color);\n}",""]),e.exports=i},5131:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".be-button[data-v-7f7e80c6] {\n outline: none !important;\n line-height: normal;\n transition: background-color 0.2s ease-out, box-shadow 0.2s ease-out;\n background-color: rgba(136,136,136,0.13333);\n color: black;\n border: none;\n border-radius: 4px;\n padding: 4px 8px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.be-button[data-v-7f7e80c6], .be-button *[data-v-7f7e80c6] {\n -webkit-tap-highlight-color: transparent;\n}\nbody.dark .be-button[data-v-7f7e80c6] {\n color: #eee;\n}\n.be-button.round[data-v-7f7e80c6] {\n border-radius: calc(1em + 8px);\n padding: 4px 10px;\n}\n.be-button .content-container[data-v-7f7e80c6] {\n -webkit-user-select: none;\n user-select: none;\n display: flex;\n align-items: center;\n justify-content: center;\n flex: 1;\n}\n.be-button.transparent[data-v-7f7e80c6] {\n background-color: transparent;\n}\n.be-button.primary[data-v-7f7e80c6] {\n box-shadow: 0 0 0 1px var(--theme-color-80);\n background-color: var(--theme-color-80);\n color: var(--foreground-color);\n}\n.be-button.light[data-v-7f7e80c6] {\n background-color: #fff;\n box-shadow: 0 0 0 1px rgba(136,136,136,0.26667);\n transition: box-shadow 0.2s ease-out;\n}\nbody.dark .be-button.light[data-v-7f7e80c6] {\n background-color: #333;\n}\n.be-button[data-v-7f7e80c6]:not(.disabled):hover, .be-button:not(.disabled)[focus-within][data-v-7f7e80c6] {\n background-color: rgba(136,136,136,0.26667);\n}\n.be-button[data-v-7f7e80c6]:not(.disabled):hover, .be-button[data-v-7f7e80c6]:not(.disabled):focus-within {\n background-color: rgba(136,136,136,0.26667);\n}\n.be-button:not(.disabled)[focus-within][data-v-7f7e80c6] {\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-button[data-v-7f7e80c6]:not(.disabled):focus-within {\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-button:not(.disabled).transparent[data-v-7f7e80c6]:hover, .be-button:not(.disabled).transparent[focus-within][data-v-7f7e80c6] {\n background-color: rgba(136,136,136,0.13333);\n}\n.be-button:not(.disabled).transparent[data-v-7f7e80c6]:hover, .be-button:not(.disabled).transparent[data-v-7f7e80c6]:focus-within {\n background-color: rgba(136,136,136,0.13333);\n}\n.be-button:not(.disabled).primary[data-v-7f7e80c6]:hover {\n box-shadow: 0 0 0 1px var(--theme-color);\n}\n.be-button:not(.disabled).primary[focus-within][data-v-7f7e80c6] {\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-button:not(.disabled).primary[data-v-7f7e80c6]:focus-within {\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-button:not(.disabled).primary[data-v-7f7e80c6]:hover, .be-button:not(.disabled).primary[focus-within][data-v-7f7e80c6] {\n background-color: var(--theme-color);\n}\n.be-button:not(.disabled).primary[data-v-7f7e80c6]:hover, .be-button:not(.disabled).primary[data-v-7f7e80c6]:focus-within {\n background-color: var(--theme-color);\n}\n.be-button:not(.disabled).light[data-v-7f7e80c6]:hover {\n background-color: #fff;\n box-shadow: 0 0 0 1px var(--theme-color);\n}\n.be-button:not(.disabled).light[data-v-7f7e80c6]:active, .be-button:not(.disabled).light[focus-within][data-v-7f7e80c6] {\n background-color: #fff;\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-button:not(.disabled).light[data-v-7f7e80c6]:active, .be-button:not(.disabled).light[data-v-7f7e80c6]:focus-within {\n background-color: #fff;\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\nbody.dark .be-button:not(.disabled).light[data-v-7f7e80c6]:hover {\n background-color: #333;\n box-shadow: 0 0 0 1px var(--theme-color);\n}\nbody.dark .be-button:not(.disabled).light[data-v-7f7e80c6]:active, body.dark .be-button:not(.disabled).light[focus-within][data-v-7f7e80c6] {\n background-color: #333;\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\nbody.dark .be-button:not(.disabled).light[data-v-7f7e80c6]:active, body.dark .be-button:not(.disabled).light[data-v-7f7e80c6]:focus-within {\n background-color: #333;\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-button.disabled[data-v-7f7e80c6] {\n cursor: not-allowed;\n opacity: 0.5;\n}",""]),e.exports=i},6015:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".be-dropdown[data-v-0e500725] {\n display: flex;\n border-radius: 4px;\n color: black;\n fill: black;\n stroke: black;\n background-color: #fff;\n transition: box-shadow 0.2s ease-out;\n box-shadow: 0 0 0 1px rgba(136,136,136,0.26667);\n position: relative;\n cursor: pointer;\n}\nbody.dark .be-dropdown[data-v-0e500725] {\n color: #eee;\n fill: #eee;\n stroke: #eee;\n}\n.be-dropdown[data-v-0e500725], .be-dropdown *[data-v-0e500725] {\n -webkit-tap-highlight-color: transparent;\n outline: none !important;\n}\nbody.dark .be-dropdown[data-v-0e500725] {\n background-color: #333;\n}\n.be-dropdown[data-v-0e500725]:not(.disabled):hover {\n box-shadow: 0 0 0 1px var(--theme-color);\n}\n.be-dropdown[data-v-0e500725]:not(.disabled):active, .be-dropdown:not(.disabled)[focus-within][data-v-0e500725] {\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-dropdown[data-v-0e500725]:not(.disabled):active, .be-dropdown[data-v-0e500725]:not(.disabled):focus-within {\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-dropdown .dropdown-popup[data-v-0e500725] {\n background-color: inherit;\n top: calc(100% + 4px);\n left: 50%;\n transform: translateX(-50%) translateY(-4px) scale(0.8);\n transform-origin: top;\n transition: 0.2s ease-out;\n min-width: 100%;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid rgba(136,136,136,0.13333);\n box-sizing: border-box;\n}\n.be-dropdown .dropdown-popup.open[data-v-0e500725] {\n transform: translateX(-50%) scale(1);\n}\n.be-dropdown .dropdown-popup .bex-dropdown-item[data-v-0e500725] {\n padding: 4px 6px;\n margin: 2px 4px;\n border-radius: 4px;\n white-space: nowrap;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: background-color 0.2s ease-out;\n}\n.be-dropdown .dropdown-popup .bex-dropdown-item[data-v-0e500725]:hover, .be-dropdown .dropdown-popup .bex-dropdown-item[focus-within][data-v-0e500725] {\n background-color: rgba(136,136,136,0.13333);\n}\n.be-dropdown .dropdown-popup .bex-dropdown-item[data-v-0e500725]:hover, .be-dropdown .dropdown-popup .bex-dropdown-item[data-v-0e500725]:focus-within {\n background-color: rgba(136,136,136,0.13333);\n}\n.be-dropdown .dropdown-popup .bex-dropdown-item[data-v-0e500725]:first-child {\n margin-top: 4px;\n}\n.be-dropdown .dropdown-popup .bex-dropdown-item[data-v-0e500725]:last-child {\n margin-bottom: 4px;\n}\n.be-dropdown .selected[data-v-0e500725] {\n display: flex;\n align-items: center;\n flex-grow: 1;\n line-height: normal;\n}\n.be-dropdown .selected-item[data-v-0e500725] {\n flex: 1;\n padding: 4px 8px;\n}\n.be-dropdown .selected .arrow[data-v-0e500725] {\n flex-shrink: 0;\n transition: transform 0.2s ease-out;\n}\n.be-dropdown .selected .arrow.open[data-v-0e500725] {\n transform: rotate(180deg);\n}\n.be-dropdown .selected .arrow .default-arrow[data-v-0e500725] {\n padding: 0 6px;\n display: flex;\n align-items: center;\n}\n.be-dropdown .selected .arrow .default-arrow path[data-v-0e500725] {\n fill: transparent;\n}\n.be-dropdown .selected .arrow .default-arrow svg[data-v-0e500725] {\n transition: 0.2s ease-out;\n stroke: rgba(136,136,136,0.66667);\n fill: transparent;\n width: 12px;\n height: 12px;\n}\n.be-dropdown:not(.disabled):hover .selected .arrow .default-arrow svg[data-v-0e500725], .be-dropdown:not(.disabled):active .selected .arrow .default-arrow svg[data-v-0e500725], .be-dropdown:not(.disabled)[focus-within] .selected .arrow .default-arrow svg[data-v-0e500725] {\n stroke: var(--theme-color);\n}\n.be-dropdown:not(.disabled):hover .selected .arrow .default-arrow svg[data-v-0e500725], .be-dropdown:not(.disabled):active .selected .arrow .default-arrow svg[data-v-0e500725], .be-dropdown:not(.disabled):focus-within .selected .arrow .default-arrow svg[data-v-0e500725] {\n stroke: var(--theme-color);\n}\n.be-dropdown.disabled[data-v-0e500725] {\n opacity: 0.5;\n cursor: not-allowed;\n}\n.be-dropdown.round[data-v-0e500725] {\n border-radius: calc(1em + 8px);\n}\n.be-dropdown.round .selected-item[data-v-0e500725] {\n padding: 4px 10px;\n}",""]),e.exports=i},1739:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".be-empty {\n flex-grow: 1;\n display: flex;\n align-items: center;\n grid-gap: 0;\n gap: 0;\n justify-content: center;\n}",""]),e.exports=i},9344:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".be-loading {\n flex-grow: 1;\n display: flex;\n align-items: center;\n grid-gap: 0;\n gap: 0;\n justify-content: center;\n}",""]),e.exports=i},9751:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".be-popup {\n position: absolute;\n z-index: 1;\n border-radius: 8px;\n}\n.be-popup.fixed {\n position: fixed;\n}\n.be-popup.close.closed-style {\n pointer-events: none;\n opacity: 0;\n}\n.be-popup.open {\n pointer-events: initial;\n opacity: 1;\n}",""]),e.exports=i},6018:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".be-slider[data-v-a7e33a16] {\n min-width: 50px;\n position: relative;\n outline: none !important;\n}\n.be-slider .bar-container[data-v-a7e33a16] {\n padding: 6px 0;\n}\n.be-slider .default-bar[data-v-a7e33a16] {\n height: 4px;\n border-radius: 2px;\n background-color: rgba(136,136,136,0.13333);\n}\n.be-slider .thumb-container[data-v-a7e33a16] {\n position: absolute;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n cursor: pointer;\n transition: none;\n}\n.be-slider .default-thumb[data-v-a7e33a16] {\n width: 16px;\n height: 16px;\n border-radius: 50%;\n background-color: var(--theme-color);\n box-shadow: 0 0 0 2px var(--theme-color-20);\n transition: box-shadow 0.2s ease-out;\n}",""]),e.exports=i},3997:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,'@charset "UTF-8";\n/** 由于允许自定义SVG插入, 样式不能是scoped的, 否则匹配不上 */\n@font-face {\n font-family: "be-iconfont-bilifont";\n src: url("//s1.hdslb.com/bfs/seed/jinkela/header-v2/asserts/iconfont.ttf") format("truetype");\n}\n@font-face {\n font-family: "be-iconfont-vanfont";\n src: url("//s1.hdslb.com/bfs/static/jinkela/video/asserts/iconfont.6401a86.ttf") format("truetype");\n}\n.be-icon {\n color: inherit;\n fill: inherit;\n stroke: inherit;\n font-size: var(--size);\n font-style: normal;\n line-height: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n width: var(--size);\n height: var(--size);\n}\n.be-icon.be-iconfont-logo::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-profile::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-posts::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-wallet::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-live-center::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-order-center::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-course::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-logout::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-ok::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-cancel::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-bind-phone::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-bind-email::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-coin-outline::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-b-coin::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-b-coin-outline::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-activity::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-feeds::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-message::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-favorites-outline::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-history::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-vip::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-up-outline::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-play-triangle::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-refresh::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-eye::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-coin::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-favorites::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-play::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-danmaku::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-like::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-like-outline::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-dislike-outline::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-comment-outline::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-up::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-left-arrow::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-right-arrow::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-up-arrow::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-down-arrow::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-close::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-search::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-upload::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-lv0::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n color: #9a9a9a;\n}\nbody.dark .be-icon.be-iconfont-lv0::before {\n color: #777;\n}\n.be-icon.be-iconfont-lv1::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n color: #646464;\n}\nbody.dark .be-icon.be-iconfont-lv1::before {\n color: #ddd;\n}\n.be-icon.be-iconfont-lv2::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n color: #1bc861;\n}\n.be-icon.be-iconfont-lv3::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n color: #22baea;\n}\n.be-icon.be-iconfont-lv4::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n color: #eaa722;\n}\n.be-icon.be-iconfont-lv5::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n color: #ff7631;\n}\n.be-icon.be-iconfont-lv6::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n color: #ff3131;\n}\n.be-icon svg,\n.be-icon svg path {\n fill: inherit;\n stroke: inherit;\n stroke-width: 0;\n}\n.be-icon .custom-icon {\n display: flex;\n}\n.be-icon .custom-icon > svg {\n width: var(--size);\n height: var(--size);\n}',""]),e.exports=i},2089:function(e,t,n){var i=n(3645)((function(e){return e[1]}));i.push([e.id,".tippy-box {\n font-size: inherit;\n filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));\n}",""]),e.exports=i},3645:function(e){"use strict";
|
||
// eslint-disable-next-line func-names
|
||
e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},
|
||
// eslint-disable-next-line func-names
|
||
t.i=function(e,n,i){"string"==typeof e&&(
|
||
// eslint-disable-next-line no-param-reassign
|
||
e=[[null,e,""]]);var r={};if(i)for(var a=0;a<this.length;a++){
|
||
// eslint-disable-next-line prefer-destructuring
|
||
var o=this[a][0];null!=o&&(r[o]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);i&&r[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},125:function(e,t){"use strict";function n(e){return Array.isArray?Array.isArray(e):"[object Array]"===l(e)}function i(e){return"string"==typeof e}function r(e){return"number"==typeof e}function a(e){return!0===e||!1===e||function(e){return function(e){return"object"==typeof e}(e)&&null!==e}(e)&&"[object Boolean]"==l(e)}function o(e){return null!=e}function s(e){return!e.trim().length}function l(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const c=Object.prototype.hasOwnProperty;class d{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=u(e);t+=n.weight,this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function u(e){let t=null,r=null,a=null,o=1;if(i(e)||n(e))a=e,t=p(e),r=f(e);else{if(!c.call(e,"name"))throw new Error("Missing name property in key");const n=e.name;if(a=n,c.call(e,"weight")&&(o=e.weight,o<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(n));t=p(n),r=f(n)}return{path:t,id:r,weight:o,src:a}}function p(e){return n(e)?e:e.split(".")}function f(e){return n(e)?e.join("."):e}var h={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,useExtendedSearch:!1,getFn:function(e,t){let s=[],l=!1;const c=(e,t,d)=>{if(o(e))if(t[d]){const u=e[t[d]];if(!o(u))return;if(d===t.length-1&&(i(u)||r(u)||a(u)))s.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(u));else if(n(u)){l=!0;for(let e=0,n=u.length;e<n;e+=1)c(u[e],t,d+1)}else t.length&&c(u,t,d+1)}else s.push(e)};return c(e,i(t)?t.split("."):t,0),l?s:s[0]},ignoreLocation:!1,ignoreFieldNorm:!1};const m=/[^ ]+/g;class g{constructor({getFn:e=h.getFn}={}){this.norm=function(e=3){const t=new Map,n=Math.pow(10,e);return{get(e){const i=e.match(m).length;if(t.has(i))return t.get(i);const r=1/Math.sqrt(i),a=parseFloat(Math.round(r*n)/n);return t.set(i,a),a},clear(){t.clear()}}}(3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,i(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();i(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!o(e)||s(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let r={i:t,$:{}};this.keys.forEach(((t,a)=>{let l=this.getFn(e,t.path);if(o(l))if(n(l)){let e=[];const t=[{nestedArrIndex:-1,value:l}];for(;t.length;){const{nestedArrIndex:r,value:a}=t.pop();if(o(a))if(i(a)&&!s(a)){let t={v:a,i:r,n:this.norm.get(a)};e.push(t)}else n(a)&&a.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}r.$[a]=e}else if(!s(l)){let e={v:l,n:this.norm.get(l)};r.$[a]=e}})),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function b(e,t,{getFn:n=h.getFn}={}){const i=new g({getFn:n});return i.setKeys(e.map(u)),i.setSources(t),i.create(),i}function v(e,{errors:t=0,currentLocation:n=0,expectedLocation:i=0,distance:r=h.distance,ignoreLocation:a=h.ignoreLocation}={}){const o=t/e.length;if(a)return o;const s=Math.abs(i-n);return r?o+s/r:s?1:o}function y(e,t,n,{location:i=h.location,distance:r=h.distance,threshold:a=h.threshold,findAllMatches:o=h.findAllMatches,minMatchCharLength:s=h.minMatchCharLength,includeMatches:l=h.includeMatches,ignoreLocation:c=h.ignoreLocation}={}){if(t.length>32)throw new Error("Pattern length exceeds max of 32.");const d=t.length,u=e.length,p=Math.max(0,Math.min(i,u));let f=a,m=p;const g=s>1||l,b=g?Array(u):[];let y;for(;(y=e.indexOf(t,m))>-1;){let e=v(t,{currentLocation:y,expectedLocation:p,distance:r,ignoreLocation:c});if(f=Math.min(e,f),m=y+d,g){let e=0;for(;e<d;)b[y+e]=1,e+=1}}m=-1;let w=[],x=1,k=d+u;const _=1<<d-1;for(let i=0;i<d;i+=1){let a=0,s=k;for(;a<s;)v(t,{errors:i,currentLocation:p+s,expectedLocation:p,distance:r,ignoreLocation:c})<=f?a=s:k=s,s=Math.floor((k-a)/2+a);k=s;let l=Math.max(1,p-s+1),h=o?u:Math.min(p+s,u)+d,y=Array(h+2);y[h+1]=(1<<i)-1;for(let a=h;a>=l;a-=1){let o=a-1,s=n[e.charAt(o)];if(g&&(b[o]=+!!s),y[a]=(y[a+1]<<1|1)&s,i&&(y[a]|=(w[a+1]|w[a])<<1|1|w[a+1]),y[a]&_&&(x=v(t,{errors:i,currentLocation:o,expectedLocation:p,distance:r,ignoreLocation:c}),x<=f)){if(f=x,m=o,m<=p)break;l=Math.max(1,2*p-m)}}if(v(t,{errors:i+1,currentLocation:p,expectedLocation:p,distance:r,ignoreLocation:c})>f)break;w=y}const C={isMatch:m>=0,score:Math.max(.001,x)};if(g){const e=function(e=[],t=h.minMatchCharLength){let n=[],i=-1,r=-1,a=0;for(let o=e.length;a<o;a+=1){let o=e[a];o&&-1===i?i=a:o||-1===i||(r=a-1,r-i+1>=t&&n.push([i,r]),i=-1)}return e[a-1]&&a-i>=t&&n.push([i,a-1]),n}(b,s);e.length?l&&(C.indices=e):C.isMatch=!1}return C}function w(e){let t={};for(let n=0,i=e.length;n<i;n+=1){const r=e.charAt(n);t[r]=(t[r]||0)|1<<i-n-1}return t}class x{constructor(e,{location:t=h.location,threshold:n=h.threshold,distance:i=h.distance,includeMatches:r=h.includeMatches,findAllMatches:a=h.findAllMatches,minMatchCharLength:o=h.minMatchCharLength,isCaseSensitive:s=h.isCaseSensitive,ignoreLocation:l=h.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:i,includeMatches:r,findAllMatches:a,minMatchCharLength:o,isCaseSensitive:s,ignoreLocation:l},this.pattern=s?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const c=(e,t)=>{this.chunks.push({pattern:e,alphabet:w(e),startIndex:t})},d=this.pattern.length;if(d>32){let e=0;const t=d%32,n=d-t;for(;e<n;)c(this.pattern.substr(e,32),e),e+=32;if(t){const e=d-32;c(this.pattern.substr(e),e)}}else c(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:i,distance:r,threshold:a,findAllMatches:o,minMatchCharLength:s,ignoreLocation:l}=this.options;let c=[],d=0,u=!1;this.chunks.forEach((({pattern:t,alphabet:p,startIndex:f})=>{const{isMatch:h,score:m,indices:g}=y(e,t,p,{location:i+f,distance:r,threshold:a,findAllMatches:o,minMatchCharLength:s,includeMatches:n,ignoreLocation:l});h&&(u=!0),d+=m,h&&g&&(c=[...c,...g])}));let p={isMatch:u,score:u?d/this.chunks.length:1};return u&&n&&(p.indices=c),p}}const k=[];function _(e,t){for(let n=0,i=k.length;n<i;n+=1){let i=k[n];if(i.condition(e,t))return new i(e,t)}return new x(e,t)}function C(e,t){const n=e.matches;t.matches=[],o(n)&&n.forEach((e=>{if(!o(e.indices)||!e.indices.length)return;const{indices:n,value:i}=e;let r={indices:n,value:i};e.key&&(r.key=e.key.src),e.idx>-1&&(r.refIndex=e.idx),t.matches.push(r)}))}function S(e,t){t.score=e.score}class E{constructor(e,t={},n){if(this.options={...h,...t},this.options.useExtendedSearch)throw new Error("Extended search is not available");this._keyStore=new d(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof g))throw new Error("Incorrect 'index' type");this._myIndex=t||b(this.options.keys,this._docs,{getFn:this.options.getFn})}add(e){o(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let n=0,i=this._docs.length;n<i;n+=1){const r=this._docs[n];e(r,n)&&(this.removeAt(n),n-=1,i-=1,t.push(r))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:n,includeScore:a,shouldSort:o,sortFn:s,ignoreFieldNorm:l}=this.options;let c=i(e)?i(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=h.ignoreFieldNorm}){e.forEach((e=>{let n=1;e.matches.forEach((({key:e,norm:i,score:r})=>{const a=e?e.weight:null;n*=Math.pow(0===r&&a?Number.EPSILON:r,(a||1)*(t?1:i))})),e.score=n}))}(c,{ignoreFieldNorm:l}),o&&c.sort(s),r(t)&&t>-1&&(c=c.slice(0,t)),function(e,t,{includeMatches:n=h.includeMatches,includeScore:i=h.includeScore}={}){const r=[];return n&&r.push(C),i&&r.push(S),e.map((e=>{const{idx:n}=e,i={item:t[n],refIndex:n};return r.length&&r.forEach((t=>{t(e,i)})),i}))}(c,this._docs,{includeMatches:n,includeScore:a})}_searchStringList(e){const t=_(e,this.options),{records:n}=this._myIndex,i=[];return n.forEach((({v:e,i:n,n:r})=>{if(!o(e))return;const{isMatch:a,score:s,indices:l}=t.searchIn(e);a&&i.push({item:e,idx:n,matches:[{score:s,value:e,norm:r,indices:l}]})})),i}_searchLogical(e){throw new Error("Logical search is not available")}_searchObjectList(e){const t=_(e,this.options),{keys:n,records:i}=this._myIndex,r=[];return i.forEach((({$:e,i:i})=>{if(!o(e))return;let a=[];n.forEach(((n,i)=>{a.push(...this._findMatches({key:n,value:e[i],searcher:t}))})),a.length&&r.push({idx:i,item:e,matches:a})})),r}_findMatches({key:e,value:t,searcher:i}){if(!o(t))return[];let r=[];if(n(t))t.forEach((({v:t,i:n,n:a})=>{if(!o(t))return;const{isMatch:s,score:l,indices:c}=i.searchIn(t);s&&r.push({score:l,key:e,value:t,idx:n,norm:a,indices:c})}));else{const{v:n,n:a}=t,{isMatch:o,score:s,indices:l}=i.searchIn(n);o&&r.push({score:s,key:e,value:n,norm:a,indices:l})}return r}}E.version="6.4.6",E.createIndex=b,E.parseIndex=function(e,{getFn:t=h.getFn}={}){const{keys:n,records:i}=e,r=new g({getFn:t});return r.setKeys(n),r.setIndexRecords(i),r},E.config=h,t.Z=E},5171:function(e){e.exports=function(e){return!(!e||"string"==typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},7084:function(e){e.exports=function(){"use strict";function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function t(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}function n(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function r(e,t){var i;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(i=n(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(i=e[Symbol.iterator]()).next.bind(i)}function a(e,t){return e(t={exports:{}},t.exports),t.exports}var o=a((function(e){function t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function n(t){e.exports.defaults=t}e.exports={defaults:t(),getDefaults:t,changeDefaults:n}})),s=(o.defaults,o.getDefaults,o.changeDefaults,/[&<>"']/),l=/[&<>"']/g,c=/[<>"']|&(?!#?\w+;)/,d=/[<>"']|&(?!#?\w+;)/g,u={"&":"&","<":"<",">":">",'"':""","'":"'"},p=function(e){return u[e]};function f(e,t){if(t){if(s.test(e))return e.replace(l,p)}else if(c.test(e))return e.replace(d,p);return e}var h=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function m(e){return e.replace(h,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var g=/(^|[^\[])\^/g;function b(e,t){e=e.source||e,t=t||"";var n={replace:function(t,i){return i=(i=i.source||i).replace(g,"$1"),e=e.replace(t,i),n},getRegex:function(){return new RegExp(e,t)}};return n}var v=/[^\w:]/g,y=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function w(e,t,n){if(e){var i;try{i=decodeURIComponent(m(n)).replace(v,"").toLowerCase()}catch(e){return null}if(0===i.indexOf("javascript:")||0===i.indexOf("vbscript:")||0===i.indexOf("data:"))return null}t&&!y.test(n)&&(n=S(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n}var x={},k=/^[^:]+:\/*[^/]*$/,_=/^([^:]+:)[\s\S]*$/,C=/^([^:]+:\/*[^/]*)[\s\S]*$/;function S(e,t){x[" "+e]||(k.test(e)?x[" "+e]=e+"/":x[" "+e]=A(e,"/",!0));var n=-1===(e=x[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(_,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(C,"$1")+t:e+t}function E(e){for(var t,n,i=1;i<arguments.length;i++)for(n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function $(e,t){var n=e.replace(/\|/g,(function(e,t,n){for(var i=!1,r=t;--r>=0&&"\\"===n[r];)i=!i;return i?"|":" |"})).split(/ \|/),i=0;if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;i<n.length;i++)n[i]=n[i].trim().replace(/\\\|/g,"|");return n}function A(e,t,n){var i=e.length;if(0===i)return"";for(var r=0;r<i;){var a=e.charAt(i-r-1);if(a!==t||n){if(a===t||!n)break;r++}else r++}return e.substr(0,i-r)}function I(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,i=0,r=0;r<n;r++)if("\\"===e[r])r++;else if(e[r]===t[0])i++;else if(e[r]===t[1]&&--i<0)return r;return-1}function T(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function O(e,t){if(t<1)return"";for(var n="";t>1;)1&t&&(n+=e),t>>=1,e+=e;return n+e}var L={escape:f,unescape:m,edit:b,cleanUrl:w,resolveUrl:S,noopTest:{exec:function(){}},merge:E,splitCells:$,rtrim:A,findClosingBracket:I,checkSanitizeDeprecation:T,repeatString:O},M=o.defaults,P=L.rtrim,z=L.splitCells,D=L.escape,V=L.findClosingBracket;function B(e,t,n){var i=t.href,r=t.title?D(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");return"!"!==e[0].charAt(0)?{type:"link",raw:n,href:i,title:r,text:a}:{type:"image",raw:n,href:i,title:r,text:D(a)}}function N(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var i=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=i.length?e.slice(i.length):e})).join("\n")}var j=function(){function e(e){this.options=e||M}var t=e.prototype;return t.space=function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e,t){var n=this.rules.block.code.exec(e);if(n){var i=t[t.length-1];if(i&&"paragraph"===i.type)return{raw:n[0],text:n[0].trimRight()};var r=n[0].replace(/^ {4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?r:P(r,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],i=N(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:i}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[1].length,text:t[2]}},t.nptable=function(e){var t=this.rules.block.nptable.exec(e);if(t){var n={type:"table",header:z(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(n.header.length===n.align.length){var i,r=n.align.length;for(i=0;i<r;i++)/^ *-+: *$/.test(n.align[i])?n.align[i]="right":/^ *:-+: *$/.test(n.align[i])?n.align[i]="center":/^ *:-+ *$/.test(n.align[i])?n.align[i]="left":n.align[i]=null;for(r=n.cells.length,i=0;i<r;i++)n.cells[i]=z(n.cells[i],n.header.length);return n}}},t.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},t.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var n=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],text:n}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){var n,i,r,a,o,s,l,c,d=t[0],u=t[2],p=u.length>1,f={type:"list",raw:d,ordered:p,start:p?+u.slice(0,-1):"",loose:!1,items:[]},h=t[0].match(this.rules.block.item),m=!1,g=h.length;r=this.rules.block.listItemStart.exec(h[0]);for(var b=0;b<g;b++){if(d=n=h[b],b!==g-1){if((a=this.rules.block.listItemStart.exec(h[b+1]))[1].length>r[0].length||a[1].length>3){h.splice(b,2,h[b]+"\n"+h[b+1]),b--,g--;continue}(!this.options.pedantic||this.options.smartLists?a[2][a[2].length-1]!==u[u.length-1]:p===(1===a[2].length))&&(o=h.slice(b+1).join("\n"),f.raw=f.raw.substring(0,f.raw.length-o.length),b=g-1),r=a}i=n.length,~(n=n.replace(/^ *([*+-]|\d+[.)]) ?/,"")).indexOf("\n ")&&(i-=n.length,n=this.options.pedantic?n.replace(/^ {1,4}/gm,""):n.replace(new RegExp("^ {1,"+i+"}","gm"),"")),s=m||/\n\n(?!\s*$)/.test(n),b!==g-1&&(m="\n"===n.charAt(n.length-1),s||(s=m)),s&&(f.loose=!0),this.options.gfm&&(c=void 0,(l=/^\[[ xX]\] /.test(n))&&(c=" "!==n[1],n=n.replace(/^\[[ xX]\] +/,""))),f.items.push({type:"list_item",raw:d,task:l,checked:c,loose:s,text:n})}return f}},t.html=function(e){var t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):D(t[0]):t[0]}},t.def=function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}},t.table=function(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:z(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var i,r=n.align.length;for(i=0;i<r;i++)/^ *-+: *$/.test(n.align[i])?n.align[i]="right":/^ *:-+: *$/.test(n.align[i])?n.align[i]="center":/^ *:-+ *$/.test(n.align[i])?n.align[i]="left":n.align[i]=null;for(r=n.cells.length,i=0;i<r;i++)n.cells[i]=z(n.cells[i].replace(/^ *\| *| *\| *$/g,""),n.header.length);return n}}},t.lheading=function(e){var t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1]}},t.paragraph=function(e){var t=this.rules.block.paragraph.exec(e);if(t)return{type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1]}},t.text=function(e,t){var n=this.rules.block.text.exec(e);if(n){var i=t[t.length-1];return i&&"text"===i.type?{raw:n[0],text:n[0]}:{type:"text",raw:n[0],text:n[0]}}},t.escape=function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:D(t[1])}},t.tag=function(e,t,n){var i=this.rules.inline.tag.exec(e);if(i)return!t&&/^<a /i.test(i[0])?t=!0:t&&/^<\/a>/i.test(i[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(i[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(i[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:i[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):D(i[0]):i[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var n=V(t[2],"()");if(n>-1){var i=(0===t[0].indexOf("!")?5:4)+t[1].length+n;t[2]=t[2].substring(0,n),t[0]=t[0].substring(0,i).trim(),t[3]=""}var r=t[2],a="";if(this.options.pedantic){var o=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);o?(r=o[1],a=o[3]):a=""}else a=t[3]?t[3].slice(1,-1):"";return B(t,{href:(r=r.trim().replace(/^<([\s\S]*)>$/,"$1"))?r.replace(this.rules.inline._escapes,"$1"):r,title:a?a.replace(this.rules.inline._escapes,"$1"):a},t[0])}},t.reflink=function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var i=(n[2]||n[1]).replace(/\s+/g," ");if(!(i=t[i.toLowerCase()])||!i.href){var r=n[0].charAt(0);return{type:"text",raw:r,text:r}}return B(n,i,n[0])}},t.strong=function(e,t,n){void 0===n&&(n="");var i=this.rules.inline.strong.start.exec(e);if(i&&(!i[1]||i[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var r,a="**"===i[0]?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;for(a.lastIndex=0;null!=(i=a.exec(t));)if(r=this.rules.inline.strong.middle.exec(t.slice(0,i.index+3)))return{type:"strong",raw:e.slice(0,r[0].length),text:e.slice(2,r[0].length-2)}}},t.em=function(e,t,n){void 0===n&&(n="");var i=this.rules.inline.em.start.exec(e);if(i&&(!i[1]||i[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var r,a="*"===i[0]?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;for(a.lastIndex=0;null!=(i=a.exec(t));)if(r=this.rules.inline.em.middle.exec(t.slice(0,i.index+2)))return{type:"em",raw:e.slice(0,r[0].length),text:e.slice(1,r[0].length-1)}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),i=/[^ ]/.test(n),r=n.startsWith(" ")&&n.endsWith(" ");return i&&r&&(n=n.substring(1,n.length-1)),n=D(n,!0),{type:"codespan",raw:t[0],text:n}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2]}},t.autolink=function(e,t){var n,i,r=this.rules.inline.autolink.exec(e);if(r)return i="@"===r[2]?"mailto:"+(n=D(this.options.mangle?t(r[1]):r[1])):n=D(r[1]),{type:"link",raw:r[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}},t.url=function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var i,r;if("@"===n[2])r="mailto:"+(i=D(this.options.mangle?t(n[0]):n[0]));else{var a;do{a=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(a!==n[0]);i=D(n[0]),r="www."===n[1]?"http://"+i:i}return{type:"link",raw:n[0],text:i,href:r,tokens:[{type:"text",raw:i,text:i}]}}},t.inlineText=function(e,t,n){var i,r=this.rules.inline.text.exec(e);if(r)return i=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):D(r[0]):r[0]:D(this.options.smartypants?n(r[0]):r[0]),{type:"text",raw:r[0],text:i}},e}(),q=L.noopTest,F=L.edit,R=L.merge,U={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:q,table:q,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};U.def=F(U.def).replace("label",U._label).replace("title",U._title).getRegex(),U.bullet=/(?:[*+-]|\d{1,9}[.)])/,U.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,U.item=F(U.item,"gm").replace(/bull/g,U.bullet).getRegex(),U.listItemStart=F(/^( *)(bull)/).replace("bull",U.bullet).getRegex(),U.list=F(U.list).replace(/bull/g,U.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+U.def.source+")").getRegex(),U._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",U._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,U.html=F(U.html,"i").replace("comment",U._comment).replace("tag",U._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),U.paragraph=F(U._paragraph).replace("hr",U.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",U._tag).getRegex(),U.blockquote=F(U.blockquote).replace("paragraph",U.paragraph).getRegex(),U.normal=R({},U),U.gfm=R({},U.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),U.gfm.nptable=F(U.gfm.nptable).replace("hr",U.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",U._tag).getRegex(),U.gfm.table=F(U.gfm.table).replace("hr",U.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",U._tag).getRegex(),U.pedantic=R({},U.normal,{html:F("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",U._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:q,paragraph:F(U.normal._paragraph).replace("hr",U.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",U.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var H={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:q,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation_\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation*\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation_\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation*\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:q,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\s*punctuation])/,_punctuation:"!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~"};H.punctuation=F(H.punctuation).replace(/punctuation/g,H._punctuation).getRegex(),H._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",H._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",H._comment=F(U._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),H.em.start=F(H.em.start).replace(/punctuation/g,H._punctuation).getRegex(),H.em.middle=F(H.em.middle).replace(/punctuation/g,H._punctuation).replace(/overlapSkip/g,H._overlapSkip).getRegex(),H.em.endAst=F(H.em.endAst,"g").replace(/punctuation/g,H._punctuation).getRegex(),H.em.endUnd=F(H.em.endUnd,"g").replace(/punctuation/g,H._punctuation).getRegex(),H.strong.start=F(H.strong.start).replace(/punctuation/g,H._punctuation).getRegex(),H.strong.middle=F(H.strong.middle).replace(/punctuation/g,H._punctuation).replace(/overlapSkip/g,H._overlapSkip).getRegex(),H.strong.endAst=F(H.strong.endAst,"g").replace(/punctuation/g,H._punctuation).getRegex(),H.strong.endUnd=F(H.strong.endUnd,"g").replace(/punctuation/g,H._punctuation).getRegex(),H.blockSkip=F(H._blockSkip,"g").getRegex(),H.overlapSkip=F(H._overlapSkip,"g").getRegex(),H._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,H._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,H._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,H.autolink=F(H.autolink).replace("scheme",H._scheme).replace("email",H._email).getRegex(),H._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,H.tag=F(H.tag).replace("comment",H._comment).replace("attribute",H._attribute).getRegex(),H._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,H._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,H._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,H.link=F(H.link).replace("label",H._label).replace("href",H._href).replace("title",H._title).getRegex(),H.reflink=F(H.reflink).replace("label",H._label).getRegex(),H.reflinkSearch=F(H.reflinkSearch,"g").replace("reflink",H.reflink).replace("nolink",H.nolink).getRegex(),H.normal=R({},H),H.pedantic=R({},H.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:F(/^!?\[(label)\]\((.*?)\)/).replace("label",H._label).getRegex(),reflink:F(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",H._label).getRegex()}),H.gfm=R({},H.normal,{escape:F(H.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),H.gfm.url=F(H.gfm.url,"i").replace("email",H.gfm._extended_email).getRegex(),H.breaks=R({},H.gfm,{br:F(H.br).replace("{2,}","*").getRegex(),text:F(H.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Z={block:U,inline:H},W=o.defaults,G=Z.block,X=Z.inline,J=L.repeatString;function K(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function Y(e){var t,n,i="",r=e.length;for(t=0;t<r;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),i+="&#"+n+";";return i}var Q=function(){function e(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||W,this.options.tokenizer=this.options.tokenizer||new j,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var t={block:G.normal,inline:X.normal};this.options.pedantic?(t.block=G.pedantic,t.inline=X.pedantic):this.options.gfm&&(t.block=G.gfm,this.options.breaks?t.inline=X.breaks:t.inline=X.gfm),this.tokenizer.rules=t}e.lex=function(t,n){return new e(n).lex(t)},e.lexInline=function(t,n){return new e(n).inlineTokens(t)};var n=e.prototype;return n.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens},n.blockTokens=function(e,t,n){var i,r,a,o;for(void 0===t&&(t=[]),void 0===n&&(n=!0),e=e.replace(/^ +$/gm,"");e;)if(i=this.tokenizer.space(e))e=e.substring(i.raw.length),i.type&&t.push(i);else if(i=this.tokenizer.code(e,t))e=e.substring(i.raw.length),i.type?t.push(i):((o=t[t.length-1]).raw+="\n"+i.raw,o.text+="\n"+i.text);else if(i=this.tokenizer.fences(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.heading(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.nptable(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.hr(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.blockquote(e))e=e.substring(i.raw.length),i.tokens=this.blockTokens(i.text,[],n),t.push(i);else if(i=this.tokenizer.list(e)){for(e=e.substring(i.raw.length),a=i.items.length,r=0;r<a;r++)i.items[r].tokens=this.blockTokens(i.items[r].text,[],!1);t.push(i)}else if(i=this.tokenizer.html(e))e=e.substring(i.raw.length),t.push(i);else if(n&&(i=this.tokenizer.def(e)))e=e.substring(i.raw.length),this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title});else if(i=this.tokenizer.table(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.lheading(e))e=e.substring(i.raw.length),t.push(i);else if(n&&(i=this.tokenizer.paragraph(e)))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.text(e,t))e=e.substring(i.raw.length),i.type?t.push(i):((o=t[t.length-1]).raw+="\n"+i.raw,o.text+="\n"+i.text);else if(e){var s="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(s);break}throw new Error(s)}return t},n.inline=function(e){var t,n,i,r,a,o,s=e.length;for(t=0;t<s;t++)switch((o=e[t]).type){case"paragraph":case"text":case"heading":o.tokens=[],this.inlineTokens(o.text,o.tokens);break;case"table":for(o.tokens={header:[],cells:[]},r=o.header.length,n=0;n<r;n++)o.tokens.header[n]=[],this.inlineTokens(o.header[n],o.tokens.header[n]);for(r=o.cells.length,n=0;n<r;n++)for(a=o.cells[n],o.tokens.cells[n]=[],i=0;i<a.length;i++)o.tokens.cells[n][i]=[],this.inlineTokens(a[i],o.tokens.cells[n][i]);break;case"blockquote":this.inline(o.tokens);break;case"list":for(r=o.items.length,n=0;n<r;n++)this.inline(o.items[n].tokens)}return e},n.inlineTokens=function(e,t,n,i){var r;void 0===t&&(t=[]),void 0===n&&(n=!1),void 0===i&&(i=!1);var a,o,s,l=e;if(this.tokens.links){var c=Object.keys(this.tokens.links);if(c.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(l));)c.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,a.index)+"["+J("a",a[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,a.index)+"["+J("a",a[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;e;)if(o||(s=""),o=!1,r=this.tokenizer.escape(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.tag(e,n,i))e=e.substring(r.raw.length),n=r.inLink,i=r.inRawBlock,t.push(r);else if(r=this.tokenizer.link(e))e=e.substring(r.raw.length),"link"===r.type&&(r.tokens=this.inlineTokens(r.text,[],!0,i)),t.push(r);else if(r=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(r.raw.length),"link"===r.type&&(r.tokens=this.inlineTokens(r.text,[],!0,i)),t.push(r);else if(r=this.tokenizer.strong(e,l,s))e=e.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),t.push(r);else if(r=this.tokenizer.em(e,l,s))e=e.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),t.push(r);else if(r=this.tokenizer.codespan(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.br(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.del(e))e=e.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),t.push(r);else if(r=this.tokenizer.autolink(e,Y))e=e.substring(r.raw.length),t.push(r);else if(n||!(r=this.tokenizer.url(e,Y))){if(r=this.tokenizer.inlineText(e,i,K))e=e.substring(r.raw.length),s=r.raw.slice(-1),o=!0,t.push(r);else if(e){var d="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(d);break}throw new Error(d)}}else e=e.substring(r.raw.length),t.push(r);return t},t(e,null,[{key:"rules",get:function(){return{block:G,inline:X}}}]),e}(),ee=o.defaults,te=L.cleanUrl,ne=L.escape,ie=function(){function e(e){this.options=e||ee}var t=e.prototype;return t.code=function(e,t,n){var i=(t||"").match(/\S*/)[0];if(this.options.highlight){var r=this.options.highlight(e,i);null!=r&&r!==e&&(n=!0,e=r)}return i?'<pre><code class="'+this.options.langPrefix+ne(i,!0)+'">'+(n?e:ne(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:ne(e,!0))+"</code></pre>\n"},t.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},t.html=function(e){return e},t.heading=function(e,t,n,i){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+i.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},t.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},t.list=function(e,t,n){var i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+i+">\n"},t.listitem=function(e){return"<li>"+e+"</li>\n"},t.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},t.paragraph=function(e){return"<p>"+e+"</p>\n"},t.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},t.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},t.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"},t.strong=function(e){return"<strong>"+e+"</strong>"},t.em=function(e){return"<em>"+e+"</em>"},t.codespan=function(e){return"<code>"+e+"</code>"},t.br=function(){return this.options.xhtml?"<br/>":"<br>"},t.del=function(e){return"<del>"+e+"</del>"},t.link=function(e,t,n){if(null===(e=te(this.options.sanitize,this.options.baseUrl,e)))return n;var i='<a href="'+ne(e)+'"';return t&&(i+=' title="'+t+'"'),i+=">"+n+"</a>"},t.image=function(e,t,n){if(null===(e=te(this.options.sanitize,this.options.baseUrl,e)))return n;var i='<img src="'+e+'" alt="'+n+'"';return t&&(i+=' title="'+t+'"'),i+=this.options.xhtml?"/>":">"},t.text=function(e){return e},e}(),re=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},e}(),ae=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var n=e,i=0;if(this.seen.hasOwnProperty(n)){i=this.seen[e];do{n=e+"-"+ ++i}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=i,this.seen[n]=0),n},t.slug=function(e,t){void 0===t&&(t={});var n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)},e}(),oe=o.defaults,se=L.unescape,le=function(){function e(e){this.options=e||oe,this.options.renderer=this.options.renderer||new ie,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new re,this.slugger=new ae}e.parse=function(t,n){return new e(n).parse(t)},e.parseInline=function(t,n){return new e(n).parseInline(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var n,i,r,a,o,s,l,c,d,u,p,f,h,m,g,b,v,y,w="",x=e.length;for(n=0;n<x;n++)switch((u=e[n]).type){case"space":continue;case"hr":w+=this.renderer.hr();continue;case"heading":w+=this.renderer.heading(this.parseInline(u.tokens),u.depth,se(this.parseInline(u.tokens,this.textRenderer)),this.slugger);continue;case"code":w+=this.renderer.code(u.text,u.lang,u.escaped);continue;case"table":for(c="",l="",a=u.header.length,i=0;i<a;i++)l+=this.renderer.tablecell(this.parseInline(u.tokens.header[i]),{header:!0,align:u.align[i]});for(c+=this.renderer.tablerow(l),d="",a=u.cells.length,i=0;i<a;i++){for(l="",o=(s=u.tokens.cells[i]).length,r=0;r<o;r++)l+=this.renderer.tablecell(this.parseInline(s[r]),{header:!1,align:u.align[r]});d+=this.renderer.tablerow(l)}w+=this.renderer.table(c,d);continue;case"blockquote":d=this.parse(u.tokens),w+=this.renderer.blockquote(d);continue;case"list":for(p=u.ordered,f=u.start,h=u.loose,a=u.items.length,d="",i=0;i<a;i++)b=(g=u.items[i]).checked,v=g.task,m="",g.task&&(y=this.renderer.checkbox(b),h?g.tokens.length>0&&"text"===g.tokens[0].type?(g.tokens[0].text=y+" "+g.tokens[0].text,g.tokens[0].tokens&&g.tokens[0].tokens.length>0&&"text"===g.tokens[0].tokens[0].type&&(g.tokens[0].tokens[0].text=y+" "+g.tokens[0].tokens[0].text)):g.tokens.unshift({type:"text",text:y}):m+=y),m+=this.parse(g.tokens,h),d+=this.renderer.listitem(m,v,b);w+=this.renderer.list(d,p,f);continue;case"html":w+=this.renderer.html(u.text);continue;case"paragraph":w+=this.renderer.paragraph(this.parseInline(u.tokens));continue;case"text":for(d=u.tokens?this.parseInline(u.tokens):u.text;n+1<x&&"text"===e[n+1].type;)d+="\n"+((u=e[++n]).tokens?this.parseInline(u.tokens):u.text);w+=t?this.renderer.paragraph(d):d;continue;default:var k='Token with "'+u.type+'" type was not found.';if(this.options.silent)return void console.error(k);throw new Error(k)}return w},t.parseInline=function(e,t){t=t||this.renderer;var n,i,r="",a=e.length;for(n=0;n<a;n++)switch((i=e[n]).type){case"escape":r+=t.text(i.text);break;case"html":r+=t.html(i.text);break;case"link":r+=t.link(i.href,i.title,this.parseInline(i.tokens,t));break;case"image":r+=t.image(i.href,i.title,i.text);break;case"strong":r+=t.strong(this.parseInline(i.tokens,t));break;case"em":r+=t.em(this.parseInline(i.tokens,t));break;case"codespan":r+=t.codespan(i.text);break;case"br":r+=t.br();break;case"del":r+=t.del(this.parseInline(i.tokens,t));break;case"text":r+=t.text(i.text);break;default:var o='Token with "'+i.type+'" type was not found.';if(this.options.silent)return void console.error(o);throw new Error(o)}return r},e}(),ce=L.merge,de=L.checkSanitizeDeprecation,ue=L.escape,pe=o.getDefaults,fe=o.changeDefaults,he=o.defaults;function me(e,t,n){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"==typeof t&&(n=t,t=null),t=ce({},me.defaults,t||{}),de(t),n){var i,r=t.highlight;try{i=Q.lex(e,t)}catch(e){return n(e)}var a=function(e){var a;if(!e)try{a=le.parse(i,t)}catch(t){e=t}return t.highlight=r,e?n(e):n(null,a)};if(!r||r.length<3)return a();if(delete t.highlight,!i.length)return a();var o=0;return me.walkTokens(i,(function(e){"code"===e.type&&(o++,setTimeout((function(){r(e.text,e.lang,(function(t,n){if(t)return a(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),0==--o&&a()}))}),0))})),void(0===o&&a())}try{var s=Q.lex(e,t);return t.walkTokens&&me.walkTokens(s,t.walkTokens),le.parse(s,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+ue(e.message+"",!0)+"</pre>";throw e}}return me.options=me.setOptions=function(e){return ce(me.defaults,e),fe(me.defaults),me},me.getDefaults=pe,me.defaults=he,me.use=function(e){var t=ce({},e);if(e.renderer&&function(){var n=me.defaults.renderer||new ie,i=function(t){var i=n[t];n[t]=function(){for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];var s=e.renderer[t].apply(n,a);return!1===s&&(s=i.apply(n,a)),s}};for(var r in e.renderer)i(r);t.renderer=n}(),e.tokenizer&&function(){var n=me.defaults.tokenizer||new j,i=function(t){var i=n[t];n[t]=function(){for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];var s=e.tokenizer[t].apply(n,a);return!1===s&&(s=i.apply(n,a)),s}};for(var r in e.tokenizer)i(r);t.tokenizer=n}(),e.walkTokens){var n=me.defaults.walkTokens;t.walkTokens=function(t){e.walkTokens(t),n&&n(t)}}me.setOptions(t)},me.walkTokens=function(e,t){for(var n,i=r(e);!(n=i()).done;){var a=n.value;switch(t(a),a.type){case"table":for(var o,s=r(a.tokens.header);!(o=s()).done;){var l=o.value;me.walkTokens(l,t)}for(var c,d=r(a.tokens.cells);!(c=d()).done;)for(var u,p=r(c.value);!(u=p()).done;){var f=u.value;me.walkTokens(f,t)}break;case"list":me.walkTokens(a.items,t);break;default:a.tokens&&me.walkTokens(a.tokens,t)}}},me.parseInline=function(e,t){if(null==e)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");t=ce({},me.defaults,t||{}),de(t);try{var n=Q.lexInline(e,t);return t.walkTokens&&me.walkTokens(n,t.walkTokens),le.parseInline(n,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+ue(e.message+"",!0)+"</pre>";throw e}},me.Parser=le,me.parser=le.parse,me.Renderer=ie,me.TextRenderer=re,me.Lexer=Q,me.lexer=Q.lex,me.Tokenizer=j,me.Slugger=ae,me.parse=me,me}()},382:function(e,t,n){"use strict";n.r(t),t.default='<svg aria-hidden="true" style="position: absolute; width: 0px; height: 0px; overflow: hidden;" id="be-category-icons"><symbol id="header-icon-live" viewBox="0 0 1024 1024"><path d="M392.448 275.911a92.416 92.416 0 1 1-184.832 0 92.416 92.416 0 0 1 184.832 0" fill="#23ADE5"></path><path d="m826.624 464.583-63.744 36.864v-48.64a72.206 72.206 0 0 0-71.68-71.936H190.72a72.192 72.192 0 0 0-71.936 71.936v295.424a71.936 71.936 0 0 0 71.936 71.936H691.2a71.936 71.936 0 0 0 71.936-71.936v-23.808l63.488 37.888a51.2 51.2 0 0 0 76.8-44.544V508.871a51.2 51.2 0 0 0-76.8-44.288m-253.696-95.232c79.46.142 143.986-64.156 144.128-143.616.142-79.46-64.156-143.986-143.616-144.128-79.26-.142-143.701 63.858-144.128 143.104-.427 79.46 63.644 144.213 143.104 144.64h.512" fill="#48CFE5"></path><path d="m425.216 512.967 124.16 71.936a25.6 25.6 0 0 1 0 42.496l-124.16 71.68a25.6 25.6 0 0 1-37.12-21.248v-143.36a25.6 25.6 0 0 1 37.12-21.504" fill="#FDDE80"></path></symbol><symbol id="header-icon-anime" viewBox="0 0 1024 1024"><path d="m588.8 359.68-12.032-7.424L727.04 145.664a30.976 30.976 0 0 0-51.2-36.352l-153.6 210.176L281.6 170.24a30.976 30.976 0 1 0-33.024 52.736L486.4 369.92l-22.784 31.488a30.976 30.976 0 1 0 51.2 36.352l25.6-35.072 16.128 9.728A30.976 30.976 0 1 0 588.8 359.68zM710.4 850.688a53.248 53.248 0 1 0 106.496 0 53.248 53.248 0 1 0-106.496 0ZM261.12 797.44a53.248 53.248 0 1 0 53.504 53.248 53.248 53.248 0 0 0-53.504-53.248z" fill="#FB813A"></path><path d="M234.24 314.368h556.288q92.928 0 92.928 92.928V768q0 92.928-92.928 92.928H234.24q-92.928 0-92.928-92.928V407.296q0-92.928 92.928-92.928Z" fill="#FDDE80"></path><path d="M392.192 575.232a128.256 128.256 0 1 0 256.512 0 128.256 128.256 0 1 0-256.512 0Z" fill="#FFF"></path><path d="M476.928 546.56c0-26.88 19.2-37.632 42.24-25.6l49.664 28.672a25.6 25.6 0 0 1 0 48.64l-49.664 28.672c-23.04 13.568-42.24 2.56-42.24-24.32z" fill="#FB813A"></path></symbol><symbol id="header-icon-movie" viewBox="0 0 1024 1024"><path d="M954.624 452.864H919.04v-168.96a37.376 37.376 0 0 0-25.6-36.608 36.608 36.608 0 0 0-46.592 34.304v170.24H199.936V282.88a37.632 37.632 0 0 0-25.6-36.608A36.352 36.352 0 0 0 128 281.6v170.24H92.16a15.616 15.616 0 0 0-15.36 15.872V550.4a15.36 15.36 0 0 0 15.36 15.616h26.88v85.248a135.68 135.68 0 0 0 134.4 136.192h114.432a135.68 135.68 0 0 0 134.4-136.192v-20.992a7.936 7.936 0 0 1 7.68-7.936h25.6a7.68 7.68 0 0 1 7.68 7.936v20.992a135.936 135.936 0 0 0 134.4 136.192H793.6A135.68 135.68 0 0 0 928 651.264v-85.248h25.6a15.36 15.36 0 0 0 15.36-15.616v-81.664a15.616 15.616 0 0 0-15.36-15.872" fill="#E5E6E6"></path><path d="M361.216 727.552h-102.4A87.296 87.296 0 0 1 172.8 640v-79.872a61.184 61.184 0 0 1 60.416-61.44h153.6a61.184 61.184 0 0 1 60.416 61.44V640a87.296 87.296 0 0 1-86.528 87.552" fill="#FF5C7A"></path><path d="M685.568 727.552h102.4A87.296 87.296 0 0 0 873.984 640v-79.872a61.184 61.184 0 0 0-60.416-61.44h-153.6a61.184 61.184 0 0 0-60.416 61.44V640a87.296 87.296 0 0 0 86.528 87.552" fill="#2CBAE5"></path></symbol><symbol id="header-icon-guochuang" viewBox="0 0 1024 1024"><path d="M873.472 321.792c-46.08-46.592-102.4-73.472-161.536-40.192a177.152 177.152 0 0 0-51.2-161.536s-83.456 107.52-15.104 219.648c-12.288 13.568-24.32 27.136-36.352 39.424-26.88 27.136 14.592 69.12 41.216 41.984l68.608-69.632c40.704-40.96 76.8-23.808 112.896 12.288 26.624 26.88 68.096-15.104 41.472-41.984z" fill="#58D598"></path><path d="M705.024 344.576a189.696 189.696 0 0 0-270.848 0 195.072 195.072 0 0 0-41.216 62.464 249.088 249.088 0 0 0-177.664 74.496 256 256 0 0 0 0 359.68 248.576 248.576 0 0 0 354.816 0 256 256 0 0 0 73.472-179.2 190.976 190.976 0 0 0 61.44-41.728 195.84 195.84 0 0 0 0-275.712z" fill="#FF5C7A"></path><path d="M514.304 808.704a187.136 187.136 0 0 1-267.264-5.12 193.536 193.536 0 0 1 5.12-271.104s-45.056 120.832 43.776 214.272a210.176 210.176 0 0 0 218.368 61.952" fill="#F14767"></path></symbol><symbol id="header-icon-tv" viewBox="0 0 1024 1024"><path d="M271.616 247.808a212.224 212.224 0 0 0-49.664 172.8l25.6 126.72c56.832 21.76 60.16 87.552 67.328 149.248a1167.872 1167.872 0 0 1 190.208-14.08 1247.488 1247.488 0 0 1 196.096 14.08c7.68-61.696 4.352-126.72 59.904-148.736l25.6-128a211.712 211.712 0 0 0-49.92-172.288 218.624 218.624 0 0 0-165.12-74.752H436.736a218.624 218.624 0 0 0-165.12 74.752" fill="#FFB161"></path><path d="m505.088 412.672-34.816-34.56a19.456 19.456 0 0 0-27.392 27.392l25.6 25.6-25.6 25.6a19.456 19.456 0 0 0 27.392 27.392l34.816-34.56 35.072 34.56a18.688 18.688 0 0 0 13.568 5.632 19.456 19.456 0 0 0 13.824-33.024l-25.6-25.6 25.6-25.6a19.456 19.456 0 0 0-13.824-33.024 18.688 18.688 0 0 0-13.568 5.632z" fill="#FFE494"></path><path d="M822.016 482.56a130.816 130.816 0 0 0-133.888 128v68.864L320 680.96v-69.376a130.304 130.304 0 0 0-120.32-128h-13.568A81.92 81.92 0 0 0 102.4 563.2a76.8 76.8 0 0 0 0 13.312 79.104 79.104 0 0 0 38.912 54.784l8.96 4.352h2.304a25.6 25.6 0 0 1 15.36 22.016v63.744a112.384 112.384 0 0 0 80.896 105.472 51.2 51.2 0 0 0 98.816 5.888h313.088a51.2 51.2 0 0 0 98.816-5.888 112.384 112.384 0 0 0 79.104-105.472v-70.656a25.6 25.6 0 0 1 8.192-11.52h1.536l4.608-2.816a80.384 80.384 0 0 0 51.2-61.44v-12.032a81.92 81.92 0 0 0-83.712-79.616" fill="#FB952C"></path></symbol><symbol id="header-icon-zongyi" viewBox="0 0 1024 1024"><path d="M25.115 625.015c127-67.634 201.653-43.033 188.69 73.103l-.724 5.894c-13.961 104.648 52.674 162.367 81.945 128.3l1.698-2.123a24.976 24.976 0 1 1 40.211 29.646c-28.747 39.012-82.12 39.936-122.33 6.444-39.312-32.768-59.442-90.661-51.95-161.018l1.449-12.088.8-7.992c3.695-46.13-12.14-59.967-61.416-41.76l-8.517 3.347-9.166 3.922-9.79 4.495-10.49 5.145-11.114 5.695-5.844 3.072a24.976 24.976 0 1 1-23.477-44.082z" fill="#EC0000"></path><path d="m419.355 437.872 237.268 148.256-217.887 254.8a79.922 79.922 0 0 1-103.1 15.835l-18.806-11.738a79.922 79.922 0 0 1-30.97-99.628l133.52-307.525z" fill="#FF5C00"></path><path d="M385.488 416.718 690.49 607.282l-92.335 72.38c-29.621 20.454-77.899 9.74-144.859-32.094-66.984-41.86-97.78-80.572-92.384-116.137l24.576-114.713z" fill="#EC0000"></path><path d="M432.167 681.484a26.524 26.524 0 0 1 6.569 39.187l-19.107 23.577a22.828 22.828 0 0 1-38.412-23.976l12.862-27.499a26.524 26.524 0 0 1 38.088-11.289z" fill="#FFD3A5"></path><path d="M391.831 255.75c-76.025 121.631-39.036 281.9 82.62 357.9 121.656 76.026 281.924 39.038 357.925-82.619 76.026-121.63 39.037-281.9-82.62-357.9-121.655-76.026-281.899-39.037-357.925 82.62z" fill="#FF962A"></path><path d="m749.757 173.106 5.145 3.322a258.997 258.997 0 0 1 112.165 167.336 77.55 77.55 0 0 1-11.413 36.89c-35.066 56.17-139.364 54.271-232.973-4.222-93.584-58.443-140.987-151.377-105.897-207.547 6.894-11.04 16.484-19.856 28.148-26.4a259.047 259.047 0 0 1 204.8 30.621z" fill="#FFB468"></path><path d="M842.317 513.698a264.242 264.242 0 0 1-9.94 17.333c-76.026 121.657-236.27 158.645-357.901 82.645-121.681-76.026-158.67-236.27-82.67-357.926a278.773 278.773 0 0 1 11.24-16.559c-62.44 119.159-23.353 268.139 92.584 340.593 114.713 71.68 263.718 42.883 344.09-62.614l2.597-3.497z" fill="#FF6B18"></path><path d="M380.168 236.694c-49.702 79.522 16.234 210.394 147.231 292.24 131.022 81.87 277.53 83.743 327.23 4.22 16.434-26.299 20.23-58.193 13.188-92.11 13.986 45.955 11.189 90.787-12.138 128.125-58.468 93.559-219.686 98.33-360.049 10.615-140.363-87.715-206.748-234.696-148.28-328.28 23.477-37.588 62.889-59.816 110.717-67.309-33.967 8.492-61.315 25.975-77.9 52.499z" fill="#FFB468"></path><path d="m458.017 184.22 2.298-1.798c-26.824 21.054-43.833 37.338-51.05 48.877-43.858 70.182 17.657 187.742 139.313 263.743 121.657 76.025 253.952 79.572 297.81 9.39 7.742-12.388 14.86-33.642 21.354-63.787 7.143 34.041 3.396 66.085-13.112 92.51-49.702 79.522-196.209 77.673-327.23-4.222-131.023-81.845-196.934-212.717-147.232-292.24 16.584-26.523 43.932-44.006 77.849-52.473z" fill="#FFD3A5"></path></symbol><symbol id="header-icon-documentary" viewBox="0 0 1024 1024"><path d="M404.9 386.765c-70.897-2.565-143.347 12.06-196.65 38.182-48.848 23.963-117.63 89.46-121.928 135.563h735.323c-3.217 0-12.015-9.428-14.738-11.52-5.017-3.825-9.742-7.808-14.76-11.543-11.902-8.91-24.66-16.897-37.147-24.975a1040.175 1040.175 0 0 0-77.063-45.585c-52.47-27.945-107.865-50.805-165.69-65.002a533.88 533.88 0 0 0-107.347-15.12" fill="#47CFE5"></path><path d="M744.605 489.163c-12.713 32.31-136.71 36.765-181.395 36.765H137.802c-15.232 0-29.767 5.197-39.757 14.265-9.9 8.977-14.107 20.767-11.7 32.355 0 .112 0 .27.09.337 9.293 43.672 35.73 83.34 76.365 114.683 1.62 1.26 3.263 2.52 4.928 3.735 106.74 78.457 292.522 81.157 423.45 43.875 41.445-11.79 80.865-28.17 115.177-49.635 38.992-24.39 78.795-57.308 102.308-91.733 3.465-5.062 41.22-61.177 41.962-60.885l-106.02-43.762z" fill="#47CFE5"></path><path d="m918.058 505.317-29.88-17.077a75.082 75.082 0 0 0-70.11-2.138 75.375 75.375 0 0 0-37.418-59.354l-29.925-17.078a11.453 11.453 0 0 0-15.66 4.275l-7.83 13.703a59.063 59.063 0 0 0 21.96 80.572l15.795 9.045a.045.045 0 0 1-.045.045l51.48 29.43.045-.045 17.46 9.99a59.085 59.085 0 0 0 80.573-21.938l7.83-13.725a11.543 11.543 0 0 0-4.275-15.705" fill="#2BBAE4"></path><path d="M654.515 712.497C351.327 720.867 266.3 564.425 266.3 564.425H85.782a31.995 31.995 0 0 0 .63 8.46c9.293 43.672 35.73 83.34 76.365 114.683 1.62 1.282 3.263 2.52 4.928 3.735 106.717 78.457 292.5 81.18 423.428 43.875a509.692 509.692 0 0 0 63.382-22.68" fill="#E5E6E6"></path><path d="M654.515 712.497c-65.16 1.8-120.15-4.41-166.567-14.242-49.005-10.373-26.168 59.31-3.218 56.79 37.485-4.072 73.665-10.598 106.403-19.913a502.358 502.358 0 0 0 63.382-22.635" fill="#E4E5E4"></path><path d="M407.127 674.923c21.578 69.84 69.705 117.652 116.775 113.647 3.735-.338 6.233-4.072 5.513-7.74L504.98 655.212a5.715 5.715 0 0 0-6.682-4.5l-86.715 16.898a5.782 5.782 0 0 0-4.455 7.313" fill="#47CFE5"></path><path d="M441.238 614.712a29.295 29.295 0 1 1-58.613.023 29.295 29.295 0 0 1 58.612-.022" fill="#0099BC"></path><path d="M252.597 310.467a64.282 64.282 0 0 1 64.305-64.102c18.81 0 35.73 8.122 47.52 21.127a64.17 64.17 0 0 1 111.713 42.975 16.56 16.56 0 0 1-16.582 16.583 16.56 16.56 0 0 1-16.605-16.583 31.05 31.05 0 0 0-61.988-2.16h-.18l.113 77.468a16.582 16.582 0 1 1-33.188 0v-75.397c0-17.033-13.928-30.938-30.96-30.938a31.05 31.05 0 0 0-31.027 31.027 16.56 16.56 0 1 1-33.12 0" fill="#47CFE5"></path><path d="M364.332 408.027a22.253 22.253 0 0 1-22.207-22.23V310.4a25.358 25.358 0 1 0-50.715.09 22.23 22.23 0 0 1-44.415 0c0-38.453 31.365-69.75 69.907-69.75a69.75 69.75 0 0 1 47.52 18.765 70.2 70.2 0 0 1 47.61-18.765c38.453 0 69.75 31.297 69.75 69.75a22.23 22.23 0 0 1-44.437 0 25.425 25.425 0 0 0-50.738-1.778l-.157 2.385.09 74.7a22.253 22.253 0 0 1-22.208 22.23zm-47.542-134.19c20.16 0 36.562 16.403 36.562 36.563v75.42a10.98 10.98 0 1 0 21.915 0l-.09-83.093h.923a36.742 36.742 0 0 1 35.82-28.867c20.205 0 36.653 16.447 36.653 36.652a10.98 10.98 0 0 0 21.937 0c0-32.265-26.235-58.5-58.5-58.5-16.448 0-32.288 7.02-43.447 19.305l-4.163 4.545-4.162-4.612a58.635 58.635 0 0 0-43.336-19.283 58.635 58.635 0 0 0-58.657 58.5 10.957 10.957 0 0 0 21.915 0 36.675 36.675 0 0 1 36.63-36.63z" fill="#47CFE5"></path><path d="M389.87 621.283h-66.33a47.79 47.79 0 0 1-35.032-15.593l-23.715-25.695a28.575 28.575 0 0 0-20.88-9.293H91.048a6.525 6.525 0 1 1 0-13.095h152.887c11.453 0 22.567 4.928 30.488 13.523l23.715 25.718c6.66 7.2 15.93 11.34 25.425 11.34h66.33a6.525 6.525 0 1 1-.023 13.095" fill="#0099BC"></path></symbol><symbol id="header-icon-douga" viewBox="0 0 1024 1024"><path d="M273.408 166.912h477.696c58.368 0 105.984 47.616 105.984 105.984v477.696c0 58.368-47.616 105.984-105.984 105.984H273.408c-58.368 0-105.984-47.616-105.984-105.984V273.408c-.512-58.368 47.616-106.496 105.984-106.496z" fill="#7B78EB"></path><path d="M512 525.312v98.816c33.28-14.848 72.704.512 87.552 33.792 14.848 33.28-.512 72.704-33.792 87.552-16.896 7.68-35.84 7.68-53.248 0v111.616H273.408c-58.368 0-105.984-47.616-105.984-105.984V512H304.64c-21.504 19.456-24.064 53.248-4.608 74.752 19.456 21.504 53.248 24.064 74.752 4.608 21.504-18.944 24.064-53.248 4.608-74.752L374.784 512H512v-40.96c-4.096.512-9.216.512-13.312 0-51.2 0-86.016-47.616-86.016-105.984s20.992-108.032 86.016-108.032H512v-90.112h238.592c58.368 0 105.984 47.616 105.984 105.984V524.8H735.744c20.992-23.552 19.456-59.392-3.584-80.896-23.552-20.992-59.392-19.456-80.896 3.584-19.968 21.504-19.968 55.296 0 76.8H512z" fill="#9796ED"></path><path d="M512 525.312v98.816l13.312-4.096c35.84-7.68 72.704 15.872 79.872 52.224 7.68 35.84-18.432 72.192-54.272 78.848-4.096 1.024-8.704 1.024-13.312 1.024-9.216 0-16.384-3.072-25.088-6.144V857.6h-14.336V724.992l18.432 8.192c27.136 11.776 58.368-.512 70.144-27.648 11.776-27.136-.512-58.368-27.648-70.144-13.312-5.632-28.672-5.632-42.496 0l-18.432 8.192v-117.76h-98.304c14.848 33.28-.512 72.704-33.792 87.552-33.28 14.848-72.704-.512-87.552-33.792-7.68-16.896-7.68-35.84 0-53.248H166.912V512h137.216c-21.504 19.456-24.064 53.248-4.608 74.752 19.456 21.504 53.248 24.064 74.752 4.608 21.504-19.456 24.064-53.248 4.608-74.752L374.272 512H512v-39.936h-13.312c-51.2 0-86.016-47.104-86.016-105.984s20.992-109.568 86.016-109.568H512v-89.6h13.312v105.984h-26.624c-49.664 0-73.216 33.28-73.216 94.208 0 53.248 30.72 92.672 73.216 92.672 3.584.512 7.68.512 11.264 0l15.36-2.048V512h102.912c-13.824-35.84 4.096-76.8 40.448-90.624 35.84-13.824 76.8 4.096 90.624 40.448 6.144 15.872 6.144 33.792 0 50.176h97.792v13.312H736.256c20.992-23.552 19.456-59.392-3.584-80.896-23.552-20.992-59.392-19.456-80.896 3.584-19.968 21.504-19.968 55.296 0 76.8H512z" fill="#6A68C6"></path><path d="M444.928 693.248c-23.04 13.312-52.224 5.12-65.024-17.408-4.096-7.68-6.144-15.36-6.144-24.064V392.192c0-26.624 20.992-47.616 47.616-47.616 8.704 0 16.896 2.048 24.576 6.656L667.648 483.84c23.04 13.312 30.208 42.496 16.896 65.024-4.096 6.656-10.24 12.8-16.896 16.896" fill="#FDDE80"></path></symbol><symbol id="header-icon-game" viewBox="0 0 1024 1024"><path d="M256.512 166.144h510.976q90.112 0 90.112 90.112v510.976q0 90.112-90.112 90.112H256.512q-90.112 0-90.112-90.112V256.256q0-90.112 90.112-90.112Z" fill="#58D598"></path><path d="M307.2 325.632h136.448V462.08H307.2zm272.896 0h136.448V462.08H580.096zM443.648 462.336v75.776h-64.256v204.544h59.392V674.56h146.432v68.096h59.136V538.112h-64.256v-75.776H443.648z" fill="#17AD8A"></path></symbol><symbol id="header-icon-kichiku" viewBox="0 0 1024 1024"><path d="M918.784 510.208a187.904 187.904 0 0 0-88.832-159.488 156.416 156.416 0 0 0 1.792-22.016A150.784 150.784 0 0 0 620.8 190.208a151.04 151.04 0 0 0-216.32 0 150.784 150.784 0 0 0-210.944 138.496 156.416 156.416 0 0 0 1.792 22.016 187.648 187.648 0 0 0-13.824 309.504v1.536a215.296 215.296 0 0 0 332.8 179.2 215.04 215.04 0 0 0 332.8-179.2v-2.56a187.904 187.904 0 0 0 71.68-148.992z" fill="#FC6B8A"></path><path d="M680.704 479.744A150.528 150.528 0 0 1 572.672 435.2a150.016 150.016 0 0 1-120.064 0 150.528 150.528 0 0 1-108.032 45.824h-11.264v167.168A166.4 166.4 0 0 0 499.2 814.08h33.536a166.4 166.4 0 0 0 165.888-165.888V478.464a137.216 137.216 0 0 1-17.92 1.28z" fill="#FFF"></path><path d="M476.928 651.264a33.536 33.536 0 1 0 67.072 0 33.536 33.536 0 1 0-67.072 0Z" fill="#E2006C"></path><path d="M635.904 554.496H614.4v-21.504a12.032 12.032 0 0 0-11.776-11.776h-4.864a12.032 12.032 0 0 0-11.776 11.776v21.504h-21.248a11.776 11.776 0 0 0-11.776 11.52v5.12a11.776 11.776 0 0 0 11.776 11.52h21.248v21.504a12.032 12.032 0 0 0 11.776 11.776h4.864A12.032 12.032 0 0 0 614.4 604.16v-21.504h21.248a11.776 11.776 0 0 0 11.776-11.52v-5.12a11.776 11.776 0 0 0-11.52-11.52zm-179.968 0H435.2v-21.504a12.032 12.032 0 0 0-11.776-11.776h-4.864a12.032 12.032 0 0 0-11.776 11.776v21.504H384a11.776 11.776 0 0 0-11.776 11.52v5.12A11.776 11.776 0 0 0 384 582.656h21.248v21.504a12.032 12.032 0 0 0 11.776 11.776h4.864A12.032 12.032 0 0 0 435.2 604.16v-21.504h21.248a11.52 11.52 0 0 0 11.776-11.52v-5.12a11.52 11.52 0 0 0-12.288-11.52z" fill="#FF5C7A"></path><path d="M600.32 651.008a12.288 12.288 0 0 0-12.288 12.544c0 34.048-34.816 61.696-76.8 61.696s-76.8-27.648-76.8-61.696a12.544 12.544 0 1 0-25.6 0c0 47.616 45.824 86.528 102.4 86.528s102.4-38.912 102.4-86.528a12.544 12.544 0 0 0-13.312-12.544z" fill="#EB53A8"></path></symbol><symbol id="header-icon-music" viewBox="0 0 1024 1024"><path d="M881.92 460.8a335.36 335.36 0 0 0-334.336-335.104h-73.216A335.616 335.616 0 0 0 139.776 460.8v313.6a18.688 18.688 0 0 0 18.432 18.688h41.984c13.568 46.336 37.888 80.384 88.576 80.384h98.304a37.376 37.376 0 0 0 37.376-36.864l1.28-284.672a36.864 36.864 0 0 0-37.12-37.12h-99.84a111.616 111.616 0 0 0-51.2 12.8V454.4a242.432 242.432 0 0 1 241.664-241.664h67.328A242.176 242.176 0 0 1 787.968 454.4v74.496a110.592 110.592 0 0 0-54.272-14.08h-99.84a36.864 36.864 0 0 0-37.12 37.12v284.672a37.376 37.376 0 0 0 37.376 36.864h98.304c51.2 0 75.008-34.048 88.576-80.384h41.984a18.688 18.688 0 0 0 18.432-18.688z" fill="#45C7DD"></path><path d="m646.1859999999999 792.7090000000001.274-196.096q.046-32.512 32.558-32.466l1.024.001q32.512.045 32.466 32.557l-.274 196.096q-.045 32.512-32.557 32.467l-1.024-.002q-32.512-.045-32.467-32.557ZM307.26800000000003 792.7349999999999l.274-196.096q.045-32.512 32.557-32.467l1.024.002q32.512.045 32.467 32.557l-.274 196.096q-.045 32.512-32.557 32.466l-1.024-.001q-32.512-.045-32.467-32.557Z" fill="#FF5C7A"></path></symbol><symbol id="header-icon-dance" viewBox="0 0 1024 1024"><path d="M956.672 513.792a476.416 476.416 0 0 0-890.368 0L512 727.296l-95.232 45.568a117.76 117.76 0 0 0 192.256 0L512 727.04z" fill="#FC6B8A"></path><path d="m512 727.296 208.64-99.84a222.976 222.976 0 0 0-416.768 0z" fill="#FFF"></path><path d="m405.453 751.54 541.184-258.586 14.029 29.312-541.184 258.61z" fill="#FF5C7A"></path><path d="m666.624 545.792-18.688-15.36-112.64 135.424L575.488 492.8l-23.552-5.632-40.192 172.544-40.448-172.544-23.808 5.632 40.704 173.056-112.896-135.424-18.688 15.36 111.616 134.144-391.68-186.88L62.72 522.24 603.904 780.8l14.08-29.44-87.552-41.728 136.192-163.84z" fill="#F14767"></path></symbol><symbol id="header-icon-cinephile" viewBox="0 0 1024 1024"><path d="M226.816 201.728h571.136q79.616 0 79.616 79.616v458.24q0 79.616-79.616 79.616H226.816q-79.616 0-79.616-79.616v-458.24q0-79.616 79.616-79.616Z" fill="#9796ED"></path><path d="M222.976 269.312h77.056v57.856h-77.056zm167.168 0H467.2v57.856h-77.056zm167.168 0h77.056v57.856h-77.056zm167.168 0h77.056v57.856H724.48zM222.976 693.76h77.056v57.856h-77.056zm167.168 0H467.2v57.856h-77.056zm167.168 0h77.056v57.856h-77.056zM147.2 375.296h730.368v270.08H147.2z" fill="#7B78EA"></path><path d="m544.721 506.356 2.535-2.535q23.351-23.351 46.703 0l199.664 199.665q23.351 23.351 0 46.703l-2.534 2.534q-23.352 23.351-46.703 0L544.72 553.059q-23.351-23.352 0-46.703Z" fill="#FFD043"></path><path d="M708.352 418.816h-25.6v-24.32a13.568 13.568 0 0 0-13.568-13.568H665.6a13.312 13.312 0 0 0-13.312 13.568v24.32h-25.6a13.568 13.568 0 0 0-13.568 13.568v5.632a13.568 13.568 0 0 0 13.568 13.568h25.6v24.32a13.312 13.312 0 0 0 13.312 13.568h5.632a13.568 13.568 0 0 0 13.568-13.568v-24.32h25.6a13.312 13.312 0 0 0 13.312-13.568v-5.632a13.312 13.312 0 0 0-15.36-13.568zm-190.464 0h-25.6v-24.32a13.312 13.312 0 0 0-13.312-13.568h-5.632a13.568 13.568 0 0 0-13.568 13.568v24.32H435.2a13.312 13.312 0 0 0-13.312 13.568v5.632a13.312 13.312 0 0 0 13.312 13.568h25.6v24.32a13.568 13.568 0 0 0 13.568 13.568H480a13.312 13.312 0 0 0 13.312-13.568v-24.32h25.6a13.312 13.312 0 0 0 13.312-13.568v-5.632a13.312 13.312 0 0 0-14.336-13.568zm-24.32 153.344h-18.432v-18.432a10.24 10.24 0 0 0-10.24-10.24H460.8a10.24 10.24 0 0 0-10.24 10.24v18.432h-18.432a10.24 10.24 0 0 0-10.24 10.24v4.352a10.24 10.24 0 0 0 10.24 10.24h18.432V614.4a10.24 10.24 0 0 0 10.24 10.24h4.352a10.24 10.24 0 0 0 10.24-10.24v-18.432h18.432a10.24 10.24 0 0 0 10.24-10.24v-4.352a10.24 10.24 0 0 0-10.496-9.216z" fill="#FFD778"></path></symbol><symbol id="header-icon-ent" viewBox="0 0 1024 1024"><path d="m570.647 415.186 30.592 30.592q36.204 36.204 0 72.408l-360.59 360.59q-36.204 36.204-72.408 0l-30.593-30.592q-36.203-36.204 0-72.407l360.59-360.591q36.205-36.204 72.409 0Z" fill="#FF8693"></path><path d="m369.92 543.744 137.472-137.472a38.912 38.912 0 0 1 54.528 0l48.384 48.64a38.4 38.4 0 0 1 0 54.528L472.32 647.424z" fill="#FC6376"></path><path d="m298.989 643.872 72.601 72.576q12.855 12.85.004 25.705l-1.628 1.63q-12.85 12.854-25.705.004l-72.602-72.576q-12.854-12.85-.004-25.705l1.629-1.63q12.85-12.854 25.705-.004Z" fill="#FFA9B1"></path><path d="M737.024 547.584a99.328 99.328 0 0 1 62.72-62.72l51.2-13.568A27.136 27.136 0 0 0 864 421.632L826.624 384a98.816 98.816 0 0 1-22.784-85.76l16.896-63.232c7.168-27.136-8.96-43.52-36.096-36.096l-63.232 16.896a98.816 98.816 0 0 1-85.76-23.04l-37.376-36.864a27.136 27.136 0 0 0-49.408 13.312l-13.824 51.2a97.792 97.792 0 0 1-62.464 62.72l-51.2 13.824a27.136 27.136 0 0 0-13.312 49.408L445.44 384a97.536 97.536 0 0 1 23.04 85.504l-16.896 63.232c-7.424 27.392 8.96 43.52 36.096 36.352l63.232-16.896a97.792 97.792 0 0 1 85.76 22.784l37.376 37.376a26.88 26.88 0 0 0 49.408-13.312z" fill="#FDDE80"></path><path d="m886.272 417.536-74.752-75.008 30.464-114.432a41.216 41.216 0 0 0-8.704-41.472 41.728 41.728 0 0 0-41.472-7.424l-114.432 30.72-74.752-76.032a41.728 41.728 0 0 0-39.424-13.312 41.216 41.216 0 0 0-28.416 31.488l-27.392 102.4L404.48 281.6a42.24 42.24 0 0 0-31.744 28.16 42.24 42.24 0 0 0 13.312 40.448l74.752 75.008-30.72 114.432a41.728 41.728 0 0 0 8.96 41.472 37.888 37.888 0 0 0 27.392 10.752 56.832 56.832 0 0 0 14.08-2.048l114.432-30.72 74.752 75.008a45.824 45.824 0 0 0 31.232 14.336 34.304 34.304 0 0 0 8.96 0 41.216 41.216 0 0 0 28.416-31.488l27.392-102.4 102.4-27.392a41.984 41.984 0 0 0 31.488-28.416 40.96 40.96 0 0 0-13.312-41.216zm-84.736-203.52h5.12a16.896 16.896 0 0 1 0 5.12l-25.6 93.696-72.96-73.728zm-32 139.776-34.56 128-128 34.56-102.4-102.4 34.56-128 128-34.56zm-199.424-192c0-2.56 1.792-4.096 1.792-4.608a9.984 9.984 0 0 1 4.096 3.072l59.648 59.648-87.296 23.296zM412.416 323.84 409.6 320a12.8 12.8 0 0 1 4.864-2.048l81.152-21.76L472.064 384zm58.368 230.4a18.944 18.944 0 0 1-5.12 0 17.92 17.92 0 0 1 0-5.12l25.6-93.696L563.2 528.64zm230.4 51.2c0 2.816-1.536 4.096-1.536 4.864a20.992 20.992 0 0 1-4.352-3.328l-59.392-59.392 87.296-23.552zm156.16-156.16-81.152 21.76L799.488 384l59.392 59.392a40.96 40.96 0 0 1 3.328 3.84 12.8 12.8 0 0 1-4.096 2.56z" fill="#FCC029"></path></symbol><symbol id="header-icon-knowledge" viewBox="0 0 1024 1024"><path d="M492.27 147.73A255.343 255.343 0 0 1 627.2 620.261v51.2a37.547 37.547 0 0 1-25.6 34.134H379.733a44.655 44.655 0 0 1-25.6-34.134v-51.2A256.649 256.649 0 0 1 492.271 147.73z" fill="#FFA200"></path><path d="M550.4 534.93v-76.8h51.2c46.61 0 51.2-26.787 51.2-42.668v-128c0-23.116-17.203-42.666-51.2-42.666H388.267c-42.104 0-59.734 21.111-59.734 42.666v76.8h102.4v-68.266H550.4v119.466h-51.2c-60.501-.563-76.8 24.406-76.8 42.667v76.8h128zm-62.669 24.532a59.733 59.733 0 1 1-59.733 59.734 59.733 59.733 0 0 1 59.733-59.734z" fill="#FFF0D3"></path><path d="M354.133 739.738H627.2v8.533a128 128 0 0 1-128 128h-17.067a128 128 0 0 1-128-128v-8.533z" fill="#5FB5EC"></path><path d="M746.667 210.662h119.466a17.067 17.067 0 0 1 0 34.134H746.667a17.067 17.067 0 0 1 0-34.134zM806.4 150.93a17.067 17.067 0 0 1 17.067 17.067v119.466a17.067 17.067 0 0 1-34.134 0V167.996a17.067 17.067 0 0 1 17.067-17.067zM157.867 662.93h119.466a17.067 17.067 0 0 1 0 34.132H157.867a17.067 17.067 0 0 1 0-34.133zm59.733-59.734a17.067 17.067 0 0 1 17.067 17.066V739.73a17.067 17.067 0 0 1-34.134 0V620.262a17.067 17.067 0 0 1 17.067-17.066z" fill="#FFE074"></path><path d="M200.533 662.938h34.134v34.133h-34.134zM789.333 210.67h34.134v34.134h-34.134z" fill="#FFE074"></path></symbol><symbol id="header-icon-tech" viewBox="0 0 1024 1024"><path d="M510.208 683.264H396.032l-50.688 209.408h329.472l-50.688-209.408h-113.92z" fill="#FFD778"></path><path d="M535.552 150.528v-28.16a25.6 25.6 0 1 0-51.2 0v28.16A271.872 271.872 0 0 0 239.36 420.096v97.28a25.6 25.6 0 0 0 26.88 26.88h487.936a25.6 25.6 0 0 0 25.6-26.88v-97.28a271.616 271.616 0 0 0-244.224-269.568z" fill="#48CFE5"></path><path d="M228.864 464.64h562.432q103.168 0 103.168 103.168v15.36q0 103.168-103.168 103.168H228.864q-103.168 0-103.168-103.168v-15.36q0-103.168 103.168-103.168Z" fill="#2CBAE5"></path><path d="M742.4 537.6a37.632 37.632 0 1 0 37.632 37.632A37.376 37.376 0 0 0 742.4 537.6zm-465.664 0a37.632 37.632 0 1 0 37.632 37.632 37.632 37.632 0 0 0-37.632-37.632z" fill="#FFD778"></path></symbol><symbol id="header-icon-information" viewBox="0 0 1024 1024"><path d="M760.686 768a21.943 21.943 0 0 0 19.836 21.84l2.107.103a21.943 21.943 0 0 0 21.84-19.836l.102-2.107V321.829h29.258a58.514 58.514 0 0 1 58.514 58.514V819.2a58.514 58.514 0 0 1-58.514 58.514H190.17a58.514 58.514 0 0 1-58.514-58.514V204.8a58.514 58.514 0 0 1 58.514-58.514h512a58.514 58.514 0 0 1 58.515 58.514V768z" fill="#7DD3E0"></path><path d="M248.686 234.057h394.971q29.257 0 29.257 29.257V526.63q0 29.257-29.257 29.257H248.686q-29.257 0-29.257-29.257V263.314q0-29.257 29.257-29.257Z" fill="#3DA9D3"></path><path d="m404.773 300.515 129.462 80.925a15.945 15.945 0 0 1 0 27.063l-129.462 80.925a15.945 15.945 0 0 1-24.43-13.531v-161.85a15.945 15.945 0 0 1 24.43-13.532z" fill="#FFD469"></path><path d="M248.686 614.4h394.971q29.257 0 29.257 29.257t-29.257 29.257H248.686q-29.257 0-29.257-29.257t29.257-29.257ZM248.686 731.429h219.428q29.257 0 29.257 29.257t-29.257 29.257H248.686q-29.257 0-29.257-29.257t29.257-29.257Z" fill="#3DA9D3"></path></symbol><symbol id="header-icon-food" viewBox="0 0 1024 1024"><path d="M116.78099999999999 503.883a75.294 75.294 0 1 0 150.588 0 75.294 75.294 0 1 0-150.588 0ZM267.36899999999997 411.211a75.294 75.294 0 1 0 150.589 0 75.294 75.294 0 1 0-150.589 0Z" fill="#FA942D"></path><path d="M209.453 480.723a75.294 75.294 0 1 0 150.588 0 75.294 75.294 0 1 0-150.588 0Z" fill="#FE5D79"></path><path d="M638.042 532.841a127.428 127.428 0 1 0 254.856 0 127.428 127.428 0 1 0-254.856 0Z" fill="#FA942D"></path><path d="M499.05 457.547a133.21 133.21 0 1 0 266.42 0 133.21 133.21 0 1 0-266.42 0Z" fill="#FA942D"></path><path d="M522.21 556.017a150.588 150.588 0 1 0 301.176 0 150.588 150.588 0 1 0-301.176 0Z" fill="#FE5D79"></path><path d="M932.292 474.925a28.762 28.762 0 0 1 28.747 28.763l-.045 1.355-.09 1.355c-14.306 150.92-130.606 272.866-280.742 299.189l20.179 80.745a23.16 23.16 0 0 1-22.468 28.778H343.37a23.16 23.16 0 0 1-22.467-28.778l20.178-80.745C192.813 779.595 77.552 660.329 60.928 512.015l-.557-5.376a28.958 28.958 0 0 1 28.822-31.714h843.084z" fill="#FDDC7A"></path><path d="M442.549 196.924h136.147c21.263 0 39.8 14.457 44.95 35.087l60.732 242.914H336.866l60.732-242.899a46.336 46.336 0 0 1 44.95-35.102z" fill="#F6C338"></path><path d="M688.038 192.904c9.442-30.178 28.386-29.41 34.68-47.586 7.063-20.45 9.367-45.719 6.927-75.822 16.851 17.936 25.977 37.015 30.946 62.284 4.894 24.937-9.126 44.182-29.063 74.48-19.923 30.314-8.81 67.615 0 94.916-16.851-17.92-59.904-55.777-43.475-108.272zm-404.676-38.656c11.324-37.708 34.063-36.774 41.607-59.483C333.463 69.21 336.233 37.632 333.282 0c20.239 22.408 31.202 46.26 37.165 77.854 5.873 31.172-10.948 55.22-34.876 93.109-23.944 37.873-10.602 84.48 0 118.633-20.24-22.422-71.936-69.722-52.21-135.348z" fill="#C6D2E1"></path><path d="M510.63 706.605a92.672 92.672 0 0 1 92.672 92.672V915.11H417.958V799.277a92.672 92.672 0 0 1 92.672-92.672z" fill="#F5BC20"></path></symbol><symbol id="header-icon-life" viewBox="0 0 1024 1024"><path d="M881.408 664.064V504.32a168.192 168.192 0 0 0-128-162.56l-7.936-1.792v144.896a12.288 12.288 0 0 1-14.592 11.776 170.752 170.752 0 0 0-30.464-2.816H561.664v-27.648a37.632 37.632 0 0 1 11.776-27.648 175.872 175.872 0 0 0 57.856-135.68A179.2 179.2 0 0 0 460.8 132.352 175.872 175.872 0 0 0 279.808 308.48V409.6h32.256a225.536 225.536 0 0 0 15.872 19.2 36.608 36.608 0 0 1 9.472 25.6v42.496A193.792 193.792 0 0 0 179.2 712.96a197.12 197.12 0 0 0 197.12 166.656h325.12a148.48 148.48 0 0 0 45.568-6.144 217.088 217.088 0 0 0 64.256-31.744 176.896 176.896 0 0 0 18.176-15.616l4.608-4.352a156.16 156.16 0 0 0 47.36-111.872v-35.84c.512-3.072.256-6.656 0-9.984z" fill="#FFD778"></path><path d="M468.736 238.592a40.192 40.192 0 1 0 40.192 40.192 40.192 40.192 0 0 0-40.192-40.192zm-145.152 124.16H217.6a34.816 34.816 0 1 0 0 69.376h106.24a34.816 34.816 0 1 0 0-69.376z" fill="#FB813A"></path></symbol><symbol id="header-icon-car" viewBox="0 0 1024 1024"><path d="M210.688 588.8h25.6a51.2 51.2 0 0 1 51.2 45.568l14.08 128A51.2 51.2 0 0 1 256 819.2h-30.976a51.2 51.2 0 0 1-51.2-45.568l-14.08-128A51.2 51.2 0 0 1 204.8 588.8zm577.536 0h25.6a51.2 51.2 0 0 1 51.2 51.2 41.984 41.984 0 0 1 0 5.632l-14.08 128a51.2 51.2 0 0 1-51.2 45.568h-25.6a51.2 51.2 0 0 1-51.2-51.2 41.984 41.984 0 0 1 0-5.632l14.08-128a51.2 51.2 0 0 1 51.2-45.568zm118.272-195.84a38.656 38.656 0 0 1-25.6 48.128l-25.6 7.424a38.4 38.4 0 0 1-22.528-73.472l25.6-7.424a38.144 38.144 0 0 1 48.128 25.344zm-691.2 29.952a38.4 38.4 0 0 1-47.872 25.6l-25.6-7.424a38.656 38.656 0 0 1-25.6-48.128 38.144 38.144 0 0 1 47.872-25.6l25.6 7.424a38.4 38.4 0 0 1 25.6 48.128z" fill="#23ADE5"></path><path d="M292.608 201.216A1109.76 1109.76 0 0 1 512 179.2a1165.568 1165.568 0 0 1 224 22.016 51.2 51.2 0 0 1 38.144 32L870.4 486.4v230.4a25.6 25.6 0 0 1-25.6 25.6H179.2a25.6 25.6 0 0 1-25.6-25.6V486.4L256 232.704a51.2 51.2 0 0 1 36.608-31.488z" fill="#48CFE5"></path><path d="M230.4 512h102.4q25.6 0 25.6 25.6v25.6q0 25.6-25.6 25.6H230.4q-25.6 0-25.6-25.6v-25.6q0-25.6 25.6-25.6ZM691.2 512h102.4q25.6 0 25.6 25.6v25.6q0 25.6-25.6 25.6H691.2q-25.6 0-25.6-25.6v-25.6q0-25.6 25.6-25.6Z" fill="#FFF"></path><path d="M327.68 270.848A1000.96 1000.96 0 0 1 499.712 256a1429.248 1429.248 0 0 1 196.864 15.36 25.6 25.6 0 0 1 20.992 18.176l39.68 134.656a25.6 25.6 0 0 1-17.408 31.744 24.064 24.064 0 0 1-9.472 0q-125.184-12.032-230.4-12.032a1894.4 1894.4 0 0 0-204.8 11.264 25.6 25.6 0 0 1-28.16-22.784 25.6 25.6 0 0 1 0-9.984L307.2 288.768a25.6 25.6 0 0 1 20.48-17.92z" fill="#FDDE80"></path><path d="M614.4 358.4a102.4 102.4 0 0 0-100.864 86.784h51.2a51.2 51.2 0 0 1 99.072 5.12l51.2 4.352A102.4 102.4 0 0 0 614.4 358.4z" fill="#23ADE5"></path></symbol><symbol id="header-icon-fashion" viewBox="0 0 1024 1024"><path d="M691.2 204.8a44.032 44.032 0 0 1 29.952 34.048 117.76 117.76 0 0 1-13.056 76.8s-19.2 29.952-24.32 39.936a235.008 235.008 0 0 0-25.6 107.008v40.704H365.312v-39.424a235.008 235.008 0 0 0-25.6-107.008c-5.12-9.984-24.32-39.936-24.32-39.936a117.76 117.76 0 0 1-13.056-76.8 44.544 44.544 0 0 1 34.56-35.328v-57.088a29.952 29.952 0 0 1 27.136-31.744 29.952 29.952 0 0 1 27.648 31.744v73.728A237.056 237.056 0 0 0 512 253.952a241.408 241.408 0 0 0 125.184-35.072v-71.168a27.136 27.136 0 1 1 53.76 0z" fill="#FF6A9B"></path><path d="M658.432 487.936h-293.12L204.8 780.288a36.352 36.352 0 0 0 10.24 46.592 492.288 492.288 0 0 0 595.456 0 36.608 36.608 0 0 0 8.704-47.36z" fill="#FF9DC6"></path><path d="M409.6 537.6a9.984 9.984 0 0 0-13.568 4.608l-124.16 250.624a10.496 10.496 0 0 0 4.608 13.568 14.848 14.848 0 0 0 4.608 0 9.984 9.984 0 0 0 8.96-5.632l124.16-250.88A10.24 10.24 0 0 0 409.6 537.6zm46.336 105.472a9.984 9.984 0 0 0-12.032 7.424l-40.448 170.752a10.24 10.24 0 0 0 7.424 12.288h2.304a9.728 9.728 0 0 0 9.728-7.936l40.448-170.752a9.984 9.984 0 0 0-7.424-11.776zm294.912 148.736-124.16-250.624A9.984 9.984 0 0 0 614.4 537.6a10.24 10.24 0 0 0-4.608 13.312l124.16 250.88a9.984 9.984 0 0 0 8.96 5.632 14.848 14.848 0 0 0 4.608 0 10.496 10.496 0 0 0 3.328-15.616zM579.84 650.496a9.984 9.984 0 0 0-19.456 4.608l40.448 170.752a9.728 9.728 0 0 0 9.728 7.936h2.304a10.24 10.24 0 0 0 7.424-12.288z" fill="#FF6A9B"></path></symbol><symbol id="header-icon-sports" viewBox="0 0 1024 1024"><path d="m497.894 517.862 23.885 29.261a58.573 58.573 0 0 1-5.606 80.051L241.946 880.742a47.718 47.718 0 0 1-65.613-.768 49.818 49.818 0 0 1-4.301-66.816l108.57-136.37 126.105-158.362a58.573 58.573 0 0 1 91.187-.564z" fill="#1BAD8B"></path><path d="M698.931 153.6a117.146 117.146 0 0 1 11.418 233.728l60.416 45.9c4.352 3.329 10.163 3.918 15.104 1.588l73.625-34.637a46.285 46.285 0 0 1 59.11 17.587 44.34 44.34 0 0 1-11.929 59.316l-125.952 90.265a58.573 58.573 0 0 1-65.945 1.562l-66.048-42.752-44.135 47.77 70.605 83.327a58.012 58.012 0 0 1 4.608 6.196l1.946 3.302a58.573 58.573 0 0 1-22.861 79.616L466.79 852.71a49.382 49.382 0 0 1-65.74-16.998 52.096 52.096 0 0 1 11.904-68.582l105.548-83.175-106.29-68.3-1.537-1.025a59.75 59.75 0 0 1-.896-.614l-13.824-7.168a58.573 58.573 0 0 1-23.296-82.278l71.68-118.887-30.72-13.824a14.643 14.643 0 0 0-14.336 1.331l-80.486 55.604a48.87 48.87 0 0 1-62.669-5.965 39.347 39.347 0 0 1 1.792-56.858l128.282-115.149a58.573 58.573 0 0 1 57.446-12.032l143.54 47.258A117.146 117.146 0 0 1 698.93 153.6z" fill="#57D59A"></path></symbol><symbol id="header-icon-animal" viewBox="0 0 1024 1024"><path d="M517.376 465.152a144.924 144.924 0 0 1 137.529 99.214c1.28 3.926 2.275 7.85 2.901 11.805a132.267 132.267 0 0 1-14.279 263.765H380.473a132.267 132.267 0 0 1-14.25-263.794 74.044 74.044 0 0 1 2.872-11.776 144.924 144.924 0 0 1 137.529-99.214h10.752zm-96.683-47.047c50.262-3.783 85.618-59.165 79.047-123.733-6.599-64.57-52.65-113.892-102.912-110.109-50.232 3.755-85.617 59.165-79.018 123.733 6.599 64.57 52.65 113.864 102.912 110.08zm182.614 0c50.233 3.755 96.284-45.511 102.883-110.109 6.6-64.568-28.786-119.978-79.018-123.733-50.262-3.783-96.313 45.511-102.912 110.08-6.6 64.569 28.785 119.979 79.018 123.733zM717.426 551.14c39.082 21.816 96.91-4.267 129.138-58.226 32.256-53.96 26.709-115.37-12.374-137.188-39.11-21.817-96.938 4.267-129.166 58.226-32.256 53.96-26.71 115.37 12.402 137.188zm-410.852 0c39.111-21.817 44.658-83.229 12.402-137.188-32.228-53.96-90.055-80.043-129.138-58.226-39.11 21.817-44.658 83.229-12.43 137.188 32.256 53.959 90.084 80.042 129.166 58.226z" fill="#FB7299"></path><path d="M621.511 113.778c76.231-.939 138.468 74.012 149.504 173.34 37.746-13.312 75.861-12.914 107.293 4.324 70.712 38.77 80.753 147.968 22.442 243.91a272.327 272.327 0 0 1-71.11 78.337c9.158 22.87 14.221 47.843 14.221 73.984v23.438a199.111 199.111 0 0 1-199.11 199.111H379.25a199.111 199.111 0 0 1-199.111-199.11v-23.44c0-26.168 5.063-51.114 14.222-74.012a272.1 272.1 0 0 1-71.111-78.307c-58.311-95.943-48.27-205.141 22.442-243.911 31.432-17.238 69.547-17.636 107.321-4.352 11.008-99.3 73.245-174.25 149.476-173.312 42.41.54 81.152 24.462 109.511 62.777 28.36-38.287 67.1-62.237 109.511-62.777z" fill="#FFD7E7"></path><path d="M512 465.152a141.198 141.198 0 0 1 134.741 98.958l.086.256c1.905 6.087 3.015 12.231 3.356 18.29a132.267 132.267 0 0 1-9.728 264.164h-256.91a132.267 132.267 0 0 1-9.671-264.192l-.2 4.58a76.853 76.853 0 0 1 3.5-22.842l.085-.284A141.198 141.198 0 0 1 512 465.18zm-91.307-47.047c50.262-3.783 85.618-59.165 79.047-123.733-6.599-64.57-52.65-113.892-102.912-110.109-50.232 3.755-85.617 59.165-79.018 123.733 6.599 64.57 52.65 113.864 102.912 110.08zm182.614 0c50.233 3.755 96.284-45.511 102.883-110.109 6.6-64.568-28.786-119.978-79.018-123.733-50.262-3.783-96.313 45.511-102.912 110.08-6.6 64.569 28.785 119.979 79.018 123.733zM717.426 551.14c39.082 21.816 96.91-4.267 129.138-58.226 32.256-53.96 26.709-115.37-12.374-137.188-39.11-21.817-96.938 4.267-129.166 58.226-32.256 53.96-26.71 115.37 12.402 137.188zm-410.852 0c39.111-21.817 44.658-83.229 12.402-137.188-32.228-53.96-90.055-80.043-129.138-58.226-39.11 21.817-44.658 83.229-12.43 137.188 32.256 53.959 90.084 80.042 129.166 58.226z" fill="#FB7299"></path></symbol><symbol id="header-icon-zhishi" viewBox="0 0 1024 1024"><path d="M781.367 132.313c60.919 0 110.32 50.371 110.32 112.514V778.16c0 62.1-49.359 112.472-110.32 112.472H518.75c0-16.116-25.692-29.152-57.375-29.152S404 874.56 404 890.633H284.82c-60.918 0-110.32-50.372-110.32-112.43V244.827c0-62.143 49.36-112.514 110.32-112.514h496.547z" fill="#FBC92A"></path><path d="M781.367 132.313c60.919 0 110.32 50.371 110.32 112.514v209.671c-49.485 4.894-86.062 22.022-86.062 42.399 0 20.376 36.577 37.547 86.063 42.356v34.72c0 62.143-49.36 112.515-110.32 112.515H284.82c-60.918 0-110.32-50.372-110.32-112.515V244.827c0-62.143 49.36-112.514 110.32-112.514h496.547z" fill="#FFEA85"></path><path d="M346.625 686.487a114.75 58.345 0 1 0 229.5 0 114.75 58.345 0 1 0-229.5 0Z" fill="#FBC92A"></path><path d="M260.563 803.136a43.031 42.188 0 1 0 86.062 0 43.031 42.188 0 1 0-86.063 0ZM490.063 803.136a71.719 42.188 0 1 0 143.437 0 71.719 42.188 0 1 0-143.438 0Z" fill="#F4B828"></path><path d="M674.506 477.448a27.21 27.21 0 0 1 39.024 1.224 28.519 28.519 0 0 1-1.182 39.74 238.022 238.022 0 0 1-330.918 0 28.519 28.519 0 0 1-1.182-39.74 27.21 27.21 0 0 1 38.982-1.224 183.642 183.642 0 0 0 255.276 0zM734.792 272.923h5.19a41.766 41.766 0 0 1 41.343 42.188v56.278c0 23.288-18.478 42.188-41.344 42.188h-5.189a41.766 41.766 0 0 1-41.344-42.188v-56.278c0-23.288 18.52-42.188 41.344-42.188zm-380.995 0h5.189a41.766 41.766 0 0 1 41.344 42.188v56.278c0 23.288-18.52 42.188-41.344 42.188h-5.19a41.766 41.766 0 0 1-41.343-42.188v-56.278c0-23.288 18.478-42.188 41.344-42.188z" fill="#FBC92A"></path></symbol><symbol id="header-icon-read" viewBox="0 0 1024 1024"><path d="M778.496 142.08h-537.6a56.832 56.832 0 0 0-60.16 54.016v630.528a56.832 56.832 0 0 0 59.136 54.016h537.6a56.832 56.832 0 0 0 59.136-54.016V196.096a56.832 56.832 0 0 0-59.136-54.016z" fill="#54E2E2"></path><path d="M298.496 679.168h421.376a25.6 25.6 0 0 0 0-52.736H298.496a25.6 25.6 0 1 0 0 52.736zm421.376 53.76H298.496a25.6 25.6 0 1 0 0 52.736h421.376a25.6 25.6 0 0 0 0-52.736zM352.256 237.056h314.112q80.128 0 80.128 80.128v154.368q0 80.128-80.128 80.128H352.256q-80.128 0-80.128-80.128V317.184q0-80.128 80.128-80.128Z" fill="#23ADE5"></path><path d="M355.584 361.472a49.408 49.408 0 1 0 98.816 0 49.408 49.408 0 1 0-98.816 0ZM375.552 551.936l120.832-144.384a44.544 44.544 0 0 1 68.352 0l120.832 144.384z" fill="#2EC3E5"></path></symbol><symbol id="header-icon-activit" viewBox="0 0 1024 1024"><path d="M518.656 475.904a223.488 223.488 0 0 1-23.296-75.52 366.08 366.08 0 0 1 81.408 14.592 623.104 623.104 0 0 1-58.112 60.928m-69.888-119.04c-11.52-58.112-8.704-55.296-25.6-156.928a265.984 265.984 0 0 0-78.336 46.592c51.2 104.448 60.928 165.376 92.928 290.304 51.2-5.632 211.968-40.704 226.56-130.56 8.704-64-142.336-64-215.04-49.408m37.12 267.264a263.424 263.424 0 0 0-107.52 69.632l43.52 153.6a47.872 47.872 0 0 1-92.928 23.296L216.576 473.088l-72.704-204.8c2.816-5.632 5.888-8.704 8.704-14.336l-14.592-51.2a46.08 46.08 0 0 1 32-57.856 47.616 47.616 0 0 1 58.112 34.304v2.816a334.848 334.848 0 0 1 98.816-43.52c177.152-46.592 203.264 55.04 429.824 23.296L890.368 588.8c-171.52 90.112-232.448-11.52-403.712 35.072" fill="#F39800"></path></symbol><symbol id="header-icon-blackroom" viewBox="0 0 1024 1024"><path d="M139.264 529.152a27.136 27.136 0 0 1-14.592-2.816 32 32 0 0 1-11.52-39.936l130.816-236.032a28.416 28.416 0 1 1 49.152 28.928l-130.56 235.52a25.6 25.6 0 0 1-23.296 14.336" fill="#F99E4A"></path><path d="M380.416 529.152a34.56 34.56 0 0 1-25.6-14.592L223.488 279.296a30.208 30.208 0 0 1 11.52-37.632 25.6 25.6 0 0 1 37.888 11.52l130.816 235.264a25.6 25.6 0 0 1-11.776 37.888c-2.816 0-8.704 2.816-11.52 2.816m261.376 0a25.6 25.6 0 0 1-14.336-2.816 29.44 29.44 0 0 1-11.776-37.888l130.816-235.264a28.928 28.928 0 0 1 37.632-11.52 29.44 29.44 0 0 1 11.776 37.632L665.6 514.56a25.6 25.6 0 0 1-23.296 14.592" fill="#F99E4A"></path><path d="M883.968 529.152a34.56 34.56 0 0 1-25.6-14.336l-130.56-235.52a27.392 27.392 0 0 1 11.52-37.632 25.6 25.6 0 0 1 37.888 11.52l130.56 235.52A25.6 25.6 0 0 1 896 526.336c-2.816 0-8.704 2.816-11.776 2.816" fill="#F99E4A"></path><path d="m801.536 241.664-130.56-51.2A129.536 129.536 0 0 0 640 183.552H380.416a153.6 153.6 0 0 0-32 5.632L217.6 241.664a21.248 21.248 0 0 0 8.704 39.936h569.6a21.248 21.248 0 0 0 5.632-40.704M458.752 281.6v520.704a51.2 51.2 0 0 0 104.704 0V281.6z" fill="#FFD043"></path><path d="M561.152 183.296A51.2 51.2 0 0 0 512 139.776a52.992 52.992 0 0 0-51.2 46.336h102.4z" fill="#FFD043"></path><path d="M755.2 877.824H267.008a41.472 41.472 0 0 1-36.608-60.928l55.04-122.112a44.8 44.8 0 0 1 37.888-25.6h373.76a37.12 37.12 0 0 1 37.632 25.6L790.016 819.2a37.888 37.888 0 0 1-34.816 58.112" fill="#F99E4A"></path><path d="M900.352 494.336a9.216 9.216 0 0 1 8.704 8.704 148.48 148.48 0 0 1-296.192 0 7.68 7.68 0 0 1 8.704-8.704zm-502.528 0a9.216 9.216 0 0 1 8.704 8.704 151.808 151.808 0 0 1-148.224 142.336A150.016 150.016 0 0 1 110.08 503.04a7.68 7.68 0 0 1 8.704-8.704z" fill="#FFD043"></path></symbol><symbol id="header-icon-musicplus" viewBox="0 0 1024 1024"><path d="M153.6 256h716.8q25.6 0 25.6 25.6v512q0 25.6-25.6 25.6H153.6q-25.6 0-25.6-25.6v-512q0-25.6 25.6-25.6Z" fill="#3DA9D3"></path><path d="M153.6 256h153.6v563.2H153.6a25.6 25.6 0 0 1-25.6-25.6v-512a25.6 25.6 0 0 1 25.6-25.6zm716.8 0H716.8v563.2h153.6a25.6 25.6 0 0 0 25.6-25.6v-512a25.6 25.6 0 0 0-25.6-25.6z" fill="#7DD3E0"></path><path d="M783.36 320h46.08q15.36 0 15.36 15.36v20.48q0 15.36-15.36 15.36h-46.08q-15.36 0-15.36-15.36v-20.48Q768 320 783.36 320ZM783.36 448h46.08q15.36 0 15.36 15.36v20.48q0 15.36-15.36 15.36h-46.08q-15.36 0-15.36-15.36v-20.48Q768 448 783.36 448ZM783.36 576h46.08q15.36 0 15.36 15.36v20.48q0 15.36-15.36 15.36h-46.08q-15.36 0-15.36-15.36v-20.48Q768 576 783.36 576ZM783.36 704h46.08q15.36 0 15.36 15.36v20.48q0 15.36-15.36 15.36h-46.08q-15.36 0-15.36-15.36v-20.48Q768 704 783.36 704Z" fill="#3DA9D3"></path><path d="M576 180.736c8.78-2.611 15.898-1.92 21.35 2.074 5.479 3.993 11.008 9.83 16.64 17.459 5.607 7.654 12.544 16.256 20.762 25.856 8.243 9.574 19.456 18.509 33.69 26.777 12.236 7.68 22.963 12.954 32.204 15.77l25.959 7.86a146.846 146.846 0 0 1 23.654 9.266s17.741 9.984 25.523 20.48c8.116 10.906 14.874 19.661 16.615 30.976 1.715 11.341 1.613 21.914-.461 31.693a72.73 72.73 0 0 1-9.574 24.576c-4.276 6.58-7.86 9.933-10.752 9.933-2.868.026-5.402-1.613-7.604-5.043-2.227-3.38-3.84-9.984-4.864-19.763-1.69-15.872-6.656-27.034-14.976-33.46-8.32-6.425-21.35-9.984-39.142-10.726a96.051 96.051 0 0 1-48.922-15.616 283.047 283.047 0 0 1-34.97-26.803c-8.882-7.373-15.794-9.549-20.889-6.298-4.992 3.226-7.577 8.115-7.731 14.746l-.563 26.752-6.707 273.792-.794 35.405c.154 9.856-1.664 21.196-5.427 33.996-3.789 12.8-10.675 25.293-20.66 37.453-9.932 12.16-23.09 23.22-39.475 33.229s-36.582 17.357-60.595 22.067c-24.448 4.762-46.413 3.584-65.894-3.507-19.456-7.091-34.381-17.434-44.775-31.027-10.24-12.928-15.436-29.594-14.77-47.514.69-18.048 8.857-36.045 24.473-53.965s32.435-31.283 50.432-40.115a198.81 198.81 0 0 1 51.814-17.715 178.842 178.842 0 0 1 44.314-3.02c13.005 1.049 22.579 2.38 28.749 3.942 0 0 6.45-280.167 8.294-341.607.23-12.109 3.584-22.323 9.933-30.976 6.4-8.55 14.771-14.208 25.139-16.947zm160.922 288.18a12.8 12.8 0 0 1 .358 2.969v40.96l41.728-6.912a12.8 12.8 0 0 1 14.9 12.595v15.002a12.8 12.8 0 0 1-10.702 12.646l-45.952 7.629.026 45.363a12.8 12.8 0 0 1-9.83 12.442l-15.36 3.66a12.8 12.8 0 0 1-15.77-12.441V560.64l-41.114 6.86a12.8 12.8 0 0 1-14.899-12.62v-15.002a12.8 12.8 0 0 1 10.701-12.646l45.312-7.552v-44.134a12.8 12.8 0 0 1 9.83-12.468l15.36-3.635a12.8 12.8 0 0 1 15.412 9.472z" fill="#FFD469"></path><path d="M194.56 320h46.08Q256 320 256 335.36v20.48q0 15.36-15.36 15.36h-46.08q-15.36 0-15.36-15.36v-20.48q0-15.36 15.36-15.36ZM194.56 448h46.08Q256 448 256 463.36v20.48q0 15.36-15.36 15.36h-46.08q-15.36 0-15.36-15.36v-20.48q0-15.36 15.36-15.36ZM194.56 576h46.08Q256 576 256 591.36v20.48q0 15.36-15.36 15.36h-46.08q-15.36 0-15.36-15.36v-20.48q0-15.36 15.36-15.36ZM194.56 704h46.08Q256 704 256 719.36v20.48q0 15.36-15.36 15.36h-46.08q-15.36 0-15.36-15.36v-20.48q0-15.36 15.36-15.36Z" fill="#3DA9D3"></path></symbol><symbol id="header-icon-VLOG" viewBox="0 0 1024 1024"><path d="M824.195 570.693V462.049l49.951-49.951v200.704a74.927 74.927 0 0 1-44.956 68.682L574.44 792.601l-142.636-30.795 377.582-168.31a24.976 24.976 0 0 0 14.81-22.803z" fill="#7C79EE"></path><path d="M799.22 312.195h49.95q24.976 0 24.976 24.976v124.878q0 24.975-24.975 24.975H799.22q-24.976 0-24.976-24.975V337.17q0-24.976 24.976-24.976Z" fill="#7C79EE"></path><path d="M249.756 162.341h449.561q99.903 0 99.903 99.903V512q0 99.902-99.903 99.902h-449.56q-99.903 0-99.903-99.902V262.244q0-99.903 99.902-99.903Z" fill="#9796ED"></path><path d="M299.707 212.293H624.39q49.951 0 49.951 49.95V512q0 49.951-49.95 49.951H299.706q-49.95 0-49.95-49.951V262.244q0-49.951 49.95-49.951Z" fill="#FFE494"></path><path d="m438.447 300.606 104.822 69.907a24.976 24.976 0 0 1 0 41.56l-104.822 69.881a24.976 24.976 0 0 1-38.837-20.78V321.412a24.976 24.976 0 0 1 38.837-20.805z" fill="#7C79EE"></path><path d="M474.537 649.366h99.902a49.951 49.951 0 0 1 49.951 49.951v137.366a49.951 49.951 0 0 1-49.951 49.951h-99.902a49.951 49.951 0 0 1-49.952-49.951V699.317a49.951 49.951 0 0 1 49.952-49.951z" fill="#9796ED"></path></symbol><symbol id="header-icon-gaoxiao" viewBox="0 0 1024 1024"><path d="M512 131.282c-210.288 0-380.718 170.43-380.718 380.718S301.712 892.718 512 892.718 892.718 722.288 892.718 512c0-209.841-170.43-380.718-380.718-380.718zm0 675.998c-132.359 0-239.511-102.715-239.511-229.744 0-110.697 107.126-42.64 239.511-42.64 132.359 0 239.511-65.825 239.511 42.614C751.065 704.118 643.912 807.253 512 807.253z" fill="#FFD46A"></path><path d="M512 807.28c-132.359 0-239.511-102.715-239.511-229.744 0-110.697 107.126-42.64 239.511-42.64 132.359 0 239.511-65.825 239.511 42.614C751.065 704.118 643.912 807.253 512 807.253z" fill="#FFF"></path><path d="M511.79 667.097c-61.571 0-112.955 30.877-126.687 72.651a220.554 220.554 0 0 0 253.794 0C624.3 698 572.915 667.097 511.79 667.097zM280.839 304.102a26.256 26.256 0 0 1 32.111-13.654l2.862 1.13 127.344 60.205a26.256 26.256 0 0 1 3.36 45.608l-2.966 1.706-122.224 60.206a26.256 26.256 0 0 1-25.863-45.607l2.652-1.497 73.44-36.207-78.192-36.943a26.256 26.256 0 0 1-13.653-32.112l1.129-2.835zm463.662 0a26.256 26.256 0 0 0-32.112-13.654l-2.836 1.13-127.37 60.205a26.256 26.256 0 0 0-3.334 45.608l2.94 1.706 122.224 60.206a26.256 26.256 0 0 0 25.889-45.607l-2.678-1.497-73.413-36.207 78.191-36.943a26.256 26.256 0 0 0 13.654-32.112l-1.155-2.835z" fill="#FD621D"></path></symbol><symbol id="header-icon-danjiyouxi" viewBox="0 0 1024 1024"><path d="M512 153.6h-.026q50.458 0 50.458 50.458v100.864q0 50.457-50.458 50.457H512q-50.458 0-50.458-50.457V204.058q0-50.458 50.458-50.458Z" fill="#FB952C"></path><path d="M637.056 254.49H386.944C219.187 254.49 83.2 390.477 83.2 558.234c0 167.73 135.987 303.718 303.744 303.718h250.112c167.757 0 303.744-135.987 303.744-303.718 0-167.757-135.987-303.744-303.744-303.744z" fill="#FFF"></path><path d="M637.056 254.49H386.944C219.187 254.49 83.2 390.477 83.2 558.234c0 167.73 135.987 303.718 303.744 303.718h250.112c167.757 0 303.744-135.987 303.744-303.718 0-167.757-135.987-303.744-303.744-303.744zM404.787 611.84h-35.712v35.712a35.738 35.738 0 0 1-71.475 0V611.84h-35.738a35.738 35.738 0 0 1 0-71.475H297.6v-35.738a35.738 35.738 0 0 1 71.475 0v35.738h35.738a35.738 35.738 0 0 1 0 71.475zm285.901 71.424a107.213 107.213 0 1 1 0-214.4 107.213 107.213 0 0 1 0 214.4z" fill="#F55E55"></path><path d="M639.923 576.102a53.606 53.606 0 1 0 107.213 0 53.606 53.606 0 0 0-107.213 0z" fill="#FB952C"></path></symbol><symbol id="header-icon-virtual" viewBox="0 0 1024 1024"><path d="M212.557 605.082c-.077 42.854-13.799 82.048-41.037 117.606-40.909 53.325-83.917 69.274-77.824 85.197 11.34 35.405 45.568 49.024 102.656 40.883 36.787 61.44 95.488 90.01 176.026 85.606 88.601-9.6 119.654-92.006 93.107-247.219l-252.903-82.048zm522.112-13.67a293.504 293.504 0 0 1-52.352 122.828c-40.448 55.706-31.386 56.934-25.344 73.6 7.782 21.453 24.013 50.048 48.742 85.811 80.205 26.931 158.362 13.056 234.496-41.574 30.95-25.344-15.974-57.267-51.942-136.602-10.317-22.784-5.069-88.013 15.77-195.66l-169.37 91.596z" fill="#23ADE5"></path><path d="m706.202 689.664 113.28-16.384c35.993-44.646 69.888-54.502 101.683-29.517 47.693 37.427 8.269 142.029-71.501 102.759-1.74 0-51.507 5.53-149.35 16.64l5.888-73.524zm-285.568 69.811a41.882 41.882 0 0 1 18.508 56.73l-36.096 69.709a43.136 43.136 0 0 1-57.548 18.764 41.882 41.882 0 0 1-18.484-56.73l36.045-69.708a43.136 43.136 0 0 1 57.575-18.765z" fill="#FFE6DF"></path><path d="M465.46 698.112c-35.508-.666-67.457 23.296-95.873 71.834-.051.358 18.1 20.172 54.451 59.468l-18.585 64.154c2.662 36.173 57.062 54.272 163.174 54.272s165.146-21.427 177.152-64.23l-30.72-93.236c50.79-1.126 76.211-7.424 76.211-18.841 0-17.152-27.673-97.536-27.673-115.328 0-11.853-26.445-5.632-79.309 18.688l-218.829 23.219z" fill="#47CFE5"></path><path d="m528.538 684.083 56.192-4.915 22.912 53.683c-23.962 27.955-38.35 41.805-43.085 41.523-6.375-.025-22.912-11.161-49.639-33.408l13.62-56.883z" fill="#FED878"></path><path d="m560.512 728.013-37.427 106.393 53.888 79.079 38.86-87.168z" fill="#FED878"></path><path d="M574.54 705.024c290.484-44.826 302.72-134.016 290.51-252.928-12.237-118.886-160.282-200.422-330.752-182.093-170.42 18.33-298.676 129.587-286.464 248.474 12.21 118.912 36.224 231.321 326.707 186.521z" fill="#FFE6DF"></path><path d="M388.02 350.848c25.65 24.32 31.743 31.411 85.452 58.445 105.14 42.752 245.811 9.344 192.205-92.928 19.533 43.417 96.256 99.763 131.43 118.502-8.755 137.216-15.565 200.781 8.755 209.101 19.584 6.707 83.584-40.064 102.119-171.187 19.712-239.463-231.783-433.152-347.955-354.304-276.276-94.515-476.8 224.87-420.378 440.09 30.72 113.689 139.392 207.923 174.746 182.348 24.806-17.92 3.276-148.429-35.047-228.864 48.717-40.448 68.71-57.625 108.672-161.177z" fill="#23ADE5"></path><path d="m337.306 490.163 2.38.359 129.357 29.184c13.159 2.944 16.896 19.353 7.424 27.904l-2.073 1.587L368.46 618.7a16.282 16.282 0 0 1-19.968-25.6l2.099-1.639 73.805-48.435-91.879-20.736a16.307 16.307 0 0 1-12.646-17.075l.358-2.38a16.307 16.307 0 0 1 17.076-12.673zM653.928 504.238a86.58 42.317 84 1 0 84.17-8.847 86.58 42.317 84 1 0-84.17 8.847Z" fill="#24A7DA"></path><path d="m625.254 565.632 2.407.256a16.282 16.282 0 0 1 13.235 18.867c-8.525 48.205-28.672 71.527-57.446 67.712a58.778 58.778 0 0 1-24.628-9.958l-1.33-.947-1.511 1.28c-28.621 22.912-55.885 15.052-71.04-22.63l-1.69-4.48a16.282 16.282 0 0 1 30.72-10.906l2.176 5.888c5.658 14.13 9.984 16.204 20.045 6.86l4.045-4.044 4.659-5.095a16.307 16.307 0 0 1 23.04-1.331l1.843 1.971c2.867 3.584 11.853 10.291 17.946 11.085 7.526 1.024 15.232-7.885 21.069-41.062a16.307 16.307 0 0 1 16.46-13.466z" fill="#24A7DA"></path></symbol></svg>'},8885:function(e,t,n){"use strict";n.r(t),t.default='<svg xmlns="http://www.w3.org/2000/svg" viewBox="-1 -1 26 26"><path d="M10,14.11a7.76,7.76,0,0,0,2.48-.8,3.17,3.17,0,0,0,1.28-1.19,2.93,2.93,0,0,0,.37-1.43,3.2,3.2,0,0,0-.5-1.79A3.26,3.26,0,0,0,12,7.67a8.38,8.38,0,0,0-3-.45H2V7.9l1.78.15c0,1,.05,2,.05,3s0,2,0,3v.71c0,1.07,0,2.13,0,3.2s0,2.11-.05,3.15L2,21.32V22H8.27a12.7,12.7,0,0,0,3.31-.36,5.51,5.51,0,0,0,2.05-1,3.45,3.45,0,0,0,1.06-1.33A3.64,3.64,0,0,0,15,17.89a3.15,3.15,0,0,0-1.17-2.53A7,7,0,0,0,10,14.11ZM7.11,10.9c0-1,0-2,0-2.92h.93a2.78,2.78,0,0,1,2.17.74,3,3,0,0,1,.66,2.09,3.21,3.21,0,0,1-.76,2.28,3,3,0,0,1-2.29.82H7.1C7.1,12.89,7.1,11.89,7.11,10.9Zm3.56,9.52a3.48,3.48,0,0,1-2.5.85h-1c0-1.06,0-2.14,0-3.23s0-2.24,0-3.42h1a3.8,3.8,0,0,1,2.65.8,3.33,3.33,0,0,1,.86,2.52A3.23,3.23,0,0,1,10.67,20.42Z"/><polygon points="22 5 19 5 19 2 17 2 17 5 14 5 14 7 17 7 17 10 19 10 19 7 22 7 22 5"/></svg>'},5339:function(e,t,n){"use strict";n.r(t),t.default='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M27,7.35l-9-5.2a4,4,0,0,0-4,0L5,7.35a4,4,0,0,0-2,3.46V21.19a4,4,0,0,0,2,3.46l9,5.2a4,4,0,0,0,4,0l9-5.2a4,4,0,0,0,2-3.46V10.81A4,4,0,0,0,27,7.35Zm-.5,13.84a1.51,1.51,0,0,1-.75,1.3l-9,5.19a1.51,1.51,0,0,1-1.5,0l-9-5.19a1.51,1.51,0,0,1-.75-1.3V10.81a1.51,1.51,0,0,1,.75-1.3l9-5.19a1.51,1.51,0,0,1,1.5,0l9,5.19a1.51,1.51,0,0,1,.75,1.3Z"/><path d="M16,9.75A6.25,6.25,0,1,0,22.25,16,6.25,6.25,0,0,0,16,9.75Zm0,10A3.75,3.75,0,1,1,19.75,16,3.75,3.75,0,0,1,16,19.75Z"/></svg>'},8360:function(e,t,n){"use strict";n.r(t),t.default='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M27,7.35l-9-5.2a4,4,0,0,0-4,0L5,7.35a4,4,0,0,0-2,3.46V21.19a4,4,0,0,0,2,3.46l9,5.2a4,4,0,0,0,4,0l9-5.2a4,4,0,0,0,2-3.46V10.81A4,4,0,0,0,27,7.35Zm-11.74-3a1.51,1.51,0,0,1,1.5,0l8.49,4.9L16,14.56,6.76,9.22Zm-9,18.17a1.51,1.51,0,0,1-.75-1.3v-9.8l9.24,5.33V27.39Zm19.48,0-8.49,4.9V16.72l9.24-5.33v9.8A1.51,1.51,0,0,1,25.74,22.49Z"/></svg>'},6851:function(e,t,n){"use strict";var i=n(5171),r=Array.prototype.concat,a=Array.prototype.slice,o=e.exports=function(e){for(var t=[],n=0,o=e.length;n<o;n++){var s=e[n];i(s)?t=r.call(t,a.call(s)):t.push(s)}return t};o.wrap=function(e){return function(){return e(o(arguments))}}},925:function(e,t,n){"use strict";n.r(t);var i=n(3379),r=n.n(i),a=n(8513),o=n.n(a),s={insert:"head",singleton:!1};r()(o(),s);t.default=o().locals||{}},3379:function(e,t,n){"use strict";var i,r=function(){return void 0===i&&(
|
||
// @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805
|
||
// @see https://github.com/webpack-contrib/style-loader/issues/177
|
||
i=Boolean(window&&document&&document.all&&!window.atob)),i},a=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),o=[];function s(e){for(var t=-1,n=0;n<o.length;n++)if(o[n].identifier===e){t=n;break}return t}function l(e,t){for(var n={},i=[],r=0;r<e.length;r++){var a=e[r],l=t.base?a[0]+t.base:a[0],c=n[l]||0,d="".concat(l," ").concat(c);n[l]=c+1;var u=s(d),p={css:a[1],media:a[2],sourceMap:a[3]};-1!==u?(o[u].references++,o[u].updater(p)):o.push({identifier:d,updater:g(p,t),references:1}),i.push(d)}return i}function c(e){var t=document.createElement("style"),i=e.attributes||{};if(void 0===i.nonce){var r=n.nc;r&&(i.nonce=r)}if(Object.keys(i).forEach((function(e){t.setAttribute(e,i[e])})),"function"==typeof e.insert)e.insert(t);else{var o=a(e.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}return t}var d,u=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function p(e,t,n,i){var r=n?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(e.styleSheet)e.styleSheet.cssText=u(t,r);else{var a=document.createTextNode(r),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(a,o[t]):e.appendChild(a)}}function f(e,t,n){var i=n.css,r=n.media,a=n.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}var h=null,m=0;function g(e,t){var n,i,r;if(t.singleton){var a=m++;n=h||(h=c(t)),i=p.bind(null,n,a,!1),r=p.bind(null,n,a,!0)}else n=c(t),i=f.bind(null,n,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var n=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var i=0;i<n.length;i++){var r=s(n[i]);o[r].references--}for(var a=l(e,t),c=0;c<n.length;c++){var d=s(n[c]);0===o[d].references&&(o[d].updater(),o.splice(d,1))}n=a}}}},2731:function(e,t,n){var i=n(2089);e.exports="string"==typeof i?i:i.toString()},1299:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return f}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"switch-options",class:{"small-size":e.smallSize,grid:!e.popupMode}},[e.popupMode?[n("VButton",{ref:"button",on:{click:function(t){e.popupOpen=!e.popupOpen}}},[n("VIcon",{staticClass:"switch-icon",attrs:{icon:"mdi-checkbox-marked-circle-outline",size:e.smallSize?16:22}}),e._v("\n "+e._s(e.options.optionDisplayName)+"\n ")],1),e._v(" "),n("VPopup",{staticClass:"switch-options-popup",attrs:{"trigger-element":e.$refs.button,"esc-close":"","auto-destroy":""},model:{value:e.popupOpen,callback:function(t){e.popupOpen=t},expression:"popupOpen"}},e._l(Object.keys(e.options.switches),(function(t){return n(e.options.radio?"RadioButton":"CheckBox",e._b({key:t,tag:"component",class:{dim:e.isDim(t)},attrs:{checked:e.componentOptions["switch-"+t]},on:{change:function(n){e.componentOptions["switch-"+t]=n}}},"component",e.options.switchProps||{},!1),[e._v("\n "+e._s(e.options.switches[t].displayName)+"\n ")])})),1)]:[n("div",{staticClass:"switch-options-grid"},e._l(Object.keys(e.options.switches),(function(t){return n(e.options.radio?"RadioButton":"CheckBox",e._b({key:t,tag:"component",class:{dim:e.isDim(t)},attrs:{checked:e.componentOptions["switch-"+t]},on:{change:function(n){e.componentOptions["switch-"+t]=n}}},"component",e.options.switchProps||{},!1),[e._v("\n "+e._s(e.options.switches[t].displayName)+"\n ")])})),1)]],2)};i._withStripped=!0;var r=n(3923),a=n(6171),o=Vue.extend({name:"SwitchOptions",components:{VPopup:r.VPopup,VButton:r.VButton,VIcon:r.VIcon,CheckBox:r.CheckBox,RadioButton:r.RadioButton},props:{options:{type:Object,required:!0},smallSize:{type:Boolean,default:!1},popupMode:{type:Boolean,default:!0}},data(){const{componentName:e}=this.options;return{popupOpen:!1,componentOptions:(0,a.getComponentSettings)(e).options}},watch:{options(){this.updateColumnsCount()}},mounted(){this.updateColumnsCount()},methods:{updateColumnsCount(){const e=this.$el,t=Math.ceil(Object.keys(this.options.switches).length/12);e.style.setProperty("--columns",t.toString())},isDim(e){return this.componentOptions[`switch-${e}`]&&"checked"===this.options.dimAt||"notChecked"===this.options.dimAt}}}),s=n(3379),l=n.n(s),c=n(8535),d=n.n(c),u={insert:"head",singleton:!1},p=(l()(d(),u),d().locals,(0,n(1900).Z)(o,i,[],!1,null,null,null));p.options.__file="src/components/SwitchOptions.vue";var f=p.exports},3059:function(e,t,n){"use strict";n.d(t,{Z:function(){return T}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"launch-bar"},[n("div",{staticClass:"input-area"},[n("div",{staticClass:"launch-bar-form"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.keyword,expression:"keyword"}],ref:"input",staticClass:"input",attrs:{type:"text",autocomplete:"off",placeholder:e.recommended.word},domProps:{value:e.keyword},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.stopPropagation(),e.handleEnter(t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.stopPropagation(),e.handleUp(t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.stopPropagation(),e.handleDown(t))}],input:function(t){t.target.composing||(e.keyword=t.target.value)}}}),e._v(" "),n("button",{staticClass:"submit",attrs:{title:"执行",tabindex:"-1"},on:{click:e.handleEnter}},[n("VIcon",{attrs:{icon:"right-arrow",size:20}})],1)])]),e._v(" "),n("div",{ref:"list",staticClass:"launch-bar-suggest-list"},[e.isHistory?n("div",{staticClass:"launch-bar-history-list"},[0===e.actions.length?n("div",{staticClass:"history-empty suggest-item disabled",attrs:{tabindex:"0"}},[e._v("\n 暂无搜索历史\n ")]):e._e(),e._v(" "),e._l(e.actions,(function(t,i){return n("ActionItem",{key:t.key,attrs:{action:t},on:{"previous-item":function(t){return e.previousItem(t,i)},"next-item":function(t){return e.nextItem(t,i)},"delete-item":function(t){return e.onDeleteItem(t,i)},action:function(n){i===e.actions.length-1&&e.onClearHistory(),e.onAction(t)}}})}))],2):e._e(),e._v(" "),e.isHistory?e._e():n("div",{staticClass:"launch-bar-action-list"},[0===e.actions.length&&e.noActions?n("VEmpty",{staticClass:"suggest-item disabled",attrs:{tabindex:"0"}}):e._e(),e._v(" "),0!==e.actions.length||e.noActions?e._e():n("VLoading",{staticClass:"suggest-item disabled",attrs:{tabindex:"0"}}),e._v(" "),e._l(e.actions,(function(t,i){return n("ActionItem",{key:t.key,attrs:{action:t},on:{"previous-item":function(t){return e.previousItem(t,i)},"next-item":function(t){return e.nextItem(t,i)},"delete-item":function(t){return e.onDeleteItem(t,i)},action:function(n){return e.onAction(t)}}})}))],2)])])};i._withStripped=!0;var r=n(3923),a=n(950),o=n(5550),s=n(1906),l=n(125),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"action-item suggest-item",attrs:{tabindex:"0",title:e.action.name,"data-indexer":e.action.indexer},on:{click:function(t){return t.target!==t.currentTarget?null:e.performAction(t)},keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),t.stopPropagation(),e.performAction(t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:t.shiftKey?(t.preventDefault(),t.stopPropagation(),e.performDelete(t)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),t.stopPropagation(),e.$emit("previous-item",t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),t.stopPropagation(),e.$emit("next-item",t))}]}},[n("div",{staticClass:"suggest-item-content"},[e.action.icon?n("div",{staticClass:"suggest-item-icon",on:{click:function(t){return e.performAction(t)}}},[n("VIcon",{attrs:{icon:e.action.icon,size:18}})],1):e._e(),e._v(" "),n("div",{staticClass:"suggest-item-title",on:{click:function(t){return e.performAction(t)}}},[e.action.content?n(e.action.content,{tag:"component",staticClass:"suggest-item-name",attrs:{name:e.action.name}}):n("div",{staticClass:"suggest-item-name"},[e._v("\n "+e._s(e.action.title||e.action.name)+"\n ")]),e._v(" "),e.action.description?n("div",{staticClass:"suggest-item-description"},[e._v("\n "+e._s(e.action.description)+"\n ")]):e._e()],1),e._v(" "),e.action.deleteAction?n("div",{staticClass:"suggest-item-delete",attrs:{title:"删除此项"},on:{click:function(t){return e.performDelete(t)}}},[n("VIcon",{attrs:{icon:"cancel",size:18}})],1):e._e()])])};c._withStripped=!0;var d=Vue.extend({components:{VIcon:r.VIcon},props:{action:{type:Object,required:!0}},methods:{performAction(e){this.action.action(),this.$emit("action",e)},performDelete(e){this.action.deleteAction&&(this.action.deleteAction(),this.$emit("delete-item",e))}}}),u=n(3379),p=n.n(u),f=n(3955),h=n.n(f),m={insert:"head",singleton:!1},g=(p()(h(),m),h().locals,n(1900)),b=(0,g.Z)(d,c,[],!1,null,null,null);b.options.__file="src/components/launch-bar/ActionItem.vue";var v=b.exports,y=n(4247),w=n(6674),x=n(2168);const[k]=(0,a.registerAndGetData)(y.LaunchBarActionProviders,[w.searchProvider,x.dr]),_=(e,t)=>t.map((t=>{const n=`${e.name}.${t.name}`;return{...t,key:n,provider:e}}));const[C]=(0,a.registerAndGetData)("launchBar.recommended",{word:"搜索",href:"https://search.bilibili.com/"});var S=Vue.extend({components:{VIcon:r.VIcon,VLoading:r.VLoading,VEmpty:r.VEmpty,ActionItem:v},data:()=>({recommended:C,actions:[],keyword:"",noActions:!1}),computed:{isHistory(){return 0===this.keyword.length}},watch:{keyword(){this.getActions()}},async mounted(){this.getActions(),(0,s.matchUrlPattern)(/^https?:\/\/search\.bilibili\.com/)&&(0,o.select)("#search-keyword").then((e=>{e&&(this.keyword=e.value,document.addEventListener("change",(e=>{e.target instanceof HTMLInputElement&&"search-keyword"===e.target.id&&(this.keyword=e.target.value)})))}))},methods:{getOnlineActions:lodash.debounce((async function(){const e=(await Promise.all(k.map((async e=>_(e,await e.getActions(this.keyword)))))).flat();if(this.isHistory)return;const t=new l.Z(e,{keys:["indexer","displayName","name","description","key"]}).search(this.keyword);console.log(t),this.actions=t.map((e=>e.item)).slice(0,12),this.noActions=0===this.actions.length}),200),getActions:async function(){if(this.noActions=!1,this.isHistory)return void(this.actions=_(x.dr,await x.dr.getActions(this.keyword)));this.actions=[],this.getOnlineActions()},async handleEnter(){if(this.actions.length>0&&!this.isHistory){const[e]=this.actions;if(!1===e.explicitSelect)return void e.action()}this.keyword?(0,w.search)(this.keyword):window.open(this.recommended.href,"_blank")},handleUp(e){e.isComposing||(this.$refs.list.querySelector(".suggest-item:last-child").focus(),e.preventDefault())},handleDown(e){e.isComposing||(this.$refs.list.querySelector(".suggest-item").focus(),e.preventDefault())},previousItem(e,t){0===t?this.focus():e.currentTarget.previousElementSibling.focus()},nextItem(e,t){t!==this.actions.length-1?e.currentTarget.nextElementSibling.focus():this.focus()},search:w.search,onDeleteItem(e,t){this.previousItem(e,t),this.getActions()},onClearHistory(){this.focus(),this.getActions()},onAction(){},focus(){this.$refs.input.focus()}}}),E=n(4815),$=n.n(E),A={insert:"head",singleton:!1},I=(p()($(),A),$().locals,(0,g.Z)(S,i,[],!1,null,null,null));I.options.__file="src/components/launch-bar/LaunchBar.vue";var T=I.exports},5863:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return f}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"be-settings"},[n("div",{staticClass:"sidebar"},[n("div",{ref:"widgetsIcon",class:{open:e.widgetsOpened},attrs:{title:"功能"},on:{click:[function(t){return t.shiftKey?e.theWorld(t):null},function(t){if(t.ctrlKey||t.shiftKey||t.altKey||t.metaKey)return null;e.widgetsOpened=!e.widgetsOpened}],mouseover:function(t){return e.loadPanel("widgetsPanelPopup")}}},[n("VIcon",{attrs:{icon:"widgets",size:26}})],1),e._v(" "),n("div",{ref:"settingsIcon",class:{open:e.settingsOpened},attrs:{title:"设置"},on:{click:function(t){e.settingsOpened=!e.settingsOpened},mouseover:function(t){return e.loadPanel("settingsPanelPopup")}}},[n("VIcon",{attrs:{icon:"settings-outline",size:26}})],1)]),e._v(" "),n("VPopup",{ref:"widgetsPanelPopup",staticClass:"widgets-panel-popup",attrs:{"trigger-element":e.$refs.widgetsIcon,fixed:!0},model:{value:e.widgetsOpened,callback:function(t){e.widgetsOpened=t},expression:"widgetsOpened"}},[n("WidgetsPanel")],1),e._v(" "),n("VPopup",{ref:"settingsPanelPopup",staticClass:"settings-panel-popup",attrs:{"trigger-element":e.$refs.settingsIcon,"auto-close-predicate":e.settingsPanalClosePredicate,fixed:!0},model:{value:e.settingsOpened,callback:function(t){e.settingsOpened=t},expression:"settingsOpened"}},[n("SettingsPanel",{on:{close:function(t){e.settingsOpened=!1}}})],1)],1)};i._withStripped=!0;var r=n(3923),a=n(9388),o={name:"SettingsContainer",components:{VPopup:r.VPopup,VIcon:r.VIcon,SettingsPanel:()=>Promise.resolve().then(n.bind(n,1201)).then((e=>e.default)),WidgetsPanel:()=>Promise.resolve().then(n.bind(n,5208)).then((e=>e.default))},data:()=>({settingsOpened:!1,widgetsOpened:!1}),methods:{theWorld(){a.externalApis.theWorld(0)},settingsPanalClosePredicate:e=>!dqa(".be-settings-extra-options").some((t=>t===e.target||t.contains(e.target))),loadPanel(e){const t=this.$refs[e];t&&(t?.loaded??0)&&(t.loaded=!0)}}},s=n(3379),l=n.n(s),c=n(8918),d=n.n(c),u={insert:"head",singleton:!1},p=(l()(d(),u),d().locals,(0,n(1900).Z)(o,i,[],!1,null,null,null));p.options.__file="src/components/settings-panel/SettingsContainer.vue";var f=p.exports},1201:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Oe}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"settings-panel",class:{collasped:e.collasped,peek:e.peek}},[n("div",{staticClass:"settings-panel-header"},[n("VIcon",{attrs:{icon:"settings-outline"}}),e._v(" "),n("div",{staticClass:"title"},[e._v("\n 设置\n ")]),e._v(" "),n("div",{staticClass:"settings-panel-search"},[n("VIcon",{attrs:{icon:"search",size:18}}),e._v(" "),n("TextBox",{attrs:{placeholder:"搜索"},model:{value:e.searchKeyword,callback:function(t){e.searchKeyword=t},expression:"searchKeyword"}})],1),e._v(" "),n("div",{staticClass:"peek",attrs:{title:"透视"},on:{mouseover:function(t){e.peek=!0},mouseout:function(t){e.peek=!1}}},[n("VIcon",{attrs:{icon:"eye",size:18}})],1),e._v(" "),n("div",{staticClass:"close",on:{click:function(t){return e.$emit("close")}}},[n("VIcon",{attrs:{icon:"close",size:18}})],1)],1),e._v(" "),n("div",{staticClass:"settings-panel-content"},[n("div",{ref:"sidebarContainer",staticClass:"sidebar"},[n("ComponentTags",{ref:"componentTags",on:{change:function(t){e.searchFilter=t}}})],1),e._v(" "),n("div",{ref:"mainContainer",staticClass:"main"},[n("div",{ref:"componentList",staticClass:"component-list"},[e._l(e.renderedComponents,(function(t){return n("ComponentSettings",{key:t.name,class:{selected:e.selectedComponent===t&&e.componentDetailOpen},attrs:{"component-data":t,"data-name":t.name},nativeOn:{click:function(n){return e.selectComponent(t)}}})})),e._v(" "),0===e.renderedComponents.length?n("VEmpty"):e._e()],2)]),e._v(" "),n("VPopup",{ref:"detailsPopup",staticClass:"component-detail-panel",attrs:{"trigger-element":e.$refs.componentList,open:e.componentDetailOpen},on:{"popup-change":function(t){!t&&e.closePopper()}}},[e.selectedComponent?n("ComponentDetail",{key:e.selectedComponent.name,attrs:{"component-data":e.selectedComponent},on:{close:function(t){return e.closePopper()}}}):e._e()],1)],1)])};i._withStripped=!0;var r=n(3923),a=n(9543),o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"component-settings",class:{virtual:e.virtual}},[e.virtual?e._e():[n("div",{staticClass:"row"},[n("TagRing",{attrs:{tags:e.componentData.tags}}),e._v(" "),n("div",{staticClass:"display-name"},[e._v("\n "+e._s(e.componentData.displayName)+"\n ")]),e._v(" "),!1!==e.componentData.configurable?n("SwitchBox",{model:{value:e.settings.enabled,callback:function(t){e.$set(e.settings,"enabled",t)},expression:"settings.enabled"}}):n("VIcon",{staticClass:"details-arrow",attrs:{icon:"right-arrow",size:18}})],1)]],2)};o._withStripped=!0;var s=n(6171),l=n(7084),c=n.n(l),d=n(3353),u=n(5464),p=n(5106),f=n(3420),h=n(1906),m=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tag-ring"},[n("svg",{attrs:{height:e.size,width:e.size}},e._l(e.tags,(function(t,i){return n("circle",{key:t.name,staticClass:"tag-stroke",style:e.getStyle(t,i),attrs:{fill:"transparent","stroke-dasharray":e.circumference+" "+e.circumference,"stroke-width":e.stroke,r:e.radius,cx:e.size/2,cy:e.size/2}})})),0)])};m._withStripped=!0;var g=Vue.extend({props:{tags:{type:Array,required:!0},size:{type:Number,default:18},stroke:{type:Number,default:3}},data(){const e=this.size/2-this.stroke;return{radius:e,circumference:2*e*Math.PI}},methods:{getStyle(e,t){return{strokeDashoffset:t/this.tags.length*this.circumference,stroke:e.color}}}}),b=n(3379),v=n.n(b),y=n(5089),w=n.n(y),x={insert:"head",singleton:!1},k=(v()(w(),x),w().locals,n(1900)),_=(0,k.Z)(g,m,[],!1,null,null,null);_.options.__file="src/components/settings-panel/TagRing.vue";var C=_.exports,S=n(7365),E=Vue.extend({components:{SwitchBox:d.Z,TagRing:C,VIcon:u.default},props:{componentData:{type:Object,required:!0}},data(){return{settings:(0,s.getComponentSettings)(this.componentData),virtual:!1}},async mounted(){const e=this.$el,t=(0,h.dq)(".settings-panel-content .main");t?(0,f.visibleInside)(e,t,"150% 0px",(e=>{e.forEach((e=>{this.virtual=!e.isIntersecting}))})):console.log("settings container not found, virtual scroll will be disabled!")},methods:{markdown:e=>c()(e),descriptionI18n(e){const{description:t,options:n}=e;if(!t){if(n&&Object.keys(n).length>0){return`${Object.keys(n).length}个选项`}return"暂无说明"}return"string"==typeof t?t:t[p.languageNameToCode[(0,S.getSelectedLanguage)()]]||t["zh-CN"]}}}),$=n(9389),A=n.n($),I={insert:"head",singleton:!1},T=(v()(A(),I),A().locals,(0,k.Z)(E,o,[],!1,null,null,null));T.options.__file="src/components/settings-panel/ComponentSettings.vue";var O=T.exports,L=n(8171),M=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"component-detail"},[e.settings?e._e():n("div",{staticClass:"component-not-found"},[e._v("\n 未找到组件'"+e._s(e.componentData.displayName)+"' ("+e._s(e.componentData.name)+"), 可能已被卸载.\n ")]),e._v(" "),e.settings?[n("div",{staticClass:"component-detail-header"},[n("div",{staticClass:"display-name"},[e._v("\n "+e._s(e.componentData.displayName)+"\n ")]),e._v(" "),n("VIcon",{staticClass:"close",attrs:{icon:"close",size:18},on:{click:function(t){return e.$emit("close")}}})],1),e._v(" "),n("div",{staticClass:"component-detail-tags"},e._l(e.componentData.tags,(function(t){return n("div",{key:t.name,staticClass:"tag"},[n("div",{staticClass:"tag-color",style:{backgroundColor:t.color}}),e._v("\n "+e._s(t.displayName)+"\n ")])})),0),e._v(" "),e.componentData.options&&e.generatedOptions.length>0||e.componentData.extraOptions?[n("div",{staticClass:"component-detail-options"},[n("div",{staticClass:"component-detail-options-title"},[e._v("\n 选项\n ")]),e._v(" "),e._l(e.generatedOptions,(function(t){var i=t[0],r=t[1];return n("div",{key:i,staticClass:"generated-option"},[n("ComponentOption",{attrs:{name:i,"display-name":r.displayName,option:r,component:e.componentData}})],1)})),e._v(" "),e.componentData.extraOptions?n("div",{staticClass:"extra-option"},[n(e.componentData.extraOptions,{tag:"component",attrs:{"component-data":e.componentData}})],1):e._e(),e._v(" "),e._t("default")],2)]:e._e(),e._v(" "),!e.componentData.options||e.componentData.description?[n("ComponentDescription",{staticClass:"component-detail-description",attrs:{"component-data":e.componentData}})]:e._e(),e._v(" "),n("div",{staticClass:"component-detail-grow"}),e._v(" "),n("div",{staticClass:"component-detail-internal-data"},[n("div",{staticClass:"internal-name"},[e._v("\n 内部名称: "+e._s(e.componentData.name)+"\n ")]),e._v(" "),!1!==e.componentData.configurable&&e.componentActions.length>0?n("MiniToast",{staticClass:"extra-actions-wrapper",attrs:{placement:"bottom",trigger:"click"},scopedSlots:e._u([{key:"toast",fn:function(){return[n("div",{staticClass:"extra-actions-list"},e._l(e.componentActions.map((function(t){return t(e.componentData)})),(function(t){return n("ComponentAction",{key:t.name,staticClass:"extra-action-item",attrs:{item:t,component:e.componentData}})})),1)]},proxy:!0}],null,!1,958619387)},[n("div",{staticClass:"extra-actions"},[n("VIcon",{attrs:{icon:"mdi-dots-vertical",size:16}})],1)]):e._e()],1)]:e._e()],2)};M._withStripped=!0;var P=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"component-description",domProps:{innerHTML:e._s(e.description(e.componentData))}})};P._withStripped=!0;var z=n(5143),D=Vue.extend({props:{componentData:{type:Object,required:!0}},data(){return{settings:(0,s.getComponentSettings)(this.componentData)}},methods:{description:e=>(0,z.getDescriptionHTML)(e)}}),V=n(8353),B=n.n(V),N={insert:"head",singleton:!1},j=(v()(B(),N),B().locals,(0,k.Z)(D,P,[],!1,null,null,null));j.options.__file="src/components/settings-panel/ComponentDescription.vue";var q=j.exports,F=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"component-option",attrs:{"data-type":e.type}},[n("div",{staticClass:"option-name"},[e._v("\n "+e._s(e.displayName)+"\n ")]),e._v(" "),"text"===e.type||"number"===e.type?n("TextBox",{attrs:{"change-on-blur":"",validator:e.option.validator,text:e.value.toString(),placeholder:e.value.toString()},on:{change:function(t){"text"===e.type?e.valueChange(t):e.numberChange(t)}}}):e._e(),e._v(" "),"boolean"===e.type?n("SwitchBox",{attrs:{checked:e.value},on:{change:function(t){return e.valueChange(t)}}}):e._e(),e._v(" "),"color"===e.type?n("ColorPicker",{attrs:{compact:!0,"popup-offset":-95,color:e.value},on:{change:function(t){return e.valueChange(t)}}}):e._e(),e._v(" "),"range"===e.type?n("RangeInput",{attrs:{validator:e.option.validator,range:e.value},on:{change:function(t){return e.valueChange(t)}}}):e._e(),e._v(" "),"image"===e.type?n("ImagePicker",{attrs:{image:e.value},on:{change:function(t){return e.valueChange(t)}}}):e._e(),e._v(" "),"dropdown"===e.type?n("VDropdown",{attrs:{value:e.value,items:e.getDropdownItems(e.option.dropdownEnum),"key-mapper":function(e){return e}},on:{change:function(t){return e.valueChange(t)}},scopedSlots:e._u([{key:"item",fn:function(t){var n=t.item;return[e._v("\n "+e._s(n)+"\n ")]}}],null,!1,3506243887)}):e._e(),e._v(" "),"switch"===e.type?n("SwitchOptions",{attrs:{"small-size":"","popup-mode":!1,options:e.option.defaultValue}}):e._e(),e._v(" "),"slider"===e.type?n("VSlider",e._b({attrs:{value:e.value},on:{change:function(t){return e.valueChange(t)}}},"VSlider",e.option.slider,!1)):e._e(),e._v(" "),"unknown"===e.type?n("div",{staticClass:"unknown-option-type"},[e._v("\n 未知的选项类型\n ")]):e._e()],1)};F._withStripped=!0;var R={name:"ComponentOption",components:{SwitchOptions:n(1299).default,TextBox:r.TextBox,SwitchBox:r.SwitchBox,ColorPicker:r.ColorPicker,RangeInput:r.RangeInput,VDropdown:r.VDropdown,ImagePicker:r.ImagePicker,VSlider:r.VSlider},props:{name:{type:String,required:!0},displayName:{type:String,required:!0},option:{type:Object,required:!0},component:{type:Object,required:!0}},data(){const e=(0,s.getComponentSettings)(this.component);return{settings:e,value:e.options[this.name]}},computed:{type(){const e=this.option,{defaultValue:t}=e;switch(typeof t){case"boolean":return"boolean";case"number":return e.slider?"slider":"number";case"string":return e.color?"color":e.dropdownEnum?"dropdown":"text";case"object":return"start"in t&&"end"in t?"range":"name"in t&&"url"in t?"image":"name"in t&&"switches"in t?"switch":"unknown";default:return"unknown"}}},methods:{getDropdownItems:e=>{if(Array.isArray(e))return e;return Object.entries(e).filter((([e])=>{const t=e.charCodeAt(0);return!(t>=48&&t<=57)})).map((([,e])=>e))},numberChange(e){const t=this.settings,n=parseFloat(e);Number.isNaN(n)||(t.options[this.name]=n,this.value=n)},valueChange(e){this.settings.options[this.name]=e,this.value=e}}},U=n(5136),H=n.n(U),Z={insert:"head",singleton:!1},W=(v()(H(),Z),H().locals,(0,k.Z)(R,F,[],!1,null,"ddb921e6",null));W.options.__file="src/components/settings-panel/ComponentOption.vue";var G=W.exports,X=n(5858),J=n(950),K=n(7010);const Y=[e=>({name:"uninstall",displayName:"卸载",icon:"mdi-trash-can-outline",condition:()=>(0,s.isUserComponent)(e),action:async()=>{const{before:t,after:n}=(0,a.getHook)("userComponents.remove",e);await t(),await(0,K.uninstallComponent)(e.name),await n()}})],[Q]=(0,J.registerAndGetData)("settingsPanel.componentActions",Y);var ee=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"component-action",class:{disabled:e.disabled},attrs:{"aria-disabled":e.disabled,title:e.item.title},on:{click:e.handleClick}},[n("VIcon",{attrs:{icon:e.item.icon,size:16}}),e._v("\n "+e._s(e.item.displayName)+"\n")],1)};ee._withStripped=!0;var te=Vue.extend({components:{VIcon:r.VIcon},props:{item:{type:Object,required:!0},component:{type:Object,required:!0}},data:()=>({disabled:!1}),methods:{async handleClick(){if(!this.disabled)try{this.disabled=!0,await this.item.action(this.component)}finally{this.disabled=!1}}}}),ne=n(9311),ie=n.n(ne),re={insert:"head",singleton:!1},ae=(v()(ie(),re),ie().locals,(0,k.Z)(te,ee,[],!1,null,null,null));ae.options.__file="src/components/settings-panel/component-actions/ComponentAction.vue";var oe=ae.exports,se=Vue.extend({components:{ComponentDescription:q,ComponentOption:G,ComponentAction:oe,VButton:r.VButton,VIcon:r.VIcon,SwitchBox:r.SwitchBox,MiniToast:r.MiniToast},mixins:[X.U],data(){const e=this.componentData;return{virtual:!1,componentActions:Q.filter((t=>{const n=t(e);return!!n&&(n.condition?.()??!0)}))}},computed:{generatedOptions(){return Object.entries(this.componentData.options??{}).filter((([,e])=>!e.hidden))}},async mounted(){const e=this.$el;(0,f.visible)(e,(e=>{e.forEach((e=>{this.virtual=!e.isIntersecting}))})),await this.$nextTick(),this.$emit("mounted")}}),le=n(7278),ce=n.n(le),de={insert:"head",singleton:!1},ue=(v()(ce(),de),ce().locals,(0,k.Z)(se,M,[],!1,null,null,null));ue.options.__file="src/components/settings-panel/ComponentDetail.vue";var pe=ue.exports,fe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"component-tags-preview"},[n("VPopup",{staticClass:"settings-panel-sub-page",attrs:{lazy:!1,"trigger-element":e.selectedSubPageTrigger},model:{value:e.selectedSubPageOpen,callback:function(t){e.selectedSubPageOpen=t},expression:"selectedSubPageOpen"}},[n("keep-alive",[e.selectedSubPage?n(e.selectedSubPage,{tag:"component"}):e._e()],1)],1),e._v(" "),n("div",{staticClass:"icon-list"},[e._l(e.tags,(function(t){return n("div",{key:t.name,staticClass:"component-tags-item",class:{selected:t.name===e.selectedTagName},on:{click:function(n){return e.selectTag(t)}}},[n("VIcon",{style:{color:t.color},attrs:{size:20,icon:t.icon}})],1)})),e._v(" "),n("div",{staticClass:"grow"}),e._v(" "),e._l(e.subPages,(function(e){return n("div",{key:e.name,staticClass:"component-tags-item"},[n("VIcon",{style:{color:"inherit"},attrs:{size:20,icon:e.icon}})],1)}))],2),e._v(" "),n("div",{staticClass:"component-tags"},[e._l(e.tags,(function(t){return n("div",{key:t.name,staticClass:"component-tags-item",class:{selected:t.name===e.selectedTagName},on:{click:function(n){return e.selectTag(t)}}},[n("VIcon",{style:{color:t.color},attrs:{size:20,icon:t.icon}}),e._v(" "),n("div",{staticClass:"tag-name"},[e._v("\n "+e._s(t.displayName)+"\n ")]),e._v(" "),n("div",{staticClass:"tag-count"},[e._v("\n ("+e._s(t.count)+")\n ")])],1)})),e._v(" "),n("div",{staticClass:"grow"}),e._v(" "),e._l(e.subPages,(function(t){return n("div",{key:t.name,staticClass:"component-tags-item",on:{click:function(n){return e.openSubPage(n,t.component)}}},[n("VIcon",{style:{color:"inherit"},attrs:{size:20,icon:t.icon}}),e._v(" "),n("div",{staticClass:"tag-name"},[e._v("\n "+e._s(t.displayName)+"\n ")])],1)}))],2)],1)};fe._withStripped=!0;var he=n(5945),me=n(7553);const ge=[{name:"userComponentsManage",displayName:"组件",component:()=>Promise.resolve().then(n.bind(n,1438)).then((e=>e.default)),icon:"mdi-cube-scan"},{name:"userPluginsManage",displayName:"插件",component:()=>Promise.resolve().then(n.bind(n,2478)).then((e=>e.default)),icon:"mdi-puzzle-outline"},{name:"customStylesManage",displayName:"样式",component:()=>Promise.resolve().then(n.bind(n,3187)).then((e=>e.default)),icon:"mdi-tune"},{name:"about",displayName:"关于",component:()=>Promise.resolve().then(n.bind(n,5441)).then((e=>e.default)),icon:"mdi-information-outline"}],be=[({renderedComponents:e})=>({name:"all",displayName:"全部",color:"inherit",icon:"mdi-shape-outline",order:0,count:e.length,filter:e=>e}),({renderedComponents:e})=>{const t=[];e.forEach((e=>e.tags.forEach((e=>{t.push({count:0,...e,filter:t=>t.filter((t=>"all"===e.name||t.tags.some((t=>t.name===e.name))))})}))));const n=lodash.countBy(t,(e=>e.name));return lodash.uniqBy(t,(e=>e.name)).map((e=>({...e,count:n[e.name]})))}],[ve]=(0,J.registerAndGetData)("settingsPanel.tagFilters",be);var ye=Vue.extend({components:{VIcon:u.default,VPopup:me.default},data:()=>({tags:[],selectedTagName:"",subPages:ge,selectedSubPage:null,selectedSubPageOpen:!1,selectedSubPageTrigger:null}),created(){this.refreshTags(),this.reset()},mounted(){this.selectTag(this.tags[0])},methods:{refreshTags(){const e=L.components.filter((e=>!e.hidden)),t=ve.flatMap((t=>"function"==typeof t?t({components:L.components,renderedComponents:e}):t));this.tags=t.sort((0,he.ascendingSort)((e=>e.order)))},reset(){this.selectedTagName=this.tags[0].name},selectTag(e){this.selectedTagName=e.name;const{filter:t}=this.tags.find((t=>t.name===e.name));this.$emit("change",t)},async openSubPage(e,t){this.selectedSubPage!==t?(this.selectedSubPage=t,this.selectedSubPageTrigger=e.currentTarget,await this.$nextTick(),this.selectedSubPageOpen=!0):this.selectedSubPageOpen=!this.selectedSubPageOpen}}}),we=n(2915),xe=n.n(we),ke={insert:"head",singleton:!1},_e=(v()(xe(),ke),xe().locals,(0,k.Z)(ye,fe,[],!1,null,null,null));_e.options.__file="src/components/settings-panel/ComponentTags.vue";var Ce=_e.exports;const Se=e=>e;var Ee={name:"SettingsPanel",components:{VIcon:r.VIcon,TextBox:r.TextBox,VPopup:r.VPopup,VEmpty:r.VEmpty,ComponentSettings:O,ComponentDetail:pe,ComponentTags:Ce},data:()=>({components:L.components,renderedComponents:L.components.filter((e=>!e.hidden)),selectedComponent:null,componentDetailOpen:!1,collasped:!1,peek:!1,searchKeyword:"",searchFilter:Se}),computed:{tags(){const e=this.renderedComponents;let t=[];e.forEach((e=>e.tags.forEach((e=>{t.push({count:0,...e})}))));const n=lodash.countBy(t,(e=>e.name));return t=lodash.uniqBy(t,(e=>e.name)),t.forEach((e=>e.count=n[e.name])),t}},watch:{searchKeyword:lodash.debounce((function(){this.updateRenderedComponents()}),200),searchFilter(){this.searchKeyword="",this.updateRenderedComponents()},components(){this.updateRenderedComponents(),this.$refs.componentTags.refreshTags(),this.components.some((e=>e.name===this.selectedComponent?.name))||(this.selectedComponent=null)}},methods:{closePopper(){this.componentDetailOpen=!1},selectComponent(e){const t=(0,a.getHook)("settingsPanel.componentDetail.close"),n=(0,a.getHook)("settingsPanel.componentDetail.open"),i=this.selectedComponent?.name,r=this.componentDetailOpen&&i===e.name;t.before(i),this.closePopper(),t.after(i),r||(n.before(e.name),this.selectedComponent=e,this.componentDetailOpen=!0,n.after(e.name))},updateRenderedComponents(){const e=L.components.filter((e=>{if(e.hidden)return!1;if(this.searchKeyword){return[e.name,e.displayName,e.tags.map((e=>`${e.name}\n${e.displayName}`)).join("\n"),(0,z.getDescriptionText)(e)].join("\n").toLowerCase().includes(this.searchKeyword.toLowerCase())}return!0}));this.renderedComponents=this.searchFilter(e)}}},$e=n(3374),Ae=n.n($e),Ie={insert:"head",singleton:!1},Te=(v()(Ae(),Ie),Ae().locals,(0,k.Z)(Ee,i,[],!1,null,null,null));Te.options.__file="src/components/settings-panel/SettingsPanel.vue";var Oe=Te.exports},5208:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return g}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"widgets-panel"},[n("div",{staticClass:"widgets-panel-header"},[n("VIcon",{attrs:{icon:"widgets"}}),e._v("功能\n ")],1),e._v(" "),e.loading||0!==e.widgets.length?e._e():n("VEmpty",{staticClass:"widgets-empty"}),e._v(" "),n("div",{staticClass:"widget-items"},e._l(e.widgets,(function(e){return n(e.component,{key:e.name,tag:"component",staticClass:"widget-item",attrs:{options:e.options}})})),1)],1)};i._withStripped=!0;var r=n(1906),a=n(3923),o=n(950),s=n(6243);const l=[];var c=Vue.extend({components:{VIcon:a.VIcon,VEmpty:a.VEmpty},data:()=>(unsafeWindow.allWidgets=l,{allWidgets:l,widgets:[],loading:!0}),watch:{allWidgets(){this.allWidgets.forEach((async e=>{await(async e=>{if(e.urlExclude&&e.urlExclude.some(r.matchUrlPattern))return!1;if(e.urlInclude&&e.urlInclude.every(lodash.negate(r.matchUrlPattern)))return!1;if(e.condition){const t=e.condition();return!0===t||t instanceof Promise&&!0===await t}return!0})(e)?this.widgets.push(e):(0,r.deleteValue)(this.widgets,(t=>t.name===e.name))})),console.log("updated widgets",this.widgets)}},created(){(0,o.registerAndGetData)(s.WidgetsPlugin,l),this.$nextTick().then((()=>this.loading=!1))}}),d=n(3379),u=n.n(d),p=n(3731),f=n.n(p),h={insert:"head",singleton:!1},m=(u()(f(),h),f().locals,(0,n(1900).Z)(c,i,[],!1,null,null,null));m.options.__file="src/components/settings-panel/WidgetsPanel.vue";var g=m.exports},5441:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return b}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"be-about-page"},[n("div",{staticClass:"be-about-page-header"},[n("VIcon",{attrs:{icon:"mdi-information-outline"}}),e._v(" "),n("div",{staticClass:"title-text"},[e._v("\n 关于\n ")])],1),e._v(" "),n("div",{staticClass:"be-about-page-content"},[n("div",{staticClass:"script-meta-info"},[n("div",{staticClass:"meta-info-name"},[e._v("\n "+e._s(e.meta.name)+"\n ")]),e._v(" "),n("div",{staticClass:"meta-info-version"},[e._v("\n "+e._s(e.meta.compilationInfo.versionWithTag)+"\n ")]),e._v(" "),n("div",{staticClass:"meta-info-description"},[e._v("\n "+e._s(e.meta.description)+"\n ")])]),e._v(" "),n("div",{staticClass:"script-links"},[n("a",{staticClass:"homepage script-link",attrs:{target:"_blank",href:"https://github.com/the1812/Bilibili-Evolved/tree/v2/"}},[n("VButton",[n("VIcon",{attrs:{icon:"mdi-home-outline",size:20}}),e._v("\n 主页\n ")],1)],1),e._v(" "),n("a",{staticClass:"feedback script-link",attrs:{target:"_blank",href:"https://github.com/the1812/Bilibili-Evolved/issues"}},[n("VButton",[n("VIcon",{attrs:{icon:"mdi-message-text-outline",size:18}}),e._v("\n 反馈\n ")],1)],1),e._v(" "),n("a",{staticClass:"releases script-link",attrs:{target:"_blank",href:"https://github.com/the1812/Bilibili-Evolved/releases"}},[n("VButton",[n("VIcon",{attrs:{icon:"mdi-update",size:20}}),e._v("\n 更新日志\n ")],1)],1),e._v(" "),n("a",{staticClass:"donate script-link",attrs:{target:"_blank",href:"https://github.com/the1812/Bilibili-Evolved/blob/preview/doc/donate.md"}},[n("VButton",[n("VIcon",{attrs:{icon:"mdi-heart-outline",size:18}}),e._v("\n 捐赠\n ")],1)],1)]),e._v(" "),n("div",{staticClass:"about-page-actions"},e._l(e.aboutPageActions,(function(t){return n("VButton",{key:t.name,staticClass:"about-page-action",attrs:{disabled:t.disabled},on:{click:function(n){return e.runAction(t,n)}}},[n("VIcon",{attrs:{icon:t.icon,size:t.iconSize||20}}),e._v("\n "+e._s(t.displayName)+"\n ")],1)})),1)])])};i._withStripped=!0;var r=n(1836),a=n(3708),o=n(3923),s=n(950);const l=[{icon:"mdi-inbox-arrow-up-outline",name:"exportSettings",displayName:"导出设置",run:async()=>{const{settings:e}=await Promise.resolve().then(n.bind(n,6171)),{DownloadPackage:t}=await Promise.resolve().then(n.bind(n,4114));t.single("settings.json",JSON.stringify(e,void 0,2))}},{icon:"mdi-inbox-arrow-down-outline",name:"importSettings",displayName:"导入设置",run:async()=>{const{logError:e}=await Promise.resolve().then(n.bind(n,2264)),{pickFile:t}=await Promise.resolve().then(n.bind(n,7590)),{Toast:i}=await Promise.resolve().then(n.bind(n,5683)),r=await t({accept:"*.json"});if(0===r.length)return;const[a]=r;try{const e=JSON.parse(await a.text());Object.entries(e).forEach((([e,t])=>{GM_setValue(e,t)})),i.success("导入成功, 正在刷新页面...","导入设置"),window.location.reload()}catch(t){e(t)}}}],[c]=(0,s.registerAndGetData)("settingsPanel.about.actions",l);var d=Vue.extend({components:{VButton:o.VButton,VIcon:o.VIcon},data:()=>({meta:r.meta,aboutPageActions:c}),methods:{formatDateTime:a.formatDateTime,async runAction(e,t){e.disabled=!0;try{await e.run(t)}finally{e.disabled=!1}}}}),u=n(3379),p=n.n(u),f=n(9455),h=n.n(f),m={insert:"head",singleton:!1},g=(p()(h(),m),h().locals,(0,n(1900).Z)(d,i,[],!1,null,null,null));g.options.__file="src/components/settings-panel/sub-pages/AboutPage.vue";var b=g.exports},1438:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return f}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"user-components-page"},[n("ManagePanel",{attrs:{config:e.config},scopedSlots:e._u([{key:"item",fn:function(t){var i=t.item;return[n("UserItem",{attrs:{config:e.getItemConfig(i)}})]}}])})],1)};i._withStripped=!0;var r=n(8171),a=n(7010),o=n(6171),s=n(9543),l=n(1167),c=n(3303);const d={key:"userComponents",icon:"mdi-cube-scan",title:"组件",description:"可以在此处添加或删除组件, 要查看组件详情, 请回到设置面板查看.",list:r.components,listFilter:(e,t,n)=>!(t&&!`${e.name}\n${e.displayName}`.toLowerCase().includes(t.toLowerCase()))&&!(n&&!(0,o.isUserComponent)(e)),async onItemAdd(e,t){const{before:n,after:i}=(0,s.getHook)("userComponents.add",e,t);await n();const{metadata:r,message:o}=await(0,a.installComponent)(e);return await i(r),o}};var u=Vue.extend({components:{ManagePanel:l.Z,UserItem:c.Z},data:()=>({config:d}),methods:{getItemConfig:e=>({key:"userComponents",item:e,isUserItem:(0,o.isUserComponent)(e),getSettings:e=>(0,o.getComponentSettings)(e),onItemRemove:async e=>{const{before:t,after:n}=(0,s.getHook)("userComponents.remove",e);await t(),(0,a.uninstallComponent)(e.name),await n()}})}}),p=(0,n(1900).Z)(u,i,[],!1,null,null,null);p.options.__file="src/components/settings-panel/sub-pages/UserComponentsPage.vue";var f=p.exports},2478:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return p}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"user-plugins-page"},[n("ManagePanel",{attrs:{config:e.config},scopedSlots:e._u([{key:"item",fn:function(t){var i=t.item;return[n("UserItem",{attrs:{config:e.getItemConfig(i)}})]}}])})],1)};i._withStripped=!0;var r=n(6171),a=n(9543),o=n(1623),s=n(1167),l=n(3303);const c={key:"userPlugins",icon:"mdi-puzzle-outline",title:"插件",description:"可以在此处管理插件, 插件能够增强现有组件的功能. 内置插件包括脚本本体包含的插件和组件自带的插件, 组件自带的插件会自动随组件卸载而卸载.",list:o.plugins,listFilter:(e,t,n)=>!(t&&!`${e.name}\n${e.displayName}`.toLowerCase().includes(t.toLowerCase()))&&!(n&&!(0,r.isUserPlugin)(e.name)),async onItemAdd(e,t){const{before:n,after:i}=(0,a.getHook)("userPlugins.add",e,t);await n();const{message:r,metadata:s}=await(0,o.installPlugin)(e);return await i(s),r}};var d=Vue.extend({components:{ManagePanel:s.Z,UserItem:l.Z},data:()=>({config:c}),methods:{getItemConfig:e=>({key:"userPlugins",item:e,isUserItem:(0,r.isUserPlugin)(e.name),onItemRemove:async e=>{const{before:t,after:n}=(0,a.getHook)("userPlugins.remove",e);await t(),(0,o.uninstallPlugin)(e.name),await n()}})}}),u=(0,n(1900).Z)(d,i,[],!1,null,null,null);u.options.__file="src/components/settings-panel/sub-pages/UserPluginsPage.vue";var p=u.exports},3187:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"user-styles-page"},[n("ManagePanel",{attrs:{config:e.config},scopedSlots:e._u([{key:"item",fn:function(t){var i=t.item;return[n("UserItem",{attrs:{config:e.getItemConfig(i)}})]}}])})],1)};i._withStripped=!0;var r=n(9543),a=n(8900),o=n(1167),s=n(3303);const l={key:"userStyles",icon:"mdi-tune",title:"样式",description:"可以在此处管理自定义样式, 自定义样式能简单修改界面元素以满足您的需求, 对于更复杂的样式, 推荐使用 Stylus 浏览器插件来管理.",list:a.styles,listFilter:(e,t)=>!(t&&!`${e.name}\n${e.displayName}`.toLowerCase().includes(t.toLowerCase())),async onItemAdd(e,t){const{before:n,after:i}=(0,r.getHook)("userStyles.add",e,t);await n();const{message:o,metadata:s}=await(0,a.installStyle)(e);return await i(s),o}};var c=Vue.extend({components:{ManagePanel:o.Z,UserItem:s.Z},data:()=>({config:l}),methods:{getItemConfig:e=>({key:"userStyles",item:e,isUserItem:!0,onItemRemove:async e=>{const{before:t,after:n}=(0,r.getHook)("userStyles.remove",e);await t(),(0,a.uninstallStyle)(e.name),await n()}})}}),d=(0,n(1900).Z)(c,i,[],!1,null,null,null);d.options.__file="src/components/settings-panel/sub-pages/UserStylesPage.vue";var u=d.exports},1167:function(e,t,n){"use strict";n.d(t,{Z:function(){return O}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"manage-panel"},[n("div",{staticClass:"manage-panel-title sub-page-row"},[n("VIcon",{attrs:{icon:e.config.icon}}),e._v(" "),n("div",{staticClass:"title-text"},[e._v("\n "+e._s(e.config.title)+"\n ")]),e._v(" "),n("VIcon",{attrs:{icon:"search",size:18}}),e._v(" "),n("TextBox",{staticClass:"list-search",attrs:{placeholder:"在 "+e.filteredList.length+" 个"+e.config.title+"中搜索"},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}})],1),e._v(" "),e.config.description?n("div",{staticClass:"sub-page-row"},[n("div",{staticClass:"description-text"},[e._v("\n "+e._s(e.config.description)+"\n ")])]):e._e(),e._v(" "),e.config.description?n("div",{staticClass:"sub-page-row separator"}):e._e(),e._v(" "),n("div",{staticClass:"sub-page-row add-item-row"},[n("div",{staticClass:"title-text"},[e._v("\n 添加"+e._s(e.config.title)+":\n ")]),e._v(" "),n("div",{staticClass:"item-actions"},[n("VButton",{ref:"batchAddButton",on:{click:function(t){return e.showBatchAddPopup()}}},[n("VIcon",{attrs:{size:18,icon:"mdi-download-multiple"}}),e._v("\n 批量\n ")],1),e._v(" "),n("VButton",{on:{click:function(t){return e.browse()}}},[n("VIcon",{attrs:{size:18,icon:"mdi-folder-open-outline"}}),e._v("\n 浏览\n ")],1),e._v(" "),n("OnlineRegistryButton",[n("VIcon",{attrs:{size:18,icon:"mdi-web"}}),e._v("\n 在线\n ")],1)],1),e._v(" "),n("VPopup",{staticClass:"batch-add-popup",attrs:{"trigger-element":e.$refs.batchAddButton},model:{value:e.batchAddShow,callback:function(t){e.batchAddShow=t},expression:"batchAddShow"}},[n("TextArea",{ref:"batchAddTextArea",staticClass:"batch-add-textarea",attrs:{placeholder:"批量粘贴功能链接, 可以混合其他类型的功能 (如合集包)"},model:{value:e.batchUrl,callback:function(t){e.batchUrl=t},expression:"batchUrl"}}),e._v(" "),n("div",{staticClass:"batch-add-actions"},[n("VButton",{on:{click:function(t){e.batchAddShow=!1}}},[n("VIcon",{attrs:{size:12,icon:"close"}}),e._v("\n 取消\n ")],1),e._v(" "),n("VButton",{attrs:{type:"primary",disabled:!e.batchUrl},on:{click:function(t){return e.batchAddItem()}}},[n("VIcon",{attrs:{size:18,icon:"mdi-plus"}}),e._v("\n 添加\n ")],1)],1)],1)],1),e._v(" "),n("div",{staticClass:"sub-page-row"},[n("TextBox",{staticClass:"item-url",attrs:{placeholder:"粘贴"+e.config.title+"链接"},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.addItem()}},model:{value:e.url,callback:function(t){e.url=t},expression:"url"}}),e._v(" "),n("VButton",{attrs:{disabled:!e.url},on:{click:function(t){return e.addItem()}}},[n("VIcon",{attrs:{size:18,icon:"mdi-plus"}}),e._v("\n 添加\n ")],1)],1),e._v(" "),n("div",{staticClass:"sub-page-row separator"}),e._v(" "),n("div",{staticClass:"sub-page-row"},[n("div",{staticClass:"title-text"},[e._v("\n 已安装的"+e._s(e.config.title)+":\n ")]),e._v(" "),n("div",{staticClass:"exclude-built-in"},[e._v("\n 隐藏内置"+e._s(e.config.title)+"\n "),n("SwitchBox",{model:{value:e.excludeBuiltIn,callback:function(t){e.excludeBuiltIn=t},expression:"excludeBuiltIn"}})],1)]),e._v(" "),e.loaded?e._e():n("div",{staticClass:"sub-page-row"},[n("VLoading",{key:"loading"})],1),e._v(" "),e.loaded?n("div",{staticClass:"manage-item-list"},[0===e.debouncedList.length?n("VEmpty",{key:"empty"}):e._e(),e._v(" "),e._l(e.debouncedList,(function(t){return n("ManageItem",{key:t.name},[e._t("item",[e._v("\n "+e._s(t.displayName)+"\n ")],{item:t})],2)}))],2):e._e()])};i._withStripped=!0;var r=n(9513),a=n(7590),o=n(5683),s=n(2264),l=n(391),c=n(3923),d=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"manage-item",class:{virtual:e.virtual}},[e.virtual?e._e():e._t("default")],2)};d._withStripped=!0;var u=n(5858),p=Vue.extend({mixins:[(0,u.B)(".manage-panel .manage-item-list")]}),f=n(3379),h=n.n(f),m=n(9681),g=n.n(m),b={insert:"head",singleton:!1},v=(h()(g(),b),g().locals,n(1900)),y=(0,v.Z)(p,d,[],!1,null,null,null);y.options.__file="src/components/settings-panel/sub-pages/manage-panel/ManageItem.vue";var w=y.exports,x=function(){var e=this,t=e.$createElement;return(e._self._c||t)("VButton",{on:{mouseover:function(t){return e.initPopup()},click:function(t){return e.togglePopup()}}},[e._t("default")],2)};x._withStripped=!0;var k=n(5760),_=Vue.extend({components:{VButton:c.VButton},methods:{initPopup:k.initPopup,togglePopup:k.togglePopup}}),C=(0,v.Z)(_,x,[],!1,null,null,null);C.options.__file="src/components/settings-panel/sub-pages/online-registry/OnlineRegistryButton.vue";var S=C.exports,E=Vue.extend({components:{VIcon:c.VIcon,VButton:c.VButton,TextBox:c.TextBox,VEmpty:c.VEmpty,VLoading:c.VLoading,VPopup:c.VPopup,TextArea:c.TextArea,SwitchBox:c.SwitchBox,ManageItem:w,OnlineRegistryButton:S},props:{config:{type:Object,required:!0}},data:()=>({search:"",url:"",loaded:!1,batchAddShow:!1,batchUrl:"",excludeBuiltIn:!0,debouncedList:[]}),computed:{filteredList(){return this.config.list.filter((e=>this.config.listFilter(e,this.search,this.excludeBuiltIn)))}},watch:{filteredList(){this.loaded=!1,window.setTimeout((()=>{this.debouncedList=this.filteredList,this.loaded=!0}),200)}},mounted(){window.setTimeout((()=>{this.debouncedList=this.filteredList,this.loaded=!0}))},methods:{async browse(){const e=await(0,a.pickFile)({accept:"*.js;*.zip"});if(0===e.length)return;const[t]=e;let n;if(t.name.endsWith(".zip")){const e=await l.JSZipLibrary,i=await e.loadAsync(t),r=Object.values(i.files);if(0===r.length)return void o.Toast.info("不能打开空文件",`添加${this.config.title}`);n=await r[0].async("text")}else n=await t.text();try{o.Toast.info(await(this.config.onItemAdd?.(n,"")),`添加${this.config.title}`)}catch(e){(0,s.logError)(e)}},async showBatchAddPopup(){this.batchAddShow=!this.batchAddShow,this.batchAddShow&&(await this.$nextTick(),this.$refs.batchAddTextArea?.focus())},async addItem(){if(!this.url)return;const e=o.Toast.info("获取中...",`添加${this.config.title}`);try{const t=await(0,r.tryParseZip)(this.url);e.message=await(this.config.onItemAdd?.(t,this.url)),this.url=""}catch(t){console.error(t),e.type=o.ToastType.Error,e.message=t}},async batchAddItem(){if(!this.batchUrl)return;const e=this.batchUrl.split("\n").map((e=>e.trim())).filter((e=>""!==e)),t=o.Toast.info(`获取中... (0/${e.length})`,"批量添加");let n=0;const i=await Promise.allSettled(e.map((async i=>{const{message:a}=await(0,r.installFeature)(i);return n++,t.message=`获取中... (${n}/${e.length})`,a}))),a=i.filter((e=>"fulfilled"===e.status)).length,s=i.filter((e=>"rejected"===e.status)).length;t.message=`安装完成, 成功 ${a} 个, 失败 ${s} 个.`;const l=i.map(((t,n)=>{const i=e[n];return"fulfilled"===t.status?`${t.value} ${i}`:`${t.reason} ${i}`})).join("\n");console.log(l),this.batchUrl=""}}}),$=n(4510),A=n.n($),I={insert:"head",singleton:!1},T=(h()(A(),I),A().locals,(0,v.Z)(E,i,[],!1,null,null,null));T.options.__file="src/components/settings-panel/sub-pages/manage-panel/ManagePanel.vue";var O=T.exports},3303:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"user-item"},[n("div",{staticClass:"user-item-display-name"},[e._v("\n "+e._s(e.config.item.displayName)+"\n ")]),e._v(" "),n("div",{staticClass:"user-item-name"},[e._v("\n "+e._s(e.config.item.name)+"\n ")]),e._v(" "),e.config.isUserItem?n("div",{staticClass:"user-item-line"}):e._e(),e._v(" "),e.config.isUserItem?n("div",{ref:"removeIcon",staticClass:"user-item-remove",on:{dblclick:function(t){return e.removeItem()}}},[n("VIcon",{attrs:{icon:"mdi-trash-can-outline",size:18}}),e._v(" "),n("div",{ref:"removeConfirmTemplate",staticClass:"user-item-remove-confirm"},[e._v("\n 确定要卸载 "+e._s(e.config.item.displayName)+" 吗?\n "),n("VButton",{attrs:{type:"primary"},on:{click:function(t){return e.removeItem()}}},[n("VIcon",{attrs:{icon:"mdi-trash-can-outline",size:16}}),e._v("\n 确定\n ")],1)],1)],1):e._e()])};i._withStripped=!0;var r=n(5683),a=n(3923),o=n(1621),s=Vue.extend({components:{VIcon:a.VIcon,VButton:o.default},props:{config:{type:Object,required:!0}},data:()=>({removeConfirm:!1,settings:{}}),mounted(){this.config.getSettings&&(this.settings=this.config.getSettings(this.config.item)),r.Toast.mini(this.$refs.removeConfirmTemplate,this.$refs.removeIcon,{trigger:"click",hideOnClick:!0})},methods:{async removeItem(){await this.config.onItemRemove(this.config.item),this.removeConfirm=!1}}}),l=n(3379),c=n.n(l),d=n(1580),u=n.n(d),p={insert:"head",singleton:!1},f=(c()(u(),p),u().locals,(0,n(1900).Z)(s,i,[],!1,null,null,null));f.options.__file="src/components/settings-panel/sub-pages/manage-panel/UserItem.vue";var h=f.exports},135:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return p}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"be-video-control-bar-extend squirtle-block-wrap"},e._l(e.items,(function(t){return n("div",{key:t.name,staticClass:"be-video-control-bar-extend-item bilibili-player-video-btn squirtle-block-wrap",style:{order:t.order.toString()},attrs:{"data-name":t.name},on:{click:function(e){return t.action(e)}}},[n("button",[n("span",{staticClass:"bp-svgicon"},[n("VIcon",{attrs:{icon:t.icon}})],1)]),e._v(" "),n("div",{staticClass:"be-video-control-tooltip"},[e._v("\n "+e._s(t.displayName)+"\n ")])])})),0)};i._withStripped=!0;var r=n(3923),a=Vue.extend({components:{VIcon:r.VIcon},props:{items:{type:Array,required:!0}}}),o=n(3379),s=n.n(o),l=n(1885),c=n.n(l),d={insert:"head",singleton:!1},u=(s()(c(),d),c().locals,(0,n(1900).Z)(a,i,[],!1,null,null,null));u.options.__file="src/components/video/VideoControlBar.vue";var p=u.exports},2080:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"be-mini-toast-wrapper"},[n("div",{ref:"content",staticClass:"be-mini-toast-content"},[e._t("default")],2),e._v(" "),n("div",{ref:"toast",staticClass:"be-mini-toast"},[e._t("toast")],2)])};i._withStripped=!0;var r=n(8333);const a={body:()=>document.body,local:void 0};var o=Vue.extend({model:{prop:"show",event:"change"},props:{show:{type:Boolean,default:!1},container:{type:String,default:"local"}},data:()=>({toast:null}),async mounted(){await this.$nextTick();const e=a[this.container];this.toast=(0,r.$)(this.message,this.$refs.content,{content:this.$refs.toast,showOnCreate:this.show,trigger:"mouseenter focusin",onHide:()=>{this.$emit("change",!1)},onShow:()=>{this.$emit("change",!0)},appendTo:"function"==typeof e?e():e,...this.$attrs})}}),s=(0,n(1900).Z)(o,i,[],!1,null,null,null);s.options.__file="src/core/toast/MiniToast.vue";var l=s.exports},7300:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return p}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"toast-card visible",class:"toast-"+e.card.type},[n("div",{staticClass:"toast-card-border"}),e._v(" "),n("div",{staticClass:"toast-card-header"},[n("h1",{staticClass:"toast-card-title"},[e._v("\n "+e._s(e.card.title)+"\n ")]),e._v(" "),n("div",{staticClass:"toast-card-dismiss",on:{click:function(t){return e.card.dismiss()}}},[n("VIcon",{attrs:{icon:"close",size:20}})],1)]),e._v(" "),n("div",{staticClass:"toast-card-message",domProps:{innerHTML:e._s(e.card.message)}})])};i._withStripped=!0;var r=n(3923),a=Vue.extend({components:{VIcon:r.VIcon},props:{card:{type:Object,required:!0}}}),o=n(3379),s=n.n(o),l=n(735),c=n.n(l),d={insert:"head",singleton:!1},u=(s()(c(),d),c().locals,(0,n(1900).Z)(a,i,[],!1,null,null,null));u.options.__file="src/core/toast/ToastCard.vue";var p=u.exports},3353:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"be-switch-box",class:{checked:e.checked,disabled:e.disabled},attrs:{role:"switch","aria-checked":e.checked,"aria-disabled":e.disabled,tabindex:"0"},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:(t.preventDefault(),e.toggle())},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.toggle())}]}},[n("label",[n("input",{ref:"input",attrs:{type:"checkbox",disabled:e.disabled},domProps:{checked:e.checked},on:{change:function(t){return t.stopPropagation(),e.$emit("change",t.target.checked)}}}),e._v(" "),e._m(0)])])};i._withStripped=!0;var r=Vue.extend({name:"SwitchBox",model:{prop:"checked",event:"change"},props:{checked:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{toggle(){this.disabled||(this.$refs.input.checked=!this.$refs.input.checked,this.$emit("change",this.$refs.input.checked))}}}),a=n(3379),o=n.n(a),s=n(2472),l=n.n(s),c={insert:"head",singleton:!1},d=(o()(l(),c),l().locals,(0,n(1900).Z)(r,i,[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"bar"},[t("div",{staticClass:"thumb"})])}],!1,null,null,null));d.options.__file="src/ui/SwitchBox.vue";var u=d.exports},825:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return p}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"be-textbox",class:{linear:e.linear},attrs:{role:"textbox"}},[n("input",e._g(e._b({ref:"input",attrs:{type:"text"},domProps:{value:e.text},on:{change:function(t){return t.stopPropagation(),e.change(t)},input:function(t){return t.stopPropagation(),e.input(t)},compositionstart:e.compositionStart,compositionend:e.compositionEnd}},"input",e.$attrs,!1),e.restListeners)),e._v(" "),e.linear?n("div",{staticClass:"linear-bar"}):e._e()])};i._withStripped=!0;var r=n(1357),a=Vue.extend({name:"TextBox",mixins:[r.t],props:{linear:{type:Boolean,default:!1}}}),o=n(3379),s=n.n(o),l=n(6020),c=n.n(l),d={insert:"head",singleton:!1},u=(s()(c(),d),c().locals,(0,n(1900).Z)(a,i,[],!1,null,"242237dc",null));u.options.__file="src/ui/TextBox.vue";var p=u.exports},1621:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var i=function(){var e,t=this,n=t.$createElement,i=t._self._c||n;return i("div",t._g({staticClass:"be-button",class:(e={},e[t.type]=!0,e.disabled=t.disabled,e.round=t.round,e),attrs:{role:"button","aria-disabled":t.disabled,tabindex:t.disabled?-1:0},on:{keydown:[function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;e.preventDefault(),t.$listeners.click&&t.$listeners.click(e)},function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"]))return null;e.preventDefault(),t.$listeners.click&&t.$listeners.click(e)}]}},t.disabled?null:t.$listeners),[i("div",{staticClass:"content-container"},[t._t("default",[t._v("Button")])],2)])};i._withStripped=!0;var r=Vue.extend({name:"VButton",props:{type:{type:String,default:"light"},round:{type:Boolean,default:!1}},computed:{disabled(){return Boolean(this.$attrs.disabled)}}}),a=n(3379),o=n.n(a),s=n(5131),l=n.n(s),c={insert:"head",singleton:!1},d=(o()(l(),c),l().locals,(0,n(1900).Z)(r,i,[],!1,null,"7f7e80c6",null));d.options.__file="src/ui/VButton.vue";var u=d.exports},2074:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return f}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"be-loading"},[e._t("default",["string"==typeof e.config.content&&e.config.content.length>0?[e._v("\n "+e._s(e.config.content)+"\n ")]:e._e(),e._v(" "),"string"!=typeof e.config.content?n(e.config.content,{tag:"component"}):e._e()])],2)};i._withStripped=!0;var r=n(950);const[a]=(0,r.registerAndGetData)("vLoading",{content:"加载中..."});var o=Vue.extend({name:"VLoading",data:()=>({config:a})}),s=n(3379),l=n.n(s),c=n(9344),d=n.n(c),u={insert:"head",singleton:!1},p=(l()(d(),u),d().locals,(0,n(1900).Z)(o,i,[],!1,null,null,null));p.options.__file="src/ui/VLoading.vue";var f=p.exports},7553:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",e._g({staticClass:"be-popup",class:{open:e.open,fixed:e.fixed,close:!e.open,"closed-style":e.closedStyle}},e.$listeners),[e.loaded?e._t("default"):e._e()],2)};i._withStripped=!0;var r=Vue.extend({name:"VPopup",model:{prop:"open",event:"popup-change"},props:{open:{type:Boolean,required:!1,default:!1},closedStyle:{type:Boolean,required:!1,default:!0},fixed:{type:Boolean,required:!1,default:!1},triggerElement:{required:!1,default:null},lazy:{type:Boolean,required:!1,default:!0},autoClose:{type:Boolean,required:!1,default:!0},autoDestroy:{type:Boolean,required:!1,default:!1},escClose:{type:Boolean,required:!1,default:!1},autoClosePredicate:{type:Function,required:!1,default:null}},data(){return{loaded:!this.lazy}},computed:{trigger(){return null===this.triggerElement?null:"$el"in this.triggerElement?this.triggerElement.$el:this.triggerElement}},watch:{open(){this.lazy&&!this.loaded&&(this.loaded=!0),this.setAutoClose()}},mounted(){const e=this.$el;this.open&&this.setAutoClose(),this.escClose&&e.addEventListener("keydown",(e=>{"Escape"===e.key&&this.$emit("popup-change",!1)})),this.autoDestroy&&e.addEventListener("transitionend",(()=>{this.open||(this.loaded=!1)}))},methods:{openHandler(e){const t=e.target,n=document.querySelector(".toast-card-container");let i=t!==this.trigger&&!this.trigger?.contains(t)&&t!==this.$el&&!this.$el.contains(t)&&!n?.contains(t);this.autoClosePredicate&&(i=i&&this.autoClosePredicate({target:t,element:this.$el,trigger:this.trigger})),i&&this.$emit("popup-change",!1)},setAutoClose(){if(this.autoClose){["mousedown","touchstart"].forEach((e=>{this.open?document.documentElement.addEventListener(e,this.openHandler):document.documentElement.removeEventListener(e,this.openHandler)}))}},toggle(){this.$emit("popup-change",!this.open)}}}),a=n(3379),o=n.n(a),s=n(9751),l=n.n(s),c={insert:"head",singleton:!1},d=(o()(l(),c),l().locals,(0,n(1900).Z)(r,i,[],!1,null,null,null));d.options.__file="src/ui/VPopup.vue";var u=d.exports},7928:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return p}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"be-slider",attrs:{role:"slider",tabindex:e.focusable?0:-1},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:(t.preventDefault(),t.stopPropagation(),e.moveBy(-1))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])||"button"in t&&2!==t.button?null:(t.preventDefault(),t.stopPropagation(),e.moveBy(1))}]}},[n("div",{ref:"barContainer",staticClass:"bar-container"},[e._t("bar",[n("div",{staticClass:"default-bar"})])],2),e._v(" "),n("MiniToast",{ref:"thumbContainer",staticClass:"thumb-container",attrs:{placement:"top",arrow:!1},scopedSlots:e._u([{key:"toast",fn:function(){return[e._v("\n "+e._s(e.value)+"\n ")]},proxy:!0}])},[e._t("thumb",[n("div",{staticClass:"default-thumb"})])],2)],1)};i._withStripped=!0;var r=n(2080),a=Vue.extend({name:"VSlider",components:{MiniToast:r.Z},model:{prop:"value",event:"change"},props:{focusable:{type:Boolean,default:!0},min:{type:Number,default:0},max:{type:Number,default:100},value:{type:Number,required:!0,default:0},step:{type:Number,default:1}},watch:{value(e){this.updateThumbPosition(e)}},mounted(){this.normalizeValue(),this.setupEvents(),this.updateThumbPosition(this.value)},methods:{normalizeValue(e){if(void 0!==e)return e<this.min?this.min:e>this.max?this.max:e;this.value<this.min?this.$emit("change",this.min):this.value>this.max&&this.$emit("change",this.max)},updateThumbPosition(e){this.$refs.thumbContainer.$el.style.left=`${(100*(e-this.min)/(this.max-this.min)).toString()}%`},setupEvents(){const e=this.$refs.barContainer,t=this.$refs.thumbContainer.$el,n=e=>{this.$emit("change",e)};e.addEventListener("click",(t=>{const i=t.offsetX,r=e.getBoundingClientRect().width,a=this.max*(i/r);n(Math.trunc(a/this.step)*this.step)})),t.addEventListener("mousedown",(()=>this.$el.focus())),t.addEventListener("touchstart",(()=>this.$el.focus()));let i=!1,r=0,a=[0,0];const o=e=>{i=!0,r=this.value,a=[e.screenX,e.screenY];const t=()=>i=!1;document.body.addEventListener("mouseup",t,{once:!0}),document.body.addEventListener("touchend",t,{once:!0})};t.addEventListener("mousedown",(e=>{e.preventDefault(),o(e)})),t.addEventListener("touchstart",(e=>{1===e.touches.length&&(e.preventDefault(),o(e.touches[0]))}));const s=t=>{const[i]=a,o=t.screenX-i,s=e.getBoundingClientRect().width,l=(this.max-this.min)*(o/s),c=this.normalizeValue(r+Math.trunc(l/this.step)*this.step);n(c)};document.body.addEventListener("mousemove",(e=>{i&&(e.preventDefault(),s(e))})),document.body.addEventListener("touchmove",(e=>{i&&1===e.touches.length&&(e.preventDefault(),s(e.touches[0]))}),{passive:!1})},moveBy(e){const t=e*this.step;this.$emit("change",this.normalizeValue(this.value+t))}}}),o=n(3379),s=n.n(o),l=n(6018),c=n.n(l),d={insert:"head",singleton:!1},u=(s()(c(),d),c().locals,(0,n(1900).Z)(a,i,[],!1,null,"a7e33a16",null));u.options.__file="src/ui/VSlider.vue";var p=u.exports},5464:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return g}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("i",e._g(e._b({staticClass:"be-icon",class:e.classes,style:{"--size":e.size+"px"}},"i",e.$attrs,!1),e.$listeners),[e._t("default"),e._v(" "),e.icon in e.$options.static.customIcons?n("div",{staticClass:"custom-icon",domProps:{innerHTML:e._s(e.$options.static.customIcons[e.icon])}}):e._e()],2)};i._withStripped=!0;var r=n(950);const a=n(5454),o=lodash.fromPairs(a.keys().map((e=>[e.replace(/.*\/([^/]+?)\.svg$/,"$1"),a(e).default]))),[s]=(0,r.registerAndGetData)("ui.icons",o),l={customIcons:o};var c=Vue.extend({name:"VIcon",props:{icon:{type:String,default:""},size:{type:Number,default:24}},computed:{classes(){const e=this.$options.static.customIcons,t=this.icon;return""===t||t in e?[]:t.startsWith("mdi-")?["mdi",t]:[`be-iconfont-${t}`]}},beforeCreate(){this.$options.static=l}}),d=n(3379),u=n.n(d),p=n(3997),f=n.n(p),h={insert:"head",singleton:!1},m=(u()(f(),h),f().locals,(0,n(1900).Z)(c,i,[],!1,null,null,null));m.options.__file="src/ui/icon/VIcon.vue";var g=m.exports},1900:function(e,t,n){"use strict";function i(e,t,n,i,r,a,o,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),o?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(e,t){return l.call(t),d(e,t)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return{exports:e,options:c}}n.d(t,{Z:function(){return i}})},4353:function(e,t,n){var i={"./ajax-hook/index.ts":7761,"./id-search/index.ts":9717};function r(e){var t=a(e);return n(t)}function a(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id=4353},5269:function(e,t,n){"use strict";n.r(t),n.d(t,{pako:function(){return i}});
|
||
/* eslint-disable */
|
||
const i=function e(t,n,i){function r(o,s){if(!n[o]){if(!t[o]){if(a)return a(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[o]={exports:{}};t[o][0].call(c.exports,(function(e){return r(t[o][1][e]||e)}),c,c.exports,e,t,n,i)}return n[o].exports}for(var a=void 0,o=0;o<i.length;o++)r(i[o]);return r}({1:[function(e,t,n){var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(e){for(var t,n,i=Array.prototype.slice.call(arguments,1);i.length;){var r=i.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var a in r)t=r,n=a,Object.prototype.hasOwnProperty.call(t,n)&&(e[a]=r[a])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var r={arraySet:function(e,t,n,i,r){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+i),r);else for(var a=0;a<i;a++)e[r+a]=t[n+a]},flattenChunks:function(e){var t,n,i,r,a,o;for(t=i=0,n=e.length;t<n;t++)i+=e[t].length;for(o=new Uint8Array(i),t=r=0,n=e.length;t<n;t++)a=e[t],o.set(a,r),r+=a.length;return o}},a={arraySet:function(e,t,n,i,r){for(var a=0;a<i;a++)e[r+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,r)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,a))},n.setTyped(i)},{}],2:[function(e,t,n){var i=e("./common"),r=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(e){r=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){a=!1}for(var o=new i.Buf8(256),s=0;s<256;s++)o[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function l(e,t){if(t<65534&&(e.subarray&&a||!e.subarray&&r))return String.fromCharCode.apply(null,i.shrinkBuf(e,t));for(var n="",o=0;o<t;o++)n+=String.fromCharCode(e[o]);return n}o[254]=o[254]=1,n.string2buf=function(e){var t,n,r,a,o,s=e.length,l=0;for(a=0;a<s;a++)55296==(64512&(n=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(r=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(r-56320),a++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=new i.Buf8(l),a=o=0;o<l;a++)55296==(64512&(n=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(r=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(r-56320),a++),n<128?t[o++]=n:(n<2048?t[o++]=192|n>>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t},n.buf2binstring=function(e){return l(e,e.length)},n.binstring2buf=function(e){for(var t=new i.Buf8(e.length),n=0,r=t.length;n<r;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,i,r,a,s=t||e.length,c=new Array(2*s);for(n=i=0;n<s;)if((r=e[n++])<128)c[i++]=r;else if(4<(a=o[r]))c[i++]=65533,n+=a-1;else{for(r&=2===a?31:3===a?15:7;1<a&&n<s;)r=r<<6|63&e[n++],a--;1<a?c[i++]=65533:r<65536?c[i++]=r:(r-=65536,c[i++]=55296|r>>10&1023,c[i++]=56320|1023&r)}return l(c,i)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+o[e[n]]>t?n:t}},{"./common":1}],3:[function(e,t,n){t.exports=function(e,t,n,i){for(var r=65535&e|0,a=e>>>16&65535|0,o=0;0!==n;){for(n-=o=2e3<n?2e3:n;a=a+(r=r+t[i++]|0)|0,--o;);r%=65521,a%=65521}return r|a<<16|0}},{}],4:[function(e,t,n){t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],5:[function(e,t,n){var i=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,r){var a=i,o=r+n;e^=-1;for(var s=r;s<o;s++)e=e>>>8^a[255&(e^t[s])];return-1^e}},{}],6:[function(e,t,n){t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],7:[function(e,t,n){t.exports=function(e,t){var n,i,r,a,o,s,l,c,d,u,p,f,h,m,g,b,v,y,w,x,k,_,C,S,E;n=e.state,i=e.next_in,S=e.input,r=i+(e.avail_in-5),a=e.next_out,E=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),l=n.dmax,c=n.wsize,d=n.whave,u=n.wnext,p=n.window,f=n.hold,h=n.bits,m=n.lencode,g=n.distcode,b=(1<<n.lenbits)-1,v=(1<<n.distbits)-1;e:do{h<15&&(f+=S[i++]<<h,h+=8,f+=S[i++]<<h,h+=8),y=m[f&b];t:for(;;){if(f>>>=w=y>>>24,h-=w,0==(w=y>>>16&255))E[a++]=65535&y;else{if(!(16&w)){if(0==(64&w)){y=m[(65535&y)+(f&(1<<w)-1)];continue t}if(32&w){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}x=65535&y,(w&=15)&&(h<w&&(f+=S[i++]<<h,h+=8),x+=f&(1<<w)-1,f>>>=w,h-=w),h<15&&(f+=S[i++]<<h,h+=8,f+=S[i++]<<h,h+=8),y=g[f&v];n:for(;;){if(f>>>=w=y>>>24,h-=w,!(16&(w=y>>>16&255))){if(0==(64&w)){y=g[(65535&y)+(f&(1<<w)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(k=65535&y,h<(w&=15)&&(f+=S[i++]<<h,(h+=8)<w&&(f+=S[i++]<<h,h+=8)),l<(k+=f&(1<<w)-1)){e.msg="invalid distance too far back",n.mode=30;break e}if(f>>>=w,h-=w,(w=a-o)<k){if(d<(w=k-w)&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(C=p,(_=0)===u){if(_+=c-w,w<x){for(x-=w;E[a++]=p[_++],--w;);_=a-k,C=E}}else if(u<w){if(_+=c+u-w,(w-=u)<x){for(x-=w;E[a++]=p[_++],--w;);if(_=0,u<x){for(x-=w=u;E[a++]=p[_++],--w;);_=a-k,C=E}}}else if(_+=u-w,w<x){for(x-=w;E[a++]=p[_++],--w;);_=a-k,C=E}for(;2<x;)E[a++]=C[_++],E[a++]=C[_++],E[a++]=C[_++],x-=3;x&&(E[a++]=C[_++],1<x&&(E[a++]=C[_++]))}else{for(_=a-k;E[a++]=E[_++],E[a++]=E[_++],E[a++]=E[_++],2<(x-=3););x&&(E[a++]=E[_++],1<x&&(E[a++]=E[_++]))}break}}break}}while(i<r&&a<s);i-=x=h>>3,f&=(1<<(h-=x<<3))-1,e.next_in=i,e.next_out=a,e.avail_in=i<r?r-i+5:5-(i-r),e.avail_out=a<s?s-a+257:257-(a-s),n.hold=f,n.bits=h}},{}],8:[function(e,t,n){var i=e("../utils/common"),r=e("./adler32"),a=e("./crc32"),o=e("./inffast"),s=e("./inftrees"),l=-2;function c(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function d(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function u(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new i.Buf32(852),t.distcode=t.distdyn=new i.Buf32(592),t.sane=1,t.back=-1,0):l}function p(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,u(e)):l}function f(e,t){var n,i;return e&&e.state?(i=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?l:(null!==i.window&&i.wbits!==t&&(i.window=null),i.wrap=n,i.wbits=t,p(e))):l}function h(e,t){var n,i;return e?(i=new d,(e.state=i).window=null,0!==(n=f(e,t))&&(e.state=null),n):l}var m,g,b=!0;function v(e){if(b){var t;for(m=new i.Buf32(512),g=new i.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(1,e.lens,0,288,m,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(2,e.lens,0,32,g,0,e.work,{bits:5}),b=!1}e.lencode=m,e.lenbits=9,e.distcode=g,e.distbits=5}function y(e,t,n,r){var a,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new i.Buf8(o.wsize)),r>=o.wsize?(i.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(r<(a=o.wsize-o.wnext)&&(a=r),i.arraySet(o.window,t,n-r,a,o.wnext),(r-=a)?(i.arraySet(o.window,t,n-r,r,0),o.wnext=r,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=a))),0}n.inflateReset=p,n.inflateReset2=f,n.inflateResetKeep=u,n.inflateInit=function(e){return h(e,15)},n.inflateInit2=h,n.inflate=function(e,t){var n,d,u,p,f,h,m,g,b,w,x,k,_,C,S,E,$,A,I,T,O,L,M,P,z=0,D=new i.Buf8(4),V=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return l;12===(n=e.state).mode&&(n.mode=13),f=e.next_out,u=e.output,m=e.avail_out,p=e.next_in,d=e.input,h=e.avail_in,g=n.hold,b=n.bits,w=h,x=m,L=0;e:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;b<16;){if(0===h)break e;h--,g+=d[p++]<<b,b+=8}if(2&n.wrap&&35615===g){D[n.check=0]=255&g,D[1]=g>>>8&255,n.check=a(n.check,D,2,0),b=g=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&g)<<8)+(g>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&g)){e.msg="unknown compression method",n.mode=30;break}if(b-=4,O=8+(15&(g>>>=4)),0===n.wbits)n.wbits=O;else if(O>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<O,e.adler=n.check=1,n.mode=512&g?10:12,b=g=0;break;case 2:for(;b<16;){if(0===h)break e;h--,g+=d[p++]<<b,b+=8}if(n.flags=g,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=g>>8&1),512&n.flags&&(D[0]=255&g,D[1]=g>>>8&255,n.check=a(n.check,D,2,0)),b=g=0,n.mode=3;case 3:for(;b<32;){if(0===h)break e;h--,g+=d[p++]<<b,b+=8}n.head&&(n.head.time=g),512&n.flags&&(D[0]=255&g,D[1]=g>>>8&255,D[2]=g>>>16&255,D[3]=g>>>24&255,n.check=a(n.check,D,4,0)),b=g=0,n.mode=4;case 4:for(;b<16;){if(0===h)break e;h--,g+=d[p++]<<b,b+=8}n.head&&(n.head.xflags=255&g,n.head.os=g>>8),512&n.flags&&(D[0]=255&g,D[1]=g>>>8&255,n.check=a(n.check,D,2,0)),b=g=0,n.mode=5;case 5:if(1024&n.flags){for(;b<16;){if(0===h)break e;h--,g+=d[p++]<<b,b+=8}n.length=g,n.head&&(n.head.extra_len=g),512&n.flags&&(D[0]=255&g,D[1]=g>>>8&255,n.check=a(n.check,D,2,0)),b=g=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(h<(k=n.length)&&(k=h),k&&(n.head&&(O=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),i.arraySet(n.head.extra,d,p,k,O)),512&n.flags&&(n.check=a(n.check,d,k,p)),h-=k,p+=k,n.length-=k),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===h)break e;for(k=0;O=d[p+k++],n.head&&O&&n.length<65536&&(n.head.name+=String.fromCharCode(O)),O&&k<h;);if(512&n.flags&&(n.check=a(n.check,d,k,p)),h-=k,p+=k,O)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===h)break e;for(k=0;O=d[p+k++],n.head&&O&&n.length<65536&&(n.head.comment+=String.fromCharCode(O)),O&&k<h;);if(512&n.flags&&(n.check=a(n.check,d,k,p)),h-=k,p+=k,O)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;b<16;){if(0===h)break e;h--,g+=d[p++]<<b,b+=8}if(g!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}b=g=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;b<32;){if(0===h)break e;h--,g+=d[p++]<<b,b+=8}e.adler=n.check=c(g),b=g=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=f,e.avail_out=m,e.next_in=p,e.avail_in=h,n.hold=g,n.bits=b,2;e.adler=n.check=1,n.mode=12;case 12:if(5===t||6===t)break e;case 13:if(n.last){g>>>=7&b,b-=7&b,n.mode=27;break}for(;b<3;){if(0===h)break e;h--,g+=d[p++]<<b,b+=8}switch(n.last=1&g,b-=1,3&(g>>>=1)){case 0:n.mode=14;break;case 1:if(v(n),n.mode=20,6!==t)break;g>>>=2,b-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}g>>>=2,b-=2;break;case 14:for(g>>>=7&b,b-=7&b;b<32;){if(0===h)break e;h--,g+=d[p++]<<b,b+=8}if((65535&g)!=(g>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&g,b=g=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(k=n.length){if(h<k&&(k=h),m<k&&(k=m),0===k)break e;i.arraySet(u,d,p,k,f),h-=k,p+=k,m-=k,f+=k,n.length-=k;break}n.mode=12;break;case 17:for(;b<14;){if(0===h)break e;h--,g+=d[p++]<<b,b+=8}if(n.nlen=257+(31&g),g>>>=5,b-=5,n.ndist=1+(31&g),g>>>=5,b-=5,n.ncode=4+(15&g),g>>>=4,b-=4,286<n.nlen||30<n.ndist){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;b<3;){if(0===h)break e;h--,g+=d[p++]<<b,b+=8}n.lens[V[n.have++]]=7&g,g>>>=3,b-=3}for(;n.have<19;)n.lens[V[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,M={bits:n.lenbits},L=s(0,n.lens,0,19,n.lencode,0,n.work,M),n.lenbits=M.bits,L){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;E=(z=n.lencode[g&(1<<n.lenbits)-1])>>>16&255,$=65535&z,!((S=z>>>24)<=b);){if(0===h)break e;h--,g+=d[p++]<<b,b+=8}if($<16)g>>>=S,b-=S,n.lens[n.have++]=$;else{if(16===$){for(P=S+2;b<P;){if(0===h)break e;h--,g+=d[p++]<<b,b+=8}if(g>>>=S,b-=S,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}O=n.lens[n.have-1],k=3+(3&g),g>>>=2,b-=2}else if(17===$){for(P=S+3;b<P;){if(0===h)break e;h--,g+=d[p++]<<b,b+=8}b-=S,O=0,k=3+(7&(g>>>=S)),g>>>=3,b-=3}else{for(P=S+7;b<P;){if(0===h)break e;h--,g+=d[p++]<<b,b+=8}b-=S,O=0,k=11+(127&(g>>>=S)),g>>>=7,b-=7}if(n.have+k>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;k--;)n.lens[n.have++]=O}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,M={bits:n.lenbits},L=s(1,n.lens,0,n.nlen,n.lencode,0,n.work,M),n.lenbits=M.bits,L){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,M={bits:n.distbits},L=s(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,M),n.distbits=M.bits,L){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=h&&258<=m){e.next_out=f,e.avail_out=m,e.next_in=p,e.avail_in=h,n.hold=g,n.bits=b,o(e,x),f=e.next_out,u=e.output,m=e.avail_out,p=e.next_in,d=e.input,h=e.avail_in,g=n.hold,b=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;E=(z=n.lencode[g&(1<<n.lenbits)-1])>>>16&255,$=65535&z,!((S=z>>>24)<=b);){if(0===h)break e;h--,g+=d[p++]<<b,b+=8}if(E&&0==(240&E)){for(A=S,I=E,T=$;E=(z=n.lencode[T+((g&(1<<A+I)-1)>>A)])>>>16&255,$=65535&z,!(A+(S=z>>>24)<=b);){if(0===h)break e;h--,g+=d[p++]<<b,b+=8}g>>>=A,b-=A,n.back+=A}if(g>>>=S,b-=S,n.back+=S,n.length=$,0===E){n.mode=26;break}if(32&E){n.back=-1,n.mode=12;break}if(64&E){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&E,n.mode=22;case 22:if(n.extra){for(P=n.extra;b<P;){if(0===h)break e;h--,g+=d[p++]<<b,b+=8}n.length+=g&(1<<n.extra)-1,g>>>=n.extra,b-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;E=(z=n.distcode[g&(1<<n.distbits)-1])>>>16&255,$=65535&z,!((S=z>>>24)<=b);){if(0===h)break e;h--,g+=d[p++]<<b,b+=8}if(0==(240&E)){for(A=S,I=E,T=$;E=(z=n.distcode[T+((g&(1<<A+I)-1)>>A)])>>>16&255,$=65535&z,!(A+(S=z>>>24)<=b);){if(0===h)break e;h--,g+=d[p++]<<b,b+=8}g>>>=A,b-=A,n.back+=A}if(g>>>=S,b-=S,n.back+=S,64&E){e.msg="invalid distance code",n.mode=30;break}n.offset=$,n.extra=15&E,n.mode=24;case 24:if(n.extra){for(P=n.extra;b<P;){if(0===h)break e;h--,g+=d[p++]<<b,b+=8}n.offset+=g&(1<<n.extra)-1,g>>>=n.extra,b-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===m)break e;if(k=x-m,n.offset>k){if((k=n.offset-k)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}k>n.wnext?(k-=n.wnext,_=n.wsize-k):_=n.wnext-k,k>n.length&&(k=n.length),C=n.window}else C=u,_=f-n.offset,k=n.length;for(m<k&&(k=m),m-=k,n.length-=k;u[f++]=C[_++],--k;);0===n.length&&(n.mode=21);break;case 26:if(0===m)break e;u[f++]=n.length,m--,n.mode=21;break;case 27:if(n.wrap){for(;b<32;){if(0===h)break e;h--,g|=d[p++]<<b,b+=8}if(x-=m,e.total_out+=x,n.total+=x,x&&(e.adler=n.check=n.flags?a(n.check,u,x,f-x):r(n.check,u,x,f-x)),x=m,(n.flags?g:c(g))!==n.check){e.msg="incorrect data check",n.mode=30;break}b=g=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;b<32;){if(0===h)break e;h--,g+=d[p++]<<b,b+=8}if(g!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}b=g=0}n.mode=29;case 29:L=1;break e;case 30:L=-3;break e;case 31:return-4;case 32:default:return l}return e.next_out=f,e.avail_out=m,e.next_in=p,e.avail_in=h,n.hold=g,n.bits=b,(n.wsize||x!==e.avail_out&&n.mode<30&&(n.mode<27||4!==t))&&y(e,e.output,e.next_out,x-e.avail_out)?(n.mode=31,-4):(w-=e.avail_in,x-=e.avail_out,e.total_in+=w,e.total_out+=x,n.total+=x,n.wrap&&x&&(e.adler=n.check=n.flags?a(n.check,u,x,e.next_out-x):r(n.check,u,x,e.next_out-x)),e.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0===w&&0===x||4===t)&&0===L&&(L=-5),L)},n.inflateEnd=function(e){if(!e||!e.state)return l;var t=e.state;return t.window&&(t.window=null),e.state=null,0},n.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?l:((n.head=t).done=!1,0):l},n.inflateSetDictionary=function(e,t){var n,i=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?l:11===n.mode&&r(1,t,i,0)!==n.check?-3:y(e,t,i,i)?(n.mode=31,-4):(n.havedict=1,0):l},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":1,"./adler32":3,"./crc32":5,"./inffast":7,"./inftrees":9}],9:[function(e,t,n){var i=e("../utils/common"),r=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],a=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],o=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,l,c,d,u,p){var f,h,m,g,b,v,y,w,x,k=p.bits,_=0,C=0,S=0,E=0,$=0,A=0,I=0,T=0,O=0,L=0,M=null,P=0,z=new i.Buf16(16),D=new i.Buf16(16),V=null,B=0;for(_=0;_<=15;_++)z[_]=0;for(C=0;C<l;C++)z[t[n+C]]++;for($=k,E=15;1<=E&&0===z[E];E--);if(E<$&&($=E),0===E)return c[d++]=20971520,c[d++]=20971520,p.bits=1,0;for(S=1;S<E&&0===z[S];S++);for($<S&&($=S),_=T=1;_<=15;_++)if(T<<=1,(T-=z[_])<0)return-1;if(0<T&&(0===e||1!==E))return-1;for(D[1]=0,_=1;_<15;_++)D[_+1]=D[_]+z[_];for(C=0;C<l;C++)0!==t[n+C]&&(u[D[t[n+C]]++]=C);if(0===e?(M=V=u,v=19):1===e?(M=r,P-=257,V=a,B-=257,v=256):(M=o,V=s,v=-1),_=S,b=d,I=C=L=0,m=-1,g=(O=1<<(A=$))-1,1===e&&852<O||2===e&&592<O)return 1;for(;;){for(y=_-I,u[C]<v?(w=0,x=u[C]):u[C]>v?(w=V[B+u[C]],x=M[P+u[C]]):(w=96,x=0),f=1<<_-I,S=h=1<<A;c[b+(L>>I)+(h-=f)]=y<<24|w<<16|x|0,0!==h;);for(f=1<<_-1;L&f;)f>>=1;if(0!==f?(L&=f-1,L+=f):L=0,C++,0==--z[_]){if(_===E)break;_=t[n+u[C]]}if($<_&&(L&g)!==m){for(0===I&&(I=$),b+=S,T=1<<(A=_-I);A+I<E&&!((T-=z[A+I])<=0);)A++,T<<=1;if(O+=1<<A,1===e&&852<O||2===e&&592<O)return 1;c[m=L&g]=$<<24|A<<16|b-d|0}}return 0!==L&&(c[b+L]=_-I<<24|64<<16|0),p.bits=$,0}},{"../utils/common":1}],10:[function(e,t,n){t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],11:[function(e,t,n){t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],"/lib/inflate.js":[function(e,t,n){var i=e("./zlib/inflate"),r=e("./utils/common"),a=e("./utils/strings"),o=e("./zlib/constants"),s=e("./zlib/messages"),l=e("./zlib/zstream"),c=e("./zlib/gzheader"),d=Object.prototype.toString;function u(e){if(!(this instanceof u))return new u(e);this.options=r.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var n=i.inflateInit2(this.strm,t.windowBits);if(n!==o.Z_OK)throw new Error(s[n]);if(this.header=new c,i.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=a.string2buf(t.dictionary):"[object ArrayBuffer]"===d.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=i.inflateSetDictionary(this.strm,t.dictionary))!==o.Z_OK))throw new Error(s[n])}function p(e,t){var n=new u(t);if(n.push(e,!0),n.err)throw n.msg||s[n.err];return n.result}u.prototype.push=function(e,t){var n,s,l,c,u,p=this.strm,f=this.options.chunkSize,h=this.options.dictionary,m=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,"string"==typeof e?p.input=a.binstring2buf(e):"[object ArrayBuffer]"===d.call(e)?p.input=new Uint8Array(e):p.input=e,p.next_in=0,p.avail_in=p.input.length;do{if(0===p.avail_out&&(p.output=new r.Buf8(f),p.next_out=0,p.avail_out=f),(n=i.inflate(p,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&h&&(n=i.inflateSetDictionary(this.strm,h)),n===o.Z_BUF_ERROR&&!0===m&&(n=o.Z_OK,m=!1),n!==o.Z_STREAM_END&&n!==o.Z_OK)return this.onEnd(n),!(this.ended=!0);p.next_out&&(0!==p.avail_out&&n!==o.Z_STREAM_END&&(0!==p.avail_in||s!==o.Z_FINISH&&s!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(l=a.utf8border(p.output,p.next_out),c=p.next_out-l,u=a.buf2string(p.output,l),p.next_out=c,p.avail_out=f-c,c&&r.arraySet(p.output,p.output,l,c,0),this.onData(u)):this.onData(r.shrinkBuf(p.output,p.next_out)))),0===p.avail_in&&0===p.avail_out&&(m=!0)}while((0<p.avail_in||0===p.avail_out)&&n!==o.Z_STREAM_END);return n===o.Z_STREAM_END&&(s=o.Z_FINISH),s===o.Z_FINISH?(n=i.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===o.Z_OK):s!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),!(p.avail_out=0))},u.prototype.onData=function(e){this.chunks.push(e)},u.prototype.onEnd=function(e){e===o.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=u,n.inflate=p,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,p(e,t)},n.ungzip=p},{"./utils/common":1,"./utils/strings":2,"./zlib/constants":4,"./zlib/gzheader":6,"./zlib/inflate":8,"./zlib/messages":10,"./zlib/zstream":11}]},{},[])("/lib/inflate.js")},5454:function(e,t,n){var i={"./biliplus.svg":8885,"./settings-outline.svg":5339,"./widgets.svg":8360};function r(e){var t=a(e);return n(t)}function a(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id=5454}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=function(e,t){for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};!function(){"use strict";(async()=>{window.lodash=_,Object.defineProperty(window,"_",{get:()=>(console.warn("window._ is deprecated, please use window.lodash instead."),window.lodash)});const{initVue:e}=await Promise.resolve().then(__webpack_require__.bind(__webpack_require__,4797));e();const{headLoaded:t,raiseLifeCycleEvent:n,LifeCycleEventTypes:i}=await Promise.resolve().then(__webpack_require__.bind(__webpack_require__,7177));n(i.Start);const{none:r}=await Promise.resolve().then(__webpack_require__.bind(__webpack_require__,1906)),{promiseLoadTrace:a}=await Promise.resolve().then(__webpack_require__.bind(__webpack_require__,719));await a("wait for <head>",(async()=>{await t(r)})),await a("compatibility patch",(async()=>{const{compatibilityPatch:e}=await Promise.resolve().then(__webpack_require__.bind(__webpack_require__,6684));e()}));const{coreApis:o,externalApis:s}=await Promise.resolve().then(__webpack_require__.bind(__webpack_require__,9388));unsafeWindow.bilibiliEvolved=s,window.coreApis=o,window.dq=o.utils.dq,window.dqa=o.utils.dqa,window.none=o.utils.none,window.componentsTags=o.componentApis.component.componentsTags;const{loadAllUserComponents:l}=await Promise.resolve().then(__webpack_require__.bind(__webpack_require__,8171));await a("parse user components",l);const{preloadStyles:c,loadAllCustomStyles:d}=await Promise.resolve().then(__webpack_require__.bind(__webpack_require__,6182));await a("load styles",c),n(i.StyleLoaded),await a("load components",(async()=>{const{loadAllComponents:e}=await Promise.resolve().then(__webpack_require__.bind(__webpack_require__,8171));return Promise.allSettled([e(),d()])})),n(i.ComponentsLoaded),await a("wind up",(async()=>{const e=document.createElement("link");e.rel="dns-prefetch",e.href="https://api.bilibili.com",document.head.insertAdjacentElement("afterbegin",e),requestIdleCallback((async()=>{const{getGeneralSettings:e}=await Promise.resolve().then(__webpack_require__.bind(__webpack_require__,5605)),{devMode:t}=e();if(t){const{promiseLoadTime:e,promiseResolveTime:t}=await Promise.resolve().then(__webpack_require__.bind(__webpack_require__,719)),{logStats:n}=await Promise.resolve().then(__webpack_require__.bind(__webpack_require__,9476));n("init block",e),n("init resolve",t)}}))})),n(i.End)})()}()})(); |