// ==UserScript== // @name 115不大助手 (full) // @namespace com.cloud115.enhancer // @version 0.5.41 // @author 生瓜太保 // @description Make 115 taerg again! // @license MIT // @homepage https://greasyfork.org/zh-CN/scripts/474231-115不大助手?locale_override=1 // @supportURL https://github.com // @match https://*.115.com/* // @match https://115.com/* // @connect * // @grant GM_addStyle // @grant GM_deleteValue // @grant GM_getValue // @grant GM_openInTab // @grant GM_registerMenuCommand // @grant GM_setClipboard // @grant GM_setValue // @grant unsafeWindow // @run-at document-body // @downloadURL none // ==/UserScript== (o=>{const e=document.createElement("style");e.dataset.source="vite-plugin-monkey",e.innerText=o,document.head.appendChild(e)})(`@charset "UTF-8";.pure-button{display:inline-block;line-height:normal;white-space:nowrap;vertical-align:middle;text-align:center;cursor:pointer;-webkit-user-drag:none;-webkit-user-select:none;user-select:none;box-sizing:border-box}.pure-button::-moz-focus-inner{padding:0;border:0}.pure-button-group{letter-spacing:-.31em;text-rendering:optimizespeed}.opera-only :-o-prefocus,.pure-button-group{word-spacing:-.43em}.pure-button-group .pure-button{letter-spacing:normal;word-spacing:normal;vertical-align:top;text-rendering:auto}.pure-button{font-family:inherit;font-size:100%;padding:.5em 1em;color:#000c;border:none transparent;background-color:#e6e6e6;text-decoration:none;border-radius:2px}.pure-button-hover,.pure-button:focus,.pure-button:hover{background-image:linear-gradient(transparent,rgba(0,0,0,.05) 40%,rgba(0,0,0,.1))}.pure-button:focus{outline:0}.pure-button-active,.pure-button:active{box-shadow:0 0 0 1px #00000026 inset,0 0 6px #0003 inset;border-color:#000}.pure-button-disabled,.pure-button-disabled:active,.pure-button-disabled:focus,.pure-button-disabled:hover,.pure-button[disabled]{border:none;background-image:none;opacity:.4;cursor:not-allowed;box-shadow:none;pointer-events:none}.pure-button-hidden{display:none}.pure-button-primary,.pure-button-selected,a.pure-button-primary,a.pure-button-selected{background-color:#0078e7;color:#fff}.pure-button-group .pure-button{margin:0;border-radius:0;border-right:1px solid rgba(0,0,0,.2)}.pure-button-group .pure-button:first-child{border-top-left-radius:2px;border-bottom-left-radius:2px}.pure-button-group .pure-button:last-child{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:none}.pure-table{border-collapse:collapse;border-spacing:0;empty-cells:show;border:1px solid #cbcbcb}.pure-table caption{color:#000;font:italic 85%/1 arial,sans-serif;padding:1em 0;text-align:center}.pure-table td,.pure-table th{border-left:1px solid #cbcbcb;border-width:0 0 0 1px;font-size:inherit;margin:0;overflow:visible;padding:.5em 1em}.pure-table thead{background-color:#e0e0e0;color:#000;text-align:left;vertical-align:bottom}.pure-table td{background-color:transparent}.pure-table-odd td{background-color:#f2f2f2}.pure-table-striped tr:nth-child(2n-1) td{background-color:#f2f2f2}.pure-table-bordered td{border-bottom:1px solid #cbcbcb}.pure-table-bordered tbody>tr:last-child>td{border-bottom-width:0}.pure-table-horizontal td,.pure-table-horizontal th{border-width:0 0 1px 0;border-bottom:1px solid #cbcbcb}.pure-table-horizontal tbody>tr:last-child>td{border-bottom-width:0}/*! Pure v3.0.0 Copyright 2013 Yahoo! Licensed under the BSD License. https://github.com/pure-css/pure/blob/master/LICENSE */.pure-form input[type=color],.pure-form input[type=date],.pure-form input[type=datetime-local],.pure-form input[type=datetime],.pure-form input[type=email],.pure-form input[type=month],.pure-form input[type=number],.pure-form input[type=password],.pure-form input[type=search],.pure-form input[type=tel],.pure-form input[type=text],.pure-form input[type=time],.pure-form input[type=url],.pure-form input[type=week],.pure-form select,.pure-form textarea{padding:.5em .6em;display:inline-block;border:1px solid #ccc;box-shadow:inset 0 1px 3px #ddd;border-radius:4px;vertical-align:middle;box-sizing:border-box}.pure-form input:not([type]){padding:.5em .6em;display:inline-block;border:1px solid #ccc;box-shadow:inset 0 1px 3px #ddd;border-radius:4px;box-sizing:border-box}.pure-form input[type=color]{padding:.2em .5em}.pure-form input[type=color]:focus,.pure-form input[type=date]:focus,.pure-form input[type=datetime-local]:focus,.pure-form input[type=datetime]:focus,.pure-form input[type=email]:focus,.pure-form input[type=month]:focus,.pure-form input[type=number]:focus,.pure-form input[type=password]:focus,.pure-form input[type=search]:focus,.pure-form input[type=tel]:focus,.pure-form input[type=text]:focus,.pure-form input[type=time]:focus,.pure-form input[type=url]:focus,.pure-form input[type=week]:focus,.pure-form select:focus,.pure-form textarea:focus{outline:0;border-color:#129fea}.pure-form input:not([type]):focus{outline:0;border-color:#129fea}.pure-form input[type=checkbox]:focus,.pure-form input[type=file]:focus,.pure-form input[type=radio]:focus{outline:thin solid #129FEA;outline:1px auto #129FEA}.pure-form .pure-checkbox,.pure-form .pure-radio{margin:.5em 0;display:block}.pure-form input[type=color][disabled],.pure-form input[type=date][disabled],.pure-form input[type=datetime-local][disabled],.pure-form input[type=datetime][disabled],.pure-form input[type=email][disabled],.pure-form input[type=month][disabled],.pure-form input[type=number][disabled],.pure-form input[type=password][disabled],.pure-form input[type=search][disabled],.pure-form input[type=tel][disabled],.pure-form input[type=text][disabled],.pure-form input[type=time][disabled],.pure-form input[type=url][disabled],.pure-form input[type=week][disabled],.pure-form select[disabled],.pure-form textarea[disabled]{cursor:not-allowed;background-color:#eaeded;color:#cad2d3}.pure-form input:not([type])[disabled]{cursor:not-allowed;background-color:#eaeded;color:#cad2d3}.pure-form input[readonly],.pure-form select[readonly],.pure-form textarea[readonly]{background-color:#eee;color:#777;border-color:#ccc}.pure-form input:focus:invalid,.pure-form select:focus:invalid,.pure-form textarea:focus:invalid{color:#b94a48;border-color:#e9322d}.pure-form input[type=checkbox]:focus:invalid:focus,.pure-form input[type=file]:focus:invalid:focus,.pure-form input[type=radio]:focus:invalid:focus{outline-color:#e9322d}.pure-form select{height:2.25em;border:1px solid #ccc;background-color:#fff}.pure-form select[multiple]{height:auto}.pure-form label{margin:.5em 0 .2em}.pure-form fieldset{margin:0;padding:.35em 0 .75em;border:0}.pure-form legend{display:block;width:100%;padding:.3em 0;margin-bottom:.3em;color:#333;border-bottom:1px solid #e5e5e5}.pure-form-stacked input[type=color],.pure-form-stacked input[type=date],.pure-form-stacked input[type=datetime-local],.pure-form-stacked input[type=datetime],.pure-form-stacked input[type=email],.pure-form-stacked input[type=file],.pure-form-stacked input[type=month],.pure-form-stacked input[type=number],.pure-form-stacked input[type=password],.pure-form-stacked input[type=search],.pure-form-stacked input[type=tel],.pure-form-stacked input[type=text],.pure-form-stacked input[type=time],.pure-form-stacked input[type=url],.pure-form-stacked input[type=week],.pure-form-stacked label,.pure-form-stacked select,.pure-form-stacked textarea{display:block;margin:.25em 0}.pure-form-stacked input:not([type]){display:block;margin:.25em 0}.pure-form-aligned input,.pure-form-aligned select,.pure-form-aligned textarea,.pure-form-message-inline{display:inline-block;vertical-align:middle}.pure-form-aligned textarea{vertical-align:top}.pure-form-aligned .pure-control-group{margin-bottom:.5em}.pure-form-aligned .pure-control-group label{text-align:right;display:inline-block;vertical-align:middle;width:10em;margin:0 1em 0 0}.pure-form-aligned .pure-controls{margin:1.5em 0 0 11em}.pure-form .pure-input-rounded,.pure-form input.pure-input-rounded{border-radius:2em;padding:.5em 1em}.pure-form .pure-group fieldset{margin-bottom:10px}.pure-form .pure-group input,.pure-form .pure-group textarea{display:block;padding:10px;margin:0 0 -1px;border-radius:0;position:relative;top:-1px}.pure-form .pure-group input:focus,.pure-form .pure-group textarea:focus{z-index:3}.pure-form .pure-group input:first-child,.pure-form .pure-group textarea:first-child{top:1px;border-radius:4px 4px 0 0;margin:0}.pure-form .pure-group input:first-child:last-child,.pure-form .pure-group textarea:first-child:last-child{top:1px;border-radius:4px;margin:0}.pure-form .pure-group input:last-child,.pure-form .pure-group textarea:last-child{top:-2px;border-radius:0 0 4px 4px;margin:0}.pure-form .pure-group button{margin:.35em 0}.pure-form .pure-input-1{width:100%}.pure-form .pure-input-3-4{width:75%}.pure-form .pure-input-2-3{width:66%}.pure-form .pure-input-1-2{width:50%}.pure-form .pure-input-1-3{width:33%}.pure-form .pure-input-1-4{width:25%}.pure-form-message-inline{display:inline-block;padding-left:.3em;color:#666;vertical-align:middle;font-size:.875em}.pure-form-message{display:block;color:#666;font-size:.875em}@media only screen and (max-width :480px){.pure-form button[type=submit]{margin:.7em 0 0}.pure-form input:not([type]),.pure-form input[type=color],.pure-form input[type=date],.pure-form input[type=datetime-local],.pure-form input[type=datetime],.pure-form input[type=email],.pure-form input[type=month],.pure-form input[type=number],.pure-form input[type=password],.pure-form input[type=search],.pure-form input[type=tel],.pure-form input[type=text],.pure-form input[type=time],.pure-form input[type=url],.pure-form input[type=week],.pure-form label{margin-bottom:.3em;display:block}.pure-group input:not([type]),.pure-group input[type=color],.pure-group input[type=date],.pure-group input[type=datetime-local],.pure-group input[type=datetime],.pure-group input[type=email],.pure-group input[type=month],.pure-group input[type=number],.pure-group input[type=password],.pure-group input[type=search],.pure-group input[type=tel],.pure-group input[type=text],.pure-group input[type=time],.pure-group input[type=url],.pure-group input[type=week]{margin-bottom:0}.pure-form-aligned .pure-control-group label{margin-bottom:.3em;text-align:left;display:block;width:100%}.pure-form-aligned .pure-controls{margin:1.5em 0 0}.pure-form-message,.pure-form-message-inline{display:block;font-size:.75em;padding:.2em 0 .8em}}.resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper__popper{z-index:10000;top:0;left:0;outline:none}.v-popper__popper.v-popper__popper--hidden{visibility:hidden;opacity:0;transition:opacity .15s,visibility .15s;pointer-events:none}.v-popper__popper.v-popper__popper--shown{visibility:visible;opacity:1;transition:opacity .15s}.v-popper__popper.v-popper__popper--skip-transition,.v-popper__popper.v-popper__popper--skip-transition>.v-popper__wrapper{transition:none!important}.v-popper__backdrop{position:absolute;top:0;left:0;width:100%;height:100%;display:none}.v-popper__inner{position:relative;box-sizing:border-box;overflow-y:auto}.v-popper__inner>div{position:relative;z-index:1;max-width:inherit;max-height:inherit}.v-popper__arrow-container{position:absolute;width:10px;height:10px}.v-popper__popper--arrow-overflow .v-popper__arrow-container,.v-popper__popper--no-positioning .v-popper__arrow-container{display:none}.v-popper__arrow-inner,.v-popper__arrow-outer{border-style:solid;position:absolute;top:0;left:0;width:0;height:0}.v-popper__arrow-inner{visibility:hidden;border-width:7px}.v-popper__arrow-outer{border-width:6px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{left:-2px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{left:-1px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer{border-bottom-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:0}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{border-top-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{top:-4px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{top:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{top:-1px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{border-left-width:0;border-left-color:transparent!important;border-top-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{left:-4px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{left:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{right:-10px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer{border-right-width:0;border-top-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner{left:-2px}.v-popper--theme-dropdown .v-popper__inner{background:#fff;color:#000;border-radius:6px;border:1px solid #ddd;box-shadow:0 6px 30px #0000001a}.v-popper--theme-dropdown .v-popper__arrow-inner{visibility:visible;border-color:#fff}.v-popper--theme-dropdown .v-popper__arrow-outer{border-color:#ddd}.v-popper--theme-tooltip .v-popper__inner{background:rgba(0,0,0,.8);color:#fff;border-radius:6px;padding:7px 12px 6px}.v-popper--theme-tooltip .v-popper__arrow-outer{border-color:#000c}.text-center{text-align:center}.text-bold{font-weight:700}.text-cross{text-decoration:line-through}.text-primary{color:#1890ff}.text-success{color:#13ce66}.text-warning{color:#ffba00}.text-danger{color:#ff4949}.text-info{color:#909399}.ce-tips{background:#eee;border-radius:4px;padding:4px;font-size:12px;color:#595959;margin-bottom:10px}.ce-hr{border:0;height:1px;background-image:linear-gradient(to right,rgba(0,0,0,0),#ccc,rgba(0,0,0,0))}.ce-config input[type=checkbox]{width:18px;height:18px;cursor:pointer}.tabs-component-tabs{border:solid 1px #ddd;border-radius:6px;margin-bottom:5px}@media (min-width: 700px){.tabs-component-tabs{border:0;align-items:stretch;display:flex;justify-content:flex-start;margin-bottom:-1px}}.tabs-component-tab{color:#999;font-size:14px;font-weight:600;margin-right:0;list-style:none}.tabs-component-tab:not(:last-child){border-bottom:dotted 1px #ddd}.tabs-component-tab:hover{color:#666}.tabs-component-tab.is-active{color:#000}.tabs-component-tab.is-disabled *{color:#cdcdcd;cursor:not-allowed!important}@media (min-width: 700px){.tabs-component-tab{background-color:#fff;border:solid 1px #ddd;border-radius:3px 3px 0 0;margin-right:.5em;transform:translateY(2px);transition:transform .3s ease}.tabs-component-tab.is-active{border-bottom:solid 1px #fff;z-index:2;transform:translateY(0)}}.tabs-component-tab-a{align-items:center;color:inherit;display:flex;padding:.75em 1em;text-decoration:none}.tabs-component-panels{padding:1em 0}@media (min-width: 700px){.tabs-component-panels{background-color:#fff;border:solid 1px #ddd;border-radius:0 6px 6px;box-shadow:0 0 10px #0000000d;padding:1em 2em}}.tabs-component-btn{cursor:pointer;background:#e1ecf4;border-radius:3px;border:1px solid #7aa7c7;padding:4px 8px;color:#39739d}.tabs-component-btn:hover{background-color:#b3d3ea;color:#2c5777}.tabs-component-btn:active{background-color:#a0c7e4;box-shadow:none;color:#2c5777}div[class^=fp-].hidden-watermark{display:none!important}.ce-custom-url-help{position:fixed;top:0;left:0;z-index:10000;width:430px;height:100%;background:#fff;font-size:12px}.ce-custom-url-help .ce-custom-url-help-body{height:80%;overflow-y:auto;padding:20px 20px 300px}.ce-custom-url-help h1 a{float:right;color:#1e87f0;font-size:14px}.ce-custom-url-help h1 a:hover{color:#1e87f0;text-decoration:underline}.ce-custom-url-help table{width:100%;margin-bottom:20px}.ce-custom-url-help .ce-variable{cursor:pointer;color:#1e87f0;font-size:14px}.ce-custom-url-help .ce-variable:hover{color:#093d71}.ce-menu:not(.sub-item){background:#fffcea}.ce-menu img.ce-menu-icon{float:left;width:12px;height:12px;margin-right:4px}.ce-menu.list-item-hover-menu i.ce-menu-icon.icon-operate{scale:.75}.ce-menu.list-item-hover-menu.ce-menu-parent{position:relative;float:left;cursor:pointer}.ce-menu.list-item-hover-menu.ce-menu-parent:after{content:"";position:absolute;top:50%;right:0;width:1px;height:14px;margin-top:-7px;background:rgba(39,119,248,.8);pointer-events:none}.ce-menu.list-item-hover-menu.ce-menu-parent .ce-menu-trigger{padding:0 12px;color:#2777f8}.ce-menu.list-item-hover-menu.ce-menu-parent .ce-menu-trigger:before{content:"\\2228";margin-right:4px;font-size:12px}.ce-menu.list-item-hover-menu.ce-menu-parent .ce-menu-dropdown{position:absolute;background:#fff;box-shadow:0 1px 5px #2777f866;z-index:99999999;left:0;padding:4px;border-radius:4px;display:none;text-align:center;width:160px}.ce-menu.list-item-hover-menu.ce-menu-parent .ce-menu-dropdown.ce-menu-dropdown-active{display:block}.ce-menu.list-item-hover-menu.ce-menu-parent .ce-menu-dropdown .list-item-hover-menu-sub{margin:2px 0;background:#eee;color:#2877f8;width:100%;border-radius:4px;padding:6px 12px;line-height:12px;box-sizing:border-box}.ce-menu.list-item-hover-menu.ce-menu-parent .ce-menu-dropdown .list-item-hover-menu-sub:hover{background-color:#f3e882}.ce-menu.list-item-hover-menu.ce-menu-parent .ce-menu-dropdown .list-item-hover-menu-sub:after{display:none}.ce-menu.selection-menu.ce-menu-parent{position:relative;float:left;cursor:pointer}.ce-menu.selection-menu.ce-menu-parent:after{content:"";position:absolute;top:50%;right:0;width:1px;height:14px;margin-top:-7px;background:rgba(39,119,248,.8);pointer-events:none}.ce-menu.selection-menu.ce-menu-parent .ce-menu-trigger{color:#2777f8}.ce-menu.selection-menu.ce-menu-parent .ce-menu-trigger:before{content:"\\2228";margin-right:4px;font-size:12px}.ce-menu.selection-menu.ce-menu-parent.ce-menu-dropdown-opened .ce-menu-trigger{color:#fff}.ce-menu.selection-menu.ce-menu-parent .ce-menu-dropdown{position:absolute;background:#fff;box-shadow:0 1px 5px #2777f866;z-index:99999999;top:30px;left:0;width:160px;padding:4px;border-radius:4px;display:none;text-align:left}.ce-menu.selection-menu.ce-menu-parent .ce-menu-dropdown.ce-menu-dropdown-active{display:block}.ce-menu.selection-menu.ce-menu-parent .ce-menu-dropdown .selection-menu-sub{color:#2877f8;width:60px;border-radius:4px;text-align:left;display:block;width:100%;box-sizing:border-box;padding-left:4px;padding-right:4px;font-size:12px;background:transparent;cursor:pointer}.ce-menu.selection-menu.ce-menu-parent .ce-menu-dropdown .selection-menu-sub span{font-weight:400;float:inherit}.ce-menu.selection-menu.ce-menu-parent .ce-menu-dropdown .selection-menu-sub:hover{background-color:#f3e882}.ce-menu.dir-context-menu.ce-menu-parent{position:relative;cursor:pointer;padding:6px 0}.ce-menu.dir-context-menu.ce-menu-parent:after{content:">";position:absolute;opacity:.5;right:10px;pointer-events:none}.ce-menu.dir-context-menu.ce-menu-parent .ce-menu-trigger{margin-left:43px;color:#2777f8}.ce-menu.dir-context-menu.ce-menu-parent.ce-menu-dropdown-opened{background:#f3e882}.ce-menu.dir-context-menu.ce-menu-parent.ce-menu-dropdown-opened .ce-menu-trigger{color:#1c0ccf}.ce-menu.dir-context-menu.ce-menu-parent.ce-menu-dropdown-opened:after{opacity:0}.ce-menu.dir-context-menu.ce-menu-parent .ce-menu-dropdown{position:absolute;background:#fff;box-shadow:0 1px 5px #2777f866;z-index:99999999;top:-250%;left:100%;width:160px;padding:4px;border-radius:4px;display:none;text-align:left}.ce-menu.dir-context-menu.ce-menu-parent .ce-menu-dropdown.ce-menu-dropdown-active{display:block}.ce-menu.dir-context-menu.ce-menu-parent .ce-menu-dropdown .dir-context-menu-sub{color:#2877f8;width:60px;border-radius:4px;text-align:left;display:block;width:100%;box-sizing:border-box;padding:4px 8px;font-size:12px;background:transparent;cursor:pointer}.ce-menu.dir-context-menu.ce-menu-parent .ce-menu-dropdown .dir-context-menu-sub span{font-weight:400;float:inherit}.ce-menu.dir-context-menu.ce-menu-parent .ce-menu-dropdown .dir-context-menu-sub:hover{background-color:#f3e882}.ce-menu.dir-context-menu.ce-menu-parent .ce-menu-icon{width:18px;height:18px;margin-right:8px}.ce-menu.list-item-context-menu.ce-menu-parent{position:relative;cursor:pointer;padding:6px 0}.ce-menu.list-item-context-menu.ce-menu-parent:after{content:">";position:absolute;opacity:.5;right:10px;pointer-events:none}.ce-menu.list-item-context-menu.ce-menu-parent .ce-menu-trigger{margin-left:43px;color:#2777f8}.ce-menu.list-item-context-menu.ce-menu-parent.ce-menu-dropdown-opened{background:#f3e882}.ce-menu.list-item-context-menu.ce-menu-parent.ce-menu-dropdown-opened .ce-menu-trigger{color:#1c0ccf}.ce-menu.list-item-context-menu.ce-menu-parent.ce-menu-dropdown-opened:after{opacity:0}.ce-menu.list-item-context-menu.ce-menu-parent .ce-menu-dropdown{position:absolute;background:#fff;box-shadow:0 1px 5px #2777f866;z-index:99999999;top:0;left:100%;width:160px;padding:4px;border-radius:4px;display:none;text-align:left}.ce-menu.list-item-context-menu.ce-menu-parent .ce-menu-dropdown.ce-menu-dropdown-active{display:block}.ce-menu.list-item-context-menu.ce-menu-parent .ce-menu-dropdown .list-item-context-menu-sub{color:#2877f8;width:60px;border-radius:4px;text-align:left;display:block;width:100%;box-sizing:border-box;padding:4px 8px;font-size:12px;background:transparent;cursor:pointer}.ce-menu.list-item-context-menu.ce-menu-parent .ce-menu-dropdown .list-item-context-menu-sub span{font-weight:400;float:inherit}.ce-menu.list-item-context-menu.ce-menu-parent .ce-menu-dropdown .list-item-context-menu-sub:hover{background-color:#f3e882}.context-menu.menu-upward{max-height:400px!important;overflow:unset!important}.ce-menu-divider{height:1px!important;display:block!important;background-color:#edeeef!important}.ce-menu-divider:after{display:none!important}.list-item-hover-menu .ce-menu-divider{height:6px!important;background-color:transparent!important}div#js_operate_box.only-icon li[menu] span{display:none}.list-contents{padding-bottom:300px}.header-size a.ce-size-sort{cursor:pointer;background:#f2f4f8;border-radius:4px;padding:0 6px;color:#8c97a0;margin-left:10px}.header-size a.ce-size-sort i{display:none}.header-size a.ce-size-sort.by-desc{background-color:#fdc94a;color:#1a2734}.header-size a.ce-size-sort.by-desc i.icon-sort-desc{display:inline-block}.header-size a.ce-size-sort.by-asc{background-color:#fdc94a;color:#1a2734}.header-size a.ce-size-sort.by-asc i.icon-sort-asc{display:inline-block}.header-size a.ce-size-sort.ce-size-sort-ing{cursor:no-drop}.ce-offline-config .ce-tips{margin-top:20px;margin-left:56px}.ce-offline-config .pure-form-message{margin-left:56px}.ce-offline-exporter{position:absolute;left:140px;top:62px;background:#f4f2ff;padding:6px 10px;border-radius:4px}.ce-offline-exporter button{margin-right:6px}.offline-exporter-config-form{width:550px;padding:10px}.swal2-input#swalDeleteFile{width:20px;padding:0;height:20px;margin:0;vertical-align:sub;cursor:pointer}body.ce-list-s #js-main{padding-top:40px}body.ce-list-s .ce-offline-exporter{top:92px}.ce-offline-searcher{position:absolute;left:140px;top:58px;background:#f4f2ff;padding:4px 10px;border-radius:4px}.ce-offline-searcher.loading form{opacity:.5;pointer-events:none;cursor:wait}.ce-offline-searcher fieldset{padding:0}.ce-offline-searcher .clearable-wrap{position:relative;width:320px}.ce-offline-searcher .clearable-wrap.is-empty .btn-clear{display:none}.ce-offline-searcher .clearable-wrap input{width:300px;padding-right:35px!important}.ce-offline-searcher .clearable-wrap .btn-clear{position:absolute;right:30px;top:4px;display:block}.ce-offline-searcher .form-item{display:inline-block;margin-right:10px;vertical-align:middle}.ce-offline-searcher .form-item input{padding:.3em}.ce-offline-searcher .form-item select{height:2em;padding:.1em .3em}.ce-offline-searcher .form-item label{margin-right:5px}.ce-offline-searcher .help-trigger{font-size:12px}.ce-offline-searcher .list{display:none}.ce-offline-searcher .stop-on-found{width:16px;height:16px;vertical-align:middle;cursor:pointer}.ce-offline-searcher .search-tips{position:fixed;top:146px;bottom:30px;left:0;width:100%;background:#fff;z-index:9999}.ce-offline-searcher .search-tips .tips-body{padding:20px;position:absolute;top:70px;left:50%;transform:translate(-50%,-50%);background:#f4f2ff;width:80%;border-radius:6px}.cloud115-page-offline.ce-list-m .list-contents .file-name-wrap .desc-tips{left:75px}.cloud115-page-offline.ce-list-m li.ce-task-trouble .info-hash{left:210px!important}.cloud115-page-offline li .ce-buttons{float:left;margin-right:6px}.cloud115-page-offline .ce-checkbox{width:30px}.cloud115-page-offline .ce-checkbox input{display:block!important;width:20px;height:20px;cursor:pointer}.cloud115-page-offline #js-warp .info-hash{position:absolute;left:47px;top:25px;color:#ababab;cursor:pointer}.cloud115-page-offline #js-warp .info-hash.hover{color:#6ab2ff}.cloud115-page-offline #js-warp li.ce-selected:before{background:#ffe296!important}.cloud115-page-offline #js-warp li.ce-show-checkbox .info-hash{left:60px}.cloud115-page-offline #js-warp li.ce-show-checkbox .file-name{margin-left:15px}.cloud115-page-offline #js-warp li.ce-show-checkbox .file-type{left:25px!important}.cloud115-page-offline #js-warp li .ce-checkbox{width:30px;position:absolute;left:0}.cloud115-page-offline #js-warp li .ce-checkbox input{display:block!important;width:20px;height:20px;cursor:pointer}.cloud115-page-offline #js-warp li .desc-tips{position:absolute;left:60px;top:25px}.cloud115-eh-cleaner-trigger .btn-open{padding:0 6px;vertical-align:text-top;line-height:30px;border-radius:4px;background:#4faa4f}.v-popper.v-popper--theme-dropdown{display:inline-block}.group-manager{width:750px}.group-manager a{font-size:12px;padding:0 4px;margin-right:8px}.group-manager .group-label{color:#fff;font-size:12px;margin-right:10px;border-radius:4px;padding:2px 8px;background:#66acf9}.group-manager .label-readonly{background:#c93c3c;color:#fff;padding:0 4px;border-radius:4px;vertical-align:middle;margin-right:6px}.append-form{background:#fff;width:350px;padding:10px;border-radius:4px}.append-form input,.append-form textarea{width:100%}.group-form{background:#fff;width:540px;padding:10px;border-radius:4px}.group-form input,.group-form textarea{width:100%}.group-form .filter-label{cursor:pointer;padding:0 4px;text-decoration:underline}.group-form input#groupLabel{display:inline-block}.groups-list{background:#fff;width:565px;padding:10px;border-radius:4px;box-shadow:0 0 4px #d8d8d8}.groups-list table th,.groups-list table td{padding:4px 6px}.groups-list ul li{border-bottom:1px solid #eee;padding:4px}.groups-list ul li:nth-last-child(1){border-bottom:none}.groups-list span{display:inline-block}.groups-list .p-index{width:30px}.groups-list .p-label{width:120px}.groups-list .p-actions button{margin-right:8px}.group-confirm-delete{padding:20px}#cloud115Cleaner{margin-left:10px}.v-popper__arrow-container{display:none}.cloud115-eh-cleaner .btn-open{padding:0 6px;vertical-align:text-top;line-height:30px;border-radius:4px;background:#4faa4f;display:none}.cloud115-eh-cleaner .actions-bar{padding-bottom:10px}.cloud115-eh-cleaner .actions-bar .title{font-size:18px;font-weight:700;color:#15110c}.cloud115-eh-cleaner .actions-bar .close{margin-left:20px;margin-right:10px;color:#f40}.cloud115-eh-cleaner .actions-bar i.tp-folder{width:18px;height:18px;vertical-align:sub}.cloud115-eh-cleaner-help{position:fixed;top:60px;right:0;bottom:0;width:470px;z-index:1051;padding:10px 10px 150px 8px;background:#fdffdf;overflow-y:auto}.cloud115-eh-cleaner-help ul{list-style:decimal}.cloud115-eh-cleaner-drawer{position:fixed;top:60px;right:0;bottom:0;left:260px;background:#fff;z-index:1050;padding:10px 20px 200px;overflow-y:auto;box-shadow:-2px 2px 6px #bbb}.cloud115-eh-cleaner-drawer.loading{cursor:wait}.cloud115-eh-cleaner-drawer.loading button,.cloud115-eh-cleaner-drawer.loading input{cursor:no-drop;pointer-events:none}.cloud115-eh-cleaner-drawer .config-toggle{display:inline-block;background:#eee;border-radius:4px;opacity:.2;padding:2px 4px;cursor:pointer}.cloud115-eh-cleaner-drawer .config-toggle.hover{opacity:.7}.cloud115-eh-cleaner-drawer .by-box .by-header{padding-bottom:10px}.cloud115-eh-cleaner-drawer .by-box .by-header .title{font-size:16px;margin-right:8px;color:#0078e6;font-weight:400}.cloud115-eh-cleaner-drawer .by-box .by-header .filter-size{width:100px;font-size:14px;font-weight:700;color:#0078e6;text-indent:6px}.cloud115-eh-cleaner-drawer .by-box .pure-button-group{display:inline-block}.cloud115-eh-cleaner-drawer .by-box .pure-button-group .pure-button{vertical-align:inherit}.cloud115-eh-cleaner-drawer .by-box .pattern-groups{width:750px;text-align:right}.cloud115-eh-cleaner-drawer .by-box .pattern-groups a{font-size:12px;padding:0 4px;margin-right:8px}.cloud115-eh-cleaner-drawer .by-box table tr.active{background:#f7ffc3}.cloud115-eh-cleaner-drawer .by-box table tr.is-dir .pattern{color:#f40}.cloud115-eh-cleaner-drawer .by-box table tr th,.cloud115-eh-cleaner-drawer .by-box table tr td{padding:.5em;font-size:12px}.cloud115-eh-cleaner-drawer .by-box table td a{color:#2877f8}.cloud115-eh-cleaner-drawer .by-box table td .tp-folder{width:16px;height:16px;vertical-align:sub}.button-xsmall,.button-mini{font-size:12px;padding:.2em .5em}.button-small{font-size:85%}.button-large{font-size:110%}.button-xlarge{font-size:125%}.button-success,.button-error,.button-warning,.button-secondary{color:#fff;border-radius:4px;text-shadow:0 1px 1px rgba(0,0,0,.2)}.button-success{background:rgb(28,184,65)}.button-error{background:rgb(202,60,60)}.button-warning{background:rgb(223,117,20)}.button-secondary{background:rgb(66,184,221)}.ce-basic-config .pure-form-message{margin-left:82px}.ce-basic-config .avatar-preview{display:inline-block;vertical-align:middle;margin-left:10px}.ce-clouddrive-config-item{margin-bottom:20px;border:1px solid #cbcbcb;border-radius:0;padding:4px}.ce-clouddrive-config-item.active{background:#fefcea}.ce-clouddrive-config-item input:not([type]){font-size:12px}.ce-clouddrive-config-item .button-error{float:right}.ce-clouddrive-config .cd-tips a{text-decoration:underline}.ce-clouddrive-config .cd-code{font-size:110%;cursor:pointer;user-select:none}.ce-list-config .pure-control-group label{width:15em}.ce-list-config .pure-form-message{margin-left:3em}.menu-basic-config .pure-control-group label{width:170px!important}.ce-menu-config .menu-config-block{display:inline-block;border-radius:6px;margin:4px;vertical-align:top;padding:0 6px;background:#f9f9f9}.ce-menu-config .menu-config-block>form>legend{border:none;text-align:center;font-size:14px;color:#5092ff;padding:4px;margin-bottom:0}.ce-menu-config .menu-config-block>form>fieldset>div{background:#fff;margin-bottom:1px;padding:4px}.ce-menu-config .menu-config-block>form>fieldset>div:hover{background:#fefcea}.ce-menu-config .menu-config-block label{display:inline-block;width:120px;font-size:12px;line-height:20px;vertical-align:middle;cursor:pointer}.ce-menu-config input[type=checkbox]{margin-right:10px;width:18px;height:18px;cursor:pointer;vertical-align:middle}.ce-menu-config .btn-view-info{display:inline-block;margin-right:6px;vertical-align:middle;cursor:help}.ce-custom-url{border-radius:4px;box-shadow:0 0 5px #eee;border:1px solid #eee;margin-bottom:20px;padding:0 10px;background:#fff}.ce-custom-url label{cursor:pointer}.ce-custom-url input:not([type]){font-size:12px}.ce-custom-url textarea{font-size:12px;resize:vertical}.ce-custom-url input[type=checkbox]{width:18px;height:18px;cursor:pointer}.ce-custom-url .ce-custom-url-index{font-size:14px;font-weight:700;margin-right:20px}.ce-custom-url legend .button-error{float:right}.ce-custom-url fieldset>div{margin-bottom:1px;padding:4px}.ce-custom-url fieldset>div:hover{background:#fefcea}.ce-custom-urls,.ce-play-urls{padding-bottom:100px}.ce-play-urls .extra-memo{font-size:12px;margin-left:10px}.ce-play-urls .extra-memo a{text-decoration:underline;color:#337ab7}.ce-drawer{visibility:hidden}.ce-drawer.is-visible{visibility:visible}.ce-drawer.is-open .ce-drawer__overlay{opacity:.5}.ce-drawer.is-open .ce-drawer__content{transform:translate(0)}.ce-drawer__overlay{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;z-index:200;opacity:0;transition-property:opacity;background-color:#000;user-select:none}.ce-drawer__content{position:fixed;top:0;right:0;bottom:0;height:100%;width:100%;z-index:9999;overflow:auto;transition-property:transform;display:flex;flex-direction:column;transform:translate(100%);box-shadow:0 2px 6px #777}.ce-config-main .ce-intro{margin-left:35%;color:#7676ff}.ce-config-main .ce-intro small{color:#999}.ce-config-main .ce-config-main-body{padding:10px}.ce-config-main .ce-config-main-header{padding:10px;position:sticky;top:0;background:#fff;z-index:100000;box-shadow:0 1px 2px #e9e9e9}.ce-config-main .ce-config-main-header h1{display:inline;font-size:18px}.ce-config-main .ce-config-main-header .ce-config-main-close{float:right;vertical-align:top;color:#89929b;cursor:pointer;padding:2px 20px;border-radius:6px}.ce-config-main .ce-config-main-header .ce-config-main-close:hover{background:#fefcea;color:#0275ff}.list-contents ul li .ce-btn-folder-size{background:#f2f4f8;border-radius:6px;padding:4px;cursor:pointer}.list-contents ul li .ce-file-sha1{position:absolute;top:20px;color:#999;cursor:pointer;font-size:90%}.list-contents ul li.ce-show-sha1 .file-name{height:40px}.list-contents ul li.ce-size-got .ce-btn-folder-size{opacity:.6;margin-left:6px}.list-contents ul li.ce-size-got .ce-btn-folder-size:hover{opacity:1}#js_top_header_file_path_box.ce-goto-path-active .top-file-path{position:absolute;background:#fefcea;left:104px;top:-35px;z-index:9999;border-radius:4px;box-shadow:0 2px 1px #999}#js_top_header_file_path_box.ce-goto-path-active input#ceGotoPathValue{display:block}#js_top_header_file_path_box input#ceGotoPathValue{display:none;width:50%;margin-right:6px;color:#89929b;padding:2px 4px;border-radius:4px;border:1px solid #2877f8;background:#fcfffa} `); var xA=Object.defineProperty;var CA=(So,kn,Eo)=>kn in So?xA(So,kn,{enumerable:!0,configurable:!0,writable:!0,value:Eo}):So[kn]=Eo;var Ae=(So,kn,Eo)=>(CA(So,typeof kn!="symbol"?kn+"":kn,Eo),Eo);(function(){"use strict";const So="",kn="",Eo="",$A="",kA="",SA="",EA="",Jp=typeof btoa=="function",Ir=typeof Buffer=="function";typeof TextDecoder=="function"&&new TextDecoder;const Dl=typeof TextEncoder=="function"?new TextEncoder:void 0,Yp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",ns=Array.prototype.slice.call(Yp);(e=>{let t={};return e.forEach((n,o)=>t[n]=o),t})(ns);const Yt=String.fromCharCode.bind(String);typeof Uint8Array.from=="function"&&Uint8Array.from.bind(Uint8Array);const Xp=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_"),Nl=Jp?e=>btoa(e):Ir?e=>Buffer.from(e,"binary").toString("base64"):e=>{let t,n,o,s,i="";const r=e.length%3;for(let l=0;l255||(o=e.charCodeAt(l++))>255||(s=e.charCodeAt(l++))>255)throw new TypeError("invalid character found");t=n<<16|o<<8|s,i+=ns[t>>18&63]+ns[t>>12&63]+ns[t>>6&63]+ns[t&63]}return r?i.slice(0,r-3)+"===".substring(r):i},Qp=Ir?e=>Buffer.from(e).toString("base64"):e=>{let n=[];for(let o=0,s=e.length;o{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?Yt(192|t>>>6)+Yt(128|t&63):Yt(224|t>>>12&15)+Yt(128|t>>>6&63)+Yt(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return Yt(240|t>>>18&7)+Yt(128|t>>>12&63)+Yt(128|t>>>6&63)+Yt(128|t&63)}},eh=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,th=e=>e.replace(eh,Zp),Rl=Ir?e=>Buffer.from(e,"utf8").toString("base64"):Dl?e=>Qp(Dl.encode(e)):e=>Nl(th(e)),jl=(e,t=!1)=>t?Xp(Rl(e)):Rl(e);var Ao=window,Tr=(()=>Ao.GM_setValue)(),nh=(()=>Ao.GM_deleteValue)(),oh=(()=>Ao.GM_openInTab)(),Fl=(()=>Ao.GM_registerMenuCommand)(),os=(()=>Ao.GM_setClipboard)(),Qs=(()=>Ao.GM_getValue)(),Sn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ul={exports:{}};/*! * sweetalert2 v11.7.2 * Released under the MIT License. */(function(e,t){(function(n,o){e.exports=o()})(Sn,function(){var n={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const o="swal2-",s=a=>{const c={};for(const g in a)c[a[g]]=o+a[g];return c},i=s(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"]),r=s(["success","warning","info","question","error"]),l="SweetAlert2:",d=a=>{const c=[];for(let g=0;ga.charAt(0).toUpperCase()+a.slice(1),p=a=>{console.warn(`${l} ${typeof a=="object"?a.join(" "):a}`)},h=a=>{console.error(`${l} ${a}`)},y=[],E=a=>{y.includes(a)||(y.push(a),p(a))},x=(a,c)=>{E(`"${a}" is deprecated and will be removed in the next major release. Please use "${c}" instead.`)},A=a=>typeof a=="function"?a():a,O=a=>a&&typeof a.toPromise=="function",V=a=>O(a)?a.toPromise():Promise.resolve(a),I=a=>a&&Promise.resolve(a)===a,T=()=>document.body.querySelector(`.${i.container}`),Y=a=>{const c=T();return c?c.querySelector(a):null},ee=a=>Y(`.${a}`),U=()=>ee(i.popup),se=()=>ee(i.icon),ie=()=>ee(i["icon-content"]),de=()=>ee(i.title),Pe=()=>ee(i["html-container"]),pe=()=>ee(i.image),re=()=>ee(i["progress-steps"]),Ee=()=>ee(i["validation-message"]),ae=()=>Y(`.${i.actions} .${i.confirm}`),Ue=()=>Y(`.${i.actions} .${i.cancel}`),D=()=>Y(`.${i.actions} .${i.deny}`),J=()=>ee(i["input-label"]),N=()=>Y(`.${i.loader}`),we=()=>ee(i.actions),Se=()=>ee(i.footer),Le=()=>ee(i["timer-progress-bar"]),Xe=()=>ee(i.close),Qe=` a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable], audio[controls], video[controls], summary `,It=()=>{const a=Array.from(U().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort((g,v)=>{const B=parseInt(g.getAttribute("tabindex")),_e=parseInt(v.getAttribute("tabindex"));return B>_e?1:B<_e?-1:0}),c=Array.from(U().querySelectorAll(Qe)).filter(g=>g.getAttribute("tabindex")!=="-1");return d(a.concat(c)).filter(g=>R(g))},Tt=()=>et(document.body,i.shown)&&!et(document.body,i["toast-shown"])&&!et(document.body,i["no-backdrop"]),$n=()=>U()&&et(U(),i.toast),vt=()=>U().hasAttribute("data-loading"),_t={previousBodyPadding:null},ut=(a,c)=>{if(a.textContent="",c){const v=new DOMParser().parseFromString(c,"text/html");Array.from(v.querySelector("head").childNodes).forEach(B=>{a.appendChild(B)}),Array.from(v.querySelector("body").childNodes).forEach(B=>{B instanceof HTMLVideoElement||B instanceof HTMLAudioElement?a.appendChild(B.cloneNode(!0)):a.appendChild(B)})}},et=(a,c)=>{if(!c)return!1;const g=c.split(/\s+/);for(let v=0;v{Array.from(a.classList).forEach(g=>{!Object.values(i).includes(g)&&!Object.values(r).includes(g)&&!Object.values(c.showClass).includes(g)&&a.classList.remove(g)})},at=(a,c,g)=>{if(Jn(a,c),c.customClass&&c.customClass[g]){if(typeof c.customClass[g]!="string"&&!c.customClass[g].forEach){p(`Invalid type of customClass.${g}! Expected string or iterable object, got "${typeof c.customClass[g]}"`);return}L(a,c.customClass[g])}},b=(a,c)=>{if(!c)return null;switch(c){case"select":case"textarea":case"file":return a.querySelector(`.${i.popup} > .${i[c]}`);case"checkbox":return a.querySelector(`.${i.popup} > .${i.checkbox} input`);case"radio":return a.querySelector(`.${i.popup} > .${i.radio} input:checked`)||a.querySelector(`.${i.popup} > .${i.radio} input:first-child`);case"range":return a.querySelector(`.${i.popup} > .${i.range} input`);default:return a.querySelector(`.${i.popup} > .${i.input}`)}},S=a=>{if(a.focus(),a.type!=="file"){const c=a.value;a.value="",a.value=c}},M=(a,c,g)=>{!a||!c||(typeof c=="string"&&(c=c.split(/\s+/).filter(Boolean)),c.forEach(v=>{Array.isArray(a)?a.forEach(B=>{g?B.classList.add(v):B.classList.remove(v)}):g?a.classList.add(v):a.classList.remove(v)}))},L=(a,c)=>{M(a,c,!0)},F=(a,c)=>{M(a,c,!1)},Q=(a,c)=>{const g=Array.from(a.children);for(let v=0;v{g===`${parseInt(g)}`&&(g=parseInt(g)),g||parseInt(g)===0?a.style[c]=typeof g=="number"?`${g}px`:g:a.style.removeProperty(c)},q=function(a){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"flex";a.style.display=c},G=a=>{a.style.display="none"},W=(a,c,g,v)=>{const B=a.querySelector(c);B&&(B.style[g]=v)},ce=function(a,c){let g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"flex";c?q(a,g):G(a)},R=a=>!!(a&&(a.offsetWidth||a.offsetHeight||a.getClientRects().length)),ue=()=>!R(ae())&&!R(D())&&!R(Ue()),m=a=>a.scrollHeight>a.clientHeight,w=a=>{const c=window.getComputedStyle(a),g=parseFloat(c.getPropertyValue("animation-duration")||"0"),v=parseFloat(c.getPropertyValue("transition-duration")||"0");return g>0||v>0},_=function(a){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const g=Le();R(g)&&(c&&(g.style.transition="none",g.style.width="100%"),setTimeout(()=>{g.style.transition=`width ${a/1e3}s linear`,g.style.width="0%"},10))},C=()=>{const a=Le(),c=parseInt(window.getComputedStyle(a).width);a.style.removeProperty("transition"),a.style.width="100%";const g=parseInt(window.getComputedStyle(a).width),v=c/g*100;a.style.width=`${v}%`},P=100,k={},j=()=>{k.previousActiveElement instanceof HTMLElement?(k.previousActiveElement.focus(),k.previousActiveElement=null):document.body&&document.body.focus()},H=a=>new Promise(c=>{if(!a)return c();const g=window.scrollX,v=window.scrollY;k.restoreFocusTimeout=setTimeout(()=>{j(),c()},P),window.scrollTo(g,v)}),X=()=>typeof window>"u"||typeof document>"u",$e=`

    `.replace(/(^|\n)\s*/g,""),xe=()=>{const a=T();return a?(a.remove(),F([document.documentElement,document.body],[i["no-backdrop"],i["toast-shown"],i["has-column"]]),!0):!1},he=()=>{k.currentInstance.resetValidationMessage()},Ne=()=>{const a=U(),c=Q(a,i.input),g=Q(a,i.file),v=a.querySelector(`.${i.range} input`),B=a.querySelector(`.${i.range} output`),_e=Q(a,i.select),We=a.querySelector(`.${i.checkbox} input`),Lt=Q(a,i.textarea);c.oninput=he,g.onchange=he,_e.onchange=he,We.onchange=he,Lt.oninput=he,v.oninput=()=>{he(),B.value=v.value},v.onchange=()=>{he(),B.value=v.value}},xt=a=>typeof a=="string"?document.querySelector(a):a,mt=a=>{const c=U();c.setAttribute("role",a.toast?"alert":"dialog"),c.setAttribute("aria-live",a.toast?"polite":"assertive"),a.toast||c.setAttribute("aria-modal","true")},Ws=a=>{window.getComputedStyle(a).direction==="rtl"&&L(T(),i.rtl)},Ks=a=>{const c=xe();if(X()){h("SweetAlert2 requires document to initialize");return}const g=document.createElement("div");g.className=i.container,c&&L(g,i["no-transition"]),ut(g,$e);const v=xt(a.target);v.appendChild(g),mt(a),Ws(v),Ne()},kl=(a,c)=>{a instanceof HTMLElement?c.appendChild(a):typeof a=="object"?Zk(a,c):a&&ut(c,a)},Zk=(a,c)=>{a.jquery?eS(c,a):ut(c,a.toString())},eS=(a,c)=>{if(a.textContent="",0 in c)for(let g=0;g in c;g++)a.appendChild(c[g].cloneNode(!0));else a.appendChild(c.cloneNode(!0))},Gs=(()=>{if(X())return!1;const a=document.createElement("div"),c={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(const g in c)if(Object.prototype.hasOwnProperty.call(c,g)&&typeof a.style[g]<"u")return c[g];return!1})(),tS=()=>{const a=document.createElement("div");a.className=i["scrollbar-measure"],document.body.appendChild(a);const c=a.getBoundingClientRect().width-a.clientWidth;return document.body.removeChild(a),c},nS=(a,c)=>{const g=we(),v=N();!c.showConfirmButton&&!c.showDenyButton&&!c.showCancelButton?G(g):q(g),at(g,c,"actions"),oS(g,v,c),ut(v,c.loaderHtml),at(v,c,"loader")};function oS(a,c,g){const v=ae(),B=D(),_e=Ue();Sl(v,"confirm",g),Sl(B,"deny",g),Sl(_e,"cancel",g),sS(v,B,_e,g),g.reverseButtons&&(g.toast?(a.insertBefore(_e,v),a.insertBefore(B,v)):(a.insertBefore(_e,c),a.insertBefore(B,c),a.insertBefore(v,c)))}function sS(a,c,g,v){if(!v.buttonsStyling){F([a,c,g],i.styled);return}L([a,c,g],i.styled),v.confirmButtonColor&&(a.style.backgroundColor=v.confirmButtonColor,L(a,i["default-outline"])),v.denyButtonColor&&(c.style.backgroundColor=v.denyButtonColor,L(c,i["default-outline"])),v.cancelButtonColor&&(g.style.backgroundColor=v.cancelButtonColor,L(g,i["default-outline"]))}function Sl(a,c,g){ce(a,g[`show${f(c)}Button`],"inline-block"),ut(a,g[`${c}ButtonText`]),a.setAttribute("aria-label",g[`${c}ButtonAriaLabel`]),a.className=i[c],at(a,g,`${c}Button`),L(a,g[`${c}ButtonClass`])}const iS=(a,c)=>{const g=Xe();ut(g,c.closeButtonHtml),at(g,c,"closeButton"),ce(g,c.showCloseButton),g.setAttribute("aria-label",c.closeButtonAriaLabel)},rS=(a,c)=>{const g=T();!g||(aS(g,c.backdrop),lS(g,c.position),cS(g,c.grow),at(g,c,"container"))};function aS(a,c){typeof c=="string"?a.style.background=c:c||L([document.documentElement,document.body],i["no-backdrop"])}function lS(a,c){c in i?L(a,i[c]):(p('The "position" parameter is not valid, defaulting to "center"'),L(a,i.center))}function cS(a,c){if(c&&typeof c=="string"){const g=`grow-${c}`;g in i&&L(a,i[g])}}const uS=["input","file","range","select","radio","checkbox","textarea"],dS=(a,c)=>{const g=U(),v=n.innerParams.get(a),B=!v||c.input!==v.input;uS.forEach(_e=>{const We=Q(g,i[_e]);hS(_e,c.inputAttributes),We.className=i[_e],B&&G(We)}),c.input&&(B&&fS(c),mS(c))},fS=a=>{if(!Pt[a.input]){h(`Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "${a.input}"`);return}const c=bp(a.input),g=Pt[a.input](c,a);q(c),a.inputAutoFocus&&setTimeout(()=>{S(g)})},pS=a=>{for(let c=0;c{const g=b(U(),a);if(!!g){pS(g);for(const v in c)g.setAttribute(v,c[v])}},mS=a=>{const c=bp(a.input);typeof a.customClass=="object"&&L(c,a.customClass.input)},El=(a,c)=>{(!a.placeholder||c.inputPlaceholder)&&(a.placeholder=c.inputPlaceholder)},Js=(a,c,g)=>{if(g.inputLabel){a.id=i.input;const v=document.createElement("label"),B=i["input-label"];v.setAttribute("for",a.id),v.className=B,typeof g.customClass=="object"&&L(v,g.customClass.inputLabel),v.innerText=g.inputLabel,c.insertAdjacentElement("beforebegin",v)}},bp=a=>Q(U(),i[a]||i.input),Er=(a,c)=>{["string","number"].includes(typeof c)?a.value=`${c}`:I(c)||p(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof c}"`)},Pt={};Pt.text=Pt.email=Pt.password=Pt.number=Pt.tel=Pt.url=(a,c)=>(Er(a,c.inputValue),Js(a,a,c),El(a,c),a.type=c.input,a),Pt.file=(a,c)=>(Js(a,a,c),El(a,c),a),Pt.range=(a,c)=>{const g=a.querySelector("input"),v=a.querySelector("output");return Er(g,c.inputValue),g.type=c.input,Er(v,c.inputValue),Js(g,a,c),a},Pt.select=(a,c)=>{if(a.textContent="",c.inputPlaceholder){const g=document.createElement("option");ut(g,c.inputPlaceholder),g.value="",g.disabled=!0,g.selected=!0,a.appendChild(g)}return Js(a,a,c),a},Pt.radio=a=>(a.textContent="",a),Pt.checkbox=(a,c)=>{const g=b(U(),"checkbox");g.value="1",g.id=i.checkbox,g.checked=Boolean(c.inputValue);const v=a.querySelector("span");return ut(v,c.inputPlaceholder),g},Pt.textarea=(a,c)=>{Er(a,c.inputValue),El(a,c),Js(a,a,c);const g=v=>parseInt(window.getComputedStyle(v).marginLeft)+parseInt(window.getComputedStyle(v).marginRight);return setTimeout(()=>{if("MutationObserver"in window){const v=parseInt(window.getComputedStyle(U()).width),B=()=>{const _e=a.offsetWidth+g(a);_e>v?U().style.width=`${_e}px`:U().style.width=null};new MutationObserver(B).observe(a,{attributes:!0,attributeFilter:["style"]})}}),a};const gS=(a,c)=>{const g=Pe();at(g,c,"htmlContainer"),c.html?(kl(c.html,g),q(g,"block")):c.text?(g.textContent=c.text,q(g,"block")):G(g),dS(a,c)},wS=(a,c)=>{const g=Se();ce(g,c.footer),c.footer&&kl(c.footer,g),at(g,c,"footer")},yS=(a,c)=>{const g=n.innerParams.get(a),v=se();if(g&&c.icon===g.icon){_p(v,c),vp(v,c);return}if(!c.icon&&!c.iconHtml){G(v);return}if(c.icon&&Object.keys(r).indexOf(c.icon)===-1){h(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${c.icon}"`),G(v);return}q(v),_p(v,c),vp(v,c),L(v,c.showClass.icon)},vp=(a,c)=>{for(const g in r)c.icon!==g&&F(a,r[g]);L(a,r[c.icon]),xS(a,c),bS(),at(a,c,"icon")},bS=()=>{const a=U(),c=window.getComputedStyle(a).getPropertyValue("background-color"),g=a.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let v=0;v
    `,_S=` `,_p=(a,c)=>{let g=a.innerHTML,v;c.iconHtml?v=xp(c.iconHtml):c.icon==="success"?(v=vS,g=g.replace(/ style=".*?"/g,"")):c.icon==="error"?v=_S:v=xp({question:"?",warning:"!",info:"i"}[c.icon]),g.trim()!==v.trim()&&ut(a,v)},xS=(a,c)=>{if(!!c.iconColor){a.style.color=c.iconColor,a.style.borderColor=c.iconColor;for(const g of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])W(a,g,"backgroundColor",c.iconColor);W(a,".swal2-success-ring","borderColor",c.iconColor)}},xp=a=>`
    ${a}
    `,CS=(a,c)=>{const g=pe();if(!c.imageUrl){G(g);return}q(g,""),g.setAttribute("src",c.imageUrl),g.setAttribute("alt",c.imageAlt),oe(g,"width",c.imageWidth),oe(g,"height",c.imageHeight),g.className=i.image,at(g,c,"image")},$S=(a,c)=>{const g=T(),v=U();c.toast?(oe(g,"width",c.width),v.style.width="100%",v.insertBefore(N(),se())):oe(v,"width",c.width),oe(v,"padding",c.padding),c.color&&(v.style.color=c.color),c.background&&(v.style.background=c.background),G(Ee()),kS(v,c)},kS=(a,c)=>{a.className=`${i.popup} ${R(a)?c.showClass.popup:""}`,c.toast?(L([document.documentElement,document.body],i["toast-shown"]),L(a,i.toast)):L(a,i.modal),at(a,c,"popup"),typeof c.customClass=="string"&&L(a,c.customClass),c.icon&&L(a,i[`icon-${c.icon}`])},SS=(a,c)=>{const g=re();if(!c.progressSteps||c.progressSteps.length===0){G(g);return}q(g),g.textContent="",c.currentProgressStep>=c.progressSteps.length&&p("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),c.progressSteps.forEach((v,B)=>{const _e=ES(v);if(g.appendChild(_e),B===c.currentProgressStep&&L(_e,i["active-progress-step"]),B!==c.progressSteps.length-1){const We=AS(c);g.appendChild(We)}})},ES=a=>{const c=document.createElement("li");return L(c,i["progress-step"]),ut(c,a),c},AS=a=>{const c=document.createElement("li");return L(c,i["progress-step-line"]),a.progressStepsDistance&&oe(c,"width",a.progressStepsDistance),c},PS=(a,c)=>{const g=de();ce(g,c.title||c.titleText,"block"),c.title&&kl(c.title,g),c.titleText&&(g.innerText=c.titleText),at(g,c,"title")},Cp=(a,c)=>{$S(a,c),rS(a,c),SS(a,c),yS(a,c),CS(a,c),PS(a,c),iS(a,c),gS(a,c),nS(a,c),wS(a,c),typeof c.didRender=="function"&&c.didRender(U())};function $p(){const a=n.innerParams.get(this);if(!a)return;const c=n.domCache.get(this);G(c.loader),$n()?a.icon&&q(se()):OS(c),F([c.popup,c.actions],i.loading),c.popup.removeAttribute("aria-busy"),c.popup.removeAttribute("data-loading"),c.confirmButton.disabled=!1,c.denyButton.disabled=!1,c.cancelButton.disabled=!1}const OS=a=>{const c=a.popup.getElementsByClassName(a.loader.getAttribute("data-button-to-replace"));c.length?q(c[0],"inline-block"):ue()&&G(a.actions)};function IS(a){const c=n.innerParams.get(a||this),g=n.domCache.get(a||this);return g?b(g.popup,c.input):null}const TS=()=>R(U()),kp=()=>ae()&&ae().click(),LS=()=>D()&&D().click(),MS=()=>Ue()&&Ue().click(),Xo=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Sp=a=>{a.keydownTarget&&a.keydownHandlerAdded&&(a.keydownTarget.removeEventListener("keydown",a.keydownHandler,{capture:a.keydownListenerCapture}),a.keydownHandlerAdded=!1)},BS=(a,c,g,v)=>{Sp(c),g.toast||(c.keydownHandler=B=>NS(a,B,v),c.keydownTarget=g.keydownListenerCapture?window:U(),c.keydownListenerCapture=g.keydownListenerCapture,c.keydownTarget.addEventListener("keydown",c.keydownHandler,{capture:c.keydownListenerCapture}),c.keydownHandlerAdded=!0)},Al=(a,c)=>{const g=It();if(g.length){a=a+c,a===g.length?a=0:a===-1&&(a=g.length-1),g[a].focus();return}U().focus()},Ep=["ArrowRight","ArrowDown"],DS=["ArrowLeft","ArrowUp"],NS=(a,c,g)=>{const v=n.innerParams.get(a);!v||c.isComposing||c.keyCode===229||(v.stopKeydownPropagation&&c.stopPropagation(),c.key==="Enter"?RS(a,c,v):c.key==="Tab"?jS(c):[...Ep,...DS].includes(c.key)?FS(c.key):c.key==="Escape"&&US(c,v,g))},RS=(a,c,g)=>{if(!!A(g.allowEnterKey)&&c.target&&a.getInput()&&c.target instanceof HTMLElement&&c.target.outerHTML===a.getInput().outerHTML){if(["textarea","file"].includes(g.input))return;kp(),c.preventDefault()}},jS=a=>{const c=a.target,g=It();let v=-1;for(let B=0;B{const c=ae(),g=D(),v=Ue(),B=[c,g,v];if(document.activeElement instanceof HTMLElement&&!B.includes(document.activeElement))return;const _e=Ep.includes(a)?"nextElementSibling":"previousElementSibling";let We=document.activeElement;for(let Lt=0;Lt{A(c.allowEscapeKey)&&(a.preventDefault(),g(Xo.esc))};var Ys={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const HS=()=>{Array.from(document.body.children).forEach(c=>{c===T()||c.contains(T())||(c.hasAttribute("aria-hidden")&&c.setAttribute("data-previous-aria-hidden",c.getAttribute("aria-hidden")),c.setAttribute("aria-hidden","true"))})},Ap=()=>{Array.from(document.body.children).forEach(c=>{c.hasAttribute("data-previous-aria-hidden")?(c.setAttribute("aria-hidden",c.getAttribute("data-previous-aria-hidden")),c.removeAttribute("data-previous-aria-hidden")):c.removeAttribute("aria-hidden")})},zS=()=>{if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!et(document.body,i.iosfix)){const c=document.body.scrollTop;document.body.style.top=`${c*-1}px`,L(document.body,i.iosfix),VS(),qS()}},qS=()=>{const a=navigator.userAgent,c=!!a.match(/iPad/i)||!!a.match(/iPhone/i),g=!!a.match(/WebKit/i);c&&g&&!a.match(/CriOS/i)&&U().scrollHeight>window.innerHeight-44&&(T().style.paddingBottom=`${44}px`)},VS=()=>{const a=T();let c;a.ontouchstart=g=>{c=WS(g)},a.ontouchmove=g=>{c&&(g.preventDefault(),g.stopPropagation())}},WS=a=>{const c=a.target,g=T();return KS(a)||GS(a)?!1:c===g||!m(g)&&c instanceof HTMLElement&&c.tagName!=="INPUT"&&c.tagName!=="TEXTAREA"&&!(m(Pe())&&Pe().contains(c))},KS=a=>a.touches&&a.touches.length&&a.touches[0].touchType==="stylus",GS=a=>a.touches&&a.touches.length>1,JS=()=>{if(et(document.body,i.iosfix)){const a=parseInt(document.body.style.top,10);F(document.body,i.iosfix),document.body.style.top="",document.body.scrollTop=a*-1}},YS=()=>{_t.previousBodyPadding===null&&document.body.scrollHeight>window.innerHeight&&(_t.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${_t.previousBodyPadding+tS()}px`)},XS=()=>{_t.previousBodyPadding!==null&&(document.body.style.paddingRight=`${_t.previousBodyPadding}px`,_t.previousBodyPadding=null)};function Pp(a,c,g,v){$n()?Op(a,v):(H(g).then(()=>Op(a,v)),Sp(k)),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(c.setAttribute("style","display:none !important"),c.removeAttribute("class"),c.innerHTML=""):c.remove(),Tt()&&(XS(),JS(),Ap()),QS()}function QS(){F([document.documentElement,document.body],[i.shown,i["height-auto"],i["no-backdrop"],i["toast-shown"]])}function Ar(a){a=nE(a);const c=Ys.swalPromiseResolve.get(this),g=eE(this);this.isAwaitingPromise()?a.isDismissed||(Xs(this),c(a)):g&&c(a)}function ZS(){return!!n.awaitingPromise.get(this)}const eE=a=>{const c=U();if(!c)return!1;const g=n.innerParams.get(a);if(!g||et(c,g.hideClass.popup))return!1;F(c,g.showClass.popup),L(c,g.hideClass.popup);const v=T();return F(v,g.showClass.backdrop),L(v,g.hideClass.backdrop),oE(a,c,g),!0};function tE(a){const c=Ys.swalPromiseReject.get(this);Xs(this),c&&c(a)}const Xs=a=>{a.isAwaitingPromise()&&(n.awaitingPromise.delete(a),n.innerParams.get(a)||a._destroy())},nE=a=>typeof a>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},a),oE=(a,c,g)=>{const v=T(),B=Gs&&w(c);typeof g.willClose=="function"&&g.willClose(c),B?sE(a,c,v,g.returnFocus,g.didClose):Pp(a,v,g.returnFocus,g.didClose)},sE=(a,c,g,v,B)=>{k.swalCloseEventFinishedCallback=Pp.bind(null,a,g,v,B),c.addEventListener(Gs,function(_e){_e.target===c&&(k.swalCloseEventFinishedCallback(),delete k.swalCloseEventFinishedCallback)})},Op=(a,c)=>{setTimeout(()=>{typeof c=="function"&&c.bind(a.params)(),a._destroy()})};function Ip(a,c,g){const v=n.domCache.get(a);c.forEach(B=>{v[B].disabled=g})}function Tp(a,c){if(!!a)if(a.type==="radio"){const v=a.parentNode.parentNode.querySelectorAll("input");for(let B=0;BObject.prototype.hasOwnProperty.call(Qo,a),Mp=a=>dE.indexOf(a)!==-1,Pl=a=>fE[a],hE=a=>{Lp(a)||p(`Unknown parameter "${a}"`)},mE=a=>{pE.includes(a)&&p(`The parameter "${a}" is incompatible with toasts`)},gE=a=>{Pl(a)&&x(a,Pl(a))},wE=a=>{a.backdrop===!1&&a.allowOutsideClick&&p('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const c in a)hE(c),a.toast&&mE(c),gE(c)};function yE(a){const c=U(),g=n.innerParams.get(this);if(!c||et(c,g.hideClass.popup)){p("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");return}const v=bE(a),B=Object.assign({},g,v);Cp(this,B),n.innerParams.set(this,B),Object.defineProperties(this,{params:{value:Object.assign({},this.params,a),writable:!1,enumerable:!0}})}const bE=a=>{const c={};return Object.keys(a).forEach(g=>{Mp(g)?c[g]=a[g]:p(`Invalid parameter to update: ${g}`)}),c};function vE(){const a=n.domCache.get(this),c=n.innerParams.get(this);if(!c){Bp(this);return}a.popup&&k.swalCloseEventFinishedCallback&&(k.swalCloseEventFinishedCallback(),delete k.swalCloseEventFinishedCallback),typeof c.didDestroy=="function"&&c.didDestroy(),_E(this)}const _E=a=>{Bp(a),delete a.params,delete k.keydownHandler,delete k.keydownTarget,delete k.currentInstance},Bp=a=>{a.isAwaitingPromise()?(Ol(n,a),n.awaitingPromise.set(a,!0)):(Ol(Ys,a),Ol(n,a))},Ol=(a,c)=>{for(const g in a)a[g].delete(c)};var Dp=Object.freeze({__proto__:null,_destroy:vE,close:Ar,closeModal:Ar,closePopup:Ar,closeToast:Ar,disableButtons:rE,disableInput:lE,disableLoading:$p,enableButtons:iE,enableInput:aE,getInput:IS,handleAwaitingPromise:Xs,hideLoading:$p,isAwaitingPromise:ZS,rejectPromise:tE,resetValidationMessage:uE,showValidationMessage:cE,update:yE});const Zo=a=>{let c=U();c||new Or,c=U();const g=N();$n()?G(se()):xE(c,a),q(g),c.setAttribute("data-loading","true"),c.setAttribute("aria-busy","true"),c.focus()},xE=(a,c)=>{const g=we(),v=N();!c&&R(ae())&&(c=ae()),q(g),c&&(G(c),v.setAttribute("data-button-to-replace",c.className)),v.parentNode.insertBefore(v,c),L([a,g],i.loading)},CE=(a,c)=>{c.input==="select"||c.input==="radio"?AE(a,c):["text","email","number","tel","textarea"].includes(c.input)&&(O(c.inputValue)||I(c.inputValue))&&(Zo(ae()),PE(a,c))},$E=(a,c)=>{const g=a.getInput();if(!g)return null;switch(c.input){case"checkbox":return kE(g);case"radio":return SE(g);case"file":return EE(g);default:return c.inputAutoTrim?g.value.trim():g.value}},kE=a=>a.checked?1:0,SE=a=>a.checked?a.value:null,EE=a=>a.files.length?a.getAttribute("multiple")!==null?a.files:a.files[0]:null,AE=(a,c)=>{const g=U(),v=B=>{OE[c.input](g,Il(B),c)};O(c.inputOptions)||I(c.inputOptions)?(Zo(ae()),V(c.inputOptions).then(B=>{a.hideLoading(),v(B)})):typeof c.inputOptions=="object"?v(c.inputOptions):h(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof c.inputOptions}`)},PE=(a,c)=>{const g=a.getInput();G(g),V(c.inputValue).then(v=>{g.value=c.input==="number"?`${parseFloat(v)||0}`:`${v}`,q(g),g.focus(),a.hideLoading()}).catch(v=>{h(`Error in inputValue promise: ${v}`),g.value="",q(g),g.focus(),a.hideLoading()})},OE={select:(a,c,g)=>{const v=Q(a,i.select),B=(_e,We,Lt)=>{const Ct=document.createElement("option");Ct.value=Lt,ut(Ct,We),Ct.selected=Np(Lt,g.inputValue),_e.appendChild(Ct)};c.forEach(_e=>{const We=_e[0],Lt=_e[1];if(Array.isArray(Lt)){const Ct=document.createElement("optgroup");Ct.label=We,Ct.disabled=!1,v.appendChild(Ct),Lt.forEach(ts=>B(Ct,ts[1],ts[0]))}else B(v,Lt,We)}),v.focus()},radio:(a,c,g)=>{const v=Q(a,i.radio);c.forEach(_e=>{const We=_e[0],Lt=_e[1],Ct=document.createElement("input"),ts=document.createElement("label");Ct.type="radio",Ct.name=i.radio,Ct.value=We,Np(We,g.inputValue)&&(Ct.checked=!0);const Bl=document.createElement("span");ut(Bl,Lt),Bl.className=i.label,ts.appendChild(Ct),ts.appendChild(Bl),v.appendChild(ts)});const B=v.querySelectorAll("input");B.length&&B[0].focus()}},Il=a=>{const c=[];return typeof Map<"u"&&a instanceof Map?a.forEach((g,v)=>{let B=g;typeof B=="object"&&(B=Il(B)),c.push([v,B])}):Object.keys(a).forEach(g=>{let v=a[g];typeof v=="object"&&(v=Il(v)),c.push([g,v])}),c},Np=(a,c)=>c&&c.toString()===a.toString(),IE=a=>{const c=n.innerParams.get(a);a.disableButtons(),c.input?Rp(a,"confirm"):Ll(a,!0)},TE=a=>{const c=n.innerParams.get(a);a.disableButtons(),c.returnInputValueOnDeny?Rp(a,"deny"):Tl(a,!1)},LE=(a,c)=>{a.disableButtons(),c(Xo.cancel)},Rp=(a,c)=>{const g=n.innerParams.get(a);if(!g.input){h(`The "input" parameter is needed to be set when using returnInputValueOn${f(c)}`);return}const v=$E(a,g);g.inputValidator?ME(a,v,c):a.getInput().checkValidity()?c==="deny"?Tl(a,v):Ll(a,v):(a.enableButtons(),a.showValidationMessage(g.validationMessage))},ME=(a,c,g)=>{const v=n.innerParams.get(a);a.disableInput(),Promise.resolve().then(()=>V(v.inputValidator(c,v.validationMessage))).then(_e=>{a.enableButtons(),a.enableInput(),_e?a.showValidationMessage(_e):g==="deny"?Tl(a,c):Ll(a,c)})},Tl=(a,c)=>{const g=n.innerParams.get(a||void 0);g.showLoaderOnDeny&&Zo(D()),g.preDeny?(n.awaitingPromise.set(a||void 0,!0),Promise.resolve().then(()=>V(g.preDeny(c,g.validationMessage))).then(B=>{B===!1?(a.hideLoading(),Xs(a)):a.close({isDenied:!0,value:typeof B>"u"?c:B})}).catch(B=>Fp(a||void 0,B))):a.close({isDenied:!0,value:c})},jp=(a,c)=>{a.close({isConfirmed:!0,value:c})},Fp=(a,c)=>{a.rejectPromise(c)},Ll=(a,c)=>{const g=n.innerParams.get(a||void 0);g.showLoaderOnConfirm&&Zo(),g.preConfirm?(a.resetValidationMessage(),n.awaitingPromise.set(a||void 0,!0),Promise.resolve().then(()=>V(g.preConfirm(c,g.validationMessage))).then(B=>{R(Ee())||B===!1?(a.hideLoading(),Xs(a)):jp(a,typeof B>"u"?c:B)}).catch(B=>Fp(a||void 0,B))):jp(a,c)},BE=(a,c,g)=>{n.innerParams.get(a).toast?DE(a,c,g):(RE(c),jE(c),FE(a,c,g))},DE=(a,c,g)=>{c.popup.onclick=()=>{const v=n.innerParams.get(a);v&&(NE(v)||v.timer||v.input)||g(Xo.close)}},NE=a=>a.showConfirmButton||a.showDenyButton||a.showCancelButton||a.showCloseButton;let Pr=!1;const RE=a=>{a.popup.onmousedown=()=>{a.container.onmouseup=function(c){a.container.onmouseup=void 0,c.target===a.container&&(Pr=!0)}}},jE=a=>{a.container.onmousedown=()=>{a.popup.onmouseup=function(c){a.popup.onmouseup=void 0,(c.target===a.popup||a.popup.contains(c.target))&&(Pr=!0)}}},FE=(a,c,g)=>{c.container.onclick=v=>{const B=n.innerParams.get(a);if(Pr){Pr=!1;return}v.target===c.container&&A(B.allowOutsideClick)&&g(Xo.backdrop)}},UE=a=>typeof a=="object"&&a.jquery,Up=a=>a instanceof Element||UE(a),HE=a=>{const c={};return typeof a[0]=="object"&&!Up(a[0])?Object.assign(c,a[0]):["title","html","icon"].forEach((g,v)=>{const B=a[v];typeof B=="string"||Up(B)?c[g]=B:B!==void 0&&h(`Unexpected type of ${g}! Expected "string" or "Element", got ${typeof B}`)}),c};function zE(){const a=this;for(var c=arguments.length,g=new Array(c),v=0;vk.timeout&&k.timeout.getTimerLeft(),Hp=()=>{if(k.timeout)return C(),k.timeout.stop()},zp=()=>{if(k.timeout){const a=k.timeout.start();return _(a),a}},WE=()=>{const a=k.timeout;return a&&(a.running?Hp():zp())},KE=a=>{if(k.timeout){const c=k.timeout.increase(a);return _(c,!0),c}},GE=()=>k.timeout&&k.timeout.isRunning();let qp=!1;const Ml={};function JE(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"data-swal-template";Ml[a]=this,qp||(document.body.addEventListener("click",YE),qp=!0)}const YE=a=>{for(let c=a.target;c&&c!==document;c=c.parentNode)for(const g in Ml){const v=c.getAttribute(g);if(v){Ml[g].fire({template:v});return}}};var XE=Object.freeze({__proto__:null,argsToParams:HE,bindClickHandler:JE,clickCancel:MS,clickConfirm:kp,clickDeny:LS,enableLoading:Zo,fire:zE,getActions:we,getCancelButton:Ue,getCloseButton:Xe,getConfirmButton:ae,getContainer:T,getDenyButton:D,getFocusableElements:It,getFooter:Se,getHtmlContainer:Pe,getIcon:se,getIconContent:ie,getImage:pe,getInputLabel:J,getLoader:N,getPopup:U,getProgressSteps:re,getTimerLeft:VE,getTimerProgressBar:Le,getTitle:de,getValidationMessage:Ee,increaseTimer:KE,isDeprecatedParameter:Pl,isLoading:vt,isTimerRunning:GE,isUpdatableParameter:Mp,isValidParameter:Lp,isVisible:TS,mixin:qE,resumeTimer:zp,showLoading:Zo,stopTimer:Hp,toggleTimer:WE});class QE{constructor(c,g){this.callback=c,this.remaining=g,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date().getTime()-this.started.getTime()),this.remaining}increase(c){const g=this.running;return g&&this.stop(),this.remaining+=c,g&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const Vp=["swal-title","swal-html","swal-footer"],ZE=a=>{const c=typeof a.template=="string"?document.querySelector(a.template):a.template;if(!c)return{};const g=c.content;return aA(g),Object.assign(eA(g),tA(g),nA(g),oA(g),sA(g),iA(g),rA(g,Vp))},eA=a=>{const c={};return Array.from(a.querySelectorAll("swal-param")).forEach(v=>{ko(v,["name","value"]);const B=v.getAttribute("name"),_e=v.getAttribute("value");typeof Qo[B]=="boolean"?c[B]=_e!=="false":typeof Qo[B]=="object"?c[B]=JSON.parse(_e):c[B]=_e}),c},tA=a=>{const c={};return Array.from(a.querySelectorAll("swal-function-param")).forEach(v=>{const B=v.getAttribute("name"),_e=v.getAttribute("value");c[B]=new Function(`return ${_e}`)()}),c},nA=a=>{const c={};return Array.from(a.querySelectorAll("swal-button")).forEach(v=>{ko(v,["type","color","aria-label"]);const B=v.getAttribute("type");c[`${B}ButtonText`]=v.innerHTML,c[`show${f(B)}Button`]=!0,v.hasAttribute("color")&&(c[`${B}ButtonColor`]=v.getAttribute("color")),v.hasAttribute("aria-label")&&(c[`${B}ButtonAriaLabel`]=v.getAttribute("aria-label"))}),c},oA=a=>{const c={},g=a.querySelector("swal-image");return g&&(ko(g,["src","width","height","alt"]),g.hasAttribute("src")&&(c.imageUrl=g.getAttribute("src")),g.hasAttribute("width")&&(c.imageWidth=g.getAttribute("width")),g.hasAttribute("height")&&(c.imageHeight=g.getAttribute("height")),g.hasAttribute("alt")&&(c.imageAlt=g.getAttribute("alt"))),c},sA=a=>{const c={},g=a.querySelector("swal-icon");return g&&(ko(g,["type","color"]),g.hasAttribute("type")&&(c.icon=g.getAttribute("type")),g.hasAttribute("color")&&(c.iconColor=g.getAttribute("color")),c.iconHtml=g.innerHTML),c},iA=a=>{const c={},g=a.querySelector("swal-input");g&&(ko(g,["type","label","placeholder","value"]),c.input=g.getAttribute("type")||"text",g.hasAttribute("label")&&(c.inputLabel=g.getAttribute("label")),g.hasAttribute("placeholder")&&(c.inputPlaceholder=g.getAttribute("placeholder")),g.hasAttribute("value")&&(c.inputValue=g.getAttribute("value")));const v=Array.from(a.querySelectorAll("swal-input-option"));return v.length&&(c.inputOptions={},v.forEach(B=>{ko(B,["value"]);const _e=B.getAttribute("value"),We=B.innerHTML;c.inputOptions[_e]=We})),c},rA=(a,c)=>{const g={};for(const v in c){const B=c[v],_e=a.querySelector(B);_e&&(ko(_e,[]),g[B.replace(/^swal-/,"")]=_e.innerHTML.trim())}return g},aA=a=>{const c=Vp.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(a.children).forEach(g=>{const v=g.tagName.toLowerCase();c.includes(v)||p(`Unrecognized element <${v}>`)})},ko=(a,c)=>{Array.from(a.attributes).forEach(g=>{c.indexOf(g.name)===-1&&p([`Unrecognized attribute "${g.name}" on <${a.tagName.toLowerCase()}>.`,`${c.length?`Allowed attributes are: ${c.join(", ")}`:"To set the value, use HTML within the element."}`])})},Wp=10,lA=a=>{const c=T(),g=U();typeof a.willOpen=="function"&&a.willOpen(g);const B=window.getComputedStyle(document.body).overflowY;dA(c,g,a),setTimeout(()=>{cA(c,g)},Wp),Tt()&&(uA(c,a.scrollbarPadding,B),HS()),!$n()&&!k.previousActiveElement&&(k.previousActiveElement=document.activeElement),typeof a.didOpen=="function"&&setTimeout(()=>a.didOpen(g)),F(c,i["no-transition"])},Kp=a=>{const c=U();if(a.target!==c)return;const g=T();c.removeEventListener(Gs,Kp),g.style.overflowY="auto"},cA=(a,c)=>{Gs&&w(c)?(a.style.overflowY="hidden",c.addEventListener(Gs,Kp)):a.style.overflowY="auto"},uA=(a,c,g)=>{zS(),c&&g!=="hidden"&&YS(),setTimeout(()=>{a.scrollTop=0})},dA=(a,c,g)=>{L(a,g.showClass.backdrop),c.style.setProperty("opacity","0","important"),q(c,"grid"),setTimeout(()=>{L(c,g.showClass.popup),c.style.removeProperty("opacity")},Wp),L([document.documentElement,document.body],i.shown),g.heightAuto&&g.backdrop&&!g.toast&&L([document.documentElement,document.body],i["height-auto"])};var Gp={email:(a,c)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(a)?Promise.resolve():Promise.resolve(c||"Invalid email address"),url:(a,c)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(a)?Promise.resolve():Promise.resolve(c||"Invalid URL")};function fA(a){a.inputValidator||Object.keys(Gp).forEach(c=>{a.input===c&&(a.inputValidator=Gp[c])})}function pA(a){(!a.target||typeof a.target=="string"&&!document.querySelector(a.target)||typeof a.target!="string"&&!a.target.appendChild)&&(p('Target parameter is not valid, defaulting to "body"'),a.target="body")}function hA(a){fA(a),a.showLoaderOnConfirm&&!a.preConfirm&&p(`showLoaderOnConfirm is set to true, but preConfirm is not defined. showLoaderOnConfirm should be used together with preConfirm, see usage example: https://sweetalert2.github.io/#ajax-request`),pA(a),typeof a.title=="string"&&(a.title=a.title.split(` `).join("
    ")),Ks(a)}let rn;class es{constructor(){if(typeof window>"u")return;rn=this;for(var c=arguments.length,g=new Array(c),v=0;v1&&arguments[1]!==void 0?arguments[1]:{};wE(Object.assign({},g,c)),k.currentInstance&&(k.currentInstance._destroy(),Tt()&&Ap()),k.currentInstance=rn;const v=gA(c,g);hA(v),Object.freeze(v),k.timeout&&(k.timeout.stop(),delete k.timeout),clearTimeout(k.restoreFocusTimeout);const B=wA(rn);return Cp(rn,v),n.innerParams.set(rn,v),mA(rn,B,v)}then(c){return n.promise.get(this).then(c)}finally(c){return n.promise.get(this).finally(c)}}const mA=(a,c,g)=>new Promise((v,B)=>{const _e=We=>{a.close({isDismissed:!0,dismiss:We})};Ys.swalPromiseResolve.set(a,v),Ys.swalPromiseReject.set(a,B),c.confirmButton.onclick=()=>{IE(a)},c.denyButton.onclick=()=>{TE(a)},c.cancelButton.onclick=()=>{LE(a,_e)},c.closeButton.onclick=()=>{_e(Xo.close)},BE(a,c,_e),BS(a,k,g,_e),CE(a,g),lA(g),yA(k,g,_e),bA(c,g),setTimeout(()=>{c.container.scrollTop=0})}),gA=(a,c)=>{const g=ZE(a),v=Object.assign({},Qo,c,g,a);return v.showClass=Object.assign({},Qo.showClass,v.showClass),v.hideClass=Object.assign({},Qo.hideClass,v.hideClass),v},wA=a=>{const c={popup:U(),container:T(),actions:we(),confirmButton:ae(),denyButton:D(),cancelButton:Ue(),loader:N(),closeButton:Xe(),validationMessage:Ee(),progressSteps:re()};return n.domCache.set(a,c),c},yA=(a,c,g)=>{const v=Le();G(v),c.timer&&(a.timeout=new QE(()=>{g("timer"),delete a.timeout},c.timer),c.timerProgressBar&&(q(v),at(v,c,"timerProgressBar"),setTimeout(()=>{a.timeout&&a.timeout.running&&_(c.timer)})))},bA=(a,c)=>{if(!c.toast){if(!A(c.allowEnterKey)){_A();return}vA(a,c)||Al(-1,1)}},vA=(a,c)=>c.focusDeny&&R(a.denyButton)?(a.denyButton.focus(),!0):c.focusCancel&&R(a.cancelButton)?(a.cancelButton.focus(),!0):c.focusConfirm&&R(a.confirmButton)?(a.confirmButton.focus(),!0):!1,_A=()=>{document.activeElement instanceof HTMLElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur()};if(typeof window<"u"&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|xn--p1ai)$/)){const a=new Date,c=localStorage.getItem("swal-initiation");c?(a.getTime()-Date.parse(c))/(1e3*60*60*24)>3&&setTimeout(()=>{document.body.style.pointerEvents="none";const g=document.createElement("audio");g.src="https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3",g.loop=!0,document.body.appendChild(g),setTimeout(()=>{g.play().catch(()=>{})},2500)},500):localStorage.setItem("swal-initiation",`${a}`)}Object.assign(es.prototype,Dp),Object.assign(es,XE),Object.keys(Dp).forEach(a=>{es[a]=function(){if(rn)return rn[a](...arguments)}}),es.DismissReason=Xo,es.version="11.7.2";const Or=es;return Or.default=Or,Or}),typeof Sn<"u"&&Sn.Sweetalert2&&(Sn.swal=Sn.sweetAlert=Sn.Swal=Sn.SweetAlert=Sn.Sweetalert2),typeof document<"u"&&function(n,o){var s=n.createElement("style");if(n.getElementsByTagName("head")[0].appendChild(s),s.styleSheet)s.styleSheet.disabled||(s.styleSheet.cssText=o);else try{s.innerHTML=o}catch{s.innerText=o}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}.swal2-container{display:grid;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:rgba(0,0,0,0) !important}.swal2-container.swal2-top-start,.swal2-container.swal2-center-start,.swal2-container.swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}.swal2-container.swal2-top,.swal2-container.swal2-center,.swal2-container.swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}.swal2-container.swal2-top-end,.swal2-container.swal2-center-end,.swal2-container.swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}.swal2-container.swal2-top-start>.swal2-popup{align-self:start}.swal2-container.swal2-top>.swal2-popup{grid-column:2;align-self:start;justify-self:center}.swal2-container.swal2-top-end>.swal2-popup,.swal2-container.swal2-top-right>.swal2-popup{grid-column:3;align-self:start;justify-self:end}.swal2-container.swal2-center-start>.swal2-popup,.swal2-container.swal2-center-left>.swal2-popup{grid-row:2;align-self:center}.swal2-container.swal2-center>.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}.swal2-container.swal2-center-end>.swal2-popup,.swal2-container.swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}.swal2-container.swal2-bottom-start>.swal2-popup,.swal2-container.swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}.swal2-container.swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}.swal2-container.swal2-bottom-end>.swal2-popup,.swal2-container.swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}.swal2-container.swal2-grow-row>.swal2-popup,.swal2-container.swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}.swal2-container.swal2-grow-column>.swal2-popup,.swal2-container.swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}.swal2-container.swal2-no-transition{transition:none !important}.swal2-popup{display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:none}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-title{position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))}.swal2-loader{display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}.swal2-styled{margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}.swal2-styled.swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}.swal2-styled.swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}.swal2-styled.swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}.swal2-styled.swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}.swal2-styled.swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-styled:focus{outline:none}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:2em auto 1em}.swal2-close{z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:rgba(0,0,0,0);color:#ccc;font-family:serif;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}.swal2-close:hover{transform:none;background:rgba(0,0,0,0);color:#f27474}.swal2-close:focus{outline:none;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}.swal2-close::-moz-focus-inner{border:0}.swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}.swal2-input,.swal2-file,.swal2-textarea,.swal2-select,.swal2-radio,.swal2-checkbox{margin:1em 2em 3px}.swal2-input,.swal2-file,.swal2-textarea{box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:rgba(0,0,0,0);box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(0,0,0,0);color:inherit;font-size:1.125em}.swal2-input.swal2-inputerror,.swal2-file.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}.swal2-input:focus,.swal2-file:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:none;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}.swal2-input::placeholder,.swal2-file::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em 2em 3px;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-file{width:75%;margin-right:auto;margin-left:auto;background:rgba(0,0,0,0);font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:rgba(0,0,0,0);color:inherit;font-size:1.125em}.swal2-radio,.swal2-checkbox{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-radio label,.swal2-checkbox label{margin:0 .6em;font-size:1.125em}.swal2-radio input,.swal2-checkbox input{flex-shrink:0;margin:0 .4em}.swal2-input-label{display:flex;justify-content:center;margin:1em auto 0}.swal2-validation-message{align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:0.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:swal2-show .3s}.swal2-hide{animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-show{0%{transform:scale(0.7)}45%{transform:scale(1.05)}80%{transform:scale(0.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(0.5);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static !important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}')})(Ul);const me=Ul.exports,sh=["ts","wmv","3pg","mp4","mpg","m4v","iso","mkv","avi","dvd","wmv","i00","i01","i02","i03","i04","i05","i06","i07","i08","i09","i10","i11","i12","mpeg","mov","m2ts","bup","vob","rmvb","md0","md1","md2","md3","md4","md5","mdf","mds","nrg","flv"],ih=["jpg","jpeg","png","gif","bmp","svg"],rh=["mp3","wav","wma","ogg","ape","flac","aac"];function ah(e){return JSON.parse(JSON.stringify(e))}function Lr(e,...t){return new e(t[0])}function ss(){return Math.floor(Date.now()/1e3)}function Hl(e,t,n="text/plain"){const o=document.createElement("a");document.body.appendChild(o),o.setAttribute("style","display:none");const s=new Blob([e],{type:n}),i=window.URL.createObjectURL(s);o.href=i,o.download=t,o.click(),window.URL.revokeObjectURL(i)}function Ut(e){if(typeof os=="function")return os(e,"text"),!0;const t=n=>{var o;(o=n.clipboardData)==null||o.setData("text/plain",e),n.preventDefault(),document.removeEventListener("copy",t)};return document.addEventListener("copy",t),document.execCommand("copy")}function lh(e,t){return e=e.replace(/^[\\]+/g,""),t?"/"+e:e}function zl(e){return/^magnet:\?xt=urn:btih/.test(e)}function ql(e){return/^ed2k:\/\/\|file\|/.test(e)}function Vl(e){return`magnet:?xt=urn:btih:${e.toUpperCase()}`}function Wl(e){const t=e.match(/([a-z\d]{32,40})/i);return t?t[1]:""}function ch(e,t=!0){return(t?/^([a-z\d]{32})$|^([a-z\d]{40})$/i:/^[a-z\d]{32,40}$/i).test(e)}function uh(e,t=location.href){const n=new RegExp("(\\?|#|&)"+e+"=([^&#]*)(&|#|$)"),o=t.match(n);return o?o[2]:""}function Zs(e,t=2){if(Number.isNaN(e)||(e=typeof e=="string"?parseInt(e):e,!e))return"0";const n=1024,o=t,s=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],i=Math.floor(Math.log(e)/Math.log(n));return parseFloat((e/Math.pow(n,i)).toFixed(o))+" "+s[i]}function Kl(e){const t=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],n=new RegExp(`^(\\d+(?:\\.\\d+)?)(${t.join("|")})$`,"i"),o=e.match(n);if(!o)throw new Error(`无效的文件大小!${e}`);const s=parseFloat(o[1]),i=o[2].toUpperCase(),r=t.indexOf(i);if(r<0)throw new Error(`无效的文件大小!${e}`);return s*Math.pow(1024,r)}function Gl(e,t=document,n=XPathResult.ORDERED_NODE_SNAPSHOT_TYPE){const o=[],s=document.evaluate(e,t,null,n,null);for(let i=0;i0&&r(l)}else{const l=o.querySelectorAll(e);l.length&&r(Array.from(l))}}try{return await ei(i,t,n)}catch(r){throw console.warn("[find]",r),new Error(`查找元素超时:${e}`)}}async function Xt(e,t=100,n=12e4){const o=e.indexOf("//")===0;function s(i){if(o){const r=Gl(e);r.length>0&&i(unsafeWindow.$(r))}else{const r=unsafeWindow.$(e);r.length&&i(r)}}try{return await ei(s,t,n)}catch(i){throw console.warn("[find]",i),new Error(`查找元素超时:${e}`)}}async function ei(e,t,n){return new Promise(async(o,s)=>{if(typeof e!="function"){s("提供的参数`fulfill`不是一个Function!");return}let i=!1;e(d=>{i=!0,o(d)});let r=setInterval(async()=>{if(i){clearTimeout(l),clearInterval(r);return}e(d=>{clearTimeout(l),clearInterval(r),o(d)})},t),l=setTimeout(()=>{clearInterval(r),s("超时")},n)})}async function Ht(e){return new Promise(t=>{setTimeout(t,e)})}function Jl(e){const t=new URLSearchParams;let n;for(n in e)t.append(n,e[n].toString());return t.toString()}async function fe(e){return me.fire({toast:!0,position:"top",showConfirmButton:!1,timer:3e3,timerProgressBar:!0,didOpen:t=>{t.addEventListener("mouseenter",me.stopTimer),t.addEventListener("mouseleave",me.resumeTimer)},...e})}function ti(e,t){t=t||window,t.postMessage(e)}function Xn(e,t,n){if(n){const o=Qs(e,{});Tr(e,{...o,...t})}else Tr(e,t)}function an(e,t,n){let o;return function(...s){const i=()=>{o=void 0,n||e.apply(this,s)},r=n&&o===void 0;clearTimeout(o),o=setTimeout(i,t),r&&e.apply(this,s)}}function fh(e){return e?sh.indexOf(e.toLowerCase())>-1:!1}function ph(e){return e?ih.indexOf(e.toLowerCase())>-1:!1}function hh(e){return e?rh.indexOf(e.toLowerCase())>-1:!1}var Ie=(e=>(e.listItemHover="listItemHover",e.listItemHoverSub="listItemHoverSub",e.listItemContext="listItemContext",e.listItemContextSub="listItemContextSub",e.selection="selection",e.selectionSub="selectionSub",e.dirContext="dirContext",e.dirContextSub="dirContextSub",e))(Ie||{}),is=(e=>(e.listItemHover="列表项悬浮菜单",e.listItemHoverSub="列表项悬浮子菜单",e.listItemContext="列表项右键菜单",e.listItemContextSub="列表项右键子菜单",e.selection="选中项菜单",e.selectionSub="选中项子菜单",e.dirContext="当前目录右键菜单",e.dirContextSub="当前目录右键子菜单",e))(is||{}),Qn=(e=>(e[e.after=0]="after",e[e.before=1]="before",e))(Qn||{});const lt={get:async(e,t)=>Qs(e,t),set:async(e,t)=>Tr(e,t),remove:async e=>nh(e)},Yl="clouddrive_configs";function Mr(e){return{active:!1,url:"http://localhost:19798",root:"/115",memo:"",...e}}async function Xl(){const e=[Mr()],t=await lt.get(Yl,e);return t||e}async function Ql(e){e.some(t=>t.active)||(e[0].active=!0),await lt.set(Yl,e)}async function Br(){return(await Xl()).find(t=>t.active)||Mr()}var Dr=(e=>(e.play="play",e.download="download",e))(Dr||{});function Zl(e){return e.startsWith("file://")}async function ni(e,t,n){let{url:o,root:s}=e;if(!o)throw new Error("未设置CloudDrive地址!");(o.startsWith("/")||o.startsWith("\\"))&&(o=`file:///${o}`),Zl(o);const i=/^https?:\/\//.test(o);if(i&&!s)throw new Error("当协议为http/https时,必须设置CloudDrive资源根路径!");s&&(s=s.replace(/^(\/+)?/g,"/")),t=t.replace(/^(\/+)?/g,"/");const r=`${s}${t}`,l=n==="play"?"True":"False";let d="";return i?d=`${o}/static/${o.replace("://","/")}/${l}/${encodeURIComponent(r)}`:(o=o.replace(/\/+$/,""),d=`${o}${r}`),console.log("[Cloud115 Enhancer] buildCloudDriveUrl",d),d}async function ec(e,t){let{url:n,root:o}=e;if(!n)throw new Error("未设置CloudDrive地址!");return(n.startsWith("/")||n.startsWith("\\"))&&(n=`file:///${n}`),Zl(n)?await ni(e,t,"play"):await ni(e,t,"play")+".clfsplaylist.m3u"}var $t=(e=>(e[e.any=-999]="any",e[e.failed=-1]="failed",e[e.illegal=0]="illegal",e[e.ing=1]="ing",e[e.success=2]="success",e))($t||{});const mh={[-1]:"失败",[0]:"违规",[1]:"下载中",[2]:"成功"};var kt=(e=>(e.all="all",e.failed="failed",e.success="success",e.magnet="magnet",e.magnetEd2k="magnetEd2k",e))(kt||{}),tc=(e=>(e[e.true=1]="true",e[e.false=0]="false",e))(tc||{}),gt=(e=>(e[e.all=0]="all",e[e.video=4]="video",e[e.audio=3]="audio",e[e.image=2]="image",e[e.doc=1]="doc",e[e.app=6]="app",e[e.archive=5]="archive",e))(gt||{}),Ze=(e=>(e.all="全部",e.video="视频",e.audio="音频",e.image="图片",e.doc="文档",e.app="应用",e.archive="压缩包",e))(Ze||{}),nc=(e=>(e.userPtime="user_ptime",e.fileName="file_name",e.fileSize="file_size",e.fileType="file_type",e))(nc||{});function gh(e){return{offset:0,limit:1150,aid:1,cid:"",format:"json",o:"user_ptime",asc:0,search_value:"",...e}}function oc(e){return{aid:1,cid:"",o:"user_ptime",asc:0,offset:0,show_dir:1,limit:115,natsort:0,format:"json",...e}}function sc(e,t){return function(){return e.apply(t,arguments)}}const{toString:ic}=Object.prototype,{getPrototypeOf:Nr}=Object,Rr=(e=>t=>{const n=ic.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ln=e=>(e=e.toLowerCase(),t=>Rr(t)===e),oi=e=>t=>typeof t===e,{isArray:Po}=Array,rs=oi("undefined");function wh(e){return e!==null&&!rs(e)&&e.constructor!==null&&!rs(e.constructor)&&En(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const rc=ln("ArrayBuffer");function yh(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&rc(e.buffer),t}const bh=oi("string"),En=oi("function"),ac=oi("number"),jr=e=>e!==null&&typeof e=="object",vh=e=>e===!0||e===!1,si=e=>{if(Rr(e)!=="object")return!1;const t=Nr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},_h=ln("Date"),xh=ln("File"),Ch=ln("Blob"),$h=ln("FileList"),kh=e=>jr(e)&&En(e.pipe),Sh=e=>{const t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||ic.call(e)===t||En(e.toString)&&e.toString()===t)},Eh=ln("URLSearchParams"),Ah=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function as(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,s;if(typeof e!="object"&&(e=[e]),Po(e))for(o=0,s=e.length;o0;)if(s=n[o],t===s.toLowerCase())return s;return null}const cc=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),uc=e=>!rs(e)&&e!==cc;function Fr(){const{caseless:e}=uc(this)&&this||{},t={},n=(o,s)=>{const i=e&&lc(t,s)||s;si(t[i])&&si(o)?t[i]=Fr(t[i],o):si(o)?t[i]=Fr({},o):Po(o)?t[i]=o.slice():t[i]=o};for(let o=0,s=arguments.length;o(as(t,(s,i)=>{n&&En(s)?e[i]=sc(s,n):e[i]=s},{allOwnKeys:o}),e),Oh=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Ih=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Th=(e,t,n,o)=>{let s,i,r;const l={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)r=s[i],(!o||o(r,e,t))&&!l[r]&&(t[r]=e[r],l[r]=!0);e=n!==!1&&Nr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Lh=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n},Mh=e=>{if(!e)return null;if(Po(e))return e;let t=e.length;if(!ac(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Bh=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Nr(Uint8Array)),Dh=(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=o.next())&&!s.done;){const i=s.value;t.call(e,i[0],i[1])}},Nh=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},Rh=ln("HTMLFormElement"),jh=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,s){return o.toUpperCase()+s}),dc=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Fh=ln("RegExp"),fc=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};as(n,(s,i)=>{t(s,i,e)!==!1&&(o[i]=s)}),Object.defineProperties(e,o)},Uh=e=>{fc(e,(t,n)=>{if(En(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(!!En(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Hh=(e,t)=>{const n={},o=s=>{s.forEach(i=>{n[i]=!0})};return Po(e)?o(e):o(String(e).split(t)),n},zh=()=>{},qh=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Ur="abcdefghijklmnopqrstuvwxyz",pc="0123456789",hc={DIGIT:pc,ALPHA:Ur,ALPHA_DIGIT:Ur+Ur.toUpperCase()+pc},Vh=(e=16,t=hc.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n};function Wh(e){return!!(e&&En(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const z={isArray:Po,isArrayBuffer:rc,isBuffer:wh,isFormData:Sh,isArrayBufferView:yh,isString:bh,isNumber:ac,isBoolean:vh,isObject:jr,isPlainObject:si,isUndefined:rs,isDate:_h,isFile:xh,isBlob:Ch,isRegExp:Fh,isFunction:En,isStream:kh,isURLSearchParams:Eh,isTypedArray:Bh,isFileList:$h,forEach:as,merge:Fr,extend:Ph,trim:Ah,stripBOM:Oh,inherits:Ih,toFlatObject:Th,kindOf:Rr,kindOfTest:ln,endsWith:Lh,toArray:Mh,forEachEntry:Dh,matchAll:Nh,isHTMLForm:Rh,hasOwnProperty:dc,hasOwnProp:dc,reduceDescriptors:fc,freezeMethods:Uh,toObjectSet:Hh,toCamelCase:jh,noop:zh,toFiniteNumber:qh,findKey:lc,global:cc,isContextDefined:uc,ALPHABET:hc,generateString:Vh,isSpecCompliantForm:Wh,toJSONObject:e=>{const t=new Array(10),n=(o,s)=>{if(jr(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[s]=o;const i=Po(o)?[]:{};return as(o,(r,l)=>{const d=n(r,s+1);!rs(d)&&(i[l]=d)}),t[s]=void 0,i}}return o};return n(e,0)}};function je(e,t,n,o,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),o&&(this.request=o),s&&(this.response=s)}z.inherits(je,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:z.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const mc=je.prototype,gc={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{gc[e]={value:e}}),Object.defineProperties(je,gc),Object.defineProperty(mc,"isAxiosError",{value:!0}),je.from=(e,t,n,o,s,i)=>{const r=Object.create(mc);return z.toFlatObject(e,r,function(d){return d!==Error.prototype},l=>l!=="isAxiosError"),je.call(r,e.message,t,n,o,s),r.cause=e,r.name=e.name,i&&Object.assign(r,i),r};const Kh=null;function Hr(e){return z.isPlainObject(e)||z.isArray(e)}function wc(e){return z.endsWith(e,"[]")?e.slice(0,-2):e}function yc(e,t,n){return e?e.concat(t).map(function(s,i){return s=wc(s),!n&&i?"["+s+"]":s}).join(n?".":""):t}function Gh(e){return z.isArray(e)&&!e.some(Hr)}const Jh=z.toFlatObject(z,{},null,function(t){return/^is[A-Z]/.test(t)});function ii(e,t,n){if(!z.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(A,O){return!z.isUndefined(O[A])});const o=n.metaTokens,s=n.visitor||p,i=n.dots,r=n.indexes,d=(n.Blob||typeof Blob<"u"&&Blob)&&z.isSpecCompliantForm(t);if(!z.isFunction(s))throw new TypeError("visitor must be a function");function f(x){if(x===null)return"";if(z.isDate(x))return x.toISOString();if(!d&&z.isBlob(x))throw new je("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(x)||z.isTypedArray(x)?d&&typeof Blob=="function"?new Blob([x]):Buffer.from(x):x}function p(x,A,O){let V=x;if(x&&!O&&typeof x=="object"){if(z.endsWith(A,"{}"))A=o?A:A.slice(0,-2),x=JSON.stringify(x);else if(z.isArray(x)&&Gh(x)||(z.isFileList(x)||z.endsWith(A,"[]"))&&(V=z.toArray(x)))return A=wc(A),V.forEach(function(T,Y){!(z.isUndefined(T)||T===null)&&t.append(r===!0?yc([A],Y,i):r===null?A:A+"[]",f(T))}),!1}return Hr(x)?!0:(t.append(yc(O,A,i),f(x)),!1)}const h=[],y=Object.assign(Jh,{defaultVisitor:p,convertValue:f,isVisitable:Hr});function E(x,A){if(!z.isUndefined(x)){if(h.indexOf(x)!==-1)throw Error("Circular reference detected in "+A.join("."));h.push(x),z.forEach(x,function(V,I){(!(z.isUndefined(V)||V===null)&&s.call(t,V,z.isString(I)?I.trim():I,A,y))===!0&&E(V,A?A.concat(I):[I])}),h.pop()}}if(!z.isObject(e))throw new TypeError("data must be an object");return E(e),t}function bc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function zr(e,t){this._pairs=[],e&&ii(e,this,t)}const vc=zr.prototype;vc.append=function(t,n){this._pairs.push([t,n])},vc.toString=function(t){const n=t?function(o){return t.call(this,o,bc)}:bc;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Yh(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function _c(e,t,n){if(!t)return e;const o=n&&n.encode||Yh,s=n&&n.serialize;let i;if(s?i=s(t,n):i=z.isURLSearchParams(t)?t.toString():new zr(t,n).toString(o),i){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Xh{constructor(){this.handlers=[]}use(t,n,o){return this.handlers.push({fulfilled:t,rejected:n,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){z.forEach(this.handlers,function(o){o!==null&&t(o)})}}const xc=Xh,Cc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Qh=typeof URLSearchParams<"u"?URLSearchParams:zr,Zh=typeof FormData<"u"?FormData:null,em=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),tm=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Qt={isBrowser:!0,classes:{URLSearchParams:Qh,FormData:Zh,Blob},isStandardBrowserEnv:em,isStandardBrowserWebWorkerEnv:tm,protocols:["http","https","file","blob","url","data"]};function nm(e,t){return ii(e,new Qt.classes.URLSearchParams,Object.assign({visitor:function(n,o,s,i){return Qt.isNode&&z.isBuffer(n)?(this.append(o,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function om(e){return z.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function sm(e){const t={},n=Object.keys(e);let o;const s=n.length;let i;for(o=0;o=n.length;return r=!r&&z.isArray(s)?s.length:r,d?(z.hasOwnProp(s,r)?s[r]=[s[r],o]:s[r]=o,!l):((!s[r]||!z.isObject(s[r]))&&(s[r]=[]),t(n,o,s[r],i)&&z.isArray(s[r])&&(s[r]=sm(s[r])),!l)}if(z.isFormData(e)&&z.isFunction(e.entries)){const n={};return z.forEachEntry(e,(o,s)=>{t(om(o),s,n,0)}),n}return null}const im={"Content-Type":void 0};function rm(e,t,n){if(z.isString(e))try{return(t||JSON.parse)(e),z.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const ri={transitional:Cc,adapter:["xhr","http"],transformRequest:[function(t,n){const o=n.getContentType()||"",s=o.indexOf("application/json")>-1,i=z.isObject(t);if(i&&z.isHTMLForm(t)&&(t=new FormData(t)),z.isFormData(t))return s&&s?JSON.stringify($c(t)):t;if(z.isArrayBuffer(t)||z.isBuffer(t)||z.isStream(t)||z.isFile(t)||z.isBlob(t))return t;if(z.isArrayBufferView(t))return t.buffer;if(z.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(i){if(o.indexOf("application/x-www-form-urlencoded")>-1)return nm(t,this.formSerializer).toString();if((l=z.isFileList(t))||o.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return ii(l?{"files[]":t}:t,d&&new d,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),rm(t)):t}],transformResponse:[function(t){const n=this.transitional||ri.transitional,o=n&&n.forcedJSONParsing,s=this.responseType==="json";if(t&&z.isString(t)&&(o&&!this.responseType||s)){const r=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(l){if(r)throw l.name==="SyntaxError"?je.from(l,je.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Qt.classes.FormData,Blob:Qt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};z.forEach(["delete","get","head"],function(t){ri.headers[t]={}}),z.forEach(["post","put","patch"],function(t){ri.headers[t]=z.merge(im)});const qr=ri,am=z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),lm=e=>{const t={};let n,o,s;return e&&e.split(` `).forEach(function(r){s=r.indexOf(":"),n=r.substring(0,s).trim().toLowerCase(),o=r.substring(s+1).trim(),!(!n||t[n]&&am[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},kc=Symbol("internals");function ls(e){return e&&String(e).trim().toLowerCase()}function ai(e){return e===!1||e==null?e:z.isArray(e)?e.map(ai):String(e)}function cm(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}function um(e){return/^[-_a-zA-Z]+$/.test(e.trim())}function Vr(e,t,n,o,s){if(z.isFunction(o))return o.call(this,t,n);if(s&&(t=n),!!z.isString(t)){if(z.isString(o))return t.indexOf(o)!==-1;if(z.isRegExp(o))return o.test(t)}}function dm(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function fm(e,t){const n=z.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(s,i,r){return this[o].call(this,t,s,i,r)},configurable:!0})})}class li{constructor(t){t&&this.set(t)}set(t,n,o){const s=this;function i(l,d,f){const p=ls(d);if(!p)throw new Error("header name must be a non-empty string");const h=z.findKey(s,p);(!h||s[h]===void 0||f===!0||f===void 0&&s[h]!==!1)&&(s[h||d]=ai(l))}const r=(l,d)=>z.forEach(l,(f,p)=>i(f,p,d));return z.isPlainObject(t)||t instanceof this.constructor?r(t,n):z.isString(t)&&(t=t.trim())&&!um(t)?r(lm(t),n):t!=null&&i(n,t,o),this}get(t,n){if(t=ls(t),t){const o=z.findKey(this,t);if(o){const s=this[o];if(!n)return s;if(n===!0)return cm(s);if(z.isFunction(n))return n.call(this,s,o);if(z.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ls(t),t){const o=z.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||Vr(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let s=!1;function i(r){if(r=ls(r),r){const l=z.findKey(o,r);l&&(!n||Vr(o,o[l],l,n))&&(delete o[l],s=!0)}}return z.isArray(t)?t.forEach(i):i(t),s}clear(t){const n=Object.keys(this);let o=n.length,s=!1;for(;o--;){const i=n[o];(!t||Vr(this,this[i],i,t,!0))&&(delete this[i],s=!0)}return s}normalize(t){const n=this,o={};return z.forEach(this,(s,i)=>{const r=z.findKey(o,i);if(r){n[r]=ai(s),delete n[i];return}const l=t?dm(i):String(i).trim();l!==i&&delete n[i],n[l]=ai(s),o[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return z.forEach(this,(o,s)=>{o!=null&&o!==!1&&(n[s]=t&&z.isArray(o)?o.join(", "):o)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(s=>o.set(s)),o}static accessor(t){const o=(this[kc]=this[kc]={accessors:{}}).accessors,s=this.prototype;function i(r){const l=ls(r);o[l]||(fm(s,r),o[l]=!0)}return z.isArray(t)?t.forEach(i):i(t),this}}li.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),z.freezeMethods(li.prototype),z.freezeMethods(li);const cn=li;function Wr(e,t){const n=this||qr,o=t||n,s=cn.from(o.headers);let i=o.data;return z.forEach(e,function(l){i=l.call(n,i,s.normalize(),t?t.status:void 0)}),s.normalize(),i}function Sc(e){return!!(e&&e.__CANCEL__)}function cs(e,t,n){je.call(this,e==null?"canceled":e,je.ERR_CANCELED,t,n),this.name="CanceledError"}z.inherits(cs,je,{__CANCEL__:!0});function pm(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new je("Request failed with status code "+n.status,[je.ERR_BAD_REQUEST,je.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const hm=Qt.isStandardBrowserEnv?function(){return{write:function(n,o,s,i,r,l){const d=[];d.push(n+"="+encodeURIComponent(o)),z.isNumber(s)&&d.push("expires="+new Date(s).toGMTString()),z.isString(i)&&d.push("path="+i),z.isString(r)&&d.push("domain="+r),l===!0&&d.push("secure"),document.cookie=d.join("; ")},read:function(n){const o=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return o?decodeURIComponent(o[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function mm(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function gm(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Ec(e,t){return e&&!mm(t)?gm(e,t):t}const wm=Qt.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let o;function s(i){let r=i;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return o=s(window.location.href),function(r){const l=z.isString(r)?s(r):r;return l.protocol===o.protocol&&l.host===o.host}}():function(){return function(){return!0}}();function ym(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function bm(e,t){e=e||10;const n=new Array(e),o=new Array(e);let s=0,i=0,r;return t=t!==void 0?t:1e3,function(d){const f=Date.now(),p=o[i];r||(r=f),n[s]=d,o[s]=f;let h=i,y=0;for(;h!==s;)y+=n[h++],h=h%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),f-r{const i=s.loaded,r=s.lengthComputable?s.total:void 0,l=i-n,d=o(l),f=i<=r;n=i;const p={loaded:i,total:r,progress:r?i/r:void 0,bytes:l,rate:d||void 0,estimated:d&&r&&f?(r-i)/d:void 0,event:s};p[t?"download":"upload"]=!0,e(p)}}const ci={http:Kh,xhr:typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,o){let s=e.data;const i=cn.from(e.headers).normalize(),r=e.responseType;let l;function d(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}z.isFormData(s)&&(Qt.isStandardBrowserEnv||Qt.isStandardBrowserWebWorkerEnv)&&i.setContentType(!1);let f=new XMLHttpRequest;if(e.auth){const E=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(E+":"+x))}const p=Ec(e.baseURL,e.url);f.open(e.method.toUpperCase(),_c(p,e.params,e.paramsSerializer),!0),f.timeout=e.timeout;function h(){if(!f)return;const E=cn.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),A={data:!r||r==="text"||r==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:E,config:e,request:f};pm(function(V){n(V),d()},function(V){o(V),d()},A),f=null}if("onloadend"in f?f.onloadend=h:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(h)},f.onabort=function(){!f||(o(new je("Request aborted",je.ECONNABORTED,e,f)),f=null)},f.onerror=function(){o(new je("Network Error",je.ERR_NETWORK,e,f)),f=null},f.ontimeout=function(){let x=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const A=e.transitional||Cc;e.timeoutErrorMessage&&(x=e.timeoutErrorMessage),o(new je(x,A.clarifyTimeoutError?je.ETIMEDOUT:je.ECONNABORTED,e,f)),f=null},Qt.isStandardBrowserEnv){const E=(e.withCredentials||wm(p))&&e.xsrfCookieName&&hm.read(e.xsrfCookieName);E&&i.set(e.xsrfHeaderName,E)}s===void 0&&i.setContentType(null),"setRequestHeader"in f&&z.forEach(i.toJSON(),function(x,A){f.setRequestHeader(A,x)}),z.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),r&&r!=="json"&&(f.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&f.addEventListener("progress",Ac(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",Ac(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=E=>{!f||(o(!E||E.type?new cs(null,e,f):E),f.abort(),f=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const y=ym(p);if(y&&Qt.protocols.indexOf(y)===-1){o(new je("Unsupported protocol "+y+":",je.ERR_BAD_REQUEST,e));return}f.send(s||null)})}};z.forEach(ci,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const vm={getAdapter:e=>{e=z.isArray(e)?e:[e];const{length:t}=e;let n,o;for(let s=0;se instanceof cn?e.toJSON():e;function Oo(e,t){t=t||{};const n={};function o(f,p,h){return z.isPlainObject(f)&&z.isPlainObject(p)?z.merge.call({caseless:h},f,p):z.isPlainObject(p)?z.merge({},p):z.isArray(p)?p.slice():p}function s(f,p,h){if(z.isUndefined(p)){if(!z.isUndefined(f))return o(void 0,f,h)}else return o(f,p,h)}function i(f,p){if(!z.isUndefined(p))return o(void 0,p)}function r(f,p){if(z.isUndefined(p)){if(!z.isUndefined(f))return o(void 0,f)}else return o(void 0,p)}function l(f,p,h){if(h in t)return o(f,p);if(h in e)return o(void 0,f)}const d={url:i,method:i,data:i,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:l,headers:(f,p)=>s(Oc(f),Oc(p),!0)};return z.forEach(Object.keys(e).concat(Object.keys(t)),function(p){const h=d[p]||s,y=h(e[p],t[p],p);z.isUndefined(y)&&h!==l||(n[p]=y)}),n}const Ic="1.3.3",Gr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Gr[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const Tc={};Gr.transitional=function(t,n,o){function s(i,r){return"[Axios v"+Ic+"] Transitional option '"+i+"'"+r+(o?". "+o:"")}return(i,r,l)=>{if(t===!1)throw new je(s(r," has been removed"+(n?" in "+n:"")),je.ERR_DEPRECATED);return n&&!Tc[r]&&(Tc[r]=!0,console.warn(s(r," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,r,l):!0}};function _m(e,t,n){if(typeof e!="object")throw new je("options must be an object",je.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let s=o.length;for(;s-- >0;){const i=o[s],r=t[i];if(r){const l=e[i],d=l===void 0||r(l,i,e);if(d!==!0)throw new je("option "+i+" must be "+d,je.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new je("Unknown option "+i,je.ERR_BAD_OPTION)}}const Jr={assertOptions:_m,validators:Gr},An=Jr.validators;class ui{constructor(t){this.defaults=t,this.interceptors={request:new xc,response:new xc}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Oo(this.defaults,n);const{transitional:o,paramsSerializer:s,headers:i}=n;o!==void 0&&Jr.assertOptions(o,{silentJSONParsing:An.transitional(An.boolean),forcedJSONParsing:An.transitional(An.boolean),clarifyTimeoutError:An.transitional(An.boolean)},!1),s!==void 0&&Jr.assertOptions(s,{encode:An.function,serialize:An.function},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let r;r=i&&z.merge(i.common,i[n.method]),r&&z.forEach(["delete","get","head","post","put","patch","common"],x=>{delete i[x]}),n.headers=cn.concat(r,i);const l=[];let d=!0;this.interceptors.request.forEach(function(A){typeof A.runWhen=="function"&&A.runWhen(n)===!1||(d=d&&A.synchronous,l.unshift(A.fulfilled,A.rejected))});const f=[];this.interceptors.response.forEach(function(A){f.push(A.fulfilled,A.rejected)});let p,h=0,y;if(!d){const x=[Pc.bind(this),void 0];for(x.unshift.apply(x,l),x.push.apply(x,f),y=x.length,p=Promise.resolve(n);h{if(!o._listeners)return;let i=o._listeners.length;for(;i-- >0;)o._listeners[i](s);o._listeners=null}),this.promise.then=s=>{let i;const r=new Promise(l=>{o.subscribe(l),i=l}).then(s);return r.cancel=function(){o.unsubscribe(i)},r},t(function(i,r,l){o.reason||(o.reason=new cs(i,r,l),n(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Yr(function(s){t=s}),cancel:t}}}const xm=Yr;function Cm(e){return function(n){return e.apply(null,n)}}function $m(e){return z.isObject(e)&&e.isAxiosError===!0}const Xr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Xr).forEach(([e,t])=>{Xr[t]=e});const km=Xr;function Lc(e){const t=new di(e),n=sc(di.prototype.request,t);return z.extend(n,di.prototype,t,{allOwnKeys:!0}),z.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Lc(Oo(e,s))},n}const ot=Lc(qr);ot.Axios=di,ot.CanceledError=cs,ot.CancelToken=xm,ot.isCancel=Sc,ot.VERSION=Ic,ot.toFormData=ii,ot.AxiosError=je,ot.Cancel=ot.CanceledError,ot.all=function(t){return Promise.all(t)},ot.spread=Cm,ot.isAxiosError=$m,ot.mergeConfig=Oo,ot.AxiosHeaders=cn,ot.formToJSON=e=>$c(z.isHTMLForm(e)?new FormData(e):e),ot.HttpStatusCode=km,ot.default=ot;const Mt=ot,{Axios:BA,AxiosError:DA,CanceledError:NA,isCancel:RA,CancelToken:jA,VERSION:FA,all:UA,Cancel:HA,isAxiosError:zA,spread:qA,toFormData:Sm,AxiosHeaders:VA,HttpStatusCode:WA,formToJSON:KA,mergeConfig:GA}=Mt;class Em extends Error{}class Qr extends Em{constructor(){super(...arguments);Ae(this,"message","搜索失败!")}}class Mc extends Qr{constructor(){super(...arguments);Ae(this,"message","搜索请求响应内容为空!")}}class st{constructor(){this._dataLength=0,this._bufferLength=0,this._state=new Int32Array(4),this._buffer=new ArrayBuffer(68),this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}static hashStr(t,n=!1){return this.onePassHasher.start().appendStr(t).end(n)}static hashAsciiStr(t,n=!1){return this.onePassHasher.start().appendAsciiStr(t).end(n)}static _hex(t){const n=st.hexChars,o=st.hexOut;let s,i,r,l;for(l=0;l<4;l+=1)for(i=l*8,s=t[l],r=0;r<8;r+=2)o[i+1+r]=n.charAt(s&15),s>>>=4,o[i+0+r]=n.charAt(s&15),s>>>=4;return o.join("")}static _md5cycle(t,n){let o=t[0],s=t[1],i=t[2],r=t[3];o+=(s&i|~s&r)+n[0]-680876936|0,o=(o<<7|o>>>25)+s|0,r+=(o&s|~o&i)+n[1]-389564586|0,r=(r<<12|r>>>20)+o|0,i+=(r&o|~r&s)+n[2]+606105819|0,i=(i<<17|i>>>15)+r|0,s+=(i&r|~i&o)+n[3]-1044525330|0,s=(s<<22|s>>>10)+i|0,o+=(s&i|~s&r)+n[4]-176418897|0,o=(o<<7|o>>>25)+s|0,r+=(o&s|~o&i)+n[5]+1200080426|0,r=(r<<12|r>>>20)+o|0,i+=(r&o|~r&s)+n[6]-1473231341|0,i=(i<<17|i>>>15)+r|0,s+=(i&r|~i&o)+n[7]-45705983|0,s=(s<<22|s>>>10)+i|0,o+=(s&i|~s&r)+n[8]+1770035416|0,o=(o<<7|o>>>25)+s|0,r+=(o&s|~o&i)+n[9]-1958414417|0,r=(r<<12|r>>>20)+o|0,i+=(r&o|~r&s)+n[10]-42063|0,i=(i<<17|i>>>15)+r|0,s+=(i&r|~i&o)+n[11]-1990404162|0,s=(s<<22|s>>>10)+i|0,o+=(s&i|~s&r)+n[12]+1804603682|0,o=(o<<7|o>>>25)+s|0,r+=(o&s|~o&i)+n[13]-40341101|0,r=(r<<12|r>>>20)+o|0,i+=(r&o|~r&s)+n[14]-1502002290|0,i=(i<<17|i>>>15)+r|0,s+=(i&r|~i&o)+n[15]+1236535329|0,s=(s<<22|s>>>10)+i|0,o+=(s&r|i&~r)+n[1]-165796510|0,o=(o<<5|o>>>27)+s|0,r+=(o&i|s&~i)+n[6]-1069501632|0,r=(r<<9|r>>>23)+o|0,i+=(r&s|o&~s)+n[11]+643717713|0,i=(i<<14|i>>>18)+r|0,s+=(i&o|r&~o)+n[0]-373897302|0,s=(s<<20|s>>>12)+i|0,o+=(s&r|i&~r)+n[5]-701558691|0,o=(o<<5|o>>>27)+s|0,r+=(o&i|s&~i)+n[10]+38016083|0,r=(r<<9|r>>>23)+o|0,i+=(r&s|o&~s)+n[15]-660478335|0,i=(i<<14|i>>>18)+r|0,s+=(i&o|r&~o)+n[4]-405537848|0,s=(s<<20|s>>>12)+i|0,o+=(s&r|i&~r)+n[9]+568446438|0,o=(o<<5|o>>>27)+s|0,r+=(o&i|s&~i)+n[14]-1019803690|0,r=(r<<9|r>>>23)+o|0,i+=(r&s|o&~s)+n[3]-187363961|0,i=(i<<14|i>>>18)+r|0,s+=(i&o|r&~o)+n[8]+1163531501|0,s=(s<<20|s>>>12)+i|0,o+=(s&r|i&~r)+n[13]-1444681467|0,o=(o<<5|o>>>27)+s|0,r+=(o&i|s&~i)+n[2]-51403784|0,r=(r<<9|r>>>23)+o|0,i+=(r&s|o&~s)+n[7]+1735328473|0,i=(i<<14|i>>>18)+r|0,s+=(i&o|r&~o)+n[12]-1926607734|0,s=(s<<20|s>>>12)+i|0,o+=(s^i^r)+n[5]-378558|0,o=(o<<4|o>>>28)+s|0,r+=(o^s^i)+n[8]-2022574463|0,r=(r<<11|r>>>21)+o|0,i+=(r^o^s)+n[11]+1839030562|0,i=(i<<16|i>>>16)+r|0,s+=(i^r^o)+n[14]-35309556|0,s=(s<<23|s>>>9)+i|0,o+=(s^i^r)+n[1]-1530992060|0,o=(o<<4|o>>>28)+s|0,r+=(o^s^i)+n[4]+1272893353|0,r=(r<<11|r>>>21)+o|0,i+=(r^o^s)+n[7]-155497632|0,i=(i<<16|i>>>16)+r|0,s+=(i^r^o)+n[10]-1094730640|0,s=(s<<23|s>>>9)+i|0,o+=(s^i^r)+n[13]+681279174|0,o=(o<<4|o>>>28)+s|0,r+=(o^s^i)+n[0]-358537222|0,r=(r<<11|r>>>21)+o|0,i+=(r^o^s)+n[3]-722521979|0,i=(i<<16|i>>>16)+r|0,s+=(i^r^o)+n[6]+76029189|0,s=(s<<23|s>>>9)+i|0,o+=(s^i^r)+n[9]-640364487|0,o=(o<<4|o>>>28)+s|0,r+=(o^s^i)+n[12]-421815835|0,r=(r<<11|r>>>21)+o|0,i+=(r^o^s)+n[15]+530742520|0,i=(i<<16|i>>>16)+r|0,s+=(i^r^o)+n[2]-995338651|0,s=(s<<23|s>>>9)+i|0,o+=(i^(s|~r))+n[0]-198630844|0,o=(o<<6|o>>>26)+s|0,r+=(s^(o|~i))+n[7]+1126891415|0,r=(r<<10|r>>>22)+o|0,i+=(o^(r|~s))+n[14]-1416354905|0,i=(i<<15|i>>>17)+r|0,s+=(r^(i|~o))+n[5]-57434055|0,s=(s<<21|s>>>11)+i|0,o+=(i^(s|~r))+n[12]+1700485571|0,o=(o<<6|o>>>26)+s|0,r+=(s^(o|~i))+n[3]-1894986606|0,r=(r<<10|r>>>22)+o|0,i+=(o^(r|~s))+n[10]-1051523|0,i=(i<<15|i>>>17)+r|0,s+=(r^(i|~o))+n[1]-2054922799|0,s=(s<<21|s>>>11)+i|0,o+=(i^(s|~r))+n[8]+1873313359|0,o=(o<<6|o>>>26)+s|0,r+=(s^(o|~i))+n[15]-30611744|0,r=(r<<10|r>>>22)+o|0,i+=(o^(r|~s))+n[6]-1560198380|0,i=(i<<15|i>>>17)+r|0,s+=(r^(i|~o))+n[13]+1309151649|0,s=(s<<21|s>>>11)+i|0,o+=(i^(s|~r))+n[4]-145523070|0,o=(o<<6|o>>>26)+s|0,r+=(s^(o|~i))+n[11]-1120210379|0,r=(r<<10|r>>>22)+o|0,i+=(o^(r|~s))+n[2]+718787259|0,i=(i<<15|i>>>17)+r|0,s+=(r^(i|~o))+n[9]-343485551|0,s=(s<<21|s>>>11)+i|0,t[0]=o+t[0]|0,t[1]=s+t[1]|0,t[2]=i+t[2]|0,t[3]=r+t[3]|0}start(){return this._dataLength=0,this._bufferLength=0,this._state.set(st.stateIdentity),this}appendStr(t){const n=this._buffer8,o=this._buffer32;let s=this._bufferLength,i,r;for(r=0;r>>6)+192,n[s++]=i&63|128;else if(i<55296||i>56319)n[s++]=(i>>>12)+224,n[s++]=i>>>6&63|128,n[s++]=i&63|128;else{if(i=(i-55296)*1024+(t.charCodeAt(++r)-56320)+65536,i>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");n[s++]=(i>>>18)+240,n[s++]=i>>>12&63|128,n[s++]=i>>>6&63|128,n[s++]=i&63|128}s>=64&&(this._dataLength+=64,st._md5cycle(this._state,o),s-=64,o[0]=o[16])}return this._bufferLength=s,this}appendAsciiStr(t){const n=this._buffer8,o=this._buffer32;let s=this._bufferLength,i,r=0;for(;;){for(i=Math.min(t.length-r,64-s);i--;)n[s++]=t.charCodeAt(r++);if(s<64)break;this._dataLength+=64,st._md5cycle(this._state,o),s=0}return this._bufferLength=s,this}appendByteArray(t){const n=this._buffer8,o=this._buffer32;let s=this._bufferLength,i,r=0;for(;;){for(i=Math.min(t.length-r,64-s);i--;)n[s++]=t[r++];if(s<64)break;this._dataLength+=64,st._md5cycle(this._state,o),s=0}return this._bufferLength=s,this}getState(){const t=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[t[0],t[1],t[2],t[3]]}}setState(t){const n=t.buffer,o=t.state,s=this._state;let i;for(this._dataLength=t.length,this._bufferLength=t.buflen,s[0]=o[0],s[1]=o[1],s[2]=o[2],s[3]=o[3],i=0;i>2)+1;this._dataLength+=n;const r=this._dataLength*8;if(o[n]=128,o[n+1]=o[n+2]=o[n+3]=0,s.set(st.buffer32Identity.subarray(i),i),n>55&&(st._md5cycle(this._state,s),s.set(st.buffer32Identity)),r<=4294967295)s[14]=r;else{const l=r.toString(16).match(/(.*?)(.{0,8})$/);if(l===null)return;const d=parseInt(l[2],16),f=parseInt(l[1],16)||0;s[14]=d,s[15]=f}return st._md5cycle(this._state,s),t?this._state:st._hex(this._state)}}if(st.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]),st.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),st.hexChars="0123456789abcdef",st.hexOut=[],st.onePassHasher=new st,st.hashStr("hello")!=="5d41402abc4b2a76b9719d911017c592")throw new Error("Md5 self test failed.");var Am={exports:{}};(function(e){var t=function(n){var o=1e7,s=7,i=9007199254740992,r=x(i),l="0123456789abcdefghijklmnopqrstuvwxyz",d=typeof BigInt=="function";function f(m,w,_,C){return typeof m>"u"?f[0]:typeof w<"u"?+w==10&&!_?R(m):F(m,w,_,C):R(m)}function p(m,w){this.value=m,this.sign=w,this.isSmall=!1}p.prototype=Object.create(f.prototype);function h(m){this.value=m,this.sign=m<0,this.isSmall=!0}h.prototype=Object.create(f.prototype);function y(m){this.value=m}y.prototype=Object.create(f.prototype);function E(m){return-i0?Math.floor(m):Math.ceil(m)}function T(m,w){var _=m.length,C=w.length,P=new Array(_),k=0,j=o,H,X;for(X=0;X=j?1:0,P[X]=H-k*j;for(;X<_;)H=m[X]+k,k=H===j?1:0,P[X++]=H-k*j;return k>0&&P.push(k),P}function Y(m,w){return m.length>=w.length?T(m,w):T(w,m)}function ee(m,w){var _=m.length,C=new Array(_),P=o,k,j;for(j=0;j<_;j++)k=m[j]-P+w,w=Math.floor(k/P),C[j]=k-w*P,w+=1;for(;w>0;)C[j++]=w%P,w=Math.floor(w/P);return C}p.prototype.add=function(m){var w=R(m);if(this.sign!==w.sign)return this.subtract(w.negate());var _=this.value,C=w.value;return w.isSmall?new p(ee(_,Math.abs(C)),this.sign):new p(Y(_,C),this.sign)},p.prototype.plus=p.prototype.add,h.prototype.add=function(m){var w=R(m),_=this.value;if(_<0!==w.sign)return this.subtract(w.negate());var C=w.value;if(w.isSmall){if(E(_+C))return new h(_+C);C=x(Math.abs(C))}return new p(ee(C,Math.abs(_)),_<0)},h.prototype.plus=h.prototype.add,y.prototype.add=function(m){return new y(this.value+R(m).value)},y.prototype.plus=y.prototype.add;function U(m,w){var _=m.length,C=w.length,P=new Array(_),k=0,j=o,H,X;for(H=0;H=0?C=U(m,w):(C=U(w,m),_=!_),C=A(C),typeof C=="number"?(_&&(C=-C),new h(C)):new p(C,_)}function ie(m,w,_){var C=m.length,P=new Array(C),k=-w,j=o,H,X;for(H=0;H=0)},h.prototype.minus=h.prototype.subtract,y.prototype.subtract=function(m){return new y(this.value-R(m).value)},y.prototype.minus=y.prototype.subtract,p.prototype.negate=function(){return new p(this.value,!this.sign)},h.prototype.negate=function(){var m=this.sign,w=new h(-this.value);return w.sign=!m,w},y.prototype.negate=function(){return new y(-this.value)},p.prototype.abs=function(){return new p(this.value,!1)},h.prototype.abs=function(){return new h(Math.abs(this.value))},y.prototype.abs=function(){return new y(this.value>=0?this.value:-this.value)};function de(m,w){var _=m.length,C=w.length,P=_+C,k=V(P),j=o,H,X,$e,xe,he;for($e=0;$e<_;++$e){xe=m[$e];for(var Ne=0;Ne0;)C[H++]=k%P,k=Math.floor(k/P);return C}function pe(m,w){for(var _=[];w-- >0;)_.push(0);return _.concat(m)}function re(m,w){var _=Math.max(m.length,w.length);if(_<=30)return de(m,w);_=Math.ceil(_/2);var C=m.slice(_),P=m.slice(0,_),k=w.slice(_),j=w.slice(0,_),H=re(P,j),X=re(C,k),$e=re(Y(P,C),Y(j,k)),xe=Y(Y(H,pe(U(U($e,H),X),_)),pe(X,2*_));return O(xe),xe}function Ee(m,w){return-.012*m-.012*w+15e-6*m*w>0}p.prototype.multiply=function(m){var w=R(m),_=this.value,C=w.value,P=this.sign!==w.sign,k;if(w.isSmall){if(C===0)return f[0];if(C===1)return this;if(C===-1)return this.negate();if(k=Math.abs(C),k=0;he--){for(xe=P-1,X[he+C]!==j&&(xe=Math.floor((X[he+C]*P+X[he+C-1])/j)),Ne=0,xt=0,Ws=$e.length,mt=0;mtC&&($e=($e+1)*j),H=Math.ceil($e/xe);do{if(he=Pe(w,H),Se(he,k)<=0)break;H--}while(H);P.push(H),k=U(k,he)}return P.reverse(),[A(P),A(k)]}function N(m,w){var _=m.length,C=V(_),P=o,k,j,H,X;for(H=0,k=_-1;k>=0;--k)X=H*P+m[k],j=I(X/w),H=X-j*w,C[k]=j|0;return[C,H|0]}function we(m,w){var _,C=R(w);if(d)return[new y(m.value/C.value),new y(m.value%C.value)];var P=m.value,k=C.value,j;if(k===0)throw new Error("Cannot divide by zero");if(m.isSmall)return C.isSmall?[new h(I(P/k)),new h(P%k)]:[f[0],m];if(C.isSmall){if(k===1)return[m,f[0]];if(k==-1)return[m.negate(),f[0]];var H=Math.abs(k);if(Hw.length?1:-1;for(var _=m.length-1;_>=0;_--)if(m[_]!==w[_])return m[_]>w[_]?1:-1;return 0}p.prototype.compareAbs=function(m){var w=R(m),_=this.value,C=w.value;return w.isSmall?1:Se(_,C)},h.prototype.compareAbs=function(m){var w=R(m),_=Math.abs(this.value),C=w.value;return w.isSmall?(C=Math.abs(C),_===C?0:_>C?1:-1):-1},y.prototype.compareAbs=function(m){var w=this.value,_=R(m).value;return w=w>=0?w:-w,_=_>=0?_:-_,w===_?0:w>_?1:-1},p.prototype.compare=function(m){if(m===1/0)return-1;if(m===-1/0)return 1;var w=R(m),_=this.value,C=w.value;return this.sign!==w.sign?w.sign?1:-1:w.isSmall?this.sign?-1:1:Se(_,C)*(this.sign?-1:1)},p.prototype.compareTo=p.prototype.compare,h.prototype.compare=function(m){if(m===1/0)return-1;if(m===-1/0)return 1;var w=R(m),_=this.value,C=w.value;return w.isSmall?_==C?0:_>C?1:-1:_<0!==w.sign?_<0?-1:1:_<0?1:-1},h.prototype.compareTo=h.prototype.compare,y.prototype.compare=function(m){if(m===1/0)return-1;if(m===-1/0)return 1;var w=this.value,_=R(m).value;return w===_?0:w>_?1:-1},y.prototype.compareTo=y.prototype.compare,p.prototype.equals=function(m){return this.compare(m)===0},y.prototype.eq=y.prototype.equals=h.prototype.eq=h.prototype.equals=p.prototype.eq=p.prototype.equals,p.prototype.notEquals=function(m){return this.compare(m)!==0},y.prototype.neq=y.prototype.notEquals=h.prototype.neq=h.prototype.notEquals=p.prototype.neq=p.prototype.notEquals,p.prototype.greater=function(m){return this.compare(m)>0},y.prototype.gt=y.prototype.greater=h.prototype.gt=h.prototype.greater=p.prototype.gt=p.prototype.greater,p.prototype.lesser=function(m){return this.compare(m)<0},y.prototype.lt=y.prototype.lesser=h.prototype.lt=h.prototype.lesser=p.prototype.lt=p.prototype.lesser,p.prototype.greaterOrEquals=function(m){return this.compare(m)>=0},y.prototype.geq=y.prototype.greaterOrEquals=h.prototype.geq=h.prototype.greaterOrEquals=p.prototype.geq=p.prototype.greaterOrEquals,p.prototype.lesserOrEquals=function(m){return this.compare(m)<=0},y.prototype.leq=y.prototype.lesserOrEquals=h.prototype.leq=h.prototype.lesserOrEquals=p.prototype.leq=p.prototype.lesserOrEquals,p.prototype.isEven=function(){return(this.value[0]&1)===0},h.prototype.isEven=function(){return(this.value&1)===0},y.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},p.prototype.isOdd=function(){return(this.value[0]&1)===1},h.prototype.isOdd=function(){return(this.value&1)===1},y.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},p.prototype.isPositive=function(){return!this.sign},h.prototype.isPositive=function(){return this.value>0},y.prototype.isPositive=h.prototype.isPositive,p.prototype.isNegative=function(){return this.sign},h.prototype.isNegative=function(){return this.value<0},y.prototype.isNegative=h.prototype.isNegative,p.prototype.isUnit=function(){return!1},h.prototype.isUnit=function(){return Math.abs(this.value)===1},y.prototype.isUnit=function(){return this.abs().value===BigInt(1)},p.prototype.isZero=function(){return!1},h.prototype.isZero=function(){return this.value===0},y.prototype.isZero=function(){return this.value===BigInt(0)},p.prototype.isDivisibleBy=function(m){var w=R(m);return w.isZero()?!1:w.isUnit()?!0:w.compareAbs(2)===0?this.isEven():this.mod(w).isZero()},y.prototype.isDivisibleBy=h.prototype.isDivisibleBy=p.prototype.isDivisibleBy;function Le(m){var w=m.abs();if(w.isUnit())return!1;if(w.equals(2)||w.equals(3)||w.equals(5))return!0;if(w.isEven()||w.isDivisibleBy(3)||w.isDivisibleBy(5))return!1;if(w.lesser(49))return!0}function Xe(m,w){for(var _=m.prev(),C=_,P=0,k,j,H;C.isEven();)C=C.divide(2),P++;e:for(j=0;j-i?new h(m-1):new p(r,!0)},y.prototype.prev=function(){return new y(this.value-BigInt(1))};for(var Qe=[1];2*Qe[Qe.length-1]<=o;)Qe.push(2*Qe[Qe.length-1]);var It=Qe.length,Tt=Qe[It-1];function $n(m){return Math.abs(m)<=o}p.prototype.shiftLeft=function(m){var w=R(m).toJSNumber();if(!$n(w))throw new Error(String(w)+" is too large for shifting.");if(w<0)return this.shiftRight(-w);var _=this;if(_.isZero())return _;for(;w>=It;)_=_.multiply(Tt),w-=It-1;return _.multiply(Qe[w])},y.prototype.shiftLeft=h.prototype.shiftLeft=p.prototype.shiftLeft,p.prototype.shiftRight=function(m){var w,_=R(m).toJSNumber();if(!$n(_))throw new Error(String(_)+" is too large for shifting.");if(_<0)return this.shiftLeft(-_);for(var C=this;_>=It;){if(C.isZero()||C.isNegative()&&C.isUnit())return C;w=we(C,Tt),C=w[1].isNegative()?w[0].prev():w[0],_-=It-1}return w=we(C,Qe[_]),w[1].isNegative()?w[0].prev():w[0]},y.prototype.shiftRight=h.prototype.shiftRight=p.prototype.shiftRight;function vt(m,w,_){w=R(w);for(var C=m.isNegative(),P=w.isNegative(),k=C?m.not():m,j=P?w.not():w,H=0,X=0,$e=null,xe=null,he=[];!k.isZero()||!j.isZero();)$e=we(k,Tt),H=$e[1].toJSNumber(),C&&(H=Tt-1-H),xe=we(j,Tt),X=xe[1].toJSNumber(),P&&(X=Tt-1-X),k=$e[0],j=xe[0],he.push(_(H,X));for(var Ne=_(C?1:0,P?1:0)!==0?t(-1):t(0),xt=he.length-1;xt>=0;xt-=1)Ne=Ne.multiply(Tt).add(t(he[xt]));return Ne}p.prototype.not=function(){return this.negate().prev()},y.prototype.not=h.prototype.not=p.prototype.not,p.prototype.and=function(m){return vt(this,m,function(w,_){return w&_})},y.prototype.and=h.prototype.and=p.prototype.and,p.prototype.or=function(m){return vt(this,m,function(w,_){return w|_})},y.prototype.or=h.prototype.or=p.prototype.or,p.prototype.xor=function(m){return vt(this,m,function(w,_){return w^_})},y.prototype.xor=h.prototype.xor=p.prototype.xor;var _t=1<<30,ut=(o&-o)*(o&-o)|_t;function et(m){var w=m.value,_=typeof w=="number"?w|_t:typeof w=="bigint"?w|BigInt(_t):w[0]+w[1]*o|ut;return _&-_}function Jn(m,w){if(w.compareTo(m)<=0){var _=Jn(m,w.square(w)),C=_.p,P=_.e,k=C.multiply(w);return k.compareTo(m)<=0?{p:k,e:P*2+1}:{p:C,e:P*2}}return{p:t(1),e:0}}p.prototype.bitLength=function(){var m=this;return m.compareTo(t(0))<0&&(m=m.negate().subtract(t(1))),m.compareTo(t(0))===0?t(0):t(Jn(m,t(2)).e).add(t(1))},y.prototype.bitLength=h.prototype.bitLength=p.prototype.bitLength;function at(m,w){return m=R(m),w=R(w),m.greater(w)?m:w}function b(m,w){return m=R(m),w=R(w),m.lesser(w)?m:w}function S(m,w){if(m=R(m).abs(),w=R(w).abs(),m.equals(w))return m;if(m.isZero())return w;if(w.isZero())return m;for(var _=f[1],C,P;m.isEven()&&w.isEven();)C=b(et(m),et(w)),m=m.divide(C),w=w.divide(C),_=_.multiply(C);for(;m.isEven();)m=m.divide(et(m));do{for(;w.isEven();)w=w.divide(et(w));m.greater(w)&&(P=w,w=m,m=P),w=w.subtract(m)}while(!w.isZero());return _.isUnit()?m:m.multiply(_)}function M(m,w){return m=R(m).abs(),w=R(w).abs(),m.divide(S(m,w)).multiply(w)}function L(m,w,_){m=R(m),w=R(w);var C=_||Math.random,P=b(m,w),k=at(m,w),j=k.subtract(P).add(1);if(j.isSmall)return P.add(Math.floor(C()*j));for(var H=q(j,o).value,X=[],$e=!0,xe=0;xe=j){if(X==="1"&&j===1)continue;throw new Error(X+" is not a valid digit in base "+w+".")}}w=R(w);var $e=[],xe=m[0]==="-";for(k=xe?1:0;k"&&k=0;k--)C=C.add(m[k].times(P)),P=P.times(w);return _?C.negate():C}function oe(m,w){return w=w||l,m"}function q(m,w){if(w=t(w),w.isZero()){if(m.isZero())return{value:[0],isNegative:!1};throw new Error("Cannot convert nonzero numbers to base 0.")}if(w.equals(-1)){if(m.isZero())return{value:[0],isNegative:!1};if(m.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-m.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var _=Array.apply(null,Array(m.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return _.unshift([1]),{value:[].concat.apply([],_),isNegative:!1}}var C=!1;if(m.isNegative()&&w.isPositive()&&(C=!0,m=m.abs()),w.isUnit())return m.isZero()?{value:[0],isNegative:!1}:{value:Array.apply(null,Array(m.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:C};for(var P=[],k=m,j;k.isNegative()||k.compareAbs(w)>=0;){j=k.divmod(w),k=j.quotient;var H=j.remainder;H.isNegative()&&(H=w.minus(H).abs(),k=k.next()),P.push(H.toJSNumber())}return P.push(k.toJSNumber()),{value:P.reverse(),isNegative:C}}function G(m,w,_){var C=q(m,w);return(C.isNegative?"-":"")+C.value.map(function(P){return oe(P,_)}).join("")}p.prototype.toArray=function(m){return q(this,m)},h.prototype.toArray=function(m){return q(this,m)},y.prototype.toArray=function(m){return q(this,m)},p.prototype.toString=function(m,w){if(m===n&&(m=10),m!==10)return G(this,m,w);for(var _=this.value,C=_.length,P=String(_[--C]),k="0000000",j;--C>=0;)j=String(_[C]),P+=k.slice(j.length)+j;var H=this.sign?"-":"";return H+P},h.prototype.toString=function(m,w){return m===n&&(m=10),m!=10?G(this,m,w):String(this.value)},y.prototype.toString=h.prototype.toString,y.prototype.toJSON=p.prototype.toJSON=h.prototype.toJSON=function(){return this.toString()},p.prototype.valueOf=function(){return parseInt(this.toString(),10)},p.prototype.toJSNumber=p.prototype.valueOf,h.prototype.valueOf=function(){return this.value},h.prototype.toJSNumber=h.prototype.valueOf,y.prototype.valueOf=y.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};function W(m){if(E(+m)){var w=+m;if(w===I(w))return d?new y(BigInt(w)):new h(w);throw new Error("Invalid integer: "+m)}var _=m[0]==="-";_&&(m=m.slice(1));var C=m.split(/e/i);if(C.length>2)throw new Error("Invalid integer: "+C.join("e"));if(C.length===2){var P=C[1];if(P[0]==="+"&&(P=P.slice(1)),P=+P,P!==I(P)||!E(P))throw new Error("Invalid integer: "+P+" is not a valid exponent.");var k=C[0],j=k.indexOf(".");if(j>=0&&(P-=k.length-j-1,k=k.slice(0,j)+k.slice(j+1)),P<0)throw new Error("Cannot include negative exponent part for integers");k+=new Array(P+1).join("0"),m=k}var H=/^([0-9][0-9]*)$/.test(m);if(!H)throw new Error("Invalid integer: "+m);if(d)return new y(BigInt(_?"-"+m:m));for(var X=[],$e=m.length,xe=s,he=$e-xe;$e>0;)X.push(+m.slice(he,$e)),he-=xe,he<0&&(he=0),$e-=xe;return O(X),new p(X,_)}function ce(m){if(d)return new y(BigInt(m));if(E(m)){if(m!==I(m))throw new Error(m+" is not an integer.");return new h(m)}return W(m.toString())}function R(m){return typeof m=="number"?ce(m):typeof m=="string"?W(m):typeof m=="bigint"?new y(m):m}for(var ue=0;ue<1e3;ue++)f[ue]=R(ue),ue>0&&(f[-ue]=R(-ue));return f.one=f[1],f.zero=f[0],f.minusOne=f[-1],f.max=at,f.min=b,f.gcd=S,f.lcm=M,f.isInstance=function(m){return m instanceof p||m instanceof h||m instanceof y},f.randBetween=L,f.fromArray=function(m,w,_){return Q(m.map(R),R(w||10),_)},f}();e.hasOwnProperty("exports")&&(e.exports=t)})(Am);async function Bc(e,t,n){const o=new URLSearchParams({page:e.toString(),uid:n.toString(),sign:t,time:ss().toString()});return(await Mt.post("https://115.com/web/lixian/?ct=lixian&ac=task_lists",o,{withCredentials:!0,timeout:6e4})).data}async function Dc(){return(await Mt.get(`https://115.com/?ct=offline&ac=space&_=${Date.now()}`,{timeout:3e4,withCredentials:!0})).data}async function Nc(){const t=(await Mt.get("https://my.115.com/?ct=ajax&ac=nav",{timeout:3e4,withCredentials:!0})).data;if(t.state)return t.data;throw new Error(t.error)}async function Pm(e){const t=Jl(e),o=(await Mt.get("https://webapi.115.com/files?"+t,{timeout:12e4,withCredentials:!0})).data;if(o.state)return o;throw new Error(o.error)}async function Rc(e,t=500){let n=[],o=0;for(;;){e.offset=o;const s=await Pm(e);if(!s.data||!s.data.length||(n=[...n,...s.data],o+=e.limit,o>=s.count))break;await Ht(t)}return n}async function Om(e){const t=Jl(e),n=await Mt.get("https://webapi.115.com/files/search?"+t,{timeout:12e4,withCredentials:!0});if(n.data==="")throw new Mc;const o=n.data;if(o.state)return o;throw new Qr(o.error)}async function Im(e,t=500,n=!1){let o=[],s=0,i=e.limit;const r=1e4,l=115,d=r-r%i;let f=i;for(;;){if(n){if(s>=d&&s=r&&(f=l)}e.offset=s,e.limit=f;const p=await Om(e);if(!p.data||!p.data.length||(o=[...o,...p.data],s+=f,s>=p.count))break;await Ht(t)}return o}async function Tm(e,t){const n=new URLSearchParams({pid:e,ignore_warn:"1"});return t.forEach((s,i)=>{n.append(`fid[${i}]`,s)}),(await Mt.post("https://webapi.115.com/rb/delete",n,{timeout:12e4,withCredentials:!0})).data}async function jc(e,t,n,o){let s=0,i=0;for(;;){const r=t.slice(s,s+n);if((await Tm(e,r)).state&&(i+=r.length),s+=n,s>=t.length)break;await Ht(o)}return i}async function Lm(e,t){const n=new URLSearchParams({pid:e,cname:t});return(await Mt.post("https://webapi.115.com/files/add",n,{timeout:12e4,withCredentials:!0})).data}async function Mm(e,t){const n=new URLSearchParams({pid:e});return t.forEach((s,i)=>{n.append(`fid[${i}]`,s)}),(await Mt.post("https://webapi.115.com/files/move",n,{timeout:12e4,withCredentials:!0})).data}async function Bm(e){const t=new URLSearchParams({path:e});return(await Mt.get("https://webapi.115.com/files/getid?"+t.toString(),{timeout:12e4,withCredentials:!0})).data}async function us(e){const t=new URLSearchParams({cid:e});return(await Mt.get("https://webapi.115.com/category/get?"+t.toString(),{timeout:12e4,withCredentials:!0})).data}async function Zr(e,t,n,o){const s={uid:o.toString(),sign:t.sign,time:ss().toString()};n&&(s.flag="1");const i=Sm(s);return e.forEach((l,d)=>{i.append(`hash[${d}]`,l)}),(await Mt.post("https://115.com/web/lixian/?ct=lixian&ac=task_del",i,{timeout:12e4,withCredentials:!0})).data}async function Dm(e){if(!(await us(e)).play_long)throw new Error("该目录下没有可以播放的媒体文件![by_attr]");const o=(await Rc(oc({cid:e,limit:1150}))).find(s=>s.play_long&&s.play_long>0);if(!o)throw new Error("该目录下没有可以播放的媒体文件![by_files]");return o}async function Zt(e=!0){const t=Io().GetCurWangPanCid();return!t&&e?(Io().Core.MinMessage.Show({text:'不支持"根目录"!',timeout:1e3}),""):t}async function Nm(e,t){let n=$(`li.temp-el[cate_id="${e}"]`);if(!n.length){const o=`
  • `;n=$(o)}n.attr("title",t.file_name),n.find("a.name > span").text(t.file_name);for(let o in t){const s=typeof t[o];["string","number"].indexOf(s)>-1&&n.attr(o,t[o])}return n.attr("cate_id",e),n.attr("p_id",t.paths[t.paths.length-1].file_id),n}async function Bt(e){const t=e.attr("file_size"),n=e.attr("iv")==="1",o=await qm(),s={fid:e.attr("file_id")||"",cid:e.attr("cid")||"",n:e.attr("title")||"",s:t?parseInt(t):0,pc:e.attr("pick_code")||"",t:e.attr("user_ptime")||"",te:"",tp:"",ico:e.attr("ico")||"",sha:e.attr("sha1")||"",iv:n,cate_id:e.attr("cate_id")||""};if(o){const i=e.find(".file-directory a[cid]");i.length&&(s.cid=i.attr("cid")||"")}else{const i=e.attr("p_id");i&&(s.cid=i)}return s}async function Rm(e){const t=[];for(let n=0;n{Io().Core.DataAccess.Dir.GetDetail("1",e,o=>t(o))})}async function Hm(){const e=await Zt(),t=await Um(e);return await Nm(e,t)}async function fi(){return window.top!==window?$(document):$('iframe[name="wangpan"], .wrap-view iframe:eq(0)').contents()}async function To(){return(await fi()).find(".list-contents, .list-thumb")}async function Fc(e){const t=await To();return e?t.find("li.selected"):t.find("li")}async function Lo(e){const t=await Fc(e),n=[];for(let o=0;o .file-path").children().each(function(){t.push($(this).text().trim().replace(/[›]$/,""))}),t}async function zm(){const e=await Zt();(await To()).find("li.selected").each(function(){const n=$(this);n.attr("cate_id")!==e&&(n.find('input[type="checkbox"]').prop("checked",!1),n.removeClass("selected"))})}async function Zn(e=!1){const t=await Zt();if(!t)return null;const n=await To(),o=await Hm();return e||o.hide(),n.find(`li[cate_id="${t}"]`).length||n.append(o),o}async function ea(e,t,n){n&&await zm(),Io().Core.FileMenu.DoEvent([e],t,null)}function zc(e){return`https://115.com/?${new URLSearchParams({cid:e}).toString()}&offset=0&mode=wangpan`}async function qm(e=location.href){return e.includes("ac=search")}function ta(e,t=""){const n=new URLSearchParams({aid:"1",cid:e.cid||"",old_cid:e.cid||"",old_cid_name:t,search_value:e.search_value,ct:"file",ac:"search",is_wl_tpl:"1"});return"https://115.com/?url="+encodeURIComponent(`/?${n.toString()}`)+"&submode=wangpan&mode=search"}function qc(e){return`https://v.anxia.com/?${new URLSearchParams({pickcode:e,share_id:"0"}).toString()}`}async function Vm(e){unsafeWindow.Main.ReInstance({type:e.type,offset:0,o:nc.userPtime,asc:tc.false,star:e.star,suffix:e.suffix})}async function Wm(){return(await To()).find("li.selected")}async function Vc(){const e=await Wm();return e?await Bt(e):null}function Km(e){return e.replace(/[/\\:*?"<>|]/g,"_")}async function pi(e){const n=(await us(e.fid||e.cate_id)).paths.slice(1).map(i=>i.file_name).join("/"),o=Km(e.n);return`/${n}/${o}`.replace(/^[\/]+/g,"/")}async function Wc(e){if(!location.search.includes("ac=search")||!e.enableInSearch)return;const n=(await Yn("#js_data_list"))[0],o=[{label:"移动",body:'移动',enabled:!0},{label:"重命名",body:'重命名',enabled:!0},{label:"删除",body:'删除',enabled:!0},{label:"属性",body:'属性',enabled:!0}],s=l=>{let d="";for(const f of l)!f.enabled||(d+=f.body);return d},i=()=>{const l="ce-menu-init",d=document.querySelectorAll(`li[rel="item"]:not(.${l})`),f=s(o);for(let p=0;p{l.type==="childList"&&i()}).observe(n,{childList:!0})}async function Gm(e){if(!e.hideSelectionMenuLabel)return;const n=(await Yn("#js_operate_box"))[0];new MutationObserver(async([s])=>{if(s.type==="childList"){const i=n.querySelectorAll("li[menu]");for(let r=0;r{d.stopPropagation(),d.preventDefault();try{let f;if(s){const x=d;(s===Mo.alt&&x.altKey||s===Mo.ctrl&&x.ctrlKey||s===Mo.shift&&x.shiftKey||s===Mo.meta&&x.metaKey)&&(f={names:[Jc.manual],position:o.injectManualFuncPosition})}const p=$(d.target).closest("li"),h=await Bt(p),y=await Br(),E=await ia(h,i,y,f);if(console.log("[search url]",E),!E)throw new Error("无法获取有效的搜索链接!");oh(E,{active:!i.openInBackground})}catch(f){console.error(f),fe({title:"搜索失败",text:f.toString(),icon:"error"})}}});n.push(r)}return n}async function na(e,t){if(console.log("[playDirOnAnxia]",e,t),!t)try{fe({title:"正在查找可播放的文件...",text:"请稍等...",icon:"info"}),me.showLoading(),t=await Dm(e),console.log("[playDirOnAnxia] file",t)}catch(o){console.error(o),fe({title:"播放失败",text:o.toString(),icon:"error"});return}t||fe({title:"播放失败",text:"没有在该目录下找到可播放的文件![file_null]",icon:"error"});const n=qc(t.pc);window.open(n,"_blank","noopener noreferrer")}async function Ym(e,t){const n=[];for(const o of t){const s=Lr(e,{key:`_ce_p_${o.key}`,label:o.label,icon:o.icon,title:o.memo,onClick:async(i,r)=>{r.stopPropagation(),r.preventDefault();try{const l=$(r.target).closest("li"),d=await Bt(l),f=await Br(),p=await ia(d,o,f);if(d.cate_id&&p.includes("v.anxia.com")){na(d.cate_id);return}if(console.log("[play url]",p),!p)throw new Error("无法获取有效的播放链接!");window.open(p,"_blank","noopener noreferrer")}catch(l){console.error(l),fe({title:"播放失败",text:l.toString(),icon:"error"})}}});n.push(s)}return n}var Ot=(e=>(e[e.full=0]="full",e[e.pure=1]="pure",e[e.fullUnique=2]="fullUnique",e[e.pureUnique=3]="pureUnique",e))(Ot||{});async function hi(e,t){if(t===0)return e;if(t===2)return Array.from(new Set(e));const n=[];for(const o of e){const s=o.replace(/\.[^.]+$/,"");t===1?n.push(s):t===3&&(n.includes(s)||n.push(s))}return n}var zt=(e=>(e[e.unixPath=0]="unixPath",e[e.winPath=1]="winPath",e[e.unixParentPath=2]="unixParentPath",e[e.winParentPath=3]="winParentPath",e))(zt||{});async function mi(e,t,n){const o=n===1||n===3;let i=n===2||n===3?t.replace(/\/[^/]+$/,""):t;return o&&(i=i.replace(/\//g,"\\")),i}async function Xm(e){return async(t,n)=>{const o=await Zt(),s=await fi(),i=e?"li[file_id].selected":"li[file_id]",r=s[0].querySelectorAll(i);if(!r.length){fe({title:"文件移动到同名目录",text:e?"当前目录没有选中文件":"当前目录没有文件",icon:"warning"});return}const{value:l}=await me.fire({title:"文件移动到同名目录",text:e?`当前已选中${r.length}个文件,是否继续?`:`当前目录共有${r.length}个文件,是否继续?`,icon:"warning",showCancelButton:!0,confirmButtonText:"继续",cancelButtonText:"取消"});if(!!l){me.fire({title:"文件移动到同名目录",html:"正在处理...",didOpen:()=>{me.showLoading()}});for(let d=0;d{const n=t.target;Gc(n)&&Kc(t)})}const oa=me.mixin({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,timerProgressBar:!0,didOpen:e=>{e.addEventListener("mouseenter",me.stopTimer),e.addEventListener("mouseleave",me.resumeTimer)},customClass:"swal-toast"});async function Zm(e,t){e.addEventListener("keydown",n=>{const o=n.target;if(!Gc(o))return;let s=!1;(t==="enter"&&n.key==="Enter"||t==="ctrl+enter"&&n.key==="Enter"&&n.ctrlKey||t==="meta+enter"&&n.key==="Enter"&&n.metaKey)&&(s=!0),s&&me.clickConfirm()})}var Jc=(e=>(e.search="search",e.encode="encode",e.base64="base64",e.base64safe="base64safe",e.upper="upper",e.lower="lower",e.number="number",e.manual="manual",e))(Jc||{});const eg=[{label:"文件属性变量",items:[{key:"{dir_id}",label:"文件夹ID"},{key:"{file_id}",label:"文件ID"},{key:"{pick_code}",label:"提取码"},{key:"{pure_name}",label:"不含后缀的文件名"},{key:"{full_name}",label:"完整名称"},{key:"{file_suffix}",label:"文件后缀名"},{key:"{file_hash}",label:"文件hash"},{key:"{file_size}",label:"文件大小"},{key:"{file_path}",label:"文件路径"},{key:"{file_dir}",label:"文件目录路径"}]},{label:"高级变量",items:[{key:"{clouddrive_stream_url}",label:"CloudDrive链接(用于播放,目录链接是m3u)"},{key:"{clouddrive_down_url}",label:"CloudDrive文件链接"},{key:"{clouddrive_playlist_url}",label:"CloudDrive播放列表链接"},{key:"{user_agent}",label:"浏览器UA"}]},{label:"变量函数处理",memo:"支持多个函数,函数之间使用英文冒号分隔,如:{变量名:encode:base64}。调用顺序从左到右。",items:[{key:"{变量名:search}",label:"搜索链接"},{key:"{变量名:encode}",label:"url编码"},{key:"{变量名:base64}",label:"base64编码"},{key:"{变量名:base64safe}",label:"base64安全编码"},{key:"{变量名:upper}",label:"转大写"},{key:"{变量名:lower}",label:"转小写"},{key:"{变量名:number}",label:"转数字"},{key:"{变量名:manual}",label:"手动输入"}]}];var sa=(e=>(e.first="first",e.last="last",e))(sa||{});function tg(e,t,n){const{names:o,position:s}=t;let i=[];return s==="first"?i=[...o,...e]:i=[...e,...o],n?Array.from(new Set(i)):i}async function ia(e,t,n,o){var f;let s=t.url;const i={dir_id:"cid",file_id:"fid",pick_code:"pc",full_name:"n",file_suffix:"ico",file_hash:"sha",file_size:"s"},r=!!e.fid,l=/{(\w+)(:\w+(:\w+)?)?}/g,d=s.match(l);if(d){const p=["file_path","file_dir","clouddrive_stream_url","clouddrive_down_url","clouddrive_playlist_url"];for(const h of d){const y=h.replace(/[{}]/g,"").split(":")[0],E=h.replace(/[{}]/g,"").replace(/^[^:]+:/,"");let x=((f=e[i[y]])==null?void 0:f.toString())||"",A="";switch(p.includes(y)&&(A=await pi(e)),y){case"pure_name":r?x=e.n.replace(/\.[^.]+$/,""):x=e.n;break;case"file_path":x=A;break;case"file_dir":x=A.replace(/\/[^/]+$/,"");break;case"clouddrive_stream_url":r?x=await ni(n,A,Dr.play):x=await ec(n,A);break;case"clouddrive_down_url":x=await ni(n,A,Dr.download);break;case"clouddrive_playlist_url":let O="";r?O=A.replace(/\/[^/]+$/,""):O=A,x=await ec(n,O);break;case"user_agent":x=navigator.userAgent;break}if(x=x.toString(),E){let O=E.split(":");o&&(O=tg(O,o,!1)),console.log(`[buildCustomUrl] functions: ${E}, after merge: ${O.join(":")}`);for(const V of O)switch(V){case"search":x=ta({search_value:x});break;case"encode":x=encodeURIComponent(x);break;case"base64":x=jl(x);break;case"base64safe":x=jl(x,!0);break;case"upper":x=x.toUpperCase();break;case"lower":x=x.toLowerCase();break;case"number":x=x.replace(/\D/g,"");break;case"manual":let{isConfirmed:I,value:T}=await me.fire({title:"手动输入",text:"按下「Ctrl + 回车」或「Command + 回车」确认",input:"textarea",inputValue:x,showCancelButton:!0,inputValidator:Y=>Y?null:"输入不能为空!",didOpen:Y=>{Qm(Y),Zm(Y,"meta+enter")}});if(!I)throw new Error("已取消手动输入。");if(T=(T==null?void 0:T.trim())||"",T==="")throw new Error("输入不能为空!");x=T;break}}s=s.replace(h,x)}}return t.mutation?await ng(s,e,t,n):s}async function ng(e,t,n,o){return await new Function("payload",n.mutation)({url:e,file:t,customUrl:n,cloudDriveConfig:o})}var Pn=(e=>(e.search="search",e.play="play",e))(Pn||{});const Yc={search:"menu_custom_urls_for_search",play:"menu_custom_urls_for_play"};async function ds(e){return await lt.get(Yc[e],[])}async function Xc(e,t){await lt.set(Yc[e],t)}function dt(e){return{enabled:!0,key:"",label:"",icon:"",memo:"",extraMemo:"",url:"",openInBackground:!1,...e}}var Mo=(e=>(e.none="none",e.alt="alt",e.ctrl="ctrl",e.shift="shift",e.meta="meta",e))(Mo||{});const Qc="ce_menu_config";function og(e){return{enabled:!0,openInNewTab:!0,search:!0,play:!0,getDownloadUrl:!0,copyNames:!0,...e}}function sg(e){return{enabled:!0,copyNames:!0,...e}}function ig(e){return{enabled:!0,moveToSelfNameDir:!0,copyNames:!0,...e}}function rg(e){return{enabled:!0,rename:!0,delete:!0,play:!0,copyNames:!0,move:!0,copy:!0,copyTo:!0,viewProp:!0,showSubFolderSize:!0,...e}}function ag(e){return{enabled:!0,hideSelectionMenuLabel:!1,enableInSearch:!0,keyToTriggerManual:"none",injectManualFuncPosition:"first",[Ie.listItemHover]:og(e==null?void 0:e[Ie.listItemHover]),[Ie.listItemContext]:sg(e==null?void 0:e[Ie.listItemContext]),[Ie.selection]:ig(e==null?void 0:e[Ie.selection]),[Ie.dirContext]:rg(e==null?void 0:e[Ie.dirContext]),...e}}async function gi(){const e=ag(),t=await lt.get(Qc,e);return{...e,...t}}async function lg(e){await lt.set(Qc,e)}const $l=class{constructor(t){Ae(this,"menuType",Ie.listItemHover);Ae(this,"injectDecider");Ae(this,"keyAttributeName","id");Ae(this,"key","");Ae(this,"label","");Ae(this,"icon","");Ae(this,"title","");Ae(this,"onClick",async(t,n)=>{});Ae(this,"onMouseOver");Ae(this,"onMouseOut");Ae(this,"subItems",[]);Ae(this,"isDivider",!1);Ae(this,"menuItemTemplates",{[Ie.dirContext]:{body:`
  • {icon}{label}
  • `,bodyForMulti:`
  • {icon}{label}
    `,divider:'
  • '},[Ie.dirContextSub]:{body:` {icon}{label} `,divider:''},[Ie.listItemContext]:{body:`
  • {icon}{label}
  • `,bodyForMulti:`
  • {icon}{label}
    `,divider:'
  • '},[Ie.listItemContextSub]:{body:'{label}',divider:''},[Ie.listItemHover]:{body:` {icon}{label} `,bodyForMulti:` {icon}{label}
    `,divider:''},[Ie.listItemHoverSub]:{body:` {icon}{label} `,divider:''},[Ie.selection]:{body:'
  • {icon}{label}
  • ',bodyForMulti:`
  • {icon}{label}
  • `,divider:'
  • '},[Ie.selectionSub]:{body:` {label} `,divider:''}});t.menuType&&(this.menuType=t.menuType),t.injectDecider&&(this.injectDecider=t.injectDecider),t.isDivider&&(this.isDivider=!0),t.key&&(this.key=t.key),t.label&&(this.label=t.label),t.icon&&(this.icon=t.icon),t.title&&(this.title=t.title),t.onClick&&(this.onClick=t.onClick),t.onMouseOver&&(this.onMouseOver=t.onMouseOver),t.onMouseOut&&(this.onMouseOut=t.onMouseOut),t.subItems&&(this.subItems=t.subItems),t.key&&(this.key=t.key),t.label&&(this.label=t.label),t.onClick&&(this.onClick=t.onClick)}async decideInject(t){return this.injectDecider?await this.injectDecider(this,t):!0}async render(){var r;if(!this.menuType)throw new Error("未指定菜单类型");const t=this.menuItemTemplates[this.menuType];if(!t)throw new Error(`未找到菜单模板:${this.menuType}`);if(this.isDivider){if(!t.divider)throw new Error("未定义模版的divider内容!");const l=document.createElement("div");return l.innerHTML=t.divider,l.firstElementChild}let n=t.body;if(this.subItems.length>0){if(!t.bodyForMulti)throw new Error("未找到 bodyFormMulti 模版");n=t.bodyForMulti}const o=document.createElement("div");let s="";this.icon&&(this.icon.match(/^(http|https|data:image)/)?s=``:s=``),o.innerHTML=n.replace(/{key}/g,this.key).replace(/{label}/g,this.label).replace(/{icon}/g,s);const i=o.firstElementChild;if(i.setAttribute("title",this.title||""),this.onClick&&i.addEventListener("click",async l=>{this.onClick(this,l)}),this.onMouseOver&&i.addEventListener("mouseover",async l=>{this.onMouseOver&&this.onMouseOver(this,l)}),this.onMouseOut&&i.addEventListener("mouseout",async l=>{this.onMouseOut&&this.onMouseOut(this,l)}),this.subItems.length>0)for(const l of this.subItems){const d=await l.render();(r=i.querySelector(".sub-items"))==null||r.appendChild(d)}return i}async closeMenu(){unsafeWindow.Core.FileMenu.HideRight(),document.dispatchEvent(new CustomEvent($l.EVENT_CLOSE_MENU,{detail:{menu:this}}))}async decorateContainer(t){}};let Dt=$l;Ae(Dt,"EVENT_CLOSE_MENU","__closeMenu");async function wi(e,t){t.stopPropagation(),t.preventDefault();const n=t.target,o=$(n).closest(".ce-menu-parent"),s=o.find(".ce-menu-dropdown");o.addClass("ce-menu-dropdown-opened"),s.addClass("ce-menu-dropdown-active")}async function yi(e,t){t.stopPropagation(),t.preventDefault();const n=t.target,o=$(n).closest(".ce-menu-parent"),s=o.find(".ce-menu-dropdown");o.removeClass("ce-menu-dropdown-opened"),s.removeClass("ce-menu-dropdown-active")}class Nt extends Dt{constructor(n){super(n);Ae(this,"menuType",Ie.dirContext);this.onMouseOver=wi,this.onMouseOut=yi}}class cg extends Dt{constructor(){super(...arguments);Ae(this,"menuType",Ie.dirContextSub)}}class ra extends Dt{constructor(n){super(n);Ae(this,"menuType",Ie.listItemContext);this.onMouseOver=wi,this.onMouseOut=yi}}class bi extends Dt{constructor(n){super(n);Ae(this,"menuType",Ie.listItemHover);this.onMouseOver=wi,this.onMouseOut=yi}}class vi extends Dt{constructor(){super(...arguments);Ae(this,"menuType",Ie.listItemHoverSub)}}class Zc extends Dt{constructor(n){super(n);Ae(this,"menuType",Ie.selection);this.onMouseOver=wi,this.onMouseOut=yi}}class eu extends Dt{constructor(){super(...arguments);Ae(this,"menuType",Ie.selectionSub)}}class _i extends Dt{constructor(){super(...arguments);Ae(this,"isDivider",!0)}}class ug extends _i{}class dg extends _i{}class fg extends _i{}class pg extends _i{}class xi{constructor(t){Ae(this,"items");Ae(this,"siblingSelector");Ae(this,"position");Ae(this,"useObserver",!0);Ae(this,"observeTarget",document.body);Ae(this,"disposeObserverAfterInjection",!0);Ae(this,"menuType");Ae(this,"_observer");Ae(this,"injectDecider");t.menuType&&(this.menuType=t.menuType),t.injectDecider&&(this.injectDecider=t.injectDecider),this.items=t.items,this.siblingSelector=t.siblingSelector,this.position=t.position,this.useObserver=t.useObserver,this.observeTarget=t.observeTarget,this.disposeObserverAfterInjection=t.disposeObserverAfterInjection}async createObserver(){return new MutationObserver(async([n])=>{n.type==="childList"&&await this.handleChildListMutation(n)})}async observe(){if(this._observer=await this.createObserver(),!this._observer)return;const t=await this.getObserveTarget();!t||this.startObserver(t)}async startObserver(t){!this._observer||this._observer.observe(t,{childList:!0})}async disposeObserver(){this.disposeObserverAfterInjection&&this._observer&&this._observer.disconnect()}async getObserveTarget(){return typeof this.observeTarget=="string"?(await Yn(this.observeTarget,800,6048e5))[0]:this.observeTarget}async isMutationMatch(t){const n=t.addedNodes[0];if(n&&n.nodeType!==Node.ELEMENT_NODE)return!1;switch(this.menuType,Ie.dirContext,this.menuType){case Ie.listItemHover:return!0;case Ie.listItemContext:return n&&n.classList.contains("context-menu")&&!!n.querySelector('[val="report"]');case Ie.selection:return!0;case Ie.dirContext:return n&&n.classList.contains("context-menu")&&!!n.querySelector('[val="upload"]');default:return!1}}async handleChildListMutation(t){if(!await this.isMutationMatch(t))return;const n=await this.getContainers(t);await this.perform(n)}async perform(t){for(const n of t)await this.injectToContainer(n)}async getSibling(t){return t.querySelector(this.siblingSelector)}async getContainers(t){let n=[];const o=t.addedNodes[0];switch(this.menuType){case Ie.listItemHover:document.querySelectorAll("#js_data_list .list-contents > ul:not([ce-done]) > li .file-opr").forEach(s=>{n.push(s)});break;case Ie.listItemContext:n=[o];break;case Ie.selection:document.querySelectorAll("#js_top_panel_box #js_operate_box").forEach(s=>{n.push(s)});break;case Ie.dirContext:n=[o];break}return n}async shouldInjectMenuItem(t,n){return await n.decideInject(t)?await this.decideInject(n,t):!1}async decideInject(t,n){return this.injectDecider?await this.injectDecider(t,n):!0}async injectToContainer(t){const n=await this.getSibling(t);if(!n)return;let o=this.items.slice();this.position===Qn.after&&(o=o.reverse());for(let s=0;s ul:not([ce-done]) > li .file-opr");o.length&&await this.perform(Array.from(o))}super.inject()}async handleLoadAll(){if(window.top===window.self)return;const n=document.querySelector("#js_pagination_box");if(!n){console.warn("[ListItemHoverMenuInjector.handleLoadAll] 未找到「#js_pagination_box」元素");return}function o(s){const i=document.querySelector("#js_data_list .list-contents > ul > li");!i||i.querySelector(".ce-menu")||s(!0)}n.addEventListener("click",async s=>{s.preventDefault(),s.stopPropagation();const i=s.target;let r=!1;if((i.getAttribute("menu")==="load_all_file"||i.closest('[menu="load_all_file"]'))&&(r=!0),!r)return;console.log("[ListItemHoverMenuInjector.handleLoadAll] 点击了「加载全部」按钮"),await ei(o,500,3e5);const l=document.querySelector("#js_data_list .list-contents > ul");l==null||l.removeAttribute("ce-done");const d=document.querySelector("#js_data_list");if(d){const f=".list-contents > ul:not([ce-done]) > li .file-opr";if(!document.querySelector(f)){const h=await gi();await Wc(h)}const p=d.querySelectorAll(f);p.length&&await this.perform(Array.from(p))}})}async perform(n){await super.perform(n);const o=document.querySelector("#js_data_list .list-contents > ul");o==null||o.setAttribute("ce-done","")}}class wg extends xi{constructor(){super(...arguments);Ae(this,"menuType",Ie.selection);Ae(this,"useObserver",!0);Ae(this,"observeTarget","#js_top_panel_box #js_operate_box");Ae(this,"disposeObserverAfterInjection",!1)}}async function yg(e,t){return!!$(t).closest("li").attr("cate_id")}async function bg(e,t){const n=$(t).closest("li");if(n.attr("cate_id")||n.attr("iv")==="1")return!0;const o=n.attr("ico");return o?fh(o)||hh(o)||ph(o):!1}function On(e,t){const n=Object.create(null),o=e.split(",");for(let s=0;s!!n[s.toLowerCase()]:s=>!!n[s]}function un(e){if(ye(e)){const t={};for(let n=0;n{if(n){const o=n.split(_g);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Je(e){let t="";if(Ge(e))t=e;else if(ye(e))for(let n=0;nfs(n,t))}const ge=e=>Ge(e)?e:e==null?"":ye(e)||He(e)&&(e.toString===iu||!ke(e.toString))?JSON.stringify(e,nu,2):String(e),nu=(e,t)=>t&&t.__v_isRef?nu(e,t.value):eo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,s])=>(n[`${o} =>`]=s,n),{})}:Do(t)?{[`Set(${t.size})`]:[...t.values()]}:He(t)&&!ye(t)&&!ru(t)?String(t):t,ze=Object.freeze({}),Bo=Object.freeze([]),St=()=>{},ou=()=>!1,Ig=/^on[^a-z]/,ps=e=>Ig.test(e),Ci=e=>e.startsWith("onUpdate:"),tt=Object.assign,la=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Tg=Object.prototype.hasOwnProperty,Me=(e,t)=>Tg.call(e,t),ye=Array.isArray,eo=e=>ms(e)==="[object Map]",Do=e=>ms(e)==="[object Set]",su=e=>ms(e)==="[object Date]",ke=e=>typeof e=="function",Ge=e=>typeof e=="string",hs=e=>typeof e=="symbol",He=e=>e!==null&&typeof e=="object",$i=e=>He(e)&&ke(e.then)&&ke(e.catch),iu=Object.prototype.toString,ms=e=>iu.call(e),ca=e=>ms(e).slice(8,-1),ru=e=>ms(e)==="[object Object]",ua=e=>Ge(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ki=On(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Lg=On("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Si=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Mg=/-(\w)/g,en=Si(e=>e.replace(Mg,(t,n)=>n?n.toUpperCase():"")),Bg=/\B([A-Z])/g,dn=Si(e=>e.replace(Bg,"-$1").toLowerCase()),to=Si(e=>e.charAt(0).toUpperCase()+e.slice(1)),no=Si(e=>e?`on${to(e)}`:""),gs=(e,t)=>!Object.is(e,t),No=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ai=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Dg=e=>{const t=Ge(e)?Number(e):NaN;return isNaN(t)?e:t};let au;const lu=()=>au||(au=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function da(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let qt;class Ng{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=qt,!t&&qt&&(this.index=(qt.scopes||(qt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=qt;try{return qt=this,t()}finally{qt=n}}else da("cannot run an inactive effect scope.")}on(){qt=this}off(){qt=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},cu=e=>(e.w&In)>0,uu=e=>(e.n&In)>0,Fg=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o{(h==="length"||h>=f)&&l.push(p)})}else switch(n!==void 0&&l.push(r.get(n)),t){case"add":ye(e)?ua(n)&&l.push(r.get("length")):(l.push(r.get(oo)),eo(e)&&l.push(r.get(ha)));break;case"delete":ye(e)||(l.push(r.get(oo)),eo(e)&&l.push(r.get(ha)));break;case"set":eo(e)&&l.push(r.get(oo));break}const d={target:e,type:t,key:n,newValue:o,oldValue:s,oldTarget:i};if(l.length===1)l[0]&&ga(l[0],d);else{const f=[];for(const p of l)p&&f.push(...p);ga(fa(f),d)}}function ga(e,t){const n=ye(e)?e:[...e];for(const o of n)o.computed&&hu(o,t);for(const o of n)o.computed||hu(o,t)}function hu(e,t){(e!==wt||e.allowRecurse)&&(e.onTrigger&&e.onTrigger(tt({effect:e},t)),e.scheduler?e.scheduler():e.run())}function Hg(e,t){var n;return(n=Pi.get(e))===null||n===void 0?void 0:n.get(t)}const zg=On("__proto__,__v_isRef,__isVue"),mu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(hs)),qg=Oi(),Vg=Oi(!1,!0),Wg=Oi(!0),Kg=Oi(!0,!0),gu=Gg();function Gg(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=Te(this);for(let i=0,r=this.length;i{e[t]=function(...n){so();const o=Te(this)[t].apply(this,n);return io(),o}}),e}function Jg(e){const t=Te(this);return Et(t,"has",e),t.hasOwnProperty(e)}function Oi(e=!1,t=!1){return function(o,s,i){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&i===(e?t?Au:Eu:t?Su:ku).get(o))return o;const r=ye(o);if(!e){if(r&&Me(gu,s))return Reflect.get(gu,s,i);if(s==="hasOwnProperty")return Jg}const l=Reflect.get(o,s,i);return(hs(s)?mu.has(s):zg(s))||(e||Et(o,"get",s),t)?l:nt(l)?r&&ua(s)?l:l.value:He(l)?e?Pu(l):Ri(l):l}}const Yg=wu(),Xg=wu(!0);function wu(e=!1){return function(n,o,s,i){let r=n[o];if(Mn(r)&&nt(r)&&!nt(s))return!1;if(!e&&(!Fi(s)&&!Mn(s)&&(r=Te(r),s=Te(s)),!ye(n)&&nt(r)&&!nt(s)))return r.value=s,!0;const l=ye(n)&&ua(o)?Number(o)e,Ii=e=>Reflect.getPrototypeOf(e);function Ti(e,t,n=!1,o=!1){e=e.__v_raw;const s=Te(e),i=Te(t);n||(t!==i&&Et(s,"get",t),Et(s,"get",i));const{has:r}=Ii(s),l=o?wa:n?ya:ys;if(r.call(s,t))return l(e.get(t));if(r.call(s,i))return l(e.get(i));e!==s&&e.get(t)}function Li(e,t=!1){const n=this.__v_raw,o=Te(n),s=Te(e);return t||(e!==s&&Et(o,"has",e),Et(o,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Mi(e,t=!1){return e=e.__v_raw,!t&&Et(Te(e),"iterate",oo),Reflect.get(e,"size",e)}function vu(e){e=Te(e);const t=Te(this);return Ii(t).has.call(t,e)||(t.add(e),fn(t,"add",e,e)),this}function _u(e,t){t=Te(t);const n=Te(this),{has:o,get:s}=Ii(n);let i=o.call(n,e);i?$u(n,o,e):(e=Te(e),i=o.call(n,e));const r=s.call(n,e);return n.set(e,t),i?gs(t,r)&&fn(n,"set",e,t,r):fn(n,"add",e,t),this}function xu(e){const t=Te(this),{has:n,get:o}=Ii(t);let s=n.call(t,e);s?$u(t,n,e):(e=Te(e),s=n.call(t,e));const i=o?o.call(t,e):void 0,r=t.delete(e);return s&&fn(t,"delete",e,void 0,i),r}function Cu(){const e=Te(this),t=e.size!==0,n=eo(e)?new Map(e):new Set(e),o=e.clear();return t&&fn(e,"clear",void 0,void 0,n),o}function Bi(e,t){return function(o,s){const i=this,r=i.__v_raw,l=Te(r),d=t?wa:e?ya:ys;return!e&&Et(l,"iterate",oo),r.forEach((f,p)=>o.call(s,d(f),d(p),i))}}function Di(e,t,n){return function(...o){const s=this.__v_raw,i=Te(s),r=eo(i),l=e==="entries"||e===Symbol.iterator&&r,d=e==="keys"&&r,f=s[e](...o),p=n?wa:t?ya:ys;return!t&&Et(i,"iterate",d?ha:oo),{next(){const{value:h,done:y}=f.next();return y?{value:h,done:y}:{value:l?[p(h[0]),p(h[1])]:p(h),done:y}},[Symbol.iterator](){return this}}}}function Ln(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${to(e)} operation ${n}failed: target is readonly.`,Te(this))}return e==="delete"?!1:this}}function ow(){const e={get(i){return Ti(this,i)},get size(){return Mi(this)},has:Li,add:vu,set:_u,delete:xu,clear:Cu,forEach:Bi(!1,!1)},t={get(i){return Ti(this,i,!1,!0)},get size(){return Mi(this)},has:Li,add:vu,set:_u,delete:xu,clear:Cu,forEach:Bi(!1,!0)},n={get(i){return Ti(this,i,!0)},get size(){return Mi(this,!0)},has(i){return Li.call(this,i,!0)},add:Ln("add"),set:Ln("set"),delete:Ln("delete"),clear:Ln("clear"),forEach:Bi(!0,!1)},o={get(i){return Ti(this,i,!0,!0)},get size(){return Mi(this,!0)},has(i){return Li.call(this,i,!0)},add:Ln("add"),set:Ln("set"),delete:Ln("delete"),clear:Ln("clear"),forEach:Bi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Di(i,!1,!1),n[i]=Di(i,!0,!1),t[i]=Di(i,!1,!0),o[i]=Di(i,!0,!0)}),[e,n,t,o]}const[sw,iw,rw,aw]=ow();function Ni(e,t){const n=t?e?aw:rw:e?iw:sw;return(o,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?o:Reflect.get(Me(n,s)&&s in o?n:o,s,i)}const lw={get:Ni(!1,!1)},cw={get:Ni(!1,!0)},uw={get:Ni(!0,!1)},dw={get:Ni(!0,!0)};function $u(e,t,n){const o=Te(n);if(o!==n&&t.call(e,o)){const s=ca(e);console.warn(`Reactive ${s} contains both the raw and reactive versions of the same object${s==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const ku=new WeakMap,Su=new WeakMap,Eu=new WeakMap,Au=new WeakMap;function fw(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function pw(e){return e.__v_skip||!Object.isExtensible(e)?0:fw(ca(e))}function Ri(e){return Mn(e)?e:ji(e,!1,yu,lw,ku)}function hw(e){return ji(e,!1,tw,cw,Su)}function Pu(e){return ji(e,!0,bu,uw,Eu)}function Ro(e){return ji(e,!0,nw,dw,Au)}function ji(e,t,n,o,s){if(!He(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const r=pw(e);if(r===0)return e;const l=new Proxy(e,r===2?o:n);return s.set(e,l),l}function ro(e){return Mn(e)?ro(e.__v_raw):!!(e&&e.__v_isReactive)}function Mn(e){return!!(e&&e.__v_isReadonly)}function Fi(e){return!!(e&&e.__v_isShallow)}function Ui(e){return ro(e)||Mn(e)}function Te(e){const t=e&&e.__v_raw;return t?Te(t):e}function Ou(e){return Ei(e,"__v_skip",!0),e}const ys=e=>He(e)?Ri(e):e,ya=e=>He(e)?Pu(e):e;function Iu(e){Tn&&wt&&(e=Te(e),pu(e.dep||(e.dep=fa()),{target:e,type:"get",key:"value"}))}function Tu(e,t){e=Te(e);const n=e.dep;n&&ga(n,{target:e,type:"set",key:"value",newValue:t})}function nt(e){return!!(e&&e.__v_isRef===!0)}function ve(e){return mw(e,!1)}function mw(e,t){return nt(e)?e:new gw(e,t)}class gw{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Te(t),this._value=n?t:ys(t)}get value(){return Iu(this),this._value}set value(t){const n=this.__v_isShallow||Fi(t)||Mn(t);t=n?t:Te(t),gs(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:ys(t),Tu(this,t))}}function be(e){return nt(e)?e.value:e}const ww={get:(e,t,n)=>be(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const s=e[t];return nt(s)&&!nt(n)?(s.value=n,!0):Reflect.set(e,t,n,o)}};function Lu(e){return ro(e)?e:new Proxy(e,ww)}function yw(e){Ui(e)||console.warn("toRefs() expects a reactive object but received a plain one.");const t=ye(e)?new Array(e.length):{};for(const n in e)t[n]=vw(e,n);return t}class bw{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Hg(Te(this._object),this._key)}}function vw(e,t,n){const o=e[t];return nt(o)?o:new bw(e,t,n)}var Mu;class _w{constructor(t,n,o,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Mu]=!1,this._dirty=!0,this.effect=new ma(t,()=>{this._dirty||(this._dirty=!0,Tu(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=o}get value(){const t=Te(this);return Iu(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Mu="__v_isReadonly";function xw(e,t,n=!1){let o,s;const i=ke(e);i?(o=e,s=()=>{console.warn("Write operation failed: computed value is readonly")}):(o=e.get,s=e.set);const r=new _w(o,s,i||!s,n);return t&&!n&&(r.effect.onTrack=t.onTrack,r.effect.onTrigger=t.onTrigger),r}const ao=[];function bs(e){ao.push(e)}function vs(){ao.pop()}function Z(e,...t){so();const n=ao.length?ao[ao.length-1].component:null,o=n&&n.appContext.config.warnHandler,s=Cw();if(o)pn(o,n,11,[e+t.join(""),n&&n.proxy,s.map(({vnode:i})=>`at <${nr(n,i.type)}>`).join(` `),s]);else{const i=[`[Vue warn]: ${e}`,...t];s.length&&i.push(` `,...$w(s)),console.warn(...i)}io()}function Cw(){let e=ao[ao.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function $w(e){const t=[];return e.forEach((n,o)=>{t.push(...o===0?[]:[` `],...kw(n))}),t}function kw({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,s=` at <${nr(e.component,e.type,o)}`,i=">"+n;return e.props?[s,...Sw(e.props),i]:[s+i]}function Sw(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...Bu(o,e[o]))}),n.length>3&&t.push(" ..."),t}function Bu(e,t,n){return Ge(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:nt(t)?(t=Bu(e,Te(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):ke(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Te(t),n?t:[`${e}=`,t])}function Ew(e,t){e!==void 0&&(typeof e!="number"?Z(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&Z(`${t} is NaN - the duration expression might be incorrect.`))}const ba={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function pn(e,t,n,o){let s;try{s=o?e(...o):e()}catch(i){_s(i,t,n)}return s}function Vt(e,t,n,o){if(ke(e)){const i=pn(e,t,n,o);return i&&$i(i)&&i.catch(r=>{_s(r,t,n)}),i}const s=[];for(let i=0;i>>1;Cs(pt[o])tn&&pt.splice(t,1)}function xa(e){ye(e)?jo.push(...e):(!nn||!nn.includes(e,e.allowRecurse?Bn+1:Bn))&&jo.push(e),Nu()}function Ru(e,t=xs?tn+1:0){for(e=e||new Map;tCs(n)-Cs(o)),Bn=0;Bne.id==null?1/0:e.id,Tw=(e,t)=>{const n=Cs(e)-Cs(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Fu(e){va=!1,xs=!0,e=e||new Map,pt.sort(Tw);const t=n=>Ca(e,n);try{for(tn=0;tnPw){const o=t.ownerInstance,s=o&&Ga(o.type);return Z(`Maximum recursive updates exceeded${s?` in component <${s}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}else e.set(t,n+1)}}let lo=!1;const Fo=new Set;lu().__VUE_HMR_RUNTIME__={createRecord:$a(Uu),rerender:$a(Bw),reload:$a(Dw)};const co=new Map;function Lw(e){const t=e.type.__hmrId;let n=co.get(t);n||(Uu(t,e.type),n=co.get(t)),n.instances.add(e)}function Mw(e){co.get(e.type.__hmrId).instances.delete(e)}function Uu(e,t){return co.has(e)?!1:(co.set(e,{initialDef:$s(t),instances:new Set}),!0)}function $s(e){return Od(e)?e.__vccOpts:e}function Bw(e,t){const n=co.get(e);!n||(n.initialDef.render=t,[...n.instances].forEach(o=>{t&&(o.render=t,$s(o.type).render=t),o.renderCache=[],lo=!0,o.update(),lo=!1}))}function Dw(e,t){const n=co.get(e);if(!n)return;t=$s(t),Hu(n.initialDef,t);const o=[...n.instances];for(const s of o){const i=$s(s.type);Fo.has(i)||(i!==n.initialDef&&Hu(i,t),Fo.add(i)),s.appContext.optionsCache.delete(s.type),s.ceReload?(Fo.add(i),s.ceReload(t.styles),Fo.delete(i)):s.parent?zi(s.parent.update):s.appContext.reload?s.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}xa(()=>{for(const s of o)Fo.delete($s(s.type))})}function Hu(e,t){tt(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function $a(e){return(t,n)=>{try{return e(t,n)}catch(o){console.error(o),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let on,ks=[],ka=!1;function Ss(e,...t){on?on.emit(e,...t):ka||ks.push({event:e,args:t})}function zu(e,t){var n,o;on=e,on?(on.enabled=!0,ks.forEach(({event:s,args:i})=>on.emit(s,...i)),ks=[]):typeof window<"u"&&window.HTMLElement&&!(!((o=(n=window.navigator)===null||n===void 0?void 0:n.userAgent)===null||o===void 0)&&o.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{zu(i,t)}),setTimeout(()=>{on||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ka=!0,ks=[])},3e3)):(ka=!0,ks=[])}function Nw(e,t){Ss("app:init",e,t,{Fragment:Be,Text:Ls,Comment:bt,Static:Ms})}function Rw(e){Ss("app:unmount",e)}const jw=Sa("component:added"),qu=Sa("component:updated"),Fw=Sa("component:removed"),Uw=e=>{on&&typeof on.cleanupBuffer=="function"&&!on.cleanupBuffer(e)&&Fw(e)};function Sa(e){return t=>{Ss(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Hw=Vu("perf:start"),zw=Vu("perf:end");function Vu(e){return(t,n,o)=>{Ss(e,t.appContext.app,t.uid,t,n,o)}}function qw(e,t,n){Ss("component:emit",e.appContext.app,e,t,n)}function Vw(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||ze;{const{emitsOptions:p,propsOptions:[h]}=e;if(p)if(!(t in p))(!h||!(no(t)in h))&&Z(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${no(t)}" prop.`);else{const y=p[t];ke(y)&&(y(...n)||Z(`Invalid event arguments: event validation failed for event "${t}".`))}}let s=n;const i=t.startsWith("update:"),r=i&&t.slice(7);if(r&&r in o){const p=`${r==="modelValue"?"model":r}Modifiers`,{number:h,trim:y}=o[p]||ze;y&&(s=n.map(E=>Ge(E)?E.trim():E)),h&&(s=n.map(Ai))}qw(e,t,s);{const p=t.toLowerCase();p!==t&&o[no(p)]&&Z(`Event "${p}" is emitted in component ${nr(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${dn(t)}" instead of "${t}".`)}let l,d=o[l=no(t)]||o[l=no(en(t))];!d&&i&&(d=o[l=no(dn(t))]),d&&Vt(d,e,6,s);const f=o[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Vt(f,e,6,s)}}function Wu(e,t,n=!1){const o=t.emitsCache,s=o.get(e);if(s!==void 0)return s;const i=e.emits;let r={},l=!1;if(!ke(e)){const d=f=>{const p=Wu(f,t,!0);p&&(l=!0,tt(r,p))};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}return!i&&!l?(He(e)&&o.set(e,null),null):(ye(i)?i.forEach(d=>r[d]=null):tt(r,i),He(e)&&o.set(e,r),r)}function qi(e,t){return!e||!ps(t)?!1:(t=t.slice(2).replace(/Once$/,""),Me(e,t[0].toLowerCase()+t.slice(1))||Me(e,dn(t))||Me(e,t))}let it=null,Vi=null;function Wi(e){const t=it;return it=e,Vi=e&&e.type.__scopeId||null,t}function Ww(e){Vi=e}function Kw(){Vi=null}const Gw=e=>Ve;function Ve(e,t=it,n){if(!t||e._n)return e;const o=(...s)=>{o._d&&xd(-1);const i=Wi(t);let r;try{r=e(...s)}finally{Wi(i),o._d&&xd(1)}return qu(t),r};return o._n=!0,o._c=!0,o._d=!0,o}let Ea=!1;function Ki(){Ea=!0}function Aa(e){const{type:t,vnode:n,proxy:o,withProxy:s,props:i,propsOptions:[r],slots:l,attrs:d,emit:f,render:p,renderCache:h,data:y,setupState:E,ctx:x,inheritAttrs:A}=e;let O,V;const I=Wi(e);Ea=!1;try{if(n.shapeFlag&4){const ee=s||o;O=Ft(p.call(ee,ee,h,i,E,y,x)),V=d}else{const ee=t;d===i&&Ki(),O=Ft(ee.length>1?ee(i,{get attrs(){return Ki(),d},slots:l,emit:f}):ee(i,null)),V=t.props?d:Yw(d)}}catch(ee){Bs.length=0,_s(ee,e,1),O=Ce(bt)}let T=O,Y;if(O.patchFlag>0&&O.patchFlag&2048&&([T,Y]=Jw(O)),V&&A!==!1){const ee=Object.keys(V),{shapeFlag:U}=T;if(ee.length){if(U&7)r&&ee.some(Ci)&&(V=Xw(V,r)),T=Rn(T,V);else if(!Ea&&T.type!==bt){const se=Object.keys(d),ie=[],de=[];for(let Pe=0,pe=se.length;Pe renders non-element root node that cannot be animated."),T.transition=n.transition),Y?Y(T):O=T,Wi(I),O}const Jw=e=>{const t=e.children,n=e.dynamicChildren,o=Pa(t);if(!o)return[e,void 0];const s=t.indexOf(o),i=n?n.indexOf(o):-1,r=l=>{t[s]=l,n&&(i>-1?n[i]=l:l.patchFlag>0&&(e.dynamicChildren=[...n,l]))};return[Ft(o),r]};function Pa(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||ps(n))&&((t||(t={}))[n]=e[n]);return t},Xw=(e,t)=>{const n={};for(const o in e)(!Ci(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n},Ku=e=>e.shapeFlag&7||e.type===bt;function Qw(e,t,n){const{props:o,children:s,component:i}=e,{props:r,children:l,patchFlag:d}=t,f=i.emitsOptions;if((s||l)&&lo||t.dirs||t.transition)return!0;if(n&&d>=0){if(d&1024)return!0;if(d&16)return o?Gu(o,r,f):!!r;if(d&8){const p=t.dynamicProps;for(let h=0;he.__isSuspense,Ju={name:"Suspense",__isSuspense:!0,process(e,t,n,o,s,i,r,l,d,f){e==null?ey(t,n,o,s,i,r,l,d,f):ty(e,t,n,o,s,r,l,d,f)},hydrate:ny,create:Ia,normalize:oy};function Es(e,t){const n=e.props&&e.props[t];ke(n)&&n()}function ey(e,t,n,o,s,i,r,l,d){const{p:f,o:{createElement:p}}=d,h=p("div"),y=e.suspense=Ia(e,s,o,t,h,n,i,r,l,d);f(null,y.pendingBranch=e.ssContent,h,null,o,y,i,r),y.deps>0?(Es(e,"onPending"),Es(e,"onFallback"),f(null,e.ssFallback,t,n,o,null,i,r),Uo(y,e.ssFallback)):y.resolve()}function ty(e,t,n,o,s,i,r,l,{p:d,um:f,o:{createElement:p}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const y=t.ssContent,E=t.ssFallback,{activeBranch:x,pendingBranch:A,isInFallback:O,isHydrating:V}=h;if(A)h.pendingBranch=y,Nn(y,A)?(d(A,y,h.hiddenContainer,null,s,h,i,r,l),h.deps<=0?h.resolve():O&&(d(x,E,n,o,s,null,i,r,l),Uo(h,E))):(h.pendingId++,V?(h.isHydrating=!1,h.activeBranch=A):f(A,s,h),h.deps=0,h.effects.length=0,h.hiddenContainer=p("div"),O?(d(null,y,h.hiddenContainer,null,s,h,i,r,l),h.deps<=0?h.resolve():(d(x,E,n,o,s,null,i,r,l),Uo(h,E))):x&&Nn(y,x)?(d(x,y,n,o,s,h,i,r,l),h.resolve(!0)):(d(null,y,h.hiddenContainer,null,s,h,i,r,l),h.deps<=0&&h.resolve()));else if(x&&Nn(y,x))d(x,y,n,o,s,h,i,r,l),Uo(h,y);else if(Es(t,"onPending"),h.pendingBranch=y,h.pendingId++,d(null,y,h.hiddenContainer,null,s,h,i,r,l),h.deps<=0)h.resolve();else{const{timeout:I,pendingId:T}=h;I>0?setTimeout(()=>{h.pendingId===T&&h.fallback(E)},I):I===0&&h.fallback(E)}}let Yu=!1;function Ia(e,t,n,o,s,i,r,l,d,f,p=!1){Yu||(Yu=!0,console[console.info?"info":"log"](" is an experimental feature and its API will likely change."));const{p:h,m:y,um:E,n:x,o:{parentNode:A,remove:O}}=f,V=e.props?Dg(e.props.timeout):void 0;Ew(V,"Suspense timeout");const I={vnode:e,parent:t,parentComponent:n,isSVG:r,container:o,hiddenContainer:s,anchor:i,deps:0,pendingId:0,timeout:typeof V=="number"?V:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:p,isUnmounted:!1,effects:[],resolve(T=!1){{if(!T&&!I.pendingBranch)throw new Error("suspense.resolve() is called without a pending branch.");if(I.isUnmounted)throw new Error("suspense.resolve() is called on an already unmounted suspense boundary.")}const{vnode:Y,activeBranch:ee,pendingBranch:U,pendingId:se,effects:ie,parentComponent:de,container:Pe}=I;if(I.isHydrating)I.isHydrating=!1;else if(!T){const Ee=ee&&U.transition&&U.transition.mode==="out-in";Ee&&(ee.transition.afterLeave=()=>{se===I.pendingId&&y(U,Pe,ae,0)});let{anchor:ae}=I;ee&&(ae=x(ee),E(ee,de,I,!0)),Ee||y(U,Pe,ae,0)}Uo(I,U),I.pendingBranch=null,I.isInFallback=!1;let pe=I.parent,re=!1;for(;pe;){if(pe.pendingBranch){pe.effects.push(...ie),re=!0;break}pe=pe.parent}re||xa(ie),I.effects=[],Es(Y,"onResolve")},fallback(T){if(!I.pendingBranch)return;const{vnode:Y,activeBranch:ee,parentComponent:U,container:se,isSVG:ie}=I;Es(Y,"onFallback");const de=x(ee),Pe=()=>{!I.isInFallback||(h(null,T,se,de,U,null,ie,l,d),Uo(I,T))},pe=T.transition&&T.transition.mode==="out-in";pe&&(ee.transition.afterLeave=Pe),I.isInFallback=!0,E(ee,U,null,!0),pe||Pe()},move(T,Y,ee){I.activeBranch&&y(I.activeBranch,T,Y,ee),I.container=T},next(){return I.activeBranch&&x(I.activeBranch)},registerDep(T,Y){const ee=!!I.pendingBranch;ee&&I.deps++;const U=T.vnode.el;T.asyncDep.catch(se=>{_s(se,T,0)}).then(se=>{if(T.isUnmounted||I.isUnmounted||I.pendingId!==T.suspenseId)return;T.asyncResolved=!0;const{vnode:ie}=T;bs(ie),Wa(T,se,!1),U&&(ie.el=U);const de=!U&&T.subTree.el;Y(T,ie,A(U||T.subTree.el),U?null:x(T.subTree),I,r,d),de&&O(de),Oa(T,ie.el),vs(),ee&&--I.deps===0&&I.resolve()})},unmount(T,Y){I.isUnmounted=!0,I.activeBranch&&E(I.activeBranch,n,T,Y),I.pendingBranch&&E(I.pendingBranch,n,T,Y)}};return I}function ny(e,t,n,o,s,i,r,l,d){const f=t.suspense=Ia(t,o,n,e.parentNode,document.createElement("div"),null,s,i,r,l,!0),p=d(e,f.pendingBranch=t.ssContent,n,f,i,r);return f.deps===0&&f.resolve(),p}function oy(e){const{shapeFlag:t,children:n}=e,o=t&32;e.ssContent=Xu(o?n.default:n),e.ssFallback=o?Xu(n.fallback):Ce(bt)}function Xu(e){let t;if(ke(e)){const n=Ho&&e._c;n&&(e._d=!1,K()),e=e(),n&&(e._d=!0,t=Rt,_d())}if(ye(e)){const n=Pa(e);n||Z(" slots expect a single root node."),e=n}return e=Ft(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function sy(e,t){t&&t.pendingBranch?ye(e)?t.effects.push(...e):t.effects.push(e):xa(e)}function Uo(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,s=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=s,Oa(o,s))}function As(e,t){if(!Ye)Z("provide() can only be used inside setup().");else{let n=Ye.provides;const o=Ye.parent&&Ye.parent.provides;o===n&&(n=Ye.provides=Object.create(o)),n[e]=t}}function Ps(e,t,n=!1){const o=Ye||it;if(o){const s=o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&ke(t)?t.call(o.proxy):t;Z(`injection "${String(e)}" not found.`)}else Z("inject() can only be used inside setup() or functional components.")}const Gi={};function ht(e,t,n){return ke(t)||Z("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Qu(e,t,n)}function Qu(e,t,{immediate:n,deep:o,flush:s,onTrack:i,onTrigger:r}=ze){t||(n!==void 0&&Z('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&Z('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const l=Y=>{Z("Invalid watch source: ",Y,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},d=jg()===(Ye==null?void 0:Ye.scope)?Ye:null;let f,p=!1,h=!1;if(nt(e)?(f=()=>e.value,p=Fi(e)):ro(e)?(f=()=>e,o=!0):ye(e)?(h=!0,p=e.some(Y=>ro(Y)||Fi(Y)),f=()=>e.map(Y=>{if(nt(Y))return Y.value;if(ro(Y))return uo(Y);if(ke(Y))return pn(Y,d,2);l(Y)})):ke(e)?t?f=()=>pn(e,d,2):f=()=>{if(!(d&&d.isUnmounted))return y&&y(),Vt(e,d,3,[E])}:(f=St,l(e)),t&&o){const Y=f;f=()=>uo(Y())}let y,E=Y=>{y=I.onStop=()=>{pn(Y,d,4)}},x;if(Ds)if(E=St,t?n&&Vt(t,d,3,[f(),h?[]:void 0,E]):f(),s==="sync"){const Y=ab();x=Y.__watcherHandles||(Y.__watcherHandles=[])}else return St;let A=h?new Array(e.length).fill(Gi):Gi;const O=()=>{if(!!I.active)if(t){const Y=I.run();(o||p||(h?Y.some((ee,U)=>gs(ee,A[U])):gs(Y,A)))&&(y&&y(),Vt(t,d,3,[Y,A===Gi?void 0:h&&A[0]===Gi?[]:A,E]),A=Y)}else I.run()};O.allowRecurse=!!t;let V;s==="sync"?V=O:s==="post"?V=()=>At(O,d&&d.suspense):(O.pre=!0,d&&(O.id=d.uid),V=()=>zi(O));const I=new ma(f,V);I.onTrack=i,I.onTrigger=r,t?n?O():A=I.run():s==="post"?At(I.run.bind(I),d&&d.suspense):I.run();const T=()=>{I.stop(),d&&d.scope&&la(d.scope.effects,I)};return x&&x.push(T),T}function iy(e,t,n){const o=this.proxy,s=Ge(e)?e.includes(".")?Zu(o,e):()=>o[e]:e.bind(o,o);let i;ke(t)?i=t:(i=t.handler,n=t);const r=Ye;Fn(this);const l=Qu(s,i.bind(o),n);return r?Fn(r):Un(),l}function Zu(e,t){const n=t.split(".");return()=>{let o=e;for(let s=0;s{uo(n,t)});else if(ru(e))for(const n in e)uo(e[n],t);return e}function De(e){return ke(e)?{setup:e,name:e.name}:e}const Os=e=>!!e.type.__asyncLoader,Ta=e=>e.type.__isKeepAlive;function ry(e,t){ed(e,"a",t)}function ay(e,t){ed(e,"da",t)}function ed(e,t,n=Ye){const o=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Ji(t,o,n),n){let s=n.parent;for(;s&&s.parent;)Ta(s.parent.vnode)&&ly(o,t,n,s),s=s.parent}}function ly(e,t,n,o){const s=Ji(t,e,o,!0);Is(()=>{la(o[t],s)},n)}function Ji(e,t,n=Ye,o=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;so(),Fn(n);const l=Vt(t,n,e,r);return Un(),io(),l});return o?s.unshift(i):s.push(i),i}else{const s=no(ba[e].replace(/ hook$/,""));Z(`${s} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const hn=e=>(t,n=Ye)=>(!Ds||e==="sp")&&Ji(e,(...o)=>t(...o),n),Wt=hn("bm"),Kt=hn("m"),cy=hn("bu"),uy=hn("u"),td=hn("bum"),Is=hn("um"),dy=hn("sp"),fy=hn("rtg"),py=hn("rtc");function hy(e,t=Ye){Ji("ec",e,t)}function nd(e){Lg(e)&&Z("Do not use built-in directive ids as custom directive id: "+e)}function ne(e,t){const n=it;if(n===null)return Z("withDirectives can only be used inside render functions."),e;const o=tr(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let i=0;it(r,l,void 0,i&&i[l]));else{const r=Object.keys(e);s=new Array(r.length);for(let l=0,d=r.length;l1&&(Z("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),i=()=>[]),i&&i._c&&(i._d=!1),K();const r=i&&sd(i(n)),l=jt(Be,{key:n.key||r&&r.key||`_${t}`},r||(o?o():[]),r&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function sd(e){return e.some(t=>zo(t)?!(t.type===bt||t.type===Be&&!sd(t.children)):!0)?e:null}const Ma=e=>e?Ad(e)?tr(e)||e.proxy:Ma(e.parent):null,ho=tt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>Ro(e.props),$attrs:e=>Ro(e.attrs),$slots:e=>Ro(e.slots),$refs:e=>Ro(e.refs),$parent:e=>Ma(e.parent),$root:e=>Ma(e.root),$emit:e=>e.emit,$options:e=>Ra(e),$forceUpdate:e=>e.f||(e.f=()=>zi(e.update)),$nextTick:e=>e.n||(e.n=Hi.bind(e.proxy)),$watch:e=>iy.bind(e)}),Ba=e=>e==="_"||e==="$",Da=(e,t)=>e!==ze&&!e.__isScriptSetup&&Me(e,t),id={get({_:e},t){const{ctx:n,setupState:o,data:s,props:i,accessCache:r,type:l,appContext:d}=e;if(t==="__isVue")return!0;let f;if(t[0]!=="$"){const E=r[t];if(E!==void 0)switch(E){case 1:return o[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(Da(o,t))return r[t]=1,o[t];if(s!==ze&&Me(s,t))return r[t]=2,s[t];if((f=e.propsOptions[0])&&Me(f,t))return r[t]=3,i[t];if(n!==ze&&Me(n,t))return r[t]=4,n[t];Na&&(r[t]=0)}}const p=ho[t];let h,y;if(p)return t==="$attrs"&&(Et(e,"get",t),Ki()),p(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==ze&&Me(n,t))return r[t]=4,n[t];if(y=d.config.globalProperties,Me(y,t))return y[t];it&&(!Ge(t)||t.indexOf("__v")!==0)&&(s!==ze&&Ba(t[0])&&Me(s,t)?Z(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===it&&Z(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:o,setupState:s,ctx:i}=e;return Da(s,t)?(s[t]=n,!0):s.__isScriptSetup&&Me(s,t)?(Z(`Cannot mutate