diff --git a/public/theme/Xboard/assets/umi.js b/public/theme/Xboard/assets/umi.js index 5972dbd..c21b7c7 100644 --- a/public/theme/Xboard/assets/umi.js +++ b/public/theme/Xboard/assets/umi.js @@ -1,89 +1,89 @@ -(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(`@charset "UTF-8";.xboard-nav-mask{position:fixed;top:0;bottom:0;right:0;left:0;background:#000;z-index:999;opacity:.5;display:none}.xboard-plan-features{padding:0;list-style:none;font-size:16px;flex:1 0 auto}.xboard-plan-features>li{padding:6px 0;color:#7c8088;text-align:left}.xboard-plan-features>li>b{color:#2a2e36;font-weight:500}.xboard-plan-content{padding-top:20px;padding-left:20px}.xboard-plan-features>li:before{font-family:Font Awesome\\ 5 Free;content:"";padding-right:10px;color:#425b94;font-weight:900}.xboard-email-whitelist-enable{display:flex}.xboard-email-whitelist-enable input{flex:2 1;border-top-right-radius:0;border-bottom-right-radius:0}.xboard-email-whitelist-enable select{flex:1 1;border-top-left-radius:0;border-bottom-left-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-position:right 50%;background-repeat:no-repeat;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12'%3E%3Cpath d='M3.862 7.931L0 4.069h7.725z'/%3E%3C/svg%3E");padding-right:1.5em}.block.block-mode-loading:before{background:hsla(0,0%,100%,.7)}#server .ant-drawer-content-wrapper{max-width:500px}.xboard-trade-no{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.xboard-lang-item{padding:10px 20px}.xboard-lang-item:hover{background:#eee}.xboard-auth-lang-btn{position:absolute;right:0;top:0}.xboard-no-access{color:#855c0d;background-color:#ffefd1;position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:0 solid transparent;border-radius:.25rem}.xboard-notice-background{height:100%;position:absolute;top:0;right:0;left:0;bottom:0;z-index:80;opacity:.1}.xboard-auth-box{position:fixed;right:0;left:0;top:0;bottom:0;display:flex;align-items:center;overflow-y:auto}.content-header{height:3.25rem}#page-container.page-header-fixed #main-container{padding-top:3.25rem}.xboard-copyright{position:absolute;bottom:10px;right:0;left:15px;font-size:10px;opacity:.2}.ant-table-thead>tr>th{background:#fff!important}.xboard-container-title{flex:1 1;color:#fff}.xboard-order-info>div{display:flex;font-size:14px;margin-bottom:5px}.xboard-order-info>div>span:first-child{flex:1 1;opacity:.5}.xboard-order-info>div>span:last-child{flex:2 1;font-family:menlo}.xboard-bg-pixels{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjIwMCIgd2lkdGg9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwIDgpIj48Y2lyY2xlIGN4PSIxNzYiIGN5PSIxMiIgcj0iNCIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMjAuNS41bDIzIDExbS0yOSA4NGwtMy43OSAxMC4zNzdNMjcuMDM3IDEzMS40bDUuODk4IDIuMjAzLTMuNDYgNS45NDcgNi4wNzIgMi4zOTItMy45MzMgNS43NThtMTI4LjczMyAzNS4zN2wuNjkzLTkuMzE2IDEwLjI5Mi4wNTIuNDE2LTkuMjIyIDkuMjc0LjMzMk0uNSA0OC41czYuMTMxIDYuNDEzIDYuODQ3IDE0LjgwNWMuNzE1IDguMzkzLTIuNTIgMTQuODA2LTIuNTIgMTQuODA2TTEyNC41NTUgOTBzLTcuNDQ0IDAtMTMuNjcgNi4xOTJjLTYuMjI3IDYuMTkyLTQuODM4IDEyLjAxMi00LjgzOCAxMi4wMTJtMi4yNCA2OC42MjZzLTQuMDI2LTkuMDI1LTE4LjE0NS05LjAyNS0xOC4xNDUgNS43LTE4LjE0NSA1LjciIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNODUuNzE2IDM2LjE0Nmw1LjI0My05LjUyMWgxMS4wOTNsNS40MTYgOS41MjEtNS40MSA5LjE4NUg5MC45NTN6bTYzLjkwOSAxNS40NzloMTAuNzV2MTAuNzVoLTEwLjc1eiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48ZyBmaWxsPSIjZGRkIj48Y2lyY2xlIGN4PSI3MS41IiBjeT0iNy41IiByPSIxLjUiLz48Y2lyY2xlIGN4PSIxNzAuNSIgY3k9Ijk1LjUiIHI9IjEuNSIvPjxjaXJjbGUgY3g9IjgxLjUiIGN5PSIxMzQuNSIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iMTMuNSIgY3k9IjIzLjUiIHI9IjEuNSIvPjxwYXRoIGQ9Ik05MyA3MWgzdjNoLTN6bTMzIDg0aDN2M2gtM3ptLTg1IDE4aDN2M2gtM3oiLz48L2c+PHBhdGggZD0iTTM5LjM4NCA1MS4xMjJsNS43NTgtNC40NTQgNi40NTMgNC4yMDUtMi4yOTQgNy4zNjNoLTcuNzl6TTEzMC4xOTUgNC4wM2wxMy44MyA1LjA2Mi0xMC4wOSA3LjA0OHptLTgzIDk1bDE0LjgzIDUuNDI5LTEwLjgyIDcuNTU3LTQuMDEtMTIuOTg3ek01LjIxMyAxNjEuNDk1bDExLjMyOCAyMC44OTdMMi4yNjUgMTgweiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMTQ5LjA1IDEyNy40NjhzLS41MSAyLjE4My45OTUgMy4zNjZjMS41NiAxLjIyNiA4LjY0Mi0xLjg5NSAzLjk2Ny03Ljc4NS0yLjM2Ny0yLjQ3Ny02LjUtMy4yMjYtOS4zMyAwLTUuMjA4IDUuOTM2IDAgMTcuNTEgMTEuNjEgMTMuNzMgMTIuNDU4LTYuMjU3IDUuNjMzLTIxLjY1Ni01LjA3My0yMi42NTQtNi42MDItLjYwNi0xNC4wNDMgMS43NTYtMTYuMTU3IDEwLjI2OC0xLjcxOCA2LjkyIDEuNTg0IDE3LjM4NyAxMi40NSAyMC40NzYgMTAuODY2IDMuMDkgMTkuMzMxLTQuMzEgMTkuMzMxLTQuMzEiIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48L2c+PC9zdmc+);background-size:auto}#page-container{min-height:100%}#page-container .content,#main-container{background-color:#f0f3f8!important}a:not([href]):hover{color:unset}.xboard-login-i18n-btn{cursor:pointer;margin-top:2.5;float:right}.custom-control-label:after{left:-1.25rem}.xboard-shortcuts-item{cursor:pointer;padding:20px;border-bottom:1px solid #eee;position:relative}.xboard-shortcuts-item>.description{font-size:12px;opacity:.5}.xboard-shortcuts-item i{position:absolute;top:25px;font-size:30px;right:20px;opacity:.5}.xboard-shortcuts-item:hover{background:#f6f6f6}.btn{border:0}.xboard-plan-tabs{border:1px solid #000;padding:8px 4px;border-radius:100px}.xboard-plan-tabs>span{cursor:pointer;padding:5px 12px}.xboard-plan-tabs>.active{background:#000;border-radius:100px;color:#fff}.xboard-sold-out-tag{background-color:#c12c1f;border-radius:100px;padding:2px 8px;font-size:13px;color:#fff}.xboard-payment-qrcode path[fill="#FFFFFF"]{--darkreader-inline-fill: #fff!important}.alert-success{color:#445e27;background-color:#e6f0db;border-color:#dceacd}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:0 solid transparent;border-radius:.25rem}.custom-html-style{color:#333}.custom-html-style h1{font-size:32px;padding:0;border:none;font-weight:700;margin:32px 0;line-height:1.2}.custom-html-style h2{font-size:24px;padding:0;border:none;font-weight:700;margin:24px 0;line-height:1.7}.custom-html-style h3{font-size:18px;margin:18px 0;padding:0;line-height:1.7;border:none}.custom-html-style p{font-size:14px;line-height:1.7;margin:8px 0}.custom-html-style a{color:#0052d9}.custom-html-style a:hover{text-decoration:none}.custom-html-style strong{font-weight:700}.custom-html-style ol,.custom-html-style ul{font-size:14px;line-height:28px;padding-left:36px}.custom-html-style li{margin-bottom:8px;line-height:1.7}.custom-html-style hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.custom-html-style pre{display:block;padding:20px;line-height:28px;word-break:break-word}.custom-html-style code,.custom-html-style pre{background-color:#f5f5f5;font-size:14px;border-radius:0;overflow-x:auto}.custom-html-style code{padding:3px 0;margin:0;word-break:normal}.custom-html-style code:after,.custom-html-style code:before{letter-spacing:0}.custom-html-style blockquote{position:relative;margin:16px 0;padding:5px 8px 5px 30px;background:none repeat scroll 0 0 rgba(102,128,153,.05);color:#333;border:none;border-left:10px solid #d6dbdf}.custom-html-style img,.custom-html-style video{max-width:100%}.custom-html-style table{font-size:14px;line-height:1.7;max-width:100%;overflow:auto;border:1px solid #f6f6f6;border-collapse:collapse;border-spacing:0;box-sizing:border-box}.custom-html-style table td,.custom-html-style table th{word-break:break-all;word-wrap:break-word;white-space:normal}.custom-html-style table tr{border:1px solid #efefef}.custom-html-style table tr:nth-child(2n){background-color:transparent}.custom-html-style table th{text-align:center;font-weight:700;border:1px solid #efefef;padding:10px 6px;background-color:#f5f7fa;word-break:break-word}.custom-html-style table td{border:1px solid #efefef;text-align:left;padding:10px 15px;word-break:break-word;min-width:60px}code{font-size:87.5%;color:#e83e8c;word-wrap:break-word}.btn{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.btn.btn-square{border-radius:0}.btn.btn-rounded{border-radius:2rem}.btn .fa,.btn .si{position:relative;top:1px}.btn-group-sm>.btn .fa,.btn.btn-sm .fa{top:0}.btn-alt-primary{color:#054d9e;background-color:#cde4fe;border-color:#cde4fe}.btn-alt-primary:hover{color:#054d9e;background-color:#a8d0fc;border-color:#a8d0fc}.btn-alt-primary.focus,.btn-alt-primary:focus{color:#054d9e;background-color:#a8d0fc;border-color:#a8d0fc;box-shadow:0 0 0 .2rem #92c4fc40}.btn-alt-primary.disabled,.btn-alt-primary:disabled{color:#212529;background-color:#cde4fe;border-color:#cde4fe}.btn-alt-primary:not(:disabled):not(.disabled).active,.btn-alt-primary:not(:disabled):not(.disabled):active,.show>.btn-alt-primary.dropdown-toggle{color:#022954;background-color:#92c4fc;border-color:#92c4fc}.btn-alt-primary:not(:disabled):not(.disabled).active:focus,.btn-alt-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #92c4fc40}.btn-alt-secondary{color:#495057;background-color:#f0f3f8;border-color:#f0f3f8}.btn-alt-secondary:hover{color:#495057;background-color:#d6deec;border-color:#d6deec}.btn-alt-secondary.focus,.btn-alt-secondary:focus{color:#495057;background-color:#d6deec;border-color:#d6deec;box-shadow:0 0 0 .2rem #c6d1e540}.btn-alt-secondary.disabled,.btn-alt-secondary:disabled{color:#212529;background-color:#f0f3f8;border-color:#f0f3f8}.btn-alt-secondary:not(:disabled):not(.disabled).active,.btn-alt-secondary:not(:disabled):not(.disabled):active,.show>.btn-alt-secondary.dropdown-toggle{color:#262a2d;background-color:#c6d1e5;border-color:#c6d1e5}.btn-alt-secondary:not(:disabled):not(.disabled).active:focus,.btn-alt-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #c6d1e540}.btn-alt-success{color:#415b25;background-color:#d7e8c6;border-color:#d7e8c6}.btn-alt-success:hover{color:#415b25;background-color:#c5dcab;border-color:#c5dcab}.btn-alt-success.focus,.btn-alt-success:focus{color:#415b25;background-color:#c5dcab;border-color:#c5dcab;box-shadow:0 0 0 .2rem #b9d69b40}.btn-alt-success.disabled,.btn-alt-success:disabled{color:#212529;background-color:#d7e8c6;border-color:#d7e8c6}.btn-alt-success:not(:disabled):not(.disabled).active,.btn-alt-success:not(:disabled):not(.disabled):active,.show>.btn-alt-success.dropdown-toggle{color:#1a250f;background-color:#b9d69b;border-color:#b9d69b}.btn-alt-success:not(:disabled):not(.disabled).active:focus,.btn-alt-success:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #b9d69b40}.btn-alt-info{color:#164f86;background-color:#d1e5f7;border-color:#d1e5f7}.btn-alt-info:hover{color:#164f86;background-color:#b0d2f2;border-color:#b0d2f2}.btn-alt-info.focus,.btn-alt-info:focus{color:#164f86;background-color:#b0d2f2;border-color:#b0d2f2;box-shadow:0 0 0 .2rem #9cc7ef40}.btn-alt-info.disabled,.btn-alt-info:disabled{color:#212529;background-color:#d1e5f7;border-color:#d1e5f7}.btn-alt-info:not(:disabled):not(.disabled).active,.btn-alt-info:not(:disabled):not(.disabled):active,.show>.btn-alt-info.dropdown-toggle{color:#0b2844;background-color:#9cc7ef;border-color:#9cc7ef}.btn-alt-info:not(:disabled):not(.disabled).active:focus,.btn-alt-info:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #9cc7ef40}.btn-alt-warning{color:#996500;background-color:#ffecc6;border-color:#ffecc6}.btn-alt-warning:hover{color:#996500;background-color:#ffdfa0;border-color:#ffdfa0}.btn-alt-warning.focus,.btn-alt-warning:focus{color:#996500;background-color:#ffdfa0;border-color:#ffdfa0;box-shadow:0 0 0 .2rem #ffd78940}.btn-alt-warning.disabled,.btn-alt-warning:disabled{color:#212529;background-color:#ffecc6;border-color:#ffecc6}.btn-alt-warning:not(:disabled):not(.disabled).active,.btn-alt-warning:not(:disabled):not(.disabled):active,.show>.btn-alt-warning.dropdown-toggle{color:#4c3200;background-color:#ffd789;border-color:#ffd789}.btn-alt-warning:not(:disabled):not(.disabled).active:focus,.btn-alt-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #ffd78940}.btn-alt-danger{color:#6e270d;background-color:#f6c4b1;border-color:#f6c4b1}.btn-alt-danger:hover{color:#6e270d;background-color:#f2aa8f;border-color:#f2aa8f}.btn-alt-danger.focus,.btn-alt-danger:focus{color:#6e270d;background-color:#f2aa8f;border-color:#f2aa8f;box-shadow:0 0 0 .2rem #f09a7b40}.btn-alt-danger.disabled,.btn-alt-danger:disabled{color:#212529;background-color:#f6c4b1;border-color:#f6c4b1}.btn-alt-danger:not(:disabled):not(.disabled).active,.btn-alt-danger:not(:disabled):not(.disabled):active,.show>.btn-alt-danger.dropdown-toggle{color:#290f05;background-color:#f09a7b;border-color:#f09a7b}.btn-alt-danger:not(:disabled):not(.disabled).active:focus,.btn-alt-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #f09a7b40}.btn-alt-dark{color:#343a40;background-color:#ced3d8;border-color:#ced3d8}.btn-alt-dark:hover{color:#343a40;background-color:#b9c0c6;border-color:#b9c0c6}.btn-alt-dark.focus,.btn-alt-dark:focus{color:#343a40;background-color:#b9c0c6;border-color:#b9c0c6;box-shadow:0 0 0 .2rem #adb4bc40}.btn-alt-dark.disabled,.btn-alt-dark:disabled{color:#212529;background-color:#ced3d8;border-color:#ced3d8}.btn-alt-dark:not(:disabled):not(.disabled).active,.btn-alt-dark:not(:disabled):not(.disabled):active,.show>.btn-alt-dark.dropdown-toggle{color:#121416;background-color:#adb4bc;border-color:#adb4bc}.btn-alt-dark:not(:disabled):not(.disabled).active:focus,.btn-alt-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #adb4bc40}.btn-alt-light{color:#343a40;background-color:#f8f9fa;border-color:#f8f9fa}.btn-alt-light:hover{color:#343a40;background-color:#e2e6ea;border-color:#e2e6ea}.btn-alt-light.focus,.btn-alt-light:focus{color:#343a40;background-color:#e2e6ea;border-color:#e2e6ea;box-shadow:0 0 0 .2rem #d4dae140}.btn-alt-light.disabled,.btn-alt-light:disabled{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-alt-light:not(:disabled):not(.disabled).active,.btn-alt-light:not(:disabled):not(.disabled):active,.show>.btn-alt-light.dropdown-toggle{color:#121416;background-color:#d4dae1;border-color:#d4dae1}.btn-alt-light:not(:disabled):not(.disabled).active:focus,.btn-alt-light:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #d4dae140}.btn-hero-primary{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#0665d0;border:none;box-shadow:0 .125rem .75rem #04418640;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-primary:hover{color:#fff;background-color:#117ef8;box-shadow:0 .375rem .75rem #04418666;transform:translateY(-1px)}.btn-hero-primary.focus,.btn-hero-primary:focus{color:#fff;background-color:#117ef8;box-shadow:0 .125rem .75rem #04418640}.btn-hero-primary.disabled,.btn-hero-primary:disabled{color:#fff;background-color:#0665d0;box-shadow:0 .125rem .75rem #04418640;transform:translateY(0)}.btn-hero-primary:not(:disabled):not(.disabled).active,.btn-hero-primary:not(:disabled):not(.disabled):active,.show>.btn-hero-primary.dropdown-toggle{color:#fff;background-color:#044186;box-shadow:0 .125rem .75rem #04418640;transform:translateY(0)}.btn-hero-primary:not(:disabled):not(.disabled).active:focus,.btn-hero-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-primary.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #04418640}.btn-hero-secondary{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#6c757d;border:none;box-shadow:0 .125rem .75rem #494f5440;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-secondary:hover{color:#fff;background-color:#868e96;box-shadow:0 .375rem .75rem #494f5466;transform:translateY(-1px)}.btn-hero-secondary.focus,.btn-hero-secondary:focus{color:#fff;background-color:#868e96;box-shadow:0 .125rem .75rem #494f5440}.btn-hero-secondary.disabled,.btn-hero-secondary:disabled{color:#fff;background-color:#6c757d;box-shadow:0 .125rem .75rem #494f5440;transform:translateY(0)}.btn-hero-secondary:not(:disabled):not(.disabled).active,.btn-hero-secondary:not(:disabled):not(.disabled):active,.show>.btn-hero-secondary.dropdown-toggle{color:#fff;background-color:#494f54;box-shadow:0 .125rem .75rem #494f5440;transform:translateY(0)}.btn-hero-secondary:not(:disabled):not(.disabled).active:focus,.btn-hero-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-secondary.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #494f5440}.btn-hero-success{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#82b54b;border:none;box-shadow:0 .125rem .75rem #5b7f3440;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-success:hover{color:#fff;background-color:#9bc46f;box-shadow:0 .375rem .75rem #5b7f3466;transform:translateY(-1px)}.btn-hero-success.focus,.btn-hero-success:focus{color:#fff;background-color:#9bc46f;box-shadow:0 .125rem .75rem #5b7f3440}.btn-hero-success.disabled,.btn-hero-success:disabled{color:#fff;background-color:#82b54b;box-shadow:0 .125rem .75rem #5b7f3440;transform:translateY(0)}.btn-hero-success:not(:disabled):not(.disabled).active,.btn-hero-success:not(:disabled):not(.disabled):active,.show>.btn-hero-success.dropdown-toggle{color:#fff;background-color:#5b7f34;box-shadow:0 .125rem .75rem #5b7f3440;transform:translateY(0)}.btn-hero-success:not(:disabled):not(.disabled).active:focus,.btn-hero-success:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-success.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #5b7f3440}.btn-hero-info{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#3c90df;border:none;box-shadow:0 .125rem .75rem #1d6ab140;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-info:hover{color:#fff;background-color:#68a9e6;box-shadow:0 .375rem .75rem #1d6ab166;transform:translateY(-1px)}.btn-hero-info.focus,.btn-hero-info:focus{color:#fff;background-color:#68a9e6;box-shadow:0 .125rem .75rem #1d6ab140}.btn-hero-info.disabled,.btn-hero-info:disabled{color:#fff;background-color:#3c90df;box-shadow:0 .125rem .75rem #1d6ab140;transform:translateY(0)}.btn-hero-info:not(:disabled):not(.disabled).active,.btn-hero-info:not(:disabled):not(.disabled):active,.show>.btn-hero-info.dropdown-toggle{color:#fff;background-color:#1d6ab1;box-shadow:0 .125rem .75rem #1d6ab140;transform:translateY(0)}.btn-hero-info:not(:disabled):not(.disabled).active:focus,.btn-hero-info:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-info.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #1d6ab140}.btn-hero-warning{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#ffb119;border:none;box-shadow:0 .125rem .75rem #cc860040;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-warning:hover{color:#fff;background-color:#ffc24c;box-shadow:0 .375rem .75rem #cc860066;transform:translateY(-1px)}.btn-hero-warning.focus,.btn-hero-warning:focus{color:#fff;background-color:#ffc24c;box-shadow:0 .125rem .75rem #cc860040}.btn-hero-warning.disabled,.btn-hero-warning:disabled{color:#fff;background-color:#ffb119;box-shadow:0 .125rem .75rem #cc860040;transform:translateY(0)}.btn-hero-warning:not(:disabled):not(.disabled).active,.btn-hero-warning:not(:disabled):not(.disabled):active,.show>.btn-hero-warning.dropdown-toggle{color:#fff;background-color:#cc8600;box-shadow:0 .125rem .75rem #cc860040;transform:translateY(0)}.btn-hero-warning:not(:disabled):not(.disabled).active:focus,.btn-hero-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-warning.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #cc860040}.btn-hero-danger{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#e04f1a;border:none;box-shadow:0 .125rem .75rem #9b371240;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-danger:hover{color:#fff;background-color:#e97044;box-shadow:0 .375rem .75rem #9b371266;transform:translateY(-1px)}.btn-hero-danger.focus,.btn-hero-danger:focus{color:#fff;background-color:#e97044;box-shadow:0 .125rem .75rem #9b371240}.btn-hero-danger.disabled,.btn-hero-danger:disabled{color:#fff;background-color:#e04f1a;box-shadow:0 .125rem .75rem #9b371240;transform:translateY(0)}.btn-hero-danger:not(:disabled):not(.disabled).active,.btn-hero-danger:not(:disabled):not(.disabled):active,.show>.btn-hero-danger.dropdown-toggle{color:#fff;background-color:#9b3712;box-shadow:0 .125rem .75rem #9b371240;transform:translateY(0)}.btn-hero-danger:not(:disabled):not(.disabled).active:focus,.btn-hero-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-danger.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #9b371240}.btn-hero-dark{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#343a40;border:none;box-shadow:0 .125rem .75rem #12141640;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-dark:hover{color:#fff;background-color:#4b545c;box-shadow:0 .375rem .75rem #12141666;transform:translateY(-1px)}.btn-hero-dark.focus,.btn-hero-dark:focus{color:#fff;background-color:#4b545c;box-shadow:0 .125rem .75rem #12141640}.btn-hero-dark.disabled,.btn-hero-dark:disabled{color:#fff;background-color:#343a40;box-shadow:0 .125rem .75rem #12141640;transform:translateY(0)}.btn-hero-dark:not(:disabled):not(.disabled).active,.btn-hero-dark:not(:disabled):not(.disabled):active,.show>.btn-hero-dark.dropdown-toggle{color:#fff;background-color:#121416;box-shadow:0 .125rem .75rem #12141640;transform:translateY(0)}.btn-hero-dark:not(:disabled):not(.disabled).active:focus,.btn-hero-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-dark.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #12141640}.btn-hero-light{color:#212529;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#f8f9fa;border:none;box-shadow:0 .125rem .75rem #cbd3da40;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-light:hover{color:#212529;background-color:#fff;box-shadow:0 .375rem .75rem #cbd3da66;transform:translateY(-1px)}.btn-hero-light.focus,.btn-hero-light:focus{color:#212529;background-color:#fff;box-shadow:0 .125rem .75rem #cbd3da40}.btn-hero-light.disabled,.btn-hero-light:disabled{color:#212529;background-color:#f8f9fa;box-shadow:0 .125rem .75rem #cbd3da40;transform:translateY(0)}.btn-hero-light:not(:disabled):not(.disabled).active,.btn-hero-light:not(:disabled):not(.disabled):active,.show>.btn-hero-light.dropdown-toggle{color:#212529;background-color:#cbd3da;box-shadow:0 .125rem .75rem #cbd3da40;transform:translateY(0)}.btn-hero-light:not(:disabled):not(.disabled).active:focus,.btn-hero-light:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-light.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #cbd3da40}.btn-hero-lg{padding:.875rem 2.25rem;font-size:.875rem;line-height:1.5;border-radius:.25rem}.btn-hero-sm{padding:.375rem 1.25rem;font-size:.875rem;line-height:1.5;border-radius:.25rem}.btn-dual{color:#16181a;background-color:#f8f9fc;border-color:#f8f9fc}.btn-dual.focus,.btn-dual:focus,.btn-dual:hover{color:#16181a;background-color:#cdd6e8;border-color:#cdd6e8;box-shadow:none}.btn-dual.disabled,.btn-dual:disabled{background-color:transparent;border-color:transparent}.btn-dual.active,.btn-dual:active{color:#16181a;background-color:#f8f9fc;border-color:#f8f9fc}.btn-dual:not(:disabled):not(.disabled).active,.btn-dual:not(:disabled):not(.disabled):active,.show>.btn-dual.dropdown-toggle{color:#16181a;background-color:#cdd6e8;border-color:#cdd6e8}html.dark .markdown-body{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #e6edf3;--color-fg-muted: #7d8590;--color-fg-subtle: #6e7681;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110,118,129,.4);--color-accent-fg: #2f81f7;--color-accent-emphasis: #1f6feb;--color-attention-fg: #d29922;--color-attention-subtle: rgba(187,128,9,.15);--color-danger-fg: #f85149;--color-done-fg: #a371f7}html:not(.dark) .markdown-body{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #6639ba;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #1F2328;--color-fg-muted: #656d76;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210,18%,87%,1);--color-neutral-muted: rgba(175,184,193,.2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-fg: #9a6700;--color-attention-subtle: #fff8c5;--color-danger-fg: #d1242f;--color-done-fg: #8250df}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:var(--color-fg-default);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,");mask-image:url("data:image/svg+xml,")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.markdown-body mark{background-color:var(--color-attention-subtle);color:var(--color-fg-default)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default);border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.25em}.markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:1em}.markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.875em}.markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em;color:var(--color-fg-muted)}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body .color-fg-accent{color:var(--color-accent-fg)!important}.markdown-body .color-fg-attention{color:var(--color-attention-fg)!important}.markdown-body .color-fg-done{color:var(--color-done-fg)!important}.markdown-body .flex-items-center{align-items:center!important}.markdown-body .mb-1{margin-bottom:var(--base-size-4, 4px)!important}.markdown-body .text-semibold{font-weight:var(--base-text-weight-medium, 500)!important}.markdown-body .d-inline-flex{display:inline-flex!important}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:var(--color-danger-fg)}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type="a s"]{list-style-type:lower-alpha}.markdown-body ol[type="A s"]{list-style-type:upper-alpha}.markdown-body ol[type="i s"]{list-style-type:lower-roman}.markdown-body ol[type="I s"]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-body table td>:last-child{margin-bottom:0}.markdown-body table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;color:var(--color-fg-default);background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:var(--base-text-weight-semibold, 600);background:var(--color-canvas-subtle);border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes ol ul{display:inline-block;padding-left:16px;margin-top:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.markdown-body .footnotes li:target{color:var(--color-fg-default)}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.markdown-body .pl-e,.markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:var(--color-prettylights-syntax-storage-modifier-import)}.markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:var(--color-prettylights-syntax-string)}.markdown-body .pl-v,.markdown-body .pl-smw{color:var(--color-prettylights-syntax-variable)}.markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.markdown-body .pl-ii{color:var(--color-prettylights-syntax-invalid-illegal-text);background-color:var(--color-prettylights-syntax-invalid-illegal-bg)}.markdown-body .pl-c2{color:var(--color-prettylights-syntax-carriage-return-text);background-color:var(--color-prettylights-syntax-carriage-return-bg)}.markdown-body .pl-sr .pl-cce{font-weight:700;color:var(--color-prettylights-syntax-string-regexp)}.markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:var(--color-prettylights-syntax-markup-heading)}.markdown-body .pl-mi{font-style:italic;color:var(--color-prettylights-syntax-markup-italic)}.markdown-body .pl-mb{font-weight:700;color:var(--color-prettylights-syntax-markup-bold)}.markdown-body .pl-md{color:var(--color-prettylights-syntax-markup-deleted-text);background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.markdown-body .pl-mi1{color:var(--color-prettylights-syntax-markup-inserted-text);background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.markdown-body .pl-mc{color:var(--color-prettylights-syntax-markup-changed-text);background-color:var(--color-prettylights-syntax-markup-changed-bg)}.markdown-body .pl-mi2{color:var(--color-prettylights-syntax-markup-ignored-text);background-color:var(--color-prettylights-syntax-markup-ignored-bg)}.markdown-body .pl-mdr{font-weight:700;color:var(--color-prettylights-syntax-meta-diff-range)}.markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.markdown-body .pl-corl{text-decoration:underline;color:var(--color-prettylights-syntax-constant-other-reference-link)}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:var(--base-text-weight-normal, 400);line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:var(--base-text-weight-normal, 400)}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:4px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list{position:relative}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body .QueryBuilder .qb-entity{color:var(--color-prettylights-syntax-entity)}.markdown-body .QueryBuilder .qb-constant{color:var(--color-prettylights-syntax-constant)}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body .markdown-alert{padding:0 1em;margin-bottom:16px;color:inherit;border-left:.25em solid var(--color-border-default)}.markdown-body .markdown-alert>:first-child{margin-top:0}.markdown-body .markdown-alert>:last-child{margin-bottom:0}.markdown-body .markdown-alert.markdown-alert-note{border-left-color:var(--color-accent-fg)}.markdown-body .markdown-alert.markdown-alert-important{border-left-color:var(--color-done-fg)}.markdown-body .markdown-alert.markdown-alert-warning{border-left-color:var(--color-attention-fg)}*,:before,:after{box-sizing:border-box;background-repeat:no-repeat}:before,:after{text-decoration:inherit;vertical-align:inherit}:where(:root){cursor:default;line-height:1.5;overflow-wrap:break-word;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}:where(body){margin:0}:where(h1){font-size:2em;margin:.67em 0}:where(dl,ol,ul) :where(dl,ol,ul){margin:0}:where(hr){color:inherit;height:0}:where(nav) :where(ol,ul){list-style-type:none;padding:0}:where(nav li):before{content:"​";float:left}:where(pre){font-family:monospace,monospace;font-size:1em;overflow:auto}:where(abbr[title]){text-decoration:underline;text-decoration:underline dotted}:where(b,strong){font-weight:bolder}:where(code,kbd,samp){font-family:monospace,monospace;font-size:1em}:where(small){font-size:80%}:where(audio,canvas,iframe,img,svg,video){vertical-align:baseline}:where(iframe){border-style:none}:where(svg:not([fill])){fill:currentColor}:where(table){border-collapse:collapse;border-color:inherit;text-indent:0}:where(button,input,select){margin:0}:where(button,[type=button i],[type=reset i],[type=submit i]){-webkit-appearance:button}:where(fieldset){border:1px solid #a0a0a0}:where(progress){vertical-align:baseline}:where(textarea){margin:0;resize:vertical}:where([type=search i]){-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:where(dialog){background-color:#fff;border:solid;color:#000;height:-moz-fit-content;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:-moz-fit-content;width:fit-content}:where(dialog:not([open])){display:none}:where(details>summary:first-of-type){display:list-item}:where([aria-busy=true i]){cursor:progress}:where([aria-controls]){cursor:pointer}:where([aria-disabled=true i],[disabled]){cursor:not-allowed}:where([aria-hidden=false i][hidden]){display:initial}:where([aria-hidden=false i][hidden]:not(:focus)){clip:rect(0,0,0,0);position:absolute}html{font-size:4px}html,body{width:100%;height:100%;overflow:hidden;background-color:#f2f2f2;font-family:Encode Sans Condensed,sans-serif}html.dark body{background-color:#292b2b}::-webkit-scrollbar{width:8px;background-color:#eee}::-webkit-scrollbar-thumb{background-color:#c1c1c1}::-webkit-scrollbar-thumb:hover{background-color:#a8a8a8}html,body{width:100%;height:100%;overflow:hidden;font-size:16px}#app{width:100%;height:100%}.fade-slide-leave-active,.fade-slide-enter-active{transition:all .3s}.fade-slide-enter-from{opacity:0;transform:translate(-30px)}.fade-slide-leave-to{opacity:0;transform:translate(30px)}.cus-scroll{overflow:auto}.cus-scroll::-webkit-scrollbar{width:8px;height:8px}.cus-scroll-x{overflow-x:auto}.cus-scroll-x::-webkit-scrollbar{width:0;height:8px}.cus-scroll-y{overflow-y:auto}.cus-scroll-y::-webkit-scrollbar{width:8px;height:0}.cus-scroll::-webkit-scrollbar-thumb,.cus-scroll-x::-webkit-scrollbar-thumb,.cus-scroll-y::-webkit-scrollbar-thumb{background-color:transparent;border-radius:4px}.cus-scroll:hover::-webkit-scrollbar-thumb,.cus-scroll-x:hover::-webkit-scrollbar-thumb,.cus-scroll-y:hover::-webkit-scrollbar-thumb{background:#bfbfbf}.cus-scroll:hover::-webkit-scrollbar-thumb:hover,.cus-scroll-x:hover::-webkit-scrollbar-thumb:hover,.cus-scroll-y:hover::-webkit-scrollbar-thumb:hover{background:var(--primary-color)}#--unocss--{layer:__ALL__}#app{height:100%}#app .n-config-provider{height:inherit}.side-menu:not(.n-menu--collapsed) .n-menu-item-content:before{left:5px;right:5px}.side-menu:not(.n-menu--collapsed) .n-menu-item-content.n-menu-item-content--selected:before,.side-menu:not(.n-menu--collapsed) .n-menu-item-content:hover:before{border-left:4px solid var(--primary-color)}.carousel-img[data-v-ba794286]{width:100%;height:240px;object-fit:cover}.pay-qrcode{width:100%;height:100%}.pay-qrcode>canvas{width:100%!important;height:100%!important}.card-container[data-v-79fa0f66]{display:grid;justify-content:space-between;grid-template-columns:repeat(auto-fit,minmax(calc(100% - 1rem),1fr));row-gap:20px;min-width:100%}.card-item[data-v-79fa0f66]{max-width:100%}@media screen and (min-width: 768px){.card-container[data-v-79fa0f66]{grid-template-columns:repeat(auto-fit,minmax(calc(50% - 1rem),1fr));column-gap:20px;min-width:375px}}@media screen and (min-width: 1200px){.card-container[data-v-79fa0f66]{grid-template-columns:repeat(auto-fit,minmax(calc(33.33% - 1rem),1fr));padding:0 10px;column-gap:20px;min-width:375px}}#--unocss-layer-start--__ALL__--{start:__ALL__}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.wh-full,[wh-full=""]{width:100%;height:100%}.f-c-c,[f-c-c=""]{display:flex;align-items:center;justify-content:center}.flex-col,[flex-col=""]{display:flex;flex-direction:column}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.right-0{right:0}.right-15{right:15px}[bottom~="20"]{bottom:20px}.z-99999{z-index:99999}.grid{display:grid}.m-0{margin:0}.m-0\\!{margin:0!important}.m-1{margin:1px}.m-3{margin:3px}.m-auto,[m-auto=""]{margin:auto}.mx-10{margin-left:10px;margin-right:10px}.m-b-5,.mb-5{margin-bottom:5px}.m-l-10,.ml-10,[ml-10=""]{margin-left:10px}.m-l-20{margin-left:20px}.m-l-3{margin-left:3px}.m-t-10,.mt-10{margin-top:10px}.m-t-15,.mt-15,[mt-15=""]{margin-top:15px}.m-t-20,.mt-20,[mt-20=""]{margin-top:20px}.m-t-5,.mt-5{margin-top:5px}.mb-10{margin-bottom:10px}.mb-16{margin-bottom:16px}.mb-1em{margin-bottom:1em}.mb-20{margin-bottom:20px}.mb-3{margin-bottom:3px}.mb-4{margin-bottom:4px}.mb-8{margin-bottom:8px}.ml-auto,[ml-auto=""]{margin-left:auto}.mr-0{margin-right:0}.mr-20,.mr20,[mr-20=""],[mr20=""]{margin-right:20px}.mr-5{margin-right:5px}.mr-auto{margin-right:auto}.mr10,[mr10=""]{margin-right:10px}.mt-0{margin-top:0}.mt-30{margin-top:30px}.mt-4{margin-top:4px}.mt-8{margin-top:8px}.inline-block{display:inline-block}.hidden{display:none}.h-20{height:20px}.h-30{height:30px}.h-35,[h-35=""]{height:35px}.h-36{height:36px}.h-6{height:6px}.h-60,[h-60=""]{height:60px}.h-auto{height:auto}.h-full,[h-full=""]{height:100%}.h-full\\!{height:100%!important}.h1{height:1px}.h2{height:2px}.h5{height:5px}.max-h-30{max-height:30px}.max-w-100\\%,.max-w-full{max-width:100%}.max-w-1200{max-width:1200px}.max-w-140,[max-w-140=""]{max-width:140px}.max-w-450{max-width:450px}.max-w-500{max-width:500px}.min-w-0{min-width:0}.min-w-300{min-width:300px}.w-100\\%,.w-full{width:100%}.w-20{width:20px}.w-30{width:30px}.w-300{width:300px}.w-35,[w-35=""]{width:35px}.w-375{width:375px}.w-6{width:6px}.w-600{width:600px}.w-64{width:64px}.w-auto{width:auto}.w-full\\!{width:100%!important}.flex,[flex=""]{display:flex}.flex-\\[1\\]{flex:1}.flex-\\[2\\]{flex:2}.flex-1,[flex-1=""]{flex:1 1 0%}.flex-shrink-0,[flex-shrink-0=""]{flex-shrink:0}.flex-wrap{flex-wrap:wrap}[transform-origin~=center]{transform-origin:center}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.resize{resize:both}.items-center,[items-center=""]{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.overflow-hidden,[overflow-hidden=""]{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.break-anywhere{overflow-wrap:anywhere}.b{border-width:1px}.border-0,.dark [dark~=border-0]{border-width:0px}.border-2{border-width:2px}.border-\\[\\#646669\\],.border-\\#646669{--un-border-opacity:1;border-color:rgb(100 102 105 / var(--un-border-opacity))}.border-\\#0665d0{--un-border-opacity:1;border-color:rgb(6 101 208 / var(--un-border-opacity))}.border-transparent{border-color:transparent}.border-rounded-5,.rounded-5,[border-rounded-5=""]{border-radius:5px}.rounded-full,[rounded-full=""]{border-radius:9999px}.border-none{border-style:none}.border-solid{border-style:solid}.border-b-solid{border-bottom-style:solid}.bg-\\[--n-color-embedded\\]{background-color:var(--n-color-embedded)}.bg-\\[--n-color\\]{background-color:var(--n-color)}.bg-\\[\\#f5f6fb\\],.bg-hex-f5f6fb,[bg-hex-f5f6fb=""]{--un-bg-opacity:1;background-color:rgb(245 246 251 / var(--un-bg-opacity))}.bg-\\#2f3135{--un-bg-opacity:1;background-color:rgb(47 49 53 / var(--un-bg-opacity))}.bg-\\#e04f1a{--un-bg-opacity:1;background-color:rgb(224 79 26 / var(--un-bg-opacity))}.bg-\\#f8f9fa{--un-bg-opacity:1;background-color:rgb(248 249 250 / var(--un-bg-opacity))}.bg-blue-500{--un-bg-opacity:1;background-color:rgb(59 130 246 / var(--un-bg-opacity))}.bg-dark,.dark [dark~=bg-dark]{--un-bg-opacity:1;background-color:rgb(24 24 28 / var(--un-bg-opacity))}.bg-green-500{--un-bg-opacity:1;background-color:rgb(34 197 94 / var(--un-bg-opacity))}.bg-red-500{--un-bg-opacity:1;background-color:rgb(239 68 68 / var(--un-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.dark .dark\\:bg-hex-101014,.dark [dark\\:bg-hex-101014=""]{--un-bg-opacity:1;background-color:rgb(16 16 20 / var(--un-bg-opacity))}.dark .dark\\:bg-hex-101014\\>{background-color:#101014>}.dark .dark\\:bg-hex-121212{--un-bg-opacity:1;background-color:rgb(18 18 18 / var(--un-bg-opacity))}.hover\\:bg-\\#f6f6f6:hover{--un-bg-opacity:1;background-color:rgb(246 246 246 / var(--un-bg-opacity))}.p-0{padding:0}.p-0\\!{padding:0!important}.p-10{padding:10px}.p-19{padding:19px}.p-2{padding:2px}.p-20{padding:20px}.p-24{padding:24px}.p-5{padding:5px}.p-x-24{padding-left:24px;padding-right:24px}.p-y-16{padding-top:16px;padding-bottom:16px}.px{padding-left:4px;padding-right:4px}.px-15{padding-left:15px;padding-right:15px}.p-b-5{padding-bottom:5px}.p-l-5{padding-left:5px}.p-t-20,.pt-20{padding-top:20px}.p-t-5{padding-top:5px}.pb-10{padding-bottom:10px}.pb-16{padding-bottom:16px}.pb-8{padding-bottom:8px}.pl-16{padding-left:16px}.pl-20{padding-left:20px}.pr-16{padding-right:16px}.pr-20{padding-right:20px}.pt-10{padding-top:10px}.pt-16{padding-top:16px}.pt-8{padding-top:8px}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.indent{text-indent:6px}[indent~="0"]{text-indent:0}.root-indent:root{text-indent:6px}[root-indent~="18"]:root{text-indent:18px}.vertical-bottom{vertical-align:bottom}.text-12{font-size:12px}.text-14,[text-14=""]{font-size:14px}.text-16,[text-16=""]{font-size:16px}.text-18{font-size:18px}.text-20{font-size:20px}.text-22{font-size:22px}.text-30{font-size:30px}.text-36{font-size:36px}.text-40{font-size:40px}.text-50{font-size:50px}.text-90{font-size:90px}.font-400,.font-normal{font-weight:400}.font-600{font-weight:600}.font-bold,[font-bold=""]{font-weight:700}.color-\\[hsla\\(0\\,0\\%\\,100\\%\\,\\.75\\)\\]{--un-text-opacity:.75;color:hsla(0,0%,100%,var(--un-text-opacity))}.color-\\#48bc19{--un-text-opacity:1;color:rgb(72 188 25 / var(--un-text-opacity))}.color-\\#f8f9fa{--un-text-opacity:1;color:rgb(248 249 250 / var(--un-text-opacity))}.color-\\#f8f9fa41{--un-text-opacity:.25;color:rgb(248 249 250 / var(--un-text-opacity))}.color-\\#f9a314{--un-text-opacity:1;color:rgb(249 163 20 / var(--un-text-opacity))}.color-gray,.text-gray{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity))}.color-gray-500{--un-text-opacity:1;color:rgb(107 114 128 / var(--un-text-opacity))}.color-primary,.text-\\[--primary-color\\],[color-primary=""]{color:var(--primary-color)}.color-white,.text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}[color~="#343a40"]{--un-text-opacity:1;color:rgb(52 58 64 / var(--un-text-opacity))}[color~="#6a6a6a"]{--un-text-opacity:1;color:rgb(106 106 106 / var(--un-text-opacity))}.text-\\#6c757d,[color~="#6c757d"]{--un-text-opacity:1;color:rgb(108 117 125 / var(--un-text-opacity))}[color~="#db4619"]{--un-text-opacity:1;color:rgb(219 70 25 / var(--un-text-opacity))}[hover~=color-primary]:hover{color:var(--primary-color)}.text-\\[rgba\\(0\\,0\\,0\\,0\\.45\\)\\]{--un-text-opacity:.45;color:rgba(0,0,0,var(--un-text-opacity))}.text-\\#49505799{--un-text-opacity:.6;color:rgb(73 80 87 / var(--un-text-opacity))}.text-\\#595959{--un-text-opacity:1;color:rgb(89 89 89 / var(--un-text-opacity))}.text-\\#666{--un-text-opacity:1;color:rgb(102 102 102 / var(--un-text-opacity))}.text-red-500{--un-text-opacity:1;color:rgb(239 68 68 / var(--un-text-opacity))}.decoration-underline,[hover~=decoration-underline]:hover{text-decoration-line:underline}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.opacity-30{opacity:.3}.opacity-85{opacity:.85}.hover\\:opacity-75:hover{opacity:.75}.shadow-black{--un-shadow-opacity:1;--un-shadow-color:rgb(0 0 0 / var(--un-shadow-opacity))}.outline-none{outline:2px solid transparent;outline-offset:2px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[duration~="500"]{transition-duration:.5s}[content~="$t("]{content:var(--t\\()}[placeholder~="$t("]::placeholder{color:var(--t\\()}@media (min-width: 640px){.sm\\:max-w-full{max-width:100%}}@media (min-width: 768px){.md\\:mx-auto{margin-left:auto;margin-right:auto}.md\\:m-l20{margin-left:20px}.md\\:m-t-20,.md\\:mt-20{margin-top:20px}.md\\:m-t-40{margin-top:40px}.md\\:mb-40{margin-bottom:40px}.md\\:mr10{margin-right:10px}.md\\:mt-0{margin-top:0}.md\\:block{display:block}.md\\:hidden{display:none}.md\\:h-30{height:30px}.md\\:max-w-1\\/3{max-width:33.3333333333%}.md\\:max-w-2\\/3{max-width:66.6666666667%}.md\\:w-30{width:30px}.md\\:flex-\\[1\\]{flex:1}.md\\:flex-\\[2\\]{flex:2}.md\\:p-15{padding:15px}.md\\:pl-20{padding-left:20px}}#--unocss-layer-end--__ALL__--{end:__ALL__}`)),document.head.appendChild(o)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})(); -var Uk=Object.defineProperty;var qk=(e,t,n)=>t in e?Uk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Kk=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var id=(e,t,n)=>(qk(e,typeof t!="symbol"?t+"":t,n),n);var mBe=Kk((Gn,Yn)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();/** -* @vue/shared v3.4.23 +(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(`@charset "UTF-8";.xboard-nav-mask{position:fixed;top:0;bottom:0;right:0;left:0;background:#000;z-index:999;opacity:.5;display:none}.xboard-plan-features{padding:0;list-style:none;font-size:16px;flex:1 0 auto}.xboard-plan-features>li{padding:6px 0;color:#7c8088;text-align:left}.xboard-plan-features>li>b{color:#2a2e36;font-weight:500}.xboard-plan-content{padding-top:20px;padding-left:20px}.xboard-plan-features>li:before{font-family:Font Awesome\\ 5 Free;content:"";padding-right:10px;color:#425b94;font-weight:900}.xboard-email-whitelist-enable{display:flex}.xboard-email-whitelist-enable input{flex:2 1;border-top-right-radius:0;border-bottom-right-radius:0}.xboard-email-whitelist-enable select{flex:1 1;border-top-left-radius:0;border-bottom-left-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-position:right 50%;background-repeat:no-repeat;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12'%3E%3Cpath d='M3.862 7.931L0 4.069h7.725z'/%3E%3C/svg%3E");padding-right:1.5em}.block.block-mode-loading:before{background:hsla(0,0%,100%,.7)}#server .ant-drawer-content-wrapper{max-width:500px}.xboard-trade-no{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.xboard-lang-item{padding:10px 20px}.xboard-lang-item:hover{background:#eee}.xboard-auth-lang-btn{position:absolute;right:0;top:0}.xboard-no-access{color:#855c0d;background-color:#ffefd1;position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:0 solid transparent;border-radius:.25rem}.xboard-notice-background{height:100%;position:absolute;top:0;right:0;left:0;bottom:0;z-index:80;opacity:.1}.xboard-auth-box{position:fixed;right:0;left:0;top:0;bottom:0;display:flex;align-items:center;overflow-y:auto}.content-header{height:3.25rem}#page-container.page-header-fixed #main-container{padding-top:3.25rem}.xboard-copyright{position:absolute;bottom:10px;right:0;left:15px;font-size:10px;opacity:.2}.ant-table-thead>tr>th{background:#fff!important}.xboard-container-title{flex:1 1;color:#fff}.xboard-order-info>div{display:flex;font-size:14px;margin-bottom:5px}.xboard-order-info>div>span:first-child{flex:1 1;opacity:.5}.xboard-order-info>div>span:last-child{flex:2 1;font-family:menlo}.xboard-bg-pixels{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjIwMCIgd2lkdGg9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwIDgpIj48Y2lyY2xlIGN4PSIxNzYiIGN5PSIxMiIgcj0iNCIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMjAuNS41bDIzIDExbS0yOSA4NGwtMy43OSAxMC4zNzdNMjcuMDM3IDEzMS40bDUuODk4IDIuMjAzLTMuNDYgNS45NDcgNi4wNzIgMi4zOTItMy45MzMgNS43NThtMTI4LjczMyAzNS4zN2wuNjkzLTkuMzE2IDEwLjI5Mi4wNTIuNDE2LTkuMjIyIDkuMjc0LjMzMk0uNSA0OC41czYuMTMxIDYuNDEzIDYuODQ3IDE0LjgwNWMuNzE1IDguMzkzLTIuNTIgMTQuODA2LTIuNTIgMTQuODA2TTEyNC41NTUgOTBzLTcuNDQ0IDAtMTMuNjcgNi4xOTJjLTYuMjI3IDYuMTkyLTQuODM4IDEyLjAxMi00LjgzOCAxMi4wMTJtMi4yNCA2OC42MjZzLTQuMDI2LTkuMDI1LTE4LjE0NS05LjAyNS0xOC4xNDUgNS43LTE4LjE0NSA1LjciIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNODUuNzE2IDM2LjE0Nmw1LjI0My05LjUyMWgxMS4wOTNsNS40MTYgOS41MjEtNS40MSA5LjE4NUg5MC45NTN6bTYzLjkwOSAxNS40NzloMTAuNzV2MTAuNzVoLTEwLjc1eiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48ZyBmaWxsPSIjZGRkIj48Y2lyY2xlIGN4PSI3MS41IiBjeT0iNy41IiByPSIxLjUiLz48Y2lyY2xlIGN4PSIxNzAuNSIgY3k9Ijk1LjUiIHI9IjEuNSIvPjxjaXJjbGUgY3g9IjgxLjUiIGN5PSIxMzQuNSIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iMTMuNSIgY3k9IjIzLjUiIHI9IjEuNSIvPjxwYXRoIGQ9Ik05MyA3MWgzdjNoLTN6bTMzIDg0aDN2M2gtM3ptLTg1IDE4aDN2M2gtM3oiLz48L2c+PHBhdGggZD0iTTM5LjM4NCA1MS4xMjJsNS43NTgtNC40NTQgNi40NTMgNC4yMDUtMi4yOTQgNy4zNjNoLTcuNzl6TTEzMC4xOTUgNC4wM2wxMy44MyA1LjA2Mi0xMC4wOSA3LjA0OHptLTgzIDk1bDE0LjgzIDUuNDI5LTEwLjgyIDcuNTU3LTQuMDEtMTIuOTg3ek01LjIxMyAxNjEuNDk1bDExLjMyOCAyMC44OTdMMi4yNjUgMTgweiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMTQ5LjA1IDEyNy40NjhzLS41MSAyLjE4My45OTUgMy4zNjZjMS41NiAxLjIyNiA4LjY0Mi0xLjg5NSAzLjk2Ny03Ljc4NS0yLjM2Ny0yLjQ3Ny02LjUtMy4yMjYtOS4zMyAwLTUuMjA4IDUuOTM2IDAgMTcuNTEgMTEuNjEgMTMuNzMgMTIuNDU4LTYuMjU3IDUuNjMzLTIxLjY1Ni01LjA3My0yMi42NTQtNi42MDItLjYwNi0xNC4wNDMgMS43NTYtMTYuMTU3IDEwLjI2OC0xLjcxOCA2LjkyIDEuNTg0IDE3LjM4NyAxMi40NSAyMC40NzYgMTAuODY2IDMuMDkgMTkuMzMxLTQuMzEgMTkuMzMxLTQuMzEiIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48L2c+PC9zdmc+);background-size:auto}#page-container{min-height:100%}#page-container .content,#main-container{background-color:#f0f3f8!important}a:not([href]):hover{color:unset}.xboard-login-i18n-btn{cursor:pointer;margin-top:2.5;float:right}.custom-control-label:after{left:-1.25rem}.xboard-shortcuts-item{cursor:pointer;padding:20px;border-bottom:1px solid #eee;position:relative}.xboard-shortcuts-item>.description{font-size:12px;opacity:.5}.xboard-shortcuts-item i{position:absolute;top:25px;font-size:30px;right:20px;opacity:.5}.xboard-shortcuts-item:hover{background:#f6f6f6}.btn{border:0}.xboard-plan-tabs{border:1px solid #000;padding:8px 4px;border-radius:100px}.xboard-plan-tabs>span{cursor:pointer;padding:5px 12px}.xboard-plan-tabs>.active{background:#000;border-radius:100px;color:#fff}.xboard-sold-out-tag{background-color:#c12c1f;border-radius:100px;padding:2px 8px;font-size:13px;color:#fff}.xboard-payment-qrcode path[fill="#FFFFFF"]{--darkreader-inline-fill: #fff!important}.alert-success{color:#445e27;background-color:#e6f0db;border-color:#dceacd}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:0 solid transparent;border-radius:.25rem}.custom-html-style{color:#333}.custom-html-style h1{font-size:32px;padding:0;border:none;font-weight:700;margin:32px 0;line-height:1.2}.custom-html-style h2{font-size:24px;padding:0;border:none;font-weight:700;margin:24px 0;line-height:1.7}.custom-html-style h3{font-size:18px;margin:18px 0;padding:0;line-height:1.7;border:none}.custom-html-style p{font-size:14px;line-height:1.7;margin:8px 0}.custom-html-style a{color:#0052d9}.custom-html-style a:hover{text-decoration:none}.custom-html-style strong{font-weight:700}.custom-html-style ol,.custom-html-style ul{font-size:14px;line-height:28px;padding-left:36px}.custom-html-style li{margin-bottom:8px;line-height:1.7}.custom-html-style hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.custom-html-style pre{display:block;padding:20px;line-height:28px;word-break:break-word}.custom-html-style code,.custom-html-style pre{background-color:#f5f5f5;font-size:14px;border-radius:0;overflow-x:auto}.custom-html-style code{padding:3px 0;margin:0;word-break:normal}.custom-html-style code:after,.custom-html-style code:before{letter-spacing:0}.custom-html-style blockquote{position:relative;margin:16px 0;padding:5px 8px 5px 30px;background:none repeat scroll 0 0 rgba(102,128,153,.05);color:#333;border:none;border-left:10px solid #d6dbdf}.custom-html-style img,.custom-html-style video{max-width:100%}.custom-html-style table{font-size:14px;line-height:1.7;max-width:100%;overflow:auto;border:1px solid #f6f6f6;border-collapse:collapse;border-spacing:0;box-sizing:border-box}.custom-html-style table td,.custom-html-style table th{word-break:break-all;word-wrap:break-word;white-space:normal}.custom-html-style table tr{border:1px solid #efefef}.custom-html-style table tr:nth-child(2n){background-color:transparent}.custom-html-style table th{text-align:center;font-weight:700;border:1px solid #efefef;padding:10px 6px;background-color:#f5f7fa;word-break:break-word}.custom-html-style table td{border:1px solid #efefef;text-align:left;padding:10px 15px;word-break:break-word;min-width:60px}code{font-size:87.5%;color:#e83e8c;word-wrap:break-word}.btn{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.btn.btn-square{border-radius:0}.btn.btn-rounded{border-radius:2rem}.btn .fa,.btn .si{position:relative;top:1px}.btn-group-sm>.btn .fa,.btn.btn-sm .fa{top:0}.btn-alt-primary{color:#054d9e;background-color:#cde4fe;border-color:#cde4fe}.btn-alt-primary:hover{color:#054d9e;background-color:#a8d0fc;border-color:#a8d0fc}.btn-alt-primary.focus,.btn-alt-primary:focus{color:#054d9e;background-color:#a8d0fc;border-color:#a8d0fc;box-shadow:0 0 0 .2rem #92c4fc40}.btn-alt-primary.disabled,.btn-alt-primary:disabled{color:#212529;background-color:#cde4fe;border-color:#cde4fe}.btn-alt-primary:not(:disabled):not(.disabled).active,.btn-alt-primary:not(:disabled):not(.disabled):active,.show>.btn-alt-primary.dropdown-toggle{color:#022954;background-color:#92c4fc;border-color:#92c4fc}.btn-alt-primary:not(:disabled):not(.disabled).active:focus,.btn-alt-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #92c4fc40}.btn-alt-secondary{color:#495057;background-color:#f0f3f8;border-color:#f0f3f8}.btn-alt-secondary:hover{color:#495057;background-color:#d6deec;border-color:#d6deec}.btn-alt-secondary.focus,.btn-alt-secondary:focus{color:#495057;background-color:#d6deec;border-color:#d6deec;box-shadow:0 0 0 .2rem #c6d1e540}.btn-alt-secondary.disabled,.btn-alt-secondary:disabled{color:#212529;background-color:#f0f3f8;border-color:#f0f3f8}.btn-alt-secondary:not(:disabled):not(.disabled).active,.btn-alt-secondary:not(:disabled):not(.disabled):active,.show>.btn-alt-secondary.dropdown-toggle{color:#262a2d;background-color:#c6d1e5;border-color:#c6d1e5}.btn-alt-secondary:not(:disabled):not(.disabled).active:focus,.btn-alt-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #c6d1e540}.btn-alt-success{color:#415b25;background-color:#d7e8c6;border-color:#d7e8c6}.btn-alt-success:hover{color:#415b25;background-color:#c5dcab;border-color:#c5dcab}.btn-alt-success.focus,.btn-alt-success:focus{color:#415b25;background-color:#c5dcab;border-color:#c5dcab;box-shadow:0 0 0 .2rem #b9d69b40}.btn-alt-success.disabled,.btn-alt-success:disabled{color:#212529;background-color:#d7e8c6;border-color:#d7e8c6}.btn-alt-success:not(:disabled):not(.disabled).active,.btn-alt-success:not(:disabled):not(.disabled):active,.show>.btn-alt-success.dropdown-toggle{color:#1a250f;background-color:#b9d69b;border-color:#b9d69b}.btn-alt-success:not(:disabled):not(.disabled).active:focus,.btn-alt-success:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #b9d69b40}.btn-alt-info{color:#164f86;background-color:#d1e5f7;border-color:#d1e5f7}.btn-alt-info:hover{color:#164f86;background-color:#b0d2f2;border-color:#b0d2f2}.btn-alt-info.focus,.btn-alt-info:focus{color:#164f86;background-color:#b0d2f2;border-color:#b0d2f2;box-shadow:0 0 0 .2rem #9cc7ef40}.btn-alt-info.disabled,.btn-alt-info:disabled{color:#212529;background-color:#d1e5f7;border-color:#d1e5f7}.btn-alt-info:not(:disabled):not(.disabled).active,.btn-alt-info:not(:disabled):not(.disabled):active,.show>.btn-alt-info.dropdown-toggle{color:#0b2844;background-color:#9cc7ef;border-color:#9cc7ef}.btn-alt-info:not(:disabled):not(.disabled).active:focus,.btn-alt-info:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #9cc7ef40}.btn-alt-warning{color:#996500;background-color:#ffecc6;border-color:#ffecc6}.btn-alt-warning:hover{color:#996500;background-color:#ffdfa0;border-color:#ffdfa0}.btn-alt-warning.focus,.btn-alt-warning:focus{color:#996500;background-color:#ffdfa0;border-color:#ffdfa0;box-shadow:0 0 0 .2rem #ffd78940}.btn-alt-warning.disabled,.btn-alt-warning:disabled{color:#212529;background-color:#ffecc6;border-color:#ffecc6}.btn-alt-warning:not(:disabled):not(.disabled).active,.btn-alt-warning:not(:disabled):not(.disabled):active,.show>.btn-alt-warning.dropdown-toggle{color:#4c3200;background-color:#ffd789;border-color:#ffd789}.btn-alt-warning:not(:disabled):not(.disabled).active:focus,.btn-alt-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #ffd78940}.btn-alt-danger{color:#6e270d;background-color:#f6c4b1;border-color:#f6c4b1}.btn-alt-danger:hover{color:#6e270d;background-color:#f2aa8f;border-color:#f2aa8f}.btn-alt-danger.focus,.btn-alt-danger:focus{color:#6e270d;background-color:#f2aa8f;border-color:#f2aa8f;box-shadow:0 0 0 .2rem #f09a7b40}.btn-alt-danger.disabled,.btn-alt-danger:disabled{color:#212529;background-color:#f6c4b1;border-color:#f6c4b1}.btn-alt-danger:not(:disabled):not(.disabled).active,.btn-alt-danger:not(:disabled):not(.disabled):active,.show>.btn-alt-danger.dropdown-toggle{color:#290f05;background-color:#f09a7b;border-color:#f09a7b}.btn-alt-danger:not(:disabled):not(.disabled).active:focus,.btn-alt-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #f09a7b40}.btn-alt-dark{color:#343a40;background-color:#ced3d8;border-color:#ced3d8}.btn-alt-dark:hover{color:#343a40;background-color:#b9c0c6;border-color:#b9c0c6}.btn-alt-dark.focus,.btn-alt-dark:focus{color:#343a40;background-color:#b9c0c6;border-color:#b9c0c6;box-shadow:0 0 0 .2rem #adb4bc40}.btn-alt-dark.disabled,.btn-alt-dark:disabled{color:#212529;background-color:#ced3d8;border-color:#ced3d8}.btn-alt-dark:not(:disabled):not(.disabled).active,.btn-alt-dark:not(:disabled):not(.disabled):active,.show>.btn-alt-dark.dropdown-toggle{color:#121416;background-color:#adb4bc;border-color:#adb4bc}.btn-alt-dark:not(:disabled):not(.disabled).active:focus,.btn-alt-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #adb4bc40}.btn-alt-light{color:#343a40;background-color:#f8f9fa;border-color:#f8f9fa}.btn-alt-light:hover{color:#343a40;background-color:#e2e6ea;border-color:#e2e6ea}.btn-alt-light.focus,.btn-alt-light:focus{color:#343a40;background-color:#e2e6ea;border-color:#e2e6ea;box-shadow:0 0 0 .2rem #d4dae140}.btn-alt-light.disabled,.btn-alt-light:disabled{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-alt-light:not(:disabled):not(.disabled).active,.btn-alt-light:not(:disabled):not(.disabled):active,.show>.btn-alt-light.dropdown-toggle{color:#121416;background-color:#d4dae1;border-color:#d4dae1}.btn-alt-light:not(:disabled):not(.disabled).active:focus,.btn-alt-light:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #d4dae140}.btn-hero-primary{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#0665d0;border:none;box-shadow:0 .125rem .75rem #04418640;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-primary:hover{color:#fff;background-color:#117ef8;box-shadow:0 .375rem .75rem #04418666;transform:translateY(-1px)}.btn-hero-primary.focus,.btn-hero-primary:focus{color:#fff;background-color:#117ef8;box-shadow:0 .125rem .75rem #04418640}.btn-hero-primary.disabled,.btn-hero-primary:disabled{color:#fff;background-color:#0665d0;box-shadow:0 .125rem .75rem #04418640;transform:translateY(0)}.btn-hero-primary:not(:disabled):not(.disabled).active,.btn-hero-primary:not(:disabled):not(.disabled):active,.show>.btn-hero-primary.dropdown-toggle{color:#fff;background-color:#044186;box-shadow:0 .125rem .75rem #04418640;transform:translateY(0)}.btn-hero-primary:not(:disabled):not(.disabled).active:focus,.btn-hero-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-primary.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #04418640}.btn-hero-secondary{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#6c757d;border:none;box-shadow:0 .125rem .75rem #494f5440;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-secondary:hover{color:#fff;background-color:#868e96;box-shadow:0 .375rem .75rem #494f5466;transform:translateY(-1px)}.btn-hero-secondary.focus,.btn-hero-secondary:focus{color:#fff;background-color:#868e96;box-shadow:0 .125rem .75rem #494f5440}.btn-hero-secondary.disabled,.btn-hero-secondary:disabled{color:#fff;background-color:#6c757d;box-shadow:0 .125rem .75rem #494f5440;transform:translateY(0)}.btn-hero-secondary:not(:disabled):not(.disabled).active,.btn-hero-secondary:not(:disabled):not(.disabled):active,.show>.btn-hero-secondary.dropdown-toggle{color:#fff;background-color:#494f54;box-shadow:0 .125rem .75rem #494f5440;transform:translateY(0)}.btn-hero-secondary:not(:disabled):not(.disabled).active:focus,.btn-hero-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-secondary.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #494f5440}.btn-hero-success{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#82b54b;border:none;box-shadow:0 .125rem .75rem #5b7f3440;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-success:hover{color:#fff;background-color:#9bc46f;box-shadow:0 .375rem .75rem #5b7f3466;transform:translateY(-1px)}.btn-hero-success.focus,.btn-hero-success:focus{color:#fff;background-color:#9bc46f;box-shadow:0 .125rem .75rem #5b7f3440}.btn-hero-success.disabled,.btn-hero-success:disabled{color:#fff;background-color:#82b54b;box-shadow:0 .125rem .75rem #5b7f3440;transform:translateY(0)}.btn-hero-success:not(:disabled):not(.disabled).active,.btn-hero-success:not(:disabled):not(.disabled):active,.show>.btn-hero-success.dropdown-toggle{color:#fff;background-color:#5b7f34;box-shadow:0 .125rem .75rem #5b7f3440;transform:translateY(0)}.btn-hero-success:not(:disabled):not(.disabled).active:focus,.btn-hero-success:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-success.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #5b7f3440}.btn-hero-info{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#3c90df;border:none;box-shadow:0 .125rem .75rem #1d6ab140;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-info:hover{color:#fff;background-color:#68a9e6;box-shadow:0 .375rem .75rem #1d6ab166;transform:translateY(-1px)}.btn-hero-info.focus,.btn-hero-info:focus{color:#fff;background-color:#68a9e6;box-shadow:0 .125rem .75rem #1d6ab140}.btn-hero-info.disabled,.btn-hero-info:disabled{color:#fff;background-color:#3c90df;box-shadow:0 .125rem .75rem #1d6ab140;transform:translateY(0)}.btn-hero-info:not(:disabled):not(.disabled).active,.btn-hero-info:not(:disabled):not(.disabled):active,.show>.btn-hero-info.dropdown-toggle{color:#fff;background-color:#1d6ab1;box-shadow:0 .125rem .75rem #1d6ab140;transform:translateY(0)}.btn-hero-info:not(:disabled):not(.disabled).active:focus,.btn-hero-info:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-info.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #1d6ab140}.btn-hero-warning{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#ffb119;border:none;box-shadow:0 .125rem .75rem #cc860040;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-warning:hover{color:#fff;background-color:#ffc24c;box-shadow:0 .375rem .75rem #cc860066;transform:translateY(-1px)}.btn-hero-warning.focus,.btn-hero-warning:focus{color:#fff;background-color:#ffc24c;box-shadow:0 .125rem .75rem #cc860040}.btn-hero-warning.disabled,.btn-hero-warning:disabled{color:#fff;background-color:#ffb119;box-shadow:0 .125rem .75rem #cc860040;transform:translateY(0)}.btn-hero-warning:not(:disabled):not(.disabled).active,.btn-hero-warning:not(:disabled):not(.disabled):active,.show>.btn-hero-warning.dropdown-toggle{color:#fff;background-color:#cc8600;box-shadow:0 .125rem .75rem #cc860040;transform:translateY(0)}.btn-hero-warning:not(:disabled):not(.disabled).active:focus,.btn-hero-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-warning.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #cc860040}.btn-hero-danger{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#e04f1a;border:none;box-shadow:0 .125rem .75rem #9b371240;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-danger:hover{color:#fff;background-color:#e97044;box-shadow:0 .375rem .75rem #9b371266;transform:translateY(-1px)}.btn-hero-danger.focus,.btn-hero-danger:focus{color:#fff;background-color:#e97044;box-shadow:0 .125rem .75rem #9b371240}.btn-hero-danger.disabled,.btn-hero-danger:disabled{color:#fff;background-color:#e04f1a;box-shadow:0 .125rem .75rem #9b371240;transform:translateY(0)}.btn-hero-danger:not(:disabled):not(.disabled).active,.btn-hero-danger:not(:disabled):not(.disabled):active,.show>.btn-hero-danger.dropdown-toggle{color:#fff;background-color:#9b3712;box-shadow:0 .125rem .75rem #9b371240;transform:translateY(0)}.btn-hero-danger:not(:disabled):not(.disabled).active:focus,.btn-hero-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-danger.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #9b371240}.btn-hero-dark{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#343a40;border:none;box-shadow:0 .125rem .75rem #12141640;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-dark:hover{color:#fff;background-color:#4b545c;box-shadow:0 .375rem .75rem #12141666;transform:translateY(-1px)}.btn-hero-dark.focus,.btn-hero-dark:focus{color:#fff;background-color:#4b545c;box-shadow:0 .125rem .75rem #12141640}.btn-hero-dark.disabled,.btn-hero-dark:disabled{color:#fff;background-color:#343a40;box-shadow:0 .125rem .75rem #12141640;transform:translateY(0)}.btn-hero-dark:not(:disabled):not(.disabled).active,.btn-hero-dark:not(:disabled):not(.disabled):active,.show>.btn-hero-dark.dropdown-toggle{color:#fff;background-color:#121416;box-shadow:0 .125rem .75rem #12141640;transform:translateY(0)}.btn-hero-dark:not(:disabled):not(.disabled).active:focus,.btn-hero-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-dark.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #12141640}.btn-hero-light{color:#212529;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#f8f9fa;border:none;box-shadow:0 .125rem .75rem #cbd3da40;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-light:hover{color:#212529;background-color:#fff;box-shadow:0 .375rem .75rem #cbd3da66;transform:translateY(-1px)}.btn-hero-light.focus,.btn-hero-light:focus{color:#212529;background-color:#fff;box-shadow:0 .125rem .75rem #cbd3da40}.btn-hero-light.disabled,.btn-hero-light:disabled{color:#212529;background-color:#f8f9fa;box-shadow:0 .125rem .75rem #cbd3da40;transform:translateY(0)}.btn-hero-light:not(:disabled):not(.disabled).active,.btn-hero-light:not(:disabled):not(.disabled):active,.show>.btn-hero-light.dropdown-toggle{color:#212529;background-color:#cbd3da;box-shadow:0 .125rem .75rem #cbd3da40;transform:translateY(0)}.btn-hero-light:not(:disabled):not(.disabled).active:focus,.btn-hero-light:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-light.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #cbd3da40}.btn-hero-lg{padding:.875rem 2.25rem;font-size:.875rem;line-height:1.5;border-radius:.25rem}.btn-hero-sm{padding:.375rem 1.25rem;font-size:.875rem;line-height:1.5;border-radius:.25rem}.btn-dual{color:#16181a;background-color:#f8f9fc;border-color:#f8f9fc}.btn-dual.focus,.btn-dual:focus,.btn-dual:hover{color:#16181a;background-color:#cdd6e8;border-color:#cdd6e8;box-shadow:none}.btn-dual.disabled,.btn-dual:disabled{background-color:transparent;border-color:transparent}.btn-dual.active,.btn-dual:active{color:#16181a;background-color:#f8f9fc;border-color:#f8f9fc}.btn-dual:not(:disabled):not(.disabled).active,.btn-dual:not(:disabled):not(.disabled):active,.show>.btn-dual.dropdown-toggle{color:#16181a;background-color:#cdd6e8;border-color:#cdd6e8}html.dark .markdown-body{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #e6edf3;--color-fg-muted: #7d8590;--color-fg-subtle: #6e7681;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110,118,129,.4);--color-accent-fg: #2f81f7;--color-accent-emphasis: #1f6feb;--color-attention-fg: #d29922;--color-attention-subtle: rgba(187,128,9,.15);--color-danger-fg: #f85149;--color-done-fg: #a371f7}html:not(.dark) .markdown-body{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #6639ba;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #1F2328;--color-fg-muted: #656d76;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210,18%,87%,1);--color-neutral-muted: rgba(175,184,193,.2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-fg: #9a6700;--color-attention-subtle: #fff8c5;--color-danger-fg: #d1242f;--color-done-fg: #8250df}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:var(--color-fg-default);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,");mask-image:url("data:image/svg+xml,")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.markdown-body mark{background-color:var(--color-attention-subtle);color:var(--color-fg-default)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default);border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.25em}.markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:1em}.markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.875em}.markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em;color:var(--color-fg-muted)}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body .color-fg-accent{color:var(--color-accent-fg)!important}.markdown-body .color-fg-attention{color:var(--color-attention-fg)!important}.markdown-body .color-fg-done{color:var(--color-done-fg)!important}.markdown-body .flex-items-center{align-items:center!important}.markdown-body .mb-1{margin-bottom:var(--base-size-4, 4px)!important}.markdown-body .text-semibold{font-weight:var(--base-text-weight-medium, 500)!important}.markdown-body .d-inline-flex{display:inline-flex!important}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:var(--color-danger-fg)}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type="a s"]{list-style-type:lower-alpha}.markdown-body ol[type="A s"]{list-style-type:upper-alpha}.markdown-body ol[type="i s"]{list-style-type:lower-roman}.markdown-body ol[type="I s"]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-body table td>:last-child{margin-bottom:0}.markdown-body table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;color:var(--color-fg-default);background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:var(--base-text-weight-semibold, 600);background:var(--color-canvas-subtle);border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes ol ul{display:inline-block;padding-left:16px;margin-top:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.markdown-body .footnotes li:target{color:var(--color-fg-default)}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.markdown-body .pl-e,.markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:var(--color-prettylights-syntax-storage-modifier-import)}.markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:var(--color-prettylights-syntax-string)}.markdown-body .pl-v,.markdown-body .pl-smw{color:var(--color-prettylights-syntax-variable)}.markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.markdown-body .pl-ii{color:var(--color-prettylights-syntax-invalid-illegal-text);background-color:var(--color-prettylights-syntax-invalid-illegal-bg)}.markdown-body .pl-c2{color:var(--color-prettylights-syntax-carriage-return-text);background-color:var(--color-prettylights-syntax-carriage-return-bg)}.markdown-body .pl-sr .pl-cce{font-weight:700;color:var(--color-prettylights-syntax-string-regexp)}.markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:var(--color-prettylights-syntax-markup-heading)}.markdown-body .pl-mi{font-style:italic;color:var(--color-prettylights-syntax-markup-italic)}.markdown-body .pl-mb{font-weight:700;color:var(--color-prettylights-syntax-markup-bold)}.markdown-body .pl-md{color:var(--color-prettylights-syntax-markup-deleted-text);background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.markdown-body .pl-mi1{color:var(--color-prettylights-syntax-markup-inserted-text);background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.markdown-body .pl-mc{color:var(--color-prettylights-syntax-markup-changed-text);background-color:var(--color-prettylights-syntax-markup-changed-bg)}.markdown-body .pl-mi2{color:var(--color-prettylights-syntax-markup-ignored-text);background-color:var(--color-prettylights-syntax-markup-ignored-bg)}.markdown-body .pl-mdr{font-weight:700;color:var(--color-prettylights-syntax-meta-diff-range)}.markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.markdown-body .pl-corl{text-decoration:underline;color:var(--color-prettylights-syntax-constant-other-reference-link)}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:var(--base-text-weight-normal, 400);line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:var(--base-text-weight-normal, 400)}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:4px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list{position:relative}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body .QueryBuilder .qb-entity{color:var(--color-prettylights-syntax-entity)}.markdown-body .QueryBuilder .qb-constant{color:var(--color-prettylights-syntax-constant)}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body .markdown-alert{padding:0 1em;margin-bottom:16px;color:inherit;border-left:.25em solid var(--color-border-default)}.markdown-body .markdown-alert>:first-child{margin-top:0}.markdown-body .markdown-alert>:last-child{margin-bottom:0}.markdown-body .markdown-alert.markdown-alert-note{border-left-color:var(--color-accent-fg)}.markdown-body .markdown-alert.markdown-alert-important{border-left-color:var(--color-done-fg)}.markdown-body .markdown-alert.markdown-alert-warning{border-left-color:var(--color-attention-fg)}*,:before,:after{box-sizing:border-box;background-repeat:no-repeat}:before,:after{text-decoration:inherit;vertical-align:inherit}:where(:root){cursor:default;line-height:1.5;overflow-wrap:break-word;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}:where(body){margin:0}:where(h1){font-size:2em;margin:.67em 0}:where(dl,ol,ul) :where(dl,ol,ul){margin:0}:where(hr){color:inherit;height:0}:where(nav) :where(ol,ul){list-style-type:none;padding:0}:where(nav li):before{content:"​";float:left}:where(pre){font-family:monospace,monospace;font-size:1em;overflow:auto}:where(abbr[title]){text-decoration:underline;text-decoration:underline dotted}:where(b,strong){font-weight:bolder}:where(code,kbd,samp){font-family:monospace,monospace;font-size:1em}:where(small){font-size:80%}:where(audio,canvas,iframe,img,svg,video){vertical-align:baseline}:where(iframe){border-style:none}:where(svg:not([fill])){fill:currentColor}:where(table){border-collapse:collapse;border-color:inherit;text-indent:0}:where(button,input,select){margin:0}:where(button,[type=button i],[type=reset i],[type=submit i]){-webkit-appearance:button}:where(fieldset){border:1px solid #a0a0a0}:where(progress){vertical-align:baseline}:where(textarea){margin:0;resize:vertical}:where([type=search i]){-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:where(dialog){background-color:#fff;border:solid;color:#000;height:-moz-fit-content;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:-moz-fit-content;width:fit-content}:where(dialog:not([open])){display:none}:where(details>summary:first-of-type){display:list-item}:where([aria-busy=true i]){cursor:progress}:where([aria-controls]){cursor:pointer}:where([aria-disabled=true i],[disabled]){cursor:not-allowed}:where([aria-hidden=false i][hidden]){display:initial}:where([aria-hidden=false i][hidden]:not(:focus)){clip:rect(0,0,0,0);position:absolute}html{font-size:4px}html,body{width:100%;height:100%;overflow:hidden;background-color:#f2f2f2;font-family:Encode Sans Condensed,sans-serif}html.dark body{background-color:#292b2b}::-webkit-scrollbar{width:8px;background-color:#eee}::-webkit-scrollbar-thumb{background-color:#c1c1c1}::-webkit-scrollbar-thumb:hover{background-color:#a8a8a8}html,body{width:100%;height:100%;overflow:hidden;font-size:16px}#app{width:100%;height:100%}.fade-slide-leave-active,.fade-slide-enter-active{transition:all .3s}.fade-slide-enter-from{opacity:0;transform:translate(-30px)}.fade-slide-leave-to{opacity:0;transform:translate(30px)}.cus-scroll{overflow:auto}.cus-scroll::-webkit-scrollbar{width:8px;height:8px}.cus-scroll-x{overflow-x:auto}.cus-scroll-x::-webkit-scrollbar{width:0;height:8px}.cus-scroll-y{overflow-y:auto}.cus-scroll-y::-webkit-scrollbar{width:8px;height:0}.cus-scroll::-webkit-scrollbar-thumb,.cus-scroll-x::-webkit-scrollbar-thumb,.cus-scroll-y::-webkit-scrollbar-thumb{background-color:transparent;border-radius:4px}.cus-scroll:hover::-webkit-scrollbar-thumb,.cus-scroll-x:hover::-webkit-scrollbar-thumb,.cus-scroll-y:hover::-webkit-scrollbar-thumb{background:#bfbfbf}.cus-scroll:hover::-webkit-scrollbar-thumb:hover,.cus-scroll-x:hover::-webkit-scrollbar-thumb:hover,.cus-scroll-y:hover::-webkit-scrollbar-thumb:hover{background:var(--primary-color)}#--unocss--{layer:__ALL__}#app{height:100%}#app .n-config-provider{height:inherit}.side-menu:not(.n-menu--collapsed) .n-menu-item-content:before{left:5px;right:5px}.side-menu:not(.n-menu--collapsed) .n-menu-item-content.n-menu-item-content--selected:before,.side-menu:not(.n-menu--collapsed) .n-menu-item-content:hover:before{border-left:4px solid var(--primary-color)}.carousel-img[data-v-8ed2ef0c]{width:100%;height:240px;object-fit:cover}.pay-qrcode{width:100%;height:100%}.pay-qrcode>canvas{width:100%!important;height:100%!important}.card-container[data-v-79fa0f66]{display:grid;justify-content:space-between;grid-template-columns:repeat(auto-fit,minmax(calc(100% - 1rem),1fr));row-gap:20px;min-width:100%}.card-item[data-v-79fa0f66]{max-width:100%}@media screen and (min-width: 768px){.card-container[data-v-79fa0f66]{grid-template-columns:repeat(auto-fit,minmax(calc(50% - 1rem),1fr));column-gap:20px;min-width:375px}}@media screen and (min-width: 1200px){.card-container[data-v-79fa0f66]{grid-template-columns:repeat(auto-fit,minmax(calc(33.33% - 1rem),1fr));padding:0 10px;column-gap:20px;min-width:375px}}#--unocss-layer-start--__ALL__--{start:__ALL__}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.wh-full,[wh-full=""]{width:100%;height:100%}.f-c-c,[f-c-c=""]{display:flex;align-items:center;justify-content:center}.flex-col,[flex-col=""]{display:flex;flex-direction:column}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.right-0{right:0}.right-15{right:15px}[bottom~="20"]{bottom:20px}.z-99999{z-index:99999}.grid{display:grid}.m-0{margin:0}.m-0\\!{margin:0!important}.m-1{margin:1px}.m-3{margin:3px}.m-auto,[m-auto=""]{margin:auto}.mx-10{margin-left:10px;margin-right:10px}.m-b-5,.mb-5{margin-bottom:5px}.m-l-10,.ml-10,[ml-10=""]{margin-left:10px}.m-l-20{margin-left:20px}.m-l-3{margin-left:3px}.m-t-10,.mt-10{margin-top:10px}.m-t-15,.mt-15,[mt-15=""]{margin-top:15px}.m-t-20,.mt-20,[mt-20=""]{margin-top:20px}.m-t-5,.mt-5{margin-top:5px}.mb-10{margin-bottom:10px}.mb-16{margin-bottom:16px}.mb-1em{margin-bottom:1em}.mb-20{margin-bottom:20px}.mb-3{margin-bottom:3px}.mb-4{margin-bottom:4px}.mb-8{margin-bottom:8px}.ml-auto,[ml-auto=""]{margin-left:auto}.mr-0{margin-right:0}.mr-20,.mr20,[mr-20=""],[mr20=""]{margin-right:20px}.mr-5{margin-right:5px}.mr-auto{margin-right:auto}.mr10,[mr10=""]{margin-right:10px}.mt-0{margin-top:0}.mt-30{margin-top:30px}.mt-4{margin-top:4px}.mt-8{margin-top:8px}.inline-block{display:inline-block}.hidden{display:none}.h-20{height:20px}.h-30{height:30px}.h-35,[h-35=""]{height:35px}.h-36{height:36px}.h-6{height:6px}.h-60,[h-60=""]{height:60px}.h-auto{height:auto}.h-full,[h-full=""]{height:100%}.h-full\\!{height:100%!important}.h1{height:1px}.h2{height:2px}.h5{height:5px}.max-h-30{max-height:30px}.max-w-100\\%,.max-w-full{max-width:100%}.max-w-1200{max-width:1200px}.max-w-140,[max-w-140=""]{max-width:140px}.max-w-450{max-width:450px}.max-w-500{max-width:500px}.min-w-0{min-width:0}.min-w-300{min-width:300px}.w-100\\%,.w-full{width:100%}.w-20{width:20px}.w-30{width:30px}.w-300{width:300px}.w-35,[w-35=""]{width:35px}.w-375{width:375px}.w-6{width:6px}.w-600{width:600px}.w-64{width:64px}.w-auto{width:auto}.w-full\\!{width:100%!important}.flex,[flex=""]{display:flex}.flex-\\[1\\]{flex:1}.flex-\\[2\\]{flex:2}.flex-1,[flex-1=""]{flex:1 1 0%}.flex-shrink-0,[flex-shrink-0=""]{flex-shrink:0}.flex-wrap{flex-wrap:wrap}[transform-origin~=center]{transform-origin:center}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.resize{resize:both}.items-center,[items-center=""]{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.overflow-hidden,[overflow-hidden=""]{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.break-anywhere{overflow-wrap:anywhere}.b{border-width:1px}.border-0,.dark [dark~=border-0]{border-width:0px}.border-2{border-width:2px}.border-\\[\\#646669\\],.border-\\#646669{--un-border-opacity:1;border-color:rgb(100 102 105 / var(--un-border-opacity))}.border-\\#0665d0{--un-border-opacity:1;border-color:rgb(6 101 208 / var(--un-border-opacity))}.border-transparent{border-color:transparent}.border-rounded-5,.rounded-5,[border-rounded-5=""]{border-radius:5px}.rounded-full,[rounded-full=""]{border-radius:9999px}.border-none{border-style:none}.border-solid{border-style:solid}.border-b-solid{border-bottom-style:solid}.bg-\\[--n-color-embedded\\]{background-color:var(--n-color-embedded)}.bg-\\[--n-color\\]{background-color:var(--n-color)}.bg-\\[\\#f5f6fb\\],.bg-hex-f5f6fb,[bg-hex-f5f6fb=""]{--un-bg-opacity:1;background-color:rgb(245 246 251 / var(--un-bg-opacity))}.bg-\\#2f3135{--un-bg-opacity:1;background-color:rgb(47 49 53 / var(--un-bg-opacity))}.bg-\\#e04f1a{--un-bg-opacity:1;background-color:rgb(224 79 26 / var(--un-bg-opacity))}.bg-\\#f8f9fa{--un-bg-opacity:1;background-color:rgb(248 249 250 / var(--un-bg-opacity))}.bg-blue-500{--un-bg-opacity:1;background-color:rgb(59 130 246 / var(--un-bg-opacity))}.bg-dark,.dark [dark~=bg-dark]{--un-bg-opacity:1;background-color:rgb(24 24 28 / var(--un-bg-opacity))}.bg-green-500{--un-bg-opacity:1;background-color:rgb(34 197 94 / var(--un-bg-opacity))}.bg-red-500{--un-bg-opacity:1;background-color:rgb(239 68 68 / var(--un-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.dark .dark\\:bg-hex-101014,.dark [dark\\:bg-hex-101014=""]{--un-bg-opacity:1;background-color:rgb(16 16 20 / var(--un-bg-opacity))}.dark .dark\\:bg-hex-101014\\>{background-color:#101014>}.dark .dark\\:bg-hex-121212{--un-bg-opacity:1;background-color:rgb(18 18 18 / var(--un-bg-opacity))}.hover\\:bg-\\#f6f6f6:hover{--un-bg-opacity:1;background-color:rgb(246 246 246 / var(--un-bg-opacity))}.p-0{padding:0}.p-0\\!{padding:0!important}.p-10{padding:10px}.p-19{padding:19px}.p-2{padding:2px}.p-20{padding:20px}.p-24{padding:24px}.p-5{padding:5px}.p-x-24{padding-left:24px;padding-right:24px}.p-y-16{padding-top:16px;padding-bottom:16px}.px{padding-left:4px;padding-right:4px}.px-15{padding-left:15px;padding-right:15px}.p-b-5{padding-bottom:5px}.p-l-5{padding-left:5px}.p-t-20,.pt-20{padding-top:20px}.p-t-5{padding-top:5px}.pb-10{padding-bottom:10px}.pb-16{padding-bottom:16px}.pb-8{padding-bottom:8px}.pl-16{padding-left:16px}.pl-20{padding-left:20px}.pr-16{padding-right:16px}.pr-20{padding-right:20px}.pt-10{padding-top:10px}.pt-16{padding-top:16px}.pt-8{padding-top:8px}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.indent{text-indent:6px}[indent~="0"]{text-indent:0}.root-indent:root{text-indent:6px}[root-indent~="18"]:root{text-indent:18px}.vertical-bottom{vertical-align:bottom}.text-12{font-size:12px}.text-14,[text-14=""]{font-size:14px}.text-16,[text-16=""]{font-size:16px}.text-18{font-size:18px}.text-20{font-size:20px}.text-22{font-size:22px}.text-30{font-size:30px}.text-36{font-size:36px}.text-40{font-size:40px}.text-50{font-size:50px}.text-90{font-size:90px}.font-400,.font-normal{font-weight:400}.font-600{font-weight:600}.font-bold,[font-bold=""]{font-weight:700}.color-\\[hsla\\(0\\,0\\%\\,100\\%\\,\\.75\\)\\]{--un-text-opacity:.75;color:hsla(0,0%,100%,var(--un-text-opacity))}.color-\\#48bc19{--un-text-opacity:1;color:rgb(72 188 25 / var(--un-text-opacity))}.color-\\#f8f9fa{--un-text-opacity:1;color:rgb(248 249 250 / var(--un-text-opacity))}.color-\\#f8f9fa41{--un-text-opacity:.25;color:rgb(248 249 250 / var(--un-text-opacity))}.color-\\#f9a314{--un-text-opacity:1;color:rgb(249 163 20 / var(--un-text-opacity))}.color-gray,.text-gray{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity))}.color-gray-500{--un-text-opacity:1;color:rgb(107 114 128 / var(--un-text-opacity))}.color-primary,.text-\\[--primary-color\\],[color-primary=""]{color:var(--primary-color)}.color-white,.text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}[color~="#343a40"]{--un-text-opacity:1;color:rgb(52 58 64 / var(--un-text-opacity))}[color~="#6a6a6a"]{--un-text-opacity:1;color:rgb(106 106 106 / var(--un-text-opacity))}.text-\\#6c757d,[color~="#6c757d"]{--un-text-opacity:1;color:rgb(108 117 125 / var(--un-text-opacity))}[color~="#db4619"]{--un-text-opacity:1;color:rgb(219 70 25 / var(--un-text-opacity))}[hover~=color-primary]:hover{color:var(--primary-color)}.text-\\[rgba\\(0\\,0\\,0\\,0\\.45\\)\\]{--un-text-opacity:.45;color:rgba(0,0,0,var(--un-text-opacity))}.text-\\#49505799{--un-text-opacity:.6;color:rgb(73 80 87 / var(--un-text-opacity))}.text-\\#595959{--un-text-opacity:1;color:rgb(89 89 89 / var(--un-text-opacity))}.text-\\#666{--un-text-opacity:1;color:rgb(102 102 102 / var(--un-text-opacity))}.text-red-500{--un-text-opacity:1;color:rgb(239 68 68 / var(--un-text-opacity))}.decoration-underline,[hover~=decoration-underline]:hover{text-decoration-line:underline}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.opacity-30{opacity:.3}.opacity-85{opacity:.85}.hover\\:opacity-75:hover{opacity:.75}.shadow-black{--un-shadow-opacity:1;--un-shadow-color:rgb(0 0 0 / var(--un-shadow-opacity))}.outline-none{outline:2px solid transparent;outline-offset:2px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[duration~="500"]{transition-duration:.5s}[content~="$t("]{content:var(--t\\()}[placeholder~="$t("]::placeholder{color:var(--t\\()}@media (min-width: 640px){.sm\\:max-w-full{max-width:100%}}@media (min-width: 768px){.md\\:mx-auto{margin-left:auto;margin-right:auto}.md\\:m-l20{margin-left:20px}.md\\:m-t-20,.md\\:mt-20{margin-top:20px}.md\\:m-t-40{margin-top:40px}.md\\:mb-40{margin-bottom:40px}.md\\:mr10{margin-right:10px}.md\\:mt-0{margin-top:0}.md\\:block{display:block}.md\\:hidden{display:none}.md\\:h-30{height:30px}.md\\:max-w-1\\/3{max-width:33.3333333333%}.md\\:max-w-2\\/3{max-width:66.6666666667%}.md\\:w-30{width:30px}.md\\:flex-\\[1\\]{flex:1}.md\\:flex-\\[2\\]{flex:2}.md\\:p-15{padding:15px}.md\\:pl-20{padding-left:20px}}#--unocss-layer-end--__ALL__--{end:__ALL__}`)),document.head.appendChild(o)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})(); +var f3=Object.defineProperty;var h3=(e,t,n)=>t in e?f3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var p3=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var md=(e,t,n)=>(h3(e,typeof t!="symbol"?t+"":t,n),n);var sNe=p3((Yn,Xn)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();/** +* @vue/shared v3.4.38 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Oh(e,t){const n=new Set(e.split(","));return t?o=>n.has(o.toLowerCase()):o=>n.has(o)}const Qt={},sa=[],Kn=()=>{},Gk=()=>!1,Nc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Mh=e=>e.startsWith("onUpdate:"),vn=Object.assign,zh=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Yk=Object.prototype.hasOwnProperty,Mt=(e,t)=>Yk.call(e,t),ct=Array.isArray,la=e=>Hc(e)==="[object Map]",V1=e=>Hc(e)==="[object Set]",vt=e=>typeof e=="function",ln=e=>typeof e=="string",$i=e=>typeof e=="symbol",Zt=e=>e!==null&&typeof e=="object",W1=e=>(Zt(e)||vt(e))&&vt(e.then)&&vt(e.catch),U1=Object.prototype.toString,Hc=e=>U1.call(e),Xk=e=>Hc(e).slice(8,-1),q1=e=>Hc(e)==="[object Object]",Dh=e=>ln(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,us=Oh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),jc=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Zk=/-(\w)/g,No=jc(e=>e.replace(Zk,(t,n)=>n?n.toUpperCase():"")),Jk=/\B([A-Z])/g,Ai=jc(e=>e.replace(Jk,"-$1").toLowerCase()),Vc=jc(e=>e.charAt(0).toUpperCase()+e.slice(1)),ad=jc(e=>e?`on${Vc(e)}`:""),Lr=(e,t)=>!Object.is(e,t),Zl=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},gf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Qk=e=>{const t=ln(e)?Number(e):NaN;return isNaN(t)?e:t};let Fm;const G1=()=>Fm||(Fm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Fr(e){if(ct(e)){const t={};for(let n=0;n{if(n){const o=n.split(t3);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function ir(e){let t="";if(ln(e))t=e;else if(ct(e))for(let n=0;nln(e)?e:e==null?"":ct(e)||Zt(e)&&(e.toString===U1||!vt(e.toString))?JSON.stringify(e,X1,2):String(e),X1=(e,t)=>t&&t.__v_isRef?X1(e,t.value):la(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],i)=>(n[sd(o,i)+" =>"]=r,n),{})}:V1(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>sd(n))}:$i(t)?sd(t):Zt(t)&&!ct(t)&&!q1(t)?String(t):t,sd=(e,t="")=>{var n;return $i(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.4.23 +**//*! #__NO_SIDE_EFFECTS__ */function qh(e,t){const n=new Set(e.split(","));return t?o=>n.has(o.toLowerCase()):o=>n.has(o)}const nn={},fa=[],Kn=()=>{},m3=()=>!1,Vc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Kh=e=>e.startsWith("onUpdate:"),wn=Object.assign,Gh=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},g3=Object.prototype.hasOwnProperty,Mt=(e,t)=>g3.call(e,t),ct=Array.isArray,ha=e=>Wc(e)==="[object Map]",ay=e=>Wc(e)==="[object Set]",mt=e=>typeof e=="function",ln=e=>typeof e=="string",Ur=e=>typeof e=="symbol",Zt=e=>e!==null&&typeof e=="object",sy=e=>(Zt(e)||mt(e))&&mt(e.then)&&mt(e.catch),ly=Object.prototype.toString,Wc=e=>ly.call(e),v3=e=>Wc(e).slice(8,-1),cy=e=>Wc(e)==="[object Object]",Yh=e=>ln(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,gs=qh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Uc=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},b3=/-(\w)/g,To=Uc(e=>e.replace(b3,(t,n)=>n?n.toUpperCase():"")),y3=/\B([A-Z])/g,qr=Uc(e=>e.replace(y3,"-$1").toLowerCase()),qc=Uc(e=>e.charAt(0).toUpperCase()+e.slice(1)),gd=Uc(e=>e?`on${qc(e)}`:""),Br=(e,t)=>!Object.is(e,t),Ql=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},Tf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},x3=e=>{const t=ln(e)?Number(e):NaN;return isNaN(t)?e:t};let Jm;const dy=()=>Jm||(Jm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Di(e){if(ct(e)){const t={};for(let n=0;n{if(n){const o=n.split(w3);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function sr(e){let t="";if(ln(e))t=e;else if(ct(e))for(let n=0;n!!(e&&e.__v_isRef===!0),se=e=>ln(e)?e:e==null?"":ct(e)||Zt(e)&&(e.toString===ly||!mt(e.toString))?hy(e)?se(e.value):JSON.stringify(e,py,2):String(e),py=(e,t)=>hy(t)?py(e,t.value):ha(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],i)=>(n[vd(o,i)+" =>"]=r,n),{})}:ay(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>vd(n))}:Ur(t)?vd(t):Zt(t)&&!ct(t)&&!cy(t)?String(t):t,vd=(e,t="")=>{var n;return Ur(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.38 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Un;class Z1{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Un,!t&&Un&&(this.index=(Un.scopes||(Un.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Un;try{return Un=this,t()}finally{Un=n}}}on(){Un=this}off(){Un=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Ur()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=zr,n=vi;try{return zr=!0,vi=this,this._runnings++,Bm(this),this.fn()}finally{Nm(this),this._runnings--,vi=n,zr=t}}stop(){var t;this.active&&(Bm(this),Nm(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function s3(e){return e.value}function Bm(e){e._trackId++,e._depsLength=0}function Nm(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},dc=new WeakMap,bi=Symbol(""),yf=Symbol("");function jn(e,t,n){if(zr&&vi){let o=dc.get(e);o||dc.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=oy(()=>o.delete(n))),ty(vi,r)}}function or(e,t,n,o,r,i){const a=dc.get(e);if(!a)return;let s=[];if(t==="clear")s=[...a.values()];else if(n==="length"&&ct(e)){const l=Number(o);a.forEach((c,u)=>{(u==="length"||!$i(u)&&u>=l)&&s.push(c)})}else switch(n!==void 0&&s.push(a.get(n)),t){case"add":ct(e)?Dh(n)&&s.push(a.get("length")):(s.push(a.get(bi)),la(e)&&s.push(a.get(yf)));break;case"delete":ct(e)||(s.push(a.get(bi)),la(e)&&s.push(a.get(yf)));break;case"set":la(e)&&s.push(a.get(bi));break}Nh();for(const l of s)l&&ny(l,4);Hh()}function l3(e,t){var n;return(n=dc.get(e))==null?void 0:n.get(t)}const c3=Oh("__proto__,__v_isRef,__isVue"),ry=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($i)),Hm=u3();function u3(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=$t(this);for(let i=0,a=this.length;i{e[t]=function(...n){Wr(),Nh();const o=$t(this)[t].apply(this,n);return Hh(),Ur(),o}}),e}function d3(e){$i(e)||(e=String(e));const t=$t(this);return jn(t,"has",e),t.hasOwnProperty(e)}class iy{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return o===(r?i?S3:cy:i?ly:sy).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const a=ct(t);if(!r){if(a&&Mt(Hm,n))return Reflect.get(Hm,n,o);if(n==="hasOwnProperty")return d3}const s=Reflect.get(t,n,o);return($i(n)?ry.has(n):c3(n))||(r||jn(t,"get",n),i)?s:cn(s)?a&&Dh(n)?s:s.value:Zt(s)?r?io(s):Zn(s):s}}class ay extends iy{constructor(t=!1){super(!1,t)}set(t,n,o,r){let i=t[n];if(!this._isShallow){const l=Es(i);if(!fc(o)&&!Es(o)&&(i=$t(i),o=$t(o)),!ct(t)&&cn(i)&&!cn(o))return l?!1:(i.value=o,!0)}const a=ct(t)&&Dh(n)?Number(n)e,Wc=e=>Reflect.getPrototypeOf(e);function bl(e,t,n=!1,o=!1){e=e.__v_raw;const r=$t(e),i=$t(t);n||(Lr(t,i)&&jn(r,"get",t),jn(r,"get",i));const{has:a}=Wc(r),s=o?jh:n?Uh:As;if(a.call(r,t))return s(e.get(t));if(a.call(r,i))return s(e.get(i));e!==r&&e.get(t)}function yl(e,t=!1){const n=this.__v_raw,o=$t(n),r=$t(e);return t||(Lr(e,r)&&jn(o,"has",e),jn(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function xl(e,t=!1){return e=e.__v_raw,!t&&jn($t(e),"iterate",bi),Reflect.get(e,"size",e)}function jm(e){e=$t(e);const t=$t(this);return Wc(t).has.call(t,e)||(t.add(e),or(t,"add",e,e)),this}function Vm(e,t){t=$t(t);const n=$t(this),{has:o,get:r}=Wc(n);let i=o.call(n,e);i||(e=$t(e),i=o.call(n,e));const a=r.call(n,e);return n.set(e,t),i?Lr(t,a)&&or(n,"set",e,t):or(n,"add",e,t),this}function Wm(e){const t=$t(this),{has:n,get:o}=Wc(t);let r=n.call(t,e);r||(e=$t(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&or(t,"delete",e,void 0),i}function Um(){const e=$t(this),t=e.size!==0,n=e.clear();return t&&or(e,"clear",void 0,void 0),n}function Cl(e,t){return function(o,r){const i=this,a=i.__v_raw,s=$t(a),l=t?jh:e?Uh:As;return!e&&jn(s,"iterate",bi),a.forEach((c,u)=>o.call(r,l(c),l(u),i))}}function wl(e,t,n){return function(...o){const r=this.__v_raw,i=$t(r),a=la(i),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=r[e](...o),u=n?jh:t?Uh:As;return!t&&jn(i,"iterate",l?yf:bi),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:s?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function yr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function g3(){const e={get(i){return bl(this,i)},get size(){return xl(this)},has:yl,add:jm,set:Vm,delete:Wm,clear:Um,forEach:Cl(!1,!1)},t={get(i){return bl(this,i,!1,!0)},get size(){return xl(this)},has:yl,add:jm,set:Vm,delete:Wm,clear:Um,forEach:Cl(!1,!0)},n={get(i){return bl(this,i,!0)},get size(){return xl(this,!0)},has(i){return yl.call(this,i,!0)},add:yr("add"),set:yr("set"),delete:yr("delete"),clear:yr("clear"),forEach:Cl(!0,!1)},o={get(i){return bl(this,i,!0,!0)},get size(){return xl(this,!0)},has(i){return yl.call(this,i,!0)},add:yr("add"),set:yr("set"),delete:yr("delete"),clear:yr("clear"),forEach:Cl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=wl(i,!1,!1),n[i]=wl(i,!0,!1),t[i]=wl(i,!1,!0),o[i]=wl(i,!0,!0)}),[e,n,t,o]}const[v3,b3,y3,x3]=g3();function Vh(e,t){const n=t?e?x3:y3:e?b3:v3;return(o,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(Mt(n,r)&&r in o?n:o,r,i)}const C3={get:Vh(!1,!1)},w3={get:Vh(!1,!0)},_3={get:Vh(!0,!1)},sy=new WeakMap,ly=new WeakMap,cy=new WeakMap,S3=new WeakMap;function k3(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function P3(e){return e.__v_skip||!Object.isExtensible(e)?0:k3(Xk(e))}function Zn(e){return Es(e)?e:Wh(e,!1,h3,C3,sy)}function uy(e){return Wh(e,!1,m3,w3,ly)}function io(e){return Wh(e,!0,p3,_3,cy)}function Wh(e,t,n,o,r){if(!Zt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=P3(e);if(a===0)return e;const s=new Proxy(e,a===2?o:n);return r.set(e,s),s}function yi(e){return Es(e)?yi(e.__v_raw):!!(e&&e.__v_isReactive)}function Es(e){return!!(e&&e.__v_isReadonly)}function fc(e){return!!(e&&e.__v_isShallow)}function dy(e){return e?!!e.__v_raw:!1}function $t(e){const t=e&&e.__v_raw;return t?$t(t):e}function $s(e){return Object.isExtensible(e)&&K1(e,"__v_skip",!0),e}const As=e=>Zt(e)?Zn(e):e,Uh=e=>Zt(e)?io(e):e;class fy{constructor(t,n,o,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Bh(()=>t(this._value),()=>ds(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=$t(this);return(!t._cacheable||t.effect.dirty)&&Lr(t._value,t._value=t.effect.run())&&ds(t,4),qh(t),t.effect._dirtyLevel>=2&&ds(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function T3(e,t,n=!1){let o,r;const i=vt(e);return i?(o=e,r=Kn):(o=e.get,r=e.set),new fy(o,r,i||!r,n)}function qh(e){var t;zr&&vi&&(e=$t(e),ty(vi,(t=e.dep)!=null?t:e.dep=oy(()=>e.dep=void 0,e instanceof fy?e:void 0)))}function ds(e,t=4,n){e=$t(e);const o=e.dep;o&&ny(o,t)}function cn(e){return!!(e&&e.__v_isRef===!0)}function W(e){return hy(e,!1)}function Ra(e){return hy(e,!0)}function hy(e,t){return cn(e)?e:new R3(e,t)}class R3{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:$t(t),this._value=n?t:As(t)}get value(){return qh(this),this._value}set value(t){const n=this.__v_isShallow||fc(t)||Es(t);t=n?t:$t(t),Lr(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:As(t),ds(this,4))}}function we(e){return cn(e)?e.value:e}const E3={get:(e,t,n)=>we(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return cn(r)&&!cn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function py(e){return yi(e)?e:new Proxy(e,E3)}class $3{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:o}=t(()=>qh(this),()=>ds(this));this._get=n,this._set=o}get value(){return this._get()}set value(t){this._set(t)}}function A3(e){return new $3(e)}function I3(e){const t=ct(e)?new Array(e.length):{};for(const n in e)t[n]=my(e,n);return t}class O3{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 l3($t(this._object),this._key)}}class M3{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ve(e,t,n){return cn(e)?e:vt(e)?new M3(e):Zt(e)&&arguments.length>1?my(e,t,n):W(e)}function my(e,t,n){const o=e[t];return cn(o)?o:new O3(e,t,n)}/** -* @vue/runtime-core v3.4.23 +**/let Un;class my{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Un,!t&&Un&&(this.index=(Un.scopes||(Un.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Un;try{return Un=this,t()}finally{Un=n}}}on(){Un=this}off(){Un=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Gr()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Lr,n=xi;try{return Lr=!0,xi=this,this._runnings++,Qm(this),this.fn()}finally{eg(this),this._runnings--,xi=n,Lr=t}}stop(){this.active&&(Qm(this),eg(this),this.onStop&&this.onStop(),this.active=!1)}}function R3(e){return e.value}function Qm(e){e._trackId++,e._depsLength=0}function eg(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},hc=new WeakMap,Ci=Symbol(""),$f=Symbol("");function jn(e,t,n){if(Lr&&xi){let o=hc.get(e);o||hc.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=Cy(()=>o.delete(n))),yy(xi,r)}}function ar(e,t,n,o,r,i){const a=hc.get(e);if(!a)return;let s=[];if(t==="clear")s=[...a.values()];else if(n==="length"&&ct(e)){const l=Number(o);a.forEach((c,u)=>{(u==="length"||!Ur(u)&&u>=l)&&s.push(c)})}else switch(n!==void 0&&s.push(a.get(n)),t){case"add":ct(e)?Yh(n)&&s.push(a.get("length")):(s.push(a.get(Ci)),ha(e)&&s.push(a.get($f)));break;case"delete":ct(e)||(s.push(a.get(Ci)),ha(e)&&s.push(a.get($f)));break;case"set":ha(e)&&s.push(a.get(Ci));break}Qh();for(const l of s)l&&xy(l,4);ep()}function E3(e,t){const n=hc.get(e);return n&&n.get(t)}const $3=qh("__proto__,__v_isRef,__isVue"),wy=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ur)),tg=A3();function A3(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=It(this);for(let i=0,a=this.length;i{e[t]=function(...n){Kr(),Qh();const o=It(this)[t].apply(this,n);return ep(),Gr(),o}}),e}function I3(e){Ur(e)||(e=String(e));const t=It(this);return jn(t,"has",e),t.hasOwnProperty(e)}class _y{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return o===(r?i?U3:Ty:i?Py:ky).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const a=ct(t);if(!r){if(a&&Mt(tg,n))return Reflect.get(tg,n,o);if(n==="hasOwnProperty")return I3}const s=Reflect.get(t,n,o);return(Ur(n)?wy.has(n):$3(n))||(r||jn(t,"get",n),i)?s:cn(s)?a&&Yh(n)?s:s.value:Zt(s)?r?co(s):eo(s):s}}class Sy extends _y{constructor(t=!1){super(!1,t)}set(t,n,o,r){let i=t[n];if(!this._isShallow){const l=Ri(i);if(!xa(o)&&!Ri(o)&&(i=It(i),o=It(o)),!ct(t)&&cn(i)&&!cn(o))return l?!1:(i.value=o,!0)}const a=ct(t)&&Yh(n)?Number(n)e,Kc=e=>Reflect.getPrototypeOf(e);function xl(e,t,n=!1,o=!1){e=e.__v_raw;const r=It(e),i=It(t);n||(Br(t,i)&&jn(r,"get",t),jn(r,"get",i));const{has:a}=Kc(r),s=o?tp:n?rp:Ds;if(a.call(r,t))return s(e.get(t));if(a.call(r,i))return s(e.get(i));e!==r&&e.get(t)}function Cl(e,t=!1){const n=this.__v_raw,o=It(n),r=It(e);return t||(Br(e,r)&&jn(o,"has",e),jn(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function wl(e,t=!1){return e=e.__v_raw,!t&&jn(It(e),"iterate",Ci),Reflect.get(e,"size",e)}function ng(e,t=!1){!t&&!xa(e)&&!Ri(e)&&(e=It(e));const n=It(this);return Kc(n).has.call(n,e)||(n.add(e),ar(n,"add",e,e)),this}function og(e,t,n=!1){!n&&!xa(t)&&!Ri(t)&&(t=It(t));const o=It(this),{has:r,get:i}=Kc(o);let a=r.call(o,e);a||(e=It(e),a=r.call(o,e));const s=i.call(o,e);return o.set(e,t),a?Br(t,s)&&ar(o,"set",e,t):ar(o,"add",e,t),this}function rg(e){const t=It(this),{has:n,get:o}=Kc(t);let r=n.call(t,e);r||(e=It(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&ar(t,"delete",e,void 0),i}function ig(){const e=It(this),t=e.size!==0,n=e.clear();return t&&ar(e,"clear",void 0,void 0),n}function _l(e,t){return function(o,r){const i=this,a=i.__v_raw,s=It(a),l=t?tp:e?rp:Ds;return!e&&jn(s,"iterate",Ci),a.forEach((c,u)=>o.call(r,l(c),l(u),i))}}function Sl(e,t,n){return function(...o){const r=this.__v_raw,i=It(r),a=ha(i),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=r[e](...o),u=n?tp:t?rp:Ds;return!t&&jn(i,"iterate",l?$f:Ci),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:s?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function Cr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function L3(){const e={get(i){return xl(this,i)},get size(){return wl(this)},has:Cl,add:ng,set:og,delete:rg,clear:ig,forEach:_l(!1,!1)},t={get(i){return xl(this,i,!1,!0)},get size(){return wl(this)},has:Cl,add(i){return ng.call(this,i,!0)},set(i,a){return og.call(this,i,a,!0)},delete:rg,clear:ig,forEach:_l(!1,!0)},n={get(i){return xl(this,i,!0)},get size(){return wl(this,!0)},has(i){return Cl.call(this,i,!0)},add:Cr("add"),set:Cr("set"),delete:Cr("delete"),clear:Cr("clear"),forEach:_l(!0,!1)},o={get(i){return xl(this,i,!0,!0)},get size(){return wl(this,!0)},has(i){return Cl.call(this,i,!0)},add:Cr("add"),set:Cr("set"),delete:Cr("delete"),clear:Cr("clear"),forEach:_l(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Sl(i,!1,!1),n[i]=Sl(i,!0,!1),t[i]=Sl(i,!1,!0),o[i]=Sl(i,!0,!0)}),[e,n,t,o]}const[F3,B3,N3,H3]=L3();function np(e,t){const n=t?e?H3:N3:e?B3:F3;return(o,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(Mt(n,r)&&r in o?n:o,r,i)}const j3={get:np(!1,!1)},V3={get:np(!1,!0)},W3={get:np(!0,!1)},ky=new WeakMap,Py=new WeakMap,Ty=new WeakMap,U3=new WeakMap;function q3(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function K3(e){return e.__v_skip||!Object.isExtensible(e)?0:q3(v3(e))}function eo(e){return Ri(e)?e:op(e,!1,M3,j3,ky)}function Ry(e){return op(e,!1,D3,V3,Py)}function co(e){return op(e,!0,z3,W3,Ty)}function op(e,t,n,o,r){if(!Zt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=K3(e);if(a===0)return e;const s=new Proxy(e,a===2?o:n);return r.set(e,s),s}function wi(e){return Ri(e)?wi(e.__v_raw):!!(e&&e.__v_isReactive)}function Ri(e){return!!(e&&e.__v_isReadonly)}function xa(e){return!!(e&&e.__v_isShallow)}function Ey(e){return e?!!e.__v_raw:!1}function It(e){const t=e&&e.__v_raw;return t?It(t):e}function zs(e){return Object.isExtensible(e)&&uy(e,"__v_skip",!0),e}const Ds=e=>Zt(e)?eo(e):e,rp=e=>Zt(e)?co(e):e;class $y{constructor(t,n,o,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Jh(()=>t(this._value),()=>vs(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=It(this);return(!t._cacheable||t.effect.dirty)&&Br(t._value,t._value=t.effect.run())&&vs(t,4),ip(t),t.effect._dirtyLevel>=2&&vs(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function G3(e,t,n=!1){let o,r;const i=mt(e);return i?(o=e,r=Kn):(o=e.get,r=e.set),new $y(o,r,i||!r,n)}function ip(e){var t;Lr&&xi&&(e=It(e),yy(xi,(t=e.dep)!=null?t:e.dep=Cy(()=>e.dep=void 0,e instanceof $y?e:void 0)))}function vs(e,t=4,n,o){e=It(e);const r=e.dep;r&&xy(r,t)}function cn(e){return!!(e&&e.__v_isRef===!0)}function W(e){return Ay(e,!1)}function Oa(e){return Ay(e,!0)}function Ay(e,t){return cn(e)?e:new Y3(e,t)}class Y3{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:It(t),this._value=n?t:Ds(t)}get value(){return ip(this),this._value}set value(t){const n=this.__v_isShallow||xa(t)||Ri(t);t=n?t:It(t),Br(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:Ds(t),vs(this,4))}}function we(e){return cn(e)?e.value:e}const X3={get:(e,t,n)=>we(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return cn(r)&&!cn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Iy(e){return wi(e)?e:new Proxy(e,X3)}class Z3{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:o}=t(()=>ip(this),()=>vs(this));this._get=n,this._set=o}get value(){return this._get()}set value(t){this._set(t)}}function J3(e){return new Z3(e)}function Q3(e){const t=ct(e)?new Array(e.length):{};for(const n in e)t[n]=Oy(e,n);return t}class e4{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 E3(It(this._object),this._key)}}class t4{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function We(e,t,n){return cn(e)?e:mt(e)?new t4(e):Zt(e)&&arguments.length>1?Oy(e,t,n):W(e)}function Oy(e,t,n){const o=e[t];return cn(o)?o:new e4(e,t,n)}/** +* @vue/runtime-core v3.4.38 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Dr(e,t,n,o){try{return o?e(...o):e()}catch(r){Uc(r,t,n)}}function oo(e,t,n,o){if(vt(e)){const r=Dr(e,t,n,o);return r&&W1(r)&&r.catch(i=>{Uc(i,t,n)}),r}if(ct(e)){const r=[];for(let i=0;i>>1,r=En[o],i=Os(r);iMo&&En.splice(t,1)}function F3(e){ct(e)?ca.push(...e):(!Rr||!Rr.includes(e,e.allowRecurse?ui+1:ui))&&ca.push(e),vy()}function qm(e,t,n=Is?Mo+1:0){for(;nOs(n)-Os(o));if(ca.length=0,Rr){Rr.push(...t);return}for(Rr=t,ui=0;uie.id==null?1/0:e.id,B3=(e,t)=>{const n=Os(e)-Os(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function yy(e){xf=!1,Is=!0,En.sort(B3);const t=Kn;try{for(Mo=0;Moln(p)?p.trim():p)),d&&(r=n.map(gf))}let s,l=o[s=ad(t)]||o[s=ad(No(t))];!l&&i&&(l=o[s=ad(Ai(t))]),l&&oo(l,e,6,r);const c=o[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,oo(c,e,6,r)}}function xy(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const i=e.emits;let a={},s=!1;if(!vt(e)){const l=c=>{const u=xy(c,t,!0);u&&(s=!0,vn(a,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!s?(Zt(e)&&o.set(e,null),null):(ct(i)?i.forEach(l=>a[l]=null):vn(a,i),Zt(e)&&o.set(e,a),a)}function qc(e,t){return!e||!Nc(t)?!1:(t=t.slice(2).replace(/Once$/,""),Mt(e,t[0].toLowerCase()+t.slice(1))||Mt(e,Ai(t))||Mt(e,t))}let mn=null,Kc=null;function hc(e){const t=mn;return mn=e,Kc=e&&e.type.__scopeId||null,t}function H3(e){Kc=e}function j3(){Kc=null}function ce(e,t=mn,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&ag(-1);const i=hc(t);let a;try{a=e(...r)}finally{hc(i),o._d&&ag(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function ld(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[a],slots:s,attrs:l,emit:c,render:u,renderCache:d,data:f,setupState:p,ctx:h,inheritAttrs:m}=e;let v,b;const w=hc(e);try{if(n.shapeFlag&4){const S=r||o,_=S;v=Oo(u.call(_,S,d,i,p,f,h)),b=l}else{const S=t;v=Oo(S.length>1?S(i,{attrs:l,slots:s,emit:c}):S(i,null)),b=t.props?l:V3(l)}}catch(S){ms.length=0,Uc(S,e,1),v=ie($n)}let C=v;if(b&&m!==!1){const S=Object.keys(b),{shapeFlag:_}=C;S.length&&_&7&&(a&&S.some(Mh)&&(b=W3(b,a)),C=ao(C,b))}return n.dirs&&(C=ao(C),C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition&&(C.transition=n.transition),v=C,hc(w),v}const V3=e=>{let t;for(const n in e)(n==="class"||n==="style"||Nc(n))&&((t||(t={}))[n]=e[n]);return t},W3=(e,t)=>{const n={};for(const o in e)(!Mh(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function U3(e,t,n){const{props:o,children:r,component:i}=e,{props:a,children:s,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?Km(o,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function G3(e,t){t&&t.pendingBranch?ct(e)?t.effects.push(...e):t.effects.push(e):F3(e)}const Y3=Symbol.for("v-scx"),X3=()=>We(Y3);function Xt(e,t){return Xh(e,null,t)}const _l={};function ft(e,t,n){return Xh(e,t,n)}function Xh(e,t,{immediate:n,deep:o,flush:r,once:i,onTrack:a,onTrigger:s}=Qt){if(t&&i){const x=t;t=(...y)=>{x(...y),_()}}const l=wn,c=x=>o===!0?x:fi(x,o===!1?1:void 0);let u,d=!1,f=!1;if(cn(e)?(u=()=>e.value,d=fc(e)):yi(e)?(u=()=>c(e),d=!0):ct(e)?(f=!0,d=e.some(x=>yi(x)||fc(x)),u=()=>e.map(x=>{if(cn(x))return x.value;if(yi(x))return c(x);if(vt(x))return Dr(x,l,2)})):vt(e)?t?u=()=>Dr(e,l,2):u=()=>(p&&p(),oo(e,l,3,[h])):u=Kn,t&&o){const x=u;u=()=>fi(x())}let p,h=x=>{p=C.onStop=()=>{Dr(x,l,4),p=C.onStop=void 0}},m;if(tu)if(h=Kn,t?n&&oo(t,l,3,[u(),f?[]:void 0,h]):u(),r==="sync"){const x=X3();m=x.__watcherHandles||(x.__watcherHandles=[])}else return Kn;let v=f?new Array(e.length).fill(_l):_l;const b=()=>{if(!(!C.active||!C.dirty))if(t){const x=C.run();(o||d||(f?x.some((y,k)=>Lr(y,v[k])):Lr(x,v)))&&(p&&p(),oo(t,l,3,[x,v===_l?void 0:f&&v[0]===_l?[]:v,h]),v=x)}else C.run()};b.allowRecurse=!!t;let w;r==="sync"?w=b:r==="post"?w=()=>Nn(b,l&&l.suspense):(b.pre=!0,l&&(b.id=l.uid),w=()=>Gh(b));const C=new Bh(u,Kn,w),S=Fh(),_=()=>{C.stop(),S&&zh(S.effects,C)};return t?n?b():v=C.run():r==="post"?Nn(C.run.bind(C),l&&l.suspense):C.run(),m&&m.push(_),_}function Z3(e,t,n){const o=this.proxy,r=ln(e)?e.includes(".")?_y(o,e):()=>o[e]:e.bind(o,o);let i;vt(t)?i=t:(i=t.handler,n=t);const a=Qs(this),s=Xh(r,i.bind(o),n);return a(),s}function _y(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r0){if(n>=t)return e;n++}if(o=o||new Set,o.has(e))return e;if(o.add(e),cn(e))fi(e.value,t,n,o);else if(ct(e))for(let r=0;r{fi(r,t,n,o)});else if(q1(e))for(const r in e)fi(e[r],t,n,o);return e}function dn(e,t){if(mn===null)return e;const n=nu(mn)||mn.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),rn(()=>{e.isUnmounting=!0}),e}const eo=[Function,Array],ky={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:eo,onEnter:eo,onAfterEnter:eo,onEnterCancelled:eo,onBeforeLeave:eo,onLeave:eo,onAfterLeave:eo,onLeaveCancelled:eo,onBeforeAppear:eo,onAppear:eo,onAfterAppear:eo,onAppearCancelled:eo},J3={name:"BaseTransition",props:ky,setup(e,{slots:t}){const n=Jn(),o=Sy();return()=>{const r=t.default&&Zh(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const f of r)if(f.type!==$n){i=f;break}}const a=$t(e),{mode:s}=a;if(o.isLeaving)return cd(i);const l=Ym(i);if(!l)return cd(i);const c=Ms(l,a,o,n);zs(l,c);const u=n.subTree,d=u&&Ym(u);if(d&&d.type!==$n&&!di(l,d)){const f=Ms(d,a,o,n);if(zs(d,f),s==="out-in")return o.isLeaving=!0,f.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},cd(i);s==="in-out"&&l.type!==$n&&(f.delayLeave=(p,h,m)=>{const v=Py(o,d);v[String(d.key)]=d,p[Er]=()=>{h(),p[Er]=void 0,delete c.delayedLeave},c.delayedLeave=m})}return i}}},Q3=J3;function Py(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Ms(e,t,n,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:m,onAppear:v,onAfterAppear:b,onAppearCancelled:w}=t,C=String(e.key),S=Py(n,e),_=(k,P)=>{k&&oo(k,o,9,P)},x=(k,P)=>{const T=P[1];_(k,P),ct(k)?k.every($=>$.length<=1)&&T():k.length<=1&&T()},y={mode:i,persisted:a,beforeEnter(k){let P=s;if(!n.isMounted)if(r)P=m||s;else return;k[Er]&&k[Er](!0);const T=S[C];T&&di(e,T)&&T.el[Er]&&T.el[Er](),_(P,[k])},enter(k){let P=l,T=c,$=u;if(!n.isMounted)if(r)P=v||l,T=b||c,$=w||u;else return;let R=!1;const K=k[Sl]=j=>{R||(R=!0,j?_($,[k]):_(T,[k]),y.delayedLeave&&y.delayedLeave(),k[Sl]=void 0)};P?x(P,[k,K]):K()},leave(k,P){const T=String(e.key);if(k[Sl]&&k[Sl](!0),n.isUnmounting)return P();_(d,[k]);let $=!1;const R=k[Er]=K=>{$||($=!0,P(),K?_(h,[k]):_(p,[k]),k[Er]=void 0,S[T]===e&&delete S[T])};S[T]=e,f?x(f,[k,R]):R()},clone(k){return Ms(k,t,n,o)}};return y}function cd(e){if(Xc(e))return e=ao(e),e.children=null,e}function Ym(e){return Xc(e)?e.children?e.children[0]:void 0:e}function zs(e,t){e.shapeFlag&6&&e.component?zs(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Zh(e,t=!1,n){let o=[],r=0;for(let i=0;i1)for(let i=0;ivn({name:e.name},t,{setup:e}))():e}const fs=e=>!!e.type.__asyncLoader,Xc=e=>e.type.__isKeepAlive;function Jh(e,t){Ty(e,"a",t)}function Zc(e,t){Ty(e,"da",t)}function Ty(e,t,n=wn){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Jc(t,o,n),n){let r=n.parent;for(;r&&r.parent;)Xc(r.parent.vnode)&&e4(o,t,n,r),r=r.parent}}function e4(e,t,n,o){const r=Jc(t,e,o,!0);Ea(()=>{zh(o[t],r)},n)}function Jc(e,t,n=wn,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;Wr();const s=Qs(n),l=oo(t,n,e,a);return s(),Ur(),l});return o?r.unshift(i):r.push(i),i}}const cr=e=>(t,n=wn)=>(!tu||e==="sp")&&Jc(e,(...o)=>t(...o),n),hn=cr("bm"),jt=cr("m"),Ry=cr("bu"),Qh=cr("u"),rn=cr("bum"),Ea=cr("um"),t4=cr("sp"),n4=cr("rtg"),o4=cr("rtc");function r4(e,t=wn){Jc("ec",e,t)}function Hn(e,t,n,o){let r;const i=n&&n[o];if(ct(e)||ln(e)){r=new Array(e.length);for(let a=0,s=e.length;at(a,s,void 0,i&&i[s]));else{const a=Object.keys(e);r=new Array(a.length);for(let s=0,l=a.length;sLs(t)?!(t.type===$n||t.type===rt&&!Ey(t.children)):!0)?e:null}const Cf=e=>e?Vy(e)?nu(e)||e.proxy:Cf(e.parent):null,hs=vn(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Cf(e.parent),$root:e=>Cf(e.root),$emit:e=>e.emit,$options:e=>ep(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Gh(e.update)}),$nextTick:e=>e.n||(e.n=Ht.bind(e.proxy)),$watch:e=>Z3.bind(e)}),ud=(e,t)=>e!==Qt&&!e.__isScriptSetup&&Mt(e,t),i4={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:r,props:i,accessCache:a,type:s,appContext:l}=e;let c;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(ud(o,t))return a[t]=1,o[t];if(r!==Qt&&Mt(r,t))return a[t]=2,r[t];if((c=e.propsOptions[0])&&Mt(c,t))return a[t]=3,i[t];if(n!==Qt&&Mt(n,t))return a[t]=4,n[t];wf&&(a[t]=0)}}const u=hs[t];let d,f;if(u)return t==="$attrs"&&jn(e.attrs,"get",""),u(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==Qt&&Mt(n,t))return a[t]=4,n[t];if(f=l.config.globalProperties,Mt(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return ud(r,t)?(r[t]=n,!0):o!==Qt&&Mt(o,t)?(o[t]=n,!0):Mt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:i}},a){let s;return!!n[a]||e!==Qt&&Mt(e,a)||ud(t,a)||(s=i[0])&&Mt(s,a)||Mt(o,a)||Mt(hs,a)||Mt(r.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Mt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Xm(e){return ct(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let wf=!0;function a4(e){const t=ep(e),n=e.proxy,o=e.ctx;wf=!1,t.beforeCreate&&Zm(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:a,watch:s,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:p,updated:h,activated:m,deactivated:v,beforeDestroy:b,beforeUnmount:w,destroyed:C,unmounted:S,render:_,renderTracked:x,renderTriggered:y,errorCaptured:k,serverPrefetch:P,expose:T,inheritAttrs:$,components:R,directives:K,filters:j}=t;if(c&&s4(c,o,null),a)for(const Y in a){const Q=a[Y];vt(Q)&&(o[Y]=Q.bind(n))}if(r){const Y=r.call(n,n);Zt(Y)&&(e.data=Zn(Y))}if(wf=!0,i)for(const Y in i){const Q=i[Y],de=vt(Q)?Q.bind(n,n):vt(Q.get)?Q.get.bind(n,n):Kn,pe=!vt(Q)&&vt(Q.set)?Q.set.bind(n):Kn,B=L({get:de,set:pe});Object.defineProperty(o,Y,{enumerable:!0,configurable:!0,get:()=>B.value,set:E=>B.value=E})}if(s)for(const Y in s)$y(s[Y],o,n,Y);if(l){const Y=vt(l)?l.call(n):l;Reflect.ownKeys(Y).forEach(Q=>{at(Q,Y[Q])})}u&&Zm(u,e,"c");function M(Y,Q){ct(Q)?Q.forEach(de=>Y(de.bind(n))):Q&&Y(Q.bind(n))}if(M(hn,d),M(jt,f),M(Ry,p),M(Qh,h),M(Jh,m),M(Zc,v),M(r4,k),M(o4,x),M(n4,y),M(rn,w),M(Ea,S),M(t4,P),ct(T))if(T.length){const Y=e.exposed||(e.exposed={});T.forEach(Q=>{Object.defineProperty(Y,Q,{get:()=>n[Q],set:de=>n[Q]=de})})}else e.exposed||(e.exposed={});_&&e.render===Kn&&(e.render=_),$!=null&&(e.inheritAttrs=$),R&&(e.components=R),K&&(e.directives=K)}function s4(e,t,n=Kn){ct(e)&&(e=_f(e));for(const o in e){const r=e[o];let i;Zt(r)?"default"in r?i=We(r.from||o,r.default,!0):i=We(r.from||o):i=We(r),cn(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[o]=i}}function Zm(e,t,n){oo(ct(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function $y(e,t,n,o){const r=o.includes(".")?_y(n,o):()=>n[o];if(ln(e)){const i=t[e];vt(i)&&ft(r,i)}else if(vt(e))ft(r,e.bind(n));else if(Zt(e))if(ct(e))e.forEach(i=>$y(i,t,n,o));else{const i=vt(e.handler)?e.handler.bind(n):t[e.handler];vt(i)&&ft(r,i,e)}}function ep(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let l;return s?l=s:!r.length&&!n&&!o?l=t:(l={},r.length&&r.forEach(c=>pc(l,c,a,!0)),pc(l,t,a)),Zt(t)&&i.set(t,l),l}function pc(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&pc(e,i,n,!0),r&&r.forEach(a=>pc(e,a,n,!0));for(const a in t)if(!(o&&a==="expose")){const s=l4[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const l4={data:Jm,props:Qm,emits:Qm,methods:as,computed:as,beforeCreate:In,created:In,beforeMount:In,mounted:In,beforeUpdate:In,updated:In,beforeDestroy:In,beforeUnmount:In,destroyed:In,unmounted:In,activated:In,deactivated:In,errorCaptured:In,serverPrefetch:In,components:as,directives:as,watch:u4,provide:Jm,inject:c4};function Jm(e,t){return t?e?function(){return vn(vt(e)?e.call(this,this):e,vt(t)?t.call(this,this):t)}:t:e}function c4(e,t){return as(_f(e),_f(t))}function _f(e){if(ct(e)){const t={};for(let n=0;n1)return n&&vt(t)?t.call(o&&o.proxy):t}}function h4(){return!!(wn||mn||ua)}const Iy=Object.create(null),Sf=()=>Object.create(Iy),Oy=e=>Object.getPrototypeOf(e)===Iy;function p4(e,t,n,o=!1){const r={},i=Sf();e.propsDefaults=Object.create(null),My(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:uy(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function m4(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:a}}=e,s=$t(r),[l]=e.propsOptions;let c=!1;if((o||a>0)&&!(a&16)){if(a&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,p]=zy(d,t,!0);vn(a,f),p&&s.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return Zt(e)&&o.set(e,sa),sa;if(ct(i))for(let u=0;u-1,p[1]=m<0||h-1||Mt(p,"default"))&&s.push(d)}}}const c=[a,s];return Zt(e)&&o.set(e,c),c}function eg(e){return e[0]!=="$"&&!us(e)}function tg(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function ng(e,t){return tg(e)===tg(t)}function og(e,t){return ct(t)?t.findIndex(n=>ng(n,e)):vt(t)&&ng(t,e)?0:-1}const Dy=e=>e[0]==="_"||e==="$stable",tp=e=>ct(e)?e.map(Oo):[Oo(e)],g4=(e,t,n)=>{if(t._n)return t;const o=ce((...r)=>tp(t(...r)),n);return o._c=!1,o},Ly=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Dy(r))continue;const i=e[r];if(vt(i))t[r]=g4(r,i,o);else if(i!=null){const a=tp(i);t[r]=()=>a}}},Fy=(e,t)=>{const n=tp(t);e.slots.default=()=>n},v4=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=$t(t),K1(e.slots,"_",n)):Ly(t,e.slots=Sf())}else e.slots=Sf(),t&&Fy(e,t)},b4=(e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,a=Qt;if(o.shapeFlag&32){const s=t._;s?n&&s===1?i=!1:(vn(r,t),!n&&s===1&&delete r._):(i=!t.$stable,Ly(t,r)),a=t}else t&&(Fy(e,t),a={default:1});if(i)for(const s in r)!Dy(s)&&a[s]==null&&delete r[s]};function Pf(e,t,n,o,r=!1){if(ct(e)){e.forEach((f,p)=>Pf(f,t&&(ct(t)?t[p]:t),n,o,r));return}if(fs(o)&&!r)return;const i=o.shapeFlag&4?nu(o.component)||o.component.proxy:o.el,a=r?null:i,{i:s,r:l}=e,c=t&&t.r,u=s.refs===Qt?s.refs={}:s.refs,d=s.setupState;if(c!=null&&c!==l&&(ln(c)?(u[c]=null,Mt(d,c)&&(d[c]=null)):cn(c)&&(c.value=null)),vt(l))Dr(l,s,12,[a,u]);else{const f=ln(l),p=cn(l);if(f||p){const h=()=>{if(e.f){const m=f?Mt(d,l)?d[l]:u[l]:l.value;r?ct(m)&&zh(m,i):ct(m)?m.includes(i)||m.push(i):f?(u[l]=[i],Mt(d,l)&&(d[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else f?(u[l]=a,Mt(d,l)&&(d[l]=a)):p&&(l.value=a,e.k&&(u[e.k]=a))};a?(h.id=-1,Nn(h,n)):h()}}}const Nn=G3;function y4(e){return x4(e)}function x4(e,t){const n=G1();n.__VUE__=!0;const{insert:o,remove:r,patchProp:i,createElement:a,createText:s,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:p=Kn,insertStaticContent:h}=e,m=(F,O,re,_e=null,ee=null,ye=null,Pe=void 0,I=null,H=!!O.dynamicChildren)=>{if(F===O)return;F&&!di(F,O)&&(_e=J(F),E(F,ee,ye,!0),F=null),O.patchFlag===-2&&(H=!1,O.dynamicChildren=null);const{type:te,ref:Ce,shapeFlag:ae}=O;switch(te){case $a:v(F,O,re,_e);break;case $n:b(F,O,re,_e);break;case Jl:F==null&&w(O,re,_e,Pe);break;case rt:R(F,O,re,_e,ee,ye,Pe,I,H);break;default:ae&1?_(F,O,re,_e,ee,ye,Pe,I,H):ae&6?K(F,O,re,_e,ee,ye,Pe,I,H):(ae&64||ae&128)&&te.process(F,O,re,_e,ee,ye,Pe,I,H,be)}Ce!=null&&ee&&Pf(Ce,F&&F.ref,ye,O||F,!O)},v=(F,O,re,_e)=>{if(F==null)o(O.el=s(O.children),re,_e);else{const ee=O.el=F.el;O.children!==F.children&&c(ee,O.children)}},b=(F,O,re,_e)=>{F==null?o(O.el=l(O.children||""),re,_e):O.el=F.el},w=(F,O,re,_e)=>{[F.el,F.anchor]=h(F.children,O,re,_e,F.el,F.anchor)},C=({el:F,anchor:O},re,_e)=>{let ee;for(;F&&F!==O;)ee=f(F),o(F,re,_e),F=ee;o(O,re,_e)},S=({el:F,anchor:O})=>{let re;for(;F&&F!==O;)re=f(F),r(F),F=re;r(O)},_=(F,O,re,_e,ee,ye,Pe,I,H)=>{O.type==="svg"?Pe="svg":O.type==="math"&&(Pe="mathml"),F==null?x(O,re,_e,ee,ye,Pe,I,H):P(F,O,ee,ye,Pe,I,H)},x=(F,O,re,_e,ee,ye,Pe,I)=>{let H,te;const{props:Ce,shapeFlag:ae,transition:he,dirs:ne}=F;if(H=F.el=a(F.type,ye,Ce&&Ce.is,Ce),ae&8?u(H,F.children):ae&16&&k(F.children,H,null,_e,ee,dd(F,ye),Pe,I),ne&&ti(F,null,_e,"created"),y(H,F,F.scopeId,Pe,_e),Ce){for(const De in Ce)De!=="value"&&!us(De)&&i(H,De,null,Ce[De],ye,F.children,_e,ee,fe);"value"in Ce&&i(H,"value",null,Ce.value,ye),(te=Ce.onVnodeBeforeMount)&&$o(te,_e,F)}ne&&ti(F,null,_e,"beforeMount");const ue=C4(ee,he);ue&&he.beforeEnter(H),o(H,O,re),((te=Ce&&Ce.onVnodeMounted)||ue||ne)&&Nn(()=>{te&&$o(te,_e,F),ue&&he.enter(H),ne&&ti(F,null,_e,"mounted")},ee)},y=(F,O,re,_e,ee)=>{if(re&&p(F,re),_e)for(let ye=0;ye<_e.length;ye++)p(F,_e[ye]);if(ee){let ye=ee.subTree;if(O===ye){const Pe=ee.vnode;y(F,Pe,Pe.scopeId,Pe.slotScopeIds,ee.parent)}}},k=(F,O,re,_e,ee,ye,Pe,I,H=0)=>{for(let te=H;te{const I=O.el=F.el;let{patchFlag:H,dynamicChildren:te,dirs:Ce}=O;H|=F.patchFlag&16;const ae=F.props||Qt,he=O.props||Qt;let ne;if(re&&ni(re,!1),(ne=he.onVnodeBeforeUpdate)&&$o(ne,re,O,F),Ce&&ti(O,F,re,"beforeUpdate"),re&&ni(re,!0),te?T(F.dynamicChildren,te,I,re,_e,dd(O,ee),ye):Pe||Q(F,O,I,null,re,_e,dd(O,ee),ye,!1),H>0){if(H&16)$(I,O,ae,he,re,_e,ee);else if(H&2&&ae.class!==he.class&&i(I,"class",null,he.class,ee),H&4&&i(I,"style",ae.style,he.style,ee),H&8){const ue=O.dynamicProps;for(let De=0;De{ne&&$o(ne,re,O,F),Ce&&ti(O,F,re,"updated")},_e)},T=(F,O,re,_e,ee,ye,Pe)=>{for(let I=0;I{if(re!==_e){if(re!==Qt)for(const I in re)!us(I)&&!(I in _e)&&i(F,I,re[I],null,Pe,O.children,ee,ye,fe);for(const I in _e){if(us(I))continue;const H=_e[I],te=re[I];H!==te&&I!=="value"&&i(F,I,te,H,Pe,O.children,ee,ye,fe)}"value"in _e&&i(F,"value",re.value,_e.value,Pe)}},R=(F,O,re,_e,ee,ye,Pe,I,H)=>{const te=O.el=F?F.el:s(""),Ce=O.anchor=F?F.anchor:s("");let{patchFlag:ae,dynamicChildren:he,slotScopeIds:ne}=O;ne&&(I=I?I.concat(ne):ne),F==null?(o(te,re,_e),o(Ce,re,_e),k(O.children||[],re,Ce,ee,ye,Pe,I,H)):ae>0&&ae&64&&he&&F.dynamicChildren?(T(F.dynamicChildren,he,re,ee,ye,Pe,I),(O.key!=null||ee&&O===ee.subTree)&&np(F,O,!0)):Q(F,O,re,Ce,ee,ye,Pe,I,H)},K=(F,O,re,_e,ee,ye,Pe,I,H)=>{O.slotScopeIds=I,F==null?O.shapeFlag&512?ee.ctx.activate(O,re,_e,Pe,H):j(O,re,_e,ee,ye,Pe,H):D(F,O,H)},j=(F,O,re,_e,ee,ye,Pe)=>{const I=F.component=I4(F,_e,ee);if(Xc(F)&&(I.ctx.renderer=be),O4(I),I.asyncDep){if(ee&&ee.registerDep(I,M),!F.el){const H=I.subTree=ie($n);b(null,H,O,re)}}else M(I,F,O,re,ee,ye,Pe)},D=(F,O,re)=>{const _e=O.component=F.component;if(U3(F,O,re))if(_e.asyncDep&&!_e.asyncResolved){Y(_e,O,re);return}else _e.next=O,L3(_e.update),_e.effect.dirty=!0,_e.update();else O.el=F.el,_e.vnode=O},M=(F,O,re,_e,ee,ye,Pe)=>{const I=()=>{if(F.isMounted){let{next:Ce,bu:ae,u:he,parent:ne,vnode:ue}=F;{const je=By(F);if(je){Ce&&(Ce.el=ue.el,Y(F,Ce,Pe)),je.asyncDep.then(()=>{F.isUnmounted||I()});return}}let De=Ce,Ue;ni(F,!1),Ce?(Ce.el=ue.el,Y(F,Ce,Pe)):Ce=ue,ae&&Zl(ae),(Ue=Ce.props&&Ce.props.onVnodeBeforeUpdate)&&$o(Ue,ne,Ce,ue),ni(F,!0);const ke=ld(F),Fe=F.subTree;F.subTree=ke,m(Fe,ke,d(Fe.el),J(Fe),F,ee,ye),Ce.el=ke.el,De===null&&q3(F,ke.el),he&&Nn(he,ee),(Ue=Ce.props&&Ce.props.onVnodeUpdated)&&Nn(()=>$o(Ue,ne,Ce,ue),ee)}else{let Ce;const{el:ae,props:he}=O,{bm:ne,m:ue,parent:De}=F,Ue=fs(O);if(ni(F,!1),ne&&Zl(ne),!Ue&&(Ce=he&&he.onVnodeBeforeMount)&&$o(Ce,De,O),ni(F,!0),ae&&Le){const ke=()=>{F.subTree=ld(F),Le(ae,F.subTree,F,ee,null)};Ue?O.type.__asyncLoader().then(()=>!F.isUnmounted&&ke()):ke()}else{const ke=F.subTree=ld(F);m(null,ke,re,_e,F,ee,ye),O.el=ke.el}if(ue&&Nn(ue,ee),!Ue&&(Ce=he&&he.onVnodeMounted)){const ke=O;Nn(()=>$o(Ce,De,ke),ee)}(O.shapeFlag&256||De&&fs(De.vnode)&&De.vnode.shapeFlag&256)&&F.a&&Nn(F.a,ee),F.isMounted=!0,O=re=_e=null}},H=F.effect=new Bh(I,Kn,()=>Gh(te),F.scope),te=F.update=()=>{H.dirty&&H.run()};te.id=F.uid,ni(F,!0),te()},Y=(F,O,re)=>{O.component=F;const _e=F.vnode.props;F.vnode=O,F.next=null,m4(F,O.props,_e,re),b4(F,O.children,re),Wr(),qm(F),Ur()},Q=(F,O,re,_e,ee,ye,Pe,I,H=!1)=>{const te=F&&F.children,Ce=F?F.shapeFlag:0,ae=O.children,{patchFlag:he,shapeFlag:ne}=O;if(he>0){if(he&128){pe(te,ae,re,_e,ee,ye,Pe,I,H);return}else if(he&256){de(te,ae,re,_e,ee,ye,Pe,I,H);return}}ne&8?(Ce&16&&fe(te,ee,ye),ae!==te&&u(re,ae)):Ce&16?ne&16?pe(te,ae,re,_e,ee,ye,Pe,I,H):fe(te,ee,ye,!0):(Ce&8&&u(re,""),ne&16&&k(ae,re,_e,ee,ye,Pe,I,H))},de=(F,O,re,_e,ee,ye,Pe,I,H)=>{F=F||sa,O=O||sa;const te=F.length,Ce=O.length,ae=Math.min(te,Ce);let he;for(he=0;heCe?fe(F,ee,ye,!0,!1,ae):k(O,re,_e,ee,ye,Pe,I,H,ae)},pe=(F,O,re,_e,ee,ye,Pe,I,H)=>{let te=0;const Ce=O.length;let ae=F.length-1,he=Ce-1;for(;te<=ae&&te<=he;){const ne=F[te],ue=O[te]=H?$r(O[te]):Oo(O[te]);if(di(ne,ue))m(ne,ue,re,null,ee,ye,Pe,I,H);else break;te++}for(;te<=ae&&te<=he;){const ne=F[ae],ue=O[he]=H?$r(O[he]):Oo(O[he]);if(di(ne,ue))m(ne,ue,re,null,ee,ye,Pe,I,H);else break;ae--,he--}if(te>ae){if(te<=he){const ne=he+1,ue=nehe)for(;te<=ae;)E(F[te],ee,ye,!0),te++;else{const ne=te,ue=te,De=new Map;for(te=ue;te<=he;te++){const X=O[te]=H?$r(O[te]):Oo(O[te]);X.key!=null&&De.set(X.key,te)}let Ue,ke=0;const Fe=he-ue+1;let je=!1,Ae=0;const Je=new Array(Fe);for(te=0;te=Fe){E(X,ee,ye,!0);continue}let ge;if(X.key!=null)ge=De.get(X.key);else for(Ue=ue;Ue<=he;Ue++)if(Je[Ue-ue]===0&&di(X,O[Ue])){ge=Ue;break}ge===void 0?E(X,ee,ye,!0):(Je[ge-ue]=te+1,ge>=Ae?Ae=ge:je=!0,m(X,O[ge],re,null,ee,ye,Pe,I,H),ke++)}const xt=je?w4(Je):sa;for(Ue=xt.length-1,te=Fe-1;te>=0;te--){const X=ue+te,ge=O[X],$e=X+1{const{el:ye,type:Pe,transition:I,children:H,shapeFlag:te}=F;if(te&6){B(F.component.subTree,O,re,_e);return}if(te&128){F.suspense.move(O,re,_e);return}if(te&64){Pe.move(F,O,re,be);return}if(Pe===rt){o(ye,O,re);for(let ae=0;aeI.enter(ye),ee);else{const{leave:ae,delayLeave:he,afterLeave:ne}=I,ue=()=>o(ye,O,re),De=()=>{ae(ye,()=>{ue(),ne&&ne()})};he?he(ye,ue,De):De()}else o(ye,O,re)},E=(F,O,re,_e=!1,ee=!1)=>{const{type:ye,props:Pe,ref:I,children:H,dynamicChildren:te,shapeFlag:Ce,patchFlag:ae,dirs:he}=F;if(I!=null&&Pf(I,null,re,F,!0),Ce&256){O.ctx.deactivate(F);return}const ne=Ce&1&&he,ue=!fs(F);let De;if(ue&&(De=Pe&&Pe.onVnodeBeforeUnmount)&&$o(De,O,F),Ce&6)oe(F.component,re,_e);else{if(Ce&128){F.suspense.unmount(re,_e);return}ne&&ti(F,null,O,"beforeUnmount"),Ce&64?F.type.remove(F,O,re,ee,be,_e):te&&(ye!==rt||ae>0&&ae&64)?fe(te,O,re,!1,!0):(ye===rt&&ae&384||!ee&&Ce&16)&&fe(H,O,re),_e&&A(F)}(ue&&(De=Pe&&Pe.onVnodeUnmounted)||ne)&&Nn(()=>{De&&$o(De,O,F),ne&&ti(F,null,O,"unmounted")},re)},A=F=>{const{type:O,el:re,anchor:_e,transition:ee}=F;if(O===rt){G(re,_e);return}if(O===Jl){S(F);return}const ye=()=>{r(re),ee&&!ee.persisted&&ee.afterLeave&&ee.afterLeave()};if(F.shapeFlag&1&&ee&&!ee.persisted){const{leave:Pe,delayLeave:I}=ee,H=()=>Pe(re,ye);I?I(F.el,ye,H):H()}else ye()},G=(F,O)=>{let re;for(;F!==O;)re=f(F),r(F),F=re;r(O)},oe=(F,O,re)=>{const{bum:_e,scope:ee,update:ye,subTree:Pe,um:I}=F;_e&&Zl(_e),ee.stop(),ye&&(ye.active=!1,E(Pe,F,O,re)),I&&Nn(I,O),Nn(()=>{F.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&F.asyncDep&&!F.asyncResolved&&F.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},fe=(F,O,re,_e=!1,ee=!1,ye=0)=>{for(let Pe=ye;PeF.shapeFlag&6?J(F.component.subTree):F.shapeFlag&128?F.suspense.next():f(F.anchor||F.el);let xe=!1;const N=(F,O,re)=>{F==null?O._vnode&&E(O._vnode,null,null,!0):m(O._vnode||null,F,O,null,null,null,re),xe||(xe=!0,qm(),by(),xe=!1),O._vnode=F},be={p:m,um:E,m:B,r:A,mt:j,mc:k,pc:Q,pbc:T,n:J,o:e};let Oe,Le;return t&&([Oe,Le]=t(be)),{render:N,hydrate:Oe,createApp:f4(N,Oe)}}function dd({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ni({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function C4(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function np(e,t,n=!1){const o=e.children,r=t.children;if(ct(o)&&ct(r))for(let i=0;i>1,e[n[s]]0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}function By(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:By(t)}const _4=e=>e.__isTeleport,ps=e=>e&&(e.disabled||e.disabled===""),rg=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ig=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Tf=(e,t)=>{const n=e&&e.to;return ln(n)?t?t(n):null:n},S4={name:"Teleport",__isTeleport:!0,process(e,t,n,o,r,i,a,s,l,c){const{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:h,createText:m,createComment:v}}=c,b=ps(t.props);let{shapeFlag:w,children:C,dynamicChildren:S}=t;if(e==null){const _=t.el=m(""),x=t.anchor=m("");p(_,n,o),p(x,n,o);const y=t.target=Tf(t.props,h),k=t.targetAnchor=m("");y&&(p(k,y),a==="svg"||rg(y)?a="svg":(a==="mathml"||ig(y))&&(a="mathml"));const P=(T,$)=>{w&16&&u(C,T,$,r,i,a,s,l)};b?P(n,x):y&&P(y,k)}else{t.el=e.el;const _=t.anchor=e.anchor,x=t.target=e.target,y=t.targetAnchor=e.targetAnchor,k=ps(e.props),P=k?n:x,T=k?_:y;if(a==="svg"||rg(x)?a="svg":(a==="mathml"||ig(x))&&(a="mathml"),S?(f(e.dynamicChildren,S,P,r,i,a,s),np(e,t,!0)):l||d(e,t,P,T,r,i,a,s,!1),b)k?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):kl(t,n,_,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const $=t.target=Tf(t.props,h);$&&kl(t,$,null,c,0)}else k&&kl(t,x,y,c,1)}Ny(t)},remove(e,t,n,o,{um:r,o:{remove:i}},a){const{shapeFlag:s,children:l,anchor:c,targetAnchor:u,target:d,props:f}=e;if(d&&i(u),a&&i(c),s&16){const p=a||!ps(f);for(let h=0;h0?yo||sa:null,P4(),Ds>0&&yo&&yo.push(e),e}function ze(e,t,n,o,r,i){return Hy(U(e,t,n,o,r,i,!0))}function qe(e,t,n,o,r){return Hy(ie(e,t,n,o,r,!0))}function Ls(e){return e?e.__v_isVNode===!0:!1}function di(e,t){return e.type===t.type&&e.key===t.key}const jy=({key:e})=>e??null,Ql=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ln(e)||cn(e)||vt(e)?{i:mn,r:e,k:t,f:!!n}:e:null);function U(e,t=null,n=null,o=0,r=null,i=e===rt?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&jy(t),ref:t&&Ql(t),scopeId:Kc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:mn};return s?(op(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=ln(n)?8:16),Ds>0&&!a&&yo&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&yo.push(l),l}const ie=T4;function T4(e,t=null,n=null,o=0,r=null,i=!1){if((!e||e===Cy)&&(e=$n),Ls(e)){const s=ao(e,t,!0);return n&&op(s,n),Ds>0&&!i&&yo&&(s.shapeFlag&6?yo[yo.indexOf(e)]=s:yo.push(s)),s.patchFlag|=-2,s}if(F4(e)&&(e=e.__vccOpts),t){t=R4(t);let{class:s,style:l}=t;s&&!ln(s)&&(t.class=ir(s)),Zt(l)&&(dy(l)&&!ct(l)&&(l=vn({},l)),t.style=Fr(l))}const a=ln(e)?1:K3(e)?128:_4(e)?64:Zt(e)?4:vt(e)?2:0;return U(e,t,n,o,r,a,i,!0)}function R4(e){return e?dy(e)||Oy(e)?vn({},e):e:null}function ao(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:a}=e,s=t?Ln(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&jy(s),ref:t&&t.ref?n&&r?ct(r)?r.concat(Ql(t)):[r,Ql(t)]:Ql(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==rt?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ao(e.ssContent),ssFallback:e.ssFallback&&ao(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function nt(e=" ",t=0){return ie($a,null,e,t)}function E4(e,t){const n=ie(Jl,null,e);return n.staticCount=t,n}function pt(e="",t=!1){return t?(me(),qe($n,null,e)):ie($n,null,e)}function Oo(e){return e==null||typeof e=="boolean"?ie($n):ct(e)?ie(rt,null,e.slice()):typeof e=="object"?$r(e):ie($a,null,String(e))}function $r(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ao(e)}function op(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(ct(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),op(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Oy(t)?t._ctx=mn:r===3&&mn&&(mn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else vt(t)?(t={default:t,_ctx:mn},n=32):(t=String(t),o&64?(n=16,t=[nt(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ln(...e){const t={};for(let n=0;nwn||mn;let mc,Rf;{const e=G1(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),i=>{r.length>1?r.forEach(a=>a(i)):r[0](i)}};mc=t("__VUE_INSTANCE_SETTERS__",n=>wn=n),Rf=t("__VUE_SSR_SETTERS__",n=>tu=n)}const Qs=e=>{const t=wn;return mc(e),e.scope.on(),()=>{e.scope.off(),mc(t)}},sg=()=>{wn&&wn.scope.off(),mc(null)};function Vy(e){return e.vnode.shapeFlag&4}let tu=!1;function O4(e,t=!1){t&&Rf(t);const{props:n,children:o}=e.vnode,r=Vy(e);p4(e,n,r,t),v4(e,o);const i=r?M4(e,t):void 0;return t&&Rf(!1),i}function M4(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,i4);const{setup:o}=n;if(o){const r=e.setupContext=o.length>1?D4(e):null,i=Qs(e);Wr();const a=Dr(o,e,0,[e.props,r]);if(Ur(),i(),W1(a)){if(a.then(sg,sg),t)return a.then(s=>{lg(e,s,t)}).catch(s=>{Uc(s,e,0)});e.asyncDep=a}else lg(e,a,t)}else Wy(e,t)}function lg(e,t,n){vt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Zt(t)&&(e.setupState=py(t)),Wy(e,n)}let cg;function Wy(e,t,n){const o=e.type;if(!e.render){if(!t&&cg&&!o.render){const r=o.template||ep(e).template;if(r){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=o,c=vn(vn({isCustomElement:i,delimiters:s},a),l);o.render=cg(r,c)}}e.render=o.render||Kn}{const r=Qs(e);Wr();try{a4(e)}finally{Ur(),r()}}}const z4={get(e,t){return jn(e,"get",""),e[t]}};function D4(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,z4),slots:e.slots,emit:e.emit,expose:t}}function nu(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(py($s(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in hs)return hs[n](e)},has(t,n){return n in t||n in hs}}))}function L4(e,t=!0){return vt(e)?e.displayName||e.name:e.name||t&&e.__name}function F4(e){return vt(e)&&"__vccOpts"in e}const L=(e,t)=>T3(e,t,tu);function g(e,t,n){const o=arguments.length;return o===2?Zt(t)&&!ct(t)?Ls(t)?ie(e,null,[t]):ie(e,t):ie(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Ls(n)&&(n=[n]),ie(e,t,n))}const B4="3.4.23";/** -* @vue/runtime-dom v3.4.23 +**/function Fr(e,t,n,o){try{return o?e(...o):e()}catch(r){Gc(r,t,n)}}function ao(e,t,n,o){if(mt(e)){const r=Fr(e,t,n,o);return r&&sy(r)&&r.catch(i=>{Gc(i,t,n)}),r}if(ct(e)){const r=[];for(let i=0;i>>1,r=$n[o],i=Fs(r);iBo&&$n.splice(t,1)}function i4(e){ct(e)?pa.push(...e):(!$r||!$r.includes(e,e.allowRecurse?hi+1:hi))&&pa.push(e),zy()}function ag(e,t,n=Ls?Bo+1:0){for(;n<$n.length;n++){const o=$n[n];if(o&&o.pre){if(e&&o.id!==e.uid)continue;$n.splice(n,1),n--,o()}}}function Dy(e){if(pa.length){const t=[...new Set(pa)].sort((n,o)=>Fs(n)-Fs(o));if(pa.length=0,$r){$r.push(...t);return}for($r=t,hi=0;hi<$r.length;hi++){const n=$r[hi];n.active!==!1&&n()}$r=null,hi=0}}const Fs=e=>e.id==null?1/0:e.id,a4=(e,t)=>{const n=Fs(e)-Fs(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ly(e){Af=!1,Ls=!0,$n.sort(a4);const t=Kn;try{for(Bo=0;Bo<$n.length;Bo++){const n=$n[Bo];n&&n.active!==!1&&Fr(n,n.i,n.i?15:14)}}finally{Bo=0,$n.length=0,Dy(),Ls=!1,ap=null,($n.length||pa.length)&&Ly()}}let xn=null,Yc=null;function pc(e){const t=xn;return xn=e,Yc=e&&e.type.__scopeId||null,t}function s4(e){Yc=e}function l4(){Yc=null}function ue(e,t=xn,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&bg(-1);const i=pc(t);let a;try{a=e(...r)}finally{pc(i),o._d&&bg(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function dn(e,t){if(xn===null)return e;const n=iu(xn),o=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),on(()=>{e.isUnmounting=!0}),e}const oo=[Function,Array],By={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:oo,onEnter:oo,onAfterEnter:oo,onEnterCancelled:oo,onBeforeLeave:oo,onLeave:oo,onAfterLeave:oo,onLeaveCancelled:oo,onBeforeAppear:oo,onAppear:oo,onAfterAppear:oo,onAppearCancelled:oo},Ny=e=>{const t=e.subTree;return t.component?Ny(t.component):t},c4={name:"BaseTransition",props:By,setup(e,{slots:t}){const n=to(),o=Fy();return()=>{const r=t.default&&lp(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const f of r)if(f.type!==_n){i=f;break}}const a=It(e),{mode:s}=a;if(o.isLeaving)return bd(i);const l=sg(i);if(!l)return bd(i);let c=Bs(l,a,o,n,f=>c=f);Ca(l,c);const u=n.subTree,d=u&&sg(u);if(d&&d.type!==_n&&!pi(l,d)&&Ny(n).type!==_n){const f=Bs(d,a,o,n);if(Ca(d,f),s==="out-in"&&l.type!==_n)return o.isLeaving=!0,f.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},bd(i);s==="in-out"&&l.type!==_n&&(f.delayLeave=(h,p,g)=>{const m=Hy(o,d);m[String(d.key)]=d,h[Ar]=()=>{p(),h[Ar]=void 0,delete c.delayedLeave},c.delayedLeave=g})}return i}}},u4=c4;function Hy(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Bs(e,t,n,o,r){const{appear:i,mode:a,persisted:s=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:p,onLeaveCancelled:g,onBeforeAppear:m,onAppear:b,onAfterAppear:_,onAppearCancelled:C}=t,S=String(e.key),w=Hy(n,e),x=(k,T)=>{k&&ao(k,o,9,T)},y=(k,T)=>{const E=T[1];x(k,T),ct(k)?k.every(R=>R.length<=1)&&E():k.length<=1&&E()},P={mode:a,persisted:s,beforeEnter(k){let T=l;if(!n.isMounted)if(i)T=m||l;else return;k[Ar]&&k[Ar](!0);const E=w[S];E&&pi(e,E)&&E.el[Ar]&&E.el[Ar](),x(T,[k])},enter(k){let T=c,E=u,R=d;if(!n.isMounted)if(i)T=b||c,E=_||u,R=C||d;else return;let K=!1;const N=k[kl]=D=>{K||(K=!0,D?x(R,[k]):x(E,[k]),P.delayedLeave&&P.delayedLeave(),k[kl]=void 0)};T?y(T,[k,N]):N()},leave(k,T){const E=String(e.key);if(k[kl]&&k[kl](!0),n.isUnmounting)return T();x(f,[k]);let R=!1;const K=k[Ar]=N=>{R||(R=!0,T(),N?x(g,[k]):x(p,[k]),k[Ar]=void 0,w[E]===e&&delete w[E])};w[E]=e,h?y(h,[k,K]):K()},clone(k){const T=Bs(k,t,n,o,r);return r&&r(T),T}};return P}function bd(e){if(Xc(e))return e=uo(e),e.children=null,e}function sg(e){if(!Xc(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&mt(n.default))return n.default()}}function Ca(e,t){e.shapeFlag&6&&e.component?Ca(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function lp(e,t=!1,n){let o=[],r=0;for(let i=0;i1)for(let i=0;iwn({name:e.name},t,{setup:e}))():e}const bs=e=>!!e.type.__asyncLoader,Xc=e=>e.type.__isKeepAlive;function cp(e,t){jy(e,"a",t)}function Zc(e,t){jy(e,"da",t)}function jy(e,t,n=Sn){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Jc(t,o,n),n){let r=n.parent;for(;r&&r.parent;)Xc(r.parent.vnode)&&d4(o,t,n,r),r=r.parent}}function d4(e,t,n,o){const r=Jc(t,e,o,!0);Ma(()=>{Gh(o[t],r)},n)}function Jc(e,t,n=Sn,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{Kr();const s=ol(n),l=ao(t,n,e,a);return s(),Gr(),l});return o?r.unshift(i):r.push(i),i}}const dr=e=>(t,n=Sn)=>{(!ru||e==="sp")&&Jc(e,(...o)=>t(...o),n)},hn=dr("bm"),jt=dr("m"),Vy=dr("bu"),up=dr("u"),on=dr("bum"),Ma=dr("um"),f4=dr("sp"),h4=dr("rtg"),p4=dr("rtc");function m4(e,t=Sn){Jc("ec",e,t)}const dp="components";function Qc(e,t){return Uy(dp,e,!0,t)||e}const Wy=Symbol.for("v-ndc");function eu(e){return ln(e)?Uy(dp,e,!1)||e:e||Wy}function Uy(e,t,n=!0,o=!1){const r=xn||Sn;if(r){const i=r.type;if(e===dp){const s=aP(i,!1);if(s&&(s===t||s===To(t)||s===qc(To(t))))return i}const a=lg(r[e]||i[e],t)||lg(r.appContext[e],t);return!a&&o?i:a}}function lg(e,t){return e&&(e[t]||e[To(t)]||e[qc(To(t))])}function Hn(e,t,n,o){let r;const i=n&&n[o];if(ct(e)||ln(e)){r=new Array(e.length);for(let a=0,s=e.length;at(a,s,void 0,i&&i[s]));else{const a=Object.keys(e);r=new Array(a.length);for(let s=0,l=a.length;sHs(t)?!(t.type===_n||t.type===it&&!qy(t.children)):!0)?e:null}const If=e=>e?fx(e)?iu(e):If(e.parent):null,ys=wn(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>If(e.parent),$root:e=>If(e.root),$emit:e=>e.emit,$options:e=>fp(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,sp(e.update)}),$nextTick:e=>e.n||(e.n=Ht.bind(e.proxy)),$watch:e=>N4.bind(e)}),yd=(e,t)=>e!==nn&&!e.__isScriptSetup&&Mt(e,t),g4={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:r,props:i,accessCache:a,type:s,appContext:l}=e;let c;if(t[0]!=="$"){const h=a[t];if(h!==void 0)switch(h){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(yd(o,t))return a[t]=1,o[t];if(r!==nn&&Mt(r,t))return a[t]=2,r[t];if((c=e.propsOptions[0])&&Mt(c,t))return a[t]=3,i[t];if(n!==nn&&Mt(n,t))return a[t]=4,n[t];Of&&(a[t]=0)}}const u=ys[t];let d,f;if(u)return t==="$attrs"&&jn(e.attrs,"get",""),u(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==nn&&Mt(n,t))return a[t]=4,n[t];if(f=l.config.globalProperties,Mt(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return yd(r,t)?(r[t]=n,!0):o!==nn&&Mt(o,t)?(o[t]=n,!0):Mt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:i}},a){let s;return!!n[a]||e!==nn&&Mt(e,a)||yd(t,a)||(s=i[0])&&Mt(s,a)||Mt(o,a)||Mt(ys,a)||Mt(r.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Mt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function cg(e){return ct(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Of=!0;function v4(e){const t=fp(e),n=e.proxy,o=e.ctx;Of=!1,t.beforeCreate&&ug(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:a,watch:s,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:h,updated:p,activated:g,deactivated:m,beforeDestroy:b,beforeUnmount:_,destroyed:C,unmounted:S,render:w,renderTracked:x,renderTriggered:y,errorCaptured:P,serverPrefetch:k,expose:T,inheritAttrs:E,components:R,directives:K,filters:N}=t;if(c&&b4(c,o,null),a)for(const G in a){const J=a[G];mt(J)&&(o[G]=J.bind(n))}if(r){const G=r.call(n,n);Zt(G)&&(e.data=eo(G))}if(Of=!0,i)for(const G in i){const J=i[G],he=mt(J)?J.bind(n,n):mt(J.get)?J.get.bind(n,n):Kn,pe=!mt(J)&&mt(J.set)?J.set.bind(n):Kn,B=F({get:he,set:pe});Object.defineProperty(o,G,{enumerable:!0,configurable:!0,get:()=>B.value,set:$=>B.value=$})}if(s)for(const G in s)Ky(s[G],o,n,G);if(l){const G=mt(l)?l.call(n):l;Reflect.ownKeys(G).forEach(J=>{at(J,G[J])})}u&&ug(u,e,"c");function M(G,J){ct(J)?J.forEach(he=>G(he.bind(n))):J&&G(J.bind(n))}if(M(hn,d),M(jt,f),M(Vy,h),M(up,p),M(cp,g),M(Zc,m),M(m4,P),M(p4,x),M(h4,y),M(on,_),M(Ma,S),M(f4,k),ct(T))if(T.length){const G=e.exposed||(e.exposed={});T.forEach(J=>{Object.defineProperty(G,J,{get:()=>n[J],set:he=>n[J]=he})})}else e.exposed||(e.exposed={});w&&e.render===Kn&&(e.render=w),E!=null&&(e.inheritAttrs=E),R&&(e.components=R),K&&(e.directives=K)}function b4(e,t,n=Kn){ct(e)&&(e=Mf(e));for(const o in e){const r=e[o];let i;Zt(r)?"default"in r?i=Ue(r.from||o,r.default,!0):i=Ue(r.from||o):i=Ue(r),cn(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[o]=i}}function ug(e,t,n){ao(ct(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ky(e,t,n,o){const r=o.includes(".")?lx(n,o):()=>n[o];if(ln(e)){const i=t[e];mt(i)&&ft(r,i)}else if(mt(e))ft(r,e.bind(n));else if(Zt(e))if(ct(e))e.forEach(i=>Ky(i,t,n,o));else{const i=mt(e.handler)?e.handler.bind(n):t[e.handler];mt(i)&&ft(r,i,e)}}function fp(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let l;return s?l=s:!r.length&&!n&&!o?l=t:(l={},r.length&&r.forEach(c=>mc(l,c,a,!0)),mc(l,t,a)),Zt(t)&&i.set(t,l),l}function mc(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&mc(e,i,n,!0),r&&r.forEach(a=>mc(e,a,n,!0));for(const a in t)if(!(o&&a==="expose")){const s=y4[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const y4={data:dg,props:fg,emits:fg,methods:fs,computed:fs,beforeCreate:In,created:In,beforeMount:In,mounted:In,beforeUpdate:In,updated:In,beforeDestroy:In,beforeUnmount:In,destroyed:In,unmounted:In,activated:In,deactivated:In,errorCaptured:In,serverPrefetch:In,components:fs,directives:fs,watch:C4,provide:dg,inject:x4};function dg(e,t){return t?e?function(){return wn(mt(e)?e.call(this,this):e,mt(t)?t.call(this,this):t)}:t:e}function x4(e,t){return fs(Mf(e),Mf(t))}function Mf(e){if(ct(e)){const t={};for(let n=0;n1)return n&&mt(t)?t.call(o&&o.proxy):t}}function S4(){return!!(Sn||xn||_i)}const Yy={},Xy=()=>Object.create(Yy),Zy=e=>Object.getPrototypeOf(e)===Yy;function k4(e,t,n,o=!1){const r={},i=Xy();e.propsDefaults=Object.create(null),Jy(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:Ry(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function P4(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:a}}=e,s=It(r),[l]=e.propsOptions;let c=!1;if((o||a>0)&&!(a&16)){if(a&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,h]=Qy(d,t,!0);wn(a,f),h&&s.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return Zt(e)&&o.set(e,fa),fa;if(ct(i))for(let u=0;ue[0]==="_"||e==="$stable",hp=e=>ct(e)?e.map(Fo):[Fo(e)],R4=(e,t,n)=>{if(t._n)return t;const o=ue((...r)=>hp(t(...r)),n);return o._c=!1,o},tx=(e,t,n)=>{const o=e._ctx;for(const r in e){if(ex(r))continue;const i=e[r];if(mt(i))t[r]=R4(r,i,o);else if(i!=null){const a=hp(i);t[r]=()=>a}}},nx=(e,t)=>{const n=hp(t);e.slots.default=()=>n},ox=(e,t,n)=>{for(const o in t)(n||o!=="_")&&(e[o]=t[o])},E4=(e,t,n)=>{const o=e.slots=Xy();if(e.vnode.shapeFlag&32){const r=t._;r?(ox(o,t,n),n&&uy(o,"_",r,!0)):tx(t,o)}else t&&nx(e,t)},$4=(e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,a=nn;if(o.shapeFlag&32){const s=t._;s?n&&s===1?i=!1:ox(r,t,n):(i=!t.$stable,tx(t,r)),a=t}else t&&(nx(e,t),a={default:1});if(i)for(const s in r)!ex(s)&&a[s]==null&&delete r[s]};function Df(e,t,n,o,r=!1){if(ct(e)){e.forEach((f,h)=>Df(f,t&&(ct(t)?t[h]:t),n,o,r));return}if(bs(o)&&!r)return;const i=o.shapeFlag&4?iu(o.component):o.el,a=r?null:i,{i:s,r:l}=e,c=t&&t.r,u=s.refs===nn?s.refs={}:s.refs,d=s.setupState;if(c!=null&&c!==l&&(ln(c)?(u[c]=null,Mt(d,c)&&(d[c]=null)):cn(c)&&(c.value=null)),mt(l))Fr(l,s,12,[a,u]);else{const f=ln(l),h=cn(l);if(f||h){const p=()=>{if(e.f){const g=f?Mt(d,l)?d[l]:u[l]:l.value;r?ct(g)&&Gh(g,i):ct(g)?g.includes(i)||g.push(i):f?(u[l]=[i],Mt(d,l)&&(d[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else f?(u[l]=a,Mt(d,l)&&(d[l]=a)):h&&(l.value=a,e.k&&(u[e.k]=a))};a?(p.id=-1,Nn(p,n)):p()}}}const rx=Symbol("_vte"),A4=e=>e.__isTeleport,xs=e=>e&&(e.disabled||e.disabled===""),pg=e=>typeof SVGElement<"u"&&e instanceof SVGElement,mg=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Lf=(e,t)=>{const n=e&&e.to;return ln(n)?t?t(n):null:n},I4={name:"Teleport",__isTeleport:!0,process(e,t,n,o,r,i,a,s,l,c){const{mc:u,pc:d,pbc:f,o:{insert:h,querySelector:p,createText:g,createComment:m}}=c,b=xs(t.props);let{shapeFlag:_,children:C,dynamicChildren:S}=t;if(e==null){const w=t.el=g(""),x=t.anchor=g("");h(w,n,o),h(x,n,o);const y=t.target=Lf(t.props,p),P=ax(y,t,g,h);y&&(a==="svg"||pg(y)?a="svg":(a==="mathml"||mg(y))&&(a="mathml"));const k=(T,E)=>{_&16&&u(C,T,E,r,i,a,s,l)};b?k(n,x):y&&k(y,P)}else{t.el=e.el,t.targetStart=e.targetStart;const w=t.anchor=e.anchor,x=t.target=e.target,y=t.targetAnchor=e.targetAnchor,P=xs(e.props),k=P?n:x,T=P?w:y;if(a==="svg"||pg(x)?a="svg":(a==="mathml"||mg(x))&&(a="mathml"),S?(f(e.dynamicChildren,S,k,r,i,a,s),pp(e,t,!0)):l||d(e,t,k,T,r,i,a,s,!1),b)P?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Pl(t,n,w,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const E=t.target=Lf(t.props,p);E&&Pl(t,E,null,c,0)}else P&&Pl(t,x,y,c,1)}ix(t)},remove(e,t,n,{um:o,o:{remove:r}},i){const{shapeFlag:a,children:s,anchor:l,targetStart:c,targetAnchor:u,target:d,props:f}=e;if(d&&(r(c),r(u)),i&&r(l),a&16){const h=i||!xs(f);for(let p=0;p{if(L===O)return;L&&!pi(L,O)&&(_e=Q(L),$(L,te,ge,!0),L=null),O.patchFlag===-2&&(j=!1,O.dynamicChildren=null);const{type:ee,ref:Ce,shapeFlag:ce}=O;switch(ee){case za:m(L,O,oe,_e);break;case _n:b(L,O,oe,_e);break;case ec:L==null&&_(O,oe,_e,ke);break;case it:R(L,O,oe,_e,te,ge,ke,I,j);break;default:ce&1?w(L,O,oe,_e,te,ge,ke,I,j):ce&6?K(L,O,oe,_e,te,ge,ke,I,j):(ce&64||ce&128)&&ee.process(L,O,oe,_e,te,ge,ke,I,j,ye)}Ce!=null&&te&&Df(Ce,L&&L.ref,ge,O||L,!O)},m=(L,O,oe,_e)=>{if(L==null)o(O.el=s(O.children),oe,_e);else{const te=O.el=L.el;O.children!==L.children&&c(te,O.children)}},b=(L,O,oe,_e)=>{L==null?o(O.el=l(O.children||""),oe,_e):O.el=L.el},_=(L,O,oe,_e)=>{[L.el,L.anchor]=p(L.children,O,oe,_e,L.el,L.anchor)},C=({el:L,anchor:O},oe,_e)=>{let te;for(;L&&L!==O;)te=f(L),o(L,oe,_e),L=te;o(O,oe,_e)},S=({el:L,anchor:O})=>{let oe;for(;L&&L!==O;)oe=f(L),r(L),L=oe;r(O)},w=(L,O,oe,_e,te,ge,ke,I,j)=>{O.type==="svg"?ke="svg":O.type==="math"&&(ke="mathml"),L==null?x(O,oe,_e,te,ge,ke,I,j):k(L,O,te,ge,ke,I,j)},x=(L,O,oe,_e,te,ge,ke,I)=>{let j,ee;const{props:Ce,shapeFlag:ce,transition:le,dirs:re}=L;if(j=L.el=a(L.type,ge,Ce&&Ce.is,Ce),ce&8?u(j,L.children):ce&16&&P(L.children,j,null,_e,te,xd(L,ge),ke,I),re&&ri(L,null,_e,"created"),y(j,L,L.scopeId,ke,_e),Ce){for(const De in Ce)De!=="value"&&!gs(De)&&i(j,De,null,Ce[De],ge,_e);"value"in Ce&&i(j,"value",null,Ce.value,ge),(ee=Ce.onVnodeBeforeMount)&&zo(ee,_e,L)}re&&ri(L,null,_e,"beforeMount");const de=D4(te,le);de&&le.beforeEnter(j),o(j,O,oe),((ee=Ce&&Ce.onVnodeMounted)||de||re)&&Nn(()=>{ee&&zo(ee,_e,L),de&&le.enter(j),re&&ri(L,null,_e,"mounted")},te)},y=(L,O,oe,_e,te)=>{if(oe&&h(L,oe),_e)for(let ge=0;ge<_e.length;ge++)h(L,_e[ge]);if(te){let ge=te.subTree;if(O===ge){const ke=te.vnode;y(L,ke,ke.scopeId,ke.slotScopeIds,te.parent)}}},P=(L,O,oe,_e,te,ge,ke,I,j=0)=>{for(let ee=j;ee{const I=O.el=L.el;let{patchFlag:j,dynamicChildren:ee,dirs:Ce}=O;j|=L.patchFlag&16;const ce=L.props||nn,le=O.props||nn;let re;if(oe&&ii(oe,!1),(re=le.onVnodeBeforeUpdate)&&zo(re,oe,O,L),Ce&&ri(O,L,oe,"beforeUpdate"),oe&&ii(oe,!0),(ce.innerHTML&&le.innerHTML==null||ce.textContent&&le.textContent==null)&&u(I,""),ee?T(L.dynamicChildren,ee,I,oe,_e,xd(O,te),ge):ke||J(L,O,I,null,oe,_e,xd(O,te),ge,!1),j>0){if(j&16)E(I,ce,le,oe,te);else if(j&2&&ce.class!==le.class&&i(I,"class",null,le.class,te),j&4&&i(I,"style",ce.style,le.style,te),j&8){const de=O.dynamicProps;for(let De=0;De{re&&zo(re,oe,O,L),Ce&&ri(O,L,oe,"updated")},_e)},T=(L,O,oe,_e,te,ge,ke)=>{for(let I=0;I{if(O!==oe){if(O!==nn)for(const ge in O)!gs(ge)&&!(ge in oe)&&i(L,ge,O[ge],null,te,_e);for(const ge in oe){if(gs(ge))continue;const ke=oe[ge],I=O[ge];ke!==I&&ge!=="value"&&i(L,ge,I,ke,te,_e)}"value"in oe&&i(L,"value",O.value,oe.value,te)}},R=(L,O,oe,_e,te,ge,ke,I,j)=>{const ee=O.el=L?L.el:s(""),Ce=O.anchor=L?L.anchor:s("");let{patchFlag:ce,dynamicChildren:le,slotScopeIds:re}=O;re&&(I=I?I.concat(re):re),L==null?(o(ee,oe,_e),o(Ce,oe,_e),P(O.children||[],oe,Ce,te,ge,ke,I,j)):ce>0&&ce&64&&le&&L.dynamicChildren?(T(L.dynamicChildren,le,oe,te,ge,ke,I),(O.key!=null||te&&O===te.subTree)&&pp(L,O,!0)):J(L,O,oe,Ce,te,ge,ke,I,j)},K=(L,O,oe,_e,te,ge,ke,I,j)=>{O.slotScopeIds=I,L==null?O.shapeFlag&512?te.ctx.activate(O,oe,_e,ke,j):N(O,oe,_e,te,ge,ke,j):D(L,O,j)},N=(L,O,oe,_e,te,ge,ke)=>{const I=L.component=tP(L,_e,te);if(Xc(L)&&(I.ctx.renderer=ye),nP(I,!1,ke),I.asyncDep){if(te&&te.registerDep(I,M,ke),!L.el){const j=I.subTree=ie(_n);b(null,j,O,oe)}}else M(I,L,O,oe,te,ge,ke)},D=(L,O,oe)=>{const _e=O.component=L.component;if(U4(L,O,oe))if(_e.asyncDep&&!_e.asyncResolved){G(_e,O,oe);return}else _e.next=O,r4(_e.update),_e.effect.dirty=!0,_e.update();else O.el=L.el,_e.vnode=O},M=(L,O,oe,_e,te,ge,ke)=>{const I=()=>{if(L.isMounted){let{next:Ce,bu:ce,u:le,parent:re,vnode:de}=L;{const He=sx(L);if(He){Ce&&(Ce.el=de.el,G(L,Ce,ke)),He.asyncDep.then(()=>{L.isUnmounted||I()});return}}let De=Ce,Le;ii(L,!1),Ce?(Ce.el=de.el,G(L,Ce,ke)):Ce=de,ce&&Ql(ce),(Le=Ce.props&&Ce.props.onVnodeBeforeUpdate)&&zo(Le,re,Ce,de),ii(L,!0);const Pe=Cd(L),Fe=L.subTree;L.subTree=Pe,g(Fe,Pe,d(Fe.el),Q(Fe),L,te,ge),Ce.el=Pe.el,De===null&&q4(L,Pe.el),le&&Nn(le,te),(Le=Ce.props&&Ce.props.onVnodeUpdated)&&Nn(()=>zo(Le,re,Ce,de),te)}else{let Ce;const{el:ce,props:le}=O,{bm:re,m:de,parent:De}=L,Le=bs(O);if(ii(L,!1),re&&Ql(re),!Le&&(Ce=le&&le.onVnodeBeforeMount)&&zo(Ce,De,O),ii(L,!0),ce&&Ne){const Pe=()=>{L.subTree=Cd(L),Ne(ce,L.subTree,L,te,null)};Le?O.type.__asyncLoader().then(()=>!L.isUnmounted&&Pe()):Pe()}else{const Pe=L.subTree=Cd(L);g(null,Pe,oe,_e,L,te,ge),O.el=Pe.el}if(de&&Nn(de,te),!Le&&(Ce=le&&le.onVnodeMounted)){const Pe=O;Nn(()=>zo(Ce,De,Pe),te)}(O.shapeFlag&256||De&&bs(De.vnode)&&De.vnode.shapeFlag&256)&&L.a&&Nn(L.a,te),L.isMounted=!0,O=oe=_e=null}},j=L.effect=new Jh(I,Kn,()=>sp(ee),L.scope),ee=L.update=()=>{j.dirty&&j.run()};ee.i=L,ee.id=L.uid,ii(L,!0),ee()},G=(L,O,oe)=>{O.component=L;const _e=L.vnode.props;L.vnode=O,L.next=null,P4(L,O.props,_e,oe),$4(L,O.children,oe),Kr(),ag(L),Gr()},J=(L,O,oe,_e,te,ge,ke,I,j=!1)=>{const ee=L&&L.children,Ce=L?L.shapeFlag:0,ce=O.children,{patchFlag:le,shapeFlag:re}=O;if(le>0){if(le&128){pe(ee,ce,oe,_e,te,ge,ke,I,j);return}else if(le&256){he(ee,ce,oe,_e,te,ge,ke,I,j);return}}re&8?(Ce&16&&fe(ee,te,ge),ce!==ee&&u(oe,ce)):Ce&16?re&16?pe(ee,ce,oe,_e,te,ge,ke,I,j):fe(ee,te,ge,!0):(Ce&8&&u(oe,""),re&16&&P(ce,oe,_e,te,ge,ke,I,j))},he=(L,O,oe,_e,te,ge,ke,I,j)=>{L=L||fa,O=O||fa;const ee=L.length,Ce=O.length,ce=Math.min(ee,Ce);let le;for(le=0;leCe?fe(L,te,ge,!0,!1,ce):P(O,oe,_e,te,ge,ke,I,j,ce)},pe=(L,O,oe,_e,te,ge,ke,I,j)=>{let ee=0;const Ce=O.length;let ce=L.length-1,le=Ce-1;for(;ee<=ce&&ee<=le;){const re=L[ee],de=O[ee]=j?Ir(O[ee]):Fo(O[ee]);if(pi(re,de))g(re,de,oe,null,te,ge,ke,I,j);else break;ee++}for(;ee<=ce&&ee<=le;){const re=L[ce],de=O[le]=j?Ir(O[le]):Fo(O[le]);if(pi(re,de))g(re,de,oe,null,te,ge,ke,I,j);else break;ce--,le--}if(ee>ce){if(ee<=le){const re=le+1,de=rele)for(;ee<=ce;)$(L[ee],te,ge,!0),ee++;else{const re=ee,de=ee,De=new Map;for(ee=de;ee<=le;ee++){const X=O[ee]=j?Ir(O[ee]):Fo(O[ee]);X.key!=null&&De.set(X.key,ee)}let Le,Pe=0;const Fe=le-de+1;let He=!1,Ie=0;const Qe=new Array(Fe);for(ee=0;ee=Fe){$(X,te,ge,!0);continue}let ve;if(X.key!=null)ve=De.get(X.key);else for(Le=de;Le<=le;Le++)if(Qe[Le-de]===0&&pi(X,O[Le])){ve=Le;break}ve===void 0?$(X,te,ge,!0):(Qe[ve-de]=ee+1,ve>=Ie?Ie=ve:He=!0,g(X,O[ve],oe,null,te,ge,ke,I,j),Pe++)}const Ct=He?L4(Qe):fa;for(Le=Ct.length-1,ee=Fe-1;ee>=0;ee--){const X=de+ee,ve=O[X],Ae=X+1{const{el:ge,type:ke,transition:I,children:j,shapeFlag:ee}=L;if(ee&6){B(L.component.subTree,O,oe,_e);return}if(ee&128){L.suspense.move(O,oe,_e);return}if(ee&64){ke.move(L,O,oe,ye);return}if(ke===it){o(ge,O,oe);for(let ce=0;ceI.enter(ge),te);else{const{leave:ce,delayLeave:le,afterLeave:re}=I,de=()=>o(ge,O,oe),De=()=>{ce(ge,()=>{de(),re&&re()})};le?le(ge,de,De):De()}else o(ge,O,oe)},$=(L,O,oe,_e=!1,te=!1)=>{const{type:ge,props:ke,ref:I,children:j,dynamicChildren:ee,shapeFlag:Ce,patchFlag:ce,dirs:le,cacheIndex:re}=L;if(ce===-2&&(te=!1),I!=null&&Df(I,null,oe,L,!0),re!=null&&(O.renderCache[re]=void 0),Ce&256){O.ctx.deactivate(L);return}const de=Ce&1&&le,De=!bs(L);let Le;if(De&&(Le=ke&&ke.onVnodeBeforeUnmount)&&zo(Le,O,L),Ce&6)ne(L.component,oe,_e);else{if(Ce&128){L.suspense.unmount(oe,_e);return}de&&ri(L,null,O,"beforeUnmount"),Ce&64?L.type.remove(L,O,oe,ye,_e):ee&&!ee.hasOnce&&(ge!==it||ce>0&&ce&64)?fe(ee,O,oe,!1,!0):(ge===it&&ce&384||!te&&Ce&16)&&fe(j,O,oe),_e&&A(L)}(De&&(Le=ke&&ke.onVnodeUnmounted)||de)&&Nn(()=>{Le&&zo(Le,O,L),de&&ri(L,null,O,"unmounted")},oe)},A=L=>{const{type:O,el:oe,anchor:_e,transition:te}=L;if(O===it){Y(oe,_e);return}if(O===ec){S(L);return}const ge=()=>{r(oe),te&&!te.persisted&&te.afterLeave&&te.afterLeave()};if(L.shapeFlag&1&&te&&!te.persisted){const{leave:ke,delayLeave:I}=te,j=()=>ke(oe,ge);I?I(L.el,ge,j):j()}else ge()},Y=(L,O)=>{let oe;for(;L!==O;)oe=f(L),r(L),L=oe;r(O)},ne=(L,O,oe)=>{const{bum:_e,scope:te,update:ge,subTree:ke,um:I,m:j,a:ee}=L;gg(j),gg(ee),_e&&Ql(_e),te.stop(),ge&&(ge.active=!1,$(ke,L,O,oe)),I&&Nn(I,O),Nn(()=>{L.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&L.asyncDep&&!L.asyncResolved&&L.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},fe=(L,O,oe,_e=!1,te=!1,ge=0)=>{for(let ke=ge;ke{if(L.shapeFlag&6)return Q(L.component.subTree);if(L.shapeFlag&128)return L.suspense.next();const O=f(L.anchor||L.el),oe=O&&O[rx];return oe?f(oe):O};let xe=!1;const H=(L,O,oe)=>{L==null?O._vnode&&$(O._vnode,null,null,!0):g(O._vnode||null,L,O,null,null,null,oe),O._vnode=L,xe||(xe=!0,ag(),Dy(),xe=!1)},ye={p:g,um:$,m:B,r:A,mt:N,mc:P,pc:J,pbc:T,n:Q,o:e};let Oe,Ne;return t&&([Oe,Ne]=t(ye)),{render:H,hydrate:Oe,createApp:_4(H,Oe)}}function xd({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ii({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function D4(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function pp(e,t,n=!1){const o=e.children,r=t.children;if(ct(o)&&ct(r))for(let i=0;i>1,e[n[s]]0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}function sx(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:sx(t)}function gg(e){if(e)for(let t=0;tUe(F4);function Xt(e,t){return mp(e,null,t)}const Tl={};function ft(e,t,n){return mp(e,t,n)}function mp(e,t,{immediate:n,deep:o,flush:r,once:i,onTrack:a,onTrigger:s}=nn){if(t&&i){const x=t;t=(...y)=>{x(...y),w()}}const l=Sn,c=x=>o===!0?x:zr(x,o===!1?1:void 0);let u,d=!1,f=!1;if(cn(e)?(u=()=>e.value,d=xa(e)):wi(e)?(u=()=>c(e),d=!0):ct(e)?(f=!0,d=e.some(x=>wi(x)||xa(x)),u=()=>e.map(x=>{if(cn(x))return x.value;if(wi(x))return c(x);if(mt(x))return Fr(x,l,2)})):mt(e)?t?u=()=>Fr(e,l,2):u=()=>(h&&h(),ao(e,l,3,[p])):u=Kn,t&&o){const x=u;u=()=>zr(x())}let h,p=x=>{h=C.onStop=()=>{Fr(x,l,4),h=C.onStop=void 0}},g;if(ru)if(p=Kn,t?n&&ao(t,l,3,[u(),f?[]:void 0,p]):u(),r==="sync"){const x=B4();g=x.__watcherHandles||(x.__watcherHandles=[])}else return Kn;let m=f?new Array(e.length).fill(Tl):Tl;const b=()=>{if(!(!C.active||!C.dirty))if(t){const x=C.run();(o||d||(f?x.some((y,P)=>Br(y,m[P])):Br(x,m)))&&(h&&h(),ao(t,l,3,[x,m===Tl?void 0:f&&m[0]===Tl?[]:m,p]),m=x)}else C.run()};b.allowRecurse=!!t;let _;r==="sync"?_=b:r==="post"?_=()=>Nn(b,l&&l.suspense):(b.pre=!0,l&&(b.id=l.uid),_=()=>sp(b));const C=new Jh(u,Kn,_),S=Zh(),w=()=>{C.stop(),S&&Gh(S.effects,C)};return t?n?b():m=C.run():r==="post"?Nn(C.run.bind(C),l&&l.suspense):C.run(),g&&g.push(w),w}function N4(e,t,n){const o=this.proxy,r=ln(e)?e.includes(".")?lx(o,e):()=>o[e]:e.bind(o,o);let i;mt(t)?i=t:(i=t.handler,n=t);const a=ol(this),s=mp(r,i.bind(o),n);return a(),s}function lx(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r{zr(o,t,n)});else if(cy(e)){for(const o in e)zr(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&zr(e[o],t,n)}return e}const H4=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${To(t)}Modifiers`]||e[`${qr(t)}Modifiers`];function j4(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||nn;let r=n;const i=t.startsWith("update:"),a=i&&H4(o,t.slice(7));a&&(a.trim&&(r=n.map(u=>ln(u)?u.trim():u)),a.number&&(r=n.map(Tf)));let s,l=o[s=gd(t)]||o[s=gd(To(t))];!l&&i&&(l=o[s=gd(qr(t))]),l&&ao(l,e,6,r);const c=o[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,ao(c,e,6,r)}}function cx(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const i=e.emits;let a={},s=!1;if(!mt(e)){const l=c=>{const u=cx(c,t,!0);u&&(s=!0,wn(a,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!s?(Zt(e)&&o.set(e,null),null):(ct(i)?i.forEach(l=>a[l]=null):wn(a,i),Zt(e)&&o.set(e,a),a)}function ou(e,t){return!e||!Vc(t)?!1:(t=t.slice(2).replace(/Once$/,""),Mt(e,t[0].toLowerCase()+t.slice(1))||Mt(e,qr(t))||Mt(e,t))}function Cd(e){const{type:t,vnode:n,proxy:o,withProxy:r,propsOptions:[i],slots:a,attrs:s,emit:l,render:c,renderCache:u,props:d,data:f,setupState:h,ctx:p,inheritAttrs:g}=e,m=pc(e);let b,_;try{if(n.shapeFlag&4){const S=r||o,w=S;b=Fo(c.call(w,S,u,d,h,f,p)),_=s}else{const S=t;b=Fo(S.length>1?S(d,{attrs:s,slots:a,emit:l}):S(d,null)),_=t.props?s:V4(s)}}catch(S){Cs.length=0,Gc(S,e,1),b=ie(_n)}let C=b;if(_&&g!==!1){const S=Object.keys(_),{shapeFlag:w}=C;S.length&&w&7&&(i&&S.some(Kh)&&(_=W4(_,i)),C=uo(C,_,!1,!0))}return n.dirs&&(C=uo(C,null,!1,!0),C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition&&(C.transition=n.transition),b=C,pc(m),b}const V4=e=>{let t;for(const n in e)(n==="class"||n==="style"||Vc(n))&&((t||(t={}))[n]=e[n]);return t},W4=(e,t)=>{const n={};for(const o in e)(!Kh(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function U4(e,t,n){const{props:o,children:r,component:i}=e,{props:a,children:s,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?vg(o,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function G4(e,t){t&&t.pendingBranch?ct(e)?t.effects.push(...e):t.effects.push(e):i4(e)}const it=Symbol.for("v-fgt"),za=Symbol.for("v-txt"),_n=Symbol.for("v-cmt"),ec=Symbol.for("v-stc"),Cs=[];let Gn=null;function me(e=!1){Cs.push(Gn=e?null:[])}function Y4(){Cs.pop(),Gn=Cs[Cs.length-1]||null}let Ns=1;function bg(e){Ns+=e,e<0&&Gn&&(Gn.hasOnce=!0)}function ux(e){return e.dynamicChildren=Ns>0?Gn||fa:null,Y4(),Ns>0&&Gn&&Gn.push(e),e}function ze(e,t,n,o,r,i){return ux(U(e,t,n,o,r,i,!0))}function qe(e,t,n,o,r){return ux(ie(e,t,n,o,r,!0))}function Hs(e){return e?e.__v_isVNode===!0:!1}function pi(e,t){return e.type===t.type&&e.key===t.key}const dx=({key:e})=>e??null,tc=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ln(e)||cn(e)||mt(e)?{i:xn,r:e,k:t,f:!!n}:e:null);function U(e,t=null,n=null,o=0,r=null,i=e===it?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&dx(t),ref:t&&tc(t),scopeId:Yc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:xn};return s?(gp(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=ln(n)?8:16),Ns>0&&!a&&Gn&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Gn.push(l),l}const ie=X4;function X4(e,t=null,n=null,o=0,r=null,i=!1){if((!e||e===Wy)&&(e=_n),Hs(e)){const s=uo(e,t,!0);return n&&gp(s,n),Ns>0&&!i&&Gn&&(s.shapeFlag&6?Gn[Gn.indexOf(e)]=s:Gn.push(s)),s.patchFlag=-2,s}if(sP(e)&&(e=e.__vccOpts),t){t=Z4(t);let{class:s,style:l}=t;s&&!ln(s)&&(t.class=sr(s)),Zt(l)&&(Ey(l)&&!ct(l)&&(l=wn({},l)),t.style=Di(l))}const a=ln(e)?1:K4(e)?128:A4(e)?64:Zt(e)?4:mt(e)?2:0;return U(e,t,n,o,r,a,i,!0)}function Z4(e){return e?Ey(e)||Zy(e)?wn({},e):e:null}function uo(e,t,n=!1,o=!1){const{props:r,ref:i,patchFlag:a,children:s,transition:l}=e,c=t?Ln(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&dx(c),ref:t&&t.ref?n&&i?ct(i)?i.concat(tc(t)):[i,tc(t)]:tc(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==it?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&uo(e.ssContent),ssFallback:e.ssFallback&&uo(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&o&&Ca(u,l.clone(u)),u}function nt(e=" ",t=0){return ie(za,null,e,t)}function J4(e,t){const n=ie(ec,null,e);return n.staticCount=t,n}function pt(e="",t=!1){return t?(me(),qe(_n,null,e)):ie(_n,null,e)}function Fo(e){return e==null||typeof e=="boolean"?ie(_n):ct(e)?ie(it,null,e.slice()):typeof e=="object"?Ir(e):ie(za,null,String(e))}function Ir(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:uo(e)}function gp(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(ct(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),gp(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Zy(t)?t._ctx=xn:r===3&&xn&&(xn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else mt(t)?(t={default:t,_ctx:xn},n=32):(t=String(t),o&64?(n=16,t=[nt(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ln(...e){const t={};for(let n=0;nSn||xn;let gc,Ff;{const e=dy(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),i=>{r.length>1?r.forEach(a=>a(i)):r[0](i)}};gc=t("__VUE_INSTANCE_SETTERS__",n=>Sn=n),Ff=t("__VUE_SSR_SETTERS__",n=>ru=n)}const ol=e=>{const t=Sn;return gc(e),e.scope.on(),()=>{e.scope.off(),gc(t)}},yg=()=>{Sn&&Sn.scope.off(),gc(null)};function fx(e){return e.vnode.shapeFlag&4}let ru=!1;function nP(e,t=!1,n=!1){t&&Ff(t);const{props:o,children:r}=e.vnode,i=fx(e);k4(e,o,i,t),E4(e,r,n);const a=i?oP(e,t):void 0;return t&&Ff(!1),a}function oP(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,g4);const{setup:o}=n;if(o){const r=e.setupContext=o.length>1?iP(e):null,i=ol(e);Kr();const a=Fr(o,e,0,[e.props,r]);if(Gr(),i(),sy(a)){if(a.then(yg,yg),t)return a.then(s=>{xg(e,s,t)}).catch(s=>{Gc(s,e,0)});e.asyncDep=a}else xg(e,a,t)}else hx(e,t)}function xg(e,t,n){mt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Zt(t)&&(e.setupState=Iy(t)),hx(e,n)}let Cg;function hx(e,t,n){const o=e.type;if(!e.render){if(!t&&Cg&&!o.render){const r=o.template||fp(e).template;if(r){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=o,c=wn(wn({isCustomElement:i,delimiters:s},a),l);o.render=Cg(r,c)}}e.render=o.render||Kn}{const r=ol(e);Kr();try{v4(e)}finally{Gr(),r()}}}const rP={get(e,t){return jn(e,"get",""),e[t]}};function iP(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,rP),slots:e.slots,emit:e.emit,expose:t}}function iu(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Iy(zs(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ys)return ys[n](e)},has(t,n){return n in t||n in ys}})):e.proxy}function aP(e,t=!0){return mt(e)?e.displayName||e.name:e.name||t&&e.__name}function sP(e){return mt(e)&&"__vccOpts"in e}const F=(e,t)=>G3(e,t,ru);function v(e,t,n){const o=arguments.length;return o===2?Zt(t)&&!ct(t)?Hs(t)?ie(e,null,[t]):ie(e,t):ie(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Hs(n)&&(n=[n]),ie(e,t,n))}const lP="3.4.38";/** +* @vue/runtime-dom v3.4.38 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const N4="http://www.w3.org/2000/svg",H4="http://www.w3.org/1998/Math/MathML",Ar=typeof document<"u"?document:null,ug=Ar&&Ar.createElement("template"),j4={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t==="svg"?Ar.createElementNS(N4,e):t==="mathml"?Ar.createElementNS(H4,e):Ar.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>Ar.createTextNode(e),createComment:e=>Ar.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ar.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const a=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{ug.innerHTML=o==="svg"?`${e}`:o==="mathml"?`${e}`:e;const s=ug.content;if(o==="svg"||o==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},xr="transition",Xa="animation",ga=Symbol("_vtc"),fn=(e,{slots:t})=>g(Q3,qy(e),t);fn.displayName="Transition";const Uy={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},V4=fn.props=vn({},ky,Uy),oi=(e,t=[])=>{ct(e)?e.forEach(n=>n(...t)):e&&e(...t)},dg=e=>e?ct(e)?e.some(t=>t.length>1):e.length>1:!1;function qy(e){const t={};for(const R in e)R in Uy||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=a,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=W4(r),m=h&&h[0],v=h&&h[1],{onBeforeEnter:b,onEnter:w,onEnterCancelled:C,onLeave:S,onLeaveCancelled:_,onBeforeAppear:x=b,onAppear:y=w,onAppearCancelled:k=C}=t,P=(R,K,j)=>{Pr(R,K?u:s),Pr(R,K?c:a),j&&j()},T=(R,K)=>{R._isLeaving=!1,Pr(R,d),Pr(R,p),Pr(R,f),K&&K()},$=R=>(K,j)=>{const D=R?y:w,M=()=>P(K,R,j);oi(D,[K,M]),fg(()=>{Pr(K,R?l:i),tr(K,R?u:s),dg(D)||hg(K,o,m,M)})};return vn(t,{onBeforeEnter(R){oi(b,[R]),tr(R,i),tr(R,a)},onBeforeAppear(R){oi(x,[R]),tr(R,l),tr(R,c)},onEnter:$(!1),onAppear:$(!0),onLeave(R,K){R._isLeaving=!0;const j=()=>T(R,K);tr(R,d),Gy(),tr(R,f),fg(()=>{R._isLeaving&&(Pr(R,d),tr(R,p),dg(S)||hg(R,o,v,j))}),oi(S,[R,j])},onEnterCancelled(R){P(R,!1),oi(C,[R])},onAppearCancelled(R){P(R,!0),oi(k,[R])},onLeaveCancelled(R){T(R),oi(_,[R])}})}function W4(e){if(e==null)return null;if(Zt(e))return[fd(e.enter),fd(e.leave)];{const t=fd(e);return[t,t]}}function fd(e){return Qk(e)}function tr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ga]||(e[ga]=new Set)).add(t)}function Pr(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[ga];n&&(n.delete(t),n.size||(e[ga]=void 0))}function fg(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let U4=0;function hg(e,t,n,o){const r=e._endId=++U4,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=Ky(e,t);if(!a)return o();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=p=>{p.target===e&&++u>=l&&d()};setTimeout(()=>{u(n[h]||"").split(", "),r=o(`${xr}Delay`),i=o(`${xr}Duration`),a=pg(r,i),s=o(`${Xa}Delay`),l=o(`${Xa}Duration`),c=pg(s,l);let u=null,d=0,f=0;t===xr?a>0&&(u=xr,d=a,f=i.length):t===Xa?c>0&&(u=Xa,d=c,f=l.length):(d=Math.max(a,c),u=d>0?a>c?xr:Xa:null,f=u?u===xr?i.length:l.length:0);const p=u===xr&&/\b(transform|all)(,|$)/.test(o(`${xr}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function pg(e,t){for(;e.lengthmg(n)+mg(e[o])))}function mg(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Gy(){return document.body.offsetHeight}function q4(e,t,n){const o=e[ga];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const gc=Symbol("_vod"),Yy=Symbol("_vsh"),Mn={beforeMount(e,{value:t},{transition:n}){e[gc]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Za(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Za(e,!0),o.enter(e)):o.leave(e,()=>{Za(e,!1)}):Za(e,t))},beforeUnmount(e,{value:t}){Za(e,t)}};function Za(e,t){e.style.display=t?e[gc]:"none",e[Yy]=!t}const K4=Symbol(""),G4=/(^|;)\s*display\s*:/;function Y4(e,t,n){const o=e.style,r=ln(n);let i=!1;if(n&&!r){if(t)if(ln(t))for(const a of t.split(";")){const s=a.slice(0,a.indexOf(":")).trim();n[s]==null&&ec(o,s,"")}else for(const a in t)n[a]==null&&ec(o,a,"");for(const a in n)a==="display"&&(i=!0),ec(o,a,n[a])}else if(r){if(t!==n){const a=o[K4];a&&(n+=";"+a),o.cssText=n,i=G4.test(n)}}else t&&e.removeAttribute("style");gc in e&&(e[gc]=i?o.display:"",e[Yy]&&(o.display="none"))}const gg=/\s*!important$/;function ec(e,t,n){if(ct(n))n.forEach(o=>ec(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=X4(e,t);gg.test(n)?e.setProperty(Ai(o),n.replace(gg,""),"important"):e[o]=n}}const vg=["Webkit","Moz","ms"],hd={};function X4(e,t){const n=hd[t];if(n)return n;let o=No(t);if(o!=="filter"&&o in e)return hd[t]=o;o=Vc(o);for(let r=0;rpd||(nP.then(()=>pd=0),pd=Date.now());function rP(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;oo(iP(o,n.value),t,5,[o])};return n.value=e,n.attached=oP(),n}function iP(e,t){if(ct(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const Cg=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,aP=(e,t,n,o,r,i,a,s,l)=>{const c=r==="svg";t==="class"?q4(e,o,c):t==="style"?Y4(e,n,o):Nc(t)?Mh(t)||eP(e,t,n,o,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):sP(e,t,o,c))?J4(e,t,o,i,a,s,l):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),Z4(e,t,o,c))};function sP(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&Cg(t)&&vt(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Cg(t)&&ln(n)?!1:t in e}const Xy=new WeakMap,Zy=new WeakMap,vc=Symbol("_moveCb"),wg=Symbol("_enterCb"),Jy={name:"TransitionGroup",props:vn({},V4,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Jn(),o=Sy();let r,i;return Qh(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!hP(r[0].el,n.vnode.el,a))return;r.forEach(uP),r.forEach(dP);const s=r.filter(fP);Gy(),s.forEach(l=>{const c=l.el,u=c.style;tr(c,a),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[vc]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[vc]=null,Pr(c,a))};c.addEventListener("transitionend",d)})}),()=>{const a=$t(e),s=qy(a);let l=a.tag||rt;if(r=[],i)for(let c=0;cdelete e.mode;Jy.props;const cP=Jy;function uP(e){const t=e.el;t[vc]&&t[vc](),t[wg]&&t[wg]()}function dP(e){Zy.set(e,e.el.getBoundingClientRect())}function fP(e){const t=Xy.get(e),n=Zy.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${o}px,${r}px)`,i.transitionDuration="0s",e}}function hP(e,t,n){const o=e.cloneNode(),r=e[ga];r&&r.forEach(s=>{s.split(/\s+/).forEach(l=>l&&o.classList.remove(l))}),n.split(/\s+/).forEach(s=>s&&o.classList.add(s)),o.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(o);const{hasTransform:a}=Ky(o);return i.removeChild(o),a}const _g=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ct(t)?n=>Zl(t,n):t};function pP(e){e.target.composing=!0}function Sg(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const md=Symbol("_assign"),mP={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e[md]=_g(r);const i=o||r.props&&r.props.type==="number";ta(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),i&&(s=gf(s)),e[md](s)}),n&&ta(e,"change",()=>{e.value=e.value.trim()}),t||(ta(e,"compositionstart",pP),ta(e,"compositionend",Sg),ta(e,"change",Sg))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},i){if(e[md]=_g(i),e.composing)return;const a=(r||e.type==="number")&&!/^0\d/.test(e.value)?gf(e.value):e.value,s=t??"";a!==s&&(document.activeElement===e&&e.type!=="range"&&(n||o&&e.value.trim()===s)||(e.value=s))}},gP=["ctrl","shift","alt","meta"],vP={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>gP.some(n=>e[`${n}Key`]&&!t.includes(n))},bP=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(r,...i)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=r=>{if(!("key"in r))return;const i=Ai(r.key);if(t.some(a=>a===i||yP[a]===i))return e(r)})},xP=vn({patchProp:aP},j4);let kg;function CP(){return kg||(kg=y4(xP))}const Qy=(...e)=>{const t=CP().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=_P(o);if(!r)return;const i=t._component;!vt(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const a=n(r,!1,wP(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function wP(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function _P(e){return ln(e)?document.querySelector(e):e}/*! - * vue-router v4.3.0 +**/const cP="http://www.w3.org/2000/svg",uP="http://www.w3.org/1998/Math/MathML",rr=typeof document<"u"?document:null,wg=rr&&rr.createElement("template"),dP={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t==="svg"?rr.createElementNS(cP,e):t==="mathml"?rr.createElementNS(uP,e):n?rr.createElement(e,{is:n}):rr.createElement(e);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>rr.createTextNode(e),createComment:e=>rr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>rr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const a=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{wg.innerHTML=o==="svg"?`${e}`:o==="mathml"?`${e}`:e;const s=wg.content;if(o==="svg"||o==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},wr="transition",ns="animation",wa=Symbol("_vtc"),fn=(e,{slots:t})=>v(u4,mx(e),t);fn.displayName="Transition";const px={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},fP=fn.props=wn({},By,px),ai=(e,t=[])=>{ct(e)?e.forEach(n=>n(...t)):e&&e(...t)},_g=e=>e?ct(e)?e.some(t=>t.length>1):e.length>1:!1;function mx(e){const t={};for(const R in e)R in px||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=a,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=hP(r),g=p&&p[0],m=p&&p[1],{onBeforeEnter:b,onEnter:_,onEnterCancelled:C,onLeave:S,onLeaveCancelled:w,onBeforeAppear:x=b,onAppear:y=_,onAppearCancelled:P=C}=t,k=(R,K,N)=>{Rr(R,K?u:s),Rr(R,K?c:a),N&&N()},T=(R,K)=>{R._isLeaving=!1,Rr(R,d),Rr(R,h),Rr(R,f),K&&K()},E=R=>(K,N)=>{const D=R?y:_,M=()=>k(K,R,N);ai(D,[K,M]),Sg(()=>{Rr(K,R?l:i),or(K,R?u:s),_g(D)||kg(K,o,g,M)})};return wn(t,{onBeforeEnter(R){ai(b,[R]),or(R,i),or(R,a)},onBeforeAppear(R){ai(x,[R]),or(R,l),or(R,c)},onEnter:E(!1),onAppear:E(!0),onLeave(R,K){R._isLeaving=!0;const N=()=>T(R,K);or(R,d),or(R,f),vx(),Sg(()=>{R._isLeaving&&(Rr(R,d),or(R,h),_g(S)||kg(R,o,m,N))}),ai(S,[R,N])},onEnterCancelled(R){k(R,!1),ai(C,[R])},onAppearCancelled(R){k(R,!0),ai(P,[R])},onLeaveCancelled(R){T(R),ai(w,[R])}})}function hP(e){if(e==null)return null;if(Zt(e))return[wd(e.enter),wd(e.leave)];{const t=wd(e);return[t,t]}}function wd(e){return x3(e)}function or(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[wa]||(e[wa]=new Set)).add(t)}function Rr(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[wa];n&&(n.delete(t),n.size||(e[wa]=void 0))}function Sg(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let pP=0;function kg(e,t,n,o){const r=e._endId=++pP,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=gx(e,t);if(!a)return o();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=h=>{h.target===e&&++u>=l&&d()};setTimeout(()=>{u(n[p]||"").split(", "),r=o(`${wr}Delay`),i=o(`${wr}Duration`),a=Pg(r,i),s=o(`${ns}Delay`),l=o(`${ns}Duration`),c=Pg(s,l);let u=null,d=0,f=0;t===wr?a>0&&(u=wr,d=a,f=i.length):t===ns?c>0&&(u=ns,d=c,f=l.length):(d=Math.max(a,c),u=d>0?a>c?wr:ns:null,f=u?u===wr?i.length:l.length:0);const h=u===wr&&/\b(transform|all)(,|$)/.test(o(`${wr}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:h}}function Pg(e,t){for(;e.lengthTg(n)+Tg(e[o])))}function Tg(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function vx(){return document.body.offsetHeight}function mP(e,t,n){const o=e[wa];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const vc=Symbol("_vod"),bx=Symbol("_vsh"),Mn={beforeMount(e,{value:t},{transition:n}){e[vc]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):os(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),os(e,!0),o.enter(e)):o.leave(e,()=>{os(e,!1)}):os(e,t))},beforeUnmount(e,{value:t}){os(e,t)}};function os(e,t){e.style.display=t?e[vc]:"none",e[bx]=!t}const gP=Symbol(""),vP=/(^|;)\s*display\s*:/;function bP(e,t,n){const o=e.style,r=ln(n);let i=!1;if(n&&!r){if(t)if(ln(t))for(const a of t.split(";")){const s=a.slice(0,a.indexOf(":")).trim();n[s]==null&&nc(o,s,"")}else for(const a in t)n[a]==null&&nc(o,a,"");for(const a in n)a==="display"&&(i=!0),nc(o,a,n[a])}else if(r){if(t!==n){const a=o[gP];a&&(n+=";"+a),o.cssText=n,i=vP.test(n)}}else t&&e.removeAttribute("style");vc in e&&(e[vc]=i?o.display:"",e[bx]&&(o.display="none"))}const Rg=/\s*!important$/;function nc(e,t,n){if(ct(n))n.forEach(o=>nc(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=yP(e,t);Rg.test(n)?e.setProperty(qr(o),n.replace(Rg,""),"important"):e[o]=n}}const Eg=["Webkit","Moz","ms"],_d={};function yP(e,t){const n=_d[t];if(n)return n;let o=To(t);if(o!=="filter"&&o in e)return _d[t]=o;o=qc(o);for(let r=0;rSd||(SP.then(()=>Sd=0),Sd=Date.now());function PP(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;ao(TP(o,n.value),t,5,[o])};return n.value=e,n.attached=kP(),n}function TP(e,t){if(ct(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const Mg=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,RP=(e,t,n,o,r,i)=>{const a=r==="svg";t==="class"?mP(e,o,a):t==="style"?bP(e,n,o):Vc(t)?Kh(t)||wP(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):EP(e,t,o,a))?(xP(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ag(e,t,o,a,i,t!=="value")):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),Ag(e,t,o,a))};function EP(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&Mg(t)&&mt(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Mg(t)&&ln(n)?!1:t in e}const yx=new WeakMap,xx=new WeakMap,bc=Symbol("_moveCb"),zg=Symbol("_enterCb"),Cx={name:"TransitionGroup",props:wn({},fP,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=to(),o=Fy();let r,i;return up(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!zP(r[0].el,n.vnode.el,a))return;r.forEach(IP),r.forEach(OP);const s=r.filter(MP);vx(),s.forEach(l=>{const c=l.el,u=c.style;or(c,a),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[bc]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[bc]=null,Rr(c,a))};c.addEventListener("transitionend",d)})}),()=>{const a=It(e),s=mx(a);let l=a.tag||it;if(r=[],i)for(let c=0;cdelete e.mode;Cx.props;const AP=Cx;function IP(e){const t=e.el;t[bc]&&t[bc](),t[zg]&&t[zg]()}function OP(e){xx.set(e,e.el.getBoundingClientRect())}function MP(e){const t=yx.get(e),n=xx.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${o}px,${r}px)`,i.transitionDuration="0s",e}}function zP(e,t,n){const o=e.cloneNode(),r=e[wa];r&&r.forEach(s=>{s.split(/\s+/).forEach(l=>l&&o.classList.remove(l))}),n.split(/\s+/).forEach(s=>s&&o.classList.add(s)),o.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(o);const{hasTransform:a}=gx(o);return i.removeChild(o),a}const Dg=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ct(t)?n=>Ql(t,n):t};function DP(e){e.target.composing=!0}function Lg(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const kd=Symbol("_assign"),LP={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e[kd]=Dg(r);const i=o||r.props&&r.props.type==="number";aa(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),i&&(s=Tf(s)),e[kd](s)}),n&&aa(e,"change",()=>{e.value=e.value.trim()}),t||(aa(e,"compositionstart",DP),aa(e,"compositionend",Lg),aa(e,"change",Lg))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:o,trim:r,number:i}},a){if(e[kd]=Dg(a),e.composing)return;const s=(i||e.type==="number")&&!/^0\d/.test(e.value)?Tf(e.value):e.value,l=t??"";s!==l&&(document.activeElement===e&&e.type!=="range"&&(o&&t===n||r&&e.value.trim()===l)||(e.value=l))}},FP=["ctrl","shift","alt","meta"],BP={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>FP.some(n=>e[`${n}Key`]&&!t.includes(n))},NP=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(r,...i)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=r=>{if(!("key"in r))return;const i=qr(r.key);if(t.some(a=>a===i||HP[a]===i))return e(r)})},jP=wn({patchProp:RP},dP);let Fg;function VP(){return Fg||(Fg=M4(jP))}const wx=(...e)=>{const t=VP().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=UP(o);if(!r)return;const i=t._component;!mt(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const a=n(r,!1,WP(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function WP(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function UP(e){return ln(e)?document.querySelector(e):e}/*! + * vue-router v4.4.3 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const na=typeof document<"u";function SP(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Vt=Object.assign;function gd(e,t){const n={};for(const o in t){const r=t[o];n[o]=So(r)?r.map(e):e(r)}return n}const vs=()=>{},So=Array.isArray,ex=/#/g,kP=/&/g,PP=/\//g,TP=/=/g,RP=/\?/g,tx=/\+/g,EP=/%5B/g,$P=/%5D/g,nx=/%5E/g,AP=/%60/g,ox=/%7B/g,IP=/%7C/g,rx=/%7D/g,OP=/%20/g;function rp(e){return encodeURI(""+e).replace(IP,"|").replace(EP,"[").replace($P,"]")}function MP(e){return rp(e).replace(ox,"{").replace(rx,"}").replace(nx,"^")}function Ef(e){return rp(e).replace(tx,"%2B").replace(OP,"+").replace(ex,"%23").replace(kP,"%26").replace(AP,"`").replace(ox,"{").replace(rx,"}").replace(nx,"^")}function zP(e){return Ef(e).replace(TP,"%3D")}function DP(e){return rp(e).replace(ex,"%23").replace(RP,"%3F")}function LP(e){return e==null?"":DP(e).replace(PP,"%2F")}function Fs(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const FP=/\/$/,BP=e=>e.replace(FP,"");function vd(e,t,n="/"){let o,r={},i="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),r=e(i)),s>-1&&(o=o||t.slice(0,s),a=t.slice(s,t.length)),o=VP(o??t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:Fs(a)}}function NP(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Pg(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function HP(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&va(t.matched[o],n.matched[r])&&ix(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function va(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ix(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!jP(e[n],t[n]))return!1;return!0}function jP(e,t){return So(e)?Tg(e,t):So(t)?Tg(t,e):e===t}function Tg(e,t){return So(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function VP(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let i=n.length-1,a,s;for(a=0;a1&&i--;else break;return n.slice(0,i).join("/")+"/"+o.slice(a).join("/")}var Bs;(function(e){e.pop="pop",e.push="push"})(Bs||(Bs={}));var bs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(bs||(bs={}));function WP(e){if(!e)if(na){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),BP(e)}const UP=/^[^#]+#/;function qP(e,t){return e.replace(UP,"#")+t}function KP(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const ou=()=>({left:window.scrollX,top:window.scrollY});function GP(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=KP(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Rg(e,t){return(history.state?history.state.position-t:-1)+e}const $f=new Map;function YP(e,t){$f.set(e,t)}function XP(e){const t=$f.get(e);return $f.delete(e),t}let ZP=()=>location.protocol+"//"+location.host;function ax(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let s=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(s);return l[0]!=="/"&&(l="/"+l),Pg(l,"")}return Pg(n,e)+o+r}function JP(e,t,n,o){let r=[],i=[],a=null;const s=({state:f})=>{const p=ax(e,location),h=n.value,m=t.value;let v=0;if(f){if(n.value=p,t.value=f,a&&a===h){a=null;return}v=m?f.position-m.position:0}else o(p);r.forEach(b=>{b(n.value,h,{delta:v,type:Bs.pop,direction:v?v>0?bs.forward:bs.back:bs.unknown})})};function l(){a=n.value}function c(f){r.push(f);const p=()=>{const h=r.indexOf(f);h>-1&&r.splice(h,1)};return i.push(p),p}function u(){const{history:f}=window;f.state&&f.replaceState(Vt({},f.state,{scroll:ou()}),"")}function d(){for(const f of i)f();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function Eg(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?ou():null}}function QP(e){const{history:t,location:n}=window,o={value:ax(e,n)},r={value:t.state};r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:ZP()+e+l;try{t[u?"replaceState":"pushState"](c,"",f),r.value=c}catch(p){console.error(p),n[u?"replace":"assign"](f)}}function a(l,c){const u=Vt({},t.state,Eg(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});i(l,u,!0),o.value=l}function s(l,c){const u=Vt({},r.value,t.state,{forward:l,scroll:ou()});i(u.current,u,!0);const d=Vt({},Eg(o.value,l,null),{position:u.position+1},c);i(l,d,!1),o.value=l}return{location:o,state:r,push:s,replace:a}}function eT(e){e=WP(e);const t=QP(e),n=JP(e,t.state,t.location,t.replace);function o(i,a=!0){a||n.pauseListeners(),history.go(i)}const r=Vt({location:"",base:e,go:o,createHref:qP.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function tT(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),eT(e)}function nT(e){return typeof e=="string"||e&&typeof e=="object"}function sx(e){return typeof e=="string"||typeof e=="symbol"}const Cr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},lx=Symbol("");var $g;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})($g||($g={}));function ba(e,t){return Vt(new Error,{type:e,[lx]:!0},t)}function Xo(e,t){return e instanceof Error&&lx in e&&(t==null||!!(e.type&t))}const Ag="[^/]+?",oT={sensitive:!1,strict:!1,start:!0,end:!0},rT=/[.+*?^${}()[\]/\\]/g;function iT(e,t){const n=Vt({},oT,t),o=[];let r=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let d=0;dt.length?t.length===1&&t[0]===40+40?1:-1:0}function sT(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const lT={type:0,value:""},cT=/[a-zA-Z0-9_]/;function uT(e){if(!e)return[[]];if(e==="/")return[[lT]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,o=n;const r=[];let i;function a(){i&&r.push(i),i=[]}let s=0,l,c="",u="";function d(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;s{a(w)}:vs}function a(u){if(sx(u)){const d=o.get(u);d&&(o.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&o.delete(u.record.name),u.children.forEach(a),u.alias.forEach(a))}}function s(){return n}function l(u){let d=0;for(;d=0&&(u.record.path!==n[d].record.path||!cx(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!Mg(u)&&o.set(u.record.name,u)}function c(u,d){let f,p={},h,m;if("name"in u&&u.name){if(f=o.get(u.name),!f)throw ba(1,{location:u});m=f.record.name,p=Vt(Og(d.params,f.keys.filter(w=>!w.optional).concat(f.parent?f.parent.keys.filter(w=>w.optional):[]).map(w=>w.name)),u.params&&Og(u.params,f.keys.map(w=>w.name))),h=f.stringify(p)}else if(u.path!=null)h=u.path,f=n.find(w=>w.re.test(h)),f&&(p=f.parse(h),m=f.record.name);else{if(f=d.name?o.get(d.name):n.find(w=>w.re.test(d.path)),!f)throw ba(1,{location:u,currentLocation:d});m=f.record.name,p=Vt({},d.params,u.params),h=f.stringify(p)}const v=[];let b=f;for(;b;)v.unshift(b.record),b=b.parent;return{name:m,path:h,params:p,matched:v,meta:mT(v)}}return e.forEach(u=>i(u)),{addRoute:i,resolve:c,removeRoute:a,getRoutes:s,getRecordMatcher:r}}function Og(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function hT(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:pT(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function pT(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function Mg(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function mT(e){return e.reduce((t,n)=>Vt(t,n.meta),{})}function zg(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function cx(e,t){return t.children.some(n=>n===e||cx(e,n))}function gT(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ri&&Ef(i)):[o&&Ef(o)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function vT(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=So(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const bT=Symbol(""),Lg=Symbol(""),ru=Symbol(""),ip=Symbol(""),Af=Symbol("");function Ja(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ir(e,t,n,o,r,i=a=>a()){const a=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((s,l)=>{const c=f=>{f===!1?l(ba(4,{from:n,to:t})):f instanceof Error?l(f):nT(f)?l(ba(2,{from:t,to:f})):(a&&o.enterCallbacks[r]===a&&typeof f=="function"&&a.push(f),s())},u=i(()=>e.call(o&&o.instances[r],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(f=>l(f))})}function bd(e,t,n,o,r=i=>i()){const i=[];for(const a of e)for(const s in a.components){let l=a.components[s];if(!(t!=="beforeRouteEnter"&&!a.instances[s]))if(yT(l)){const u=(l.__vccOpts||l)[t];u&&i.push(Ir(u,n,o,a,s,r))}else{let c=l();i.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${a.path}"`));const d=SP(u)?u.default:u;a.components[s]=d;const p=(d.__vccOpts||d)[t];return p&&Ir(p,n,o,a,s,r)()}))}}return i}function yT(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Fg(e){const t=We(ru),n=We(ip),o=L(()=>t.resolve(we(e.to))),r=L(()=>{const{matched:l}=o.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(va.bind(null,u));if(f>-1)return f;const p=Bg(l[c-2]);return c>1&&Bg(u)===p&&d[d.length-1].path!==p?d.findIndex(va.bind(null,l[c-2])):f}),i=L(()=>r.value>-1&&_T(n.params,o.value.params)),a=L(()=>r.value>-1&&r.value===n.matched.length-1&&ix(n.params,o.value.params));function s(l={}){return wT(l)?t[we(e.replace)?"replace":"push"](we(e.to)).catch(vs):Promise.resolve()}return{route:o,href:L(()=>o.value.href),isActive:i,isExactActive:a,navigate:s}}const xT=ve({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Fg,setup(e,{slots:t}){const n=Zn(Fg(e)),{options:o}=We(ru),r=L(()=>({[Ng(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Ng(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:g("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),CT=xT;function wT(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function _T(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(!So(r)||r.length!==o.length||o.some((i,a)=>i!==r[a]))return!1}return!0}function Bg(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ng=(e,t,n)=>e??t??n,ST=ve({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=We(Af),r=L(()=>e.route||o.value),i=We(Lg,0),a=L(()=>{let c=we(i);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),s=L(()=>r.value.matched[a.value]);at(Lg,L(()=>a.value+1)),at(bT,s),at(Af,r);const l=W();return ft(()=>[l.value,s.value,e.name],([c,u,d],[f,p,h])=>{u&&(u.instances[d]=c,p&&p!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!va(u,p)||!f)&&(u.enterCallbacks[d]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,d=s.value,f=d&&d.components[u];if(!f)return Hg(n.default,{Component:f,route:c});const p=d.props[u],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,v=g(f,Vt({},h,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return Hg(n.default,{Component:v,route:c})||v}}});function Hg(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const kT=ST;function PT(e){const t=fT(e.routes,e),n=e.parseQuery||gT,o=e.stringifyQuery||Dg,r=e.history,i=Ja(),a=Ja(),s=Ja(),l=Ra(Cr);let c=Cr;na&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=gd.bind(null,J=>""+J),d=gd.bind(null,LP),f=gd.bind(null,Fs);function p(J,xe){let N,be;return sx(J)?(N=t.getRecordMatcher(J),be=xe):be=J,t.addRoute(be,N)}function h(J){const xe=t.getRecordMatcher(J);xe&&t.removeRoute(xe)}function m(){return t.getRoutes().map(J=>J.record)}function v(J){return!!t.getRecordMatcher(J)}function b(J,xe){if(xe=Vt({},xe||l.value),typeof J=="string"){const O=vd(n,J,xe.path),re=t.resolve({path:O.path},xe),_e=r.createHref(O.fullPath);return Vt(O,re,{params:f(re.params),hash:Fs(O.hash),redirectedFrom:void 0,href:_e})}let N;if(J.path!=null)N=Vt({},J,{path:vd(n,J.path,xe.path).path});else{const O=Vt({},J.params);for(const re in O)O[re]==null&&delete O[re];N=Vt({},J,{params:d(O)}),xe.params=d(xe.params)}const be=t.resolve(N,xe),Oe=J.hash||"";be.params=u(f(be.params));const Le=NP(o,Vt({},J,{hash:MP(Oe),path:be.path})),F=r.createHref(Le);return Vt({fullPath:Le,hash:Oe,query:o===Dg?vT(J.query):J.query||{}},be,{redirectedFrom:void 0,href:F})}function w(J){return typeof J=="string"?vd(n,J,l.value.path):Vt({},J)}function C(J,xe){if(c!==J)return ba(8,{from:xe,to:J})}function S(J){return y(J)}function _(J){return S(Vt(w(J),{replace:!0}))}function x(J){const xe=J.matched[J.matched.length-1];if(xe&&xe.redirect){const{redirect:N}=xe;let be=typeof N=="function"?N(J):N;return typeof be=="string"&&(be=be.includes("?")||be.includes("#")?be=w(be):{path:be},be.params={}),Vt({query:J.query,hash:J.hash,params:be.path!=null?{}:J.params},be)}}function y(J,xe){const N=c=b(J),be=l.value,Oe=J.state,Le=J.force,F=J.replace===!0,O=x(N);if(O)return y(Vt(w(O),{state:typeof O=="object"?Vt({},Oe,O.state):Oe,force:Le,replace:F}),xe||N);const re=N;re.redirectedFrom=xe;let _e;return!Le&&HP(o,be,N)&&(_e=ba(16,{to:re,from:be}),B(be,be,!0,!1)),(_e?Promise.resolve(_e):T(re,be)).catch(ee=>Xo(ee)?Xo(ee,2)?ee:pe(ee):Q(ee,re,be)).then(ee=>{if(ee){if(Xo(ee,2))return y(Vt({replace:F},w(ee.to),{state:typeof ee.to=="object"?Vt({},Oe,ee.to.state):Oe,force:Le}),xe||re)}else ee=R(re,be,!0,F,Oe);return $(re,be,ee),ee})}function k(J,xe){const N=C(J,xe);return N?Promise.reject(N):Promise.resolve()}function P(J){const xe=G.values().next().value;return xe&&typeof xe.runWithContext=="function"?xe.runWithContext(J):J()}function T(J,xe){let N;const[be,Oe,Le]=TT(J,xe);N=bd(be.reverse(),"beforeRouteLeave",J,xe);for(const O of be)O.leaveGuards.forEach(re=>{N.push(Ir(re,J,xe))});const F=k.bind(null,J,xe);return N.push(F),fe(N).then(()=>{N=[];for(const O of i.list())N.push(Ir(O,J,xe));return N.push(F),fe(N)}).then(()=>{N=bd(Oe,"beforeRouteUpdate",J,xe);for(const O of Oe)O.updateGuards.forEach(re=>{N.push(Ir(re,J,xe))});return N.push(F),fe(N)}).then(()=>{N=[];for(const O of Le)if(O.beforeEnter)if(So(O.beforeEnter))for(const re of O.beforeEnter)N.push(Ir(re,J,xe));else N.push(Ir(O.beforeEnter,J,xe));return N.push(F),fe(N)}).then(()=>(J.matched.forEach(O=>O.enterCallbacks={}),N=bd(Le,"beforeRouteEnter",J,xe,P),N.push(F),fe(N))).then(()=>{N=[];for(const O of a.list())N.push(Ir(O,J,xe));return N.push(F),fe(N)}).catch(O=>Xo(O,8)?O:Promise.reject(O))}function $(J,xe,N){s.list().forEach(be=>P(()=>be(J,xe,N)))}function R(J,xe,N,be,Oe){const Le=C(J,xe);if(Le)return Le;const F=xe===Cr,O=na?history.state:{};N&&(be||F?r.replace(J.fullPath,Vt({scroll:F&&O&&O.scroll},Oe)):r.push(J.fullPath,Oe)),l.value=J,B(J,xe,N,F),pe()}let K;function j(){K||(K=r.listen((J,xe,N)=>{if(!oe.listening)return;const be=b(J),Oe=x(be);if(Oe){y(Vt(Oe,{replace:!0}),be).catch(vs);return}c=be;const Le=l.value;na&&YP(Rg(Le.fullPath,N.delta),ou()),T(be,Le).catch(F=>Xo(F,12)?F:Xo(F,2)?(y(F.to,be).then(O=>{Xo(O,20)&&!N.delta&&N.type===Bs.pop&&r.go(-1,!1)}).catch(vs),Promise.reject()):(N.delta&&r.go(-N.delta,!1),Q(F,be,Le))).then(F=>{F=F||R(be,Le,!1),F&&(N.delta&&!Xo(F,8)?r.go(-N.delta,!1):N.type===Bs.pop&&Xo(F,20)&&r.go(-1,!1)),$(be,Le,F)}).catch(vs)}))}let D=Ja(),M=Ja(),Y;function Q(J,xe,N){pe(J);const be=M.list();return be.length?be.forEach(Oe=>Oe(J,xe,N)):console.error(J),Promise.reject(J)}function de(){return Y&&l.value!==Cr?Promise.resolve():new Promise((J,xe)=>{D.add([J,xe])})}function pe(J){return Y||(Y=!J,j(),D.list().forEach(([xe,N])=>J?N(J):xe()),D.reset()),J}function B(J,xe,N,be){const{scrollBehavior:Oe}=e;if(!na||!Oe)return Promise.resolve();const Le=!N&&XP(Rg(J.fullPath,0))||(be||!N)&&history.state&&history.state.scroll||null;return Ht().then(()=>Oe(J,xe,Le)).then(F=>F&&GP(F)).catch(F=>Q(F,J,xe))}const E=J=>r.go(J);let A;const G=new Set,oe={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:v,getRoutes:m,resolve:b,options:e,push:S,replace:_,go:E,back:()=>E(-1),forward:()=>E(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:M.add,isReady:de,install(J){const xe=this;J.component("RouterLink",CT),J.component("RouterView",kT),J.config.globalProperties.$router=xe,Object.defineProperty(J.config.globalProperties,"$route",{enumerable:!0,get:()=>we(l)}),na&&!A&&l.value===Cr&&(A=!0,S(r.location).catch(Oe=>{}));const N={};for(const Oe in Cr)Object.defineProperty(N,Oe,{get:()=>l.value[Oe],enumerable:!0});J.provide(ru,xe),J.provide(ip,uy(N)),J.provide(Af,l);const be=J.unmount;G.add(J),J.unmount=function(){G.delete(J),G.size<1&&(c=Cr,K&&K(),K=null,l.value=Cr,A=!1,Y=!1),be()}}};function fe(J){return J.reduce((xe,N)=>xe.then(()=>P(N)),Promise.resolve())}return oe}function TT(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;ava(c,s))?o.push(s):n.push(s));const l=e.matched[a];l&&(t.matched.find(c=>va(c,l))||r.push(l))}return[n,o,r]}function ux(){return We(ru)}function Aa(){return We(ip)}const RT="modulepreload",ET=function(e){return"/"+e},jg={},Ct=function(t,n,o){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=ET(i),i in jg)return;jg[i]=!0;const a=i.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(!!o)for(let u=r.length-1;u>=0;u--){const d=r[u];if(d.href===i&&(!a||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${s}`))return;const c=document.createElement("link");if(c.rel=a?"stylesheet":RT,a||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),a)return new Promise((u,d)=>{c.addEventListener("load",u),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})},$T=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),AT={name:"dashboard",path:"/",component:$T,redirect:"dashboard",meta:{isHidden:!1},children:[{name:"dashboard",path:"/dashboard",component:()=>Ct(()=>Promise.resolve().then(()=>oDe),void 0),meta:{title:"仪表盘",icon:"mdi:home",order:0}}]},IT=Object.freeze(Object.defineProperty({__proto__:null,default:AT},Symbol.toStringTag,{value:"Module"})),OT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),MT={name:"Invite",path:"/",component:OT,redirect:"/invite",meta:{isHidden:!1},children:[{name:"Invite",path:"invite",component:()=>Ct(()=>Promise.resolve().then(()=>BDe),void 0),meta:{title:"我的邀请",icon:"mdi:invite",order:1,group:{key:"finance",label:"财务"}}}]},zT=Object.freeze(Object.defineProperty({__proto__:null,default:MT},Symbol.toStringTag,{value:"Module"})),DT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),LT={name:"knowledge",path:"/",component:DT,redirect:"/knowledge",meta:{isHidden:!1},children:[{name:"Knowledge",path:"knowledge",component:()=>Ct(()=>Promise.resolve().then(()=>UDe),void 0),meta:{title:"使用文档",icon:"mdi-book-open-variant",order:10}}]},FT=Object.freeze(Object.defineProperty({__proto__:null,default:LT},Symbol.toStringTag,{value:"Module"})),BT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),NT={name:"Node",path:"/",component:BT,redirect:"/node",meta:{isHidden:!1},children:[{name:"Node",path:"node",component:()=>Ct(()=>Promise.resolve().then(()=>fLe),void 0),meta:{title:"节点状态",icon:"mdi-check-circle-outline",order:11,group:{key:"subscribe",label:"订阅"}}}]},HT=Object.freeze(Object.defineProperty({__proto__:null,default:NT},Symbol.toStringTag,{value:"Module"})),jT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),VT={name:"Order",path:"/",component:jT,redirect:"/order",meta:{isHidden:!1},children:[{name:"Order",path:"order",component:()=>Ct(()=>Promise.resolve().then(()=>pLe),void 0),meta:{title:"我的订单",icon:"mdi-format-list-bulleted",order:0,group:{key:"finance",label:"财务"}}},{name:"OrderDetail",path:"order/:trade_no",component:()=>Ct(()=>Promise.resolve().then(()=>U9e),void 0),meta:{title:"订单详情",icon:"mdi:doc",order:1,isHidden:!0}}]},WT=Object.freeze(Object.defineProperty({__proto__:null,default:VT},Symbol.toStringTag,{value:"Module"})),UT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),qT={name:"plan",path:"/",component:UT,redirect:"/plan",meta:{isHidden:!1},children:[{name:"Plan",path:"plan",component:()=>Ct(()=>Promise.resolve().then(()=>pFe),void 0),meta:{title:"购买订阅",icon:"mdi-shopping-outline",order:10,group:{key:"subscribe",label:"订阅"}}},{name:"PlanDetail",path:"plan/:plan_id",component:()=>Ct(()=>Promise.resolve().then(()=>VFe),void 0),meta:{title:"配置订阅",icon:"mdi:doc",order:1,isHidden:!0}}]},KT=Object.freeze(Object.defineProperty({__proto__:null,default:qT},Symbol.toStringTag,{value:"Module"})),GT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),YT={name:"profile",path:"/",component:GT,redirect:"/profile",meta:{isHidden:!1},children:[{name:"Profile",path:"profile",component:()=>Ct(()=>Promise.resolve().then(()=>h7e),void 0),meta:{title:"个人中心",icon:"mdi-account-outline",order:0,group:{key:"user",label:"用户"}}}]},XT=Object.freeze(Object.defineProperty({__proto__:null,default:YT},Symbol.toStringTag,{value:"Module"})),ZT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),JT={name:"ticket",path:"/",component:ZT,redirect:"/ticket",meta:{isHidden:!1},children:[{name:"Ticket",path:"ticket",component:()=>Ct(()=>Promise.resolve().then(()=>g7e),void 0),meta:{title:"我的工单",icon:"mdi-comment-alert-outline",order:0,group:{key:"user",label:"用户"}}},{name:"TicketDetail",path:"ticket/:ticket_id",component:()=>Ct(()=>Promise.resolve().then(()=>C7e),void 0),meta:{title:"工单详情",order:0,isHidden:!0}}]},QT=Object.freeze(Object.defineProperty({__proto__:null,default:JT},Symbol.toStringTag,{value:"Module"})),e5=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),t5={name:"traffic",path:"/",component:e5,redirect:"/traffic",meta:{isHidden:!1},children:[{name:"Traffic",path:"traffic",component:()=>Ct(()=>Promise.resolve().then(()=>_7e),void 0),meta:{title:"流量明细",icon:"mdi-poll",order:0,group:{key:"user",label:"用户"}}}]},n5=Object.freeze(Object.defineProperty({__proto__:null,default:t5},Symbol.toStringTag,{value:"Module"})),dx=[{name:"404",path:"/404",component:()=>Ct(()=>Promise.resolve().then(()=>R7e),void 0),meta:{title:"404",isHidden:!0}},{name:"LOGIN",path:"/login",component:()=>Ct(()=>Promise.resolve().then(()=>mf),void 0),meta:{title:"登录页",isHidden:!0}},{name:"Register",path:"/register",component:()=>Ct(()=>Promise.resolve().then(()=>mf),void 0),meta:{title:"注册",isHidden:!0}},{name:"forgetpassword",path:"/forgetpassword",component:()=>Ct(()=>Promise.resolve().then(()=>mf),void 0),meta:{title:"重置密码",isHidden:!0}}],o5={name:"NotFound",path:"/:pathMatch(.*)*",redirect:"/404",meta:{title:"Not Found"}},Vg=Object.assign({"/src/views/dashboard/route.ts":IT,"/src/views/invite/route.ts":zT,"/src/views/knowledge/route.ts":FT,"/src/views/node/route.ts":HT,"/src/views/order/route.ts":WT,"/src/views/plan/route.ts":KT,"/src/views/profile/route.ts":XT,"/src/views/ticket/route.ts":QT,"/src/views/traffic/route.ts":n5}),fx=[];Object.keys(Vg).forEach(e=>{fx.push(Vg[e].default)});function r5(e){e.beforeEach(()=>{var t;(t=window.$loadingBar)==null||t.start()}),e.afterEach(()=>{setTimeout(()=>{var t;(t=window.$loadingBar)==null||t.finish()},200)}),e.onError(()=>{var t;(t=window.$loadingBar)==null||t.error()})}var j1;const Wg=((j1=window.settings)==null?void 0:j1.title)||"Xboard";function i5(e){e.afterEach(t=>{var o;const n=(o=t.meta)==null?void 0:o.title;n?document.title=`${n} | ${Wg}`:document.title=Wg})}var a5=!1;/*! - * pinia v2.1.7 - * (c) 2023 Eduardo San Martin Morote + */const sa=typeof document<"u";function qP(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Vt=Object.assign;function Pd(e,t){const n={};for(const o in t){const r=t[o];n[o]=Ro(r)?r.map(e):e(r)}return n}const _s=()=>{},Ro=Array.isArray,_x=/#/g,KP=/&/g,GP=/\//g,YP=/=/g,XP=/\?/g,Sx=/\+/g,ZP=/%5B/g,JP=/%5D/g,kx=/%5E/g,QP=/%60/g,Px=/%7B/g,eT=/%7C/g,Tx=/%7D/g,tT=/%20/g;function vp(e){return encodeURI(""+e).replace(eT,"|").replace(ZP,"[").replace(JP,"]")}function nT(e){return vp(e).replace(Px,"{").replace(Tx,"}").replace(kx,"^")}function Bf(e){return vp(e).replace(Sx,"%2B").replace(tT,"+").replace(_x,"%23").replace(KP,"%26").replace(QP,"`").replace(Px,"{").replace(Tx,"}").replace(kx,"^")}function oT(e){return Bf(e).replace(YP,"%3D")}function rT(e){return vp(e).replace(_x,"%23").replace(XP,"%3F")}function iT(e){return e==null?"":rT(e).replace(GP,"%2F")}function js(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const aT=/\/$/,sT=e=>e.replace(aT,"");function Td(e,t,n="/"){let o,r={},i="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),r=e(i)),s>-1&&(o=o||t.slice(0,s),a=t.slice(s,t.length)),o=dT(o??t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:js(a)}}function lT(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Bg(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function cT(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&_a(t.matched[o],n.matched[r])&&Rx(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function _a(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Rx(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!uT(e[n],t[n]))return!1;return!0}function uT(e,t){return Ro(e)?Ng(e,t):Ro(t)?Ng(t,e):e===t}function Ng(e,t){return Ro(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function dT(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let i=n.length-1,a,s;for(a=0;a1&&i--;else break;return n.slice(0,i).join("/")+"/"+o.slice(a).join("/")}const _r={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Vs;(function(e){e.pop="pop",e.push="push"})(Vs||(Vs={}));var Ss;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ss||(Ss={}));function fT(e){if(!e)if(sa){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),sT(e)}const hT=/^[^#]+#/;function pT(e,t){return e.replace(hT,"#")+t}function mT(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const au=()=>({left:window.scrollX,top:window.scrollY});function gT(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=mT(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Hg(e,t){return(history.state?history.state.position-t:-1)+e}const Nf=new Map;function vT(e,t){Nf.set(e,t)}function bT(e){const t=Nf.get(e);return Nf.delete(e),t}let yT=()=>location.protocol+"//"+location.host;function Ex(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let s=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(s);return l[0]!=="/"&&(l="/"+l),Bg(l,"")}return Bg(n,e)+o+r}function xT(e,t,n,o){let r=[],i=[],a=null;const s=({state:f})=>{const h=Ex(e,location),p=n.value,g=t.value;let m=0;if(f){if(n.value=h,t.value=f,a&&a===p){a=null;return}m=g?f.position-g.position:0}else o(h);r.forEach(b=>{b(n.value,p,{delta:m,type:Vs.pop,direction:m?m>0?Ss.forward:Ss.back:Ss.unknown})})};function l(){a=n.value}function c(f){r.push(f);const h=()=>{const p=r.indexOf(f);p>-1&&r.splice(p,1)};return i.push(h),h}function u(){const{history:f}=window;f.state&&f.replaceState(Vt({},f.state,{scroll:au()}),"")}function d(){for(const f of i)f();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function jg(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?au():null}}function CT(e){const{history:t,location:n}=window,o={value:Ex(e,n)},r={value:t.state};r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:yT()+e+l;try{t[u?"replaceState":"pushState"](c,"",f),r.value=c}catch(h){console.error(h),n[u?"replace":"assign"](f)}}function a(l,c){const u=Vt({},t.state,jg(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});i(l,u,!0),o.value=l}function s(l,c){const u=Vt({},r.value,t.state,{forward:l,scroll:au()});i(u.current,u,!0);const d=Vt({},jg(o.value,l,null),{position:u.position+1},c);i(l,d,!1),o.value=l}return{location:o,state:r,push:s,replace:a}}function wT(e){e=fT(e);const t=CT(e),n=xT(e,t.state,t.location,t.replace);function o(i,a=!0){a||n.pauseListeners(),history.go(i)}const r=Vt({location:"",base:e,go:o,createHref:pT.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function _T(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),wT(e)}function ST(e){return typeof e=="string"||e&&typeof e=="object"}function $x(e){return typeof e=="string"||typeof e=="symbol"}const Ax=Symbol("");var Vg;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Vg||(Vg={}));function Sa(e,t){return Vt(new Error,{type:e,[Ax]:!0},t)}function Jo(e,t){return e instanceof Error&&Ax in e&&(t==null||!!(e.type&t))}const Wg="[^/]+?",kT={sensitive:!1,strict:!1,start:!0,end:!0},PT=/[.+*?^${}()[\]/\\]/g;function TT(e,t){const n=Vt({},kT,t),o=[];let r=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let d=0;dt.length?t.length===1&&t[0]===40+40?1:-1:0}function Ix(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const ET={type:0,value:""},$T=/[a-zA-Z0-9_]/;function AT(e){if(!e)return[[]];if(e==="/")return[[ET]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,o=n;const r=[];let i;function a(){i&&r.push(i),i=[]}let s=0,l,c="",u="";function d(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;s{a(C)}:_s}function a(d){if($x(d)){const f=o.get(d);f&&(o.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(a),f.alias.forEach(a))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&o.delete(d.record.name),d.children.forEach(a),d.alias.forEach(a))}}function s(){return n}function l(d){const f=LT(d,n);n.splice(f,0,d),d.record.name&&!Kg(d)&&o.set(d.record.name,d)}function c(d,f){let h,p={},g,m;if("name"in d&&d.name){if(h=o.get(d.name),!h)throw Sa(1,{location:d});m=h.record.name,p=Vt(qg(f.params,h.keys.filter(C=>!C.optional).concat(h.parent?h.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),d.params&&qg(d.params,h.keys.map(C=>C.name))),g=h.stringify(p)}else if(d.path!=null)g=d.path,h=n.find(C=>C.re.test(g)),h&&(p=h.parse(g),m=h.record.name);else{if(h=f.name?o.get(f.name):n.find(C=>C.re.test(f.path)),!h)throw Sa(1,{location:d,currentLocation:f});m=h.record.name,p=Vt({},f.params,d.params),g=h.stringify(p)}const b=[];let _=h;for(;_;)b.unshift(_.record),_=_.parent;return{name:m,path:g,params:p,matched:b,meta:DT(b)}}e.forEach(d=>i(d));function u(){n.length=0,o.clear()}return{addRoute:i,resolve:c,removeRoute:a,clearRoutes:u,getRoutes:s,getRecordMatcher:r}}function qg(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function MT(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:zT(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function zT(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function Kg(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function DT(e){return e.reduce((t,n)=>Vt(t,n.meta),{})}function Gg(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function LT(e,t){let n=0,o=t.length;for(;n!==o;){const i=n+o>>1;Ix(e,t[i])<0?o=i:n=i+1}const r=FT(e);return r&&(o=t.lastIndexOf(r,o-1)),o}function FT(e){let t=e;for(;t=t.parent;)if(Ox(t)&&Ix(e,t)===0)return t}function Ox({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function BT(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ri&&Bf(i)):[o&&Bf(o)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function NT(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Ro(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const HT=Symbol(""),Xg=Symbol(""),su=Symbol(""),bp=Symbol(""),Hf=Symbol("");function rs(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Or(e,t,n,o,r,i=a=>a()){const a=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((s,l)=>{const c=f=>{f===!1?l(Sa(4,{from:n,to:t})):f instanceof Error?l(f):ST(f)?l(Sa(2,{from:t,to:f})):(a&&o.enterCallbacks[r]===a&&typeof f=="function"&&a.push(f),s())},u=i(()=>e.call(o&&o.instances[r],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(f=>l(f))})}function Rd(e,t,n,o,r=i=>i()){const i=[];for(const a of e)for(const s in a.components){let l=a.components[s];if(!(t!=="beforeRouteEnter"&&!a.instances[s]))if(jT(l)){const u=(l.__vccOpts||l)[t];u&&i.push(Or(u,n,o,a,s,r))}else{let c=l();i.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${a.path}"`));const d=qP(u)?u.default:u;a.components[s]=d;const h=(d.__vccOpts||d)[t];return h&&Or(h,n,o,a,s,r)()}))}}return i}function jT(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Zg(e){const t=Ue(su),n=Ue(bp),o=F(()=>{const l=we(e.to);return t.resolve(l)}),r=F(()=>{const{matched:l}=o.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(_a.bind(null,u));if(f>-1)return f;const h=Jg(l[c-2]);return c>1&&Jg(u)===h&&d[d.length-1].path!==h?d.findIndex(_a.bind(null,l[c-2])):f}),i=F(()=>r.value>-1&&qT(n.params,o.value.params)),a=F(()=>r.value>-1&&r.value===n.matched.length-1&&Rx(n.params,o.value.params));function s(l={}){return UT(l)?t[we(e.replace)?"replace":"push"](we(e.to)).catch(_s):Promise.resolve()}return{route:o,href:F(()=>o.value.href),isActive:i,isExactActive:a,navigate:s}}const VT=be({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Zg,setup(e,{slots:t}){const n=eo(Zg(e)),{options:o}=Ue(su),r=F(()=>({[Qg(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Qg(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:v("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),WT=VT;function UT(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function qT(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(!Ro(r)||r.length!==o.length||o.some((i,a)=>i!==r[a]))return!1}return!0}function Jg(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Qg=(e,t,n)=>e??t??n,KT=be({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Ue(Hf),r=F(()=>e.route||o.value),i=Ue(Xg,0),a=F(()=>{let c=we(i);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),s=F(()=>r.value.matched[a.value]);at(Xg,F(()=>a.value+1)),at(HT,s),at(Hf,r);const l=W();return ft(()=>[l.value,s.value,e.name],([c,u,d],[f,h,p])=>{u&&(u.instances[d]=c,h&&h!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!_a(u,h)||!f)&&(u.enterCallbacks[d]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,d=s.value,f=d&&d.components[u];if(!f)return ev(n.default,{Component:f,route:c});const h=d.props[u],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,m=v(f,Vt({},p,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return ev(n.default,{Component:m,route:c})||m}}});function ev(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const GT=KT;function YT(e){const t=OT(e.routes,e),n=e.parseQuery||BT,o=e.stringifyQuery||Yg,r=e.history,i=rs(),a=rs(),s=rs(),l=Oa(_r);let c=_r;sa&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Pd.bind(null,Q=>""+Q),d=Pd.bind(null,iT),f=Pd.bind(null,js);function h(Q,xe){let H,ye;return $x(Q)?(H=t.getRecordMatcher(Q),ye=xe):ye=Q,t.addRoute(ye,H)}function p(Q){const xe=t.getRecordMatcher(Q);xe&&t.removeRoute(xe)}function g(){return t.getRoutes().map(Q=>Q.record)}function m(Q){return!!t.getRecordMatcher(Q)}function b(Q,xe){if(xe=Vt({},xe||l.value),typeof Q=="string"){const O=Td(n,Q,xe.path),oe=t.resolve({path:O.path},xe),_e=r.createHref(O.fullPath);return Vt(O,oe,{params:f(oe.params),hash:js(O.hash),redirectedFrom:void 0,href:_e})}let H;if(Q.path!=null)H=Vt({},Q,{path:Td(n,Q.path,xe.path).path});else{const O=Vt({},Q.params);for(const oe in O)O[oe]==null&&delete O[oe];H=Vt({},Q,{params:d(O)}),xe.params=d(xe.params)}const ye=t.resolve(H,xe),Oe=Q.hash||"";ye.params=u(f(ye.params));const Ne=lT(o,Vt({},Q,{hash:nT(Oe),path:ye.path})),L=r.createHref(Ne);return Vt({fullPath:Ne,hash:Oe,query:o===Yg?NT(Q.query):Q.query||{}},ye,{redirectedFrom:void 0,href:L})}function _(Q){return typeof Q=="string"?Td(n,Q,l.value.path):Vt({},Q)}function C(Q,xe){if(c!==Q)return Sa(8,{from:xe,to:Q})}function S(Q){return y(Q)}function w(Q){return S(Vt(_(Q),{replace:!0}))}function x(Q){const xe=Q.matched[Q.matched.length-1];if(xe&&xe.redirect){const{redirect:H}=xe;let ye=typeof H=="function"?H(Q):H;return typeof ye=="string"&&(ye=ye.includes("?")||ye.includes("#")?ye=_(ye):{path:ye},ye.params={}),Vt({query:Q.query,hash:Q.hash,params:ye.path!=null?{}:Q.params},ye)}}function y(Q,xe){const H=c=b(Q),ye=l.value,Oe=Q.state,Ne=Q.force,L=Q.replace===!0,O=x(H);if(O)return y(Vt(_(O),{state:typeof O=="object"?Vt({},Oe,O.state):Oe,force:Ne,replace:L}),xe||H);const oe=H;oe.redirectedFrom=xe;let _e;return!Ne&&cT(o,ye,H)&&(_e=Sa(16,{to:oe,from:ye}),B(ye,ye,!0,!1)),(_e?Promise.resolve(_e):T(oe,ye)).catch(te=>Jo(te)?Jo(te,2)?te:pe(te):J(te,oe,ye)).then(te=>{if(te){if(Jo(te,2))return y(Vt({replace:L},_(te.to),{state:typeof te.to=="object"?Vt({},Oe,te.to.state):Oe,force:Ne}),xe||oe)}else te=R(oe,ye,!0,L,Oe);return E(oe,ye,te),te})}function P(Q,xe){const H=C(Q,xe);return H?Promise.reject(H):Promise.resolve()}function k(Q){const xe=Y.values().next().value;return xe&&typeof xe.runWithContext=="function"?xe.runWithContext(Q):Q()}function T(Q,xe){let H;const[ye,Oe,Ne]=XT(Q,xe);H=Rd(ye.reverse(),"beforeRouteLeave",Q,xe);for(const O of ye)O.leaveGuards.forEach(oe=>{H.push(Or(oe,Q,xe))});const L=P.bind(null,Q,xe);return H.push(L),fe(H).then(()=>{H=[];for(const O of i.list())H.push(Or(O,Q,xe));return H.push(L),fe(H)}).then(()=>{H=Rd(Oe,"beforeRouteUpdate",Q,xe);for(const O of Oe)O.updateGuards.forEach(oe=>{H.push(Or(oe,Q,xe))});return H.push(L),fe(H)}).then(()=>{H=[];for(const O of Ne)if(O.beforeEnter)if(Ro(O.beforeEnter))for(const oe of O.beforeEnter)H.push(Or(oe,Q,xe));else H.push(Or(O.beforeEnter,Q,xe));return H.push(L),fe(H)}).then(()=>(Q.matched.forEach(O=>O.enterCallbacks={}),H=Rd(Ne,"beforeRouteEnter",Q,xe,k),H.push(L),fe(H))).then(()=>{H=[];for(const O of a.list())H.push(Or(O,Q,xe));return H.push(L),fe(H)}).catch(O=>Jo(O,8)?O:Promise.reject(O))}function E(Q,xe,H){s.list().forEach(ye=>k(()=>ye(Q,xe,H)))}function R(Q,xe,H,ye,Oe){const Ne=C(Q,xe);if(Ne)return Ne;const L=xe===_r,O=sa?history.state:{};H&&(ye||L?r.replace(Q.fullPath,Vt({scroll:L&&O&&O.scroll},Oe)):r.push(Q.fullPath,Oe)),l.value=Q,B(Q,xe,H,L),pe()}let K;function N(){K||(K=r.listen((Q,xe,H)=>{if(!ne.listening)return;const ye=b(Q),Oe=x(ye);if(Oe){y(Vt(Oe,{replace:!0}),ye).catch(_s);return}c=ye;const Ne=l.value;sa&&vT(Hg(Ne.fullPath,H.delta),au()),T(ye,Ne).catch(L=>Jo(L,12)?L:Jo(L,2)?(y(L.to,ye).then(O=>{Jo(O,20)&&!H.delta&&H.type===Vs.pop&&r.go(-1,!1)}).catch(_s),Promise.reject()):(H.delta&&r.go(-H.delta,!1),J(L,ye,Ne))).then(L=>{L=L||R(ye,Ne,!1),L&&(H.delta&&!Jo(L,8)?r.go(-H.delta,!1):H.type===Vs.pop&&Jo(L,20)&&r.go(-1,!1)),E(ye,Ne,L)}).catch(_s)}))}let D=rs(),M=rs(),G;function J(Q,xe,H){pe(Q);const ye=M.list();return ye.length?ye.forEach(Oe=>Oe(Q,xe,H)):console.error(Q),Promise.reject(Q)}function he(){return G&&l.value!==_r?Promise.resolve():new Promise((Q,xe)=>{D.add([Q,xe])})}function pe(Q){return G||(G=!Q,N(),D.list().forEach(([xe,H])=>Q?H(Q):xe()),D.reset()),Q}function B(Q,xe,H,ye){const{scrollBehavior:Oe}=e;if(!sa||!Oe)return Promise.resolve();const Ne=!H&&bT(Hg(Q.fullPath,0))||(ye||!H)&&history.state&&history.state.scroll||null;return Ht().then(()=>Oe(Q,xe,Ne)).then(L=>L&&gT(L)).catch(L=>J(L,Q,xe))}const $=Q=>r.go(Q);let A;const Y=new Set,ne={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:m,getRoutes:g,resolve:b,options:e,push:S,replace:w,go:$,back:()=>$(-1),forward:()=>$(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:M.add,isReady:he,install(Q){const xe=this;Q.component("RouterLink",WT),Q.component("RouterView",GT),Q.config.globalProperties.$router=xe,Object.defineProperty(Q.config.globalProperties,"$route",{enumerable:!0,get:()=>we(l)}),sa&&!A&&l.value===_r&&(A=!0,S(r.location).catch(Oe=>{}));const H={};for(const Oe in _r)Object.defineProperty(H,Oe,{get:()=>l.value[Oe],enumerable:!0});Q.provide(su,xe),Q.provide(bp,Ry(H)),Q.provide(Hf,l);const ye=Q.unmount;Y.add(Q),Q.unmount=function(){Y.delete(Q),Y.size<1&&(c=_r,K&&K(),K=null,l.value=_r,A=!1,G=!1),ye()}}};function fe(Q){return Q.reduce((xe,H)=>xe.then(()=>k(H)),Promise.resolve())}return ne}function XT(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;a_a(c,s))?o.push(s):n.push(s));const l=e.matched[a];l&&(t.matched.find(c=>_a(c,l))||r.push(l))}return[n,o,r]}function Mx(){return Ue(su)}function Da(e){return Ue(bp)}const ZT="modulepreload",JT=function(e){return"/"+e},tv={},wt=function(t,n,o){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=JT(i),i in tv)return;tv[i]=!0;const a=i.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(!!o)for(let u=r.length-1;u>=0;u--){const d=r[u];if(d.href===i&&(!a||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${s}`))return;const c=document.createElement("link");if(c.rel=a?"stylesheet":ZT,a||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),a)return new Promise((u,d)=>{c.addEventListener("load",u),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})},QT=()=>wt(()=>Promise.resolve().then(()=>br),void 0),e5={name:"dashboard",path:"/",component:QT,redirect:"dashboard",meta:{isHidden:!1},children:[{name:"dashboard",path:"/dashboard",component:()=>wt(()=>Promise.resolve().then(()=>YDe),void 0),meta:{title:"仪表盘",icon:"mdi:home",order:0}}]},t5=Object.freeze(Object.defineProperty({__proto__:null,default:e5},Symbol.toStringTag,{value:"Module"})),n5=()=>wt(()=>Promise.resolve().then(()=>br),void 0),o5={name:"Invite",path:"/",component:n5,redirect:"/invite",meta:{isHidden:!1},children:[{name:"Invite",path:"invite",component:()=>wt(()=>Promise.resolve().then(()=>ALe),void 0),meta:{title:"我的邀请",icon:"mdi:invite",order:1,group:{key:"finance",label:"财务"}}}]},r5=Object.freeze(Object.defineProperty({__proto__:null,default:o5},Symbol.toStringTag,{value:"Module"})),i5=()=>wt(()=>Promise.resolve().then(()=>br),void 0),a5={name:"knowledge",path:"/",component:i5,redirect:"/knowledge",meta:{isHidden:!1},children:[{name:"Knowledge",path:"knowledge",component:()=>wt(()=>Promise.resolve().then(()=>LLe),void 0),meta:{title:"使用文档",icon:"mdi-book-open-variant",order:10}}]},s5=Object.freeze(Object.defineProperty({__proto__:null,default:a5},Symbol.toStringTag,{value:"Module"})),l5=()=>wt(()=>Promise.resolve().then(()=>br),void 0),c5={name:"Node",path:"/",component:l5,redirect:"/node",meta:{isHidden:!1},children:[{name:"Node",path:"node",component:()=>wt(()=>Promise.resolve().then(()=>rFe),void 0),meta:{title:"节点状态",icon:"mdi-check-circle-outline",order:11,group:{key:"subscribe",label:"订阅"}}}]},u5=Object.freeze(Object.defineProperty({__proto__:null,default:c5},Symbol.toStringTag,{value:"Module"})),d5=()=>wt(()=>Promise.resolve().then(()=>br),void 0),f5={name:"Order",path:"/",component:d5,redirect:"/order",meta:{isHidden:!1},children:[{name:"Order",path:"order",component:()=>wt(()=>Promise.resolve().then(()=>aFe),void 0),meta:{title:"我的订单",icon:"mdi-format-list-bulleted",order:0,group:{key:"finance",label:"财务"}}},{name:"OrderDetail",path:"order/:trade_no",component:()=>wt(()=>Promise.resolve().then(()=>L9e),void 0),meta:{title:"订单详情",icon:"mdi:doc",order:1,isHidden:!0}}]},h5=Object.freeze(Object.defineProperty({__proto__:null,default:f5},Symbol.toStringTag,{value:"Module"})),p5=()=>wt(()=>Promise.resolve().then(()=>br),void 0),m5={name:"plan",path:"/",component:p5,redirect:"/plan",meta:{isHidden:!1},children:[{name:"Plan",path:"plan",component:()=>wt(()=>Promise.resolve().then(()=>a7e),void 0),meta:{title:"购买订阅",icon:"mdi-shopping-outline",order:10,group:{key:"subscribe",label:"订阅"}}},{name:"PlanDetail",path:"plan/:plan_id",component:()=>wt(()=>Promise.resolve().then(()=>z7e),void 0),meta:{title:"配置订阅",icon:"mdi:doc",order:1,isHidden:!0}}]},g5=Object.freeze(Object.defineProperty({__proto__:null,default:m5},Symbol.toStringTag,{value:"Module"})),v5=()=>wt(()=>Promise.resolve().then(()=>br),void 0),b5={name:"profile",path:"/",component:v5,redirect:"/profile",meta:{isHidden:!1},children:[{name:"Profile",path:"profile",component:()=>wt(()=>Promise.resolve().then(()=>iBe),void 0),meta:{title:"个人中心",icon:"mdi-account-outline",order:0,group:{key:"user",label:"用户"}}}]},y5=Object.freeze(Object.defineProperty({__proto__:null,default:b5},Symbol.toStringTag,{value:"Module"})),x5=()=>wt(()=>Promise.resolve().then(()=>br),void 0),C5={name:"ticket",path:"/",component:x5,redirect:"/ticket",meta:{isHidden:!1},children:[{name:"Ticket",path:"ticket",component:()=>wt(()=>Promise.resolve().then(()=>lBe),void 0),meta:{title:"我的工单",icon:"mdi-comment-alert-outline",order:0,group:{key:"user",label:"用户"}}},{name:"TicketDetail",path:"ticket/:ticket_id",component:()=>wt(()=>Promise.resolve().then(()=>hBe),void 0),meta:{title:"工单详情",order:0,isHidden:!0}}]},w5=Object.freeze(Object.defineProperty({__proto__:null,default:C5},Symbol.toStringTag,{value:"Module"})),_5=()=>wt(()=>Promise.resolve().then(()=>br),void 0),S5={name:"traffic",path:"/",component:_5,redirect:"/traffic",meta:{isHidden:!1},children:[{name:"Traffic",path:"traffic",component:()=>wt(()=>Promise.resolve().then(()=>mBe),void 0),meta:{title:"流量明细",icon:"mdi-poll",order:0,group:{key:"user",label:"用户"}}}]},k5=Object.freeze(Object.defineProperty({__proto__:null,default:S5},Symbol.toStringTag,{value:"Module"})),zx=[{name:"404",path:"/404",component:()=>wt(()=>Promise.resolve().then(()=>xBe),void 0),meta:{title:"404",isHidden:!0}},{name:"LOGIN",path:"/login",component:()=>wt(()=>Promise.resolve().then(()=>Pf),void 0),meta:{title:"登录页",isHidden:!0}},{name:"Register",path:"/register",component:()=>wt(()=>Promise.resolve().then(()=>Pf),void 0),meta:{title:"注册",isHidden:!0}},{name:"forgetpassword",path:"/forgetpassword",component:()=>wt(()=>Promise.resolve().then(()=>Pf),void 0),meta:{title:"重置密码",isHidden:!0}}],P5={name:"NotFound",path:"/:pathMatch(.*)*",redirect:"/404",meta:{title:"Not Found"}},nv=Object.assign({"/src/views/dashboard/route.ts":t5,"/src/views/invite/route.ts":r5,"/src/views/knowledge/route.ts":s5,"/src/views/node/route.ts":u5,"/src/views/order/route.ts":h5,"/src/views/plan/route.ts":g5,"/src/views/profile/route.ts":y5,"/src/views/ticket/route.ts":w5,"/src/views/traffic/route.ts":k5}),Dx=[];Object.keys(nv).forEach(e=>{Dx.push(nv[e].default)});function T5(e){e.beforeEach(()=>{var t;(t=window.$loadingBar)==null||t.start()}),e.afterEach(()=>{setTimeout(()=>{var t;(t=window.$loadingBar)==null||t.finish()},200)}),e.onError(()=>{var t;(t=window.$loadingBar)==null||t.error()})}var iy;const ov=((iy=window.settings)==null?void 0:iy.title)||"Xboard";function R5(e){e.afterEach(t=>{var o;const n=(o=t.meta)==null?void 0:o.title;n?document.title=`${n} | ${ov}`:document.title=ov})}var E5=!1;/*! + * pinia v2.2.2 + * (c) 2024 Eduardo San Martin Morote * @license MIT - */let hx;const iu=e=>hx=e,px=Symbol();function If(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ys;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ys||(ys={}));function s5(){const e=Lh(!0),t=e.run(()=>W({}));let n=[],o=[];const r=$s({install(i){iu(r),r._a=i,i.provide(px,r),i.config.globalProperties.$pinia=r,o.forEach(a=>n.push(a)),o=[]},use(i){return!this._a&&!a5?o.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const mx=()=>{};function Ug(e,t,n,o=mx){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),o())};return!n&&Fh()&&J1(r),r}function Yi(e,...t){e.slice().forEach(n=>{n(...t)})}const l5=e=>e();function Of(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,o)=>e.set(o,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];If(r)&&If(o)&&e.hasOwnProperty(n)&&!cn(o)&&!yi(o)?e[n]=Of(r,o):e[n]=o}return e}const c5=Symbol();function u5(e){return!If(e)||!e.hasOwnProperty(c5)}const{assign:Tr}=Object;function d5(e){return!!(cn(e)&&e.effect)}function f5(e,t,n,o){const{state:r,actions:i,getters:a}=t,s=n.state.value[e];let l;function c(){s||(n.state.value[e]=r?r():{});const u=I3(n.state.value[e]);return Tr(u,i,Object.keys(a||{}).reduce((d,f)=>(d[f]=$s(L(()=>{iu(n);const p=n._s.get(e);return a[f].call(p,p)})),d),{}))}return l=gx(e,c,t,n,o,!0),l}function gx(e,t,n={},o,r,i){let a;const s=Tr({actions:{}},n),l={deep:!0};let c,u,d=[],f=[],p;const h=o.state.value[e];!i&&!h&&(o.state.value[e]={}),W({});let m;function v(k){let P;c=u=!1,typeof k=="function"?(k(o.state.value[e]),P={type:ys.patchFunction,storeId:e,events:p}):(Of(o.state.value[e],k),P={type:ys.patchObject,payload:k,storeId:e,events:p});const T=m=Symbol();Ht().then(()=>{m===T&&(c=!0)}),u=!0,Yi(d,P,o.state.value[e])}const b=i?function(){const{state:P}=n,T=P?P():{};this.$patch($=>{Tr($,T)})}:mx;function w(){a.stop(),d=[],f=[],o._s.delete(e)}function C(k,P){return function(){iu(o);const T=Array.from(arguments),$=[],R=[];function K(M){$.push(M)}function j(M){R.push(M)}Yi(f,{args:T,name:k,store:_,after:K,onError:j});let D;try{D=P.apply(this&&this.$id===e?this:_,T)}catch(M){throw Yi(R,M),M}return D instanceof Promise?D.then(M=>(Yi($,M),M)).catch(M=>(Yi(R,M),Promise.reject(M))):(Yi($,D),D)}}const S={_p:o,$id:e,$onAction:Ug.bind(null,f),$patch:v,$reset:b,$subscribe(k,P={}){const T=Ug(d,k,P.detached,()=>$()),$=a.run(()=>ft(()=>o.state.value[e],R=>{(P.flush==="sync"?u:c)&&k({storeId:e,type:ys.direct,events:p},R)},Tr({},l,P)));return T},$dispose:w},_=Zn(S);o._s.set(e,_);const y=(o._a&&o._a.runWithContext||l5)(()=>o._e.run(()=>(a=Lh()).run(t)));for(const k in y){const P=y[k];if(cn(P)&&!d5(P)||yi(P))i||(h&&u5(P)&&(cn(P)?P.value=h[k]:Of(P,h[k])),o.state.value[e][k]=P);else if(typeof P=="function"){const T=C(k,P);y[k]=T,s.actions[k]=P}}return Tr(_,y),Tr($t(_),y),Object.defineProperty(_,"$state",{get:()=>o.state.value[e],set:k=>{v(P=>{Tr(P,k)})}}),o._p.forEach(k=>{Tr(_,a.run(()=>k({store:_,app:o._a,pinia:o,options:s})))}),h&&i&&n.hydrate&&n.hydrate(_.$state,h),c=!0,u=!0,_}function au(e,t,n){let o,r;const i=typeof t=="function";typeof e=="string"?(o=e,r=i?n:t):(r=e,o=e.id);function a(s,l){const c=h4();return s=s||(c?We(px,null):null),s&&iu(s),s=hx,s._s.has(o)||(i?gx(o,t,r,s):f5(o,r,s)),s._s.get(o)}return a.$id=o,a}function vx(e,t){return function(){return e.apply(t,arguments)}}const{toString:h5}=Object.prototype,{getPrototypeOf:ap}=Object,su=(e=>t=>{const n=h5.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Uo=e=>(e=e.toLowerCase(),t=>su(t)===e),lu=e=>t=>typeof t===e,{isArray:Ia}=Array,Ns=lu("undefined");function p5(e){return e!==null&&!Ns(e)&&e.constructor!==null&&!Ns(e.constructor)&&ro(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const bx=Uo("ArrayBuffer");function m5(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&bx(e.buffer),t}const g5=lu("string"),ro=lu("function"),yx=lu("number"),cu=e=>e!==null&&typeof e=="object",v5=e=>e===!0||e===!1,tc=e=>{if(su(e)!=="object")return!1;const t=ap(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},b5=Uo("Date"),y5=Uo("File"),x5=Uo("Blob"),C5=Uo("FileList"),w5=e=>cu(e)&&ro(e.pipe),_5=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ro(e.append)&&((t=su(e))==="formdata"||t==="object"&&ro(e.toString)&&e.toString()==="[object FormData]"))},S5=Uo("URLSearchParams"),k5=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function el(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,r;if(typeof e!="object"&&(e=[e]),Ia(e))for(o=0,r=e.length;o0;)if(r=n[o],t===r.toLowerCase())return r;return null}const Cx=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),wx=e=>!Ns(e)&&e!==Cx;function Mf(){const{caseless:e}=wx(this)&&this||{},t={},n=(o,r)=>{const i=e&&xx(t,r)||r;tc(t[i])&&tc(o)?t[i]=Mf(t[i],o):tc(o)?t[i]=Mf({},o):Ia(o)?t[i]=o.slice():t[i]=o};for(let o=0,r=arguments.length;o(el(t,(r,i)=>{n&&ro(r)?e[i]=vx(r,n):e[i]=r},{allOwnKeys:o}),e),T5=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),R5=(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)},E5=(e,t,n,o)=>{let r,i,a;const s={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)a=r[i],(!o||o(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&ap(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},$5=(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},A5=e=>{if(!e)return null;if(Ia(e))return e;let t=e.length;if(!yx(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},I5=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ap(Uint8Array)),O5=(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=o.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},M5=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},z5=Uo("HTMLFormElement"),D5=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,r){return o.toUpperCase()+r}),qg=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),L5=Uo("RegExp"),_x=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};el(n,(r,i)=>{let a;(a=t(r,i,e))!==!1&&(o[i]=a||r)}),Object.defineProperties(e,o)},F5=e=>{_x(e,(t,n)=>{if(ro(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(ro(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+"'")})}})},B5=(e,t)=>{const n={},o=r=>{r.forEach(i=>{n[i]=!0})};return Ia(e)?o(e):o(String(e).split(t)),n},N5=()=>{},H5=(e,t)=>(e=+e,Number.isFinite(e)?e:t),yd="abcdefghijklmnopqrstuvwxyz",Kg="0123456789",Sx={DIGIT:Kg,ALPHA:yd,ALPHA_DIGIT:yd+yd.toUpperCase()+Kg},j5=(e=16,t=Sx.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n};function V5(e){return!!(e&&ro(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const W5=e=>{const t=new Array(10),n=(o,r)=>{if(cu(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[r]=o;const i=Ia(o)?[]:{};return el(o,(a,s)=>{const l=n(a,r+1);!Ns(l)&&(i[s]=l)}),t[r]=void 0,i}}return o};return n(e,0)},U5=Uo("AsyncFunction"),q5=e=>e&&(cu(e)||ro(e))&&ro(e.then)&&ro(e.catch),Ie={isArray:Ia,isArrayBuffer:bx,isBuffer:p5,isFormData:_5,isArrayBufferView:m5,isString:g5,isNumber:yx,isBoolean:v5,isObject:cu,isPlainObject:tc,isUndefined:Ns,isDate:b5,isFile:y5,isBlob:x5,isRegExp:L5,isFunction:ro,isStream:w5,isURLSearchParams:S5,isTypedArray:I5,isFileList:C5,forEach:el,merge:Mf,extend:P5,trim:k5,stripBOM:T5,inherits:R5,toFlatObject:E5,kindOf:su,kindOfTest:Uo,endsWith:$5,toArray:A5,forEachEntry:O5,matchAll:M5,isHTMLForm:z5,hasOwnProperty:qg,hasOwnProp:qg,reduceDescriptors:_x,freezeMethods:F5,toObjectSet:B5,toCamelCase:D5,noop:N5,toFiniteNumber:H5,findKey:xx,global:Cx,isContextDefined:wx,ALPHABET:Sx,generateString:j5,isSpecCompliantForm:V5,toJSONObject:W5,isAsyncFn:U5,isThenable:q5};function At(e,t,n,o,r){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),r&&(this.response=r)}Ie.inherits(At,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:Ie.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const kx=At.prototype,Px={};["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=>{Px[e]={value:e}});Object.defineProperties(At,Px);Object.defineProperty(kx,"isAxiosError",{value:!0});At.from=(e,t,n,o,r,i)=>{const a=Object.create(kx);return Ie.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),At.call(a,e.message,t,n,o,r),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const K5=null;function zf(e){return Ie.isPlainObject(e)||Ie.isArray(e)}function Tx(e){return Ie.endsWith(e,"[]")?e.slice(0,-2):e}function Gg(e,t,n){return e?e.concat(t).map(function(r,i){return r=Tx(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function G5(e){return Ie.isArray(e)&&!e.some(zf)}const Y5=Ie.toFlatObject(Ie,{},null,function(t){return/^is[A-Z]/.test(t)});function uu(e,t,n){if(!Ie.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Ie.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,v){return!Ie.isUndefined(v[m])});const o=n.metaTokens,r=n.visitor||u,i=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Ie.isSpecCompliantForm(t);if(!Ie.isFunction(r))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(Ie.isDate(h))return h.toISOString();if(!l&&Ie.isBlob(h))throw new At("Blob is not supported. Use a Buffer instead.");return Ie.isArrayBuffer(h)||Ie.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,m,v){let b=h;if(h&&!v&&typeof h=="object"){if(Ie.endsWith(m,"{}"))m=o?m:m.slice(0,-2),h=JSON.stringify(h);else if(Ie.isArray(h)&&G5(h)||(Ie.isFileList(h)||Ie.endsWith(m,"[]"))&&(b=Ie.toArray(h)))return m=Tx(m),b.forEach(function(C,S){!(Ie.isUndefined(C)||C===null)&&t.append(a===!0?Gg([m],S,i):a===null?m:m+"[]",c(C))}),!1}return zf(h)?!0:(t.append(Gg(v,m,i),c(h)),!1)}const d=[],f=Object.assign(Y5,{defaultVisitor:u,convertValue:c,isVisitable:zf});function p(h,m){if(!Ie.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(h),Ie.forEach(h,function(b,w){(!(Ie.isUndefined(b)||b===null)&&r.call(t,b,Ie.isString(w)?w.trim():w,m,f))===!0&&p(b,m?m.concat(w):[w])}),d.pop()}}if(!Ie.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Yg(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function sp(e,t){this._pairs=[],e&&uu(e,this,t)}const Rx=sp.prototype;Rx.append=function(t,n){this._pairs.push([t,n])};Rx.toString=function(t){const n=t?function(o){return t.call(this,o,Yg)}:Yg;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function X5(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ex(e,t,n){if(!t)return e;const o=n&&n.encode||X5,r=n&&n.serialize;let i;if(r?i=r(t,n):i=Ie.isURLSearchParams(t)?t.toString():new sp(t,n).toString(o),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Z5{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){Ie.forEach(this.handlers,function(o){o!==null&&t(o)})}}const Xg=Z5,$x={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},J5=typeof URLSearchParams<"u"?URLSearchParams:sp,Q5=typeof FormData<"u"?FormData:null,eR=typeof Blob<"u"?Blob:null,tR={isBrowser:!0,classes:{URLSearchParams:J5,FormData:Q5,Blob:eR},protocols:["http","https","file","blob","url","data"]},Ax=typeof window<"u"&&typeof document<"u",nR=(e=>Ax&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),oR=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),rR=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ax,hasStandardBrowserEnv:nR,hasStandardBrowserWebWorkerEnv:oR},Symbol.toStringTag,{value:"Module"})),zo={...rR,...tR};function iR(e,t){return uu(e,new zo.classes.URLSearchParams,Object.assign({visitor:function(n,o,r,i){return zo.isNode&&Ie.isBuffer(n)?(this.append(o,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function aR(e){return Ie.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function sR(e){const t={},n=Object.keys(e);let o;const r=n.length;let i;for(o=0;o=n.length;return a=!a&&Ie.isArray(r)?r.length:a,l?(Ie.hasOwnProp(r,a)?r[a]=[r[a],o]:r[a]=o,!s):((!r[a]||!Ie.isObject(r[a]))&&(r[a]=[]),t(n,o,r[a],i)&&Ie.isArray(r[a])&&(r[a]=sR(r[a])),!s)}if(Ie.isFormData(e)&&Ie.isFunction(e.entries)){const n={};return Ie.forEachEntry(e,(o,r)=>{t(aR(o),r,n,0)}),n}return null}function lR(e,t,n){if(Ie.isString(e))try{return(t||JSON.parse)(e),Ie.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const lp={transitional:$x,adapter:["xhr","http"],transformRequest:[function(t,n){const o=n.getContentType()||"",r=o.indexOf("application/json")>-1,i=Ie.isObject(t);if(i&&Ie.isHTMLForm(t)&&(t=new FormData(t)),Ie.isFormData(t))return r?JSON.stringify(Ix(t)):t;if(Ie.isArrayBuffer(t)||Ie.isBuffer(t)||Ie.isStream(t)||Ie.isFile(t)||Ie.isBlob(t))return t;if(Ie.isArrayBufferView(t))return t.buffer;if(Ie.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(o.indexOf("application/x-www-form-urlencoded")>-1)return iR(t,this.formSerializer).toString();if((s=Ie.isFileList(t))||o.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return uu(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),lR(t)):t}],transformResponse:[function(t){const n=this.transitional||lp.transitional,o=n&&n.forcedJSONParsing,r=this.responseType==="json";if(t&&Ie.isString(t)&&(o&&!this.responseType||r)){const a=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?At.from(s,At.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:zo.classes.FormData,Blob:zo.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ie.forEach(["delete","get","head","post","put","patch"],e=>{lp.headers[e]={}});const cp=lp,cR=Ie.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"]),uR=e=>{const t={};let n,o,r;return e&&e.split(` -`).forEach(function(a){r=a.indexOf(":"),n=a.substring(0,r).trim().toLowerCase(),o=a.substring(r+1).trim(),!(!n||t[n]&&cR[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},Zg=Symbol("internals");function Qa(e){return e&&String(e).trim().toLowerCase()}function nc(e){return e===!1||e==null?e:Ie.isArray(e)?e.map(nc):String(e)}function dR(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}const fR=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function xd(e,t,n,o,r){if(Ie.isFunction(o))return o.call(this,t,n);if(r&&(t=n),!!Ie.isString(t)){if(Ie.isString(o))return t.indexOf(o)!==-1;if(Ie.isRegExp(o))return o.test(t)}}function hR(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function pR(e,t){const n=Ie.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(r,i,a){return this[o].call(this,t,r,i,a)},configurable:!0})})}class du{constructor(t){t&&this.set(t)}set(t,n,o){const r=this;function i(s,l,c){const u=Qa(l);if(!u)throw new Error("header name must be a non-empty string");const d=Ie.findKey(r,u);(!d||r[d]===void 0||c===!0||c===void 0&&r[d]!==!1)&&(r[d||l]=nc(s))}const a=(s,l)=>Ie.forEach(s,(c,u)=>i(c,u,l));return Ie.isPlainObject(t)||t instanceof this.constructor?a(t,n):Ie.isString(t)&&(t=t.trim())&&!fR(t)?a(uR(t),n):t!=null&&i(n,t,o),this}get(t,n){if(t=Qa(t),t){const o=Ie.findKey(this,t);if(o){const r=this[o];if(!n)return r;if(n===!0)return dR(r);if(Ie.isFunction(n))return n.call(this,r,o);if(Ie.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Qa(t),t){const o=Ie.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||xd(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let r=!1;function i(a){if(a=Qa(a),a){const s=Ie.findKey(o,a);s&&(!n||xd(o,o[s],s,n))&&(delete o[s],r=!0)}}return Ie.isArray(t)?t.forEach(i):i(t),r}clear(t){const n=Object.keys(this);let o=n.length,r=!1;for(;o--;){const i=n[o];(!t||xd(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,o={};return Ie.forEach(this,(r,i)=>{const a=Ie.findKey(o,i);if(a){n[a]=nc(r),delete n[i];return}const s=t?hR(i):String(i).trim();s!==i&&delete n[i],n[s]=nc(r),o[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Ie.forEach(this,(o,r)=>{o!=null&&o!==!1&&(n[r]=t&&Ie.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(r=>o.set(r)),o}static accessor(t){const o=(this[Zg]=this[Zg]={accessors:{}}).accessors,r=this.prototype;function i(a){const s=Qa(a);o[s]||(pR(r,a),o[s]=!0)}return Ie.isArray(t)?t.forEach(i):i(t),this}}du.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Ie.reduceDescriptors(du.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});Ie.freezeMethods(du);const rr=du;function Cd(e,t){const n=this||cp,o=t||n,r=rr.from(o.headers);let i=o.data;return Ie.forEach(e,function(s){i=s.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function Ox(e){return!!(e&&e.__CANCEL__)}function tl(e,t,n){At.call(this,e??"canceled",At.ERR_CANCELED,t,n),this.name="CanceledError"}Ie.inherits(tl,At,{__CANCEL__:!0});function mR(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new At("Request failed with status code "+n.status,[At.ERR_BAD_REQUEST,At.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const gR=zo.hasStandardBrowserEnv?{write(e,t,n,o,r,i){const a=[e+"="+encodeURIComponent(t)];Ie.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Ie.isString(o)&&a.push("path="+o),Ie.isString(r)&&a.push("domain="+r),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function vR(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function bR(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Mx(e,t){return e&&!vR(t)?bR(e,t):t}const yR=zo.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let o;function r(i){let a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{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=r(window.location.href),function(a){const s=Ie.isString(a)?r(a):a;return s.protocol===o.protocol&&s.host===o.host}}():function(){return function(){return!0}}();function xR(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function CR(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r=0,i=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=o[i];a||(a=c),n[r]=l,o[r]=c;let d=i,f=0;for(;d!==r;)f+=n[d++],d=d%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),c-a{const i=r.loaded,a=r.lengthComputable?r.total:void 0,s=i-n,l=o(s),c=i<=a;n=i;const u={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&c?(a-i)/l:void 0,event:r};u[t?"download":"upload"]=!0,e(u)}}const wR=typeof XMLHttpRequest<"u",_R=wR&&function(e){return new Promise(function(n,o){let r=e.data;const i=rr.from(e.headers).normalize();let{responseType:a,withXSRFToken:s}=e,l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let u;if(Ie.isFormData(r)){if(zo.hasStandardBrowserEnv||zo.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((u=i.getContentType())!==!1){const[m,...v]=u?u.split(";").map(b=>b.trim()).filter(Boolean):[];i.setContentType([m||"multipart/form-data",...v].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const m=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(m+":"+v))}const f=Mx(e.baseURL,e.url);d.open(e.method.toUpperCase(),Ex(f,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function p(){if(!d)return;const m=rr.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),b={data:!a||a==="text"||a==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:m,config:e,request:d};mR(function(C){n(C),c()},function(C){o(C),c()},b),d=null}if("onloadend"in d?d.onloadend=p:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(p)},d.onabort=function(){d&&(o(new At("Request aborted",At.ECONNABORTED,e,d)),d=null)},d.onerror=function(){o(new At("Network Error",At.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let v=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const b=e.transitional||$x;e.timeoutErrorMessage&&(v=e.timeoutErrorMessage),o(new At(v,b.clarifyTimeoutError?At.ETIMEDOUT:At.ECONNABORTED,e,d)),d=null},zo.hasStandardBrowserEnv&&(s&&Ie.isFunction(s)&&(s=s(e)),s||s!==!1&&yR(f))){const m=e.xsrfHeaderName&&e.xsrfCookieName&&gR.read(e.xsrfCookieName);m&&i.set(e.xsrfHeaderName,m)}r===void 0&&i.setContentType(null),"setRequestHeader"in d&&Ie.forEach(i.toJSON(),function(v,b){d.setRequestHeader(b,v)}),Ie.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),a&&a!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",Jg(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Jg(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=m=>{d&&(o(!m||m.type?new tl(null,e,d):m),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const h=xR(f);if(h&&zo.protocols.indexOf(h)===-1){o(new At("Unsupported protocol "+h+":",At.ERR_BAD_REQUEST,e));return}d.send(r||null)})},Df={http:K5,xhr:_R};Ie.forEach(Df,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Qg=e=>`- ${e}`,SR=e=>Ie.isFunction(e)||e===null||e===!1,zx={getAdapter:e=>{e=Ie.isArray(e)?e:[e];const{length:t}=e;let n,o;const r={};for(let i=0;i`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since : -`+i.map(Qg).join(` -`):" "+Qg(i[0]):"as no adapter specified";throw new At("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o},adapters:Df};function wd(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new tl(null,e)}function ev(e){return wd(e),e.headers=rr.from(e.headers),e.data=Cd.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),zx.getAdapter(e.adapter||cp.adapter)(e).then(function(o){return wd(e),o.data=Cd.call(e,e.transformResponse,o),o.headers=rr.from(o.headers),o},function(o){return Ox(o)||(wd(e),o&&o.response&&(o.response.data=Cd.call(e,e.transformResponse,o.response),o.response.headers=rr.from(o.response.headers))),Promise.reject(o)})}const tv=e=>e instanceof rr?{...e}:e;function ya(e,t){t=t||{};const n={};function o(c,u,d){return Ie.isPlainObject(c)&&Ie.isPlainObject(u)?Ie.merge.call({caseless:d},c,u):Ie.isPlainObject(u)?Ie.merge({},u):Ie.isArray(u)?u.slice():u}function r(c,u,d){if(Ie.isUndefined(u)){if(!Ie.isUndefined(c))return o(void 0,c,d)}else return o(c,u,d)}function i(c,u){if(!Ie.isUndefined(u))return o(void 0,u)}function a(c,u){if(Ie.isUndefined(u)){if(!Ie.isUndefined(c))return o(void 0,c)}else return o(void 0,u)}function s(c,u,d){if(d in t)return o(c,u);if(d in e)return o(void 0,c)}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u)=>r(tv(c),tv(u),!0)};return Ie.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||r,f=d(e[u],t[u],u);Ie.isUndefined(f)&&d!==s||(n[u]=f)}),n}const Dx="1.6.8",up={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{up[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const nv={};up.transitional=function(t,n,o){function r(i,a){return"[Axios v"+Dx+"] Transitional option '"+i+"'"+a+(o?". "+o:"")}return(i,a,s)=>{if(t===!1)throw new At(r(a," has been removed"+(n?" in "+n:"")),At.ERR_DEPRECATED);return n&&!nv[a]&&(nv[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,s):!0}};function kR(e,t,n){if(typeof e!="object")throw new At("options must be an object",At.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let r=o.length;for(;r-- >0;){const i=o[r],a=t[i];if(a){const s=e[i],l=s===void 0||a(s,i,e);if(l!==!0)throw new At("option "+i+" must be "+l,At.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new At("Unknown option "+i,At.ERR_BAD_OPTION)}}const Lf={assertOptions:kR,validators:up},wr=Lf.validators;class bc{constructor(t){this.defaults=t,this.interceptors={request:new Xg,response:new Xg}}async request(t,n){try{return await this._request(t,n)}catch(o){if(o instanceof Error){let r;Error.captureStackTrace?Error.captureStackTrace(r={}):r=new Error;const i=r.stack?r.stack.replace(/^.+\n/,""):"";o.stack?i&&!String(o.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(o.stack+=` -`+i):o.stack=i}throw o}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ya(this.defaults,n);const{transitional:o,paramsSerializer:r,headers:i}=n;o!==void 0&&Lf.assertOptions(o,{silentJSONParsing:wr.transitional(wr.boolean),forcedJSONParsing:wr.transitional(wr.boolean),clarifyTimeoutError:wr.transitional(wr.boolean)},!1),r!=null&&(Ie.isFunction(r)?n.paramsSerializer={serialize:r}:Lf.assertOptions(r,{encode:wr.function,serialize:wr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&Ie.merge(i.common,i[n.method]);i&&Ie.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=rr.concat(a,i);const s=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,s.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,d=0,f;if(!l){const h=[ev.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,c),f=h.length,u=Promise.resolve(n);d{if(!o._listeners)return;let i=o._listeners.length;for(;i-- >0;)o._listeners[i](r);o._listeners=null}),this.promise.then=r=>{let i;const a=new Promise(s=>{o.subscribe(s),i=s}).then(r);return a.cancel=function(){o.unsubscribe(i)},a},t(function(i,a,s){o.reason||(o.reason=new tl(i,a,s),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 dp(function(r){t=r}),cancel:t}}}const PR=dp;function TR(e){return function(n){return e.apply(null,n)}}function RR(e){return Ie.isObject(e)&&e.isAxiosError===!0}const Ff={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(Ff).forEach(([e,t])=>{Ff[t]=e});const ER=Ff;function Lx(e){const t=new oc(e),n=vx(oc.prototype.request,t);return Ie.extend(n,oc.prototype,t,{allOwnKeys:!0}),Ie.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Lx(ya(e,r))},n}const bn=Lx(cp);bn.Axios=oc;bn.CanceledError=tl;bn.CancelToken=PR;bn.isCancel=Ox;bn.VERSION=Dx;bn.toFormData=uu;bn.AxiosError=At;bn.Cancel=bn.CanceledError;bn.all=function(t){return Promise.all(t)};bn.spread=TR;bn.isAxiosError=RR;bn.mergeConfig=ya;bn.AxiosHeaders=rr;bn.formToJSON=e=>Ix(Ie.isHTMLForm(e)?new FormData(e):e);bn.getAdapter=zx.getAdapter;bn.HttpStatusCode=ER;bn.default=bn;const $R=bn,AR=[{url:"/passport/auth/login",method:"POST"},{url:"/passport/auth/token2Login",method:"GET"},{url:"/passport/auth/register",method:"POST"},{url:"/passport/auth/register",method:"POST"},{url:"/guest/comm/config",method:"GET"},{url:"/passport/comm/sendEmailVerify",method:"POST"},{url:"/passport/auth/forget",method:"POST"}];function IR({url:e,method:t=""}){return AR.some(n=>n.url===e.split("?")[0]&&n.method===t.toUpperCase())}function OR(e){return typeof e>"u"}function MR(e){return e===null}function zR(e){return MR(e)||OR(e)}function Fx(e){try{if(typeof JSON.parse(e)=="object")return!0}catch{return!1}}class DR{constructor(t){id(this,"storage");id(this,"prefixKey");this.storage=t.storage,this.prefixKey=t.prefixKey}getKey(t){return`${this.prefixKey}${t}`.toUpperCase()}set(t,n,o=null){const r=JSON.stringify({value:n,time:Date.now(),expire:o!==null?new Date().getTime()+o*1e3:null});this.storage.setItem(this.getKey(t),r)}get(t,n=null){const o=this.storage.getItem(this.getKey(t));if(!o)return{value:n,time:0};try{const r=JSON.parse(o),{value:i,time:a,expire:s}=r;return zR(s)||s>new Date().getTime()?{value:i,time:a}:(this.remove(t),{value:n,time:0})}catch{return this.remove(t),{value:n,time:0}}}remove(t){this.storage.removeItem(this.getKey(t))}clear(){this.storage.clear()}}function Bx({prefixKey:e="",storage:t=sessionStorage}){return new DR({prefixKey:e,storage:t})}const Nx="Vue_Naive_",LR=function(e={}){return Bx({prefixKey:e.prefixKey||"",storage:localStorage})},FR=function(e={}){return Bx({prefixKey:e.prefixKey||"",storage:sessionStorage})},nl=LR({prefixKey:Nx}),yc=FR({prefixKey:Nx}),Hx="access_token";function jx(){return nl.get(Hx)}function Vx(){nl.remove(Hx)}function fp(){const e=we(Gt.currentRoute),t=!e.meta.requireAuth&&!["/404","/login"].includes(Gt.currentRoute.value.path);Gt.replace({path:"/login",query:t?{...e.query,redirect:e.path}:{}})}var Wx=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function BR(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}),n}var Ux={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Wx,function(){var n=1e3,o=6e4,r=36e5,i="millisecond",a="second",s="minute",l="hour",c="day",u="week",d="month",f="quarter",p="year",h="date",m="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,w={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(j){var D=["th","st","nd","rd"],M=j%100;return"["+j+(D[(M-20)%10]||D[M]||D[0])+"]"}},C=function(j,D,M){var Y=String(j);return!Y||Y.length>=D?j:""+Array(D+1-Y.length).join(M)+j},S={s:C,z:function(j){var D=-j.utcOffset(),M=Math.abs(D),Y=Math.floor(M/60),Q=M%60;return(D<=0?"+":"-")+C(Y,2,"0")+":"+C(Q,2,"0")},m:function j(D,M){if(D.date()1)return j(pe[0])}else{var B=D.name;x[B]=D,Q=B}return!Y&&Q&&(_=Q),Q||!Y&&_},T=function(j,D){if(k(j))return j.clone();var M=typeof D=="object"?D:{};return M.date=j,M.args=arguments,new R(M)},$=S;$.l=P,$.i=k,$.w=function(j,D){return T(j,{locale:D.$L,utc:D.$u,x:D.$x,$offset:D.$offset})};var R=function(){function j(M){this.$L=P(M.locale,null,!0),this.parse(M),this.$x=this.$x||M.x||{},this[y]=!0}var D=j.prototype;return D.parse=function(M){this.$d=function(Y){var Q=Y.date,de=Y.utc;if(Q===null)return new Date(NaN);if($.u(Q))return new Date;if(Q instanceof Date)return new Date(Q);if(typeof Q=="string"&&!/Z$/i.test(Q)){var pe=Q.match(v);if(pe){var B=pe[2]-1||0,E=(pe[7]||"0").substring(0,3);return de?new Date(Date.UTC(pe[1],B,pe[3]||1,pe[4]||0,pe[5]||0,pe[6]||0,E)):new Date(pe[1],B,pe[3]||1,pe[4]||0,pe[5]||0,pe[6]||0,E)}}return new Date(Q)}(M),this.init()},D.init=function(){var M=this.$d;this.$y=M.getFullYear(),this.$M=M.getMonth(),this.$D=M.getDate(),this.$W=M.getDay(),this.$H=M.getHours(),this.$m=M.getMinutes(),this.$s=M.getSeconds(),this.$ms=M.getMilliseconds()},D.$utils=function(){return $},D.isValid=function(){return this.$d.toString()!==m},D.isSame=function(M,Y){var Q=T(M);return this.startOf(Y)<=Q&&Q<=this.endOf(Y)},D.isAfter=function(M,Y){return T(M)Lx=e,Fx=Symbol();function jf(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ks;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ks||(ks={}));function $5(){const e=Xh(!0),t=e.run(()=>W({}));let n=[],o=[];const r=zs({install(i){lu(r),r._a=i,i.provide(Fx,r),i.config.globalProperties.$pinia=r,o.forEach(a=>n.push(a)),o=[]},use(i){return!this._a&&!E5?o.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Bx=()=>{};function rv(e,t,n,o=Bx){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),o())};return!n&&Zh()&&gy(r),r}function ea(e,...t){e.slice().forEach(n=>{n(...t)})}const A5=e=>e(),iv=Symbol(),Ed=Symbol();function Vf(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,o)=>e.set(o,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];jf(r)&&jf(o)&&e.hasOwnProperty(n)&&!cn(o)&&!wi(o)?e[n]=Vf(r,o):e[n]=o}return e}const I5=Symbol();function O5(e){return!jf(e)||!e.hasOwnProperty(I5)}const{assign:Er}=Object;function M5(e){return!!(cn(e)&&e.effect)}function z5(e,t,n,o){const{state:r,actions:i,getters:a}=t,s=n.state.value[e];let l;function c(){s||(n.state.value[e]=r?r():{});const u=Q3(n.state.value[e]);return Er(u,i,Object.keys(a||{}).reduce((d,f)=>(d[f]=zs(F(()=>{lu(n);const h=n._s.get(e);return a[f].call(h,h)})),d),{}))}return l=Nx(e,c,t,n,o,!0),l}function Nx(e,t,n={},o,r,i){let a;const s=Er({actions:{}},n),l={deep:!0};let c,u,d=[],f=[],h;const p=o.state.value[e];!i&&!p&&(o.state.value[e]={}),W({});let g;function m(P){let k;c=u=!1,typeof P=="function"?(P(o.state.value[e]),k={type:ks.patchFunction,storeId:e,events:h}):(Vf(o.state.value[e],P),k={type:ks.patchObject,payload:P,storeId:e,events:h});const T=g=Symbol();Ht().then(()=>{g===T&&(c=!0)}),u=!0,ea(d,k,o.state.value[e])}const b=i?function(){const{state:k}=n,T=k?k():{};this.$patch(E=>{Er(E,T)})}:Bx;function _(){a.stop(),d=[],f=[],o._s.delete(e)}const C=(P,k="")=>{if(iv in P)return P[Ed]=k,P;const T=function(){lu(o);const E=Array.from(arguments),R=[],K=[];function N(G){R.push(G)}function D(G){K.push(G)}ea(f,{args:E,name:T[Ed],store:w,after:N,onError:D});let M;try{M=P.apply(this&&this.$id===e?this:w,E)}catch(G){throw ea(K,G),G}return M instanceof Promise?M.then(G=>(ea(R,G),G)).catch(G=>(ea(K,G),Promise.reject(G))):(ea(R,M),M)};return T[iv]=!0,T[Ed]=k,T},S={_p:o,$id:e,$onAction:rv.bind(null,f),$patch:m,$reset:b,$subscribe(P,k={}){const T=rv(d,P,k.detached,()=>E()),E=a.run(()=>ft(()=>o.state.value[e],R=>{(k.flush==="sync"?u:c)&&P({storeId:e,type:ks.direct,events:h},R)},Er({},l,k)));return T},$dispose:_},w=eo(S);o._s.set(e,w);const y=(o._a&&o._a.runWithContext||A5)(()=>o._e.run(()=>(a=Xh()).run(()=>t({action:C}))));for(const P in y){const k=y[P];if(cn(k)&&!M5(k)||wi(k))i||(p&&O5(k)&&(cn(k)?k.value=p[P]:Vf(k,p[P])),o.state.value[e][P]=k);else if(typeof k=="function"){const T=C(k,P);y[P]=T,s.actions[P]=k}}return Er(w,y),Er(It(w),y),Object.defineProperty(w,"$state",{get:()=>o.state.value[e],set:P=>{m(k=>{Er(k,P)})}}),o._p.forEach(P=>{Er(w,a.run(()=>P({store:w,app:o._a,pinia:o,options:s})))}),p&&i&&n.hydrate&&n.hydrate(w.$state,p),c=!0,u=!0,w}function cu(e,t,n){let o,r;const i=typeof t=="function";typeof e=="string"?(o=e,r=i?n:t):(r=e,o=e.id);function a(s,l){const c=S4();return s=s||(c?Ue(Fx,null):null),s&&lu(s),s=Lx,s._s.has(o)||(i?Nx(o,t,r,s):z5(o,r,s)),s._s.get(o)}return a.$id=o,a}function Hx(e,t){return function(){return e.apply(t,arguments)}}const{toString:D5}=Object.prototype,{getPrototypeOf:yp}=Object,uu=(e=>t=>{const n=D5.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),$o=e=>(e=e.toLowerCase(),t=>uu(t)===e),du=e=>t=>typeof t===e,{isArray:La}=Array,Ws=du("undefined");function L5(e){return e!==null&&!Ws(e)&&e.constructor!==null&&!Ws(e.constructor)&&Zn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const jx=$o("ArrayBuffer");function F5(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&jx(e.buffer),t}const B5=du("string"),Zn=du("function"),Vx=du("number"),fu=e=>e!==null&&typeof e=="object",N5=e=>e===!0||e===!1,oc=e=>{if(uu(e)!=="object")return!1;const t=yp(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},H5=$o("Date"),j5=$o("File"),V5=$o("Blob"),W5=$o("FileList"),U5=e=>fu(e)&&Zn(e.pipe),q5=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Zn(e.append)&&((t=uu(e))==="formdata"||t==="object"&&Zn(e.toString)&&e.toString()==="[object FormData]"))},K5=$o("URLSearchParams"),[G5,Y5,X5,Z5]=["ReadableStream","Request","Response","Headers"].map($o),J5=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function rl(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,r;if(typeof e!="object"&&(e=[e]),La(e))for(o=0,r=e.length;o0;)if(r=n[o],t===r.toLowerCase())return r;return null}const mi=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Ux=e=>!Ws(e)&&e!==mi;function Wf(){const{caseless:e}=Ux(this)&&this||{},t={},n=(o,r)=>{const i=e&&Wx(t,r)||r;oc(t[i])&&oc(o)?t[i]=Wf(t[i],o):oc(o)?t[i]=Wf({},o):La(o)?t[i]=o.slice():t[i]=o};for(let o=0,r=arguments.length;o(rl(t,(r,i)=>{n&&Zn(r)?e[i]=Hx(r,n):e[i]=r},{allOwnKeys:o}),e),eR=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),tR=(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)},nR=(e,t,n,o)=>{let r,i,a;const s={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)a=r[i],(!o||o(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&yp(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},oR=(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},rR=e=>{if(!e)return null;if(La(e))return e;let t=e.length;if(!Vx(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},iR=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&yp(Uint8Array)),aR=(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=o.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},sR=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},lR=$o("HTMLFormElement"),cR=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,r){return o.toUpperCase()+r}),av=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),uR=$o("RegExp"),qx=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};rl(n,(r,i)=>{let a;(a=t(r,i,e))!==!1&&(o[i]=a||r)}),Object.defineProperties(e,o)},dR=e=>{qx(e,(t,n)=>{if(Zn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(Zn(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+"'")})}})},fR=(e,t)=>{const n={},o=r=>{r.forEach(i=>{n[i]=!0})};return La(e)?o(e):o(String(e).split(t)),n},hR=()=>{},pR=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,$d="abcdefghijklmnopqrstuvwxyz",sv="0123456789",Kx={DIGIT:sv,ALPHA:$d,ALPHA_DIGIT:$d+$d.toUpperCase()+sv},mR=(e=16,t=Kx.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n};function gR(e){return!!(e&&Zn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const vR=e=>{const t=new Array(10),n=(o,r)=>{if(fu(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[r]=o;const i=La(o)?[]:{};return rl(o,(a,s)=>{const l=n(a,r+1);!Ws(l)&&(i[s]=l)}),t[r]=void 0,i}}return o};return n(e,0)},bR=$o("AsyncFunction"),yR=e=>e&&(fu(e)||Zn(e))&&Zn(e.then)&&Zn(e.catch),Gx=((e,t)=>e?setImmediate:t?((n,o)=>(mi.addEventListener("message",({source:r,data:i})=>{r===mi&&i===n&&o.length&&o.shift()()},!1),r=>{o.push(r),mi.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Zn(mi.postMessage)),xR=typeof queueMicrotask<"u"?queueMicrotask.bind(mi):typeof process<"u"&&process.nextTick||Gx,Te={isArray:La,isArrayBuffer:jx,isBuffer:L5,isFormData:q5,isArrayBufferView:F5,isString:B5,isNumber:Vx,isBoolean:N5,isObject:fu,isPlainObject:oc,isReadableStream:G5,isRequest:Y5,isResponse:X5,isHeaders:Z5,isUndefined:Ws,isDate:H5,isFile:j5,isBlob:V5,isRegExp:uR,isFunction:Zn,isStream:U5,isURLSearchParams:K5,isTypedArray:iR,isFileList:W5,forEach:rl,merge:Wf,extend:Q5,trim:J5,stripBOM:eR,inherits:tR,toFlatObject:nR,kindOf:uu,kindOfTest:$o,endsWith:oR,toArray:rR,forEachEntry:aR,matchAll:sR,isHTMLForm:lR,hasOwnProperty:av,hasOwnProp:av,reduceDescriptors:qx,freezeMethods:dR,toObjectSet:fR,toCamelCase:cR,noop:hR,toFiniteNumber:pR,findKey:Wx,global:mi,isContextDefined:Ux,ALPHABET:Kx,generateString:mR,isSpecCompliantForm:gR,toJSONObject:vR,isAsyncFn:bR,isThenable:yR,setImmediate:Gx,asap:xR};function yt(e,t,n,o,r){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),r&&(this.response=r,this.status=r.status?r.status:null)}Te.inherits(yt,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:Te.toJSONObject(this.config),code:this.code,status:this.status}}});const Yx=yt.prototype,Xx={};["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=>{Xx[e]={value:e}});Object.defineProperties(yt,Xx);Object.defineProperty(Yx,"isAxiosError",{value:!0});yt.from=(e,t,n,o,r,i)=>{const a=Object.create(Yx);return Te.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),yt.call(a,e.message,t,n,o,r),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const CR=null;function Uf(e){return Te.isPlainObject(e)||Te.isArray(e)}function Zx(e){return Te.endsWith(e,"[]")?e.slice(0,-2):e}function lv(e,t,n){return e?e.concat(t).map(function(r,i){return r=Zx(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function wR(e){return Te.isArray(e)&&!e.some(Uf)}const _R=Te.toFlatObject(Te,{},null,function(t){return/^is[A-Z]/.test(t)});function hu(e,t,n){if(!Te.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Te.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,m){return!Te.isUndefined(m[g])});const o=n.metaTokens,r=n.visitor||u,i=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Te.isSpecCompliantForm(t);if(!Te.isFunction(r))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(Te.isDate(p))return p.toISOString();if(!l&&Te.isBlob(p))throw new yt("Blob is not supported. Use a Buffer instead.");return Te.isArrayBuffer(p)||Te.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,g,m){let b=p;if(p&&!m&&typeof p=="object"){if(Te.endsWith(g,"{}"))g=o?g:g.slice(0,-2),p=JSON.stringify(p);else if(Te.isArray(p)&&wR(p)||(Te.isFileList(p)||Te.endsWith(g,"[]"))&&(b=Te.toArray(p)))return g=Zx(g),b.forEach(function(C,S){!(Te.isUndefined(C)||C===null)&&t.append(a===!0?lv([g],S,i):a===null?g:g+"[]",c(C))}),!1}return Uf(p)?!0:(t.append(lv(m,g,i),c(p)),!1)}const d=[],f=Object.assign(_R,{defaultVisitor:u,convertValue:c,isVisitable:Uf});function h(p,g){if(!Te.isUndefined(p)){if(d.indexOf(p)!==-1)throw Error("Circular reference detected in "+g.join("."));d.push(p),Te.forEach(p,function(b,_){(!(Te.isUndefined(b)||b===null)&&r.call(t,b,Te.isString(_)?_.trim():_,g,f))===!0&&h(b,g?g.concat(_):[_])}),d.pop()}}if(!Te.isObject(e))throw new TypeError("data must be an object");return h(e),t}function cv(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function xp(e,t){this._pairs=[],e&&hu(e,this,t)}const Jx=xp.prototype;Jx.append=function(t,n){this._pairs.push([t,n])};Jx.toString=function(t){const n=t?function(o){return t.call(this,o,cv)}:cv;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function SR(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Qx(e,t,n){if(!t)return e;const o=n&&n.encode||SR,r=n&&n.serialize;let i;if(r?i=r(t,n):i=Te.isURLSearchParams(t)?t.toString():new xp(t,n).toString(o),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class kR{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){Te.forEach(this.handlers,function(o){o!==null&&t(o)})}}const uv=kR,eC={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},PR=typeof URLSearchParams<"u"?URLSearchParams:xp,TR=typeof FormData<"u"?FormData:null,RR=typeof Blob<"u"?Blob:null,ER={isBrowser:!0,classes:{URLSearchParams:PR,FormData:TR,Blob:RR},protocols:["http","https","file","blob","url","data"]},Cp=typeof window<"u"&&typeof document<"u",qf=typeof navigator=="object"&&navigator||void 0,$R=Cp&&(!qf||["ReactNative","NativeScript","NS"].indexOf(qf.product)<0),AR=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),IR=Cp&&window.location.href||"http://localhost",OR=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Cp,hasStandardBrowserEnv:$R,hasStandardBrowserWebWorkerEnv:AR,navigator:qf,origin:IR},Symbol.toStringTag,{value:"Module"})),Jn={...OR,...ER};function MR(e,t){return hu(e,new Jn.classes.URLSearchParams,Object.assign({visitor:function(n,o,r,i){return Jn.isNode&&Te.isBuffer(n)?(this.append(o,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function zR(e){return Te.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function DR(e){const t={},n=Object.keys(e);let o;const r=n.length;let i;for(o=0;o=n.length;return a=!a&&Te.isArray(r)?r.length:a,l?(Te.hasOwnProp(r,a)?r[a]=[r[a],o]:r[a]=o,!s):((!r[a]||!Te.isObject(r[a]))&&(r[a]=[]),t(n,o,r[a],i)&&Te.isArray(r[a])&&(r[a]=DR(r[a])),!s)}if(Te.isFormData(e)&&Te.isFunction(e.entries)){const n={};return Te.forEachEntry(e,(o,r)=>{t(zR(o),r,n,0)}),n}return null}function LR(e,t,n){if(Te.isString(e))try{return(t||JSON.parse)(e),Te.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const wp={transitional:eC,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const o=n.getContentType()||"",r=o.indexOf("application/json")>-1,i=Te.isObject(t);if(i&&Te.isHTMLForm(t)&&(t=new FormData(t)),Te.isFormData(t))return r?JSON.stringify(tC(t)):t;if(Te.isArrayBuffer(t)||Te.isBuffer(t)||Te.isStream(t)||Te.isFile(t)||Te.isBlob(t)||Te.isReadableStream(t))return t;if(Te.isArrayBufferView(t))return t.buffer;if(Te.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(o.indexOf("application/x-www-form-urlencoded")>-1)return MR(t,this.formSerializer).toString();if((s=Te.isFileList(t))||o.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return hu(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),LR(t)):t}],transformResponse:[function(t){const n=this.transitional||wp.transitional,o=n&&n.forcedJSONParsing,r=this.responseType==="json";if(Te.isResponse(t)||Te.isReadableStream(t))return t;if(t&&Te.isString(t)&&(o&&!this.responseType||r)){const a=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?yt.from(s,yt.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Jn.classes.FormData,Blob:Jn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Te.forEach(["delete","get","head","post","put","patch"],e=>{wp.headers[e]={}});const _p=wp,FR=Te.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"]),BR=e=>{const t={};let n,o,r;return e&&e.split(` +`).forEach(function(a){r=a.indexOf(":"),n=a.substring(0,r).trim().toLowerCase(),o=a.substring(r+1).trim(),!(!n||t[n]&&FR[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},dv=Symbol("internals");function is(e){return e&&String(e).trim().toLowerCase()}function rc(e){return e===!1||e==null?e:Te.isArray(e)?e.map(rc):String(e)}function NR(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}const HR=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ad(e,t,n,o,r){if(Te.isFunction(o))return o.call(this,t,n);if(r&&(t=n),!!Te.isString(t)){if(Te.isString(o))return t.indexOf(o)!==-1;if(Te.isRegExp(o))return o.test(t)}}function jR(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function VR(e,t){const n=Te.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(r,i,a){return this[o].call(this,t,r,i,a)},configurable:!0})})}class pu{constructor(t){t&&this.set(t)}set(t,n,o){const r=this;function i(s,l,c){const u=is(l);if(!u)throw new Error("header name must be a non-empty string");const d=Te.findKey(r,u);(!d||r[d]===void 0||c===!0||c===void 0&&r[d]!==!1)&&(r[d||l]=rc(s))}const a=(s,l)=>Te.forEach(s,(c,u)=>i(c,u,l));if(Te.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(Te.isString(t)&&(t=t.trim())&&!HR(t))a(BR(t),n);else if(Te.isHeaders(t))for(const[s,l]of t.entries())i(l,s,o);else t!=null&&i(n,t,o);return this}get(t,n){if(t=is(t),t){const o=Te.findKey(this,t);if(o){const r=this[o];if(!n)return r;if(n===!0)return NR(r);if(Te.isFunction(n))return n.call(this,r,o);if(Te.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=is(t),t){const o=Te.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||Ad(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let r=!1;function i(a){if(a=is(a),a){const s=Te.findKey(o,a);s&&(!n||Ad(o,o[s],s,n))&&(delete o[s],r=!0)}}return Te.isArray(t)?t.forEach(i):i(t),r}clear(t){const n=Object.keys(this);let o=n.length,r=!1;for(;o--;){const i=n[o];(!t||Ad(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,o={};return Te.forEach(this,(r,i)=>{const a=Te.findKey(o,i);if(a){n[a]=rc(r),delete n[i];return}const s=t?jR(i):String(i).trim();s!==i&&delete n[i],n[s]=rc(r),o[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Te.forEach(this,(o,r)=>{o!=null&&o!==!1&&(n[r]=t&&Te.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(r=>o.set(r)),o}static accessor(t){const o=(this[dv]=this[dv]={accessors:{}}).accessors,r=this.prototype;function i(a){const s=is(a);o[s]||(VR(r,a),o[s]=!0)}return Te.isArray(t)?t.forEach(i):i(t),this}}pu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Te.reduceDescriptors(pu.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});Te.freezeMethods(pu);const Po=pu;function Id(e,t){const n=this||_p,o=t||n,r=Po.from(o.headers);let i=o.data;return Te.forEach(e,function(s){i=s.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function nC(e){return!!(e&&e.__CANCEL__)}function Fa(e,t,n){yt.call(this,e??"canceled",yt.ERR_CANCELED,t,n),this.name="CanceledError"}Te.inherits(Fa,yt,{__CANCEL__:!0});function oC(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new yt("Request failed with status code "+n.status,[yt.ERR_BAD_REQUEST,yt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function WR(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function UR(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r=0,i=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=o[i];a||(a=c),n[r]=l,o[r]=c;let d=i,f=0;for(;d!==r;)f+=n[d++],d=d%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),c-a{n=u,r=null,i&&(clearTimeout(i),i=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=o?a(c,u):(r=c,i||(i=setTimeout(()=>{i=null,a(r)},o-d)))},()=>r&&a(r)]}const yc=(e,t,n=3)=>{let o=0;const r=UR(50,250);return qR(i=>{const a=i.loaded,s=i.lengthComputable?i.total:void 0,l=a-o,c=r(l),u=a<=s;o=a;const d={loaded:a,total:s,progress:s?a/s:void 0,bytes:l,rate:c||void 0,estimated:c&&s&&u?(s-a)/c:void 0,event:i,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(d)},n)},fv=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},hv=e=>(...t)=>Te.asap(()=>e(...t)),KR=Jn.hasStandardBrowserEnv?function(){const t=Jn.navigator&&/(msie|trident)/i.test(Jn.navigator.userAgent),n=document.createElement("a");let o;function r(i){let a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{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=r(window.location.href),function(a){const s=Te.isString(a)?r(a):a;return s.protocol===o.protocol&&s.host===o.host}}():function(){return function(){return!0}}(),GR=Jn.hasStandardBrowserEnv?{write(e,t,n,o,r,i){const a=[e+"="+encodeURIComponent(t)];Te.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Te.isString(o)&&a.push("path="+o),Te.isString(r)&&a.push("domain="+r),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function YR(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function XR(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function rC(e,t){return e&&!YR(t)?XR(e,t):t}const pv=e=>e instanceof Po?{...e}:e;function Ei(e,t){t=t||{};const n={};function o(c,u,d){return Te.isPlainObject(c)&&Te.isPlainObject(u)?Te.merge.call({caseless:d},c,u):Te.isPlainObject(u)?Te.merge({},u):Te.isArray(u)?u.slice():u}function r(c,u,d){if(Te.isUndefined(u)){if(!Te.isUndefined(c))return o(void 0,c,d)}else return o(c,u,d)}function i(c,u){if(!Te.isUndefined(u))return o(void 0,u)}function a(c,u){if(Te.isUndefined(u)){if(!Te.isUndefined(c))return o(void 0,c)}else return o(void 0,u)}function s(c,u,d){if(d in t)return o(c,u);if(d in e)return o(void 0,c)}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u)=>r(pv(c),pv(u),!0)};return Te.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||r,f=d(e[u],t[u],u);Te.isUndefined(f)&&d!==s||(n[u]=f)}),n}const iC=e=>{const t=Ei({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:r,xsrfCookieName:i,headers:a,auth:s}=t;t.headers=a=Po.from(a),t.url=Qx(rC(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let l;if(Te.isFormData(n)){if(Jn.hasStandardBrowserEnv||Jn.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((l=a.getContentType())!==!1){const[c,...u]=l?l.split(";").map(d=>d.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(Jn.hasStandardBrowserEnv&&(o&&Te.isFunction(o)&&(o=o(t)),o||o!==!1&&KR(t.url))){const c=r&&i&&GR.read(i);c&&a.set(r,c)}return t},ZR=typeof XMLHttpRequest<"u",JR=ZR&&function(e){return new Promise(function(n,o){const r=iC(e);let i=r.data;const a=Po.from(r.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:c}=r,u,d,f,h,p;function g(){h&&h(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let m=new XMLHttpRequest;m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout;function b(){if(!m)return;const C=Po.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),w={data:!s||s==="text"||s==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:C,config:e,request:m};oC(function(y){n(y),g()},function(y){o(y),g()},w),m=null}"onloadend"in m?m.onloadend=b:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(b)},m.onabort=function(){m&&(o(new yt("Request aborted",yt.ECONNABORTED,e,m)),m=null)},m.onerror=function(){o(new yt("Network Error",yt.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let S=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const w=r.transitional||eC;r.timeoutErrorMessage&&(S=r.timeoutErrorMessage),o(new yt(S,w.clarifyTimeoutError?yt.ETIMEDOUT:yt.ECONNABORTED,e,m)),m=null},i===void 0&&a.setContentType(null),"setRequestHeader"in m&&Te.forEach(a.toJSON(),function(S,w){m.setRequestHeader(w,S)}),Te.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),s&&s!=="json"&&(m.responseType=r.responseType),c&&([f,p]=yc(c,!0),m.addEventListener("progress",f)),l&&m.upload&&([d,h]=yc(l),m.upload.addEventListener("progress",d),m.upload.addEventListener("loadend",h)),(r.cancelToken||r.signal)&&(u=C=>{m&&(o(!C||C.type?new Fa(null,e,m):C),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const _=WR(r.url);if(_&&Jn.protocols.indexOf(_)===-1){o(new yt("Unsupported protocol "+_+":",yt.ERR_BAD_REQUEST,e));return}m.send(i||null)})},QR=(e,t)=>{let n=new AbortController,o;const r=function(l){if(!o){o=!0,a();const c=l instanceof Error?l:this.reason;n.abort(c instanceof yt?c:new Fa(c instanceof Error?c.message:c))}};let i=t&&setTimeout(()=>{r(new yt(`timeout ${t} of ms exceeded`,yt.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(l=>{l&&(l.removeEventListener?l.removeEventListener("abort",r):l.unsubscribe(r))}),e=null)};e.forEach(l=>l&&l.addEventListener&&l.addEventListener("abort",r));const{signal:s}=n;return s.unsubscribe=a,[s,()=>{i&&clearTimeout(i),i=null}]},eE=QR,tE=function*(e,t){let n=e.byteLength;if(!t||n{const i=nE(e,t,r);let a=0,s,l=c=>{s||(s=!0,o&&o(c))};return new ReadableStream({async pull(c){try{const{done:u,value:d}=await i.next();if(u){l(),c.close();return}let f=d.byteLength;if(n){let h=a+=f;n(h)}c.enqueue(new Uint8Array(d))}catch(u){throw l(u),u}},cancel(c){return l(c),i.return()}},{highWaterMark:2})},mu=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",aC=mu&&typeof ReadableStream=="function",Kf=mu&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),sC=(e,...t)=>{try{return!!e(...t)}catch{return!1}},oE=aC&&sC(()=>{let e=!1;const t=new Request(Jn.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),gv=64*1024,Gf=aC&&sC(()=>Te.isReadableStream(new Response("").body)),xc={stream:Gf&&(e=>e.body)};mu&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!xc[t]&&(xc[t]=Te.isFunction(e[t])?n=>n[t]():(n,o)=>{throw new yt(`Response type '${t}' is not supported`,yt.ERR_NOT_SUPPORT,o)})})})(new Response);const rE=async e=>{if(e==null)return 0;if(Te.isBlob(e))return e.size;if(Te.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(Te.isArrayBufferView(e)||Te.isArrayBuffer(e))return e.byteLength;if(Te.isURLSearchParams(e)&&(e=e+""),Te.isString(e))return(await Kf(e)).byteLength},iE=async(e,t)=>{const n=Te.toFiniteNumber(e.getContentLength());return n??rE(t)},aE=mu&&(async e=>{let{url:t,method:n,data:o,signal:r,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=iC(e);c=c?(c+"").toLowerCase():"text";let[h,p]=r||i||a?eE([r,i],a):[],g,m;const b=()=>{!g&&setTimeout(()=>{h&&h.unsubscribe()}),g=!0};let _;try{if(l&&oE&&n!=="get"&&n!=="head"&&(_=await iE(u,o))!==0){let y=new Request(t,{method:"POST",body:o,duplex:"half"}),P;if(Te.isFormData(o)&&(P=y.headers.get("content-type"))&&u.setContentType(P),y.body){const[k,T]=fv(_,yc(hv(l)));o=mv(y.body,gv,k,T,Kf)}}Te.isString(d)||(d=d?"include":"omit");const C="credentials"in Request.prototype;m=new Request(t,{...f,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:o,duplex:"half",credentials:C?d:void 0});let S=await fetch(m);const w=Gf&&(c==="stream"||c==="response");if(Gf&&(s||w)){const y={};["status","statusText","headers"].forEach(E=>{y[E]=S[E]});const P=Te.toFiniteNumber(S.headers.get("content-length")),[k,T]=s&&fv(P,yc(hv(s),!0))||[];S=new Response(mv(S.body,gv,k,()=>{T&&T(),w&&b()},Kf),y)}c=c||"text";let x=await xc[Te.findKey(xc,c)||"text"](S,e);return!w&&b(),p&&p(),await new Promise((y,P)=>{oC(y,P,{data:x,headers:Po.from(S.headers),status:S.status,statusText:S.statusText,config:e,request:m})})}catch(C){throw b(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new yt("Network Error",yt.ERR_NETWORK,e,m),{cause:C.cause||C}):yt.from(C,C&&C.code,e,m)}}),Yf={http:CR,xhr:JR,fetch:aE};Te.forEach(Yf,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const vv=e=>`- ${e}`,sE=e=>Te.isFunction(e)||e===null||e===!1,lC={getAdapter:e=>{e=Te.isArray(e)?e:[e];const{length:t}=e;let n,o;const r={};for(let i=0;i`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since : +`+i.map(vv).join(` +`):" "+vv(i[0]):"as no adapter specified";throw new yt("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o},adapters:Yf};function Od(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Fa(null,e)}function bv(e){return Od(e),e.headers=Po.from(e.headers),e.data=Id.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),lC.getAdapter(e.adapter||_p.adapter)(e).then(function(o){return Od(e),o.data=Id.call(e,e.transformResponse,o),o.headers=Po.from(o.headers),o},function(o){return nC(o)||(Od(e),o&&o.response&&(o.response.data=Id.call(e,e.transformResponse,o.response),o.response.headers=Po.from(o.response.headers))),Promise.reject(o)})}const cC="1.7.5",Sp={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Sp[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const yv={};Sp.transitional=function(t,n,o){function r(i,a){return"[Axios v"+cC+"] Transitional option '"+i+"'"+a+(o?". "+o:"")}return(i,a,s)=>{if(t===!1)throw new yt(r(a," has been removed"+(n?" in "+n:"")),yt.ERR_DEPRECATED);return n&&!yv[a]&&(yv[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,s):!0}};function lE(e,t,n){if(typeof e!="object")throw new yt("options must be an object",yt.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let r=o.length;for(;r-- >0;){const i=o[r],a=t[i];if(a){const s=e[i],l=s===void 0||a(s,i,e);if(l!==!0)throw new yt("option "+i+" must be "+l,yt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new yt("Unknown option "+i,yt.ERR_BAD_OPTION)}}const Xf={assertOptions:lE,validators:Sp},Sr=Xf.validators;class Cc{constructor(t){this.defaults=t,this.interceptors={request:new uv,response:new uv}}async request(t,n){try{return await this._request(t,n)}catch(o){if(o instanceof Error){let r;Error.captureStackTrace?Error.captureStackTrace(r={}):r=new Error;const i=r.stack?r.stack.replace(/^.+\n/,""):"";try{o.stack?i&&!String(o.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(o.stack+=` +`+i):o.stack=i}catch{}}throw o}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ei(this.defaults,n);const{transitional:o,paramsSerializer:r,headers:i}=n;o!==void 0&&Xf.assertOptions(o,{silentJSONParsing:Sr.transitional(Sr.boolean),forcedJSONParsing:Sr.transitional(Sr.boolean),clarifyTimeoutError:Sr.transitional(Sr.boolean)},!1),r!=null&&(Te.isFunction(r)?n.paramsSerializer={serialize:r}:Xf.assertOptions(r,{encode:Sr.function,serialize:Sr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&Te.merge(i.common,i[n.method]);i&&Te.forEach(["delete","get","head","post","put","patch","common"],p=>{delete i[p]}),n.headers=Po.concat(a,i);const s=[];let l=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(l=l&&g.synchronous,s.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let u,d=0,f;if(!l){const p=[bv.bind(this),void 0];for(p.unshift.apply(p,s),p.push.apply(p,c),f=p.length,u=Promise.resolve(n);d{if(!o._listeners)return;let i=o._listeners.length;for(;i-- >0;)o._listeners[i](r);o._listeners=null}),this.promise.then=r=>{let i;const a=new Promise(s=>{o.subscribe(s),i=s}).then(r);return a.cancel=function(){o.unsubscribe(i)},a},t(function(i,a,s){o.reason||(o.reason=new Fa(i,a,s),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 kp(function(r){t=r}),cancel:t}}}const cE=kp;function uE(e){return function(n){return e.apply(null,n)}}function dE(e){return Te.isObject(e)&&e.isAxiosError===!0}const Zf={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(Zf).forEach(([e,t])=>{Zf[t]=e});const fE=Zf;function uC(e){const t=new ic(e),n=Hx(ic.prototype.request,t);return Te.extend(n,ic.prototype,t,{allOwnKeys:!0}),Te.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return uC(Ei(e,r))},n}const gn=uC(_p);gn.Axios=ic;gn.CanceledError=Fa;gn.CancelToken=cE;gn.isCancel=nC;gn.VERSION=cC;gn.toFormData=hu;gn.AxiosError=yt;gn.Cancel=gn.CanceledError;gn.all=function(t){return Promise.all(t)};gn.spread=uE;gn.isAxiosError=dE;gn.mergeConfig=Ei;gn.AxiosHeaders=Po;gn.formToJSON=e=>tC(Te.isHTMLForm(e)?new FormData(e):e);gn.getAdapter=lC.getAdapter;gn.HttpStatusCode=fE;gn.default=gn;const hE=gn,pE=[{url:"/passport/auth/login",method:"POST"},{url:"/passport/auth/token2Login",method:"GET"},{url:"/passport/auth/register",method:"POST"},{url:"/passport/auth/register",method:"POST"},{url:"/guest/comm/config",method:"GET"},{url:"/passport/comm/sendEmailVerify",method:"POST"},{url:"/passport/auth/forget",method:"POST"}];function mE({url:e,method:t=""}){return pE.some(n=>n.url===e.split("?")[0]&&n.method===t.toUpperCase())}function gE(e){return typeof e>"u"}function vE(e){return e===null}function bE(e){return vE(e)||gE(e)}function dC(e){try{if(typeof JSON.parse(e)=="object")return!0}catch{return!1}}class yE{constructor(t){md(this,"storage");md(this,"prefixKey");this.storage=t.storage,this.prefixKey=t.prefixKey}getKey(t){return`${this.prefixKey}${t}`.toUpperCase()}set(t,n,o=null){const r=JSON.stringify({value:n,time:Date.now(),expire:o!==null?new Date().getTime()+o*1e3:null});this.storage.setItem(this.getKey(t),r)}get(t,n=null){const o=this.storage.getItem(this.getKey(t));if(!o)return{value:n,time:0};try{const r=JSON.parse(o),{value:i,time:a,expire:s}=r;return bE(s)||s>new Date().getTime()?{value:i,time:a}:(this.remove(t),{value:n,time:0})}catch{return this.remove(t),{value:n,time:0}}}remove(t){this.storage.removeItem(this.getKey(t))}clear(){this.storage.clear()}}function fC({prefixKey:e="",storage:t=sessionStorage}){return new yE({prefixKey:e,storage:t})}const hC="Vue_Naive_",xE=function(e={}){return fC({prefixKey:e.prefixKey||"",storage:localStorage})},CE=function(e={}){return fC({prefixKey:e.prefixKey||"",storage:sessionStorage})},il=xE({prefixKey:hC}),wc=CE({prefixKey:hC}),pC="access_token";function mC(){return il.get(pC)}function gC(){il.remove(pC)}function Pp(){const e=we(Gt.currentRoute),t=!e.meta.requireAuth&&!["/404","/login"].includes(Gt.currentRoute.value.path);Gt.replace({path:"/login",query:t?{...e.query,redirect:e.path}:{}})}var vC=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Tp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function wE(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}),n}var bC={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(vC,function(){var n=1e3,o=6e4,r=36e5,i="millisecond",a="second",s="minute",l="hour",c="day",u="week",d="month",f="quarter",h="year",p="date",g="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(N){var D=["th","st","nd","rd"],M=N%100;return"["+N+(D[(M-20)%10]||D[M]||D[0])+"]"}},C=function(N,D,M){var G=String(N);return!G||G.length>=D?N:""+Array(D+1-G.length).join(M)+N},S={s:C,z:function(N){var D=-N.utcOffset(),M=Math.abs(D),G=Math.floor(M/60),J=M%60;return(D<=0?"+":"-")+C(G,2,"0")+":"+C(J,2,"0")},m:function N(D,M){if(D.date()1)return N(pe[0])}else{var B=D.name;x[B]=D,J=B}return!G&&J&&(w=J),J||!G&&w},T=function(N,D){if(P(N))return N.clone();var M=typeof D=="object"?D:{};return M.date=N,M.args=arguments,new R(M)},E=S;E.l=k,E.i=P,E.w=function(N,D){return T(N,{locale:D.$L,utc:D.$u,x:D.$x,$offset:D.$offset})};var R=function(){function N(M){this.$L=k(M.locale,null,!0),this.parse(M),this.$x=this.$x||M.x||{},this[y]=!0}var D=N.prototype;return D.parse=function(M){this.$d=function(G){var J=G.date,he=G.utc;if(J===null)return new Date(NaN);if(E.u(J))return new Date;if(J instanceof Date)return new Date(J);if(typeof J=="string"&&!/Z$/i.test(J)){var pe=J.match(m);if(pe){var B=pe[2]-1||0,$=(pe[7]||"0").substring(0,3);return he?new Date(Date.UTC(pe[1],B,pe[3]||1,pe[4]||0,pe[5]||0,pe[6]||0,$)):new Date(pe[1],B,pe[3]||1,pe[4]||0,pe[5]||0,pe[6]||0,$)}}return new Date(J)}(M),this.init()},D.init=function(){var M=this.$d;this.$y=M.getFullYear(),this.$M=M.getMonth(),this.$D=M.getDate(),this.$W=M.getDay(),this.$H=M.getHours(),this.$m=M.getMinutes(),this.$s=M.getSeconds(),this.$ms=M.getMilliseconds()},D.$utils=function(){return E},D.isValid=function(){return this.$d.toString()!==g},D.isSame=function(M,G){var J=T(M);return this.startOf(G)<=J&&J<=this.endOf(G)},D.isAfter=function(M,G){return T(M)1&&arguments[1]!==void 0?arguments[1]:{container:document.body},oe="";return typeof A=="string"?oe=w(A,G):A instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(A==null?void 0:A.type)?oe=w(A.value,G):(oe=p()(A),h("copy")),oe},S=C;function _(E){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(G){return typeof G}:_=function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},_(E)}var x=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},G=A.action,oe=G===void 0?"copy":G,fe=A.container,J=A.target,xe=A.text;if(oe!=="copy"&&oe!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(J!==void 0)if(J&&_(J)==="object"&&J.nodeType===1){if(oe==="copy"&&J.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(oe==="cut"&&(J.hasAttribute("readonly")||J.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(xe)return S(xe,{container:fe});if(J)return oe==="cut"?v(J):S(J,{container:fe})},y=x;function k(E){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?k=function(G){return typeof G}:k=function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},k(E)}function P(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}function T(E,A){for(var G=0;G"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function Q(E){return Q=Object.setPrototypeOf?Object.getPrototypeOf:function(G){return G.__proto__||Object.getPrototypeOf(G)},Q(E)}function de(E,A){var G="data-clipboard-".concat(E);if(A.hasAttribute(G))return A.getAttribute(G)}var pe=function(E){R(G,E);var A=j(G);function G(oe,fe){var J;return P(this,G),J=A.call(this),J.resolveOptions(fe),J.listenClick(oe),J}return $(G,[{key:"resolveOptions",value:function(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof fe.action=="function"?fe.action:this.defaultAction,this.target=typeof fe.target=="function"?fe.target:this.defaultTarget,this.text=typeof fe.text=="function"?fe.text:this.defaultText,this.container=k(fe.container)==="object"?fe.container:document.body}},{key:"listenClick",value:function(fe){var J=this;this.listener=d()(fe,"click",function(xe){return J.onClick(xe)})}},{key:"onClick",value:function(fe){var J=fe.delegateTarget||fe.currentTarget,xe=this.action(J)||"copy",N=y({action:xe,container:this.container,target:this.target(J),text:this.text(J)});this.emit(N?"success":"error",{action:xe,text:N,trigger:J,clearSelection:function(){J&&J.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(fe){return de("action",fe)}},{key:"defaultTarget",value:function(fe){var J=de("target",fe);if(J)return document.querySelector(J)}},{key:"defaultText",value:function(fe){return de("text",fe)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(fe){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return S(fe,J)}},{key:"cut",value:function(fe){return v(fe)}},{key:"isSupported",value:function(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],J=typeof fe=="string"?[fe]:fe,xe=!!document.queryCommandSupported;return J.forEach(function(N){xe=xe&&!!document.queryCommandSupported(N)}),xe}}]),G}(c()),B=pe},828:function(i){var a=9;if(typeof Element<"u"&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}function l(c,u){for(;c&&c.nodeType!==a;){if(typeof c.matches=="function"&&c.matches(u))return c;c=c.parentNode}}i.exports=l},438:function(i,a,s){var l=s(828);function c(f,p,h,m,v){var b=d.apply(this,arguments);return f.addEventListener(h,b,v),{destroy:function(){f.removeEventListener(h,b,v)}}}function u(f,p,h,m,v){return typeof f.addEventListener=="function"?c.apply(null,arguments):typeof h=="function"?c.bind(null,document).apply(null,arguments):(typeof f=="string"&&(f=document.querySelectorAll(f)),Array.prototype.map.call(f,function(b){return c(b,p,h,m,v)}))}function d(f,p,h,m){return function(v){v.delegateTarget=l(v.target,p),v.delegateTarget&&m.call(f,v)}}i.exports=u},879:function(i,a){a.node=function(s){return s!==void 0&&s instanceof HTMLElement&&s.nodeType===1},a.nodeList=function(s){var l=Object.prototype.toString.call(s);return s!==void 0&&(l==="[object NodeList]"||l==="[object HTMLCollection]")&&"length"in s&&(s.length===0||a.node(s[0]))},a.string=function(s){return typeof s=="string"||s instanceof String},a.fn=function(s){var l=Object.prototype.toString.call(s);return l==="[object Function]"}},370:function(i,a,s){var l=s(879),c=s(438);function u(h,m,v){if(!h&&!m&&!v)throw new Error("Missing required arguments");if(!l.string(m))throw new TypeError("Second argument must be a String");if(!l.fn(v))throw new TypeError("Third argument must be a Function");if(l.node(h))return d(h,m,v);if(l.nodeList(h))return f(h,m,v);if(l.string(h))return p(h,m,v);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function d(h,m,v){return h.addEventListener(m,v),{destroy:function(){h.removeEventListener(m,v)}}}function f(h,m,v){return Array.prototype.forEach.call(h,function(b){b.addEventListener(m,v)}),{destroy:function(){Array.prototype.forEach.call(h,function(b){b.removeEventListener(m,v)})}}}function p(h,m,v){return c(document.body,h,m,v)}i.exports=u},817:function(i){function a(s){var l;if(s.nodeName==="SELECT")s.focus(),l=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var c=s.hasAttribute("readonly");c||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),c||s.removeAttribute("readonly"),l=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var u=window.getSelection(),d=document.createRange();d.selectNodeContents(s),u.removeAllRanges(),u.addRange(d),l=u.toString()}return l}i.exports=a},279:function(i){function a(){}a.prototype={on:function(s,l,c){var u=this.e||(this.e={});return(u[s]||(u[s]=[])).push({fn:l,ctx:c}),this},once:function(s,l,c){var u=this;function d(){u.off(s,d),l.apply(c,arguments)}return d._=l,this.on(s,d,c)},emit:function(s){var l=[].slice.call(arguments,1),c=((this.e||(this.e={}))[s]||[]).slice(),u=0,d=c.length;for(u;u{const n=e[t];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((o,r)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+t)))})};/*! - * shared v9.12.1 + */(function(e,t){(function(o,r){e.exports=r()})(vC,function(){return function(){var n={686:function(i,a,s){s.d(a,{default:function(){return B}});var l=s(279),c=s.n(l),u=s(370),d=s.n(u),f=s(817),h=s.n(f);function p($){try{return document.execCommand($)}catch{return!1}}var g=function(A){var Y=h()(A);return p("cut"),Y},m=g;function b($){var A=document.documentElement.getAttribute("dir")==="rtl",Y=document.createElement("textarea");Y.style.fontSize="12pt",Y.style.border="0",Y.style.padding="0",Y.style.margin="0",Y.style.position="absolute",Y.style[A?"right":"left"]="-9999px";var ne=window.pageYOffset||document.documentElement.scrollTop;return Y.style.top="".concat(ne,"px"),Y.setAttribute("readonly",""),Y.value=$,Y}var _=function(A,Y){var ne=b(A);Y.container.appendChild(ne);var fe=h()(ne);return p("copy"),ne.remove(),fe},C=function(A){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},ne="";return typeof A=="string"?ne=_(A,Y):A instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(A==null?void 0:A.type)?ne=_(A.value,Y):(ne=h()(A),p("copy")),ne},S=C;function w($){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(Y){return typeof Y}:w=function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y},w($)}var x=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Y=A.action,ne=Y===void 0?"copy":Y,fe=A.container,Q=A.target,xe=A.text;if(ne!=="copy"&&ne!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(Q!==void 0)if(Q&&w(Q)==="object"&&Q.nodeType===1){if(ne==="copy"&&Q.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(ne==="cut"&&(Q.hasAttribute("readonly")||Q.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(xe)return S(xe,{container:fe});if(Q)return ne==="cut"?m(Q):S(Q,{container:fe})},y=x;function P($){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?P=function(Y){return typeof Y}:P=function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y},P($)}function k($,A){if(!($ instanceof A))throw new TypeError("Cannot call a class as a function")}function T($,A){for(var Y=0;Y"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function J($){return J=Object.setPrototypeOf?Object.getPrototypeOf:function(Y){return Y.__proto__||Object.getPrototypeOf(Y)},J($)}function he($,A){var Y="data-clipboard-".concat($);if(A.hasAttribute(Y))return A.getAttribute(Y)}var pe=function($){R(Y,$);var A=N(Y);function Y(ne,fe){var Q;return k(this,Y),Q=A.call(this),Q.resolveOptions(fe),Q.listenClick(ne),Q}return E(Y,[{key:"resolveOptions",value:function(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof fe.action=="function"?fe.action:this.defaultAction,this.target=typeof fe.target=="function"?fe.target:this.defaultTarget,this.text=typeof fe.text=="function"?fe.text:this.defaultText,this.container=P(fe.container)==="object"?fe.container:document.body}},{key:"listenClick",value:function(fe){var Q=this;this.listener=d()(fe,"click",function(xe){return Q.onClick(xe)})}},{key:"onClick",value:function(fe){var Q=fe.delegateTarget||fe.currentTarget,xe=this.action(Q)||"copy",H=y({action:xe,container:this.container,target:this.target(Q),text:this.text(Q)});this.emit(H?"success":"error",{action:xe,text:H,trigger:Q,clearSelection:function(){Q&&Q.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(fe){return he("action",fe)}},{key:"defaultTarget",value:function(fe){var Q=he("target",fe);if(Q)return document.querySelector(Q)}},{key:"defaultText",value:function(fe){return he("text",fe)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(fe){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return S(fe,Q)}},{key:"cut",value:function(fe){return m(fe)}},{key:"isSupported",value:function(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],Q=typeof fe=="string"?[fe]:fe,xe=!!document.queryCommandSupported;return Q.forEach(function(H){xe=xe&&!!document.queryCommandSupported(H)}),xe}}]),Y}(c()),B=pe},828:function(i){var a=9;if(typeof Element<"u"&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}function l(c,u){for(;c&&c.nodeType!==a;){if(typeof c.matches=="function"&&c.matches(u))return c;c=c.parentNode}}i.exports=l},438:function(i,a,s){var l=s(828);function c(f,h,p,g,m){var b=d.apply(this,arguments);return f.addEventListener(p,b,m),{destroy:function(){f.removeEventListener(p,b,m)}}}function u(f,h,p,g,m){return typeof f.addEventListener=="function"?c.apply(null,arguments):typeof p=="function"?c.bind(null,document).apply(null,arguments):(typeof f=="string"&&(f=document.querySelectorAll(f)),Array.prototype.map.call(f,function(b){return c(b,h,p,g,m)}))}function d(f,h,p,g){return function(m){m.delegateTarget=l(m.target,h),m.delegateTarget&&g.call(f,m)}}i.exports=u},879:function(i,a){a.node=function(s){return s!==void 0&&s instanceof HTMLElement&&s.nodeType===1},a.nodeList=function(s){var l=Object.prototype.toString.call(s);return s!==void 0&&(l==="[object NodeList]"||l==="[object HTMLCollection]")&&"length"in s&&(s.length===0||a.node(s[0]))},a.string=function(s){return typeof s=="string"||s instanceof String},a.fn=function(s){var l=Object.prototype.toString.call(s);return l==="[object Function]"}},370:function(i,a,s){var l=s(879),c=s(438);function u(p,g,m){if(!p&&!g&&!m)throw new Error("Missing required arguments");if(!l.string(g))throw new TypeError("Second argument must be a String");if(!l.fn(m))throw new TypeError("Third argument must be a Function");if(l.node(p))return d(p,g,m);if(l.nodeList(p))return f(p,g,m);if(l.string(p))return h(p,g,m);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function d(p,g,m){return p.addEventListener(g,m),{destroy:function(){p.removeEventListener(g,m)}}}function f(p,g,m){return Array.prototype.forEach.call(p,function(b){b.addEventListener(g,m)}),{destroy:function(){Array.prototype.forEach.call(p,function(b){b.removeEventListener(g,m)})}}}function h(p,g,m){return c(document.body,p,g,m)}i.exports=u},817:function(i){function a(s){var l;if(s.nodeName==="SELECT")s.focus(),l=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var c=s.hasAttribute("readonly");c||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),c||s.removeAttribute("readonly"),l=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var u=window.getSelection(),d=document.createRange();d.selectNodeContents(s),u.removeAllRanges(),u.addRange(d),l=u.toString()}return l}i.exports=a},279:function(i){function a(){}a.prototype={on:function(s,l,c){var u=this.e||(this.e={});return(u[s]||(u[s]=[])).push({fn:l,ctx:c}),this},once:function(s,l,c){var u=this;function d(){u.off(s,d),l.apply(c,arguments)}return d._=l,this.on(s,d,c)},emit:function(s){var l=[].slice.call(arguments,1),c=((this.e||(this.e={}))[s]||[]).slice(),u=0,d=c.length;for(u;u{const n=e[t];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((o,r)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+t)))})};/*! + * shared v9.14.0 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */const xc=typeof window<"u",qr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),UR=(e,t,n)=>qR({l:e,k:t,s:n}),qR=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),xn=e=>typeof e=="number"&&isFinite(e),KR=e=>Gx(e)==="[object Date]",Br=e=>Gx(e)==="[object RegExp]",fu=e=>mt(e)&&Object.keys(e).length===0,kn=Object.assign;let ov;const nr=()=>ov||(ov=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function rv(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const GR=Object.prototype.hasOwnProperty;function Cc(e,t){return GR.call(e,t)}const nn=Array.isArray,Yt=e=>typeof e=="function",Ge=e=>typeof e=="string",_t=e=>typeof e=="boolean",Nt=e=>e!==null&&typeof e=="object",YR=e=>Nt(e)&&Yt(e.then)&&Yt(e.catch),Kx=Object.prototype.toString,Gx=e=>Kx.call(e),mt=e=>{if(!Nt(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},XR=e=>e==null?"":nn(e)||mt(e)&&e.toString===Kx?JSON.stringify(e,null,2):String(e);function ZR(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}function hu(e){let t=e;return()=>++t}function JR(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Pl=e=>!Nt(e)||nn(e);function rc(e,t){if(Pl(e)||Pl(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:o,des:r}=n.pop();Object.keys(o).forEach(i=>{Pl(o[i])||Pl(r[i])?r[i]=o[i]:n.push({src:o[i],des:r[i]})})}}/*! - * message-compiler v9.12.1 + */const _c=typeof window<"u",Yr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),RE=(e,t,n)=>EE({l:e,k:t,s:n}),EE=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),yn=e=>typeof e=="number"&&isFinite(e),$E=e=>CC(e)==="[object Date]",Nr=e=>CC(e)==="[object RegExp]",gu=e=>gt(e)&&Object.keys(e).length===0,Pn=Object.assign;let xv;const ir=()=>xv||(xv=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Cv(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const AE=Object.prototype.hasOwnProperty;function Sc(e,t){return AE.call(e,t)}const tn=Array.isArray,Yt=e=>typeof e=="function",Ye=e=>typeof e=="string",St=e=>typeof e=="boolean",Nt=e=>e!==null&&typeof e=="object",IE=e=>Nt(e)&&Yt(e.then)&&Yt(e.catch),xC=Object.prototype.toString,CC=e=>xC.call(e),gt=e=>{if(!Nt(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},OE=e=>e==null?"":tn(e)||gt(e)&&e.toString===xC?JSON.stringify(e,null,2):String(e);function ME(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}function vu(e){let t=e;return()=>++t}function zE(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Rl=e=>!Nt(e)||tn(e);function ac(e,t){if(Rl(e)||Rl(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:o,des:r}=n.pop();Object.keys(o).forEach(i=>{Rl(o[i])||Rl(r[i])?r[i]=o[i]:n.push({src:o[i],des:r[i]})})}}/*! + * message-compiler v9.14.0 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */function QR(e,t,n){return{line:e,column:t,offset:n}}function wc(e,t,n){const o={start:e,end:t};return n!=null&&(o.source=n),o}const eE=/\{([0-9a-zA-Z]+)\}/g;function Yx(e,...t){return t.length===1&&tE(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(eE,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const Xx=Object.assign,iv=e=>typeof e=="string",tE=e=>e!==null&&typeof e=="object";function Zx(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}const pp={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},nE={[pp.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function oE(e,t,...n){const o=Yx(nE[e]||"",...n||[]),r={message:String(o),code:e};return t&&(r.location=t),r}const dt={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},rE={[dt.EXPECTED_TOKEN]:"Expected token: '{0}'",[dt.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[dt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[dt.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[dt.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[dt.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[dt.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[dt.EMPTY_PLACEHOLDER]:"Empty placeholder",[dt.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[dt.INVALID_LINKED_FORMAT]:"Invalid linked format",[dt.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[dt.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[dt.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[dt.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[dt.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[dt.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Oa(e,t,n={}){const{domain:o,messages:r,args:i}=n,a=Yx((r||rE)[e]||"",...i||[]),s=new SyntaxError(String(a));return s.code=e,t&&(s.location=t),s.domain=o,s}function iE(e){throw e}const Zo=" ",aE="\r",On=` -`,sE=String.fromCharCode(8232),lE=String.fromCharCode(8233);function cE(e){const t=e;let n=0,o=1,r=1,i=0;const a=y=>t[y]===aE&&t[y+1]===On,s=y=>t[y]===On,l=y=>t[y]===lE,c=y=>t[y]===sE,u=y=>a(y)||s(y)||l(y)||c(y),d=()=>n,f=()=>o,p=()=>r,h=()=>i,m=y=>a(y)||l(y)||c(y)?On:t[y],v=()=>m(n),b=()=>m(n+i);function w(){return i=0,u(n)&&(o++,r=0),a(n)&&n++,n++,r++,t[n]}function C(){return a(n+i)&&i++,i++,t[n+i]}function S(){n=0,o=1,r=1,i=0}function _(y=0){i=y}function x(){const y=n+i;for(;y!==n;)w();i=0}return{index:d,line:f,column:p,peekOffset:h,charAt:m,currentChar:v,currentPeek:b,next:w,peek:C,reset:S,resetPeek:_,skipToPeek:x}}const _r=void 0,uE=".",av="'",dE="tokenizer";function fE(e,t={}){const n=t.location!==!1,o=cE(e),r=()=>o.index(),i=()=>QR(o.line(),o.column(),o.index()),a=i(),s=r(),l={currentType:14,offset:s,startLoc:a,endLoc:a,lastType:14,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(I,H,te,...Ce){const ae=c();if(H.column+=te,H.offset+=te,u){const he=n?wc(ae.startLoc,H):null,ne=Oa(I,he,{domain:dE,args:Ce});u(ne)}}function f(I,H,te){I.endLoc=i(),I.currentType=H;const Ce={type:H};return n&&(Ce.loc=wc(I.startLoc,I.endLoc)),te!=null&&(Ce.value=te),Ce}const p=I=>f(I,14);function h(I,H){return I.currentChar()===H?(I.next(),H):(d(dt.EXPECTED_TOKEN,i(),0,H),"")}function m(I){let H="";for(;I.currentPeek()===Zo||I.currentPeek()===On;)H+=I.currentPeek(),I.peek();return H}function v(I){const H=m(I);return I.skipToPeek(),H}function b(I){if(I===_r)return!1;const H=I.charCodeAt(0);return H>=97&&H<=122||H>=65&&H<=90||H===95}function w(I){if(I===_r)return!1;const H=I.charCodeAt(0);return H>=48&&H<=57}function C(I,H){const{currentType:te}=H;if(te!==2)return!1;m(I);const Ce=b(I.currentPeek());return I.resetPeek(),Ce}function S(I,H){const{currentType:te}=H;if(te!==2)return!1;m(I);const Ce=I.currentPeek()==="-"?I.peek():I.currentPeek(),ae=w(Ce);return I.resetPeek(),ae}function _(I,H){const{currentType:te}=H;if(te!==2)return!1;m(I);const Ce=I.currentPeek()===av;return I.resetPeek(),Ce}function x(I,H){const{currentType:te}=H;if(te!==8)return!1;m(I);const Ce=I.currentPeek()===".";return I.resetPeek(),Ce}function y(I,H){const{currentType:te}=H;if(te!==9)return!1;m(I);const Ce=b(I.currentPeek());return I.resetPeek(),Ce}function k(I,H){const{currentType:te}=H;if(!(te===8||te===12))return!1;m(I);const Ce=I.currentPeek()===":";return I.resetPeek(),Ce}function P(I,H){const{currentType:te}=H;if(te!==10)return!1;const Ce=()=>{const he=I.currentPeek();return he==="{"?b(I.peek()):he==="@"||he==="%"||he==="|"||he===":"||he==="."||he===Zo||!he?!1:he===On?(I.peek(),Ce()):b(he)},ae=Ce();return I.resetPeek(),ae}function T(I){m(I);const H=I.currentPeek()==="|";return I.resetPeek(),H}function $(I){const H=m(I),te=I.currentPeek()==="%"&&I.peek()==="{";return I.resetPeek(),{isModulo:te,hasSpace:H.length>0}}function R(I,H=!0){const te=(ae=!1,he="",ne=!1)=>{const ue=I.currentPeek();return ue==="{"?he==="%"?!1:ae:ue==="@"||!ue?he==="%"?!0:ae:ue==="%"?(I.peek(),te(ae,"%",!0)):ue==="|"?he==="%"||ne?!0:!(he===Zo||he===On):ue===Zo?(I.peek(),te(!0,Zo,ne)):ue===On?(I.peek(),te(!0,On,ne)):!0},Ce=te();return H&&I.resetPeek(),Ce}function K(I,H){const te=I.currentChar();return te===_r?_r:H(te)?(I.next(),te):null}function j(I){const H=I.charCodeAt(0);return H>=97&&H<=122||H>=65&&H<=90||H>=48&&H<=57||H===95||H===36}function D(I){return K(I,j)}function M(I){const H=I.charCodeAt(0);return H>=97&&H<=122||H>=65&&H<=90||H>=48&&H<=57||H===95||H===36||H===45}function Y(I){return K(I,M)}function Q(I){const H=I.charCodeAt(0);return H>=48&&H<=57}function de(I){return K(I,Q)}function pe(I){const H=I.charCodeAt(0);return H>=48&&H<=57||H>=65&&H<=70||H>=97&&H<=102}function B(I){return K(I,pe)}function E(I){let H="",te="";for(;H=de(I);)te+=H;return te}function A(I){v(I);const H=I.currentChar();return H!=="%"&&d(dt.EXPECTED_TOKEN,i(),0,H),I.next(),"%"}function G(I){let H="";for(;;){const te=I.currentChar();if(te==="{"||te==="}"||te==="@"||te==="|"||!te)break;if(te==="%")if(R(I))H+=te,I.next();else break;else if(te===Zo||te===On)if(R(I))H+=te,I.next();else{if(T(I))break;H+=te,I.next()}else H+=te,I.next()}return H}function oe(I){v(I);let H="",te="";for(;H=Y(I);)te+=H;return I.currentChar()===_r&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),te}function fe(I){v(I);let H="";return I.currentChar()==="-"?(I.next(),H+=`-${E(I)}`):H+=E(I),I.currentChar()===_r&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),H}function J(I){return I!==av&&I!==On}function xe(I){v(I),h(I,"'");let H="",te="";for(;H=K(I,J);)H==="\\"?te+=N(I):te+=H;const Ce=I.currentChar();return Ce===On||Ce===_r?(d(dt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),Ce===On&&(I.next(),h(I,"'")),te):(h(I,"'"),te)}function N(I){const H=I.currentChar();switch(H){case"\\":case"'":return I.next(),`\\${H}`;case"u":return be(I,H,4);case"U":return be(I,H,6);default:return d(dt.UNKNOWN_ESCAPE_SEQUENCE,i(),0,H),""}}function be(I,H,te){h(I,H);let Ce="";for(let ae=0;ae{const ae=I.currentChar();return ae==="{"||ae==="%"||ae==="@"||ae==="|"||ae==="("||ae===")"||!ae||ae===Zo?Ce:ae===On||ae===uE?(Ce+=ae,I.next(),H(te,Ce)):(Ce+=ae,I.next(),H(!0,Ce))};return H(!1,"")}function re(I){v(I);const H=h(I,"|");return v(I),H}function _e(I,H){let te=null;switch(I.currentChar()){case"{":return H.braceNest>=1&&d(dt.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),I.next(),te=f(H,2,"{"),v(I),H.braceNest++,te;case"}":return H.braceNest>0&&H.currentType===2&&d(dt.EMPTY_PLACEHOLDER,i(),0),I.next(),te=f(H,3,"}"),H.braceNest--,H.braceNest>0&&v(I),H.inLinked&&H.braceNest===0&&(H.inLinked=!1),te;case"@":return H.braceNest>0&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),te=ee(I,H)||p(H),H.braceNest=0,te;default:{let ae=!0,he=!0,ne=!0;if(T(I))return H.braceNest>0&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),te=f(H,1,re(I)),H.braceNest=0,H.inLinked=!1,te;if(H.braceNest>0&&(H.currentType===5||H.currentType===6||H.currentType===7))return d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),H.braceNest=0,ye(I,H);if(ae=C(I,H))return te=f(H,5,oe(I)),v(I),te;if(he=S(I,H))return te=f(H,6,fe(I)),v(I),te;if(ne=_(I,H))return te=f(H,7,xe(I)),v(I),te;if(!ae&&!he&&!ne)return te=f(H,13,Le(I)),d(dt.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,te.value),v(I),te;break}}return te}function ee(I,H){const{currentType:te}=H;let Ce=null;const ae=I.currentChar();switch((te===8||te===9||te===12||te===10)&&(ae===On||ae===Zo)&&d(dt.INVALID_LINKED_FORMAT,i(),0),ae){case"@":return I.next(),Ce=f(H,8,"@"),H.inLinked=!0,Ce;case".":return v(I),I.next(),f(H,9,".");case":":return v(I),I.next(),f(H,10,":");default:return T(I)?(Ce=f(H,1,re(I)),H.braceNest=0,H.inLinked=!1,Ce):x(I,H)||k(I,H)?(v(I),ee(I,H)):y(I,H)?(v(I),f(H,12,F(I))):P(I,H)?(v(I),ae==="{"?_e(I,H)||Ce:f(H,11,O(I))):(te===8&&d(dt.INVALID_LINKED_FORMAT,i(),0),H.braceNest=0,H.inLinked=!1,ye(I,H))}}function ye(I,H){let te={type:14};if(H.braceNest>0)return _e(I,H)||p(H);if(H.inLinked)return ee(I,H)||p(H);switch(I.currentChar()){case"{":return _e(I,H)||p(H);case"}":return d(dt.UNBALANCED_CLOSING_BRACE,i(),0),I.next(),f(H,3,"}");case"@":return ee(I,H)||p(H);default:{if(T(I))return te=f(H,1,re(I)),H.braceNest=0,H.inLinked=!1,te;const{isModulo:ae,hasSpace:he}=$(I);if(ae)return he?f(H,0,G(I)):f(H,4,A(I));if(R(I))return f(H,0,G(I));break}}return te}function Pe(){const{currentType:I,offset:H,startLoc:te,endLoc:Ce}=l;return l.lastType=I,l.lastOffset=H,l.lastStartLoc=te,l.lastEndLoc=Ce,l.offset=r(),l.startLoc=i(),o.currentChar()===_r?f(l,14):ye(o,l)}return{nextToken:Pe,currentOffset:r,currentPosition:i,context:c}}const hE="parser",pE=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function mE(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function gE(e={}){const t=e.location!==!1,{onError:n,onWarn:o}=e;function r(C,S,_,x,...y){const k=C.currentPosition();if(k.offset+=x,k.column+=x,n){const P=t?wc(_,k):null,T=Oa(S,P,{domain:hE,args:y});n(T)}}function i(C,S,_,x,...y){const k=C.currentPosition();if(k.offset+=x,k.column+=x,o){const P=t?wc(_,k):null;o(oE(S,P,y))}}function a(C,S,_){const x={type:C};return t&&(x.start=S,x.end=S,x.loc={start:_,end:_}),x}function s(C,S,_,x){x&&(C.type=x),t&&(C.end=S,C.loc&&(C.loc.end=_))}function l(C,S){const _=C.context(),x=a(3,_.offset,_.startLoc);return x.value=S,s(x,C.currentOffset(),C.currentPosition()),x}function c(C,S){const _=C.context(),{lastOffset:x,lastStartLoc:y}=_,k=a(5,x,y);return k.index=parseInt(S,10),C.nextToken(),s(k,C.currentOffset(),C.currentPosition()),k}function u(C,S,_){const x=C.context(),{lastOffset:y,lastStartLoc:k}=x,P=a(4,y,k);return P.key=S,_===!0&&(P.modulo=!0),C.nextToken(),s(P,C.currentOffset(),C.currentPosition()),P}function d(C,S){const _=C.context(),{lastOffset:x,lastStartLoc:y}=_,k=a(9,x,y);return k.value=S.replace(pE,mE),C.nextToken(),s(k,C.currentOffset(),C.currentPosition()),k}function f(C){const S=C.nextToken(),_=C.context(),{lastOffset:x,lastStartLoc:y}=_,k=a(8,x,y);return S.type!==12?(r(C,dt.UNEXPECTED_EMPTY_LINKED_MODIFIER,_.lastStartLoc,0),k.value="",s(k,x,y),{nextConsumeToken:S,node:k}):(S.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,vo(S)),k.value=S.value||"",s(k,C.currentOffset(),C.currentPosition()),{node:k})}function p(C,S){const _=C.context(),x=a(7,_.offset,_.startLoc);return x.value=S,s(x,C.currentOffset(),C.currentPosition()),x}function h(C){const S=C.context(),_=a(6,S.offset,S.startLoc);let x=C.nextToken();if(x.type===9){const y=f(C);_.modifier=y.node,x=y.nextConsumeToken||C.nextToken()}switch(x.type!==10&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,vo(x)),x=C.nextToken(),x.type===2&&(x=C.nextToken()),x.type){case 11:x.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,vo(x)),_.key=p(C,x.value||"");break;case 5:x.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,vo(x)),_.key=u(C,x.value||"");break;case 6:x.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,vo(x)),_.key=c(C,x.value||"");break;case 7:x.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,vo(x)),_.key=d(C,x.value||"");break;default:{r(C,dt.UNEXPECTED_EMPTY_LINKED_KEY,S.lastStartLoc,0);const y=C.context(),k=a(7,y.offset,y.startLoc);return k.value="",s(k,y.offset,y.startLoc),_.key=k,s(_,y.offset,y.startLoc),{nextConsumeToken:x,node:_}}}return s(_,C.currentOffset(),C.currentPosition()),{node:_}}function m(C){const S=C.context(),_=S.currentType===1?C.currentOffset():S.offset,x=S.currentType===1?S.endLoc:S.startLoc,y=a(2,_,x);y.items=[];let k=null,P=null;do{const R=k||C.nextToken();switch(k=null,R.type){case 0:R.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,vo(R)),y.items.push(l(C,R.value||""));break;case 6:R.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,vo(R)),y.items.push(c(C,R.value||""));break;case 4:P=!0;break;case 5:R.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,vo(R)),y.items.push(u(C,R.value||"",!!P)),P&&(i(C,pp.USE_MODULO_SYNTAX,S.lastStartLoc,0,vo(R)),P=null);break;case 7:R.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,vo(R)),y.items.push(d(C,R.value||""));break;case 8:{const K=h(C);y.items.push(K.node),k=K.nextConsumeToken||null;break}}}while(S.currentType!==14&&S.currentType!==1);const T=S.currentType===1?S.lastOffset:C.currentOffset(),$=S.currentType===1?S.lastEndLoc:C.currentPosition();return s(y,T,$),y}function v(C,S,_,x){const y=C.context();let k=x.items.length===0;const P=a(1,S,_);P.cases=[],P.cases.push(x);do{const T=m(C);k||(k=T.items.length===0),P.cases.push(T)}while(y.currentType!==14);return k&&r(C,dt.MUST_HAVE_MESSAGES_IN_PLURAL,_,0),s(P,C.currentOffset(),C.currentPosition()),P}function b(C){const S=C.context(),{offset:_,startLoc:x}=S,y=m(C);return S.currentType===14?y:v(C,_,x,y)}function w(C){const S=fE(C,Xx({},e)),_=S.context(),x=a(0,_.offset,_.startLoc);return t&&x.loc&&(x.loc.source=C),x.body=b(S),e.onCacheKey&&(x.cacheKey=e.onCacheKey(C)),_.currentType!==14&&r(S,dt.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,C[_.offset]||""),s(x,S.currentOffset(),S.currentPosition()),x}return{parse:w}}function vo(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function vE(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function sv(e,t){for(let n=0;nlv(n)),e}function lv(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;ns;function c(v,b){s.code+=v}function u(v,b=!0){const w=b?r:"";c(i?w+" ".repeat(v):w)}function d(v=!0){const b=++s.indentLevel;v&&u(b)}function f(v=!0){const b=--s.indentLevel;v&&u(b)}function p(){u(s.indentLevel)}return{context:l,push:c,indent:d,deindent:f,newline:p,helper:v=>`_${v}`,needIndent:()=>s.needIndent}}function _E(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),xa(e,t.key),t.modifier?(e.push(", "),xa(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function SE(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const r=t.items.length;for(let i=0;i1){e.push(`${n("plural")}([`),e.indent(o());const r=t.cases.length;for(let i=0;i{const n=iv(t.mode)?t.mode:"normal",o=iv(t.filename)?t.filename:"message.intl",r=!!t.sourceMap,i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` -`,a=t.needIndent?t.needIndent:n!=="arrow",s=e.helpers||[],l=wE(e,{mode:n,filename:o,sourceMap:r,breakLineCode:i,needIndent:a});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(a),s.length>0&&(l.push(`const { ${Zx(s.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),xa(l,e),l.deindent(a),l.push("}"),delete e.helpers;const{code:c,map:u}=l.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function RE(e,t={}){const n=Xx({},t),o=!!n.jit,r=!!n.minify,i=n.optimize==null?!0:n.optimize,s=gE(n).parse(e);return o?(i&&yE(s),r&&oa(s),{ast:s,code:""}):(bE(s,n),TE(s,n))}/*! - * core-base v9.12.1 + */function DE(e,t,n){return{line:e,column:t,offset:n}}function kc(e,t,n){const o={start:e,end:t};return n!=null&&(o.source=n),o}const LE=/\{([0-9a-zA-Z]+)\}/g;function wC(e,...t){return t.length===1&&FE(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(LE,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const _C=Object.assign,wv=e=>typeof e=="string",FE=e=>e!==null&&typeof e=="object";function SC(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}const Rp={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},BE={[Rp.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function NE(e,t,...n){const o=wC(BE[e]||"",...n||[]),r={message:String(o),code:e};return t&&(r.location=t),r}const dt={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},HE={[dt.EXPECTED_TOKEN]:"Expected token: '{0}'",[dt.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[dt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[dt.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[dt.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[dt.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[dt.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[dt.EMPTY_PLACEHOLDER]:"Empty placeholder",[dt.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[dt.INVALID_LINKED_FORMAT]:"Invalid linked format",[dt.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[dt.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[dt.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[dt.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[dt.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[dt.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Ba(e,t,n={}){const{domain:o,messages:r,args:i}=n,a=wC((r||HE)[e]||"",...i||[]),s=new SyntaxError(String(a));return s.code=e,t&&(s.location=t),s.domain=o,s}function jE(e){throw e}const Qo=" ",VE="\r",On=` +`,WE=String.fromCharCode(8232),UE=String.fromCharCode(8233);function qE(e){const t=e;let n=0,o=1,r=1,i=0;const a=y=>t[y]===VE&&t[y+1]===On,s=y=>t[y]===On,l=y=>t[y]===UE,c=y=>t[y]===WE,u=y=>a(y)||s(y)||l(y)||c(y),d=()=>n,f=()=>o,h=()=>r,p=()=>i,g=y=>a(y)||l(y)||c(y)?On:t[y],m=()=>g(n),b=()=>g(n+i);function _(){return i=0,u(n)&&(o++,r=0),a(n)&&n++,n++,r++,t[n]}function C(){return a(n+i)&&i++,i++,t[n+i]}function S(){n=0,o=1,r=1,i=0}function w(y=0){i=y}function x(){const y=n+i;for(;y!==n;)_();i=0}return{index:d,line:f,column:h,peekOffset:p,charAt:g,currentChar:m,currentPeek:b,next:_,peek:C,reset:S,resetPeek:w,skipToPeek:x}}const kr=void 0,KE=".",_v="'",GE="tokenizer";function YE(e,t={}){const n=t.location!==!1,o=qE(e),r=()=>o.index(),i=()=>DE(o.line(),o.column(),o.index()),a=i(),s=r(),l={currentType:14,offset:s,startLoc:a,endLoc:a,lastType:14,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(I,j,ee,...Ce){const ce=c();if(j.column+=ee,j.offset+=ee,u){const le=n?kc(ce.startLoc,j):null,re=Ba(I,le,{domain:GE,args:Ce});u(re)}}function f(I,j,ee){I.endLoc=i(),I.currentType=j;const Ce={type:j};return n&&(Ce.loc=kc(I.startLoc,I.endLoc)),ee!=null&&(Ce.value=ee),Ce}const h=I=>f(I,14);function p(I,j){return I.currentChar()===j?(I.next(),j):(d(dt.EXPECTED_TOKEN,i(),0,j),"")}function g(I){let j="";for(;I.currentPeek()===Qo||I.currentPeek()===On;)j+=I.currentPeek(),I.peek();return j}function m(I){const j=g(I);return I.skipToPeek(),j}function b(I){if(I===kr)return!1;const j=I.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j===95}function _(I){if(I===kr)return!1;const j=I.charCodeAt(0);return j>=48&&j<=57}function C(I,j){const{currentType:ee}=j;if(ee!==2)return!1;g(I);const Ce=b(I.currentPeek());return I.resetPeek(),Ce}function S(I,j){const{currentType:ee}=j;if(ee!==2)return!1;g(I);const Ce=I.currentPeek()==="-"?I.peek():I.currentPeek(),ce=_(Ce);return I.resetPeek(),ce}function w(I,j){const{currentType:ee}=j;if(ee!==2)return!1;g(I);const Ce=I.currentPeek()===_v;return I.resetPeek(),Ce}function x(I,j){const{currentType:ee}=j;if(ee!==8)return!1;g(I);const Ce=I.currentPeek()===".";return I.resetPeek(),Ce}function y(I,j){const{currentType:ee}=j;if(ee!==9)return!1;g(I);const Ce=b(I.currentPeek());return I.resetPeek(),Ce}function P(I,j){const{currentType:ee}=j;if(!(ee===8||ee===12))return!1;g(I);const Ce=I.currentPeek()===":";return I.resetPeek(),Ce}function k(I,j){const{currentType:ee}=j;if(ee!==10)return!1;const Ce=()=>{const le=I.currentPeek();return le==="{"?b(I.peek()):le==="@"||le==="%"||le==="|"||le===":"||le==="."||le===Qo||!le?!1:le===On?(I.peek(),Ce()):R(I,!1)},ce=Ce();return I.resetPeek(),ce}function T(I){g(I);const j=I.currentPeek()==="|";return I.resetPeek(),j}function E(I){const j=g(I),ee=I.currentPeek()==="%"&&I.peek()==="{";return I.resetPeek(),{isModulo:ee,hasSpace:j.length>0}}function R(I,j=!0){const ee=(ce=!1,le="",re=!1)=>{const de=I.currentPeek();return de==="{"?le==="%"?!1:ce:de==="@"||!de?le==="%"?!0:ce:de==="%"?(I.peek(),ee(ce,"%",!0)):de==="|"?le==="%"||re?!0:!(le===Qo||le===On):de===Qo?(I.peek(),ee(!0,Qo,re)):de===On?(I.peek(),ee(!0,On,re)):!0},Ce=ee();return j&&I.resetPeek(),Ce}function K(I,j){const ee=I.currentChar();return ee===kr?kr:j(ee)?(I.next(),ee):null}function N(I){const j=I.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j>=48&&j<=57||j===95||j===36}function D(I){return K(I,N)}function M(I){const j=I.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j>=48&&j<=57||j===95||j===36||j===45}function G(I){return K(I,M)}function J(I){const j=I.charCodeAt(0);return j>=48&&j<=57}function he(I){return K(I,J)}function pe(I){const j=I.charCodeAt(0);return j>=48&&j<=57||j>=65&&j<=70||j>=97&&j<=102}function B(I){return K(I,pe)}function $(I){let j="",ee="";for(;j=he(I);)ee+=j;return ee}function A(I){m(I);const j=I.currentChar();return j!=="%"&&d(dt.EXPECTED_TOKEN,i(),0,j),I.next(),"%"}function Y(I){let j="";for(;;){const ee=I.currentChar();if(ee==="{"||ee==="}"||ee==="@"||ee==="|"||!ee)break;if(ee==="%")if(R(I))j+=ee,I.next();else break;else if(ee===Qo||ee===On)if(R(I))j+=ee,I.next();else{if(T(I))break;j+=ee,I.next()}else j+=ee,I.next()}return j}function ne(I){m(I);let j="",ee="";for(;j=G(I);)ee+=j;return I.currentChar()===kr&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),ee}function fe(I){m(I);let j="";return I.currentChar()==="-"?(I.next(),j+=`-${$(I)}`):j+=$(I),I.currentChar()===kr&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),j}function Q(I){return I!==_v&&I!==On}function xe(I){m(I),p(I,"'");let j="",ee="";for(;j=K(I,Q);)j==="\\"?ee+=H(I):ee+=j;const Ce=I.currentChar();return Ce===On||Ce===kr?(d(dt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),Ce===On&&(I.next(),p(I,"'")),ee):(p(I,"'"),ee)}function H(I){const j=I.currentChar();switch(j){case"\\":case"'":return I.next(),`\\${j}`;case"u":return ye(I,j,4);case"U":return ye(I,j,6);default:return d(dt.UNKNOWN_ESCAPE_SEQUENCE,i(),0,j),""}}function ye(I,j,ee){p(I,j);let Ce="";for(let ce=0;ce{const Ce=I.currentChar();return Ce==="{"||Ce==="%"||Ce==="@"||Ce==="|"||Ce==="("||Ce===")"||!Ce||Ce===Qo?ee:(ee+=Ce,I.next(),j(ee))};return j("")}function oe(I){m(I);const j=p(I,"|");return m(I),j}function _e(I,j){let ee=null;switch(I.currentChar()){case"{":return j.braceNest>=1&&d(dt.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),I.next(),ee=f(j,2,"{"),m(I),j.braceNest++,ee;case"}":return j.braceNest>0&&j.currentType===2&&d(dt.EMPTY_PLACEHOLDER,i(),0),I.next(),ee=f(j,3,"}"),j.braceNest--,j.braceNest>0&&m(I),j.inLinked&&j.braceNest===0&&(j.inLinked=!1),ee;case"@":return j.braceNest>0&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),ee=te(I,j)||h(j),j.braceNest=0,ee;default:{let ce=!0,le=!0,re=!0;if(T(I))return j.braceNest>0&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),ee=f(j,1,oe(I)),j.braceNest=0,j.inLinked=!1,ee;if(j.braceNest>0&&(j.currentType===5||j.currentType===6||j.currentType===7))return d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),j.braceNest=0,ge(I,j);if(ce=C(I,j))return ee=f(j,5,ne(I)),m(I),ee;if(le=S(I,j))return ee=f(j,6,fe(I)),m(I),ee;if(re=w(I,j))return ee=f(j,7,xe(I)),m(I),ee;if(!ce&&!le&&!re)return ee=f(j,13,Ne(I)),d(dt.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,ee.value),m(I),ee;break}}return ee}function te(I,j){const{currentType:ee}=j;let Ce=null;const ce=I.currentChar();switch((ee===8||ee===9||ee===12||ee===10)&&(ce===On||ce===Qo)&&d(dt.INVALID_LINKED_FORMAT,i(),0),ce){case"@":return I.next(),Ce=f(j,8,"@"),j.inLinked=!0,Ce;case".":return m(I),I.next(),f(j,9,".");case":":return m(I),I.next(),f(j,10,":");default:return T(I)?(Ce=f(j,1,oe(I)),j.braceNest=0,j.inLinked=!1,Ce):x(I,j)||P(I,j)?(m(I),te(I,j)):y(I,j)?(m(I),f(j,12,L(I))):k(I,j)?(m(I),ce==="{"?_e(I,j)||Ce:f(j,11,O(I))):(ee===8&&d(dt.INVALID_LINKED_FORMAT,i(),0),j.braceNest=0,j.inLinked=!1,ge(I,j))}}function ge(I,j){let ee={type:14};if(j.braceNest>0)return _e(I,j)||h(j);if(j.inLinked)return te(I,j)||h(j);switch(I.currentChar()){case"{":return _e(I,j)||h(j);case"}":return d(dt.UNBALANCED_CLOSING_BRACE,i(),0),I.next(),f(j,3,"}");case"@":return te(I,j)||h(j);default:{if(T(I))return ee=f(j,1,oe(I)),j.braceNest=0,j.inLinked=!1,ee;const{isModulo:ce,hasSpace:le}=E(I);if(ce)return le?f(j,0,Y(I)):f(j,4,A(I));if(R(I))return f(j,0,Y(I));break}}return ee}function ke(){const{currentType:I,offset:j,startLoc:ee,endLoc:Ce}=l;return l.lastType=I,l.lastOffset=j,l.lastStartLoc=ee,l.lastEndLoc=Ce,l.offset=r(),l.startLoc=i(),o.currentChar()===kr?f(l,14):ge(o,l)}return{nextToken:ke,currentOffset:r,currentPosition:i,context:c}}const XE="parser",ZE=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function JE(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function QE(e={}){const t=e.location!==!1,{onError:n,onWarn:o}=e;function r(C,S,w,x,...y){const P=C.currentPosition();if(P.offset+=x,P.column+=x,n){const k=t?kc(w,P):null,T=Ba(S,k,{domain:XE,args:y});n(T)}}function i(C,S,w,x,...y){const P=C.currentPosition();if(P.offset+=x,P.column+=x,o){const k=t?kc(w,P):null;o(NE(S,k,y))}}function a(C,S,w){const x={type:C};return t&&(x.start=S,x.end=S,x.loc={start:w,end:w}),x}function s(C,S,w,x){x&&(C.type=x),t&&(C.end=S,C.loc&&(C.loc.end=w))}function l(C,S){const w=C.context(),x=a(3,w.offset,w.startLoc);return x.value=S,s(x,C.currentOffset(),C.currentPosition()),x}function c(C,S){const w=C.context(),{lastOffset:x,lastStartLoc:y}=w,P=a(5,x,y);return P.index=parseInt(S,10),C.nextToken(),s(P,C.currentOffset(),C.currentPosition()),P}function u(C,S,w){const x=C.context(),{lastOffset:y,lastStartLoc:P}=x,k=a(4,y,P);return k.key=S,w===!0&&(k.modulo=!0),C.nextToken(),s(k,C.currentOffset(),C.currentPosition()),k}function d(C,S){const w=C.context(),{lastOffset:x,lastStartLoc:y}=w,P=a(9,x,y);return P.value=S.replace(ZE,JE),C.nextToken(),s(P,C.currentOffset(),C.currentPosition()),P}function f(C){const S=C.nextToken(),w=C.context(),{lastOffset:x,lastStartLoc:y}=w,P=a(8,x,y);return S.type!==12?(r(C,dt.UNEXPECTED_EMPTY_LINKED_MODIFIER,w.lastStartLoc,0),P.value="",s(P,x,y),{nextConsumeToken:S,node:P}):(S.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Co(S)),P.value=S.value||"",s(P,C.currentOffset(),C.currentPosition()),{node:P})}function h(C,S){const w=C.context(),x=a(7,w.offset,w.startLoc);return x.value=S,s(x,C.currentOffset(),C.currentPosition()),x}function p(C){const S=C.context(),w=a(6,S.offset,S.startLoc);let x=C.nextToken();if(x.type===9){const y=f(C);w.modifier=y.node,x=y.nextConsumeToken||C.nextToken()}switch(x.type!==10&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Co(x)),x=C.nextToken(),x.type===2&&(x=C.nextToken()),x.type){case 11:x.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Co(x)),w.key=h(C,x.value||"");break;case 5:x.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Co(x)),w.key=u(C,x.value||"");break;case 6:x.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Co(x)),w.key=c(C,x.value||"");break;case 7:x.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Co(x)),w.key=d(C,x.value||"");break;default:{r(C,dt.UNEXPECTED_EMPTY_LINKED_KEY,S.lastStartLoc,0);const y=C.context(),P=a(7,y.offset,y.startLoc);return P.value="",s(P,y.offset,y.startLoc),w.key=P,s(w,y.offset,y.startLoc),{nextConsumeToken:x,node:w}}}return s(w,C.currentOffset(),C.currentPosition()),{node:w}}function g(C){const S=C.context(),w=S.currentType===1?C.currentOffset():S.offset,x=S.currentType===1?S.endLoc:S.startLoc,y=a(2,w,x);y.items=[];let P=null,k=null;do{const R=P||C.nextToken();switch(P=null,R.type){case 0:R.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Co(R)),y.items.push(l(C,R.value||""));break;case 6:R.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Co(R)),y.items.push(c(C,R.value||""));break;case 4:k=!0;break;case 5:R.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Co(R)),y.items.push(u(C,R.value||"",!!k)),k&&(i(C,Rp.USE_MODULO_SYNTAX,S.lastStartLoc,0,Co(R)),k=null);break;case 7:R.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Co(R)),y.items.push(d(C,R.value||""));break;case 8:{const K=p(C);y.items.push(K.node),P=K.nextConsumeToken||null;break}}}while(S.currentType!==14&&S.currentType!==1);const T=S.currentType===1?S.lastOffset:C.currentOffset(),E=S.currentType===1?S.lastEndLoc:C.currentPosition();return s(y,T,E),y}function m(C,S,w,x){const y=C.context();let P=x.items.length===0;const k=a(1,S,w);k.cases=[],k.cases.push(x);do{const T=g(C);P||(P=T.items.length===0),k.cases.push(T)}while(y.currentType!==14);return P&&r(C,dt.MUST_HAVE_MESSAGES_IN_PLURAL,w,0),s(k,C.currentOffset(),C.currentPosition()),k}function b(C){const S=C.context(),{offset:w,startLoc:x}=S,y=g(C);return S.currentType===14?y:m(C,w,x,y)}function _(C){const S=YE(C,_C({},e)),w=S.context(),x=a(0,w.offset,w.startLoc);return t&&x.loc&&(x.loc.source=C),x.body=b(S),e.onCacheKey&&(x.cacheKey=e.onCacheKey(C)),w.currentType!==14&&r(S,dt.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,C[w.offset]||""),s(x,S.currentOffset(),S.currentPosition()),x}return{parse:_}}function Co(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function e$(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function Sv(e,t){for(let n=0;nkv(n)),e}function kv(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;ns;function c(m,b){s.code+=m}function u(m,b=!0){const _=b?r:"";c(i?_+" ".repeat(m):_)}function d(m=!0){const b=++s.indentLevel;m&&u(b)}function f(m=!0){const b=--s.indentLevel;m&&u(b)}function h(){u(s.indentLevel)}return{context:l,push:c,indent:d,deindent:f,newline:h,helper:m=>`_${m}`,needIndent:()=>s.needIndent}}function a$(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ka(e,t.key),t.modifier?(e.push(", "),ka(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function s$(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const r=t.items.length;for(let i=0;i1){e.push(`${n("plural")}([`),e.indent(o());const r=t.cases.length;for(let i=0;i{const n=wv(t.mode)?t.mode:"normal",o=wv(t.filename)?t.filename:"message.intl",r=!!t.sourceMap,i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` +`,a=t.needIndent?t.needIndent:n!=="arrow",s=e.helpers||[],l=i$(e,{mode:n,filename:o,sourceMap:r,breakLineCode:i,needIndent:a});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(a),s.length>0&&(l.push(`const { ${SC(s.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),ka(l,e),l.deindent(a),l.push("}"),delete e.helpers;const{code:c,map:u}=l.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function d$(e,t={}){const n=_C({},t),o=!!n.jit,r=!!n.minify,i=n.optimize==null?!0:n.optimize,s=QE(n).parse(e);return o?(i&&n$(s),r&&la(s),{ast:s,code:""}):(t$(s,n),u$(s,n))}/*! + * core-base v9.14.0 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */function EE(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(nr().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(nr().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(nr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Kr=[];Kr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Kr[1]={w:[1],".":[2],"[":[4],o:[7]};Kr[2]={w:[2],i:[3,0],0:[3,0]};Kr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Kr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Kr[5]={"'":[4,0],o:8,l:[5,0]};Kr[6]={'"':[4,0],o:8,l:[6,0]};const $E=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function AE(e){return $E.test(e)}function IE(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function OE(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function ME(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:AE(t)?IE(t):"*"+t}function zE(e){const t=[];let n=-1,o=0,r=0,i,a,s,l,c,u,d;const f=[];f[0]=()=>{a===void 0?a=s:a+=s},f[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},f[2]=()=>{f[0](),r++},f[3]=()=>{if(r>0)r--,o=4,f[0]();else{if(r=0,a===void 0||(a=ME(a),a===!1))return!1;f[1]()}};function p(){const h=e[n+1];if(o===5&&h==="'"||o===6&&h==='"')return n++,s="\\"+h,f[0](),!0}for(;o!==null;)if(n++,i=e[n],!(i==="\\"&&p())){if(l=OE(i),d=Kr[o],c=d[l]||d.l||8,c===8||(o=c[0],c[1]!==void 0&&(u=f[c[1]],u&&(s=i,u()===!1))))return;if(o===7)return t}}const cv=new Map;function DE(e,t){return Nt(e)?e[t]:null}function LE(e,t){if(!Nt(e))return null;let n=cv.get(t);if(n||(n=zE(t),n&&cv.set(t,n)),!n)return null;const o=n.length;let r=e,i=0;for(;ie,BE=e=>"",NE="text",HE=e=>e.length===0?"":ZR(e),jE=XR;function uv(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function VE(e){const t=xn(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(xn(e.named.count)||xn(e.named.n))?xn(e.named.count)?e.named.count:xn(e.named.n)?e.named.n:t:t}function WE(e,t){t.count||(t.count=e),t.n||(t.n=e)}function UE(e={}){const t=e.locale,n=VE(e),o=Nt(e.pluralRules)&&Ge(t)&&Yt(e.pluralRules[t])?e.pluralRules[t]:uv,r=Nt(e.pluralRules)&&Ge(t)&&Yt(e.pluralRules[t])?uv:void 0,i=b=>b[o(n,b.length,r)],a=e.list||[],s=b=>a[b],l=e.named||{};xn(e.pluralIndex)&&WE(n,l);const c=b=>l[b];function u(b){const w=Yt(e.messages)?e.messages(b):Nt(e.messages)?e.messages[b]:!1;return w||(e.parent?e.parent.message(b):BE)}const d=b=>e.modifiers?e.modifiers[b]:FE,f=mt(e.processor)&&Yt(e.processor.normalize)?e.processor.normalize:HE,p=mt(e.processor)&&Yt(e.processor.interpolate)?e.processor.interpolate:jE,h=mt(e.processor)&&Ge(e.processor.type)?e.processor.type:NE,v={list:s,named:c,plural:i,linked:(b,...w)=>{const[C,S]=w;let _="text",x="";w.length===1?Nt(C)?(x=C.modifier||x,_=C.type||_):Ge(C)&&(x=C||x):w.length===2&&(Ge(C)&&(x=C||x),Ge(S)&&(_=S||_));const y=u(b)(v),k=_==="vnode"&&nn(y)&&x?y[0]:y;return x?d(x)(k,_):k},message:u,type:h,interpolate:p,normalize:f,values:kn({},a,l)};return v}let Hs=null;function qE(e){Hs=e}function KE(e,t,n){Hs&&Hs.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const GE=YE("function:translate");function YE(e){return t=>Hs&&Hs.emit(e,t)}const Jx=pp.__EXTEND_POINT__,ri=hu(Jx),XE={NOT_FOUND_KEY:Jx,FALLBACK_TO_TRANSLATE:ri(),CANNOT_FORMAT_NUMBER:ri(),FALLBACK_TO_NUMBER_FORMAT:ri(),CANNOT_FORMAT_DATE:ri(),FALLBACK_TO_DATE_FORMAT:ri(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:ri(),__EXTEND_POINT__:ri()},Qx=dt.__EXTEND_POINT__,ii=hu(Qx),xo={INVALID_ARGUMENT:Qx,INVALID_DATE_ARGUMENT:ii(),INVALID_ISO_DATE_ARGUMENT:ii(),NOT_SUPPORT_NON_STRING_MESSAGE:ii(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:ii(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:ii(),NOT_SUPPORT_LOCALE_TYPE:ii(),__EXTEND_POINT__:ii()};function Do(e){return Oa(e,null,void 0)}function gp(e,t){return t.locale!=null?dv(t.locale):dv(e.locale)}let _d;function dv(e){if(Ge(e))return e;if(Yt(e)){if(e.resolvedOnce&&_d!=null)return _d;if(e.constructor.name==="Function"){const t=e();if(YR(t))throw Do(xo.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _d=t}else throw Do(xo.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Do(xo.NOT_SUPPORT_LOCALE_TYPE)}function ZE(e,t,n){return[...new Set([n,...nn(t)?t:Nt(t)?Object.keys(t):Ge(t)?[t]:[n]])]}function eC(e,t,n){const o=Ge(n)?n:Ca,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let i=r.__localeChainCache.get(o);if(!i){i=[];let a=[n];for(;nn(a);)a=fv(i,a,t);const s=nn(t)||!mt(t)?t:t.default?t.default:null;a=Ge(s)?[s]:s,nn(a)&&fv(i,a,!1),r.__localeChainCache.set(o,i)}return i}function fv(e,t,n){let o=!0;for(let r=0;r`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function t$(){return{upper:(e,t)=>t==="text"&&Ge(e)?e.toUpperCase():t==="vnode"&&Nt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Ge(e)?e.toLowerCase():t==="vnode"&&Nt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Ge(e)?pv(e):t==="vnode"&&Nt(e)&&"__v_isVNode"in e?pv(e.children):e}}let tC;function mv(e){tC=e}let nC;function n$(e){nC=e}let oC;function o$(e){oC=e}let rC=null;const r$=e=>{rC=e},i$=()=>rC;let iC=null;const gv=e=>{iC=e},a$=()=>iC;let vv=0;function s$(e={}){const t=Yt(e.onWarn)?e.onWarn:JR,n=Ge(e.version)?e.version:e$,o=Ge(e.locale)||Yt(e.locale)?e.locale:Ca,r=Yt(o)?Ca:o,i=nn(e.fallbackLocale)||mt(e.fallbackLocale)||Ge(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,a=mt(e.messages)?e.messages:{[r]:{}},s=mt(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},l=mt(e.numberFormats)?e.numberFormats:{[r]:{}},c=kn({},e.modifiers||{},t$()),u=e.pluralRules||{},d=Yt(e.missing)?e.missing:null,f=_t(e.missingWarn)||Br(e.missingWarn)?e.missingWarn:!0,p=_t(e.fallbackWarn)||Br(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,m=!!e.unresolving,v=Yt(e.postTranslation)?e.postTranslation:null,b=mt(e.processor)?e.processor:null,w=_t(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter,S=Yt(e.messageCompiler)?e.messageCompiler:tC,_=Yt(e.messageResolver)?e.messageResolver:nC||DE,x=Yt(e.localeFallbacker)?e.localeFallbacker:oC||ZE,y=Nt(e.fallbackContext)?e.fallbackContext:void 0,k=e,P=Nt(k.__datetimeFormatters)?k.__datetimeFormatters:new Map,T=Nt(k.__numberFormatters)?k.__numberFormatters:new Map,$=Nt(k.__meta)?k.__meta:{};vv++;const R={version:n,cid:vv,locale:o,fallbackLocale:i,messages:a,modifiers:c,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:m,postTranslation:v,processor:b,warnHtmlMessage:w,escapeParameter:C,messageCompiler:S,messageResolver:_,localeFallbacker:x,fallbackContext:y,onWarn:t,__meta:$};return R.datetimeFormats=s,R.numberFormats=l,R.__datetimeFormatters=P,R.__numberFormatters=T,__INTLIFY_PROD_DEVTOOLS__&&KE(R,n,$),R}function vp(e,t,n,o,r){const{missing:i,onWarn:a}=e;if(i!==null){const s=i(e,n,t,r);return Ge(s)?s:t}else return t}function es(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Sd(e){return n=>l$(n,e)}function l$(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const o=n,r=o.c||o.cases;return e.plural(r.reduce((i,a)=>[...i,bv(e,a)],[]))}else return bv(e,n)}function bv(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const o=(t.i||t.items).reduce((r,i)=>[...r,Bf(e,i)],[]);return e.normalize(o)}}function Bf(e,t){const n=t.t||t.type;switch(n){case 3:{const o=t;return o.v||o.value}case 9:{const o=t;return o.v||o.value}case 4:{const o=t;return e.interpolate(e.named(o.k||o.key))}case 5:{const o=t;return e.interpolate(e.list(o.i!=null?o.i:o.index))}case 6:{const o=t,r=o.m||o.modifier;return e.linked(Bf(e,o.k||o.key),r?Bf(e,r):void 0,e.type)}case 7:{const o=t;return o.v||o.value}case 8:{const o=t;return o.v||o.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const aC=e=>e;let ia=Object.create(null);const wa=e=>Nt(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function sC(e,t={}){let n=!1;const o=t.onError||iE;return t.onError=r=>{n=!0,o(r)},{...RE(e,t),detectError:n}}const c$=(e,t)=>{if(!Ge(e))throw Do(xo.NOT_SUPPORT_NON_STRING_MESSAGE);{_t(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||aC)(e),r=ia[o];if(r)return r;const{code:i,detectError:a}=sC(e,t),s=new Function(`return ${i}`)();return a?s:ia[o]=s}};function u$(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&Ge(e)){_t(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||aC)(e),r=ia[o];if(r)return r;const{ast:i,detectError:a}=sC(e,{...t,location:!1,jit:!0}),s=Sd(i);return a?s:ia[o]=s}else{const n=e.cacheKey;if(n){const o=ia[n];return o||(ia[n]=Sd(e))}else return Sd(e)}}const yv=()=>"",no=e=>Yt(e);function xv(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,messageCompiler:i,fallbackLocale:a,messages:s}=e,[l,c]=Nf(...t),u=_t(c.missingWarn)?c.missingWarn:e.missingWarn,d=_t(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=_t(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=Ge(c.default)||_t(c.default)?_t(c.default)?i?l:()=>l:c.default:n?i?l:()=>l:"",m=n||h!=="",v=gp(e,c);f&&d$(c);let[b,w,C]=p?[l,v,s[v]||{}]:lC(e,l,v,a,d,u),S=b,_=l;if(!p&&!(Ge(S)||wa(S)||no(S))&&m&&(S=h,_=S),!p&&(!(Ge(S)||wa(S)||no(S))||!Ge(w)))return r?pu:l;let x=!1;const y=()=>{x=!0},k=no(S)?S:cC(e,l,w,S,_,y);if(x)return S;const P=p$(e,w,C,c),T=UE(P),$=f$(e,k,T),R=o?o($,l):$;if(__INTLIFY_PROD_DEVTOOLS__){const K={timestamp:Date.now(),key:Ge(l)?l:no(S)?S.key:"",locale:w||(no(S)?S.locale:""),format:Ge(S)?S:no(S)?S.source:"",message:R};K.meta=kn({},e.__meta,i$()||{}),GE(K)}return R}function d$(e){nn(e.list)?e.list=e.list.map(t=>Ge(t)?rv(t):t):Nt(e.named)&&Object.keys(e.named).forEach(t=>{Ge(e.named[t])&&(e.named[t]=rv(e.named[t]))})}function lC(e,t,n,o,r,i){const{messages:a,onWarn:s,messageResolver:l,localeFallbacker:c}=e,u=c(e,o,n);let d={},f,p=null;const h="translate";for(let m=0;mo;return c.locale=n,c.key=t,c}const l=a(o,h$(e,n,r,o,s,i));return l.locale=n,l.key=t,l.source=o,l}function f$(e,t,n){return t(n)}function Nf(...e){const[t,n,o]=e,r={};if(!Ge(t)&&!xn(t)&&!no(t)&&!wa(t))throw Do(xo.INVALID_ARGUMENT);const i=xn(t)?String(t):(no(t),t);return xn(n)?r.plural=n:Ge(n)?r.default=n:mt(n)&&!fu(n)?r.named=n:nn(n)&&(r.list=n),xn(o)?r.plural=o:Ge(o)?r.default=o:mt(o)&&kn(r,o),[i,r]}function h$(e,t,n,o,r,i){return{locale:t,key:n,warnHtmlMessage:r,onError:a=>{throw i&&i(a),a},onCacheKey:a=>UR(t,n,a)}}function p$(e,t,n,o){const{modifiers:r,pluralRules:i,messageResolver:a,fallbackLocale:s,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,f={locale:t,modifiers:r,pluralRules:i,messages:p=>{let h=a(n,p);if(h==null&&u){const[,,m]=lC(u,p,t,s,l,c);h=a(m,p)}if(Ge(h)||wa(h)){let m=!1;const b=cC(e,p,t,h,p,()=>{m=!0});return m?yv:b}else return no(h)?h:yv}};return e.processor&&(f.processor=e.processor),o.list&&(f.list=o.list),o.named&&(f.named=o.named),xn(o.plural)&&(f.pluralIndex=o.plural),f}function Cv(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:s}=e,[l,c,u,d]=Hf(...t),f=_t(u.missingWarn)?u.missingWarn:e.missingWarn;_t(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=gp(e,u),m=a(e,r,h);if(!Ge(l)||l==="")return new Intl.DateTimeFormat(h,d).format(c);let v={},b,w=null;const C="datetime format";for(let x=0;x{uC.includes(l)?a[l]=n[l]:i[l]=n[l]}),Ge(o)?i.locale=o:mt(o)&&(a=o),mt(r)&&(a=r),[i.key||"",s,i,a]}function wv(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__datetimeFormatters.has(i)&&o.__datetimeFormatters.delete(i)}}function _v(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:s}=e,[l,c,u,d]=jf(...t),f=_t(u.missingWarn)?u.missingWarn:e.missingWarn;_t(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=gp(e,u),m=a(e,r,h);if(!Ge(l)||l==="")return new Intl.NumberFormat(h,d).format(c);let v={},b,w=null;const C="number format";for(let x=0;x{dC.includes(l)?a[l]=n[l]:i[l]=n[l]}),Ge(o)?i.locale=o:mt(o)&&(a=o),mt(r)&&(a=r),[i.key||"",s,i,a]}function Sv(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__numberFormatters.has(i)&&o.__numberFormatters.delete(i)}}EE();/*! - * vue-i18n v9.12.1 + */function f$(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ir().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(ir().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(ir().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Xr=[];Xr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Xr[1]={w:[1],".":[2],"[":[4],o:[7]};Xr[2]={w:[2],i:[3,0],0:[3,0]};Xr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Xr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Xr[5]={"'":[4,0],o:8,l:[5,0]};Xr[6]={'"':[4,0],o:8,l:[6,0]};const h$=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function p$(e){return h$.test(e)}function m$(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function g$(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function v$(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:p$(t)?m$(t):"*"+t}function b$(e){const t=[];let n=-1,o=0,r=0,i,a,s,l,c,u,d;const f=[];f[0]=()=>{a===void 0?a=s:a+=s},f[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},f[2]=()=>{f[0](),r++},f[3]=()=>{if(r>0)r--,o=4,f[0]();else{if(r=0,a===void 0||(a=v$(a),a===!1))return!1;f[1]()}};function h(){const p=e[n+1];if(o===5&&p==="'"||o===6&&p==='"')return n++,s="\\"+p,f[0](),!0}for(;o!==null;)if(n++,i=e[n],!(i==="\\"&&h())){if(l=g$(i),d=Xr[o],c=d[l]||d.l||8,c===8||(o=c[0],c[1]!==void 0&&(u=f[c[1]],u&&(s=i,u()===!1))))return;if(o===7)return t}}const Pv=new Map;function y$(e,t){return Nt(e)?e[t]:null}function x$(e,t){if(!Nt(e))return null;let n=Pv.get(t);if(n||(n=b$(t),n&&Pv.set(t,n)),!n)return null;const o=n.length;let r=e,i=0;for(;ie,w$=e=>"",_$="text",S$=e=>e.length===0?"":ME(e),k$=OE;function Tv(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function P$(e){const t=yn(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(yn(e.named.count)||yn(e.named.n))?yn(e.named.count)?e.named.count:yn(e.named.n)?e.named.n:t:t}function T$(e,t){t.count||(t.count=e),t.n||(t.n=e)}function R$(e={}){const t=e.locale,n=P$(e),o=Nt(e.pluralRules)&&Ye(t)&&Yt(e.pluralRules[t])?e.pluralRules[t]:Tv,r=Nt(e.pluralRules)&&Ye(t)&&Yt(e.pluralRules[t])?Tv:void 0,i=b=>b[o(n,b.length,r)],a=e.list||[],s=b=>a[b],l=e.named||{};yn(e.pluralIndex)&&T$(n,l);const c=b=>l[b];function u(b){const _=Yt(e.messages)?e.messages(b):Nt(e.messages)?e.messages[b]:!1;return _||(e.parent?e.parent.message(b):w$)}const d=b=>e.modifiers?e.modifiers[b]:C$,f=gt(e.processor)&&Yt(e.processor.normalize)?e.processor.normalize:S$,h=gt(e.processor)&&Yt(e.processor.interpolate)?e.processor.interpolate:k$,p=gt(e.processor)&&Ye(e.processor.type)?e.processor.type:_$,m={list:s,named:c,plural:i,linked:(b,..._)=>{const[C,S]=_;let w="text",x="";_.length===1?Nt(C)?(x=C.modifier||x,w=C.type||w):Ye(C)&&(x=C||x):_.length===2&&(Ye(C)&&(x=C||x),Ye(S)&&(w=S||w));const y=u(b)(m),P=w==="vnode"&&tn(y)&&x?y[0]:y;return x?d(x)(P,w):P},message:u,type:p,interpolate:h,normalize:f,values:Pn({},a,l)};return m}let Us=null;function E$(e){Us=e}function $$(e,t,n){Us&&Us.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const A$=I$("function:translate");function I$(e){return t=>Us&&Us.emit(e,t)}const kC=Rp.__EXTEND_POINT__,si=vu(kC),O$={NOT_FOUND_KEY:kC,FALLBACK_TO_TRANSLATE:si(),CANNOT_FORMAT_NUMBER:si(),FALLBACK_TO_NUMBER_FORMAT:si(),CANNOT_FORMAT_DATE:si(),FALLBACK_TO_DATE_FORMAT:si(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:si(),__EXTEND_POINT__:si()},PC=dt.__EXTEND_POINT__,li=vu(PC),So={INVALID_ARGUMENT:PC,INVALID_DATE_ARGUMENT:li(),INVALID_ISO_DATE_ARGUMENT:li(),NOT_SUPPORT_NON_STRING_MESSAGE:li(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:li(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:li(),NOT_SUPPORT_LOCALE_TYPE:li(),__EXTEND_POINT__:li()};function No(e){return Ba(e,null,void 0)}function $p(e,t){return t.locale!=null?Rv(t.locale):Rv(e.locale)}let Md;function Rv(e){if(Ye(e))return e;if(Yt(e)){if(e.resolvedOnce&&Md!=null)return Md;if(e.constructor.name==="Function"){const t=e();if(IE(t))throw No(So.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Md=t}else throw No(So.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw No(So.NOT_SUPPORT_LOCALE_TYPE)}function M$(e,t,n){return[...new Set([n,...tn(t)?t:Nt(t)?Object.keys(t):Ye(t)?[t]:[n]])]}function TC(e,t,n){const o=Ye(n)?n:Pa,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let i=r.__localeChainCache.get(o);if(!i){i=[];let a=[n];for(;tn(a);)a=Ev(i,a,t);const s=tn(t)||!gt(t)?t:t.default?t.default:null;a=Ye(s)?[s]:s,tn(a)&&Ev(i,a,!1),r.__localeChainCache.set(o,i)}return i}function Ev(e,t,n){let o=!0;for(let r=0;r`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function F$(){return{upper:(e,t)=>t==="text"&&Ye(e)?e.toUpperCase():t==="vnode"&&Nt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Ye(e)?e.toLowerCase():t==="vnode"&&Nt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Ye(e)?Av(e):t==="vnode"&&Nt(e)&&"__v_isVNode"in e?Av(e.children):e}}let RC;function Iv(e){RC=e}let EC;function B$(e){EC=e}let $C;function N$(e){$C=e}let AC=null;const H$=e=>{AC=e},j$=()=>AC;let IC=null;const Ov=e=>{IC=e},V$=()=>IC;let Mv=0;function W$(e={}){const t=Yt(e.onWarn)?e.onWarn:zE,n=Ye(e.version)?e.version:L$,o=Ye(e.locale)||Yt(e.locale)?e.locale:Pa,r=Yt(o)?Pa:o,i=tn(e.fallbackLocale)||gt(e.fallbackLocale)||Ye(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,a=gt(e.messages)?e.messages:{[r]:{}},s=gt(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},l=gt(e.numberFormats)?e.numberFormats:{[r]:{}},c=Pn({},e.modifiers||{},F$()),u=e.pluralRules||{},d=Yt(e.missing)?e.missing:null,f=St(e.missingWarn)||Nr(e.missingWarn)?e.missingWarn:!0,h=St(e.fallbackWarn)||Nr(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,g=!!e.unresolving,m=Yt(e.postTranslation)?e.postTranslation:null,b=gt(e.processor)?e.processor:null,_=St(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter,S=Yt(e.messageCompiler)?e.messageCompiler:RC,w=Yt(e.messageResolver)?e.messageResolver:EC||y$,x=Yt(e.localeFallbacker)?e.localeFallbacker:$C||M$,y=Nt(e.fallbackContext)?e.fallbackContext:void 0,P=e,k=Nt(P.__datetimeFormatters)?P.__datetimeFormatters:new Map,T=Nt(P.__numberFormatters)?P.__numberFormatters:new Map,E=Nt(P.__meta)?P.__meta:{};Mv++;const R={version:n,cid:Mv,locale:o,fallbackLocale:i,messages:a,modifiers:c,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:h,fallbackFormat:p,unresolving:g,postTranslation:m,processor:b,warnHtmlMessage:_,escapeParameter:C,messageCompiler:S,messageResolver:w,localeFallbacker:x,fallbackContext:y,onWarn:t,__meta:E};return R.datetimeFormats=s,R.numberFormats=l,R.__datetimeFormatters=k,R.__numberFormatters=T,__INTLIFY_PROD_DEVTOOLS__&&$$(R,n,E),R}function Ap(e,t,n,o,r){const{missing:i,onWarn:a}=e;if(i!==null){const s=i(e,n,t,r);return Ye(s)?s:t}else return t}function as(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function U$(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function q$(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let o=n+1;oK$(n,e)}function K$(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const o=n,r=o.c||o.cases;return e.plural(r.reduce((i,a)=>[...i,zv(e,a)],[]))}else return zv(e,n)}function zv(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const o=(t.i||t.items).reduce((r,i)=>[...r,Jf(e,i)],[]);return e.normalize(o)}}function Jf(e,t){const n=t.t||t.type;switch(n){case 3:{const o=t;return o.v||o.value}case 9:{const o=t;return o.v||o.value}case 4:{const o=t;return e.interpolate(e.named(o.k||o.key))}case 5:{const o=t;return e.interpolate(e.list(o.i!=null?o.i:o.index))}case 6:{const o=t,r=o.m||o.modifier;return e.linked(Jf(e,o.k||o.key),r?Jf(e,r):void 0,e.type)}case 7:{const o=t;return o.v||o.value}case 8:{const o=t;return o.v||o.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const OC=e=>e;let ua=Object.create(null);const Ta=e=>Nt(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function MC(e,t={}){let n=!1;const o=t.onError||jE;return t.onError=r=>{n=!0,o(r)},{...d$(e,t),detectError:n}}const G$=(e,t)=>{if(!Ye(e))throw No(So.NOT_SUPPORT_NON_STRING_MESSAGE);{St(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||OC)(e),r=ua[o];if(r)return r;const{code:i,detectError:a}=MC(e,t),s=new Function(`return ${i}`)();return a?s:ua[o]=s}};function Y$(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&Ye(e)){St(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||OC)(e),r=ua[o];if(r)return r;const{ast:i,detectError:a}=MC(e,{...t,location:!1,jit:!0}),s=zd(i);return a?s:ua[o]=s}else{const n=e.cacheKey;if(n){const o=ua[n];return o||(ua[n]=zd(e))}else return zd(e)}}const Dv=()=>"",io=e=>Yt(e);function Lv(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,messageCompiler:i,fallbackLocale:a,messages:s}=e,[l,c]=Qf(...t),u=St(c.missingWarn)?c.missingWarn:e.missingWarn,d=St(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=St(c.escapeParameter)?c.escapeParameter:e.escapeParameter,h=!!c.resolvedMessage,p=Ye(c.default)||St(c.default)?St(c.default)?i?l:()=>l:c.default:n?i?l:()=>l:"",g=n||p!=="",m=$p(e,c);f&&X$(c);let[b,_,C]=h?[l,m,s[m]||{}]:zC(e,l,m,a,d,u),S=b,w=l;if(!h&&!(Ye(S)||Ta(S)||io(S))&&g&&(S=p,w=S),!h&&(!(Ye(S)||Ta(S)||io(S))||!Ye(_)))return r?bu:l;let x=!1;const y=()=>{x=!0},P=io(S)?S:DC(e,l,_,S,w,y);if(x)return S;const k=Q$(e,_,C,c),T=R$(k),E=Z$(e,P,T),R=o?o(E,l):E;if(__INTLIFY_PROD_DEVTOOLS__){const K={timestamp:Date.now(),key:Ye(l)?l:io(S)?S.key:"",locale:_||(io(S)?S.locale:""),format:Ye(S)?S:io(S)?S.source:"",message:R};K.meta=Pn({},e.__meta,j$()||{}),A$(K)}return R}function X$(e){tn(e.list)?e.list=e.list.map(t=>Ye(t)?Cv(t):t):Nt(e.named)&&Object.keys(e.named).forEach(t=>{Ye(e.named[t])&&(e.named[t]=Cv(e.named[t]))})}function zC(e,t,n,o,r,i){const{messages:a,onWarn:s,messageResolver:l,localeFallbacker:c}=e,u=c(e,o,n);let d={},f,h=null;const p="translate";for(let g=0;go;return c.locale=n,c.key=t,c}const l=a(o,J$(e,n,r,o,s,i));return l.locale=n,l.key=t,l.source=o,l}function Z$(e,t,n){return t(n)}function Qf(...e){const[t,n,o]=e,r={};if(!Ye(t)&&!yn(t)&&!io(t)&&!Ta(t))throw No(So.INVALID_ARGUMENT);const i=yn(t)?String(t):(io(t),t);return yn(n)?r.plural=n:Ye(n)?r.default=n:gt(n)&&!gu(n)?r.named=n:tn(n)&&(r.list=n),yn(o)?r.plural=o:Ye(o)?r.default=o:gt(o)&&Pn(r,o),[i,r]}function J$(e,t,n,o,r,i){return{locale:t,key:n,warnHtmlMessage:r,onError:a=>{throw i&&i(a),a},onCacheKey:a=>RE(t,n,a)}}function Q$(e,t,n,o){const{modifiers:r,pluralRules:i,messageResolver:a,fallbackLocale:s,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,f={locale:t,modifiers:r,pluralRules:i,messages:h=>{let p=a(n,h);if(p==null&&u){const[,,g]=zC(u,h,t,s,l,c);p=a(g,h)}if(Ye(p)||Ta(p)){let g=!1;const b=DC(e,h,t,p,h,()=>{g=!0});return g?Dv:b}else return io(p)?p:Dv}};return e.processor&&(f.processor=e.processor),o.list&&(f.list=o.list),o.named&&(f.named=o.named),yn(o.plural)&&(f.pluralIndex=o.plural),f}function Fv(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:s}=e,[l,c,u,d]=eh(...t),f=St(u.missingWarn)?u.missingWarn:e.missingWarn;St(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const h=!!u.part,p=$p(e,u),g=a(e,r,p);if(!Ye(l)||l==="")return new Intl.DateTimeFormat(p,d).format(c);let m={},b,_=null;const C="datetime format";for(let x=0;x{LC.includes(l)?a[l]=n[l]:i[l]=n[l]}),Ye(o)?i.locale=o:gt(o)&&(a=o),gt(r)&&(a=r),[i.key||"",s,i,a]}function Bv(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__datetimeFormatters.has(i)&&o.__datetimeFormatters.delete(i)}}function Nv(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:s}=e,[l,c,u,d]=th(...t),f=St(u.missingWarn)?u.missingWarn:e.missingWarn;St(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const h=!!u.part,p=$p(e,u),g=a(e,r,p);if(!Ye(l)||l==="")return new Intl.NumberFormat(p,d).format(c);let m={},b,_=null;const C="number format";for(let x=0;x{FC.includes(l)?a[l]=n[l]:i[l]=n[l]}),Ye(o)?i.locale=o:gt(o)&&(a=o),gt(r)&&(a=r),[i.key||"",s,i,a]}function Hv(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__numberFormatters.has(i)&&o.__numberFormatters.delete(i)}}f$();/*! + * vue-i18n v9.14.0 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */const m$="9.12.1";function g$(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(nr().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(nr().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(nr().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(nr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(nr().__INTLIFY_PROD_DEVTOOLS__=!1)}const fC=XE.__EXTEND_POINT__,Jo=hu(fC);Jo(),Jo(),Jo(),Jo(),Jo(),Jo(),Jo(),Jo(),Jo();const hC=xo.__EXTEND_POINT__,Fn=hu(hC),Cn={UNEXPECTED_RETURN_TYPE:hC,INVALID_ARGUMENT:Fn(),MUST_BE_CALL_SETUP_TOP:Fn(),NOT_INSTALLED:Fn(),NOT_AVAILABLE_IN_LEGACY_MODE:Fn(),REQUIRED_VALUE:Fn(),INVALID_VALUE:Fn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Fn(),NOT_INSTALLED_WITH_PROVIDE:Fn(),UNEXPECTED_ERROR:Fn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Fn(),BRIDGE_SUPPORT_VUE_2_ONLY:Fn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Fn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Fn(),__EXTEND_POINT__:Fn()};function _n(e,...t){return Oa(e,null,void 0)}const Vf=qr("__translateVNode"),Wf=qr("__datetimeParts"),Uf=qr("__numberParts"),pC=qr("__setPluralRules"),mC=qr("__injectWithOption"),qf=qr("__dispose");function js(e){if(!Nt(e))return e;for(const t in e)if(Cc(e,t))if(!t.includes("."))Nt(e[t])&&js(e[t]);else{const n=t.split("."),o=n.length-1;let r=e,i=!1;for(let a=0;a{if("locale"in s&&"resource"in s){const{locale:l,resource:c}=s;l?(a[l]=a[l]||{},rc(c,a[l])):rc(c,a)}else Ge(s)&&rc(JSON.parse(s),a)}),r==null&&i)for(const s in a)Cc(a,s)&&js(a[s]);return a}function gC(e){return e.type}function vC(e,t,n){let o=Nt(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=mu(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);r.length&&r.forEach(i=>{e.mergeLocaleMessage(i,o[i])});{if(Nt(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(Nt(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function kv(e){return ie($a,null,e,0)}const Pv="__INTLIFY_META__",Tv=()=>[],v$=()=>!1;let Rv=0;function Ev(e){return(t,n,o,r)=>e(n,o,Jn()||void 0,r)}const b$=()=>{const e=Jn();let t=null;return e&&(t=gC(e)[Pv])?{[Pv]:t}:null};function bp(e={},t){const{__root:n,__injectWithOption:o}=e,r=n===void 0,i=e.flatJson,a=xc?W:Ra,s=!!e.translateExistCompatible;let l=_t(e.inheritLocale)?e.inheritLocale:!0;const c=a(n&&l?n.locale.value:Ge(e.locale)?e.locale:Ca),u=a(n&&l?n.fallbackLocale.value:Ge(e.fallbackLocale)||nn(e.fallbackLocale)||mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),d=a(mu(c.value,e)),f=a(mt(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),p=a(mt(e.numberFormats)?e.numberFormats:{[c.value]:{}});let h=n?n.missingWarn:_t(e.missingWarn)||Br(e.missingWarn)?e.missingWarn:!0,m=n?n.fallbackWarn:_t(e.fallbackWarn)||Br(e.fallbackWarn)?e.fallbackWarn:!0,v=n?n.fallbackRoot:_t(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,w=Yt(e.missing)?e.missing:null,C=Yt(e.missing)?Ev(e.missing):null,S=Yt(e.postTranslation)?e.postTranslation:null,_=n?n.warnHtmlMessage:_t(e.warnHtmlMessage)?e.warnHtmlMessage:!0,x=!!e.escapeParameter;const y=n?n.modifiers:mt(e.modifiers)?e.modifiers:{};let k=e.pluralRules||n&&n.pluralRules,P;P=(()=>{r&&gv(null);const ne={version:m$,locale:c.value,fallbackLocale:u.value,messages:d.value,modifiers:y,pluralRules:k,missing:C===null?void 0:C,missingWarn:h,fallbackWarn:m,fallbackFormat:b,unresolving:!0,postTranslation:S===null?void 0:S,warnHtmlMessage:_,escapeParameter:x,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};ne.datetimeFormats=f.value,ne.numberFormats=p.value,ne.__datetimeFormatters=mt(P)?P.__datetimeFormatters:void 0,ne.__numberFormatters=mt(P)?P.__numberFormatters:void 0;const ue=s$(ne);return r&&gv(ue),ue})(),es(P,c.value,u.value);function $(){return[c.value,u.value,d.value,f.value,p.value]}const R=L({get:()=>c.value,set:ne=>{c.value=ne,P.locale=c.value}}),K=L({get:()=>u.value,set:ne=>{u.value=ne,P.fallbackLocale=u.value,es(P,c.value,ne)}}),j=L(()=>d.value),D=L(()=>f.value),M=L(()=>p.value);function Y(){return Yt(S)?S:null}function Q(ne){S=ne,P.postTranslation=ne}function de(){return w}function pe(ne){ne!==null&&(C=Ev(ne)),w=ne,P.missing=C}const B=(ne,ue,De,Ue,ke,Fe)=>{$();let je;try{__INTLIFY_PROD_DEVTOOLS__,r||(P.fallbackContext=n?a$():void 0),je=ne(P)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(P.fallbackContext=void 0)}if(De!=="translate exists"&&xn(je)&&je===pu||De==="translate exists"&&!je){const[Ae,Je]=ue();return n&&v?Ue(n):ke(Ae)}else{if(Fe(je))return je;throw _n(Cn.UNEXPECTED_RETURN_TYPE)}};function E(...ne){return B(ue=>Reflect.apply(xv,null,[ue,...ne]),()=>Nf(...ne),"translate",ue=>Reflect.apply(ue.t,ue,[...ne]),ue=>ue,ue=>Ge(ue))}function A(...ne){const[ue,De,Ue]=ne;if(Ue&&!Nt(Ue))throw _n(Cn.INVALID_ARGUMENT);return E(ue,De,kn({resolvedMessage:!0},Ue||{}))}function G(...ne){return B(ue=>Reflect.apply(Cv,null,[ue,...ne]),()=>Hf(...ne),"datetime format",ue=>Reflect.apply(ue.d,ue,[...ne]),()=>hv,ue=>Ge(ue))}function oe(...ne){return B(ue=>Reflect.apply(_v,null,[ue,...ne]),()=>jf(...ne),"number format",ue=>Reflect.apply(ue.n,ue,[...ne]),()=>hv,ue=>Ge(ue))}function fe(ne){return ne.map(ue=>Ge(ue)||xn(ue)||_t(ue)?kv(String(ue)):ue)}const xe={normalize:fe,interpolate:ne=>ne,type:"vnode"};function N(...ne){return B(ue=>{let De;const Ue=ue;try{Ue.processor=xe,De=Reflect.apply(xv,null,[Ue,...ne])}finally{Ue.processor=null}return De},()=>Nf(...ne),"translate",ue=>ue[Vf](...ne),ue=>[kv(ue)],ue=>nn(ue))}function be(...ne){return B(ue=>Reflect.apply(_v,null,[ue,...ne]),()=>jf(...ne),"number format",ue=>ue[Uf](...ne),Tv,ue=>Ge(ue)||nn(ue))}function Oe(...ne){return B(ue=>Reflect.apply(Cv,null,[ue,...ne]),()=>Hf(...ne),"datetime format",ue=>ue[Wf](...ne),Tv,ue=>Ge(ue)||nn(ue))}function Le(ne){k=ne,P.pluralRules=k}function F(ne,ue){return B(()=>{if(!ne)return!1;const De=Ge(ue)?ue:c.value,Ue=_e(De),ke=P.messageResolver(Ue,ne);return s?ke!=null:wa(ke)||no(ke)||Ge(ke)},()=>[ne],"translate exists",De=>Reflect.apply(De.te,De,[ne,ue]),v$,De=>_t(De))}function O(ne){let ue=null;const De=eC(P,u.value,c.value);for(let Ue=0;Ue{l&&(c.value=ne,P.locale=ne,es(P,c.value,u.value))}),ft(n.fallbackLocale,ne=>{l&&(u.value=ne,P.fallbackLocale=ne,es(P,c.value,u.value))}));const he={id:Rv,locale:R,fallbackLocale:K,get inheritLocale(){return l},set inheritLocale(ne){l=ne,ne&&n&&(c.value=n.locale.value,u.value=n.fallbackLocale.value,es(P,c.value,u.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:j,get modifiers(){return y},get pluralRules(){return k||{}},get isGlobal(){return r},get missingWarn(){return h},set missingWarn(ne){h=ne,P.missingWarn=h},get fallbackWarn(){return m},set fallbackWarn(ne){m=ne,P.fallbackWarn=m},get fallbackRoot(){return v},set fallbackRoot(ne){v=ne},get fallbackFormat(){return b},set fallbackFormat(ne){b=ne,P.fallbackFormat=b},get warnHtmlMessage(){return _},set warnHtmlMessage(ne){_=ne,P.warnHtmlMessage=ne},get escapeParameter(){return x},set escapeParameter(ne){x=ne,P.escapeParameter=ne},t:E,getLocaleMessage:_e,setLocaleMessage:ee,mergeLocaleMessage:ye,getPostTranslationHandler:Y,setPostTranslationHandler:Q,getMissingHandler:de,setMissingHandler:pe,[pC]:Le};return he.datetimeFormats=D,he.numberFormats=M,he.rt=A,he.te=F,he.tm=re,he.d=G,he.n=oe,he.getDateTimeFormat=Pe,he.setDateTimeFormat=I,he.mergeDateTimeFormat=H,he.getNumberFormat=te,he.setNumberFormat=Ce,he.mergeNumberFormat=ae,he[mC]=o,he[Vf]=N,he[Wf]=Oe,he[Uf]=be,he}function y$(e){const t=Ge(e.locale)?e.locale:Ca,n=Ge(e.fallbackLocale)||nn(e.fallbackLocale)||mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=Yt(e.missing)?e.missing:void 0,r=_t(e.silentTranslationWarn)||Br(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=_t(e.silentFallbackWarn)||Br(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=_t(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,l=mt(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Yt(e.postTranslation)?e.postTranslation:void 0,d=Ge(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,p=_t(e.sync)?e.sync:!0;let h=e.messages;if(mt(e.sharedMessages)){const x=e.sharedMessages;h=Object.keys(x).reduce((k,P)=>{const T=k[P]||(k[P]={});return kn(T,x[P]),k},h||{})}const{__i18n:m,__root:v,__injectWithOption:b}=e,w=e.datetimeFormats,C=e.numberFormats,S=e.flatJson,_=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:h,flatJson:S,datetimeFormats:w,numberFormats:C,missing:o,missingWarn:r,fallbackWarn:i,fallbackRoot:a,fallbackFormat:s,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:p,translateExistCompatible:_,__i18n:m,__root:v,__injectWithOption:b}}function Kf(e={},t){{const n=bp(y$(e)),{__extender:o}=e,r={id:n.id,get locale(){return n.locale.value},set locale(i){n.locale.value=i},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(i){n.fallbackLocale.value=i},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return n.getMissingHandler()},set missing(i){n.setMissingHandler(i)},get silentTranslationWarn(){return _t(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=_t(i)?!i:i},get silentFallbackWarn(){return _t(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=_t(i)?!i:i},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(i){n.fallbackFormat=i},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(i){n.setPostTranslationHandler(i)},get sync(){return n.inheritLocale},set sync(i){n.inheritLocale=i},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){n.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(i){n.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...i){const[a,s,l]=i,c={};let u=null,d=null;if(!Ge(a))throw _n(Cn.INVALID_ARGUMENT);const f=a;return Ge(s)?c.locale=s:nn(s)?u=s:mt(s)&&(d=s),nn(l)?u=l:mt(l)&&(d=l),Reflect.apply(n.t,n,[f,u||d||{},c])},rt(...i){return Reflect.apply(n.rt,n,[...i])},tc(...i){const[a,s,l]=i,c={plural:1};let u=null,d=null;if(!Ge(a))throw _n(Cn.INVALID_ARGUMENT);const f=a;return Ge(s)?c.locale=s:xn(s)?c.plural=s:nn(s)?u=s:mt(s)&&(d=s),Ge(l)?c.locale=l:nn(l)?u=l:mt(l)&&(d=l),Reflect.apply(n.t,n,[f,u||d||{},c])},te(i,a){return n.te(i,a)},tm(i){return n.tm(i)},getLocaleMessage(i){return n.getLocaleMessage(i)},setLocaleMessage(i,a){n.setLocaleMessage(i,a)},mergeLocaleMessage(i,a){n.mergeLocaleMessage(i,a)},d(...i){return Reflect.apply(n.d,n,[...i])},getDateTimeFormat(i){return n.getDateTimeFormat(i)},setDateTimeFormat(i,a){n.setDateTimeFormat(i,a)},mergeDateTimeFormat(i,a){n.mergeDateTimeFormat(i,a)},n(...i){return Reflect.apply(n.n,n,[...i])},getNumberFormat(i){return n.getNumberFormat(i)},setNumberFormat(i,a){n.setNumberFormat(i,a)},mergeNumberFormat(i,a){n.mergeNumberFormat(i,a)},getChoiceIndex(i,a){return-1}};return r.__extender=o,r}}const yp={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function x$({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,r)=>[...o,...r.type===rt?r.children:[r]],[]):t.reduce((n,o)=>{const r=e[o];return r&&(n[o]=r()),n},{})}function bC(e){return rt}const C$=ve({name:"i18n-t",props:kn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>xn(e)||!isNaN(e)}},yp),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||xp({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(d=>d!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=Ge(e.plural)?+e.plural:e.plural);const s=x$(t,i),l=r[Vf](e.keypath,s,a),c=kn({},o),u=Ge(e.tag)||Nt(e.tag)?e.tag:bC();return g(u,c,l)}}}),$v=C$;function w$(e){return nn(e)&&!Ge(e[0])}function yC(e,t,n,o){const{slots:r,attrs:i}=t;return()=>{const a={part:!0};let s={};e.locale&&(a.locale=e.locale),Ge(e.format)?a.key=e.format:Nt(e.format)&&(Ge(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce((f,p)=>n.includes(p)?kn({},f,{[p]:e.format[p]}):f,{}));const l=o(e.value,a,s);let c=[a.key];nn(l)?c=l.map((f,p)=>{const h=r[f.type],m=h?h({[f.type]:f.value,index:p,parts:l}):[f.value];return w$(m)&&(m[0].key=`${f.type}-${p}`),m}):Ge(l)&&(c=[l]);const u=kn({},i),d=Ge(e.tag)||Nt(e.tag)?e.tag:bC();return g(d,u,c)}}const _$=ve({name:"i18n-n",props:kn({value:{type:Number,required:!0},format:{type:[String,Object]}},yp),setup(e,t){const n=e.i18n||xp({useScope:e.scope,__useComponent:!0});return yC(e,t,dC,(...o)=>n[Uf](...o))}}),Av=_$,S$=ve({name:"i18n-d",props:kn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},yp),setup(e,t){const n=e.i18n||xp({useScope:e.scope,__useComponent:!0});return yC(e,t,uC,(...o)=>n[Wf](...o))}}),Iv=S$;function k$(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function P$(e){const t=a=>{const{instance:s,modifiers:l,value:c}=a;if(!s||!s.$)throw _n(Cn.UNEXPECTED_ERROR);const u=k$(e,s.$),d=Ov(c);return[Reflect.apply(u.t,u,[...Mv(d)]),u]};return{created:(a,s)=>{const[l,c]=t(s);xc&&e.global===c&&(a.__i18nWatcher=ft(c.locale,()=>{s.instance&&s.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{xc&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:s})=>{if(a.__composer){const l=a.__composer,c=Ov(s);a.textContent=Reflect.apply(l.t,l,[...Mv(c)])}},getSSRProps:a=>{const[s]=t(a);return{textContent:s}}}}function Ov(e){if(Ge(e))return{path:e};if(mt(e)){if(!("path"in e))throw _n(Cn.REQUIRED_VALUE,"path");return e}else throw _n(Cn.INVALID_VALUE)}function Mv(e){const{path:t,locale:n,args:o,choice:r,plural:i}=e,a={},s=o||{};return Ge(n)&&(a.locale=n),xn(r)&&(a.plural=r),xn(i)&&(a.plural=i),[t,s,a]}function T$(e,t,...n){const o=mt(n[0])?n[0]:{},r=!!o.useI18nComponentName;(_t(o.globalInstall)?o.globalInstall:!0)&&([r?"i18n":$v.name,"I18nT"].forEach(a=>e.component(a,$v)),[Av.name,"I18nN"].forEach(a=>e.component(a,Av)),[Iv.name,"I18nD"].forEach(a=>e.component(a,Iv))),e.directive("t",P$(t))}function R$(e,t,n){return{beforeCreate(){const o=Jn();if(!o)throw _n(Cn.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const i=r.i18n;if(r.__i18n&&(i.__i18n=r.__i18n),i.__root=t,this===this.$root)this.$i18n=zv(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=Kf(i);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=zv(e,r);else{this.$i18n=Kf({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&vC(t,r,r),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,a)=>this.$i18n.te(i,a),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const o=Jn();if(!o)throw _n(Cn.UNEXPECTED_ERROR);const r=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),n.__deleteInstance(o),delete this.$i18n}}}function zv(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[pC](t.pluralizationRules||e.pluralizationRules);const n=mu(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const E$=qr("global-vue-i18n");function $$(e={},t){const n=__VUE_I18N_LEGACY_API__&&_t(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=_t(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,i=new Map,[a,s]=A$(e,n),l=qr("");function c(f){return i.get(f)||null}function u(f,p){i.set(f,p)}function d(f){i.delete(f)}{const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return r},async install(p,...h){if(p.__VUE_I18N_SYMBOL__=l,p.provide(p.__VUE_I18N_SYMBOL__,f),mt(h[0])){const b=h[0];f.__composerExtend=b.__composerExtend,f.__vueI18nExtend=b.__vueI18nExtend}let m=null;!n&&o&&(m=N$(p,f.global)),__VUE_I18N_FULL_INSTALL__&&T$(p,f,...h),__VUE_I18N_LEGACY_API__&&n&&p.mixin(R$(s,s.__composer,f));const v=p.unmount;p.unmount=()=>{m&&m(),f.dispose(),v()}},get global(){return s},dispose(){a.stop()},__instances:i,__getInstance:c,__setInstance:u,__deleteInstance:d};return f}}function xp(e={}){const t=Jn();if(t==null)throw _n(Cn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw _n(Cn.NOT_INSTALLED);const n=I$(t),o=M$(n),r=gC(t),i=O$(e,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw _n(Cn.NOT_AVAILABLE_IN_LEGACY_MODE);return F$(t,i,o,e)}if(i==="global")return vC(o,e,r),o;if(i==="parent"){let l=z$(n,t,e.__useComponent);return l==null&&(l=o),l}const a=n;let s=a.__getInstance(t);if(s==null){const l=kn({},e);"__i18n"in r&&(l.__i18n=r.__i18n),o&&(l.__root=o),s=bp(l),a.__composerExtend&&(s[qf]=a.__composerExtend(s)),L$(a,t,s),a.__setInstance(t,s)}return s}function A$(e,t,n){const o=Lh();{const r=__VUE_I18N_LEGACY_API__&&t?o.run(()=>Kf(e)):o.run(()=>bp(e));if(r==null)throw _n(Cn.UNEXPECTED_ERROR);return[o,r]}}function I$(e){{const t=We(e.isCE?E$:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw _n(e.isCE?Cn.NOT_INSTALLED_WITH_PROVIDE:Cn.UNEXPECTED_ERROR);return t}}function O$(e,t){return fu(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function M$(e){return e.mode==="composition"?e.global:e.global.__composer}function z$(e,t,n=!1){let o=null;const r=t.root;let i=D$(t,n);for(;i!=null;){const a=e;if(e.mode==="composition")o=a.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const s=a.__getInstance(i);s!=null&&(o=s.__composer,n&&o&&!o[mC]&&(o=null))}if(o!=null||r===i)break;i=i.parent}return o}function D$(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function L$(e,t,n){jt(()=>{},t),Ea(()=>{const o=n;e.__deleteInstance(t);const r=o[qf];r&&(r(),delete o[qf])},t)}function F$(e,t,n,o={}){const r=t==="local",i=Ra(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw _n(Cn.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=_t(o.inheritLocale)?o.inheritLocale:!Ge(o.locale),s=W(!r||a?n.locale.value:Ge(o.locale)?o.locale:Ca),l=W(!r||a?n.fallbackLocale.value:Ge(o.fallbackLocale)||nn(o.fallbackLocale)||mt(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:s.value),c=W(mu(s.value,o)),u=W(mt(o.datetimeFormats)?o.datetimeFormats:{[s.value]:{}}),d=W(mt(o.numberFormats)?o.numberFormats:{[s.value]:{}}),f=r?n.missingWarn:_t(o.missingWarn)||Br(o.missingWarn)?o.missingWarn:!0,p=r?n.fallbackWarn:_t(o.fallbackWarn)||Br(o.fallbackWarn)?o.fallbackWarn:!0,h=r?n.fallbackRoot:_t(o.fallbackRoot)?o.fallbackRoot:!0,m=!!o.fallbackFormat,v=Yt(o.missing)?o.missing:null,b=Yt(o.postTranslation)?o.postTranslation:null,w=r?n.warnHtmlMessage:_t(o.warnHtmlMessage)?o.warnHtmlMessage:!0,C=!!o.escapeParameter,S=r?n.modifiers:mt(o.modifiers)?o.modifiers:{},_=o.pluralRules||r&&n.pluralRules;function x(){return[s.value,l.value,c.value,u.value,d.value]}const y=L({get:()=>i.value?i.value.locale.value:s.value,set:O=>{i.value&&(i.value.locale.value=O),s.value=O}}),k=L({get:()=>i.value?i.value.fallbackLocale.value:l.value,set:O=>{i.value&&(i.value.fallbackLocale.value=O),l.value=O}}),P=L(()=>i.value?i.value.messages.value:c.value),T=L(()=>u.value),$=L(()=>d.value);function R(){return i.value?i.value.getPostTranslationHandler():b}function K(O){i.value&&i.value.setPostTranslationHandler(O)}function j(){return i.value?i.value.getMissingHandler():v}function D(O){i.value&&i.value.setMissingHandler(O)}function M(O){return x(),O()}function Y(...O){return i.value?M(()=>Reflect.apply(i.value.t,null,[...O])):M(()=>"")}function Q(...O){return i.value?Reflect.apply(i.value.rt,null,[...O]):""}function de(...O){return i.value?M(()=>Reflect.apply(i.value.d,null,[...O])):M(()=>"")}function pe(...O){return i.value?M(()=>Reflect.apply(i.value.n,null,[...O])):M(()=>"")}function B(O){return i.value?i.value.tm(O):{}}function E(O,re){return i.value?i.value.te(O,re):!1}function A(O){return i.value?i.value.getLocaleMessage(O):{}}function G(O,re){i.value&&(i.value.setLocaleMessage(O,re),c.value[O]=re)}function oe(O,re){i.value&&i.value.mergeLocaleMessage(O,re)}function fe(O){return i.value?i.value.getDateTimeFormat(O):{}}function J(O,re){i.value&&(i.value.setDateTimeFormat(O,re),u.value[O]=re)}function xe(O,re){i.value&&i.value.mergeDateTimeFormat(O,re)}function N(O){return i.value?i.value.getNumberFormat(O):{}}function be(O,re){i.value&&(i.value.setNumberFormat(O,re),d.value[O]=re)}function Oe(O,re){i.value&&i.value.mergeNumberFormat(O,re)}const Le={get id(){return i.value?i.value.id:-1},locale:y,fallbackLocale:k,messages:P,datetimeFormats:T,numberFormats:$,get inheritLocale(){return i.value?i.value.inheritLocale:a},set inheritLocale(O){i.value&&(i.value.inheritLocale=O)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(c.value)},get modifiers(){return i.value?i.value.modifiers:S},get pluralRules(){return i.value?i.value.pluralRules:_},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:f},set missingWarn(O){i.value&&(i.value.missingWarn=O)},get fallbackWarn(){return i.value?i.value.fallbackWarn:p},set fallbackWarn(O){i.value&&(i.value.missingWarn=O)},get fallbackRoot(){return i.value?i.value.fallbackRoot:h},set fallbackRoot(O){i.value&&(i.value.fallbackRoot=O)},get fallbackFormat(){return i.value?i.value.fallbackFormat:m},set fallbackFormat(O){i.value&&(i.value.fallbackFormat=O)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:w},set warnHtmlMessage(O){i.value&&(i.value.warnHtmlMessage=O)},get escapeParameter(){return i.value?i.value.escapeParameter:C},set escapeParameter(O){i.value&&(i.value.escapeParameter=O)},t:Y,getPostTranslationHandler:R,setPostTranslationHandler:K,getMissingHandler:j,setMissingHandler:D,rt:Q,d:de,n:pe,tm:B,te:E,getLocaleMessage:A,setLocaleMessage:G,mergeLocaleMessage:oe,getDateTimeFormat:fe,setDateTimeFormat:J,mergeDateTimeFormat:xe,getNumberFormat:N,setNumberFormat:be,mergeNumberFormat:Oe};function F(O){O.locale.value=s.value,O.fallbackLocale.value=l.value,Object.keys(c.value).forEach(re=>{O.mergeLocaleMessage(re,c.value[re])}),Object.keys(u.value).forEach(re=>{O.mergeDateTimeFormat(re,u.value[re])}),Object.keys(d.value).forEach(re=>{O.mergeNumberFormat(re,d.value[re])}),O.escapeParameter=C,O.fallbackFormat=m,O.fallbackRoot=h,O.fallbackWarn=p,O.missingWarn=f,O.warnHtmlMessage=w}return hn(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw _n(Cn.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const O=i.value=e.proxy.$i18n.__composer;t==="global"?(s.value=O.locale.value,l.value=O.fallbackLocale.value,c.value=O.messages.value,u.value=O.datetimeFormats.value,d.value=O.numberFormats.value):r&&F(O)}),Le}const B$=["locale","fallbackLocale","availableLocales"],Dv=["t","rt","d","n","tm","te"];function N$(e,t){const n=Object.create(null);return B$.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i)throw _n(Cn.UNEXPECTED_ERROR);const a=cn(i.value)?{get(){return i.value.value},set(s){i.value.value=s}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,r,a)}),e.config.globalProperties.$i18n=n,Dv.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i||!i.value)throw _n(Cn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,i)}),()=>{delete e.config.globalProperties.$i18n,Dv.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}g$();__INTLIFY_JIT_COMPILATION__?mv(u$):mv(c$);n$(LE);o$(eC);if(__INTLIFY_PROD_DEVTOOLS__){const e=nr();e.__INTLIFY__=!0,qE(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const xC="locale";function gu(){return nl.get(xC)}function CC(e){nl.set(xC,e)}const wC=Object.keys(Object.assign({"./lang/en-US.json":()=>Ct(()=>Promise.resolve().then(()=>fk),void 0),"./lang/fa-IR.json":()=>Ct(()=>Promise.resolve().then(()=>hk),void 0),"./lang/ja-JP.json":()=>Ct(()=>Promise.resolve().then(()=>pk),void 0),"./lang/ko-KR.json":()=>Ct(()=>Promise.resolve().then(()=>mk),void 0),"./lang/vi-VN.json":()=>Ct(()=>Promise.resolve().then(()=>gk),void 0),"./lang/zh-CN.json":()=>Ct(()=>Promise.resolve().then(()=>vk),void 0),"./lang/zh-TW.json":()=>Ct(()=>Promise.resolve().then(()=>bk),void 0)})).map(e=>e.slice(7,-5));function H$(){const e=navigator.language,t="zh-CN",o=wC.includes(e)?e:t;return gu().value||CC(o),o}const gn=$$({locale:gu().value||H$(),fallbackLocale:"en-US",messages:{}});async function j$(){await Promise.all(wC.map(async e=>{const t=await WR(Object.assign({"./lang/en-US.json":()=>Ct(()=>Promise.resolve().then(()=>fk),void 0),"./lang/fa-IR.json":()=>Ct(()=>Promise.resolve().then(()=>hk),void 0),"./lang/ja-JP.json":()=>Ct(()=>Promise.resolve().then(()=>pk),void 0),"./lang/ko-KR.json":()=>Ct(()=>Promise.resolve().then(()=>mk),void 0),"./lang/vi-VN.json":()=>Ct(()=>Promise.resolve().then(()=>gk),void 0),"./lang/zh-CN.json":()=>Ct(()=>Promise.resolve().then(()=>vk),void 0),"./lang/zh-TW.json":()=>Ct(()=>Promise.resolve().then(()=>bk),void 0)}),`./lang/${e}.json`).then(n=>n.default||n);gn.global.setLocaleMessage(e,t)}))}async function V$(e){e.use(gn),j$()}const Gf={"zh-CN":"简体中文","zh-TW":"繁體中文","en-US":"English","fa-IR":"Iran","ja-JP":"日本語","vi-VN":"Tiếng Việt","ko-KR":"한국어"},Yf=e=>gn.global.t(e);function Ho(e=void 0,t="YYYY-MM-DD HH:mm:ss"){return e==null?"":(e.toString().length===10&&(e=e*1e3),HR(e).format(t))}function Cp(e=void 0,t="YYYY-MM-DD"){return Ho(e,t)}function aa(e){const t=typeof e=="string"?parseFloat(e):e;return isNaN(t)?"0.00":t.toFixed(2)}function an(e){const t=typeof e=="string"?parseFloat(e):e;return isNaN(t)?"0.00":(t/100).toFixed(2)}function da(e){navigator.clipboard?navigator.clipboard.writeText(e).then(()=>{window.$message.success(Yf("复制成功"))}).catch(t=>{console.error("复制到剪贴板时出错:",t),Lv(e)}):Lv(e)}function Lv(e){const t=document.createElement("button"),n=new VR(t,{text:()=>e});n.on("success",()=>{window.$message.success(Yf("复制成功")),n.destroy()}),n.on("error",()=>{window.$message.error(Yf("复制失败")),n.destroy()}),t.click()}function W$(e,t){if(e.length!==t.length)return!1;const n=[...e].sort(),o=[...t].sort();return n.every((r,i)=>r===o[i])}function xs(e){const t=e/1024,n=t/1024,o=n/1024,r=o/1024;return r>=1?aa(r)+" TB":o>=1?aa(o)+" GB":n>=1?aa(n)+" MB":aa(t)+" KB"}function U$(e){return typeof e>"u"}function q$(e){return e===null}function Fv(e){return e&&Array.isArray(e)}function _C(e){return q$(e)||U$(e)}function Bv(e){return/^(https?:|mailto:|tel:)/.test(e)}const Cs=/^[a-z0-9]+(-[a-z0-9]+)*$/,vu=(e,t,n,o="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const s=r.pop(),l=r.pop(),c={provider:r.length>0?r[0]:o,prefix:l,name:s};return t&&!ic(c)?null:c}const i=r[0],a=i.split("-");if(a.length>1){const s={provider:o,prefix:a.shift(),name:a.join("-")};return t&&!ic(s)?null:s}if(n&&o===""){const s={provider:o,prefix:"",name:i};return t&&!ic(s,n)?null:s}return null},ic=(e,t)=>e?!!((e.provider===""||e.provider.match(Cs))&&(t&&e.prefix===""||e.prefix.match(Cs))&&e.name.match(Cs)):!1,SC=Object.freeze({left:0,top:0,width:16,height:16}),_c=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),bu=Object.freeze({...SC,..._c}),Xf=Object.freeze({...bu,body:"",hidden:!1});function K$(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}function Nv(e,t){const n=K$(e,t);for(const o in Xf)o in _c?o in e&&!(o in n)&&(n[o]=_c[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function G$(e,t){const n=e.icons,o=e.aliases||Object.create(null),r=Object.create(null);function i(a){if(n[a])return r[a]=[];if(!(a in r)){r[a]=null;const s=o[a]&&o[a].parent,l=s&&i(s);l&&(r[a]=[s].concat(l))}return r[a]}return(t||Object.keys(n).concat(Object.keys(o))).forEach(i),r}function Y$(e,t,n){const o=e.icons,r=e.aliases||Object.create(null);let i={};function a(s){i=Nv(o[s]||r[s],i)}return a(t),n.forEach(a),Nv(e,i)}function kC(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(r=>{t(r,null),n.push(r)});const o=G$(e);for(const r in o){const i=o[r];i&&(t(r,Y$(e,r,i)),n.push(r))}return n}const X$={provider:"",aliases:{},not_found:{},...SC};function kd(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function PC(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!kd(e,X$))return null;const n=t.icons;for(const r in n){const i=n[r];if(!r.match(Cs)||typeof i.body!="string"||!kd(i,Xf))return null}const o=t.aliases||Object.create(null);for(const r in o){const i=o[r],a=i.parent;if(!r.match(Cs)||typeof a!="string"||!n[a]&&!o[a]||!kd(i,Xf))return null}return t}const Hv=Object.create(null);function Z$(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Si(e,t){const n=Hv[e]||(Hv[e]=Object.create(null));return n[t]||(n[t]=Z$(e,t))}function wp(e,t){return PC(t)?kC(t,(n,o)=>{o?e.icons[n]=o:e.missing.add(n)}):[]}function J$(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Vs=!1;function TC(e){return typeof e=="boolean"&&(Vs=e),Vs}function Q$(e){const t=typeof e=="string"?vu(e,!0,Vs):e;if(t){const n=Si(t.provider,t.prefix),o=t.name;return n.icons[o]||(n.missing.has(o)?null:void 0)}}function eA(e,t){const n=vu(e,!0,Vs);if(!n)return!1;const o=Si(n.provider,n.prefix);return J$(o,n.name,t)}function tA(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Vs&&!t&&!e.prefix){let r=!1;return PC(e)&&(e.prefix="",kC(e,(i,a)=>{a&&eA(i,a)&&(r=!0)})),r}const n=e.prefix;if(!ic({provider:t,prefix:n,name:"a"}))return!1;const o=Si(t,n);return!!wp(o,e)}const RC=Object.freeze({width:null,height:null}),EC=Object.freeze({...RC,..._c}),nA=/(-?[0-9.]*[0-9]+[0-9.]*)/g,oA=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function jv(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const o=e.split(nA);if(o===null||!o.length)return e;const r=[];let i=o.shift(),a=oA.test(i);for(;;){if(a){const s=parseFloat(i);isNaN(s)?r.push(i):r.push(Math.ceil(s*t*n)/n)}else r.push(i);if(i=o.shift(),i===void 0)return r.join("");a=!a}}const rA=e=>e==="unset"||e==="undefined"||e==="none";function iA(e,t){const n={...bu,...e},o={...EC,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,o].forEach(h=>{const m=[],v=h.hFlip,b=h.vFlip;let w=h.rotate;v?b?w+=2:(m.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),m.push("scale(-1 1)"),r.top=r.left=0):b&&(m.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),m.push("scale(1 -1)"),r.top=r.left=0);let C;switch(w<0&&(w-=Math.floor(w/4)*4),w=w%4,w){case 1:C=r.height/2+r.top,m.unshift("rotate(90 "+C.toString()+" "+C.toString()+")");break;case 2:m.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:C=r.width/2+r.left,m.unshift("rotate(-90 "+C.toString()+" "+C.toString()+")");break}w%2===1&&(r.left!==r.top&&(C=r.left,r.left=r.top,r.top=C),r.width!==r.height&&(C=r.width,r.width=r.height,r.height=C)),m.length&&(i=''+i+"")});const a=o.width,s=o.height,l=r.width,c=r.height;let u,d;a===null?(d=s===null?"1em":s==="auto"?c:s,u=jv(d,l/c)):(u=a==="auto"?l:a,d=s===null?jv(u,c/l):s==="auto"?c:s);const f={},p=(h,m)=>{rA(m)||(f[h]=m.toString())};return p("width",u),p("height",d),f.viewBox=r.left.toString()+" "+r.top.toString()+" "+l.toString()+" "+c.toString(),{attributes:f,body:i}}const aA=/\sid="(\S+)"/g,sA="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let lA=0;function cA(e,t=sA){const n=[];let o;for(;o=aA.exec(e);)n.push(o[1]);if(!n.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const a=typeof t=="function"?t(i):t+(lA++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+a+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const Zf=Object.create(null);function uA(e,t){Zf[e]=t}function Jf(e){return Zf[e]||Zf[""]}function _p(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Sp=Object.create(null),ts=["https://api.simplesvg.com","https://api.unisvg.com"],ac=[];for(;ts.length>0;)ts.length===1||Math.random()>.5?ac.push(ts.shift()):ac.push(ts.pop());Sp[""]=_p({resources:["https://api.iconify.design"].concat(ac)});function dA(e,t){const n=_p(t);return n===null?!1:(Sp[e]=n,!0)}function kp(e){return Sp[e]}const fA=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Vv=fA();function hA(e,t){const n=kp(e);if(!n)return 0;let o;if(!n.maxURL)o=0;else{let r=0;n.resources.forEach(a=>{r=Math.max(r,a.length)});const i=t+".json?icons=";o=n.maxURL-r-n.path.length-i.length}return o}function pA(e){return e===404}const mA=(e,t,n)=>{const o=[],r=hA(e,t),i="icons";let a={type:i,provider:e,prefix:t,icons:[]},s=0;return n.forEach((l,c)=>{s+=l.length+1,s>=r&&c>0&&(o.push(a),a={type:i,provider:e,prefix:t,icons:[]},s=l.length),a.icons.push(l)}),o.push(a),o};function gA(e){if(typeof e=="string"){const t=kp(e);if(t)return t.path}return"/"}const vA=(e,t,n)=>{if(!Vv){n("abort",424);return}let o=gA(t.provider);switch(t.type){case"icons":{const i=t.prefix,s=t.icons.join(","),l=new URLSearchParams({icons:s});o+=i+".json?"+l.toString();break}case"custom":{const i=t.uri;o+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let r=503;Vv(e+o).then(i=>{const a=i.status;if(a!==200){setTimeout(()=>{n(pA(a)?"abort":"next",a)});return}return r=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",r)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",r)})},bA={prepare:mA,send:vA};function yA(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((r,i)=>r.provider!==i.provider?r.provider.localeCompare(i.provider):r.prefix!==i.prefix?r.prefix.localeCompare(i.prefix):r.name.localeCompare(i.name));let o={provider:"",prefix:"",name:""};return e.forEach(r=>{if(o.name===r.name&&o.prefix===r.prefix&&o.provider===r.provider)return;o=r;const i=r.provider,a=r.prefix,s=r.name,l=n[i]||(n[i]=Object.create(null)),c=l[a]||(l[a]=Si(i,a));let u;s in c.icons?u=t.loaded:a===""||c.missing.has(s)?u=t.missing:u=t.pending;const d={provider:i,prefix:a,name:s};u.push(d)}),t}function $C(e,t){e.forEach(n=>{const o=n.loaderCallbacks;o&&(n.loaderCallbacks=o.filter(r=>r.id!==t))})}function xA(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const o=e.provider,r=e.prefix;t.forEach(i=>{const a=i.icons,s=a.pending.length;a.pending=a.pending.filter(l=>{if(l.prefix!==r)return!0;const c=l.name;if(e.icons[c])a.loaded.push({provider:o,prefix:r,name:c});else if(e.missing.has(c))a.missing.push({provider:o,prefix:r,name:c});else return n=!0,!0;return!1}),a.pending.length!==s&&(n||$C([e],i.id),i.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),i.abort))})}))}let CA=0;function wA(e,t,n){const o=CA++,r=$C.bind(null,n,o);if(!t.pending.length)return r;const i={id:o,icons:t,callback:e,abort:r};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(i)}),r}function _A(e,t=!0,n=!1){const o=[];return e.forEach(r=>{const i=typeof r=="string"?vu(r,t,n):r;i&&o.push(i)}),o}var SA={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function kA(e,t,n,o){const r=e.resources.length,i=e.random?Math.floor(Math.random()*r):e.index;let a;if(e.random){let x=e.resources.slice(0);for(a=[];x.length>1;){const y=Math.floor(Math.random()*x.length);a.push(x[y]),x=x.slice(0,y).concat(x.slice(y+1))}a=a.concat(x)}else a=e.resources.slice(i).concat(e.resources.slice(0,i));const s=Date.now();let l="pending",c=0,u,d=null,f=[],p=[];typeof o=="function"&&p.push(o);function h(){d&&(clearTimeout(d),d=null)}function m(){l==="pending"&&(l="aborted"),h(),f.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),f=[]}function v(x,y){y&&(p=[]),typeof x=="function"&&p.push(x)}function b(){return{startTime:s,payload:t,status:l,queriesSent:c,queriesPending:f.length,subscribe:v,abort:m}}function w(){l="failed",p.forEach(x=>{x(void 0,u)})}function C(){f.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),f=[]}function S(x,y,k){const P=y!=="success";switch(f=f.filter(T=>T!==x),l){case"pending":break;case"failed":if(P||!e.dataAfterTimeout)return;break;default:return}if(y==="abort"){u=k,w();return}if(P){u=k,f.length||(a.length?_():w());return}if(h(),C(),!e.random){const T=e.resources.indexOf(x.resource);T!==-1&&T!==e.index&&(e.index=T)}l="completed",p.forEach(T=>{T(k)})}function _(){if(l!=="pending")return;h();const x=a.shift();if(x===void 0){if(f.length){d=setTimeout(()=>{h(),l==="pending"&&(C(),w())},e.timeout);return}w();return}const y={status:"pending",resource:x,callback:(k,P)=>{S(y,k,P)}};f.push(y),c++,d=setTimeout(_,e.rotate),n(x,t,y.callback)}return setTimeout(_),b}function AC(e){const t={...SA,...e};let n=[];function o(){n=n.filter(s=>s().status==="pending")}function r(s,l,c){const u=kA(t,s,l,(d,f)=>{o(),c&&c(d,f)});return n.push(u),u}function i(s){return n.find(l=>s(l))||null}return{query:r,find:i,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:o}}function Wv(){}const Pd=Object.create(null);function PA(e){if(!Pd[e]){const t=kp(e);if(!t)return;const n=AC(t),o={config:t,redundancy:n};Pd[e]=o}return Pd[e]}function TA(e,t,n){let o,r;if(typeof e=="string"){const i=Jf(e);if(!i)return n(void 0,424),Wv;r=i.send;const a=PA(e);a&&(o=a.redundancy)}else{const i=_p(e);if(i){o=AC(i);const a=e.resources?e.resources[0]:"",s=Jf(a);s&&(r=s.send)}}return!o||!r?(n(void 0,424),Wv):o.query(t,r,n)().abort}const Uv="iconify2",Ws="iconify",IC=Ws+"-count",qv=Ws+"-version",OC=36e5,RA=168;function Qf(e,t){try{return e.getItem(t)}catch{}}function Pp(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Kv(e,t){try{e.removeItem(t)}catch{}}function eh(e,t){return Pp(e,IC,t.toString())}function th(e){return parseInt(Qf(e,IC))||0}const yu={local:!0,session:!0},MC={local:new Set,session:new Set};let Tp=!1;function EA(e){Tp=e}let Tl=typeof window>"u"?{}:window;function zC(e){const t=e+"Storage";try{if(Tl&&Tl[t]&&typeof Tl[t].length=="number")return Tl[t]}catch{}yu[e]=!1}function DC(e,t){const n=zC(e);if(!n)return;const o=Qf(n,qv);if(o!==Uv){if(o){const s=th(n);for(let l=0;l{const l=Ws+s.toString(),c=Qf(n,l);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>r&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,s))return!0}catch{}Kv(n,l)}};let a=th(n);for(let s=a-1;s>=0;s--)i(s)||(s===a-1?(a--,eh(n,a)):MC[e].add(s))}function LC(){if(!Tp){EA(!0);for(const e in yu)DC(e,t=>{const n=t.data,o=t.provider,r=n.prefix,i=Si(o,r);if(!wp(i,n).length)return!1;const a=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,a):a,!0})}}function $A(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const o in yu)DC(o,r=>{const i=r.data;return r.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function AA(e,t){Tp||LC();function n(o){let r;if(!yu[o]||!(r=zC(o)))return;const i=MC[o];let a;if(i.size)i.delete(a=Array.from(i).shift());else if(a=th(r),!eh(r,a+1))return;const s={cached:Math.floor(Date.now()/OC),provider:e.provider,data:t};return Pp(r,Ws+a.toString(),JSON.stringify(s))}t.lastModified&&!$A(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Gv(){}function IA(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,xA(e)}))}function OA(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:o}=e,r=e.iconsToLoad;delete e.iconsToLoad;let i;if(!r||!(i=Jf(n)))return;i.prepare(n,o,r).forEach(s=>{TA(n,s,l=>{if(typeof l!="object")s.icons.forEach(c=>{e.missing.add(c)});else try{const c=wp(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(d=>{u.delete(d)}),AA(e,l)}catch(c){console.error(c)}IA(e)})})}))}const MA=(e,t)=>{const n=_A(e,!0,TC()),o=yA(n);if(!o.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(o.loaded,o.missing,o.pending,Gv)}),()=>{l=!1}}const r=Object.create(null),i=[];let a,s;return o.pending.forEach(l=>{const{provider:c,prefix:u}=l;if(u===s&&c===a)return;a=c,s=u,i.push(Si(c,u));const d=r[c]||(r[c]=Object.create(null));d[u]||(d[u]=[])}),o.pending.forEach(l=>{const{provider:c,prefix:u,name:d}=l,f=Si(c,u),p=f.pendingIcons||(f.pendingIcons=new Set);p.has(d)||(p.add(d),r[c][u].push(d))}),i.forEach(l=>{const{provider:c,prefix:u}=l;r[c][u].length&&OA(l,r[c][u])}),t?wA(t,o,i):Gv};function zA(e,t){const n={...e};for(const o in t){const r=t[o],i=typeof r;o in RC?(r===null||r&&(i==="string"||i==="number"))&&(n[o]=r):i===typeof n[o]&&(n[o]=o==="rotate"?r%4:r)}return n}const DA=/[\s,]+/;function LA(e,t){t.split(DA).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function FA(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(e);return isNaN(r)?0:o(r)}else if(n!==e){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/r,i%1===0?o(i):0)}}return t}function BA(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)n+=" "+o+'="'+t[o]+'"';return'"+e+""}function NA(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function HA(e){return"data:image/svg+xml,"+NA(e)}function jA(e){return'url("'+HA(e)+'")'}const Yv={...EC,inline:!1},VA={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},WA={display:"inline-block"},nh={backgroundColor:"currentColor"},FC={backgroundColor:"transparent"},Xv={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Zv={webkitMask:nh,mask:nh,background:FC};for(const e in Zv){const t=Zv[e];for(const n in Xv)t[e+n]=Xv[n]}const sc={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";sc[e+"-flip"]=t,sc[e.slice(0,1)+"-flip"]=t,sc[e+"Flip"]=t});function Jv(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Qv=(e,t)=>{const n=zA(Yv,t),o={...VA},r=t.mode||"svg",i={},a=t.style,s=typeof a=="object"&&!(a instanceof Array)?a:{};for(let m in t){const v=t[m];if(v!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[m]=v===!0||v==="true"||v===1;break;case"flip":typeof v=="string"&&LA(n,v);break;case"color":i.color=v;break;case"rotate":typeof v=="string"?n[m]=FA(v):typeof v=="number"&&(n[m]=v);break;case"ariaHidden":case"aria-hidden":v!==!0&&v!=="true"&&delete o["aria-hidden"];break;default:{const b=sc[m];b?(v===!0||v==="true"||v===1)&&(n[b]=!0):Yv[m]===void 0&&(o[m]=v)}}}const l=iA(e,n),c=l.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),r==="svg"){o.style={...i,...s},Object.assign(o,c);let m=0,v=t.id;return typeof v=="string"&&(v=v.replace(/-/g,"_")),o.innerHTML=cA(l.body,v?()=>v+"ID"+m++:"iconifyVue"),g("svg",o)}const{body:u,width:d,height:f}=e,p=r==="mask"||(r==="bg"?!1:u.indexOf("currentColor")!==-1),h=BA(u,{...c,width:d+"",height:f+""});return o.style={...i,"--svg":jA(h),width:Jv(c.width),height:Jv(c.height),...WA,...p?nh:FC,...s},g("span",o)};TC(!0);uA("",bA);if(typeof document<"u"&&typeof window<"u"){LC();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!tA(o))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const o="IconifyProviders["+n+"] is invalid.";try{const r=t[n];if(typeof r!="object"||!r||r.resources===void 0)continue;dA(n,r)||console.error(o)}catch{console.error(o)}}}}const UA={...bu,body:""},qA=ve({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=vu(e,!1,!0))===null)return this.abortLoading(),null;const o=Q$(n);if(!o)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",o!==null&&(this._loadingIcon={name:e,abort:MA([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const r=["iconify"];return n.prefix!==""&&r.push("iconify--"+n.prefix),n.provider!==""&&r.push("iconify--"+n.provider),{data:o,classes:r}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return Qv(UA,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Qv({...bu,...t.data},n)}});let Sc=[];const BC=new WeakMap;function KA(){Sc.forEach(e=>e(...BC.get(e))),Sc=[]}function kc(e,...t){BC.set(e,t),!Sc.includes(e)&&Sc.push(e)===1&&requestAnimationFrame(KA)}function GA(e){return e.nodeType===9?null:e.parentNode}function NC(e){if(e===null)return null;const t=GA(e);if(t===null)return null;if(t.nodeType===9)return document.documentElement;if(t.nodeType===1){const{overflow:n,overflowX:o,overflowY:r}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(n+r+o))return t}return NC(t)}function YA(e){return typeof e=="string"?document.querySelector(e):typeof e=="function"?e():e}function wo(e,t){let{target:n}=e;for(;n;){if(n.dataset&&n.dataset[t]!==void 0)return!0;n=n.parentElement}return!1}function ki(e){return e.composedPath()[0]||null}function Sn(e){return typeof e=="string"?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function zn(e){if(e!=null)return typeof e=="number"?`${e}px`:e.endsWith("px")?e:`${e}px`}function _o(e,t){const n=e.trim().split(/\s+/g),o={top:n[0]};switch(n.length){case 1:o.right=n[0],o.bottom=n[0],o.left=n[0];break;case 2:o.right=n[1],o.left=n[1],o.bottom=n[0];break;case 3:o.right=n[1],o.bottom=n[2],o.left=n[1];break;case 4:o.right=n[1],o.bottom=n[2],o.left=n[3];break;default:throw new Error("[seemly/getMargin]:"+e+" is not a valid value.")}return t===void 0?o:o[t]}function XA(e,t){const[n,o]=e.split(" ");return t?t==="row"?n:o:{row:n,col:o||n}}const eb={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},Ma="^\\s*",za="\\s*$",hi="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",pi="([0-9A-Fa-f])",mi="([0-9A-Fa-f]{2})",ZA=new RegExp(`${Ma}rgb\\s*\\(${hi},${hi},${hi}\\)${za}`),JA=new RegExp(`${Ma}rgba\\s*\\(${hi},${hi},${hi},${hi}\\)${za}`),QA=new RegExp(`${Ma}#${pi}${pi}${pi}${za}`),e6=new RegExp(`${Ma}#${mi}${mi}${mi}${za}`),t6=new RegExp(`${Ma}#${pi}${pi}${pi}${pi}${za}`),n6=new RegExp(`${Ma}#${mi}${mi}${mi}${mi}${za}`);function Bn(e){return parseInt(e,16)}function jo(e){try{let t;if(t=e6.exec(e))return[Bn(t[1]),Bn(t[2]),Bn(t[3]),1];if(t=ZA.exec(e))return[Rn(t[1]),Rn(t[5]),Rn(t[9]),1];if(t=JA.exec(e))return[Rn(t[1]),Rn(t[5]),Rn(t[9]),ws(t[13])];if(t=QA.exec(e))return[Bn(t[1]+t[1]),Bn(t[2]+t[2]),Bn(t[3]+t[3]),1];if(t=n6.exec(e))return[Bn(t[1]),Bn(t[2]),Bn(t[3]),ws(Bn(t[4])/255)];if(t=t6.exec(e))return[Bn(t[1]+t[1]),Bn(t[2]+t[2]),Bn(t[3]+t[3]),ws(Bn(t[4]+t[4])/255)];if(e in eb)return jo(eb[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function o6(e){return e>1?1:e<0?0:e}function oh(e,t,n,o){return`rgba(${Rn(e)}, ${Rn(t)}, ${Rn(n)}, ${o6(o)})`}function Td(e,t,n,o,r){return Rn((e*t*(1-o)+n*o)/r)}function et(e,t){Array.isArray(e)||(e=jo(e)),Array.isArray(t)||(t=jo(t));const n=e[3],o=t[3],r=ws(n+o-n*o);return oh(Td(e[0],n,t[0],o,r),Td(e[1],n,t[1],o,r),Td(e[2],n,t[2],o,r),r)}function Me(e,t){const[n,o,r,i=1]=Array.isArray(e)?e:jo(e);return t.alpha?oh(n,o,r,t.alpha):oh(n,o,r,i)}function un(e,t){const[n,o,r,i=1]=Array.isArray(e)?e:jo(e),{lightness:a=1,alpha:s=1}=t;return r6([n*a,o*a,r*a,i*s])}function ws(e){const t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function Rn(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function r6(e){const[t,n,o]=e;return 3 in e?`rgba(${Rn(t)}, ${Rn(n)}, ${Rn(o)}, ${ws(e[3])})`:`rgba(${Rn(t)}, ${Rn(n)}, ${Rn(o)}, 1)`}function Gr(e=8){return Math.random().toString(16).slice(2,2+e)}function HC(e,t){const n=[];for(let o=0;o{o[r]=e[r]}),Object.assign(o,n)}function Da(e,t=[],n){const o={};return Object.getOwnPropertyNames(e).forEach(i=>{t.includes(i)||(o[i]=e[i])}),Object.assign(o,n)}function _a(e,t=!0,n=[]){return e.forEach(o=>{if(o!==null){if(typeof o!="object"){(typeof o=="string"||typeof o=="number")&&n.push(nt(String(o)));return}if(Array.isArray(o)){_a(o,t,n);return}if(o.type===rt){if(o.children===null)return;Array.isArray(o.children)&&_a(o.children,t,n)}else{if(o.type===$n&&t)return;n.push(o)}}}),n}function Ee(e,...t){if(Array.isArray(e))e.forEach(n=>Ee(n,...t));else return e(...t)}function Yr(e){return Object.keys(e)}const Wt=(e,...t)=>typeof e=="function"?e(...t):typeof e=="string"?nt(e):typeof e=="number"?nt(String(e)):null;function ar(e,t){console.error(`[naive/${e}]: ${t}`)}function ur(e,t){throw new Error(`[naive/${e}]: ${t}`)}function tb(e){switch(e){case"tiny":return"mini";case"small":return"tiny";case"medium":return"small";case"large":return"medium";case"huge":return"large"}throw Error(`${e} has no smaller size.`)}function nb(e){switch(typeof e){case"string":return e||void 0;case"number":return String(e);default:return}}function rh(e,t="default",n=void 0){const o=e[t];if(!o)return ar("getFirstSlotVNode",`slot[${t}] is empty`),null;const r=_a(o(n));return r.length===1?r[0]:(ar("getFirstSlotVNode",`slot[${t}] should have exactly one child`),null)}function VC(e){return t=>{t?e.value=t.$el:e.value=null}}function ol(e){return e.some(t=>Ls(t)?!(t.type===$n||t.type===rt&&!ol(t.children)):!0)?e:null}function An(e,t){return e&&ol(e())||t()}function ih(e,t,n){return e&&ol(e(t))||n(t)}function Et(e,t){const n=e&&ol(e());return t(n||null)}function fa(e){return!(e&&ol(e()))}function _s(e){const t=e.filter(n=>n!==void 0);if(t.length!==0)return t.length===1?t[0]:n=>{e.forEach(o=>{o&&o(n)})}}const ah=ve({render(){var e,t;return(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)}}),a6=/^(\d|\.)+$/,ob=/(\d|\.)+/;function qt(e,{c:t=1,offset:n=0,attachPx:o=!0}={}){if(typeof e=="number"){const r=(e+n)*t;return r===0?"0":`${r}px`}else if(typeof e=="string")if(a6.test(e)){const r=(Number(e)+n)*t;return o?r===0?"0":`${r}px`:`${r}`}else{const r=ob.exec(e);return r?e.replace(ob,String((Number(r[0])+n)*t)):e}return e}function Pc(e){return e.replace(/#|\(|\)|,|\s|\./g,"_")}function s6(e){let t=0;for(let n=0;n{let r=s6(o);if(r){if(r===1){e.forEach(a=>{n.push(o.replace("&",a))});return}}else{e.forEach(a=>{n.push((a&&a+" ")+o)});return}let i=[o];for(;r--;){const a=[];i.forEach(s=>{e.forEach(l=>{a.push(s.replace("&",l))})}),i=a}i.forEach(a=>n.push(a))}),n}function u6(e,t){const n=[];return t.split(WC).forEach(o=>{e.forEach(r=>{n.push((r&&r+" ")+o)})}),n}function d6(e){let t=[""];return e.forEach(n=>{n=n&&n.trim(),n&&(n.includes("&")?t=c6(t,n):t=u6(t,n))}),t.join(", ").replace(l6," ")}function rb(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function xu(e){return document.querySelector(`style[cssr-id="${e}"]`)}function f6(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function Rl(e){return e?/^\s*@(s|m)/.test(e):!1}const h6=/[A-Z]/g;function UC(e){return e.replace(h6,t=>"-"+t.toLowerCase())}function p6(e,t=" "){return typeof e=="object"&&e!==null?` { -`+Object.entries(e).map(n=>t+` ${UC(n[0])}: ${n[1]};`).join(` + */const eA="9.14.0";function tA(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(ir().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(ir().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(ir().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(ir().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ir().__INTLIFY_PROD_DEVTOOLS__=!1)}const BC=O$.__EXTEND_POINT__,er=vu(BC);er(),er(),er(),er(),er(),er(),er(),er(),er();const NC=So.__EXTEND_POINT__,Fn=vu(NC),Cn={UNEXPECTED_RETURN_TYPE:NC,INVALID_ARGUMENT:Fn(),MUST_BE_CALL_SETUP_TOP:Fn(),NOT_INSTALLED:Fn(),NOT_AVAILABLE_IN_LEGACY_MODE:Fn(),REQUIRED_VALUE:Fn(),INVALID_VALUE:Fn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Fn(),NOT_INSTALLED_WITH_PROVIDE:Fn(),UNEXPECTED_ERROR:Fn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Fn(),BRIDGE_SUPPORT_VUE_2_ONLY:Fn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Fn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Fn(),__EXTEND_POINT__:Fn()};function kn(e,...t){return Ba(e,null,void 0)}const nh=Yr("__translateVNode"),oh=Yr("__datetimeParts"),rh=Yr("__numberParts"),HC=Yr("__setPluralRules"),jC=Yr("__injectWithOption"),ih=Yr("__dispose");function qs(e){if(!Nt(e))return e;for(const t in e)if(Sc(e,t))if(!t.includes("."))Nt(e[t])&&qs(e[t]);else{const n=t.split("."),o=n.length-1;let r=e,i=!1;for(let a=0;a{if("locale"in s&&"resource"in s){const{locale:l,resource:c}=s;l?(a[l]=a[l]||{},ac(c,a[l])):ac(c,a)}else Ye(s)&&ac(JSON.parse(s),a)}),r==null&&i)for(const s in a)Sc(a,s)&&qs(a[s]);return a}function VC(e){return e.type}function WC(e,t,n){let o=Nt(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=yu(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);r.length&&r.forEach(i=>{e.mergeLocaleMessage(i,o[i])});{if(Nt(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(Nt(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function jv(e){return ie(za,null,e,0)}const Vv="__INTLIFY_META__",Wv=()=>[],nA=()=>!1;let Uv=0;function qv(e){return(t,n,o,r)=>e(n,o,to()||void 0,r)}const oA=()=>{const e=to();let t=null;return e&&(t=VC(e)[Vv])?{[Vv]:t}:null};function Ip(e={},t){const{__root:n,__injectWithOption:o}=e,r=n===void 0,i=e.flatJson,a=_c?W:Oa,s=!!e.translateExistCompatible;let l=St(e.inheritLocale)?e.inheritLocale:!0;const c=a(n&&l?n.locale.value:Ye(e.locale)?e.locale:Pa),u=a(n&&l?n.fallbackLocale.value:Ye(e.fallbackLocale)||tn(e.fallbackLocale)||gt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),d=a(yu(c.value,e)),f=a(gt(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),h=a(gt(e.numberFormats)?e.numberFormats:{[c.value]:{}});let p=n?n.missingWarn:St(e.missingWarn)||Nr(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:St(e.fallbackWarn)||Nr(e.fallbackWarn)?e.fallbackWarn:!0,m=n?n.fallbackRoot:St(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,_=Yt(e.missing)?e.missing:null,C=Yt(e.missing)?qv(e.missing):null,S=Yt(e.postTranslation)?e.postTranslation:null,w=n?n.warnHtmlMessage:St(e.warnHtmlMessage)?e.warnHtmlMessage:!0,x=!!e.escapeParameter;const y=n?n.modifiers:gt(e.modifiers)?e.modifiers:{};let P=e.pluralRules||n&&n.pluralRules,k;k=(()=>{r&&Ov(null);const re={version:eA,locale:c.value,fallbackLocale:u.value,messages:d.value,modifiers:y,pluralRules:P,missing:C===null?void 0:C,missingWarn:p,fallbackWarn:g,fallbackFormat:b,unresolving:!0,postTranslation:S===null?void 0:S,warnHtmlMessage:w,escapeParameter:x,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};re.datetimeFormats=f.value,re.numberFormats=h.value,re.__datetimeFormatters=gt(k)?k.__datetimeFormatters:void 0,re.__numberFormatters=gt(k)?k.__numberFormatters:void 0;const de=W$(re);return r&&Ov(de),de})(),as(k,c.value,u.value);function E(){return[c.value,u.value,d.value,f.value,h.value]}const R=F({get:()=>c.value,set:re=>{c.value=re,k.locale=c.value}}),K=F({get:()=>u.value,set:re=>{u.value=re,k.fallbackLocale=u.value,as(k,c.value,re)}}),N=F(()=>d.value),D=F(()=>f.value),M=F(()=>h.value);function G(){return Yt(S)?S:null}function J(re){S=re,k.postTranslation=re}function he(){return _}function pe(re){re!==null&&(C=qv(re)),_=re,k.missing=C}const B=(re,de,De,Le,Pe,Fe)=>{E();let He;try{__INTLIFY_PROD_DEVTOOLS__,r||(k.fallbackContext=n?V$():void 0),He=re(k)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(k.fallbackContext=void 0)}if(De!=="translate exists"&&yn(He)&&He===bu||De==="translate exists"&&!He){const[Ie,Qe]=de();return n&&m?Le(n):Pe(Ie)}else{if(Fe(He))return He;throw kn(Cn.UNEXPECTED_RETURN_TYPE)}};function $(...re){return B(de=>Reflect.apply(Lv,null,[de,...re]),()=>Qf(...re),"translate",de=>Reflect.apply(de.t,de,[...re]),de=>de,de=>Ye(de))}function A(...re){const[de,De,Le]=re;if(Le&&!Nt(Le))throw kn(Cn.INVALID_ARGUMENT);return $(de,De,Pn({resolvedMessage:!0},Le||{}))}function Y(...re){return B(de=>Reflect.apply(Fv,null,[de,...re]),()=>eh(...re),"datetime format",de=>Reflect.apply(de.d,de,[...re]),()=>$v,de=>Ye(de))}function ne(...re){return B(de=>Reflect.apply(Nv,null,[de,...re]),()=>th(...re),"number format",de=>Reflect.apply(de.n,de,[...re]),()=>$v,de=>Ye(de))}function fe(re){return re.map(de=>Ye(de)||yn(de)||St(de)?jv(String(de)):de)}const xe={normalize:fe,interpolate:re=>re,type:"vnode"};function H(...re){return B(de=>{let De;const Le=de;try{Le.processor=xe,De=Reflect.apply(Lv,null,[Le,...re])}finally{Le.processor=null}return De},()=>Qf(...re),"translate",de=>de[nh](...re),de=>[jv(de)],de=>tn(de))}function ye(...re){return B(de=>Reflect.apply(Nv,null,[de,...re]),()=>th(...re),"number format",de=>de[rh](...re),Wv,de=>Ye(de)||tn(de))}function Oe(...re){return B(de=>Reflect.apply(Fv,null,[de,...re]),()=>eh(...re),"datetime format",de=>de[oh](...re),Wv,de=>Ye(de)||tn(de))}function Ne(re){P=re,k.pluralRules=P}function L(re,de){return B(()=>{if(!re)return!1;const De=Ye(de)?de:c.value,Le=_e(De),Pe=k.messageResolver(Le,re);return s?Pe!=null:Ta(Pe)||io(Pe)||Ye(Pe)},()=>[re],"translate exists",De=>Reflect.apply(De.te,De,[re,de]),nA,De=>St(De))}function O(re){let de=null;const De=TC(k,u.value,c.value);for(let Le=0;Le{l&&(c.value=re,k.locale=re,as(k,c.value,u.value))}),ft(n.fallbackLocale,re=>{l&&(u.value=re,k.fallbackLocale=re,as(k,c.value,u.value))}));const le={id:Uv,locale:R,fallbackLocale:K,get inheritLocale(){return l},set inheritLocale(re){l=re,re&&n&&(c.value=n.locale.value,u.value=n.fallbackLocale.value,as(k,c.value,u.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:N,get modifiers(){return y},get pluralRules(){return P||{}},get isGlobal(){return r},get missingWarn(){return p},set missingWarn(re){p=re,k.missingWarn=p},get fallbackWarn(){return g},set fallbackWarn(re){g=re,k.fallbackWarn=g},get fallbackRoot(){return m},set fallbackRoot(re){m=re},get fallbackFormat(){return b},set fallbackFormat(re){b=re,k.fallbackFormat=b},get warnHtmlMessage(){return w},set warnHtmlMessage(re){w=re,k.warnHtmlMessage=re},get escapeParameter(){return x},set escapeParameter(re){x=re,k.escapeParameter=re},t:$,getLocaleMessage:_e,setLocaleMessage:te,mergeLocaleMessage:ge,getPostTranslationHandler:G,setPostTranslationHandler:J,getMissingHandler:he,setMissingHandler:pe,[HC]:Ne};return le.datetimeFormats=D,le.numberFormats=M,le.rt=A,le.te=L,le.tm=oe,le.d=Y,le.n=ne,le.getDateTimeFormat=ke,le.setDateTimeFormat=I,le.mergeDateTimeFormat=j,le.getNumberFormat=ee,le.setNumberFormat=Ce,le.mergeNumberFormat=ce,le[jC]=o,le[nh]=H,le[oh]=Oe,le[rh]=ye,le}function rA(e){const t=Ye(e.locale)?e.locale:Pa,n=Ye(e.fallbackLocale)||tn(e.fallbackLocale)||gt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=Yt(e.missing)?e.missing:void 0,r=St(e.silentTranslationWarn)||Nr(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=St(e.silentFallbackWarn)||Nr(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=St(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,l=gt(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Yt(e.postTranslation)?e.postTranslation:void 0,d=Ye(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,h=St(e.sync)?e.sync:!0;let p=e.messages;if(gt(e.sharedMessages)){const x=e.sharedMessages;p=Object.keys(x).reduce((P,k)=>{const T=P[k]||(P[k]={});return Pn(T,x[k]),P},p||{})}const{__i18n:g,__root:m,__injectWithOption:b}=e,_=e.datetimeFormats,C=e.numberFormats,S=e.flatJson,w=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:p,flatJson:S,datetimeFormats:_,numberFormats:C,missing:o,missingWarn:r,fallbackWarn:i,fallbackRoot:a,fallbackFormat:s,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:h,translateExistCompatible:w,__i18n:g,__root:m,__injectWithOption:b}}function ah(e={},t){{const n=Ip(rA(e)),{__extender:o}=e,r={id:n.id,get locale(){return n.locale.value},set locale(i){n.locale.value=i},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(i){n.fallbackLocale.value=i},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return n.getMissingHandler()},set missing(i){n.setMissingHandler(i)},get silentTranslationWarn(){return St(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=St(i)?!i:i},get silentFallbackWarn(){return St(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=St(i)?!i:i},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(i){n.fallbackFormat=i},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(i){n.setPostTranslationHandler(i)},get sync(){return n.inheritLocale},set sync(i){n.inheritLocale=i},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){n.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(i){n.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...i){const[a,s,l]=i,c={};let u=null,d=null;if(!Ye(a))throw kn(Cn.INVALID_ARGUMENT);const f=a;return Ye(s)?c.locale=s:tn(s)?u=s:gt(s)&&(d=s),tn(l)?u=l:gt(l)&&(d=l),Reflect.apply(n.t,n,[f,u||d||{},c])},rt(...i){return Reflect.apply(n.rt,n,[...i])},tc(...i){const[a,s,l]=i,c={plural:1};let u=null,d=null;if(!Ye(a))throw kn(Cn.INVALID_ARGUMENT);const f=a;return Ye(s)?c.locale=s:yn(s)?c.plural=s:tn(s)?u=s:gt(s)&&(d=s),Ye(l)?c.locale=l:tn(l)?u=l:gt(l)&&(d=l),Reflect.apply(n.t,n,[f,u||d||{},c])},te(i,a){return n.te(i,a)},tm(i){return n.tm(i)},getLocaleMessage(i){return n.getLocaleMessage(i)},setLocaleMessage(i,a){n.setLocaleMessage(i,a)},mergeLocaleMessage(i,a){n.mergeLocaleMessage(i,a)},d(...i){return Reflect.apply(n.d,n,[...i])},getDateTimeFormat(i){return n.getDateTimeFormat(i)},setDateTimeFormat(i,a){n.setDateTimeFormat(i,a)},mergeDateTimeFormat(i,a){n.mergeDateTimeFormat(i,a)},n(...i){return Reflect.apply(n.n,n,[...i])},getNumberFormat(i){return n.getNumberFormat(i)},setNumberFormat(i,a){n.setNumberFormat(i,a)},mergeNumberFormat(i,a){n.mergeNumberFormat(i,a)},getChoiceIndex(i,a){return-1}};return r.__extender=o,r}}const Op={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function iA({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,r)=>[...o,...r.type===it?r.children:[r]],[]):t.reduce((n,o)=>{const r=e[o];return r&&(n[o]=r()),n},{})}function UC(e){return it}const aA=be({name:"i18n-t",props:Pn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>yn(e)||!isNaN(e)}},Op),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||Mp({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(d=>d!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=Ye(e.plural)?+e.plural:e.plural);const s=iA(t,i),l=r[nh](e.keypath,s,a),c=Pn({},o),u=Ye(e.tag)||Nt(e.tag)?e.tag:UC();return v(u,c,l)}}}),Kv=aA;function sA(e){return tn(e)&&!Ye(e[0])}function qC(e,t,n,o){const{slots:r,attrs:i}=t;return()=>{const a={part:!0};let s={};e.locale&&(a.locale=e.locale),Ye(e.format)?a.key=e.format:Nt(e.format)&&(Ye(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce((f,h)=>n.includes(h)?Pn({},f,{[h]:e.format[h]}):f,{}));const l=o(e.value,a,s);let c=[a.key];tn(l)?c=l.map((f,h)=>{const p=r[f.type],g=p?p({[f.type]:f.value,index:h,parts:l}):[f.value];return sA(g)&&(g[0].key=`${f.type}-${h}`),g}):Ye(l)&&(c=[l]);const u=Pn({},i),d=Ye(e.tag)||Nt(e.tag)?e.tag:UC();return v(d,u,c)}}const lA=be({name:"i18n-n",props:Pn({value:{type:Number,required:!0},format:{type:[String,Object]}},Op),setup(e,t){const n=e.i18n||Mp({useScope:e.scope,__useComponent:!0});return qC(e,t,FC,(...o)=>n[rh](...o))}}),Gv=lA,cA=be({name:"i18n-d",props:Pn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Op),setup(e,t){const n=e.i18n||Mp({useScope:e.scope,__useComponent:!0});return qC(e,t,LC,(...o)=>n[oh](...o))}}),Yv=cA;function uA(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function dA(e){const t=a=>{const{instance:s,modifiers:l,value:c}=a;if(!s||!s.$)throw kn(Cn.UNEXPECTED_ERROR);const u=uA(e,s.$),d=Xv(c);return[Reflect.apply(u.t,u,[...Zv(d)]),u]};return{created:(a,s)=>{const[l,c]=t(s);_c&&e.global===c&&(a.__i18nWatcher=ft(c.locale,()=>{s.instance&&s.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{_c&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:s})=>{if(a.__composer){const l=a.__composer,c=Xv(s);a.textContent=Reflect.apply(l.t,l,[...Zv(c)])}},getSSRProps:a=>{const[s]=t(a);return{textContent:s}}}}function Xv(e){if(Ye(e))return{path:e};if(gt(e)){if(!("path"in e))throw kn(Cn.REQUIRED_VALUE,"path");return e}else throw kn(Cn.INVALID_VALUE)}function Zv(e){const{path:t,locale:n,args:o,choice:r,plural:i}=e,a={},s=o||{};return Ye(n)&&(a.locale=n),yn(r)&&(a.plural=r),yn(i)&&(a.plural=i),[t,s,a]}function fA(e,t,...n){const o=gt(n[0])?n[0]:{},r=!!o.useI18nComponentName;(St(o.globalInstall)?o.globalInstall:!0)&&([r?"i18n":Kv.name,"I18nT"].forEach(a=>e.component(a,Kv)),[Gv.name,"I18nN"].forEach(a=>e.component(a,Gv)),[Yv.name,"I18nD"].forEach(a=>e.component(a,Yv))),e.directive("t",dA(t))}function hA(e,t,n){return{beforeCreate(){const o=to();if(!o)throw kn(Cn.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const i=r.i18n;if(r.__i18n&&(i.__i18n=r.__i18n),i.__root=t,this===this.$root)this.$i18n=Jv(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=ah(i);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=Jv(e,r);else{this.$i18n=ah({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&WC(t,r,r),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,a)=>this.$i18n.te(i,a),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const o=to();if(!o)throw kn(Cn.UNEXPECTED_ERROR);const r=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),n.__deleteInstance(o),delete this.$i18n}}}function Jv(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[HC](t.pluralizationRules||e.pluralizationRules);const n=yu(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const pA=Yr("global-vue-i18n");function mA(e={},t){const n=__VUE_I18N_LEGACY_API__&&St(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=St(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,i=new Map,[a,s]=gA(e,n),l=Yr("");function c(f){return i.get(f)||null}function u(f,h){i.set(f,h)}function d(f){i.delete(f)}{const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return r},async install(h,...p){if(h.__VUE_I18N_SYMBOL__=l,h.provide(h.__VUE_I18N_SYMBOL__,f),gt(p[0])){const b=p[0];f.__composerExtend=b.__composerExtend,f.__vueI18nExtend=b.__vueI18nExtend}let g=null;!n&&o&&(g=kA(h,f.global)),__VUE_I18N_FULL_INSTALL__&&fA(h,f,...p),__VUE_I18N_LEGACY_API__&&n&&h.mixin(hA(s,s.__composer,f));const m=h.unmount;h.unmount=()=>{g&&g(),f.dispose(),m()}},get global(){return s},dispose(){a.stop()},__instances:i,__getInstance:c,__setInstance:u,__deleteInstance:d};return f}}function Mp(e={}){const t=to();if(t==null)throw kn(Cn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw kn(Cn.NOT_INSTALLED);const n=vA(t),o=yA(n),r=VC(t),i=bA(e,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw kn(Cn.NOT_AVAILABLE_IN_LEGACY_MODE);return _A(t,i,o,e)}if(i==="global")return WC(o,e,r),o;if(i==="parent"){let l=xA(n,t,e.__useComponent);return l==null&&(l=o),l}const a=n;let s=a.__getInstance(t);if(s==null){const l=Pn({},e);"__i18n"in r&&(l.__i18n=r.__i18n),o&&(l.__root=o),s=Ip(l),a.__composerExtend&&(s[ih]=a.__composerExtend(s)),wA(a,t,s),a.__setInstance(t,s)}return s}function gA(e,t,n){const o=Xh();{const r=__VUE_I18N_LEGACY_API__&&t?o.run(()=>ah(e)):o.run(()=>Ip(e));if(r==null)throw kn(Cn.UNEXPECTED_ERROR);return[o,r]}}function vA(e){{const t=Ue(e.isCE?pA:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw kn(e.isCE?Cn.NOT_INSTALLED_WITH_PROVIDE:Cn.UNEXPECTED_ERROR);return t}}function bA(e,t){return gu(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function yA(e){return e.mode==="composition"?e.global:e.global.__composer}function xA(e,t,n=!1){let o=null;const r=t.root;let i=CA(t,n);for(;i!=null;){const a=e;if(e.mode==="composition")o=a.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const s=a.__getInstance(i);s!=null&&(o=s.__composer,n&&o&&!o[jC]&&(o=null))}if(o!=null||r===i)break;i=i.parent}return o}function CA(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function wA(e,t,n){jt(()=>{},t),Ma(()=>{const o=n;e.__deleteInstance(t);const r=o[ih];r&&(r(),delete o[ih])},t)}function _A(e,t,n,o={}){const r=t==="local",i=Oa(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw kn(Cn.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=St(o.inheritLocale)?o.inheritLocale:!Ye(o.locale),s=W(!r||a?n.locale.value:Ye(o.locale)?o.locale:Pa),l=W(!r||a?n.fallbackLocale.value:Ye(o.fallbackLocale)||tn(o.fallbackLocale)||gt(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:s.value),c=W(yu(s.value,o)),u=W(gt(o.datetimeFormats)?o.datetimeFormats:{[s.value]:{}}),d=W(gt(o.numberFormats)?o.numberFormats:{[s.value]:{}}),f=r?n.missingWarn:St(o.missingWarn)||Nr(o.missingWarn)?o.missingWarn:!0,h=r?n.fallbackWarn:St(o.fallbackWarn)||Nr(o.fallbackWarn)?o.fallbackWarn:!0,p=r?n.fallbackRoot:St(o.fallbackRoot)?o.fallbackRoot:!0,g=!!o.fallbackFormat,m=Yt(o.missing)?o.missing:null,b=Yt(o.postTranslation)?o.postTranslation:null,_=r?n.warnHtmlMessage:St(o.warnHtmlMessage)?o.warnHtmlMessage:!0,C=!!o.escapeParameter,S=r?n.modifiers:gt(o.modifiers)?o.modifiers:{},w=o.pluralRules||r&&n.pluralRules;function x(){return[s.value,l.value,c.value,u.value,d.value]}const y=F({get:()=>i.value?i.value.locale.value:s.value,set:O=>{i.value&&(i.value.locale.value=O),s.value=O}}),P=F({get:()=>i.value?i.value.fallbackLocale.value:l.value,set:O=>{i.value&&(i.value.fallbackLocale.value=O),l.value=O}}),k=F(()=>i.value?i.value.messages.value:c.value),T=F(()=>u.value),E=F(()=>d.value);function R(){return i.value?i.value.getPostTranslationHandler():b}function K(O){i.value&&i.value.setPostTranslationHandler(O)}function N(){return i.value?i.value.getMissingHandler():m}function D(O){i.value&&i.value.setMissingHandler(O)}function M(O){return x(),O()}function G(...O){return i.value?M(()=>Reflect.apply(i.value.t,null,[...O])):M(()=>"")}function J(...O){return i.value?Reflect.apply(i.value.rt,null,[...O]):""}function he(...O){return i.value?M(()=>Reflect.apply(i.value.d,null,[...O])):M(()=>"")}function pe(...O){return i.value?M(()=>Reflect.apply(i.value.n,null,[...O])):M(()=>"")}function B(O){return i.value?i.value.tm(O):{}}function $(O,oe){return i.value?i.value.te(O,oe):!1}function A(O){return i.value?i.value.getLocaleMessage(O):{}}function Y(O,oe){i.value&&(i.value.setLocaleMessage(O,oe),c.value[O]=oe)}function ne(O,oe){i.value&&i.value.mergeLocaleMessage(O,oe)}function fe(O){return i.value?i.value.getDateTimeFormat(O):{}}function Q(O,oe){i.value&&(i.value.setDateTimeFormat(O,oe),u.value[O]=oe)}function xe(O,oe){i.value&&i.value.mergeDateTimeFormat(O,oe)}function H(O){return i.value?i.value.getNumberFormat(O):{}}function ye(O,oe){i.value&&(i.value.setNumberFormat(O,oe),d.value[O]=oe)}function Oe(O,oe){i.value&&i.value.mergeNumberFormat(O,oe)}const Ne={get id(){return i.value?i.value.id:-1},locale:y,fallbackLocale:P,messages:k,datetimeFormats:T,numberFormats:E,get inheritLocale(){return i.value?i.value.inheritLocale:a},set inheritLocale(O){i.value&&(i.value.inheritLocale=O)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(c.value)},get modifiers(){return i.value?i.value.modifiers:S},get pluralRules(){return i.value?i.value.pluralRules:w},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:f},set missingWarn(O){i.value&&(i.value.missingWarn=O)},get fallbackWarn(){return i.value?i.value.fallbackWarn:h},set fallbackWarn(O){i.value&&(i.value.missingWarn=O)},get fallbackRoot(){return i.value?i.value.fallbackRoot:p},set fallbackRoot(O){i.value&&(i.value.fallbackRoot=O)},get fallbackFormat(){return i.value?i.value.fallbackFormat:g},set fallbackFormat(O){i.value&&(i.value.fallbackFormat=O)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:_},set warnHtmlMessage(O){i.value&&(i.value.warnHtmlMessage=O)},get escapeParameter(){return i.value?i.value.escapeParameter:C},set escapeParameter(O){i.value&&(i.value.escapeParameter=O)},t:G,getPostTranslationHandler:R,setPostTranslationHandler:K,getMissingHandler:N,setMissingHandler:D,rt:J,d:he,n:pe,tm:B,te:$,getLocaleMessage:A,setLocaleMessage:Y,mergeLocaleMessage:ne,getDateTimeFormat:fe,setDateTimeFormat:Q,mergeDateTimeFormat:xe,getNumberFormat:H,setNumberFormat:ye,mergeNumberFormat:Oe};function L(O){O.locale.value=s.value,O.fallbackLocale.value=l.value,Object.keys(c.value).forEach(oe=>{O.mergeLocaleMessage(oe,c.value[oe])}),Object.keys(u.value).forEach(oe=>{O.mergeDateTimeFormat(oe,u.value[oe])}),Object.keys(d.value).forEach(oe=>{O.mergeNumberFormat(oe,d.value[oe])}),O.escapeParameter=C,O.fallbackFormat=g,O.fallbackRoot=p,O.fallbackWarn=h,O.missingWarn=f,O.warnHtmlMessage=_}return hn(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw kn(Cn.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const O=i.value=e.proxy.$i18n.__composer;t==="global"?(s.value=O.locale.value,l.value=O.fallbackLocale.value,c.value=O.messages.value,u.value=O.datetimeFormats.value,d.value=O.numberFormats.value):r&&L(O)}),Ne}const SA=["locale","fallbackLocale","availableLocales"],Qv=["t","rt","d","n","tm","te"];function kA(e,t){const n=Object.create(null);return SA.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i)throw kn(Cn.UNEXPECTED_ERROR);const a=cn(i.value)?{get(){return i.value.value},set(s){i.value.value=s}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,r,a)}),e.config.globalProperties.$i18n=n,Qv.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i||!i.value)throw kn(Cn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,i)}),()=>{delete e.config.globalProperties.$i18n,Qv.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}tA();__INTLIFY_JIT_COMPILATION__?Iv(Y$):Iv(G$);B$(x$);N$(TC);if(__INTLIFY_PROD_DEVTOOLS__){const e=ir();e.__INTLIFY__=!0,E$(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const KC="locale";function xu(){return il.get(KC)}function GC(e){il.set(KC,e)}const YC=Object.keys(Object.assign({"./lang/en-US.json":()=>wt(()=>Promise.resolve().then(()=>Bk),void 0),"./lang/fa-IR.json":()=>wt(()=>Promise.resolve().then(()=>Nk),void 0),"./lang/ja-JP.json":()=>wt(()=>Promise.resolve().then(()=>Hk),void 0),"./lang/ko-KR.json":()=>wt(()=>Promise.resolve().then(()=>jk),void 0),"./lang/vi-VN.json":()=>wt(()=>Promise.resolve().then(()=>Vk),void 0),"./lang/zh-CN.json":()=>wt(()=>Promise.resolve().then(()=>Wk),void 0),"./lang/zh-TW.json":()=>wt(()=>Promise.resolve().then(()=>Uk),void 0)})).map(e=>e.slice(7,-5));function PA(){const e=navigator.language,t="zh-CN",o=YC.includes(e)?e:t;return xu().value||GC(o),o}const mn=mA({locale:xu().value||PA(),fallbackLocale:"en-US",messages:{}});async function TA(){await Promise.all(YC.map(async e=>{const t=await TE(Object.assign({"./lang/en-US.json":()=>wt(()=>Promise.resolve().then(()=>Bk),void 0),"./lang/fa-IR.json":()=>wt(()=>Promise.resolve().then(()=>Nk),void 0),"./lang/ja-JP.json":()=>wt(()=>Promise.resolve().then(()=>Hk),void 0),"./lang/ko-KR.json":()=>wt(()=>Promise.resolve().then(()=>jk),void 0),"./lang/vi-VN.json":()=>wt(()=>Promise.resolve().then(()=>Vk),void 0),"./lang/zh-CN.json":()=>wt(()=>Promise.resolve().then(()=>Wk),void 0),"./lang/zh-TW.json":()=>wt(()=>Promise.resolve().then(()=>Uk),void 0)}),`./lang/${e}.json`).then(n=>n.default||n);mn.global.setLocaleMessage(e,t)}))}async function RA(e){e.use(mn),TA()}const sh={"zh-CN":"简体中文","zh-TW":"繁體中文","en-US":"English","fa-IR":"Iran","ja-JP":"日本語","vi-VN":"Tiếng Việt","ko-KR":"한국어"},lh=e=>mn.global.t(e);function Wo(e=void 0,t="YYYY-MM-DD HH:mm:ss"){return e==null?"":(e.toString().length===10&&(e=e*1e3),SE(e).format(t))}function zp(e=void 0,t="YYYY-MM-DD"){return Wo(e,t)}function da(e){const t=typeof e=="string"?parseFloat(e):e;return isNaN(t)?"0.00":t.toFixed(2)}function rn(e){const t=typeof e=="string"?parseFloat(e):e;return isNaN(t)?"0.00":(t/100).toFixed(2)}function ma(e){navigator.clipboard?navigator.clipboard.writeText(e).then(()=>{window.$message.success(lh("复制成功"))}).catch(t=>{console.error("复制到剪贴板时出错:",t),eb(e)}):eb(e)}function eb(e){const t=document.createElement("button"),n=new PE(t,{text:()=>e});n.on("success",()=>{window.$message.success(lh("复制成功")),n.destroy()}),n.on("error",()=>{window.$message.error(lh("复制失败")),n.destroy()}),t.click()}function EA(e,t){if(e.length!==t.length)return!1;const n=[...e].sort(),o=[...t].sort();return n.every((r,i)=>r===o[i])}function Ps(e){const t=e/1024,n=t/1024,o=n/1024,r=o/1024;return r>=1?da(r)+" TB":o>=1?da(o)+" GB":n>=1?da(n)+" MB":da(t)+" KB"}function $A(e){return typeof e>"u"}function AA(e){return e===null}function tb(e){return e&&Array.isArray(e)}function XC(e){return AA(e)||$A(e)}function nb(e){return/^(https?:|mailto:|tel:)/.test(e)}const Ts=/^[a-z0-9]+(-[a-z0-9]+)*$/,Cu=(e,t,n,o="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const s=r.pop(),l=r.pop(),c={provider:r.length>0?r[0]:o,prefix:l,name:s};return t&&!sc(c)?null:c}const i=r[0],a=i.split("-");if(a.length>1){const s={provider:o,prefix:a.shift(),name:a.join("-")};return t&&!sc(s)?null:s}if(n&&o===""){const s={provider:o,prefix:"",name:i};return t&&!sc(s,n)?null:s}return null},sc=(e,t)=>e?!!((e.provider===""||e.provider.match(Ts))&&(t&&e.prefix===""||e.prefix.match(Ts))&&e.name.match(Ts)):!1,ZC=Object.freeze({left:0,top:0,width:16,height:16}),Pc=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),wu=Object.freeze({...ZC,...Pc}),ch=Object.freeze({...wu,body:"",hidden:!1});function IA(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}function ob(e,t){const n=IA(e,t);for(const o in ch)o in Pc?o in e&&!(o in n)&&(n[o]=Pc[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function OA(e,t){const n=e.icons,o=e.aliases||Object.create(null),r=Object.create(null);function i(a){if(n[a])return r[a]=[];if(!(a in r)){r[a]=null;const s=o[a]&&o[a].parent,l=s&&i(s);l&&(r[a]=[s].concat(l))}return r[a]}return(t||Object.keys(n).concat(Object.keys(o))).forEach(i),r}function MA(e,t,n){const o=e.icons,r=e.aliases||Object.create(null);let i={};function a(s){i=ob(o[s]||r[s],i)}return a(t),n.forEach(a),ob(e,i)}function JC(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(r=>{t(r,null),n.push(r)});const o=OA(e);for(const r in o){const i=o[r];i&&(t(r,MA(e,r,i)),n.push(r))}return n}const zA={provider:"",aliases:{},not_found:{},...ZC};function Dd(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function QC(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Dd(e,zA))return null;const n=t.icons;for(const r in n){const i=n[r];if(!r.match(Ts)||typeof i.body!="string"||!Dd(i,ch))return null}const o=t.aliases||Object.create(null);for(const r in o){const i=o[r],a=i.parent;if(!r.match(Ts)||typeof a!="string"||!n[a]&&!o[a]||!Dd(i,ch))return null}return t}const rb=Object.create(null);function DA(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function $i(e,t){const n=rb[e]||(rb[e]=Object.create(null));return n[t]||(n[t]=DA(e,t))}function Dp(e,t){return QC(t)?JC(t,(n,o)=>{o?e.icons[n]=o:e.missing.add(n)}):[]}function LA(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Ks=!1;function ew(e){return typeof e=="boolean"&&(Ks=e),Ks}function FA(e){const t=typeof e=="string"?Cu(e,!0,Ks):e;if(t){const n=$i(t.provider,t.prefix),o=t.name;return n.icons[o]||(n.missing.has(o)?null:void 0)}}function BA(e,t){const n=Cu(e,!0,Ks);if(!n)return!1;const o=$i(n.provider,n.prefix);return LA(o,n.name,t)}function NA(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ks&&!t&&!e.prefix){let r=!1;return QC(e)&&(e.prefix="",JC(e,(i,a)=>{a&&BA(i,a)&&(r=!0)})),r}const n=e.prefix;if(!sc({provider:t,prefix:n,name:"a"}))return!1;const o=$i(t,n);return!!Dp(o,e)}const tw=Object.freeze({width:null,height:null}),nw=Object.freeze({...tw,...Pc}),HA=/(-?[0-9.]*[0-9]+[0-9.]*)/g,jA=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ib(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const o=e.split(HA);if(o===null||!o.length)return e;const r=[];let i=o.shift(),a=jA.test(i);for(;;){if(a){const s=parseFloat(i);isNaN(s)?r.push(i):r.push(Math.ceil(s*t*n)/n)}else r.push(i);if(i=o.shift(),i===void 0)return r.join("");a=!a}}function VA(e,t="defs"){let n="";const o=e.indexOf("<"+t);for(;o>=0;){const r=e.indexOf(">",o),i=e.indexOf("",i);if(a===-1)break;n+=e.slice(r+1,i).trim(),e=e.slice(0,o).trim()+e.slice(a+1)}return{defs:n,content:e}}function WA(e,t){return e?""+e+""+t:t}function UA(e,t,n){const o=VA(e);return WA(o.defs,t+o.content+n)}const qA=e=>e==="unset"||e==="undefined"||e==="none";function KA(e,t){const n={...wu,...e},o={...nw,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,o].forEach(g=>{const m=[],b=g.hFlip,_=g.vFlip;let C=g.rotate;b?_?C+=2:(m.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),m.push("scale(-1 1)"),r.top=r.left=0):_&&(m.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),m.push("scale(1 -1)"),r.top=r.left=0);let S;switch(C<0&&(C-=Math.floor(C/4)*4),C=C%4,C){case 1:S=r.height/2+r.top,m.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:m.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:S=r.width/2+r.left,m.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}C%2===1&&(r.left!==r.top&&(S=r.left,r.left=r.top,r.top=S),r.width!==r.height&&(S=r.width,r.width=r.height,r.height=S)),m.length&&(i=UA(i,'',""))});const a=o.width,s=o.height,l=r.width,c=r.height;let u,d;a===null?(d=s===null?"1em":s==="auto"?c:s,u=ib(d,l/c)):(u=a==="auto"?l:a,d=s===null?ib(u,c/l):s==="auto"?c:s);const f={},h=(g,m)=>{qA(m)||(f[g]=m.toString())};h("width",u),h("height",d);const p=[r.left,r.top,l,c];return f.viewBox=p.join(" "),{attributes:f,viewBox:p,body:i}}const GA=/\sid="(\S+)"/g,YA="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let XA=0;function ZA(e,t=YA){const n=[];let o;for(;o=GA.exec(e);)n.push(o[1]);if(!n.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const a=typeof t=="function"?t(i):t+(XA++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+a+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const uh=Object.create(null);function JA(e,t){uh[e]=t}function dh(e){return uh[e]||uh[""]}function Lp(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Fp=Object.create(null),ss=["https://api.simplesvg.com","https://api.unisvg.com"],lc=[];for(;ss.length>0;)ss.length===1||Math.random()>.5?lc.push(ss.shift()):lc.push(ss.pop());Fp[""]=Lp({resources:["https://api.iconify.design"].concat(lc)});function QA(e,t){const n=Lp(t);return n===null?!1:(Fp[e]=n,!0)}function Bp(e){return Fp[e]}const e6=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let ab=e6();function t6(e,t){const n=Bp(e);if(!n)return 0;let o;if(!n.maxURL)o=0;else{let r=0;n.resources.forEach(a=>{r=Math.max(r,a.length)});const i=t+".json?icons=";o=n.maxURL-r-n.path.length-i.length}return o}function n6(e){return e===404}const o6=(e,t,n)=>{const o=[],r=t6(e,t),i="icons";let a={type:i,provider:e,prefix:t,icons:[]},s=0;return n.forEach((l,c)=>{s+=l.length+1,s>=r&&c>0&&(o.push(a),a={type:i,provider:e,prefix:t,icons:[]},s=l.length),a.icons.push(l)}),o.push(a),o};function r6(e){if(typeof e=="string"){const t=Bp(e);if(t)return t.path}return"/"}const i6=(e,t,n)=>{if(!ab){n("abort",424);return}let o=r6(t.provider);switch(t.type){case"icons":{const i=t.prefix,s=t.icons.join(","),l=new URLSearchParams({icons:s});o+=i+".json?"+l.toString();break}case"custom":{const i=t.uri;o+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let r=503;ab(e+o).then(i=>{const a=i.status;if(a!==200){setTimeout(()=>{n(n6(a)?"abort":"next",a)});return}return r=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",r)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",r)})},a6={prepare:o6,send:i6};function s6(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((r,i)=>r.provider!==i.provider?r.provider.localeCompare(i.provider):r.prefix!==i.prefix?r.prefix.localeCompare(i.prefix):r.name.localeCompare(i.name));let o={provider:"",prefix:"",name:""};return e.forEach(r=>{if(o.name===r.name&&o.prefix===r.prefix&&o.provider===r.provider)return;o=r;const i=r.provider,a=r.prefix,s=r.name,l=n[i]||(n[i]=Object.create(null)),c=l[a]||(l[a]=$i(i,a));let u;s in c.icons?u=t.loaded:a===""||c.missing.has(s)?u=t.missing:u=t.pending;const d={provider:i,prefix:a,name:s};u.push(d)}),t}function ow(e,t){e.forEach(n=>{const o=n.loaderCallbacks;o&&(n.loaderCallbacks=o.filter(r=>r.id!==t))})}function l6(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const o=e.provider,r=e.prefix;t.forEach(i=>{const a=i.icons,s=a.pending.length;a.pending=a.pending.filter(l=>{if(l.prefix!==r)return!0;const c=l.name;if(e.icons[c])a.loaded.push({provider:o,prefix:r,name:c});else if(e.missing.has(c))a.missing.push({provider:o,prefix:r,name:c});else return n=!0,!0;return!1}),a.pending.length!==s&&(n||ow([e],i.id),i.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),i.abort))})}))}let c6=0;function u6(e,t,n){const o=c6++,r=ow.bind(null,n,o);if(!t.pending.length)return r;const i={id:o,icons:t,callback:e,abort:r};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(i)}),r}function d6(e,t=!0,n=!1){const o=[];return e.forEach(r=>{const i=typeof r=="string"?Cu(r,t,n):r;i&&o.push(i)}),o}var f6={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function h6(e,t,n,o){const r=e.resources.length,i=e.random?Math.floor(Math.random()*r):e.index;let a;if(e.random){let x=e.resources.slice(0);for(a=[];x.length>1;){const y=Math.floor(Math.random()*x.length);a.push(x[y]),x=x.slice(0,y).concat(x.slice(y+1))}a=a.concat(x)}else a=e.resources.slice(i).concat(e.resources.slice(0,i));const s=Date.now();let l="pending",c=0,u,d=null,f=[],h=[];typeof o=="function"&&h.push(o);function p(){d&&(clearTimeout(d),d=null)}function g(){l==="pending"&&(l="aborted"),p(),f.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),f=[]}function m(x,y){y&&(h=[]),typeof x=="function"&&h.push(x)}function b(){return{startTime:s,payload:t,status:l,queriesSent:c,queriesPending:f.length,subscribe:m,abort:g}}function _(){l="failed",h.forEach(x=>{x(void 0,u)})}function C(){f.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),f=[]}function S(x,y,P){const k=y!=="success";switch(f=f.filter(T=>T!==x),l){case"pending":break;case"failed":if(k||!e.dataAfterTimeout)return;break;default:return}if(y==="abort"){u=P,_();return}if(k){u=P,f.length||(a.length?w():_());return}if(p(),C(),!e.random){const T=e.resources.indexOf(x.resource);T!==-1&&T!==e.index&&(e.index=T)}l="completed",h.forEach(T=>{T(P)})}function w(){if(l!=="pending")return;p();const x=a.shift();if(x===void 0){if(f.length){d=setTimeout(()=>{p(),l==="pending"&&(C(),_())},e.timeout);return}_();return}const y={status:"pending",resource:x,callback:(P,k)=>{S(y,P,k)}};f.push(y),c++,d=setTimeout(w,e.rotate),n(x,t,y.callback)}return setTimeout(w),b}function rw(e){const t={...f6,...e};let n=[];function o(){n=n.filter(s=>s().status==="pending")}function r(s,l,c){const u=h6(t,s,l,(d,f)=>{o(),c&&c(d,f)});return n.push(u),u}function i(s){return n.find(l=>s(l))||null}return{query:r,find:i,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:o}}function sb(){}const Ld=Object.create(null);function p6(e){if(!Ld[e]){const t=Bp(e);if(!t)return;const n=rw(t),o={config:t,redundancy:n};Ld[e]=o}return Ld[e]}function m6(e,t,n){let o,r;if(typeof e=="string"){const i=dh(e);if(!i)return n(void 0,424),sb;r=i.send;const a=p6(e);a&&(o=a.redundancy)}else{const i=Lp(e);if(i){o=rw(i);const a=e.resources?e.resources[0]:"",s=dh(a);s&&(r=s.send)}}return!o||!r?(n(void 0,424),sb):o.query(t,r,n)().abort}const lb="iconify2",Gs="iconify",iw=Gs+"-count",cb=Gs+"-version",aw=36e5,g6=168,v6=50;function fh(e,t){try{return e.getItem(t)}catch{}}function Np(e,t,n){try{return e.setItem(t,n),!0}catch{}}function ub(e,t){try{e.removeItem(t)}catch{}}function hh(e,t){return Np(e,iw,t.toString())}function ph(e){return parseInt(fh(e,iw))||0}const _u={local:!0,session:!0},sw={local:new Set,session:new Set};let Hp=!1;function b6(e){Hp=e}let El=typeof window>"u"?{}:window;function lw(e){const t=e+"Storage";try{if(El&&El[t]&&typeof El[t].length=="number")return El[t]}catch{}_u[e]=!1}function cw(e,t){const n=lw(e);if(!n)return;const o=fh(n,cb);if(o!==lb){if(o){const s=ph(n);for(let l=0;l{const l=Gs+s.toString(),c=fh(n,l);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>r&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,s))return!0}catch{}ub(n,l)}};let a=ph(n);for(let s=a-1;s>=0;s--)i(s)||(s===a-1?(a--,hh(n,a)):sw[e].add(s))}function uw(){if(!Hp){b6(!0);for(const e in _u)cw(e,t=>{const n=t.data,o=t.provider,r=n.prefix,i=$i(o,r);if(!Dp(i,n).length)return!1;const a=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,a):a,!0})}}function y6(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const o in _u)cw(o,r=>{const i=r.data;return r.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function x6(e,t){Hp||uw();function n(o){let r;if(!_u[o]||!(r=lw(o)))return;const i=sw[o];let a;if(i.size)i.delete(a=Array.from(i).shift());else if(a=ph(r),a>=v6||!hh(r,a+1))return;const s={cached:Math.floor(Date.now()/aw),provider:e.provider,data:t};return Np(r,Gs+a.toString(),JSON.stringify(s))}t.lastModified&&!y6(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function db(){}function C6(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,l6(e)}))}function w6(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:o}=e,r=e.iconsToLoad;delete e.iconsToLoad;let i;if(!r||!(i=dh(n)))return;i.prepare(n,o,r).forEach(s=>{m6(n,s,l=>{if(typeof l!="object")s.icons.forEach(c=>{e.missing.add(c)});else try{const c=Dp(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(d=>{u.delete(d)}),x6(e,l)}catch(c){console.error(c)}C6(e)})})}))}const _6=(e,t)=>{const n=d6(e,!0,ew()),o=s6(n);if(!o.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(o.loaded,o.missing,o.pending,db)}),()=>{l=!1}}const r=Object.create(null),i=[];let a,s;return o.pending.forEach(l=>{const{provider:c,prefix:u}=l;if(u===s&&c===a)return;a=c,s=u,i.push($i(c,u));const d=r[c]||(r[c]=Object.create(null));d[u]||(d[u]=[])}),o.pending.forEach(l=>{const{provider:c,prefix:u,name:d}=l,f=$i(c,u),h=f.pendingIcons||(f.pendingIcons=new Set);h.has(d)||(h.add(d),r[c][u].push(d))}),i.forEach(l=>{const{provider:c,prefix:u}=l;r[c][u].length&&w6(l,r[c][u])}),t?u6(t,o,i):db};function S6(e,t){const n={...e};for(const o in t){const r=t[o],i=typeof r;o in tw?(r===null||r&&(i==="string"||i==="number"))&&(n[o]=r):i===typeof n[o]&&(n[o]=o==="rotate"?r%4:r)}return n}const k6=/[\s,]+/;function P6(e,t){t.split(k6).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function T6(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(e);return isNaN(r)?0:o(r)}else if(n!==e){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/r,i%1===0?o(i):0)}}return t}function R6(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)n+=" "+o+'="'+t[o]+'"';return'"+e+""}function E6(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function $6(e){return"data:image/svg+xml,"+E6(e)}function A6(e){return'url("'+$6(e)+'")'}const fb={...nw,inline:!1},I6={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},O6={display:"inline-block"},mh={backgroundColor:"currentColor"},dw={backgroundColor:"transparent"},hb={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},pb={webkitMask:mh,mask:mh,background:dw};for(const e in pb){const t=pb[e];for(const n in hb)t[e+n]=hb[n]}const cc={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";cc[e+"-flip"]=t,cc[e.slice(0,1)+"-flip"]=t,cc[e+"Flip"]=t});function mb(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const gb=(e,t)=>{const n=S6(fb,t),o={...I6},r=t.mode||"svg",i={},a=t.style,s=typeof a=="object"&&!(a instanceof Array)?a:{};for(let g in t){const m=t[g];if(m!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[g]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&P6(n,m);break;case"color":i.color=m;break;case"rotate":typeof m=="string"?n[g]=T6(m):typeof m=="number"&&(n[g]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete o["aria-hidden"];break;default:{const b=cc[g];b?(m===!0||m==="true"||m===1)&&(n[b]=!0):fb[g]===void 0&&(o[g]=m)}}}const l=KA(e,n),c=l.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),r==="svg"){o.style={...i,...s},Object.assign(o,c);let g=0,m=t.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),o.innerHTML=ZA(l.body,m?()=>m+"ID"+g++:"iconifyVue"),v("svg",o)}const{body:u,width:d,height:f}=e,h=r==="mask"||(r==="bg"?!1:u.indexOf("currentColor")!==-1),p=R6(u,{...c,width:d+"",height:f+""});return o.style={...i,"--svg":A6(p),width:mb(c.width),height:mb(c.height),...O6,...h?mh:dw,...s},v("span",o)};ew(!0);JA("",a6);if(typeof document<"u"&&typeof window<"u"){uw();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!NA(o))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const o="IconifyProviders["+n+"] is invalid.";try{const r=t[n];if(typeof r!="object"||!r||r.resources===void 0)continue;QA(n,r)||console.error(o)}catch{console.error(o)}}}}const M6={...wu,body:""},z6=be({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=Cu(e,!1,!0))===null)return this.abortLoading(),null;const o=FA(n);if(!o)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",o!==null&&(this._loadingIcon={name:e,abort:_6([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const r=["iconify"];return n.prefix!==""&&r.push("iconify--"+n.prefix),n.provider!==""&&r.push("iconify--"+n.provider),{data:o,classes:r}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted||e.ssr?this.getIcon(e.icon,e.onLoad):null;if(!t)return gb(M6,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),gb({...wu,...t.data},n)}});let Tc=[];const fw=new WeakMap;function D6(){Tc.forEach(e=>e(...fw.get(e))),Tc=[]}function Rc(e,...t){fw.set(e,t),!Tc.includes(e)&&Tc.push(e)===1&&requestAnimationFrame(D6)}function L6(e){return e.nodeType===9?null:e.parentNode}function hw(e){if(e===null)return null;const t=L6(e);if(t===null)return null;if(t.nodeType===9)return document.documentElement;if(t.nodeType===1){const{overflow:n,overflowX:o,overflowY:r}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(n+r+o))return t}return hw(t)}function F6(e){return typeof e=="string"?document.querySelector(e):typeof e=="function"?e():e}function so(e,t){let{target:n}=e;for(;n;){if(n.dataset&&n.dataset[t]!==void 0)return!0;n=n.parentElement}return!1}function Ai(e){return e.composedPath()[0]||null}function bn(e){return typeof e=="string"?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function zn(e){if(e!=null)return typeof e=="number"?`${e}px`:e.endsWith("px")?e:`${e}px`}function lo(e,t){const n=e.trim().split(/\s+/g),o={top:n[0]};switch(n.length){case 1:o.right=n[0],o.bottom=n[0],o.left=n[0];break;case 2:o.right=n[1],o.left=n[1],o.bottom=n[0];break;case 3:o.right=n[1],o.bottom=n[2],o.left=n[1];break;case 4:o.right=n[1],o.bottom=n[2],o.left=n[3];break;default:throw new Error("[seemly/getMargin]:"+e+" is not a valid value.")}return t===void 0?o:o[t]}function B6(e,t){const[n,o]=e.split(" ");return t?t==="row"?n:o:{row:n,col:o||n}}const vb={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},Na="^\\s*",Ha="\\s*$",gi="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",vi="([0-9A-Fa-f])",bi="([0-9A-Fa-f]{2})",N6=new RegExp(`${Na}rgb\\s*\\(${gi},${gi},${gi}\\)${Ha}`),H6=new RegExp(`${Na}rgba\\s*\\(${gi},${gi},${gi},${gi}\\)${Ha}`),j6=new RegExp(`${Na}#${vi}${vi}${vi}${Ha}`),V6=new RegExp(`${Na}#${bi}${bi}${bi}${Ha}`),W6=new RegExp(`${Na}#${vi}${vi}${vi}${vi}${Ha}`),U6=new RegExp(`${Na}#${bi}${bi}${bi}${bi}${Ha}`);function Bn(e){return parseInt(e,16)}function Uo(e){try{let t;if(t=V6.exec(e))return[Bn(t[1]),Bn(t[2]),Bn(t[3]),1];if(t=N6.exec(e))return[En(t[1]),En(t[5]),En(t[9]),1];if(t=H6.exec(e))return[En(t[1]),En(t[5]),En(t[9]),Rs(t[13])];if(t=j6.exec(e))return[Bn(t[1]+t[1]),Bn(t[2]+t[2]),Bn(t[3]+t[3]),1];if(t=U6.exec(e))return[Bn(t[1]),Bn(t[2]),Bn(t[3]),Rs(Bn(t[4])/255)];if(t=W6.exec(e))return[Bn(t[1]+t[1]),Bn(t[2]+t[2]),Bn(t[3]+t[3]),Rs(Bn(t[4]+t[4])/255)];if(e in vb)return Uo(vb[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function q6(e){return e>1?1:e<0?0:e}function gh(e,t,n,o){return`rgba(${En(e)}, ${En(t)}, ${En(n)}, ${q6(o)})`}function Fd(e,t,n,o,r){return En((e*t*(1-o)+n*o)/r)}function Ge(e,t){Array.isArray(e)||(e=Uo(e)),Array.isArray(t)||(t=Uo(t));const n=e[3],o=t[3],r=Rs(n+o-n*o);return gh(Fd(e[0],n,t[0],o,r),Fd(e[1],n,t[1],o,r),Fd(e[2],n,t[2],o,r),r)}function Me(e,t){const[n,o,r,i=1]=Array.isArray(e)?e:Uo(e);return t.alpha?gh(n,o,r,t.alpha):gh(n,o,r,i)}function un(e,t){const[n,o,r,i=1]=Array.isArray(e)?e:Uo(e),{lightness:a=1,alpha:s=1}=t;return K6([n*a,o*a,r*a,i*s])}function Rs(e){const t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function En(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function K6(e){const[t,n,o]=e;return 3 in e?`rgba(${En(t)}, ${En(n)}, ${En(o)}, ${Rs(e[3])})`:`rgba(${En(t)}, ${En(n)}, ${En(o)}, 1)`}function Zr(e=8){return Math.random().toString(16).slice(2,2+e)}function pw(e,t){const n=[];for(let o=0;o{o[r]=e[r]}),Object.assign(o,n)}function ja(e,t=[],n){const o={};return Object.getOwnPropertyNames(e).forEach(i=>{t.includes(i)||(o[i]=e[i])}),Object.assign(o,n)}function Ra(e,t=!0,n=[]){return e.forEach(o=>{if(o!==null){if(typeof o!="object"){(typeof o=="string"||typeof o=="number")&&n.push(nt(String(o)));return}if(Array.isArray(o)){Ra(o,t,n);return}if(o.type===it){if(o.children===null)return;Array.isArray(o.children)&&Ra(o.children,t,n)}else{if(o.type===_n&&t)return;n.push(o)}}}),n}function $e(e,...t){if(Array.isArray(e))e.forEach(n=>$e(n,...t));else return e(...t)}function Jr(e){return Object.keys(e)}function Wt(e,...t){return typeof e=="function"?e(...t):typeof e=="string"?nt(e):typeof e=="number"?nt(String(e)):null}function lr(e,t){console.error(`[naive/${e}]: ${t}`)}function fr(e,t){throw new Error(`[naive/${e}]: ${t}`)}function bb(e){switch(e){case"tiny":return"mini";case"small":return"tiny";case"medium":return"small";case"large":return"medium";case"huge":return"large"}throw new Error(`${e} has no smaller size.`)}function yb(e){switch(typeof e){case"string":return e||void 0;case"number":return String(e);default:return}}function vh(e,t="default",n=void 0){const o=e[t];if(!o)return lr("getFirstSlotVNode",`slot[${t}] is empty`),null;const r=Ra(o(n));return r.length===1?r[0]:(lr("getFirstSlotVNode",`slot[${t}] should have exactly one child`),null)}function gw(e){return t=>{t?e.value=t.$el:e.value=null}}function _o(e){return e.some(t=>Hs(t)?!(t.type===_n||t.type===it&&!_o(t.children)):!0)?e:null}function An(e,t){return e&&_o(e())||t()}function bh(e,t,n){return e&&_o(e(t))||n(t)}function $t(e,t){const n=e&&_o(e());return t(n||null)}function ga(e){return!(e&&_o(e()))}function Es(e){const t=e.filter(n=>n!==void 0);if(t.length!==0)return t.length===1?t[0]:n=>{e.forEach(o=>{o&&o(n)})}}const yh=be({render(){var e,t;return(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)}}),Y6=/^(\d|\.)+$/,xb=/(\d|\.)+/;function qt(e,{c:t=1,offset:n=0,attachPx:o=!0}={}){if(typeof e=="number"){const r=(e+n)*t;return r===0?"0":`${r}px`}else if(typeof e=="string")if(Y6.test(e)){const r=(Number(e)+n)*t;return o?r===0?"0":`${r}px`:`${r}`}else{const r=xb.exec(e);return r?e.replace(xb,String((Number(r[0])+n)*t)):e}return e}function Ec(e){return e.replace(/#|\(|\)|,|\s|\./g,"_")}function X6(e){const{left:t,right:n,top:o,bottom:r}=lo(e);return`${o} ${n} ${r} ${t}`}function Z6(e){let t=0;for(let n=0;n{let r=Z6(o);if(r){if(r===1){e.forEach(a=>{n.push(o.replace("&",a))});return}}else{e.forEach(a=>{n.push((a&&a+" ")+o)});return}let i=[o];for(;r--;){const a=[];i.forEach(s=>{e.forEach(l=>{a.push(s.replace("&",l))})}),i=a}i.forEach(a=>n.push(a))}),n}function e8(e,t){const n=[];return t.split(vw).forEach(o=>{e.forEach(r=>{n.push((r&&r+" ")+o)})}),n}function t8(e){let t=[""];return e.forEach(n=>{n=n&&n.trim(),n&&(n.includes("&")?t=Q6(t,n):t=e8(t,n))}),t.join(", ").replace(J6," ")}function Cb(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function Su(e){return document.querySelector(`style[cssr-id="${e}"]`)}function n8(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function $l(e){return e?/^\s*@(s|m)/.test(e):!1}const o8=/[A-Z]/g;function bw(e){return e.replace(o8,t=>"-"+t.toLowerCase())}function r8(e,t=" "){return typeof e=="object"&&e!==null?` { +`+Object.entries(e).map(n=>t+` ${bw(n[0])}: ${n[1]};`).join(` `)+` -`+t+"}":`: ${e};`}function m6(e,t,n){return typeof e=="function"?e({context:t.context,props:n}):e}function ib(e,t,n,o){if(!t)return"";const r=m6(t,n,o);if(!r)return"";if(typeof r=="string")return`${e} { +`+t+"}":`: ${e};`}function i8(e,t,n){return typeof e=="function"?e({context:t.context,props:n}):e}function wb(e,t,n,o){if(!t)return"";const r=i8(t,n,o);if(!r)return"";if(typeof r=="string")return`${e} { ${r} }`;const i=Object.keys(r);if(i.length===0)return n.config.keepEmptyBlock?e+` { }`:"";const a=e?[e+" {"]:[];return i.forEach(s=>{const l=r[s];if(s==="raw"){a.push(` `+l+` -`);return}s=UC(s),l!=null&&a.push(` ${s}${p6(l)}`)}),e&&a.push("}"),a.join(` -`)}function sh(e,t,n){e&&e.forEach(o=>{if(Array.isArray(o))sh(o,t,n);else if(typeof o=="function"){const r=o(t);Array.isArray(r)?sh(r,t,n):r&&n(r)}else o&&n(o)})}function qC(e,t,n,o,r,i){const a=e.$;let s="";if(!a||typeof a=="string")Rl(a)?s=a:t.push(a);else if(typeof a=="function"){const u=a({context:o.context,props:r});Rl(u)?s=u:t.push(u)}else if(a.before&&a.before(o.context),!a.$||typeof a.$=="string")Rl(a.$)?s=a.$:t.push(a.$);else if(a.$){const u=a.$({context:o.context,props:r});Rl(u)?s=u:t.push(u)}const l=d6(t),c=ib(l,e.props,o,r);s?(n.push(`${s} {`),i&&c&&i.insertRule(`${s} { +`);return}s=bw(s),l!=null&&a.push(` ${s}${r8(l)}`)}),e&&a.push("}"),a.join(` +`)}function xh(e,t,n){e&&e.forEach(o=>{if(Array.isArray(o))xh(o,t,n);else if(typeof o=="function"){const r=o(t);Array.isArray(r)?xh(r,t,n):r&&n(r)}else o&&n(o)})}function yw(e,t,n,o,r,i){const a=e.$;let s="";if(!a||typeof a=="string")$l(a)?s=a:t.push(a);else if(typeof a=="function"){const u=a({context:o.context,props:r});$l(u)?s=u:t.push(u)}else if(a.before&&a.before(o.context),!a.$||typeof a.$=="string")$l(a.$)?s=a.$:t.push(a.$);else if(a.$){const u=a.$({context:o.context,props:r});$l(u)?s=u:t.push(u)}const l=t8(t),c=wb(l,e.props,o,r);s?(n.push(`${s} {`),i&&c&&i.insertRule(`${s} { ${c} } -`)):(i&&c&&i.insertRule(c),!i&&c.length&&n.push(c)),e.children&&sh(e.children,{context:o.context,props:r},u=>{if(typeof u=="string"){const d=ib(l,{raw:u},o,r);i?i.insertRule(d):n.push(d)}else qC(u,t,n,o,r,i)}),t.pop(),s&&n.push("}"),a&&a.after&&a.after(o.context)}function KC(e,t,n,o=!1){const r=[];return qC(e,[],r,t,n,o?e.instance.__styleSheet:void 0),o?"":r.join(` +`)):(i&&c&&i.insertRule(c),!i&&c.length&&n.push(c)),e.children&&xh(e.children,{context:o.context,props:r},u=>{if(typeof u=="string"){const d=wb(l,{raw:u},o,r);i?i.insertRule(d):n.push(d)}else yw(u,t,n,o,r,i)}),t.pop(),s&&n.push("}"),a&&a.after&&a.after(o.context)}function xw(e,t,n,o=!1){const r=[];return yw(e,[],r,t,n,o?e.instance.__styleSheet:void 0),o?"":r.join(` -`)}function Us(e){for(var t=0,n,o=0,r=e.length;r>=4;++o,r-=4)n=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(r){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}typeof window<"u"&&(window.__cssrContext={});function g6(e,t,n){const{els:o}=t;if(n===void 0)o.forEach(rb),t.els=[];else{const r=xu(n);r&&o.includes(r)&&(rb(r),t.els=o.filter(i=>i!==r))}}function ab(e,t){e.push(t)}function v6(e,t,n,o,r,i,a,s,l){if(i&&!l){if(n===void 0){console.error("[css-render/mount]: `id` is required in `silent` mode.");return}const f=window.__cssrContext;f[n]||(f[n]=!0,KC(t,e,o,i));return}let c;if(n===void 0&&(c=t.render(o),n=Us(c)),l){l.adapter(n,c??t.render(o));return}const u=xu(n);if(u!==null&&!a)return u;const d=u??f6(n);if(c===void 0&&(c=t.render(o)),d.textContent=c,u!==null)return u;if(s){const f=document.head.querySelector(`meta[name="${s}"]`);if(f)return document.head.insertBefore(d,f),ab(t.els,d),d}return r?document.head.insertBefore(d,document.head.querySelector("style, link")):document.head.appendChild(d),ab(t.els,d),d}function b6(e){return KC(this,this.instance,e)}function y6(e={}){const{id:t,ssr:n,props:o,head:r=!1,silent:i=!1,force:a=!1,anchorMetaName:s}=e;return v6(this.instance,this,t,o,r,i,a,s,n)}function x6(e={}){const{id:t}=e;g6(this.instance,this,t)}const El=function(e,t,n,o){return{instance:e,$:t,props:n,children:o,els:[],render:b6,mount:y6,unmount:x6}},C6=function(e,t,n,o){return Array.isArray(t)?El(e,{$:null},null,t):Array.isArray(n)?El(e,t,null,n):Array.isArray(o)?El(e,t,n,o):El(e,t,n,null)};function GC(e={}){let t=null;const n={c:(...o)=>C6(n,...o),use:(o,...r)=>o.install(n,...r),find:xu,context:{},config:e,get __styleSheet(){if(!t){const o=document.createElement("style");return document.head.appendChild(o),t=document.styleSheets[document.styleSheets.length-1],t}return t}};return n}function w6(e,t){if(e===void 0)return!1;if(t){const{context:{ids:n}}=t;return n.has(e)}return xu(e)!==null}function _6(e){let t=".",n="__",o="--",r;if(e){let h=e.blockPrefix;h&&(t=h),h=e.elementPrefix,h&&(n=h),h=e.modifierPrefix,h&&(o=h)}const i={install(h){r=h.c;const m=h.context;m.bem={},m.bem.b=null,m.bem.els=null}};function a(h){let m,v;return{before(b){m=b.bem.b,v=b.bem.els,b.bem.els=null},after(b){b.bem.b=m,b.bem.els=v},$({context:b,props:w}){return h=typeof h=="string"?h:h({context:b,props:w}),b.bem.b=h,`${(w==null?void 0:w.bPrefix)||t}${b.bem.b}`}}}function s(h){let m;return{before(v){m=v.bem.els},after(v){v.bem.els=m},$({context:v,props:b}){return h=typeof h=="string"?h:h({context:v,props:b}),v.bem.els=h.split(",").map(w=>w.trim()),v.bem.els.map(w=>`${(b==null?void 0:b.bPrefix)||t}${v.bem.b}${n}${w}`).join(", ")}}}function l(h){return{$({context:m,props:v}){h=typeof h=="string"?h:h({context:m,props:v});const b=h.split(",").map(S=>S.trim());function w(S){return b.map(_=>`&${(v==null?void 0:v.bPrefix)||t}${m.bem.b}${S!==void 0?`${n}${S}`:""}${o}${_}`).join(", ")}const C=m.bem.els;return C!==null?w(C[0]):w()}}}function c(h){return{$({context:m,props:v}){h=typeof h=="string"?h:h({context:m,props:v});const b=m.bem.els;return`&:not(${(v==null?void 0:v.bPrefix)||t}${m.bem.b}${b!==null&&b.length>0?`${n}${b[0]}`:""}${o}${h})`}}}return Object.assign(i,{cB:(...h)=>r(a(h[0]),h[1],h[2]),cE:(...h)=>r(s(h[0]),h[1],h[2]),cM:(...h)=>r(l(h[0]),h[1],h[2]),cNotM:(...h)=>r(c(h[0]),h[1],h[2])}),i}const S6="n",qs=`.${S6}-`,k6="__",P6="--",YC=GC(),XC=_6({blockPrefix:qs,elementPrefix:k6,modifierPrefix:P6});YC.use(XC);const{c:q,find:vBe}=YC,{cB:z,cE:V,cM:Z,cNotM:Tt}=XC;function rl(e){return q(({props:{bPrefix:t}})=>`${t||qs}modal, ${t||qs}drawer`,[e])}function Cu(e){return q(({props:{bPrefix:t}})=>`${t||qs}popover`,[e])}function ZC(e){return q(({props:{bPrefix:t}})=>`&${t||qs}modal`,e)}const T6=(...e)=>q(">",[z(...e)]);function Te(e,t){return e+(t==="default"?"":t.replace(/^[a-z]/,n=>n.toUpperCase()))}let Rd;function R6(){return Rd===void 0&&(Rd=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),Rd}const dr=typeof document<"u"&&typeof window<"u",JC=new WeakSet;function E6(e){JC.add(e)}function QC(e){return!JC.has(e)}function $6(e,t,n){if(!t)return e;const o=W(e.value);let r=null;return ft(e,i=>{r!==null&&window.clearTimeout(r),i===!0?n&&!n.value?o.value=!0:r=window.setTimeout(()=>{o.value=!0},t):o.value=!1}),o}function A6(e){const t=W(!!e.value);if(t.value)return io(t);const n=ft(e,o=>{o&&(t.value=!0,n())});return io(t)}function St(e){const t=L(e),n=W(t.value);return ft(t,o=>{n.value=o}),typeof e=="function"?n:{__v_isRef:!0,get value(){return n.value},set value(o){e.set(o)}}}function Rp(){return Jn()!==null}const Ep=typeof window<"u";let ha,Ss;const I6=()=>{var e,t;ha=Ep?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,Ss=!1,ha!==void 0?ha.then(()=>{Ss=!0}):Ss=!0};I6();function O6(e){if(Ss)return;let t=!1;jt(()=>{Ss||ha==null||ha.then(()=>{t||e()})}),rn(()=>{t=!0})}function lc(e){return e.composedPath()[0]}const M6={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function z6(e,t,n){if(e==="mousemoveoutside"){const o=r=>{t.contains(lc(r))||n(r)};return{mousemove:o,touchstart:o}}else if(e==="clickoutside"){let o=!1;const r=a=>{o=!t.contains(lc(a))},i=a=>{o&&(t.contains(lc(a))||n(a))};return{mousedown:r,mouseup:i,touchstart:r,touchend:i}}return console.error(`[evtd/create-trap-handler]: name \`${e}\` is invalid. This could be a bug of evtd.`),{}}function ew(e,t,n){const o=M6[e];let r=o.get(t);r===void 0&&o.set(t,r=new WeakMap);let i=r.get(n);return i===void 0&&r.set(n,i=z6(e,t,n)),i}function D6(e,t,n,o){if(e==="mousemoveoutside"||e==="clickoutside"){const r=ew(e,t,n);return Object.keys(r).forEach(i=>{It(i,document,r[i],o)}),!0}return!1}function L6(e,t,n,o){if(e==="mousemoveoutside"||e==="clickoutside"){const r=ew(e,t,n);return Object.keys(r).forEach(i=>{Pt(i,document,r[i],o)}),!0}return!1}function F6(){if(typeof window>"u")return{on:()=>{},off:()=>{}};const e=new WeakMap,t=new WeakMap;function n(){e.set(this,!0)}function o(){e.set(this,!0),t.set(this,!0)}function r(y,k,P){const T=y[k];return y[k]=function(){return P.apply(y,arguments),T.apply(y,arguments)},y}function i(y,k){y[k]=Event.prototype[k]}const a=new WeakMap,s=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function l(){var y;return(y=a.get(this))!==null&&y!==void 0?y:null}function c(y,k){s!==void 0&&Object.defineProperty(y,"currentTarget",{configurable:!0,enumerable:!0,get:k??s.get})}const u={bubble:{},capture:{}},d={};function f(){const y=function(k){const{type:P,eventPhase:T,bubbles:$}=k,R=lc(k);if(T===2)return;const K=T===1?"capture":"bubble";let j=R;const D=[];for(;j===null&&(j=window),D.push(j),j!==window;)j=j.parentNode||null;const M=u.capture[P],Y=u.bubble[P];if(r(k,"stopPropagation",n),r(k,"stopImmediatePropagation",o),c(k,l),K==="capture"){if(M===void 0)return;for(let Q=D.length-1;Q>=0&&!e.has(k);--Q){const de=D[Q],pe=M.get(de);if(pe!==void 0){a.set(k,de);for(const B of pe){if(t.has(k))break;B(k)}}if(Q===0&&!$&&Y!==void 0){const B=Y.get(de);if(B!==void 0)for(const E of B){if(t.has(k))break;E(k)}}}}else if(K==="bubble"){if(Y===void 0)return;for(let Q=0;QR(k))};return y.displayName="evtdUnifiedWindowEventHandler",y}const h=f(),m=p();function v(y,k){const P=u[y];return P[k]===void 0&&(P[k]=new Map,window.addEventListener(k,h,y==="capture")),P[k]}function b(y){return d[y]===void 0&&(d[y]=new Set,window.addEventListener(y,m)),d[y]}function w(y,k){let P=y.get(k);return P===void 0&&y.set(k,P=new Set),P}function C(y,k,P,T){const $=u[k][P];if($!==void 0){const R=$.get(y);if(R!==void 0&&R.has(T))return!0}return!1}function S(y,k){const P=d[y];return!!(P!==void 0&&P.has(k))}function _(y,k,P,T){let $;if(typeof T=="object"&&T.once===!0?$=M=>{x(y,k,$,T),P(M)}:$=P,D6(y,k,$,T))return;const K=T===!0||typeof T=="object"&&T.capture===!0?"capture":"bubble",j=v(K,y),D=w(j,k);if(D.has($)||D.add($),k===window){const M=b(y);M.has($)||M.add($)}}function x(y,k,P,T){if(L6(y,k,P,T))return;const R=T===!0||typeof T=="object"&&T.capture===!0,K=R?"capture":"bubble",j=v(K,y),D=w(j,k);if(k===window&&!C(k,R?"bubble":"capture",y,P)&&S(y,P)){const Y=d[y];Y.delete(P),Y.size===0&&(window.removeEventListener(y,m),d[y]=void 0)}D.has(P)&&D.delete(P),D.size===0&&j.delete(k),j.size===0&&(window.removeEventListener(y,h,K==="capture"),u[K][y]=void 0)}return{on:_,off:x}}const{on:It,off:Pt}=F6(),ss=W(null);function sb(e){if(e.clientX>0||e.clientY>0)ss.value={x:e.clientX,y:e.clientY};else{const{target:t}=e;if(t instanceof Element){const{left:n,top:o,width:r,height:i}=t.getBoundingClientRect();n>0||o>0?ss.value={x:n+r/2,y:o+i/2}:ss.value={x:0,y:0}}else ss.value=null}}let $l=0,lb=!0;function Tc(){if(!Ep)return io(W(null));$l===0&&It("click",document,sb,!0);const e=()=>{$l+=1};return lb&&(lb=Rp())?(hn(e),rn(()=>{$l-=1,$l===0&&Pt("click",document,sb,!0)})):e(),io(ss)}const B6=W(void 0);let Al=0;function cb(){B6.value=Date.now()}let ub=!0;function Rc(e){if(!Ep)return io(W(!1));const t=W(!1);let n=null;function o(){n!==null&&window.clearTimeout(n)}function r(){o(),t.value=!0,n=window.setTimeout(()=>{t.value=!1},e)}Al===0&&It("click",window,cb,!0);const i=()=>{Al+=1,It("click",window,r,!0)};return ub&&(ub=Rp())?(hn(i),rn(()=>{Al-=1,Al===0&&Pt("click",window,cb,!0),Pt("click",window,r,!0),o()})):i(),io(t)}function sn(e,t){return ft(e,n=>{n!==void 0&&(t.value=n)}),L(()=>e.value===void 0?t.value:e.value)}function Xr(){const e=W(!1);return jt(()=>{e.value=!0}),io(e)}function wu(e,t){return L(()=>{for(const n of t)if(e[n]!==void 0)return e[n];return e[t[t.length-1]]})}const N6=(typeof window>"u"?!1:/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!window.MSStream;function H6(){return N6}function j6(e={},t){const n=Zn({ctrl:!1,command:!1,win:!1,shift:!1,tab:!1}),{keydown:o,keyup:r}=e,i=l=>{switch(l.key){case"Control":n.ctrl=!0;break;case"Meta":n.command=!0,n.win=!0;break;case"Shift":n.shift=!0;break;case"Tab":n.tab=!0;break}o!==void 0&&Object.keys(o).forEach(c=>{if(c!==l.key)return;const u=o[c];if(typeof u=="function")u(l);else{const{stop:d=!1,prevent:f=!1}=u;d&&l.stopPropagation(),f&&l.preventDefault(),u.handler(l)}})},a=l=>{switch(l.key){case"Control":n.ctrl=!1;break;case"Meta":n.command=!1,n.win=!1;break;case"Shift":n.shift=!1;break;case"Tab":n.tab=!1;break}r!==void 0&&Object.keys(r).forEach(c=>{if(c!==l.key)return;const u=r[c];if(typeof u=="function")u(l);else{const{stop:d=!1,prevent:f=!1}=u;d&&l.stopPropagation(),f&&l.preventDefault(),u.handler(l)}})},s=()=>{(t===void 0||t.value)&&(It("keydown",document,i),It("keyup",document,a)),t!==void 0&&ft(t,l=>{l?(It("keydown",document,i),It("keyup",document,a)):(Pt("keydown",document,i),Pt("keyup",document,a))})};return Rp()?(hn(s),rn(()=>{(t===void 0||t.value)&&(Pt("keydown",document,i),Pt("keyup",document,a))})):s(),io(n)}const $p="n-internal-select-menu",tw="n-internal-select-menu-body",il="n-modal-body",V6="n-modal-provider",nw="n-modal",al="n-drawer-body",Ap="n-drawer",La="n-popover-body",ow="__disabled__";function Vo(e){const t=We(il,null),n=We(al,null),o=We(La,null),r=We(tw,null),i=W();if(typeof document<"u"){i.value=document.fullscreenElement;const a=()=>{i.value=document.fullscreenElement};jt(()=>{It("fullscreenchange",document,a)}),rn(()=>{Pt("fullscreenchange",document,a)})}return St(()=>{var a;const{to:s}=e;return s!==void 0?s===!1?ow:s===!0?i.value||"body":s:t!=null&&t.value?(a=t.value.$el)!==null&&a!==void 0?a:t.value:n!=null&&n.value?n.value:o!=null&&o.value?o.value:r!=null&&r.value?r.value:s??(i.value||"body")})}Vo.tdkey=ow;Vo.propTo={type:[String,Object,Boolean],default:void 0};let db=!1;function W6(){if(dr&&window.CSS&&!db&&(db=!0,"registerProperty"in(window==null?void 0:window.CSS)))try{CSS.registerProperty({name:"--n-color-start",syntax:"",inherits:!1,initialValue:"#0000"}),CSS.registerProperty({name:"--n-color-end",syntax:"",inherits:!1,initialValue:"#0000"})}catch{}}function lh(e,t,n="default"){const o=t[n];if(o===void 0)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);return o()}function ch(e,t=!0,n=[]){return e.forEach(o=>{if(o!==null){if(typeof o!="object"){(typeof o=="string"||typeof o=="number")&&n.push(nt(String(o)));return}if(Array.isArray(o)){ch(o,t,n);return}if(o.type===rt){if(o.children===null)return;Array.isArray(o.children)&&ch(o.children,t,n)}else o.type!==$n&&n.push(o)}}),n}function fb(e,t,n="default"){const o=t[n];if(o===void 0)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);const r=ch(o());if(r.length===1)return r[0];throw new Error(`[vueuc/${e}]: slot[${n}] should have exactly one child.`)}let Sr=null;function rw(){if(Sr===null&&(Sr=document.getElementById("v-binder-view-measurer"),Sr===null)){Sr=document.createElement("div"),Sr.id="v-binder-view-measurer";const{style:e}=Sr;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(Sr)}return Sr.getBoundingClientRect()}function U6(e,t){const n=rw();return{top:t,left:e,height:0,width:0,right:n.width-e,bottom:n.height-t}}function Ed(e){const t=e.getBoundingClientRect(),n=rw();return{left:t.left-n.left,top:t.top-n.top,bottom:n.height+n.top-t.bottom,right:n.width+n.left-t.right,width:t.width,height:t.height}}function q6(e){return e.nodeType===9?null:e.parentNode}function iw(e){if(e===null)return null;const t=q6(e);if(t===null)return null;if(t.nodeType===9)return document;if(t.nodeType===1){const{overflow:n,overflowX:o,overflowY:r}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(n+r+o))return t}return iw(t)}const K6=ve({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;at("VBinder",(t=Jn())===null||t===void 0?void 0:t.proxy);const n=We("VBinder",null),o=W(null),r=b=>{o.value=b,n&&e.syncTargetWithParent&&n.setTargetRef(b)};let i=[];const a=()=>{let b=o.value;for(;b=iw(b),b!==null;)i.push(b);for(const w of i)It("scroll",w,d,!0)},s=()=>{for(const b of i)Pt("scroll",b,d,!0);i=[]},l=new Set,c=b=>{l.size===0&&a(),l.has(b)||l.add(b)},u=b=>{l.has(b)&&l.delete(b),l.size===0&&s()},d=()=>{kc(f)},f=()=>{l.forEach(b=>b())},p=new Set,h=b=>{p.size===0&&It("resize",window,v),p.has(b)||p.add(b)},m=b=>{p.has(b)&&p.delete(b),p.size===0&&Pt("resize",window,v)},v=()=>{p.forEach(b=>b())};return rn(()=>{Pt("resize",window,v),s()}),{targetRef:o,setTargetRef:r,addScrollListener:c,removeScrollListener:u,addResizeListener:h,removeResizeListener:m}},render(){return lh("binder",this.$slots)}}),Ip=K6,Op=ve({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=We("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?dn(fb("follower",this.$slots),[[t]]):fb("follower",this.$slots)}}),Xi="@@mmoContext",G6={mounted(e,{value:t}){e[Xi]={handler:void 0},typeof t=="function"&&(e[Xi].handler=t,It("mousemoveoutside",e,t))},updated(e,{value:t}){const n=e[Xi];typeof t=="function"?n.handler?n.handler!==t&&(Pt("mousemoveoutside",e,n.handler),n.handler=t,It("mousemoveoutside",e,t)):(e[Xi].handler=t,It("mousemoveoutside",e,t)):n.handler&&(Pt("mousemoveoutside",e,n.handler),n.handler=void 0)},unmounted(e){const{handler:t}=e[Xi];t&&Pt("mousemoveoutside",e,t),e[Xi].handler=void 0}},Y6=G6,Zi="@@coContext",X6={mounted(e,{value:t,modifiers:n}){e[Zi]={handler:void 0},typeof t=="function"&&(e[Zi].handler=t,It("clickoutside",e,t,{capture:n.capture}))},updated(e,{value:t,modifiers:n}){const o=e[Zi];typeof t=="function"?o.handler?o.handler!==t&&(Pt("clickoutside",e,o.handler,{capture:n.capture}),o.handler=t,It("clickoutside",e,t,{capture:n.capture})):(e[Zi].handler=t,It("clickoutside",e,t,{capture:n.capture})):o.handler&&(Pt("clickoutside",e,o.handler,{capture:n.capture}),o.handler=void 0)},unmounted(e,{modifiers:t}){const{handler:n}=e[Zi];n&&Pt("clickoutside",e,n,{capture:t.capture}),e[Zi].handler=void 0}},Sa=X6;function Z6(e,t){console.error(`[vdirs/${e}]: ${t}`)}class J6{constructor(){this.elementZIndex=new Map,this.nextZIndex=2e3}get elementCount(){return this.elementZIndex.size}ensureZIndex(t,n){const{elementZIndex:o}=this;if(n!==void 0){t.style.zIndex=`${n}`,o.delete(t);return}const{nextZIndex:r}=this;o.has(t)&&o.get(t)+1===this.nextZIndex||(t.style.zIndex=`${r}`,o.set(t,r),this.nextZIndex=r+1,this.squashState())}unregister(t,n){const{elementZIndex:o}=this;o.has(t)?o.delete(t):n===void 0&&Z6("z-index-manager/unregister-element","Element not found when unregistering."),this.squashState()}squashState(){const{elementCount:t}=this;t||(this.nextZIndex=2e3),this.nextZIndex-t>2500&&this.rearrange()}rearrange(){const t=Array.from(this.elementZIndex.entries());t.sort((n,o)=>n[1]-o[1]),this.nextZIndex=2e3,t.forEach(n=>{const o=n[0],r=this.nextZIndex++;`${r}`!==o.style.zIndex&&(o.style.zIndex=`${r}`)})}}const $d=new J6,Ji="@@ziContext",Q6={mounted(e,t){const{value:n={}}=t,{zIndex:o,enabled:r}=n;e[Ji]={enabled:!!r,initialized:!1},r&&($d.ensureZIndex(e,o),e[Ji].initialized=!0)},updated(e,t){const{value:n={}}=t,{zIndex:o,enabled:r}=n,i=e[Ji].enabled;r&&!i&&($d.ensureZIndex(e,o),e[Ji].initialized=!0),e[Ji].enabled=!!r},unmounted(e,t){if(!e[Ji].initialized)return;const{value:n={}}=t,{zIndex:o}=n;$d.unregister(e,o)}},_u=Q6,aw=Symbol("@css-render/vue3-ssr");function e8(e,t){return``}function t8(e,t){const n=We(aw,null);if(n===null){console.error("[css-render/vue3-ssr]: no ssr context found.");return}const{styles:o,ids:r}=n;r.has(e)||o!==null&&(r.add(e),o.push(e8(e,t)))}const n8=typeof document<"u";function Ii(){if(n8)return;const e=We(aw,null);if(e!==null)return{adapter:t8,context:e}}function hb(e,t){console.error(`[vueuc/${e}]: ${t}`)}const{c:Mr}=GC(),Mp="vueuc-style";function pb(e){return e&-e}class o8{constructor(t,n){this.l=t,this.min=n;const o=new Array(t+1);for(let r=0;rr)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let i=t*o;for(;t>0;)i+=n[t],t-=pb(t);return i}getBound(t){let n=0,o=this.l;for(;o>n;){const r=Math.floor((n+o)/2),i=this.sum(r);if(i>t){o=r;continue}else if(i{const{to:t}=e;return t??"body"})}},render(){return this.showTeleport?this.disabled?lh("lazy-teleport",this.$slots):g(eu,{disabled:this.disabled,to:this.mergedTo},lh("lazy-teleport",this.$slots)):null}}),Il={top:"bottom",bottom:"top",left:"right",right:"left"},gb={start:"end",center:"center",end:"start"},Ad={top:"height",bottom:"height",left:"width",right:"width"},r8={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},i8={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},a8={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},vb={top:!0,bottom:!1,left:!0,right:!1},bb={top:"end",bottom:"start",left:"end",right:"start"};function s8(e,t,n,o,r,i){if(!r||i)return{placement:e,top:0,left:0};const[a,s]=e.split("-");let l=s??"center",c={top:0,left:0};const u=(p,h,m)=>{let v=0,b=0;const w=n[p]-t[h]-t[p];return w>0&&o&&(m?b=vb[h]?w:-w:v=vb[h]?w:-w),{left:v,top:b}},d=a==="left"||a==="right";if(l!=="center"){const p=a8[e],h=Il[p],m=Ad[p];if(n[m]>t[m]){if(t[p]+t[m]t[h]&&(l=gb[s])}else{const p=a==="bottom"||a==="top"?"left":"top",h=Il[p],m=Ad[p],v=(n[m]-t[m])/2;(t[p]t[h]?(l=bb[p],c=u(m,p,d)):(l=bb[h],c=u(m,h,d)))}let f=a;return t[a] *",{pointerEvents:"all"})])]),zp=ve({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){const t=We("VBinder"),n=St(()=>e.enabled!==void 0?e.enabled:e.show),o=W(null),r=W(null),i=()=>{const{syncTrigger:f}=e;f.includes("scroll")&&t.addScrollListener(l),f.includes("resize")&&t.addResizeListener(l)},a=()=>{t.removeScrollListener(l),t.removeResizeListener(l)};jt(()=>{n.value&&(l(),i())});const s=Ii();u8.mount({id:"vueuc/binder",head:!0,anchorMetaName:Mp,ssr:s}),rn(()=>{a()}),O6(()=>{n.value&&l()});const l=()=>{if(!n.value)return;const f=o.value;if(f===null)return;const p=t.targetRef,{x:h,y:m,overlap:v}=e,b=h!==void 0&&m!==void 0?U6(h,m):Ed(p);f.style.setProperty("--v-target-width",`${Math.round(b.width)}px`),f.style.setProperty("--v-target-height",`${Math.round(b.height)}px`);const{width:w,minWidth:C,placement:S,internalShift:_,flip:x}=e;f.setAttribute("v-placement",S),v?f.setAttribute("v-overlap",""):f.removeAttribute("v-overlap");const{style:y}=f;w==="target"?y.width=`${b.width}px`:w!==void 0?y.width=w:y.width="",C==="target"?y.minWidth=`${b.width}px`:C!==void 0?y.minWidth=C:y.minWidth="";const k=Ed(f),P=Ed(r.value),{left:T,top:$,placement:R}=s8(S,b,k,_,x,v),K=l8(R,v),{left:j,top:D,transform:M}=c8(R,P,b,$,T,v);f.setAttribute("v-placement",R),f.style.setProperty("--v-offset-left",`${Math.round(T)}px`),f.style.setProperty("--v-offset-top",`${Math.round($)}px`),f.style.transform=`translateX(${j}) translateY(${D}) ${M}`,f.style.setProperty("--v-transform-origin",K),f.style.transformOrigin=K};ft(n,f=>{f?(i(),c()):a()});const c=()=>{Ht().then(l).catch(f=>console.error(f))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(f=>{ft(Ve(e,f),l)}),["teleportDisabled"].forEach(f=>{ft(Ve(e,f),c)}),ft(Ve(e,"syncTrigger"),f=>{f.includes("resize")?t.addResizeListener(l):t.removeResizeListener(l),f.includes("scroll")?t.addScrollListener(l):t.removeScrollListener(l)});const u=Xr(),d=St(()=>{const{to:f}=e;if(f!==void 0)return f;u.value});return{VBinder:t,mergedEnabled:n,offsetContainerRef:r,followerRef:o,mergedTo:d,syncPosition:l}},render(){return g(Su,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=g("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[g("div",{class:"v-binder-follower-content",ref:"followerRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))]);return this.zindexable?dn(n,[[_u,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});var xi=[],d8=function(){return xi.some(function(e){return e.activeTargets.length>0})},f8=function(){return xi.some(function(e){return e.skippedTargets.length>0})},yb="ResizeObserver loop completed with undelivered notifications.",h8=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:yb}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=yb),window.dispatchEvent(e)},Ks;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Ks||(Ks={}));var Ci=function(e){return Object.freeze(e)},p8=function(){function e(t,n){this.inlineSize=t,this.blockSize=n,Ci(this)}return e}(),sw=function(){function e(t,n,o,r){return this.x=t,this.y=n,this.width=o,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Ci(this)}return e.prototype.toJSON=function(){var t=this,n=t.x,o=t.y,r=t.top,i=t.right,a=t.bottom,s=t.left,l=t.width,c=t.height;return{x:n,y:o,top:r,right:i,bottom:a,left:s,width:l,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),Dp=function(e){return e instanceof SVGElement&&"getBBox"in e},lw=function(e){if(Dp(e)){var t=e.getBBox(),n=t.width,o=t.height;return!n&&!o}var r=e,i=r.offsetWidth,a=r.offsetHeight;return!(i||a||e.getClientRects().length)},xb=function(e){var t;if(e instanceof Element)return!0;var n=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},m8=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},ks=typeof window<"u"?window:{},Ol=new WeakMap,Cb=/auto|scroll/,g8=/^tb|vertical/,v8=/msie|trident/i.test(ks.navigator&&ks.navigator.userAgent),Ao=function(e){return parseFloat(e||"0")},pa=function(e,t,n){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=!1),new p8((n?t:e)||0,(n?e:t)||0)},wb=Ci({devicePixelContentBoxSize:pa(),borderBoxSize:pa(),contentBoxSize:pa(),contentRect:new sw(0,0,0,0)}),cw=function(e,t){if(t===void 0&&(t=!1),Ol.has(e)&&!t)return Ol.get(e);if(lw(e))return Ol.set(e,wb),wb;var n=getComputedStyle(e),o=Dp(e)&&e.ownerSVGElement&&e.getBBox(),r=!v8&&n.boxSizing==="border-box",i=g8.test(n.writingMode||""),a=!o&&Cb.test(n.overflowY||""),s=!o&&Cb.test(n.overflowX||""),l=o?0:Ao(n.paddingTop),c=o?0:Ao(n.paddingRight),u=o?0:Ao(n.paddingBottom),d=o?0:Ao(n.paddingLeft),f=o?0:Ao(n.borderTopWidth),p=o?0:Ao(n.borderRightWidth),h=o?0:Ao(n.borderBottomWidth),m=o?0:Ao(n.borderLeftWidth),v=d+c,b=l+u,w=m+p,C=f+h,S=s?e.offsetHeight-C-e.clientHeight:0,_=a?e.offsetWidth-w-e.clientWidth:0,x=r?v+w:0,y=r?b+C:0,k=o?o.width:Ao(n.width)-x-_,P=o?o.height:Ao(n.height)-y-S,T=k+v+_+w,$=P+b+S+C,R=Ci({devicePixelContentBoxSize:pa(Math.round(k*devicePixelRatio),Math.round(P*devicePixelRatio),i),borderBoxSize:pa(T,$,i),contentBoxSize:pa(k,P,i),contentRect:new sw(d,l,k,P)});return Ol.set(e,R),R},uw=function(e,t,n){var o=cw(e,n),r=o.borderBoxSize,i=o.contentBoxSize,a=o.devicePixelContentBoxSize;switch(t){case Ks.DEVICE_PIXEL_CONTENT_BOX:return a;case Ks.BORDER_BOX:return r;default:return i}},b8=function(){function e(t){var n=cw(t);this.target=t,this.contentRect=n.contentRect,this.borderBoxSize=Ci([n.borderBoxSize]),this.contentBoxSize=Ci([n.contentBoxSize]),this.devicePixelContentBoxSize=Ci([n.devicePixelContentBoxSize])}return e}(),dw=function(e){if(lw(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},y8=function(){var e=1/0,t=[];xi.forEach(function(a){if(a.activeTargets.length!==0){var s=[];a.activeTargets.forEach(function(c){var u=new b8(c.target),d=dw(c.target);s.push(u),c.lastReportedSize=uw(c.target,c.observedBox),de?n.activeTargets.push(r):n.skippedTargets.push(r))})})},x8=function(){var e=0;for(_b(e);d8();)e=y8(),_b(e);return f8()&&h8(),e>0},Id,fw=[],C8=function(){return fw.splice(0).forEach(function(e){return e()})},w8=function(e){if(!Id){var t=0,n=document.createTextNode(""),o={characterData:!0};new MutationObserver(function(){return C8()}).observe(n,o),Id=function(){n.textContent="".concat(t?t--:t++)}}fw.push(e),Id()},_8=function(e){w8(function(){requestAnimationFrame(e)})},cc=0,S8=function(){return!!cc},k8=250,P8={attributes:!0,characterData:!0,childList:!0,subtree:!0},Sb=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],kb=function(e){return e===void 0&&(e=0),Date.now()+e},Od=!1,T8=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var n=this;if(t===void 0&&(t=k8),!Od){Od=!0;var o=kb(t);_8(function(){var r=!1;try{r=x8()}finally{if(Od=!1,t=o-kb(),!S8())return;r?n.run(1e3):t>0?n.run(t):n.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,n=function(){return t.observer&&t.observer.observe(document.body,P8)};document.body?n():ks.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Sb.forEach(function(n){return ks.addEventListener(n,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Sb.forEach(function(n){return ks.removeEventListener(n,t.listener,!0)}),this.stopped=!0)},e}(),uh=new T8,Pb=function(e){!cc&&e>0&&uh.start(),cc+=e,!cc&&uh.stop()},R8=function(e){return!Dp(e)&&!m8(e)&&getComputedStyle(e).display==="inline"},E8=function(){function e(t,n){this.target=t,this.observedBox=n||Ks.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=uw(this.target,this.observedBox,!0);return R8(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),$8=function(){function e(t,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=n}return e}(),Ml=new WeakMap,Tb=function(e,t){for(var n=0;n=0&&(i&&xi.splice(xi.indexOf(o),1),o.observationTargets.splice(r,1),Pb(-1))},e.disconnect=function(t){var n=this,o=Ml.get(t);o.observationTargets.slice().forEach(function(r){return n.unobserve(t,r.target)}),o.activeTargets.splice(0,o.activeTargets.length)},e}(),A8=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");zl.connect(this,t)}return e.prototype.observe=function(t,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!xb(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");zl.observe(this,t,n)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!xb(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");zl.unobserve(this,t)},e.prototype.disconnect=function(){zl.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class I8{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||A8)(this.handleResize),this.elHandlersMap=new Map}handleResize(t){for(const n of t){const o=this.elHandlersMap.get(n.target);o!==void 0&&o(n)}}registerHandler(t,n){this.elHandlersMap.set(t,n),this.observer.observe(t)}unregisterHandler(t){this.elHandlersMap.has(t)&&(this.elHandlersMap.delete(t),this.observer.unobserve(t))}}const Ec=new I8,sr=ve({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1;const n=Jn().proxy;function o(r){const{onResize:i}=e;i!==void 0&&i(r)}jt(()=>{const r=n.$el;if(r===void 0){hb("resize-observer","$el does not exist.");return}if(r.nextElementSibling!==r.nextSibling&&r.nodeType===3&&r.nodeValue!==""){hb("resize-observer","$el can not be observed (it may be a text node).");return}r.nextElementSibling!==null&&(Ec.registerHandler(r.nextElementSibling,o),t=!0)}),rn(()=>{t&&Ec.unregisterHandler(n.$el.nextElementSibling)})},render(){return Qc(this.$slots,"default")}});let Dl;function O8(){return typeof document>"u"?!1:(Dl===void 0&&("matchMedia"in window?Dl=window.matchMedia("(pointer:coarse)").matches:Dl=!1),Dl)}let Md;function Rb(){return typeof document>"u"?1:(Md===void 0&&(Md="chrome"in window?window.devicePixelRatio:1),Md)}const M8=Mr(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[Mr("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[Mr("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),hw=ve({name:"VirtualList",inheritAttrs:!1,props:{showScrollbar:{type:Boolean,default:!0},items:{type:Array,default:()=>[]},itemSize:{type:Number,required:!0},itemResizable:Boolean,itemsStyle:[String,Object],visibleItemsTag:{type:[String,Object],default:"div"},visibleItemsProps:Object,ignoreItemResize:Boolean,onScroll:Function,onWheel:Function,onResize:Function,defaultScrollKey:[Number,String],defaultScrollIndex:Number,keyField:{type:String,default:"key"},paddingTop:{type:[Number,String],default:0},paddingBottom:{type:[Number,String],default:0}},setup(e){const t=Ii();M8.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:Mp,ssr:t}),jt(()=>{const{defaultScrollIndex:$,defaultScrollKey:R}=e;$!=null?h({index:$}):R!=null&&h({key:R})});let n=!1,o=!1;Jh(()=>{if(n=!1,!o){o=!0;return}h({top:d.value,left:u})}),Zc(()=>{n=!0,o||(o=!0)});const r=L(()=>{const $=new Map,{keyField:R}=e;return e.items.forEach((K,j)=>{$.set(K[R],j)}),$}),i=W(null),a=W(void 0),s=new Map,l=L(()=>{const{items:$,itemSize:R,keyField:K}=e,j=new o8($.length,R);return $.forEach((D,M)=>{const Y=D[K],Q=s.get(Y);Q!==void 0&&j.add(M,Q)}),j}),c=W(0);let u=0;const d=W(0),f=St(()=>Math.max(l.value.getBound(d.value-Sn(e.paddingTop))-1,0)),p=L(()=>{const{value:$}=a;if($===void 0)return[];const{items:R,itemSize:K}=e,j=f.value,D=Math.min(j+Math.ceil($/K+1),R.length-1),M=[];for(let Y=j;Y<=D;++Y)M.push(R[Y]);return M}),h=($,R)=>{if(typeof $=="number"){w($,R,"auto");return}const{left:K,top:j,index:D,key:M,position:Y,behavior:Q,debounce:de=!0}=$;if(K!==void 0||j!==void 0)w(K,j,Q);else if(D!==void 0)b(D,Q,de);else if(M!==void 0){const pe=r.value.get(M);pe!==void 0&&b(pe,Q,de)}else Y==="bottom"?w(0,Number.MAX_SAFE_INTEGER,Q):Y==="top"&&w(0,0,Q)};let m,v=null;function b($,R,K){const{value:j}=l,D=j.sum($)+Sn(e.paddingTop);if(!K)i.value.scrollTo({left:0,top:D,behavior:R});else{m=$,v!==null&&window.clearTimeout(v),v=window.setTimeout(()=>{m=void 0,v=null},16);const{scrollTop:M,offsetHeight:Y}=i.value;if(D>M){const Q=j.get($);D+Q<=M+Y||i.value.scrollTo({left:0,top:D+Q-Y,behavior:R})}else i.value.scrollTo({left:0,top:D,behavior:R})}}function w($,R,K){i.value.scrollTo({left:$,top:R,behavior:K})}function C($,R){var K,j,D;if(n||e.ignoreItemResize||T(R.target))return;const{value:M}=l,Y=r.value.get($),Q=M.get(Y),de=(D=(j=(K=R.borderBoxSize)===null||K===void 0?void 0:K[0])===null||j===void 0?void 0:j.blockSize)!==null&&D!==void 0?D:R.contentRect.height;if(de===Q)return;de-e.itemSize===0?s.delete($):s.set($,de-e.itemSize);const B=de-Q;if(B===0)return;M.add(Y,B);const E=i.value;if(E!=null){if(m===void 0){const A=M.sum(Y);E.scrollTop>A&&E.scrollBy(0,B)}else if(YE.scrollTop+E.offsetHeight&&E.scrollBy(0,B)}P()}c.value++}const S=!O8();let _=!1;function x($){var R;(R=e.onScroll)===null||R===void 0||R.call(e,$),(!S||!_)&&P()}function y($){var R;if((R=e.onWheel)===null||R===void 0||R.call(e,$),S){const K=i.value;if(K!=null){if($.deltaX===0&&(K.scrollTop===0&&$.deltaY<=0||K.scrollTop+K.offsetHeight>=K.scrollHeight&&$.deltaY>=0))return;$.preventDefault(),K.scrollTop+=$.deltaY/Rb(),K.scrollLeft+=$.deltaX/Rb(),P(),_=!0,kc(()=>{_=!1})}}}function k($){if(n||T($.target)||$.contentRect.height===a.value)return;a.value=$.contentRect.height;const{onResize:R}=e;R!==void 0&&R($)}function P(){const{value:$}=i;$!=null&&(d.value=$.scrollTop,u=$.scrollLeft)}function T($){let R=$;for(;R!==null;){if(R.style.display==="none")return!0;R=R.parentElement}return!1}return{listHeight:a,listStyle:{overflow:"auto"},keyToIndex:r,itemsStyle:L(()=>{const{itemResizable:$}=e,R=zn(l.value.sum());return c.value,[e.itemsStyle,{boxSizing:"content-box",height:$?"":R,minHeight:$?R:"",paddingTop:zn(e.paddingTop),paddingBottom:zn(e.paddingBottom)}]}),visibleItemsStyle:L(()=>(c.value,{transform:`translateY(${zn(l.value.sum(f.value))})`})),viewportItems:p,listElRef:i,itemsElRef:W(null),scrollTo:h,handleListResize:k,handleListScroll:x,handleListWheel:y,handleItemResize:C}},render(){const{itemResizable:e,keyField:t,keyToIndex:n,visibleItemsTag:o}=this;return g(sr,{onResize:this.handleListResize},{default:()=>{var r,i;return g("div",Ln(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?g("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[g(o,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>this.viewportItems.map(a=>{const s=a[t],l=n.get(s),c=this.$slots.default({item:a,index:l})[0];return e?g(sr,{key:s,onResize:u=>this.handleItemResize(s,u)},{default:()=>c}):(c.key=s,c)})})]):(i=(r=this.$slots).empty)===null||i===void 0?void 0:i.call(r)])}})}}),Qo="v-hidden",z8=Mr("[v-hidden]",{display:"none!important"}),dh=ve({name:"Overflow",props:{getCounter:Function,getTail:Function,updateCounter:Function,onUpdateCount:Function,onUpdateOverflow:Function},setup(e,{slots:t}){const n=W(null),o=W(null);function r(a){const{value:s}=n,{getCounter:l,getTail:c}=e;let u;if(l!==void 0?u=l():u=o.value,!s||!u)return;u.hasAttribute(Qo)&&u.removeAttribute(Qo);const{children:d}=s;if(a.showAllItemsBeforeCalculate)for(const C of d)C.hasAttribute(Qo)&&C.removeAttribute(Qo);const f=s.offsetWidth,p=[],h=t.tail?c==null?void 0:c():null;let m=h?h.offsetWidth:0,v=!1;const b=s.children.length-(t.tail?1:0);for(let C=0;Cf){const{updateCounter:x}=e;for(let y=C;y>=0;--y){const k=b-1-y;x!==void 0?x(k):u.textContent=`${k}`;const P=u.offsetWidth;if(m-=p[y],m+P<=f||y===0){v=!0,C=y-1,h&&(C===-1?(h.style.maxWidth=`${f-P}px`,h.style.boxSizing="border-box"):h.style.maxWidth="");const{onUpdateCount:T}=e;T&&T(k);break}}}}const{onUpdateOverflow:w}=e;v?w!==void 0&&w(!0):(w!==void 0&&w(!1),u.setAttribute(Qo,""))}const i=Ii();return z8.mount({id:"vueuc/overflow",head:!0,anchorMetaName:Mp,ssr:i}),jt(()=>r({showAllItemsBeforeCalculate:!1})),{selfRef:n,counterRef:o,sync:r}},render(){const{$slots:e}=this;return Ht(()=>this.sync({showAllItemsBeforeCalculate:!1})),g("div",{class:"v-overflow",ref:"selfRef"},[Qc(e,"default"),e.counter?e.counter():g("span",{style:{display:"inline-block"},ref:"counterRef"}),e.tail?e.tail():null])}});function pw(e){return e instanceof HTMLElement}function mw(e){for(let t=0;t=0;t--){const n=e.childNodes[t];if(pw(n)&&(vw(n)||gw(n)))return!0}return!1}function vw(e){if(!D8(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function D8(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return e.type!=="hidden"&&e.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}let ns=[];const Lp=ve({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){const t=Gr(),n=W(null),o=W(null);let r=!1,i=!1;const a=typeof document>"u"?null:document.activeElement;function s(){return ns[ns.length-1]===t}function l(v){var b;v.code==="Escape"&&s()&&((b=e.onEsc)===null||b===void 0||b.call(e,v))}jt(()=>{ft(()=>e.active,v=>{v?(d(),It("keydown",document,l)):(Pt("keydown",document,l),r&&f())},{immediate:!0})}),rn(()=>{Pt("keydown",document,l),r&&f()});function c(v){if(!i&&s()){const b=u();if(b===null||b.contains(ki(v)))return;p("first")}}function u(){const v=n.value;if(v===null)return null;let b=v;for(;b=b.nextSibling,!(b===null||b instanceof Element&&b.tagName==="DIV"););return b}function d(){var v;if(!e.disabled){if(ns.push(t),e.autoFocus){const{initialFocusTo:b}=e;b===void 0?p("first"):(v=mb(b))===null||v===void 0||v.focus({preventScroll:!0})}r=!0,document.addEventListener("focus",c,!0)}}function f(){var v;if(e.disabled||(document.removeEventListener("focus",c,!0),ns=ns.filter(w=>w!==t),s()))return;const{finalFocusTo:b}=e;b!==void 0?(v=mb(b))===null||v===void 0||v.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&a instanceof HTMLElement&&(i=!0,a.focus({preventScroll:!0}),i=!1)}function p(v){if(s()&&e.active){const b=n.value,w=o.value;if(b!==null&&w!==null){const C=u();if(C==null||C===w){i=!0,b.focus({preventScroll:!0}),i=!1;return}i=!0;const S=v==="first"?mw(C):gw(C);i=!1,S||(i=!0,b.focus({preventScroll:!0}),i=!1)}}}function h(v){if(i)return;const b=u();b!==null&&(v.relatedTarget!==null&&b.contains(v.relatedTarget)?p("last"):p("first"))}function m(v){i||(v.relatedTarget!==null&&v.relatedTarget===n.value?p("last"):p("first"))}return{focusableStartRef:n,focusableEndRef:o,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:h,handleEndFocus:m}},render(){const{default:e}=this.$slots;if(e===void 0)return null;if(this.disabled)return e();const{active:t,focusableStyle:n}=this;return g(rt,null,[g("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:n,onFocus:this.handleStartFocus}),e(),g("div",{"aria-hidden":"true",style:n,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}});function bw(e,t){t&&(jt(()=>{const{value:n}=e;n&&Ec.registerHandler(n,t)}),rn(()=>{const{value:n}=e;n&&Ec.unregisterHandler(n)}))}let Qi=0,Eb="",$b="",Ab="",Ib="";const fh=W("0px");function yw(e){if(typeof document>"u")return;const t=document.documentElement;let n,o=!1;const r=()=>{t.style.marginRight=Eb,t.style.overflow=$b,t.style.overflowX=Ab,t.style.overflowY=Ib,fh.value="0px"};jt(()=>{n=ft(e,i=>{if(i){if(!Qi){const a=window.innerWidth-t.offsetWidth;a>0&&(Eb=t.style.marginRight,t.style.marginRight=`${a}px`,fh.value=`${a}px`),$b=t.style.overflow,Ab=t.style.overflowX,Ib=t.style.overflowY,t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden"}o=!0,Qi++}else Qi--,Qi||r(),o=!1},{immediate:!0})}),rn(()=>{n==null||n(),o&&(Qi--,Qi||r(),o=!1)})}const Fp=W(!1),Ob=()=>{Fp.value=!0},Mb=()=>{Fp.value=!1};let os=0;const xw=()=>(dr&&(hn(()=>{os||(window.addEventListener("compositionstart",Ob),window.addEventListener("compositionend",Mb)),os++}),rn(()=>{os<=1?(window.removeEventListener("compositionstart",Ob),window.removeEventListener("compositionend",Mb),os=0):os--})),Fp);function Bp(e){const t={isDeactivated:!1};let n=!1;return Jh(()=>{if(t.isDeactivated=!1,!n){n=!0;return}e()}),Zc(()=>{t.isDeactivated=!0,n||(n=!0)}),t}function zb(e){return e.nodeName==="#document"}const L8=(e,t)=>{if(!e)return;const n=document.createElement("a");n.href=e,t!==void 0&&(n.download=t),document.body.appendChild(n),n.click(),document.body.removeChild(n)},Db="n-form-item";function fr(e,{defaultSize:t="medium",mergedSize:n,mergedDisabled:o}={}){const r=We(Db,null);at(Db,null);const i=L(n?()=>n(r):()=>{const{size:l}=e;if(l)return l;if(r){const{mergedSize:c}=r;if(c.value!==void 0)return c.value}return t}),a=L(o?()=>o(r):()=>{const{disabled:l}=e;return l!==void 0?l:r?r.disabled.value:!1}),s=L(()=>{const{status:l}=e;return l||(r==null?void 0:r.mergedValidationStatus.value)});return rn(()=>{r&&r.restoreValidation()}),{mergedSizeRef:i,mergedDisabledRef:a,mergedStatusRef:s,nTriggerFormBlur(){r&&r.handleContentBlur()},nTriggerFormChange(){r&&r.handleContentChange()},nTriggerFormFocus(){r&&r.handleContentFocus()},nTriggerFormInput(){r&&r.handleContentInput()}}}var F8=typeof global=="object"&&global&&global.Object===Object&&global;const Cw=F8;var B8=typeof self=="object"&&self&&self.Object===Object&&self,N8=Cw||B8||Function("return this")();const Po=N8;var H8=Po.Symbol;const Nr=H8;var ww=Object.prototype,j8=ww.hasOwnProperty,V8=ww.toString,rs=Nr?Nr.toStringTag:void 0;function W8(e){var t=j8.call(e,rs),n=e[rs];try{e[rs]=void 0;var o=!0}catch{}var r=V8.call(e);return o&&(t?e[rs]=n:delete e[rs]),r}var U8=Object.prototype,q8=U8.toString;function K8(e){return q8.call(e)}var G8="[object Null]",Y8="[object Undefined]",Lb=Nr?Nr.toStringTag:void 0;function Oi(e){return e==null?e===void 0?Y8:G8:Lb&&Lb in Object(e)?W8(e):K8(e)}function Hr(e){return e!=null&&typeof e=="object"}var X8="[object Symbol]";function ku(e){return typeof e=="symbol"||Hr(e)&&Oi(e)==X8}function _w(e,t){for(var n=-1,o=e==null?0:e.length,r=Array(o);++n0){if(++t>=II)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function DI(e){return function(){return e}}var LI=function(){try{var e=zi(Object,"defineProperty");return e({},"",{}),e}catch{}}();const $c=LI;var FI=$c?function(e,t){return $c(e,"toString",{configurable:!0,enumerable:!1,value:DI(t),writable:!0})}:Np;const BI=FI;var NI=zI(BI);const HI=NI;var jI=9007199254740991,VI=/^(?:0|[1-9]\d*)$/;function jp(e,t){var n=typeof e;return t=t??jI,!!t&&(n=="number"||n!="symbol"&&VI.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=XI}function Fa(e){return e!=null&&Wp(e.length)&&!Hp(e)}function ZI(e,t,n){if(!Wo(n))return!1;var o=typeof t;return(o=="number"?Fa(n)&&jp(t,n.length):o=="string"&&t in n)?sl(n[t],e):!1}function JI(e){return YI(function(t,n){var o=-1,r=n.length,i=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;for(i=e.length>3&&typeof i=="function"?(r--,i):void 0,a&&ZI(n[0],n[1],a)&&(i=r<3?void 0:i,r=1),t=Object(t);++o-1}function mM(e,t){var n=this.__data__,o=Pu(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function hr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++tr?0:r+t),n=n>r?r:n,n<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(r);++o=o?e:BM(e,t,n)}var HM="\\ud800-\\udfff",jM="\\u0300-\\u036f",VM="\\ufe20-\\ufe2f",WM="\\u20d0-\\u20ff",UM=jM+VM+WM,qM="\\ufe0e\\ufe0f",KM="\\u200d",GM=RegExp("["+KM+HM+UM+qM+"]");function Dw(e){return GM.test(e)}function YM(e){return e.split("")}var Lw="\\ud800-\\udfff",XM="\\u0300-\\u036f",ZM="\\ufe20-\\ufe2f",JM="\\u20d0-\\u20ff",QM=XM+ZM+JM,ez="\\ufe0e\\ufe0f",tz="["+Lw+"]",mh="["+QM+"]",gh="\\ud83c[\\udffb-\\udfff]",nz="(?:"+mh+"|"+gh+")",Fw="[^"+Lw+"]",Bw="(?:\\ud83c[\\udde6-\\uddff]){2}",Nw="[\\ud800-\\udbff][\\udc00-\\udfff]",oz="\\u200d",Hw=nz+"?",jw="["+ez+"]?",rz="(?:"+oz+"(?:"+[Fw,Bw,Nw].join("|")+")"+jw+Hw+")*",iz=jw+Hw+rz,az="(?:"+[Fw+mh+"?",mh,Bw,Nw,tz].join("|")+")",sz=RegExp(gh+"(?="+gh+")|"+az+iz,"g");function lz(e){return e.match(sz)||[]}function cz(e){return Dw(e)?lz(e):YM(e)}function uz(e){return function(t){t=Ti(t);var n=Dw(t)?cz(t):void 0,o=n?n[0]:t.charAt(0),r=n?NM(n,1).join(""):t.slice(1);return o[e]()+r}}var dz=uz("toUpperCase");const Vw=dz;function fz(e){return Vw(Ti(e).toLowerCase())}function hz(e,t,n,o){var r=-1,i=e==null?0:e.length;for(o&&i&&(n=e[++r]);++rs))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var d=-1,f=!0,p=n&ND?new Mc:void 0;for(i.set(e,t),i.set(t,e);++d`}function U8(e,t){const n=Ue(Ow,null);if(n===null){console.error("[css-render/vue3-ssr]: no ssr context found.");return}const{styles:o,ids:r}=n;r.has(e)||o!==null&&(r.add(e),o.push(W8(e,t)))}const q8=typeof document<"u";function Li(){if(q8)return;const e=Ue(Ow,null);if(e!==null)return{adapter:U8,context:e}}function $b(e,t){console.error(`[vueuc/${e}]: ${t}`)}const{c:Dr}=Cw(),Gp="vueuc-style";function Ab(e){return e&-e}class K8{constructor(t,n){this.l=t,this.min=n;const o=new Array(t+1);for(let r=0;rr)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let i=t*o;for(;t>0;)i+=n[t],t-=Ab(t);return i}getBound(t){let n=0,o=this.l;for(;o>n;){const r=Math.floor((n+o)/2),i=this.sum(r);if(i>t){o=r;continue}else if(i{const{to:t}=e;return t??"body"})}},render(){return this.showTeleport?this.disabled?Ch("lazy-teleport",this.$slots):v(nu,{disabled:this.disabled,to:this.mergedTo},Ch("lazy-teleport",this.$slots)):null}}),Ml={top:"bottom",bottom:"top",left:"right",right:"left"},Ob={start:"end",center:"center",end:"start"},jd={top:"height",bottom:"height",left:"width",right:"width"},G8={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},Y8={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},X8={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},Mb={top:!0,bottom:!1,left:!0,right:!1},zb={top:"end",bottom:"start",left:"end",right:"start"};function Z8(e,t,n,o,r,i){if(!r||i)return{placement:e,top:0,left:0};const[a,s]=e.split("-");let l=s??"center",c={top:0,left:0};const u=(h,p,g)=>{let m=0,b=0;const _=n[h]-t[p]-t[h];return _>0&&o&&(g?b=Mb[p]?_:-_:m=Mb[p]?_:-_),{left:m,top:b}},d=a==="left"||a==="right";if(l!=="center"){const h=X8[e],p=Ml[h],g=jd[h];if(n[g]>t[g]){if(t[h]+t[g]t[p]&&(l=Ob[s])}else{const h=a==="bottom"||a==="top"?"left":"top",p=Ml[h],g=jd[h],m=(n[g]-t[g])/2;(t[h]t[p]?(l=zb[h],c=u(g,h,d)):(l=zb[p],c=u(g,p,d)))}let f=a;return t[a] *",{pointerEvents:"all"})])]),Yp=be({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){const t=Ue("VBinder"),n=kt(()=>e.enabled!==void 0?e.enabled:e.show),o=W(null),r=W(null),i=()=>{const{syncTrigger:f}=e;f.includes("scroll")&&t.addScrollListener(l),f.includes("resize")&&t.addResizeListener(l)},a=()=>{t.removeScrollListener(l),t.removeResizeListener(l)};jt(()=>{n.value&&(l(),i())});const s=Li();eI.mount({id:"vueuc/binder",head:!0,anchorMetaName:Gp,ssr:s}),on(()=>{a()}),_8(()=>{n.value&&l()});const l=()=>{if(!n.value)return;const f=o.value;if(f===null)return;const h=t.targetRef,{x:p,y:g,overlap:m}=e,b=p!==void 0&&g!==void 0?z8(p,g):Nd(h);f.style.setProperty("--v-target-width",`${Math.round(b.width)}px`),f.style.setProperty("--v-target-height",`${Math.round(b.height)}px`);const{width:_,minWidth:C,placement:S,internalShift:w,flip:x}=e;f.setAttribute("v-placement",S),m?f.setAttribute("v-overlap",""):f.removeAttribute("v-overlap");const{style:y}=f;_==="target"?y.width=`${b.width}px`:_!==void 0?y.width=_:y.width="",C==="target"?y.minWidth=`${b.width}px`:C!==void 0?y.minWidth=C:y.minWidth="";const P=Nd(f),k=Nd(r.value),{left:T,top:E,placement:R}=Z8(S,b,P,w,x,m),K=J8(R,m),{left:N,top:D,transform:M}=Q8(R,k,b,E,T,m);f.setAttribute("v-placement",R),f.style.setProperty("--v-offset-left",`${Math.round(T)}px`),f.style.setProperty("--v-offset-top",`${Math.round(E)}px`),f.style.transform=`translateX(${N}) translateY(${D}) ${M}`,f.style.setProperty("--v-transform-origin",K),f.style.transformOrigin=K};ft(n,f=>{f?(i(),c()):a()});const c=()=>{Ht().then(l).catch(f=>console.error(f))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(f=>{ft(We(e,f),l)}),["teleportDisabled"].forEach(f=>{ft(We(e,f),c)}),ft(We(e,"syncTrigger"),f=>{f.includes("resize")?t.addResizeListener(l):t.removeResizeListener(l),f.includes("scroll")?t.addScrollListener(l):t.removeScrollListener(l)});const u=Qr(),d=kt(()=>{const{to:f}=e;if(f!==void 0)return f;u.value});return{VBinder:t,mergedEnabled:n,offsetContainerRef:r,followerRef:o,mergedTo:d,syncPosition:l}},render(){return v(Ru,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=v("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[v("div",{class:"v-binder-follower-content",ref:"followerRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))]);return this.zindexable?dn(n,[[Tu,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});var Si=[],tI=function(){return Si.some(function(e){return e.activeTargets.length>0})},nI=function(){return Si.some(function(e){return e.skippedTargets.length>0})},Db="ResizeObserver loop completed with undelivered notifications.",oI=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Db}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Db),window.dispatchEvent(e)},Zs;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Zs||(Zs={}));var ki=function(e){return Object.freeze(e)},rI=function(){function e(t,n){this.inlineSize=t,this.blockSize=n,ki(this)}return e}(),Mw=function(){function e(t,n,o,r){return this.x=t,this.y=n,this.width=o,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,ki(this)}return e.prototype.toJSON=function(){var t=this,n=t.x,o=t.y,r=t.top,i=t.right,a=t.bottom,s=t.left,l=t.width,c=t.height;return{x:n,y:o,top:r,right:i,bottom:a,left:s,width:l,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),Xp=function(e){return e instanceof SVGElement&&"getBBox"in e},zw=function(e){if(Xp(e)){var t=e.getBBox(),n=t.width,o=t.height;return!n&&!o}var r=e,i=r.offsetWidth,a=r.offsetHeight;return!(i||a||e.getClientRects().length)},Lb=function(e){var t;if(e instanceof Element)return!0;var n=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},iI=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},As=typeof window<"u"?window:{},zl=new WeakMap,Fb=/auto|scroll/,aI=/^tb|vertical/,sI=/msie|trident/i.test(As.navigator&&As.navigator.userAgent),Do=function(e){return parseFloat(e||"0")},ba=function(e,t,n){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=!1),new rI((n?t:e)||0,(n?e:t)||0)},Bb=ki({devicePixelContentBoxSize:ba(),borderBoxSize:ba(),contentBoxSize:ba(),contentRect:new Mw(0,0,0,0)}),Dw=function(e,t){if(t===void 0&&(t=!1),zl.has(e)&&!t)return zl.get(e);if(zw(e))return zl.set(e,Bb),Bb;var n=getComputedStyle(e),o=Xp(e)&&e.ownerSVGElement&&e.getBBox(),r=!sI&&n.boxSizing==="border-box",i=aI.test(n.writingMode||""),a=!o&&Fb.test(n.overflowY||""),s=!o&&Fb.test(n.overflowX||""),l=o?0:Do(n.paddingTop),c=o?0:Do(n.paddingRight),u=o?0:Do(n.paddingBottom),d=o?0:Do(n.paddingLeft),f=o?0:Do(n.borderTopWidth),h=o?0:Do(n.borderRightWidth),p=o?0:Do(n.borderBottomWidth),g=o?0:Do(n.borderLeftWidth),m=d+c,b=l+u,_=g+h,C=f+p,S=s?e.offsetHeight-C-e.clientHeight:0,w=a?e.offsetWidth-_-e.clientWidth:0,x=r?m+_:0,y=r?b+C:0,P=o?o.width:Do(n.width)-x-w,k=o?o.height:Do(n.height)-y-S,T=P+m+w+_,E=k+b+S+C,R=ki({devicePixelContentBoxSize:ba(Math.round(P*devicePixelRatio),Math.round(k*devicePixelRatio),i),borderBoxSize:ba(T,E,i),contentBoxSize:ba(P,k,i),contentRect:new Mw(d,l,P,k)});return zl.set(e,R),R},Lw=function(e,t,n){var o=Dw(e,n),r=o.borderBoxSize,i=o.contentBoxSize,a=o.devicePixelContentBoxSize;switch(t){case Zs.DEVICE_PIXEL_CONTENT_BOX:return a;case Zs.BORDER_BOX:return r;default:return i}},lI=function(){function e(t){var n=Dw(t);this.target=t,this.contentRect=n.contentRect,this.borderBoxSize=ki([n.borderBoxSize]),this.contentBoxSize=ki([n.contentBoxSize]),this.devicePixelContentBoxSize=ki([n.devicePixelContentBoxSize])}return e}(),Fw=function(e){if(zw(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},cI=function(){var e=1/0,t=[];Si.forEach(function(a){if(a.activeTargets.length!==0){var s=[];a.activeTargets.forEach(function(c){var u=new lI(c.target),d=Fw(c.target);s.push(u),c.lastReportedSize=Lw(c.target,c.observedBox),de?n.activeTargets.push(r):n.skippedTargets.push(r))})})},uI=function(){var e=0;for(Nb(e);tI();)e=cI(),Nb(e);return nI()&&oI(),e>0},Vd,Bw=[],dI=function(){return Bw.splice(0).forEach(function(e){return e()})},fI=function(e){if(!Vd){var t=0,n=document.createTextNode(""),o={characterData:!0};new MutationObserver(function(){return dI()}).observe(n,o),Vd=function(){n.textContent="".concat(t?t--:t++)}}Bw.push(e),Vd()},hI=function(e){fI(function(){requestAnimationFrame(e)})},dc=0,pI=function(){return!!dc},mI=250,gI={attributes:!0,characterData:!0,childList:!0,subtree:!0},Hb=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],jb=function(e){return e===void 0&&(e=0),Date.now()+e},Wd=!1,vI=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var n=this;if(t===void 0&&(t=mI),!Wd){Wd=!0;var o=jb(t);hI(function(){var r=!1;try{r=uI()}finally{if(Wd=!1,t=o-jb(),!pI())return;r?n.run(1e3):t>0?n.run(t):n.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,n=function(){return t.observer&&t.observer.observe(document.body,gI)};document.body?n():As.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Hb.forEach(function(n){return As.addEventListener(n,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Hb.forEach(function(n){return As.removeEventListener(n,t.listener,!0)}),this.stopped=!0)},e}(),_h=new vI,Vb=function(e){!dc&&e>0&&_h.start(),dc+=e,!dc&&_h.stop()},bI=function(e){return!Xp(e)&&!iI(e)&&getComputedStyle(e).display==="inline"},yI=function(){function e(t,n){this.target=t,this.observedBox=n||Zs.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Lw(this.target,this.observedBox,!0);return bI(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),xI=function(){function e(t,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=n}return e}(),Dl=new WeakMap,Wb=function(e,t){for(var n=0;n=0&&(i&&Si.splice(Si.indexOf(o),1),o.observationTargets.splice(r,1),Vb(-1))},e.disconnect=function(t){var n=this,o=Dl.get(t);o.observationTargets.slice().forEach(function(r){return n.unobserve(t,r.target)}),o.activeTargets.splice(0,o.activeTargets.length)},e}(),CI=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Ll.connect(this,t)}return e.prototype.observe=function(t,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Lb(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ll.observe(this,t,n)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Lb(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ll.unobserve(this,t)},e.prototype.disconnect=function(){Ll.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class wI{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||CI)(this.handleResize),this.elHandlersMap=new Map}handleResize(t){for(const n of t){const o=this.elHandlersMap.get(n.target);o!==void 0&&o(n)}}registerHandler(t,n){this.elHandlersMap.set(t,n),this.observer.observe(t)}unregisterHandler(t){this.elHandlersMap.has(t)&&(this.elHandlersMap.delete(t),this.observer.unobserve(t))}}const Ic=new wI,cr=be({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1;const n=to().proxy;function o(r){const{onResize:i}=e;i!==void 0&&i(r)}jt(()=>{const r=n.$el;if(r===void 0){$b("resize-observer","$el does not exist.");return}if(r.nextElementSibling!==r.nextSibling&&r.nodeType===3&&r.nodeValue!==""){$b("resize-observer","$el can not be observed (it may be a text node).");return}r.nextElementSibling!==null&&(Ic.registerHandler(r.nextElementSibling,o),t=!0)}),on(()=>{t&&Ic.unregisterHandler(n.$el.nextElementSibling)})},render(){return tu(this.$slots,"default")}});let Fl;function _I(){return typeof document>"u"?!1:(Fl===void 0&&("matchMedia"in window?Fl=window.matchMedia("(pointer:coarse)").matches:Fl=!1),Fl)}let Ud;function Ub(){return typeof document>"u"?1:(Ud===void 0&&(Ud="chrome"in window?window.devicePixelRatio:1),Ud)}const SI=Dr(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[Dr("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[Dr("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),Nw=be({name:"VirtualList",inheritAttrs:!1,props:{showScrollbar:{type:Boolean,default:!0},items:{type:Array,default:()=>[]},itemSize:{type:Number,required:!0},itemResizable:Boolean,itemsStyle:[String,Object],visibleItemsTag:{type:[String,Object],default:"div"},visibleItemsProps:Object,ignoreItemResize:Boolean,onScroll:Function,onWheel:Function,onResize:Function,defaultScrollKey:[Number,String],defaultScrollIndex:Number,keyField:{type:String,default:"key"},paddingTop:{type:[Number,String],default:0},paddingBottom:{type:[Number,String],default:0}},setup(e){const t=Li();SI.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:Gp,ssr:t}),jt(()=>{const{defaultScrollIndex:E,defaultScrollKey:R}=e;E!=null?p({index:E}):R!=null&&p({key:R})});let n=!1,o=!1;cp(()=>{if(n=!1,!o){o=!0;return}p({top:d.value,left:u})}),Zc(()=>{n=!0,o||(o=!0)});const r=F(()=>{const E=new Map,{keyField:R}=e;return e.items.forEach((K,N)=>{E.set(K[R],N)}),E}),i=W(null),a=W(void 0),s=new Map,l=F(()=>{const{items:E,itemSize:R,keyField:K}=e,N=new K8(E.length,R);return E.forEach((D,M)=>{const G=D[K],J=s.get(G);J!==void 0&&N.add(M,J)}),N}),c=W(0);let u=0;const d=W(0),f=kt(()=>Math.max(l.value.getBound(d.value-bn(e.paddingTop))-1,0)),h=F(()=>{const{value:E}=a;if(E===void 0)return[];const{items:R,itemSize:K}=e,N=f.value,D=Math.min(N+Math.ceil(E/K+1),R.length-1),M=[];for(let G=N;G<=D;++G)M.push(R[G]);return M}),p=(E,R)=>{if(typeof E=="number"){_(E,R,"auto");return}const{left:K,top:N,index:D,key:M,position:G,behavior:J,debounce:he=!0}=E;if(K!==void 0||N!==void 0)_(K,N,J);else if(D!==void 0)b(D,J,he);else if(M!==void 0){const pe=r.value.get(M);pe!==void 0&&b(pe,J,he)}else G==="bottom"?_(0,Number.MAX_SAFE_INTEGER,J):G==="top"&&_(0,0,J)};let g,m=null;function b(E,R,K){const{value:N}=l,D=N.sum(E)+bn(e.paddingTop);if(!K)i.value.scrollTo({left:0,top:D,behavior:R});else{g=E,m!==null&&window.clearTimeout(m),m=window.setTimeout(()=>{g=void 0,m=null},16);const{scrollTop:M,offsetHeight:G}=i.value;if(D>M){const J=N.get(E);D+J<=M+G||i.value.scrollTo({left:0,top:D+J-G,behavior:R})}else i.value.scrollTo({left:0,top:D,behavior:R})}}function _(E,R,K){i.value.scrollTo({left:E,top:R,behavior:K})}function C(E,R){var K,N,D;if(n||e.ignoreItemResize||T(R.target))return;const{value:M}=l,G=r.value.get(E),J=M.get(G),he=(D=(N=(K=R.borderBoxSize)===null||K===void 0?void 0:K[0])===null||N===void 0?void 0:N.blockSize)!==null&&D!==void 0?D:R.contentRect.height;if(he===J)return;he-e.itemSize===0?s.delete(E):s.set(E,he-e.itemSize);const B=he-J;if(B===0)return;M.add(G,B);const $=i.value;if($!=null){if(g===void 0){const A=M.sum(G);$.scrollTop>A&&$.scrollBy(0,B)}else if(G$.scrollTop+$.offsetHeight&&$.scrollBy(0,B)}k()}c.value++}const S=!_I();let w=!1;function x(E){var R;(R=e.onScroll)===null||R===void 0||R.call(e,E),(!S||!w)&&k()}function y(E){var R;if((R=e.onWheel)===null||R===void 0||R.call(e,E),S){const K=i.value;if(K!=null){if(E.deltaX===0&&(K.scrollTop===0&&E.deltaY<=0||K.scrollTop+K.offsetHeight>=K.scrollHeight&&E.deltaY>=0))return;E.preventDefault(),K.scrollTop+=E.deltaY/Ub(),K.scrollLeft+=E.deltaX/Ub(),k(),w=!0,Rc(()=>{w=!1})}}}function P(E){if(n||T(E.target)||E.contentRect.height===a.value)return;a.value=E.contentRect.height;const{onResize:R}=e;R!==void 0&&R(E)}function k(){const{value:E}=i;E!=null&&(d.value=E.scrollTop,u=E.scrollLeft)}function T(E){let R=E;for(;R!==null;){if(R.style.display==="none")return!0;R=R.parentElement}return!1}return{listHeight:a,listStyle:{overflow:"auto"},keyToIndex:r,itemsStyle:F(()=>{const{itemResizable:E}=e,R=zn(l.value.sum());return c.value,[e.itemsStyle,{boxSizing:"content-box",height:E?"":R,minHeight:E?R:"",paddingTop:zn(e.paddingTop),paddingBottom:zn(e.paddingBottom)}]}),visibleItemsStyle:F(()=>(c.value,{transform:`translateY(${zn(l.value.sum(f.value))})`})),viewportItems:h,listElRef:i,itemsElRef:W(null),scrollTo:p,handleListResize:P,handleListScroll:x,handleListWheel:y,handleItemResize:C}},render(){const{itemResizable:e,keyField:t,keyToIndex:n,visibleItemsTag:o}=this;return v(cr,{onResize:this.handleListResize},{default:()=>{var r,i;return v("div",Ln(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?v("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[v(o,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>this.viewportItems.map(a=>{const s=a[t],l=n.get(s),c=this.$slots.default({item:a,index:l})[0];return e?v(cr,{key:s,onResize:u=>this.handleItemResize(s,u)},{default:()=>c}):(c.key=s,c)})})]):(i=(r=this.$slots).empty)===null||i===void 0?void 0:i.call(r)])}})}}),tr="v-hidden",kI=Dr("[v-hidden]",{display:"none!important"}),Sh=be({name:"Overflow",props:{getCounter:Function,getTail:Function,updateCounter:Function,onUpdateCount:Function,onUpdateOverflow:Function},setup(e,{slots:t}){const n=W(null),o=W(null);function r(a){const{value:s}=n,{getCounter:l,getTail:c}=e;let u;if(l!==void 0?u=l():u=o.value,!s||!u)return;u.hasAttribute(tr)&&u.removeAttribute(tr);const{children:d}=s;if(a.showAllItemsBeforeCalculate)for(const C of d)C.hasAttribute(tr)&&C.removeAttribute(tr);const f=s.offsetWidth,h=[],p=t.tail?c==null?void 0:c():null;let g=p?p.offsetWidth:0,m=!1;const b=s.children.length-(t.tail?1:0);for(let C=0;Cf){const{updateCounter:x}=e;for(let y=C;y>=0;--y){const P=b-1-y;x!==void 0?x(P):u.textContent=`${P}`;const k=u.offsetWidth;if(g-=h[y],g+k<=f||y===0){m=!0,C=y-1,p&&(C===-1?(p.style.maxWidth=`${f-k}px`,p.style.boxSizing="border-box"):p.style.maxWidth="");const{onUpdateCount:T}=e;T&&T(P);break}}}}const{onUpdateOverflow:_}=e;m?_!==void 0&&_(!0):(_!==void 0&&_(!1),u.setAttribute(tr,""))}const i=Li();return kI.mount({id:"vueuc/overflow",head:!0,anchorMetaName:Gp,ssr:i}),jt(()=>r({showAllItemsBeforeCalculate:!1})),{selfRef:n,counterRef:o,sync:r}},render(){const{$slots:e}=this;return Ht(()=>this.sync({showAllItemsBeforeCalculate:!1})),v("div",{class:"v-overflow",ref:"selfRef"},[tu(e,"default"),e.counter?e.counter():v("span",{style:{display:"inline-block"},ref:"counterRef"}),e.tail?e.tail():null])}});function Hw(e){return e instanceof HTMLElement}function jw(e){for(let t=0;t=0;t--){const n=e.childNodes[t];if(Hw(n)&&(Ww(n)||Vw(n)))return!0}return!1}function Ww(e){if(!PI(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function PI(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return e.type!=="hidden"&&e.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}let ls=[];const Zp=be({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){const t=Zr(),n=W(null),o=W(null);let r=!1,i=!1;const a=typeof document>"u"?null:document.activeElement;function s(){return ls[ls.length-1]===t}function l(m){var b;m.code==="Escape"&&s()&&((b=e.onEsc)===null||b===void 0||b.call(e,m))}jt(()=>{ft(()=>e.active,m=>{m?(d(),At("keydown",document,l)):(Tt("keydown",document,l),r&&f())},{immediate:!0})}),on(()=>{Tt("keydown",document,l),r&&f()});function c(m){if(!i&&s()){const b=u();if(b===null||b.contains(Ai(m)))return;h("first")}}function u(){const m=n.value;if(m===null)return null;let b=m;for(;b=b.nextSibling,!(b===null||b instanceof Element&&b.tagName==="DIV"););return b}function d(){var m;if(!e.disabled){if(ls.push(t),e.autoFocus){const{initialFocusTo:b}=e;b===void 0?h("first"):(m=Ib(b))===null||m===void 0||m.focus({preventScroll:!0})}r=!0,document.addEventListener("focus",c,!0)}}function f(){var m;if(e.disabled||(document.removeEventListener("focus",c,!0),ls=ls.filter(_=>_!==t),s()))return;const{finalFocusTo:b}=e;b!==void 0?(m=Ib(b))===null||m===void 0||m.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&a instanceof HTMLElement&&(i=!0,a.focus({preventScroll:!0}),i=!1)}function h(m){if(s()&&e.active){const b=n.value,_=o.value;if(b!==null&&_!==null){const C=u();if(C==null||C===_){i=!0,b.focus({preventScroll:!0}),i=!1;return}i=!0;const S=m==="first"?jw(C):Vw(C);i=!1,S||(i=!0,b.focus({preventScroll:!0}),i=!1)}}}function p(m){if(i)return;const b=u();b!==null&&(m.relatedTarget!==null&&b.contains(m.relatedTarget)?h("last"):h("first"))}function g(m){i||(m.relatedTarget!==null&&m.relatedTarget===n.value?h("last"):h("first"))}return{focusableStartRef:n,focusableEndRef:o,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:p,handleEndFocus:g}},render(){const{default:e}=this.$slots;if(e===void 0)return null;if(this.disabled)return e();const{active:t,focusableStyle:n}=this;return v(it,null,[v("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:n,onFocus:this.handleStartFocus}),e(),v("div",{"aria-hidden":"true",style:n,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}});function Uw(e,t){t&&(jt(()=>{const{value:n}=e;n&&Ic.registerHandler(n,t)}),on(()=>{const{value:n}=e;n&&Ic.unregisterHandler(n)}))}let ra=0,qb="",Kb="",Gb="",Yb="";const kh=W("0px");function qw(e){if(typeof document>"u")return;const t=document.documentElement;let n,o=!1;const r=()=>{t.style.marginRight=qb,t.style.overflow=Kb,t.style.overflowX=Gb,t.style.overflowY=Yb,kh.value="0px"};jt(()=>{n=ft(e,i=>{if(i){if(!ra){const a=window.innerWidth-t.offsetWidth;a>0&&(qb=t.style.marginRight,t.style.marginRight=`${a}px`,kh.value=`${a}px`),Kb=t.style.overflow,Gb=t.style.overflowX,Yb=t.style.overflowY,t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden"}o=!0,ra++}else ra--,ra||r(),o=!1},{immediate:!0})}),on(()=>{n==null||n(),o&&(ra--,ra||r(),o=!1)})}const Jp=W(!1);function Xb(){Jp.value=!0}function Zb(){Jp.value=!1}let cs=0;function Kw(){return hr&&(hn(()=>{cs||(window.addEventListener("compositionstart",Xb),window.addEventListener("compositionend",Zb)),cs++}),on(()=>{cs<=1?(window.removeEventListener("compositionstart",Xb),window.removeEventListener("compositionend",Zb),cs=0):cs--})),Jp}function Qp(e){const t={isDeactivated:!1};let n=!1;return cp(()=>{if(t.isDeactivated=!1,!n){n=!0;return}e()}),Zc(()=>{t.isDeactivated=!0,n||(n=!0)}),t}function Jb(e){return e.nodeName==="#document"}function TI(e,t){if(!e)return;const n=document.createElement("a");n.href=e,t!==void 0&&(n.download=t),document.body.appendChild(n),n.click(),document.body.removeChild(n)}const Qb="n-form-item";function pr(e,{defaultSize:t="medium",mergedSize:n,mergedDisabled:o}={}){const r=Ue(Qb,null);at(Qb,null);const i=F(n?()=>n(r):()=>{const{size:l}=e;if(l)return l;if(r){const{mergedSize:c}=r;if(c.value!==void 0)return c.value}return t}),a=F(o?()=>o(r):()=>{const{disabled:l}=e;return l!==void 0?l:r?r.disabled.value:!1}),s=F(()=>{const{status:l}=e;return l||(r==null?void 0:r.mergedValidationStatus.value)});return on(()=>{r&&r.restoreValidation()}),{mergedSizeRef:i,mergedDisabledRef:a,mergedStatusRef:s,nTriggerFormBlur(){r&&r.handleContentBlur()},nTriggerFormChange(){r&&r.handleContentChange()},nTriggerFormFocus(){r&&r.handleContentFocus()},nTriggerFormInput(){r&&r.handleContentInput()}}}var RI=typeof global=="object"&&global&&global.Object===Object&&global;const Gw=RI;var EI=typeof self=="object"&&self&&self.Object===Object&&self,$I=Gw||EI||Function("return this")();const Ao=$I;var AI=Ao.Symbol;const Hr=AI;var Yw=Object.prototype,II=Yw.hasOwnProperty,OI=Yw.toString,us=Hr?Hr.toStringTag:void 0;function MI(e){var t=II.call(e,us),n=e[us];try{e[us]=void 0;var o=!0}catch{}var r=OI.call(e);return o&&(t?e[us]=n:delete e[us]),r}var zI=Object.prototype,DI=zI.toString;function LI(e){return DI.call(e)}var FI="[object Null]",BI="[object Undefined]",e0=Hr?Hr.toStringTag:void 0;function Fi(e){return e==null?e===void 0?BI:FI:e0&&e0 in Object(e)?MI(e):LI(e)}function jr(e){return e!=null&&typeof e=="object"}var NI="[object Symbol]";function Eu(e){return typeof e=="symbol"||jr(e)&&Fi(e)==NI}function Xw(e,t){for(var n=-1,o=e==null?0:e.length,r=Array(o);++n0){if(++t>=wO)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function PO(e){return function(){return e}}var TO=function(){try{var e=Ni(Object,"defineProperty");return e({},"",{}),e}catch{}}();const Oc=TO;var RO=Oc?function(e,t){return Oc(e,"toString",{configurable:!0,enumerable:!1,value:PO(t),writable:!0})}:em;const EO=RO;var $O=kO(EO);const AO=$O;var IO=9007199254740991,OO=/^(?:0|[1-9]\d*)$/;function nm(e,t){var n=typeof e;return t=t??IO,!!t&&(n=="number"||n!="symbol"&&OO.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=NO}function Wa(e){return e!=null&&rm(e.length)&&!tm(e)}function HO(e,t,n){if(!Ko(n))return!1;var o=typeof t;return(o=="number"?Wa(n)&&nm(t,n.length):o=="string"&&t in n)?cl(n[t],e):!1}function jO(e){return BO(function(t,n){var o=-1,r=n.length,i=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;for(i=e.length>3&&typeof i=="function"?(r--,i):void 0,a&&HO(n[0],n[1],a)&&(i=r<3?void 0:i,r=1),t=Object(t);++o-1}function iz(e,t){var n=this.__data__,o=$u(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function mr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++tr?0:r+t),n=n>r?r:n,n<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(r);++o=o?e:Ez(e,t,n)}var Az="\\ud800-\\udfff",Iz="\\u0300-\\u036f",Oz="\\ufe20-\\ufe2f",Mz="\\u20d0-\\u20ff",zz=Iz+Oz+Mz,Dz="\\ufe0e\\ufe0f",Lz="\\u200d",Fz=RegExp("["+Lz+Az+zz+Dz+"]");function c_(e){return Fz.test(e)}function Bz(e){return e.split("")}var u_="\\ud800-\\udfff",Nz="\\u0300-\\u036f",Hz="\\ufe20-\\ufe2f",jz="\\u20d0-\\u20ff",Vz=Nz+Hz+jz,Wz="\\ufe0e\\ufe0f",Uz="["+u_+"]",Rh="["+Vz+"]",Eh="\\ud83c[\\udffb-\\udfff]",qz="(?:"+Rh+"|"+Eh+")",d_="[^"+u_+"]",f_="(?:\\ud83c[\\udde6-\\uddff]){2}",h_="[\\ud800-\\udbff][\\udc00-\\udfff]",Kz="\\u200d",p_=qz+"?",m_="["+Wz+"]?",Gz="(?:"+Kz+"(?:"+[d_,f_,h_].join("|")+")"+m_+p_+")*",Yz=m_+p_+Gz,Xz="(?:"+[d_+Rh+"?",Rh,f_,h_,Uz].join("|")+")",Zz=RegExp(Eh+"(?="+Eh+")|"+Xz+Yz,"g");function Jz(e){return e.match(Zz)||[]}function Qz(e){return c_(e)?Jz(e):Bz(e)}function eD(e){return function(t){t=Oi(t);var n=c_(t)?Qz(t):void 0,o=n?n[0]:t.charAt(0),r=n?$z(n,1).join(""):t.slice(1);return o[e]()+r}}var tD=eD("toUpperCase");const g_=tD;function nD(e){return g_(Oi(e).toLowerCase())}function oD(e,t,n,o){var r=-1,i=e==null?0:e.length;for(o&&i&&(n=e[++r]);++rs))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var d=-1,f=!0,h=n&$L?new Lc:void 0;for(i.set(e,t),i.set(t,e);++d{const u=i==null?void 0:i.value;n.mount({id:u===void 0?t:u+t,head:!0,props:{bPrefix:u?`.${u}-`:void 0},anchorMetaName:ka,ssr:a}),s!=null&&s.preflightStyleDisabled||u_.mount({id:"n-global",head:!0,anchorMetaName:ka,ssr:a})};a?c():hn(c)}return L(()=>{var c;const{theme:{common:u,self:d,peers:f={}}={},themeOverrides:p={},builtinThemeOverrides:h={}}=r,{common:m,peers:v}=p,{common:b=void 0,[e]:{common:w=void 0,self:C=void 0,peers:S={}}={}}=(s==null?void 0:s.mergedThemeRef.value)||{},{common:_=void 0,[e]:x={}}=(s==null?void 0:s.mergedThemeOverridesRef.value)||{},{common:y,peers:k={}}=x,P=ls({},u||w||b||o.common,_,y,m),T=ls((c=d||C||o.self)===null||c===void 0?void 0:c(P),h,x,p);return{common:P,self:T,peers:ls({},o.peers,S,f),peerOverrides:ls({},h.peers,k,v)}})}Be.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const Xs="n";function st(e={},t={defaultBordered:!0}){const n=We(ko,null);return{inlineThemeDisabled:n==null?void 0:n.inlineThemeDisabled,mergedRtlRef:n==null?void 0:n.mergedRtlRef,mergedComponentPropsRef:n==null?void 0:n.mergedComponentPropsRef,mergedBreakpointsRef:n==null?void 0:n.mergedBreakpointsRef,mergedBorderedRef:L(()=>{var o,r;const{bordered:i}=e;return i!==void 0?i:(r=(o=n==null?void 0:n.mergedBorderedRef.value)!==null&&o!==void 0?o:t.defaultBordered)!==null&&r!==void 0?r:!0}),mergedClsPrefixRef:n?n.mergedClsPrefixRef:Ra(Xs),namespaceRef:L(()=>n==null?void 0:n.mergedNamespaceRef.value)}}function d_(){const e=We(ko,null);return e?e.mergedClsPrefixRef:Ra(Xs)}const WL={name:"zh-CN",global:{undo:"撤销",redo:"重做",confirm:"确认",clear:"清除"},Popconfirm:{positiveText:"确认",negativeText:"取消"},Cascader:{placeholder:"请选择",loading:"加载中",loadingRequiredMessage:e=>`加载全部 ${e} 的子节点后才可选中`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w周",clear:"清除",now:"此刻",confirm:"确认",selectTime:"选择时间",selectDate:"选择日期",datePlaceholder:"选择日期",datetimePlaceholder:"选择日期时间",monthPlaceholder:"选择月份",yearPlaceholder:"选择年份",quarterPlaceholder:"选择季度",weekPlaceholder:"选择周",startDatePlaceholder:"开始日期",endDatePlaceholder:"结束日期",startDatetimePlaceholder:"开始日期时间",endDatetimePlaceholder:"结束日期时间",startMonthPlaceholder:"开始月份",endMonthPlaceholder:"结束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"选择全部表格数据",uncheckTableAll:"取消选择全部表格数据",confirm:"确认",clear:"重置"},LegacyTransfer:{sourceTitle:"源项",targetTitle:"目标项"},Transfer:{selectAll:"全选",clearAll:"清除",unselectAll:"取消全选",total:e=>`共 ${e} 项`,selected:e=>`已选 ${e} 项`},Empty:{description:"无数据"},Select:{placeholder:"请选择"},TimePicker:{placeholder:"请选择时间",positiveText:"确认",negativeText:"取消",now:"此刻",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"页"},DynamicTags:{add:"添加"},Log:{loading:"加载中"},Input:{placeholder:"请输入"},InputNumber:{placeholder:"请输入"},DynamicInput:{create:"添加"},ThemeEditor:{title:"主题编辑器",clearAllVars:"清除全部变量",clearSearch:"清除搜索",filterCompName:"过滤组件名",filterVarName:"过滤变量名",import:"导入",export:"导出",restore:"恢复默认"},Image:{tipPrevious:"上一张(←)",tipNext:"下一张(→)",tipCounterclockwise:"向左旋转",tipClockwise:"向右旋转",tipZoomOut:"缩小",tipZoomIn:"放大",tipDownload:"下载",tipClose:"关闭(Esc)",tipOriginalSize:"缩放到原始尺寸"}},UL=WL,qL={name:"zh-TW",global:{undo:"復原",redo:"重做",confirm:"確定",clear:"清除"},Popconfirm:{positiveText:"確定",negativeText:"取消"},Cascader:{placeholder:"請選擇",loading:"載入中",loadingRequiredMessage:e=>`載入全部 ${e} 的子節點後才可選擇`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy 年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"清除",now:"現在",confirm:"確定",selectTime:"選擇時間",selectDate:"選擇日期",datePlaceholder:"選擇日期",datetimePlaceholder:"選擇日期時間",monthPlaceholder:"選擇月份",yearPlaceholder:"選擇年份",quarterPlaceholder:"選擇季度",weekPlaceholder:"Select Week",startDatePlaceholder:"開始日期",endDatePlaceholder:"結束日期",startDatetimePlaceholder:"開始日期時間",endDatetimePlaceholder:"結束日期時間",startMonthPlaceholder:"開始月份",endMonthPlaceholder:"結束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"選擇全部表格資料",uncheckTableAll:"取消選擇全部表格資料",confirm:"確定",clear:"重設"},LegacyTransfer:{sourceTitle:"來源",targetTitle:"目標"},Transfer:{selectAll:"全選",unselectAll:"取消全選",clearAll:"清除全部",total:e=>`共 ${e} 項`,selected:e=>`已選 ${e} 項`},Empty:{description:"無資料"},Select:{placeholder:"請選擇"},TimePicker:{placeholder:"請選擇時間",positiveText:"確定",negativeText:"取消",now:"現在",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"頁"},DynamicTags:{add:"新增"},Log:{loading:"載入中"},Input:{placeholder:"請輸入"},InputNumber:{placeholder:"請輸入"},DynamicInput:{create:"新增"},ThemeEditor:{title:"主題編輯器",clearAllVars:"清除全部變數",clearSearch:"清除搜尋",filterCompName:"過濾組件名稱",filterVarName:"過濾變數名稱",import:"匯入",export:"匯出",restore:"恢復預設"},Image:{tipPrevious:"上一張(←)",tipNext:"下一張(→)",tipCounterclockwise:"向左旋轉",tipClockwise:"向右旋轉",tipZoomOut:"縮小",tipZoomIn:"放大",tipDownload:"下載",tipClose:"關閉(Esc)",tipOriginalSize:"縮放到原始尺寸"}},KL=qL,GL={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},f_=GL,YL={name:"ja-JP",global:{undo:"元に戻す",redo:"やり直す",confirm:"OK",clear:"クリア"},Popconfirm:{positiveText:"OK",negativeText:"キャンセル"},Cascader:{placeholder:"選択してください",loading:"ロード中",loadingRequiredMessage:e=>`すべての ${e} サブノードをロードしてから選択できます。`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"クリア",now:"現在",confirm:"OK",selectTime:"時間を選択",selectDate:"日付を選択",datePlaceholder:"日付を選択",datetimePlaceholder:"選択",monthPlaceholder:"月を選択",yearPlaceholder:"年を選択",quarterPlaceholder:"四半期を選択",weekPlaceholder:"Select Week",startDatePlaceholder:"開始日",endDatePlaceholder:"終了日",startDatetimePlaceholder:"開始時間",endDatetimePlaceholder:"終了時間",startMonthPlaceholder:"開始月",endMonthPlaceholder:"終了月",monthBeforeYear:!1,firstDayOfWeek:0,today:"今日"},DataTable:{checkTableAll:"全選択",uncheckTableAll:"全選択取消",confirm:"OK",clear:"リセット"},LegacyTransfer:{sourceTitle:"元",targetTitle:"先"},Transfer:{selectAll:"全選択",unselectAll:"全選択取消",clearAll:"リセット",total:e=>`合計 ${e} 項目`,selected:e=>`${e} 個の項目を選択`},Empty:{description:"データなし"},Select:{placeholder:"選択してください"},TimePicker:{placeholder:"選択してください",positiveText:"OK",negativeText:"キャンセル",now:"現在",clear:"クリア"},Pagination:{goto:"ページジャンプ",selectionSuffix:"ページ"},DynamicTags:{add:"追加"},Log:{loading:"ロード中"},Input:{placeholder:"入力してください"},InputNumber:{placeholder:"入力してください"},DynamicInput:{create:"追加"},ThemeEditor:{title:"テーマエディタ",clearAllVars:"全件変数クリア",clearSearch:"検索クリア",filterCompName:"コンポネント名をフィルタ",filterVarName:"変数をフィルタ",import:"インポート",export:"エクスポート",restore:"デフォルト"},Image:{tipPrevious:"前の画像 (←)",tipNext:"次の画像 (→)",tipCounterclockwise:"左に回転",tipClockwise:"右に回転",tipZoomOut:"縮小",tipZoomIn:"拡大",tipDownload:"ダウンロード",tipClose:"閉じる (Esc)",tipOriginalSize:"元のサイズに戻す"}},XL=YL,ZL={name:"ko-KR",global:{undo:"실행 취소",redo:"다시 실행",confirm:"확인",clear:"지우기"},Popconfirm:{positiveText:"확인",negativeText:"취소"},Cascader:{placeholder:"선택해 주세요",loading:"불러오는 중",loadingRequiredMessage:e=>`${e}의 모든 하위 항목을 불러온 뒤에 선택할 수 있습니다.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy년",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"지우기",now:"현재",confirm:"확인",selectTime:"시간 선택",selectDate:"날짜 선택",datePlaceholder:"날짜 선택",datetimePlaceholder:"날짜 및 시간 선택",monthPlaceholder:"월 선택",yearPlaceholder:"년 선택",quarterPlaceholder:"분기 선택",weekPlaceholder:"Select Week",startDatePlaceholder:"시작 날짜",endDatePlaceholder:"종료 날짜",startDatetimePlaceholder:"시작 날짜 및 시간",endDatetimePlaceholder:"종료 날짜 및 시간",startMonthPlaceholder:"시작 월",endMonthPlaceholder:"종료 월",monthBeforeYear:!1,firstDayOfWeek:6,today:"오늘"},DataTable:{checkTableAll:"모두 선택",uncheckTableAll:"모두 선택 해제",confirm:"확인",clear:"지우기"},LegacyTransfer:{sourceTitle:"원본",targetTitle:"타깃"},Transfer:{selectAll:"전체 선택",unselectAll:"전체 해제",clearAll:"전체 삭제",total:e=>`총 ${e} 개`,selected:e=>`${e} 개 선택`},Empty:{description:"데이터 없음"},Select:{placeholder:"선택해 주세요"},TimePicker:{placeholder:"시간 선택",positiveText:"확인",negativeText:"취소",now:"현재 시간",clear:"지우기"},Pagination:{goto:"이동",selectionSuffix:"페이지"},DynamicTags:{add:"추가"},Log:{loading:"불러오는 중"},Input:{placeholder:"입력해 주세요"},InputNumber:{placeholder:"입력해 주세요"},DynamicInput:{create:"추가"},ThemeEditor:{title:"테마 편집기",clearAllVars:"모든 변수 지우기",clearSearch:"검색 지우기",filterCompName:"구성 요소 이름 필터",filterVarName:"변수 이름 필터",import:"가져오기",export:"내보내기",restore:"기본으로 재설정"},Image:{tipPrevious:"이전 (←)",tipNext:"다음 (→)",tipCounterclockwise:"시계 반대 방향으로 회전",tipClockwise:"시계 방향으로 회전",tipZoomOut:"축소",tipZoomIn:"확대",tipDownload:"다운로드",tipClose:"닫기 (Esc)",tipOriginalSize:"원본 크기로 확대"}},JL=ZL,QL={name:"vi-VN",global:{undo:"Hoàn tác",redo:"Làm lại",confirm:"Xác nhận",clear:"xóa"},Popconfirm:{positiveText:"Xác nhận",negativeText:"Hủy"},Cascader:{placeholder:"Vui lòng chọn",loading:"Đang tải",loadingRequiredMessage:e=>`Vui lòng tải tất cả thông tin con của ${e} trước.`},Time:{dateFormat:"",dateTimeFormat:"HH:mm:ss dd-MM-yyyy"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"MM-yyyy",dateFormat:"dd-MM-yyyy",dateTimeFormat:"HH:mm:ss dd-MM-yyyy",quarterFormat:"qqq-yyyy",weekFormat:"yyyy-w",clear:"Xóa",now:"Hôm nay",confirm:"Xác nhận",selectTime:"Chọn giờ",selectDate:"Chọn ngày",datePlaceholder:"Chọn ngày",datetimePlaceholder:"Chọn ngày giờ",monthPlaceholder:"Chọn tháng",yearPlaceholder:"Chọn năm",quarterPlaceholder:"Chọn quý",weekPlaceholder:"Select Week",startDatePlaceholder:"Ngày bắt đầu",endDatePlaceholder:"Ngày kết thúc",startDatetimePlaceholder:"Thời gian bắt đầu",endDatetimePlaceholder:"Thời gian kết thúc",startMonthPlaceholder:"Tháng bắt đầu",endMonthPlaceholder:"Tháng kết thúc",monthBeforeYear:!0,firstDayOfWeek:0,today:"Hôm nay"},DataTable:{checkTableAll:"Chọn tất cả có trong bảng",uncheckTableAll:"Bỏ chọn tất cả có trong bảng",confirm:"Xác nhận",clear:"Xóa"},LegacyTransfer:{sourceTitle:"Nguồn",targetTitle:"Đích"},Transfer:{selectAll:"Chọn tất cả",unselectAll:"Bỏ chọn tất cả",clearAll:"Xoá tất cả",total:e=>`Tổng cộng ${e} mục`,selected:e=>`${e} mục được chọn`},Empty:{description:"Không có dữ liệu"},Select:{placeholder:"Vui lòng chọn"},TimePicker:{placeholder:"Chọn thời gian",positiveText:"OK",negativeText:"Hủy",now:"Hiện tại",clear:"Xóa"},Pagination:{goto:"Đi đến trang",selectionSuffix:"trang"},DynamicTags:{add:"Thêm"},Log:{loading:"Đang tải"},Input:{placeholder:"Vui lòng nhập"},InputNumber:{placeholder:"Vui lòng nhập"},DynamicInput:{create:"Tạo"},ThemeEditor:{title:"Tùy chỉnh giao diện",clearAllVars:"Xóa tất cả các biến",clearSearch:"Xóa tìm kiếm",filterCompName:"Lọc tên component",filterVarName:"Lọc tên biến",import:"Nhập",export:"Xuất",restore:"Đặt lại mặc định"},Image:{tipPrevious:"Hình trước (←)",tipNext:"Hình tiếp (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Chiều kim đồng hồ",tipZoomOut:"Thu nhỏ",tipZoomIn:"Phóng to",tipDownload:"Tải về",tipClose:"Đóng (Esc)",tipOriginalSize:"Xem kích thước gốc"}},e9=QL,t9={name:"fa-IR",global:{undo:"لغو انجام شده",redo:"انجام دوباره",confirm:"تأیید",clear:"پاک کردن"},Popconfirm:{positiveText:"تأیید",negativeText:"لغو"},Cascader:{placeholder:"لطفا انتخاب کنید",loading:"بارگذاری",loadingRequiredMessage:e=>`پس از بارگیری کامل زیرمجموعه های ${e} می توانید انتخاب کنید `},Time:{dateFormat:"yyyy/MM/dd",dateTimeFormat:"yyyy/MM/dd، H:mm:ss"},DatePicker:{yearFormat:"yyyy سال",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"MM/yyyy",dateFormat:"yyyy/MM/dd",dateTimeFormat:"yyyy/MM/dd HH:mm:ss",quarterFormat:"سه ماهه yyyy",weekFormat:"yyyy-w",clear:"پاک کردن",now:"اکنون",confirm:"تأیید",selectTime:"انتخاب زمان",selectDate:"انتخاب تاریخ",datePlaceholder:"انتخاب تاریخ",datetimePlaceholder:"انتخاب تاریخ و زمان",monthPlaceholder:"انتخاب ماه",yearPlaceholder:"انتخاب سال",quarterPlaceholder:"انتخاب سه‌ماهه",weekPlaceholder:"Select Week",startDatePlaceholder:"تاریخ شروع",endDatePlaceholder:"تاریخ پایان",startDatetimePlaceholder:"زمان شروع",endDatetimePlaceholder:"زمان پایان",startMonthPlaceholder:"ماه شروع",endMonthPlaceholder:"ماه پایان",monthBeforeYear:!1,firstDayOfWeek:6,today:"امروز"},DataTable:{checkTableAll:"انتخاب همه داده‌های جدول",uncheckTableAll:"عدم انتخاب همه داده‌های جدول",confirm:"تأیید",clear:"تنظیم مجدد"},LegacyTransfer:{sourceTitle:"آیتم منبع",targetTitle:"آیتم مقصد"},Transfer:{selectAll:"انتخاب همه",clearAll:"حذف همه",unselectAll:"عدم انتخاب همه",total:e=>`کل ${e} مورد`,selected:e=>`انتخاب شده ${e} مورد`},Empty:{description:"اطلاعاتی وجود ندارد"},Select:{placeholder:"لطفاً انتخاب کنید"},TimePicker:{placeholder:"لطفاً زمان مورد نظر را انتخاب کنید",positiveText:"تأیید",negativeText:"لغو",now:"همین الان",clear:"پاک کردن"},Pagination:{goto:"رفتن به صفحه",selectionSuffix:"صفحه"},DynamicTags:{add:"افزودن"},Log:{loading:"در حال بارگذاری"},Input:{placeholder:"لطفاً وارد کنید"},InputNumber:{placeholder:"لطفاً وارد کنید"},DynamicInput:{create:"افزودن"},ThemeEditor:{title:"ویرایشگر پوسته",clearAllVars:"پاک کردن همه متغیرها",clearSearch:"پاک کردن جستجو",filterCompName:"فیلتر نام کامپوننت",filterVarName:"فیلتر نام متغیر",import:"ورود",export:"خروج",restore:"بازگردانی به حالت پیش‌فرض"},Image:{tipPrevious:"تصویر قبلی (←)",tipNext:"تصویر بعدی (→)",tipCounterclockwise:"چرخش به سمت چپ",tipClockwise:"چرخش به سمت راست",tipZoomOut:"کوچک نمایی تصویر",tipZoomIn:"بزرگ نمایی تصویر",tipDownload:"بارگیری",tipClose:"بستن (Esc)",tipOriginalSize:"اندازه اصلی تصویر"}},n9=t9;var o9={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},r9=function(t,n,o){var r,i=o9[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",String(n)),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?r+"内":r+"前":r};const i9=r9;function Dn(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,o=e.formats[n]||e.formats[e.defaultWidth];return o}}var a9={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},s9={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},l9={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},c9={date:Dn({formats:a9,defaultWidth:"full"}),time:Dn({formats:s9,defaultWidth:"full"}),dateTime:Dn({formats:l9,defaultWidth:"full"})};const u9=c9;function Zp(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function wh(e){"@babel/helpers - typeof";return wh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wh(e)}function d9(e){Zp(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||wh(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function f9(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}var h9={};function p9(){return h9}function g0(e,t){var n,o,r,i,a,s,l,c;Zp(1,arguments);var u=p9(),d=f9((n=(o=(r=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&r!==void 0?r:u.weekStartsOn)!==null&&o!==void 0?o:(l=u.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=d9(e),p=f.getUTCDay(),h=(pt.getTime()?"'下个'"+o:"'上个'"+o}var g9={lastWeek:v0,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:v0,other:"PP p"},v9=function(t,n,o,r){var i=g9[t];return typeof i=="function"?i(n,o,r):i};const b9=v9;function en(e){return function(t,n){var o=n!=null&&n.context?String(n.context):"standalone",r;if(o==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):i;r=e.formattingValues[a]||e.formattingValues[i]}else{var s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;r=e.values[l]||e.values[s]}var c=e.argumentCallback?e.argumentCallback(t):t;return r[c]}}var y9={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},x9={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},C9={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},w9={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},_9={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},S9={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},k9=function(t,n){var o=Number(t);switch(n==null?void 0:n.unit){case"date":return o.toString()+"日";case"hour":return o.toString()+"时";case"minute":return o.toString()+"分";case"second":return o.toString()+"秒";default:return"第 "+o.toString()}},P9={ordinalNumber:k9,era:en({values:y9,defaultWidth:"wide"}),quarter:en({values:x9,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:en({values:C9,defaultWidth:"wide"}),day:en({values:w9,defaultWidth:"wide"}),dayPeriod:en({values:_9,defaultWidth:"wide",formattingValues:S9,defaultFormattingWidth:"wide"})};const T9=P9;function tn(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=n.width,r=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;var a=i[0],s=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?E9(s,function(d){return d.test(a)}):R9(s,function(d){return d.test(a)}),c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;var u=t.slice(a.length);return{value:c,rest:u}}}function R9(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function E9(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},o=t.match(e.matchPattern);if(!o)return null;var r=o[0],i=t.match(e.parsePattern);if(!i)return null;var a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;var s=t.slice(r.length);return{value:a,rest:s}}}var $9=/^(第\s*)?\d+(日|时|分|秒)?/i,A9=/\d+/i,I9={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},O9={any:[/^(前)/i,/^(公元)/i]},M9={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},z9={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},D9={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},L9={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},F9={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},B9={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},N9={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},H9={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},j9={ordinalNumber:ll({matchPattern:$9,parsePattern:A9,valueCallback:function(t){return parseInt(t,10)}}),era:tn({matchPatterns:I9,defaultMatchWidth:"wide",parsePatterns:O9,defaultParseWidth:"any"}),quarter:tn({matchPatterns:M9,defaultMatchWidth:"wide",parsePatterns:z9,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:tn({matchPatterns:D9,defaultMatchWidth:"wide",parsePatterns:L9,defaultParseWidth:"any"}),day:tn({matchPatterns:F9,defaultMatchWidth:"wide",parsePatterns:B9,defaultParseWidth:"any"}),dayPeriod:tn({matchPatterns:N9,defaultMatchWidth:"any",parsePatterns:H9,defaultParseWidth:"any"})};const V9=j9;var W9={code:"zh-CN",formatDistance:i9,formatLong:u9,formatRelative:b9,localize:T9,match:V9,options:{weekStartsOn:1,firstWeekContainsDate:4}};const h_=W9,U9={name:"zh-CN",locale:h_},b0=U9;var q9={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},K9=function(t,n,o){var r,i=q9[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",n.toString()),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?"in "+r:r+" ago":r};const G9=K9;var Y9={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},X9={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Z9={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},J9={date:Dn({formats:Y9,defaultWidth:"full"}),time:Dn({formats:X9,defaultWidth:"full"}),dateTime:Dn({formats:Z9,defaultWidth:"full"})};const Q9=J9;var eF={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},tF=function(t,n,o,r){return eF[t]};const nF=tF;var oF={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},rF={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},iF={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},aF={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},sF={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},lF={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},cF=function(t,n){var o=Number(t),r=o%100;if(r>20||r<10)switch(r%10){case 1:return o+"st";case 2:return o+"nd";case 3:return o+"rd"}return o+"th"},uF={ordinalNumber:cF,era:en({values:oF,defaultWidth:"wide"}),quarter:en({values:rF,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:en({values:iF,defaultWidth:"wide"}),day:en({values:aF,defaultWidth:"wide"}),dayPeriod:en({values:sF,defaultWidth:"wide",formattingValues:lF,defaultFormattingWidth:"wide"})};const dF=uF;var fF=/^(\d+)(th|st|nd|rd)?/i,hF=/\d+/i,pF={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},mF={any:[/^b/i,/^(a|c)/i]},gF={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},vF={any:[/1/i,/2/i,/3/i,/4/i]},bF={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},yF={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},xF={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},CF={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},wF={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},_F={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},SF={ordinalNumber:ll({matchPattern:fF,parsePattern:hF,valueCallback:function(t){return parseInt(t,10)}}),era:tn({matchPatterns:pF,defaultMatchWidth:"wide",parsePatterns:mF,defaultParseWidth:"any"}),quarter:tn({matchPatterns:gF,defaultMatchWidth:"wide",parsePatterns:vF,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:tn({matchPatterns:bF,defaultMatchWidth:"wide",parsePatterns:yF,defaultParseWidth:"any"}),day:tn({matchPatterns:xF,defaultMatchWidth:"wide",parsePatterns:CF,defaultParseWidth:"any"}),dayPeriod:tn({matchPatterns:wF,defaultMatchWidth:"any",parsePatterns:_F,defaultParseWidth:"any"})};const kF=SF;var PF={code:"en-US",formatDistance:G9,formatLong:Q9,formatRelative:nF,localize:dF,match:kF,options:{weekStartsOn:0,firstWeekContainsDate:1}};const TF=PF,RF={name:"en-US",locale:TF},p_=RF;var EF={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},$F=function(t,n,o){o=o||{};var r,i=EF[t];return typeof i=="string"?r=i:n===1?o.addSuffix&&i.oneWithSuffix?r=i.oneWithSuffix:r=i.one:o.addSuffix&&i.otherWithSuffix?r=i.otherWithSuffix.replace("{{count}}",String(n)):r=i.other.replace("{{count}}",String(n)),o.addSuffix?o.comparison&&o.comparison>0?r+"後":r+"前":r};const AF=$F;var IF={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},OF={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},MF={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},zF={date:Dn({formats:IF,defaultWidth:"full"}),time:Dn({formats:OF,defaultWidth:"full"}),dateTime:Dn({formats:MF,defaultWidth:"full"})};const DF=zF;var LF={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},FF=function(t,n,o,r){return LF[t]};const BF=FF;var NF={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},HF={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},jF={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},VF={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},WF={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},UF={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},qF=function(t,n){var o=Number(t),r=String(n==null?void 0:n.unit);switch(r){case"year":return"".concat(o,"年");case"quarter":return"第".concat(o,"四半期");case"month":return"".concat(o,"月");case"week":return"第".concat(o,"週");case"date":return"".concat(o,"日");case"hour":return"".concat(o,"時");case"minute":return"".concat(o,"分");case"second":return"".concat(o,"秒");default:return"".concat(o)}},KF={ordinalNumber:qF,era:en({values:NF,defaultWidth:"wide"}),quarter:en({values:HF,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:en({values:jF,defaultWidth:"wide"}),day:en({values:VF,defaultWidth:"wide"}),dayPeriod:en({values:WF,defaultWidth:"wide",formattingValues:UF,defaultFormattingWidth:"wide"})};const GF=KF;var YF=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,XF=/\d+/i,ZF={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},JF={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},QF={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},e7={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},t7={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},n7={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},o7={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},r7={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},i7={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},a7={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},s7={ordinalNumber:ll({matchPattern:YF,parsePattern:XF,valueCallback:function(t){return parseInt(t,10)}}),era:tn({matchPatterns:ZF,defaultMatchWidth:"wide",parsePatterns:JF,defaultParseWidth:"any"}),quarter:tn({matchPatterns:QF,defaultMatchWidth:"wide",parsePatterns:e7,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:tn({matchPatterns:t7,defaultMatchWidth:"wide",parsePatterns:n7,defaultParseWidth:"any"}),day:tn({matchPatterns:o7,defaultMatchWidth:"wide",parsePatterns:r7,defaultParseWidth:"any"}),dayPeriod:tn({matchPatterns:i7,defaultMatchWidth:"any",parsePatterns:a7,defaultParseWidth:"any"})};const l7=s7;var c7={code:"ja",formatDistance:AF,formatLong:DF,formatRelative:BF,localize:GF,match:l7,options:{weekStartsOn:0,firstWeekContainsDate:1}};const u7=c7,d7={name:"ja-JP",locale:u7},f7=d7;var h7={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXWeeks:{one:"약 1주",other:"약 {{count}}주"},xWeeks:{one:"1주",other:"{{count}}주"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}},p7=function(t,n,o){var r,i=h7[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",n.toString()),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?r+" 후":r+" 전":r};const m7=p7;var g7={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},v7={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},b7={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},y7={date:Dn({formats:g7,defaultWidth:"full"}),time:Dn({formats:v7,defaultWidth:"full"}),dateTime:Dn({formats:b7,defaultWidth:"full"})};const x7=y7;var C7={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},w7=function(t,n,o,r){return C7[t]};const _7=w7;var S7={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},k7={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},P7={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},T7={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},R7={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},E7={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},$7=function(t,n){var o=Number(t),r=String(n==null?void 0:n.unit);switch(r){case"minute":case"second":return String(o);case"date":return o+"일";default:return o+"번째"}},A7={ordinalNumber:$7,era:en({values:S7,defaultWidth:"wide"}),quarter:en({values:k7,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:en({values:P7,defaultWidth:"wide"}),day:en({values:T7,defaultWidth:"wide"}),dayPeriod:en({values:R7,defaultWidth:"wide",formattingValues:E7,defaultFormattingWidth:"wide"})};const I7=A7;var O7=/^(\d+)(일|번째)?/i,M7=/\d+/i,z7={narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(기원전|서기)/i},D7={any:[/^(bc|기원전)/i,/^(ad|서기)/i]},L7={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},F7={any:[/1/i,/2/i,/3/i,/4/i]},B7={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},N7={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},H7={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},j7={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},V7={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},W7={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},U7={ordinalNumber:ll({matchPattern:O7,parsePattern:M7,valueCallback:function(t){return parseInt(t,10)}}),era:tn({matchPatterns:z7,defaultMatchWidth:"wide",parsePatterns:D7,defaultParseWidth:"any"}),quarter:tn({matchPatterns:L7,defaultMatchWidth:"wide",parsePatterns:F7,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:tn({matchPatterns:B7,defaultMatchWidth:"wide",parsePatterns:N7,defaultParseWidth:"any"}),day:tn({matchPatterns:H7,defaultMatchWidth:"wide",parsePatterns:j7,defaultParseWidth:"any"}),dayPeriod:tn({matchPatterns:V7,defaultMatchWidth:"any",parsePatterns:W7,defaultParseWidth:"any"})};const q7=U7;var K7={code:"ko",formatDistance:m7,formatLong:x7,formatRelative:_7,localize:I7,match:q7,options:{weekStartsOn:0,firstWeekContainsDate:1}};const G7=K7,Y7={name:"ko-KR",locale:G7},X7=Y7;var Z7={lessThanXSeconds:{one:"dưới 1 giây",other:"dưới {{count}} giây"},xSeconds:{one:"1 giây",other:"{{count}} giây"},halfAMinute:"nửa phút",lessThanXMinutes:{one:"dưới 1 phút",other:"dưới {{count}} phút"},xMinutes:{one:"1 phút",other:"{{count}} phút"},aboutXHours:{one:"khoảng 1 giờ",other:"khoảng {{count}} giờ"},xHours:{one:"1 giờ",other:"{{count}} giờ"},xDays:{one:"1 ngày",other:"{{count}} ngày"},aboutXWeeks:{one:"khoảng 1 tuần",other:"khoảng {{count}} tuần"},xWeeks:{one:"1 tuần",other:"{{count}} tuần"},aboutXMonths:{one:"khoảng 1 tháng",other:"khoảng {{count}} tháng"},xMonths:{one:"1 tháng",other:"{{count}} tháng"},aboutXYears:{one:"khoảng 1 năm",other:"khoảng {{count}} năm"},xYears:{one:"1 năm",other:"{{count}} năm"},overXYears:{one:"hơn 1 năm",other:"hơn {{count}} năm"},almostXYears:{one:"gần 1 năm",other:"gần {{count}} năm"}},J7=function(t,n,o){var r,i=Z7[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",String(n)),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?r+" nữa":r+" trước":r};const Q7=J7;var eB={full:"EEEE, 'ngày' d MMMM 'năm' y",long:"'ngày' d MMMM 'năm' y",medium:"d MMM 'năm' y",short:"dd/MM/y"},tB={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},nB={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},oB={date:Dn({formats:eB,defaultWidth:"full"}),time:Dn({formats:tB,defaultWidth:"full"}),dateTime:Dn({formats:nB,defaultWidth:"full"})};const rB=oB;var iB={lastWeek:"eeee 'tuần trước vào lúc' p",yesterday:"'hôm qua vào lúc' p",today:"'hôm nay vào lúc' p",tomorrow:"'ngày mai vào lúc' p",nextWeek:"eeee 'tới vào lúc' p",other:"P"},aB=function(t,n,o,r){return iB[t]};const sB=aB;var lB={narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},cB={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},uB={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},dB={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["Thg 1","Thg 2","Thg 3","Thg 4","Thg 5","Thg 6","Thg 7","Thg 8","Thg 9","Thg 10","Thg 11","Thg 12"],wide:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"]},fB={narrow:["01","02","03","04","05","06","07","08","09","10","11","12"],abbreviated:["thg 1","thg 2","thg 3","thg 4","thg 5","thg 6","thg 7","thg 8","thg 9","thg 10","thg 11","thg 12"],wide:["tháng 01","tháng 02","tháng 03","tháng 04","tháng 05","tháng 06","tháng 07","tháng 08","tháng 09","tháng 10","tháng 11","tháng 12"]},hB={narrow:["CN","T2","T3","T4","T5","T6","T7"],short:["CN","Th 2","Th 3","Th 4","Th 5","Th 6","Th 7"],abbreviated:["CN","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7"],wide:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"]},pB={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"}},mB={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"giữa trưa",morning:"vào buổi sáng",afternoon:"vào buổi chiều",evening:"vào buổi tối",night:"vào ban đêm"}},gB=function(t,n){var o=Number(t),r=n==null?void 0:n.unit;if(r==="quarter")switch(o){case 1:return"I";case 2:return"II";case 3:return"III";case 4:return"IV"}else if(r==="day")switch(o){case 1:return"thứ 2";case 2:return"thứ 3";case 3:return"thứ 4";case 4:return"thứ 5";case 5:return"thứ 6";case 6:return"thứ 7";case 7:return"chủ nhật"}else{if(r==="week")return o===1?"thứ nhất":"thứ "+o;if(r==="dayOfYear")return o===1?"đầu tiên":"thứ "+o}return String(o)},vB={ordinalNumber:gB,era:en({values:lB,defaultWidth:"wide"}),quarter:en({values:cB,defaultWidth:"wide",formattingValues:uB,defaultFormattingWidth:"wide",argumentCallback:function(t){return t-1}}),month:en({values:dB,defaultWidth:"wide",formattingValues:fB,defaultFormattingWidth:"wide"}),day:en({values:hB,defaultWidth:"wide"}),dayPeriod:en({values:pB,defaultWidth:"wide",formattingValues:mB,defaultFormattingWidth:"wide"})};const bB=vB;var yB=/^(\d+)/i,xB=/\d+/i,CB={narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},wB={any:[/^t/i,/^s/i]},_B={narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},SB={any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},kB={narrow:/^(0?[2-9]|10|11|12|0?1)/i,abbreviated:/^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,wide:/^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i},PB={narrow:[/0?1$/i,/0?2/i,/3/,/4/,/5/,/6/,/7/,/8/,/9/,/10/,/11/,/12/],abbreviated:[/^thg[ _]?0?1(?!\d)/i,/^thg[ _]?0?2/i,/^thg[ _]?0?3/i,/^thg[ _]?0?4/i,/^thg[ _]?0?5/i,/^thg[ _]?0?6/i,/^thg[ _]?0?7/i,/^thg[ _]?0?8/i,/^thg[ _]?0?9/i,/^thg[ _]?10/i,/^thg[ _]?11/i,/^thg[ _]?12/i],wide:[/^tháng ?(Một|0?1(?!\d))/i,/^tháng ?(Hai|0?2)/i,/^tháng ?(Ba|0?3)/i,/^tháng ?(Tư|0?4)/i,/^tháng ?(Năm|0?5)/i,/^tháng ?(Sáu|0?6)/i,/^tháng ?(Bảy|0?7)/i,/^tháng ?(Tám|0?8)/i,/^tháng ?(Chín|0?9)/i,/^tháng ?(Mười|10)/i,/^tháng ?(Mười ?Một|11)/i,/^tháng ?(Mười ?Hai|12)/i]},TB={narrow:/^(CN|T2|T3|T4|T5|T6|T7)/i,short:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,abbreviated:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,wide:/^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i},RB={narrow:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],short:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],abbreviated:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],wide:[/(Chủ|Chúa) ?Nhật/i,/Hai/i,/Ba/i,/Tư/i,/Năm/i,/Sáu/i,/Bảy/i]},EB={narrow:/^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,abbreviated:/^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,wide:/^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i},$B={any:{am:/^(a|sa)/i,pm:/^(p|ch[^i]*)/i,midnight:/nửa đêm/i,noon:/trưa/i,morning:/sáng/i,afternoon:/chiều/i,evening:/tối/i,night:/^đêm/i}},AB={ordinalNumber:ll({matchPattern:yB,parsePattern:xB,valueCallback:function(t){return parseInt(t,10)}}),era:tn({matchPatterns:CB,defaultMatchWidth:"wide",parsePatterns:wB,defaultParseWidth:"any"}),quarter:tn({matchPatterns:_B,defaultMatchWidth:"wide",parsePatterns:SB,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:tn({matchPatterns:kB,defaultMatchWidth:"wide",parsePatterns:PB,defaultParseWidth:"wide"}),day:tn({matchPatterns:TB,defaultMatchWidth:"wide",parsePatterns:RB,defaultParseWidth:"wide"}),dayPeriod:tn({matchPatterns:EB,defaultMatchWidth:"wide",parsePatterns:$B,defaultParseWidth:"any"})};const IB=AB;var OB={code:"vi",formatDistance:Q7,formatLong:rB,formatRelative:sB,localize:bB,match:IB,options:{weekStartsOn:1,firstWeekContainsDate:1}};const MB=OB,zB={name:"vi-VN",locale:MB},DB=zB,LB={name:"fa-IR",locale:h_},FB=LB;function Di(e){const{mergedLocaleRef:t,mergedDateLocaleRef:n}=We(ko,null)||{},o=L(()=>{var i,a;return(a=(i=t==null?void 0:t.value)===null||i===void 0?void 0:i[e])!==null&&a!==void 0?a:f_[e]});return{dateLocaleRef:L(()=>{var i;return(i=n==null?void 0:n.value)!==null&&i!==void 0?i:p_}),localeRef:o}}function Zr(e,t,n){if(!t)return;const o=Ii(),r=We(ko,null),i=()=>{const a=n.value;t.mount({id:a===void 0?e:a+e,head:!0,anchorMetaName:ka,props:{bPrefix:a?`.${a}-`:void 0},ssr:o}),r!=null&&r.preflightStyleDisabled||u_.mount({id:"n-global",head:!0,anchorMetaName:ka,ssr:o})};o?i():hn(i)}function kt(e,t,n,o){var r;n||ur("useThemeClass","cssVarsRef is not passed");const i=(r=We(ko,null))===null||r===void 0?void 0:r.mergedThemeHashRef,a=W(""),s=Ii();let l;const c=`__${e}`,u=()=>{let d=c;const f=t?t.value:void 0,p=i==null?void 0:i.value;p&&(d+="-"+p),f&&(d+="-"+f);const{themeOverrides:h,builtinThemeOverrides:m}=o;h&&(d+="-"+Us(JSON.stringify(h))),m&&(d+="-"+Us(JSON.stringify(m))),a.value=d,l=()=>{const v=n.value;let b="";for(const w in v)b+=`${w}: ${v[w]};`;q(`.${d}`,b).mount({id:d,ssr:s}),l=void 0}};return Xt(()=>{u()}),{themeClass:a,onRender:()=>{l==null||l()}}}function pn(e,t,n){if(!t)return;const o=Ii(),r=L(()=>{const{value:a}=t;if(!a)return;const s=a[e];if(s)return s}),i=()=>{Xt(()=>{const{value:a}=n,s=`${a}${e}Rtl`;if(w6(s,o))return;const{value:l}=r;l&&l.style.mount({id:s,head:!0,anchorMetaName:ka,props:{bPrefix:a?`.${a}-`:void 0},ssr:o})})};return o?i():hn(i),r}const BB=ve({name:"Add",render(){return g("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))}}),NB=ve({name:"ArrowDown",render(){return g("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},g("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},g("g",{"fill-rule":"nonzero"},g("path",{d:"M23.7916,15.2664 C24.0788,14.9679 24.0696,14.4931 23.7711,14.206 C23.4726,13.9188 22.9978,13.928 22.7106,14.2265 L14.7511,22.5007 L14.7511,3.74792 C14.7511,3.33371 14.4153,2.99792 14.0011,2.99792 C13.5869,2.99792 13.2511,3.33371 13.2511,3.74793 L13.2511,22.4998 L5.29259,14.2265 C5.00543,13.928 4.53064,13.9188 4.23213,14.206 C3.93361,14.4931 3.9244,14.9679 4.21157,15.2664 L13.2809,24.6944 C13.6743,25.1034 14.3289,25.1034 14.7223,24.6944 L23.7916,15.2664 Z"}))))}});function Ba(e,t){return ve({name:Vw(e),setup(){var n;const o=(n=We(ko,null))===null||n===void 0?void 0:n.mergedIconsRef;return()=>{var r;const i=(r=o==null?void 0:o.value)===null||r===void 0?void 0:r[e];return i?i():t}}})}const y0=ve({name:"Backward",render(){return g("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g("path",{d:"M12.2674 15.793C11.9675 16.0787 11.4927 16.0672 11.2071 15.7673L6.20572 10.5168C5.9298 10.2271 5.9298 9.7719 6.20572 9.48223L11.2071 4.23177C11.4927 3.93184 11.9675 3.92031 12.2674 4.206C12.5673 4.49169 12.5789 4.96642 12.2932 5.26634L7.78458 9.99952L12.2932 14.7327C12.5789 15.0326 12.5673 15.5074 12.2674 15.793Z",fill:"currentColor"}))}}),HB=ve({name:"Checkmark",render(){return g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},g("g",{fill:"none"},g("path",{d:"M14.046 3.486a.75.75 0 0 1-.032 1.06l-7.93 7.474a.85.85 0 0 1-1.188-.022l-2.68-2.72a.75.75 0 1 1 1.068-1.053l2.234 2.267l7.468-7.038a.75.75 0 0 1 1.06.032z",fill:"currentColor"})))}}),Jp=ve({name:"ChevronRight",render(){return g("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g("path",{d:"M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z",fill:"currentColor"}))}}),jB=Ba("close",g("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},g("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},g("g",{fill:"currentColor","fill-rule":"nonzero"},g("path",{d:"M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z"}))))),VB=ve({name:"Eye",render(){return g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},g("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),g("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}}),WB=ve({name:"EyeOff",render(){return g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},g("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),g("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),g("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),g("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),g("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))}}),UB=ve({name:"Empty",render(){return g("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),g("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}}),Li=Ba("error",g("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},g("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},g("g",{"fill-rule":"nonzero"},g("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M17.8838835,16.1161165 L17.7823881,16.0249942 C17.3266086,15.6583353 16.6733914,15.6583353 16.2176119,16.0249942 L16.1161165,16.1161165 L16.0249942,16.2176119 C15.6583353,16.6733914 15.6583353,17.3266086 16.0249942,17.7823881 L16.1161165,17.8838835 L22.233,24 L16.1161165,30.1161165 L16.0249942,30.2176119 C15.6583353,30.6733914 15.6583353,31.3266086 16.0249942,31.7823881 L16.1161165,31.8838835 L16.2176119,31.9750058 C16.6733914,32.3416647 17.3266086,32.3416647 17.7823881,31.9750058 L17.8838835,31.8838835 L24,25.767 L30.1161165,31.8838835 L30.2176119,31.9750058 C30.6733914,32.3416647 31.3266086,32.3416647 31.7823881,31.9750058 L31.8838835,31.8838835 L31.9750058,31.7823881 C32.3416647,31.3266086 32.3416647,30.6733914 31.9750058,30.2176119 L31.8838835,30.1161165 L25.767,24 L31.8838835,17.8838835 L31.9750058,17.7823881 C32.3416647,17.3266086 32.3416647,16.6733914 31.9750058,16.2176119 L31.8838835,16.1161165 L31.7823881,16.0249942 C31.3266086,15.6583353 30.6733914,15.6583353 30.2176119,16.0249942 L30.1161165,16.1161165 L24,22.233 L17.8838835,16.1161165 L17.7823881,16.0249942 L17.8838835,16.1161165 Z"}))))),x0=ve({name:"FastBackward",render(){return g("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},g("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},g("g",{fill:"currentColor","fill-rule":"nonzero"},g("path",{d:"M8.73171,16.7949 C9.03264,17.0795 9.50733,17.0663 9.79196,16.7654 C10.0766,16.4644 10.0634,15.9897 9.76243,15.7051 L4.52339,10.75 L17.2471,10.75 C17.6613,10.75 17.9971,10.4142 17.9971,10 C17.9971,9.58579 17.6613,9.25 17.2471,9.25 L4.52112,9.25 L9.76243,4.29275 C10.0634,4.00812 10.0766,3.53343 9.79196,3.2325 C9.50733,2.93156 9.03264,2.91834 8.73171,3.20297 L2.31449,9.27241 C2.14819,9.4297 2.04819,9.62981 2.01448,9.8386 C2.00308,9.89058 1.99707,9.94459 1.99707,10 C1.99707,10.0576 2.00356,10.1137 2.01585,10.1675 C2.05084,10.3733 2.15039,10.5702 2.31449,10.7254 L8.73171,16.7949 Z"}))))}}),C0=ve({name:"FastForward",render(){return g("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},g("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},g("g",{fill:"currentColor","fill-rule":"nonzero"},g("path",{d:"M11.2654,3.20511 C10.9644,2.92049 10.4897,2.93371 10.2051,3.23464 C9.92049,3.53558 9.93371,4.01027 10.2346,4.29489 L15.4737,9.25 L2.75,9.25 C2.33579,9.25 2,9.58579 2,10.0000012 C2,10.4142 2.33579,10.75 2.75,10.75 L15.476,10.75 L10.2346,15.7073 C9.93371,15.9919 9.92049,16.4666 10.2051,16.7675 C10.4897,17.0684 10.9644,17.0817 11.2654,16.797 L17.6826,10.7276 C17.8489,10.5703 17.9489,10.3702 17.9826,10.1614 C17.994,10.1094 18,10.0554 18,10.0000012 C18,9.94241 17.9935,9.88633 17.9812,9.83246 C17.9462,9.62667 17.8467,9.42976 17.6826,9.27455 L11.2654,3.20511 Z"}))))}}),qB=ve({name:"Filter",render(){return g("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},g("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},g("g",{"fill-rule":"nonzero"},g("path",{d:"M17,19 C17.5522847,19 18,19.4477153 18,20 C18,20.5522847 17.5522847,21 17,21 L11,21 C10.4477153,21 10,20.5522847 10,20 C10,19.4477153 10.4477153,19 11,19 L17,19 Z M21,13 C21.5522847,13 22,13.4477153 22,14 C22,14.5522847 21.5522847,15 21,15 L7,15 C6.44771525,15 6,14.5522847 6,14 C6,13.4477153 6.44771525,13 7,13 L21,13 Z M24,7 C24.5522847,7 25,7.44771525 25,8 C25,8.55228475 24.5522847,9 24,9 L4,9 C3.44771525,9 3,8.55228475 3,8 C3,7.44771525 3.44771525,7 4,7 L24,7 Z"}))))}}),w0=ve({name:"Forward",render(){return g("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g("path",{d:"M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z",fill:"currentColor"}))}}),jr=Ba("info",g("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},g("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},g("g",{"fill-rule":"nonzero"},g("path",{d:"M14,2 C20.6274,2 26,7.37258 26,14 C26,20.6274 20.6274,26 14,26 C7.37258,26 2,20.6274 2,14 C2,7.37258 7.37258,2 14,2 Z M14,11 C13.4477,11 13,11.4477 13,12 L13,12 L13,20 C13,20.5523 13.4477,21 14,21 C14.5523,21 15,20.5523 15,20 L15,20 L15,12 C15,11.4477 14.5523,11 14,11 Z M14,6.75 C13.3096,6.75 12.75,7.30964 12.75,8 C12.75,8.69036 13.3096,9.25 14,9.25 C14.6904,9.25 15.25,8.69036 15.25,8 C15.25,7.30964 14.6904,6.75 14,6.75 Z"}))))),_0=ve({name:"More",render(){return g("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},g("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},g("g",{fill:"currentColor","fill-rule":"nonzero"},g("path",{d:"M4,7 C4.55228,7 5,7.44772 5,8 C5,8.55229 4.55228,9 4,9 C3.44772,9 3,8.55229 3,8 C3,7.44772 3.44772,7 4,7 Z M8,7 C8.55229,7 9,7.44772 9,8 C9,8.55229 8.55229,9 8,9 C7.44772,9 7,8.55229 7,8 C7,7.44772 7.44772,7 8,7 Z M12,7 C12.5523,7 13,7.44772 13,8 C13,8.55229 12.5523,9 12,9 C11.4477,9 11,8.55229 11,8 C11,7.44772 11.4477,7 12,7 Z"}))))}}),KB=ve({name:"Remove",render(){return g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},g("line",{x1:"400",y1:"256",x2:"112",y2:"256",style:` + `)]),Eo="n-config-provider",$a="naive-ui-style";function Be(e,t,n,o,r,i){const a=Li(),s=Ue(Eo,null);if(n){const c=()=>{const u=i==null?void 0:i.value;n.mount({id:u===void 0?t:u+t,head:!0,props:{bPrefix:u?`.${u}-`:void 0},anchorMetaName:$a,ssr:a}),s!=null&&s.preflightStyleDisabled||L_.mount({id:"n-global",head:!0,anchorMetaName:$a,ssr:a})};a?c():hn(c)}return F(()=>{var c;const{theme:{common:u,self:d,peers:f={}}={},themeOverrides:h={},builtinThemeOverrides:p={}}=r,{common:g,peers:m}=h,{common:b=void 0,[e]:{common:_=void 0,self:C=void 0,peers:S={}}={}}=(s==null?void 0:s.mergedThemeRef.value)||{},{common:w=void 0,[e]:x={}}=(s==null?void 0:s.mergedThemeOverridesRef.value)||{},{common:y,peers:P={}}=x,k=ps({},u||_||b||o.common,w,y,g),T=ps((c=d||C||o.self)===null||c===void 0?void 0:c(k),p,x,h);return{common:k,self:T,peers:ps({},o.peers,S,f),peerOverrides:ps({},p.peers,P,m)}})}Be.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const el="n";function st(e={},t={defaultBordered:!0}){const n=Ue(Eo,null);return{inlineThemeDisabled:n==null?void 0:n.inlineThemeDisabled,mergedRtlRef:n==null?void 0:n.mergedRtlRef,mergedComponentPropsRef:n==null?void 0:n.mergedComponentPropsRef,mergedBreakpointsRef:n==null?void 0:n.mergedBreakpointsRef,mergedBorderedRef:F(()=>{var o,r;const{bordered:i}=e;return i!==void 0?i:(r=(o=n==null?void 0:n.mergedBorderedRef.value)!==null&&o!==void 0?o:t.defaultBordered)!==null&&r!==void 0?r:!0}),mergedClsPrefixRef:n?n.mergedClsPrefixRef:Oa(el),namespaceRef:F(()=>n==null?void 0:n.mergedNamespaceRef.value)}}function F_(){const e=Ue(Eo,null);return e?e.mergedClsPrefixRef:Oa(el)}const MF={name:"zh-CN",global:{undo:"撤销",redo:"重做",confirm:"确认",clear:"清除"},Popconfirm:{positiveText:"确认",negativeText:"取消"},Cascader:{placeholder:"请选择",loading:"加载中",loadingRequiredMessage:e=>`加载全部 ${e} 的子节点后才可选中`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"RRRR-w周",clear:"清除",now:"此刻",confirm:"确认",selectTime:"选择时间",selectDate:"选择日期",datePlaceholder:"选择日期",datetimePlaceholder:"选择日期时间",monthPlaceholder:"选择月份",yearPlaceholder:"选择年份",quarterPlaceholder:"选择季度",weekPlaceholder:"选择周",startDatePlaceholder:"开始日期",endDatePlaceholder:"结束日期",startDatetimePlaceholder:"开始日期时间",endDatetimePlaceholder:"结束日期时间",startMonthPlaceholder:"开始月份",endMonthPlaceholder:"结束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"选择全部表格数据",uncheckTableAll:"取消选择全部表格数据",confirm:"确认",clear:"重置"},LegacyTransfer:{sourceTitle:"源项",targetTitle:"目标项"},Transfer:{selectAll:"全选",clearAll:"清除",unselectAll:"取消全选",total:e=>`共 ${e} 项`,selected:e=>`已选 ${e} 项`},Empty:{description:"无数据"},Select:{placeholder:"请选择"},TimePicker:{placeholder:"请选择时间",positiveText:"确认",negativeText:"取消",now:"此刻",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"页"},DynamicTags:{add:"添加"},Log:{loading:"加载中"},Input:{placeholder:"请输入"},InputNumber:{placeholder:"请输入"},DynamicInput:{create:"添加"},ThemeEditor:{title:"主题编辑器",clearAllVars:"清除全部变量",clearSearch:"清除搜索",filterCompName:"过滤组件名",filterVarName:"过滤变量名",import:"导入",export:"导出",restore:"恢复默认"},Image:{tipPrevious:"上一张(←)",tipNext:"下一张(→)",tipCounterclockwise:"向左旋转",tipClockwise:"向右旋转",tipZoomOut:"缩小",tipZoomIn:"放大",tipDownload:"下载",tipClose:"关闭(Esc)",tipOriginalSize:"缩放到原始尺寸"}},zF=MF,DF={name:"zh-TW",global:{undo:"復原",redo:"重做",confirm:"確定",clear:"清除"},Popconfirm:{positiveText:"確定",negativeText:"取消"},Cascader:{placeholder:"請選擇",loading:"載入中",loadingRequiredMessage:e=>`載入全部 ${e} 的子節點後才可選擇`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy 年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"RRRR-w",clear:"清除",now:"現在",confirm:"確定",selectTime:"選擇時間",selectDate:"選擇日期",datePlaceholder:"選擇日期",datetimePlaceholder:"選擇日期時間",monthPlaceholder:"選擇月份",yearPlaceholder:"選擇年份",quarterPlaceholder:"選擇季度",weekPlaceholder:"Select Week",startDatePlaceholder:"開始日期",endDatePlaceholder:"結束日期",startDatetimePlaceholder:"開始日期時間",endDatetimePlaceholder:"結束日期時間",startMonthPlaceholder:"開始月份",endMonthPlaceholder:"結束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"選擇全部表格資料",uncheckTableAll:"取消選擇全部表格資料",confirm:"確定",clear:"重設"},LegacyTransfer:{sourceTitle:"來源",targetTitle:"目標"},Transfer:{selectAll:"全選",unselectAll:"取消全選",clearAll:"清除全部",total:e=>`共 ${e} 項`,selected:e=>`已選 ${e} 項`},Empty:{description:"無資料"},Select:{placeholder:"請選擇"},TimePicker:{placeholder:"請選擇時間",positiveText:"確定",negativeText:"取消",now:"現在",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"頁"},DynamicTags:{add:"新增"},Log:{loading:"載入中"},Input:{placeholder:"請輸入"},InputNumber:{placeholder:"請輸入"},DynamicInput:{create:"新增"},ThemeEditor:{title:"主題編輯器",clearAllVars:"清除全部變數",clearSearch:"清除搜尋",filterCompName:"過濾組件名稱",filterVarName:"過濾變數名稱",import:"匯入",export:"匯出",restore:"恢復預設"},Image:{tipPrevious:"上一張(←)",tipNext:"下一張(→)",tipCounterclockwise:"向左旋轉",tipClockwise:"向右旋轉",tipZoomOut:"縮小",tipZoomIn:"放大",tipDownload:"下載",tipClose:"關閉(Esc)",tipOriginalSize:"縮放到原始尺寸"}},LF=DF,FF={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"RRRR-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},B_=FF,BF={name:"ja-JP",global:{undo:"元に戻す",redo:"やり直す",confirm:"OK",clear:"クリア"},Popconfirm:{positiveText:"OK",negativeText:"キャンセル"},Cascader:{placeholder:"選択してください",loading:"ロード中",loadingRequiredMessage:e=>`すべての ${e} サブノードをロードしてから選択できます。`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"RRRR-w",clear:"クリア",now:"現在",confirm:"OK",selectTime:"時間を選択",selectDate:"日付を選択",datePlaceholder:"日付を選択",datetimePlaceholder:"選択",monthPlaceholder:"月を選択",yearPlaceholder:"年を選択",quarterPlaceholder:"四半期を選択",weekPlaceholder:"Select Week",startDatePlaceholder:"開始日",endDatePlaceholder:"終了日",startDatetimePlaceholder:"開始時間",endDatetimePlaceholder:"終了時間",startMonthPlaceholder:"開始月",endMonthPlaceholder:"終了月",monthBeforeYear:!1,firstDayOfWeek:0,today:"今日"},DataTable:{checkTableAll:"全選択",uncheckTableAll:"全選択取消",confirm:"OK",clear:"リセット"},LegacyTransfer:{sourceTitle:"元",targetTitle:"先"},Transfer:{selectAll:"全選択",unselectAll:"全選択取消",clearAll:"リセット",total:e=>`合計 ${e} 項目`,selected:e=>`${e} 個の項目を選択`},Empty:{description:"データなし"},Select:{placeholder:"選択してください"},TimePicker:{placeholder:"選択してください",positiveText:"OK",negativeText:"キャンセル",now:"現在",clear:"クリア"},Pagination:{goto:"ページジャンプ",selectionSuffix:"ページ"},DynamicTags:{add:"追加"},Log:{loading:"ロード中"},Input:{placeholder:"入力してください"},InputNumber:{placeholder:"入力してください"},DynamicInput:{create:"追加"},ThemeEditor:{title:"テーマエディタ",clearAllVars:"全件変数クリア",clearSearch:"検索クリア",filterCompName:"コンポネント名をフィルタ",filterVarName:"変数をフィルタ",import:"インポート",export:"エクスポート",restore:"デフォルト"},Image:{tipPrevious:"前の画像 (←)",tipNext:"次の画像 (→)",tipCounterclockwise:"左に回転",tipClockwise:"右に回転",tipZoomOut:"縮小",tipZoomIn:"拡大",tipDownload:"ダウンロード",tipClose:"閉じる (Esc)",tipOriginalSize:"元のサイズに戻す"}},NF=BF,HF={name:"ko-KR",global:{undo:"실행 취소",redo:"다시 실행",confirm:"확인",clear:"지우기"},Popconfirm:{positiveText:"확인",negativeText:"취소"},Cascader:{placeholder:"선택해 주세요",loading:"불러오는 중",loadingRequiredMessage:e=>`${e}의 모든 하위 항목을 불러온 뒤에 선택할 수 있습니다.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy년",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"RRRR-w",clear:"지우기",now:"현재",confirm:"확인",selectTime:"시간 선택",selectDate:"날짜 선택",datePlaceholder:"날짜 선택",datetimePlaceholder:"날짜 및 시간 선택",monthPlaceholder:"월 선택",yearPlaceholder:"년 선택",quarterPlaceholder:"분기 선택",weekPlaceholder:"Select Week",startDatePlaceholder:"시작 날짜",endDatePlaceholder:"종료 날짜",startDatetimePlaceholder:"시작 날짜 및 시간",endDatetimePlaceholder:"종료 날짜 및 시간",startMonthPlaceholder:"시작 월",endMonthPlaceholder:"종료 월",monthBeforeYear:!1,firstDayOfWeek:6,today:"오늘"},DataTable:{checkTableAll:"모두 선택",uncheckTableAll:"모두 선택 해제",confirm:"확인",clear:"지우기"},LegacyTransfer:{sourceTitle:"원본",targetTitle:"타깃"},Transfer:{selectAll:"전체 선택",unselectAll:"전체 해제",clearAll:"전체 삭제",total:e=>`총 ${e} 개`,selected:e=>`${e} 개 선택`},Empty:{description:"데이터 없음"},Select:{placeholder:"선택해 주세요"},TimePicker:{placeholder:"시간 선택",positiveText:"확인",negativeText:"취소",now:"현재 시간",clear:"지우기"},Pagination:{goto:"이동",selectionSuffix:"페이지"},DynamicTags:{add:"추가"},Log:{loading:"불러오는 중"},Input:{placeholder:"입력해 주세요"},InputNumber:{placeholder:"입력해 주세요"},DynamicInput:{create:"추가"},ThemeEditor:{title:"테마 편집기",clearAllVars:"모든 변수 지우기",clearSearch:"검색 지우기",filterCompName:"구성 요소 이름 필터",filterVarName:"변수 이름 필터",import:"가져오기",export:"내보내기",restore:"기본으로 재설정"},Image:{tipPrevious:"이전 (←)",tipNext:"다음 (→)",tipCounterclockwise:"시계 반대 방향으로 회전",tipClockwise:"시계 방향으로 회전",tipZoomOut:"축소",tipZoomIn:"확대",tipDownload:"다운로드",tipClose:"닫기 (Esc)",tipOriginalSize:"원본 크기로 확대"}},jF=HF,VF={name:"vi-VN",global:{undo:"Hoàn tác",redo:"Làm lại",confirm:"Xác nhận",clear:"xóa"},Popconfirm:{positiveText:"Xác nhận",negativeText:"Hủy"},Cascader:{placeholder:"Vui lòng chọn",loading:"Đang tải",loadingRequiredMessage:e=>`Vui lòng tải tất cả thông tin con của ${e} trước.`},Time:{dateFormat:"",dateTimeFormat:"HH:mm:ss dd-MM-yyyy"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"MM-yyyy",dateFormat:"dd-MM-yyyy",dateTimeFormat:"HH:mm:ss dd-MM-yyyy",quarterFormat:"qqq-yyyy",weekFormat:"RRRR-w",clear:"Xóa",now:"Hôm nay",confirm:"Xác nhận",selectTime:"Chọn giờ",selectDate:"Chọn ngày",datePlaceholder:"Chọn ngày",datetimePlaceholder:"Chọn ngày giờ",monthPlaceholder:"Chọn tháng",yearPlaceholder:"Chọn năm",quarterPlaceholder:"Chọn quý",weekPlaceholder:"Select Week",startDatePlaceholder:"Ngày bắt đầu",endDatePlaceholder:"Ngày kết thúc",startDatetimePlaceholder:"Thời gian bắt đầu",endDatetimePlaceholder:"Thời gian kết thúc",startMonthPlaceholder:"Tháng bắt đầu",endMonthPlaceholder:"Tháng kết thúc",monthBeforeYear:!0,firstDayOfWeek:0,today:"Hôm nay"},DataTable:{checkTableAll:"Chọn tất cả có trong bảng",uncheckTableAll:"Bỏ chọn tất cả có trong bảng",confirm:"Xác nhận",clear:"Xóa"},LegacyTransfer:{sourceTitle:"Nguồn",targetTitle:"Đích"},Transfer:{selectAll:"Chọn tất cả",unselectAll:"Bỏ chọn tất cả",clearAll:"Xoá tất cả",total:e=>`Tổng cộng ${e} mục`,selected:e=>`${e} mục được chọn`},Empty:{description:"Không có dữ liệu"},Select:{placeholder:"Vui lòng chọn"},TimePicker:{placeholder:"Chọn thời gian",positiveText:"OK",negativeText:"Hủy",now:"Hiện tại",clear:"Xóa"},Pagination:{goto:"Đi đến trang",selectionSuffix:"trang"},DynamicTags:{add:"Thêm"},Log:{loading:"Đang tải"},Input:{placeholder:"Vui lòng nhập"},InputNumber:{placeholder:"Vui lòng nhập"},DynamicInput:{create:"Tạo"},ThemeEditor:{title:"Tùy chỉnh giao diện",clearAllVars:"Xóa tất cả các biến",clearSearch:"Xóa tìm kiếm",filterCompName:"Lọc tên component",filterVarName:"Lọc tên biến",import:"Nhập",export:"Xuất",restore:"Đặt lại mặc định"},Image:{tipPrevious:"Hình trước (←)",tipNext:"Hình tiếp (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Chiều kim đồng hồ",tipZoomOut:"Thu nhỏ",tipZoomIn:"Phóng to",tipDownload:"Tải về",tipClose:"Đóng (Esc)",tipOriginalSize:"Xem kích thước gốc"}},WF=VF,UF={name:"fa-IR",global:{undo:"لغو انجام شده",redo:"انجام دوباره",confirm:"تأیید",clear:"پاک کردن"},Popconfirm:{positiveText:"تأیید",negativeText:"لغو"},Cascader:{placeholder:"لطفا انتخاب کنید",loading:"بارگذاری",loadingRequiredMessage:e=>`پس از بارگیری کامل زیرمجموعه های ${e} می توانید انتخاب کنید `},Time:{dateFormat:"yyyy/MM/dd",dateTimeFormat:"yyyy/MM/dd، H:mm:ss"},DatePicker:{yearFormat:"yyyy سال",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"MM/yyyy",dateFormat:"yyyy/MM/dd",dateTimeFormat:"yyyy/MM/dd HH:mm:ss",quarterFormat:"سه ماهه yyyy",weekFormat:"RRRR-w",clear:"پاک کردن",now:"اکنون",confirm:"تأیید",selectTime:"انتخاب زمان",selectDate:"انتخاب تاریخ",datePlaceholder:"انتخاب تاریخ",datetimePlaceholder:"انتخاب تاریخ و زمان",monthPlaceholder:"انتخاب ماه",yearPlaceholder:"انتخاب سال",quarterPlaceholder:"انتخاب سه‌ماهه",weekPlaceholder:"Select Week",startDatePlaceholder:"تاریخ شروع",endDatePlaceholder:"تاریخ پایان",startDatetimePlaceholder:"زمان شروع",endDatetimePlaceholder:"زمان پایان",startMonthPlaceholder:"ماه شروع",endMonthPlaceholder:"ماه پایان",monthBeforeYear:!1,firstDayOfWeek:6,today:"امروز"},DataTable:{checkTableAll:"انتخاب همه داده‌های جدول",uncheckTableAll:"عدم انتخاب همه داده‌های جدول",confirm:"تأیید",clear:"تنظیم مجدد"},LegacyTransfer:{sourceTitle:"آیتم منبع",targetTitle:"آیتم مقصد"},Transfer:{selectAll:"انتخاب همه",clearAll:"حذف همه",unselectAll:"عدم انتخاب همه",total:e=>`کل ${e} مورد`,selected:e=>`انتخاب شده ${e} مورد`},Empty:{description:"اطلاعاتی وجود ندارد"},Select:{placeholder:"لطفاً انتخاب کنید"},TimePicker:{placeholder:"لطفاً زمان مورد نظر را انتخاب کنید",positiveText:"تأیید",negativeText:"لغو",now:"همین الان",clear:"پاک کردن"},Pagination:{goto:"رفتن به صفحه",selectionSuffix:"صفحه"},DynamicTags:{add:"افزودن"},Log:{loading:"در حال بارگذاری"},Input:{placeholder:"لطفاً وارد کنید"},InputNumber:{placeholder:"لطفاً وارد کنید"},DynamicInput:{create:"افزودن"},ThemeEditor:{title:"ویرایشگر پوسته",clearAllVars:"پاک کردن همه متغیرها",clearSearch:"پاک کردن جستجو",filterCompName:"فیلتر نام کامپوننت",filterVarName:"فیلتر نام متغیر",import:"ورود",export:"خروج",restore:"بازگردانی به حالت پیش‌فرض"},Image:{tipPrevious:"تصویر قبلی (←)",tipNext:"تصویر بعدی (→)",tipCounterclockwise:"چرخش به سمت چپ",tipClockwise:"چرخش به سمت راست",tipZoomOut:"کوچک نمایی تصویر",tipZoomIn:"بزرگ نمایی تصویر",tipDownload:"بارگیری",tipClose:"بستن (Esc)",tipOriginalSize:"اندازه اصلی تصویر"}},qF=UF;var KF={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},GF=function(t,n,o){var r,i=KF[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",String(n)),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?r+"内":r+"前":r};const YF=GF;function Dn(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,o=e.formats[n]||e.formats[e.defaultWidth];return o}}var XF={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},ZF={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},JF={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},QF={date:Dn({formats:XF,defaultWidth:"full"}),time:Dn({formats:ZF,defaultWidth:"full"}),dateTime:Dn({formats:JF,defaultWidth:"full"})};const e9=QF;function dm(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function zh(e){"@babel/helpers - typeof";return zh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zh(e)}function t9(e){dm(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||zh(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function n9(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}var o9={};function r9(){return o9}function O0(e,t){var n,o,r,i,a,s,l,c;dm(1,arguments);var u=r9(),d=n9((n=(o=(r=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&r!==void 0?r:u.weekStartsOn)!==null&&o!==void 0?o:(l=u.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=t9(e),h=f.getUTCDay(),p=(ht.getTime()?"'下个'"+o:"'上个'"+o}var a9={lastWeek:M0,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:M0,other:"PP p"},s9=function(t,n,o,r){var i=a9[t];return typeof i=="function"?i(n,o,r):i};const l9=s9;function Qt(e){return function(t,n){var o=n!=null&&n.context?String(n.context):"standalone",r;if(o==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):i;r=e.formattingValues[a]||e.formattingValues[i]}else{var s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;r=e.values[l]||e.values[s]}var c=e.argumentCallback?e.argumentCallback(t):t;return r[c]}}var c9={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},u9={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},d9={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},f9={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},h9={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},p9={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},m9=function(t,n){var o=Number(t);switch(n==null?void 0:n.unit){case"date":return o.toString()+"日";case"hour":return o.toString()+"时";case"minute":return o.toString()+"分";case"second":return o.toString()+"秒";default:return"第 "+o.toString()}},g9={ordinalNumber:m9,era:Qt({values:c9,defaultWidth:"wide"}),quarter:Qt({values:u9,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Qt({values:d9,defaultWidth:"wide"}),day:Qt({values:f9,defaultWidth:"wide"}),dayPeriod:Qt({values:h9,defaultWidth:"wide",formattingValues:p9,defaultFormattingWidth:"wide"})};const v9=g9;function en(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=n.width,r=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;var a=i[0],s=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?y9(s,function(d){return d.test(a)}):b9(s,function(d){return d.test(a)}),c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;var u=t.slice(a.length);return{value:c,rest:u}}}function b9(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function y9(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},o=t.match(e.matchPattern);if(!o)return null;var r=o[0],i=t.match(e.parsePattern);if(!i)return null;var a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;var s=t.slice(r.length);return{value:a,rest:s}}}var x9=/^(第\s*)?\d+(日|时|分|秒)?/i,C9=/\d+/i,w9={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},_9={any:[/^(前)/i,/^(公元)/i]},S9={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},k9={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},P9={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},T9={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},R9={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},E9={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},$9={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},A9={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},I9={ordinalNumber:ul({matchPattern:x9,parsePattern:C9,valueCallback:function(t){return parseInt(t,10)}}),era:en({matchPatterns:w9,defaultMatchWidth:"wide",parsePatterns:_9,defaultParseWidth:"any"}),quarter:en({matchPatterns:S9,defaultMatchWidth:"wide",parsePatterns:k9,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:en({matchPatterns:P9,defaultMatchWidth:"wide",parsePatterns:T9,defaultParseWidth:"any"}),day:en({matchPatterns:R9,defaultMatchWidth:"wide",parsePatterns:E9,defaultParseWidth:"any"}),dayPeriod:en({matchPatterns:$9,defaultMatchWidth:"any",parsePatterns:A9,defaultParseWidth:"any"})};const O9=I9;var M9={code:"zh-CN",formatDistance:YF,formatLong:e9,formatRelative:l9,localize:v9,match:O9,options:{weekStartsOn:1,firstWeekContainsDate:4}};const N_=M9,z9={name:"zh-CN",locale:N_},z0=z9;var D9={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},L9=function(t,n,o){var r,i=D9[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",n.toString()),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?"in "+r:r+" ago":r};const F9=L9;var B9={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},N9={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},H9={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},j9={date:Dn({formats:B9,defaultWidth:"full"}),time:Dn({formats:N9,defaultWidth:"full"}),dateTime:Dn({formats:H9,defaultWidth:"full"})};const V9=j9;var W9={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},U9=function(t,n,o,r){return W9[t]};const q9=U9;var K9={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},G9={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Y9={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},X9={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Z9={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},J9={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Q9=function(t,n){var o=Number(t),r=o%100;if(r>20||r<10)switch(r%10){case 1:return o+"st";case 2:return o+"nd";case 3:return o+"rd"}return o+"th"},e7={ordinalNumber:Q9,era:Qt({values:K9,defaultWidth:"wide"}),quarter:Qt({values:G9,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Qt({values:Y9,defaultWidth:"wide"}),day:Qt({values:X9,defaultWidth:"wide"}),dayPeriod:Qt({values:Z9,defaultWidth:"wide",formattingValues:J9,defaultFormattingWidth:"wide"})};const t7=e7;var n7=/^(\d+)(th|st|nd|rd)?/i,o7=/\d+/i,r7={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},i7={any:[/^b/i,/^(a|c)/i]},a7={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},s7={any:[/1/i,/2/i,/3/i,/4/i]},l7={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},c7={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},u7={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},d7={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},f7={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},h7={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},p7={ordinalNumber:ul({matchPattern:n7,parsePattern:o7,valueCallback:function(t){return parseInt(t,10)}}),era:en({matchPatterns:r7,defaultMatchWidth:"wide",parsePatterns:i7,defaultParseWidth:"any"}),quarter:en({matchPatterns:a7,defaultMatchWidth:"wide",parsePatterns:s7,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:en({matchPatterns:l7,defaultMatchWidth:"wide",parsePatterns:c7,defaultParseWidth:"any"}),day:en({matchPatterns:u7,defaultMatchWidth:"wide",parsePatterns:d7,defaultParseWidth:"any"}),dayPeriod:en({matchPatterns:f7,defaultMatchWidth:"any",parsePatterns:h7,defaultParseWidth:"any"})};const m7=p7;var g7={code:"en-US",formatDistance:F9,formatLong:V9,formatRelative:q9,localize:t7,match:m7,options:{weekStartsOn:0,firstWeekContainsDate:1}};const v7=g7,b7={name:"en-US",locale:v7},H_=b7;var y7={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},x7=function(t,n,o){o=o||{};var r,i=y7[t];return typeof i=="string"?r=i:n===1?o.addSuffix&&i.oneWithSuffix?r=i.oneWithSuffix:r=i.one:o.addSuffix&&i.otherWithSuffix?r=i.otherWithSuffix.replace("{{count}}",String(n)):r=i.other.replace("{{count}}",String(n)),o.addSuffix?o.comparison&&o.comparison>0?r+"後":r+"前":r};const C7=x7;var w7={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},_7={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},S7={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},k7={date:Dn({formats:w7,defaultWidth:"full"}),time:Dn({formats:_7,defaultWidth:"full"}),dateTime:Dn({formats:S7,defaultWidth:"full"})};const P7=k7;var T7={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},R7=function(t,n,o,r){return T7[t]};const E7=R7;var $7={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},A7={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},I7={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},O7={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},M7={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},z7={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},D7=function(t,n){var o=Number(t),r=String(n==null?void 0:n.unit);switch(r){case"year":return"".concat(o,"年");case"quarter":return"第".concat(o,"四半期");case"month":return"".concat(o,"月");case"week":return"第".concat(o,"週");case"date":return"".concat(o,"日");case"hour":return"".concat(o,"時");case"minute":return"".concat(o,"分");case"second":return"".concat(o,"秒");default:return"".concat(o)}},L7={ordinalNumber:D7,era:Qt({values:$7,defaultWidth:"wide"}),quarter:Qt({values:A7,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:Qt({values:I7,defaultWidth:"wide"}),day:Qt({values:O7,defaultWidth:"wide"}),dayPeriod:Qt({values:M7,defaultWidth:"wide",formattingValues:z7,defaultFormattingWidth:"wide"})};const F7=L7;var B7=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,N7=/\d+/i,H7={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},j7={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},V7={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},W7={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},U7={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},q7={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},K7={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},G7={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},Y7={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},X7={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},Z7={ordinalNumber:ul({matchPattern:B7,parsePattern:N7,valueCallback:function(t){return parseInt(t,10)}}),era:en({matchPatterns:H7,defaultMatchWidth:"wide",parsePatterns:j7,defaultParseWidth:"any"}),quarter:en({matchPatterns:V7,defaultMatchWidth:"wide",parsePatterns:W7,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:en({matchPatterns:U7,defaultMatchWidth:"wide",parsePatterns:q7,defaultParseWidth:"any"}),day:en({matchPatterns:K7,defaultMatchWidth:"wide",parsePatterns:G7,defaultParseWidth:"any"}),dayPeriod:en({matchPatterns:Y7,defaultMatchWidth:"any",parsePatterns:X7,defaultParseWidth:"any"})};const J7=Z7;var Q7={code:"ja",formatDistance:C7,formatLong:P7,formatRelative:E7,localize:F7,match:J7,options:{weekStartsOn:0,firstWeekContainsDate:1}};const eB=Q7,tB={name:"ja-JP",locale:eB},nB=tB;var oB={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXWeeks:{one:"약 1주",other:"약 {{count}}주"},xWeeks:{one:"1주",other:"{{count}}주"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}},rB=function(t,n,o){var r,i=oB[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",n.toString()),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?r+" 후":r+" 전":r};const iB=rB;var aB={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},sB={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},lB={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},cB={date:Dn({formats:aB,defaultWidth:"full"}),time:Dn({formats:sB,defaultWidth:"full"}),dateTime:Dn({formats:lB,defaultWidth:"full"})};const uB=cB;var dB={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},fB=function(t,n,o,r){return dB[t]};const hB=fB;var pB={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},mB={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},gB={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},vB={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},bB={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},yB={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},xB=function(t,n){var o=Number(t),r=String(n==null?void 0:n.unit);switch(r){case"minute":case"second":return String(o);case"date":return o+"일";default:return o+"번째"}},CB={ordinalNumber:xB,era:Qt({values:pB,defaultWidth:"wide"}),quarter:Qt({values:mB,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Qt({values:gB,defaultWidth:"wide"}),day:Qt({values:vB,defaultWidth:"wide"}),dayPeriod:Qt({values:bB,defaultWidth:"wide",formattingValues:yB,defaultFormattingWidth:"wide"})};const wB=CB;var _B=/^(\d+)(일|번째)?/i,SB=/\d+/i,kB={narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(기원전|서기)/i},PB={any:[/^(bc|기원전)/i,/^(ad|서기)/i]},TB={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},RB={any:[/1/i,/2/i,/3/i,/4/i]},EB={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},$B={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},AB={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},IB={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},OB={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},MB={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},zB={ordinalNumber:ul({matchPattern:_B,parsePattern:SB,valueCallback:function(t){return parseInt(t,10)}}),era:en({matchPatterns:kB,defaultMatchWidth:"wide",parsePatterns:PB,defaultParseWidth:"any"}),quarter:en({matchPatterns:TB,defaultMatchWidth:"wide",parsePatterns:RB,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:en({matchPatterns:EB,defaultMatchWidth:"wide",parsePatterns:$B,defaultParseWidth:"any"}),day:en({matchPatterns:AB,defaultMatchWidth:"wide",parsePatterns:IB,defaultParseWidth:"any"}),dayPeriod:en({matchPatterns:OB,defaultMatchWidth:"any",parsePatterns:MB,defaultParseWidth:"any"})};const DB=zB;var LB={code:"ko",formatDistance:iB,formatLong:uB,formatRelative:hB,localize:wB,match:DB,options:{weekStartsOn:0,firstWeekContainsDate:1}};const FB=LB,BB={name:"ko-KR",locale:FB},NB=BB;var HB={lessThanXSeconds:{one:"dưới 1 giây",other:"dưới {{count}} giây"},xSeconds:{one:"1 giây",other:"{{count}} giây"},halfAMinute:"nửa phút",lessThanXMinutes:{one:"dưới 1 phút",other:"dưới {{count}} phút"},xMinutes:{one:"1 phút",other:"{{count}} phút"},aboutXHours:{one:"khoảng 1 giờ",other:"khoảng {{count}} giờ"},xHours:{one:"1 giờ",other:"{{count}} giờ"},xDays:{one:"1 ngày",other:"{{count}} ngày"},aboutXWeeks:{one:"khoảng 1 tuần",other:"khoảng {{count}} tuần"},xWeeks:{one:"1 tuần",other:"{{count}} tuần"},aboutXMonths:{one:"khoảng 1 tháng",other:"khoảng {{count}} tháng"},xMonths:{one:"1 tháng",other:"{{count}} tháng"},aboutXYears:{one:"khoảng 1 năm",other:"khoảng {{count}} năm"},xYears:{one:"1 năm",other:"{{count}} năm"},overXYears:{one:"hơn 1 năm",other:"hơn {{count}} năm"},almostXYears:{one:"gần 1 năm",other:"gần {{count}} năm"}},jB=function(t,n,o){var r,i=HB[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",String(n)),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?r+" nữa":r+" trước":r};const VB=jB;var WB={full:"EEEE, 'ngày' d MMMM 'năm' y",long:"'ngày' d MMMM 'năm' y",medium:"d MMM 'năm' y",short:"dd/MM/y"},UB={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},qB={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},KB={date:Dn({formats:WB,defaultWidth:"full"}),time:Dn({formats:UB,defaultWidth:"full"}),dateTime:Dn({formats:qB,defaultWidth:"full"})};const GB=KB;var YB={lastWeek:"eeee 'tuần trước vào lúc' p",yesterday:"'hôm qua vào lúc' p",today:"'hôm nay vào lúc' p",tomorrow:"'ngày mai vào lúc' p",nextWeek:"eeee 'tới vào lúc' p",other:"P"},XB=function(t,n,o,r){return YB[t]};const ZB=XB;var JB={narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},QB={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},eN={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},tN={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["Thg 1","Thg 2","Thg 3","Thg 4","Thg 5","Thg 6","Thg 7","Thg 8","Thg 9","Thg 10","Thg 11","Thg 12"],wide:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"]},nN={narrow:["01","02","03","04","05","06","07","08","09","10","11","12"],abbreviated:["thg 1","thg 2","thg 3","thg 4","thg 5","thg 6","thg 7","thg 8","thg 9","thg 10","thg 11","thg 12"],wide:["tháng 01","tháng 02","tháng 03","tháng 04","tháng 05","tháng 06","tháng 07","tháng 08","tháng 09","tháng 10","tháng 11","tháng 12"]},oN={narrow:["CN","T2","T3","T4","T5","T6","T7"],short:["CN","Th 2","Th 3","Th 4","Th 5","Th 6","Th 7"],abbreviated:["CN","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7"],wide:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"]},rN={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"}},iN={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"giữa trưa",morning:"vào buổi sáng",afternoon:"vào buổi chiều",evening:"vào buổi tối",night:"vào ban đêm"}},aN=function(t,n){var o=Number(t),r=n==null?void 0:n.unit;if(r==="quarter")switch(o){case 1:return"I";case 2:return"II";case 3:return"III";case 4:return"IV"}else if(r==="day")switch(o){case 1:return"thứ 2";case 2:return"thứ 3";case 3:return"thứ 4";case 4:return"thứ 5";case 5:return"thứ 6";case 6:return"thứ 7";case 7:return"chủ nhật"}else{if(r==="week")return o===1?"thứ nhất":"thứ "+o;if(r==="dayOfYear")return o===1?"đầu tiên":"thứ "+o}return String(o)},sN={ordinalNumber:aN,era:Qt({values:JB,defaultWidth:"wide"}),quarter:Qt({values:QB,defaultWidth:"wide",formattingValues:eN,defaultFormattingWidth:"wide",argumentCallback:function(t){return t-1}}),month:Qt({values:tN,defaultWidth:"wide",formattingValues:nN,defaultFormattingWidth:"wide"}),day:Qt({values:oN,defaultWidth:"wide"}),dayPeriod:Qt({values:rN,defaultWidth:"wide",formattingValues:iN,defaultFormattingWidth:"wide"})};const lN=sN;var cN=/^(\d+)/i,uN=/\d+/i,dN={narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},fN={any:[/^t/i,/^s/i]},hN={narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},pN={any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},mN={narrow:/^(0?[2-9]|10|11|12|0?1)/i,abbreviated:/^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,wide:/^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i},gN={narrow:[/0?1$/i,/0?2/i,/3/,/4/,/5/,/6/,/7/,/8/,/9/,/10/,/11/,/12/],abbreviated:[/^thg[ _]?0?1(?!\d)/i,/^thg[ _]?0?2/i,/^thg[ _]?0?3/i,/^thg[ _]?0?4/i,/^thg[ _]?0?5/i,/^thg[ _]?0?6/i,/^thg[ _]?0?7/i,/^thg[ _]?0?8/i,/^thg[ _]?0?9/i,/^thg[ _]?10/i,/^thg[ _]?11/i,/^thg[ _]?12/i],wide:[/^tháng ?(Một|0?1(?!\d))/i,/^tháng ?(Hai|0?2)/i,/^tháng ?(Ba|0?3)/i,/^tháng ?(Tư|0?4)/i,/^tháng ?(Năm|0?5)/i,/^tháng ?(Sáu|0?6)/i,/^tháng ?(Bảy|0?7)/i,/^tháng ?(Tám|0?8)/i,/^tháng ?(Chín|0?9)/i,/^tháng ?(Mười|10)/i,/^tháng ?(Mười ?Một|11)/i,/^tháng ?(Mười ?Hai|12)/i]},vN={narrow:/^(CN|T2|T3|T4|T5|T6|T7)/i,short:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,abbreviated:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,wide:/^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i},bN={narrow:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],short:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],abbreviated:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],wide:[/(Chủ|Chúa) ?Nhật/i,/Hai/i,/Ba/i,/Tư/i,/Năm/i,/Sáu/i,/Bảy/i]},yN={narrow:/^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,abbreviated:/^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,wide:/^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i},xN={any:{am:/^(a|sa)/i,pm:/^(p|ch[^i]*)/i,midnight:/nửa đêm/i,noon:/trưa/i,morning:/sáng/i,afternoon:/chiều/i,evening:/tối/i,night:/^đêm/i}},CN={ordinalNumber:ul({matchPattern:cN,parsePattern:uN,valueCallback:function(t){return parseInt(t,10)}}),era:en({matchPatterns:dN,defaultMatchWidth:"wide",parsePatterns:fN,defaultParseWidth:"any"}),quarter:en({matchPatterns:hN,defaultMatchWidth:"wide",parsePatterns:pN,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:en({matchPatterns:mN,defaultMatchWidth:"wide",parsePatterns:gN,defaultParseWidth:"wide"}),day:en({matchPatterns:vN,defaultMatchWidth:"wide",parsePatterns:bN,defaultParseWidth:"wide"}),dayPeriod:en({matchPatterns:yN,defaultMatchWidth:"wide",parsePatterns:xN,defaultParseWidth:"any"})};const wN=CN;var _N={code:"vi",formatDistance:VB,formatLong:GB,formatRelative:ZB,localize:lN,match:wN,options:{weekStartsOn:1,firstWeekContainsDate:1}};const SN=_N,kN={name:"vi-VN",locale:SN},PN=kN,TN={name:"fa-IR",locale:N_},RN=TN;function Hi(e){const{mergedLocaleRef:t,mergedDateLocaleRef:n}=Ue(Eo,null)||{},o=F(()=>{var i,a;return(a=(i=t==null?void 0:t.value)===null||i===void 0?void 0:i[e])!==null&&a!==void 0?a:B_[e]});return{dateLocaleRef:F(()=>{var i;return(i=n==null?void 0:n.value)!==null&&i!==void 0?i:H_}),localeRef:o}}function ei(e,t,n){if(!t)return;const o=Li(),r=Ue(Eo,null),i=()=>{const a=n.value;t.mount({id:a===void 0?e:a+e,head:!0,anchorMetaName:$a,props:{bPrefix:a?`.${a}-`:void 0},ssr:o}),r!=null&&r.preflightStyleDisabled||L_.mount({id:"n-global",head:!0,anchorMetaName:$a,ssr:o})};o?i():hn(i)}function Pt(e,t,n,o){var r;n||fr("useThemeClass","cssVarsRef is not passed");const i=(r=Ue(Eo,null))===null||r===void 0?void 0:r.mergedThemeHashRef,a=W(""),s=Li();let l;const c=`__${e}`,u=()=>{let d=c;const f=t?t.value:void 0,h=i==null?void 0:i.value;h&&(d+=`-${h}`),f&&(d+=`-${f}`);const{themeOverrides:p,builtinThemeOverrides:g}=o;p&&(d+=`-${Ys(JSON.stringify(p))}`),g&&(d+=`-${Ys(JSON.stringify(g))}`),a.value=d,l=()=>{const m=n.value;let b="";for(const _ in m)b+=`${_}: ${m[_]};`;q(`.${d}`,b).mount({id:d,ssr:s}),l=void 0}};return Xt(()=>{u()}),{themeClass:a,onRender:()=>{l==null||l()}}}function pn(e,t,n){if(!t)return;const o=Li(),r=F(()=>{const{value:a}=t;if(!a)return;const s=a[e];if(s)return s}),i=()=>{Xt(()=>{const{value:a}=n,s=`${a}${e}Rtl`;if(f8(s,o))return;const{value:l}=r;l&&l.style.mount({id:s,head:!0,anchorMetaName:$a,props:{bPrefix:a?`.${a}-`:void 0},ssr:o})})};return o?i():hn(i),r}const EN=be({name:"Add",render(){return v("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))}}),$N=be({name:"ArrowDown",render(){return v("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M23.7916,15.2664 C24.0788,14.9679 24.0696,14.4931 23.7711,14.206 C23.4726,13.9188 22.9978,13.928 22.7106,14.2265 L14.7511,22.5007 L14.7511,3.74792 C14.7511,3.33371 14.4153,2.99792 14.0011,2.99792 C13.5869,2.99792 13.2511,3.33371 13.2511,3.74793 L13.2511,22.4998 L5.29259,14.2265 C5.00543,13.928 4.53064,13.9188 4.23213,14.206 C3.93361,14.4931 3.9244,14.9679 4.21157,15.2664 L13.2809,24.6944 C13.6743,25.1034 14.3289,25.1034 14.7223,24.6944 L23.7916,15.2664 Z"}))))}});function Ua(e,t){return be({name:g_(e),setup(){var n;const o=(n=Ue(Eo,null))===null||n===void 0?void 0:n.mergedIconsRef;return()=>{var r;const i=(r=o==null?void 0:o.value)===null||r===void 0?void 0:r[e];return i?i():t}}})}const D0=be({name:"Backward",render(){return v("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M12.2674 15.793C11.9675 16.0787 11.4927 16.0672 11.2071 15.7673L6.20572 10.5168C5.9298 10.2271 5.9298 9.7719 6.20572 9.48223L11.2071 4.23177C11.4927 3.93184 11.9675 3.92031 12.2674 4.206C12.5673 4.49169 12.5789 4.96642 12.2932 5.26634L7.78458 9.99952L12.2932 14.7327C12.5789 15.0326 12.5673 15.5074 12.2674 15.793Z",fill:"currentColor"}))}}),AN=be({name:"Checkmark",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},v("g",{fill:"none"},v("path",{d:"M14.046 3.486a.75.75 0 0 1-.032 1.06l-7.93 7.474a.85.85 0 0 1-1.188-.022l-2.68-2.72a.75.75 0 1 1 1.068-1.053l2.234 2.267l7.468-7.038a.75.75 0 0 1 1.06.032z",fill:"currentColor"})))}}),fm=be({name:"ChevronRight",render(){return v("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z",fill:"currentColor"}))}}),IN=Ua("close",v("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z"}))))),ON=be({name:"Eye",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},v("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),v("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}}),MN=be({name:"EyeOff",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},v("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),v("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),v("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),v("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),v("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))}}),zN=be({name:"Empty",render(){return v("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),v("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}}),ji=Ua("error",v("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M17.8838835,16.1161165 L17.7823881,16.0249942 C17.3266086,15.6583353 16.6733914,15.6583353 16.2176119,16.0249942 L16.1161165,16.1161165 L16.0249942,16.2176119 C15.6583353,16.6733914 15.6583353,17.3266086 16.0249942,17.7823881 L16.1161165,17.8838835 L22.233,24 L16.1161165,30.1161165 L16.0249942,30.2176119 C15.6583353,30.6733914 15.6583353,31.3266086 16.0249942,31.7823881 L16.1161165,31.8838835 L16.2176119,31.9750058 C16.6733914,32.3416647 17.3266086,32.3416647 17.7823881,31.9750058 L17.8838835,31.8838835 L24,25.767 L30.1161165,31.8838835 L30.2176119,31.9750058 C30.6733914,32.3416647 31.3266086,32.3416647 31.7823881,31.9750058 L31.8838835,31.8838835 L31.9750058,31.7823881 C32.3416647,31.3266086 32.3416647,30.6733914 31.9750058,30.2176119 L31.8838835,30.1161165 L25.767,24 L31.8838835,17.8838835 L31.9750058,17.7823881 C32.3416647,17.3266086 32.3416647,16.6733914 31.9750058,16.2176119 L31.8838835,16.1161165 L31.7823881,16.0249942 C31.3266086,15.6583353 30.6733914,15.6583353 30.2176119,16.0249942 L30.1161165,16.1161165 L24,22.233 L17.8838835,16.1161165 L17.7823881,16.0249942 L17.8838835,16.1161165 Z"}))))),L0=be({name:"FastBackward",render(){return v("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M8.73171,16.7949 C9.03264,17.0795 9.50733,17.0663 9.79196,16.7654 C10.0766,16.4644 10.0634,15.9897 9.76243,15.7051 L4.52339,10.75 L17.2471,10.75 C17.6613,10.75 17.9971,10.4142 17.9971,10 C17.9971,9.58579 17.6613,9.25 17.2471,9.25 L4.52112,9.25 L9.76243,4.29275 C10.0634,4.00812 10.0766,3.53343 9.79196,3.2325 C9.50733,2.93156 9.03264,2.91834 8.73171,3.20297 L2.31449,9.27241 C2.14819,9.4297 2.04819,9.62981 2.01448,9.8386 C2.00308,9.89058 1.99707,9.94459 1.99707,10 C1.99707,10.0576 2.00356,10.1137 2.01585,10.1675 C2.05084,10.3733 2.15039,10.5702 2.31449,10.7254 L8.73171,16.7949 Z"}))))}}),F0=be({name:"FastForward",render(){return v("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M11.2654,3.20511 C10.9644,2.92049 10.4897,2.93371 10.2051,3.23464 C9.92049,3.53558 9.93371,4.01027 10.2346,4.29489 L15.4737,9.25 L2.75,9.25 C2.33579,9.25 2,9.58579 2,10.0000012 C2,10.4142 2.33579,10.75 2.75,10.75 L15.476,10.75 L10.2346,15.7073 C9.93371,15.9919 9.92049,16.4666 10.2051,16.7675 C10.4897,17.0684 10.9644,17.0817 11.2654,16.797 L17.6826,10.7276 C17.8489,10.5703 17.9489,10.3702 17.9826,10.1614 C17.994,10.1094 18,10.0554 18,10.0000012 C18,9.94241 17.9935,9.88633 17.9812,9.83246 C17.9462,9.62667 17.8467,9.42976 17.6826,9.27455 L11.2654,3.20511 Z"}))))}}),DN=be({name:"Filter",render(){return v("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M17,19 C17.5522847,19 18,19.4477153 18,20 C18,20.5522847 17.5522847,21 17,21 L11,21 C10.4477153,21 10,20.5522847 10,20 C10,19.4477153 10.4477153,19 11,19 L17,19 Z M21,13 C21.5522847,13 22,13.4477153 22,14 C22,14.5522847 21.5522847,15 21,15 L7,15 C6.44771525,15 6,14.5522847 6,14 C6,13.4477153 6.44771525,13 7,13 L21,13 Z M24,7 C24.5522847,7 25,7.44771525 25,8 C25,8.55228475 24.5522847,9 24,9 L4,9 C3.44771525,9 3,8.55228475 3,8 C3,7.44771525 3.44771525,7 4,7 L24,7 Z"}))))}}),B0=be({name:"Forward",render(){return v("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z",fill:"currentColor"}))}}),Vr=Ua("info",v("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M14,2 C20.6274,2 26,7.37258 26,14 C26,20.6274 20.6274,26 14,26 C7.37258,26 2,20.6274 2,14 C2,7.37258 7.37258,2 14,2 Z M14,11 C13.4477,11 13,11.4477 13,12 L13,12 L13,20 C13,20.5523 13.4477,21 14,21 C14.5523,21 15,20.5523 15,20 L15,20 L15,12 C15,11.4477 14.5523,11 14,11 Z M14,6.75 C13.3096,6.75 12.75,7.30964 12.75,8 C12.75,8.69036 13.3096,9.25 14,9.25 C14.6904,9.25 15.25,8.69036 15.25,8 C15.25,7.30964 14.6904,6.75 14,6.75 Z"}))))),N0=be({name:"More",render(){return v("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M4,7 C4.55228,7 5,7.44772 5,8 C5,8.55229 4.55228,9 4,9 C3.44772,9 3,8.55229 3,8 C3,7.44772 3.44772,7 4,7 Z M8,7 C8.55229,7 9,7.44772 9,8 C9,8.55229 8.55229,9 8,9 C7.44772,9 7,8.55229 7,8 C7,7.44772 7.44772,7 8,7 Z M12,7 C12.5523,7 13,7.44772 13,8 C13,8.55229 12.5523,9 12,9 C11.4477,9 11,8.55229 11,8 C11,7.44772 11.4477,7 12,7 Z"}))))}}),LN=be({name:"Remove",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},v("line",{x1:"400",y1:"256",x2:"112",y2:"256",style:` fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 32px; - `}))}}),Fi=Ba("success",g("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},g("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},g("g",{"fill-rule":"nonzero"},g("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M32.6338835,17.6161165 C32.1782718,17.1605048 31.4584514,17.1301307 30.9676119,17.5249942 L30.8661165,17.6161165 L20.75,27.732233 L17.1338835,24.1161165 C16.6457281,23.6279612 15.8542719,23.6279612 15.3661165,24.1161165 C14.9105048,24.5717282 14.8801307,25.2915486 15.2749942,25.7823881 L15.3661165,25.8838835 L19.8661165,30.3838835 C20.3217282,30.8394952 21.0415486,30.8698693 21.5323881,30.4750058 L21.6338835,30.3838835 L32.6338835,19.3838835 C33.1220388,18.8957281 33.1220388,18.1042719 32.6338835,17.6161165 Z"}))))),Bi=Ba("warning",g("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},g("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},g("g",{"fill-rule":"nonzero"},g("path",{d:"M12,2 C17.523,2 22,6.478 22,12 C22,17.522 17.523,22 12,22 C6.477,22 2,17.522 2,12 C2,6.478 6.477,2 12,2 Z M12.0018002,15.0037242 C11.450254,15.0037242 11.0031376,15.4508407 11.0031376,16.0023869 C11.0031376,16.553933 11.450254,17.0010495 12.0018002,17.0010495 C12.5533463,17.0010495 13.0004628,16.553933 13.0004628,16.0023869 C13.0004628,15.4508407 12.5533463,15.0037242 12.0018002,15.0037242 Z M11.99964,7 C11.4868042,7.00018474 11.0642719,7.38637706 11.0066858,7.8837365 L11,8.00036004 L11.0018003,13.0012393 L11.00857,13.117858 C11.0665141,13.6151758 11.4893244,14.0010638 12.0021602,14.0008793 C12.514996,14.0006946 12.9375283,13.6145023 12.9951144,13.1171428 L13.0018002,13.0005193 L13,7.99964009 L12.9932303,7.8830214 C12.9352861,7.38570354 12.5124758,6.99981552 11.99964,7 Z"}))))),m_=ve({name:"ChevronDown",render(){return g("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))}}),GB=Ba("clear",g("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},g("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},g("g",{fill:"currentColor","fill-rule":"nonzero"},g("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"}))))),YB=ve({name:"ChevronDownFilled",render(){return g("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g("path",{d:"M3.20041 5.73966C3.48226 5.43613 3.95681 5.41856 4.26034 5.70041L8 9.22652L11.7397 5.70041C12.0432 5.41856 12.5177 5.43613 12.7996 5.73966C13.0815 6.0432 13.0639 6.51775 12.7603 6.7996L8.51034 10.7996C8.22258 11.0668 7.77743 11.0668 7.48967 10.7996L3.23966 6.7996C2.93613 6.51775 2.91856 6.0432 3.20041 5.73966Z",fill:"currentColor"}))}}),Ni=ve({name:"BaseIconSwitchTransition",setup(e,{slots:t}){const n=Xr();return()=>g(fn,{name:"icon-switch-transition",appear:n.value},t)}}),Eu=ve({name:"FadeInExpandTransition",props:{appear:Boolean,group:Boolean,mode:String,onLeave:Function,onAfterLeave:Function,onAfterEnter:Function,width:Boolean,reverse:Boolean},setup(e,{slots:t}){function n(s){e.width?s.style.maxWidth=`${s.offsetWidth}px`:s.style.maxHeight=`${s.offsetHeight}px`,s.offsetWidth}function o(s){e.width?s.style.maxWidth="0":s.style.maxHeight="0",s.offsetWidth;const{onLeave:l}=e;l&&l()}function r(s){e.width?s.style.maxWidth="":s.style.maxHeight="";const{onAfterLeave:l}=e;l&&l()}function i(s){if(s.style.transition="none",e.width){const l=s.offsetWidth;s.style.maxWidth="0",s.offsetWidth,s.style.transition="",s.style.maxWidth=`${l}px`}else if(e.reverse)s.style.maxHeight=`${s.offsetHeight}px`,s.offsetHeight,s.style.transition="",s.style.maxHeight="0";else{const l=s.offsetHeight;s.style.maxHeight="0",s.offsetWidth,s.style.transition="",s.style.maxHeight=`${l}px`}s.offsetWidth}function a(s){var l;e.width?s.style.maxWidth="":e.reverse||(s.style.maxHeight=""),(l=e.onAfterEnter)===null||l===void 0||l.call(e)}return()=>{const{group:s,width:l,appear:c,mode:u}=e,d=s?cP:fn,f={name:l?"fade-in-width-expand-transition":"fade-in-height-expand-transition",appear:c,onEnter:i,onAfterEnter:a,onBeforeLeave:n,onLeave:o,onAfterLeave:r};return s||(f.mode=u),g(d,f,t)}}}),XB=z("base-icon",` + `}))}}),Vi=Ua("success",v("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M32.6338835,17.6161165 C32.1782718,17.1605048 31.4584514,17.1301307 30.9676119,17.5249942 L30.8661165,17.6161165 L20.75,27.732233 L17.1338835,24.1161165 C16.6457281,23.6279612 15.8542719,23.6279612 15.3661165,24.1161165 C14.9105048,24.5717282 14.8801307,25.2915486 15.2749942,25.7823881 L15.3661165,25.8838835 L19.8661165,30.3838835 C20.3217282,30.8394952 21.0415486,30.8698693 21.5323881,30.4750058 L21.6338835,30.3838835 L32.6338835,19.3838835 C33.1220388,18.8957281 33.1220388,18.1042719 32.6338835,17.6161165 Z"}))))),Wi=Ua("warning",v("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M12,2 C17.523,2 22,6.478 22,12 C22,17.522 17.523,22 12,22 C6.477,22 2,17.522 2,12 C2,6.478 6.477,2 12,2 Z M12.0018002,15.0037242 C11.450254,15.0037242 11.0031376,15.4508407 11.0031376,16.0023869 C11.0031376,16.553933 11.450254,17.0010495 12.0018002,17.0010495 C12.5533463,17.0010495 13.0004628,16.553933 13.0004628,16.0023869 C13.0004628,15.4508407 12.5533463,15.0037242 12.0018002,15.0037242 Z M11.99964,7 C11.4868042,7.00018474 11.0642719,7.38637706 11.0066858,7.8837365 L11,8.00036004 L11.0018003,13.0012393 L11.00857,13.117858 C11.0665141,13.6151758 11.4893244,14.0010638 12.0021602,14.0008793 C12.514996,14.0006946 12.9375283,13.6145023 12.9951144,13.1171428 L13.0018002,13.0005193 L13,7.99964009 L12.9932303,7.8830214 C12.9352861,7.38570354 12.5124758,6.99981552 11.99964,7 Z"}))))),j_=be({name:"ChevronDown",render(){return v("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))}}),FN=Ua("clear",v("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"}))))),BN=be({name:"ChevronDownFilled",render(){return v("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M3.20041 5.73966C3.48226 5.43613 3.95681 5.41856 4.26034 5.70041L8 9.22652L11.7397 5.70041C12.0432 5.41856 12.5177 5.43613 12.7996 5.73966C13.0815 6.0432 13.0639 6.51775 12.7603 6.7996L8.51034 10.7996C8.22258 11.0668 7.77743 11.0668 7.48967 10.7996L3.23966 6.7996C2.93613 6.51775 2.91856 6.0432 3.20041 5.73966Z",fill:"currentColor"}))}}),Ui=be({name:"BaseIconSwitchTransition",setup(e,{slots:t}){const n=Qr();return()=>v(fn,{name:"icon-switch-transition",appear:n.value},t)}}),Ou=be({name:"FadeInExpandTransition",props:{appear:Boolean,group:Boolean,mode:String,onLeave:Function,onAfterLeave:Function,onAfterEnter:Function,width:Boolean,reverse:Boolean},setup(e,{slots:t}){function n(s){e.width?s.style.maxWidth=`${s.offsetWidth}px`:s.style.maxHeight=`${s.offsetHeight}px`,s.offsetWidth}function o(s){e.width?s.style.maxWidth="0":s.style.maxHeight="0",s.offsetWidth;const{onLeave:l}=e;l&&l()}function r(s){e.width?s.style.maxWidth="":s.style.maxHeight="";const{onAfterLeave:l}=e;l&&l()}function i(s){if(s.style.transition="none",e.width){const l=s.offsetWidth;s.style.maxWidth="0",s.offsetWidth,s.style.transition="",s.style.maxWidth=`${l}px`}else if(e.reverse)s.style.maxHeight=`${s.offsetHeight}px`,s.offsetHeight,s.style.transition="",s.style.maxHeight="0";else{const l=s.offsetHeight;s.style.maxHeight="0",s.offsetWidth,s.style.transition="",s.style.maxHeight=`${l}px`}s.offsetWidth}function a(s){var l;e.width?s.style.maxWidth="":e.reverse||(s.style.maxHeight=""),(l=e.onAfterEnter)===null||l===void 0||l.call(e)}return()=>{const{group:s,width:l,appear:c,mode:u}=e,d=s?AP:fn,f={name:l?"fade-in-width-expand-transition":"fade-in-height-expand-transition",appear:c,onEnter:i,onAfterEnter:a,onBeforeLeave:n,onLeave:o,onAfterLeave:r};return s||(f.mode=u),v(d,f,t)}}}),NN=z("base-icon",` height: 1em; width: 1em; line-height: 1em; @@ -95,7 +95,7 @@ ${t} `,[q("svg",` height: 1em; width: 1em; - `)]),Ut=ve({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup(e){Zr("-base-icon",XB,Ve(e,"clsPrefix"))},render(){return g("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}}),ZB=z("base-close",` + `)]),Ut=be({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup(e){ei("-base-icon",NN,We(e,"clsPrefix"))},render(){return v("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}}),HN=z("base-close",` display: flex; align-items: center; justify-content: center; @@ -123,7 +123,7 @@ ${t} transform: translateY(-50%) translateX(-50%); transition: inherit; border-radius: inherit; - `),Tt("disabled",[q("&:hover",` + `),Rt("disabled",[q("&:hover",` color: var(--n-close-icon-color-hover); `),q("&:hover::before",` background-color: var(--n-close-color-hover); @@ -139,7 +139,7 @@ ${t} background-color: transparent; `),Z("round",[q("&::before",` border-radius: 50%; - `)])]),Hi=ve({name:"BaseClose",props:{isButtonTag:{type:Boolean,default:!0},clsPrefix:{type:String,required:!0},disabled:{type:Boolean,default:void 0},focusable:{type:Boolean,default:!0},round:Boolean,onClick:Function,absolute:Boolean},setup(e){return Zr("-base-close",ZB,Ve(e,"clsPrefix")),()=>{const{clsPrefix:t,disabled:n,absolute:o,round:r,isButtonTag:i}=e;return g(i?"button":"div",{type:i?"button":void 0,tabindex:n||!e.focusable?-1:0,"aria-disabled":n,"aria-label":"close",role:i?void 0:"button",disabled:n,class:[`${t}-base-close`,o&&`${t}-base-close--absolute`,n&&`${t}-base-close--disabled`,r&&`${t}-base-close--round`],onMousedown:s=>{e.focusable||s.preventDefault()},onClick:e.onClick},g(Ut,{clsPrefix:t},{default:()=>g(jB,null)}))}}}),JB=ve({props:{onFocus:Function,onBlur:Function},setup(e){return()=>g("div",{style:"width: 0; height: 0",tabindex:0,onFocus:e.onFocus,onBlur:e.onBlur})}}),{cubicBezierEaseInOut:QB}=co;function qn({originalTransform:e="",left:t=0,top:n=0,transition:o=`all .3s ${QB} !important`}={}){return[q("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:e+" scale(0.75)",left:t,top:n,opacity:0}),q("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${e}`,left:t,top:n,opacity:1}),q("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:t,top:n,transition:o})]}const eN=q([q("@keyframes rotator",` + `)])]),qi=be({name:"BaseClose",props:{isButtonTag:{type:Boolean,default:!0},clsPrefix:{type:String,required:!0},disabled:{type:Boolean,default:void 0},focusable:{type:Boolean,default:!0},round:Boolean,onClick:Function,absolute:Boolean},setup(e){return ei("-base-close",HN,We(e,"clsPrefix")),()=>{const{clsPrefix:t,disabled:n,absolute:o,round:r,isButtonTag:i}=e;return v(i?"button":"div",{type:i?"button":void 0,tabindex:n||!e.focusable?-1:0,"aria-disabled":n,"aria-label":"close",role:i?void 0:"button",disabled:n,class:[`${t}-base-close`,o&&`${t}-base-close--absolute`,n&&`${t}-base-close--disabled`,r&&`${t}-base-close--round`],onMousedown:s=>{e.focusable||s.preventDefault()},onClick:e.onClick},v(Ut,{clsPrefix:t},{default:()=>v(IN,null)}))}}}),jN=be({props:{onFocus:Function,onBlur:Function},setup(e){return()=>v("div",{style:"width: 0; height: 0",tabindex:0,onFocus:e.onFocus,onBlur:e.onBlur})}}),{cubicBezierEaseInOut:VN}=po;function qn({originalTransform:e="",left:t=0,top:n=0,transition:o=`all .3s ${VN} !important`}={}){return[q("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:`${e} scale(0.75)`,left:t,top:n,opacity:0}),q("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${e}`,left:t,top:n,opacity:1}),q("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:t,top:n,transition:o})]}const WN=q([q("@keyframes rotator",` 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); @@ -166,7 +166,7 @@ ${t} `,[V("icon",` height: 1em; width: 1em; - `)])])]),Fd="1.6s",tN={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},Jr=ve({name:"BaseLoading",props:Object.assign({clsPrefix:{type:String,required:!0},show:{type:Boolean,default:!0},scale:{type:Number,default:1},radius:{type:Number,default:100}},tN),setup(e){Zr("-base-loading",eN,Ve(e,"clsPrefix"))},render(){const{clsPrefix:e,radius:t,strokeWidth:n,stroke:o,scale:r}=this,i=t/r;return g("div",{class:`${e}-base-loading`,role:"img","aria-label":"loading"},g(Ni,null,{default:()=>this.show?g("div",{key:"icon",class:`${e}-base-loading__transition-wrapper`},g("div",{class:`${e}-base-loading__container`},g("svg",{class:`${e}-base-loading__icon`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},g("g",null,g("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};270 ${i} ${i}`,begin:"0s",dur:Fd,fill:"freeze",repeatCount:"indefinite"}),g("circle",{class:`${e}-base-loading__icon`,fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:i,cy:i,r:t-n/2,"stroke-dasharray":5.67*t,"stroke-dashoffset":18.48*t},g("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};135 ${i} ${i};450 ${i} ${i}`,begin:"0s",dur:Fd,fill:"freeze",repeatCount:"indefinite"}),g("animate",{attributeName:"stroke-dashoffset",values:`${5.67*t};${1.42*t};${5.67*t}`,begin:"0s",dur:Fd,fill:"freeze",repeatCount:"indefinite"})))))):g("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}});function S0(e){return Array.isArray(e)?e:[e]}const _h={STOP:"STOP"};function g_(e,t){const n=t(e);e.children!==void 0&&n!==_h.STOP&&e.children.forEach(o=>g_(o,t))}function nN(e,t={}){const{preserveGroup:n=!1}=t,o=[],r=n?a=>{a.isLeaf||(o.push(a.key),i(a.children))}:a=>{a.isLeaf||(a.isGroup||o.push(a.key),i(a.children))};function i(a){a.forEach(r)}return i(e),o}function oN(e,t){const{isLeaf:n}=e;return n!==void 0?n:!t(e)}function rN(e){return e.children}function iN(e){return e.key}function aN(){return!1}function sN(e,t){const{isLeaf:n}=e;return!(n===!1&&!Array.isArray(t(e)))}function lN(e){return e.disabled===!0}function cN(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function Bd(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function Nd(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function uN(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)||n.add(o)}),Array.from(n)}function dN(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)&&n.delete(o)}),Array.from(n)}function fN(e){return(e==null?void 0:e.type)==="group"}function hN(e){const t=new Map;return e.forEach((n,o)=>{t.set(n.key,o)}),n=>{var o;return(o=t.get(n))!==null&&o!==void 0?o:null}}class pN extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function mN(e,t,n,o){return zc(t.concat(e),n,o,!1)}function gN(e,t){const n=new Set;return e.forEach(o=>{const r=t.treeNodeMap.get(o);if(r!==void 0){let i=r.parent;for(;i!==null&&!(i.disabled||n.has(i.key));)n.add(i.key),i=i.parent}}),n}function vN(e,t,n,o){const r=zc(t,n,o,!1),i=zc(e,n,o,!0),a=gN(e,n),s=[];return r.forEach(l=>{(i.has(l)||a.has(l))&&s.push(l)}),s.forEach(l=>r.delete(l)),r}function Hd(e,t){const{checkedKeys:n,keysToCheck:o,keysToUncheck:r,indeterminateKeys:i,cascade:a,leafOnly:s,checkStrategy:l,allowNotLoaded:c}=e;if(!a)return o!==void 0?{checkedKeys:uN(n,o),indeterminateKeys:Array.from(i)}:r!==void 0?{checkedKeys:dN(n,r),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(n),indeterminateKeys:Array.from(i)};const{levelTreeNodeMap:u}=t;let d;r!==void 0?d=vN(r,n,t,c):o!==void 0?d=mN(o,n,t,c):d=zc(n,t,c,!1);const f=l==="parent",p=l==="child"||s,h=d,m=new Set,v=Math.max.apply(null,Array.from(u.keys()));for(let b=v;b>=0;b-=1){const w=b===0,C=u.get(b);for(const S of C){if(S.isLeaf)continue;const{key:_,shallowLoaded:x}=S;if(p&&x&&S.children.forEach(T=>{!T.disabled&&!T.isLeaf&&T.shallowLoaded&&h.has(T.key)&&h.delete(T.key)}),S.disabled||!x)continue;let y=!0,k=!1,P=!0;for(const T of S.children){const $=T.key;if(!T.disabled){if(P&&(P=!1),h.has($))k=!0;else if(m.has($)){k=!0,y=!1;break}else if(y=!1,k)break}}y&&!P?(f&&S.children.forEach(T=>{!T.disabled&&h.has(T.key)&&h.delete(T.key)}),h.add(_)):k&&m.add(_),w&&p&&h.has(_)&&h.delete(_)}}return{checkedKeys:Array.from(h),indeterminateKeys:Array.from(m)}}function zc(e,t,n,o){const{treeNodeMap:r,getChildren:i}=t,a=new Set,s=new Set(e);return e.forEach(l=>{const c=r.get(l);c!==void 0&&g_(c,u=>{if(u.disabled)return _h.STOP;const{key:d}=u;if(!a.has(d)&&(a.add(d),s.add(d),cN(u.rawNode,i))){if(o)return _h.STOP;if(!n)throw new pN}})}),s}function bN(e,{includeGroup:t=!1,includeSelf:n=!0},o){var r;const i=o.treeNodeMap;let a=e==null?null:(r=i.get(e))!==null&&r!==void 0?r:null;const s={keyPath:[],treeNodePath:[],treeNode:a};if(a!=null&&a.ignored)return s.treeNode=null,s;for(;a;)!a.ignored&&(t||!a.isGroup)&&s.treeNodePath.push(a),a=a.parent;return s.treeNodePath.reverse(),n||s.treeNodePath.pop(),s.keyPath=s.treeNodePath.map(l=>l.key),s}function yN(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function xN(e,t){const n=e.siblings,o=n.length,{index:r}=e;return t?n[(r+1)%o]:r===n.length-1?null:n[r+1]}function k0(e,t,{loop:n=!1,includeDisabled:o=!1}={}){const r=t==="prev"?CN:xN,i={reverse:t==="prev"};let a=!1,s=null;function l(c){if(c!==null){if(c===e){if(!a)a=!0;else if(!e.disabled&&!e.isGroup){s=e;return}}else if((!c.disabled||o)&&!c.ignored&&!c.isGroup){s=c;return}if(c.isGroup){const u=Qp(c,i);u!==null?s=u:l(r(c,n))}else{const u=r(c,!1);if(u!==null)l(u);else{const d=wN(c);d!=null&&d.isGroup?l(r(d,n)):n&&l(r(c,!0))}}}}return l(e),s}function CN(e,t){const n=e.siblings,o=n.length,{index:r}=e;return t?n[(r-1+o)%o]:r===0?null:n[r-1]}function wN(e){return e.parent}function Qp(e,t={}){const{reverse:n=!1}=t,{children:o}=e;if(o){const{length:r}=o,i=n?r-1:0,a=n?-1:r,s=n?-1:1;for(let l=i;l!==a;l+=s){const c=o[l];if(!c.disabled&&!c.ignored)if(c.isGroup){const u=Qp(c,t);if(u!==null)return u}else return c}}return null}const _N={getChild(){return this.ignored?null:Qp(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return k0(this,"next",e)},getPrev(e={}){return k0(this,"prev",e)}};function SN(e,t){const n=t?new Set(t):void 0,o=[];function r(i){i.forEach(a=>{o.push(a),!(a.isLeaf||!a.children||a.ignored)&&(a.isGroup||n===void 0||n.has(a.key))&&r(a.children)})}return r(e),o}function kN(e,t){const n=e.key;for(;t;){if(t.key===n)return!0;t=t.parent}return!1}function v_(e,t,n,o,r,i=null,a=0){const s=[];return e.forEach((l,c)=>{var u;const d=Object.create(o);if(d.rawNode=l,d.siblings=s,d.level=a,d.index=c,d.isFirstChild=c===0,d.isLastChild=c+1===e.length,d.parent=i,!d.ignored){const f=r(l);Array.isArray(f)&&(d.children=v_(f,t,n,o,r,d,a+1))}s.push(d),t.set(d.key,d),n.has(a)||n.set(a,[]),(u=n.get(a))===null||u===void 0||u.push(d)}),s}function wi(e,t={}){var n;const o=new Map,r=new Map,{getDisabled:i=lN,getIgnored:a=aN,getIsGroup:s=fN,getKey:l=iN}=t,c=(n=t.getChildren)!==null&&n!==void 0?n:rN,u=t.ignoreEmptyChildren?S=>{const _=c(S);return Array.isArray(_)?_.length?_:null:_}:c,d=Object.assign({get key(){return l(this.rawNode)},get disabled(){return i(this.rawNode)},get isGroup(){return s(this.rawNode)},get isLeaf(){return oN(this.rawNode,u)},get shallowLoaded(){return sN(this.rawNode,u)},get ignored(){return a(this.rawNode)},contains(S){return kN(this,S)}},_N),f=v_(e,o,r,d,u);function p(S){if(S==null)return null;const _=o.get(S);return _&&!_.isGroup&&!_.ignored?_:null}function h(S){if(S==null)return null;const _=o.get(S);return _&&!_.ignored?_:null}function m(S,_){const x=h(S);return x?x.getPrev(_):null}function v(S,_){const x=h(S);return x?x.getNext(_):null}function b(S){const _=h(S);return _?_.getParent():null}function w(S){const _=h(S);return _?_.getChild():null}const C={treeNodes:f,treeNodeMap:o,levelTreeNodeMap:r,maxLevel:Math.max(...r.keys()),getChildren:u,getFlattenedNodes(S){return SN(f,S)},getNode:p,getPrev:m,getNext:v,getParent:b,getChild:w,getFirstAvailableNode(){return yN(f)},getPath(S,_={}){return bN(S,_,C)},getCheckedKeys(S,_={}){const{cascade:x=!0,leafOnly:y=!1,checkStrategy:k="all",allowNotLoaded:P=!1}=_;return Hd({checkedKeys:Bd(S),indeterminateKeys:Nd(S),cascade:x,leafOnly:y,checkStrategy:k,allowNotLoaded:P},C)},check(S,_,x={}){const{cascade:y=!0,leafOnly:k=!1,checkStrategy:P="all",allowNotLoaded:T=!1}=x;return Hd({checkedKeys:Bd(_),indeterminateKeys:Nd(_),keysToCheck:S==null?[]:S0(S),cascade:y,leafOnly:k,checkStrategy:P,allowNotLoaded:T},C)},uncheck(S,_,x={}){const{cascade:y=!0,leafOnly:k=!1,checkStrategy:P="all",allowNotLoaded:T=!1}=x;return Hd({checkedKeys:Bd(_),indeterminateKeys:Nd(_),keysToUncheck:S==null?[]:S0(S),cascade:y,leafOnly:k,checkStrategy:P,allowNotLoaded:T},C)},getNonLeafKeys(S={}){return nN(f,S)}};return C}const Ye={neutralBase:"#000",neutralInvertBase:"#fff",neutralTextBase:"#fff",neutralPopover:"rgb(72, 72, 78)",neutralCard:"rgb(24, 24, 28)",neutralModal:"rgb(44, 44, 50)",neutralBody:"rgb(16, 16, 20)",alpha1:"0.9",alpha2:"0.82",alpha3:"0.52",alpha4:"0.38",alpha5:"0.28",alphaClose:"0.52",alphaDisabled:"0.38",alphaDisabledInput:"0.06",alphaPending:"0.09",alphaTablePending:"0.06",alphaTableStriped:"0.05",alphaPressed:"0.05",alphaAvatar:"0.18",alphaRail:"0.2",alphaProgressRail:"0.12",alphaBorder:"0.24",alphaDivider:"0.09",alphaInput:"0.1",alphaAction:"0.06",alphaTab:"0.04",alphaScrollbar:"0.2",alphaScrollbarHover:"0.3",alphaCode:"0.12",alphaTag:"0.2",primaryHover:"#7fe7c4",primaryDefault:"#63e2b7",primaryActive:"#5acea7",primarySuppl:"rgb(42, 148, 125)",infoHover:"#8acbec",infoDefault:"#70c0e8",infoActive:"#66afd3",infoSuppl:"rgb(56, 137, 197)",errorHover:"#e98b8b",errorDefault:"#e88080",errorActive:"#e57272",errorSuppl:"rgb(208, 58, 82)",warningHover:"#f5d599",warningDefault:"#f2c97d",warningActive:"#e6c260",warningSuppl:"rgb(240, 138, 0)",successHover:"#7fe7c4",successDefault:"#63e2b7",successActive:"#5acea7",successSuppl:"rgb(42, 148, 125)"},PN=jo(Ye.neutralBase),b_=jo(Ye.neutralInvertBase),TN="rgba("+b_.slice(0,3).join(", ")+", ";function Ot(e){return TN+String(e)+")"}function RN(e){const t=Array.from(b_);return t[3]=Number(e),et(PN,t)}const EN=Object.assign(Object.assign({name:"common"},co),{baseColor:Ye.neutralBase,primaryColor:Ye.primaryDefault,primaryColorHover:Ye.primaryHover,primaryColorPressed:Ye.primaryActive,primaryColorSuppl:Ye.primarySuppl,infoColor:Ye.infoDefault,infoColorHover:Ye.infoHover,infoColorPressed:Ye.infoActive,infoColorSuppl:Ye.infoSuppl,successColor:Ye.successDefault,successColorHover:Ye.successHover,successColorPressed:Ye.successActive,successColorSuppl:Ye.successSuppl,warningColor:Ye.warningDefault,warningColorHover:Ye.warningHover,warningColorPressed:Ye.warningActive,warningColorSuppl:Ye.warningSuppl,errorColor:Ye.errorDefault,errorColorHover:Ye.errorHover,errorColorPressed:Ye.errorActive,errorColorSuppl:Ye.errorSuppl,textColorBase:Ye.neutralTextBase,textColor1:Ot(Ye.alpha1),textColor2:Ot(Ye.alpha2),textColor3:Ot(Ye.alpha3),textColorDisabled:Ot(Ye.alpha4),placeholderColor:Ot(Ye.alpha4),placeholderColorDisabled:Ot(Ye.alpha5),iconColor:Ot(Ye.alpha4),iconColorDisabled:Ot(Ye.alpha5),iconColorHover:Ot(Number(Ye.alpha4)*1.25),iconColorPressed:Ot(Number(Ye.alpha4)*.8),opacity1:Ye.alpha1,opacity2:Ye.alpha2,opacity3:Ye.alpha3,opacity4:Ye.alpha4,opacity5:Ye.alpha5,dividerColor:Ot(Ye.alphaDivider),borderColor:Ot(Ye.alphaBorder),closeIconColorHover:Ot(Number(Ye.alphaClose)),closeIconColor:Ot(Number(Ye.alphaClose)),closeIconColorPressed:Ot(Number(Ye.alphaClose)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:Ot(Ye.alpha4),clearColorHover:un(Ot(Ye.alpha4),{alpha:1.25}),clearColorPressed:un(Ot(Ye.alpha4),{alpha:.8}),scrollbarColor:Ot(Ye.alphaScrollbar),scrollbarColorHover:Ot(Ye.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Ot(Ye.alphaProgressRail),railColor:Ot(Ye.alphaRail),popoverColor:Ye.neutralPopover,tableColor:Ye.neutralCard,cardColor:Ye.neutralCard,modalColor:Ye.neutralModal,bodyColor:Ye.neutralBody,tagColor:RN(Ye.alphaTag),avatarColor:Ot(Ye.alphaAvatar),invertedColor:Ye.neutralBase,inputColor:Ot(Ye.alphaInput),codeColor:Ot(Ye.alphaCode),tabColor:Ot(Ye.alphaTab),actionColor:Ot(Ye.alphaAction),tableHeaderColor:Ot(Ye.alphaAction),hoverColor:Ot(Ye.alphaPending),tableColorHover:Ot(Ye.alphaTablePending),tableColorStriped:Ot(Ye.alphaTableStriped),pressedColor:Ot(Ye.alphaPressed),opacityDisabled:Ye.alphaDisabled,inputColorDisabled:Ot(Ye.alphaDisabledInput),buttonColor2:"rgba(255, 255, 255, .08)",buttonColor2Hover:"rgba(255, 255, 255, .12)",buttonColor2Pressed:"rgba(255, 255, 255, .08)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),Ne=EN,lt={neutralBase:"#FFF",neutralInvertBase:"#000",neutralTextBase:"#000",neutralPopover:"#fff",neutralCard:"#fff",neutralModal:"#fff",neutralBody:"#fff",alpha1:"0.82",alpha2:"0.72",alpha3:"0.38",alpha4:"0.24",alpha5:"0.18",alphaClose:"0.6",alphaDisabled:"0.5",alphaDisabledInput:"0.02",alphaPending:"0.05",alphaTablePending:"0.02",alphaPressed:"0.07",alphaAvatar:"0.2",alphaRail:"0.14",alphaProgressRail:".08",alphaBorder:"0.12",alphaDivider:"0.06",alphaInput:"0",alphaAction:"0.02",alphaTab:"0.04",alphaScrollbar:"0.25",alphaScrollbarHover:"0.4",alphaCode:"0.05",alphaTag:"0.02",primaryHover:"#36ad6a",primaryDefault:"#18a058",primaryActive:"#0c7a43",primarySuppl:"#36ad6a",infoHover:"#4098fc",infoDefault:"#2080f0",infoActive:"#1060c9",infoSuppl:"#4098fc",errorHover:"#de576d",errorDefault:"#d03050",errorActive:"#ab1f3f",errorSuppl:"#de576d",warningHover:"#fcb040",warningDefault:"#f0a020",warningActive:"#c97c10",warningSuppl:"#fcb040",successHover:"#36ad6a",successDefault:"#18a058",successActive:"#0c7a43",successSuppl:"#36ad6a"},$N=jo(lt.neutralBase),y_=jo(lt.neutralInvertBase),AN="rgba("+y_.slice(0,3).join(", ")+", ";function P0(e){return AN+String(e)+")"}function Tn(e){const t=Array.from(y_);return t[3]=Number(e),et($N,t)}const IN=Object.assign(Object.assign({name:"common"},co),{baseColor:lt.neutralBase,primaryColor:lt.primaryDefault,primaryColorHover:lt.primaryHover,primaryColorPressed:lt.primaryActive,primaryColorSuppl:lt.primarySuppl,infoColor:lt.infoDefault,infoColorHover:lt.infoHover,infoColorPressed:lt.infoActive,infoColorSuppl:lt.infoSuppl,successColor:lt.successDefault,successColorHover:lt.successHover,successColorPressed:lt.successActive,successColorSuppl:lt.successSuppl,warningColor:lt.warningDefault,warningColorHover:lt.warningHover,warningColorPressed:lt.warningActive,warningColorSuppl:lt.warningSuppl,errorColor:lt.errorDefault,errorColorHover:lt.errorHover,errorColorPressed:lt.errorActive,errorColorSuppl:lt.errorSuppl,textColorBase:lt.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:Tn(lt.alpha4),placeholderColor:Tn(lt.alpha4),placeholderColorDisabled:Tn(lt.alpha5),iconColor:Tn(lt.alpha4),iconColorHover:un(Tn(lt.alpha4),{lightness:.75}),iconColorPressed:un(Tn(lt.alpha4),{lightness:.9}),iconColorDisabled:Tn(lt.alpha5),opacity1:lt.alpha1,opacity2:lt.alpha2,opacity3:lt.alpha3,opacity4:lt.alpha4,opacity5:lt.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:Tn(Number(lt.alphaClose)),closeIconColorHover:Tn(Number(lt.alphaClose)),closeIconColorPressed:Tn(Number(lt.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:Tn(lt.alpha4),clearColorHover:un(Tn(lt.alpha4),{lightness:.75}),clearColorPressed:un(Tn(lt.alpha4),{lightness:.9}),scrollbarColor:P0(lt.alphaScrollbar),scrollbarColorHover:P0(lt.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Tn(lt.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:lt.neutralPopover,tableColor:lt.neutralCard,cardColor:lt.neutralCard,modalColor:lt.neutralModal,bodyColor:lt.neutralBody,tagColor:"#eee",avatarColor:Tn(lt.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:Tn(lt.alphaInput),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:lt.alphaDisabled,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),bt=IN,ON={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"},x_=e=>{const{textColorDisabled:t,iconColor:n,textColor2:o,fontSizeSmall:r,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s}=e;return Object.assign(Object.assign({},ON),{fontSizeSmall:r,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s,textColor:t,iconColor:n,extraTextColor:o})},MN={name:"Empty",common:bt,self:x_},$u=MN,zN={name:"Empty",common:Ne,self:x_},ji=zN,DN=z("empty",` + `)])])]),Yd="1.6s",UN={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},ti=be({name:"BaseLoading",props:Object.assign({clsPrefix:{type:String,required:!0},show:{type:Boolean,default:!0},scale:{type:Number,default:1},radius:{type:Number,default:100}},UN),setup(e){ei("-base-loading",WN,We(e,"clsPrefix"))},render(){const{clsPrefix:e,radius:t,strokeWidth:n,stroke:o,scale:r}=this,i=t/r;return v("div",{class:`${e}-base-loading`,role:"img","aria-label":"loading"},v(Ui,null,{default:()=>this.show?v("div",{key:"icon",class:`${e}-base-loading__transition-wrapper`},v("div",{class:`${e}-base-loading__container`},v("svg",{class:`${e}-base-loading__icon`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},v("g",null,v("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};270 ${i} ${i}`,begin:"0s",dur:Yd,fill:"freeze",repeatCount:"indefinite"}),v("circle",{class:`${e}-base-loading__icon`,fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:i,cy:i,r:t-n/2,"stroke-dasharray":5.67*t,"stroke-dashoffset":18.48*t},v("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};135 ${i} ${i};450 ${i} ${i}`,begin:"0s",dur:Yd,fill:"freeze",repeatCount:"indefinite"}),v("animate",{attributeName:"stroke-dashoffset",values:`${5.67*t};${1.42*t};${5.67*t}`,begin:"0s",dur:Yd,fill:"freeze",repeatCount:"indefinite"})))))):v("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}});function H0(e){return Array.isArray(e)?e:[e]}const Dh={STOP:"STOP"};function V_(e,t){const n=t(e);e.children!==void 0&&n!==Dh.STOP&&e.children.forEach(o=>V_(o,t))}function qN(e,t={}){const{preserveGroup:n=!1}=t,o=[],r=n?a=>{a.isLeaf||(o.push(a.key),i(a.children))}:a=>{a.isLeaf||(a.isGroup||o.push(a.key),i(a.children))};function i(a){a.forEach(r)}return i(e),o}function KN(e,t){const{isLeaf:n}=e;return n!==void 0?n:!t(e)}function GN(e){return e.children}function YN(e){return e.key}function XN(){return!1}function ZN(e,t){const{isLeaf:n}=e;return!(n===!1&&!Array.isArray(t(e)))}function JN(e){return e.disabled===!0}function QN(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function Xd(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function Zd(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function eH(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)||n.add(o)}),Array.from(n)}function tH(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)&&n.delete(o)}),Array.from(n)}function nH(e){return(e==null?void 0:e.type)==="group"}function oH(e){const t=new Map;return e.forEach((n,o)=>{t.set(n.key,o)}),n=>{var o;return(o=t.get(n))!==null&&o!==void 0?o:null}}class rH extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function iH(e,t,n,o){return Fc(t.concat(e),n,o,!1)}function aH(e,t){const n=new Set;return e.forEach(o=>{const r=t.treeNodeMap.get(o);if(r!==void 0){let i=r.parent;for(;i!==null&&!(i.disabled||n.has(i.key));)n.add(i.key),i=i.parent}}),n}function sH(e,t,n,o){const r=Fc(t,n,o,!1),i=Fc(e,n,o,!0),a=aH(e,n),s=[];return r.forEach(l=>{(i.has(l)||a.has(l))&&s.push(l)}),s.forEach(l=>r.delete(l)),r}function Jd(e,t){const{checkedKeys:n,keysToCheck:o,keysToUncheck:r,indeterminateKeys:i,cascade:a,leafOnly:s,checkStrategy:l,allowNotLoaded:c}=e;if(!a)return o!==void 0?{checkedKeys:eH(n,o),indeterminateKeys:Array.from(i)}:r!==void 0?{checkedKeys:tH(n,r),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(n),indeterminateKeys:Array.from(i)};const{levelTreeNodeMap:u}=t;let d;r!==void 0?d=sH(r,n,t,c):o!==void 0?d=iH(o,n,t,c):d=Fc(n,t,c,!1);const f=l==="parent",h=l==="child"||s,p=d,g=new Set,m=Math.max.apply(null,Array.from(u.keys()));for(let b=m;b>=0;b-=1){const _=b===0,C=u.get(b);for(const S of C){if(S.isLeaf)continue;const{key:w,shallowLoaded:x}=S;if(h&&x&&S.children.forEach(T=>{!T.disabled&&!T.isLeaf&&T.shallowLoaded&&p.has(T.key)&&p.delete(T.key)}),S.disabled||!x)continue;let y=!0,P=!1,k=!0;for(const T of S.children){const E=T.key;if(!T.disabled){if(k&&(k=!1),p.has(E))P=!0;else if(g.has(E)){P=!0,y=!1;break}else if(y=!1,P)break}}y&&!k?(f&&S.children.forEach(T=>{!T.disabled&&p.has(T.key)&&p.delete(T.key)}),p.add(w)):P&&g.add(w),_&&h&&p.has(w)&&p.delete(w)}}return{checkedKeys:Array.from(p),indeterminateKeys:Array.from(g)}}function Fc(e,t,n,o){const{treeNodeMap:r,getChildren:i}=t,a=new Set,s=new Set(e);return e.forEach(l=>{const c=r.get(l);c!==void 0&&V_(c,u=>{if(u.disabled)return Dh.STOP;const{key:d}=u;if(!a.has(d)&&(a.add(d),s.add(d),QN(u.rawNode,i))){if(o)return Dh.STOP;if(!n)throw new rH}})}),s}function lH(e,{includeGroup:t=!1,includeSelf:n=!0},o){var r;const i=o.treeNodeMap;let a=e==null?null:(r=i.get(e))!==null&&r!==void 0?r:null;const s={keyPath:[],treeNodePath:[],treeNode:a};if(a!=null&&a.ignored)return s.treeNode=null,s;for(;a;)!a.ignored&&(t||!a.isGroup)&&s.treeNodePath.push(a),a=a.parent;return s.treeNodePath.reverse(),n||s.treeNodePath.pop(),s.keyPath=s.treeNodePath.map(l=>l.key),s}function cH(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function uH(e,t){const n=e.siblings,o=n.length,{index:r}=e;return t?n[(r+1)%o]:r===n.length-1?null:n[r+1]}function j0(e,t,{loop:n=!1,includeDisabled:o=!1}={}){const r=t==="prev"?dH:uH,i={reverse:t==="prev"};let a=!1,s=null;function l(c){if(c!==null){if(c===e){if(!a)a=!0;else if(!e.disabled&&!e.isGroup){s=e;return}}else if((!c.disabled||o)&&!c.ignored&&!c.isGroup){s=c;return}if(c.isGroup){const u=hm(c,i);u!==null?s=u:l(r(c,n))}else{const u=r(c,!1);if(u!==null)l(u);else{const d=fH(c);d!=null&&d.isGroup?l(r(d,n)):n&&l(r(c,!0))}}}}return l(e),s}function dH(e,t){const n=e.siblings,o=n.length,{index:r}=e;return t?n[(r-1+o)%o]:r===0?null:n[r-1]}function fH(e){return e.parent}function hm(e,t={}){const{reverse:n=!1}=t,{children:o}=e;if(o){const{length:r}=o,i=n?r-1:0,a=n?-1:r,s=n?-1:1;for(let l=i;l!==a;l+=s){const c=o[l];if(!c.disabled&&!c.ignored)if(c.isGroup){const u=hm(c,t);if(u!==null)return u}else return c}}return null}const hH={getChild(){return this.ignored?null:hm(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return j0(this,"next",e)},getPrev(e={}){return j0(this,"prev",e)}};function pH(e,t){const n=t?new Set(t):void 0,o=[];function r(i){i.forEach(a=>{o.push(a),!(a.isLeaf||!a.children||a.ignored)&&(a.isGroup||n===void 0||n.has(a.key))&&r(a.children)})}return r(e),o}function mH(e,t){const n=e.key;for(;t;){if(t.key===n)return!0;t=t.parent}return!1}function W_(e,t,n,o,r,i=null,a=0){const s=[];return e.forEach((l,c)=>{var u;const d=Object.create(o);if(d.rawNode=l,d.siblings=s,d.level=a,d.index=c,d.isFirstChild=c===0,d.isLastChild=c+1===e.length,d.parent=i,!d.ignored){const f=r(l);Array.isArray(f)&&(d.children=W_(f,t,n,o,r,d,a+1))}s.push(d),t.set(d.key,d),n.has(a)||n.set(a,[]),(u=n.get(a))===null||u===void 0||u.push(d)}),s}function Pi(e,t={}){var n;const o=new Map,r=new Map,{getDisabled:i=JN,getIgnored:a=XN,getIsGroup:s=nH,getKey:l=YN}=t,c=(n=t.getChildren)!==null&&n!==void 0?n:GN,u=t.ignoreEmptyChildren?S=>{const w=c(S);return Array.isArray(w)?w.length?w:null:w}:c,d=Object.assign({get key(){return l(this.rawNode)},get disabled(){return i(this.rawNode)},get isGroup(){return s(this.rawNode)},get isLeaf(){return KN(this.rawNode,u)},get shallowLoaded(){return ZN(this.rawNode,u)},get ignored(){return a(this.rawNode)},contains(S){return mH(this,S)}},hH),f=W_(e,o,r,d,u);function h(S){if(S==null)return null;const w=o.get(S);return w&&!w.isGroup&&!w.ignored?w:null}function p(S){if(S==null)return null;const w=o.get(S);return w&&!w.ignored?w:null}function g(S,w){const x=p(S);return x?x.getPrev(w):null}function m(S,w){const x=p(S);return x?x.getNext(w):null}function b(S){const w=p(S);return w?w.getParent():null}function _(S){const w=p(S);return w?w.getChild():null}const C={treeNodes:f,treeNodeMap:o,levelTreeNodeMap:r,maxLevel:Math.max(...r.keys()),getChildren:u,getFlattenedNodes(S){return pH(f,S)},getNode:h,getPrev:g,getNext:m,getParent:b,getChild:_,getFirstAvailableNode(){return cH(f)},getPath(S,w={}){return lH(S,w,C)},getCheckedKeys(S,w={}){const{cascade:x=!0,leafOnly:y=!1,checkStrategy:P="all",allowNotLoaded:k=!1}=w;return Jd({checkedKeys:Xd(S),indeterminateKeys:Zd(S),cascade:x,leafOnly:y,checkStrategy:P,allowNotLoaded:k},C)},check(S,w,x={}){const{cascade:y=!0,leafOnly:P=!1,checkStrategy:k="all",allowNotLoaded:T=!1}=x;return Jd({checkedKeys:Xd(w),indeterminateKeys:Zd(w),keysToCheck:S==null?[]:H0(S),cascade:y,leafOnly:P,checkStrategy:k,allowNotLoaded:T},C)},uncheck(S,w,x={}){const{cascade:y=!0,leafOnly:P=!1,checkStrategy:k="all",allowNotLoaded:T=!1}=x;return Jd({checkedKeys:Xd(w),indeterminateKeys:Zd(w),keysToUncheck:S==null?[]:H0(S),cascade:y,leafOnly:P,checkStrategy:k,allowNotLoaded:T},C)},getNonLeafKeys(S={}){return qN(f,S)}};return C}const Xe={neutralBase:"#000",neutralInvertBase:"#fff",neutralTextBase:"#fff",neutralPopover:"rgb(72, 72, 78)",neutralCard:"rgb(24, 24, 28)",neutralModal:"rgb(44, 44, 50)",neutralBody:"rgb(16, 16, 20)",alpha1:"0.9",alpha2:"0.82",alpha3:"0.52",alpha4:"0.38",alpha5:"0.28",alphaClose:"0.52",alphaDisabled:"0.38",alphaDisabledInput:"0.06",alphaPending:"0.09",alphaTablePending:"0.06",alphaTableStriped:"0.05",alphaPressed:"0.05",alphaAvatar:"0.18",alphaRail:"0.2",alphaProgressRail:"0.12",alphaBorder:"0.24",alphaDivider:"0.09",alphaInput:"0.1",alphaAction:"0.06",alphaTab:"0.04",alphaScrollbar:"0.2",alphaScrollbarHover:"0.3",alphaCode:"0.12",alphaTag:"0.2",primaryHover:"#7fe7c4",primaryDefault:"#63e2b7",primaryActive:"#5acea7",primarySuppl:"rgb(42, 148, 125)",infoHover:"#8acbec",infoDefault:"#70c0e8",infoActive:"#66afd3",infoSuppl:"rgb(56, 137, 197)",errorHover:"#e98b8b",errorDefault:"#e88080",errorActive:"#e57272",errorSuppl:"rgb(208, 58, 82)",warningHover:"#f5d599",warningDefault:"#f2c97d",warningActive:"#e6c260",warningSuppl:"rgb(240, 138, 0)",successHover:"#7fe7c4",successDefault:"#63e2b7",successActive:"#5acea7",successSuppl:"rgb(42, 148, 125)"},gH=Uo(Xe.neutralBase),U_=Uo(Xe.neutralInvertBase),vH=`rgba(${U_.slice(0,3).join(", ")}, `;function Ot(e){return`${vH+String(e)})`}function bH(e){const t=Array.from(U_);return t[3]=Number(e),Ge(gH,t)}const yH=Object.assign(Object.assign({name:"common"},po),{baseColor:Xe.neutralBase,primaryColor:Xe.primaryDefault,primaryColorHover:Xe.primaryHover,primaryColorPressed:Xe.primaryActive,primaryColorSuppl:Xe.primarySuppl,infoColor:Xe.infoDefault,infoColorHover:Xe.infoHover,infoColorPressed:Xe.infoActive,infoColorSuppl:Xe.infoSuppl,successColor:Xe.successDefault,successColorHover:Xe.successHover,successColorPressed:Xe.successActive,successColorSuppl:Xe.successSuppl,warningColor:Xe.warningDefault,warningColorHover:Xe.warningHover,warningColorPressed:Xe.warningActive,warningColorSuppl:Xe.warningSuppl,errorColor:Xe.errorDefault,errorColorHover:Xe.errorHover,errorColorPressed:Xe.errorActive,errorColorSuppl:Xe.errorSuppl,textColorBase:Xe.neutralTextBase,textColor1:Ot(Xe.alpha1),textColor2:Ot(Xe.alpha2),textColor3:Ot(Xe.alpha3),textColorDisabled:Ot(Xe.alpha4),placeholderColor:Ot(Xe.alpha4),placeholderColorDisabled:Ot(Xe.alpha5),iconColor:Ot(Xe.alpha4),iconColorDisabled:Ot(Xe.alpha5),iconColorHover:Ot(Number(Xe.alpha4)*1.25),iconColorPressed:Ot(Number(Xe.alpha4)*.8),opacity1:Xe.alpha1,opacity2:Xe.alpha2,opacity3:Xe.alpha3,opacity4:Xe.alpha4,opacity5:Xe.alpha5,dividerColor:Ot(Xe.alphaDivider),borderColor:Ot(Xe.alphaBorder),closeIconColorHover:Ot(Number(Xe.alphaClose)),closeIconColor:Ot(Number(Xe.alphaClose)),closeIconColorPressed:Ot(Number(Xe.alphaClose)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:Ot(Xe.alpha4),clearColorHover:un(Ot(Xe.alpha4),{alpha:1.25}),clearColorPressed:un(Ot(Xe.alpha4),{alpha:.8}),scrollbarColor:Ot(Xe.alphaScrollbar),scrollbarColorHover:Ot(Xe.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Ot(Xe.alphaProgressRail),railColor:Ot(Xe.alphaRail),popoverColor:Xe.neutralPopover,tableColor:Xe.neutralCard,cardColor:Xe.neutralCard,modalColor:Xe.neutralModal,bodyColor:Xe.neutralBody,tagColor:bH(Xe.alphaTag),avatarColor:Ot(Xe.alphaAvatar),invertedColor:Xe.neutralBase,inputColor:Ot(Xe.alphaInput),codeColor:Ot(Xe.alphaCode),tabColor:Ot(Xe.alphaTab),actionColor:Ot(Xe.alphaAction),tableHeaderColor:Ot(Xe.alphaAction),hoverColor:Ot(Xe.alphaPending),tableColorHover:Ot(Xe.alphaTablePending),tableColorStriped:Ot(Xe.alphaTableStriped),pressedColor:Ot(Xe.alphaPressed),opacityDisabled:Xe.alphaDisabled,inputColorDisabled:Ot(Xe.alphaDisabledInput),buttonColor2:"rgba(255, 255, 255, .08)",buttonColor2Hover:"rgba(255, 255, 255, .12)",buttonColor2Pressed:"rgba(255, 255, 255, .08)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),je=yH,lt={neutralBase:"#FFF",neutralInvertBase:"#000",neutralTextBase:"#000",neutralPopover:"#fff",neutralCard:"#fff",neutralModal:"#fff",neutralBody:"#fff",alpha1:"0.82",alpha2:"0.72",alpha3:"0.38",alpha4:"0.24",alpha5:"0.18",alphaClose:"0.6",alphaDisabled:"0.5",alphaDisabledInput:"0.02",alphaPending:"0.05",alphaTablePending:"0.02",alphaPressed:"0.07",alphaAvatar:"0.2",alphaRail:"0.14",alphaProgressRail:".08",alphaBorder:"0.12",alphaDivider:"0.06",alphaInput:"0",alphaAction:"0.02",alphaTab:"0.04",alphaScrollbar:"0.25",alphaScrollbarHover:"0.4",alphaCode:"0.05",alphaTag:"0.02",primaryHover:"#36ad6a",primaryDefault:"#18a058",primaryActive:"#0c7a43",primarySuppl:"#36ad6a",infoHover:"#4098fc",infoDefault:"#2080f0",infoActive:"#1060c9",infoSuppl:"#4098fc",errorHover:"#de576d",errorDefault:"#d03050",errorActive:"#ab1f3f",errorSuppl:"#de576d",warningHover:"#fcb040",warningDefault:"#f0a020",warningActive:"#c97c10",warningSuppl:"#fcb040",successHover:"#36ad6a",successDefault:"#18a058",successActive:"#0c7a43",successSuppl:"#36ad6a"},xH=Uo(lt.neutralBase),q_=Uo(lt.neutralInvertBase),CH=`rgba(${q_.slice(0,3).join(", ")}, `;function V0(e){return`${CH+String(e)})`}function Rn(e){const t=Array.from(q_);return t[3]=Number(e),Ge(xH,t)}const wH=Object.assign(Object.assign({name:"common"},po),{baseColor:lt.neutralBase,primaryColor:lt.primaryDefault,primaryColorHover:lt.primaryHover,primaryColorPressed:lt.primaryActive,primaryColorSuppl:lt.primarySuppl,infoColor:lt.infoDefault,infoColorHover:lt.infoHover,infoColorPressed:lt.infoActive,infoColorSuppl:lt.infoSuppl,successColor:lt.successDefault,successColorHover:lt.successHover,successColorPressed:lt.successActive,successColorSuppl:lt.successSuppl,warningColor:lt.warningDefault,warningColorHover:lt.warningHover,warningColorPressed:lt.warningActive,warningColorSuppl:lt.warningSuppl,errorColor:lt.errorDefault,errorColorHover:lt.errorHover,errorColorPressed:lt.errorActive,errorColorSuppl:lt.errorSuppl,textColorBase:lt.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:Rn(lt.alpha4),placeholderColor:Rn(lt.alpha4),placeholderColorDisabled:Rn(lt.alpha5),iconColor:Rn(lt.alpha4),iconColorHover:un(Rn(lt.alpha4),{lightness:.75}),iconColorPressed:un(Rn(lt.alpha4),{lightness:.9}),iconColorDisabled:Rn(lt.alpha5),opacity1:lt.alpha1,opacity2:lt.alpha2,opacity3:lt.alpha3,opacity4:lt.alpha4,opacity5:lt.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:Rn(Number(lt.alphaClose)),closeIconColorHover:Rn(Number(lt.alphaClose)),closeIconColorPressed:Rn(Number(lt.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:Rn(lt.alpha4),clearColorHover:un(Rn(lt.alpha4),{lightness:.75}),clearColorPressed:un(Rn(lt.alpha4),{lightness:.9}),scrollbarColor:V0(lt.alphaScrollbar),scrollbarColorHover:V0(lt.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Rn(lt.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:lt.neutralPopover,tableColor:lt.neutralCard,cardColor:lt.neutralCard,modalColor:lt.neutralModal,bodyColor:lt.neutralBody,tagColor:"#eee",avatarColor:Rn(lt.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:Rn(lt.alphaInput),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:lt.alphaDisabled,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),xt=wH,_H={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"};function K_(e){const{textColorDisabled:t,iconColor:n,textColor2:o,fontSizeSmall:r,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s}=e;return Object.assign(Object.assign({},_H),{fontSizeSmall:r,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s,textColor:t,iconColor:n,extraTextColor:o})}const SH={name:"Empty",common:xt,self:K_},Mu=SH,kH={name:"Empty",common:je,self:K_},Ki=kH,PH=z("empty",` display: flex; flex-direction: column; align-items: center; @@ -189,7 +189,7 @@ ${t} transition: color .3s var(--n-bezier); margin-top: 12px; color: var(--n-extra-text-color); - `)]),LN=Object.assign(Object.assign({},Be.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function}),C_=ve({name:"Empty",props:LN,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Empty","-empty",DN,$u,e,t),{localeRef:r}=Di("Empty"),i=We(ko,null),a=L(()=>{var u,d,f;return(u=e.description)!==null&&u!==void 0?u:(f=(d=i==null?void 0:i.mergedComponentPropsRef.value)===null||d===void 0?void 0:d.Empty)===null||f===void 0?void 0:f.description}),s=L(()=>{var u,d;return((d=(u=i==null?void 0:i.mergedComponentPropsRef.value)===null||u===void 0?void 0:u.Empty)===null||d===void 0?void 0:d.renderIcon)||(()=>g(UB,null))}),l=L(()=>{const{size:u}=e,{common:{cubicBezierEaseInOut:d},self:{[Te("iconSize",u)]:f,[Te("fontSize",u)]:p,textColor:h,iconColor:m,extraTextColor:v}}=o.value;return{"--n-icon-size":f,"--n-font-size":p,"--n-bezier":d,"--n-text-color":h,"--n-icon-color":m,"--n-extra-text-color":v}}),c=n?kt("empty",L(()=>{let u="";const{size:d}=e;return u+=d[0],u}),l,e):void 0;return{mergedClsPrefix:t,mergedRenderIcon:s,localizedDescription:L(()=>a.value||r.value.description),cssVars:n?void 0:l,themeClass:c==null?void 0:c.themeClass,onRender:c==null?void 0:c.onRender}},render(){const{$slots:e,mergedClsPrefix:t,onRender:n}=this;return n==null||n(),g("div",{class:[`${t}-empty`,this.themeClass],style:this.cssVars},this.showIcon?g("div",{class:`${t}-empty__icon`},e.icon?e.icon():g(Ut,{clsPrefix:t},{default:this.mergedRenderIcon})):null,this.showDescription?g("div",{class:`${t}-empty__description`},e.default?e.default():this.localizedDescription):null,e.extra?g("div",{class:`${t}-empty__extra`},e.extra()):null)}}),w_=e=>{const{scrollbarColor:t,scrollbarColorHover:n}=e;return{color:t,colorHover:n}},FN={name:"Scrollbar",common:bt,self:w_},Vi=FN,BN={name:"Scrollbar",common:Ne,self:w_},Vn=BN,{cubicBezierEaseInOut:T0}=co;function cl({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:n="0.2s",enterCubicBezier:o=T0,leaveCubicBezier:r=T0}={}){return[q(`&.${e}-transition-enter-active`,{transition:`all ${t} ${o}!important`}),q(`&.${e}-transition-leave-active`,{transition:`all ${n} ${r}!important`}),q(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),q(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}const NN=z("scrollbar",` + `)]),TH=Object.assign(Object.assign({},Be.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function}),G_=be({name:"Empty",props:TH,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Empty","-empty",PH,Mu,e,t),{localeRef:r}=Hi("Empty"),i=Ue(Eo,null),a=F(()=>{var u,d,f;return(u=e.description)!==null&&u!==void 0?u:(f=(d=i==null?void 0:i.mergedComponentPropsRef.value)===null||d===void 0?void 0:d.Empty)===null||f===void 0?void 0:f.description}),s=F(()=>{var u,d;return((d=(u=i==null?void 0:i.mergedComponentPropsRef.value)===null||u===void 0?void 0:u.Empty)===null||d===void 0?void 0:d.renderIcon)||(()=>v(zN,null))}),l=F(()=>{const{size:u}=e,{common:{cubicBezierEaseInOut:d},self:{[Re("iconSize",u)]:f,[Re("fontSize",u)]:h,textColor:p,iconColor:g,extraTextColor:m}}=o.value;return{"--n-icon-size":f,"--n-font-size":h,"--n-bezier":d,"--n-text-color":p,"--n-icon-color":g,"--n-extra-text-color":m}}),c=n?Pt("empty",F(()=>{let u="";const{size:d}=e;return u+=d[0],u}),l,e):void 0;return{mergedClsPrefix:t,mergedRenderIcon:s,localizedDescription:F(()=>a.value||r.value.description),cssVars:n?void 0:l,themeClass:c==null?void 0:c.themeClass,onRender:c==null?void 0:c.onRender}},render(){const{$slots:e,mergedClsPrefix:t,onRender:n}=this;return n==null||n(),v("div",{class:[`${t}-empty`,this.themeClass],style:this.cssVars},this.showIcon?v("div",{class:`${t}-empty__icon`},e.icon?e.icon():v(Ut,{clsPrefix:t},{default:this.mergedRenderIcon})):null,this.showDescription?v("div",{class:`${t}-empty__description`},e.default?e.default():this.localizedDescription):null,e.extra?v("div",{class:`${t}-empty__extra`},e.extra()):null)}}),RH={railInsetHorizontal:"auto 2px 4px 2px",railInsetVertical:"2px 4px 2px auto",railColor:"transparent"};function Y_(e){const{scrollbarColor:t,scrollbarColorHover:n,scrollbarHeight:o,scrollbarWidth:r,scrollbarBorderRadius:i}=e;return Object.assign(Object.assign({},RH),{height:o,width:r,borderRadius:i,color:t,colorHover:n})}const EH={name:"Scrollbar",common:xt,self:Y_},Gi=EH,$H={name:"Scrollbar",common:je,self:Y_},Vn=$H,{cubicBezierEaseInOut:W0}=po;function dl({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:n="0.2s",enterCubicBezier:o=W0,leaveCubicBezier:r=W0}={}){return[q(`&.${e}-transition-enter-active`,{transition:`all ${t} ${o}!important`}),q(`&.${e}-transition-leave-active`,{transition:`all ${n} ${r}!important`}),q(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),q(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}const AH=z("scrollbar",` overflow: hidden; position: relative; z-index: auto; @@ -213,20 +213,17 @@ ${t} position: absolute; pointer-events: none; user-select: none; + background: var(--n-scrollbar-rail-color); -webkit-user-select: none; `,[Z("horizontal",` - left: 2px; - right: 2px; - bottom: 4px; + inset: var(--n-scrollbar-rail-inset-horizontal); height: var(--n-scrollbar-height); `,[q(">",[V("scrollbar",` height: var(--n-scrollbar-height); border-radius: var(--n-scrollbar-border-radius); right: 0; `)])]),Z("vertical",` - right: 4px; - top: 2px; - bottom: 2px; + inset: var(--n-scrollbar-rail-inset-vertical); width: var(--n-scrollbar-width); `,[q(">",[V("scrollbar",` width: var(--n-scrollbar-width); @@ -239,7 +236,7 @@ ${t} pointer-events: all; background-color: var(--n-scrollbar-color); transition: background-color .2s var(--n-scrollbar-bezier); - `,[cl(),q("&:hover","background-color: var(--n-scrollbar-color-hover);")])])])])]),HN=Object.assign(Object.assign({},Be.props),{size:{type:Number,default:5},duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean}),__=ve({name:"Scrollbar",props:HN,inheritAttrs:!1,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=st(e),r=pn("Scrollbar",o,t),i=W(null),a=W(null),s=W(null),l=W(null),c=W(null),u=W(null),d=W(null),f=W(null),p=W(null),h=W(null),m=W(null),v=W(0),b=W(0),w=W(!1),C=W(!1);let S=!1,_=!1,x,y,k=0,P=0,T=0,$=0;const R=H6(),K=L(()=>{const{value:X}=f,{value:ge}=u,{value:$e}=h;return X===null||ge===null||$e===null?0:Math.min(X,$e*X/ge+e.size*1.5)}),j=L(()=>`${K.value}px`),D=L(()=>{const{value:X}=p,{value:ge}=d,{value:$e}=m;return X===null||ge===null||$e===null?0:$e*X/ge+e.size*1.5}),M=L(()=>`${D.value}px`),Y=L(()=>{const{value:X}=f,{value:ge}=v,{value:$e}=u,{value:Ke}=h;if(X===null||$e===null||Ke===null)return 0;{const Xe=$e-X;return Xe?ge/Xe*(Ke-K.value):0}}),Q=L(()=>`${Y.value}px`),de=L(()=>{const{value:X}=p,{value:ge}=b,{value:$e}=d,{value:Ke}=m;if(X===null||$e===null||Ke===null)return 0;{const Xe=$e-X;return Xe?ge/Xe*(Ke-D.value):0}}),pe=L(()=>`${de.value}px`),B=L(()=>{const{value:X}=f,{value:ge}=u;return X!==null&&ge!==null&&ge>X}),E=L(()=>{const{value:X}=p,{value:ge}=d;return X!==null&&ge!==null&&ge>X}),A=L(()=>{const{trigger:X}=e;return X==="none"||w.value}),G=L(()=>{const{trigger:X}=e;return X==="none"||C.value}),oe=L(()=>{const{container:X}=e;return X?X():a.value}),fe=L(()=>{const{content:X}=e;return X?X():s.value}),J=Bp(()=>{e.container||be({top:v.value,left:b.value})}),xe=()=>{J.isDeactivated||ae()},N=X=>{if(J.isDeactivated)return;const{onResize:ge}=e;ge&&ge(X),ae()},be=(X,ge)=>{if(!e.scrollable)return;if(typeof X=="number"){Le(X,ge??0,0,!1,"auto");return}const{left:$e,top:Ke,index:Xe,elSize:Ze,position:tt,behavior:it,el:yt,debounce:on=!0}=X;($e!==void 0||Ke!==void 0)&&Le($e??0,Ke??0,0,!1,it),yt!==void 0?Le(0,yt.offsetTop,yt.offsetHeight,on,it):Xe!==void 0&&Ze!==void 0?Le(0,Xe*Ze,Ze,on,it):tt==="bottom"?Le(0,Number.MAX_SAFE_INTEGER,0,!1,it):tt==="top"&&Le(0,0,0,!1,it)},Oe=(X,ge)=>{if(!e.scrollable)return;const{value:$e}=oe;$e&&(typeof X=="object"?$e.scrollBy(X):$e.scrollBy(X,ge||0))};function Le(X,ge,$e,Ke,Xe){const{value:Ze}=oe;if(Ze){if(Ke){const{scrollTop:tt,offsetHeight:it}=Ze;if(ge>tt){ge+$e<=tt+it||Ze.scrollTo({left:X,top:ge+$e-it,behavior:Xe});return}}Ze.scrollTo({left:X,top:ge,behavior:Xe})}}function F(){ye(),Pe(),ae()}function O(){re()}function re(){_e(),ee()}function _e(){y!==void 0&&window.clearTimeout(y),y=window.setTimeout(()=>{C.value=!1},e.duration)}function ee(){x!==void 0&&window.clearTimeout(x),x=window.setTimeout(()=>{w.value=!1},e.duration)}function ye(){x!==void 0&&window.clearTimeout(x),w.value=!0}function Pe(){y!==void 0&&window.clearTimeout(y),C.value=!0}function I(X){const{onScroll:ge}=e;ge&&ge(X),H()}function H(){const{value:X}=oe;X&&(v.value=X.scrollTop,b.value=X.scrollLeft*(r!=null&&r.value?-1:1))}function te(){const{value:X}=fe;X&&(u.value=X.offsetHeight,d.value=X.offsetWidth);const{value:ge}=oe;ge&&(f.value=ge.offsetHeight,p.value=ge.offsetWidth);const{value:$e}=c,{value:Ke}=l;$e&&(m.value=$e.offsetWidth),Ke&&(h.value=Ke.offsetHeight)}function Ce(){const{value:X}=oe;X&&(v.value=X.scrollTop,b.value=X.scrollLeft*(r!=null&&r.value?-1:1),f.value=X.offsetHeight,p.value=X.offsetWidth,u.value=X.scrollHeight,d.value=X.scrollWidth);const{value:ge}=c,{value:$e}=l;ge&&(m.value=ge.offsetWidth),$e&&(h.value=$e.offsetHeight)}function ae(){e.scrollable&&(e.useUnifiedContainer?Ce():(te(),H()))}function he(X){var ge;return!(!((ge=i.value)===null||ge===void 0)&&ge.contains(ki(X)))}function ne(X){X.preventDefault(),X.stopPropagation(),_=!0,It("mousemove",window,ue,!0),It("mouseup",window,De,!0),P=b.value,T=r!=null&&r.value?window.innerWidth-X.clientX:X.clientX}function ue(X){if(!_)return;x!==void 0&&window.clearTimeout(x),y!==void 0&&window.clearTimeout(y);const{value:ge}=p,{value:$e}=d,{value:Ke}=D;if(ge===null||$e===null)return;const Ze=(r!=null&&r.value?window.innerWidth-X.clientX-T:X.clientX-T)*($e-ge)/(ge-Ke),tt=$e-ge;let it=P+Ze;it=Math.min(tt,it),it=Math.max(it,0);const{value:yt}=oe;if(yt){yt.scrollLeft=it*(r!=null&&r.value?-1:1);const{internalOnUpdateScrollLeft:on}=e;on&&on(it)}}function De(X){X.preventDefault(),X.stopPropagation(),Pt("mousemove",window,ue,!0),Pt("mouseup",window,De,!0),_=!1,ae(),he(X)&&re()}function Ue(X){X.preventDefault(),X.stopPropagation(),S=!0,It("mousemove",window,ke,!0),It("mouseup",window,Fe,!0),k=v.value,$=X.clientY}function ke(X){if(!S)return;x!==void 0&&window.clearTimeout(x),y!==void 0&&window.clearTimeout(y);const{value:ge}=f,{value:$e}=u,{value:Ke}=K;if(ge===null||$e===null)return;const Ze=(X.clientY-$)*($e-ge)/(ge-Ke),tt=$e-ge;let it=k+Ze;it=Math.min(tt,it),it=Math.max(it,0);const{value:yt}=oe;yt&&(yt.scrollTop=it)}function Fe(X){X.preventDefault(),X.stopPropagation(),Pt("mousemove",window,ke,!0),Pt("mouseup",window,Fe,!0),S=!1,ae(),he(X)&&re()}Xt(()=>{const{value:X}=E,{value:ge}=B,{value:$e}=t,{value:Ke}=c,{value:Xe}=l;Ke&&(X?Ke.classList.remove(`${$e}-scrollbar-rail--disabled`):Ke.classList.add(`${$e}-scrollbar-rail--disabled`)),Xe&&(ge?Xe.classList.remove(`${$e}-scrollbar-rail--disabled`):Xe.classList.add(`${$e}-scrollbar-rail--disabled`))}),jt(()=>{e.container||ae()}),rn(()=>{x!==void 0&&window.clearTimeout(x),y!==void 0&&window.clearTimeout(y),Pt("mousemove",window,ke,!0),Pt("mouseup",window,Fe,!0)});const je=Be("Scrollbar","-scrollbar",NN,Vi,e,t),Ae=L(()=>{const{common:{cubicBezierEaseInOut:X,scrollbarBorderRadius:ge,scrollbarHeight:$e,scrollbarWidth:Ke},self:{color:Xe,colorHover:Ze}}=je.value;return{"--n-scrollbar-bezier":X,"--n-scrollbar-color":Xe,"--n-scrollbar-color-hover":Ze,"--n-scrollbar-border-radius":ge,"--n-scrollbar-width":Ke,"--n-scrollbar-height":$e}}),Je=n?kt("scrollbar",void 0,Ae,e):void 0;return Object.assign(Object.assign({},{scrollTo:be,scrollBy:Oe,sync:ae,syncUnifiedContainer:Ce,handleMouseEnterWrapper:F,handleMouseLeaveWrapper:O}),{mergedClsPrefix:t,rtlEnabled:r,containerScrollTop:v,wrapperRef:i,containerRef:a,contentRef:s,yRailRef:l,xRailRef:c,needYBar:B,needXBar:E,yBarSizePx:j,xBarSizePx:M,yBarTopPx:Q,xBarLeftPx:pe,isShowXBar:A,isShowYBar:G,isIos:R,handleScroll:I,handleContentResize:xe,handleContainerResize:N,handleYScrollMouseDown:Ue,handleXScrollMouseDown:ne,cssVars:n?void 0:Ae,themeClass:Je==null?void 0:Je.themeClass,onRender:Je==null?void 0:Je.onRender})},render(){var e;const{$slots:t,mergedClsPrefix:n,triggerDisplayManually:o,rtlEnabled:r,internalHoistYRail:i}=this;if(!this.scrollable)return(e=t.default)===null||e===void 0?void 0:e.call(t);const a=this.trigger==="none",s=(u,d)=>g("div",{ref:"yRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--vertical`,u],"data-scrollbar-rail":!0,style:[d||"",this.verticalRailStyle],"aria-hidden":!0},g(a?ah:fn,a?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?g("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),l=()=>{var u,d;return(u=this.onRender)===null||u===void 0||u.call(this),g("div",Ln(this.$attrs,{role:"none",ref:"wrapperRef",class:[`${n}-scrollbar`,this.themeClass,r&&`${n}-scrollbar--rtl`],style:this.cssVars,onMouseenter:o?void 0:this.handleMouseEnterWrapper,onMouseleave:o?void 0:this.handleMouseLeaveWrapper}),[this.container?(d=t.default)===null||d===void 0?void 0:d.call(t):g("div",{role:"none",ref:"containerRef",class:[`${n}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},g(sr,{onResize:this.handleContentResize},{default:()=>g("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${n}-scrollbar-content`,this.contentClass]},t)})),i?null:s(void 0,void 0),this.xScrollable&&g("div",{ref:"xRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--horizontal`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},g(a?ah:fn,a?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?g("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,right:r?this.xBarLeftPx:void 0,left:r?void 0:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])},c=this.container?l():g(sr,{onResize:this.handleContainerResize},{default:l});return i?g(rt,null,c,s(this.themeClass,this.cssVars)):c}}),To=__,S_=__,jN={height:"calc(var(--n-option-height) * 7.6)",paddingSmall:"4px 0",paddingMedium:"4px 0",paddingLarge:"4px 0",paddingHuge:"4px 0",optionPaddingSmall:"0 12px",optionPaddingMedium:"0 12px",optionPaddingLarge:"0 12px",optionPaddingHuge:"0 12px",loadingSize:"18px"},k_=e=>{const{borderRadius:t,popoverColor:n,textColor3:o,dividerColor:r,textColor2:i,primaryColorPressed:a,textColorDisabled:s,primaryColor:l,opacityDisabled:c,hoverColor:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:p,fontSizeHuge:h,heightSmall:m,heightMedium:v,heightLarge:b,heightHuge:w}=e;return Object.assign(Object.assign({},jN),{optionFontSizeSmall:d,optionFontSizeMedium:f,optionFontSizeLarge:p,optionFontSizeHuge:h,optionHeightSmall:m,optionHeightMedium:v,optionHeightLarge:b,optionHeightHuge:w,borderRadius:t,color:n,groupHeaderTextColor:o,actionDividerColor:r,optionTextColor:i,optionTextColorPressed:a,optionTextColorDisabled:s,optionTextColorActive:l,optionOpacityDisabled:c,optionCheckColor:l,optionColorPending:u,optionColorActive:"rgba(0, 0, 0, 0)",optionColorActivePending:u,actionTextColor:i,loadingColor:l})},VN={name:"InternalSelectMenu",common:bt,peers:{Scrollbar:Vi,Empty:$u},self:k_},em=VN,WN={name:"InternalSelectMenu",common:Ne,peers:{Scrollbar:Vn,Empty:ji},self:k_},ul=WN;function UN(e,t){return g(fn,{name:"fade-in-scale-up-transition"},{default:()=>e?g(Ut,{clsPrefix:t,class:`${t}-base-select-option__check`},{default:()=>g(HB)}):null})}const R0=ve({name:"NBaseSelectOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(e){const{valueRef:t,pendingTmNodeRef:n,multipleRef:o,valueSetRef:r,renderLabelRef:i,renderOptionRef:a,labelFieldRef:s,valueFieldRef:l,showCheckmarkRef:c,nodePropsRef:u,handleOptionClick:d,handleOptionMouseEnter:f}=We($p),p=St(()=>{const{value:b}=n;return b?e.tmNode.key===b.key:!1});function h(b){const{tmNode:w}=e;w.disabled||d(b,w)}function m(b){const{tmNode:w}=e;w.disabled||f(b,w)}function v(b){const{tmNode:w}=e,{value:C}=p;w.disabled||C||f(b,w)}return{multiple:o,isGrouped:St(()=>{const{tmNode:b}=e,{parent:w}=b;return w&&w.rawNode.type==="group"}),showCheckmark:c,nodeProps:u,isPending:p,isSelected:St(()=>{const{value:b}=t,{value:w}=o;if(b===null)return!1;const C=e.tmNode.rawNode[l.value];if(w){const{value:S}=r;return S.has(C)}else return b===C}),labelField:s,renderLabel:i,renderOption:a,handleMouseMove:v,handleMouseEnter:m,handleClick:h}},render(){const{clsPrefix:e,tmNode:{rawNode:t},isSelected:n,isPending:o,isGrouped:r,showCheckmark:i,nodeProps:a,renderOption:s,renderLabel:l,handleClick:c,handleMouseEnter:u,handleMouseMove:d}=this,f=UN(n,e),p=l?[l(t,n),i&&f]:[Wt(t[this.labelField],t,n),i&&f],h=a==null?void 0:a(t),m=g("div",Object.assign({},h,{class:[`${e}-base-select-option`,t.class,h==null?void 0:h.class,{[`${e}-base-select-option--disabled`]:t.disabled,[`${e}-base-select-option--selected`]:n,[`${e}-base-select-option--grouped`]:r,[`${e}-base-select-option--pending`]:o,[`${e}-base-select-option--show-checkmark`]:i}],style:[(h==null?void 0:h.style)||"",t.style||""],onClick:_s([c,h==null?void 0:h.onClick]),onMouseenter:_s([u,h==null?void 0:h.onMouseenter]),onMousemove:_s([d,h==null?void 0:h.onMousemove])}),g("div",{class:`${e}-base-select-option__content`},p));return t.render?t.render({node:m,option:t,selected:n}):s?s({node:m,option:t,selected:n}):m}}),E0=ve({name:"NBaseSelectGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{renderLabelRef:e,renderOptionRef:t,labelFieldRef:n,nodePropsRef:o}=We($p);return{labelField:n,nodeProps:o,renderLabel:e,renderOption:t}},render(){const{clsPrefix:e,renderLabel:t,renderOption:n,nodeProps:o,tmNode:{rawNode:r}}=this,i=o==null?void 0:o(r),a=t?t(r,!1):Wt(r[this.labelField],r,!1),s=g("div",Object.assign({},i,{class:[`${e}-base-select-group-header`,i==null?void 0:i.class]}),a);return r.render?r.render({node:s,option:r}):n?n({node:s,option:r,selected:!1}):s}}),{cubicBezierEaseIn:$0,cubicBezierEaseOut:A0}=co;function Na({transformOrigin:e="inherit",duration:t=".2s",enterScale:n=".9",originalTransform:o="",originalTransition:r=""}={}){return[q("&.fade-in-scale-up-transition-leave-active",{transformOrigin:e,transition:`opacity ${t} ${$0}, transform ${t} ${$0} ${r&&","+r}`}),q("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${A0}, transform ${t} ${A0} ${r&&","+r}`}),q("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${o} scale(${n})`}),q("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${o} scale(1)`})]}const qN=z("base-select-menu",` + `,[dl(),q("&:hover","background-color: var(--n-scrollbar-color-hover);")])])])])]),IH=Object.assign(Object.assign({},Be.props),{duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean}),X_=be({name:"Scrollbar",props:IH,inheritAttrs:!1,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=st(e),r=pn("Scrollbar",o,t),i=W(null),a=W(null),s=W(null),l=W(null),c=W(null),u=W(null),d=W(null),f=W(null),h=W(null),p=W(null),g=W(null),m=W(0),b=W(0),_=W(!1),C=W(!1);let S=!1,w=!1,x,y,P=0,k=0,T=0,E=0;const R=A8(),K=Be("Scrollbar","-scrollbar",AH,Gi,e,t),N=F(()=>{const{value:X}=f,{value:ve}=u,{value:Ae}=p;return X===null||ve===null||Ae===null?0:Math.min(X,Ae*X/ve+bn(K.value.self.width)*1.5)}),D=F(()=>`${N.value}px`),M=F(()=>{const{value:X}=h,{value:ve}=d,{value:Ae}=g;return X===null||ve===null||Ae===null?0:Ae*X/ve+bn(K.value.self.height)*1.5}),G=F(()=>`${M.value}px`),J=F(()=>{const{value:X}=f,{value:ve}=m,{value:Ae}=u,{value:Ke}=p;if(X===null||Ae===null||Ke===null)return 0;{const Ze=Ae-X;return Ze?ve/Ze*(Ke-N.value):0}}),he=F(()=>`${J.value}px`),pe=F(()=>{const{value:X}=h,{value:ve}=b,{value:Ae}=d,{value:Ke}=g;if(X===null||Ae===null||Ke===null)return 0;{const Ze=Ae-X;return Ze?ve/Ze*(Ke-M.value):0}}),B=F(()=>`${pe.value}px`),$=F(()=>{const{value:X}=f,{value:ve}=u;return X!==null&&ve!==null&&ve>X}),A=F(()=>{const{value:X}=h,{value:ve}=d;return X!==null&&ve!==null&&ve>X}),Y=F(()=>{const{trigger:X}=e;return X==="none"||_.value}),ne=F(()=>{const{trigger:X}=e;return X==="none"||C.value}),fe=F(()=>{const{container:X}=e;return X?X():a.value}),Q=F(()=>{const{content:X}=e;return X?X():s.value}),xe=(X,ve)=>{if(!e.scrollable)return;if(typeof X=="number"){L(X,ve??0,0,!1,"auto");return}const{left:Ae,top:Ke,index:Ze,elSize:Je,position:tt,behavior:rt,el:vt,debounce:sn=!0}=X;(Ae!==void 0||Ke!==void 0)&&L(Ae??0,Ke??0,0,!1,rt),vt!==void 0?L(0,vt.offsetTop,vt.offsetHeight,sn,rt):Ze!==void 0&&Je!==void 0?L(0,Ze*Je,Je,sn,rt):tt==="bottom"?L(0,Number.MAX_SAFE_INTEGER,0,!1,rt):tt==="top"&&L(0,0,0,!1,rt)},H=Qp(()=>{e.container||xe({top:m.value,left:b.value})}),ye=()=>{H.isDeactivated||le()},Oe=X=>{if(H.isDeactivated)return;const{onResize:ve}=e;ve&&ve(X),le()},Ne=(X,ve)=>{if(!e.scrollable)return;const{value:Ae}=fe;Ae&&(typeof X=="object"?Ae.scrollBy(X):Ae.scrollBy(X,ve||0))};function L(X,ve,Ae,Ke,Ze){const{value:Je}=fe;if(Je){if(Ke){const{scrollTop:tt,offsetHeight:rt}=Je;if(ve>tt){ve+Ae<=tt+rt||Je.scrollTo({left:X,top:ve+Ae-rt,behavior:Ze});return}}Je.scrollTo({left:X,top:ve,behavior:Ze})}}function O(){ke(),I(),le()}function oe(){_e()}function _e(){te(),ge()}function te(){y!==void 0&&window.clearTimeout(y),y=window.setTimeout(()=>{C.value=!1},e.duration)}function ge(){x!==void 0&&window.clearTimeout(x),x=window.setTimeout(()=>{_.value=!1},e.duration)}function ke(){x!==void 0&&window.clearTimeout(x),_.value=!0}function I(){y!==void 0&&window.clearTimeout(y),C.value=!0}function j(X){const{onScroll:ve}=e;ve&&ve(X),ee()}function ee(){const{value:X}=fe;X&&(m.value=X.scrollTop,b.value=X.scrollLeft*(r!=null&&r.value?-1:1))}function Ce(){const{value:X}=Q;X&&(u.value=X.offsetHeight,d.value=X.offsetWidth);const{value:ve}=fe;ve&&(f.value=ve.offsetHeight,h.value=ve.offsetWidth);const{value:Ae}=c,{value:Ke}=l;Ae&&(g.value=Ae.offsetWidth),Ke&&(p.value=Ke.offsetHeight)}function ce(){const{value:X}=fe;X&&(m.value=X.scrollTop,b.value=X.scrollLeft*(r!=null&&r.value?-1:1),f.value=X.offsetHeight,h.value=X.offsetWidth,u.value=X.scrollHeight,d.value=X.scrollWidth);const{value:ve}=c,{value:Ae}=l;ve&&(g.value=ve.offsetWidth),Ae&&(p.value=Ae.offsetHeight)}function le(){e.scrollable&&(e.useUnifiedContainer?ce():(Ce(),ee()))}function re(X){var ve;return!(!((ve=i.value)===null||ve===void 0)&&ve.contains(Ai(X)))}function de(X){X.preventDefault(),X.stopPropagation(),w=!0,At("mousemove",window,De,!0),At("mouseup",window,Le,!0),k=b.value,T=r!=null&&r.value?window.innerWidth-X.clientX:X.clientX}function De(X){if(!w)return;x!==void 0&&window.clearTimeout(x),y!==void 0&&window.clearTimeout(y);const{value:ve}=h,{value:Ae}=d,{value:Ke}=M;if(ve===null||Ae===null)return;const Je=(r!=null&&r.value?window.innerWidth-X.clientX-T:X.clientX-T)*(Ae-ve)/(ve-Ke),tt=Ae-ve;let rt=k+Je;rt=Math.min(tt,rt),rt=Math.max(rt,0);const{value:vt}=fe;if(vt){vt.scrollLeft=rt*(r!=null&&r.value?-1:1);const{internalOnUpdateScrollLeft:sn}=e;sn&&sn(rt)}}function Le(X){X.preventDefault(),X.stopPropagation(),Tt("mousemove",window,De,!0),Tt("mouseup",window,Le,!0),w=!1,le(),re(X)&&_e()}function Pe(X){X.preventDefault(),X.stopPropagation(),S=!0,At("mousemove",window,Fe,!0),At("mouseup",window,He,!0),P=m.value,E=X.clientY}function Fe(X){if(!S)return;x!==void 0&&window.clearTimeout(x),y!==void 0&&window.clearTimeout(y);const{value:ve}=f,{value:Ae}=u,{value:Ke}=N;if(ve===null||Ae===null)return;const Je=(X.clientY-E)*(Ae-ve)/(ve-Ke),tt=Ae-ve;let rt=P+Je;rt=Math.min(tt,rt),rt=Math.max(rt,0);const{value:vt}=fe;vt&&(vt.scrollTop=rt)}function He(X){X.preventDefault(),X.stopPropagation(),Tt("mousemove",window,Fe,!0),Tt("mouseup",window,He,!0),S=!1,le(),re(X)&&_e()}Xt(()=>{const{value:X}=A,{value:ve}=$,{value:Ae}=t,{value:Ke}=c,{value:Ze}=l;Ke&&(X?Ke.classList.remove(`${Ae}-scrollbar-rail--disabled`):Ke.classList.add(`${Ae}-scrollbar-rail--disabled`)),Ze&&(ve?Ze.classList.remove(`${Ae}-scrollbar-rail--disabled`):Ze.classList.add(`${Ae}-scrollbar-rail--disabled`))}),jt(()=>{e.container||le()}),on(()=>{x!==void 0&&window.clearTimeout(x),y!==void 0&&window.clearTimeout(y),Tt("mousemove",window,Fe,!0),Tt("mouseup",window,He,!0)});const Ie=F(()=>{const{common:{cubicBezierEaseInOut:X},self:{color:ve,colorHover:Ae,height:Ke,width:Ze,borderRadius:Je,railInsetHorizontal:tt,railInsetVertical:rt,railColor:vt}}=K.value;return{"--n-scrollbar-bezier":X,"--n-scrollbar-color":ve,"--n-scrollbar-color-hover":Ae,"--n-scrollbar-border-radius":Je,"--n-scrollbar-width":Ze,"--n-scrollbar-height":Ke,"--n-scrollbar-rail-inset-horizontal":tt,"--n-scrollbar-rail-inset-vertical":r!=null&&r.value?X6(rt):rt,"--n-scrollbar-rail-color":vt}}),Qe=n?Pt("scrollbar",void 0,Ie,e):void 0;return Object.assign(Object.assign({},{scrollTo:xe,scrollBy:Ne,sync:le,syncUnifiedContainer:ce,handleMouseEnterWrapper:O,handleMouseLeaveWrapper:oe}),{mergedClsPrefix:t,rtlEnabled:r,containerScrollTop:m,wrapperRef:i,containerRef:a,contentRef:s,yRailRef:l,xRailRef:c,needYBar:$,needXBar:A,yBarSizePx:D,xBarSizePx:G,yBarTopPx:he,xBarLeftPx:B,isShowXBar:Y,isShowYBar:ne,isIos:R,handleScroll:j,handleContentResize:ye,handleContainerResize:Oe,handleYScrollMouseDown:Pe,handleXScrollMouseDown:de,cssVars:n?void 0:Ie,themeClass:Qe==null?void 0:Qe.themeClass,onRender:Qe==null?void 0:Qe.onRender})},render(){var e;const{$slots:t,mergedClsPrefix:n,triggerDisplayManually:o,rtlEnabled:r,internalHoistYRail:i}=this;if(!this.scrollable)return(e=t.default)===null||e===void 0?void 0:e.call(t);const a=this.trigger==="none",s=(u,d)=>v("div",{ref:"yRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--vertical`,u],"data-scrollbar-rail":!0,style:[d||"",this.verticalRailStyle],"aria-hidden":!0},v(a?yh:fn,a?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?v("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),l=()=>{var u,d;return(u=this.onRender)===null||u===void 0||u.call(this),v("div",Ln(this.$attrs,{role:"none",ref:"wrapperRef",class:[`${n}-scrollbar`,this.themeClass,r&&`${n}-scrollbar--rtl`],style:this.cssVars,onMouseenter:o?void 0:this.handleMouseEnterWrapper,onMouseleave:o?void 0:this.handleMouseLeaveWrapper}),[this.container?(d=t.default)===null||d===void 0?void 0:d.call(t):v("div",{role:"none",ref:"containerRef",class:[`${n}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},v(cr,{onResize:this.handleContentResize},{default:()=>v("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${n}-scrollbar-content`,this.contentClass]},t)})),i?null:s(void 0,void 0),this.xScrollable&&v("div",{ref:"xRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--horizontal`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},v(a?yh:fn,a?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?v("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,right:r?this.xBarLeftPx:void 0,left:r?void 0:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])},c=this.container?l():v(cr,{onResize:this.handleContainerResize},{default:l});return i?v(it,null,c,s(this.themeClass,this.cssVars)):c}}),Io=X_,Z_=X_,OH={height:"calc(var(--n-option-height) * 7.6)",paddingSmall:"4px 0",paddingMedium:"4px 0",paddingLarge:"4px 0",paddingHuge:"4px 0",optionPaddingSmall:"0 12px",optionPaddingMedium:"0 12px",optionPaddingLarge:"0 12px",optionPaddingHuge:"0 12px",loadingSize:"18px"};function J_(e){const{borderRadius:t,popoverColor:n,textColor3:o,dividerColor:r,textColor2:i,primaryColorPressed:a,textColorDisabled:s,primaryColor:l,opacityDisabled:c,hoverColor:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:h,fontSizeHuge:p,heightSmall:g,heightMedium:m,heightLarge:b,heightHuge:_}=e;return Object.assign(Object.assign({},OH),{optionFontSizeSmall:d,optionFontSizeMedium:f,optionFontSizeLarge:h,optionFontSizeHuge:p,optionHeightSmall:g,optionHeightMedium:m,optionHeightLarge:b,optionHeightHuge:_,borderRadius:t,color:n,groupHeaderTextColor:o,actionDividerColor:r,optionTextColor:i,optionTextColorPressed:a,optionTextColorDisabled:s,optionTextColorActive:l,optionOpacityDisabled:c,optionCheckColor:l,optionColorPending:u,optionColorActive:"rgba(0, 0, 0, 0)",optionColorActivePending:u,actionTextColor:i,loadingColor:l})}const MH={name:"InternalSelectMenu",common:xt,peers:{Scrollbar:Gi,Empty:Mu},self:J_},pm=MH,zH={name:"InternalSelectMenu",common:je,peers:{Scrollbar:Vn,Empty:Ki},self:J_},fl=zH;function DH(e,t){return v(fn,{name:"fade-in-scale-up-transition"},{default:()=>e?v(Ut,{clsPrefix:t,class:`${t}-base-select-option__check`},{default:()=>v(AN)}):null})}const U0=be({name:"NBaseSelectOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(e){const{valueRef:t,pendingTmNodeRef:n,multipleRef:o,valueSetRef:r,renderLabelRef:i,renderOptionRef:a,labelFieldRef:s,valueFieldRef:l,showCheckmarkRef:c,nodePropsRef:u,handleOptionClick:d,handleOptionMouseEnter:f}=Ue(Wp),h=kt(()=>{const{value:b}=n;return b?e.tmNode.key===b.key:!1});function p(b){const{tmNode:_}=e;_.disabled||d(b,_)}function g(b){const{tmNode:_}=e;_.disabled||f(b,_)}function m(b){const{tmNode:_}=e,{value:C}=h;_.disabled||C||f(b,_)}return{multiple:o,isGrouped:kt(()=>{const{tmNode:b}=e,{parent:_}=b;return _&&_.rawNode.type==="group"}),showCheckmark:c,nodeProps:u,isPending:h,isSelected:kt(()=>{const{value:b}=t,{value:_}=o;if(b===null)return!1;const C=e.tmNode.rawNode[l.value];if(_){const{value:S}=r;return S.has(C)}else return b===C}),labelField:s,renderLabel:i,renderOption:a,handleMouseMove:m,handleMouseEnter:g,handleClick:p}},render(){const{clsPrefix:e,tmNode:{rawNode:t},isSelected:n,isPending:o,isGrouped:r,showCheckmark:i,nodeProps:a,renderOption:s,renderLabel:l,handleClick:c,handleMouseEnter:u,handleMouseMove:d}=this,f=DH(n,e),h=l?[l(t,n),i&&f]:[Wt(t[this.labelField],t,n),i&&f],p=a==null?void 0:a(t),g=v("div",Object.assign({},p,{class:[`${e}-base-select-option`,t.class,p==null?void 0:p.class,{[`${e}-base-select-option--disabled`]:t.disabled,[`${e}-base-select-option--selected`]:n,[`${e}-base-select-option--grouped`]:r,[`${e}-base-select-option--pending`]:o,[`${e}-base-select-option--show-checkmark`]:i}],style:[(p==null?void 0:p.style)||"",t.style||""],onClick:Es([c,p==null?void 0:p.onClick]),onMouseenter:Es([u,p==null?void 0:p.onMouseenter]),onMousemove:Es([d,p==null?void 0:p.onMousemove])}),v("div",{class:`${e}-base-select-option__content`},h));return t.render?t.render({node:g,option:t,selected:n}):s?s({node:g,option:t,selected:n}):g}}),q0=be({name:"NBaseSelectGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{renderLabelRef:e,renderOptionRef:t,labelFieldRef:n,nodePropsRef:o}=Ue(Wp);return{labelField:n,nodeProps:o,renderLabel:e,renderOption:t}},render(){const{clsPrefix:e,renderLabel:t,renderOption:n,nodeProps:o,tmNode:{rawNode:r}}=this,i=o==null?void 0:o(r),a=t?t(r,!1):Wt(r[this.labelField],r,!1),s=v("div",Object.assign({},i,{class:[`${e}-base-select-group-header`,i==null?void 0:i.class]}),a);return r.render?r.render({node:s,option:r}):n?n({node:s,option:r,selected:!1}):s}}),{cubicBezierEaseIn:K0,cubicBezierEaseOut:G0}=po;function qa({transformOrigin:e="inherit",duration:t=".2s",enterScale:n=".9",originalTransform:o="",originalTransition:r=""}={}){return[q("&.fade-in-scale-up-transition-leave-active",{transformOrigin:e,transition:`opacity ${t} ${K0}, transform ${t} ${K0} ${r&&`,${r}`}`}),q("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${G0}, transform ${t} ${G0} ${r&&`,${r}`}`}),q("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${o} scale(${n})`}),q("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${o} scale(1)`})]}const LH=z("base-select-menu",` line-height: 1.5; outline: none; z-index: 0; @@ -335,7 +332,7 @@ ${t} background-color: var(--n-option-color-active-pending); `)])]),Z("disabled",` cursor: not-allowed; - `,[Tt("selected",` + `,[Rt("selected",` color: var(--n-option-text-color-disabled); `),Z("selected",` opacity: var(--n-option-opacity-disabled); @@ -346,14 +343,14 @@ ${t} top: calc(50% - 7px); color: var(--n-option-check-color); transition: color .3s var(--n-bezier); - `,[Na({enterScale:"0.5"})])])]),P_=ve({name:"InternalSelectMenu",props:Object.assign(Object.assign({},Be.props),{clsPrefix:{type:String,required:!0},scrollable:{type:Boolean,default:!0},treeMate:{type:Object,required:!0},multiple:Boolean,size:{type:String,default:"medium"},value:{type:[String,Number,Array],default:null},autoPending:Boolean,virtualScroll:{type:Boolean,default:!0},show:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},loading:Boolean,focusable:Boolean,renderLabel:Function,renderOption:Function,nodeProps:Function,showCheckmark:{type:Boolean,default:!0},onMousedown:Function,onScroll:Function,onFocus:Function,onBlur:Function,onKeyup:Function,onKeydown:Function,onTabOut:Function,onMouseenter:Function,onMouseleave:Function,onResize:Function,resetMenuOnOptionsChange:{type:Boolean,default:!0},inlineThemeDisabled:Boolean,onToggle:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=st(e),o=pn("InternalSelectMenu",n,t),r=Be("InternalSelectMenu","-internal-select-menu",qN,em,e,Ve(e,"clsPrefix")),i=W(null),a=W(null),s=W(null),l=L(()=>e.treeMate.getFlattenedNodes()),c=L(()=>hN(l.value)),u=W(null);function d(){const{treeMate:E}=e;let A=null;const{value:G}=e;G===null?A=E.getFirstAvailableNode():(e.multiple?A=E.getNode((G||[])[(G||[]).length-1]):A=E.getNode(G),(!A||A.disabled)&&(A=E.getFirstAvailableNode())),j(A||null)}function f(){const{value:E}=u;E&&!e.treeMate.getNode(E.key)&&(u.value=null)}let p;ft(()=>e.show,E=>{E?p=ft(()=>e.treeMate,()=>{e.resetMenuOnOptionsChange?(e.autoPending?d():f(),Ht(D)):f()},{immediate:!0}):p==null||p()},{immediate:!0}),rn(()=>{p==null||p()});const h=L(()=>Sn(r.value.self[Te("optionHeight",e.size)])),m=L(()=>_o(r.value.self[Te("padding",e.size)])),v=L(()=>e.multiple&&Array.isArray(e.value)?new Set(e.value):new Set),b=L(()=>{const E=l.value;return E&&E.length===0});function w(E){const{onToggle:A}=e;A&&A(E)}function C(E){const{onScroll:A}=e;A&&A(E)}function S(E){var A;(A=s.value)===null||A===void 0||A.sync(),C(E)}function _(){var E;(E=s.value)===null||E===void 0||E.sync()}function x(){const{value:E}=u;return E||null}function y(E,A){A.disabled||j(A,!1)}function k(E,A){A.disabled||w(A)}function P(E){var A;wo(E,"action")||(A=e.onKeyup)===null||A===void 0||A.call(e,E)}function T(E){var A;wo(E,"action")||(A=e.onKeydown)===null||A===void 0||A.call(e,E)}function $(E){var A;(A=e.onMousedown)===null||A===void 0||A.call(e,E),!e.focusable&&E.preventDefault()}function R(){const{value:E}=u;E&&j(E.getNext({loop:!0}),!0)}function K(){const{value:E}=u;E&&j(E.getPrev({loop:!0}),!0)}function j(E,A=!1){u.value=E,A&&D()}function D(){var E,A;const G=u.value;if(!G)return;const oe=c.value(G.key);oe!==null&&(e.virtualScroll?(E=a.value)===null||E===void 0||E.scrollTo({index:oe}):(A=s.value)===null||A===void 0||A.scrollTo({index:oe,elSize:h.value}))}function M(E){var A,G;!((A=i.value)===null||A===void 0)&&A.contains(E.target)&&((G=e.onFocus)===null||G===void 0||G.call(e,E))}function Y(E){var A,G;!((A=i.value)===null||A===void 0)&&A.contains(E.relatedTarget)||(G=e.onBlur)===null||G===void 0||G.call(e,E)}at($p,{handleOptionMouseEnter:y,handleOptionClick:k,valueSetRef:v,pendingTmNodeRef:u,nodePropsRef:Ve(e,"nodeProps"),showCheckmarkRef:Ve(e,"showCheckmark"),multipleRef:Ve(e,"multiple"),valueRef:Ve(e,"value"),renderLabelRef:Ve(e,"renderLabel"),renderOptionRef:Ve(e,"renderOption"),labelFieldRef:Ve(e,"labelField"),valueFieldRef:Ve(e,"valueField")}),at(tw,i),jt(()=>{const{value:E}=s;E&&E.sync()});const Q=L(()=>{const{size:E}=e,{common:{cubicBezierEaseInOut:A},self:{height:G,borderRadius:oe,color:fe,groupHeaderTextColor:J,actionDividerColor:xe,optionTextColorPressed:N,optionTextColor:be,optionTextColorDisabled:Oe,optionTextColorActive:Le,optionOpacityDisabled:F,optionCheckColor:O,actionTextColor:re,optionColorPending:_e,optionColorActive:ee,loadingColor:ye,loadingSize:Pe,optionColorActivePending:I,[Te("optionFontSize",E)]:H,[Te("optionHeight",E)]:te,[Te("optionPadding",E)]:Ce}}=r.value;return{"--n-height":G,"--n-action-divider-color":xe,"--n-action-text-color":re,"--n-bezier":A,"--n-border-radius":oe,"--n-color":fe,"--n-option-font-size":H,"--n-group-header-text-color":J,"--n-option-check-color":O,"--n-option-color-pending":_e,"--n-option-color-active":ee,"--n-option-color-active-pending":I,"--n-option-height":te,"--n-option-opacity-disabled":F,"--n-option-text-color":be,"--n-option-text-color-active":Le,"--n-option-text-color-disabled":Oe,"--n-option-text-color-pressed":N,"--n-option-padding":Ce,"--n-option-padding-left":_o(Ce,"left"),"--n-option-padding-right":_o(Ce,"right"),"--n-loading-color":ye,"--n-loading-size":Pe}}),{inlineThemeDisabled:de}=e,pe=de?kt("internal-select-menu",L(()=>e.size[0]),Q,e):void 0,B={selfRef:i,next:R,prev:K,getPendingTmNode:x};return bw(i,e.onResize),Object.assign({mergedTheme:r,mergedClsPrefix:t,rtlEnabled:o,virtualListRef:a,scrollbarRef:s,itemSize:h,padding:m,flattenedNodes:l,empty:b,virtualListContainer(){const{value:E}=a;return E==null?void 0:E.listElRef},virtualListContent(){const{value:E}=a;return E==null?void 0:E.itemsElRef},doScroll:C,handleFocusin:M,handleFocusout:Y,handleKeyUp:P,handleKeyDown:T,handleMouseDown:$,handleVirtualListResize:_,handleVirtualListScroll:S,cssVars:de?void 0:Q,themeClass:pe==null?void 0:pe.themeClass,onRender:pe==null?void 0:pe.onRender},B)},render(){const{$slots:e,virtualScroll:t,clsPrefix:n,mergedTheme:o,themeClass:r,onRender:i}=this;return i==null||i(),g("div",{ref:"selfRef",tabindex:this.focusable?0:-1,class:[`${n}-base-select-menu`,this.rtlEnabled&&`${n}-base-select-menu--rtl`,r,this.multiple&&`${n}-base-select-menu--multiple`],style:this.cssVars,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onKeyup:this.handleKeyUp,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},Et(e.header,a=>a&&g("div",{class:`${n}-base-select-menu__header`,"data-header":!0,key:"header"},a)),this.loading?g("div",{class:`${n}-base-select-menu__loading`},g(Jr,{clsPrefix:n,strokeWidth:20})):this.empty?g("div",{class:`${n}-base-select-menu__empty`,"data-empty":!0},An(e.empty,()=>[g(C_,{theme:o.peers.Empty,themeOverrides:o.peerOverrides.Empty})])):g(To,{ref:"scrollbarRef",theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,scrollable:this.scrollable,container:t?this.virtualListContainer:void 0,content:t?this.virtualListContent:void 0,onScroll:t?void 0:this.doScroll},{default:()=>t?g(hw,{ref:"virtualListRef",class:`${n}-virtual-list`,items:this.flattenedNodes,itemSize:this.itemSize,showScrollbar:!1,paddingTop:this.padding.top,paddingBottom:this.padding.bottom,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemResizable:!0},{default:({item:a})=>a.isGroup?g(E0,{key:a.key,clsPrefix:n,tmNode:a}):a.ignored?null:g(R0,{clsPrefix:n,key:a.key,tmNode:a})}):g("div",{class:`${n}-base-select-menu-option-wrapper`,style:{paddingTop:this.padding.top,paddingBottom:this.padding.bottom}},this.flattenedNodes.map(a=>a.isGroup?g(E0,{key:a.key,clsPrefix:n,tmNode:a}):g(R0,{clsPrefix:n,key:a.key,tmNode:a})))}),Et(e.action,a=>a&&[g("div",{class:`${n}-base-select-menu__action`,"data-action":!0,key:"action"},a),g(JB,{onFocus:this.onTabOut,key:"focus-detector"})]))}}),KN=z("base-wave",` + `,[qa({enterScale:"0.5"})])])]),Q_=be({name:"InternalSelectMenu",props:Object.assign(Object.assign({},Be.props),{clsPrefix:{type:String,required:!0},scrollable:{type:Boolean,default:!0},treeMate:{type:Object,required:!0},multiple:Boolean,size:{type:String,default:"medium"},value:{type:[String,Number,Array],default:null},autoPending:Boolean,virtualScroll:{type:Boolean,default:!0},show:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},loading:Boolean,focusable:Boolean,renderLabel:Function,renderOption:Function,nodeProps:Function,showCheckmark:{type:Boolean,default:!0},onMousedown:Function,onScroll:Function,onFocus:Function,onBlur:Function,onKeyup:Function,onKeydown:Function,onTabOut:Function,onMouseenter:Function,onMouseleave:Function,onResize:Function,resetMenuOnOptionsChange:{type:Boolean,default:!0},inlineThemeDisabled:Boolean,onToggle:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=st(e),o=pn("InternalSelectMenu",n,t),r=Be("InternalSelectMenu","-internal-select-menu",LH,pm,e,We(e,"clsPrefix")),i=W(null),a=W(null),s=W(null),l=F(()=>e.treeMate.getFlattenedNodes()),c=F(()=>oH(l.value)),u=W(null);function d(){const{treeMate:$}=e;let A=null;const{value:Y}=e;Y===null?A=$.getFirstAvailableNode():(e.multiple?A=$.getNode((Y||[])[(Y||[]).length-1]):A=$.getNode(Y),(!A||A.disabled)&&(A=$.getFirstAvailableNode())),N(A||null)}function f(){const{value:$}=u;$&&!e.treeMate.getNode($.key)&&(u.value=null)}let h;ft(()=>e.show,$=>{$?h=ft(()=>e.treeMate,()=>{e.resetMenuOnOptionsChange?(e.autoPending?d():f(),Ht(D)):f()},{immediate:!0}):h==null||h()},{immediate:!0}),on(()=>{h==null||h()});const p=F(()=>bn(r.value.self[Re("optionHeight",e.size)])),g=F(()=>lo(r.value.self[Re("padding",e.size)])),m=F(()=>e.multiple&&Array.isArray(e.value)?new Set(e.value):new Set),b=F(()=>{const $=l.value;return $&&$.length===0});function _($){const{onToggle:A}=e;A&&A($)}function C($){const{onScroll:A}=e;A&&A($)}function S($){var A;(A=s.value)===null||A===void 0||A.sync(),C($)}function w(){var $;($=s.value)===null||$===void 0||$.sync()}function x(){const{value:$}=u;return $||null}function y($,A){A.disabled||N(A,!1)}function P($,A){A.disabled||_(A)}function k($){var A;so($,"action")||(A=e.onKeyup)===null||A===void 0||A.call(e,$)}function T($){var A;so($,"action")||(A=e.onKeydown)===null||A===void 0||A.call(e,$)}function E($){var A;(A=e.onMousedown)===null||A===void 0||A.call(e,$),!e.focusable&&$.preventDefault()}function R(){const{value:$}=u;$&&N($.getNext({loop:!0}),!0)}function K(){const{value:$}=u;$&&N($.getPrev({loop:!0}),!0)}function N($,A=!1){u.value=$,A&&D()}function D(){var $,A;const Y=u.value;if(!Y)return;const ne=c.value(Y.key);ne!==null&&(e.virtualScroll?($=a.value)===null||$===void 0||$.scrollTo({index:ne}):(A=s.value)===null||A===void 0||A.scrollTo({index:ne,elSize:p.value}))}function M($){var A,Y;!((A=i.value)===null||A===void 0)&&A.contains($.target)&&((Y=e.onFocus)===null||Y===void 0||Y.call(e,$))}function G($){var A,Y;!((A=i.value)===null||A===void 0)&&A.contains($.relatedTarget)||(Y=e.onBlur)===null||Y===void 0||Y.call(e,$)}at(Wp,{handleOptionMouseEnter:y,handleOptionClick:P,valueSetRef:m,pendingTmNodeRef:u,nodePropsRef:We(e,"nodeProps"),showCheckmarkRef:We(e,"showCheckmark"),multipleRef:We(e,"multiple"),valueRef:We(e,"value"),renderLabelRef:We(e,"renderLabel"),renderOptionRef:We(e,"renderOption"),labelFieldRef:We(e,"labelField"),valueFieldRef:We(e,"valueField")}),at(Rw,i),jt(()=>{const{value:$}=s;$&&$.sync()});const J=F(()=>{const{size:$}=e,{common:{cubicBezierEaseInOut:A},self:{height:Y,borderRadius:ne,color:fe,groupHeaderTextColor:Q,actionDividerColor:xe,optionTextColorPressed:H,optionTextColor:ye,optionTextColorDisabled:Oe,optionTextColorActive:Ne,optionOpacityDisabled:L,optionCheckColor:O,actionTextColor:oe,optionColorPending:_e,optionColorActive:te,loadingColor:ge,loadingSize:ke,optionColorActivePending:I,[Re("optionFontSize",$)]:j,[Re("optionHeight",$)]:ee,[Re("optionPadding",$)]:Ce}}=r.value;return{"--n-height":Y,"--n-action-divider-color":xe,"--n-action-text-color":oe,"--n-bezier":A,"--n-border-radius":ne,"--n-color":fe,"--n-option-font-size":j,"--n-group-header-text-color":Q,"--n-option-check-color":O,"--n-option-color-pending":_e,"--n-option-color-active":te,"--n-option-color-active-pending":I,"--n-option-height":ee,"--n-option-opacity-disabled":L,"--n-option-text-color":ye,"--n-option-text-color-active":Ne,"--n-option-text-color-disabled":Oe,"--n-option-text-color-pressed":H,"--n-option-padding":Ce,"--n-option-padding-left":lo(Ce,"left"),"--n-option-padding-right":lo(Ce,"right"),"--n-loading-color":ge,"--n-loading-size":ke}}),{inlineThemeDisabled:he}=e,pe=he?Pt("internal-select-menu",F(()=>e.size[0]),J,e):void 0,B={selfRef:i,next:R,prev:K,getPendingTmNode:x};return Uw(i,e.onResize),Object.assign({mergedTheme:r,mergedClsPrefix:t,rtlEnabled:o,virtualListRef:a,scrollbarRef:s,itemSize:p,padding:g,flattenedNodes:l,empty:b,virtualListContainer(){const{value:$}=a;return $==null?void 0:$.listElRef},virtualListContent(){const{value:$}=a;return $==null?void 0:$.itemsElRef},doScroll:C,handleFocusin:M,handleFocusout:G,handleKeyUp:k,handleKeyDown:T,handleMouseDown:E,handleVirtualListResize:w,handleVirtualListScroll:S,cssVars:he?void 0:J,themeClass:pe==null?void 0:pe.themeClass,onRender:pe==null?void 0:pe.onRender},B)},render(){const{$slots:e,virtualScroll:t,clsPrefix:n,mergedTheme:o,themeClass:r,onRender:i}=this;return i==null||i(),v("div",{ref:"selfRef",tabindex:this.focusable?0:-1,class:[`${n}-base-select-menu`,this.rtlEnabled&&`${n}-base-select-menu--rtl`,r,this.multiple&&`${n}-base-select-menu--multiple`],style:this.cssVars,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onKeyup:this.handleKeyUp,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},$t(e.header,a=>a&&v("div",{class:`${n}-base-select-menu__header`,"data-header":!0,key:"header"},a)),this.loading?v("div",{class:`${n}-base-select-menu__loading`},v(ti,{clsPrefix:n,strokeWidth:20})):this.empty?v("div",{class:`${n}-base-select-menu__empty`,"data-empty":!0},An(e.empty,()=>[v(G_,{theme:o.peers.Empty,themeOverrides:o.peerOverrides.Empty})])):v(Io,{ref:"scrollbarRef",theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,scrollable:this.scrollable,container:t?this.virtualListContainer:void 0,content:t?this.virtualListContent:void 0,onScroll:t?void 0:this.doScroll},{default:()=>t?v(Nw,{ref:"virtualListRef",class:`${n}-virtual-list`,items:this.flattenedNodes,itemSize:this.itemSize,showScrollbar:!1,paddingTop:this.padding.top,paddingBottom:this.padding.bottom,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemResizable:!0},{default:({item:a})=>a.isGroup?v(q0,{key:a.key,clsPrefix:n,tmNode:a}):a.ignored?null:v(U0,{clsPrefix:n,key:a.key,tmNode:a})}):v("div",{class:`${n}-base-select-menu-option-wrapper`,style:{paddingTop:this.padding.top,paddingBottom:this.padding.bottom}},this.flattenedNodes.map(a=>a.isGroup?v(q0,{key:a.key,clsPrefix:n,tmNode:a}):v(U0,{clsPrefix:n,key:a.key,tmNode:a})))}),$t(e.action,a=>a&&[v("div",{class:`${n}-base-select-menu__action`,"data-action":!0,key:"action"},a),v(jN,{onFocus:this.onTabOut,key:"focus-detector"})]))}}),FH=z("base-wave",` position: absolute; left: 0; right: 0; top: 0; bottom: 0; border-radius: inherit; -`),GN=ve({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){Zr("-base-wave",KN,Ve(e,"clsPrefix"));const t=W(null),n=W(!1);let o=null;return rn(()=>{o!==null&&window.clearTimeout(o)}),{active:n,selfRef:t,play(){o!==null&&(window.clearTimeout(o),n.value=!1,o=null),Ht(()=>{var r;(r=t.value)===null||r===void 0||r.offsetHeight,n.value=!0,o=window.setTimeout(()=>{n.value=!1,o=null},1e3)})}}},render(){const{clsPrefix:e}=this;return g("div",{ref:"selfRef","aria-hidden":!0,class:[`${e}-base-wave`,this.active&&`${e}-base-wave--active`]})}}),YN={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"},T_=e=>{const{boxShadow2:t,popoverColor:n,textColor2:o,borderRadius:r,fontSize:i,dividerColor:a}=e;return Object.assign(Object.assign({},YN),{fontSize:i,borderRadius:r,color:n,dividerColor:a,textColor:o,boxShadow:t})},XN={name:"Popover",common:bt,self:T_},Ha=XN,ZN={name:"Popover",common:Ne,self:T_},Wi=ZN,jd={top:"bottom",bottom:"top",left:"right",right:"left"},yn="var(--n-arrow-height) * 1.414",JN=q([z("popover",` +`),BH=be({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){ei("-base-wave",FH,We(e,"clsPrefix"));const t=W(null),n=W(!1);let o=null;return on(()=>{o!==null&&window.clearTimeout(o)}),{active:n,selfRef:t,play(){o!==null&&(window.clearTimeout(o),n.value=!1,o=null),Ht(()=>{var r;(r=t.value)===null||r===void 0||r.offsetHeight,n.value=!0,o=window.setTimeout(()=>{n.value=!1,o=null},1e3)})}}},render(){const{clsPrefix:e}=this;return v("div",{ref:"selfRef","aria-hidden":!0,class:[`${e}-base-wave`,this.active&&`${e}-base-wave--active`]})}}),NH={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"};function e2(e){const{boxShadow2:t,popoverColor:n,textColor2:o,borderRadius:r,fontSize:i,dividerColor:a}=e;return Object.assign(Object.assign({},NH),{fontSize:i,borderRadius:r,color:n,dividerColor:a,textColor:o,boxShadow:t})}const HH={name:"Popover",common:xt,self:e2},Ka=HH,jH={name:"Popover",common:je,self:e2},Yi=jH,Qd={top:"bottom",bottom:"top",left:"right",right:"left"},vn="var(--n-arrow-height) * 1.414",VH=q([z("popover",` transition: box-shadow .3s var(--n-bezier), background-color .3s var(--n-bezier), @@ -366,10 +363,10 @@ ${t} `,[q(">",[z("scrollbar",` height: inherit; max-height: inherit; - `)]),Tt("raw",` + `)]),Rt("raw",` background-color: var(--n-color); border-radius: var(--n-border-radius); - `,[Tt("scrollable",[Tt("show-header-or-footer","padding: var(--n-padding);")])]),V("header",` + `,[Rt("scrollable",[Rt("show-header-or-footer","padding: var(--n-padding);")])]),V("header",` padding: var(--n-padding); border-bottom: 1px solid var(--n-divider-color); transition: border-color .3s var(--n-bezier); @@ -389,8 +386,8 @@ ${t} transition: background-color .3s var(--n-bezier); position: absolute; display: block; - width: calc(${yn}); - height: calc(${yn}); + width: calc(${vn}); + height: calc(${vn}); box-shadow: 0 0 8px 0 rgba(0, 0, 0, .12); transform: rotate(45deg); background-color: var(--n-color); @@ -415,61 +412,61 @@ ${t} color .3s var(--n-bezier), opacity .15s var(--n-bezier-ease-in), transform .15s var(--n-bezier-ease-in); - `)]),to("top-start",` - top: calc(${yn} / -2); - left: calc(${er("top-start")} - var(--v-offset-left)); - `),to("top",` - top: calc(${yn} / -2); - transform: translateX(calc(${yn} / -2)) rotate(45deg); + `)]),ro("top-start",` + top: calc(${vn} / -2); + left: calc(${nr("top-start")} - var(--v-offset-left)); + `),ro("top",` + top: calc(${vn} / -2); + transform: translateX(calc(${vn} / -2)) rotate(45deg); left: 50%; - `),to("top-end",` - top: calc(${yn} / -2); - right: calc(${er("top-end")} + var(--v-offset-left)); - `),to("bottom-start",` - bottom: calc(${yn} / -2); - left: calc(${er("bottom-start")} - var(--v-offset-left)); - `),to("bottom",` - bottom: calc(${yn} / -2); - transform: translateX(calc(${yn} / -2)) rotate(45deg); + `),ro("top-end",` + top: calc(${vn} / -2); + right: calc(${nr("top-end")} + var(--v-offset-left)); + `),ro("bottom-start",` + bottom: calc(${vn} / -2); + left: calc(${nr("bottom-start")} - var(--v-offset-left)); + `),ro("bottom",` + bottom: calc(${vn} / -2); + transform: translateX(calc(${vn} / -2)) rotate(45deg); left: 50%; - `),to("bottom-end",` - bottom: calc(${yn} / -2); - right: calc(${er("bottom-end")} + var(--v-offset-left)); - `),to("left-start",` - left: calc(${yn} / -2); - top: calc(${er("left-start")} - var(--v-offset-top)); - `),to("left",` - left: calc(${yn} / -2); - transform: translateY(calc(${yn} / -2)) rotate(45deg); + `),ro("bottom-end",` + bottom: calc(${vn} / -2); + right: calc(${nr("bottom-end")} + var(--v-offset-left)); + `),ro("left-start",` + left: calc(${vn} / -2); + top: calc(${nr("left-start")} - var(--v-offset-top)); + `),ro("left",` + left: calc(${vn} / -2); + transform: translateY(calc(${vn} / -2)) rotate(45deg); top: 50%; - `),to("left-end",` - left: calc(${yn} / -2); - bottom: calc(${er("left-end")} + var(--v-offset-top)); - `),to("right-start",` - right: calc(${yn} / -2); - top: calc(${er("right-start")} - var(--v-offset-top)); - `),to("right",` - right: calc(${yn} / -2); - transform: translateY(calc(${yn} / -2)) rotate(45deg); + `),ro("left-end",` + left: calc(${vn} / -2); + bottom: calc(${nr("left-end")} + var(--v-offset-top)); + `),ro("right-start",` + right: calc(${vn} / -2); + top: calc(${nr("right-start")} - var(--v-offset-top)); + `),ro("right",` + right: calc(${vn} / -2); + transform: translateY(calc(${vn} / -2)) rotate(45deg); top: 50%; - `),to("right-end",` - right: calc(${yn} / -2); - bottom: calc(${er("right-end")} + var(--v-offset-top)); - `),...zL({top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]},(e,t)=>{const n=["right","left"].includes(t),o=n?"width":"height";return e.map(r=>{const i=r.split("-")[1]==="end",s=`calc((${`var(--v-target-${o}, 0px)`} - ${yn}) / 2)`,l=er(r);return q(`[v-placement="${r}"] >`,[z("popover-shared",[Z("center-arrow",[z("popover-arrow",`${t}: calc(max(${s}, ${l}) ${i?"+":"-"} var(--v-offset-${n?"left":"top"}));`)])])])})})]);function er(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function to(e,t){const n=e.split("-")[0],o=["top","bottom"].includes(n)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return q(`[v-placement="${e}"] >`,[z("popover-shared",` - margin-${jd[n]}: var(--n-space); + `),ro("right-end",` + right: calc(${vn} / -2); + bottom: calc(${nr("right-end")} + var(--v-offset-top)); + `),...kF({top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]},(e,t)=>{const n=["right","left"].includes(t),o=n?"width":"height";return e.map(r=>{const i=r.split("-")[1]==="end",s=`calc((${`var(--v-target-${o}, 0px)`} - ${vn}) / 2)`,l=nr(r);return q(`[v-placement="${r}"] >`,[z("popover-shared",[Z("center-arrow",[z("popover-arrow",`${t}: calc(max(${s}, ${l}) ${i?"+":"-"} var(--v-offset-${n?"left":"top"}));`)])])])})})]);function nr(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function ro(e,t){const n=e.split("-")[0],o=["top","bottom"].includes(n)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return q(`[v-placement="${e}"] >`,[z("popover-shared",` + margin-${Qd[n]}: var(--n-space); `,[Z("show-arrow",` - margin-${jd[n]}: var(--n-space-arrow); + margin-${Qd[n]}: var(--n-space-arrow); `),Z("overlap",` margin: 0; - `),T6("popover-arrow-wrapper",` + `),v8("popover-arrow-wrapper",` right: 0; left: 0; top: 0; bottom: 0; ${n}: 100%; - ${jd[n]}: auto; + ${Qd[n]}: auto; ${o} - `,[z("popover-arrow",t)])])])}const R_=Object.assign(Object.assign({},Be.props),{to:Vo.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number}),E_=({arrowClass:e,arrowStyle:t,arrowWrapperClass:n,arrowWrapperStyle:o,clsPrefix:r})=>g("div",{key:"__popover-arrow__",style:o,class:[`${r}-popover-arrow-wrapper`,n]},g("div",{class:[`${r}-popover-arrow`,e],style:t})),QN=ve({name:"PopoverBody",inheritAttrs:!1,props:R_,setup(e,{slots:t,attrs:n}){const{namespaceRef:o,mergedClsPrefixRef:r,inlineThemeDisabled:i}=st(e),a=Be("Popover","-popover",JN,Ha,e,r),s=W(null),l=We("NPopover"),c=W(null),u=W(e.show),d=W(!1);Xt(()=>{const{show:y}=e;y&&!R6()&&!e.internalDeactivateImmediately&&(d.value=!0)});const f=L(()=>{const{trigger:y,onClickoutside:k}=e,P=[],{positionManuallyRef:{value:T}}=l;return T||(y==="click"&&!k&&P.push([Sa,S,void 0,{capture:!0}]),y==="hover"&&P.push([Y6,C])),k&&P.push([Sa,S,void 0,{capture:!0}]),(e.displayDirective==="show"||e.animated&&d.value)&&P.push([Mn,e.show]),P}),p=L(()=>{const y=e.width==="trigger"?void 0:qt(e.width),k=[];y&&k.push({width:y});const{maxWidth:P,minWidth:T}=e;return P&&k.push({maxWidth:qt(P)}),T&&k.push({maxWidth:qt(T)}),i||k.push(h.value),k}),h=L(()=>{const{common:{cubicBezierEaseInOut:y,cubicBezierEaseIn:k,cubicBezierEaseOut:P},self:{space:T,spaceArrow:$,padding:R,fontSize:K,textColor:j,dividerColor:D,color:M,boxShadow:Y,borderRadius:Q,arrowHeight:de,arrowOffset:pe,arrowOffsetVertical:B}}=a.value;return{"--n-box-shadow":Y,"--n-bezier":y,"--n-bezier-ease-in":k,"--n-bezier-ease-out":P,"--n-font-size":K,"--n-text-color":j,"--n-color":M,"--n-divider-color":D,"--n-border-radius":Q,"--n-arrow-height":de,"--n-arrow-offset":pe,"--n-arrow-offset-vertical":B,"--n-padding":R,"--n-space":T,"--n-space-arrow":$}}),m=i?kt("popover",void 0,h,e):void 0;l.setBodyInstance({syncPosition:v}),rn(()=>{l.setBodyInstance(null)}),ft(Ve(e,"show"),y=>{e.animated||(y?u.value=!0:u.value=!1)});function v(){var y;(y=s.value)===null||y===void 0||y.syncPosition()}function b(y){e.trigger==="hover"&&e.keepAliveOnHover&&e.show&&l.handleMouseEnter(y)}function w(y){e.trigger==="hover"&&e.keepAliveOnHover&&l.handleMouseLeave(y)}function C(y){e.trigger==="hover"&&!_().contains(ki(y))&&l.handleMouseMoveOutside(y)}function S(y){(e.trigger==="click"&&!_().contains(ki(y))||e.onClickoutside)&&l.handleClickOutside(y)}function _(){return l.getTriggerElement()}at(La,c),at(al,null),at(il,null);function x(){if(m==null||m.onRender(),!(e.displayDirective==="show"||e.show||e.animated&&d.value))return null;let k;const P=l.internalRenderBodyRef.value,{value:T}=r;if(P)k=P([`${T}-popover-shared`,m==null?void 0:m.themeClass.value,e.overlap&&`${T}-popover-shared--overlap`,e.showArrow&&`${T}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${T}-popover-shared--center-arrow`],c,p.value,b,w);else{const{value:$}=l.extraClassRef,{internalTrapFocus:R}=e,K=!fa(t.header)||!fa(t.footer),j=()=>{var D,M;const Y=K?g(rt,null,Et(t.header,pe=>pe?g("div",{class:[`${T}-popover__header`,e.headerClass],style:e.headerStyle},pe):null),Et(t.default,pe=>pe?g("div",{class:[`${T}-popover__content`,e.contentClass],style:e.contentStyle},t):null),Et(t.footer,pe=>pe?g("div",{class:[`${T}-popover__footer`,e.footerClass],style:e.footerStyle},pe):null)):e.scrollable?(D=t.default)===null||D===void 0?void 0:D.call(t):g("div",{class:[`${T}-popover__content`,e.contentClass],style:e.contentStyle},t),Q=e.scrollable?g(S_,{contentClass:K?void 0:`${T}-popover__content ${(M=e.contentClass)!==null&&M!==void 0?M:""}`,contentStyle:K?void 0:e.contentStyle},{default:()=>Y}):Y,de=e.showArrow?E_({arrowClass:e.arrowClass,arrowStyle:e.arrowStyle,arrowWrapperClass:e.arrowWrapperClass,arrowWrapperStyle:e.arrowWrapperStyle,clsPrefix:T}):null;return[Q,de]};k=g("div",Ln({class:[`${T}-popover`,`${T}-popover-shared`,m==null?void 0:m.themeClass.value,$.map(D=>`${T}-${D}`),{[`${T}-popover--scrollable`]:e.scrollable,[`${T}-popover--show-header-or-footer`]:K,[`${T}-popover--raw`]:e.raw,[`${T}-popover-shared--overlap`]:e.overlap,[`${T}-popover-shared--show-arrow`]:e.showArrow,[`${T}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:c,style:p.value,onKeydown:l.handleKeydown,onMouseenter:b,onMouseleave:w},n),R?g(Lp,{active:e.show,autoFocus:!0},{default:j}):j())}return dn(k,f.value)}return{displayed:d,namespace:o,isMounted:l.isMountedRef,zIndex:l.zIndexRef,followerRef:s,adjustedTo:Vo(e),followerEnabled:u,renderContentNode:x}},render(){return g(zp,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:this.width==="trigger"?"target":void 0,teleportDisabled:this.adjustedTo===Vo.tdkey},{default:()=>this.animated?g(fn,{name:"popover-transition",appear:this.isMounted,onEnter:()=>{this.followerEnabled=!0},onAfterLeave:()=>{var e;(e=this.internalOnAfterLeave)===null||e===void 0||e.call(this),this.followerEnabled=!1,this.displayed=!1}},{default:this.renderContentNode}):this.renderContentNode()})}}),eH=Object.keys(R_),tH={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};function nH(e,t,n){tH[t].forEach(o=>{e.props?e.props=Object.assign({},e.props):e.props={};const r=e.props[o],i=n[o];r?e.props[o]=(...a)=>{r(...a),i(...a)}:e.props[o]=i})}const Pa={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:Vo.propTo,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:()=>[]},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:()=>[]},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},oH=Object.assign(Object.assign(Object.assign({},Be.props),Pa),{internalOnAfterLeave:Function,internalRenderBody:Function}),dl=ve({name:"Popover",inheritAttrs:!1,props:oH,__popover__:!0,setup(e){const t=Xr(),n=W(null),o=L(()=>e.show),r=W(e.defaultShow),i=sn(o,r),a=St(()=>e.disabled?!1:i.value),s=()=>{if(e.disabled)return!0;const{getDisabled:D}=e;return!!(D!=null&&D())},l=()=>s()?!1:i.value,c=wu(e,["arrow","showArrow"]),u=L(()=>e.overlap?!1:c.value);let d=null;const f=W(null),p=W(null),h=St(()=>e.x!==void 0&&e.y!==void 0);function m(D){const{"onUpdate:show":M,onUpdateShow:Y,onShow:Q,onHide:de}=e;r.value=D,M&&Ee(M,D),Y&&Ee(Y,D),D&&Q&&Ee(Q,!0),D&&de&&Ee(de,!1)}function v(){d&&d.syncPosition()}function b(){const{value:D}=f;D&&(window.clearTimeout(D),f.value=null)}function w(){const{value:D}=p;D&&(window.clearTimeout(D),p.value=null)}function C(){const D=s();if(e.trigger==="focus"&&!D){if(l())return;m(!0)}}function S(){const D=s();if(e.trigger==="focus"&&!D){if(!l())return;m(!1)}}function _(){const D=s();if(e.trigger==="hover"&&!D){if(w(),f.value!==null||l())return;const M=()=>{m(!0),f.value=null},{delay:Y}=e;Y===0?M():f.value=window.setTimeout(M,Y)}}function x(){const D=s();if(e.trigger==="hover"&&!D){if(b(),p.value!==null||!l())return;const M=()=>{m(!1),p.value=null},{duration:Y}=e;Y===0?M():p.value=window.setTimeout(M,Y)}}function y(){x()}function k(D){var M;l()&&(e.trigger==="click"&&(b(),w(),m(!1)),(M=e.onClickoutside)===null||M===void 0||M.call(e,D))}function P(){if(e.trigger==="click"&&!s()){b(),w();const D=!l();m(D)}}function T(D){e.internalTrapFocus&&D.key==="Escape"&&(b(),w(),m(!1))}function $(D){r.value=D}function R(){var D;return(D=n.value)===null||D===void 0?void 0:D.targetRef}function K(D){d=D}return at("NPopover",{getTriggerElement:R,handleKeydown:T,handleMouseEnter:_,handleMouseLeave:x,handleClickOutside:k,handleMouseMoveOutside:y,setBodyInstance:K,positionManuallyRef:h,isMountedRef:t,zIndexRef:Ve(e,"zIndex"),extraClassRef:Ve(e,"internalExtraClass"),internalRenderBodyRef:Ve(e,"internalRenderBody")}),Xt(()=>{i.value&&s()&&m(!1)}),{binderInstRef:n,positionManually:h,mergedShowConsideringDisabledProp:a,uncontrolledShow:r,mergedShowArrow:u,getMergedShow:l,setShow:$,handleClick:P,handleMouseEnter:_,handleMouseLeave:x,handleFocus:C,handleBlur:S,syncPosition:v}},render(){var e;const{positionManually:t,$slots:n}=this;let o,r=!1;if(!t&&(n.activator?o=rh(n,"activator"):o=rh(n,"trigger"),o)){o=ao(o),o=o.type===$a?g("span",[o]):o;const i={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(!((e=o.type)===null||e===void 0)&&e.__popover__)r=!0,o.props||(o.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),o.props.internalSyncTargetWithParent=!0,o.props.internalInheritedEventHandlers?o.props.internalInheritedEventHandlers=[i,...o.props.internalInheritedEventHandlers]:o.props.internalInheritedEventHandlers=[i];else{const{internalInheritedEventHandlers:a}=this,s=[i,...a],l={onBlur:c=>{s.forEach(u=>{u.onBlur(c)})},onFocus:c=>{s.forEach(u=>{u.onFocus(c)})},onClick:c=>{s.forEach(u=>{u.onClick(c)})},onMouseenter:c=>{s.forEach(u=>{u.onMouseenter(c)})},onMouseleave:c=>{s.forEach(u=>{u.onMouseleave(c)})}};nH(o,a?"nested":t?"manual":this.trigger,l)}}return g(Ip,{ref:"binderInstRef",syncTarget:!r,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const i=this.getMergedShow();return[this.internalTrapFocus&&i?dn(g("div",{style:{position:"fixed",inset:0}}),[[_u,{enabled:i,zIndex:this.zIndex}]]):null,t?null:g(Op,null,{default:()=>o}),g(QN,Xn(this.$props,eH,Object.assign(Object.assign({},this.$attrs),{showArrow:this.mergedShowArrow,show:i})),{default:()=>{var a,s;return(s=(a=this.$slots).default)===null||s===void 0?void 0:s.call(a)},header:()=>{var a,s;return(s=(a=this.$slots).header)===null||s===void 0?void 0:s.call(a)},footer:()=>{var a,s;return(s=(a=this.$slots).footer)===null||s===void 0?void 0:s.call(a)}})]}})}}),$_={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px"},rH={name:"Tag",common:Ne,self(e){const{textColor2:t,primaryColorHover:n,primaryColorPressed:o,primaryColor:r,infoColor:i,successColor:a,warningColor:s,errorColor:l,baseColor:c,borderColor:u,tagColor:d,opacityDisabled:f,closeIconColor:p,closeIconColorHover:h,closeIconColorPressed:m,closeColorHover:v,closeColorPressed:b,borderRadiusSmall:w,fontSizeMini:C,fontSizeTiny:S,fontSizeSmall:_,fontSizeMedium:x,heightMini:y,heightTiny:k,heightSmall:P,heightMedium:T,buttonColor2Hover:$,buttonColor2Pressed:R,fontWeightStrong:K}=e;return Object.assign(Object.assign({},$_),{closeBorderRadius:w,heightTiny:y,heightSmall:k,heightMedium:P,heightLarge:T,borderRadius:w,opacityDisabled:f,fontSizeTiny:C,fontSizeSmall:S,fontSizeMedium:_,fontSizeLarge:x,fontWeightStrong:K,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:$,colorPressedCheckable:R,colorChecked:r,colorCheckedHover:n,colorCheckedPressed:o,border:`1px solid ${u}`,textColor:t,color:d,colorBordered:"#0000",closeIconColor:p,closeIconColorHover:h,closeIconColorPressed:m,closeColorHover:v,closeColorPressed:b,borderPrimary:`1px solid ${Me(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:Me(r,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:un(r,{lightness:.7}),closeIconColorHoverPrimary:un(r,{lightness:.7}),closeIconColorPressedPrimary:un(r,{lightness:.7}),closeColorHoverPrimary:Me(r,{alpha:.16}),closeColorPressedPrimary:Me(r,{alpha:.12}),borderInfo:`1px solid ${Me(i,{alpha:.3})}`,textColorInfo:i,colorInfo:Me(i,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:un(i,{alpha:.7}),closeIconColorHoverInfo:un(i,{alpha:.7}),closeIconColorPressedInfo:un(i,{alpha:.7}),closeColorHoverInfo:Me(i,{alpha:.16}),closeColorPressedInfo:Me(i,{alpha:.12}),borderSuccess:`1px solid ${Me(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:Me(a,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:un(a,{alpha:.7}),closeIconColorHoverSuccess:un(a,{alpha:.7}),closeIconColorPressedSuccess:un(a,{alpha:.7}),closeColorHoverSuccess:Me(a,{alpha:.16}),closeColorPressedSuccess:Me(a,{alpha:.12}),borderWarning:`1px solid ${Me(s,{alpha:.3})}`,textColorWarning:s,colorWarning:Me(s,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:un(s,{alpha:.7}),closeIconColorHoverWarning:un(s,{alpha:.7}),closeIconColorPressedWarning:un(s,{alpha:.7}),closeColorHoverWarning:Me(s,{alpha:.16}),closeColorPressedWarning:Me(s,{alpha:.11}),borderError:`1px solid ${Me(l,{alpha:.3})}`,textColorError:l,colorError:Me(l,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:un(l,{alpha:.7}),closeIconColorHoverError:un(l,{alpha:.7}),closeIconColorPressedError:un(l,{alpha:.7}),closeColorHoverError:Me(l,{alpha:.16}),closeColorPressedError:Me(l,{alpha:.12})})}},A_=rH,iH=e=>{const{textColor2:t,primaryColorHover:n,primaryColorPressed:o,primaryColor:r,infoColor:i,successColor:a,warningColor:s,errorColor:l,baseColor:c,borderColor:u,opacityDisabled:d,tagColor:f,closeIconColor:p,closeIconColorHover:h,closeIconColorPressed:m,borderRadiusSmall:v,fontSizeMini:b,fontSizeTiny:w,fontSizeSmall:C,fontSizeMedium:S,heightMini:_,heightTiny:x,heightSmall:y,heightMedium:k,closeColorHover:P,closeColorPressed:T,buttonColor2Hover:$,buttonColor2Pressed:R,fontWeightStrong:K}=e;return Object.assign(Object.assign({},$_),{closeBorderRadius:v,heightTiny:_,heightSmall:x,heightMedium:y,heightLarge:k,borderRadius:v,opacityDisabled:d,fontSizeTiny:b,fontSizeSmall:w,fontSizeMedium:C,fontSizeLarge:S,fontWeightStrong:K,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:$,colorPressedCheckable:R,colorChecked:r,colorCheckedHover:n,colorCheckedPressed:o,border:`1px solid ${u}`,textColor:t,color:f,colorBordered:"rgb(250, 250, 252)",closeIconColor:p,closeIconColorHover:h,closeIconColorPressed:m,closeColorHover:P,closeColorPressed:T,borderPrimary:`1px solid ${Me(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:Me(r,{alpha:.12}),colorBorderedPrimary:Me(r,{alpha:.1}),closeIconColorPrimary:r,closeIconColorHoverPrimary:r,closeIconColorPressedPrimary:r,closeColorHoverPrimary:Me(r,{alpha:.12}),closeColorPressedPrimary:Me(r,{alpha:.18}),borderInfo:`1px solid ${Me(i,{alpha:.3})}`,textColorInfo:i,colorInfo:Me(i,{alpha:.12}),colorBorderedInfo:Me(i,{alpha:.1}),closeIconColorInfo:i,closeIconColorHoverInfo:i,closeIconColorPressedInfo:i,closeColorHoverInfo:Me(i,{alpha:.12}),closeColorPressedInfo:Me(i,{alpha:.18}),borderSuccess:`1px solid ${Me(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:Me(a,{alpha:.12}),colorBorderedSuccess:Me(a,{alpha:.1}),closeIconColorSuccess:a,closeIconColorHoverSuccess:a,closeIconColorPressedSuccess:a,closeColorHoverSuccess:Me(a,{alpha:.12}),closeColorPressedSuccess:Me(a,{alpha:.18}),borderWarning:`1px solid ${Me(s,{alpha:.35})}`,textColorWarning:s,colorWarning:Me(s,{alpha:.15}),colorBorderedWarning:Me(s,{alpha:.12}),closeIconColorWarning:s,closeIconColorHoverWarning:s,closeIconColorPressedWarning:s,closeColorHoverWarning:Me(s,{alpha:.12}),closeColorPressedWarning:Me(s,{alpha:.18}),borderError:`1px solid ${Me(l,{alpha:.23})}`,textColorError:l,colorError:Me(l,{alpha:.1}),colorBorderedError:Me(l,{alpha:.08}),closeIconColorError:l,closeIconColorHoverError:l,closeIconColorPressedError:l,closeColorHoverError:Me(l,{alpha:.12}),closeColorPressedError:Me(l,{alpha:.18})})},aH={name:"Tag",common:bt,self:iH},sH=aH,lH={color:Object,type:{type:String,default:"default"},round:Boolean,size:{type:String,default:"medium"},closable:Boolean,disabled:{type:Boolean,default:void 0}},cH=z("tag",` + `,[z("popover-arrow",t)])])])}const t2=Object.assign(Object.assign({},Be.props),{to:qo.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number});function n2({arrowClass:e,arrowStyle:t,arrowWrapperClass:n,arrowWrapperStyle:o,clsPrefix:r}){return v("div",{key:"__popover-arrow__",style:o,class:[`${r}-popover-arrow-wrapper`,n]},v("div",{class:[`${r}-popover-arrow`,e],style:t}))}const WH=be({name:"PopoverBody",inheritAttrs:!1,props:t2,setup(e,{slots:t,attrs:n}){const{namespaceRef:o,mergedClsPrefixRef:r,inlineThemeDisabled:i}=st(e),a=Be("Popover","-popover",VH,Ka,e,r),s=W(null),l=Ue("NPopover"),c=W(null),u=W(e.show),d=W(!1);Xt(()=>{const{show:y}=e;y&&!b8()&&!e.internalDeactivateImmediately&&(d.value=!0)});const f=F(()=>{const{trigger:y,onClickoutside:P}=e,k=[],{positionManuallyRef:{value:T}}=l;return T||(y==="click"&&!P&&k.push([Ea,S,void 0,{capture:!0}]),y==="hover"&&k.push([B8,C])),P&&k.push([Ea,S,void 0,{capture:!0}]),(e.displayDirective==="show"||e.animated&&d.value)&&k.push([Mn,e.show]),k}),h=F(()=>{const{common:{cubicBezierEaseInOut:y,cubicBezierEaseIn:P,cubicBezierEaseOut:k},self:{space:T,spaceArrow:E,padding:R,fontSize:K,textColor:N,dividerColor:D,color:M,boxShadow:G,borderRadius:J,arrowHeight:he,arrowOffset:pe,arrowOffsetVertical:B}}=a.value;return{"--n-box-shadow":G,"--n-bezier":y,"--n-bezier-ease-in":P,"--n-bezier-ease-out":k,"--n-font-size":K,"--n-text-color":N,"--n-color":M,"--n-divider-color":D,"--n-border-radius":J,"--n-arrow-height":he,"--n-arrow-offset":pe,"--n-arrow-offset-vertical":B,"--n-padding":R,"--n-space":T,"--n-space-arrow":E}}),p=F(()=>{const y=e.width==="trigger"?void 0:qt(e.width),P=[];y&&P.push({width:y});const{maxWidth:k,minWidth:T}=e;return k&&P.push({maxWidth:qt(k)}),T&&P.push({maxWidth:qt(T)}),i||P.push(h.value),P}),g=i?Pt("popover",void 0,h,e):void 0;l.setBodyInstance({syncPosition:m}),on(()=>{l.setBodyInstance(null)}),ft(We(e,"show"),y=>{e.animated||(y?u.value=!0:u.value=!1)});function m(){var y;(y=s.value)===null||y===void 0||y.syncPosition()}function b(y){e.trigger==="hover"&&e.keepAliveOnHover&&e.show&&l.handleMouseEnter(y)}function _(y){e.trigger==="hover"&&e.keepAliveOnHover&&l.handleMouseLeave(y)}function C(y){e.trigger==="hover"&&!w().contains(Ai(y))&&l.handleMouseMoveOutside(y)}function S(y){(e.trigger==="click"&&!w().contains(Ai(y))||e.onClickoutside)&&l.handleClickOutside(y)}function w(){return l.getTriggerElement()}at(Va,c),at(ll,null),at(sl,null);function x(){if(g==null||g.onRender(),!(e.displayDirective==="show"||e.show||e.animated&&d.value))return null;let P;const k=l.internalRenderBodyRef.value,{value:T}=r;if(k)P=k([`${T}-popover-shared`,g==null?void 0:g.themeClass.value,e.overlap&&`${T}-popover-shared--overlap`,e.showArrow&&`${T}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${T}-popover-shared--center-arrow`],c,p.value,b,_);else{const{value:E}=l.extraClassRef,{internalTrapFocus:R}=e,K=!ga(t.header)||!ga(t.footer),N=()=>{var D,M;const G=K?v(it,null,$t(t.header,pe=>pe?v("div",{class:[`${T}-popover__header`,e.headerClass],style:e.headerStyle},pe):null),$t(t.default,pe=>pe?v("div",{class:[`${T}-popover__content`,e.contentClass],style:e.contentStyle},t):null),$t(t.footer,pe=>pe?v("div",{class:[`${T}-popover__footer`,e.footerClass],style:e.footerStyle},pe):null)):e.scrollable?(D=t.default)===null||D===void 0?void 0:D.call(t):v("div",{class:[`${T}-popover__content`,e.contentClass],style:e.contentStyle},t),J=e.scrollable?v(Z_,{contentClass:K?void 0:`${T}-popover__content ${(M=e.contentClass)!==null&&M!==void 0?M:""}`,contentStyle:K?void 0:e.contentStyle},{default:()=>G}):G,he=e.showArrow?n2({arrowClass:e.arrowClass,arrowStyle:e.arrowStyle,arrowWrapperClass:e.arrowWrapperClass,arrowWrapperStyle:e.arrowWrapperStyle,clsPrefix:T}):null;return[J,he]};P=v("div",Ln({class:[`${T}-popover`,`${T}-popover-shared`,g==null?void 0:g.themeClass.value,E.map(D=>`${T}-${D}`),{[`${T}-popover--scrollable`]:e.scrollable,[`${T}-popover--show-header-or-footer`]:K,[`${T}-popover--raw`]:e.raw,[`${T}-popover-shared--overlap`]:e.overlap,[`${T}-popover-shared--show-arrow`]:e.showArrow,[`${T}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:c,style:p.value,onKeydown:l.handleKeydown,onMouseenter:b,onMouseleave:_},n),R?v(Zp,{active:e.show,autoFocus:!0},{default:N}):N())}return dn(P,f.value)}return{displayed:d,namespace:o,isMounted:l.isMountedRef,zIndex:l.zIndexRef,followerRef:s,adjustedTo:qo(e),followerEnabled:u,renderContentNode:x}},render(){return v(Yp,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:this.width==="trigger"?"target":void 0,teleportDisabled:this.adjustedTo===qo.tdkey},{default:()=>this.animated?v(fn,{name:"popover-transition",appear:this.isMounted,onEnter:()=>{this.followerEnabled=!0},onAfterLeave:()=>{var e;(e=this.internalOnAfterLeave)===null||e===void 0||e.call(this),this.followerEnabled=!1,this.displayed=!1}},{default:this.renderContentNode}):this.renderContentNode()})}}),UH=Object.keys(t2),qH={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};function KH(e,t,n){qH[t].forEach(o=>{e.props?e.props=Object.assign({},e.props):e.props={};const r=e.props[o],i=n[o];r?e.props[o]=(...a)=>{r(...a),i(...a)}:e.props[o]=i})}const Aa={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:qo.propTo,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:()=>[]},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:()=>[]},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},GH=Object.assign(Object.assign(Object.assign({},Be.props),Aa),{internalOnAfterLeave:Function,internalRenderBody:Function}),hl=be({name:"Popover",inheritAttrs:!1,props:GH,__popover__:!0,setup(e){const t=Qr(),n=W(null),o=F(()=>e.show),r=W(e.defaultShow),i=an(o,r),a=kt(()=>e.disabled?!1:i.value),s=()=>{if(e.disabled)return!0;const{getDisabled:D}=e;return!!(D!=null&&D())},l=()=>s()?!1:i.value,c=Pu(e,["arrow","showArrow"]),u=F(()=>e.overlap?!1:c.value);let d=null;const f=W(null),h=W(null),p=kt(()=>e.x!==void 0&&e.y!==void 0);function g(D){const{"onUpdate:show":M,onUpdateShow:G,onShow:J,onHide:he}=e;r.value=D,M&&$e(M,D),G&&$e(G,D),D&&J&&$e(J,!0),D&&he&&$e(he,!1)}function m(){d&&d.syncPosition()}function b(){const{value:D}=f;D&&(window.clearTimeout(D),f.value=null)}function _(){const{value:D}=h;D&&(window.clearTimeout(D),h.value=null)}function C(){const D=s();if(e.trigger==="focus"&&!D){if(l())return;g(!0)}}function S(){const D=s();if(e.trigger==="focus"&&!D){if(!l())return;g(!1)}}function w(){const D=s();if(e.trigger==="hover"&&!D){if(_(),f.value!==null||l())return;const M=()=>{g(!0),f.value=null},{delay:G}=e;G===0?M():f.value=window.setTimeout(M,G)}}function x(){const D=s();if(e.trigger==="hover"&&!D){if(b(),h.value!==null||!l())return;const M=()=>{g(!1),h.value=null},{duration:G}=e;G===0?M():h.value=window.setTimeout(M,G)}}function y(){x()}function P(D){var M;l()&&(e.trigger==="click"&&(b(),_(),g(!1)),(M=e.onClickoutside)===null||M===void 0||M.call(e,D))}function k(){if(e.trigger==="click"&&!s()){b(),_();const D=!l();g(D)}}function T(D){e.internalTrapFocus&&D.key==="Escape"&&(b(),_(),g(!1))}function E(D){r.value=D}function R(){var D;return(D=n.value)===null||D===void 0?void 0:D.targetRef}function K(D){d=D}return at("NPopover",{getTriggerElement:R,handleKeydown:T,handleMouseEnter:w,handleMouseLeave:x,handleClickOutside:P,handleMouseMoveOutside:y,setBodyInstance:K,positionManuallyRef:p,isMountedRef:t,zIndexRef:We(e,"zIndex"),extraClassRef:We(e,"internalExtraClass"),internalRenderBodyRef:We(e,"internalRenderBody")}),Xt(()=>{i.value&&s()&&g(!1)}),{binderInstRef:n,positionManually:p,mergedShowConsideringDisabledProp:a,uncontrolledShow:r,mergedShowArrow:u,getMergedShow:l,setShow:E,handleClick:k,handleMouseEnter:w,handleMouseLeave:x,handleFocus:C,handleBlur:S,syncPosition:m}},render(){var e;const{positionManually:t,$slots:n}=this;let o,r=!1;if(!t&&(n.activator?o=vh(n,"activator"):o=vh(n,"trigger"),o)){o=uo(o),o=o.type===za?v("span",[o]):o;const i={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(!((e=o.type)===null||e===void 0)&&e.__popover__)r=!0,o.props||(o.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),o.props.internalSyncTargetWithParent=!0,o.props.internalInheritedEventHandlers?o.props.internalInheritedEventHandlers=[i,...o.props.internalInheritedEventHandlers]:o.props.internalInheritedEventHandlers=[i];else{const{internalInheritedEventHandlers:a}=this,s=[i,...a],l={onBlur:c=>{s.forEach(u=>{u.onBlur(c)})},onFocus:c=>{s.forEach(u=>{u.onFocus(c)})},onClick:c=>{s.forEach(u=>{u.onClick(c)})},onMouseenter:c=>{s.forEach(u=>{u.onMouseenter(c)})},onMouseleave:c=>{s.forEach(u=>{u.onMouseleave(c)})}};KH(o,a?"nested":t?"manual":this.trigger,l)}}return v(qp,{ref:"binderInstRef",syncTarget:!r,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const i=this.getMergedShow();return[this.internalTrapFocus&&i?dn(v("div",{style:{position:"fixed",inset:0}}),[[Tu,{enabled:i,zIndex:this.zIndex}]]):null,t?null:v(Kp,null,{default:()=>o}),v(WH,Qn(this.$props,UH,Object.assign(Object.assign({},this.$attrs),{showArrow:this.mergedShowArrow,show:i})),{default:()=>{var a,s;return(s=(a=this.$slots).default)===null||s===void 0?void 0:s.call(a)},header:()=>{var a,s;return(s=(a=this.$slots).header)===null||s===void 0?void 0:s.call(a)},footer:()=>{var a,s;return(s=(a=this.$slots).footer)===null||s===void 0?void 0:s.call(a)}})]}})}}),o2={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px"},YH={name:"Tag",common:je,self(e){const{textColor2:t,primaryColorHover:n,primaryColorPressed:o,primaryColor:r,infoColor:i,successColor:a,warningColor:s,errorColor:l,baseColor:c,borderColor:u,tagColor:d,opacityDisabled:f,closeIconColor:h,closeIconColorHover:p,closeIconColorPressed:g,closeColorHover:m,closeColorPressed:b,borderRadiusSmall:_,fontSizeMini:C,fontSizeTiny:S,fontSizeSmall:w,fontSizeMedium:x,heightMini:y,heightTiny:P,heightSmall:k,heightMedium:T,buttonColor2Hover:E,buttonColor2Pressed:R,fontWeightStrong:K}=e;return Object.assign(Object.assign({},o2),{closeBorderRadius:_,heightTiny:y,heightSmall:P,heightMedium:k,heightLarge:T,borderRadius:_,opacityDisabled:f,fontSizeTiny:C,fontSizeSmall:S,fontSizeMedium:w,fontSizeLarge:x,fontWeightStrong:K,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:E,colorPressedCheckable:R,colorChecked:r,colorCheckedHover:n,colorCheckedPressed:o,border:`1px solid ${u}`,textColor:t,color:d,colorBordered:"#0000",closeIconColor:h,closeIconColorHover:p,closeIconColorPressed:g,closeColorHover:m,closeColorPressed:b,borderPrimary:`1px solid ${Me(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:Me(r,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:un(r,{lightness:.7}),closeIconColorHoverPrimary:un(r,{lightness:.7}),closeIconColorPressedPrimary:un(r,{lightness:.7}),closeColorHoverPrimary:Me(r,{alpha:.16}),closeColorPressedPrimary:Me(r,{alpha:.12}),borderInfo:`1px solid ${Me(i,{alpha:.3})}`,textColorInfo:i,colorInfo:Me(i,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:un(i,{alpha:.7}),closeIconColorHoverInfo:un(i,{alpha:.7}),closeIconColorPressedInfo:un(i,{alpha:.7}),closeColorHoverInfo:Me(i,{alpha:.16}),closeColorPressedInfo:Me(i,{alpha:.12}),borderSuccess:`1px solid ${Me(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:Me(a,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:un(a,{alpha:.7}),closeIconColorHoverSuccess:un(a,{alpha:.7}),closeIconColorPressedSuccess:un(a,{alpha:.7}),closeColorHoverSuccess:Me(a,{alpha:.16}),closeColorPressedSuccess:Me(a,{alpha:.12}),borderWarning:`1px solid ${Me(s,{alpha:.3})}`,textColorWarning:s,colorWarning:Me(s,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:un(s,{alpha:.7}),closeIconColorHoverWarning:un(s,{alpha:.7}),closeIconColorPressedWarning:un(s,{alpha:.7}),closeColorHoverWarning:Me(s,{alpha:.16}),closeColorPressedWarning:Me(s,{alpha:.11}),borderError:`1px solid ${Me(l,{alpha:.3})}`,textColorError:l,colorError:Me(l,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:un(l,{alpha:.7}),closeIconColorHoverError:un(l,{alpha:.7}),closeIconColorPressedError:un(l,{alpha:.7}),closeColorHoverError:Me(l,{alpha:.16}),closeColorPressedError:Me(l,{alpha:.12})})}},r2=YH;function XH(e){const{textColor2:t,primaryColorHover:n,primaryColorPressed:o,primaryColor:r,infoColor:i,successColor:a,warningColor:s,errorColor:l,baseColor:c,borderColor:u,opacityDisabled:d,tagColor:f,closeIconColor:h,closeIconColorHover:p,closeIconColorPressed:g,borderRadiusSmall:m,fontSizeMini:b,fontSizeTiny:_,fontSizeSmall:C,fontSizeMedium:S,heightMini:w,heightTiny:x,heightSmall:y,heightMedium:P,closeColorHover:k,closeColorPressed:T,buttonColor2Hover:E,buttonColor2Pressed:R,fontWeightStrong:K}=e;return Object.assign(Object.assign({},o2),{closeBorderRadius:m,heightTiny:w,heightSmall:x,heightMedium:y,heightLarge:P,borderRadius:m,opacityDisabled:d,fontSizeTiny:b,fontSizeSmall:_,fontSizeMedium:C,fontSizeLarge:S,fontWeightStrong:K,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:E,colorPressedCheckable:R,colorChecked:r,colorCheckedHover:n,colorCheckedPressed:o,border:`1px solid ${u}`,textColor:t,color:f,colorBordered:"rgb(250, 250, 252)",closeIconColor:h,closeIconColorHover:p,closeIconColorPressed:g,closeColorHover:k,closeColorPressed:T,borderPrimary:`1px solid ${Me(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:Me(r,{alpha:.12}),colorBorderedPrimary:Me(r,{alpha:.1}),closeIconColorPrimary:r,closeIconColorHoverPrimary:r,closeIconColorPressedPrimary:r,closeColorHoverPrimary:Me(r,{alpha:.12}),closeColorPressedPrimary:Me(r,{alpha:.18}),borderInfo:`1px solid ${Me(i,{alpha:.3})}`,textColorInfo:i,colorInfo:Me(i,{alpha:.12}),colorBorderedInfo:Me(i,{alpha:.1}),closeIconColorInfo:i,closeIconColorHoverInfo:i,closeIconColorPressedInfo:i,closeColorHoverInfo:Me(i,{alpha:.12}),closeColorPressedInfo:Me(i,{alpha:.18}),borderSuccess:`1px solid ${Me(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:Me(a,{alpha:.12}),colorBorderedSuccess:Me(a,{alpha:.1}),closeIconColorSuccess:a,closeIconColorHoverSuccess:a,closeIconColorPressedSuccess:a,closeColorHoverSuccess:Me(a,{alpha:.12}),closeColorPressedSuccess:Me(a,{alpha:.18}),borderWarning:`1px solid ${Me(s,{alpha:.35})}`,textColorWarning:s,colorWarning:Me(s,{alpha:.15}),colorBorderedWarning:Me(s,{alpha:.12}),closeIconColorWarning:s,closeIconColorHoverWarning:s,closeIconColorPressedWarning:s,closeColorHoverWarning:Me(s,{alpha:.12}),closeColorPressedWarning:Me(s,{alpha:.18}),borderError:`1px solid ${Me(l,{alpha:.23})}`,textColorError:l,colorError:Me(l,{alpha:.1}),colorBorderedError:Me(l,{alpha:.08}),closeIconColorError:l,closeIconColorHoverError:l,closeIconColorPressedError:l,closeColorHoverError:Me(l,{alpha:.12}),closeColorPressedError:Me(l,{alpha:.18})})}const ZH={name:"Tag",common:xt,self:XH},JH=ZH,QH={color:Object,type:{type:String,default:"default"},round:Boolean,size:{type:String,default:"medium"},closable:Boolean,disabled:{type:Boolean,default:void 0}},ej=z("tag",` --n-close-margin: var(--n-close-margin-top) var(--n-close-margin-right) var(--n-close-margin-bottom) var(--n-close-margin-left); white-space: nowrap; position: relative; @@ -536,10 +533,10 @@ ${t} box-shadow: none; color: var(--n-text-color-checkable); background-color: var(--n-color-checkable); - `,[Tt("disabled",[q("&:hover","background-color: var(--n-color-hover-checkable);",[Tt("checked","color: var(--n-text-color-hover-checkable);")]),q("&:active","background-color: var(--n-color-pressed-checkable);",[Tt("checked","color: var(--n-text-color-pressed-checkable);")])]),Z("checked",` + `,[Rt("disabled",[q("&:hover","background-color: var(--n-color-hover-checkable);",[Rt("checked","color: var(--n-text-color-hover-checkable);")]),q("&:active","background-color: var(--n-color-pressed-checkable);",[Rt("checked","color: var(--n-text-color-pressed-checkable);")])]),Z("checked",` color: var(--n-text-color-checked); background-color: var(--n-color-checked); - `,[Tt("disabled",[q("&:hover","background-color: var(--n-color-checked-hover);"),q("&:active","background-color: var(--n-color-checked-pressed);")])])])]),uH=Object.assign(Object.assign(Object.assign({},Be.props),lH),{bordered:{type:Boolean,default:void 0},checked:Boolean,checkable:Boolean,strong:Boolean,triggerClickOnClose:Boolean,onClose:[Array,Function],onMouseenter:Function,onMouseleave:Function,"onUpdate:checked":Function,onUpdateChecked:Function,internalCloseFocusable:{type:Boolean,default:!0},internalCloseIsButtonTag:{type:Boolean,default:!0},onCheckedChange:Function}),dH="n-tag",_i=ve({name:"Tag",props:uH,setup(e){const t=W(null),{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:i}=st(e),a=Be("Tag","-tag",cH,sH,e,o);at(dH,{roundRef:Ve(e,"round")});function s(p){if(!e.disabled&&e.checkable){const{checked:h,onCheckedChange:m,onUpdateChecked:v,"onUpdate:checked":b}=e;v&&v(!h),b&&b(!h),m&&m(!h)}}function l(p){if(e.triggerClickOnClose||p.stopPropagation(),!e.disabled){const{onClose:h}=e;h&&Ee(h,p)}}const c={setTextContent(p){const{value:h}=t;h&&(h.textContent=p)}},u=pn("Tag",i,o),d=L(()=>{const{type:p,size:h,color:{color:m,textColor:v}={}}=e,{common:{cubicBezierEaseInOut:b},self:{padding:w,closeMargin:C,borderRadius:S,opacityDisabled:_,textColorCheckable:x,textColorHoverCheckable:y,textColorPressedCheckable:k,textColorChecked:P,colorCheckable:T,colorHoverCheckable:$,colorPressedCheckable:R,colorChecked:K,colorCheckedHover:j,colorCheckedPressed:D,closeBorderRadius:M,fontWeightStrong:Y,[Te("colorBordered",p)]:Q,[Te("closeSize",h)]:de,[Te("closeIconSize",h)]:pe,[Te("fontSize",h)]:B,[Te("height",h)]:E,[Te("color",p)]:A,[Te("textColor",p)]:G,[Te("border",p)]:oe,[Te("closeIconColor",p)]:fe,[Te("closeIconColorHover",p)]:J,[Te("closeIconColorPressed",p)]:xe,[Te("closeColorHover",p)]:N,[Te("closeColorPressed",p)]:be}}=a.value,Oe=_o(C);return{"--n-font-weight-strong":Y,"--n-avatar-size-override":`calc(${E} - 8px)`,"--n-bezier":b,"--n-border-radius":S,"--n-border":oe,"--n-close-icon-size":pe,"--n-close-color-pressed":be,"--n-close-color-hover":N,"--n-close-border-radius":M,"--n-close-icon-color":fe,"--n-close-icon-color-hover":J,"--n-close-icon-color-pressed":xe,"--n-close-icon-color-disabled":fe,"--n-close-margin-top":Oe.top,"--n-close-margin-right":Oe.right,"--n-close-margin-bottom":Oe.bottom,"--n-close-margin-left":Oe.left,"--n-close-size":de,"--n-color":m||(n.value?Q:A),"--n-color-checkable":T,"--n-color-checked":K,"--n-color-checked-hover":j,"--n-color-checked-pressed":D,"--n-color-hover-checkable":$,"--n-color-pressed-checkable":R,"--n-font-size":B,"--n-height":E,"--n-opacity-disabled":_,"--n-padding":w,"--n-text-color":v||G,"--n-text-color-checkable":x,"--n-text-color-checked":P,"--n-text-color-hover-checkable":y,"--n-text-color-pressed-checkable":k}}),f=r?kt("tag",L(()=>{let p="";const{type:h,size:m,color:{color:v,textColor:b}={}}=e;return p+=h[0],p+=m[0],v&&(p+=`a${Pc(v)}`),b&&(p+=`b${Pc(b)}`),n.value&&(p+="c"),p}),d,e):void 0;return Object.assign(Object.assign({},c),{rtlEnabled:u,mergedClsPrefix:o,contentRef:t,mergedBordered:n,handleClick:s,handleCloseClick:l,cssVars:r?void 0:d,themeClass:f==null?void 0:f.themeClass,onRender:f==null?void 0:f.onRender})},render(){var e,t;const{mergedClsPrefix:n,rtlEnabled:o,closable:r,color:{borderColor:i}={},round:a,onRender:s,$slots:l}=this;s==null||s();const c=Et(l.avatar,d=>d&&g("div",{class:`${n}-tag__avatar`},d)),u=Et(l.icon,d=>d&&g("div",{class:`${n}-tag__icon`},d));return g("div",{class:[`${n}-tag`,this.themeClass,{[`${n}-tag--rtl`]:o,[`${n}-tag--strong`]:this.strong,[`${n}-tag--disabled`]:this.disabled,[`${n}-tag--checkable`]:this.checkable,[`${n}-tag--checked`]:this.checkable&&this.checked,[`${n}-tag--round`]:a,[`${n}-tag--avatar`]:c,[`${n}-tag--icon`]:u,[`${n}-tag--closable`]:r}],style:this.cssVars,onClick:this.handleClick,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},u||c,g("span",{class:`${n}-tag__content`,ref:"contentRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)),!this.checkable&&r?g(Hi,{clsPrefix:n,class:`${n}-tag__close`,disabled:this.disabled,onClick:this.handleCloseClick,focusable:this.internalCloseFocusable,round:a,isButtonTag:this.internalCloseIsButtonTag,absolute:!0}):null,!this.checkable&&this.mergedBordered?g("div",{class:`${n}-tag__border`,style:{borderColor:i}}):null)}}),fH=z("base-clear",` + `,[Rt("disabled",[q("&:hover","background-color: var(--n-color-checked-hover);"),q("&:active","background-color: var(--n-color-checked-pressed);")])])])]),tj=Object.assign(Object.assign(Object.assign({},Be.props),QH),{bordered:{type:Boolean,default:void 0},checked:Boolean,checkable:Boolean,strong:Boolean,triggerClickOnClose:Boolean,onClose:[Array,Function],onMouseenter:Function,onMouseleave:Function,"onUpdate:checked":Function,onUpdateChecked:Function,internalCloseFocusable:{type:Boolean,default:!0},internalCloseIsButtonTag:{type:Boolean,default:!0},onCheckedChange:Function}),nj="n-tag",Ti=be({name:"Tag",props:tj,setup(e){const t=W(null),{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:i}=st(e),a=Be("Tag","-tag",ej,JH,e,o);at(nj,{roundRef:We(e,"round")});function s(){if(!e.disabled&&e.checkable){const{checked:h,onCheckedChange:p,onUpdateChecked:g,"onUpdate:checked":m}=e;g&&g(!h),m&&m(!h),p&&p(!h)}}function l(h){if(e.triggerClickOnClose||h.stopPropagation(),!e.disabled){const{onClose:p}=e;p&&$e(p,h)}}const c={setTextContent(h){const{value:p}=t;p&&(p.textContent=h)}},u=pn("Tag",i,o),d=F(()=>{const{type:h,size:p,color:{color:g,textColor:m}={}}=e,{common:{cubicBezierEaseInOut:b},self:{padding:_,closeMargin:C,borderRadius:S,opacityDisabled:w,textColorCheckable:x,textColorHoverCheckable:y,textColorPressedCheckable:P,textColorChecked:k,colorCheckable:T,colorHoverCheckable:E,colorPressedCheckable:R,colorChecked:K,colorCheckedHover:N,colorCheckedPressed:D,closeBorderRadius:M,fontWeightStrong:G,[Re("colorBordered",h)]:J,[Re("closeSize",p)]:he,[Re("closeIconSize",p)]:pe,[Re("fontSize",p)]:B,[Re("height",p)]:$,[Re("color",h)]:A,[Re("textColor",h)]:Y,[Re("border",h)]:ne,[Re("closeIconColor",h)]:fe,[Re("closeIconColorHover",h)]:Q,[Re("closeIconColorPressed",h)]:xe,[Re("closeColorHover",h)]:H,[Re("closeColorPressed",h)]:ye}}=a.value,Oe=lo(C);return{"--n-font-weight-strong":G,"--n-avatar-size-override":`calc(${$} - 8px)`,"--n-bezier":b,"--n-border-radius":S,"--n-border":ne,"--n-close-icon-size":pe,"--n-close-color-pressed":ye,"--n-close-color-hover":H,"--n-close-border-radius":M,"--n-close-icon-color":fe,"--n-close-icon-color-hover":Q,"--n-close-icon-color-pressed":xe,"--n-close-icon-color-disabled":fe,"--n-close-margin-top":Oe.top,"--n-close-margin-right":Oe.right,"--n-close-margin-bottom":Oe.bottom,"--n-close-margin-left":Oe.left,"--n-close-size":he,"--n-color":g||(n.value?J:A),"--n-color-checkable":T,"--n-color-checked":K,"--n-color-checked-hover":N,"--n-color-checked-pressed":D,"--n-color-hover-checkable":E,"--n-color-pressed-checkable":R,"--n-font-size":B,"--n-height":$,"--n-opacity-disabled":w,"--n-padding":_,"--n-text-color":m||Y,"--n-text-color-checkable":x,"--n-text-color-checked":k,"--n-text-color-hover-checkable":y,"--n-text-color-pressed-checkable":P}}),f=r?Pt("tag",F(()=>{let h="";const{type:p,size:g,color:{color:m,textColor:b}={}}=e;return h+=p[0],h+=g[0],m&&(h+=`a${Ec(m)}`),b&&(h+=`b${Ec(b)}`),n.value&&(h+="c"),h}),d,e):void 0;return Object.assign(Object.assign({},c),{rtlEnabled:u,mergedClsPrefix:o,contentRef:t,mergedBordered:n,handleClick:s,handleCloseClick:l,cssVars:r?void 0:d,themeClass:f==null?void 0:f.themeClass,onRender:f==null?void 0:f.onRender})},render(){var e,t;const{mergedClsPrefix:n,rtlEnabled:o,closable:r,color:{borderColor:i}={},round:a,onRender:s,$slots:l}=this;s==null||s();const c=$t(l.avatar,d=>d&&v("div",{class:`${n}-tag__avatar`},d)),u=$t(l.icon,d=>d&&v("div",{class:`${n}-tag__icon`},d));return v("div",{class:[`${n}-tag`,this.themeClass,{[`${n}-tag--rtl`]:o,[`${n}-tag--strong`]:this.strong,[`${n}-tag--disabled`]:this.disabled,[`${n}-tag--checkable`]:this.checkable,[`${n}-tag--checked`]:this.checkable&&this.checked,[`${n}-tag--round`]:a,[`${n}-tag--avatar`]:c,[`${n}-tag--icon`]:u,[`${n}-tag--closable`]:r}],style:this.cssVars,onClick:this.handleClick,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},u||c,v("span",{class:`${n}-tag__content`,ref:"contentRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)),!this.checkable&&r?v(qi,{clsPrefix:n,class:`${n}-tag__close`,disabled:this.disabled,onClick:this.handleCloseClick,focusable:this.internalCloseFocusable,round:a,isButtonTag:this.internalCloseIsButtonTag,absolute:!0}):null,!this.checkable&&this.mergedBordered?v("div",{class:`${n}-tag__border`,style:{borderColor:i}}):null)}}),oj=z("base-clear",` flex-shrink: 0; height: 1em; width: 1em; @@ -563,7 +560,7 @@ ${t} left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); - `,[qn({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),Sh=ve({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup(e){return Zr("-base-clear",fH,Ve(e,"clsPrefix")),{handleMouseDown(t){t.preventDefault()}}},render(){const{clsPrefix:e}=this;return g("div",{class:`${e}-base-clear`},g(Ni,null,{default:()=>{var t,n;return this.show?g("div",{key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},An(this.$slots.icon,()=>[g(Ut,{clsPrefix:e},{default:()=>g(GB,null)})])):g("div",{key:"icon",class:`${e}-base-clear__placeholder`},(n=(t=this.$slots).placeholder)===null||n===void 0?void 0:n.call(t))}}))}}),I_=ve({name:"InternalSelectionSuffix",props:{clsPrefix:{type:String,required:!0},showArrow:{type:Boolean,default:void 0},showClear:{type:Boolean,default:void 0},loading:{type:Boolean,default:!1},onClear:Function},setup(e,{slots:t}){return()=>{const{clsPrefix:n}=e;return g(Jr,{clsPrefix:n,class:`${n}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?g(Sh,{clsPrefix:n,show:e.showClear,onClear:e.onClear},{placeholder:()=>g(Ut,{clsPrefix:n,class:`${n}-base-suffix__arrow`},{default:()=>An(t.default,()=>[g(m_,null)])})}):null})}}}),O_={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"},hH=e=>{const{borderRadius:t,textColor2:n,textColorDisabled:o,inputColor:r,inputColorDisabled:i,primaryColor:a,primaryColorHover:s,warningColor:l,warningColorHover:c,errorColor:u,errorColorHover:d,borderColor:f,iconColor:p,iconColorDisabled:h,clearColor:m,clearColorHover:v,clearColorPressed:b,placeholderColor:w,placeholderColorDisabled:C,fontSizeTiny:S,fontSizeSmall:_,fontSizeMedium:x,fontSizeLarge:y,heightTiny:k,heightSmall:P,heightMedium:T,heightLarge:$}=e;return Object.assign(Object.assign({},O_),{fontSizeTiny:S,fontSizeSmall:_,fontSizeMedium:x,fontSizeLarge:y,heightTiny:k,heightSmall:P,heightMedium:T,heightLarge:$,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:w,placeholderColorDisabled:C,color:r,colorDisabled:i,colorActive:r,border:`1px solid ${f}`,borderHover:`1px solid ${s}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 0 2px ${Me(a,{alpha:.2})}`,boxShadowFocus:`0 0 0 2px ${Me(a,{alpha:.2})}`,caretColor:a,arrowColor:p,arrowColorDisabled:h,loadingColor:a,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${c}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 0 2px ${Me(l,{alpha:.2})}`,boxShadowFocusWarning:`0 0 0 2px ${Me(l,{alpha:.2})}`,colorActiveWarning:r,caretColorWarning:l,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,borderActiveError:`1px solid ${u}`,borderFocusError:`1px solid ${d}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 0 2px ${Me(u,{alpha:.2})}`,boxShadowFocusError:`0 0 0 2px ${Me(u,{alpha:.2})}`,colorActiveError:r,caretColorError:u,clearColor:m,clearColorHover:v,clearColorPressed:b})},pH={name:"InternalSelection",common:bt,peers:{Popover:Ha},self:hH},M_=pH,mH={name:"InternalSelection",common:Ne,peers:{Popover:Wi},self(e){const{borderRadius:t,textColor2:n,textColorDisabled:o,inputColor:r,inputColorDisabled:i,primaryColor:a,primaryColorHover:s,warningColor:l,warningColorHover:c,errorColor:u,errorColorHover:d,iconColor:f,iconColorDisabled:p,clearColor:h,clearColorHover:m,clearColorPressed:v,placeholderColor:b,placeholderColorDisabled:w,fontSizeTiny:C,fontSizeSmall:S,fontSizeMedium:_,fontSizeLarge:x,heightTiny:y,heightSmall:k,heightMedium:P,heightLarge:T}=e;return Object.assign(Object.assign({},O_),{fontSizeTiny:C,fontSizeSmall:S,fontSizeMedium:_,fontSizeLarge:x,heightTiny:y,heightSmall:k,heightMedium:P,heightLarge:T,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:b,placeholderColorDisabled:w,color:r,colorDisabled:i,colorActive:Me(a,{alpha:.1}),border:"1px solid #0000",borderHover:`1px solid ${s}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 8px 0 ${Me(a,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${Me(a,{alpha:.4})}`,caretColor:a,arrowColor:f,arrowColorDisabled:p,loadingColor:a,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${c}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 8px 0 ${Me(l,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${Me(l,{alpha:.4})}`,colorActiveWarning:Me(l,{alpha:.1}),caretColorWarning:l,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,borderActiveError:`1px solid ${u}`,borderFocusError:`1px solid ${d}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 8px 0 ${Me(u,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${Me(u,{alpha:.4})}`,colorActiveError:Me(u,{alpha:.1}),caretColorError:u,clearColor:h,clearColorHover:m,clearColorPressed:v})}},tm=mH,gH=q([z("base-selection",` + `,[qn({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),Lh=be({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup(e){return ei("-base-clear",oj,We(e,"clsPrefix")),{handleMouseDown(t){t.preventDefault()}}},render(){const{clsPrefix:e}=this;return v("div",{class:`${e}-base-clear`},v(Ui,null,{default:()=>{var t,n;return this.show?v("div",{key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},An(this.$slots.icon,()=>[v(Ut,{clsPrefix:e},{default:()=>v(FN,null)})])):v("div",{key:"icon",class:`${e}-base-clear__placeholder`},(n=(t=this.$slots).placeholder)===null||n===void 0?void 0:n.call(t))}}))}}),i2=be({name:"InternalSelectionSuffix",props:{clsPrefix:{type:String,required:!0},showArrow:{type:Boolean,default:void 0},showClear:{type:Boolean,default:void 0},loading:{type:Boolean,default:!1},onClear:Function},setup(e,{slots:t}){return()=>{const{clsPrefix:n}=e;return v(ti,{clsPrefix:n,class:`${n}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?v(Lh,{clsPrefix:n,show:e.showClear,onClear:e.onClear},{placeholder:()=>v(Ut,{clsPrefix:n,class:`${n}-base-suffix__arrow`},{default:()=>An(t.default,()=>[v(j_,null)])})}):null})}}}),a2={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"};function rj(e){const{borderRadius:t,textColor2:n,textColorDisabled:o,inputColor:r,inputColorDisabled:i,primaryColor:a,primaryColorHover:s,warningColor:l,warningColorHover:c,errorColor:u,errorColorHover:d,borderColor:f,iconColor:h,iconColorDisabled:p,clearColor:g,clearColorHover:m,clearColorPressed:b,placeholderColor:_,placeholderColorDisabled:C,fontSizeTiny:S,fontSizeSmall:w,fontSizeMedium:x,fontSizeLarge:y,heightTiny:P,heightSmall:k,heightMedium:T,heightLarge:E}=e;return Object.assign(Object.assign({},a2),{fontSizeTiny:S,fontSizeSmall:w,fontSizeMedium:x,fontSizeLarge:y,heightTiny:P,heightSmall:k,heightMedium:T,heightLarge:E,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:_,placeholderColorDisabled:C,color:r,colorDisabled:i,colorActive:r,border:`1px solid ${f}`,borderHover:`1px solid ${s}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 0 2px ${Me(a,{alpha:.2})}`,boxShadowFocus:`0 0 0 2px ${Me(a,{alpha:.2})}`,caretColor:a,arrowColor:h,arrowColorDisabled:p,loadingColor:a,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${c}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 0 2px ${Me(l,{alpha:.2})}`,boxShadowFocusWarning:`0 0 0 2px ${Me(l,{alpha:.2})}`,colorActiveWarning:r,caretColorWarning:l,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,borderActiveError:`1px solid ${u}`,borderFocusError:`1px solid ${d}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 0 2px ${Me(u,{alpha:.2})}`,boxShadowFocusError:`0 0 0 2px ${Me(u,{alpha:.2})}`,colorActiveError:r,caretColorError:u,clearColor:g,clearColorHover:m,clearColorPressed:b})}const ij={name:"InternalSelection",common:xt,peers:{Popover:Ka},self:rj},s2=ij,aj={name:"InternalSelection",common:je,peers:{Popover:Yi},self(e){const{borderRadius:t,textColor2:n,textColorDisabled:o,inputColor:r,inputColorDisabled:i,primaryColor:a,primaryColorHover:s,warningColor:l,warningColorHover:c,errorColor:u,errorColorHover:d,iconColor:f,iconColorDisabled:h,clearColor:p,clearColorHover:g,clearColorPressed:m,placeholderColor:b,placeholderColorDisabled:_,fontSizeTiny:C,fontSizeSmall:S,fontSizeMedium:w,fontSizeLarge:x,heightTiny:y,heightSmall:P,heightMedium:k,heightLarge:T}=e;return Object.assign(Object.assign({},a2),{fontSizeTiny:C,fontSizeSmall:S,fontSizeMedium:w,fontSizeLarge:x,heightTiny:y,heightSmall:P,heightMedium:k,heightLarge:T,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:b,placeholderColorDisabled:_,color:r,colorDisabled:i,colorActive:Me(a,{alpha:.1}),border:"1px solid #0000",borderHover:`1px solid ${s}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 8px 0 ${Me(a,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${Me(a,{alpha:.4})}`,caretColor:a,arrowColor:f,arrowColorDisabled:h,loadingColor:a,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${c}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 8px 0 ${Me(l,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${Me(l,{alpha:.4})}`,colorActiveWarning:Me(l,{alpha:.1}),caretColorWarning:l,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,borderActiveError:`1px solid ${u}`,borderFocusError:`1px solid ${d}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 8px 0 ${Me(u,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${Me(u,{alpha:.4})}`,colorActiveError:Me(u,{alpha:.1}),caretColorError:u,clearColor:p,clearColorHover:g,clearColorPressed:m})}},mm=aj,sj=q([z("base-selection",` --n-padding-single: var(--n-padding-single-top) var(--n-padding-single-right) var(--n-padding-single-bottom) var(--n-padding-single-left); --n-padding-multiple: var(--n-padding-multiple-top) var(--n-padding-multiple-right) var(--n-padding-multiple-bottom) var(--n-padding-multiple-left); position: relative; @@ -680,7 +677,7 @@ ${t} white-space: nowrap; `)]),V("render-label",` color: var(--n-text-color); - `)]),Tt("disabled",[q("&:hover",[V("state-border",` + `)]),Rt("disabled",[q("&:hover",[V("state-border",` box-shadow: var(--n-box-shadow-hover); border: var(--n-border-hover); `)]),Z("focus",[V("state-border",` @@ -738,7 +735,7 @@ ${t} user-select: none; -webkit-user-select: none; opacity: 0; - `)]),["warning","error"].map(e=>Z(`${e}-status`,[V("state-border",`border: var(--n-border-${e});`),Tt("disabled",[q("&:hover",[V("state-border",` + `)]),["warning","error"].map(e=>Z(`${e}-status`,[V("state-border",`border: var(--n-border-${e});`),Rt("disabled",[q("&:hover",[V("state-border",` box-shadow: var(--n-box-shadow-hover-${e}); border: var(--n-border-hover-${e}); `)]),Z("active",[V("state-border",` @@ -763,47 +760,47 @@ ${t} line-height: 1.25; text-overflow: ellipsis; overflow: hidden; - `)])])]),vH=ve({name:"InternalSelection",props:Object.assign(Object.assign({},Be.props),{clsPrefix:{type:String,required:!0},bordered:{type:Boolean,default:void 0},active:Boolean,pattern:{type:String,default:""},placeholder:String,selectedOption:{type:Object,default:null},selectedOptions:{type:Array,default:null},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},multiple:Boolean,filterable:Boolean,clearable:Boolean,disabled:Boolean,size:{type:String,default:"medium"},loading:Boolean,autofocus:Boolean,showArrow:{type:Boolean,default:!0},inputProps:Object,focused:Boolean,renderTag:Function,onKeydown:Function,onClick:Function,onBlur:Function,onFocus:Function,onDeleteOption:Function,maxTagCount:[String,Number],ellipsisTagPopoverProps:Object,onClear:Function,onPatternInput:Function,onPatternFocus:Function,onPatternBlur:Function,renderLabel:Function,status:String,inlineThemeDisabled:Boolean,ignoreComposition:{type:Boolean,default:!0},onResize:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=st(e),o=pn("InternalSelection",n,t),r=W(null),i=W(null),a=W(null),s=W(null),l=W(null),c=W(null),u=W(null),d=W(null),f=W(null),p=W(null),h=W(!1),m=W(!1),v=W(!1),b=Be("InternalSelection","-internal-selection",gH,M_,e,Ve(e,"clsPrefix")),w=L(()=>e.clearable&&!e.disabled&&(v.value||e.active)),C=L(()=>e.selectedOption?e.renderTag?e.renderTag({option:e.selectedOption,handleClose:()=>{}}):e.renderLabel?e.renderLabel(e.selectedOption,!0):Wt(e.selectedOption[e.labelField],e.selectedOption,!0):e.placeholder),S=L(()=>{const ae=e.selectedOption;if(ae)return ae[e.labelField]}),_=L(()=>e.multiple?!!(Array.isArray(e.selectedOptions)&&e.selectedOptions.length):e.selectedOption!==null);function x(){var ae;const{value:he}=r;if(he){const{value:ne}=i;ne&&(ne.style.width=`${he.offsetWidth}px`,e.maxTagCount!=="responsive"&&((ae=f.value)===null||ae===void 0||ae.sync({showAllItemsBeforeCalculate:!1})))}}function y(){const{value:ae}=p;ae&&(ae.style.display="none")}function k(){const{value:ae}=p;ae&&(ae.style.display="inline-block")}ft(Ve(e,"active"),ae=>{ae||y()}),ft(Ve(e,"pattern"),()=>{e.multiple&&Ht(x)});function P(ae){const{onFocus:he}=e;he&&he(ae)}function T(ae){const{onBlur:he}=e;he&&he(ae)}function $(ae){const{onDeleteOption:he}=e;he&&he(ae)}function R(ae){const{onClear:he}=e;he&&he(ae)}function K(ae){const{onPatternInput:he}=e;he&&he(ae)}function j(ae){var he;(!ae.relatedTarget||!(!((he=a.value)===null||he===void 0)&&he.contains(ae.relatedTarget)))&&P(ae)}function D(ae){var he;!((he=a.value)===null||he===void 0)&&he.contains(ae.relatedTarget)||T(ae)}function M(ae){R(ae)}function Y(){v.value=!0}function Q(){v.value=!1}function de(ae){!e.active||!e.filterable||ae.target!==i.value&&ae.preventDefault()}function pe(ae){$(ae)}function B(ae){if(ae.key==="Backspace"&&!E.value&&!e.pattern.length){const{selectedOptions:he}=e;he!=null&&he.length&&pe(he[he.length-1])}}const E=W(!1);let A=null;function G(ae){const{value:he}=r;if(he){const ne=ae.target.value;he.textContent=ne,x()}e.ignoreComposition&&E.value?A=ae:K(ae)}function oe(){E.value=!0}function fe(){E.value=!1,e.ignoreComposition&&K(A),A=null}function J(ae){var he;m.value=!0,(he=e.onPatternFocus)===null||he===void 0||he.call(e,ae)}function xe(ae){var he;m.value=!1,(he=e.onPatternBlur)===null||he===void 0||he.call(e,ae)}function N(){var ae,he;if(e.filterable)m.value=!1,(ae=c.value)===null||ae===void 0||ae.blur(),(he=i.value)===null||he===void 0||he.blur();else if(e.multiple){const{value:ne}=s;ne==null||ne.blur()}else{const{value:ne}=l;ne==null||ne.blur()}}function be(){var ae,he,ne;e.filterable?(m.value=!1,(ae=c.value)===null||ae===void 0||ae.focus()):e.multiple?(he=s.value)===null||he===void 0||he.focus():(ne=l.value)===null||ne===void 0||ne.focus()}function Oe(){const{value:ae}=i;ae&&(k(),ae.focus())}function Le(){const{value:ae}=i;ae&&ae.blur()}function F(ae){const{value:he}=u;he&&he.setTextContent(`+${ae}`)}function O(){const{value:ae}=d;return ae}function re(){return i.value}let _e=null;function ee(){_e!==null&&window.clearTimeout(_e)}function ye(){e.active||(ee(),_e=window.setTimeout(()=>{_.value&&(h.value=!0)},100))}function Pe(){ee()}function I(ae){ae||(ee(),h.value=!1)}ft(_,ae=>{ae||(h.value=!1)}),jt(()=>{Xt(()=>{const ae=c.value;ae&&(e.disabled?ae.removeAttribute("tabindex"):ae.tabIndex=m.value?-1:0)})}),bw(a,e.onResize);const{inlineThemeDisabled:H}=e,te=L(()=>{const{size:ae}=e,{common:{cubicBezierEaseInOut:he},self:{borderRadius:ne,color:ue,placeholderColor:De,textColor:Ue,paddingSingle:ke,paddingMultiple:Fe,caretColor:je,colorDisabled:Ae,textColorDisabled:Je,placeholderColorDisabled:xt,colorActive:X,boxShadowFocus:ge,boxShadowActive:$e,boxShadowHover:Ke,border:Xe,borderFocus:Ze,borderHover:tt,borderActive:it,arrowColor:yt,arrowColorDisabled:on,loadingColor:Dt,colorActiveWarning:Se,boxShadowFocusWarning:He,boxShadowActiveWarning:Qe,boxShadowHoverWarning:ht,borderWarning:gt,borderFocusWarning:ut,borderHoverWarning:Rt,borderActiveWarning:se,colorActiveError:Re,boxShadowFocusError:ot,boxShadowActiveError:Bt,boxShadowHoverError:Kt,borderError:Lt,borderFocusError:po,borderHoverError:mo,borderActiveError:go,clearColor:Go,clearColorHover:Yo,clearColorPressed:ei,clearSize:qa,arrowSize:Ka,[Te("height",ae)]:Ga,[Te("fontSize",ae)]:Ya}}=b.value,vr=_o(ke),br=_o(Fe);return{"--n-bezier":he,"--n-border":Xe,"--n-border-active":it,"--n-border-focus":Ze,"--n-border-hover":tt,"--n-border-radius":ne,"--n-box-shadow-active":$e,"--n-box-shadow-focus":ge,"--n-box-shadow-hover":Ke,"--n-caret-color":je,"--n-color":ue,"--n-color-active":X,"--n-color-disabled":Ae,"--n-font-size":Ya,"--n-height":Ga,"--n-padding-single-top":vr.top,"--n-padding-multiple-top":br.top,"--n-padding-single-right":vr.right,"--n-padding-multiple-right":br.right,"--n-padding-single-left":vr.left,"--n-padding-multiple-left":br.left,"--n-padding-single-bottom":vr.bottom,"--n-padding-multiple-bottom":br.bottom,"--n-placeholder-color":De,"--n-placeholder-color-disabled":xt,"--n-text-color":Ue,"--n-text-color-disabled":Je,"--n-arrow-color":yt,"--n-arrow-color-disabled":on,"--n-loading-color":Dt,"--n-color-active-warning":Se,"--n-box-shadow-focus-warning":He,"--n-box-shadow-active-warning":Qe,"--n-box-shadow-hover-warning":ht,"--n-border-warning":gt,"--n-border-focus-warning":ut,"--n-border-hover-warning":Rt,"--n-border-active-warning":se,"--n-color-active-error":Re,"--n-box-shadow-focus-error":ot,"--n-box-shadow-active-error":Bt,"--n-box-shadow-hover-error":Kt,"--n-border-error":Lt,"--n-border-focus-error":po,"--n-border-hover-error":mo,"--n-border-active-error":go,"--n-clear-size":qa,"--n-clear-color":Go,"--n-clear-color-hover":Yo,"--n-clear-color-pressed":ei,"--n-arrow-size":Ka}}),Ce=H?kt("internal-selection",L(()=>e.size[0]),te,e):void 0;return{mergedTheme:b,mergedClearable:w,mergedClsPrefix:t,rtlEnabled:o,patternInputFocused:m,filterablePlaceholder:C,label:S,selected:_,showTagsPanel:h,isComposing:E,counterRef:u,counterWrapperRef:d,patternInputMirrorRef:r,patternInputRef:i,selfRef:a,multipleElRef:s,singleElRef:l,patternInputWrapperRef:c,overflowRef:f,inputTagElRef:p,handleMouseDown:de,handleFocusin:j,handleClear:M,handleMouseEnter:Y,handleMouseLeave:Q,handleDeleteOption:pe,handlePatternKeyDown:B,handlePatternInputInput:G,handlePatternInputBlur:xe,handlePatternInputFocus:J,handleMouseEnterCounter:ye,handleMouseLeaveCounter:Pe,handleFocusout:D,handleCompositionEnd:fe,handleCompositionStart:oe,onPopoverUpdateShow:I,focus:be,focusInput:Oe,blur:N,blurInput:Le,updateCounter:F,getCounter:O,getTail:re,renderLabel:e.renderLabel,cssVars:H?void 0:te,themeClass:Ce==null?void 0:Ce.themeClass,onRender:Ce==null?void 0:Ce.onRender}},render(){const{status:e,multiple:t,size:n,disabled:o,filterable:r,maxTagCount:i,bordered:a,clsPrefix:s,ellipsisTagPopoverProps:l,onRender:c,renderTag:u,renderLabel:d}=this;c==null||c();const f=i==="responsive",p=typeof i=="number",h=f||p,m=g(ah,null,{default:()=>g(I_,{clsPrefix:s,loading:this.loading,showArrow:this.showArrow,showClear:this.mergedClearable&&this.selected,onClear:this.handleClear},{default:()=>{var b,w;return(w=(b=this.$slots).arrow)===null||w===void 0?void 0:w.call(b)}})});let v;if(t){const{labelField:b}=this,w=K=>g("div",{class:`${s}-base-selection-tag-wrapper`,key:K.value},u?u({option:K,handleClose:()=>{this.handleDeleteOption(K)}}):g(_i,{size:n,closable:!K.disabled,disabled:o,onClose:()=>{this.handleDeleteOption(K)},internalCloseIsButtonTag:!1,internalCloseFocusable:!1},{default:()=>d?d(K,!0):Wt(K[b],K,!0)})),C=()=>(p?this.selectedOptions.slice(0,i):this.selectedOptions).map(w),S=r?g("div",{class:`${s}-base-selection-input-tag`,ref:"inputTagElRef",key:"__input-tag__"},g("input",Object.assign({},this.inputProps,{ref:"patternInputRef",tabindex:-1,disabled:o,value:this.pattern,autofocus:this.autofocus,class:`${s}-base-selection-input-tag__input`,onBlur:this.handlePatternInputBlur,onFocus:this.handlePatternInputFocus,onKeydown:this.handlePatternKeyDown,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),g("span",{ref:"patternInputMirrorRef",class:`${s}-base-selection-input-tag__mirror`},this.pattern)):null,_=f?()=>g("div",{class:`${s}-base-selection-tag-wrapper`,ref:"counterWrapperRef"},g(_i,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,onMouseleave:this.handleMouseLeaveCounter,disabled:o})):void 0;let x;if(p){const K=this.selectedOptions.length-i;K>0&&(x=g("div",{class:`${s}-base-selection-tag-wrapper`,key:"__counter__"},g(_i,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,disabled:o},{default:()=>`+${K}`})))}const y=f?r?g(dh,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,getTail:this.getTail,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:C,counter:_,tail:()=>S}):g(dh,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:C,counter:_}):p&&x?C().concat(x):C(),k=h?()=>g("div",{class:`${s}-base-selection-popover`},f?C():this.selectedOptions.map(w)):void 0,P=h?Object.assign({show:this.showTagsPanel,trigger:"hover",overlap:!0,placement:"top",width:"trigger",onUpdateShow:this.onPopoverUpdateShow,theme:this.mergedTheme.peers.Popover,themeOverrides:this.mergedTheme.peerOverrides.Popover},l):null,$=(this.selected?!1:this.active?!this.pattern&&!this.isComposing:!0)?g("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`},g("div",{class:`${s}-base-selection-placeholder__inner`},this.placeholder)):null,R=r?g("div",{ref:"patternInputWrapperRef",class:`${s}-base-selection-tags`},y,f?null:S,m):g("div",{ref:"multipleElRef",class:`${s}-base-selection-tags`,tabindex:o?void 0:0},y,m);v=g(rt,null,h?g(dl,Object.assign({},P,{scrollable:!0,style:"max-height: calc(var(--v-target-height) * 6.6);"}),{trigger:()=>R,default:k}):R,$)}else if(r){const b=this.pattern||this.isComposing,w=this.active?!b:!this.selected,C=this.active?!1:this.selected;v=g("div",{ref:"patternInputWrapperRef",class:`${s}-base-selection-label`,title:this.patternInputFocused?void 0:nb(this.label)},g("input",Object.assign({},this.inputProps,{ref:"patternInputRef",class:`${s}-base-selection-input`,value:this.active?this.pattern:"",placeholder:"",readonly:o,disabled:o,tabindex:-1,autofocus:this.autofocus,onFocus:this.handlePatternInputFocus,onBlur:this.handlePatternInputBlur,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),C?g("div",{class:`${s}-base-selection-label__render-label ${s}-base-selection-overlay`,key:"input"},g("div",{class:`${s}-base-selection-overlay__wrapper`},u?u({option:this.selectedOption,handleClose:()=>{}}):d?d(this.selectedOption,!0):Wt(this.label,this.selectedOption,!0))):null,w?g("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`,key:"placeholder"},g("div",{class:`${s}-base-selection-overlay__wrapper`},this.filterablePlaceholder)):null,m)}else v=g("div",{ref:"singleElRef",class:`${s}-base-selection-label`,tabindex:this.disabled?void 0:0},this.label!==void 0?g("div",{class:`${s}-base-selection-input`,title:nb(this.label),key:"input"},g("div",{class:`${s}-base-selection-input__content`},u?u({option:this.selectedOption,handleClose:()=>{}}):d?d(this.selectedOption,!0):Wt(this.label,this.selectedOption,!0))):g("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`,key:"placeholder"},g("div",{class:`${s}-base-selection-placeholder__inner`},this.placeholder)),m);return g("div",{ref:"selfRef",class:[`${s}-base-selection`,this.rtlEnabled&&`${s}-base-selection--rtl`,this.themeClass,e&&`${s}-base-selection--${e}-status`,{[`${s}-base-selection--active`]:this.active,[`${s}-base-selection--selected`]:this.selected||this.active&&this.pattern,[`${s}-base-selection--disabled`]:this.disabled,[`${s}-base-selection--multiple`]:this.multiple,[`${s}-base-selection--focus`]:this.focused}],style:this.cssVars,onClick:this.onClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onKeydown:this.onKeydown,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onMousedown:this.handleMouseDown},v,a?g("div",{class:`${s}-base-selection__border`}):null,a?g("div",{class:`${s}-base-selection__state-border`}):null)}}),{cubicBezierEaseInOut:kr}=co;function bH({duration:e=".2s",delay:t=".1s"}={}){return[q("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),q("&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from",` + `)])])]),lj=be({name:"InternalSelection",props:Object.assign(Object.assign({},Be.props),{clsPrefix:{type:String,required:!0},bordered:{type:Boolean,default:void 0},active:Boolean,pattern:{type:String,default:""},placeholder:String,selectedOption:{type:Object,default:null},selectedOptions:{type:Array,default:null},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},multiple:Boolean,filterable:Boolean,clearable:Boolean,disabled:Boolean,size:{type:String,default:"medium"},loading:Boolean,autofocus:Boolean,showArrow:{type:Boolean,default:!0},inputProps:Object,focused:Boolean,renderTag:Function,onKeydown:Function,onClick:Function,onBlur:Function,onFocus:Function,onDeleteOption:Function,maxTagCount:[String,Number],ellipsisTagPopoverProps:Object,onClear:Function,onPatternInput:Function,onPatternFocus:Function,onPatternBlur:Function,renderLabel:Function,status:String,inlineThemeDisabled:Boolean,ignoreComposition:{type:Boolean,default:!0},onResize:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=st(e),o=pn("InternalSelection",n,t),r=W(null),i=W(null),a=W(null),s=W(null),l=W(null),c=W(null),u=W(null),d=W(null),f=W(null),h=W(null),p=W(!1),g=W(!1),m=W(!1),b=Be("InternalSelection","-internal-selection",sj,s2,e,We(e,"clsPrefix")),_=F(()=>e.clearable&&!e.disabled&&(m.value||e.active)),C=F(()=>e.selectedOption?e.renderTag?e.renderTag({option:e.selectedOption,handleClose:()=>{}}):e.renderLabel?e.renderLabel(e.selectedOption,!0):Wt(e.selectedOption[e.labelField],e.selectedOption,!0):e.placeholder),S=F(()=>{const ce=e.selectedOption;if(ce)return ce[e.labelField]}),w=F(()=>e.multiple?!!(Array.isArray(e.selectedOptions)&&e.selectedOptions.length):e.selectedOption!==null);function x(){var ce;const{value:le}=r;if(le){const{value:re}=i;re&&(re.style.width=`${le.offsetWidth}px`,e.maxTagCount!=="responsive"&&((ce=f.value)===null||ce===void 0||ce.sync({showAllItemsBeforeCalculate:!1})))}}function y(){const{value:ce}=h;ce&&(ce.style.display="none")}function P(){const{value:ce}=h;ce&&(ce.style.display="inline-block")}ft(We(e,"active"),ce=>{ce||y()}),ft(We(e,"pattern"),()=>{e.multiple&&Ht(x)});function k(ce){const{onFocus:le}=e;le&&le(ce)}function T(ce){const{onBlur:le}=e;le&&le(ce)}function E(ce){const{onDeleteOption:le}=e;le&&le(ce)}function R(ce){const{onClear:le}=e;le&&le(ce)}function K(ce){const{onPatternInput:le}=e;le&&le(ce)}function N(ce){var le;(!ce.relatedTarget||!(!((le=a.value)===null||le===void 0)&&le.contains(ce.relatedTarget)))&&k(ce)}function D(ce){var le;!((le=a.value)===null||le===void 0)&&le.contains(ce.relatedTarget)||T(ce)}function M(ce){R(ce)}function G(){m.value=!0}function J(){m.value=!1}function he(ce){!e.active||!e.filterable||ce.target!==i.value&&ce.preventDefault()}function pe(ce){E(ce)}const B=W(!1);function $(ce){if(ce.key==="Backspace"&&!B.value&&!e.pattern.length){const{selectedOptions:le}=e;le!=null&&le.length&&pe(le[le.length-1])}}let A=null;function Y(ce){const{value:le}=r;if(le){const re=ce.target.value;le.textContent=re,x()}e.ignoreComposition&&B.value?A=ce:K(ce)}function ne(){B.value=!0}function fe(){B.value=!1,e.ignoreComposition&&K(A),A=null}function Q(ce){var le;g.value=!0,(le=e.onPatternFocus)===null||le===void 0||le.call(e,ce)}function xe(ce){var le;g.value=!1,(le=e.onPatternBlur)===null||le===void 0||le.call(e,ce)}function H(){var ce,le;if(e.filterable)g.value=!1,(ce=c.value)===null||ce===void 0||ce.blur(),(le=i.value)===null||le===void 0||le.blur();else if(e.multiple){const{value:re}=s;re==null||re.blur()}else{const{value:re}=l;re==null||re.blur()}}function ye(){var ce,le,re;e.filterable?(g.value=!1,(ce=c.value)===null||ce===void 0||ce.focus()):e.multiple?(le=s.value)===null||le===void 0||le.focus():(re=l.value)===null||re===void 0||re.focus()}function Oe(){const{value:ce}=i;ce&&(P(),ce.focus())}function Ne(){const{value:ce}=i;ce&&ce.blur()}function L(ce){const{value:le}=u;le&&le.setTextContent(`+${ce}`)}function O(){const{value:ce}=d;return ce}function oe(){return i.value}let _e=null;function te(){_e!==null&&window.clearTimeout(_e)}function ge(){e.active||(te(),_e=window.setTimeout(()=>{w.value&&(p.value=!0)},100))}function ke(){te()}function I(ce){ce||(te(),p.value=!1)}ft(w,ce=>{ce||(p.value=!1)}),jt(()=>{Xt(()=>{const ce=c.value;ce&&(e.disabled?ce.removeAttribute("tabindex"):ce.tabIndex=g.value?-1:0)})}),Uw(a,e.onResize);const{inlineThemeDisabled:j}=e,ee=F(()=>{const{size:ce}=e,{common:{cubicBezierEaseInOut:le},self:{borderRadius:re,color:de,placeholderColor:De,textColor:Le,paddingSingle:Pe,paddingMultiple:Fe,caretColor:He,colorDisabled:Ie,textColorDisabled:Qe,placeholderColorDisabled:Ct,colorActive:X,boxShadowFocus:ve,boxShadowActive:Ae,boxShadowHover:Ke,border:Ze,borderFocus:Je,borderHover:tt,borderActive:rt,arrowColor:vt,arrowColorDisabled:sn,loadingColor:Dt,colorActiveWarning:Se,boxShadowFocusWarning:Ve,boxShadowActiveWarning:et,boxShadowHoverWarning:ht,borderWarning:bt,borderFocusWarning:ut,borderHoverWarning:Et,borderActiveWarning:ae,colorActiveError:Ee,boxShadowFocusError:ot,boxShadowActiveError:Bt,boxShadowHoverError:Kt,borderError:Lt,borderFocusError:bo,borderHoverError:yo,borderActiveError:xo,clearColor:Xo,clearColorHover:Zo,clearColorPressed:oi,clearSize:Ja,arrowSize:Qa,[Re("height",ce)]:es,[Re("fontSize",ce)]:ts}}=b.value,yr=lo(Pe),xr=lo(Fe);return{"--n-bezier":le,"--n-border":Ze,"--n-border-active":rt,"--n-border-focus":Je,"--n-border-hover":tt,"--n-border-radius":re,"--n-box-shadow-active":Ae,"--n-box-shadow-focus":ve,"--n-box-shadow-hover":Ke,"--n-caret-color":He,"--n-color":de,"--n-color-active":X,"--n-color-disabled":Ie,"--n-font-size":ts,"--n-height":es,"--n-padding-single-top":yr.top,"--n-padding-multiple-top":xr.top,"--n-padding-single-right":yr.right,"--n-padding-multiple-right":xr.right,"--n-padding-single-left":yr.left,"--n-padding-multiple-left":xr.left,"--n-padding-single-bottom":yr.bottom,"--n-padding-multiple-bottom":xr.bottom,"--n-placeholder-color":De,"--n-placeholder-color-disabled":Ct,"--n-text-color":Le,"--n-text-color-disabled":Qe,"--n-arrow-color":vt,"--n-arrow-color-disabled":sn,"--n-loading-color":Dt,"--n-color-active-warning":Se,"--n-box-shadow-focus-warning":Ve,"--n-box-shadow-active-warning":et,"--n-box-shadow-hover-warning":ht,"--n-border-warning":bt,"--n-border-focus-warning":ut,"--n-border-hover-warning":Et,"--n-border-active-warning":ae,"--n-color-active-error":Ee,"--n-box-shadow-focus-error":ot,"--n-box-shadow-active-error":Bt,"--n-box-shadow-hover-error":Kt,"--n-border-error":Lt,"--n-border-focus-error":bo,"--n-border-hover-error":yo,"--n-border-active-error":xo,"--n-clear-size":Ja,"--n-clear-color":Xo,"--n-clear-color-hover":Zo,"--n-clear-color-pressed":oi,"--n-arrow-size":Qa}}),Ce=j?Pt("internal-selection",F(()=>e.size[0]),ee,e):void 0;return{mergedTheme:b,mergedClearable:_,mergedClsPrefix:t,rtlEnabled:o,patternInputFocused:g,filterablePlaceholder:C,label:S,selected:w,showTagsPanel:p,isComposing:B,counterRef:u,counterWrapperRef:d,patternInputMirrorRef:r,patternInputRef:i,selfRef:a,multipleElRef:s,singleElRef:l,patternInputWrapperRef:c,overflowRef:f,inputTagElRef:h,handleMouseDown:he,handleFocusin:N,handleClear:M,handleMouseEnter:G,handleMouseLeave:J,handleDeleteOption:pe,handlePatternKeyDown:$,handlePatternInputInput:Y,handlePatternInputBlur:xe,handlePatternInputFocus:Q,handleMouseEnterCounter:ge,handleMouseLeaveCounter:ke,handleFocusout:D,handleCompositionEnd:fe,handleCompositionStart:ne,onPopoverUpdateShow:I,focus:ye,focusInput:Oe,blur:H,blurInput:Ne,updateCounter:L,getCounter:O,getTail:oe,renderLabel:e.renderLabel,cssVars:j?void 0:ee,themeClass:Ce==null?void 0:Ce.themeClass,onRender:Ce==null?void 0:Ce.onRender}},render(){const{status:e,multiple:t,size:n,disabled:o,filterable:r,maxTagCount:i,bordered:a,clsPrefix:s,ellipsisTagPopoverProps:l,onRender:c,renderTag:u,renderLabel:d}=this;c==null||c();const f=i==="responsive",h=typeof i=="number",p=f||h,g=v(yh,null,{default:()=>v(i2,{clsPrefix:s,loading:this.loading,showArrow:this.showArrow,showClear:this.mergedClearable&&this.selected,onClear:this.handleClear},{default:()=>{var b,_;return(_=(b=this.$slots).arrow)===null||_===void 0?void 0:_.call(b)}})});let m;if(t){const{labelField:b}=this,_=K=>v("div",{class:`${s}-base-selection-tag-wrapper`,key:K.value},u?u({option:K,handleClose:()=>{this.handleDeleteOption(K)}}):v(Ti,{size:n,closable:!K.disabled,disabled:o,onClose:()=>{this.handleDeleteOption(K)},internalCloseIsButtonTag:!1,internalCloseFocusable:!1},{default:()=>d?d(K,!0):Wt(K[b],K,!0)})),C=()=>(h?this.selectedOptions.slice(0,i):this.selectedOptions).map(_),S=r?v("div",{class:`${s}-base-selection-input-tag`,ref:"inputTagElRef",key:"__input-tag__"},v("input",Object.assign({},this.inputProps,{ref:"patternInputRef",tabindex:-1,disabled:o,value:this.pattern,autofocus:this.autofocus,class:`${s}-base-selection-input-tag__input`,onBlur:this.handlePatternInputBlur,onFocus:this.handlePatternInputFocus,onKeydown:this.handlePatternKeyDown,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),v("span",{ref:"patternInputMirrorRef",class:`${s}-base-selection-input-tag__mirror`},this.pattern)):null,w=f?()=>v("div",{class:`${s}-base-selection-tag-wrapper`,ref:"counterWrapperRef"},v(Ti,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,onMouseleave:this.handleMouseLeaveCounter,disabled:o})):void 0;let x;if(h){const K=this.selectedOptions.length-i;K>0&&(x=v("div",{class:`${s}-base-selection-tag-wrapper`,key:"__counter__"},v(Ti,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,disabled:o},{default:()=>`+${K}`})))}const y=f?r?v(Sh,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,getTail:this.getTail,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:C,counter:w,tail:()=>S}):v(Sh,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:C,counter:w}):h&&x?C().concat(x):C(),P=p?()=>v("div",{class:`${s}-base-selection-popover`},f?C():this.selectedOptions.map(_)):void 0,k=p?Object.assign({show:this.showTagsPanel,trigger:"hover",overlap:!0,placement:"top",width:"trigger",onUpdateShow:this.onPopoverUpdateShow,theme:this.mergedTheme.peers.Popover,themeOverrides:this.mergedTheme.peerOverrides.Popover},l):null,E=(this.selected?!1:this.active?!this.pattern&&!this.isComposing:!0)?v("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`},v("div",{class:`${s}-base-selection-placeholder__inner`},this.placeholder)):null,R=r?v("div",{ref:"patternInputWrapperRef",class:`${s}-base-selection-tags`},y,f?null:S,g):v("div",{ref:"multipleElRef",class:`${s}-base-selection-tags`,tabindex:o?void 0:0},y,g);m=v(it,null,p?v(hl,Object.assign({},k,{scrollable:!0,style:"max-height: calc(var(--v-target-height) * 6.6);"}),{trigger:()=>R,default:P}):R,E)}else if(r){const b=this.pattern||this.isComposing,_=this.active?!b:!this.selected,C=this.active?!1:this.selected;m=v("div",{ref:"patternInputWrapperRef",class:`${s}-base-selection-label`,title:this.patternInputFocused?void 0:yb(this.label)},v("input",Object.assign({},this.inputProps,{ref:"patternInputRef",class:`${s}-base-selection-input`,value:this.active?this.pattern:"",placeholder:"",readonly:o,disabled:o,tabindex:-1,autofocus:this.autofocus,onFocus:this.handlePatternInputFocus,onBlur:this.handlePatternInputBlur,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),C?v("div",{class:`${s}-base-selection-label__render-label ${s}-base-selection-overlay`,key:"input"},v("div",{class:`${s}-base-selection-overlay__wrapper`},u?u({option:this.selectedOption,handleClose:()=>{}}):d?d(this.selectedOption,!0):Wt(this.label,this.selectedOption,!0))):null,_?v("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`,key:"placeholder"},v("div",{class:`${s}-base-selection-overlay__wrapper`},this.filterablePlaceholder)):null,g)}else m=v("div",{ref:"singleElRef",class:`${s}-base-selection-label`,tabindex:this.disabled?void 0:0},this.label!==void 0?v("div",{class:`${s}-base-selection-input`,title:yb(this.label),key:"input"},v("div",{class:`${s}-base-selection-input__content`},u?u({option:this.selectedOption,handleClose:()=>{}}):d?d(this.selectedOption,!0):Wt(this.label,this.selectedOption,!0))):v("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`,key:"placeholder"},v("div",{class:`${s}-base-selection-placeholder__inner`},this.placeholder)),g);return v("div",{ref:"selfRef",class:[`${s}-base-selection`,this.rtlEnabled&&`${s}-base-selection--rtl`,this.themeClass,e&&`${s}-base-selection--${e}-status`,{[`${s}-base-selection--active`]:this.active,[`${s}-base-selection--selected`]:this.selected||this.active&&this.pattern,[`${s}-base-selection--disabled`]:this.disabled,[`${s}-base-selection--multiple`]:this.multiple,[`${s}-base-selection--focus`]:this.focused}],style:this.cssVars,onClick:this.onClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onKeydown:this.onKeydown,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onMousedown:this.handleMouseDown},m,a?v("div",{class:`${s}-base-selection__border`}):null,a?v("div",{class:`${s}-base-selection__state-border`}):null)}}),{cubicBezierEaseInOut:Tr}=po;function cj({duration:e=".2s",delay:t=".1s"}={}){return[q("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),q("&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from",` opacity: 0!important; margin-left: 0!important; margin-right: 0!important; `),q("&.fade-in-width-expand-transition-leave-active",` overflow: hidden; transition: - opacity ${e} ${kr}, - max-width ${e} ${kr} ${t}, - margin-left ${e} ${kr} ${t}, - margin-right ${e} ${kr} ${t}; + opacity ${e} ${Tr}, + max-width ${e} ${Tr} ${t}, + margin-left ${e} ${Tr} ${t}, + margin-right ${e} ${Tr} ${t}; `),q("&.fade-in-width-expand-transition-enter-active",` overflow: hidden; transition: - opacity ${e} ${kr} ${t}, - max-width ${e} ${kr}, - margin-left ${e} ${kr}, - margin-right ${e} ${kr}; - `)]}const z_={iconMargin:"11px 8px 0 12px",iconMarginRtl:"11px 12px 0 8px",iconSize:"24px",closeIconSize:"16px",closeSize:"20px",closeMargin:"13px 14px 0 0",closeMarginRtl:"13px 0 0 14px",padding:"13px"},yH={name:"Alert",common:Ne,self(e){const{lineHeight:t,borderRadius:n,fontWeightStrong:o,dividerColor:r,inputColor:i,textColor1:a,textColor2:s,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,infoColorSuppl:p,successColorSuppl:h,warningColorSuppl:m,errorColorSuppl:v,fontSize:b}=e;return Object.assign(Object.assign({},z_),{fontSize:b,lineHeight:t,titleFontWeight:o,borderRadius:n,border:`1px solid ${r}`,color:i,titleTextColor:a,iconColor:s,contentTextColor:s,closeBorderRadius:n,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,borderInfo:`1px solid ${Me(p,{alpha:.35})}`,colorInfo:Me(p,{alpha:.25}),titleTextColorInfo:a,iconColorInfo:p,contentTextColorInfo:s,closeColorHoverInfo:l,closeColorPressedInfo:c,closeIconColorInfo:u,closeIconColorHoverInfo:d,closeIconColorPressedInfo:f,borderSuccess:`1px solid ${Me(h,{alpha:.35})}`,colorSuccess:Me(h,{alpha:.25}),titleTextColorSuccess:a,iconColorSuccess:h,contentTextColorSuccess:s,closeColorHoverSuccess:l,closeColorPressedSuccess:c,closeIconColorSuccess:u,closeIconColorHoverSuccess:d,closeIconColorPressedSuccess:f,borderWarning:`1px solid ${Me(m,{alpha:.35})}`,colorWarning:Me(m,{alpha:.25}),titleTextColorWarning:a,iconColorWarning:m,contentTextColorWarning:s,closeColorHoverWarning:l,closeColorPressedWarning:c,closeIconColorWarning:u,closeIconColorHoverWarning:d,closeIconColorPressedWarning:f,borderError:`1px solid ${Me(v,{alpha:.35})}`,colorError:Me(v,{alpha:.25}),titleTextColorError:a,iconColorError:v,contentTextColorError:s,closeColorHoverError:l,closeColorPressedError:c,closeIconColorError:u,closeIconColorHoverError:d,closeIconColorPressedError:f})}},xH=yH,CH=e=>{const{lineHeight:t,borderRadius:n,fontWeightStrong:o,baseColor:r,dividerColor:i,actionColor:a,textColor1:s,textColor2:l,closeColorHover:c,closeColorPressed:u,closeIconColor:d,closeIconColorHover:f,closeIconColorPressed:p,infoColor:h,successColor:m,warningColor:v,errorColor:b,fontSize:w}=e;return Object.assign(Object.assign({},z_),{fontSize:w,lineHeight:t,titleFontWeight:o,borderRadius:n,border:`1px solid ${i}`,color:a,titleTextColor:s,iconColor:l,contentTextColor:l,closeBorderRadius:n,closeColorHover:c,closeColorPressed:u,closeIconColor:d,closeIconColorHover:f,closeIconColorPressed:p,borderInfo:`1px solid ${et(r,Me(h,{alpha:.25}))}`,colorInfo:et(r,Me(h,{alpha:.08})),titleTextColorInfo:s,iconColorInfo:h,contentTextColorInfo:l,closeColorHoverInfo:c,closeColorPressedInfo:u,closeIconColorInfo:d,closeIconColorHoverInfo:f,closeIconColorPressedInfo:p,borderSuccess:`1px solid ${et(r,Me(m,{alpha:.25}))}`,colorSuccess:et(r,Me(m,{alpha:.08})),titleTextColorSuccess:s,iconColorSuccess:m,contentTextColorSuccess:l,closeColorHoverSuccess:c,closeColorPressedSuccess:u,closeIconColorSuccess:d,closeIconColorHoverSuccess:f,closeIconColorPressedSuccess:p,borderWarning:`1px solid ${et(r,Me(v,{alpha:.33}))}`,colorWarning:et(r,Me(v,{alpha:.08})),titleTextColorWarning:s,iconColorWarning:v,contentTextColorWarning:l,closeColorHoverWarning:c,closeColorPressedWarning:u,closeIconColorWarning:d,closeIconColorHoverWarning:f,closeIconColorPressedWarning:p,borderError:`1px solid ${et(r,Me(b,{alpha:.25}))}`,colorError:et(r,Me(b,{alpha:.08})),titleTextColorError:s,iconColorError:b,contentTextColorError:l,closeColorHoverError:c,closeColorPressedError:u,closeIconColorError:d,closeIconColorHoverError:f,closeIconColorPressedError:p})},wH={name:"Alert",common:bt,self:CH},_H=wH,{cubicBezierEaseInOut:Io,cubicBezierEaseOut:SH,cubicBezierEaseIn:kH}=co;function nm({overflow:e="hidden",duration:t=".3s",originalTransition:n="",leavingDelay:o="0s",foldPadding:r=!1,enterToProps:i=void 0,leaveToProps:a=void 0,reverse:s=!1}={}){const l=s?"leave":"enter",c=s?"enter":"leave";return[q(`&.fade-in-height-expand-transition-${c}-from, + opacity ${e} ${Tr} ${t}, + max-width ${e} ${Tr}, + margin-left ${e} ${Tr}, + margin-right ${e} ${Tr}; + `)]}const l2={iconMargin:"11px 8px 0 12px",iconMarginRtl:"11px 12px 0 8px",iconSize:"24px",closeIconSize:"16px",closeSize:"20px",closeMargin:"13px 14px 0 0",closeMarginRtl:"13px 0 0 14px",padding:"13px"},uj={name:"Alert",common:je,self(e){const{lineHeight:t,borderRadius:n,fontWeightStrong:o,dividerColor:r,inputColor:i,textColor1:a,textColor2:s,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,infoColorSuppl:h,successColorSuppl:p,warningColorSuppl:g,errorColorSuppl:m,fontSize:b}=e;return Object.assign(Object.assign({},l2),{fontSize:b,lineHeight:t,titleFontWeight:o,borderRadius:n,border:`1px solid ${r}`,color:i,titleTextColor:a,iconColor:s,contentTextColor:s,closeBorderRadius:n,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,borderInfo:`1px solid ${Me(h,{alpha:.35})}`,colorInfo:Me(h,{alpha:.25}),titleTextColorInfo:a,iconColorInfo:h,contentTextColorInfo:s,closeColorHoverInfo:l,closeColorPressedInfo:c,closeIconColorInfo:u,closeIconColorHoverInfo:d,closeIconColorPressedInfo:f,borderSuccess:`1px solid ${Me(p,{alpha:.35})}`,colorSuccess:Me(p,{alpha:.25}),titleTextColorSuccess:a,iconColorSuccess:p,contentTextColorSuccess:s,closeColorHoverSuccess:l,closeColorPressedSuccess:c,closeIconColorSuccess:u,closeIconColorHoverSuccess:d,closeIconColorPressedSuccess:f,borderWarning:`1px solid ${Me(g,{alpha:.35})}`,colorWarning:Me(g,{alpha:.25}),titleTextColorWarning:a,iconColorWarning:g,contentTextColorWarning:s,closeColorHoverWarning:l,closeColorPressedWarning:c,closeIconColorWarning:u,closeIconColorHoverWarning:d,closeIconColorPressedWarning:f,borderError:`1px solid ${Me(m,{alpha:.35})}`,colorError:Me(m,{alpha:.25}),titleTextColorError:a,iconColorError:m,contentTextColorError:s,closeColorHoverError:l,closeColorPressedError:c,closeIconColorError:u,closeIconColorHoverError:d,closeIconColorPressedError:f})}},dj=uj;function fj(e){const{lineHeight:t,borderRadius:n,fontWeightStrong:o,baseColor:r,dividerColor:i,actionColor:a,textColor1:s,textColor2:l,closeColorHover:c,closeColorPressed:u,closeIconColor:d,closeIconColorHover:f,closeIconColorPressed:h,infoColor:p,successColor:g,warningColor:m,errorColor:b,fontSize:_}=e;return Object.assign(Object.assign({},l2),{fontSize:_,lineHeight:t,titleFontWeight:o,borderRadius:n,border:`1px solid ${i}`,color:a,titleTextColor:s,iconColor:l,contentTextColor:l,closeBorderRadius:n,closeColorHover:c,closeColorPressed:u,closeIconColor:d,closeIconColorHover:f,closeIconColorPressed:h,borderInfo:`1px solid ${Ge(r,Me(p,{alpha:.25}))}`,colorInfo:Ge(r,Me(p,{alpha:.08})),titleTextColorInfo:s,iconColorInfo:p,contentTextColorInfo:l,closeColorHoverInfo:c,closeColorPressedInfo:u,closeIconColorInfo:d,closeIconColorHoverInfo:f,closeIconColorPressedInfo:h,borderSuccess:`1px solid ${Ge(r,Me(g,{alpha:.25}))}`,colorSuccess:Ge(r,Me(g,{alpha:.08})),titleTextColorSuccess:s,iconColorSuccess:g,contentTextColorSuccess:l,closeColorHoverSuccess:c,closeColorPressedSuccess:u,closeIconColorSuccess:d,closeIconColorHoverSuccess:f,closeIconColorPressedSuccess:h,borderWarning:`1px solid ${Ge(r,Me(m,{alpha:.33}))}`,colorWarning:Ge(r,Me(m,{alpha:.08})),titleTextColorWarning:s,iconColorWarning:m,contentTextColorWarning:l,closeColorHoverWarning:c,closeColorPressedWarning:u,closeIconColorWarning:d,closeIconColorHoverWarning:f,closeIconColorPressedWarning:h,borderError:`1px solid ${Ge(r,Me(b,{alpha:.25}))}`,colorError:Ge(r,Me(b,{alpha:.08})),titleTextColorError:s,iconColorError:b,contentTextColorError:l,closeColorHoverError:c,closeColorPressedError:u,closeIconColorError:d,closeIconColorHoverError:f,closeIconColorPressedError:h})}const hj={name:"Alert",common:xt,self:fj},pj=hj,{cubicBezierEaseInOut:Lo,cubicBezierEaseOut:mj,cubicBezierEaseIn:gj}=po;function gm({overflow:e="hidden",duration:t=".3s",originalTransition:n="",leavingDelay:o="0s",foldPadding:r=!1,enterToProps:i=void 0,leaveToProps:a=void 0,reverse:s=!1}={}){const l=s?"leave":"enter",c=s?"enter":"leave";return[q(`&.fade-in-height-expand-transition-${c}-from, &.fade-in-height-expand-transition-${l}-to`,Object.assign(Object.assign({},i),{opacity:1})),q(`&.fade-in-height-expand-transition-${c}-to, &.fade-in-height-expand-transition-${l}-from`,Object.assign(Object.assign({},a),{opacity:0,marginTop:"0 !important",marginBottom:"0 !important",paddingTop:r?"0 !important":void 0,paddingBottom:r?"0 !important":void 0})),q(`&.fade-in-height-expand-transition-${c}-active`,` overflow: ${e}; transition: - max-height ${t} ${Io} ${o}, - opacity ${t} ${SH} ${o}, - margin-top ${t} ${Io} ${o}, - margin-bottom ${t} ${Io} ${o}, - padding-top ${t} ${Io} ${o}, - padding-bottom ${t} ${Io} ${o} - ${n?","+n:""} + max-height ${t} ${Lo} ${o}, + opacity ${t} ${mj} ${o}, + margin-top ${t} ${Lo} ${o}, + margin-bottom ${t} ${Lo} ${o}, + padding-top ${t} ${Lo} ${o}, + padding-bottom ${t} ${Lo} ${o} + ${n?`,${n}`:""} `),q(`&.fade-in-height-expand-transition-${l}-active`,` overflow: ${e}; transition: - max-height ${t} ${Io}, - opacity ${t} ${kH}, - margin-top ${t} ${Io}, - margin-bottom ${t} ${Io}, - padding-top ${t} ${Io}, - padding-bottom ${t} ${Io} - ${n?","+n:""} - `)]}const PH=z("alert",` + max-height ${t} ${Lo}, + opacity ${t} ${gj}, + margin-top ${t} ${Lo}, + margin-bottom ${t} ${Lo}, + padding-top ${t} ${Lo}, + padding-bottom ${t} ${Lo} + ${n?`,${n}`:""} + `)]}const vj=z("alert",` line-height: var(--n-line-height); border-radius: var(--n-border-radius); position: relative; @@ -823,7 +820,7 @@ ${t} pointer-events: none; `),Z("closable",[z("alert-body",[V("title",` padding-right: 24px; - `)])]),V("icon",{color:"var(--n-icon-color)"}),z("alert-body",{padding:"var(--n-padding)"},[V("title",{color:"var(--n-title-text-color)"}),V("content",{color:"var(--n-content-text-color)"})]),nm({originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.9)"}}),V("icon",` + `)])]),V("icon",{color:"var(--n-icon-color)"}),z("alert-body",{padding:"var(--n-padding)"},[V("title",{color:"var(--n-title-text-color)"}),V("content",{color:"var(--n-content-text-color)"})]),gm({originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.9)"}}),V("icon",` position: absolute; left: 0; top: 0; @@ -850,7 +847,7 @@ ${t} font-size: 16px; line-height: 19px; font-weight: var(--n-title-font-weight); - `,[q("& +",[V("content",{marginTop:"9px"})])]),V("content",{transition:"color .3s var(--n-bezier)",fontSize:"var(--n-font-size)"})]),V("icon",{transition:"color .3s var(--n-bezier)"})]),TH=Object.assign(Object.assign({},Be.props),{title:String,showIcon:{type:Boolean,default:!0},type:{type:String,default:"default"},bordered:{type:Boolean,default:!0},closable:Boolean,onClose:Function,onAfterLeave:Function,onAfterHide:Function}),fl=ve({name:"Alert",inheritAttrs:!1,props:TH,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=Be("Alert","-alert",PH,_H,e,t),a=pn("Alert",r,t),s=L(()=>{const{common:{cubicBezierEaseInOut:p},self:h}=i.value,{fontSize:m,borderRadius:v,titleFontWeight:b,lineHeight:w,iconSize:C,iconMargin:S,iconMarginRtl:_,closeIconSize:x,closeBorderRadius:y,closeSize:k,closeMargin:P,closeMarginRtl:T,padding:$}=h,{type:R}=e,{left:K,right:j}=_o(S);return{"--n-bezier":p,"--n-color":h[Te("color",R)],"--n-close-icon-size":x,"--n-close-border-radius":y,"--n-close-color-hover":h[Te("closeColorHover",R)],"--n-close-color-pressed":h[Te("closeColorPressed",R)],"--n-close-icon-color":h[Te("closeIconColor",R)],"--n-close-icon-color-hover":h[Te("closeIconColorHover",R)],"--n-close-icon-color-pressed":h[Te("closeIconColorPressed",R)],"--n-icon-color":h[Te("iconColor",R)],"--n-border":h[Te("border",R)],"--n-title-text-color":h[Te("titleTextColor",R)],"--n-content-text-color":h[Te("contentTextColor",R)],"--n-line-height":w,"--n-border-radius":v,"--n-font-size":m,"--n-title-font-weight":b,"--n-icon-size":C,"--n-icon-margin":S,"--n-icon-margin-rtl":_,"--n-close-size":k,"--n-close-margin":P,"--n-close-margin-rtl":T,"--n-padding":$,"--n-icon-margin-left":K,"--n-icon-margin-right":j}}),l=o?kt("alert",L(()=>e.type[0]),s,e):void 0,c=W(!0),u=()=>{const{onAfterLeave:p,onAfterHide:h}=e;p&&p(),h&&h()};return{rtlEnabled:a,mergedClsPrefix:t,mergedBordered:n,visible:c,handleCloseClick:()=>{var p;Promise.resolve((p=e.onClose)===null||p===void 0?void 0:p.call(e)).then(h=>{h!==!1&&(c.value=!1)})},handleAfterLeave:()=>{u()},mergedTheme:i,cssVars:o?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),g(Eu,{onAfterLeave:this.handleAfterLeave},{default:()=>{const{mergedClsPrefix:t,$slots:n}=this,o={class:[`${t}-alert`,this.themeClass,this.closable&&`${t}-alert--closable`,this.showIcon&&`${t}-alert--show-icon`,!this.title&&this.closable&&`${t}-alert--right-adjust`,this.rtlEnabled&&`${t}-alert--rtl`],style:this.cssVars,role:"alert"};return this.visible?g("div",Object.assign({},Ln(this.$attrs,o)),this.closable&&g(Hi,{clsPrefix:t,class:`${t}-alert__close`,onClick:this.handleCloseClick}),this.bordered&&g("div",{class:`${t}-alert__border`}),this.showIcon&&g("div",{class:`${t}-alert__icon`,"aria-hidden":"true"},An(n.icon,()=>[g(Ut,{clsPrefix:t},{default:()=>{switch(this.type){case"success":return g(Fi,null);case"info":return g(jr,null);case"warning":return g(Bi,null);case"error":return g(Li,null);default:return null}}})])),g("div",{class:[`${t}-alert-body`,this.mergedBordered&&`${t}-alert-body--bordered`]},Et(n.header,r=>{const i=r||this.title;return i?g("div",{class:`${t}-alert-body__title`},i):null}),n.default&&g("div",{class:`${t}-alert-body__content`},n))):null}})}}),RH={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"},EH=e=>{const{borderRadius:t,railColor:n,primaryColor:o,primaryColorHover:r,primaryColorPressed:i,textColor2:a}=e;return Object.assign(Object.assign({},RH),{borderRadius:t,railColor:n,railColorActive:o,linkColor:Me(o,{alpha:.15}),linkTextColor:a,linkTextColorHover:r,linkTextColorPressed:i,linkTextColorActive:o})},$H={name:"Anchor",common:Ne,self:EH},AH=$H;function Dc(e){return e.type==="group"}function D_(e){return e.type==="ignored"}function Vd(e,t){try{return!!(1+t.toString().toLowerCase().indexOf(e.trim().toLowerCase()))}catch{return!1}}function L_(e,t){return{getIsGroup:Dc,getIgnored:D_,getKey(o){return Dc(o)?o.name||o.key||"key-required":o[e]},getChildren(o){return o[t]}}}function IH(e,t,n,o){if(!t)return e;function r(i){if(!Array.isArray(i))return[];const a=[];for(const s of i)if(Dc(s)){const l=r(s[o]);l.length&&a.push(Object.assign({},s,{[o]:l}))}else{if(D_(s))continue;t(n,s)&&a.push(s)}return a}return r(e)}function OH(e,t,n){const o=new Map;return e.forEach(r=>{Dc(r)?r[n].forEach(i=>{o.set(i[t],i)}):o.set(r[t],r)}),o}const MH=dr&&"chrome"in window;dr&&navigator.userAgent.includes("Firefox");const F_=dr&&navigator.userAgent.includes("Safari")&&!MH,B_={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},zH={name:"Input",common:Ne,self(e){const{textColor2:t,textColor3:n,textColorDisabled:o,primaryColor:r,primaryColorHover:i,inputColor:a,inputColorDisabled:s,warningColor:l,warningColorHover:c,errorColor:u,errorColorHover:d,borderRadius:f,lineHeight:p,fontSizeTiny:h,fontSizeSmall:m,fontSizeMedium:v,fontSizeLarge:b,heightTiny:w,heightSmall:C,heightMedium:S,heightLarge:_,clearColor:x,clearColorHover:y,clearColorPressed:k,placeholderColor:P,placeholderColorDisabled:T,iconColor:$,iconColorDisabled:R,iconColorHover:K,iconColorPressed:j}=e;return Object.assign(Object.assign({},B_),{countTextColorDisabled:o,countTextColor:n,heightTiny:w,heightSmall:C,heightMedium:S,heightLarge:_,fontSizeTiny:h,fontSizeSmall:m,fontSizeMedium:v,fontSizeLarge:b,lineHeight:p,lineHeightTextarea:p,borderRadius:f,iconSize:"16px",groupLabelColor:a,textColor:t,textColorDisabled:o,textDecorationColor:t,groupLabelTextColor:t,caretColor:r,placeholderColor:P,placeholderColorDisabled:T,color:a,colorDisabled:s,colorFocus:Me(r,{alpha:.1}),groupLabelBorder:"1px solid #0000",border:"1px solid #0000",borderHover:`1px solid ${i}`,borderDisabled:"1px solid #0000",borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 8px 0 ${Me(r,{alpha:.3})}`,loadingColor:r,loadingColorWarning:l,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,colorFocusWarning:Me(l,{alpha:.1}),borderFocusWarning:`1px solid ${c}`,boxShadowFocusWarning:`0 0 8px 0 ${Me(l,{alpha:.3})}`,caretColorWarning:l,loadingColorError:u,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,colorFocusError:Me(u,{alpha:.1}),borderFocusError:`1px solid ${d}`,boxShadowFocusError:`0 0 8px 0 ${Me(u,{alpha:.3})}`,caretColorError:u,clearColor:x,clearColorHover:y,clearColorPressed:k,iconColor:$,iconColorDisabled:R,iconColorHover:K,iconColorPressed:j,suffixTextColor:t})}},uo=zH,DH=e=>{const{textColor2:t,textColor3:n,textColorDisabled:o,primaryColor:r,primaryColorHover:i,inputColor:a,inputColorDisabled:s,borderColor:l,warningColor:c,warningColorHover:u,errorColor:d,errorColorHover:f,borderRadius:p,lineHeight:h,fontSizeTiny:m,fontSizeSmall:v,fontSizeMedium:b,fontSizeLarge:w,heightTiny:C,heightSmall:S,heightMedium:_,heightLarge:x,actionColor:y,clearColor:k,clearColorHover:P,clearColorPressed:T,placeholderColor:$,placeholderColorDisabled:R,iconColor:K,iconColorDisabled:j,iconColorHover:D,iconColorPressed:M}=e;return Object.assign(Object.assign({},B_),{countTextColorDisabled:o,countTextColor:n,heightTiny:C,heightSmall:S,heightMedium:_,heightLarge:x,fontSizeTiny:m,fontSizeSmall:v,fontSizeMedium:b,fontSizeLarge:w,lineHeight:h,lineHeightTextarea:h,borderRadius:p,iconSize:"16px",groupLabelColor:y,groupLabelTextColor:t,textColor:t,textColorDisabled:o,textDecorationColor:t,caretColor:r,placeholderColor:$,placeholderColorDisabled:R,color:a,colorDisabled:s,colorFocus:a,groupLabelBorder:`1px solid ${l}`,border:`1px solid ${l}`,borderHover:`1px solid ${i}`,borderDisabled:`1px solid ${l}`,borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 0 2px ${Me(r,{alpha:.2})}`,loadingColor:r,loadingColorWarning:c,borderWarning:`1px solid ${c}`,borderHoverWarning:`1px solid ${u}`,colorFocusWarning:a,borderFocusWarning:`1px solid ${u}`,boxShadowFocusWarning:`0 0 0 2px ${Me(c,{alpha:.2})}`,caretColorWarning:c,loadingColorError:d,borderError:`1px solid ${d}`,borderHoverError:`1px solid ${f}`,colorFocusError:a,borderFocusError:`1px solid ${f}`,boxShadowFocusError:`0 0 0 2px ${Me(d,{alpha:.2})}`,caretColorError:d,clearColor:k,clearColorHover:P,clearColorPressed:T,iconColor:K,iconColorDisabled:j,iconColorHover:D,iconColorPressed:M,suffixTextColor:t})},LH={name:"Input",common:bt,self:DH},om=LH,N_="n-input";function FH(e){let t=0;for(const n of e)t++;return t}function Fl(e){return e===""||e==null}function BH(e){const t=W(null);function n(){const{value:i}=e;if(!(i!=null&&i.focus)){r();return}const{selectionStart:a,selectionEnd:s,value:l}=i;if(a==null||s==null){r();return}t.value={start:a,end:s,beforeText:l.slice(0,a),afterText:l.slice(s)}}function o(){var i;const{value:a}=t,{value:s}=e;if(!a||!s)return;const{value:l}=s,{start:c,beforeText:u,afterText:d}=a;let f=l.length;if(l.endsWith(d))f=l.length-d.length;else if(l.startsWith(u))f=u.length;else{const p=u[c-1],h=l.indexOf(p,c-1);h!==-1&&(f=h+1)}(i=s.setSelectionRange)===null||i===void 0||i.call(s,f,f)}function r(){t.value=null}return ft(e,r),{recordCursor:n,restoreCursor:o}}const I0=ve({name:"InputWordCount",setup(e,{slots:t}){const{mergedValueRef:n,maxlengthRef:o,mergedClsPrefixRef:r,countGraphemesRef:i}=We(N_),a=L(()=>{const{value:s}=n;return s===null||Array.isArray(s)?0:(i.value||FH)(s)});return()=>{const{value:s}=o,{value:l}=n;return g("span",{class:`${r.value}-input-word-count`},ih(t.default,{value:l===null||Array.isArray(l)?"":l},()=>[s===void 0?a.value:`${a.value} / ${s}`]))}}}),NH=z("input",` + `,[q("& +",[V("content",{marginTop:"9px"})])]),V("content",{transition:"color .3s var(--n-bezier)",fontSize:"var(--n-font-size)"})]),V("icon",{transition:"color .3s var(--n-bezier)"})]),bj=Object.assign(Object.assign({},Be.props),{title:String,showIcon:{type:Boolean,default:!0},type:{type:String,default:"default"},bordered:{type:Boolean,default:!0},closable:Boolean,onClose:Function,onAfterLeave:Function,onAfterHide:Function}),pl=be({name:"Alert",inheritAttrs:!1,props:bj,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=Be("Alert","-alert",vj,pj,e,t),a=pn("Alert",r,t),s=F(()=>{const{common:{cubicBezierEaseInOut:h},self:p}=i.value,{fontSize:g,borderRadius:m,titleFontWeight:b,lineHeight:_,iconSize:C,iconMargin:S,iconMarginRtl:w,closeIconSize:x,closeBorderRadius:y,closeSize:P,closeMargin:k,closeMarginRtl:T,padding:E}=p,{type:R}=e,{left:K,right:N}=lo(S);return{"--n-bezier":h,"--n-color":p[Re("color",R)],"--n-close-icon-size":x,"--n-close-border-radius":y,"--n-close-color-hover":p[Re("closeColorHover",R)],"--n-close-color-pressed":p[Re("closeColorPressed",R)],"--n-close-icon-color":p[Re("closeIconColor",R)],"--n-close-icon-color-hover":p[Re("closeIconColorHover",R)],"--n-close-icon-color-pressed":p[Re("closeIconColorPressed",R)],"--n-icon-color":p[Re("iconColor",R)],"--n-border":p[Re("border",R)],"--n-title-text-color":p[Re("titleTextColor",R)],"--n-content-text-color":p[Re("contentTextColor",R)],"--n-line-height":_,"--n-border-radius":m,"--n-font-size":g,"--n-title-font-weight":b,"--n-icon-size":C,"--n-icon-margin":S,"--n-icon-margin-rtl":w,"--n-close-size":P,"--n-close-margin":k,"--n-close-margin-rtl":T,"--n-padding":E,"--n-icon-margin-left":K,"--n-icon-margin-right":N}}),l=o?Pt("alert",F(()=>e.type[0]),s,e):void 0,c=W(!0),u=()=>{const{onAfterLeave:h,onAfterHide:p}=e;h&&h(),p&&p()};return{rtlEnabled:a,mergedClsPrefix:t,mergedBordered:n,visible:c,handleCloseClick:()=>{var h;Promise.resolve((h=e.onClose)===null||h===void 0?void 0:h.call(e)).then(p=>{p!==!1&&(c.value=!1)})},handleAfterLeave:()=>{u()},mergedTheme:i,cssVars:o?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),v(Ou,{onAfterLeave:this.handleAfterLeave},{default:()=>{const{mergedClsPrefix:t,$slots:n}=this,o={class:[`${t}-alert`,this.themeClass,this.closable&&`${t}-alert--closable`,this.showIcon&&`${t}-alert--show-icon`,!this.title&&this.closable&&`${t}-alert--right-adjust`,this.rtlEnabled&&`${t}-alert--rtl`],style:this.cssVars,role:"alert"};return this.visible?v("div",Object.assign({},Ln(this.$attrs,o)),this.closable&&v(qi,{clsPrefix:t,class:`${t}-alert__close`,onClick:this.handleCloseClick}),this.bordered&&v("div",{class:`${t}-alert__border`}),this.showIcon&&v("div",{class:`${t}-alert__icon`,"aria-hidden":"true"},An(n.icon,()=>[v(Ut,{clsPrefix:t},{default:()=>{switch(this.type){case"success":return v(Vi,null);case"info":return v(Vr,null);case"warning":return v(Wi,null);case"error":return v(ji,null);default:return null}}})])),v("div",{class:[`${t}-alert-body`,this.mergedBordered&&`${t}-alert-body--bordered`]},$t(n.header,r=>{const i=r||this.title;return i?v("div",{class:`${t}-alert-body__title`},i):null}),n.default&&v("div",{class:`${t}-alert-body__content`},n))):null}})}}),yj={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"};function xj(e){const{borderRadius:t,railColor:n,primaryColor:o,primaryColorHover:r,primaryColorPressed:i,textColor2:a}=e;return Object.assign(Object.assign({},yj),{borderRadius:t,railColor:n,railColorActive:o,linkColor:Me(o,{alpha:.15}),linkTextColor:a,linkTextColorHover:r,linkTextColorPressed:i,linkTextColorActive:o})}const Cj={name:"Anchor",common:je,self:xj},wj=Cj;function Bc(e){return e.type==="group"}function c2(e){return e.type==="ignored"}function ef(e,t){try{return!!(1+t.toString().toLowerCase().indexOf(e.trim().toLowerCase()))}catch{return!1}}function u2(e,t){return{getIsGroup:Bc,getIgnored:c2,getKey(o){return Bc(o)?o.name||o.key||"key-required":o[e]},getChildren(o){return o[t]}}}function _j(e,t,n,o){if(!t)return e;function r(i){if(!Array.isArray(i))return[];const a=[];for(const s of i)if(Bc(s)){const l=r(s[o]);l.length&&a.push(Object.assign({},s,{[o]:l}))}else{if(c2(s))continue;t(n,s)&&a.push(s)}return a}return r(e)}function Sj(e,t,n){const o=new Map;return e.forEach(r=>{Bc(r)?r[n].forEach(i=>{o.set(i[t],i)}):o.set(r[t],r)}),o}const kj=hr&&"chrome"in window;hr&&navigator.userAgent.includes("Firefox");const d2=hr&&navigator.userAgent.includes("Safari")&&!kj,f2={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},Pj={name:"Input",common:je,self(e){const{textColor2:t,textColor3:n,textColorDisabled:o,primaryColor:r,primaryColorHover:i,inputColor:a,inputColorDisabled:s,warningColor:l,warningColorHover:c,errorColor:u,errorColorHover:d,borderRadius:f,lineHeight:h,fontSizeTiny:p,fontSizeSmall:g,fontSizeMedium:m,fontSizeLarge:b,heightTiny:_,heightSmall:C,heightMedium:S,heightLarge:w,clearColor:x,clearColorHover:y,clearColorPressed:P,placeholderColor:k,placeholderColorDisabled:T,iconColor:E,iconColorDisabled:R,iconColorHover:K,iconColorPressed:N}=e;return Object.assign(Object.assign({},f2),{countTextColorDisabled:o,countTextColor:n,heightTiny:_,heightSmall:C,heightMedium:S,heightLarge:w,fontSizeTiny:p,fontSizeSmall:g,fontSizeMedium:m,fontSizeLarge:b,lineHeight:h,lineHeightTextarea:h,borderRadius:f,iconSize:"16px",groupLabelColor:a,textColor:t,textColorDisabled:o,textDecorationColor:t,groupLabelTextColor:t,caretColor:r,placeholderColor:k,placeholderColorDisabled:T,color:a,colorDisabled:s,colorFocus:Me(r,{alpha:.1}),groupLabelBorder:"1px solid #0000",border:"1px solid #0000",borderHover:`1px solid ${i}`,borderDisabled:"1px solid #0000",borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 8px 0 ${Me(r,{alpha:.3})}`,loadingColor:r,loadingColorWarning:l,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,colorFocusWarning:Me(l,{alpha:.1}),borderFocusWarning:`1px solid ${c}`,boxShadowFocusWarning:`0 0 8px 0 ${Me(l,{alpha:.3})}`,caretColorWarning:l,loadingColorError:u,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,colorFocusError:Me(u,{alpha:.1}),borderFocusError:`1px solid ${d}`,boxShadowFocusError:`0 0 8px 0 ${Me(u,{alpha:.3})}`,caretColorError:u,clearColor:x,clearColorHover:y,clearColorPressed:P,iconColor:E,iconColorDisabled:R,iconColorHover:K,iconColorPressed:N,suffixTextColor:t})}},mo=Pj;function Tj(e){const{textColor2:t,textColor3:n,textColorDisabled:o,primaryColor:r,primaryColorHover:i,inputColor:a,inputColorDisabled:s,borderColor:l,warningColor:c,warningColorHover:u,errorColor:d,errorColorHover:f,borderRadius:h,lineHeight:p,fontSizeTiny:g,fontSizeSmall:m,fontSizeMedium:b,fontSizeLarge:_,heightTiny:C,heightSmall:S,heightMedium:w,heightLarge:x,actionColor:y,clearColor:P,clearColorHover:k,clearColorPressed:T,placeholderColor:E,placeholderColorDisabled:R,iconColor:K,iconColorDisabled:N,iconColorHover:D,iconColorPressed:M}=e;return Object.assign(Object.assign({},f2),{countTextColorDisabled:o,countTextColor:n,heightTiny:C,heightSmall:S,heightMedium:w,heightLarge:x,fontSizeTiny:g,fontSizeSmall:m,fontSizeMedium:b,fontSizeLarge:_,lineHeight:p,lineHeightTextarea:p,borderRadius:h,iconSize:"16px",groupLabelColor:y,groupLabelTextColor:t,textColor:t,textColorDisabled:o,textDecorationColor:t,caretColor:r,placeholderColor:E,placeholderColorDisabled:R,color:a,colorDisabled:s,colorFocus:a,groupLabelBorder:`1px solid ${l}`,border:`1px solid ${l}`,borderHover:`1px solid ${i}`,borderDisabled:`1px solid ${l}`,borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 0 2px ${Me(r,{alpha:.2})}`,loadingColor:r,loadingColorWarning:c,borderWarning:`1px solid ${c}`,borderHoverWarning:`1px solid ${u}`,colorFocusWarning:a,borderFocusWarning:`1px solid ${u}`,boxShadowFocusWarning:`0 0 0 2px ${Me(c,{alpha:.2})}`,caretColorWarning:c,loadingColorError:d,borderError:`1px solid ${d}`,borderHoverError:`1px solid ${f}`,colorFocusError:a,borderFocusError:`1px solid ${f}`,boxShadowFocusError:`0 0 0 2px ${Me(d,{alpha:.2})}`,caretColorError:d,clearColor:P,clearColorHover:k,clearColorPressed:T,iconColor:K,iconColorDisabled:N,iconColorHover:D,iconColorPressed:M,suffixTextColor:t})}const Rj={name:"Input",common:xt,self:Tj},vm=Rj,h2="n-input";function Ej(e){let t=0;for(const n of e)t++;return t}function Nl(e){return e===""||e==null}function $j(e){const t=W(null);function n(){const{value:i}=e;if(!(i!=null&&i.focus)){r();return}const{selectionStart:a,selectionEnd:s,value:l}=i;if(a==null||s==null){r();return}t.value={start:a,end:s,beforeText:l.slice(0,a),afterText:l.slice(s)}}function o(){var i;const{value:a}=t,{value:s}=e;if(!a||!s)return;const{value:l}=s,{start:c,beforeText:u,afterText:d}=a;let f=l.length;if(l.endsWith(d))f=l.length-d.length;else if(l.startsWith(u))f=u.length;else{const h=u[c-1],p=l.indexOf(h,c-1);p!==-1&&(f=p+1)}(i=s.setSelectionRange)===null||i===void 0||i.call(s,f,f)}function r(){t.value=null}return ft(e,r),{recordCursor:n,restoreCursor:o}}const Y0=be({name:"InputWordCount",setup(e,{slots:t}){const{mergedValueRef:n,maxlengthRef:o,mergedClsPrefixRef:r,countGraphemesRef:i}=Ue(h2),a=F(()=>{const{value:s}=n;return s===null||Array.isArray(s)?0:(i.value||Ej)(s)});return()=>{const{value:s}=o,{value:l}=n;return v("span",{class:`${r.value}-input-word-count`},bh(t.default,{value:l===null||Array.isArray(l)?"":l},()=>[s===void 0?a.value:`${a.value} / ${s}`]))}}}),Aj=z("input",` max-width: 100%; cursor: text; line-height: 1.5; @@ -898,7 +895,7 @@ ${t} `),q("&::placeholder",` color: #0000; -webkit-text-fill-color: transparent !important; - `),q("&:-webkit-autofill ~",[V("placeholder","display: none;")])]),Z("round",[Tt("textarea","border-radius: calc(var(--n-height) / 2);")]),V("placeholder",` + `),q("&:-webkit-autofill ~",[V("placeholder","display: none;")])]),Z("round",[Rt("textarea","border-radius: calc(var(--n-height) / 2);")]),V("placeholder",` pointer-events: none; position: absolute; left: 0; @@ -910,7 +907,7 @@ ${t} `,[q("span",` width: 100%; display: inline-block; - `)]),Z("textarea",[V("placeholder","overflow: visible;")]),Tt("autosize","width: 100%;"),Z("autosize",[V("textarea-el, input-el",` + `)]),Z("textarea",[V("placeholder","overflow: visible;")]),Rt("autosize","width: 100%;"),Z("autosize",[V("textarea-el, input-el",` position: absolute; top: 0; left: 0; @@ -938,7 +935,7 @@ ${t} `,[q("&[type=password]::-ms-reveal","display: none;"),q("+",[V("placeholder",` display: flex; align-items: center; - `)])]),Tt("textarea",[V("placeholder","white-space: nowrap;")]),V("eye",` + `)])]),Rt("textarea",[V("placeholder","white-space: nowrap;")]),V("eye",` display: flex; align-items: center; justify-content: center; @@ -1000,7 +997,7 @@ ${t} color: var(--n-icon-color-disabled); `),z("internal-icon",` color: var(--n-icon-color-disabled); - `)])]),Tt("disabled",[V("eye",` + `)])]),Rt("disabled",[V("eye",` color: var(--n-icon-color); cursor: pointer; `,[q("&:hover",` @@ -1062,7 +1059,7 @@ ${t} transition: color .3s var(--n-bezier); margin-left: 4px; font-variant: tabular-nums; - `),["warning","error"].map(e=>Z(`${e}-status`,[Tt("disabled",[z("base-loading",` + `),["warning","error"].map(e=>Z(`${e}-status`,[Rt("disabled",[z("base-loading",` color: var(--n-loading-color-${e}) `),V("input-el, textarea-el",` caret-color: var(--n-caret-color-${e}); @@ -1080,10 +1077,10 @@ ${t} `,[V("state-border",` box-shadow: var(--n-box-shadow-focus-${e}); border: var(--n-border-focus-${e}); - `)])])]))]),HH=z("input",[Z("disabled",[V("input-el, textarea-el",` + `)])])]))]),Ij=z("input",[Z("disabled",[V("input-el, textarea-el",` -webkit-text-fill-color: var(--n-text-color-disabled); - `)])]),jH=Object.assign(Object.assign({},Be.props),{bordered:{type:Boolean,default:void 0},type:{type:String,default:"text"},placeholder:[Array,String],defaultValue:{type:[String,Array],default:null},value:[String,Array],disabled:{type:Boolean,default:void 0},size:String,rows:{type:[Number,String],default:3},round:Boolean,minlength:[String,Number],maxlength:[String,Number],clearable:Boolean,autosize:{type:[Boolean,Object],default:!1},pair:Boolean,separator:String,readonly:{type:[String,Boolean],default:!1},passivelyActivated:Boolean,showPasswordOn:String,stateful:{type:Boolean,default:!0},autofocus:Boolean,inputProps:Object,resizable:{type:Boolean,default:!0},showCount:Boolean,loading:{type:Boolean,default:void 0},allowInput:Function,renderCount:Function,onMousedown:Function,onKeydown:Function,onKeyup:[Function,Array],onInput:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClick:[Function,Array],onChange:[Function,Array],onClear:[Function,Array],countGraphemes:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],textDecoration:[String,Array],attrSize:{type:Number,default:20},onInputBlur:[Function,Array],onInputFocus:[Function,Array],onDeactivate:[Function,Array],onActivate:[Function,Array],onWrapperFocus:[Function,Array],onWrapperBlur:[Function,Array],internalDeactivateOnEnter:Boolean,internalForceFocus:Boolean,internalLoadingBeforeSuffix:{type:Boolean,default:!0},showPasswordToggle:Boolean}),lr=ve({name:"Input",props:jH,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=Be("Input","-input",NH,om,e,t);F_&&Zr("-input-safari",HH,t);const a=W(null),s=W(null),l=W(null),c=W(null),u=W(null),d=W(null),f=W(null),p=BH(f),h=W(null),{localeRef:m}=Di("Input"),v=W(e.defaultValue),b=Ve(e,"value"),w=sn(b,v),C=fr(e),{mergedSizeRef:S,mergedDisabledRef:_,mergedStatusRef:x}=C,y=W(!1),k=W(!1),P=W(!1),T=W(!1);let $=null;const R=L(()=>{const{placeholder:se,pair:Re}=e;return Re?Array.isArray(se)?se:se===void 0?["",""]:[se,se]:se===void 0?[m.value.placeholder]:[se]}),K=L(()=>{const{value:se}=P,{value:Re}=w,{value:ot}=R;return!se&&(Fl(Re)||Array.isArray(Re)&&Fl(Re[0]))&&ot[0]}),j=L(()=>{const{value:se}=P,{value:Re}=w,{value:ot}=R;return!se&&ot[1]&&(Fl(Re)||Array.isArray(Re)&&Fl(Re[1]))}),D=St(()=>e.internalForceFocus||y.value),M=St(()=>{if(_.value||e.readonly||!e.clearable||!D.value&&!k.value)return!1;const{value:se}=w,{value:Re}=D;return e.pair?!!(Array.isArray(se)&&(se[0]||se[1]))&&(k.value||Re):!!se&&(k.value||Re)}),Y=L(()=>{const{showPasswordOn:se}=e;if(se)return se;if(e.showPasswordToggle)return"click"}),Q=W(!1),de=L(()=>{const{textDecoration:se}=e;return se?Array.isArray(se)?se.map(Re=>({textDecoration:Re})):[{textDecoration:se}]:["",""]}),pe=W(void 0),B=()=>{var se,Re;if(e.type==="textarea"){const{autosize:ot}=e;if(ot&&(pe.value=(Re=(se=h.value)===null||se===void 0?void 0:se.$el)===null||Re===void 0?void 0:Re.offsetWidth),!s.value||typeof ot=="boolean")return;const{paddingTop:Bt,paddingBottom:Kt,lineHeight:Lt}=window.getComputedStyle(s.value),po=Number(Bt.slice(0,-2)),mo=Number(Kt.slice(0,-2)),go=Number(Lt.slice(0,-2)),{value:Go}=l;if(!Go)return;if(ot.minRows){const Yo=Math.max(ot.minRows,1),ei=`${po+mo+go*Yo}px`;Go.style.minHeight=ei}if(ot.maxRows){const Yo=`${po+mo+go*ot.maxRows}px`;Go.style.maxHeight=Yo}}},E=L(()=>{const{maxlength:se}=e;return se===void 0?void 0:Number(se)});jt(()=>{const{value:se}=w;Array.isArray(se)||yt(se)});const A=Jn().proxy;function G(se,Re){const{onUpdateValue:ot,"onUpdate:value":Bt,onInput:Kt}=e,{nTriggerFormInput:Lt}=C;ot&&Ee(ot,se,Re),Bt&&Ee(Bt,se,Re),Kt&&Ee(Kt,se,Re),v.value=se,Lt()}function oe(se,Re){const{onChange:ot}=e,{nTriggerFormChange:Bt}=C;ot&&Ee(ot,se,Re),v.value=se,Bt()}function fe(se){const{onBlur:Re}=e,{nTriggerFormBlur:ot}=C;Re&&Ee(Re,se),ot()}function J(se){const{onFocus:Re}=e,{nTriggerFormFocus:ot}=C;Re&&Ee(Re,se),ot()}function xe(se){const{onClear:Re}=e;Re&&Ee(Re,se)}function N(se){const{onInputBlur:Re}=e;Re&&Ee(Re,se)}function be(se){const{onInputFocus:Re}=e;Re&&Ee(Re,se)}function Oe(){const{onDeactivate:se}=e;se&&Ee(se)}function Le(){const{onActivate:se}=e;se&&Ee(se)}function F(se){const{onClick:Re}=e;Re&&Ee(Re,se)}function O(se){const{onWrapperFocus:Re}=e;Re&&Ee(Re,se)}function re(se){const{onWrapperBlur:Re}=e;Re&&Ee(Re,se)}function _e(){P.value=!0}function ee(se){P.value=!1,se.target===d.value?ye(se,1):ye(se,0)}function ye(se,Re=0,ot="input"){const Bt=se.target.value;if(yt(Bt),se instanceof InputEvent&&!se.isComposing&&(P.value=!1),e.type==="textarea"){const{value:Lt}=h;Lt&&Lt.syncUnifiedContainer()}if($=Bt,P.value)return;p.recordCursor();const Kt=Pe(Bt);if(Kt)if(!e.pair)ot==="input"?G(Bt,{source:Re}):oe(Bt,{source:Re});else{let{value:Lt}=w;Array.isArray(Lt)?Lt=[Lt[0],Lt[1]]:Lt=["",""],Lt[Re]=Bt,ot==="input"?G(Lt,{source:Re}):oe(Lt,{source:Re})}A.$forceUpdate(),Kt||Ht(p.restoreCursor)}function Pe(se){const{countGraphemes:Re,maxlength:ot,minlength:Bt}=e;if(Re){let Lt;if(ot!==void 0&&(Lt===void 0&&(Lt=Re(se)),Lt>Number(ot))||Bt!==void 0&&(Lt===void 0&&(Lt=Re(se)),Lt{Bt.preventDefault(),Pt("mouseup",document,Re)};if(It("mouseup",document,Re),Y.value!=="mousedown")return;Q.value=!0;const ot=()=>{Q.value=!1,Pt("mouseup",document,ot)};It("mouseup",document,ot)}function Je(se){e.onKeyup&&Ee(e.onKeyup,se)}function xt(se){switch(e.onKeydown&&Ee(e.onKeydown,se),se.key){case"Escape":ge();break;case"Enter":X(se);break}}function X(se){var Re,ot;if(e.passivelyActivated){const{value:Bt}=T;if(Bt){e.internalDeactivateOnEnter&&ge();return}se.preventDefault(),e.type==="textarea"?(Re=s.value)===null||Re===void 0||Re.focus():(ot=u.value)===null||ot===void 0||ot.focus()}}function ge(){e.passivelyActivated&&(T.value=!1,Ht(()=>{var se;(se=a.value)===null||se===void 0||se.focus()}))}function $e(){var se,Re,ot;_.value||(e.passivelyActivated?(se=a.value)===null||se===void 0||se.focus():((Re=s.value)===null||Re===void 0||Re.focus(),(ot=u.value)===null||ot===void 0||ot.focus()))}function Ke(){var se;!((se=a.value)===null||se===void 0)&&se.contains(document.activeElement)&&document.activeElement.blur()}function Xe(){var se,Re;(se=s.value)===null||se===void 0||se.select(),(Re=u.value)===null||Re===void 0||Re.select()}function Ze(){_.value||(s.value?s.value.focus():u.value&&u.value.focus())}function tt(){const{value:se}=a;se!=null&&se.contains(document.activeElement)&&se!==document.activeElement&&ge()}function it(se){if(e.type==="textarea"){const{value:Re}=s;Re==null||Re.scrollTo(se)}else{const{value:Re}=u;Re==null||Re.scrollTo(se)}}function yt(se){const{type:Re,pair:ot,autosize:Bt}=e;if(!ot&&Bt)if(Re==="textarea"){const{value:Kt}=l;Kt&&(Kt.textContent=(se??"")+`\r -`)}else{const{value:Kt}=c;Kt&&(se?Kt.textContent=se:Kt.innerHTML=" ")}}function on(){B()}const Dt=W({top:"0"});function Se(se){var Re;const{scrollTop:ot}=se.target;Dt.value.top=`${-ot}px`,(Re=h.value)===null||Re===void 0||Re.syncUnifiedContainer()}let He=null;Xt(()=>{const{autosize:se,type:Re}=e;se&&Re==="textarea"?He=ft(w,ot=>{!Array.isArray(ot)&&ot!==$&&yt(ot)}):He==null||He()});let Qe=null;Xt(()=>{e.type==="textarea"?Qe=ft(w,se=>{var Re;!Array.isArray(se)&&se!==$&&((Re=h.value)===null||Re===void 0||Re.syncUnifiedContainer())}):Qe==null||Qe()}),at(N_,{mergedValueRef:w,maxlengthRef:E,mergedClsPrefixRef:t,countGraphemesRef:Ve(e,"countGraphemes")});const ht={wrapperElRef:a,inputElRef:u,textareaElRef:s,isCompositing:P,clear:De,focus:$e,blur:Ke,select:Xe,deactivate:tt,activate:Ze,scrollTo:it},gt=pn("Input",r,t),ut=L(()=>{const{value:se}=S,{common:{cubicBezierEaseInOut:Re},self:{color:ot,borderRadius:Bt,textColor:Kt,caretColor:Lt,caretColorError:po,caretColorWarning:mo,textDecorationColor:go,border:Go,borderDisabled:Yo,borderHover:ei,borderFocus:qa,placeholderColor:Ka,placeholderColorDisabled:Ga,lineHeightTextarea:Ya,colorDisabled:vr,colorFocus:br,textColorDisabled:Qu,boxShadowFocus:ed,iconSize:td,colorFocusWarning:nd,boxShadowFocusWarning:od,borderWarning:rd,borderFocusWarning:yk,borderHoverWarning:xk,colorFocusError:Ck,boxShadowFocusError:wk,borderError:_k,borderFocusError:Sk,borderHoverError:kk,clearSize:Pk,clearColor:Tk,clearColorHover:Rk,clearColorPressed:Ek,iconColor:$k,iconColorDisabled:Ak,suffixTextColor:Ik,countTextColor:Ok,countTextColorDisabled:Mk,iconColorHover:zk,iconColorPressed:Dk,loadingColor:Lk,loadingColorError:Fk,loadingColorWarning:Bk,[Te("padding",se)]:Nk,[Te("fontSize",se)]:Hk,[Te("height",se)]:jk}}=i.value,{left:Vk,right:Wk}=_o(Nk);return{"--n-bezier":Re,"--n-count-text-color":Ok,"--n-count-text-color-disabled":Mk,"--n-color":ot,"--n-font-size":Hk,"--n-border-radius":Bt,"--n-height":jk,"--n-padding-left":Vk,"--n-padding-right":Wk,"--n-text-color":Kt,"--n-caret-color":Lt,"--n-text-decoration-color":go,"--n-border":Go,"--n-border-disabled":Yo,"--n-border-hover":ei,"--n-border-focus":qa,"--n-placeholder-color":Ka,"--n-placeholder-color-disabled":Ga,"--n-icon-size":td,"--n-line-height-textarea":Ya,"--n-color-disabled":vr,"--n-color-focus":br,"--n-text-color-disabled":Qu,"--n-box-shadow-focus":ed,"--n-loading-color":Lk,"--n-caret-color-warning":mo,"--n-color-focus-warning":nd,"--n-box-shadow-focus-warning":od,"--n-border-warning":rd,"--n-border-focus-warning":yk,"--n-border-hover-warning":xk,"--n-loading-color-warning":Bk,"--n-caret-color-error":po,"--n-color-focus-error":Ck,"--n-box-shadow-focus-error":wk,"--n-border-error":_k,"--n-border-focus-error":Sk,"--n-border-hover-error":kk,"--n-loading-color-error":Fk,"--n-clear-color":Tk,"--n-clear-size":Pk,"--n-clear-color-hover":Rk,"--n-clear-color-pressed":Ek,"--n-icon-color":$k,"--n-icon-color-hover":zk,"--n-icon-color-pressed":Dk,"--n-icon-color-disabled":Ak,"--n-suffix-text-color":Ik}}),Rt=o?kt("input",L(()=>{const{value:se}=S;return se[0]}),ut,e):void 0;return Object.assign(Object.assign({},ht),{wrapperElRef:a,inputElRef:u,inputMirrorElRef:c,inputEl2Ref:d,textareaElRef:s,textareaMirrorElRef:l,textareaScrollbarInstRef:h,rtlEnabled:gt,uncontrolledValue:v,mergedValue:w,passwordVisible:Q,mergedPlaceholder:R,showPlaceholder1:K,showPlaceholder2:j,mergedFocus:D,isComposing:P,activated:T,showClearButton:M,mergedSize:S,mergedDisabled:_,textDecorationStyle:de,mergedClsPrefix:t,mergedBordered:n,mergedShowPasswordOn:Y,placeholderStyle:Dt,mergedStatus:x,textAreaScrollContainerWidth:pe,handleTextAreaScroll:Se,handleCompositionStart:_e,handleCompositionEnd:ee,handleInput:ye,handleInputBlur:I,handleInputFocus:H,handleWrapperBlur:te,handleWrapperFocus:Ce,handleMouseEnter:ke,handleMouseLeave:Fe,handleMouseDown:Ue,handleChange:he,handleClick:ne,handleClear:ue,handlePasswordToggleClick:je,handlePasswordToggleMousedown:Ae,handleWrapperKeydown:xt,handleWrapperKeyup:Je,handleTextAreaMirrorResize:on,getTextareaScrollContainer:()=>s.value,mergedTheme:i,cssVars:o?void 0:ut,themeClass:Rt==null?void 0:Rt.themeClass,onRender:Rt==null?void 0:Rt.onRender})},render(){var e,t;const{mergedClsPrefix:n,mergedStatus:o,themeClass:r,type:i,countGraphemes:a,onRender:s}=this,l=this.$slots;return s==null||s(),g("div",{ref:"wrapperElRef",class:[`${n}-input`,r,o&&`${n}-input--${o}-status`,{[`${n}-input--rtl`]:this.rtlEnabled,[`${n}-input--disabled`]:this.mergedDisabled,[`${n}-input--textarea`]:i==="textarea",[`${n}-input--resizable`]:this.resizable&&!this.autosize,[`${n}-input--autosize`]:this.autosize,[`${n}-input--round`]:this.round&&i!=="textarea",[`${n}-input--pair`]:this.pair,[`${n}-input--focus`]:this.mergedFocus,[`${n}-input--stateful`]:this.stateful}],style:this.cssVars,tabindex:!this.mergedDisabled&&this.passivelyActivated&&!this.activated?0:void 0,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,onClick:this.handleClick,onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onKeyup:this.handleWrapperKeyup,onKeydown:this.handleWrapperKeydown},g("div",{class:`${n}-input-wrapper`},Et(l.prefix,c=>c&&g("div",{class:`${n}-input__prefix`},c)),i==="textarea"?g(To,{ref:"textareaScrollbarInstRef",class:`${n}-input__textarea`,container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0,internalHoistYRail:!0},{default:()=>{var c,u;const{textAreaScrollContainerWidth:d}=this,f={width:this.autosize&&d&&`${d}px`};return g(rt,null,g("textarea",Object.assign({},this.inputProps,{ref:"textareaElRef",class:[`${n}-input__textarea-el`,(c=this.inputProps)===null||c===void 0?void 0:c.class],autofocus:this.autofocus,rows:Number(this.rows),placeholder:this.placeholder,value:this.mergedValue,disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,readonly:this.readonly,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,style:[this.textDecorationStyle[0],(u=this.inputProps)===null||u===void 0?void 0:u.style,f],onBlur:this.handleInputBlur,onFocus:p=>{this.handleInputFocus(p,2)},onInput:this.handleInput,onChange:this.handleChange,onScroll:this.handleTextAreaScroll})),this.showPlaceholder1?g("div",{class:`${n}-input__placeholder`,style:[this.placeholderStyle,f],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?g(sr,{onResize:this.handleTextAreaMirrorResize},{default:()=>g("div",{ref:"textareaMirrorElRef",class:`${n}-input__textarea-mirror`,key:"mirror"})}):null)}}):g("div",{class:`${n}-input__input`},g("input",Object.assign({type:i==="password"&&this.mergedShowPasswordOn&&this.passwordVisible?"text":i},this.inputProps,{ref:"inputElRef",class:[`${n}-input__input-el`,(e=this.inputProps)===null||e===void 0?void 0:e.class],style:[this.textDecorationStyle[0],(t=this.inputProps)===null||t===void 0?void 0:t.style],tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[0],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[0]:this.mergedValue,readonly:this.readonly,autofocus:this.autofocus,size:this.attrSize,onBlur:this.handleInputBlur,onFocus:c=>{this.handleInputFocus(c,0)},onInput:c=>{this.handleInput(c,0)},onChange:c=>{this.handleChange(c,0)}})),this.showPlaceholder1?g("div",{class:`${n}-input__placeholder`},g("span",null,this.mergedPlaceholder[0])):null,this.autosize?g("div",{class:`${n}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"}," "):null),!this.pair&&Et(l.suffix,c=>c||this.clearable||this.showCount||this.mergedShowPasswordOn||this.loading!==void 0?g("div",{class:`${n}-input__suffix`},[Et(l["clear-icon-placeholder"],u=>(this.clearable||u)&&g(Sh,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{placeholder:()=>u,icon:()=>{var d,f;return(f=(d=this.$slots)["clear-icon"])===null||f===void 0?void 0:f.call(d)}})),this.internalLoadingBeforeSuffix?null:c,this.loading!==void 0?g(I_,{clsPrefix:n,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?c:null,this.showCount&&this.type!=="textarea"?g(I0,null,{default:u=>{var d;return(d=l.count)===null||d===void 0?void 0:d.call(l,u)}}):null,this.mergedShowPasswordOn&&this.type==="password"?g("div",{class:`${n}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?An(l["password-visible-icon"],()=>[g(Ut,{clsPrefix:n},{default:()=>g(VB,null)})]):An(l["password-invisible-icon"],()=>[g(Ut,{clsPrefix:n},{default:()=>g(WB,null)})])):null]):null)),this.pair?g("span",{class:`${n}-input__separator`},An(l.separator,()=>[this.separator])):null,this.pair?g("div",{class:`${n}-input-wrapper`},g("div",{class:`${n}-input__input`},g("input",{ref:"inputEl2Ref",type:this.type,class:`${n}-input__input-el`,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[1],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[1]:void 0,readonly:this.readonly,style:this.textDecorationStyle[1],onBlur:this.handleInputBlur,onFocus:c=>{this.handleInputFocus(c,1)},onInput:c=>{this.handleInput(c,1)},onChange:c=>{this.handleChange(c,1)}}),this.showPlaceholder2?g("div",{class:`${n}-input__placeholder`},g("span",null,this.mergedPlaceholder[1])):null),Et(l.suffix,c=>(this.clearable||c)&&g("div",{class:`${n}-input__suffix`},[this.clearable&&g(Sh,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{icon:()=>{var u;return(u=l["clear-icon"])===null||u===void 0?void 0:u.call(l)},placeholder:()=>{var u;return(u=l["clear-icon-placeholder"])===null||u===void 0?void 0:u.call(l)}}),c]))):null,this.mergedBordered?g("div",{class:`${n}-input__border`}):null,this.mergedBordered?g("div",{class:`${n}-input__state-border`}):null,this.showCount&&i==="textarea"?g(I0,null,{default:c=>{var u;const{renderCount:d}=this;return d?d(c):(u=l.count)===null||u===void 0?void 0:u.call(l,c)}}):null)}}),VH=z("input-group",` + `)])]),Oj=Object.assign(Object.assign({},Be.props),{bordered:{type:Boolean,default:void 0},type:{type:String,default:"text"},placeholder:[Array,String],defaultValue:{type:[String,Array],default:null},value:[String,Array],disabled:{type:Boolean,default:void 0},size:String,rows:{type:[Number,String],default:3},round:Boolean,minlength:[String,Number],maxlength:[String,Number],clearable:Boolean,autosize:{type:[Boolean,Object],default:!1},pair:Boolean,separator:String,readonly:{type:[String,Boolean],default:!1},passivelyActivated:Boolean,showPasswordOn:String,stateful:{type:Boolean,default:!0},autofocus:Boolean,inputProps:Object,resizable:{type:Boolean,default:!0},showCount:Boolean,loading:{type:Boolean,default:void 0},allowInput:Function,renderCount:Function,onMousedown:Function,onKeydown:Function,onKeyup:[Function,Array],onInput:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClick:[Function,Array],onChange:[Function,Array],onClear:[Function,Array],countGraphemes:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],textDecoration:[String,Array],attrSize:{type:Number,default:20},onInputBlur:[Function,Array],onInputFocus:[Function,Array],onDeactivate:[Function,Array],onActivate:[Function,Array],onWrapperFocus:[Function,Array],onWrapperBlur:[Function,Array],internalDeactivateOnEnter:Boolean,internalForceFocus:Boolean,internalLoadingBeforeSuffix:{type:Boolean,default:!0},showPasswordToggle:Boolean}),ur=be({name:"Input",props:Oj,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=Be("Input","-input",Aj,vm,e,t);d2&&ei("-input-safari",Ij,t);const a=W(null),s=W(null),l=W(null),c=W(null),u=W(null),d=W(null),f=W(null),h=$j(f),p=W(null),{localeRef:g}=Hi("Input"),m=W(e.defaultValue),b=We(e,"value"),_=an(b,m),C=pr(e),{mergedSizeRef:S,mergedDisabledRef:w,mergedStatusRef:x}=C,y=W(!1),P=W(!1),k=W(!1),T=W(!1);let E=null;const R=F(()=>{const{placeholder:ae,pair:Ee}=e;return Ee?Array.isArray(ae)?ae:ae===void 0?["",""]:[ae,ae]:ae===void 0?[g.value.placeholder]:[ae]}),K=F(()=>{const{value:ae}=k,{value:Ee}=_,{value:ot}=R;return!ae&&(Nl(Ee)||Array.isArray(Ee)&&Nl(Ee[0]))&&ot[0]}),N=F(()=>{const{value:ae}=k,{value:Ee}=_,{value:ot}=R;return!ae&&ot[1]&&(Nl(Ee)||Array.isArray(Ee)&&Nl(Ee[1]))}),D=kt(()=>e.internalForceFocus||y.value),M=kt(()=>{if(w.value||e.readonly||!e.clearable||!D.value&&!P.value)return!1;const{value:ae}=_,{value:Ee}=D;return e.pair?!!(Array.isArray(ae)&&(ae[0]||ae[1]))&&(P.value||Ee):!!ae&&(P.value||Ee)}),G=F(()=>{const{showPasswordOn:ae}=e;if(ae)return ae;if(e.showPasswordToggle)return"click"}),J=W(!1),he=F(()=>{const{textDecoration:ae}=e;return ae?Array.isArray(ae)?ae.map(Ee=>({textDecoration:Ee})):[{textDecoration:ae}]:["",""]}),pe=W(void 0),B=()=>{var ae,Ee;if(e.type==="textarea"){const{autosize:ot}=e;if(ot&&(pe.value=(Ee=(ae=p.value)===null||ae===void 0?void 0:ae.$el)===null||Ee===void 0?void 0:Ee.offsetWidth),!s.value||typeof ot=="boolean")return;const{paddingTop:Bt,paddingBottom:Kt,lineHeight:Lt}=window.getComputedStyle(s.value),bo=Number(Bt.slice(0,-2)),yo=Number(Kt.slice(0,-2)),xo=Number(Lt.slice(0,-2)),{value:Xo}=l;if(!Xo)return;if(ot.minRows){const Zo=Math.max(ot.minRows,1),oi=`${bo+yo+xo*Zo}px`;Xo.style.minHeight=oi}if(ot.maxRows){const Zo=`${bo+yo+xo*ot.maxRows}px`;Xo.style.maxHeight=Zo}}},$=F(()=>{const{maxlength:ae}=e;return ae===void 0?void 0:Number(ae)});jt(()=>{const{value:ae}=_;Array.isArray(ae)||vt(ae)});const A=to().proxy;function Y(ae,Ee){const{onUpdateValue:ot,"onUpdate:value":Bt,onInput:Kt}=e,{nTriggerFormInput:Lt}=C;ot&&$e(ot,ae,Ee),Bt&&$e(Bt,ae,Ee),Kt&&$e(Kt,ae,Ee),m.value=ae,Lt()}function ne(ae,Ee){const{onChange:ot}=e,{nTriggerFormChange:Bt}=C;ot&&$e(ot,ae,Ee),m.value=ae,Bt()}function fe(ae){const{onBlur:Ee}=e,{nTriggerFormBlur:ot}=C;Ee&&$e(Ee,ae),ot()}function Q(ae){const{onFocus:Ee}=e,{nTriggerFormFocus:ot}=C;Ee&&$e(Ee,ae),ot()}function xe(ae){const{onClear:Ee}=e;Ee&&$e(Ee,ae)}function H(ae){const{onInputBlur:Ee}=e;Ee&&$e(Ee,ae)}function ye(ae){const{onInputFocus:Ee}=e;Ee&&$e(Ee,ae)}function Oe(){const{onDeactivate:ae}=e;ae&&$e(ae)}function Ne(){const{onActivate:ae}=e;ae&&$e(ae)}function L(ae){const{onClick:Ee}=e;Ee&&$e(Ee,ae)}function O(ae){const{onWrapperFocus:Ee}=e;Ee&&$e(Ee,ae)}function oe(ae){const{onWrapperBlur:Ee}=e;Ee&&$e(Ee,ae)}function _e(){k.value=!0}function te(ae){k.value=!1,ae.target===d.value?ge(ae,1):ge(ae,0)}function ge(ae,Ee=0,ot="input"){const Bt=ae.target.value;if(vt(Bt),ae instanceof InputEvent&&!ae.isComposing&&(k.value=!1),e.type==="textarea"){const{value:Lt}=p;Lt&&Lt.syncUnifiedContainer()}if(E=Bt,k.value)return;h.recordCursor();const Kt=ke(Bt);if(Kt)if(!e.pair)ot==="input"?Y(Bt,{source:Ee}):ne(Bt,{source:Ee});else{let{value:Lt}=_;Array.isArray(Lt)?Lt=[Lt[0],Lt[1]]:Lt=["",""],Lt[Ee]=Bt,ot==="input"?Y(Lt,{source:Ee}):ne(Lt,{source:Ee})}A.$forceUpdate(),Kt||Ht(h.restoreCursor)}function ke(ae){const{countGraphemes:Ee,maxlength:ot,minlength:Bt}=e;if(Ee){let Lt;if(ot!==void 0&&(Lt===void 0&&(Lt=Ee(ae)),Lt>Number(ot))||Bt!==void 0&&(Lt===void 0&&(Lt=Ee(ae)),Lt{Bt.preventDefault(),Tt("mouseup",document,Ee)};if(At("mouseup",document,Ee),G.value!=="mousedown")return;J.value=!0;const ot=()=>{J.value=!1,Tt("mouseup",document,ot)};At("mouseup",document,ot)}function Qe(ae){e.onKeyup&&$e(e.onKeyup,ae)}function Ct(ae){switch(e.onKeydown&&$e(e.onKeydown,ae),ae.key){case"Escape":ve();break;case"Enter":X(ae);break}}function X(ae){var Ee,ot;if(e.passivelyActivated){const{value:Bt}=T;if(Bt){e.internalDeactivateOnEnter&&ve();return}ae.preventDefault(),e.type==="textarea"?(Ee=s.value)===null||Ee===void 0||Ee.focus():(ot=u.value)===null||ot===void 0||ot.focus()}}function ve(){e.passivelyActivated&&(T.value=!1,Ht(()=>{var ae;(ae=a.value)===null||ae===void 0||ae.focus()}))}function Ae(){var ae,Ee,ot;w.value||(e.passivelyActivated?(ae=a.value)===null||ae===void 0||ae.focus():((Ee=s.value)===null||Ee===void 0||Ee.focus(),(ot=u.value)===null||ot===void 0||ot.focus()))}function Ke(){var ae;!((ae=a.value)===null||ae===void 0)&&ae.contains(document.activeElement)&&document.activeElement.blur()}function Ze(){var ae,Ee;(ae=s.value)===null||ae===void 0||ae.select(),(Ee=u.value)===null||Ee===void 0||Ee.select()}function Je(){w.value||(s.value?s.value.focus():u.value&&u.value.focus())}function tt(){const{value:ae}=a;ae!=null&&ae.contains(document.activeElement)&&ae!==document.activeElement&&ve()}function rt(ae){if(e.type==="textarea"){const{value:Ee}=s;Ee==null||Ee.scrollTo(ae)}else{const{value:Ee}=u;Ee==null||Ee.scrollTo(ae)}}function vt(ae){const{type:Ee,pair:ot,autosize:Bt}=e;if(!ot&&Bt)if(Ee==="textarea"){const{value:Kt}=l;Kt&&(Kt.textContent=`${ae??""}\r +`)}else{const{value:Kt}=c;Kt&&(ae?Kt.textContent=ae:Kt.innerHTML=" ")}}function sn(){B()}const Dt=W({top:"0"});function Se(ae){var Ee;const{scrollTop:ot}=ae.target;Dt.value.top=`${-ot}px`,(Ee=p.value)===null||Ee===void 0||Ee.syncUnifiedContainer()}let Ve=null;Xt(()=>{const{autosize:ae,type:Ee}=e;ae&&Ee==="textarea"?Ve=ft(_,ot=>{!Array.isArray(ot)&&ot!==E&&vt(ot)}):Ve==null||Ve()});let et=null;Xt(()=>{e.type==="textarea"?et=ft(_,ae=>{var Ee;!Array.isArray(ae)&&ae!==E&&((Ee=p.value)===null||Ee===void 0||Ee.syncUnifiedContainer())}):et==null||et()}),at(h2,{mergedValueRef:_,maxlengthRef:$,mergedClsPrefixRef:t,countGraphemesRef:We(e,"countGraphemes")});const ht={wrapperElRef:a,inputElRef:u,textareaElRef:s,isCompositing:k,clear:De,focus:Ae,blur:Ke,select:Ze,deactivate:tt,activate:Je,scrollTo:rt},bt=pn("Input",r,t),ut=F(()=>{const{value:ae}=S,{common:{cubicBezierEaseInOut:Ee},self:{color:ot,borderRadius:Bt,textColor:Kt,caretColor:Lt,caretColorError:bo,caretColorWarning:yo,textDecorationColor:xo,border:Xo,borderDisabled:Zo,borderHover:oi,borderFocus:Ja,placeholderColor:Qa,placeholderColorDisabled:es,lineHeightTextarea:ts,colorDisabled:yr,colorFocus:xr,textColorDisabled:od,boxShadowFocus:rd,iconSize:id,colorFocusWarning:ad,boxShadowFocusWarning:sd,borderWarning:ld,borderFocusWarning:cd,borderHoverWarning:ud,colorFocusError:dd,boxShadowFocusError:fd,borderError:hd,borderFocusError:pd,borderHoverError:qk,clearSize:Kk,clearColor:Gk,clearColorHover:Yk,clearColorPressed:Xk,iconColor:Zk,iconColorDisabled:Jk,suffixTextColor:Qk,countTextColor:e3,countTextColorDisabled:t3,iconColorHover:n3,iconColorPressed:o3,loadingColor:r3,loadingColorError:i3,loadingColorWarning:a3,[Re("padding",ae)]:s3,[Re("fontSize",ae)]:l3,[Re("height",ae)]:c3}}=i.value,{left:u3,right:d3}=lo(s3);return{"--n-bezier":Ee,"--n-count-text-color":e3,"--n-count-text-color-disabled":t3,"--n-color":ot,"--n-font-size":l3,"--n-border-radius":Bt,"--n-height":c3,"--n-padding-left":u3,"--n-padding-right":d3,"--n-text-color":Kt,"--n-caret-color":Lt,"--n-text-decoration-color":xo,"--n-border":Xo,"--n-border-disabled":Zo,"--n-border-hover":oi,"--n-border-focus":Ja,"--n-placeholder-color":Qa,"--n-placeholder-color-disabled":es,"--n-icon-size":id,"--n-line-height-textarea":ts,"--n-color-disabled":yr,"--n-color-focus":xr,"--n-text-color-disabled":od,"--n-box-shadow-focus":rd,"--n-loading-color":r3,"--n-caret-color-warning":yo,"--n-color-focus-warning":ad,"--n-box-shadow-focus-warning":sd,"--n-border-warning":ld,"--n-border-focus-warning":cd,"--n-border-hover-warning":ud,"--n-loading-color-warning":a3,"--n-caret-color-error":bo,"--n-color-focus-error":dd,"--n-box-shadow-focus-error":fd,"--n-border-error":hd,"--n-border-focus-error":pd,"--n-border-hover-error":qk,"--n-loading-color-error":i3,"--n-clear-color":Gk,"--n-clear-size":Kk,"--n-clear-color-hover":Yk,"--n-clear-color-pressed":Xk,"--n-icon-color":Zk,"--n-icon-color-hover":n3,"--n-icon-color-pressed":o3,"--n-icon-color-disabled":Jk,"--n-suffix-text-color":Qk}}),Et=o?Pt("input",F(()=>{const{value:ae}=S;return ae[0]}),ut,e):void 0;return Object.assign(Object.assign({},ht),{wrapperElRef:a,inputElRef:u,inputMirrorElRef:c,inputEl2Ref:d,textareaElRef:s,textareaMirrorElRef:l,textareaScrollbarInstRef:p,rtlEnabled:bt,uncontrolledValue:m,mergedValue:_,passwordVisible:J,mergedPlaceholder:R,showPlaceholder1:K,showPlaceholder2:N,mergedFocus:D,isComposing:k,activated:T,showClearButton:M,mergedSize:S,mergedDisabled:w,textDecorationStyle:he,mergedClsPrefix:t,mergedBordered:n,mergedShowPasswordOn:G,placeholderStyle:Dt,mergedStatus:x,textAreaScrollContainerWidth:pe,handleTextAreaScroll:Se,handleCompositionStart:_e,handleCompositionEnd:te,handleInput:ge,handleInputBlur:I,handleInputFocus:j,handleWrapperBlur:ee,handleWrapperFocus:Ce,handleMouseEnter:Pe,handleMouseLeave:Fe,handleMouseDown:Le,handleChange:le,handleClick:re,handleClear:de,handlePasswordToggleClick:He,handlePasswordToggleMousedown:Ie,handleWrapperKeydown:Ct,handleWrapperKeyup:Qe,handleTextAreaMirrorResize:sn,getTextareaScrollContainer:()=>s.value,mergedTheme:i,cssVars:o?void 0:ut,themeClass:Et==null?void 0:Et.themeClass,onRender:Et==null?void 0:Et.onRender})},render(){var e,t;const{mergedClsPrefix:n,mergedStatus:o,themeClass:r,type:i,countGraphemes:a,onRender:s}=this,l=this.$slots;return s==null||s(),v("div",{ref:"wrapperElRef",class:[`${n}-input`,r,o&&`${n}-input--${o}-status`,{[`${n}-input--rtl`]:this.rtlEnabled,[`${n}-input--disabled`]:this.mergedDisabled,[`${n}-input--textarea`]:i==="textarea",[`${n}-input--resizable`]:this.resizable&&!this.autosize,[`${n}-input--autosize`]:this.autosize,[`${n}-input--round`]:this.round&&i!=="textarea",[`${n}-input--pair`]:this.pair,[`${n}-input--focus`]:this.mergedFocus,[`${n}-input--stateful`]:this.stateful}],style:this.cssVars,tabindex:!this.mergedDisabled&&this.passivelyActivated&&!this.activated?0:void 0,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,onClick:this.handleClick,onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onKeyup:this.handleWrapperKeyup,onKeydown:this.handleWrapperKeydown},v("div",{class:`${n}-input-wrapper`},$t(l.prefix,c=>c&&v("div",{class:`${n}-input__prefix`},c)),i==="textarea"?v(Io,{ref:"textareaScrollbarInstRef",class:`${n}-input__textarea`,container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0,internalHoistYRail:!0},{default:()=>{var c,u;const{textAreaScrollContainerWidth:d}=this,f={width:this.autosize&&d&&`${d}px`};return v(it,null,v("textarea",Object.assign({},this.inputProps,{ref:"textareaElRef",class:[`${n}-input__textarea-el`,(c=this.inputProps)===null||c===void 0?void 0:c.class],autofocus:this.autofocus,rows:Number(this.rows),placeholder:this.placeholder,value:this.mergedValue,disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,readonly:this.readonly,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,style:[this.textDecorationStyle[0],(u=this.inputProps)===null||u===void 0?void 0:u.style,f],onBlur:this.handleInputBlur,onFocus:h=>{this.handleInputFocus(h,2)},onInput:this.handleInput,onChange:this.handleChange,onScroll:this.handleTextAreaScroll})),this.showPlaceholder1?v("div",{class:`${n}-input__placeholder`,style:[this.placeholderStyle,f],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?v(cr,{onResize:this.handleTextAreaMirrorResize},{default:()=>v("div",{ref:"textareaMirrorElRef",class:`${n}-input__textarea-mirror`,key:"mirror"})}):null)}}):v("div",{class:`${n}-input__input`},v("input",Object.assign({type:i==="password"&&this.mergedShowPasswordOn&&this.passwordVisible?"text":i},this.inputProps,{ref:"inputElRef",class:[`${n}-input__input-el`,(e=this.inputProps)===null||e===void 0?void 0:e.class],style:[this.textDecorationStyle[0],(t=this.inputProps)===null||t===void 0?void 0:t.style],tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[0],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[0]:this.mergedValue,readonly:this.readonly,autofocus:this.autofocus,size:this.attrSize,onBlur:this.handleInputBlur,onFocus:c=>{this.handleInputFocus(c,0)},onInput:c=>{this.handleInput(c,0)},onChange:c=>{this.handleChange(c,0)}})),this.showPlaceholder1?v("div",{class:`${n}-input__placeholder`},v("span",null,this.mergedPlaceholder[0])):null,this.autosize?v("div",{class:`${n}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"}," "):null),!this.pair&&$t(l.suffix,c=>c||this.clearable||this.showCount||this.mergedShowPasswordOn||this.loading!==void 0?v("div",{class:`${n}-input__suffix`},[$t(l["clear-icon-placeholder"],u=>(this.clearable||u)&&v(Lh,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{placeholder:()=>u,icon:()=>{var d,f;return(f=(d=this.$slots)["clear-icon"])===null||f===void 0?void 0:f.call(d)}})),this.internalLoadingBeforeSuffix?null:c,this.loading!==void 0?v(i2,{clsPrefix:n,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?c:null,this.showCount&&this.type!=="textarea"?v(Y0,null,{default:u=>{var d;return(d=l.count)===null||d===void 0?void 0:d.call(l,u)}}):null,this.mergedShowPasswordOn&&this.type==="password"?v("div",{class:`${n}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?An(l["password-visible-icon"],()=>[v(Ut,{clsPrefix:n},{default:()=>v(ON,null)})]):An(l["password-invisible-icon"],()=>[v(Ut,{clsPrefix:n},{default:()=>v(MN,null)})])):null]):null)),this.pair?v("span",{class:`${n}-input__separator`},An(l.separator,()=>[this.separator])):null,this.pair?v("div",{class:`${n}-input-wrapper`},v("div",{class:`${n}-input__input`},v("input",{ref:"inputEl2Ref",type:this.type,class:`${n}-input__input-el`,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[1],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[1]:void 0,readonly:this.readonly,style:this.textDecorationStyle[1],onBlur:this.handleInputBlur,onFocus:c=>{this.handleInputFocus(c,1)},onInput:c=>{this.handleInput(c,1)},onChange:c=>{this.handleChange(c,1)}}),this.showPlaceholder2?v("div",{class:`${n}-input__placeholder`},v("span",null,this.mergedPlaceholder[1])):null),$t(l.suffix,c=>(this.clearable||c)&&v("div",{class:`${n}-input__suffix`},[this.clearable&&v(Lh,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{icon:()=>{var u;return(u=l["clear-icon"])===null||u===void 0?void 0:u.call(l)},placeholder:()=>{var u;return(u=l["clear-icon-placeholder"])===null||u===void 0?void 0:u.call(l)}}),c]))):null,this.mergedBordered?v("div",{class:`${n}-input__border`}):null,this.mergedBordered?v("div",{class:`${n}-input__state-border`}):null,this.showCount&&i==="textarea"?v(Y0,null,{default:c=>{var u;const{renderCount:d}=this;return d?d(c):(u=l.count)===null||u===void 0?void 0:u.call(l,c)}}):null)}}),Mj=z("input-group",` display: inline-flex; width: 100%; flex-wrap: nowrap; @@ -1138,7 +1135,7 @@ ${t} `),V("box-shadow, border, state-border",` border-top-left-radius: 0!important; border-bottom-left-radius: 0!important; - `)])])])])])]),WH={},rm=ve({name:"InputGroup",props:WH,setup(e){const{mergedClsPrefixRef:t}=st(e);return Zr("-input-group",VH,t),{mergedClsPrefix:t}},render(){const{mergedClsPrefix:e}=this;return g("div",{class:`${e}-input-group`},this.$slots)}});function UH(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const qH={name:"AutoComplete",common:Ne,peers:{InternalSelectMenu:ul,Input:uo},self:UH},KH=qH,GH=e=>{const{borderRadius:t,avatarColor:n,cardColor:o,fontSize:r,heightTiny:i,heightSmall:a,heightMedium:s,heightLarge:l,heightHuge:c,modalColor:u,popoverColor:d}=e;return{borderRadius:t,fontSize:r,border:`2px solid ${o}`,heightTiny:i,heightSmall:a,heightMedium:s,heightLarge:l,heightHuge:c,color:et(o,n),colorModal:et(u,n),colorPopover:et(d,n)}},YH={name:"Avatar",common:Ne,self:GH},H_=YH,XH=()=>({gap:"-12px"}),ZH={name:"AvatarGroup",common:Ne,peers:{Avatar:H_},self:XH},JH=ZH,j_={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},QH={name:"BackTop",common:Ne,self(e){const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},j_),{color:t,textColor:n,iconColor:n,iconColorHover:o,iconColorPressed:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}},ej=QH,tj=e=>{const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},j_),{color:t,textColor:n,iconColor:n,iconColorHover:o,iconColorPressed:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})},nj={name:"BackTop",common:bt,self:tj},oj=nj,rj=g("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xlinkHref:"http://www.w3.org/1999/xlink"},g("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},g("g",{transform:"translate(-139.000000, -4423.000000)","fill-rule":"nonzero"},g("g",{transform:"translate(120.000000, 4285.000000)"},g("g",{transform:"translate(7.000000, 126.000000)"},g("g",{transform:"translate(24.000000, 24.000000) scale(1, -1) translate(-24.000000, -24.000000) translate(12.000000, 12.000000)"},g("g",{transform:"translate(4.000000, 2.000000)"},g("path",{d:"M8,0 C8.51283584,0 8.93550716,0.38604019 8.99327227,0.883378875 L9,1 L9,10.584 L12.2928932,7.29289322 C12.6834175,6.90236893 13.3165825,6.90236893 13.7071068,7.29289322 C14.0675907,7.65337718 14.0953203,8.22060824 13.7902954,8.61289944 L13.7071068,8.70710678 L8.70710678,13.7071068 L8.62544899,13.7803112 L8.618,13.784 L8.59530661,13.8036654 L8.4840621,13.8753288 L8.37133602,13.9287745 L8.22929083,13.9735893 L8.14346259,13.9897165 L8.03324678,13.9994506 L7.9137692,13.9962979 L7.77070917,13.9735893 L7.6583843,13.9401293 L7.57677845,13.9063266 L7.47929125,13.8540045 L7.4048407,13.8036865 L7.38131006,13.7856883 C7.35030318,13.7612383 7.32077858,13.7349921 7.29289322,13.7071068 L2.29289322,8.70710678 L2.20970461,8.61289944 C1.90467972,8.22060824 1.93240926,7.65337718 2.29289322,7.29289322 C2.65337718,6.93240926 3.22060824,6.90467972 3.61289944,7.20970461 L3.70710678,7.29289322 L7,10.585 L7,1 L7.00672773,0.883378875 C7.06449284,0.38604019 7.48716416,0 8,0 Z"}),g("path",{d:"M14.9333333,15.9994506 C15.5224371,15.9994506 16,16.4471659 16,16.9994506 C16,17.5122865 15.5882238,17.9349578 15.0577292,17.9927229 L14.9333333,17.9994506 L1.06666667,17.9994506 C0.477562934,17.9994506 0,17.5517354 0,16.9994506 C0,16.4866148 0.411776203,16.0639435 0.9422708,16.0061783 L1.06666667,15.9994506 L14.9333333,15.9994506 Z"})))))))),ij=z("back-top",` + `)])])])])])]),zj={},bm=be({name:"InputGroup",props:zj,setup(e){const{mergedClsPrefixRef:t}=st(e);return ei("-input-group",Mj,t),{mergedClsPrefix:t}},render(){const{mergedClsPrefix:e}=this;return v("div",{class:`${e}-input-group`},this.$slots)}});function Dj(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const Lj={name:"AutoComplete",common:je,peers:{InternalSelectMenu:fl,Input:mo},self:Dj},Fj=Lj;function Bj(e){const{borderRadius:t,avatarColor:n,cardColor:o,fontSize:r,heightTiny:i,heightSmall:a,heightMedium:s,heightLarge:l,heightHuge:c,modalColor:u,popoverColor:d}=e;return{borderRadius:t,fontSize:r,border:`2px solid ${o}`,heightTiny:i,heightSmall:a,heightMedium:s,heightLarge:l,heightHuge:c,color:Ge(o,n),colorModal:Ge(u,n),colorPopover:Ge(d,n)}}const Nj={name:"Avatar",common:je,self:Bj},p2=Nj;function Hj(){return{gap:"-12px"}}const jj={name:"AvatarGroup",common:je,peers:{Avatar:p2},self:Hj},Vj=jj,m2={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},Wj={name:"BackTop",common:je,self(e){const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},m2),{color:t,textColor:n,iconColor:n,iconColorHover:o,iconColorPressed:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}},Uj=Wj;function qj(e){const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},m2),{color:t,textColor:n,iconColor:n,iconColorHover:o,iconColorPressed:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}const Kj={name:"BackTop",common:xt,self:qj},Gj=Kj,Yj=v("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xlinkHref:"http://www.w3.org/1999/xlink"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{transform:"translate(-139.000000, -4423.000000)","fill-rule":"nonzero"},v("g",{transform:"translate(120.000000, 4285.000000)"},v("g",{transform:"translate(7.000000, 126.000000)"},v("g",{transform:"translate(24.000000, 24.000000) scale(1, -1) translate(-24.000000, -24.000000) translate(12.000000, 12.000000)"},v("g",{transform:"translate(4.000000, 2.000000)"},v("path",{d:"M8,0 C8.51283584,0 8.93550716,0.38604019 8.99327227,0.883378875 L9,1 L9,10.584 L12.2928932,7.29289322 C12.6834175,6.90236893 13.3165825,6.90236893 13.7071068,7.29289322 C14.0675907,7.65337718 14.0953203,8.22060824 13.7902954,8.61289944 L13.7071068,8.70710678 L8.70710678,13.7071068 L8.62544899,13.7803112 L8.618,13.784 L8.59530661,13.8036654 L8.4840621,13.8753288 L8.37133602,13.9287745 L8.22929083,13.9735893 L8.14346259,13.9897165 L8.03324678,13.9994506 L7.9137692,13.9962979 L7.77070917,13.9735893 L7.6583843,13.9401293 L7.57677845,13.9063266 L7.47929125,13.8540045 L7.4048407,13.8036865 L7.38131006,13.7856883 C7.35030318,13.7612383 7.32077858,13.7349921 7.29289322,13.7071068 L2.29289322,8.70710678 L2.20970461,8.61289944 C1.90467972,8.22060824 1.93240926,7.65337718 2.29289322,7.29289322 C2.65337718,6.93240926 3.22060824,6.90467972 3.61289944,7.20970461 L3.70710678,7.29289322 L7,10.585 L7,1 L7.00672773,0.883378875 C7.06449284,0.38604019 7.48716416,0 8,0 Z"}),v("path",{d:"M14.9333333,15.9994506 C15.5224371,15.9994506 16,16.4471659 16,16.9994506 C16,17.5122865 15.5882238,17.9349578 15.0577292,17.9927229 L14.9333333,17.9994506 L1.06666667,17.9994506 C0.477562934,17.9994506 0,17.5517354 0,16.9994506 C0,16.4866148 0.411776203,16.0639435 0.9422708,16.0061783 L1.06666667,15.9994506 L14.9333333,15.9994506 Z"})))))))),Xj=z("back-top",` position: fixed; right: 40px; bottom: 40px; @@ -1156,11 +1153,11 @@ ${t} min-width: var(--n-width); box-shadow: var(--n-box-shadow); background-color: var(--n-color); -`,[Na(),Z("transition-disabled",{transition:"none !important"}),z("base-icon",` +`,[qa(),Z("transition-disabled",{transition:"none !important"}),z("base-icon",` font-size: var(--n-icon-size); color: var(--n-icon-color); transition: color .3s var(--n-bezier); - `),q("svg",{pointerEvents:"none"}),q("&:hover",{boxShadow:"var(--n-box-shadow-hover)"},[z("base-icon",{color:"var(--n-icon-color-hover)"})]),q("&:active",{boxShadow:"var(--n-box-shadow-pressed)"},[z("base-icon",{color:"var(--n-icon-color-pressed)"})])]),aj=Object.assign(Object.assign({},Be.props),{show:{type:Boolean,default:void 0},right:{type:[Number,String],default:40},bottom:{type:[Number,String],default:40},to:{type:[String,Object],default:"body"},visibilityHeight:{type:Number,default:180},listenTo:[String,Object,Function],"onUpdate:show":{type:Function,default:()=>{}},target:Function,onShow:Function,onHide:Function}),sj=ve({name:"BackTop",inheritAttrs:!1,props:aj,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=W(null),r=W(!1);Xt(()=>{const{value:S}=o;if(S===null){r.value=!1;return}r.value=S>=e.visibilityHeight});const i=W(!1);ft(r,S=>{var _;i.value&&((_=e["onUpdate:show"])===null||_===void 0||_.call(e,S))});const a=Ve(e,"show"),s=sn(a,r),l=W(!0),c=W(null),u=L(()=>({right:`calc(${qt(e.right)} + ${fh.value})`,bottom:qt(e.bottom)}));let d,f;ft(s,S=>{var _,x;i.value&&(S&&((_=e.onShow)===null||_===void 0||_.call(e)),(x=e.onHide)===null||x===void 0||x.call(e))});const p=Be("BackTop","-back-top",ij,oj,e,t);function h(){var S;if(f)return;f=!0;const _=((S=e.target)===null||S===void 0?void 0:S.call(e))||YA(e.listenTo)||NC(c.value);if(!_)return;d=_===document.documentElement?document:_;const{to:x}=e;typeof x=="string"&&document.querySelector(x),d.addEventListener("scroll",v),v()}function m(){(zb(d)?document.documentElement:d).scrollTo({top:0,behavior:"smooth"})}function v(){o.value=(zb(d)?document.documentElement:d).scrollTop,i.value||Ht(()=>{i.value=!0})}function b(){l.value=!1}jt(()=>{h(),l.value=s.value}),rn(()=>{d&&d.removeEventListener("scroll",v)});const w=L(()=>{const{self:{color:S,boxShadow:_,boxShadowHover:x,boxShadowPressed:y,iconColor:k,iconColorHover:P,iconColorPressed:T,width:$,height:R,iconSize:K,borderRadius:j,textColor:D},common:{cubicBezierEaseInOut:M}}=p.value;return{"--n-bezier":M,"--n-border-radius":j,"--n-height":R,"--n-width":$,"--n-box-shadow":_,"--n-box-shadow-hover":x,"--n-box-shadow-pressed":y,"--n-color":S,"--n-icon-size":K,"--n-icon-color":k,"--n-icon-color-hover":P,"--n-icon-color-pressed":T,"--n-text-color":D}}),C=n?kt("back-top",void 0,w,e):void 0;return{placeholderRef:c,style:u,mergedShow:s,isMounted:Xr(),scrollElement:W(null),scrollTop:o,DomInfoReady:i,transitionDisabled:l,mergedClsPrefix:t,handleAfterEnter:b,handleScroll:v,handleClick:m,cssVars:n?void 0:w,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender}},render(){const{mergedClsPrefix:e}=this;return g("div",{ref:"placeholderRef",class:`${e}-back-top-placeholder`,style:"display: none","aria-hidden":!0},g(Su,{to:this.to,show:this.mergedShow},{default:()=>g(fn,{name:"fade-in-scale-up-transition",appear:this.isMounted,onAfterEnter:this.handleAfterEnter},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),this.mergedShow?g("div",Ln(this.$attrs,{class:[`${e}-back-top`,this.themeClass,this.transitionDisabled&&`${e}-back-top--transition-disabled`],style:[this.style,this.cssVars],onClick:this.handleClick}),An(this.$slots.default,()=>[g(Ut,{clsPrefix:e},{default:()=>rj})])):null}})}))}}),lj={name:"Badge",common:Ne,self(e){const{errorColorSuppl:t,infoColorSuppl:n,successColorSuppl:o,warningColorSuppl:r,fontFamily:i}=e;return{color:t,colorInfo:n,colorSuccess:o,colorError:t,colorWarning:r,fontSize:"12px",fontFamily:i}}},cj=lj,uj={fontWeightActive:"400"},V_=e=>{const{fontSize:t,textColor3:n,textColor2:o,borderRadius:r,buttonColor2Hover:i,buttonColor2Pressed:a}=e;return Object.assign(Object.assign({},uj),{fontSize:t,itemLineHeight:"1.25",itemTextColor:n,itemTextColorHover:o,itemTextColorPressed:o,itemTextColorActive:o,itemBorderRadius:r,itemColorHover:i,itemColorPressed:a,separatorColor:n})},dj={name:"Breadcrumb",common:bt,self:V_},fj=dj,hj={name:"Breadcrumb",common:Ne,self:V_},pj=hj,mj=z("breadcrumb",` + `),q("svg",{pointerEvents:"none"}),q("&:hover",{boxShadow:"var(--n-box-shadow-hover)"},[z("base-icon",{color:"var(--n-icon-color-hover)"})]),q("&:active",{boxShadow:"var(--n-box-shadow-pressed)"},[z("base-icon",{color:"var(--n-icon-color-pressed)"})])]),Zj=Object.assign(Object.assign({},Be.props),{show:{type:Boolean,default:void 0},right:{type:[Number,String],default:40},bottom:{type:[Number,String],default:40},to:{type:[String,Object],default:"body"},visibilityHeight:{type:Number,default:180},listenTo:[String,Object,Function],"onUpdate:show":{type:Function,default:()=>{}},target:Function,onShow:Function,onHide:Function}),Jj=be({name:"BackTop",inheritAttrs:!1,props:Zj,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=W(null),r=W(!1);Xt(()=>{const{value:S}=o;if(S===null){r.value=!1;return}r.value=S>=e.visibilityHeight});const i=W(!1);ft(r,S=>{var w;i.value&&((w=e["onUpdate:show"])===null||w===void 0||w.call(e,S))});const a=We(e,"show"),s=an(a,r),l=W(!0),c=W(null),u=F(()=>({right:`calc(${qt(e.right)} + ${kh.value})`,bottom:qt(e.bottom)}));let d,f;ft(s,S=>{var w,x;i.value&&(S&&((w=e.onShow)===null||w===void 0||w.call(e)),(x=e.onHide)===null||x===void 0||x.call(e))});const h=Be("BackTop","-back-top",Xj,Gj,e,t);function p(){var S;if(f)return;f=!0;const w=((S=e.target)===null||S===void 0?void 0:S.call(e))||F6(e.listenTo)||hw(c.value);if(!w)return;d=w===document.documentElement?document:w;const{to:x}=e;typeof x=="string"&&document.querySelector(x),d.addEventListener("scroll",m),m()}function g(){(Jb(d)?document.documentElement:d).scrollTo({top:0,behavior:"smooth"})}function m(){o.value=(Jb(d)?document.documentElement:d).scrollTop,i.value||Ht(()=>{i.value=!0})}function b(){l.value=!1}jt(()=>{p(),l.value=s.value}),on(()=>{d&&d.removeEventListener("scroll",m)});const _=F(()=>{const{self:{color:S,boxShadow:w,boxShadowHover:x,boxShadowPressed:y,iconColor:P,iconColorHover:k,iconColorPressed:T,width:E,height:R,iconSize:K,borderRadius:N,textColor:D},common:{cubicBezierEaseInOut:M}}=h.value;return{"--n-bezier":M,"--n-border-radius":N,"--n-height":R,"--n-width":E,"--n-box-shadow":w,"--n-box-shadow-hover":x,"--n-box-shadow-pressed":y,"--n-color":S,"--n-icon-size":K,"--n-icon-color":P,"--n-icon-color-hover":k,"--n-icon-color-pressed":T,"--n-text-color":D}}),C=n?Pt("back-top",void 0,_,e):void 0;return{placeholderRef:c,style:u,mergedShow:s,isMounted:Qr(),scrollElement:W(null),scrollTop:o,DomInfoReady:i,transitionDisabled:l,mergedClsPrefix:t,handleAfterEnter:b,handleScroll:m,handleClick:g,cssVars:n?void 0:_,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender}},render(){const{mergedClsPrefix:e}=this;return v("div",{ref:"placeholderRef",class:`${e}-back-top-placeholder`,style:"display: none","aria-hidden":!0},v(Ru,{to:this.to,show:this.mergedShow},{default:()=>v(fn,{name:"fade-in-scale-up-transition",appear:this.isMounted,onAfterEnter:this.handleAfterEnter},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),this.mergedShow?v("div",Ln(this.$attrs,{class:[`${e}-back-top`,this.themeClass,this.transitionDisabled&&`${e}-back-top--transition-disabled`],style:[this.style,this.cssVars],onClick:this.handleClick}),An(this.$slots.default,()=>[v(Ut,{clsPrefix:e},{default:()=>Yj})])):null}})}))}}),Qj={name:"Badge",common:je,self(e){const{errorColorSuppl:t,infoColorSuppl:n,successColorSuppl:o,warningColorSuppl:r,fontFamily:i}=e;return{color:t,colorInfo:n,colorSuccess:o,colorError:t,colorWarning:r,fontSize:"12px",fontFamily:i}}},eV=Qj,tV={fontWeightActive:"400"};function g2(e){const{fontSize:t,textColor3:n,textColor2:o,borderRadius:r,buttonColor2Hover:i,buttonColor2Pressed:a}=e;return Object.assign(Object.assign({},tV),{fontSize:t,itemLineHeight:"1.25",itemTextColor:n,itemTextColorHover:o,itemTextColorPressed:o,itemTextColorActive:o,itemBorderRadius:r,itemColorHover:i,itemColorPressed:a,separatorColor:n})}const nV={name:"Breadcrumb",common:xt,self:g2},oV=nV,rV={name:"Breadcrumb",common:je,self:g2},iV=rV,aV=z("breadcrumb",` white-space: nowrap; cursor: default; line-height: var(--n-item-line-height); @@ -1217,7 +1214,7 @@ ${t} color: var(--n-item-text-color-active); `)]),V("separator",` display: none; - `)])])]),W_="n-breadcrumb",gj=Object.assign(Object.assign({},Be.props),{separator:{type:String,default:"/"}}),vj=ve({name:"Breadcrumb",props:gj,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Breadcrumb","-breadcrumb",mj,fj,e,t);at(W_,{separatorRef:Ve(e,"separator"),mergedClsPrefixRef:t});const r=L(()=>{const{common:{cubicBezierEaseInOut:a},self:{separatorColor:s,itemTextColor:l,itemTextColorHover:c,itemTextColorPressed:u,itemTextColorActive:d,fontSize:f,fontWeightActive:p,itemBorderRadius:h,itemColorHover:m,itemColorPressed:v,itemLineHeight:b}}=o.value;return{"--n-font-size":f,"--n-bezier":a,"--n-item-text-color":l,"--n-item-text-color-hover":c,"--n-item-text-color-pressed":u,"--n-item-text-color-active":d,"--n-separator-color":s,"--n-item-color-hover":m,"--n-item-color-pressed":v,"--n-item-border-radius":h,"--n-font-weight-active":p,"--n-item-line-height":b}}),i=n?kt("breadcrumb",void 0,r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),g("nav",{class:[`${this.mergedClsPrefix}-breadcrumb`,this.themeClass],style:this.cssVars,"aria-label":"Breadcrumb"},g("ul",null,this.$slots))}}),bj=(e=dr?window:null)=>{const t=()=>{const{hash:r,host:i,hostname:a,href:s,origin:l,pathname:c,port:u,protocol:d,search:f}=(e==null?void 0:e.location)||{};return{hash:r,host:i,hostname:a,href:s,origin:l,pathname:c,port:u,protocol:d,search:f}},n=()=>{o.value=t()},o=W(t());return jt(()=>{e&&(e.addEventListener("popstate",n),e.addEventListener("hashchange",n))}),Ea(()=>{e&&(e.removeEventListener("popstate",n),e.removeEventListener("hashchange",n))}),o},yj={separator:String,href:String,clickable:{type:Boolean,default:!0},onClick:Function},xj=ve({name:"BreadcrumbItem",props:yj,setup(e,{slots:t}){const n=We(W_,null);if(!n)return()=>null;const{separatorRef:o,mergedClsPrefixRef:r}=n,i=bj(),a=L(()=>e.href?"a":"span"),s=L(()=>i.value.href===e.href?"location":null);return()=>{const{value:l}=r;return g("li",{class:[`${l}-breadcrumb-item`,e.clickable&&`${l}-breadcrumb-item--clickable`]},g(a.value,{class:`${l}-breadcrumb-item__link`,"aria-current":s.value,href:e.href,onClick:e.onClick},t),g("span",{class:`${l}-breadcrumb-item__separator`,"aria-hidden":"true"},An(t.separator,()=>{var c;return[(c=e.separator)!==null&&c!==void 0?c:o.value]})))}}});function ai(e){return et(e,[255,255,255,.16])}function Bl(e){return et(e,[0,0,0,.12])}const Cj="n-button-group",wj={paddingTiny:"0 6px",paddingSmall:"0 10px",paddingMedium:"0 14px",paddingLarge:"0 18px",paddingRoundTiny:"0 10px",paddingRoundSmall:"0 14px",paddingRoundMedium:"0 18px",paddingRoundLarge:"0 22px",iconMarginTiny:"6px",iconMarginSmall:"6px",iconMarginMedium:"6px",iconMarginLarge:"6px",iconSizeTiny:"14px",iconSizeSmall:"18px",iconSizeMedium:"18px",iconSizeLarge:"20px",rippleDuration:".6s"},U_=e=>{const{heightTiny:t,heightSmall:n,heightMedium:o,heightLarge:r,borderRadius:i,fontSizeTiny:a,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:c,opacityDisabled:u,textColor2:d,textColor3:f,primaryColorHover:p,primaryColorPressed:h,borderColor:m,primaryColor:v,baseColor:b,infoColor:w,infoColorHover:C,infoColorPressed:S,successColor:_,successColorHover:x,successColorPressed:y,warningColor:k,warningColorHover:P,warningColorPressed:T,errorColor:$,errorColorHover:R,errorColorPressed:K,fontWeight:j,buttonColor2:D,buttonColor2Hover:M,buttonColor2Pressed:Y,fontWeightStrong:Q}=e;return Object.assign(Object.assign({},wj),{heightTiny:t,heightSmall:n,heightMedium:o,heightLarge:r,borderRadiusTiny:i,borderRadiusSmall:i,borderRadiusMedium:i,borderRadiusLarge:i,fontSizeTiny:a,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:c,opacityDisabled:u,colorOpacitySecondary:"0.16",colorOpacitySecondaryHover:"0.22",colorOpacitySecondaryPressed:"0.28",colorSecondary:D,colorSecondaryHover:M,colorSecondaryPressed:Y,colorTertiary:D,colorTertiaryHover:M,colorTertiaryPressed:Y,colorQuaternary:"#0000",colorQuaternaryHover:M,colorQuaternaryPressed:Y,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:d,textColorTertiary:f,textColorHover:p,textColorPressed:h,textColorFocus:p,textColorDisabled:d,textColorText:d,textColorTextHover:p,textColorTextPressed:h,textColorTextFocus:p,textColorTextDisabled:d,textColorGhost:d,textColorGhostHover:p,textColorGhostPressed:h,textColorGhostFocus:p,textColorGhostDisabled:d,border:`1px solid ${m}`,borderHover:`1px solid ${p}`,borderPressed:`1px solid ${h}`,borderFocus:`1px solid ${p}`,borderDisabled:`1px solid ${m}`,rippleColor:v,colorPrimary:v,colorHoverPrimary:p,colorPressedPrimary:h,colorFocusPrimary:p,colorDisabledPrimary:v,textColorPrimary:b,textColorHoverPrimary:b,textColorPressedPrimary:b,textColorFocusPrimary:b,textColorDisabledPrimary:b,textColorTextPrimary:v,textColorTextHoverPrimary:p,textColorTextPressedPrimary:h,textColorTextFocusPrimary:p,textColorTextDisabledPrimary:d,textColorGhostPrimary:v,textColorGhostHoverPrimary:p,textColorGhostPressedPrimary:h,textColorGhostFocusPrimary:p,textColorGhostDisabledPrimary:v,borderPrimary:`1px solid ${v}`,borderHoverPrimary:`1px solid ${p}`,borderPressedPrimary:`1px solid ${h}`,borderFocusPrimary:`1px solid ${p}`,borderDisabledPrimary:`1px solid ${v}`,rippleColorPrimary:v,colorInfo:w,colorHoverInfo:C,colorPressedInfo:S,colorFocusInfo:C,colorDisabledInfo:w,textColorInfo:b,textColorHoverInfo:b,textColorPressedInfo:b,textColorFocusInfo:b,textColorDisabledInfo:b,textColorTextInfo:w,textColorTextHoverInfo:C,textColorTextPressedInfo:S,textColorTextFocusInfo:C,textColorTextDisabledInfo:d,textColorGhostInfo:w,textColorGhostHoverInfo:C,textColorGhostPressedInfo:S,textColorGhostFocusInfo:C,textColorGhostDisabledInfo:w,borderInfo:`1px solid ${w}`,borderHoverInfo:`1px solid ${C}`,borderPressedInfo:`1px solid ${S}`,borderFocusInfo:`1px solid ${C}`,borderDisabledInfo:`1px solid ${w}`,rippleColorInfo:w,colorSuccess:_,colorHoverSuccess:x,colorPressedSuccess:y,colorFocusSuccess:x,colorDisabledSuccess:_,textColorSuccess:b,textColorHoverSuccess:b,textColorPressedSuccess:b,textColorFocusSuccess:b,textColorDisabledSuccess:b,textColorTextSuccess:_,textColorTextHoverSuccess:x,textColorTextPressedSuccess:y,textColorTextFocusSuccess:x,textColorTextDisabledSuccess:d,textColorGhostSuccess:_,textColorGhostHoverSuccess:x,textColorGhostPressedSuccess:y,textColorGhostFocusSuccess:x,textColorGhostDisabledSuccess:_,borderSuccess:`1px solid ${_}`,borderHoverSuccess:`1px solid ${x}`,borderPressedSuccess:`1px solid ${y}`,borderFocusSuccess:`1px solid ${x}`,borderDisabledSuccess:`1px solid ${_}`,rippleColorSuccess:_,colorWarning:k,colorHoverWarning:P,colorPressedWarning:T,colorFocusWarning:P,colorDisabledWarning:k,textColorWarning:b,textColorHoverWarning:b,textColorPressedWarning:b,textColorFocusWarning:b,textColorDisabledWarning:b,textColorTextWarning:k,textColorTextHoverWarning:P,textColorTextPressedWarning:T,textColorTextFocusWarning:P,textColorTextDisabledWarning:d,textColorGhostWarning:k,textColorGhostHoverWarning:P,textColorGhostPressedWarning:T,textColorGhostFocusWarning:P,textColorGhostDisabledWarning:k,borderWarning:`1px solid ${k}`,borderHoverWarning:`1px solid ${P}`,borderPressedWarning:`1px solid ${T}`,borderFocusWarning:`1px solid ${P}`,borderDisabledWarning:`1px solid ${k}`,rippleColorWarning:k,colorError:$,colorHoverError:R,colorPressedError:K,colorFocusError:R,colorDisabledError:$,textColorError:b,textColorHoverError:b,textColorPressedError:b,textColorFocusError:b,textColorDisabledError:b,textColorTextError:$,textColorTextHoverError:R,textColorTextPressedError:K,textColorTextFocusError:R,textColorTextDisabledError:d,textColorGhostError:$,textColorGhostHoverError:R,textColorGhostPressedError:K,textColorGhostFocusError:R,textColorGhostDisabledError:$,borderError:`1px solid ${$}`,borderHoverError:`1px solid ${R}`,borderPressedError:`1px solid ${K}`,borderFocusError:`1px solid ${R}`,borderDisabledError:`1px solid ${$}`,rippleColorError:$,waveOpacity:"0.6",fontWeight:j,fontWeightStrong:Q})},_j={name:"Button",common:bt,self:U_},Au=_j,Sj={name:"Button",common:Ne,self(e){const t=U_(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},Wn=Sj,kj=q([z("button",` + `)])])]),v2="n-breadcrumb",sV=Object.assign(Object.assign({},Be.props),{separator:{type:String,default:"/"}}),lV=be({name:"Breadcrumb",props:sV,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Breadcrumb","-breadcrumb",aV,oV,e,t);at(v2,{separatorRef:We(e,"separator"),mergedClsPrefixRef:t});const r=F(()=>{const{common:{cubicBezierEaseInOut:a},self:{separatorColor:s,itemTextColor:l,itemTextColorHover:c,itemTextColorPressed:u,itemTextColorActive:d,fontSize:f,fontWeightActive:h,itemBorderRadius:p,itemColorHover:g,itemColorPressed:m,itemLineHeight:b}}=o.value;return{"--n-font-size":f,"--n-bezier":a,"--n-item-text-color":l,"--n-item-text-color-hover":c,"--n-item-text-color-pressed":u,"--n-item-text-color-active":d,"--n-separator-color":s,"--n-item-color-hover":g,"--n-item-color-pressed":m,"--n-item-border-radius":p,"--n-font-weight-active":h,"--n-item-line-height":b}}),i=n?Pt("breadcrumb",void 0,r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),v("nav",{class:[`${this.mergedClsPrefix}-breadcrumb`,this.themeClass],style:this.cssVars,"aria-label":"Breadcrumb"},v("ul",null,this.$slots))}});function cV(e=hr?window:null){const t=()=>{const{hash:r,host:i,hostname:a,href:s,origin:l,pathname:c,port:u,protocol:d,search:f}=(e==null?void 0:e.location)||{};return{hash:r,host:i,hostname:a,href:s,origin:l,pathname:c,port:u,protocol:d,search:f}},n=W(t()),o=()=>{n.value=t()};return jt(()=>{e&&(e.addEventListener("popstate",o),e.addEventListener("hashchange",o))}),Ma(()=>{e&&(e.removeEventListener("popstate",o),e.removeEventListener("hashchange",o))}),n}const uV={separator:String,href:String,clickable:{type:Boolean,default:!0},onClick:Function},dV=be({name:"BreadcrumbItem",props:uV,setup(e,{slots:t}){const n=Ue(v2,null);if(!n)return()=>null;const{separatorRef:o,mergedClsPrefixRef:r}=n,i=cV(),a=F(()=>e.href?"a":"span"),s=F(()=>i.value.href===e.href?"location":null);return()=>{const{value:l}=r;return v("li",{class:[`${l}-breadcrumb-item`,e.clickable&&`${l}-breadcrumb-item--clickable`]},v(a.value,{class:`${l}-breadcrumb-item__link`,"aria-current":s.value,href:e.href,onClick:e.onClick},t),v("span",{class:`${l}-breadcrumb-item__separator`,"aria-hidden":"true"},An(t.separator,()=>{var c;return[(c=e.separator)!==null&&c!==void 0?c:o.value]})))}}});function ci(e){return Ge(e,[255,255,255,.16])}function Hl(e){return Ge(e,[0,0,0,.12])}const fV="n-button-group",hV={paddingTiny:"0 6px",paddingSmall:"0 10px",paddingMedium:"0 14px",paddingLarge:"0 18px",paddingRoundTiny:"0 10px",paddingRoundSmall:"0 14px",paddingRoundMedium:"0 18px",paddingRoundLarge:"0 22px",iconMarginTiny:"6px",iconMarginSmall:"6px",iconMarginMedium:"6px",iconMarginLarge:"6px",iconSizeTiny:"14px",iconSizeSmall:"18px",iconSizeMedium:"18px",iconSizeLarge:"20px",rippleDuration:".6s"};function b2(e){const{heightTiny:t,heightSmall:n,heightMedium:o,heightLarge:r,borderRadius:i,fontSizeTiny:a,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:c,opacityDisabled:u,textColor2:d,textColor3:f,primaryColorHover:h,primaryColorPressed:p,borderColor:g,primaryColor:m,baseColor:b,infoColor:_,infoColorHover:C,infoColorPressed:S,successColor:w,successColorHover:x,successColorPressed:y,warningColor:P,warningColorHover:k,warningColorPressed:T,errorColor:E,errorColorHover:R,errorColorPressed:K,fontWeight:N,buttonColor2:D,buttonColor2Hover:M,buttonColor2Pressed:G,fontWeightStrong:J}=e;return Object.assign(Object.assign({},hV),{heightTiny:t,heightSmall:n,heightMedium:o,heightLarge:r,borderRadiusTiny:i,borderRadiusSmall:i,borderRadiusMedium:i,borderRadiusLarge:i,fontSizeTiny:a,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:c,opacityDisabled:u,colorOpacitySecondary:"0.16",colorOpacitySecondaryHover:"0.22",colorOpacitySecondaryPressed:"0.28",colorSecondary:D,colorSecondaryHover:M,colorSecondaryPressed:G,colorTertiary:D,colorTertiaryHover:M,colorTertiaryPressed:G,colorQuaternary:"#0000",colorQuaternaryHover:M,colorQuaternaryPressed:G,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:d,textColorTertiary:f,textColorHover:h,textColorPressed:p,textColorFocus:h,textColorDisabled:d,textColorText:d,textColorTextHover:h,textColorTextPressed:p,textColorTextFocus:h,textColorTextDisabled:d,textColorGhost:d,textColorGhostHover:h,textColorGhostPressed:p,textColorGhostFocus:h,textColorGhostDisabled:d,border:`1px solid ${g}`,borderHover:`1px solid ${h}`,borderPressed:`1px solid ${p}`,borderFocus:`1px solid ${h}`,borderDisabled:`1px solid ${g}`,rippleColor:m,colorPrimary:m,colorHoverPrimary:h,colorPressedPrimary:p,colorFocusPrimary:h,colorDisabledPrimary:m,textColorPrimary:b,textColorHoverPrimary:b,textColorPressedPrimary:b,textColorFocusPrimary:b,textColorDisabledPrimary:b,textColorTextPrimary:m,textColorTextHoverPrimary:h,textColorTextPressedPrimary:p,textColorTextFocusPrimary:h,textColorTextDisabledPrimary:d,textColorGhostPrimary:m,textColorGhostHoverPrimary:h,textColorGhostPressedPrimary:p,textColorGhostFocusPrimary:h,textColorGhostDisabledPrimary:m,borderPrimary:`1px solid ${m}`,borderHoverPrimary:`1px solid ${h}`,borderPressedPrimary:`1px solid ${p}`,borderFocusPrimary:`1px solid ${h}`,borderDisabledPrimary:`1px solid ${m}`,rippleColorPrimary:m,colorInfo:_,colorHoverInfo:C,colorPressedInfo:S,colorFocusInfo:C,colorDisabledInfo:_,textColorInfo:b,textColorHoverInfo:b,textColorPressedInfo:b,textColorFocusInfo:b,textColorDisabledInfo:b,textColorTextInfo:_,textColorTextHoverInfo:C,textColorTextPressedInfo:S,textColorTextFocusInfo:C,textColorTextDisabledInfo:d,textColorGhostInfo:_,textColorGhostHoverInfo:C,textColorGhostPressedInfo:S,textColorGhostFocusInfo:C,textColorGhostDisabledInfo:_,borderInfo:`1px solid ${_}`,borderHoverInfo:`1px solid ${C}`,borderPressedInfo:`1px solid ${S}`,borderFocusInfo:`1px solid ${C}`,borderDisabledInfo:`1px solid ${_}`,rippleColorInfo:_,colorSuccess:w,colorHoverSuccess:x,colorPressedSuccess:y,colorFocusSuccess:x,colorDisabledSuccess:w,textColorSuccess:b,textColorHoverSuccess:b,textColorPressedSuccess:b,textColorFocusSuccess:b,textColorDisabledSuccess:b,textColorTextSuccess:w,textColorTextHoverSuccess:x,textColorTextPressedSuccess:y,textColorTextFocusSuccess:x,textColorTextDisabledSuccess:d,textColorGhostSuccess:w,textColorGhostHoverSuccess:x,textColorGhostPressedSuccess:y,textColorGhostFocusSuccess:x,textColorGhostDisabledSuccess:w,borderSuccess:`1px solid ${w}`,borderHoverSuccess:`1px solid ${x}`,borderPressedSuccess:`1px solid ${y}`,borderFocusSuccess:`1px solid ${x}`,borderDisabledSuccess:`1px solid ${w}`,rippleColorSuccess:w,colorWarning:P,colorHoverWarning:k,colorPressedWarning:T,colorFocusWarning:k,colorDisabledWarning:P,textColorWarning:b,textColorHoverWarning:b,textColorPressedWarning:b,textColorFocusWarning:b,textColorDisabledWarning:b,textColorTextWarning:P,textColorTextHoverWarning:k,textColorTextPressedWarning:T,textColorTextFocusWarning:k,textColorTextDisabledWarning:d,textColorGhostWarning:P,textColorGhostHoverWarning:k,textColorGhostPressedWarning:T,textColorGhostFocusWarning:k,textColorGhostDisabledWarning:P,borderWarning:`1px solid ${P}`,borderHoverWarning:`1px solid ${k}`,borderPressedWarning:`1px solid ${T}`,borderFocusWarning:`1px solid ${k}`,borderDisabledWarning:`1px solid ${P}`,rippleColorWarning:P,colorError:E,colorHoverError:R,colorPressedError:K,colorFocusError:R,colorDisabledError:E,textColorError:b,textColorHoverError:b,textColorPressedError:b,textColorFocusError:b,textColorDisabledError:b,textColorTextError:E,textColorTextHoverError:R,textColorTextPressedError:K,textColorTextFocusError:R,textColorTextDisabledError:d,textColorGhostError:E,textColorGhostHoverError:R,textColorGhostPressedError:K,textColorGhostFocusError:R,textColorGhostDisabledError:E,borderError:`1px solid ${E}`,borderHoverError:`1px solid ${R}`,borderPressedError:`1px solid ${K}`,borderFocusError:`1px solid ${R}`,borderDisabledError:`1px solid ${E}`,rippleColorError:E,waveOpacity:"0.6",fontWeight:N,fontWeightStrong:J})}const pV={name:"Button",common:xt,self:b2},zu=pV,mV={name:"Button",common:je,self(e){const t=b2(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},Wn=mV,gV=q([z("button",` margin: 0; font-weight: var(--n-font-weight); line-height: 1; @@ -1249,7 +1246,7 @@ ${t} background-color .3s var(--n-bezier), opacity .3s var(--n-bezier), border-color .3s var(--n-bezier); - `,[Z("color",[V("border",{borderColor:"var(--n-border-color)"}),Z("disabled",[V("border",{borderColor:"var(--n-border-color-disabled)"})]),Tt("disabled",[q("&:focus",[V("state-border",{borderColor:"var(--n-border-color-focus)"})]),q("&:hover",[V("state-border",{borderColor:"var(--n-border-color-hover)"})]),q("&:active",[V("state-border",{borderColor:"var(--n-border-color-pressed)"})]),Z("pressed",[V("state-border",{borderColor:"var(--n-border-color-pressed)"})])])]),Z("disabled",{backgroundColor:"var(--n-color-disabled)",color:"var(--n-text-color-disabled)"},[V("border",{border:"var(--n-border-disabled)"})]),Tt("disabled",[q("&:focus",{backgroundColor:"var(--n-color-focus)",color:"var(--n-text-color-focus)"},[V("state-border",{border:"var(--n-border-focus)"})]),q("&:hover",{backgroundColor:"var(--n-color-hover)",color:"var(--n-text-color-hover)"},[V("state-border",{border:"var(--n-border-hover)"})]),q("&:active",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[V("state-border",{border:"var(--n-border-pressed)"})]),Z("pressed",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[V("state-border",{border:"var(--n-border-pressed)"})])]),Z("loading","cursor: wait;"),z("base-wave",` + `,[Z("color",[V("border",{borderColor:"var(--n-border-color)"}),Z("disabled",[V("border",{borderColor:"var(--n-border-color-disabled)"})]),Rt("disabled",[q("&:focus",[V("state-border",{borderColor:"var(--n-border-color-focus)"})]),q("&:hover",[V("state-border",{borderColor:"var(--n-border-color-hover)"})]),q("&:active",[V("state-border",{borderColor:"var(--n-border-color-pressed)"})]),Z("pressed",[V("state-border",{borderColor:"var(--n-border-color-pressed)"})])])]),Z("disabled",{backgroundColor:"var(--n-color-disabled)",color:"var(--n-text-color-disabled)"},[V("border",{border:"var(--n-border-disabled)"})]),Rt("disabled",[q("&:focus",{backgroundColor:"var(--n-color-focus)",color:"var(--n-text-color-focus)"},[V("state-border",{border:"var(--n-border-focus)"})]),q("&:hover",{backgroundColor:"var(--n-color-hover)",color:"var(--n-text-color-hover)"},[V("state-border",{border:"var(--n-border-hover)"})]),q("&:active",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[V("state-border",{border:"var(--n-border-pressed)"})]),Z("pressed",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[V("state-border",{border:"var(--n-border-pressed)"})])]),Z("loading","cursor: wait;"),z("base-wave",` pointer-events: none; top: 0; right: 0; @@ -1258,7 +1255,7 @@ ${t} animation-iteration-count: 1; animation-duration: var(--n-ripple-duration); animation-timing-function: var(--n-bezier-ease-out), var(--n-bezier-ease-out); - `,[Z("active",{zIndex:1,animationName:"button-wave-spread, button-wave-opacity"})]),dr&&"MozBoxSizing"in document.createElement("div").style?q("&::moz-focus-inner",{border:0}):null,V("border, state-border",` + `,[Z("active",{zIndex:1,animationName:"button-wave-spread, button-wave-opacity"})]),hr&&"MozBoxSizing"in document.createElement("div").style?q("&::moz-focus-inner",{border:0}):null,V("border, state-border",` position: absolute; left: 0; top: 0; @@ -1286,7 +1283,7 @@ ${t} display: flex; align-items: center; justify-content: center; - `,[qn({top:"50%",originalTransform:"translateY(-50%)"})]),bH()]),V("content",` + `,[qn({top:"50%",originalTransform:"translateY(-50%)"})]),cj()]),V("content",` display: flex; align-items: center; flex-wrap: nowrap; @@ -1294,7 +1291,7 @@ ${t} `,[q("~",[V("icon",{margin:"var(--n-icon-margin)",marginRight:0})])]),Z("block",` display: flex; width: 100%; - `),Z("dashed",[V("border, state-border",{borderStyle:"dashed !important"})]),Z("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),q("@keyframes button-wave-spread",{from:{boxShadow:"0 0 0.5px 0 var(--n-ripple-color)"},to:{boxShadow:"0 0 0.5px 4.5px var(--n-ripple-color)"}}),q("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]),Pj=Object.assign(Object.assign({},Be.props),{color:String,textColor:String,text:Boolean,block:Boolean,loading:Boolean,disabled:Boolean,circle:Boolean,size:String,ghost:Boolean,round:Boolean,secondary:Boolean,tertiary:Boolean,quaternary:Boolean,strong:Boolean,focusable:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},tag:{type:String,default:"button"},type:{type:String,default:"default"},dashed:Boolean,renderIcon:Function,iconPlacement:{type:String,default:"left"},attrType:{type:String,default:"button"},bordered:{type:Boolean,default:!0},onClick:[Function,Array],nativeFocusBehavior:{type:Boolean,default:!F_}}),q_=ve({name:"Button",props:Pj,setup(e){const t=W(null),n=W(null),o=W(!1),r=St(()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered),i=We(Cj,{}),{mergedSizeRef:a}=fr({},{defaultSize:"medium",mergedSize:S=>{const{size:_}=e;if(_)return _;const{size:x}=i;if(x)return x;const{mergedSize:y}=S||{};return y?y.value:"medium"}}),s=L(()=>e.focusable&&!e.disabled),l=S=>{var _;s.value||S.preventDefault(),!e.nativeFocusBehavior&&(S.preventDefault(),!e.disabled&&s.value&&((_=t.value)===null||_===void 0||_.focus({preventScroll:!0})))},c=S=>{var _;if(!e.disabled&&!e.loading){const{onClick:x}=e;x&&Ee(x,S),e.text||(_=n.value)===null||_===void 0||_.play()}},u=S=>{switch(S.key){case"Enter":if(!e.keyboard)return;o.value=!1}},d=S=>{switch(S.key){case"Enter":if(!e.keyboard||e.loading){S.preventDefault();return}o.value=!0}},f=()=>{o.value=!1},{inlineThemeDisabled:p,mergedClsPrefixRef:h,mergedRtlRef:m}=st(e),v=Be("Button","-button",kj,Au,e,h),b=pn("Button",m,h),w=L(()=>{const S=v.value,{common:{cubicBezierEaseInOut:_,cubicBezierEaseOut:x},self:y}=S,{rippleDuration:k,opacityDisabled:P,fontWeight:T,fontWeightStrong:$}=y,R=a.value,{dashed:K,type:j,ghost:D,text:M,color:Y,round:Q,circle:de,textColor:pe,secondary:B,tertiary:E,quaternary:A,strong:G}=e,oe={"font-weight":G?$:T};let fe={"--n-color":"initial","--n-color-hover":"initial","--n-color-pressed":"initial","--n-color-focus":"initial","--n-color-disabled":"initial","--n-ripple-color":"initial","--n-text-color":"initial","--n-text-color-hover":"initial","--n-text-color-pressed":"initial","--n-text-color-focus":"initial","--n-text-color-disabled":"initial"};const J=j==="tertiary",xe=j==="default",N=J?"default":j;if(M){const I=pe||Y;fe={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":"#0000","--n-text-color":I||y[Te("textColorText",N)],"--n-text-color-hover":I?ai(I):y[Te("textColorTextHover",N)],"--n-text-color-pressed":I?Bl(I):y[Te("textColorTextPressed",N)],"--n-text-color-focus":I?ai(I):y[Te("textColorTextHover",N)],"--n-text-color-disabled":I||y[Te("textColorTextDisabled",N)]}}else if(D||K){const I=pe||Y;fe={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":Y||y[Te("rippleColor",N)],"--n-text-color":I||y[Te("textColorGhost",N)],"--n-text-color-hover":I?ai(I):y[Te("textColorGhostHover",N)],"--n-text-color-pressed":I?Bl(I):y[Te("textColorGhostPressed",N)],"--n-text-color-focus":I?ai(I):y[Te("textColorGhostHover",N)],"--n-text-color-disabled":I||y[Te("textColorGhostDisabled",N)]}}else if(B){const I=xe?y.textColor:J?y.textColorTertiary:y[Te("color",N)],H=Y||I,te=j!=="default"&&j!=="tertiary";fe={"--n-color":te?Me(H,{alpha:Number(y.colorOpacitySecondary)}):y.colorSecondary,"--n-color-hover":te?Me(H,{alpha:Number(y.colorOpacitySecondaryHover)}):y.colorSecondaryHover,"--n-color-pressed":te?Me(H,{alpha:Number(y.colorOpacitySecondaryPressed)}):y.colorSecondaryPressed,"--n-color-focus":te?Me(H,{alpha:Number(y.colorOpacitySecondaryHover)}):y.colorSecondaryHover,"--n-color-disabled":y.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":H,"--n-text-color-hover":H,"--n-text-color-pressed":H,"--n-text-color-focus":H,"--n-text-color-disabled":H}}else if(E||A){const I=xe?y.textColor:J?y.textColorTertiary:y[Te("color",N)],H=Y||I;E?(fe["--n-color"]=y.colorTertiary,fe["--n-color-hover"]=y.colorTertiaryHover,fe["--n-color-pressed"]=y.colorTertiaryPressed,fe["--n-color-focus"]=y.colorSecondaryHover,fe["--n-color-disabled"]=y.colorTertiary):(fe["--n-color"]=y.colorQuaternary,fe["--n-color-hover"]=y.colorQuaternaryHover,fe["--n-color-pressed"]=y.colorQuaternaryPressed,fe["--n-color-focus"]=y.colorQuaternaryHover,fe["--n-color-disabled"]=y.colorQuaternary),fe["--n-ripple-color"]="#0000",fe["--n-text-color"]=H,fe["--n-text-color-hover"]=H,fe["--n-text-color-pressed"]=H,fe["--n-text-color-focus"]=H,fe["--n-text-color-disabled"]=H}else fe={"--n-color":Y||y[Te("color",N)],"--n-color-hover":Y?ai(Y):y[Te("colorHover",N)],"--n-color-pressed":Y?Bl(Y):y[Te("colorPressed",N)],"--n-color-focus":Y?ai(Y):y[Te("colorFocus",N)],"--n-color-disabled":Y||y[Te("colorDisabled",N)],"--n-ripple-color":Y||y[Te("rippleColor",N)],"--n-text-color":pe||(Y?y.textColorPrimary:J?y.textColorTertiary:y[Te("textColor",N)]),"--n-text-color-hover":pe||(Y?y.textColorHoverPrimary:y[Te("textColorHover",N)]),"--n-text-color-pressed":pe||(Y?y.textColorPressedPrimary:y[Te("textColorPressed",N)]),"--n-text-color-focus":pe||(Y?y.textColorFocusPrimary:y[Te("textColorFocus",N)]),"--n-text-color-disabled":pe||(Y?y.textColorDisabledPrimary:y[Te("textColorDisabled",N)])};let be={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};M?be={"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:be={"--n-border":y[Te("border",N)],"--n-border-hover":y[Te("borderHover",N)],"--n-border-pressed":y[Te("borderPressed",N)],"--n-border-focus":y[Te("borderFocus",N)],"--n-border-disabled":y[Te("borderDisabled",N)]};const{[Te("height",R)]:Oe,[Te("fontSize",R)]:Le,[Te("padding",R)]:F,[Te("paddingRound",R)]:O,[Te("iconSize",R)]:re,[Te("borderRadius",R)]:_e,[Te("iconMargin",R)]:ee,waveOpacity:ye}=y,Pe={"--n-width":de&&!M?Oe:"initial","--n-height":M?"initial":Oe,"--n-font-size":Le,"--n-padding":de||M?"initial":Q?O:F,"--n-icon-size":re,"--n-icon-margin":ee,"--n-border-radius":M?"initial":de||Q?Oe:_e};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":_,"--n-bezier-ease-out":x,"--n-ripple-duration":k,"--n-opacity-disabled":P,"--n-wave-opacity":ye},oe),fe),be),Pe)}),C=p?kt("button",L(()=>{let S="";const{dashed:_,type:x,ghost:y,text:k,color:P,round:T,circle:$,textColor:R,secondary:K,tertiary:j,quaternary:D,strong:M}=e;_&&(S+="a"),y&&(S+="b"),k&&(S+="c"),T&&(S+="d"),$&&(S+="e"),K&&(S+="f"),j&&(S+="g"),D&&(S+="h"),M&&(S+="i"),P&&(S+="j"+Pc(P)),R&&(S+="k"+Pc(R));const{value:Y}=a;return S+="l"+Y[0],S+="m"+x[0],S}),w,e):void 0;return{selfElRef:t,waveElRef:n,mergedClsPrefix:h,mergedFocusable:s,mergedSize:a,showBorder:r,enterPressed:o,rtlEnabled:b,handleMousedown:l,handleKeydown:d,handleBlur:f,handleKeyup:u,handleClick:c,customColorCssVars:L(()=>{const{color:S}=e;if(!S)return null;const _=ai(S);return{"--n-border-color":S,"--n-border-color-hover":_,"--n-border-color-pressed":Bl(S),"--n-border-color-focus":_,"--n-border-color-disabled":S}}),cssVars:p?void 0:w,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender}},render(){const{mergedClsPrefix:e,tag:t,onRender:n}=this;n==null||n();const o=Et(this.$slots.default,r=>r&&g("span",{class:`${e}-button__content`},r));return g(t,{ref:"selfElRef",class:[this.themeClass,`${e}-button`,`${e}-button--${this.type}-type`,`${e}-button--${this.mergedSize}-type`,this.rtlEnabled&&`${e}-button--rtl`,this.disabled&&`${e}-button--disabled`,this.block&&`${e}-button--block`,this.enterPressed&&`${e}-button--pressed`,!this.text&&this.dashed&&`${e}-button--dashed`,this.color&&`${e}-button--color`,this.secondary&&`${e}-button--secondary`,this.loading&&`${e}-button--loading`,this.ghost&&`${e}-button--ghost`],tabindex:this.mergedFocusable?0:-1,type:this.attrType,style:this.cssVars,disabled:this.disabled,onClick:this.handleClick,onBlur:this.handleBlur,onMousedown:this.handleMousedown,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},this.iconPlacement==="right"&&o,g(Eu,{width:!0},{default:()=>Et(this.$slots.icon,r=>(this.loading||this.renderIcon||r)&&g("span",{class:`${e}-button__icon`,style:{margin:fa(this.$slots.default)?"0":""}},g(Ni,null,{default:()=>this.loading?g(Jr,{clsPrefix:e,key:"loading",class:`${e}-icon-slot`,strokeWidth:20}):g("div",{key:"icon",class:`${e}-icon-slot`,role:"none"},this.renderIcon?this.renderIcon():r)})))}),this.iconPlacement==="left"&&o,this.text?null:g(GN,{ref:"waveElRef",clsPrefix:e}),this.showBorder?g("div",{"aria-hidden":!0,class:`${e}-button__border`,style:this.customColorCssVars}):null,this.showBorder?g("div",{"aria-hidden":!0,class:`${e}-button__state-border`,style:this.customColorCssVars}):null)}}),zt=q_,O0=q_,Tj={titleFontSize:"22px"},Rj=e=>{const{borderRadius:t,fontSize:n,lineHeight:o,textColor2:r,textColor1:i,textColorDisabled:a,dividerColor:s,fontWeightStrong:l,primaryColor:c,baseColor:u,hoverColor:d,cardColor:f,modalColor:p,popoverColor:h}=e;return Object.assign(Object.assign({},Tj),{borderRadius:t,borderColor:et(f,s),borderColorModal:et(p,s),borderColorPopover:et(h,s),textColor:r,titleFontWeight:l,titleTextColor:i,dayTextColor:a,fontSize:n,lineHeight:o,dateColorCurrent:c,dateTextColorCurrent:u,cellColorHover:et(f,d),cellColorHoverModal:et(p,d),cellColorHoverPopover:et(h,d),cellColor:f,cellColorModal:p,cellColorPopover:h,barColor:c})},Ej={name:"Calendar",common:Ne,peers:{Button:Wn},self:Rj},$j=Ej,Aj=e=>{const{fontSize:t,boxShadow2:n,popoverColor:o,textColor2:r,borderRadius:i,borderColor:a,heightSmall:s,heightMedium:l,heightLarge:c,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,dividerColor:p}=e;return{panelFontSize:t,boxShadow:n,color:o,textColor:r,borderRadius:i,border:`1px solid ${a}`,heightSmall:s,heightMedium:l,heightLarge:c,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,dividerColor:p}},Ij={name:"ColorPicker",common:Ne,peers:{Input:uo,Button:Wn},self:Aj},Oj=Ij,Mj={paddingSmall:"12px 16px 12px",paddingMedium:"19px 24px 20px",paddingLarge:"23px 32px 24px",paddingHuge:"27px 40px 28px",titleFontSizeSmall:"16px",titleFontSizeMedium:"18px",titleFontSizeLarge:"18px",titleFontSizeHuge:"18px",closeIconSize:"18px",closeSize:"22px"},K_=e=>{const{primaryColor:t,borderRadius:n,lineHeight:o,fontSize:r,cardColor:i,textColor2:a,textColor1:s,dividerColor:l,fontWeightStrong:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,closeColorHover:p,closeColorPressed:h,modalColor:m,boxShadow1:v,popoverColor:b,actionColor:w}=e;return Object.assign(Object.assign({},Mj),{lineHeight:o,color:i,colorModal:m,colorPopover:b,colorTarget:t,colorEmbedded:w,colorEmbeddedModal:w,colorEmbeddedPopover:w,textColor:a,titleTextColor:s,borderColor:l,actionColor:w,titleFontWeight:c,closeColorHover:p,closeColorPressed:h,closeBorderRadius:n,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,fontSizeSmall:r,fontSizeMedium:r,fontSizeLarge:r,fontSizeHuge:r,boxShadow:v,borderRadius:n})},zj={name:"Card",common:bt,self:K_},G_=zj,Dj={name:"Card",common:Ne,self(e){const t=K_(e),{cardColor:n,modalColor:o,popoverColor:r}=e;return t.colorEmbedded=n,t.colorEmbeddedModal=o,t.colorEmbeddedPopover=r,t}},Y_=Dj,Lj=q([z("card",` + `),Z("dashed",[V("border, state-border",{borderStyle:"dashed !important"})]),Z("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),q("@keyframes button-wave-spread",{from:{boxShadow:"0 0 0.5px 0 var(--n-ripple-color)"},to:{boxShadow:"0 0 0.5px 4.5px var(--n-ripple-color)"}}),q("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]),vV=Object.assign(Object.assign({},Be.props),{color:String,textColor:String,text:Boolean,block:Boolean,loading:Boolean,disabled:Boolean,circle:Boolean,size:String,ghost:Boolean,round:Boolean,secondary:Boolean,tertiary:Boolean,quaternary:Boolean,strong:Boolean,focusable:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},tag:{type:String,default:"button"},type:{type:String,default:"default"},dashed:Boolean,renderIcon:Function,iconPlacement:{type:String,default:"left"},attrType:{type:String,default:"button"},bordered:{type:Boolean,default:!0},onClick:[Function,Array],nativeFocusBehavior:{type:Boolean,default:!d2}}),y2=be({name:"Button",props:vV,setup(e){const t=W(null),n=W(null),o=W(!1),r=kt(()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered),i=Ue(fV,{}),{mergedSizeRef:a}=pr({},{defaultSize:"medium",mergedSize:S=>{const{size:w}=e;if(w)return w;const{size:x}=i;if(x)return x;const{mergedSize:y}=S||{};return y?y.value:"medium"}}),s=F(()=>e.focusable&&!e.disabled),l=S=>{var w;s.value||S.preventDefault(),!e.nativeFocusBehavior&&(S.preventDefault(),!e.disabled&&s.value&&((w=t.value)===null||w===void 0||w.focus({preventScroll:!0})))},c=S=>{var w;if(!e.disabled&&!e.loading){const{onClick:x}=e;x&&$e(x,S),e.text||(w=n.value)===null||w===void 0||w.play()}},u=S=>{switch(S.key){case"Enter":if(!e.keyboard)return;o.value=!1}},d=S=>{switch(S.key){case"Enter":if(!e.keyboard||e.loading){S.preventDefault();return}o.value=!0}},f=()=>{o.value=!1},{inlineThemeDisabled:h,mergedClsPrefixRef:p,mergedRtlRef:g}=st(e),m=Be("Button","-button",gV,zu,e,p),b=pn("Button",g,p),_=F(()=>{const S=m.value,{common:{cubicBezierEaseInOut:w,cubicBezierEaseOut:x},self:y}=S,{rippleDuration:P,opacityDisabled:k,fontWeight:T,fontWeightStrong:E}=y,R=a.value,{dashed:K,type:N,ghost:D,text:M,color:G,round:J,circle:he,textColor:pe,secondary:B,tertiary:$,quaternary:A,strong:Y}=e,ne={"font-weight":Y?E:T};let fe={"--n-color":"initial","--n-color-hover":"initial","--n-color-pressed":"initial","--n-color-focus":"initial","--n-color-disabled":"initial","--n-ripple-color":"initial","--n-text-color":"initial","--n-text-color-hover":"initial","--n-text-color-pressed":"initial","--n-text-color-focus":"initial","--n-text-color-disabled":"initial"};const Q=N==="tertiary",xe=N==="default",H=Q?"default":N;if(M){const I=pe||G;fe={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":"#0000","--n-text-color":I||y[Re("textColorText",H)],"--n-text-color-hover":I?ci(I):y[Re("textColorTextHover",H)],"--n-text-color-pressed":I?Hl(I):y[Re("textColorTextPressed",H)],"--n-text-color-focus":I?ci(I):y[Re("textColorTextHover",H)],"--n-text-color-disabled":I||y[Re("textColorTextDisabled",H)]}}else if(D||K){const I=pe||G;fe={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":G||y[Re("rippleColor",H)],"--n-text-color":I||y[Re("textColorGhost",H)],"--n-text-color-hover":I?ci(I):y[Re("textColorGhostHover",H)],"--n-text-color-pressed":I?Hl(I):y[Re("textColorGhostPressed",H)],"--n-text-color-focus":I?ci(I):y[Re("textColorGhostHover",H)],"--n-text-color-disabled":I||y[Re("textColorGhostDisabled",H)]}}else if(B){const I=xe?y.textColor:Q?y.textColorTertiary:y[Re("color",H)],j=G||I,ee=N!=="default"&&N!=="tertiary";fe={"--n-color":ee?Me(j,{alpha:Number(y.colorOpacitySecondary)}):y.colorSecondary,"--n-color-hover":ee?Me(j,{alpha:Number(y.colorOpacitySecondaryHover)}):y.colorSecondaryHover,"--n-color-pressed":ee?Me(j,{alpha:Number(y.colorOpacitySecondaryPressed)}):y.colorSecondaryPressed,"--n-color-focus":ee?Me(j,{alpha:Number(y.colorOpacitySecondaryHover)}):y.colorSecondaryHover,"--n-color-disabled":y.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":j,"--n-text-color-hover":j,"--n-text-color-pressed":j,"--n-text-color-focus":j,"--n-text-color-disabled":j}}else if($||A){const I=xe?y.textColor:Q?y.textColorTertiary:y[Re("color",H)],j=G||I;$?(fe["--n-color"]=y.colorTertiary,fe["--n-color-hover"]=y.colorTertiaryHover,fe["--n-color-pressed"]=y.colorTertiaryPressed,fe["--n-color-focus"]=y.colorSecondaryHover,fe["--n-color-disabled"]=y.colorTertiary):(fe["--n-color"]=y.colorQuaternary,fe["--n-color-hover"]=y.colorQuaternaryHover,fe["--n-color-pressed"]=y.colorQuaternaryPressed,fe["--n-color-focus"]=y.colorQuaternaryHover,fe["--n-color-disabled"]=y.colorQuaternary),fe["--n-ripple-color"]="#0000",fe["--n-text-color"]=j,fe["--n-text-color-hover"]=j,fe["--n-text-color-pressed"]=j,fe["--n-text-color-focus"]=j,fe["--n-text-color-disabled"]=j}else fe={"--n-color":G||y[Re("color",H)],"--n-color-hover":G?ci(G):y[Re("colorHover",H)],"--n-color-pressed":G?Hl(G):y[Re("colorPressed",H)],"--n-color-focus":G?ci(G):y[Re("colorFocus",H)],"--n-color-disabled":G||y[Re("colorDisabled",H)],"--n-ripple-color":G||y[Re("rippleColor",H)],"--n-text-color":pe||(G?y.textColorPrimary:Q?y.textColorTertiary:y[Re("textColor",H)]),"--n-text-color-hover":pe||(G?y.textColorHoverPrimary:y[Re("textColorHover",H)]),"--n-text-color-pressed":pe||(G?y.textColorPressedPrimary:y[Re("textColorPressed",H)]),"--n-text-color-focus":pe||(G?y.textColorFocusPrimary:y[Re("textColorFocus",H)]),"--n-text-color-disabled":pe||(G?y.textColorDisabledPrimary:y[Re("textColorDisabled",H)])};let ye={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};M?ye={"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:ye={"--n-border":y[Re("border",H)],"--n-border-hover":y[Re("borderHover",H)],"--n-border-pressed":y[Re("borderPressed",H)],"--n-border-focus":y[Re("borderFocus",H)],"--n-border-disabled":y[Re("borderDisabled",H)]};const{[Re("height",R)]:Oe,[Re("fontSize",R)]:Ne,[Re("padding",R)]:L,[Re("paddingRound",R)]:O,[Re("iconSize",R)]:oe,[Re("borderRadius",R)]:_e,[Re("iconMargin",R)]:te,waveOpacity:ge}=y,ke={"--n-width":he&&!M?Oe:"initial","--n-height":M?"initial":Oe,"--n-font-size":Ne,"--n-padding":he||M?"initial":J?O:L,"--n-icon-size":oe,"--n-icon-margin":te,"--n-border-radius":M?"initial":he||J?Oe:_e};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":w,"--n-bezier-ease-out":x,"--n-ripple-duration":P,"--n-opacity-disabled":k,"--n-wave-opacity":ge},ne),fe),ye),ke)}),C=h?Pt("button",F(()=>{let S="";const{dashed:w,type:x,ghost:y,text:P,color:k,round:T,circle:E,textColor:R,secondary:K,tertiary:N,quaternary:D,strong:M}=e;w&&(S+="a"),y&&(S+="b"),P&&(S+="c"),T&&(S+="d"),E&&(S+="e"),K&&(S+="f"),N&&(S+="g"),D&&(S+="h"),M&&(S+="i"),k&&(S+=`j${Ec(k)}`),R&&(S+=`k${Ec(R)}`);const{value:G}=a;return S+=`l${G[0]}`,S+=`m${x[0]}`,S}),_,e):void 0;return{selfElRef:t,waveElRef:n,mergedClsPrefix:p,mergedFocusable:s,mergedSize:a,showBorder:r,enterPressed:o,rtlEnabled:b,handleMousedown:l,handleKeydown:d,handleBlur:f,handleKeyup:u,handleClick:c,customColorCssVars:F(()=>{const{color:S}=e;if(!S)return null;const w=ci(S);return{"--n-border-color":S,"--n-border-color-hover":w,"--n-border-color-pressed":Hl(S),"--n-border-color-focus":w,"--n-border-color-disabled":S}}),cssVars:h?void 0:_,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender}},render(){const{mergedClsPrefix:e,tag:t,onRender:n}=this;n==null||n();const o=$t(this.$slots.default,r=>r&&v("span",{class:`${e}-button__content`},r));return v(t,{ref:"selfElRef",class:[this.themeClass,`${e}-button`,`${e}-button--${this.type}-type`,`${e}-button--${this.mergedSize}-type`,this.rtlEnabled&&`${e}-button--rtl`,this.disabled&&`${e}-button--disabled`,this.block&&`${e}-button--block`,this.enterPressed&&`${e}-button--pressed`,!this.text&&this.dashed&&`${e}-button--dashed`,this.color&&`${e}-button--color`,this.secondary&&`${e}-button--secondary`,this.loading&&`${e}-button--loading`,this.ghost&&`${e}-button--ghost`],tabindex:this.mergedFocusable?0:-1,type:this.attrType,style:this.cssVars,disabled:this.disabled,onClick:this.handleClick,onBlur:this.handleBlur,onMousedown:this.handleMousedown,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},this.iconPlacement==="right"&&o,v(Ou,{width:!0},{default:()=>$t(this.$slots.icon,r=>(this.loading||this.renderIcon||r)&&v("span",{class:`${e}-button__icon`,style:{margin:ga(this.$slots.default)?"0":""}},v(Ui,null,{default:()=>this.loading?v(ti,{clsPrefix:e,key:"loading",class:`${e}-icon-slot`,strokeWidth:20}):v("div",{key:"icon",class:`${e}-icon-slot`,role:"none"},this.renderIcon?this.renderIcon():r)})))}),this.iconPlacement==="left"&&o,this.text?null:v(BH,{ref:"waveElRef",clsPrefix:e}),this.showBorder?v("div",{"aria-hidden":!0,class:`${e}-button__border`,style:this.customColorCssVars}):null,this.showBorder?v("div",{"aria-hidden":!0,class:`${e}-button__state-border`,style:this.customColorCssVars}):null)}}),zt=y2,X0=y2,bV={titleFontSize:"22px"};function yV(e){const{borderRadius:t,fontSize:n,lineHeight:o,textColor2:r,textColor1:i,textColorDisabled:a,dividerColor:s,fontWeightStrong:l,primaryColor:c,baseColor:u,hoverColor:d,cardColor:f,modalColor:h,popoverColor:p}=e;return Object.assign(Object.assign({},bV),{borderRadius:t,borderColor:Ge(f,s),borderColorModal:Ge(h,s),borderColorPopover:Ge(p,s),textColor:r,titleFontWeight:l,titleTextColor:i,dayTextColor:a,fontSize:n,lineHeight:o,dateColorCurrent:c,dateTextColorCurrent:u,cellColorHover:Ge(f,d),cellColorHoverModal:Ge(h,d),cellColorHoverPopover:Ge(p,d),cellColor:f,cellColorModal:h,cellColorPopover:p,barColor:c})}const xV={name:"Calendar",common:je,peers:{Button:Wn},self:yV},CV=xV;function wV(e){const{fontSize:t,boxShadow2:n,popoverColor:o,textColor2:r,borderRadius:i,borderColor:a,heightSmall:s,heightMedium:l,heightLarge:c,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,dividerColor:h}=e;return{panelFontSize:t,boxShadow:n,color:o,textColor:r,borderRadius:i,border:`1px solid ${a}`,heightSmall:s,heightMedium:l,heightLarge:c,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,dividerColor:h}}const _V={name:"ColorPicker",common:je,peers:{Input:mo,Button:Wn},self:wV},SV=_V,kV={paddingSmall:"12px 16px 12px",paddingMedium:"19px 24px 20px",paddingLarge:"23px 32px 24px",paddingHuge:"27px 40px 28px",titleFontSizeSmall:"16px",titleFontSizeMedium:"18px",titleFontSizeLarge:"18px",titleFontSizeHuge:"18px",closeIconSize:"18px",closeSize:"22px"};function x2(e){const{primaryColor:t,borderRadius:n,lineHeight:o,fontSize:r,cardColor:i,textColor2:a,textColor1:s,dividerColor:l,fontWeightStrong:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,closeColorHover:h,closeColorPressed:p,modalColor:g,boxShadow1:m,popoverColor:b,actionColor:_}=e;return Object.assign(Object.assign({},kV),{lineHeight:o,color:i,colorModal:g,colorPopover:b,colorTarget:t,colorEmbedded:_,colorEmbeddedModal:_,colorEmbeddedPopover:_,textColor:a,titleTextColor:s,borderColor:l,actionColor:_,titleFontWeight:c,closeColorHover:h,closeColorPressed:p,closeBorderRadius:n,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,fontSizeSmall:r,fontSizeMedium:r,fontSizeLarge:r,fontSizeHuge:r,boxShadow:m,borderRadius:n})}const PV={name:"Card",common:xt,self:x2},C2=PV,TV={name:"Card",common:je,self(e){const t=x2(e),{cardColor:n,modalColor:o,popoverColor:r}=e;return t.colorEmbedded=n,t.colorEmbeddedModal=o,t.colorEmbeddedPopover=r,t}},w2=TV,RV=q([z("card",` font-size: var(--n-font-size); line-height: var(--n-line-height); display: flex; @@ -1311,7 +1308,7 @@ ${t} background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier), border-color .3s var(--n-bezier); - `,[ZC({background:"var(--n-color-modal)"}),Z("hoverable",[q("&:hover","box-shadow: var(--n-box-shadow);")]),Z("content-segmented",[q(">",[V("content",{paddingTop:"var(--n-padding-bottom)"})])]),Z("content-soft-segmented",[q(">",[V("content",` + `,[Sw({background:"var(--n-color-modal)"}),Z("hoverable",[q("&:hover","box-shadow: var(--n-box-shadow);")]),Z("content-segmented",[q(">",[V("content",{paddingTop:"var(--n-padding-bottom)"})])]),Z("content-soft-segmented",[q(">",[V("content",` margin: 0 var(--n-padding-left); padding: var(--n-padding-bottom) 0; `)])]),Z("footer-segmented",[q(">",[V("footer",{paddingTop:"var(--n-padding-bottom)"})])]),Z("footer-soft-segmented",[q(">",[V("footer",` @@ -1372,15 +1369,15 @@ ${t} border: 1px solid var(--n-border-color); `,[q("&:target","border-color: var(--n-color-target);")]),Z("action-segmented",[q(">",[V("action",[q("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),Z("content-segmented, content-soft-segmented",[q(">",[V("content",{transition:"border-color 0.3s var(--n-bezier)"},[q("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),Z("footer-segmented, footer-soft-segmented",[q(">",[V("footer",{transition:"border-color 0.3s var(--n-bezier)"},[q("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),Z("embedded",` background-color: var(--n-color-embedded); - `)]),rl(z("card",` + `)]),al(z("card",` background: var(--n-color-modal); `,[Z("embedded",` background-color: var(--n-color-embedded-modal); - `)])),Cu(z("card",` + `)])),ku(z("card",` background: var(--n-color-popover); `,[Z("embedded",` background-color: var(--n-color-embedded-popover); - `)]))]),im={title:String,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],headerExtraClass:String,headerExtraStyle:[Object,String],footerClass:String,footerStyle:[Object,String],embedded:Boolean,segmented:{type:[Boolean,Object],default:!1},size:{type:String,default:"medium"},bordered:{type:Boolean,default:!0},closable:Boolean,hoverable:Boolean,role:String,onClose:[Function,Array],tag:{type:String,default:"div"}},Fj=Yr(im),Bj=Object.assign(Object.assign({},Be.props),im),fo=ve({name:"Card",props:Bj,setup(e){const t=()=>{const{onClose:c}=e;c&&Ee(c)},{inlineThemeDisabled:n,mergedClsPrefixRef:o,mergedRtlRef:r}=st(e),i=Be("Card","-card",Lj,G_,e,o),a=pn("Card",r,o),s=L(()=>{const{size:c}=e,{self:{color:u,colorModal:d,colorTarget:f,textColor:p,titleTextColor:h,titleFontWeight:m,borderColor:v,actionColor:b,borderRadius:w,lineHeight:C,closeIconColor:S,closeIconColorHover:_,closeIconColorPressed:x,closeColorHover:y,closeColorPressed:k,closeBorderRadius:P,closeIconSize:T,closeSize:$,boxShadow:R,colorPopover:K,colorEmbedded:j,colorEmbeddedModal:D,colorEmbeddedPopover:M,[Te("padding",c)]:Y,[Te("fontSize",c)]:Q,[Te("titleFontSize",c)]:de},common:{cubicBezierEaseInOut:pe}}=i.value,{top:B,left:E,bottom:A}=_o(Y);return{"--n-bezier":pe,"--n-border-radius":w,"--n-color":u,"--n-color-modal":d,"--n-color-popover":K,"--n-color-embedded":j,"--n-color-embedded-modal":D,"--n-color-embedded-popover":M,"--n-color-target":f,"--n-text-color":p,"--n-line-height":C,"--n-action-color":b,"--n-title-text-color":h,"--n-title-font-weight":m,"--n-close-icon-color":S,"--n-close-icon-color-hover":_,"--n-close-icon-color-pressed":x,"--n-close-color-hover":y,"--n-close-color-pressed":k,"--n-border-color":v,"--n-box-shadow":R,"--n-padding-top":B,"--n-padding-bottom":A,"--n-padding-left":E,"--n-font-size":Q,"--n-title-font-size":de,"--n-close-size":$,"--n-close-icon-size":T,"--n-close-border-radius":P}}),l=n?kt("card",L(()=>e.size[0]),s,e):void 0;return{rtlEnabled:a,mergedClsPrefix:o,mergedTheme:i,handleCloseClick:t,cssVars:n?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){const{segmented:e,bordered:t,hoverable:n,mergedClsPrefix:o,rtlEnabled:r,onRender:i,embedded:a,tag:s,$slots:l}=this;return i==null||i(),g(s,{class:[`${o}-card`,this.themeClass,a&&`${o}-card--embedded`,{[`${o}-card--rtl`]:r,[`${o}-card--content${typeof e!="boolean"&&e.content==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.content,[`${o}-card--footer${typeof e!="boolean"&&e.footer==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.footer,[`${o}-card--action-segmented`]:e===!0||e!==!1&&e.action,[`${o}-card--bordered`]:t,[`${o}-card--hoverable`]:n}],style:this.cssVars,role:this.role},Et(l.cover,c=>c&&g("div",{class:`${o}-card-cover`,role:"none"},c)),Et(l.header,c=>c||this.title||this.closable?g("div",{class:[`${o}-card-header`,this.headerClass],style:this.headerStyle},g("div",{class:`${o}-card-header__main`,role:"heading"},c||this.title),Et(l["header-extra"],u=>u&&g("div",{class:[`${o}-card-header__extra`,this.headerExtraClass],style:this.headerExtraStyle},u)),this.closable?g(Hi,{clsPrefix:o,class:`${o}-card-header__close`,onClick:this.handleCloseClick,absolute:!0}):null):null),Et(l.default,c=>c&&g("div",{class:[`${o}-card__content`,this.contentClass],style:this.contentStyle,role:"none"},c)),Et(l.footer,c=>c&&[g("div",{class:[`${o}-card__footer`,this.footerClass],style:this.footerStyle,role:"none"},c)]),Et(l.action,c=>c&&g("div",{class:`${o}-card__action`,role:"none"},c)))}}),X_=e=>({dotSize:"8px",dotColor:"rgba(255, 255, 255, .3)",dotColorActive:"rgba(255, 255, 255, 1)",dotColorFocus:"rgba(255, 255, 255, .5)",dotLineWidth:"16px",dotLineWidthActive:"24px",arrowColor:"#eee"}),Nj={name:"Carousel",common:bt,self:X_},Hj=Nj,jj={name:"Carousel",common:Ne,self:X_},Vj=jj;function Wj(e){const{length:t}=e;return t>1&&(e.push(M0(e[0],0,"append")),e.unshift(M0(e[t-1],t-1,"prepend"))),e}function M0(e,t,n){return ao(e,{key:`carousel-item-duplicate-${t}-${n}`})}function z0(e,t,n){return t===1?0:n?e===0?t-3:e===t-1?0:e-1:e}function Wd(e,t){return t?e+1:e}function Uj(e,t,n){return e<0?null:e===0?n?t-1:null:e-1}function qj(e,t,n){return e>t-1?null:e===t-1?n?0:null:e+1}function Kj(e,t){return t&&e>3?e-2:e}function D0(e){return window.TouchEvent&&e instanceof window.TouchEvent}function L0(e,t){let{offsetWidth:n,offsetHeight:o}=e;if(t){const r=getComputedStyle(e);n=n-parseFloat(r.getPropertyValue("padding-left"))-parseFloat(r.getPropertyValue("padding-right")),o=o-parseFloat(r.getPropertyValue("padding-top"))-parseFloat(r.getPropertyValue("padding-bottom"))}return{width:n,height:o}}function Nl(e,t,n){return en?n:e}function Gj(e){if(e===void 0)return 0;if(typeof e=="number")return e;const t=/^((\d+)?\.?\d+?)(ms|s)?$/,n=e.match(t);if(n){const[,o,,r="ms"]=n;return Number(o)*(r==="ms"?1:1e3)}return 0}const Z_="n-carousel-methods",Yj=e=>{at(Z_,e)},am=(e="unknown",t="component")=>{const n=We(Z_);return n||ur(e,`\`${t}\` must be placed inside \`n-carousel\`.`),n},Xj={total:{type:Number,default:0},currentIndex:{type:Number,default:0},dotType:{type:String,default:"dot"},trigger:{type:String,default:"click"},keyboard:Boolean},Zj=ve({name:"CarouselDots",props:Xj,setup(e){const{mergedClsPrefixRef:t}=st(e),n=W([]),o=am();function r(c,u){switch(c.key){case"Enter":case" ":c.preventDefault(),o.to(u);return}e.keyboard&&s(c)}function i(c){e.trigger==="hover"&&o.to(c)}function a(c){e.trigger==="click"&&o.to(c)}function s(c){var u;if(c.shiftKey||c.altKey||c.ctrlKey||c.metaKey)return;const d=(u=document.activeElement)===null||u===void 0?void 0:u.nodeName.toLowerCase();if(d==="input"||d==="textarea")return;const{code:f}=c,p=f==="PageUp"||f==="ArrowUp",h=f==="PageDown"||f==="ArrowDown",m=f==="PageUp"||f==="ArrowRight",v=f==="PageDown"||f==="ArrowLeft",b=o.isVertical(),w=b?p:m,C=b?h:v;!w&&!C||(c.preventDefault(),w&&!o.isNextDisabled()?(o.next(),l(o.currentIndexRef.value)):C&&!o.isPrevDisabled()&&(o.prev(),l(o.currentIndexRef.value)))}function l(c){var u;(u=n.value[c])===null||u===void 0||u.focus()}return Ry(()=>n.value.length=0),{mergedClsPrefix:t,dotEls:n,handleKeydown:r,handleMouseenter:i,handleClick:a}},render(){const{mergedClsPrefix:e,dotEls:t}=this;return g("div",{class:[`${e}-carousel__dots`,`${e}-carousel__dots--${this.dotType}`],role:"tablist"},i6(this.total,n=>{const o=n===this.currentIndex;return g("div",{"aria-selected":o,ref:r=>t.push(r),role:"button",tabindex:"0",class:[`${e}-carousel__dot`,o&&`${e}-carousel__dot--active`],key:n,onClick:()=>{this.handleClick(n)},onMouseenter:()=>{this.handleMouseenter(n)},onKeydown:r=>{this.handleKeydown(r,n)}})}))}}),Jj=g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},g("g",{fill:"none"},g("path",{d:"M10.26 3.2a.75.75 0 0 1 .04 1.06L6.773 8l3.527 3.74a.75.75 0 1 1-1.1 1.02l-4-4.25a.75.75 0 0 1 0-1.02l4-4.25a.75.75 0 0 1 1.06-.04z",fill:"currentColor"}))),Qj=g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},g("g",{fill:"none"},g("path",{d:"M5.74 3.2a.75.75 0 0 0-.04 1.06L9.227 8L5.7 11.74a.75.75 0 1 0 1.1 1.02l4-4.25a.75.75 0 0 0 0-1.02l-4-4.25a.75.75 0 0 0-1.06-.04z",fill:"currentColor"}))),eV=ve({name:"CarouselArrow",setup(e){const{mergedClsPrefixRef:t}=st(e),{isVertical:n,isPrevDisabled:o,isNextDisabled:r,prev:i,next:a}=am();return{mergedClsPrefix:t,isVertical:n,isPrevDisabled:o,isNextDisabled:r,prev:i,next:a}},render(){const{mergedClsPrefix:e}=this;return g("div",{class:`${e}-carousel__arrow-group`},g("div",{class:[`${e}-carousel__arrow`,this.isPrevDisabled()&&`${e}-carousel__arrow--disabled`],role:"button",onClick:this.prev},Jj),g("div",{class:[`${e}-carousel__arrow`,this.isNextDisabled()&&`${e}-carousel__arrow--disabled`],role:"button",onClick:this.next},Qj))}}),uc="CarouselItem",tV=e=>{var t;return((t=e.type)===null||t===void 0?void 0:t.name)===uc},nV=ve({name:uc,setup(e){const{mergedClsPrefixRef:t}=st(e),n=am(e0(uc),`n-${e0(uc)}`),o=W(),r=L(()=>{const{value:u}=o;return u?n.getSlideIndex(u):-1}),i=L(()=>n.isPrev(r.value)),a=L(()=>n.isNext(r.value)),s=L(()=>n.isActive(r.value)),l=L(()=>n.getSlideStyle(r.value));jt(()=>{n.addSlide(o.value)}),rn(()=>{n.removeSlide(o.value)});function c(u){const{value:d}=r;d!==void 0&&(n==null||n.onCarouselItemClick(d,u))}return{mergedClsPrefix:t,selfElRef:o,isPrev:i,isNext:a,isActive:s,index:r,style:l,handleClick:c}},render(){var e;const{$slots:t,mergedClsPrefix:n,isPrev:o,isNext:r,isActive:i,index:a,style:s}=this,l=[`${n}-carousel__slide`,{[`${n}-carousel__slide--current`]:i,[`${n}-carousel__slide--prev`]:o,[`${n}-carousel__slide--next`]:r}];return g("div",{ref:"selfElRef",class:l,role:"option",tabindex:"-1","data-index":a,"aria-hidden":!i,style:s,onClickCapture:this.handleClick},(e=t.default)===null||e===void 0?void 0:e.call(t,{isPrev:o,isNext:r,isActive:i,index:a}))}}),oV=z("carousel",` + `)]))]),ym={title:[String,Function],contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],headerExtraClass:String,headerExtraStyle:[Object,String],footerClass:String,footerStyle:[Object,String],embedded:Boolean,segmented:{type:[Boolean,Object],default:!1},size:{type:String,default:"medium"},bordered:{type:Boolean,default:!0},closable:Boolean,hoverable:Boolean,role:String,onClose:[Function,Array],tag:{type:String,default:"div"},cover:Function,content:[String,Function],footer:Function,action:Function,headerExtra:Function},EV=Jr(ym),$V=Object.assign(Object.assign({},Be.props),ym),go=be({name:"Card",props:$V,setup(e){const t=()=>{const{onClose:c}=e;c&&$e(c)},{inlineThemeDisabled:n,mergedClsPrefixRef:o,mergedRtlRef:r}=st(e),i=Be("Card","-card",RV,C2,e,o),a=pn("Card",r,o),s=F(()=>{const{size:c}=e,{self:{color:u,colorModal:d,colorTarget:f,textColor:h,titleTextColor:p,titleFontWeight:g,borderColor:m,actionColor:b,borderRadius:_,lineHeight:C,closeIconColor:S,closeIconColorHover:w,closeIconColorPressed:x,closeColorHover:y,closeColorPressed:P,closeBorderRadius:k,closeIconSize:T,closeSize:E,boxShadow:R,colorPopover:K,colorEmbedded:N,colorEmbeddedModal:D,colorEmbeddedPopover:M,[Re("padding",c)]:G,[Re("fontSize",c)]:J,[Re("titleFontSize",c)]:he},common:{cubicBezierEaseInOut:pe}}=i.value,{top:B,left:$,bottom:A}=lo(G);return{"--n-bezier":pe,"--n-border-radius":_,"--n-color":u,"--n-color-modal":d,"--n-color-popover":K,"--n-color-embedded":N,"--n-color-embedded-modal":D,"--n-color-embedded-popover":M,"--n-color-target":f,"--n-text-color":h,"--n-line-height":C,"--n-action-color":b,"--n-title-text-color":p,"--n-title-font-weight":g,"--n-close-icon-color":S,"--n-close-icon-color-hover":w,"--n-close-icon-color-pressed":x,"--n-close-color-hover":y,"--n-close-color-pressed":P,"--n-border-color":m,"--n-box-shadow":R,"--n-padding-top":B,"--n-padding-bottom":A,"--n-padding-left":$,"--n-font-size":J,"--n-title-font-size":he,"--n-close-size":E,"--n-close-icon-size":T,"--n-close-border-radius":k}}),l=n?Pt("card",F(()=>e.size[0]),s,e):void 0;return{rtlEnabled:a,mergedClsPrefix:o,mergedTheme:i,handleCloseClick:t,cssVars:n?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){const{segmented:e,bordered:t,hoverable:n,mergedClsPrefix:o,rtlEnabled:r,onRender:i,embedded:a,tag:s,$slots:l}=this;return i==null||i(),v(s,{class:[`${o}-card`,this.themeClass,a&&`${o}-card--embedded`,{[`${o}-card--rtl`]:r,[`${o}-card--content${typeof e!="boolean"&&e.content==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.content,[`${o}-card--footer${typeof e!="boolean"&&e.footer==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.footer,[`${o}-card--action-segmented`]:e===!0||e!==!1&&e.action,[`${o}-card--bordered`]:t,[`${o}-card--hoverable`]:n}],style:this.cssVars,role:this.role},$t(l.cover,c=>{const u=this.cover?_o([this.cover()]):c;return u&&v("div",{class:`${o}-card-cover`,role:"none"},u)}),$t(l.header,c=>{const{title:u}=this,d=u?_o(typeof u=="function"?[u()]:[u]):c;return d||this.closable?v("div",{class:[`${o}-card-header`,this.headerClass],style:this.headerStyle,role:"heading"},v("div",{class:`${o}-card-header__main`,role:"heading"},d),$t(l["header-extra"],f=>{const h=this.headerExtra?_o([this.headerExtra()]):f;return h&&v("div",{class:[`${o}-card-header__extra`,this.headerExtraClass],style:this.headerExtraStyle},h)}),this.closable&&v(qi,{clsPrefix:o,class:`${o}-card-header__close`,onClick:this.handleCloseClick,absolute:!0})):null}),$t(l.default,c=>{const{content:u}=this,d=u?_o(typeof u=="function"?[u()]:[u]):c;return d&&v("div",{class:[`${o}-card__content`,this.contentClass],style:this.contentStyle,role:"none"},d)}),$t(l.footer,c=>{const u=this.footer?_o([this.footer()]):c;return u&&v("div",{class:[`${o}-card__footer`,this.footerClass],style:this.footerStyle,role:"none"},u)}),$t(l.action,c=>{const u=this.action?_o([this.action()]):c;return u&&v("div",{class:`${o}-card__action`,role:"none"},u)}))}});function _2(){return{dotSize:"8px",dotColor:"rgba(255, 255, 255, .3)",dotColorActive:"rgba(255, 255, 255, 1)",dotColorFocus:"rgba(255, 255, 255, .5)",dotLineWidth:"16px",dotLineWidthActive:"24px",arrowColor:"#eee"}}const AV={name:"Carousel",common:xt,self:_2},IV=AV,OV={name:"Carousel",common:je,self:_2},MV=OV;function zV(e){const{length:t}=e;return t>1&&(e.push(Z0(e[0],0,"append")),e.unshift(Z0(e[t-1],t-1,"prepend"))),e}function Z0(e,t,n){return uo(e,{key:`carousel-item-duplicate-${t}-${n}`})}function J0(e,t,n){return t===1?0:n?e===0?t-3:e===t-1?0:e-1:e}function tf(e,t){return t?e+1:e}function DV(e,t,n){return e<0?null:e===0?n?t-1:null:e-1}function LV(e,t,n){return e>t-1?null:e===t-1?n?0:null:e+1}function FV(e,t){return t&&e>3?e-2:e}function Q0(e){return window.TouchEvent&&e instanceof window.TouchEvent}function e1(e,t){let{offsetWidth:n,offsetHeight:o}=e;if(t){const r=getComputedStyle(e);n=n-Number.parseFloat(r.getPropertyValue("padding-left"))-Number.parseFloat(r.getPropertyValue("padding-right")),o=o-Number.parseFloat(r.getPropertyValue("padding-top"))-Number.parseFloat(r.getPropertyValue("padding-bottom"))}return{width:n,height:o}}function jl(e,t,n){return en?n:e}function BV(e){if(e===void 0)return 0;if(typeof e=="number")return e;const t=/^((\d+)?\.?\d+?)(ms|s)?$/,n=e.match(t);if(n){const[,o,,r="ms"]=n;return Number(o)*(r==="ms"?1:1e3)}return 0}const S2="n-carousel-methods";function NV(e){at(S2,e)}function xm(e="unknown",t="component"){const n=Ue(S2);return n||fr(e,`\`${t}\` must be placed inside \`n-carousel\`.`),n}const HV={total:{type:Number,default:0},currentIndex:{type:Number,default:0},dotType:{type:String,default:"dot"},trigger:{type:String,default:"click"},keyboard:Boolean},jV=be({name:"CarouselDots",props:HV,setup(e){const{mergedClsPrefixRef:t}=st(e),n=W([]),o=xm();function r(c,u){switch(c.key){case"Enter":case" ":c.preventDefault(),o.to(u);return}e.keyboard&&s(c)}function i(c){e.trigger==="hover"&&o.to(c)}function a(c){e.trigger==="click"&&o.to(c)}function s(c){var u;if(c.shiftKey||c.altKey||c.ctrlKey||c.metaKey)return;const d=(u=document.activeElement)===null||u===void 0?void 0:u.nodeName.toLowerCase();if(d==="input"||d==="textarea")return;const{code:f}=c,h=f==="PageUp"||f==="ArrowUp",p=f==="PageDown"||f==="ArrowDown",g=f==="PageUp"||f==="ArrowRight",m=f==="PageDown"||f==="ArrowLeft",b=o.isVertical(),_=b?h:g,C=b?p:m;!_&&!C||(c.preventDefault(),_&&!o.isNextDisabled()?(o.next(),l(o.currentIndexRef.value)):C&&!o.isPrevDisabled()&&(o.prev(),l(o.currentIndexRef.value)))}function l(c){var u;(u=n.value[c])===null||u===void 0||u.focus()}return Vy(()=>n.value.length=0),{mergedClsPrefix:t,dotEls:n,handleKeydown:r,handleMouseenter:i,handleClick:a}},render(){const{mergedClsPrefix:e,dotEls:t}=this;return v("div",{class:[`${e}-carousel__dots`,`${e}-carousel__dots--${this.dotType}`],role:"tablist"},G6(this.total,n=>{const o=n===this.currentIndex;return v("div",{"aria-selected":o,ref:r=>t.push(r),role:"button",tabindex:"0",class:[`${e}-carousel__dot`,o&&`${e}-carousel__dot--active`],key:n,onClick:()=>{this.handleClick(n)},onMouseenter:()=>{this.handleMouseenter(n)},onKeydown:r=>{this.handleKeydown(r,n)}})}))}}),VV=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},v("g",{fill:"none"},v("path",{d:"M10.26 3.2a.75.75 0 0 1 .04 1.06L6.773 8l3.527 3.74a.75.75 0 1 1-1.1 1.02l-4-4.25a.75.75 0 0 1 0-1.02l4-4.25a.75.75 0 0 1 1.06-.04z",fill:"currentColor"}))),WV=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},v("g",{fill:"none"},v("path",{d:"M5.74 3.2a.75.75 0 0 0-.04 1.06L9.227 8L5.7 11.74a.75.75 0 1 0 1.1 1.02l4-4.25a.75.75 0 0 0 0-1.02l-4-4.25a.75.75 0 0 0-1.06-.04z",fill:"currentColor"}))),UV=be({name:"CarouselArrow",setup(e){const{mergedClsPrefixRef:t}=st(e),{isVertical:n,isPrevDisabled:o,isNextDisabled:r,prev:i,next:a}=xm();return{mergedClsPrefix:t,isVertical:n,isPrevDisabled:o,isNextDisabled:r,prev:i,next:a}},render(){const{mergedClsPrefix:e}=this;return v("div",{class:`${e}-carousel__arrow-group`},v("div",{class:[`${e}-carousel__arrow`,this.isPrevDisabled()&&`${e}-carousel__arrow--disabled`],role:"button",onClick:this.prev},VV),v("div",{class:[`${e}-carousel__arrow`,this.isNextDisabled()&&`${e}-carousel__arrow--disabled`],role:"button",onClick:this.next},WV))}}),fc="CarouselItem";function qV(e){var t;return((t=e.type)===null||t===void 0?void 0:t.name)===fc}const KV=be({name:fc,setup(e){const{mergedClsPrefixRef:t}=st(e),n=xm(v0(fc),`n-${v0(fc)}`),o=W(),r=F(()=>{const{value:u}=o;return u?n.getSlideIndex(u):-1}),i=F(()=>n.isPrev(r.value)),a=F(()=>n.isNext(r.value)),s=F(()=>n.isActive(r.value)),l=F(()=>n.getSlideStyle(r.value));jt(()=>{n.addSlide(o.value)}),on(()=>{n.removeSlide(o.value)});function c(u){const{value:d}=r;d!==void 0&&(n==null||n.onCarouselItemClick(d,u))}return{mergedClsPrefix:t,selfElRef:o,isPrev:i,isNext:a,isActive:s,index:r,style:l,handleClick:c}},render(){var e;const{$slots:t,mergedClsPrefix:n,isPrev:o,isNext:r,isActive:i,index:a,style:s}=this,l=[`${n}-carousel__slide`,{[`${n}-carousel__slide--current`]:i,[`${n}-carousel__slide--prev`]:o,[`${n}-carousel__slide--next`]:r}];return v("div",{ref:"selfElRef",class:l,role:"option",tabindex:"-1","data-index":a,"aria-hidden":!i,style:s,onClickCapture:this.handleClick},(e=t.default)===null||e===void 0?void 0:e.call(t,{isPrev:o,isNext:r,isActive:i,index:a}))}}),GV=z("carousel",` position: relative; width: 100%; height: 100%; @@ -1601,7 +1598,7 @@ ${t} `),Z("next",` opacity: 0.4; transform: translateX(0%) translateZ(-200px); - `)])])]),rV=["transitionDuration","transitionTimingFunction"],iV=Object.assign(Object.assign({},Be.props),{defaultIndex:{type:Number,default:0},currentIndex:Number,showArrow:Boolean,dotType:{type:String,default:"dot"},dotPlacement:{type:String,default:"bottom"},slidesPerView:{type:[Number,String],default:1},spaceBetween:{type:Number,default:0},centeredSlides:Boolean,direction:{type:String,default:"horizontal"},autoplay:Boolean,interval:{type:Number,default:5e3},loop:{type:Boolean,default:!0},effect:{type:String,default:"slide"},showDots:{type:Boolean,default:!0},trigger:{type:String,default:"click"},transitionStyle:{type:Object,default:()=>({transitionDuration:"300ms"})},transitionProps:Object,draggable:Boolean,prevSlideStyle:[Object,String],nextSlideStyle:[Object,String],touchable:{type:Boolean,default:!0},mousewheel:Boolean,keyboard:Boolean,"onUpdate:currentIndex":Function,onUpdateCurrentIndex:Function});let Ud=!1;const aV=ve({name:"Carousel",props:iV,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=W(null),r=W(null),i=W([]),a={value:[]},s=L(()=>e.direction==="vertical"),l=L(()=>s.value?"height":"width"),c=L(()=>s.value?"bottom":"right"),u=L(()=>e.effect==="slide"),d=L(()=>e.loop&&e.slidesPerView===1&&u.value),f=L(()=>e.effect==="custom"),p=L(()=>!u.value||e.centeredSlides?1:e.slidesPerView),h=L(()=>f.value?1:e.slidesPerView),m=L(()=>p.value==="auto"||e.slidesPerView==="auto"&&e.centeredSlides),v=W({width:0,height:0}),b=L(()=>{const{value:Se}=i;if(!Se.length)return[];const{value:He}=m;if(He)return Se.map(se=>L0(se));const{value:Qe}=h,{value:ht}=v,{value:gt}=l;let ut=ht[gt];if(Qe!=="auto"){const{spaceBetween:se}=e,Re=ut-(Qe-1)*se,ot=1/Math.max(1,Qe);ut=Re*ot}const Rt=Object.assign(Object.assign({},ht),{[gt]:ut});return Se.map(()=>Rt)}),w=L(()=>{const{value:Se}=b;if(!Se.length)return[];const{centeredSlides:He,spaceBetween:Qe}=e,{value:ht}=l,{[ht]:gt}=v.value;let ut=0;return Se.map(({[ht]:Rt})=>{let se=ut;return He&&(se+=(Rt-gt)/2),ut+=Rt+Qe,se})}),C=W(!1),S=L(()=>{const{transitionStyle:Se}=e;return Se?Xn(Se,rV):{}}),_=L(()=>f.value?0:Gj(S.value.transitionDuration)),x=L(()=>{const{value:Se}=i;if(!Se.length)return[];const He=!(m.value||h.value===1),Qe=Rt=>{if(He){const{value:se}=l;return{[se]:`${b.value[Rt][se]}px`}}};if(f.value)return Se.map((Rt,se)=>Qe(se));const{effect:ht,spaceBetween:gt}=e,{value:ut}=c;return Se.reduce((Rt,se,Re)=>{const ot=Object.assign(Object.assign({},Qe(Re)),{[`margin-${ut}`]:`${gt}px`});return Rt.push(ot),C.value&&(ht==="fade"||ht==="card")&&Object.assign(ot,S.value),Rt},[])}),y=L(()=>{const{value:Se}=p,{length:He}=i.value;if(Se!=="auto")return Math.max(He-Se,0)+1;{const{value:Qe}=b,{length:ht}=Qe;if(!ht)return He;const{value:gt}=w,{value:ut}=l,Rt=v.value[ut];let se=Qe[Qe.length-1][ut],Re=ht;for(;Re>1&&seKj(y.value,d.value)),P=Wd(e.defaultIndex,d.value),T=W(z0(P,y.value,d.value)),$=sn(Ve(e,"currentIndex"),T),R=L(()=>Wd($.value,d.value));function K(Se){var He,Qe;Se=Nl(Se,0,y.value-1);const ht=z0(Se,y.value,d.value),{value:gt}=$;ht!==$.value&&(T.value=ht,(He=e["onUpdate:currentIndex"])===null||He===void 0||He.call(e,ht,gt),(Qe=e.onUpdateCurrentIndex)===null||Qe===void 0||Qe.call(e,ht,gt))}function j(Se=R.value){return Uj(Se,y.value,e.loop)}function D(Se=R.value){return qj(Se,y.value,e.loop)}function M(Se){const He=ye(Se);return He!==null&&j()===He}function Y(Se){const He=ye(Se);return He!==null&&D()===He}function Q(Se){return R.value===ye(Se)}function de(Se){return $.value===Se}function pe(){return j()===null}function B(){return D()===null}function E(Se){const He=Nl(Wd(Se,d.value),0,y.value);(Se!==$.value||He!==R.value)&&K(He)}function A(){const Se=j();Se!==null&&K(Se)}function G(){const Se=D();Se!==null&&K(Se)}function oe(){(!J||!d.value)&&A()}function fe(){(!J||!d.value)&&G()}let J=!1,xe=0;const N=W({});function be(Se,He=0){N.value=Object.assign({},S.value,{transform:s.value?`translateY(${-Se}px)`:`translateX(${-Se}px)`,transitionDuration:`${He}ms`})}function Oe(Se=0){u.value?Le(R.value,Se):xe!==0&&(!J&&Se>0&&(J=!0),be(xe=0,Se))}function Le(Se,He){const Qe=F(Se);Qe!==xe&&He>0&&(J=!0),xe=F(R.value),be(Qe,He)}function F(Se){let He;return Se>=y.value-1?He=O():He=w.value[Se]||0,He}function O(){if(p.value==="auto"){const{value:Se}=l,{[Se]:He}=v.value,{value:Qe}=w,ht=Qe[Qe.length-1];let gt;if(ht===void 0)gt=He;else{const{value:ut}=b;gt=ht+ut[ut.length-1][Se]}return gt-He}else{const{value:Se}=w;return Se[y.value-1]||0}}const re={currentIndexRef:$,to:E,prev:oe,next:fe,isVertical:()=>s.value,isHorizontal:()=>!s.value,isPrev:M,isNext:Y,isActive:Q,isPrevDisabled:pe,isNextDisabled:B,getSlideIndex:ye,getSlideStyle:Pe,addSlide:_e,removeSlide:ee,onCarouselItemClick:I};Yj(re);function _e(Se){Se&&i.value.push(Se)}function ee(Se){if(!Se)return;const He=ye(Se);He!==-1&&i.value.splice(He,1)}function ye(Se){return typeof Se=="number"?Se:Se?i.value.indexOf(Se):-1}function Pe(Se){const He=ye(Se);if(He!==-1){const Qe=[x.value[He]],ht=re.isPrev(He),gt=re.isNext(He);return ht&&Qe.push(e.prevSlideStyle||""),gt&&Qe.push(e.nextSlideStyle||""),Fr(Qe)}}function I(Se,He){let Qe=!J&&!De&&!Ue;e.effect==="card"&&Qe&&!Q(Se)&&(E(Se),Qe=!1),Qe||(He.preventDefault(),He.stopPropagation())}let H=null;function te(){H&&(clearInterval(H),H=null)}function Ce(){te(),!e.autoplay||k.value<2||(H=window.setInterval(G,e.interval))}let ae=0,he=0,ne=0,ue=0,De=!1,Ue=!1;function ke(Se){var He;if(Ud||!(!((He=r.value)===null||He===void 0)&&He.contains(ki(Se))))return;Ud=!0,De=!0,Ue=!1,ue=Date.now(),te(),Se.type!=="touchstart"&&!Se.target.isContentEditable&&Se.preventDefault();const Qe=D0(Se)?Se.touches[0]:Se;s.value?he=Qe.clientY:ae=Qe.clientX,e.touchable&&(It("touchmove",document,Fe),It("touchend",document,je),It("touchcancel",document,je)),e.draggable&&(It("mousemove",document,Fe),It("mouseup",document,je))}function Fe(Se){const{value:He}=s,{value:Qe}=l,ht=D0(Se)?Se.touches[0]:Se,gt=He?ht.clientY-he:ht.clientX-ae,ut=v.value[Qe];ne=Nl(gt,-ut,ut),Se.cancelable&&Se.preventDefault(),u.value&&be(xe-ne,0)}function je(){const{value:Se}=R;let He=Se;if(!J&&ne!==0&&u.value){const Qe=xe-ne,ht=[...w.value.slice(0,y.value-1),O()];let gt=null;for(let ut=0;utgt/2||ne/Qe>.4?He=j(Se):(ne<-gt/2||ne/Qe<-.4)&&(He=D(Se))}He!==null&&He!==Se?(Ue=!0,K(He),Ht(()=>{(!d.value||T.value!==$.value)&&Oe(_.value)})):Oe(_.value),Ae(),Ce()}function Ae(){De&&(Ud=!1),De=!1,ae=0,he=0,ne=0,ue=0,Pt("touchmove",document,Fe),Pt("touchend",document,je),Pt("touchcancel",document,je),Pt("mousemove",document,Fe),Pt("mouseup",document,je)}function Je(){if(u.value&&J){const{value:Se}=R;Le(Se,0)}else Ce();u.value&&(N.value.transitionDuration="0ms"),J=!1}function xt(Se){if(Se.preventDefault(),J)return;let{deltaX:He,deltaY:Qe}=Se;Se.shiftKey&&!He&&(He=Qe);const ht=-1,gt=1,ut=(He||Qe)>0?gt:ht;let Rt=0,se=0;s.value?se=ut:Rt=ut;const Re=10;(se*Qe>=Re||Rt*He>=Re)&&(ut===gt&&!B()?G():ut===ht&&!pe()&&A())}function X(){v.value=L0(o.value,!0),Ce()}function ge(){var Se,He;m.value&&((He=(Se=b.effect).scheduler)===null||He===void 0||He.call(Se),b.effect.run())}function $e(){e.autoplay&&te()}function Ke(){e.autoplay&&Ce()}jt(()=>{Xt(Ce),requestAnimationFrame(()=>C.value=!0)}),rn(()=>{Ae(),te()}),Qh(()=>{const{value:Se}=i,{value:He}=a,Qe=new Map,ht=ut=>Qe.has(ut)?Qe.get(ut):-1;let gt=!1;for(let ut=0;utse.el===Se[ut]);Rt!==ut&&(gt=!0),Qe.set(Se[ut],Rt)}gt&&Se.sort((ut,Rt)=>ht(ut)-ht(Rt))}),ft(R,(Se,He)=>{if(Se!==He)if(Ce(),u.value){if(d.value){const{value:Qe}=y;k.value>2&&Se===Qe-2&&He===1?Se=0:Se===1&&He===Qe-2&&(Se=Qe-1)}Le(Se,_.value)}else Oe()},{immediate:!0}),ft([d,p],()=>void Ht(()=>{K(R.value)})),ft(w,()=>{u.value&&Oe()},{deep:!0}),ft(u,Se=>{Se?Oe():(J=!1,be(xe=0))});const Xe=L(()=>({onTouchstartPassive:e.touchable?ke:void 0,onMousedown:e.draggable?ke:void 0,onWheel:e.mousewheel?xt:void 0})),Ze=L(()=>Object.assign(Object.assign({},Xn(re,["to","prev","next","isPrevDisabled","isNextDisabled"])),{total:k.value,currentIndex:$.value})),tt=L(()=>({total:k.value,currentIndex:$.value,to:re.to})),it={getCurrentIndex:()=>$.value,to:E,prev:A,next:G},yt=Be("Carousel","-carousel",oV,Hj,e,t),on=L(()=>{const{common:{cubicBezierEaseInOut:Se},self:{dotSize:He,dotColor:Qe,dotColorActive:ht,dotColorFocus:gt,dotLineWidth:ut,dotLineWidthActive:Rt,arrowColor:se}}=yt.value;return{"--n-bezier":Se,"--n-dot-color":Qe,"--n-dot-color-focus":gt,"--n-dot-color-active":ht,"--n-dot-size":He,"--n-dot-line-width":ut,"--n-dot-line-width-active":Rt,"--n-arrow-color":se}}),Dt=n?kt("carousel",void 0,on,e):void 0;return Object.assign(Object.assign({mergedClsPrefix:t,selfElRef:o,slidesElRef:r,slideVNodes:a,duplicatedable:d,userWantsControl:f,autoSlideSize:m,realIndex:R,slideStyles:x,translateStyle:N,slidesControlListeners:Xe,handleTransitionEnd:Je,handleResize:X,handleSlideResize:ge,handleMouseenter:$e,handleMouseleave:Ke,isActive:de,arrowSlotProps:Ze,dotSlotProps:tt},it),{cssVars:n?void 0:on,themeClass:Dt==null?void 0:Dt.themeClass,onRender:Dt==null?void 0:Dt.onRender})},render(){var e;const{mergedClsPrefix:t,showArrow:n,userWantsControl:o,slideStyles:r,dotType:i,dotPlacement:a,slidesControlListeners:s,transitionProps:l={},arrowSlotProps:c,dotSlotProps:u,$slots:{default:d,dots:f,arrow:p}}=this,h=d&&_a(d())||[];let m=sV(h);return m.length||(m=h.map(v=>g(nV,null,{default:()=>ao(v)}))),this.duplicatedable&&(m=Wj(m)),this.slideVNodes.value=m,this.autoSlideSize&&(m=m.map(v=>g(sr,{onResize:this.handleSlideResize},{default:()=>v}))),(e=this.onRender)===null||e===void 0||e.call(this),g("div",Object.assign({ref:"selfElRef",class:[this.themeClass,`${t}-carousel`,this.direction==="vertical"&&`${t}-carousel--vertical`,this.showArrow&&`${t}-carousel--show-arrow`,`${t}-carousel--${a}`,`${t}-carousel--${this.direction}`,`${t}-carousel--${this.effect}`,o&&`${t}-carousel--usercontrol`],style:this.cssVars},s,{onMouseenter:this.handleMouseenter,onMouseleave:this.handleMouseleave}),g(sr,{onResize:this.handleResize},{default:()=>g("div",{ref:"slidesElRef",class:`${t}-carousel__slides`,role:"listbox",style:this.translateStyle,onTransitionend:this.handleTransitionEnd},o?m.map((v,b)=>g("div",{style:r[b],key:b},dn(g(fn,Object.assign({},l),{default:()=>v}),[[Mn,this.isActive(b)]]))):m)}),this.showDots&&u.total>1&&ih(f,u,()=>[g(Zj,{key:i+a,total:u.total,currentIndex:u.currentIndex,dotType:i,trigger:this.trigger,keyboard:this.keyboard})]),n&&ih(p,c,()=>[g(eV,null)]))}});function sV(e){return e.reduce((t,n)=>(tV(n)&&t.push(n),t),[])}const lV={sizeSmall:"14px",sizeMedium:"16px",sizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},J_=e=>{const{baseColor:t,inputColorDisabled:n,cardColor:o,modalColor:r,popoverColor:i,textColorDisabled:a,borderColor:s,primaryColor:l,textColor2:c,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,borderRadiusSmall:p,lineHeight:h}=e;return Object.assign(Object.assign({},lV),{labelLineHeight:h,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,borderRadius:p,color:t,colorChecked:l,colorDisabled:n,colorDisabledChecked:n,colorTableHeader:o,colorTableHeaderModal:r,colorTableHeaderPopover:i,checkMarkColor:t,checkMarkColorDisabled:a,checkMarkColorDisabledChecked:a,border:`1px solid ${s}`,borderDisabled:`1px solid ${s}`,borderDisabledChecked:`1px solid ${s}`,borderChecked:`1px solid ${l}`,borderFocus:`1px solid ${l}`,boxShadowFocus:`0 0 0 2px ${Me(l,{alpha:.3})}`,textColor:c,textColorDisabled:a})},cV={name:"Checkbox",common:bt,self:J_},Q_=cV,uV={name:"Checkbox",common:Ne,self(e){const{cardColor:t}=e,n=J_(e);return n.color="#0000",n.checkMarkColor=t,n}},ja=uV,dV=e=>{const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:r,textColor3:i,primaryColor:a,textColorDisabled:s,dividerColor:l,hoverColor:c,fontSizeMedium:u,heightMedium:d}=e;return{menuBorderRadius:t,menuColor:o,menuBoxShadow:n,menuDividerColor:l,menuHeight:"calc(var(--n-option-height) * 6.6)",optionArrowColor:i,optionHeight:d,optionFontSize:u,optionColorHover:c,optionTextColor:r,optionTextColorActive:a,optionTextColorDisabled:s,optionCheckMarkColor:a,loadingColor:a,columnWidth:"180px"}},fV={name:"Cascader",common:Ne,peers:{InternalSelectMenu:ul,InternalSelection:tm,Scrollbar:Vn,Checkbox:ja,Empty:$u},self:dV},hV=fV,pV=g("svg",{viewBox:"0 0 64 64",class:"check-icon"},g("path",{d:"M50.42,16.76L22.34,39.45l-8.1-11.46c-1.12-1.58-3.3-1.96-4.88-0.84c-1.58,1.12-1.95,3.3-0.84,4.88l10.26,14.51 c0.56,0.79,1.42,1.31,2.38,1.45c0.16,0.02,0.32,0.03,0.48,0.03c0.8,0,1.57-0.27,2.2-0.78l30.99-25.03c1.5-1.21,1.74-3.42,0.52-4.92 C54.13,15.78,51.93,15.55,50.42,16.76z"})),mV=g("svg",{viewBox:"0 0 100 100",class:"line-icon"},g("path",{d:"M80.2,55.5H21.4c-2.8,0-5.1-2.5-5.1-5.5l0,0c0-3,2.3-5.5,5.1-5.5h58.7c2.8,0,5.1,2.5,5.1,5.5l0,0C85.2,53.1,82.9,55.5,80.2,55.5z"})),e2="n-checkbox-group",gV={min:Number,max:Number,size:String,value:Array,defaultValue:{type:Array,default:null},disabled:{type:Boolean,default:void 0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onChange:[Function,Array]},vV=ve({name:"CheckboxGroup",props:gV,setup(e){const{mergedClsPrefixRef:t}=st(e),n=fr(e),{mergedSizeRef:o,mergedDisabledRef:r}=n,i=W(e.defaultValue),a=L(()=>e.value),s=sn(a,i),l=L(()=>{var d;return((d=s.value)===null||d===void 0?void 0:d.length)||0}),c=L(()=>Array.isArray(s.value)?new Set(s.value):new Set);function u(d,f){const{nTriggerFormInput:p,nTriggerFormChange:h}=n,{onChange:m,"onUpdate:value":v,onUpdateValue:b}=e;if(Array.isArray(s.value)){const w=Array.from(s.value),C=w.findIndex(S=>S===f);d?~C||(w.push(f),b&&Ee(b,w,{actionType:"check",value:f}),v&&Ee(v,w,{actionType:"check",value:f}),p(),h(),i.value=w,m&&Ee(m,w)):~C&&(w.splice(C,1),b&&Ee(b,w,{actionType:"uncheck",value:f}),v&&Ee(v,w,{actionType:"uncheck",value:f}),m&&Ee(m,w),i.value=w,p(),h())}else d?(b&&Ee(b,[f],{actionType:"check",value:f}),v&&Ee(v,[f],{actionType:"check",value:f}),m&&Ee(m,[f]),i.value=[f],p(),h()):(b&&Ee(b,[],{actionType:"uncheck",value:f}),v&&Ee(v,[],{actionType:"uncheck",value:f}),m&&Ee(m,[]),i.value=[],p(),h())}return at(e2,{checkedCountRef:l,maxRef:Ve(e,"max"),minRef:Ve(e,"min"),valueSetRef:c,disabledRef:r,mergedSizeRef:o,toggleCheckbox:u}),{mergedClsPrefix:t}},render(){return g("div",{class:`${this.mergedClsPrefix}-checkbox-group`,role:"group"},this.$slots)}}),bV=q([z("checkbox",` + `)])])]),YV=["transitionDuration","transitionTimingFunction"],XV=Object.assign(Object.assign({},Be.props),{defaultIndex:{type:Number,default:0},currentIndex:Number,showArrow:Boolean,dotType:{type:String,default:"dot"},dotPlacement:{type:String,default:"bottom"},slidesPerView:{type:[Number,String],default:1},spaceBetween:{type:Number,default:0},centeredSlides:Boolean,direction:{type:String,default:"horizontal"},autoplay:Boolean,interval:{type:Number,default:5e3},loop:{type:Boolean,default:!0},effect:{type:String,default:"slide"},showDots:{type:Boolean,default:!0},trigger:{type:String,default:"click"},transitionStyle:{type:Object,default:()=>({transitionDuration:"300ms"})},transitionProps:Object,draggable:Boolean,prevSlideStyle:[Object,String],nextSlideStyle:[Object,String],touchable:{type:Boolean,default:!0},mousewheel:Boolean,keyboard:Boolean,"onUpdate:currentIndex":Function,onUpdateCurrentIndex:Function});let nf=!1;const ZV=be({name:"Carousel",props:XV,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=W(null),r=W(null),i=W([]),a={value:[]},s=F(()=>e.direction==="vertical"),l=F(()=>s.value?"height":"width"),c=F(()=>s.value?"bottom":"right"),u=F(()=>e.effect==="slide"),d=F(()=>e.loop&&e.slidesPerView===1&&u.value),f=F(()=>e.effect==="custom"),h=F(()=>!u.value||e.centeredSlides?1:e.slidesPerView),p=F(()=>f.value?1:e.slidesPerView),g=F(()=>h.value==="auto"||e.slidesPerView==="auto"&&e.centeredSlides),m=W({width:0,height:0}),b=F(()=>{const{value:Se}=i;if(!Se.length)return[];const{value:Ve}=g;if(Ve)return Se.map(ae=>e1(ae));const{value:et}=p,{value:ht}=m,{value:bt}=l;let ut=ht[bt];if(et!=="auto"){const{spaceBetween:ae}=e,Ee=ut-(et-1)*ae,ot=1/Math.max(1,et);ut=Ee*ot}const Et=Object.assign(Object.assign({},ht),{[bt]:ut});return Se.map(()=>Et)}),_=F(()=>{const{value:Se}=b;if(!Se.length)return[];const{centeredSlides:Ve,spaceBetween:et}=e,{value:ht}=l,{[ht]:bt}=m.value;let ut=0;return Se.map(({[ht]:Et})=>{let ae=ut;return Ve&&(ae+=(Et-bt)/2),ut+=Et+et,ae})}),C=W(!1),S=F(()=>{const{transitionStyle:Se}=e;return Se?Qn(Se,YV):{}}),w=F(()=>f.value?0:BV(S.value.transitionDuration)),x=F(()=>{const{value:Se}=i;if(!Se.length)return[];const Ve=!(g.value||p.value===1),et=Et=>{if(Ve){const{value:ae}=l;return{[ae]:`${b.value[Et][ae]}px`}}};if(f.value)return Se.map((Et,ae)=>et(ae));const{effect:ht,spaceBetween:bt}=e,{value:ut}=c;return Se.reduce((Et,ae,Ee)=>{const ot=Object.assign(Object.assign({},et(Ee)),{[`margin-${ut}`]:`${bt}px`});return Et.push(ot),C.value&&(ht==="fade"||ht==="card")&&Object.assign(ot,S.value),Et},[])}),y=F(()=>{const{value:Se}=h,{length:Ve}=i.value;if(Se!=="auto")return Math.max(Ve-Se,0)+1;{const{value:et}=b,{length:ht}=et;if(!ht)return Ve;const{value:bt}=_,{value:ut}=l,Et=m.value[ut];let ae=et[et.length-1][ut],Ee=ht;for(;Ee>1&&aeFV(y.value,d.value)),k=tf(e.defaultIndex,d.value),T=W(J0(k,y.value,d.value)),E=an(We(e,"currentIndex"),T),R=F(()=>tf(E.value,d.value));function K(Se){var Ve,et;Se=jl(Se,0,y.value-1);const ht=J0(Se,y.value,d.value),{value:bt}=E;ht!==E.value&&(T.value=ht,(Ve=e["onUpdate:currentIndex"])===null||Ve===void 0||Ve.call(e,ht,bt),(et=e.onUpdateCurrentIndex)===null||et===void 0||et.call(e,ht,bt))}function N(Se=R.value){return DV(Se,y.value,e.loop)}function D(Se=R.value){return LV(Se,y.value,e.loop)}function M(Se){const Ve=ge(Se);return Ve!==null&&N()===Ve}function G(Se){const Ve=ge(Se);return Ve!==null&&D()===Ve}function J(Se){return R.value===ge(Se)}function he(Se){return E.value===Se}function pe(){return N()===null}function B(){return D()===null}function $(Se){const Ve=jl(tf(Se,d.value),0,y.value);(Se!==E.value||Ve!==R.value)&&K(Ve)}function A(){const Se=N();Se!==null&&K(Se)}function Y(){const Se=D();Se!==null&&K(Se)}let ne=!1;function fe(){(!ne||!d.value)&&A()}function Q(){(!ne||!d.value)&&Y()}let xe=0;const H=W({});function ye(Se,Ve=0){H.value=Object.assign({},S.value,{transform:s.value?`translateY(${-Se}px)`:`translateX(${-Se}px)`,transitionDuration:`${Ve}ms`})}function Oe(Se=0){u.value?Ne(R.value,Se):xe!==0&&(!ne&&Se>0&&(ne=!0),ye(xe=0,Se))}function Ne(Se,Ve){const et=L(Se);et!==xe&&Ve>0&&(ne=!0),xe=L(R.value),ye(et,Ve)}function L(Se){let Ve;return Se>=y.value-1?Ve=O():Ve=_.value[Se]||0,Ve}function O(){if(h.value==="auto"){const{value:Se}=l,{[Se]:Ve}=m.value,{value:et}=_,ht=et[et.length-1];let bt;if(ht===void 0)bt=Ve;else{const{value:ut}=b;bt=ht+ut[ut.length-1][Se]}return bt-Ve}else{const{value:Se}=_;return Se[y.value-1]||0}}const oe={currentIndexRef:E,to:$,prev:fe,next:Q,isVertical:()=>s.value,isHorizontal:()=>!s.value,isPrev:M,isNext:G,isActive:J,isPrevDisabled:pe,isNextDisabled:B,getSlideIndex:ge,getSlideStyle:ke,addSlide:_e,removeSlide:te,onCarouselItemClick:re};NV(oe);function _e(Se){Se&&i.value.push(Se)}function te(Se){if(!Se)return;const Ve=ge(Se);Ve!==-1&&i.value.splice(Ve,1)}function ge(Se){return typeof Se=="number"?Se:Se?i.value.indexOf(Se):-1}function ke(Se){const Ve=ge(Se);if(Ve!==-1){const et=[x.value[Ve]],ht=oe.isPrev(Ve),bt=oe.isNext(Ve);return ht&&et.push(e.prevSlideStyle||""),bt&&et.push(e.nextSlideStyle||""),Di(et)}}let I=0,j=0,ee=0,Ce=0,ce=!1,le=!1;function re(Se,Ve){let et=!ne&&!ce&&!le;e.effect==="card"&&et&&!J(Se)&&($(Se),et=!1),et||(Ve.preventDefault(),Ve.stopPropagation())}let de=null;function De(){de&&(clearInterval(de),de=null)}function Le(){De(),!e.autoplay||P.value<2||(de=window.setInterval(Y,e.interval))}function Pe(Se){var Ve;if(nf||!(!((Ve=r.value)===null||Ve===void 0)&&Ve.contains(Ai(Se))))return;nf=!0,ce=!0,le=!1,Ce=Date.now(),De(),Se.type!=="touchstart"&&!Se.target.isContentEditable&&Se.preventDefault();const et=Q0(Se)?Se.touches[0]:Se;s.value?j=et.clientY:I=et.clientX,e.touchable&&(At("touchmove",document,Fe),At("touchend",document,He),At("touchcancel",document,He)),e.draggable&&(At("mousemove",document,Fe),At("mouseup",document,He))}function Fe(Se){const{value:Ve}=s,{value:et}=l,ht=Q0(Se)?Se.touches[0]:Se,bt=Ve?ht.clientY-j:ht.clientX-I,ut=m.value[et];ee=jl(bt,-ut,ut),Se.cancelable&&Se.preventDefault(),u.value&&ye(xe-ee,0)}function He(){const{value:Se}=R;let Ve=Se;if(!ne&&ee!==0&&u.value){const et=xe-ee,ht=[..._.value.slice(0,y.value-1),O()];let bt=null;for(let ut=0;utbt/2||ee/et>.4?Ve=N(Se):(ee<-bt/2||ee/et<-.4)&&(Ve=D(Se))}Ve!==null&&Ve!==Se?(le=!0,K(Ve),Ht(()=>{(!d.value||T.value!==E.value)&&Oe(w.value)})):Oe(w.value),Ie(),Le()}function Ie(){ce&&(nf=!1),ce=!1,I=0,j=0,ee=0,Ce=0,Tt("touchmove",document,Fe),Tt("touchend",document,He),Tt("touchcancel",document,He),Tt("mousemove",document,Fe),Tt("mouseup",document,He)}function Qe(){if(u.value&&ne){const{value:Se}=R;Ne(Se,0)}else Le();u.value&&(H.value.transitionDuration="0ms"),ne=!1}function Ct(Se){if(Se.preventDefault(),ne)return;let{deltaX:Ve,deltaY:et}=Se;Se.shiftKey&&!Ve&&(Ve=et);const ht=-1,bt=1,ut=(Ve||et)>0?bt:ht;let Et=0,ae=0;s.value?ae=ut:Et=ut;const Ee=10;(ae*et>=Ee||Et*Ve>=Ee)&&(ut===bt&&!B()?Y():ut===ht&&!pe()&&A())}function X(){m.value=e1(o.value,!0),Le()}function ve(){var Se,Ve;g.value&&((Ve=(Se=b.effect).scheduler)===null||Ve===void 0||Ve.call(Se),b.effect.run())}function Ae(){e.autoplay&&De()}function Ke(){e.autoplay&&Le()}jt(()=>{Xt(Le),requestAnimationFrame(()=>C.value=!0)}),on(()=>{Ie(),De()}),up(()=>{const{value:Se}=i,{value:Ve}=a,et=new Map,ht=ut=>et.has(ut)?et.get(ut):-1;let bt=!1;for(let ut=0;utae.el===Se[ut]);Et!==ut&&(bt=!0),et.set(Se[ut],Et)}bt&&Se.sort((ut,Et)=>ht(ut)-ht(Et))}),ft(R,(Se,Ve)=>{if(Se!==Ve)if(Le(),u.value){if(d.value){const{value:et}=y;P.value>2&&Se===et-2&&Ve===1?Se=0:Se===1&&Ve===et-2&&(Se=et-1)}Ne(Se,w.value)}else Oe()},{immediate:!0}),ft([d,h],()=>void Ht(()=>{K(R.value)})),ft(_,()=>{u.value&&Oe()},{deep:!0}),ft(u,Se=>{Se?Oe():(ne=!1,ye(xe=0))});const Ze=F(()=>({onTouchstartPassive:e.touchable?Pe:void 0,onMousedown:e.draggable?Pe:void 0,onWheel:e.mousewheel?Ct:void 0})),Je=F(()=>Object.assign(Object.assign({},Qn(oe,["to","prev","next","isPrevDisabled","isNextDisabled"])),{total:P.value,currentIndex:E.value})),tt=F(()=>({total:P.value,currentIndex:E.value,to:oe.to})),rt={getCurrentIndex:()=>E.value,to:$,prev:A,next:Y},vt=Be("Carousel","-carousel",GV,IV,e,t),sn=F(()=>{const{common:{cubicBezierEaseInOut:Se},self:{dotSize:Ve,dotColor:et,dotColorActive:ht,dotColorFocus:bt,dotLineWidth:ut,dotLineWidthActive:Et,arrowColor:ae}}=vt.value;return{"--n-bezier":Se,"--n-dot-color":et,"--n-dot-color-focus":bt,"--n-dot-color-active":ht,"--n-dot-size":Ve,"--n-dot-line-width":ut,"--n-dot-line-width-active":Et,"--n-arrow-color":ae}}),Dt=n?Pt("carousel",void 0,sn,e):void 0;return Object.assign(Object.assign({mergedClsPrefix:t,selfElRef:o,slidesElRef:r,slideVNodes:a,duplicatedable:d,userWantsControl:f,autoSlideSize:g,realIndex:R,slideStyles:x,translateStyle:H,slidesControlListeners:Ze,handleTransitionEnd:Qe,handleResize:X,handleSlideResize:ve,handleMouseenter:Ae,handleMouseleave:Ke,isActive:he,arrowSlotProps:Je,dotSlotProps:tt},rt),{cssVars:n?void 0:sn,themeClass:Dt==null?void 0:Dt.themeClass,onRender:Dt==null?void 0:Dt.onRender})},render(){var e;const{mergedClsPrefix:t,showArrow:n,userWantsControl:o,slideStyles:r,dotType:i,dotPlacement:a,slidesControlListeners:s,transitionProps:l={},arrowSlotProps:c,dotSlotProps:u,$slots:{default:d,dots:f,arrow:h}}=this,p=d&&Ra(d())||[];let g=JV(p);return g.length||(g=p.map(m=>v(KV,null,{default:()=>uo(m)}))),this.duplicatedable&&(g=zV(g)),this.slideVNodes.value=g,this.autoSlideSize&&(g=g.map(m=>v(cr,{onResize:this.handleSlideResize},{default:()=>m}))),(e=this.onRender)===null||e===void 0||e.call(this),v("div",Object.assign({ref:"selfElRef",class:[this.themeClass,`${t}-carousel`,this.direction==="vertical"&&`${t}-carousel--vertical`,this.showArrow&&`${t}-carousel--show-arrow`,`${t}-carousel--${a}`,`${t}-carousel--${this.direction}`,`${t}-carousel--${this.effect}`,o&&`${t}-carousel--usercontrol`],style:this.cssVars},s,{onMouseenter:this.handleMouseenter,onMouseleave:this.handleMouseleave}),v(cr,{onResize:this.handleResize},{default:()=>v("div",{ref:"slidesElRef",class:`${t}-carousel__slides`,role:"listbox",style:this.translateStyle,onTransitionend:this.handleTransitionEnd},o?g.map((m,b)=>v("div",{style:r[b],key:b},dn(v(fn,Object.assign({},l),{default:()=>m}),[[Mn,this.isActive(b)]]))):g)}),this.showDots&&u.total>1&&bh(f,u,()=>[v(jV,{key:i+a,total:u.total,currentIndex:u.currentIndex,dotType:i,trigger:this.trigger,keyboard:this.keyboard})]),n&&bh(h,c,()=>[v(UV,null)]))}});function JV(e){return e.reduce((t,n)=>(qV(n)&&t.push(n),t),[])}const QV={sizeSmall:"14px",sizeMedium:"16px",sizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"};function k2(e){const{baseColor:t,inputColorDisabled:n,cardColor:o,modalColor:r,popoverColor:i,textColorDisabled:a,borderColor:s,primaryColor:l,textColor2:c,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,borderRadiusSmall:h,lineHeight:p}=e;return Object.assign(Object.assign({},QV),{labelLineHeight:p,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,borderRadius:h,color:t,colorChecked:l,colorDisabled:n,colorDisabledChecked:n,colorTableHeader:o,colorTableHeaderModal:r,colorTableHeaderPopover:i,checkMarkColor:t,checkMarkColorDisabled:a,checkMarkColorDisabledChecked:a,border:`1px solid ${s}`,borderDisabled:`1px solid ${s}`,borderDisabledChecked:`1px solid ${s}`,borderChecked:`1px solid ${l}`,borderFocus:`1px solid ${l}`,boxShadowFocus:`0 0 0 2px ${Me(l,{alpha:.3})}`,textColor:c,textColorDisabled:a})}const eW={name:"Checkbox",common:xt,self:k2},P2=eW,tW={name:"Checkbox",common:je,self(e){const{cardColor:t}=e,n=k2(e);return n.color="#0000",n.checkMarkColor=t,n}},Ga=tW;function nW(e){const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:r,textColor3:i,primaryColor:a,textColorDisabled:s,dividerColor:l,hoverColor:c,fontSizeMedium:u,heightMedium:d}=e;return{menuBorderRadius:t,menuColor:o,menuBoxShadow:n,menuDividerColor:l,menuHeight:"calc(var(--n-option-height) * 6.6)",optionArrowColor:i,optionHeight:d,optionFontSize:u,optionColorHover:c,optionTextColor:r,optionTextColorActive:a,optionTextColorDisabled:s,optionCheckMarkColor:a,loadingColor:a,columnWidth:"180px"}}const oW={name:"Cascader",common:je,peers:{InternalSelectMenu:fl,InternalSelection:mm,Scrollbar:Vn,Checkbox:Ga,Empty:Mu},self:nW},rW=oW,iW=v("svg",{viewBox:"0 0 64 64",class:"check-icon"},v("path",{d:"M50.42,16.76L22.34,39.45l-8.1-11.46c-1.12-1.58-3.3-1.96-4.88-0.84c-1.58,1.12-1.95,3.3-0.84,4.88l10.26,14.51 c0.56,0.79,1.42,1.31,2.38,1.45c0.16,0.02,0.32,0.03,0.48,0.03c0.8,0,1.57-0.27,2.2-0.78l30.99-25.03c1.5-1.21,1.74-3.42,0.52-4.92 C54.13,15.78,51.93,15.55,50.42,16.76z"})),aW=v("svg",{viewBox:"0 0 100 100",class:"line-icon"},v("path",{d:"M80.2,55.5H21.4c-2.8,0-5.1-2.5-5.1-5.5l0,0c0-3,2.3-5.5,5.1-5.5h58.7c2.8,0,5.1,2.5,5.1,5.5l0,0C85.2,53.1,82.9,55.5,80.2,55.5z"})),T2="n-checkbox-group",sW={min:Number,max:Number,size:String,value:Array,defaultValue:{type:Array,default:null},disabled:{type:Boolean,default:void 0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onChange:[Function,Array]},lW=be({name:"CheckboxGroup",props:sW,setup(e){const{mergedClsPrefixRef:t}=st(e),n=pr(e),{mergedSizeRef:o,mergedDisabledRef:r}=n,i=W(e.defaultValue),a=F(()=>e.value),s=an(a,i),l=F(()=>{var d;return((d=s.value)===null||d===void 0?void 0:d.length)||0}),c=F(()=>Array.isArray(s.value)?new Set(s.value):new Set);function u(d,f){const{nTriggerFormInput:h,nTriggerFormChange:p}=n,{onChange:g,"onUpdate:value":m,onUpdateValue:b}=e;if(Array.isArray(s.value)){const _=Array.from(s.value),C=_.findIndex(S=>S===f);d?~C||(_.push(f),b&&$e(b,_,{actionType:"check",value:f}),m&&$e(m,_,{actionType:"check",value:f}),h(),p(),i.value=_,g&&$e(g,_)):~C&&(_.splice(C,1),b&&$e(b,_,{actionType:"uncheck",value:f}),m&&$e(m,_,{actionType:"uncheck",value:f}),g&&$e(g,_),i.value=_,h(),p())}else d?(b&&$e(b,[f],{actionType:"check",value:f}),m&&$e(m,[f],{actionType:"check",value:f}),g&&$e(g,[f]),i.value=[f],h(),p()):(b&&$e(b,[],{actionType:"uncheck",value:f}),m&&$e(m,[],{actionType:"uncheck",value:f}),g&&$e(g,[]),i.value=[],h(),p())}return at(T2,{checkedCountRef:l,maxRef:We(e,"max"),minRef:We(e,"min"),valueSetRef:c,disabledRef:r,mergedSizeRef:o,toggleCheckbox:u}),{mergedClsPrefix:t}},render(){return v("div",{class:`${this.mergedClsPrefix}-checkbox-group`,role:"group"},this.$slots)}}),cW=q([z("checkbox",` font-size: var(--n-font-size); outline: none; cursor: pointer; @@ -1701,13 +1698,13 @@ ${t} -webkit-user-select: none; padding: var(--n-label-padding); font-weight: var(--n-label-font-weight); - `,[q("&:empty",{display:"none"})])]),rl(z("checkbox",` + `,[q("&:empty",{display:"none"})])]),al(z("checkbox",` --n-merged-color-table: var(--n-color-table-modal); - `)),Cu(z("checkbox",` + `)),ku(z("checkbox",` --n-merged-color-table: var(--n-color-table-popover); - `))]),yV=Object.assign(Object.assign({},Be.props),{size:String,checked:{type:[Boolean,String,Number],default:void 0},defaultChecked:{type:[Boolean,String,Number],default:!1},value:[String,Number],disabled:{type:Boolean,default:void 0},indeterminate:Boolean,label:String,focusable:{type:Boolean,default:!0},checkedValue:{type:[Boolean,String,Number],default:!0},uncheckedValue:{type:[Boolean,String,Number],default:!1},"onUpdate:checked":[Function,Array],onUpdateChecked:[Function,Array],privateInsideTable:Boolean,onChange:[Function,Array]}),hl=ve({name:"Checkbox",props:yV,setup(e){const t=W(null),{mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=fr(e,{mergedSize(x){const{size:y}=e;if(y!==void 0)return y;if(l){const{value:k}=l.mergedSizeRef;if(k!==void 0)return k}if(x){const{mergedSize:k}=x;if(k!==void 0)return k.value}return"medium"},mergedDisabled(x){const{disabled:y}=e;if(y!==void 0)return y;if(l){if(l.disabledRef.value)return!0;const{maxRef:{value:k},checkedCountRef:P}=l;if(k!==void 0&&P.value>=k&&!f.value)return!0;const{minRef:{value:T}}=l;if(T!==void 0&&P.value<=T&&f.value)return!0}return x?x.disabled.value:!1}}),{mergedDisabledRef:a,mergedSizeRef:s}=i,l=We(e2,null),c=W(e.defaultChecked),u=Ve(e,"checked"),d=sn(u,c),f=St(()=>{if(l){const x=l.valueSetRef.value;return x&&e.value!==void 0?x.has(e.value):!1}else return d.value===e.checkedValue}),p=Be("Checkbox","-checkbox",bV,Q_,e,n);function h(x){if(l&&e.value!==void 0)l.toggleCheckbox(!f.value,e.value);else{const{onChange:y,"onUpdate:checked":k,onUpdateChecked:P}=e,{nTriggerFormInput:T,nTriggerFormChange:$}=i,R=f.value?e.uncheckedValue:e.checkedValue;k&&Ee(k,R,x),P&&Ee(P,R,x),y&&Ee(y,R,x),T(),$(),c.value=R}}function m(x){a.value||h(x)}function v(x){if(!a.value)switch(x.key){case" ":case"Enter":h(x)}}function b(x){switch(x.key){case" ":x.preventDefault()}}const w={focus:()=>{var x;(x=t.value)===null||x===void 0||x.focus()},blur:()=>{var x;(x=t.value)===null||x===void 0||x.blur()}},C=pn("Checkbox",r,n),S=L(()=>{const{value:x}=s,{common:{cubicBezierEaseInOut:y},self:{borderRadius:k,color:P,colorChecked:T,colorDisabled:$,colorTableHeader:R,colorTableHeaderModal:K,colorTableHeaderPopover:j,checkMarkColor:D,checkMarkColorDisabled:M,border:Y,borderFocus:Q,borderDisabled:de,borderChecked:pe,boxShadowFocus:B,textColor:E,textColorDisabled:A,checkMarkColorDisabledChecked:G,colorDisabledChecked:oe,borderDisabledChecked:fe,labelPadding:J,labelLineHeight:xe,labelFontWeight:N,[Te("fontSize",x)]:be,[Te("size",x)]:Oe}}=p.value;return{"--n-label-line-height":xe,"--n-label-font-weight":N,"--n-size":Oe,"--n-bezier":y,"--n-border-radius":k,"--n-border":Y,"--n-border-checked":pe,"--n-border-focus":Q,"--n-border-disabled":de,"--n-border-disabled-checked":fe,"--n-box-shadow-focus":B,"--n-color":P,"--n-color-checked":T,"--n-color-table":R,"--n-color-table-modal":K,"--n-color-table-popover":j,"--n-color-disabled":$,"--n-color-disabled-checked":oe,"--n-text-color":E,"--n-text-color-disabled":A,"--n-check-mark-color":D,"--n-check-mark-color-disabled":M,"--n-check-mark-color-disabled-checked":G,"--n-font-size":be,"--n-label-padding":J}}),_=o?kt("checkbox",L(()=>s.value[0]),S,e):void 0;return Object.assign(i,w,{rtlEnabled:C,selfRef:t,mergedClsPrefix:n,mergedDisabled:a,renderedChecked:f,mergedTheme:p,labelId:Gr(),handleClick:m,handleKeyUp:v,handleKeyDown:b,cssVars:o?void 0:S,themeClass:_==null?void 0:_.themeClass,onRender:_==null?void 0:_.onRender})},render(){var e;const{$slots:t,renderedChecked:n,mergedDisabled:o,indeterminate:r,privateInsideTable:i,cssVars:a,labelId:s,label:l,mergedClsPrefix:c,focusable:u,handleKeyUp:d,handleKeyDown:f,handleClick:p}=this;(e=this.onRender)===null||e===void 0||e.call(this);const h=Et(t.default,m=>l||m?g("span",{class:`${c}-checkbox__label`,id:s},l||m):null);return g("div",{ref:"selfRef",class:[`${c}-checkbox`,this.themeClass,this.rtlEnabled&&`${c}-checkbox--rtl`,n&&`${c}-checkbox--checked`,o&&`${c}-checkbox--disabled`,r&&`${c}-checkbox--indeterminate`,i&&`${c}-checkbox--inside-table`,h&&`${c}-checkbox--show-label`],tabindex:o||!u?void 0:0,role:"checkbox","aria-checked":r?"mixed":n,"aria-labelledby":s,style:a,onKeyup:d,onKeydown:f,onClick:p,onMousedown:()=>{It("selectstart",window,m=>{m.preventDefault()},{once:!0})}},g("div",{class:`${c}-checkbox-box-wrapper`}," ",g("div",{class:`${c}-checkbox-box`},g(Ni,null,{default:()=>this.indeterminate?g("div",{key:"indeterminate",class:`${c}-checkbox-icon`},mV):g("div",{key:"check",class:`${c}-checkbox-icon`},pV)}),g("div",{class:`${c}-checkbox-box__border`}))),h)}}),xV={name:"Code",common:Ne,self(e){const{textColor2:t,fontSize:n,fontWeightStrong:o,textColor3:r}=e;return{textColor:t,fontSize:n,fontWeightStrong:o,"mono-3":"#5c6370","hue-1":"#56b6c2","hue-2":"#61aeee","hue-3":"#c678dd","hue-4":"#98c379","hue-5":"#e06c75","hue-5-2":"#be5046","hue-6":"#d19a66","hue-6-2":"#e6c07b",lineNumberTextColor:r}}},t2=xV,CV=e=>{const{fontWeight:t,textColor1:n,textColor2:o,textColorDisabled:r,dividerColor:i,fontSize:a}=e;return{titleFontSize:a,titleFontWeight:t,dividerColor:i,titleTextColor:n,titleTextColorDisabled:r,fontSize:a,textColor:o,arrowColor:o,arrowColorDisabled:r,itemMargin:"16px 0 0 0",titlePadding:"16px 0 0 0"}},wV={name:"Collapse",common:Ne,self:CV},_V=wV,SV=e=>{const{cubicBezierEaseInOut:t}=e;return{bezier:t}},kV={name:"CollapseTransition",common:Ne,self:SV},PV=kV,TV={abstract:Boolean,bordered:{type:Boolean,default:void 0},clsPrefix:{type:String,default:Xs},locale:Object,dateLocale:Object,namespace:String,rtl:Array,tag:{type:String,default:"div"},hljs:Object,katex:Object,theme:Object,themeOverrides:Object,componentOptions:Object,icons:Object,breakpoints:Object,preflightStyleDisabled:Boolean,inlineThemeDisabled:{type:Boolean,default:void 0},as:{type:String,validator:()=>(ar("config-provider","`as` is deprecated, please use `tag` instead."),!0),default:void 0}},n2=ve({name:"ConfigProvider",alias:["App"],props:TV,setup(e){const t=We(ko,null),n=L(()=>{const{theme:h}=e;if(h===null)return;const m=t==null?void 0:t.mergedThemeRef.value;return h===void 0?m:m===void 0?h:Object.assign({},m,h)}),o=L(()=>{const{themeOverrides:h}=e;if(h!==null){if(h===void 0)return t==null?void 0:t.mergedThemeOverridesRef.value;{const m=t==null?void 0:t.mergedThemeOverridesRef.value;return m===void 0?h:ls({},m,h)}}}),r=St(()=>{const{namespace:h}=e;return h===void 0?t==null?void 0:t.mergedNamespaceRef.value:h}),i=St(()=>{const{bordered:h}=e;return h===void 0?t==null?void 0:t.mergedBorderedRef.value:h}),a=L(()=>{const{icons:h}=e;return h===void 0?t==null?void 0:t.mergedIconsRef.value:h}),s=L(()=>{const{componentOptions:h}=e;return h!==void 0?h:t==null?void 0:t.mergedComponentPropsRef.value}),l=L(()=>{const{clsPrefix:h}=e;return h!==void 0?h:t?t.mergedClsPrefixRef.value:Xs}),c=L(()=>{var h;const{rtl:m}=e;if(m===void 0)return t==null?void 0:t.mergedRtlRef.value;const v={};for(const b of m)v[b.name]=$s(b),(h=b.peers)===null||h===void 0||h.forEach(w=>{w.name in v||(v[w.name]=$s(w))});return v}),u=L(()=>e.breakpoints||(t==null?void 0:t.mergedBreakpointsRef.value)),d=e.inlineThemeDisabled||(t==null?void 0:t.inlineThemeDisabled),f=e.preflightStyleDisabled||(t==null?void 0:t.preflightStyleDisabled),p=L(()=>{const{value:h}=n,{value:m}=o,v=m&&Object.keys(m).length!==0,b=h==null?void 0:h.name;return b?v?`${b}-${Us(JSON.stringify(o.value))}`:b:v?Us(JSON.stringify(o.value)):""});return at(ko,{mergedThemeHashRef:p,mergedBreakpointsRef:u,mergedRtlRef:c,mergedIconsRef:a,mergedComponentPropsRef:s,mergedBorderedRef:i,mergedNamespaceRef:r,mergedClsPrefixRef:l,mergedLocaleRef:L(()=>{const{locale:h}=e;if(h!==null)return h===void 0?t==null?void 0:t.mergedLocaleRef.value:h}),mergedDateLocaleRef:L(()=>{const{dateLocale:h}=e;if(h!==null)return h===void 0?t==null?void 0:t.mergedDateLocaleRef.value:h}),mergedHljsRef:L(()=>{const{hljs:h}=e;return h===void 0?t==null?void 0:t.mergedHljsRef.value:h}),mergedKatexRef:L(()=>{const{katex:h}=e;return h===void 0?t==null?void 0:t.mergedKatexRef.value:h}),mergedThemeRef:n,mergedThemeOverridesRef:o,inlineThemeDisabled:d||!1,preflightStyleDisabled:f||!1}),{mergedClsPrefix:l,mergedBordered:i,mergedNamespace:r,mergedTheme:n,mergedThemeOverrides:o}},render(){var e,t,n,o;return this.abstract?(o=(n=this.$slots).default)===null||o===void 0?void 0:o.call(n):g(this.as||this.tag,{class:`${this.mergedClsPrefix||Xs}-config-provider`},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}}),RV=e=>1-Math.pow(1-e,5);function EV(e){const{from:t,to:n,duration:o,onUpdate:r,onFinish:i}=e,a=()=>{const l=performance.now(),c=Math.min(l-s,o),u=t+(n-t)*RV(c/o);if(c===o){i();return}r(u),requestAnimationFrame(a)},s=performance.now();a()}const $V={to:{type:Number,default:0},precision:{type:Number,default:0},showSeparator:Boolean,locale:String,from:{type:Number,default:0},active:{type:Boolean,default:!0},duration:{type:Number,default:2e3},onFinish:Function},AV=ve({name:"NumberAnimation",props:$V,setup(e){const{localeRef:t}=Di("name"),{duration:n}=e,o=W(e.from),r=L(()=>{const{locale:f}=e;return f!==void 0?f:t.value});let i=!1;const a=f=>{o.value=f},s=()=>{var f;o.value=e.to,i=!1,(f=e.onFinish)===null||f===void 0||f.call(e)},l=(f=e.from,p=e.to)=>{i=!0,o.value=e.from,f!==p&&EV({from:f,to:p,duration:n,onUpdate:a,onFinish:s})},c=L(()=>{var f;const h=NL(o.value,e.precision).toFixed(e.precision).split("."),m=new Intl.NumberFormat(r.value),v=(f=m.formatToParts(.5).find(C=>C.type==="decimal"))===null||f===void 0?void 0:f.value,b=e.showSeparator?m.format(Number(h[0])):h[0],w=h[1];return{integer:b,decimal:w,decimalSeparator:v}});function u(){i||l()}return jt(()=>{Xt(()=>{e.active&&l()})}),Object.assign({formattedValue:c},{play:u})},render(){const{formattedValue:{integer:e,decimal:t,decimalSeparator:n}}=this;return[e,t?n:null,t]}}),IV={name:"Popselect",common:Ne,peers:{Popover:Wi,InternalSelectMenu:ul}},o2=IV;function OV(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const MV={name:"Popselect",common:bt,peers:{Popover:Ha,InternalSelectMenu:em},self:OV},sm=MV,r2="n-popselect",zV=z("popselect-menu",` + `))]),uW=Object.assign(Object.assign({},Be.props),{size:String,checked:{type:[Boolean,String,Number],default:void 0},defaultChecked:{type:[Boolean,String,Number],default:!1},value:[String,Number],disabled:{type:Boolean,default:void 0},indeterminate:Boolean,label:String,focusable:{type:Boolean,default:!0},checkedValue:{type:[Boolean,String,Number],default:!0},uncheckedValue:{type:[Boolean,String,Number],default:!1},"onUpdate:checked":[Function,Array],onUpdateChecked:[Function,Array],privateInsideTable:Boolean,onChange:[Function,Array]}),ml=be({name:"Checkbox",props:uW,setup(e){const t=Ue(T2,null),n=W(null),{mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:i}=st(e),a=W(e.defaultChecked),s=We(e,"checked"),l=an(s,a),c=kt(()=>{if(t){const x=t.valueSetRef.value;return x&&e.value!==void 0?x.has(e.value):!1}else return l.value===e.checkedValue}),u=pr(e,{mergedSize(x){const{size:y}=e;if(y!==void 0)return y;if(t){const{value:P}=t.mergedSizeRef;if(P!==void 0)return P}if(x){const{mergedSize:P}=x;if(P!==void 0)return P.value}return"medium"},mergedDisabled(x){const{disabled:y}=e;if(y!==void 0)return y;if(t){if(t.disabledRef.value)return!0;const{maxRef:{value:P},checkedCountRef:k}=t;if(P!==void 0&&k.value>=P&&!c.value)return!0;const{minRef:{value:T}}=t;if(T!==void 0&&k.value<=T&&c.value)return!0}return x?x.disabled.value:!1}}),{mergedDisabledRef:d,mergedSizeRef:f}=u,h=Be("Checkbox","-checkbox",cW,P2,e,o);function p(x){if(t&&e.value!==void 0)t.toggleCheckbox(!c.value,e.value);else{const{onChange:y,"onUpdate:checked":P,onUpdateChecked:k}=e,{nTriggerFormInput:T,nTriggerFormChange:E}=u,R=c.value?e.uncheckedValue:e.checkedValue;P&&$e(P,R,x),k&&$e(k,R,x),y&&$e(y,R,x),T(),E(),a.value=R}}function g(x){d.value||p(x)}function m(x){if(!d.value)switch(x.key){case" ":case"Enter":p(x)}}function b(x){switch(x.key){case" ":x.preventDefault()}}const _={focus:()=>{var x;(x=n.value)===null||x===void 0||x.focus()},blur:()=>{var x;(x=n.value)===null||x===void 0||x.blur()}},C=pn("Checkbox",i,o),S=F(()=>{const{value:x}=f,{common:{cubicBezierEaseInOut:y},self:{borderRadius:P,color:k,colorChecked:T,colorDisabled:E,colorTableHeader:R,colorTableHeaderModal:K,colorTableHeaderPopover:N,checkMarkColor:D,checkMarkColorDisabled:M,border:G,borderFocus:J,borderDisabled:he,borderChecked:pe,boxShadowFocus:B,textColor:$,textColorDisabled:A,checkMarkColorDisabledChecked:Y,colorDisabledChecked:ne,borderDisabledChecked:fe,labelPadding:Q,labelLineHeight:xe,labelFontWeight:H,[Re("fontSize",x)]:ye,[Re("size",x)]:Oe}}=h.value;return{"--n-label-line-height":xe,"--n-label-font-weight":H,"--n-size":Oe,"--n-bezier":y,"--n-border-radius":P,"--n-border":G,"--n-border-checked":pe,"--n-border-focus":J,"--n-border-disabled":he,"--n-border-disabled-checked":fe,"--n-box-shadow-focus":B,"--n-color":k,"--n-color-checked":T,"--n-color-table":R,"--n-color-table-modal":K,"--n-color-table-popover":N,"--n-color-disabled":E,"--n-color-disabled-checked":ne,"--n-text-color":$,"--n-text-color-disabled":A,"--n-check-mark-color":D,"--n-check-mark-color-disabled":M,"--n-check-mark-color-disabled-checked":Y,"--n-font-size":ye,"--n-label-padding":Q}}),w=r?Pt("checkbox",F(()=>f.value[0]),S,e):void 0;return Object.assign(u,_,{rtlEnabled:C,selfRef:n,mergedClsPrefix:o,mergedDisabled:d,renderedChecked:c,mergedTheme:h,labelId:Zr(),handleClick:g,handleKeyUp:m,handleKeyDown:b,cssVars:r?void 0:S,themeClass:w==null?void 0:w.themeClass,onRender:w==null?void 0:w.onRender})},render(){var e;const{$slots:t,renderedChecked:n,mergedDisabled:o,indeterminate:r,privateInsideTable:i,cssVars:a,labelId:s,label:l,mergedClsPrefix:c,focusable:u,handleKeyUp:d,handleKeyDown:f,handleClick:h}=this;(e=this.onRender)===null||e===void 0||e.call(this);const p=$t(t.default,g=>l||g?v("span",{class:`${c}-checkbox__label`,id:s},l||g):null);return v("div",{ref:"selfRef",class:[`${c}-checkbox`,this.themeClass,this.rtlEnabled&&`${c}-checkbox--rtl`,n&&`${c}-checkbox--checked`,o&&`${c}-checkbox--disabled`,r&&`${c}-checkbox--indeterminate`,i&&`${c}-checkbox--inside-table`,p&&`${c}-checkbox--show-label`],tabindex:o||!u?void 0:0,role:"checkbox","aria-checked":r?"mixed":n,"aria-labelledby":s,style:a,onKeyup:d,onKeydown:f,onClick:h,onMousedown:()=>{At("selectstart",window,g=>{g.preventDefault()},{once:!0})}},v("div",{class:`${c}-checkbox-box-wrapper`}," ",v("div",{class:`${c}-checkbox-box`},v(Ui,null,{default:()=>this.indeterminate?v("div",{key:"indeterminate",class:`${c}-checkbox-icon`},aW):v("div",{key:"check",class:`${c}-checkbox-icon`},iW)}),v("div",{class:`${c}-checkbox-box__border`}))),p)}}),dW={name:"Code",common:je,self(e){const{textColor2:t,fontSize:n,fontWeightStrong:o,textColor3:r}=e;return{textColor:t,fontSize:n,fontWeightStrong:o,"mono-3":"#5c6370","hue-1":"#56b6c2","hue-2":"#61aeee","hue-3":"#c678dd","hue-4":"#98c379","hue-5":"#e06c75","hue-5-2":"#be5046","hue-6":"#d19a66","hue-6-2":"#e6c07b",lineNumberTextColor:r}}},R2=dW;function fW(e){const{fontWeight:t,textColor1:n,textColor2:o,textColorDisabled:r,dividerColor:i,fontSize:a}=e;return{titleFontSize:a,titleFontWeight:t,dividerColor:i,titleTextColor:n,titleTextColorDisabled:r,fontSize:a,textColor:o,arrowColor:o,arrowColorDisabled:r,itemMargin:"16px 0 0 0",titlePadding:"16px 0 0 0"}}const hW={name:"Collapse",common:je,self:fW},pW=hW;function mW(e){const{cubicBezierEaseInOut:t}=e;return{bezier:t}}const gW={name:"CollapseTransition",common:je,self:mW},vW=gW,bW={abstract:Boolean,bordered:{type:Boolean,default:void 0},clsPrefix:{type:String,default:el},locale:Object,dateLocale:Object,namespace:String,rtl:Array,tag:{type:String,default:"div"},hljs:Object,katex:Object,theme:Object,themeOverrides:Object,componentOptions:Object,icons:Object,breakpoints:Object,preflightStyleDisabled:Boolean,inlineThemeDisabled:{type:Boolean,default:void 0},as:{type:String,validator:()=>(lr("config-provider","`as` is deprecated, please use `tag` instead."),!0),default:void 0}},E2=be({name:"ConfigProvider",alias:["App"],props:bW,setup(e){const t=Ue(Eo,null),n=F(()=>{const{theme:p}=e;if(p===null)return;const g=t==null?void 0:t.mergedThemeRef.value;return p===void 0?g:g===void 0?p:Object.assign({},g,p)}),o=F(()=>{const{themeOverrides:p}=e;if(p!==null){if(p===void 0)return t==null?void 0:t.mergedThemeOverridesRef.value;{const g=t==null?void 0:t.mergedThemeOverridesRef.value;return g===void 0?p:ps({},g,p)}}}),r=kt(()=>{const{namespace:p}=e;return p===void 0?t==null?void 0:t.mergedNamespaceRef.value:p}),i=kt(()=>{const{bordered:p}=e;return p===void 0?t==null?void 0:t.mergedBorderedRef.value:p}),a=F(()=>{const{icons:p}=e;return p===void 0?t==null?void 0:t.mergedIconsRef.value:p}),s=F(()=>{const{componentOptions:p}=e;return p!==void 0?p:t==null?void 0:t.mergedComponentPropsRef.value}),l=F(()=>{const{clsPrefix:p}=e;return p!==void 0?p:t?t.mergedClsPrefixRef.value:el}),c=F(()=>{var p;const{rtl:g}=e;if(g===void 0)return t==null?void 0:t.mergedRtlRef.value;const m={};for(const b of g)m[b.name]=zs(b),(p=b.peers)===null||p===void 0||p.forEach(_=>{_.name in m||(m[_.name]=zs(_))});return m}),u=F(()=>e.breakpoints||(t==null?void 0:t.mergedBreakpointsRef.value)),d=e.inlineThemeDisabled||(t==null?void 0:t.inlineThemeDisabled),f=e.preflightStyleDisabled||(t==null?void 0:t.preflightStyleDisabled),h=F(()=>{const{value:p}=n,{value:g}=o,m=g&&Object.keys(g).length!==0,b=p==null?void 0:p.name;return b?m?`${b}-${Ys(JSON.stringify(o.value))}`:b:m?Ys(JSON.stringify(o.value)):""});return at(Eo,{mergedThemeHashRef:h,mergedBreakpointsRef:u,mergedRtlRef:c,mergedIconsRef:a,mergedComponentPropsRef:s,mergedBorderedRef:i,mergedNamespaceRef:r,mergedClsPrefixRef:l,mergedLocaleRef:F(()=>{const{locale:p}=e;if(p!==null)return p===void 0?t==null?void 0:t.mergedLocaleRef.value:p}),mergedDateLocaleRef:F(()=>{const{dateLocale:p}=e;if(p!==null)return p===void 0?t==null?void 0:t.mergedDateLocaleRef.value:p}),mergedHljsRef:F(()=>{const{hljs:p}=e;return p===void 0?t==null?void 0:t.mergedHljsRef.value:p}),mergedKatexRef:F(()=>{const{katex:p}=e;return p===void 0?t==null?void 0:t.mergedKatexRef.value:p}),mergedThemeRef:n,mergedThemeOverridesRef:o,inlineThemeDisabled:d||!1,preflightStyleDisabled:f||!1}),{mergedClsPrefix:l,mergedBordered:i,mergedNamespace:r,mergedTheme:n,mergedThemeOverrides:o}},render(){var e,t,n,o;return this.abstract?(o=(n=this.$slots).default)===null||o===void 0?void 0:o.call(n):v(this.as||this.tag,{class:`${this.mergedClsPrefix||el}-config-provider`},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}}),yW=e=>1-Math.pow(1-e,5);function xW(e){const{from:t,to:n,duration:o,onUpdate:r,onFinish:i}=e,a=performance.now(),s=()=>{const l=performance.now(),c=Math.min(l-a,o),u=t+(n-t)*yW(c/o);if(c===o){i();return}r(u),requestAnimationFrame(s)};s()}const CW={to:{type:Number,default:0},precision:{type:Number,default:0},showSeparator:Boolean,locale:String,from:{type:Number,default:0},active:{type:Boolean,default:!0},duration:{type:Number,default:2e3},onFinish:Function},wW=be({name:"NumberAnimation",props:CW,setup(e){const{localeRef:t}=Hi("name"),{duration:n}=e,o=W(e.from),r=F(()=>{const{locale:f}=e;return f!==void 0?f:t.value});let i=!1;const a=f=>{o.value=f},s=()=>{var f;o.value=e.to,i=!1,(f=e.onFinish)===null||f===void 0||f.call(e)},l=(f=e.from,h=e.to)=>{i=!0,o.value=e.from,f!==h&&xW({from:f,to:h,duration:n,onUpdate:a,onFinish:s})},c=F(()=>{var f;const p=$F(o.value,e.precision).toFixed(e.precision).split("."),g=new Intl.NumberFormat(r.value),m=(f=g.formatToParts(.5).find(C=>C.type==="decimal"))===null||f===void 0?void 0:f.value,b=e.showSeparator?g.format(Number(p[0])):p[0],_=p[1];return{integer:b,decimal:_,decimalSeparator:m}});function u(){i||l()}return jt(()=>{Xt(()=>{e.active&&l()})}),Object.assign({formattedValue:c},{play:u})},render(){const{formattedValue:{integer:e,decimal:t,decimalSeparator:n}}=this;return[e,t?n:null,t]}}),_W={name:"Popselect",common:je,peers:{Popover:Yi,InternalSelectMenu:fl}},$2=_W;function SW(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const kW={name:"Popselect",common:xt,peers:{Popover:Ka,InternalSelectMenu:pm},self:SW},Cm=kW,A2="n-popselect",PW=z("popselect-menu",` box-shadow: var(--n-menu-box-shadow); -`),lm={multiple:Boolean,value:{type:[String,Number,Array],default:null},cancelable:Boolean,options:{type:Array,default:()=>[]},size:{type:String,default:"medium"},scrollable:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onMouseenter:Function,onMouseleave:Function,renderLabel:Function,showCheckmark:{type:Boolean,default:void 0},nodeProps:Function,virtualScroll:Boolean,onChange:[Function,Array]},F0=Yr(lm),DV=ve({name:"PopselectPanel",props:lm,setup(e){const t=We(r2),{mergedClsPrefixRef:n,inlineThemeDisabled:o}=st(e),r=Be("Popselect","-pop-select",zV,sm,t.props,n),i=L(()=>wi(e.options,L_("value","children")));function a(f,p){const{onUpdateValue:h,"onUpdate:value":m,onChange:v}=e;h&&Ee(h,f,p),m&&Ee(m,f,p),v&&Ee(v,f,p)}function s(f){c(f.key)}function l(f){!wo(f,"action")&&!wo(f,"empty")&&!wo(f,"header")&&f.preventDefault()}function c(f){const{value:{getNode:p}}=i;if(e.multiple)if(Array.isArray(e.value)){const h=[],m=[];let v=!0;e.value.forEach(b=>{if(b===f){v=!1;return}const w=p(b);w&&(h.push(w.key),m.push(w.rawNode))}),v&&(h.push(f),m.push(p(f).rawNode)),a(h,m)}else{const h=p(f);h&&a([f],[h.rawNode])}else if(e.value===f&&e.cancelable)a(null,null);else{const h=p(f);h&&a(f,h.rawNode);const{"onUpdate:show":m,onUpdateShow:v}=t.props;m&&Ee(m,!1),v&&Ee(v,!1),t.setShow(!1)}Ht(()=>{t.syncPosition()})}ft(Ve(e,"options"),()=>{Ht(()=>{t.syncPosition()})});const u=L(()=>{const{self:{menuBoxShadow:f}}=r.value;return{"--n-menu-box-shadow":f}}),d=o?kt("select",void 0,u,t.props):void 0;return{mergedTheme:t.mergedThemeRef,mergedClsPrefix:n,treeMate:i,handleToggle:s,handleMenuMousedown:l,cssVars:o?void 0:u,themeClass:d==null?void 0:d.themeClass,onRender:d==null?void 0:d.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),g(P_,{clsPrefix:this.mergedClsPrefix,focusable:!0,nodeProps:this.nodeProps,class:[`${this.mergedClsPrefix}-popselect-menu`,this.themeClass],style:this.cssVars,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,multiple:this.multiple,treeMate:this.treeMate,size:this.size,value:this.value,virtualScroll:this.virtualScroll,scrollable:this.scrollable,renderLabel:this.renderLabel,onToggle:this.handleToggle,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseenter,onMousedown:this.handleMenuMousedown,showCheckmark:this.showCheckmark},{header:()=>{var t,n;return((n=(t=this.$slots).header)===null||n===void 0?void 0:n.call(t))||[]},action:()=>{var t,n;return((n=(t=this.$slots).action)===null||n===void 0?void 0:n.call(t))||[]},empty:()=>{var t,n;return((n=(t=this.$slots).empty)===null||n===void 0?void 0:n.call(t))||[]}})}}),LV=Object.assign(Object.assign(Object.assign(Object.assign({},Be.props),Da(Pa,["showArrow","arrow"])),{placement:Object.assign(Object.assign({},Pa.placement),{default:"bottom"}),trigger:{type:String,default:"hover"}}),lm),cm=ve({name:"Popselect",props:LV,inheritAttrs:!1,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=st(e),n=Be("Popselect","-popselect",void 0,sm,e,t),o=W(null);function r(){var s;(s=o.value)===null||s===void 0||s.syncPosition()}function i(s){var l;(l=o.value)===null||l===void 0||l.setShow(s)}return at(r2,{props:e,mergedThemeRef:n,syncPosition:r,setShow:i}),Object.assign(Object.assign({},{syncPosition:r,setShow:i}),{popoverInstRef:o,mergedTheme:n})},render(){const{mergedTheme:e}=this,t={theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:{padding:"0"},ref:"popoverInstRef",internalRenderBody:(n,o,r,i,a)=>{const{$attrs:s}=this;return g(DV,Object.assign({},s,{class:[s.class,n],style:[s.style,...r]},Xn(this.$props,F0),{ref:VC(o),onMouseenter:_s([i,s.onMouseenter]),onMouseleave:_s([a,s.onMouseleave])}),{header:()=>{var l,c;return(c=(l=this.$slots).header)===null||c===void 0?void 0:c.call(l)},action:()=>{var l,c;return(c=(l=this.$slots).action)===null||c===void 0?void 0:c.call(l)},empty:()=>{var l,c;return(c=(l=this.$slots).empty)===null||c===void 0?void 0:c.call(l)}})}};return g(dl,Object.assign({},Da(this.$props,F0),t,{internalDeactivateImmediately:!0}),{trigger:()=>{var n,o;return(o=(n=this.$slots).default)===null||o===void 0?void 0:o.call(n)}})}});function i2(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const FV={name:"Select",common:bt,peers:{InternalSelection:M_,InternalSelectMenu:em},self:i2},a2=FV,BV={name:"Select",common:Ne,peers:{InternalSelection:tm,InternalSelectMenu:ul},self:i2},s2=BV,NV=q([z("select",` +`),wm={multiple:Boolean,value:{type:[String,Number,Array],default:null},cancelable:Boolean,options:{type:Array,default:()=>[]},size:{type:String,default:"medium"},scrollable:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onMouseenter:Function,onMouseleave:Function,renderLabel:Function,showCheckmark:{type:Boolean,default:void 0},nodeProps:Function,virtualScroll:Boolean,onChange:[Function,Array]},t1=Jr(wm),TW=be({name:"PopselectPanel",props:wm,setup(e){const t=Ue(A2),{mergedClsPrefixRef:n,inlineThemeDisabled:o}=st(e),r=Be("Popselect","-pop-select",PW,Cm,t.props,n),i=F(()=>Pi(e.options,u2("value","children")));function a(f,h){const{onUpdateValue:p,"onUpdate:value":g,onChange:m}=e;p&&$e(p,f,h),g&&$e(g,f,h),m&&$e(m,f,h)}function s(f){c(f.key)}function l(f){!so(f,"action")&&!so(f,"empty")&&!so(f,"header")&&f.preventDefault()}function c(f){const{value:{getNode:h}}=i;if(e.multiple)if(Array.isArray(e.value)){const p=[],g=[];let m=!0;e.value.forEach(b=>{if(b===f){m=!1;return}const _=h(b);_&&(p.push(_.key),g.push(_.rawNode))}),m&&(p.push(f),g.push(h(f).rawNode)),a(p,g)}else{const p=h(f);p&&a([f],[p.rawNode])}else if(e.value===f&&e.cancelable)a(null,null);else{const p=h(f);p&&a(f,p.rawNode);const{"onUpdate:show":g,onUpdateShow:m}=t.props;g&&$e(g,!1),m&&$e(m,!1),t.setShow(!1)}Ht(()=>{t.syncPosition()})}ft(We(e,"options"),()=>{Ht(()=>{t.syncPosition()})});const u=F(()=>{const{self:{menuBoxShadow:f}}=r.value;return{"--n-menu-box-shadow":f}}),d=o?Pt("select",void 0,u,t.props):void 0;return{mergedTheme:t.mergedThemeRef,mergedClsPrefix:n,treeMate:i,handleToggle:s,handleMenuMousedown:l,cssVars:o?void 0:u,themeClass:d==null?void 0:d.themeClass,onRender:d==null?void 0:d.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),v(Q_,{clsPrefix:this.mergedClsPrefix,focusable:!0,nodeProps:this.nodeProps,class:[`${this.mergedClsPrefix}-popselect-menu`,this.themeClass],style:this.cssVars,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,multiple:this.multiple,treeMate:this.treeMate,size:this.size,value:this.value,virtualScroll:this.virtualScroll,scrollable:this.scrollable,renderLabel:this.renderLabel,onToggle:this.handleToggle,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseenter,onMousedown:this.handleMenuMousedown,showCheckmark:this.showCheckmark},{header:()=>{var t,n;return((n=(t=this.$slots).header)===null||n===void 0?void 0:n.call(t))||[]},action:()=>{var t,n;return((n=(t=this.$slots).action)===null||n===void 0?void 0:n.call(t))||[]},empty:()=>{var t,n;return((n=(t=this.$slots).empty)===null||n===void 0?void 0:n.call(t))||[]}})}}),RW=Object.assign(Object.assign(Object.assign(Object.assign({},Be.props),ja(Aa,["showArrow","arrow"])),{placement:Object.assign(Object.assign({},Aa.placement),{default:"bottom"}),trigger:{type:String,default:"hover"}}),wm),_m=be({name:"Popselect",props:RW,inheritAttrs:!1,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=st(e),n=Be("Popselect","-popselect",void 0,Cm,e,t),o=W(null);function r(){var s;(s=o.value)===null||s===void 0||s.syncPosition()}function i(s){var l;(l=o.value)===null||l===void 0||l.setShow(s)}return at(A2,{props:e,mergedThemeRef:n,syncPosition:r,setShow:i}),Object.assign(Object.assign({},{syncPosition:r,setShow:i}),{popoverInstRef:o,mergedTheme:n})},render(){const{mergedTheme:e}=this,t={theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:{padding:"0"},ref:"popoverInstRef",internalRenderBody:(n,o,r,i,a)=>{const{$attrs:s}=this;return v(TW,Object.assign({},s,{class:[s.class,n],style:[s.style,...r]},Qn(this.$props,t1),{ref:gw(o),onMouseenter:Es([i,s.onMouseenter]),onMouseleave:Es([a,s.onMouseleave])}),{header:()=>{var l,c;return(c=(l=this.$slots).header)===null||c===void 0?void 0:c.call(l)},action:()=>{var l,c;return(c=(l=this.$slots).action)===null||c===void 0?void 0:c.call(l)},empty:()=>{var l,c;return(c=(l=this.$slots).empty)===null||c===void 0?void 0:c.call(l)}})}};return v(hl,Object.assign({},ja(this.$props,t1),t,{internalDeactivateImmediately:!0}),{trigger:()=>{var n,o;return(o=(n=this.$slots).default)===null||o===void 0?void 0:o.call(n)}})}});function I2(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const EW={name:"Select",common:xt,peers:{InternalSelection:s2,InternalSelectMenu:pm},self:I2},O2=EW,$W={name:"Select",common:je,peers:{InternalSelection:mm,InternalSelectMenu:fl},self:I2},M2=$W,AW=q([z("select",` z-index: auto; outline: none; width: 100%; @@ -1715,15 +1712,15 @@ ${t} `),z("select-menu",` margin: 4px 0; box-shadow: var(--n-menu-box-shadow); - `,[Na({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})])]),HV=Object.assign(Object.assign({},Be.props),{to:Vo.propTo,bordered:{type:Boolean,default:void 0},clearable:Boolean,clearFilterAfterSelect:{type:Boolean,default:!0},options:{type:Array,default:()=>[]},defaultValue:{type:[String,Number,Array],default:null},keyboard:{type:Boolean,default:!0},value:[String,Number,Array],placeholder:String,menuProps:Object,multiple:Boolean,size:String,filterable:Boolean,disabled:{type:Boolean,default:void 0},remote:Boolean,loading:Boolean,filter:Function,placement:{type:String,default:"bottom-start"},widthMode:{type:String,default:"trigger"},tag:Boolean,onCreate:Function,fallbackOption:{type:[Function,Boolean],default:void 0},show:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:!0},maxTagCount:[Number,String],ellipsisTagPopoverProps:Object,consistentMenuWidth:{type:Boolean,default:!0},virtualScroll:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},childrenField:{type:String,default:"children"},renderLabel:Function,renderOption:Function,renderTag:Function,"onUpdate:value":[Function,Array],inputProps:Object,nodeProps:Function,ignoreComposition:{type:Boolean,default:!0},showOnFocus:Boolean,onUpdateValue:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onFocus:[Function,Array],onScroll:[Function,Array],onSearch:[Function,Array],onUpdateShow:[Function,Array],"onUpdate:show":[Function,Array],displayDirective:{type:String,default:"show"},resetMenuOnOptionsChange:{type:Boolean,default:!0},status:String,showCheckmark:{type:Boolean,default:!0},onChange:[Function,Array],items:Array}),Iu=ve({name:"Select",props:HV,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,namespaceRef:o,inlineThemeDisabled:r}=st(e),i=Be("Select","-select",NV,a2,e,t),a=W(e.defaultValue),s=Ve(e,"value"),l=sn(s,a),c=W(!1),u=W(""),d=L(()=>{const{valueField:X,childrenField:ge}=e,$e=L_(X,ge);return wi(R.value,$e)}),f=L(()=>OH(T.value,e.valueField,e.childrenField)),p=W(!1),h=sn(Ve(e,"show"),p),m=W(null),v=W(null),b=W(null),{localeRef:w}=Di("Select"),C=L(()=>{var X;return(X=e.placeholder)!==null&&X!==void 0?X:w.value.placeholder}),S=wu(e,["items","options"]),_=[],x=W([]),y=W([]),k=W(new Map),P=L(()=>{const{fallbackOption:X}=e;if(X===void 0){const{labelField:ge,valueField:$e}=e;return Ke=>({[ge]:String(Ke),[$e]:Ke})}return X===!1?!1:ge=>Object.assign(X(ge),{value:ge})}),T=L(()=>y.value.concat(x.value).concat(S.value)),$=L(()=>{const{filter:X}=e;if(X)return X;const{labelField:ge,valueField:$e}=e;return(Ke,Xe)=>{if(!Xe)return!1;const Ze=Xe[ge];if(typeof Ze=="string")return Vd(Ke,Ze);const tt=Xe[$e];return typeof tt=="string"?Vd(Ke,tt):typeof tt=="number"?Vd(Ke,String(tt)):!1}}),R=L(()=>{if(e.remote)return S.value;{const{value:X}=T,{value:ge}=u;return!ge.length||!e.filterable?X:IH(X,$.value,ge,e.childrenField)}});function K(X){const ge=e.remote,{value:$e}=k,{value:Ke}=f,{value:Xe}=P,Ze=[];return X.forEach(tt=>{if(Ke.has(tt))Ze.push(Ke.get(tt));else if(ge&&$e.has(tt))Ze.push($e.get(tt));else if(Xe){const it=Xe(tt);it&&Ze.push(it)}}),Ze}const j=L(()=>{if(e.multiple){const{value:X}=l;return Array.isArray(X)?K(X):[]}return null}),D=L(()=>{const{value:X}=l;return!e.multiple&&!Array.isArray(X)?X===null?null:K([X])[0]||null:null}),M=fr(e),{mergedSizeRef:Y,mergedDisabledRef:Q,mergedStatusRef:de}=M;function pe(X,ge){const{onChange:$e,"onUpdate:value":Ke,onUpdateValue:Xe}=e,{nTriggerFormChange:Ze,nTriggerFormInput:tt}=M;$e&&Ee($e,X,ge),Xe&&Ee(Xe,X,ge),Ke&&Ee(Ke,X,ge),a.value=X,Ze(),tt()}function B(X){const{onBlur:ge}=e,{nTriggerFormBlur:$e}=M;ge&&Ee(ge,X),$e()}function E(){const{onClear:X}=e;X&&Ee(X)}function A(X){const{onFocus:ge,showOnFocus:$e}=e,{nTriggerFormFocus:Ke}=M;ge&&Ee(ge,X),Ke(),$e&&xe()}function G(X){const{onSearch:ge}=e;ge&&Ee(ge,X)}function oe(X){const{onScroll:ge}=e;ge&&Ee(ge,X)}function fe(){var X;const{remote:ge,multiple:$e}=e;if(ge){const{value:Ke}=k;if($e){const{valueField:Xe}=e;(X=j.value)===null||X===void 0||X.forEach(Ze=>{Ke.set(Ze[Xe],Ze)})}else{const Xe=D.value;Xe&&Ke.set(Xe[e.valueField],Xe)}}}function J(X){const{onUpdateShow:ge,"onUpdate:show":$e}=e;ge&&Ee(ge,X),$e&&Ee($e,X),p.value=X}function xe(){Q.value||(J(!0),p.value=!0,e.filterable&&Fe())}function N(){J(!1)}function be(){u.value="",y.value=_}const Oe=W(!1);function Le(){e.filterable&&(Oe.value=!0)}function F(){e.filterable&&(Oe.value=!1,h.value||be())}function O(){Q.value||(h.value?e.filterable?Fe():N():xe())}function re(X){var ge,$e;!(($e=(ge=b.value)===null||ge===void 0?void 0:ge.selfRef)===null||$e===void 0)&&$e.contains(X.relatedTarget)||(c.value=!1,B(X),N())}function _e(X){A(X),c.value=!0}function ee(X){c.value=!0}function ye(X){var ge;!((ge=m.value)===null||ge===void 0)&&ge.$el.contains(X.relatedTarget)||(c.value=!1,B(X),N())}function Pe(){var X;(X=m.value)===null||X===void 0||X.focus(),N()}function I(X){var ge;h.value&&(!((ge=m.value)===null||ge===void 0)&&ge.$el.contains(ki(X))||N())}function H(X){if(!Array.isArray(X))return[];if(P.value)return Array.from(X);{const{remote:ge}=e,{value:$e}=f;if(ge){const{value:Ke}=k;return X.filter(Xe=>$e.has(Xe)||Ke.has(Xe))}else return X.filter(Ke=>$e.has(Ke))}}function te(X){Ce(X.rawNode)}function Ce(X){if(Q.value)return;const{tag:ge,remote:$e,clearFilterAfterSelect:Ke,valueField:Xe}=e;if(ge&&!$e){const{value:Ze}=y,tt=Ze[0]||null;if(tt){const it=x.value;it.length?it.push(tt):x.value=[tt],y.value=_}}if($e&&k.value.set(X[Xe],X),e.multiple){const Ze=H(l.value),tt=Ze.findIndex(it=>it===X[Xe]);if(~tt){if(Ze.splice(tt,1),ge&&!$e){const it=ae(X[Xe]);~it&&(x.value.splice(it,1),Ke&&(u.value=""))}}else Ze.push(X[Xe]),Ke&&(u.value="");pe(Ze,K(Ze))}else{if(ge&&!$e){const Ze=ae(X[Xe]);~Ze?x.value=[x.value[Ze]]:x.value=_}ke(),N(),pe(X[Xe],X)}}function ae(X){return x.value.findIndex($e=>$e[e.valueField]===X)}function he(X){h.value||xe();const{value:ge}=X.target;u.value=ge;const{tag:$e,remote:Ke}=e;if(G(ge),$e&&!Ke){if(!ge){y.value=_;return}const{onCreate:Xe}=e,Ze=Xe?Xe(ge):{[e.labelField]:ge,[e.valueField]:ge},{valueField:tt,labelField:it}=e;S.value.some(yt=>yt[tt]===Ze[tt]||yt[it]===Ze[it])||x.value.some(yt=>yt[tt]===Ze[tt]||yt[it]===Ze[it])?y.value=_:y.value=[Ze]}}function ne(X){X.stopPropagation();const{multiple:ge}=e;!ge&&e.filterable&&N(),E(),ge?pe([],[]):pe(null,null)}function ue(X){!wo(X,"action")&&!wo(X,"empty")&&X.preventDefault()}function De(X){oe(X)}function Ue(X){var ge,$e,Ke,Xe,Ze;if(!e.keyboard){X.preventDefault();return}switch(X.key){case" ":if(e.filterable)break;X.preventDefault();case"Enter":if(!(!((ge=m.value)===null||ge===void 0)&&ge.isComposing)){if(h.value){const tt=($e=b.value)===null||$e===void 0?void 0:$e.getPendingTmNode();tt?te(tt):e.filterable||(N(),ke())}else if(xe(),e.tag&&Oe.value){const tt=y.value[0];if(tt){const it=tt[e.valueField],{value:yt}=l;e.multiple&&Array.isArray(yt)&&yt.some(on=>on===it)||Ce(tt)}}}X.preventDefault();break;case"ArrowUp":if(X.preventDefault(),e.loading)return;h.value&&((Ke=b.value)===null||Ke===void 0||Ke.prev());break;case"ArrowDown":if(X.preventDefault(),e.loading)return;h.value?(Xe=b.value)===null||Xe===void 0||Xe.next():xe();break;case"Escape":h.value&&(E6(X),N()),(Ze=m.value)===null||Ze===void 0||Ze.focus();break}}function ke(){var X;(X=m.value)===null||X===void 0||X.focus()}function Fe(){var X;(X=m.value)===null||X===void 0||X.focusInput()}function je(){var X;h.value&&((X=v.value)===null||X===void 0||X.syncPosition())}fe(),ft(Ve(e,"options"),fe);const Ae={focus:()=>{var X;(X=m.value)===null||X===void 0||X.focus()},focusInput:()=>{var X;(X=m.value)===null||X===void 0||X.focusInput()},blur:()=>{var X;(X=m.value)===null||X===void 0||X.blur()},blurInput:()=>{var X;(X=m.value)===null||X===void 0||X.blurInput()}},Je=L(()=>{const{self:{menuBoxShadow:X}}=i.value;return{"--n-menu-box-shadow":X}}),xt=r?kt("select",void 0,Je,e):void 0;return Object.assign(Object.assign({},Ae),{mergedStatus:de,mergedClsPrefix:t,mergedBordered:n,namespace:o,treeMate:d,isMounted:Xr(),triggerRef:m,menuRef:b,pattern:u,uncontrolledShow:p,mergedShow:h,adjustedTo:Vo(e),uncontrolledValue:a,mergedValue:l,followerRef:v,localizedPlaceholder:C,selectedOption:D,selectedOptions:j,mergedSize:Y,mergedDisabled:Q,focused:c,activeWithoutMenuOpen:Oe,inlineThemeDisabled:r,onTriggerInputFocus:Le,onTriggerInputBlur:F,handleTriggerOrMenuResize:je,handleMenuFocus:ee,handleMenuBlur:ye,handleMenuTabOut:Pe,handleTriggerClick:O,handleToggle:te,handleDeleteOption:Ce,handlePatternInput:he,handleClear:ne,handleTriggerBlur:re,handleTriggerFocus:_e,handleKeydown:Ue,handleMenuAfterLeave:be,handleMenuClickOutside:I,handleMenuScroll:De,handleMenuKeydown:Ue,handleMenuMousedown:ue,mergedTheme:i,cssVars:r?void 0:Je,themeClass:xt==null?void 0:xt.themeClass,onRender:xt==null?void 0:xt.onRender})},render(){return g("div",{class:`${this.mergedClsPrefix}-select`},g(Ip,null,{default:()=>[g(Op,null,{default:()=>g(vH,{ref:"triggerRef",inlineThemeDisabled:this.inlineThemeDisabled,status:this.mergedStatus,inputProps:this.inputProps,clsPrefix:this.mergedClsPrefix,showArrow:this.showArrow,maxTagCount:this.maxTagCount,ellipsisTagPopoverProps:this.ellipsisTagPopoverProps,bordered:this.mergedBordered,active:this.activeWithoutMenuOpen||this.mergedShow,pattern:this.pattern,placeholder:this.localizedPlaceholder,selectedOption:this.selectedOption,selectedOptions:this.selectedOptions,multiple:this.multiple,renderTag:this.renderTag,renderLabel:this.renderLabel,filterable:this.filterable,clearable:this.clearable,disabled:this.mergedDisabled,size:this.mergedSize,theme:this.mergedTheme.peers.InternalSelection,labelField:this.labelField,valueField:this.valueField,themeOverrides:this.mergedTheme.peerOverrides.InternalSelection,loading:this.loading,focused:this.focused,onClick:this.handleTriggerClick,onDeleteOption:this.handleDeleteOption,onPatternInput:this.handlePatternInput,onClear:this.handleClear,onBlur:this.handleTriggerBlur,onFocus:this.handleTriggerFocus,onKeydown:this.handleKeydown,onPatternBlur:this.onTriggerInputBlur,onPatternFocus:this.onTriggerInputFocus,onResize:this.handleTriggerOrMenuResize,ignoreComposition:this.ignoreComposition},{arrow:()=>{var e,t;return[(t=(e=this.$slots).arrow)===null||t===void 0?void 0:t.call(e)]}})}),g(zp,{ref:"followerRef",show:this.mergedShow,to:this.adjustedTo,teleportDisabled:this.adjustedTo===Vo.tdkey,containerClass:this.namespace,width:this.consistentMenuWidth?"target":void 0,minWidth:"target",placement:this.placement},{default:()=>g(fn,{name:"fade-in-scale-up-transition",appear:this.isMounted,onAfterLeave:this.handleMenuAfterLeave},{default:()=>{var e,t,n;return this.mergedShow||this.displayDirective==="show"?((e=this.onRender)===null||e===void 0||e.call(this),dn(g(P_,Object.assign({},this.menuProps,{ref:"menuRef",onResize:this.handleTriggerOrMenuResize,inlineThemeDisabled:this.inlineThemeDisabled,virtualScroll:this.consistentMenuWidth&&this.virtualScroll,class:[`${this.mergedClsPrefix}-select-menu`,this.themeClass,(t=this.menuProps)===null||t===void 0?void 0:t.class],clsPrefix:this.mergedClsPrefix,focusable:!0,labelField:this.labelField,valueField:this.valueField,autoPending:!0,nodeProps:this.nodeProps,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,treeMate:this.treeMate,multiple:this.multiple,size:"medium",renderOption:this.renderOption,renderLabel:this.renderLabel,value:this.mergedValue,style:[(n=this.menuProps)===null||n===void 0?void 0:n.style,this.cssVars],onToggle:this.handleToggle,onScroll:this.handleMenuScroll,onFocus:this.handleMenuFocus,onBlur:this.handleMenuBlur,onKeydown:this.handleMenuKeydown,onTabOut:this.handleMenuTabOut,onMousedown:this.handleMenuMousedown,show:this.mergedShow,showCheckmark:this.showCheckmark,resetMenuOnOptionsChange:this.resetMenuOnOptionsChange}),{empty:()=>{var o,r;return[(r=(o=this.$slots).empty)===null||r===void 0?void 0:r.call(o)]},header:()=>{var o,r;return[(r=(o=this.$slots).header)===null||r===void 0?void 0:r.call(o)]},action:()=>{var o,r;return[(r=(o=this.$slots).action)===null||r===void 0?void 0:r.call(o)]}}),this.displayDirective==="show"?[[Mn,this.mergedShow],[Sa,this.handleMenuClickOutside,void 0,{capture:!0}]]:[[Sa,this.handleMenuClickOutside,void 0,{capture:!0}]])):null}})})]}))}}),jV={itemPaddingSmall:"0 4px",itemMarginSmall:"0 0 0 8px",itemMarginSmallRtl:"0 8px 0 0",itemPaddingMedium:"0 4px",itemMarginMedium:"0 0 0 8px",itemMarginMediumRtl:"0 8px 0 0",itemPaddingLarge:"0 4px",itemMarginLarge:"0 0 0 8px",itemMarginLargeRtl:"0 8px 0 0",buttonIconSizeSmall:"14px",buttonIconSizeMedium:"16px",buttonIconSizeLarge:"18px",inputWidthSmall:"60px",selectWidthSmall:"unset",inputMarginSmall:"0 0 0 8px",inputMarginSmallRtl:"0 8px 0 0",selectMarginSmall:"0 0 0 8px",prefixMarginSmall:"0 8px 0 0",suffixMarginSmall:"0 0 0 8px",inputWidthMedium:"60px",selectWidthMedium:"unset",inputMarginMedium:"0 0 0 8px",inputMarginMediumRtl:"0 8px 0 0",selectMarginMedium:"0 0 0 8px",prefixMarginMedium:"0 8px 0 0",suffixMarginMedium:"0 0 0 8px",inputWidthLarge:"60px",selectWidthLarge:"unset",inputMarginLarge:"0 0 0 8px",inputMarginLargeRtl:"0 8px 0 0",selectMarginLarge:"0 0 0 8px",prefixMarginLarge:"0 8px 0 0",suffixMarginLarge:"0 0 0 8px"},l2=e=>{const{textColor2:t,primaryColor:n,primaryColorHover:o,primaryColorPressed:r,inputColorDisabled:i,textColorDisabled:a,borderColor:s,borderRadius:l,fontSizeTiny:c,fontSizeSmall:u,fontSizeMedium:d,heightTiny:f,heightSmall:p,heightMedium:h}=e;return Object.assign(Object.assign({},jV),{buttonColor:"#0000",buttonColorHover:"#0000",buttonColorPressed:"#0000",buttonBorder:`1px solid ${s}`,buttonBorderHover:`1px solid ${s}`,buttonBorderPressed:`1px solid ${s}`,buttonIconColor:t,buttonIconColorHover:t,buttonIconColorPressed:t,itemTextColor:t,itemTextColorHover:o,itemTextColorPressed:r,itemTextColorActive:n,itemTextColorDisabled:a,itemColor:"#0000",itemColorHover:"#0000",itemColorPressed:"#0000",itemColorActive:"#0000",itemColorActiveHover:"#0000",itemColorDisabled:i,itemBorder:"1px solid #0000",itemBorderHover:"1px solid #0000",itemBorderPressed:"1px solid #0000",itemBorderActive:`1px solid ${n}`,itemBorderDisabled:`1px solid ${s}`,itemBorderRadius:l,itemSizeSmall:f,itemSizeMedium:p,itemSizeLarge:h,itemFontSizeSmall:c,itemFontSizeMedium:u,itemFontSizeLarge:d,jumperFontSizeSmall:c,jumperFontSizeMedium:u,jumperFontSizeLarge:d,jumperTextColor:t,jumperTextColorDisabled:a})},VV={name:"Pagination",common:bt,peers:{Select:a2,Input:om,Popselect:sm},self:l2},c2=VV,WV={name:"Pagination",common:Ne,peers:{Select:s2,Input:uo,Popselect:o2},self(e){const{primaryColor:t,opacity3:n}=e,o=Me(t,{alpha:Number(n)}),r=l2(e);return r.itemBorderActive=`1px solid ${o}`,r.itemBorderDisabled="1px solid #0000",r}},u2=WV,d2=e=>{var t;if(!e)return 10;const{defaultPageSize:n}=e;if(n!==void 0)return n;const o=(t=e.pageSizes)===null||t===void 0?void 0:t[0];return typeof o=="number"?o:(o==null?void 0:o.value)||10};function UV(e,t,n,o){let r=!1,i=!1,a=1,s=t;if(t===1)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:s,fastBackwardTo:a,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1}]};if(t===2)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:s,fastBackwardTo:a,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1},{type:"page",label:2,active:e===2,mayBeFastBackward:!0,mayBeFastForward:!1}]};const l=1,c=t;let u=e,d=e;const f=(n-5)/2;d+=Math.ceil(f),d=Math.min(Math.max(d,l+n-3),c-2),u-=Math.floor(f),u=Math.max(Math.min(u,c-n+3),l+2);let p=!1,h=!1;u>l+2&&(p=!0),d=l+1&&m.push({type:"page",label:l+1,mayBeFastBackward:!0,mayBeFastForward:!1,active:e===l+1});for(let v=u;v<=d;++v)m.push({type:"page",label:v,mayBeFastBackward:!1,mayBeFastForward:!1,active:e===v});return h?(i=!0,s=d+1,m.push({type:"fast-forward",active:!1,label:void 0,options:o?B0(d+1,c-1):null})):d===c-2&&m[m.length-1].label!==c-1&&m.push({type:"page",mayBeFastForward:!0,mayBeFastBackward:!1,label:c-1,active:e===c-1}),m[m.length-1].label!==c&&m.push({type:"page",mayBeFastForward:!1,mayBeFastBackward:!1,label:c,active:e===c}),{hasFastBackward:r,hasFastForward:i,fastBackwardTo:a,fastForwardTo:s,items:m}}function B0(e,t){const n=[];for(let o=e;o<=t;++o)n.push({label:`${o}`,value:o});return n}const N0=` + `,[qa({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})])]),IW=Object.assign(Object.assign({},Be.props),{to:qo.propTo,bordered:{type:Boolean,default:void 0},clearable:Boolean,clearFilterAfterSelect:{type:Boolean,default:!0},options:{type:Array,default:()=>[]},defaultValue:{type:[String,Number,Array],default:null},keyboard:{type:Boolean,default:!0},value:[String,Number,Array],placeholder:String,menuProps:Object,multiple:Boolean,size:String,filterable:Boolean,disabled:{type:Boolean,default:void 0},remote:Boolean,loading:Boolean,filter:Function,placement:{type:String,default:"bottom-start"},widthMode:{type:String,default:"trigger"},tag:Boolean,onCreate:Function,fallbackOption:{type:[Function,Boolean],default:void 0},show:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:!0},maxTagCount:[Number,String],ellipsisTagPopoverProps:Object,consistentMenuWidth:{type:Boolean,default:!0},virtualScroll:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},childrenField:{type:String,default:"children"},renderLabel:Function,renderOption:Function,renderTag:Function,"onUpdate:value":[Function,Array],inputProps:Object,nodeProps:Function,ignoreComposition:{type:Boolean,default:!0},showOnFocus:Boolean,onUpdateValue:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onFocus:[Function,Array],onScroll:[Function,Array],onSearch:[Function,Array],onUpdateShow:[Function,Array],"onUpdate:show":[Function,Array],displayDirective:{type:String,default:"show"},resetMenuOnOptionsChange:{type:Boolean,default:!0},status:String,showCheckmark:{type:Boolean,default:!0},onChange:[Function,Array],items:Array}),Du=be({name:"Select",props:IW,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,namespaceRef:o,inlineThemeDisabled:r}=st(e),i=Be("Select","-select",AW,O2,e,t),a=W(e.defaultValue),s=We(e,"value"),l=an(s,a),c=W(!1),u=W(""),d=Pu(e,["items","options"]),f=W([]),h=W([]),p=F(()=>h.value.concat(f.value).concat(d.value)),g=F(()=>{const{filter:X}=e;if(X)return X;const{labelField:ve,valueField:Ae}=e;return(Ke,Ze)=>{if(!Ze)return!1;const Je=Ze[ve];if(typeof Je=="string")return ef(Ke,Je);const tt=Ze[Ae];return typeof tt=="string"?ef(Ke,tt):typeof tt=="number"?ef(Ke,String(tt)):!1}}),m=F(()=>{if(e.remote)return d.value;{const{value:X}=p,{value:ve}=u;return!ve.length||!e.filterable?X:_j(X,g.value,ve,e.childrenField)}}),b=F(()=>{const{valueField:X,childrenField:ve}=e,Ae=u2(X,ve);return Pi(m.value,Ae)}),_=F(()=>Sj(p.value,e.valueField,e.childrenField)),C=W(!1),S=an(We(e,"show"),C),w=W(null),x=W(null),y=W(null),{localeRef:P}=Hi("Select"),k=F(()=>{var X;return(X=e.placeholder)!==null&&X!==void 0?X:P.value.placeholder}),T=[],E=W(new Map),R=F(()=>{const{fallbackOption:X}=e;if(X===void 0){const{labelField:ve,valueField:Ae}=e;return Ke=>({[ve]:String(Ke),[Ae]:Ke})}return X===!1?!1:ve=>Object.assign(X(ve),{value:ve})});function K(X){const ve=e.remote,{value:Ae}=E,{value:Ke}=_,{value:Ze}=R,Je=[];return X.forEach(tt=>{if(Ke.has(tt))Je.push(Ke.get(tt));else if(ve&&Ae.has(tt))Je.push(Ae.get(tt));else if(Ze){const rt=Ze(tt);rt&&Je.push(rt)}}),Je}const N=F(()=>{if(e.multiple){const{value:X}=l;return Array.isArray(X)?K(X):[]}return null}),D=F(()=>{const{value:X}=l;return!e.multiple&&!Array.isArray(X)?X===null?null:K([X])[0]||null:null}),M=pr(e),{mergedSizeRef:G,mergedDisabledRef:J,mergedStatusRef:he}=M;function pe(X,ve){const{onChange:Ae,"onUpdate:value":Ke,onUpdateValue:Ze}=e,{nTriggerFormChange:Je,nTriggerFormInput:tt}=M;Ae&&$e(Ae,X,ve),Ze&&$e(Ze,X,ve),Ke&&$e(Ke,X,ve),a.value=X,Je(),tt()}function B(X){const{onBlur:ve}=e,{nTriggerFormBlur:Ae}=M;ve&&$e(ve,X),Ae()}function $(){const{onClear:X}=e;X&&$e(X)}function A(X){const{onFocus:ve,showOnFocus:Ae}=e,{nTriggerFormFocus:Ke}=M;ve&&$e(ve,X),Ke(),Ae&&xe()}function Y(X){const{onSearch:ve}=e;ve&&$e(ve,X)}function ne(X){const{onScroll:ve}=e;ve&&$e(ve,X)}function fe(){var X;const{remote:ve,multiple:Ae}=e;if(ve){const{value:Ke}=E;if(Ae){const{valueField:Ze}=e;(X=N.value)===null||X===void 0||X.forEach(Je=>{Ke.set(Je[Ze],Je)})}else{const Ze=D.value;Ze&&Ke.set(Ze[e.valueField],Ze)}}}function Q(X){const{onUpdateShow:ve,"onUpdate:show":Ae}=e;ve&&$e(ve,X),Ae&&$e(Ae,X),C.value=X}function xe(){J.value||(Q(!0),C.value=!0,e.filterable&&Fe())}function H(){Q(!1)}function ye(){u.value="",h.value=T}const Oe=W(!1);function Ne(){e.filterable&&(Oe.value=!0)}function L(){e.filterable&&(Oe.value=!1,S.value||ye())}function O(){J.value||(S.value?e.filterable?Fe():H():xe())}function oe(X){var ve,Ae;!((Ae=(ve=y.value)===null||ve===void 0?void 0:ve.selfRef)===null||Ae===void 0)&&Ae.contains(X.relatedTarget)||(c.value=!1,B(X),H())}function _e(X){A(X),c.value=!0}function te(){c.value=!0}function ge(X){var ve;!((ve=w.value)===null||ve===void 0)&&ve.$el.contains(X.relatedTarget)||(c.value=!1,B(X),H())}function ke(){var X;(X=w.value)===null||X===void 0||X.focus(),H()}function I(X){var ve;S.value&&(!((ve=w.value)===null||ve===void 0)&&ve.$el.contains(Ai(X))||H())}function j(X){if(!Array.isArray(X))return[];if(R.value)return Array.from(X);{const{remote:ve}=e,{value:Ae}=_;if(ve){const{value:Ke}=E;return X.filter(Ze=>Ae.has(Ze)||Ke.has(Ze))}else return X.filter(Ke=>Ae.has(Ke))}}function ee(X){Ce(X.rawNode)}function Ce(X){if(J.value)return;const{tag:ve,remote:Ae,clearFilterAfterSelect:Ke,valueField:Ze}=e;if(ve&&!Ae){const{value:Je}=h,tt=Je[0]||null;if(tt){const rt=f.value;rt.length?rt.push(tt):f.value=[tt],h.value=T}}if(Ae&&E.value.set(X[Ze],X),e.multiple){const Je=j(l.value),tt=Je.findIndex(rt=>rt===X[Ze]);if(~tt){if(Je.splice(tt,1),ve&&!Ae){const rt=ce(X[Ze]);~rt&&(f.value.splice(rt,1),Ke&&(u.value=""))}}else Je.push(X[Ze]),Ke&&(u.value="");pe(Je,K(Je))}else{if(ve&&!Ae){const Je=ce(X[Ze]);~Je?f.value=[f.value[Je]]:f.value=T}Pe(),H(),pe(X[Ze],X)}}function ce(X){return f.value.findIndex(Ae=>Ae[e.valueField]===X)}function le(X){S.value||xe();const{value:ve}=X.target;u.value=ve;const{tag:Ae,remote:Ke}=e;if(Y(ve),Ae&&!Ke){if(!ve){h.value=T;return}const{onCreate:Ze}=e,Je=Ze?Ze(ve):{[e.labelField]:ve,[e.valueField]:ve},{valueField:tt,labelField:rt}=e;d.value.some(vt=>vt[tt]===Je[tt]||vt[rt]===Je[rt])||f.value.some(vt=>vt[tt]===Je[tt]||vt[rt]===Je[rt])?h.value=T:h.value=[Je]}}function re(X){X.stopPropagation();const{multiple:ve}=e;!ve&&e.filterable&&H(),$(),ve?pe([],[]):pe(null,null)}function de(X){!so(X,"action")&&!so(X,"empty")&&!so(X,"header")&&X.preventDefault()}function De(X){ne(X)}function Le(X){var ve,Ae,Ke,Ze,Je;if(!e.keyboard){X.preventDefault();return}switch(X.key){case" ":if(e.filterable)break;X.preventDefault();case"Enter":if(!(!((ve=w.value)===null||ve===void 0)&&ve.isComposing)){if(S.value){const tt=(Ae=y.value)===null||Ae===void 0?void 0:Ae.getPendingTmNode();tt?ee(tt):e.filterable||(H(),Pe())}else if(xe(),e.tag&&Oe.value){const tt=h.value[0];if(tt){const rt=tt[e.valueField],{value:vt}=l;e.multiple&&Array.isArray(vt)&&vt.includes(rt)||Ce(tt)}}}X.preventDefault();break;case"ArrowUp":if(X.preventDefault(),e.loading)return;S.value&&((Ke=y.value)===null||Ke===void 0||Ke.prev());break;case"ArrowDown":if(X.preventDefault(),e.loading)return;S.value?(Ze=y.value)===null||Ze===void 0||Ze.next():xe();break;case"Escape":S.value&&(y8(X),H()),(Je=w.value)===null||Je===void 0||Je.focus();break}}function Pe(){var X;(X=w.value)===null||X===void 0||X.focus()}function Fe(){var X;(X=w.value)===null||X===void 0||X.focusInput()}function He(){var X;S.value&&((X=x.value)===null||X===void 0||X.syncPosition())}fe(),ft(We(e,"options"),fe);const Ie={focus:()=>{var X;(X=w.value)===null||X===void 0||X.focus()},focusInput:()=>{var X;(X=w.value)===null||X===void 0||X.focusInput()},blur:()=>{var X;(X=w.value)===null||X===void 0||X.blur()},blurInput:()=>{var X;(X=w.value)===null||X===void 0||X.blurInput()}},Qe=F(()=>{const{self:{menuBoxShadow:X}}=i.value;return{"--n-menu-box-shadow":X}}),Ct=r?Pt("select",void 0,Qe,e):void 0;return Object.assign(Object.assign({},Ie),{mergedStatus:he,mergedClsPrefix:t,mergedBordered:n,namespace:o,treeMate:b,isMounted:Qr(),triggerRef:w,menuRef:y,pattern:u,uncontrolledShow:C,mergedShow:S,adjustedTo:qo(e),uncontrolledValue:a,mergedValue:l,followerRef:x,localizedPlaceholder:k,selectedOption:D,selectedOptions:N,mergedSize:G,mergedDisabled:J,focused:c,activeWithoutMenuOpen:Oe,inlineThemeDisabled:r,onTriggerInputFocus:Ne,onTriggerInputBlur:L,handleTriggerOrMenuResize:He,handleMenuFocus:te,handleMenuBlur:ge,handleMenuTabOut:ke,handleTriggerClick:O,handleToggle:ee,handleDeleteOption:Ce,handlePatternInput:le,handleClear:re,handleTriggerBlur:oe,handleTriggerFocus:_e,handleKeydown:Le,handleMenuAfterLeave:ye,handleMenuClickOutside:I,handleMenuScroll:De,handleMenuKeydown:Le,handleMenuMousedown:de,mergedTheme:i,cssVars:r?void 0:Qe,themeClass:Ct==null?void 0:Ct.themeClass,onRender:Ct==null?void 0:Ct.onRender})},render(){return v("div",{class:`${this.mergedClsPrefix}-select`},v(qp,null,{default:()=>[v(Kp,null,{default:()=>v(lj,{ref:"triggerRef",inlineThemeDisabled:this.inlineThemeDisabled,status:this.mergedStatus,inputProps:this.inputProps,clsPrefix:this.mergedClsPrefix,showArrow:this.showArrow,maxTagCount:this.maxTagCount,ellipsisTagPopoverProps:this.ellipsisTagPopoverProps,bordered:this.mergedBordered,active:this.activeWithoutMenuOpen||this.mergedShow,pattern:this.pattern,placeholder:this.localizedPlaceholder,selectedOption:this.selectedOption,selectedOptions:this.selectedOptions,multiple:this.multiple,renderTag:this.renderTag,renderLabel:this.renderLabel,filterable:this.filterable,clearable:this.clearable,disabled:this.mergedDisabled,size:this.mergedSize,theme:this.mergedTheme.peers.InternalSelection,labelField:this.labelField,valueField:this.valueField,themeOverrides:this.mergedTheme.peerOverrides.InternalSelection,loading:this.loading,focused:this.focused,onClick:this.handleTriggerClick,onDeleteOption:this.handleDeleteOption,onPatternInput:this.handlePatternInput,onClear:this.handleClear,onBlur:this.handleTriggerBlur,onFocus:this.handleTriggerFocus,onKeydown:this.handleKeydown,onPatternBlur:this.onTriggerInputBlur,onPatternFocus:this.onTriggerInputFocus,onResize:this.handleTriggerOrMenuResize,ignoreComposition:this.ignoreComposition},{arrow:()=>{var e,t;return[(t=(e=this.$slots).arrow)===null||t===void 0?void 0:t.call(e)]}})}),v(Yp,{ref:"followerRef",show:this.mergedShow,to:this.adjustedTo,teleportDisabled:this.adjustedTo===qo.tdkey,containerClass:this.namespace,width:this.consistentMenuWidth?"target":void 0,minWidth:"target",placement:this.placement},{default:()=>v(fn,{name:"fade-in-scale-up-transition",appear:this.isMounted,onAfterLeave:this.handleMenuAfterLeave},{default:()=>{var e,t,n;return this.mergedShow||this.displayDirective==="show"?((e=this.onRender)===null||e===void 0||e.call(this),dn(v(Q_,Object.assign({},this.menuProps,{ref:"menuRef",onResize:this.handleTriggerOrMenuResize,inlineThemeDisabled:this.inlineThemeDisabled,virtualScroll:this.consistentMenuWidth&&this.virtualScroll,class:[`${this.mergedClsPrefix}-select-menu`,this.themeClass,(t=this.menuProps)===null||t===void 0?void 0:t.class],clsPrefix:this.mergedClsPrefix,focusable:!0,labelField:this.labelField,valueField:this.valueField,autoPending:!0,nodeProps:this.nodeProps,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,treeMate:this.treeMate,multiple:this.multiple,size:"medium",renderOption:this.renderOption,renderLabel:this.renderLabel,value:this.mergedValue,style:[(n=this.menuProps)===null||n===void 0?void 0:n.style,this.cssVars],onToggle:this.handleToggle,onScroll:this.handleMenuScroll,onFocus:this.handleMenuFocus,onBlur:this.handleMenuBlur,onKeydown:this.handleMenuKeydown,onTabOut:this.handleMenuTabOut,onMousedown:this.handleMenuMousedown,show:this.mergedShow,showCheckmark:this.showCheckmark,resetMenuOnOptionsChange:this.resetMenuOnOptionsChange}),{empty:()=>{var o,r;return[(r=(o=this.$slots).empty)===null||r===void 0?void 0:r.call(o)]},header:()=>{var o,r;return[(r=(o=this.$slots).header)===null||r===void 0?void 0:r.call(o)]},action:()=>{var o,r;return[(r=(o=this.$slots).action)===null||r===void 0?void 0:r.call(o)]}}),this.displayDirective==="show"?[[Mn,this.mergedShow],[Ea,this.handleMenuClickOutside,void 0,{capture:!0}]]:[[Ea,this.handleMenuClickOutside,void 0,{capture:!0}]])):null}})})]}))}}),OW={itemPaddingSmall:"0 4px",itemMarginSmall:"0 0 0 8px",itemMarginSmallRtl:"0 8px 0 0",itemPaddingMedium:"0 4px",itemMarginMedium:"0 0 0 8px",itemMarginMediumRtl:"0 8px 0 0",itemPaddingLarge:"0 4px",itemMarginLarge:"0 0 0 8px",itemMarginLargeRtl:"0 8px 0 0",buttonIconSizeSmall:"14px",buttonIconSizeMedium:"16px",buttonIconSizeLarge:"18px",inputWidthSmall:"60px",selectWidthSmall:"unset",inputMarginSmall:"0 0 0 8px",inputMarginSmallRtl:"0 8px 0 0",selectMarginSmall:"0 0 0 8px",prefixMarginSmall:"0 8px 0 0",suffixMarginSmall:"0 0 0 8px",inputWidthMedium:"60px",selectWidthMedium:"unset",inputMarginMedium:"0 0 0 8px",inputMarginMediumRtl:"0 8px 0 0",selectMarginMedium:"0 0 0 8px",prefixMarginMedium:"0 8px 0 0",suffixMarginMedium:"0 0 0 8px",inputWidthLarge:"60px",selectWidthLarge:"unset",inputMarginLarge:"0 0 0 8px",inputMarginLargeRtl:"0 8px 0 0",selectMarginLarge:"0 0 0 8px",prefixMarginLarge:"0 8px 0 0",suffixMarginLarge:"0 0 0 8px"};function z2(e){const{textColor2:t,primaryColor:n,primaryColorHover:o,primaryColorPressed:r,inputColorDisabled:i,textColorDisabled:a,borderColor:s,borderRadius:l,fontSizeTiny:c,fontSizeSmall:u,fontSizeMedium:d,heightTiny:f,heightSmall:h,heightMedium:p}=e;return Object.assign(Object.assign({},OW),{buttonColor:"#0000",buttonColorHover:"#0000",buttonColorPressed:"#0000",buttonBorder:`1px solid ${s}`,buttonBorderHover:`1px solid ${s}`,buttonBorderPressed:`1px solid ${s}`,buttonIconColor:t,buttonIconColorHover:t,buttonIconColorPressed:t,itemTextColor:t,itemTextColorHover:o,itemTextColorPressed:r,itemTextColorActive:n,itemTextColorDisabled:a,itemColor:"#0000",itemColorHover:"#0000",itemColorPressed:"#0000",itemColorActive:"#0000",itemColorActiveHover:"#0000",itemColorDisabled:i,itemBorder:"1px solid #0000",itemBorderHover:"1px solid #0000",itemBorderPressed:"1px solid #0000",itemBorderActive:`1px solid ${n}`,itemBorderDisabled:`1px solid ${s}`,itemBorderRadius:l,itemSizeSmall:f,itemSizeMedium:h,itemSizeLarge:p,itemFontSizeSmall:c,itemFontSizeMedium:u,itemFontSizeLarge:d,jumperFontSizeSmall:c,jumperFontSizeMedium:u,jumperFontSizeLarge:d,jumperTextColor:t,jumperTextColorDisabled:a})}const MW={name:"Pagination",common:xt,peers:{Select:O2,Input:vm,Popselect:Cm},self:z2},D2=MW,zW={name:"Pagination",common:je,peers:{Select:M2,Input:mo,Popselect:$2},self(e){const{primaryColor:t,opacity3:n}=e,o=Me(t,{alpha:Number(n)}),r=z2(e);return r.itemBorderActive=`1px solid ${o}`,r.itemBorderDisabled="1px solid #0000",r}},L2=zW,n1=` background: var(--n-item-color-hover); color: var(--n-item-text-color-hover); border: var(--n-item-border-hover); -`,H0=[Z("button",` +`,o1=[Z("button",` background: var(--n-button-color-hover); border: var(--n-button-border-hover); color: var(--n-button-icon-color-hover); - `)],qV=z("pagination",` + `)],DW=z("pagination",` display: flex; vertical-align: middle; font-size: var(--n-item-font-size); @@ -1779,7 +1776,7 @@ ${t} padding: 0; `,[z("base-icon",` font-size: var(--n-button-icon-size); - `)]),Tt("disabled",[Z("hover",N0,H0),q("&:hover",N0,H0),q("&:active",` + `)]),Rt("disabled",[Z("hover",n1,o1),q("&:hover",n1,o1),q("&:active",` background: var(--n-item-color-pressed); color: var(--n-item-text-color-pressed); border: var(--n-item-border-pressed); @@ -1809,7 +1806,7 @@ ${t} flex-wrap: nowrap; `,[z("pagination-quick-jumper",[z("input",` margin: 0; - `)])])]),KV=Object.assign(Object.assign({},Be.props),{simple:Boolean,page:Number,defaultPage:{type:Number,default:1},itemCount:Number,pageCount:Number,defaultPageCount:{type:Number,default:1},showSizePicker:Boolean,pageSize:Number,defaultPageSize:Number,pageSizes:{type:Array,default(){return[10]}},showQuickJumper:Boolean,size:{type:String,default:"medium"},disabled:Boolean,pageSlot:{type:Number,default:9},selectProps:Object,prev:Function,next:Function,goto:Function,prefix:Function,suffix:Function,label:Function,displayOrder:{type:Array,default:["pages","size-picker","quick-jumper"]},to:Vo.propTo,showQuickJumpDropdown:{type:Boolean,default:!0},"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],onPageSizeChange:[Function,Array],onChange:[Function,Array]}),GV=ve({name:"Pagination",props:KV,setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=Be("Pagination","-pagination",qV,c2,e,n),{localeRef:a}=Di("Pagination"),s=W(null),l=W(e.defaultPage),c=W(d2(e)),u=sn(Ve(e,"page"),l),d=sn(Ve(e,"pageSize"),c),f=L(()=>{const{itemCount:N}=e;if(N!==void 0)return Math.max(1,Math.ceil(N/d.value));const{pageCount:be}=e;return be!==void 0?Math.max(be,1):1}),p=W("");Xt(()=>{e.simple,p.value=String(u.value)});const h=W(!1),m=W(!1),v=W(!1),b=W(!1),w=()=>{e.disabled||(h.value=!0,D())},C=()=>{e.disabled||(h.value=!1,D())},S=()=>{m.value=!0,D()},_=()=>{m.value=!1,D()},x=N=>{M(N)},y=L(()=>UV(u.value,f.value,e.pageSlot,e.showQuickJumpDropdown));Xt(()=>{y.value.hasFastBackward?y.value.hasFastForward||(h.value=!1,v.value=!1):(m.value=!1,b.value=!1)});const k=L(()=>{const N=a.value.selectionSuffix;return e.pageSizes.map(be=>typeof be=="number"?{label:`${be} / ${N}`,value:be}:be)}),P=L(()=>{var N,be;return((be=(N=t==null?void 0:t.value)===null||N===void 0?void 0:N.Pagination)===null||be===void 0?void 0:be.inputSize)||tb(e.size)}),T=L(()=>{var N,be;return((be=(N=t==null?void 0:t.value)===null||N===void 0?void 0:N.Pagination)===null||be===void 0?void 0:be.selectSize)||tb(e.size)}),$=L(()=>(u.value-1)*d.value),R=L(()=>{const N=u.value*d.value-1,{itemCount:be}=e;return be!==void 0&&N>be-1?be-1:N}),K=L(()=>{const{itemCount:N}=e;return N!==void 0?N:(e.pageCount||1)*d.value}),j=pn("Pagination",r,n),D=()=>{Ht(()=>{var N;const{value:be}=s;be&&(be.classList.add("transition-disabled"),(N=s.value)===null||N===void 0||N.offsetWidth,be.classList.remove("transition-disabled"))})};function M(N){if(N===u.value)return;const{"onUpdate:page":be,onUpdatePage:Oe,onChange:Le,simple:F}=e;be&&Ee(be,N),Oe&&Ee(Oe,N),Le&&Ee(Le,N),l.value=N,F&&(p.value=String(N))}function Y(N){if(N===d.value)return;const{"onUpdate:pageSize":be,onUpdatePageSize:Oe,onPageSizeChange:Le}=e;be&&Ee(be,N),Oe&&Ee(Oe,N),Le&&Ee(Le,N),c.value=N,f.value{u.value,d.value,D()});const J=L(()=>{const{size:N}=e,{self:{buttonBorder:be,buttonBorderHover:Oe,buttonBorderPressed:Le,buttonIconColor:F,buttonIconColorHover:O,buttonIconColorPressed:re,itemTextColor:_e,itemTextColorHover:ee,itemTextColorPressed:ye,itemTextColorActive:Pe,itemTextColorDisabled:I,itemColor:H,itemColorHover:te,itemColorPressed:Ce,itemColorActive:ae,itemColorActiveHover:he,itemColorDisabled:ne,itemBorder:ue,itemBorderHover:De,itemBorderPressed:Ue,itemBorderActive:ke,itemBorderDisabled:Fe,itemBorderRadius:je,jumperTextColor:Ae,jumperTextColorDisabled:Je,buttonColor:xt,buttonColorHover:X,buttonColorPressed:ge,[Te("itemPadding",N)]:$e,[Te("itemMargin",N)]:Ke,[Te("inputWidth",N)]:Xe,[Te("selectWidth",N)]:Ze,[Te("inputMargin",N)]:tt,[Te("selectMargin",N)]:it,[Te("jumperFontSize",N)]:yt,[Te("prefixMargin",N)]:on,[Te("suffixMargin",N)]:Dt,[Te("itemSize",N)]:Se,[Te("buttonIconSize",N)]:He,[Te("itemFontSize",N)]:Qe,[`${Te("itemMargin",N)}Rtl`]:ht,[`${Te("inputMargin",N)}Rtl`]:gt},common:{cubicBezierEaseInOut:ut}}=i.value;return{"--n-prefix-margin":on,"--n-suffix-margin":Dt,"--n-item-font-size":Qe,"--n-select-width":Ze,"--n-select-margin":it,"--n-input-width":Xe,"--n-input-margin":tt,"--n-input-margin-rtl":gt,"--n-item-size":Se,"--n-item-text-color":_e,"--n-item-text-color-disabled":I,"--n-item-text-color-hover":ee,"--n-item-text-color-active":Pe,"--n-item-text-color-pressed":ye,"--n-item-color":H,"--n-item-color-hover":te,"--n-item-color-disabled":ne,"--n-item-color-active":ae,"--n-item-color-active-hover":he,"--n-item-color-pressed":Ce,"--n-item-border":ue,"--n-item-border-hover":De,"--n-item-border-disabled":Fe,"--n-item-border-active":ke,"--n-item-border-pressed":Ue,"--n-item-padding":$e,"--n-item-border-radius":je,"--n-bezier":ut,"--n-jumper-font-size":yt,"--n-jumper-text-color":Ae,"--n-jumper-text-color-disabled":Je,"--n-item-margin":Ke,"--n-item-margin-rtl":ht,"--n-button-icon-size":He,"--n-button-icon-color":F,"--n-button-icon-color-hover":O,"--n-button-icon-color-pressed":re,"--n-button-color-hover":X,"--n-button-color":xt,"--n-button-color-pressed":ge,"--n-button-border":be,"--n-button-border-hover":Oe,"--n-button-border-pressed":Le}}),xe=o?kt("pagination",L(()=>{let N="";const{size:be}=e;return N+=be[0],N}),J,e):void 0;return{rtlEnabled:j,mergedClsPrefix:n,locale:a,selfRef:s,mergedPage:u,pageItems:L(()=>y.value.items),mergedItemCount:K,jumperValue:p,pageSizeOptions:k,mergedPageSize:d,inputSize:P,selectSize:T,mergedTheme:i,mergedPageCount:f,startIndex:$,endIndex:R,showFastForwardMenu:v,showFastBackwardMenu:b,fastForwardActive:h,fastBackwardActive:m,handleMenuSelect:x,handleFastForwardMouseenter:w,handleFastForwardMouseleave:C,handleFastBackwardMouseenter:S,handleFastBackwardMouseleave:_,handleJumperInput:fe,handleBackwardClick:de,handleForwardClick:Q,handlePageItemClick:oe,handleSizePickerChange:E,handleQuickJumperChange:G,cssVars:o?void 0:J,themeClass:xe==null?void 0:xe.themeClass,onRender:xe==null?void 0:xe.onRender}},render(){const{$slots:e,mergedClsPrefix:t,disabled:n,cssVars:o,mergedPage:r,mergedPageCount:i,pageItems:a,showSizePicker:s,showQuickJumper:l,mergedTheme:c,locale:u,inputSize:d,selectSize:f,mergedPageSize:p,pageSizeOptions:h,jumperValue:m,simple:v,prev:b,next:w,prefix:C,suffix:S,label:_,goto:x,handleJumperInput:y,handleSizePickerChange:k,handleBackwardClick:P,handlePageItemClick:T,handleForwardClick:$,handleQuickJumperChange:R,onRender:K}=this;K==null||K();const j=e.prefix||C,D=e.suffix||S,M=b||e.prev,Y=w||e.next,Q=_||e.label;return g("div",{ref:"selfRef",class:[`${t}-pagination`,this.themeClass,this.rtlEnabled&&`${t}-pagination--rtl`,n&&`${t}-pagination--disabled`,v&&`${t}-pagination--simple`],style:o},j?g("div",{class:`${t}-pagination-prefix`},j({page:r,pageSize:p,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null,this.displayOrder.map(de=>{switch(de){case"pages":return g(rt,null,g("div",{class:[`${t}-pagination-item`,!M&&`${t}-pagination-item--button`,(r<=1||r>i||n)&&`${t}-pagination-item--disabled`],onClick:P},M?M({page:r,pageSize:p,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount}):g(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?g(w0,null):g(y0,null)})),v?g(rt,null,g("div",{class:`${t}-pagination-quick-jumper`},g(lr,{value:m,onUpdateValue:y,size:d,placeholder:"",disabled:n,theme:c.peers.Input,themeOverrides:c.peerOverrides.Input,onChange:R}))," / ",i):a.map((pe,B)=>{let E,A,G;const{type:oe}=pe;switch(oe){case"page":const J=pe.label;Q?E=Q({type:"page",node:J,active:pe.active}):E=J;break;case"fast-forward":const xe=this.fastForwardActive?g(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?g(x0,null):g(C0,null)}):g(Ut,{clsPrefix:t},{default:()=>g(_0,null)});Q?E=Q({type:"fast-forward",node:xe,active:this.fastForwardActive||this.showFastForwardMenu}):E=xe,A=this.handleFastForwardMouseenter,G=this.handleFastForwardMouseleave;break;case"fast-backward":const N=this.fastBackwardActive?g(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?g(C0,null):g(x0,null)}):g(Ut,{clsPrefix:t},{default:()=>g(_0,null)});Q?E=Q({type:"fast-backward",node:N,active:this.fastBackwardActive||this.showFastBackwardMenu}):E=N,A=this.handleFastBackwardMouseenter,G=this.handleFastBackwardMouseleave;break}const fe=g("div",{key:B,class:[`${t}-pagination-item`,pe.active&&`${t}-pagination-item--active`,oe!=="page"&&(oe==="fast-backward"&&this.showFastBackwardMenu||oe==="fast-forward"&&this.showFastForwardMenu)&&`${t}-pagination-item--hover`,n&&`${t}-pagination-item--disabled`,oe==="page"&&`${t}-pagination-item--clickable`],onClick:()=>{T(pe)},onMouseenter:A,onMouseleave:G},E);if(oe==="page"&&!pe.mayBeFastBackward&&!pe.mayBeFastForward)return fe;{const J=pe.type==="page"?pe.mayBeFastBackward?"fast-backward":"fast-forward":pe.type;return pe.type!=="page"&&!pe.options?fe:g(cm,{to:this.to,key:J,disabled:n,trigger:"hover",virtualScroll:!0,style:{width:"60px"},theme:c.peers.Popselect,themeOverrides:c.peerOverrides.Popselect,builtinThemeOverrides:{peers:{InternalSelectMenu:{height:"calc(var(--n-option-height) * 4.6)"}}},nodeProps:()=>({style:{justifyContent:"center"}}),show:oe==="page"?!1:oe==="fast-backward"?this.showFastBackwardMenu:this.showFastForwardMenu,onUpdateShow:xe=>{oe!=="page"&&(xe?oe==="fast-backward"?this.showFastBackwardMenu=xe:this.showFastForwardMenu=xe:(this.showFastBackwardMenu=!1,this.showFastForwardMenu=!1))},options:pe.type!=="page"&&pe.options?pe.options:[],onUpdateValue:this.handleMenuSelect,scrollable:!0,showCheckmark:!1},{default:()=>fe})}}),g("div",{class:[`${t}-pagination-item`,!Y&&`${t}-pagination-item--button`,{[`${t}-pagination-item--disabled`]:r<1||r>=i||n}],onClick:$},Y?Y({page:r,pageSize:p,pageCount:i,itemCount:this.mergedItemCount,startIndex:this.startIndex,endIndex:this.endIndex}):g(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?g(y0,null):g(w0,null)})));case"size-picker":return!v&&s?g(Iu,Object.assign({consistentMenuWidth:!1,placeholder:"",showCheckmark:!1,to:this.to},this.selectProps,{size:f,options:h,value:p,disabled:n,theme:c.peers.Select,themeOverrides:c.peerOverrides.Select,onUpdateValue:k})):null;case"quick-jumper":return!v&&l?g("div",{class:`${t}-pagination-quick-jumper`},x?x():An(this.$slots.goto,()=>[u.goto]),g(lr,{value:m,onUpdateValue:y,size:d,placeholder:"",disabled:n,theme:c.peers.Input,themeOverrides:c.peerOverrides.Input,onChange:R})):null;default:return null}}),D?g("div",{class:`${t}-pagination-suffix`},D({page:r,pageSize:p,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null)}}),f2={padding:"8px 14px"},YV={name:"Tooltip",common:Ne,peers:{Popover:Wi},self(e){const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:r}=e;return Object.assign(Object.assign({},f2),{borderRadius:t,boxShadow:n,color:o,textColor:r})}},Ou=YV,XV=e=>{const{borderRadius:t,boxShadow2:n,baseColor:o}=e;return Object.assign(Object.assign({},f2),{borderRadius:t,boxShadow:n,color:et(o,"rgba(0, 0, 0, .85)"),textColor:o})},ZV={name:"Tooltip",common:bt,peers:{Popover:Ha},self:XV},um=ZV,JV={name:"Ellipsis",common:Ne,peers:{Tooltip:Ou}},h2=JV,QV={name:"Ellipsis",common:bt,peers:{Tooltip:um}},p2=QV,m2={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},eW={name:"Radio",common:Ne,self(e){const{borderColor:t,primaryColor:n,baseColor:o,textColorDisabled:r,inputColorDisabled:i,textColor2:a,opacityDisabled:s,borderRadius:l,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,heightSmall:f,heightMedium:p,heightLarge:h,lineHeight:m}=e;return Object.assign(Object.assign({},m2),{labelLineHeight:m,buttonHeightSmall:f,buttonHeightMedium:p,buttonHeightLarge:h,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${n}`,boxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Me(n,{alpha:.3})}`,boxShadowHover:`inset 0 0 0 1px ${n}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:"#0000",colorDisabled:i,colorActive:"#0000",textColor:a,textColorDisabled:r,dotColorActive:n,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:n,buttonBorderColorHover:n,buttonColor:"#0000",buttonColorActive:n,buttonTextColor:a,buttonTextColorActive:o,buttonTextColorHover:n,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Me(n,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${n}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})}},g2=eW,tW=e=>{const{borderColor:t,primaryColor:n,baseColor:o,textColorDisabled:r,inputColorDisabled:i,textColor2:a,opacityDisabled:s,borderRadius:l,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,heightSmall:f,heightMedium:p,heightLarge:h,lineHeight:m}=e;return Object.assign(Object.assign({},m2),{labelLineHeight:m,buttonHeightSmall:f,buttonHeightMedium:p,buttonHeightLarge:h,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${n}`,boxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Me(n,{alpha:.2})}`,boxShadowHover:`inset 0 0 0 1px ${n}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:o,colorDisabled:i,colorActive:"#0000",textColor:a,textColorDisabled:r,dotColorActive:n,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:n,buttonBorderColorHover:t,buttonColor:o,buttonColorActive:o,buttonTextColor:a,buttonTextColorActive:n,buttonTextColorHover:n,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Me(n,{alpha:.3})}`,buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})},nW={name:"Radio",common:bt,self:tW},dm=nW,oW={padding:"4px 0",optionIconSizeSmall:"14px",optionIconSizeMedium:"16px",optionIconSizeLarge:"16px",optionIconSizeHuge:"18px",optionSuffixWidthSmall:"14px",optionSuffixWidthMedium:"14px",optionSuffixWidthLarge:"16px",optionSuffixWidthHuge:"16px",optionIconSuffixWidthSmall:"32px",optionIconSuffixWidthMedium:"32px",optionIconSuffixWidthLarge:"36px",optionIconSuffixWidthHuge:"36px",optionPrefixWidthSmall:"14px",optionPrefixWidthMedium:"14px",optionPrefixWidthLarge:"16px",optionPrefixWidthHuge:"16px",optionIconPrefixWidthSmall:"36px",optionIconPrefixWidthMedium:"36px",optionIconPrefixWidthLarge:"40px",optionIconPrefixWidthHuge:"40px"},v2=e=>{const{primaryColor:t,textColor2:n,dividerColor:o,hoverColor:r,popoverColor:i,invertedColor:a,borderRadius:s,fontSizeSmall:l,fontSizeMedium:c,fontSizeLarge:u,fontSizeHuge:d,heightSmall:f,heightMedium:p,heightLarge:h,heightHuge:m,textColor3:v,opacityDisabled:b}=e;return Object.assign(Object.assign({},oW),{optionHeightSmall:f,optionHeightMedium:p,optionHeightLarge:h,optionHeightHuge:m,borderRadius:s,fontSizeSmall:l,fontSizeMedium:c,fontSizeLarge:u,fontSizeHuge:d,optionTextColor:n,optionTextColorHover:n,optionTextColorActive:t,optionTextColorChildActive:t,color:i,dividerColor:o,suffixColor:n,prefixColor:n,optionColorHover:r,optionColorActive:Me(t,{alpha:.1}),groupHeaderTextColor:v,optionTextColorInverted:"#BBB",optionTextColorHoverInverted:"#FFF",optionTextColorActiveInverted:"#FFF",optionTextColorChildActiveInverted:"#FFF",colorInverted:a,dividerColorInverted:"#BBB",suffixColorInverted:"#BBB",prefixColorInverted:"#BBB",optionColorHoverInverted:t,optionColorActiveInverted:t,groupHeaderTextColorInverted:"#AAA",optionOpacityDisabled:b})},rW={name:"Dropdown",common:bt,peers:{Popover:Ha},self:v2},fm=rW,iW={name:"Dropdown",common:Ne,peers:{Popover:Wi},self(e){const{primaryColorSuppl:t,primaryColor:n,popoverColor:o}=e,r=v2(e);return r.colorInverted=o,r.optionColorActive=Me(n,{alpha:.15}),r.optionColorActiveInverted=t,r.optionColorHoverInverted=t,r}},hm=iW,aW={thPaddingSmall:"8px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"8px",tdPaddingMedium:"12px",tdPaddingLarge:"12px",sorterSize:"15px",resizableContainerSize:"8px",resizableSize:"2px",filterSize:"15px",paginationMargin:"12px 0 0 0",emptyPadding:"48px 0",actionPadding:"8px 12px",actionButtonMargin:"0 8px 0 0"},b2=e=>{const{cardColor:t,modalColor:n,popoverColor:o,textColor2:r,textColor1:i,tableHeaderColor:a,tableColorHover:s,iconColor:l,primaryColor:c,fontWeightStrong:u,borderRadius:d,lineHeight:f,fontSizeSmall:p,fontSizeMedium:h,fontSizeLarge:m,dividerColor:v,heightSmall:b,opacityDisabled:w,tableColorStriped:C}=e;return Object.assign(Object.assign({},aW),{actionDividerColor:v,lineHeight:f,borderRadius:d,fontSizeSmall:p,fontSizeMedium:h,fontSizeLarge:m,borderColor:et(t,v),tdColorHover:et(t,s),tdColorStriped:et(t,C),thColor:et(t,a),thColorHover:et(et(t,a),s),tdColor:t,tdTextColor:r,thTextColor:i,thFontWeight:u,thButtonColorHover:s,thIconColor:l,thIconColorActive:c,borderColorModal:et(n,v),tdColorHoverModal:et(n,s),tdColorStripedModal:et(n,C),thColorModal:et(n,a),thColorHoverModal:et(et(n,a),s),tdColorModal:n,borderColorPopover:et(o,v),tdColorHoverPopover:et(o,s),tdColorStripedPopover:et(o,C),thColorPopover:et(o,a),thColorHoverPopover:et(et(o,a),s),tdColorPopover:o,boxShadowBefore:"inset -12px 0 8px -12px rgba(0, 0, 0, .18)",boxShadowAfter:"inset 12px 0 8px -12px rgba(0, 0, 0, .18)",loadingColor:c,loadingSize:b,opacityLoading:w})},sW={name:"DataTable",common:bt,peers:{Button:Au,Checkbox:Q_,Radio:dm,Pagination:c2,Scrollbar:Vi,Empty:$u,Popover:Ha,Ellipsis:p2,Dropdown:fm},self:b2},lW=sW,cW={name:"DataTable",common:Ne,peers:{Button:Wn,Checkbox:ja,Radio:g2,Pagination:u2,Scrollbar:Vn,Empty:ji,Popover:Wi,Ellipsis:h2,Dropdown:hm},self(e){const t=b2(e);return t.boxShadowAfter="inset 12px 0 8px -12px rgba(0, 0, 0, .36)",t.boxShadowBefore="inset -12px 0 8px -12px rgba(0, 0, 0, .36)",t}},uW=cW,dW=Object.assign(Object.assign({},Pa),Be.props),Mu=ve({name:"Tooltip",props:dW,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=st(e),n=Be("Tooltip","-tooltip",void 0,um,e,t),o=W(null);return Object.assign(Object.assign({},{syncPosition(){o.value.syncPosition()},setShow(i){o.value.setShow(i)}}),{popoverRef:o,mergedTheme:n,popoverThemeOverrides:L(()=>n.value.self)})},render(){const{mergedTheme:e,internalExtraClass:t}=this;return g(dl,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:t.concat("tooltip"),ref:"popoverRef"}),this.$slots)}}),y2=z("ellipsis",{overflow:"hidden"},[Tt("line-clamp",` + `)])])]);function F2(e){var t;if(!e)return 10;const{defaultPageSize:n}=e;if(n!==void 0)return n;const o=(t=e.pageSizes)===null||t===void 0?void 0:t[0];return typeof o=="number"?o:(o==null?void 0:o.value)||10}function LW(e,t,n,o){let r=!1,i=!1,a=1,s=t;if(t===1)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:s,fastBackwardTo:a,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1}]};if(t===2)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:s,fastBackwardTo:a,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1},{type:"page",label:2,active:e===2,mayBeFastBackward:!0,mayBeFastForward:!1}]};const l=1,c=t;let u=e,d=e;const f=(n-5)/2;d+=Math.ceil(f),d=Math.min(Math.max(d,l+n-3),c-2),u-=Math.floor(f),u=Math.max(Math.min(u,c-n+3),l+2);let h=!1,p=!1;u>l+2&&(h=!0),d=l+1&&g.push({type:"page",label:l+1,mayBeFastBackward:!0,mayBeFastForward:!1,active:e===l+1});for(let m=u;m<=d;++m)g.push({type:"page",label:m,mayBeFastBackward:!1,mayBeFastForward:!1,active:e===m});return p?(i=!0,s=d+1,g.push({type:"fast-forward",active:!1,label:void 0,options:o?r1(d+1,c-1):null})):d===c-2&&g[g.length-1].label!==c-1&&g.push({type:"page",mayBeFastForward:!0,mayBeFastBackward:!1,label:c-1,active:e===c-1}),g[g.length-1].label!==c&&g.push({type:"page",mayBeFastForward:!1,mayBeFastBackward:!1,label:c,active:e===c}),{hasFastBackward:r,hasFastForward:i,fastBackwardTo:a,fastForwardTo:s,items:g}}function r1(e,t){const n=[];for(let o=e;o<=t;++o)n.push({label:`${o}`,value:o});return n}const FW=Object.assign(Object.assign({},Be.props),{simple:Boolean,page:Number,defaultPage:{type:Number,default:1},itemCount:Number,pageCount:Number,defaultPageCount:{type:Number,default:1},showSizePicker:Boolean,pageSize:Number,defaultPageSize:Number,pageSizes:{type:Array,default(){return[10]}},showQuickJumper:Boolean,size:{type:String,default:"medium"},disabled:Boolean,pageSlot:{type:Number,default:9},selectProps:Object,prev:Function,next:Function,goto:Function,prefix:Function,suffix:Function,label:Function,displayOrder:{type:Array,default:["pages","size-picker","quick-jumper"]},to:qo.propTo,showQuickJumpDropdown:{type:Boolean,default:!0},"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],onPageSizeChange:[Function,Array],onChange:[Function,Array]}),BW=be({name:"Pagination",props:FW,setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=Be("Pagination","-pagination",DW,D2,e,n),{localeRef:a}=Hi("Pagination"),s=W(null),l=W(e.defaultPage),c=W(F2(e)),u=an(We(e,"page"),l),d=an(We(e,"pageSize"),c),f=F(()=>{const{itemCount:H}=e;if(H!==void 0)return Math.max(1,Math.ceil(H/d.value));const{pageCount:ye}=e;return ye!==void 0?Math.max(ye,1):1}),h=W("");Xt(()=>{e.simple,h.value=String(u.value)});const p=W(!1),g=W(!1),m=W(!1),b=W(!1),_=()=>{e.disabled||(p.value=!0,D())},C=()=>{e.disabled||(p.value=!1,D())},S=()=>{g.value=!0,D()},w=()=>{g.value=!1,D()},x=H=>{M(H)},y=F(()=>LW(u.value,f.value,e.pageSlot,e.showQuickJumpDropdown));Xt(()=>{y.value.hasFastBackward?y.value.hasFastForward||(p.value=!1,m.value=!1):(g.value=!1,b.value=!1)});const P=F(()=>{const H=a.value.selectionSuffix;return e.pageSizes.map(ye=>typeof ye=="number"?{label:`${ye} / ${H}`,value:ye}:ye)}),k=F(()=>{var H,ye;return((ye=(H=t==null?void 0:t.value)===null||H===void 0?void 0:H.Pagination)===null||ye===void 0?void 0:ye.inputSize)||bb(e.size)}),T=F(()=>{var H,ye;return((ye=(H=t==null?void 0:t.value)===null||H===void 0?void 0:H.Pagination)===null||ye===void 0?void 0:ye.selectSize)||bb(e.size)}),E=F(()=>(u.value-1)*d.value),R=F(()=>{const H=u.value*d.value-1,{itemCount:ye}=e;return ye!==void 0&&H>ye-1?ye-1:H}),K=F(()=>{const{itemCount:H}=e;return H!==void 0?H:(e.pageCount||1)*d.value}),N=pn("Pagination",r,n);function D(){Ht(()=>{var H;const{value:ye}=s;ye&&(ye.classList.add("transition-disabled"),(H=s.value)===null||H===void 0||H.offsetWidth,ye.classList.remove("transition-disabled"))})}function M(H){if(H===u.value)return;const{"onUpdate:page":ye,onUpdatePage:Oe,onChange:Ne,simple:L}=e;ye&&$e(ye,H),Oe&&$e(Oe,H),Ne&&$e(Ne,H),l.value=H,L&&(h.value=String(H))}function G(H){if(H===d.value)return;const{"onUpdate:pageSize":ye,onUpdatePageSize:Oe,onPageSizeChange:Ne}=e;ye&&$e(ye,H),Oe&&$e(Oe,H),Ne&&$e(Ne,H),c.value=H,f.value{u.value,d.value,D()});const Q=F(()=>{const{size:H}=e,{self:{buttonBorder:ye,buttonBorderHover:Oe,buttonBorderPressed:Ne,buttonIconColor:L,buttonIconColorHover:O,buttonIconColorPressed:oe,itemTextColor:_e,itemTextColorHover:te,itemTextColorPressed:ge,itemTextColorActive:ke,itemTextColorDisabled:I,itemColor:j,itemColorHover:ee,itemColorPressed:Ce,itemColorActive:ce,itemColorActiveHover:le,itemColorDisabled:re,itemBorder:de,itemBorderHover:De,itemBorderPressed:Le,itemBorderActive:Pe,itemBorderDisabled:Fe,itemBorderRadius:He,jumperTextColor:Ie,jumperTextColorDisabled:Qe,buttonColor:Ct,buttonColorHover:X,buttonColorPressed:ve,[Re("itemPadding",H)]:Ae,[Re("itemMargin",H)]:Ke,[Re("inputWidth",H)]:Ze,[Re("selectWidth",H)]:Je,[Re("inputMargin",H)]:tt,[Re("selectMargin",H)]:rt,[Re("jumperFontSize",H)]:vt,[Re("prefixMargin",H)]:sn,[Re("suffixMargin",H)]:Dt,[Re("itemSize",H)]:Se,[Re("buttonIconSize",H)]:Ve,[Re("itemFontSize",H)]:et,[`${Re("itemMargin",H)}Rtl`]:ht,[`${Re("inputMargin",H)}Rtl`]:bt},common:{cubicBezierEaseInOut:ut}}=i.value;return{"--n-prefix-margin":sn,"--n-suffix-margin":Dt,"--n-item-font-size":et,"--n-select-width":Je,"--n-select-margin":rt,"--n-input-width":Ze,"--n-input-margin":tt,"--n-input-margin-rtl":bt,"--n-item-size":Se,"--n-item-text-color":_e,"--n-item-text-color-disabled":I,"--n-item-text-color-hover":te,"--n-item-text-color-active":ke,"--n-item-text-color-pressed":ge,"--n-item-color":j,"--n-item-color-hover":ee,"--n-item-color-disabled":re,"--n-item-color-active":ce,"--n-item-color-active-hover":le,"--n-item-color-pressed":Ce,"--n-item-border":de,"--n-item-border-hover":De,"--n-item-border-disabled":Fe,"--n-item-border-active":Pe,"--n-item-border-pressed":Le,"--n-item-padding":Ae,"--n-item-border-radius":He,"--n-bezier":ut,"--n-jumper-font-size":vt,"--n-jumper-text-color":Ie,"--n-jumper-text-color-disabled":Qe,"--n-item-margin":Ke,"--n-item-margin-rtl":ht,"--n-button-icon-size":Ve,"--n-button-icon-color":L,"--n-button-icon-color-hover":O,"--n-button-icon-color-pressed":oe,"--n-button-color-hover":X,"--n-button-color":Ct,"--n-button-color-pressed":ve,"--n-button-border":ye,"--n-button-border-hover":Oe,"--n-button-border-pressed":Ne}}),xe=o?Pt("pagination",F(()=>{let H="";const{size:ye}=e;return H+=ye[0],H}),Q,e):void 0;return{rtlEnabled:N,mergedClsPrefix:n,locale:a,selfRef:s,mergedPage:u,pageItems:F(()=>y.value.items),mergedItemCount:K,jumperValue:h,pageSizeOptions:P,mergedPageSize:d,inputSize:k,selectSize:T,mergedTheme:i,mergedPageCount:f,startIndex:E,endIndex:R,showFastForwardMenu:m,showFastBackwardMenu:b,fastForwardActive:p,fastBackwardActive:g,handleMenuSelect:x,handleFastForwardMouseenter:_,handleFastForwardMouseleave:C,handleFastBackwardMouseenter:S,handleFastBackwardMouseleave:w,handleJumperInput:fe,handleBackwardClick:he,handleForwardClick:J,handlePageItemClick:ne,handleSizePickerChange:$,handleQuickJumperChange:Y,cssVars:o?void 0:Q,themeClass:xe==null?void 0:xe.themeClass,onRender:xe==null?void 0:xe.onRender}},render(){const{$slots:e,mergedClsPrefix:t,disabled:n,cssVars:o,mergedPage:r,mergedPageCount:i,pageItems:a,showSizePicker:s,showQuickJumper:l,mergedTheme:c,locale:u,inputSize:d,selectSize:f,mergedPageSize:h,pageSizeOptions:p,jumperValue:g,simple:m,prev:b,next:_,prefix:C,suffix:S,label:w,goto:x,handleJumperInput:y,handleSizePickerChange:P,handleBackwardClick:k,handlePageItemClick:T,handleForwardClick:E,handleQuickJumperChange:R,onRender:K}=this;K==null||K();const N=e.prefix||C,D=e.suffix||S,M=b||e.prev,G=_||e.next,J=w||e.label;return v("div",{ref:"selfRef",class:[`${t}-pagination`,this.themeClass,this.rtlEnabled&&`${t}-pagination--rtl`,n&&`${t}-pagination--disabled`,m&&`${t}-pagination--simple`],style:o},N?v("div",{class:`${t}-pagination-prefix`},N({page:r,pageSize:h,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null,this.displayOrder.map(he=>{switch(he){case"pages":return v(it,null,v("div",{class:[`${t}-pagination-item`,!M&&`${t}-pagination-item--button`,(r<=1||r>i||n)&&`${t}-pagination-item--disabled`],onClick:k},M?M({page:r,pageSize:h,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount}):v(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?v(B0,null):v(D0,null)})),m?v(it,null,v("div",{class:`${t}-pagination-quick-jumper`},v(ur,{value:g,onUpdateValue:y,size:d,placeholder:"",disabled:n,theme:c.peers.Input,themeOverrides:c.peerOverrides.Input,onChange:R}))," /"," ",i):a.map((pe,B)=>{let $,A,Y;const{type:ne}=pe;switch(ne){case"page":const Q=pe.label;J?$=J({type:"page",node:Q,active:pe.active}):$=Q;break;case"fast-forward":const xe=this.fastForwardActive?v(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?v(L0,null):v(F0,null)}):v(Ut,{clsPrefix:t},{default:()=>v(N0,null)});J?$=J({type:"fast-forward",node:xe,active:this.fastForwardActive||this.showFastForwardMenu}):$=xe,A=this.handleFastForwardMouseenter,Y=this.handleFastForwardMouseleave;break;case"fast-backward":const H=this.fastBackwardActive?v(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?v(F0,null):v(L0,null)}):v(Ut,{clsPrefix:t},{default:()=>v(N0,null)});J?$=J({type:"fast-backward",node:H,active:this.fastBackwardActive||this.showFastBackwardMenu}):$=H,A=this.handleFastBackwardMouseenter,Y=this.handleFastBackwardMouseleave;break}const fe=v("div",{key:B,class:[`${t}-pagination-item`,pe.active&&`${t}-pagination-item--active`,ne!=="page"&&(ne==="fast-backward"&&this.showFastBackwardMenu||ne==="fast-forward"&&this.showFastForwardMenu)&&`${t}-pagination-item--hover`,n&&`${t}-pagination-item--disabled`,ne==="page"&&`${t}-pagination-item--clickable`],onClick:()=>{T(pe)},onMouseenter:A,onMouseleave:Y},$);if(ne==="page"&&!pe.mayBeFastBackward&&!pe.mayBeFastForward)return fe;{const Q=pe.type==="page"?pe.mayBeFastBackward?"fast-backward":"fast-forward":pe.type;return pe.type!=="page"&&!pe.options?fe:v(_m,{to:this.to,key:Q,disabled:n,trigger:"hover",virtualScroll:!0,style:{width:"60px"},theme:c.peers.Popselect,themeOverrides:c.peerOverrides.Popselect,builtinThemeOverrides:{peers:{InternalSelectMenu:{height:"calc(var(--n-option-height) * 4.6)"}}},nodeProps:()=>({style:{justifyContent:"center"}}),show:ne==="page"?!1:ne==="fast-backward"?this.showFastBackwardMenu:this.showFastForwardMenu,onUpdateShow:xe=>{ne!=="page"&&(xe?ne==="fast-backward"?this.showFastBackwardMenu=xe:this.showFastForwardMenu=xe:(this.showFastBackwardMenu=!1,this.showFastForwardMenu=!1))},options:pe.type!=="page"&&pe.options?pe.options:[],onUpdateValue:this.handleMenuSelect,scrollable:!0,showCheckmark:!1},{default:()=>fe})}}),v("div",{class:[`${t}-pagination-item`,!G&&`${t}-pagination-item--button`,{[`${t}-pagination-item--disabled`]:r<1||r>=i||n}],onClick:E},G?G({page:r,pageSize:h,pageCount:i,itemCount:this.mergedItemCount,startIndex:this.startIndex,endIndex:this.endIndex}):v(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?v(D0,null):v(B0,null)})));case"size-picker":return!m&&s?v(Du,Object.assign({consistentMenuWidth:!1,placeholder:"",showCheckmark:!1,to:this.to},this.selectProps,{size:f,options:p,value:h,disabled:n,theme:c.peers.Select,themeOverrides:c.peerOverrides.Select,onUpdateValue:P})):null;case"quick-jumper":return!m&&l?v("div",{class:`${t}-pagination-quick-jumper`},x?x():An(this.$slots.goto,()=>[u.goto]),v(ur,{value:g,onUpdateValue:y,size:d,placeholder:"",disabled:n,theme:c.peers.Input,themeOverrides:c.peerOverrides.Input,onChange:R})):null;default:return null}}),D?v("div",{class:`${t}-pagination-suffix`},D({page:r,pageSize:h,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null)}}),B2={padding:"8px 14px"},NW={name:"Tooltip",common:je,peers:{Popover:Yi},self(e){const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:r}=e;return Object.assign(Object.assign({},B2),{borderRadius:t,boxShadow:n,color:o,textColor:r})}},Lu=NW;function HW(e){const{borderRadius:t,boxShadow2:n,baseColor:o}=e;return Object.assign(Object.assign({},B2),{borderRadius:t,boxShadow:n,color:Ge(o,"rgba(0, 0, 0, .85)"),textColor:o})}const jW={name:"Tooltip",common:xt,peers:{Popover:Ka},self:HW},Sm=jW,VW={name:"Ellipsis",common:je,peers:{Tooltip:Lu}},N2=VW,WW={name:"Ellipsis",common:xt,peers:{Tooltip:Sm}},H2=WW,j2={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},UW={name:"Radio",common:je,self(e){const{borderColor:t,primaryColor:n,baseColor:o,textColorDisabled:r,inputColorDisabled:i,textColor2:a,opacityDisabled:s,borderRadius:l,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,heightSmall:f,heightMedium:h,heightLarge:p,lineHeight:g}=e;return Object.assign(Object.assign({},j2),{labelLineHeight:g,buttonHeightSmall:f,buttonHeightMedium:h,buttonHeightLarge:p,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${n}`,boxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Me(n,{alpha:.3})}`,boxShadowHover:`inset 0 0 0 1px ${n}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:"#0000",colorDisabled:i,colorActive:"#0000",textColor:a,textColorDisabled:r,dotColorActive:n,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:n,buttonBorderColorHover:n,buttonColor:"#0000",buttonColorActive:n,buttonTextColor:a,buttonTextColorActive:o,buttonTextColorHover:n,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Me(n,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${n}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})}},V2=UW;function qW(e){const{borderColor:t,primaryColor:n,baseColor:o,textColorDisabled:r,inputColorDisabled:i,textColor2:a,opacityDisabled:s,borderRadius:l,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,heightSmall:f,heightMedium:h,heightLarge:p,lineHeight:g}=e;return Object.assign(Object.assign({},j2),{labelLineHeight:g,buttonHeightSmall:f,buttonHeightMedium:h,buttonHeightLarge:p,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${n}`,boxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Me(n,{alpha:.2})}`,boxShadowHover:`inset 0 0 0 1px ${n}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:o,colorDisabled:i,colorActive:"#0000",textColor:a,textColorDisabled:r,dotColorActive:n,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:n,buttonBorderColorHover:t,buttonColor:o,buttonColorActive:o,buttonTextColor:a,buttonTextColorActive:n,buttonTextColorHover:n,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Me(n,{alpha:.3})}`,buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})}const KW={name:"Radio",common:xt,self:qW},km=KW,GW={padding:"4px 0",optionIconSizeSmall:"14px",optionIconSizeMedium:"16px",optionIconSizeLarge:"16px",optionIconSizeHuge:"18px",optionSuffixWidthSmall:"14px",optionSuffixWidthMedium:"14px",optionSuffixWidthLarge:"16px",optionSuffixWidthHuge:"16px",optionIconSuffixWidthSmall:"32px",optionIconSuffixWidthMedium:"32px",optionIconSuffixWidthLarge:"36px",optionIconSuffixWidthHuge:"36px",optionPrefixWidthSmall:"14px",optionPrefixWidthMedium:"14px",optionPrefixWidthLarge:"16px",optionPrefixWidthHuge:"16px",optionIconPrefixWidthSmall:"36px",optionIconPrefixWidthMedium:"36px",optionIconPrefixWidthLarge:"40px",optionIconPrefixWidthHuge:"40px"};function W2(e){const{primaryColor:t,textColor2:n,dividerColor:o,hoverColor:r,popoverColor:i,invertedColor:a,borderRadius:s,fontSizeSmall:l,fontSizeMedium:c,fontSizeLarge:u,fontSizeHuge:d,heightSmall:f,heightMedium:h,heightLarge:p,heightHuge:g,textColor3:m,opacityDisabled:b}=e;return Object.assign(Object.assign({},GW),{optionHeightSmall:f,optionHeightMedium:h,optionHeightLarge:p,optionHeightHuge:g,borderRadius:s,fontSizeSmall:l,fontSizeMedium:c,fontSizeLarge:u,fontSizeHuge:d,optionTextColor:n,optionTextColorHover:n,optionTextColorActive:t,optionTextColorChildActive:t,color:i,dividerColor:o,suffixColor:n,prefixColor:n,optionColorHover:r,optionColorActive:Me(t,{alpha:.1}),groupHeaderTextColor:m,optionTextColorInverted:"#BBB",optionTextColorHoverInverted:"#FFF",optionTextColorActiveInverted:"#FFF",optionTextColorChildActiveInverted:"#FFF",colorInverted:a,dividerColorInverted:"#BBB",suffixColorInverted:"#BBB",prefixColorInverted:"#BBB",optionColorHoverInverted:t,optionColorActiveInverted:t,groupHeaderTextColorInverted:"#AAA",optionOpacityDisabled:b})}const YW={name:"Dropdown",common:xt,peers:{Popover:Ka},self:W2},Pm=YW,XW={name:"Dropdown",common:je,peers:{Popover:Yi},self(e){const{primaryColorSuppl:t,primaryColor:n,popoverColor:o}=e,r=W2(e);return r.colorInverted=o,r.optionColorActive=Me(n,{alpha:.15}),r.optionColorActiveInverted=t,r.optionColorHoverInverted=t,r}},Tm=XW,ZW={thPaddingSmall:"8px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"8px",tdPaddingMedium:"12px",tdPaddingLarge:"12px",sorterSize:"15px",resizableContainerSize:"8px",resizableSize:"2px",filterSize:"15px",paginationMargin:"12px 0 0 0",emptyPadding:"48px 0",actionPadding:"8px 12px",actionButtonMargin:"0 8px 0 0"};function U2(e){const{cardColor:t,modalColor:n,popoverColor:o,textColor2:r,textColor1:i,tableHeaderColor:a,tableColorHover:s,iconColor:l,primaryColor:c,fontWeightStrong:u,borderRadius:d,lineHeight:f,fontSizeSmall:h,fontSizeMedium:p,fontSizeLarge:g,dividerColor:m,heightSmall:b,opacityDisabled:_,tableColorStriped:C}=e;return Object.assign(Object.assign({},ZW),{actionDividerColor:m,lineHeight:f,borderRadius:d,fontSizeSmall:h,fontSizeMedium:p,fontSizeLarge:g,borderColor:Ge(t,m),tdColorHover:Ge(t,s),tdColorSorting:Ge(t,s),tdColorStriped:Ge(t,C),thColor:Ge(t,a),thColorHover:Ge(Ge(t,a),s),thColorSorting:Ge(Ge(t,a),s),tdColor:t,tdTextColor:r,thTextColor:i,thFontWeight:u,thButtonColorHover:s,thIconColor:l,thIconColorActive:c,borderColorModal:Ge(n,m),tdColorHoverModal:Ge(n,s),tdColorSortingModal:Ge(n,s),tdColorStripedModal:Ge(n,C),thColorModal:Ge(n,a),thColorHoverModal:Ge(Ge(n,a),s),thColorSortingModal:Ge(Ge(n,a),s),tdColorModal:n,borderColorPopover:Ge(o,m),tdColorHoverPopover:Ge(o,s),tdColorSortingPopover:Ge(o,s),tdColorStripedPopover:Ge(o,C),thColorPopover:Ge(o,a),thColorHoverPopover:Ge(Ge(o,a),s),thColorSortingPopover:Ge(Ge(o,a),s),tdColorPopover:o,boxShadowBefore:"inset -12px 0 8px -12px rgba(0, 0, 0, .18)",boxShadowAfter:"inset 12px 0 8px -12px rgba(0, 0, 0, .18)",loadingColor:c,loadingSize:b,opacityLoading:_})}const JW={name:"DataTable",common:xt,peers:{Button:zu,Checkbox:P2,Radio:km,Pagination:D2,Scrollbar:Gi,Empty:Mu,Popover:Ka,Ellipsis:H2,Dropdown:Pm},self:U2},QW=JW,eU={name:"DataTable",common:je,peers:{Button:Wn,Checkbox:Ga,Radio:V2,Pagination:L2,Scrollbar:Vn,Empty:Ki,Popover:Yi,Ellipsis:N2,Dropdown:Tm},self(e){const t=U2(e);return t.boxShadowAfter="inset 12px 0 8px -12px rgba(0, 0, 0, .36)",t.boxShadowBefore="inset -12px 0 8px -12px rgba(0, 0, 0, .36)",t}},tU=eU,nU=Object.assign(Object.assign({},Aa),Be.props),Fu=be({name:"Tooltip",props:nU,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=st(e),n=Be("Tooltip","-tooltip",void 0,Sm,e,t),o=W(null);return Object.assign(Object.assign({},{syncPosition(){o.value.syncPosition()},setShow(i){o.value.setShow(i)}}),{popoverRef:o,mergedTheme:n,popoverThemeOverrides:F(()=>n.value.self)})},render(){const{mergedTheme:e,internalExtraClass:t}=this;return v(hl,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:t.concat("tooltip"),ref:"popoverRef"}),this.$slots)}}),q2=z("ellipsis",{overflow:"hidden"},[Rt("line-clamp",` white-space: nowrap; display: inline-block; vertical-align: bottom; @@ -1819,7 +1816,7 @@ ${t} -webkit-box-orient: vertical; `),Z("cursor-pointer",` cursor: pointer; - `)]);function kh(e){return`${e}-ellipsis--line-clamp`}function Ph(e,t){return`${e}-ellipsis--cursor-${t}`}const x2=Object.assign(Object.assign({},Be.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),pm=ve({name:"Ellipsis",inheritAttrs:!1,props:x2,setup(e,{slots:t,attrs:n}){const o=d_(),r=Be("Ellipsis","-ellipsis",y2,p2,e,o),i=W(null),a=W(null),s=W(null),l=W(!1),c=L(()=>{const{lineClamp:v}=e,{value:b}=l;return v!==void 0?{textOverflow:"","-webkit-line-clamp":b?"":v}:{textOverflow:b?"":"ellipsis","-webkit-line-clamp":""}});function u(){let v=!1;const{value:b}=l;if(b)return!0;const{value:w}=i;if(w){const{lineClamp:C}=e;if(p(w),C!==void 0)v=w.scrollHeight<=w.offsetHeight;else{const{value:S}=a;S&&(v=S.getBoundingClientRect().width<=w.getBoundingClientRect().width)}h(w,v)}return v}const d=L(()=>e.expandTrigger==="click"?()=>{var v;const{value:b}=l;b&&((v=s.value)===null||v===void 0||v.setShow(!1)),l.value=!b}:void 0);Zc(()=>{var v;e.tooltip&&((v=s.value)===null||v===void 0||v.setShow(!1))});const f=()=>g("span",Object.assign({},Ln(n,{class:[`${o.value}-ellipsis`,e.lineClamp!==void 0?kh(o.value):void 0,e.expandTrigger==="click"?Ph(o.value,"pointer"):void 0],style:c.value}),{ref:"triggerRef",onClick:d.value,onMouseenter:e.expandTrigger==="click"?u:void 0}),e.lineClamp?t:g("span",{ref:"triggerInnerRef"},t));function p(v){if(!v)return;const b=c.value,w=kh(o.value);e.lineClamp!==void 0?m(v,w,"add"):m(v,w,"remove");for(const C in b)v.style[C]!==b[C]&&(v.style[C]=b[C])}function h(v,b){const w=Ph(o.value,"pointer");e.expandTrigger==="click"&&!b?m(v,w,"add"):m(v,w,"remove")}function m(v,b,w){w==="add"?v.classList.contains(b)||v.classList.add(b):v.classList.contains(b)&&v.classList.remove(b)}return{mergedTheme:r,triggerRef:i,triggerInnerRef:a,tooltipRef:s,handleClick:d,renderTrigger:f,getTooltipDisabled:u}},render(){var e;const{tooltip:t,renderTrigger:n,$slots:o}=this;if(t){const{mergedTheme:r}=this;return g(Mu,Object.assign({ref:"tooltipRef",placement:"top"},t,{getDisabled:this.getTooltipDisabled,theme:r.peers.Tooltip,themeOverrides:r.peerOverrides.Tooltip}),{trigger:n,default:(e=o.tooltip)!==null&&e!==void 0?e:o.default})}else return n()}}),fW=ve({name:"PerformantEllipsis",props:x2,inheritAttrs:!1,setup(e,{attrs:t,slots:n}){const o=W(!1),r=d_();return Zr("-ellipsis",y2,r),{mouseEntered:o,renderTrigger:()=>{const{lineClamp:a}=e,s=r.value;return g("span",Object.assign({},Ln(t,{class:[`${s}-ellipsis`,a!==void 0?kh(s):void 0,e.expandTrigger==="click"?Ph(s,"pointer"):void 0],style:a===void 0?{textOverflow:"ellipsis"}:{"-webkit-line-clamp":a}}),{onMouseenter:()=>{o.value=!0}}),a?n:g("span",null,n))}}},render(){return this.mouseEntered?g(pm,Ln({},this.$attrs,this.$props),this.$slots):this.renderTrigger()}}),hW=ve({name:"DataTableRenderSorter",props:{render:{type:Function,required:!0},order:{type:[String,Boolean],default:!1}},render(){const{render:e,order:t}=this;return e({order:t})}}),pW=Object.assign(Object.assign({},Be.props),{onUnstableColumnResize:Function,pagination:{type:[Object,Boolean],default:!1},paginateSinglePage:{type:Boolean,default:!0},minHeight:[Number,String],maxHeight:[Number,String],columns:{type:Array,default:()=>[]},rowClassName:[String,Function],rowProps:Function,rowKey:Function,summary:[Function],data:{type:Array,default:()=>[]},loading:Boolean,bordered:{type:Boolean,default:void 0},bottomBordered:{type:Boolean,default:void 0},striped:Boolean,scrollX:[Number,String],defaultCheckedRowKeys:{type:Array,default:()=>[]},checkedRowKeys:Array,singleLine:{type:Boolean,default:!0},singleColumn:Boolean,size:{type:String,default:"medium"},remote:Boolean,defaultExpandedRowKeys:{type:Array,default:[]},defaultExpandAll:Boolean,expandedRowKeys:Array,stickyExpandedRows:Boolean,virtualScroll:Boolean,tableLayout:{type:String,default:"auto"},allowCheckingNotLoaded:Boolean,cascade:{type:Boolean,default:!0},childrenKey:{type:String,default:"children"},indent:{type:Number,default:16},flexHeight:Boolean,summaryPlacement:{type:String,default:"bottom"},paginationBehaviorOnFilter:{type:String,default:"current"},scrollbarProps:Object,renderCell:Function,renderExpandIcon:Function,spinProps:{type:Object,default:{}},onLoad:Function,"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],"onUpdate:sorter":[Function,Array],onUpdateSorter:[Function,Array],"onUpdate:filters":[Function,Array],onUpdateFilters:[Function,Array],"onUpdate:checkedRowKeys":[Function,Array],onUpdateCheckedRowKeys:[Function,Array],"onUpdate:expandedRowKeys":[Function,Array],onUpdateExpandedRowKeys:[Function,Array],onScroll:Function,onPageChange:[Function,Array],onPageSizeChange:[Function,Array],onSorterChange:[Function,Array],onFiltersChange:[Function,Array],onCheckedRowKeysChange:[Function,Array]}),Ro="n-data-table",mW=ve({name:"SortIcon",props:{column:{type:Object,required:!0}},setup(e){const{mergedComponentPropsRef:t}=st(),{mergedSortStateRef:n,mergedClsPrefixRef:o}=We(Ro),r=L(()=>n.value.find(l=>l.columnKey===e.column.key)),i=L(()=>r.value!==void 0),a=L(()=>{const{value:l}=r;return l&&i.value?l.order:!1}),s=L(()=>{var l,c;return((c=(l=t==null?void 0:t.value)===null||l===void 0?void 0:l.DataTable)===null||c===void 0?void 0:c.renderSorter)||e.column.renderSorter});return{mergedClsPrefix:o,active:i,mergedSortOrder:a,mergedRenderSorter:s}},render(){const{mergedRenderSorter:e,mergedSortOrder:t,mergedClsPrefix:n}=this,{renderSorterIcon:o}=this.column;return e?g(hW,{render:e,order:t}):g("span",{class:[`${n}-data-table-sorter`,t==="ascend"&&`${n}-data-table-sorter--asc`,t==="descend"&&`${n}-data-table-sorter--desc`]},o?o({order:t}):g(Ut,{clsPrefix:n},{default:()=>g(NB,null)}))}}),gW=ve({name:"DataTableRenderFilter",props:{render:{type:Function,required:!0},active:{type:Boolean,default:!1},show:{type:Boolean,default:!1}},render(){const{render:e,active:t,show:n}=this;return e({active:t,show:n})}}),C2={name:String,value:{type:[String,Number,Boolean],default:"on"},checked:{type:Boolean,default:void 0},defaultChecked:Boolean,disabled:{type:Boolean,default:void 0},label:String,size:String,onUpdateChecked:[Function,Array],"onUpdate:checked":[Function,Array],checkedValue:{type:Boolean,default:void 0}},w2="n-radio-group";function _2(e){const t=fr(e,{mergedSize(w){const{size:C}=e;if(C!==void 0)return C;if(a){const{mergedSizeRef:{value:S}}=a;if(S!==void 0)return S}return w?w.mergedSize.value:"medium"},mergedDisabled(w){return!!(e.disabled||a!=null&&a.disabledRef.value||w!=null&&w.disabled.value)}}),{mergedSizeRef:n,mergedDisabledRef:o}=t,r=W(null),i=W(null),a=We(w2,null),s=W(e.defaultChecked),l=Ve(e,"checked"),c=sn(l,s),u=St(()=>a?a.valueRef.value===e.value:c.value),d=St(()=>{const{name:w}=e;if(w!==void 0)return w;if(a)return a.nameRef.value}),f=W(!1);function p(){if(a){const{doUpdateValue:w}=a,{value:C}=e;Ee(w,C)}else{const{onUpdateChecked:w,"onUpdate:checked":C}=e,{nTriggerFormInput:S,nTriggerFormChange:_}=t;w&&Ee(w,!0),C&&Ee(C,!0),S(),_(),s.value=!0}}function h(){o.value||u.value||p()}function m(){h(),r.value&&(r.value.checked=u.value)}function v(){f.value=!1}function b(){f.value=!0}return{mergedClsPrefix:a?a.mergedClsPrefixRef:st(e).mergedClsPrefixRef,inputRef:r,labelRef:i,mergedName:d,mergedDisabled:o,renderSafeChecked:u,focus:f,mergedSize:n,handleRadioInputChange:m,handleRadioInputBlur:v,handleRadioInputFocus:b}}const vW=z("radio",` + `)]);function Fh(e){return`${e}-ellipsis--line-clamp`}function Bh(e,t){return`${e}-ellipsis--cursor-${t}`}const K2=Object.assign(Object.assign({},Be.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),Rm=be({name:"Ellipsis",inheritAttrs:!1,props:K2,setup(e,{slots:t,attrs:n}){const o=F_(),r=Be("Ellipsis","-ellipsis",q2,H2,e,o),i=W(null),a=W(null),s=W(null),l=W(!1),c=F(()=>{const{lineClamp:m}=e,{value:b}=l;return m!==void 0?{textOverflow:"","-webkit-line-clamp":b?"":m}:{textOverflow:b?"":"ellipsis","-webkit-line-clamp":""}});function u(){let m=!1;const{value:b}=l;if(b)return!0;const{value:_}=i;if(_){const{lineClamp:C}=e;if(h(_),C!==void 0)m=_.scrollHeight<=_.offsetHeight;else{const{value:S}=a;S&&(m=S.getBoundingClientRect().width<=_.getBoundingClientRect().width)}p(_,m)}return m}const d=F(()=>e.expandTrigger==="click"?()=>{var m;const{value:b}=l;b&&((m=s.value)===null||m===void 0||m.setShow(!1)),l.value=!b}:void 0);Zc(()=>{var m;e.tooltip&&((m=s.value)===null||m===void 0||m.setShow(!1))});const f=()=>v("span",Object.assign({},Ln(n,{class:[`${o.value}-ellipsis`,e.lineClamp!==void 0?Fh(o.value):void 0,e.expandTrigger==="click"?Bh(o.value,"pointer"):void 0],style:c.value}),{ref:"triggerRef",onClick:d.value,onMouseenter:e.expandTrigger==="click"?u:void 0}),e.lineClamp?t:v("span",{ref:"triggerInnerRef"},t));function h(m){if(!m)return;const b=c.value,_=Fh(o.value);e.lineClamp!==void 0?g(m,_,"add"):g(m,_,"remove");for(const C in b)m.style[C]!==b[C]&&(m.style[C]=b[C])}function p(m,b){const _=Bh(o.value,"pointer");e.expandTrigger==="click"&&!b?g(m,_,"add"):g(m,_,"remove")}function g(m,b,_){_==="add"?m.classList.contains(b)||m.classList.add(b):m.classList.contains(b)&&m.classList.remove(b)}return{mergedTheme:r,triggerRef:i,triggerInnerRef:a,tooltipRef:s,handleClick:d,renderTrigger:f,getTooltipDisabled:u}},render(){var e;const{tooltip:t,renderTrigger:n,$slots:o}=this;if(t){const{mergedTheme:r}=this;return v(Fu,Object.assign({ref:"tooltipRef",placement:"top"},t,{getDisabled:this.getTooltipDisabled,theme:r.peers.Tooltip,themeOverrides:r.peerOverrides.Tooltip}),{trigger:n,default:(e=o.tooltip)!==null&&e!==void 0?e:o.default})}else return n()}}),oU=be({name:"PerformantEllipsis",props:K2,inheritAttrs:!1,setup(e,{attrs:t,slots:n}){const o=W(!1),r=F_();return ei("-ellipsis",q2,r),{mouseEntered:o,renderTrigger:()=>{const{lineClamp:a}=e,s=r.value;return v("span",Object.assign({},Ln(t,{class:[`${s}-ellipsis`,a!==void 0?Fh(s):void 0,e.expandTrigger==="click"?Bh(s,"pointer"):void 0],style:a===void 0?{textOverflow:"ellipsis"}:{"-webkit-line-clamp":a}}),{onMouseenter:()=>{o.value=!0}}),a?n:v("span",null,n))}}},render(){return this.mouseEntered?v(Rm,Ln({},this.$attrs,this.$props),this.$slots):this.renderTrigger()}}),rU=Object.assign(Object.assign({},Be.props),{onUnstableColumnResize:Function,pagination:{type:[Object,Boolean],default:!1},paginateSinglePage:{type:Boolean,default:!0},minHeight:[Number,String],maxHeight:[Number,String],columns:{type:Array,default:()=>[]},rowClassName:[String,Function],rowProps:Function,rowKey:Function,summary:[Function],data:{type:Array,default:()=>[]},loading:Boolean,bordered:{type:Boolean,default:void 0},bottomBordered:{type:Boolean,default:void 0},striped:Boolean,scrollX:[Number,String],defaultCheckedRowKeys:{type:Array,default:()=>[]},checkedRowKeys:Array,singleLine:{type:Boolean,default:!0},singleColumn:Boolean,size:{type:String,default:"medium"},remote:Boolean,defaultExpandedRowKeys:{type:Array,default:[]},defaultExpandAll:Boolean,expandedRowKeys:Array,stickyExpandedRows:Boolean,virtualScroll:Boolean,tableLayout:{type:String,default:"auto"},allowCheckingNotLoaded:Boolean,cascade:{type:Boolean,default:!0},childrenKey:{type:String,default:"children"},indent:{type:Number,default:16},flexHeight:Boolean,summaryPlacement:{type:String,default:"bottom"},paginationBehaviorOnFilter:{type:String,default:"current"},filterIconPopoverProps:Object,scrollbarProps:Object,renderCell:Function,renderExpandIcon:Function,spinProps:{type:Object,default:{}},onLoad:Function,"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],"onUpdate:sorter":[Function,Array],onUpdateSorter:[Function,Array],"onUpdate:filters":[Function,Array],onUpdateFilters:[Function,Array],"onUpdate:checkedRowKeys":[Function,Array],onUpdateCheckedRowKeys:[Function,Array],"onUpdate:expandedRowKeys":[Function,Array],onUpdateExpandedRowKeys:[Function,Array],onScroll:Function,onPageChange:[Function,Array],onPageSizeChange:[Function,Array],onSorterChange:[Function,Array],onFiltersChange:[Function,Array],onCheckedRowKeysChange:[Function,Array]}),Oo="n-data-table",iU=be({name:"DataTableRenderSorter",props:{render:{type:Function,required:!0},order:{type:[String,Boolean],default:!1}},render(){const{render:e,order:t}=this;return e({order:t})}}),aU=be({name:"SortIcon",props:{column:{type:Object,required:!0}},setup(e){const{mergedComponentPropsRef:t}=st(),{mergedSortStateRef:n,mergedClsPrefixRef:o}=Ue(Oo),r=F(()=>n.value.find(l=>l.columnKey===e.column.key)),i=F(()=>r.value!==void 0),a=F(()=>{const{value:l}=r;return l&&i.value?l.order:!1}),s=F(()=>{var l,c;return((c=(l=t==null?void 0:t.value)===null||l===void 0?void 0:l.DataTable)===null||c===void 0?void 0:c.renderSorter)||e.column.renderSorter});return{mergedClsPrefix:o,active:i,mergedSortOrder:a,mergedRenderSorter:s}},render(){const{mergedRenderSorter:e,mergedSortOrder:t,mergedClsPrefix:n}=this,{renderSorterIcon:o}=this.column;return e?v(iU,{render:e,order:t}):v("span",{class:[`${n}-data-table-sorter`,t==="ascend"&&`${n}-data-table-sorter--asc`,t==="descend"&&`${n}-data-table-sorter--desc`]},o?o({order:t}):v(Ut,{clsPrefix:n},{default:()=>v($N,null)}))}}),G2={name:String,value:{type:[String,Number,Boolean],default:"on"},checked:{type:Boolean,default:void 0},defaultChecked:Boolean,disabled:{type:Boolean,default:void 0},label:String,size:String,onUpdateChecked:[Function,Array],"onUpdate:checked":[Function,Array],checkedValue:{type:Boolean,default:void 0}},Y2="n-radio-group";function X2(e){const t=Ue(Y2,null),n=pr(e,{mergedSize(_){const{size:C}=e;if(C!==void 0)return C;if(t){const{mergedSizeRef:{value:S}}=t;if(S!==void 0)return S}return _?_.mergedSize.value:"medium"},mergedDisabled(_){return!!(e.disabled||t!=null&&t.disabledRef.value||_!=null&&_.disabled.value)}}),{mergedSizeRef:o,mergedDisabledRef:r}=n,i=W(null),a=W(null),s=W(e.defaultChecked),l=We(e,"checked"),c=an(l,s),u=kt(()=>t?t.valueRef.value===e.value:c.value),d=kt(()=>{const{name:_}=e;if(_!==void 0)return _;if(t)return t.nameRef.value}),f=W(!1);function h(){if(t){const{doUpdateValue:_}=t,{value:C}=e;$e(_,C)}else{const{onUpdateChecked:_,"onUpdate:checked":C}=e,{nTriggerFormInput:S,nTriggerFormChange:w}=n;_&&$e(_,!0),C&&$e(C,!0),S(),w(),s.value=!0}}function p(){r.value||u.value||h()}function g(){p(),i.value&&(i.value.checked=u.value)}function m(){f.value=!1}function b(){f.value=!0}return{mergedClsPrefix:t?t.mergedClsPrefixRef:st(e).mergedClsPrefixRef,inputRef:i,labelRef:a,mergedName:d,mergedDisabled:r,renderSafeChecked:u,focus:f,mergedSize:o,handleRadioInputChange:g,handleRadioInputBlur:m,handleRadioInputFocus:b}}const sU=z("radio",` line-height: var(--n-label-line-height); outline: none; position: relative; @@ -1885,7 +1882,7 @@ ${t} font-weight: var(--n-label-font-weight); display: inline-block; transition: color .3s var(--n-bezier); - `),Tt("disabled",` + `),Rt("disabled",` cursor: pointer; `,[q("&:hover",[V("dot",{boxShadow:"var(--n-box-shadow-hover)"})]),Z("focus",[q("&:not(:active)",[V("dot",{boxShadow:"var(--n-box-shadow-focus)"})])])]),Z("disabled",` cursor: not-allowed; @@ -1893,7 +1890,7 @@ ${t} opacity: 1; `)]),V("label",{color:"var(--n-text-color-disabled)"}),z("radio-input",` cursor: not-allowed; - `)])]),bW=Object.assign(Object.assign({},Be.props),C2),S2=ve({name:"Radio",props:bW,setup(e){const t=_2(e),n=Be("Radio","-radio",vW,dm,e,t.mergedClsPrefix),o=L(()=>{const{mergedSize:{value:c}}=t,{common:{cubicBezierEaseInOut:u},self:{boxShadow:d,boxShadowActive:f,boxShadowDisabled:p,boxShadowFocus:h,boxShadowHover:m,color:v,colorDisabled:b,colorActive:w,textColor:C,textColorDisabled:S,dotColorActive:_,dotColorDisabled:x,labelPadding:y,labelLineHeight:k,labelFontWeight:P,[Te("fontSize",c)]:T,[Te("radioSize",c)]:$}}=n.value;return{"--n-bezier":u,"--n-label-line-height":k,"--n-label-font-weight":P,"--n-box-shadow":d,"--n-box-shadow-active":f,"--n-box-shadow-disabled":p,"--n-box-shadow-focus":h,"--n-box-shadow-hover":m,"--n-color":v,"--n-color-active":w,"--n-color-disabled":b,"--n-dot-color-active":_,"--n-dot-color-disabled":x,"--n-font-size":T,"--n-radio-size":$,"--n-text-color":C,"--n-text-color-disabled":S,"--n-label-padding":y}}),{inlineThemeDisabled:r,mergedClsPrefixRef:i,mergedRtlRef:a}=st(e),s=pn("Radio",a,i),l=r?kt("radio",L(()=>t.mergedSize.value[0]),o,e):void 0;return Object.assign(t,{rtlEnabled:s,cssVars:r?void 0:o,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender})},render(){const{$slots:e,mergedClsPrefix:t,onRender:n,label:o}=this;return n==null||n(),g("label",{class:[`${t}-radio`,this.themeClass,this.rtlEnabled&&`${t}-radio--rtl`,this.mergedDisabled&&`${t}-radio--disabled`,this.renderSafeChecked&&`${t}-radio--checked`,this.focus&&`${t}-radio--focus`],style:this.cssVars},g("input",{ref:"inputRef",type:"radio",class:`${t}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),g("div",{class:`${t}-radio__dot-wrapper`}," ",g("div",{class:[`${t}-radio__dot`,this.renderSafeChecked&&`${t}-radio__dot--checked`]})),Et(e.default,r=>!r&&!o?null:g("div",{ref:"labelRef",class:`${t}-radio__label`},r||o)))}}),yW=z("radio-group",` + `)])]),lU=Object.assign(Object.assign({},Be.props),G2),Z2=be({name:"Radio",props:lU,setup(e){const t=X2(e),n=Be("Radio","-radio",sU,km,e,t.mergedClsPrefix),o=F(()=>{const{mergedSize:{value:c}}=t,{common:{cubicBezierEaseInOut:u},self:{boxShadow:d,boxShadowActive:f,boxShadowDisabled:h,boxShadowFocus:p,boxShadowHover:g,color:m,colorDisabled:b,colorActive:_,textColor:C,textColorDisabled:S,dotColorActive:w,dotColorDisabled:x,labelPadding:y,labelLineHeight:P,labelFontWeight:k,[Re("fontSize",c)]:T,[Re("radioSize",c)]:E}}=n.value;return{"--n-bezier":u,"--n-label-line-height":P,"--n-label-font-weight":k,"--n-box-shadow":d,"--n-box-shadow-active":f,"--n-box-shadow-disabled":h,"--n-box-shadow-focus":p,"--n-box-shadow-hover":g,"--n-color":m,"--n-color-active":_,"--n-color-disabled":b,"--n-dot-color-active":w,"--n-dot-color-disabled":x,"--n-font-size":T,"--n-radio-size":E,"--n-text-color":C,"--n-text-color-disabled":S,"--n-label-padding":y}}),{inlineThemeDisabled:r,mergedClsPrefixRef:i,mergedRtlRef:a}=st(e),s=pn("Radio",a,i),l=r?Pt("radio",F(()=>t.mergedSize.value[0]),o,e):void 0;return Object.assign(t,{rtlEnabled:s,cssVars:r?void 0:o,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender})},render(){const{$slots:e,mergedClsPrefix:t,onRender:n,label:o}=this;return n==null||n(),v("label",{class:[`${t}-radio`,this.themeClass,this.rtlEnabled&&`${t}-radio--rtl`,this.mergedDisabled&&`${t}-radio--disabled`,this.renderSafeChecked&&`${t}-radio--checked`,this.focus&&`${t}-radio--focus`],style:this.cssVars},v("input",{ref:"inputRef",type:"radio",class:`${t}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),v("div",{class:`${t}-radio__dot-wrapper`}," ",v("div",{class:[`${t}-radio__dot`,this.renderSafeChecked&&`${t}-radio__dot--checked`]})),$t(e.default,r=>!r&&!o?null:v("div",{ref:"labelRef",class:`${t}-radio__label`},r||o)))}}),cU=z("radio-group",` display: inline-block; font-size: var(--n-font-size); `,[V("splitor",` @@ -1963,20 +1960,20 @@ ${t} `,[V("state-border",` border-top-right-radius: var(--n-button-border-radius); border-bottom-right-radius: var(--n-button-border-radius); - `)]),Tt("disabled",` + `)]),Rt("disabled",` cursor: pointer; `,[q("&:hover",[V("state-border",` transition: box-shadow .3s var(--n-bezier); box-shadow: var(--n-button-box-shadow-hover); - `),Tt("checked",{color:"var(--n-button-text-color-hover)"})]),Z("focus",[q("&:not(:active)",[V("state-border",{boxShadow:"var(--n-button-box-shadow-focus)"})])])]),Z("checked",` + `),Rt("checked",{color:"var(--n-button-text-color-hover)"})]),Z("focus",[q("&:not(:active)",[V("state-border",{boxShadow:"var(--n-button-box-shadow-focus)"})])])]),Z("checked",` background: var(--n-button-color-active); color: var(--n-button-text-color-active); border-color: var(--n-button-border-color-active); `),Z("disabled",` cursor: not-allowed; opacity: var(--n-opacity-disabled); - `)])]);function xW(e,t,n){var o;const r=[];let i=!1;for(let a=0;a{const{value:_}=n,{common:{cubicBezierEaseInOut:x},self:{buttonBorderColor:y,buttonBorderColorActive:k,buttonBorderRadius:P,buttonBoxShadow:T,buttonBoxShadowFocus:$,buttonBoxShadowHover:R,buttonColor:K,buttonColorActive:j,buttonTextColor:D,buttonTextColorActive:M,buttonTextColorHover:Y,opacityDisabled:Q,[Te("buttonHeight",_)]:de,[Te("fontSize",_)]:pe}}=d.value;return{"--n-font-size":pe,"--n-bezier":x,"--n-button-border-color":y,"--n-button-border-color-active":k,"--n-button-border-radius":P,"--n-button-box-shadow":T,"--n-button-box-shadow-focus":$,"--n-button-box-shadow-hover":R,"--n-button-color":K,"--n-button-color-active":j,"--n-button-text-color":D,"--n-button-text-color-hover":Y,"--n-button-text-color-active":M,"--n-height":de,"--n-opacity-disabled":Q}}),S=c?kt("radio-group",L(()=>n.value[0]),C,e):void 0;return{selfElRef:t,rtlEnabled:w,mergedClsPrefix:l,mergedValue:h,handleFocusout:b,handleFocusin:v,cssVars:c?void 0:C,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){var e;const{mergedValue:t,mergedClsPrefix:n,handleFocusin:o,handleFocusout:r}=this,{children:i,isButtonGroup:a}=xW(_a(jC(this)),t,n);return(e=this.onRender)===null||e===void 0||e.call(this),g("div",{onFocusin:o,onFocusout:r,ref:"selfElRef",class:[`${n}-radio-group`,this.rtlEnabled&&`${n}-radio-group--rtl`,this.themeClass,a&&`${n}-radio-group--button-group`],style:this.cssVars},i)}}),wW=ve({name:"RadioButton",props:C2,setup:_2,render(){const{mergedClsPrefix:e}=this;return g("label",{class:[`${e}-radio-button`,this.mergedDisabled&&`${e}-radio-button--disabled`,this.renderSafeChecked&&`${e}-radio-button--checked`,this.focus&&[`${e}-radio-button--focus`]]},g("input",{ref:"inputRef",type:"radio",class:`${e}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),g("div",{class:`${e}-radio-button__state-border`}),Et(this.$slots.default,t=>!t&&!this.label?null:g("div",{ref:"labelRef",class:`${e}-radio__label`},t||this.label)))}}),P2=40,T2=40;function j0(e){if(e.type==="selection")return e.width===void 0?P2:Sn(e.width);if(e.type==="expand")return e.width===void 0?T2:Sn(e.width);if(!("children"in e))return typeof e.width=="string"?Sn(e.width):e.width}function _W(e){var t,n;if(e.type==="selection")return qt((t=e.width)!==null&&t!==void 0?t:P2);if(e.type==="expand")return qt((n=e.width)!==null&&n!==void 0?n:T2);if(!("children"in e))return qt(e.width)}function bo(e){return e.type==="selection"?"__n_selection__":e.type==="expand"?"__n_expand__":e.key}function V0(e){return e&&(typeof e=="object"?Object.assign({},e):e)}function SW(e){return e==="ascend"?1:e==="descend"?-1:0}function kW(e,t,n){return n!==void 0&&(e=Math.min(e,typeof n=="number"?n:parseFloat(n))),t!==void 0&&(e=Math.max(e,typeof t=="number"?t:parseFloat(t))),e}function PW(e,t){if(t!==void 0)return{width:t,minWidth:t,maxWidth:t};const n=_W(e),{minWidth:o,maxWidth:r}=e;return{width:n,minWidth:qt(o)||n,maxWidth:qt(r)}}function TW(e,t,n){return typeof n=="function"?n(e,t):n||""}function qd(e){return e.filterOptionValues!==void 0||e.filterOptionValue===void 0&&e.defaultFilterOptionValues!==void 0}function Kd(e){return"children"in e?!1:!!e.sorter}function R2(e){return"children"in e&&e.children.length?!1:!!e.resizable}function W0(e){return"children"in e?!1:!!e.filter&&(!!e.filterOptions||!!e.renderFilterMenu)}function U0(e){if(e){if(e==="descend")return"ascend"}else return"descend";return!1}function RW(e,t){return e.sorter===void 0?null:t===null||t.columnKey!==e.key?{columnKey:e.key,sorter:e.sorter,order:U0(!1)}:Object.assign(Object.assign({},t),{order:U0(t.order)})}function E2(e,t){return t.find(n=>n.columnKey===e.key&&n.order)!==void 0}function EW(e){return typeof e=="string"?e.replace(/,/g,"\\,"):e==null?"":`${e}`.replace(/,/g,"\\,")}function $W(e,t){const n=e.filter(i=>i.type!=="expand"&&i.type!=="selection"),o=n.map(i=>i.title).join(","),r=t.map(i=>n.map(a=>EW(i[a.key])).join(","));return[o,...r].join(` -`)}const AW=ve({name:"DataTableFilterMenu",props:{column:{type:Object,required:!0},radioGroupName:{type:String,required:!0},multiple:{type:Boolean,required:!0},value:{type:[Array,String,Number],default:null},options:{type:Array,required:!0},onConfirm:{type:Function,required:!0},onClear:{type:Function,required:!0},onChange:{type:Function,required:!0}},setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=st(e),o=pn("DataTable",n,t),{mergedClsPrefixRef:r,mergedThemeRef:i,localeRef:a}=We(Ro),s=W(e.value),l=L(()=>{const{value:h}=s;return Array.isArray(h)?h:null}),c=L(()=>{const{value:h}=s;return qd(e.column)?Array.isArray(h)&&h.length&&h[0]||null:Array.isArray(h)?null:h});function u(h){e.onChange(h)}function d(h){e.multiple&&Array.isArray(h)?s.value=h:qd(e.column)&&!Array.isArray(h)?s.value=[h]:s.value=h}function f(){u(s.value),e.onConfirm()}function p(){e.multiple||qd(e.column)?u([]):u(null),e.onClear()}return{mergedClsPrefix:r,rtlEnabled:o,mergedTheme:i,locale:a,checkboxGroupValue:l,radioGroupValue:c,handleChange:d,handleConfirmClick:f,handleClearClick:p}},render(){const{mergedTheme:e,locale:t,mergedClsPrefix:n}=this;return g("div",{class:[`${n}-data-table-filter-menu`,this.rtlEnabled&&`${n}-data-table-filter-menu--rtl`]},g(To,null,{default:()=>{const{checkboxGroupValue:o,handleChange:r}=this;return this.multiple?g(vV,{value:o,class:`${n}-data-table-filter-menu__group`,onUpdateValue:r},{default:()=>this.options.map(i=>g(hl,{key:i.value,theme:e.peers.Checkbox,themeOverrides:e.peerOverrides.Checkbox,value:i.value},{default:()=>i.label}))}):g(k2,{name:this.radioGroupName,class:`${n}-data-table-filter-menu__group`,value:this.radioGroupValue,onUpdateValue:this.handleChange},{default:()=>this.options.map(i=>g(S2,{key:i.value,value:i.value,theme:e.peers.Radio,themeOverrides:e.peerOverrides.Radio},{default:()=>i.label}))})}}),g("div",{class:`${n}-data-table-filter-menu__action`},g(zt,{size:"tiny",theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,onClick:this.handleClearClick},{default:()=>t.clear}),g(zt,{theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,type:"primary",size:"tiny",onClick:this.handleConfirmClick},{default:()=>t.confirm})))}});function IW(e,t,n){const o=Object.assign({},e);return o[t]=n,o}const OW=ve({name:"DataTableFilterButton",props:{column:{type:Object,required:!0},options:{type:Array,default:()=>[]}},setup(e){const{mergedComponentPropsRef:t}=st(),{mergedThemeRef:n,mergedClsPrefixRef:o,mergedFilterStateRef:r,filterMenuCssVarsRef:i,paginationBehaviorOnFilterRef:a,doUpdatePage:s,doUpdateFilters:l}=We(Ro),c=W(!1),u=r,d=L(()=>e.column.filterMultiple!==!1),f=L(()=>{const w=u.value[e.column.key];if(w===void 0){const{value:C}=d;return C?[]:null}return w}),p=L(()=>{const{value:w}=f;return Array.isArray(w)?w.length>0:w!==null}),h=L(()=>{var w,C;return((C=(w=t==null?void 0:t.value)===null||w===void 0?void 0:w.DataTable)===null||C===void 0?void 0:C.renderFilter)||e.column.renderFilter});function m(w){const C=IW(u.value,e.column.key,w);l(C,e.column),a.value==="first"&&s(1)}function v(){c.value=!1}function b(){c.value=!1}return{mergedTheme:n,mergedClsPrefix:o,active:p,showPopover:c,mergedRenderFilter:h,filterMultiple:d,mergedFilterValue:f,filterMenuCssVars:i,handleFilterChange:m,handleFilterMenuConfirm:b,handleFilterMenuCancel:v}},render(){const{mergedTheme:e,mergedClsPrefix:t,handleFilterMenuCancel:n}=this;return g(dl,{show:this.showPopover,onUpdateShow:o=>this.showPopover=o,trigger:"click",theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,placement:"bottom",style:{padding:0}},{trigger:()=>{const{mergedRenderFilter:o}=this;if(o)return g(gW,{"data-data-table-filter":!0,render:o,active:this.active,show:this.showPopover});const{renderFilterIcon:r}=this.column;return g("div",{"data-data-table-filter":!0,class:[`${t}-data-table-filter`,{[`${t}-data-table-filter--active`]:this.active,[`${t}-data-table-filter--show`]:this.showPopover}]},r?r({active:this.active,show:this.showPopover}):g(Ut,{clsPrefix:t},{default:()=>g(qB,null)}))},default:()=>{const{renderFilterMenu:o}=this.column;return o?o({hide:n}):g(AW,{style:this.filterMenuCssVars,radioGroupName:String(this.column.key),multiple:this.filterMultiple,value:this.mergedFilterValue,options:this.options,column:this.column,onChange:this.handleFilterChange,onClear:this.handleFilterMenuCancel,onConfirm:this.handleFilterMenuConfirm})}})}}),MW=ve({name:"ColumnResizeButton",props:{onResizeStart:Function,onResize:Function,onResizeEnd:Function},setup(e){const{mergedClsPrefixRef:t}=We(Ro),n=W(!1);let o=0;function r(l){return l.clientX}function i(l){var c;l.preventDefault();const u=n.value;o=r(l),n.value=!0,u||(It("mousemove",window,a),It("mouseup",window,s),(c=e.onResizeStart)===null||c===void 0||c.call(e))}function a(l){var c;(c=e.onResize)===null||c===void 0||c.call(e,r(l)-o)}function s(){var l;n.value=!1,(l=e.onResizeEnd)===null||l===void 0||l.call(e),Pt("mousemove",window,a),Pt("mouseup",window,s)}return rn(()=>{Pt("mousemove",window,a),Pt("mouseup",window,s)}),{mergedClsPrefix:t,active:n,handleMousedown:i}},render(){const{mergedClsPrefix:e}=this;return g("span",{"data-data-table-resizable":!0,class:[`${e}-data-table-resize-button`,this.active&&`${e}-data-table-resize-button--active`],onMousedown:this.handleMousedown})}}),$2=ve({name:"DropdownDivider",props:{clsPrefix:{type:String,required:!0}},render(){return g("div",{class:`${this.clsPrefix}-dropdown-divider`})}}),A2=e=>{const{textColorBase:t,opacity1:n,opacity2:o,opacity3:r,opacity4:i,opacity5:a}=e;return{color:t,opacity1Depth:n,opacity2Depth:o,opacity3Depth:r,opacity4Depth:i,opacity5Depth:a}},zW={name:"Icon",common:bt,self:A2},DW=zW,LW={name:"Icon",common:Ne,self:A2},FW=LW,BW=z("icon",` + `)])]);function uU(e,t,n){var o;const r=[];let i=!1;for(let a=0;a{const{value:w}=n,{common:{cubicBezierEaseInOut:x},self:{buttonBorderColor:y,buttonBorderColorActive:P,buttonBorderRadius:k,buttonBoxShadow:T,buttonBoxShadowFocus:E,buttonBoxShadowHover:R,buttonColor:K,buttonColorActive:N,buttonTextColor:D,buttonTextColorActive:M,buttonTextColorHover:G,opacityDisabled:J,[Re("buttonHeight",w)]:he,[Re("fontSize",w)]:pe}}=d.value;return{"--n-font-size":pe,"--n-bezier":x,"--n-button-border-color":y,"--n-button-border-color-active":P,"--n-button-border-radius":k,"--n-button-box-shadow":T,"--n-button-box-shadow-focus":E,"--n-button-box-shadow-hover":R,"--n-button-color":K,"--n-button-color-active":N,"--n-button-text-color":D,"--n-button-text-color-hover":G,"--n-button-text-color-active":M,"--n-height":he,"--n-opacity-disabled":J}}),S=c?Pt("radio-group",F(()=>n.value[0]),C,e):void 0;return{selfElRef:t,rtlEnabled:_,mergedClsPrefix:l,mergedValue:p,handleFocusout:b,handleFocusin:m,cssVars:c?void 0:C,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){var e;const{mergedValue:t,mergedClsPrefix:n,handleFocusin:o,handleFocusout:r}=this,{children:i,isButtonGroup:a}=uU(Ra(mw(this)),t,n);return(e=this.onRender)===null||e===void 0||e.call(this),v("div",{onFocusin:o,onFocusout:r,ref:"selfElRef",class:[`${n}-radio-group`,this.rtlEnabled&&`${n}-radio-group--rtl`,this.themeClass,a&&`${n}-radio-group--button-group`],style:this.cssVars},i)}}),fU=be({name:"RadioButton",props:G2,setup:X2,render(){const{mergedClsPrefix:e}=this;return v("label",{class:[`${e}-radio-button`,this.mergedDisabled&&`${e}-radio-button--disabled`,this.renderSafeChecked&&`${e}-radio-button--checked`,this.focus&&[`${e}-radio-button--focus`]]},v("input",{ref:"inputRef",type:"radio",class:`${e}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),v("div",{class:`${e}-radio-button__state-border`}),$t(this.$slots.default,t=>!t&&!this.label?null:v("div",{ref:"labelRef",class:`${e}-radio__label`},t||this.label)))}}),Q2=40,eS=40;function i1(e){if(e.type==="selection")return e.width===void 0?Q2:bn(e.width);if(e.type==="expand")return e.width===void 0?eS:bn(e.width);if(!("children"in e))return typeof e.width=="string"?bn(e.width):e.width}function hU(e){var t,n;if(e.type==="selection")return qt((t=e.width)!==null&&t!==void 0?t:Q2);if(e.type==="expand")return qt((n=e.width)!==null&&n!==void 0?n:eS);if(!("children"in e))return qt(e.width)}function wo(e){return e.type==="selection"?"__n_selection__":e.type==="expand"?"__n_expand__":e.key}function a1(e){return e&&(typeof e=="object"?Object.assign({},e):e)}function pU(e){return e==="ascend"?1:e==="descend"?-1:0}function mU(e,t,n){return n!==void 0&&(e=Math.min(e,typeof n=="number"?n:Number.parseFloat(n))),t!==void 0&&(e=Math.max(e,typeof t=="number"?t:Number.parseFloat(t))),e}function gU(e,t){if(t!==void 0)return{width:t,minWidth:t,maxWidth:t};const n=hU(e),{minWidth:o,maxWidth:r}=e;return{width:n,minWidth:qt(o)||n,maxWidth:qt(r)}}function vU(e,t,n){return typeof n=="function"?n(e,t):n||""}function of(e){return e.filterOptionValues!==void 0||e.filterOptionValue===void 0&&e.defaultFilterOptionValues!==void 0}function rf(e){return"children"in e?!1:!!e.sorter}function tS(e){return"children"in e&&e.children.length?!1:!!e.resizable}function s1(e){return"children"in e?!1:!!e.filter&&(!!e.filterOptions||!!e.renderFilterMenu)}function l1(e){if(e){if(e==="descend")return"ascend"}else return"descend";return!1}function bU(e,t){return e.sorter===void 0?null:t===null||t.columnKey!==e.key?{columnKey:e.key,sorter:e.sorter,order:l1(!1)}:Object.assign(Object.assign({},t),{order:l1(t.order)})}function nS(e,t){return t.find(n=>n.columnKey===e.key&&n.order)!==void 0}function yU(e){return typeof e=="string"?e.replace(/,/g,"\\,"):e==null?"":`${e}`.replace(/,/g,"\\,")}function xU(e,t){const n=e.filter(i=>i.type!=="expand"&&i.type!=="selection"),o=n.map(i=>i.title).join(","),r=t.map(i=>n.map(a=>yU(i[a.key])).join(","));return[o,...r].join(` +`)}const CU=be({name:"DataTableFilterMenu",props:{column:{type:Object,required:!0},radioGroupName:{type:String,required:!0},multiple:{type:Boolean,required:!0},value:{type:[Array,String,Number],default:null},options:{type:Array,required:!0},onConfirm:{type:Function,required:!0},onClear:{type:Function,required:!0},onChange:{type:Function,required:!0}},setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=st(e),o=pn("DataTable",n,t),{mergedClsPrefixRef:r,mergedThemeRef:i,localeRef:a}=Ue(Oo),s=W(e.value),l=F(()=>{const{value:p}=s;return Array.isArray(p)?p:null}),c=F(()=>{const{value:p}=s;return of(e.column)?Array.isArray(p)&&p.length&&p[0]||null:Array.isArray(p)?null:p});function u(p){e.onChange(p)}function d(p){e.multiple&&Array.isArray(p)?s.value=p:of(e.column)&&!Array.isArray(p)?s.value=[p]:s.value=p}function f(){u(s.value),e.onConfirm()}function h(){e.multiple||of(e.column)?u([]):u(null),e.onClear()}return{mergedClsPrefix:r,rtlEnabled:o,mergedTheme:i,locale:a,checkboxGroupValue:l,radioGroupValue:c,handleChange:d,handleConfirmClick:f,handleClearClick:h}},render(){const{mergedTheme:e,locale:t,mergedClsPrefix:n}=this;return v("div",{class:[`${n}-data-table-filter-menu`,this.rtlEnabled&&`${n}-data-table-filter-menu--rtl`]},v(Io,null,{default:()=>{const{checkboxGroupValue:o,handleChange:r}=this;return this.multiple?v(lW,{value:o,class:`${n}-data-table-filter-menu__group`,onUpdateValue:r},{default:()=>this.options.map(i=>v(ml,{key:i.value,theme:e.peers.Checkbox,themeOverrides:e.peerOverrides.Checkbox,value:i.value},{default:()=>i.label}))}):v(J2,{name:this.radioGroupName,class:`${n}-data-table-filter-menu__group`,value:this.radioGroupValue,onUpdateValue:this.handleChange},{default:()=>this.options.map(i=>v(Z2,{key:i.value,value:i.value,theme:e.peers.Radio,themeOverrides:e.peerOverrides.Radio},{default:()=>i.label}))})}}),v("div",{class:`${n}-data-table-filter-menu__action`},v(zt,{size:"tiny",theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,onClick:this.handleClearClick},{default:()=>t.clear}),v(zt,{theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,type:"primary",size:"tiny",onClick:this.handleConfirmClick},{default:()=>t.confirm})))}}),wU=be({name:"DataTableRenderFilter",props:{render:{type:Function,required:!0},active:{type:Boolean,default:!1},show:{type:Boolean,default:!1}},render(){const{render:e,active:t,show:n}=this;return e({active:t,show:n})}});function _U(e,t,n){const o=Object.assign({},e);return o[t]=n,o}const SU=be({name:"DataTableFilterButton",props:{column:{type:Object,required:!0},options:{type:Array,default:()=>[]}},setup(e){const{mergedComponentPropsRef:t}=st(),{mergedThemeRef:n,mergedClsPrefixRef:o,mergedFilterStateRef:r,filterMenuCssVarsRef:i,paginationBehaviorOnFilterRef:a,doUpdatePage:s,doUpdateFilters:l,filterIconPopoverPropsRef:c}=Ue(Oo),u=W(!1),d=r,f=F(()=>e.column.filterMultiple!==!1),h=F(()=>{const C=d.value[e.column.key];if(C===void 0){const{value:S}=f;return S?[]:null}return C}),p=F(()=>{const{value:C}=h;return Array.isArray(C)?C.length>0:C!==null}),g=F(()=>{var C,S;return((S=(C=t==null?void 0:t.value)===null||C===void 0?void 0:C.DataTable)===null||S===void 0?void 0:S.renderFilter)||e.column.renderFilter});function m(C){const S=_U(d.value,e.column.key,C);l(S,e.column),a.value==="first"&&s(1)}function b(){u.value=!1}function _(){u.value=!1}return{mergedTheme:n,mergedClsPrefix:o,active:p,showPopover:u,mergedRenderFilter:g,filterIconPopoverProps:c,filterMultiple:f,mergedFilterValue:h,filterMenuCssVars:i,handleFilterChange:m,handleFilterMenuConfirm:_,handleFilterMenuCancel:b}},render(){const{mergedTheme:e,mergedClsPrefix:t,handleFilterMenuCancel:n,filterIconPopoverProps:o}=this;return v(hl,Object.assign({show:this.showPopover,onUpdateShow:r=>this.showPopover=r,trigger:"click",theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,placement:"bottom"},o,{style:{padding:0}}),{trigger:()=>{const{mergedRenderFilter:r}=this;if(r)return v(wU,{"data-data-table-filter":!0,render:r,active:this.active,show:this.showPopover});const{renderFilterIcon:i}=this.column;return v("div",{"data-data-table-filter":!0,class:[`${t}-data-table-filter`,{[`${t}-data-table-filter--active`]:this.active,[`${t}-data-table-filter--show`]:this.showPopover}]},i?i({active:this.active,show:this.showPopover}):v(Ut,{clsPrefix:t},{default:()=>v(DN,null)}))},default:()=>{const{renderFilterMenu:r}=this.column;return r?r({hide:n}):v(CU,{style:this.filterMenuCssVars,radioGroupName:String(this.column.key),multiple:this.filterMultiple,value:this.mergedFilterValue,options:this.options,column:this.column,onChange:this.handleFilterChange,onClear:this.handleFilterMenuCancel,onConfirm:this.handleFilterMenuConfirm})}})}}),kU=be({name:"ColumnResizeButton",props:{onResizeStart:Function,onResize:Function,onResizeEnd:Function},setup(e){const{mergedClsPrefixRef:t}=Ue(Oo),n=W(!1);let o=0;function r(l){return l.clientX}function i(l){var c;l.preventDefault();const u=n.value;o=r(l),n.value=!0,u||(At("mousemove",window,a),At("mouseup",window,s),(c=e.onResizeStart)===null||c===void 0||c.call(e))}function a(l){var c;(c=e.onResize)===null||c===void 0||c.call(e,r(l)-o)}function s(){var l;n.value=!1,(l=e.onResizeEnd)===null||l===void 0||l.call(e),Tt("mousemove",window,a),Tt("mouseup",window,s)}return on(()=>{Tt("mousemove",window,a),Tt("mouseup",window,s)}),{mergedClsPrefix:t,active:n,handleMousedown:i}},render(){const{mergedClsPrefix:e}=this;return v("span",{"data-data-table-resizable":!0,class:[`${e}-data-table-resize-button`,this.active&&`${e}-data-table-resize-button--active`],onMousedown:this.handleMousedown})}}),oS=be({name:"DropdownDivider",props:{clsPrefix:{type:String,required:!0}},render(){return v("div",{class:`${this.clsPrefix}-dropdown-divider`})}});function rS(e){const{textColorBase:t,opacity1:n,opacity2:o,opacity3:r,opacity4:i,opacity5:a}=e;return{color:t,opacity1Depth:n,opacity2Depth:o,opacity3Depth:r,opacity4Depth:i,opacity5Depth:a}}const PU={name:"Icon",common:xt,self:rS},TU=PU,RU={name:"Icon",common:je,self:rS},EU=RU,$U=z("icon",` height: 1em; width: 1em; line-height: 1em; @@ -1985,7 +1982,7 @@ ${t} position: relative; fill: currentColor; transform: translateZ(0); -`,[Z("color-transition",{transition:"color .3s var(--n-bezier)"}),Z("depth",{color:"var(--n-color)"},[q("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),q("svg",{height:"1em",width:"1em"})]),NW=Object.assign(Object.assign({},Be.props),{depth:[String,Number],size:[Number,String],color:String,component:Object}),mr=ve({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:NW,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Icon","-icon",BW,DW,e,t),r=L(()=>{const{depth:a}=e,{common:{cubicBezierEaseInOut:s},self:l}=o.value;if(a!==void 0){const{color:c,[`opacity${a}Depth`]:u}=l;return{"--n-bezier":s,"--n-color":c,"--n-opacity":u}}return{"--n-bezier":s,"--n-color":"","--n-opacity":""}}),i=n?kt("icon",L(()=>`${e.depth||"d"}`),r,e):void 0;return{mergedClsPrefix:t,mergedStyle:L(()=>{const{size:a,color:s}=e;return{fontSize:qt(a),color:s}}),cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$parent:t,depth:n,mergedClsPrefix:o,component:r,onRender:i,themeClass:a}=this;return!((e=t==null?void 0:t.$options)===null||e===void 0)&&e._n_icon__&&ar("icon","don't wrap `n-icon` inside `n-icon`"),i==null||i(),g("i",Ln(this.$attrs,{role:"img",class:[`${o}-icon`,a,{[`${o}-icon--depth`]:n,[`${o}-icon--color-transition`]:n!==void 0}],style:[this.cssVars,this.mergedStyle]}),r?g(r):this.$slots)}}),mm="n-dropdown-menu",zu="n-dropdown",q0="n-dropdown-option";function Th(e,t){return e.type==="submenu"||e.type===void 0&&e[t]!==void 0}function HW(e){return e.type==="group"}function I2(e){return e.type==="divider"}function jW(e){return e.type==="render"}const O2=ve({name:"DropdownOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null},placement:{type:String,default:"right-start"},props:Object,scrollable:Boolean},setup(e){const t=We(zu),{hoverKeyRef:n,keyboardKeyRef:o,lastToggledSubmenuKeyRef:r,pendingKeyPathRef:i,activeKeyPathRef:a,animatedRef:s,mergedShowRef:l,renderLabelRef:c,renderIconRef:u,labelFieldRef:d,childrenFieldRef:f,renderOptionRef:p,nodePropsRef:h,menuPropsRef:m}=t,v=We(q0,null),b=We(mm),w=We(La),C=L(()=>e.tmNode.rawNode),S=L(()=>{const{value:Y}=f;return Th(e.tmNode.rawNode,Y)}),_=L(()=>{const{disabled:Y}=e.tmNode;return Y}),x=L(()=>{if(!S.value)return!1;const{key:Y,disabled:Q}=e.tmNode;if(Q)return!1;const{value:de}=n,{value:pe}=o,{value:B}=r,{value:E}=i;return de!==null?E.includes(Y):pe!==null?E.includes(Y)&&E[E.length-1]!==Y:B!==null?E.includes(Y):!1}),y=L(()=>o.value===null&&!s.value),k=$6(x,300,y),P=L(()=>!!(v!=null&&v.enteringSubmenuRef.value)),T=W(!1);at(q0,{enteringSubmenuRef:T});function $(){T.value=!0}function R(){T.value=!1}function K(){const{parentKey:Y,tmNode:Q}=e;Q.disabled||l.value&&(r.value=Y,o.value=null,n.value=Q.key)}function j(){const{tmNode:Y}=e;Y.disabled||l.value&&n.value!==Y.key&&K()}function D(Y){if(e.tmNode.disabled||!l.value)return;const{relatedTarget:Q}=Y;Q&&!wo({target:Q},"dropdownOption")&&!wo({target:Q},"scrollbarRail")&&(n.value=null)}function M(){const{value:Y}=S,{tmNode:Q}=e;l.value&&!Y&&!Q.disabled&&(t.doSelect(Q.key,Q.rawNode),t.doUpdateShow(!1))}return{labelField:d,renderLabel:c,renderIcon:u,siblingHasIcon:b.showIconRef,siblingHasSubmenu:b.hasSubmenuRef,menuProps:m,popoverBody:w,animated:s,mergedShowSubmenu:L(()=>k.value&&!P.value),rawNode:C,hasSubmenu:S,pending:St(()=>{const{value:Y}=i,{key:Q}=e.tmNode;return Y.includes(Q)}),childActive:St(()=>{const{value:Y}=a,{key:Q}=e.tmNode,de=Y.findIndex(pe=>Q===pe);return de===-1?!1:de{const{value:Y}=a,{key:Q}=e.tmNode,de=Y.findIndex(pe=>Q===pe);return de===-1?!1:de===Y.length-1}),mergedDisabled:_,renderOption:p,nodeProps:h,handleClick:M,handleMouseMove:j,handleMouseEnter:K,handleMouseLeave:D,handleSubmenuBeforeEnter:$,handleSubmenuAfterEnter:R}},render(){var e,t;const{animated:n,rawNode:o,mergedShowSubmenu:r,clsPrefix:i,siblingHasIcon:a,siblingHasSubmenu:s,renderLabel:l,renderIcon:c,renderOption:u,nodeProps:d,props:f,scrollable:p}=this;let h=null;if(r){const w=(e=this.menuProps)===null||e===void 0?void 0:e.call(this,o,o.children);h=g(M2,Object.assign({},w,{clsPrefix:i,scrollable:this.scrollable,tmNodes:this.tmNode.children,parentKey:this.tmNode.key}))}const m={class:[`${i}-dropdown-option-body`,this.pending&&`${i}-dropdown-option-body--pending`,this.active&&`${i}-dropdown-option-body--active`,this.childActive&&`${i}-dropdown-option-body--child-active`,this.mergedDisabled&&`${i}-dropdown-option-body--disabled`],onMousemove:this.handleMouseMove,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onClick:this.handleClick},v=d==null?void 0:d(o),b=g("div",Object.assign({class:[`${i}-dropdown-option`,v==null?void 0:v.class],"data-dropdown-option":!0},v),g("div",Ln(m,f),[g("div",{class:[`${i}-dropdown-option-body__prefix`,a&&`${i}-dropdown-option-body__prefix--show-icon`]},[c?c(o):Wt(o.icon)]),g("div",{"data-dropdown-option":!0,class:`${i}-dropdown-option-body__label`},l?l(o):Wt((t=o[this.labelField])!==null&&t!==void 0?t:o.title)),g("div",{"data-dropdown-option":!0,class:[`${i}-dropdown-option-body__suffix`,s&&`${i}-dropdown-option-body__suffix--has-submenu`]},this.hasSubmenu?g(mr,null,{default:()=>g(Jp,null)}):null)]),this.hasSubmenu?g(Ip,null,{default:()=>[g(Op,null,{default:()=>g("div",{class:`${i}-dropdown-offset-container`},g(zp,{show:this.mergedShowSubmenu,placement:this.placement,to:p&&this.popoverBody||void 0,teleportDisabled:!p},{default:()=>g("div",{class:`${i}-dropdown-menu-wrapper`},n?g(fn,{onBeforeEnter:this.handleSubmenuBeforeEnter,onAfterEnter:this.handleSubmenuAfterEnter,name:"fade-in-scale-up-transition",appear:!0},{default:()=>h}):h)}))})]}):null);return u?u({node:b,option:o}):b}}),VW=ve({name:"DropdownGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{showIconRef:e,hasSubmenuRef:t}=We(mm),{renderLabelRef:n,labelFieldRef:o,nodePropsRef:r,renderOptionRef:i}=We(zu);return{labelField:o,showIcon:e,hasSubmenu:t,renderLabel:n,nodeProps:r,renderOption:i}},render(){var e;const{clsPrefix:t,hasSubmenu:n,showIcon:o,nodeProps:r,renderLabel:i,renderOption:a}=this,{rawNode:s}=this.tmNode,l=g("div",Object.assign({class:`${t}-dropdown-option`},r==null?void 0:r(s)),g("div",{class:`${t}-dropdown-option-body ${t}-dropdown-option-body--group`},g("div",{"data-dropdown-option":!0,class:[`${t}-dropdown-option-body__prefix`,o&&`${t}-dropdown-option-body__prefix--show-icon`]},Wt(s.icon)),g("div",{class:`${t}-dropdown-option-body__label`,"data-dropdown-option":!0},i?i(s):Wt((e=s.title)!==null&&e!==void 0?e:s[this.labelField])),g("div",{class:[`${t}-dropdown-option-body__suffix`,n&&`${t}-dropdown-option-body__suffix--has-submenu`],"data-dropdown-option":!0})));return a?a({node:l,option:s}):l}}),WW=ve({name:"NDropdownGroup",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null}},render(){const{tmNode:e,parentKey:t,clsPrefix:n}=this,{children:o}=e;return g(rt,null,g(VW,{clsPrefix:n,tmNode:e,key:e.key}),o==null?void 0:o.map(r=>{const{rawNode:i}=r;return i.show===!1?null:I2(i)?g($2,{clsPrefix:n,key:r.key}):r.isGroup?(ar("dropdown","`group` node is not allowed to be put in `group` node."),null):g(O2,{clsPrefix:n,tmNode:r,parentKey:t,key:r.key})}))}}),UW=ve({name:"DropdownRenderOption",props:{tmNode:{type:Object,required:!0}},render(){const{rawNode:{render:e,props:t}}=this.tmNode;return g("div",t,[e==null?void 0:e()])}}),M2=ve({name:"DropdownMenu",props:{scrollable:Boolean,showArrow:Boolean,arrowStyle:[String,Object],clsPrefix:{type:String,required:!0},tmNodes:{type:Array,default:()=>[]},parentKey:{type:[String,Number],default:null}},setup(e){const{renderIconRef:t,childrenFieldRef:n}=We(zu);at(mm,{showIconRef:L(()=>{const r=t.value;return e.tmNodes.some(i=>{var a;if(i.isGroup)return(a=i.children)===null||a===void 0?void 0:a.some(({rawNode:l})=>r?r(l):l.icon);const{rawNode:s}=i;return r?r(s):s.icon})}),hasSubmenuRef:L(()=>{const{value:r}=n;return e.tmNodes.some(i=>{var a;if(i.isGroup)return(a=i.children)===null||a===void 0?void 0:a.some(({rawNode:l})=>Th(l,r));const{rawNode:s}=i;return Th(s,r)})})});const o=W(null);return at(il,null),at(al,null),at(La,o),{bodyRef:o}},render(){const{parentKey:e,clsPrefix:t,scrollable:n}=this,o=this.tmNodes.map(r=>{const{rawNode:i}=r;return i.show===!1?null:jW(i)?g(UW,{tmNode:r,key:r.key}):I2(i)?g($2,{clsPrefix:t,key:r.key}):HW(i)?g(WW,{clsPrefix:t,tmNode:r,parentKey:e,key:r.key}):g(O2,{clsPrefix:t,tmNode:r,parentKey:e,key:r.key,props:i.props,scrollable:n})});return g("div",{class:[`${t}-dropdown-menu`,n&&`${t}-dropdown-menu--scrollable`],ref:"bodyRef"},n?g(S_,{contentClass:`${t}-dropdown-menu__content`},{default:()=>o}):o,this.showArrow?E_({clsPrefix:t,arrowStyle:this.arrowStyle,arrowClass:void 0,arrowWrapperClass:void 0,arrowWrapperStyle:void 0}):null)}}),qW=z("dropdown-menu",` +`,[Z("color-transition",{transition:"color .3s var(--n-bezier)"}),Z("depth",{color:"var(--n-color)"},[q("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),q("svg",{height:"1em",width:"1em"})]),AU=Object.assign(Object.assign({},Be.props),{depth:[String,Number],size:[Number,String],color:String,component:Object}),vr=be({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:AU,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Icon","-icon",$U,TU,e,t),r=F(()=>{const{depth:a}=e,{common:{cubicBezierEaseInOut:s},self:l}=o.value;if(a!==void 0){const{color:c,[`opacity${a}Depth`]:u}=l;return{"--n-bezier":s,"--n-color":c,"--n-opacity":u}}return{"--n-bezier":s,"--n-color":"","--n-opacity":""}}),i=n?Pt("icon",F(()=>`${e.depth||"d"}`),r,e):void 0;return{mergedClsPrefix:t,mergedStyle:F(()=>{const{size:a,color:s}=e;return{fontSize:qt(a),color:s}}),cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$parent:t,depth:n,mergedClsPrefix:o,component:r,onRender:i,themeClass:a}=this;return!((e=t==null?void 0:t.$options)===null||e===void 0)&&e._n_icon__&&lr("icon","don't wrap `n-icon` inside `n-icon`"),i==null||i(),v("i",Ln(this.$attrs,{role:"img",class:[`${o}-icon`,a,{[`${o}-icon--depth`]:n,[`${o}-icon--color-transition`]:n!==void 0}],style:[this.cssVars,this.mergedStyle]}),r?v(r):this.$slots)}}),Em="n-dropdown-menu",Bu="n-dropdown",c1="n-dropdown-option";function Nh(e,t){return e.type==="submenu"||e.type===void 0&&e[t]!==void 0}function IU(e){return e.type==="group"}function iS(e){return e.type==="divider"}function OU(e){return e.type==="render"}const aS=be({name:"DropdownOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null},placement:{type:String,default:"right-start"},props:Object,scrollable:Boolean},setup(e){const t=Ue(Bu),{hoverKeyRef:n,keyboardKeyRef:o,lastToggledSubmenuKeyRef:r,pendingKeyPathRef:i,activeKeyPathRef:a,animatedRef:s,mergedShowRef:l,renderLabelRef:c,renderIconRef:u,labelFieldRef:d,childrenFieldRef:f,renderOptionRef:h,nodePropsRef:p,menuPropsRef:g}=t,m=Ue(c1,null),b=Ue(Em),_=Ue(Va),C=F(()=>e.tmNode.rawNode),S=F(()=>{const{value:G}=f;return Nh(e.tmNode.rawNode,G)}),w=F(()=>{const{disabled:G}=e.tmNode;return G}),x=F(()=>{if(!S.value)return!1;const{key:G,disabled:J}=e.tmNode;if(J)return!1;const{value:he}=n,{value:pe}=o,{value:B}=r,{value:$}=i;return he!==null?$.includes(G):pe!==null?$.includes(G)&&$[$.length-1]!==G:B!==null?$.includes(G):!1}),y=F(()=>o.value===null&&!s.value),P=x8(x,300,y),k=F(()=>!!(m!=null&&m.enteringSubmenuRef.value)),T=W(!1);at(c1,{enteringSubmenuRef:T});function E(){T.value=!0}function R(){T.value=!1}function K(){const{parentKey:G,tmNode:J}=e;J.disabled||l.value&&(r.value=G,o.value=null,n.value=J.key)}function N(){const{tmNode:G}=e;G.disabled||l.value&&n.value!==G.key&&K()}function D(G){if(e.tmNode.disabled||!l.value)return;const{relatedTarget:J}=G;J&&!so({target:J},"dropdownOption")&&!so({target:J},"scrollbarRail")&&(n.value=null)}function M(){const{value:G}=S,{tmNode:J}=e;l.value&&!G&&!J.disabled&&(t.doSelect(J.key,J.rawNode),t.doUpdateShow(!1))}return{labelField:d,renderLabel:c,renderIcon:u,siblingHasIcon:b.showIconRef,siblingHasSubmenu:b.hasSubmenuRef,menuProps:g,popoverBody:_,animated:s,mergedShowSubmenu:F(()=>P.value&&!k.value),rawNode:C,hasSubmenu:S,pending:kt(()=>{const{value:G}=i,{key:J}=e.tmNode;return G.includes(J)}),childActive:kt(()=>{const{value:G}=a,{key:J}=e.tmNode,he=G.findIndex(pe=>J===pe);return he===-1?!1:he{const{value:G}=a,{key:J}=e.tmNode,he=G.findIndex(pe=>J===pe);return he===-1?!1:he===G.length-1}),mergedDisabled:w,renderOption:h,nodeProps:p,handleClick:M,handleMouseMove:N,handleMouseEnter:K,handleMouseLeave:D,handleSubmenuBeforeEnter:E,handleSubmenuAfterEnter:R}},render(){var e,t;const{animated:n,rawNode:o,mergedShowSubmenu:r,clsPrefix:i,siblingHasIcon:a,siblingHasSubmenu:s,renderLabel:l,renderIcon:c,renderOption:u,nodeProps:d,props:f,scrollable:h}=this;let p=null;if(r){const _=(e=this.menuProps)===null||e===void 0?void 0:e.call(this,o,o.children);p=v(sS,Object.assign({},_,{clsPrefix:i,scrollable:this.scrollable,tmNodes:this.tmNode.children,parentKey:this.tmNode.key}))}const g={class:[`${i}-dropdown-option-body`,this.pending&&`${i}-dropdown-option-body--pending`,this.active&&`${i}-dropdown-option-body--active`,this.childActive&&`${i}-dropdown-option-body--child-active`,this.mergedDisabled&&`${i}-dropdown-option-body--disabled`],onMousemove:this.handleMouseMove,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onClick:this.handleClick},m=d==null?void 0:d(o),b=v("div",Object.assign({class:[`${i}-dropdown-option`,m==null?void 0:m.class],"data-dropdown-option":!0},m),v("div",Ln(g,f),[v("div",{class:[`${i}-dropdown-option-body__prefix`,a&&`${i}-dropdown-option-body__prefix--show-icon`]},[c?c(o):Wt(o.icon)]),v("div",{"data-dropdown-option":!0,class:`${i}-dropdown-option-body__label`},l?l(o):Wt((t=o[this.labelField])!==null&&t!==void 0?t:o.title)),v("div",{"data-dropdown-option":!0,class:[`${i}-dropdown-option-body__suffix`,s&&`${i}-dropdown-option-body__suffix--has-submenu`]},this.hasSubmenu?v(vr,null,{default:()=>v(fm,null)}):null)]),this.hasSubmenu?v(qp,null,{default:()=>[v(Kp,null,{default:()=>v("div",{class:`${i}-dropdown-offset-container`},v(Yp,{show:this.mergedShowSubmenu,placement:this.placement,to:h&&this.popoverBody||void 0,teleportDisabled:!h},{default:()=>v("div",{class:`${i}-dropdown-menu-wrapper`},n?v(fn,{onBeforeEnter:this.handleSubmenuBeforeEnter,onAfterEnter:this.handleSubmenuAfterEnter,name:"fade-in-scale-up-transition",appear:!0},{default:()=>p}):p)}))})]}):null);return u?u({node:b,option:o}):b}}),MU=be({name:"DropdownGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{showIconRef:e,hasSubmenuRef:t}=Ue(Em),{renderLabelRef:n,labelFieldRef:o,nodePropsRef:r,renderOptionRef:i}=Ue(Bu);return{labelField:o,showIcon:e,hasSubmenu:t,renderLabel:n,nodeProps:r,renderOption:i}},render(){var e;const{clsPrefix:t,hasSubmenu:n,showIcon:o,nodeProps:r,renderLabel:i,renderOption:a}=this,{rawNode:s}=this.tmNode,l=v("div",Object.assign({class:`${t}-dropdown-option`},r==null?void 0:r(s)),v("div",{class:`${t}-dropdown-option-body ${t}-dropdown-option-body--group`},v("div",{"data-dropdown-option":!0,class:[`${t}-dropdown-option-body__prefix`,o&&`${t}-dropdown-option-body__prefix--show-icon`]},Wt(s.icon)),v("div",{class:`${t}-dropdown-option-body__label`,"data-dropdown-option":!0},i?i(s):Wt((e=s.title)!==null&&e!==void 0?e:s[this.labelField])),v("div",{class:[`${t}-dropdown-option-body__suffix`,n&&`${t}-dropdown-option-body__suffix--has-submenu`],"data-dropdown-option":!0})));return a?a({node:l,option:s}):l}}),zU=be({name:"NDropdownGroup",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null}},render(){const{tmNode:e,parentKey:t,clsPrefix:n}=this,{children:o}=e;return v(it,null,v(MU,{clsPrefix:n,tmNode:e,key:e.key}),o==null?void 0:o.map(r=>{const{rawNode:i}=r;return i.show===!1?null:iS(i)?v(oS,{clsPrefix:n,key:r.key}):r.isGroup?(lr("dropdown","`group` node is not allowed to be put in `group` node."),null):v(aS,{clsPrefix:n,tmNode:r,parentKey:t,key:r.key})}))}}),DU=be({name:"DropdownRenderOption",props:{tmNode:{type:Object,required:!0}},render(){const{rawNode:{render:e,props:t}}=this.tmNode;return v("div",t,[e==null?void 0:e()])}}),sS=be({name:"DropdownMenu",props:{scrollable:Boolean,showArrow:Boolean,arrowStyle:[String,Object],clsPrefix:{type:String,required:!0},tmNodes:{type:Array,default:()=>[]},parentKey:{type:[String,Number],default:null}},setup(e){const{renderIconRef:t,childrenFieldRef:n}=Ue(Bu);at(Em,{showIconRef:F(()=>{const r=t.value;return e.tmNodes.some(i=>{var a;if(i.isGroup)return(a=i.children)===null||a===void 0?void 0:a.some(({rawNode:l})=>r?r(l):l.icon);const{rawNode:s}=i;return r?r(s):s.icon})}),hasSubmenuRef:F(()=>{const{value:r}=n;return e.tmNodes.some(i=>{var a;if(i.isGroup)return(a=i.children)===null||a===void 0?void 0:a.some(({rawNode:l})=>Nh(l,r));const{rawNode:s}=i;return Nh(s,r)})})});const o=W(null);return at(sl,null),at(ll,null),at(Va,o),{bodyRef:o}},render(){const{parentKey:e,clsPrefix:t,scrollable:n}=this,o=this.tmNodes.map(r=>{const{rawNode:i}=r;return i.show===!1?null:OU(i)?v(DU,{tmNode:r,key:r.key}):iS(i)?v(oS,{clsPrefix:t,key:r.key}):IU(i)?v(zU,{clsPrefix:t,tmNode:r,parentKey:e,key:r.key}):v(aS,{clsPrefix:t,tmNode:r,parentKey:e,key:r.key,props:i.props,scrollable:n})});return v("div",{class:[`${t}-dropdown-menu`,n&&`${t}-dropdown-menu--scrollable`],ref:"bodyRef"},n?v(Z_,{contentClass:`${t}-dropdown-menu__content`},{default:()=>o}):o,this.showArrow?n2({clsPrefix:t,arrowStyle:this.arrowStyle,arrowClass:void 0,arrowWrapperClass:void 0,arrowWrapperStyle:void 0}):null)}}),LU=z("dropdown-menu",` transform-origin: var(--v-transform-origin); background-color: var(--n-color); border-radius: var(--n-border-radius); @@ -1994,7 +1991,7 @@ ${t} transition: background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier); -`,[Na(),z("dropdown-option",` +`,[qa(),z("dropdown-option",` position: relative; `,[q("a",` text-decoration: none; @@ -2025,7 +2022,7 @@ ${t} right: 4px; transition: background-color .3s var(--n-bezier); border-radius: var(--n-border-radius); - `),Tt("disabled",[Z("pending",` + `),Rt("disabled",[Z("pending",` color: var(--n-option-text-color-hover); `,[V("prefix, suffix",` color: var(--n-option-text-color-hover); @@ -2097,11 +2094,11 @@ ${t} `),q(">",[z("scrollbar",` height: inherit; max-height: inherit; - `)]),Tt("scrollable",` + `)]),Rt("scrollable",` padding: var(--n-padding); `),Z("scrollable",[V("content",` padding: var(--n-padding); - `)])]),KW={animated:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},size:{type:String,default:"medium"},inverted:Boolean,placement:{type:String,default:"bottom"},onSelect:[Function,Array],options:{type:Array,default:()=>[]},menuProps:Function,showArrow:Boolean,renderLabel:Function,renderIcon:Function,renderOption:Function,nodeProps:Function,labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},value:[String,Number]},GW=Object.keys(Pa),YW=Object.assign(Object.assign(Object.assign({},Pa),KW),Be.props),gm=ve({name:"Dropdown",inheritAttrs:!1,props:YW,setup(e){const t=W(!1),n=sn(Ve(e,"show"),t),o=L(()=>{const{keyField:R,childrenField:K}=e;return wi(e.options,{getKey(j){return j[R]},getDisabled(j){return j.disabled===!0},getIgnored(j){return j.type==="divider"||j.type==="render"},getChildren(j){return j[K]}})}),r=L(()=>o.value.treeNodes),i=W(null),a=W(null),s=W(null),l=L(()=>{var R,K,j;return(j=(K=(R=i.value)!==null&&R!==void 0?R:a.value)!==null&&K!==void 0?K:s.value)!==null&&j!==void 0?j:null}),c=L(()=>o.value.getPath(l.value).keyPath),u=L(()=>o.value.getPath(e.value).keyPath),d=St(()=>e.keyboard&&n.value);j6({keydown:{ArrowUp:{prevent:!0,handler:_},ArrowRight:{prevent:!0,handler:S},ArrowDown:{prevent:!0,handler:x},ArrowLeft:{prevent:!0,handler:C},Enter:{prevent:!0,handler:y},Escape:w}},d);const{mergedClsPrefixRef:f,inlineThemeDisabled:p}=st(e),h=Be("Dropdown","-dropdown",qW,fm,e,f);at(zu,{labelFieldRef:Ve(e,"labelField"),childrenFieldRef:Ve(e,"childrenField"),renderLabelRef:Ve(e,"renderLabel"),renderIconRef:Ve(e,"renderIcon"),hoverKeyRef:i,keyboardKeyRef:a,lastToggledSubmenuKeyRef:s,pendingKeyPathRef:c,activeKeyPathRef:u,animatedRef:Ve(e,"animated"),mergedShowRef:n,nodePropsRef:Ve(e,"nodeProps"),renderOptionRef:Ve(e,"renderOption"),menuPropsRef:Ve(e,"menuProps"),doSelect:m,doUpdateShow:v}),ft(n,R=>{!e.animated&&!R&&b()});function m(R,K){const{onSelect:j}=e;j&&Ee(j,R,K)}function v(R){const{"onUpdate:show":K,onUpdateShow:j}=e;K&&Ee(K,R),j&&Ee(j,R),t.value=R}function b(){i.value=null,a.value=null,s.value=null}function w(){v(!1)}function C(){P("left")}function S(){P("right")}function _(){P("up")}function x(){P("down")}function y(){const R=k();R!=null&&R.isLeaf&&n.value&&(m(R.key,R.rawNode),v(!1))}function k(){var R;const{value:K}=o,{value:j}=l;return!K||j===null?null:(R=K.getNode(j))!==null&&R!==void 0?R:null}function P(R){const{value:K}=l,{value:{getFirstAvailableNode:j}}=o;let D=null;if(K===null){const M=j();M!==null&&(D=M.key)}else{const M=k();if(M){let Y;switch(R){case"down":Y=M.getNext();break;case"up":Y=M.getPrev();break;case"right":Y=M.getChild();break;case"left":Y=M.getParent();break}Y&&(D=Y.key)}}D!==null&&(i.value=null,a.value=D)}const T=L(()=>{const{size:R,inverted:K}=e,{common:{cubicBezierEaseInOut:j},self:D}=h.value,{padding:M,dividerColor:Y,borderRadius:Q,optionOpacityDisabled:de,[Te("optionIconSuffixWidth",R)]:pe,[Te("optionSuffixWidth",R)]:B,[Te("optionIconPrefixWidth",R)]:E,[Te("optionPrefixWidth",R)]:A,[Te("fontSize",R)]:G,[Te("optionHeight",R)]:oe,[Te("optionIconSize",R)]:fe}=D,J={"--n-bezier":j,"--n-font-size":G,"--n-padding":M,"--n-border-radius":Q,"--n-option-height":oe,"--n-option-prefix-width":A,"--n-option-icon-prefix-width":E,"--n-option-suffix-width":B,"--n-option-icon-suffix-width":pe,"--n-option-icon-size":fe,"--n-divider-color":Y,"--n-option-opacity-disabled":de};return K?(J["--n-color"]=D.colorInverted,J["--n-option-color-hover"]=D.optionColorHoverInverted,J["--n-option-color-active"]=D.optionColorActiveInverted,J["--n-option-text-color"]=D.optionTextColorInverted,J["--n-option-text-color-hover"]=D.optionTextColorHoverInverted,J["--n-option-text-color-active"]=D.optionTextColorActiveInverted,J["--n-option-text-color-child-active"]=D.optionTextColorChildActiveInverted,J["--n-prefix-color"]=D.prefixColorInverted,J["--n-suffix-color"]=D.suffixColorInverted,J["--n-group-header-text-color"]=D.groupHeaderTextColorInverted):(J["--n-color"]=D.color,J["--n-option-color-hover"]=D.optionColorHover,J["--n-option-color-active"]=D.optionColorActive,J["--n-option-text-color"]=D.optionTextColor,J["--n-option-text-color-hover"]=D.optionTextColorHover,J["--n-option-text-color-active"]=D.optionTextColorActive,J["--n-option-text-color-child-active"]=D.optionTextColorChildActive,J["--n-prefix-color"]=D.prefixColor,J["--n-suffix-color"]=D.suffixColor,J["--n-group-header-text-color"]=D.groupHeaderTextColor),J}),$=p?kt("dropdown",L(()=>`${e.size[0]}${e.inverted?"i":""}`),T,e):void 0;return{mergedClsPrefix:f,mergedTheme:h,tmNodes:r,mergedShow:n,handleAfterLeave:()=>{e.animated&&b()},doUpdateShow:v,cssVars:p?void 0:T,themeClass:$==null?void 0:$.themeClass,onRender:$==null?void 0:$.onRender}},render(){const e=(o,r,i,a,s)=>{var l;const{mergedClsPrefix:c,menuProps:u}=this;(l=this.onRender)===null||l===void 0||l.call(this);const d=(u==null?void 0:u(void 0,this.tmNodes.map(p=>p.rawNode)))||{},f={ref:VC(r),class:[o,`${c}-dropdown`,this.themeClass],clsPrefix:c,tmNodes:this.tmNodes,style:[...i,this.cssVars],showArrow:this.showArrow,arrowStyle:this.arrowStyle,scrollable:this.scrollable,onMouseenter:a,onMouseleave:s};return g(M2,Ln(this.$attrs,f,d))},{mergedTheme:t}=this,n={show:this.mergedShow,theme:t.peers.Popover,themeOverrides:t.peerOverrides.Popover,internalOnAfterLeave:this.handleAfterLeave,internalRenderBody:e,onUpdateShow:this.doUpdateShow,"onUpdate:show":void 0};return g(dl,Object.assign({},Xn(this.$props,GW),n),{trigger:()=>{var o,r;return(r=(o=this.$slots).default)===null||r===void 0?void 0:r.call(o)}})}}),z2="_n_all__",D2="_n_none__";function XW(e,t,n,o){return e?r=>{for(const i of e)switch(r){case z2:n(!0);return;case D2:o(!0);return;default:if(typeof i=="object"&&i.key===r){i.onSelect(t.value);return}}}:()=>{}}function ZW(e,t){return e?e.map(n=>{switch(n){case"all":return{label:t.checkTableAll,key:z2};case"none":return{label:t.uncheckTableAll,key:D2};default:return n}}):[]}const JW=ve({name:"DataTableSelectionMenu",props:{clsPrefix:{type:String,required:!0}},setup(e){const{props:t,localeRef:n,checkOptionsRef:o,rawPaginatedDataRef:r,doCheckAll:i,doUncheckAll:a}=We(Ro),s=L(()=>XW(o.value,r,i,a)),l=L(()=>ZW(o.value,n.value));return()=>{var c,u,d,f;const{clsPrefix:p}=e;return g(gm,{theme:(u=(c=t.theme)===null||c===void 0?void 0:c.peers)===null||u===void 0?void 0:u.Dropdown,themeOverrides:(f=(d=t.themeOverrides)===null||d===void 0?void 0:d.peers)===null||f===void 0?void 0:f.Dropdown,options:l.value,onSelect:s.value},{default:()=>g(Ut,{clsPrefix:p,class:`${p}-data-table-check-extra`},{default:()=>g(m_,null)})})}}});function Gd(e){return typeof e.title=="function"?e.title(e):e.title}const L2=ve({name:"DataTableHeader",props:{discrete:{type:Boolean,default:!0}},setup(){const{mergedClsPrefixRef:e,scrollXRef:t,fixedColumnLeftMapRef:n,fixedColumnRightMapRef:o,mergedCurrentPageRef:r,allRowsCheckedRef:i,someRowsCheckedRef:a,rowsRef:s,colsRef:l,mergedThemeRef:c,checkOptionsRef:u,mergedSortStateRef:d,componentId:f,mergedTableLayoutRef:p,headerCheckboxDisabledRef:h,onUnstableColumnResize:m,doUpdateResizableWidth:v,handleTableHeaderScroll:b,deriveNextSorter:w,doUncheckAll:C,doCheckAll:S}=We(Ro),_=W({});function x(R){const K=_.value[R];return K==null?void 0:K.getBoundingClientRect().width}function y(){i.value?C():S()}function k(R,K){if(wo(R,"dataTableFilter")||wo(R,"dataTableResizable")||!Kd(K))return;const j=d.value.find(M=>M.columnKey===K.key)||null,D=RW(K,j);w(D)}const P=new Map;function T(R){P.set(R.key,x(R.key))}function $(R,K){const j=P.get(R.key);if(j===void 0)return;const D=j+K,M=kW(D,R.minWidth,R.maxWidth);m(D,M,R,x),v(R,M)}return{cellElsRef:_,componentId:f,mergedSortState:d,mergedClsPrefix:e,scrollX:t,fixedColumnLeftMap:n,fixedColumnRightMap:o,currentPage:r,allRowsChecked:i,someRowsChecked:a,rows:s,cols:l,mergedTheme:c,checkOptions:u,mergedTableLayout:p,headerCheckboxDisabled:h,handleCheckboxUpdateChecked:y,handleColHeaderClick:k,handleTableHeaderScroll:b,handleColumnResizeStart:T,handleColumnResize:$}},render(){const{cellElsRef:e,mergedClsPrefix:t,fixedColumnLeftMap:n,fixedColumnRightMap:o,currentPage:r,allRowsChecked:i,someRowsChecked:a,rows:s,cols:l,mergedTheme:c,checkOptions:u,componentId:d,discrete:f,mergedTableLayout:p,headerCheckboxDisabled:h,mergedSortState:m,handleColHeaderClick:v,handleCheckboxUpdateChecked:b,handleColumnResizeStart:w,handleColumnResize:C}=this,S=g("thead",{class:`${t}-data-table-thead`,"data-n-id":d},s.map(y=>g("tr",{class:`${t}-data-table-tr`},y.map(({column:k,colSpan:P,rowSpan:T,isLast:$})=>{var R,K;const j=bo(k),{ellipsis:D}=k,M=()=>k.type==="selection"?k.multiple!==!1?g(rt,null,g(hl,{key:r,privateInsideTable:!0,checked:i,indeterminate:a,disabled:h,onUpdateChecked:b}),u?g(JW,{clsPrefix:t}):null):null:g(rt,null,g("div",{class:`${t}-data-table-th__title-wrapper`},g("div",{class:`${t}-data-table-th__title`},D===!0||D&&!D.tooltip?g("div",{class:`${t}-data-table-th__ellipsis`},Gd(k)):D&&typeof D=="object"?g(pm,Object.assign({},D,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>Gd(k)}):Gd(k)),Kd(k)?g(mW,{column:k}):null),W0(k)?g(OW,{column:k,options:k.filterOptions}):null,R2(k)?g(MW,{onResizeStart:()=>{w(k)},onResize:de=>{C(k,de)}}):null),Y=j in n,Q=j in o;return g("th",{ref:de=>e[j]=de,key:j,style:{textAlign:k.titleAlign||k.align,left:zn((R=n[j])===null||R===void 0?void 0:R.start),right:zn((K=o[j])===null||K===void 0?void 0:K.start)},colspan:P,rowspan:T,"data-col-key":j,class:[`${t}-data-table-th`,(Y||Q)&&`${t}-data-table-th--fixed-${Y?"left":"right"}`,{[`${t}-data-table-th--hover`]:E2(k,m),[`${t}-data-table-th--filterable`]:W0(k),[`${t}-data-table-th--sortable`]:Kd(k),[`${t}-data-table-th--selection`]:k.type==="selection",[`${t}-data-table-th--last`]:$},k.className],onClick:k.type!=="selection"&&k.type!=="expand"&&!("children"in k)?de=>{v(de,k)}:void 0},M())}))));if(!f)return S;const{handleTableHeaderScroll:_,scrollX:x}=this;return g("div",{class:`${t}-data-table-base-table-header`,onScroll:_},g("table",{ref:"body",class:`${t}-data-table-table`,style:{minWidth:qt(x),tableLayout:p}},g("colgroup",null,l.map(y=>g("col",{key:y.key,style:y.style}))),S))}}),QW=ve({name:"DataTableCell",props:{clsPrefix:{type:String,required:!0},row:{type:Object,required:!0},index:{type:Number,required:!0},column:{type:Object,required:!0},isSummary:Boolean,mergedTheme:{type:Object,required:!0},renderCell:Function},render(){var e;const{isSummary:t,column:n,row:o,renderCell:r}=this;let i;const{render:a,key:s,ellipsis:l}=n;if(a&&!t?i=a(o,this.index):t?i=(e=o[s])===null||e===void 0?void 0:e.value:i=r?r(ph(o,s),o,n):ph(o,s),l)if(typeof l=="object"){const{mergedTheme:c}=this;return n.ellipsisComponent==="performant-ellipsis"?g(fW,Object.assign({},l,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>i}):g(pm,Object.assign({},l,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>i})}else return g("span",{class:`${this.clsPrefix}-data-table-td__ellipsis`},i);return i}}),K0=ve({name:"DataTableExpandTrigger",props:{clsPrefix:{type:String,required:!0},expanded:Boolean,loading:Boolean,onClick:{type:Function,required:!0},renderExpandIcon:{type:Function}},render(){const{clsPrefix:e}=this;return g("div",{class:[`${e}-data-table-expand-trigger`,this.expanded&&`${e}-data-table-expand-trigger--expanded`],onClick:this.onClick,onMousedown:t=>{t.preventDefault()}},g(Ni,null,{default:()=>this.loading?g(Jr,{key:"loading",clsPrefix:this.clsPrefix,radius:85,strokeWidth:15,scale:.88}):this.renderExpandIcon?this.renderExpandIcon({expanded:this.expanded}):g(Ut,{clsPrefix:e,key:"base-icon"},{default:()=>g(Jp,null)})}))}}),eU=ve({name:"DataTableBodyCheckbox",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,mergedInderminateRowKeySetRef:n}=We(Ro);return()=>{const{rowKey:o}=e;return g(hl,{privateInsideTable:!0,disabled:e.disabled,indeterminate:n.value.has(o),checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}}),tU=ve({name:"DataTableBodyRadio",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,componentId:n}=We(Ro);return()=>{const{rowKey:o}=e;return g(S2,{name:n,disabled:e.disabled,checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}});function nU(e,t){const n=[];function o(r,i){r.forEach(a=>{a.children&&t.has(a.key)?(n.push({tmNode:a,striped:!1,key:a.key,index:i}),o(a.children,i)):n.push({key:a.key,tmNode:a,striped:!1,index:i})})}return e.forEach(r=>{n.push(r);const{children:i}=r.tmNode;i&&t.has(r.key)&&o(i,r.index)}),n}const oU=ve({props:{clsPrefix:{type:String,required:!0},id:{type:String,required:!0},cols:{type:Array,required:!0},onMouseenter:Function,onMouseleave:Function},render(){const{clsPrefix:e,id:t,cols:n,onMouseenter:o,onMouseleave:r}=this;return g("table",{style:{tableLayout:"fixed"},class:`${e}-data-table-table`,onMouseenter:o,onMouseleave:r},g("colgroup",null,n.map(i=>g("col",{key:i.key,style:i.style}))),g("tbody",{"data-n-id":t,class:`${e}-data-table-tbody`},this.$slots))}}),rU=ve({name:"DataTableBody",props:{onResize:Function,showHeader:Boolean,flexHeight:Boolean,bodyStyle:Object},setup(e){const{slots:t,bodyWidthRef:n,mergedExpandedRowKeysRef:o,mergedClsPrefixRef:r,mergedThemeRef:i,scrollXRef:a,colsRef:s,paginatedDataRef:l,rawPaginatedDataRef:c,fixedColumnLeftMapRef:u,fixedColumnRightMapRef:d,mergedCurrentPageRef:f,rowClassNameRef:p,leftActiveFixedColKeyRef:h,leftActiveFixedChildrenColKeysRef:m,rightActiveFixedColKeyRef:v,rightActiveFixedChildrenColKeysRef:b,renderExpandRef:w,hoverKeyRef:C,summaryRef:S,mergedSortStateRef:_,virtualScrollRef:x,componentId:y,mergedTableLayoutRef:k,childTriggerColIndexRef:P,indentRef:T,rowPropsRef:$,maxHeightRef:R,stripedRef:K,loadingRef:j,onLoadRef:D,loadingKeySetRef:M,expandableRef:Y,stickyExpandedRowsRef:Q,renderExpandIconRef:de,summaryPlacementRef:pe,treeMateRef:B,scrollbarPropsRef:E,setHeaderScrollLeft:A,doUpdateExpandedRowKeys:G,handleTableBodyScroll:oe,doCheck:fe,doUncheck:J,renderCell:xe}=We(Ro),N=W(null),be=W(null),Oe=W(null),Le=St(()=>l.value.length===0),F=St(()=>e.showHeader||!Le.value),O=St(()=>e.showHeader||Le.value);let re="";const _e=L(()=>new Set(o.value));function ee(ke){var Fe;return(Fe=B.value.getNode(ke))===null||Fe===void 0?void 0:Fe.rawNode}function ye(ke,Fe,je){const Ae=ee(ke.key);if(!Ae){ar("data-table",`fail to get row data with key ${ke.key}`);return}if(je){const Je=l.value.findIndex(xt=>xt.key===re);if(Je!==-1){const xt=l.value.findIndex(Ke=>Ke.key===ke.key),X=Math.min(Je,xt),ge=Math.max(Je,xt),$e=[];l.value.slice(X,ge+1).forEach(Ke=>{Ke.disabled||$e.push(Ke.key)}),Fe?fe($e,!1,Ae):J($e,Ae),re=ke.key;return}}Fe?fe(ke.key,!1,Ae):J(ke.key,Ae),re=ke.key}function Pe(ke){const Fe=ee(ke.key);if(!Fe){ar("data-table",`fail to get row data with key ${ke.key}`);return}fe(ke.key,!0,Fe)}function I(){if(!F.value){const{value:Fe}=Oe;return Fe||null}if(x.value)return Ce();const{value:ke}=N;return ke?ke.containerRef:null}function H(ke,Fe){var je;if(M.value.has(ke))return;const{value:Ae}=o,Je=Ae.indexOf(ke),xt=Array.from(Ae);~Je?(xt.splice(Je,1),G(xt)):Fe&&!Fe.isLeaf&&!Fe.shallowLoaded?(M.value.add(ke),(je=D.value)===null||je===void 0||je.call(D,Fe.rawNode).then(()=>{const{value:X}=o,ge=Array.from(X);~ge.indexOf(ke)||ge.push(ke),G(ge)}).finally(()=>{M.value.delete(ke)})):(xt.push(ke),G(xt))}function te(){C.value=null}function Ce(){const{value:ke}=be;return(ke==null?void 0:ke.listElRef)||null}function ae(){const{value:ke}=be;return(ke==null?void 0:ke.itemsElRef)||null}function he(ke){var Fe;oe(ke),(Fe=N.value)===null||Fe===void 0||Fe.sync()}function ne(ke){var Fe;const{onResize:je}=e;je&&je(ke),(Fe=N.value)===null||Fe===void 0||Fe.sync()}const ue={getScrollContainer:I,scrollTo(ke,Fe){var je,Ae;x.value?(je=be.value)===null||je===void 0||je.scrollTo(ke,Fe):(Ae=N.value)===null||Ae===void 0||Ae.scrollTo(ke,Fe)}},De=q([({props:ke})=>{const Fe=Ae=>Ae===null?null:q(`[data-n-id="${ke.componentId}"] [data-col-key="${Ae}"]::after`,{boxShadow:"var(--n-box-shadow-after)"}),je=Ae=>Ae===null?null:q(`[data-n-id="${ke.componentId}"] [data-col-key="${Ae}"]::before`,{boxShadow:"var(--n-box-shadow-before)"});return q([Fe(ke.leftActiveFixedColKey),je(ke.rightActiveFixedColKey),ke.leftActiveFixedChildrenColKeys.map(Ae=>Fe(Ae)),ke.rightActiveFixedChildrenColKeys.map(Ae=>je(Ae))])}]);let Ue=!1;return Xt(()=>{const{value:ke}=h,{value:Fe}=m,{value:je}=v,{value:Ae}=b;if(!Ue&&ke===null&&je===null)return;const Je={leftActiveFixedColKey:ke,leftActiveFixedChildrenColKeys:Fe,rightActiveFixedColKey:je,rightActiveFixedChildrenColKeys:Ae,componentId:y};De.mount({id:`n-${y}`,force:!0,props:Je,anchorMetaName:ka}),Ue=!0}),Ea(()=>{De.unmount({id:`n-${y}`})}),Object.assign({bodyWidth:n,summaryPlacement:pe,dataTableSlots:t,componentId:y,scrollbarInstRef:N,virtualListRef:be,emptyElRef:Oe,summary:S,mergedClsPrefix:r,mergedTheme:i,scrollX:a,cols:s,loading:j,bodyShowHeaderOnly:O,shouldDisplaySomeTablePart:F,empty:Le,paginatedDataAndInfo:L(()=>{const{value:ke}=K;let Fe=!1;return{data:l.value.map(ke?(Ae,Je)=>(Ae.isLeaf||(Fe=!0),{tmNode:Ae,key:Ae.key,striped:Je%2===1,index:Je}):(Ae,Je)=>(Ae.isLeaf||(Fe=!0),{tmNode:Ae,key:Ae.key,striped:!1,index:Je})),hasChildren:Fe}}),rawPaginatedData:c,fixedColumnLeftMap:u,fixedColumnRightMap:d,currentPage:f,rowClassName:p,renderExpand:w,mergedExpandedRowKeySet:_e,hoverKey:C,mergedSortState:_,virtualScroll:x,mergedTableLayout:k,childTriggerColIndex:P,indent:T,rowProps:$,maxHeight:R,loadingKeySet:M,expandable:Y,stickyExpandedRows:Q,renderExpandIcon:de,scrollbarProps:E,setHeaderScrollLeft:A,handleVirtualListScroll:he,handleVirtualListResize:ne,handleMouseleaveTable:te,virtualListContainer:Ce,virtualListContent:ae,handleTableBodyScroll:oe,handleCheckboxUpdateChecked:ye,handleRadioUpdateChecked:Pe,handleUpdateExpanded:H,renderCell:xe},ue)},render(){const{mergedTheme:e,scrollX:t,mergedClsPrefix:n,virtualScroll:o,maxHeight:r,mergedTableLayout:i,flexHeight:a,loadingKeySet:s,onResize:l,setHeaderScrollLeft:c}=this,u=t!==void 0||r!==void 0||a,d=!u&&i==="auto",f=t!==void 0||d,p={minWidth:qt(t)||"100%"};t&&(p.width="100%");const h=g(To,Object.assign({},this.scrollbarProps,{ref:"scrollbarInstRef",scrollable:u||d,class:`${n}-data-table-base-table-body`,style:this.empty?void 0:this.bodyStyle,theme:e.peers.Scrollbar,themeOverrides:e.peerOverrides.Scrollbar,contentStyle:p,container:o?this.virtualListContainer:void 0,content:o?this.virtualListContent:void 0,horizontalRailStyle:{zIndex:3},verticalRailStyle:{zIndex:3},xScrollable:f,onScroll:o?void 0:this.handleTableBodyScroll,internalOnUpdateScrollLeft:c,onResize:l}),{default:()=>{const m={},v={},{cols:b,paginatedDataAndInfo:w,mergedTheme:C,fixedColumnLeftMap:S,fixedColumnRightMap:_,currentPage:x,rowClassName:y,mergedSortState:k,mergedExpandedRowKeySet:P,stickyExpandedRows:T,componentId:$,childTriggerColIndex:R,expandable:K,rowProps:j,handleMouseleaveTable:D,renderExpand:M,summary:Y,handleCheckboxUpdateChecked:Q,handleRadioUpdateChecked:de,handleUpdateExpanded:pe}=this,{length:B}=b;let E;const{data:A,hasChildren:G}=w,oe=G?nU(A,P):A;if(Y){const F=Y(this.rawPaginatedData);if(Array.isArray(F)){const O=F.map((re,_e)=>({isSummaryRow:!0,key:`__n_summary__${_e}`,tmNode:{rawNode:re,disabled:!0},index:-1}));E=this.summaryPlacement==="top"?[...O,...oe]:[...oe,...O]}else{const O={isSummaryRow:!0,key:"__n_summary__",tmNode:{rawNode:F,disabled:!0},index:-1};E=this.summaryPlacement==="top"?[O,...oe]:[...oe,O]}}else E=oe;const fe=G?{width:zn(this.indent)}:void 0,J=[];E.forEach(F=>{M&&P.has(F.key)&&(!K||K(F.tmNode.rawNode))?J.push(F,{isExpandedRow:!0,key:`${F.key}-expand`,tmNode:F.tmNode,index:F.index}):J.push(F)});const{length:xe}=J,N={};A.forEach(({tmNode:F},O)=>{N[O]=F.key});const be=T?this.bodyWidth:null,Oe=be===null?void 0:`${be}px`,Le=(F,O,re)=>{const{index:_e}=F;if("isExpandedRow"in F){const{tmNode:{key:ne,rawNode:ue}}=F;return g("tr",{class:`${n}-data-table-tr ${n}-data-table-tr--expanded`,key:`${ne}__expand`},g("td",{class:[`${n}-data-table-td`,`${n}-data-table-td--last-col`,O+1===xe&&`${n}-data-table-td--last-row`],colspan:B},T?g("div",{class:`${n}-data-table-expand`,style:{width:Oe}},M(ue,_e)):M(ue,_e)))}const ee="isSummaryRow"in F,ye=!ee&&F.striped,{tmNode:Pe,key:I}=F,{rawNode:H}=Pe,te=P.has(I),Ce=j?j(H,_e):void 0,ae=typeof y=="string"?y:TW(H,_e,y);return g("tr",Object.assign({onMouseenter:()=>{this.hoverKey=I},key:I,class:[`${n}-data-table-tr`,ee&&`${n}-data-table-tr--summary`,ye&&`${n}-data-table-tr--striped`,te&&`${n}-data-table-tr--expanded`,ae]},Ce),b.map((ne,ue)=>{var De,Ue,ke,Fe,je;if(O in m){const Dt=m[O],Se=Dt.indexOf(ue);if(~Se)return Dt.splice(Se,1),null}const{column:Ae}=ne,Je=bo(ne),{rowSpan:xt,colSpan:X}=Ae,ge=ee?((De=F.tmNode.rawNode[Je])===null||De===void 0?void 0:De.colSpan)||1:X?X(H,_e):1,$e=ee?((Ue=F.tmNode.rawNode[Je])===null||Ue===void 0?void 0:Ue.rowSpan)||1:xt?xt(H,_e):1,Ke=ue+ge===B,Xe=O+$e===xe,Ze=$e>1;if(Ze&&(v[O]={[ue]:[]}),ge>1||Ze)for(let Dt=O;Dt{pe(I,F.tmNode)}})]:null,Ae.type==="selection"?ee?null:Ae.multiple===!1?g(tU,{key:x,rowKey:I,disabled:F.tmNode.disabled,onUpdateChecked:()=>{de(F.tmNode)}}):g(eU,{key:x,rowKey:I,disabled:F.tmNode.disabled,onUpdateChecked:(Dt,Se)=>{Q(F.tmNode,Dt,Se.shiftKey)}}):Ae.type==="expand"?ee?null:!Ae.expandable||!((je=Ae.expandable)===null||je===void 0)&&je.call(Ae,H)?g(K0,{clsPrefix:n,expanded:te,renderExpandIcon:this.renderExpandIcon,onClick:()=>{pe(I,null)}}):null:g(QW,{clsPrefix:n,index:_e,row:H,column:Ae,isSummary:ee,mergedTheme:C,renderCell:this.renderCell}))}))};return o?g(hw,{ref:"virtualListRef",items:J,itemSize:28,visibleItemsTag:oU,visibleItemsProps:{clsPrefix:n,id:$,cols:b,onMouseleave:D},showScrollbar:!1,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemsStyle:p,itemResizable:!0},{default:({item:F,index:O})=>Le(F,O,!0)}):g("table",{class:`${n}-data-table-table`,onMouseleave:D,style:{tableLayout:this.mergedTableLayout}},g("colgroup",null,b.map(F=>g("col",{key:F.key,style:F.style}))),this.showHeader?g(L2,{discrete:!1}):null,this.empty?null:g("tbody",{"data-n-id":$,class:`${n}-data-table-tbody`},J.map((F,O)=>Le(F,O,!1))))}});if(this.empty){const m=()=>g("div",{class:[`${n}-data-table-empty`,this.loading&&`${n}-data-table-empty--hide`],style:this.bodyStyle,ref:"emptyElRef"},An(this.dataTableSlots.empty,()=>[g(C_,{theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})]));return this.shouldDisplaySomeTablePart?g(rt,null,h,m()):g(sr,{onResize:this.onResize},{default:m})}return h}}),iU=ve({name:"MainTable",setup(){const{mergedClsPrefixRef:e,rightFixedColumnsRef:t,leftFixedColumnsRef:n,bodyWidthRef:o,maxHeightRef:r,minHeightRef:i,flexHeightRef:a,syncScrollState:s}=We(Ro),l=W(null),c=W(null),u=W(null),d=W(!(n.value.length||t.value.length)),f=L(()=>({maxHeight:qt(r.value),minHeight:qt(i.value)}));function p(b){o.value=b.contentRect.width,s(),d.value||(d.value=!0)}function h(){const{value:b}=l;return b?b.$el:null}function m(){const{value:b}=c;return b?b.getScrollContainer():null}const v={getBodyElement:m,getHeaderElement:h,scrollTo(b,w){var C;(C=c.value)===null||C===void 0||C.scrollTo(b,w)}};return Xt(()=>{const{value:b}=u;if(!b)return;const w=`${e.value}-data-table-base-table--transition-disabled`;d.value?setTimeout(()=>{b.classList.remove(w)},0):b.classList.add(w)}),Object.assign({maxHeight:r,mergedClsPrefix:e,selfElRef:u,headerInstRef:l,bodyInstRef:c,bodyStyle:f,flexHeight:a,handleBodyResize:p},v)},render(){const{mergedClsPrefix:e,maxHeight:t,flexHeight:n}=this,o=t===void 0&&!n;return g("div",{class:`${e}-data-table-base-table`,ref:"selfElRef"},o?null:g(L2,{ref:"headerInstRef"}),g(rU,{ref:"bodyInstRef",bodyStyle:this.bodyStyle,showHeader:o,flexHeight:n,onResize:this.handleBodyResize}))}});function aU(e,t){const{paginatedDataRef:n,treeMateRef:o,selectionColumnRef:r}=t,i=W(e.defaultCheckedRowKeys),a=L(()=>{var _;const{checkedRowKeys:x}=e,y=x===void 0?i.value:x;return((_=r.value)===null||_===void 0?void 0:_.multiple)===!1?{checkedKeys:y.slice(0,1),indeterminateKeys:[]}:o.value.getCheckedKeys(y,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded})}),s=L(()=>a.value.checkedKeys),l=L(()=>a.value.indeterminateKeys),c=L(()=>new Set(s.value)),u=L(()=>new Set(l.value)),d=L(()=>{const{value:_}=c;return n.value.reduce((x,y)=>{const{key:k,disabled:P}=y;return x+(!P&&_.has(k)?1:0)},0)}),f=L(()=>n.value.filter(_=>_.disabled).length),p=L(()=>{const{length:_}=n.value,{value:x}=u;return d.value>0&&d.value<_-f.value||n.value.some(y=>x.has(y.key))}),h=L(()=>{const{length:_}=n.value;return d.value!==0&&d.value===_-f.value}),m=L(()=>n.value.length===0);function v(_,x,y){const{"onUpdate:checkedRowKeys":k,onUpdateCheckedRowKeys:P,onCheckedRowKeysChange:T}=e,$=[],{value:{getNode:R}}=o;_.forEach(K=>{var j;const D=(j=R(K))===null||j===void 0?void 0:j.rawNode;$.push(D)}),k&&Ee(k,_,$,{row:x,action:y}),P&&Ee(P,_,$,{row:x,action:y}),T&&Ee(T,_,$,{row:x,action:y}),i.value=_}function b(_,x=!1,y){if(!e.loading){if(x){v(Array.isArray(_)?_.slice(0,1):[_],y,"check");return}v(o.value.check(_,s.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,y,"check")}}function w(_,x){e.loading||v(o.value.uncheck(_,s.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,x,"uncheck")}function C(_=!1){const{value:x}=r;if(!x||e.loading)return;const y=[];(_?o.value.treeNodes:n.value).forEach(k=>{k.disabled||y.push(k.key)}),v(o.value.check(y,s.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"checkAll")}function S(_=!1){const{value:x}=r;if(!x||e.loading)return;const y=[];(_?o.value.treeNodes:n.value).forEach(k=>{k.disabled||y.push(k.key)}),v(o.value.uncheck(y,s.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"uncheckAll")}return{mergedCheckedRowKeySetRef:c,mergedCheckedRowKeysRef:s,mergedInderminateRowKeySetRef:u,someRowsCheckedRef:p,allRowsCheckedRef:h,headerCheckboxDisabledRef:m,doUpdateCheckedRowKeys:v,doCheckAll:C,doUncheckAll:S,doCheck:b,doUncheck:w}}function Hl(e){return typeof e=="object"&&typeof e.multiple=="number"?e.multiple:!1}function sU(e,t){return t&&(e===void 0||e==="default"||typeof e=="object"&&e.compare==="default")?lU(t):typeof e=="function"?e:e&&typeof e=="object"&&e.compare&&e.compare!=="default"?e.compare:!1}function lU(e){return(t,n)=>{const o=t[e],r=n[e];return o==null?r==null?0:-1:r==null?1:typeof o=="number"&&typeof r=="number"?o-r:typeof o=="string"&&typeof r=="string"?o.localeCompare(r):0}}function cU(e,{dataRelatedColsRef:t,filteredDataRef:n}){const o=[];t.value.forEach(p=>{var h;p.sorter!==void 0&&f(o,{columnKey:p.key,sorter:p.sorter,order:(h=p.defaultSortOrder)!==null&&h!==void 0?h:!1})});const r=W(o),i=L(()=>{const p=t.value.filter(v=>v.type!=="selection"&&v.sorter!==void 0&&(v.sortOrder==="ascend"||v.sortOrder==="descend"||v.sortOrder===!1)),h=p.filter(v=>v.sortOrder!==!1);if(h.length)return h.map(v=>({columnKey:v.key,order:v.sortOrder,sorter:v.sorter}));if(p.length)return[];const{value:m}=r;return Array.isArray(m)?m:m?[m]:[]}),a=L(()=>{const p=i.value.slice().sort((h,m)=>{const v=Hl(h.sorter)||0;return(Hl(m.sorter)||0)-v});return p.length?n.value.slice().sort((m,v)=>{let b=0;return p.some(w=>{const{columnKey:C,sorter:S,order:_}=w,x=sU(S,C);return x&&_&&(b=x(m.rawNode,v.rawNode),b!==0)?(b=b*SW(_),!0):!1}),b}):n.value});function s(p){let h=i.value.slice();return p&&Hl(p.sorter)!==!1?(h=h.filter(m=>Hl(m.sorter)!==!1),f(h,p),h):p||null}function l(p){const h=s(p);c(h)}function c(p){const{"onUpdate:sorter":h,onUpdateSorter:m,onSorterChange:v}=e;h&&Ee(h,p),m&&Ee(m,p),v&&Ee(v,p),r.value=p}function u(p,h="ascend"){if(!p)d();else{const m=t.value.find(b=>b.type!=="selection"&&b.type!=="expand"&&b.key===p);if(!(m!=null&&m.sorter))return;const v=m.sorter;l({columnKey:p,sorter:v,order:h})}}function d(){c(null)}function f(p,h){const m=p.findIndex(v=>(h==null?void 0:h.columnKey)&&v.columnKey===h.columnKey);m!==void 0&&m>=0?p[m]=h:p.push(h)}return{clearSorter:d,sort:u,sortedDataRef:a,mergedSortStateRef:i,deriveNextSorter:l}}function uU(e,{dataRelatedColsRef:t}){const n=L(()=>{const B=E=>{for(let A=0;A{const{childrenKey:B}=e;return wi(e.data,{ignoreEmptyChildren:!0,getKey:e.rowKey,getChildren:E=>E[B],getDisabled:E=>{var A,G;return!!(!((G=(A=n.value)===null||A===void 0?void 0:A.disabled)===null||G===void 0)&&G.call(A,E))}})}),r=St(()=>{const{columns:B}=e,{length:E}=B;let A=null;for(let G=0;G{const B=t.value.filter(G=>G.filterOptionValues!==void 0||G.filterOptionValue!==void 0),E={};return B.forEach(G=>{var oe;G.type==="selection"||G.type==="expand"||(G.filterOptionValues===void 0?E[G.key]=(oe=G.filterOptionValue)!==null&&oe!==void 0?oe:null:E[G.key]=G.filterOptionValues)}),Object.assign(V0(i.value),E)}),u=L(()=>{const B=c.value,{columns:E}=e;function A(fe){return(J,xe)=>!!~String(xe[fe]).indexOf(String(J))}const{value:{treeNodes:G}}=o,oe=[];return E.forEach(fe=>{fe.type==="selection"||fe.type==="expand"||"children"in fe||oe.push([fe.key,fe])}),G?G.filter(fe=>{const{rawNode:J}=fe;for(const[xe,N]of oe){let be=B[xe];if(be==null||(Array.isArray(be)||(be=[be]),!be.length))continue;const Oe=N.filter==="default"?A(xe):N.filter;if(N&&typeof Oe=="function")if(N.filterMode==="and"){if(be.some(Le=>!Oe(Le,J)))return!1}else{if(be.some(Le=>Oe(Le,J)))continue;return!1}}return!0}):[]}),{sortedDataRef:d,deriveNextSorter:f,mergedSortStateRef:p,sort:h,clearSorter:m}=cU(e,{dataRelatedColsRef:t,filteredDataRef:u});t.value.forEach(B=>{var E;if(B.filter){const A=B.defaultFilterOptionValues;B.filterMultiple?i.value[B.key]=A||[]:A!==void 0?i.value[B.key]=A===null?[]:A:i.value[B.key]=(E=B.defaultFilterOptionValue)!==null&&E!==void 0?E:null}});const v=L(()=>{const{pagination:B}=e;if(B!==!1)return B.page}),b=L(()=>{const{pagination:B}=e;if(B!==!1)return B.pageSize}),w=sn(v,s),C=sn(b,l),S=St(()=>{const B=w.value;return e.remote?B:Math.max(1,Math.min(Math.ceil(u.value.length/C.value),B))}),_=L(()=>{const{pagination:B}=e;if(B){const{pageCount:E}=B;if(E!==void 0)return E}}),x=L(()=>{if(e.remote)return o.value.treeNodes;if(!e.pagination)return d.value;const B=C.value,E=(S.value-1)*B;return d.value.slice(E,E+B)}),y=L(()=>x.value.map(B=>B.rawNode));function k(B){const{pagination:E}=e;if(E){const{onChange:A,"onUpdate:page":G,onUpdatePage:oe}=E;A&&Ee(A,B),oe&&Ee(oe,B),G&&Ee(G,B),R(B)}}function P(B){const{pagination:E}=e;if(E){const{onPageSizeChange:A,"onUpdate:pageSize":G,onUpdatePageSize:oe}=E;A&&Ee(A,B),oe&&Ee(oe,B),G&&Ee(G,B),K(B)}}const T=L(()=>{if(e.remote){const{pagination:B}=e;if(B){const{itemCount:E}=B;if(E!==void 0)return E}return}return u.value.length}),$=L(()=>Object.assign(Object.assign({},e.pagination),{onChange:void 0,onUpdatePage:void 0,onUpdatePageSize:void 0,onPageSizeChange:void 0,"onUpdate:page":k,"onUpdate:pageSize":P,page:S.value,pageSize:C.value,pageCount:T.value===void 0?_.value:void 0,itemCount:T.value}));function R(B){const{"onUpdate:page":E,onPageChange:A,onUpdatePage:G}=e;G&&Ee(G,B),E&&Ee(E,B),A&&Ee(A,B),s.value=B}function K(B){const{"onUpdate:pageSize":E,onPageSizeChange:A,onUpdatePageSize:G}=e;A&&Ee(A,B),G&&Ee(G,B),E&&Ee(E,B),l.value=B}function j(B,E){const{onUpdateFilters:A,"onUpdate:filters":G,onFiltersChange:oe}=e;A&&Ee(A,B,E),G&&Ee(G,B,E),oe&&Ee(oe,B,E),i.value=B}function D(B,E,A,G){var oe;(oe=e.onUnstableColumnResize)===null||oe===void 0||oe.call(e,B,E,A,G)}function M(B){R(B)}function Y(){Q()}function Q(){de({})}function de(B){pe(B)}function pe(B){B?B&&(i.value=V0(B)):i.value={}}return{treeMateRef:o,mergedCurrentPageRef:S,mergedPaginationRef:$,paginatedDataRef:x,rawPaginatedDataRef:y,mergedFilterStateRef:c,mergedSortStateRef:p,hoverKeyRef:W(null),selectionColumnRef:n,childTriggerColIndexRef:r,doUpdateFilters:j,deriveNextSorter:f,doUpdatePageSize:K,doUpdatePage:R,onUnstableColumnResize:D,filter:pe,filters:de,clearFilter:Y,clearFilters:Q,clearSorter:m,page:M,sort:h}}function dU(e,{mainTableInstRef:t,mergedCurrentPageRef:n,bodyWidthRef:o}){let r=0;const i=W(),a=W(null),s=W([]),l=W(null),c=W([]),u=L(()=>qt(e.scrollX)),d=L(()=>e.columns.filter(P=>P.fixed==="left")),f=L(()=>e.columns.filter(P=>P.fixed==="right")),p=L(()=>{const P={};let T=0;function $(R){R.forEach(K=>{const j={start:T,end:0};P[bo(K)]=j,"children"in K?($(K.children),j.end=T):(T+=j0(K)||0,j.end=T)})}return $(d.value),P}),h=L(()=>{const P={};let T=0;function $(R){for(let K=R.length-1;K>=0;--K){const j=R[K],D={start:T,end:0};P[bo(j)]=D,"children"in j?($(j.children),D.end=T):(T+=j0(j)||0,D.end=T)}}return $(f.value),P});function m(){var P,T;const{value:$}=d;let R=0;const{value:K}=p;let j=null;for(let D=0;D<$.length;++D){const M=bo($[D]);if(r>(((P=K[M])===null||P===void 0?void 0:P.start)||0)-R)j=M,R=((T=K[M])===null||T===void 0?void 0:T.end)||0;else break}a.value=j}function v(){s.value=[];let P=e.columns.find(T=>bo(T)===a.value);for(;P&&"children"in P;){const T=P.children.length;if(T===0)break;const $=P.children[T-1];s.value.push(bo($)),P=$}}function b(){var P,T;const{value:$}=f,R=Number(e.scrollX),{value:K}=o;if(K===null)return;let j=0,D=null;const{value:M}=h;for(let Y=$.length-1;Y>=0;--Y){const Q=bo($[Y]);if(Math.round(r+(((P=M[Q])===null||P===void 0?void 0:P.start)||0)+K-j)bo(T)===l.value);for(;P&&"children"in P&&P.children.length;){const T=P.children[0];c.value.push(bo(T)),P=T}}function C(){const P=t.value?t.value.getHeaderElement():null,T=t.value?t.value.getBodyElement():null;return{header:P,body:T}}function S(){const{body:P}=C();P&&(P.scrollTop=0)}function _(){i.value!=="body"?kc(y):i.value=void 0}function x(P){var T;(T=e.onScroll)===null||T===void 0||T.call(e,P),i.value!=="head"?kc(y):i.value=void 0}function y(){const{header:P,body:T}=C();if(!T)return;const{value:$}=o;if($!==null){if(e.maxHeight||e.flexHeight){if(!P)return;const R=r-P.scrollLeft;i.value=R!==0?"head":"body",i.value==="head"?(r=P.scrollLeft,T.scrollLeft=r):(r=T.scrollLeft,P.scrollLeft=r)}else r=T.scrollLeft;m(),v(),b(),w()}}function k(P){const{header:T}=C();T&&(T.scrollLeft=P,y())}return ft(n,()=>{S()}),{styleScrollXRef:u,fixedColumnLeftMapRef:p,fixedColumnRightMapRef:h,leftFixedColumnsRef:d,rightFixedColumnsRef:f,leftActiveFixedColKeyRef:a,leftActiveFixedChildrenColKeysRef:s,rightActiveFixedColKeyRef:l,rightActiveFixedChildrenColKeysRef:c,syncScrollState:y,handleTableBodyScroll:x,handleTableHeaderScroll:_,setHeaderScrollLeft:k}}function fU(){const e=W({});function t(r){return e.value[r]}function n(r,i){R2(r)&&"key"in r&&(e.value[r.key]=i)}function o(){e.value={}}return{getResizableWidth:t,doUpdateResizableWidth:n,clearResizableWidth:o}}function hU(e,t){const n=[],o=[],r=[],i=new WeakMap;let a=-1,s=0,l=!1;function c(f,p){p>a&&(n[p]=[],a=p);for(const h of f)if("children"in h)c(h.children,p+1);else{const m="key"in h?h.key:void 0;o.push({key:bo(h),style:PW(h,m!==void 0?qt(t(m)):void 0),column:h}),s+=1,l||(l=!!h.ellipsis),r.push(h)}}c(e,0);let u=0;function d(f,p){let h=0;f.forEach((m,v)=>{var b;if("children"in m){const w=u,C={column:m,colSpan:0,rowSpan:1,isLast:!1};d(m.children,p+1),m.children.forEach(S=>{var _,x;C.colSpan+=(x=(_=i.get(S))===null||_===void 0?void 0:_.colSpan)!==null&&x!==void 0?x:0}),w+C.colSpan===s&&(C.isLast=!0),i.set(m,C),n[p].push(C)}else{if(u1&&(h=u+w);const C=u+w===s,S={column:m,colSpan:w,rowSpan:a-p+1,isLast:C};i.set(m,S),n[p].push(S),u+=1}})}return d(e,0),{hasEllipsis:l,rows:n,cols:o,dataRelatedCols:r}}function pU(e,t){const n=L(()=>hU(e.columns,t));return{rowsRef:L(()=>n.value.rows),colsRef:L(()=>n.value.cols),hasEllipsisRef:L(()=>n.value.hasEllipsis),dataRelatedColsRef:L(()=>n.value.dataRelatedCols)}}function mU(e,t){const n=St(()=>{for(const c of e.columns)if(c.type==="expand")return c.renderExpand}),o=St(()=>{let c;for(const u of e.columns)if(u.type==="expand"){c=u.expandable;break}return c}),r=W(e.defaultExpandAll?n!=null&&n.value?(()=>{const c=[];return t.value.treeNodes.forEach(u=>{var d;!((d=o.value)===null||d===void 0)&&d.call(o,u.rawNode)&&c.push(u.key)}),c})():t.value.getNonLeafKeys():e.defaultExpandedRowKeys),i=Ve(e,"expandedRowKeys"),a=Ve(e,"stickyExpandedRows"),s=sn(i,r);function l(c){const{onUpdateExpandedRowKeys:u,"onUpdate:expandedRowKeys":d}=e;u&&Ee(u,c),d&&Ee(d,c),r.value=c}return{stickyExpandedRowsRef:a,mergedExpandedRowKeysRef:s,renderExpandRef:n,expandableRef:o,doUpdateExpandedRowKeys:l}}const G0=vU(),gU=q([z("data-table",` + `)])]),FU={animated:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},size:{type:String,default:"medium"},inverted:Boolean,placement:{type:String,default:"bottom"},onSelect:[Function,Array],options:{type:Array,default:()=>[]},menuProps:Function,showArrow:Boolean,renderLabel:Function,renderIcon:Function,renderOption:Function,nodeProps:Function,labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},value:[String,Number]},BU=Object.keys(Aa),NU=Object.assign(Object.assign(Object.assign({},Aa),FU),Be.props),$m=be({name:"Dropdown",inheritAttrs:!1,props:NU,setup(e){const t=W(!1),n=an(We(e,"show"),t),o=F(()=>{const{keyField:R,childrenField:K}=e;return Pi(e.options,{getKey(N){return N[R]},getDisabled(N){return N.disabled===!0},getIgnored(N){return N.type==="divider"||N.type==="render"},getChildren(N){return N[K]}})}),r=F(()=>o.value.treeNodes),i=W(null),a=W(null),s=W(null),l=F(()=>{var R,K,N;return(N=(K=(R=i.value)!==null&&R!==void 0?R:a.value)!==null&&K!==void 0?K:s.value)!==null&&N!==void 0?N:null}),c=F(()=>o.value.getPath(l.value).keyPath),u=F(()=>o.value.getPath(e.value).keyPath),d=kt(()=>e.keyboard&&n.value);I8({keydown:{ArrowUp:{prevent:!0,handler:w},ArrowRight:{prevent:!0,handler:S},ArrowDown:{prevent:!0,handler:x},ArrowLeft:{prevent:!0,handler:C},Enter:{prevent:!0,handler:y},Escape:_}},d);const{mergedClsPrefixRef:f,inlineThemeDisabled:h}=st(e),p=Be("Dropdown","-dropdown",LU,Pm,e,f);at(Bu,{labelFieldRef:We(e,"labelField"),childrenFieldRef:We(e,"childrenField"),renderLabelRef:We(e,"renderLabel"),renderIconRef:We(e,"renderIcon"),hoverKeyRef:i,keyboardKeyRef:a,lastToggledSubmenuKeyRef:s,pendingKeyPathRef:c,activeKeyPathRef:u,animatedRef:We(e,"animated"),mergedShowRef:n,nodePropsRef:We(e,"nodeProps"),renderOptionRef:We(e,"renderOption"),menuPropsRef:We(e,"menuProps"),doSelect:g,doUpdateShow:m}),ft(n,R=>{!e.animated&&!R&&b()});function g(R,K){const{onSelect:N}=e;N&&$e(N,R,K)}function m(R){const{"onUpdate:show":K,onUpdateShow:N}=e;K&&$e(K,R),N&&$e(N,R),t.value=R}function b(){i.value=null,a.value=null,s.value=null}function _(){m(!1)}function C(){k("left")}function S(){k("right")}function w(){k("up")}function x(){k("down")}function y(){const R=P();R!=null&&R.isLeaf&&n.value&&(g(R.key,R.rawNode),m(!1))}function P(){var R;const{value:K}=o,{value:N}=l;return!K||N===null?null:(R=K.getNode(N))!==null&&R!==void 0?R:null}function k(R){const{value:K}=l,{value:{getFirstAvailableNode:N}}=o;let D=null;if(K===null){const M=N();M!==null&&(D=M.key)}else{const M=P();if(M){let G;switch(R){case"down":G=M.getNext();break;case"up":G=M.getPrev();break;case"right":G=M.getChild();break;case"left":G=M.getParent();break}G&&(D=G.key)}}D!==null&&(i.value=null,a.value=D)}const T=F(()=>{const{size:R,inverted:K}=e,{common:{cubicBezierEaseInOut:N},self:D}=p.value,{padding:M,dividerColor:G,borderRadius:J,optionOpacityDisabled:he,[Re("optionIconSuffixWidth",R)]:pe,[Re("optionSuffixWidth",R)]:B,[Re("optionIconPrefixWidth",R)]:$,[Re("optionPrefixWidth",R)]:A,[Re("fontSize",R)]:Y,[Re("optionHeight",R)]:ne,[Re("optionIconSize",R)]:fe}=D,Q={"--n-bezier":N,"--n-font-size":Y,"--n-padding":M,"--n-border-radius":J,"--n-option-height":ne,"--n-option-prefix-width":A,"--n-option-icon-prefix-width":$,"--n-option-suffix-width":B,"--n-option-icon-suffix-width":pe,"--n-option-icon-size":fe,"--n-divider-color":G,"--n-option-opacity-disabled":he};return K?(Q["--n-color"]=D.colorInverted,Q["--n-option-color-hover"]=D.optionColorHoverInverted,Q["--n-option-color-active"]=D.optionColorActiveInverted,Q["--n-option-text-color"]=D.optionTextColorInverted,Q["--n-option-text-color-hover"]=D.optionTextColorHoverInverted,Q["--n-option-text-color-active"]=D.optionTextColorActiveInverted,Q["--n-option-text-color-child-active"]=D.optionTextColorChildActiveInverted,Q["--n-prefix-color"]=D.prefixColorInverted,Q["--n-suffix-color"]=D.suffixColorInverted,Q["--n-group-header-text-color"]=D.groupHeaderTextColorInverted):(Q["--n-color"]=D.color,Q["--n-option-color-hover"]=D.optionColorHover,Q["--n-option-color-active"]=D.optionColorActive,Q["--n-option-text-color"]=D.optionTextColor,Q["--n-option-text-color-hover"]=D.optionTextColorHover,Q["--n-option-text-color-active"]=D.optionTextColorActive,Q["--n-option-text-color-child-active"]=D.optionTextColorChildActive,Q["--n-prefix-color"]=D.prefixColor,Q["--n-suffix-color"]=D.suffixColor,Q["--n-group-header-text-color"]=D.groupHeaderTextColor),Q}),E=h?Pt("dropdown",F(()=>`${e.size[0]}${e.inverted?"i":""}`),T,e):void 0;return{mergedClsPrefix:f,mergedTheme:p,tmNodes:r,mergedShow:n,handleAfterLeave:()=>{e.animated&&b()},doUpdateShow:m,cssVars:h?void 0:T,themeClass:E==null?void 0:E.themeClass,onRender:E==null?void 0:E.onRender}},render(){const e=(o,r,i,a,s)=>{var l;const{mergedClsPrefix:c,menuProps:u}=this;(l=this.onRender)===null||l===void 0||l.call(this);const d=(u==null?void 0:u(void 0,this.tmNodes.map(h=>h.rawNode)))||{},f={ref:gw(r),class:[o,`${c}-dropdown`,this.themeClass],clsPrefix:c,tmNodes:this.tmNodes,style:[...i,this.cssVars],showArrow:this.showArrow,arrowStyle:this.arrowStyle,scrollable:this.scrollable,onMouseenter:a,onMouseleave:s};return v(sS,Ln(this.$attrs,f,d))},{mergedTheme:t}=this,n={show:this.mergedShow,theme:t.peers.Popover,themeOverrides:t.peerOverrides.Popover,internalOnAfterLeave:this.handleAfterLeave,internalRenderBody:e,onUpdateShow:this.doUpdateShow,"onUpdate:show":void 0};return v(hl,Object.assign({},Qn(this.$props,BU),n),{trigger:()=>{var o,r;return(r=(o=this.$slots).default)===null||r===void 0?void 0:r.call(o)}})}}),lS="_n_all__",cS="_n_none__";function HU(e,t,n,o){return e?r=>{for(const i of e)switch(r){case lS:n(!0);return;case cS:o(!0);return;default:if(typeof i=="object"&&i.key===r){i.onSelect(t.value);return}}}:()=>{}}function jU(e,t){return e?e.map(n=>{switch(n){case"all":return{label:t.checkTableAll,key:lS};case"none":return{label:t.uncheckTableAll,key:cS};default:return n}}):[]}const VU=be({name:"DataTableSelectionMenu",props:{clsPrefix:{type:String,required:!0}},setup(e){const{props:t,localeRef:n,checkOptionsRef:o,rawPaginatedDataRef:r,doCheckAll:i,doUncheckAll:a}=Ue(Oo),s=F(()=>HU(o.value,r,i,a)),l=F(()=>jU(o.value,n.value));return()=>{var c,u,d,f;const{clsPrefix:h}=e;return v($m,{theme:(u=(c=t.theme)===null||c===void 0?void 0:c.peers)===null||u===void 0?void 0:u.Dropdown,themeOverrides:(f=(d=t.themeOverrides)===null||d===void 0?void 0:d.peers)===null||f===void 0?void 0:f.Dropdown,options:l.value,onSelect:s.value},{default:()=>v(Ut,{clsPrefix:h,class:`${h}-data-table-check-extra`},{default:()=>v(j_,null)})})}}});function af(e){return typeof e.title=="function"?e.title(e):e.title}const uS=be({name:"DataTableHeader",props:{discrete:{type:Boolean,default:!0}},setup(){const{mergedClsPrefixRef:e,scrollXRef:t,fixedColumnLeftMapRef:n,fixedColumnRightMapRef:o,mergedCurrentPageRef:r,allRowsCheckedRef:i,someRowsCheckedRef:a,rowsRef:s,colsRef:l,mergedThemeRef:c,checkOptionsRef:u,mergedSortStateRef:d,componentId:f,mergedTableLayoutRef:h,headerCheckboxDisabledRef:p,onUnstableColumnResize:g,doUpdateResizableWidth:m,handleTableHeaderScroll:b,deriveNextSorter:_,doUncheckAll:C,doCheckAll:S}=Ue(Oo),w=W({});function x(R){const K=w.value[R];return K==null?void 0:K.getBoundingClientRect().width}function y(){i.value?C():S()}function P(R,K){if(so(R,"dataTableFilter")||so(R,"dataTableResizable")||!rf(K))return;const N=d.value.find(M=>M.columnKey===K.key)||null,D=bU(K,N);_(D)}const k=new Map;function T(R){k.set(R.key,x(R.key))}function E(R,K){const N=k.get(R.key);if(N===void 0)return;const D=N+K,M=mU(D,R.minWidth,R.maxWidth);g(D,M,R,x),m(R,M)}return{cellElsRef:w,componentId:f,mergedSortState:d,mergedClsPrefix:e,scrollX:t,fixedColumnLeftMap:n,fixedColumnRightMap:o,currentPage:r,allRowsChecked:i,someRowsChecked:a,rows:s,cols:l,mergedTheme:c,checkOptions:u,mergedTableLayout:h,headerCheckboxDisabled:p,handleCheckboxUpdateChecked:y,handleColHeaderClick:P,handleTableHeaderScroll:b,handleColumnResizeStart:T,handleColumnResize:E}},render(){const{cellElsRef:e,mergedClsPrefix:t,fixedColumnLeftMap:n,fixedColumnRightMap:o,currentPage:r,allRowsChecked:i,someRowsChecked:a,rows:s,cols:l,mergedTheme:c,checkOptions:u,componentId:d,discrete:f,mergedTableLayout:h,headerCheckboxDisabled:p,mergedSortState:g,handleColHeaderClick:m,handleCheckboxUpdateChecked:b,handleColumnResizeStart:_,handleColumnResize:C}=this,S=v("thead",{class:`${t}-data-table-thead`,"data-n-id":d},s.map(y=>v("tr",{class:`${t}-data-table-tr`},y.map(({column:P,colSpan:k,rowSpan:T,isLast:E})=>{var R,K;const N=wo(P),{ellipsis:D}=P,M=()=>P.type==="selection"?P.multiple!==!1?v(it,null,v(ml,{key:r,privateInsideTable:!0,checked:i,indeterminate:a,disabled:p,onUpdateChecked:b}),u?v(VU,{clsPrefix:t}):null):null:v(it,null,v("div",{class:`${t}-data-table-th__title-wrapper`},v("div",{class:`${t}-data-table-th__title`},D===!0||D&&!D.tooltip?v("div",{class:`${t}-data-table-th__ellipsis`},af(P)):D&&typeof D=="object"?v(Rm,Object.assign({},D,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>af(P)}):af(P)),rf(P)?v(aU,{column:P}):null),s1(P)?v(SU,{column:P,options:P.filterOptions}):null,tS(P)?v(kU,{onResizeStart:()=>{_(P)},onResize:he=>{C(P,he)}}):null),G=N in n,J=N in o;return v("th",{ref:he=>e[N]=he,key:N,style:{textAlign:P.titleAlign||P.align,left:zn((R=n[N])===null||R===void 0?void 0:R.start),right:zn((K=o[N])===null||K===void 0?void 0:K.start)},colspan:k,rowspan:T,"data-col-key":N,class:[`${t}-data-table-th`,(G||J)&&`${t}-data-table-th--fixed-${G?"left":"right"}`,{[`${t}-data-table-th--sorting`]:nS(P,g),[`${t}-data-table-th--filterable`]:s1(P),[`${t}-data-table-th--sortable`]:rf(P),[`${t}-data-table-th--selection`]:P.type==="selection",[`${t}-data-table-th--last`]:E},P.className],onClick:P.type!=="selection"&&P.type!=="expand"&&!("children"in P)?he=>{m(he,P)}:void 0},M())}))));if(!f)return S;const{handleTableHeaderScroll:w,scrollX:x}=this;return v("div",{class:`${t}-data-table-base-table-header`,onScroll:w},v("table",{ref:"body",class:`${t}-data-table-table`,style:{minWidth:qt(x),tableLayout:h}},v("colgroup",null,l.map(y=>v("col",{key:y.key,style:y.style}))),S))}}),WU=be({name:"DataTableCell",props:{clsPrefix:{type:String,required:!0},row:{type:Object,required:!0},index:{type:Number,required:!0},column:{type:Object,required:!0},isSummary:Boolean,mergedTheme:{type:Object,required:!0},renderCell:Function},render(){var e;const{isSummary:t,column:n,row:o,renderCell:r}=this;let i;const{render:a,key:s,ellipsis:l}=n;if(a&&!t?i=a(o,this.index):t?i=(e=o[s])===null||e===void 0?void 0:e.value:i=r?r(Th(o,s),o,n):Th(o,s),l)if(typeof l=="object"){const{mergedTheme:c}=this;return n.ellipsisComponent==="performant-ellipsis"?v(oU,Object.assign({},l,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>i}):v(Rm,Object.assign({},l,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>i})}else return v("span",{class:`${this.clsPrefix}-data-table-td__ellipsis`},i);return i}}),u1=be({name:"DataTableExpandTrigger",props:{clsPrefix:{type:String,required:!0},expanded:Boolean,loading:Boolean,onClick:{type:Function,required:!0},renderExpandIcon:{type:Function}},render(){const{clsPrefix:e}=this;return v("div",{class:[`${e}-data-table-expand-trigger`,this.expanded&&`${e}-data-table-expand-trigger--expanded`],onClick:this.onClick,onMousedown:t=>{t.preventDefault()}},v(Ui,null,{default:()=>this.loading?v(ti,{key:"loading",clsPrefix:this.clsPrefix,radius:85,strokeWidth:15,scale:.88}):this.renderExpandIcon?this.renderExpandIcon({expanded:this.expanded}):v(Ut,{clsPrefix:e,key:"base-icon"},{default:()=>v(fm,null)})}))}}),UU=be({name:"DataTableBodyCheckbox",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,mergedInderminateRowKeySetRef:n}=Ue(Oo);return()=>{const{rowKey:o}=e;return v(ml,{privateInsideTable:!0,disabled:e.disabled,indeterminate:n.value.has(o),checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}}),qU=be({name:"DataTableBodyRadio",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,componentId:n}=Ue(Oo);return()=>{const{rowKey:o}=e;return v(Z2,{name:n,disabled:e.disabled,checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}});function KU(e,t){const n=[];function o(r,i){r.forEach(a=>{a.children&&t.has(a.key)?(n.push({tmNode:a,striped:!1,key:a.key,index:i}),o(a.children,i)):n.push({key:a.key,tmNode:a,striped:!1,index:i})})}return e.forEach(r=>{n.push(r);const{children:i}=r.tmNode;i&&t.has(r.key)&&o(i,r.index)}),n}const GU=be({props:{clsPrefix:{type:String,required:!0},id:{type:String,required:!0},cols:{type:Array,required:!0},onMouseenter:Function,onMouseleave:Function},render(){const{clsPrefix:e,id:t,cols:n,onMouseenter:o,onMouseleave:r}=this;return v("table",{style:{tableLayout:"fixed"},class:`${e}-data-table-table`,onMouseenter:o,onMouseleave:r},v("colgroup",null,n.map(i=>v("col",{key:i.key,style:i.style}))),v("tbody",{"data-n-id":t,class:`${e}-data-table-tbody`},this.$slots))}}),YU=be({name:"DataTableBody",props:{onResize:Function,showHeader:Boolean,flexHeight:Boolean,bodyStyle:Object},setup(e){const{slots:t,bodyWidthRef:n,mergedExpandedRowKeysRef:o,mergedClsPrefixRef:r,mergedThemeRef:i,scrollXRef:a,colsRef:s,paginatedDataRef:l,rawPaginatedDataRef:c,fixedColumnLeftMapRef:u,fixedColumnRightMapRef:d,mergedCurrentPageRef:f,rowClassNameRef:h,leftActiveFixedColKeyRef:p,leftActiveFixedChildrenColKeysRef:g,rightActiveFixedColKeyRef:m,rightActiveFixedChildrenColKeysRef:b,renderExpandRef:_,hoverKeyRef:C,summaryRef:S,mergedSortStateRef:w,virtualScrollRef:x,componentId:y,mergedTableLayoutRef:P,childTriggerColIndexRef:k,indentRef:T,rowPropsRef:E,maxHeightRef:R,stripedRef:K,loadingRef:N,onLoadRef:D,loadingKeySetRef:M,expandableRef:G,stickyExpandedRowsRef:J,renderExpandIconRef:he,summaryPlacementRef:pe,treeMateRef:B,scrollbarPropsRef:$,setHeaderScrollLeft:A,doUpdateExpandedRowKeys:Y,handleTableBodyScroll:ne,doCheck:fe,doUncheck:Q,renderCell:xe}=Ue(Oo),H=W(null),ye=W(null),Oe=W(null),Ne=kt(()=>l.value.length===0),L=kt(()=>e.showHeader||!Ne.value),O=kt(()=>e.showHeader||Ne.value);let oe="";const _e=F(()=>new Set(o.value));function te(Pe){var Fe;return(Fe=B.value.getNode(Pe))===null||Fe===void 0?void 0:Fe.rawNode}function ge(Pe,Fe,He){const Ie=te(Pe.key);if(!Ie){lr("data-table",`fail to get row data with key ${Pe.key}`);return}if(He){const Qe=l.value.findIndex(Ct=>Ct.key===oe);if(Qe!==-1){const Ct=l.value.findIndex(Ke=>Ke.key===Pe.key),X=Math.min(Qe,Ct),ve=Math.max(Qe,Ct),Ae=[];l.value.slice(X,ve+1).forEach(Ke=>{Ke.disabled||Ae.push(Ke.key)}),Fe?fe(Ae,!1,Ie):Q(Ae,Ie),oe=Pe.key;return}}Fe?fe(Pe.key,!1,Ie):Q(Pe.key,Ie),oe=Pe.key}function ke(Pe){const Fe=te(Pe.key);if(!Fe){lr("data-table",`fail to get row data with key ${Pe.key}`);return}fe(Pe.key,!0,Fe)}function I(){if(!L.value){const{value:Fe}=Oe;return Fe||null}if(x.value)return Ce();const{value:Pe}=H;return Pe?Pe.containerRef:null}function j(Pe,Fe){var He;if(M.value.has(Pe))return;const{value:Ie}=o,Qe=Ie.indexOf(Pe),Ct=Array.from(Ie);~Qe?(Ct.splice(Qe,1),Y(Ct)):Fe&&!Fe.isLeaf&&!Fe.shallowLoaded?(M.value.add(Pe),(He=D.value)===null||He===void 0||He.call(D,Fe.rawNode).then(()=>{const{value:X}=o,ve=Array.from(X);~ve.indexOf(Pe)||ve.push(Pe),Y(ve)}).finally(()=>{M.value.delete(Pe)})):(Ct.push(Pe),Y(Ct))}function ee(){C.value=null}function Ce(){const{value:Pe}=ye;return(Pe==null?void 0:Pe.listElRef)||null}function ce(){const{value:Pe}=ye;return(Pe==null?void 0:Pe.itemsElRef)||null}function le(Pe){var Fe;ne(Pe),(Fe=H.value)===null||Fe===void 0||Fe.sync()}function re(Pe){var Fe;const{onResize:He}=e;He&&He(Pe),(Fe=H.value)===null||Fe===void 0||Fe.sync()}const de={getScrollContainer:I,scrollTo(Pe,Fe){var He,Ie;x.value?(He=ye.value)===null||He===void 0||He.scrollTo(Pe,Fe):(Ie=H.value)===null||Ie===void 0||Ie.scrollTo(Pe,Fe)}},De=q([({props:Pe})=>{const Fe=Ie=>Ie===null?null:q(`[data-n-id="${Pe.componentId}"] [data-col-key="${Ie}"]::after`,{boxShadow:"var(--n-box-shadow-after)"}),He=Ie=>Ie===null?null:q(`[data-n-id="${Pe.componentId}"] [data-col-key="${Ie}"]::before`,{boxShadow:"var(--n-box-shadow-before)"});return q([Fe(Pe.leftActiveFixedColKey),He(Pe.rightActiveFixedColKey),Pe.leftActiveFixedChildrenColKeys.map(Ie=>Fe(Ie)),Pe.rightActiveFixedChildrenColKeys.map(Ie=>He(Ie))])}]);let Le=!1;return Xt(()=>{const{value:Pe}=p,{value:Fe}=g,{value:He}=m,{value:Ie}=b;if(!Le&&Pe===null&&He===null)return;const Qe={leftActiveFixedColKey:Pe,leftActiveFixedChildrenColKeys:Fe,rightActiveFixedColKey:He,rightActiveFixedChildrenColKeys:Ie,componentId:y};De.mount({id:`n-${y}`,force:!0,props:Qe,anchorMetaName:$a}),Le=!0}),Ma(()=>{De.unmount({id:`n-${y}`})}),Object.assign({bodyWidth:n,summaryPlacement:pe,dataTableSlots:t,componentId:y,scrollbarInstRef:H,virtualListRef:ye,emptyElRef:Oe,summary:S,mergedClsPrefix:r,mergedTheme:i,scrollX:a,cols:s,loading:N,bodyShowHeaderOnly:O,shouldDisplaySomeTablePart:L,empty:Ne,paginatedDataAndInfo:F(()=>{const{value:Pe}=K;let Fe=!1;return{data:l.value.map(Pe?(Ie,Qe)=>(Ie.isLeaf||(Fe=!0),{tmNode:Ie,key:Ie.key,striped:Qe%2===1,index:Qe}):(Ie,Qe)=>(Ie.isLeaf||(Fe=!0),{tmNode:Ie,key:Ie.key,striped:!1,index:Qe})),hasChildren:Fe}}),rawPaginatedData:c,fixedColumnLeftMap:u,fixedColumnRightMap:d,currentPage:f,rowClassName:h,renderExpand:_,mergedExpandedRowKeySet:_e,hoverKey:C,mergedSortState:w,virtualScroll:x,mergedTableLayout:P,childTriggerColIndex:k,indent:T,rowProps:E,maxHeight:R,loadingKeySet:M,expandable:G,stickyExpandedRows:J,renderExpandIcon:he,scrollbarProps:$,setHeaderScrollLeft:A,handleVirtualListScroll:le,handleVirtualListResize:re,handleMouseleaveTable:ee,virtualListContainer:Ce,virtualListContent:ce,handleTableBodyScroll:ne,handleCheckboxUpdateChecked:ge,handleRadioUpdateChecked:ke,handleUpdateExpanded:j,renderCell:xe},de)},render(){const{mergedTheme:e,scrollX:t,mergedClsPrefix:n,virtualScroll:o,maxHeight:r,mergedTableLayout:i,flexHeight:a,loadingKeySet:s,onResize:l,setHeaderScrollLeft:c}=this,u=t!==void 0||r!==void 0||a,d=!u&&i==="auto",f=t!==void 0||d,h={minWidth:qt(t)||"100%"};t&&(h.width="100%");const p=v(Io,Object.assign({},this.scrollbarProps,{ref:"scrollbarInstRef",scrollable:u||d,class:`${n}-data-table-base-table-body`,style:this.empty?void 0:this.bodyStyle,theme:e.peers.Scrollbar,themeOverrides:e.peerOverrides.Scrollbar,contentStyle:h,container:o?this.virtualListContainer:void 0,content:o?this.virtualListContent:void 0,horizontalRailStyle:{zIndex:3},verticalRailStyle:{zIndex:3},xScrollable:f,onScroll:o?void 0:this.handleTableBodyScroll,internalOnUpdateScrollLeft:c,onResize:l}),{default:()=>{const g={},m={},{cols:b,paginatedDataAndInfo:_,mergedTheme:C,fixedColumnLeftMap:S,fixedColumnRightMap:w,currentPage:x,rowClassName:y,mergedSortState:P,mergedExpandedRowKeySet:k,stickyExpandedRows:T,componentId:E,childTriggerColIndex:R,expandable:K,rowProps:N,handleMouseleaveTable:D,renderExpand:M,summary:G,handleCheckboxUpdateChecked:J,handleRadioUpdateChecked:he,handleUpdateExpanded:pe}=this,{length:B}=b;let $;const{data:A,hasChildren:Y}=_,ne=Y?KU(A,k):A;if(G){const L=G(this.rawPaginatedData);if(Array.isArray(L)){const O=L.map((oe,_e)=>({isSummaryRow:!0,key:`__n_summary__${_e}`,tmNode:{rawNode:oe,disabled:!0},index:-1}));$=this.summaryPlacement==="top"?[...O,...ne]:[...ne,...O]}else{const O={isSummaryRow:!0,key:"__n_summary__",tmNode:{rawNode:L,disabled:!0},index:-1};$=this.summaryPlacement==="top"?[O,...ne]:[...ne,O]}}else $=ne;const fe=Y?{width:zn(this.indent)}:void 0,Q=[];$.forEach(L=>{M&&k.has(L.key)&&(!K||K(L.tmNode.rawNode))?Q.push(L,{isExpandedRow:!0,key:`${L.key}-expand`,tmNode:L.tmNode,index:L.index}):Q.push(L)});const{length:xe}=Q,H={};A.forEach(({tmNode:L},O)=>{H[O]=L.key});const ye=T?this.bodyWidth:null,Oe=ye===null?void 0:`${ye}px`,Ne=(L,O,oe)=>{const{index:_e}=L;if("isExpandedRow"in L){const{tmNode:{key:re,rawNode:de}}=L;return v("tr",{class:`${n}-data-table-tr ${n}-data-table-tr--expanded`,key:`${re}__expand`},v("td",{class:[`${n}-data-table-td`,`${n}-data-table-td--last-col`,O+1===xe&&`${n}-data-table-td--last-row`],colspan:B},T?v("div",{class:`${n}-data-table-expand`,style:{width:Oe}},M(de,_e)):M(de,_e)))}const te="isSummaryRow"in L,ge=!te&&L.striped,{tmNode:ke,key:I}=L,{rawNode:j}=ke,ee=k.has(I),Ce=N?N(j,_e):void 0,ce=typeof y=="string"?y:vU(j,_e,y);return v("tr",Object.assign({onMouseenter:()=>{this.hoverKey=I},key:I,class:[`${n}-data-table-tr`,te&&`${n}-data-table-tr--summary`,ge&&`${n}-data-table-tr--striped`,ee&&`${n}-data-table-tr--expanded`,ce]},Ce),b.map((re,de)=>{var De,Le,Pe,Fe,He;if(O in g){const Dt=g[O],Se=Dt.indexOf(de);if(~Se)return Dt.splice(Se,1),null}const{column:Ie}=re,Qe=wo(re),{rowSpan:Ct,colSpan:X}=Ie,ve=te?((De=L.tmNode.rawNode[Qe])===null||De===void 0?void 0:De.colSpan)||1:X?X(j,_e):1,Ae=te?((Le=L.tmNode.rawNode[Qe])===null||Le===void 0?void 0:Le.rowSpan)||1:Ct?Ct(j,_e):1,Ke=de+ve===B,Ze=O+Ae===xe,Je=Ae>1;if(Je&&(m[O]={[de]:[]}),ve>1||Je)for(let Dt=O;Dt{pe(I,L.tmNode)}})]:null,Ie.type==="selection"?te?null:Ie.multiple===!1?v(qU,{key:x,rowKey:I,disabled:L.tmNode.disabled,onUpdateChecked:()=>{he(L.tmNode)}}):v(UU,{key:x,rowKey:I,disabled:L.tmNode.disabled,onUpdateChecked:(Dt,Se)=>{J(L.tmNode,Dt,Se.shiftKey)}}):Ie.type==="expand"?te?null:!Ie.expandable||!((He=Ie.expandable)===null||He===void 0)&&He.call(Ie,j)?v(u1,{clsPrefix:n,expanded:ee,renderExpandIcon:this.renderExpandIcon,onClick:()=>{pe(I,null)}}):null:v(WU,{clsPrefix:n,index:_e,row:j,column:Ie,isSummary:te,mergedTheme:C,renderCell:this.renderCell}))}))};return o?v(Nw,{ref:"virtualListRef",items:Q,itemSize:28,visibleItemsTag:GU,visibleItemsProps:{clsPrefix:n,id:E,cols:b,onMouseleave:D},showScrollbar:!1,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemsStyle:h,itemResizable:!0},{default:({item:L,index:O})=>Ne(L,O,!0)}):v("table",{class:`${n}-data-table-table`,onMouseleave:D,style:{tableLayout:this.mergedTableLayout}},v("colgroup",null,b.map(L=>v("col",{key:L.key,style:L.style}))),this.showHeader?v(uS,{discrete:!1}):null,this.empty?null:v("tbody",{"data-n-id":E,class:`${n}-data-table-tbody`},Q.map((L,O)=>Ne(L,O,!1))))}});if(this.empty){const g=()=>v("div",{class:[`${n}-data-table-empty`,this.loading&&`${n}-data-table-empty--hide`],style:this.bodyStyle,ref:"emptyElRef"},An(this.dataTableSlots.empty,()=>[v(G_,{theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})]));return this.shouldDisplaySomeTablePart?v(it,null,p,g()):v(cr,{onResize:this.onResize},{default:g})}return p}}),XU=be({name:"MainTable",setup(){const{mergedClsPrefixRef:e,rightFixedColumnsRef:t,leftFixedColumnsRef:n,bodyWidthRef:o,maxHeightRef:r,minHeightRef:i,flexHeightRef:a,syncScrollState:s}=Ue(Oo),l=W(null),c=W(null),u=W(null),d=W(!(n.value.length||t.value.length)),f=F(()=>({maxHeight:qt(r.value),minHeight:qt(i.value)}));function h(b){o.value=b.contentRect.width,s(),d.value||(d.value=!0)}function p(){const{value:b}=l;return b?b.$el:null}function g(){const{value:b}=c;return b?b.getScrollContainer():null}const m={getBodyElement:g,getHeaderElement:p,scrollTo(b,_){var C;(C=c.value)===null||C===void 0||C.scrollTo(b,_)}};return Xt(()=>{const{value:b}=u;if(!b)return;const _=`${e.value}-data-table-base-table--transition-disabled`;d.value?setTimeout(()=>{b.classList.remove(_)},0):b.classList.add(_)}),Object.assign({maxHeight:r,mergedClsPrefix:e,selfElRef:u,headerInstRef:l,bodyInstRef:c,bodyStyle:f,flexHeight:a,handleBodyResize:h},m)},render(){const{mergedClsPrefix:e,maxHeight:t,flexHeight:n}=this,o=t===void 0&&!n;return v("div",{class:`${e}-data-table-base-table`,ref:"selfElRef"},o?null:v(uS,{ref:"headerInstRef"}),v(YU,{ref:"bodyInstRef",bodyStyle:this.bodyStyle,showHeader:o,flexHeight:n,onResize:this.handleBodyResize}))}});function ZU(e,t){const{paginatedDataRef:n,treeMateRef:o,selectionColumnRef:r}=t,i=W(e.defaultCheckedRowKeys),a=F(()=>{var w;const{checkedRowKeys:x}=e,y=x===void 0?i.value:x;return((w=r.value)===null||w===void 0?void 0:w.multiple)===!1?{checkedKeys:y.slice(0,1),indeterminateKeys:[]}:o.value.getCheckedKeys(y,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded})}),s=F(()=>a.value.checkedKeys),l=F(()=>a.value.indeterminateKeys),c=F(()=>new Set(s.value)),u=F(()=>new Set(l.value)),d=F(()=>{const{value:w}=c;return n.value.reduce((x,y)=>{const{key:P,disabled:k}=y;return x+(!k&&w.has(P)?1:0)},0)}),f=F(()=>n.value.filter(w=>w.disabled).length),h=F(()=>{const{length:w}=n.value,{value:x}=u;return d.value>0&&d.valuex.has(y.key))}),p=F(()=>{const{length:w}=n.value;return d.value!==0&&d.value===w-f.value}),g=F(()=>n.value.length===0);function m(w,x,y){const{"onUpdate:checkedRowKeys":P,onUpdateCheckedRowKeys:k,onCheckedRowKeysChange:T}=e,E=[],{value:{getNode:R}}=o;w.forEach(K=>{var N;const D=(N=R(K))===null||N===void 0?void 0:N.rawNode;E.push(D)}),P&&$e(P,w,E,{row:x,action:y}),k&&$e(k,w,E,{row:x,action:y}),T&&$e(T,w,E,{row:x,action:y}),i.value=w}function b(w,x=!1,y){if(!e.loading){if(x){m(Array.isArray(w)?w.slice(0,1):[w],y,"check");return}m(o.value.check(w,s.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,y,"check")}}function _(w,x){e.loading||m(o.value.uncheck(w,s.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,x,"uncheck")}function C(w=!1){const{value:x}=r;if(!x||e.loading)return;const y=[];(w?o.value.treeNodes:n.value).forEach(P=>{P.disabled||y.push(P.key)}),m(o.value.check(y,s.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"checkAll")}function S(w=!1){const{value:x}=r;if(!x||e.loading)return;const y=[];(w?o.value.treeNodes:n.value).forEach(P=>{P.disabled||y.push(P.key)}),m(o.value.uncheck(y,s.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"uncheckAll")}return{mergedCheckedRowKeySetRef:c,mergedCheckedRowKeysRef:s,mergedInderminateRowKeySetRef:u,someRowsCheckedRef:h,allRowsCheckedRef:p,headerCheckboxDisabledRef:g,doUpdateCheckedRowKeys:m,doCheckAll:C,doUncheckAll:S,doCheck:b,doUncheck:_}}function Vl(e){return typeof e=="object"&&typeof e.multiple=="number"?e.multiple:!1}function JU(e,t){return t&&(e===void 0||e==="default"||typeof e=="object"&&e.compare==="default")?QU(t):typeof e=="function"?e:e&&typeof e=="object"&&e.compare&&e.compare!=="default"?e.compare:!1}function QU(e){return(t,n)=>{const o=t[e],r=n[e];return o==null?r==null?0:-1:r==null?1:typeof o=="number"&&typeof r=="number"?o-r:typeof o=="string"&&typeof r=="string"?o.localeCompare(r):0}}function eq(e,{dataRelatedColsRef:t,filteredDataRef:n}){const o=[];t.value.forEach(h=>{var p;h.sorter!==void 0&&f(o,{columnKey:h.key,sorter:h.sorter,order:(p=h.defaultSortOrder)!==null&&p!==void 0?p:!1})});const r=W(o),i=F(()=>{const h=t.value.filter(m=>m.type!=="selection"&&m.sorter!==void 0&&(m.sortOrder==="ascend"||m.sortOrder==="descend"||m.sortOrder===!1)),p=h.filter(m=>m.sortOrder!==!1);if(p.length)return p.map(m=>({columnKey:m.key,order:m.sortOrder,sorter:m.sorter}));if(h.length)return[];const{value:g}=r;return Array.isArray(g)?g:g?[g]:[]}),a=F(()=>{const h=i.value.slice().sort((p,g)=>{const m=Vl(p.sorter)||0;return(Vl(g.sorter)||0)-m});return h.length?n.value.slice().sort((g,m)=>{let b=0;return h.some(_=>{const{columnKey:C,sorter:S,order:w}=_,x=JU(S,C);return x&&w&&(b=x(g.rawNode,m.rawNode),b!==0)?(b=b*pU(w),!0):!1}),b}):n.value});function s(h){let p=i.value.slice();return h&&Vl(h.sorter)!==!1?(p=p.filter(g=>Vl(g.sorter)!==!1),f(p,h),p):h||null}function l(h){const p=s(h);c(p)}function c(h){const{"onUpdate:sorter":p,onUpdateSorter:g,onSorterChange:m}=e;p&&$e(p,h),g&&$e(g,h),m&&$e(m,h),r.value=h}function u(h,p="ascend"){if(!h)d();else{const g=t.value.find(b=>b.type!=="selection"&&b.type!=="expand"&&b.key===h);if(!(g!=null&&g.sorter))return;const m=g.sorter;l({columnKey:h,sorter:m,order:p})}}function d(){c(null)}function f(h,p){const g=h.findIndex(m=>(p==null?void 0:p.columnKey)&&m.columnKey===p.columnKey);g!==void 0&&g>=0?h[g]=p:h.push(p)}return{clearSorter:d,sort:u,sortedDataRef:a,mergedSortStateRef:i,deriveNextSorter:l}}function tq(e,{dataRelatedColsRef:t}){const n=F(()=>{const B=$=>{for(let A=0;A<$.length;++A){const Y=$[A];if("children"in Y)return B(Y.children);if(Y.type==="selection")return Y}return null};return B(e.columns)}),o=F(()=>{const{childrenKey:B}=e;return Pi(e.data,{ignoreEmptyChildren:!0,getKey:e.rowKey,getChildren:$=>$[B],getDisabled:$=>{var A,Y;return!!(!((Y=(A=n.value)===null||A===void 0?void 0:A.disabled)===null||Y===void 0)&&Y.call(A,$))}})}),r=kt(()=>{const{columns:B}=e,{length:$}=B;let A=null;for(let Y=0;Y<$;++Y){const ne=B[Y];if(!ne.type&&A===null&&(A=Y),"tree"in ne&&ne.tree)return Y}return A||0}),i=W({}),{pagination:a}=e,s=W(a&&a.defaultPage||1),l=W(F2(a)),c=F(()=>{const B=t.value.filter(Y=>Y.filterOptionValues!==void 0||Y.filterOptionValue!==void 0),$={};return B.forEach(Y=>{var ne;Y.type==="selection"||Y.type==="expand"||(Y.filterOptionValues===void 0?$[Y.key]=(ne=Y.filterOptionValue)!==null&&ne!==void 0?ne:null:$[Y.key]=Y.filterOptionValues)}),Object.assign(a1(i.value),$)}),u=F(()=>{const B=c.value,{columns:$}=e;function A(fe){return(Q,xe)=>!!~String(xe[fe]).indexOf(String(Q))}const{value:{treeNodes:Y}}=o,ne=[];return $.forEach(fe=>{fe.type==="selection"||fe.type==="expand"||"children"in fe||ne.push([fe.key,fe])}),Y?Y.filter(fe=>{const{rawNode:Q}=fe;for(const[xe,H]of ne){let ye=B[xe];if(ye==null||(Array.isArray(ye)||(ye=[ye]),!ye.length))continue;const Oe=H.filter==="default"?A(xe):H.filter;if(H&&typeof Oe=="function")if(H.filterMode==="and"){if(ye.some(Ne=>!Oe(Ne,Q)))return!1}else{if(ye.some(Ne=>Oe(Ne,Q)))continue;return!1}}return!0}):[]}),{sortedDataRef:d,deriveNextSorter:f,mergedSortStateRef:h,sort:p,clearSorter:g}=eq(e,{dataRelatedColsRef:t,filteredDataRef:u});t.value.forEach(B=>{var $;if(B.filter){const A=B.defaultFilterOptionValues;B.filterMultiple?i.value[B.key]=A||[]:A!==void 0?i.value[B.key]=A===null?[]:A:i.value[B.key]=($=B.defaultFilterOptionValue)!==null&&$!==void 0?$:null}});const m=F(()=>{const{pagination:B}=e;if(B!==!1)return B.page}),b=F(()=>{const{pagination:B}=e;if(B!==!1)return B.pageSize}),_=an(m,s),C=an(b,l),S=kt(()=>{const B=_.value;return e.remote?B:Math.max(1,Math.min(Math.ceil(u.value.length/C.value),B))}),w=F(()=>{const{pagination:B}=e;if(B){const{pageCount:$}=B;if($!==void 0)return $}}),x=F(()=>{if(e.remote)return o.value.treeNodes;if(!e.pagination)return d.value;const B=C.value,$=(S.value-1)*B;return d.value.slice($,$+B)}),y=F(()=>x.value.map(B=>B.rawNode));function P(B){const{pagination:$}=e;if($){const{onChange:A,"onUpdate:page":Y,onUpdatePage:ne}=$;A&&$e(A,B),ne&&$e(ne,B),Y&&$e(Y,B),R(B)}}function k(B){const{pagination:$}=e;if($){const{onPageSizeChange:A,"onUpdate:pageSize":Y,onUpdatePageSize:ne}=$;A&&$e(A,B),ne&&$e(ne,B),Y&&$e(Y,B),K(B)}}const T=F(()=>{if(e.remote){const{pagination:B}=e;if(B){const{itemCount:$}=B;if($!==void 0)return $}return}return u.value.length}),E=F(()=>Object.assign(Object.assign({},e.pagination),{onChange:void 0,onUpdatePage:void 0,onUpdatePageSize:void 0,onPageSizeChange:void 0,"onUpdate:page":P,"onUpdate:pageSize":k,page:S.value,pageSize:C.value,pageCount:T.value===void 0?w.value:void 0,itemCount:T.value}));function R(B){const{"onUpdate:page":$,onPageChange:A,onUpdatePage:Y}=e;Y&&$e(Y,B),$&&$e($,B),A&&$e(A,B),s.value=B}function K(B){const{"onUpdate:pageSize":$,onPageSizeChange:A,onUpdatePageSize:Y}=e;A&&$e(A,B),Y&&$e(Y,B),$&&$e($,B),l.value=B}function N(B,$){const{onUpdateFilters:A,"onUpdate:filters":Y,onFiltersChange:ne}=e;A&&$e(A,B,$),Y&&$e(Y,B,$),ne&&$e(ne,B,$),i.value=B}function D(B,$,A,Y){var ne;(ne=e.onUnstableColumnResize)===null||ne===void 0||ne.call(e,B,$,A,Y)}function M(B){R(B)}function G(){J()}function J(){he({})}function he(B){pe(B)}function pe(B){B?B&&(i.value=a1(B)):i.value={}}return{treeMateRef:o,mergedCurrentPageRef:S,mergedPaginationRef:E,paginatedDataRef:x,rawPaginatedDataRef:y,mergedFilterStateRef:c,mergedSortStateRef:h,hoverKeyRef:W(null),selectionColumnRef:n,childTriggerColIndexRef:r,doUpdateFilters:N,deriveNextSorter:f,doUpdatePageSize:K,doUpdatePage:R,onUnstableColumnResize:D,filter:pe,filters:he,clearFilter:G,clearFilters:J,clearSorter:g,page:M,sort:p}}function nq(e,{mainTableInstRef:t,mergedCurrentPageRef:n,bodyWidthRef:o}){let r=0;const i=W(),a=W(null),s=W([]),l=W(null),c=W([]),u=F(()=>qt(e.scrollX)),d=F(()=>e.columns.filter(k=>k.fixed==="left")),f=F(()=>e.columns.filter(k=>k.fixed==="right")),h=F(()=>{const k={};let T=0;function E(R){R.forEach(K=>{const N={start:T,end:0};k[wo(K)]=N,"children"in K?(E(K.children),N.end=T):(T+=i1(K)||0,N.end=T)})}return E(d.value),k}),p=F(()=>{const k={};let T=0;function E(R){for(let K=R.length-1;K>=0;--K){const N=R[K],D={start:T,end:0};k[wo(N)]=D,"children"in N?(E(N.children),D.end=T):(T+=i1(N)||0,D.end=T)}}return E(f.value),k});function g(){var k,T;const{value:E}=d;let R=0;const{value:K}=h;let N=null;for(let D=0;D(((k=K[M])===null||k===void 0?void 0:k.start)||0)-R)N=M,R=((T=K[M])===null||T===void 0?void 0:T.end)||0;else break}a.value=N}function m(){s.value=[];let k=e.columns.find(T=>wo(T)===a.value);for(;k&&"children"in k;){const T=k.children.length;if(T===0)break;const E=k.children[T-1];s.value.push(wo(E)),k=E}}function b(){var k,T;const{value:E}=f,R=Number(e.scrollX),{value:K}=o;if(K===null)return;let N=0,D=null;const{value:M}=p;for(let G=E.length-1;G>=0;--G){const J=wo(E[G]);if(Math.round(r+(((k=M[J])===null||k===void 0?void 0:k.start)||0)+K-N)wo(T)===l.value);for(;k&&"children"in k&&k.children.length;){const T=k.children[0];c.value.push(wo(T)),k=T}}function C(){const k=t.value?t.value.getHeaderElement():null,T=t.value?t.value.getBodyElement():null;return{header:k,body:T}}function S(){const{body:k}=C();k&&(k.scrollTop=0)}function w(){i.value!=="body"?Rc(y):i.value=void 0}function x(k){var T;(T=e.onScroll)===null||T===void 0||T.call(e,k),i.value!=="head"?Rc(y):i.value=void 0}function y(){const{header:k,body:T}=C();if(!T)return;const{value:E}=o;if(E!==null){if(e.maxHeight||e.flexHeight){if(!k)return;const R=r-k.scrollLeft;i.value=R!==0?"head":"body",i.value==="head"?(r=k.scrollLeft,T.scrollLeft=r):(r=T.scrollLeft,k.scrollLeft=r)}else r=T.scrollLeft;g(),m(),b(),_()}}function P(k){const{header:T}=C();T&&(T.scrollLeft=k,y())}return ft(n,()=>{S()}),{styleScrollXRef:u,fixedColumnLeftMapRef:h,fixedColumnRightMapRef:p,leftFixedColumnsRef:d,rightFixedColumnsRef:f,leftActiveFixedColKeyRef:a,leftActiveFixedChildrenColKeysRef:s,rightActiveFixedColKeyRef:l,rightActiveFixedChildrenColKeysRef:c,syncScrollState:y,handleTableBodyScroll:x,handleTableHeaderScroll:w,setHeaderScrollLeft:P}}function oq(){const e=W({});function t(r){return e.value[r]}function n(r,i){tS(r)&&"key"in r&&(e.value[r.key]=i)}function o(){e.value={}}return{getResizableWidth:t,doUpdateResizableWidth:n,clearResizableWidth:o}}function rq(e,t){const n=[],o=[],r=[],i=new WeakMap;let a=-1,s=0,l=!1;function c(f,h){h>a&&(n[h]=[],a=h);for(const p of f)if("children"in p)c(p.children,h+1);else{const g="key"in p?p.key:void 0;o.push({key:wo(p),style:gU(p,g!==void 0?qt(t(g)):void 0),column:p}),s+=1,l||(l=!!p.ellipsis),r.push(p)}}c(e,0);let u=0;function d(f,h){let p=0;f.forEach(g=>{var m;if("children"in g){const b=u,_={column:g,colSpan:0,rowSpan:1,isLast:!1};d(g.children,h+1),g.children.forEach(C=>{var S,w;_.colSpan+=(w=(S=i.get(C))===null||S===void 0?void 0:S.colSpan)!==null&&w!==void 0?w:0}),b+_.colSpan===s&&(_.isLast=!0),i.set(g,_),n[h].push(_)}else{if(u1&&(p=u+b);const _=u+b===s,C={column:g,colSpan:b,rowSpan:a-h+1,isLast:_};i.set(g,C),n[h].push(C),u+=1}})}return d(e,0),{hasEllipsis:l,rows:n,cols:o,dataRelatedCols:r}}function iq(e,t){const n=F(()=>rq(e.columns,t));return{rowsRef:F(()=>n.value.rows),colsRef:F(()=>n.value.cols),hasEllipsisRef:F(()=>n.value.hasEllipsis),dataRelatedColsRef:F(()=>n.value.dataRelatedCols)}}function aq(e,t){const n=kt(()=>{for(const c of e.columns)if(c.type==="expand")return c.renderExpand}),o=kt(()=>{let c;for(const u of e.columns)if(u.type==="expand"){c=u.expandable;break}return c}),r=W(e.defaultExpandAll?n!=null&&n.value?(()=>{const c=[];return t.value.treeNodes.forEach(u=>{var d;!((d=o.value)===null||d===void 0)&&d.call(o,u.rawNode)&&c.push(u.key)}),c})():t.value.getNonLeafKeys():e.defaultExpandedRowKeys),i=We(e,"expandedRowKeys"),a=We(e,"stickyExpandedRows"),s=an(i,r);function l(c){const{onUpdateExpandedRowKeys:u,"onUpdate:expandedRowKeys":d}=e;u&&$e(u,c),d&&$e(d,c),r.value=c}return{stickyExpandedRowsRef:a,mergedExpandedRowKeysRef:s,renderExpandRef:n,expandableRef:o,doUpdateExpandedRowKeys:l}}const d1=lq(),sq=q([z("data-table",` width: 100%; font-size: var(--n-font-size); display: flex; @@ -2110,8 +2107,9 @@ ${t} --n-merged-th-color: var(--n-th-color); --n-merged-td-color: var(--n-td-color); --n-merged-border-color: var(--n-border-color); - --n-merged-th-color-hover: var(--n-th-color-hover); + --n-merged-th-color-sorting: var(--n-th-color-sorting); --n-merged-td-color-hover: var(--n-td-color-hover); + --n-merged-td-color-sorting: var(--n-td-color-sorting); --n-merged-td-color-striped: var(--n-td-color-striped); `,[z("data-table-wrapper",` flex-grow: 1; @@ -2132,7 +2130,7 @@ ${t} display: flex; align-items: center; justify-content: center; - `,[Na({originalTransform:"translateX(-50%) translateY(-50%)"})])]),z("data-table-expand-placeholder",` + `,[qa({originalTransform:"translateX(-50%) translateY(-50%)"})])]),z("data-table-expand-placeholder",` margin-right: 8px; display: inline-block; width: 16px; @@ -2185,7 +2183,7 @@ ${t} margin: calc(var(--n-th-padding) * -1); padding: var(--n-th-padding); box-sizing: border-box; - `),Z("striped","background-color: var(--n-merged-td-color-striped);",[z("data-table-td","background-color: var(--n-merged-td-color-striped);")]),Tt("summary",[q("&:hover","background-color: var(--n-merged-td-color-hover);",[q(">",[z("data-table-td","background-color: var(--n-merged-td-color-hover);")])])])]),z("data-table-th",` + `),Z("striped","background-color: var(--n-merged-td-color-striped);",[z("data-table-td","background-color: var(--n-merged-td-color-striped);")]),Rt("summary",[q("&:hover","background-color: var(--n-merged-td-color-hover);",[q(">",[z("data-table-td","background-color: var(--n-merged-td-color-hover);")])])])]),z("data-table-th",` padding: var(--n-th-padding); position: relative; text-align: start; @@ -2203,7 +2201,7 @@ ${t} padding-right: 36px; `,[Z("sortable",` padding-right: calc(var(--n-th-padding) + 36px); - `)]),G0,Z("selection",` + `)]),d1,Z("selection",` padding: 0; text-align: center; line-height: 0; @@ -2225,6 +2223,8 @@ ${t} max-width: 100%; `),Z("hover",` background-color: var(--n-merged-th-color-hover); + `),Z("sorting",` + background-color: var(--n-merged-th-color-sorting); `),Z("sortable",` cursor: pointer; `,[V("ellipsis",` @@ -2320,6 +2320,8 @@ ${t} background-color: var(--n-merged-th-color); `),Z("hover",` background-color: var(--n-merged-td-color-hover); + `),Z("sorting",` + background-color: var(--n-merged-td-color-sorting); `),V("ellipsis",` display: inline-block; text-overflow: ellipsis; @@ -2332,7 +2334,7 @@ ${t} text-align: center; padding: 0; line-height: 0; - `),G0]),z("data-table-empty",` + `),d1]),z("data-table-empty",` box-sizing: border-box; padding: var(--n-empty-padding); flex-grow: 1; @@ -2362,7 +2364,7 @@ ${t} border-bottom: 0 solid var(--n-merged-border-color); `,[q("&::after, &::before",` bottom: 0 !important; - `)])]),Tt("single-line",[z("data-table-th",` + `)])]),Rt("single-line",[z("data-table-th",` border-right: 1px solid var(--n-merged-border-color); `,[Z("last",` border-right: 0 solid var(--n-merged-border-color); @@ -2429,21 +2431,25 @@ ${t} margin-right: 0; `)])]),z("divider",` margin: 0 !important; - `)]),rl(z("data-table",` + `)]),al(z("data-table",` --n-merged-th-color: var(--n-th-color-modal); --n-merged-td-color: var(--n-td-color-modal); --n-merged-border-color: var(--n-border-color-modal); --n-merged-th-color-hover: var(--n-th-color-hover-modal); --n-merged-td-color-hover: var(--n-td-color-hover-modal); + --n-merged-th-color-sorting: var(--n-th-color-hover-modal); + --n-merged-td-color-sorting: var(--n-td-color-hover-modal); --n-merged-td-color-striped: var(--n-td-color-striped-modal); - `)),Cu(z("data-table",` + `)),ku(z("data-table",` --n-merged-th-color: var(--n-th-color-popover); --n-merged-td-color: var(--n-td-color-popover); --n-merged-border-color: var(--n-border-color-popover); --n-merged-th-color-hover: var(--n-th-color-hover-popover); --n-merged-td-color-hover: var(--n-td-color-hover-popover); + --n-merged-th-color-sorting: var(--n-th-color-hover-popover); + --n-merged-td-color-sorting: var(--n-td-color-hover-popover); --n-merged-td-color-striped: var(--n-td-color-striped-popover); - `))]);function vU(){return[Z("fixed-left",` + `))]);function lq(){return[Z("fixed-left",` left: 0; position: sticky; z-index: 2; @@ -2471,7 +2477,7 @@ ${t} bottom: -1px; transition: box-shadow .2s var(--n-bezier); left: -36px; - `)])]}const Du=ve({name:"DataTable",alias:["AdvancedTable"],props:pW,setup(e,{slots:t}){const{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:i}=st(e),a=pn("DataTable",i,o),s=L(()=>{const{bottomBordered:X}=e;return n.value?!1:X!==void 0?X:!0}),l=Be("DataTable","-data-table",gU,lW,e,o),c=W(null),u=W(null),{getResizableWidth:d,clearResizableWidth:f,doUpdateResizableWidth:p}=fU(),{rowsRef:h,colsRef:m,dataRelatedColsRef:v,hasEllipsisRef:b}=pU(e,d),w=X=>{const{fileName:ge="data.csv",keepOriginalData:$e=!1}=X||{},Ke=$e?e.data:x.value,Xe=$W(e.columns,Ke),Ze=new Blob([Xe],{type:"text/csv;charset=utf-8"}),tt=URL.createObjectURL(Ze);L8(tt,ge.endsWith(".csv")?ge:`${ge}.csv`),URL.revokeObjectURL(tt)},{treeMateRef:C,mergedCurrentPageRef:S,paginatedDataRef:_,rawPaginatedDataRef:x,selectionColumnRef:y,hoverKeyRef:k,mergedPaginationRef:P,mergedFilterStateRef:T,mergedSortStateRef:$,childTriggerColIndexRef:R,doUpdatePage:K,doUpdateFilters:j,onUnstableColumnResize:D,deriveNextSorter:M,filter:Y,filters:Q,clearFilter:de,clearFilters:pe,clearSorter:B,page:E,sort:A}=uU(e,{dataRelatedColsRef:v}),{doCheckAll:G,doUncheckAll:oe,doCheck:fe,doUncheck:J,headerCheckboxDisabledRef:xe,someRowsCheckedRef:N,allRowsCheckedRef:be,mergedCheckedRowKeySetRef:Oe,mergedInderminateRowKeySetRef:Le}=aU(e,{selectionColumnRef:y,treeMateRef:C,paginatedDataRef:_}),{stickyExpandedRowsRef:F,mergedExpandedRowKeysRef:O,renderExpandRef:re,expandableRef:_e,doUpdateExpandedRowKeys:ee}=mU(e,C),{handleTableBodyScroll:ye,handleTableHeaderScroll:Pe,syncScrollState:I,setHeaderScrollLeft:H,leftActiveFixedColKeyRef:te,leftActiveFixedChildrenColKeysRef:Ce,rightActiveFixedColKeyRef:ae,rightActiveFixedChildrenColKeysRef:he,leftFixedColumnsRef:ne,rightFixedColumnsRef:ue,fixedColumnLeftMapRef:De,fixedColumnRightMapRef:Ue}=dU(e,{bodyWidthRef:c,mainTableInstRef:u,mergedCurrentPageRef:S}),{localeRef:ke}=Di("DataTable"),Fe=L(()=>e.virtualScroll||e.flexHeight||e.maxHeight!==void 0||b.value?"fixed":e.tableLayout);at(Ro,{props:e,treeMateRef:C,renderExpandIconRef:Ve(e,"renderExpandIcon"),loadingKeySetRef:W(new Set),slots:t,indentRef:Ve(e,"indent"),childTriggerColIndexRef:R,bodyWidthRef:c,componentId:Gr(),hoverKeyRef:k,mergedClsPrefixRef:o,mergedThemeRef:l,scrollXRef:L(()=>e.scrollX),rowsRef:h,colsRef:m,paginatedDataRef:_,leftActiveFixedColKeyRef:te,leftActiveFixedChildrenColKeysRef:Ce,rightActiveFixedColKeyRef:ae,rightActiveFixedChildrenColKeysRef:he,leftFixedColumnsRef:ne,rightFixedColumnsRef:ue,fixedColumnLeftMapRef:De,fixedColumnRightMapRef:Ue,mergedCurrentPageRef:S,someRowsCheckedRef:N,allRowsCheckedRef:be,mergedSortStateRef:$,mergedFilterStateRef:T,loadingRef:Ve(e,"loading"),rowClassNameRef:Ve(e,"rowClassName"),mergedCheckedRowKeySetRef:Oe,mergedExpandedRowKeysRef:O,mergedInderminateRowKeySetRef:Le,localeRef:ke,expandableRef:_e,stickyExpandedRowsRef:F,rowKeyRef:Ve(e,"rowKey"),renderExpandRef:re,summaryRef:Ve(e,"summary"),virtualScrollRef:Ve(e,"virtualScroll"),rowPropsRef:Ve(e,"rowProps"),stripedRef:Ve(e,"striped"),checkOptionsRef:L(()=>{const{value:X}=y;return X==null?void 0:X.options}),rawPaginatedDataRef:x,filterMenuCssVarsRef:L(()=>{const{self:{actionDividerColor:X,actionPadding:ge,actionButtonMargin:$e}}=l.value;return{"--n-action-padding":ge,"--n-action-button-margin":$e,"--n-action-divider-color":X}}),onLoadRef:Ve(e,"onLoad"),mergedTableLayoutRef:Fe,maxHeightRef:Ve(e,"maxHeight"),minHeightRef:Ve(e,"minHeight"),flexHeightRef:Ve(e,"flexHeight"),headerCheckboxDisabledRef:xe,paginationBehaviorOnFilterRef:Ve(e,"paginationBehaviorOnFilter"),summaryPlacementRef:Ve(e,"summaryPlacement"),scrollbarPropsRef:Ve(e,"scrollbarProps"),syncScrollState:I,doUpdatePage:K,doUpdateFilters:j,getResizableWidth:d,onUnstableColumnResize:D,clearResizableWidth:f,doUpdateResizableWidth:p,deriveNextSorter:M,doCheck:fe,doUncheck:J,doCheckAll:G,doUncheckAll:oe,doUpdateExpandedRowKeys:ee,handleTableHeaderScroll:Pe,handleTableBodyScroll:ye,setHeaderScrollLeft:H,renderCell:Ve(e,"renderCell")});const je={filter:Y,filters:Q,clearFilters:pe,clearSorter:B,page:E,sort:A,clearFilter:de,downloadCsv:w,scrollTo:(X,ge)=>{var $e;($e=u.value)===null||$e===void 0||$e.scrollTo(X,ge)}},Ae=L(()=>{const{size:X}=e,{common:{cubicBezierEaseInOut:ge},self:{borderColor:$e,tdColorHover:Ke,thColor:Xe,thColorHover:Ze,tdColor:tt,tdTextColor:it,thTextColor:yt,thFontWeight:on,thButtonColorHover:Dt,thIconColor:Se,thIconColorActive:He,filterSize:Qe,borderRadius:ht,lineHeight:gt,tdColorModal:ut,thColorModal:Rt,borderColorModal:se,thColorHoverModal:Re,tdColorHoverModal:ot,borderColorPopover:Bt,thColorPopover:Kt,tdColorPopover:Lt,tdColorHoverPopover:po,thColorHoverPopover:mo,paginationMargin:go,emptyPadding:Go,boxShadowAfter:Yo,boxShadowBefore:ei,sorterSize:qa,resizableContainerSize:Ka,resizableSize:Ga,loadingColor:Ya,loadingSize:vr,opacityLoading:br,tdColorStriped:Qu,tdColorStripedModal:ed,tdColorStripedPopover:td,[Te("fontSize",X)]:nd,[Te("thPadding",X)]:od,[Te("tdPadding",X)]:rd}}=l.value;return{"--n-font-size":nd,"--n-th-padding":od,"--n-td-padding":rd,"--n-bezier":ge,"--n-border-radius":ht,"--n-line-height":gt,"--n-border-color":$e,"--n-border-color-modal":se,"--n-border-color-popover":Bt,"--n-th-color":Xe,"--n-th-color-hover":Ze,"--n-th-color-modal":Rt,"--n-th-color-hover-modal":Re,"--n-th-color-popover":Kt,"--n-th-color-hover-popover":mo,"--n-td-color":tt,"--n-td-color-hover":Ke,"--n-td-color-modal":ut,"--n-td-color-hover-modal":ot,"--n-td-color-popover":Lt,"--n-td-color-hover-popover":po,"--n-th-text-color":yt,"--n-td-text-color":it,"--n-th-font-weight":on,"--n-th-button-color-hover":Dt,"--n-th-icon-color":Se,"--n-th-icon-color-active":He,"--n-filter-size":Qe,"--n-pagination-margin":go,"--n-empty-padding":Go,"--n-box-shadow-before":ei,"--n-box-shadow-after":Yo,"--n-sorter-size":qa,"--n-resizable-container-size":Ka,"--n-resizable-size":Ga,"--n-loading-size":vr,"--n-loading-color":Ya,"--n-opacity-loading":br,"--n-td-color-striped":Qu,"--n-td-color-striped-modal":ed,"--n-td-color-striped-popover":td}}),Je=r?kt("data-table",L(()=>e.size[0]),Ae,e):void 0,xt=L(()=>{if(!e.pagination)return!1;if(e.paginateSinglePage)return!0;const X=P.value,{pageCount:ge}=X;return ge!==void 0?ge>1:X.itemCount&&X.pageSize&&X.itemCount>X.pageSize});return Object.assign({mainTableInstRef:u,mergedClsPrefix:o,rtlEnabled:a,mergedTheme:l,paginatedData:_,mergedBordered:n,mergedBottomBordered:s,mergedPagination:P,mergedShowPagination:xt,cssVars:r?void 0:Ae,themeClass:Je==null?void 0:Je.themeClass,onRender:Je==null?void 0:Je.onRender},je)},render(){const{mergedClsPrefix:e,themeClass:t,onRender:n,$slots:o,spinProps:r}=this;return n==null||n(),g("div",{class:[`${e}-data-table`,this.rtlEnabled&&`${e}-data-table--rtl`,t,{[`${e}-data-table--bordered`]:this.mergedBordered,[`${e}-data-table--bottom-bordered`]:this.mergedBottomBordered,[`${e}-data-table--single-line`]:this.singleLine,[`${e}-data-table--single-column`]:this.singleColumn,[`${e}-data-table--loading`]:this.loading,[`${e}-data-table--flex-height`]:this.flexHeight}],style:this.cssVars},g("div",{class:`${e}-data-table-wrapper`},g(iU,{ref:"mainTableInstRef"})),this.mergedShowPagination?g("div",{class:`${e}-data-table__pagination`},g(GV,Object.assign({theme:this.mergedTheme.peers.Pagination,themeOverrides:this.mergedTheme.peerOverrides.Pagination,disabled:this.loading},this.mergedPagination))):null,g(fn,{name:"fade-in-scale-up-transition"},{default:()=>this.loading?g("div",{class:`${e}-data-table-loading-wrapper`},An(o.loading,()=>[g(Jr,Object.assign({clsPrefix:e,strokeWidth:20},r))])):null}))}}),bU={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"},yU=e=>{const{popoverColor:t,textColor2:n,primaryColor:o,hoverColor:r,dividerColor:i,opacityDisabled:a,boxShadow2:s,borderRadius:l,iconColor:c,iconColorDisabled:u}=e;return Object.assign(Object.assign({},bU),{panelColor:t,panelBoxShadow:s,panelDividerColor:i,itemTextColor:n,itemTextColorActive:o,itemColorHover:r,itemOpacityDisabled:a,itemBorderRadius:l,borderRadius:l,iconColor:c,iconColorDisabled:u})},xU={name:"TimePicker",common:Ne,peers:{Scrollbar:Vn,Button:Wn,Input:uo},self:yU},F2=xU,CU={itemSize:"24px",itemCellWidth:"38px",itemCellHeight:"32px",scrollItemWidth:"80px",scrollItemHeight:"40px",panelExtraFooterPadding:"8px 12px",panelActionPadding:"8px 12px",calendarTitlePadding:"0",calendarTitleHeight:"28px",arrowSize:"14px",panelHeaderPadding:"8px 12px",calendarDaysHeight:"32px",calendarTitleGridTempateColumns:"28px 28px 1fr 28px 28px",calendarLeftPaddingDate:"6px 12px 4px 12px",calendarLeftPaddingDatetime:"4px 12px",calendarLeftPaddingDaterange:"6px 12px 4px 12px",calendarLeftPaddingDatetimerange:"4px 12px",calendarLeftPaddingMonth:"0",calendarLeftPaddingYear:"0",calendarLeftPaddingQuarter:"0",calendarLeftPaddingMonthrange:"0",calendarLeftPaddingQuarterrange:"0",calendarLeftPaddingYearrange:"0",calendarLeftPaddingWeek:"6px 12px 4px 12px",calendarRightPaddingDate:"6px 12px 4px 12px",calendarRightPaddingDatetime:"4px 12px",calendarRightPaddingDaterange:"6px 12px 4px 12px",calendarRightPaddingDatetimerange:"4px 12px",calendarRightPaddingMonth:"0",calendarRightPaddingYear:"0",calendarRightPaddingQuarter:"0",calendarRightPaddingMonthrange:"0",calendarRightPaddingQuarterrange:"0",calendarRightPaddingYearrange:"0",calendarRightPaddingWeek:"0"},wU=e=>{const{hoverColor:t,fontSize:n,textColor2:o,textColorDisabled:r,popoverColor:i,primaryColor:a,borderRadiusSmall:s,iconColor:l,iconColorDisabled:c,textColor1:u,dividerColor:d,boxShadow2:f,borderRadius:p,fontWeightStrong:h}=e;return Object.assign(Object.assign({},CU),{itemFontSize:n,calendarDaysFontSize:n,calendarTitleFontSize:n,itemTextColor:o,itemTextColorDisabled:r,itemTextColorActive:i,itemTextColorCurrent:a,itemColorIncluded:Me(a,{alpha:.1}),itemColorHover:t,itemColorDisabled:t,itemColorActive:a,itemBorderRadius:s,panelColor:i,panelTextColor:o,arrowColor:l,calendarTitleTextColor:u,calendarTitleColorHover:t,calendarDaysTextColor:o,panelHeaderDividerColor:d,calendarDaysDividerColor:d,calendarDividerColor:d,panelActionDividerColor:d,panelBoxShadow:f,panelBorderRadius:p,calendarTitleFontWeight:h,scrollItemBorderRadius:p,iconColor:l,iconColorDisabled:c})},_U={name:"DatePicker",common:Ne,peers:{Input:uo,Button:Wn,TimePicker:F2,Scrollbar:Vn},self(e){const{popoverColor:t,hoverColor:n,primaryColor:o}=e,r=wU(e);return r.itemColorDisabled=et(t,n),r.itemColorIncluded=Me(o,{alpha:.15}),r.itemColorHover=et(t,n),r}},SU=_U,kU={thPaddingBorderedSmall:"8px 12px",thPaddingBorderedMedium:"12px 16px",thPaddingBorderedLarge:"16px 24px",thPaddingSmall:"0",thPaddingMedium:"0",thPaddingLarge:"0",tdPaddingBorderedSmall:"8px 12px",tdPaddingBorderedMedium:"12px 16px",tdPaddingBorderedLarge:"16px 24px",tdPaddingSmall:"0 0 8px 0",tdPaddingMedium:"0 0 12px 0",tdPaddingLarge:"0 0 16px 0"},PU=e=>{const{tableHeaderColor:t,textColor2:n,textColor1:o,cardColor:r,modalColor:i,popoverColor:a,dividerColor:s,borderRadius:l,fontWeightStrong:c,lineHeight:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:p}=e;return Object.assign(Object.assign({},kU),{lineHeight:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:p,titleTextColor:o,thColor:et(r,t),thColorModal:et(i,t),thColorPopover:et(a,t),thTextColor:o,thFontWeight:c,tdTextColor:n,tdColor:r,tdColorModal:i,tdColorPopover:a,borderColor:et(r,s),borderColorModal:et(i,s),borderColorPopover:et(a,s),borderRadius:l})},TU={name:"Descriptions",common:Ne,self:PU},RU=TU,EU={titleFontSize:"18px",padding:"16px 28px 20px 28px",iconSize:"28px",actionSpace:"12px",contentMargin:"8px 0 16px 0",iconMargin:"0 4px 0 0",iconMarginIconTop:"4px 0 8px 0",closeSize:"22px",closeIconSize:"18px",closeMargin:"20px 26px 0 0",closeMarginIconTop:"10px 16px 0 0"},B2=e=>{const{textColor1:t,textColor2:n,modalColor:o,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,infoColor:c,successColor:u,warningColor:d,errorColor:f,primaryColor:p,dividerColor:h,borderRadius:m,fontWeightStrong:v,lineHeight:b,fontSize:w}=e;return Object.assign(Object.assign({},EU),{fontSize:w,lineHeight:b,border:`1px solid ${h}`,titleTextColor:t,textColor:n,color:o,closeColorHover:s,closeColorPressed:l,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeBorderRadius:m,iconColor:p,iconColorInfo:c,iconColorSuccess:u,iconColorWarning:d,iconColorError:f,borderRadius:m,titleFontWeight:v})},$U={name:"Dialog",common:bt,peers:{Button:Au},self:B2},N2=$U,AU={name:"Dialog",common:Ne,peers:{Button:Wn},self:B2},H2=AU,Lu={icon:Function,type:{type:String,default:"default"},title:[String,Function],closable:{type:Boolean,default:!0},negativeText:String,positiveText:String,positiveButtonProps:Object,negativeButtonProps:Object,content:[String,Function],action:Function,showIcon:{type:Boolean,default:!0},loading:Boolean,bordered:Boolean,iconPlacement:String,onPositiveClick:Function,onNegativeClick:Function,onClose:Function},j2=Yr(Lu),IU=q([z("dialog",` + `)])]}const Nu=be({name:"DataTable",alias:["AdvancedTable"],props:rU,setup(e,{slots:t}){const{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:i}=st(e),a=pn("DataTable",i,o),s=F(()=>{const{bottomBordered:X}=e;return n.value?!1:X!==void 0?X:!0}),l=Be("DataTable","-data-table",sq,QW,e,o),c=W(null),u=W(null),{getResizableWidth:d,clearResizableWidth:f,doUpdateResizableWidth:h}=oq(),{rowsRef:p,colsRef:g,dataRelatedColsRef:m,hasEllipsisRef:b}=iq(e,d),{treeMateRef:_,mergedCurrentPageRef:C,paginatedDataRef:S,rawPaginatedDataRef:w,selectionColumnRef:x,hoverKeyRef:y,mergedPaginationRef:P,mergedFilterStateRef:k,mergedSortStateRef:T,childTriggerColIndexRef:E,doUpdatePage:R,doUpdateFilters:K,onUnstableColumnResize:N,deriveNextSorter:D,filter:M,filters:G,clearFilter:J,clearFilters:he,clearSorter:pe,page:B,sort:$}=tq(e,{dataRelatedColsRef:m}),A=X=>{const{fileName:ve="data.csv",keepOriginalData:Ae=!1}=X||{},Ke=Ae?e.data:w.value,Ze=xU(e.columns,Ke),Je=new Blob([Ze],{type:"text/csv;charset=utf-8"}),tt=URL.createObjectURL(Je);TI(tt,ve.endsWith(".csv")?ve:`${ve}.csv`),URL.revokeObjectURL(tt)},{doCheckAll:Y,doUncheckAll:ne,doCheck:fe,doUncheck:Q,headerCheckboxDisabledRef:xe,someRowsCheckedRef:H,allRowsCheckedRef:ye,mergedCheckedRowKeySetRef:Oe,mergedInderminateRowKeySetRef:Ne}=ZU(e,{selectionColumnRef:x,treeMateRef:_,paginatedDataRef:S}),{stickyExpandedRowsRef:L,mergedExpandedRowKeysRef:O,renderExpandRef:oe,expandableRef:_e,doUpdateExpandedRowKeys:te}=aq(e,_),{handleTableBodyScroll:ge,handleTableHeaderScroll:ke,syncScrollState:I,setHeaderScrollLeft:j,leftActiveFixedColKeyRef:ee,leftActiveFixedChildrenColKeysRef:Ce,rightActiveFixedColKeyRef:ce,rightActiveFixedChildrenColKeysRef:le,leftFixedColumnsRef:re,rightFixedColumnsRef:de,fixedColumnLeftMapRef:De,fixedColumnRightMapRef:Le}=nq(e,{bodyWidthRef:c,mainTableInstRef:u,mergedCurrentPageRef:C}),{localeRef:Pe}=Hi("DataTable"),Fe=F(()=>e.virtualScroll||e.flexHeight||e.maxHeight!==void 0||b.value?"fixed":e.tableLayout);at(Oo,{props:e,treeMateRef:_,renderExpandIconRef:We(e,"renderExpandIcon"),loadingKeySetRef:W(new Set),slots:t,indentRef:We(e,"indent"),childTriggerColIndexRef:E,bodyWidthRef:c,componentId:Zr(),hoverKeyRef:y,mergedClsPrefixRef:o,mergedThemeRef:l,scrollXRef:F(()=>e.scrollX),rowsRef:p,colsRef:g,paginatedDataRef:S,leftActiveFixedColKeyRef:ee,leftActiveFixedChildrenColKeysRef:Ce,rightActiveFixedColKeyRef:ce,rightActiveFixedChildrenColKeysRef:le,leftFixedColumnsRef:re,rightFixedColumnsRef:de,fixedColumnLeftMapRef:De,fixedColumnRightMapRef:Le,mergedCurrentPageRef:C,someRowsCheckedRef:H,allRowsCheckedRef:ye,mergedSortStateRef:T,mergedFilterStateRef:k,loadingRef:We(e,"loading"),rowClassNameRef:We(e,"rowClassName"),mergedCheckedRowKeySetRef:Oe,mergedExpandedRowKeysRef:O,mergedInderminateRowKeySetRef:Ne,localeRef:Pe,expandableRef:_e,stickyExpandedRowsRef:L,rowKeyRef:We(e,"rowKey"),renderExpandRef:oe,summaryRef:We(e,"summary"),virtualScrollRef:We(e,"virtualScroll"),rowPropsRef:We(e,"rowProps"),stripedRef:We(e,"striped"),checkOptionsRef:F(()=>{const{value:X}=x;return X==null?void 0:X.options}),rawPaginatedDataRef:w,filterMenuCssVarsRef:F(()=>{const{self:{actionDividerColor:X,actionPadding:ve,actionButtonMargin:Ae}}=l.value;return{"--n-action-padding":ve,"--n-action-button-margin":Ae,"--n-action-divider-color":X}}),onLoadRef:We(e,"onLoad"),mergedTableLayoutRef:Fe,maxHeightRef:We(e,"maxHeight"),minHeightRef:We(e,"minHeight"),flexHeightRef:We(e,"flexHeight"),headerCheckboxDisabledRef:xe,paginationBehaviorOnFilterRef:We(e,"paginationBehaviorOnFilter"),summaryPlacementRef:We(e,"summaryPlacement"),filterIconPopoverPropsRef:We(e,"filterIconPopoverProps"),scrollbarPropsRef:We(e,"scrollbarProps"),syncScrollState:I,doUpdatePage:R,doUpdateFilters:K,getResizableWidth:d,onUnstableColumnResize:N,clearResizableWidth:f,doUpdateResizableWidth:h,deriveNextSorter:D,doCheck:fe,doUncheck:Q,doCheckAll:Y,doUncheckAll:ne,doUpdateExpandedRowKeys:te,handleTableHeaderScroll:ke,handleTableBodyScroll:ge,setHeaderScrollLeft:j,renderCell:We(e,"renderCell")});const He={filter:M,filters:G,clearFilters:he,clearSorter:pe,page:B,sort:$,clearFilter:J,downloadCsv:A,scrollTo:(X,ve)=>{var Ae;(Ae=u.value)===null||Ae===void 0||Ae.scrollTo(X,ve)}},Ie=F(()=>{const{size:X}=e,{common:{cubicBezierEaseInOut:ve},self:{borderColor:Ae,tdColorHover:Ke,tdColorSorting:Ze,tdColorSortingModal:Je,tdColorSortingPopover:tt,thColorSorting:rt,thColorSortingModal:vt,thColorSortingPopover:sn,thColor:Dt,thColorHover:Se,tdColor:Ve,tdTextColor:et,thTextColor:ht,thFontWeight:bt,thButtonColorHover:ut,thIconColor:Et,thIconColorActive:ae,filterSize:Ee,borderRadius:ot,lineHeight:Bt,tdColorModal:Kt,thColorModal:Lt,borderColorModal:bo,thColorHoverModal:yo,tdColorHoverModal:xo,borderColorPopover:Xo,thColorPopover:Zo,tdColorPopover:oi,tdColorHoverPopover:Ja,thColorHoverPopover:Qa,paginationMargin:es,emptyPadding:ts,boxShadowAfter:yr,boxShadowBefore:xr,sorterSize:od,resizableContainerSize:rd,resizableSize:id,loadingColor:ad,loadingSize:sd,opacityLoading:ld,tdColorStriped:cd,tdColorStripedModal:ud,tdColorStripedPopover:dd,[Re("fontSize",X)]:fd,[Re("thPadding",X)]:hd,[Re("tdPadding",X)]:pd}}=l.value;return{"--n-font-size":fd,"--n-th-padding":hd,"--n-td-padding":pd,"--n-bezier":ve,"--n-border-radius":ot,"--n-line-height":Bt,"--n-border-color":Ae,"--n-border-color-modal":bo,"--n-border-color-popover":Xo,"--n-th-color":Dt,"--n-th-color-hover":Se,"--n-th-color-modal":Lt,"--n-th-color-hover-modal":yo,"--n-th-color-popover":Zo,"--n-th-color-hover-popover":Qa,"--n-td-color":Ve,"--n-td-color-hover":Ke,"--n-td-color-modal":Kt,"--n-td-color-hover-modal":xo,"--n-td-color-popover":oi,"--n-td-color-hover-popover":Ja,"--n-th-text-color":ht,"--n-td-text-color":et,"--n-th-font-weight":bt,"--n-th-button-color-hover":ut,"--n-th-icon-color":Et,"--n-th-icon-color-active":ae,"--n-filter-size":Ee,"--n-pagination-margin":es,"--n-empty-padding":ts,"--n-box-shadow-before":xr,"--n-box-shadow-after":yr,"--n-sorter-size":od,"--n-resizable-container-size":rd,"--n-resizable-size":id,"--n-loading-size":sd,"--n-loading-color":ad,"--n-opacity-loading":ld,"--n-td-color-striped":cd,"--n-td-color-striped-modal":ud,"--n-td-color-striped-popover":dd,"n-td-color-sorting":Ze,"n-td-color-sorting-modal":Je,"n-td-color-sorting-popover":tt,"n-th-color-sorting":rt,"n-th-color-sorting-modal":vt,"n-th-color-sorting-popover":sn}}),Qe=r?Pt("data-table",F(()=>e.size[0]),Ie,e):void 0,Ct=F(()=>{if(!e.pagination)return!1;if(e.paginateSinglePage)return!0;const X=P.value,{pageCount:ve}=X;return ve!==void 0?ve>1:X.itemCount&&X.pageSize&&X.itemCount>X.pageSize});return Object.assign({mainTableInstRef:u,mergedClsPrefix:o,rtlEnabled:a,mergedTheme:l,paginatedData:S,mergedBordered:n,mergedBottomBordered:s,mergedPagination:P,mergedShowPagination:Ct,cssVars:r?void 0:Ie,themeClass:Qe==null?void 0:Qe.themeClass,onRender:Qe==null?void 0:Qe.onRender},He)},render(){const{mergedClsPrefix:e,themeClass:t,onRender:n,$slots:o,spinProps:r}=this;return n==null||n(),v("div",{class:[`${e}-data-table`,this.rtlEnabled&&`${e}-data-table--rtl`,t,{[`${e}-data-table--bordered`]:this.mergedBordered,[`${e}-data-table--bottom-bordered`]:this.mergedBottomBordered,[`${e}-data-table--single-line`]:this.singleLine,[`${e}-data-table--single-column`]:this.singleColumn,[`${e}-data-table--loading`]:this.loading,[`${e}-data-table--flex-height`]:this.flexHeight}],style:this.cssVars},v("div",{class:`${e}-data-table-wrapper`},v(XU,{ref:"mainTableInstRef"})),this.mergedShowPagination?v("div",{class:`${e}-data-table__pagination`},v(BW,Object.assign({theme:this.mergedTheme.peers.Pagination,themeOverrides:this.mergedTheme.peerOverrides.Pagination,disabled:this.loading},this.mergedPagination))):null,v(fn,{name:"fade-in-scale-up-transition"},{default:()=>this.loading?v("div",{class:`${e}-data-table-loading-wrapper`},An(o.loading,()=>[v(ti,Object.assign({clsPrefix:e,strokeWidth:20},r))])):null}))}}),cq={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"};function uq(e){const{popoverColor:t,textColor2:n,primaryColor:o,hoverColor:r,dividerColor:i,opacityDisabled:a,boxShadow2:s,borderRadius:l,iconColor:c,iconColorDisabled:u}=e;return Object.assign(Object.assign({},cq),{panelColor:t,panelBoxShadow:s,panelDividerColor:i,itemTextColor:n,itemTextColorActive:o,itemColorHover:r,itemOpacityDisabled:a,itemBorderRadius:l,borderRadius:l,iconColor:c,iconColorDisabled:u})}const dq={name:"TimePicker",common:je,peers:{Scrollbar:Vn,Button:Wn,Input:mo},self:uq},dS=dq,fq={itemSize:"24px",itemCellWidth:"38px",itemCellHeight:"32px",scrollItemWidth:"80px",scrollItemHeight:"40px",panelExtraFooterPadding:"8px 12px",panelActionPadding:"8px 12px",calendarTitlePadding:"0",calendarTitleHeight:"28px",arrowSize:"14px",panelHeaderPadding:"8px 12px",calendarDaysHeight:"32px",calendarTitleGridTempateColumns:"28px 28px 1fr 28px 28px",calendarLeftPaddingDate:"6px 12px 4px 12px",calendarLeftPaddingDatetime:"4px 12px",calendarLeftPaddingDaterange:"6px 12px 4px 12px",calendarLeftPaddingDatetimerange:"4px 12px",calendarLeftPaddingMonth:"0",calendarLeftPaddingYear:"0",calendarLeftPaddingQuarter:"0",calendarLeftPaddingMonthrange:"0",calendarLeftPaddingQuarterrange:"0",calendarLeftPaddingYearrange:"0",calendarLeftPaddingWeek:"6px 12px 4px 12px",calendarRightPaddingDate:"6px 12px 4px 12px",calendarRightPaddingDatetime:"4px 12px",calendarRightPaddingDaterange:"6px 12px 4px 12px",calendarRightPaddingDatetimerange:"4px 12px",calendarRightPaddingMonth:"0",calendarRightPaddingYear:"0",calendarRightPaddingQuarter:"0",calendarRightPaddingMonthrange:"0",calendarRightPaddingQuarterrange:"0",calendarRightPaddingYearrange:"0",calendarRightPaddingWeek:"0"};function hq(e){const{hoverColor:t,fontSize:n,textColor2:o,textColorDisabled:r,popoverColor:i,primaryColor:a,borderRadiusSmall:s,iconColor:l,iconColorDisabled:c,textColor1:u,dividerColor:d,boxShadow2:f,borderRadius:h,fontWeightStrong:p}=e;return Object.assign(Object.assign({},fq),{itemFontSize:n,calendarDaysFontSize:n,calendarTitleFontSize:n,itemTextColor:o,itemTextColorDisabled:r,itemTextColorActive:i,itemTextColorCurrent:a,itemColorIncluded:Me(a,{alpha:.1}),itemColorHover:t,itemColorDisabled:t,itemColorActive:a,itemBorderRadius:s,panelColor:i,panelTextColor:o,arrowColor:l,calendarTitleTextColor:u,calendarTitleColorHover:t,calendarDaysTextColor:o,panelHeaderDividerColor:d,calendarDaysDividerColor:d,calendarDividerColor:d,panelActionDividerColor:d,panelBoxShadow:f,panelBorderRadius:h,calendarTitleFontWeight:p,scrollItemBorderRadius:h,iconColor:l,iconColorDisabled:c})}const pq={name:"DatePicker",common:je,peers:{Input:mo,Button:Wn,TimePicker:dS,Scrollbar:Vn},self(e){const{popoverColor:t,hoverColor:n,primaryColor:o}=e,r=hq(e);return r.itemColorDisabled=Ge(t,n),r.itemColorIncluded=Me(o,{alpha:.15}),r.itemColorHover=Ge(t,n),r}},mq=pq,gq={thPaddingBorderedSmall:"8px 12px",thPaddingBorderedMedium:"12px 16px",thPaddingBorderedLarge:"16px 24px",thPaddingSmall:"0",thPaddingMedium:"0",thPaddingLarge:"0",tdPaddingBorderedSmall:"8px 12px",tdPaddingBorderedMedium:"12px 16px",tdPaddingBorderedLarge:"16px 24px",tdPaddingSmall:"0 0 8px 0",tdPaddingMedium:"0 0 12px 0",tdPaddingLarge:"0 0 16px 0"};function vq(e){const{tableHeaderColor:t,textColor2:n,textColor1:o,cardColor:r,modalColor:i,popoverColor:a,dividerColor:s,borderRadius:l,fontWeightStrong:c,lineHeight:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:h}=e;return Object.assign(Object.assign({},gq),{lineHeight:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:h,titleTextColor:o,thColor:Ge(r,t),thColorModal:Ge(i,t),thColorPopover:Ge(a,t),thTextColor:o,thFontWeight:c,tdTextColor:n,tdColor:r,tdColorModal:i,tdColorPopover:a,borderColor:Ge(r,s),borderColorModal:Ge(i,s),borderColorPopover:Ge(a,s),borderRadius:l})}const bq={name:"Descriptions",common:je,self:vq},yq=bq,xq={titleFontSize:"18px",padding:"16px 28px 20px 28px",iconSize:"28px",actionSpace:"12px",contentMargin:"8px 0 16px 0",iconMargin:"0 4px 0 0",iconMarginIconTop:"4px 0 8px 0",closeSize:"22px",closeIconSize:"18px",closeMargin:"20px 26px 0 0",closeMarginIconTop:"10px 16px 0 0"};function fS(e){const{textColor1:t,textColor2:n,modalColor:o,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,infoColor:c,successColor:u,warningColor:d,errorColor:f,primaryColor:h,dividerColor:p,borderRadius:g,fontWeightStrong:m,lineHeight:b,fontSize:_}=e;return Object.assign(Object.assign({},xq),{fontSize:_,lineHeight:b,border:`1px solid ${p}`,titleTextColor:t,textColor:n,color:o,closeColorHover:s,closeColorPressed:l,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeBorderRadius:g,iconColor:h,iconColorInfo:c,iconColorSuccess:u,iconColorWarning:d,iconColorError:f,borderRadius:g,titleFontWeight:m})}const Cq={name:"Dialog",common:xt,peers:{Button:zu},self:fS},hS=Cq,wq={name:"Dialog",common:je,peers:{Button:Wn},self:fS},pS=wq,Hu={icon:Function,type:{type:String,default:"default"},title:[String,Function],closable:{type:Boolean,default:!0},negativeText:String,positiveText:String,positiveButtonProps:Object,negativeButtonProps:Object,content:[String,Function],action:Function,showIcon:{type:Boolean,default:!0},loading:Boolean,bordered:Boolean,iconPlacement:String,titleClass:[String,Array],titleStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],actionClass:[String,Array],actionStyle:[String,Object],onPositiveClick:Function,onNegativeClick:Function,onClose:Function},mS=Jr(Hu),_q=q([z("dialog",` --n-icon-margin: var(--n-icon-margin-top) var(--n-icon-margin-right) var(--n-icon-margin-bottom) var(--n-icon-margin-left); word-break: break-word; line-height: var(--n-line-height); @@ -2520,13 +2526,13 @@ ${t} `),z("dialog-icon-container",` display: flex; justify-content: center; - `)]),rl(z("dialog",` + `)]),al(z("dialog",` width: 446px; max-width: calc(100vw - 32px); - `)),z("dialog",[ZC(` + `)),z("dialog",[Sw(` width: 446px; max-width: calc(100vw - 32px); - `)])]),OU={default:()=>g(jr,null),info:()=>g(jr,null),success:()=>g(Fi,null),warning:()=>g(Bi,null),error:()=>g(Li,null)},V2=ve({name:"Dialog",alias:["NimbusConfirmCard","Confirm"],props:Object.assign(Object.assign({},Be.props),Lu),setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=pn("Dialog",r,n),a=L(()=>{var p,h;const{iconPlacement:m}=e;return m||((h=(p=t==null?void 0:t.value)===null||p===void 0?void 0:p.Dialog)===null||h===void 0?void 0:h.iconPlacement)||"left"});function s(p){const{onPositiveClick:h}=e;h&&h(p)}function l(p){const{onNegativeClick:h}=e;h&&h(p)}function c(){const{onClose:p}=e;p&&p()}const u=Be("Dialog","-dialog",IU,N2,e,n),d=L(()=>{const{type:p}=e,h=a.value,{common:{cubicBezierEaseInOut:m},self:{fontSize:v,lineHeight:b,border:w,titleTextColor:C,textColor:S,color:_,closeBorderRadius:x,closeColorHover:y,closeColorPressed:k,closeIconColor:P,closeIconColorHover:T,closeIconColorPressed:$,closeIconSize:R,borderRadius:K,titleFontWeight:j,titleFontSize:D,padding:M,iconSize:Y,actionSpace:Q,contentMargin:de,closeSize:pe,[h==="top"?"iconMarginIconTop":"iconMargin"]:B,[h==="top"?"closeMarginIconTop":"closeMargin"]:E,[Te("iconColor",p)]:A}}=u.value,G=_o(B);return{"--n-font-size":v,"--n-icon-color":A,"--n-bezier":m,"--n-close-margin":E,"--n-icon-margin-top":G.top,"--n-icon-margin-right":G.right,"--n-icon-margin-bottom":G.bottom,"--n-icon-margin-left":G.left,"--n-icon-size":Y,"--n-close-size":pe,"--n-close-icon-size":R,"--n-close-border-radius":x,"--n-close-color-hover":y,"--n-close-color-pressed":k,"--n-close-icon-color":P,"--n-close-icon-color-hover":T,"--n-close-icon-color-pressed":$,"--n-color":_,"--n-text-color":S,"--n-border-radius":K,"--n-padding":M,"--n-line-height":b,"--n-border":w,"--n-content-margin":de,"--n-title-font-size":D,"--n-title-font-weight":j,"--n-title-text-color":C,"--n-action-space":Q}}),f=o?kt("dialog",L(()=>`${e.type[0]}${a.value[0]}`),d,e):void 0;return{mergedClsPrefix:n,rtlEnabled:i,mergedIconPlacement:a,mergedTheme:u,handlePositiveClick:s,handleNegativeClick:l,handleCloseClick:c,cssVars:o?void 0:d,themeClass:f==null?void 0:f.themeClass,onRender:f==null?void 0:f.onRender}},render(){var e;const{bordered:t,mergedIconPlacement:n,cssVars:o,closable:r,showIcon:i,title:a,content:s,action:l,negativeText:c,positiveText:u,positiveButtonProps:d,negativeButtonProps:f,handlePositiveClick:p,handleNegativeClick:h,mergedTheme:m,loading:v,type:b,mergedClsPrefix:w}=this;(e=this.onRender)===null||e===void 0||e.call(this);const C=i?g(Ut,{clsPrefix:w,class:`${w}-dialog__icon`},{default:()=>Et(this.$slots.icon,_=>_||(this.icon?Wt(this.icon):OU[this.type]()))}):null,S=Et(this.$slots.action,_=>_||u||c||l?g("div",{class:`${w}-dialog__action`},_||(l?[Wt(l)]:[this.negativeText&&g(zt,Object.assign({theme:m.peers.Button,themeOverrides:m.peerOverrides.Button,ghost:!0,size:"small",onClick:h},f),{default:()=>Wt(this.negativeText)}),this.positiveText&&g(zt,Object.assign({theme:m.peers.Button,themeOverrides:m.peerOverrides.Button,size:"small",type:b==="default"?"primary":b,disabled:v,loading:v,onClick:p},d),{default:()=>Wt(this.positiveText)})])):null);return g("div",{class:[`${w}-dialog`,this.themeClass,this.closable&&`${w}-dialog--closable`,`${w}-dialog--icon-${n}`,t&&`${w}-dialog--bordered`,this.rtlEnabled&&`${w}-dialog--rtl`],style:o,role:"dialog"},r?Et(this.$slots.close,_=>{const x=[`${w}-dialog__close`,this.rtlEnabled&&`${w}-dialog--rtl`];return _?g("div",{class:x},_):g(Hi,{clsPrefix:w,class:x,onClick:this.handleCloseClick})}):null,i&&n==="top"?g("div",{class:`${w}-dialog-icon-container`},C):null,g("div",{class:`${w}-dialog__title`},i&&n==="left"?C:null,An(this.$slots.header,()=>[Wt(a)])),g("div",{class:[`${w}-dialog__content`,S?"":`${w}-dialog__content--last`]},An(this.$slots.default,()=>[Wt(s)])),S)}}),W2="n-dialog-provider",U2="n-dialog-api",MU="n-dialog-reactive-list",q2=e=>{const{modalColor:t,textColor2:n,boxShadow3:o}=e;return{color:t,textColor:n,boxShadow:o}},zU={name:"Modal",common:bt,peers:{Scrollbar:Vi,Dialog:N2,Card:G_},self:q2},DU=zU,LU={name:"Modal",common:Ne,peers:{Scrollbar:Vn,Dialog:H2,Card:Y_},self:q2},FU=LU,vm=Object.assign(Object.assign({},im),Lu),BU=Yr(vm),NU=ve({name:"ModalBody",inheritAttrs:!1,props:Object.assign(Object.assign({show:{type:Boolean,required:!0},preset:String,displayDirective:{type:String,required:!0},trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},blockScroll:Boolean},vm),{renderMask:Function,onClickoutside:Function,onBeforeLeave:{type:Function,required:!0},onAfterLeave:{type:Function,required:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0},onClose:{type:Function,required:!0},onAfterEnter:Function,onEsc:Function}),setup(e){const t=W(null),n=W(null),o=W(e.show),r=W(null),i=W(null);ft(Ve(e,"show"),v=>{v&&(o.value=!0)}),yw(L(()=>e.blockScroll&&o.value));const a=We(nw);function s(){if(a.transformOriginRef.value==="center")return"";const{value:v}=r,{value:b}=i;if(v===null||b===null)return"";if(n.value){const w=n.value.containerScrollTop;return`${v}px ${b+w}px`}return""}function l(v){if(a.transformOriginRef.value==="center")return;const b=a.getMousePosition();if(!b||!n.value)return;const w=n.value.containerScrollTop,{offsetLeft:C,offsetTop:S}=v;if(b){const _=b.y,x=b.x;r.value=-(C-x),i.value=-(S-_-w)}v.style.transformOrigin=s()}function c(v){Ht(()=>{l(v)})}function u(v){v.style.transformOrigin=s(),e.onBeforeLeave()}function d(){o.value=!1,r.value=null,i.value=null,e.onAfterLeave()}function f(){const{onClose:v}=e;v&&v()}function p(){e.onNegativeClick()}function h(){e.onPositiveClick()}const m=W(null);return ft(m,v=>{v&&Ht(()=>{const b=v.el;b&&t.value!==b&&(t.value=b)})}),at(il,t),at(al,null),at(La,null),{mergedTheme:a.mergedThemeRef,appear:a.appearRef,isMounted:a.isMountedRef,mergedClsPrefix:a.mergedClsPrefixRef,bodyRef:t,scrollbarRef:n,displayed:o,childNodeRef:m,handlePositiveClick:h,handleNegativeClick:p,handleCloseClick:f,handleAfterLeave:d,handleBeforeLeave:u,handleEnter:c}},render(){const{$slots:e,$attrs:t,handleEnter:n,handleAfterLeave:o,handleBeforeLeave:r,preset:i,mergedClsPrefix:a}=this;let s=null;if(!i){if(s=rh(e),!s){ar("modal","default slot is empty");return}s=ao(s),s.props=Ln({class:`${a}-modal`},t,s.props||{})}return this.displayDirective==="show"||this.displayed||this.show?dn(g("div",{role:"none",class:`${a}-modal-body-wrapper`},g(To,{ref:"scrollbarRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:`${a}-modal-scroll-content`},{default:()=>{var l;return[(l=this.renderMask)===null||l===void 0?void 0:l.call(this),g(Lp,{disabled:!this.trapFocus,active:this.show,onEsc:this.onEsc,autoFocus:this.autoFocus},{default:()=>{var c;return g(fn,{name:"fade-in-scale-up-transition",appear:(c=this.appear)!==null&&c!==void 0?c:this.isMounted,onEnter:n,onAfterEnter:this.onAfterEnter,onAfterLeave:o,onBeforeLeave:r},{default:()=>{const u=[[Mn,this.show]],{onClickoutside:d}=this;return d&&u.push([Sa,this.onClickoutside,void 0,{capture:!0}]),dn(this.preset==="confirm"||this.preset==="dialog"?g(V2,Object.assign({},this.$attrs,{class:[`${a}-modal`,this.$attrs.class],ref:"bodyRef",theme:this.mergedTheme.peers.Dialog,themeOverrides:this.mergedTheme.peerOverrides.Dialog},Xn(this.$props,j2),{"aria-modal":"true"}),e):this.preset==="card"?g(fo,Object.assign({},this.$attrs,{ref:"bodyRef",class:[`${a}-modal`,this.$attrs.class],theme:this.mergedTheme.peers.Card,themeOverrides:this.mergedTheme.peerOverrides.Card},Xn(this.$props,Fj),{"aria-modal":"true",role:"dialog"}),e):this.childNodeRef=s,u)}})}})]}})),[[Mn,this.displayDirective==="if"||this.displayed||this.show]]):null}}),HU=q([z("modal-container",` + `)])]),Sq={default:()=>v(Vr,null),info:()=>v(Vr,null),success:()=>v(Vi,null),warning:()=>v(Wi,null),error:()=>v(ji,null)},gS=be({name:"Dialog",alias:["NimbusConfirmCard","Confirm"],props:Object.assign(Object.assign({},Be.props),Hu),setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=pn("Dialog",r,n),a=F(()=>{var h,p;const{iconPlacement:g}=e;return g||((p=(h=t==null?void 0:t.value)===null||h===void 0?void 0:h.Dialog)===null||p===void 0?void 0:p.iconPlacement)||"left"});function s(h){const{onPositiveClick:p}=e;p&&p(h)}function l(h){const{onNegativeClick:p}=e;p&&p(h)}function c(){const{onClose:h}=e;h&&h()}const u=Be("Dialog","-dialog",_q,hS,e,n),d=F(()=>{const{type:h}=e,p=a.value,{common:{cubicBezierEaseInOut:g},self:{fontSize:m,lineHeight:b,border:_,titleTextColor:C,textColor:S,color:w,closeBorderRadius:x,closeColorHover:y,closeColorPressed:P,closeIconColor:k,closeIconColorHover:T,closeIconColorPressed:E,closeIconSize:R,borderRadius:K,titleFontWeight:N,titleFontSize:D,padding:M,iconSize:G,actionSpace:J,contentMargin:he,closeSize:pe,[p==="top"?"iconMarginIconTop":"iconMargin"]:B,[p==="top"?"closeMarginIconTop":"closeMargin"]:$,[Re("iconColor",h)]:A}}=u.value,Y=lo(B);return{"--n-font-size":m,"--n-icon-color":A,"--n-bezier":g,"--n-close-margin":$,"--n-icon-margin-top":Y.top,"--n-icon-margin-right":Y.right,"--n-icon-margin-bottom":Y.bottom,"--n-icon-margin-left":Y.left,"--n-icon-size":G,"--n-close-size":pe,"--n-close-icon-size":R,"--n-close-border-radius":x,"--n-close-color-hover":y,"--n-close-color-pressed":P,"--n-close-icon-color":k,"--n-close-icon-color-hover":T,"--n-close-icon-color-pressed":E,"--n-color":w,"--n-text-color":S,"--n-border-radius":K,"--n-padding":M,"--n-line-height":b,"--n-border":_,"--n-content-margin":he,"--n-title-font-size":D,"--n-title-font-weight":N,"--n-title-text-color":C,"--n-action-space":J}}),f=o?Pt("dialog",F(()=>`${e.type[0]}${a.value[0]}`),d,e):void 0;return{mergedClsPrefix:n,rtlEnabled:i,mergedIconPlacement:a,mergedTheme:u,handlePositiveClick:s,handleNegativeClick:l,handleCloseClick:c,cssVars:o?void 0:d,themeClass:f==null?void 0:f.themeClass,onRender:f==null?void 0:f.onRender}},render(){var e;const{bordered:t,mergedIconPlacement:n,cssVars:o,closable:r,showIcon:i,title:a,content:s,action:l,negativeText:c,positiveText:u,positiveButtonProps:d,negativeButtonProps:f,handlePositiveClick:h,handleNegativeClick:p,mergedTheme:g,loading:m,type:b,mergedClsPrefix:_}=this;(e=this.onRender)===null||e===void 0||e.call(this);const C=i?v(Ut,{clsPrefix:_,class:`${_}-dialog__icon`},{default:()=>$t(this.$slots.icon,w=>w||(this.icon?Wt(this.icon):Sq[this.type]()))}):null,S=$t(this.$slots.action,w=>w||u||c||l?v("div",{class:[`${_}-dialog__action`,this.actionClass],style:this.actionStyle},w||(l?[Wt(l)]:[this.negativeText&&v(zt,Object.assign({theme:g.peers.Button,themeOverrides:g.peerOverrides.Button,ghost:!0,size:"small",onClick:p},f),{default:()=>Wt(this.negativeText)}),this.positiveText&&v(zt,Object.assign({theme:g.peers.Button,themeOverrides:g.peerOverrides.Button,size:"small",type:b==="default"?"primary":b,disabled:m,loading:m,onClick:h},d),{default:()=>Wt(this.positiveText)})])):null);return v("div",{class:[`${_}-dialog`,this.themeClass,this.closable&&`${_}-dialog--closable`,`${_}-dialog--icon-${n}`,t&&`${_}-dialog--bordered`,this.rtlEnabled&&`${_}-dialog--rtl`],style:o,role:"dialog"},r?$t(this.$slots.close,w=>{const x=[`${_}-dialog__close`,this.rtlEnabled&&`${_}-dialog--rtl`];return w?v("div",{class:x},w):v(qi,{clsPrefix:_,class:x,onClick:this.handleCloseClick})}):null,i&&n==="top"?v("div",{class:`${_}-dialog-icon-container`},C):null,v("div",{class:[`${_}-dialog__title`,this.titleClass],style:this.titleStyle},i&&n==="left"?C:null,An(this.$slots.header,()=>[Wt(a)])),v("div",{class:[`${_}-dialog__content`,S?"":`${_}-dialog__content--last`,this.contentClass],style:this.contentStyle},An(this.$slots.default,()=>[Wt(s)])),S)}}),vS="n-dialog-provider",bS="n-dialog-api",kq="n-dialog-reactive-list";function yS(e){const{modalColor:t,textColor2:n,boxShadow3:o}=e;return{color:t,textColor:n,boxShadow:o}}const Pq={name:"Modal",common:xt,peers:{Scrollbar:Gi,Dialog:hS,Card:C2},self:yS},Tq=Pq,Rq={name:"Modal",common:je,peers:{Scrollbar:Vn,Dialog:pS,Card:w2},self:yS},Eq=Rq,Am=Object.assign(Object.assign({},ym),Hu),$q=Jr(Am),Aq=be({name:"ModalBody",inheritAttrs:!1,props:Object.assign(Object.assign({show:{type:Boolean,required:!0},preset:String,displayDirective:{type:String,required:!0},trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},blockScroll:Boolean},Am),{renderMask:Function,onClickoutside:Function,onBeforeLeave:{type:Function,required:!0},onAfterLeave:{type:Function,required:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0},onClose:{type:Function,required:!0},onAfterEnter:Function,onEsc:Function}),setup(e){const t=W(null),n=W(null),o=W(e.show),r=W(null),i=W(null);ft(We(e,"show"),m=>{m&&(o.value=!0)}),qw(F(()=>e.blockScroll&&o.value));const a=Ue(Ew);function s(){if(a.transformOriginRef.value==="center")return"";const{value:m}=r,{value:b}=i;if(m===null||b===null)return"";if(n.value){const _=n.value.containerScrollTop;return`${m}px ${b+_}px`}return""}function l(m){if(a.transformOriginRef.value==="center")return;const b=a.getMousePosition();if(!b||!n.value)return;const _=n.value.containerScrollTop,{offsetLeft:C,offsetTop:S}=m;if(b){const w=b.y,x=b.x;r.value=-(C-x),i.value=-(S-w-_)}m.style.transformOrigin=s()}function c(m){Ht(()=>{l(m)})}function u(m){m.style.transformOrigin=s(),e.onBeforeLeave()}function d(){o.value=!1,r.value=null,i.value=null,e.onAfterLeave()}function f(){const{onClose:m}=e;m&&m()}function h(){e.onNegativeClick()}function p(){e.onPositiveClick()}const g=W(null);return ft(g,m=>{m&&Ht(()=>{const b=m.el;b&&t.value!==b&&(t.value=b)})}),at(sl,t),at(ll,null),at(Va,null),{mergedTheme:a.mergedThemeRef,appear:a.appearRef,isMounted:a.isMountedRef,mergedClsPrefix:a.mergedClsPrefixRef,bodyRef:t,scrollbarRef:n,displayed:o,childNodeRef:g,handlePositiveClick:p,handleNegativeClick:h,handleCloseClick:f,handleAfterLeave:d,handleBeforeLeave:u,handleEnter:c}},render(){const{$slots:e,$attrs:t,handleEnter:n,handleAfterLeave:o,handleBeforeLeave:r,preset:i,mergedClsPrefix:a}=this;let s=null;if(!i){if(s=vh(e),!s){lr("modal","default slot is empty");return}s=uo(s),s.props=Ln({class:`${a}-modal`},t,s.props||{})}return this.displayDirective==="show"||this.displayed||this.show?dn(v("div",{role:"none",class:`${a}-modal-body-wrapper`},v(Io,{ref:"scrollbarRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:`${a}-modal-scroll-content`},{default:()=>{var l;return[(l=this.renderMask)===null||l===void 0?void 0:l.call(this),v(Zp,{disabled:!this.trapFocus,active:this.show,onEsc:this.onEsc,autoFocus:this.autoFocus},{default:()=>{var c;return v(fn,{name:"fade-in-scale-up-transition",appear:(c=this.appear)!==null&&c!==void 0?c:this.isMounted,onEnter:n,onAfterEnter:this.onAfterEnter,onAfterLeave:o,onBeforeLeave:r},{default:()=>{const u=[[Mn,this.show]],{onClickoutside:d}=this;return d&&u.push([Ea,this.onClickoutside,void 0,{capture:!0}]),dn(this.preset==="confirm"||this.preset==="dialog"?v(gS,Object.assign({},this.$attrs,{class:[`${a}-modal`,this.$attrs.class],ref:"bodyRef",theme:this.mergedTheme.peers.Dialog,themeOverrides:this.mergedTheme.peerOverrides.Dialog},Qn(this.$props,mS),{"aria-modal":"true"}),e):this.preset==="card"?v(go,Object.assign({},this.$attrs,{ref:"bodyRef",class:[`${a}-modal`,this.$attrs.class],theme:this.mergedTheme.peers.Card,themeOverrides:this.mergedTheme.peerOverrides.Card},Qn(this.$props,EV),{"aria-modal":"true",role:"dialog"}),e):this.childNodeRef=s,u)}})}})]}})),[[Mn,this.displayDirective==="if"||this.displayed||this.show]]):null}}),Iq=q([z("modal-container",` position: fixed; left: 0; top: 0; @@ -2540,7 +2546,7 @@ ${t} top: 0; bottom: 0; background-color: rgba(0, 0, 0, .4); - `,[cl({enterDuration:".25s",leaveDuration:".25s",enterCubicBezier:"var(--n-bezier-ease-out)",leaveCubicBezier:"var(--n-bezier-ease-out)"})]),z("modal-body-wrapper",` + `,[dl({enterDuration:".25s",leaveDuration:".25s",enterCubicBezier:"var(--n-bezier-ease-out)",leaveCubicBezier:"var(--n-bezier-ease-out)"})]),z("modal-body-wrapper",` position: fixed; left: 0; right: 0; @@ -2557,7 +2563,7 @@ ${t} color: var(--n-text-color); margin: auto; box-shadow: var(--n-box-shadow); - `,[Na({duration:".25s",enterScale:".5"})])]),K2=Object.assign(Object.assign(Object.assign(Object.assign({},Be.props),{show:Boolean,unstableShowMask:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0},preset:String,to:[String,Object],displayDirective:{type:String,default:"if"},transformOrigin:{type:String,default:"mouse"},zIndex:Number,autoFocus:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0}}),vm),{onEsc:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onBeforeLeave:Function,onAfterLeave:Function,onClose:Function,onPositiveClick:Function,onNegativeClick:Function,onMaskClick:Function,internalDialog:Boolean,internalModal:Boolean,internalAppear:{type:Boolean,default:void 0},overlayStyle:[String,Object],onBeforeHide:Function,onAfterHide:Function,onHide:Function}),Qr=ve({name:"Modal",inheritAttrs:!1,props:K2,setup(e){const t=W(null),{mergedClsPrefixRef:n,namespaceRef:o,inlineThemeDisabled:r}=st(e),i=Be("Modal","-modal",HU,DU,e,n),a=Rc(64),s=Tc(),l=Xr(),c=e.internalDialog?We(W2,null):null,u=e.internalModal?We(V6,null):null,d=xw();function f(x){const{onUpdateShow:y,"onUpdate:show":k,onHide:P}=e;y&&Ee(y,x),k&&Ee(k,x),P&&!x&&P(x)}function p(){const{onClose:x}=e;x?Promise.resolve(x()).then(y=>{y!==!1&&f(!1)}):f(!1)}function h(){const{onPositiveClick:x}=e;x?Promise.resolve(x()).then(y=>{y!==!1&&f(!1)}):f(!1)}function m(){const{onNegativeClick:x}=e;x?Promise.resolve(x()).then(y=>{y!==!1&&f(!1)}):f(!1)}function v(){const{onBeforeLeave:x,onBeforeHide:y}=e;x&&Ee(x),y&&y()}function b(){const{onAfterLeave:x,onAfterHide:y}=e;x&&Ee(x),y&&y()}function w(x){var y;const{onMaskClick:k}=e;k&&k(x),e.maskClosable&&!((y=t.value)===null||y===void 0)&&y.contains(ki(x))&&f(!1)}function C(x){var y;(y=e.onEsc)===null||y===void 0||y.call(e),e.show&&e.closeOnEsc&&QC(x)&&!d.value&&f(!1)}at(nw,{getMousePosition:()=>{const x=c||u;if(x){const{clickedRef:y,clickedPositionRef:k}=x;if(y.value&&k.value)return k.value}return a.value?s.value:null},mergedClsPrefixRef:n,mergedThemeRef:i,isMountedRef:l,appearRef:Ve(e,"internalAppear"),transformOriginRef:Ve(e,"transformOrigin")});const S=L(()=>{const{common:{cubicBezierEaseOut:x},self:{boxShadow:y,color:k,textColor:P}}=i.value;return{"--n-bezier-ease-out":x,"--n-box-shadow":y,"--n-color":k,"--n-text-color":P}}),_=r?kt("theme-class",void 0,S,e):void 0;return{mergedClsPrefix:n,namespace:o,isMounted:l,containerRef:t,presetProps:L(()=>Xn(e,BU)),handleEsc:C,handleAfterLeave:b,handleClickoutside:w,handleBeforeLeave:v,doUpdateShow:f,handleNegativeClick:m,handlePositiveClick:h,handleCloseClick:p,cssVars:r?void 0:S,themeClass:_==null?void 0:_.themeClass,onRender:_==null?void 0:_.onRender}},render(){const{mergedClsPrefix:e}=this;return g(Su,{to:this.to,show:this.show},{default:()=>{var t;(t=this.onRender)===null||t===void 0||t.call(this);const{unstableShowMask:n}=this;return dn(g("div",{role:"none",ref:"containerRef",class:[`${e}-modal-container`,this.themeClass,this.namespace],style:this.cssVars},g(NU,Object.assign({style:this.overlayStyle},this.$attrs,{ref:"bodyWrapper",displayDirective:this.displayDirective,show:this.show,preset:this.preset,autoFocus:this.autoFocus,trapFocus:this.trapFocus,blockScroll:this.blockScroll},this.presetProps,{onEsc:this.handleEsc,onClose:this.handleCloseClick,onNegativeClick:this.handleNegativeClick,onPositiveClick:this.handlePositiveClick,onBeforeLeave:this.handleBeforeLeave,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave,onClickoutside:n?void 0:this.handleClickoutside,renderMask:n?()=>{var o;return g(fn,{name:"fade-in-transition",key:"mask",appear:(o=this.internalAppear)!==null&&o!==void 0?o:this.isMounted},{default:()=>this.show?g("div",{"aria-hidden":!0,ref:"containerRef",class:`${e}-modal-mask`,onClick:this.handleClickoutside}):null})}:void 0}),this.$slots)),[[_u,{zIndex:this.zIndex,enabled:this.show}]])}})}}),jU=Object.assign(Object.assign({},Lu),{onAfterEnter:Function,onAfterLeave:Function,transformOrigin:String,blockScroll:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},internalStyle:[String,Object],maskClosable:{type:Boolean,default:!0},onPositiveClick:Function,onNegativeClick:Function,onClose:Function,onMaskClick:Function}),VU=ve({name:"DialogEnvironment",props:Object.assign(Object.assign({},jU),{internalKey:{type:String,required:!0},to:[String,Object],onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=W(!0);function n(){const{onInternalAfterLeave:u,internalKey:d,onAfterLeave:f}=e;u&&u(d),f&&f()}function o(u){const{onPositiveClick:d}=e;d?Promise.resolve(d(u)).then(f=>{f!==!1&&l()}):l()}function r(u){const{onNegativeClick:d}=e;d?Promise.resolve(d(u)).then(f=>{f!==!1&&l()}):l()}function i(){const{onClose:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function a(u){const{onMaskClick:d,maskClosable:f}=e;d&&(d(u),f&&l())}function s(){const{onEsc:u}=e;u&&u()}function l(){t.value=!1}function c(u){t.value=u}return{show:t,hide:l,handleUpdateShow:c,handleAfterLeave:n,handleCloseClick:i,handleNegativeClick:r,handlePositiveClick:o,handleMaskClick:a,handleEsc:s}},render(){const{handlePositiveClick:e,handleUpdateShow:t,handleNegativeClick:n,handleCloseClick:o,handleAfterLeave:r,handleMaskClick:i,handleEsc:a,to:s,maskClosable:l,show:c}=this;return g(Qr,{show:c,onUpdateShow:t,onMaskClick:i,onEsc:a,to:s,maskClosable:l,onAfterEnter:this.onAfterEnter,onAfterLeave:r,closeOnEsc:this.closeOnEsc,blockScroll:this.blockScroll,autoFocus:this.autoFocus,transformOrigin:this.transformOrigin,internalAppear:!0,internalDialog:!0},{default:()=>g(V2,Object.assign({},Xn(this.$props,j2),{style:this.internalStyle,onClose:o,onNegativeClick:n,onPositiveClick:e}))})}}),WU={injectionKey:String,to:[String,Object]},UU=ve({name:"DialogProvider",props:WU,setup(){const e=W([]),t={};function n(s={}){const l=Gr(),c=Zn(Object.assign(Object.assign({},s),{key:l,destroy:()=>{t[`n-dialog-${l}`].hide()}}));return e.value.push(c),c}const o=["info","success","warning","error"].map(s=>l=>n(Object.assign(Object.assign({},l),{type:s})));function r(s){const{value:l}=e;l.splice(l.findIndex(c=>c.key===s),1)}function i(){Object.values(t).forEach(s=>{s.hide()})}const a={create:n,destroyAll:i,info:o[0],success:o[1],warning:o[2],error:o[3]};return at(U2,a),at(W2,{clickedRef:Rc(64),clickedPositionRef:Tc()}),at(MU,e),Object.assign(Object.assign({},a),{dialogList:e,dialogInstRefs:t,handleAfterLeave:r})},render(){var e,t;return g(rt,null,[this.dialogList.map(n=>g(VU,Da(n,["destroy","style"],{internalStyle:n.style,to:this.to,ref:o=>{o===null?delete this.dialogInstRefs[`n-dialog-${n.key}`]:this.dialogInstRefs[`n-dialog-${n.key}`]=o},internalKey:n.key,onInternalAfterLeave:this.handleAfterLeave}))),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)])}});function qU(){const e=We(U2,null);return e===null&&ur("use-dialog","No outer founded."),e}const G2=e=>{const{textColor1:t,dividerColor:n,fontWeightStrong:o}=e;return{textColor:t,color:n,fontWeight:o}},KU={name:"Divider",common:bt,self:G2},GU=KU,YU={name:"Divider",common:Ne,self:G2},XU=YU,ZU=z("divider",` + `,[qa({duration:".25s",enterScale:".5"})])]),xS=Object.assign(Object.assign(Object.assign(Object.assign({},Be.props),{show:Boolean,unstableShowMask:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0},preset:String,to:[String,Object],displayDirective:{type:String,default:"if"},transformOrigin:{type:String,default:"mouse"},zIndex:Number,autoFocus:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0}}),Am),{onEsc:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onBeforeLeave:Function,onAfterLeave:Function,onClose:Function,onPositiveClick:Function,onNegativeClick:Function,onMaskClick:Function,internalDialog:Boolean,internalModal:Boolean,internalAppear:{type:Boolean,default:void 0},overlayStyle:[String,Object],onBeforeHide:Function,onAfterHide:Function,onHide:Function}),ni=be({name:"Modal",inheritAttrs:!1,props:xS,setup(e){const t=W(null),{mergedClsPrefixRef:n,namespaceRef:o,inlineThemeDisabled:r}=st(e),i=Be("Modal","-modal",Iq,Tq,e,n),a=Ac(64),s=$c(),l=Qr(),c=e.internalDialog?Ue(vS,null):null,u=e.internalModal?Ue(O8,null):null,d=Kw();function f(x){const{onUpdateShow:y,"onUpdate:show":P,onHide:k}=e;y&&$e(y,x),P&&$e(P,x),k&&!x&&k(x)}function h(){const{onClose:x}=e;x?Promise.resolve(x()).then(y=>{y!==!1&&f(!1)}):f(!1)}function p(){const{onPositiveClick:x}=e;x?Promise.resolve(x()).then(y=>{y!==!1&&f(!1)}):f(!1)}function g(){const{onNegativeClick:x}=e;x?Promise.resolve(x()).then(y=>{y!==!1&&f(!1)}):f(!1)}function m(){const{onBeforeLeave:x,onBeforeHide:y}=e;x&&$e(x),y&&y()}function b(){const{onAfterLeave:x,onAfterHide:y}=e;x&&$e(x),y&&y()}function _(x){var y;const{onMaskClick:P}=e;P&&P(x),e.maskClosable&&!((y=t.value)===null||y===void 0)&&y.contains(Ai(x))&&f(!1)}function C(x){var y;(y=e.onEsc)===null||y===void 0||y.call(e),e.show&&e.closeOnEsc&&Pw(x)&&(d.value||f(!1))}at(Ew,{getMousePosition:()=>{const x=c||u;if(x){const{clickedRef:y,clickedPositionRef:P}=x;if(y.value&&P.value)return P.value}return a.value?s.value:null},mergedClsPrefixRef:n,mergedThemeRef:i,isMountedRef:l,appearRef:We(e,"internalAppear"),transformOriginRef:We(e,"transformOrigin")});const S=F(()=>{const{common:{cubicBezierEaseOut:x},self:{boxShadow:y,color:P,textColor:k}}=i.value;return{"--n-bezier-ease-out":x,"--n-box-shadow":y,"--n-color":P,"--n-text-color":k}}),w=r?Pt("theme-class",void 0,S,e):void 0;return{mergedClsPrefix:n,namespace:o,isMounted:l,containerRef:t,presetProps:F(()=>Qn(e,$q)),handleEsc:C,handleAfterLeave:b,handleClickoutside:_,handleBeforeLeave:m,doUpdateShow:f,handleNegativeClick:g,handlePositiveClick:p,handleCloseClick:h,cssVars:r?void 0:S,themeClass:w==null?void 0:w.themeClass,onRender:w==null?void 0:w.onRender}},render(){const{mergedClsPrefix:e}=this;return v(Ru,{to:this.to,show:this.show},{default:()=>{var t;(t=this.onRender)===null||t===void 0||t.call(this);const{unstableShowMask:n}=this;return dn(v("div",{role:"none",ref:"containerRef",class:[`${e}-modal-container`,this.themeClass,this.namespace],style:this.cssVars},v(Aq,Object.assign({style:this.overlayStyle},this.$attrs,{ref:"bodyWrapper",displayDirective:this.displayDirective,show:this.show,preset:this.preset,autoFocus:this.autoFocus,trapFocus:this.trapFocus,blockScroll:this.blockScroll},this.presetProps,{onEsc:this.handleEsc,onClose:this.handleCloseClick,onNegativeClick:this.handleNegativeClick,onPositiveClick:this.handlePositiveClick,onBeforeLeave:this.handleBeforeLeave,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave,onClickoutside:n?void 0:this.handleClickoutside,renderMask:n?()=>{var o;return v(fn,{name:"fade-in-transition",key:"mask",appear:(o=this.internalAppear)!==null&&o!==void 0?o:this.isMounted},{default:()=>this.show?v("div",{"aria-hidden":!0,ref:"containerRef",class:`${e}-modal-mask`,onClick:this.handleClickoutside}):null})}:void 0}),this.$slots)),[[Tu,{zIndex:this.zIndex,enabled:this.show}]])}})}}),Oq=Object.assign(Object.assign({},Hu),{onAfterEnter:Function,onAfterLeave:Function,transformOrigin:String,blockScroll:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},internalStyle:[String,Object],maskClosable:{type:Boolean,default:!0},onPositiveClick:Function,onNegativeClick:Function,onClose:Function,onMaskClick:Function}),Mq=be({name:"DialogEnvironment",props:Object.assign(Object.assign({},Oq),{internalKey:{type:String,required:!0},to:[String,Object],onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=W(!0);function n(){const{onInternalAfterLeave:u,internalKey:d,onAfterLeave:f}=e;u&&u(d),f&&f()}function o(u){const{onPositiveClick:d}=e;d?Promise.resolve(d(u)).then(f=>{f!==!1&&l()}):l()}function r(u){const{onNegativeClick:d}=e;d?Promise.resolve(d(u)).then(f=>{f!==!1&&l()}):l()}function i(){const{onClose:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function a(u){const{onMaskClick:d,maskClosable:f}=e;d&&(d(u),f&&l())}function s(){const{onEsc:u}=e;u&&u()}function l(){t.value=!1}function c(u){t.value=u}return{show:t,hide:l,handleUpdateShow:c,handleAfterLeave:n,handleCloseClick:i,handleNegativeClick:r,handlePositiveClick:o,handleMaskClick:a,handleEsc:s}},render(){const{handlePositiveClick:e,handleUpdateShow:t,handleNegativeClick:n,handleCloseClick:o,handleAfterLeave:r,handleMaskClick:i,handleEsc:a,to:s,maskClosable:l,show:c}=this;return v(ni,{show:c,onUpdateShow:t,onMaskClick:i,onEsc:a,to:s,maskClosable:l,onAfterEnter:this.onAfterEnter,onAfterLeave:r,closeOnEsc:this.closeOnEsc,blockScroll:this.blockScroll,autoFocus:this.autoFocus,transformOrigin:this.transformOrigin,internalAppear:!0,internalDialog:!0},{default:()=>v(gS,Object.assign({},Qn(this.$props,mS),{style:this.internalStyle,onClose:o,onNegativeClick:n,onPositiveClick:e}))})}}),zq={injectionKey:String,to:[String,Object]},Dq=be({name:"DialogProvider",props:zq,setup(){const e=W([]),t={};function n(s={}){const l=Zr(),c=eo(Object.assign(Object.assign({},s),{key:l,destroy:()=>{var u;(u=t[`n-dialog-${l}`])===null||u===void 0||u.hide()}}));return e.value.push(c),c}const o=["info","success","warning","error"].map(s=>l=>n(Object.assign(Object.assign({},l),{type:s})));function r(s){const{value:l}=e;l.splice(l.findIndex(c=>c.key===s),1)}function i(){Object.values(t).forEach(s=>{s==null||s.hide()})}const a={create:n,destroyAll:i,info:o[0],success:o[1],warning:o[2],error:o[3]};return at(bS,a),at(vS,{clickedRef:Ac(64),clickedPositionRef:$c()}),at(kq,e),Object.assign(Object.assign({},a),{dialogList:e,dialogInstRefs:t,handleAfterLeave:r})},render(){var e,t;return v(it,null,[this.dialogList.map(n=>v(Mq,ja(n,["destroy","style"],{internalStyle:n.style,to:this.to,ref:o=>{o===null?delete this.dialogInstRefs[`n-dialog-${n.key}`]:this.dialogInstRefs[`n-dialog-${n.key}`]=o},internalKey:n.key,onInternalAfterLeave:this.handleAfterLeave}))),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)])}});function Lq(){const e=Ue(bS,null);return e===null&&fr("use-dialog","No outer founded."),e}function CS(e){const{textColor1:t,dividerColor:n,fontWeightStrong:o}=e;return{textColor:t,color:n,fontWeight:o}}const Fq={name:"Divider",common:xt,self:CS},Bq=Fq,Nq={name:"Divider",common:je,self:CS},Hq=Nq,jq=z("divider",` position: relative; display: flex; width: 100%; @@ -2567,10 +2573,10 @@ ${t} transition: color .3s var(--n-bezier), background-color .3s var(--n-bezier); -`,[Tt("vertical",` +`,[Rt("vertical",` margin-top: 24px; margin-bottom: 24px; - `,[Tt("no-title",` + `,[Rt("no-title",` display: flex; align-items: center; `)]),V("title",` @@ -2598,7 +2604,7 @@ ${t} height: 1px; width: 100%; margin: 0; - `),Tt("dashed",[V("line",{backgroundColor:"var(--n-color)"})]),Z("dashed",[V("line",{borderColor:"var(--n-color)"})]),Z("vertical",{backgroundColor:"var(--n-color)"})]),JU=Object.assign(Object.assign({},Be.props),{titlePlacement:{type:String,default:"center"},dashed:Boolean,vertical:Boolean}),Ui=ve({name:"Divider",props:JU,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Divider","-divider",ZU,GU,e,t),r=L(()=>{const{common:{cubicBezierEaseInOut:a},self:{color:s,textColor:l,fontWeight:c}}=o.value;return{"--n-bezier":a,"--n-color":s,"--n-text-color":l,"--n-font-weight":c}}),i=n?kt("divider",void 0,r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$slots:t,titlePlacement:n,vertical:o,dashed:r,cssVars:i,mergedClsPrefix:a}=this;return(e=this.onRender)===null||e===void 0||e.call(this),g("div",{role:"separator",class:[`${a}-divider`,this.themeClass,{[`${a}-divider--vertical`]:o,[`${a}-divider--no-title`]:!t.default,[`${a}-divider--dashed`]:r,[`${a}-divider--title-position-${n}`]:t.default&&n}],style:i},o?null:g("div",{class:`${a}-divider__line ${a}-divider__line--left`}),!o&&t.default?g(rt,null,g("div",{class:`${a}-divider__title`},this.$slots),g("div",{class:`${a}-divider__line ${a}-divider__line--right`})):null)}}),Y2=e=>{const{modalColor:t,textColor1:n,textColor2:o,boxShadow3:r,lineHeight:i,fontWeightStrong:a,dividerColor:s,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,borderRadius:p,primaryColorHover:h}=e;return{bodyPadding:"16px 24px",borderRadius:p,headerPadding:"16px 24px",footerPadding:"16px 24px",color:t,textColor:o,titleTextColor:n,titleFontSize:"18px",titleFontWeight:a,boxShadow:r,lineHeight:i,headerBorderBottom:`1px solid ${s}`,footerBorderTop:`1px solid ${s}`,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,closeSize:"22px",closeIconSize:"18px",closeColorHover:l,closeColorPressed:c,closeBorderRadius:p,resizableTriggerColorHover:h}},QU={name:"Drawer",common:bt,peers:{Scrollbar:Vi},self:Y2},eq=QU,tq={name:"Drawer",common:Ne,peers:{Scrollbar:Vn},self:Y2},nq=tq,oq=ve({name:"NDrawerContent",inheritAttrs:!1,props:{blockScroll:Boolean,show:{type:Boolean,default:void 0},displayDirective:{type:String,required:!0},placement:{type:String,required:!0},contentClass:String,contentStyle:[Object,String],nativeScrollbar:{type:Boolean,required:!0},scrollbarProps:Object,trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},showMask:{type:[Boolean,String],required:!0},maxWidth:Number,maxHeight:Number,minWidth:Number,minHeight:Number,resizable:Boolean,onClickoutside:Function,onAfterLeave:Function,onAfterEnter:Function,onEsc:Function},setup(e){const t=W(!!e.show),n=W(null),o=We(Ap);let r=0,i="",a=null;const s=W(!1),l=W(!1),c=L(()=>e.placement==="top"||e.placement==="bottom"),{mergedClsPrefixRef:u,mergedRtlRef:d}=st(e),f=pn("Drawer",d,u),p=P=>{l.value=!0,r=c.value?P.clientY:P.clientX,i=document.body.style.cursor,document.body.style.cursor=c.value?"ns-resize":"ew-resize",document.body.addEventListener("mousemove",S),document.body.addEventListener("mouseleave",x),document.body.addEventListener("mouseup",_)},h=()=>{a!==null&&(window.clearTimeout(a),a=null),l.value?s.value=!0:a=window.setTimeout(()=>{s.value=!0},300)},m=()=>{a!==null&&(window.clearTimeout(a),a=null),s.value=!1},{doUpdateHeight:v,doUpdateWidth:b}=o,w=P=>{const{maxWidth:T}=e;if(T&&P>T)return T;const{minWidth:$}=e;return $&&P<$?$:P},C=P=>{const{maxHeight:T}=e;if(T&&P>T)return T;const{minHeight:$}=e;return $&&P<$?$:P},S=P=>{var T,$;if(l.value)if(c.value){let R=((T=n.value)===null||T===void 0?void 0:T.offsetHeight)||0;const K=r-P.clientY;R+=e.placement==="bottom"?K:-K,R=C(R),v(R),r=P.clientY}else{let R=(($=n.value)===null||$===void 0?void 0:$.offsetWidth)||0;const K=r-P.clientX;R+=e.placement==="right"?K:-K,R=w(R),b(R),r=P.clientX}},_=()=>{l.value&&(r=0,l.value=!1,document.body.style.cursor=i,document.body.removeEventListener("mousemove",S),document.body.removeEventListener("mouseup",_),document.body.removeEventListener("mouseleave",x))},x=_;Xt(()=>{e.show&&(t.value=!0)}),ft(()=>e.show,P=>{P||_()}),rn(()=>{_()});const y=L(()=>{const{show:P}=e,T=[[Mn,P]];return e.showMask||T.push([Sa,e.onClickoutside,void 0,{capture:!0}]),T});function k(){var P;t.value=!1,(P=e.onAfterLeave)===null||P===void 0||P.call(e)}return yw(L(()=>e.blockScroll&&t.value)),at(al,n),at(La,null),at(il,null),{bodyRef:n,rtlEnabled:f,mergedClsPrefix:o.mergedClsPrefixRef,isMounted:o.isMountedRef,mergedTheme:o.mergedThemeRef,displayed:t,transitionName:L(()=>({right:"slide-in-from-right-transition",left:"slide-in-from-left-transition",top:"slide-in-from-top-transition",bottom:"slide-in-from-bottom-transition"})[e.placement]),handleAfterLeave:k,bodyDirectives:y,handleMousedownResizeTrigger:p,handleMouseenterResizeTrigger:h,handleMouseleaveResizeTrigger:m,isDragging:l,isHoverOnResizeTrigger:s}},render(){const{$slots:e,mergedClsPrefix:t}=this;return this.displayDirective==="show"||this.displayed||this.show?dn(g("div",{role:"none"},g(Lp,{disabled:!this.showMask||!this.trapFocus,active:this.show,autoFocus:this.autoFocus,onEsc:this.onEsc},{default:()=>g(fn,{name:this.transitionName,appear:this.isMounted,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave},{default:()=>dn(g("div",Ln(this.$attrs,{role:"dialog",ref:"bodyRef","aria-modal":"true",class:[`${t}-drawer`,this.rtlEnabled&&`${t}-drawer--rtl`,`${t}-drawer--${this.placement}-placement`,this.isDragging&&`${t}-drawer--unselectable`,this.nativeScrollbar&&`${t}-drawer--native-scrollbar`]}),[this.resizable?g("div",{class:[`${t}-drawer__resize-trigger`,(this.isDragging||this.isHoverOnResizeTrigger)&&`${t}-drawer__resize-trigger--hover`],onMouseenter:this.handleMouseenterResizeTrigger,onMouseleave:this.handleMouseleaveResizeTrigger,onMousedown:this.handleMousedownResizeTrigger}):null,this.nativeScrollbar?g("div",{class:[`${t}-drawer-content-wrapper`,this.contentClass],style:this.contentStyle,role:"none"},e):g(To,Object.assign({},this.scrollbarProps,{contentStyle:this.contentStyle,contentClass:[`${t}-drawer-content-wrapper`,this.contentClass],theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar}),e)]),this.bodyDirectives)})})),[[Mn,this.displayDirective==="if"||this.displayed||this.show]]):null}}),{cubicBezierEaseIn:rq,cubicBezierEaseOut:iq}=co;function aq({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-right"}={}){return[q(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${rq}`}),q(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${iq}`}),q(`&.${n}-transition-enter-to`,{transform:"translateX(0)"}),q(`&.${n}-transition-enter-from`,{transform:"translateX(100%)"}),q(`&.${n}-transition-leave-from`,{transform:"translateX(0)"}),q(`&.${n}-transition-leave-to`,{transform:"translateX(100%)"})]}const{cubicBezierEaseIn:sq,cubicBezierEaseOut:lq}=co;function cq({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-left"}={}){return[q(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${sq}`}),q(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${lq}`}),q(`&.${n}-transition-enter-to`,{transform:"translateX(0)"}),q(`&.${n}-transition-enter-from`,{transform:"translateX(-100%)"}),q(`&.${n}-transition-leave-from`,{transform:"translateX(0)"}),q(`&.${n}-transition-leave-to`,{transform:"translateX(-100%)"})]}const{cubicBezierEaseIn:uq,cubicBezierEaseOut:dq}=co;function fq({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-top"}={}){return[q(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${uq}`}),q(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${dq}`}),q(`&.${n}-transition-enter-to`,{transform:"translateY(0)"}),q(`&.${n}-transition-enter-from`,{transform:"translateY(-100%)"}),q(`&.${n}-transition-leave-from`,{transform:"translateY(0)"}),q(`&.${n}-transition-leave-to`,{transform:"translateY(-100%)"})]}const{cubicBezierEaseIn:hq,cubicBezierEaseOut:pq}=co;function mq({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-bottom"}={}){return[q(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${hq}`}),q(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${pq}`}),q(`&.${n}-transition-enter-to`,{transform:"translateY(0)"}),q(`&.${n}-transition-enter-from`,{transform:"translateY(100%)"}),q(`&.${n}-transition-leave-from`,{transform:"translateY(0)"}),q(`&.${n}-transition-leave-to`,{transform:"translateY(100%)"})]}const gq=q([z("drawer",` + `),Rt("dashed",[V("line",{backgroundColor:"var(--n-color)"})]),Z("dashed",[V("line",{borderColor:"var(--n-color)"})]),Z("vertical",{backgroundColor:"var(--n-color)"})]),Vq=Object.assign(Object.assign({},Be.props),{titlePlacement:{type:String,default:"center"},dashed:Boolean,vertical:Boolean}),Xi=be({name:"Divider",props:Vq,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Divider","-divider",jq,Bq,e,t),r=F(()=>{const{common:{cubicBezierEaseInOut:a},self:{color:s,textColor:l,fontWeight:c}}=o.value;return{"--n-bezier":a,"--n-color":s,"--n-text-color":l,"--n-font-weight":c}}),i=n?Pt("divider",void 0,r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$slots:t,titlePlacement:n,vertical:o,dashed:r,cssVars:i,mergedClsPrefix:a}=this;return(e=this.onRender)===null||e===void 0||e.call(this),v("div",{role:"separator",class:[`${a}-divider`,this.themeClass,{[`${a}-divider--vertical`]:o,[`${a}-divider--no-title`]:!t.default,[`${a}-divider--dashed`]:r,[`${a}-divider--title-position-${n}`]:t.default&&n}],style:i},o?null:v("div",{class:`${a}-divider__line ${a}-divider__line--left`}),!o&&t.default?v(it,null,v("div",{class:`${a}-divider__title`},this.$slots),v("div",{class:`${a}-divider__line ${a}-divider__line--right`})):null)}});function wS(e){const{modalColor:t,textColor1:n,textColor2:o,boxShadow3:r,lineHeight:i,fontWeightStrong:a,dividerColor:s,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,borderRadius:h,primaryColorHover:p}=e;return{bodyPadding:"16px 24px",borderRadius:h,headerPadding:"16px 24px",footerPadding:"16px 24px",color:t,textColor:o,titleTextColor:n,titleFontSize:"18px",titleFontWeight:a,boxShadow:r,lineHeight:i,headerBorderBottom:`1px solid ${s}`,footerBorderTop:`1px solid ${s}`,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,closeSize:"22px",closeIconSize:"18px",closeColorHover:l,closeColorPressed:c,closeBorderRadius:h,resizableTriggerColorHover:p}}const Wq={name:"Drawer",common:xt,peers:{Scrollbar:Gi},self:wS},Uq=Wq,qq={name:"Drawer",common:je,peers:{Scrollbar:Vn},self:wS},Kq=qq,Gq=be({name:"NDrawerContent",inheritAttrs:!1,props:{blockScroll:Boolean,show:{type:Boolean,default:void 0},displayDirective:{type:String,required:!0},placement:{type:String,required:!0},contentClass:String,contentStyle:[Object,String],nativeScrollbar:{type:Boolean,required:!0},scrollbarProps:Object,trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},showMask:{type:[Boolean,String],required:!0},maxWidth:Number,maxHeight:Number,minWidth:Number,minHeight:Number,resizable:Boolean,onClickoutside:Function,onAfterLeave:Function,onAfterEnter:Function,onEsc:Function},setup(e){const t=W(!!e.show),n=W(null),o=Ue(Up);let r=0,i="",a=null;const s=W(!1),l=W(!1),c=F(()=>e.placement==="top"||e.placement==="bottom"),{mergedClsPrefixRef:u,mergedRtlRef:d}=st(e),f=pn("Drawer",d,u),h=x,p=k=>{l.value=!0,r=c.value?k.clientY:k.clientX,i=document.body.style.cursor,document.body.style.cursor=c.value?"ns-resize":"ew-resize",document.body.addEventListener("mousemove",w),document.body.addEventListener("mouseleave",h),document.body.addEventListener("mouseup",x)},g=()=>{a!==null&&(window.clearTimeout(a),a=null),l.value?s.value=!0:a=window.setTimeout(()=>{s.value=!0},300)},m=()=>{a!==null&&(window.clearTimeout(a),a=null),s.value=!1},{doUpdateHeight:b,doUpdateWidth:_}=o,C=k=>{const{maxWidth:T}=e;if(T&&k>T)return T;const{minWidth:E}=e;return E&&k{const{maxHeight:T}=e;if(T&&k>T)return T;const{minHeight:E}=e;return E&&k{e.show&&(t.value=!0)}),ft(()=>e.show,k=>{k||x()}),on(()=>{x()});const y=F(()=>{const{show:k}=e,T=[[Mn,k]];return e.showMask||T.push([Ea,e.onClickoutside,void 0,{capture:!0}]),T});function P(){var k;t.value=!1,(k=e.onAfterLeave)===null||k===void 0||k.call(e)}return qw(F(()=>e.blockScroll&&t.value)),at(ll,n),at(Va,null),at(sl,null),{bodyRef:n,rtlEnabled:f,mergedClsPrefix:o.mergedClsPrefixRef,isMounted:o.isMountedRef,mergedTheme:o.mergedThemeRef,displayed:t,transitionName:F(()=>({right:"slide-in-from-right-transition",left:"slide-in-from-left-transition",top:"slide-in-from-top-transition",bottom:"slide-in-from-bottom-transition"})[e.placement]),handleAfterLeave:P,bodyDirectives:y,handleMousedownResizeTrigger:p,handleMouseenterResizeTrigger:g,handleMouseleaveResizeTrigger:m,isDragging:l,isHoverOnResizeTrigger:s}},render(){const{$slots:e,mergedClsPrefix:t}=this;return this.displayDirective==="show"||this.displayed||this.show?dn(v("div",{role:"none"},v(Zp,{disabled:!this.showMask||!this.trapFocus,active:this.show,autoFocus:this.autoFocus,onEsc:this.onEsc},{default:()=>v(fn,{name:this.transitionName,appear:this.isMounted,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave},{default:()=>dn(v("div",Ln(this.$attrs,{role:"dialog",ref:"bodyRef","aria-modal":"true",class:[`${t}-drawer`,this.rtlEnabled&&`${t}-drawer--rtl`,`${t}-drawer--${this.placement}-placement`,this.isDragging&&`${t}-drawer--unselectable`,this.nativeScrollbar&&`${t}-drawer--native-scrollbar`]}),[this.resizable?v("div",{class:[`${t}-drawer__resize-trigger`,(this.isDragging||this.isHoverOnResizeTrigger)&&`${t}-drawer__resize-trigger--hover`],onMouseenter:this.handleMouseenterResizeTrigger,onMouseleave:this.handleMouseleaveResizeTrigger,onMousedown:this.handleMousedownResizeTrigger}):null,this.nativeScrollbar?v("div",{class:[`${t}-drawer-content-wrapper`,this.contentClass],style:this.contentStyle,role:"none"},e):v(Io,Object.assign({},this.scrollbarProps,{contentStyle:this.contentStyle,contentClass:[`${t}-drawer-content-wrapper`,this.contentClass],theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar}),e)]),this.bodyDirectives)})})),[[Mn,this.displayDirective==="if"||this.displayed||this.show]]):null}}),{cubicBezierEaseIn:Yq,cubicBezierEaseOut:Xq}=po;function Zq({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-right"}={}){return[q(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${Yq}`}),q(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${Xq}`}),q(`&.${n}-transition-enter-to`,{transform:"translateX(0)"}),q(`&.${n}-transition-enter-from`,{transform:"translateX(100%)"}),q(`&.${n}-transition-leave-from`,{transform:"translateX(0)"}),q(`&.${n}-transition-leave-to`,{transform:"translateX(100%)"})]}const{cubicBezierEaseIn:Jq,cubicBezierEaseOut:Qq}=po;function eK({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-left"}={}){return[q(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${Jq}`}),q(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${Qq}`}),q(`&.${n}-transition-enter-to`,{transform:"translateX(0)"}),q(`&.${n}-transition-enter-from`,{transform:"translateX(-100%)"}),q(`&.${n}-transition-leave-from`,{transform:"translateX(0)"}),q(`&.${n}-transition-leave-to`,{transform:"translateX(-100%)"})]}const{cubicBezierEaseIn:tK,cubicBezierEaseOut:nK}=po;function oK({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-top"}={}){return[q(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${tK}`}),q(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${nK}`}),q(`&.${n}-transition-enter-to`,{transform:"translateY(0)"}),q(`&.${n}-transition-enter-from`,{transform:"translateY(-100%)"}),q(`&.${n}-transition-leave-from`,{transform:"translateY(0)"}),q(`&.${n}-transition-leave-to`,{transform:"translateY(-100%)"})]}const{cubicBezierEaseIn:rK,cubicBezierEaseOut:iK}=po;function aK({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-bottom"}={}){return[q(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${rK}`}),q(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${iK}`}),q(`&.${n}-transition-enter-to`,{transform:"translateY(0)"}),q(`&.${n}-transition-enter-from`,{transform:"translateY(100%)"}),q(`&.${n}-transition-leave-from`,{transform:"translateY(0)"}),q(`&.${n}-transition-leave-to`,{transform:"translateY(100%)"})]}const sK=q([z("drawer",` word-break: break-word; line-height: var(--n-line-height); position: absolute; @@ -2610,7 +2616,7 @@ ${t} background-color: var(--n-color); color: var(--n-text-color); box-sizing: border-box; - `,[aq(),cq(),fq(),mq(),Z("unselectable",` + `,[Zq(),eK(),oK(),aK(),Z("unselectable",` user-select: none; -webkit-user-select: none; `),Z("native-scrollbar",[z("drawer-content-wrapper",` @@ -2733,13 +2739,13 @@ ${t} bottom: 0; `,[Z("invisible",` background-color: rgba(0, 0, 0, 0) - `),cl({enterDuration:"0.2s",leaveDuration:"0.2s",enterCubicBezier:"var(--n-bezier-in)",leaveCubicBezier:"var(--n-bezier-out)"})])]),vq=Object.assign(Object.assign({},Be.props),{show:Boolean,width:[Number,String],height:[Number,String],placement:{type:String,default:"right"},maskClosable:{type:Boolean,default:!0},showMask:{type:[Boolean,String],default:!0},to:[String,Object],displayDirective:{type:String,default:"if"},nativeScrollbar:{type:Boolean,default:!0},zIndex:Number,onMaskClick:Function,scrollbarProps:Object,contentClass:String,contentStyle:[Object,String],trapFocus:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0},maxWidth:Number,maxHeight:Number,minWidth:Number,minHeight:Number,resizable:Boolean,defaultWidth:{type:[Number,String],default:251},defaultHeight:{type:[Number,String],default:251},onUpdateWidth:[Function,Array],onUpdateHeight:[Function,Array],"onUpdate:width":[Function,Array],"onUpdate:height":[Function,Array],"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,drawerStyle:[String,Object],drawerClass:String,target:null,onShow:Function,onHide:Function}),X2=ve({name:"Drawer",inheritAttrs:!1,props:vq,setup(e){const{mergedClsPrefixRef:t,namespaceRef:n,inlineThemeDisabled:o}=st(e),r=Xr(),i=Be("Drawer","-drawer",gq,eq,e,t),a=W(e.defaultWidth),s=W(e.defaultHeight),l=sn(Ve(e,"width"),a),c=sn(Ve(e,"height"),s),u=L(()=>{const{placement:x}=e;return x==="top"||x==="bottom"?"":qt(l.value)}),d=L(()=>{const{placement:x}=e;return x==="left"||x==="right"?"":qt(c.value)}),f=x=>{const{onUpdateWidth:y,"onUpdate:width":k}=e;y&&Ee(y,x),k&&Ee(k,x),a.value=x},p=x=>{const{onUpdateHeight:y,"onUpdate:width":k}=e;y&&Ee(y,x),k&&Ee(k,x),s.value=x},h=L(()=>[{width:u.value,height:d.value},e.drawerStyle||""]);function m(x){const{onMaskClick:y,maskClosable:k}=e;k&&C(!1),y&&y(x)}function v(x){m(x)}const b=xw();function w(x){var y;(y=e.onEsc)===null||y===void 0||y.call(e),e.show&&e.closeOnEsc&&QC(x)&&!b.value&&C(!1)}function C(x){const{onHide:y,onUpdateShow:k,"onUpdate:show":P}=e;k&&Ee(k,x),P&&Ee(P,x),y&&!x&&Ee(y,x)}at(Ap,{isMountedRef:r,mergedThemeRef:i,mergedClsPrefixRef:t,doUpdateShow:C,doUpdateHeight:p,doUpdateWidth:f});const S=L(()=>{const{common:{cubicBezierEaseInOut:x,cubicBezierEaseIn:y,cubicBezierEaseOut:k},self:{color:P,textColor:T,boxShadow:$,lineHeight:R,headerPadding:K,footerPadding:j,borderRadius:D,bodyPadding:M,titleFontSize:Y,titleTextColor:Q,titleFontWeight:de,headerBorderBottom:pe,footerBorderTop:B,closeIconColor:E,closeIconColorHover:A,closeIconColorPressed:G,closeColorHover:oe,closeColorPressed:fe,closeIconSize:J,closeSize:xe,closeBorderRadius:N,resizableTriggerColorHover:be}}=i.value;return{"--n-line-height":R,"--n-color":P,"--n-border-radius":D,"--n-text-color":T,"--n-box-shadow":$,"--n-bezier":x,"--n-bezier-out":k,"--n-bezier-in":y,"--n-header-padding":K,"--n-body-padding":M,"--n-footer-padding":j,"--n-title-text-color":Q,"--n-title-font-size":Y,"--n-title-font-weight":de,"--n-header-border-bottom":pe,"--n-footer-border-top":B,"--n-close-icon-color":E,"--n-close-icon-color-hover":A,"--n-close-icon-color-pressed":G,"--n-close-size":xe,"--n-close-color-hover":oe,"--n-close-color-pressed":fe,"--n-close-icon-size":J,"--n-close-border-radius":N,"--n-resize-trigger-color-hover":be}}),_=o?kt("drawer",void 0,S,e):void 0;return{mergedClsPrefix:t,namespace:n,mergedBodyStyle:h,handleOutsideClick:v,handleMaskClick:m,handleEsc:w,mergedTheme:i,cssVars:o?void 0:S,themeClass:_==null?void 0:_.themeClass,onRender:_==null?void 0:_.onRender,isMounted:r}},render(){const{mergedClsPrefix:e}=this;return g(Su,{to:this.to,show:this.show},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),dn(g("div",{class:[`${e}-drawer-container`,this.namespace,this.themeClass],style:this.cssVars,role:"none"},this.showMask?g(fn,{name:"fade-in-transition",appear:this.isMounted},{default:()=>this.show?g("div",{"aria-hidden":!0,class:[`${e}-drawer-mask`,this.showMask==="transparent"&&`${e}-drawer-mask--invisible`],onClick:this.handleMaskClick}):null}):null,g(oq,Object.assign({},this.$attrs,{class:[this.drawerClass,this.$attrs.class],style:[this.mergedBodyStyle,this.$attrs.style],blockScroll:this.blockScroll,contentStyle:this.contentStyle,contentClass:this.contentClass,placement:this.placement,scrollbarProps:this.scrollbarProps,show:this.show,displayDirective:this.displayDirective,nativeScrollbar:this.nativeScrollbar,onAfterEnter:this.onAfterEnter,onAfterLeave:this.onAfterLeave,trapFocus:this.trapFocus,autoFocus:this.autoFocus,resizable:this.resizable,maxHeight:this.maxHeight,minHeight:this.minHeight,maxWidth:this.maxWidth,minWidth:this.minWidth,showMask:this.showMask,onEsc:this.handleEsc,onClickoutside:this.handleOutsideClick}),this.$slots)),[[_u,{zIndex:this.zIndex,enabled:this.show}]])}})}}),bq={title:String,headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],bodyClass:String,bodyStyle:[Object,String],bodyContentClass:String,bodyContentStyle:[Object,String],nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,closable:Boolean},yq=ve({name:"DrawerContent",props:bq,setup(){const e=We(Ap,null);e||ur("drawer-content","`n-drawer-content` must be placed inside `n-drawer`.");const{doUpdateShow:t}=e;function n(){t(!1)}return{handleCloseClick:n,mergedTheme:e.mergedThemeRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{title:e,mergedClsPrefix:t,nativeScrollbar:n,mergedTheme:o,bodyClass:r,bodyStyle:i,bodyContentClass:a,bodyContentStyle:s,headerClass:l,headerStyle:c,footerClass:u,footerStyle:d,scrollbarProps:f,closable:p,$slots:h}=this;return g("div",{role:"none",class:[`${t}-drawer-content`,n&&`${t}-drawer-content--native-scrollbar`]},h.header||e||p?g("div",{class:[`${t}-drawer-header`,l],style:c,role:"none"},g("div",{class:`${t}-drawer-header__main`,role:"heading","aria-level":"1"},h.header!==void 0?h.header():e),p&&g(Hi,{onClick:this.handleCloseClick,clsPrefix:t,class:`${t}-drawer-header__close`,absolute:!0})):null,n?g("div",{class:[`${t}-drawer-body`,r],style:i,role:"none"},g("div",{class:[`${t}-drawer-body-content-wrapper`,a],style:s,role:"none"},h)):g(To,Object.assign({themeOverrides:o.peerOverrides.Scrollbar,theme:o.peers.Scrollbar},f,{class:`${t}-drawer-body`,contentClass:[`${t}-drawer-body-content-wrapper`,a],contentStyle:s}),h),h.footer?g("div",{class:[`${t}-drawer-footer`,u],style:d,role:"none"},h.footer()):null)}}),xq={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},Cq={name:"DynamicInput",common:Ne,peers:{Input:uo,Button:Wn},self(){return xq}},wq=Cq,Z2={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},_q={name:"Space",self(){return Z2}},J2=_q,Sq=()=>Z2,kq={name:"Space",self:Sq},Pq=kq;let Yd;const Tq=()=>{if(!dr)return!0;if(Yd===void 0){const e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e);const t=e.scrollHeight===1;return document.body.removeChild(e),Yd=t}return Yd},Rq=Object.assign(Object.assign({},Be.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrapItem:{type:Boolean,default:!0},itemClass:String,itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),qi=ve({name:"Space",props:Rq,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=st(e),o=Be("Space","-space",void 0,Pq,e,t),r=pn("Space",n,t);return{useGap:Tq(),rtlEnabled:r,mergedClsPrefix:t,margin:L(()=>{const{size:i}=e;if(Array.isArray(i))return{horizontal:i[0],vertical:i[1]};if(typeof i=="number")return{horizontal:i,vertical:i};const{self:{[Te("gap",i)]:a}}=o.value,{row:s,col:l}=XA(a);return{horizontal:Sn(l),vertical:Sn(s)}})}},render(){const{vertical:e,reverse:t,align:n,inline:o,justify:r,itemClass:i,itemStyle:a,margin:s,wrap:l,mergedClsPrefix:c,rtlEnabled:u,useGap:d,wrapItem:f,internalUseGap:p}=this,h=_a(jC(this),!1);if(!h.length)return null;const m=`${s.horizontal}px`,v=`${s.horizontal/2}px`,b=`${s.vertical}px`,w=`${s.vertical/2}px`,C=h.length-1,S=r.startsWith("space-");return g("div",{role:"none",class:[`${c}-space`,u&&`${c}-space--rtl`],style:{display:o?"inline-flex":"flex",flexDirection:(()=>e&&!t?"column":e&&t?"column-reverse":!e&&t?"row-reverse":"row")(),justifyContent:["start","end"].includes(r)?"flex-"+r:r,flexWrap:!l||e?"nowrap":"wrap",marginTop:d||e?"":`-${w}`,marginBottom:d||e?"":`-${w}`,alignItems:n,gap:d?`${s.vertical}px ${s.horizontal}px`:""}},!f&&(d||p)?h:h.map((_,x)=>_.type===$n?_:g("div",{role:"none",class:i,style:[a,{maxWidth:"100%"},d?"":e?{marginBottom:x!==C?b:""}:u?{marginLeft:S?r==="space-between"&&x===C?"":v:x!==C?m:"",marginRight:S?r==="space-between"&&x===0?"":v:"",paddingTop:w,paddingBottom:w}:{marginRight:S?r==="space-between"&&x===C?"":v:x!==C?m:"",marginLeft:S?r==="space-between"&&x===0?"":v:"",paddingTop:w,paddingBottom:w}]},_)))}}),Eq={name:"DynamicTags",common:Ne,peers:{Input:uo,Button:Wn,Tag:A_,Space:J2},self(){return{inputWidth:"64px"}}},$q=Eq,Aq={name:"Element",common:Ne},Iq=Aq,Oq={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},Mq={name:"Flex",self(){return Oq}},zq=Mq,Dq={feedbackPadding:"4px 0 0 2px",feedbackHeightSmall:"24px",feedbackHeightMedium:"24px",feedbackHeightLarge:"26px",feedbackFontSizeSmall:"13px",feedbackFontSizeMedium:"14px",feedbackFontSizeLarge:"14px",labelFontSizeLeftSmall:"14px",labelFontSizeLeftMedium:"14px",labelFontSizeLeftLarge:"15px",labelFontSizeTopSmall:"13px",labelFontSizeTopMedium:"14px",labelFontSizeTopLarge:"14px",labelHeightSmall:"24px",labelHeightMedium:"26px",labelHeightLarge:"28px",labelPaddingVertical:"0 0 6px 2px",labelPaddingHorizontal:"0 12px 0 0",labelTextAlignVertical:"left",labelTextAlignHorizontal:"right",labelFontWeight:"400"},Lq=e=>{const{heightSmall:t,heightMedium:n,heightLarge:o,textColor1:r,errorColor:i,warningColor:a,lineHeight:s,textColor3:l}=e;return Object.assign(Object.assign({},Dq),{blankHeightSmall:t,blankHeightMedium:n,blankHeightLarge:o,lineHeight:s,labelTextColor:r,asteriskColor:i,feedbackTextColorError:i,feedbackTextColorWarning:a,feedbackTextColor:l})},Fq={name:"Form",common:Ne,self:Lq},Bq=Fq,Nq={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"},Q2=e=>{const{textColor2:t,successColor:n,infoColor:o,warningColor:r,errorColor:i,popoverColor:a,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:c,closeColorHover:u,closeColorPressed:d,textColor1:f,textColor3:p,borderRadius:h,fontWeightStrong:m,boxShadow2:v,lineHeight:b,fontSize:w}=e;return Object.assign(Object.assign({},Nq),{borderRadius:h,lineHeight:b,fontSize:w,headerFontWeight:m,iconColor:t,iconColorSuccess:n,iconColorInfo:o,iconColorWarning:r,iconColorError:i,color:a,textColor:t,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:c,closeBorderRadius:h,closeColorHover:u,closeColorPressed:d,headerTextColor:f,descriptionTextColor:p,actionTextColor:t,boxShadow:v})},Hq={name:"Notification",common:bt,peers:{Scrollbar:Vi},self:Q2},jq=Hq,Vq={name:"Notification",common:Ne,peers:{Scrollbar:Vn},self:Q2},Wq=Vq,Uq={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 10px",closeSize:"20px",closeIconSize:"16px",iconSize:"20px",fontSize:"14px"},eS=e=>{const{textColor2:t,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:r,infoColor:i,successColor:a,errorColor:s,warningColor:l,popoverColor:c,boxShadow2:u,primaryColor:d,lineHeight:f,borderRadius:p,closeColorHover:h,closeColorPressed:m}=e;return Object.assign(Object.assign({},Uq),{closeBorderRadius:p,textColor:t,textColorInfo:t,textColorSuccess:t,textColorError:t,textColorWarning:t,textColorLoading:t,color:c,colorInfo:c,colorSuccess:c,colorError:c,colorWarning:c,colorLoading:c,boxShadow:u,boxShadowInfo:u,boxShadowSuccess:u,boxShadowError:u,boxShadowWarning:u,boxShadowLoading:u,iconColor:t,iconColorInfo:i,iconColorSuccess:a,iconColorWarning:l,iconColorError:s,iconColorLoading:d,closeColorHover:h,closeColorPressed:m,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:r,closeColorHoverInfo:h,closeColorPressedInfo:m,closeIconColorInfo:n,closeIconColorHoverInfo:o,closeIconColorPressedInfo:r,closeColorHoverSuccess:h,closeColorPressedSuccess:m,closeIconColorSuccess:n,closeIconColorHoverSuccess:o,closeIconColorPressedSuccess:r,closeColorHoverError:h,closeColorPressedError:m,closeIconColorError:n,closeIconColorHoverError:o,closeIconColorPressedError:r,closeColorHoverWarning:h,closeColorPressedWarning:m,closeIconColorWarning:n,closeIconColorHoverWarning:o,closeIconColorPressedWarning:r,closeColorHoverLoading:h,closeColorPressedLoading:m,closeIconColorLoading:n,closeIconColorHoverLoading:o,closeIconColorPressedLoading:r,loadingColor:d,lineHeight:f,borderRadius:p})},qq={name:"Message",common:bt,self:eS},Kq=qq,Gq={name:"Message",common:Ne,self:eS},Yq=Gq,Xq={name:"ButtonGroup",common:Ne},Zq=Xq,Jq={name:"GradientText",common:Ne,self(e){const{primaryColor:t,successColor:n,warningColor:o,errorColor:r,infoColor:i,primaryColorSuppl:a,successColorSuppl:s,warningColorSuppl:l,errorColorSuppl:c,infoColorSuppl:u,fontWeightStrong:d}=e;return{fontWeight:d,rotate:"252deg",colorStartPrimary:t,colorEndPrimary:a,colorStartInfo:i,colorEndInfo:u,colorStartWarning:o,colorEndWarning:l,colorStartError:r,colorEndError:c,colorStartSuccess:n,colorEndSuccess:s}}},Qq=Jq,eK={name:"InputNumber",common:Ne,peers:{Button:Wn,Input:uo},self(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}},tK=eK,nK=e=>{const{textColorDisabled:t}=e;return{iconColorDisabled:t}},oK={name:"InputNumber",common:bt,peers:{Button:Au,Input:om},self:nK},rK=oK,iK={name:"Layout",common:Ne,peers:{Scrollbar:Vn},self(e){const{textColor2:t,bodyColor:n,popoverColor:o,cardColor:r,dividerColor:i,scrollbarColor:a,scrollbarColorHover:s}=e;return{textColor:t,textColorInverted:t,color:n,colorEmbedded:n,headerColor:r,headerColorInverted:r,footerColor:r,footerColorInverted:r,headerBorderColor:i,headerBorderColorInverted:i,footerBorderColor:i,footerBorderColorInverted:i,siderBorderColor:i,siderBorderColorInverted:i,siderColor:r,siderColorInverted:r,siderToggleButtonBorder:"1px solid transparent",siderToggleButtonColor:o,siderToggleButtonIconColor:t,siderToggleButtonIconColorInverted:t,siderToggleBarColor:et(n,a),siderToggleBarColorHover:et(n,s),__invertScrollbar:"false"}}},aK=iK,sK=e=>{const{baseColor:t,textColor2:n,bodyColor:o,cardColor:r,dividerColor:i,actionColor:a,scrollbarColor:s,scrollbarColorHover:l,invertedColor:c}=e;return{textColor:n,textColorInverted:"#FFF",color:o,colorEmbedded:a,headerColor:r,headerColorInverted:c,footerColor:a,footerColorInverted:c,headerBorderColor:i,headerBorderColorInverted:c,footerBorderColor:i,footerBorderColorInverted:c,siderBorderColor:i,siderBorderColorInverted:c,siderColor:r,siderColorInverted:c,siderToggleButtonBorder:`1px solid ${i}`,siderToggleButtonColor:t,siderToggleButtonIconColor:n,siderToggleButtonIconColorInverted:n,siderToggleBarColor:et(o,s),siderToggleBarColorHover:et(o,l),__invertScrollbar:"true"}},lK={name:"Layout",common:bt,peers:{Scrollbar:Vi},self:sK},tS=lK,nS=e=>{const{textColor2:t,cardColor:n,modalColor:o,popoverColor:r,dividerColor:i,borderRadius:a,fontSize:s,hoverColor:l}=e;return{textColor:t,color:n,colorHover:l,colorModal:o,colorHoverModal:et(o,l),colorPopover:r,colorHoverPopover:et(r,l),borderColor:i,borderColorModal:et(o,i),borderColorPopover:et(r,i),borderRadius:a,fontSize:s}},cK={name:"List",common:bt,self:nS},uK=cK,dK={name:"List",common:Ne,self:nS},fK=dK,hK={name:"LoadingBar",common:Ne,self(e){const{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}},pK=hK,mK=e=>{const{primaryColor:t,errorColor:n}=e;return{colorError:n,colorLoading:t,height:"2px"}},gK={name:"LoadingBar",common:bt,self:mK},vK=gK,bK={name:"Log",common:Ne,peers:{Scrollbar:Vn,Code:t2},self(e){const{textColor2:t,inputColor:n,fontSize:o,primaryColor:r}=e;return{loaderFontSize:o,loaderTextColor:t,loaderColor:n,loaderBorder:"1px solid #0000",loadingColor:r}}},yK=bK,xK={name:"Mention",common:Ne,peers:{InternalSelectMenu:ul,Input:uo},self(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}},CK=xK;function wK(e,t,n,o){return{itemColorHoverInverted:"#0000",itemColorActiveInverted:t,itemColorActiveHoverInverted:t,itemColorActiveCollapsedInverted:t,itemTextColorInverted:e,itemTextColorHoverInverted:n,itemTextColorChildActiveInverted:n,itemTextColorChildActiveHoverInverted:n,itemTextColorActiveInverted:n,itemTextColorActiveHoverInverted:n,itemTextColorHorizontalInverted:e,itemTextColorHoverHorizontalInverted:n,itemTextColorChildActiveHorizontalInverted:n,itemTextColorChildActiveHoverHorizontalInverted:n,itemTextColorActiveHorizontalInverted:n,itemTextColorActiveHoverHorizontalInverted:n,itemIconColorInverted:e,itemIconColorHoverInverted:n,itemIconColorActiveInverted:n,itemIconColorActiveHoverInverted:n,itemIconColorChildActiveInverted:n,itemIconColorChildActiveHoverInverted:n,itemIconColorCollapsedInverted:e,itemIconColorHorizontalInverted:e,itemIconColorHoverHorizontalInverted:n,itemIconColorActiveHorizontalInverted:n,itemIconColorActiveHoverHorizontalInverted:n,itemIconColorChildActiveHorizontalInverted:n,itemIconColorChildActiveHoverHorizontalInverted:n,arrowColorInverted:e,arrowColorHoverInverted:n,arrowColorActiveInverted:n,arrowColorActiveHoverInverted:n,arrowColorChildActiveInverted:n,arrowColorChildActiveHoverInverted:n,groupTextColorInverted:o}}const oS=e=>{const{borderRadius:t,textColor3:n,primaryColor:o,textColor2:r,textColor1:i,fontSize:a,dividerColor:s,hoverColor:l,primaryColorHover:c}=e;return Object.assign({borderRadius:t,color:"#0000",groupTextColor:n,itemColorHover:l,itemColorActive:Me(o,{alpha:.1}),itemColorActiveHover:Me(o,{alpha:.1}),itemColorActiveCollapsed:Me(o,{alpha:.1}),itemTextColor:r,itemTextColorHover:r,itemTextColorActive:o,itemTextColorActiveHover:o,itemTextColorChildActive:o,itemTextColorChildActiveHover:o,itemTextColorHorizontal:r,itemTextColorHoverHorizontal:c,itemTextColorActiveHorizontal:o,itemTextColorActiveHoverHorizontal:o,itemTextColorChildActiveHorizontal:o,itemTextColorChildActiveHoverHorizontal:o,itemIconColor:i,itemIconColorHover:i,itemIconColorActive:o,itemIconColorActiveHover:o,itemIconColorChildActive:o,itemIconColorChildActiveHover:o,itemIconColorCollapsed:i,itemIconColorHorizontal:i,itemIconColorHoverHorizontal:c,itemIconColorActiveHorizontal:o,itemIconColorActiveHoverHorizontal:o,itemIconColorChildActiveHorizontal:o,itemIconColorChildActiveHoverHorizontal:o,itemHeight:"42px",arrowColor:r,arrowColorHover:r,arrowColorActive:o,arrowColorActiveHover:o,arrowColorChildActive:o,arrowColorChildActiveHover:o,colorInverted:"#0000",borderColorHorizontal:"#0000",fontSize:a,dividerColor:s},wK("#BBB",o,"#FFF","#AAA"))},_K={name:"Menu",common:bt,peers:{Tooltip:um,Dropdown:fm},self:oS},SK=_K,kK={name:"Menu",common:Ne,peers:{Tooltip:Ou,Dropdown:hm},self(e){const{primaryColor:t,primaryColorSuppl:n}=e,o=oS(e);return o.itemColorActive=Me(t,{alpha:.15}),o.itemColorActiveHover=Me(t,{alpha:.15}),o.itemColorActiveCollapsed=Me(t,{alpha:.15}),o.itemColorActiveInverted=n,o.itemColorActiveHoverInverted=n,o.itemColorActiveCollapsedInverted=n,o}},PK=kK,TK={titleFontSize:"18px",backSize:"22px"};function RK(e){const{textColor1:t,textColor2:n,textColor3:o,fontSize:r,fontWeightStrong:i,primaryColorHover:a,primaryColorPressed:s}=e;return Object.assign(Object.assign({},TK),{titleFontWeight:i,fontSize:r,titleTextColor:t,backColor:n,backColorHover:a,backColorPressed:s,subtitleTextColor:o})}const EK={name:"PageHeader",common:Ne,self:RK},$K={iconSize:"22px"},AK=e=>{const{fontSize:t,warningColor:n}=e;return Object.assign(Object.assign({},$K),{fontSize:t,iconColor:n})},IK={name:"Popconfirm",common:Ne,peers:{Button:Wn,Popover:Wi},self:AK},OK=IK,rS=e=>{const{infoColor:t,successColor:n,warningColor:o,errorColor:r,textColor2:i,progressRailColor:a,fontSize:s,fontWeight:l}=e;return{fontSize:s,fontSizeCircle:"28px",fontWeightCircle:l,railColor:a,railHeight:"8px",iconSizeCircle:"36px",iconSizeLine:"18px",iconColor:t,iconColorInfo:t,iconColorSuccess:n,iconColorWarning:o,iconColorError:r,textColorCircle:i,textColorLineInner:"rgb(255, 255, 255)",textColorLineOuter:i,fillColor:t,fillColorInfo:t,fillColorSuccess:n,fillColorWarning:o,fillColorError:r,lineBgProcessing:"linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)"}},MK={name:"Progress",common:bt,self:rS},zK=MK,DK={name:"Progress",common:Ne,self(e){const t=rS(e);return t.textColorLineInner="rgb(0, 0, 0)",t.lineBgProcessing="linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)",t}},iS=DK,LK={name:"Rate",common:Ne,self(e){const{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},FK=LK,BK={titleFontSizeSmall:"26px",titleFontSizeMedium:"32px",titleFontSizeLarge:"40px",titleFontSizeHuge:"48px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",iconSizeSmall:"64px",iconSizeMedium:"80px",iconSizeLarge:"100px",iconSizeHuge:"125px",iconColor418:void 0,iconColor404:void 0,iconColor403:void 0,iconColor500:void 0},aS=e=>{const{textColor2:t,textColor1:n,errorColor:o,successColor:r,infoColor:i,warningColor:a,lineHeight:s,fontWeightStrong:l}=e;return Object.assign(Object.assign({},BK),{lineHeight:s,titleFontWeight:l,titleTextColor:n,textColor:t,iconColorError:o,iconColorSuccess:r,iconColorInfo:i,iconColorWarning:a})},NK={name:"Result",common:bt,self:aS},HK=NK,jK={name:"Result",common:Ne,self:aS},VK=jK,WK={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},UK={name:"Slider",common:Ne,self(e){const t="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:n,modalColor:o,primaryColorSuppl:r,popoverColor:i,textColor2:a,cardColor:s,borderRadius:l,fontSize:c,opacityDisabled:u}=e;return Object.assign(Object.assign({},WK),{fontSize:c,markFontSize:c,railColor:n,railColorHover:n,fillColor:r,fillColorHover:r,opacityDisabled:u,handleColor:"#FFF",dotColor:s,dotColorModal:o,dotColorPopover:i,handleBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowHover:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowActive:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowFocus:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",indicatorColor:i,indicatorBoxShadow:t,indicatorTextColor:a,indicatorBorderRadius:l,dotBorder:`2px solid ${n}`,dotBorderActive:`2px solid ${r}`,dotBoxShadow:""})}},qK=UK,sS=e=>{const{opacityDisabled:t,heightTiny:n,heightSmall:o,heightMedium:r,heightLarge:i,heightHuge:a,primaryColor:s,fontSize:l}=e;return{fontSize:l,textColor:s,sizeTiny:n,sizeSmall:o,sizeMedium:r,sizeLarge:i,sizeHuge:a,color:s,opacitySpinning:t}},KK={name:"Spin",common:bt,self:sS},GK=KK,YK={name:"Spin",common:Ne,self:sS},XK=YK,ZK=e=>{const{textColor2:t,textColor3:n,fontSize:o,fontWeight:r}=e;return{labelFontSize:o,labelFontWeight:r,valueFontWeight:r,valueFontSize:"24px",labelTextColor:n,valuePrefixTextColor:t,valueSuffixTextColor:t,valueTextColor:t}},JK={name:"Statistic",common:Ne,self:ZK},QK=JK,eG={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"},tG=e=>{const{fontWeightStrong:t,baseColor:n,textColorDisabled:o,primaryColor:r,errorColor:i,textColor1:a,textColor2:s}=e;return Object.assign(Object.assign({},eG),{stepHeaderFontWeight:t,indicatorTextColorProcess:n,indicatorTextColorWait:o,indicatorTextColorFinish:r,indicatorTextColorError:i,indicatorBorderColorProcess:r,indicatorBorderColorWait:o,indicatorBorderColorFinish:r,indicatorBorderColorError:i,indicatorColorProcess:r,indicatorColorWait:"#0000",indicatorColorFinish:"#0000",indicatorColorError:"#0000",splitorColorProcess:o,splitorColorWait:o,splitorColorFinish:r,splitorColorError:o,headerTextColorProcess:a,headerTextColorWait:o,headerTextColorFinish:o,headerTextColorError:i,descriptionTextColorProcess:s,descriptionTextColorWait:o,descriptionTextColorFinish:o,descriptionTextColorError:i})},nG={name:"Steps",common:Ne,self:tG},oG=nG,lS={buttonHeightSmall:"14px",buttonHeightMedium:"18px",buttonHeightLarge:"22px",buttonWidthSmall:"14px",buttonWidthMedium:"18px",buttonWidthLarge:"22px",buttonWidthPressedSmall:"20px",buttonWidthPressedMedium:"24px",buttonWidthPressedLarge:"28px",railHeightSmall:"18px",railHeightMedium:"22px",railHeightLarge:"26px",railWidthSmall:"32px",railWidthMedium:"40px",railWidthLarge:"48px"},rG={name:"Switch",common:Ne,self(e){const{primaryColorSuppl:t,opacityDisabled:n,borderRadius:o,primaryColor:r,textColor2:i,baseColor:a}=e,s="rgba(255, 255, 255, .20)";return Object.assign(Object.assign({},lS),{iconColor:a,textColor:i,loadingColor:t,opacityDisabled:n,railColor:s,railColorActive:t,buttonBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 8px 0 ${Me(r,{alpha:.3})}`})}},iG=rG,aG=e=>{const{primaryColor:t,opacityDisabled:n,borderRadius:o,textColor3:r}=e,i="rgba(0, 0, 0, .14)";return Object.assign(Object.assign({},lS),{iconColor:r,textColor:"white",loadingColor:t,opacityDisabled:n,railColor:i,railColorActive:t,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 0 2px ${Me(t,{alpha:.2})}`})},sG={name:"Switch",common:bt,self:aG},lG=sG,cG={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"},uG=e=>{const{dividerColor:t,cardColor:n,modalColor:o,popoverColor:r,tableHeaderColor:i,tableColorStriped:a,textColor1:s,textColor2:l,borderRadius:c,fontWeightStrong:u,lineHeight:d,fontSizeSmall:f,fontSizeMedium:p,fontSizeLarge:h}=e;return Object.assign(Object.assign({},cG),{fontSizeSmall:f,fontSizeMedium:p,fontSizeLarge:h,lineHeight:d,borderRadius:c,borderColor:et(n,t),borderColorModal:et(o,t),borderColorPopover:et(r,t),tdColor:n,tdColorModal:o,tdColorPopover:r,tdColorStriped:et(n,a),tdColorStripedModal:et(o,a),tdColorStripedPopover:et(r,a),thColor:et(n,i),thColorModal:et(o,i),thColorPopover:et(r,i),thTextColor:s,tdTextColor:l,thFontWeight:u})},dG={name:"Table",common:Ne,self:uG},fG=dG,hG={tabFontSizeSmall:"14px",tabFontSizeMedium:"14px",tabFontSizeLarge:"16px",tabGapSmallLine:"36px",tabGapMediumLine:"36px",tabGapLargeLine:"36px",tabGapSmallLineVertical:"8px",tabGapMediumLineVertical:"8px",tabGapLargeLineVertical:"8px",tabPaddingSmallLine:"6px 0",tabPaddingMediumLine:"10px 0",tabPaddingLargeLine:"14px 0",tabPaddingVerticalSmallLine:"6px 12px",tabPaddingVerticalMediumLine:"8px 16px",tabPaddingVerticalLargeLine:"10px 20px",tabGapSmallBar:"36px",tabGapMediumBar:"36px",tabGapLargeBar:"36px",tabGapSmallBarVertical:"8px",tabGapMediumBarVertical:"8px",tabGapLargeBarVertical:"8px",tabPaddingSmallBar:"4px 0",tabPaddingMediumBar:"6px 0",tabPaddingLargeBar:"10px 0",tabPaddingVerticalSmallBar:"6px 12px",tabPaddingVerticalMediumBar:"8px 16px",tabPaddingVerticalLargeBar:"10px 20px",tabGapSmallCard:"4px",tabGapMediumCard:"4px",tabGapLargeCard:"4px",tabGapSmallCardVertical:"4px",tabGapMediumCardVertical:"4px",tabGapLargeCardVertical:"4px",tabPaddingSmallCard:"8px 16px",tabPaddingMediumCard:"10px 20px",tabPaddingLargeCard:"12px 24px",tabPaddingSmallSegment:"4px 0",tabPaddingMediumSegment:"6px 0",tabPaddingLargeSegment:"8px 0",tabPaddingVerticalLargeSegment:"0 8px",tabPaddingVerticalSmallCard:"8px 12px",tabPaddingVerticalMediumCard:"10px 16px",tabPaddingVerticalLargeCard:"12px 20px",tabPaddingVerticalSmallSegment:"0 4px",tabPaddingVerticalMediumSegment:"0 6px",tabGapSmallSegment:"0",tabGapMediumSegment:"0",tabGapLargeSegment:"0",tabGapSmallSegmentVertical:"0",tabGapMediumSegmentVertical:"0",tabGapLargeSegmentVertical:"0",panePaddingSmall:"8px 0 0 0",panePaddingMedium:"12px 0 0 0",panePaddingLarge:"16px 0 0 0",closeSize:"18px",closeIconSize:"14px"},pG=e=>{const{textColor2:t,primaryColor:n,textColorDisabled:o,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,tabColor:c,baseColor:u,dividerColor:d,fontWeight:f,textColor1:p,borderRadius:h,fontSize:m,fontWeightStrong:v}=e;return Object.assign(Object.assign({},hG),{colorSegment:c,tabFontSizeCard:m,tabTextColorLine:p,tabTextColorActiveLine:n,tabTextColorHoverLine:n,tabTextColorDisabledLine:o,tabTextColorSegment:p,tabTextColorActiveSegment:t,tabTextColorHoverSegment:t,tabTextColorDisabledSegment:o,tabTextColorBar:p,tabTextColorActiveBar:n,tabTextColorHoverBar:n,tabTextColorDisabledBar:o,tabTextColorCard:p,tabTextColorHoverCard:p,tabTextColorActiveCard:n,tabTextColorDisabledCard:o,barColor:n,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,closeBorderRadius:h,tabColor:c,tabColorSegment:u,tabBorderColor:d,tabFontWeightActive:f,tabFontWeight:f,tabBorderRadius:h,paneTextColor:t,fontWeightStrong:v})},mG={name:"Tabs",common:Ne,self(e){const t=pG(e),{inputColor:n}=e;return t.colorSegment=n,t.tabColorSegment=n,t}},gG=mG,vG=e=>{const{textColor1:t,textColor2:n,fontWeightStrong:o,fontSize:r}=e;return{fontSize:r,titleTextColor:t,textColor:n,titleFontWeight:o}},bG={name:"Thing",common:Ne,self:vG},yG=bG,xG={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},CG={name:"Timeline",common:Ne,self(e){const{textColor3:t,infoColorSuppl:n,errorColorSuppl:o,successColorSuppl:r,warningColorSuppl:i,textColor1:a,textColor2:s,railColor:l,fontWeightStrong:c,fontSize:u}=e;return Object.assign(Object.assign({},xG),{contentFontSize:u,titleFontWeight:c,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${n}`,circleBorderError:`2px solid ${o}`,circleBorderSuccess:`2px solid ${r}`,circleBorderWarning:`2px solid ${i}`,iconColor:t,iconColorInfo:n,iconColorError:o,iconColorSuccess:r,iconColorWarning:i,titleTextColor:a,contentTextColor:s,metaTextColor:t,lineColor:l})}},wG=CG,_G={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"},SG={name:"Transfer",common:Ne,peers:{Checkbox:ja,Scrollbar:Vn,Input:uo,Empty:ji,Button:Wn},self(e){const{fontWeight:t,fontSizeLarge:n,fontSizeMedium:o,fontSizeSmall:r,heightLarge:i,heightMedium:a,borderRadius:s,inputColor:l,tableHeaderColor:c,textColor1:u,textColorDisabled:d,textColor2:f,textColor3:p,hoverColor:h,closeColorHover:m,closeColorPressed:v,closeIconColor:b,closeIconColorHover:w,closeIconColorPressed:C,dividerColor:S}=e;return Object.assign(Object.assign({},_G),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:i,fontSizeSmall:r,fontSizeMedium:o,fontSizeLarge:n,borderRadius:s,dividerColor:S,borderColor:"#0000",listColor:l,headerColor:c,titleTextColor:u,titleTextColorDisabled:d,extraTextColor:p,extraTextColorDisabled:d,itemTextColor:f,itemTextColorDisabled:d,itemColorPending:h,titleFontWeight:t,closeColorHover:m,closeColorPressed:v,closeIconColor:b,closeIconColorHover:w,closeIconColorPressed:C})}},kG=SG,PG=e=>{const{borderRadiusSmall:t,dividerColor:n,hoverColor:o,pressedColor:r,primaryColor:i,textColor3:a,textColor2:s,textColorDisabled:l,fontSize:c}=e;return{fontSize:c,lineHeight:"1.5",nodeHeight:"30px",nodeWrapperPadding:"3px 0",nodeBorderRadius:t,nodeColorHover:o,nodeColorPressed:r,nodeColorActive:Me(i,{alpha:.1}),arrowColor:a,nodeTextColor:s,nodeTextColorDisabled:l,loadingColor:i,dropMarkColor:i,lineColor:n}},TG={name:"Tree",common:Ne,peers:{Checkbox:ja,Scrollbar:Vn,Empty:ji},self(e){const{primaryColor:t}=e,n=PG(e);return n.nodeColorActive=Me(t,{alpha:.15}),n}},cS=TG,RG={name:"TreeSelect",common:Ne,peers:{Tree:cS,Empty:ji,InternalSelection:tm}},EG=RG,$G={headerFontSize1:"30px",headerFontSize2:"22px",headerFontSize3:"18px",headerFontSize4:"16px",headerFontSize5:"16px",headerFontSize6:"16px",headerMargin1:"28px 0 20px 0",headerMargin2:"28px 0 20px 0",headerMargin3:"28px 0 20px 0",headerMargin4:"28px 0 18px 0",headerMargin5:"28px 0 18px 0",headerMargin6:"28px 0 18px 0",headerPrefixWidth1:"16px",headerPrefixWidth2:"16px",headerPrefixWidth3:"12px",headerPrefixWidth4:"12px",headerPrefixWidth5:"12px",headerPrefixWidth6:"12px",headerBarWidth1:"4px",headerBarWidth2:"4px",headerBarWidth3:"3px",headerBarWidth4:"3px",headerBarWidth5:"3px",headerBarWidth6:"3px",pMargin:"16px 0 16px 0",liMargin:".25em 0 0 0",olPadding:"0 0 0 2em",ulPadding:"0 0 0 2em"},AG=e=>{const{primaryColor:t,textColor2:n,borderColor:o,lineHeight:r,fontSize:i,borderRadiusSmall:a,dividerColor:s,fontWeightStrong:l,textColor1:c,textColor3:u,infoColor:d,warningColor:f,errorColor:p,successColor:h,codeColor:m}=e;return Object.assign(Object.assign({},$G),{aTextColor:t,blockquoteTextColor:n,blockquotePrefixColor:o,blockquoteLineHeight:r,blockquoteFontSize:i,codeBorderRadius:a,liTextColor:n,liLineHeight:r,liFontSize:i,hrColor:s,headerFontWeight:l,headerTextColor:c,pTextColor:n,pTextColor1Depth:c,pTextColor2Depth:n,pTextColor3Depth:u,pLineHeight:r,pFontSize:i,headerBarColor:t,headerBarColorPrimary:t,headerBarColorInfo:d,headerBarColorError:p,headerBarColorWarning:f,headerBarColorSuccess:h,textColor:n,textColor1Depth:c,textColor2Depth:n,textColor3Depth:u,textColorPrimary:t,textColorInfo:d,textColorSuccess:h,textColorWarning:f,textColorError:p,codeTextColor:n,codeColor:m,codeBorder:"1px solid #0000"})},IG={name:"Typography",common:Ne,self:AG},OG=IG,MG=e=>{const{iconColor:t,primaryColor:n,errorColor:o,textColor2:r,successColor:i,opacityDisabled:a,actionColor:s,borderColor:l,hoverColor:c,lineHeight:u,borderRadius:d,fontSize:f}=e;return{fontSize:f,lineHeight:u,borderRadius:d,draggerColor:s,draggerBorder:`1px dashed ${l}`,draggerBorderHover:`1px dashed ${n}`,itemColorHover:c,itemColorHoverError:Me(o,{alpha:.06}),itemTextColor:r,itemTextColorError:o,itemTextColorSuccess:i,itemIconColor:t,itemDisabledOpacity:a,itemBorderImageCardError:`1px solid ${o}`,itemBorderImageCard:`1px solid ${l}`}},zG={name:"Upload",common:Ne,peers:{Button:Wn,Progress:iS},self(e){const{errorColor:t}=e,n=MG(e);return n.itemColorHoverError=Me(t,{alpha:.09}),n}},DG=zG,LG={name:"Watermark",common:Ne,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},FG=LG,BG={name:"Row",common:Ne},NG=BG,HG={name:"FloatButton",common:Ne,self(e){const{popoverColor:t,textColor2:n,buttonColor2Hover:o,buttonColor2Pressed:r,primaryColor:i,primaryColorHover:a,primaryColorPressed:s,baseColor:l,borderRadius:c}=e;return{color:t,textColor:n,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)",colorHover:o,colorPressed:r,colorPrimary:i,colorPrimaryHover:a,colorPrimaryPressed:s,textColorPrimary:l,borderRadiusSquare:c}}},jG=HG,VG=e=>{const{primaryColor:t,baseColor:n}=e;return{color:t,iconColor:n}},WG={name:"IconWrapper",common:Ne,self:VG},UG=WG,qG={name:"Image",common:Ne,peers:{Tooltip:Ou},self:e=>{const{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}};function KG(e){return e==null||typeof e=="string"&&e.trim()===""?null:Number(e)}function GG(e){return e.includes(".")&&(/^(-)?\d+.*(\.|0)$/.test(e)||/^\.\d+$/.test(e))}function Xd(e){return e==null?!0:!Number.isNaN(e)}function Y0(e,t){return e==null?"":t===void 0?String(e):e.toFixed(t)}function Zd(e){if(e===null)return null;if(typeof e=="number")return e;{const t=Number(e);return Number.isNaN(t)?null:t}}const YG=q([z("input-number-suffix",` + `),dl({enterDuration:"0.2s",leaveDuration:"0.2s",enterCubicBezier:"var(--n-bezier-in)",leaveCubicBezier:"var(--n-bezier-out)"})])]),lK=Object.assign(Object.assign({},Be.props),{show:Boolean,width:[Number,String],height:[Number,String],placement:{type:String,default:"right"},maskClosable:{type:Boolean,default:!0},showMask:{type:[Boolean,String],default:!0},to:[String,Object],displayDirective:{type:String,default:"if"},nativeScrollbar:{type:Boolean,default:!0},zIndex:Number,onMaskClick:Function,scrollbarProps:Object,contentClass:String,contentStyle:[Object,String],trapFocus:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0},maxWidth:Number,maxHeight:Number,minWidth:Number,minHeight:Number,resizable:Boolean,defaultWidth:{type:[Number,String],default:251},defaultHeight:{type:[Number,String],default:251},onUpdateWidth:[Function,Array],onUpdateHeight:[Function,Array],"onUpdate:width":[Function,Array],"onUpdate:height":[Function,Array],"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,drawerStyle:[String,Object],drawerClass:String,target:null,onShow:Function,onHide:Function}),_S=be({name:"Drawer",inheritAttrs:!1,props:lK,setup(e){const{mergedClsPrefixRef:t,namespaceRef:n,inlineThemeDisabled:o}=st(e),r=Qr(),i=Be("Drawer","-drawer",sK,Uq,e,t),a=W(e.defaultWidth),s=W(e.defaultHeight),l=an(We(e,"width"),a),c=an(We(e,"height"),s),u=F(()=>{const{placement:x}=e;return x==="top"||x==="bottom"?"":qt(l.value)}),d=F(()=>{const{placement:x}=e;return x==="left"||x==="right"?"":qt(c.value)}),f=x=>{const{onUpdateWidth:y,"onUpdate:width":P}=e;y&&$e(y,x),P&&$e(P,x),a.value=x},h=x=>{const{onUpdateHeight:y,"onUpdate:width":P}=e;y&&$e(y,x),P&&$e(P,x),s.value=x},p=F(()=>[{width:u.value,height:d.value},e.drawerStyle||""]);function g(x){const{onMaskClick:y,maskClosable:P}=e;P&&C(!1),y&&y(x)}function m(x){g(x)}const b=Kw();function _(x){var y;(y=e.onEsc)===null||y===void 0||y.call(e),e.show&&e.closeOnEsc&&Pw(x)&&(b.value||C(!1))}function C(x){const{onHide:y,onUpdateShow:P,"onUpdate:show":k}=e;P&&$e(P,x),k&&$e(k,x),y&&!x&&$e(y,x)}at(Up,{isMountedRef:r,mergedThemeRef:i,mergedClsPrefixRef:t,doUpdateShow:C,doUpdateHeight:h,doUpdateWidth:f});const S=F(()=>{const{common:{cubicBezierEaseInOut:x,cubicBezierEaseIn:y,cubicBezierEaseOut:P},self:{color:k,textColor:T,boxShadow:E,lineHeight:R,headerPadding:K,footerPadding:N,borderRadius:D,bodyPadding:M,titleFontSize:G,titleTextColor:J,titleFontWeight:he,headerBorderBottom:pe,footerBorderTop:B,closeIconColor:$,closeIconColorHover:A,closeIconColorPressed:Y,closeColorHover:ne,closeColorPressed:fe,closeIconSize:Q,closeSize:xe,closeBorderRadius:H,resizableTriggerColorHover:ye}}=i.value;return{"--n-line-height":R,"--n-color":k,"--n-border-radius":D,"--n-text-color":T,"--n-box-shadow":E,"--n-bezier":x,"--n-bezier-out":P,"--n-bezier-in":y,"--n-header-padding":K,"--n-body-padding":M,"--n-footer-padding":N,"--n-title-text-color":J,"--n-title-font-size":G,"--n-title-font-weight":he,"--n-header-border-bottom":pe,"--n-footer-border-top":B,"--n-close-icon-color":$,"--n-close-icon-color-hover":A,"--n-close-icon-color-pressed":Y,"--n-close-size":xe,"--n-close-color-hover":ne,"--n-close-color-pressed":fe,"--n-close-icon-size":Q,"--n-close-border-radius":H,"--n-resize-trigger-color-hover":ye}}),w=o?Pt("drawer",void 0,S,e):void 0;return{mergedClsPrefix:t,namespace:n,mergedBodyStyle:p,handleOutsideClick:m,handleMaskClick:g,handleEsc:_,mergedTheme:i,cssVars:o?void 0:S,themeClass:w==null?void 0:w.themeClass,onRender:w==null?void 0:w.onRender,isMounted:r}},render(){const{mergedClsPrefix:e}=this;return v(Ru,{to:this.to,show:this.show},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),dn(v("div",{class:[`${e}-drawer-container`,this.namespace,this.themeClass],style:this.cssVars,role:"none"},this.showMask?v(fn,{name:"fade-in-transition",appear:this.isMounted},{default:()=>this.show?v("div",{"aria-hidden":!0,class:[`${e}-drawer-mask`,this.showMask==="transparent"&&`${e}-drawer-mask--invisible`],onClick:this.handleMaskClick}):null}):null,v(Gq,Object.assign({},this.$attrs,{class:[this.drawerClass,this.$attrs.class],style:[this.mergedBodyStyle,this.$attrs.style],blockScroll:this.blockScroll,contentStyle:this.contentStyle,contentClass:this.contentClass,placement:this.placement,scrollbarProps:this.scrollbarProps,show:this.show,displayDirective:this.displayDirective,nativeScrollbar:this.nativeScrollbar,onAfterEnter:this.onAfterEnter,onAfterLeave:this.onAfterLeave,trapFocus:this.trapFocus,autoFocus:this.autoFocus,resizable:this.resizable,maxHeight:this.maxHeight,minHeight:this.minHeight,maxWidth:this.maxWidth,minWidth:this.minWidth,showMask:this.showMask,onEsc:this.handleEsc,onClickoutside:this.handleOutsideClick}),this.$slots)),[[Tu,{zIndex:this.zIndex,enabled:this.show}]])}})}}),cK={title:String,headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],bodyClass:String,bodyStyle:[Object,String],bodyContentClass:String,bodyContentStyle:[Object,String],nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,closable:Boolean},uK=be({name:"DrawerContent",props:cK,setup(){const e=Ue(Up,null);e||fr("drawer-content","`n-drawer-content` must be placed inside `n-drawer`.");const{doUpdateShow:t}=e;function n(){t(!1)}return{handleCloseClick:n,mergedTheme:e.mergedThemeRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{title:e,mergedClsPrefix:t,nativeScrollbar:n,mergedTheme:o,bodyClass:r,bodyStyle:i,bodyContentClass:a,bodyContentStyle:s,headerClass:l,headerStyle:c,footerClass:u,footerStyle:d,scrollbarProps:f,closable:h,$slots:p}=this;return v("div",{role:"none",class:[`${t}-drawer-content`,n&&`${t}-drawer-content--native-scrollbar`]},p.header||e||h?v("div",{class:[`${t}-drawer-header`,l],style:c,role:"none"},v("div",{class:`${t}-drawer-header__main`,role:"heading","aria-level":"1"},p.header!==void 0?p.header():e),h&&v(qi,{onClick:this.handleCloseClick,clsPrefix:t,class:`${t}-drawer-header__close`,absolute:!0})):null,n?v("div",{class:[`${t}-drawer-body`,r],style:i,role:"none"},v("div",{class:[`${t}-drawer-body-content-wrapper`,a],style:s,role:"none"},p)):v(Io,Object.assign({themeOverrides:o.peerOverrides.Scrollbar,theme:o.peers.Scrollbar},f,{class:`${t}-drawer-body`,contentClass:[`${t}-drawer-body-content-wrapper`,a],contentStyle:s}),p),p.footer?v("div",{class:[`${t}-drawer-footer`,u],style:d,role:"none"},p.footer()):null)}}),dK={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},fK={name:"DynamicInput",common:je,peers:{Input:mo,Button:Wn},self(){return dK}},hK=fK,SS={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},pK={name:"Space",self(){return SS}},kS=pK;function mK(){return SS}const gK={name:"Space",self:mK},vK=gK;let sf;function bK(){if(!hr)return!0;if(sf===void 0){const e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e);const t=e.scrollHeight===1;return document.body.removeChild(e),sf=t}return sf}const yK=Object.assign(Object.assign({},Be.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrapItem:{type:Boolean,default:!0},itemClass:String,itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),Zi=be({name:"Space",props:yK,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=st(e),o=Be("Space","-space",void 0,vK,e,t),r=pn("Space",n,t);return{useGap:bK(),rtlEnabled:r,mergedClsPrefix:t,margin:F(()=>{const{size:i}=e;if(Array.isArray(i))return{horizontal:i[0],vertical:i[1]};if(typeof i=="number")return{horizontal:i,vertical:i};const{self:{[Re("gap",i)]:a}}=o.value,{row:s,col:l}=B6(a);return{horizontal:bn(l),vertical:bn(s)}})}},render(){const{vertical:e,reverse:t,align:n,inline:o,justify:r,itemClass:i,itemStyle:a,margin:s,wrap:l,mergedClsPrefix:c,rtlEnabled:u,useGap:d,wrapItem:f,internalUseGap:h}=this,p=Ra(mw(this),!1);if(!p.length)return null;const g=`${s.horizontal}px`,m=`${s.horizontal/2}px`,b=`${s.vertical}px`,_=`${s.vertical/2}px`,C=p.length-1,S=r.startsWith("space-");return v("div",{role:"none",class:[`${c}-space`,u&&`${c}-space--rtl`],style:{display:o?"inline-flex":"flex",flexDirection:(()=>e&&!t?"column":e&&t?"column-reverse":!e&&t?"row-reverse":"row")(),justifyContent:["start","end"].includes(r)?`flex-${r}`:r,flexWrap:!l||e?"nowrap":"wrap",marginTop:d||e?"":`-${_}`,marginBottom:d||e?"":`-${_}`,alignItems:n,gap:d?`${s.vertical}px ${s.horizontal}px`:""}},!f&&(d||h)?p:p.map((w,x)=>w.type===_n?w:v("div",{role:"none",class:i,style:[a,{maxWidth:"100%"},d?"":e?{marginBottom:x!==C?b:""}:u?{marginLeft:S?r==="space-between"&&x===C?"":m:x!==C?g:"",marginRight:S?r==="space-between"&&x===0?"":m:"",paddingTop:_,paddingBottom:_}:{marginRight:S?r==="space-between"&&x===C?"":m:x!==C?g:"",marginLeft:S?r==="space-between"&&x===0?"":m:"",paddingTop:_,paddingBottom:_}]},w)))}}),xK={name:"DynamicTags",common:je,peers:{Input:mo,Button:Wn,Tag:r2,Space:kS},self(){return{inputWidth:"64px"}}},CK=xK,wK={name:"Element",common:je},_K=wK,SK={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},kK={name:"Flex",self(){return SK}},PK=kK,TK={feedbackPadding:"4px 0 0 2px",feedbackHeightSmall:"24px",feedbackHeightMedium:"24px",feedbackHeightLarge:"26px",feedbackFontSizeSmall:"13px",feedbackFontSizeMedium:"14px",feedbackFontSizeLarge:"14px",labelFontSizeLeftSmall:"14px",labelFontSizeLeftMedium:"14px",labelFontSizeLeftLarge:"15px",labelFontSizeTopSmall:"13px",labelFontSizeTopMedium:"14px",labelFontSizeTopLarge:"14px",labelHeightSmall:"24px",labelHeightMedium:"26px",labelHeightLarge:"28px",labelPaddingVertical:"0 0 6px 2px",labelPaddingHorizontal:"0 12px 0 0",labelTextAlignVertical:"left",labelTextAlignHorizontal:"right",labelFontWeight:"400"};function RK(e){const{heightSmall:t,heightMedium:n,heightLarge:o,textColor1:r,errorColor:i,warningColor:a,lineHeight:s,textColor3:l}=e;return Object.assign(Object.assign({},TK),{blankHeightSmall:t,blankHeightMedium:n,blankHeightLarge:o,lineHeight:s,labelTextColor:r,asteriskColor:i,feedbackTextColorError:i,feedbackTextColorWarning:a,feedbackTextColor:l})}const EK={name:"Form",common:je,self:RK},$K=EK,AK={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"};function PS(e){const{textColor2:t,successColor:n,infoColor:o,warningColor:r,errorColor:i,popoverColor:a,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:c,closeColorHover:u,closeColorPressed:d,textColor1:f,textColor3:h,borderRadius:p,fontWeightStrong:g,boxShadow2:m,lineHeight:b,fontSize:_}=e;return Object.assign(Object.assign({},AK),{borderRadius:p,lineHeight:b,fontSize:_,headerFontWeight:g,iconColor:t,iconColorSuccess:n,iconColorInfo:o,iconColorWarning:r,iconColorError:i,color:a,textColor:t,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:c,closeBorderRadius:p,closeColorHover:u,closeColorPressed:d,headerTextColor:f,descriptionTextColor:h,actionTextColor:t,boxShadow:m})}const IK={name:"Notification",common:xt,peers:{Scrollbar:Gi},self:PS},OK=IK,MK={name:"Notification",common:je,peers:{Scrollbar:Vn},self:PS},zK=MK,DK={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 10px",closeSize:"20px",closeIconSize:"16px",iconSize:"20px",fontSize:"14px"};function TS(e){const{textColor2:t,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:r,infoColor:i,successColor:a,errorColor:s,warningColor:l,popoverColor:c,boxShadow2:u,primaryColor:d,lineHeight:f,borderRadius:h,closeColorHover:p,closeColorPressed:g}=e;return Object.assign(Object.assign({},DK),{closeBorderRadius:h,textColor:t,textColorInfo:t,textColorSuccess:t,textColorError:t,textColorWarning:t,textColorLoading:t,color:c,colorInfo:c,colorSuccess:c,colorError:c,colorWarning:c,colorLoading:c,boxShadow:u,boxShadowInfo:u,boxShadowSuccess:u,boxShadowError:u,boxShadowWarning:u,boxShadowLoading:u,iconColor:t,iconColorInfo:i,iconColorSuccess:a,iconColorWarning:l,iconColorError:s,iconColorLoading:d,closeColorHover:p,closeColorPressed:g,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:r,closeColorHoverInfo:p,closeColorPressedInfo:g,closeIconColorInfo:n,closeIconColorHoverInfo:o,closeIconColorPressedInfo:r,closeColorHoverSuccess:p,closeColorPressedSuccess:g,closeIconColorSuccess:n,closeIconColorHoverSuccess:o,closeIconColorPressedSuccess:r,closeColorHoverError:p,closeColorPressedError:g,closeIconColorError:n,closeIconColorHoverError:o,closeIconColorPressedError:r,closeColorHoverWarning:p,closeColorPressedWarning:g,closeIconColorWarning:n,closeIconColorHoverWarning:o,closeIconColorPressedWarning:r,closeColorHoverLoading:p,closeColorPressedLoading:g,closeIconColorLoading:n,closeIconColorHoverLoading:o,closeIconColorPressedLoading:r,loadingColor:d,lineHeight:f,borderRadius:h})}const LK={name:"Message",common:xt,self:TS},FK=LK,BK={name:"Message",common:je,self:TS},NK=BK,HK={name:"ButtonGroup",common:je},jK=HK,VK={name:"GradientText",common:je,self(e){const{primaryColor:t,successColor:n,warningColor:o,errorColor:r,infoColor:i,primaryColorSuppl:a,successColorSuppl:s,warningColorSuppl:l,errorColorSuppl:c,infoColorSuppl:u,fontWeightStrong:d}=e;return{fontWeight:d,rotate:"252deg",colorStartPrimary:t,colorEndPrimary:a,colorStartInfo:i,colorEndInfo:u,colorStartWarning:o,colorEndWarning:l,colorStartError:r,colorEndError:c,colorStartSuccess:n,colorEndSuccess:s}}},WK=VK,UK={name:"InputNumber",common:je,peers:{Button:Wn,Input:mo},self(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}},qK=UK;function KK(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}const GK={name:"InputNumber",common:xt,peers:{Button:zu,Input:vm},self:KK},YK=GK,XK={name:"Layout",common:je,peers:{Scrollbar:Vn},self(e){const{textColor2:t,bodyColor:n,popoverColor:o,cardColor:r,dividerColor:i,scrollbarColor:a,scrollbarColorHover:s}=e;return{textColor:t,textColorInverted:t,color:n,colorEmbedded:n,headerColor:r,headerColorInverted:r,footerColor:r,footerColorInverted:r,headerBorderColor:i,headerBorderColorInverted:i,footerBorderColor:i,footerBorderColorInverted:i,siderBorderColor:i,siderBorderColorInverted:i,siderColor:r,siderColorInverted:r,siderToggleButtonBorder:"1px solid transparent",siderToggleButtonColor:o,siderToggleButtonIconColor:t,siderToggleButtonIconColorInverted:t,siderToggleBarColor:Ge(n,a),siderToggleBarColorHover:Ge(n,s),__invertScrollbar:"false"}}},ZK=XK;function JK(e){const{baseColor:t,textColor2:n,bodyColor:o,cardColor:r,dividerColor:i,actionColor:a,scrollbarColor:s,scrollbarColorHover:l,invertedColor:c}=e;return{textColor:n,textColorInverted:"#FFF",color:o,colorEmbedded:a,headerColor:r,headerColorInverted:c,footerColor:a,footerColorInverted:c,headerBorderColor:i,headerBorderColorInverted:c,footerBorderColor:i,footerBorderColorInverted:c,siderBorderColor:i,siderBorderColorInverted:c,siderColor:r,siderColorInverted:c,siderToggleButtonBorder:`1px solid ${i}`,siderToggleButtonColor:t,siderToggleButtonIconColor:n,siderToggleButtonIconColorInverted:n,siderToggleBarColor:Ge(o,s),siderToggleBarColorHover:Ge(o,l),__invertScrollbar:"true"}}const QK={name:"Layout",common:xt,peers:{Scrollbar:Gi},self:JK},RS=QK;function ES(e){const{textColor2:t,cardColor:n,modalColor:o,popoverColor:r,dividerColor:i,borderRadius:a,fontSize:s,hoverColor:l}=e;return{textColor:t,color:n,colorHover:l,colorModal:o,colorHoverModal:Ge(o,l),colorPopover:r,colorHoverPopover:Ge(r,l),borderColor:i,borderColorModal:Ge(o,i),borderColorPopover:Ge(r,i),borderRadius:a,fontSize:s}}const eG={name:"List",common:xt,self:ES},tG=eG,nG={name:"List",common:je,self:ES},oG=nG,rG={name:"LoadingBar",common:je,self(e){const{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}},iG=rG;function aG(e){const{primaryColor:t,errorColor:n}=e;return{colorError:n,colorLoading:t,height:"2px"}}const sG={name:"LoadingBar",common:xt,self:aG},lG=sG,cG={name:"Log",common:je,peers:{Scrollbar:Vn,Code:R2},self(e){const{textColor2:t,inputColor:n,fontSize:o,primaryColor:r}=e;return{loaderFontSize:o,loaderTextColor:t,loaderColor:n,loaderBorder:"1px solid #0000",loadingColor:r}}},uG=cG,dG={name:"Mention",common:je,peers:{InternalSelectMenu:fl,Input:mo},self(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}},fG=dG;function hG(e,t,n,o){return{itemColorHoverInverted:"#0000",itemColorActiveInverted:t,itemColorActiveHoverInverted:t,itemColorActiveCollapsedInverted:t,itemTextColorInverted:e,itemTextColorHoverInverted:n,itemTextColorChildActiveInverted:n,itemTextColorChildActiveHoverInverted:n,itemTextColorActiveInverted:n,itemTextColorActiveHoverInverted:n,itemTextColorHorizontalInverted:e,itemTextColorHoverHorizontalInverted:n,itemTextColorChildActiveHorizontalInverted:n,itemTextColorChildActiveHoverHorizontalInverted:n,itemTextColorActiveHorizontalInverted:n,itemTextColorActiveHoverHorizontalInverted:n,itemIconColorInverted:e,itemIconColorHoverInverted:n,itemIconColorActiveInverted:n,itemIconColorActiveHoverInverted:n,itemIconColorChildActiveInverted:n,itemIconColorChildActiveHoverInverted:n,itemIconColorCollapsedInverted:e,itemIconColorHorizontalInverted:e,itemIconColorHoverHorizontalInverted:n,itemIconColorActiveHorizontalInverted:n,itemIconColorActiveHoverHorizontalInverted:n,itemIconColorChildActiveHorizontalInverted:n,itemIconColorChildActiveHoverHorizontalInverted:n,arrowColorInverted:e,arrowColorHoverInverted:n,arrowColorActiveInverted:n,arrowColorActiveHoverInverted:n,arrowColorChildActiveInverted:n,arrowColorChildActiveHoverInverted:n,groupTextColorInverted:o}}function $S(e){const{borderRadius:t,textColor3:n,primaryColor:o,textColor2:r,textColor1:i,fontSize:a,dividerColor:s,hoverColor:l,primaryColorHover:c}=e;return Object.assign({borderRadius:t,color:"#0000",groupTextColor:n,itemColorHover:l,itemColorActive:Me(o,{alpha:.1}),itemColorActiveHover:Me(o,{alpha:.1}),itemColorActiveCollapsed:Me(o,{alpha:.1}),itemTextColor:r,itemTextColorHover:r,itemTextColorActive:o,itemTextColorActiveHover:o,itemTextColorChildActive:o,itemTextColorChildActiveHover:o,itemTextColorHorizontal:r,itemTextColorHoverHorizontal:c,itemTextColorActiveHorizontal:o,itemTextColorActiveHoverHorizontal:o,itemTextColorChildActiveHorizontal:o,itemTextColorChildActiveHoverHorizontal:o,itemIconColor:i,itemIconColorHover:i,itemIconColorActive:o,itemIconColorActiveHover:o,itemIconColorChildActive:o,itemIconColorChildActiveHover:o,itemIconColorCollapsed:i,itemIconColorHorizontal:i,itemIconColorHoverHorizontal:c,itemIconColorActiveHorizontal:o,itemIconColorActiveHoverHorizontal:o,itemIconColorChildActiveHorizontal:o,itemIconColorChildActiveHoverHorizontal:o,itemHeight:"42px",arrowColor:r,arrowColorHover:r,arrowColorActive:o,arrowColorActiveHover:o,arrowColorChildActive:o,arrowColorChildActiveHover:o,colorInverted:"#0000",borderColorHorizontal:"#0000",fontSize:a,dividerColor:s},hG("#BBB",o,"#FFF","#AAA"))}const pG={name:"Menu",common:xt,peers:{Tooltip:Sm,Dropdown:Pm},self:$S},mG=pG,gG={name:"Menu",common:je,peers:{Tooltip:Lu,Dropdown:Tm},self(e){const{primaryColor:t,primaryColorSuppl:n}=e,o=$S(e);return o.itemColorActive=Me(t,{alpha:.15}),o.itemColorActiveHover=Me(t,{alpha:.15}),o.itemColorActiveCollapsed=Me(t,{alpha:.15}),o.itemColorActiveInverted=n,o.itemColorActiveHoverInverted=n,o.itemColorActiveCollapsedInverted=n,o}},vG=gG,bG={titleFontSize:"18px",backSize:"22px"};function yG(e){const{textColor1:t,textColor2:n,textColor3:o,fontSize:r,fontWeightStrong:i,primaryColorHover:a,primaryColorPressed:s}=e;return Object.assign(Object.assign({},bG),{titleFontWeight:i,fontSize:r,titleTextColor:t,backColor:n,backColorHover:a,backColorPressed:s,subtitleTextColor:o})}const xG={name:"PageHeader",common:je,self:yG},CG={iconSize:"22px"};function wG(e){const{fontSize:t,warningColor:n}=e;return Object.assign(Object.assign({},CG),{fontSize:t,iconColor:n})}const _G={name:"Popconfirm",common:je,peers:{Button:Wn,Popover:Yi},self:wG},SG=_G;function AS(e){const{infoColor:t,successColor:n,warningColor:o,errorColor:r,textColor2:i,progressRailColor:a,fontSize:s,fontWeight:l}=e;return{fontSize:s,fontSizeCircle:"28px",fontWeightCircle:l,railColor:a,railHeight:"8px",iconSizeCircle:"36px",iconSizeLine:"18px",iconColor:t,iconColorInfo:t,iconColorSuccess:n,iconColorWarning:o,iconColorError:r,textColorCircle:i,textColorLineInner:"rgb(255, 255, 255)",textColorLineOuter:i,fillColor:t,fillColorInfo:t,fillColorSuccess:n,fillColorWarning:o,fillColorError:r,lineBgProcessing:"linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)"}}const kG={name:"Progress",common:xt,self:AS},PG=kG,TG={name:"Progress",common:je,self(e){const t=AS(e);return t.textColorLineInner="rgb(0, 0, 0)",t.lineBgProcessing="linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)",t}},IS=TG,RG={name:"Rate",common:je,self(e){const{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},EG=RG,$G={titleFontSizeSmall:"26px",titleFontSizeMedium:"32px",titleFontSizeLarge:"40px",titleFontSizeHuge:"48px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",iconSizeSmall:"64px",iconSizeMedium:"80px",iconSizeLarge:"100px",iconSizeHuge:"125px",iconColor418:void 0,iconColor404:void 0,iconColor403:void 0,iconColor500:void 0};function OS(e){const{textColor2:t,textColor1:n,errorColor:o,successColor:r,infoColor:i,warningColor:a,lineHeight:s,fontWeightStrong:l}=e;return Object.assign(Object.assign({},$G),{lineHeight:s,titleFontWeight:l,titleTextColor:n,textColor:t,iconColorError:o,iconColorSuccess:r,iconColorInfo:i,iconColorWarning:a})}const AG={name:"Result",common:xt,self:OS},IG=AG,OG={name:"Result",common:je,self:OS},MG=OG,zG={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},DG={name:"Slider",common:je,self(e){const t="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:n,modalColor:o,primaryColorSuppl:r,popoverColor:i,textColor2:a,cardColor:s,borderRadius:l,fontSize:c,opacityDisabled:u}=e;return Object.assign(Object.assign({},zG),{fontSize:c,markFontSize:c,railColor:n,railColorHover:n,fillColor:r,fillColorHover:r,opacityDisabled:u,handleColor:"#FFF",dotColor:s,dotColorModal:o,dotColorPopover:i,handleBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowHover:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowActive:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowFocus:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",indicatorColor:i,indicatorBoxShadow:t,indicatorTextColor:a,indicatorBorderRadius:l,dotBorder:`2px solid ${n}`,dotBorderActive:`2px solid ${r}`,dotBoxShadow:""})}},LG=DG;function MS(e){const{opacityDisabled:t,heightTiny:n,heightSmall:o,heightMedium:r,heightLarge:i,heightHuge:a,primaryColor:s,fontSize:l}=e;return{fontSize:l,textColor:s,sizeTiny:n,sizeSmall:o,sizeMedium:r,sizeLarge:i,sizeHuge:a,color:s,opacitySpinning:t}}const FG={name:"Spin",common:xt,self:MS},BG=FG,NG={name:"Spin",common:je,self:MS},HG=NG;function jG(e){const{textColor2:t,textColor3:n,fontSize:o,fontWeight:r}=e;return{labelFontSize:o,labelFontWeight:r,valueFontWeight:r,valueFontSize:"24px",labelTextColor:n,valuePrefixTextColor:t,valueSuffixTextColor:t,valueTextColor:t}}const VG={name:"Statistic",common:je,self:jG},WG=VG,UG={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"};function qG(e){const{fontWeightStrong:t,baseColor:n,textColorDisabled:o,primaryColor:r,errorColor:i,textColor1:a,textColor2:s}=e;return Object.assign(Object.assign({},UG),{stepHeaderFontWeight:t,indicatorTextColorProcess:n,indicatorTextColorWait:o,indicatorTextColorFinish:r,indicatorTextColorError:i,indicatorBorderColorProcess:r,indicatorBorderColorWait:o,indicatorBorderColorFinish:r,indicatorBorderColorError:i,indicatorColorProcess:r,indicatorColorWait:"#0000",indicatorColorFinish:"#0000",indicatorColorError:"#0000",splitorColorProcess:o,splitorColorWait:o,splitorColorFinish:r,splitorColorError:o,headerTextColorProcess:a,headerTextColorWait:o,headerTextColorFinish:o,headerTextColorError:i,descriptionTextColorProcess:s,descriptionTextColorWait:o,descriptionTextColorFinish:o,descriptionTextColorError:i})}const KG={name:"Steps",common:je,self:qG},GG=KG,zS={buttonHeightSmall:"14px",buttonHeightMedium:"18px",buttonHeightLarge:"22px",buttonWidthSmall:"14px",buttonWidthMedium:"18px",buttonWidthLarge:"22px",buttonWidthPressedSmall:"20px",buttonWidthPressedMedium:"24px",buttonWidthPressedLarge:"28px",railHeightSmall:"18px",railHeightMedium:"22px",railHeightLarge:"26px",railWidthSmall:"32px",railWidthMedium:"40px",railWidthLarge:"48px"},YG={name:"Switch",common:je,self(e){const{primaryColorSuppl:t,opacityDisabled:n,borderRadius:o,primaryColor:r,textColor2:i,baseColor:a}=e,s="rgba(255, 255, 255, .20)";return Object.assign(Object.assign({},zS),{iconColor:a,textColor:i,loadingColor:t,opacityDisabled:n,railColor:s,railColorActive:t,buttonBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 8px 0 ${Me(r,{alpha:.3})}`})}},XG=YG;function ZG(e){const{primaryColor:t,opacityDisabled:n,borderRadius:o,textColor3:r}=e,i="rgba(0, 0, 0, .14)";return Object.assign(Object.assign({},zS),{iconColor:r,textColor:"white",loadingColor:t,opacityDisabled:n,railColor:i,railColorActive:t,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 0 2px ${Me(t,{alpha:.2})}`})}const JG={name:"Switch",common:xt,self:ZG},QG=JG,eY={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"};function tY(e){const{dividerColor:t,cardColor:n,modalColor:o,popoverColor:r,tableHeaderColor:i,tableColorStriped:a,textColor1:s,textColor2:l,borderRadius:c,fontWeightStrong:u,lineHeight:d,fontSizeSmall:f,fontSizeMedium:h,fontSizeLarge:p}=e;return Object.assign(Object.assign({},eY),{fontSizeSmall:f,fontSizeMedium:h,fontSizeLarge:p,lineHeight:d,borderRadius:c,borderColor:Ge(n,t),borderColorModal:Ge(o,t),borderColorPopover:Ge(r,t),tdColor:n,tdColorModal:o,tdColorPopover:r,tdColorStriped:Ge(n,a),tdColorStripedModal:Ge(o,a),tdColorStripedPopover:Ge(r,a),thColor:Ge(n,i),thColorModal:Ge(o,i),thColorPopover:Ge(r,i),thTextColor:s,tdTextColor:l,thFontWeight:u})}const nY={name:"Table",common:je,self:tY},oY=nY,rY={tabFontSizeSmall:"14px",tabFontSizeMedium:"14px",tabFontSizeLarge:"16px",tabGapSmallLine:"36px",tabGapMediumLine:"36px",tabGapLargeLine:"36px",tabGapSmallLineVertical:"8px",tabGapMediumLineVertical:"8px",tabGapLargeLineVertical:"8px",tabPaddingSmallLine:"6px 0",tabPaddingMediumLine:"10px 0",tabPaddingLargeLine:"14px 0",tabPaddingVerticalSmallLine:"6px 12px",tabPaddingVerticalMediumLine:"8px 16px",tabPaddingVerticalLargeLine:"10px 20px",tabGapSmallBar:"36px",tabGapMediumBar:"36px",tabGapLargeBar:"36px",tabGapSmallBarVertical:"8px",tabGapMediumBarVertical:"8px",tabGapLargeBarVertical:"8px",tabPaddingSmallBar:"4px 0",tabPaddingMediumBar:"6px 0",tabPaddingLargeBar:"10px 0",tabPaddingVerticalSmallBar:"6px 12px",tabPaddingVerticalMediumBar:"8px 16px",tabPaddingVerticalLargeBar:"10px 20px",tabGapSmallCard:"4px",tabGapMediumCard:"4px",tabGapLargeCard:"4px",tabGapSmallCardVertical:"4px",tabGapMediumCardVertical:"4px",tabGapLargeCardVertical:"4px",tabPaddingSmallCard:"8px 16px",tabPaddingMediumCard:"10px 20px",tabPaddingLargeCard:"12px 24px",tabPaddingSmallSegment:"4px 0",tabPaddingMediumSegment:"6px 0",tabPaddingLargeSegment:"8px 0",tabPaddingVerticalLargeSegment:"0 8px",tabPaddingVerticalSmallCard:"8px 12px",tabPaddingVerticalMediumCard:"10px 16px",tabPaddingVerticalLargeCard:"12px 20px",tabPaddingVerticalSmallSegment:"0 4px",tabPaddingVerticalMediumSegment:"0 6px",tabGapSmallSegment:"0",tabGapMediumSegment:"0",tabGapLargeSegment:"0",tabGapSmallSegmentVertical:"0",tabGapMediumSegmentVertical:"0",tabGapLargeSegmentVertical:"0",panePaddingSmall:"8px 0 0 0",panePaddingMedium:"12px 0 0 0",panePaddingLarge:"16px 0 0 0",closeSize:"18px",closeIconSize:"14px"};function iY(e){const{textColor2:t,primaryColor:n,textColorDisabled:o,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,tabColor:c,baseColor:u,dividerColor:d,fontWeight:f,textColor1:h,borderRadius:p,fontSize:g,fontWeightStrong:m}=e;return Object.assign(Object.assign({},rY),{colorSegment:c,tabFontSizeCard:g,tabTextColorLine:h,tabTextColorActiveLine:n,tabTextColorHoverLine:n,tabTextColorDisabledLine:o,tabTextColorSegment:h,tabTextColorActiveSegment:t,tabTextColorHoverSegment:t,tabTextColorDisabledSegment:o,tabTextColorBar:h,tabTextColorActiveBar:n,tabTextColorHoverBar:n,tabTextColorDisabledBar:o,tabTextColorCard:h,tabTextColorHoverCard:h,tabTextColorActiveCard:n,tabTextColorDisabledCard:o,barColor:n,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,closeBorderRadius:p,tabColor:c,tabColorSegment:u,tabBorderColor:d,tabFontWeightActive:f,tabFontWeight:f,tabBorderRadius:p,paneTextColor:t,fontWeightStrong:m})}const aY={name:"Tabs",common:je,self(e){const t=iY(e),{inputColor:n}=e;return t.colorSegment=n,t.tabColorSegment=n,t}},sY=aY;function lY(e){const{textColor1:t,textColor2:n,fontWeightStrong:o,fontSize:r}=e;return{fontSize:r,titleTextColor:t,textColor:n,titleFontWeight:o}}const cY={name:"Thing",common:je,self:lY},uY=cY,dY={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},fY={name:"Timeline",common:je,self(e){const{textColor3:t,infoColorSuppl:n,errorColorSuppl:o,successColorSuppl:r,warningColorSuppl:i,textColor1:a,textColor2:s,railColor:l,fontWeightStrong:c,fontSize:u}=e;return Object.assign(Object.assign({},dY),{contentFontSize:u,titleFontWeight:c,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${n}`,circleBorderError:`2px solid ${o}`,circleBorderSuccess:`2px solid ${r}`,circleBorderWarning:`2px solid ${i}`,iconColor:t,iconColorInfo:n,iconColorError:o,iconColorSuccess:r,iconColorWarning:i,titleTextColor:a,contentTextColor:s,metaTextColor:t,lineColor:l})}},hY=fY,pY={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"},mY={name:"Transfer",common:je,peers:{Checkbox:Ga,Scrollbar:Vn,Input:mo,Empty:Ki,Button:Wn},self(e){const{fontWeight:t,fontSizeLarge:n,fontSizeMedium:o,fontSizeSmall:r,heightLarge:i,heightMedium:a,borderRadius:s,inputColor:l,tableHeaderColor:c,textColor1:u,textColorDisabled:d,textColor2:f,textColor3:h,hoverColor:p,closeColorHover:g,closeColorPressed:m,closeIconColor:b,closeIconColorHover:_,closeIconColorPressed:C,dividerColor:S}=e;return Object.assign(Object.assign({},pY),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:i,fontSizeSmall:r,fontSizeMedium:o,fontSizeLarge:n,borderRadius:s,dividerColor:S,borderColor:"#0000",listColor:l,headerColor:c,titleTextColor:u,titleTextColorDisabled:d,extraTextColor:h,extraTextColorDisabled:d,itemTextColor:f,itemTextColorDisabled:d,itemColorPending:p,titleFontWeight:t,closeColorHover:g,closeColorPressed:m,closeIconColor:b,closeIconColorHover:_,closeIconColorPressed:C})}},gY=mY;function vY(e){const{borderRadiusSmall:t,dividerColor:n,hoverColor:o,pressedColor:r,primaryColor:i,textColor3:a,textColor2:s,textColorDisabled:l,fontSize:c}=e;return{fontSize:c,lineHeight:"1.5",nodeHeight:"30px",nodeWrapperPadding:"3px 0",nodeBorderRadius:t,nodeColorHover:o,nodeColorPressed:r,nodeColorActive:Me(i,{alpha:.1}),arrowColor:a,nodeTextColor:s,nodeTextColorDisabled:l,loadingColor:i,dropMarkColor:i,lineColor:n}}const bY={name:"Tree",common:je,peers:{Checkbox:Ga,Scrollbar:Vn,Empty:Ki},self(e){const{primaryColor:t}=e,n=vY(e);return n.nodeColorActive=Me(t,{alpha:.15}),n}},DS=bY,yY={name:"TreeSelect",common:je,peers:{Tree:DS,Empty:Ki,InternalSelection:mm}},xY=yY,CY={headerFontSize1:"30px",headerFontSize2:"22px",headerFontSize3:"18px",headerFontSize4:"16px",headerFontSize5:"16px",headerFontSize6:"16px",headerMargin1:"28px 0 20px 0",headerMargin2:"28px 0 20px 0",headerMargin3:"28px 0 20px 0",headerMargin4:"28px 0 18px 0",headerMargin5:"28px 0 18px 0",headerMargin6:"28px 0 18px 0",headerPrefixWidth1:"16px",headerPrefixWidth2:"16px",headerPrefixWidth3:"12px",headerPrefixWidth4:"12px",headerPrefixWidth5:"12px",headerPrefixWidth6:"12px",headerBarWidth1:"4px",headerBarWidth2:"4px",headerBarWidth3:"3px",headerBarWidth4:"3px",headerBarWidth5:"3px",headerBarWidth6:"3px",pMargin:"16px 0 16px 0",liMargin:".25em 0 0 0",olPadding:"0 0 0 2em",ulPadding:"0 0 0 2em"};function wY(e){const{primaryColor:t,textColor2:n,borderColor:o,lineHeight:r,fontSize:i,borderRadiusSmall:a,dividerColor:s,fontWeightStrong:l,textColor1:c,textColor3:u,infoColor:d,warningColor:f,errorColor:h,successColor:p,codeColor:g}=e;return Object.assign(Object.assign({},CY),{aTextColor:t,blockquoteTextColor:n,blockquotePrefixColor:o,blockquoteLineHeight:r,blockquoteFontSize:i,codeBorderRadius:a,liTextColor:n,liLineHeight:r,liFontSize:i,hrColor:s,headerFontWeight:l,headerTextColor:c,pTextColor:n,pTextColor1Depth:c,pTextColor2Depth:n,pTextColor3Depth:u,pLineHeight:r,pFontSize:i,headerBarColor:t,headerBarColorPrimary:t,headerBarColorInfo:d,headerBarColorError:h,headerBarColorWarning:f,headerBarColorSuccess:p,textColor:n,textColor1Depth:c,textColor2Depth:n,textColor3Depth:u,textColorPrimary:t,textColorInfo:d,textColorSuccess:p,textColorWarning:f,textColorError:h,codeTextColor:n,codeColor:g,codeBorder:"1px solid #0000"})}const _Y={name:"Typography",common:je,self:wY},SY=_Y;function kY(e){const{iconColor:t,primaryColor:n,errorColor:o,textColor2:r,successColor:i,opacityDisabled:a,actionColor:s,borderColor:l,hoverColor:c,lineHeight:u,borderRadius:d,fontSize:f}=e;return{fontSize:f,lineHeight:u,borderRadius:d,draggerColor:s,draggerBorder:`1px dashed ${l}`,draggerBorderHover:`1px dashed ${n}`,itemColorHover:c,itemColorHoverError:Me(o,{alpha:.06}),itemTextColor:r,itemTextColorError:o,itemTextColorSuccess:i,itemIconColor:t,itemDisabledOpacity:a,itemBorderImageCardError:`1px solid ${o}`,itemBorderImageCard:`1px solid ${l}`}}const PY={name:"Upload",common:je,peers:{Button:Wn,Progress:IS},self(e){const{errorColor:t}=e,n=kY(e);return n.itemColorHoverError=Me(t,{alpha:.09}),n}},TY=PY,RY={name:"Watermark",common:je,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},EY=RY,$Y={name:"Row",common:je},AY=$Y,IY={name:"FloatButton",common:je,self(e){const{popoverColor:t,textColor2:n,buttonColor2Hover:o,buttonColor2Pressed:r,primaryColor:i,primaryColorHover:a,primaryColorPressed:s,baseColor:l,borderRadius:c}=e;return{color:t,textColor:n,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)",colorHover:o,colorPressed:r,colorPrimary:i,colorPrimaryHover:a,colorPrimaryPressed:s,textColorPrimary:l,borderRadiusSquare:c}}},OY=IY;function MY(e){const{primaryColor:t,baseColor:n}=e;return{color:t,iconColor:n}}const zY={name:"IconWrapper",common:je,self:MY},DY=zY,LY={name:"Image",common:je,peers:{Tooltip:Lu},self:e=>{const{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}};function FY(e){return e==null||typeof e=="string"&&e.trim()===""?null:Number(e)}function BY(e){return e.includes(".")&&(/^(-)?\d+.*(\.|0)$/.test(e)||/^\.\d+$/.test(e))}function lf(e){return e==null?!0:!Number.isNaN(e)}function f1(e,t){return typeof e!="number"?"":t===void 0?String(e):e.toFixed(t)}function cf(e){if(e===null)return null;if(typeof e=="number")return e;{const t=Number(e);return Number.isNaN(t)?null:t}}const NY=q([z("input-number-suffix",` display: inline-block; margin-right: 10px; `),z("input-number-prefix",` display: inline-block; margin-left: 10px; - `)]),X0=800,Z0=100,XG=Object.assign(Object.assign({},Be.props),{autofocus:Boolean,loading:{type:Boolean,default:void 0},placeholder:String,defaultValue:{type:Number,default:null},value:Number,step:{type:[Number,String],default:1},min:[Number,String],max:[Number,String],size:String,disabled:{type:Boolean,default:void 0},validator:Function,bordered:{type:Boolean,default:void 0},showButton:{type:Boolean,default:!0},buttonPlacement:{type:String,default:"right"},inputProps:Object,readonly:Boolean,clearable:Boolean,keyboard:{type:Object,default:{}},updateValueOnInput:{type:Boolean,default:!0},parse:Function,format:Function,precision:Number,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onChange:[Function,Array]}),ZG=ve({name:"InputNumber",props:XG,setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:n,mergedRtlRef:o}=st(e),r=Be("InputNumber","-input-number",YG,rK,e,n),{localeRef:i}=Di("InputNumber"),a=fr(e),{mergedSizeRef:s,mergedDisabledRef:l,mergedStatusRef:c}=a,u=W(null),d=W(null),f=W(null),p=W(e.defaultValue),h=Ve(e,"value"),m=sn(h,p),v=W(""),b=ee=>{const ye=String(ee).split(".")[1];return ye?ye.length:0},w=ee=>{const ye=[e.min,e.max,e.step,ee].map(Pe=>Pe===void 0?0:b(Pe));return Math.max(...ye)},C=St(()=>{const{placeholder:ee}=e;return ee!==void 0?ee:i.value.placeholder}),S=St(()=>{const ee=Zd(e.step);return ee!==null?ee===0?1:Math.abs(ee):1}),_=St(()=>{const ee=Zd(e.min);return ee!==null?ee:null}),x=St(()=>{const ee=Zd(e.max);return ee!==null?ee:null}),y=ee=>{const{value:ye}=m;if(ee===ye){P();return}const{"onUpdate:value":Pe,onUpdateValue:I,onChange:H}=e,{nTriggerFormInput:te,nTriggerFormChange:Ce}=a;H&&Ee(H,ee),I&&Ee(I,ee),Pe&&Ee(Pe,ee),p.value=ee,te(),Ce()},k=({offset:ee,doUpdateIfValid:ye,fixPrecision:Pe,isInputing:I})=>{const{value:H}=v;if(I&&GG(H))return!1;const te=(e.parse||KG)(H);if(te===null)return ye&&y(null),null;if(Xd(te)){const Ce=b(te),{precision:ae}=e;if(ae!==void 0&&aene){if(!ye||I)return!1;he=ne}if(ue!==null&&he{const{value:ee}=m;if(Xd(ee)){const{format:ye,precision:Pe}=e;ye?v.value=ye(ee):ee===null||Pe===void 0||b(ee)>Pe?v.value=Y0(ee,void 0):v.value=Y0(ee,Pe)}else v.value=String(ee)};P();const T=St(()=>k({offset:0,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})===!1),$=St(()=>{const{value:ee}=m;if(e.validator&&ee===null)return!1;const{value:ye}=S;return k({offset:-ye,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1}),R=St(()=>{const{value:ee}=m;if(e.validator&&ee===null)return!1;const{value:ye}=S;return k({offset:+ye,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1});function K(ee){const{onFocus:ye}=e,{nTriggerFormFocus:Pe}=a;ye&&Ee(ye,ee),Pe()}function j(ee){var ye,Pe;if(ee.target===((ye=u.value)===null||ye===void 0?void 0:ye.wrapperElRef))return;const I=k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});if(I!==!1){const Ce=(Pe=u.value)===null||Pe===void 0?void 0:Pe.inputElRef;Ce&&(Ce.value=String(I||"")),m.value===I&&P()}else P();const{onBlur:H}=e,{nTriggerFormBlur:te}=a;H&&Ee(H,ee),te(),Ht(()=>{P()})}function D(ee){const{onClear:ye}=e;ye&&Ee(ye,ee)}function M(){const{value:ee}=R;if(!ee){J();return}const{value:ye}=m;if(ye===null)e.validator||y(pe());else{const{value:Pe}=S;k({offset:Pe,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function Y(){const{value:ee}=$;if(!ee){fe();return}const{value:ye}=m;if(ye===null)e.validator||y(pe());else{const{value:Pe}=S;k({offset:-Pe,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}const Q=K,de=j;function pe(){if(e.validator)return null;const{value:ee}=_,{value:ye}=x;return ee!==null?Math.max(0,ee):ye!==null?Math.min(0,ye):0}function B(ee){D(ee),y(null)}function E(ee){var ye,Pe,I;!((ye=f.value)===null||ye===void 0)&&ye.$el.contains(ee.target)&&ee.preventDefault(),!((Pe=d.value)===null||Pe===void 0)&&Pe.$el.contains(ee.target)&&ee.preventDefault(),(I=u.value)===null||I===void 0||I.activate()}let A=null,G=null,oe=null;function fe(){oe&&(window.clearTimeout(oe),oe=null),A&&(window.clearInterval(A),A=null)}function J(){N&&(window.clearTimeout(N),N=null),G&&(window.clearInterval(G),G=null)}function xe(){fe(),oe=window.setTimeout(()=>{A=window.setInterval(()=>{Y()},Z0)},X0),It("mouseup",document,fe,{once:!0})}let N=null;function be(){J(),N=window.setTimeout(()=>{G=window.setInterval(()=>{M()},Z0)},X0),It("mouseup",document,J,{once:!0})}const Oe=()=>{G||M()},Le=()=>{A||Y()};function F(ee){var ye,Pe;if(ee.key==="Enter"){if(ee.target===((ye=u.value)===null||ye===void 0?void 0:ye.wrapperElRef))return;k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&((Pe=u.value)===null||Pe===void 0||Pe.deactivate())}else if(ee.key==="ArrowUp"){if(!R.value||e.keyboard.ArrowUp===!1)return;ee.preventDefault(),k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&M()}else if(ee.key==="ArrowDown"){if(!$.value||e.keyboard.ArrowDown===!1)return;ee.preventDefault(),k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&Y()}}function O(ee){v.value=ee,e.updateValueOnInput&&!e.format&&!e.parse&&e.precision===void 0&&k({offset:0,doUpdateIfValid:!0,isInputing:!0,fixPrecision:!1})}ft(m,()=>{P()});const re={focus:()=>{var ee;return(ee=u.value)===null||ee===void 0?void 0:ee.focus()},blur:()=>{var ee;return(ee=u.value)===null||ee===void 0?void 0:ee.blur()},select:()=>{var ee;return(ee=u.value)===null||ee===void 0?void 0:ee.select()}},_e=pn("InputNumber",o,n);return Object.assign(Object.assign({},re),{rtlEnabled:_e,inputInstRef:u,minusButtonInstRef:d,addButtonInstRef:f,mergedClsPrefix:n,mergedBordered:t,uncontrolledValue:p,mergedValue:m,mergedPlaceholder:C,displayedValueInvalid:T,mergedSize:s,mergedDisabled:l,displayedValue:v,addable:R,minusable:$,mergedStatus:c,handleFocus:Q,handleBlur:de,handleClear:B,handleMouseDown:E,handleAddClick:Oe,handleMinusClick:Le,handleAddMousedown:be,handleMinusMousedown:xe,handleKeyDown:F,handleUpdateDisplayedValue:O,mergedTheme:r,inputThemeOverrides:{paddingSmall:"0 8px 0 10px",paddingMedium:"0 8px 0 12px",paddingLarge:"0 8px 0 14px"},buttonThemeOverrides:L(()=>{const{self:{iconColorDisabled:ee}}=r.value,[ye,Pe,I,H]=jo(ee);return{textColorTextDisabled:`rgb(${ye}, ${Pe}, ${I})`,opacityDisabled:`${H}`}})})},render(){const{mergedClsPrefix:e,$slots:t}=this,n=()=>g(O0,{text:!0,disabled:!this.minusable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleMinusClick,onMousedown:this.handleMinusMousedown,ref:"minusButtonInstRef"},{icon:()=>An(t["minus-icon"],()=>[g(Ut,{clsPrefix:e},{default:()=>g(KB,null)})])}),o=()=>g(O0,{text:!0,disabled:!this.addable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleAddClick,onMousedown:this.handleAddMousedown,ref:"addButtonInstRef"},{icon:()=>An(t["add-icon"],()=>[g(Ut,{clsPrefix:e},{default:()=>g(BB,null)})])});return g("div",{class:[`${e}-input-number`,this.rtlEnabled&&`${e}-input-number--rtl`]},g(lr,{ref:"inputInstRef",autofocus:this.autofocus,status:this.mergedStatus,bordered:this.mergedBordered,loading:this.loading,value:this.displayedValue,onUpdateValue:this.handleUpdateDisplayedValue,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,builtinThemeOverrides:this.inputThemeOverrides,size:this.mergedSize,placeholder:this.mergedPlaceholder,disabled:this.mergedDisabled,readonly:this.readonly,textDecoration:this.displayedValueInvalid?"line-through":void 0,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onClear:this.handleClear,clearable:this.clearable,inputProps:this.inputProps,internalLoadingBeforeSuffix:!0},{prefix:()=>{var r;return this.showButton&&this.buttonPlacement==="both"?[n(),Et(t.prefix,i=>i?g("span",{class:`${e}-input-number-prefix`},i):null)]:(r=t.prefix)===null||r===void 0?void 0:r.call(t)},suffix:()=>{var r;return this.showButton?[Et(t.suffix,i=>i?g("span",{class:`${e}-input-number-suffix`},i):null),this.buttonPlacement==="right"?n():null,o()]:(r=t.suffix)===null||r===void 0?void 0:r.call(t)}}))}}),uS="n-layout-sider",dS={type:String,default:"static"},JG=z("layout",` + `)]),h1=800,p1=100,HY=Object.assign(Object.assign({},Be.props),{autofocus:Boolean,loading:{type:Boolean,default:void 0},placeholder:String,defaultValue:{type:Number,default:null},value:Number,step:{type:[Number,String],default:1},min:[Number,String],max:[Number,String],size:String,disabled:{type:Boolean,default:void 0},validator:Function,bordered:{type:Boolean,default:void 0},showButton:{type:Boolean,default:!0},buttonPlacement:{type:String,default:"right"},inputProps:Object,readonly:Boolean,clearable:Boolean,keyboard:{type:Object,default:{}},updateValueOnInput:{type:Boolean,default:!0},round:{type:Boolean,default:void 0},parse:Function,format:Function,precision:Number,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onChange:[Function,Array]}),jY=be({name:"InputNumber",props:HY,setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:n,mergedRtlRef:o}=st(e),r=Be("InputNumber","-input-number",NY,YK,e,n),{localeRef:i}=Hi("InputNumber"),a=pr(e),{mergedSizeRef:s,mergedDisabledRef:l,mergedStatusRef:c}=a,u=W(null),d=W(null),f=W(null),h=W(e.defaultValue),p=We(e,"value"),g=an(p,h),m=W(""),b=te=>{const ge=String(te).split(".")[1];return ge?ge.length:0},_=te=>{const ge=[e.min,e.max,e.step,te].map(ke=>ke===void 0?0:b(ke));return Math.max(...ge)},C=kt(()=>{const{placeholder:te}=e;return te!==void 0?te:i.value.placeholder}),S=kt(()=>{const te=cf(e.step);return te!==null?te===0?1:Math.abs(te):1}),w=kt(()=>{const te=cf(e.min);return te!==null?te:null}),x=kt(()=>{const te=cf(e.max);return te!==null?te:null}),y=()=>{const{value:te}=g;if(lf(te)){const{format:ge,precision:ke}=e;ge?m.value=ge(te):te===null||ke===void 0||b(te)>ke?m.value=f1(te,void 0):m.value=f1(te,ke)}else m.value=String(te)};y();const P=te=>{const{value:ge}=g;if(te===ge){y();return}const{"onUpdate:value":ke,onUpdateValue:I,onChange:j}=e,{nTriggerFormInput:ee,nTriggerFormChange:Ce}=a;j&&$e(j,te),I&&$e(I,te),ke&&$e(ke,te),h.value=te,ee(),Ce()},k=({offset:te,doUpdateIfValid:ge,fixPrecision:ke,isInputing:I})=>{const{value:j}=m;if(I&&BY(j))return!1;const ee=(e.parse||FY)(j);if(ee===null)return ge&&P(null),null;if(lf(ee)){const Ce=b(ee),{precision:ce}=e;if(ce!==void 0&&cere){if(!ge||I)return!1;le=re}if(de!==null&&lek({offset:0,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})===!1),E=kt(()=>{const{value:te}=g;if(e.validator&&te===null)return!1;const{value:ge}=S;return k({offset:-ge,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1}),R=kt(()=>{const{value:te}=g;if(e.validator&&te===null)return!1;const{value:ge}=S;return k({offset:+ge,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1});function K(te){const{onFocus:ge}=e,{nTriggerFormFocus:ke}=a;ge&&$e(ge,te),ke()}function N(te){var ge,ke;if(te.target===((ge=u.value)===null||ge===void 0?void 0:ge.wrapperElRef))return;const I=k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});if(I!==!1){const Ce=(ke=u.value)===null||ke===void 0?void 0:ke.inputElRef;Ce&&(Ce.value=String(I||"")),g.value===I&&y()}else y();const{onBlur:j}=e,{nTriggerFormBlur:ee}=a;j&&$e(j,te),ee(),Ht(()=>{y()})}function D(te){const{onClear:ge}=e;ge&&$e(ge,te)}function M(){const{value:te}=R;if(!te){xe();return}const{value:ge}=g;if(ge===null)e.validator||P(pe());else{const{value:ke}=S;k({offset:ke,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function G(){const{value:te}=E;if(!te){fe();return}const{value:ge}=g;if(ge===null)e.validator||P(pe());else{const{value:ke}=S;k({offset:-ke,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}const J=K,he=N;function pe(){if(e.validator)return null;const{value:te}=w,{value:ge}=x;return te!==null?Math.max(0,te):ge!==null?Math.min(0,ge):0}function B(te){D(te),P(null)}function $(te){var ge,ke,I;!((ge=f.value)===null||ge===void 0)&&ge.$el.contains(te.target)&&te.preventDefault(),!((ke=d.value)===null||ke===void 0)&&ke.$el.contains(te.target)&&te.preventDefault(),(I=u.value)===null||I===void 0||I.activate()}let A=null,Y=null,ne=null;function fe(){ne&&(window.clearTimeout(ne),ne=null),A&&(window.clearInterval(A),A=null)}let Q=null;function xe(){Q&&(window.clearTimeout(Q),Q=null),Y&&(window.clearInterval(Y),Y=null)}function H(){fe(),ne=window.setTimeout(()=>{A=window.setInterval(()=>{G()},p1)},h1),At("mouseup",document,fe,{once:!0})}function ye(){xe(),Q=window.setTimeout(()=>{Y=window.setInterval(()=>{M()},p1)},h1),At("mouseup",document,xe,{once:!0})}const Oe=()=>{Y||M()},Ne=()=>{A||G()};function L(te){var ge,ke;if(te.key==="Enter"){if(te.target===((ge=u.value)===null||ge===void 0?void 0:ge.wrapperElRef))return;k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&((ke=u.value)===null||ke===void 0||ke.deactivate())}else if(te.key==="ArrowUp"){if(!R.value||e.keyboard.ArrowUp===!1)return;te.preventDefault(),k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&M()}else if(te.key==="ArrowDown"){if(!E.value||e.keyboard.ArrowDown===!1)return;te.preventDefault(),k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&G()}}function O(te){m.value=te,e.updateValueOnInput&&!e.format&&!e.parse&&e.precision===void 0&&k({offset:0,doUpdateIfValid:!0,isInputing:!0,fixPrecision:!1})}ft(g,()=>{y()});const oe={focus:()=>{var te;return(te=u.value)===null||te===void 0?void 0:te.focus()},blur:()=>{var te;return(te=u.value)===null||te===void 0?void 0:te.blur()},select:()=>{var te;return(te=u.value)===null||te===void 0?void 0:te.select()}},_e=pn("InputNumber",o,n);return Object.assign(Object.assign({},oe),{rtlEnabled:_e,inputInstRef:u,minusButtonInstRef:d,addButtonInstRef:f,mergedClsPrefix:n,mergedBordered:t,uncontrolledValue:h,mergedValue:g,mergedPlaceholder:C,displayedValueInvalid:T,mergedSize:s,mergedDisabled:l,displayedValue:m,addable:R,minusable:E,mergedStatus:c,handleFocus:J,handleBlur:he,handleClear:B,handleMouseDown:$,handleAddClick:Oe,handleMinusClick:Ne,handleAddMousedown:ye,handleMinusMousedown:H,handleKeyDown:L,handleUpdateDisplayedValue:O,mergedTheme:r,inputThemeOverrides:{paddingSmall:"0 8px 0 10px",paddingMedium:"0 8px 0 12px",paddingLarge:"0 8px 0 14px"},buttonThemeOverrides:F(()=>{const{self:{iconColorDisabled:te}}=r.value,[ge,ke,I,j]=Uo(te);return{textColorTextDisabled:`rgb(${ge}, ${ke}, ${I})`,opacityDisabled:`${j}`}})})},render(){const{mergedClsPrefix:e,$slots:t}=this,n=()=>v(X0,{text:!0,disabled:!this.minusable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleMinusClick,onMousedown:this.handleMinusMousedown,ref:"minusButtonInstRef"},{icon:()=>An(t["minus-icon"],()=>[v(Ut,{clsPrefix:e},{default:()=>v(LN,null)})])}),o=()=>v(X0,{text:!0,disabled:!this.addable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleAddClick,onMousedown:this.handleAddMousedown,ref:"addButtonInstRef"},{icon:()=>An(t["add-icon"],()=>[v(Ut,{clsPrefix:e},{default:()=>v(EN,null)})])});return v("div",{class:[`${e}-input-number`,this.rtlEnabled&&`${e}-input-number--rtl`]},v(ur,{ref:"inputInstRef",autofocus:this.autofocus,status:this.mergedStatus,bordered:this.mergedBordered,loading:this.loading,value:this.displayedValue,onUpdateValue:this.handleUpdateDisplayedValue,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,builtinThemeOverrides:this.inputThemeOverrides,size:this.mergedSize,placeholder:this.mergedPlaceholder,disabled:this.mergedDisabled,readonly:this.readonly,round:this.round,textDecoration:this.displayedValueInvalid?"line-through":void 0,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onClear:this.handleClear,clearable:this.clearable,inputProps:this.inputProps,internalLoadingBeforeSuffix:!0},{prefix:()=>{var r;return this.showButton&&this.buttonPlacement==="both"?[n(),$t(t.prefix,i=>i?v("span",{class:`${e}-input-number-prefix`},i):null)]:(r=t.prefix)===null||r===void 0?void 0:r.call(t)},suffix:()=>{var r;return this.showButton?[$t(t.suffix,i=>i?v("span",{class:`${e}-input-number-suffix`},i):null),this.buttonPlacement==="right"?n():null,o()]:(r=t.suffix)===null||r===void 0?void 0:r.call(t)}}))}}),LS="n-layout-sider",FS={type:String,default:"static"},VY=z("layout",` color: var(--n-text-color); background-color: var(--n-color); box-sizing: border-box; @@ -2761,7 +2767,7 @@ ${t} right: 0; top: 0; bottom: 0; - `)]),QG={embedded:Boolean,position:dS,nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,onScroll:Function,contentClass:String,contentStyle:{type:[String,Object],default:""},hasSider:Boolean,siderPlacement:{type:String,default:"left"}},fS="n-layout";function eY(e){return ve({name:e?"LayoutContent":"Layout",props:Object.assign(Object.assign({},Be.props),QG),setup(t){const n=W(null),o=W(null),{mergedClsPrefixRef:r,inlineThemeDisabled:i}=st(t),a=Be("Layout","-layout",JG,tS,t,r);function s(m,v){if(t.nativeScrollbar){const{value:b}=n;b&&(v===void 0?b.scrollTo(m):b.scrollTo(m,v))}else{const{value:b}=o;b&&b.scrollTo(m,v)}}at(fS,t);let l=0,c=0;const u=m=>{var v;const b=m.target;l=b.scrollLeft,c=b.scrollTop,(v=t.onScroll)===null||v===void 0||v.call(t,m)};Bp(()=>{if(t.nativeScrollbar){const m=n.value;m&&(m.scrollTop=c,m.scrollLeft=l)}});const d={display:"flex",flexWrap:"nowrap",width:"100%",flexDirection:"row"},f={scrollTo:s},p=L(()=>{const{common:{cubicBezierEaseInOut:m},self:v}=a.value;return{"--n-bezier":m,"--n-color":t.embedded?v.colorEmbedded:v.color,"--n-text-color":v.textColor}}),h=i?kt("layout",L(()=>t.embedded?"e":""),p,t):void 0;return Object.assign({mergedClsPrefix:r,scrollableElRef:n,scrollbarInstRef:o,hasSiderStyle:d,mergedTheme:a,handleNativeElScroll:u,cssVars:i?void 0:p,themeClass:h==null?void 0:h.themeClass,onRender:h==null?void 0:h.onRender},f)},render(){var t;const{mergedClsPrefix:n,hasSider:o}=this;(t=this.onRender)===null||t===void 0||t.call(this);const r=o?this.hasSiderStyle:void 0,i=[this.themeClass,e&&`${n}-layout-content`,`${n}-layout`,`${n}-layout--${this.position}-positioned`];return g("div",{class:i,style:this.cssVars},this.nativeScrollbar?g("div",{ref:"scrollableElRef",class:[`${n}-layout-scroll-container`,this.contentClass],style:[this.contentStyle,r],onScroll:this.handleNativeElScroll},this.$slots):g(To,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:this.contentClass,contentStyle:[this.contentStyle,r]}),this.$slots))}})}const tY=eY(!1),nY=z("layout-sider",` + `)]),WY={embedded:Boolean,position:FS,nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,onScroll:Function,contentClass:String,contentStyle:{type:[String,Object],default:""},hasSider:Boolean,siderPlacement:{type:String,default:"left"}},BS="n-layout";function UY(e){return be({name:e?"LayoutContent":"Layout",props:Object.assign(Object.assign({},Be.props),WY),setup(t){const n=W(null),o=W(null),{mergedClsPrefixRef:r,inlineThemeDisabled:i}=st(t),a=Be("Layout","-layout",VY,RS,t,r);function s(g,m){if(t.nativeScrollbar){const{value:b}=n;b&&(m===void 0?b.scrollTo(g):b.scrollTo(g,m))}else{const{value:b}=o;b&&b.scrollTo(g,m)}}at(BS,t);let l=0,c=0;const u=g=>{var m;const b=g.target;l=b.scrollLeft,c=b.scrollTop,(m=t.onScroll)===null||m===void 0||m.call(t,g)};Qp(()=>{if(t.nativeScrollbar){const g=n.value;g&&(g.scrollTop=c,g.scrollLeft=l)}});const d={display:"flex",flexWrap:"nowrap",width:"100%",flexDirection:"row"},f={scrollTo:s},h=F(()=>{const{common:{cubicBezierEaseInOut:g},self:m}=a.value;return{"--n-bezier":g,"--n-color":t.embedded?m.colorEmbedded:m.color,"--n-text-color":m.textColor}}),p=i?Pt("layout",F(()=>t.embedded?"e":""),h,t):void 0;return Object.assign({mergedClsPrefix:r,scrollableElRef:n,scrollbarInstRef:o,hasSiderStyle:d,mergedTheme:a,handleNativeElScroll:u,cssVars:i?void 0:h,themeClass:p==null?void 0:p.themeClass,onRender:p==null?void 0:p.onRender},f)},render(){var t;const{mergedClsPrefix:n,hasSider:o}=this;(t=this.onRender)===null||t===void 0||t.call(this);const r=o?this.hasSiderStyle:void 0,i=[this.themeClass,e&&`${n}-layout-content`,`${n}-layout`,`${n}-layout--${this.position}-positioned`];return v("div",{class:i,style:this.cssVars},this.nativeScrollbar?v("div",{ref:"scrollableElRef",class:[`${n}-layout-scroll-container`,this.contentClass],style:[this.contentStyle,r],onScroll:this.handleNativeElScroll},this.$slots):v(Io,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:this.contentClass,contentStyle:[this.contentStyle,r]}),this.$slots))}})}const qY=UY(!1),KY=z("layout-sider",` flex-shrink: 0; box-sizing: border-box; position: relative; @@ -2869,7 +2875,7 @@ ${t} left: 0; top: 0; bottom: 0; - `)]),oY=ve({name:"LayoutToggleButton",props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return g("div",{class:`${e}-layout-toggle-button`,onClick:this.onClick},g(Ut,{clsPrefix:e},{default:()=>g(Jp,null)}))}}),rY=ve({props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return g("div",{onClick:this.onClick,class:`${e}-layout-toggle-bar`},g("div",{class:`${e}-layout-toggle-bar__top`}),g("div",{class:`${e}-layout-toggle-bar__bottom`}))}}),iY={position:dS,bordered:Boolean,collapsedWidth:{type:Number,default:48},width:{type:[Number,String],default:272},contentClass:String,contentStyle:{type:[String,Object],default:""},collapseMode:{type:String,default:"transform"},collapsed:{type:Boolean,default:void 0},defaultCollapsed:Boolean,showCollapsedContent:{type:Boolean,default:!0},showTrigger:{type:[Boolean,String],default:!1},nativeScrollbar:{type:Boolean,default:!0},inverted:Boolean,scrollbarProps:Object,triggerClass:String,triggerStyle:[String,Object],collapsedTriggerClass:String,collapsedTriggerStyle:[String,Object],"onUpdate:collapsed":[Function,Array],onUpdateCollapsed:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,onExpand:[Function,Array],onCollapse:[Function,Array],onScroll:Function},aY=ve({name:"LayoutSider",props:Object.assign(Object.assign({},Be.props),iY),setup(e){const t=We(fS),n=W(null),o=W(null),r=L(()=>qt(l.value?e.collapsedWidth:e.width)),i=L(()=>e.collapseMode!=="transform"?{}:{minWidth:qt(e.width)}),a=L(()=>t?t.siderPlacement:"left"),s=W(e.defaultCollapsed),l=sn(Ve(e,"collapsed"),s);function c(_,x){if(e.nativeScrollbar){const{value:y}=n;y&&(x===void 0?y.scrollTo(_):y.scrollTo(_,x))}else{const{value:y}=o;y&&y.scrollTo(_,x)}}function u(){const{"onUpdate:collapsed":_,onUpdateCollapsed:x,onExpand:y,onCollapse:k}=e,{value:P}=l;x&&Ee(x,!P),_&&Ee(_,!P),s.value=!P,P?y&&Ee(y):k&&Ee(k)}let d=0,f=0;const p=_=>{var x;const y=_.target;d=y.scrollLeft,f=y.scrollTop,(x=e.onScroll)===null||x===void 0||x.call(e,_)};Bp(()=>{if(e.nativeScrollbar){const _=n.value;_&&(_.scrollTop=f,_.scrollLeft=d)}}),at(uS,{collapsedRef:l,collapseModeRef:Ve(e,"collapseMode")});const{mergedClsPrefixRef:h,inlineThemeDisabled:m}=st(e),v=Be("Layout","-layout-sider",nY,tS,e,h);function b(_){var x,y;_.propertyName==="max-width"&&(l.value?(x=e.onAfterLeave)===null||x===void 0||x.call(e):(y=e.onAfterEnter)===null||y===void 0||y.call(e))}const w={scrollTo:c},C=L(()=>{const{common:{cubicBezierEaseInOut:_},self:x}=v.value,{siderToggleButtonColor:y,siderToggleButtonBorder:k,siderToggleBarColor:P,siderToggleBarColorHover:T}=x,$={"--n-bezier":_,"--n-toggle-button-color":y,"--n-toggle-button-border":k,"--n-toggle-bar-color":P,"--n-toggle-bar-color-hover":T};return e.inverted?($["--n-color"]=x.siderColorInverted,$["--n-text-color"]=x.textColorInverted,$["--n-border-color"]=x.siderBorderColorInverted,$["--n-toggle-button-icon-color"]=x.siderToggleButtonIconColorInverted,$.__invertScrollbar=x.__invertScrollbar):($["--n-color"]=x.siderColor,$["--n-text-color"]=x.textColor,$["--n-border-color"]=x.siderBorderColor,$["--n-toggle-button-icon-color"]=x.siderToggleButtonIconColor),$}),S=m?kt("layout-sider",L(()=>e.inverted?"a":"b"),C,e):void 0;return Object.assign({scrollableElRef:n,scrollbarInstRef:o,mergedClsPrefix:h,mergedTheme:v,styleMaxWidth:r,mergedCollapsed:l,scrollContainerStyle:i,siderPlacement:a,handleNativeElScroll:p,handleTransitionend:b,handleTriggerClick:u,inlineThemeDisabled:m,cssVars:C,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender},w)},render(){var e;const{mergedClsPrefix:t,mergedCollapsed:n,showTrigger:o}=this;return(e=this.onRender)===null||e===void 0||e.call(this),g("aside",{class:[`${t}-layout-sider`,this.themeClass,`${t}-layout-sider--${this.position}-positioned`,`${t}-layout-sider--${this.siderPlacement}-placement`,this.bordered&&`${t}-layout-sider--bordered`,n&&`${t}-layout-sider--collapsed`,(!n||this.showCollapsedContent)&&`${t}-layout-sider--show-content`],onTransitionend:this.handleTransitionend,style:[this.inlineThemeDisabled?void 0:this.cssVars,{maxWidth:this.styleMaxWidth,width:qt(this.width)}]},this.nativeScrollbar?g("div",{class:[`${t}-layout-sider-scroll-container`,this.contentClass],onScroll:this.handleNativeElScroll,style:[this.scrollContainerStyle,{overflow:"auto"},this.contentStyle],ref:"scrollableElRef"},this.$slots):g(To,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",style:this.scrollContainerStyle,contentStyle:this.contentStyle,contentClass:this.contentClass,theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,builtinThemeOverrides:this.inverted&&this.cssVars.__invertScrollbar==="true"?{colorHover:"rgba(255, 255, 255, .4)",color:"rgba(255, 255, 255, .3)"}:void 0}),this.$slots),o?o==="bar"?g(rY,{clsPrefix:t,class:n?this.collapsedTriggerClass:this.triggerClass,style:n?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):g(oY,{clsPrefix:t,class:n?this.collapsedTriggerClass:this.triggerClass,style:n?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):null,this.bordered?g("div",{class:`${t}-layout-sider__border`}):null)}}),sY={extraFontSize:"12px",width:"440px"},lY={name:"Transfer",common:Ne,peers:{Checkbox:ja,Scrollbar:Vn,Input:uo,Empty:ji,Button:Wn},self(e){const{iconColorDisabled:t,iconColor:n,fontWeight:o,fontSizeLarge:r,fontSizeMedium:i,fontSizeSmall:a,heightLarge:s,heightMedium:l,heightSmall:c,borderRadius:u,inputColor:d,tableHeaderColor:f,textColor1:p,textColorDisabled:h,textColor2:m,hoverColor:v}=e;return Object.assign(Object.assign({},sY),{itemHeightSmall:c,itemHeightMedium:l,itemHeightLarge:s,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:r,borderRadius:u,borderColor:"#0000",listColor:d,headerColor:f,titleTextColor:p,titleTextColorDisabled:h,extraTextColor:m,filterDividerColor:"#0000",itemTextColor:m,itemTextColorDisabled:h,itemColorPending:v,titleFontWeight:o,iconColor:n,iconColorDisabled:t})}},cY=lY,uY=q([z("list",` + `)]),GY=be({name:"LayoutToggleButton",props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return v("div",{class:`${e}-layout-toggle-button`,onClick:this.onClick},v(Ut,{clsPrefix:e},{default:()=>v(fm,null)}))}}),YY=be({props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return v("div",{onClick:this.onClick,class:`${e}-layout-toggle-bar`},v("div",{class:`${e}-layout-toggle-bar__top`}),v("div",{class:`${e}-layout-toggle-bar__bottom`}))}}),XY={position:FS,bordered:Boolean,collapsedWidth:{type:Number,default:48},width:{type:[Number,String],default:272},contentClass:String,contentStyle:{type:[String,Object],default:""},collapseMode:{type:String,default:"transform"},collapsed:{type:Boolean,default:void 0},defaultCollapsed:Boolean,showCollapsedContent:{type:Boolean,default:!0},showTrigger:{type:[Boolean,String],default:!1},nativeScrollbar:{type:Boolean,default:!0},inverted:Boolean,scrollbarProps:Object,triggerClass:String,triggerStyle:[String,Object],collapsedTriggerClass:String,collapsedTriggerStyle:[String,Object],"onUpdate:collapsed":[Function,Array],onUpdateCollapsed:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,onExpand:[Function,Array],onCollapse:[Function,Array],onScroll:Function},ZY=be({name:"LayoutSider",props:Object.assign(Object.assign({},Be.props),XY),setup(e){const t=Ue(BS),n=W(null),o=W(null),r=W(e.defaultCollapsed),i=an(We(e,"collapsed"),r),a=F(()=>qt(i.value?e.collapsedWidth:e.width)),s=F(()=>e.collapseMode!=="transform"?{}:{minWidth:qt(e.width)}),l=F(()=>t?t.siderPlacement:"left");function c(w,x){if(e.nativeScrollbar){const{value:y}=n;y&&(x===void 0?y.scrollTo(w):y.scrollTo(w,x))}else{const{value:y}=o;y&&y.scrollTo(w,x)}}function u(){const{"onUpdate:collapsed":w,onUpdateCollapsed:x,onExpand:y,onCollapse:P}=e,{value:k}=i;x&&$e(x,!k),w&&$e(w,!k),r.value=!k,k?y&&$e(y):P&&$e(P)}let d=0,f=0;const h=w=>{var x;const y=w.target;d=y.scrollLeft,f=y.scrollTop,(x=e.onScroll)===null||x===void 0||x.call(e,w)};Qp(()=>{if(e.nativeScrollbar){const w=n.value;w&&(w.scrollTop=f,w.scrollLeft=d)}}),at(LS,{collapsedRef:i,collapseModeRef:We(e,"collapseMode")});const{mergedClsPrefixRef:p,inlineThemeDisabled:g}=st(e),m=Be("Layout","-layout-sider",KY,RS,e,p);function b(w){var x,y;w.propertyName==="max-width"&&(i.value?(x=e.onAfterLeave)===null||x===void 0||x.call(e):(y=e.onAfterEnter)===null||y===void 0||y.call(e))}const _={scrollTo:c},C=F(()=>{const{common:{cubicBezierEaseInOut:w},self:x}=m.value,{siderToggleButtonColor:y,siderToggleButtonBorder:P,siderToggleBarColor:k,siderToggleBarColorHover:T}=x,E={"--n-bezier":w,"--n-toggle-button-color":y,"--n-toggle-button-border":P,"--n-toggle-bar-color":k,"--n-toggle-bar-color-hover":T};return e.inverted?(E["--n-color"]=x.siderColorInverted,E["--n-text-color"]=x.textColorInverted,E["--n-border-color"]=x.siderBorderColorInverted,E["--n-toggle-button-icon-color"]=x.siderToggleButtonIconColorInverted,E.__invertScrollbar=x.__invertScrollbar):(E["--n-color"]=x.siderColor,E["--n-text-color"]=x.textColor,E["--n-border-color"]=x.siderBorderColor,E["--n-toggle-button-icon-color"]=x.siderToggleButtonIconColor),E}),S=g?Pt("layout-sider",F(()=>e.inverted?"a":"b"),C,e):void 0;return Object.assign({scrollableElRef:n,scrollbarInstRef:o,mergedClsPrefix:p,mergedTheme:m,styleMaxWidth:a,mergedCollapsed:i,scrollContainerStyle:s,siderPlacement:l,handleNativeElScroll:h,handleTransitionend:b,handleTriggerClick:u,inlineThemeDisabled:g,cssVars:C,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender},_)},render(){var e;const{mergedClsPrefix:t,mergedCollapsed:n,showTrigger:o}=this;return(e=this.onRender)===null||e===void 0||e.call(this),v("aside",{class:[`${t}-layout-sider`,this.themeClass,`${t}-layout-sider--${this.position}-positioned`,`${t}-layout-sider--${this.siderPlacement}-placement`,this.bordered&&`${t}-layout-sider--bordered`,n&&`${t}-layout-sider--collapsed`,(!n||this.showCollapsedContent)&&`${t}-layout-sider--show-content`],onTransitionend:this.handleTransitionend,style:[this.inlineThemeDisabled?void 0:this.cssVars,{maxWidth:this.styleMaxWidth,width:qt(this.width)}]},this.nativeScrollbar?v("div",{class:[`${t}-layout-sider-scroll-container`,this.contentClass],onScroll:this.handleNativeElScroll,style:[this.scrollContainerStyle,{overflow:"auto"},this.contentStyle],ref:"scrollableElRef"},this.$slots):v(Io,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",style:this.scrollContainerStyle,contentStyle:this.contentStyle,contentClass:this.contentClass,theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,builtinThemeOverrides:this.inverted&&this.cssVars.__invertScrollbar==="true"?{colorHover:"rgba(255, 255, 255, .4)",color:"rgba(255, 255, 255, .3)"}:void 0}),this.$slots),o?o==="bar"?v(YY,{clsPrefix:t,class:n?this.collapsedTriggerClass:this.triggerClass,style:n?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):v(GY,{clsPrefix:t,class:n?this.collapsedTriggerClass:this.triggerClass,style:n?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):null,this.bordered?v("div",{class:`${t}-layout-sider__border`}):null)}}),JY={extraFontSize:"12px",width:"440px"},QY={name:"Transfer",common:je,peers:{Checkbox:Ga,Scrollbar:Vn,Input:mo,Empty:Ki,Button:Wn},self(e){const{iconColorDisabled:t,iconColor:n,fontWeight:o,fontSizeLarge:r,fontSizeMedium:i,fontSizeSmall:a,heightLarge:s,heightMedium:l,heightSmall:c,borderRadius:u,inputColor:d,tableHeaderColor:f,textColor1:h,textColorDisabled:p,textColor2:g,hoverColor:m}=e;return Object.assign(Object.assign({},JY),{itemHeightSmall:c,itemHeightMedium:l,itemHeightLarge:s,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:r,borderRadius:u,borderColor:"#0000",listColor:d,headerColor:f,titleTextColor:h,titleTextColorDisabled:p,extraTextColor:g,filterDividerColor:"#0000",itemTextColor:g,itemTextColorDisabled:p,itemColorPending:m,titleFontWeight:o,iconColor:n,iconColorDisabled:t})}},eX=QY,tX=q([z("list",` --n-merged-border-color: var(--n-border-color); --n-merged-color: var(--n-color); --n-merged-color-hover: var(--n-color-hover); @@ -2933,22 +2939,22 @@ ${t} background-color: transparent; transition: background-color .3s var(--n-bezier); pointer-events: none; - `)])]),rl(z("list",` + `)])]),al(z("list",` --n-merged-color-hover: var(--n-color-hover-modal); --n-merged-color: var(--n-color-modal); --n-merged-border-color: var(--n-border-color-modal); - `)),Cu(z("list",` + `)),ku(z("list",` --n-merged-color-hover: var(--n-color-hover-popover); --n-merged-color: var(--n-color-popover); --n-merged-border-color: var(--n-border-color-popover); - `))]),dY=Object.assign(Object.assign({},Be.props),{size:{type:String,default:"medium"},bordered:Boolean,clickable:Boolean,hoverable:Boolean,showDivider:{type:Boolean,default:!0}}),hS="n-list",bm=ve({name:"List",props:dY,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=st(e),r=pn("List",o,t),i=Be("List","-list",uY,uK,e,t);at(hS,{showDividerRef:Ve(e,"showDivider"),mergedClsPrefixRef:t});const a=L(()=>{const{common:{cubicBezierEaseInOut:l},self:{fontSize:c,textColor:u,color:d,colorModal:f,colorPopover:p,borderColor:h,borderColorModal:m,borderColorPopover:v,borderRadius:b,colorHover:w,colorHoverModal:C,colorHoverPopover:S}}=i.value;return{"--n-font-size":c,"--n-bezier":l,"--n-text-color":u,"--n-color":d,"--n-border-radius":b,"--n-border-color":h,"--n-border-color-modal":m,"--n-border-color-popover":v,"--n-color-modal":f,"--n-color-popover":p,"--n-color-hover":w,"--n-color-hover-modal":C,"--n-color-hover-popover":S}}),s=n?kt("list",void 0,a,e):void 0;return{mergedClsPrefix:t,rtlEnabled:r,cssVars:n?void 0:a,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender}},render(){var e;const{$slots:t,mergedClsPrefix:n,onRender:o}=this;return o==null||o(),g("ul",{class:[`${n}-list`,this.rtlEnabled&&`${n}-list--rtl`,this.bordered&&`${n}-list--bordered`,this.showDivider&&`${n}-list--show-divider`,this.hoverable&&`${n}-list--hoverable`,this.clickable&&`${n}-list--clickable`,this.themeClass],style:this.cssVars},t.header?g("div",{class:`${n}-list__header`},t.header()):null,(e=t.default)===null||e===void 0?void 0:e.call(t),t.footer?g("div",{class:`${n}-list__footer`},t.footer()):null)}}),ym=ve({name:"ListItem",setup(){const e=We(hS,null);return e||ur("list-item","`n-list-item` must be placed in `n-list`."),{showDivider:e.showDividerRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{$slots:e,mergedClsPrefix:t}=this;return g("li",{class:`${t}-list-item`},e.prefix?g("div",{class:`${t}-list-item__prefix`},e.prefix()):null,e.default?g("div",{class:`${t}-list-item__main`},e):null,e.suffix?g("div",{class:`${t}-list-item__suffix`},e.suffix()):null,this.showDivider&&g("div",{class:`${t}-list-item__divider`}))}}),pS="n-loading-bar",mS="n-loading-bar-api",fY=z("loading-bar-container",` + `))]),nX=Object.assign(Object.assign({},Be.props),{size:{type:String,default:"medium"},bordered:Boolean,clickable:Boolean,hoverable:Boolean,showDivider:{type:Boolean,default:!0}}),NS="n-list",Im=be({name:"List",props:nX,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=st(e),r=pn("List",o,t),i=Be("List","-list",tX,tG,e,t);at(NS,{showDividerRef:We(e,"showDivider"),mergedClsPrefixRef:t});const a=F(()=>{const{common:{cubicBezierEaseInOut:l},self:{fontSize:c,textColor:u,color:d,colorModal:f,colorPopover:h,borderColor:p,borderColorModal:g,borderColorPopover:m,borderRadius:b,colorHover:_,colorHoverModal:C,colorHoverPopover:S}}=i.value;return{"--n-font-size":c,"--n-bezier":l,"--n-text-color":u,"--n-color":d,"--n-border-radius":b,"--n-border-color":p,"--n-border-color-modal":g,"--n-border-color-popover":m,"--n-color-modal":f,"--n-color-popover":h,"--n-color-hover":_,"--n-color-hover-modal":C,"--n-color-hover-popover":S}}),s=n?Pt("list",void 0,a,e):void 0;return{mergedClsPrefix:t,rtlEnabled:r,cssVars:n?void 0:a,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender}},render(){var e;const{$slots:t,mergedClsPrefix:n,onRender:o}=this;return o==null||o(),v("ul",{class:[`${n}-list`,this.rtlEnabled&&`${n}-list--rtl`,this.bordered&&`${n}-list--bordered`,this.showDivider&&`${n}-list--show-divider`,this.hoverable&&`${n}-list--hoverable`,this.clickable&&`${n}-list--clickable`,this.themeClass],style:this.cssVars},t.header?v("div",{class:`${n}-list__header`},t.header()):null,(e=t.default)===null||e===void 0?void 0:e.call(t),t.footer?v("div",{class:`${n}-list__footer`},t.footer()):null)}}),Om=be({name:"ListItem",setup(){const e=Ue(NS,null);return e||fr("list-item","`n-list-item` must be placed in `n-list`."),{showDivider:e.showDividerRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{$slots:e,mergedClsPrefix:t}=this;return v("li",{class:`${t}-list-item`},e.prefix?v("div",{class:`${t}-list-item__prefix`},e.prefix()):null,e.default?v("div",{class:`${t}-list-item__main`},e):null,e.suffix?v("div",{class:`${t}-list-item__suffix`},e.suffix()):null,this.showDivider&&v("div",{class:`${t}-list-item__divider`}))}}),HS="n-loading-bar",jS="n-loading-bar-api",oX=z("loading-bar-container",` z-index: 5999; position: fixed; top: 0; left: 0; right: 0; height: 2px; -`,[cl({enterDuration:"0.3s",leaveDuration:"0.8s"}),z("loading-bar",` +`,[dl({enterDuration:"0.3s",leaveDuration:"0.8s"}),z("loading-bar",` width: 100%; transition: max-width 4s linear, @@ -2966,7 +2972,7 @@ ${t} transition: max-width .2s linear, background .2s linear; - `)])]);var jl=globalThis&&globalThis.__awaiter||function(e,t,n,o){function r(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(u){try{c(o.next(u))}catch(d){a(d)}}function l(u){try{c(o.throw(u))}catch(d){a(d)}}function c(u){u.done?i(u.value):r(u.value).then(s,l)}c((o=o.apply(e,t||[])).next())})};function Vl(e,t){return`${t}-loading-bar ${t}-loading-bar--${e}`}const hY=ve({name:"LoadingBar",props:{containerClass:String,containerStyle:[String,Object]},setup(){const{inlineThemeDisabled:e}=st(),{props:t,mergedClsPrefixRef:n}=We(pS),o=W(null),r=W(!1),i=W(!1),a=W(!1),s=W(!1);let l=!1;const c=W(!1),u=L(()=>{const{loadingBarStyle:_}=t;return _?_[c.value?"error":"loading"]:""});function d(){return jl(this,void 0,void 0,function*(){r.value=!1,a.value=!1,l=!1,c.value=!1,s.value=!0,yield Ht(),s.value=!1})}function f(_=0,x=80,y="starting"){return jl(this,void 0,void 0,function*(){if(i.value=!0,yield d(),l)return;a.value=!0,yield Ht();const k=o.value;k&&(k.style.maxWidth=`${_}%`,k.style.transition="none",k.offsetWidth,k.className=Vl(y,n.value),k.style.transition="",k.style.maxWidth=`${x}%`)})}function p(){return jl(this,void 0,void 0,function*(){if(l||c.value)return;i.value&&(yield Ht()),l=!0;const _=o.value;_&&(_.className=Vl("finishing",n.value),_.style.maxWidth="100%",_.offsetWidth,a.value=!1)})}function h(){if(!(l||c.value))if(!a.value)f(100,100,"error").then(()=>{c.value=!0;const _=o.value;_&&(_.className=Vl("error",n.value),_.offsetWidth,a.value=!1)});else{c.value=!0;const _=o.value;if(!_)return;_.className=Vl("error",n.value),_.style.maxWidth="100%",_.offsetWidth,a.value=!1}}function m(){r.value=!0}function v(){r.value=!1}function b(){return jl(this,void 0,void 0,function*(){yield d()})}const w=Be("LoadingBar","-loading-bar",fY,vK,t,n),C=L(()=>{const{self:{height:_,colorError:x,colorLoading:y}}=w.value;return{"--n-height":_,"--n-color-loading":y,"--n-color-error":x}}),S=e?kt("loading-bar",void 0,C,t):void 0;return{mergedClsPrefix:n,loadingBarRef:o,started:i,loading:a,entering:r,transitionDisabled:s,start:f,error:h,finish:p,handleEnter:m,handleAfterEnter:v,handleAfterLeave:b,mergedLoadingBarStyle:u,cssVars:e?void 0:C,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){if(!this.started)return null;const{mergedClsPrefix:e}=this;return g(fn,{name:"fade-in-transition",appear:!0,onEnter:this.handleEnter,onAfterEnter:this.handleAfterEnter,onAfterLeave:this.handleAfterLeave,css:!this.transitionDisabled},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),dn(g("div",{class:[`${e}-loading-bar-container`,this.themeClass,this.containerClass],style:this.containerStyle},g("div",{ref:"loadingBarRef",class:[`${e}-loading-bar`],style:[this.cssVars,this.mergedLoadingBarStyle]})),[[Mn,this.loading||!this.loading&&this.entering]])}})}}),pY=Object.assign(Object.assign({},Be.props),{to:{type:[String,Object,Boolean],default:void 0},containerClass:String,containerStyle:[String,Object],loadingBarStyle:{type:Object}}),mY=ve({name:"LoadingBarProvider",props:pY,setup(e){const t=Xr(),n=W(null),o={start(){var i;t.value?(i=n.value)===null||i===void 0||i.start():Ht(()=>{var a;(a=n.value)===null||a===void 0||a.start()})},error(){var i;t.value?(i=n.value)===null||i===void 0||i.error():Ht(()=>{var a;(a=n.value)===null||a===void 0||a.error()})},finish(){var i;t.value?(i=n.value)===null||i===void 0||i.finish():Ht(()=>{var a;(a=n.value)===null||a===void 0||a.finish()})}},{mergedClsPrefixRef:r}=st(e);return at(mS,o),at(pS,{props:e,mergedClsPrefixRef:r}),Object.assign(o,{loadingBarRef:n})},render(){var e,t;return g(rt,null,g(eu,{disabled:this.to===!1,to:this.to||"body"},g(hY,{ref:"loadingBarRef",containerStyle:this.containerStyle,containerClass:this.containerClass})),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}});function gY(){const e=We(mS,null);return e===null&&ur("use-loading-bar","No outer founded."),e}const pl="n-menu",xm="n-submenu",Cm="n-menu-item-group",Wl=8;function wm(e){const t=We(pl),{props:n,mergedCollapsedRef:o}=t,r=We(xm,null),i=We(Cm,null),a=L(()=>n.mode==="horizontal"),s=L(()=>a.value?n.dropdownPlacement:"tmNodes"in e?"right-start":"right"),l=L(()=>{var f;return Math.max((f=n.collapsedIconSize)!==null&&f!==void 0?f:n.iconSize,n.iconSize)}),c=L(()=>{var f;return!a.value&&e.root&&o.value&&(f=n.collapsedIconSize)!==null&&f!==void 0?f:n.iconSize}),u=L(()=>{if(a.value||a.value)return;const{collapsedWidth:f,indent:p,rootIndent:h}=n,{root:m,isGroup:v}=e,b=h===void 0?p:h;return m?o.value?f/2-l.value/2:b:i&&typeof i.paddingLeftRef.value=="number"?p/2+i.paddingLeftRef.value:r&&typeof r.paddingLeftRef.value=="number"?(v?p/2:p)+r.paddingLeftRef.value:0}),d=L(()=>{const{collapsedWidth:f,indent:p,rootIndent:h}=n,{value:m}=l,{root:v}=e;return a.value||!v||!o.value?Wl:(h===void 0?p:h)+m+Wl-(f+m)/2});return{dropdownPlacement:s,activeIconSize:c,maxIconSize:l,paddingLeft:u,iconMarginRight:d,NMenu:t,NSubmenu:r}}const _m={internalKey:{type:[String,Number],required:!0},root:Boolean,isGroup:Boolean,level:{type:Number,required:!0},title:[String,Function],extra:[String,Function]},gS=Object.assign(Object.assign({},_m),{tmNode:{type:Object,required:!0},tmNodes:{type:Array,required:!0}}),vY=ve({name:"MenuOptionGroup",props:gS,setup(e){at(xm,null);const t=wm(e);at(Cm,{paddingLeftRef:t.paddingLeft});const{mergedClsPrefixRef:n,props:o}=We(pl);return function(){const{value:r}=n,i=t.paddingLeft.value,{nodeProps:a}=o,s=a==null?void 0:a(e.tmNode.rawNode);return g("div",{class:`${r}-menu-item-group`,role:"group"},g("div",Object.assign({},s,{class:[`${r}-menu-item-group-title`,s==null?void 0:s.class],style:[(s==null?void 0:s.style)||"",i!==void 0?`padding-left: ${i}px;`:""]}),Wt(e.title),e.extra?g(rt,null," ",Wt(e.extra)):null),g("div",null,e.tmNodes.map(l=>Sm(l,o))))}}}),vS=ve({name:"MenuOptionContent",props:{collapsed:Boolean,disabled:Boolean,title:[String,Function],icon:Function,extra:[String,Function],showArrow:Boolean,childActive:Boolean,hover:Boolean,paddingLeft:Number,selected:Boolean,maxIconSize:{type:Number,required:!0},activeIconSize:{type:Number,required:!0},iconMarginRight:{type:Number,required:!0},clsPrefix:{type:String,required:!0},onClick:Function,tmNode:{type:Object,required:!0},isEllipsisPlaceholder:Boolean},setup(e){const{props:t}=We(pl);return{menuProps:t,style:L(()=>{const{paddingLeft:n}=e;return{paddingLeft:n&&`${n}px`}}),iconStyle:L(()=>{const{maxIconSize:n,activeIconSize:o,iconMarginRight:r}=e;return{width:`${n}px`,height:`${n}px`,fontSize:`${o}px`,marginRight:`${r}px`}})}},render(){const{clsPrefix:e,tmNode:t,menuProps:{renderIcon:n,renderLabel:o,renderExtra:r,expandIcon:i}}=this,a=n?n(t.rawNode):Wt(this.icon);return g("div",{onClick:s=>{var l;(l=this.onClick)===null||l===void 0||l.call(this,s)},role:"none",class:[`${e}-menu-item-content`,{[`${e}-menu-item-content--selected`]:this.selected,[`${e}-menu-item-content--collapsed`]:this.collapsed,[`${e}-menu-item-content--child-active`]:this.childActive,[`${e}-menu-item-content--disabled`]:this.disabled,[`${e}-menu-item-content--hover`]:this.hover}],style:this.style},a&&g("div",{class:`${e}-menu-item-content__icon`,style:this.iconStyle,role:"none"},[a]),g("div",{class:`${e}-menu-item-content-header`,role:"none"},this.isEllipsisPlaceholder?this.title:o?o(t.rawNode):Wt(this.title),this.extra||r?g("span",{class:`${e}-menu-item-content-header__extra`}," ",r?r(t.rawNode):Wt(this.extra)):null),this.showArrow?g(Ut,{ariaHidden:!0,class:`${e}-menu-item-content__arrow`,clsPrefix:e},{default:()=>i?i(t.rawNode):g(YB,null)}):null)}}),bS=Object.assign(Object.assign({},_m),{rawNodes:{type:Array,default:()=>[]},tmNodes:{type:Array,default:()=>[]},tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function,domId:String,virtualChildActive:{type:Boolean,default:void 0},isEllipsisPlaceholder:Boolean}),Rh=ve({name:"Submenu",props:bS,setup(e){const t=wm(e),{NMenu:n,NSubmenu:o}=t,{props:r,mergedCollapsedRef:i,mergedThemeRef:a}=n,s=L(()=>{const{disabled:f}=e;return o!=null&&o.mergedDisabledRef.value||r.disabled?!0:f}),l=W(!1);at(xm,{paddingLeftRef:t.paddingLeft,mergedDisabledRef:s}),at(Cm,null);function c(){const{onClick:f}=e;f&&f()}function u(){s.value||(i.value||n.toggleExpand(e.internalKey),c())}function d(f){l.value=f}return{menuProps:r,mergedTheme:a,doSelect:n.doSelect,inverted:n.invertedRef,isHorizontal:n.isHorizontalRef,mergedClsPrefix:n.mergedClsPrefixRef,maxIconSize:t.maxIconSize,activeIconSize:t.activeIconSize,iconMarginRight:t.iconMarginRight,dropdownPlacement:t.dropdownPlacement,dropdownShow:l,paddingLeft:t.paddingLeft,mergedDisabled:s,mergedValue:n.mergedValueRef,childActive:St(()=>{var f;return(f=e.virtualChildActive)!==null&&f!==void 0?f:n.activePathRef.value.includes(e.internalKey)}),collapsed:L(()=>r.mode==="horizontal"?!1:i.value?!0:!n.mergedExpandedKeysRef.value.includes(e.internalKey)),dropdownEnabled:L(()=>!s.value&&(r.mode==="horizontal"||i.value)),handlePopoverShowChange:d,handleClick:u}},render(){var e;const{mergedClsPrefix:t,menuProps:{renderIcon:n,renderLabel:o}}=this,r=()=>{const{isHorizontal:a,paddingLeft:s,collapsed:l,mergedDisabled:c,maxIconSize:u,activeIconSize:d,title:f,childActive:p,icon:h,handleClick:m,menuProps:{nodeProps:v},dropdownShow:b,iconMarginRight:w,tmNode:C,mergedClsPrefix:S,isEllipsisPlaceholder:_,extra:x}=this,y=v==null?void 0:v(C.rawNode);return g("div",Object.assign({},y,{class:[`${S}-menu-item`,y==null?void 0:y.class],role:"menuitem"}),g(vS,{tmNode:C,paddingLeft:s,collapsed:l,disabled:c,iconMarginRight:w,maxIconSize:u,activeIconSize:d,title:f,extra:x,showArrow:!a,childActive:p,clsPrefix:S,icon:h,hover:b,onClick:m,isEllipsisPlaceholder:_}))},i=()=>g(Eu,null,{default:()=>{const{tmNodes:a,collapsed:s}=this;return s?null:g("div",{class:`${t}-submenu-children`,role:"menu"},a.map(l=>Sm(l,this.menuProps)))}});return this.root?g(gm,Object.assign({size:"large",trigger:"hover"},(e=this.menuProps)===null||e===void 0?void 0:e.dropdownProps,{themeOverrides:this.mergedTheme.peerOverrides.Dropdown,theme:this.mergedTheme.peers.Dropdown,builtinThemeOverrides:{fontSizeLarge:"14px",optionIconSizeLarge:"18px"},value:this.mergedValue,disabled:!this.dropdownEnabled,placement:this.dropdownPlacement,keyField:this.menuProps.keyField,labelField:this.menuProps.labelField,childrenField:this.menuProps.childrenField,onUpdateShow:this.handlePopoverShowChange,options:this.rawNodes,onSelect:this.doSelect,inverted:this.inverted,renderIcon:n,renderLabel:o}),{default:()=>g("div",{class:`${t}-submenu`,role:"menuitem","aria-expanded":!this.collapsed,id:this.domId},r(),this.isHorizontal?null:i())}):g("div",{class:`${t}-submenu`,role:"menuitem","aria-expanded":!this.collapsed,id:this.domId},r(),i())}}),yS=Object.assign(Object.assign({},_m),{tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function}),bY=ve({name:"MenuOption",props:yS,setup(e){const t=wm(e),{NSubmenu:n,NMenu:o}=t,{props:r,mergedClsPrefixRef:i,mergedCollapsedRef:a}=o,s=n?n.mergedDisabledRef:{value:!1},l=L(()=>s.value||e.disabled);function c(d){const{onClick:f}=e;f&&f(d)}function u(d){l.value||(o.doSelect(e.internalKey,e.tmNode.rawNode),c(d))}return{mergedClsPrefix:i,dropdownPlacement:t.dropdownPlacement,paddingLeft:t.paddingLeft,iconMarginRight:t.iconMarginRight,maxIconSize:t.maxIconSize,activeIconSize:t.activeIconSize,mergedTheme:o.mergedThemeRef,menuProps:r,dropdownEnabled:St(()=>e.root&&a.value&&r.mode!=="horizontal"&&!l.value),selected:St(()=>o.mergedValueRef.value===e.internalKey),mergedDisabled:l,handleClick:u}},render(){const{mergedClsPrefix:e,mergedTheme:t,tmNode:n,menuProps:{renderLabel:o,nodeProps:r}}=this,i=r==null?void 0:r(n.rawNode);return g("div",Object.assign({},i,{role:"menuitem",class:[`${e}-menu-item`,i==null?void 0:i.class]}),g(Mu,{theme:t.peers.Tooltip,themeOverrides:t.peerOverrides.Tooltip,trigger:"hover",placement:this.dropdownPlacement,disabled:!this.dropdownEnabled||this.title===void 0,internalExtraClass:["menu-tooltip"]},{default:()=>o?o(n.rawNode):Wt(this.title),trigger:()=>g(vS,{tmNode:n,clsPrefix:e,paddingLeft:this.paddingLeft,iconMarginRight:this.iconMarginRight,maxIconSize:this.maxIconSize,activeIconSize:this.activeIconSize,selected:this.selected,title:this.title,extra:this.extra,disabled:this.mergedDisabled,icon:this.icon,onClick:this.handleClick})}))}}),yY=ve({name:"MenuDivider",setup(){const e=We(pl),{mergedClsPrefixRef:t,isHorizontalRef:n}=e;return()=>n.value?null:g("div",{class:`${t.value}-menu-divider`})}}),xY=Yr(gS),CY=Yr(yS),wY=Yr(bS);function Eh(e){return e.type==="divider"||e.type==="render"}function _Y(e){return e.type==="divider"}function Sm(e,t){const{rawNode:n}=e,{show:o}=n;if(o===!1)return null;if(Eh(n))return _Y(n)?g(yY,Object.assign({key:e.key},n.props)):null;const{labelField:r}=t,{key:i,level:a,isGroup:s}=e,l=Object.assign(Object.assign({},n),{title:n.title||n[r],extra:n.titleExtra||n.extra,key:i,internalKey:i,level:a,root:a===0,isGroup:s});return e.children?e.isGroup?g(vY,Xn(l,xY,{tmNode:e,tmNodes:e.children,key:i})):g(Rh,Xn(l,wY,{key:i,rawNodes:n[t.childrenField],tmNodes:e.children,tmNode:e})):g(bY,Xn(l,CY,{key:i,tmNode:e}))}const J0=[q("&::before","background-color: var(--n-item-color-hover);"),V("arrow",` + `)])]);var Wl=globalThis&&globalThis.__awaiter||function(e,t,n,o){function r(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(u){try{c(o.next(u))}catch(d){a(d)}}function l(u){try{c(o.throw(u))}catch(d){a(d)}}function c(u){u.done?i(u.value):r(u.value).then(s,l)}c((o=o.apply(e,t||[])).next())})};function Ul(e,t){return`${t}-loading-bar ${t}-loading-bar--${e}`}const rX=be({name:"LoadingBar",props:{containerClass:String,containerStyle:[String,Object]},setup(){const{inlineThemeDisabled:e}=st(),{props:t,mergedClsPrefixRef:n}=Ue(HS),o=W(null),r=W(!1),i=W(!1),a=W(!1),s=W(!1);let l=!1;const c=W(!1),u=F(()=>{const{loadingBarStyle:w}=t;return w?w[c.value?"error":"loading"]:""});function d(){return Wl(this,void 0,void 0,function*(){r.value=!1,a.value=!1,l=!1,c.value=!1,s.value=!0,yield Ht(),s.value=!1})}function f(){return Wl(this,arguments,void 0,function*(w=0,x=80,y="starting"){if(i.value=!0,yield d(),l)return;a.value=!0,yield Ht();const P=o.value;P&&(P.style.maxWidth=`${w}%`,P.style.transition="none",P.offsetWidth,P.className=Ul(y,n.value),P.style.transition="",P.style.maxWidth=`${x}%`)})}function h(){return Wl(this,void 0,void 0,function*(){if(l||c.value)return;i.value&&(yield Ht()),l=!0;const w=o.value;w&&(w.className=Ul("finishing",n.value),w.style.maxWidth="100%",w.offsetWidth,a.value=!1)})}function p(){if(!(l||c.value))if(!a.value)f(100,100,"error").then(()=>{c.value=!0;const w=o.value;w&&(w.className=Ul("error",n.value),w.offsetWidth,a.value=!1)});else{c.value=!0;const w=o.value;if(!w)return;w.className=Ul("error",n.value),w.style.maxWidth="100%",w.offsetWidth,a.value=!1}}function g(){r.value=!0}function m(){r.value=!1}function b(){return Wl(this,void 0,void 0,function*(){yield d()})}const _=Be("LoadingBar","-loading-bar",oX,lG,t,n),C=F(()=>{const{self:{height:w,colorError:x,colorLoading:y}}=_.value;return{"--n-height":w,"--n-color-loading":y,"--n-color-error":x}}),S=e?Pt("loading-bar",void 0,C,t):void 0;return{mergedClsPrefix:n,loadingBarRef:o,started:i,loading:a,entering:r,transitionDisabled:s,start:f,error:p,finish:h,handleEnter:g,handleAfterEnter:m,handleAfterLeave:b,mergedLoadingBarStyle:u,cssVars:e?void 0:C,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){if(!this.started)return null;const{mergedClsPrefix:e}=this;return v(fn,{name:"fade-in-transition",appear:!0,onEnter:this.handleEnter,onAfterEnter:this.handleAfterEnter,onAfterLeave:this.handleAfterLeave,css:!this.transitionDisabled},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),dn(v("div",{class:[`${e}-loading-bar-container`,this.themeClass,this.containerClass],style:this.containerStyle},v("div",{ref:"loadingBarRef",class:[`${e}-loading-bar`],style:[this.cssVars,this.mergedLoadingBarStyle]})),[[Mn,this.loading||!this.loading&&this.entering]])}})}}),iX=Object.assign(Object.assign({},Be.props),{to:{type:[String,Object,Boolean],default:void 0},containerClass:String,containerStyle:[String,Object],loadingBarStyle:{type:Object}}),aX=be({name:"LoadingBarProvider",props:iX,setup(e){const t=Qr(),n=W(null),o={start(){var i;t.value?(i=n.value)===null||i===void 0||i.start():Ht(()=>{var a;(a=n.value)===null||a===void 0||a.start()})},error(){var i;t.value?(i=n.value)===null||i===void 0||i.error():Ht(()=>{var a;(a=n.value)===null||a===void 0||a.error()})},finish(){var i;t.value?(i=n.value)===null||i===void 0||i.finish():Ht(()=>{var a;(a=n.value)===null||a===void 0||a.finish()})}},{mergedClsPrefixRef:r}=st(e);return at(jS,o),at(HS,{props:e,mergedClsPrefixRef:r}),Object.assign(o,{loadingBarRef:n})},render(){var e,t;return v(it,null,v(nu,{disabled:this.to===!1,to:this.to||"body"},v(rX,{ref:"loadingBarRef",containerStyle:this.containerStyle,containerClass:this.containerClass})),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}});function sX(){const e=Ue(jS,null);return e===null&&fr("use-loading-bar","No outer founded."),e}const gl="n-menu",Mm="n-submenu",zm="n-menu-item-group",ql=8;function Dm(e){const t=Ue(gl),{props:n,mergedCollapsedRef:o}=t,r=Ue(Mm,null),i=Ue(zm,null),a=F(()=>n.mode==="horizontal"),s=F(()=>a.value?n.dropdownPlacement:"tmNodes"in e?"right-start":"right"),l=F(()=>{var f;return Math.max((f=n.collapsedIconSize)!==null&&f!==void 0?f:n.iconSize,n.iconSize)}),c=F(()=>{var f;return!a.value&&e.root&&o.value&&(f=n.collapsedIconSize)!==null&&f!==void 0?f:n.iconSize}),u=F(()=>{if(a.value)return;const{collapsedWidth:f,indent:h,rootIndent:p}=n,{root:g,isGroup:m}=e,b=p===void 0?h:p;return g?o.value?f/2-l.value/2:b:i&&typeof i.paddingLeftRef.value=="number"?h/2+i.paddingLeftRef.value:r&&typeof r.paddingLeftRef.value=="number"?(m?h/2:h)+r.paddingLeftRef.value:0}),d=F(()=>{const{collapsedWidth:f,indent:h,rootIndent:p}=n,{value:g}=l,{root:m}=e;return a.value||!m||!o.value?ql:(p===void 0?h:p)+g+ql-(f+g)/2});return{dropdownPlacement:s,activeIconSize:c,maxIconSize:l,paddingLeft:u,iconMarginRight:d,NMenu:t,NSubmenu:r}}const Lm={internalKey:{type:[String,Number],required:!0},root:Boolean,isGroup:Boolean,level:{type:Number,required:!0},title:[String,Function],extra:[String,Function]},VS=Object.assign(Object.assign({},Lm),{tmNode:{type:Object,required:!0},tmNodes:{type:Array,required:!0}}),lX=be({name:"MenuOptionGroup",props:VS,setup(e){at(Mm,null);const t=Dm(e);at(zm,{paddingLeftRef:t.paddingLeft});const{mergedClsPrefixRef:n,props:o}=Ue(gl);return function(){const{value:r}=n,i=t.paddingLeft.value,{nodeProps:a}=o,s=a==null?void 0:a(e.tmNode.rawNode);return v("div",{class:`${r}-menu-item-group`,role:"group"},v("div",Object.assign({},s,{class:[`${r}-menu-item-group-title`,s==null?void 0:s.class],style:[(s==null?void 0:s.style)||"",i!==void 0?`padding-left: ${i}px;`:""]}),Wt(e.title),e.extra?v(it,null," ",Wt(e.extra)):null),v("div",null,e.tmNodes.map(l=>Fm(l,o))))}}}),WS=be({name:"MenuOptionContent",props:{collapsed:Boolean,disabled:Boolean,title:[String,Function],icon:Function,extra:[String,Function],showArrow:Boolean,childActive:Boolean,hover:Boolean,paddingLeft:Number,selected:Boolean,maxIconSize:{type:Number,required:!0},activeIconSize:{type:Number,required:!0},iconMarginRight:{type:Number,required:!0},clsPrefix:{type:String,required:!0},onClick:Function,tmNode:{type:Object,required:!0},isEllipsisPlaceholder:Boolean},setup(e){const{props:t}=Ue(gl);return{menuProps:t,style:F(()=>{const{paddingLeft:n}=e;return{paddingLeft:n&&`${n}px`}}),iconStyle:F(()=>{const{maxIconSize:n,activeIconSize:o,iconMarginRight:r}=e;return{width:`${n}px`,height:`${n}px`,fontSize:`${o}px`,marginRight:`${r}px`}})}},render(){const{clsPrefix:e,tmNode:t,menuProps:{renderIcon:n,renderLabel:o,renderExtra:r,expandIcon:i}}=this,a=n?n(t.rawNode):Wt(this.icon);return v("div",{onClick:s=>{var l;(l=this.onClick)===null||l===void 0||l.call(this,s)},role:"none",class:[`${e}-menu-item-content`,{[`${e}-menu-item-content--selected`]:this.selected,[`${e}-menu-item-content--collapsed`]:this.collapsed,[`${e}-menu-item-content--child-active`]:this.childActive,[`${e}-menu-item-content--disabled`]:this.disabled,[`${e}-menu-item-content--hover`]:this.hover}],style:this.style},a&&v("div",{class:`${e}-menu-item-content__icon`,style:this.iconStyle,role:"none"},[a]),v("div",{class:`${e}-menu-item-content-header`,role:"none"},this.isEllipsisPlaceholder?this.title:o?o(t.rawNode):Wt(this.title),this.extra||r?v("span",{class:`${e}-menu-item-content-header__extra`}," ",r?r(t.rawNode):Wt(this.extra)):null),this.showArrow?v(Ut,{ariaHidden:!0,class:`${e}-menu-item-content__arrow`,clsPrefix:e},{default:()=>i?i(t.rawNode):v(BN,null)}):null)}}),US=Object.assign(Object.assign({},Lm),{rawNodes:{type:Array,default:()=>[]},tmNodes:{type:Array,default:()=>[]},tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function,domId:String,virtualChildActive:{type:Boolean,default:void 0},isEllipsisPlaceholder:Boolean}),Hh=be({name:"Submenu",props:US,setup(e){const t=Dm(e),{NMenu:n,NSubmenu:o}=t,{props:r,mergedCollapsedRef:i,mergedThemeRef:a}=n,s=F(()=>{const{disabled:f}=e;return o!=null&&o.mergedDisabledRef.value||r.disabled?!0:f}),l=W(!1);at(Mm,{paddingLeftRef:t.paddingLeft,mergedDisabledRef:s}),at(zm,null);function c(){const{onClick:f}=e;f&&f()}function u(){s.value||(i.value||n.toggleExpand(e.internalKey),c())}function d(f){l.value=f}return{menuProps:r,mergedTheme:a,doSelect:n.doSelect,inverted:n.invertedRef,isHorizontal:n.isHorizontalRef,mergedClsPrefix:n.mergedClsPrefixRef,maxIconSize:t.maxIconSize,activeIconSize:t.activeIconSize,iconMarginRight:t.iconMarginRight,dropdownPlacement:t.dropdownPlacement,dropdownShow:l,paddingLeft:t.paddingLeft,mergedDisabled:s,mergedValue:n.mergedValueRef,childActive:kt(()=>{var f;return(f=e.virtualChildActive)!==null&&f!==void 0?f:n.activePathRef.value.includes(e.internalKey)}),collapsed:F(()=>r.mode==="horizontal"?!1:i.value?!0:!n.mergedExpandedKeysRef.value.includes(e.internalKey)),dropdownEnabled:F(()=>!s.value&&(r.mode==="horizontal"||i.value)),handlePopoverShowChange:d,handleClick:u}},render(){var e;const{mergedClsPrefix:t,menuProps:{renderIcon:n,renderLabel:o}}=this,r=()=>{const{isHorizontal:a,paddingLeft:s,collapsed:l,mergedDisabled:c,maxIconSize:u,activeIconSize:d,title:f,childActive:h,icon:p,handleClick:g,menuProps:{nodeProps:m},dropdownShow:b,iconMarginRight:_,tmNode:C,mergedClsPrefix:S,isEllipsisPlaceholder:w,extra:x}=this,y=m==null?void 0:m(C.rawNode);return v("div",Object.assign({},y,{class:[`${S}-menu-item`,y==null?void 0:y.class],role:"menuitem"}),v(WS,{tmNode:C,paddingLeft:s,collapsed:l,disabled:c,iconMarginRight:_,maxIconSize:u,activeIconSize:d,title:f,extra:x,showArrow:!a,childActive:h,clsPrefix:S,icon:p,hover:b,onClick:g,isEllipsisPlaceholder:w}))},i=()=>v(Ou,null,{default:()=>{const{tmNodes:a,collapsed:s}=this;return s?null:v("div",{class:`${t}-submenu-children`,role:"menu"},a.map(l=>Fm(l,this.menuProps)))}});return this.root?v($m,Object.assign({size:"large",trigger:"hover"},(e=this.menuProps)===null||e===void 0?void 0:e.dropdownProps,{themeOverrides:this.mergedTheme.peerOverrides.Dropdown,theme:this.mergedTheme.peers.Dropdown,builtinThemeOverrides:{fontSizeLarge:"14px",optionIconSizeLarge:"18px"},value:this.mergedValue,disabled:!this.dropdownEnabled,placement:this.dropdownPlacement,keyField:this.menuProps.keyField,labelField:this.menuProps.labelField,childrenField:this.menuProps.childrenField,onUpdateShow:this.handlePopoverShowChange,options:this.rawNodes,onSelect:this.doSelect,inverted:this.inverted,renderIcon:n,renderLabel:o}),{default:()=>v("div",{class:`${t}-submenu`,role:"menu","aria-expanded":!this.collapsed,id:this.domId},r(),this.isHorizontal?null:i())}):v("div",{class:`${t}-submenu`,role:"menu","aria-expanded":!this.collapsed,id:this.domId},r(),i())}}),qS=Object.assign(Object.assign({},Lm),{tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function}),cX=be({name:"MenuOption",props:qS,setup(e){const t=Dm(e),{NSubmenu:n,NMenu:o}=t,{props:r,mergedClsPrefixRef:i,mergedCollapsedRef:a}=o,s=n?n.mergedDisabledRef:{value:!1},l=F(()=>s.value||e.disabled);function c(d){const{onClick:f}=e;f&&f(d)}function u(d){l.value||(o.doSelect(e.internalKey,e.tmNode.rawNode),c(d))}return{mergedClsPrefix:i,dropdownPlacement:t.dropdownPlacement,paddingLeft:t.paddingLeft,iconMarginRight:t.iconMarginRight,maxIconSize:t.maxIconSize,activeIconSize:t.activeIconSize,mergedTheme:o.mergedThemeRef,menuProps:r,dropdownEnabled:kt(()=>e.root&&a.value&&r.mode!=="horizontal"&&!l.value),selected:kt(()=>o.mergedValueRef.value===e.internalKey),mergedDisabled:l,handleClick:u}},render(){const{mergedClsPrefix:e,mergedTheme:t,tmNode:n,menuProps:{renderLabel:o,nodeProps:r}}=this,i=r==null?void 0:r(n.rawNode);return v("div",Object.assign({},i,{role:"menuitem",class:[`${e}-menu-item`,i==null?void 0:i.class]}),v(Fu,{theme:t.peers.Tooltip,themeOverrides:t.peerOverrides.Tooltip,trigger:"hover",placement:this.dropdownPlacement,disabled:!this.dropdownEnabled||this.title===void 0,internalExtraClass:["menu-tooltip"]},{default:()=>o?o(n.rawNode):Wt(this.title),trigger:()=>v(WS,{tmNode:n,clsPrefix:e,paddingLeft:this.paddingLeft,iconMarginRight:this.iconMarginRight,maxIconSize:this.maxIconSize,activeIconSize:this.activeIconSize,selected:this.selected,title:this.title,extra:this.extra,disabled:this.mergedDisabled,icon:this.icon,onClick:this.handleClick})}))}}),uX=be({name:"MenuDivider",setup(){const e=Ue(gl),{mergedClsPrefixRef:t,isHorizontalRef:n}=e;return()=>n.value?null:v("div",{class:`${t.value}-menu-divider`})}}),dX=Jr(VS),fX=Jr(qS),hX=Jr(US);function jh(e){return e.type==="divider"||e.type==="render"}function pX(e){return e.type==="divider"}function Fm(e,t){const{rawNode:n}=e,{show:o}=n;if(o===!1)return null;if(jh(n))return pX(n)?v(uX,Object.assign({key:e.key},n.props)):null;const{labelField:r}=t,{key:i,level:a,isGroup:s}=e,l=Object.assign(Object.assign({},n),{title:n.title||n[r],extra:n.titleExtra||n.extra,key:i,internalKey:i,level:a,root:a===0,isGroup:s});return e.children?e.isGroup?v(lX,Qn(l,dX,{tmNode:e,tmNodes:e.children,key:i})):v(Hh,Qn(l,hX,{key:i,rawNodes:n[t.childrenField],tmNodes:e.children,tmNode:e})):v(cX,Qn(l,fX,{key:i,tmNode:e}))}const m1=[q("&::before","background-color: var(--n-item-color-hover);"),V("arrow",` color: var(--n-arrow-color-hover); `),V("icon",` color: var(--n-item-icon-color-hover); @@ -2976,7 +2982,7 @@ ${t} color: var(--n-item-text-color-hover); `),V("extra",` color: var(--n-item-text-color-hover); - `)])],Q0=[V("icon",` + `)])],g1=[V("icon",` color: var(--n-item-icon-color-hover-horizontal); `),z("menu-item-content-header",` color: var(--n-item-text-color-hover-horizontal); @@ -2984,7 +2990,7 @@ ${t} color: var(--n-item-text-color-hover-horizontal); `),V("extra",` color: var(--n-item-text-color-hover-horizontal); - `)])],SY=q([z("menu",` + `)])],mX=q([z("menu",` background-color: var(--n-color); color: var(--n-item-text-color); overflow: hidden; @@ -3013,11 +3019,11 @@ ${t} color: var(--n-item-text-color-child-active-horizontal); `)]),V("icon",` color: var(--n-item-icon-color-child-active-horizontal); - `)]),Tt("disabled",[Tt("selected, child-active",[q("&:focus-within",Q0)]),Z("selected",[si(null,[V("icon","color: var(--n-item-icon-color-active-hover-horizontal);"),z("menu-item-content-header",` + `)]),Rt("disabled",[Rt("selected, child-active",[q("&:focus-within",g1)]),Z("selected",[ui(null,[V("icon","color: var(--n-item-icon-color-active-hover-horizontal);"),z("menu-item-content-header",` color: var(--n-item-text-color-active-hover-horizontal); - `,[q("a","color: var(--n-item-text-color-active-hover-horizontal);"),V("extra","color: var(--n-item-text-color-active-hover-horizontal);")])])]),Z("child-active",[si(null,[V("icon","color: var(--n-item-icon-color-child-active-hover-horizontal);"),z("menu-item-content-header",` + `,[q("a","color: var(--n-item-text-color-active-hover-horizontal);"),V("extra","color: var(--n-item-text-color-active-hover-horizontal);")])])]),Z("child-active",[ui(null,[V("icon","color: var(--n-item-icon-color-child-active-hover-horizontal);"),z("menu-item-content-header",` color: var(--n-item-text-color-child-active-hover-horizontal); - `,[q("a","color: var(--n-item-text-color-child-active-hover-horizontal);"),V("extra","color: var(--n-item-text-color-child-active-hover-horizontal);")])])]),si("border-bottom: 2px solid var(--n-border-color-horizontal);",Q0)]),z("menu-item-content-header",[q("a","color: var(--n-item-text-color-horizontal);")])])]),Tt("responsive",[z("menu-item-content-header",` + `,[q("a","color: var(--n-item-text-color-child-active-hover-horizontal);"),V("extra","color: var(--n-item-text-color-child-active-hover-horizontal);")])])]),ui("border-bottom: 2px solid var(--n-border-color-horizontal);",g1)]),z("menu-item-content-header",[q("a","color: var(--n-item-text-color-horizontal);")])])]),Rt("responsive",[z("menu-item-content-header",` overflow: hidden; text-overflow: ellipsis; `)]),Z("collapsed",[z("menu-item-content",[Z("selected",[q("&::before",` @@ -3068,11 +3074,11 @@ ${t} color: var(--n-arrow-color-child-active); `),V("icon",` color: var(--n-item-icon-color-child-active); - `)]),Tt("disabled",[Tt("selected, child-active",[q("&:focus-within",J0)]),Z("selected",[si(null,[V("arrow","color: var(--n-arrow-color-active-hover);"),V("icon","color: var(--n-item-icon-color-active-hover);"),z("menu-item-content-header",` + `)]),Rt("disabled",[Rt("selected, child-active",[q("&:focus-within",m1)]),Z("selected",[ui(null,[V("arrow","color: var(--n-arrow-color-active-hover);"),V("icon","color: var(--n-item-icon-color-active-hover);"),z("menu-item-content-header",` color: var(--n-item-text-color-active-hover); - `,[q("a","color: var(--n-item-text-color-active-hover);"),V("extra","color: var(--n-item-text-color-active-hover);")])])]),Z("child-active",[si(null,[V("arrow","color: var(--n-arrow-color-child-active-hover);"),V("icon","color: var(--n-item-icon-color-child-active-hover);"),z("menu-item-content-header",` + `,[q("a","color: var(--n-item-text-color-active-hover);"),V("extra","color: var(--n-item-text-color-active-hover);")])])]),Z("child-active",[ui(null,[V("arrow","color: var(--n-arrow-color-child-active-hover);"),V("icon","color: var(--n-item-icon-color-child-active-hover);"),z("menu-item-content-header",` color: var(--n-item-text-color-child-active-hover); - `,[q("a","color: var(--n-item-text-color-child-active-hover);"),V("extra","color: var(--n-item-text-color-child-active-hover);")])])]),Z("selected",[si(null,[q("&::before","background-color: var(--n-item-color-active-hover);")])]),si(null,J0)]),V("icon",` + `,[q("a","color: var(--n-item-text-color-child-active-hover);"),V("extra","color: var(--n-item-text-color-child-active-hover);")])])]),Z("selected",[ui(null,[q("&::before","background-color: var(--n-item-color-active-hover);")])]),ui(null,m1)]),V("icon",` grid-area: icon; color: var(--n-item-icon-color); transition: @@ -3126,7 +3132,7 @@ ${t} `),z("submenu-children",` overflow: hidden; padding: 0; - `,[nm({duration:".2s"})])]),z("menu-item-group",[z("menu-item-group-title",` + `,[gm({duration:".2s"})])]),z("menu-item-group",[z("menu-item-group-title",` margin-top: 6px; color: var(--n-group-text-color); cursor: default; @@ -3145,12 +3151,12 @@ ${t} background-color: var(--n-divider-color); height: 1px; margin: 6px 18px; - `)]);function si(e,t){return[Z("hover",e,t),q("&:hover",e,t)]}const kY=Object.assign(Object.assign({},Be.props),{options:{type:Array,default:()=>[]},collapsed:{type:Boolean,default:void 0},collapsedWidth:{type:Number,default:48},iconSize:{type:Number,default:20},collapsedIconSize:{type:Number,default:24},rootIndent:Number,indent:{type:Number,default:32},labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},disabledField:{type:String,default:"disabled"},defaultExpandAll:Boolean,defaultExpandedKeys:Array,expandedKeys:Array,value:[String,Number],defaultValue:{type:[String,Number],default:null},mode:{type:String,default:"vertical"},watchProps:{type:Array,default:void 0},disabled:Boolean,show:{type:Boolean,default:!0},inverted:Boolean,"onUpdate:expandedKeys":[Function,Array],onUpdateExpandedKeys:[Function,Array],onUpdateValue:[Function,Array],"onUpdate:value":[Function,Array],expandIcon:Function,renderIcon:Function,renderLabel:Function,renderExtra:Function,dropdownProps:Object,accordion:Boolean,nodeProps:Function,dropdownPlacement:{type:String,default:"bottom"},responsive:Boolean,items:Array,onOpenNamesChange:[Function,Array],onSelect:[Function,Array],onExpandedNamesChange:[Function,Array],expandedNames:Array,defaultExpandedNames:Array}),PY=ve({name:"Menu",props:kY,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Menu","-menu",SY,SK,e,t),r=We(uS,null),i=L(()=>{var B;const{collapsed:E}=e;if(E!==void 0)return E;if(r){const{collapseModeRef:A,collapsedRef:G}=r;if(A.value==="width")return(B=G.value)!==null&&B!==void 0?B:!1}return!1}),a=L(()=>{const{keyField:B,childrenField:E,disabledField:A}=e;return wi(e.items||e.options,{getIgnored(G){return Eh(G)},getChildren(G){return G[E]},getDisabled(G){return G[A]},getKey(G){var oe;return(oe=G[B])!==null&&oe!==void 0?oe:G.name}})}),s=L(()=>new Set(a.value.treeNodes.map(B=>B.key))),{watchProps:l}=e,c=W(null);l!=null&&l.includes("defaultValue")?Xt(()=>{c.value=e.defaultValue}):c.value=e.defaultValue;const u=Ve(e,"value"),d=sn(u,c),f=W([]),p=()=>{f.value=e.defaultExpandAll?a.value.getNonLeafKeys():e.defaultExpandedNames||e.defaultExpandedKeys||a.value.getPath(d.value,{includeSelf:!1}).keyPath};l!=null&&l.includes("defaultExpandedKeys")?Xt(p):p();const h=wu(e,["expandedNames","expandedKeys"]),m=sn(h,f),v=L(()=>a.value.treeNodes),b=L(()=>a.value.getPath(d.value).keyPath);at(pl,{props:e,mergedCollapsedRef:i,mergedThemeRef:o,mergedValueRef:d,mergedExpandedKeysRef:m,activePathRef:b,mergedClsPrefixRef:t,isHorizontalRef:L(()=>e.mode==="horizontal"),invertedRef:Ve(e,"inverted"),doSelect:w,toggleExpand:S});function w(B,E){const{"onUpdate:value":A,onUpdateValue:G,onSelect:oe}=e;G&&Ee(G,B,E),A&&Ee(A,B,E),oe&&Ee(oe,B,E),c.value=B}function C(B){const{"onUpdate:expandedKeys":E,onUpdateExpandedKeys:A,onExpandedNamesChange:G,onOpenNamesChange:oe}=e;E&&Ee(E,B),A&&Ee(A,B),G&&Ee(G,B),oe&&Ee(oe,B),f.value=B}function S(B){const E=Array.from(m.value),A=E.findIndex(G=>G===B);if(~A)E.splice(A,1);else{if(e.accordion&&s.value.has(B)){const G=E.findIndex(oe=>s.value.has(oe));G>-1&&E.splice(G,1)}E.push(B)}C(E)}const _=B=>{const E=a.value.getPath(B??d.value,{includeSelf:!1}).keyPath;if(!E.length)return;const A=Array.from(m.value),G=new Set([...A,...E]);e.accordion&&s.value.forEach(oe=>{G.has(oe)&&!E.includes(oe)&&G.delete(oe)}),C(Array.from(G))},x=L(()=>{const{inverted:B}=e,{common:{cubicBezierEaseInOut:E},self:A}=o.value,{borderRadius:G,borderColorHorizontal:oe,fontSize:fe,itemHeight:J,dividerColor:xe}=A,N={"--n-divider-color":xe,"--n-bezier":E,"--n-font-size":fe,"--n-border-color-horizontal":oe,"--n-border-radius":G,"--n-item-height":J};return B?(N["--n-group-text-color"]=A.groupTextColorInverted,N["--n-color"]=A.colorInverted,N["--n-item-text-color"]=A.itemTextColorInverted,N["--n-item-text-color-hover"]=A.itemTextColorHoverInverted,N["--n-item-text-color-active"]=A.itemTextColorActiveInverted,N["--n-item-text-color-child-active"]=A.itemTextColorChildActiveInverted,N["--n-item-text-color-child-active-hover"]=A.itemTextColorChildActiveInverted,N["--n-item-text-color-active-hover"]=A.itemTextColorActiveHoverInverted,N["--n-item-icon-color"]=A.itemIconColorInverted,N["--n-item-icon-color-hover"]=A.itemIconColorHoverInverted,N["--n-item-icon-color-active"]=A.itemIconColorActiveInverted,N["--n-item-icon-color-active-hover"]=A.itemIconColorActiveHoverInverted,N["--n-item-icon-color-child-active"]=A.itemIconColorChildActiveInverted,N["--n-item-icon-color-child-active-hover"]=A.itemIconColorChildActiveHoverInverted,N["--n-item-icon-color-collapsed"]=A.itemIconColorCollapsedInverted,N["--n-item-text-color-horizontal"]=A.itemTextColorHorizontalInverted,N["--n-item-text-color-hover-horizontal"]=A.itemTextColorHoverHorizontalInverted,N["--n-item-text-color-active-horizontal"]=A.itemTextColorActiveHorizontalInverted,N["--n-item-text-color-child-active-horizontal"]=A.itemTextColorChildActiveHorizontalInverted,N["--n-item-text-color-child-active-hover-horizontal"]=A.itemTextColorChildActiveHoverHorizontalInverted,N["--n-item-text-color-active-hover-horizontal"]=A.itemTextColorActiveHoverHorizontalInverted,N["--n-item-icon-color-horizontal"]=A.itemIconColorHorizontalInverted,N["--n-item-icon-color-hover-horizontal"]=A.itemIconColorHoverHorizontalInverted,N["--n-item-icon-color-active-horizontal"]=A.itemIconColorActiveHorizontalInverted,N["--n-item-icon-color-active-hover-horizontal"]=A.itemIconColorActiveHoverHorizontalInverted,N["--n-item-icon-color-child-active-horizontal"]=A.itemIconColorChildActiveHorizontalInverted,N["--n-item-icon-color-child-active-hover-horizontal"]=A.itemIconColorChildActiveHoverHorizontalInverted,N["--n-arrow-color"]=A.arrowColorInverted,N["--n-arrow-color-hover"]=A.arrowColorHoverInverted,N["--n-arrow-color-active"]=A.arrowColorActiveInverted,N["--n-arrow-color-active-hover"]=A.arrowColorActiveHoverInverted,N["--n-arrow-color-child-active"]=A.arrowColorChildActiveInverted,N["--n-arrow-color-child-active-hover"]=A.arrowColorChildActiveHoverInverted,N["--n-item-color-hover"]=A.itemColorHoverInverted,N["--n-item-color-active"]=A.itemColorActiveInverted,N["--n-item-color-active-hover"]=A.itemColorActiveHoverInverted,N["--n-item-color-active-collapsed"]=A.itemColorActiveCollapsedInverted):(N["--n-group-text-color"]=A.groupTextColor,N["--n-color"]=A.color,N["--n-item-text-color"]=A.itemTextColor,N["--n-item-text-color-hover"]=A.itemTextColorHover,N["--n-item-text-color-active"]=A.itemTextColorActive,N["--n-item-text-color-child-active"]=A.itemTextColorChildActive,N["--n-item-text-color-child-active-hover"]=A.itemTextColorChildActiveHover,N["--n-item-text-color-active-hover"]=A.itemTextColorActiveHover,N["--n-item-icon-color"]=A.itemIconColor,N["--n-item-icon-color-hover"]=A.itemIconColorHover,N["--n-item-icon-color-active"]=A.itemIconColorActive,N["--n-item-icon-color-active-hover"]=A.itemIconColorActiveHover,N["--n-item-icon-color-child-active"]=A.itemIconColorChildActive,N["--n-item-icon-color-child-active-hover"]=A.itemIconColorChildActiveHover,N["--n-item-icon-color-collapsed"]=A.itemIconColorCollapsed,N["--n-item-text-color-horizontal"]=A.itemTextColorHorizontal,N["--n-item-text-color-hover-horizontal"]=A.itemTextColorHoverHorizontal,N["--n-item-text-color-active-horizontal"]=A.itemTextColorActiveHorizontal,N["--n-item-text-color-child-active-horizontal"]=A.itemTextColorChildActiveHorizontal,N["--n-item-text-color-child-active-hover-horizontal"]=A.itemTextColorChildActiveHoverHorizontal,N["--n-item-text-color-active-hover-horizontal"]=A.itemTextColorActiveHoverHorizontal,N["--n-item-icon-color-horizontal"]=A.itemIconColorHorizontal,N["--n-item-icon-color-hover-horizontal"]=A.itemIconColorHoverHorizontal,N["--n-item-icon-color-active-horizontal"]=A.itemIconColorActiveHorizontal,N["--n-item-icon-color-active-hover-horizontal"]=A.itemIconColorActiveHoverHorizontal,N["--n-item-icon-color-child-active-horizontal"]=A.itemIconColorChildActiveHorizontal,N["--n-item-icon-color-child-active-hover-horizontal"]=A.itemIconColorChildActiveHoverHorizontal,N["--n-arrow-color"]=A.arrowColor,N["--n-arrow-color-hover"]=A.arrowColorHover,N["--n-arrow-color-active"]=A.arrowColorActive,N["--n-arrow-color-active-hover"]=A.arrowColorActiveHover,N["--n-arrow-color-child-active"]=A.arrowColorChildActive,N["--n-arrow-color-child-active-hover"]=A.arrowColorChildActiveHover,N["--n-item-color-hover"]=A.itemColorHover,N["--n-item-color-active"]=A.itemColorActive,N["--n-item-color-active-hover"]=A.itemColorActiveHover,N["--n-item-color-active-collapsed"]=A.itemColorActiveCollapsed),N}),y=n?kt("menu",L(()=>e.inverted?"a":"b"),x,e):void 0,k=Gr(),P=W(null),T=W(null);let $=!0;const R=()=>{var B;$?$=!1:(B=P.value)===null||B===void 0||B.sync({showAllItemsBeforeCalculate:!0})};function K(){return document.getElementById(k)}const j=W(-1);function D(B){j.value=e.options.length-B}function M(B){B||(j.value=-1)}const Y=L(()=>{const B=j.value;return{children:B===-1?[]:e.options.slice(B)}}),Q=L(()=>{const{childrenField:B,disabledField:E,keyField:A}=e;return wi([Y.value],{getIgnored(G){return Eh(G)},getChildren(G){return G[B]},getDisabled(G){return G[E]},getKey(G){var oe;return(oe=G[A])!==null&&oe!==void 0?oe:G.name}})}),de=L(()=>wi([{}]).treeNodes[0]);function pe(){var B;if(j.value===-1)return g(Rh,{root:!0,level:0,key:"__ellpisisGroupPlaceholder__",internalKey:"__ellpisisGroupPlaceholder__",title:"···",tmNode:de.value,domId:k,isEllipsisPlaceholder:!0});const E=Q.value.treeNodes[0],A=b.value,G=!!(!((B=E.children)===null||B===void 0)&&B.some(oe=>A.includes(oe.key)));return g(Rh,{level:0,root:!0,key:"__ellpisisGroup__",internalKey:"__ellpisisGroup__",title:"···",virtualChildActive:G,tmNode:E,domId:k,rawNodes:E.rawNode.children||[],tmNodes:E.children||[],isEllipsisPlaceholder:!0})}return{mergedClsPrefix:t,controlledExpandedKeys:h,uncontrolledExpanededKeys:f,mergedExpandedKeys:m,uncontrolledValue:c,mergedValue:d,activePath:b,tmNodes:v,mergedTheme:o,mergedCollapsed:i,cssVars:n?void 0:x,themeClass:y==null?void 0:y.themeClass,overflowRef:P,counterRef:T,updateCounter:()=>{},onResize:R,onUpdateOverflow:M,onUpdateCount:D,renderCounter:pe,getCounter:K,onRender:y==null?void 0:y.onRender,showOption:_,deriveResponsiveState:R}},render(){const{mergedClsPrefix:e,mode:t,themeClass:n,onRender:o}=this;o==null||o();const r=()=>this.tmNodes.map(l=>Sm(l,this.$props)),a=t==="horizontal"&&this.responsive,s=()=>g("div",{role:t==="horizontal"?"menubar":"menu",class:[`${e}-menu`,n,`${e}-menu--${t}`,a&&`${e}-menu--responsive`,this.mergedCollapsed&&`${e}-menu--collapsed`],style:this.cssVars},a?g(dh,{ref:"overflowRef",onUpdateOverflow:this.onUpdateOverflow,getCounter:this.getCounter,onUpdateCount:this.onUpdateCount,updateCounter:this.updateCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:r,counter:this.renderCounter}):r());return a?g(sr,{onResize:this.onResize},{default:s}):s()}}),xS={icon:Function,type:{type:String,default:"info"},content:[String,Number,Function],showIcon:{type:Boolean,default:!0},closable:Boolean,keepAliveOnHover:Boolean,onClose:Function,onMouseenter:Function,onMouseleave:Function},CS="n-message-api",wS="n-message-provider",TY=q([z("message-wrapper",` + `)]);function ui(e,t){return[Z("hover",e,t),q("&:hover",e,t)]}const gX=Object.assign(Object.assign({},Be.props),{options:{type:Array,default:()=>[]},collapsed:{type:Boolean,default:void 0},collapsedWidth:{type:Number,default:48},iconSize:{type:Number,default:20},collapsedIconSize:{type:Number,default:24},rootIndent:Number,indent:{type:Number,default:32},labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},disabledField:{type:String,default:"disabled"},defaultExpandAll:Boolean,defaultExpandedKeys:Array,expandedKeys:Array,value:[String,Number],defaultValue:{type:[String,Number],default:null},mode:{type:String,default:"vertical"},watchProps:{type:Array,default:void 0},disabled:Boolean,show:{type:Boolean,default:!0},inverted:Boolean,"onUpdate:expandedKeys":[Function,Array],onUpdateExpandedKeys:[Function,Array],onUpdateValue:[Function,Array],"onUpdate:value":[Function,Array],expandIcon:Function,renderIcon:Function,renderLabel:Function,renderExtra:Function,dropdownProps:Object,accordion:Boolean,nodeProps:Function,dropdownPlacement:{type:String,default:"bottom"},responsive:Boolean,items:Array,onOpenNamesChange:[Function,Array],onSelect:[Function,Array],onExpandedNamesChange:[Function,Array],expandedNames:Array,defaultExpandedNames:Array}),vX=be({name:"Menu",props:gX,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Menu","-menu",mX,mG,e,t),r=Ue(LS,null),i=F(()=>{var B;const{collapsed:$}=e;if($!==void 0)return $;if(r){const{collapseModeRef:A,collapsedRef:Y}=r;if(A.value==="width")return(B=Y.value)!==null&&B!==void 0?B:!1}return!1}),a=F(()=>{const{keyField:B,childrenField:$,disabledField:A}=e;return Pi(e.items||e.options,{getIgnored(Y){return jh(Y)},getChildren(Y){return Y[$]},getDisabled(Y){return Y[A]},getKey(Y){var ne;return(ne=Y[B])!==null&&ne!==void 0?ne:Y.name}})}),s=F(()=>new Set(a.value.treeNodes.map(B=>B.key))),{watchProps:l}=e,c=W(null);l!=null&&l.includes("defaultValue")?Xt(()=>{c.value=e.defaultValue}):c.value=e.defaultValue;const u=We(e,"value"),d=an(u,c),f=W([]),h=()=>{f.value=e.defaultExpandAll?a.value.getNonLeafKeys():e.defaultExpandedNames||e.defaultExpandedKeys||a.value.getPath(d.value,{includeSelf:!1}).keyPath};l!=null&&l.includes("defaultExpandedKeys")?Xt(h):h();const p=Pu(e,["expandedNames","expandedKeys"]),g=an(p,f),m=F(()=>a.value.treeNodes),b=F(()=>a.value.getPath(d.value).keyPath);at(gl,{props:e,mergedCollapsedRef:i,mergedThemeRef:o,mergedValueRef:d,mergedExpandedKeysRef:g,activePathRef:b,mergedClsPrefixRef:t,isHorizontalRef:F(()=>e.mode==="horizontal"),invertedRef:We(e,"inverted"),doSelect:_,toggleExpand:S});function _(B,$){const{"onUpdate:value":A,onUpdateValue:Y,onSelect:ne}=e;Y&&$e(Y,B,$),A&&$e(A,B,$),ne&&$e(ne,B,$),c.value=B}function C(B){const{"onUpdate:expandedKeys":$,onUpdateExpandedKeys:A,onExpandedNamesChange:Y,onOpenNamesChange:ne}=e;$&&$e($,B),A&&$e(A,B),Y&&$e(Y,B),ne&&$e(ne,B),f.value=B}function S(B){const $=Array.from(g.value),A=$.findIndex(Y=>Y===B);if(~A)$.splice(A,1);else{if(e.accordion&&s.value.has(B)){const Y=$.findIndex(ne=>s.value.has(ne));Y>-1&&$.splice(Y,1)}$.push(B)}C($)}const w=B=>{const $=a.value.getPath(B??d.value,{includeSelf:!1}).keyPath;if(!$.length)return;const A=Array.from(g.value),Y=new Set([...A,...$]);e.accordion&&s.value.forEach(ne=>{Y.has(ne)&&!$.includes(ne)&&Y.delete(ne)}),C(Array.from(Y))},x=F(()=>{const{inverted:B}=e,{common:{cubicBezierEaseInOut:$},self:A}=o.value,{borderRadius:Y,borderColorHorizontal:ne,fontSize:fe,itemHeight:Q,dividerColor:xe}=A,H={"--n-divider-color":xe,"--n-bezier":$,"--n-font-size":fe,"--n-border-color-horizontal":ne,"--n-border-radius":Y,"--n-item-height":Q};return B?(H["--n-group-text-color"]=A.groupTextColorInverted,H["--n-color"]=A.colorInverted,H["--n-item-text-color"]=A.itemTextColorInverted,H["--n-item-text-color-hover"]=A.itemTextColorHoverInverted,H["--n-item-text-color-active"]=A.itemTextColorActiveInverted,H["--n-item-text-color-child-active"]=A.itemTextColorChildActiveInverted,H["--n-item-text-color-child-active-hover"]=A.itemTextColorChildActiveInverted,H["--n-item-text-color-active-hover"]=A.itemTextColorActiveHoverInverted,H["--n-item-icon-color"]=A.itemIconColorInverted,H["--n-item-icon-color-hover"]=A.itemIconColorHoverInverted,H["--n-item-icon-color-active"]=A.itemIconColorActiveInverted,H["--n-item-icon-color-active-hover"]=A.itemIconColorActiveHoverInverted,H["--n-item-icon-color-child-active"]=A.itemIconColorChildActiveInverted,H["--n-item-icon-color-child-active-hover"]=A.itemIconColorChildActiveHoverInverted,H["--n-item-icon-color-collapsed"]=A.itemIconColorCollapsedInverted,H["--n-item-text-color-horizontal"]=A.itemTextColorHorizontalInverted,H["--n-item-text-color-hover-horizontal"]=A.itemTextColorHoverHorizontalInverted,H["--n-item-text-color-active-horizontal"]=A.itemTextColorActiveHorizontalInverted,H["--n-item-text-color-child-active-horizontal"]=A.itemTextColorChildActiveHorizontalInverted,H["--n-item-text-color-child-active-hover-horizontal"]=A.itemTextColorChildActiveHoverHorizontalInverted,H["--n-item-text-color-active-hover-horizontal"]=A.itemTextColorActiveHoverHorizontalInverted,H["--n-item-icon-color-horizontal"]=A.itemIconColorHorizontalInverted,H["--n-item-icon-color-hover-horizontal"]=A.itemIconColorHoverHorizontalInverted,H["--n-item-icon-color-active-horizontal"]=A.itemIconColorActiveHorizontalInverted,H["--n-item-icon-color-active-hover-horizontal"]=A.itemIconColorActiveHoverHorizontalInverted,H["--n-item-icon-color-child-active-horizontal"]=A.itemIconColorChildActiveHorizontalInverted,H["--n-item-icon-color-child-active-hover-horizontal"]=A.itemIconColorChildActiveHoverHorizontalInverted,H["--n-arrow-color"]=A.arrowColorInverted,H["--n-arrow-color-hover"]=A.arrowColorHoverInverted,H["--n-arrow-color-active"]=A.arrowColorActiveInverted,H["--n-arrow-color-active-hover"]=A.arrowColorActiveHoverInverted,H["--n-arrow-color-child-active"]=A.arrowColorChildActiveInverted,H["--n-arrow-color-child-active-hover"]=A.arrowColorChildActiveHoverInverted,H["--n-item-color-hover"]=A.itemColorHoverInverted,H["--n-item-color-active"]=A.itemColorActiveInverted,H["--n-item-color-active-hover"]=A.itemColorActiveHoverInverted,H["--n-item-color-active-collapsed"]=A.itemColorActiveCollapsedInverted):(H["--n-group-text-color"]=A.groupTextColor,H["--n-color"]=A.color,H["--n-item-text-color"]=A.itemTextColor,H["--n-item-text-color-hover"]=A.itemTextColorHover,H["--n-item-text-color-active"]=A.itemTextColorActive,H["--n-item-text-color-child-active"]=A.itemTextColorChildActive,H["--n-item-text-color-child-active-hover"]=A.itemTextColorChildActiveHover,H["--n-item-text-color-active-hover"]=A.itemTextColorActiveHover,H["--n-item-icon-color"]=A.itemIconColor,H["--n-item-icon-color-hover"]=A.itemIconColorHover,H["--n-item-icon-color-active"]=A.itemIconColorActive,H["--n-item-icon-color-active-hover"]=A.itemIconColorActiveHover,H["--n-item-icon-color-child-active"]=A.itemIconColorChildActive,H["--n-item-icon-color-child-active-hover"]=A.itemIconColorChildActiveHover,H["--n-item-icon-color-collapsed"]=A.itemIconColorCollapsed,H["--n-item-text-color-horizontal"]=A.itemTextColorHorizontal,H["--n-item-text-color-hover-horizontal"]=A.itemTextColorHoverHorizontal,H["--n-item-text-color-active-horizontal"]=A.itemTextColorActiveHorizontal,H["--n-item-text-color-child-active-horizontal"]=A.itemTextColorChildActiveHorizontal,H["--n-item-text-color-child-active-hover-horizontal"]=A.itemTextColorChildActiveHoverHorizontal,H["--n-item-text-color-active-hover-horizontal"]=A.itemTextColorActiveHoverHorizontal,H["--n-item-icon-color-horizontal"]=A.itemIconColorHorizontal,H["--n-item-icon-color-hover-horizontal"]=A.itemIconColorHoverHorizontal,H["--n-item-icon-color-active-horizontal"]=A.itemIconColorActiveHorizontal,H["--n-item-icon-color-active-hover-horizontal"]=A.itemIconColorActiveHoverHorizontal,H["--n-item-icon-color-child-active-horizontal"]=A.itemIconColorChildActiveHorizontal,H["--n-item-icon-color-child-active-hover-horizontal"]=A.itemIconColorChildActiveHoverHorizontal,H["--n-arrow-color"]=A.arrowColor,H["--n-arrow-color-hover"]=A.arrowColorHover,H["--n-arrow-color-active"]=A.arrowColorActive,H["--n-arrow-color-active-hover"]=A.arrowColorActiveHover,H["--n-arrow-color-child-active"]=A.arrowColorChildActive,H["--n-arrow-color-child-active-hover"]=A.arrowColorChildActiveHover,H["--n-item-color-hover"]=A.itemColorHover,H["--n-item-color-active"]=A.itemColorActive,H["--n-item-color-active-hover"]=A.itemColorActiveHover,H["--n-item-color-active-collapsed"]=A.itemColorActiveCollapsed),H}),y=n?Pt("menu",F(()=>e.inverted?"a":"b"),x,e):void 0,P=Zr(),k=W(null),T=W(null);let E=!0;const R=()=>{var B;E?E=!1:(B=k.value)===null||B===void 0||B.sync({showAllItemsBeforeCalculate:!0})};function K(){return document.getElementById(P)}const N=W(-1);function D(B){N.value=e.options.length-B}function M(B){B||(N.value=-1)}const G=F(()=>{const B=N.value;return{children:B===-1?[]:e.options.slice(B)}}),J=F(()=>{const{childrenField:B,disabledField:$,keyField:A}=e;return Pi([G.value],{getIgnored(Y){return jh(Y)},getChildren(Y){return Y[B]},getDisabled(Y){return Y[$]},getKey(Y){var ne;return(ne=Y[A])!==null&&ne!==void 0?ne:Y.name}})}),he=F(()=>Pi([{}]).treeNodes[0]);function pe(){var B;if(N.value===-1)return v(Hh,{root:!0,level:0,key:"__ellpisisGroupPlaceholder__",internalKey:"__ellpisisGroupPlaceholder__",title:"···",tmNode:he.value,domId:P,isEllipsisPlaceholder:!0});const $=J.value.treeNodes[0],A=b.value,Y=!!(!((B=$.children)===null||B===void 0)&&B.some(ne=>A.includes(ne.key)));return v(Hh,{level:0,root:!0,key:"__ellpisisGroup__",internalKey:"__ellpisisGroup__",title:"···",virtualChildActive:Y,tmNode:$,domId:P,rawNodes:$.rawNode.children||[],tmNodes:$.children||[],isEllipsisPlaceholder:!0})}return{mergedClsPrefix:t,controlledExpandedKeys:p,uncontrolledExpanededKeys:f,mergedExpandedKeys:g,uncontrolledValue:c,mergedValue:d,activePath:b,tmNodes:m,mergedTheme:o,mergedCollapsed:i,cssVars:n?void 0:x,themeClass:y==null?void 0:y.themeClass,overflowRef:k,counterRef:T,updateCounter:()=>{},onResize:R,onUpdateOverflow:M,onUpdateCount:D,renderCounter:pe,getCounter:K,onRender:y==null?void 0:y.onRender,showOption:w,deriveResponsiveState:R}},render(){const{mergedClsPrefix:e,mode:t,themeClass:n,onRender:o}=this;o==null||o();const r=()=>this.tmNodes.map(l=>Fm(l,this.$props)),a=t==="horizontal"&&this.responsive,s=()=>v("div",{role:t==="horizontal"?"menubar":"menu",class:[`${e}-menu`,n,`${e}-menu--${t}`,a&&`${e}-menu--responsive`,this.mergedCollapsed&&`${e}-menu--collapsed`],style:this.cssVars},a?v(Sh,{ref:"overflowRef",onUpdateOverflow:this.onUpdateOverflow,getCounter:this.getCounter,onUpdateCount:this.onUpdateCount,updateCounter:this.updateCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:r,counter:this.renderCounter}):r());return a?v(cr,{onResize:this.onResize},{default:s}):s()}}),KS={icon:Function,type:{type:String,default:"info"},content:[String,Number,Function],showIcon:{type:Boolean,default:!0},closable:Boolean,keepAliveOnHover:Boolean,onClose:Function,onMouseenter:Function,onMouseleave:Function},GS="n-message-api",YS="n-message-provider",bX=q([z("message-wrapper",` margin: var(--n-margin); z-index: 0; transform-origin: top center; display: flex; - `,[nm({overflow:"visible",originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.85)"}})]),z("message",` + `,[gm({overflow:"visible",originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.85)"}})]),z("message",` box-sizing: border-box; display: flex; align-items: center; @@ -3238,7 +3244,7 @@ ${t} right: 12px; justify-content: flex-end; align-items: flex-end; - `)])]),RY={info:()=>g(jr,null),success:()=>g(Fi,null),warning:()=>g(Bi,null),error:()=>g(Li,null),default:()=>null},EY=ve({name:"Message",props:Object.assign(Object.assign({},xS),{render:Function}),setup(e){const{inlineThemeDisabled:t,mergedRtlRef:n}=st(e),{props:o,mergedClsPrefixRef:r}=We(wS),i=pn("Message",n,r),a=Be("Message","-message",TY,Kq,o,r),s=L(()=>{const{type:c}=e,{common:{cubicBezierEaseInOut:u},self:{padding:d,margin:f,maxWidth:p,iconMargin:h,closeMargin:m,closeSize:v,iconSize:b,fontSize:w,lineHeight:C,borderRadius:S,iconColorInfo:_,iconColorSuccess:x,iconColorWarning:y,iconColorError:k,iconColorLoading:P,closeIconSize:T,closeBorderRadius:$,[Te("textColor",c)]:R,[Te("boxShadow",c)]:K,[Te("color",c)]:j,[Te("closeColorHover",c)]:D,[Te("closeColorPressed",c)]:M,[Te("closeIconColor",c)]:Y,[Te("closeIconColorPressed",c)]:Q,[Te("closeIconColorHover",c)]:de}}=a.value;return{"--n-bezier":u,"--n-margin":f,"--n-padding":d,"--n-max-width":p,"--n-font-size":w,"--n-icon-margin":h,"--n-icon-size":b,"--n-close-icon-size":T,"--n-close-border-radius":$,"--n-close-size":v,"--n-close-margin":m,"--n-text-color":R,"--n-color":j,"--n-box-shadow":K,"--n-icon-color-info":_,"--n-icon-color-success":x,"--n-icon-color-warning":y,"--n-icon-color-error":k,"--n-icon-color-loading":P,"--n-close-color-hover":D,"--n-close-color-pressed":M,"--n-close-icon-color":Y,"--n-close-icon-color-pressed":Q,"--n-close-icon-color-hover":de,"--n-line-height":C,"--n-border-radius":S}}),l=t?kt("message",L(()=>e.type[0]),s,{}):void 0;return{mergedClsPrefix:r,rtlEnabled:i,messageProviderProps:o,handleClose(){var c;(c=e.onClose)===null||c===void 0||c.call(e)},cssVars:t?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender,placement:o.placement}},render(){const{render:e,type:t,closable:n,content:o,mergedClsPrefix:r,cssVars:i,themeClass:a,onRender:s,icon:l,handleClose:c,showIcon:u}=this;s==null||s();let d;return g("div",{class:[`${r}-message-wrapper`,a],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:[{alignItems:this.placement.startsWith("top")?"flex-start":"flex-end"},i]},e?e(this.$props):g("div",{class:[`${r}-message ${r}-message--${t}-type`,this.rtlEnabled&&`${r}-message--rtl`]},(d=$Y(l,t,r))&&u?g("div",{class:`${r}-message__icon ${r}-message__icon--${t}-type`},g(Ni,null,{default:()=>d})):null,g("div",{class:`${r}-message__content`},Wt(o)),n?g(Hi,{clsPrefix:r,class:`${r}-message__close`,onClick:c,absolute:!0}):null))}});function $Y(e,t,n){if(typeof e=="function")return e();{const o=t==="loading"?g(Jr,{clsPrefix:n,strokeWidth:24,scale:.85}):RY[t]();return o?g(Ut,{clsPrefix:n,key:t},{default:()=>o}):null}}const AY=ve({name:"MessageEnvironment",props:Object.assign(Object.assign({},xS),{duration:{type:Number,default:3e3},onAfterLeave:Function,onLeave:Function,internalKey:{type:String,required:!0},onInternalAfterLeave:Function,onHide:Function,onAfterHide:Function}),setup(e){let t=null;const n=W(!0);jt(()=>{o()});function o(){const{duration:u}=e;u&&(t=window.setTimeout(a,u))}function r(u){u.currentTarget===u.target&&t!==null&&(window.clearTimeout(t),t=null)}function i(u){u.currentTarget===u.target&&o()}function a(){const{onHide:u}=e;n.value=!1,t&&(window.clearTimeout(t),t=null),u&&u()}function s(){const{onClose:u}=e;u&&u(),a()}function l(){const{onAfterLeave:u,onInternalAfterLeave:d,onAfterHide:f,internalKey:p}=e;u&&u(),d&&d(p),f&&f()}function c(){a()}return{show:n,hide:a,handleClose:s,handleAfterLeave:l,handleMouseleave:i,handleMouseenter:r,deactivate:c}},render(){return g(Eu,{appear:!0,onAfterLeave:this.handleAfterLeave,onLeave:this.onLeave},{default:()=>[this.show?g(EY,{content:this.content,type:this.type,icon:this.icon,showIcon:this.showIcon,closable:this.closable,onClose:this.handleClose,onMouseenter:this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.keepAliveOnHover?this.handleMouseleave:void 0}):null]})}}),IY=Object.assign(Object.assign({},Be.props),{to:[String,Object],duration:{type:Number,default:3e3},keepAliveOnHover:Boolean,max:Number,placement:{type:String,default:"top"},closable:Boolean,containerClass:String,containerStyle:[String,Object]}),OY=ve({name:"MessageProvider",props:IY,setup(e){const{mergedClsPrefixRef:t}=st(e),n=W([]),o=W({}),r={create(l,c){return i(l,Object.assign({type:"default"},c))},info(l,c){return i(l,Object.assign(Object.assign({},c),{type:"info"}))},success(l,c){return i(l,Object.assign(Object.assign({},c),{type:"success"}))},warning(l,c){return i(l,Object.assign(Object.assign({},c),{type:"warning"}))},error(l,c){return i(l,Object.assign(Object.assign({},c),{type:"error"}))},loading(l,c){return i(l,Object.assign(Object.assign({},c),{type:"loading"}))},destroyAll:s};at(wS,{props:e,mergedClsPrefixRef:t}),at(CS,r);function i(l,c){const u=Gr(),d=Zn(Object.assign(Object.assign({},c),{content:l,key:u,destroy:()=>{var p;(p=o.value[u])===null||p===void 0||p.hide()}})),{max:f}=e;return f&&n.value.length>=f&&n.value.shift(),n.value.push(d),d}function a(l){n.value.splice(n.value.findIndex(c=>c.key===l),1),delete o.value[l]}function s(){Object.values(o.value).forEach(l=>{l.hide()})}return Object.assign({mergedClsPrefix:t,messageRefs:o,messageList:n,handleAfterLeave:a},r)},render(){var e,t,n;return g(rt,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.messageList.length?g(eu,{to:(n=this.to)!==null&&n!==void 0?n:"body"},g("div",{class:[`${this.mergedClsPrefix}-message-container`,`${this.mergedClsPrefix}-message-container--${this.placement}`,this.containerClass],key:"message-container",style:this.containerStyle},this.messageList.map(o=>g(AY,Object.assign({ref:r=>{r&&(this.messageRefs[o.key]=r)},internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave},Da(o,["destroy"],void 0),{duration:o.duration===void 0?this.duration:o.duration,keepAliveOnHover:o.keepAliveOnHover===void 0?this.keepAliveOnHover:o.keepAliveOnHover,closable:o.closable===void 0?this.closable:o.closable}))))):null)}});function MY(){const e=We(CS,null);return e===null&&ur("use-message","No outer founded. See prerequisite in https://www.naiveui.com/en-US/os-theme/components/message for more details. If you want to use `useMessage` outside setup, please check https://www.naiveui.com/zh-CN/os-theme/components/message#Q-&-A."),e}const zY=ve({name:"ModalEnvironment",props:Object.assign(Object.assign({},K2),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=W(!0);function n(){const{onInternalAfterLeave:u,internalKey:d,onAfterLeave:f}=e;u&&u(d),f&&f()}function o(){const{onPositiveClick:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function r(){const{onNegativeClick:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function i(){const{onClose:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function a(u){const{onMaskClick:d,maskClosable:f}=e;d&&(d(u),f&&l())}function s(){const{onEsc:u}=e;u&&u()}function l(){t.value=!1}function c(u){t.value=u}return{show:t,hide:l,handleUpdateShow:c,handleAfterLeave:n,handleCloseClick:i,handleNegativeClick:r,handlePositiveClick:o,handleMaskClick:a,handleEsc:s}},render(){const{handleUpdateShow:e,handleAfterLeave:t,handleMaskClick:n,handleEsc:o,show:r}=this;return g(Qr,Object.assign({},this.$props,{show:r,onUpdateShow:e,onMaskClick:n,onEsc:o,onAfterLeave:t,internalAppear:!0,internalModal:!0}))}}),e1="n-modal-provider",_S="n-modal-api",DY="n-modal-reactive-list",LY={to:[String,Object]},FY=ve({name:"ModalProvider",props:LY,setup(){const e=Rc(64),t=Tc(),n=W([]),o={};function r(l={}){const c=Gr(),u=Zn(Object.assign(Object.assign({},l),{key:c,destroy:()=>{o[`n-modal-${c}`].hide()}}));return n.value.push(u),u}function i(l){const{value:c}=n;c.splice(c.findIndex(u=>u.key===l),1)}function a(){Object.values(o).forEach(l=>{l.hide()})}const s={create:r,destroyAll:a};return at(_S,s),at(e1,{clickedRef:Rc(64),clickedPositionRef:Tc()}),at(DY,n),at(e1,{clickedRef:e,clickedPositionRef:t}),Object.assign(Object.assign({},s),{modalList:n,modalInstRefs:o,handleAfterLeave:i})},render(){var e,t;return g(rt,null,[this.modalList.map(n=>{var o;return g(zY,Da(n,["destroy","style"],{internalStyle:n.style,to:(o=n.to)!==null&&o!==void 0?o:this.to,ref:r=>{r===null?delete this.modalInstRefs[`n-modal-${n.key}`]:this.modalInstRefs[`n-modal-${n.key}`]=r},internalKey:n.key,onInternalAfterLeave:this.handleAfterLeave}))}),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)])}});function BY(){const e=We(_S,null);return e===null&&ur("use-modal","No outer founded."),e}const Fu="n-notification-provider",NY=ve({name:"NotificationContainer",props:{scrollable:{type:Boolean,required:!0},placement:{type:String,required:!0}},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t,wipTransitionCountRef:n}=We(Fu),o=W(null);return Xt(()=>{var r,i;n.value>0?(r=o==null?void 0:o.value)===null||r===void 0||r.classList.add("transitioning"):(i=o==null?void 0:o.value)===null||i===void 0||i.classList.remove("transitioning")}),{selfRef:o,mergedTheme:e,mergedClsPrefix:t,transitioning:n}},render(){const{$slots:e,scrollable:t,mergedClsPrefix:n,mergedTheme:o,placement:r}=this;return g("div",{ref:"selfRef",class:[`${n}-notification-container`,t&&`${n}-notification-container--scrollable`,`${n}-notification-container--${r}`]},t?g(To,{theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,contentStyle:{overflow:"hidden"}},e):e)}}),HY={info:()=>g(jr,null),success:()=>g(Fi,null),warning:()=>g(Bi,null),error:()=>g(Li,null),default:()=>null},km={closable:{type:Boolean,default:!0},type:{type:String,default:"default"},avatar:Function,title:[String,Function],description:[String,Function],content:[String,Function],meta:[String,Function],action:[String,Function],onClose:{type:Function,required:!0},keepAliveOnHover:Boolean,onMouseenter:Function,onMouseleave:Function},jY=Yr(km),VY=ve({name:"Notification",props:km,setup(e){const{mergedClsPrefixRef:t,mergedThemeRef:n,props:o}=We(Fu),{inlineThemeDisabled:r,mergedRtlRef:i}=st(),a=pn("Notification",i,t),s=L(()=>{const{type:c}=e,{self:{color:u,textColor:d,closeIconColor:f,closeIconColorHover:p,closeIconColorPressed:h,headerTextColor:m,descriptionTextColor:v,actionTextColor:b,borderRadius:w,headerFontWeight:C,boxShadow:S,lineHeight:_,fontSize:x,closeMargin:y,closeSize:k,width:P,padding:T,closeIconSize:$,closeBorderRadius:R,closeColorHover:K,closeColorPressed:j,titleFontSize:D,metaFontSize:M,descriptionFontSize:Y,[Te("iconColor",c)]:Q},common:{cubicBezierEaseOut:de,cubicBezierEaseIn:pe,cubicBezierEaseInOut:B}}=n.value,{left:E,right:A,top:G,bottom:oe}=_o(T);return{"--n-color":u,"--n-font-size":x,"--n-text-color":d,"--n-description-text-color":v,"--n-action-text-color":b,"--n-title-text-color":m,"--n-title-font-weight":C,"--n-bezier":B,"--n-bezier-ease-out":de,"--n-bezier-ease-in":pe,"--n-border-radius":w,"--n-box-shadow":S,"--n-close-border-radius":R,"--n-close-color-hover":K,"--n-close-color-pressed":j,"--n-close-icon-color":f,"--n-close-icon-color-hover":p,"--n-close-icon-color-pressed":h,"--n-line-height":_,"--n-icon-color":Q,"--n-close-margin":y,"--n-close-size":k,"--n-close-icon-size":$,"--n-width":P,"--n-padding-left":E,"--n-padding-right":A,"--n-padding-top":G,"--n-padding-bottom":oe,"--n-title-font-size":D,"--n-meta-font-size":M,"--n-description-font-size":Y}}),l=r?kt("notification",L(()=>e.type[0]),s,o):void 0;return{mergedClsPrefix:t,showAvatar:L(()=>e.avatar||e.type!=="default"),handleCloseClick(){e.onClose()},rtlEnabled:a,cssVars:r?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){var e;const{mergedClsPrefix:t}=this;return(e=this.onRender)===null||e===void 0||e.call(this),g("div",{class:[`${t}-notification-wrapper`,this.themeClass],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:this.cssVars},g("div",{class:[`${t}-notification`,this.rtlEnabled&&`${t}-notification--rtl`,this.themeClass,{[`${t}-notification--closable`]:this.closable,[`${t}-notification--show-avatar`]:this.showAvatar}],style:this.cssVars},this.showAvatar?g("div",{class:`${t}-notification__avatar`},this.avatar?Wt(this.avatar):this.type!=="default"?g(Ut,{clsPrefix:t},{default:()=>HY[this.type]()}):null):null,this.closable?g(Hi,{clsPrefix:t,class:`${t}-notification__close`,onClick:this.handleCloseClick}):null,g("div",{ref:"bodyRef",class:`${t}-notification-main`},this.title?g("div",{class:`${t}-notification-main__header`},Wt(this.title)):null,this.description?g("div",{class:`${t}-notification-main__description`},Wt(this.description)):null,this.content?g("pre",{class:`${t}-notification-main__content`},Wt(this.content)):null,this.meta||this.action?g("div",{class:`${t}-notification-main-footer`},this.meta?g("div",{class:`${t}-notification-main-footer__meta`},Wt(this.meta)):null,this.action?g("div",{class:`${t}-notification-main-footer__action`},Wt(this.action)):null):null)))}}),WY=Object.assign(Object.assign({},km),{duration:Number,onClose:Function,onLeave:Function,onAfterEnter:Function,onAfterLeave:Function,onHide:Function,onAfterShow:Function,onAfterHide:Function}),UY=ve({name:"NotificationEnvironment",props:Object.assign(Object.assign({},WY),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const{wipTransitionCountRef:t}=We(Fu),n=W(!0);let o=null;function r(){n.value=!1,o&&window.clearTimeout(o)}function i(h){t.value++,Ht(()=>{h.style.height=`${h.offsetHeight}px`,h.style.maxHeight="0",h.style.transition="none",h.offsetHeight,h.style.transition="",h.style.maxHeight=h.style.height})}function a(h){t.value--,h.style.height="",h.style.maxHeight="";const{onAfterEnter:m,onAfterShow:v}=e;m&&m(),v&&v()}function s(h){t.value++,h.style.maxHeight=`${h.offsetHeight}px`,h.style.height=`${h.offsetHeight}px`,h.offsetHeight}function l(h){const{onHide:m}=e;m&&m(),h.style.maxHeight="0",h.offsetHeight}function c(){t.value--;const{onAfterLeave:h,onInternalAfterLeave:m,onAfterHide:v,internalKey:b}=e;h&&h(),m(b),v&&v()}function u(){const{duration:h}=e;h&&(o=window.setTimeout(r,h))}function d(h){h.currentTarget===h.target&&o!==null&&(window.clearTimeout(o),o=null)}function f(h){h.currentTarget===h.target&&u()}function p(){const{onClose:h}=e;h?Promise.resolve(h()).then(m=>{m!==!1&&r()}):r()}return jt(()=>{e.duration&&(o=window.setTimeout(r,e.duration))}),{show:n,hide:r,handleClose:p,handleAfterLeave:c,handleLeave:l,handleBeforeLeave:s,handleAfterEnter:a,handleBeforeEnter:i,handleMouseenter:d,handleMouseleave:f}},render(){return g(fn,{name:"notification-transition",appear:!0,onBeforeEnter:this.handleBeforeEnter,onAfterEnter:this.handleAfterEnter,onBeforeLeave:this.handleBeforeLeave,onLeave:this.handleLeave,onAfterLeave:this.handleAfterLeave},{default:()=>this.show?g(VY,Object.assign({},Xn(this.$props,jY),{onClose:this.handleClose,onMouseenter:this.duration&&this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.duration&&this.keepAliveOnHover?this.handleMouseleave:void 0})):null})}}),qY=q([z("notification-container",` + `)])]),yX={info:()=>v(Vr,null),success:()=>v(Vi,null),warning:()=>v(Wi,null),error:()=>v(ji,null),default:()=>null},xX=be({name:"Message",props:Object.assign(Object.assign({},KS),{render:Function}),setup(e){const{inlineThemeDisabled:t,mergedRtlRef:n}=st(e),{props:o,mergedClsPrefixRef:r}=Ue(YS),i=pn("Message",n,r),a=Be("Message","-message",bX,FK,o,r),s=F(()=>{const{type:c}=e,{common:{cubicBezierEaseInOut:u},self:{padding:d,margin:f,maxWidth:h,iconMargin:p,closeMargin:g,closeSize:m,iconSize:b,fontSize:_,lineHeight:C,borderRadius:S,iconColorInfo:w,iconColorSuccess:x,iconColorWarning:y,iconColorError:P,iconColorLoading:k,closeIconSize:T,closeBorderRadius:E,[Re("textColor",c)]:R,[Re("boxShadow",c)]:K,[Re("color",c)]:N,[Re("closeColorHover",c)]:D,[Re("closeColorPressed",c)]:M,[Re("closeIconColor",c)]:G,[Re("closeIconColorPressed",c)]:J,[Re("closeIconColorHover",c)]:he}}=a.value;return{"--n-bezier":u,"--n-margin":f,"--n-padding":d,"--n-max-width":h,"--n-font-size":_,"--n-icon-margin":p,"--n-icon-size":b,"--n-close-icon-size":T,"--n-close-border-radius":E,"--n-close-size":m,"--n-close-margin":g,"--n-text-color":R,"--n-color":N,"--n-box-shadow":K,"--n-icon-color-info":w,"--n-icon-color-success":x,"--n-icon-color-warning":y,"--n-icon-color-error":P,"--n-icon-color-loading":k,"--n-close-color-hover":D,"--n-close-color-pressed":M,"--n-close-icon-color":G,"--n-close-icon-color-pressed":J,"--n-close-icon-color-hover":he,"--n-line-height":C,"--n-border-radius":S}}),l=t?Pt("message",F(()=>e.type[0]),s,{}):void 0;return{mergedClsPrefix:r,rtlEnabled:i,messageProviderProps:o,handleClose(){var c;(c=e.onClose)===null||c===void 0||c.call(e)},cssVars:t?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender,placement:o.placement}},render(){const{render:e,type:t,closable:n,content:o,mergedClsPrefix:r,cssVars:i,themeClass:a,onRender:s,icon:l,handleClose:c,showIcon:u}=this;s==null||s();let d;return v("div",{class:[`${r}-message-wrapper`,a],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:[{alignItems:this.placement.startsWith("top")?"flex-start":"flex-end"},i]},e?e(this.$props):v("div",{class:[`${r}-message ${r}-message--${t}-type`,this.rtlEnabled&&`${r}-message--rtl`]},(d=CX(l,t,r))&&u?v("div",{class:`${r}-message__icon ${r}-message__icon--${t}-type`},v(Ui,null,{default:()=>d})):null,v("div",{class:`${r}-message__content`},Wt(o)),n?v(qi,{clsPrefix:r,class:`${r}-message__close`,onClick:c,absolute:!0}):null))}});function CX(e,t,n){if(typeof e=="function")return e();{const o=t==="loading"?v(ti,{clsPrefix:n,strokeWidth:24,scale:.85}):yX[t]();return o?v(Ut,{clsPrefix:n,key:t},{default:()=>o}):null}}const wX=be({name:"MessageEnvironment",props:Object.assign(Object.assign({},KS),{duration:{type:Number,default:3e3},onAfterLeave:Function,onLeave:Function,internalKey:{type:String,required:!0},onInternalAfterLeave:Function,onHide:Function,onAfterHide:Function}),setup(e){let t=null;const n=W(!0);jt(()=>{o()});function o(){const{duration:u}=e;u&&(t=window.setTimeout(a,u))}function r(u){u.currentTarget===u.target&&t!==null&&(window.clearTimeout(t),t=null)}function i(u){u.currentTarget===u.target&&o()}function a(){const{onHide:u}=e;n.value=!1,t&&(window.clearTimeout(t),t=null),u&&u()}function s(){const{onClose:u}=e;u&&u(),a()}function l(){const{onAfterLeave:u,onInternalAfterLeave:d,onAfterHide:f,internalKey:h}=e;u&&u(),d&&d(h),f&&f()}function c(){a()}return{show:n,hide:a,handleClose:s,handleAfterLeave:l,handleMouseleave:i,handleMouseenter:r,deactivate:c}},render(){return v(Ou,{appear:!0,onAfterLeave:this.handleAfterLeave,onLeave:this.onLeave},{default:()=>[this.show?v(xX,{content:this.content,type:this.type,icon:this.icon,showIcon:this.showIcon,closable:this.closable,onClose:this.handleClose,onMouseenter:this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.keepAliveOnHover?this.handleMouseleave:void 0}):null]})}}),_X=Object.assign(Object.assign({},Be.props),{to:[String,Object],duration:{type:Number,default:3e3},keepAliveOnHover:Boolean,max:Number,placement:{type:String,default:"top"},closable:Boolean,containerClass:String,containerStyle:[String,Object]}),SX=be({name:"MessageProvider",props:_X,setup(e){const{mergedClsPrefixRef:t}=st(e),n=W([]),o=W({}),r={create(l,c){return i(l,Object.assign({type:"default"},c))},info(l,c){return i(l,Object.assign(Object.assign({},c),{type:"info"}))},success(l,c){return i(l,Object.assign(Object.assign({},c),{type:"success"}))},warning(l,c){return i(l,Object.assign(Object.assign({},c),{type:"warning"}))},error(l,c){return i(l,Object.assign(Object.assign({},c),{type:"error"}))},loading(l,c){return i(l,Object.assign(Object.assign({},c),{type:"loading"}))},destroyAll:s};at(YS,{props:e,mergedClsPrefixRef:t}),at(GS,r);function i(l,c){const u=Zr(),d=eo(Object.assign(Object.assign({},c),{content:l,key:u,destroy:()=>{var h;(h=o.value[u])===null||h===void 0||h.hide()}})),{max:f}=e;return f&&n.value.length>=f&&n.value.shift(),n.value.push(d),d}function a(l){n.value.splice(n.value.findIndex(c=>c.key===l),1),delete o.value[l]}function s(){Object.values(o.value).forEach(l=>{l.hide()})}return Object.assign({mergedClsPrefix:t,messageRefs:o,messageList:n,handleAfterLeave:a},r)},render(){var e,t,n;return v(it,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.messageList.length?v(nu,{to:(n=this.to)!==null&&n!==void 0?n:"body"},v("div",{class:[`${this.mergedClsPrefix}-message-container`,`${this.mergedClsPrefix}-message-container--${this.placement}`,this.containerClass],key:"message-container",style:this.containerStyle},this.messageList.map(o=>v(wX,Object.assign({ref:r=>{r&&(this.messageRefs[o.key]=r)},internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave},ja(o,["destroy"],void 0),{duration:o.duration===void 0?this.duration:o.duration,keepAliveOnHover:o.keepAliveOnHover===void 0?this.keepAliveOnHover:o.keepAliveOnHover,closable:o.closable===void 0?this.closable:o.closable}))))):null)}});function kX(){const e=Ue(GS,null);return e===null&&fr("use-message","No outer founded. See prerequisite in https://www.naiveui.com/en-US/os-theme/components/message for more details. If you want to use `useMessage` outside setup, please check https://www.naiveui.com/zh-CN/os-theme/components/message#Q-&-A."),e}const PX=be({name:"ModalEnvironment",props:Object.assign(Object.assign({},xS),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=W(!0);function n(){const{onInternalAfterLeave:u,internalKey:d,onAfterLeave:f}=e;u&&u(d),f&&f()}function o(){const{onPositiveClick:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function r(){const{onNegativeClick:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function i(){const{onClose:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function a(u){const{onMaskClick:d,maskClosable:f}=e;d&&(d(u),f&&l())}function s(){const{onEsc:u}=e;u&&u()}function l(){t.value=!1}function c(u){t.value=u}return{show:t,hide:l,handleUpdateShow:c,handleAfterLeave:n,handleCloseClick:i,handleNegativeClick:r,handlePositiveClick:o,handleMaskClick:a,handleEsc:s}},render(){const{handleUpdateShow:e,handleAfterLeave:t,handleMaskClick:n,handleEsc:o,show:r}=this;return v(ni,Object.assign({},this.$props,{show:r,onUpdateShow:e,onMaskClick:n,onEsc:o,onAfterLeave:t,internalAppear:!0,internalModal:!0}))}}),v1="n-modal-provider",XS="n-modal-api",TX="n-modal-reactive-list",RX={to:[String,Object]},EX=be({name:"ModalProvider",props:RX,setup(){const e=Ac(64),t=$c(),n=W([]),o={};function r(l={}){const c=Zr(),u=eo(Object.assign(Object.assign({},l),{key:c,destroy:()=>{var d;(d=o[`n-modal-${c}`])===null||d===void 0||d.hide()}}));return n.value.push(u),u}function i(l){const{value:c}=n;c.splice(c.findIndex(u=>u.key===l),1)}function a(){Object.values(o).forEach(l=>{l==null||l.hide()})}const s={create:r,destroyAll:a};return at(XS,s),at(v1,{clickedRef:Ac(64),clickedPositionRef:$c()}),at(TX,n),at(v1,{clickedRef:e,clickedPositionRef:t}),Object.assign(Object.assign({},s),{modalList:n,modalInstRefs:o,handleAfterLeave:i})},render(){var e,t;return v(it,null,[this.modalList.map(n=>{var o;return v(PX,ja(n,["destroy"],{to:(o=n.to)!==null&&o!==void 0?o:this.to,ref:r=>{r===null?delete this.modalInstRefs[`n-modal-${n.key}`]:this.modalInstRefs[`n-modal-${n.key}`]=r},internalKey:n.key,onInternalAfterLeave:this.handleAfterLeave}))}),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)])}});function $X(){const e=Ue(XS,null);return e===null&&fr("use-modal","No outer founded."),e}const ju="n-notification-provider",AX=be({name:"NotificationContainer",props:{scrollable:{type:Boolean,required:!0},placement:{type:String,required:!0}},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t,wipTransitionCountRef:n}=Ue(ju),o=W(null);return Xt(()=>{var r,i;n.value>0?(r=o==null?void 0:o.value)===null||r===void 0||r.classList.add("transitioning"):(i=o==null?void 0:o.value)===null||i===void 0||i.classList.remove("transitioning")}),{selfRef:o,mergedTheme:e,mergedClsPrefix:t,transitioning:n}},render(){const{$slots:e,scrollable:t,mergedClsPrefix:n,mergedTheme:o,placement:r}=this;return v("div",{ref:"selfRef",class:[`${n}-notification-container`,t&&`${n}-notification-container--scrollable`,`${n}-notification-container--${r}`]},t?v(Io,{theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,contentStyle:{overflow:"hidden"}},e):e)}}),IX={info:()=>v(Vr,null),success:()=>v(Vi,null),warning:()=>v(Wi,null),error:()=>v(ji,null),default:()=>null},Bm={closable:{type:Boolean,default:!0},type:{type:String,default:"default"},avatar:Function,title:[String,Function],description:[String,Function],content:[String,Function],meta:[String,Function],action:[String,Function],onClose:{type:Function,required:!0},keepAliveOnHover:Boolean,onMouseenter:Function,onMouseleave:Function},OX=Jr(Bm),MX=be({name:"Notification",props:Bm,setup(e){const{mergedClsPrefixRef:t,mergedThemeRef:n,props:o}=Ue(ju),{inlineThemeDisabled:r,mergedRtlRef:i}=st(),a=pn("Notification",i,t),s=F(()=>{const{type:c}=e,{self:{color:u,textColor:d,closeIconColor:f,closeIconColorHover:h,closeIconColorPressed:p,headerTextColor:g,descriptionTextColor:m,actionTextColor:b,borderRadius:_,headerFontWeight:C,boxShadow:S,lineHeight:w,fontSize:x,closeMargin:y,closeSize:P,width:k,padding:T,closeIconSize:E,closeBorderRadius:R,closeColorHover:K,closeColorPressed:N,titleFontSize:D,metaFontSize:M,descriptionFontSize:G,[Re("iconColor",c)]:J},common:{cubicBezierEaseOut:he,cubicBezierEaseIn:pe,cubicBezierEaseInOut:B}}=n.value,{left:$,right:A,top:Y,bottom:ne}=lo(T);return{"--n-color":u,"--n-font-size":x,"--n-text-color":d,"--n-description-text-color":m,"--n-action-text-color":b,"--n-title-text-color":g,"--n-title-font-weight":C,"--n-bezier":B,"--n-bezier-ease-out":he,"--n-bezier-ease-in":pe,"--n-border-radius":_,"--n-box-shadow":S,"--n-close-border-radius":R,"--n-close-color-hover":K,"--n-close-color-pressed":N,"--n-close-icon-color":f,"--n-close-icon-color-hover":h,"--n-close-icon-color-pressed":p,"--n-line-height":w,"--n-icon-color":J,"--n-close-margin":y,"--n-close-size":P,"--n-close-icon-size":E,"--n-width":k,"--n-padding-left":$,"--n-padding-right":A,"--n-padding-top":Y,"--n-padding-bottom":ne,"--n-title-font-size":D,"--n-meta-font-size":M,"--n-description-font-size":G}}),l=r?Pt("notification",F(()=>e.type[0]),s,o):void 0;return{mergedClsPrefix:t,showAvatar:F(()=>e.avatar||e.type!=="default"),handleCloseClick(){e.onClose()},rtlEnabled:a,cssVars:r?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){var e;const{mergedClsPrefix:t}=this;return(e=this.onRender)===null||e===void 0||e.call(this),v("div",{class:[`${t}-notification-wrapper`,this.themeClass],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:this.cssVars},v("div",{class:[`${t}-notification`,this.rtlEnabled&&`${t}-notification--rtl`,this.themeClass,{[`${t}-notification--closable`]:this.closable,[`${t}-notification--show-avatar`]:this.showAvatar}],style:this.cssVars},this.showAvatar?v("div",{class:`${t}-notification__avatar`},this.avatar?Wt(this.avatar):this.type!=="default"?v(Ut,{clsPrefix:t},{default:()=>IX[this.type]()}):null):null,this.closable?v(qi,{clsPrefix:t,class:`${t}-notification__close`,onClick:this.handleCloseClick}):null,v("div",{ref:"bodyRef",class:`${t}-notification-main`},this.title?v("div",{class:`${t}-notification-main__header`},Wt(this.title)):null,this.description?v("div",{class:`${t}-notification-main__description`},Wt(this.description)):null,this.content?v("pre",{class:`${t}-notification-main__content`},Wt(this.content)):null,this.meta||this.action?v("div",{class:`${t}-notification-main-footer`},this.meta?v("div",{class:`${t}-notification-main-footer__meta`},Wt(this.meta)):null,this.action?v("div",{class:`${t}-notification-main-footer__action`},Wt(this.action)):null):null)))}}),zX=Object.assign(Object.assign({},Bm),{duration:Number,onClose:Function,onLeave:Function,onAfterEnter:Function,onAfterLeave:Function,onHide:Function,onAfterShow:Function,onAfterHide:Function}),DX=be({name:"NotificationEnvironment",props:Object.assign(Object.assign({},zX),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const{wipTransitionCountRef:t}=Ue(ju),n=W(!0);let o=null;function r(){n.value=!1,o&&window.clearTimeout(o)}function i(p){t.value++,Ht(()=>{p.style.height=`${p.offsetHeight}px`,p.style.maxHeight="0",p.style.transition="none",p.offsetHeight,p.style.transition="",p.style.maxHeight=p.style.height})}function a(p){t.value--,p.style.height="",p.style.maxHeight="";const{onAfterEnter:g,onAfterShow:m}=e;g&&g(),m&&m()}function s(p){t.value++,p.style.maxHeight=`${p.offsetHeight}px`,p.style.height=`${p.offsetHeight}px`,p.offsetHeight}function l(p){const{onHide:g}=e;g&&g(),p.style.maxHeight="0",p.offsetHeight}function c(){t.value--;const{onAfterLeave:p,onInternalAfterLeave:g,onAfterHide:m,internalKey:b}=e;p&&p(),g(b),m&&m()}function u(){const{duration:p}=e;p&&(o=window.setTimeout(r,p))}function d(p){p.currentTarget===p.target&&o!==null&&(window.clearTimeout(o),o=null)}function f(p){p.currentTarget===p.target&&u()}function h(){const{onClose:p}=e;p?Promise.resolve(p()).then(g=>{g!==!1&&r()}):r()}return jt(()=>{e.duration&&(o=window.setTimeout(r,e.duration))}),{show:n,hide:r,handleClose:h,handleAfterLeave:c,handleLeave:l,handleBeforeLeave:s,handleAfterEnter:a,handleBeforeEnter:i,handleMouseenter:d,handleMouseleave:f}},render(){return v(fn,{name:"notification-transition",appear:!0,onBeforeEnter:this.handleBeforeEnter,onAfterEnter:this.handleAfterEnter,onBeforeLeave:this.handleBeforeLeave,onLeave:this.handleLeave,onAfterLeave:this.handleAfterLeave},{default:()=>this.show?v(MX,Object.assign({},Qn(this.$props,OX),{onClose:this.handleClose,onMouseenter:this.duration&&this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.duration&&this.keepAliveOnHover?this.handleMouseleave:void 0})):null})}}),LX=q([z("notification-container",` z-index: 4000; position: fixed; overflow: visible; @@ -3290,13 +3296,13 @@ ${t} margin-right: 28px; `)]),Z("top-right",` right: 0; - `,[Ul("top-right")]),Z("top-left",` + `,[Kl("top-right")]),Z("top-left",` left: 0; - `,[Ul("top-left")]),Z("bottom-right",` + `,[Kl("top-left")]),Z("bottom-right",` right: 0; - `,[Ul("bottom-right")]),Z("bottom-left",` + `,[Kl("bottom-right")]),Z("bottom-left",` left: 0; - `,[Ul("bottom-left")]),Z("scrollable",[Z("top-right",` + `,[Kl("bottom-left")]),Z("scrollable",[Z("top-right",` top: 0; `),Z("top-left",` top: 0; @@ -3423,11 +3429,11 @@ ${t} word-wrap: break-word; transition: color .3s var(--n-bezier-ease-out); color: var(--n-text-color); - `,[q("&:first-child","margin: 0;")])])])])]);function Ul(e){const n=e.split("-")[1]==="left"?"calc(-100%)":"calc(100%)",o="0";return z("notification-wrapper",[q("&.notification-transition-enter-from, &.notification-transition-leave-to",` + `,[q("&:first-child","margin: 0;")])])])])]);function Kl(e){const n=e.split("-")[1]==="left"?"calc(-100%)":"calc(100%)",o="0";return z("notification-wrapper",[q("&.notification-transition-enter-from, &.notification-transition-leave-to",` transform: translate(${n}, 0); `),q("&.notification-transition-leave-from, &.notification-transition-enter-to",` transform: translate(${o}, 0); - `)])}const SS="n-notification-api",KY=Object.assign(Object.assign({},Be.props),{containerClass:String,containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),GY=ve({name:"NotificationProvider",props:KY,setup(e){const{mergedClsPrefixRef:t}=st(e),n=W([]),o={},r=new Set;function i(p){const h=Gr(),m=()=>{r.add(h),o[h]&&o[h].hide()},v=Zn(Object.assign(Object.assign({},p),{key:h,destroy:m,hide:m,deactivate:m})),{max:b}=e;if(b&&n.value.length-r.size>=b){let w=!1,C=0;for(const S of n.value){if(!r.has(S.key)){o[S.key]&&(S.destroy(),w=!0);break}C++}w||n.value.splice(C,1)}return n.value.push(v),v}const a=["info","success","warning","error"].map(p=>h=>i(Object.assign(Object.assign({},h),{type:p})));function s(p){r.delete(p),n.value.splice(n.value.findIndex(h=>h.key===p),1)}const l=Be("Notification","-notification",qY,jq,e,t),c={create:i,info:a[0],success:a[1],warning:a[2],error:a[3],open:d,destroyAll:f},u=W(0);at(SS,c),at(Fu,{props:e,mergedClsPrefixRef:t,mergedThemeRef:l,wipTransitionCountRef:u});function d(p){return i(p)}function f(){Object.values(n.value).forEach(p=>{p.hide()})}return Object.assign({mergedClsPrefix:t,notificationList:n,notificationRefs:o,handleAfterLeave:s},c)},render(){var e,t,n;const{placement:o}=this;return g(rt,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.notificationList.length?g(eu,{to:(n=this.to)!==null&&n!==void 0?n:"body"},g(NY,{class:this.containerClass,style:this.containerStyle,scrollable:this.scrollable&&o!=="top"&&o!=="bottom",placement:o},{default:()=>this.notificationList.map(r=>g(UY,Object.assign({ref:i=>{const a=r.key;i===null?delete this.notificationRefs[a]:this.notificationRefs[a]=i}},Da(r,["destroy","hide","deactivate"]),{internalKey:r.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:r.keepAliveOnHover===void 0?this.keepAliveOnHover:r.keepAliveOnHover})))})):null)}});function YY(){const e=We(SS,null);return e===null&&ur("use-notification","No outer `n-notification-provider` found."),e}const XY=q([z("progress",{display:"inline-block"},[z("progress-icon",` + `)])}const ZS="n-notification-api",FX=Object.assign(Object.assign({},Be.props),{containerClass:String,containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),BX=be({name:"NotificationProvider",props:FX,setup(e){const{mergedClsPrefixRef:t}=st(e),n=W([]),o={},r=new Set;function i(h){const p=Zr(),g=()=>{r.add(p),o[p]&&o[p].hide()},m=eo(Object.assign(Object.assign({},h),{key:p,destroy:g,hide:g,deactivate:g})),{max:b}=e;if(b&&n.value.length-r.size>=b){let _=!1,C=0;for(const S of n.value){if(!r.has(S.key)){o[S.key]&&(S.destroy(),_=!0);break}C++}_||n.value.splice(C,1)}return n.value.push(m),m}const a=["info","success","warning","error"].map(h=>p=>i(Object.assign(Object.assign({},p),{type:h})));function s(h){r.delete(h),n.value.splice(n.value.findIndex(p=>p.key===h),1)}const l=Be("Notification","-notification",LX,OK,e,t),c={create:i,info:a[0],success:a[1],warning:a[2],error:a[3],open:d,destroyAll:f},u=W(0);at(ZS,c),at(ju,{props:e,mergedClsPrefixRef:t,mergedThemeRef:l,wipTransitionCountRef:u});function d(h){return i(h)}function f(){Object.values(n.value).forEach(h=>{h.hide()})}return Object.assign({mergedClsPrefix:t,notificationList:n,notificationRefs:o,handleAfterLeave:s},c)},render(){var e,t,n;const{placement:o}=this;return v(it,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.notificationList.length?v(nu,{to:(n=this.to)!==null&&n!==void 0?n:"body"},v(AX,{class:this.containerClass,style:this.containerStyle,scrollable:this.scrollable&&o!=="top"&&o!=="bottom",placement:o},{default:()=>this.notificationList.map(r=>v(DX,Object.assign({ref:i=>{const a=r.key;i===null?delete this.notificationRefs[a]:this.notificationRefs[a]=i}},ja(r,["destroy","hide","deactivate"]),{internalKey:r.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:r.keepAliveOnHover===void 0?this.keepAliveOnHover:r.keepAliveOnHover})))})):null)}});function NX(){const e=Ue(ZS,null);return e===null&&fr("use-notification","No outer `n-notification-provider` found."),e}const HX=q([z("progress",{display:"inline-block"},[z("progress-icon",` color: var(--n-icon-color); transition: color .3s var(--n-bezier); `),Z("line",` @@ -3590,13 +3596,13 @@ ${t} right: 0; opacity: 0; } - `)]),ZY={success:g(Fi,null),error:g(Li,null),warning:g(Bi,null),info:g(jr,null)},JY=ve({name:"ProgressLine",props:{clsPrefix:{type:String,required:!0},percentage:{type:Number,default:0},railColor:String,railStyle:[String,Object],fillColor:String,status:{type:String,required:!0},indicatorPlacement:{type:String,required:!0},indicatorTextColor:String,unit:{type:String,default:"%"},processing:{type:Boolean,required:!0},showIndicator:{type:Boolean,required:!0},height:[String,Number],railBorderRadius:[String,Number],fillBorderRadius:[String,Number]},setup(e,{slots:t}){const n=L(()=>qt(e.height)),o=L(()=>e.railBorderRadius!==void 0?qt(e.railBorderRadius):e.height!==void 0?qt(e.height,{c:.5}):""),r=L(()=>e.fillBorderRadius!==void 0?qt(e.fillBorderRadius):e.railBorderRadius!==void 0?qt(e.railBorderRadius):e.height!==void 0?qt(e.height,{c:.5}):"");return()=>{const{indicatorPlacement:i,railColor:a,railStyle:s,percentage:l,unit:c,indicatorTextColor:u,status:d,showIndicator:f,fillColor:p,processing:h,clsPrefix:m}=e;return g("div",{class:`${m}-progress-content`,role:"none"},g("div",{class:`${m}-progress-graph`,"aria-hidden":!0},g("div",{class:[`${m}-progress-graph-line`,{[`${m}-progress-graph-line--indicator-${i}`]:!0}]},g("div",{class:`${m}-progress-graph-line-rail`,style:[{backgroundColor:a,height:n.value,borderRadius:o.value},s]},g("div",{class:[`${m}-progress-graph-line-fill`,h&&`${m}-progress-graph-line-fill--processing`],style:{maxWidth:`${e.percentage}%`,backgroundColor:p,height:n.value,lineHeight:n.value,borderRadius:r.value}},i==="inside"?g("div",{class:`${m}-progress-graph-line-indicator`,style:{color:u}},t.default?t.default():`${l}${c}`):null)))),f&&i==="outside"?g("div",null,t.default?g("div",{class:`${m}-progress-custom-content`,style:{color:u},role:"none"},t.default()):d==="default"?g("div",{role:"none",class:`${m}-progress-icon ${m}-progress-icon--as-text`,style:{color:u}},l,c):g("div",{class:`${m}-progress-icon`,"aria-hidden":!0},g(Ut,{clsPrefix:m},{default:()=>ZY[d]}))):null)}}}),QY={success:g(Fi,null),error:g(Li,null),warning:g(Bi,null),info:g(jr,null)},eX=ve({name:"ProgressCircle",props:{clsPrefix:{type:String,required:!0},status:{type:String,required:!0},strokeWidth:{type:Number,required:!0},fillColor:String,railColor:String,railStyle:[String,Object],percentage:{type:Number,default:0},offsetDegree:{type:Number,default:0},showIndicator:{type:Boolean,required:!0},indicatorTextColor:String,unit:String,viewBoxWidth:{type:Number,required:!0},gapDegree:{type:Number,required:!0},gapOffsetDegree:{type:Number,default:0}},setup(e,{slots:t}){function n(o,r,i){const{gapDegree:a,viewBoxWidth:s,strokeWidth:l}=e,c=50,u=0,d=c,f=0,p=2*c,h=50+l/2,m=`M ${h},${h} m ${u},${d} - a ${c},${c} 0 1 1 ${f},${-p} - a ${c},${c} 0 1 1 ${-f},${p}`,v=Math.PI*2*c,b={stroke:i,strokeDasharray:`${o/100*(v-a)}px ${s*8}px`,strokeDashoffset:`-${a/2}px`,transformOrigin:r?"center":void 0,transform:r?`rotate(${r}deg)`:void 0};return{pathString:m,pathStyle:b}}return()=>{const{fillColor:o,railColor:r,strokeWidth:i,offsetDegree:a,status:s,percentage:l,showIndicator:c,indicatorTextColor:u,unit:d,gapOffsetDegree:f,clsPrefix:p}=e,{pathString:h,pathStyle:m}=n(100,0,r),{pathString:v,pathStyle:b}=n(l,a,o),w=100+i;return g("div",{class:`${p}-progress-content`,role:"none"},g("div",{class:`${p}-progress-graph`,"aria-hidden":!0},g("div",{class:`${p}-progress-graph-circle`,style:{transform:f?`rotate(${f}deg)`:void 0}},g("svg",{viewBox:`0 0 ${w} ${w}`},g("g",null,g("path",{class:`${p}-progress-graph-circle-rail`,d:h,"stroke-width":i,"stroke-linecap":"round",fill:"none",style:m})),g("g",null,g("path",{class:[`${p}-progress-graph-circle-fill`,l===0&&`${p}-progress-graph-circle-fill--empty`],d:v,"stroke-width":i,"stroke-linecap":"round",fill:"none",style:b}))))),c?g("div",null,t.default?g("div",{class:`${p}-progress-custom-content`,role:"none"},t.default()):s!=="default"?g("div",{class:`${p}-progress-icon`,"aria-hidden":!0},g(Ut,{clsPrefix:p},{default:()=>QY[s]})):g("div",{class:`${p}-progress-text`,style:{color:u},role:"none"},g("span",{class:`${p}-progress-text__percentage`},l),g("span",{class:`${p}-progress-text__unit`},d))):null)}}});function t1(e,t,n=100){return`m ${n/2} ${n/2-e} a ${e} ${e} 0 1 1 0 ${2*e} a ${e} ${e} 0 1 1 0 -${2*e}`}const tX=ve({name:"ProgressMultipleCircle",props:{clsPrefix:{type:String,required:!0},viewBoxWidth:{type:Number,required:!0},percentage:{type:Array,default:[0]},strokeWidth:{type:Number,required:!0},circleGap:{type:Number,required:!0},showIndicator:{type:Boolean,required:!0},fillColor:{type:Array,default:()=>[]},railColor:{type:Array,default:()=>[]},railStyle:{type:Array,default:()=>[]}},setup(e,{slots:t}){const n=L(()=>e.percentage.map((r,i)=>`${Math.PI*r/100*(e.viewBoxWidth/2-e.strokeWidth/2*(1+2*i)-e.circleGap*i)*2}, ${e.viewBoxWidth*8}`));return()=>{const{viewBoxWidth:o,strokeWidth:r,circleGap:i,showIndicator:a,fillColor:s,railColor:l,railStyle:c,percentage:u,clsPrefix:d}=e;return g("div",{class:`${d}-progress-content`,role:"none"},g("div",{class:`${d}-progress-graph`,"aria-hidden":!0},g("div",{class:`${d}-progress-graph-circle`},g("svg",{viewBox:`0 0 ${o} ${o}`},u.map((f,p)=>g("g",{key:p},g("path",{class:`${d}-progress-graph-circle-rail`,d:t1(o/2-r/2*(1+2*p)-i*p,r,o),"stroke-width":r,"stroke-linecap":"round",fill:"none",style:[{strokeDashoffset:0,stroke:l[p]},c[p]]}),g("path",{class:[`${d}-progress-graph-circle-fill`,f===0&&`${d}-progress-graph-circle-fill--empty`],d:t1(o/2-r/2*(1+2*p)-i*p,r,o),"stroke-width":r,"stroke-linecap":"round",fill:"none",style:{strokeDasharray:n.value[p],strokeDashoffset:0,stroke:s[p]}})))))),a&&t.default?g("div",null,g("div",{class:`${d}-progress-text`},t.default())):null)}}}),nX=Object.assign(Object.assign({},Be.props),{processing:Boolean,type:{type:String,default:"line"},gapDegree:Number,gapOffsetDegree:Number,status:{type:String,default:"default"},railColor:[String,Array],railStyle:[String,Array],color:[String,Array],viewBoxWidth:{type:Number,default:100},strokeWidth:{type:Number,default:7},percentage:[Number,Array],unit:{type:String,default:"%"},showIndicator:{type:Boolean,default:!0},indicatorPosition:{type:String,default:"outside"},indicatorPlacement:{type:String,default:"outside"},indicatorTextColor:String,circleGap:{type:Number,default:1},height:Number,borderRadius:[String,Number],fillBorderRadius:[String,Number],offsetDegree:Number}),oX=ve({name:"Progress",props:nX,setup(e){const t=L(()=>e.indicatorPlacement||e.indicatorPosition),n=L(()=>{if(e.gapDegree||e.gapDegree===0)return e.gapDegree;if(e.type==="dashboard")return 75}),{mergedClsPrefixRef:o,inlineThemeDisabled:r}=st(e),i=Be("Progress","-progress",XY,zK,e,o),a=L(()=>{const{status:l}=e,{common:{cubicBezierEaseInOut:c},self:{fontSize:u,fontSizeCircle:d,railColor:f,railHeight:p,iconSizeCircle:h,iconSizeLine:m,textColorCircle:v,textColorLineInner:b,textColorLineOuter:w,lineBgProcessing:C,fontWeightCircle:S,[Te("iconColor",l)]:_,[Te("fillColor",l)]:x}}=i.value;return{"--n-bezier":c,"--n-fill-color":x,"--n-font-size":u,"--n-font-size-circle":d,"--n-font-weight-circle":S,"--n-icon-color":_,"--n-icon-size-circle":h,"--n-icon-size-line":m,"--n-line-bg-processing":C,"--n-rail-color":f,"--n-rail-height":p,"--n-text-color-circle":v,"--n-text-color-line-inner":b,"--n-text-color-line-outer":w}}),s=r?kt("progress",L(()=>e.status[0]),a,e):void 0;return{mergedClsPrefix:o,mergedIndicatorPlacement:t,gapDeg:n,cssVars:r?void 0:a,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender}},render(){const{type:e,cssVars:t,indicatorTextColor:n,showIndicator:o,status:r,railColor:i,railStyle:a,color:s,percentage:l,viewBoxWidth:c,strokeWidth:u,mergedIndicatorPlacement:d,unit:f,borderRadius:p,fillBorderRadius:h,height:m,processing:v,circleGap:b,mergedClsPrefix:w,gapDeg:C,gapOffsetDegree:S,themeClass:_,$slots:x,onRender:y}=this;return y==null||y(),g("div",{class:[_,`${w}-progress`,`${w}-progress--${e}`,`${w}-progress--${r}`],style:t,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":l,role:e==="circle"||e==="line"||e==="dashboard"?"progressbar":"none"},e==="circle"||e==="dashboard"?g(eX,{clsPrefix:w,status:r,showIndicator:o,indicatorTextColor:n,railColor:i,fillColor:s,railStyle:a,offsetDegree:this.offsetDegree,percentage:l,viewBoxWidth:c,strokeWidth:u,gapDegree:C===void 0?e==="dashboard"?75:0:C,gapOffsetDegree:S,unit:f},x):e==="line"?g(JY,{clsPrefix:w,status:r,showIndicator:o,indicatorTextColor:n,railColor:i,fillColor:s,railStyle:a,percentage:l,processing:v,indicatorPlacement:d,unit:f,fillBorderRadius:h,railBorderRadius:p,height:m},x):e==="multiple-circle"?g(tX,{clsPrefix:w,strokeWidth:u,railColor:i,fillColor:s,railStyle:a,viewBoxWidth:c,percentage:l,showIndicator:o,circleGap:b},x):null)}}),rX=q([z("qr-code",` + `)]),jX={success:v(Vi,null),error:v(ji,null),warning:v(Wi,null),info:v(Vr,null)},VX=be({name:"ProgressLine",props:{clsPrefix:{type:String,required:!0},percentage:{type:Number,default:0},railColor:String,railStyle:[String,Object],fillColor:String,status:{type:String,required:!0},indicatorPlacement:{type:String,required:!0},indicatorTextColor:String,unit:{type:String,default:"%"},processing:{type:Boolean,required:!0},showIndicator:{type:Boolean,required:!0},height:[String,Number],railBorderRadius:[String,Number],fillBorderRadius:[String,Number]},setup(e,{slots:t}){const n=F(()=>qt(e.height)),o=F(()=>e.railBorderRadius!==void 0?qt(e.railBorderRadius):e.height!==void 0?qt(e.height,{c:.5}):""),r=F(()=>e.fillBorderRadius!==void 0?qt(e.fillBorderRadius):e.railBorderRadius!==void 0?qt(e.railBorderRadius):e.height!==void 0?qt(e.height,{c:.5}):"");return()=>{const{indicatorPlacement:i,railColor:a,railStyle:s,percentage:l,unit:c,indicatorTextColor:u,status:d,showIndicator:f,fillColor:h,processing:p,clsPrefix:g}=e;return v("div",{class:`${g}-progress-content`,role:"none"},v("div",{class:`${g}-progress-graph`,"aria-hidden":!0},v("div",{class:[`${g}-progress-graph-line`,{[`${g}-progress-graph-line--indicator-${i}`]:!0}]},v("div",{class:`${g}-progress-graph-line-rail`,style:[{backgroundColor:a,height:n.value,borderRadius:o.value},s]},v("div",{class:[`${g}-progress-graph-line-fill`,p&&`${g}-progress-graph-line-fill--processing`],style:{maxWidth:`${e.percentage}%`,backgroundColor:h,height:n.value,lineHeight:n.value,borderRadius:r.value}},i==="inside"?v("div",{class:`${g}-progress-graph-line-indicator`,style:{color:u}},t.default?t.default():`${l}${c}`):null)))),f&&i==="outside"?v("div",null,t.default?v("div",{class:`${g}-progress-custom-content`,style:{color:u},role:"none"},t.default()):d==="default"?v("div",{role:"none",class:`${g}-progress-icon ${g}-progress-icon--as-text`,style:{color:u}},l,c):v("div",{class:`${g}-progress-icon`,"aria-hidden":!0},v(Ut,{clsPrefix:g},{default:()=>jX[d]}))):null)}}}),WX={success:v(Vi,null),error:v(ji,null),warning:v(Wi,null),info:v(Vr,null)},UX=be({name:"ProgressCircle",props:{clsPrefix:{type:String,required:!0},status:{type:String,required:!0},strokeWidth:{type:Number,required:!0},fillColor:String,railColor:String,railStyle:[String,Object],percentage:{type:Number,default:0},offsetDegree:{type:Number,default:0},showIndicator:{type:Boolean,required:!0},indicatorTextColor:String,unit:String,viewBoxWidth:{type:Number,required:!0},gapDegree:{type:Number,required:!0},gapOffsetDegree:{type:Number,default:0}},setup(e,{slots:t}){function n(o,r,i){const{gapDegree:a,viewBoxWidth:s,strokeWidth:l}=e,c=50,u=0,d=c,f=0,h=2*c,p=50+l/2,g=`M ${p},${p} m ${u},${d} + a ${c},${c} 0 1 1 ${f},${-h} + a ${c},${c} 0 1 1 ${-f},${h}`,m=Math.PI*2*c,b={stroke:i,strokeDasharray:`${o/100*(m-a)}px ${s*8}px`,strokeDashoffset:`-${a/2}px`,transformOrigin:r?"center":void 0,transform:r?`rotate(${r}deg)`:void 0};return{pathString:g,pathStyle:b}}return()=>{const{fillColor:o,railColor:r,strokeWidth:i,offsetDegree:a,status:s,percentage:l,showIndicator:c,indicatorTextColor:u,unit:d,gapOffsetDegree:f,clsPrefix:h}=e,{pathString:p,pathStyle:g}=n(100,0,r),{pathString:m,pathStyle:b}=n(l,a,o),_=100+i;return v("div",{class:`${h}-progress-content`,role:"none"},v("div",{class:`${h}-progress-graph`,"aria-hidden":!0},v("div",{class:`${h}-progress-graph-circle`,style:{transform:f?`rotate(${f}deg)`:void 0}},v("svg",{viewBox:`0 0 ${_} ${_}`},v("g",null,v("path",{class:`${h}-progress-graph-circle-rail`,d:p,"stroke-width":i,"stroke-linecap":"round",fill:"none",style:g})),v("g",null,v("path",{class:[`${h}-progress-graph-circle-fill`,l===0&&`${h}-progress-graph-circle-fill--empty`],d:m,"stroke-width":i,"stroke-linecap":"round",fill:"none",style:b}))))),c?v("div",null,t.default?v("div",{class:`${h}-progress-custom-content`,role:"none"},t.default()):s!=="default"?v("div",{class:`${h}-progress-icon`,"aria-hidden":!0},v(Ut,{clsPrefix:h},{default:()=>WX[s]})):v("div",{class:`${h}-progress-text`,style:{color:u},role:"none"},v("span",{class:`${h}-progress-text__percentage`},l),v("span",{class:`${h}-progress-text__unit`},d))):null)}}});function b1(e,t,n=100){return`m ${n/2} ${n/2-e} a ${e} ${e} 0 1 1 0 ${2*e} a ${e} ${e} 0 1 1 0 -${2*e}`}const qX=be({name:"ProgressMultipleCircle",props:{clsPrefix:{type:String,required:!0},viewBoxWidth:{type:Number,required:!0},percentage:{type:Array,default:[0]},strokeWidth:{type:Number,required:!0},circleGap:{type:Number,required:!0},showIndicator:{type:Boolean,required:!0},fillColor:{type:Array,default:()=>[]},railColor:{type:Array,default:()=>[]},railStyle:{type:Array,default:()=>[]}},setup(e,{slots:t}){const n=F(()=>e.percentage.map((r,i)=>`${Math.PI*r/100*(e.viewBoxWidth/2-e.strokeWidth/2*(1+2*i)-e.circleGap*i)*2}, ${e.viewBoxWidth*8}`));return()=>{const{viewBoxWidth:o,strokeWidth:r,circleGap:i,showIndicator:a,fillColor:s,railColor:l,railStyle:c,percentage:u,clsPrefix:d}=e;return v("div",{class:`${d}-progress-content`,role:"none"},v("div",{class:`${d}-progress-graph`,"aria-hidden":!0},v("div",{class:`${d}-progress-graph-circle`},v("svg",{viewBox:`0 0 ${o} ${o}`},u.map((f,h)=>v("g",{key:h},v("path",{class:`${d}-progress-graph-circle-rail`,d:b1(o/2-r/2*(1+2*h)-i*h,r,o),"stroke-width":r,"stroke-linecap":"round",fill:"none",style:[{strokeDashoffset:0,stroke:l[h]},c[h]]}),v("path",{class:[`${d}-progress-graph-circle-fill`,f===0&&`${d}-progress-graph-circle-fill--empty`],d:b1(o/2-r/2*(1+2*h)-i*h,r,o),"stroke-width":r,"stroke-linecap":"round",fill:"none",style:{strokeDasharray:n.value[h],strokeDashoffset:0,stroke:s[h]}})))))),a&&t.default?v("div",null,v("div",{class:`${d}-progress-text`},t.default())):null)}}}),KX=Object.assign(Object.assign({},Be.props),{processing:Boolean,type:{type:String,default:"line"},gapDegree:Number,gapOffsetDegree:Number,status:{type:String,default:"default"},railColor:[String,Array],railStyle:[String,Array],color:[String,Array],viewBoxWidth:{type:Number,default:100},strokeWidth:{type:Number,default:7},percentage:[Number,Array],unit:{type:String,default:"%"},showIndicator:{type:Boolean,default:!0},indicatorPosition:{type:String,default:"outside"},indicatorPlacement:{type:String,default:"outside"},indicatorTextColor:String,circleGap:{type:Number,default:1},height:Number,borderRadius:[String,Number],fillBorderRadius:[String,Number],offsetDegree:Number}),GX=be({name:"Progress",props:KX,setup(e){const t=F(()=>e.indicatorPlacement||e.indicatorPosition),n=F(()=>{if(e.gapDegree||e.gapDegree===0)return e.gapDegree;if(e.type==="dashboard")return 75}),{mergedClsPrefixRef:o,inlineThemeDisabled:r}=st(e),i=Be("Progress","-progress",HX,PG,e,o),a=F(()=>{const{status:l}=e,{common:{cubicBezierEaseInOut:c},self:{fontSize:u,fontSizeCircle:d,railColor:f,railHeight:h,iconSizeCircle:p,iconSizeLine:g,textColorCircle:m,textColorLineInner:b,textColorLineOuter:_,lineBgProcessing:C,fontWeightCircle:S,[Re("iconColor",l)]:w,[Re("fillColor",l)]:x}}=i.value;return{"--n-bezier":c,"--n-fill-color":x,"--n-font-size":u,"--n-font-size-circle":d,"--n-font-weight-circle":S,"--n-icon-color":w,"--n-icon-size-circle":p,"--n-icon-size-line":g,"--n-line-bg-processing":C,"--n-rail-color":f,"--n-rail-height":h,"--n-text-color-circle":m,"--n-text-color-line-inner":b,"--n-text-color-line-outer":_}}),s=r?Pt("progress",F(()=>e.status[0]),a,e):void 0;return{mergedClsPrefix:o,mergedIndicatorPlacement:t,gapDeg:n,cssVars:r?void 0:a,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender}},render(){const{type:e,cssVars:t,indicatorTextColor:n,showIndicator:o,status:r,railColor:i,railStyle:a,color:s,percentage:l,viewBoxWidth:c,strokeWidth:u,mergedIndicatorPlacement:d,unit:f,borderRadius:h,fillBorderRadius:p,height:g,processing:m,circleGap:b,mergedClsPrefix:_,gapDeg:C,gapOffsetDegree:S,themeClass:w,$slots:x,onRender:y}=this;return y==null||y(),v("div",{class:[w,`${_}-progress`,`${_}-progress--${e}`,`${_}-progress--${r}`],style:t,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":l,role:e==="circle"||e==="line"||e==="dashboard"?"progressbar":"none"},e==="circle"||e==="dashboard"?v(UX,{clsPrefix:_,status:r,showIndicator:o,indicatorTextColor:n,railColor:i,fillColor:s,railStyle:a,offsetDegree:this.offsetDegree,percentage:l,viewBoxWidth:c,strokeWidth:u,gapDegree:C===void 0?e==="dashboard"?75:0:C,gapOffsetDegree:S,unit:f},x):e==="line"?v(VX,{clsPrefix:_,status:r,showIndicator:o,indicatorTextColor:n,railColor:i,fillColor:s,railStyle:a,percentage:l,processing:m,indicatorPlacement:d,unit:f,fillBorderRadius:p,railBorderRadius:h,height:g},x):e==="multiple-circle"?v(qX,{clsPrefix:_,strokeWidth:u,railColor:i,fillColor:s,railStyle:a,viewBoxWidth:c,percentage:l,showIndicator:o,circleGap:b},x):null)}}),YX={name:"QrCode",common:je,self:e=>({borderRadius:e.borderRadius})},XX=YX;function ZX(e){return{borderRadius:e.borderRadius}}const JX={name:"QrCode",common:xt,self:ZX},QX=JX,eZ=q([z("qr-code",` background: #fff; border-radius: var(--n-border-radius); display: inline-flex; - `)]),iX={name:"QrCode",common:Ne,self:e=>({borderRadius:e.borderRadius})},aX=iX,sX=e=>({borderRadius:e.borderRadius}),lX={name:"QrCode",common:bt,self:sX},cX=lX;var Ri;(function(e){class t{static encodeText(a,s){const l=e.QrSegment.makeSegments(a);return t.encodeSegments(l,s)}static encodeBinary(a,s){const l=e.QrSegment.makeBytes(a);return t.encodeSegments([l],s)}static encodeSegments(a,s,l=1,c=40,u=-1,d=!0){if(!(t.MIN_VERSION<=l&&l<=c&&c<=t.MAX_VERSION)||u<-1||u>7)throw new RangeError("Invalid value");let f,p;for(f=l;;f++){const b=t.getNumDataCodewords(f,s)*8,w=r.getTotalBits(a,f);if(w<=b){p=w;break}if(f>=c)throw new RangeError("Data too long")}for(const b of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])d&&p<=t.getNumDataCodewords(f,b)*8&&(s=b);const h=[];for(const b of a){n(b.mode.modeBits,4,h),n(b.numChars,b.mode.numCharCountBits(f),h);for(const w of b.getData())h.push(w)}const m=t.getNumDataCodewords(f,s)*8;n(0,Math.min(4,m-h.length),h),n(0,(8-h.length%8)%8,h);for(let b=236;h.lengthv[w>>>3]|=b<<7-(w&7)),new t(f,s,v,u)}constructor(a,s,l,c){if(this.version=a,this.errorCorrectionLevel=s,this.modules=[],this.isFunction=[],at.MAX_VERSION)throw new RangeError("Version value out of range");if(c<-1||c>7)throw new RangeError("Mask value out of range");this.size=a*4+17;const u=[];for(let f=0;f=0&&a=0&&s>>9)*1335;const c=(s<<10|l)^21522;for(let u=0;u<=5;u++)this.setFunctionModule(8,u,o(c,u));this.setFunctionModule(8,7,o(c,6)),this.setFunctionModule(8,8,o(c,7)),this.setFunctionModule(7,8,o(c,8));for(let u=9;u<15;u++)this.setFunctionModule(14-u,8,o(c,u));for(let u=0;u<8;u++)this.setFunctionModule(this.size-1-u,8,o(c,u));for(let u=8;u<15;u++)this.setFunctionModule(8,this.size-15+u,o(c,u));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let a=this.version;for(let l=0;l<12;l++)a=a<<1^(a>>>11)*7973;const s=this.version<<12|a;for(let l=0;l<18;l++){const c=o(s,l),u=this.size-11+l%3,d=Math.floor(l/3);this.setFunctionModule(u,d,c),this.setFunctionModule(d,u,c)}}drawFinderPattern(a,s){for(let l=-4;l<=4;l++)for(let c=-4;c<=4;c++){const u=Math.max(Math.abs(c),Math.abs(l)),d=a+c,f=s+l;d>=0&&d=0&&f{(b!==p-u||C>=f)&&v.push(w[b])});return v}drawCodewords(a){if(a.length!==Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let s=0;for(let l=this.size-1;l>=1;l-=2){l===6&&(l=5);for(let c=0;c>>3],7-(s&7)),s++)}}}applyMask(a){if(a<0||a>7)throw new RangeError("Mask value out of range");for(let s=0;s5&&a++):(this.finderPenaltyAddHistory(f,p),d||(a+=this.finderPenaltyCountPatterns(p)*t.PENALTY_N3),d=this.modules[u][h],f=1);a+=this.finderPenaltyTerminateAndCount(d,f,p)*t.PENALTY_N3}for(let u=0;u5&&a++):(this.finderPenaltyAddHistory(f,p),d||(a+=this.finderPenaltyCountPatterns(p)*t.PENALTY_N3),d=this.modules[h][u],f=1);a+=this.finderPenaltyTerminateAndCount(d,f,p)*t.PENALTY_N3}for(let u=0;ud+(f?1:0),s);const l=this.size*this.size,c=Math.ceil(Math.abs(s*20-l*10)/l)-1;return a+=c*t.PENALTY_N4,a}getAlignmentPatternPositions(){if(this.version===1)return[];{const a=Math.floor(this.version/7)+2,s=this.version===32?26:Math.ceil((this.version*4+4)/(a*2-2))*2,l=[6];for(let c=this.size-7;l.lengtht.MAX_VERSION)throw new RangeError("Version number out of range");let s=(16*a+128)*a+64;if(a>=2){const l=Math.floor(a/7)+2;s-=(25*l-10)*l-55,a>=7&&(s-=36)}return s}static getNumDataCodewords(a,s){return Math.floor(t.getNumRawDataModules(a)/8)-t.ECC_CODEWORDS_PER_BLOCK[s.ordinal][a]*t.NUM_ERROR_CORRECTION_BLOCKS[s.ordinal][a]}static reedSolomonComputeDivisor(a){if(a<1||a>255)throw new RangeError("Degree out of range");const s=[];for(let c=0;c0);for(const c of a){const u=c^l.shift();l.push(0),s.forEach((d,f)=>l[f]^=t.reedSolomonMultiply(d,u))}return l}static reedSolomonMultiply(a,s){if(a>>>8||s>>>8)throw new RangeError("Byte out of range");let l=0;for(let c=7;c>=0;c--)l=l<<1^(l>>>7)*285,l^=(s>>>c&1)*a;return l}finderPenaltyCountPatterns(a){const s=a[1],l=s>0&&a[2]===s&&a[3]===s*3&&a[4]===s&&a[5]===s;return(l&&a[0]>=s*4&&a[6]>=s?1:0)+(l&&a[6]>=s*4&&a[0]>=s?1:0)}finderPenaltyTerminateAndCount(a,s,l){return a&&(this.finderPenaltyAddHistory(s,l),s=0),s+=this.size,this.finderPenaltyAddHistory(s,l),this.finderPenaltyCountPatterns(l)}finderPenaltyAddHistory(a,s){s[0]===0&&(a+=this.size),s.pop(),s.unshift(a)}}t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;function n(i,a,s){if(a<0||a>31||i>>>a)throw new RangeError("Value out of range");for(let l=a-1;l>=0;l--)s.push(i>>>l&1)}function o(i,a){return(i>>>a&1)!==0}class r{static makeBytes(a){const s=[];for(const l of a)n(l,8,s);return new r(r.Mode.BYTE,a.length,s)}static makeNumeric(a){if(!r.isNumeric(a))throw new RangeError("String contains non-numeric characters");const s=[];for(let l=0;l=1<({"--n-border-radius":o.value.self.borderRadius})),i=n?kt("qr-code",void 0,r,e):void 0,a=W(),s=L(()=>{var c;const u=uX[e.errorCorrectionLevel];return cs.QrCode.encodeText((c=e.value)!==null&&c!==void 0?c:"-",u)});jt(()=>{const c=W(0);let u=null;Xt(()=>{c.value,l(s.value,e.size,e.color,e.backgroundColor,u?{icon:u,iconBorderRadius:e.iconBorderRadius,iconSize:e.iconSize,iconBackgroundColor:e.iconBackgroundColor}:null)}),Xt(()=>{const{iconSrc:d}=e;if(d){let f=!1;const p=new Image;return p.src=d,p.onload=()=>{f||(u=p,c.value++)},()=>{f=!0}}})});function l(c,u,d,f,p){const h=a.value;if(!h)return;const m=u*Jd,v=c.size,b=m/v;h.width=m,h.height=m;const w=h.getContext("2d");if(w){w.clearRect(0,0,h.width,h.height);for(let C=0;C=1?y:y*T,R=T<=1?y:y/T,K=k+(y-$)/2,j=P+(y-R)/2;w.drawImage(C,K,j,$,R)}}}return{canvasRef:a,mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass}},render(){const{mergedClsPrefix:e,backgroundColor:t,padding:n,cssVars:o,themeClass:r,size:i}=this;return g("div",{class:[`${e}-qr-code`,r],style:Object.assign({padding:typeof n=="number"?`${n}px`:n,backgroundColor:t,width:`${i}px`,height:`${i}px`},o)},g("canvas",{ref:"canvasRef",style:{width:`${i}px`,height:`${i}px`}}))}}),fX=g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},g("circle",{fill:"#FFCB4C",cx:"18",cy:"17.018",r:"17"}),g("path",{fill:"#65471B",d:"M14.524 21.036c-.145-.116-.258-.274-.312-.464-.134-.46.13-.918.59-1.021 4.528-1.021 7.577 1.363 7.706 1.465.384.306.459.845.173 1.205-.286.358-.828.401-1.211.097-.11-.084-2.523-1.923-6.182-1.098-.274.061-.554-.016-.764-.184z"}),g("ellipse",{fill:"#65471B",cx:"13.119",cy:"11.174",rx:"2.125",ry:"2.656"}),g("ellipse",{fill:"#65471B",cx:"24.375",cy:"12.236",rx:"2.125",ry:"2.656"}),g("path",{fill:"#F19020",d:"M17.276 35.149s1.265-.411 1.429-1.352c.173-.972-.624-1.167-.624-1.167s1.041-.208 1.172-1.376c.123-1.101-.861-1.363-.861-1.363s.97-.4 1.016-1.539c.038-.959-.995-1.428-.995-1.428s5.038-1.221 5.556-1.341c.516-.12 1.32-.615 1.069-1.694-.249-1.08-1.204-1.118-1.697-1.003-.494.115-6.744 1.566-8.9 2.068l-1.439.334c-.54.127-.785-.11-.404-.512.508-.536.833-1.129.946-2.113.119-1.035-.232-2.313-.433-2.809-.374-.921-1.005-1.649-1.734-1.899-1.137-.39-1.945.321-1.542 1.561.604 1.854.208 3.375-.833 4.293-2.449 2.157-3.588 3.695-2.83 6.973.828 3.575 4.377 5.876 7.952 5.048l3.152-.681z"}),g("path",{fill:"#65471B",d:"M9.296 6.351c-.164-.088-.303-.224-.391-.399-.216-.428-.04-.927.393-1.112 4.266-1.831 7.699-.043 7.843.034.433.231.608.747.391 1.154-.216.405-.74.546-1.173.318-.123-.063-2.832-1.432-6.278.047-.257.109-.547.085-.785-.042zm12.135 3.75c-.156-.098-.286-.243-.362-.424-.187-.442.023-.927.468-1.084 4.381-1.536 7.685.48 7.823.567.415.26.555.787.312 1.178-.242.39-.776.495-1.191.238-.12-.072-2.727-1.621-6.267-.379-.266.091-.553.046-.783-.096z"})),hX=g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},g("path",{fill:"#FFCC4D",d:"M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"}),g("ellipse",{fill:"#664500",cx:"18",cy:"27",rx:"5",ry:"6"}),g("path",{fill:"#664500",d:"M5.999 11c-.208 0-.419-.065-.599-.2-.442-.331-.531-.958-.2-1.4C8.462 5.05 12.816 5 13 5c.552 0 1 .448 1 1 0 .551-.445.998-.996 1-.155.002-3.568.086-6.204 3.6-.196.262-.497.4-.801.4zm24.002 0c-.305 0-.604-.138-.801-.4-2.64-3.521-6.061-3.598-6.206-3.6-.55-.006-.994-.456-.991-1.005C22.006 5.444 22.45 5 23 5c.184 0 4.537.05 7.8 4.4.332.442.242 1.069-.2 1.4-.18.135-.39.2-.599.2zm-16.087 4.5l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L12.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L13.914 15.5zm11 0l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L23.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L24.914 15.5z"})),pX=g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},g("ellipse",{fill:"#292F33",cx:"18",cy:"26",rx:"18",ry:"10"}),g("ellipse",{fill:"#66757F",cx:"18",cy:"24",rx:"18",ry:"10"}),g("path",{fill:"#E1E8ED",d:"M18 31C3.042 31 1 16 1 12h34c0 2-1.958 19-17 19z"}),g("path",{fill:"#77B255",d:"M35 12.056c0 5.216-7.611 9.444-17 9.444S1 17.271 1 12.056C1 6.84 8.611 3.611 18 3.611s17 3.229 17 8.445z"}),g("ellipse",{fill:"#A6D388",cx:"18",cy:"13",rx:"15",ry:"7"}),g("path",{d:"M21 17c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.739-1.109.9-2.246.478-3.377-.461-1.236-1.438-1.996-1.731-2.077-.553 0-.958-.443-.958-.996 0-.552.491-.995 1.043-.995.997 0 2.395 1.153 3.183 2.625 1.034 1.933.91 4.039-.351 5.929-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.196-.451.294-.707.294zm-6-2c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.727-1.091.893-2.083.494-2.947-.444-.961-1.431-1.469-1.684-1.499-.552 0-.989-.447-.989-1 0-.552.458-1 1.011-1 .997 0 2.585.974 3.36 2.423.481.899 1.052 2.761-.528 5.131-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.197-.451.295-.707.295z",fill:"#5C913B"})),mX=g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},g("path",{fill:"#EF9645",d:"M15.5 2.965c1.381 0 2.5 1.119 2.5 2.5v.005L20.5.465c1.381 0 2.5 1.119 2.5 2.5V4.25l2.5-1.535c1.381 0 2.5 1.119 2.5 2.5V8.75L29 18H15.458L15.5 2.965z"}),g("path",{fill:"#FFDC5D",d:"M4.625 16.219c1.381-.611 3.354.208 4.75 2.188.917 1.3 1.187 3.151 2.391 3.344.46.073 1.234-.313 1.234-1.397V4.5s0-2 2-2 2 2 2 2v11.633c0-.029 1-.064 1-.082V2s0-2 2-2 2 2 2 2v14.053c0 .017 1 .041 1 .069V4.25s0-2 2-2 2 2 2 2v12.638c0 .118 1 .251 1 .398V8.75s0-2 2-2 2 2 2 2V24c0 6.627-5.373 12-12 12-4.775 0-8.06-2.598-9.896-5.292C8.547 28.423 8.096 26.051 8 25.334c0 0-.123-1.479-1.156-2.865-1.469-1.969-2.5-3.156-3.125-3.866-.317-.359-.625-1.707.906-2.384z"})),gX=z("result",` + `)]);var Mi;(function(e){class t{static encodeText(a,s){const l=e.QrSegment.makeSegments(a);return t.encodeSegments(l,s)}static encodeBinary(a,s){const l=e.QrSegment.makeBytes(a);return t.encodeSegments([l],s)}static encodeSegments(a,s,l=1,c=40,u=-1,d=!0){if(!(t.MIN_VERSION<=l&&l<=c&&c<=t.MAX_VERSION)||u<-1||u>7)throw new RangeError("Invalid value");let f,h;for(f=l;;f++){const b=t.getNumDataCodewords(f,s)*8,_=r.getTotalBits(a,f);if(_<=b){h=_;break}if(f>=c)throw new RangeError("Data too long")}for(const b of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])d&&h<=t.getNumDataCodewords(f,b)*8&&(s=b);const p=[];for(const b of a){n(b.mode.modeBits,4,p),n(b.numChars,b.mode.numCharCountBits(f),p);for(const _ of b.getData())p.push(_)}const g=t.getNumDataCodewords(f,s)*8;n(0,Math.min(4,g-p.length),p),n(0,(8-p.length%8)%8,p);for(let b=236;p.lengthm[_>>>3]|=b<<7-(_&7)),new t(f,s,m,u)}constructor(a,s,l,c){if(this.version=a,this.errorCorrectionLevel=s,this.modules=[],this.isFunction=[],at.MAX_VERSION)throw new RangeError("Version value out of range");if(c<-1||c>7)throw new RangeError("Mask value out of range");this.size=a*4+17;const u=[];for(let f=0;f=0&&a=0&&s>>9)*1335;const c=(s<<10|l)^21522;for(let u=0;u<=5;u++)this.setFunctionModule(8,u,o(c,u));this.setFunctionModule(8,7,o(c,6)),this.setFunctionModule(8,8,o(c,7)),this.setFunctionModule(7,8,o(c,8));for(let u=9;u<15;u++)this.setFunctionModule(14-u,8,o(c,u));for(let u=0;u<8;u++)this.setFunctionModule(this.size-1-u,8,o(c,u));for(let u=8;u<15;u++)this.setFunctionModule(8,this.size-15+u,o(c,u));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let a=this.version;for(let l=0;l<12;l++)a=a<<1^(a>>>11)*7973;const s=this.version<<12|a;for(let l=0;l<18;l++){const c=o(s,l),u=this.size-11+l%3,d=Math.floor(l/3);this.setFunctionModule(u,d,c),this.setFunctionModule(d,u,c)}}drawFinderPattern(a,s){for(let l=-4;l<=4;l++)for(let c=-4;c<=4;c++){const u=Math.max(Math.abs(c),Math.abs(l)),d=a+c,f=s+l;d>=0&&d=0&&f{(b!==h-u||C>=f)&&m.push(_[b])});return m}drawCodewords(a){if(a.length!==Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let s=0;for(let l=this.size-1;l>=1;l-=2){l===6&&(l=5);for(let c=0;c>>3],7-(s&7)),s++)}}}applyMask(a){if(a<0||a>7)throw new RangeError("Mask value out of range");for(let s=0;s5&&a++):(this.finderPenaltyAddHistory(f,h),d||(a+=this.finderPenaltyCountPatterns(h)*t.PENALTY_N3),d=this.modules[u][p],f=1);a+=this.finderPenaltyTerminateAndCount(d,f,h)*t.PENALTY_N3}for(let u=0;u5&&a++):(this.finderPenaltyAddHistory(f,h),d||(a+=this.finderPenaltyCountPatterns(h)*t.PENALTY_N3),d=this.modules[p][u],f=1);a+=this.finderPenaltyTerminateAndCount(d,f,h)*t.PENALTY_N3}for(let u=0;ud+(f?1:0),s);const l=this.size*this.size,c=Math.ceil(Math.abs(s*20-l*10)/l)-1;return a+=c*t.PENALTY_N4,a}getAlignmentPatternPositions(){if(this.version===1)return[];{const a=Math.floor(this.version/7)+2,s=this.version===32?26:Math.ceil((this.version*4+4)/(a*2-2))*2,l=[6];for(let c=this.size-7;l.lengtht.MAX_VERSION)throw new RangeError("Version number out of range");let s=(16*a+128)*a+64;if(a>=2){const l=Math.floor(a/7)+2;s-=(25*l-10)*l-55,a>=7&&(s-=36)}return s}static getNumDataCodewords(a,s){return Math.floor(t.getNumRawDataModules(a)/8)-t.ECC_CODEWORDS_PER_BLOCK[s.ordinal][a]*t.NUM_ERROR_CORRECTION_BLOCKS[s.ordinal][a]}static reedSolomonComputeDivisor(a){if(a<1||a>255)throw new RangeError("Degree out of range");const s=[];for(let c=0;c0);for(const c of a){const u=c^l.shift();l.push(0),s.forEach((d,f)=>l[f]^=t.reedSolomonMultiply(d,u))}return l}static reedSolomonMultiply(a,s){if(a>>>8||s>>>8)throw new RangeError("Byte out of range");let l=0;for(let c=7;c>=0;c--)l=l<<1^(l>>>7)*285,l^=(s>>>c&1)*a;return l}finderPenaltyCountPatterns(a){const s=a[1],l=s>0&&a[2]===s&&a[3]===s*3&&a[4]===s&&a[5]===s;return(l&&a[0]>=s*4&&a[6]>=s?1:0)+(l&&a[6]>=s*4&&a[0]>=s?1:0)}finderPenaltyTerminateAndCount(a,s,l){return a&&(this.finderPenaltyAddHistory(s,l),s=0),s+=this.size,this.finderPenaltyAddHistory(s,l),this.finderPenaltyCountPatterns(l)}finderPenaltyAddHistory(a,s){s[0]===0&&(a+=this.size),s.pop(),s.unshift(a)}}t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;function n(i,a,s){if(a<0||a>31||i>>>a)throw new RangeError("Value out of range");for(let l=a-1;l>=0;l--)s.push(i>>>l&1)}function o(i,a){return(i>>>a&1)!==0}class r{static makeBytes(a){const s=[];for(const l of a)n(l,8,s);return new r(r.Mode.BYTE,a.length,s)}static makeNumeric(a){if(!r.isNumeric(a))throw new RangeError("String contains non-numeric characters");const s=[];for(let l=0;l=1<({"--n-border-radius":o.value.self.borderRadius})),i=n?Pt("qr-code",void 0,r,e):void 0,a=W(),s=F(()=>{var f;const h=tZ[e.errorCorrectionLevel];return ms.QrCode.encodeText((f=e.value)!==null&&f!==void 0?f:"-",h)});jt(()=>{const f=W(0);let h=null;Xt(()=>{e.type!=="svg"&&(f.value,l(s.value,e.size,e.color,e.backgroundColor,h?{icon:h,iconBorderRadius:e.iconBorderRadius,iconSize:e.iconSize,iconBackgroundColor:e.iconBackgroundColor}:null))}),Xt(()=>{if(e.type==="svg")return;const{iconSrc:p}=e;if(p){let g=!1;const m=new Image;return m.src=p,m.onload=()=>{g||(h=m,f.value++)},()=>{g=!0}}})});function l(f,h,p,g,m){const b=a.value;if(!b)return;const _=h*uf,C=f.size,S=_/C;b.width=_,b.height=_;const w=b.getContext("2d");if(w){w.clearRect(0,0,b.width,b.height);for(let x=0;x=1?T:T*K,D=K<=1?T:T/K,M=E+(T-N)/2,G=R+(T-D)/2;w.drawImage(x,M,G,N,D)}}}function c(f,h=0){const p=[];return f.forEach((g,m)=>{let b=null;g.forEach((_,C)=>{if(!_&&b!==null){p.push(`M${b+h} ${m+h}h${C-b}v1H${b+h}z`),b=null;return}if(C===g.length-1){if(!_)return;b===null?p.push(`M${C+h},${m+h} h1v1H${C+h}z`):p.push(`M${b+h},${m+h} h${C+1-b}v1H${b+h}z`);return}_&&b===null&&(b=C)})}),p.join("")}function u(f,h,p){const g=f.getModules(),m=g.length,b=g;let _="";const C=``,S=``;let w="";if(p){const{iconSrc:x,iconSize:y}=p,k=Math.floor(h*.1),T=m/h,E=(y||k)*T,R=(y||k)*T,K=g.length/2-R/2,N=g.length/2-E/2;w+=``}return _+=C,_+=S,_+=w,{innerHtml:_,numCells:m}}const d=F(()=>u(s.value,e.size,e.iconSrc?{iconSrc:e.iconSrc,iconBorderRadius:e.iconBorderRadius,iconSize:e.iconSize,iconBackgroundColor:e.iconBackgroundColor}:null));return{canvasRef:a,mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,svgInfo:d}},render(){const{mergedClsPrefix:e,backgroundColor:t,padding:n,cssVars:o,themeClass:r,size:i,type:a}=this;return v("div",{class:[`${e}-qr-code`,r],style:Object.assign({padding:typeof n=="number"?`${n}px`:n,backgroundColor:t,width:`${i}px`,height:`${i}px`},o)},a==="canvas"?v("canvas",{ref:"canvasRef",style:{width:`${i}px`,height:`${i}px`}}):v("svg",{height:i,width:i,viewBox:`0 0 ${this.svgInfo.numCells} ${this.svgInfo.numCells}`,role:"img",innerHTML:this.svgInfo.innerHtml}))}}),oZ=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},v("circle",{fill:"#FFCB4C",cx:"18",cy:"17.018",r:"17"}),v("path",{fill:"#65471B",d:"M14.524 21.036c-.145-.116-.258-.274-.312-.464-.134-.46.13-.918.59-1.021 4.528-1.021 7.577 1.363 7.706 1.465.384.306.459.845.173 1.205-.286.358-.828.401-1.211.097-.11-.084-2.523-1.923-6.182-1.098-.274.061-.554-.016-.764-.184z"}),v("ellipse",{fill:"#65471B",cx:"13.119",cy:"11.174",rx:"2.125",ry:"2.656"}),v("ellipse",{fill:"#65471B",cx:"24.375",cy:"12.236",rx:"2.125",ry:"2.656"}),v("path",{fill:"#F19020",d:"M17.276 35.149s1.265-.411 1.429-1.352c.173-.972-.624-1.167-.624-1.167s1.041-.208 1.172-1.376c.123-1.101-.861-1.363-.861-1.363s.97-.4 1.016-1.539c.038-.959-.995-1.428-.995-1.428s5.038-1.221 5.556-1.341c.516-.12 1.32-.615 1.069-1.694-.249-1.08-1.204-1.118-1.697-1.003-.494.115-6.744 1.566-8.9 2.068l-1.439.334c-.54.127-.785-.11-.404-.512.508-.536.833-1.129.946-2.113.119-1.035-.232-2.313-.433-2.809-.374-.921-1.005-1.649-1.734-1.899-1.137-.39-1.945.321-1.542 1.561.604 1.854.208 3.375-.833 4.293-2.449 2.157-3.588 3.695-2.83 6.973.828 3.575 4.377 5.876 7.952 5.048l3.152-.681z"}),v("path",{fill:"#65471B",d:"M9.296 6.351c-.164-.088-.303-.224-.391-.399-.216-.428-.04-.927.393-1.112 4.266-1.831 7.699-.043 7.843.034.433.231.608.747.391 1.154-.216.405-.74.546-1.173.318-.123-.063-2.832-1.432-6.278.047-.257.109-.547.085-.785-.042zm12.135 3.75c-.156-.098-.286-.243-.362-.424-.187-.442.023-.927.468-1.084 4.381-1.536 7.685.48 7.823.567.415.26.555.787.312 1.178-.242.39-.776.495-1.191.238-.12-.072-2.727-1.621-6.267-.379-.266.091-.553.046-.783-.096z"})),rZ=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},v("path",{fill:"#FFCC4D",d:"M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"}),v("ellipse",{fill:"#664500",cx:"18",cy:"27",rx:"5",ry:"6"}),v("path",{fill:"#664500",d:"M5.999 11c-.208 0-.419-.065-.599-.2-.442-.331-.531-.958-.2-1.4C8.462 5.05 12.816 5 13 5c.552 0 1 .448 1 1 0 .551-.445.998-.996 1-.155.002-3.568.086-6.204 3.6-.196.262-.497.4-.801.4zm24.002 0c-.305 0-.604-.138-.801-.4-2.64-3.521-6.061-3.598-6.206-3.6-.55-.006-.994-.456-.991-1.005C22.006 5.444 22.45 5 23 5c.184 0 4.537.05 7.8 4.4.332.442.242 1.069-.2 1.4-.18.135-.39.2-.599.2zm-16.087 4.5l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L12.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L13.914 15.5zm11 0l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L23.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L24.914 15.5z"})),iZ=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},v("ellipse",{fill:"#292F33",cx:"18",cy:"26",rx:"18",ry:"10"}),v("ellipse",{fill:"#66757F",cx:"18",cy:"24",rx:"18",ry:"10"}),v("path",{fill:"#E1E8ED",d:"M18 31C3.042 31 1 16 1 12h34c0 2-1.958 19-17 19z"}),v("path",{fill:"#77B255",d:"M35 12.056c0 5.216-7.611 9.444-17 9.444S1 17.271 1 12.056C1 6.84 8.611 3.611 18 3.611s17 3.229 17 8.445z"}),v("ellipse",{fill:"#A6D388",cx:"18",cy:"13",rx:"15",ry:"7"}),v("path",{d:"M21 17c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.739-1.109.9-2.246.478-3.377-.461-1.236-1.438-1.996-1.731-2.077-.553 0-.958-.443-.958-.996 0-.552.491-.995 1.043-.995.997 0 2.395 1.153 3.183 2.625 1.034 1.933.91 4.039-.351 5.929-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.196-.451.294-.707.294zm-6-2c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.727-1.091.893-2.083.494-2.947-.444-.961-1.431-1.469-1.684-1.499-.552 0-.989-.447-.989-1 0-.552.458-1 1.011-1 .997 0 2.585.974 3.36 2.423.481.899 1.052 2.761-.528 5.131-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.197-.451.295-.707.295z",fill:"#5C913B"})),aZ=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},v("path",{fill:"#EF9645",d:"M15.5 2.965c1.381 0 2.5 1.119 2.5 2.5v.005L20.5.465c1.381 0 2.5 1.119 2.5 2.5V4.25l2.5-1.535c1.381 0 2.5 1.119 2.5 2.5V8.75L29 18H15.458L15.5 2.965z"}),v("path",{fill:"#FFDC5D",d:"M4.625 16.219c1.381-.611 3.354.208 4.75 2.188.917 1.3 1.187 3.151 2.391 3.344.46.073 1.234-.313 1.234-1.397V4.5s0-2 2-2 2 2 2 2v11.633c0-.029 1-.064 1-.082V2s0-2 2-2 2 2 2 2v14.053c0 .017 1 .041 1 .069V4.25s0-2 2-2 2 2 2 2v12.638c0 .118 1 .251 1 .398V8.75s0-2 2-2 2 2 2 2V24c0 6.627-5.373 12-12 12-4.775 0-8.06-2.598-9.896-5.292C8.547 28.423 8.096 26.051 8 25.334c0 0-.123-1.479-1.156-2.865-1.469-1.969-2.5-3.156-3.125-3.866-.317-.359-.625-1.707.906-2.384z"})),sZ=z("result",` color: var(--n-text-color); line-height: var(--n-line-height); font-size: var(--n-font-size); @@ -3627,7 +3633,7 @@ ${t} margin-top: 4px; text-align: center; font-size: var(--n-font-size); - `)])]),vX={403:()=>mX,404:()=>fX,418:()=>pX,500:()=>hX,info:()=>g(jr,null),success:()=>g(Fi,null),warning:()=>g(Bi,null),error:()=>g(Li,null)},bX=Object.assign(Object.assign({},Be.props),{size:{type:String,default:"medium"},status:{type:String,default:"info"},title:String,description:String}),yX=ve({name:"Result",props:bX,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Result","-result",gX,HK,e,t),r=L(()=>{const{size:a,status:s}=e,{common:{cubicBezierEaseInOut:l},self:{textColor:c,lineHeight:u,titleTextColor:d,titleFontWeight:f,[Te("iconColor",s)]:p,[Te("fontSize",a)]:h,[Te("titleFontSize",a)]:m,[Te("iconSize",a)]:v}}=o.value;return{"--n-bezier":l,"--n-font-size":h,"--n-icon-size":v,"--n-line-height":u,"--n-text-color":c,"--n-title-font-size":m,"--n-title-font-weight":f,"--n-title-text-color":d,"--n-icon-color":p||""}}),i=n?kt("result",L(()=>{const{size:a,status:s}=e;let l="";return a&&(l+=a[0]),s&&(l+=s[0]),l}),r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{status:t,$slots:n,mergedClsPrefix:o,onRender:r}=this;return r==null||r(),g("div",{class:[`${o}-result`,this.themeClass],style:this.cssVars},g("div",{class:`${o}-result-icon`},((e=n.icon)===null||e===void 0?void 0:e.call(n))||g(Ut,{clsPrefix:o},{default:()=>vX[t]()})),g("div",{class:`${o}-result-header`},this.title?g("div",{class:`${o}-result-header__title`},this.title):null,this.description?g("div",{class:`${o}-result-header__description`},this.description):null),n.default&&g("div",{class:`${o}-result-content`},n),n.footer&&g("div",{class:`${o}-result-footer`},n.footer()))}}),xX=Object.assign(Object.assign({},Be.props),{trigger:String,xScrollable:Boolean,onScroll:Function,size:Number}),CX=ve({name:"Scrollbar",props:xX,setup(){const e=W(null);return Object.assign(Object.assign({},{scrollTo:(...n)=>{var o;(o=e.value)===null||o===void 0||o.scrollTo(n[0],n[1])},scrollBy:(...n)=>{var o;(o=e.value)===null||o===void 0||o.scrollBy(n[0],n[1])}}),{scrollbarInstRef:e})},render(){return g(To,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),wX=CX,_X={name:"Skeleton",common:Ne,self(e){const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:r}=e;return{color:"rgba(255, 255, 255, 0.12)",colorEnd:"rgba(255, 255, 255, 0.18)",borderRadius:r,heightSmall:t,heightMedium:n,heightLarge:o}}},SX=e=>{const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:r}=e;return{color:"#eee",colorEnd:"#ddd",borderRadius:r,heightSmall:t,heightMedium:n,heightLarge:o}},kX={name:"Skeleton",common:bt,self:SX},PX=q([z("skeleton",` + `)])]),lZ={403:()=>aZ,404:()=>oZ,418:()=>iZ,500:()=>rZ,info:()=>v(Vr,null),success:()=>v(Vi,null),warning:()=>v(Wi,null),error:()=>v(ji,null)},cZ=Object.assign(Object.assign({},Be.props),{size:{type:String,default:"medium"},status:{type:String,default:"info"},title:String,description:String}),uZ=be({name:"Result",props:cZ,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Result","-result",sZ,IG,e,t),r=F(()=>{const{size:a,status:s}=e,{common:{cubicBezierEaseInOut:l},self:{textColor:c,lineHeight:u,titleTextColor:d,titleFontWeight:f,[Re("iconColor",s)]:h,[Re("fontSize",a)]:p,[Re("titleFontSize",a)]:g,[Re("iconSize",a)]:m}}=o.value;return{"--n-bezier":l,"--n-font-size":p,"--n-icon-size":m,"--n-line-height":u,"--n-text-color":c,"--n-title-font-size":g,"--n-title-font-weight":f,"--n-title-text-color":d,"--n-icon-color":h||""}}),i=n?Pt("result",F(()=>{const{size:a,status:s}=e;let l="";return a&&(l+=a[0]),s&&(l+=s[0]),l}),r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{status:t,$slots:n,mergedClsPrefix:o,onRender:r}=this;return r==null||r(),v("div",{class:[`${o}-result`,this.themeClass],style:this.cssVars},v("div",{class:`${o}-result-icon`},((e=n.icon)===null||e===void 0?void 0:e.call(n))||v(Ut,{clsPrefix:o},{default:()=>lZ[t]()})),v("div",{class:`${o}-result-header`},this.title?v("div",{class:`${o}-result-header__title`},this.title):null,this.description?v("div",{class:`${o}-result-header__description`},this.description):null),n.default&&v("div",{class:`${o}-result-content`},n),n.footer&&v("div",{class:`${o}-result-footer`},n.footer()))}}),dZ=Object.assign(Object.assign({},Be.props),{trigger:String,xScrollable:Boolean,onScroll:Function,contentClass:String,contentStyle:[Object,String],size:Number}),fZ=be({name:"Scrollbar",props:dZ,setup(){const e=W(null);return Object.assign(Object.assign({},{scrollTo:(...n)=>{var o;(o=e.value)===null||o===void 0||o.scrollTo(n[0],n[1])},scrollBy:(...n)=>{var o;(o=e.value)===null||o===void 0||o.scrollBy(n[0],n[1])}}),{scrollbarInstRef:e})},render(){return v(Io,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),hZ=fZ,pZ={name:"Skeleton",common:je,self(e){const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:r}=e;return{color:"rgba(255, 255, 255, 0.12)",colorEnd:"rgba(255, 255, 255, 0.18)",borderRadius:r,heightSmall:t,heightMedium:n,heightLarge:o}}};function mZ(e){const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:r}=e;return{color:"#eee",colorEnd:"#ddd",borderRadius:r,heightSmall:t,heightMedium:n,heightLarge:o}}const gZ={name:"Skeleton",common:xt,self:mZ},vZ=q([z("skeleton",` height: 1em; width: 100%; transition: @@ -3649,8 +3655,8 @@ ${t} 100% { background: var(--n-color-start); } - `)]),TX=Object.assign(Object.assign({},Be.props),{text:Boolean,round:Boolean,circle:Boolean,height:[String,Number],width:[String,Number],size:String,repeat:{type:Number,default:1},animated:{type:Boolean,default:!0},sharp:{type:Boolean,default:!0}}),ml=ve({name:"Skeleton",inheritAttrs:!1,props:TX,setup(e){W6();const{mergedClsPrefixRef:t}=st(e),n=Be("Skeleton","-skeleton",PX,kX,e,t);return{mergedClsPrefix:t,style:L(()=>{var o,r;const i=n.value,{common:{cubicBezierEaseInOut:a}}=i,s=i.self,{color:l,colorEnd:c,borderRadius:u}=s;let d;const{circle:f,sharp:p,round:h,width:m,height:v,size:b,text:w,animated:C}=e;b!==void 0&&(d=s[Te("height",b)]);const S=f?(o=m??v)!==null&&o!==void 0?o:d:m,_=(r=f?m??v:v)!==null&&r!==void 0?r:d;return{display:w?"inline-block":"",verticalAlign:w?"-0.125em":"",borderRadius:f?"50%":h?"4096px":p?"":u,width:typeof S=="number"?zn(S):S,height:typeof _=="number"?zn(_):_,animation:C?"":"none","--n-bezier":a,"--n-color-start":l,"--n-color-end":c}})}},render(){const{repeat:e,style:t,mergedClsPrefix:n,$attrs:o}=this,r=g("div",Ln({class:`${n}-skeleton`,style:t},o));return e>1?g(rt,null,HC(e,null).map(i=>[r,` -`])):r}}),RX=q([q("@keyframes spin-rotate",` + `)]),bZ=Object.assign(Object.assign({},Be.props),{text:Boolean,round:Boolean,circle:Boolean,height:[String,Number],width:[String,Number],size:String,repeat:{type:Number,default:1},animated:{type:Boolean,default:!0},sharp:{type:Boolean,default:!0}}),vl=be({name:"Skeleton",inheritAttrs:!1,props:bZ,setup(e){M8();const{mergedClsPrefixRef:t}=st(e),n=Be("Skeleton","-skeleton",vZ,gZ,e,t);return{mergedClsPrefix:t,style:F(()=>{var o,r;const i=n.value,{common:{cubicBezierEaseInOut:a}}=i,s=i.self,{color:l,colorEnd:c,borderRadius:u}=s;let d;const{circle:f,sharp:h,round:p,width:g,height:m,size:b,text:_,animated:C}=e;b!==void 0&&(d=s[Re("height",b)]);const S=f?(o=g??m)!==null&&o!==void 0?o:d:g,w=(r=f?g??m:m)!==null&&r!==void 0?r:d;return{display:_?"inline-block":"",verticalAlign:_?"-0.125em":"",borderRadius:f?"50%":p?"4096px":h?"":u,width:typeof S=="number"?zn(S):S,height:typeof w=="number"?zn(w):w,animation:C?"":"none","--n-bezier":a,"--n-color-start":l,"--n-color-end":c}})}},render(){const{repeat:e,style:t,mergedClsPrefix:n,$attrs:o}=this,r=v("div",Ln({class:`${n}-skeleton`,style:t},o));return e>1?v(it,null,pw(e,null).map(i=>[r,` +`])):r}}),yZ=q([q("@keyframes spin-rotate",` from { transform: rotate(0); } @@ -3664,7 +3670,7 @@ ${t} top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); - `,[cl()])]),z("spin-body",` + `,[dl()])]),z("spin-body",` display: inline-flex; align-items: center; justify-content: center; @@ -3692,7 +3698,7 @@ ${t} -webkit-user-select: none; pointer-events: none; opacity: var(--n-opacity-spinning); - `)])]),EX={small:20,medium:18,large:16},$X=Object.assign(Object.assign({},Be.props),{contentClass:String,contentStyle:[Object,String],description:String,stroke:String,size:{type:[String,Number],default:"medium"},show:{type:Boolean,default:!0},strokeWidth:Number,rotate:{type:Boolean,default:!0},spinning:{type:Boolean,validator:()=>!0,default:void 0},delay:Number}),AX=ve({name:"Spin",props:$X,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Spin","-spin",RX,GK,e,t),r=L(()=>{const{size:l}=e,{common:{cubicBezierEaseInOut:c},self:u}=o.value,{opacitySpinning:d,color:f,textColor:p}=u,h=typeof l=="number"?zn(l):u[Te("size",l)];return{"--n-bezier":c,"--n-opacity-spinning":d,"--n-size":h,"--n-color":f,"--n-text-color":p}}),i=n?kt("spin",L(()=>{const{size:l}=e;return typeof l=="number"?String(l):l[0]}),r,e):void 0,a=wu(e,["spinning","show"]),s=W(!1);return Xt(l=>{let c;if(a.value){const{delay:u}=e;if(u){c=window.setTimeout(()=>{s.value=!0},u),l(()=>{clearTimeout(c)});return}}s.value=a.value}),{mergedClsPrefix:t,active:s,mergedStrokeWidth:L(()=>{const{strokeWidth:l}=e;if(l!==void 0)return l;const{size:c}=e;return EX[typeof c=="number"?"medium":c]}),cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e,t;const{$slots:n,mergedClsPrefix:o,description:r}=this,i=n.icon&&this.rotate,a=(r||n.description)&&g("div",{class:`${o}-spin-description`},r||((e=n.description)===null||e===void 0?void 0:e.call(n))),s=n.icon?g("div",{class:[`${o}-spin-body`,this.themeClass]},g("div",{class:[`${o}-spin`,i&&`${o}-spin--rotate`],style:n.default?"":this.cssVars},n.icon()),a):g("div",{class:[`${o}-spin-body`,this.themeClass]},g(Jr,{clsPrefix:o,style:n.default?"":this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,class:`${o}-spin`}),a);return(t=this.onRender)===null||t===void 0||t.call(this),n.default?g("div",{class:[`${o}-spin-container`,this.themeClass],style:this.cssVars},g("div",{class:[`${o}-spin-content`,this.active&&`${o}-spin-content--spinning`,this.contentClass],style:this.contentStyle},n),g(fn,{name:"fade-in-transition"},{default:()=>this.active?s:null})):s}}),IX={name:"Split",common:Ne},OX=IX,MX=z("switch",` + `)])]),xZ={small:20,medium:18,large:16},CZ=Object.assign(Object.assign({},Be.props),{contentClass:String,contentStyle:[Object,String],description:String,stroke:String,size:{type:[String,Number],default:"medium"},show:{type:Boolean,default:!0},strokeWidth:Number,rotate:{type:Boolean,default:!0},spinning:{type:Boolean,validator:()=>!0,default:void 0},delay:Number}),wZ=be({name:"Spin",props:CZ,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Spin","-spin",yZ,BG,e,t),r=F(()=>{const{size:l}=e,{common:{cubicBezierEaseInOut:c},self:u}=o.value,{opacitySpinning:d,color:f,textColor:h}=u,p=typeof l=="number"?zn(l):u[Re("size",l)];return{"--n-bezier":c,"--n-opacity-spinning":d,"--n-size":p,"--n-color":f,"--n-text-color":h}}),i=n?Pt("spin",F(()=>{const{size:l}=e;return typeof l=="number"?String(l):l[0]}),r,e):void 0,a=Pu(e,["spinning","show"]),s=W(!1);return Xt(l=>{let c;if(a.value){const{delay:u}=e;if(u){c=window.setTimeout(()=>{s.value=!0},u),l(()=>{clearTimeout(c)});return}}s.value=a.value}),{mergedClsPrefix:t,active:s,mergedStrokeWidth:F(()=>{const{strokeWidth:l}=e;if(l!==void 0)return l;const{size:c}=e;return xZ[typeof c=="number"?"medium":c]}),cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e,t;const{$slots:n,mergedClsPrefix:o,description:r}=this,i=n.icon&&this.rotate,a=(r||n.description)&&v("div",{class:`${o}-spin-description`},r||((e=n.description)===null||e===void 0?void 0:e.call(n))),s=n.icon?v("div",{class:[`${o}-spin-body`,this.themeClass]},v("div",{class:[`${o}-spin`,i&&`${o}-spin--rotate`],style:n.default?"":this.cssVars},n.icon()),a):v("div",{class:[`${o}-spin-body`,this.themeClass]},v(ti,{clsPrefix:o,style:n.default?"":this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,class:`${o}-spin`}),a);return(t=this.onRender)===null||t===void 0||t.call(this),n.default?v("div",{class:[`${o}-spin-container`,this.themeClass],style:this.cssVars},v("div",{class:[`${o}-spin-content`,this.active&&`${o}-spin-content--spinning`,this.contentClass],style:this.contentStyle},n),v(fn,{name:"fade-in-transition"},{default:()=>this.active?s:null})):s}}),_Z={name:"Split",common:je},SZ=_Z,kZ=z("switch",` height: var(--n-height); min-width: var(--n-width); vertical-align: middle; @@ -3743,7 +3749,7 @@ ${t} padding-left: calc(1.25 * var(--n-rail-height) - var(--n-offset)); `),q("&:focus",[V("rail",` box-shadow: var(--n-box-shadow-focus); - `)]),Z("round",[V("rail","border-radius: calc(var(--n-rail-height) / 2);",[V("button","border-radius: calc(var(--n-button-height) / 2);")])]),Tt("disabled",[Tt("icon",[Z("rubber-band",[Z("pressed",[V("rail",[V("button","max-width: var(--n-button-width-pressed);")])]),V("rail",[q("&:active",[V("button","max-width: var(--n-button-width-pressed);")])]),Z("active",[Z("pressed",[V("rail",[V("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),V("rail",[q("&:active",[V("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),Z("active",[V("rail",[V("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),V("rail",` + `)]),Z("round",[V("rail","border-radius: calc(var(--n-rail-height) / 2);",[V("button","border-radius: calc(var(--n-button-height) / 2);")])]),Rt("disabled",[Rt("icon",[Z("rubber-band",[Z("pressed",[V("rail",[V("button","max-width: var(--n-button-width-pressed);")])]),V("rail",[q("&:active",[V("button","max-width: var(--n-button-width-pressed);")])]),Z("active",[Z("pressed",[V("rail",[V("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),V("rail",[q("&:active",[V("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),Z("active",[V("rail",[V("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),V("rail",` overflow: hidden; height: var(--n-rail-height); min-width: var(--n-rail-width); @@ -3793,20 +3799,20 @@ ${t} `)]),Z("disabled",[V("rail",` cursor: not-allowed; opacity: .5; - `)])]),zX=Object.assign(Object.assign({},Be.props),{size:{type:String,default:"medium"},value:{type:[String,Number,Boolean],default:void 0},loading:Boolean,defaultValue:{type:[String,Number,Boolean],default:!1},disabled:{type:Boolean,default:void 0},round:{type:Boolean,default:!0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},railStyle:Function,rubberBand:{type:Boolean,default:!0},onChange:[Function,Array]});let is;const DX=ve({name:"Switch",props:zX,setup(e){is===void 0&&(typeof CSS<"u"?typeof CSS.supports<"u"?is=CSS.supports("width","max(1px)"):is=!1:is=!0);const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Switch","-switch",MX,lG,e,t),r=fr(e),{mergedSizeRef:i,mergedDisabledRef:a}=r,s=W(e.defaultValue),l=Ve(e,"value"),c=sn(l,s),u=L(()=>c.value===e.checkedValue),d=W(!1),f=W(!1),p=L(()=>{const{railStyle:k}=e;if(k)return k({focused:f.value,checked:u.value})});function h(k){const{"onUpdate:value":P,onChange:T,onUpdateValue:$}=e,{nTriggerFormInput:R,nTriggerFormChange:K}=r;P&&Ee(P,k),$&&Ee($,k),T&&Ee(T,k),s.value=k,R(),K()}function m(){const{nTriggerFormFocus:k}=r;k()}function v(){const{nTriggerFormBlur:k}=r;k()}function b(){e.loading||a.value||(c.value!==e.checkedValue?h(e.checkedValue):h(e.uncheckedValue))}function w(){f.value=!0,m()}function C(){f.value=!1,v(),d.value=!1}function S(k){e.loading||a.value||k.key===" "&&(c.value!==e.checkedValue?h(e.checkedValue):h(e.uncheckedValue),d.value=!1)}function _(k){e.loading||a.value||k.key===" "&&(k.preventDefault(),d.value=!0)}const x=L(()=>{const{value:k}=i,{self:{opacityDisabled:P,railColor:T,railColorActive:$,buttonBoxShadow:R,buttonColor:K,boxShadowFocus:j,loadingColor:D,textColor:M,iconColor:Y,[Te("buttonHeight",k)]:Q,[Te("buttonWidth",k)]:de,[Te("buttonWidthPressed",k)]:pe,[Te("railHeight",k)]:B,[Te("railWidth",k)]:E,[Te("railBorderRadius",k)]:A,[Te("buttonBorderRadius",k)]:G},common:{cubicBezierEaseInOut:oe}}=o.value;let fe,J,xe;return is?(fe=`calc((${B} - ${Q}) / 2)`,J=`max(${B}, ${Q})`,xe=`max(${E}, calc(${E} + ${Q} - ${B}))`):(fe=zn((Sn(B)-Sn(Q))/2),J=zn(Math.max(Sn(B),Sn(Q))),xe=Sn(B)>Sn(Q)?E:zn(Sn(E)+Sn(Q)-Sn(B))),{"--n-bezier":oe,"--n-button-border-radius":G,"--n-button-box-shadow":R,"--n-button-color":K,"--n-button-width":de,"--n-button-width-pressed":pe,"--n-button-height":Q,"--n-height":J,"--n-offset":fe,"--n-opacity-disabled":P,"--n-rail-border-radius":A,"--n-rail-color":T,"--n-rail-color-active":$,"--n-rail-height":B,"--n-rail-width":E,"--n-width":xe,"--n-box-shadow-focus":j,"--n-loading-color":D,"--n-text-color":M,"--n-icon-color":Y}}),y=n?kt("switch",L(()=>i.value[0]),x,e):void 0;return{handleClick:b,handleBlur:C,handleFocus:w,handleKeyup:S,handleKeydown:_,mergedRailStyle:p,pressed:d,mergedClsPrefix:t,mergedValue:c,checked:u,mergedDisabled:a,cssVars:n?void 0:x,themeClass:y==null?void 0:y.themeClass,onRender:y==null?void 0:y.onRender}},render(){const{mergedClsPrefix:e,mergedDisabled:t,checked:n,mergedRailStyle:o,onRender:r,$slots:i}=this;r==null||r();const{checked:a,unchecked:s,icon:l,"checked-icon":c,"unchecked-icon":u}=i,d=!(fa(l)&&fa(c)&&fa(u));return g("div",{role:"switch","aria-checked":n,class:[`${e}-switch`,this.themeClass,d&&`${e}-switch--icon`,n&&`${e}-switch--active`,t&&`${e}-switch--disabled`,this.round&&`${e}-switch--round`,this.loading&&`${e}-switch--loading`,this.pressed&&`${e}-switch--pressed`,this.rubberBand&&`${e}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},g("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:o},Et(a,f=>Et(s,p=>f||p?g("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},g("div",{class:`${e}-switch__rail-placeholder`},g("div",{class:`${e}-switch__button-placeholder`}),f),g("div",{class:`${e}-switch__rail-placeholder`},g("div",{class:`${e}-switch__button-placeholder`}),p)):null)),g("div",{class:`${e}-switch__button`},Et(l,f=>Et(c,p=>Et(u,h=>g(Ni,null,{default:()=>this.loading?g(Jr,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(p||f)?g("div",{class:`${e}-switch__button-icon`,key:p?"checked-icon":"icon"},p||f):!this.checked&&(h||f)?g("div",{class:`${e}-switch__button-icon`,key:h?"unchecked-icon":"icon"},h||f):null})))),Et(a,f=>f&&g("div",{key:"checked",class:`${e}-switch__checked`},f)),Et(s,f=>f&&g("div",{key:"unchecked",class:`${e}-switch__unchecked`},f)))))}}),LX=ve({name:"InjectionExtractor",props:{onSetup:Function},setup(e,{slots:t}){var n;return(n=e.onSetup)===null||n===void 0||n.call(e),()=>{var o;return(o=t.default)===null||o===void 0?void 0:o.call(t)}}}),FX={message:MY,notification:YY,loadingBar:gY,dialog:qU,modal:BY};function BX({providersAndProps:e,configProviderProps:t}){let o=Qy(()=>g(n2,we(t),{default:()=>e.map(({type:s,Provider:l,props:c})=>g(l,we(c),{default:()=>g(LX,{onSetup:()=>r[s]=FX[s]()})}))}));const r={app:o};let i;return dr&&(i=document.createElement("div"),document.body.appendChild(i),o.mount(i)),Object.assign({unmount:()=>{var s;if(o===null||i===null){ar("discrete","unmount call no need because discrete app has been unmounted");return}o.unmount(),(s=i.parentNode)===null||s===void 0||s.removeChild(i),i=null,o=null}},r)}function NX(e,{configProviderProps:t,messageProviderProps:n,dialogProviderProps:o,notificationProviderProps:r,loadingBarProviderProps:i,modalProviderProps:a}={}){const s=[];return e.forEach(c=>{switch(c){case"message":s.push({type:c,Provider:OY,props:n});break;case"notification":s.push({type:c,Provider:GY,props:r});break;case"dialog":s.push({type:c,Provider:UU,props:o});break;case"loadingBar":s.push({type:c,Provider:mY,props:i});break;case"modal":s.push({type:c,Provider:FY,props:a})}}),BX({providersAndProps:s,configProviderProps:t})}function HX(){const e=We(ko,null);return L(()=>{if(e===null)return bt;const{mergedThemeRef:{value:t},mergedThemeOverridesRef:{value:n}}=e,o=(t==null?void 0:t.common)||bt;return n!=null&&n.common?Object.assign({},o,n.common):o})}const jX=()=>({}),VX={name:"Equation",common:Ne,self:jX},WX=VX,UX={name:"FloatButtonGroup",common:Ne,self(e){const{popoverColor:t,dividerColor:n,borderRadius:o}=e;return{color:t,buttonBorderColor:n,borderRadiusSquare:o,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}}},qX=UX,PS={name:"dark",common:Ne,Alert:xH,Anchor:AH,AutoComplete:KH,Avatar:H_,AvatarGroup:JH,BackTop:ej,Badge:cj,Breadcrumb:pj,Button:Wn,ButtonGroup:Zq,Calendar:$j,Card:Y_,Carousel:Vj,Cascader:hV,Checkbox:ja,Code:t2,Collapse:_V,CollapseTransition:PV,ColorPicker:Oj,DataTable:uW,DatePicker:SU,Descriptions:RU,Dialog:H2,Divider:XU,Drawer:nq,Dropdown:hm,DynamicInput:wq,DynamicTags:$q,Element:Iq,Empty:ji,Ellipsis:h2,Equation:WX,Flex:zq,Form:Bq,GradientText:Qq,Icon:FW,IconWrapper:UG,Image:qG,Input:uo,InputNumber:tK,LegacyTransfer:cY,Layout:aK,List:fK,LoadingBar:pK,Log:yK,Menu:PK,Mention:CK,Message:Yq,Modal:FU,Notification:Wq,PageHeader:EK,Pagination:u2,Popconfirm:OK,Popover:Wi,Popselect:o2,Progress:iS,QrCode:aX,Radio:g2,Rate:FK,Result:VK,Row:NG,Scrollbar:Vn,Select:s2,Skeleton:_X,Slider:qK,Space:J2,Spin:XK,Statistic:QK,Steps:oG,Switch:iG,Table:fG,Tabs:gG,Tag:A_,Thing:yG,TimePicker:F2,Timeline:wG,Tooltip:Ou,Transfer:kG,Tree:cS,TreeSelect:EG,Typography:OG,Upload:DG,Watermark:FG,Split:OX,FloatButton:jG,FloatButtonGroup:qX},KX={"aria-hidden":"true",width:"1em",height:"1em"},GX=["xlink:href","fill"],YX=ve({__name:"SvgIcon",props:{icon:{type:String,required:!0},prefix:{type:String,default:"icon-custom"},color:{type:String,default:"currentColor"}},setup(e){const t=e,n=L(()=>`#${t.prefix}-${t.icon}`);return(o,r)=>(me(),ze("svg",KX,[U("use",{"xlink:href":n.value,fill:e.color},null,8,GX)]))}}),Zs=(e,t={size:12})=>()=>g(mr,t,()=>g(qA,{icon:e})),TS=(e,t={size:12})=>()=>g(mr,t,()=>g(YX,{icon:e}));function XX(){var n,o;const e={default:ZX,blue:JX,black:QX,darkblue:eZ},t=((o=(n=window.settings)==null?void 0:n.theme)==null?void 0:o.color)||"default";return Object.prototype.hasOwnProperty.call(e,t)?e[t]:e.default}const ZX={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#316C72FF",primaryColorHover:"#316C72E3",primaryColorPressed:"#2B4C59FF",primaryColorSuppl:"#316C72E3",infoColor:"#316C72FF",infoColorHover:"#316C72E3",infoColorPressed:"#2B4C59FF",infoColorSuppl:"#316C72E3",successColor:"#18A058FF",successColorHover:"#36AD6AFF",successColorPressed:"#0C7A43FF",successColorSuppl:"#36AD6AFF",warningColor:"#F0A020FF",warningColorHover:"#FCB040FF",warningColorPressed:"#C97C10FF",warningColorSuppl:"#FCB040FF",errorColor:"#D03050FF",errorColorHover:"#DE576DFF",errorColorPressed:"#AB1F3FFF",errorColorSuppl:"#DE576DFF"}}},JX={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#0665d0",primaryColorHover:"#2a84de",primaryColorPressed:"#004085",primaryColorSuppl:"#0056b3",infoColor:"#0665d0",infoColorHover:"#2a84de",infoColorPressed:"#0c5460",infoColorSuppl:"#004085",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},QX={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#343a40",primaryColorHover:"#23272b",primaryColorPressed:"#1d2124",primaryColorSuppl:"#23272b",infoColor:"#343a40",infoColorHover:"#23272b",infoColorPressed:"#1d2124",infoColorSuppl:"#23272b",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},eZ={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#004175",primaryColorHover:"#002c4c",primaryColorPressed:"#001f35",primaryColorSuppl:"#002c4c",infoColor:"#004175",infoColorHover:"#002c4c",infoColorPressed:"#001f35",infoColorSuppl:"#002c4c",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},{header:tZ,tags:bBe,naiveThemeOverrides:$h}=XX();function Bu(e){return Fh()?(J1(e),!0):!1}function Co(e){return typeof e=="function"?e():we(e)}const RS=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const nZ=e=>e!=null,oZ=Object.prototype.toString,rZ=e=>oZ.call(e)==="[object Object]",ES=()=>{};function iZ(e,t){function n(...o){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(r).catch(i)})}return n}const $S=e=>e();function aZ(e=$S){const t=W(!0);function n(){t.value=!1}function o(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:io(t),pause:n,resume:o,eventFilter:r}}function sZ(e){return e||Jn()}function lZ(...e){if(e.length!==1)return Ve(...e);const t=e[0];return typeof t=="function"?io(A3(()=>({get:t,set:ES}))):W(t)}function cZ(e,t,n={}){const{eventFilter:o=$S,...r}=n;return ft(e,iZ(o,t),r)}function uZ(e,t,n={}){const{eventFilter:o,...r}=n,{eventFilter:i,pause:a,resume:s,isActive:l}=aZ(o);return{stop:cZ(e,t,{...r,eventFilter:i}),pause:a,resume:s,isActive:l}}function AS(e,t=!0,n){sZ()?jt(e,n):t?e():Ht(e)}function dZ(e=!1,t={}){const{truthyValue:n=!0,falsyValue:o=!1}=t,r=cn(e),i=W(e);function a(s){if(arguments.length)return i.value=s,i.value;{const l=Co(n);return i.value=i.value===l?Co(o):l,i.value}}return r?a:[i,a]}function Ta(e){var t;const n=Co(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Vr=RS?window:void 0,fZ=RS?window.document:void 0;function Lc(...e){let t,n,o,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,r]=e,t=Vr):[t,n,o,r]=e,!t)return ES;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const i=[],a=()=>{i.forEach(u=>u()),i.length=0},s=(u,d,f,p)=>(u.addEventListener(d,f,p),()=>u.removeEventListener(d,f,p)),l=ft(()=>[Ta(t),Co(r)],([u,d])=>{if(a(),!u)return;const f=rZ(d)?{...d}:d;i.push(...n.flatMap(p=>o.map(h=>s(u,p,h,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),a()};return Bu(c),c}function hZ(){const e=W(!1),t=Jn();return t&&jt(()=>{e.value=!0},t),e}function Pm(e){const t=hZ();return L(()=>(t.value,!!e()))}function pZ(e,t={}){const{window:n=Vr}=t,o=Pm(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=W(!1),a=c=>{i.value=c.matches},s=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",a):r.removeListener(a))},l=Xt(()=>{o.value&&(s(),r=n.matchMedia(Co(e)),"addEventListener"in r?r.addEventListener("change",a):r.addListener(a),i.value=r.matches)});return Bu(()=>{l(),s(),r=void 0}),i}const ql=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Kl="__vueuse_ssr_handlers__",mZ=gZ();function gZ(){return Kl in ql||(ql[Kl]=ql[Kl]||{}),ql[Kl]}function IS(e,t){return mZ[e]||t}function vZ(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const bZ={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},n1="vueuse-storage";function yZ(e,t,n,o={}){var r;const{flush:i="pre",deep:a=!0,listenToStorageChanges:s=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:d=Vr,eventFilter:f,onError:p=T=>{console.error(T)},initOnMounted:h}=o,m=(u?Ra:W)(typeof t=="function"?t():t);if(!n)try{n=IS("getDefaultStorage",()=>{var T;return(T=Vr)==null?void 0:T.localStorage})()}catch(T){p(T)}if(!n)return m;const v=Co(t),b=vZ(v),w=(r=o.serializer)!=null?r:bZ[b],{pause:C,resume:S}=uZ(m,()=>x(m.value),{flush:i,deep:a,eventFilter:f});d&&s&&AS(()=>{Lc(d,"storage",k),Lc(d,n1,P),h&&k()}),h||k();function _(T,$){d&&d.dispatchEvent(new CustomEvent(n1,{detail:{key:e,oldValue:T,newValue:$,storageArea:n}}))}function x(T){try{const $=n.getItem(e);if(T==null)_($,null),n.removeItem(e);else{const R=w.write(T);$!==R&&(n.setItem(e,R),_($,R))}}catch($){p($)}}function y(T){const $=T?T.newValue:n.getItem(e);if($==null)return l&&v!=null&&n.setItem(e,w.write(v)),v;if(!T&&c){const R=w.read($);return typeof c=="function"?c(R,v):b==="object"&&!Array.isArray(R)?{...v,...R}:R}else return typeof $!="string"?$:w.read($)}function k(T){if(!(T&&T.storageArea!==n)){if(T&&T.key==null){m.value=v;return}if(!(T&&T.key!==e)){C();try{(T==null?void 0:T.newValue)!==w.write(m.value)&&(m.value=y(T))}catch($){p($)}finally{T?Ht(S):S()}}}}function P(T){k(T.detail)}return m}function OS(e){return pZ("(prefers-color-scheme: dark)",e)}function xZ(e={}){const{selector:t="html",attribute:n="class",initialValue:o="auto",window:r=Vr,storage:i,storageKey:a="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},f=OS({window:r}),p=L(()=>f.value?"dark":"light"),h=l||(a==null?lZ(o):yZ(a,o,i,{window:r,listenToStorageChanges:s})),m=L(()=>h.value==="auto"?p.value:h.value),v=IS("updateHTMLAttrs",(S,_,x)=>{const y=typeof S=="string"?r==null?void 0:r.document.querySelector(S):Ta(S);if(!y)return;let k;if(u){k=r.document.createElement("style");const P="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";k.appendChild(document.createTextNode(P)),r.document.head.appendChild(k)}if(_==="class"){const P=x.split(/\s/g);Object.values(d).flatMap(T=>(T||"").split(/\s/g)).filter(Boolean).forEach(T=>{P.includes(T)?y.classList.add(T):y.classList.remove(T)})}else y.setAttribute(_,x);u&&(r.getComputedStyle(k).opacity,document.head.removeChild(k))});function b(S){var _;v(t,n,(_=d[S])!=null?_:S)}function w(S){e.onChanged?e.onChanged(S,b):b(S)}ft(m,w,{flush:"post",immediate:!0}),AS(()=>w(m.value));const C=L({get(){return c?h.value:m.value},set(S){h.value=S}});try{return Object.assign(C,{store:h,system:p,state:m})}catch{return C}}function CZ(e,t,n={}){const{window:o=Vr,...r}=n;let i;const a=Pm(()=>o&&"MutationObserver"in o),s=()=>{i&&(i.disconnect(),i=void 0)},l=L(()=>{const f=Co(e),p=(Array.isArray(f)?f:[f]).map(Ta).filter(nZ);return new Set(p)}),c=ft(()=>l.value,f=>{s(),a.value&&o&&f.size&&(i=new MutationObserver(t),f.forEach(p=>i.observe(p,r)))},{immediate:!0,flush:"post"}),u=()=>i==null?void 0:i.takeRecords(),d=()=>{s(),c()};return Bu(d),{isSupported:a,stop:d,takeRecords:u}}function wZ(e,t,n={}){const{window:o=Vr,initialValue:r="",observe:i=!1}=n,a=W(r),s=L(()=>{var c;return Ta(t)||((c=o==null?void 0:o.document)==null?void 0:c.documentElement)});function l(){var c;const u=Co(e),d=Co(s);if(d&&o){const f=(c=o.getComputedStyle(d).getPropertyValue(u))==null?void 0:c.trim();a.value=f||r}}return i&&CZ(s,l,{attributeFilter:["style","class"],window:o}),ft([s,()=>Co(e)],l,{immediate:!0}),ft(a,c=>{var u;(u=s.value)!=null&&u.style&&s.value.style.setProperty(Co(e),c)}),a}function MS(e={}){const{valueDark:t="dark",valueLight:n="",window:o=Vr}=e,r=xZ({...e,onChanged:(s,l)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,s==="dark",l,s):l(s)},modes:{dark:t,light:n}}),i=L(()=>r.system?r.system.value:OS({window:o}).value?"dark":"light");return L({get(){return r.value==="dark"},set(s){const l=s?"dark":"light";i.value===l?r.value="auto":r.value=l}})}const o1=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function _Z(e,t={}){const{document:n=fZ,autoExit:o=!1}=t,r=L(()=>{var b;return(b=Ta(e))!=null?b:n==null?void 0:n.querySelector("html")}),i=W(!1),a=L(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(b=>n&&b in n||r.value&&b in r.value)),s=L(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(b=>n&&b in n||r.value&&b in r.value)),l=L(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(b=>n&&b in n||r.value&&b in r.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(b=>n&&b in n),u=Pm(()=>r.value&&n&&a.value!==void 0&&s.value!==void 0&&l.value!==void 0),d=()=>c?(n==null?void 0:n[c])===r.value:!1,f=()=>{if(l.value){if(n&&n[l.value]!=null)return n[l.value];{const b=r.value;if((b==null?void 0:b[l.value])!=null)return!!b[l.value]}}return!1};async function p(){if(!(!u.value||!i.value)){if(s.value)if((n==null?void 0:n[s.value])!=null)await n[s.value]();else{const b=r.value;(b==null?void 0:b[s.value])!=null&&await b[s.value]()}i.value=!1}}async function h(){if(!u.value||i.value)return;f()&&await p();const b=r.value;a.value&&(b==null?void 0:b[a.value])!=null&&(await b[a.value](),i.value=!0)}async function m(){await(i.value?p():h())}const v=()=>{const b=f();(!b||b&&d())&&(i.value=b)};return Lc(n,o1,v,!1),Lc(()=>Ta(r),o1,v,!1),o&&Bu(p),{isSupported:u,isFullscreen:i,enter:h,exit:p,toggle:m}}const Pn=au("app",{state(){var e,t,n,o,r,i,a;return{collapsed:window.innerWidth<768,isDark:MS(),title:(e=window.settings)==null?void 0:e.title,assets_path:(t=window.settings)==null?void 0:t.assets_path,theme:(n=window.settings)==null?void 0:n.theme,version:(o=window.settings)==null?void 0:o.version,background_url:(r=window.settings)==null?void 0:r.background_url,description:(i=window.settings)==null?void 0:i.description,logo:(a=window.settings)==null?void 0:a.logo,lang:gu().value||"zh-CN",appConfig:{}}},actions:{async getConfig(){const{data:e}=await DZ();e&&(this.appConfig=e)},switchCollapsed(){this.collapsed=!this.collapsed},setCollapsed(e){this.collapsed=e},setDark(e){this.isDark=e},toggleDark(){this.isDark=!this.isDark},async switchLang(e){CC(e),location.reload()}}});function SZ(e){let t=null;class n{removeMessage(r=t,i=2e3){setTimeout(()=>{r&&(r.destroy(),r=null)},i)}showMessage(r,i,a={}){if(t&&t.type==="loading")t.type=r,t.content=i,r!=="loading"&&this.removeMessage(t,a.duration);else{const s=e[r](i,a);r==="loading"&&(t=s)}}loading(r){this.showMessage("loading",r,{duration:0})}success(r,i={}){this.showMessage("success",r,i)}error(r,i={}){this.showMessage("error",r,i)}info(r,i={}){this.showMessage("info",r,i)}warning(r,i={}){this.showMessage("warning",r,i)}}return new n}function kZ(e){return e.confirm=function(t={}){const n=!_C(t.title);return new Promise(o=>{e[t.type||"warning"]({showIcon:n,positiveText:gn.global.t("确定"),negativeText:gn.global.t("取消"),onPositiveClick:()=>{t.confirm&&t.confirm(),o(!0)},onNegativeClick:()=>{t.cancel&&t.cancel(),o(!1)},onMaskClick:()=>{t.cancel&&t.cancel(),o(!1)},...t})})},e}function PZ(){const e=Pn(),t=L(()=>({theme:e.isDark?PS:void 0,themeOverrides:$h})),{message:n,dialog:o,notification:r,loadingBar:i}=NX(["message","dialog","notification","loadingBar"],{configProviderProps:t});window.$loadingBar=i,window.$notification=r,window.$message=SZ(n),window.$dialog=kZ(o)}const TZ="access_token",RZ=6*60*60;function Qd(e){nl.set(TZ,e,RZ)}function EZ(e){if(e.method==="get"&&(e.params={...e.params,t:new Date().getTime()}),IR(e))return e;const t=jx();return t.value?(e.headers.Authorization=e.headers.Authorization||t.value,e):(fp(),Promise.reject({code:"-1",message:"未登录"}))}function $Z(e){return Promise.reject(e)}function AZ(e){return Promise.resolve((e==null?void 0:e.data)||{code:-1,message:"未知错误"})}function IZ(e){var i;const t=((i=e.response)==null?void 0:i.data)||{code:-1,message:"未知错误"};let n=t.message;const{code:o,errors:r}=t;switch(o){case 401:n=n||"登录已过期";break;case 403:n=n||"没有权限";break;case 404:n=n||"资源或接口不存在";break;default:n=n||"未知异常"}return window.$message.error(n),Promise.resolve({code:o,message:n,errors:r})}function OZ(e={}){const t={headers:{"Content-Type":"application/x-www-form-urlencoded","Content-Language":gu().value||"zh-CN"},timeout:12e3},n=$R.create({...t,...e});return n.interceptors.request.use(EZ,$Z),n.interceptors.response.use(AZ,IZ),n}const wt=OZ({baseURL:MZ()});function MZ(){let e=zZ(window.routerBase||"/")+"api/v1";return/^https?:\/\//.test(e)||(e=window.location.origin+e),e}function zZ(e){return e.endsWith("/")?e:"/"+e}function DZ(){return wt.get("/user/comm/config")}function LZ(){return wt.get("/user/info")}function FZ(){return wt.get("/user/getStat")}function BZ(){return wt.get("/user/getSubscribe")}function NZ(){return wt.get("/user/notice/fetch")}function HZ(){return wt.get("/user/plan/fetch")}function zS(){return wt.get("/user/server/fetch")}function Tm(){return wt.get("/user/order/fetch")}function jZ(e){return wt.get("/user/order/detail?trade_no="+e)}function Nu(e){return wt.post("/user/order/cancel",{trade_no:e})}function VZ(e){return wt.get("/user/order/check?trade_no="+e)}function WZ(){return wt.get("/user/invite/fetch")}function UZ(e=1,t=10){return wt.get(`/user/invite/details?current=${e}&page_size=${t}`)}function qZ(){return wt.get("/user/invite/save")}function KZ(e){return wt.post("/user/transfer",{transfer_amount:e})}function GZ(e){return wt.post("/user/ticket/withdraw",e)}function r1(e){return wt.post("/user/update",e)}function YZ(e,t){return wt.post("/user/changePassword",{old_password:e,new_password:t})}function XZ(){return wt.get("/user/resetSecurity")}function ZZ(){return wt.get("/user/stat/getTrafficLog")}function JZ(){return wt.get("/user/order/getPaymentMethod")}function DS(e,t,n){return wt.post("/user/order/save",{plan_id:e,period:t,coupon_code:n})}function QZ(e,t){return wt.post("/user/order/checkout",{trade_no:e,method:t})}function eJ(e){return wt.get("/user/plan/fetch?id="+e)}function tJ(e,t){return wt.post("/user/coupon/check",{code:e,plan_id:t})}function nJ(){return wt.get("/user/ticket/fetch")}function oJ(e,t,n){return wt.post("/user/ticket/save",{subject:e,level:t,message:n})}function rJ(e){return wt.post("/user/ticket/close",{id:e})}function iJ(e){return wt.get("/user/ticket/fetch?id="+e)}function aJ(e,t){return wt.post("/user/ticket/reply",{id:e,message:t})}function sJ(e="",t="zh-CN"){return wt.get(`/user/knowledge/fetch?keyword=${e}&language=${t}`)}function lJ(e,t="zh-CN"){return wt.get(`/user/knowledge/fetch?id=${e}&language=${t}`)}function cJ(){return wt.get("user/telegram/getBotInfo")}const Ki=au("user",{state:()=>({userInfo:{}}),getters:{userUUID(){var e;return(e=this.userInfo)==null?void 0:e.uuid},email(){var e;return(e=this.userInfo)==null?void 0:e.email},avatar(){return this.userInfo.avatar_url??""},role(){return[]},remind_expire(){return this.userInfo.remind_expire},remind_traffic(){return this.userInfo.remind_traffic},balance(){return this.userInfo.balance},plan_id(){return this.userInfo.plan_id},expired_at(){return this.userInfo.expired_at},plan(){return this.userInfo.plan},subscribe(){return this.userInfo.subscribe}},actions:{async getUserInfo(){try{const e=await LZ(),{data:t}=e;return t?(this.userInfo=t,t):Promise.reject(e)}catch(e){return Promise.reject(e)}},async getUserSubscribe(){try{const e=await BZ(),{data:t}=e;return t?(this.userInfo.subscribe=t,this.userInfo.plan=t.plan,t):Promise.reject(e)}catch(e){return Promise.reject(e)}},async logout(){Vx(),this.userInfo={},fp()},setUserInfo(e){this.userInfo={...this.userInfo,...e}}}});function uJ(e,t){var o,r;if(!((o=e.meta)!=null&&o.requireAuth))return!0;const n=((r=e.meta)==null?void 0:r.role)||[];return!t.length||!n.length?!1:t.some(i=>n.includes(i))}function LS(e,t){const n=[];return e.forEach(o=>{if(uJ(o,t)){const r={...o,children:[]};o.children&&o.children.length?r.children=LS(o.children,t):Reflect.deleteProperty(r,"children"),n.push(r)}}),n}const FS=au("permission",{state(){return{accessRoutes:[]}},getters:{routes(){return dx.concat(JSON.parse(JSON.stringify(this.accessRoutes)))},menus(){return this.routes.filter(e=>{var t;return e.name&&!((t=e.meta)!=null&&t.isHidden)})}},actions:{generateRoutes(e){const t=LS(fx,e);return this.accessRoutes=t,t}}}),dJ=yc.get("activeTag"),fJ=yc.get("tags"),hJ=["/404","/login"],pJ=au({id:"tag",state:()=>{const e=W(fJ.value),t=W(dJ.value),n=W(!1);return{tags:e,activeTag:t,reloading:n}},getters:{activeIndex:e=>()=>e.tags.findIndex(t=>t.path===e.activeTag)},actions:{setActiveTag(e){this.activeTag=e,yc.set("activeTag",e)},setTags(e){this.tags=e,yc.set("tags",e)},addTag(e={}){if(hJ.includes(e.path))return;let t=this.tags.find(n=>n.path===e.path);t?t=e:this.setTags([...this.tags,e]),this.setActiveTag(e.path)},async reloadTag(e,t){let n=this.tags.find(o=>o.path===e);n?t&&(n.keepAlive=!1):(n={path:e,keepAlive:!1},this.tags.push(n)),window.$loadingBar.start(),this.reloading=!0,await Ht(),this.reloading=!1,n.keepAlive=t,setTimeout(()=>{document.documentElement.scrollTo({left:0,top:0}),window.$loadingBar.finish()},100)},removeTag(e){this.setTags(this.tags.filter(t=>t.path!==e)),e===this.activeTag&&Gt.push(this.tags[this.tags.length-1].path)},removeOther(e){e||(e=this.activeTag),e||this.setTags(this.tags.filter(t=>t.path===e)),e!==this.activeTag&&Gt.push(this.tags[this.tags.length-1].path)},removeLeft(e){const t=this.tags.findIndex(o=>o.path===e),n=this.tags.filter((o,r)=>r>=t);this.setTags(n),n.find(o=>o.path===this.activeTag)||Gt.push(n[n.length-1].path)},removeRight(e){const t=this.tags.findIndex(o=>o.path===e),n=this.tags.filter((o,r)=>r<=t);this.setTags(n),n.find(o=>o.path===this.activeTag)||Gt.push(n[n.length-1].path)},resetTags(){this.setTags([]),this.setActiveTag("")}}});function mJ(e){e.use(s5())}const gJ=["/login","/register","/forgetpassword"];function vJ(e){const t=Ki(),n=FS();e.beforeEach(async(o,r,i)=>{var s;jx().value?o.path==="/login"?i({path:((s=o.query.redirect)==null?void 0:s.toString())??"/dashboard"}):t.userUUID?i():(await Promise.all([Pn().getConfig(),t.getUserInfo().catch(c=>{Vx(),fp(),window.$message.error(c.message||"获取用户信息失败!")})]),n.generateRoutes(t.role).forEach(c=>{c.name&&!e.hasRoute(c.name)&&e.addRoute(c)}),e.addRoute(o5),i({...o,replace:!0})):gJ.includes(o.path)?i():i({path:"/login"})})}function bJ(e){r5(e),vJ(e),i5(e)}const Gt=PT({history:tT("/"),routes:dx,scrollBehavior:()=>({left:0,top:0})});function yJ(e){e.use(Gt),bJ(Gt)}const xJ=ve({__name:"AppProvider",setup(e){const t=Pn(),n={"zh-CN":[UL,b0],"en-US":[f_,p_],"fa-IR":[n9,FB],"ko-KR":[JL,X7],"vi-VN":[e9,DB],"zh-TW":[KL,b0],"ja-JP":[XL,f7]};function o(){const r=$h.common;for(const i in r)wZ(`--${LL(i)}`,document.documentElement).value=r[i]||"",i==="primaryColor"&&window.localStorage.setItem("__THEME_COLOR__",r[i]||"")}return o(),(r,i)=>{const a=n2;return me(),qe(a,{"wh-full":"",locale:n[we(t).lang][0],"date-locale":n[we(t).lang][1],theme:we(t).isDark?we(PS):void 0,"theme-overrides":we($h)},{default:ce(()=>[Qc(r.$slots,"default")]),_:3},8,["locale","date-locale","theme","theme-overrides"])}}}),CJ=ve({__name:"App",setup(e){const t=Ki();return Xt(()=>{const{balance:o,plan:r,expired_at:i,subscribe:a,email:s}=t;if(window.$crisp&&s){const l=[["Balance",(o/100).toString()],...r!=null&&r.name?[["Plan",r.name]]:[],["ExpireTime",Ho(i)],["UsedTraffic",xs(((a==null?void 0:a.u)||0)+((a==null?void 0:a.d)||0))],["AllTraffic",xs(a==null?void 0:a.transfer_enable)]];window.$crisp.push(["set","user:email",s]),window.$crisp.push(["set","session:data",[l]])}}),(o,r)=>{const i=Gc("router-view");return me(),qe(xJ,null,{default:ce(()=>[ie(i,null,{default:ce(({Component:a})=>[(me(),qe(Yc(a)))]),_:1})]),_:1})}}}),Hu=Qy(CJ);mJ(Hu);PZ();yJ(Hu);V$(Hu);Hu.mount("#app");const wJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},_J=U("path",{fill:"currentColor",d:"M6.225 4.811a1 1 0 0 0-1.414 1.414L10.586 12L4.81 17.775a1 1 0 1 0 1.414 1.414L12 13.414l5.775 5.775a1 1 0 0 0 1.414-1.414L13.414 12l5.775-5.775a1 1 0 0 0-1.414-1.414L12 10.586z"},null,-1),SJ=[_J];function kJ(e,t){return me(),ze("svg",wJ,[...SJ])}const BS={name:"gg-close",render:kJ},PJ={"h-60":"","f-c-c":""},TJ=["src"],RJ=ve({__name:"SideLogo",setup(e){const t=Pn();return(n,o)=>{const r=BS,i=zt;return me(),ze("div",PJ,[we(t).logo?(me(),ze("img",{key:0,src:we(t).logo,height:"30"},null,8,TJ)):pt("",!0),dn(U("h2",{"ml-10":"","max-w-140":"","flex-shrink-0":"","text-16":"","font-bold":"","color-primary":""},le(we(t).title),513),[[Mn,!we(t).collapsed]]),ie(i,{onClick:[o[0]||(o[0]=bP(()=>{},["stop"])),we(t).switchCollapsed],class:"absolute right-15 h-auto p-0 md:hidden",tertiary:"",size:"medium"},{icon:ce(()=>[ie(r,{class:"cursor-pointer opacity-85"})]),_:1},8,["onClick"])])}}}),EJ=ve({__name:"SideMenu",setup(e){const t=Pn(),n=h=>gn.global.t(h);function o(){window.innerWidth<=950&&(t.collapsed=!0)}const r=ux(),i=Aa(),a=FS(),s=L(()=>{var h;return((h=i.meta)==null?void 0:h.activeMenu)||i.name}),l=L(()=>a.menus.reduce((v,b)=>{var C,S,_,x;const w=d(b);if((S=(C=w.meta)==null?void 0:C.group)!=null&&S.key){const y=w.meta.group.key,k=v.findIndex(P=>P.key===y);if(k!==-1)(_=v[k].children)==null||_.push(w),v[k].children=(x=v[k].children)==null?void 0:x.sort((P,T)=>P.order-T.order);else{const P={type:"group",label:n(w.meta.group.label||""),key:y,children:[w]};v.push(P)}}else v.push(w);return v.sort((y,k)=>y.order-k.order)},[]).sort((v,b)=>v.type==="group"&&b.type!=="group"?1:v.type!=="group"&&b.type==="group"?-1:v.order-b.order));function c(h,m){return Bv(m)?m:"/"+[h,m].filter(v=>!!v&&v!=="/").map(v=>v.replace(/(^\/)|(\/$)/g,"")).join("/")}function u(h,m){var b;const v=((b=h.children)==null?void 0:b.filter(w=>{var C;return w.name&&!((C=w.meta)!=null&&C.isHidden)}))||[];return v.length===1?d(v[0],m):v.length>1?{children:v.map(w=>d(w,m)).sort((w,C)=>w.order-C.order)}:null}function d(h,m=""){const{title:v,order:b}=h.meta||{title:"",order:0},{name:w,path:C}=h,S=v||w||"",_=w||"",x=f(h.meta),y=b||0,k=h.meta;let P={label:n(S),key:_,path:c(m,C),icon:x!==null?x:void 0,meta:k,order:y};const T=u(h,P.path);return T&&(P={...P,...T}),P}function f(h){return h!=null&&h.customIcon?TS(h.customIcon,{size:18}):h!=null&&h.icon?Zs(h.icon,{size:18}):null}function p(h,m){Bv(m.path)?window.open(m.path):r.push(m.path)}return(h,m)=>{const v=PY;return me(),qe(v,{ref:"menu",class:"side-menu",accordion:"","root-indent":18,indent:0,"collapsed-icon-size":22,"collapsed-width":60,options:l.value,value:s.value,"onUpdate:value":p,onClick:m[0]||(m[0]=b=>o())},null,8,["options","value"])}}}),i1=ve({__name:"index",setup(e){return(t,n)=>(me(),ze(rt,null,[ie(RJ),ie(EJ)],64))}}),$J=ve({__name:"AppMain",setup(e){const t=pJ();return(n,o)=>{const r=Gc("router-view");return me(),qe(r,null,{default:ce(({Component:i,route:a})=>[we(t).reloading?pt("",!0):(me(),qe(Yc(i),{key:a.fullPath}))]),_:1})}}}),AJ=ve({__name:"BreadCrumb",setup(e){const t=Aa();function n(o){return o!=null&&o.customIcon?TS(o.customIcon,{size:18}):o!=null&&o.icon?Zs(o.icon,{size:18}):null}return(o,r)=>{const i=xj,a=vj;return me(),qe(a,null,{default:ce(()=>[(me(!0),ze(rt,null,Hn(we(t).matched.filter(s=>{var l;return!!((l=s.meta)!=null&&l.title)}),s=>(me(),qe(i,{key:s.path},{default:ce(()=>[(me(),qe(Yc(n(s.meta)))),nt(" "+le(o.$t(s.meta.title)),1)]),_:2},1024))),128))]),_:1})}}}),IJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},OJ=U("path",{fill:"currentColor",d:"M11 13h10v-2H11m0-2h10V7H11M3 3v2h18V3M3 21h18v-2H3m0-7l4 4V8m4 9h10v-2H11z"},null,-1),MJ=[OJ];function zJ(e,t){return me(),ze("svg",IJ,[...MJ])}const DJ={name:"mdi-format-indent-decrease",render:zJ},LJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},FJ=U("path",{fill:"currentColor",d:"M11 13h10v-2H11m0-2h10V7H11M3 3v2h18V3M11 17h10v-2H11M3 8v8l4-4m-4 9h18v-2H3z"},null,-1),BJ=[FJ];function NJ(e,t){return me(),ze("svg",LJ,[...BJ])}const HJ={name:"mdi-format-indent-increase",render:NJ},jJ=ve({__name:"MenuCollapse",setup(e){const t=Pn();return(n,o)=>{const r=HJ,i=DJ,a=mr;return me(),qe(a,{size:"20","cursor-pointer":"",onClick:we(t).switchCollapsed},{default:ce(()=>[we(t).collapsed?(me(),qe(r,{key:0})):(me(),qe(i,{key:1}))]),_:1},8,["onClick"])}}}),VJ={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},WJ=U("path",{fill:"currentColor",d:"m290 236.4l43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6l43.7 43.7a8.01 8.01 0 0 0 13.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 0 0 0 11.3zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9zm-463.7-94.6a8.03 8.03 0 0 0-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6L423.7 654c3.1-3.1 3.1-8.2 0-11.3z"},null,-1),UJ=[WJ];function qJ(e,t){return me(),ze("svg",VJ,[...UJ])}const KJ={name:"ant-design-fullscreen-outlined",render:qJ},GJ={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},YJ=U("path",{fill:"currentColor",d:"M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 0 0 0 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 0 0 391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8m221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6L877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 0 0-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9M744 690.4l43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3z"},null,-1),XJ=[YJ];function ZJ(e,t){return me(),ze("svg",GJ,[...XJ])}const JJ={name:"ant-design-fullscreen-exit-outlined",render:ZJ},QJ=ve({__name:"FullScreen",setup(e){const{isFullscreen:t,toggle:n}=_Z();return(o,r)=>{const i=JJ,a=KJ,s=mr;return me(),qe(s,{mr20:"",size:"18",style:{cursor:"pointer"},onClick:we(n)},{default:ce(()=>[we(t)?(me(),qe(i,{key:0})):(me(),qe(a,{key:1}))]),_:1},8,["onClick"])}}}),eQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},tQ=U("path",{fill:"currentColor",d:"M15.88 9.29L12 13.17L8.12 9.29a.996.996 0 1 0-1.41 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 0 0-1.41c-.39-.38-1.03-.39-1.42 0"},null,-1),nQ=[tQ];function oQ(e,t){return me(),ze("svg",eQ,[...nQ])}const rQ={name:"ic-round-expand-more",render:oQ},iQ={class:"inline-block",viewBox:"0 0 32 32",width:"1em",height:"1em"},aQ=U("path",{fill:"none",d:"M8.007 24.93A4.996 4.996 0 0 1 13 20h6a4.996 4.996 0 0 1 4.993 4.93a11.94 11.94 0 0 1-15.986 0M20.5 12.5A4.5 4.5 0 1 1 16 8a4.5 4.5 0 0 1 4.5 4.5"},null,-1),sQ=U("path",{fill:"currentColor",d:"M26.749 24.93A13.99 13.99 0 1 0 2 16a13.899 13.899 0 0 0 3.251 8.93l-.02.017c.07.084.15.156.222.239c.09.103.187.2.28.3c.28.304.568.596.87.87c.092.084.187.162.28.242c.32.276.649.538.99.782c.044.03.084.069.128.1v-.012a13.901 13.901 0 0 0 16 0v.012c.044-.031.083-.07.128-.1c.34-.245.67-.506.99-.782c.093-.08.188-.159.28-.242c.302-.275.59-.566.87-.87c.093-.1.189-.197.28-.3c.071-.083.152-.155.222-.24ZM16 8a4.5 4.5 0 1 1-4.5 4.5A4.5 4.5 0 0 1 16 8M8.007 24.93A4.996 4.996 0 0 1 13 20h6a4.996 4.996 0 0 1 4.993 4.93a11.94 11.94 0 0 1-15.986 0"},null,-1),lQ=[aQ,sQ];function cQ(e,t){return me(),ze("svg",iQ,[...lQ])}const uQ={name:"carbon-user-avatar-filled",render:cQ},dQ={class:"hidden md:block"},fQ=ve({__name:"UserAvatar",setup(e){const t=Ki(),n=i=>gn.global.t(i),o=[{label:n("个人中心"),key:"profile",icon:Zs("mdi-account-outline",{size:14})},{label:n("登出"),key:"logout",icon:Zs("mdi:exit-to-app",{size:14})}];function r(i){i==="logout"&&window.$dialog.confirm({title:n("提示"),type:"info",content:n("确认退出?"),confirm(){t.logout(),window.$message.success(n("已退出登录"))}}),i==="profile"&&Gt.push("/profile")}return(i,a)=>{const s=uQ,l=rQ,c=zt,u=gm;return me(),qe(u,{options:o,onSelect:r},{default:ce(()=>[ie(c,{text:"",flex:"","cursor-pointer":"","items-center":""},{default:ce(()=>[ie(s,{class:"mr-0 h-20 w-20 rounded-full md:mr10 md:h-30 md:w-30"}),ie(l,{class:"h-20 w-20 md:hidden"}),U("span",dQ,le(we(t).email),1)]),_:1})]),_:1})}}}),hQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},pQ=U("path",{fill:"currentColor",d:"M11.4 18.4H.9a.9.9 0 0 1-.9-.9V7.3a.9.9 0 0 1 .9-.9h10.5zm-4.525-2.72c.058.187.229.32.431.32h.854a.45.45 0 0 0 .425-.597l.001.003l-2.15-6.34a.451.451 0 0 0-.426-.306H4.791a.451.451 0 0 0-.425.302l-.001.003l-2.154 6.34a.45.45 0 0 0 .426.596h.856a.45.45 0 0 0 .431-.323l.001-.003l.342-1.193h2.258l.351 1.195zM5.41 10.414s.16.79.294 1.245l.406 1.408H4.68l.415-1.408c.131-.455.294-1.245.294-1.245zM23.1 18.4H12.6v-12h10.5a.9.9 0 0 1 .9.9v10.2a.9.9 0 0 1-.9.9m-1.35-8.55h-2.4v-.601a.45.45 0 0 0-.45-.45h-.601a.45.45 0 0 0-.45.45v.601h-2.4a.45.45 0 0 0-.45.45v.602c0 .248.201.45.45.45h4.281a5.861 5.861 0 0 1-1.126 1.621l.001-.001a7.105 7.105 0 0 1-.637-.764l-.014-.021a.452.452 0 0 0-.602-.129l.002-.001l-.273.16l-.24.146a.45.45 0 0 0-.139.642l-.001-.001c.253.359.511.674.791.969l-.004-.004c-.28.216-.599.438-.929.645l-.05.029a.45.45 0 0 0-.159.61l-.001-.002l.298.52a.451.451 0 0 0 .628.159l-.002.001c.507-.312.94-.619 1.353-.95l-.026.02c.387.313.82.62 1.272.901l.055.032a.449.449 0 0 0 .626-.158l.001-.002l.298-.52a.45.45 0 0 0-.153-.605l-.002-.001a11.5 11.5 0 0 1-1.004-.696l.027.02a6.708 6.708 0 0 0 1.586-2.572l.014-.047h.43a.45.45 0 0 0 .45-.45v-.602a.45.45 0 0 0-.45-.447h-.001z"},null,-1),mQ=[pQ];function gQ(e,t){return me(),ze("svg",hQ,[...mQ])}const vQ={name:"fontisto-language",render:gQ},bQ=ve({__name:"SwitchLang",setup(e){const t=Pn();return(n,o)=>{const r=vQ,i=zt,a=cm;return me(),qe(a,{value:we(t).lang,"onUpdate:value":o[0]||(o[0]=s=>we(t).lang=s),options:Object.entries(we(Gf)).map(([s,l])=>({label:l,value:s})),trigger:"click","on-update:value":we(t).switchLang},{default:ce(()=>[ie(i,{text:"","icon-placement":"left",class:"mr-20"},{icon:ce(()=>[ie(r)]),_:1})]),_:1},8,["value","options","on-update:value"])}}}),yQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},xQ=U("path",{fill:"currentColor",d:"m3.55 19.09l1.41 1.41l1.8-1.79l-1.42-1.42M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6s6-2.69 6-6c0-3.32-2.69-6-6-6m8 7h3v-2h-3m-2.76 7.71l1.8 1.79l1.41-1.41l-1.79-1.8M20.45 5l-1.41-1.4l-1.8 1.79l1.42 1.42M13 1h-2v3h2M6.76 5.39L4.96 3.6L3.55 5l1.79 1.81zM1 13h3v-2H1m12 9h-2v3h2"},null,-1),CQ=[xQ];function wQ(e,t){return me(),ze("svg",yQ,[...CQ])}const _Q={name:"mdi-white-balance-sunny",render:wQ},SQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},kQ=U("path",{fill:"currentColor",d:"M2 12a10 10 0 0 0 13 9.54a10 10 0 0 1 0-19.08A10 10 0 0 0 2 12"},null,-1),PQ=[kQ];function TQ(e,t){return me(),ze("svg",SQ,[...PQ])}const RQ={name:"mdi-moon-waning-crescent",render:TQ},EQ=ve({__name:"ThemeMode",setup(e){const t=Pn(),n=MS(),o=()=>{t.toggleDark(),dZ(n)()};return(r,i)=>{const a=RQ,s=_Q,l=mr;return me(),qe(l,{"mr-20":"","cursor-pointer":"",size:"18",onClick:o},{default:ce(()=>[we(n)?(me(),qe(a,{key:0})):(me(),qe(s,{key:1}))]),_:1})}}}),$Q={flex:"","items-center":""},AQ={"ml-auto":"",flex:"","items-center":""},IQ=ve({__name:"index",setup(e){return(t,n)=>(me(),ze(rt,null,[U("div",$Q,[ie(jJ),ie(AJ)]),U("div",AQ,[ie(EQ),ie(bQ),ie(QJ),ie(fQ)])],64))}}),OQ={"flex-col":"","flex-1":"","overflow-hidden":""},MQ={"flex-1":"","overflow-hidden":"","bg-hex-f5f6fb":"","dark:bg-hex-101014":""},zQ=ve({__name:"index",setup(e){const t=Pn();function n(a){t.collapsed=a}const o=L({get:()=>r.value&&!t.collapsed,set:a=>t.collapsed=!a}),r=W(!1),i=()=>{document.body.clientWidth<=950?(r.value=!0,t.collapsed=!0):(t.collapsed=!1,r.value=!1)};return jt(()=>{window.addEventListener("resize",i),i()}),(a,s)=>{const l=aY,c=X2,u=tY;return me(),qe(u,{"has-sider":"","wh-full":""},{default:ce(()=>[dn(ie(l,{bordered:"","collapse-mode":"transform","collapsed-width":0,width:220,"native-scrollbar":!1,collapsed:we(t).collapsed,"on-update:collapsed":n},{default:ce(()=>[ie(i1)]),_:1},8,["collapsed"]),[[Mn,!o.value]]),ie(c,{show:o.value,"onUpdate:show":s[0]||(s[0]=d=>o.value=d),width:220,placement:"left"},{default:ce(()=>[ie(l,{bordered:"","collapse-mode":"transform","collapsed-width":0,width:220,"native-scrollbar":!1,collapsed:we(t).collapsed,"on-update:collapsed":n},{default:ce(()=>[ie(i1)]),_:1},8,["collapsed"])]),_:1},8,["show"]),U("article",OQ,[U("header",{class:"flex items-center bg-white px-15",dark:"bg-dark border-0",style:Fr(`height: ${we(tZ).height}px`)},[ie(IQ)],4),U("section",MQ,[ie($J)])])]),_:1})}}}),gr=Object.freeze(Object.defineProperty({__proto__:null,default:zQ},Symbol.toStringTag,{value:"Module"})),ju=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},DQ={},LQ={"f-c-c":"","flex-col":"","text-14":"",color:"#6a6a6a"},FQ=U("p",null,[nt(" Copyright © 2022-present "),U("a",{href:"https://github.com/zclzone",target:"__blank",hover:"decoration-underline color-primary"}," Ronnie Zhang ")],-1),BQ=U("p",null,null,-1),NQ=[FQ,BQ];function HQ(e,t){return me(),ze("footer",LQ,NQ)}const jQ=ju(DQ,[["render",HQ]]),VQ={class:"cus-scroll-y wh-full flex-col bg-[#f5f6fb] p-5 dark:bg-hex-121212 md:p-15"},ho=ve({__name:"AppPage",props:{showFooter:{type:Boolean,default:!1}},setup(e){return(t,n)=>{const o=jQ,r=sj;return me(),qe(fn,{name:"fade-slide",mode:"out-in",appear:""},{default:ce(()=>[U("section",VQ,[Qc(t.$slots,"default"),e.showFooter?(me(),qe(o,{key:0,"mt-15":""})):pt("",!0),ie(r,{bottom:20,class:"z-99999"})])]),_:3})}}}),WQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},UQ=U("path",{fill:"currentColor",d:"M20 2H4c-.53 0-1.04.21-1.41.59C2.21 2.96 2 3.47 2 4v12c0 .53.21 1.04.59 1.41c.37.38.88.59 1.41.59h4l4 4l4-4h4c.53 0 1.04-.21 1.41-.59S22 16.53 22 16V4c0-.53-.21-1.04-.59-1.41C21.04 2.21 20.53 2 20 2M4 16V4h16v12h-4.83L12 19.17L8.83 16m1.22-9.96c.54-.36 1.25-.54 2.14-.54c.94 0 1.69.21 2.23.62q.81.63.81 1.68c0 .44-.15.83-.44 1.2c-.29.36-.67.64-1.13.85c-.26.15-.43.3-.52.47c-.09.18-.14.4-.14.68h-2c0-.5.1-.84.29-1.08c.21-.24.55-.52 1.07-.84c.26-.14.47-.32.64-.54c.14-.21.22-.46.22-.74c0-.3-.09-.52-.27-.69c-.18-.18-.45-.26-.76-.26c-.27 0-.49.07-.69.21c-.16.14-.26.35-.26.63H9.27c-.05-.69.23-1.29.78-1.65M11 14v-2h2v2Z"},null,-1),qQ=[UQ];function KQ(e,t){return me(),ze("svg",WQ,[...qQ])}const GQ={name:"mdi-tooltip-question-outline",render:KQ},YQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},XQ=U("path",{fill:"currentColor",d:"M12 20a8 8 0 0 0 8-8a8 8 0 0 0-8-8a8 8 0 0 0-8 8a8 8 0 0 0 8 8m0-18a10 10 0 0 1 10 10a10 10 0 0 1-10 10C6.47 22 2 17.5 2 12A10 10 0 0 1 12 2m.5 5v5.25l4.5 2.67l-.75 1.23L11 13V7z"},null,-1),ZQ=[XQ];function JQ(e,t){return me(),ze("svg",YQ,[...ZQ])}const QQ={name:"mdi-clock-outline",render:JQ},eee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},tee=U("path",{fill:"currentColor",d:"M6.18 15.64a2.18 2.18 0 0 1 2.18 2.18C8.36 19 7.38 20 6.18 20C5 20 4 19 4 17.82a2.18 2.18 0 0 1 2.18-2.18M4 4.44A15.56 15.56 0 0 1 19.56 20h-2.83A12.73 12.73 0 0 0 4 7.27zm0 5.66a9.9 9.9 0 0 1 9.9 9.9h-2.83A7.07 7.07 0 0 0 4 12.93z"},null,-1),nee=[tee];function oee(e,t){return me(),ze("svg",eee,[...nee])}const ree={name:"mdi-rss",render:oee},iee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},aee=U("path",{fill:"currentColor",d:"M12 21.5c-1.35-.85-3.8-1.5-5.5-1.5c-1.65 0-3.35.3-4.75 1.05c-.1.05-.15.05-.25.05c-.25 0-.5-.25-.5-.5V6c.6-.45 1.25-.75 2-1c1.11-.35 2.33-.5 3.5-.5c1.95 0 4.05.4 5.5 1.5c1.45-1.1 3.55-1.5 5.5-1.5c1.17 0 2.39.15 3.5.5c.75.25 1.4.55 2 1v14.6c0 .25-.25.5-.5.5c-.1 0-.15 0-.25-.05c-1.4-.75-3.1-1.05-4.75-1.05c-1.7 0-4.15.65-5.5 1.5M12 8v11.5c1.35-.85 3.8-1.5 5.5-1.5c1.2 0 2.4.15 3.5.5V7c-1.1-.35-2.3-.5-3.5-.5c-1.7 0-4.15.65-5.5 1.5m1 3.5c1.11-.68 2.6-1 4.5-1c.91 0 1.76.09 2.5.28V9.23c-.87-.15-1.71-.23-2.5-.23q-2.655 0-4.5.84zm4.5.17c-1.71 0-3.21.26-4.5.79v1.69c1.11-.65 2.6-.99 4.5-.99c1.04 0 1.88.08 2.5.24v-1.5c-.87-.16-1.71-.23-2.5-.23m2.5 2.9c-.87-.16-1.71-.24-2.5-.24c-1.83 0-3.33.27-4.5.8v1.69c1.11-.66 2.6-.99 4.5-.99c1.04 0 1.88.08 2.5.24z"},null,-1),see=[aee];function lee(e,t){return me(),ze("svg",iee,[...see])}const cee={name:"mdi-book-open-variant",render:lee},uee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},dee=U("g",{fill:"none"},[U("path",{d:"M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),U("path",{fill:"currentColor",d:"M10.5 20a1.5 1.5 0 0 0 3 0v-6.5H20a1.5 1.5 0 0 0 0-3h-6.5V4a1.5 1.5 0 0 0-3 0v6.5H4a1.5 1.5 0 0 0 0 3h6.5z"})],-1),fee=[dee];function hee(e,t){return me(),ze("svg",uee,[...fee])}const pee={name:"mingcute-add-fill",render:hee},mee={class:"inline-block",viewBox:"0 0 1200 1200",width:"1em",height:"1em"},gee=U("path",{fill:"currentColor",d:"M0 0v545.312h545.312V0zm654.688 0v545.312H1200V0zM108.594 108.594h328.125v328.125H108.594zm654.687 0h328.125v328.125H763.281zM217.969 219.531v108.594h110.156V219.531zm653.906 0v108.594h108.594V219.531zM0 654.688V1200h545.312V654.688zm654.688 0V1200h108.595V873.438h108.594v108.595H1200V654.688h-108.594v108.595H980.469V654.688zM108.594 763.281h328.125v328.125H108.594zm109.375 108.594v110.156h110.156V871.875zm653.906 219.531V1200h108.594v-108.594zm219.531 0V1200H1200v-108.594z"},null,-1),vee=[gee];function bee(e,t){return me(),ze("svg",mee,[...vee])}const yee={name:"el-qrcode",render:bee},xee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},Cee=U("path",{fill:"currentColor",d:"M5.503 4.627L5.5 6.75v10.504a3.25 3.25 0 0 0 3.25 3.25h8.616a2.25 2.25 0 0 1-2.122 1.5H8.75A4.75 4.75 0 0 1 4 17.254V6.75c0-.98.627-1.815 1.503-2.123M17.75 2A2.25 2.25 0 0 1 20 4.25v13a2.25 2.25 0 0 1-2.25 2.25h-9a2.25 2.25 0 0 1-2.25-2.25v-13A2.25 2.25 0 0 1 8.75 2z"},null,-1),wee=[Cee];function _ee(e,t){return me(),ze("svg",xee,[...wee])}const See={name:"fluent-copy24-filled",render:_ee},kee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAIAAAAiOjnJAAAON0lEQVR4nOydX2xT5f/Hn7M11A1lAqNmTQ1CS9QiZqbTSMwqetF6IwiJBRPwhkBi5EKyGLNyxcUk7sLtxkXjBRrNUHGikZiVSIKtMYGxaIo0TlcHsesCbVbJBqNs7X7xd/Y9bF3HnvY8/87zfF4XJmDPed7n87z5PKfnc55PbbOzswhYxIULF5555hneKixMDW8BgvLVV1/xlmBtNMhYiykWi+vXr//nn394C7EwkLHK8Msvv6RSKd4qrA0YqwxffvklbwmWB5bCUmZmZlwu17Vr1yAyZoCMVUo0Gr127RpvFZYHjFVKb28vbwkyAEvhAu7cudPU1DQ+Po4QgsiYATLWAs6cOaO7CjAJGGsB8FyUFLAU3uX27dsOh2NiYkL/I0TGDJCx7vLDDz8YrgJMAsa6C6yDBIGlcI7JyUmHwzE1NWX8DUTGDJCx5vj+++/nuwowCRhrjhMnTvCWIBWwFP5HLpdramrK5/Pz/xIiYwbIWP/x3XfflbgKMAkY6z+++OIL3hJkA4yFstns2bNnqzs2EomQliMJYCx08uTJmZmZ6o599913ScuRBDCWqeei0Wg0FosRlSMJqn8rTKfTLperbBBwIqNpWjAY7O/vp6POwqiesU6ePGnyn1YkErl48SI5RZKgurGI7Js4duwYCS1SofRSeOXKlY0bNy4VAcylUP/v77//7vV6KWi0KkpnLPProM7s7CwkrRKUzlhPPfXUb7/9ttT/xc9YCKHa2tqhoSG3201UoIVRN2P9+eef93BVpRQKhc7OTlJnkwB1jUX8dYZPP/0UNuYbqGss4u+L5vP5999/n+w5rYui91iXLl168skn7/2Ziu6xdOrr669evdrY2GhaoOVRNGNRep3h1q1bXV1dNM5sORTNWJs2bRoeHr73Z6rIWAihhoaGK1euPPjgg+YEWh4VM9aFCxeWdVXV3Lhxo6enh9LJLYSKxqK9zau7u/vmzZtUhxAf5YxVLBZp91XLZDIff/wx1SHER7l7rJ9//rm1tRXnk9XdY+k4nc6RkZEVK1ZULlASlMtYbNpAptPpTz75hMFAwqJWxjLaQOJ82EzGQgi53e4//vjDZrNVqFES1MpYLNtAJpNJlZvkqmUsxm0gjx07ViwWWY4oDgoZ686dO6dOnWI54uXLl7/99luWI4qDQsbi0gZS2f1hChmLS/urwcFBNTe1qvKtsKQNJA4mvxUa+P3+n376CX9cOVAlY3FsA6nmplZVjMW3DWRHRwfH0bmgxFK4uA0kDqSWQp2BgYGWlpaKBFgaJTKWCG0gVdsfpoSxRGgDeerUqUQiwVsFO+Q3Vi6XO3PmDG8Vym1qld9Y4rSBPHHiRDKZ5K2CEfIbS5w2kEptapX8W2E2m21qaqquYR/Zb4U6drt9eHjY5XJVocdaSJ6xzLSBpIE6m1olz1gvvPDCuXPnqjuWRsZSZ1OrzBkrnU4LWKRTZFOrzMYi1f6KOB988MG///7LWwVdZDaWsG8Gq7CpVdp7rHu3gcSB0j2Wzrp160ZGRlauXFnd4eIjbcYSdh3UkX5Tq7QZ695tIHGgmrGk39QqZ8Yi2waSEnJvapXTWCK8zoBDZ2enUM9vCSKnsazys+ESb2qV8B4Lpw0kDrTvsXQ2b94cj8dramT7Fy7b9Qj1OgMOsm5qlTBj4bSBxIFNxkII+Xw++X7mSZ6MVSwWv/nmm5aWFnptICkxODi4adOmI0eOXLp0ibcWcsxan+np6c8//3zz5s3sI0N2RISQ1+s9evTo0NAQ/bDRxdrGyufzH330EaVfsMERQGNcnebm5s7OzpGREfpRpIJVjTU5OdnV1eV0OulNLY4MeqPraJq2devW7u7u0dFR+kElifWMlcvlOjo61q1bR3tSccTQ1mCgadq2bdt6enoymQz9GBPASsbKZDLhcLihoYHNXOJIYqNkPjabLRgMHj9+PJfL0Q959VjDWKlU6vDhw/X19SynEEcYSz0l2O327du39/b2TkxM0J+BihHdWMlk8uDBg3a7nf3M4chjr2oxdXV1u3fv7uvrm5qaoj8huIhrrEQisXfv3traWl4ThiOSl7ayrFq1at++fadPn87n8/TnZ7nI8BZQhoGBgV27dhF5qG0GHKl8FS7F2rVr9+/ff/bs2enpafrTtURkeA1clmg0GgwGec/LHDiCeWtchoceeujQoUOxWKxQKNCfvYWRYTzeUvT39/v9ft4TsQAc2bw14uJyudra2s6fP09/Jv8XGWYjlaVQKPT19fl8Pt6RLwOOft4aK8bj8YTD4Xg8TntmuRmLUoGPIDhXwVtj9dAuSnIwFtUCH0FwroW3RgJQKkoyNRaDAh9BcK6It0ZiEC9KMjIWswIfQXCui7dG8pAqSlI3FuMCH0GwwicvJouSFI3FpcBHEKzwKUB1RUkqxuJY4CMIVvhUoqKiJGFjcS/wEQTnenlr5ANOUZKYsQQp8BEEjLUs9yhKEjCWUAU+goCx8FlclDRlLAELfAQBY1WBUZSUcMMqIALybFgFhAKMBVABjAVQAYwFUAGMBVABjAVQAYwFUAGMBVABjAVQAYwFUAGMBdDh/PnzbW1tKvyYbKWoXIRubW3t7+8384LCXPgKhUIsFjt06JDD4eB9UaKgprGCwWA0GjVjqQXGMpienv7xxx/379+/du1a3tfIGaWMpWnarl27BgYGzFuqvLEM8vn86dOn9+3bt2rVKt5XzQdFjFVbW7t3797Lly+TstRcZJb9xNTU1Ndffx0Kherq6ngHgSlY4bMydrv9wIEDw8PDJIy0KDL4H52YmOjt7d2+fbvVt99gghU+a1JfX//WW2+lUikTzlkuMlUcMz4+fvz48UAgYLPZeIeIIljhsxoNDQ3hcJhB62VT77xnMpmenp5t27bJtDnHACt81qGxsbGjo2N8fNzMjONDZvvX6Ohod3f31q1bZXIYVvisgNPp7OrqmpycJDLXmBDesPr333+/9957zc3NvINJAKzwiY3b7f7www9v375NdpaxIkPpvENDQ0ePHvV6vbxjWz1Y4RMVr9f72WefydzcNh6Pt7e3ezwe3qGuGKzwiYfP5+vr62PfzbY0MsxGslxREueieGtcgPkCH0FYt4q0UFES53J4a5yDVIGPIDyb2wpelMS5Cr4KiRf4CMK/z7uwRUkc8by0USrwEYS/sQxEK0riaGavimqBjyACGctAkKIkjlSWehgU+AgiorEM+BYlcRSyUcKswEcQoY1lwKUoiSOMtgbGBT6CWMNYBiyLkjh66I3OpcBHEIsZy4BBURJHBo1xORb4CGJVYxnQK0rijE52RO4FPoJY3lgGxIuSOIOSGkuQAh9BJOxB2tLSMjg4aP48OJEhcqvn8Xj++usv8+cRCgl3QofDYd4SKuPVV1/lLYE8EmasYrG4ZcuWRCJh8jzMMlY8Ht+yZYv58wiFhBmrpqamvb2dtwpcHn/8cflcJaexEEJ79uwR/xdcdXbv3s1bAhXkNJbNZnv77bd5q8Biz549vCVQQcJ7LJ18Pr9x48Z0Ol31GRjcYzU3N//6669mziAscmYs/fUS8ZPWa6+9xlsCLaTNWAihmzdvPvLII9lstrrDaWcsTdOSyeSGDRuqPoPISJuxEEIrV648fPgwbxVL8uyzz8rqKsmNhRB64403hP2d81AoxFsCRSQ31urVq998803eKsqgaZrcxpL5Hksnm82uX7/+1q1blR5I9R7r+eefP3fuXHXHWgLJM5b+EubBgwd5qyhF1ueiBvJnLIRQKpXyeDz5fL6io+hlLJvNNjY21tjYWMWxVkH+jKX/UPHrr7/OW8VdXnzxRbldpYqxEELvvPNObW0tbxVzSPxc1EAVY7ndbkGm026379ixg7cK6qhiLIRQe3u7CA0HA4HA6tWreaugjkLG8nq9O3fu5K1C2tcZSlDiW6HBxYsXn376acwP0/hWWFdXd/369fvvv7+io6yIQhlL32cRDAY5Cnj55ZdVcJVyxkIIHTlyhOPocpdx5qPWUqjj9/tjsdiyHyO+FD7wwAPXr1+/77778A+xLsplLI5Ja8eOHYq4SlFjBYNBn8/Hflzp64PzUdFYXDa1rlmzJhAIMB6UI4oa65VXXmH84wY7d+5csWIFyxH5oqix2G9qFaSgxAwVvxXqzMzMPPbYY8lkcqkPEPxW6HA4RkdH5f4VvhIUzViMN7WGQiGlXKV0xlp2UyvBjBWNRltbWysXaGHUzVjMNrW6XK7nnnuO9iiiobSxEEIHDhyg/TJnKBSqqVEuzspdcAkMNrUq9VzUQOl7LJ1cLrdhw4YbN26U/D2Reywp20DioHrGor2pVco2kDhAxkJLbWolkrGkbAOJA2QsRG9Tq6xtIHEAY83R1tZG/MfG1Lxt1wFjzUFjU6si+ybKAvdYd0kmk48++mihUND/aPIeS+I2kDhAxroL2U2tqr3OUAJkrAUkEoknnnhCj4mZjCV3G0gcIGMtgNSmVrnbQOIAxiqFyAuA6mzzWgpYCsvw0ksvRSKRqpdCTdNSqZTT6aSjzhpAxiqDyf1hfr9fcVeBscrT+v9UfbjKz0UNYCksTyQSwenysHgpVKENJA5gLFMsNlYgEIhEIpzkCAQshYRR/LmoAWQsU5RkLLvdPjY2pkLDvmWBjEUSRdpA4gDGIonKrzOUAEuhKeYvheq0gcQBMhYx1GkDiQMYixhQH5wPLIWmMJZCpdpA4gAZiwxKtYHEAYxFBqgPlgBLoSn0pXDNmjVjY2NKNexbFshYBFCtDSQOYCwCQH1wMbAUmkLTNAXbQOIAGcssCraBxAGMZRZ4LloWWApN8fDDD1+9elXBhn3LAhExhZptIHGAoJgCnosuxf8FAAD//3s5fchYZyekAAAAAElFTkSuQmCC",NS="data:image/png;base64,UklGRiYGAABXRUJQVlA4WAoAAAAQAAAATwAATwAAQUxQSJ4CAAABkAVJsmlb8847eLZt27Zt27Zt27ZtG9e2bdv39tNZe++17vNPREwA/dOZo6hWhOxFssnRaNra4w+M3CJNqvLX1D7cxeDukVWTazDpXKDXrxFvXaOg9x1TDg99iOzM17Ak6Ddgc2dA0hCeZoL1k2zImMbPGvABrORlP7jBHi40l8ARzquVy/MEXOFhLqWKGYAzfCqiTGV7cAfbCko09IUA8KonX8cICIGwdnINToQgiO8vz9QMCIP0iXKsgNx8AEuk7YZg2C5BfQ7C4ZSKJdcDZAK4UyR7iSq1a1Uuri3+EZkCgt0jk1JTE8OdfJFJ8PoTsW7ZP5APx45dffiYRFTTlQfjkkQb+RhJRKXNlXuej4iW8TGaiKjAa6Wu6oiIVnBE2W8qc4h+yBVlOa7EehKBaLN8s0kQWiBT8ggShsak6ktL1xfdjQSiXhEIfLFzUrdm9es37zlt37sw+DQjoahCu0LEXLxDCRJM6f84fDIDYybV/XTx0o4xkab6sL0fQwRY+aOA19v6V8rK9sPCrRccPHhoT2meah08ePDArKYFiP+ClSqUlEXc0h5J8fGDuWozdpTE0YNys5WKAjCSLfeg0aMkjm3DVAsybmCjdYCxmm0tZKzFUtQg0E+iv98gCfm90YPY+/v6+0kMNCjKQup8eaXmJKm1e5DUnHml5lPTL7y21f4PrZVq9WF/Ky0n6qbb7AFsVWorAPttTdWKqRpusAYAx+1FlSq63REArDc0VClRZ5VZOgC3/W11xKGu7X43AOlmq+rIVGOJYSoAr6OdchC3OTod9QKQarikhqTi8z8kA/A70yM3cZ67xxk/AMkf5hdnUhkBCLrULx8Jma/fpSAARioWuhR+c0ghErjQkJvhl4hZXYCEL6Bm+5cSVlA4IGIDAAAwGQCdASpQAFAAPkEaikOioaEa2ed8KAQEtgBbJur/YPxm64bFPaPyH5r3ezvr+QGYz+G/on+Z/p35Z9rD8o+wB+lvmZ+p3+Af3D+5ewD9b/2v94D0Af9X1AP8H/uvVU/zfsMfsV7AH7O+mR7Gn7ifuB7V2Yn/RLToBFaF49vT657i4FNhTFMPtqGBnLHb4B0mdEFIcp89CJvbbCPD4/QeZhwQQzZ8BxgBYJstiZqMBJD6z585YDHszJsSre6r3yMDyPrDGOzaYTcIIILf8uoSangA/uHNmzlTvvlp4WxismwIwhrpTbKk5HA99Zt/tjf//B1f/wjF//4Oz7Ro8qdwrGruK80gZGdfcjEjVmeAY3UNq/bKHbPJeZyPGePUJYsf1pTxUT+M/1yY9sp5QEaUI/nWbM+hrV4Wv2GCz8YHB1EU6uczvWjFJmo/ILHBjfR2dpCGtC7aaJrcU2802eJTgxsCLzPMTBp+iLQAcf1z34AZndAHu/MsTUnzhvX5iBLRl0rcsyt8px9H3DpVdPqz9F30dKwOAKELHB71muyZVCqSi6Ijvf/Z3WEYi+Jy9gg4gwMX75I/kfFsZTr7B6AUO5g/bTvaEq7oh9QTCrGVLPJY2tIyTiFf6+rnBPHuJQFG2ntz1V2ZE3kFqOf1JYkNtmTx5bM42JZLzDv8lK+cZlqBMuGj5tTqsUlkszMA9vYVj/+YQXiow3o8IGtvSD8Z9yp7r5vAB/RBYfyMXHGCD2/Vj9Krhqkp9w11usppHaLv4fZw8b3KwrMeg4xklboK6/9Fk8fH9jbQr2Gh3gBR1O00KEtl0DoRpGMbFooOH7dbaaubWVWnZJSKjwKIyP/s2PwjLOOynzDVSVfh9QzyYBAtiUl2qfMRoRAekN+1zwxjUnBZz1zVVnum4pxFz4O/ytYWZA4AKd06/BG2+/aqSmflFZELL5IvsKadrnEUwQiAtJkrfXIu0S5ATyAZ8U7ztY9txpPVO65FVvH6NJPkeoxN4DJMkkeJyGkxeZyTOKOXTYLyG410M+lef83/R1x+Fufa2JlrS4UJj9uQp/8XdI+6n2yYec5INem5wZ3l+51bAhgdYqwdZhQ4nrP/8zviDM+SQAmVegbwNZIXMtlySH9p0fzgvNUc4nPYjSzoYgAAAA==",Pee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAC+lBMVEX///////7+//79//+ZfOn//v+UfumXe+f9/f9crPCZe+n7/P5Lu/Fmo+/8/v6cd+b5+f339/1ooO32+v16lOuYfeqgduqZeedQuPFVs/Bfqe92q+1xme10l+1+j+yOg+qdd+n6/v7x9/318PxStfJJvO9Qte93l+uQf+nq9PzX0PRiqu5vnO2Bje2IiOv8+v719f3y9P3y7ftPtvJNt/BVsu9Lue6Hiu2RgOubfeqbeeqXgOideuigd+f69/7w+v3z+f3n6/vf8Prp4vnH6fjp3/jA5/fXyfRZr/JHvvFXr/FrwO9Rve/Due9fsu9lpu9fvu5Yse61o+xum+uLheqJkemgdOmnkuiUe+j3/P71/P75+/7u8/318vvj7/rc6/jb1/VXsvLHwPFzye5ipu2Mhu2ymux7kOyEjOmeg+emieagfuXo9/zk9fvn8Pvt6frw6PrY7/nV7Pnr5vnJ5Pfm3PfE1/a72PTO0fSz0/NKvfJeru+Twu5roO66su1osO3Eru2Nq+1qq+yMpetyoOuCm+utneqajOipjeehiOeihOeLhualfebx8Pvp7vrN7Pni5fnV5/fQ5vfg3vfV4/bD4Pa54vXPy/OCz/KnyfK0xvLTw/K+x/GzvvGHyfCpwfB6xu+guu/Kue+Mte97ku9pue7ItO68qe5ztO2ur+1Yu+yXsuxuseuKmOuqpOqWouqtk+mWk+iKjObs9/3n5fm55fa+3vbX3Pbk1/a02/Xg1PWv3/Oc3POt1/PWwPOS1vKj1PKd0fKtyvLPw/GcyPCKw/B7ve9Cve+Hue9pxO6Cwu5zwe6Dt+62sO6Zr+6ese1/r+2Eoe2Truyfq+yapuyCpuy6n+uOnuuZm+uYleuwlepypumhkeiSi+iRhefQ1/XR3PTay/SWy/O60PKZz/KPyvLIxvCVuu9bt++Lve13ue2zt+2msO2Ro+2ms+ysqux6luzDp+t5oOqmmuqNhuqxoumkn+m1nemviufl+fqo2/S6v/Cuue2yuOxBqZCiAAAHmUlEQVRo3u2ZZ1ATQRSAd+9ISALpxJgASYBAAoGIIEW6ShdRpAjYBQTF3nvvYu+9995777333nvvbcbNJSjqDBIu+0u/yeQ2JHnfvvf2lpsLsAG4QYr/4IYkAW6aNcPrQNEz1x3Kis4AWGm+I+FAXMKOZgAf5Igs17i4uC5xWW0gwITT+BquXbrEoYfroUgewILTlsW2trauroaHbY1oLO1HjrJIkjBxYoK/ra0/BgsJWeMXVyhbtkKNz+GZ46v6+6NRpMUlILKGwVE10glCRuuZboZxa0tbKlet4FvW7UgbBoQkAzSf7qb29Z3pbtk1Fj5dplarj7SG0HTaI4vabVeGJS2MbX5qtaxofZrPlKllD6MJyzlgm3kymWxeJFnkT63n+TWUHWluOUnmPRQwcROrSGoQjkv0S0ra6WSpPMC4xIYNG94W/3be7Eryi59nsf3F+TA7Nv5xZfhbA9z3x8fG3raxUCbru7LZXddDgvh11qhgsbE921ho+T5is9n7wiEC/IK4G7sre69lutJOx2b3bAf/lIDRPbuyl1a2yFXTXpRIN7FJQqKVxSjcazK7yeXybZZofb2Fcrmu3c9FlZHBKpSA0X3k8qPOgD4ddTr5QWdIUmGbj98xceLW6GYkMqBHxMFsXZ/R9B21u2XrsjsTVD8ytxzy93f1t03IWpdhmkF29exJBKRdLXtudfv6VD/C7/q5VfB1c/NVuz3cmQmh8V2uBeo1jlud+4g62XnbusbGJx7edXd/YlLDxE3U/DO6GaZA10FMQpLOhKEj9ZfK2Y/bRRC8NZ2XstkLK0OqXlyuqCNNB4yYw+VeGWUYEbuzq9uPIiCDALzOOl31zkiMzPbdRXt5NCUt7Lmik+5GnUg0iSBIBlpVa46KuA+oGkbM6S46GEFTMrZfd9GD2tR+eM6zXwdIFY7kzUj27E31m5wkEtm3oCnpkOyZvJsqTItTjpqbJonTDEfH3uWNi1jUvd9YQI/dyZ6eHahR+Wdz7aYaJUB83G7uceP/F5Rqvw40N65ZDp6vxxqHT728ztYBFBtSvRTTWNTyGn7O02EypCURL0GSesZxp9UBAYuGoQFrzMWAnNQNxl3ZubeDwwweSrDUUCHOuQNqpt7LlTlD399v4NFjYEqO8piAcgDBEgeHWTa0UqnTF3XYGRrjrb2qZWqZwcHMwEDtm5bwR0EdlohpSYafcnQ8LTZJQNSAYGsOh2PFCX7XFpggZ6BPeNOSVDqlcTwuAIXUndJ4SH5+0/Mx3uAH0zSavuUBLUl/jeZEbVAIhGGtoqJahRWd+GQ7+hI7uxPFXvUgiV3fOnQluSiTv0gu0JQsU+SeKV4yLdfuGb1yDV+mUJwVg2IgvubOXUFPUueCQrHCu9iN5zmahpDeEr7gpSh+noIzXl4rhtGRlF+U57WsU7Gri9cp1Svvm7D0DsGTvIDUTiwGo7ie8Cak5uV9KfXFPby/Wh8wlQeRpNhcpq4OWD2htJIxq/T6F8K/XrpB4SJ9wKWRsFR9ES4fOnTVyJJ8de2qgJRFAkiWQuIxNGVoNaIkEkajnJxrDUAp8H6fknKpEigRLS+9TVkuKIWkwXWl8hgLlAhWD+Xba2PMd7COKQOve5gzo2rm92TY1cDAgS1BCWk5UKt9421+tYIDtQOEJT5tl2sDB1YxW9KIydT2MLUEAlDOpe1vxnJ1yxVtipbJjIHmtmQBk8lsZIzmUsWjWs1aAz0A/CXVWjWreVRxMZogmlN6NbO3rQFMCXMCyxi/SbB1OpM5oMg1CQTCd+np6RUHF5omMCWcBSwzJXVrSSTMxii+dXq6tbVVRYlEEtyI8VNC7Am2tkJYI5rUqjl7AfpAYzPPFOgzGMXgSK2tJFYca4MFvWoSw4KF73sMNhnQgcORSjkVKwatNHfDbzVEKg0JCUHf5+cPvrxgT0xTDidoyOxhpjxnD+FU5Kyc0qtx0yZ8qTQoKCgESQa5mClpiyR8fn7Txr2mbGwZRkA4n68KUfFXzt8cFbV59kopPyjIKgYwwnzax/T6MKhJiJSvUpkvaUrFbxWG+gARwOcyP0RVRsUPLcjn81VIqDqP3jMABcg0/8Og/EE+ZvZEGOUj4KEj9YJ6rnKZH1pGFVqmTCg/DT2FnvcpXNIkOjLQQt8sBLRp9aoARUeElklLK5jvQsktTrmNrz4WpKWlhRZ87BVlQxBIggOWT/tb27ffau/CMpURG7AwPE6HUQLx5QE/rdu6NTocp4R0isxyPXAgIWsEga9UZHQNf1uEa9UR+IpVuSr6eWNxgm9Z6lcNPPB2+smS7o2InI4OmwAm1uyPj98XDqD74aT4fWKAh/o9DTehAQnX62IXugM8oLvAC1tQvekjRze28TCqD/cklQC6nWdfD+Chnr3oSn3KdkV0sg7AQ8Qcz+Q7EEBwJzl5lg3AxFSNZokzAM6nHTUdAC5G9rfrfxOAGy9f9h0OcFH7uSL3aZj3mdy503gEwAW695h6o1OeYtlIiE0CBS/0+osX9fonNgQ+CRhzLUefoly1FiAJNmx6aAOVykYsAqcEtL0qYQ6oC5EDJ3usBrcHuBHW3M4A2KkrBNiBEAL8QPAP8x0ZyfbHp+5ubwAAAABJRU5ErkJggg==",Tee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAADAFBMVEX////9/f38+/v5+fj6+vr09fT29vb49/f8/Pz3+Pju7u7y8vIHWenx8fDt7ewJZOvw8PAVfvH08/MUe/EGYOkPcO4HXekmsfwWgfILZ+wJbu4kpfsQc+7m5uYJae0hmvcJWuspuP4ekvYbkPQLa+zq6ukjxf8nwv8hl/fr6+smyP8kvf8LXukotf4oz/8HZusJYerh4eAjofkMa+8Mcu4Zh/URde8ag/Po6OgUePHd3d0s1v8djvYObu4HV+fW1tcq0/4nqfwknfgelvYfivQWw/8mrv4hqPsDgO0mq/0Nee8iyv8drPsnp/sNr/ohovoBnvUClPIjwP8jrf0Fh+nj5OM94P8z2P8jzf843f4Uyf4GqPkcifUOgfAEiO8MYusG2f0Dg/AOfe8v0f4C0/0Muvwgn/kXhPQCjvARdvAD3/4Ds/IWr/gCeesD1vcUh/Dk6e6gwOza2toA2f0Tv/0Fo/gBmfMYjPIGjunx+PvW4OoDgePS09MJ5f8W0P9C4f7x8/SHr+sgeOrg5ughZ+LP0NAx2/8i0/8Mzv8E0fcfnffr8/Y2pfXV5fTp7vCTuOs0gOkLZuZ0oeU4eeNK5v8T1//l9fsQtfvZ7/hPv/MumvLP4vDD3O+pzu/K3e7d4+zH1ehUiOLO1twj2P4ou/y53vdMsPV+wvMQsfOV2fK20O9truy71+p8r+o/m+lmlOIg4/9FyfmE3/VuyvXh6/TF6PRZzvMxsvGTw+8tjuwFcOoVcOlNkOhEgeYxcuOAqd/FztEywfkEufnK7fih3PSVzfIMu/Lb5/C35O+Fuu4jcegVYeTHx8kw5P142fe91fGr1/APnvACqu9Moe6sxuofgul70uilvti6y9Y76f8P3v4Gxfhauvfm8PZq4vaP4vVBuPWAzPFxvPFAqu5moexfreq1xuDZ3d+Uu9ubtMhC5v8MyP5P2vtW4vkem/ir5vWe5PWr3vU1zvM7ku9s0uhboeas0t04id2xwtNI1/OUz+Bsrd96odS6wcVzvuN1vNeI7X81AAAQf0lEQVRo3uzXfUzMcRwHcNzd7552t5/zBxvNaB1p2mo7TtfmyMOMPJRKedhZp4idJk9nyNaUW/FXcSGsRwlTuS7/6QFnUwtj8tCDh6EHkZiYh/f3+z1dHqbu5D9vf/in/V69P5/vt9/dsP/5nwEz/Mf8G2DYj/+GmmLAz2HUkBH9BMkIFsnQDq6PoA8XCqQCRMgYZ8UhqoECQrPVVlCLFNis6Rwg6jBoKGrAMNcUl2dXTcjP9/OrqiotL7Y94sRSIRiWoRiVuaC8ZfTUqRMm+Pn5hU0KU6vVpeWORxwHhhKeKzDYtIQ15XYQMAgyaZJ6klo9ZUp3vU0h4gRCCVP+7nJIzLUt4aNHQ6FI2Hdk4cLS14dUKCNhP/dXTQ632heFE+UXZEVs2UWm0HhcBEZRaHj4vHn9EAQGlBX+/vVWucjjLqwGM2YtAPJTExDE8I+tv9ineIQgEvOV0PmzZi1gCBQgMICwIrH62OZDcg6KZ1XYHXyTMTYUSPgCF8JWAoMi+t43vGv7Hm3EWrhkbCibF0Py/cLCnAg1kI4ahUgsYIon19BcFDiWIlBolan5SJjahej0uqiyRCjkVqK9B9MqyABC5wUEyW690tBQ3Fo6Rf29iE4XFdXrkPUt3/1pmR/HBQYyhKy+pfV4itbHxzfxWHGp2oWkptZfVABxvwq96gUZcYFLnFXmLShsSNH6KpUymYz3dVRQREeKREd3OHgV2YoHTSTSoldAoNDVPzzrpfWV8QqVSqRS8LYKen5hpEZHR5cdYlXcVMg7yvrkVVzcEraV8MKzXj5KXi7ixGIxx4nkUPTOIpGRncdkck5AEHdXIsmZ/CpudiDdSmhGjpeWGuS9KJWKOXlXqZ4Z0cmRyV1K3rl6t9ceMn72bChkLUUniYEH4T0lIe9gLr0slhooEplclsiTU+z+uKy3Q8aPBxMHpvA49gFDwF6FVKnpAMKM5KZjMhWZF+LeSgqOhkyGQssURfjAELPHMEW8rxlLZ0Zyp0Op4DyY14hK78kIYeIysHVehSJ4ikup6UhlRmZm5msfnpwvd5uYS7xDnMjsZ7u8lAoVfaOzkLVw6U1OAylLlKncWgoMKIdve0+c6FQqI7RKBU6vVNAXHLB9r6MjwbS1AWm6ppRzbiL4XQ++BcKYo2ci2PntH5FIYUuuq6trbGxra2vstOG3ELjZBHu/5O1NEOT2qQDcRNx2Bc/LeB7/K3hEebDzAkKcxkyHVqaSCt1sMiJnjjcUJCTk2fOggJRdNseb2tpiktoGx4ldKVptSlPCHhpIXdgaJ5C4hYwQVq4KJiFMyfuPd3squvV6vNRXxMTMnRtW1ZJd3ppzFghLQkKzly/uoztVhksE0uub58wJDqZt7N0Wi9FozMpKS/P3XxgT0z5369Z11dWj7fb2pARnygJ8eHaRBl9EwJ3bPAfZEQxoo4UgSTDS9KiCLkRZd2Tx4k2Lqx9YTAaDIenu8whfBTvkg96IdF9JvGYVFNTxvmqxmJKSDAaC6Mm8gKyjyOKVSPUDo8nYkxvkpZRTZLCXRChOfxo/XaNZBWhV8FWLyQQjKy9PFxu792dk29JtGx9YKi7PDPCRiQTC4cggatBpPXo3Zjqi0WiAwHAiev3eAxTZyhAY25Yit7I/70cVFdkKMpBBj5bY2nyUIvHxGs0OiiTdvw9ER5CYX5Dty0I+fUAVnv6VxCMGMjAsc1en5ebIMTTx0zcTxJBw/0JeXpRO1w9xGduXLdt5/kVuhBJ/4Ab6MOn8WmVtTk0y3hxJQqWrOD8ESU2NitLtZfNyIcxYtn79jk+ncO05bIXmT99HJMKapiyDgSIsQGAQBEnbazzQ3u5C2LAosmb5+RzcSOkfv3yxT7/mro68LAOajOrLaZMJRl1vRc9dBJc/u7Rqa3U1EGcRQgBZs/xSZaLij1++2Lk63Byly8PlsjiRGchNU3dvz8f39y7v3717JpKbe+/9xy/Z9k20CBsWDGTtnXPXVBw7YmB+u3MY+HigS8vKMhpP0+dPm7Zhw7hLX19+vrF/98wtW4KCAmiCtmyZefnDVztBmEEEZPXmkoP4SAOF5vfGt17NNabNKozjSunAt6Ut0FZa24LSGqs1LbbY2gjEMUWJZlFG4ochEZcRsi1QPshkC4HSxQUGpW2iDhgXo9uEAVGJjruXIAGMqIOwxJnoNnGLiVGXOeMt/p9zerUx0S/+tyVLOO/7e//n8pznebZPkHpyyL6a+yEdpAoRo6TRXVCp17uY9PrKAnfJ+a/2fQ4jMQYgVVWXuyTMC7eSvB4vfULF03Mvthzds+ejGgI4VNDKVTDcuFPMLEnFpSLIZK5K98/vfrBv3+fPxxiPPgpIJiixmzrRCPOBDJfU0rJnzxf1Dh0A2qKiIuPvHx9pLHDJhAyJmAuZqmCq/PX0y4xCEIbgkMzLSxJxhPJ3Iy+8RVUHCqinW44ePfrFQZVDVVRkhwzDHx926ynxitzylEIK7Rf373/5NCifPwkGCFBNTU1mTfYYKhYRp8QxSKk/vH831ZvgtLQA8tl0ERhGu0Fjnf+lBIEJSbUoNTXSxhEr+k4+vn8/IMA8uQuAAwcOgJGN315/tyQtkcKNpH/4JpWbxMG9dPS7n0ZX7HajQaORy+WrCwSR8BNASk8ViRWfPlQBCsOcvn7jAKkcwq6s6xlRiEGJnzBer799J4mBQHnz5/Mhg1GjsYKhVA+z20Icl9yJxN0Xyx4HBJTT+y5dvQoKh2Df15XPLkUTzngjP7yPehN9AMLc+fA7Z9wlE1bGqLYp83ybblx8YchNHNJ/qawMGGbmtz8+3rwxzSA4Wdj5M35Kz+OtsDr3OLoAJAI9/E4/TtyVGY0cDItSLS2eKClwCQhLMSetpzp23gYIYR6/grO6NTftgHR85/cM8GoVijJS30DxDHHS8TOVOHdDIbJhYxDflhtxHNlIdE36Lu3duRNWSJd+OXK4sWC9hygqrpmx7oiVOCP3kAh0z1Pvf6pHAWpqD9rkNqXaYpFKmRUTRdiokeXcDlC4lz/fA0Pv8ni1Wi0RsC21sEL3ZBwk9Ud05CJ67et2HApBZl732ZRKtToPEKwKv13TuZFb+sfv4hQszLHNwyUUDyaD01qS3Uh//ArKXqIQxPe30W3guuf24wOoeCgTHRwmBmxI89TYYEgUMM3pxEibHL0DkDDlm/dKGispjx3oMRiNeD/JMNsQl+2R+w+/4gTqbNy7qDcJGWKxRCJ4VtU0VcV5UotldYFlVpgBpADixd7S0u87OjqoOj52BUEHj2RJMtoChqhW1li1GoP8iLffG9bxAZS5WUjbs2AFJjBXeRabzTq/VaCX0e5HKdc/np9fWprLvcAIiwd4pC9k1YRlDfgFKryjENEi+ibQraRTDWaBytw0sUThWWUMtdImt1qHkdwLrIBYul7fRPkryorvO3qvHG6sNOOzUHq3Tiix661M8qBMwaY3UlW9fWtMJ1xUVeGDEQQHh6URiMZgnKBlkWSJJ0dzagubgMkvhZgRqlrxRJonYKuulpOqlcPtAnZKFNJ5gXqMj0AVj7x7xsTCbSqqQrGw7gPEYoERQGaCoMiEhrGNnBxnIWGg3k0yQt+MJ0RrPqUFstkQjOYGsSgxyEsXKgBgkIqTWBJcOoihoEgagsXwoayWazTYlzML2Krtbd5ySpVqkVwC8xs3QsETT3TNq9VqJWSzKUPN8ZCULy9UVDyG9hxUdrLZRDU5QjpOg1gYmGOThdkCxOFdePXVBa+jLptRnKCMny9xV5p4awVndHI+T81ksahDzbJESBkQD1HLqQxOqOeDSwPPpElk6z4lLbuBToDK4Q1OzGgduvvLaximduoKnXX2Vawo7pqX0tkFRP13SOcFdDMBKYOOYU0ieTOsKBoWVpVyBilSqXR1RissgfJANrlxLhxhNw0/pHjT2qqUC3FibjABIr4ICBC3kc668DPe30intW+esMgDNFsUlKxKq5VwDl15OW7a65gsimmornm4aStmwo7Mk2J3xSB41+ITEADQzpPN/KJNZ8XQtgzz0JxSrrHbYUSDqYYrWh6ilM/+wiYrnJyk35wyOQeAlGOKg6YESOrrx8IQdJ62nzULbAunh62YtkJWgmiUiC9qzJ0mTLmxySYLFwfbJ2jDtVmkzAShVj0yIStuulJeOclM7CRGxyWkzfw5FqYyZPr1kMFu1CgpkLGtZqDJc4SuUoR3CQwCpYjWfbTghIGd+SFzwolPaT11H9PevXu35+aOexqokyIiIbgI5nb/isEQsFHQpzBms1phxYtsjIwIEgoPmN9O/wodEYs6j1Q80SBLiF3pIjRnibGdGLmlvaMjk9RLgQBZWhubm7Frqm2YCwR9Cz8204du/L756rd6mSKDtQy/HJnw4QMA4W5WPWYBX5oSg6R2XtwOABFy0ecoze/9ZvlEf1dXV9+aZ2zWq9NqjRq5DXdkMZsxRKfpQ9DGbNB/or+vr6//RNvsipUiVjW80CkpHm42K/hRiGaosLI9xkAXIr9px9S1a9emNjay6+7XqbR2jbyaFoVBlGCQKKHz9kDeGY0B0Z3nNpDF4vOY2WylxyDpos5TuQmMBx/cXVhYW5tTVYMaRacqsmsCcnwjD8qBA4cO7dq1i+WlSIIcDi2sGjUGRqm2kJmJQbMirsPK86htXefCCMbIf3D37t2FtTk5yGwfqGMQPl8UNAJE4BD6BDh1IDE3UrrJKHATGjIxI/GJBLb4tk+PAcEZ6HXsAKPQSZDyB+4niAHzhSAOyPSug5xR9WxVGAJKEZIHg4FTbD4PMeK73rysFrUu9tJUkQ8OYYzMbOSEBMHKy202tSVw6CBEkHpWJ2Rn1xFFBQpSZ547+9pwu0bbifFJvajzLLKDCGMHJotDsnW6MASLMv/7wvhB0jP1z9RX0c8zuRVUMlQCMIpvYdAsk/DQlJgMI4J0Lvbm35EPEYMg/B1YWLwCkMB8cOvwkfNjhKmHnDlEoeKVVoUVMzBjXWkbNAmsLwUG9LeGSuvIuXzqcYGBBeFG8KG0rlprIBTc+tbtdjd+e2ZsvKm+sN5JI6owIhsQjAEGkMCcp4GlO9xHohOipGV1LV9ramoiSHS2UAFji64M+4cq9UiRSZVDZ69P1dc6a8kKUSiRBwSrMh8cMrOaTJRUNeKvnCLu7F8e3+EsZAwnN+LQeWfHRppNZrPZROkrZDYNri2fm3JWVRGEBsEucoCe4Eg7hmQkMTgF4pSs7j7P6LmpHc4c2jqZGz2zl/0jzS4Tb6dKWrOy8FsikSi6l9bOjs72bGDVYFbn9c5d9gy4ZDKFohU3BTGSK9OoF1S23Uv9JzzLy21tfs/IUHODWSYDQSHJopjJhfySGrfdgwMjHn8b5F8/0+wym1Eh0yhRMoMU7cGjsEVSmyEI3QIkY++XSAiwjbW4UyFW/m6jz5EgL2ejumUCxD+E8ilO4IxkLyhs6XG8N4OLAGSBAOwCZKMgkFDRhwdSR7pVzAlAJPpI9oIX3ML/TYkEQLhJDwAfETeQOcLUkTCOIzAuyUeymZTwlECgiSIOksQregzkIqv/4j80xD/OUfQUFCNgTKLww5SIooSkbleymX8Q/1lsWPLAf4Ug0Zh/9SSn/ncElPihyR6SvyjpFwb+//oLYHj/LyqNdWsAAAAASUVORK5CYII=",Ree="data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N//AABEIAFwAXAMBIgACEQEDEQH/xAAbAAACAgMBAAAAAAAAAAAAAAAABgQFAgMHAf/EAEAQAAEDAwIDBAUJBAsAAAAAAAEAAgMEBRESIQYxURNBYXEigZGhwQcUFSMkkrHC0TI1UvAWQkNiY3J0orKz4f/EABkBAAMBAQEAAAAAAAAAAAAAAAACBAMBBf/EACQRAAICAQIFBQAAAAAAAAAAAAABAhEDEjETITJBUQQUIiMz/9oADAMBAAIRAxEAPwDuKEIQAKPHXUctVJSR1cD6mLHaQtkBezIyMt5jYqQuAfKXTPj45rJImuMk0jCzTnVq0tG3q0rqVgd/QuY8HniqkhY2turuyxnsJgJXNHi87jyyUydtcnHP0jL91g/Kn4UjJ5ooakJZZd7hSnM2iqjHMEBr/URt6setSqbi/h+cY+laaJ42dHO8RuaehDsJXBrcaOSMti8QodPdbdUuDaavpZnHkI5muJ9hUxKOCEIQAIQhAAkS822E8WVNdLpdoa1zHfwEsAd/ta37xT2UlXU9pPWu73zaDnpqDT7gVpj6rM8rajS7mAlw+GAbOly946NGPjgepWGsDRnm7l7MqipnOkuUs2fQDQxu3QnPwU+onDaiJo/s2F59mB/PiqE01aI5RcXTN1PIJJaiM7gP29g/Vcy+USkNHeY5Ym7VTMkDveDg+4tXQbUXmaR7xjtJHOH+UgYUHiC1S3O70HYQ9o+HtHAZGxIbvulk/jaNMUfsSYqcD8Jurr/QOrgfqnCqdGP6rWEEZPUu0jHn0XdUr8D2qS3w1ktc0MrppcOYDnRE3IYM9+fSd5uI7k0KW7LZVfx2BCEIOAhCEACQ65xllcRqx28kp08yGh5/HSnKouNDTP0VNZTwv56ZJWtPsJXPpL5aKZ9LV1dRE5gB1BkrS5pc7ngHfHRMr0uheWuOrYvG2csL2Ubi9sEun03Z15jaSQfPO3LcjZaJbTUR656naJoc+TS7LnAD9kePTyVtbrrZ5aRj6K4URgI9HRK0AeruWVbXUUtO+NtdS4cMHEzf1WGuSN+HGTK6UTNuPZyRRsMQDD2ZOnIaDgZ6BwHq8cDGC40lFd/tNRHFJ2ZLBIcBwzvvy7lFdc4hWfaK2l0mQ+mZAMkjJPPHIAexVf0hb5uI6jtqmkfFoY0apGlp5k/iqsVOFEmZaMtjZaby2634imb9njp3gyA+i92pnLrj4pjStaLla2Vxd8/o2hsJA+uaAMkePgmhrg5oc0gg7gjvSSSTpD423G2eoQhKOC1VM8dLTy1E7tMUTC97ugAyVtSn8ode6ntUdIzI+cP+sdjYMbgnfxOkeWUsnpTZ1K3RTWCrkuD7lVzjEktXqI56fq2YHqGB6la6W9B7FQ8HkOo6xzSCDVHcH/DYr9eRNty5lVIx0MPNjfYsTHHjJjZ90LYsJTiN58Cks6VNJUht/qKfYRSsbob3BzQDt4kE/dVxgdEtVYdG19fG0l9PVB3ojJIDGZA826h61cm7W8HHzuP3p2r2AmFocMEDCsuF6smKW3SHMlMRo8Yzy9nLy09UuS323xjaVzz0ZG4/BRrfdKgXSG40tHWvjDtLhHSyODmHZwyG+GfMBbencoz25CTScTpSF4F6vTJgXhXqCgBNd+9ruetWP+qMLNYP/e93b3irHvhjPxWa8fN+jKo9KBRbjKIqV3V2wW+WWOFmuV7WN6kpcuNf87m9DIjbs0H8VmOkWdoayakn1tDmumO3kAPgpLqamGQ2Fod1I2UTh1wdRPHf2r/xKnuJaSzSXuJyOi69wCOnjG5hYD3eir7hhwdb5C3l28g96U7jcexYYm7Snng50j9UxcDHNhaes8v/ADKq9H1syzdIwoQheiTghCEAUlbw82orJ6qKuqKd85a57WNYWlwaG53GeQHf3KDNwtXPyGXtzR40/wCjgmlCzeKEnbQynJdxGm4Hr3nUbrDIer4HD85Wh3BN1b+xPRu83ub+UroCEvt8fgbiz8iRRcK3imiAE1G14c47SOI3JP8ACpEvDl6mbg3CljH9xjv/ABN6Fz22LwHFkIv9Bq487nTg/wCncfzpn4etbrPa2Uck7Z3Ne9xe1mgHU4nlk9eqs0J44oQdxQrm5bghCFoKf//Z",Eee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAADAFBMVEVGpf9Do/8AZ+VIp/83m/1Lqf8AZeQmkfkymPs7nf4Cg/L1+f48n/80mvwtlfrx9/4cjPcZivX3+v4BaeQBgPEAbeg+oP/v9v4BauYBfvDn8f3u9f1Bov8/of8AZeMqlPr4+/4Oh/Qjj/ggjvcAXsoAcOnt8/0BcusIhfM4nf7l8PwSh/QAe+4AduwAee3k7/zz+P/6/P4BYMwBfO/i7vwvlvsAdevp8f3h7Prk7vsAYtLp8/0Wivb9/v7g7P0BZ+Dd6/zc6vwAYM77/f6Ns9yUuOAAZNXr9P7a6PmcvuIBaOKXu+CPtt+RtNva6fzS4vYAZdnV5fjA1++20OvY5/re6vzX5vjI3fS50u0AZdzU4/euyuixy+elxOWXudzL3vK91e2dvN+Ut9sAYdCzzemoxube6vnG2/HF2e+qyOmgweTW5vrK3/XC2fGsyOeMstvs8vvS5PnP4fXM4PXO3/PH3PPE2/O20e6zzuywzOoAcObC2O+jw+agwOGbu91AfdGmxugHYa3z9/zQ4/fN4faiweMAbuKaveEAZt4CX63Y6Py50+/B1usBdun////o8Png6ve91vG71PC80+qty+oAeOoAc+fY5PTS4fPJ2+8Bf+260ekAbeWsx+QAad4AbNjf7P3i7Pjd6PbA1/MAe+yyzesAduYwlPcZiPErkvYmj/WoxeOkwuJDn/wijPMNhPAXhO4AfOm3z+iFrNkAadIvdNBWqP1ztfwuiOoAcd44edElbs/W5PakyfVdo/IrjvF+sO1QmOtTkOC32f1OpP2Cu/q51veu0PeKuvI4kfCbwO6Su+4hie4KgOwGdeITZ80caLKgzP7C3v1erP3L4/xyrvNHmPGvzu5yqOw8kesQf+kggehGjuaBrOIeeeFnmdpXjdcCaNYQZK+TxfzB2vc6l/Vnp/GkxvBjouxbmumIsuhknOQ4g+Iuf+J6pNdzoNIcas5omMwmbbSax/hGnPVTn/MRd+d1pOF9qOBDht4NZc0yfNgYc9hfkcg4d7owc7j13NKGAAAKFElEQVRo3uzUP2gTURzA8RMjJlzj6RsM5BRPhQPjkGQIyXFGBIdzURDESRzEQVDw/LOJQw6XiFwEBwUR/DPkjyQGhMSliZI/rRohSRvBNbXipNjW0T+/e7kber73ajNkEL+06aP58fvwrn+4TRNoMsjGCTQhhIMPy1rHgRsdOPcBPvGQ68D9b31tmED/ELJjAnE7JxC3fa2mnMP4U9zUFEzAy5TrAOHDxrkNo4P9HvEAUzsIbzkbAWHm6wUaFd9aQ5VGosoY4nzsmodMc76yjz20oYFQjzGzBuKpItM0+xxT2bdgIKlfZCD7WPn8C2YS6vkYQ565gxJChyoe6gTnYbbYsBBTqPrpM8WGhCQkVr3UCTbiXzkGCCg3m1TFXxWRJCFjYVzEWxMBsepRjWIfWQiaWaQjflbZajQ5Sq56ySPeloEQGOjGCkyQYyLe7LJ9kcPJfpE8UpxHOD7xPUtFvKyybRMTEN+KkSZiLYPHhqEPsrQ1HNNYvGQCMep8MxaL+X3FZrMyV6k0i0WPF74BF+ERDxnGbH485HsYiFFRaXmu1WvM33wYDgaD4YPH5vszC9VKKwDACJnOxmhIjFH+k5C0CUhQUdRKghB+QUIozttFjI+LWcoebgu9bKEVdQic5IRG8fhJOcjxlTxlEROpLyejQDi5CAw4REQQHtXGQfL1djJKINyCELGMgD4o7KIgu+jlX99Irn0LEMAARHxbz5MXcQyj8D7xtwRGZqjIZmr5Uk12EVQBIx9fF8ibGEihNOAlN0EGgAgExOPvx0A6sy6BQYAh366VxkCmo/TnJKwiMJIZlApkZA+1Ur0dRSQBWg2AAMn6bKdA3MRCXl+SkGPAfVyCQwgRARuarE93SmRkL7Xc+4RzCySeO3VVIF5CPvfgWhyuAenteom4iY5szdV0+zmhzNfucOmo+IcgBjLPl4ZLXxRR1jRVv/JhGxnZSq08MOx/gOh0KpVKd+/zf/wghKfDdCo1vB6QVVXPHHmV20vaREdK5VneTvyRtpTnEZtwDOgrfuebCsVDjz7ltq4PyZWnkY0EHMRFyLKDxMGIh5SX5W1EZButXKeN7N8n/vownU4v3YqsEiBNPNWFd7pPtXg8GAxl3pRzpFUM5MUFAKyEiP78V/fnddEWbEDTZFUOnvnZ/XVRAQIQZaazTqT84YRhCTjx3q27LkKWVav41TtXg6PCypMXZOQApdyzV4rghP/kRMgW4BMD1kNSNdW6BRRWLn94tp+wi9tP691n3RZwWNDsxyQ7Ai5kpyROvnpGWsXtJgfIS9FFiJiAr2dPgeQmwmEl8fjTu/2EZb8pJ3uYJsIADDu7uJgY4+RijLE41JC7mJB20glT6A8pxmpCTgyotaD8NHFA4oC59DBcr1w00uPayaQ2cShJUWBQgcBosVQmI/g3OKiDDr7f992f7d3AE0rb5Xnu/e564DhK9OX8gP+ljfWJI4eaCyfO55/03fvx43LvM8EunKGc5TlpacOaAg+DRDwo1RcnzAKw7gT/5Na9ePXqrZscEo4CgZPW6iW3JSc9KG2/njhmjmDgPoDz53BS5HfhmEATHR2cUNsuubg8I2pl0DnC9V6zBCuAuYgwXVHdIgc9UN+HmkZYBccGu4AGIrH3qovLK3JYXeao3n5e3RPUTl5zgUDkwsVl9fA+IuW9DBJGAdin5NzAcfB3BCKRABKB4IXqXnlfka1k0jqm1gKPAMAOYgdBQlhZco0cdkctv00CFByHxJ/BH8/ziLAAJpj+zmBn51Q4ul5WW2Xekd2k85QAj4ZVmHNOQIIwNTUQ3a3vI6LX3yTNDQB65rdOiWyIBFmDBqbC4fBAfGRbP9oaOeqOvj2ftBNWo8OxIUhhE5AgjYH4fKXcKmuK+J+vvnuFd1WuTJ6yn1ZWMCawDdBTTD/ldvxOo6x6R1ji5ZuQEPvpP+qXG1HehD2qSESApYfZkkMfCt0G9xOfZZeI38HqIpfJZKRPfr8uLmt5nucMcPGCEAwKFyhEHo1GB0KAuOPETpicHEpsFXV/M87Iu4+ZDJ9JbdV1v17ck/IcEAhBAXoK7IDZnXIwBAZjiSW3yGmL1Y+ZfD5fa2wWZV0vbkmSACy9KY8D2C8CyFOGnBADd66tb+qnm7EjzxfRkNZ3ni6gIhffSpqmWXrTDjXk91Op1GSKuWPUDe4SbqTXdmTdM9L2UstL0trfFy+eLiCyuaZFTb9lh97DDv2NeULX9e9iW0ukzWBjF42uP2iQiPhrV6tGq9WqqU+BoWGqTxj2a8wN4J8mPAJj38S2ZsyIrxLD+XxgDVEu7owoDv/w8NDwYCJB9JDbdly5ZX9I6RltZGWvSPtyVdOUFaPhy36fzgHoCQkCuXZA3Ol0ugtQOVOPmHR3r2R9LREfI/tZUZQcIgtZ0eeTs9/6c7h8pocc9Pf3Q0/tV64we08Ps48SarXRQq1Q6Ps6DsH/GBFxnESUr6yBr41ZGjD1adBF/QBy2LsBkRcKhbGZsRmD3r7fXpF28cFKTskpXxbGxXby9fHKbGKW+W096CEYesgJvTO9121uXvqwmW1vjvyjjIx5EwXjOPwp+g007gwdHI2YWDXpeMkBF6AmvQ52adKEVHQpLm42jQSkH0AnPZOLLk3Hu4H1kosFx7NXz6lVr0N/7ytCQBz6DCR/As/z8ueQcquR/bQvnxVvfNJ9f6C/DOlvNvZ6mMoMkQh+5O1r++LLxezFG191+JtU3wpOf0L1n73Dl8v1Os9fheDLxUdlJ5KiKNrdsq3r+un971TqEOPktAl9CwGD+E8A0YNKpVIGPE/812dR+MKjkorgR6b/P+lkRT/+fH/BOGu2jEDPcdQe6GGHPx9DtfGs3O6L3H1zdL1JuPl5/+vpyuhTP+f5ff01qFar+XwDFHYRxb9mMjaSRCRnTxBpUQyj7/tB4D+DHn6qZ2MpiCttJ5LcoFlTebFEBP4+LWzP34W+B7+v9/zFeFh1pSnJMNuIaU3TmbVbRgUNDo1Op9Pt8r0eAsF2BJaViD675fw8G6IoqQ9H+yKKZuVkhhk7LGcY6HAcjXTRwB8QRbGhqoIgSKBUIu6ALO3gbglIgvhgmfsipnVMKow9cp3XyUDkQAeQTg8ZgAwgmQgSQQAqkFa7kQMPU8PCSCWRSOA6rrnOfDnIFllBFX1UQEtezQviwwaDwXz+z3Hd2nBqmQdhENlWjqzjtJxhNiRoa23bi/F4PASj0agWYQSGAE8sFra93rwm5+IjQSWXluVMxs98HIZ5724OkRgIYSgMdyp6gRhUD4LJDAIRFRu9l8mx+8os7LAMSMR+/r0fEZpGUCF2zTlGlErqsv69pHREXUcCCbuZolRSkHrdHzRHgVHOJkMk9IhEmNm9pE5xKTeqauZC4QaRAQFS4H/W6I1VXjCIEIVpZOyAVDwnFZ3CGKENXu8NHhT5bLAn8t3gB5tRcTnQFMqEAAAAAElFTkSuQmCC";var Ft={};const $ee="Á",Aee="á",Iee="Ă",Oee="ă",Mee="∾",zee="∿",Dee="∾̳",Lee="Â",Fee="â",Bee="´",Nee="А",Hee="а",jee="Æ",Vee="æ",Wee="⁡",Uee="𝔄",qee="𝔞",Kee="À",Gee="à",Yee="ℵ",Xee="ℵ",Zee="Α",Jee="α",Qee="Ā",ete="ā",tte="⨿",nte="&",ote="&",rte="⩕",ite="⩓",ate="∧",ste="⩜",lte="⩘",cte="⩚",ute="∠",dte="⦤",fte="∠",hte="⦨",pte="⦩",mte="⦪",gte="⦫",vte="⦬",bte="⦭",yte="⦮",xte="⦯",Cte="∡",wte="∟",_te="⊾",Ste="⦝",kte="∢",Pte="Å",Tte="⍼",Rte="Ą",Ete="ą",$te="𝔸",Ate="𝕒",Ite="⩯",Ote="≈",Mte="⩰",zte="≊",Dte="≋",Lte="'",Fte="⁡",Bte="≈",Nte="≊",Hte="Å",jte="å",Vte="𝒜",Wte="𝒶",Ute="≔",qte="*",Kte="≈",Gte="≍",Yte="Ã",Xte="ã",Zte="Ä",Jte="ä",Qte="∳",ene="⨑",tne="≌",nne="϶",one="‵",rne="∽",ine="⋍",ane="∖",sne="⫧",lne="⊽",cne="⌅",une="⌆",dne="⌅",fne="⎵",hne="⎶",pne="≌",mne="Б",gne="б",vne="„",bne="∵",yne="∵",xne="∵",Cne="⦰",wne="϶",_ne="ℬ",Sne="ℬ",kne="Β",Pne="β",Tne="ℶ",Rne="≬",Ene="𝔅",$ne="𝔟",Ane="⋂",Ine="◯",One="⋃",Mne="⨀",zne="⨁",Dne="⨂",Lne="⨆",Fne="★",Bne="▽",Nne="△",Hne="⨄",jne="⋁",Vne="⋀",Wne="⤍",Une="⧫",qne="▪",Kne="▴",Gne="▾",Yne="◂",Xne="▸",Zne="␣",Jne="▒",Qne="░",eoe="▓",toe="█",noe="=⃥",ooe="≡⃥",roe="⫭",ioe="⌐",aoe="𝔹",soe="𝕓",loe="⊥",coe="⊥",uoe="⋈",doe="⧉",foe="┐",hoe="╕",poe="╖",moe="╗",goe="┌",voe="╒",boe="╓",yoe="╔",xoe="─",Coe="═",woe="┬",_oe="╤",Soe="╥",koe="╦",Poe="┴",Toe="╧",Roe="╨",Eoe="╩",$oe="⊟",Aoe="⊞",Ioe="⊠",Ooe="┘",Moe="╛",zoe="╜",Doe="╝",Loe="└",Foe="╘",Boe="╙",Noe="╚",Hoe="│",joe="║",Voe="┼",Woe="╪",Uoe="╫",qoe="╬",Koe="┤",Goe="╡",Yoe="╢",Xoe="╣",Zoe="├",Joe="╞",Qoe="╟",ere="╠",tre="‵",nre="˘",ore="˘",rre="¦",ire="𝒷",are="ℬ",sre="⁏",lre="∽",cre="⋍",ure="⧅",dre="\\",fre="⟈",hre="•",pre="•",mre="≎",gre="⪮",vre="≏",bre="≎",yre="≏",xre="Ć",Cre="ć",wre="⩄",_re="⩉",Sre="⩋",kre="∩",Pre="⋒",Tre="⩇",Rre="⩀",Ere="ⅅ",$re="∩︀",Are="⁁",Ire="ˇ",Ore="ℭ",Mre="⩍",zre="Č",Dre="č",Lre="Ç",Fre="ç",Bre="Ĉ",Nre="ĉ",Hre="∰",jre="⩌",Vre="⩐",Wre="Ċ",Ure="ċ",qre="¸",Kre="¸",Gre="⦲",Yre="¢",Xre="·",Zre="·",Jre="𝔠",Qre="ℭ",eie="Ч",tie="ч",nie="✓",oie="✓",rie="Χ",iie="χ",aie="ˆ",sie="≗",lie="↺",cie="↻",uie="⊛",die="⊚",fie="⊝",hie="⊙",pie="®",mie="Ⓢ",gie="⊖",vie="⊕",bie="⊗",yie="○",xie="⧃",Cie="≗",wie="⨐",_ie="⫯",Sie="⧂",kie="∲",Pie="”",Tie="’",Rie="♣",Eie="♣",$ie=":",Aie="∷",Iie="⩴",Oie="≔",Mie="≔",zie=",",Die="@",Lie="∁",Fie="∘",Bie="∁",Nie="ℂ",Hie="≅",jie="⩭",Vie="≡",Wie="∮",Uie="∯",qie="∮",Kie="𝕔",Gie="ℂ",Yie="∐",Xie="∐",Zie="©",Jie="©",Qie="℗",eae="∳",tae="↵",nae="✗",oae="⨯",rae="𝒞",iae="𝒸",aae="⫏",sae="⫑",lae="⫐",cae="⫒",uae="⋯",dae="⤸",fae="⤵",hae="⋞",pae="⋟",mae="↶",gae="⤽",vae="⩈",bae="⩆",yae="≍",xae="∪",Cae="⋓",wae="⩊",_ae="⊍",Sae="⩅",kae="∪︀",Pae="↷",Tae="⤼",Rae="⋞",Eae="⋟",$ae="⋎",Aae="⋏",Iae="¤",Oae="↶",Mae="↷",zae="⋎",Dae="⋏",Lae="∲",Fae="∱",Bae="⌭",Nae="†",Hae="‡",jae="ℸ",Vae="↓",Wae="↡",Uae="⇓",qae="‐",Kae="⫤",Gae="⊣",Yae="⤏",Xae="˝",Zae="Ď",Jae="ď",Qae="Д",ese="д",tse="‡",nse="⇊",ose="ⅅ",rse="ⅆ",ise="⤑",ase="⩷",sse="°",lse="∇",cse="Δ",use="δ",dse="⦱",fse="⥿",hse="𝔇",pse="𝔡",mse="⥥",gse="⇃",vse="⇂",bse="´",yse="˙",xse="˝",Cse="`",wse="˜",_se="⋄",Sse="⋄",kse="⋄",Pse="♦",Tse="♦",Rse="¨",Ese="ⅆ",$se="ϝ",Ase="⋲",Ise="÷",Ose="÷",Mse="⋇",zse="⋇",Dse="Ђ",Lse="ђ",Fse="⌞",Bse="⌍",Nse="$",Hse="𝔻",jse="𝕕",Vse="¨",Wse="˙",Use="⃜",qse="≐",Kse="≑",Gse="≐",Yse="∸",Xse="∔",Zse="⊡",Jse="⌆",Qse="∯",ele="¨",tle="⇓",nle="⇐",ole="⇔",rle="⫤",ile="⟸",ale="⟺",sle="⟹",lle="⇒",cle="⊨",ule="⇑",dle="⇕",fle="∥",hle="⤓",ple="↓",mle="↓",gle="⇓",vle="⇵",ble="̑",yle="⇊",xle="⇃",Cle="⇂",wle="⥐",_le="⥞",Sle="⥖",kle="↽",Ple="⥟",Tle="⥗",Rle="⇁",Ele="↧",$le="⊤",Ale="⤐",Ile="⌟",Ole="⌌",Mle="𝒟",zle="𝒹",Dle="Ѕ",Lle="ѕ",Fle="⧶",Ble="Đ",Nle="đ",Hle="⋱",jle="▿",Vle="▾",Wle="⇵",Ule="⥯",qle="⦦",Kle="Џ",Gle="џ",Yle="⟿",Xle="É",Zle="é",Jle="⩮",Qle="Ě",ece="ě",tce="Ê",nce="ê",oce="≖",rce="≕",ice="Э",ace="э",sce="⩷",lce="Ė",cce="ė",uce="≑",dce="ⅇ",fce="≒",hce="𝔈",pce="𝔢",mce="⪚",gce="È",vce="è",bce="⪖",yce="⪘",xce="⪙",Cce="∈",wce="⏧",_ce="ℓ",Sce="⪕",kce="⪗",Pce="Ē",Tce="ē",Rce="∅",Ece="∅",$ce="◻",Ace="∅",Ice="▫",Oce=" ",Mce=" ",zce=" ",Dce="Ŋ",Lce="ŋ",Fce=" ",Bce="Ę",Nce="ę",Hce="𝔼",jce="𝕖",Vce="⋕",Wce="⧣",Uce="⩱",qce="ε",Kce="Ε",Gce="ε",Yce="ϵ",Xce="≖",Zce="≕",Jce="≂",Qce="⪖",eue="⪕",tue="⩵",nue="=",oue="≂",rue="≟",iue="⇌",aue="≡",sue="⩸",lue="⧥",cue="⥱",uue="≓",due="ℯ",fue="ℰ",hue="≐",pue="⩳",mue="≂",gue="Η",vue="η",bue="Ð",yue="ð",xue="Ë",Cue="ë",wue="€",_ue="!",Sue="∃",kue="∃",Pue="ℰ",Tue="ⅇ",Rue="ⅇ",Eue="≒",$ue="Ф",Aue="ф",Iue="♀",Oue="ffi",Mue="ff",zue="ffl",Due="𝔉",Lue="𝔣",Fue="fi",Bue="◼",Nue="▪",Hue="fj",jue="♭",Vue="fl",Wue="▱",Uue="ƒ",que="𝔽",Kue="𝕗",Gue="∀",Yue="∀",Xue="⋔",Zue="⫙",Jue="ℱ",Que="⨍",ede="½",tde="⅓",nde="¼",ode="⅕",rde="⅙",ide="⅛",ade="⅔",sde="⅖",lde="¾",cde="⅗",ude="⅜",dde="⅘",fde="⅚",hde="⅝",pde="⅞",mde="⁄",gde="⌢",vde="𝒻",bde="ℱ",yde="ǵ",xde="Γ",Cde="γ",wde="Ϝ",_de="ϝ",Sde="⪆",kde="Ğ",Pde="ğ",Tde="Ģ",Rde="Ĝ",Ede="ĝ",$de="Г",Ade="г",Ide="Ġ",Ode="ġ",Mde="≥",zde="≧",Dde="⪌",Lde="⋛",Fde="≥",Bde="≧",Nde="⩾",Hde="⪩",jde="⩾",Vde="⪀",Wde="⪂",Ude="⪄",qde="⋛︀",Kde="⪔",Gde="𝔊",Yde="𝔤",Xde="≫",Zde="⋙",Jde="⋙",Qde="ℷ",efe="Ѓ",tfe="ѓ",nfe="⪥",ofe="≷",rfe="⪒",ife="⪤",afe="⪊",sfe="⪊",lfe="⪈",cfe="≩",ufe="⪈",dfe="≩",ffe="⋧",hfe="𝔾",pfe="𝕘",mfe="`",gfe="≥",vfe="⋛",bfe="≧",yfe="⪢",xfe="≷",Cfe="⩾",wfe="≳",_fe="𝒢",Sfe="ℊ",kfe="≳",Pfe="⪎",Tfe="⪐",Rfe="⪧",Efe="⩺",$fe=">",Afe=">",Ife="≫",Ofe="⋗",Mfe="⦕",zfe="⩼",Dfe="⪆",Lfe="⥸",Ffe="⋗",Bfe="⋛",Nfe="⪌",Hfe="≷",jfe="≳",Vfe="≩︀",Wfe="≩︀",Ufe="ˇ",qfe=" ",Kfe="½",Gfe="ℋ",Yfe="Ъ",Xfe="ъ",Zfe="⥈",Jfe="↔",Qfe="⇔",ehe="↭",the="^",nhe="ℏ",ohe="Ĥ",rhe="ĥ",ihe="♥",ahe="♥",she="…",lhe="⊹",che="𝔥",uhe="ℌ",dhe="ℋ",fhe="⤥",hhe="⤦",phe="⇿",mhe="∻",ghe="↩",vhe="↪",bhe="𝕙",yhe="ℍ",xhe="―",Che="─",whe="𝒽",_he="ℋ",She="ℏ",khe="Ħ",Phe="ħ",The="≎",Rhe="≏",Ehe="⁃",$he="‐",Ahe="Í",Ihe="í",Ohe="⁣",Mhe="Î",zhe="î",Dhe="И",Lhe="и",Fhe="İ",Bhe="Е",Nhe="е",Hhe="¡",jhe="⇔",Vhe="𝔦",Whe="ℑ",Uhe="Ì",qhe="ì",Khe="ⅈ",Ghe="⨌",Yhe="∭",Xhe="⧜",Zhe="℩",Jhe="IJ",Qhe="ij",epe="Ī",tpe="ī",npe="ℑ",ope="ⅈ",rpe="ℐ",ipe="ℑ",ape="ı",spe="ℑ",lpe="⊷",cpe="Ƶ",upe="⇒",dpe="℅",fpe="∞",hpe="⧝",ppe="ı",mpe="⊺",gpe="∫",vpe="∬",bpe="ℤ",ype="∫",xpe="⊺",Cpe="⋂",wpe="⨗",_pe="⨼",Spe="⁣",kpe="⁢",Ppe="Ё",Tpe="ё",Rpe="Į",Epe="į",$pe="𝕀",Ape="𝕚",Ipe="Ι",Ope="ι",Mpe="⨼",zpe="¿",Dpe="𝒾",Lpe="ℐ",Fpe="∈",Bpe="⋵",Npe="⋹",Hpe="⋴",jpe="⋳",Vpe="∈",Wpe="⁢",Upe="Ĩ",qpe="ĩ",Kpe="І",Gpe="і",Ype="Ï",Xpe="ï",Zpe="Ĵ",Jpe="ĵ",Qpe="Й",eme="й",tme="𝔍",nme="𝔧",ome="ȷ",rme="𝕁",ime="𝕛",ame="𝒥",sme="𝒿",lme="Ј",cme="ј",ume="Є",dme="є",fme="Κ",hme="κ",pme="ϰ",mme="Ķ",gme="ķ",vme="К",bme="к",yme="𝔎",xme="𝔨",Cme="ĸ",wme="Х",_me="х",Sme="Ќ",kme="ќ",Pme="𝕂",Tme="𝕜",Rme="𝒦",Eme="𝓀",$me="⇚",Ame="Ĺ",Ime="ĺ",Ome="⦴",Mme="ℒ",zme="Λ",Dme="λ",Lme="⟨",Fme="⟪",Bme="⦑",Nme="⟨",Hme="⪅",jme="ℒ",Vme="«",Wme="⇤",Ume="⤟",qme="←",Kme="↞",Gme="⇐",Yme="⤝",Xme="↩",Zme="↫",Jme="⤹",Qme="⥳",ege="↢",tge="⤙",nge="⤛",oge="⪫",rge="⪭",ige="⪭︀",age="⤌",sge="⤎",lge="❲",cge="{",uge="[",dge="⦋",fge="⦏",hge="⦍",pge="Ľ",mge="ľ",gge="Ļ",vge="ļ",bge="⌈",yge="{",xge="Л",Cge="л",wge="⤶",_ge="“",Sge="„",kge="⥧",Pge="⥋",Tge="↲",Rge="≤",Ege="≦",$ge="⟨",Age="⇤",Ige="←",Oge="←",Mge="⇐",zge="⇆",Dge="↢",Lge="⌈",Fge="⟦",Bge="⥡",Nge="⥙",Hge="⇃",jge="⌊",Vge="↽",Wge="↼",Uge="⇇",qge="↔",Kge="↔",Gge="⇔",Yge="⇆",Xge="⇋",Zge="↭",Jge="⥎",Qge="↤",eve="⊣",tve="⥚",nve="⋋",ove="⧏",rve="⊲",ive="⊴",ave="⥑",sve="⥠",lve="⥘",cve="↿",uve="⥒",dve="↼",fve="⪋",hve="⋚",pve="≤",mve="≦",gve="⩽",vve="⪨",bve="⩽",yve="⩿",xve="⪁",Cve="⪃",wve="⋚︀",_ve="⪓",Sve="⪅",kve="⋖",Pve="⋚",Tve="⪋",Rve="⋚",Eve="≦",$ve="≶",Ave="≶",Ive="⪡",Ove="≲",Mve="⩽",zve="≲",Dve="⥼",Lve="⌊",Fve="𝔏",Bve="𝔩",Nve="≶",Hve="⪑",jve="⥢",Vve="↽",Wve="↼",Uve="⥪",qve="▄",Kve="Љ",Gve="љ",Yve="⇇",Xve="≪",Zve="⋘",Jve="⌞",Qve="⇚",ebe="⥫",tbe="◺",nbe="Ŀ",obe="ŀ",rbe="⎰",ibe="⎰",abe="⪉",sbe="⪉",lbe="⪇",cbe="≨",ube="⪇",dbe="≨",fbe="⋦",hbe="⟬",pbe="⇽",mbe="⟦",gbe="⟵",vbe="⟵",bbe="⟸",ybe="⟷",xbe="⟷",Cbe="⟺",wbe="⟼",_be="⟶",Sbe="⟶",kbe="⟹",Pbe="↫",Tbe="↬",Rbe="⦅",Ebe="𝕃",$be="𝕝",Abe="⨭",Ibe="⨴",Obe="∗",Mbe="_",zbe="↙",Dbe="↘",Lbe="◊",Fbe="◊",Bbe="⧫",Nbe="(",Hbe="⦓",jbe="⇆",Vbe="⌟",Wbe="⇋",Ube="⥭",qbe="‎",Kbe="⊿",Gbe="‹",Ybe="𝓁",Xbe="ℒ",Zbe="↰",Jbe="↰",Qbe="≲",e0e="⪍",t0e="⪏",n0e="[",o0e="‘",r0e="‚",i0e="Ł",a0e="ł",s0e="⪦",l0e="⩹",c0e="<",u0e="<",d0e="≪",f0e="⋖",h0e="⋋",p0e="⋉",m0e="⥶",g0e="⩻",v0e="◃",b0e="⊴",y0e="◂",x0e="⦖",C0e="⥊",w0e="⥦",_0e="≨︀",S0e="≨︀",k0e="¯",P0e="♂",T0e="✠",R0e="✠",E0e="↦",$0e="↦",A0e="↧",I0e="↤",O0e="↥",M0e="▮",z0e="⨩",D0e="М",L0e="м",F0e="—",B0e="∺",N0e="∡",H0e=" ",j0e="ℳ",V0e="𝔐",W0e="𝔪",U0e="℧",q0e="µ",K0e="*",G0e="⫰",Y0e="∣",X0e="·",Z0e="⊟",J0e="−",Q0e="∸",e1e="⨪",t1e="∓",n1e="⫛",o1e="…",r1e="∓",i1e="⊧",a1e="𝕄",s1e="𝕞",l1e="∓",c1e="𝓂",u1e="ℳ",d1e="∾",f1e="Μ",h1e="μ",p1e="⊸",m1e="⊸",g1e="∇",v1e="Ń",b1e="ń",y1e="∠⃒",x1e="≉",C1e="⩰̸",w1e="≋̸",_1e="ʼn",S1e="≉",k1e="♮",P1e="ℕ",T1e="♮",R1e=" ",E1e="≎̸",$1e="≏̸",A1e="⩃",I1e="Ň",O1e="ň",M1e="Ņ",z1e="ņ",D1e="≇",L1e="⩭̸",F1e="⩂",B1e="Н",N1e="н",H1e="–",j1e="⤤",V1e="↗",W1e="⇗",U1e="↗",q1e="≠",K1e="≐̸",G1e="​",Y1e="​",X1e="​",Z1e="​",J1e="≢",Q1e="⤨",eye="≂̸",tye="≫",nye="≪",oye=` -`,rye="∄",iye="∄",aye="𝔑",sye="𝔫",lye="≧̸",cye="≱",uye="≱",dye="≧̸",fye="⩾̸",hye="⩾̸",pye="⋙̸",mye="≵",gye="≫⃒",vye="≯",bye="≯",yye="≫̸",xye="↮",Cye="⇎",wye="⫲",_ye="∋",Sye="⋼",kye="⋺",Pye="∋",Tye="Њ",Rye="њ",Eye="↚",$ye="⇍",Aye="‥",Iye="≦̸",Oye="≰",Mye="↚",zye="⇍",Dye="↮",Lye="⇎",Fye="≰",Bye="≦̸",Nye="⩽̸",Hye="⩽̸",jye="≮",Vye="⋘̸",Wye="≴",Uye="≪⃒",qye="≮",Kye="⋪",Gye="⋬",Yye="≪̸",Xye="∤",Zye="⁠",Jye=" ",Qye="𝕟",exe="ℕ",txe="⫬",nxe="¬",oxe="≢",rxe="≭",ixe="∦",axe="∉",sxe="≠",lxe="≂̸",cxe="∄",uxe="≯",dxe="≱",fxe="≧̸",hxe="≫̸",pxe="≹",mxe="⩾̸",gxe="≵",vxe="≎̸",bxe="≏̸",yxe="∉",xxe="⋵̸",Cxe="⋹̸",wxe="∉",_xe="⋷",Sxe="⋶",kxe="⧏̸",Pxe="⋪",Txe="⋬",Rxe="≮",Exe="≰",$xe="≸",Axe="≪̸",Ixe="⩽̸",Oxe="≴",Mxe="⪢̸",zxe="⪡̸",Dxe="∌",Lxe="∌",Fxe="⋾",Bxe="⋽",Nxe="⊀",Hxe="⪯̸",jxe="⋠",Vxe="∌",Wxe="⧐̸",Uxe="⋫",qxe="⋭",Kxe="⊏̸",Gxe="⋢",Yxe="⊐̸",Xxe="⋣",Zxe="⊂⃒",Jxe="⊈",Qxe="⊁",eCe="⪰̸",tCe="⋡",nCe="≿̸",oCe="⊃⃒",rCe="⊉",iCe="≁",aCe="≄",sCe="≇",lCe="≉",cCe="∤",uCe="∦",dCe="∦",fCe="⫽⃥",hCe="∂̸",pCe="⨔",mCe="⊀",gCe="⋠",vCe="⊀",bCe="⪯̸",yCe="⪯̸",xCe="⤳̸",CCe="↛",wCe="⇏",_Ce="↝̸",SCe="↛",kCe="⇏",PCe="⋫",TCe="⋭",RCe="⊁",ECe="⋡",$Ce="⪰̸",ACe="𝒩",ICe="𝓃",OCe="∤",MCe="∦",zCe="≁",DCe="≄",LCe="≄",FCe="∤",BCe="∦",NCe="⋢",HCe="⋣",jCe="⊄",VCe="⫅̸",WCe="⊈",UCe="⊂⃒",qCe="⊈",KCe="⫅̸",GCe="⊁",YCe="⪰̸",XCe="⊅",ZCe="⫆̸",JCe="⊉",QCe="⊃⃒",ewe="⊉",twe="⫆̸",nwe="≹",owe="Ñ",rwe="ñ",iwe="≸",awe="⋪",swe="⋬",lwe="⋫",cwe="⋭",uwe="Ν",dwe="ν",fwe="#",hwe="№",pwe=" ",mwe="≍⃒",gwe="⊬",vwe="⊭",bwe="⊮",ywe="⊯",xwe="≥⃒",Cwe=">⃒",wwe="⤄",_we="⧞",Swe="⤂",kwe="≤⃒",Pwe="<⃒",Twe="⊴⃒",Rwe="⤃",Ewe="⊵⃒",$we="∼⃒",Awe="⤣",Iwe="↖",Owe="⇖",Mwe="↖",zwe="⤧",Dwe="Ó",Lwe="ó",Fwe="⊛",Bwe="Ô",Nwe="ô",Hwe="⊚",jwe="О",Vwe="о",Wwe="⊝",Uwe="Ő",qwe="ő",Kwe="⨸",Gwe="⊙",Ywe="⦼",Xwe="Œ",Zwe="œ",Jwe="⦿",Qwe="𝔒",e_e="𝔬",t_e="˛",n_e="Ò",o_e="ò",r_e="⧁",i_e="⦵",a_e="Ω",s_e="∮",l_e="↺",c_e="⦾",u_e="⦻",d_e="‾",f_e="⧀",h_e="Ō",p_e="ō",m_e="Ω",g_e="ω",v_e="Ο",b_e="ο",y_e="⦶",x_e="⊖",C_e="𝕆",w_e="𝕠",__e="⦷",S_e="“",k_e="‘",P_e="⦹",T_e="⊕",R_e="↻",E_e="⩔",$_e="∨",A_e="⩝",I_e="ℴ",O_e="ℴ",M_e="ª",z_e="º",D_e="⊶",L_e="⩖",F_e="⩗",B_e="⩛",N_e="Ⓢ",H_e="𝒪",j_e="ℴ",V_e="Ø",W_e="ø",U_e="⊘",q_e="Õ",K_e="õ",G_e="⨶",Y_e="⨷",X_e="⊗",Z_e="Ö",J_e="ö",Q_e="⌽",e2e="‾",t2e="⏞",n2e="⎴",o2e="⏜",r2e="¶",i2e="∥",a2e="∥",s2e="⫳",l2e="⫽",c2e="∂",u2e="∂",d2e="П",f2e="п",h2e="%",p2e=".",m2e="‰",g2e="⊥",v2e="‱",b2e="𝔓",y2e="𝔭",x2e="Φ",C2e="φ",w2e="ϕ",_2e="ℳ",S2e="☎",k2e="Π",P2e="π",T2e="⋔",R2e="ϖ",E2e="ℏ",$2e="ℎ",A2e="ℏ",I2e="⨣",O2e="⊞",M2e="⨢",z2e="+",D2e="∔",L2e="⨥",F2e="⩲",B2e="±",N2e="±",H2e="⨦",j2e="⨧",V2e="±",W2e="ℌ",U2e="⨕",q2e="𝕡",K2e="ℙ",G2e="£",Y2e="⪷",X2e="⪻",Z2e="≺",J2e="≼",Q2e="⪷",eSe="≺",tSe="≼",nSe="≺",oSe="⪯",rSe="≼",iSe="≾",aSe="⪯",sSe="⪹",lSe="⪵",cSe="⋨",uSe="⪯",dSe="⪳",fSe="≾",hSe="′",pSe="″",mSe="ℙ",gSe="⪹",vSe="⪵",bSe="⋨",ySe="∏",xSe="∏",CSe="⌮",wSe="⌒",_Se="⌓",SSe="∝",kSe="∝",PSe="∷",TSe="∝",RSe="≾",ESe="⊰",$Se="𝒫",ASe="𝓅",ISe="Ψ",OSe="ψ",MSe=" ",zSe="𝔔",DSe="𝔮",LSe="⨌",FSe="𝕢",BSe="ℚ",NSe="⁗",HSe="𝒬",jSe="𝓆",VSe="ℍ",WSe="⨖",USe="?",qSe="≟",KSe='"',GSe='"',YSe="⇛",XSe="∽̱",ZSe="Ŕ",JSe="ŕ",QSe="√",eke="⦳",tke="⟩",nke="⟫",oke="⦒",rke="⦥",ike="⟩",ake="»",ske="⥵",lke="⇥",cke="⤠",uke="⤳",dke="→",fke="↠",hke="⇒",pke="⤞",mke="↪",gke="↬",vke="⥅",bke="⥴",yke="⤖",xke="↣",Cke="↝",wke="⤚",_ke="⤜",Ske="∶",kke="ℚ",Pke="⤍",Tke="⤏",Rke="⤐",Eke="❳",$ke="}",Ake="]",Ike="⦌",Oke="⦎",Mke="⦐",zke="Ř",Dke="ř",Lke="Ŗ",Fke="ŗ",Bke="⌉",Nke="}",Hke="Р",jke="р",Vke="⤷",Wke="⥩",Uke="”",qke="”",Kke="↳",Gke="ℜ",Yke="ℛ",Xke="ℜ",Zke="ℝ",Jke="ℜ",Qke="▭",e3e="®",t3e="®",n3e="∋",o3e="⇋",r3e="⥯",i3e="⥽",a3e="⌋",s3e="𝔯",l3e="ℜ",c3e="⥤",u3e="⇁",d3e="⇀",f3e="⥬",h3e="Ρ",p3e="ρ",m3e="ϱ",g3e="⟩",v3e="⇥",b3e="→",y3e="→",x3e="⇒",C3e="⇄",w3e="↣",_3e="⌉",S3e="⟧",k3e="⥝",P3e="⥕",T3e="⇂",R3e="⌋",E3e="⇁",$3e="⇀",A3e="⇄",I3e="⇌",O3e="⇉",M3e="↝",z3e="↦",D3e="⊢",L3e="⥛",F3e="⋌",B3e="⧐",N3e="⊳",H3e="⊵",j3e="⥏",V3e="⥜",W3e="⥔",U3e="↾",q3e="⥓",K3e="⇀",G3e="˚",Y3e="≓",X3e="⇄",Z3e="⇌",J3e="‏",Q3e="⎱",e4e="⎱",t4e="⫮",n4e="⟭",o4e="⇾",r4e="⟧",i4e="⦆",a4e="𝕣",s4e="ℝ",l4e="⨮",c4e="⨵",u4e="⥰",d4e=")",f4e="⦔",h4e="⨒",p4e="⇉",m4e="⇛",g4e="›",v4e="𝓇",b4e="ℛ",y4e="↱",x4e="↱",C4e="]",w4e="’",_4e="’",S4e="⋌",k4e="⋊",P4e="▹",T4e="⊵",R4e="▸",E4e="⧎",$4e="⧴",A4e="⥨",I4e="℞",O4e="Ś",M4e="ś",z4e="‚",D4e="⪸",L4e="Š",F4e="š",B4e="⪼",N4e="≻",H4e="≽",j4e="⪰",V4e="⪴",W4e="Ş",U4e="ş",q4e="Ŝ",K4e="ŝ",G4e="⪺",Y4e="⪶",X4e="⋩",Z4e="⨓",J4e="≿",Q4e="С",ePe="с",tPe="⊡",nPe="⋅",oPe="⩦",rPe="⤥",iPe="↘",aPe="⇘",sPe="↘",lPe="§",cPe=";",uPe="⤩",dPe="∖",fPe="∖",hPe="✶",pPe="𝔖",mPe="𝔰",gPe="⌢",vPe="♯",bPe="Щ",yPe="щ",xPe="Ш",CPe="ш",wPe="↓",_Pe="←",SPe="∣",kPe="∥",PPe="→",TPe="↑",RPe="­",EPe="Σ",$Pe="σ",APe="ς",IPe="ς",OPe="∼",MPe="⩪",zPe="≃",DPe="≃",LPe="⪞",FPe="⪠",BPe="⪝",NPe="⪟",HPe="≆",jPe="⨤",VPe="⥲",WPe="←",UPe="∘",qPe="∖",KPe="⨳",GPe="⧤",YPe="∣",XPe="⌣",ZPe="⪪",JPe="⪬",QPe="⪬︀",eTe="Ь",tTe="ь",nTe="⌿",oTe="⧄",rTe="/",iTe="𝕊",aTe="𝕤",sTe="♠",lTe="♠",cTe="∥",uTe="⊓",dTe="⊓︀",fTe="⊔",hTe="⊔︀",pTe="√",mTe="⊏",gTe="⊑",vTe="⊏",bTe="⊑",yTe="⊐",xTe="⊒",CTe="⊐",wTe="⊒",_Te="□",STe="□",kTe="⊓",PTe="⊏",TTe="⊑",RTe="⊐",ETe="⊒",$Te="⊔",ATe="▪",ITe="□",OTe="▪",MTe="→",zTe="𝒮",DTe="𝓈",LTe="∖",FTe="⌣",BTe="⋆",NTe="⋆",HTe="☆",jTe="★",VTe="ϵ",WTe="ϕ",UTe="¯",qTe="⊂",KTe="⋐",GTe="⪽",YTe="⫅",XTe="⊆",ZTe="⫃",JTe="⫁",QTe="⫋",e5e="⊊",t5e="⪿",n5e="⥹",o5e="⊂",r5e="⋐",i5e="⊆",a5e="⫅",s5e="⊆",l5e="⊊",c5e="⫋",u5e="⫇",d5e="⫕",f5e="⫓",h5e="⪸",p5e="≻",m5e="≽",g5e="≻",v5e="⪰",b5e="≽",y5e="≿",x5e="⪰",C5e="⪺",w5e="⪶",_5e="⋩",S5e="≿",k5e="∋",P5e="∑",T5e="∑",R5e="♪",E5e="¹",$5e="²",A5e="³",I5e="⊃",O5e="⋑",M5e="⪾",z5e="⫘",D5e="⫆",L5e="⊇",F5e="⫄",B5e="⊃",N5e="⊇",H5e="⟉",j5e="⫗",V5e="⥻",W5e="⫂",U5e="⫌",q5e="⊋",K5e="⫀",G5e="⊃",Y5e="⋑",X5e="⊇",Z5e="⫆",J5e="⊋",Q5e="⫌",eRe="⫈",tRe="⫔",nRe="⫖",oRe="⤦",rRe="↙",iRe="⇙",aRe="↙",sRe="⤪",lRe="ß",cRe=" ",uRe="⌖",dRe="Τ",fRe="τ",hRe="⎴",pRe="Ť",mRe="ť",gRe="Ţ",vRe="ţ",bRe="Т",yRe="т",xRe="⃛",CRe="⌕",wRe="𝔗",_Re="𝔱",SRe="∴",kRe="∴",PRe="∴",TRe="Θ",RRe="θ",ERe="ϑ",$Re="ϑ",ARe="≈",IRe="∼",ORe="  ",MRe=" ",zRe=" ",DRe="≈",LRe="∼",FRe="Þ",BRe="þ",NRe="˜",HRe="∼",jRe="≃",VRe="≅",WRe="≈",URe="⨱",qRe="⊠",KRe="×",GRe="⨰",YRe="∭",XRe="⤨",ZRe="⌶",JRe="⫱",QRe="⊤",eEe="𝕋",tEe="𝕥",nEe="⫚",oEe="⤩",rEe="‴",iEe="™",aEe="™",sEe="▵",lEe="▿",cEe="◃",uEe="⊴",dEe="≜",fEe="▹",hEe="⊵",pEe="◬",mEe="≜",gEe="⨺",vEe="⃛",bEe="⨹",yEe="⧍",xEe="⨻",CEe="⏢",wEe="𝒯",_Ee="𝓉",SEe="Ц",kEe="ц",PEe="Ћ",TEe="ћ",REe="Ŧ",EEe="ŧ",$Ee="≬",AEe="↞",IEe="↠",OEe="Ú",MEe="ú",zEe="↑",DEe="↟",LEe="⇑",FEe="⥉",BEe="Ў",NEe="ў",HEe="Ŭ",jEe="ŭ",VEe="Û",WEe="û",UEe="У",qEe="у",KEe="⇅",GEe="Ű",YEe="ű",XEe="⥮",ZEe="⥾",JEe="𝔘",QEe="𝔲",e$e="Ù",t$e="ù",n$e="⥣",o$e="↿",r$e="↾",i$e="▀",a$e="⌜",s$e="⌜",l$e="⌏",c$e="◸",u$e="Ū",d$e="ū",f$e="¨",h$e="_",p$e="⏟",m$e="⎵",g$e="⏝",v$e="⋃",b$e="⊎",y$e="Ų",x$e="ų",C$e="𝕌",w$e="𝕦",_$e="⤒",S$e="↑",k$e="↑",P$e="⇑",T$e="⇅",R$e="↕",E$e="↕",$$e="⇕",A$e="⥮",I$e="↿",O$e="↾",M$e="⊎",z$e="↖",D$e="↗",L$e="υ",F$e="ϒ",B$e="ϒ",N$e="Υ",H$e="υ",j$e="↥",V$e="⊥",W$e="⇈",U$e="⌝",q$e="⌝",K$e="⌎",G$e="Ů",Y$e="ů",X$e="◹",Z$e="𝒰",J$e="𝓊",Q$e="⋰",eAe="Ũ",tAe="ũ",nAe="▵",oAe="▴",rAe="⇈",iAe="Ü",aAe="ü",sAe="⦧",lAe="⦜",cAe="ϵ",uAe="ϰ",dAe="∅",fAe="ϕ",hAe="ϖ",pAe="∝",mAe="↕",gAe="⇕",vAe="ϱ",bAe="ς",yAe="⊊︀",xAe="⫋︀",CAe="⊋︀",wAe="⫌︀",_Ae="ϑ",SAe="⊲",kAe="⊳",PAe="⫨",TAe="⫫",RAe="⫩",EAe="В",$Ae="в",AAe="⊢",IAe="⊨",OAe="⊩",MAe="⊫",zAe="⫦",DAe="⊻",LAe="∨",FAe="⋁",BAe="≚",NAe="⋮",HAe="|",jAe="‖",VAe="|",WAe="‖",UAe="∣",qAe="|",KAe="❘",GAe="≀",YAe=" ",XAe="𝔙",ZAe="𝔳",JAe="⊲",QAe="⊂⃒",e6e="⊃⃒",t6e="𝕍",n6e="𝕧",o6e="∝",r6e="⊳",i6e="𝒱",a6e="𝓋",s6e="⫋︀",l6e="⊊︀",c6e="⫌︀",u6e="⊋︀",d6e="⊪",f6e="⦚",h6e="Ŵ",p6e="ŵ",m6e="⩟",g6e="∧",v6e="⋀",b6e="≙",y6e="℘",x6e="𝔚",C6e="𝔴",w6e="𝕎",_6e="𝕨",S6e="℘",k6e="≀",P6e="≀",T6e="𝒲",R6e="𝓌",E6e="⋂",$6e="◯",A6e="⋃",I6e="▽",O6e="𝔛",M6e="𝔵",z6e="⟷",D6e="⟺",L6e="Ξ",F6e="ξ",B6e="⟵",N6e="⟸",H6e="⟼",j6e="⋻",V6e="⨀",W6e="𝕏",U6e="𝕩",q6e="⨁",K6e="⨂",G6e="⟶",Y6e="⟹",X6e="𝒳",Z6e="𝓍",J6e="⨆",Q6e="⨄",e8e="△",t8e="⋁",n8e="⋀",o8e="Ý",r8e="ý",i8e="Я",a8e="я",s8e="Ŷ",l8e="ŷ",c8e="Ы",u8e="ы",d8e="¥",f8e="𝔜",h8e="𝔶",p8e="Ї",m8e="ї",g8e="𝕐",v8e="𝕪",b8e="𝒴",y8e="𝓎",x8e="Ю",C8e="ю",w8e="ÿ",_8e="Ÿ",S8e="Ź",k8e="ź",P8e="Ž",T8e="ž",R8e="З",E8e="з",$8e="Ż",A8e="ż",I8e="ℨ",O8e="​",M8e="Ζ",z8e="ζ",D8e="𝔷",L8e="ℨ",F8e="Ж",B8e="ж",N8e="⇝",H8e="𝕫",j8e="ℤ",V8e="𝒵",W8e="𝓏",U8e="‍",q8e="‌",K8e={Aacute:$ee,aacute:Aee,Abreve:Iee,abreve:Oee,ac:Mee,acd:zee,acE:Dee,Acirc:Lee,acirc:Fee,acute:Bee,Acy:Nee,acy:Hee,AElig:jee,aelig:Vee,af:Wee,Afr:Uee,afr:qee,Agrave:Kee,agrave:Gee,alefsym:Yee,aleph:Xee,Alpha:Zee,alpha:Jee,Amacr:Qee,amacr:ete,amalg:tte,amp:nte,AMP:ote,andand:rte,And:ite,and:ate,andd:ste,andslope:lte,andv:cte,ang:ute,ange:dte,angle:fte,angmsdaa:hte,angmsdab:pte,angmsdac:mte,angmsdad:gte,angmsdae:vte,angmsdaf:bte,angmsdag:yte,angmsdah:xte,angmsd:Cte,angrt:wte,angrtvb:_te,angrtvbd:Ste,angsph:kte,angst:Pte,angzarr:Tte,Aogon:Rte,aogon:Ete,Aopf:$te,aopf:Ate,apacir:Ite,ap:Ote,apE:Mte,ape:zte,apid:Dte,apos:Lte,ApplyFunction:Fte,approx:Bte,approxeq:Nte,Aring:Hte,aring:jte,Ascr:Vte,ascr:Wte,Assign:Ute,ast:qte,asymp:Kte,asympeq:Gte,Atilde:Yte,atilde:Xte,Auml:Zte,auml:Jte,awconint:Qte,awint:ene,backcong:tne,backepsilon:nne,backprime:one,backsim:rne,backsimeq:ine,Backslash:ane,Barv:sne,barvee:lne,barwed:cne,Barwed:une,barwedge:dne,bbrk:fne,bbrktbrk:hne,bcong:pne,Bcy:mne,bcy:gne,bdquo:vne,becaus:bne,because:yne,Because:xne,bemptyv:Cne,bepsi:wne,bernou:_ne,Bernoullis:Sne,Beta:kne,beta:Pne,beth:Tne,between:Rne,Bfr:Ene,bfr:$ne,bigcap:Ane,bigcirc:Ine,bigcup:One,bigodot:Mne,bigoplus:zne,bigotimes:Dne,bigsqcup:Lne,bigstar:Fne,bigtriangledown:Bne,bigtriangleup:Nne,biguplus:Hne,bigvee:jne,bigwedge:Vne,bkarow:Wne,blacklozenge:Une,blacksquare:qne,blacktriangle:Kne,blacktriangledown:Gne,blacktriangleleft:Yne,blacktriangleright:Xne,blank:Zne,blk12:Jne,blk14:Qne,blk34:eoe,block:toe,bne:noe,bnequiv:ooe,bNot:roe,bnot:ioe,Bopf:aoe,bopf:soe,bot:loe,bottom:coe,bowtie:uoe,boxbox:doe,boxdl:foe,boxdL:hoe,boxDl:poe,boxDL:moe,boxdr:goe,boxdR:voe,boxDr:boe,boxDR:yoe,boxh:xoe,boxH:Coe,boxhd:woe,boxHd:_oe,boxhD:Soe,boxHD:koe,boxhu:Poe,boxHu:Toe,boxhU:Roe,boxHU:Eoe,boxminus:$oe,boxplus:Aoe,boxtimes:Ioe,boxul:Ooe,boxuL:Moe,boxUl:zoe,boxUL:Doe,boxur:Loe,boxuR:Foe,boxUr:Boe,boxUR:Noe,boxv:Hoe,boxV:joe,boxvh:Voe,boxvH:Woe,boxVh:Uoe,boxVH:qoe,boxvl:Koe,boxvL:Goe,boxVl:Yoe,boxVL:Xoe,boxvr:Zoe,boxvR:Joe,boxVr:Qoe,boxVR:ere,bprime:tre,breve:nre,Breve:ore,brvbar:rre,bscr:ire,Bscr:are,bsemi:sre,bsim:lre,bsime:cre,bsolb:ure,bsol:dre,bsolhsub:fre,bull:hre,bullet:pre,bump:mre,bumpE:gre,bumpe:vre,Bumpeq:bre,bumpeq:yre,Cacute:xre,cacute:Cre,capand:wre,capbrcup:_re,capcap:Sre,cap:kre,Cap:Pre,capcup:Tre,capdot:Rre,CapitalDifferentialD:Ere,caps:$re,caret:Are,caron:Ire,Cayleys:Ore,ccaps:Mre,Ccaron:zre,ccaron:Dre,Ccedil:Lre,ccedil:Fre,Ccirc:Bre,ccirc:Nre,Cconint:Hre,ccups:jre,ccupssm:Vre,Cdot:Wre,cdot:Ure,cedil:qre,Cedilla:Kre,cemptyv:Gre,cent:Yre,centerdot:Xre,CenterDot:Zre,cfr:Jre,Cfr:Qre,CHcy:eie,chcy:tie,check:nie,checkmark:oie,Chi:rie,chi:iie,circ:aie,circeq:sie,circlearrowleft:lie,circlearrowright:cie,circledast:uie,circledcirc:die,circleddash:fie,CircleDot:hie,circledR:pie,circledS:mie,CircleMinus:gie,CirclePlus:vie,CircleTimes:bie,cir:yie,cirE:xie,cire:Cie,cirfnint:wie,cirmid:_ie,cirscir:Sie,ClockwiseContourIntegral:kie,CloseCurlyDoubleQuote:Pie,CloseCurlyQuote:Tie,clubs:Rie,clubsuit:Eie,colon:$ie,Colon:Aie,Colone:Iie,colone:Oie,coloneq:Mie,comma:zie,commat:Die,comp:Lie,compfn:Fie,complement:Bie,complexes:Nie,cong:Hie,congdot:jie,Congruent:Vie,conint:Wie,Conint:Uie,ContourIntegral:qie,copf:Kie,Copf:Gie,coprod:Yie,Coproduct:Xie,copy:Zie,COPY:Jie,copysr:Qie,CounterClockwiseContourIntegral:eae,crarr:tae,cross:nae,Cross:oae,Cscr:rae,cscr:iae,csub:aae,csube:sae,csup:lae,csupe:cae,ctdot:uae,cudarrl:dae,cudarrr:fae,cuepr:hae,cuesc:pae,cularr:mae,cularrp:gae,cupbrcap:vae,cupcap:bae,CupCap:yae,cup:xae,Cup:Cae,cupcup:wae,cupdot:_ae,cupor:Sae,cups:kae,curarr:Pae,curarrm:Tae,curlyeqprec:Rae,curlyeqsucc:Eae,curlyvee:$ae,curlywedge:Aae,curren:Iae,curvearrowleft:Oae,curvearrowright:Mae,cuvee:zae,cuwed:Dae,cwconint:Lae,cwint:Fae,cylcty:Bae,dagger:Nae,Dagger:Hae,daleth:jae,darr:Vae,Darr:Wae,dArr:Uae,dash:qae,Dashv:Kae,dashv:Gae,dbkarow:Yae,dblac:Xae,Dcaron:Zae,dcaron:Jae,Dcy:Qae,dcy:ese,ddagger:tse,ddarr:nse,DD:ose,dd:rse,DDotrahd:ise,ddotseq:ase,deg:sse,Del:lse,Delta:cse,delta:use,demptyv:dse,dfisht:fse,Dfr:hse,dfr:pse,dHar:mse,dharl:gse,dharr:vse,DiacriticalAcute:bse,DiacriticalDot:yse,DiacriticalDoubleAcute:xse,DiacriticalGrave:Cse,DiacriticalTilde:wse,diam:_se,diamond:Sse,Diamond:kse,diamondsuit:Pse,diams:Tse,die:Rse,DifferentialD:Ese,digamma:$se,disin:Ase,div:Ise,divide:Ose,divideontimes:Mse,divonx:zse,DJcy:Dse,djcy:Lse,dlcorn:Fse,dlcrop:Bse,dollar:Nse,Dopf:Hse,dopf:jse,Dot:Vse,dot:Wse,DotDot:Use,doteq:qse,doteqdot:Kse,DotEqual:Gse,dotminus:Yse,dotplus:Xse,dotsquare:Zse,doublebarwedge:Jse,DoubleContourIntegral:Qse,DoubleDot:ele,DoubleDownArrow:tle,DoubleLeftArrow:nle,DoubleLeftRightArrow:ole,DoubleLeftTee:rle,DoubleLongLeftArrow:ile,DoubleLongLeftRightArrow:ale,DoubleLongRightArrow:sle,DoubleRightArrow:lle,DoubleRightTee:cle,DoubleUpArrow:ule,DoubleUpDownArrow:dle,DoubleVerticalBar:fle,DownArrowBar:hle,downarrow:ple,DownArrow:mle,Downarrow:gle,DownArrowUpArrow:vle,DownBreve:ble,downdownarrows:yle,downharpoonleft:xle,downharpoonright:Cle,DownLeftRightVector:wle,DownLeftTeeVector:_le,DownLeftVectorBar:Sle,DownLeftVector:kle,DownRightTeeVector:Ple,DownRightVectorBar:Tle,DownRightVector:Rle,DownTeeArrow:Ele,DownTee:$le,drbkarow:Ale,drcorn:Ile,drcrop:Ole,Dscr:Mle,dscr:zle,DScy:Dle,dscy:Lle,dsol:Fle,Dstrok:Ble,dstrok:Nle,dtdot:Hle,dtri:jle,dtrif:Vle,duarr:Wle,duhar:Ule,dwangle:qle,DZcy:Kle,dzcy:Gle,dzigrarr:Yle,Eacute:Xle,eacute:Zle,easter:Jle,Ecaron:Qle,ecaron:ece,Ecirc:tce,ecirc:nce,ecir:oce,ecolon:rce,Ecy:ice,ecy:ace,eDDot:sce,Edot:lce,edot:cce,eDot:uce,ee:dce,efDot:fce,Efr:hce,efr:pce,eg:mce,Egrave:gce,egrave:vce,egs:bce,egsdot:yce,el:xce,Element:Cce,elinters:wce,ell:_ce,els:Sce,elsdot:kce,Emacr:Pce,emacr:Tce,empty:Rce,emptyset:Ece,EmptySmallSquare:$ce,emptyv:Ace,EmptyVerySmallSquare:Ice,emsp13:Oce,emsp14:Mce,emsp:zce,ENG:Dce,eng:Lce,ensp:Fce,Eogon:Bce,eogon:Nce,Eopf:Hce,eopf:jce,epar:Vce,eparsl:Wce,eplus:Uce,epsi:qce,Epsilon:Kce,epsilon:Gce,epsiv:Yce,eqcirc:Xce,eqcolon:Zce,eqsim:Jce,eqslantgtr:Qce,eqslantless:eue,Equal:tue,equals:nue,EqualTilde:oue,equest:rue,Equilibrium:iue,equiv:aue,equivDD:sue,eqvparsl:lue,erarr:cue,erDot:uue,escr:due,Escr:fue,esdot:hue,Esim:pue,esim:mue,Eta:gue,eta:vue,ETH:bue,eth:yue,Euml:xue,euml:Cue,euro:wue,excl:_ue,exist:Sue,Exists:kue,expectation:Pue,exponentiale:Tue,ExponentialE:Rue,fallingdotseq:Eue,Fcy:$ue,fcy:Aue,female:Iue,ffilig:Oue,fflig:Mue,ffllig:zue,Ffr:Due,ffr:Lue,filig:Fue,FilledSmallSquare:Bue,FilledVerySmallSquare:Nue,fjlig:Hue,flat:jue,fllig:Vue,fltns:Wue,fnof:Uue,Fopf:que,fopf:Kue,forall:Gue,ForAll:Yue,fork:Xue,forkv:Zue,Fouriertrf:Jue,fpartint:Que,frac12:ede,frac13:tde,frac14:nde,frac15:ode,frac16:rde,frac18:ide,frac23:ade,frac25:sde,frac34:lde,frac35:cde,frac38:ude,frac45:dde,frac56:fde,frac58:hde,frac78:pde,frasl:mde,frown:gde,fscr:vde,Fscr:bde,gacute:yde,Gamma:xde,gamma:Cde,Gammad:wde,gammad:_de,gap:Sde,Gbreve:kde,gbreve:Pde,Gcedil:Tde,Gcirc:Rde,gcirc:Ede,Gcy:$de,gcy:Ade,Gdot:Ide,gdot:Ode,ge:Mde,gE:zde,gEl:Dde,gel:Lde,geq:Fde,geqq:Bde,geqslant:Nde,gescc:Hde,ges:jde,gesdot:Vde,gesdoto:Wde,gesdotol:Ude,gesl:qde,gesles:Kde,Gfr:Gde,gfr:Yde,gg:Xde,Gg:Zde,ggg:Jde,gimel:Qde,GJcy:efe,gjcy:tfe,gla:nfe,gl:ofe,glE:rfe,glj:ife,gnap:afe,gnapprox:sfe,gne:lfe,gnE:cfe,gneq:ufe,gneqq:dfe,gnsim:ffe,Gopf:hfe,gopf:pfe,grave:mfe,GreaterEqual:gfe,GreaterEqualLess:vfe,GreaterFullEqual:bfe,GreaterGreater:yfe,GreaterLess:xfe,GreaterSlantEqual:Cfe,GreaterTilde:wfe,Gscr:_fe,gscr:Sfe,gsim:kfe,gsime:Pfe,gsiml:Tfe,gtcc:Rfe,gtcir:Efe,gt:$fe,GT:Afe,Gt:Ife,gtdot:Ofe,gtlPar:Mfe,gtquest:zfe,gtrapprox:Dfe,gtrarr:Lfe,gtrdot:Ffe,gtreqless:Bfe,gtreqqless:Nfe,gtrless:Hfe,gtrsim:jfe,gvertneqq:Vfe,gvnE:Wfe,Hacek:Ufe,hairsp:qfe,half:Kfe,hamilt:Gfe,HARDcy:Yfe,hardcy:Xfe,harrcir:Zfe,harr:Jfe,hArr:Qfe,harrw:ehe,Hat:the,hbar:nhe,Hcirc:ohe,hcirc:rhe,hearts:ihe,heartsuit:ahe,hellip:she,hercon:lhe,hfr:che,Hfr:uhe,HilbertSpace:dhe,hksearow:fhe,hkswarow:hhe,hoarr:phe,homtht:mhe,hookleftarrow:ghe,hookrightarrow:vhe,hopf:bhe,Hopf:yhe,horbar:xhe,HorizontalLine:Che,hscr:whe,Hscr:_he,hslash:She,Hstrok:khe,hstrok:Phe,HumpDownHump:The,HumpEqual:Rhe,hybull:Ehe,hyphen:$he,Iacute:Ahe,iacute:Ihe,ic:Ohe,Icirc:Mhe,icirc:zhe,Icy:Dhe,icy:Lhe,Idot:Fhe,IEcy:Bhe,iecy:Nhe,iexcl:Hhe,iff:jhe,ifr:Vhe,Ifr:Whe,Igrave:Uhe,igrave:qhe,ii:Khe,iiiint:Ghe,iiint:Yhe,iinfin:Xhe,iiota:Zhe,IJlig:Jhe,ijlig:Qhe,Imacr:epe,imacr:tpe,image:npe,ImaginaryI:ope,imagline:rpe,imagpart:ipe,imath:ape,Im:spe,imof:lpe,imped:cpe,Implies:upe,incare:dpe,in:"∈",infin:fpe,infintie:hpe,inodot:ppe,intcal:mpe,int:gpe,Int:vpe,integers:bpe,Integral:ype,intercal:xpe,Intersection:Cpe,intlarhk:wpe,intprod:_pe,InvisibleComma:Spe,InvisibleTimes:kpe,IOcy:Ppe,iocy:Tpe,Iogon:Rpe,iogon:Epe,Iopf:$pe,iopf:Ape,Iota:Ipe,iota:Ope,iprod:Mpe,iquest:zpe,iscr:Dpe,Iscr:Lpe,isin:Fpe,isindot:Bpe,isinE:Npe,isins:Hpe,isinsv:jpe,isinv:Vpe,it:Wpe,Itilde:Upe,itilde:qpe,Iukcy:Kpe,iukcy:Gpe,Iuml:Ype,iuml:Xpe,Jcirc:Zpe,jcirc:Jpe,Jcy:Qpe,jcy:eme,Jfr:tme,jfr:nme,jmath:ome,Jopf:rme,jopf:ime,Jscr:ame,jscr:sme,Jsercy:lme,jsercy:cme,Jukcy:ume,jukcy:dme,Kappa:fme,kappa:hme,kappav:pme,Kcedil:mme,kcedil:gme,Kcy:vme,kcy:bme,Kfr:yme,kfr:xme,kgreen:Cme,KHcy:wme,khcy:_me,KJcy:Sme,kjcy:kme,Kopf:Pme,kopf:Tme,Kscr:Rme,kscr:Eme,lAarr:$me,Lacute:Ame,lacute:Ime,laemptyv:Ome,lagran:Mme,Lambda:zme,lambda:Dme,lang:Lme,Lang:Fme,langd:Bme,langle:Nme,lap:Hme,Laplacetrf:jme,laquo:Vme,larrb:Wme,larrbfs:Ume,larr:qme,Larr:Kme,lArr:Gme,larrfs:Yme,larrhk:Xme,larrlp:Zme,larrpl:Jme,larrsim:Qme,larrtl:ege,latail:tge,lAtail:nge,lat:oge,late:rge,lates:ige,lbarr:age,lBarr:sge,lbbrk:lge,lbrace:cge,lbrack:uge,lbrke:dge,lbrksld:fge,lbrkslu:hge,Lcaron:pge,lcaron:mge,Lcedil:gge,lcedil:vge,lceil:bge,lcub:yge,Lcy:xge,lcy:Cge,ldca:wge,ldquo:_ge,ldquor:Sge,ldrdhar:kge,ldrushar:Pge,ldsh:Tge,le:Rge,lE:Ege,LeftAngleBracket:$ge,LeftArrowBar:Age,leftarrow:Ige,LeftArrow:Oge,Leftarrow:Mge,LeftArrowRightArrow:zge,leftarrowtail:Dge,LeftCeiling:Lge,LeftDoubleBracket:Fge,LeftDownTeeVector:Bge,LeftDownVectorBar:Nge,LeftDownVector:Hge,LeftFloor:jge,leftharpoondown:Vge,leftharpoonup:Wge,leftleftarrows:Uge,leftrightarrow:qge,LeftRightArrow:Kge,Leftrightarrow:Gge,leftrightarrows:Yge,leftrightharpoons:Xge,leftrightsquigarrow:Zge,LeftRightVector:Jge,LeftTeeArrow:Qge,LeftTee:eve,LeftTeeVector:tve,leftthreetimes:nve,LeftTriangleBar:ove,LeftTriangle:rve,LeftTriangleEqual:ive,LeftUpDownVector:ave,LeftUpTeeVector:sve,LeftUpVectorBar:lve,LeftUpVector:cve,LeftVectorBar:uve,LeftVector:dve,lEg:fve,leg:hve,leq:pve,leqq:mve,leqslant:gve,lescc:vve,les:bve,lesdot:yve,lesdoto:xve,lesdotor:Cve,lesg:wve,lesges:_ve,lessapprox:Sve,lessdot:kve,lesseqgtr:Pve,lesseqqgtr:Tve,LessEqualGreater:Rve,LessFullEqual:Eve,LessGreater:$ve,lessgtr:Ave,LessLess:Ive,lesssim:Ove,LessSlantEqual:Mve,LessTilde:zve,lfisht:Dve,lfloor:Lve,Lfr:Fve,lfr:Bve,lg:Nve,lgE:Hve,lHar:jve,lhard:Vve,lharu:Wve,lharul:Uve,lhblk:qve,LJcy:Kve,ljcy:Gve,llarr:Yve,ll:Xve,Ll:Zve,llcorner:Jve,Lleftarrow:Qve,llhard:ebe,lltri:tbe,Lmidot:nbe,lmidot:obe,lmoustache:rbe,lmoust:ibe,lnap:abe,lnapprox:sbe,lne:lbe,lnE:cbe,lneq:ube,lneqq:dbe,lnsim:fbe,loang:hbe,loarr:pbe,lobrk:mbe,longleftarrow:gbe,LongLeftArrow:vbe,Longleftarrow:bbe,longleftrightarrow:ybe,LongLeftRightArrow:xbe,Longleftrightarrow:Cbe,longmapsto:wbe,longrightarrow:_be,LongRightArrow:Sbe,Longrightarrow:kbe,looparrowleft:Pbe,looparrowright:Tbe,lopar:Rbe,Lopf:Ebe,lopf:$be,loplus:Abe,lotimes:Ibe,lowast:Obe,lowbar:Mbe,LowerLeftArrow:zbe,LowerRightArrow:Dbe,loz:Lbe,lozenge:Fbe,lozf:Bbe,lpar:Nbe,lparlt:Hbe,lrarr:jbe,lrcorner:Vbe,lrhar:Wbe,lrhard:Ube,lrm:qbe,lrtri:Kbe,lsaquo:Gbe,lscr:Ybe,Lscr:Xbe,lsh:Zbe,Lsh:Jbe,lsim:Qbe,lsime:e0e,lsimg:t0e,lsqb:n0e,lsquo:o0e,lsquor:r0e,Lstrok:i0e,lstrok:a0e,ltcc:s0e,ltcir:l0e,lt:c0e,LT:u0e,Lt:d0e,ltdot:f0e,lthree:h0e,ltimes:p0e,ltlarr:m0e,ltquest:g0e,ltri:v0e,ltrie:b0e,ltrif:y0e,ltrPar:x0e,lurdshar:C0e,luruhar:w0e,lvertneqq:_0e,lvnE:S0e,macr:k0e,male:P0e,malt:T0e,maltese:R0e,Map:"⤅",map:E0e,mapsto:$0e,mapstodown:A0e,mapstoleft:I0e,mapstoup:O0e,marker:M0e,mcomma:z0e,Mcy:D0e,mcy:L0e,mdash:F0e,mDDot:B0e,measuredangle:N0e,MediumSpace:H0e,Mellintrf:j0e,Mfr:V0e,mfr:W0e,mho:U0e,micro:q0e,midast:K0e,midcir:G0e,mid:Y0e,middot:X0e,minusb:Z0e,minus:J0e,minusd:Q0e,minusdu:e1e,MinusPlus:t1e,mlcp:n1e,mldr:o1e,mnplus:r1e,models:i1e,Mopf:a1e,mopf:s1e,mp:l1e,mscr:c1e,Mscr:u1e,mstpos:d1e,Mu:f1e,mu:h1e,multimap:p1e,mumap:m1e,nabla:g1e,Nacute:v1e,nacute:b1e,nang:y1e,nap:x1e,napE:C1e,napid:w1e,napos:_1e,napprox:S1e,natural:k1e,naturals:P1e,natur:T1e,nbsp:R1e,nbump:E1e,nbumpe:$1e,ncap:A1e,Ncaron:I1e,ncaron:O1e,Ncedil:M1e,ncedil:z1e,ncong:D1e,ncongdot:L1e,ncup:F1e,Ncy:B1e,ncy:N1e,ndash:H1e,nearhk:j1e,nearr:V1e,neArr:W1e,nearrow:U1e,ne:q1e,nedot:K1e,NegativeMediumSpace:G1e,NegativeThickSpace:Y1e,NegativeThinSpace:X1e,NegativeVeryThinSpace:Z1e,nequiv:J1e,nesear:Q1e,nesim:eye,NestedGreaterGreater:tye,NestedLessLess:nye,NewLine:oye,nexist:rye,nexists:iye,Nfr:aye,nfr:sye,ngE:lye,nge:cye,ngeq:uye,ngeqq:dye,ngeqslant:fye,nges:hye,nGg:pye,ngsim:mye,nGt:gye,ngt:vye,ngtr:bye,nGtv:yye,nharr:xye,nhArr:Cye,nhpar:wye,ni:_ye,nis:Sye,nisd:kye,niv:Pye,NJcy:Tye,njcy:Rye,nlarr:Eye,nlArr:$ye,nldr:Aye,nlE:Iye,nle:Oye,nleftarrow:Mye,nLeftarrow:zye,nleftrightarrow:Dye,nLeftrightarrow:Lye,nleq:Fye,nleqq:Bye,nleqslant:Nye,nles:Hye,nless:jye,nLl:Vye,nlsim:Wye,nLt:Uye,nlt:qye,nltri:Kye,nltrie:Gye,nLtv:Yye,nmid:Xye,NoBreak:Zye,NonBreakingSpace:Jye,nopf:Qye,Nopf:exe,Not:txe,not:nxe,NotCongruent:oxe,NotCupCap:rxe,NotDoubleVerticalBar:ixe,NotElement:axe,NotEqual:sxe,NotEqualTilde:lxe,NotExists:cxe,NotGreater:uxe,NotGreaterEqual:dxe,NotGreaterFullEqual:fxe,NotGreaterGreater:hxe,NotGreaterLess:pxe,NotGreaterSlantEqual:mxe,NotGreaterTilde:gxe,NotHumpDownHump:vxe,NotHumpEqual:bxe,notin:yxe,notindot:xxe,notinE:Cxe,notinva:wxe,notinvb:_xe,notinvc:Sxe,NotLeftTriangleBar:kxe,NotLeftTriangle:Pxe,NotLeftTriangleEqual:Txe,NotLess:Rxe,NotLessEqual:Exe,NotLessGreater:$xe,NotLessLess:Axe,NotLessSlantEqual:Ixe,NotLessTilde:Oxe,NotNestedGreaterGreater:Mxe,NotNestedLessLess:zxe,notni:Dxe,notniva:Lxe,notnivb:Fxe,notnivc:Bxe,NotPrecedes:Nxe,NotPrecedesEqual:Hxe,NotPrecedesSlantEqual:jxe,NotReverseElement:Vxe,NotRightTriangleBar:Wxe,NotRightTriangle:Uxe,NotRightTriangleEqual:qxe,NotSquareSubset:Kxe,NotSquareSubsetEqual:Gxe,NotSquareSuperset:Yxe,NotSquareSupersetEqual:Xxe,NotSubset:Zxe,NotSubsetEqual:Jxe,NotSucceeds:Qxe,NotSucceedsEqual:eCe,NotSucceedsSlantEqual:tCe,NotSucceedsTilde:nCe,NotSuperset:oCe,NotSupersetEqual:rCe,NotTilde:iCe,NotTildeEqual:aCe,NotTildeFullEqual:sCe,NotTildeTilde:lCe,NotVerticalBar:cCe,nparallel:uCe,npar:dCe,nparsl:fCe,npart:hCe,npolint:pCe,npr:mCe,nprcue:gCe,nprec:vCe,npreceq:bCe,npre:yCe,nrarrc:xCe,nrarr:CCe,nrArr:wCe,nrarrw:_Ce,nrightarrow:SCe,nRightarrow:kCe,nrtri:PCe,nrtrie:TCe,nsc:RCe,nsccue:ECe,nsce:$Ce,Nscr:ACe,nscr:ICe,nshortmid:OCe,nshortparallel:MCe,nsim:zCe,nsime:DCe,nsimeq:LCe,nsmid:FCe,nspar:BCe,nsqsube:NCe,nsqsupe:HCe,nsub:jCe,nsubE:VCe,nsube:WCe,nsubset:UCe,nsubseteq:qCe,nsubseteqq:KCe,nsucc:GCe,nsucceq:YCe,nsup:XCe,nsupE:ZCe,nsupe:JCe,nsupset:QCe,nsupseteq:ewe,nsupseteqq:twe,ntgl:nwe,Ntilde:owe,ntilde:rwe,ntlg:iwe,ntriangleleft:awe,ntrianglelefteq:swe,ntriangleright:lwe,ntrianglerighteq:cwe,Nu:uwe,nu:dwe,num:fwe,numero:hwe,numsp:pwe,nvap:mwe,nvdash:gwe,nvDash:vwe,nVdash:bwe,nVDash:ywe,nvge:xwe,nvgt:Cwe,nvHarr:wwe,nvinfin:_we,nvlArr:Swe,nvle:kwe,nvlt:Pwe,nvltrie:Twe,nvrArr:Rwe,nvrtrie:Ewe,nvsim:$we,nwarhk:Awe,nwarr:Iwe,nwArr:Owe,nwarrow:Mwe,nwnear:zwe,Oacute:Dwe,oacute:Lwe,oast:Fwe,Ocirc:Bwe,ocirc:Nwe,ocir:Hwe,Ocy:jwe,ocy:Vwe,odash:Wwe,Odblac:Uwe,odblac:qwe,odiv:Kwe,odot:Gwe,odsold:Ywe,OElig:Xwe,oelig:Zwe,ofcir:Jwe,Ofr:Qwe,ofr:e_e,ogon:t_e,Ograve:n_e,ograve:o_e,ogt:r_e,ohbar:i_e,ohm:a_e,oint:s_e,olarr:l_e,olcir:c_e,olcross:u_e,oline:d_e,olt:f_e,Omacr:h_e,omacr:p_e,Omega:m_e,omega:g_e,Omicron:v_e,omicron:b_e,omid:y_e,ominus:x_e,Oopf:C_e,oopf:w_e,opar:__e,OpenCurlyDoubleQuote:S_e,OpenCurlyQuote:k_e,operp:P_e,oplus:T_e,orarr:R_e,Or:E_e,or:$_e,ord:A_e,order:I_e,orderof:O_e,ordf:M_e,ordm:z_e,origof:D_e,oror:L_e,orslope:F_e,orv:B_e,oS:N_e,Oscr:H_e,oscr:j_e,Oslash:V_e,oslash:W_e,osol:U_e,Otilde:q_e,otilde:K_e,otimesas:G_e,Otimes:Y_e,otimes:X_e,Ouml:Z_e,ouml:J_e,ovbar:Q_e,OverBar:e2e,OverBrace:t2e,OverBracket:n2e,OverParenthesis:o2e,para:r2e,parallel:i2e,par:a2e,parsim:s2e,parsl:l2e,part:c2e,PartialD:u2e,Pcy:d2e,pcy:f2e,percnt:h2e,period:p2e,permil:m2e,perp:g2e,pertenk:v2e,Pfr:b2e,pfr:y2e,Phi:x2e,phi:C2e,phiv:w2e,phmmat:_2e,phone:S2e,Pi:k2e,pi:P2e,pitchfork:T2e,piv:R2e,planck:E2e,planckh:$2e,plankv:A2e,plusacir:I2e,plusb:O2e,pluscir:M2e,plus:z2e,plusdo:D2e,plusdu:L2e,pluse:F2e,PlusMinus:B2e,plusmn:N2e,plussim:H2e,plustwo:j2e,pm:V2e,Poincareplane:W2e,pointint:U2e,popf:q2e,Popf:K2e,pound:G2e,prap:Y2e,Pr:X2e,pr:Z2e,prcue:J2e,precapprox:Q2e,prec:eSe,preccurlyeq:tSe,Precedes:nSe,PrecedesEqual:oSe,PrecedesSlantEqual:rSe,PrecedesTilde:iSe,preceq:aSe,precnapprox:sSe,precneqq:lSe,precnsim:cSe,pre:uSe,prE:dSe,precsim:fSe,prime:hSe,Prime:pSe,primes:mSe,prnap:gSe,prnE:vSe,prnsim:bSe,prod:ySe,Product:xSe,profalar:CSe,profline:wSe,profsurf:_Se,prop:SSe,Proportional:kSe,Proportion:PSe,propto:TSe,prsim:RSe,prurel:ESe,Pscr:$Se,pscr:ASe,Psi:ISe,psi:OSe,puncsp:MSe,Qfr:zSe,qfr:DSe,qint:LSe,qopf:FSe,Qopf:BSe,qprime:NSe,Qscr:HSe,qscr:jSe,quaternions:VSe,quatint:WSe,quest:USe,questeq:qSe,quot:KSe,QUOT:GSe,rAarr:YSe,race:XSe,Racute:ZSe,racute:JSe,radic:QSe,raemptyv:eke,rang:tke,Rang:nke,rangd:oke,range:rke,rangle:ike,raquo:ake,rarrap:ske,rarrb:lke,rarrbfs:cke,rarrc:uke,rarr:dke,Rarr:fke,rArr:hke,rarrfs:pke,rarrhk:mke,rarrlp:gke,rarrpl:vke,rarrsim:bke,Rarrtl:yke,rarrtl:xke,rarrw:Cke,ratail:wke,rAtail:_ke,ratio:Ske,rationals:kke,rbarr:Pke,rBarr:Tke,RBarr:Rke,rbbrk:Eke,rbrace:$ke,rbrack:Ake,rbrke:Ike,rbrksld:Oke,rbrkslu:Mke,Rcaron:zke,rcaron:Dke,Rcedil:Lke,rcedil:Fke,rceil:Bke,rcub:Nke,Rcy:Hke,rcy:jke,rdca:Vke,rdldhar:Wke,rdquo:Uke,rdquor:qke,rdsh:Kke,real:Gke,realine:Yke,realpart:Xke,reals:Zke,Re:Jke,rect:Qke,reg:e3e,REG:t3e,ReverseElement:n3e,ReverseEquilibrium:o3e,ReverseUpEquilibrium:r3e,rfisht:i3e,rfloor:a3e,rfr:s3e,Rfr:l3e,rHar:c3e,rhard:u3e,rharu:d3e,rharul:f3e,Rho:h3e,rho:p3e,rhov:m3e,RightAngleBracket:g3e,RightArrowBar:v3e,rightarrow:b3e,RightArrow:y3e,Rightarrow:x3e,RightArrowLeftArrow:C3e,rightarrowtail:w3e,RightCeiling:_3e,RightDoubleBracket:S3e,RightDownTeeVector:k3e,RightDownVectorBar:P3e,RightDownVector:T3e,RightFloor:R3e,rightharpoondown:E3e,rightharpoonup:$3e,rightleftarrows:A3e,rightleftharpoons:I3e,rightrightarrows:O3e,rightsquigarrow:M3e,RightTeeArrow:z3e,RightTee:D3e,RightTeeVector:L3e,rightthreetimes:F3e,RightTriangleBar:B3e,RightTriangle:N3e,RightTriangleEqual:H3e,RightUpDownVector:j3e,RightUpTeeVector:V3e,RightUpVectorBar:W3e,RightUpVector:U3e,RightVectorBar:q3e,RightVector:K3e,ring:G3e,risingdotseq:Y3e,rlarr:X3e,rlhar:Z3e,rlm:J3e,rmoustache:Q3e,rmoust:e4e,rnmid:t4e,roang:n4e,roarr:o4e,robrk:r4e,ropar:i4e,ropf:a4e,Ropf:s4e,roplus:l4e,rotimes:c4e,RoundImplies:u4e,rpar:d4e,rpargt:f4e,rppolint:h4e,rrarr:p4e,Rrightarrow:m4e,rsaquo:g4e,rscr:v4e,Rscr:b4e,rsh:y4e,Rsh:x4e,rsqb:C4e,rsquo:w4e,rsquor:_4e,rthree:S4e,rtimes:k4e,rtri:P4e,rtrie:T4e,rtrif:R4e,rtriltri:E4e,RuleDelayed:$4e,ruluhar:A4e,rx:I4e,Sacute:O4e,sacute:M4e,sbquo:z4e,scap:D4e,Scaron:L4e,scaron:F4e,Sc:B4e,sc:N4e,sccue:H4e,sce:j4e,scE:V4e,Scedil:W4e,scedil:U4e,Scirc:q4e,scirc:K4e,scnap:G4e,scnE:Y4e,scnsim:X4e,scpolint:Z4e,scsim:J4e,Scy:Q4e,scy:ePe,sdotb:tPe,sdot:nPe,sdote:oPe,searhk:rPe,searr:iPe,seArr:aPe,searrow:sPe,sect:lPe,semi:cPe,seswar:uPe,setminus:dPe,setmn:fPe,sext:hPe,Sfr:pPe,sfr:mPe,sfrown:gPe,sharp:vPe,SHCHcy:bPe,shchcy:yPe,SHcy:xPe,shcy:CPe,ShortDownArrow:wPe,ShortLeftArrow:_Pe,shortmid:SPe,shortparallel:kPe,ShortRightArrow:PPe,ShortUpArrow:TPe,shy:RPe,Sigma:EPe,sigma:$Pe,sigmaf:APe,sigmav:IPe,sim:OPe,simdot:MPe,sime:zPe,simeq:DPe,simg:LPe,simgE:FPe,siml:BPe,simlE:NPe,simne:HPe,simplus:jPe,simrarr:VPe,slarr:WPe,SmallCircle:UPe,smallsetminus:qPe,smashp:KPe,smeparsl:GPe,smid:YPe,smile:XPe,smt:ZPe,smte:JPe,smtes:QPe,SOFTcy:eTe,softcy:tTe,solbar:nTe,solb:oTe,sol:rTe,Sopf:iTe,sopf:aTe,spades:sTe,spadesuit:lTe,spar:cTe,sqcap:uTe,sqcaps:dTe,sqcup:fTe,sqcups:hTe,Sqrt:pTe,sqsub:mTe,sqsube:gTe,sqsubset:vTe,sqsubseteq:bTe,sqsup:yTe,sqsupe:xTe,sqsupset:CTe,sqsupseteq:wTe,square:_Te,Square:STe,SquareIntersection:kTe,SquareSubset:PTe,SquareSubsetEqual:TTe,SquareSuperset:RTe,SquareSupersetEqual:ETe,SquareUnion:$Te,squarf:ATe,squ:ITe,squf:OTe,srarr:MTe,Sscr:zTe,sscr:DTe,ssetmn:LTe,ssmile:FTe,sstarf:BTe,Star:NTe,star:HTe,starf:jTe,straightepsilon:VTe,straightphi:WTe,strns:UTe,sub:qTe,Sub:KTe,subdot:GTe,subE:YTe,sube:XTe,subedot:ZTe,submult:JTe,subnE:QTe,subne:e5e,subplus:t5e,subrarr:n5e,subset:o5e,Subset:r5e,subseteq:i5e,subseteqq:a5e,SubsetEqual:s5e,subsetneq:l5e,subsetneqq:c5e,subsim:u5e,subsub:d5e,subsup:f5e,succapprox:h5e,succ:p5e,succcurlyeq:m5e,Succeeds:g5e,SucceedsEqual:v5e,SucceedsSlantEqual:b5e,SucceedsTilde:y5e,succeq:x5e,succnapprox:C5e,succneqq:w5e,succnsim:_5e,succsim:S5e,SuchThat:k5e,sum:P5e,Sum:T5e,sung:R5e,sup1:E5e,sup2:$5e,sup3:A5e,sup:I5e,Sup:O5e,supdot:M5e,supdsub:z5e,supE:D5e,supe:L5e,supedot:F5e,Superset:B5e,SupersetEqual:N5e,suphsol:H5e,suphsub:j5e,suplarr:V5e,supmult:W5e,supnE:U5e,supne:q5e,supplus:K5e,supset:G5e,Supset:Y5e,supseteq:X5e,supseteqq:Z5e,supsetneq:J5e,supsetneqq:Q5e,supsim:eRe,supsub:tRe,supsup:nRe,swarhk:oRe,swarr:rRe,swArr:iRe,swarrow:aRe,swnwar:sRe,szlig:lRe,Tab:cRe,target:uRe,Tau:dRe,tau:fRe,tbrk:hRe,Tcaron:pRe,tcaron:mRe,Tcedil:gRe,tcedil:vRe,Tcy:bRe,tcy:yRe,tdot:xRe,telrec:CRe,Tfr:wRe,tfr:_Re,there4:SRe,therefore:kRe,Therefore:PRe,Theta:TRe,theta:RRe,thetasym:ERe,thetav:$Re,thickapprox:ARe,thicksim:IRe,ThickSpace:ORe,ThinSpace:MRe,thinsp:zRe,thkap:DRe,thksim:LRe,THORN:FRe,thorn:BRe,tilde:NRe,Tilde:HRe,TildeEqual:jRe,TildeFullEqual:VRe,TildeTilde:WRe,timesbar:URe,timesb:qRe,times:KRe,timesd:GRe,tint:YRe,toea:XRe,topbot:ZRe,topcir:JRe,top:QRe,Topf:eEe,topf:tEe,topfork:nEe,tosa:oEe,tprime:rEe,trade:iEe,TRADE:aEe,triangle:sEe,triangledown:lEe,triangleleft:cEe,trianglelefteq:uEe,triangleq:dEe,triangleright:fEe,trianglerighteq:hEe,tridot:pEe,trie:mEe,triminus:gEe,TripleDot:vEe,triplus:bEe,trisb:yEe,tritime:xEe,trpezium:CEe,Tscr:wEe,tscr:_Ee,TScy:SEe,tscy:kEe,TSHcy:PEe,tshcy:TEe,Tstrok:REe,tstrok:EEe,twixt:$Ee,twoheadleftarrow:AEe,twoheadrightarrow:IEe,Uacute:OEe,uacute:MEe,uarr:zEe,Uarr:DEe,uArr:LEe,Uarrocir:FEe,Ubrcy:BEe,ubrcy:NEe,Ubreve:HEe,ubreve:jEe,Ucirc:VEe,ucirc:WEe,Ucy:UEe,ucy:qEe,udarr:KEe,Udblac:GEe,udblac:YEe,udhar:XEe,ufisht:ZEe,Ufr:JEe,ufr:QEe,Ugrave:e$e,ugrave:t$e,uHar:n$e,uharl:o$e,uharr:r$e,uhblk:i$e,ulcorn:a$e,ulcorner:s$e,ulcrop:l$e,ultri:c$e,Umacr:u$e,umacr:d$e,uml:f$e,UnderBar:h$e,UnderBrace:p$e,UnderBracket:m$e,UnderParenthesis:g$e,Union:v$e,UnionPlus:b$e,Uogon:y$e,uogon:x$e,Uopf:C$e,uopf:w$e,UpArrowBar:_$e,uparrow:S$e,UpArrow:k$e,Uparrow:P$e,UpArrowDownArrow:T$e,updownarrow:R$e,UpDownArrow:E$e,Updownarrow:$$e,UpEquilibrium:A$e,upharpoonleft:I$e,upharpoonright:O$e,uplus:M$e,UpperLeftArrow:z$e,UpperRightArrow:D$e,upsi:L$e,Upsi:F$e,upsih:B$e,Upsilon:N$e,upsilon:H$e,UpTeeArrow:j$e,UpTee:V$e,upuparrows:W$e,urcorn:U$e,urcorner:q$e,urcrop:K$e,Uring:G$e,uring:Y$e,urtri:X$e,Uscr:Z$e,uscr:J$e,utdot:Q$e,Utilde:eAe,utilde:tAe,utri:nAe,utrif:oAe,uuarr:rAe,Uuml:iAe,uuml:aAe,uwangle:sAe,vangrt:lAe,varepsilon:cAe,varkappa:uAe,varnothing:dAe,varphi:fAe,varpi:hAe,varpropto:pAe,varr:mAe,vArr:gAe,varrho:vAe,varsigma:bAe,varsubsetneq:yAe,varsubsetneqq:xAe,varsupsetneq:CAe,varsupsetneqq:wAe,vartheta:_Ae,vartriangleleft:SAe,vartriangleright:kAe,vBar:PAe,Vbar:TAe,vBarv:RAe,Vcy:EAe,vcy:$Ae,vdash:AAe,vDash:IAe,Vdash:OAe,VDash:MAe,Vdashl:zAe,veebar:DAe,vee:LAe,Vee:FAe,veeeq:BAe,vellip:NAe,verbar:HAe,Verbar:jAe,vert:VAe,Vert:WAe,VerticalBar:UAe,VerticalLine:qAe,VerticalSeparator:KAe,VerticalTilde:GAe,VeryThinSpace:YAe,Vfr:XAe,vfr:ZAe,vltri:JAe,vnsub:QAe,vnsup:e6e,Vopf:t6e,vopf:n6e,vprop:o6e,vrtri:r6e,Vscr:i6e,vscr:a6e,vsubnE:s6e,vsubne:l6e,vsupnE:c6e,vsupne:u6e,Vvdash:d6e,vzigzag:f6e,Wcirc:h6e,wcirc:p6e,wedbar:m6e,wedge:g6e,Wedge:v6e,wedgeq:b6e,weierp:y6e,Wfr:x6e,wfr:C6e,Wopf:w6e,wopf:_6e,wp:S6e,wr:k6e,wreath:P6e,Wscr:T6e,wscr:R6e,xcap:E6e,xcirc:$6e,xcup:A6e,xdtri:I6e,Xfr:O6e,xfr:M6e,xharr:z6e,xhArr:D6e,Xi:L6e,xi:F6e,xlarr:B6e,xlArr:N6e,xmap:H6e,xnis:j6e,xodot:V6e,Xopf:W6e,xopf:U6e,xoplus:q6e,xotime:K6e,xrarr:G6e,xrArr:Y6e,Xscr:X6e,xscr:Z6e,xsqcup:J6e,xuplus:Q6e,xutri:e8e,xvee:t8e,xwedge:n8e,Yacute:o8e,yacute:r8e,YAcy:i8e,yacy:a8e,Ycirc:s8e,ycirc:l8e,Ycy:c8e,ycy:u8e,yen:d8e,Yfr:f8e,yfr:h8e,YIcy:p8e,yicy:m8e,Yopf:g8e,yopf:v8e,Yscr:b8e,yscr:y8e,YUcy:x8e,yucy:C8e,yuml:w8e,Yuml:_8e,Zacute:S8e,zacute:k8e,Zcaron:P8e,zcaron:T8e,Zcy:R8e,zcy:E8e,Zdot:$8e,zdot:A8e,zeetrf:I8e,ZeroWidthSpace:O8e,Zeta:M8e,zeta:z8e,zfr:D8e,Zfr:L8e,ZHcy:F8e,zhcy:B8e,zigrarr:N8e,zopf:H8e,Zopf:j8e,Zscr:V8e,zscr:W8e,zwj:U8e,zwnj:q8e};var HS=K8e,Rm=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Va={},a1={};function G8e(e){var t,n,o=a1[e];if(o)return o;for(o=a1[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?o.push(n):o.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t"u"&&(n=!0),s=G8e(t),o=0,r=e.length;o=55296&&i<=57343){if(i>=55296&&i<=56319&&o+1=56320&&a<=57343)){l+=encodeURIComponent(e[o]+e[o+1]),o++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(e[o])}return l}Vu.defaultChars=";/?:@&=+$,-_.!~*'()#";Vu.componentChars="-_.!~*'()";var Y8e=Vu,s1={};function X8e(e){var t,n,o=s1[e];if(o)return o;for(o=s1[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),o.push(n);for(t=0;t=55296&&u<=57343?d+="���":d+=String.fromCharCode(u),r+=6;continue}if((a&248)===240&&r+91114111?d+="����":(u-=65536,d+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),r+=9;continue}d+="�"}return d})}Wu.defaultChars=";/?:@&=+$,#";Wu.componentChars="";var Z8e=Wu,J8e=function(t){var n="";return n+=t.protocol||"",n+=t.slashes?"//":"",n+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?n+="["+t.hostname+"]":n+=t.hostname||"",n+=t.port?":"+t.port:"",n+=t.pathname||"",n+=t.search||"",n+=t.hash||"",n};function Fc(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var Q8e=/^([a-z0-9.+-]+:)/i,eIe=/:[0-9]*$/,tIe=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,nIe=["<",">",'"',"`"," ","\r",` -`," "],oIe=["{","}","|","\\","^","`"].concat(nIe),rIe=["'"].concat(oIe),l1=["%","/","?",";","#"].concat(rIe),c1=["/","?","#"],iIe=255,u1=/^[+a-z0-9A-Z_-]{0,63}$/,aIe=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d1={javascript:!0,"javascript:":!0},f1={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function sIe(e,t){if(e&&e instanceof Fc)return e;var n=new Fc;return n.parse(e,t),n}Fc.prototype.parse=function(e,t){var n,o,r,i,a,s=e;if(s=s.trim(),!t&&e.split("#").length===1){var l=tIe.exec(s);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=Q8e.exec(s);if(c&&(c=c[0],r=c.toLowerCase(),this.protocol=c,s=s.substr(c.length)),(t||c||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(a=s.substr(0,2)==="//",a&&!(c&&d1[c])&&(s=s.substr(2),this.slashes=!0)),!d1[c]&&(a||c&&!f1[c])){var u=-1;for(n=0;n127?b+="x":b+=v[w];if(!b.match(u1)){var S=m.slice(0,n),_=m.slice(n+1),x=v.match(aIe);x&&(S.push(x[1]),_.unshift(x[2])),_.length&&(s=_.join(".")+s),this.hostname=S.join(".");break}}}}this.hostname.length>iIe&&(this.hostname=""),h&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var y=s.indexOf("#");y!==-1&&(this.hash=s.substr(y),s=s.slice(0,y));var k=s.indexOf("?");return k!==-1&&(this.search=s.substr(k),s=s.slice(0,k)),s&&(this.pathname=s),f1[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Fc.prototype.parseHost=function(e){var t=eIe.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var lIe=sIe;Va.encode=Y8e;Va.decode=Z8e;Va.format=J8e;Va.parse=lIe;var li={},ef,h1;function jS(){return h1||(h1=1,ef=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),ef}var tf,p1;function VS(){return p1||(p1=1,tf=/[\0-\x1F\x7F-\x9F]/),tf}var nf,m1;function cIe(){return m1||(m1=1,nf=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),nf}var of,g1;function WS(){return g1||(g1=1,of=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),of}var v1;function uIe(){return v1||(v1=1,li.Any=jS(),li.Cc=VS(),li.Cf=cIe(),li.P=Rm,li.Z=WS()),li}(function(e){function t(j){return Object.prototype.toString.call(j)}function n(j){return t(j)==="[object String]"}var o=Object.prototype.hasOwnProperty;function r(j,D){return o.call(j,D)}function i(j){var D=Array.prototype.slice.call(arguments,1);return D.forEach(function(M){if(M){if(typeof M!="object")throw new TypeError(M+"must be object");Object.keys(M).forEach(function(Y){j[Y]=M[Y]})}}),j}function a(j,D,M){return[].concat(j.slice(0,D),M,j.slice(D+1))}function s(j){return!(j>=55296&&j<=57343||j>=64976&&j<=65007||(j&65535)===65535||(j&65535)===65534||j>=0&&j<=8||j===11||j>=14&&j<=31||j>=127&&j<=159||j>1114111)}function l(j){if(j>65535){j-=65536;var D=55296+(j>>10),M=56320+(j&1023);return String.fromCharCode(D,M)}return String.fromCharCode(j)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,d=new RegExp(c.source+"|"+u.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,p=HS;function h(j,D){var M;return r(p,D)?p[D]:D.charCodeAt(0)===35&&f.test(D)&&(M=D[1].toLowerCase()==="x"?parseInt(D.slice(2),16):parseInt(D.slice(1),10),s(M))?l(M):j}function m(j){return j.indexOf("\\")<0?j:j.replace(c,"$1")}function v(j){return j.indexOf("\\")<0&&j.indexOf("&")<0?j:j.replace(d,function(D,M,Y){return M||h(D,Y)})}var b=/[&<>"]/,w=/[&<>"]/g,C={"&":"&","<":"<",">":">",'"':"""};function S(j){return C[j]}function _(j){return b.test(j)?j.replace(w,S):j}var x=/[.?*+^$[\]\\(){}|-]/g;function y(j){return j.replace(x,"\\$&")}function k(j){switch(j){case 9:case 32:return!0}return!1}function P(j){if(j>=8192&&j<=8202)return!0;switch(j){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var T=Rm;function $(j){return T.test(j)}function R(j){switch(j){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function K(j){return j=j.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(j=j.replace(/ẞ/g,"ß")),j.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=Va,e.lib.ucmicro=uIe(),e.assign=i,e.isString=n,e.has=r,e.unescapeMd=m,e.unescapeAll=v,e.isValidEntityCode=s,e.fromCodePoint=l,e.escapeHtml=_,e.arrayReplaceAt=a,e.isSpace=k,e.isWhiteSpace=P,e.isMdAsciiPunct=R,e.isPunctChar=$,e.escapeRE=y,e.normalizeReference=K})(Ft);var Uu={},dIe=function(t,n,o){var r,i,a,s,l=-1,c=t.posMax,u=t.pos;for(t.pos=n+1,r=1;t.pos32))return s;if(r===41){if(i===0)break;i--}a++}return n===a||i!==0||(s.str=b1(t.slice(n,a)),s.pos=a,s.ok=!0),s},hIe=Ft.unescapeAll,pIe=function(t,n,o){var r,i,a=0,s=n,l={ok:!1,pos:0,lines:0,str:""};if(s>=o||(i=t.charCodeAt(s),i!==34&&i!==39&&i!==40))return l;for(s++,i===40&&(i=41);s"+Ei(i.content)+""};qo.code_block=function(e,t,n,o,r){var i=e[t];return""+Ei(e[t].content)+` -`};qo.fence=function(e,t,n,o,r){var i=e[t],a=i.info?gIe(i.info).trim():"",s="",l="",c,u,d,f,p;return a&&(d=a.split(/(\s+)/g),s=d[0],l=d.slice(2).join("")),n.highlight?c=n.highlight(i.content,s,l)||Ei(i.content):c=Ei(i.content),c.indexOf(""+c+` + `)])]),PZ=Object.assign(Object.assign({},Be.props),{size:{type:String,default:"medium"},value:{type:[String,Number,Boolean],default:void 0},loading:Boolean,defaultValue:{type:[String,Number,Boolean],default:!1},disabled:{type:Boolean,default:void 0},round:{type:Boolean,default:!0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},railStyle:Function,rubberBand:{type:Boolean,default:!0},onChange:[Function,Array]});let ds;const TZ=be({name:"Switch",props:PZ,setup(e){ds===void 0&&(typeof CSS<"u"?typeof CSS.supports<"u"?ds=CSS.supports("width","max(1px)"):ds=!1:ds=!0);const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Switch","-switch",kZ,QG,e,t),r=pr(e),{mergedSizeRef:i,mergedDisabledRef:a}=r,s=W(e.defaultValue),l=We(e,"value"),c=an(l,s),u=F(()=>c.value===e.checkedValue),d=W(!1),f=W(!1),h=F(()=>{const{railStyle:P}=e;if(P)return P({focused:f.value,checked:u.value})});function p(P){const{"onUpdate:value":k,onChange:T,onUpdateValue:E}=e,{nTriggerFormInput:R,nTriggerFormChange:K}=r;k&&$e(k,P),E&&$e(E,P),T&&$e(T,P),s.value=P,R(),K()}function g(){const{nTriggerFormFocus:P}=r;P()}function m(){const{nTriggerFormBlur:P}=r;P()}function b(){e.loading||a.value||(c.value!==e.checkedValue?p(e.checkedValue):p(e.uncheckedValue))}function _(){f.value=!0,g()}function C(){f.value=!1,m(),d.value=!1}function S(P){e.loading||a.value||P.key===" "&&(c.value!==e.checkedValue?p(e.checkedValue):p(e.uncheckedValue),d.value=!1)}function w(P){e.loading||a.value||P.key===" "&&(P.preventDefault(),d.value=!0)}const x=F(()=>{const{value:P}=i,{self:{opacityDisabled:k,railColor:T,railColorActive:E,buttonBoxShadow:R,buttonColor:K,boxShadowFocus:N,loadingColor:D,textColor:M,iconColor:G,[Re("buttonHeight",P)]:J,[Re("buttonWidth",P)]:he,[Re("buttonWidthPressed",P)]:pe,[Re("railHeight",P)]:B,[Re("railWidth",P)]:$,[Re("railBorderRadius",P)]:A,[Re("buttonBorderRadius",P)]:Y},common:{cubicBezierEaseInOut:ne}}=o.value;let fe,Q,xe;return ds?(fe=`calc((${B} - ${J}) / 2)`,Q=`max(${B}, ${J})`,xe=`max(${$}, calc(${$} + ${J} - ${B}))`):(fe=zn((bn(B)-bn(J))/2),Q=zn(Math.max(bn(B),bn(J))),xe=bn(B)>bn(J)?$:zn(bn($)+bn(J)-bn(B))),{"--n-bezier":ne,"--n-button-border-radius":Y,"--n-button-box-shadow":R,"--n-button-color":K,"--n-button-width":he,"--n-button-width-pressed":pe,"--n-button-height":J,"--n-height":Q,"--n-offset":fe,"--n-opacity-disabled":k,"--n-rail-border-radius":A,"--n-rail-color":T,"--n-rail-color-active":E,"--n-rail-height":B,"--n-rail-width":$,"--n-width":xe,"--n-box-shadow-focus":N,"--n-loading-color":D,"--n-text-color":M,"--n-icon-color":G}}),y=n?Pt("switch",F(()=>i.value[0]),x,e):void 0;return{handleClick:b,handleBlur:C,handleFocus:_,handleKeyup:S,handleKeydown:w,mergedRailStyle:h,pressed:d,mergedClsPrefix:t,mergedValue:c,checked:u,mergedDisabled:a,cssVars:n?void 0:x,themeClass:y==null?void 0:y.themeClass,onRender:y==null?void 0:y.onRender}},render(){const{mergedClsPrefix:e,mergedDisabled:t,checked:n,mergedRailStyle:o,onRender:r,$slots:i}=this;r==null||r();const{checked:a,unchecked:s,icon:l,"checked-icon":c,"unchecked-icon":u}=i,d=!(ga(l)&&ga(c)&&ga(u));return v("div",{role:"switch","aria-checked":n,class:[`${e}-switch`,this.themeClass,d&&`${e}-switch--icon`,n&&`${e}-switch--active`,t&&`${e}-switch--disabled`,this.round&&`${e}-switch--round`,this.loading&&`${e}-switch--loading`,this.pressed&&`${e}-switch--pressed`,this.rubberBand&&`${e}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},v("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:o},$t(a,f=>$t(s,h=>f||h?v("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},v("div",{class:`${e}-switch__rail-placeholder`},v("div",{class:`${e}-switch__button-placeholder`}),f),v("div",{class:`${e}-switch__rail-placeholder`},v("div",{class:`${e}-switch__button-placeholder`}),h)):null)),v("div",{class:`${e}-switch__button`},$t(l,f=>$t(c,h=>$t(u,p=>v(Ui,null,{default:()=>this.loading?v(ti,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(h||f)?v("div",{class:`${e}-switch__button-icon`,key:h?"checked-icon":"icon"},h||f):!this.checked&&(p||f)?v("div",{class:`${e}-switch__button-icon`,key:p?"unchecked-icon":"icon"},p||f):null})))),$t(a,f=>f&&v("div",{key:"checked",class:`${e}-switch__checked`},f)),$t(s,f=>f&&v("div",{key:"unchecked",class:`${e}-switch__unchecked`},f)))))}}),RZ=be({name:"InjectionExtractor",props:{onSetup:Function},setup(e,{slots:t}){var n;return(n=e.onSetup)===null||n===void 0||n.call(e),()=>{var o;return(o=t.default)===null||o===void 0?void 0:o.call(t)}}}),EZ={message:kX,notification:NX,loadingBar:sX,dialog:Lq,modal:$X};function $Z({providersAndProps:e,configProviderProps:t}){let n=wx(r);const o={app:n};function r(){return v(E2,we(t),{default:()=>e.map(({type:s,Provider:l,props:c})=>v(l,we(c),{default:()=>v(RZ,{onSetup:()=>o[s]=EZ[s]()})}))})}let i;return hr&&(i=document.createElement("div"),document.body.appendChild(i),n.mount(i)),Object.assign({unmount:()=>{var s;if(n===null||i===null){lr("discrete","unmount call no need because discrete app has been unmounted");return}n.unmount(),(s=i.parentNode)===null||s===void 0||s.removeChild(i),i=null,n=null}},o)}function AZ(e,{configProviderProps:t,messageProviderProps:n,dialogProviderProps:o,notificationProviderProps:r,loadingBarProviderProps:i,modalProviderProps:a}={}){const s=[];return e.forEach(c=>{switch(c){case"message":s.push({type:c,Provider:SX,props:n});break;case"notification":s.push({type:c,Provider:BX,props:r});break;case"dialog":s.push({type:c,Provider:Dq,props:o});break;case"loadingBar":s.push({type:c,Provider:aX,props:i});break;case"modal":s.push({type:c,Provider:EX,props:a})}}),$Z({providersAndProps:s,configProviderProps:t})}function IZ(){const e=Ue(Eo,null);return F(()=>{if(e===null)return xt;const{mergedThemeRef:{value:t},mergedThemeOverridesRef:{value:n}}=e,o=(t==null?void 0:t.common)||xt;return n!=null&&n.common?Object.assign({},o,n.common):o})}const OZ=()=>({}),MZ={name:"Equation",common:je,self:OZ},zZ=MZ,DZ={name:"FloatButtonGroup",common:je,self(e){const{popoverColor:t,dividerColor:n,borderRadius:o}=e;return{color:t,buttonBorderColor:n,borderRadiusSquare:o,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}}},LZ=DZ,QS={name:"dark",common:je,Alert:dj,Anchor:wj,AutoComplete:Fj,Avatar:p2,AvatarGroup:Vj,BackTop:Uj,Badge:eV,Breadcrumb:iV,Button:Wn,ButtonGroup:jK,Calendar:CV,Card:w2,Carousel:MV,Cascader:rW,Checkbox:Ga,Code:R2,Collapse:pW,CollapseTransition:vW,ColorPicker:SV,DataTable:tU,DatePicker:mq,Descriptions:yq,Dialog:pS,Divider:Hq,Drawer:Kq,Dropdown:Tm,DynamicInput:hK,DynamicTags:CK,Element:_K,Empty:Ki,Ellipsis:N2,Equation:zZ,Flex:PK,Form:$K,GradientText:WK,Icon:EU,IconWrapper:DY,Image:LY,Input:mo,InputNumber:qK,LegacyTransfer:eX,Layout:ZK,List:oG,LoadingBar:iG,Log:uG,Menu:vG,Mention:fG,Message:NK,Modal:Eq,Notification:zK,PageHeader:xG,Pagination:L2,Popconfirm:SG,Popover:Yi,Popselect:$2,Progress:IS,QrCode:XX,Radio:V2,Rate:EG,Result:MG,Row:AY,Scrollbar:Vn,Select:M2,Skeleton:pZ,Slider:LG,Space:kS,Spin:HG,Statistic:WG,Steps:GG,Switch:XG,Table:oY,Tabs:sY,Tag:r2,Thing:uY,TimePicker:dS,Timeline:hY,Tooltip:Lu,Transfer:gY,Tree:DS,TreeSelect:xY,Typography:SY,Upload:TY,Watermark:EY,Split:SZ,FloatButton:OY,FloatButtonGroup:LZ},FZ={"aria-hidden":"true",width:"1em",height:"1em"},BZ=["xlink:href","fill"],NZ=be({__name:"SvgIcon",props:{icon:{type:String,required:!0},prefix:{type:String,default:"icon-custom"},color:{type:String,default:"currentColor"}},setup(e){const t=e,n=F(()=>`#${t.prefix}-${t.icon}`);return(o,r)=>(me(),ze("svg",FZ,[U("use",{"xlink:href":n.value,fill:e.color},null,8,BZ)]))}}),tl=(e,t={size:12})=>()=>v(vr,t,()=>v(z6,{icon:e})),ek=(e,t={size:12})=>()=>v(vr,t,()=>v(NZ,{icon:e}));function HZ(){var n,o;const e={default:jZ,blue:VZ,black:WZ,darkblue:UZ},t=((o=(n=window.settings)==null?void 0:n.theme)==null?void 0:o.color)||"default";return Object.prototype.hasOwnProperty.call(e,t)?e[t]:e.default}const jZ={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#316C72FF",primaryColorHover:"#316C72E3",primaryColorPressed:"#2B4C59FF",primaryColorSuppl:"#316C72E3",infoColor:"#316C72FF",infoColorHover:"#316C72E3",infoColorPressed:"#2B4C59FF",infoColorSuppl:"#316C72E3",successColor:"#18A058FF",successColorHover:"#36AD6AFF",successColorPressed:"#0C7A43FF",successColorSuppl:"#36AD6AFF",warningColor:"#F0A020FF",warningColorHover:"#FCB040FF",warningColorPressed:"#C97C10FF",warningColorSuppl:"#FCB040FF",errorColor:"#D03050FF",errorColorHover:"#DE576DFF",errorColorPressed:"#AB1F3FFF",errorColorSuppl:"#DE576DFF"}}},VZ={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#0665d0",primaryColorHover:"#2a84de",primaryColorPressed:"#004085",primaryColorSuppl:"#0056b3",infoColor:"#0665d0",infoColorHover:"#2a84de",infoColorPressed:"#0c5460",infoColorSuppl:"#004085",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},WZ={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#343a40",primaryColorHover:"#23272b",primaryColorPressed:"#1d2124",primaryColorSuppl:"#23272b",infoColor:"#343a40",infoColorHover:"#23272b",infoColorPressed:"#1d2124",infoColorSuppl:"#23272b",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},UZ={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#004175",primaryColorHover:"#002c4c",primaryColorPressed:"#001f35",primaryColorSuppl:"#002c4c",infoColor:"#004175",infoColorHover:"#002c4c",infoColorPressed:"#001f35",infoColorSuppl:"#002c4c",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},{header:qZ,tags:uNe,naiveThemeOverrides:Vh}=HZ();function Vu(e){return Zh()?(gy(e),!0):!1}function ko(e){return typeof e=="function"?e():we(e)}const tk=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const KZ=e=>e!=null,GZ=Object.prototype.toString,YZ=e=>GZ.call(e)==="[object Object]",nk=()=>{};function XZ(e,t){function n(...o){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(r).catch(i)})}return n}const ok=e=>e();function ZZ(e=ok){const t=W(!0);function n(){t.value=!1}function o(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:co(t),pause:n,resume:o,eventFilter:r}}function JZ(e){return e||to()}function QZ(...e){if(e.length!==1)return We(...e);const t=e[0];return typeof t=="function"?co(J3(()=>({get:t,set:nk}))):W(t)}function eJ(e,t,n={}){const{eventFilter:o=ok,...r}=n;return ft(e,XZ(o,t),r)}function tJ(e,t,n={}){const{eventFilter:o,...r}=n,{eventFilter:i,pause:a,resume:s,isActive:l}=ZZ(o);return{stop:eJ(e,t,{...r,eventFilter:i}),pause:a,resume:s,isActive:l}}function rk(e,t=!0,n){JZ()?jt(e,n):t?e():Ht(e)}function nJ(e=!1,t={}){const{truthyValue:n=!0,falsyValue:o=!1}=t,r=cn(e),i=W(e);function a(s){if(arguments.length)return i.value=s,i.value;{const l=ko(n);return i.value=i.value===l?ko(o):l,i.value}}return r?a:[i,a]}function Ia(e){var t;const n=ko(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Wr=tk?window:void 0,oJ=tk?window.document:void 0;function Nc(...e){let t,n,o,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,r]=e,t=Wr):[t,n,o,r]=e,!t)return nk;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const i=[],a=()=>{i.forEach(u=>u()),i.length=0},s=(u,d,f,h)=>(u.addEventListener(d,f,h),()=>u.removeEventListener(d,f,h)),l=ft(()=>[Ia(t),ko(r)],([u,d])=>{if(a(),!u)return;const f=YZ(d)?{...d}:d;i.push(...n.flatMap(h=>o.map(p=>s(u,h,p,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),a()};return Vu(c),c}function rJ(){const e=W(!1),t=to();return t&&jt(()=>{e.value=!0},t),e}function Nm(e){const t=rJ();return F(()=>(t.value,!!e()))}function iJ(e,t,n={}){const{window:o=Wr,...r}=n;let i;const a=Nm(()=>o&&"MutationObserver"in o),s=()=>{i&&(i.disconnect(),i=void 0)},l=F(()=>{const f=ko(e),h=(Array.isArray(f)?f:[f]).map(Ia).filter(KZ);return new Set(h)}),c=ft(()=>l.value,f=>{s(),a.value&&f.size&&(i=new MutationObserver(t),f.forEach(h=>i.observe(h,r)))},{immediate:!0,flush:"post"}),u=()=>i==null?void 0:i.takeRecords(),d=()=>{s(),c()};return Vu(d),{isSupported:a,stop:d,takeRecords:u}}function aJ(e,t={}){const{window:n=Wr}=t,o=Nm(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=W(!1),a=c=>{i.value=c.matches},s=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",a):r.removeListener(a))},l=Xt(()=>{o.value&&(s(),r=n.matchMedia(ko(e)),"addEventListener"in r?r.addEventListener("change",a):r.addListener(a),i.value=r.matches)});return Vu(()=>{l(),s(),r=void 0}),i}const Gl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Yl="__vueuse_ssr_handlers__",sJ=lJ();function lJ(){return Yl in Gl||(Gl[Yl]=Gl[Yl]||{}),Gl[Yl]}function ik(e,t){return sJ[e]||t}function cJ(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const uJ={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},y1="vueuse-storage";function dJ(e,t,n,o={}){var r;const{flush:i="pre",deep:a=!0,listenToStorageChanges:s=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:d=Wr,eventFilter:f,onError:h=T=>{console.error(T)},initOnMounted:p}=o,g=(u?Oa:W)(typeof t=="function"?t():t);if(!n)try{n=ik("getDefaultStorage",()=>{var T;return(T=Wr)==null?void 0:T.localStorage})()}catch(T){h(T)}if(!n)return g;const m=ko(t),b=cJ(m),_=(r=o.serializer)!=null?r:uJ[b],{pause:C,resume:S}=tJ(g,()=>x(g.value),{flush:i,deep:a,eventFilter:f});d&&s&&rk(()=>{Nc(d,"storage",P),Nc(d,y1,k),p&&P()}),p||P();function w(T,E){d&&d.dispatchEvent(new CustomEvent(y1,{detail:{key:e,oldValue:T,newValue:E,storageArea:n}}))}function x(T){try{const E=n.getItem(e);if(T==null)w(E,null),n.removeItem(e);else{const R=_.write(T);E!==R&&(n.setItem(e,R),w(E,R))}}catch(E){h(E)}}function y(T){const E=T?T.newValue:n.getItem(e);if(E==null)return l&&m!=null&&n.setItem(e,_.write(m)),m;if(!T&&c){const R=_.read(E);return typeof c=="function"?c(R,m):b==="object"&&!Array.isArray(R)?{...m,...R}:R}else return typeof E!="string"?E:_.read(E)}function P(T){if(!(T&&T.storageArea!==n)){if(T&&T.key==null){g.value=m;return}if(!(T&&T.key!==e)){C();try{(T==null?void 0:T.newValue)!==_.write(g.value)&&(g.value=y(T))}catch(E){h(E)}finally{T?Ht(S):S()}}}}function k(T){P(T.detail)}return g}function ak(e){return aJ("(prefers-color-scheme: dark)",e)}function fJ(e={}){const{selector:t="html",attribute:n="class",initialValue:o="auto",window:r=Wr,storage:i,storageKey:a="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},f=ak({window:r}),h=F(()=>f.value?"dark":"light"),p=l||(a==null?QZ(o):dJ(a,o,i,{window:r,listenToStorageChanges:s})),g=F(()=>p.value==="auto"?h.value:p.value),m=ik("updateHTMLAttrs",(S,w,x)=>{const y=typeof S=="string"?r==null?void 0:r.document.querySelector(S):Ia(S);if(!y)return;let P;if(u){P=r.document.createElement("style");const k="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";P.appendChild(document.createTextNode(k)),r.document.head.appendChild(P)}if(w==="class"){const k=x.split(/\s/g);Object.values(d).flatMap(T=>(T||"").split(/\s/g)).filter(Boolean).forEach(T=>{k.includes(T)?y.classList.add(T):y.classList.remove(T)})}else y.setAttribute(w,x);u&&(r.getComputedStyle(P).opacity,document.head.removeChild(P))});function b(S){var w;m(t,n,(w=d[S])!=null?w:S)}function _(S){e.onChanged?e.onChanged(S,b):b(S)}ft(g,_,{flush:"post",immediate:!0}),rk(()=>_(g.value));const C=F({get(){return c?p.value:g.value},set(S){p.value=S}});try{return Object.assign(C,{store:p,system:h,state:g})}catch{return C}}function hJ(e,t,n={}){const{window:o=Wr,initialValue:r="",observe:i=!1}=n,a=W(r),s=F(()=>{var c;return Ia(t)||((c=o==null?void 0:o.document)==null?void 0:c.documentElement)});function l(){var c;const u=ko(e),d=ko(s);if(d&&o){const f=(c=o.getComputedStyle(d).getPropertyValue(u))==null?void 0:c.trim();a.value=f||r}}return i&&iJ(s,l,{attributeFilter:["style","class"],window:o}),ft([s,()=>ko(e)],l,{immediate:!0}),ft(a,c=>{var u;(u=s.value)!=null&&u.style&&s.value.style.setProperty(ko(e),c)}),a}function sk(e={}){const{valueDark:t="dark",valueLight:n="",window:o=Wr}=e,r=fJ({...e,onChanged:(s,l)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,s==="dark",l,s):l(s)},modes:{dark:t,light:n}}),i=F(()=>r.system?r.system.value:ak({window:o}).value?"dark":"light");return F({get(){return r.value==="dark"},set(s){const l=s?"dark":"light";i.value===l?r.value="auto":r.value=l}})}const x1=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function pJ(e,t={}){const{document:n=oJ,autoExit:o=!1}=t,r=F(()=>{var b;return(b=Ia(e))!=null?b:n==null?void 0:n.querySelector("html")}),i=W(!1),a=F(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(b=>n&&b in n||r.value&&b in r.value)),s=F(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(b=>n&&b in n||r.value&&b in r.value)),l=F(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(b=>n&&b in n||r.value&&b in r.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(b=>n&&b in n),u=Nm(()=>r.value&&n&&a.value!==void 0&&s.value!==void 0&&l.value!==void 0),d=()=>c?(n==null?void 0:n[c])===r.value:!1,f=()=>{if(l.value){if(n&&n[l.value]!=null)return n[l.value];{const b=r.value;if((b==null?void 0:b[l.value])!=null)return!!b[l.value]}}return!1};async function h(){if(!(!u.value||!i.value)){if(s.value)if((n==null?void 0:n[s.value])!=null)await n[s.value]();else{const b=r.value;(b==null?void 0:b[s.value])!=null&&await b[s.value]()}i.value=!1}}async function p(){if(!u.value||i.value)return;f()&&await h();const b=r.value;a.value&&(b==null?void 0:b[a.value])!=null&&(await b[a.value](),i.value=!0)}async function g(){await(i.value?h():p())}const m=()=>{const b=f();(!b||b&&d())&&(i.value=b)};return Nc(n,x1,m,!1),Nc(()=>Ia(r),x1,m,!1),o&&Vu(h),{isSupported:u,isFullscreen:i,enter:p,exit:h,toggle:g}}const Tn=cu("app",{state(){var e,t,n,o,r,i,a;return{collapsed:window.innerWidth<768,isDark:sk(),title:(e=window.settings)==null?void 0:e.title,assets_path:(t=window.settings)==null?void 0:t.assets_path,theme:(n=window.settings)==null?void 0:n.theme,version:(o=window.settings)==null?void 0:o.version,background_url:(r=window.settings)==null?void 0:r.background_url,description:(i=window.settings)==null?void 0:i.description,logo:(a=window.settings)==null?void 0:a.logo,lang:xu().value||"zh-CN",appConfig:{}}},actions:{async getConfig(){const{data:e}=await TJ();e&&(this.appConfig=e)},switchCollapsed(){this.collapsed=!this.collapsed},setCollapsed(e){this.collapsed=e},setDark(e){this.isDark=e},toggleDark(){this.isDark=!this.isDark},async switchLang(e){GC(e),location.reload()}}});function mJ(e){let t=null;class n{removeMessage(r=t,i=2e3){setTimeout(()=>{r&&(r.destroy(),r=null)},i)}showMessage(r,i,a={}){if(t&&t.type==="loading")t.type=r,t.content=i,r!=="loading"&&this.removeMessage(t,a.duration);else{const s=e[r](i,a);r==="loading"&&(t=s)}}loading(r){this.showMessage("loading",r,{duration:0})}success(r,i={}){this.showMessage("success",r,i)}error(r,i={}){this.showMessage("error",r,i)}info(r,i={}){this.showMessage("info",r,i)}warning(r,i={}){this.showMessage("warning",r,i)}}return new n}function gJ(e){return e.confirm=function(t={}){const n=!XC(t.title);return new Promise(o=>{e[t.type||"warning"]({showIcon:n,positiveText:mn.global.t("确定"),negativeText:mn.global.t("取消"),onPositiveClick:()=>{t.confirm&&t.confirm(),o(!0)},onNegativeClick:()=>{t.cancel&&t.cancel(),o(!1)},onMaskClick:()=>{t.cancel&&t.cancel(),o(!1)},...t})})},e}function vJ(){const e=Tn(),t=F(()=>({theme:e.isDark?QS:void 0,themeOverrides:Vh})),{message:n,dialog:o,notification:r,loadingBar:i}=AZ(["message","dialog","notification","loadingBar"],{configProviderProps:t});window.$loadingBar=i,window.$notification=r,window.$message=mJ(n),window.$dialog=gJ(o)}const bJ="access_token",yJ=6*60*60;function df(e){il.set(bJ,e,yJ)}function xJ(e){if(e.method==="get"&&(e.params={...e.params,t:new Date().getTime()}),mE(e))return e;const t=mC();return t.value?(e.headers.Authorization=e.headers.Authorization||t.value,e):(Pp(),Promise.reject({code:"-1",message:"未登录"}))}function CJ(e){return Promise.reject(e)}function wJ(e){return Promise.resolve((e==null?void 0:e.data)||{code:-1,message:"未知错误"})}function _J(e){var i;const t=((i=e.response)==null?void 0:i.data)||{code:-1,message:"未知错误"};let n=t.message;const{code:o,errors:r}=t;switch(o){case 401:n=n||"登录已过期";break;case 403:n=n||"没有权限";break;case 404:n=n||"资源或接口不存在";break;default:n=n||"未知异常"}return window.$message.error(n),Promise.resolve({code:o,message:n,errors:r})}function SJ(e={}){const t={headers:{"Content-Type":"application/x-www-form-urlencoded","Content-Language":xu().value||"zh-CN"},timeout:12e3},n=hE.create({...t,...e});return n.interceptors.request.use(xJ,CJ),n.interceptors.response.use(wJ,_J),n}const _t=SJ({baseURL:kJ()});function kJ(){let e=PJ(window.routerBase||"/")+"api/v1";return/^https?:\/\//.test(e)||(e=window.location.origin+e),e}function PJ(e){return e.endsWith("/")?e:"/"+e}function TJ(){return _t.get("/user/comm/config")}function RJ(){return _t.get("/user/info")}function EJ(){return _t.get("/user/getStat")}function $J(){return _t.get("/user/getSubscribe")}function AJ(){return _t.get("/user/notice/fetch")}function IJ(){return _t.get("/user/plan/fetch")}function lk(){return _t.get("/user/server/fetch")}function Hm(){return _t.get("/user/order/fetch")}function OJ(e){return _t.get("/user/order/detail?trade_no="+e)}function Wu(e){return _t.post("/user/order/cancel",{trade_no:e})}function MJ(e){return _t.get("/user/order/check?trade_no="+e)}function zJ(){return _t.get("/user/invite/fetch")}function DJ(e=1,t=10){return _t.get(`/user/invite/details?current=${e}&page_size=${t}`)}function LJ(){return _t.get("/user/invite/save")}function FJ(e){return _t.post("/user/transfer",{transfer_amount:e})}function BJ(e){return _t.post("/user/ticket/withdraw",e)}function C1(e){return _t.post("/user/update",e)}function NJ(e,t){return _t.post("/user/changePassword",{old_password:e,new_password:t})}function HJ(){return _t.get("/user/resetSecurity")}function jJ(){return _t.get("/user/stat/getTrafficLog")}function VJ(){return _t.get("/user/order/getPaymentMethod")}function ck(e,t,n){return _t.post("/user/order/save",{plan_id:e,period:t,coupon_code:n})}function WJ(e,t){return _t.post("/user/order/checkout",{trade_no:e,method:t})}function UJ(e){return _t.get("/user/plan/fetch?id="+e)}function qJ(e,t){return _t.post("/user/coupon/check",{code:e,plan_id:t})}function KJ(){return _t.get("/user/ticket/fetch")}function GJ(e,t,n){return _t.post("/user/ticket/save",{subject:e,level:t,message:n})}function YJ(e){return _t.post("/user/ticket/close",{id:e})}function XJ(e){return _t.get("/user/ticket/fetch?id="+e)}function ZJ(e,t){return _t.post("/user/ticket/reply",{id:e,message:t})}function JJ(e="",t="zh-CN"){return _t.get(`/user/knowledge/fetch?keyword=${e}&language=${t}`)}function QJ(e,t="zh-CN"){return _t.get(`/user/knowledge/fetch?id=${e}&language=${t}`)}function eQ(){return _t.get("user/telegram/getBotInfo")}const Ji=cu("user",{state:()=>({userInfo:{}}),getters:{userUUID(){var e;return(e=this.userInfo)==null?void 0:e.uuid},email(){var e;return(e=this.userInfo)==null?void 0:e.email},avatar(){return this.userInfo.avatar_url??""},role(){return[]},remind_expire(){return this.userInfo.remind_expire},remind_traffic(){return this.userInfo.remind_traffic},balance(){return this.userInfo.balance},plan_id(){return this.userInfo.plan_id},expired_at(){return this.userInfo.expired_at},plan(){return this.userInfo.plan},subscribe(){return this.userInfo.subscribe}},actions:{async getUserInfo(){try{const e=await RJ(),{data:t}=e;return t?(this.userInfo=t,t):Promise.reject(e)}catch(e){return Promise.reject(e)}},async getUserSubscribe(){try{const e=await $J(),{data:t}=e;return t?(this.userInfo.subscribe=t,this.userInfo.plan=t.plan,t):Promise.reject(e)}catch(e){return Promise.reject(e)}},async logout(){gC(),this.userInfo={},Pp()},setUserInfo(e){this.userInfo={...this.userInfo,...e}}}});function tQ(e,t){var o,r;if(!((o=e.meta)!=null&&o.requireAuth))return!0;const n=((r=e.meta)==null?void 0:r.role)||[];return!t.length||!n.length?!1:t.some(i=>n.includes(i))}function uk(e,t){const n=[];return e.forEach(o=>{if(tQ(o,t)){const r={...o,children:[]};o.children&&o.children.length?r.children=uk(o.children,t):Reflect.deleteProperty(r,"children"),n.push(r)}}),n}const dk=cu("permission",{state(){return{accessRoutes:[]}},getters:{routes(){return zx.concat(JSON.parse(JSON.stringify(this.accessRoutes)))},menus(){return this.routes.filter(e=>{var t;return e.name&&!((t=e.meta)!=null&&t.isHidden)})}},actions:{generateRoutes(e){const t=uk(Dx,e);return this.accessRoutes=t,t}}}),nQ=wc.get("activeTag"),oQ=wc.get("tags"),rQ=["/404","/login"],iQ=cu({id:"tag",state:()=>{const e=W(oQ.value),t=W(nQ.value),n=W(!1);return{tags:e,activeTag:t,reloading:n}},getters:{activeIndex:e=>()=>e.tags.findIndex(t=>t.path===e.activeTag)},actions:{setActiveTag(e){this.activeTag=e,wc.set("activeTag",e)},setTags(e){this.tags=e,wc.set("tags",e)},addTag(e={}){if(rQ.includes(e.path))return;let t=this.tags.find(n=>n.path===e.path);t?t=e:this.setTags([...this.tags,e]),this.setActiveTag(e.path)},async reloadTag(e,t){let n=this.tags.find(o=>o.path===e);n?t&&(n.keepAlive=!1):(n={path:e,keepAlive:!1},this.tags.push(n)),window.$loadingBar.start(),this.reloading=!0,await Ht(),this.reloading=!1,n.keepAlive=t,setTimeout(()=>{document.documentElement.scrollTo({left:0,top:0}),window.$loadingBar.finish()},100)},removeTag(e){this.setTags(this.tags.filter(t=>t.path!==e)),e===this.activeTag&&Gt.push(this.tags[this.tags.length-1].path)},removeOther(e){e||(e=this.activeTag),e||this.setTags(this.tags.filter(t=>t.path===e)),e!==this.activeTag&&Gt.push(this.tags[this.tags.length-1].path)},removeLeft(e){const t=this.tags.findIndex(o=>o.path===e),n=this.tags.filter((o,r)=>r>=t);this.setTags(n),n.find(o=>o.path===this.activeTag)||Gt.push(n[n.length-1].path)},removeRight(e){const t=this.tags.findIndex(o=>o.path===e),n=this.tags.filter((o,r)=>r<=t);this.setTags(n),n.find(o=>o.path===this.activeTag)||Gt.push(n[n.length-1].path)},resetTags(){this.setTags([]),this.setActiveTag("")}}});function aQ(e){e.use($5())}const sQ=["/login","/register","/forgetpassword"];function lQ(e){const t=Ji(),n=dk();e.beforeEach(async(o,r,i)=>{var s;mC().value?o.path==="/login"?i({path:((s=o.query.redirect)==null?void 0:s.toString())??"/dashboard"}):t.userUUID?i():(await Promise.all([Tn().getConfig(),t.getUserInfo().catch(c=>{gC(),Pp(),window.$message.error(c.message||"获取用户信息失败!")})]),n.generateRoutes(t.role).forEach(c=>{c.name&&!e.hasRoute(c.name)&&e.addRoute(c)}),e.addRoute(P5),i({...o,replace:!0})):sQ.includes(o.path)?i():i({path:"/login"})})}function cQ(e){T5(e),lQ(e),R5(e)}const Gt=YT({history:_T("/"),routes:zx,scrollBehavior:()=>({left:0,top:0})});function uQ(e){e.use(Gt),cQ(Gt)}const dQ=be({__name:"AppProvider",setup(e){const t=Tn(),n={"zh-CN":[zF,z0],"en-US":[B_,H_],"fa-IR":[qF,RN],"ko-KR":[jF,NB],"vi-VN":[WF,PN],"zh-TW":[LF,z0],"ja-JP":[NF,nB]};function o(){const r=Vh.common;for(const i in r)hJ(`--${TF(i)}`,document.documentElement).value=r[i]||"",i==="primaryColor"&&window.localStorage.setItem("__THEME_COLOR__",r[i]||"")}return o(),(r,i)=>{const a=E2;return me(),qe(a,{"wh-full":"",locale:n[we(t).lang][0],"date-locale":n[we(t).lang][1],theme:we(t).isDark?we(QS):void 0,"theme-overrides":we(Vh)},{default:ue(()=>[tu(r.$slots,"default")]),_:3},8,["locale","date-locale","theme","theme-overrides"])}}}),fQ=be({__name:"App",setup(e){const t=Ji();return Xt(()=>{const{balance:o,plan:r,expired_at:i,subscribe:a,email:s}=t;if(window.$crisp&&s){const l=[["Balance",(o/100).toString()],...r!=null&&r.name?[["Plan",r.name]]:[],["ExpireTime",Wo(i)],["UsedTraffic",Ps(((a==null?void 0:a.u)||0)+((a==null?void 0:a.d)||0))],["AllTraffic",Ps(a==null?void 0:a.transfer_enable)]];window.$crisp.push(["set","user:email",s]),window.$crisp.push(["set","session:data",[l]])}}),(o,r)=>{const i=Qc("router-view");return me(),qe(dQ,null,{default:ue(()=>[ie(i,null,{default:ue(({Component:a})=>[(me(),qe(eu(a)))]),_:1})]),_:1})}}}),Uu=wx(fQ);aQ(Uu);vJ();uQ(Uu);RA(Uu);Uu.mount("#app");const hQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},pQ=U("path",{fill:"currentColor",d:"M6.225 4.811a1 1 0 0 0-1.414 1.414L10.586 12L4.81 17.775a1 1 0 1 0 1.414 1.414L12 13.414l5.775 5.775a1 1 0 0 0 1.414-1.414L13.414 12l5.775-5.775a1 1 0 0 0-1.414-1.414L12 10.586z"},null,-1),mQ=[pQ];function gQ(e,t){return me(),ze("svg",hQ,[...mQ])}const fk={name:"gg-close",render:gQ},vQ={"h-60":"","f-c-c":""},bQ=["src"],yQ=be({__name:"SideLogo",setup(e){const t=Tn();return(n,o)=>{const r=fk,i=zt;return me(),ze("div",vQ,[we(t).logo?(me(),ze("img",{key:0,src:we(t).logo,height:"30"},null,8,bQ)):pt("",!0),dn(U("h2",{"ml-10":"","max-w-140":"","flex-shrink-0":"","text-16":"","font-bold":"","color-primary":""},se(we(t).title),513),[[Mn,!we(t).collapsed]]),ie(i,{onClick:[o[0]||(o[0]=NP(()=>{},["stop"])),we(t).switchCollapsed],class:"absolute right-15 h-auto p-0 md:hidden",tertiary:"",size:"medium"},{icon:ue(()=>[ie(r,{class:"cursor-pointer opacity-85"})]),_:1},8,["onClick"])])}}}),xQ=be({__name:"SideMenu",setup(e){const t=Tn(),n=p=>mn.global.t(p);function o(){window.innerWidth<=950&&(t.collapsed=!0)}const r=Mx(),i=Da(),a=dk(),s=F(()=>{var p;return((p=i.meta)==null?void 0:p.activeMenu)||i.name}),l=F(()=>a.menus.reduce((m,b)=>{var C,S,w,x;const _=d(b);if((S=(C=_.meta)==null?void 0:C.group)!=null&&S.key){const y=_.meta.group.key,P=m.findIndex(k=>k.key===y);if(P!==-1)(w=m[P].children)==null||w.push(_),m[P].children=(x=m[P].children)==null?void 0:x.sort((k,T)=>k.order-T.order);else{const k={type:"group",label:n(_.meta.group.label||""),key:y,children:[_]};m.push(k)}}else m.push(_);return m.sort((y,P)=>y.order-P.order)},[]).sort((m,b)=>m.type==="group"&&b.type!=="group"?1:m.type!=="group"&&b.type==="group"?-1:m.order-b.order));function c(p,g){return nb(g)?g:"/"+[p,g].filter(m=>!!m&&m!=="/").map(m=>m.replace(/(^\/)|(\/$)/g,"")).join("/")}function u(p,g){var b;const m=((b=p.children)==null?void 0:b.filter(_=>{var C;return _.name&&!((C=_.meta)!=null&&C.isHidden)}))||[];return m.length===1?d(m[0],g):m.length>1?{children:m.map(_=>d(_,g)).sort((_,C)=>_.order-C.order)}:null}function d(p,g=""){const{title:m,order:b}=p.meta||{title:"",order:0},{name:_,path:C}=p,S=m||_||"",w=_||"",x=f(p.meta),y=b||0,P=p.meta;let k={label:n(S),key:w,path:c(g,C),icon:x!==null?x:void 0,meta:P,order:y};const T=u(p,k.path);return T&&(k={...k,...T}),k}function f(p){return p!=null&&p.customIcon?ek(p.customIcon,{size:18}):p!=null&&p.icon?tl(p.icon,{size:18}):null}function h(p,g){nb(g.path)?window.open(g.path):r.push(g.path)}return(p,g)=>{const m=vX;return me(),qe(m,{ref:"menu",class:"side-menu",accordion:"","root-indent":18,indent:0,"collapsed-icon-size":22,"collapsed-width":60,options:l.value,value:s.value,"onUpdate:value":h,onClick:g[0]||(g[0]=b=>o())},null,8,["options","value"])}}}),w1=be({__name:"index",setup(e){return(t,n)=>(me(),ze(it,null,[ie(yQ),ie(xQ)],64))}}),CQ=be({__name:"AppMain",setup(e){const t=iQ();return(n,o)=>{const r=Qc("router-view");return me(),qe(r,null,{default:ue(({Component:i,route:a})=>[we(t).reloading?pt("",!0):(me(),qe(eu(i),{key:a.fullPath}))]),_:1})}}}),wQ=be({__name:"BreadCrumb",setup(e){const t=Da();function n(o){return o!=null&&o.customIcon?ek(o.customIcon,{size:18}):o!=null&&o.icon?tl(o.icon,{size:18}):null}return(o,r)=>{const i=dV,a=lV;return me(),qe(a,null,{default:ue(()=>[(me(!0),ze(it,null,Hn(we(t).matched.filter(s=>{var l;return!!((l=s.meta)!=null&&l.title)}),s=>(me(),qe(i,{key:s.path},{default:ue(()=>[(me(),qe(eu(n(s.meta)))),nt(" "+se(o.$t(s.meta.title)),1)]),_:2},1024))),128))]),_:1})}}}),_Q={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},SQ=U("path",{fill:"currentColor",d:"M11 13h10v-2H11m0-2h10V7H11M3 3v2h18V3M3 21h18v-2H3m0-7l4 4V8m4 9h10v-2H11z"},null,-1),kQ=[SQ];function PQ(e,t){return me(),ze("svg",_Q,[...kQ])}const TQ={name:"mdi-format-indent-decrease",render:PQ},RQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},EQ=U("path",{fill:"currentColor",d:"M11 13h10v-2H11m0-2h10V7H11M3 3v2h18V3M11 17h10v-2H11M3 8v8l4-4m-4 9h18v-2H3z"},null,-1),$Q=[EQ];function AQ(e,t){return me(),ze("svg",RQ,[...$Q])}const IQ={name:"mdi-format-indent-increase",render:AQ},OQ=be({__name:"MenuCollapse",setup(e){const t=Tn();return(n,o)=>{const r=IQ,i=TQ,a=vr;return me(),qe(a,{size:"20","cursor-pointer":"",onClick:we(t).switchCollapsed},{default:ue(()=>[we(t).collapsed?(me(),qe(r,{key:0})):(me(),qe(i,{key:1}))]),_:1},8,["onClick"])}}}),MQ={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},zQ=U("path",{fill:"currentColor",d:"m290 236.4l43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6l43.7 43.7a8.01 8.01 0 0 0 13.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 0 0 0 11.3zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9zm-463.7-94.6a8.03 8.03 0 0 0-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6L423.7 654c3.1-3.1 3.1-8.2 0-11.3z"},null,-1),DQ=[zQ];function LQ(e,t){return me(),ze("svg",MQ,[...DQ])}const FQ={name:"ant-design-fullscreen-outlined",render:LQ},BQ={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},NQ=U("path",{fill:"currentColor",d:"M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 0 0 0 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 0 0 391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8m221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6L877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 0 0-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9M744 690.4l43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3z"},null,-1),HQ=[NQ];function jQ(e,t){return me(),ze("svg",BQ,[...HQ])}const VQ={name:"ant-design-fullscreen-exit-outlined",render:jQ},WQ=be({__name:"FullScreen",setup(e){const{isFullscreen:t,toggle:n}=pJ();return(o,r)=>{const i=VQ,a=FQ,s=vr;return me(),qe(s,{mr20:"",size:"18",style:{cursor:"pointer"},onClick:we(n)},{default:ue(()=>[we(t)?(me(),qe(i,{key:0})):(me(),qe(a,{key:1}))]),_:1},8,["onClick"])}}}),UQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},qQ=U("path",{fill:"currentColor",d:"M15.88 9.29L12 13.17L8.12 9.29a.996.996 0 1 0-1.41 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 0 0-1.41c-.39-.38-1.03-.39-1.42 0"},null,-1),KQ=[qQ];function GQ(e,t){return me(),ze("svg",UQ,[...KQ])}const YQ={name:"ic-round-expand-more",render:GQ},XQ={class:"inline-block",viewBox:"0 0 32 32",width:"1em",height:"1em"},ZQ=U("path",{fill:"none",d:"M8.007 24.93A4.996 4.996 0 0 1 13 20h6a4.996 4.996 0 0 1 4.993 4.93a11.94 11.94 0 0 1-15.986 0M20.5 12.5A4.5 4.5 0 1 1 16 8a4.5 4.5 0 0 1 4.5 4.5"},null,-1),JQ=U("path",{fill:"currentColor",d:"M26.749 24.93A13.99 13.99 0 1 0 2 16a13.9 13.9 0 0 0 3.251 8.93l-.02.017c.07.084.15.156.222.239c.09.103.187.2.28.3q.418.457.87.87q.14.124.28.242q.48.415.99.782c.044.03.084.069.128.1v-.012a13.9 13.9 0 0 0 16 0v.012c.044-.031.083-.07.128-.1q.51-.368.99-.782q.14-.119.28-.242q.451-.413.87-.87c.093-.1.189-.197.28-.3c.071-.083.152-.155.222-.24ZM16 8a4.5 4.5 0 1 1-4.5 4.5A4.5 4.5 0 0 1 16 8M8.007 24.93A4.996 4.996 0 0 1 13 20h6a4.996 4.996 0 0 1 4.993 4.93a11.94 11.94 0 0 1-15.986 0"},null,-1),QQ=[ZQ,JQ];function eee(e,t){return me(),ze("svg",XQ,[...QQ])}const tee={name:"carbon-user-avatar-filled",render:eee},nee={class:"hidden md:block"},oee=be({__name:"UserAvatar",setup(e){const t=Ji(),n=i=>mn.global.t(i),o=[{label:n("个人中心"),key:"profile",icon:tl("mdi-account-outline",{size:14})},{label:n("登出"),key:"logout",icon:tl("mdi:exit-to-app",{size:14})}];function r(i){i==="logout"&&window.$dialog.confirm({title:n("提示"),type:"info",content:n("确认退出?"),confirm(){t.logout(),window.$message.success(n("已退出登录"))}}),i==="profile"&&Gt.push("/profile")}return(i,a)=>{const s=tee,l=YQ,c=zt,u=$m;return me(),qe(u,{options:o,onSelect:r},{default:ue(()=>[ie(c,{text:"",flex:"","cursor-pointer":"","items-center":""},{default:ue(()=>[ie(s,{class:"mr-0 h-20 w-20 rounded-full md:mr10 md:h-30 md:w-30"}),ie(l,{class:"h-20 w-20 md:hidden"}),U("span",nee,se(we(t).email),1)]),_:1})]),_:1})}}}),ree={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},iee=U("path",{fill:"currentColor",d:"M11.4 18.4H.9a.9.9 0 0 1-.9-.9V7.3a.9.9 0 0 1 .9-.9h10.5zm-4.525-2.72c.058.187.229.32.431.32h.854a.45.45 0 0 0 .425-.597l.001.003l-2.15-6.34a.45.45 0 0 0-.426-.306H4.791a.45.45 0 0 0-.425.302l-.001.003l-2.154 6.34a.45.45 0 0 0 .426.596h.856a.45.45 0 0 0 .431-.323l.001-.003l.342-1.193h2.258l.351 1.195zM5.41 10.414s.16.79.294 1.245l.406 1.408H4.68l.415-1.408c.131-.455.294-1.245.294-1.245zM23.1 18.4H12.6v-12h10.5a.9.9 0 0 1 .9.9v10.2a.9.9 0 0 1-.9.9m-1.35-8.55h-2.4v-.601a.45.45 0 0 0-.45-.45h-.601a.45.45 0 0 0-.45.45v.601h-2.4a.45.45 0 0 0-.45.45v.602c0 .248.201.45.45.45h4.281a5.9 5.9 0 0 1-1.126 1.621l.001-.001a7 7 0 0 1-.637-.764l-.014-.021a.45.45 0 0 0-.602-.129l.002-.001l-.273.16l-.24.146a.45.45 0 0 0-.139.642l-.001-.001c.253.359.511.674.791.969l-.004-.004c-.28.216-.599.438-.929.645l-.05.029a.45.45 0 0 0-.159.61l-.001-.002l.298.52a.45.45 0 0 0 .628.159l-.002.001c.507-.312.94-.619 1.353-.95l-.026.02c.387.313.82.62 1.272.901l.055.032a.45.45 0 0 0 .626-.158l.001-.002l.298-.52a.45.45 0 0 0-.153-.605l-.002-.001a12 12 0 0 1-1.004-.696l.027.02a6.7 6.7 0 0 0 1.586-2.572l.014-.047h.43a.45.45 0 0 0 .45-.45v-.602a.45.45 0 0 0-.45-.447h-.001z"},null,-1),aee=[iee];function see(e,t){return me(),ze("svg",ree,[...aee])}const lee={name:"fontisto-language",render:see},cee=be({__name:"SwitchLang",setup(e){const t=Tn();return(n,o)=>{const r=lee,i=zt,a=_m;return me(),qe(a,{value:we(t).lang,"onUpdate:value":o[0]||(o[0]=s=>we(t).lang=s),options:Object.entries(we(sh)).map(([s,l])=>({label:l,value:s})),trigger:"click","on-update:value":we(t).switchLang},{default:ue(()=>[ie(i,{text:"","icon-placement":"left",class:"mr-20"},{icon:ue(()=>[ie(r)]),_:1})]),_:1},8,["value","options","on-update:value"])}}}),uee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},dee=U("path",{fill:"currentColor",d:"m3.55 19.09l1.41 1.41l1.8-1.79l-1.42-1.42M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6s6-2.69 6-6c0-3.32-2.69-6-6-6m8 7h3v-2h-3m-2.76 7.71l1.8 1.79l1.41-1.41l-1.79-1.8M20.45 5l-1.41-1.4l-1.8 1.79l1.42 1.42M13 1h-2v3h2M6.76 5.39L4.96 3.6L3.55 5l1.79 1.81zM1 13h3v-2H1m12 9h-2v3h2"},null,-1),fee=[dee];function hee(e,t){return me(),ze("svg",uee,[...fee])}const pee={name:"mdi-white-balance-sunny",render:hee},mee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},gee=U("path",{fill:"currentColor",d:"M2 12a10 10 0 0 0 13 9.54a10 10 0 0 1 0-19.08A10 10 0 0 0 2 12"},null,-1),vee=[gee];function bee(e,t){return me(),ze("svg",mee,[...vee])}const yee={name:"mdi-moon-waning-crescent",render:bee},xee=be({__name:"ThemeMode",setup(e){const t=Tn(),n=sk(),o=()=>{t.toggleDark(),nJ(n)()};return(r,i)=>{const a=yee,s=pee,l=vr;return me(),qe(l,{"mr-20":"","cursor-pointer":"",size:"18",onClick:o},{default:ue(()=>[we(n)?(me(),qe(a,{key:0})):(me(),qe(s,{key:1}))]),_:1})}}}),Cee={flex:"","items-center":""},wee={"ml-auto":"",flex:"","items-center":""},_ee=be({__name:"index",setup(e){return(t,n)=>(me(),ze(it,null,[U("div",Cee,[ie(OQ),ie(wQ)]),U("div",wee,[ie(xee),ie(cee),ie(WQ),ie(oee)])],64))}}),See={"flex-col":"","flex-1":"","overflow-hidden":""},kee={"flex-1":"","overflow-hidden":"","bg-hex-f5f6fb":"","dark:bg-hex-101014":""},Pee=be({__name:"index",setup(e){const t=Tn();function n(a){t.collapsed=a}const o=F({get:()=>r.value&&!t.collapsed,set:a=>t.collapsed=!a}),r=W(!1),i=()=>{document.body.clientWidth<=950?(r.value=!0,t.collapsed=!0):(t.collapsed=!1,r.value=!1)};return jt(()=>{window.addEventListener("resize",i),i()}),(a,s)=>{const l=ZY,c=_S,u=qY;return me(),qe(u,{"has-sider":"","wh-full":""},{default:ue(()=>[dn(ie(l,{bordered:"","collapse-mode":"transform","collapsed-width":0,width:220,"native-scrollbar":!1,collapsed:we(t).collapsed,"on-update:collapsed":n},{default:ue(()=>[ie(w1)]),_:1},8,["collapsed"]),[[Mn,!o.value]]),ie(c,{show:o.value,"onUpdate:show":s[0]||(s[0]=d=>o.value=d),width:220,placement:"left"},{default:ue(()=>[ie(l,{bordered:"","collapse-mode":"transform","collapsed-width":0,width:220,"native-scrollbar":!1,collapsed:we(t).collapsed,"on-update:collapsed":n},{default:ue(()=>[ie(w1)]),_:1},8,["collapsed"])]),_:1},8,["show"]),U("article",See,[U("header",{class:"flex items-center bg-white px-15",dark:"bg-dark border-0",style:Di(`height: ${we(qZ).height}px`)},[ie(_ee)],4),U("section",kee,[ie(CQ)])])]),_:1})}}}),br=Object.freeze(Object.defineProperty({__proto__:null,default:Pee},Symbol.toStringTag,{value:"Module"})),qu=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Tee={},Ree={"f-c-c":"","flex-col":"","text-14":"",color:"#6a6a6a"},Eee=U("p",null,[nt(" Copyright © 2022-present "),U("a",{href:"https://github.com/zclzone",target:"__blank",hover:"decoration-underline color-primary"}," Ronnie Zhang ")],-1),$ee=U("p",null,null,-1),Aee=[Eee,$ee];function Iee(e,t){return me(),ze("footer",Ree,Aee)}const Oee=qu(Tee,[["render",Iee]]),Mee={class:"cus-scroll-y wh-full flex-col bg-[#f5f6fb] p-5 dark:bg-hex-121212 md:p-15"},vo=be({__name:"AppPage",props:{showFooter:{type:Boolean,default:!1}},setup(e){return(t,n)=>{const o=Oee,r=Jj;return me(),qe(fn,{name:"fade-slide",mode:"out-in",appear:""},{default:ue(()=>[U("section",Mee,[tu(t.$slots,"default"),e.showFooter?(me(),qe(o,{key:0,"mt-15":""})):pt("",!0),ie(r,{bottom:20,class:"z-99999"})])]),_:3})}}}),zee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},Dee=U("path",{fill:"currentColor",d:"M20 2H4c-.53 0-1.04.21-1.41.59C2.21 2.96 2 3.47 2 4v12c0 .53.21 1.04.59 1.41c.37.38.88.59 1.41.59h4l4 4l4-4h4c.53 0 1.04-.21 1.41-.59S22 16.53 22 16V4c0-.53-.21-1.04-.59-1.41C21.04 2.21 20.53 2 20 2M4 16V4h16v12h-4.83L12 19.17L8.83 16m1.22-9.96c.54-.36 1.25-.54 2.14-.54c.94 0 1.69.21 2.23.62q.81.63.81 1.68c0 .44-.15.83-.44 1.2c-.29.36-.67.64-1.13.85c-.26.15-.43.3-.52.47c-.09.18-.14.4-.14.68h-2c0-.5.1-.84.29-1.08c.21-.24.55-.52 1.07-.84c.26-.14.47-.32.64-.54c.14-.21.22-.46.22-.74c0-.3-.09-.52-.27-.69c-.18-.18-.45-.26-.76-.26c-.27 0-.49.07-.69.21c-.16.14-.26.35-.26.63H9.27c-.05-.69.23-1.29.78-1.65M11 14v-2h2v2Z"},null,-1),Lee=[Dee];function Fee(e,t){return me(),ze("svg",zee,[...Lee])}const Bee={name:"mdi-tooltip-question-outline",render:Fee},Nee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},Hee=U("path",{fill:"currentColor",d:"M12 20a8 8 0 0 0 8-8a8 8 0 0 0-8-8a8 8 0 0 0-8 8a8 8 0 0 0 8 8m0-18a10 10 0 0 1 10 10a10 10 0 0 1-10 10C6.47 22 2 17.5 2 12A10 10 0 0 1 12 2m.5 5v5.25l4.5 2.67l-.75 1.23L11 13V7z"},null,-1),jee=[Hee];function Vee(e,t){return me(),ze("svg",Nee,[...jee])}const Wee={name:"mdi-clock-outline",render:Vee},Uee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},qee=U("path",{fill:"currentColor",d:"M6.18 15.64a2.18 2.18 0 0 1 2.18 2.18C8.36 19 7.38 20 6.18 20C5 20 4 19 4 17.82a2.18 2.18 0 0 1 2.18-2.18M4 4.44A15.56 15.56 0 0 1 19.56 20h-2.83A12.73 12.73 0 0 0 4 7.27zm0 5.66a9.9 9.9 0 0 1 9.9 9.9h-2.83A7.07 7.07 0 0 0 4 12.93z"},null,-1),Kee=[qee];function Gee(e,t){return me(),ze("svg",Uee,[...Kee])}const Yee={name:"mdi-rss",render:Gee},Xee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},Zee=U("path",{fill:"currentColor",d:"M12 21.5c-1.35-.85-3.8-1.5-5.5-1.5c-1.65 0-3.35.3-4.75 1.05c-.1.05-.15.05-.25.05c-.25 0-.5-.25-.5-.5V6c.6-.45 1.25-.75 2-1c1.11-.35 2.33-.5 3.5-.5c1.95 0 4.05.4 5.5 1.5c1.45-1.1 3.55-1.5 5.5-1.5c1.17 0 2.39.15 3.5.5c.75.25 1.4.55 2 1v14.6c0 .25-.25.5-.5.5c-.1 0-.15 0-.25-.05c-1.4-.75-3.1-1.05-4.75-1.05c-1.7 0-4.15.65-5.5 1.5M12 8v11.5c1.35-.85 3.8-1.5 5.5-1.5c1.2 0 2.4.15 3.5.5V7c-1.1-.35-2.3-.5-3.5-.5c-1.7 0-4.15.65-5.5 1.5m1 3.5c1.11-.68 2.6-1 4.5-1c.91 0 1.76.09 2.5.28V9.23c-.87-.15-1.71-.23-2.5-.23q-2.655 0-4.5.84zm4.5.17c-1.71 0-3.21.26-4.5.79v1.69c1.11-.65 2.6-.99 4.5-.99c1.04 0 1.88.08 2.5.24v-1.5c-.87-.16-1.71-.23-2.5-.23m2.5 2.9c-.87-.16-1.71-.24-2.5-.24c-1.83 0-3.33.27-4.5.8v1.69c1.11-.66 2.6-.99 4.5-.99c1.04 0 1.88.08 2.5.24z"},null,-1),Jee=[Zee];function Qee(e,t){return me(),ze("svg",Xee,[...Jee])}const ete={name:"mdi-book-open-variant",render:Qee},tte={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},nte=U("g",{fill:"none"},[U("path",{d:"m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),U("path",{fill:"currentColor",d:"M10.5 20a1.5 1.5 0 0 0 3 0v-6.5H20a1.5 1.5 0 0 0 0-3h-6.5V4a1.5 1.5 0 0 0-3 0v6.5H4a1.5 1.5 0 0 0 0 3h6.5z"})],-1),ote=[nte];function rte(e,t){return me(),ze("svg",tte,[...ote])}const ite={name:"mingcute-add-fill",render:rte},ate={class:"inline-block",viewBox:"0 0 1200 1200",width:"1em",height:"1em"},ste=U("path",{fill:"currentColor",d:"M0 0v545.312h545.312V0zm654.688 0v545.312H1200V0zM108.594 108.594h328.125v328.125H108.594zm654.687 0h328.125v328.125H763.281zM217.969 219.531v108.594h110.156V219.531zm653.906 0v108.594h108.594V219.531zM0 654.688V1200h545.312V654.688zm654.688 0V1200h108.595V873.438h108.594v108.595H1200V654.688h-108.594v108.595H980.469V654.688zM108.594 763.281h328.125v328.125H108.594zm109.375 108.594v110.156h110.156V871.875zm653.906 219.531V1200h108.594v-108.594zm219.531 0V1200H1200v-108.594z"},null,-1),lte=[ste];function cte(e,t){return me(),ze("svg",ate,[...lte])}const ute={name:"el-qrcode",render:cte},dte={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},fte=U("path",{fill:"currentColor",d:"M5.503 4.627L5.5 6.75v10.504a3.25 3.25 0 0 0 3.25 3.25h8.616a2.25 2.25 0 0 1-2.122 1.5H8.75A4.75 4.75 0 0 1 4 17.254V6.75c0-.98.627-1.815 1.503-2.123M17.75 2A2.25 2.25 0 0 1 20 4.25v13a2.25 2.25 0 0 1-2.25 2.25h-9a2.25 2.25 0 0 1-2.25-2.25v-13A2.25 2.25 0 0 1 8.75 2z"},null,-1),hte=[fte];function pte(e,t){return me(),ze("svg",dte,[...hte])}const mte={name:"fluent-copy24-filled",render:pte},gte="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAIAAAAiOjnJAAAON0lEQVR4nOydX2xT5f/Hn7M11A1lAqNmTQ1CS9QiZqbTSMwqetF6IwiJBRPwhkBi5EKyGLNyxcUk7sLtxkXjBRrNUHGikZiVSIKtMYGxaIo0TlcHsesCbVbJBqNs7X7xd/Y9bF3HnvY8/87zfF4XJmDPed7n87z5PKfnc55PbbOzswhYxIULF5555hneKixMDW8BgvLVV1/xlmBtNMhYiykWi+vXr//nn394C7EwkLHK8Msvv6RSKd4qrA0YqwxffvklbwmWB5bCUmZmZlwu17Vr1yAyZoCMVUo0Gr127RpvFZYHjFVKb28vbwkyAEvhAu7cudPU1DQ+Po4QgsiYATLWAs6cOaO7CjAJGGsB8FyUFLAU3uX27dsOh2NiYkL/I0TGDJCx7vLDDz8YrgJMAsa6C6yDBIGlcI7JyUmHwzE1NWX8DUTGDJCx5vj+++/nuwowCRhrjhMnTvCWIBWwFP5HLpdramrK5/Pz/xIiYwbIWP/x3XfflbgKMAkY6z+++OIL3hJkA4yFstns2bNnqzs2EomQliMJYCx08uTJmZmZ6o599913ScuRBDCWqeei0Wg0FosRlSMJqn8rTKfTLperbBBwIqNpWjAY7O/vp6POwqiesU6ePGnyn1YkErl48SI5RZKgurGI7Js4duwYCS1SofRSeOXKlY0bNy4VAcylUP/v77//7vV6KWi0KkpnLPProM7s7CwkrRKUzlhPPfXUb7/9ttT/xc9YCKHa2tqhoSG3201UoIVRN2P9+eef93BVpRQKhc7OTlJnkwB1jUX8dYZPP/0UNuYbqGss4u+L5vP5999/n+w5rYui91iXLl168skn7/2Ziu6xdOrr669evdrY2GhaoOVRNGNRep3h1q1bXV1dNM5sORTNWJs2bRoeHr73Z6rIWAihhoaGK1euPPjgg+YEWh4VM9aFCxeWdVXV3Lhxo6enh9LJLYSKxqK9zau7u/vmzZtUhxAf5YxVLBZp91XLZDIff/wx1SHER7l7rJ9//rm1tRXnk9XdY+k4nc6RkZEVK1ZULlASlMtYbNpAptPpTz75hMFAwqJWxjLaQOJ82EzGQgi53e4//vjDZrNVqFES1MpYLNtAJpNJlZvkqmUsxm0gjx07ViwWWY4oDgoZ686dO6dOnWI54uXLl7/99luWI4qDQsbi0gZS2f1hChmLS/urwcFBNTe1qvKtsKQNJA4mvxUa+P3+n376CX9cOVAlY3FsA6nmplZVjMW3DWRHRwfH0bmgxFK4uA0kDqSWQp2BgYGWlpaKBFgaJTKWCG0gVdsfpoSxRGgDeerUqUQiwVsFO+Q3Vi6XO3PmDG8Vym1qld9Y4rSBPHHiRDKZ5K2CEfIbS5w2kEptapX8W2E2m21qaqquYR/Zb4U6drt9eHjY5XJVocdaSJ6xzLSBpIE6m1olz1gvvPDCuXPnqjuWRsZSZ1OrzBkrnU4LWKRTZFOrzMYi1f6KOB988MG///7LWwVdZDaWsG8Gq7CpVdp7rHu3gcSB0j2Wzrp160ZGRlauXFnd4eIjbcYSdh3UkX5Tq7QZ695tIHGgmrGk39QqZ8Yi2waSEnJvapXTWCK8zoBDZ2enUM9vCSKnsazys+ESb2qV8B4Lpw0kDrTvsXQ2b94cj8dramT7Fy7b9Qj1OgMOsm5qlTBj4bSBxIFNxkII+Xw++X7mSZ6MVSwWv/nmm5aWFnptICkxODi4adOmI0eOXLp0ibcWcsxan+np6c8//3zz5s3sI0N2RISQ1+s9evTo0NAQ/bDRxdrGyufzH330EaVfsMERQGNcnebm5s7OzpGREfpRpIJVjTU5OdnV1eV0OulNLY4MeqPraJq2devW7u7u0dFR+kElifWMlcvlOjo61q1bR3tSccTQ1mCgadq2bdt6enoymQz9GBPASsbKZDLhcLihoYHNXOJIYqNkPjabLRgMHj9+PJfL0Q959VjDWKlU6vDhw/X19SynEEcYSz0l2O327du39/b2TkxM0J+BihHdWMlk8uDBg3a7nf3M4chjr2oxdXV1u3fv7uvrm5qaoj8huIhrrEQisXfv3traWl4ThiOSl7ayrFq1at++fadPn87n8/TnZ7nI8BZQhoGBgV27dhF5qG0GHKl8FS7F2rVr9+/ff/bs2enpafrTtURkeA1clmg0GgwGec/LHDiCeWtchoceeujQoUOxWKxQKNCfvYWRYTzeUvT39/v9ft4TsQAc2bw14uJyudra2s6fP09/Jv8XGWYjlaVQKPT19fl8Pt6RLwOOft4aK8bj8YTD4Xg8TntmuRmLUoGPIDhXwVtj9dAuSnIwFtUCH0FwroW3RgJQKkoyNRaDAh9BcK6It0ZiEC9KMjIWswIfQXCui7dG8pAqSlI3FuMCH0GwwicvJouSFI3FpcBHEKzwKUB1RUkqxuJY4CMIVvhUoqKiJGFjcS/wEQTnenlr5ANOUZKYsQQp8BEEjLUs9yhKEjCWUAU+goCx8FlclDRlLAELfAQBY1WBUZSUcMMqIALybFgFhAKMBVABjAVQAYwFUAGMBVABjAVQAYwFUAGMBVABjAVQAYwFUAGMBdDh/PnzbW1tKvyYbKWoXIRubW3t7+8384LCXPgKhUIsFjt06JDD4eB9UaKgprGCwWA0GjVjqQXGMpienv7xxx/379+/du1a3tfIGaWMpWnarl27BgYGzFuqvLEM8vn86dOn9+3bt2rVKt5XzQdFjFVbW7t3797Lly+TstRcZJb9xNTU1Ndffx0Kherq6ngHgSlY4bMydrv9wIEDw8PDJIy0KDL4H52YmOjt7d2+fbvVt99gghU+a1JfX//WW2+lUikTzlkuMlUcMz4+fvz48UAgYLPZeIeIIljhsxoNDQ3hcJhB62VT77xnMpmenp5t27bJtDnHACt81qGxsbGjo2N8fNzMjONDZvvX6Ohod3f31q1bZXIYVvisgNPp7OrqmpycJDLXmBDesPr333+/9957zc3NvINJAKzwiY3b7f7www9v375NdpaxIkPpvENDQ0ePHvV6vbxjWz1Y4RMVr9f72WefydzcNh6Pt7e3ezwe3qGuGKzwiYfP5+vr62PfzbY0MsxGslxREueieGtcgPkCH0FYt4q0UFES53J4a5yDVIGPIDyb2wpelMS5Cr4KiRf4CMK/z7uwRUkc8by0USrwEYS/sQxEK0riaGavimqBjyACGctAkKIkjlSWehgU+AgiorEM+BYlcRSyUcKswEcQoY1lwKUoiSOMtgbGBT6CWMNYBiyLkjh66I3OpcBHEIsZy4BBURJHBo1xORb4CGJVYxnQK0rijE52RO4FPoJY3lgGxIuSOIOSGkuQAh9BJOxB2tLSMjg4aP48OJEhcqvn8Xj++usv8+cRCgl3QofDYd4SKuPVV1/lLYE8EmasYrG4ZcuWRCJh8jzMMlY8Ht+yZYv58wiFhBmrpqamvb2dtwpcHn/8cflcJaexEEJ79uwR/xdcdXbv3s1bAhXkNJbNZnv77bd5q8Biz549vCVQQcJ7LJ18Pr9x48Z0Ol31GRjcYzU3N//6669mziAscmYs/fUS8ZPWa6+9xlsCLaTNWAihmzdvPvLII9lstrrDaWcsTdOSyeSGDRuqPoPISJuxEEIrV648fPgwbxVL8uyzz8rqKsmNhRB64403hP2d81AoxFsCRSQ31urVq998803eKsqgaZrcxpL5Hksnm82uX7/+1q1blR5I9R7r+eefP3fuXHXHWgLJM5b+EubBgwd5qyhF1ueiBvJnLIRQKpXyeDz5fL6io+hlLJvNNjY21tjYWMWxVkH+jKX/UPHrr7/OW8VdXnzxRbldpYqxEELvvPNObW0tbxVzSPxc1EAVY7ndbkGm026379ixg7cK6qhiLIRQe3u7CA0HA4HA6tWreaugjkLG8nq9O3fu5K1C2tcZSlDiW6HBxYsXn376acwP0/hWWFdXd/369fvvv7+io6yIQhlL32cRDAY5Cnj55ZdVcJVyxkIIHTlyhOPocpdx5qPWUqjj9/tjsdiyHyO+FD7wwAPXr1+/77778A+xLsplLI5Ja8eOHYq4SlFjBYNBn8/Hflzp64PzUdFYXDa1rlmzJhAIMB6UI4oa65VXXmH84wY7d+5csWIFyxH5oqix2G9qFaSgxAwVvxXqzMzMPPbYY8lkcqkPEPxW6HA4RkdH5f4VvhIUzViMN7WGQiGlXKV0xlp2UyvBjBWNRltbWysXaGHUzVjMNrW6XK7nnnuO9iiiobSxEEIHDhyg/TJnKBSqqVEuzspdcAkMNrUq9VzUQOl7LJ1cLrdhw4YbN26U/D2Reywp20DioHrGor2pVco2kDhAxkJLbWolkrGkbAOJA2QsRG9Tq6xtIHEAY83R1tZG/MfG1Lxt1wFjzUFjU6si+ybKAvdYd0kmk48++mihUND/aPIeS+I2kDhAxroL2U2tqr3OUAJkrAUkEoknnnhCj4mZjCV3G0gcIGMtgNSmVrnbQOIAxiqFyAuA6mzzWgpYCsvw0ksvRSKRqpdCTdNSqZTT6aSjzhpAxiqDyf1hfr9fcVeBscrT+v9UfbjKz0UNYCksTyQSwenysHgpVKENJA5gLFMsNlYgEIhEIpzkCAQshYRR/LmoAWQsU5RkLLvdPjY2pkLDvmWBjEUSRdpA4gDGIonKrzOUAEuhKeYvheq0gcQBMhYx1GkDiQMYixhQH5wPLIWmMJZCpdpA4gAZiwxKtYHEAYxFBqgPlgBLoSn0pXDNmjVjY2NKNexbFshYBFCtDSQOYCwCQH1wMbAUmkLTNAXbQOIAGcssCraBxAGMZRZ4LloWWApN8fDDD1+9elXBhn3LAhExhZptIHGAoJgCnosuxf8FAAD//3s5fchYZyekAAAAAElFTkSuQmCC",hk="data:image/png;base64,UklGRiYGAABXRUJQVlA4WAoAAAAQAAAATwAATwAAQUxQSJ4CAAABkAVJsmlb8847eLZt27Zt27Zt27ZtG9e2bdv39tNZe++17vNPREwA/dOZo6hWhOxFssnRaNra4w+M3CJNqvLX1D7cxeDukVWTazDpXKDXrxFvXaOg9x1TDg99iOzM17Ak6Ddgc2dA0hCeZoL1k2zImMbPGvABrORlP7jBHi40l8ARzquVy/MEXOFhLqWKGYAzfCqiTGV7cAfbCko09IUA8KonX8cICIGwdnINToQgiO8vz9QMCIP0iXKsgNx8AEuk7YZg2C5BfQ7C4ZSKJdcDZAK4UyR7iSq1a1Uuri3+EZkCgt0jk1JTE8OdfJFJ8PoTsW7ZP5APx45dffiYRFTTlQfjkkQb+RhJRKXNlXuej4iW8TGaiKjAa6Wu6oiIVnBE2W8qc4h+yBVlOa7EehKBaLN8s0kQWiBT8ggShsak6ktL1xfdjQSiXhEIfLFzUrdm9es37zlt37sw+DQjoahCu0LEXLxDCRJM6f84fDIDYybV/XTx0o4xkab6sL0fQwRY+aOA19v6V8rK9sPCrRccPHhoT2meah08ePDArKYFiP+ClSqUlEXc0h5J8fGDuWozdpTE0YNys5WKAjCSLfeg0aMkjm3DVAsybmCjdYCxmm0tZKzFUtQg0E+iv98gCfm90YPY+/v6+0kMNCjKQup8eaXmJKm1e5DUnHml5lPTL7y21f4PrZVq9WF/Ky0n6qbb7AFsVWorAPttTdWKqRpusAYAx+1FlSq63REArDc0VClRZ5VZOgC3/W11xKGu7X43AOlmq+rIVGOJYSoAr6OdchC3OTod9QKQarikhqTi8z8kA/A70yM3cZ67xxk/AMkf5hdnUhkBCLrULx8Jma/fpSAARioWuhR+c0ghErjQkJvhl4hZXYCEL6Bm+5cSVlA4IGIDAAAwGQCdASpQAFAAPkEaikOioaEa2ed8KAQEtgBbJur/YPxm64bFPaPyH5r3ezvr+QGYz+G/on+Z/p35Z9rD8o+wB+lvmZ+p3+Af3D+5ewD9b/2v94D0Af9X1AP8H/uvVU/zfsMfsV7AH7O+mR7Gn7ifuB7V2Yn/RLToBFaF49vT657i4FNhTFMPtqGBnLHb4B0mdEFIcp89CJvbbCPD4/QeZhwQQzZ8BxgBYJstiZqMBJD6z585YDHszJsSre6r3yMDyPrDGOzaYTcIIILf8uoSangA/uHNmzlTvvlp4WxismwIwhrpTbKk5HA99Zt/tjf//B1f/wjF//4Oz7Ro8qdwrGruK80gZGdfcjEjVmeAY3UNq/bKHbPJeZyPGePUJYsf1pTxUT+M/1yY9sp5QEaUI/nWbM+hrV4Wv2GCz8YHB1EU6uczvWjFJmo/ILHBjfR2dpCGtC7aaJrcU2802eJTgxsCLzPMTBp+iLQAcf1z34AZndAHu/MsTUnzhvX5iBLRl0rcsyt8px9H3DpVdPqz9F30dKwOAKELHB71muyZVCqSi6Ijvf/Z3WEYi+Jy9gg4gwMX75I/kfFsZTr7B6AUO5g/bTvaEq7oh9QTCrGVLPJY2tIyTiFf6+rnBPHuJQFG2ntz1V2ZE3kFqOf1JYkNtmTx5bM42JZLzDv8lK+cZlqBMuGj5tTqsUlkszMA9vYVj/+YQXiow3o8IGtvSD8Z9yp7r5vAB/RBYfyMXHGCD2/Vj9Krhqkp9w11usppHaLv4fZw8b3KwrMeg4xklboK6/9Fk8fH9jbQr2Gh3gBR1O00KEtl0DoRpGMbFooOH7dbaaubWVWnZJSKjwKIyP/s2PwjLOOynzDVSVfh9QzyYBAtiUl2qfMRoRAekN+1zwxjUnBZz1zVVnum4pxFz4O/ytYWZA4AKd06/BG2+/aqSmflFZELL5IvsKadrnEUwQiAtJkrfXIu0S5ATyAZ8U7ztY9txpPVO65FVvH6NJPkeoxN4DJMkkeJyGkxeZyTOKOXTYLyG410M+lef83/R1x+Fufa2JlrS4UJj9uQp/8XdI+6n2yYec5INem5wZ3l+51bAhgdYqwdZhQ4nrP/8zviDM+SQAmVegbwNZIXMtlySH9p0fzgvNUc4nPYjSzoYgAAAA==",vte="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAC+lBMVEX///////7+//79//+ZfOn//v+UfumXe+f9/f9crPCZe+n7/P5Lu/Fmo+/8/v6cd+b5+f339/1ooO32+v16lOuYfeqgduqZeedQuPFVs/Bfqe92q+1xme10l+1+j+yOg+qdd+n6/v7x9/318PxStfJJvO9Qte93l+uQf+nq9PzX0PRiqu5vnO2Bje2IiOv8+v719f3y9P3y7ftPtvJNt/BVsu9Lue6Hiu2RgOubfeqbeeqXgOideuigd+f69/7w+v3z+f3n6/vf8Prp4vnH6fjp3/jA5/fXyfRZr/JHvvFXr/FrwO9Rve/Due9fsu9lpu9fvu5Yse61o+xum+uLheqJkemgdOmnkuiUe+j3/P71/P75+/7u8/318vvj7/rc6/jb1/VXsvLHwPFzye5ipu2Mhu2ymux7kOyEjOmeg+emieagfuXo9/zk9fvn8Pvt6frw6PrY7/nV7Pnr5vnJ5Pfm3PfE1/a72PTO0fSz0/NKvfJeru+Twu5roO66su1osO3Eru2Nq+1qq+yMpetyoOuCm+utneqajOipjeehiOeihOeLhualfebx8Pvp7vrN7Pni5fnV5/fQ5vfg3vfV4/bD4Pa54vXPy/OCz/KnyfK0xvLTw/K+x/GzvvGHyfCpwfB6xu+guu/Kue+Mte97ku9pue7ItO68qe5ztO2ur+1Yu+yXsuxuseuKmOuqpOqWouqtk+mWk+iKjObs9/3n5fm55fa+3vbX3Pbk1/a02/Xg1PWv3/Oc3POt1/PWwPOS1vKj1PKd0fKtyvLPw/GcyPCKw/B7ve9Cve+Hue9pxO6Cwu5zwe6Dt+62sO6Zr+6ese1/r+2Eoe2Truyfq+yapuyCpuy6n+uOnuuZm+uYleuwlepypumhkeiSi+iRhefQ1/XR3PTay/SWy/O60PKZz/KPyvLIxvCVuu9bt++Lve13ue2zt+2msO2Ro+2ms+ysqux6luzDp+t5oOqmmuqNhuqxoumkn+m1nemviufl+fqo2/S6v/Cuue2yuOxBqZCiAAAHmUlEQVRo3u2ZZ1ATQRSAd+9ISALpxJgASYBAAoGIIEW6ShdRpAjYBQTF3nvvYu+9995777333nvvbcbNJSjqDBIu+0u/yeQ2JHnfvvf2lpsLsAG4QYr/4IYkAW6aNcPrQNEz1x3Kis4AWGm+I+FAXMKOZgAf5Igs17i4uC5xWW0gwITT+BquXbrEoYfroUgewILTlsW2trauroaHbY1oLO1HjrJIkjBxYoK/ra0/BgsJWeMXVyhbtkKNz+GZ46v6+6NRpMUlILKGwVE10glCRuuZboZxa0tbKlet4FvW7UgbBoQkAzSf7qb29Z3pbtk1Fj5dplarj7SG0HTaI4vabVeGJS2MbX5qtaxofZrPlKllD6MJyzlgm3kymWxeJFnkT63n+TWUHWluOUnmPRQwcROrSGoQjkv0S0ra6WSpPMC4xIYNG94W/3be7Eryi59nsf3F+TA7Nv5xZfhbA9z3x8fG3raxUCbru7LZXddDgvh11qhgsbE921ho+T5is9n7wiEC/IK4G7sre69lutJOx2b3bAf/lIDRPbuyl1a2yFXTXpRIN7FJQqKVxSjcazK7yeXybZZofb2Fcrmu3c9FlZHBKpSA0X3k8qPOgD4ddTr5QWdIUmGbj98xceLW6GYkMqBHxMFsXZ/R9B21u2XrsjsTVD8ytxzy93f1t03IWpdhmkF29exJBKRdLXtudfv6VD/C7/q5VfB1c/NVuz3cmQmh8V2uBeo1jlud+4g62XnbusbGJx7edXd/YlLDxE3U/DO6GaZA10FMQpLOhKEj9ZfK2Y/bRRC8NZ2XstkLK0OqXlyuqCNNB4yYw+VeGWUYEbuzq9uPIiCDALzOOl31zkiMzPbdRXt5NCUt7Lmik+5GnUg0iSBIBlpVa46KuA+oGkbM6S46GEFTMrZfd9GD2tR+eM6zXwdIFY7kzUj27E31m5wkEtm3oCnpkOyZvJsqTItTjpqbJonTDEfH3uWNi1jUvd9YQI/dyZ6eHahR+Wdz7aYaJUB83G7uceP/F5Rqvw40N65ZDp6vxxqHT728ztYBFBtSvRTTWNTyGn7O02EypCURL0GSesZxp9UBAYuGoQFrzMWAnNQNxl3ZubeDwwweSrDUUCHOuQNqpt7LlTlD399v4NFjYEqO8piAcgDBEgeHWTa0UqnTF3XYGRrjrb2qZWqZwcHMwEDtm5bwR0EdlohpSYafcnQ8LTZJQNSAYGsOh2PFCX7XFpggZ6BPeNOSVDqlcTwuAIXUndJ4SH5+0/Mx3uAH0zSavuUBLUl/jeZEbVAIhGGtoqJahRWd+GQ7+hI7uxPFXvUgiV3fOnQluSiTv0gu0JQsU+SeKV4yLdfuGb1yDV+mUJwVg2IgvubOXUFPUueCQrHCu9iN5zmahpDeEr7gpSh+noIzXl4rhtGRlF+U57WsU7Gri9cp1Svvm7D0DsGTvIDUTiwGo7ie8Cak5uV9KfXFPby/Wh8wlQeRpNhcpq4OWD2htJIxq/T6F8K/XrpB4SJ9wKWRsFR9ES4fOnTVyJJ8de2qgJRFAkiWQuIxNGVoNaIkEkajnJxrDUAp8H6fknKpEigRLS+9TVkuKIWkwXWl8hgLlAhWD+Xba2PMd7COKQOve5gzo2rm92TY1cDAgS1BCWk5UKt9421+tYIDtQOEJT5tl2sDB1YxW9KIydT2MLUEAlDOpe1vxnJ1yxVtipbJjIHmtmQBk8lsZIzmUsWjWs1aAz0A/CXVWjWreVRxMZogmlN6NbO3rQFMCXMCyxi/SbB1OpM5oMg1CQTCd+np6RUHF5omMCWcBSwzJXVrSSTMxii+dXq6tbVVRYlEEtyI8VNC7Am2tkJYI5rUqjl7AfpAYzPPFOgzGMXgSK2tJFYca4MFvWoSw4KF73sMNhnQgcORSjkVKwatNHfDbzVEKg0JCUHf5+cPvrxgT0xTDidoyOxhpjxnD+FU5Kyc0qtx0yZ8qTQoKCgESQa5mClpiyR8fn7Txr2mbGwZRkA4n68KUfFXzt8cFbV59kopPyjIKgYwwnzax/T6MKhJiJSvUpkvaUrFbxWG+gARwOcyP0RVRsUPLcjn81VIqDqP3jMABcg0/8Og/EE+ZvZEGOUj4KEj9YJ6rnKZH1pGFVqmTCg/DT2FnvcpXNIkOjLQQt8sBLRp9aoARUeElklLK5jvQsktTrmNrz4WpKWlhRZ87BVlQxBIggOWT/tb27ffau/CMpURG7AwPE6HUQLx5QE/rdu6NTocp4R0isxyPXAgIWsEga9UZHQNf1uEa9UR+IpVuSr6eWNxgm9Z6lcNPPB2+smS7o2InI4OmwAm1uyPj98XDqD74aT4fWKAh/o9DTehAQnX62IXugM8oLvAC1tQvekjRze28TCqD/cklQC6nWdfD+Chnr3oSn3KdkV0sg7AQ8Qcz+Q7EEBwJzl5lg3AxFSNZokzAM6nHTUdAC5G9rfrfxOAGy9f9h0OcFH7uSL3aZj3mdy503gEwAW695h6o1OeYtlIiE0CBS/0+osX9fonNgQ+CRhzLUefoly1FiAJNmx6aAOVykYsAqcEtL0qYQ6oC5EDJ3usBrcHuBHW3M4A2KkrBNiBEAL8QPAP8x0ZyfbHp+5ubwAAAABJRU5ErkJggg==",bte="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAADAFBMVEX////9/f38+/v5+fj6+vr09fT29vb49/f8/Pz3+Pju7u7y8vIHWenx8fDt7ewJZOvw8PAVfvH08/MUe/EGYOkPcO4HXekmsfwWgfILZ+wJbu4kpfsQc+7m5uYJae0hmvcJWuspuP4ekvYbkPQLa+zq6ukjxf8nwv8hl/fr6+smyP8kvf8LXukotf4oz/8HZusJYerh4eAjofkMa+8Mcu4Zh/URde8ag/Po6OgUePHd3d0s1v8djvYObu4HV+fW1tcq0/4nqfwknfgelvYfivQWw/8mrv4hqPsDgO0mq/0Nee8iyv8drPsnp/sNr/ohovoBnvUClPIjwP8jrf0Fh+nj5OM94P8z2P8jzf843f4Uyf4GqPkcifUOgfAEiO8MYusG2f0Dg/AOfe8v0f4C0/0Muvwgn/kXhPQCjvARdvAD3/4Ds/IWr/gCeesD1vcUh/Dk6e6gwOza2toA2f0Tv/0Fo/gBmfMYjPIGjunx+PvW4OoDgePS09MJ5f8W0P9C4f7x8/SHr+sgeOrg5ughZ+LP0NAx2/8i0/8Mzv8E0fcfnffr8/Y2pfXV5fTp7vCTuOs0gOkLZuZ0oeU4eeNK5v8T1//l9fsQtfvZ7/hPv/MumvLP4vDD3O+pzu/K3e7d4+zH1ehUiOLO1twj2P4ou/y53vdMsPV+wvMQsfOV2fK20O9truy71+p8r+o/m+lmlOIg4/9FyfmE3/VuyvXh6/TF6PRZzvMxsvGTw+8tjuwFcOoVcOlNkOhEgeYxcuOAqd/FztEywfkEufnK7fih3PSVzfIMu/Lb5/C35O+Fuu4jcegVYeTHx8kw5P142fe91fGr1/APnvACqu9Moe6sxuofgul70uilvti6y9Y76f8P3v4Gxfhauvfm8PZq4vaP4vVBuPWAzPFxvPFAqu5moexfreq1xuDZ3d+Uu9ubtMhC5v8MyP5P2vtW4vkem/ir5vWe5PWr3vU1zvM7ku9s0uhboeas0t04id2xwtNI1/OUz+Bsrd96odS6wcVzvuN1vNeI7X81AAAQf0lEQVRo3uzXfUzMcRwHcNzd7552t5/zBxvNaB1p2mo7TtfmyMOMPJRKedhZp4idJk9nyNaUW/FXcSGsRwlTuS7/6QFnUwtj8tCDh6EHkZiYh/f3+z1dHqbu5D9vf/in/V69P5/vt9/dsP/5nwEz/Mf8G2DYj/+GmmLAz2HUkBH9BMkIFsnQDq6PoA8XCqQCRMgYZ8UhqoECQrPVVlCLFNis6Rwg6jBoKGrAMNcUl2dXTcjP9/OrqiotL7Y94sRSIRiWoRiVuaC8ZfTUqRMm+Pn5hU0KU6vVpeWORxwHhhKeKzDYtIQ15XYQMAgyaZJ6klo9ZUp3vU0h4gRCCVP+7nJIzLUt4aNHQ6FI2Hdk4cLS14dUKCNhP/dXTQ632heFE+UXZEVs2UWm0HhcBEZRaHj4vHn9EAQGlBX+/vVWucjjLqwGM2YtAPJTExDE8I+tv9ineIQgEvOV0PmzZi1gCBQgMICwIrH62OZDcg6KZ1XYHXyTMTYUSPgCF8JWAoMi+t43vGv7Hm3EWrhkbCibF0Py/cLCnAg1kI4ahUgsYIon19BcFDiWIlBolan5SJjahej0uqiyRCjkVqK9B9MqyABC5wUEyW690tBQ3Fo6Rf29iE4XFdXrkPUt3/1pmR/HBQYyhKy+pfV4itbHxzfxWHGp2oWkptZfVABxvwq96gUZcYFLnFXmLShsSNH6KpUymYz3dVRQREeKREd3OHgV2YoHTSTSoldAoNDVPzzrpfWV8QqVSqRS8LYKen5hpEZHR5cdYlXcVMg7yvrkVVzcEraV8MKzXj5KXi7ixGIxx4nkUPTOIpGRncdkck5AEHdXIsmZ/CpudiDdSmhGjpeWGuS9KJWKOXlXqZ4Z0cmRyV1K3rl6t9ceMn72bChkLUUniYEH4T0lIe9gLr0slhooEplclsiTU+z+uKy3Q8aPBxMHpvA49gFDwF6FVKnpAMKM5KZjMhWZF+LeSgqOhkyGQssURfjAELPHMEW8rxlLZ0Zyp0Op4DyY14hK78kIYeIysHVehSJ4ikup6UhlRmZm5msfnpwvd5uYS7xDnMjsZ7u8lAoVfaOzkLVw6U1OAylLlKncWgoMKIdve0+c6FQqI7RKBU6vVNAXHLB9r6MjwbS1AWm6ppRzbiL4XQ++BcKYo2ci2PntH5FIYUuuq6trbGxra2vstOG3ELjZBHu/5O1NEOT2qQDcRNx2Bc/LeB7/K3hEebDzAkKcxkyHVqaSCt1sMiJnjjcUJCTk2fOggJRdNseb2tpiktoGx4ldKVptSlPCHhpIXdgaJ5C4hYwQVq4KJiFMyfuPd3squvV6vNRXxMTMnRtW1ZJd3ppzFghLQkKzly/uoztVhksE0uub58wJDqZt7N0Wi9FozMpKS/P3XxgT0z5369Z11dWj7fb2pARnygJ8eHaRBl9EwJ3bPAfZEQxoo4UgSTDS9KiCLkRZd2Tx4k2Lqx9YTAaDIenu8whfBTvkg96IdF9JvGYVFNTxvmqxmJKSDAaC6Mm8gKyjyOKVSPUDo8nYkxvkpZRTZLCXRChOfxo/XaNZBWhV8FWLyQQjKy9PFxu792dk29JtGx9YKi7PDPCRiQTC4cggatBpPXo3Zjqi0WiAwHAiev3eAxTZyhAY25Yit7I/70cVFdkKMpBBj5bY2nyUIvHxGs0OiiTdvw9ER5CYX5Dty0I+fUAVnv6VxCMGMjAsc1en5ebIMTTx0zcTxJBw/0JeXpRO1w9xGduXLdt5/kVuhBJ/4Ab6MOn8WmVtTk0y3hxJQqWrOD8ESU2NitLtZfNyIcxYtn79jk+ncO05bIXmT99HJMKapiyDgSIsQGAQBEnbazzQ3u5C2LAosmb5+RzcSOkfv3yxT7/mro68LAOajOrLaZMJRl1vRc9dBJc/u7Rqa3U1EGcRQgBZs/xSZaLij1++2Lk63Byly8PlsjiRGchNU3dvz8f39y7v3717JpKbe+/9xy/Z9k20CBsWDGTtnXPXVBw7YmB+u3MY+HigS8vKMhpP0+dPm7Zhw7hLX19+vrF/98wtW4KCAmiCtmyZefnDVztBmEEEZPXmkoP4SAOF5vfGt17NNabNKozjSunAt6Ut0FZa24LSGqs1LbbY2gjEMUWJZlFG4ochEZcRsi1QPshkC4HSxQUGpW2iDhgXo9uEAVGJjruXIAGMqIOwxJnoNnGLiVGXOeMt/p9zerUx0S/+tyVLOO/7e//n8pznebZPkHpyyL6a+yEdpAoRo6TRXVCp17uY9PrKAnfJ+a/2fQ4jMQYgVVWXuyTMC7eSvB4vfULF03Mvthzds+ejGgI4VNDKVTDcuFPMLEnFpSLIZK5K98/vfrBv3+fPxxiPPgpIJiixmzrRCPOBDJfU0rJnzxf1Dh0A2qKiIuPvHx9pLHDJhAyJmAuZqmCq/PX0y4xCEIbgkMzLSxJxhPJ3Iy+8RVUHCqinW44ePfrFQZVDVVRkhwzDHx926ynxitzylEIK7Rf373/5NCifPwkGCFBNTU1mTfYYKhYRp8QxSKk/vH831ZvgtLQA8tl0ERhGu0Fjnf+lBIEJSbUoNTXSxhEr+k4+vn8/IMA8uQuAAwcOgJGN315/tyQtkcKNpH/4JpWbxMG9dPS7n0ZX7HajQaORy+WrCwSR8BNASk8ViRWfPlQBCsOcvn7jAKkcwq6s6xlRiEGJnzBer799J4mBQHnz5/Mhg1GjsYKhVA+z20Icl9yJxN0Xyx4HBJTT+y5dvQoKh2Df15XPLkUTzngjP7yPehN9AMLc+fA7Z9wlE1bGqLYp83ybblx8YchNHNJ/qawMGGbmtz8+3rwxzSA4Wdj5M35Kz+OtsDr3OLoAJAI9/E4/TtyVGY0cDItSLS2eKClwCQhLMSetpzp23gYIYR6/grO6NTftgHR85/cM8GoVijJS30DxDHHS8TOVOHdDIbJhYxDflhtxHNlIdE36Lu3duRNWSJd+OXK4sWC9hygqrpmx7oiVOCP3kAh0z1Pvf6pHAWpqD9rkNqXaYpFKmRUTRdiokeXcDlC4lz/fA0Pv8ni1Wi0RsC21sEL3ZBwk9Ud05CJ67et2HApBZl732ZRKtToPEKwKv13TuZFb+sfv4hQszLHNwyUUDyaD01qS3Uh//ArKXqIQxPe30W3guuf24wOoeCgTHRwmBmxI89TYYEgUMM3pxEibHL0DkDDlm/dKGispjx3oMRiNeD/JMNsQl+2R+w+/4gTqbNy7qDcJGWKxRCJ4VtU0VcV5UotldYFlVpgBpADixd7S0u87OjqoOj52BUEHj2RJMtoChqhW1li1GoP8iLffG9bxAZS5WUjbs2AFJjBXeRabzTq/VaCX0e5HKdc/np9fWprLvcAIiwd4pC9k1YRlDfgFKryjENEi+ibQraRTDWaBytw0sUThWWUMtdImt1qHkdwLrIBYul7fRPkryorvO3qvHG6sNOOzUHq3Tiix661M8qBMwaY3UlW9fWtMJ1xUVeGDEQQHh6URiMZgnKBlkWSJJ0dzagubgMkvhZgRqlrxRJonYKuulpOqlcPtAnZKFNJ5gXqMj0AVj7x7xsTCbSqqQrGw7gPEYoERQGaCoMiEhrGNnBxnIWGg3k0yQt+MJ0RrPqUFstkQjOYGsSgxyEsXKgBgkIqTWBJcOoihoEgagsXwoayWazTYlzML2Krtbd5ySpVqkVwC8xs3QsETT3TNq9VqJWSzKUPN8ZCULy9UVDyG9hxUdrLZRDU5QjpOg1gYmGOThdkCxOFdePXVBa+jLptRnKCMny9xV5p4awVndHI+T81ksahDzbJESBkQD1HLqQxOqOeDSwPPpElk6z4lLbuBToDK4Q1OzGgduvvLaximduoKnXX2Vawo7pqX0tkFRP13SOcFdDMBKYOOYU0ieTOsKBoWVpVyBilSqXR1RissgfJANrlxLhxhNw0/pHjT2qqUC3FibjABIr4ICBC3kc668DPe30intW+esMgDNFsUlKxKq5VwDl15OW7a65gsimmornm4aStmwo7Mk2J3xSB41+ITEADQzpPN/KJNZ8XQtgzz0JxSrrHbYUSDqYYrWh6ilM/+wiYrnJyk35wyOQeAlGOKg6YESOrrx8IQdJ62nzULbAunh62YtkJWgmiUiC9qzJ0mTLmxySYLFwfbJ2jDtVmkzAShVj0yIStuulJeOclM7CRGxyWkzfw5FqYyZPr1kMFu1CgpkLGtZqDJc4SuUoR3CQwCpYjWfbTghIGd+SFzwolPaT11H9PevXu35+aOexqokyIiIbgI5nb/isEQsFHQpzBms1phxYtsjIwIEgoPmN9O/wodEYs6j1Q80SBLiF3pIjRnibGdGLmlvaMjk9RLgQBZWhubm7Frqm2YCwR9Cz8204du/L756rd6mSKDtQy/HJnw4QMA4W5WPWYBX5oSg6R2XtwOABFy0ecoze/9ZvlEf1dXV9+aZ2zWq9NqjRq5DXdkMZsxRKfpQ9DGbNB/or+vr6//RNvsipUiVjW80CkpHm42K/hRiGaosLI9xkAXIr9px9S1a9emNjay6+7XqbR2jbyaFoVBlGCQKKHz9kDeGY0B0Z3nNpDF4vOY2WylxyDpos5TuQmMBx/cXVhYW5tTVYMaRacqsmsCcnwjD8qBA4cO7dq1i+WlSIIcDi2sGjUGRqm2kJmJQbMirsPK86htXefCCMbIf3D37t2FtTk5yGwfqGMQPl8UNAJE4BD6BDh1IDE3UrrJKHATGjIxI/GJBLb4tk+PAcEZ6HXsAKPQSZDyB+4niAHzhSAOyPSug5xR9WxVGAJKEZIHg4FTbD4PMeK73rysFrUu9tJUkQ8OYYzMbOSEBMHKy202tSVw6CBEkHpWJ2Rn1xFFBQpSZ547+9pwu0bbifFJvajzLLKDCGMHJotDsnW6MASLMv/7wvhB0jP1z9RX0c8zuRVUMlQCMIpvYdAsk/DQlJgMI4J0Lvbm35EPEYMg/B1YWLwCkMB8cOvwkfNjhKmHnDlEoeKVVoUVMzBjXWkbNAmsLwUG9LeGSuvIuXzqcYGBBeFG8KG0rlprIBTc+tbtdjd+e2ZsvKm+sN5JI6owIhsQjAEGkMCcp4GlO9xHohOipGV1LV9ramoiSHS2UAFji64M+4cq9UiRSZVDZ69P1dc6a8kKUSiRBwSrMh8cMrOaTJRUNeKvnCLu7F8e3+EsZAwnN+LQeWfHRppNZrPZROkrZDYNri2fm3JWVRGEBsEucoCe4Eg7hmQkMTgF4pSs7j7P6LmpHc4c2jqZGz2zl/0jzS4Tb6dKWrOy8FsikSi6l9bOjs72bGDVYFbn9c5d9gy4ZDKFohU3BTGSK9OoF1S23Uv9JzzLy21tfs/IUHODWSYDQSHJopjJhfySGrfdgwMjHn8b5F8/0+wym1Eh0yhRMoMU7cGjsEVSmyEI3QIkY++XSAiwjbW4UyFW/m6jz5EgL2ejumUCxD+E8ilO4IxkLyhs6XG8N4OLAGSBAOwCZKMgkFDRhwdSR7pVzAlAJPpI9oIX3ML/TYkEQLhJDwAfETeQOcLUkTCOIzAuyUeymZTwlECgiSIOksQregzkIqv/4j80xD/OUfQUFCNgTKLww5SIooSkbleymX8Q/1lsWPLAf4Ug0Zh/9SSn/ncElPihyR6SvyjpFwb+//oLYHj/LyqNdWsAAAAASUVORK5CYII=",yte="data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N//AABEIAFwAXAMBIgACEQEDEQH/xAAbAAACAgMBAAAAAAAAAAAAAAAABgQFAgMHAf/EAEAQAAEDAwIDBAUJBAsAAAAAAAEAAgMEBRESIQYxURNBYXEigZGhwQcUFSMkkrHC0TI1UvAWQkNiY3J0orKz4f/EABkBAAMBAQEAAAAAAAAAAAAAAAACBAMBBf/EACQRAAICAQIFBQAAAAAAAAAAAAABAhEDEjETITJBUQQUIiMz/9oADAMBAAIRAxEAPwDuKEIQAKPHXUctVJSR1cD6mLHaQtkBezIyMt5jYqQuAfKXTPj45rJImuMk0jCzTnVq0tG3q0rqVgd/QuY8HniqkhY2turuyxnsJgJXNHi87jyyUydtcnHP0jL91g/Kn4UjJ5ooakJZZd7hSnM2iqjHMEBr/URt6setSqbi/h+cY+laaJ42dHO8RuaehDsJXBrcaOSMti8QodPdbdUuDaavpZnHkI5muJ9hUxKOCEIQAIQhAAkS822E8WVNdLpdoa1zHfwEsAd/ta37xT2UlXU9pPWu73zaDnpqDT7gVpj6rM8rajS7mAlw+GAbOly946NGPjgepWGsDRnm7l7MqipnOkuUs2fQDQxu3QnPwU+onDaiJo/s2F59mB/PiqE01aI5RcXTN1PIJJaiM7gP29g/Vcy+USkNHeY5Ym7VTMkDveDg+4tXQbUXmaR7xjtJHOH+UgYUHiC1S3O70HYQ9o+HtHAZGxIbvulk/jaNMUfsSYqcD8Jurr/QOrgfqnCqdGP6rWEEZPUu0jHn0XdUr8D2qS3w1ktc0MrppcOYDnRE3IYM9+fSd5uI7k0KW7LZVfx2BCEIOAhCEACQ65xllcRqx28kp08yGh5/HSnKouNDTP0VNZTwv56ZJWtPsJXPpL5aKZ9LV1dRE5gB1BkrS5pc7ngHfHRMr0uheWuOrYvG2csL2Ubi9sEun03Z15jaSQfPO3LcjZaJbTUR656naJoc+TS7LnAD9kePTyVtbrrZ5aRj6K4URgI9HRK0AeruWVbXUUtO+NtdS4cMHEzf1WGuSN+HGTK6UTNuPZyRRsMQDD2ZOnIaDgZ6BwHq8cDGC40lFd/tNRHFJ2ZLBIcBwzvvy7lFdc4hWfaK2l0mQ+mZAMkjJPPHIAexVf0hb5uI6jtqmkfFoY0apGlp5k/iqsVOFEmZaMtjZaby2634imb9njp3gyA+i92pnLrj4pjStaLla2Vxd8/o2hsJA+uaAMkePgmhrg5oc0gg7gjvSSSTpD423G2eoQhKOC1VM8dLTy1E7tMUTC97ugAyVtSn8ode6ntUdIzI+cP+sdjYMbgnfxOkeWUsnpTZ1K3RTWCrkuD7lVzjEktXqI56fq2YHqGB6la6W9B7FQ8HkOo6xzSCDVHcH/DYr9eRNty5lVIx0MPNjfYsTHHjJjZ90LYsJTiN58Cks6VNJUht/qKfYRSsbob3BzQDt4kE/dVxgdEtVYdG19fG0l9PVB3ojJIDGZA826h61cm7W8HHzuP3p2r2AmFocMEDCsuF6smKW3SHMlMRo8Yzy9nLy09UuS323xjaVzz0ZG4/BRrfdKgXSG40tHWvjDtLhHSyODmHZwyG+GfMBbencoz25CTScTpSF4F6vTJgXhXqCgBNd+9ruetWP+qMLNYP/e93b3irHvhjPxWa8fN+jKo9KBRbjKIqV3V2wW+WWOFmuV7WN6kpcuNf87m9DIjbs0H8VmOkWdoayakn1tDmumO3kAPgpLqamGQ2Fod1I2UTh1wdRPHf2r/xKnuJaSzSXuJyOi69wCOnjG5hYD3eir7hhwdb5C3l28g96U7jcexYYm7Snng50j9UxcDHNhaes8v/ADKq9H1syzdIwoQheiTghCEAUlbw82orJ6qKuqKd85a57WNYWlwaG53GeQHf3KDNwtXPyGXtzR40/wCjgmlCzeKEnbQynJdxGm4Hr3nUbrDIer4HD85Wh3BN1b+xPRu83ub+UroCEvt8fgbiz8iRRcK3imiAE1G14c47SOI3JP8ACpEvDl6mbg3CljH9xjv/ABN6Fz22LwHFkIv9Bq487nTg/wCncfzpn4etbrPa2Uck7Z3Ne9xe1mgHU4nlk9eqs0J44oQdxQrm5bghCFoKf//Z",xte="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAADAFBMVEVGpf9Do/8AZ+VIp/83m/1Lqf8AZeQmkfkymPs7nf4Cg/L1+f48n/80mvwtlfrx9/4cjPcZivX3+v4BaeQBgPEAbeg+oP/v9v4BauYBfvDn8f3u9f1Bov8/of8AZeMqlPr4+/4Oh/Qjj/ggjvcAXsoAcOnt8/0BcusIhfM4nf7l8PwSh/QAe+4AduwAee3k7/zz+P/6/P4BYMwBfO/i7vwvlvsAdevp8f3h7Prk7vsAYtLp8/0Wivb9/v7g7P0BZ+Dd6/zc6vwAYM77/f6Ns9yUuOAAZNXr9P7a6PmcvuIBaOKXu+CPtt+RtNva6fzS4vYAZdnV5fjA1++20OvY5/re6vzX5vjI3fS50u0AZdzU4/euyuixy+elxOWXudzL3vK91e2dvN+Ut9sAYdCzzemoxube6vnG2/HF2e+qyOmgweTW5vrK3/XC2fGsyOeMstvs8vvS5PnP4fXM4PXO3/PH3PPE2/O20e6zzuywzOoAcObC2O+jw+agwOGbu91AfdGmxugHYa3z9/zQ4/fN4faiweMAbuKaveEAZt4CX63Y6Py50+/B1usBdun////o8Png6ve91vG71PC80+qty+oAeOoAc+fY5PTS4fPJ2+8Bf+260ekAbeWsx+QAad4AbNjf7P3i7Pjd6PbA1/MAe+yyzesAduYwlPcZiPErkvYmj/WoxeOkwuJDn/wijPMNhPAXhO4AfOm3z+iFrNkAadIvdNBWqP1ztfwuiOoAcd44edElbs/W5PakyfVdo/IrjvF+sO1QmOtTkOC32f1OpP2Cu/q51veu0PeKuvI4kfCbwO6Su+4hie4KgOwGdeITZ80caLKgzP7C3v1erP3L4/xyrvNHmPGvzu5yqOw8kesQf+kggehGjuaBrOIeeeFnmdpXjdcCaNYQZK+TxfzB2vc6l/Vnp/GkxvBjouxbmumIsuhknOQ4g+Iuf+J6pNdzoNIcas5omMwmbbSax/hGnPVTn/MRd+d1pOF9qOBDht4NZc0yfNgYc9hfkcg4d7owc7j13NKGAAAKFElEQVRo3uzUP2gTURzA8RMjJlzj6RsM5BRPhQPjkGQIyXFGBIdzURDESRzEQVDw/LOJQw6XiFwEBwUR/DPkjyQGhMSliZI/rRohSRvBNbXipNjW0T+/e7kber73ajNkEL+06aP58fvwrn+4TRNoMsjGCTQhhIMPy1rHgRsdOPcBPvGQ68D9b31tmED/ELJjAnE7JxC3fa2mnMP4U9zUFEzAy5TrAOHDxrkNo4P9HvEAUzsIbzkbAWHm6wUaFd9aQ5VGosoY4nzsmodMc76yjz20oYFQjzGzBuKpItM0+xxT2bdgIKlfZCD7WPn8C2YS6vkYQ565gxJChyoe6gTnYbbYsBBTqPrpM8WGhCQkVr3UCTbiXzkGCCg3m1TFXxWRJCFjYVzEWxMBsepRjWIfWQiaWaQjflbZajQ5Sq56ySPeloEQGOjGCkyQYyLe7LJ9kcPJfpE8UpxHOD7xPUtFvKyybRMTEN+KkSZiLYPHhqEPsrQ1HNNYvGQCMep8MxaL+X3FZrMyV6k0i0WPF74BF+ERDxnGbH485HsYiFFRaXmu1WvM33wYDgaD4YPH5vszC9VKKwDACJnOxmhIjFH+k5C0CUhQUdRKghB+QUIozttFjI+LWcoebgu9bKEVdQic5IRG8fhJOcjxlTxlEROpLyejQDi5CAw4REQQHtXGQfL1djJKINyCELGMgD4o7KIgu+jlX99Irn0LEMAARHxbz5MXcQyj8D7xtwRGZqjIZmr5Uk12EVQBIx9fF8ibGEihNOAlN0EGgAgExOPvx0A6sy6BQYAh366VxkCmo/TnJKwiMJIZlApkZA+1Ur0dRSQBWg2AAMn6bKdA3MRCXl+SkGPAfVyCQwgRARuarE93SmRkL7Xc+4RzCySeO3VVIF5CPvfgWhyuAenteom4iY5szdV0+zmhzNfucOmo+IcgBjLPl4ZLXxRR1jRVv/JhGxnZSq08MOx/gOh0KpVKd+/zf/wghKfDdCo1vB6QVVXPHHmV20vaREdK5VneTvyRtpTnEZtwDOgrfuebCsVDjz7ltq4PyZWnkY0EHMRFyLKDxMGIh5SX5W1EZButXKeN7N8n/vownU4v3YqsEiBNPNWFd7pPtXg8GAxl3pRzpFUM5MUFAKyEiP78V/fnddEWbEDTZFUOnvnZ/XVRAQIQZaazTqT84YRhCTjx3q27LkKWVav41TtXg6PCypMXZOQApdyzV4rghP/kRMgW4BMD1kNSNdW6BRRWLn94tp+wi9tP691n3RZwWNDsxyQ7Ai5kpyROvnpGWsXtJgfIS9FFiJiAr2dPgeQmwmEl8fjTu/2EZb8pJ3uYJsIADDu7uJgY4+RijLE41JC7mJB20glT6A8pxmpCTgyotaD8NHFA4oC59DBcr1w00uPayaQ2cShJUWBQgcBosVQmI/g3OKiDDr7f992f7d3AE0rb5Xnu/e564DhK9OX8gP+ljfWJI4eaCyfO55/03fvx43LvM8EunKGc5TlpacOaAg+DRDwo1RcnzAKw7gT/5Na9ePXqrZscEo4CgZPW6iW3JSc9KG2/njhmjmDgPoDz53BS5HfhmEATHR2cUNsuubg8I2pl0DnC9V6zBCuAuYgwXVHdIgc9UN+HmkZYBccGu4AGIrH3qovLK3JYXeao3n5e3RPUTl5zgUDkwsVl9fA+IuW9DBJGAdin5NzAcfB3BCKRABKB4IXqXnlfka1k0jqm1gKPAMAOYgdBQlhZco0cdkctv00CFByHxJ/BH8/ziLAAJpj+zmBn51Q4ul5WW2Xekd2k85QAj4ZVmHNOQIIwNTUQ3a3vI6LX3yTNDQB65rdOiWyIBFmDBqbC4fBAfGRbP9oaOeqOvj2ftBNWo8OxIUhhE5AgjYH4fKXcKmuK+J+vvnuFd1WuTJ6yn1ZWMCawDdBTTD/ldvxOo6x6R1ji5ZuQEPvpP+qXG1HehD2qSESApYfZkkMfCt0G9xOfZZeI38HqIpfJZKRPfr8uLmt5nucMcPGCEAwKFyhEHo1GB0KAuOPETpicHEpsFXV/M87Iu4+ZDJ9JbdV1v17ck/IcEAhBAXoK7IDZnXIwBAZjiSW3yGmL1Y+ZfD5fa2wWZV0vbkmSACy9KY8D2C8CyFOGnBADd66tb+qnm7EjzxfRkNZ3ni6gIhffSpqmWXrTDjXk91Op1GSKuWPUDe4SbqTXdmTdM9L2UstL0trfFy+eLiCyuaZFTb9lh97DDv2NeULX9e9iW0ukzWBjF42uP2iQiPhrV6tGq9WqqU+BoWGqTxj2a8wN4J8mPAJj38S2ZsyIrxLD+XxgDVEu7owoDv/w8NDwYCJB9JDbdly5ZX9I6RltZGWvSPtyVdOUFaPhy36fzgHoCQkCuXZA3Ol0ugtQOVOPmHR3r2R9LREfI/tZUZQcIgtZ0eeTs9/6c7h8pocc9Pf3Q0/tV64we08Ps48SarXRQq1Q6Ps6DsH/GBFxnESUr6yBr41ZGjD1adBF/QBy2LsBkRcKhbGZsRmD3r7fXpF28cFKTskpXxbGxXby9fHKbGKW+W096CEYesgJvTO9121uXvqwmW1vjvyjjIx5EwXjOPwp+g007gwdHI2YWDXpeMkBF6AmvQ52adKEVHQpLm42jQSkH0AnPZOLLk3Hu4H1kosFx7NXz6lVr0N/7ytCQBz6DCR/As/z8ueQcquR/bQvnxVvfNJ9f6C/DOlvNvZ6mMoMkQh+5O1r++LLxezFG191+JtU3wpOf0L1n73Dl8v1Os9fheDLxUdlJ5KiKNrdsq3r+un971TqEOPktAl9CwGD+E8A0YNKpVIGPE/812dR+MKjkorgR6b/P+lkRT/+fH/BOGu2jEDPcdQe6GGHPx9DtfGs3O6L3H1zdL1JuPl5/+vpyuhTP+f5ff01qFar+XwDFHYRxb9mMjaSRCRnTxBpUQyj7/tB4D+DHn6qZ2MpiCttJ5LcoFlTebFEBP4+LWzP34W+B7+v9/zFeFh1pSnJMNuIaU3TmbVbRgUNDo1Op9Pt8r0eAsF2BJaViD675fw8G6IoqQ9H+yKKZuVkhhk7LGcY6HAcjXTRwB8QRbGhqoIgSKBUIu6ALO3gbglIgvhgmfsipnVMKow9cp3XyUDkQAeQTg8ZgAwgmQgSQQAqkFa7kQMPU8PCSCWRSOA6rrnOfDnIFllBFX1UQEtezQviwwaDwXz+z3Hd2nBqmQdhENlWjqzjtJxhNiRoa23bi/F4PASj0agWYQSGAE8sFra93rwm5+IjQSWXluVMxs98HIZ5724OkRgIYSgMdyp6gRhUD4LJDAIRFRu9l8mx+8os7LAMSMR+/r0fEZpGUCF2zTlGlErqsv69pHREXUcCCbuZolRSkHrdHzRHgVHOJkMk9IhEmNm9pE5xKTeqauZC4QaRAQFS4H/W6I1VXjCIEIVpZOyAVDwnFZ3CGKENXu8NHhT5bLAn8t3gB5tRcTnQFMqEAAAAAElFTkSuQmCC";var Ft={};const Cte="Á",wte="á",_te="Ă",Ste="ă",kte="∾",Pte="∿",Tte="∾̳",Rte="Â",Ete="â",$te="´",Ate="А",Ite="а",Ote="Æ",Mte="æ",zte="⁡",Dte="𝔄",Lte="𝔞",Fte="À",Bte="à",Nte="ℵ",Hte="ℵ",jte="Α",Vte="α",Wte="Ā",Ute="ā",qte="⨿",Kte="&",Gte="&",Yte="⩕",Xte="⩓",Zte="∧",Jte="⩜",Qte="⩘",ene="⩚",tne="∠",nne="⦤",one="∠",rne="⦨",ine="⦩",ane="⦪",sne="⦫",lne="⦬",cne="⦭",une="⦮",dne="⦯",fne="∡",hne="∟",pne="⊾",mne="⦝",gne="∢",vne="Å",bne="⍼",yne="Ą",xne="ą",Cne="𝔸",wne="𝕒",_ne="⩯",Sne="≈",kne="⩰",Pne="≊",Tne="≋",Rne="'",Ene="⁡",$ne="≈",Ane="≊",Ine="Å",One="å",Mne="𝒜",zne="𝒶",Dne="≔",Lne="*",Fne="≈",Bne="≍",Nne="Ã",Hne="ã",jne="Ä",Vne="ä",Wne="∳",Une="⨑",qne="≌",Kne="϶",Gne="‵",Yne="∽",Xne="⋍",Zne="∖",Jne="⫧",Qne="⊽",eoe="⌅",toe="⌆",noe="⌅",ooe="⎵",roe="⎶",ioe="≌",aoe="Б",soe="б",loe="„",coe="∵",uoe="∵",doe="∵",foe="⦰",hoe="϶",poe="ℬ",moe="ℬ",goe="Β",voe="β",boe="ℶ",yoe="≬",xoe="𝔅",Coe="𝔟",woe="⋂",_oe="◯",Soe="⋃",koe="⨀",Poe="⨁",Toe="⨂",Roe="⨆",Eoe="★",$oe="▽",Aoe="△",Ioe="⨄",Ooe="⋁",Moe="⋀",zoe="⤍",Doe="⧫",Loe="▪",Foe="▴",Boe="▾",Noe="◂",Hoe="▸",joe="␣",Voe="▒",Woe="░",Uoe="▓",qoe="█",Koe="=⃥",Goe="≡⃥",Yoe="⫭",Xoe="⌐",Zoe="𝔹",Joe="𝕓",Qoe="⊥",ere="⊥",tre="⋈",nre="⧉",ore="┐",rre="╕",ire="╖",are="╗",sre="┌",lre="╒",cre="╓",ure="╔",dre="─",fre="═",hre="┬",pre="╤",mre="╥",gre="╦",vre="┴",bre="╧",yre="╨",xre="╩",Cre="⊟",wre="⊞",_re="⊠",Sre="┘",kre="╛",Pre="╜",Tre="╝",Rre="└",Ere="╘",$re="╙",Are="╚",Ire="│",Ore="║",Mre="┼",zre="╪",Dre="╫",Lre="╬",Fre="┤",Bre="╡",Nre="╢",Hre="╣",jre="├",Vre="╞",Wre="╟",Ure="╠",qre="‵",Kre="˘",Gre="˘",Yre="¦",Xre="𝒷",Zre="ℬ",Jre="⁏",Qre="∽",eie="⋍",tie="⧅",nie="\\",oie="⟈",rie="•",iie="•",aie="≎",sie="⪮",lie="≏",cie="≎",uie="≏",die="Ć",fie="ć",hie="⩄",pie="⩉",mie="⩋",gie="∩",vie="⋒",bie="⩇",yie="⩀",xie="ⅅ",Cie="∩︀",wie="⁁",_ie="ˇ",Sie="ℭ",kie="⩍",Pie="Č",Tie="č",Rie="Ç",Eie="ç",$ie="Ĉ",Aie="ĉ",Iie="∰",Oie="⩌",Mie="⩐",zie="Ċ",Die="ċ",Lie="¸",Fie="¸",Bie="⦲",Nie="¢",Hie="·",jie="·",Vie="𝔠",Wie="ℭ",Uie="Ч",qie="ч",Kie="✓",Gie="✓",Yie="Χ",Xie="χ",Zie="ˆ",Jie="≗",Qie="↺",eae="↻",tae="⊛",nae="⊚",oae="⊝",rae="⊙",iae="®",aae="Ⓢ",sae="⊖",lae="⊕",cae="⊗",uae="○",dae="⧃",fae="≗",hae="⨐",pae="⫯",mae="⧂",gae="∲",vae="”",bae="’",yae="♣",xae="♣",Cae=":",wae="∷",_ae="⩴",Sae="≔",kae="≔",Pae=",",Tae="@",Rae="∁",Eae="∘",$ae="∁",Aae="ℂ",Iae="≅",Oae="⩭",Mae="≡",zae="∮",Dae="∯",Lae="∮",Fae="𝕔",Bae="ℂ",Nae="∐",Hae="∐",jae="©",Vae="©",Wae="℗",Uae="∳",qae="↵",Kae="✗",Gae="⨯",Yae="𝒞",Xae="𝒸",Zae="⫏",Jae="⫑",Qae="⫐",ese="⫒",tse="⋯",nse="⤸",ose="⤵",rse="⋞",ise="⋟",ase="↶",sse="⤽",lse="⩈",cse="⩆",use="≍",dse="∪",fse="⋓",hse="⩊",pse="⊍",mse="⩅",gse="∪︀",vse="↷",bse="⤼",yse="⋞",xse="⋟",Cse="⋎",wse="⋏",_se="¤",Sse="↶",kse="↷",Pse="⋎",Tse="⋏",Rse="∲",Ese="∱",$se="⌭",Ase="†",Ise="‡",Ose="ℸ",Mse="↓",zse="↡",Dse="⇓",Lse="‐",Fse="⫤",Bse="⊣",Nse="⤏",Hse="˝",jse="Ď",Vse="ď",Wse="Д",Use="д",qse="‡",Kse="⇊",Gse="ⅅ",Yse="ⅆ",Xse="⤑",Zse="⩷",Jse="°",Qse="∇",ele="Δ",tle="δ",nle="⦱",ole="⥿",rle="𝔇",ile="𝔡",ale="⥥",sle="⇃",lle="⇂",cle="´",ule="˙",dle="˝",fle="`",hle="˜",ple="⋄",mle="⋄",gle="⋄",vle="♦",ble="♦",yle="¨",xle="ⅆ",Cle="ϝ",wle="⋲",_le="÷",Sle="÷",kle="⋇",Ple="⋇",Tle="Ђ",Rle="ђ",Ele="⌞",$le="⌍",Ale="$",Ile="𝔻",Ole="𝕕",Mle="¨",zle="˙",Dle="⃜",Lle="≐",Fle="≑",Ble="≐",Nle="∸",Hle="∔",jle="⊡",Vle="⌆",Wle="∯",Ule="¨",qle="⇓",Kle="⇐",Gle="⇔",Yle="⫤",Xle="⟸",Zle="⟺",Jle="⟹",Qle="⇒",ece="⊨",tce="⇑",nce="⇕",oce="∥",rce="⤓",ice="↓",ace="↓",sce="⇓",lce="⇵",cce="̑",uce="⇊",dce="⇃",fce="⇂",hce="⥐",pce="⥞",mce="⥖",gce="↽",vce="⥟",bce="⥗",yce="⇁",xce="↧",Cce="⊤",wce="⤐",_ce="⌟",Sce="⌌",kce="𝒟",Pce="𝒹",Tce="Ѕ",Rce="ѕ",Ece="⧶",$ce="Đ",Ace="đ",Ice="⋱",Oce="▿",Mce="▾",zce="⇵",Dce="⥯",Lce="⦦",Fce="Џ",Bce="џ",Nce="⟿",Hce="É",jce="é",Vce="⩮",Wce="Ě",Uce="ě",qce="Ê",Kce="ê",Gce="≖",Yce="≕",Xce="Э",Zce="э",Jce="⩷",Qce="Ė",eue="ė",tue="≑",nue="ⅇ",oue="≒",rue="𝔈",iue="𝔢",aue="⪚",sue="È",lue="è",cue="⪖",uue="⪘",due="⪙",fue="∈",hue="⏧",pue="ℓ",mue="⪕",gue="⪗",vue="Ē",bue="ē",yue="∅",xue="∅",Cue="◻",wue="∅",_ue="▫",Sue=" ",kue=" ",Pue=" ",Tue="Ŋ",Rue="ŋ",Eue=" ",$ue="Ę",Aue="ę",Iue="𝔼",Oue="𝕖",Mue="⋕",zue="⧣",Due="⩱",Lue="ε",Fue="Ε",Bue="ε",Nue="ϵ",Hue="≖",jue="≕",Vue="≂",Wue="⪖",Uue="⪕",que="⩵",Kue="=",Gue="≂",Yue="≟",Xue="⇌",Zue="≡",Jue="⩸",Que="⧥",ede="⥱",tde="≓",nde="ℯ",ode="ℰ",rde="≐",ide="⩳",ade="≂",sde="Η",lde="η",cde="Ð",ude="ð",dde="Ë",fde="ë",hde="€",pde="!",mde="∃",gde="∃",vde="ℰ",bde="ⅇ",yde="ⅇ",xde="≒",Cde="Ф",wde="ф",_de="♀",Sde="ffi",kde="ff",Pde="ffl",Tde="𝔉",Rde="𝔣",Ede="fi",$de="◼",Ade="▪",Ide="fj",Ode="♭",Mde="fl",zde="▱",Dde="ƒ",Lde="𝔽",Fde="𝕗",Bde="∀",Nde="∀",Hde="⋔",jde="⫙",Vde="ℱ",Wde="⨍",Ude="½",qde="⅓",Kde="¼",Gde="⅕",Yde="⅙",Xde="⅛",Zde="⅔",Jde="⅖",Qde="¾",efe="⅗",tfe="⅜",nfe="⅘",ofe="⅚",rfe="⅝",ife="⅞",afe="⁄",sfe="⌢",lfe="𝒻",cfe="ℱ",ufe="ǵ",dfe="Γ",ffe="γ",hfe="Ϝ",pfe="ϝ",mfe="⪆",gfe="Ğ",vfe="ğ",bfe="Ģ",yfe="Ĝ",xfe="ĝ",Cfe="Г",wfe="г",_fe="Ġ",Sfe="ġ",kfe="≥",Pfe="≧",Tfe="⪌",Rfe="⋛",Efe="≥",$fe="≧",Afe="⩾",Ife="⪩",Ofe="⩾",Mfe="⪀",zfe="⪂",Dfe="⪄",Lfe="⋛︀",Ffe="⪔",Bfe="𝔊",Nfe="𝔤",Hfe="≫",jfe="⋙",Vfe="⋙",Wfe="ℷ",Ufe="Ѓ",qfe="ѓ",Kfe="⪥",Gfe="≷",Yfe="⪒",Xfe="⪤",Zfe="⪊",Jfe="⪊",Qfe="⪈",ehe="≩",the="⪈",nhe="≩",ohe="⋧",rhe="𝔾",ihe="𝕘",ahe="`",she="≥",lhe="⋛",che="≧",uhe="⪢",dhe="≷",fhe="⩾",hhe="≳",phe="𝒢",mhe="ℊ",ghe="≳",vhe="⪎",bhe="⪐",yhe="⪧",xhe="⩺",Che=">",whe=">",_he="≫",She="⋗",khe="⦕",Phe="⩼",The="⪆",Rhe="⥸",Ehe="⋗",$he="⋛",Ahe="⪌",Ihe="≷",Ohe="≳",Mhe="≩︀",zhe="≩︀",Dhe="ˇ",Lhe=" ",Fhe="½",Bhe="ℋ",Nhe="Ъ",Hhe="ъ",jhe="⥈",Vhe="↔",Whe="⇔",Uhe="↭",qhe="^",Khe="ℏ",Ghe="Ĥ",Yhe="ĥ",Xhe="♥",Zhe="♥",Jhe="…",Qhe="⊹",epe="𝔥",tpe="ℌ",npe="ℋ",ope="⤥",rpe="⤦",ipe="⇿",ape="∻",spe="↩",lpe="↪",cpe="𝕙",upe="ℍ",dpe="―",fpe="─",hpe="𝒽",ppe="ℋ",mpe="ℏ",gpe="Ħ",vpe="ħ",bpe="≎",ype="≏",xpe="⁃",Cpe="‐",wpe="Í",_pe="í",Spe="⁣",kpe="Î",Ppe="î",Tpe="И",Rpe="и",Epe="İ",$pe="Е",Ape="е",Ipe="¡",Ope="⇔",Mpe="𝔦",zpe="ℑ",Dpe="Ì",Lpe="ì",Fpe="ⅈ",Bpe="⨌",Npe="∭",Hpe="⧜",jpe="℩",Vpe="IJ",Wpe="ij",Upe="Ī",qpe="ī",Kpe="ℑ",Gpe="ⅈ",Ype="ℐ",Xpe="ℑ",Zpe="ı",Jpe="ℑ",Qpe="⊷",eme="Ƶ",tme="⇒",nme="℅",ome="∞",rme="⧝",ime="ı",ame="⊺",sme="∫",lme="∬",cme="ℤ",ume="∫",dme="⊺",fme="⋂",hme="⨗",pme="⨼",mme="⁣",gme="⁢",vme="Ё",bme="ё",yme="Į",xme="į",Cme="𝕀",wme="𝕚",_me="Ι",Sme="ι",kme="⨼",Pme="¿",Tme="𝒾",Rme="ℐ",Eme="∈",$me="⋵",Ame="⋹",Ime="⋴",Ome="⋳",Mme="∈",zme="⁢",Dme="Ĩ",Lme="ĩ",Fme="І",Bme="і",Nme="Ï",Hme="ï",jme="Ĵ",Vme="ĵ",Wme="Й",Ume="й",qme="𝔍",Kme="𝔧",Gme="ȷ",Yme="𝕁",Xme="𝕛",Zme="𝒥",Jme="𝒿",Qme="Ј",ege="ј",tge="Є",nge="є",oge="Κ",rge="κ",ige="ϰ",age="Ķ",sge="ķ",lge="К",cge="к",uge="𝔎",dge="𝔨",fge="ĸ",hge="Х",pge="х",mge="Ќ",gge="ќ",vge="𝕂",bge="𝕜",yge="𝒦",xge="𝓀",Cge="⇚",wge="Ĺ",_ge="ĺ",Sge="⦴",kge="ℒ",Pge="Λ",Tge="λ",Rge="⟨",Ege="⟪",$ge="⦑",Age="⟨",Ige="⪅",Oge="ℒ",Mge="«",zge="⇤",Dge="⤟",Lge="←",Fge="↞",Bge="⇐",Nge="⤝",Hge="↩",jge="↫",Vge="⤹",Wge="⥳",Uge="↢",qge="⤙",Kge="⤛",Gge="⪫",Yge="⪭",Xge="⪭︀",Zge="⤌",Jge="⤎",Qge="❲",eve="{",tve="[",nve="⦋",ove="⦏",rve="⦍",ive="Ľ",ave="ľ",sve="Ļ",lve="ļ",cve="⌈",uve="{",dve="Л",fve="л",hve="⤶",pve="“",mve="„",gve="⥧",vve="⥋",bve="↲",yve="≤",xve="≦",Cve="⟨",wve="⇤",_ve="←",Sve="←",kve="⇐",Pve="⇆",Tve="↢",Rve="⌈",Eve="⟦",$ve="⥡",Ave="⥙",Ive="⇃",Ove="⌊",Mve="↽",zve="↼",Dve="⇇",Lve="↔",Fve="↔",Bve="⇔",Nve="⇆",Hve="⇋",jve="↭",Vve="⥎",Wve="↤",Uve="⊣",qve="⥚",Kve="⋋",Gve="⧏",Yve="⊲",Xve="⊴",Zve="⥑",Jve="⥠",Qve="⥘",ebe="↿",tbe="⥒",nbe="↼",obe="⪋",rbe="⋚",ibe="≤",abe="≦",sbe="⩽",lbe="⪨",cbe="⩽",ube="⩿",dbe="⪁",fbe="⪃",hbe="⋚︀",pbe="⪓",mbe="⪅",gbe="⋖",vbe="⋚",bbe="⪋",ybe="⋚",xbe="≦",Cbe="≶",wbe="≶",_be="⪡",Sbe="≲",kbe="⩽",Pbe="≲",Tbe="⥼",Rbe="⌊",Ebe="𝔏",$be="𝔩",Abe="≶",Ibe="⪑",Obe="⥢",Mbe="↽",zbe="↼",Dbe="⥪",Lbe="▄",Fbe="Љ",Bbe="љ",Nbe="⇇",Hbe="≪",jbe="⋘",Vbe="⌞",Wbe="⇚",Ube="⥫",qbe="◺",Kbe="Ŀ",Gbe="ŀ",Ybe="⎰",Xbe="⎰",Zbe="⪉",Jbe="⪉",Qbe="⪇",e0e="≨",t0e="⪇",n0e="≨",o0e="⋦",r0e="⟬",i0e="⇽",a0e="⟦",s0e="⟵",l0e="⟵",c0e="⟸",u0e="⟷",d0e="⟷",f0e="⟺",h0e="⟼",p0e="⟶",m0e="⟶",g0e="⟹",v0e="↫",b0e="↬",y0e="⦅",x0e="𝕃",C0e="𝕝",w0e="⨭",_0e="⨴",S0e="∗",k0e="_",P0e="↙",T0e="↘",R0e="◊",E0e="◊",$0e="⧫",A0e="(",I0e="⦓",O0e="⇆",M0e="⌟",z0e="⇋",D0e="⥭",L0e="‎",F0e="⊿",B0e="‹",N0e="𝓁",H0e="ℒ",j0e="↰",V0e="↰",W0e="≲",U0e="⪍",q0e="⪏",K0e="[",G0e="‘",Y0e="‚",X0e="Ł",Z0e="ł",J0e="⪦",Q0e="⩹",e1e="<",t1e="<",n1e="≪",o1e="⋖",r1e="⋋",i1e="⋉",a1e="⥶",s1e="⩻",l1e="◃",c1e="⊴",u1e="◂",d1e="⦖",f1e="⥊",h1e="⥦",p1e="≨︀",m1e="≨︀",g1e="¯",v1e="♂",b1e="✠",y1e="✠",x1e="↦",C1e="↦",w1e="↧",_1e="↤",S1e="↥",k1e="▮",P1e="⨩",T1e="М",R1e="м",E1e="—",$1e="∺",A1e="∡",I1e=" ",O1e="ℳ",M1e="𝔐",z1e="𝔪",D1e="℧",L1e="µ",F1e="*",B1e="⫰",N1e="∣",H1e="·",j1e="⊟",V1e="−",W1e="∸",U1e="⨪",q1e="∓",K1e="⫛",G1e="…",Y1e="∓",X1e="⊧",Z1e="𝕄",J1e="𝕞",Q1e="∓",eye="𝓂",tye="ℳ",nye="∾",oye="Μ",rye="μ",iye="⊸",aye="⊸",sye="∇",lye="Ń",cye="ń",uye="∠⃒",dye="≉",fye="⩰̸",hye="≋̸",pye="ʼn",mye="≉",gye="♮",vye="ℕ",bye="♮",yye=" ",xye="≎̸",Cye="≏̸",wye="⩃",_ye="Ň",Sye="ň",kye="Ņ",Pye="ņ",Tye="≇",Rye="⩭̸",Eye="⩂",$ye="Н",Aye="н",Iye="–",Oye="⤤",Mye="↗",zye="⇗",Dye="↗",Lye="≠",Fye="≐̸",Bye="​",Nye="​",Hye="​",jye="​",Vye="≢",Wye="⤨",Uye="≂̸",qye="≫",Kye="≪",Gye=` +`,Yye="∄",Xye="∄",Zye="𝔑",Jye="𝔫",Qye="≧̸",exe="≱",txe="≱",nxe="≧̸",oxe="⩾̸",rxe="⩾̸",ixe="⋙̸",axe="≵",sxe="≫⃒",lxe="≯",cxe="≯",uxe="≫̸",dxe="↮",fxe="⇎",hxe="⫲",pxe="∋",mxe="⋼",gxe="⋺",vxe="∋",bxe="Њ",yxe="њ",xxe="↚",Cxe="⇍",wxe="‥",_xe="≦̸",Sxe="≰",kxe="↚",Pxe="⇍",Txe="↮",Rxe="⇎",Exe="≰",$xe="≦̸",Axe="⩽̸",Ixe="⩽̸",Oxe="≮",Mxe="⋘̸",zxe="≴",Dxe="≪⃒",Lxe="≮",Fxe="⋪",Bxe="⋬",Nxe="≪̸",Hxe="∤",jxe="⁠",Vxe=" ",Wxe="𝕟",Uxe="ℕ",qxe="⫬",Kxe="¬",Gxe="≢",Yxe="≭",Xxe="∦",Zxe="∉",Jxe="≠",Qxe="≂̸",eCe="∄",tCe="≯",nCe="≱",oCe="≧̸",rCe="≫̸",iCe="≹",aCe="⩾̸",sCe="≵",lCe="≎̸",cCe="≏̸",uCe="∉",dCe="⋵̸",fCe="⋹̸",hCe="∉",pCe="⋷",mCe="⋶",gCe="⧏̸",vCe="⋪",bCe="⋬",yCe="≮",xCe="≰",CCe="≸",wCe="≪̸",_Ce="⩽̸",SCe="≴",kCe="⪢̸",PCe="⪡̸",TCe="∌",RCe="∌",ECe="⋾",$Ce="⋽",ACe="⊀",ICe="⪯̸",OCe="⋠",MCe="∌",zCe="⧐̸",DCe="⋫",LCe="⋭",FCe="⊏̸",BCe="⋢",NCe="⊐̸",HCe="⋣",jCe="⊂⃒",VCe="⊈",WCe="⊁",UCe="⪰̸",qCe="⋡",KCe="≿̸",GCe="⊃⃒",YCe="⊉",XCe="≁",ZCe="≄",JCe="≇",QCe="≉",ewe="∤",twe="∦",nwe="∦",owe="⫽⃥",rwe="∂̸",iwe="⨔",awe="⊀",swe="⋠",lwe="⊀",cwe="⪯̸",uwe="⪯̸",dwe="⤳̸",fwe="↛",hwe="⇏",pwe="↝̸",mwe="↛",gwe="⇏",vwe="⋫",bwe="⋭",ywe="⊁",xwe="⋡",Cwe="⪰̸",wwe="𝒩",_we="𝓃",Swe="∤",kwe="∦",Pwe="≁",Twe="≄",Rwe="≄",Ewe="∤",$we="∦",Awe="⋢",Iwe="⋣",Owe="⊄",Mwe="⫅̸",zwe="⊈",Dwe="⊂⃒",Lwe="⊈",Fwe="⫅̸",Bwe="⊁",Nwe="⪰̸",Hwe="⊅",jwe="⫆̸",Vwe="⊉",Wwe="⊃⃒",Uwe="⊉",qwe="⫆̸",Kwe="≹",Gwe="Ñ",Ywe="ñ",Xwe="≸",Zwe="⋪",Jwe="⋬",Qwe="⋫",e_e="⋭",t_e="Ν",n_e="ν",o_e="#",r_e="№",i_e=" ",a_e="≍⃒",s_e="⊬",l_e="⊭",c_e="⊮",u_e="⊯",d_e="≥⃒",f_e=">⃒",h_e="⤄",p_e="⧞",m_e="⤂",g_e="≤⃒",v_e="<⃒",b_e="⊴⃒",y_e="⤃",x_e="⊵⃒",C_e="∼⃒",w_e="⤣",__e="↖",S_e="⇖",k_e="↖",P_e="⤧",T_e="Ó",R_e="ó",E_e="⊛",$_e="Ô",A_e="ô",I_e="⊚",O_e="О",M_e="о",z_e="⊝",D_e="Ő",L_e="ő",F_e="⨸",B_e="⊙",N_e="⦼",H_e="Œ",j_e="œ",V_e="⦿",W_e="𝔒",U_e="𝔬",q_e="˛",K_e="Ò",G_e="ò",Y_e="⧁",X_e="⦵",Z_e="Ω",J_e="∮",Q_e="↺",e2e="⦾",t2e="⦻",n2e="‾",o2e="⧀",r2e="Ō",i2e="ō",a2e="Ω",s2e="ω",l2e="Ο",c2e="ο",u2e="⦶",d2e="⊖",f2e="𝕆",h2e="𝕠",p2e="⦷",m2e="“",g2e="‘",v2e="⦹",b2e="⊕",y2e="↻",x2e="⩔",C2e="∨",w2e="⩝",_2e="ℴ",S2e="ℴ",k2e="ª",P2e="º",T2e="⊶",R2e="⩖",E2e="⩗",$2e="⩛",A2e="Ⓢ",I2e="𝒪",O2e="ℴ",M2e="Ø",z2e="ø",D2e="⊘",L2e="Õ",F2e="õ",B2e="⨶",N2e="⨷",H2e="⊗",j2e="Ö",V2e="ö",W2e="⌽",U2e="‾",q2e="⏞",K2e="⎴",G2e="⏜",Y2e="¶",X2e="∥",Z2e="∥",J2e="⫳",Q2e="⫽",eSe="∂",tSe="∂",nSe="П",oSe="п",rSe="%",iSe=".",aSe="‰",sSe="⊥",lSe="‱",cSe="𝔓",uSe="𝔭",dSe="Φ",fSe="φ",hSe="ϕ",pSe="ℳ",mSe="☎",gSe="Π",vSe="π",bSe="⋔",ySe="ϖ",xSe="ℏ",CSe="ℎ",wSe="ℏ",_Se="⨣",SSe="⊞",kSe="⨢",PSe="+",TSe="∔",RSe="⨥",ESe="⩲",$Se="±",ASe="±",ISe="⨦",OSe="⨧",MSe="±",zSe="ℌ",DSe="⨕",LSe="𝕡",FSe="ℙ",BSe="£",NSe="⪷",HSe="⪻",jSe="≺",VSe="≼",WSe="⪷",USe="≺",qSe="≼",KSe="≺",GSe="⪯",YSe="≼",XSe="≾",ZSe="⪯",JSe="⪹",QSe="⪵",eke="⋨",tke="⪯",nke="⪳",oke="≾",rke="′",ike="″",ake="ℙ",ske="⪹",lke="⪵",cke="⋨",uke="∏",dke="∏",fke="⌮",hke="⌒",pke="⌓",mke="∝",gke="∝",vke="∷",bke="∝",yke="≾",xke="⊰",Cke="𝒫",wke="𝓅",_ke="Ψ",Ske="ψ",kke=" ",Pke="𝔔",Tke="𝔮",Rke="⨌",Eke="𝕢",$ke="ℚ",Ake="⁗",Ike="𝒬",Oke="𝓆",Mke="ℍ",zke="⨖",Dke="?",Lke="≟",Fke='"',Bke='"',Nke="⇛",Hke="∽̱",jke="Ŕ",Vke="ŕ",Wke="√",Uke="⦳",qke="⟩",Kke="⟫",Gke="⦒",Yke="⦥",Xke="⟩",Zke="»",Jke="⥵",Qke="⇥",e3e="⤠",t3e="⤳",n3e="→",o3e="↠",r3e="⇒",i3e="⤞",a3e="↪",s3e="↬",l3e="⥅",c3e="⥴",u3e="⤖",d3e="↣",f3e="↝",h3e="⤚",p3e="⤜",m3e="∶",g3e="ℚ",v3e="⤍",b3e="⤏",y3e="⤐",x3e="❳",C3e="}",w3e="]",_3e="⦌",S3e="⦎",k3e="⦐",P3e="Ř",T3e="ř",R3e="Ŗ",E3e="ŗ",$3e="⌉",A3e="}",I3e="Р",O3e="р",M3e="⤷",z3e="⥩",D3e="”",L3e="”",F3e="↳",B3e="ℜ",N3e="ℛ",H3e="ℜ",j3e="ℝ",V3e="ℜ",W3e="▭",U3e="®",q3e="®",K3e="∋",G3e="⇋",Y3e="⥯",X3e="⥽",Z3e="⌋",J3e="𝔯",Q3e="ℜ",e4e="⥤",t4e="⇁",n4e="⇀",o4e="⥬",r4e="Ρ",i4e="ρ",a4e="ϱ",s4e="⟩",l4e="⇥",c4e="→",u4e="→",d4e="⇒",f4e="⇄",h4e="↣",p4e="⌉",m4e="⟧",g4e="⥝",v4e="⥕",b4e="⇂",y4e="⌋",x4e="⇁",C4e="⇀",w4e="⇄",_4e="⇌",S4e="⇉",k4e="↝",P4e="↦",T4e="⊢",R4e="⥛",E4e="⋌",$4e="⧐",A4e="⊳",I4e="⊵",O4e="⥏",M4e="⥜",z4e="⥔",D4e="↾",L4e="⥓",F4e="⇀",B4e="˚",N4e="≓",H4e="⇄",j4e="⇌",V4e="‏",W4e="⎱",U4e="⎱",q4e="⫮",K4e="⟭",G4e="⇾",Y4e="⟧",X4e="⦆",Z4e="𝕣",J4e="ℝ",Q4e="⨮",ePe="⨵",tPe="⥰",nPe=")",oPe="⦔",rPe="⨒",iPe="⇉",aPe="⇛",sPe="›",lPe="𝓇",cPe="ℛ",uPe="↱",dPe="↱",fPe="]",hPe="’",pPe="’",mPe="⋌",gPe="⋊",vPe="▹",bPe="⊵",yPe="▸",xPe="⧎",CPe="⧴",wPe="⥨",_Pe="℞",SPe="Ś",kPe="ś",PPe="‚",TPe="⪸",RPe="Š",EPe="š",$Pe="⪼",APe="≻",IPe="≽",OPe="⪰",MPe="⪴",zPe="Ş",DPe="ş",LPe="Ŝ",FPe="ŝ",BPe="⪺",NPe="⪶",HPe="⋩",jPe="⨓",VPe="≿",WPe="С",UPe="с",qPe="⊡",KPe="⋅",GPe="⩦",YPe="⤥",XPe="↘",ZPe="⇘",JPe="↘",QPe="§",eTe=";",tTe="⤩",nTe="∖",oTe="∖",rTe="✶",iTe="𝔖",aTe="𝔰",sTe="⌢",lTe="♯",cTe="Щ",uTe="щ",dTe="Ш",fTe="ш",hTe="↓",pTe="←",mTe="∣",gTe="∥",vTe="→",bTe="↑",yTe="­",xTe="Σ",CTe="σ",wTe="ς",_Te="ς",STe="∼",kTe="⩪",PTe="≃",TTe="≃",RTe="⪞",ETe="⪠",$Te="⪝",ATe="⪟",ITe="≆",OTe="⨤",MTe="⥲",zTe="←",DTe="∘",LTe="∖",FTe="⨳",BTe="⧤",NTe="∣",HTe="⌣",jTe="⪪",VTe="⪬",WTe="⪬︀",UTe="Ь",qTe="ь",KTe="⌿",GTe="⧄",YTe="/",XTe="𝕊",ZTe="𝕤",JTe="♠",QTe="♠",e5e="∥",t5e="⊓",n5e="⊓︀",o5e="⊔",r5e="⊔︀",i5e="√",a5e="⊏",s5e="⊑",l5e="⊏",c5e="⊑",u5e="⊐",d5e="⊒",f5e="⊐",h5e="⊒",p5e="□",m5e="□",g5e="⊓",v5e="⊏",b5e="⊑",y5e="⊐",x5e="⊒",C5e="⊔",w5e="▪",_5e="□",S5e="▪",k5e="→",P5e="𝒮",T5e="𝓈",R5e="∖",E5e="⌣",$5e="⋆",A5e="⋆",I5e="☆",O5e="★",M5e="ϵ",z5e="ϕ",D5e="¯",L5e="⊂",F5e="⋐",B5e="⪽",N5e="⫅",H5e="⊆",j5e="⫃",V5e="⫁",W5e="⫋",U5e="⊊",q5e="⪿",K5e="⥹",G5e="⊂",Y5e="⋐",X5e="⊆",Z5e="⫅",J5e="⊆",Q5e="⊊",eRe="⫋",tRe="⫇",nRe="⫕",oRe="⫓",rRe="⪸",iRe="≻",aRe="≽",sRe="≻",lRe="⪰",cRe="≽",uRe="≿",dRe="⪰",fRe="⪺",hRe="⪶",pRe="⋩",mRe="≿",gRe="∋",vRe="∑",bRe="∑",yRe="♪",xRe="¹",CRe="²",wRe="³",_Re="⊃",SRe="⋑",kRe="⪾",PRe="⫘",TRe="⫆",RRe="⊇",ERe="⫄",$Re="⊃",ARe="⊇",IRe="⟉",ORe="⫗",MRe="⥻",zRe="⫂",DRe="⫌",LRe="⊋",FRe="⫀",BRe="⊃",NRe="⋑",HRe="⊇",jRe="⫆",VRe="⊋",WRe="⫌",URe="⫈",qRe="⫔",KRe="⫖",GRe="⤦",YRe="↙",XRe="⇙",ZRe="↙",JRe="⤪",QRe="ß",eEe=" ",tEe="⌖",nEe="Τ",oEe="τ",rEe="⎴",iEe="Ť",aEe="ť",sEe="Ţ",lEe="ţ",cEe="Т",uEe="т",dEe="⃛",fEe="⌕",hEe="𝔗",pEe="𝔱",mEe="∴",gEe="∴",vEe="∴",bEe="Θ",yEe="θ",xEe="ϑ",CEe="ϑ",wEe="≈",_Ee="∼",SEe="  ",kEe=" ",PEe=" ",TEe="≈",REe="∼",EEe="Þ",$Ee="þ",AEe="˜",IEe="∼",OEe="≃",MEe="≅",zEe="≈",DEe="⨱",LEe="⊠",FEe="×",BEe="⨰",NEe="∭",HEe="⤨",jEe="⌶",VEe="⫱",WEe="⊤",UEe="𝕋",qEe="𝕥",KEe="⫚",GEe="⤩",YEe="‴",XEe="™",ZEe="™",JEe="▵",QEe="▿",e$e="◃",t$e="⊴",n$e="≜",o$e="▹",r$e="⊵",i$e="◬",a$e="≜",s$e="⨺",l$e="⃛",c$e="⨹",u$e="⧍",d$e="⨻",f$e="⏢",h$e="𝒯",p$e="𝓉",m$e="Ц",g$e="ц",v$e="Ћ",b$e="ћ",y$e="Ŧ",x$e="ŧ",C$e="≬",w$e="↞",_$e="↠",S$e="Ú",k$e="ú",P$e="↑",T$e="↟",R$e="⇑",E$e="⥉",$$e="Ў",A$e="ў",I$e="Ŭ",O$e="ŭ",M$e="Û",z$e="û",D$e="У",L$e="у",F$e="⇅",B$e="Ű",N$e="ű",H$e="⥮",j$e="⥾",V$e="𝔘",W$e="𝔲",U$e="Ù",q$e="ù",K$e="⥣",G$e="↿",Y$e="↾",X$e="▀",Z$e="⌜",J$e="⌜",Q$e="⌏",eAe="◸",tAe="Ū",nAe="ū",oAe="¨",rAe="_",iAe="⏟",aAe="⎵",sAe="⏝",lAe="⋃",cAe="⊎",uAe="Ų",dAe="ų",fAe="𝕌",hAe="𝕦",pAe="⤒",mAe="↑",gAe="↑",vAe="⇑",bAe="⇅",yAe="↕",xAe="↕",CAe="⇕",wAe="⥮",_Ae="↿",SAe="↾",kAe="⊎",PAe="↖",TAe="↗",RAe="υ",EAe="ϒ",$Ae="ϒ",AAe="Υ",IAe="υ",OAe="↥",MAe="⊥",zAe="⇈",DAe="⌝",LAe="⌝",FAe="⌎",BAe="Ů",NAe="ů",HAe="◹",jAe="𝒰",VAe="𝓊",WAe="⋰",UAe="Ũ",qAe="ũ",KAe="▵",GAe="▴",YAe="⇈",XAe="Ü",ZAe="ü",JAe="⦧",QAe="⦜",e6e="ϵ",t6e="ϰ",n6e="∅",o6e="ϕ",r6e="ϖ",i6e="∝",a6e="↕",s6e="⇕",l6e="ϱ",c6e="ς",u6e="⊊︀",d6e="⫋︀",f6e="⊋︀",h6e="⫌︀",p6e="ϑ",m6e="⊲",g6e="⊳",v6e="⫨",b6e="⫫",y6e="⫩",x6e="В",C6e="в",w6e="⊢",_6e="⊨",S6e="⊩",k6e="⊫",P6e="⫦",T6e="⊻",R6e="∨",E6e="⋁",$6e="≚",A6e="⋮",I6e="|",O6e="‖",M6e="|",z6e="‖",D6e="∣",L6e="|",F6e="❘",B6e="≀",N6e=" ",H6e="𝔙",j6e="𝔳",V6e="⊲",W6e="⊂⃒",U6e="⊃⃒",q6e="𝕍",K6e="𝕧",G6e="∝",Y6e="⊳",X6e="𝒱",Z6e="𝓋",J6e="⫋︀",Q6e="⊊︀",e8e="⫌︀",t8e="⊋︀",n8e="⊪",o8e="⦚",r8e="Ŵ",i8e="ŵ",a8e="⩟",s8e="∧",l8e="⋀",c8e="≙",u8e="℘",d8e="𝔚",f8e="𝔴",h8e="𝕎",p8e="𝕨",m8e="℘",g8e="≀",v8e="≀",b8e="𝒲",y8e="𝓌",x8e="⋂",C8e="◯",w8e="⋃",_8e="▽",S8e="𝔛",k8e="𝔵",P8e="⟷",T8e="⟺",R8e="Ξ",E8e="ξ",$8e="⟵",A8e="⟸",I8e="⟼",O8e="⋻",M8e="⨀",z8e="𝕏",D8e="𝕩",L8e="⨁",F8e="⨂",B8e="⟶",N8e="⟹",H8e="𝒳",j8e="𝓍",V8e="⨆",W8e="⨄",U8e="△",q8e="⋁",K8e="⋀",G8e="Ý",Y8e="ý",X8e="Я",Z8e="я",J8e="Ŷ",Q8e="ŷ",eIe="Ы",tIe="ы",nIe="¥",oIe="𝔜",rIe="𝔶",iIe="Ї",aIe="ї",sIe="𝕐",lIe="𝕪",cIe="𝒴",uIe="𝓎",dIe="Ю",fIe="ю",hIe="ÿ",pIe="Ÿ",mIe="Ź",gIe="ź",vIe="Ž",bIe="ž",yIe="З",xIe="з",CIe="Ż",wIe="ż",_Ie="ℨ",SIe="​",kIe="Ζ",PIe="ζ",TIe="𝔷",RIe="ℨ",EIe="Ж",$Ie="ж",AIe="⇝",IIe="𝕫",OIe="ℤ",MIe="𝒵",zIe="𝓏",DIe="‍",LIe="‌",FIe={Aacute:Cte,aacute:wte,Abreve:_te,abreve:Ste,ac:kte,acd:Pte,acE:Tte,Acirc:Rte,acirc:Ete,acute:$te,Acy:Ate,acy:Ite,AElig:Ote,aelig:Mte,af:zte,Afr:Dte,afr:Lte,Agrave:Fte,agrave:Bte,alefsym:Nte,aleph:Hte,Alpha:jte,alpha:Vte,Amacr:Wte,amacr:Ute,amalg:qte,amp:Kte,AMP:Gte,andand:Yte,And:Xte,and:Zte,andd:Jte,andslope:Qte,andv:ene,ang:tne,ange:nne,angle:one,angmsdaa:rne,angmsdab:ine,angmsdac:ane,angmsdad:sne,angmsdae:lne,angmsdaf:cne,angmsdag:une,angmsdah:dne,angmsd:fne,angrt:hne,angrtvb:pne,angrtvbd:mne,angsph:gne,angst:vne,angzarr:bne,Aogon:yne,aogon:xne,Aopf:Cne,aopf:wne,apacir:_ne,ap:Sne,apE:kne,ape:Pne,apid:Tne,apos:Rne,ApplyFunction:Ene,approx:$ne,approxeq:Ane,Aring:Ine,aring:One,Ascr:Mne,ascr:zne,Assign:Dne,ast:Lne,asymp:Fne,asympeq:Bne,Atilde:Nne,atilde:Hne,Auml:jne,auml:Vne,awconint:Wne,awint:Une,backcong:qne,backepsilon:Kne,backprime:Gne,backsim:Yne,backsimeq:Xne,Backslash:Zne,Barv:Jne,barvee:Qne,barwed:eoe,Barwed:toe,barwedge:noe,bbrk:ooe,bbrktbrk:roe,bcong:ioe,Bcy:aoe,bcy:soe,bdquo:loe,becaus:coe,because:uoe,Because:doe,bemptyv:foe,bepsi:hoe,bernou:poe,Bernoullis:moe,Beta:goe,beta:voe,beth:boe,between:yoe,Bfr:xoe,bfr:Coe,bigcap:woe,bigcirc:_oe,bigcup:Soe,bigodot:koe,bigoplus:Poe,bigotimes:Toe,bigsqcup:Roe,bigstar:Eoe,bigtriangledown:$oe,bigtriangleup:Aoe,biguplus:Ioe,bigvee:Ooe,bigwedge:Moe,bkarow:zoe,blacklozenge:Doe,blacksquare:Loe,blacktriangle:Foe,blacktriangledown:Boe,blacktriangleleft:Noe,blacktriangleright:Hoe,blank:joe,blk12:Voe,blk14:Woe,blk34:Uoe,block:qoe,bne:Koe,bnequiv:Goe,bNot:Yoe,bnot:Xoe,Bopf:Zoe,bopf:Joe,bot:Qoe,bottom:ere,bowtie:tre,boxbox:nre,boxdl:ore,boxdL:rre,boxDl:ire,boxDL:are,boxdr:sre,boxdR:lre,boxDr:cre,boxDR:ure,boxh:dre,boxH:fre,boxhd:hre,boxHd:pre,boxhD:mre,boxHD:gre,boxhu:vre,boxHu:bre,boxhU:yre,boxHU:xre,boxminus:Cre,boxplus:wre,boxtimes:_re,boxul:Sre,boxuL:kre,boxUl:Pre,boxUL:Tre,boxur:Rre,boxuR:Ere,boxUr:$re,boxUR:Are,boxv:Ire,boxV:Ore,boxvh:Mre,boxvH:zre,boxVh:Dre,boxVH:Lre,boxvl:Fre,boxvL:Bre,boxVl:Nre,boxVL:Hre,boxvr:jre,boxvR:Vre,boxVr:Wre,boxVR:Ure,bprime:qre,breve:Kre,Breve:Gre,brvbar:Yre,bscr:Xre,Bscr:Zre,bsemi:Jre,bsim:Qre,bsime:eie,bsolb:tie,bsol:nie,bsolhsub:oie,bull:rie,bullet:iie,bump:aie,bumpE:sie,bumpe:lie,Bumpeq:cie,bumpeq:uie,Cacute:die,cacute:fie,capand:hie,capbrcup:pie,capcap:mie,cap:gie,Cap:vie,capcup:bie,capdot:yie,CapitalDifferentialD:xie,caps:Cie,caret:wie,caron:_ie,Cayleys:Sie,ccaps:kie,Ccaron:Pie,ccaron:Tie,Ccedil:Rie,ccedil:Eie,Ccirc:$ie,ccirc:Aie,Cconint:Iie,ccups:Oie,ccupssm:Mie,Cdot:zie,cdot:Die,cedil:Lie,Cedilla:Fie,cemptyv:Bie,cent:Nie,centerdot:Hie,CenterDot:jie,cfr:Vie,Cfr:Wie,CHcy:Uie,chcy:qie,check:Kie,checkmark:Gie,Chi:Yie,chi:Xie,circ:Zie,circeq:Jie,circlearrowleft:Qie,circlearrowright:eae,circledast:tae,circledcirc:nae,circleddash:oae,CircleDot:rae,circledR:iae,circledS:aae,CircleMinus:sae,CirclePlus:lae,CircleTimes:cae,cir:uae,cirE:dae,cire:fae,cirfnint:hae,cirmid:pae,cirscir:mae,ClockwiseContourIntegral:gae,CloseCurlyDoubleQuote:vae,CloseCurlyQuote:bae,clubs:yae,clubsuit:xae,colon:Cae,Colon:wae,Colone:_ae,colone:Sae,coloneq:kae,comma:Pae,commat:Tae,comp:Rae,compfn:Eae,complement:$ae,complexes:Aae,cong:Iae,congdot:Oae,Congruent:Mae,conint:zae,Conint:Dae,ContourIntegral:Lae,copf:Fae,Copf:Bae,coprod:Nae,Coproduct:Hae,copy:jae,COPY:Vae,copysr:Wae,CounterClockwiseContourIntegral:Uae,crarr:qae,cross:Kae,Cross:Gae,Cscr:Yae,cscr:Xae,csub:Zae,csube:Jae,csup:Qae,csupe:ese,ctdot:tse,cudarrl:nse,cudarrr:ose,cuepr:rse,cuesc:ise,cularr:ase,cularrp:sse,cupbrcap:lse,cupcap:cse,CupCap:use,cup:dse,Cup:fse,cupcup:hse,cupdot:pse,cupor:mse,cups:gse,curarr:vse,curarrm:bse,curlyeqprec:yse,curlyeqsucc:xse,curlyvee:Cse,curlywedge:wse,curren:_se,curvearrowleft:Sse,curvearrowright:kse,cuvee:Pse,cuwed:Tse,cwconint:Rse,cwint:Ese,cylcty:$se,dagger:Ase,Dagger:Ise,daleth:Ose,darr:Mse,Darr:zse,dArr:Dse,dash:Lse,Dashv:Fse,dashv:Bse,dbkarow:Nse,dblac:Hse,Dcaron:jse,dcaron:Vse,Dcy:Wse,dcy:Use,ddagger:qse,ddarr:Kse,DD:Gse,dd:Yse,DDotrahd:Xse,ddotseq:Zse,deg:Jse,Del:Qse,Delta:ele,delta:tle,demptyv:nle,dfisht:ole,Dfr:rle,dfr:ile,dHar:ale,dharl:sle,dharr:lle,DiacriticalAcute:cle,DiacriticalDot:ule,DiacriticalDoubleAcute:dle,DiacriticalGrave:fle,DiacriticalTilde:hle,diam:ple,diamond:mle,Diamond:gle,diamondsuit:vle,diams:ble,die:yle,DifferentialD:xle,digamma:Cle,disin:wle,div:_le,divide:Sle,divideontimes:kle,divonx:Ple,DJcy:Tle,djcy:Rle,dlcorn:Ele,dlcrop:$le,dollar:Ale,Dopf:Ile,dopf:Ole,Dot:Mle,dot:zle,DotDot:Dle,doteq:Lle,doteqdot:Fle,DotEqual:Ble,dotminus:Nle,dotplus:Hle,dotsquare:jle,doublebarwedge:Vle,DoubleContourIntegral:Wle,DoubleDot:Ule,DoubleDownArrow:qle,DoubleLeftArrow:Kle,DoubleLeftRightArrow:Gle,DoubleLeftTee:Yle,DoubleLongLeftArrow:Xle,DoubleLongLeftRightArrow:Zle,DoubleLongRightArrow:Jle,DoubleRightArrow:Qle,DoubleRightTee:ece,DoubleUpArrow:tce,DoubleUpDownArrow:nce,DoubleVerticalBar:oce,DownArrowBar:rce,downarrow:ice,DownArrow:ace,Downarrow:sce,DownArrowUpArrow:lce,DownBreve:cce,downdownarrows:uce,downharpoonleft:dce,downharpoonright:fce,DownLeftRightVector:hce,DownLeftTeeVector:pce,DownLeftVectorBar:mce,DownLeftVector:gce,DownRightTeeVector:vce,DownRightVectorBar:bce,DownRightVector:yce,DownTeeArrow:xce,DownTee:Cce,drbkarow:wce,drcorn:_ce,drcrop:Sce,Dscr:kce,dscr:Pce,DScy:Tce,dscy:Rce,dsol:Ece,Dstrok:$ce,dstrok:Ace,dtdot:Ice,dtri:Oce,dtrif:Mce,duarr:zce,duhar:Dce,dwangle:Lce,DZcy:Fce,dzcy:Bce,dzigrarr:Nce,Eacute:Hce,eacute:jce,easter:Vce,Ecaron:Wce,ecaron:Uce,Ecirc:qce,ecirc:Kce,ecir:Gce,ecolon:Yce,Ecy:Xce,ecy:Zce,eDDot:Jce,Edot:Qce,edot:eue,eDot:tue,ee:nue,efDot:oue,Efr:rue,efr:iue,eg:aue,Egrave:sue,egrave:lue,egs:cue,egsdot:uue,el:due,Element:fue,elinters:hue,ell:pue,els:mue,elsdot:gue,Emacr:vue,emacr:bue,empty:yue,emptyset:xue,EmptySmallSquare:Cue,emptyv:wue,EmptyVerySmallSquare:_ue,emsp13:Sue,emsp14:kue,emsp:Pue,ENG:Tue,eng:Rue,ensp:Eue,Eogon:$ue,eogon:Aue,Eopf:Iue,eopf:Oue,epar:Mue,eparsl:zue,eplus:Due,epsi:Lue,Epsilon:Fue,epsilon:Bue,epsiv:Nue,eqcirc:Hue,eqcolon:jue,eqsim:Vue,eqslantgtr:Wue,eqslantless:Uue,Equal:que,equals:Kue,EqualTilde:Gue,equest:Yue,Equilibrium:Xue,equiv:Zue,equivDD:Jue,eqvparsl:Que,erarr:ede,erDot:tde,escr:nde,Escr:ode,esdot:rde,Esim:ide,esim:ade,Eta:sde,eta:lde,ETH:cde,eth:ude,Euml:dde,euml:fde,euro:hde,excl:pde,exist:mde,Exists:gde,expectation:vde,exponentiale:bde,ExponentialE:yde,fallingdotseq:xde,Fcy:Cde,fcy:wde,female:_de,ffilig:Sde,fflig:kde,ffllig:Pde,Ffr:Tde,ffr:Rde,filig:Ede,FilledSmallSquare:$de,FilledVerySmallSquare:Ade,fjlig:Ide,flat:Ode,fllig:Mde,fltns:zde,fnof:Dde,Fopf:Lde,fopf:Fde,forall:Bde,ForAll:Nde,fork:Hde,forkv:jde,Fouriertrf:Vde,fpartint:Wde,frac12:Ude,frac13:qde,frac14:Kde,frac15:Gde,frac16:Yde,frac18:Xde,frac23:Zde,frac25:Jde,frac34:Qde,frac35:efe,frac38:tfe,frac45:nfe,frac56:ofe,frac58:rfe,frac78:ife,frasl:afe,frown:sfe,fscr:lfe,Fscr:cfe,gacute:ufe,Gamma:dfe,gamma:ffe,Gammad:hfe,gammad:pfe,gap:mfe,Gbreve:gfe,gbreve:vfe,Gcedil:bfe,Gcirc:yfe,gcirc:xfe,Gcy:Cfe,gcy:wfe,Gdot:_fe,gdot:Sfe,ge:kfe,gE:Pfe,gEl:Tfe,gel:Rfe,geq:Efe,geqq:$fe,geqslant:Afe,gescc:Ife,ges:Ofe,gesdot:Mfe,gesdoto:zfe,gesdotol:Dfe,gesl:Lfe,gesles:Ffe,Gfr:Bfe,gfr:Nfe,gg:Hfe,Gg:jfe,ggg:Vfe,gimel:Wfe,GJcy:Ufe,gjcy:qfe,gla:Kfe,gl:Gfe,glE:Yfe,glj:Xfe,gnap:Zfe,gnapprox:Jfe,gne:Qfe,gnE:ehe,gneq:the,gneqq:nhe,gnsim:ohe,Gopf:rhe,gopf:ihe,grave:ahe,GreaterEqual:she,GreaterEqualLess:lhe,GreaterFullEqual:che,GreaterGreater:uhe,GreaterLess:dhe,GreaterSlantEqual:fhe,GreaterTilde:hhe,Gscr:phe,gscr:mhe,gsim:ghe,gsime:vhe,gsiml:bhe,gtcc:yhe,gtcir:xhe,gt:Che,GT:whe,Gt:_he,gtdot:She,gtlPar:khe,gtquest:Phe,gtrapprox:The,gtrarr:Rhe,gtrdot:Ehe,gtreqless:$he,gtreqqless:Ahe,gtrless:Ihe,gtrsim:Ohe,gvertneqq:Mhe,gvnE:zhe,Hacek:Dhe,hairsp:Lhe,half:Fhe,hamilt:Bhe,HARDcy:Nhe,hardcy:Hhe,harrcir:jhe,harr:Vhe,hArr:Whe,harrw:Uhe,Hat:qhe,hbar:Khe,Hcirc:Ghe,hcirc:Yhe,hearts:Xhe,heartsuit:Zhe,hellip:Jhe,hercon:Qhe,hfr:epe,Hfr:tpe,HilbertSpace:npe,hksearow:ope,hkswarow:rpe,hoarr:ipe,homtht:ape,hookleftarrow:spe,hookrightarrow:lpe,hopf:cpe,Hopf:upe,horbar:dpe,HorizontalLine:fpe,hscr:hpe,Hscr:ppe,hslash:mpe,Hstrok:gpe,hstrok:vpe,HumpDownHump:bpe,HumpEqual:ype,hybull:xpe,hyphen:Cpe,Iacute:wpe,iacute:_pe,ic:Spe,Icirc:kpe,icirc:Ppe,Icy:Tpe,icy:Rpe,Idot:Epe,IEcy:$pe,iecy:Ape,iexcl:Ipe,iff:Ope,ifr:Mpe,Ifr:zpe,Igrave:Dpe,igrave:Lpe,ii:Fpe,iiiint:Bpe,iiint:Npe,iinfin:Hpe,iiota:jpe,IJlig:Vpe,ijlig:Wpe,Imacr:Upe,imacr:qpe,image:Kpe,ImaginaryI:Gpe,imagline:Ype,imagpart:Xpe,imath:Zpe,Im:Jpe,imof:Qpe,imped:eme,Implies:tme,incare:nme,in:"∈",infin:ome,infintie:rme,inodot:ime,intcal:ame,int:sme,Int:lme,integers:cme,Integral:ume,intercal:dme,Intersection:fme,intlarhk:hme,intprod:pme,InvisibleComma:mme,InvisibleTimes:gme,IOcy:vme,iocy:bme,Iogon:yme,iogon:xme,Iopf:Cme,iopf:wme,Iota:_me,iota:Sme,iprod:kme,iquest:Pme,iscr:Tme,Iscr:Rme,isin:Eme,isindot:$me,isinE:Ame,isins:Ime,isinsv:Ome,isinv:Mme,it:zme,Itilde:Dme,itilde:Lme,Iukcy:Fme,iukcy:Bme,Iuml:Nme,iuml:Hme,Jcirc:jme,jcirc:Vme,Jcy:Wme,jcy:Ume,Jfr:qme,jfr:Kme,jmath:Gme,Jopf:Yme,jopf:Xme,Jscr:Zme,jscr:Jme,Jsercy:Qme,jsercy:ege,Jukcy:tge,jukcy:nge,Kappa:oge,kappa:rge,kappav:ige,Kcedil:age,kcedil:sge,Kcy:lge,kcy:cge,Kfr:uge,kfr:dge,kgreen:fge,KHcy:hge,khcy:pge,KJcy:mge,kjcy:gge,Kopf:vge,kopf:bge,Kscr:yge,kscr:xge,lAarr:Cge,Lacute:wge,lacute:_ge,laemptyv:Sge,lagran:kge,Lambda:Pge,lambda:Tge,lang:Rge,Lang:Ege,langd:$ge,langle:Age,lap:Ige,Laplacetrf:Oge,laquo:Mge,larrb:zge,larrbfs:Dge,larr:Lge,Larr:Fge,lArr:Bge,larrfs:Nge,larrhk:Hge,larrlp:jge,larrpl:Vge,larrsim:Wge,larrtl:Uge,latail:qge,lAtail:Kge,lat:Gge,late:Yge,lates:Xge,lbarr:Zge,lBarr:Jge,lbbrk:Qge,lbrace:eve,lbrack:tve,lbrke:nve,lbrksld:ove,lbrkslu:rve,Lcaron:ive,lcaron:ave,Lcedil:sve,lcedil:lve,lceil:cve,lcub:uve,Lcy:dve,lcy:fve,ldca:hve,ldquo:pve,ldquor:mve,ldrdhar:gve,ldrushar:vve,ldsh:bve,le:yve,lE:xve,LeftAngleBracket:Cve,LeftArrowBar:wve,leftarrow:_ve,LeftArrow:Sve,Leftarrow:kve,LeftArrowRightArrow:Pve,leftarrowtail:Tve,LeftCeiling:Rve,LeftDoubleBracket:Eve,LeftDownTeeVector:$ve,LeftDownVectorBar:Ave,LeftDownVector:Ive,LeftFloor:Ove,leftharpoondown:Mve,leftharpoonup:zve,leftleftarrows:Dve,leftrightarrow:Lve,LeftRightArrow:Fve,Leftrightarrow:Bve,leftrightarrows:Nve,leftrightharpoons:Hve,leftrightsquigarrow:jve,LeftRightVector:Vve,LeftTeeArrow:Wve,LeftTee:Uve,LeftTeeVector:qve,leftthreetimes:Kve,LeftTriangleBar:Gve,LeftTriangle:Yve,LeftTriangleEqual:Xve,LeftUpDownVector:Zve,LeftUpTeeVector:Jve,LeftUpVectorBar:Qve,LeftUpVector:ebe,LeftVectorBar:tbe,LeftVector:nbe,lEg:obe,leg:rbe,leq:ibe,leqq:abe,leqslant:sbe,lescc:lbe,les:cbe,lesdot:ube,lesdoto:dbe,lesdotor:fbe,lesg:hbe,lesges:pbe,lessapprox:mbe,lessdot:gbe,lesseqgtr:vbe,lesseqqgtr:bbe,LessEqualGreater:ybe,LessFullEqual:xbe,LessGreater:Cbe,lessgtr:wbe,LessLess:_be,lesssim:Sbe,LessSlantEqual:kbe,LessTilde:Pbe,lfisht:Tbe,lfloor:Rbe,Lfr:Ebe,lfr:$be,lg:Abe,lgE:Ibe,lHar:Obe,lhard:Mbe,lharu:zbe,lharul:Dbe,lhblk:Lbe,LJcy:Fbe,ljcy:Bbe,llarr:Nbe,ll:Hbe,Ll:jbe,llcorner:Vbe,Lleftarrow:Wbe,llhard:Ube,lltri:qbe,Lmidot:Kbe,lmidot:Gbe,lmoustache:Ybe,lmoust:Xbe,lnap:Zbe,lnapprox:Jbe,lne:Qbe,lnE:e0e,lneq:t0e,lneqq:n0e,lnsim:o0e,loang:r0e,loarr:i0e,lobrk:a0e,longleftarrow:s0e,LongLeftArrow:l0e,Longleftarrow:c0e,longleftrightarrow:u0e,LongLeftRightArrow:d0e,Longleftrightarrow:f0e,longmapsto:h0e,longrightarrow:p0e,LongRightArrow:m0e,Longrightarrow:g0e,looparrowleft:v0e,looparrowright:b0e,lopar:y0e,Lopf:x0e,lopf:C0e,loplus:w0e,lotimes:_0e,lowast:S0e,lowbar:k0e,LowerLeftArrow:P0e,LowerRightArrow:T0e,loz:R0e,lozenge:E0e,lozf:$0e,lpar:A0e,lparlt:I0e,lrarr:O0e,lrcorner:M0e,lrhar:z0e,lrhard:D0e,lrm:L0e,lrtri:F0e,lsaquo:B0e,lscr:N0e,Lscr:H0e,lsh:j0e,Lsh:V0e,lsim:W0e,lsime:U0e,lsimg:q0e,lsqb:K0e,lsquo:G0e,lsquor:Y0e,Lstrok:X0e,lstrok:Z0e,ltcc:J0e,ltcir:Q0e,lt:e1e,LT:t1e,Lt:n1e,ltdot:o1e,lthree:r1e,ltimes:i1e,ltlarr:a1e,ltquest:s1e,ltri:l1e,ltrie:c1e,ltrif:u1e,ltrPar:d1e,lurdshar:f1e,luruhar:h1e,lvertneqq:p1e,lvnE:m1e,macr:g1e,male:v1e,malt:b1e,maltese:y1e,Map:"⤅",map:x1e,mapsto:C1e,mapstodown:w1e,mapstoleft:_1e,mapstoup:S1e,marker:k1e,mcomma:P1e,Mcy:T1e,mcy:R1e,mdash:E1e,mDDot:$1e,measuredangle:A1e,MediumSpace:I1e,Mellintrf:O1e,Mfr:M1e,mfr:z1e,mho:D1e,micro:L1e,midast:F1e,midcir:B1e,mid:N1e,middot:H1e,minusb:j1e,minus:V1e,minusd:W1e,minusdu:U1e,MinusPlus:q1e,mlcp:K1e,mldr:G1e,mnplus:Y1e,models:X1e,Mopf:Z1e,mopf:J1e,mp:Q1e,mscr:eye,Mscr:tye,mstpos:nye,Mu:oye,mu:rye,multimap:iye,mumap:aye,nabla:sye,Nacute:lye,nacute:cye,nang:uye,nap:dye,napE:fye,napid:hye,napos:pye,napprox:mye,natural:gye,naturals:vye,natur:bye,nbsp:yye,nbump:xye,nbumpe:Cye,ncap:wye,Ncaron:_ye,ncaron:Sye,Ncedil:kye,ncedil:Pye,ncong:Tye,ncongdot:Rye,ncup:Eye,Ncy:$ye,ncy:Aye,ndash:Iye,nearhk:Oye,nearr:Mye,neArr:zye,nearrow:Dye,ne:Lye,nedot:Fye,NegativeMediumSpace:Bye,NegativeThickSpace:Nye,NegativeThinSpace:Hye,NegativeVeryThinSpace:jye,nequiv:Vye,nesear:Wye,nesim:Uye,NestedGreaterGreater:qye,NestedLessLess:Kye,NewLine:Gye,nexist:Yye,nexists:Xye,Nfr:Zye,nfr:Jye,ngE:Qye,nge:exe,ngeq:txe,ngeqq:nxe,ngeqslant:oxe,nges:rxe,nGg:ixe,ngsim:axe,nGt:sxe,ngt:lxe,ngtr:cxe,nGtv:uxe,nharr:dxe,nhArr:fxe,nhpar:hxe,ni:pxe,nis:mxe,nisd:gxe,niv:vxe,NJcy:bxe,njcy:yxe,nlarr:xxe,nlArr:Cxe,nldr:wxe,nlE:_xe,nle:Sxe,nleftarrow:kxe,nLeftarrow:Pxe,nleftrightarrow:Txe,nLeftrightarrow:Rxe,nleq:Exe,nleqq:$xe,nleqslant:Axe,nles:Ixe,nless:Oxe,nLl:Mxe,nlsim:zxe,nLt:Dxe,nlt:Lxe,nltri:Fxe,nltrie:Bxe,nLtv:Nxe,nmid:Hxe,NoBreak:jxe,NonBreakingSpace:Vxe,nopf:Wxe,Nopf:Uxe,Not:qxe,not:Kxe,NotCongruent:Gxe,NotCupCap:Yxe,NotDoubleVerticalBar:Xxe,NotElement:Zxe,NotEqual:Jxe,NotEqualTilde:Qxe,NotExists:eCe,NotGreater:tCe,NotGreaterEqual:nCe,NotGreaterFullEqual:oCe,NotGreaterGreater:rCe,NotGreaterLess:iCe,NotGreaterSlantEqual:aCe,NotGreaterTilde:sCe,NotHumpDownHump:lCe,NotHumpEqual:cCe,notin:uCe,notindot:dCe,notinE:fCe,notinva:hCe,notinvb:pCe,notinvc:mCe,NotLeftTriangleBar:gCe,NotLeftTriangle:vCe,NotLeftTriangleEqual:bCe,NotLess:yCe,NotLessEqual:xCe,NotLessGreater:CCe,NotLessLess:wCe,NotLessSlantEqual:_Ce,NotLessTilde:SCe,NotNestedGreaterGreater:kCe,NotNestedLessLess:PCe,notni:TCe,notniva:RCe,notnivb:ECe,notnivc:$Ce,NotPrecedes:ACe,NotPrecedesEqual:ICe,NotPrecedesSlantEqual:OCe,NotReverseElement:MCe,NotRightTriangleBar:zCe,NotRightTriangle:DCe,NotRightTriangleEqual:LCe,NotSquareSubset:FCe,NotSquareSubsetEqual:BCe,NotSquareSuperset:NCe,NotSquareSupersetEqual:HCe,NotSubset:jCe,NotSubsetEqual:VCe,NotSucceeds:WCe,NotSucceedsEqual:UCe,NotSucceedsSlantEqual:qCe,NotSucceedsTilde:KCe,NotSuperset:GCe,NotSupersetEqual:YCe,NotTilde:XCe,NotTildeEqual:ZCe,NotTildeFullEqual:JCe,NotTildeTilde:QCe,NotVerticalBar:ewe,nparallel:twe,npar:nwe,nparsl:owe,npart:rwe,npolint:iwe,npr:awe,nprcue:swe,nprec:lwe,npreceq:cwe,npre:uwe,nrarrc:dwe,nrarr:fwe,nrArr:hwe,nrarrw:pwe,nrightarrow:mwe,nRightarrow:gwe,nrtri:vwe,nrtrie:bwe,nsc:ywe,nsccue:xwe,nsce:Cwe,Nscr:wwe,nscr:_we,nshortmid:Swe,nshortparallel:kwe,nsim:Pwe,nsime:Twe,nsimeq:Rwe,nsmid:Ewe,nspar:$we,nsqsube:Awe,nsqsupe:Iwe,nsub:Owe,nsubE:Mwe,nsube:zwe,nsubset:Dwe,nsubseteq:Lwe,nsubseteqq:Fwe,nsucc:Bwe,nsucceq:Nwe,nsup:Hwe,nsupE:jwe,nsupe:Vwe,nsupset:Wwe,nsupseteq:Uwe,nsupseteqq:qwe,ntgl:Kwe,Ntilde:Gwe,ntilde:Ywe,ntlg:Xwe,ntriangleleft:Zwe,ntrianglelefteq:Jwe,ntriangleright:Qwe,ntrianglerighteq:e_e,Nu:t_e,nu:n_e,num:o_e,numero:r_e,numsp:i_e,nvap:a_e,nvdash:s_e,nvDash:l_e,nVdash:c_e,nVDash:u_e,nvge:d_e,nvgt:f_e,nvHarr:h_e,nvinfin:p_e,nvlArr:m_e,nvle:g_e,nvlt:v_e,nvltrie:b_e,nvrArr:y_e,nvrtrie:x_e,nvsim:C_e,nwarhk:w_e,nwarr:__e,nwArr:S_e,nwarrow:k_e,nwnear:P_e,Oacute:T_e,oacute:R_e,oast:E_e,Ocirc:$_e,ocirc:A_e,ocir:I_e,Ocy:O_e,ocy:M_e,odash:z_e,Odblac:D_e,odblac:L_e,odiv:F_e,odot:B_e,odsold:N_e,OElig:H_e,oelig:j_e,ofcir:V_e,Ofr:W_e,ofr:U_e,ogon:q_e,Ograve:K_e,ograve:G_e,ogt:Y_e,ohbar:X_e,ohm:Z_e,oint:J_e,olarr:Q_e,olcir:e2e,olcross:t2e,oline:n2e,olt:o2e,Omacr:r2e,omacr:i2e,Omega:a2e,omega:s2e,Omicron:l2e,omicron:c2e,omid:u2e,ominus:d2e,Oopf:f2e,oopf:h2e,opar:p2e,OpenCurlyDoubleQuote:m2e,OpenCurlyQuote:g2e,operp:v2e,oplus:b2e,orarr:y2e,Or:x2e,or:C2e,ord:w2e,order:_2e,orderof:S2e,ordf:k2e,ordm:P2e,origof:T2e,oror:R2e,orslope:E2e,orv:$2e,oS:A2e,Oscr:I2e,oscr:O2e,Oslash:M2e,oslash:z2e,osol:D2e,Otilde:L2e,otilde:F2e,otimesas:B2e,Otimes:N2e,otimes:H2e,Ouml:j2e,ouml:V2e,ovbar:W2e,OverBar:U2e,OverBrace:q2e,OverBracket:K2e,OverParenthesis:G2e,para:Y2e,parallel:X2e,par:Z2e,parsim:J2e,parsl:Q2e,part:eSe,PartialD:tSe,Pcy:nSe,pcy:oSe,percnt:rSe,period:iSe,permil:aSe,perp:sSe,pertenk:lSe,Pfr:cSe,pfr:uSe,Phi:dSe,phi:fSe,phiv:hSe,phmmat:pSe,phone:mSe,Pi:gSe,pi:vSe,pitchfork:bSe,piv:ySe,planck:xSe,planckh:CSe,plankv:wSe,plusacir:_Se,plusb:SSe,pluscir:kSe,plus:PSe,plusdo:TSe,plusdu:RSe,pluse:ESe,PlusMinus:$Se,plusmn:ASe,plussim:ISe,plustwo:OSe,pm:MSe,Poincareplane:zSe,pointint:DSe,popf:LSe,Popf:FSe,pound:BSe,prap:NSe,Pr:HSe,pr:jSe,prcue:VSe,precapprox:WSe,prec:USe,preccurlyeq:qSe,Precedes:KSe,PrecedesEqual:GSe,PrecedesSlantEqual:YSe,PrecedesTilde:XSe,preceq:ZSe,precnapprox:JSe,precneqq:QSe,precnsim:eke,pre:tke,prE:nke,precsim:oke,prime:rke,Prime:ike,primes:ake,prnap:ske,prnE:lke,prnsim:cke,prod:uke,Product:dke,profalar:fke,profline:hke,profsurf:pke,prop:mke,Proportional:gke,Proportion:vke,propto:bke,prsim:yke,prurel:xke,Pscr:Cke,pscr:wke,Psi:_ke,psi:Ske,puncsp:kke,Qfr:Pke,qfr:Tke,qint:Rke,qopf:Eke,Qopf:$ke,qprime:Ake,Qscr:Ike,qscr:Oke,quaternions:Mke,quatint:zke,quest:Dke,questeq:Lke,quot:Fke,QUOT:Bke,rAarr:Nke,race:Hke,Racute:jke,racute:Vke,radic:Wke,raemptyv:Uke,rang:qke,Rang:Kke,rangd:Gke,range:Yke,rangle:Xke,raquo:Zke,rarrap:Jke,rarrb:Qke,rarrbfs:e3e,rarrc:t3e,rarr:n3e,Rarr:o3e,rArr:r3e,rarrfs:i3e,rarrhk:a3e,rarrlp:s3e,rarrpl:l3e,rarrsim:c3e,Rarrtl:u3e,rarrtl:d3e,rarrw:f3e,ratail:h3e,rAtail:p3e,ratio:m3e,rationals:g3e,rbarr:v3e,rBarr:b3e,RBarr:y3e,rbbrk:x3e,rbrace:C3e,rbrack:w3e,rbrke:_3e,rbrksld:S3e,rbrkslu:k3e,Rcaron:P3e,rcaron:T3e,Rcedil:R3e,rcedil:E3e,rceil:$3e,rcub:A3e,Rcy:I3e,rcy:O3e,rdca:M3e,rdldhar:z3e,rdquo:D3e,rdquor:L3e,rdsh:F3e,real:B3e,realine:N3e,realpart:H3e,reals:j3e,Re:V3e,rect:W3e,reg:U3e,REG:q3e,ReverseElement:K3e,ReverseEquilibrium:G3e,ReverseUpEquilibrium:Y3e,rfisht:X3e,rfloor:Z3e,rfr:J3e,Rfr:Q3e,rHar:e4e,rhard:t4e,rharu:n4e,rharul:o4e,Rho:r4e,rho:i4e,rhov:a4e,RightAngleBracket:s4e,RightArrowBar:l4e,rightarrow:c4e,RightArrow:u4e,Rightarrow:d4e,RightArrowLeftArrow:f4e,rightarrowtail:h4e,RightCeiling:p4e,RightDoubleBracket:m4e,RightDownTeeVector:g4e,RightDownVectorBar:v4e,RightDownVector:b4e,RightFloor:y4e,rightharpoondown:x4e,rightharpoonup:C4e,rightleftarrows:w4e,rightleftharpoons:_4e,rightrightarrows:S4e,rightsquigarrow:k4e,RightTeeArrow:P4e,RightTee:T4e,RightTeeVector:R4e,rightthreetimes:E4e,RightTriangleBar:$4e,RightTriangle:A4e,RightTriangleEqual:I4e,RightUpDownVector:O4e,RightUpTeeVector:M4e,RightUpVectorBar:z4e,RightUpVector:D4e,RightVectorBar:L4e,RightVector:F4e,ring:B4e,risingdotseq:N4e,rlarr:H4e,rlhar:j4e,rlm:V4e,rmoustache:W4e,rmoust:U4e,rnmid:q4e,roang:K4e,roarr:G4e,robrk:Y4e,ropar:X4e,ropf:Z4e,Ropf:J4e,roplus:Q4e,rotimes:ePe,RoundImplies:tPe,rpar:nPe,rpargt:oPe,rppolint:rPe,rrarr:iPe,Rrightarrow:aPe,rsaquo:sPe,rscr:lPe,Rscr:cPe,rsh:uPe,Rsh:dPe,rsqb:fPe,rsquo:hPe,rsquor:pPe,rthree:mPe,rtimes:gPe,rtri:vPe,rtrie:bPe,rtrif:yPe,rtriltri:xPe,RuleDelayed:CPe,ruluhar:wPe,rx:_Pe,Sacute:SPe,sacute:kPe,sbquo:PPe,scap:TPe,Scaron:RPe,scaron:EPe,Sc:$Pe,sc:APe,sccue:IPe,sce:OPe,scE:MPe,Scedil:zPe,scedil:DPe,Scirc:LPe,scirc:FPe,scnap:BPe,scnE:NPe,scnsim:HPe,scpolint:jPe,scsim:VPe,Scy:WPe,scy:UPe,sdotb:qPe,sdot:KPe,sdote:GPe,searhk:YPe,searr:XPe,seArr:ZPe,searrow:JPe,sect:QPe,semi:eTe,seswar:tTe,setminus:nTe,setmn:oTe,sext:rTe,Sfr:iTe,sfr:aTe,sfrown:sTe,sharp:lTe,SHCHcy:cTe,shchcy:uTe,SHcy:dTe,shcy:fTe,ShortDownArrow:hTe,ShortLeftArrow:pTe,shortmid:mTe,shortparallel:gTe,ShortRightArrow:vTe,ShortUpArrow:bTe,shy:yTe,Sigma:xTe,sigma:CTe,sigmaf:wTe,sigmav:_Te,sim:STe,simdot:kTe,sime:PTe,simeq:TTe,simg:RTe,simgE:ETe,siml:$Te,simlE:ATe,simne:ITe,simplus:OTe,simrarr:MTe,slarr:zTe,SmallCircle:DTe,smallsetminus:LTe,smashp:FTe,smeparsl:BTe,smid:NTe,smile:HTe,smt:jTe,smte:VTe,smtes:WTe,SOFTcy:UTe,softcy:qTe,solbar:KTe,solb:GTe,sol:YTe,Sopf:XTe,sopf:ZTe,spades:JTe,spadesuit:QTe,spar:e5e,sqcap:t5e,sqcaps:n5e,sqcup:o5e,sqcups:r5e,Sqrt:i5e,sqsub:a5e,sqsube:s5e,sqsubset:l5e,sqsubseteq:c5e,sqsup:u5e,sqsupe:d5e,sqsupset:f5e,sqsupseteq:h5e,square:p5e,Square:m5e,SquareIntersection:g5e,SquareSubset:v5e,SquareSubsetEqual:b5e,SquareSuperset:y5e,SquareSupersetEqual:x5e,SquareUnion:C5e,squarf:w5e,squ:_5e,squf:S5e,srarr:k5e,Sscr:P5e,sscr:T5e,ssetmn:R5e,ssmile:E5e,sstarf:$5e,Star:A5e,star:I5e,starf:O5e,straightepsilon:M5e,straightphi:z5e,strns:D5e,sub:L5e,Sub:F5e,subdot:B5e,subE:N5e,sube:H5e,subedot:j5e,submult:V5e,subnE:W5e,subne:U5e,subplus:q5e,subrarr:K5e,subset:G5e,Subset:Y5e,subseteq:X5e,subseteqq:Z5e,SubsetEqual:J5e,subsetneq:Q5e,subsetneqq:eRe,subsim:tRe,subsub:nRe,subsup:oRe,succapprox:rRe,succ:iRe,succcurlyeq:aRe,Succeeds:sRe,SucceedsEqual:lRe,SucceedsSlantEqual:cRe,SucceedsTilde:uRe,succeq:dRe,succnapprox:fRe,succneqq:hRe,succnsim:pRe,succsim:mRe,SuchThat:gRe,sum:vRe,Sum:bRe,sung:yRe,sup1:xRe,sup2:CRe,sup3:wRe,sup:_Re,Sup:SRe,supdot:kRe,supdsub:PRe,supE:TRe,supe:RRe,supedot:ERe,Superset:$Re,SupersetEqual:ARe,suphsol:IRe,suphsub:ORe,suplarr:MRe,supmult:zRe,supnE:DRe,supne:LRe,supplus:FRe,supset:BRe,Supset:NRe,supseteq:HRe,supseteqq:jRe,supsetneq:VRe,supsetneqq:WRe,supsim:URe,supsub:qRe,supsup:KRe,swarhk:GRe,swarr:YRe,swArr:XRe,swarrow:ZRe,swnwar:JRe,szlig:QRe,Tab:eEe,target:tEe,Tau:nEe,tau:oEe,tbrk:rEe,Tcaron:iEe,tcaron:aEe,Tcedil:sEe,tcedil:lEe,Tcy:cEe,tcy:uEe,tdot:dEe,telrec:fEe,Tfr:hEe,tfr:pEe,there4:mEe,therefore:gEe,Therefore:vEe,Theta:bEe,theta:yEe,thetasym:xEe,thetav:CEe,thickapprox:wEe,thicksim:_Ee,ThickSpace:SEe,ThinSpace:kEe,thinsp:PEe,thkap:TEe,thksim:REe,THORN:EEe,thorn:$Ee,tilde:AEe,Tilde:IEe,TildeEqual:OEe,TildeFullEqual:MEe,TildeTilde:zEe,timesbar:DEe,timesb:LEe,times:FEe,timesd:BEe,tint:NEe,toea:HEe,topbot:jEe,topcir:VEe,top:WEe,Topf:UEe,topf:qEe,topfork:KEe,tosa:GEe,tprime:YEe,trade:XEe,TRADE:ZEe,triangle:JEe,triangledown:QEe,triangleleft:e$e,trianglelefteq:t$e,triangleq:n$e,triangleright:o$e,trianglerighteq:r$e,tridot:i$e,trie:a$e,triminus:s$e,TripleDot:l$e,triplus:c$e,trisb:u$e,tritime:d$e,trpezium:f$e,Tscr:h$e,tscr:p$e,TScy:m$e,tscy:g$e,TSHcy:v$e,tshcy:b$e,Tstrok:y$e,tstrok:x$e,twixt:C$e,twoheadleftarrow:w$e,twoheadrightarrow:_$e,Uacute:S$e,uacute:k$e,uarr:P$e,Uarr:T$e,uArr:R$e,Uarrocir:E$e,Ubrcy:$$e,ubrcy:A$e,Ubreve:I$e,ubreve:O$e,Ucirc:M$e,ucirc:z$e,Ucy:D$e,ucy:L$e,udarr:F$e,Udblac:B$e,udblac:N$e,udhar:H$e,ufisht:j$e,Ufr:V$e,ufr:W$e,Ugrave:U$e,ugrave:q$e,uHar:K$e,uharl:G$e,uharr:Y$e,uhblk:X$e,ulcorn:Z$e,ulcorner:J$e,ulcrop:Q$e,ultri:eAe,Umacr:tAe,umacr:nAe,uml:oAe,UnderBar:rAe,UnderBrace:iAe,UnderBracket:aAe,UnderParenthesis:sAe,Union:lAe,UnionPlus:cAe,Uogon:uAe,uogon:dAe,Uopf:fAe,uopf:hAe,UpArrowBar:pAe,uparrow:mAe,UpArrow:gAe,Uparrow:vAe,UpArrowDownArrow:bAe,updownarrow:yAe,UpDownArrow:xAe,Updownarrow:CAe,UpEquilibrium:wAe,upharpoonleft:_Ae,upharpoonright:SAe,uplus:kAe,UpperLeftArrow:PAe,UpperRightArrow:TAe,upsi:RAe,Upsi:EAe,upsih:$Ae,Upsilon:AAe,upsilon:IAe,UpTeeArrow:OAe,UpTee:MAe,upuparrows:zAe,urcorn:DAe,urcorner:LAe,urcrop:FAe,Uring:BAe,uring:NAe,urtri:HAe,Uscr:jAe,uscr:VAe,utdot:WAe,Utilde:UAe,utilde:qAe,utri:KAe,utrif:GAe,uuarr:YAe,Uuml:XAe,uuml:ZAe,uwangle:JAe,vangrt:QAe,varepsilon:e6e,varkappa:t6e,varnothing:n6e,varphi:o6e,varpi:r6e,varpropto:i6e,varr:a6e,vArr:s6e,varrho:l6e,varsigma:c6e,varsubsetneq:u6e,varsubsetneqq:d6e,varsupsetneq:f6e,varsupsetneqq:h6e,vartheta:p6e,vartriangleleft:m6e,vartriangleright:g6e,vBar:v6e,Vbar:b6e,vBarv:y6e,Vcy:x6e,vcy:C6e,vdash:w6e,vDash:_6e,Vdash:S6e,VDash:k6e,Vdashl:P6e,veebar:T6e,vee:R6e,Vee:E6e,veeeq:$6e,vellip:A6e,verbar:I6e,Verbar:O6e,vert:M6e,Vert:z6e,VerticalBar:D6e,VerticalLine:L6e,VerticalSeparator:F6e,VerticalTilde:B6e,VeryThinSpace:N6e,Vfr:H6e,vfr:j6e,vltri:V6e,vnsub:W6e,vnsup:U6e,Vopf:q6e,vopf:K6e,vprop:G6e,vrtri:Y6e,Vscr:X6e,vscr:Z6e,vsubnE:J6e,vsubne:Q6e,vsupnE:e8e,vsupne:t8e,Vvdash:n8e,vzigzag:o8e,Wcirc:r8e,wcirc:i8e,wedbar:a8e,wedge:s8e,Wedge:l8e,wedgeq:c8e,weierp:u8e,Wfr:d8e,wfr:f8e,Wopf:h8e,wopf:p8e,wp:m8e,wr:g8e,wreath:v8e,Wscr:b8e,wscr:y8e,xcap:x8e,xcirc:C8e,xcup:w8e,xdtri:_8e,Xfr:S8e,xfr:k8e,xharr:P8e,xhArr:T8e,Xi:R8e,xi:E8e,xlarr:$8e,xlArr:A8e,xmap:I8e,xnis:O8e,xodot:M8e,Xopf:z8e,xopf:D8e,xoplus:L8e,xotime:F8e,xrarr:B8e,xrArr:N8e,Xscr:H8e,xscr:j8e,xsqcup:V8e,xuplus:W8e,xutri:U8e,xvee:q8e,xwedge:K8e,Yacute:G8e,yacute:Y8e,YAcy:X8e,yacy:Z8e,Ycirc:J8e,ycirc:Q8e,Ycy:eIe,ycy:tIe,yen:nIe,Yfr:oIe,yfr:rIe,YIcy:iIe,yicy:aIe,Yopf:sIe,yopf:lIe,Yscr:cIe,yscr:uIe,YUcy:dIe,yucy:fIe,yuml:hIe,Yuml:pIe,Zacute:mIe,zacute:gIe,Zcaron:vIe,zcaron:bIe,Zcy:yIe,zcy:xIe,Zdot:CIe,zdot:wIe,zeetrf:_Ie,ZeroWidthSpace:SIe,Zeta:kIe,zeta:PIe,zfr:TIe,Zfr:RIe,ZHcy:EIe,zhcy:$Ie,zigrarr:AIe,zopf:IIe,Zopf:OIe,Zscr:MIe,zscr:zIe,zwj:DIe,zwnj:LIe};var pk=FIe,jm=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Ya={},_1={};function BIe(e){var t,n,o=_1[e];if(o)return o;for(o=_1[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?o.push(n):o.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t"u"&&(n=!0),s=BIe(t),o=0,r=e.length;o=55296&&i<=57343){if(i>=55296&&i<=56319&&o+1=56320&&a<=57343)){l+=encodeURIComponent(e[o]+e[o+1]),o++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(e[o])}return l}Ku.defaultChars=";/?:@&=+$,-_.!~*'()#";Ku.componentChars="-_.!~*'()";var NIe=Ku,S1={};function HIe(e){var t,n,o=S1[e];if(o)return o;for(o=S1[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),o.push(n);for(t=0;t=55296&&u<=57343?d+="���":d+=String.fromCharCode(u),r+=6;continue}if((a&248)===240&&r+91114111?d+="����":(u-=65536,d+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),r+=9;continue}d+="�"}return d})}Gu.defaultChars=";/?:@&=+$,#";Gu.componentChars="";var jIe=Gu,VIe=function(t){var n="";return n+=t.protocol||"",n+=t.slashes?"//":"",n+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?n+="["+t.hostname+"]":n+=t.hostname||"",n+=t.port?":"+t.port:"",n+=t.pathname||"",n+=t.search||"",n+=t.hash||"",n};function Hc(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var WIe=/^([a-z0-9.+-]+:)/i,UIe=/:[0-9]*$/,qIe=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,KIe=["<",">",'"',"`"," ","\r",` +`," "],GIe=["{","}","|","\\","^","`"].concat(KIe),YIe=["'"].concat(GIe),k1=["%","/","?",";","#"].concat(YIe),P1=["/","?","#"],XIe=255,T1=/^[+a-z0-9A-Z_-]{0,63}$/,ZIe=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,R1={javascript:!0,"javascript:":!0},E1={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function JIe(e,t){if(e&&e instanceof Hc)return e;var n=new Hc;return n.parse(e,t),n}Hc.prototype.parse=function(e,t){var n,o,r,i,a,s=e;if(s=s.trim(),!t&&e.split("#").length===1){var l=qIe.exec(s);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=WIe.exec(s);if(c&&(c=c[0],r=c.toLowerCase(),this.protocol=c,s=s.substr(c.length)),(t||c||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(a=s.substr(0,2)==="//",a&&!(c&&R1[c])&&(s=s.substr(2),this.slashes=!0)),!R1[c]&&(a||c&&!E1[c])){var u=-1;for(n=0;n127?b+="x":b+=m[_];if(!b.match(T1)){var S=g.slice(0,n),w=g.slice(n+1),x=m.match(ZIe);x&&(S.push(x[1]),w.unshift(x[2])),w.length&&(s=w.join(".")+s),this.hostname=S.join(".");break}}}}this.hostname.length>XIe&&(this.hostname=""),p&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var y=s.indexOf("#");y!==-1&&(this.hash=s.substr(y),s=s.slice(0,y));var P=s.indexOf("?");return P!==-1&&(this.search=s.substr(P),s=s.slice(0,P)),s&&(this.pathname=s),E1[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Hc.prototype.parseHost=function(e){var t=UIe.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var QIe=JIe;Ya.encode=NIe;Ya.decode=jIe;Ya.format=VIe;Ya.parse=QIe;var di={},ff,$1;function mk(){return $1||($1=1,ff=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),ff}var hf,A1;function gk(){return A1||(A1=1,hf=/[\0-\x1F\x7F-\x9F]/),hf}var pf,I1;function eOe(){return I1||(I1=1,pf=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),pf}var mf,O1;function vk(){return O1||(O1=1,mf=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),mf}var M1;function tOe(){return M1||(M1=1,di.Any=mk(),di.Cc=gk(),di.Cf=eOe(),di.P=jm,di.Z=vk()),di}(function(e){function t(N){return Object.prototype.toString.call(N)}function n(N){return t(N)==="[object String]"}var o=Object.prototype.hasOwnProperty;function r(N,D){return o.call(N,D)}function i(N){var D=Array.prototype.slice.call(arguments,1);return D.forEach(function(M){if(M){if(typeof M!="object")throw new TypeError(M+"must be object");Object.keys(M).forEach(function(G){N[G]=M[G]})}}),N}function a(N,D,M){return[].concat(N.slice(0,D),M,N.slice(D+1))}function s(N){return!(N>=55296&&N<=57343||N>=64976&&N<=65007||(N&65535)===65535||(N&65535)===65534||N>=0&&N<=8||N===11||N>=14&&N<=31||N>=127&&N<=159||N>1114111)}function l(N){if(N>65535){N-=65536;var D=55296+(N>>10),M=56320+(N&1023);return String.fromCharCode(D,M)}return String.fromCharCode(N)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,d=new RegExp(c.source+"|"+u.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,h=pk;function p(N,D){var M;return r(h,D)?h[D]:D.charCodeAt(0)===35&&f.test(D)&&(M=D[1].toLowerCase()==="x"?parseInt(D.slice(2),16):parseInt(D.slice(1),10),s(M))?l(M):N}function g(N){return N.indexOf("\\")<0?N:N.replace(c,"$1")}function m(N){return N.indexOf("\\")<0&&N.indexOf("&")<0?N:N.replace(d,function(D,M,G){return M||p(D,G)})}var b=/[&<>"]/,_=/[&<>"]/g,C={"&":"&","<":"<",">":">",'"':"""};function S(N){return C[N]}function w(N){return b.test(N)?N.replace(_,S):N}var x=/[.?*+^$[\]\\(){}|-]/g;function y(N){return N.replace(x,"\\$&")}function P(N){switch(N){case 9:case 32:return!0}return!1}function k(N){if(N>=8192&&N<=8202)return!0;switch(N){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var T=jm;function E(N){return T.test(N)}function R(N){switch(N){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function K(N){return N=N.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(N=N.replace(/ẞ/g,"ß")),N.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=Ya,e.lib.ucmicro=tOe(),e.assign=i,e.isString=n,e.has=r,e.unescapeMd=g,e.unescapeAll=m,e.isValidEntityCode=s,e.fromCodePoint=l,e.escapeHtml=w,e.arrayReplaceAt=a,e.isSpace=P,e.isWhiteSpace=k,e.isMdAsciiPunct=R,e.isPunctChar=E,e.escapeRE=y,e.normalizeReference=K})(Ft);var Yu={},nOe=function(t,n,o){var r,i,a,s,l=-1,c=t.posMax,u=t.pos;for(t.pos=n+1,r=1;t.pos32))return s;if(r===41){if(i===0)break;i--}a++}return n===a||i!==0||(s.str=z1(t.slice(n,a)),s.pos=a,s.ok=!0),s},rOe=Ft.unescapeAll,iOe=function(t,n,o){var r,i,a=0,s=n,l={ok:!1,pos:0,lines:0,str:""};if(s>=o||(i=t.charCodeAt(s),i!==34&&i!==39&&i!==40))return l;for(s++,i===40&&(i=41);s"+zi(i.content)+""};Go.code_block=function(e,t,n,o,r){var i=e[t];return""+zi(e[t].content)+` +`};Go.fence=function(e,t,n,o,r){var i=e[t],a=i.info?sOe(i.info).trim():"",s="",l="",c,u,d,f,h;return a&&(d=a.split(/(\s+)/g),s=d[0],l=d.slice(2).join("")),n.highlight?c=n.highlight(i.content,s,l)||zi(i.content):c=zi(i.content),c.indexOf(""+c+` `):"
"+c+`
-`};qo.image=function(e,t,n,o,r){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=r.renderInlineAsText(i.children,n,o),r.renderToken(e,t,n)};qo.hardbreak=function(e,t,n){return n.xhtmlOut?`
+`};Go.image=function(e,t,n,o,r){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=r.renderInlineAsText(i.children,n,o),r.renderToken(e,t,n)};Go.hardbreak=function(e,t,n){return n.xhtmlOut?`
`:`
-`};qo.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`
+`};Go.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`
`:`
`:` -`};qo.text=function(e,t){return Ei(e[t].content)};qo.html_block=function(e,t){return e[t].content};qo.html_inline=function(e,t){return e[t].content};function Wa(){this.rules=mIe({},qo)}Wa.prototype.renderAttrs=function(t){var n,o,r;if(!t.attrs)return"";for(r="",n=0,o=t.attrs.length;n -`:">",i)};Wa.prototype.renderInline=function(e,t,n){for(var o,r="",i=this.rules,a=0,s=e.length;a\s]/i.test(e)}function kIe(e){return/^<\/a\s*>/i.test(e)}var PIe=function(t){var n,o,r,i,a,s,l,c,u,d,f,p,h,m,v,b,w=t.tokens,C;if(t.md.options.linkify){for(o=0,r=w.length;o=0;n--){if(s=i[n],s.type==="link_close"){for(n--;i[n].level!==s.level&&i[n].type!=="link_open";)n--;continue}if(s.type==="html_inline"&&(SIe(s.content)&&h>0&&h--,kIe(s.content)&&h++),!(h>0)&&s.type==="text"&&t.md.linkify.test(s.content)){for(u=s.content,C=t.md.linkify.match(u),l=[],p=s.level,f=0,C.length>0&&C[0].index===0&&n>0&&i[n-1].type==="text_special"&&(C=C.slice(1)),c=0;cf&&(a=new t.Token("text","",0),a.content=u.slice(f,d),a.level=p,l.push(a)),a=new t.Token("link_open","a",1),a.attrs=[["href",v]],a.level=p++,a.markup="linkify",a.info="auto",l.push(a),a=new t.Token("text","",0),a.content=b,a.level=p,l.push(a),a=new t.Token("link_close","a",-1),a.level=--p,a.markup="linkify",a.info="auto",l.push(a),f=C[c].lastIndex);f=0;t--)n=e[t],n.type==="text"&&!o&&(n.content=n.content.replace(RIe,$Ie)),n.type==="link_open"&&n.info==="auto"&&o--,n.type==="link_close"&&n.info==="auto"&&o++}function IIe(e){var t,n,o=0;for(t=e.length-1;t>=0;t--)n=e[t],n.type==="text"&&!o&&US.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&o--,n.type==="link_close"&&n.info==="auto"&&o++}var OIe=function(t){var n;if(t.md.options.typographer)for(n=t.tokens.length-1;n>=0;n--)t.tokens[n].type==="inline"&&(TIe.test(t.tokens[n].content)&&AIe(t.tokens[n].children),US.test(t.tokens[n].content)&&IIe(t.tokens[n].children))},y1=Ft.isWhiteSpace,x1=Ft.isPunctChar,C1=Ft.isMdAsciiPunct,MIe=/['"]/,w1=/['"]/g,_1="’";function Gl(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function zIe(e,t){var n,o,r,i,a,s,l,c,u,d,f,p,h,m,v,b,w,C,S,_,x;for(S=[],n=0;n=0&&!(S[w].level<=l);w--);if(S.length=w+1,o.type==="text"){r=o.content,a=0,s=r.length;e:for(;a=0)u=r.charCodeAt(i.index-1);else for(w=n-1;w>=0&&!(e[w].type==="softbreak"||e[w].type==="hardbreak");w--)if(e[w].content){u=e[w].content.charCodeAt(e[w].content.length-1);break}if(d=32,a=48&&u<=57&&(b=v=!1),v&&b&&(v=f,b=p),!v&&!b){C&&(o.content=Gl(o.content,i.index,_1));continue}if(b){for(w=S.length-1;w>=0&&(c=S[w],!(S[w].level=0;n--)t.tokens[n].type!=="inline"||!MIe.test(t.tokens[n].content)||zIe(t.tokens[n].children,t)},LIe=function(t){var n,o,r,i,a,s,l=t.tokens;for(n=0,o=l.length;n=0&&(o=this.attrs[n][1]),o};Ua.prototype.attrJoin=function(t,n){var o=this.attrIndex(t);o<0?this.attrPush([t,n]):this.attrs[o][1]=this.attrs[o][1]+" "+n};var $m=Ua,FIe=$m;function qS(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}qS.prototype.Token=FIe;var BIe=qS,NIe=Em,rf=[["normalize",xIe],["block",CIe],["inline",wIe],["linkify",PIe],["replacements",OIe],["smartquotes",DIe],["text_join",LIe]];function Am(){this.ruler=new NIe;for(var e=0;eo||(u=n+1,t.sCount[u]=4||(s=t.bMarks[u]+t.tShift[u],s>=t.eMarks[u])||(_=t.src.charCodeAt(s++),_!==124&&_!==45&&_!==58)||s>=t.eMarks[u]||(x=t.src.charCodeAt(s++),x!==124&&x!==45&&x!==58&&!af(x))||_===45&&af(x))return!1;for(;s=4||(d=S1(a),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),f=d.length,f===0||f!==h.length))return!1;if(r)return!0;for(w=t.parentType,t.parentType="table",S=t.md.block.ruler.getRules("blockquote"),p=t.push("table_open","table",1),p.map=v=[n,0],p=t.push("thead_open","thead",1),p.map=[n,n+1],p=t.push("tr_open","tr",1),p.map=[n,n+1],l=0;l=4)break;for(d=S1(a),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),u===n+2&&(p=t.push("tbody_open","tbody",1),p.map=b=[n+2,0]),p=t.push("tr_open","tr",1),p.map=[u,u+1],l=0;l=4){r++,i=r;continue}break}return t.line=i,a=t.push("code_block","code",0),a.content=t.getLines(n,i,4+t.blkIndent,!1)+` -`,a.map=[n,t.line],!0},WIe=function(t,n,o,r){var i,a,s,l,c,u,d,f=!1,p=t.bMarks[n]+t.tShift[n],h=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||p+3>h||(i=t.src.charCodeAt(p),i!==126&&i!==96)||(c=p,p=t.skipChars(p,i),a=p-c,a<3)||(d=t.src.slice(c,p),s=t.src.slice(p,h),i===96&&s.indexOf(String.fromCharCode(i))>=0))return!1;if(r)return!0;for(l=n;l++,!(l>=o||(p=c=t.bMarks[l]+t.tShift[l],h=t.eMarks[l],p=4)&&(p=t.skipChars(p,i),!(p-c=4||t.src.charCodeAt(T)!==62)return!1;if(r)return!0;for(h=[],m=[],w=[],C=[],x=t.md.block.ruler.getRules("blockquote"),b=t.parentType,t.parentType="blockquote",f=n;f=$));f++){if(t.src.charCodeAt(T++)===62&&!k){for(l=t.sCount[f]+1,t.src.charCodeAt(T)===32?(T++,l++,i=!1,S=!0):t.src.charCodeAt(T)===9?(S=!0,(t.bsCount[f]+l)%4===3?(T++,l++,i=!1):i=!0):S=!1,p=l,h.push(t.bMarks[f]),t.bMarks[f]=T;T<$&&(a=t.src.charCodeAt(T),UIe(a));){a===9?p+=4-(p+t.bsCount[f]+(i?1:0))%4:p++;T++}u=T>=$,m.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(S?1:0),w.push(t.sCount[f]),t.sCount[f]=p-l,C.push(t.tShift[f]),t.tShift[f]=T-t.bMarks[f];continue}if(u)break;for(_=!1,s=0,c=x.length;s",y.map=d=[n,0],t.md.block.tokenize(t,n,f),y=t.push("blockquote_close","blockquote",-1),y.markup=">",t.lineMax=P,t.parentType=b,d[1]=t.line,s=0;s=4||(i=t.src.charCodeAt(c++),i!==42&&i!==45&&i!==95))return!1;for(a=1;c=i||(n=e.src.charCodeAt(r++),n<48||n>57))return-1;for(;;){if(r>=i)return-1;if(n=e.src.charCodeAt(r++),n>=48&&n<=57){if(r-o>=10)return-1;continue}if(n===41||n===46)break;return-1}return r=4||t.listIndent>=0&&t.sCount[M]-t.listIndent>=4&&t.sCount[M]=t.blkIndent&&(Y=!0),(T=P1(t,M))>=0){if(d=!0,R=t.bMarks[M]+t.tShift[M],b=Number(t.src.slice(R,T-1)),Y&&b!==1)return!1}else if((T=k1(t,M))>=0)d=!1;else return!1;if(Y&&t.skipSpaces(T)>=t.eMarks[M])return!1;if(r)return!0;for(v=t.src.charCodeAt(T-1),m=t.tokens.length,d?(D=t.push("ordered_list_open","ol",1),b!==1&&(D.attrs=[["start",b]])):D=t.push("bullet_list_open","ul",1),D.map=h=[M,0],D.markup=String.fromCharCode(v),$=!1,j=t.md.block.ruler.getRules("list"),_=t.parentType,t.parentType="list";M=w?c=1:c=C-u,c>4&&(c=1),l=u+c,D=t.push("list_item_open","li",1),D.markup=String.fromCharCode(v),D.map=f=[M,0],d&&(D.info=t.src.slice(R,T-1)),k=t.tight,y=t.tShift[M],x=t.sCount[M],S=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=l,t.tight=!0,t.tShift[M]=a-t.bMarks[M],t.sCount[M]=C,a>=w&&t.isEmpty(M+1)?t.line=Math.min(t.line+2,o):t.md.block.tokenize(t,M,o,!0),(!t.tight||$)&&(Q=!1),$=t.line-M>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=S,t.tShift[M]=y,t.sCount[M]=x,t.tight=k,D=t.push("list_item_close","li",-1),D.markup=String.fromCharCode(v),M=t.line,f[1]=M,M>=o||t.sCount[M]=4)break;for(K=!1,s=0,p=j.length;s=4||t.src.charCodeAt(x)!==91)return!1;for(;++x3)&&!(t.sCount[k]<0)){for(w=!1,u=0,d=C.length;u"u"&&(t.env.references={}),typeof t.env.references[f]>"u"&&(t.env.references[f]={title:S,href:c}),t.parentType=h,t.line=n+_+1),!0)},QIe=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],qu={},eOe="[a-zA-Z_:][a-zA-Z0-9:._-]*",tOe="[^\"'=<>`\\x00-\\x20]+",nOe="'[^']*'",oOe='"[^"]*"',rOe="(?:"+tOe+"|"+nOe+"|"+oOe+")",iOe="(?:\\s+"+eOe+"(?:\\s*=\\s*"+rOe+")?)",GS="<[A-Za-z][A-Za-z0-9\\-]*"+iOe+"*\\s*\\/?>",YS="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",aOe="|",sOe="<[?][\\s\\S]*?[?]>",lOe="]*>",cOe="",uOe=new RegExp("^(?:"+GS+"|"+YS+"|"+aOe+"|"+sOe+"|"+lOe+"|"+cOe+")"),dOe=new RegExp("^(?:"+GS+"|"+YS+")");qu.HTML_TAG_RE=uOe;qu.HTML_OPEN_CLOSE_TAG_RE=dOe;var fOe=QIe,hOe=qu.HTML_OPEN_CLOSE_TAG_RE,ea=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(hOe.source+"\\s*$"),/^$/,!1]],pOe=function(t,n,o,r){var i,a,s,l,c=t.bMarks[n]+t.tShift[n],u=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||!t.md.options.html||t.src.charCodeAt(c)!==60)return!1;for(l=t.src.slice(c,u),i=0;i=4||(i=t.src.charCodeAt(c),i!==35||c>=u))return!1;for(a=1,i=t.src.charCodeAt(++c);i===35&&c6||cc&&T1(t.src.charCodeAt(s-1))&&(u=s),t.line=n+1,l=t.push("heading_open","h"+String(a),1),l.markup="########".slice(0,a),l.map=[n,t.line],l=t.push("inline","",0),l.content=t.src.slice(c,u).trim(),l.map=[n,t.line],l.children=[],l=t.push("heading_close","h"+String(a),-1),l.markup="########".slice(0,a)),!0)},gOe=function(t,n,o){var r,i,a,s,l,c,u,d,f,p=n+1,h,m=t.md.block.ruler.getRules("paragraph");if(t.sCount[n]-t.blkIndent>=4)return!1;for(h=t.parentType,t.parentType="paragraph";p3)){if(t.sCount[p]>=t.blkIndent&&(c=t.bMarks[p]+t.tShift[p],u=t.eMarks[p],c=u)))){d=f===61?1:2;break}if(!(t.sCount[p]<0)){for(i=!1,a=0,s=m.length;a3)&&!(t.sCount[u]<0)){for(i=!1,a=0,s=d.length;a0&&this.level++,this.tokens.push(o),o};Ko.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};Ko.prototype.skipEmptyLines=function(t){for(var n=this.lineMax;tn;)if(!Ku(this.src.charCodeAt(--t)))return t+1;return t};Ko.prototype.skipChars=function(t,n){for(var o=this.src.length;to;)if(n!==this.src.charCodeAt(--t))return t+1;return t};Ko.prototype.getLines=function(t,n,o,r){var i,a,s,l,c,u,d,f=t;if(t>=n)return"";for(u=new Array(n-t),i=0;fo?u[i]=new Array(a-o+1).join(" ")+this.src.slice(l,c):u[i]=this.src.slice(l,c)}return u.join("")};Ko.prototype.Token=XS;var bOe=Ko,yOe=Em,Xl=[["table",jIe,["paragraph","reference"]],["code",VIe],["fence",WIe,["paragraph","reference","blockquote","list"]],["blockquote",qIe,["paragraph","reference","blockquote","list"]],["hr",GIe,["paragraph","reference","blockquote","list"]],["list",XIe,["paragraph","reference","blockquote"]],["reference",JIe],["html_block",pOe,["paragraph","reference","blockquote"]],["heading",mOe,["paragraph","reference","blockquote"]],["lheading",gOe],["paragraph",vOe]];function Gu(){this.ruler=new yOe;for(var e=0;e=n||e.sCount[l]=u){e.line=n;break}for(i=e.line,r=0;r=e.line)throw new Error("block rule didn't increment state.line");break}if(!o)throw new Error("none of the block rules matched");e.tight=!c,e.isEmpty(e.line-1)&&(c=!0),l=e.line,l0||(o=t.pos,r=t.posMax,o+3>r)||t.src.charCodeAt(o)!==58||t.src.charCodeAt(o+1)!==47||t.src.charCodeAt(o+2)!==47||(i=t.pending.match(_Oe),!i)||(a=i[1],s=t.md.linkify.matchAtStart(t.src.slice(o-a.length)),!s)||(l=s.url,l.length<=a.length)||(l=l.replace(/\*+$/,""),c=t.md.normalizeLink(l),!t.md.validateLink(c))?!1:(n||(t.pending=t.pending.slice(0,-a.length),u=t.push("link_open","a",1),u.attrs=[["href",c]],u.markup="linkify",u.info="auto",u=t.push("text","",0),u.content=t.md.normalizeLinkText(l),u=t.push("link_close","a",-1),u.markup="linkify",u.info="auto"),t.pos+=l.length-a.length,!0)},kOe=Ft.isSpace,POe=function(t,n){var o,r,i,a=t.pos;if(t.src.charCodeAt(a)!==10)return!1;if(o=t.pending.length-1,r=t.posMax,!n)if(o>=0&&t.pending.charCodeAt(o)===32)if(o>=1&&t.pending.charCodeAt(o-1)===32){for(i=o-1;i>=1&&t.pending.charCodeAt(i-1)===32;)i--;t.pending=t.pending.slice(0,i),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(a++;a?@[]^_`{|}~-".split("").forEach(function(e){Im[e.charCodeAt(0)]=1});var ROe=function(t,n){var o,r,i,a,s,l=t.pos,c=t.posMax;if(t.src.charCodeAt(l)!==92||(l++,l>=c))return!1;if(o=t.src.charCodeAt(l),o===10){for(n||t.push("hardbreak","br",0),l++;l=55296&&o<=56319&&l+1=56320&&r<=57343&&(a+=t.src[l+1],l++)),i="\\"+a,n||(s=t.push("text_special","",0),o<256&&Im[o]!==0?s.content=a:s.content=i,s.markup=i,s.info="escape"),t.pos=l+1,!0},EOe=function(t,n){var o,r,i,a,s,l,c,u,d=t.pos,f=t.src.charCodeAt(d);if(f!==96)return!1;for(o=d,d++,r=t.posMax;d=0;n--)o=t[n],!(o.marker!==95&&o.marker!==42)&&o.end!==-1&&(r=t[o.end],s=n>0&&t[n-1].end===o.end+1&&t[n-1].marker===o.marker&&t[n-1].token===o.token-1&&t[o.end+1].token===r.token+1,a=String.fromCharCode(o.marker),i=e.tokens[o.token],i.type=s?"strong_open":"em_open",i.tag=s?"strong":"em",i.nesting=1,i.markup=s?a+a:a,i.content="",i=e.tokens[r.token],i.type=s?"strong_close":"em_close",i.tag=s?"strong":"em",i.nesting=-1,i.markup=s?a+a:a,i.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[o.end+1].token].content="",n--))}Xu.postProcess=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for($1(t,t.delimiters),n=0;n=m)return!1;if(v=l,c=t.md.helpers.parseLinkDestination(t.src,l,t.posMax),c.ok){for(f=t.md.normalizeLink(c.str),t.md.validateLink(f)?l=c.pos:f="",v=l;l=m||t.src.charCodeAt(l)!==41)&&(b=!0),l++}if(b){if(typeof t.env.references>"u")return!1;if(l=0?i=t.src.slice(v,l++):l=a+1):l=a+1,i||(i=t.src.slice(s,a)),u=t.env.references[$Oe(i)],!u)return t.pos=h,!1;f=u.href,p=u.title}return n||(t.pos=s,t.posMax=a,d=t.push("link_open","a",1),d.attrs=o=[["href",f]],p&&o.push(["title",p]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,d=t.push("link_close","a",-1)),t.pos=l,t.posMax=m,!0},IOe=Ft.normalizeReference,cf=Ft.isSpace,OOe=function(t,n){var o,r,i,a,s,l,c,u,d,f,p,h,m,v="",b=t.pos,w=t.posMax;if(t.src.charCodeAt(t.pos)!==33||t.src.charCodeAt(t.pos+1)!==91||(l=t.pos+2,s=t.md.helpers.parseLinkLabel(t,t.pos+1,!1),s<0))return!1;if(c=s+1,c=w)return!1;for(m=c,d=t.md.helpers.parseLinkDestination(t.src,c,t.posMax),d.ok&&(v=t.md.normalizeLink(d.str),t.md.validateLink(v)?c=d.pos:v=""),m=c;c=w||t.src.charCodeAt(c)!==41)return t.pos=b,!1;c++}else{if(typeof t.env.references>"u")return!1;if(c=0?a=t.src.slice(m,c++):c=s+1):c=s+1,a||(a=t.src.slice(l,s)),u=t.env.references[IOe(a)],!u)return t.pos=b,!1;v=u.href,f=u.title}return n||(i=t.src.slice(l,s),t.md.inline.parse(i,t.md,t.env,h=[]),p=t.push("image","img",0),p.attrs=o=[["src",v],["alt",""]],p.children=h,p.content=i,f&&o.push(["title",f])),t.pos=c,t.posMax=w,!0},MOe=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,zOe=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,DOe=function(t,n){var o,r,i,a,s,l,c=t.pos;if(t.src.charCodeAt(c)!==60)return!1;for(s=t.pos,l=t.posMax;;){if(++c>=l||(a=t.src.charCodeAt(c),a===60))return!1;if(a===62)break}return o=t.src.slice(s+1,c),zOe.test(o)?(r=t.md.normalizeLink(o),t.md.validateLink(r)?(n||(i=t.push("link_open","a",1),i.attrs=[["href",r]],i.markup="autolink",i.info="auto",i=t.push("text","",0),i.content=t.md.normalizeLinkText(o),i=t.push("link_close","a",-1),i.markup="autolink",i.info="auto"),t.pos+=o.length+2,!0):!1):MOe.test(o)?(r=t.md.normalizeLink("mailto:"+o),t.md.validateLink(r)?(n||(i=t.push("link_open","a",1),i.attrs=[["href",r]],i.markup="autolink",i.info="auto",i=t.push("text","",0),i.content=t.md.normalizeLinkText(o),i=t.push("link_close","a",-1),i.markup="autolink",i.info="auto"),t.pos+=o.length+2,!0):!1):!1},LOe=qu.HTML_TAG_RE;function FOe(e){return/^\s]/i.test(e)}function BOe(e){return/^<\/a\s*>/i.test(e)}function NOe(e){var t=e|32;return t>=97&&t<=122}var HOe=function(t,n){var o,r,i,a,s=t.pos;return!t.md.options.html||(i=t.posMax,t.src.charCodeAt(s)!==60||s+2>=i)||(o=t.src.charCodeAt(s+1),o!==33&&o!==63&&o!==47&&!NOe(o))||(r=t.src.slice(s).match(LOe),!r)?!1:(n||(a=t.push("html_inline","",0),a.content=r[0],FOe(a.content)&&t.linkLevel++,BOe(a.content)&&t.linkLevel--),t.pos+=r[0].length,!0)},A1=HS,jOe=Ft.has,VOe=Ft.isValidEntityCode,I1=Ft.fromCodePoint,WOe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,UOe=/^&([a-z][a-z0-9]{1,31});/i,qOe=function(t,n){var o,r,i,a,s=t.pos,l=t.posMax;if(t.src.charCodeAt(s)!==38||s+1>=l)return!1;if(o=t.src.charCodeAt(s+1),o===35){if(i=t.src.slice(s).match(WOe),i)return n||(r=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),a=t.push("text_special","",0),a.content=VOe(r)?I1(r):I1(65533),a.markup=i[0],a.info="entity"),t.pos+=i[0].length,!0}else if(i=t.src.slice(s).match(UOe),i&&jOe(A1,i[1]))return n||(a=t.push("text_special","",0),a.content=A1[i[1]],a.markup=i[0],a.info="entity"),t.pos+=i[0].length,!0;return!1};function O1(e){var t,n,o,r,i,a,s,l,c={},u=e.length;if(u){var d=0,f=-2,p=[];for(t=0;ti;n-=p[n]+1)if(r=e[n],r.marker===o.marker&&r.open&&r.end<0&&(s=!1,(r.close||o.open)&&(r.length+o.length)%3===0&&(r.length%3!==0||o.length%3!==0)&&(s=!0),!s)){l=n>0&&!e[n-1].open?p[n-1]+1:0,p[t]=t-n+l,p[n]=l,o.open=!1,r.end=t,r.close=!1,a=-1,f=-2;break}a!==-1&&(c[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}var KOe=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for(O1(t.delimiters),n=0;n0&&r++,i[n].type==="text"&&n+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(r),o};gl.prototype.scanDelims=function(e,t){var n=e,o,r,i,a,s,l,c,u,d,f=!0,p=!0,h=this.posMax,m=this.src.charCodeAt(e);for(o=e>0?this.src.charCodeAt(e-1):32;n=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;t||e.pos++,s[o]=e.pos};vl.prototype.tokenize=function(e){for(var t,n,o,r=this.ruler.getRules(""),i=r.length,a=e.posMax,s=e.md.options.maxNesting;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(t){if(e.pos>=a)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};vl.prototype.parse=function(e,t,n,o){var r,i,a,s=new this.State(e,t,n,o);for(this.tokenize(s),i=this.ruler2.getRules(""),a=i.length,r=0;r|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}),ff}function Ah(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(n){n&&Object.keys(n).forEach(function(o){e[o]=n[o]})}),e}function Zu(e){return Object.prototype.toString.call(e)}function JOe(e){return Zu(e)==="[object String]"}function QOe(e){return Zu(e)==="[object Object]"}function eMe(e){return Zu(e)==="[object RegExp]"}function B1(e){return Zu(e)==="[object Function]"}function tMe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var ZS={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function nMe(e){return Object.keys(e||{}).reduce(function(t,n){return t||ZS.hasOwnProperty(n)},!1)}var oMe={"http:":{validate:function(e,t,n){var o=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(o)?o.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var o=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(o)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:o.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var o=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(o)?o.match(n.re.mailto)[0].length:0}}},rMe="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",iMe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function aMe(e){e.__index__=-1,e.__text_cache__=""}function sMe(e){return function(t,n){var o=t.slice(n);return e.test(o)?o.match(e)[0].length:0}}function N1(){return function(e,t){t.normalize(e)}}function Bc(e){var t=e.re=ZOe()(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(rMe),n.push(t.src_xn),t.src_tlds=n.join("|");function o(s){return s.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(o(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(o(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(o(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(o(t.tpl_host_fuzzy_test),"i");var r=[];e.__compiled__={};function i(s,l){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+l)}Object.keys(e.__schemas__).forEach(function(s){var l=e.__schemas__[s];if(l!==null){var c={validate:null,link:null};if(e.__compiled__[s]=c,QOe(l)){eMe(l.validate)?c.validate=sMe(l.validate):B1(l.validate)?c.validate=l.validate:i(s,l),B1(l.normalize)?c.normalize=l.normalize:l.normalize?i(s,l):c.normalize=N1();return}if(JOe(l)){r.push(s);return}i(s,l)}}),r.forEach(function(s){e.__compiled__[e.__schemas__[s]]&&(e.__compiled__[s].validate=e.__compiled__[e.__schemas__[s]].validate,e.__compiled__[s].normalize=e.__compiled__[e.__schemas__[s]].normalize)}),e.__compiled__[""]={validate:null,normalize:N1()};var a=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(tMe).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),aMe(e)}function lMe(e,t){var n=e.__index__,o=e.__last_index__,r=e.__text_cache__.slice(n,o);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=o+t,this.raw=r,this.text=r,this.url=r}function Ih(e,t){var n=new lMe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Qn(e,t){if(!(this instanceof Qn))return new Qn(e,t);t||nMe(e)&&(t=e,e={}),this.__opts__=Ah({},ZS,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Ah({},oMe,e),this.__compiled__={},this.__tlds__=iMe,this.__tlds_replaced__=!1,this.re={},Bc(this)}Qn.prototype.add=function(t,n){return this.__schemas__[t]=n,Bc(this),this};Qn.prototype.set=function(t){return this.__opts__=Ah(this.__opts__,t),this};Qn.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var n,o,r,i,a,s,l,c,u;if(this.re.schema_test.test(t)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(t))!==null;)if(i=this.testSchemaAt(t,n[2],l.lastIndex),i){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=t.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(r=t.match(this.re.email_fuzzy))!==null&&(a=r.index+r[1].length,s=r.index+r[0].length,(this.__index__<0||athis.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=s))),this.__index__>=0};Qn.prototype.pretest=function(t){return this.re.pretest.test(t)};Qn.prototype.testSchemaAt=function(t,n,o){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,o,this):0};Qn.prototype.match=function(t){var n=0,o=[];this.__index__>=0&&this.__text_cache__===t&&(o.push(Ih(this,n)),n=this.__last_index__);for(var r=n?t.slice(n):t;this.test(r);)o.push(Ih(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return o.length?o:null};Qn.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;var n=this.re.schema_at_start.exec(t);if(!n)return null;var o=this.testSchemaAt(t,n[2],n[0].length);return o?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o,Ih(this,0)):null};Qn.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(o,r,i){return o!==i[r-1]}).reverse(),Bc(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,Bc(this),this)};Qn.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};Qn.prototype.onCompile=function(){};var cMe=Qn;const ma=2147483647,Lo=36,Mm=1,Js=26,uMe=38,dMe=700,JS=72,QS=128,ek="-",fMe=/^xn--/,hMe=/[^\0-\x7F]/,pMe=/[\x2E\u3002\uFF0E\uFF61]/g,mMe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},hf=Lo-Mm,Fo=Math.floor,pf=String.fromCharCode;function Or(e){throw new RangeError(mMe[e])}function gMe(e,t){const n=[];let o=e.length;for(;o--;)n[o]=t(e[o]);return n}function tk(e,t){const n=e.split("@");let o="";n.length>1&&(o=n[0]+"@",e=n[1]),e=e.replace(pMe,".");const r=e.split("."),i=gMe(r,t).join(".");return o+i}function zm(e){const t=[];let n=0;const o=e.length;for(;n=55296&&r<=56319&&nString.fromCodePoint(...e),vMe=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Lo},H1=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},ok=function(e,t,n){let o=0;for(e=n?Fo(e/dMe):e>>1,e+=Fo(e/t);e>hf*Js>>1;o+=Lo)e=Fo(e/hf);return Fo(o+(hf+1)*e/(e+uMe))},Dm=function(e){const t=[],n=e.length;let o=0,r=QS,i=JS,a=e.lastIndexOf(ek);a<0&&(a=0);for(let s=0;s=128&&Or("not-basic"),t.push(e.charCodeAt(s));for(let s=a>0?a+1:0;s=n&&Or("invalid-input");const f=vMe(e.charCodeAt(s++));f>=Lo&&Or("invalid-input"),f>Fo((ma-o)/u)&&Or("overflow"),o+=f*u;const p=d<=i?Mm:d>=i+Js?Js:d-i;if(fFo(ma/h)&&Or("overflow"),u*=h}const c=t.length+1;i=ok(o-l,c,l==0),Fo(o/c)>ma-r&&Or("overflow"),r+=Fo(o/c),o%=c,t.splice(o++,0,r)}return String.fromCodePoint(...t)},Lm=function(e){const t=[];e=zm(e);const n=e.length;let o=QS,r=0,i=JS;for(const l of e)l<128&&t.push(pf(l));const a=t.length;let s=a;for(a&&t.push(ek);s=o&&uFo((ma-r)/c)&&Or("overflow"),r+=(l-o)*c,o=l;for(const u of e)if(uma&&Or("overflow"),u===o){let d=r;for(let f=Lo;;f+=Lo){const p=f<=i?Mm:f>=i+Js?Js:f-i;if(d=0))try{t.hostname=ak.toASCII(t.hostname)}catch{}return gi.encode(gi.format(t))}function zMe(e){var t=gi.parse(e,!0);if(t.hostname&&(!t.protocol||sk.indexOf(t.protocol)>=0))try{t.hostname=ak.toUnicode(t.hostname)}catch{}return gi.decode(gi.format(t),gi.decode.defaultChars+"%")}function lo(e,t){if(!(this instanceof lo))return new lo(e,t);t||Ts.isString(e)||(t=e||{},e="default"),this.inline=new RMe,this.block=new TMe,this.core=new PMe,this.renderer=new kMe,this.linkify=new EMe,this.validateLink=OMe,this.normalizeLink=MMe,this.normalizeLinkText=zMe,this.utils=Ts,this.helpers=Ts.assign({},SMe),this.options={},this.configure(e),t&&this.set(t)}lo.prototype.set=function(e){return Ts.assign(this.options,e),this};lo.prototype.configure=function(e){var t=this,n;if(Ts.isString(e)&&(n=e,e=$Me[n],!e))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(o){e.components[o].rules&&t[o].ruler.enableOnly(e.components[o].rules),e.components[o].rules2&&t[o].ruler2.enableOnly(e.components[o].rules2)}),this};lo.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var o=e.filter(function(r){return n.indexOf(r)<0});if(o.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+o);return this};lo.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var o=e.filter(function(r){return n.indexOf(r)<0});if(o.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+o);return this};lo.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};lo.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};lo.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};lo.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};lo.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var DMe=lo,LMe=DMe;const Ju=hp(LMe),FMe={xmlns:"http://www.w3.org/2000/svg",id:"Layer_1",viewBox:"0 0 442.19 323.31"},BMe=U("path",{d:"m72.8 140.45-12.7 145.1h42.41l8.99-102.69h.04l3.67-42.41zM124.16 37.75h-42.4l-5.57 63.61h42.4zM318.36 285.56h42.08l5.57-63.61H323.9z",class:"cls-2"},null,-1),NMe=U("path",{d:"M382.09 37.76H340l-10.84 123.9H221.09l-14.14 161.65 85.83-121.47h145.89l3.52-40.18h-70.94z",class:"cls-2"},null,-1),HMe=U("path",{d:"M149.41 121.47H3.52L0 161.66h221.09L235.23 0z",style:{fill:"#ffbc00"}},null,-1);function jMe(e,t){return me(),ze("svg",FMe,[U("defs",null,[(me(),qe(Yc("style"),null,{default:ce(()=>[nt(".cls-2{fill:#000}@media (prefers-color-scheme:dark){.cls-2{fill:#fff}}")]),_:1}))]),BMe,NMe,HMe])}const VMe={render:jMe},WMe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1109 1027"},UMe=E4('',2),qMe=[UMe];function KMe(e,t){return me(),ze("svg",WMe,[...qMe])}const GMe={render:KMe},YMe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64"},XMe=U("g",{fill:"#E29942","clip-path":"url(#clip0_408_56)"},[U("path",{d:"M47.158 14.428c0-.591.31-1.14.818-1.444L61.449 4.9C62.572 4.225 64 5.034 64 6.343V20.21c0 .93-.754 1.685-1.684 1.685H48.842c-.93 0-1.684-.755-1.684-1.685z"}),U("path",{"fill-rule":"evenodd",d:"M24.397 26.46a1.68 1.68 0 0 0-.818 1.443V48c0 .93-.754 1.6-1.684 1.6h-3.369c-.93 0-1.684-.67-1.684-1.6V34.976c0-1.31-1.428-2.118-2.55-1.444L.817 41.617A1.68 1.68 0 0 0 0 43.062v17.572c0 .93.754 1.684 1.684 1.684h13.474c.93 0 1.684-.754 1.684-1.684v-3.803c0-.93.754-1.493 1.684-1.493h3.369c.93 0 1.684.563 1.684 1.493v3.803c0 .93.754 1.684 1.684 1.684h13.474c.93 0 1.684-.754 1.684-1.684V19.818c0-1.309-1.428-2.118-2.55-1.444z","clip-rule":"evenodd"}),U("path",{d:"M47.16 28.8v32c0 .884.753 1.6 1.683 1.6h13.474c.93 0 1.684-.716 1.684-1.6v-32c0-.884-.754-1.6-1.684-1.6H48.843c-.93 0-1.684.716-1.684 1.6"})],-1),ZMe=[XMe];function JMe(e,t){return me(),ze("svg",YMe,[...ZMe])}const QMe={render:JMe};var Rs=(e=>(e[e.PENDING=0]="PENDING",e[e.PROCESSING=1]="PROCESSING",e[e.CANCELLED=2]="CANCELLED",e[e.COMPLETED=3]="COMPLETED",e[e.DISCOUNTED=4]="DISCOUNTED",e))(Rs||{});const eze={0:"待支付",1:"开通中",2:"已取消",3:"已完成",4:"已折抵"},lk={month_price:"月付",quarter_price:"季付",half_year_price:"半年付",year_price:"年付",two_year_price:"两年付",three_year_price:"三年付",onetime_price:"一次性",reset_price:"流量重置包"},Gi=e=>(H3("data-v-ba794286"),e=e(),j3(),e),tze=["innerHTML"],nze={class:"w-64"},oze={class:"text-#666"},rze={class:"w-64"},ize={class:"text-#666"},aze=Gi(()=>U("div",{class:"w-64"},[U("img",{src:kee,class:"h-30 w-30"})],-1)),sze={class:"text-#666"},lze={class:"w-64"},cze={class:"text-#666"},uze={class:"font-bold"},dze={class:"mb-20"},fze={class:"text-center"},hze={class:"mt-10 text-center"},pze=Gi(()=>U("div",{class:"w-64"},[U("img",{src:NS,class:"h-30 w-30"})],-1)),mze={class:"text-#666"},gze={class:"w-64"},vze={class:"text-#666"},bze={class:"w-64"},yze={class:"text-#666"},xze=Gi(()=>U("div",{class:"w-64"},[U("img",{src:Pee,class:"h-30 w-30 border-rounded-5"})],-1)),Cze={class:"text-#666"},wze=Gi(()=>U("div",{class:"w-64"},[U("img",{src:Tee,class:"h-30 w-30 border-rounded-5"})],-1)),_ze={class:"text-#666"},Sze=Gi(()=>U("div",{class:"w-64"},[U("img",{src:Ree,class:"h-30 w-30"})],-1)),kze={class:"text-#666"},Pze=Gi(()=>U("div",{class:"w-64"},[U("img",{src:NS,class:"h-30 w-30"})],-1)),Tze={class:"text-#666"},Rze=Gi(()=>U("div",{class:"w-64"},[U("img",{src:Eee,class:"h-30 w-30"})],-1)),Eze={class:"text-#666"},$ze={class:"p-10 text-center"},Aze={class:"mb-5 md:mb-40"},Ize={key:0,class:"mb-10"},Oze={class:"font-bold"},Mze=["onClick"],zze={class:"text-20"},Dze={class:"text-16 font-600 color-[hsla(0,0%,100%,.75)]"},Lze={class:"text-block mb-16 p-t-20 text-20 font-600"},Fze={key:0,class:"mb-16 text-14 text-gray"},Bze={key:1,class:"mb-16 text-14 font-600 text-red-500"},Nze={key:2,class:"mb-16 text-14 text-gray"},Hze={class:"text-gray"},jze={class:"flex items-center justify-between"},Vze={class:""},Wze={class:"text-16"},Uze={class:"text-14 text-gray"},qze={class:"flex items-center justify-between"},Kze={class:"text-16"},Gze={class:"text-14 text-gray"},Yze={class:"flex items-center justify-between"},Xze={class:"text-16"},Zze={class:"text-14 text-gray"},Jze={class:"flex items-center justify-between"},Qze={class:"text-16"},eDe={class:"text-14 text-gray"},tDe=ve({__name:"index",setup(e){const t=B=>gn.global.t(B),n=HX(),o=new Ju({html:!0}),r=B=>o.render(B),i=Pn(),a=Ki(),s=navigator.userAgent.toLowerCase();let l="unknown";s.includes("windows")?l="windows":s.includes("iphone")||s.includes("ipad")?l="ios":s.includes("macintosh")?l="mac":s.includes("android")&&(l="android");const c=W(!1),u=W();jt(()=>{});const d=W(!1),f=W(!1),p=W(""),h=W(["auto"]),m=[{label:"自动",type:"auto"},{label:"全部",type:"all"},{label:"Vless",type:"vless"},{label:"Hy1",type:"hysteria"},{label:"Hy2",type:"hysteria2"},{label:"Shadowsocks",type:"shadowsocks"},{label:"Vmess",type:"vmess"},{label:"Trojan",type:"trojan"}],v=W([]);function b(B){if(B==="auto"||B==="all"&&h.value.includes("all"))h.value=["auto"];else if(B==="all"&&!h.value.includes("all"))h.value=v.value.map(E=>E.type).filter(E=>E!=="auto");else{const E=h.value.includes(B);h.value=E?h.value.filter(G=>G!==B):[...h.value.filter(G=>G!=="auto"),B],W$(v.value.map(G=>G.type).filter(G=>G!=="auto"&&G!=="all"),h.value)?h.value.push("all"):h.value=h.value.filter(G=>G!=="all")}h.value.length===0&&(h.value=["auto"]),w()}function w(){var E,A,G;const B=h.value;B.includes("all")?p.value=((E=_.value)==null?void 0:E.subscribe_url)+"&types=all":B.includes("auto")?p.value=((A=_.value)==null?void 0:A.subscribe_url)+"&types=auto":p.value=((G=_.value)==null?void 0:G.subscribe_url)+"&types="+h.value.join(",")}function C(B){console.log(B),window.location.href=B}function S(B){return btoa(unescape(encodeURIComponent(B)))}const _=L(()=>a.subscribe);function x(){var G,oe,fe;const B=(G=_.value)==null?void 0:G.transfer_enable,E=((oe=_.value)==null?void 0:oe.u)||0,A=((fe=_.value)==null?void 0:fe.d)||0;return B?Math.floor((E+A)/B*100):0}const{errorColor:y,warningColor:k,successColor:P,primaryColor:T}=n.value;function $(){const B=x();return B>=100?y:B>=70?k:P}async function R(){var fe,J;if(!await window.$dialog.confirm({title:t("确定重置当前已用流量?"),type:"info",content:t("点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。"),showIcon:!1}))return;const E=(fe=await Tm())==null?void 0:fe.data,A=E==null?void 0:E.find(xe=>xe.status===Rs.PENDING);if(A)if(await window.$dialog.confirm({title:t("注意"),type:"info",content:t("你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?"),positiveText:t("确认取消"),negativeText:t("返回我的订单"),showIcon:!1})){const N=A.trade_no;if(!await Nu(N))return}else{Gt.push("order");return}const G=(J=_.value)==null?void 0:J.plan_id;if(!G)return;const{data:oe}=await DS(G,"reset_price");oe&&Gt.push("order/"+oe)}const K=W([]);async function j(){const{data:B}=await NZ();K.value=B,B.map(E=>{var A;(A=E.tags)!=null&&A.includes("弹窗")&&(c.value=!0,u.value=E)})}const D=W([0,0,0]);async function M(){const{data:B}=await FZ();B&&(D.value=B)}const Y=W(),Q=W();async function de(){const{data:B}=await zS();if(B){Y.value=B;const A=[...new Set(B.map(G=>{let oe=G.type;return G.type==="hysteria"&&G.version==2&&(oe="hysteria2"),oe}))];Q.value=A,v.value=m.filter(G=>A.includes(G.type)||["auto","all"].includes(G.type))}}function pe(){j(),a.getUserSubscribe(),M(),de()}return hn(()=>{pe()}),(B,E)=>{const A=Qr,G=See,oe=ym,fe=mr,J=yee,xe=hl,N=kS,be=fo,Oe=bm,Le=Ui,F=zt,O=fl,re=_i,_e=aV,ee=ml,ye=qi,Pe=oX,I=pee,H=cee,te=ree,Ce=QQ,ae=GQ,he=ho;return me(),qe(he,{"show-footer":!1},{default:ce(()=>{var ne,ue,De,Ue;return[ie(A,{show:c.value,"onUpdate:show":E[0]||(E[0]=ke=>c.value=ke),class:"mx-10 max-w-100% w-600 md:mx-auto",preset:"card",title:(ne=u.value)==null?void 0:ne.title,size:"huge",bordered:!1,"content-style":"padding-top:0",segmented:{content:!1}},{default:ce(()=>{var ke;return[U("div",{innerHTML:r(((ke=u.value)==null?void 0:ke.content)||""),class:"markdown-body custom-html-style"},null,8,tze)]}),_:1},8,["show","title"]),ie(A,{show:d.value,"onUpdate:show":E[15]||(E[15]=ke=>d.value=ke),"transform-origin":"center","auto-focus":!1,"display-directive":"show","trap-focus":!1},{default:ce(()=>[ie(be,{class:"max-w-100% w-300",bordered:!1,size:"huge",contentStyle:"padding:0"},{default:ce(()=>[ie(Oe,{hoverable:""},{default:ce(()=>{var ke,Fe;return[ie(oe,{class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[1]||(E[1]=je=>{var Ae,Je;return((Ae=_.value)==null?void 0:Ae.subscribe_url)&&we(da)((Je=_.value)==null?void 0:Je.subscribe_url)})},[U("div",nze,[ie(G,{class:"text-30 text-#595959"})]),U("div",oze,le(B.$t("复制订阅地址")),1)])]),_:1}),(ke=Q.value)!=null&&ke.includes("hysteria2")?(me(),qe(oe,{key:0,class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[2]||(E[2]=je=>{var Ae,Je;return((Ae=_.value)==null?void 0:Ae.subscribe_url)&&we(da)(((Je=_.value)==null?void 0:Je.subscribe_url)+"&types=hysteria2")})},[U("div",rze,[ie(fe,{size:"30"},{default:ce(()=>[ie(we(VMe))]),_:1})]),U("div",ize,le(B.$t("复制HY2订阅地址")),1)])]),_:1})):pt("",!0),(Fe=Q.value)!=null&&Fe.includes("vless")?(me(),qe(oe,{key:1,class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[3]||(E[3]=je=>{var Ae,Je;return((Ae=_.value)==null?void 0:Ae.subscribe_url)&&we(da)(((Je=_.value)==null?void 0:Je.subscribe_url)+"&types=vless")})},[aze,U("div",sze,le(B.$t("复制Vless订阅地址")),1)])]),_:1})):pt("",!0),ie(oe,{class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[5]||(E[5]=je=>{var Ae;return p.value=((Ae=_.value)==null?void 0:Ae.subscribe_url)||"",f.value=!0})},[U("div",lze,[ie(J,{class:"text-30 text-#595959"})]),U("div",cze,le(B.$t("扫描二维码订阅")),1),ie(A,{show:f.value,"onUpdate:show":E[4]||(E[4]=je=>f.value=je)},{default:ce(()=>[ie(be,{class:"w-300"},{default:ce(()=>[U("div",uze,le(B.$t("选择协议"))+":",1),U("div",dze,[(me(!0),ze(rt,null,Hn(v.value,je=>(me(),qe(xe,{key:je.type,value:je.type,checked:h.value.includes(je.type),onClick:Ae=>b(je.type)},{default:ce(()=>[nt(le(B.$t(je.label)),1)]),_:2},1032,["value","checked","onClick"]))),128))]),U("div",fze,[ie(N,{value:p.value,"icon-src":we(i).logo,size:140,color:we(T)},null,8,["value","icon-src","color"])]),U("div",hze,le(B.$t("使用支持扫码的客户端进行订阅")),1)]),_:1})]),_:1},8,["show"])])]),_:1}),["mac"].includes(we(l))?(me(),qe(oe,{key:2,class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[6]||(E[6]=je=>{var Ae;return((Ae=_.value)==null?void 0:Ae.subscribe_url)&&C("clash://install-config?url="+_.value.subscribe_url+`&name=${we(i).title}`)})},[pze,U("div",mze,le(B.$t("导入到"))+" ClashX Meta",1)])]),_:1})):pt("",!0),["mac","android","windows"].includes(we(l))?(me(),qe(oe,{key:3,class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[7]||(E[7]=je=>{var Ae;return((Ae=_.value)==null?void 0:Ae.subscribe_url)&&C("sing-box://import-remote-profile?url="+encodeURIComponent(_.value.subscribe_url)+`#${encodeURIComponent(we(i).title||"")}`)})},[U("div",gze,[ie(fe,{size:"30"},{default:ce(()=>[ie(we(QMe))]),_:1})]),U("div",vze,le(B.$t("导入到"))+" Hiddify Next",1)])]),_:1})):pt("",!0),["android","mac","ios"].includes(we(l))?(me(),qe(oe,{key:4,class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[8]||(E[8]=je=>{var Ae;return((Ae=_.value)==null?void 0:Ae.subscribe_url)&&C("sing-box://import-remote-profile?url="+encodeURIComponent(_.value.subscribe_url)+`#${encodeURIComponent(we(i).title||"")}`)})},[U("div",bze,[ie(fe,{size:"30"},{default:ce(()=>[ie(we(GMe))]),_:1})]),U("div",yze,le(B.$t("导入到"))+" sing-box",1)])]),_:1})):pt("",!0),["mac","ios"].includes(we(l))?(me(),qe(oe,{key:5,class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[9]||(E[9]=je=>{var Ae;return((Ae=_.value)==null?void 0:Ae.subscribe_url)&&C("shadowrocket://add/sub://"+S(_.value.subscribe_url).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")+`?remark=${we(i).title}`)})},[xze,U("div",Cze,le(B.$t("导入到"))+" Shadowsocket",1)])]),_:1})):pt("",!0),["mac","ios"].includes(we(l))?(me(),qe(oe,{key:6,class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[10]||(E[10]=je=>{var Ae;return((Ae=_.value)==null?void 0:Ae.subscribe_url)&&C("stash://install-config?url="+encodeURIComponent(_.value.subscribe_url)+`&name=${we(i).title}`)})},[wze,U("div",_ze,le(B.$t("导入到"))+" Stash",1)])]),_:1})):pt("",!0),["android"].includes(we(l))?(me(),qe(oe,{key:7,class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[11]||(E[11]=je=>{var Ae;return((Ae=_.value)==null?void 0:Ae.subscribe_url)&&C("clash://install-config?url="+_.value.subscribe_url+`&name=${we(i).title}`)})},[Sze,U("div",kze,le(B.$t("导入到"))+" NekoBox",1)])]),_:1})):pt("",!0),["android"].includes(we(l))?(me(),qe(oe,{key:8,class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[12]||(E[12]=je=>{var Ae;return((Ae=_.value)==null?void 0:Ae.subscribe_url)&&C("clash://install-config?url="+_.value.subscribe_url+`&name=${we(i).title}`)})},[Pze,U("div",Tze,le(B.$t("导入到"))+" Clash Meta",1)])]),_:1})):pt("",!0),["windows"].includes(we(l))?(me(),qe(oe,{key:9,class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[13]||(E[13]=je=>{var Ae;return((Ae=_.value)==null?void 0:Ae.subscribe_url)&&C("clash://install-config?url="+_.value.subscribe_url+`&name=${we(i).title}`)})},[Rze,U("div",Eze,le(B.$t("导入到"))+" Clash",1)])]),_:1})):pt("",!0)]}),_:1}),ie(Le,{class:"m-0!"}),U("div",$ze,[ie(F,{type:"primary",class:"w-100%",size:"large",onClick:E[14]||(E[14]=ke=>B.$router.push("/knowledge"))},{default:ce(()=>[nt(le(B.$t("不会使用,查看使用教程")),1)]),_:1})])]),_:1})]),_:1},8,["show"]),U("div",Aze,[D.value[1]&&D.value[1]>0||D.value[0]&&D.value[0]>0?(me(),ze("div",Ize,[D.value[1]&&D.value[1]>0?(me(),qe(O,{key:0,type:"warning","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:ce(()=>[nt(le(D.value[1])+" "+le(B.$t("条工单正在处理中"))+" ",1),ie(F,{strong:"",text:"",onClick:E[16]||(E[16]=ke=>we(Gt).push("/ticket"))},{default:ce(()=>[nt(le(B.$t("立即查看")),1)]),_:1})]),_:1})):pt("",!0),D.value[0]&&D.value[0]>0?(me(),qe(O,{key:1,type:"error","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:ce(()=>[nt(le(B.$t("还有没支付的订单"))+" ",1),ie(F,{text:"",strong:"",onClick:E[17]||(E[17]=ke=>we(Gt).push("/order"))},{default:ce(()=>[nt(le(B.$t("立即支付")),1)]),_:1})]),_:1})):pt("",!0),!((ue=_.value)!=null&&ue.expired_at&&(((De=_.value)==null?void 0:De.expired_at)||0)>Date.now()/1e3)&&x()>=70?(me(),qe(O,{key:2,type:"info","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:ce(()=>[nt(le(B.$tc("当前已使用流量达{rate}%",{rate:x()}))+" ",1),ie(F,{text:"",onClick:E[18]||(E[18]=ke=>R())},{default:ce(()=>[U("span",Oze,le(B.$t("重置已用流量")),1)]),_:1})]),_:1})):pt("",!0)])):pt("",!0),dn(ie(be,{class:"w-100% cursor-pointer overflow-hidden border-rounded-5 text-white transition hover:opacity-75",bordered:!1,"content-style":"padding: 0"},{default:ce(()=>[ie(_e,{autoplay:""},{default:ce(()=>[(me(!0),ze(rt,null,Hn(K.value,ke=>(me(),ze("div",{key:ke.id,class:"",style:Fr(ke.img_url?`background:url(${ke.img_url}) no-repeat;background-size: cover `:`background:url(${we(i).$state.assets_path}/images/background.svg)`),onClick:Fe=>(c.value=!0,u.value=ke)},[U("div",{class:"carousel-img flex flex-col justify-between p-20",style:Fr({background:"rgba(0, 0, 0, 0.5) !important"})},[U("div",null,[ie(re,{bordered:!1,class:"bg-#e04f1a text-12 color-white"},{default:ce(()=>[nt(le(B.$t("公告")),1)]),_:1})]),U("div",null,[U("p",zze,le(ke.title),1),U("p",Dze,le(we(Ho)(ke.created_at)),1)])],4)],12,Mze))),128))]),_:1})]),_:1},512),[[Mn,((Ue=K.value)==null?void 0:Ue.length)>0]]),ie(be,{title:B.$t("我的订阅"),class:"mt-5 border-rounded-5 md:m-t-20"},{default:ce(()=>{var ke,Fe,je,Ae,Je,xt,X,ge,$e,Ke,Xe,Ze,tt,it,yt,on;return[_.value?(ke=_.value)!=null&&ke.plan_id?(me(),ze(rt,{key:1},[U("div",Lze,le((je=(Fe=_.value)==null?void 0:Fe.plan)==null?void 0:je.name),1),((Ae=_.value)==null?void 0:Ae.expired_at)===null?(me(),ze("div",Fze,le(B.$t("该订阅长期有效")),1)):(Je=_.value)!=null&&Je.expired_at&&(((xt=_.value)==null?void 0:xt.expired_at)??0)(((Ke=_.value)==null?void 0:Ke.reset_day)||0)?(me(),ze(rt,{key:0},[nt(le(B.$tc("已用流量将在 {reset_day} 日后重置",{reset_day:(Xe=_.value)==null?void 0:Xe.reset_day})),1)],64)):pt("",!0)])),ie(Pe,{type:"line",percentage:x(),processing:"",color:$()},null,8,["percentage","color"]),U("div",null,le(B.$tc("已用 {used} / 总计 {total}",{used:we(aa)(((((Ze=_.value)==null?void 0:Ze.u)||0)+(((tt=_.value)==null?void 0:tt.d)||0))/1024/1024/1024)+" GB",total:we(aa)((((it=_.value)==null?void 0:it.transfer_enable)||0)/1024/1024/1024)+" GB"})),1),(yt=_.value)!=null&&yt.expired_at&&(((on=_.value)==null?void 0:on.expired_at)||0)we(Gt).push("/plan/"+we(a).plan_id))},{default:ce(()=>[nt(le(B.$t("续费订阅")),1)]),_:1})):x()>=70?(me(),qe(F,{key:4,type:"primary",class:"mt-20",onClick:E[20]||(E[20]=Dt=>R())},{default:ce(()=>[nt(le(B.$t("重置已用流量")),1)]),_:1})):pt("",!0)],64)):(me(),ze("div",{key:2,class:"cursor-pointer pt-20 text-center",onClick:E[21]||(E[21]=Dt=>we(Gt).push("/plan"))},[ie(I,{class:"text-40"}),U("div",Hze,le(B.$t("购买订阅")),1)])):(me(),qe(ye,{key:0},{default:ce(()=>[ie(ee,{height:"20px",width:"33%"}),ie(ee,{height:"20px",width:"66%"}),ie(ee,{height:"20px"})]),_:1}))]}),_:1},8,["title"]),ie(be,{title:B.$t("捷径"),class:"m-t-20 border-rounded-5","content-style":"padding: 0"},{default:ce(()=>[ie(Oe,{hoverable:"",clickable:""},{default:ce(()=>[ie(oe,{class:"flex flex cursor-pointer justify-between p-19 hover:bg-#f6f6f6",onClick:E[22]||(E[22]=ke=>we(Gt).push("/knowledge"))},{default:ce(()=>[U("div",jze,[U("div",Vze,[U("div",Wze,le(B.$t("查看教程")),1),U("div",Uze,le(B.$t("学习如何使用"))+" "+le(we(i).title),1)]),U("div",null,[ie(H,{class:"text-30 color-gray-500"})])])]),_:1}),ie(oe,{class:"flex cursor-pointer justify-between p-19 hover:bg-#f6f6f6",onClick:E[23]||(E[23]=ke=>d.value=!0)},{default:ce(()=>[U("div",qze,[U("div",null,[U("div",Kze,le(B.$t("一键订阅")),1),U("div",Gze,le(B.$t("快速将节点导入对应客户端进行使用")),1)]),U("div",null,[ie(te,{class:"text-30 color-gray-500"})])])]),_:1}),ie(oe,{class:"flex cursor-pointer justify-between p-19",onClick:E[24]||(E[24]=ke=>we(a).plan_id?we(Gt).push("/plan/"+we(a).plan_id):we(Gt).push("/plan"))},{default:ce(()=>{var ke;return[U("div",Yze,[U("div",null,[U("div",Xze,le((ke=_.value)!=null&&ke.plan_id?B.$t("续费订阅"):B.$t("购买订阅")),1),U("div",Zze,le(B.$t("对您当前的订阅进行购买")),1)]),U("div",null,[ie(Ce,{class:"text-30 color-gray-500"})])])]}),_:1}),ie(oe,{class:"flex cursor-pointer justify-between p-19",onClick:E[25]||(E[25]=ke=>B.$router.push("/ticket"))},{default:ce(()=>[U("div",Jze,[U("div",null,[U("div",Qze,le(B.$t("遇到问题")),1),U("div",eDe,le(B.$t("遇到问题可以通过工单与我们沟通")),1)]),U("div",null,[ie(ae,{class:"text-30 color-gray-500"})])])]),_:1})]),_:1})]),_:1},8,["title"])])]}),_:1})}}}),nDe=ju(tDe,[["__scopeId","data-v-ba794286"]]),oDe=Object.freeze(Object.defineProperty({__proto__:null,default:nDe},Symbol.toStringTag,{value:"Module"})),rDe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},iDe=U("path",{fill:"currentColor",d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448s448-200.6 448-448S759.4 64 512 64m0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372s372 166.6 372 372s-166.6 372-372 372m159.6-585h-59.5c-3 0-5.8 1.7-7.1 4.4l-90.6 180H511l-90.6-180a8 8 0 0 0-7.1-4.4h-60.7c-1.3 0-2.6.3-3.8 1c-3.9 2.1-5.3 7-3.2 10.9L457 515.7h-61.4c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V603h-81.7c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V717c0 4.4 3.6 8 8 8h54.3c4.4 0 8-3.6 8-8v-68.1h82c4.4 0 8-3.6 8-8V611c0-4.4-3.6-8-8-8h-82v-41.5h82c4.4 0 8-3.6 8-8v-29.9c0-4.4-3.6-8-8-8h-62l111.1-204.8c.6-1.2 1-2.5 1-3.8c-.1-4.4-3.7-8-8.1-8"},null,-1),aDe=[iDe];function sDe(e,t){return me(),ze("svg",rDe,[...aDe])}const lDe={name:"ant-design-pay-circle-outlined",render:sDe},cDe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},uDe=U("path",{fill:"currentColor",d:"M668.6 320c0-4.4-3.6-8-8-8h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 0 0-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1c-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.5-1.1.9-2.4.9-3.7M157.9 504.2a352.7 352.7 0 0 1 103.5-242.4c32.5-32.5 70.3-58.1 112.4-75.9c43.6-18.4 89.9-27.8 137.6-27.8c47.8 0 94.1 9.3 137.6 27.8c42.1 17.8 79.9 43.4 112.4 75.9c10 10 19.3 20.5 27.9 31.4l-50 39.1a8 8 0 0 0 3 14.1l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3l-47.8 37.4C770.7 146.3 648.6 82 511.5 82C277 82 86.3 270.1 82 503.8a8 8 0 0 0 8 8.2h60c4.3 0 7.8-3.5 7.9-7.8M934 512h-60c-4.3 0-7.9 3.5-8 7.8a352.7 352.7 0 0 1-103.5 242.4a352.6 352.6 0 0 1-112.4 75.9c-43.6 18.4-89.9 27.8-137.6 27.8s-94.1-9.3-137.6-27.8a352.6 352.6 0 0 1-112.4-75.9c-10-10-19.3-20.5-27.9-31.4l49.9-39.1a8 8 0 0 0-3-14.1l-156.8-38.3c-5-1.2-9.9 2.6-9.9 7.7l-.8 161.7c0 6.7 7.7 10.5 12.9 6.3l47.8-37.4C253.3 877.7 375.4 942 512.5 942C747 942 937.7 753.9 942 520.2a8 8 0 0 0-8-8.2"},null,-1),dDe=[uDe];function fDe(e,t){return me(),ze("svg",cDe,[...dDe])}const hDe={name:"ant-design-transaction-outlined",render:fDe},pDe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},mDe=U("path",{fill:"currentColor",d:"M19 17v2H7v-2s0-4 6-4s6 4 6 4m-3-9a3 3 0 1 0-3 3a3 3 0 0 0 3-3m3.2 5.06A5.6 5.6 0 0 1 21 17v2h3v-2s0-3.45-4.8-3.94M18 5a2.9 2.9 0 0 0-.89.14a5 5 0 0 1 0 5.72A2.9 2.9 0 0 0 18 11a3 3 0 0 0 0-6M8 10H5V7H3v3H0v2h3v3h2v-3h3Z"},null,-1),gDe=[mDe];function vDe(e,t){return me(),ze("svg",pDe,[...gDe])}const bDe={name:"mdi-invite",render:vDe},yDe={class:"text-50 font-400"},xDe={class:"m-l-10 text-20 text-#6c757d md:m-l20"},CDe={class:"text-#6c757d"},wDe={class:"flex justify-between p-b-5 p-t-5"},_De={class:"flex justify-between p-b-5 p-t-5"},SDe={key:0},kDe={key:1},PDe={class:"flex justify-between p-b-5 p-t-5"},TDe={class:"flex justify-between p-b-5 p-t-5"},RDe={class:"m-t-10"},EDe={class:"m-b-5"},$De={class:"m-t-10"},ADe={class:"m-b-5"},IDe={class:"flex justify-end"},ODe={class:"m-t-10"},MDe={class:"m-b-5"},zDe={class:"m-t-10"},DDe={class:"m-b-5"},LDe={class:"flex justify-end"},FDe=ve({__name:"index",setup(e){const t=Pn(),n=x=>gn.global.t(x),o=[{title:n("邀请码"),key:"code",render(x){const y=`${window.location.protocol}//${window.location.host}/#/register?code=${x.code}`;return g("div",[g("span",x.code),g(zt,{size:"small",onClick:()=>da(y),quaternary:!0,type:"info"},{default:()=>n("复制链接")})])}},{title:n("创建时间"),key:"created_at",fixed:"right",align:"right",render(x){return Ho(x.created_at)}}],r=[{title:n("发放时间"),key:"created_at",render(x){return Ho(x.created_at)}},{title:n("佣金"),key:"get_amount",fixed:"right",align:"right",render(x){return an(x.get_amount)}}],i=W(),a=W([]);async function s(){const x=await WZ(),{data:y}=x;i.value=y.codes,a.value=y.stat}const l=W([]),c=Zn({page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,50,100,150],onChange:x=>{c.page=x,u()},onUpdatePageSize:x=>{c.pageSize=x,c.page=1,u()}});async function u(){const x=await UZ(c.page,c.pageSize),{data:y}=x;l.value=y}const d=W(!1);async function f(){d.value=!0;const{data:x}=await qZ();x===!0&&(window.$message.success(n("已生成")),_()),d.value=!1}const p=W(!1),h=W(),m=W(!1);async function v(){m.value=!0;const x=h.value;if(typeof x!="number"){window.$message.error(n("请输入正确的划转金额")),m.value=!1;return}const{data:y}=await KZ(x*100);y===!0&&(window.$message.success(n("划转成功")),p.value=!1,s()),m.value=!1}const b=W(!1),w=Zn({method:null,account:null}),C=W(!1);async function S(){if(C.value=!0,!w.method){window.$message.error(n("提现方式不能为空")),C.value=!1;return}if(!w.account){window.$message.error(n("提现账号不能为空")),C.value=!1;return}const x=w.method,y=w.account,{data:k}=await GZ({withdraw_method:x,withdraw_account:y});k===!0&&Gt.push("/ticket"),C.value=!1}function _(){s(),u()}return hn(()=>{_()}),(x,y)=>{const k=bDe,P=AV,T=hDe,$=lDe,R=qi,K=fo,j=Du,D=fl,M=lr,Y=ZG,Q=Qr,de=BS,pe=Iu,B=ho;return me(),qe(B,null,{default:ce(()=>[ie(K,{title:x.$t("我的邀请"),class:"border-rounded-5"},{"header-extra":ce(()=>[ie(k,{class:"text-40 text-gray"})]),default:ce(()=>{var E;return[U("div",null,[U("span",yDe,[ie(P,{from:0,to:parseFloat(we(an)(a.value[4])),active:!0,precision:2,duration:500},null,8,["to"])]),U("span",xDe,le((E=we(t).appConfig)==null?void 0:E.currency),1)]),U("div",CDe,le(x.$t("当前剩余佣金")),1),ie(R,{class:"m-t-10"},{default:ce(()=>{var A;return[ie(we(zt),{size:"small",type:"primary",onClick:y[0]||(y[0]=G=>p.value=!0)},{icon:ce(()=>[ie(T)]),default:ce(()=>[nt(" "+le(x.$t("划转")),1)]),_:1}),(A=we(t).appConfig)!=null&&A.withdraw_close?pt("",!0):(me(),qe(we(zt),{key:0,size:"small",type:"primary",onClick:y[1]||(y[1]=G=>b.value=!0)},{icon:ce(()=>[ie($)]),default:ce(()=>[nt(" "+le(x.$t("推广佣金提现")),1)]),_:1}))]}),_:1})]}),_:1},8,["title"]),ie(K,{class:"m-t-15 border-rounded-5"},{default:ce(()=>{var E,A,G,oe,fe,J;return[U("div",wDe,[U("div",null,le(x.$t("已注册用户数")),1),U("div",null,le(x.$tc("{number} 人",{number:a.value[0]})),1)]),U("div",_De,[U("div",null,le(x.$t("佣金比例")),1),(E=we(t).appConfig)!=null&&E.commission_distribution_enable?(me(),ze("div",SDe,le(`${Math.floor((((A=we(t).appConfig)==null?void 0:A.commission_distribution_l1)||0)*a.value[3]/100)}%,${Math.floor((((G=we(t).appConfig)==null?void 0:G.commission_distribution_l2)||0)*a.value[3]/100)}%,${Math.floor((((oe=we(t).appConfig)==null?void 0:oe.commission_distribution_l3)||0)*a.value[3]/100)}%`),1)):(me(),ze("div",kDe,le(a.value[3])+"%",1))]),U("div",PDe,[U("div",null,le(x.$t("确认中的佣金")),1),U("div",null,le((fe=we(t).appConfig)==null?void 0:fe.currency_symbol)+" "+le(we(an)(a.value[2])),1)]),U("div",TDe,[U("div",null,le(x.$t("累计获得佣金")),1),U("div",null,le((J=we(t).appConfig)==null?void 0:J.currency_symbol)+" "+le(we(an)(a.value[1])),1)])]}),_:1}),ie(K,{title:x.$t("邀请码管理"),class:"m-t-15 border-rounded-5"},{"header-extra":ce(()=>[ie(we(zt),{size:"small",type:"primary",round:"",loading:d.value,onClick:f},{default:ce(()=>[nt(le(x.$t("生成邀请码")),1)]),_:1},8,["loading"])]),default:ce(()=>[ie(j,{columns:o,data:i.value,bordered:!0},null,8,["data"])]),_:1},8,["title"]),ie(K,{title:x.$t("佣金发放记录"),class:"m-t-15 border-rounded-5"},{default:ce(()=>[ie(j,{columns:r,data:l.value,pagination:c},null,8,["data","pagination"])]),_:1},8,["title"]),ie(Q,{show:p.value,"onUpdate:show":y[6]||(y[6]=E=>p.value=E)},{default:ce(()=>[ie(K,{title:x.$t("划转"),segmented:{content:!0,footer:!0},"footer-style":"padding-top: 10px; padding-bottom:10px",class:"mx-10 max-w-100% w-600 md:mx-auto",closable:"",onClose:y[5]||(y[5]=E=>p.value=!1)},{footer:ce(()=>[U("div",IDe,[U("div",null,[ie(we(zt),{onClick:y[3]||(y[3]=E=>p.value=!1)},{default:ce(()=>[nt(le(x.$t("取消")),1)]),_:1}),ie(we(zt),{type:"primary",class:"ml-10",onClick:y[4]||(y[4]=E=>v()),loading:m.value,disabled:m.value},{default:ce(()=>[nt(le(x.$t("确定")),1)]),_:1},8,["loading","disabled"])])])]),default:ce(()=>[ie(D,{type:"warning"},{default:ce(()=>[nt(le(x.$tc("划转后的余额仅用于{title}消费使用",{title:we(t).title})),1)]),_:1}),U("div",RDe,[U("div",EDe,le(x.$t("当前推广佣金余额")),1),ie(M,{placeholder:we(an)(a.value[4]),type:"number",disabled:""},null,8,["placeholder"])]),U("div",$De,[U("div",ADe,le(x.$t("划转金额")),1),ie(Y,{value:h.value,"onUpdate:value":y[2]||(y[2]=E=>h.value=E),min:0,placeholder:x.$t("请输入需要划转到余额的金额"),clearable:""},null,8,["value","placeholder"])])]),_:1},8,["title"])]),_:1},8,["show"]),ie(Q,{show:b.value,"onUpdate:show":y[12]||(y[12]=E=>b.value=E)},{default:ce(()=>[ie(K,{title:x.$t("推广佣金划转至余额"),segmented:{content:!0,footer:!0},"footer-style":"padding-top: 10px; padding-bottom:10px",class:"mx-10 max-w-100% w-600 md:mx-auto"},{"header-extra":ce(()=>[ie(we(zt),{class:"h-auto p-2",tertiary:"",size:"large",onClick:y[7]||(y[7]=E=>b.value=!1)},{icon:ce(()=>[ie(de,{class:"cursor-pointer opacity-85"})]),_:1})]),footer:ce(()=>[U("div",LDe,[U("div",null,[ie(we(zt),{onClick:y[10]||(y[10]=E=>b.value=!1)},{default:ce(()=>[nt(le(x.$t("取消")),1)]),_:1}),ie(we(zt),{type:"primary",class:"ml-10",onClick:y[11]||(y[11]=E=>S()),loading:C.value,disabled:C.value},{default:ce(()=>[nt(le(x.$t("确定")),1)]),_:1},8,["loading","disabled"])])])]),default:ce(()=>{var E;return[U("div",ODe,[U("div",MDe,le(x.$t("提现方式")),1),ie(pe,{value:w.method,"onUpdate:value":y[8]||(y[8]=A=>w.method=A),options:(E=we(t).appConfig)==null?void 0:E.withdraw_methods.map(A=>({label:A,value:A})),placeholder:x.$t("请选择提现方式")},null,8,["value","options","placeholder"])]),U("div",zDe,[U("div",DDe,le(x.$t("提现账号")),1),ie(M,{value:w.account,"onUpdate:value":y[9]||(y[9]=A=>w.account=A),placeholder:x.$t("请输入提现账号"),type:"string"},null,8,["value","placeholder"])])]}),_:1},8,["title"])]),_:1},8,["show"])]),_:1})}}}),BDe=Object.freeze(Object.defineProperty({__proto__:null,default:FDe},Symbol.toStringTag,{value:"Module"})),NDe={class:""},HDe={class:"mb-4 text-16 font-600"},jDe={class:"text-12 text-gray"},VDe=["innerHTML"],WDe=ve({__name:"index",setup(e){const t=Pn(),n=new Ju({html:!0}),o=f=>n.render(f);window.copy=f=>da(f),window.jump=f=>a(f);const r=W(!1),i=W();async function a(f){const{data:p}=await lJ(f,t.lang);p&&(i.value=p),r.value=!0}const s=W(""),l=W(!0),c=W();async function u(){l.value=!0;const f=s.value,{data:p}=await sJ(f,t.lang);c.value=p,l.value=!1}function d(){u()}return hn(()=>{d()}),(f,p)=>{const h=lr,m=zt,v=rm,b=ml,w=qi,C=ym,S=bm,_=fo,x=yq,y=X2,k=ho;return me(),qe(k,{"show-footer":!1},{default:ce(()=>[ie(v,null,{default:ce(()=>[ie(h,{placeholder:f.$t("使用文档"),value:s.value,"onUpdate:value":p[0]||(p[0]=P=>s.value=P),onKeyup:p[1]||(p[1]=gs(P=>d(),["enter"]))},null,8,["placeholder","value"]),ie(m,{type:"primary",ghost:"",onClick:p[2]||(p[2]=P=>d())},{default:ce(()=>[nt(le(f.$t("搜索")),1)]),_:1})]),_:1}),l.value?(me(),qe(w,{key:0,vertical:"",class:"mt-20"},{default:ce(()=>[ie(b,{height:"20px",width:"33%"}),ie(b,{height:"20px",width:"66%"}),ie(b,{height:"20px"})]),_:1})):pt("",!0),(me(!0),ze(rt,null,Hn(c.value,(P,T)=>(me(),qe(_,{key:T,title:T,class:"mt-20 border-rounded-5",contentStyle:"padding:0"},{default:ce(()=>[ie(S,{clickable:"",hoverable:""},{default:ce(()=>[(me(!0),ze(rt,null,Hn(P,$=>(me(),qe(C,{key:$.id,onClick:R=>a($.id)},{default:ce(()=>[U("div",NDe,[U("div",HDe,le($.title),1),U("div",jDe,le(f.$t("最后更新"))+" "+le(we(Cp)($.updated_at)),1)])]),_:2},1032,["onClick"]))),128))]),_:2},1024)]),_:2},1032,["title"]))),128)),ie(y,{show:r.value,"onUpdate:show":p[3]||(p[3]=P=>r.value=P),width:"80%",placement:"right"},{default:ce(()=>{var P;return[ie(x,{title:(P=i.value)==null?void 0:P.title,closable:""},{default:ce(()=>{var T;return[U("div",{innerHTML:o(((T=i.value)==null?void 0:T.body)||""),class:"custom-html-style markdown-body"},null,8,VDe)]}),_:1},8,["title"])]}),_:1},8,["show"])]),_:1})}}}),UDe=Object.freeze(Object.defineProperty({__proto__:null,default:WDe},Symbol.toStringTag,{value:"Module"})),qDe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},KDe=U("path",{fill:"currentColor",d:"M11 18h2v-2h-2zm1-16A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8m0-14a4 4 0 0 0-4 4h2a2 2 0 0 1 2-2a2 2 0 0 1 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5a4 4 0 0 0-4-4"},null,-1),GDe=[KDe];function YDe(e,t){return me(),ze("svg",qDe,[...GDe])}const XDe={name:"mdi-help-circle-outline",render:YDe},ZDe={class:"flex"},JDe={class:"flex-[1]"},QDe={class:"flex flex-[2] flex-shrink-0 text-center"},eLe={class:"flex flex-1 items-center justify-center"},tLe={class:"flex flex-1 items-center justify-center"},nLe={class:"flex-1"},oLe={class:"flex"},rLe={class:"flex-[1] break-anywhere"},iLe={class:"flex flex-[2] flex-shrink-0 items-center text-center"},aLe={class:"flex flex-[1] items-center justify-center"},sLe={class:"flex-[1]"},lLe={class:"flex-[1]"},cLe={key:0},uLe={key:1},dLe=ve({__name:"index",setup(e){const t=W([]),n=W(!0);async function o(){n.value=!0;const r=await zS(),{data:i}=r;t.value=i,n.value=!1}return hn(()=>{o()}),(r,i)=>{const a=ml,s=qi,l=XDe,c=Mu,u=_i,d=ym,f=bm,p=Gc("router-link"),h=fl,m=ho;return me(),qe(m,null,{default:ce(()=>[n.value?(me(),qe(s,{key:0,vertical:"",class:"mt-20"},{default:ce(()=>[ie(a,{height:"20px",width:"33%"}),ie(a,{height:"20px",width:"66%"}),ie(a,{height:"20px"})]),_:1})):t.value.length>0?(me(),qe(f,{key:1,clickable:"",hoverable:""},{header:ce(()=>[U("div",ZDe,[U("div",JDe,le(r.$t("名称")),1),U("div",QDe,[U("div",eLe,[nt(le(r.$t("状态"))+" ",1),ie(c,{placement:"bottom",trigger:"hover"},{trigger:ce(()=>[ie(l,{class:"m-l-3 text-16"})]),default:ce(()=>[U("span",null,le(r.$t("五分钟内节点在线情况")),1)]),_:1})]),U("div",tLe,[nt(le(r.$t("倍率"))+" ",1),ie(c,{placement:"bottom",trigger:"hover"},{trigger:ce(()=>[ie(l,{class:"m-l-3 text-16"})]),default:ce(()=>[U("span",null,le(r.$t("使用的流量将乘以倍率进行扣除")),1)]),_:1})]),U("div",nLe,le(r.$t("标签")),1)])])]),default:ce(()=>[(me(!0),ze(rt,null,Hn(t.value,v=>(me(),qe(d,{key:v.id},{default:ce(()=>[U("div",oLe,[U("div",rLe,le(v.name),1),U("div",iLe,[U("div",aLe,[U("div",{class:ir(["h-6 w-6 rounded-full",v.is_online?"bg-blue-500":"bg-red-500"])},null,2)]),U("div",sLe,[ie(u,{size:"small",round:"",class:""},{default:ce(()=>[nt(le(v.rate)+" x ",1)]),_:2},1024)]),U("div",lLe,[v.tags&&v.tags.length>0?(me(),ze("div",cLe,[(me(!0),ze(rt,null,Hn(v.tags,b=>(me(),qe(u,{size:"small",round:"",key:b},{default:ce(()=>[nt(le(b),1)]),_:2},1024))),128))])):(me(),ze("span",uLe,"-"))])])])]),_:2},1024))),128))]),_:1})):(me(),qe(h,{key:2,type:"info"},{default:ce(()=>[U("div",null,[nt(le(r.$t("没有可用节点,如果您未订阅或已过期请"))+" ",1),ie(p,{class:"font-600",to:"/plan"},{default:ce(()=>[nt(le(r.$t("订阅")),1)]),_:1}),nt("。 ")])]),_:1}))]),_:1})}}}),fLe=Object.freeze(Object.defineProperty({__proto__:null,default:dLe},Symbol.toStringTag,{value:"Module"})),hLe=ve({__name:"index",setup(e){const t=s=>gn.global.t(s),n=[{title:t("# 订单号"),key:"trade_no",render(s){return g(zt,{text:!0,class:"color-primary",onClick:()=>Gt.push(`/order/${s.trade_no}`)},{default:()=>s.trade_no})}},{title:t("周期"),key:"period",render(s){return g(_i,{round:!0,size:"small"},{default:()=>t(lk[s.period])})}},{title:t("订单金额"),key:"total_amount",render(s){return an(s.total_amount)}},{title:t("订单状态"),key:"status",render(s){const l=t(eze[s.status]),c=g("div",{class:["h-6 w-6 rounded-full mr-5",s.status===3?"bg-green-500":"bg-red-500"]});return g("div",{class:"flex items-center"},[c,l])}},{title:t("创建时间"),key:"created_at",render(s){return Ho(s.created_at)}},{title:t("操作"),key:"actions",fixed:"right",render(s){const l=g(zt,{text:!0,type:"primary",onClick:()=>Gt.push(`/order/${s.trade_no}`)},{default:()=>t("查看详情")}),c=g(zt,{text:!0,type:"primary",disabled:s.status!==0,onClick:()=>o(s.trade_no)},{default:()=>t("取消")}),u=g(Ui,{vertical:!0});return g("div",[l,u,c])}}];async function o(s){window.$dialog.confirm({title:t("注意"),type:"info",content:t("如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?"),async confirm(){const{data:l}=await Nu(s);l===!0&&(window.$message.success(t("取消成功")),a())}})}const r=W([]);async function i(){const s=await Tm(),{data:l}=s;r.value=l}async function a(){i()}return hn(()=>{a()}),(s,l)=>{const c=Du,u=ho;return me(),qe(u,null,{default:ce(()=>[ie(c,{columns:n,data:r.value,bordered:!1,"scroll-x":800},null,8,["data"])]),_:1})}}}),pLe=Object.freeze(Object.defineProperty({__proto__:null,default:hLe},Symbol.toStringTag,{value:"Module"})),mLe={class:"inline-block",viewBox:"0 0 48 48",width:"1em",height:"1em"},gLe=U("g",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd"},[U("path",{d:"M24 42c9.941 0 18-8.059 18-18S33.941 6 24 6S6 14.059 6 24s8.059 18 18 18m0 2c11.046 0 20-8.954 20-20S35.046 4 24 4S4 12.954 4 24s8.954 20 20 20"}),U("path",{d:"M34.67 16.259a1 1 0 0 1 .072 1.412L21.386 32.432l-8.076-7.709a1 1 0 0 1 1.38-1.446l6.59 6.29L33.259 16.33a1 1 0 0 1 1.413-.07"})],-1),vLe=[gLe];function bLe(e,t){return me(),ze("svg",mLe,[...vLe])}const ck={name:"healthicons-yes-outline",render:bLe},yLe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},xLe=U("path",{fill:"currentColor",d:"M952.08 1.552L529.039 116.144c-10.752 2.88-34.096 2.848-44.815-.16L72.08 1.776C35.295-8.352-.336 18.176-.336 56.048V834.16c0 32.096 24.335 62.785 55.311 71.409l412.16 114.224c11.025 3.055 25.217 4.751 39.937 4.751c10.095 0 25.007-.784 38.72-4.528l423.023-114.592c31.056-8.4 55.504-39.024 55.504-71.248V56.048c.016-37.84-35.616-64.464-72.24-54.496zM479.999 956.943L71.071 843.887c-3.088-.847-7.408-6.496-7.408-9.712V66.143L467.135 177.68c3.904 1.088 8.288 1.936 12.864 2.656zm480.336-122.767c0 3.152-5.184 8.655-8.256 9.503L544 954.207v-775.92c.592-.144 1.2-.224 1.792-.384L960.32 65.775v768.4h.016zM641.999 366.303c2.88 0 5.81-.367 8.69-1.184l223.935-63.024c17.025-4.816 26.945-22.465 22.16-39.473s-22.56-26.88-39.472-22.16l-223.936 63.025c-17.024 4.816-26.944 22.464-22.16 39.472c3.968 14.128 16.815 23.344 30.783 23.344m.002 192.001c2.88 0 5.81-.368 8.69-1.185l223.935-63.024c17.025-4.816 26.945-22.465 22.16-39.473c-4.783-17.008-22.56-26.88-39.472-22.16l-223.936 63.025c-17.024 4.816-26.944 22.464-22.16 39.457c3.968 14.127 16.815 23.36 30.783 23.36m.002 192c2.88 0 5.81-.368 8.69-1.185l223.935-63.024c17.025-4.816 26.945-22.465 22.16-39.473s-22.56-26.88-39.472-22.16L633.38 687.487c-17.024 4.816-26.944 22.464-22.16 39.472c3.968 14.113 16.815 23.345 30.783 23.345M394.629 303.487l-223.934-63.025c-16.912-4.72-34.688 5.152-39.473 22.16s5.12 34.656 22.16 39.473l223.937 63.024a31.827 31.827 0 0 0 8.687 1.184c13.968 0 26.815-9.215 30.783-23.343c4.784-16.993-5.12-34.657-22.16-39.473m.002 191.999l-223.934-63.025c-16.912-4.72-34.689 5.152-39.473 22.16s5.12 34.656 22.16 39.473l223.936 63.024a31.827 31.827 0 0 0 8.688 1.184c13.968 0 26.815-9.215 30.783-23.343c4.784-16.993-5.12-34.657-22.16-39.473m.002 191.999L170.699 624.46c-16.912-4.72-34.689 5.152-39.473 22.16s5.12 34.656 22.16 39.473l223.936 63.024a31.827 31.827 0 0 0 8.688 1.184c13.968 0 26.815-9.215 30.783-23.343c4.784-17.008-5.12-34.657-22.16-39.473"},null,-1),CLe=[xLe];function wLe(e,t){return me(),ze("svg",yLe,[...CLe])}const _Le={name:"simple-line-icons-book-open",render:wLe},SLe={class:"inline-block",viewBox:"0 0 20 20",width:"1em",height:"1em"},kLe=U("path",{fill:"currentColor",d:"M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8s8-3.58 8-8s-3.58-8-8-8m-.615 12.66h-1.34l-3.24-4.54l1.341-1.25l2.569 2.4l5.141-5.931l1.34.94z"},null,-1),PLe=[kLe];function TLe(e,t){return me(),ze("svg",SLe,[...PLe])}const RLe={name:"dashicons-yes-alt",render:TLe},ELe={class:"inline-block",viewBox:"0 0 20 20",width:"1em",height:"1em"},$Le=U("path",{fill:"currentColor",d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8s-8-3.58-8-8s3.58-8 8-8m1.13 9.38l.35-6.46H8.52l.35 6.46zm-.09 3.36c.24-.23.37-.55.37-.96c0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35s-.82.12-1.07.35s-.37.55-.37.97c0 .41.13.73.38.96c.26.23.61.34 1.06.34s.8-.11 1.05-.34"},null,-1),ALe=[$Le];function ILe(e,t){return me(),ze("svg",ELe,[...ALe])}const OLe={name:"dashicons-warning",render:ILe},MLe={class:"relative max-w-full w-300",style:{"padding-bottom":"100%"}},zLe={class:"p-10 text-center"},DLe={key:1,class:"flex flex-wrap"},LLe={class:"w-100% md:flex-[2]"},FLe={key:2,class:"mt-10 text-22"},BLe={key:3,class:"text-14 text-[rgba(0,0,0,0.45)]"},NLe={class:"flex"},HLe={class:"flex-[1] text-#49505799"},jLe={class:"flex-[2]"},VLe={class:"flex"},WLe={class:"m-t-5 flex-[1] text-#49505799"},ULe={class:"flex-[2]"},qLe={class:"flex"},KLe={class:"m-b-5 m-t-5 flex-[1] text-#49505799"},GLe={class:"flex-[2]"},YLe={class:"flex"},XLe={class:"flex-[1] text-#49505799"},ZLe={class:"flex-[2]"},JLe={key:0,class:"flex"},QLe={class:"flex-[1] text-#49505799"},e9e={class:"flex-[2]"},t9e={key:1,class:"flex"},n9e={class:"flex-[1] text-#49505799"},o9e={class:"flex-[2]"},r9e={key:2,class:"flex"},i9e={class:"flex-[1] text-#49505799"},a9e={class:"flex-[2]"},s9e={key:3,class:"flex"},l9e={class:"flex-[1] text-#49505799"},c9e={class:"flex-[2]"},u9e={key:4,class:"flex"},d9e={class:"flex-[1] text-#49505799"},f9e={class:"flex-[2]"},h9e={class:"flex"},p9e={class:"m-t-5 flex-[1] text-#49505799"},m9e={class:"flex-[2]"},g9e=["onClick"],v9e={class:"flex-[1] whitespace-nowrap"},b9e={class:"flex-[1]"},y9e=["src"],x9e={key:0,class:"w-100% md:flex-[1] md:pl-20"},C9e={class:"mt-20 border-rounded-5 bg-#2f3135 p-20 color-white"},w9e={class:"text-18 font-600"},_9e={class:"flex border-#646669 border-b-solid pb-16 pt-16"},S9e={class:"flex-[2]"},k9e={class:"flex-[1] text-right color-#f8f9fa"},P9e={key:0,class:"border-[#646669] border-b-solid pb-16 pt-16"},T9e={class:"color-#f8f9fa41"},R9e={class:"pt-16 text-right"},E9e={key:1,class:"border-[#646669] border-b-solid pb-16 pt-16"},$9e={class:"color-#f8f9fa41"},A9e={class:"pt-16 text-right"},I9e={key:2,class:"border-[#646669] border-b-solid pb-16 pt-16"},O9e={class:"color-#f8f9fa41"},M9e={class:"pt-16 text-right"},z9e={key:3,class:"border-[#646669] border-b-solid pb-16 pt-16"},D9e={class:"color-#f8f9fa41"},L9e={class:"pt-16 text-right"},F9e={key:4,class:"border-[#646669] border-b-solid pb-16 pt-16"},B9e={class:"color-#f8f9fa41"},N9e={class:"pt-16 text-right"},H9e={class:"pb-16 pt-16"},j9e={class:"color-#f8f9fa41"},V9e={class:"text-36 font-600"},W9e=ve({__name:"detail",setup(e){const t=Pn(),n=Ki(),o=Aa(),r=y=>gn.global.t(y);function i(y){switch(y){case 1:return{icon:"info",title:r("开通中"),subTitle:r("订单系统正在进行处理,请稍等1-3分钟。")};case 2:return{icon:"info",title:r("已取消"),subTitle:r("订单由于超时支付已被取消。")};case 3:case 4:return{icon:"info",title:r("已完成"),subTitle:r("订单已支付并开通。")}}return{icon:"error",title:r("意料之外"),subTitle:r("意料之外的状态")}}async function a(){window.$dialog.confirm({title:r("注意"),type:"info",content:r("如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?"),async confirm(){const{data:y}=await Nu(s.value);y===!0&&(window.$message.success(r("取消成功")),x())}})}const s=W(""),l=W(),c=W(),u=W(!0);async function d(){u.value=!0;const{data:y}=await jZ(s.value);l.value=y,clearInterval(c.value),y.status===Rs.PENDING&&h(),[Rs.PENDING,Rs.PROCESSING].includes(y.status)&&(c.value=setInterval(S,1500)),u.value=!1}const f=W([]),p=W(0);async function h(){const{data:y}=await JZ();f.value=y}function m(){var k,P,T,$,R;return(((k=l.value)==null?void 0:k.plan[l.value.period])||0)-(((P=l.value)==null?void 0:P.balance_amount)||0)-(((T=l.value)==null?void 0:T.surplus_amount)||0)+((($=l.value)==null?void 0:$.refund_amount)||0)-(((R=l.value)==null?void 0:R.discount_amount)||0)}function v(){const y=f.value[p.value];return(y!=null&&y.handling_fee_percent||y!=null&&y.handling_fee_fixed)&&m()?m()*parseFloat(y.handling_fee_percent||"0")/100+((y==null?void 0:y.handling_fee_fixed)||0):0}async function b(){const y=f.value[p.value],{data:k,type:P}=await QZ(s.value,y==null?void 0:y.id);k&&(k===!0?(window.$message.info(r("支付成功")),setTimeout(()=>{_()},500)):P===0?(w.value=!0,C.value=k):P===1&&(window.$message.info(r("正在前往收银台")),setTimeout(()=>{window.location.href=k},500)))}const w=W(!1),C=W("");async function S(){var k;const{data:y}=await VZ(s.value);y!==((k=l.value)==null?void 0:k.status)&&_()}async function _(){x(),n.getUserInfo()}async function x(){d(),w.value=!1}return hn(()=>{typeof o.params.trade_no=="string"&&(s.value=o.params.trade_no),x()}),Ea(()=>{clearInterval(c.value)}),(y,k)=>{const P=kS,T=Ui,$=fo,R=Qr,K=ml,j=qi,D=OLe,M=RLe,Y=_Le,Q=zt,de=ck,pe=ho;return me(),qe(pe,null,{default:ce(()=>{var B,E,A,G,oe,fe,J,xe,N,be,Oe,Le,F,O,re,_e,ee,ye,Pe,I,H,te,Ce,ae,he,ne;return[ie(R,{show:w.value,"onUpdate:show":k[0]||(k[0]=ue=>w.value=ue),onOnAfterLeave:k[1]||(k[1]=ue=>C.value="")},{default:ce(()=>[ie($,{"content-style":"padding:10px",class:"w-auto",bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{default:ce(()=>[U("div",MLe,[C.value?(me(),qe(P,{key:0,value:C.value,class:"pay-qrcode absolute h-full! w-full!",size:"400"},null,8,["value"])):pt("",!0)]),ie(T,{class:"m-0!"}),U("div",zLe,le(y.$t("等待支付中")),1)]),_:1})]),_:1},8,["show"]),u.value?(me(),qe(j,{key:0,vertical:"",class:"mt-20"},{default:ce(()=>[ie(K,{height:"20px",width:"33%"}),ie(K,{height:"20px",width:"66%"}),ie(K,{height:"20px"})]),_:1})):(me(),ze("div",DLe,[U("div",LLe,[((B=l.value)==null?void 0:B.status)!==0?(me(),qe($,{key:0,class:"flex text-center","items-center":"","border-rounded-5":""},{default:ce(()=>{var ue,De,Ue,ke,Fe,je;return[((ue=l.value)==null?void 0:ue.status)===2?(me(),qe(D,{key:0,class:"text-90 color-#f9a314"})):pt("",!0),((De=l.value)==null?void 0:De.status)===3||((Ue=l.value)==null?void 0:Ue.status)==4?(me(),qe(M,{key:1,class:"text-90 color-#48bc19"})):pt("",!0),(ke=l.value)!=null&&ke.status?(me(),ze("div",FLe,le(i(l.value.status).title),1)):pt("",!0),(Fe=l.value)!=null&&Fe.status?(me(),ze("div",BLe,le(i(l.value.status).subTitle),1)):pt("",!0),((je=l.value)==null?void 0:je.status)===3?(me(),qe(Q,{key:4,"icon-placement":"left",strong:"",color:"#db4619",size:"small",round:"",class:"mt-30",onClick:k[2]||(k[2]=Ae=>y.$router.push("/knowledge"))},{icon:ce(()=>[ie(Y)]),default:ce(()=>[nt(" "+le(y.$t("查看使用教程")),1)]),_:1})):pt("",!0)]}),_:1})):pt("",!0),ie($,{class:"mt-20 border-rounded-5",title:y.$t("商品信息")},{default:ce(()=>{var ue,De,Ue;return[U("div",NLe,[U("div",HLe,le(y.$t("产品名称"))+":",1),U("div",jLe,le((ue=l.value)==null?void 0:ue.plan.name),1)]),U("div",VLe,[U("div",WLe,le(y.$t("类型/周期"))+":",1),U("div",ULe,le((De=l.value)!=null&&De.period?y.$t(we(lk)[l.value.period]):""),1)]),U("div",qLe,[U("div",KLe,le(y.$t("产品流量"))+":",1),U("div",GLe,le((Ue=l.value)==null?void 0:Ue.plan.transfer_enable)+" GB",1)])]}),_:1},8,["title"]),ie($,{class:"mt-20 border-rounded-5",title:y.$t("订单信息")},{"header-extra":ce(()=>{var ue;return[((ue=l.value)==null?void 0:ue.status)===0?(me(),qe(Q,{key:0,color:"#db4619",size:"small",round:"",strong:"",onClick:k[3]||(k[3]=De=>a())},{default:ce(()=>[nt(le(y.$t("关闭订单")),1)]),_:1})):pt("",!0)]}),default:ce(()=>{var ue,De,Ue,ke,Fe,je,Ae,Je,xt,X,ge;return[U("div",YLe,[U("div",XLe,le(y.$t("订单号"))+":",1),U("div",ZLe,le((ue=l.value)==null?void 0:ue.trade_no),1)]),(De=l.value)!=null&&De.discount_amount&&((Ue=l.value)==null?void 0:Ue.discount_amount)>0?(me(),ze("div",JLe,[U("div",QLe,le(y.$t("优惠金额")),1),U("div",e9e,le(we(an)(l.value.discount_amount)),1)])):pt("",!0),(ke=l.value)!=null&&ke.surplus_amount&&((Fe=l.value)==null?void 0:Fe.surplus_amount)>0?(me(),ze("div",t9e,[U("div",n9e,le(y.$t("旧订阅折抵金额")),1),U("div",o9e,le(we(an)(l.value.surplus_amount)),1)])):pt("",!0),(je=l.value)!=null&&je.refund_amount&&((Ae=l.value)==null?void 0:Ae.refund_amount)>0?(me(),ze("div",r9e,[U("div",i9e,le(y.$t("退款金额")),1),U("div",a9e,le(we(an)(l.value.refund_amount)),1)])):pt("",!0),(Je=l.value)!=null&&Je.balance_amount&&((xt=l.value)==null?void 0:xt.balance_amount)>0?(me(),ze("div",s9e,[U("div",l9e,le(y.$t("余额支付 ")),1),U("div",c9e,le(we(an)(l.value.balance_amount)),1)])):pt("",!0),((X=l.value)==null?void 0:X.status)===0&&v()>0?(me(),ze("div",u9e,[U("div",d9e,le(y.$t("支付手续费"))+":",1),U("div",f9e,le(we(an)(v())),1)])):pt("",!0),U("div",h9e,[U("div",p9e,le(y.$t("创建时间"))+":",1),U("div",m9e,le(we(Ho)((ge=l.value)==null?void 0:ge.created_at)),1)])]}),_:1},8,["title"]),((E=l.value)==null?void 0:E.status)===0?(me(),qe($,{key:1,title:y.$t("支付方式"),class:"mt-20","content-style":"padding:0"},{default:ce(()=>[(me(!0),ze(rt,null,Hn(f.value,(ue,De)=>(me(),ze("div",{key:ue.id,class:ir(["border-2 border-rounded-5 p-20 border-solid flex",p.value===De?"border-#0665d0":"border-transparent"]),onClick:Ue=>p.value=De},[U("div",v9e,le(ue.name),1),U("div",b9e,[U("img",{class:"max-h-30",src:ue.icon},null,8,y9e)])],10,g9e))),128))]),_:1},8,["title"])):pt("",!0)]),((A=l.value)==null?void 0:A.status)===0?(me(),ze("div",x9e,[U("div",C9e,[U("div",w9e,le(y.$t("订单总额")),1),U("div",_9e,[U("div",S9e,le((G=l.value)==null?void 0:G.plan.name),1),U("div",k9e,le((oe=we(t).appConfig)==null?void 0:oe.currency_symbol)+le(((fe=l.value)==null?void 0:fe.period)&&we(an)((J=l.value)==null?void 0:J.plan[l.value.period])),1)]),(xe=l.value)!=null&&xe.surplus_amount&&((N=l.value)==null?void 0:N.surplus_amount)>0?(me(),ze("div",P9e,[U("div",T9e,le(y.$t("折抵")),1),U("div",R9e," - "+le((be=we(t).appConfig)==null?void 0:be.currency_symbol)+le(we(an)((Oe=l.value)==null?void 0:Oe.surplus_amount)),1)])):pt("",!0),(Le=l.value)!=null&&Le.discount_amount&&((F=l.value)==null?void 0:F.discount_amount)>0?(me(),ze("div",E9e,[U("div",$9e,le(y.$t("折扣")),1),U("div",A9e," - "+le((O=we(t).appConfig)==null?void 0:O.currency_symbol)+le(we(an)((re=l.value)==null?void 0:re.discount_amount)),1)])):pt("",!0),(_e=l.value)!=null&&_e.refund_amount&&((ee=l.value)==null?void 0:ee.refund_amount)>0?(me(),ze("div",I9e,[U("div",O9e,le(y.$t("退款")),1),U("div",M9e," - "+le((ye=we(t).appConfig)==null?void 0:ye.currency_symbol)+le(we(an)((Pe=l.value)==null?void 0:Pe.refund_amount)),1)])):pt("",!0),(I=l.value)!=null&&I.balance_amount&&((H=l.value)==null?void 0:H.balance_amount)>0?(me(),ze("div",z9e,[U("div",D9e,le(y.$t("余额支付")),1),U("div",L9e," - "+le((te=we(t).appConfig)==null?void 0:te.currency_symbol)+le(we(an)((Ce=l.value)==null?void 0:Ce.balance_amount)),1)])):pt("",!0),v()>0?(me(),ze("div",F9e,[U("div",B9e,le(y.$t("支付手续费")),1),U("div",N9e," + "+le((ae=we(t).appConfig)==null?void 0:ae.currency_symbol)+le(we(an)(v())),1)])):pt("",!0),U("div",H9e,[U("div",j9e,le(y.$t("总计")),1),U("div",V9e,le((he=we(t).appConfig)==null?void 0:he.currency_symbol)+" "+le(we(an)(m()+v()))+" "+le((ne=we(t).appConfig)==null?void 0:ne.currency),1)]),ie(Q,{type:"primary",class:"w-100% text-white","icon-placement":"left",strong:"",onClick:k[4]||(k[4]=ue=>b())},{icon:ce(()=>[ie(de)]),default:ce(()=>[nt(" "+le(y.$t("结账")),1)]),_:1})])])):pt("",!0)]))]}),_:1})}}}),U9e=Object.freeze(Object.defineProperty({__proto__:null,default:W9e},Symbol.toStringTag,{value:"Module"})),q9e={class:"inline-block",viewBox:"0 0 50 50",width:"1em",height:"1em"},K9e=U("path",{fill:"currentColor",d:"M25 42c-9.4 0-17-7.6-17-17S15.6 8 25 8s17 7.6 17 17s-7.6 17-17 17m0-32c-8.3 0-15 6.7-15 15s6.7 15 15 15s15-6.7 15-15s-6.7-15-15-15"},null,-1),G9e=U("path",{fill:"currentColor",d:"m32.283 16.302l1.414 1.415l-15.98 15.98l-1.414-1.414z"},null,-1),Y9e=U("path",{fill:"currentColor",d:"m17.717 16.302l15.98 15.98l-1.414 1.415l-15.98-15.98z"},null,-1),X9e=[K9e,G9e,Y9e];function Z9e(e,t){return me(),ze("svg",q9e,[...X9e])}const uk={name:"ei-close-o",render:Z9e},J9e={class:"inline-block",viewBox:"0 0 50 50",width:"1em",height:"1em"},Q9e=U("path",{fill:"currentColor",d:"M25 42c-9.4 0-17-7.6-17-17S15.6 8 25 8s17 7.6 17 17s-7.6 17-17 17m0-32c-8.3 0-15 6.7-15 15s6.7 15 15 15s15-6.7 15-15s-6.7-15-15-15"},null,-1),eFe=U("path",{fill:"currentColor",d:"m23 32.4l-8.7-8.7l1.4-1.4l7.3 7.3l11.3-11.3l1.4 1.4z"},null,-1),tFe=[Q9e,eFe];function nFe(e,t){return me(),ze("svg",J9e,[...tFe])}const dk={name:"ei-check",render:nFe},oFe={class:"ml-auto mr-auto max-w-1200 w-100%"},rFe={class:"m-3 mb-4 mt-4 text-30 font-400"},iFe={class:"card-container m-t-10 md:m-t-40"},aFe=["onClick"],sFe={class:"vertical-bottom"},lFe={class:"text-30 font-600"},cFe={class:"p-l-5 text-16 text-gray"},uFe={key:0},dFe=["innerHTML"],fFe=ve({__name:"index",setup(e){const t=Pn(),n=d=>gn.global.t(d),o=new Ju({html:!0}),r=d=>o.render(d),i=W(0),a=[{value:0,label:n("全部")},{value:1,label:n("按周期")},{value:2,label:n("按流量")}],s=W([]),l=W([]);ft([l,i],d=>{s.value=d[0].filter(f=>{if(d[1]===0)return 1;if(d[1]===1)return!((f.onetime_price||0)>0);if(d[1]===2)return(f.onetime_price||0)>0})});async function c(){const{data:d}=await HZ();d.forEach(f=>{const p=u(f);f.price=p.price,f.cycle=p.cycle}),l.value=d}hn(()=>{c()});function u(d){return d.onetime_price!==null?{price:d.onetime_price/100,cycle:n("一次性")}:d.month_price!==null?{price:d.month_price/100,cycle:n("月付")}:d.quarter_price!==null?{price:d.quarter_price/100,cycle:n("季付")}:d.half_year_price!==null?{price:d.half_year_price/100,cycle:n("半年付")}:d.year_price!==null?{price:d.year_price/100,cycle:n("年付")}:d.two_year_price!==null?{price:d.two_year_price/100,cycle:n("两年付")}:d.three_year_price!==null?{price:d.three_year_price/100,cycle:n("三年付")}:{price:0,cycle:n("错误")}}return(d,f)=>{const p=wW,h=k2,m=dk,v=uk,b=mr,w=zt,C=fo,S=ho;return me(),qe(S,null,{default:ce(()=>[U("div",oFe,[U("h2",rFe,le(d.$t("选择最适合你的计划")),1),ie(h,{value:i.value,"onUpdate:value":f[0]||(f[0]=_=>i.value=_),name:"plan_select",class:""},{default:ce(()=>[(me(),ze(rt,null,Hn(a,_=>ie(p,{key:_.value,value:_.value,label:_.label,style:{background:"--n-color"}},null,8,["value","label"])),64))]),_:1},8,["value"]),U("section",iFe,[(me(!0),ze(rt,null,Hn(s.value,_=>(me(),ze("div",{class:"card-item min-w-300 cursor-pointer",key:_.id,onClick:x=>d.$router.push("/plan/"+_.id)},[ie(C,{title:_.name,hoverable:"",class:"max-w-100% w-375"},{"header-extra":ce(()=>{var x;return[U("div",sFe,[U("span",lFe,le((x=we(t).appConfig)==null?void 0:x.currency_symbol)+" "+le(_.price),1),U("span",cFe," /"+le(_.cycle),1)])]}),action:ce(()=>[ie(w,{strong:"",secondary:"",type:"primary"},{default:ce(()=>[nt(le(d.$t("立即订阅")),1)]),_:1})]),default:ce(()=>[we(Fx)(_.content)?(me(),ze("div",uFe,[(me(!0),ze(rt,null,Hn(JSON.parse(_.content),(x,y)=>(me(),ze("div",{key:y,class:ir(["vertical-center flex items-center",x.support?"":"opacity-30"])},[ie(b,{size:"30",class:"flex items-center text-[--primary-color]"},{default:ce(()=>[x.support?(me(),qe(m,{key:0})):(me(),qe(v,{key:1}))]),_:2},1024),U("div",null,le(x.feature),1)],2))),128))])):(me(),ze("div",{key:1,innerHTML:r(_.content||""),class:"markdown-body"},null,8,dFe))]),_:2},1032,["title"])],8,aFe))),128))])])]),_:1})}}}),hFe=ju(fFe,[["__scopeId","data-v-79fa0f66"]]),pFe=Object.freeze(Object.defineProperty({__proto__:null,default:hFe},Symbol.toStringTag,{value:"Module"})),mFe={class:"inline-block",viewBox:"0 0 576 512",width:"1em",height:"1em"},gFe=U("path",{fill:"currentColor",d:"M64 64C28.7 64 0 92.7 0 128v64c0 8.8 7.4 15.7 15.7 18.6C34.5 217.1 48 235 48 256s-13.5 38.9-32.3 45.4C7.4 304.3 0 311.2 0 320v64c0 35.3 28.7 64 64 64h448c35.3 0 64-28.7 64-64v-64c0-8.8-7.4-15.7-15.7-18.6C541.5 294.9 528 277 528 256s13.5-38.9 32.3-45.4c8.3-2.9 15.7-9.8 15.7-18.6v-64c0-35.3-28.7-64-64-64zm64 112v160c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V176c0-8.8-7.2-16-16-16H144c-8.8 0-16 7.2-16 16m-32-16c0-17.7 14.3-32 32-32h320c17.7 0 32 14.3 32 32v192c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32z"},null,-1),vFe=[gFe];function bFe(e,t){return me(),ze("svg",mFe,[...vFe])}const yFe={name:"fa6-solid-ticket",render:bFe},xFe={key:1,class:"flex flex-wrap"},CFe={class:"w-100% md:max-w-2/3"},wFe={key:0},_Fe=["innerHTML"],SFe=["onClick"],kFe={class:"mt-20 w-full md:mt-0 md:max-w-1/3 sm:max-w-full md:pl-20"},PFe={class:"border-rounded-5 bg-#2f3135 p-20 color-white"},TFe={class:"flex items-center"},RFe=["placeholder"],EFe={class:"mt-0 border-rounded-5 bg-#2f3135 p-20 color-white md:mt-20"},$Fe={class:"text-18 font-600"},AFe={class:"flex border-#646669 border-b-solid pb-16 pt-16"},IFe={class:"flex-[2]"},OFe={class:"flex-[1] text-right color-#f8f9fa"},MFe={key:0,class:"border-[#646669] border-b-solid pb-16 pt-16"},zFe={class:"color-#f8f9fa"},DFe={class:"flex pb-16 pt-16"},LFe={class:"flex-[2]"},FFe={class:"flex-[1] text-right color-#f8f9fa"},BFe={class:"pb-16 pt-16"},NFe={class:"color-#f8f9fa"},HFe={class:"text-36 font-600"},jFe=ve({__name:"detail",setup(e){const t=Pn(),n=Aa(),o=Ki(),r=T=>gn.global.t(T),i=new Ju({html:!0}),a=T=>i.render(T),s={month_price:r("月付"),quarter_price:r("季付"),half_year_price:r("半年付"),year_price:r("年付"),two_year_price:r("两年付"),three_year_price:r("三年付"),onetime_price:r("一次性"),reset_price:r("流量重置包")},l=W(0),c=W([]);async function u(){const T=C.value;c.value=[];for(const $ in T)$ in s&&T[$]!==null&&c.value.push({name:s[$],key:$})}const d=W(""),f=W(!1),p=W();async function h(){f.value=!0;const{data:T}=await tJ(d.value,P.value);T&&(p.value=T),f.value=!1}function m(){if(!p.value||!C.value||_C(l.value))return 0;const{type:T,value:$}=p.value,R=c.value[l.value].key;return T===1?$:$*C.value[R]/100}const v=W(!1);async function b(){var $;const T=($=x.value)==null?void 0:$.find(R=>R.status===0);if(T){const R=T.trade_no;window.$dialog.confirm({title:r("注意"),type:"info",content:r("你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?"),positiveText:r("确认取消"),negativeText:r("返回我的订单"),confirm(){Nu(R).then(({data:K})=>{K&&w()})},cancel(){Gt.push("/order")}});return}if(o.plan_id&&o.plan_id!=P.value&&(o.expired_at===null||o.expired_at>=Math.floor(Date.now()/1e3))){window.$dialog.confirm({title:r("注意"),type:"info",content:r("请注意,变更订阅会导致当前订阅被覆盖。"),confirm(){w()}});return}w()}async function w(){var R;v.value=!0;const T=c.value[l.value].key,{data:$}=await DS(P.value,T,(R=p.value)==null?void 0:R.code);$&&(window.$message.success(r("订单提交成功,正在跳转支付")),setTimeout(()=>{Gt.push("/order/"+$)},500)),v.value=!1}const C=W(),S=W(!0);async function _(){S.value=!0;const{data:T}=await eJ(P.value);S.value=!1,T?(C.value=T,u()):Gt.push("/plan")}const x=W();async function y(){const{data:T}=await Tm();x.value=T}function k(){_(),y()}const P=W();return hn(()=>{P.value=n.params.plan_id,k()}),(T,$)=>{const R=ml,K=qi,j=dk,D=uk,M=mr,Y=fo,Q=Ui,de=yFe,pe=zt,B=ck,E=ho;return me(),qe(E,null,{default:ce(()=>{var A,G,oe,fe,J,xe,N,be;return[S.value?(me(),qe(K,{key:0,vertical:"",class:"mt-20"},{default:ce(()=>[ie(R,{height:"20px",width:"33%"}),ie(R,{height:"20px",width:"66%"}),ie(R,{height:"20px"})]),_:1})):(me(),ze("div",xFe,[U("div",CFe,[ie(Y,{title:(A=C.value)==null?void 0:A.name,class:"m-auto max-w-100% border-rounded-5"},{default:ce(()=>{var Oe,Le,F;return[we(Fx)(((Oe=C.value)==null?void 0:Oe.content)||"")?(me(),ze("div",wFe,[(me(!0),ze(rt,null,Hn(JSON.parse(((Le=C.value)==null?void 0:Le.content)||""),(O,re)=>(me(),ze("div",{key:re,class:ir(["vertical-center flex items-center",O.support?"":"opacity-30"])},[ie(M,{size:"30",class:"flex items-center text-[--primary-color]"},{default:ce(()=>[O.support?(me(),qe(j,{key:0})):(me(),qe(D,{key:1}))]),_:2},1024),U("div",null,le(O.feature),1)],2))),128))])):(me(),ze("div",{key:1,innerHTML:a(((F=C.value)==null?void 0:F.content)||""),class:"markdown-body"},null,8,_Fe))]}),_:1},8,["title"]),ie(Y,{title:T.$t("付款周期"),class:"mt-20 border-rounded-5",contentStyle:"padding:0"},{default:ce(()=>[(me(!0),ze(rt,null,Hn(c.value,(Oe,Le)=>{var F,O;return me(),ze("div",{key:Oe.key},[U("div",{class:ir(["flex justify-between border-2 border-rounded-5 border-solid p-20 text-16 cursor-pointer",Le===l.value?"border-#0665d0":"border-transparent"]),onClick:re=>l.value=Le},[U("div",null,le(Oe.name),1),U("div",null,le((F=we(t).appConfig)==null?void 0:F.currency_symbol)+" "+le(we(an)((O=C.value)==null?void 0:O[c.value[Le].key])),1)],10,SFe),ie(Q,{class:"m-0!"})])}),128))]),_:1},8,["title"])]),U("div",kFe,[U("div",PFe,[U("div",TFe,[dn(U("input",{placeholder:r("有优惠券?"),"onUpdate:modelValue":$[0]||($[0]=Oe=>d.value=Oe),class:"min-w-0 flex-[1] border-none bg-transparent color-white outline-none"},null,8,RFe),[[mP,d.value]]),ie(pe,{type:"primary","icon-placement":"left",loading:f.value,disabled:f.value,onClick:$[1]||($[1]=Oe=>h())},{icon:ce(()=>[ie(de)]),default:ce(()=>[nt(" "+le(T.$t("验证")),1)]),_:1},8,["loading","disabled"])])]),U("div",EFe,[U("div",$Fe,le(T.$t("订单总额")),1),U("div",AFe,[U("div",IFe,le((G=C.value)==null?void 0:G.name),1),U("div",OFe,le((oe=we(t).appConfig)==null?void 0:oe.currency_symbol)+" "+le(we(an)((fe=C.value)==null?void 0:fe[c.value[l.value].key])),1)]),p.value?(me(),ze("div",MFe,[U("div",zFe,le(T.$t("折扣")),1),U("div",DFe,[U("div",LFe,le((J=p.value)==null?void 0:J.name),1),U("div",FFe,"- "+le(we(an)(m())),1)])])):pt("",!0),U("div",BFe,[U("div",NFe,le(T.$t("总计")),1),U("div",HFe,le((xe=we(t).appConfig)==null?void 0:xe.currency_symbol)+" "+le(we(an)(((N=C.value)==null?void 0:N[c.value[l.value].key])-m()))+" "+le((be=we(t).appConfig)==null?void 0:be.currency),1)]),ie(pe,{type:"primary",class:"w-100% text-white","icon-placement":"left",strong:"",loading:v.value,disabled:v.value,onClick:$[2]||($[2]=Oe=>b())},{icon:ce(()=>[ie(B)]),default:ce(()=>[nt(" "+le(T.$t("下单")),1)]),_:1},8,["loading","disabled"])])])]))]}),_:1})}}}),VFe=Object.freeze(Object.defineProperty({__proto__:null,default:jFe},Symbol.toStringTag,{value:"Module"})),WFe={class:"inline-block",viewBox:"0 0 256 256",width:"1em",height:"1em"},UFe=U("path",{fill:"currentColor",d:"M216 64H56a8 8 0 0 1 0-16h136a8 8 0 0 0 0-16H56a24 24 0 0 0-24 24v128a24 24 0 0 0 24 24h160a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16m-36 80a12 12 0 1 1 12-12a12 12 0 0 1-12 12"},null,-1),qFe=[UFe];function KFe(e,t){return me(),ze("svg",WFe,[...qFe])}const GFe={name:"ph-wallet-fill",render:KFe},YFe={class:"text-50 font-400"},XFe={class:"m-l-20 text-20 text-#6c757d"},ZFe={class:"text-#6c757d"},JFe={class:"mt-10 max-w-500"},QFe={class:"mt-10 max-w-500"},e7e={class:"mt-10 max-w-500"},t7e={class:"mt-10 max-w-500"},n7e={class:"mb-5"},o7e={class:"mt-10 max-w-500"},r7e={class:"mb-5"},i7e={class:"m-0 pb-10 pt-10 text-20"},a7e={class:"mt-20"},s7e=["href"],l7e={class:"mt-20"},c7e={class:"m-0 pb-10 pt-10 text-20"},u7e={class:"mt-20"},d7e={class:"flex justify-end"},f7e=ve({__name:"index",setup(e){const t=Ki(),n=Pn(),o=C=>gn.global.t(C),r=W(""),i=W(""),a=W(""),s=W(!1);async function l(){if(s.value=!0,i.value!==a.value){window.$message.error(o("两次新密码输入不同"));return}const{data:C}=await YZ(r.value,i.value);C===!0&&window.$message.success(o("密码修改成功")),s.value=!1}const c=W(!1),u=W(!1);async function d(C){if(C==="expire"){const{data:S}=await r1({remind_expire:c.value?1:0});S===!0?window.$message.success(o("更新成功")):(window.$message.error(o("更新失败")),c.value=!c.value)}else if(C==="traffic"){const{data:S}=await r1({remind_traffic:u.value?1:0});S===!0?window.$message.success(o("更新成功")):(window.$message.error(o("更新失败")),u.value=!u.value)}}const f=W(),p=W(!1);async function h(){const{data:C}=await cJ();C&&(f.value=C)}function m(C){window.location.href=C}const v=W(!1);async function b(){const{data:C}=await XZ();C&&window.$message.success(o("重置成功"))}async function w(){t.getUserInfo(),c.value=!!t.remind_expire,u.value=!!t.remind_traffic}return hn(()=>{w()}),(C,S)=>{const _=GFe,x=fo,y=lr,k=zt,P=DX,T=fl,$=Ui,R=AX,K=Qr,j=ho;return me(),qe(j,null,{default:ce(()=>{var D,M,Y,Q;return[ie(x,{title:C.$t("我的钱包"),class:"border-rounded-5"},{"header-extra":ce(()=>[ie(_,{class:"text-40 color-gray"})]),default:ce(()=>{var de;return[U("div",null,[U("span",YFe,le(we(an)(we(t).balance)),1),U("span",XFe,le((de=we(n).appConfig)==null?void 0:de.currency),1)]),U("div",ZFe,le(C.$t("账户余额(仅消费)")),1)]}),_:1},8,["title"]),ie(x,{title:C.$t("修改密码"),class:"mt-20 border-rounded-5"},{default:ce(()=>[U("div",JFe,[U("label",null,le(C.$t("旧密码")),1),ie(y,{type:"password",value:r.value,"onUpdate:value":S[0]||(S[0]=de=>r.value=de),placeholder:C.$t("请输入旧密码"),maxlength:32},null,8,["value","placeholder"])]),U("div",QFe,[U("label",null,le(C.$t("新密码")),1),ie(y,{type:"password",value:i.value,"onUpdate:value":S[1]||(S[1]=de=>i.value=de),placeholder:C.$t("请输入新密码"),maxlength:32},null,8,["value","placeholder"])]),U("div",e7e,[U("label",null,le(C.$t("新密码")),1),ie(y,{type:"password",value:a.value,"onUpdate:value":S[2]||(S[2]=de=>a.value=de),placeholder:C.$t("请输入新密码"),maxlength:32},null,8,["value","placeholder"])]),ie(k,{class:"mt-20",type:"primary",onClick:l,loading:s.value,disabled:s.value},{default:ce(()=>[nt(le(C.$t("保存")),1)]),_:1},8,["loading","disabled"])]),_:1},8,["title"]),ie(x,{title:C.$t("通知"),class:"mt-20 border-rounded-5"},{default:ce(()=>[U("div",t7e,[U("div",n7e,le(C.$t("到期邮件提醒")),1),ie(P,{value:c.value,"onUpdate:value":[S[3]||(S[3]=de=>c.value=de),S[4]||(S[4]=de=>d("expire"))]},null,8,["value"])]),U("div",o7e,[U("div",r7e,le(C.$t("流量邮件提醒")),1),ie(P,{value:u.value,"onUpdate:value":[S[5]||(S[5]=de=>u.value=de),S[6]||(S[6]=de=>d("traffic"))]},null,8,["value"])])]),_:1},8,["title"]),(M=(D=we(n))==null?void 0:D.appConfig)!=null&&M.is_telegram?(me(),qe(x,{key:0,title:C.$t("绑定Telegram"),class:"mt-20 border-rounded-5"},{"header-extra":ce(()=>[ie(k,{type:"primary",round:"",disabled:we(t).userInfo.telegram_id,onClick:S[7]||(S[7]=de=>(p.value=!0,h(),we(t).getUserSubscribe()))},{default:ce(()=>[nt(le(we(t).userInfo.telegram_id?C.$t("已绑定"):C.$t("立即开始")),1)]),_:1},8,["disabled"])]),_:1},8,["title"])):pt("",!0),(Q=(Y=we(n))==null?void 0:Y.appConfig)!=null&&Q.telegram_discuss_link?(me(),qe(x,{key:1,title:C.$t("Telegram 讨论组"),class:"mt-20 border-rounded-5"},{"header-extra":ce(()=>[ie(k,{type:"primary",round:"",onClick:S[8]||(S[8]=de=>{var pe,B;return m((B=(pe=we(n))==null?void 0:pe.appConfig)==null?void 0:B.telegram_discuss_link)})},{default:ce(()=>[nt(le(C.$t("立即加入")),1)]),_:1})]),_:1},8,["title"])):pt("",!0),ie(x,{title:C.$t("重置订阅信息"),class:"mt-20 border-rounded-5"},{default:ce(()=>[ie(T,{type:"warning"},{default:ce(()=>[nt(le(C.$t("当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。")),1)]),_:1}),ie(k,{type:"error",size:"small",class:"mt-10",onClick:S[9]||(S[9]=de=>v.value=!0)},{default:ce(()=>[nt(le(C.$t("重置")),1)]),_:1})]),_:1},8,["title"]),ie(K,{title:C.$t("绑定Telegram"),preset:"card",show:p.value,"onUpdate:show":S[12]||(S[12]=de=>p.value=de),class:"mx-10 max-w-100% w-600 md:mx-auto",footerStyle:"padding: 10px 16px",segmented:{content:!0,footer:!0}},{footer:ce(()=>[U("div",d7e,[ie(k,{type:"primary",onClick:S[11]||(S[11]=de=>p.value=!1)},{default:ce(()=>[nt(le(C.$t("我知道了")),1)]),_:1})])]),default:ce(()=>{var de,pe,B;return[f.value&&we(t).subscribe?(me(),ze(rt,{key:0},[U("div",null,[U("h2",i7e,le(C.$t("第一步")),1),ie($,{class:"m-0!"}),U("div",a7e,[nt(le(C.$t("打开Telegram搜索"))+" ",1),U("a",{href:"https://t.me/"+((de=f.value)==null?void 0:de.username)},"@"+le((pe=f.value)==null?void 0:pe.username),9,s7e)])]),U("div",l7e,[U("h2",c7e,le(C.$t("第二步")),1),ie($,{class:"m-0!"}),U("div",u7e,le(C.$t("向机器人发送你的")),1),U("code",{class:"cursor-pointer",onClick:S[10]||(S[10]=E=>{var A;return we(da)("/bind "+((A=we(t).subscribe)==null?void 0:A.subscribe_url))})},"/bind "+le((B=we(t).subscribe)==null?void 0:B.subscribe_url),1)])],64)):(me(),qe(R,{key:1,size:"large"}))]}),_:1},8,["title","show"]),ie(K,{show:v.value,"onUpdate:show":S[13]||(S[13]=de=>v.value=de),preset:"dialog",title:C.$t("确定要重置订阅信息?"),content:C.$t("如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。"),"positive-text":C.$t("确认"),"negative-text":C.$t("取消"),onPositiveClick:b},null,8,["show","title","content","positive-text","negative-text"])]}),_:1})}}}),h7e=Object.freeze(Object.defineProperty({__proto__:null,default:f7e},Symbol.toStringTag,{value:"Module"})),p7e={class:"flex justify-end"},m7e=ve({__name:"index",setup(e){const t=p=>gn.global.t(p),n=[{label:t("低"),value:0},{label:t("中"),value:1},{label:t("高"),value:2}],o=[{title:t("主题"),key:"subject"},{title:t("工单级别"),key:"u",render(p){return n[p.level].label}},{title:t("工单状态"),key:"status",render(p){const h=g("div",{class:["h-6 w-6 rounded-full mr-5",p.status===1?"bg-green-500":p.reply_status===0?"bg-blue-500":"bg-red-500"]}),m=p.status===1?t("已关闭"):p.reply_status===0?t("已回复"):t("待回复");return g("div",{class:"flex items-center"},[h,m])}},{title:t("创建时间"),key:"created_at",render(p){return Ho(p.created_at)}},{title:t("最后回复时间"),key:"updated_at",render(p){return Ho(p.updated_at)}},{title:t("操作"),key:"actions",fixed:"right",render(p){const h=g(zt,{text:!0,type:"primary",onClick:()=>Gt.push(`/ticket/${p.id}`)},{default:()=>t("查看")}),m=g(zt,{text:!0,type:"primary",disabled:p.status===1,onClick:()=>c(p.id)},{default:()=>t("关闭")}),v=g(Ui,{vertical:!0});return g("div",[h,v,m])}}],r=W(!1),i=W(""),a=W(),s=W("");async function l(){const{data:p}=await oJ(i.value,a.value,s.value);p===!0&&(window.$message.success(t("创建成功")),f(),r.value=!1)}async function c(p){const{data:h}=await rJ(p);h&&(window.$message.success(t("关闭成功")),f())}const u=W([]);async function d(){const{data:p}=await nJ();u.value=p}function f(){d()}return hn(()=>{f()}),(p,h)=>{const m=lr,v=Iu,b=qi,w=fo,C=Qr,S=Du,_=ho;return me(),qe(_,null,{default:ce(()=>[ie(C,{show:r.value,"onUpdate:show":h[6]||(h[6]=x=>r.value=x)},{default:ce(()=>[ie(w,{title:p.$t("新的工单"),class:"mx-10 max-w-100% w-600 md:mx-auto",segmented:{content:!0,footer:!0},closable:"",onClose:h[5]||(h[5]=x=>r.value=!1)},{footer:ce(()=>[U("div",p7e,[ie(b,null,{default:ce(()=>[ie(we(zt),{onClick:h[3]||(h[3]=x=>r.value=!1)},{default:ce(()=>[nt(le(p.$t("取消")),1)]),_:1}),ie(we(zt),{type:"primary",onClick:h[4]||(h[4]=x=>l())},{default:ce(()=>[nt(le(p.$t("确认")),1)]),_:1})]),_:1})])]),default:ce(()=>[U("div",null,[U("label",null,le(p.$t("主题")),1),ie(m,{value:i.value,"onUpdate:value":h[0]||(h[0]=x=>i.value=x),class:"mt-5",placeholder:p.$t("请输入工单主题")},null,8,["value","placeholder"])]),U("div",null,[U("label",null,le(p.$t("工单级别")),1),ie(v,{value:a.value,"onUpdate:value":h[1]||(h[1]=x=>a.value=x),options:n,placeholder:p.$t("请选项工单等级"),class:"mt-5"},null,8,["value","placeholder"])]),U("div",null,[U("label",null,le(p.$t("消息")),1),ie(m,{value:s.value,"onUpdate:value":h[2]||(h[2]=x=>s.value=x),type:"textarea",placeholder:p.$t("请描述你遇到的问题"),round:"",class:"mt-5"},null,8,["value","placeholder"])])]),_:1},8,["title"])]),_:1},8,["show"]),ie(w,{class:"border-rounded-5",title:p.$t("工单历史")},{"header-extra":ce(()=>[ie(we(zt),{type:"primary",round:"",onClick:h[7]||(h[7]=x=>r.value=!0)},{default:ce(()=>[nt(le(p.$t("新的工单")),1)]),_:1})]),default:ce(()=>[ie(S,{columns:o,data:u.value,"scroll-x":800},null,8,["data"])]),_:1},8,["title"])]),_:1})}}}),g7e=Object.freeze(Object.defineProperty({__proto__:null,default:m7e},Symbol.toStringTag,{value:"Module"})),v7e={class:"relative",style:{height:"calc(100% - 70px)"}},b7e={class:"mb-8 mt-8 text-14 text-gray"},y7e={class:"mb-8 inline-block border-rounded-5 bg-#f8f9fa pb-8 pl-16 pr-16 pt-8"},x7e=ve({__name:"detail",setup(e){const t=Aa(),n=p=>gn.global.t(p),o=W("");async function r(){const{data:p}=await aJ(i.value,o.value);p===!0&&(window.$message.success(n("回复成功")),o.value="",f())}const i=W(),a=W();async function s(){const{data:p}=await iJ(i.value);p&&(a.value=p)}const l=W(null),c=W(null),u=async()=>{const p=l.value,h=c.value;p&&h&&p.scrollBy({top:h.scrollHeight,behavior:"auto"})},d=W();async function f(){await s(),await Ht(),u(),d.value=setInterval(s,2e3)}return hn(()=>{i.value=t.params.ticket_id,f()}),(p,h)=>{const m=wX,v=lr,b=zt,w=rm,C=fo,S=ho;return me(),qe(S,null,{default:ce(()=>{var _;return[ie(C,{title:(_=a.value)==null?void 0:_.subject,class:"h-full overflow-hidden"},{default:ce(()=>[U("div",v7e,[ie(m,{class:"absolute right-0 h-full",ref_key:"scrollbarRef",ref:l},{default:ce(()=>{var x;return[U("div",{ref_key:"scrollContainerRef",ref:c},[(me(!0),ze(rt,null,Hn((x=a.value)==null?void 0:x.message,y=>(me(),ze("div",{key:y.id,class:ir([y.is_me?"text-right":"text-left"])},[U("div",b7e,le(we(Ho)(y.created_at)),1),U("div",y7e,le(y.message),1)],2))),128))],512)]}),_:1},512)]),ie(w,{size:"large",class:"mt-30"},{default:ce(()=>[ie(v,{type:"text",size:"large",placeholder:p.$t("输入内容回复工单"),autofocus:!0,value:o.value,"onUpdate:value":h[0]||(h[0]=x=>o.value=x),onKeyup:h[1]||(h[1]=gs(x=>r(),["enter"]))},null,8,["placeholder","value"]),ie(b,{type:"primary",size:"large",onClick:h[2]||(h[2]=x=>r())},{default:ce(()=>[nt(le(p.$t("回复")),1)]),_:1})]),_:1})]),_:1},8,["title"])]}),_:1})}}}),C7e=Object.freeze(Object.defineProperty({__proto__:null,default:x7e},Symbol.toStringTag,{value:"Module"})),w7e=ve({__name:"index",setup(e){const t=i=>gn.global.t(i),n=[{title:t("记录时间"),key:"record_at",render(i){return Cp(i.record_at)}},{title:t("实际上行"),key:"u",render(i){return xs(i.u)}},{title:t("实际下行"),key:"d",render(i){return xs(i.d)}},{title:t("扣费倍率"),key:"server_rate",render(i){return g(_i,{size:"small",round:!0},{default:()=>i.server_rate+" x"})}},{title(){const i=g(Mu,{placement:"bottom",trigger:"hover"},{trigger:()=>g(Zs("mdi-help-circle-outline",{size:16})),default:()=>t("公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量")});return g("div",{class:"flex items-center"},[t("总计"),i])},key:"total",fixed:"right",render(i){return xs((i.d+i.u)*parseFloat(i.server_rate))}}],o=W([]);async function r(){const{data:i}=await ZZ();o.value=i}return hn(()=>{r()}),(i,a)=>{const s=fl,l=Du,c=fo,u=ho;return me(),qe(u,null,{default:ce(()=>[ie(c,{class:"border-rounded-5"},{default:ce(()=>[ie(s,{type:"info",bordered:!1,class:"mb-20"},{default:ce(()=>[nt(le(i.$t("流量明细仅保留近月数据以供查询。")),1)]),_:1}),ie(l,{columns:n,data:o.value,"scroll-x":600},null,8,["data"])]),_:1})]),_:1})}}}),_7e=Object.freeze(Object.defineProperty({__proto__:null,default:w7e},Symbol.toStringTag,{value:"Module"})),S7e={name:"NOTFOUND"},k7e={"h-full":"",flex:""};function P7e(e,t,n,o,r,i){const a=zt,s=yX;return me(),ze("div",k7e,[ie(s,{"m-auto":"",status:"404",title:"404 Not Found",description:""},{footer:ce(()=>[ie(a,null,{default:ce(()=>[nt("Find some fun")]),_:1})]),_:1})])}const T7e=ju(S7e,[["render",P7e]]),R7e=Object.freeze(Object.defineProperty({__proto__:null,default:T7e},Symbol.toStringTag,{value:"Module"})),E7e={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},$7e=U("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[U("path",{d:"M2 12c0 5.523 4.477 10 10 10s10-4.477 10-10S17.523 2 12 2S2 6.477 2 12"}),U("path",{d:"M13 2.05S16 6 16 12s-3 9.95-3 9.95m-2 0S8 18 8 12s3-9.95 3-9.95M2.63 15.5h18.74m-18.74-7h18.74"})],-1),A7e=[$7e];function I7e(e,t){return me(),ze("svg",E7e,[...A7e])}const O7e={name:"iconoir-language",render:I7e},M7e={class:"inline-block",viewBox:"0 0 32 32",width:"1em",height:"1em"},z7e=U("path",{fill:"currentColor",d:"M26 30H14a2 2 0 0 1-2-2v-3h2v3h12V4H14v3h-2V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v24a2 2 0 0 1-2 2"},null,-1),D7e=U("path",{fill:"currentColor",d:"M14.59 20.59L18.17 17H4v-2h14.17l-3.58-3.59L16 10l6 6l-6 6z"},null,-1),L7e=[z7e,D7e];function F7e(e,t){return me(),ze("svg",M7e,[...L7e])}const B7e={name:"carbon-login",render:F7e},N7e=ve({__name:"vueRecaptcha",props:{sitekey:{type:String,required:!0},size:{type:String,required:!1,default:"normal"},theme:{type:String,required:!1,default:"light"},hl:{type:String,required:!1},loadingTimeout:{type:Number,required:!1,default:0}},emits:{verify:e=>e!=null&&e!="",error:e=>e,expire:null,fail:null},setup(e,{expose:t,emit:n}){const o=e,r=W(null);let i=null;t({execute:function(){window.grecaptcha.execute(i)},reset:function(){window.grecaptcha.reset(i)}});function a(){i=window.grecaptcha.render(r.value,{sitekey:o.sitekey,theme:o.theme,size:o.size,callback:s=>n("verify",s),"expired-callback":()=>n("expire"),"error-callback":()=>n("fail")})}return jt(()=>{window.grecaptcha==null?new Promise((s,l)=>{let c,u=!1;window.recaptchaReady=function(){u||(u=!0,clearTimeout(c),s())};const d="recaptcha-script",f=m=>()=>{var v;u||(u=!0,clearTimeout(c),(v=document.getElementById(d))==null||v.remove(),l(m))};o.loadingTimeout>0&&(c=setTimeout(f("timeout"),o.loadingTimeout));const p=window.document,h=p.createElement("script");h.id=d,h.onerror=f("error"),h.onabort=f("aborted"),h.setAttribute("src",`https://www.recaptcha.net/recaptcha/api.js?onload=recaptchaReady&render=explicit&hl=${o.hl}&_=${+new Date}`),p.head.appendChild(h)}).then(()=>{a()}).catch(s=>{n("error",s)}):a()}),(s,l)=>(me(),ze("div",{ref_key:"recaptchaDiv",ref:r},null,512))}}),H7e=e=>wt({url:"/passport/auth/login",method:"post",data:e}),j7e=e=>wt.get("/passport/auth/token2Login?verify="+encodeURIComponent(e.verify)+"&redirect="+encodeURIComponent(e.redirect)),V7e=e=>wt({url:"/passport/auth/register",method:"post",data:e});function W7e(){return wt.get("/guest/comm/config")}function U7e(e,t){return wt.post("/passport/comm/sendEmailVerify",{email:e,recaptcha_data:t})}function q7e(e,t,n){return wt.post("/passport/auth/forget",{email:e,password:t,email_code:n})}const K7e={class:"p-24"},G7e={key:0,class:"text-center"},Y7e=["src"],X7e={key:1,class:"m-1 text-center text-36 font-normal",color:"#343a40"},Z7e={class:"text-muted mb-3 text-center text-14 font-400",color:"#6c757d"},J7e={class:"mt-20 w-full"},Q7e={class:"mt-20 w-full"},eBe={class:"mt-20 w-full"},tBe={class:"mt-20 w-full"},nBe={class:"mt-20 w-full"},oBe={class:"mt-20 w-full"},rBe=["innerHTML"],iBe={class:"mt-20 w-full"},aBe={class:"flex justify-between bg-[--n-color-embedded] p-x-24 p-y-16 text-#6c757d"},sBe=ve({__name:"login",setup(e){const t=Pn(),n=ux(),o=Aa(),r=P=>gn.global.t(P),i=Zn({email:"",email_code:"",password:"",confirm_password:"",confirm:"",invite_code:"",lock_invite_code:!1,suffix:""}),a=W(!0),s=L(()=>{var T;const P=(T=C.value)==null?void 0:T.tos_url;return"
"+gn.global.tc('我已阅读并同意 服务条款',{url:P})+"
"}),l=W(),c=W(),u=W(!1),d=W();function f(P){l.value=P,setTimeout(()=>{u.value=!1,c.value&&c.value.reset,d.value==="register"?(x(),d.value=""):d.value==="sendEmailVerify"&&(w(),d.value="")},500)}function p(){c.value&&c.value.reset()}function h(){c.value&&c.value.reset()}function m(){c.value&&c.value.reset&&c.value.reset()}const v=W(!1),b=W(0);async function w(){var $,R;if(i.email===""){window.$message.error(r("请输入邮箱地址"));return}if(v.value=!0,b.value>0){window.$message.warning(gn.global.tc("{second}秒后可重新发送",{second:b.value}));return}if(($=C.value)!=null&&$.is_recaptcha&&((R=C.value)!=null&&R.recaptcha_site_key)&&!l.value){u.value=!0,v.value=!1,d.value="sendEmailVerify";return}const P=i.suffix?`${i.email}${i.suffix}`:i.email,{data:T}=await U7e(P,l.value);if(T===!0){window.$message.success(r("发送成功")),b.value=60;const K=setInterval(()=>{b.value--,b.value===0&&clearInterval(K)},1e3);l.value=""}v.value=!1}const C=W();async function S(){var T,$;const{data:P}=await W7e();P&&(C.value=P,Fv(P.email_whitelist_suffix)&&(i.suffix=(T=P.email_whitelist_suffix)!=null&&T[0]?"@"+(($=P.email_whitelist_suffix)==null?void 0:$[0]):""),P.tos_url&&(a.value=!1))}const _=W(!1);async function x(){var K,j,D;const{email:P,password:T,confirm_password:$,email_code:R}=i;switch(y.value){case"login":{if(!P||!T){window.$message.warning(r("请输入用户名和密码"));return}_.value=!0;const{data:M}=await H7e({email:P,password:T.toString()});_.value=!1,M!=null&&M.auth_data&&(window.$message.success(r("登录成功")),Qd(M==null?void 0:M.auth_data),n.push(((K=o.query.redirect)==null?void 0:K.toString())??"/dashboard"));break}case"register":{if(i.email===""){window.$message.error(r("请输入邮箱地址"));return}const{password:M,confirm_password:Y,invite_code:Q,email_code:de}=i,pe=i.suffix?`${i.email}${i.suffix}`:i.email;if(!pe||!M){window.$message.warning(r("请输入账号密码"));return}if(M!==Y){window.$message.warning(r("请确保两次密码输入一致"));return}if((j=C.value)!=null&&j.is_recaptcha&&((D=C.value)!=null&&D.recaptcha_site_key)&&!l.value){l.value||(u.value=!0),d.value="register";return}_.value=!0;const{data:B}=await V7e({email:pe,password:M,invite_code:Q,email_code:de,recaptcha_data:l.value});_.value=!1,B!=null&&B.auth_data&&(window.$message.success(r("注册成功")),Qd(B.auth_data),n.push("/")),l.value="";break}case"forgetpassword":{if(P===""){window.$message.error(r("请输入邮箱地址"));return}if(!P||!T){window.$message.warning(r("请输入账号密码"));return}if(T!==$){window.$message.warning(r("请确保两次密码输入一致"));return}_.value=!0;const M=i.suffix?`${i.email}${i.suffix}`:i.email,{data:Y}=await q7e(M,T,R);_.value=!1,Y&&(window.$message.success(r("重置密码成功,正在返回登录")),setTimeout(()=>{n.push("/login")},500))}}}const y=L(()=>{const P=o.path;return P.includes("login")?"login":P.includes("register")?"register":P.includes("forgetpassword")?"forgetpassword":""}),k=async()=>{["register","forgetpassword"].includes(y.value)&&S(),o.query.code&&(i.lock_invite_code=!0,i.invite_code=o.query.code);const{verify:P,redirect:T}=o.query;if(P&&T){const{data:$}=await j7e({verify:P,redirect:T});$!=null&&$.auth_data&&(window.$message.success(r("登录成功")),Qd($==null?void 0:$.auth_data),n.push(T.toString()))}};return Xt(()=>{k()}),(P,T)=>{const $=Qr,R=lr,K=Iu,j=rm,D=zt,M=hl,Y=B7e,Q=Gc("router-link"),de=Ui,pe=O7e,B=cm,E=fo;return me(),ze(rt,null,[ie($,{show:u.value,"onUpdate:show":T[0]||(T[0]=A=>u.value=A)},{default:ce(()=>{var A,G,oe;return[(A=C.value)!=null&&A.is_recaptcha&&((G=C.value)!=null&&G.recaptcha_site_key)?(me(),qe(we(N7e),{key:0,sitekey:(oe=C.value)==null?void 0:oe.recaptcha_site_key,size:"normal",theme:"light","loading-timeout":3e4,onVerify:f,onExpire:p,onFail:h,onError:m,ref_key:"vueRecaptchaRef",ref:c},null,8,["sitekey"])):pt("",!0)]}),_:1},8,["show"]),U("div",{class:"wh-full flex items-center justify-center",style:Fr(we(t).background_url&&`background:url(${we(t).background_url}) no-repeat center center / cover;`)},[ie(E,{class:"m-auto max-w-450 rounded-5 bg-[--n-color] shadow-black","content-style":"padding: 0;"},{default:ce(()=>{var A,G,oe;return[U("div",K7e,[we(t).logo?(me(),ze("div",G7e,[U("img",{src:we(t).logo,class:"mb-1em max-w-100%"},null,8,Y7e)])):(me(),ze("h1",X7e,le(we(t).title),1)),U("h5",Z7e,le(we(t).description||" "),1),U("div",J7e,[ie(j,null,{default:ce(()=>{var fe,J,xe;return[ie(R,{value:i.email,"onUpdate:value":T[1]||(T[1]=N=>i.email=N),autofocus:"",placeholder:P.$t("邮箱"),maxlength:40},null,8,["value","placeholder"]),["register","forgetpassword"].includes(y.value)&&we(Fv)((fe=C.value)==null?void 0:fe.email_whitelist_suffix)?(me(),qe(K,{key:0,value:i.suffix,"onUpdate:value":T[2]||(T[2]=N=>i.suffix=N),options:((xe=(J=C.value)==null?void 0:J.email_whitelist_suffix)==null?void 0:xe.map(N=>({value:`@${N}`,label:`@${N}`})))||[],class:"flex-[1]","consistent-menu-width":!1},null,8,["value","options"])):pt("",!0)]}),_:1})]),dn(U("div",Q7e,[ie(j,{class:"flex"},{default:ce(()=>[ie(R,{value:i.email_code,"onUpdate:value":T[3]||(T[3]=fe=>i.email_code=fe),placeholder:P.$t("邮箱验证码")},null,8,["value","placeholder"]),ie(D,{type:"primary",onClick:T[4]||(T[4]=fe=>w()),loading:v.value,disabled:v.value||b.value>0},{default:ce(()=>[nt(le(b.value||P.$t("发送")),1)]),_:1},8,["loading","disabled"])]),_:1})],512),[[Mn,["register"].includes(y.value)&&((A=C.value)==null?void 0:A.is_email_verify)||["forgetpassword"].includes(y.value)]]),U("div",eBe,[ie(R,{value:i.password,"onUpdate:value":T[5]||(T[5]=fe=>i.password=fe),class:"",type:"password","show-password-on":"click",placeholder:P.$t("密码"),maxlength:40,onKeydown:T[6]||(T[6]=gs(fe=>["login"].includes(y.value)&&x(),["enter"]))},null,8,["value","placeholder"])]),dn(U("div",tBe,[ie(R,{value:i.confirm_password,"onUpdate:value":T[7]||(T[7]=fe=>i.confirm_password=fe),type:"password","show-password-on":"click",placeholder:P.$t("再次输入密码"),maxlength:40,onKeydown:T[8]||(T[8]=gs(fe=>["forgetpassword"].includes(y.value)&&x(),["enter"]))},null,8,["value","placeholder"])],512),[[Mn,["register","forgetpassword"].includes(y.value)]]),dn(U("div",nBe,[ie(R,{value:i.invite_code,"onUpdate:value":T[9]||(T[9]=fe=>i.invite_code=fe),placeholder:[P.$t("邀请码"),(G=C.value)!=null&&G.is_invite_force?`(${P.$t("必填")})`:`(${P.$t("选填")})`],maxlength:20,disabled:i.lock_invite_code,onKeydown:T[10]||(T[10]=gs(fe=>x(),["enter"]))},null,8,["value","placeholder","disabled"])],512),[[Mn,["register"].includes(y.value)]]),dn(U("div",oBe,[ie(M,{checked:a.value,"onUpdate:checked":T[11]||(T[11]=fe=>a.value=fe),class:"text-bold text-16"},{default:ce(()=>[U("div",{innerHTML:s.value},null,8,rBe)]),_:1},8,["checked"])],512),[[Mn,["register"].includes(y.value)&&((oe=C.value)==null?void 0:oe.tos_url)]]),U("div",iBe,[ie(D,{class:"h-36 w-full rounded-5 text-16",type:"primary","icon-placement":"left",onClick:T[12]||(T[12]=fe=>x()),loading:_.value,disabled:_.value||!a.value&&["register"].includes(y.value)},{icon:ce(()=>[ie(Y)]),default:ce(()=>[nt(" "+le(["login"].includes(y.value)?P.$t("登入"):["register"].includes(y.value)?P.$t("注册"):P.$t("重置密码")),1)]),_:1},8,["loading","disabled"])])]),U("div",aBe,[U("div",null,[["login"].includes(y.value)?(me(),ze(rt,{key:0},[ie(Q,{to:"/register",class:"text-#6c757d"},{default:ce(()=>[nt(le(P.$t("注册")),1)]),_:1}),ie(de,{vertical:""}),ie(Q,{to:"/forgetpassword",class:"text-#6c757d"},{default:ce(()=>[nt(le(P.$t("忘记密码")),1)]),_:1})],64)):(me(),qe(Q,{key:1,to:"/login",class:"text-#6c757d"},{default:ce(()=>[nt(le(P.$t("返回登入")),1)]),_:1}))]),U("div",null,[ie(B,{value:we(t).lang,"onUpdate:value":T[13]||(T[13]=fe=>we(t).lang=fe),options:Object.entries(we(Gf)).map(([fe,J])=>({label:J,value:fe})),trigger:"click","on-update:value":we(t).switchLang},{default:ce(()=>[ie(D,{text:"","icon-placement":"left"},{icon:ce(()=>[ie(pe)]),default:ce(()=>[nt(" "+le(we(Gf)[we(t).lang]),1)]),_:1})]),_:1},8,["value","options","on-update:value"])])])]}),_:1})],4)],64)}}}),mf=Object.freeze(Object.defineProperty({__proto__:null,default:sBe},Symbol.toStringTag,{value:"Module"})),lBe={请求失败:"Request failed",月付:"Monthly",季付:"Quarterly",半年付:"Semi-Annually",年付:"Annually",两年付:"Biennially",三年付:"Triennially",一次性:"One Time",重置流量包:"Data Reset Package",待支付:"Pending Payment",开通中:"Pending Active",已取消:"Canceled",已完成:"Completed",已折抵:"Converted",待确认:"Pending",发放中:"Confirming",已发放:"Completed",无效:"Invalid",个人中心:"User Center",登出:"Logout",搜索:"Search",仪表盘:"Dashboard",订阅:"Subscription",我的订阅:"My Subscription",购买订阅:"Purchase Subscription",财务:"Billing",我的订单:"My Orders",我的邀请:"My Invitation",用户:"Account",我的工单:"My Tickets",流量明细:"Transfer Data Details",使用文档:"Knowledge Base",绑定Telegram获取更多服务:"Not link to Telegram yet",点击这里进行绑定:"Please click here to link to Telegram",公告:"Announcements",总览:"Overview",该订阅长期有效:"The subscription is valid for an unlimited time",已过期:"Expired","已用 {used} / 总计 {total}":"{used} Used / Total {total}",查看订阅:"View Subscription",邮箱:"Email",邮箱验证码:"Email verification code",发送:"Send",重置密码:"Reset Password",返回登入:"Back to Login",邀请码:"Invitation Code",复制链接:"Copy Link",完成时间:"Complete Time",佣金:"Commission",已注册用户数:"Registered users",佣金比例:"Commission rate",确认中的佣金:"Pending commission","佣金将会在确认后会到达你的佣金账户。":"The commission will reach your commission account after review.",邀请码管理:"Invitation Code Management",生成邀请码:"Generate invitation code",佣金发放记录:"Commission Income Record",复制成功:"Copied successfully",密码:"Password",登入:"Login",注册:"Register",忘记密码:"Forgot password","# 订单号":"Order Number #",周期:"Type / Cycle",订单金额:"Order Amount",订单状态:"Order Status",创建时间:"Creation Time",操作:"Action",查看详情:"View Details",请选择支付方式:"Please select a payment method",请检查信用卡支付信息:"Please check credit card payment information",订单详情:"Order Details",折扣:"Discount",折抵:"Converted",退款:"Refund",支付方式:"Payment Method",填写信用卡支付信息:"Please fill in credit card payment information","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"We will not collect your credit card information, credit card number and other details only use to verify the current transaction.",订单总额:"Order Total",总计:"Total",结账:"Checkout",等待支付中:"Waiting for payment","订单系统正在进行处理,请稍等1-3分钟。":"Order system is being processed, please wait 1 to 3 minutes.","订单由于超时支付已被取消。":"The order has been canceled due to overtime payment.","订单已支付并开通。":"The order has been paid and the service is activated.",选择订阅:"Select a Subscription",立即订阅:"Subscribe now",配置订阅:"Configure Subscription",付款周期:"Payment Cycle","有优惠券?":"Have coupons?",验证:"Verify",下单:"Order","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"Attention please, change subscription will overwrite your current subscription.",该订阅无法续费:"This subscription cannot be renewed",选择其他订阅:"Choose another subscription",我的钱包:"My Wallet","账户余额(仅消费)":"Account Balance (For billing only)","推广佣金(可提现)":"Invitation Commission (Can be used to withdraw)",钱包组成部分:"Wallet Details",划转:"Transfer",推广佣金提现:"Invitation Commission Withdrawal",修改密码:"Change Password",保存:"Save",旧密码:"Old Password",新密码:"New Password",请输入旧密码:"Please enter the old password",请输入新密码:"Please enter the new password",通知:"Notification",到期邮件提醒:"Subscription expiration email reminder",流量邮件提醒:"Insufficient transfer data email alert",绑定Telegram:"Link to Telegram",立即开始:"Start Now",重置订阅信息:"Reset Subscription",重置:"Reset","确定要重置订阅信息?":"Do you want to reset subscription?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"In case of your account information or subscription leak, this option is for reset. After resetting your UUID and subscription will change, you need to re-subscribe.",重置成功:"Reset successfully",两次新密码输入不同:"Two new passwords entered do not match",两次密码输入不同:"The passwords entered do not match","邀请码(选填)":"Invitation code (Optional)",'我已阅读并同意 服务条款':'I have read and agree to the terms of service',请同意服务条款:"Please agree to the terms of service",名称:"Name",标签:"Tags",状态:"Status",节点五分钟内节点在线情况:"Access Point online status in the last 5 minutes",倍率:"Rate",使用的流量将乘以倍率进行扣除:"The transfer data usage will be multiplied by the transfer data rate deducted.",更多操作:"Action","没有可用节点,如果您未订阅或已过期请":"No access points are available. If you have not subscribed or the subscription has expired, please","确定重置当前已用流量?":"Are you sure to reset your current data usage?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":'Click "Confirm" and you will be redirected to the payment page. The system will empty your current month"s usage after your purchase.',确定:"Confirm",低:"Low",中:"Medium",高:"High",主题:"Subject",工单级别:"Ticket Priority",工单状态:"Ticket Status",最后回复:"Last Reply",已关闭:"Closed",待回复:"Pending Reply",已回复:"Replied",查看:"View",关闭:"Cancel",新的工单:"My Tickets",确认:"Confirm",请输入工单主题:"Please enter a subject",工单等级:"Ticket Priority",请选择工单等级:"Please select the ticket priority",消息:"Message",请描述你遇到的问题:"Please describe the problem you encountered",记录时间:"Record Time",实际上行:"Actual Upload",实际下行:"Actual Download",合计:"Total","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"Formula: (Actual Upload + Actual Download) x Deduction Rate = Deduct Transfer Data",复制订阅地址:"Copy Subscription URL",导入到:"Export to",一键订阅:"Quick Subscription",复制订阅:"Copy Subscription URL",推广佣金划转至余额:"Transfer Invitation Commission to Account Balance","划转后的余额仅用于{title}消费使用":"The transferred balance will be used for {title} payments only",当前推广佣金余额:"Current invitation balance",划转金额:"Transfer amount",请输入需要划转到余额的金额:"Please enter the amount to be transferred to the balance","输入内容回复工单...":"Please enter to reply to the ticket...",申请提现:"Apply For Withdrawal",取消:"Cancel",提现方式:"Withdrawal Method",请选择提现方式:"Please select a withdrawal method",提现账号:"Withdrawal Account",请输入提现账号:"Please enter the withdrawal account",我知道了:"I got it",第一步:"First Step",第二步:"Second Step",打开Telegram搜索:"Open Telegram and Search ",向机器人发送你的:"Send the following command to bot","最后更新: {date}":"Last Updated: {date}",还有没支付的订单:"There are still unpaid orders",立即支付:"Pay Now",条工单正在处理中:"tickets are in process",立即查看:"View Now",节点状态:"Access Point Status",商品信息:"Product Information",产品名称:"Product Name","类型/周期":"Type / Cycle",产品流量:"Product Transfer Data",订单信息:"Order Details",关闭订单:"Close order",订单号:"Order Number",优惠金额:"Discount amount",旧订阅折抵金额:"Old subscription converted amount",退款金额:"Refunded amount",余额支付:"Balance payment",工单历史:"Ticket History","已用流量将在 {reset_day} 日后重置":"Used data will reset after {reset_day} days",已用流量已在今日重置:"Data usage has been reset today",重置已用流量:"Reset used data",查看节点状态:"View Access Point status","当前已使用流量达{rate}%":"Currently used data up to {rate}%",节点名称:"Access Point Name","于 {date} 到期,距离到期还有 {day} 天。":"Will expire on {date}, {day} days before expiration.","Telegram 讨论组":"Telegram Discussion Group",立即加入:"Join Now","该订阅无法续费,仅允许新用户购买":"This subscription cannot be renewed and is only available to new users.",重置当月流量:"Reset current month usage","流量明细仅保留近月数据以供查询。":'Only keep the most recent month"s usage for checking the transfer data details.',扣费倍率:"Fee deduction rate",支付手续费:"Payment fee",续费订阅:"Renewal Subscription",学习如何使用:"Learn how to use",快速将节点导入对应客户端进行使用:"Quickly export subscription into the client app",对您当前的订阅进行续费:"Renew your current subscription",对您当前的订阅进行购买:"Purchase your current subscription",捷径:"Shortcut","不会使用,查看使用教程":"I am a newbie, view the tutorial",使用支持扫码的客户端进行订阅:"Use a client app that supports scanning QR code to subscribe",扫描二维码订阅:"Scan QR code to subscribe",续费:"Renewal",购买:"Purchase",查看教程:"View Tutorial",注意:"Attention","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"You still have an unpaid order. You need to cancel it before purchasing. Are you sure you want to cancel the previous order?",确定取消:"Confirm Cancel",返回我的订单:"Back to My Order","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"If you have already paid, canceling the order may cause the payment to fail. Are you sure you want to cancel the order?",选择最适合你的计划:"Choose the right plan for you",全部:"All",按周期:"By Cycle",遇到问题:"I have a problem",遇到问题可以通过工单与我们沟通:"If you have any problems, you can contact us via ticket",按流量:"Pay As You Go",搜索文档:"Search Documents",技术支持:"Technical Support",当前剩余佣金:"Current commission remaining",三级分销比例:"Three-level Distribution Ratio",累计获得佣金:"Cumulative commission earned","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"The users you invite to re-invite users will be divided according to the order amount multiplied by the distribution level.",发放时间:"Commission Time","{number} 人":"{number} people","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"If your subscription address or account is leaked and misused by others, you can reset your subscription information here to prevent unnecessary losses.",再次输入密码:"Enter password again",返回登陆:"Return to Login",选填:"Optional",必填:"Required",最后回复时间:"Last Reply Time",请选项工单等级:"Please Select Ticket Priority",回复:"Reply",输入内容回复工单:"Enter Content to Reply to Ticket",已生成:"Generated",选择协议:"Select Protocol",自动:"Automatic",流量重置包:"Data Reset Package",复制失败:"Copy failed",提示:"Notification","确认退出?":"Confirm Logout?",已退出登录:"Logged out successfully",请输入邮箱地址:"Enter email address","{second}秒后可重新发送":"Resend available in {second} seconds",发送成功:"Sent successfully",请输入账号密码:"Enter account and password",请确保两次密码输入一致:"Ensure password entries match",注册成功:"Registration successful","重置密码成功,正在返回登录":"Password reset successful, returning to login",确认取消:"Confirm Cancel","请注意,变更订阅会导致当前订阅被覆盖。":"Please note that changing the subscription will overwrite the current subscription.","订单提交成功,正在跳转支付":"Order submitted successfully, redirecting to payment.",回复成功:"Reply Successful",工单详情:"Ticket Details",登录成功:"Login Successful","确定退出?":"Are you sure you want to exit?",支付成功:"Payment Successful",正在前往收银台:"Proceeding to Checkout",请输入正确的划转金额:"Please enter the correct transfer amount",划转成功:"Transfer Successful",提现方式不能为空:"Withdrawal method cannot be empty",提现账号不能为空:"Withdrawal account cannot be empty",已绑定:"Already Bound",创建成功:"Creation successful",关闭成功:"Shutdown successful"},fk=Object.freeze(Object.defineProperty({__proto__:null,default:lBe},Symbol.toStringTag,{value:"Module"})),cBe={请求失败:"درخواست انجام نشد",月付:"ماهانه",季付:"سه ماهه",半年付:"نیم سال",年付:"سالانه",两年付:"دو سال",三年付:"سه سال",一次性:"یک‌باره",重置流量包:"بازنشانی بسته های داده",待支付:"در انتظار پرداخت",开通中:"ایجاید",已取消:"صرف نظر شد",已完成:"به پایان رسید",已折抵:"تخفیف داده شده است",待确认:"در حال بررسی",发放中:"صدور",已发放:"صادر شده",无效:"نامعتبر",个人中心:"پروفایل",登出:"خروج",搜索:"جستجو",仪表盘:"داشبرد",订阅:"اشتراک",我的订阅:"اشتراک من",购买订阅:"خرید اشتراک",财务:"امور مالی",我的订单:"درخواست های من",我的邀请:"دعوتنامه های من",用户:"کاربر",我的工单:"درخواست های من",流量明细:"جزئیات\\nعبورو مرور در\\nمحیط آموزشی",使用文档:"کار با مستندات",绑定Telegram获取更多服务:"برای خدمات بیشتر تلگرام را ببندید",点击这里进行绑定:"برای اتصال اینجا را کلیک کنید",公告:"هشدارها",总览:"بررسی کلی",该订阅长期有效:"این اشتراک برای مدت طولانی معتبر است",已过期:"منقضی شده","已用 {used} / 总计 {total}":"استفاده شده {used} / مجموع {total}",查看订阅:"مشاهده عضویت ها",邮箱:"ایمیل",邮箱验证码:"کد تایید ایمیل شما",发送:"ارسال",重置密码:"بازنشانی رمز عبور",返回登入:"بازگشت به صفحه ورود",邀请码:"کد دعوت شما",复制链接:"کپی‌کردن لینک",完成时间:"زمان پایان",佣金:"کمیسیون",已注册用户数:"تعداد کاربران ثبت نام شده",佣金比例:"نرخ کمیسیون",确认中的佣金:"کمیسیون تایید شده","佣金将会在确认后会到达你的佣金账户。":"کمیسیون پس از تایید به حساب کمیسیون شما واریز خواهد شد",邀请码管理:"مدیریت کد دعوت",生成邀请码:"یک کد دعوت ایجاد کنید",佣金发放记录:"سابقه پرداخت کمیسیون",复制成功:"آدرس URL با موفقیت کپی شد",密码:"رمز عبور",登入:"ورود",注册:"ثبت‌نام",忘记密码:"رمز عبور فراموش شده","# 订单号":"# شماره سفارش",周期:"چرخه",订单金额:"مقدار سفارش",订单状态:"وضعیت سفارش",创建时间:"ساختن",操作:"عملیات",查看详情:"مشاهده جزئیات",请选择支付方式:"لطفا نوع پرداخت را انتخاب کنید",请检查信用卡支付信息:"لطفا اطلاعات پرداخت کارت اعتباری خود را بررسی کنید",订单详情:"اطلاعات سفارش",折扣:"ذخیره",折抵:"折抵",退款:"بازگشت هزینه",支付方式:"روش پرداخت",填写信用卡支付信息:"لطفا اطلاعات پرداخت کارت اعتباری خود را بررسی کنید","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"اطلاعات کارت اعتباری شما فقط برای بدهی فعلی استفاده می شود، سیستم آن را ذخیره نمی کند، که ما فکر می کنیم امن ترین است.",订单总额:"مجموع سفارش",总计:"مجموع",结账:"پرداخت",等待支付中:"در انتظار پرداخت","订单系统正在进行处理,请稍等1-3分钟。":"سیستم سفارش در حال پردازش است، لطفا 1-3 دقیقه صبر کنید.","订单由于超时支付已被取消。":"سفارش به دلیل پرداخت اضافه کاری لغو شده است","订单已支付并开通。":"سفارش پرداخت و باز شد.",选择订阅:"انتخاب اشتراک",立即订阅:"همین حالا مشترک شوید",配置订阅:"پیکربندی اشتراک",付款周期:"چرخه پرداخت","有优惠券?":"یک کوپن دارید؟",验证:"تأیید",下单:"ایجاد سفارش","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"لطفاً توجه داشته باشید، تغییر یک اشتراک باعث می‌شود که اشتراک فعلی توسط اشتراک جدید بازنویسی شود.",该订阅无法续费:"این اشتراک قابل تمدید نیست",选择其他订阅:"اشتراک دیگری را انتخاب کنید",我的钱包:"کیف پول من","账户余额(仅消费)":"موجودی حساب (فقط خرج کردن)","推广佣金(可提现)":"کمیسیون ارتقاء (قابل برداشت)",钱包组成部分:"اجزای کیف پول",划转:"منتقل کردن",推广佣金提现:"انصراف کمیسیون ارتقاء",修改密码:"تغییر کلمه عبور",保存:"ذخیره کردن",旧密码:"گذرواژه قدیمی",新密码:"رمز عبور جدید",请输入旧密码:", رمز عبور مورد نیاز است",请输入新密码:"گذاشتن گذرواژه",通知:"اعلانات",到期邮件提醒:"یادآوری ایمیل انقضا",流量邮件提醒:"یادآوری ایمیل ترافیک",绑定Telegram:"تلگرام را ببندید",立即开始:"امروز شروع کنید",重置订阅信息:"بازنشانی اطلاعات اشتراک",重置:"تغییر","确定要重置订阅信息?":"آیا مطمئن هستید که می خواهید اطلاعات اشتراک خود را بازنشانی کنید؟","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"اگر آدرس یا اطلاعات اشتراک شما لو رفته باشد، این کار را می توان انجام داد. پس از تنظیم مجدد، Uuid و اشتراک شما تغییر خواهد کرد و باید دوباره مشترک شوید.",重置成功:"بازنشانی با موفقیت انجام شد",两次新密码输入不同:"رمز جدید را دو بار وارد کنید",两次密码输入不同:"رمز جدید را دو بار وارد کنید","邀请码(选填)":"کد دعوت (اختیاری)",'我已阅读并同意 服务条款':"من شرایط خدمات را خوانده‌ام و با آن موافقم",请同意服务条款:"لطفاً با شرایط خدمات موافقت کنید",名称:"نام ویژگی محصول",标签:"برچسب‌ها",状态:"وضعیت",节点五分钟内节点在线情况:"وضعیت آنلاین گره را در عرض پنج دقیقه ثبت کنید",倍率:"بزرگنمایی",使用的流量将乘以倍率进行扣除:"جریان استفاده شده در ضریب برای کسر ضرب خواهد شد",更多操作:"اکشن های بیشتر","没有可用节点,如果您未订阅或已过期请":"هیچ گره ای در دسترس نیست، اگر مشترک نیستید یا منقضی شده اید، لطفاً","确定重置当前已用流量?":"آیا مطمئن هستید که می خواهید داده های استفاده شده فعلی را بازنشانی کنید؟","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"برای رفتن به صندوقدار روی 'OK' کلیک کنید. پس از پرداخت سفارش، سیستم اطلاعاتی را که برای ماه استفاده کرده اید پاک می کند.",确定:"تأیید",低:"پایین",中:"متوسط",高:"بالا",主题:"موضوع",工单级别:"سطح بلیط",工单状态:"وضعیت درخواست",最后回复:"آخرین پاسخ",已关闭:"پایان‌یافته",待回复:"در انتظار پاسخ",已回复:"پاسخ داده",查看:"بازدیدها",关闭:"بستن",新的工单:"سفارش کار جدید",确认:"تاييدات",请输入工单主题:"لطفا موضوع بلیط را وارد کنید",工单等级:"سطح سفارش کار",请选择工单等级:"لطفا سطح بلیط را انتخاب کنید",消息:"پیام ها",请描述你遇到的问题:"لطفا مشکلی که با آن مواجه شدید را شرح دهید",记录时间:"زمان ضبط",实际上行:"نقطه ضعف واقعی",实际下行:"نقطه ضعف واقعی",合计:"تعداد ارزش‌ها","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"فرمول: (خط واقعی + پایین دست واقعی) x نرخ کسر = ترافیک کسر شده",复制订阅地址:"آدرس اشتراک را کپی کنید",导入到:"واردات در:",一键订阅:"اشتراک با یک کلیک",复制订阅:"اشتراک را کپی کنید",推广佣金划转至余额:"کمیسیون ارتقاء به موجودی منتقل می شود","划转后的余额仅用于{title}消费使用":"موجودی منتقل شده فقط برای مصرف {title} استفاده می شود",当前推广佣金余额:"موجودی کمیسیون ترفیع فعلی",划转金额:"مقدار انتقال",请输入需要划转到余额的金额:"لطفا مبلغی را که باید به موجودی منتقل شود وارد کنید","输入内容回复工单...":"برای پاسخ به تیکت محتوا را وارد کنید...",申请提现:"برای انصراف اقدام کنید",取消:"انصراف",提现方式:"روش برداشت",请选择提现方式:"لطفاً یک روش برداشت را انتخاب کنید",提现账号:"حساب برداشت",请输入提现账号:"لطفا حساب برداشت را وارد کنید",我知道了:"می فهمم",第一步:"گام ۱",第二步:"گام ۲",打开Telegram搜索:"جستجوی تلگرام را باز کنید",向机器人发送你的:"ربات های خود را بفرستید","最后更新: {date}":"آخرین به روز رسانی: {date}",还有没支付的订单:"هنوز سفارشات پرداخت نشده وجود دارد",立即支付:"اکنون پرداخت کنید",条工单正在处理中:"بلیط در حال پردازش است",立即查看:"آن را در عمل ببینید",节点状态:"وضعیت گره",商品信息:"مشتریان ثبت نام شده",产品名称:"عنوان کالا","类型/周期":"نوع/چرخه",产品流量:"جریان محصول",订单信息:"اطلاعات سفارش",关闭订单:"سفارش بستن",订单号:"شماره سفارش",优惠金额:"قیمت با تخفیف",旧订阅折抵金额:"مبلغ تخفیف اشتراک قدیمی",退款金额:"کل مبلغ مسترد شده",余额支付:"پرداخت مانده",工单历史:"تاریخچه بلیط","已用流量将在 {reset_day} 日后重置":"داده‌های استفاده شده ظرف {reset_day} روز بازنشانی می‌شوند",已用流量已在今日重置:"امروز بازنشانی داده استفاده شده است",重置已用流量:"بازنشانی داده های استفاده شده",查看节点状态:"مشاهده وضعیت گره","当前已使用流量达{rate}%":"ترافیک استفاده شده در حال حاضر در {rate}%",节点名称:"نام گره","于 {date} 到期,距离到期还有 {day} 天。":"در {date} منقضی می‌شود که {day} روز دیگر است.","Telegram 讨论组":"گروه گفتگوی تلگرام",立即加入:"حالا پیوستن","该订阅无法续费,仅允许新用户购买":"این اشتراک قابل تمدید نیست، فقط کاربران جدید مجاز به خرید آن هستند",重置当月流量:"بازنشانی ترافیک ماه جاری","流量明细仅保留近月数据以供查询。":"جزئیات ترافیک فقط داده های ماه های اخیر را برای پرس و جو حفظ می کند.",扣费倍率:"نرخ کسر",支付手续费:"پرداخت هزینه های پردازش",续费订阅:"تمدید اشتراک",学习如何使用:"نحوه استفاده را یاد بگیرید",快速将节点导入对应客户端进行使用:"به سرعت گره ها را برای استفاده به مشتری مربوطه وارد کنید",对您当前的订阅进行续费:"با اشتراک فعلی خود خرید کنید",对您当前的订阅进行购买:"با اشتراک فعلی خود خرید کنید",捷径:"میانبر","不会使用,查看使用教程":"استفاده نمی شود، به آموزش مراجعه کنید",使用支持扫码的客户端进行订阅:"برای اشتراک از کلاینتی استفاده کنید که از کد اسکن پشتیبانی می کند",扫描二维码订阅:"برای اشتراک، کد QR را اسکن کنید",续费:"تمدید",购买:"خرید",查看教程:"مشاهده آموزش",注意:"یادداشت!","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"هنوز سفارشات ناتمام دارید. قبل از خرید باید آن را لغو کنید. آیا مطمئن هستید که می‌خواهید سفارش قبلی را لغو کنید؟",确定取消:"تایید لغو",返回我的订单:"بازگشت به سفارش من","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"اگر قبلاً پرداخت کرده‌اید، لغو سفارش ممکن است باعث عدم موفقیت در پرداخت شود. آیا مطمئن هستید که می‌خواهید سفارش را لغو کنید؟",选择最适合你的计划:"طرحی را انتخاب کنید که مناسب شما باشد",全部:"تمام",按周期:"توسط چرخه",遇到问题:"ما یک مشکل داریم",遇到问题可以通过工单与我们沟通:"در صورت بروز مشکل می توانید از طریق تیکت با ما در ارتباط باشید",按流量:"با جریان",搜索文档:"جستجوی اسناد",技术支持:"دریافت پشتیبانی",当前剩余佣金:"کمیسیون فعلی باقی مانده",三级分销比例:"نسبت توزیع سه لایه",累计获得佣金:"کمیسیون انباشته شده","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"کاربرانی که برای دعوت مجدد از کاربران دعوت می کنید بر اساس نسبت مقدار سفارش ضرب در سطح توزیع تقسیم می شوند.",发放时间:"زمان پرداخت","{number} 人":"{number} نفر","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"در صورت انتشار آدرس یا حساب اشتراک شما و سوء استفاده از آن توسط دیگران، می‌توانید اطلاعات اشتراک خود را در اینجا بازنشانی کنید تا از زیان‌های غیرضروری جلوگیری شود.",再次输入密码:"ورود مجدد رمز عبور",返回登陆:"بازگشت به ورود",选填:"اختیاری",必填:"الزامی",最后回复时间:"زمان آخرین پاسخ",请选项工单等级:"لطفاً اولویت تیکت را انتخاب کنید",回复:"پاسخ",输入内容回复工单:"محتوا را برای پاسخ به تیکت وارد کنید",已生成:"تولید شده",选择协议:"انتخاب پروتکل",自动:"خودکار",流量重置包:"بسته بازنشانی داده",复制失败:"کپی ناموفق بود",提示:"اطلاع","确认退出?":"تأیید خروج?",已退出登录:"با موفقیت خارج شده",请输入邮箱地址:"آدرس ایمیل را وارد کنید","{second}秒后可重新发送":"{second} ثانیه دیگر می‌توانید مجدداً ارسال کنید",发送成功:"با موفقیت ارسال شد",请输入账号密码:"نام کاربری و رمز عبور را وارد کنید",请确保两次密码输入一致:"اطمینان حاصل کنید که ورودهای رمز عبور مطابقت دارند",注册成功:"ثبت نام با موفقیت انجام شد","重置密码成功,正在返回登录":"با موفقیت رمز عبور بازنشانی شد، در حال بازگشت به صفحه ورود",确认取消:"تایید لغو","请注意,变更订阅会导致当前订阅被覆盖。":"لطفاً توجه داشته باشید که تغییر اشتراک موجب ایجاد اشتراک فعلی می‌شود.","订单提交成功,正在跳转支付":"سفارش با موفقیت ثبت شد، به پرداخت هدایت می‌شود.",回复成功:"پاسخ با موفقیت ارسال شد",工单详情:"جزئیات تیکت",登录成功:"ورود موفقیت‌آمیز","确定退出?":"آیا مطمئن هستید که می‌خواهید خارج شوید؟",支付成功:"پرداخت موفق",正在前往收银台:"در حال رفتن به صندوق پرداخت",请输入正确的划转金额:"لطفا مبلغ انتقال صحیح را وارد کنید",划转成功:"انتقال موفق",提现方式不能为空:"روش برداشت نمی‌تواند خالی باشد",提现账号不能为空:"حساب برداشت نمی‌تواند خالی باشد",已绑定:"قبلاً متصل شده",创建成功:"ایجاد موفقیت‌آمیز",关闭成功:"خاموش کردن موفق"},hk=Object.freeze(Object.defineProperty({__proto__:null,default:cBe},Symbol.toStringTag,{value:"Module"})),uBe={请求失败:"リクエストエラー",月付:"月間プラン",季付:"3か月プラン",半年付:"半年プラン",年付:"年間プラン",两年付:"2年プラン",三年付:"3年プラン",一次性:"一括払い",重置流量包:"使用済みデータをリセット",待支付:"お支払い待ち",开通中:"開通中",已取消:"キャンセル済み",已完成:"済み",已折抵:"控除済み",待确认:"承認待ち",发放中:"処理中",已发放:"処理済み",无效:"無効",个人中心:"会員メニュー",登出:"ログアウト",搜索:"検索",仪表盘:"ダッシュボード",订阅:"サブスクリプションプラン",我的订阅:"マイプラン",购买订阅:"プランの購入",财务:"ファイナンス",我的订单:"注文履歴",我的邀请:"招待リスト",用户:"ユーザー",我的工单:"お問い合わせ",流量明细:"データ通信明細",使用文档:"ナレッジベース",绑定Telegram获取更多服务:"Telegramと連携し各種便利な通知を受け取ろう",点击这里进行绑定:"こちらをクリックして連携開始",公告:"お知らせ",总览:"概要",该订阅长期有效:"時間制限なし",已过期:"期限切れ","已用 {used} / 总计 {total}":"使用済み {used} / 合計 {total}",查看订阅:"プランを表示",邮箱:"E-mail アドレス",邮箱验证码:"確認コード",发送:"送信",重置密码:"パスワードを変更",返回登入:"ログインページへ戻る",邀请码:"招待コード",复制链接:"URLをコピー",完成时间:"完了日時",佣金:"コミッション金額",已注册用户数:"登録済みユーザー数",佣金比例:"コミッションレート",确认中的佣金:"承認待ちのコミッション","佣金将会在确认后会到达你的佣金账户。":"コミッションは承認処理完了後にカウントされます",邀请码管理:"招待コードの管理",生成邀请码:"招待コードを生成",佣金发放记录:"コミッション履歴",复制成功:"クリップボードにコピーされました",密码:"パスワード",登入:"ログイン",注册:"新規登録",忘记密码:"パスワードをお忘れの方","# 订单号":"受注番号",周期:"サイクル",订单金额:"ご注文金額",订单状态:"ご注文状況",创建时间:"作成日時",操作:"アクション",查看详情:"詳細を表示",请选择支付方式:"支払い方法をお選びください",请检查信用卡支付信息:"クレジットカード決済情報をご確認ください",订单详情:"ご注文詳細",折扣:"割引",折抵:"控除",退款:"払い戻し",支付方式:"お支払い方法",填写信用卡支付信息:"クレジットカード決済情報をご入力ください。","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"お客様のカード情報は今回限りリクエストされ、記録に残ることはございません",订单总额:"ご注文の合計金額",总计:"合計金額",结账:"チェックアウト",等待支付中:"お支払い待ち","订单系统正在进行处理,请稍等1-3分钟。":"システム処理中です、しばらくお待ちください","订单由于超时支付已被取消。":"ご注文はキャンセルされました","订单已支付并开通。":"お支払いが完了しました、プランはご利用可能です",选择订阅:"プランをお選びください",立即订阅:"今すぐ購入",配置订阅:"プランの内訳",付款周期:"お支払いサイクル","有优惠券?":"キャンペーンコード",验证:"確定",下单:"チェックアウト","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"プランを変更なされます場合は、既存のプランが新規プランによって上書きされます、ご注意下さい",该订阅无法续费:"該当プランは継続利用できません",选择其他订阅:"その他のプランを選択",我的钱包:"マイウォレット","账户余额(仅消费)":"残高(サービスの購入のみ)","推广佣金(可提现)":"招待によるコミッション(出金可)",钱包组成部分:"ウォレットの内訳",划转:"お振替",推广佣金提现:"コミッションのお引き出し",修改密码:"パスワードの変更",保存:"変更を保存",旧密码:"現在のパスワード",新密码:"新しいパスワード",请输入旧密码:"現在のパスワードをご入力ください",请输入新密码:"新しいパスワードをご入力ください",通知:"お知らせ",到期邮件提醒:"期限切れ前にメールで通知",流量邮件提醒:"データ量不足時にメールで通知",绑定Telegram:"Telegramと連携",立即开始:"今すぐ連携開始",重置订阅信息:"サブスクリプションURLの変更",重置:"変更","确定要重置订阅信息?":"サブスクリプションURLをご変更なされますか?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"サブスクリプションのURL及び情報が外部に漏れた場合にご操作ください。操作後はUUIDやURLが変更され、再度サブスクリプションのインポートが必要になります。",重置成功:"変更完了",两次新密码输入不同:"ご入力されました新しいパスワードが一致しません",两次密码输入不同:"ご入力されましたパスワードが一致しません","邀请码(选填)":"招待コード (オプション)",'我已阅读并同意 服务条款':"ご利用規約に同意します",请同意服务条款:"ご利用規約に同意してください",名称:"名称",标签:"ラベル",状态:"ステータス",节点五分钟内节点在线情况:"5分間のオンラインステータス",倍率:"適応レート",使用的流量将乘以倍率进行扣除:"通信量は該当レートに基き計算されます",更多操作:"アクション","没有可用节点,如果您未订阅或已过期请":"ご利用可能なサーバーがありません,プランの期限切れまたは購入なされていない場合は","确定重置当前已用流量?":"利用済みデータ量をリセットしますか?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"「確定」をクリックし次のページへ移動,お支払い後に当月分のデータ通信量は即時リセットされます",确定:"確定",低:"低",中:"中",高:"高",主题:"タイトル",工单级别:"プライオリティ",工单状态:"進捗状況",最后回复:"最終回答日時",已关闭:"終了",待回复:"対応待ち",已回复:"回答済み",查看:"閲覧",关闭:"終了",新的工单:"新規お問い合わせ",确认:"確定",请输入工单主题:"お問い合わせタイトルをご入力ください",工单等级:"ご希望のプライオリティ",请选择工单等级:"ご希望のプライオリティをお選びください",消息:"メッセージ",请描述你遇到的问题:"お問い合わせ内容をご入力ください",记录时间:"記録日時",实际上行:"アップロード",实际下行:"ダウンロード",合计:"合計","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"計算式:(アップロード + ダウンロード) x 適応レート = 使用済みデータ通信量",复制订阅地址:"サブスクリプションのURLをコピー",导入到:"インポート先:",一键订阅:"ワンクリックインポート",复制订阅:"サブスクリプションのURLをコピー",推广佣金划转至余额:"コミッションを残高へ振替","划转后的余额仅用于{title}消费使用":"振替済みの残高は{title}でのみご利用可能です",当前推广佣金余额:"現在のコミッション金額",划转金额:"振替金額",请输入需要划转到余额的金额:"振替金額をご入力ください","输入内容回复工单...":"お問い合わせ内容をご入力ください...",申请提现:"出金申請",取消:"キャンセル",提现方式:"お振込み先",请选择提现方式:"お振込み先をお選びください",提现账号:"お振り込み先口座",请输入提现账号:"お振込み先口座をご入力ください",我知道了:"了解",第一步:"ステップその1",第二步:"ステップその2",打开Telegram搜索:"Telegramを起動後に右記内容を入力し検索",向机器人发送你的:"テレグラムボットへ下記内容を送信","最后更新: {date}":"最終更新日: {date}",还有没支付的订单:"未払いのご注文があります",立即支付:"チェックアウト",条工单正在处理中:"件のお問い合わせ",立即查看:"閲覧",节点状态:"サーバーステータス",商品信息:"プラン詳細",产品名称:"プラン名","类型/周期":"サイクル",产品流量:"ご利用可能データ量",订单信息:"オーダー情報",关闭订单:"注文をキャンセル",订单号:"受注番号",优惠金额:"'割引額",旧订阅折抵金额:"既存プラン控除額",退款金额:"返金額",余额支付:"残高ご利用分",工单历史:"お問い合わせ履歴","已用流量将在 {reset_day} 日后重置":"利用済みデータ量は {reset_day} 日後にリセットします",已用流量已在今日重置:"利用済みデータ量は本日リセットされました",重置已用流量:"利用済みデータ量をリセット",查看节点状态:"接続先サーバのステータス","当前已使用流量达{rate}%":"データ使用量が{rate}%になりました",节点名称:"サーバー名","于 {date} 到期,距离到期还有 {day} 天。":"ご利用期限は {date} まで,期限まであと {day} 日","Telegram 讨论组":"Telegramグループ",立即加入:"今すぐ参加","该订阅无法续费,仅允许新用户购买":"該当プランは継続利用できません、新規ユーザーのみが購入可能です",重置当月流量:"使用済みデータ量のカウントリセット","流量明细仅保留近月数据以供查询。":"データ通信明細は当月分のみ表示されます",扣费倍率:"適応レート",支付手续费:"お支払い手数料",续费订阅:"購読更新",学习如何使用:"ご利用ガイド",快速将节点导入对应客户端进行使用:"最短ルートでサーバー情報をアプリにインポートして使用する",对您当前的订阅进行续费:"ご利用中のサブスクの継続料金を支払う",对您当前的订阅进行购买:"ご利用中のサブスクを再度購入する",捷径:"ショートカット","不会使用,查看使用教程":"ご利用方法がわからない方はナレッジベースをご閲覧ください",使用支持扫码的客户端进行订阅:"使用支持扫码的客户端进行订阅",扫描二维码订阅:"QRコードをスキャンしてサブスクを設定",续费:"更新",购买:"購入",查看教程:"チュートリアルを表示",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"まだ購入が完了していないオーダーがあります。購入前にそちらをキャンセルする必要がありますが、キャンセルしてよろしいですか?",确定取消:"キャンセル",返回我的订单:"注文履歴に戻る","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"もし既にお支払いが完了していると、注文をキャンセルすると支払いが失敗となる可能性があります。キャンセルしてもよろしいですか?",选择最适合你的计划:"あなたにピッタリのプランをお選びください",全部:"全て",按周期:"期間順",遇到问题:"何かお困りですか?",遇到问题可以通过工单与我们沟通:"何かお困りでしたら、お問い合わせからご連絡ください。",按流量:"データ通信量順",搜索文档:"ドキュメント内を検索",技术支持:"テクニカルサポート",当前剩余佣金:"コミッション残高",三级分销比例:"3ティア比率",累计获得佣金:"累計獲得コミッション金額","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"お客様に招待された方が更に別の方を招待された場合、お客様は支払われるオーダーからティア分配分の比率分を受け取ることができます。",发放时间:"手数料支払時間","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"購読アドレスまたはアカウントが漏れて他者に悪用された場合、不必要な損失を防ぐためにここで購読情報をリセットできます。",再次输入密码:"パスワードを再入力してください",返回登陆:"ログインに戻る",选填:"任意",必填:"必須",最后回复时间:"最終返信時刻",请选项工单等级:"チケットの優先度を選択してください",回复:"返信",输入内容回复工单:"チケットへの返信内容を入力",已生成:"生成済み",选择协议:"プロトコルの選択",自动:"自動",流量重置包:"データリセットパッケージ",复制失败:"コピーに失敗しました",提示:"通知","确认退出?":"ログアウトを確認?",已退出登录:"正常にログアウトしました",请输入邮箱地址:"メールアドレスを入力してください","{second}秒后可重新发送":"{second} 秒後に再送信可能",发送成功:"送信成功",请输入账号密码:"アカウントとパスワードを入力してください",请确保两次密码输入一致:"パスワードの入力が一致していることを確認してください",注册成功:"登録が成功しました","重置密码成功,正在返回登录":"パスワードのリセットが成功しました。ログインに戻っています",确认取消:"キャンセルの確認","请注意,变更订阅会导致当前订阅被覆盖。":"購読の変更は現在の購読を上書きします。","订单提交成功,正在跳转支付":"注文が成功裏に送信されました。支払いにリダイレクトしています。",回复成功:"返信が成功しました",工单详情:"チケットの詳細",登录成功:"ログイン成功","确定退出?":"本当に退出しますか?",支付成功:"支払い成功",正在前往收银台:"チェックアウトに進行中",请输入正确的划转金额:"正しい振替金額を入力してください",划转成功:"振替成功",提现方式不能为空:"出金方法は空にできません",提现账号不能为空:"出金口座を空にすることはできません",已绑定:"既にバインドされています",创建成功:"作成成功",关闭成功:"閉鎖成功"},pk=Object.freeze(Object.defineProperty({__proto__:null,default:uBe},Symbol.toStringTag,{value:"Module"})),dBe={请求失败:"요청실패",月付:"월간",季付:"3개월간",半年付:"반년간",年付:"1년간",两年付:"2년마다",三年付:"3년마다",一次性:"한 번",重置流量包:"데이터 재설정 패키지",待支付:"지불 보류중",开通中:"보류 활성화",已取消:"취소 됨",已完成:"완료",已折抵:"변환",待确认:"보류중",发放中:"확인중",已发放:"완료",无效:"유효하지 않음",个人中心:"사용자 센터",登出:"로그아웃",搜索:"검색",仪表盘:"대시보드",订阅:"구독",我的订阅:"나의 구독",购买订阅:"구독 구매 내역",财务:"청구",我的订单:"나의 주문",我的邀请:"나의 초청",用户:"사용자 센터",我的工单:"나의 티켓",流量明细:"데이터 세부 정보 전송",使用文档:"사용 설명서",绑定Telegram获取更多服务:"텔레그램에 아직 연결되지 않았습니다",点击这里进行绑定:"텔레그램에 연결되도록 여기를 눌러주세요",公告:"발표",总览:"개요",该订阅长期有效:"구독은 무제한으로 유효합니다",已过期:"만료","已用 {used} / 总计 {total}":"{date}에 만료됩니다, 만료 {day}이 전, {reset_day}후 데이터 전송 재설정",查看订阅:"구독 보기",邮箱:"이메일",邮箱验证码:"이메일 확인 코드",发送:"보내기",重置密码:"비밀번호 재설정",返回登入:"로그인 다시하기",邀请码:"초청 코드",复制链接:"링크 복사",完成时间:"완료 시간",佣金:"수수료",已注册用户数:"등록 된 사용자들",佣金比例:"수수료율",确认中的佣金:"수수료 상태","佣金将会在确认后会到达你的佣金账户。":"수수료는 검토 후 수수료 계정에서 확인할 수 있습니다",邀请码管理:"초청 코드 관리",生成邀请码:"초청 코드 생성하기",佣金发放记录:"수수료 지불 기록",复制成功:"복사 성공",密码:"비밀번호",登入:"로그인",注册:"등록하기",忘记密码:"비밀번호를 잊으셨나요","# 订单号":"주문 번호 #",周期:"유형/기간",订单金额:"주문량",订单状态:"주문 상태",创建时间:"생성 시간",操作:"설정",查看详情:"세부사항 보기",请选择支付方式:"지불 방식을 선택 해주세요",请检查信用卡支付信息:"신용카드 지불 정보를 확인 해주세요",订单详情:"주문 세부사항",折扣:"할인",折抵:"변환",退款:"환불",支付方式:"지불 방식",填写信用卡支付信息:"신용카드 지불 정보를 적으세요","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"현재 거래를 확인하는 데 사용하는 귀하의 신용 카드 정보, 신용 카드 번호 및 기타 세부 정보를 수집하지 않습니다.",订单总额:"전체주문",总计:"전체",结账:"결제하기",等待支付中:"결제 대기 중","订单系统正在进行处理,请稍等1-3分钟。":"주문 시스템이 처리 중입니다. 1-3분 정도 기다려 주십시오.","订单由于超时支付已被取消。":"결제 시간 초과로 인해 주문이 취소되었습니다.","订单已支付并开通。":"주문이 결제되고 개통되었습니다.",选择订阅:"구독 선택하기",立即订阅:"지금 구독하기",配置订阅:"구독 환경 설정하기",付款周期:"지불 기간","有优惠券?":"쿠폰을 가지고 있나요?",验证:"확인",下单:"주문","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"주의하십시오. 구독을 변경하면 현재 구독을 덮어씁니다",该订阅无法续费:"이 구독은 갱신할 수 없습니다.",选择其他订阅:"다른 구독 선택",我的钱包:"나의 지갑","账户余额(仅消费)":"계정 잔액(결제 전용)","推广佣金(可提现)":"초청수수료(인출하는 데 사용할 수 있습니다)",钱包组成部分:"지갑 세부사항",划转:"이체하기",推广佣金提现:"초청 수수료 인출",修改密码:"비밀번호 변경",保存:"저장하기",旧密码:"이전 비밀번호",新密码:"새로운 비밀번호",请输入旧密码:"이전 비밀번호를 입력해주세요",请输入新密码:"새로운 비밀번호를 입력해주세요",通知:"공고",到期邮件提醒:"구독 만료 이메일 알림",流量邮件提醒:"불충분한 데이터 이메일 전송 알림",绑定Telegram:"탤레그램으로 연결",立即开始:"지금 시작하기",重置订阅信息:"구독 재설정하기",重置:"재설정","确定要重置订阅信息?":"구독을 재설정하시겠습니까?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"계정 정보나 구독이 누출된 경우 이 옵션은 UUID를 재설정하는 데 사용되며 재설정 후에 구독이 변경되므로 다시 구독해야 합니다.",重置成功:"재설정 성공",两次新密码输入不同:"입력한 두 개의 새 비밀번호가 일치하지 않습니다.",两次密码输入不同:"입력한 비밀번호가 일치하지 않습니다.","邀请码(选填)":"초청 코드(선택 사항)",'我已阅读并同意 服务条款':"을 읽었으며 이에 동의합니다 서비스 약관",请同意服务条款:"서비스 약관에 동의해주세요",名称:"이름",标签:"태그",状态:"설정",节点五分钟内节点在线情况:"지난 5분 동안의 액세스 포인트 온라인 상태",倍率:"요금",使用的流量将乘以倍率进行扣除:"사용된 전송 데이터에 전송 데이터 요금을 뺀 값을 곱합니다.",更多操作:"설정","没有可用节点,如果您未订阅或已过期请":"사용 가능한 액세스 포인트가 없습니다. 구독을 신청하지 않았거나 구독이 만료된 경우","确定重置当前已用流量?":"현재 사용 중인 데이터를 재설정 하시겠습니까?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":'확인"을 클릭하면 결제 페이지로 이동됩니다. 주문이 완료되면 시스템에서 해당 월의 사용 데이터를 삭제합니다.',确定:"확인",低:"낮음",中:"중간",高:"높음",主题:"주제",工单级别:"티켓 우선 순위",工单状态:"티켓 상태",最后回复:"생성 시간",已关闭:"마지막 답장",待回复:"설정",已回复:"닫힘",查看:"보기",关闭:"닫기",新的工单:"새로운 티켓",确认:"확인",请输入工单主题:"제목을 입력하세요",工单等级:"티켓 우선순위",请选择工单等级:"티켓 우선순위를 선택해주세요",消息:"메세지",请描述你遇到的问题:"문제를 설명하십시오 발생한",记录时间:"기록 시간",实际上行:"실제 업로드",实际下行:"실제 다운로드",合计:"전체","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"공식: (실제 업로드 + 실제 다운로드) x 공제율 = 전송 데이터 공제",复制订阅地址:"구독 URL 복사",导入到:"내보내기",一键订阅:"빠른 구독",复制订阅:"구독 URL 복사",推广佣金划转至余额:"초청 수수료를 계좌 잔액으로 이체","划转后的余额仅用于{title}消费使用":"이체된 잔액은 {title} 소비에만 사용됩니다.",当前推广佣金余额:"현재 홍보 수수료 잔액",请输入需要划转到余额的金额:"잔액으로 이체할 금액을 입력하세요.",取消:"취소",提现方式:"인출 방법",请选择提现方式:"인출 방법을 선택해주세요",提现账号:"인출 계좌",请输入提现账号:"인출 계좌를 입력해주세요",我知道了:"알겠습니다.",第一步:"첫번째 단계",第二步:"두번째 단계",打开Telegram搜索:"텔레그램 열기 및 탐색",向机器人发送你的:"봇에 다음 명령을 보냅니다","最后更新: {date}":"마지막 업데이트{date}",还有没支付的订单:"미결제 주문이 있습니다",立即支付:"즉시 지불",条工单正在处理中:"티켓이 처리 중입니다",立即查看:"제목을 입력하세요",节点状态:"노드 상태",商品信息:"제품 정보",产品名称:"제품 명칭","类型/周期":"종류/기간",产品流量:"제품 데이터 용량",订单信息:"주문 정보",关闭订单:"주문 취소",订单号:"주문 번호",优惠金额:"할인 가격",旧订阅折抵金额:"기존 패키지 공제 금액",退款金额:"환불 금액",余额支付:"잔액 지불",工单历史:"티켓 기록","已用流量将在 {reset_day} 日后重置":"{reset_day}일 후에 사용한 데이터가 재설정됩니다",已用流量已在今日重置:"오늘 이미 사용한 데이터가 재설정되었습니다",重置已用流量:"사용한 데이터 재설정",查看节点状态:"노드 상태 확인","当前已使用流量达{rate}%":"현재 사용한 데이터 비율이 {rate}%에 도달했습니다",节点名称:"환불 금액","于 {date} 到期,距离到期还有 {day} 天。":"{day}까지, 만료 {day}일 전.","Telegram 讨论组":"텔레그램으로 문의하세요",立即加入:"지금 가입하세요","该订阅无法续费,仅允许新用户购买":"이 구독은 갱신할 수 없습니다. 신규 사용자만 구매할 수 있습니다.",重置当月流量:"이번 달 트래픽 초기화","流量明细仅保留近月数据以供查询。":"귀하의 트래픽 세부 정보는 최근 몇 달 동안만 유지됩니다",扣费倍率:"수수료 공제율",支付手续费:"수수료 지불",续费订阅:"구독 갱신",学习如何使用:"사용 방법 배우기",快速将节点导入对应客户端进行使用:"빠르게 노드를 해당 클라이언트로 가져와 사용하기",对您当前的订阅进行续费:"현재 구독 갱신",对您当前的订阅进行购买:"현재 구독 구매",捷径:"단축키","不会使用,查看使用教程":"사용 방법을 모르겠다면 사용 설명서 확인",使用支持扫码的客户端进行订阅:"스캔 가능한 클라이언트로 구독하기",扫描二维码订阅:"QR 코드 스캔하여 구독",续费:"갱신",购买:"구매",查看教程:"사용 설명서 보기",注意:"주의","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"미완료된 주문이 있습니다. 구매 전에 취소해야 합니다. 이전 주문을 취소하시겠습니까?",确定取消:"취소 확인",返回我的订单:"내 주문으로 돌아가기","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"이미 결제를 했을 경우 주문 취소는 결제 실패로 이어질 수 있습니다. 주문을 취소하시겠습니까?",选择最适合你的计划:"가장 적합한 요금제 선택",全部:"전체",按周期:"주기별",遇到问题:"문제 발생",遇到问题可以通过工单与我们沟通:"문제가 발생하면 서포트 티켓을 통해 문의하세요",按流量:"트래픽별",搜索文档:"문서 검색",技术支持:"기술 지원",当前剩余佣金:"현재 잔여 수수료",三级分销比例:"삼수준 분배 비율",累计获得佣金:"누적 수수료 획득","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"초대한 사용자가 다시 초대하면 주문 금액에 분배 비율을 곱하여 분배됩니다.",发放时间:"수수료 지급 시간","{number} 人":"{number} 명","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"구독 주소 또는 계정이 유출되어 다른 사람에게 남용되는 경우 여기에서 구독 정보를 재설정하여 불필요한 손실을 방지할 수 있습니다.",再次输入密码:"비밀번호를 다시 입력하세요",返回登陆:"로그인으로 돌아가기",选填:"선택 사항",必填:"필수",最后回复时间:"최근 답장 시간",请选项工单等级:"티켓 우선 순위 선택",回复:"답장",输入内容回复工单:"티켓에 대한 내용 입력",已生成:"생성됨",选择协议:"프로토콜 선택",自动:"자동",流量重置包:"데이터 리셋 패키지",复制失败:"복사 실패",提示:"알림","确认退出?":"로그아웃 확인?",已退出登录:"로그아웃 완료",请输入邮箱地址:"이메일 주소를 입력하세요","{second}秒后可重新发送":"{second} 초 후에 다시 전송 가능",发送成功:"전송 성공",请输入账号密码:"계정과 비밀번호를 입력하세요",请确保两次密码输入一致:"비밀번호 입력이 일치하는지 확인하세요",注册成功:"등록 성공","重置密码成功,正在返回登录":"비밀번호 재설정 성공, 로그인 페이지로 돌아가는 중",确认取消:"취소 확인","请注意,变更订阅会导致当前订阅被覆盖。":"구독 변경은 현재 구독을 덮어씁니다.","订单提交成功,正在跳转支付":"주문이 성공적으로 제출되었습니다. 지불로 이동 중입니다.",回复成功:"답장 성공",工单详情:"티켓 상세 정보",登录成功:"로그인 성공","确定退出?":"확실히 종료하시겠습니까?",支付成功:"결제 성공",正在前往收银台:"결제 진행 중",请输入正确的划转金额:"정확한 이체 금액을 입력하세요",划转成功:"이체 성공",提现方式不能为空:"출금 방식은 비워 둘 수 없습니다",提现账号不能为空:"출금 계좌는 비워 둘 수 없습니다",已绑定:"이미 연결됨",创建成功:"생성 성공",关闭成功:"종료 성공"},mk=Object.freeze(Object.defineProperty({__proto__:null,default:dBe},Symbol.toStringTag,{value:"Module"})),fBe={请求失败:"Yêu Cầu Thất Bại",月付:"Tháng",季付:"Hàng Quý",半年付:"6 Tháng",年付:"Năm",两年付:"Hai Năm",三年付:"Ba Năm",一次性:"Dài Hạn",重置流量包:"Cập Nhật Dung Lượng",待支付:"Đợi Thanh Toán",开通中:"Đang xử lý",已取消:"Đã Hủy",已完成:"Thực Hiện",已折抵:"Quy Đổi",待确认:"Đợi Xác Nhận",发放中:"Đang Xác Nhận",已发放:"Hoàn Thành",无效:"Không Hợp Lệ",个人中心:"Trung Tâm Kiểm Soát",登出:"Đăng Xuất",搜索:"Tìm Kiếm",仪表盘:"Trang Chủ",订阅:"Gói Dịch Vụ",我的订阅:"Gói Dịch Vụ Của Tôi",购买订阅:"Mua Gói Dịch Vụ",财务:"Tài Chính",我的订单:"Đơn Hàng Của Tôi",我的邀请:"Lời Mời Của Tôi",用户:"Người Dùng",我的工单:"Liên Hệ Với Chúng Tôi",流量明细:"Chi Tiết Dung Lượng",使用文档:"Tài liệu sử dụng",绑定Telegram获取更多服务:"Liên kết Telegram thêm dịch vụ",点击这里进行绑定:"Ấn vào để liên kết",公告:"Thông Báo",总览:"Tổng Quat",该订阅长期有效:"Gói này có thời hạn dài",已过期:"Tài khoản hết hạn","已用 {used} / 总计 {total}":"Đã sử dụng {used} / Tổng dung lượng {total}",查看订阅:"Xem Dịch Vụ",邮箱:"E-mail",邮箱验证码:"Mã xác minh mail",发送:"Gửi",重置密码:"Đặt Lại Mật Khẩu",返回登入:"Về đăng nhập",邀请码:"Mã mời",复制链接:"Sao chép đường dẫn",完成时间:"Thời gian hoàn thành",佣金:"Tiền hoa hồng",已注册用户数:"Số người dùng đã đăng ký",佣金比例:"Tỷ lệ hoa hồng",确认中的佣金:"Hoa hồng đang xác nhận","佣金将会在确认后会到达你的佣金账户。":"Sau khi xác nhận tiền hoa hồng sẽ gửi đến tài khoản hoa hồng của bạn.",邀请码管理:"Quản lý mã mời",生成邀请码:"Tạo mã mời",佣金发放记录:"Hồ sơ hoa hồng",复制成功:"Sao chép thành công",密码:"Mật khẩu",登入:"Đăng nhập",注册:"Đăng ký",忘记密码:"Quên mật khẩu","# 订单号":"# Mã đơn hàng",周期:"Chu Kỳ",订单金额:"Tiền đơn hàng",订单状态:"Trạng thái đơn",创建时间:"Thời gian tạo",操作:"Thao tác",查看详情:"Xem chi tiết",请选择支付方式:"Chọn phương thức thanh toán",请检查信用卡支付信息:"Hãy kiểm tra thông tin thẻ thanh toán",订单详情:"Chi tiết đơn hàng",折扣:"Chiết khấu",折抵:"Giảm giá",退款:"Hoàn lại",支付方式:"Phương thức thanh toán",填写信用卡支付信息:"Điền thông tin Thẻ Tín Dụng","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"Thông tin thẻ tín dụng của bạn sẽ chỉ được sử dụng cho lần thanh toán này, hệ thống sẽ không lưu thông tin đó, chúng tôi nghĩ đây à cách an toàn nhất.",订单总额:"Tổng tiền đơn hàng",总计:"Tổng",结账:"Kết toán",等待支付中:"Đang chờ thanh toán","订单系统正在进行处理,请稍等1-3分钟。":"Hệ thống đang xử lý đơn hàng, vui lòng đợi 1-3p.","订单由于超时支付已被取消。":"Do quá giờ nên đã hủy đơn hàng.","订单已支付并开通。":"Đơn hàng đã thanh toán và mở.",选择订阅:"Chọn gói",立即订阅:"Mua gói ngay",配置订阅:"Thiết lập gói",付款周期:"Chu kỳ thanh toán","有优惠券?":"Có phiếu giảm giá?",验证:"Xác minh",下单:"Đặt hàng","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"Việc thay đổi gói dịch vụ sẽ thay thế gói hiện tại bằng gói mới, xin lưu ý.",该订阅无法续费:"Gói này không thể gia hạn",选择其他订阅:"Chọn gói dịch vụ khác",我的钱包:"Ví tiền của tôi","账户余额(仅消费)":"Số dư tài khoản (Chỉ tiêu dùng)","推广佣金(可提现)":"Tiền hoa hồng giới thiệu (Được rút)",钱包组成部分:"Thành phần ví tiền",划转:"Chuyển khoản",推广佣金提现:"Rút tiền hoa hồng giới thiệu",修改密码:"Đổi mật khẩu",保存:"Lưu",旧密码:"Mật khẩu cũ",新密码:"Mật khẩu mới",请输入旧密码:"Hãy nhập mật khẩu cũ",请输入新密码:"Hãy nhập mật khẩu mới",通知:"Thông Báo",到期邮件提醒:"Mail nhắc đến hạn",流量邮件提醒:"Mail nhắc dung lượng",绑定Telegram:"Liên kết Telegram",立即开始:"Bắt Đầu",重置订阅信息:"Reset thông tin gói",重置:"Reset","确定要重置订阅信息?":"Xác nhận reset thông tin gói?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"Nếu địa chỉ hoặc thông tin gói dịch vụ của bạn bị tiết lộ có thể tiến hành thao tác này. Sau khi reset UUID sẽ thay đổi.",重置成功:"Reset thành công",两次新密码输入不同:"Mật khẩu mới xác nhận không khớp",两次密码输入不同:"Mật khẩu xác nhận không khớp","邀请码(选填)":"Mã mời(Điền)",'我已阅读并同意 服务条款':"Tôi đã đọc và đồng ý điều khoản dịch vụ",请同意服务条款:"Hãy đồng ý điều khoản dịch vụ",名称:"Tên",标签:"Nhãn",状态:"Trạng thái",节点五分钟内节点在线情况:"Node trạng thái online trong vòng 5 phút",倍率:"Bội số",使用的流量将乘以倍率进行扣除:"Dung lượng sử dụng nhân với bội số rồi khấu trừ",更多操作:"Thêm thao tác","没有可用节点,如果您未订阅或已过期请":"Chưa có node khả dụng, nếu bạn chưa mua gói hoặc đã hết hạn hãy","确定重置当前已用流量?":"确定重置当前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"Ấn 「OK」 sẽ chuyển đến trang thanh toán, sau khi thanh toán đơn hàng hệ thống sẽ xóa dung lượng đã dùng tháng này của bạn.",确定:"OK",低:"Thấp",中:"Vừa",高:"Cao",主题:"Chủ Đề",工单级别:"Cấp độ",工单状态:"Trạng thái",最后回复:"Trả lời gần đây",已关闭:"Đã đóng",待回复:"Chờ trả lời",已回复:"Đã trả lời",查看:"Xem",关闭:"Đóng",新的工单:"Việc mới",确认:"OK",请输入工单主题:"Hãy nhập chủ đề công việc",工单等级:"Cấp độ công việc",请选择工单等级:"Hãy chọn cấp độ công việc",消息:"Thông tin",请描述你遇到的问题:"Hãy mô tả vấn đề gặp phải",记录时间:"Thời gian ghi",实际上行:"Upload thực tế",实际下行:"Download thực tế",合计:"Cộng","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"Công thức: (upload thực tế + download thực tế) x bội số trừ phí = Dung lượng khấu trừ",复制订阅地址:"Sao chép liên kết",导入到:"Nhập vào",一键订阅:"Nhấp chuột để đồng bộ máy chủ",复制订阅:"Sao chép liên kết",推广佣金划转至余额:"Chuyển khoản hoa hồng giới thiệu đến số dư","划转后的余额仅用于{title}消费使用":"Số dư sau khi chuyển khoản chỉ dùng để tiêu dùng {title}",当前推广佣金余额:"Số dư hoa hồng giới thiệu hiện tại",划转金额:"Chuyển tiền",请输入需要划转到余额的金额:"Hãy nhậo số tiền muốn chuyển đến số dư","输入内容回复工单...":"Nhập nội dung trả lời công việc...",申请提现:"Yêu cầu rút tiền",取消:"Hủy",提现方式:"Phương thức rút tiền",请选择提现方式:"Hãy chọn phương thức rút tiền",提现账号:"Rút về tào khoản",请输入提现账号:"Hãy chọn tài khoản rút tiền",我知道了:"OK",第一步:"Bước 1",第二步:"Bước 2",打开Telegram搜索:"Mở Telegram tìm kiếm",向机器人发送你的:"Gửi cho bot","最后更新: {date}":"Cập nhật gần đây: {date}",还有没支付的订单:"Có đơn hàng chưa thanh toán",立即支付:"Thanh toán ngay",条工单正在处理中:" công việc đang xử lý",立即查看:"Xem Ngay",节点状态:"Trạng thái node",商品信息:"Thông tin",产品名称:"Tên sản phẩm","类型/周期":"Loại/Chu kỳ",产品流量:"Dung Lượng",订单信息:"Thông tin đơn hàng",关闭订单:"Đóng đơn hàng",订单号:"Mã đơn hàng",优惠金额:"Tiền ưu đãi",旧订阅折抵金额:"Tiền giảm giá gói cũ",退款金额:"Số tiền hoàn lại",余额支付:"Thanh toán số dư",工单历史:"Lịch sử đơn hàng","已用流量将在 {reset_day} 日后重置":"Dữ liệu đã sử dụng sẽ được đặt lại sau {reset_day} ngày",已用流量已在今日重置:"Dữ liệu đã sử dụng đã được đặt lại trong ngày hôm nay",重置已用流量:"Đặt lại dữ liệu đã sử dụng",查看节点状态:"Xem trạng thái nút","当前已使用流量达{rate}%":"Dữ liệu đã sử dụng hiện tại đạt {rate}%",节点名称:"Tên node","于 {date} 到期,距离到期还有 {day} 天。":"Hết hạn vào {date}, còn {day} ngày.","Telegram 讨论组":"Nhóm Telegram",立即加入:"Vào ngay","该订阅无法续费,仅允许新用户购买":"Đăng ký này không thể gia hạn, chỉ người dùng mới được phép mua",重置当月流量:"Đặt lại dung lượng tháng hiện tại","流量明细仅保留近月数据以供查询。":"Chi tiết dung lượng chỉ lưu dữ liệu của những tháng gần đây để truy vấn.",扣费倍率:"Tỷ lệ khấu trừ",支付手续费:"Phí thủ tục",续费订阅:"Gia hạn đăng ký",学习如何使用:"Hướng dẫn sử dụng",快速将节点导入对应客户端进行使用:"Bạn cần phải mua gói này",对您当前的订阅进行续费:"Gia hạn gói hiện tại",对您当前的订阅进行购买:"Mua gói bạn đã chọn",捷径:"Phím tắt","不会使用,查看使用教程":"Mua gói này nếu bạn đăng ký",使用支持扫码的客户端进行订阅:"Sử dụng ứng dụng quét mã để đăng ký",扫描二维码订阅:"Quét mã QR để đăng ký",续费:"Gia hạn",购买:"Mua",查看教程:"Xem hướng dẫn",注意:"Chú Ý","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"Bạn vẫn còn đơn đặt hàng chưa hoàn thành. Bạn cần hủy trước khi mua. Bạn có chắc chắn muốn hủy đơn đặt hàng trước đó không ?",确定取消:"Đúng/không",返回我的订单:"Quay lại đơn đặt hàng của tôi","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"Nếu bạn đã thanh toán, việc hủy đơn hàng có thể khiến việc thanh toán không thành công. Bạn có chắc chắn muốn hủy đơn hàng không ?",选择最适合你的计划:"Chọn kế hoạch phù hợp với bạn nhất",全部:"Tất cả",按周期:"Chu kỳ",遇到问题:"Chúng tôi có một vấn đề",遇到问题可以通过工单与我们沟通:"Nếu bạn gặp sự cố, bạn có thể liên lạc với chúng tôi thông qua ",按流量:"Theo lưu lượng",搜索文档:"Tìm kiếm tài liệu",技术支持:"Hỗ trợ kỹ thuật",当前剩余佣金:"Số dư hoa hồng hiện tại",三级分销比例:"Tỷ lệ phân phối cấp 3",累计获得佣金:"Tổng hoa hồng đã nhận","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"Người dùng bạn mời lại mời người dùng sẽ được chia theo tỷ lệ của số tiền đơn hàng nhân với cấp độ phân phối.",发放时间:"Thời gian thanh toán hoa hồng","{number} 人":"{number} người","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"Nếu địa chỉ đăng ký hoặc tài khoản của bạn bị rò rỉ và bị người khác lạm dụng, bạn có thể đặt lại thông tin đăng ký tại đây để tránh mất mát không cần thiết.",再次输入密码:"Nhập lại mật khẩu",返回登陆:"Quay lại Đăng nhập",选填:"Tùy chọn",必填:"Bắt buộc",最后回复时间:"Thời gian Trả lời Cuối cùng",请选项工单等级:"Vui lòng Chọn Mức độ Ưu tiên Công việc",回复:"Trả lời",输入内容回复工单:"Nhập Nội dung để Trả lời Công việc",已生成:"Đã tạo",选择协议:"Chọn Giao thức",自动:"Tự động",流量重置包:"Gói Reset Dữ liệu",复制失败:"Sao chép thất bại",提示:"Thông báo","确认退出?":"Xác nhận Đăng xuất?",已退出登录:"Đã đăng xuất thành công",请输入邮箱地址:"Nhập địa chỉ email","{second}秒后可重新发送":"Gửi lại sau {second} giây",发送成功:"Gửi thành công",请输入账号密码:"Nhập tên đăng nhập và mật khẩu",请确保两次密码输入一致:"Đảm bảo hai lần nhập mật khẩu giống nhau",注册成功:"Đăng ký thành công","重置密码成功,正在返回登录":"Đặt lại mật khẩu thành công, đang quay trở lại trang đăng nhập",确认取消:"Xác nhận Hủy","请注意,变更订阅会导致当前订阅被覆盖。":"Vui lòng lưu ý rằng thay đổi đăng ký sẽ ghi đè lên đăng ký hiện tại.","订单提交成功,正在跳转支付":"Đơn hàng đã được gửi thành công, đang chuyển hướng đến thanh toán.",回复成功:"Trả lời thành công",工单详情:"Chi tiết Ticket",登录成功:"Đăng nhập thành công","确定退出?":"Xác nhận thoát?",支付成功:"Thanh toán thành công",正在前往收银台:"Đang tiến hành thanh toán",请输入正确的划转金额:"Vui lòng nhập số tiền chuyển đúng",划转成功:"Chuyển khoản thành công",提现方式不能为空:"Phương thức rút tiền không được để trống",提现账号不能为空:"Tài khoản rút tiền không được để trống",已绑定:"Đã liên kết",创建成功:"Tạo thành công",关闭成功:"Đóng thành công"},gk=Object.freeze(Object.defineProperty({__proto__:null,default:fBe},Symbol.toStringTag,{value:"Module"})),hBe={请求失败:"请求失败",月付:"月付",季付:"季付",半年付:"半年付",年付:"年付",两年付:"两年付",三年付:"三年付",一次性:"一次性",重置流量包:"重置流量包",待支付:"待支付",开通中:"开通中",已取消:"已取消",已完成:"已完成",已折抵:"已折抵",待确认:"待确认",发放中:"发放中",已发放:"已发放",无效:"无效",个人中心:"个人中心",登出:"登出",搜索:"搜索",仪表盘:"仪表盘",订阅:"订阅",我的订阅:"我的订阅",购买订阅:"购买订阅",财务:"财务",我的订单:"我的订单",我的邀请:"我的邀请",用户:"用户",我的工单:"我的工单",流量明细:"流量明细",使用文档:"使用文档",绑定Telegram获取更多服务:"绑定 Telegram 获取更多服务",点击这里进行绑定:"点击这里进行绑定",公告:"公告",总览:"总览",该订阅长期有效:"该订阅长期有效",已过期:"已过期","已用 {used} / 总计 {total}":"已用 {used} / 总计 {total}",查看订阅:"查看订阅",邮箱:"邮箱",邮箱验证码:"邮箱验证码",发送:"发送",重置密码:"重置密码",返回登入:"返回登入",邀请码:"邀请码",复制链接:"复制链接",完成时间:"完成时间",佣金:"佣金",已注册用户数:"已注册用户数",佣金比例:"佣金比例",确认中的佣金:"确认中的佣金","佣金将会在确认后会到达你的佣金账户。":"佣金将会在确认后到达您的佣金账户。",邀请码管理:"邀请码管理",生成邀请码:"生成邀请码",佣金发放记录:"佣金发放记录",复制成功:"复制成功",密码:"密码",登入:"登入",注册:"注册",忘记密码:"忘记密码","# 订单号":"# 订单号",周期:"周期",订单金额:"订单金额",订单状态:"订单状态",创建时间:"创建时间",操作:"操作",查看详情:"查看详情",请选择支付方式:"请选择支付方式",请检查信用卡支付信息:"请检查信用卡支付信息",订单详情:"订单详情",折扣:"折扣",折抵:"折抵",退款:"退款",支付方式:"支付方式",填写信用卡支付信息:"填写信用卡支付信息","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"您的信用卡信息只会用于当次扣款,系统并不会保存,我们认为这是最安全的。",订单总额:"订单总额",总计:"总计",结账:"结账",等待支付中:"等待支付中","订单系统正在进行处理,请稍等1-3分钟。":"订单系统正在进行处理,请等候 1-3 分钟。","订单由于超时支付已被取消。":"订单由于超时支付已被取消。","订单已支付并开通。":"订单已支付并开通。",选择订阅:"选择订阅",立即订阅:"立即订阅",配置订阅:"配置订阅",付款周期:"付款周期","有优惠券?":"有优惠券?",验证:"验证",下单:"下单","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"请注意,变更订阅会导致当前订阅被新订阅覆盖。",该订阅无法续费:"该订阅无法续费",选择其他订阅:"选择其它订阅",我的钱包:"我的钱包","账户余额(仅消费)":"账户余额(仅消费)","推广佣金(可提现)":"推广佣金(可提现)",钱包组成部分:"钱包组成部分",划转:"划转",推广佣金提现:"推广佣金提现",修改密码:"修改密码",保存:"保存",旧密码:"旧密码",新密码:"新密码",请输入旧密码:"请输入旧密码",请输入新密码:"请输入新密码",通知:"通知",到期邮件提醒:"到期邮件提醒",流量邮件提醒:"流量邮件提醒",绑定Telegram:"绑定 Telegram",立即开始:"立即开始",重置订阅信息:"重置订阅信息",重置:"重置","确定要重置订阅信息?":"确定要重置订阅信息?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"如果您的订阅地址或信息发生泄露可以执行此操作。重置后您的 UUID 及订阅将会变更,需要重新导入订阅。",重置成功:"重置成功",两次新密码输入不同:"两次新密码输入不同",两次密码输入不同:"两次密码输入不同","邀请码(选填)":"邀请码(选填)",'我已阅读并同意 服务条款':'我已阅读并同意 服务条款',请同意服务条款:"请同意服务条款",名称:"名称",标签:"标签",状态:"状态",节点五分钟内节点在线情况:"五分钟内节点在线情况",倍率:"倍率",使用的流量将乘以倍率进行扣除:"使用的流量将乘以倍率进行扣除",更多操作:"更多操作","没有可用节点,如果您未订阅或已过期请":"没有可用节点,如果您未订阅或已过期请","确定重置当前已用流量?":"确定重置当前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。",确定:"确定",低:"低",中:"中",高:"高",主题:"主题",工单级别:"工单级别",工单状态:"工单状态",最后回复:"最后回复",已关闭:"已关闭",待回复:"待回复",已回复:"已回复",查看:"查看",关闭:"关闭",新的工单:"新的工单",确认:"确认",请输入工单主题:"请输入工单主题",工单等级:"工单等级",请选择工单等级:"请选择工单等级",消息:"消息",请描述你遇到的问题:"请描述您遇到的问题",记录时间:"记录时间",实际上行:"实际上行",实际下行:"实际下行",合计:"合计","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量",复制订阅地址:"复制订阅地址",导入到:"导入到",一键订阅:"一键订阅",复制订阅:"复制订阅",推广佣金划转至余额:"推广佣金划转至余额","划转后的余额仅用于{title}消费使用":"划转后的余额仅用于{title}消费使用",当前推广佣金余额:"当前推广佣金余额",划转金额:"划转金额",请输入需要划转到余额的金额:"请输入需要划转到余额的金额","输入内容回复工单...":"输入内容回复工单...",申请提现:"申请提现",取消:"取消",提现方式:"提现方式",请选择提现方式:"请选择提现方式",提现账号:"提现账号",请输入提现账号:"请输入提现账号",我知道了:"我知道了",第一步:"第一步",第二步:"第二步",打开Telegram搜索:"打开 Telegram 搜索",向机器人发送你的:"向机器人发送您的",最后更新:"{date}",还有没支付的订单:"还有没支付的订单",立即支付:"立即支付",条工单正在处理中:"条工单正在处理中",立即查看:"立即查看",节点状态:"节点状态",商品信息:"商品信息",产品名称:"产品名称","类型/周期":"类型/周期",产品流量:"产品流量",订单信息:"订单信息",关闭订单:"关闭订单",订单号:"订单号",优惠金额:"优惠金额",旧订阅折抵金额:"旧订阅折抵金额",退款金额:"退款金额",余额支付:"余额支付",工单历史:"工单历史","已用流量将在 {reset_day} 日后重置":"已用流量将在 {reset_day} 日后重置",已用流量已在今日重置:"已用流量已在今日重置",重置已用流量:"重置已用流量",查看节点状态:"查看节点状态","当前已使用流量达{rate}%":"当前已使用流量达 {rate}%",节点名称:"节点名称","于 {date} 到期,距离到期还有 {day} 天。":"于 {date} 到期,距离到期还有 {day} 天。","Telegram 讨论组":"Telegram 讨论组",立即加入:"立即加入","该订阅无法续费,仅允许新用户购买":"该订阅无法续费,仅允许新用户购买",重置当月流量:"重置当月流量","流量明细仅保留近月数据以供查询。":"流量明细仅保留近一个月数据以供查询。",扣费倍率:"扣费倍率",支付手续费:"支付手续费",续费订阅:"续费订阅",学习如何使用:"学习如何使用",快速将节点导入对应客户端进行使用:"快速将节点导入对应客户端进行使用",对您当前的订阅进行续费:"对您当前的订阅进行续费",对您当前的订阅进行购买:"对您当前的订阅进行购买",捷径:"捷径","不会使用,查看使用教程":"不会使用,查看使用教程",使用支持扫码的客户端进行订阅:"使用支持扫码的客户端进行订阅",扫描二维码订阅:"扫描二维码订阅",续费:"续费",购买:"购买",查看教程:"查看教程",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"您还有未完成的订单,购买前需要先取消,确定要取消之前的订单吗?",确定取消:"确定取消",返回我的订单:"返回我的订单","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?",选择最适合你的计划:"选择最适合您的计划",全部:"全部",按周期:"按周期",遇到问题:"遇到问题",遇到问题可以通过工单与我们沟通:"遇到问题可以通过工单与我们沟通",按流量:"按流量",搜索文档:"搜索文档",技术支持:"技术支持",当前剩余佣金:"当前剩余佣金",三级分销比例:"三级分销比例",累计获得佣金:"累计获得佣金","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。",发放时间:"发放时间","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。",再次输入密码:"再次输入密码",返回登陆:"返回登录",选填:"选填",必填:"必填",最后回复时间:"最后回复时间",请选项工单等级:"请选择工单优先级",回复:"回复",输入内容回复工单:"输入内容回复工单",已生成:"已生成",选择协议:"选择协议",自动:"自动",流量重置包:"流量重置包",复制失败:"复制失败",提示:"提示","确认退出?":"确认退出?",已退出登录:"已成功退出登录",请输入邮箱地址:"请输入邮箱地址","{second}秒后可重新发送":"{second}秒后可重新发送",发送成功:"发送成功",请输入账号密码:"请输入账号密码",请确保两次密码输入一致:"请确保两次密码输入一致",注册成功:"注册成功","重置密码成功,正在返回登录":"重置密码成功,正在返回登录",确认取消:"确认取消","请注意,变更订阅会导致当前订阅被覆盖。":"请注意,变更订阅会导致当前订阅被覆盖。","订单提交成功,正在跳转支付":"订单提交成功,正在跳转支付",回复成功:"回复成功",工单详情:"工单详情",登录成功:"登录成功","确定退出?":"确定退出?",支付成功:"支付成功",正在前往收银台:"正在前往收银台",请输入正确的划转金额:"请输入正确的划转金额",划转成功:"划转成功",提现方式不能为空:"提现方式不能为空",提现账号不能为空:"提现账号不能为空",已绑定:"已绑定",创建成功:"创建成功",关闭成功:"关闭成功"},vk=Object.freeze(Object.defineProperty({__proto__:null,default:hBe},Symbol.toStringTag,{value:"Module"})),pBe={请求失败:"請求失敗",月付:"月繳制",季付:"季繳",半年付:"半年缴",年付:"年繳",两年付:"兩年繳",三年付:"三年繳",一次性:"一次性",重置流量包:"重置流量包",待支付:"待支付",开通中:"開通中",已取消:"已取消",已完成:"已完成",已折抵:"已折抵",待确认:"待確認",发放中:"發放中",已发放:"已發放",无效:"無效",个人中心:"您的帳戸",登出:"登出",搜索:"搜尋",仪表盘:"儀表板",订阅:"訂閱",我的订阅:"我的訂閱",购买订阅:"購買訂閱",财务:"財務",我的订单:"我的訂單",我的邀请:"我的邀請",用户:"使用者",我的工单:"我的工單",流量明细:"流量明細",使用文档:"說明文件",绑定Telegram获取更多服务:"綁定 Telegram 獲取更多服務",点击这里进行绑定:"點擊這裡進行綁定",公告:"公告",总览:"總覽",该订阅长期有效:"該訂閱長期有效",已过期:"已過期","已用 {used} / 总计 {total}":"已用 {used} / 總計 {total}",查看订阅:"查看訂閱",邮箱:"郵箱",邮箱验证码:"郵箱驗證碼",发送:"傳送",重置密码:"重設密碼",返回登入:"返回登錄",邀请码:"邀請碼",复制链接:"複製鏈接",完成时间:"完成時間",佣金:"佣金",已注册用户数:"已註冊用戶數",佣金比例:"佣金比例",确认中的佣金:"確認中的佣金","佣金将会在确认后会到达你的佣金账户。":"佣金將會在確認後到達您的佣金帳戶。",邀请码管理:"邀請碼管理",生成邀请码:"生成邀請碼",佣金发放记录:"佣金發放記錄",复制成功:"複製成功",密码:"密碼",登入:"登入",注册:"註冊",忘记密码:"忘記密碼","# 订单号":"# 訂單號",周期:"週期",订单金额:"訂單金額",订单状态:"訂單狀態",创建时间:"創建時間",操作:"操作",查看详情:"查看詳情",请选择支付方式:"請選擇支付方式",请检查信用卡支付信息:"請檢查信用卡支付資訊",订单详情:"訂單詳情",折扣:"折扣",折抵:"折抵",退款:"退款",支付方式:"支付方式",填写信用卡支付信息:"填寫信用卡支付資訊","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"您的信用卡資訊只會被用作當次扣款,系統並不會保存,我們認為這是最安全的。",订单总额:"訂單總額",总计:"總計",结账:"結賬",等待支付中:"等待支付中","订单系统正在进行处理,请稍等1-3分钟。":"訂單系統正在進行處理,請稍等 1-3 分鐘。","订单由于超时支付已被取消。":"訂單由於支付超時已被取消","订单已支付并开通。":"訂單已支付並開通",选择订阅:"選擇訂閱",立即订阅:"立即訂閱",配置订阅:"配置訂閱",付款周期:"付款週期","有优惠券?":"有優惠券?",验证:"驗證",下单:"下單","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"請注意,變更訂閱會導致當前訂閱被新訂閱覆蓋。",该订阅无法续费:"該訂閱無法續費",选择其他订阅:"選擇其它訂閱",我的钱包:"我的錢包","账户余额(仅消费)":"賬戶餘額(僅消費)","推广佣金(可提现)":"推廣佣金(可提現)",钱包组成部分:"錢包組成部分",划转:"劃轉",推广佣金提现:"推廣佣金提現",修改密码:"修改密碼",保存:"儲存",旧密码:"舊密碼",新密码:"新密碼",请输入旧密码:"請輸入舊密碼",请输入新密码:"請輸入新密碼",通知:"通知",到期邮件提醒:"到期郵件提醒",流量邮件提醒:"流量郵件提醒",绑定Telegram:"綁定 Telegram",立即开始:"立即開始",重置订阅信息:"重置訂閲資訊",重置:"重置","确定要重置订阅信息?":"確定要重置訂閱資訊?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"如果您的訂閱位址或資訊發生洩露可以執行此操作。重置後您的 UUID 及訂閱將會變更,需要重新導入訂閱。",重置成功:"重置成功",两次新密码输入不同:"兩次新密碼輸入不同",两次密码输入不同:"兩次密碼輸入不同","邀请码(选填)":"邀請碼(選填)",'我已阅读并同意 服务条款':'我已閱讀並同意 服務條款',请同意服务条款:"請同意服務條款",名称:"名稱",标签:"標籤",状态:"狀態",节点五分钟内节点在线情况:"五分鐘內節點線上情況",倍率:"倍率",使用的流量将乘以倍率进行扣除:"使用的流量將乘以倍率進行扣除",更多操作:"更多操作","没有可用节点,如果您未订阅或已过期请":"沒有可用節點,如果您未訂閱或已過期請","确定重置当前已用流量?":"確定重置當前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"點擊「確定」將會跳轉到收銀台,支付訂單後系統將會清空您當月已使用流量。",确定:"確定",低:"低",中:"中",高:"高",主题:"主題",工单级别:"工單級別",工单状态:"工單狀態",最后回复:"最新回復",已关闭:"已關閉",待回复:"待回復",已回复:"已回復",查看:"檢視",关闭:"關閉",新的工单:"新的工單",确认:"確認",请输入工单主题:"請輸入工單主題",工单等级:"工單等級",请选择工单等级:"請選擇工單等級",消息:"訊息",请描述你遇到的问题:"請描述您遇到的問題",记录时间:"記錄時間",实际上行:"實際上行",实际下行:"實際下行",合计:"合計","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"公式:(實際上行 + 實際下行) x 扣費倍率 = 扣除流量",复制订阅地址:"複製訂閲位址",导入到:"导入到",一键订阅:"一鍵訂閲",复制订阅:"複製訂閲",推广佣金划转至余额:"推廣佣金劃轉至餘額","划转后的余额仅用于{title}消费使用":"劃轉后的餘額僅用於 {title} 消費使用",当前推广佣金余额:"當前推廣佣金餘額",划转金额:"劃轉金額",请输入需要划转到余额的金额:"請輸入需要劃轉到餘額的金額","输入内容回复工单...":"輸入内容回復工單…",申请提现:"申請提現",取消:"取消",提现方式:"提現方式",请选择提现方式:"請選擇提現方式",提现账号:"提現賬號",请输入提现账号:"請輸入提現賬號",我知道了:"我知道了",第一步:"步驟一",第二步:"步驟二",打开Telegram搜索:"打開 Telegram 並搜索",向机器人发送你的:"向機器人發送您的","最后更新: {date}":"最後更新: {date}",还有没支付的订单:"還有未支付的訂單",立即支付:"立即支付",条工单正在处理中:"條工單正在處理中",立即查看:"立即檢視",节点状态:"節點狀態",商品信息:"商品資訊",产品名称:"產品名稱","类型/周期":"類型/週期",产品流量:"產品流量",订单信息:"訂單信息",关闭订单:"關閉訂單",订单号:"訂單號",优惠金额:"優惠金額",旧订阅折抵金额:"舊訂閲折抵金額",退款金额:"退款金額",余额支付:"餘額支付",工单历史:"工單歷史","已用流量将在 {reset_day} 日后重置":"已用流量將在 {reset_day} 日后重置",已用流量已在今日重置:"已用流量已在今日重置",重置已用流量:"重置已用流量",查看节点状态:"查看節點狀態","当前已使用流量达{rate}%":"當前已用流量達 {rate}%",节点名称:"節點名稱","于 {date} 到期,距离到期还有 {day} 天。":"於 {date} 到期,距離到期還有 {day} 天。","Telegram 讨论组":"Telegram 討論組",立即加入:"立即加入","该订阅无法续费,仅允许新用户购买":"該訂閲無法續費,僅允許新用戶購買",重置当月流量:"重置當月流量","流量明细仅保留近月数据以供查询。":"流量明細僅保留近一個月資料以供查詢。",扣费倍率:"扣费倍率",支付手续费:"支付手續費",续费订阅:"續費訂閲",学习如何使用:"學習如何使用",快速将节点导入对应客户端进行使用:"快速將訂閲導入對應的客戶端進行使用",对您当前的订阅进行续费:"對您的當前訂閲進行續費",对您当前的订阅进行购买:"重新購買您的當前訂閲",捷径:"捷徑","不会使用,查看使用教程":"不會使用,檢視使用檔案",使用支持扫码的客户端进行订阅:"使用支持掃碼的客戶端進行訂閲",扫描二维码订阅:"掃描二維碼訂閲",续费:"續費",购买:"購買",查看教程:"查看教程",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"您还有未完成的订单,购买前需要先取消,确定要取消之前的订单吗?",确定取消:"確定取消",返回我的订单:"返回我的訂單","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"如果您已經付款,取消訂單可能會導致支付失敗,確定要取消訂單嗎?",选择最适合你的计划:"選擇最適合您的計劃",全部:"全部",按周期:"按週期",遇到问题:"遇到問題",遇到问题可以通过工单与我们沟通:"遇到問題您可以通過工單與我們溝通",按流量:"按流量",搜索文档:"搜尋文檔",技术支持:"技術支援",当前剩余佣金:"当前剩余佣金",三级分销比例:"三级分销比例",累计获得佣金:"累计获得佣金","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。",发放时间:"发放时间","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"如果您的訂閱地址或帳戶洩漏並被他人濫用,您可以在此重置訂閱資訊,以避免不必要的損失。",再次输入密码:"請再次輸入密碼",返回登陆:"返回登入",选填:"選填",必填:"必填",最后回复时间:"最後回覆時間",请选项工单等级:"請選擇工單優先級",回复:"回覆",输入内容回复工单:"輸入內容回覆工單",已生成:"已生成",选择协议:"選擇協議",自动:"自動",流量重置包:"流量重置包",复制失败:"複製失敗",提示:"提示","确认退出?":"確認退出?",已退出登录:"已成功登出",请输入邮箱地址:"請輸入電子郵件地址","{second}秒后可重新发送":"{second} 秒後可重新發送",发送成功:"發送成功",请输入账号密码:"請輸入帳號和密碼",请确保两次密码输入一致:"請確保兩次密碼輸入一致",注册成功:"註冊成功","重置密码成功,正在返回登录":"重置密碼成功,正在返回登入",确认取消:"確認取消","请注意,变更订阅会导致当前订阅被覆盖。":"請注意,變更訂閱會導致目前的訂閱被覆蓋。","订单提交成功,正在跳转支付":"訂單提交成功,正在跳轉支付",回复成功:"回覆成功",工单详情:"工單詳情",登录成功:"登入成功","确定退出?":"確定退出?",支付成功:"支付成功",正在前往收银台:"正在前往收銀台",请输入正确的划转金额:"請輸入正確的劃轉金額",划转成功:"劃轉成功",提现方式不能为空:"提現方式不能為空",提现账号不能为空:"提現帳號不能為空",已绑定:"已綁定",创建成功:"創建成功",关闭成功:"關閉成功"},bk=Object.freeze(Object.defineProperty({__proto__:null,default:pBe},Symbol.toStringTag,{value:"Module"}))});export default mBe(); +`:">",i)};Xa.prototype.renderInline=function(e,t,n){for(var o,r="",i=this.rules,a=0,s=e.length;a\s]/i.test(e)}function gOe(e){return/^<\/a\s*>/i.test(e)}var vOe=function(t){var n,o,r,i,a,s,l,c,u,d,f,h,p,g,m,b,_=t.tokens,C;if(t.md.options.linkify){for(o=0,r=_.length;o=0;n--){if(s=i[n],s.type==="link_close"){for(n--;i[n].level!==s.level&&i[n].type!=="link_open";)n--;continue}if(s.type==="html_inline"&&(mOe(s.content)&&p>0&&p--,gOe(s.content)&&p++),!(p>0)&&s.type==="text"&&t.md.linkify.test(s.content)){for(u=s.content,C=t.md.linkify.match(u),l=[],h=s.level,f=0,C.length>0&&C[0].index===0&&n>0&&i[n-1].type==="text_special"&&(C=C.slice(1)),c=0;cf&&(a=new t.Token("text","",0),a.content=u.slice(f,d),a.level=h,l.push(a)),a=new t.Token("link_open","a",1),a.attrs=[["href",m]],a.level=h++,a.markup="linkify",a.info="auto",l.push(a),a=new t.Token("text","",0),a.content=b,a.level=h,l.push(a),a=new t.Token("link_close","a",-1),a.level=--h,a.markup="linkify",a.info="auto",l.push(a),f=C[c].lastIndex);f=0;t--)n=e[t],n.type==="text"&&!o&&(n.content=n.content.replace(yOe,COe)),n.type==="link_open"&&n.info==="auto"&&o--,n.type==="link_close"&&n.info==="auto"&&o++}function _Oe(e){var t,n,o=0;for(t=e.length-1;t>=0;t--)n=e[t],n.type==="text"&&!o&&bk.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&o--,n.type==="link_close"&&n.info==="auto"&&o++}var SOe=function(t){var n;if(t.md.options.typographer)for(n=t.tokens.length-1;n>=0;n--)t.tokens[n].type==="inline"&&(bOe.test(t.tokens[n].content)&&wOe(t.tokens[n].children),bk.test(t.tokens[n].content)&&_Oe(t.tokens[n].children))},D1=Ft.isWhiteSpace,L1=Ft.isPunctChar,F1=Ft.isMdAsciiPunct,kOe=/['"]/,B1=/['"]/g,N1="’";function Xl(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function POe(e,t){var n,o,r,i,a,s,l,c,u,d,f,h,p,g,m,b,_,C,S,w,x;for(S=[],n=0;n=0&&!(S[_].level<=l);_--);if(S.length=_+1,o.type==="text"){r=o.content,a=0,s=r.length;e:for(;a=0)u=r.charCodeAt(i.index-1);else for(_=n-1;_>=0&&!(e[_].type==="softbreak"||e[_].type==="hardbreak");_--)if(e[_].content){u=e[_].content.charCodeAt(e[_].content.length-1);break}if(d=32,a=48&&u<=57&&(b=m=!1),m&&b&&(m=f,b=h),!m&&!b){C&&(o.content=Xl(o.content,i.index,N1));continue}if(b){for(_=S.length-1;_>=0&&(c=S[_],!(S[_].level=0;n--)t.tokens[n].type!=="inline"||!kOe.test(t.tokens[n].content)||POe(t.tokens[n].children,t)},ROe=function(t){var n,o,r,i,a,s,l=t.tokens;for(n=0,o=l.length;n=0&&(o=this.attrs[n][1]),o};Za.prototype.attrJoin=function(t,n){var o=this.attrIndex(t);o<0?this.attrPush([t,n]):this.attrs[o][1]=this.attrs[o][1]+" "+n};var Wm=Za,EOe=Wm;function yk(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}yk.prototype.Token=EOe;var $Oe=yk,AOe=Vm,gf=[["normalize",dOe],["block",fOe],["inline",hOe],["linkify",vOe],["replacements",SOe],["smartquotes",TOe],["text_join",ROe]];function Um(){this.ruler=new AOe;for(var e=0;eo||(u=n+1,t.sCount[u]=4||(s=t.bMarks[u]+t.tShift[u],s>=t.eMarks[u])||(w=t.src.charCodeAt(s++),w!==124&&w!==45&&w!==58)||s>=t.eMarks[u]||(x=t.src.charCodeAt(s++),x!==124&&x!==45&&x!==58&&!vf(x))||w===45&&vf(x))return!1;for(;s=4||(d=H1(a),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),f=d.length,f===0||f!==p.length))return!1;if(r)return!0;for(_=t.parentType,t.parentType="table",S=t.md.block.ruler.getRules("blockquote"),h=t.push("table_open","table",1),h.map=m=[n,0],h=t.push("thead_open","thead",1),h.map=[n,n+1],h=t.push("tr_open","tr",1),h.map=[n,n+1],l=0;l=4)break;for(d=H1(a),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),u===n+2&&(h=t.push("tbody_open","tbody",1),h.map=b=[n+2,0]),h=t.push("tr_open","tr",1),h.map=[u,u+1],l=0;l=4){r++,i=r;continue}break}return t.line=i,a=t.push("code_block","code",0),a.content=t.getLines(n,i,4+t.blkIndent,!1)+` +`,a.map=[n,t.line],!0},zOe=function(t,n,o,r){var i,a,s,l,c,u,d,f=!1,h=t.bMarks[n]+t.tShift[n],p=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||h+3>p||(i=t.src.charCodeAt(h),i!==126&&i!==96)||(c=h,h=t.skipChars(h,i),a=h-c,a<3)||(d=t.src.slice(c,h),s=t.src.slice(h,p),i===96&&s.indexOf(String.fromCharCode(i))>=0))return!1;if(r)return!0;for(l=n;l++,!(l>=o||(h=c=t.bMarks[l]+t.tShift[l],p=t.eMarks[l],h=4)&&(h=t.skipChars(h,i),!(h-c=4||t.src.charCodeAt(T)!==62)return!1;if(r)return!0;for(p=[],g=[],_=[],C=[],x=t.md.block.ruler.getRules("blockquote"),b=t.parentType,t.parentType="blockquote",f=n;f=E));f++){if(t.src.charCodeAt(T++)===62&&!P){for(l=t.sCount[f]+1,t.src.charCodeAt(T)===32?(T++,l++,i=!1,S=!0):t.src.charCodeAt(T)===9?(S=!0,(t.bsCount[f]+l)%4===3?(T++,l++,i=!1):i=!0):S=!1,h=l,p.push(t.bMarks[f]),t.bMarks[f]=T;T=E,g.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(S?1:0),_.push(t.sCount[f]),t.sCount[f]=h-l,C.push(t.tShift[f]),t.tShift[f]=T-t.bMarks[f];continue}if(u)break;for(w=!1,s=0,c=x.length;s",y.map=d=[n,0],t.md.block.tokenize(t,n,f),y=t.push("blockquote_close","blockquote",-1),y.markup=">",t.lineMax=k,t.parentType=b,d[1]=t.line,s=0;s=4||(i=t.src.charCodeAt(c++),i!==42&&i!==45&&i!==95))return!1;for(a=1;c=i||(n=e.src.charCodeAt(r++),n<48||n>57))return-1;for(;;){if(r>=i)return-1;if(n=e.src.charCodeAt(r++),n>=48&&n<=57){if(r-o>=10)return-1;continue}if(n===41||n===46)break;return-1}return r=4||t.listIndent>=0&&t.sCount[M]-t.listIndent>=4&&t.sCount[M]=t.blkIndent&&(G=!0),(T=V1(t,M))>=0){if(d=!0,R=t.bMarks[M]+t.tShift[M],b=Number(t.src.slice(R,T-1)),G&&b!==1)return!1}else if((T=j1(t,M))>=0)d=!1;else return!1;if(G&&t.skipSpaces(T)>=t.eMarks[M])return!1;if(r)return!0;for(m=t.src.charCodeAt(T-1),g=t.tokens.length,d?(D=t.push("ordered_list_open","ol",1),b!==1&&(D.attrs=[["start",b]])):D=t.push("bullet_list_open","ul",1),D.map=p=[M,0],D.markup=String.fromCharCode(m),E=!1,N=t.md.block.ruler.getRules("list"),w=t.parentType,t.parentType="list";M=_?c=1:c=C-u,c>4&&(c=1),l=u+c,D=t.push("list_item_open","li",1),D.markup=String.fromCharCode(m),D.map=f=[M,0],d&&(D.info=t.src.slice(R,T-1)),P=t.tight,y=t.tShift[M],x=t.sCount[M],S=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=l,t.tight=!0,t.tShift[M]=a-t.bMarks[M],t.sCount[M]=C,a>=_&&t.isEmpty(M+1)?t.line=Math.min(t.line+2,o):t.md.block.tokenize(t,M,o,!0),(!t.tight||E)&&(J=!1),E=t.line-M>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=S,t.tShift[M]=y,t.sCount[M]=x,t.tight=P,D=t.push("list_item_close","li",-1),D.markup=String.fromCharCode(m),M=t.line,f[1]=M,M>=o||t.sCount[M]=4)break;for(K=!1,s=0,h=N.length;s=4||t.src.charCodeAt(x)!==91)return!1;for(;++x3)&&!(t.sCount[P]<0)){for(_=!1,u=0,d=C.length;u"u"&&(t.env.references={}),typeof t.env.references[f]>"u"&&(t.env.references[f]={title:S,href:c}),t.parentType=p,t.line=n+w+1),!0)},WOe=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Xu={},UOe="[a-zA-Z_:][a-zA-Z0-9:._-]*",qOe="[^\"'=<>`\\x00-\\x20]+",KOe="'[^']*'",GOe='"[^"]*"',YOe="(?:"+qOe+"|"+KOe+"|"+GOe+")",XOe="(?:\\s+"+UOe+"(?:\\s*=\\s*"+YOe+")?)",Ck="<[A-Za-z][A-Za-z0-9\\-]*"+XOe+"*\\s*\\/?>",wk="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",ZOe="|",JOe="<[?][\\s\\S]*?[?]>",QOe="]*>",eMe="",tMe=new RegExp("^(?:"+Ck+"|"+wk+"|"+ZOe+"|"+JOe+"|"+QOe+"|"+eMe+")"),nMe=new RegExp("^(?:"+Ck+"|"+wk+")");Xu.HTML_TAG_RE=tMe;Xu.HTML_OPEN_CLOSE_TAG_RE=nMe;var oMe=WOe,rMe=Xu.HTML_OPEN_CLOSE_TAG_RE,ia=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(rMe.source+"\\s*$"),/^$/,!1]],iMe=function(t,n,o,r){var i,a,s,l,c=t.bMarks[n]+t.tShift[n],u=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||!t.md.options.html||t.src.charCodeAt(c)!==60)return!1;for(l=t.src.slice(c,u),i=0;i=4||(i=t.src.charCodeAt(c),i!==35||c>=u))return!1;for(a=1,i=t.src.charCodeAt(++c);i===35&&c6||cc&&W1(t.src.charCodeAt(s-1))&&(u=s),t.line=n+1,l=t.push("heading_open","h"+String(a),1),l.markup="########".slice(0,a),l.map=[n,t.line],l=t.push("inline","",0),l.content=t.src.slice(c,u).trim(),l.map=[n,t.line],l.children=[],l=t.push("heading_close","h"+String(a),-1),l.markup="########".slice(0,a)),!0)},sMe=function(t,n,o){var r,i,a,s,l,c,u,d,f,h=n+1,p,g=t.md.block.ruler.getRules("paragraph");if(t.sCount[n]-t.blkIndent>=4)return!1;for(p=t.parentType,t.parentType="paragraph";h3)){if(t.sCount[h]>=t.blkIndent&&(c=t.bMarks[h]+t.tShift[h],u=t.eMarks[h],c=u)))){d=f===61?1:2;break}if(!(t.sCount[h]<0)){for(i=!1,a=0,s=g.length;a3)&&!(t.sCount[u]<0)){for(i=!1,a=0,s=d.length;a0&&this.level++,this.tokens.push(o),o};Yo.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};Yo.prototype.skipEmptyLines=function(t){for(var n=this.lineMax;tn;)if(!Zu(this.src.charCodeAt(--t)))return t+1;return t};Yo.prototype.skipChars=function(t,n){for(var o=this.src.length;to;)if(n!==this.src.charCodeAt(--t))return t+1;return t};Yo.prototype.getLines=function(t,n,o,r){var i,a,s,l,c,u,d,f=t;if(t>=n)return"";for(u=new Array(n-t),i=0;fo?u[i]=new Array(a-o+1).join(" ")+this.src.slice(l,c):u[i]=this.src.slice(l,c)}return u.join("")};Yo.prototype.Token=_k;var cMe=Yo,uMe=Vm,Jl=[["table",OOe,["paragraph","reference"]],["code",MOe],["fence",zOe,["paragraph","reference","blockquote","list"]],["blockquote",LOe,["paragraph","reference","blockquote","list"]],["hr",BOe,["paragraph","reference","blockquote","list"]],["list",HOe,["paragraph","reference","blockquote"]],["reference",VOe],["html_block",iMe,["paragraph","reference","blockquote"]],["heading",aMe,["paragraph","reference","blockquote"]],["lheading",sMe],["paragraph",lMe]];function Ju(){this.ruler=new uMe;for(var e=0;e=n||e.sCount[l]=u){e.line=n;break}for(i=e.line,r=0;r=e.line)throw new Error("block rule didn't increment state.line");break}if(!o)throw new Error("none of the block rules matched");e.tight=!c,e.isEmpty(e.line-1)&&(c=!0),l=e.line,l0||(o=t.pos,r=t.posMax,o+3>r)||t.src.charCodeAt(o)!==58||t.src.charCodeAt(o+1)!==47||t.src.charCodeAt(o+2)!==47||(i=t.pending.match(pMe),!i)||(a=i[1],s=t.md.linkify.matchAtStart(t.src.slice(o-a.length)),!s)||(l=s.url,l.length<=a.length)||(l=l.replace(/\*+$/,""),c=t.md.normalizeLink(l),!t.md.validateLink(c))?!1:(n||(t.pending=t.pending.slice(0,-a.length),u=t.push("link_open","a",1),u.attrs=[["href",c]],u.markup="linkify",u.info="auto",u=t.push("text","",0),u.content=t.md.normalizeLinkText(l),u=t.push("link_close","a",-1),u.markup="linkify",u.info="auto"),t.pos+=l.length-a.length,!0)},gMe=Ft.isSpace,vMe=function(t,n){var o,r,i,a=t.pos;if(t.src.charCodeAt(a)!==10)return!1;if(o=t.pending.length-1,r=t.posMax,!n)if(o>=0&&t.pending.charCodeAt(o)===32)if(o>=1&&t.pending.charCodeAt(o-1)===32){for(i=o-1;i>=1&&t.pending.charCodeAt(i-1)===32;)i--;t.pending=t.pending.slice(0,i),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(a++;a?@[]^_`{|}~-".split("").forEach(function(e){qm[e.charCodeAt(0)]=1});var yMe=function(t,n){var o,r,i,a,s,l=t.pos,c=t.posMax;if(t.src.charCodeAt(l)!==92||(l++,l>=c))return!1;if(o=t.src.charCodeAt(l),o===10){for(n||t.push("hardbreak","br",0),l++;l=55296&&o<=56319&&l+1=56320&&r<=57343&&(a+=t.src[l+1],l++)),i="\\"+a,n||(s=t.push("text_special","",0),o<256&&qm[o]!==0?s.content=a:s.content=i,s.markup=i,s.info="escape"),t.pos=l+1,!0},xMe=function(t,n){var o,r,i,a,s,l,c,u,d=t.pos,f=t.src.charCodeAt(d);if(f!==96)return!1;for(o=d,d++,r=t.posMax;d=0;n--)o=t[n],!(o.marker!==95&&o.marker!==42)&&o.end!==-1&&(r=t[o.end],s=n>0&&t[n-1].end===o.end+1&&t[n-1].marker===o.marker&&t[n-1].token===o.token-1&&t[o.end+1].token===r.token+1,a=String.fromCharCode(o.marker),i=e.tokens[o.token],i.type=s?"strong_open":"em_open",i.tag=s?"strong":"em",i.nesting=1,i.markup=s?a+a:a,i.content="",i=e.tokens[r.token],i.type=s?"strong_close":"em_close",i.tag=s?"strong":"em",i.nesting=-1,i.markup=s?a+a:a,i.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[o.end+1].token].content="",n--))}ed.postProcess=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for(K1(t,t.delimiters),n=0;n=g)return!1;if(m=l,c=t.md.helpers.parseLinkDestination(t.src,l,t.posMax),c.ok){for(f=t.md.normalizeLink(c.str),t.md.validateLink(f)?l=c.pos:f="",m=l;l=g||t.src.charCodeAt(l)!==41)&&(b=!0),l++}if(b){if(typeof t.env.references>"u")return!1;if(l=0?i=t.src.slice(m,l++):l=a+1):l=a+1,i||(i=t.src.slice(s,a)),u=t.env.references[CMe(i)],!u)return t.pos=p,!1;f=u.href,h=u.title}return n||(t.pos=s,t.posMax=a,d=t.push("link_open","a",1),d.attrs=o=[["href",f]],h&&o.push(["title",h]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,d=t.push("link_close","a",-1)),t.pos=l,t.posMax=g,!0},_Me=Ft.normalizeReference,xf=Ft.isSpace,SMe=function(t,n){var o,r,i,a,s,l,c,u,d,f,h,p,g,m="",b=t.pos,_=t.posMax;if(t.src.charCodeAt(t.pos)!==33||t.src.charCodeAt(t.pos+1)!==91||(l=t.pos+2,s=t.md.helpers.parseLinkLabel(t,t.pos+1,!1),s<0))return!1;if(c=s+1,c<_&&t.src.charCodeAt(c)===40){for(c++;c<_&&(r=t.src.charCodeAt(c),!(!xf(r)&&r!==10));c++);if(c>=_)return!1;for(g=c,d=t.md.helpers.parseLinkDestination(t.src,c,t.posMax),d.ok&&(m=t.md.normalizeLink(d.str),t.md.validateLink(m)?c=d.pos:m=""),g=c;c<_&&(r=t.src.charCodeAt(c),!(!xf(r)&&r!==10));c++);if(d=t.md.helpers.parseLinkTitle(t.src,c,t.posMax),c<_&&g!==c&&d.ok)for(f=d.str,c=d.pos;c<_&&(r=t.src.charCodeAt(c),!(!xf(r)&&r!==10));c++);else f="";if(c>=_||t.src.charCodeAt(c)!==41)return t.pos=b,!1;c++}else{if(typeof t.env.references>"u")return!1;if(c<_&&t.src.charCodeAt(c)===91?(g=c+1,c=t.md.helpers.parseLinkLabel(t,c),c>=0?a=t.src.slice(g,c++):c=s+1):c=s+1,a||(a=t.src.slice(l,s)),u=t.env.references[_Me(a)],!u)return t.pos=b,!1;m=u.href,f=u.title}return n||(i=t.src.slice(l,s),t.md.inline.parse(i,t.md,t.env,p=[]),h=t.push("image","img",0),h.attrs=o=[["src",m],["alt",""]],h.children=p,h.content=i,f&&o.push(["title",f])),t.pos=c,t.posMax=_,!0},kMe=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,PMe=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,TMe=function(t,n){var o,r,i,a,s,l,c=t.pos;if(t.src.charCodeAt(c)!==60)return!1;for(s=t.pos,l=t.posMax;;){if(++c>=l||(a=t.src.charCodeAt(c),a===60))return!1;if(a===62)break}return o=t.src.slice(s+1,c),PMe.test(o)?(r=t.md.normalizeLink(o),t.md.validateLink(r)?(n||(i=t.push("link_open","a",1),i.attrs=[["href",r]],i.markup="autolink",i.info="auto",i=t.push("text","",0),i.content=t.md.normalizeLinkText(o),i=t.push("link_close","a",-1),i.markup="autolink",i.info="auto"),t.pos+=o.length+2,!0):!1):kMe.test(o)?(r=t.md.normalizeLink("mailto:"+o),t.md.validateLink(r)?(n||(i=t.push("link_open","a",1),i.attrs=[["href",r]],i.markup="autolink",i.info="auto",i=t.push("text","",0),i.content=t.md.normalizeLinkText(o),i=t.push("link_close","a",-1),i.markup="autolink",i.info="auto"),t.pos+=o.length+2,!0):!1):!1},RMe=Xu.HTML_TAG_RE;function EMe(e){return/^\s]/i.test(e)}function $Me(e){return/^<\/a\s*>/i.test(e)}function AMe(e){var t=e|32;return t>=97&&t<=122}var IMe=function(t,n){var o,r,i,a,s=t.pos;return!t.md.options.html||(i=t.posMax,t.src.charCodeAt(s)!==60||s+2>=i)||(o=t.src.charCodeAt(s+1),o!==33&&o!==63&&o!==47&&!AMe(o))||(r=t.src.slice(s).match(RMe),!r)?!1:(n||(a=t.push("html_inline","",0),a.content=r[0],EMe(a.content)&&t.linkLevel++,$Me(a.content)&&t.linkLevel--),t.pos+=r[0].length,!0)},G1=pk,OMe=Ft.has,MMe=Ft.isValidEntityCode,Y1=Ft.fromCodePoint,zMe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,DMe=/^&([a-z][a-z0-9]{1,31});/i,LMe=function(t,n){var o,r,i,a,s=t.pos,l=t.posMax;if(t.src.charCodeAt(s)!==38||s+1>=l)return!1;if(o=t.src.charCodeAt(s+1),o===35){if(i=t.src.slice(s).match(zMe),i)return n||(r=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),a=t.push("text_special","",0),a.content=MMe(r)?Y1(r):Y1(65533),a.markup=i[0],a.info="entity"),t.pos+=i[0].length,!0}else if(i=t.src.slice(s).match(DMe),i&&OMe(G1,i[1]))return n||(a=t.push("text_special","",0),a.content=G1[i[1]],a.markup=i[0],a.info="entity"),t.pos+=i[0].length,!0;return!1};function X1(e){var t,n,o,r,i,a,s,l,c={},u=e.length;if(u){var d=0,f=-2,h=[];for(t=0;ti;n-=h[n]+1)if(r=e[n],r.marker===o.marker&&r.open&&r.end<0&&(s=!1,(r.close||o.open)&&(r.length+o.length)%3===0&&(r.length%3!==0||o.length%3!==0)&&(s=!0),!s)){l=n>0&&!e[n-1].open?h[n-1]+1:0,h[t]=t-n+l,h[n]=l,o.open=!1,r.end=t,r.close=!1,a=-1,f=-2;break}a!==-1&&(c[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}var FMe=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for(X1(t.delimiters),n=0;n0&&r++,i[n].type==="text"&&n+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(r),o};bl.prototype.scanDelims=function(e,t){var n=e,o,r,i,a,s,l,c,u,d,f=!0,h=!0,p=this.posMax,g=this.src.charCodeAt(e);for(o=e>0?this.src.charCodeAt(e-1):32;n=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;t||e.pos++,s[o]=e.pos};yl.prototype.tokenize=function(e){for(var t,n,o,r=this.ruler.getRules(""),i=r.length,a=e.posMax,s=e.md.options.maxNesting;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(t){if(e.pos>=a)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};yl.prototype.parse=function(e,t,n,o){var r,i,a,s=new this.State(e,t,n,o);for(this.tokenize(s),i=this.ruler2.getRules(""),a=i.length,r=0;r|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}),_f}function Wh(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(n){n&&Object.keys(n).forEach(function(o){e[o]=n[o]})}),e}function td(e){return Object.prototype.toString.call(e)}function VMe(e){return td(e)==="[object String]"}function WMe(e){return td(e)==="[object Object]"}function UMe(e){return td(e)==="[object RegExp]"}function ny(e){return td(e)==="[object Function]"}function qMe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Sk={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function KMe(e){return Object.keys(e||{}).reduce(function(t,n){return t||Sk.hasOwnProperty(n)},!1)}var GMe={"http:":{validate:function(e,t,n){var o=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(o)?o.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var o=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(o)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:o.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var o=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(o)?o.match(n.re.mailto)[0].length:0}}},YMe="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",XMe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function ZMe(e){e.__index__=-1,e.__text_cache__=""}function JMe(e){return function(t,n){var o=t.slice(n);return e.test(o)?o.match(e)[0].length:0}}function oy(){return function(e,t){t.normalize(e)}}function jc(e){var t=e.re=jMe()(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(YMe),n.push(t.src_xn),t.src_tlds=n.join("|");function o(s){return s.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(o(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(o(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(o(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(o(t.tpl_host_fuzzy_test),"i");var r=[];e.__compiled__={};function i(s,l){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+l)}Object.keys(e.__schemas__).forEach(function(s){var l=e.__schemas__[s];if(l!==null){var c={validate:null,link:null};if(e.__compiled__[s]=c,WMe(l)){UMe(l.validate)?c.validate=JMe(l.validate):ny(l.validate)?c.validate=l.validate:i(s,l),ny(l.normalize)?c.normalize=l.normalize:l.normalize?i(s,l):c.normalize=oy();return}if(VMe(l)){r.push(s);return}i(s,l)}}),r.forEach(function(s){e.__compiled__[e.__schemas__[s]]&&(e.__compiled__[s].validate=e.__compiled__[e.__schemas__[s]].validate,e.__compiled__[s].normalize=e.__compiled__[e.__schemas__[s]].normalize)}),e.__compiled__[""]={validate:null,normalize:oy()};var a=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(qMe).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),ZMe(e)}function QMe(e,t){var n=e.__index__,o=e.__last_index__,r=e.__text_cache__.slice(n,o);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=o+t,this.raw=r,this.text=r,this.url=r}function Uh(e,t){var n=new QMe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function no(e,t){if(!(this instanceof no))return new no(e,t);t||KMe(e)&&(t=e,e={}),this.__opts__=Wh({},Sk,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Wh({},GMe,e),this.__compiled__={},this.__tlds__=XMe,this.__tlds_replaced__=!1,this.re={},jc(this)}no.prototype.add=function(t,n){return this.__schemas__[t]=n,jc(this),this};no.prototype.set=function(t){return this.__opts__=Wh(this.__opts__,t),this};no.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var n,o,r,i,a,s,l,c,u;if(this.re.schema_test.test(t)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(t))!==null;)if(i=this.testSchemaAt(t,n[2],l.lastIndex),i){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=t.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(r=t.match(this.re.email_fuzzy))!==null&&(a=r.index+r[1].length,s=r.index+r[0].length,(this.__index__<0||athis.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=s))),this.__index__>=0};no.prototype.pretest=function(t){return this.re.pretest.test(t)};no.prototype.testSchemaAt=function(t,n,o){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,o,this):0};no.prototype.match=function(t){var n=0,o=[];this.__index__>=0&&this.__text_cache__===t&&(o.push(Uh(this,n)),n=this.__last_index__);for(var r=n?t.slice(n):t;this.test(r);)o.push(Uh(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return o.length?o:null};no.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;var n=this.re.schema_at_start.exec(t);if(!n)return null;var o=this.testSchemaAt(t,n[2],n[0].length);return o?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o,Uh(this,0)):null};no.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(o,r,i){return o!==i[r-1]}).reverse(),jc(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,jc(this),this)};no.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};no.prototype.onCompile=function(){};var eze=no;const ya=2147483647,Ho=36,Gm=1,nl=26,tze=38,nze=700,kk=72,Pk=128,Tk="-",oze=/^xn--/,rze=/[^\0-\x7F]/,ize=/[\x2E\u3002\uFF0E\uFF61]/g,aze={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Sf=Ho-Gm,jo=Math.floor,kf=String.fromCharCode;function Mr(e){throw new RangeError(aze[e])}function sze(e,t){const n=[];let o=e.length;for(;o--;)n[o]=t(e[o]);return n}function Rk(e,t){const n=e.split("@");let o="";n.length>1&&(o=n[0]+"@",e=n[1]),e=e.replace(ize,".");const r=e.split("."),i=sze(r,t).join(".");return o+i}function Ym(e){const t=[];let n=0;const o=e.length;for(;n=55296&&r<=56319&&nString.fromCodePoint(...e),lze=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Ho},ry=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},$k=function(e,t,n){let o=0;for(e=n?jo(e/nze):e>>1,e+=jo(e/t);e>Sf*nl>>1;o+=Ho)e=jo(e/Sf);return jo(o+(Sf+1)*e/(e+tze))},Xm=function(e){const t=[],n=e.length;let o=0,r=Pk,i=kk,a=e.lastIndexOf(Tk);a<0&&(a=0);for(let s=0;s=128&&Mr("not-basic"),t.push(e.charCodeAt(s));for(let s=a>0?a+1:0;s=n&&Mr("invalid-input");const f=lze(e.charCodeAt(s++));f>=Ho&&Mr("invalid-input"),f>jo((ya-o)/u)&&Mr("overflow"),o+=f*u;const h=d<=i?Gm:d>=i+nl?nl:d-i;if(fjo(ya/p)&&Mr("overflow"),u*=p}const c=t.length+1;i=$k(o-l,c,l==0),jo(o/c)>ya-r&&Mr("overflow"),r+=jo(o/c),o%=c,t.splice(o++,0,r)}return String.fromCodePoint(...t)},Zm=function(e){const t=[];e=Ym(e);const n=e.length;let o=Pk,r=0,i=kk;for(const l of e)l<128&&t.push(kf(l));const a=t.length;let s=a;for(a&&t.push(Tk);s=o&&ujo((ya-r)/c)&&Mr("overflow"),r+=(l-o)*c,o=l;for(const u of e)if(uya&&Mr("overflow"),u===o){let d=r;for(let f=Ho;;f+=Ho){const h=f<=i?Gm:f>=i+nl?nl:f-i;if(d=0))try{t.hostname=Ok.toASCII(t.hostname)}catch{}return yi.encode(yi.format(t))}function Pze(e){var t=yi.parse(e,!0);if(t.hostname&&(!t.protocol||Mk.indexOf(t.protocol)>=0))try{t.hostname=Ok.toUnicode(t.hostname)}catch{}return yi.decode(yi.format(t),yi.decode.defaultChars+"%")}function ho(e,t){if(!(this instanceof ho))return new ho(e,t);t||Os.isString(e)||(t=e||{},e="default"),this.inline=new yze,this.block=new bze,this.core=new vze,this.renderer=new gze,this.linkify=new xze,this.validateLink=Sze,this.normalizeLink=kze,this.normalizeLinkText=Pze,this.utils=Os,this.helpers=Os.assign({},mze),this.options={},this.configure(e),t&&this.set(t)}ho.prototype.set=function(e){return Os.assign(this.options,e),this};ho.prototype.configure=function(e){var t=this,n;if(Os.isString(e)&&(n=e,e=Cze[n],!e))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(o){e.components[o].rules&&t[o].ruler.enableOnly(e.components[o].rules),e.components[o].rules2&&t[o].ruler2.enableOnly(e.components[o].rules2)}),this};ho.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var o=e.filter(function(r){return n.indexOf(r)<0});if(o.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+o);return this};ho.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var o=e.filter(function(r){return n.indexOf(r)<0});if(o.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+o);return this};ho.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};ho.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};ho.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};ho.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};ho.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var Tze=ho,Rze=Tze;const nd=Tp(Rze),Eze={xmlns:"http://www.w3.org/2000/svg",id:"Layer_1",viewBox:"0 0 442.19 323.31"},$ze=U("path",{d:"m72.8 140.45-12.7 145.1h42.41l8.99-102.69h.04l3.67-42.41zM124.16 37.75h-42.4l-5.57 63.61h42.4zM318.36 285.56h42.08l5.57-63.61H323.9z",class:"cls-2"},null,-1),Aze=U("path",{d:"M382.09 37.76H340l-10.84 123.9H221.09l-14.14 161.65 85.83-121.47h145.89l3.52-40.18h-70.94z",class:"cls-2"},null,-1),Ize=U("path",{d:"M149.41 121.47H3.52L0 161.66h221.09L235.23 0z",style:{fill:"#ffbc00"}},null,-1);function Oze(e,t){return me(),ze("svg",Eze,[U("defs",null,[(me(),qe(eu("style"),null,{default:ue(()=>[nt(".cls-2{fill:#000}@media (prefers-color-scheme:dark){.cls-2{fill:#fff}}")]),_:1}))]),$ze,Aze,Ize])}const Mze={render:Oze},zze={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1109 1027"},Dze=J4('',2),Lze=[Dze];function Fze(e,t){return me(),ze("svg",zze,[...Lze])}const Bze={render:Fze},Nze={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64"},Hze=U("g",{fill:"#E29942","clip-path":"url(#clip0_408_56)"},[U("path",{d:"M47.158 14.428c0-.591.31-1.14.818-1.444L61.449 4.9C62.572 4.225 64 5.034 64 6.343V20.21c0 .93-.754 1.685-1.684 1.685H48.842c-.93 0-1.684-.755-1.684-1.685z"}),U("path",{"fill-rule":"evenodd",d:"M24.397 26.46a1.68 1.68 0 0 0-.818 1.443V48c0 .93-.754 1.6-1.684 1.6h-3.369c-.93 0-1.684-.67-1.684-1.6V34.976c0-1.31-1.428-2.118-2.55-1.444L.817 41.617A1.68 1.68 0 0 0 0 43.062v17.572c0 .93.754 1.684 1.684 1.684h13.474c.93 0 1.684-.754 1.684-1.684v-3.803c0-.93.754-1.493 1.684-1.493h3.369c.93 0 1.684.563 1.684 1.493v3.803c0 .93.754 1.684 1.684 1.684h13.474c.93 0 1.684-.754 1.684-1.684V19.818c0-1.309-1.428-2.118-2.55-1.444z","clip-rule":"evenodd"}),U("path",{d:"M47.16 28.8v32c0 .884.753 1.6 1.683 1.6h13.474c.93 0 1.684-.716 1.684-1.6v-32c0-.884-.754-1.6-1.684-1.6H48.843c-.93 0-1.684.716-1.684 1.6"})],-1),jze=[Hze];function Vze(e,t){return me(),ze("svg",Nze,[...jze])}const Wze={render:Vze};var Ms=(e=>(e[e.PENDING=0]="PENDING",e[e.PROCESSING=1]="PROCESSING",e[e.CANCELLED=2]="CANCELLED",e[e.COMPLETED=3]="COMPLETED",e[e.DISCOUNTED=4]="DISCOUNTED",e))(Ms||{});const Uze={0:"待支付",1:"开通中",2:"已取消",3:"已完成",4:"已折抵"},zk={month_price:"月付",quarter_price:"季付",half_year_price:"半年付",year_price:"年付",two_year_price:"两年付",three_year_price:"三年付",onetime_price:"一次性",reset_price:"流量重置包"},Qi=e=>(s4("data-v-8ed2ef0c"),e=e(),l4(),e),qze=["innerHTML"],Kze={class:"w-64"},Gze={class:"text-#666"},Yze={class:"w-64"},Xze={class:"text-#666"},Zze=Qi(()=>U("div",{class:"w-64"},[U("img",{src:gte,class:"h-30 w-30"})],-1)),Jze={class:"text-#666"},Qze={class:"w-64"},eDe={class:"text-#666"},tDe={class:"font-bold"},nDe={class:"mb-20"},oDe={class:"text-center"},rDe={class:"mt-10 text-center"},iDe=Qi(()=>U("div",{class:"w-64"},[U("img",{src:hk,class:"h-30 w-30"})],-1)),aDe={class:"text-#666"},sDe={class:"w-64"},lDe={class:"text-#666"},cDe={class:"w-64"},uDe={class:"text-#666"},dDe=Qi(()=>U("div",{class:"w-64"},[U("img",{src:vte,class:"h-30 w-30 border-rounded-5"})],-1)),fDe={class:"text-#666"},hDe=Qi(()=>U("div",{class:"w-64"},[U("img",{src:bte,class:"h-30 w-30 border-rounded-5"})],-1)),pDe={class:"text-#666"},mDe=Qi(()=>U("div",{class:"w-64"},[U("img",{src:yte,class:"h-30 w-30"})],-1)),gDe={class:"text-#666"},vDe=Qi(()=>U("div",{class:"w-64"},[U("img",{src:hk,class:"h-30 w-30"})],-1)),bDe={class:"text-#666"},yDe=Qi(()=>U("div",{class:"w-64"},[U("img",{src:xte,class:"h-30 w-30"})],-1)),xDe={class:"text-#666"},CDe={class:"p-10 text-center"},wDe={class:"mb-5 md:mb-40"},_De={key:0,class:"mb-10"},SDe={class:"font-bold"},kDe=["onClick"],PDe={class:"carousel-img flex flex-col justify-between p-20",style:{background:"rgba(0, 0, 0, 0.5) !important"}},TDe={class:"text-20"},RDe={class:"text-16 font-600 color-[hsla(0,0%,100%,.75)]"},EDe={class:"text-block mb-16 p-t-20 text-20 font-600"},$De={key:0,class:"mb-16 text-14 text-gray"},ADe={key:1,class:"mb-16 text-14 font-600 text-red-500"},IDe={key:2,class:"mb-16 text-14 text-gray"},ODe={class:"text-gray"},MDe={class:"flex items-center justify-between"},zDe={class:""},DDe={class:"text-16"},LDe={class:"text-14 text-gray"},FDe={class:"flex items-center justify-between"},BDe={class:"text-16"},NDe={class:"text-14 text-gray"},HDe={class:"flex items-center justify-between"},jDe={class:"text-16"},VDe={class:"text-14 text-gray"},WDe={class:"flex items-center justify-between"},UDe={class:"text-16"},qDe={class:"text-14 text-gray"},KDe=be({__name:"index",setup(e){const t=B=>mn.global.t(B),n=IZ(),o=new nd({html:!0}),r=B=>o.render(B),i=Tn(),a=Ji(),s=navigator.userAgent.toLowerCase();let l="unknown";s.includes("windows")?l="windows":s.includes("iphone")||s.includes("ipad")?l="ios":s.includes("macintosh")?l="mac":s.includes("android")&&(l="android");const c=W(!1),u=W();jt(()=>{});const d=W(!1),f=W(!1),h=W(""),p=W(["auto"]),g=[{label:"自动",type:"auto"},{label:"全部",type:"all"},{label:"Vless",type:"vless"},{label:"Hy1",type:"hysteria"},{label:"Hy2",type:"hysteria2"},{label:"Shadowsocks",type:"shadowsocks"},{label:"Vmess",type:"vmess"},{label:"Trojan",type:"trojan"}],m=W([]);function b(B){if(B==="auto"||B==="all"&&p.value.includes("all"))p.value=["auto"];else if(B==="all"&&!p.value.includes("all"))p.value=m.value.map($=>$.type).filter($=>$!=="auto");else{const $=p.value.includes(B);p.value=$?p.value.filter(Y=>Y!==B):[...p.value.filter(Y=>Y!=="auto"),B],EA(m.value.map(Y=>Y.type).filter(Y=>Y!=="auto"&&Y!=="all"),p.value)?p.value.push("all"):p.value=p.value.filter(Y=>Y!=="all")}p.value.length===0&&(p.value=["auto"]),_()}function _(){var $,A,Y;const B=p.value;B.includes("all")?h.value=(($=w.value)==null?void 0:$.subscribe_url)+"&types=all":B.includes("auto")?h.value=((A=w.value)==null?void 0:A.subscribe_url)+"&types=auto":h.value=((Y=w.value)==null?void 0:Y.subscribe_url)+"&types="+p.value.join(",")}function C(B){console.log(B),window.location.href=B}function S(B){return btoa(unescape(encodeURIComponent(B)))}const w=F(()=>a.subscribe);function x(){var Y,ne,fe;const B=(Y=w.value)==null?void 0:Y.transfer_enable,$=((ne=w.value)==null?void 0:ne.u)||0,A=((fe=w.value)==null?void 0:fe.d)||0;return B?Math.floor(($+A)/B*100):0}const{errorColor:y,warningColor:P,successColor:k,primaryColor:T}=n.value;function E(){const B=x();return B>=100?y:B>=70?P:k}async function R(){var fe,Q;if(!await window.$dialog.confirm({title:t("确定重置当前已用流量?"),type:"info",content:t("点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。"),showIcon:!1}))return;const $=(fe=await Hm())==null?void 0:fe.data,A=$==null?void 0:$.find(xe=>xe.status===Ms.PENDING);if(A)if(await window.$dialog.confirm({title:t("注意"),type:"info",content:t("你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?"),positiveText:t("确认取消"),negativeText:t("返回我的订单"),showIcon:!1})){const H=A.trade_no;if(!await Wu(H))return}else{Gt.push("order");return}const Y=(Q=w.value)==null?void 0:Q.plan_id;if(!Y)return;const{data:ne}=await ck(Y,"reset_price");ne&&Gt.push("order/"+ne)}const K=W([]);async function N(){const{data:B}=await AJ();K.value=B,B.map($=>{var A;(A=$.tags)!=null&&A.includes("弹窗")&&(c.value=!0,u.value=$)})}const D=W([0,0,0]);async function M(){const{data:B}=await EJ();B&&(D.value=B)}const G=W(),J=W();async function he(){const{data:B}=await lk();if(B){G.value=B;const A=[...new Set(B.map(Y=>{let ne=Y.type;return Y.type==="hysteria"&&Y.version==2&&(ne="hysteria2"),ne}))];J.value=A,m.value=g.filter(Y=>A.includes(Y.type)||["auto","all"].includes(Y.type))}}function pe(){N(),a.getUserSubscribe(),M(),he()}return hn(()=>{pe()}),(B,$)=>{const A=ni,Y=mte,ne=Om,fe=vr,Q=ute,xe=ml,H=JS,ye=go,Oe=Im,Ne=Xi,L=zt,O=pl,oe=Ti,_e=ZV,te=vl,ge=Zi,ke=GX,I=ite,j=ete,ee=Yee,Ce=Wee,ce=Bee,le=vo;return me(),qe(le,{"show-footer":!1},{default:ue(()=>{var re,de,De,Le;return[ie(A,{show:c.value,"onUpdate:show":$[0]||($[0]=Pe=>c.value=Pe),class:"mx-10 max-w-100% w-600 md:mx-auto",preset:"card",title:(re=u.value)==null?void 0:re.title,size:"huge",bordered:!1,"content-style":"padding-top:0",segmented:{content:!1}},{default:ue(()=>{var Pe;return[U("div",{innerHTML:r(((Pe=u.value)==null?void 0:Pe.content)||""),class:"markdown-body custom-html-style"},null,8,qze)]}),_:1},8,["show","title"]),ie(A,{show:d.value,"onUpdate:show":$[15]||($[15]=Pe=>d.value=Pe),"transform-origin":"center","auto-focus":!1,"display-directive":"show","trap-focus":!1},{default:ue(()=>[ie(ye,{class:"max-w-100% w-300",bordered:!1,size:"huge",contentStyle:"padding:0"},{default:ue(()=>[ie(Oe,{hoverable:""},{default:ue(()=>{var Pe,Fe;return[ie(ne,{class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[1]||($[1]=He=>{var Ie,Qe;return((Ie=w.value)==null?void 0:Ie.subscribe_url)&&we(ma)((Qe=w.value)==null?void 0:Qe.subscribe_url)})},[U("div",Kze,[ie(Y,{class:"text-30 text-#595959"})]),U("div",Gze,se(B.$t("复制订阅地址")),1)])]),_:1}),(Pe=J.value)!=null&&Pe.includes("hysteria2")?(me(),qe(ne,{key:0,class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[2]||($[2]=He=>{var Ie,Qe;return((Ie=w.value)==null?void 0:Ie.subscribe_url)&&we(ma)(((Qe=w.value)==null?void 0:Qe.subscribe_url)+"&types=hysteria2")})},[U("div",Yze,[ie(fe,{size:"30"},{default:ue(()=>[ie(we(Mze))]),_:1})]),U("div",Xze,se(B.$t("复制HY2订阅地址")),1)])]),_:1})):pt("",!0),(Fe=J.value)!=null&&Fe.includes("vless")?(me(),qe(ne,{key:1,class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[3]||($[3]=He=>{var Ie,Qe;return((Ie=w.value)==null?void 0:Ie.subscribe_url)&&we(ma)(((Qe=w.value)==null?void 0:Qe.subscribe_url)+"&types=vless")})},[Zze,U("div",Jze,se(B.$t("复制Vless订阅地址")),1)])]),_:1})):pt("",!0),ie(ne,{class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[5]||($[5]=He=>{var Ie;return h.value=((Ie=w.value)==null?void 0:Ie.subscribe_url)||"",f.value=!0})},[U("div",Qze,[ie(Q,{class:"text-30 text-#595959"})]),U("div",eDe,se(B.$t("扫描二维码订阅")),1),ie(A,{show:f.value,"onUpdate:show":$[4]||($[4]=He=>f.value=He)},{default:ue(()=>[ie(ye,{class:"w-300"},{default:ue(()=>[U("div",tDe,se(B.$t("选择协议"))+":",1),U("div",nDe,[(me(!0),ze(it,null,Hn(m.value,He=>(me(),qe(xe,{key:He.type,value:He.type,checked:p.value.includes(He.type),onClick:Ie=>b(He.type)},{default:ue(()=>[nt(se(B.$t(He.label)),1)]),_:2},1032,["value","checked","onClick"]))),128))]),U("div",oDe,[ie(H,{value:h.value,"icon-src":we(i).logo,size:140,color:we(T),style:{"box-sizing":"content-box"}},null,8,["value","icon-src","color"])]),U("div",rDe,se(B.$t("使用支持扫码的客户端进行订阅")),1)]),_:1})]),_:1},8,["show"])])]),_:1}),["mac"].includes(we(l))?(me(),qe(ne,{key:2,class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[6]||($[6]=He=>{var Ie;return((Ie=w.value)==null?void 0:Ie.subscribe_url)&&C("clash://install-config?url="+w.value.subscribe_url+`&name=${we(i).title}`)})},[iDe,U("div",aDe,se(B.$t("导入到"))+" ClashX Meta",1)])]),_:1})):pt("",!0),["mac","android","windows"].includes(we(l))?(me(),qe(ne,{key:3,class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[7]||($[7]=He=>{var Ie;return((Ie=w.value)==null?void 0:Ie.subscribe_url)&&C("sing-box://import-remote-profile?url="+encodeURIComponent(w.value.subscribe_url)+`#${encodeURIComponent(we(i).title||"")}`)})},[U("div",sDe,[ie(fe,{size:"30"},{default:ue(()=>[ie(we(Wze))]),_:1})]),U("div",lDe,se(B.$t("导入到"))+" Hiddify Next",1)])]),_:1})):pt("",!0),["android","mac","ios"].includes(we(l))?(me(),qe(ne,{key:4,class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[8]||($[8]=He=>{var Ie;return((Ie=w.value)==null?void 0:Ie.subscribe_url)&&C("sing-box://import-remote-profile?url="+encodeURIComponent(w.value.subscribe_url)+`#${encodeURIComponent(we(i).title||"")}`)})},[U("div",cDe,[ie(fe,{size:"30"},{default:ue(()=>[ie(we(Bze))]),_:1})]),U("div",uDe,se(B.$t("导入到"))+" sing-box",1)])]),_:1})):pt("",!0),["mac","ios"].includes(we(l))?(me(),qe(ne,{key:5,class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[9]||($[9]=He=>{var Ie;return((Ie=w.value)==null?void 0:Ie.subscribe_url)&&C("shadowrocket://add/sub://"+S(w.value.subscribe_url).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")+`?remark=${we(i).title}`)})},[dDe,U("div",fDe,se(B.$t("导入到"))+" Shadowsocket",1)])]),_:1})):pt("",!0),["mac","ios"].includes(we(l))?(me(),qe(ne,{key:6,class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[10]||($[10]=He=>{var Ie;return((Ie=w.value)==null?void 0:Ie.subscribe_url)&&C("stash://install-config?url="+encodeURIComponent(w.value.subscribe_url)+`&name=${we(i).title}`)})},[hDe,U("div",pDe,se(B.$t("导入到"))+" Stash",1)])]),_:1})):pt("",!0),["android"].includes(we(l))?(me(),qe(ne,{key:7,class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[11]||($[11]=He=>{var Ie;return((Ie=w.value)==null?void 0:Ie.subscribe_url)&&C("clash://install-config?url="+w.value.subscribe_url+`&name=${we(i).title}`)})},[mDe,U("div",gDe,se(B.$t("导入到"))+" NekoBox",1)])]),_:1})):pt("",!0),["android"].includes(we(l))?(me(),qe(ne,{key:8,class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[12]||($[12]=He=>{var Ie;return((Ie=w.value)==null?void 0:Ie.subscribe_url)&&C("clash://install-config?url="+w.value.subscribe_url+`&name=${we(i).title}`)})},[vDe,U("div",bDe,se(B.$t("导入到"))+" Clash Meta",1)])]),_:1})):pt("",!0),["windows"].includes(we(l))?(me(),qe(ne,{key:9,class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[13]||($[13]=He=>{var Ie;return((Ie=w.value)==null?void 0:Ie.subscribe_url)&&C("clash://install-config?url="+w.value.subscribe_url+`&name=${we(i).title}`)})},[yDe,U("div",xDe,se(B.$t("导入到"))+" Clash",1)])]),_:1})):pt("",!0)]}),_:1}),ie(Ne,{class:"m-0!"}),U("div",CDe,[ie(L,{type:"primary",class:"w-100%",size:"large",onClick:$[14]||($[14]=Pe=>B.$router.push("/knowledge"))},{default:ue(()=>[nt(se(B.$t("不会使用,查看使用教程")),1)]),_:1})])]),_:1})]),_:1},8,["show"]),U("div",wDe,[D.value[1]&&D.value[1]>0||D.value[0]&&D.value[0]>0?(me(),ze("div",_De,[D.value[1]&&D.value[1]>0?(me(),qe(O,{key:0,type:"warning","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:ue(()=>[nt(se(D.value[1])+" "+se(B.$t("条工单正在处理中"))+" ",1),ie(L,{strong:"",text:"",onClick:$[16]||($[16]=Pe=>we(Gt).push("/ticket"))},{default:ue(()=>[nt(se(B.$t("立即查看")),1)]),_:1})]),_:1})):pt("",!0),D.value[0]&&D.value[0]>0?(me(),qe(O,{key:1,type:"error","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:ue(()=>[nt(se(B.$t("还有没支付的订单"))+" ",1),ie(L,{text:"",strong:"",onClick:$[17]||($[17]=Pe=>we(Gt).push("/order"))},{default:ue(()=>[nt(se(B.$t("立即支付")),1)]),_:1})]),_:1})):pt("",!0),!((de=w.value)!=null&&de.expired_at&&(((De=w.value)==null?void 0:De.expired_at)||0)>Date.now()/1e3)&&x()>=70?(me(),qe(O,{key:2,type:"info","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:ue(()=>[nt(se(B.$tc("当前已使用流量达{rate}%",{rate:x()}))+" ",1),ie(L,{text:"",onClick:$[18]||($[18]=Pe=>R())},{default:ue(()=>[U("span",SDe,se(B.$t("重置已用流量")),1)]),_:1})]),_:1})):pt("",!0)])):pt("",!0),dn(ie(ye,{class:"w-100% cursor-pointer overflow-hidden border-rounded-5 text-white transition hover:opacity-75",bordered:!1,"content-style":"padding: 0"},{default:ue(()=>[ie(_e,{autoplay:""},{default:ue(()=>[(me(!0),ze(it,null,Hn(K.value,Pe=>(me(),ze("div",{key:Pe.id,class:"",style:Di(Pe.img_url?`background:url(${Pe.img_url}) no-repeat;background-size: cover `:`background:url(${we(i).$state.assets_path}/images/background.svg)`),onClick:Fe=>(c.value=!0,u.value=Pe)},[U("div",PDe,[U("div",null,[ie(oe,{bordered:!1,class:"bg-#e04f1a text-12 color-white"},{default:ue(()=>[nt(se(B.$t("公告")),1)]),_:1})]),U("div",null,[U("p",TDe,se(Pe.title),1),U("p",RDe,se(we(Wo)(Pe.created_at)),1)])])],12,kDe))),128))]),_:1})]),_:1},512),[[Mn,((Le=K.value)==null?void 0:Le.length)>0]]),ie(ye,{title:B.$t("我的订阅"),class:"mt-5 border-rounded-5 md:m-t-20"},{default:ue(()=>{var Pe,Fe,He,Ie,Qe,Ct,X,ve,Ae,Ke,Ze,Je,tt,rt,vt,sn;return[w.value?(Pe=w.value)!=null&&Pe.plan_id?(me(),ze(it,{key:1},[U("div",EDe,se((He=(Fe=w.value)==null?void 0:Fe.plan)==null?void 0:He.name),1),((Ie=w.value)==null?void 0:Ie.expired_at)===null?(me(),ze("div",$De,se(B.$t("该订阅长期有效")),1)):(Qe=w.value)!=null&&Qe.expired_at&&(((Ct=w.value)==null?void 0:Ct.expired_at)??0)(((Ke=w.value)==null?void 0:Ke.reset_day)||0)?(me(),ze(it,{key:0},[nt(se(B.$tc("已用流量将在 {reset_day} 日后重置",{reset_day:(Ze=w.value)==null?void 0:Ze.reset_day})),1)],64)):pt("",!0)])),ie(ke,{type:"line",percentage:x(),processing:"",color:E()},null,8,["percentage","color"]),U("div",null,se(B.$tc("已用 {used} / 总计 {total}",{used:we(da)(((((Je=w.value)==null?void 0:Je.u)||0)+(((tt=w.value)==null?void 0:tt.d)||0))/1024/1024/1024)+" GB",total:we(da)((((rt=w.value)==null?void 0:rt.transfer_enable)||0)/1024/1024/1024)+" GB"})),1),(vt=w.value)!=null&&vt.expired_at&&(((sn=w.value)==null?void 0:sn.expired_at)||0)we(Gt).push("/plan/"+we(a).plan_id))},{default:ue(()=>[nt(se(B.$t("续费订阅")),1)]),_:1})):x()>=70?(me(),qe(L,{key:4,type:"primary",class:"mt-20",onClick:$[20]||($[20]=Dt=>R())},{default:ue(()=>[nt(se(B.$t("重置已用流量")),1)]),_:1})):pt("",!0)],64)):(me(),ze("div",{key:2,class:"cursor-pointer pt-20 text-center",onClick:$[21]||($[21]=Dt=>we(Gt).push("/plan"))},[ie(I,{class:"text-40"}),U("div",ODe,se(B.$t("购买订阅")),1)])):(me(),qe(ge,{key:0},{default:ue(()=>[ie(te,{height:"20px",width:"33%"}),ie(te,{height:"20px",width:"66%"}),ie(te,{height:"20px"})]),_:1}))]}),_:1},8,["title"]),ie(ye,{title:B.$t("捷径"),class:"m-t-20 border-rounded-5","content-style":"padding: 0"},{default:ue(()=>[ie(Oe,{hoverable:"",clickable:""},{default:ue(()=>[ie(ne,{class:"flex flex cursor-pointer justify-between p-19 hover:bg-#f6f6f6",onClick:$[22]||($[22]=Pe=>we(Gt).push("/knowledge"))},{default:ue(()=>[U("div",MDe,[U("div",zDe,[U("div",DDe,se(B.$t("查看教程")),1),U("div",LDe,se(B.$t("学习如何使用"))+" "+se(we(i).title),1)]),U("div",null,[ie(j,{class:"text-30 color-gray-500"})])])]),_:1}),ie(ne,{class:"flex cursor-pointer justify-between p-19 hover:bg-#f6f6f6",onClick:$[23]||($[23]=Pe=>d.value=!0)},{default:ue(()=>[U("div",FDe,[U("div",null,[U("div",BDe,se(B.$t("一键订阅")),1),U("div",NDe,se(B.$t("快速将节点导入对应客户端进行使用")),1)]),U("div",null,[ie(ee,{class:"text-30 color-gray-500"})])])]),_:1}),ie(ne,{class:"flex cursor-pointer justify-between p-19",onClick:$[24]||($[24]=Pe=>we(a).plan_id?we(Gt).push("/plan/"+we(a).plan_id):we(Gt).push("/plan"))},{default:ue(()=>{var Pe;return[U("div",HDe,[U("div",null,[U("div",jDe,se((Pe=w.value)!=null&&Pe.plan_id?B.$t("续费订阅"):B.$t("购买订阅")),1),U("div",VDe,se(B.$t("对您当前的订阅进行购买")),1)]),U("div",null,[ie(Ce,{class:"text-30 color-gray-500"})])])]}),_:1}),ie(ne,{class:"flex cursor-pointer justify-between p-19",onClick:$[25]||($[25]=Pe=>B.$router.push("/ticket"))},{default:ue(()=>[U("div",WDe,[U("div",null,[U("div",UDe,se(B.$t("遇到问题")),1),U("div",qDe,se(B.$t("遇到问题可以通过工单与我们沟通")),1)]),U("div",null,[ie(ce,{class:"text-30 color-gray-500"})])])]),_:1})]),_:1})]),_:1},8,["title"])])]}),_:1})}}}),GDe=qu(KDe,[["__scopeId","data-v-8ed2ef0c"]]),YDe=Object.freeze(Object.defineProperty({__proto__:null,default:GDe},Symbol.toStringTag,{value:"Module"})),XDe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},ZDe=U("path",{fill:"currentColor",d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448s448-200.6 448-448S759.4 64 512 64m0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372s372 166.6 372 372s-166.6 372-372 372m159.6-585h-59.5c-3 0-5.8 1.7-7.1 4.4l-90.6 180H511l-90.6-180a8 8 0 0 0-7.1-4.4h-60.7c-1.3 0-2.6.3-3.8 1c-3.9 2.1-5.3 7-3.2 10.9L457 515.7h-61.4c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V603h-81.7c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V717c0 4.4 3.6 8 8 8h54.3c4.4 0 8-3.6 8-8v-68.1h82c4.4 0 8-3.6 8-8V611c0-4.4-3.6-8-8-8h-82v-41.5h82c4.4 0 8-3.6 8-8v-29.9c0-4.4-3.6-8-8-8h-62l111.1-204.8c.6-1.2 1-2.5 1-3.8c-.1-4.4-3.7-8-8.1-8"},null,-1),JDe=[ZDe];function QDe(e,t){return me(),ze("svg",XDe,[...JDe])}const eLe={name:"ant-design-pay-circle-outlined",render:QDe},tLe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},nLe=U("path",{fill:"currentColor",d:"M668.6 320c0-4.4-3.6-8-8-8h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 0 0-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1c-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.5-1.1.9-2.4.9-3.7M157.9 504.2a352.7 352.7 0 0 1 103.5-242.4c32.5-32.5 70.3-58.1 112.4-75.9c43.6-18.4 89.9-27.8 137.6-27.8c47.8 0 94.1 9.3 137.6 27.8c42.1 17.8 79.9 43.4 112.4 75.9c10 10 19.3 20.5 27.9 31.4l-50 39.1a8 8 0 0 0 3 14.1l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3l-47.8 37.4C770.7 146.3 648.6 82 511.5 82C277 82 86.3 270.1 82 503.8a8 8 0 0 0 8 8.2h60c4.3 0 7.8-3.5 7.9-7.8M934 512h-60c-4.3 0-7.9 3.5-8 7.8a352.7 352.7 0 0 1-103.5 242.4a352.6 352.6 0 0 1-112.4 75.9c-43.6 18.4-89.9 27.8-137.6 27.8s-94.1-9.3-137.6-27.8a352.6 352.6 0 0 1-112.4-75.9c-10-10-19.3-20.5-27.9-31.4l49.9-39.1a8 8 0 0 0-3-14.1l-156.8-38.3c-5-1.2-9.9 2.6-9.9 7.7l-.8 161.7c0 6.7 7.7 10.5 12.9 6.3l47.8-37.4C253.3 877.7 375.4 942 512.5 942C747 942 937.7 753.9 942 520.2a8 8 0 0 0-8-8.2"},null,-1),oLe=[nLe];function rLe(e,t){return me(),ze("svg",tLe,[...oLe])}const iLe={name:"ant-design-transaction-outlined",render:rLe},aLe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},sLe=U("path",{fill:"currentColor",d:"M19 17v2H7v-2s0-4 6-4s6 4 6 4m-3-9a3 3 0 1 0-3 3a3 3 0 0 0 3-3m3.2 5.06A5.6 5.6 0 0 1 21 17v2h3v-2s0-3.45-4.8-3.94M18 5a2.9 2.9 0 0 0-.89.14a5 5 0 0 1 0 5.72A2.9 2.9 0 0 0 18 11a3 3 0 0 0 0-6M8 10H5V7H3v3H0v2h3v3h2v-3h3Z"},null,-1),lLe=[sLe];function cLe(e,t){return me(),ze("svg",aLe,[...lLe])}const uLe={name:"mdi-invite",render:cLe},dLe={class:"text-50 font-400"},fLe={class:"m-l-10 text-20 text-#6c757d md:m-l20"},hLe={class:"text-#6c757d"},pLe={class:"flex justify-between p-b-5 p-t-5"},mLe={class:"flex justify-between p-b-5 p-t-5"},gLe={key:0},vLe={key:1},bLe={class:"flex justify-between p-b-5 p-t-5"},yLe={class:"flex justify-between p-b-5 p-t-5"},xLe={class:"m-t-10"},CLe={class:"m-b-5"},wLe={class:"m-t-10"},_Le={class:"m-b-5"},SLe={class:"flex justify-end"},kLe={class:"m-t-10"},PLe={class:"m-b-5"},TLe={class:"m-t-10"},RLe={class:"m-b-5"},ELe={class:"flex justify-end"},$Le=be({__name:"index",setup(e){const t=Tn(),n=x=>mn.global.t(x),o=[{title:n("邀请码"),key:"code",render(x){const y=`${window.location.protocol}//${window.location.host}/#/register?code=${x.code}`;return v("div",[v("span",x.code),v(zt,{size:"small",onClick:()=>ma(y),quaternary:!0,type:"info"},{default:()=>n("复制链接")})])}},{title:n("创建时间"),key:"created_at",fixed:"right",align:"right",render(x){return Wo(x.created_at)}}],r=[{title:n("发放时间"),key:"created_at",render(x){return Wo(x.created_at)}},{title:n("佣金"),key:"get_amount",fixed:"right",align:"right",render(x){return rn(x.get_amount)}}],i=W(),a=W([]);async function s(){const x=await zJ(),{data:y}=x;i.value=y.codes,a.value=y.stat}const l=W([]),c=eo({page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,50,100,150],onChange:x=>{c.page=x,u()},onUpdatePageSize:x=>{c.pageSize=x,c.page=1,u()}});async function u(){const x=await DJ(c.page,c.pageSize),{data:y}=x;l.value=y}const d=W(!1);async function f(){d.value=!0;const{data:x}=await LJ();x===!0&&(window.$message.success(n("已生成")),w()),d.value=!1}const h=W(!1),p=W(),g=W(!1);async function m(){g.value=!0;const x=p.value;if(typeof x!="number"){window.$message.error(n("请输入正确的划转金额")),g.value=!1;return}const{data:y}=await FJ(x*100);y===!0&&(window.$message.success(n("划转成功")),h.value=!1,s()),g.value=!1}const b=W(!1),_=eo({method:null,account:null}),C=W(!1);async function S(){if(C.value=!0,!_.method){window.$message.error(n("提现方式不能为空")),C.value=!1;return}if(!_.account){window.$message.error(n("提现账号不能为空")),C.value=!1;return}const x=_.method,y=_.account,{data:P}=await BJ({withdraw_method:x,withdraw_account:y});P===!0&&Gt.push("/ticket"),C.value=!1}function w(){s(),u()}return hn(()=>{w()}),(x,y)=>{const P=uLe,k=wW,T=iLe,E=eLe,R=Zi,K=go,N=Nu,D=pl,M=ur,G=jY,J=ni,he=fk,pe=Du,B=vo;return me(),qe(B,null,{default:ue(()=>[ie(K,{title:x.$t("我的邀请"),class:"border-rounded-5"},{"header-extra":ue(()=>[ie(P,{class:"text-40 text-gray"})]),default:ue(()=>{var $;return[U("div",null,[U("span",dLe,[ie(k,{from:0,to:parseFloat(we(rn)(a.value[4])),active:!0,precision:2,duration:500},null,8,["to"])]),U("span",fLe,se(($=we(t).appConfig)==null?void 0:$.currency),1)]),U("div",hLe,se(x.$t("当前剩余佣金")),1),ie(R,{class:"m-t-10"},{default:ue(()=>{var A;return[ie(we(zt),{size:"small",type:"primary",onClick:y[0]||(y[0]=Y=>h.value=!0)},{icon:ue(()=>[ie(T)]),default:ue(()=>[nt(" "+se(x.$t("划转")),1)]),_:1}),(A=we(t).appConfig)!=null&&A.withdraw_close?pt("",!0):(me(),qe(we(zt),{key:0,size:"small",type:"primary",onClick:y[1]||(y[1]=Y=>b.value=!0)},{icon:ue(()=>[ie(E)]),default:ue(()=>[nt(" "+se(x.$t("推广佣金提现")),1)]),_:1}))]}),_:1})]}),_:1},8,["title"]),ie(K,{class:"m-t-15 border-rounded-5"},{default:ue(()=>{var $,A,Y,ne,fe,Q;return[U("div",pLe,[U("div",null,se(x.$t("已注册用户数")),1),U("div",null,se(x.$tc("{number} 人",{number:a.value[0]})),1)]),U("div",mLe,[U("div",null,se(x.$t("佣金比例")),1),($=we(t).appConfig)!=null&&$.commission_distribution_enable?(me(),ze("div",gLe,se(`${Math.floor((((A=we(t).appConfig)==null?void 0:A.commission_distribution_l1)||0)*a.value[3]/100)}%,${Math.floor((((Y=we(t).appConfig)==null?void 0:Y.commission_distribution_l2)||0)*a.value[3]/100)}%,${Math.floor((((ne=we(t).appConfig)==null?void 0:ne.commission_distribution_l3)||0)*a.value[3]/100)}%`),1)):(me(),ze("div",vLe,se(a.value[3])+"%",1))]),U("div",bLe,[U("div",null,se(x.$t("确认中的佣金")),1),U("div",null,se((fe=we(t).appConfig)==null?void 0:fe.currency_symbol)+" "+se(we(rn)(a.value[2])),1)]),U("div",yLe,[U("div",null,se(x.$t("累计获得佣金")),1),U("div",null,se((Q=we(t).appConfig)==null?void 0:Q.currency_symbol)+" "+se(we(rn)(a.value[1])),1)])]}),_:1}),ie(K,{title:x.$t("邀请码管理"),class:"m-t-15 border-rounded-5"},{"header-extra":ue(()=>[ie(we(zt),{size:"small",type:"primary",round:"",loading:d.value,onClick:f},{default:ue(()=>[nt(se(x.$t("生成邀请码")),1)]),_:1},8,["loading"])]),default:ue(()=>[ie(N,{columns:o,data:i.value,bordered:!0},null,8,["data"])]),_:1},8,["title"]),ie(K,{title:x.$t("佣金发放记录"),class:"m-t-15 border-rounded-5"},{default:ue(()=>[ie(N,{columns:r,data:l.value,pagination:c},null,8,["data","pagination"])]),_:1},8,["title"]),ie(J,{show:h.value,"onUpdate:show":y[6]||(y[6]=$=>h.value=$)},{default:ue(()=>[ie(K,{title:x.$t("划转"),segmented:{content:!0,footer:!0},"footer-style":"padding-top: 10px; padding-bottom:10px",class:"mx-10 max-w-100% w-600 md:mx-auto",closable:"",onClose:y[5]||(y[5]=$=>h.value=!1)},{footer:ue(()=>[U("div",SLe,[U("div",null,[ie(we(zt),{onClick:y[3]||(y[3]=$=>h.value=!1)},{default:ue(()=>[nt(se(x.$t("取消")),1)]),_:1}),ie(we(zt),{type:"primary",class:"ml-10",onClick:y[4]||(y[4]=$=>m()),loading:g.value,disabled:g.value},{default:ue(()=>[nt(se(x.$t("确定")),1)]),_:1},8,["loading","disabled"])])])]),default:ue(()=>[ie(D,{type:"warning"},{default:ue(()=>[nt(se(x.$tc("划转后的余额仅用于{title}消费使用",{title:we(t).title})),1)]),_:1}),U("div",xLe,[U("div",CLe,se(x.$t("当前推广佣金余额")),1),ie(M,{placeholder:we(rn)(a.value[4]),type:"number",disabled:""},null,8,["placeholder"])]),U("div",wLe,[U("div",_Le,se(x.$t("划转金额")),1),ie(G,{value:p.value,"onUpdate:value":y[2]||(y[2]=$=>p.value=$),min:0,placeholder:x.$t("请输入需要划转到余额的金额"),clearable:""},null,8,["value","placeholder"])])]),_:1},8,["title"])]),_:1},8,["show"]),ie(J,{show:b.value,"onUpdate:show":y[12]||(y[12]=$=>b.value=$)},{default:ue(()=>[ie(K,{title:x.$t("推广佣金划转至余额"),segmented:{content:!0,footer:!0},"footer-style":"padding-top: 10px; padding-bottom:10px",class:"mx-10 max-w-100% w-600 md:mx-auto"},{"header-extra":ue(()=>[ie(we(zt),{class:"h-auto p-2",tertiary:"",size:"large",onClick:y[7]||(y[7]=$=>b.value=!1)},{icon:ue(()=>[ie(he,{class:"cursor-pointer opacity-85"})]),_:1})]),footer:ue(()=>[U("div",ELe,[U("div",null,[ie(we(zt),{onClick:y[10]||(y[10]=$=>b.value=!1)},{default:ue(()=>[nt(se(x.$t("取消")),1)]),_:1}),ie(we(zt),{type:"primary",class:"ml-10",onClick:y[11]||(y[11]=$=>S()),loading:C.value,disabled:C.value},{default:ue(()=>[nt(se(x.$t("确定")),1)]),_:1},8,["loading","disabled"])])])]),default:ue(()=>{var $;return[U("div",kLe,[U("div",PLe,se(x.$t("提现方式")),1),ie(pe,{value:_.method,"onUpdate:value":y[8]||(y[8]=A=>_.method=A),options:($=we(t).appConfig)==null?void 0:$.withdraw_methods.map(A=>({label:A,value:A})),placeholder:x.$t("请选择提现方式")},null,8,["value","options","placeholder"])]),U("div",TLe,[U("div",RLe,se(x.$t("提现账号")),1),ie(M,{value:_.account,"onUpdate:value":y[9]||(y[9]=A=>_.account=A),placeholder:x.$t("请输入提现账号"),type:"string"},null,8,["value","placeholder"])])]}),_:1},8,["title"])]),_:1},8,["show"])]),_:1})}}}),ALe=Object.freeze(Object.defineProperty({__proto__:null,default:$Le},Symbol.toStringTag,{value:"Module"})),ILe={class:""},OLe={class:"mb-4 text-16 font-600"},MLe={class:"text-12 text-gray"},zLe=["innerHTML"],DLe=be({__name:"index",setup(e){const t=Tn(),n=new nd({html:!0}),o=f=>n.render(f);window.copy=f=>ma(f),window.jump=f=>a(f);const r=W(!1),i=W();async function a(f){const{data:h}=await QJ(f,t.lang);h&&(i.value=h),r.value=!0}const s=W(""),l=W(!0),c=W();async function u(){l.value=!0;const f=s.value,{data:h}=await JJ(f,t.lang);c.value=h,l.value=!1}function d(){u()}return hn(()=>{d()}),(f,h)=>{const p=ur,g=zt,m=bm,b=vl,_=Zi,C=Om,S=Im,w=go,x=uK,y=_S,P=vo;return me(),qe(P,{"show-footer":!1},{default:ue(()=>[ie(m,null,{default:ue(()=>[ie(p,{placeholder:f.$t("使用文档"),value:s.value,"onUpdate:value":h[0]||(h[0]=k=>s.value=k),onKeyup:h[1]||(h[1]=ws(k=>d(),["enter"]))},null,8,["placeholder","value"]),ie(g,{type:"primary",ghost:"",onClick:h[2]||(h[2]=k=>d())},{default:ue(()=>[nt(se(f.$t("搜索")),1)]),_:1})]),_:1}),l.value?(me(),qe(_,{key:0,vertical:"",class:"mt-20"},{default:ue(()=>[ie(b,{height:"20px",width:"33%"}),ie(b,{height:"20px",width:"66%"}),ie(b,{height:"20px"})]),_:1})):pt("",!0),(me(!0),ze(it,null,Hn(c.value,(k,T)=>(me(),qe(w,{key:T,title:T,class:"mt-20 border-rounded-5",contentStyle:"padding:0"},{default:ue(()=>[ie(S,{clickable:"",hoverable:""},{default:ue(()=>[(me(!0),ze(it,null,Hn(k,E=>(me(),qe(C,{key:E.id,onClick:R=>a(E.id)},{default:ue(()=>[U("div",ILe,[U("div",OLe,se(E.title),1),U("div",MLe,se(f.$t("最后更新"))+" "+se(we(zp)(E.updated_at)),1)])]),_:2},1032,["onClick"]))),128))]),_:2},1024)]),_:2},1032,["title"]))),128)),ie(y,{show:r.value,"onUpdate:show":h[3]||(h[3]=k=>r.value=k),width:"80%",placement:"right"},{default:ue(()=>{var k;return[ie(x,{title:(k=i.value)==null?void 0:k.title,closable:""},{default:ue(()=>{var T;return[U("div",{innerHTML:o(((T=i.value)==null?void 0:T.body)||""),class:"custom-html-style markdown-body"},null,8,zLe)]}),_:1},8,["title"])]}),_:1},8,["show"])]),_:1})}}}),LLe=Object.freeze(Object.defineProperty({__proto__:null,default:DLe},Symbol.toStringTag,{value:"Module"})),FLe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},BLe=U("path",{fill:"currentColor",d:"M11 18h2v-2h-2zm1-16A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8m0-14a4 4 0 0 0-4 4h2a2 2 0 0 1 2-2a2 2 0 0 1 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5a4 4 0 0 0-4-4"},null,-1),NLe=[BLe];function HLe(e,t){return me(),ze("svg",FLe,[...NLe])}const jLe={name:"mdi-help-circle-outline",render:HLe},VLe={class:"flex"},WLe={class:"flex-[1]"},ULe={class:"flex flex-[2] flex-shrink-0 text-center"},qLe={class:"flex flex-1 items-center justify-center"},KLe={class:"flex flex-1 items-center justify-center"},GLe={class:"flex-1"},YLe={class:"flex"},XLe={class:"flex-[1] break-anywhere"},ZLe={class:"flex flex-[2] flex-shrink-0 items-center text-center"},JLe={class:"flex flex-[1] items-center justify-center"},QLe={class:"flex-[1]"},eFe={class:"flex-[1]"},tFe={key:0},nFe={key:1},oFe=be({__name:"index",setup(e){const t=W([]),n=W(!0);async function o(){n.value=!0;const r=await lk(),{data:i}=r;t.value=i,n.value=!1}return hn(()=>{o()}),(r,i)=>{const a=vl,s=Zi,l=jLe,c=Fu,u=Ti,d=Om,f=Im,h=Qc("router-link"),p=pl,g=vo;return me(),qe(g,null,{default:ue(()=>[n.value?(me(),qe(s,{key:0,vertical:"",class:"mt-20"},{default:ue(()=>[ie(a,{height:"20px",width:"33%"}),ie(a,{height:"20px",width:"66%"}),ie(a,{height:"20px"})]),_:1})):t.value.length>0?(me(),qe(f,{key:1,clickable:"",hoverable:""},{header:ue(()=>[U("div",VLe,[U("div",WLe,se(r.$t("名称")),1),U("div",ULe,[U("div",qLe,[nt(se(r.$t("状态"))+" ",1),ie(c,{placement:"bottom",trigger:"hover"},{trigger:ue(()=>[ie(l,{class:"m-l-3 text-16"})]),default:ue(()=>[U("span",null,se(r.$t("五分钟内节点在线情况")),1)]),_:1})]),U("div",KLe,[nt(se(r.$t("倍率"))+" ",1),ie(c,{placement:"bottom",trigger:"hover"},{trigger:ue(()=>[ie(l,{class:"m-l-3 text-16"})]),default:ue(()=>[U("span",null,se(r.$t("使用的流量将乘以倍率进行扣除")),1)]),_:1})]),U("div",GLe,se(r.$t("标签")),1)])])]),default:ue(()=>[(me(!0),ze(it,null,Hn(t.value,m=>(me(),qe(d,{key:m.id},{default:ue(()=>[U("div",YLe,[U("div",XLe,se(m.name),1),U("div",ZLe,[U("div",JLe,[U("div",{class:sr(["h-6 w-6 rounded-full",m.is_online?"bg-blue-500":"bg-red-500"])},null,2)]),U("div",QLe,[ie(u,{size:"small",round:"",class:""},{default:ue(()=>[nt(se(m.rate)+" x ",1)]),_:2},1024)]),U("div",eFe,[m.tags&&m.tags.length>0?(me(),ze("div",tFe,[(me(!0),ze(it,null,Hn(m.tags,b=>(me(),qe(u,{size:"small",round:"",key:b},{default:ue(()=>[nt(se(b),1)]),_:2},1024))),128))])):(me(),ze("span",nFe,"-"))])])])]),_:2},1024))),128))]),_:1})):(me(),qe(p,{key:2,type:"info"},{default:ue(()=>[U("div",null,[nt(se(r.$t("没有可用节点,如果您未订阅或已过期请"))+" ",1),ie(h,{class:"font-600",to:"/plan"},{default:ue(()=>[nt(se(r.$t("订阅")),1)]),_:1}),nt("。 ")])]),_:1}))]),_:1})}}}),rFe=Object.freeze(Object.defineProperty({__proto__:null,default:oFe},Symbol.toStringTag,{value:"Module"})),iFe=be({__name:"index",setup(e){const t=s=>mn.global.t(s),n=[{title:t("# 订单号"),key:"trade_no",render(s){return v(zt,{text:!0,class:"color-primary",onClick:()=>Gt.push(`/order/${s.trade_no}`)},{default:()=>s.trade_no})}},{title:t("周期"),key:"period",render(s){return v(Ti,{round:!0,size:"small"},{default:()=>t(zk[s.period])})}},{title:t("订单金额"),key:"total_amount",render(s){return rn(s.total_amount)}},{title:t("订单状态"),key:"status",render(s){const l=t(Uze[s.status]),c=v("div",{class:["h-6 w-6 rounded-full mr-5",s.status===3?"bg-green-500":"bg-red-500"]});return v("div",{class:"flex items-center"},[c,l])}},{title:t("创建时间"),key:"created_at",render(s){return Wo(s.created_at)}},{title:t("操作"),key:"actions",fixed:"right",render(s){const l=v(zt,{text:!0,type:"primary",onClick:()=>Gt.push(`/order/${s.trade_no}`)},{default:()=>t("查看详情")}),c=v(zt,{text:!0,type:"primary",disabled:s.status!==0,onClick:()=>o(s.trade_no)},{default:()=>t("取消")}),u=v(Xi,{vertical:!0});return v("div",[l,u,c])}}];async function o(s){window.$dialog.confirm({title:t("注意"),type:"info",content:t("如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?"),async confirm(){const{data:l}=await Wu(s);l===!0&&(window.$message.success(t("取消成功")),a())}})}const r=W([]);async function i(){const s=await Hm(),{data:l}=s;r.value=l}async function a(){i()}return hn(()=>{a()}),(s,l)=>{const c=Nu,u=vo;return me(),qe(u,null,{default:ue(()=>[ie(c,{columns:n,data:r.value,bordered:!1,"scroll-x":800},null,8,["data"])]),_:1})}}}),aFe=Object.freeze(Object.defineProperty({__proto__:null,default:iFe},Symbol.toStringTag,{value:"Module"})),sFe={class:"inline-block",viewBox:"0 0 48 48",width:"1em",height:"1em"},lFe=U("g",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd"},[U("path",{d:"M24 42c9.941 0 18-8.059 18-18S33.941 6 24 6S6 14.059 6 24s8.059 18 18 18m0 2c11.046 0 20-8.954 20-20S35.046 4 24 4S4 12.954 4 24s8.954 20 20 20"}),U("path",{d:"M34.67 16.259a1 1 0 0 1 .072 1.412L21.386 32.432l-8.076-7.709a1 1 0 0 1 1.38-1.446l6.59 6.29L33.259 16.33a1 1 0 0 1 1.413-.07"})],-1),cFe=[lFe];function uFe(e,t){return me(),ze("svg",sFe,[...cFe])}const Dk={name:"healthicons-yes-outline",render:uFe},dFe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},fFe=U("path",{fill:"currentColor",d:"M952.08 1.552L529.039 116.144c-10.752 2.88-34.096 2.848-44.815-.16L72.08 1.776C35.295-8.352-.336 18.176-.336 56.048V834.16c0 32.096 24.335 62.785 55.311 71.409l412.16 114.224c11.025 3.055 25.217 4.751 39.937 4.751c10.095 0 25.007-.784 38.72-4.528l423.023-114.592c31.056-8.4 55.504-39.024 55.504-71.248V56.048c.016-37.84-35.616-64.464-72.24-54.496zM479.999 956.943L71.071 843.887c-3.088-.847-7.408-6.496-7.408-9.712V66.143L467.135 177.68c3.904 1.088 8.288 1.936 12.864 2.656zm480.336-122.767c0 3.152-5.184 8.655-8.256 9.503L544 954.207v-775.92c.592-.144 1.2-.224 1.792-.384L960.32 65.775v768.4h.016zM641.999 366.303c2.88 0 5.81-.367 8.69-1.184l223.935-63.024c17.025-4.816 26.945-22.465 22.16-39.473s-22.56-26.88-39.472-22.16l-223.936 63.025c-17.024 4.816-26.944 22.464-22.16 39.472c3.968 14.128 16.815 23.344 30.783 23.344m.002 192.001c2.88 0 5.81-.368 8.69-1.185l223.935-63.024c17.025-4.816 26.945-22.465 22.16-39.473c-4.783-17.008-22.56-26.88-39.472-22.16l-223.936 63.025c-17.024 4.816-26.944 22.464-22.16 39.457c3.968 14.127 16.815 23.36 30.783 23.36m.002 192c2.88 0 5.81-.368 8.69-1.185l223.935-63.024c17.025-4.816 26.945-22.465 22.16-39.473s-22.56-26.88-39.472-22.16L633.38 687.487c-17.024 4.816-26.944 22.464-22.16 39.472c3.968 14.113 16.815 23.345 30.783 23.345M394.629 303.487l-223.934-63.025c-16.912-4.72-34.688 5.152-39.473 22.16s5.12 34.656 22.16 39.473l223.937 63.024a31.8 31.8 0 0 0 8.687 1.184c13.968 0 26.815-9.215 30.783-23.343c4.784-16.993-5.12-34.657-22.16-39.473m.002 191.999l-223.934-63.025c-16.912-4.72-34.689 5.152-39.473 22.16s5.12 34.656 22.16 39.473l223.936 63.024a31.8 31.8 0 0 0 8.688 1.184c13.968 0 26.815-9.215 30.783-23.343c4.784-16.993-5.12-34.657-22.16-39.473m.002 191.999L170.699 624.46c-16.912-4.72-34.689 5.152-39.473 22.16s5.12 34.656 22.16 39.473l223.936 63.024a31.8 31.8 0 0 0 8.688 1.184c13.968 0 26.815-9.215 30.783-23.343c4.784-17.008-5.12-34.657-22.16-39.473"},null,-1),hFe=[fFe];function pFe(e,t){return me(),ze("svg",dFe,[...hFe])}const mFe={name:"simple-line-icons-book-open",render:pFe},gFe={class:"inline-block",viewBox:"0 0 20 20",width:"1em",height:"1em"},vFe=U("path",{fill:"currentColor",d:"M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8s8-3.58 8-8s-3.58-8-8-8m-.615 12.66h-1.34l-3.24-4.54l1.341-1.25l2.569 2.4l5.141-5.931l1.34.94z"},null,-1),bFe=[vFe];function yFe(e,t){return me(),ze("svg",gFe,[...bFe])}const xFe={name:"dashicons-yes-alt",render:yFe},CFe={class:"inline-block",viewBox:"0 0 20 20",width:"1em",height:"1em"},wFe=U("path",{fill:"currentColor",d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8s-8-3.58-8-8s3.58-8 8-8m1.13 9.38l.35-6.46H8.52l.35 6.46zm-.09 3.36c.24-.23.37-.55.37-.96c0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35s-.82.12-1.07.35s-.37.55-.37.97c0 .41.13.73.38.96c.26.23.61.34 1.06.34s.8-.11 1.05-.34"},null,-1),_Fe=[wFe];function SFe(e,t){return me(),ze("svg",CFe,[..._Fe])}const kFe={name:"dashicons-warning",render:SFe},PFe={class:"relative max-w-full w-300",style:{"padding-bottom":"100%"}},TFe={class:"p-10 text-center"},RFe={key:1,class:"flex flex-wrap"},EFe={class:"w-100% md:flex-[2]"},$Fe={key:2,class:"mt-10 text-22"},AFe={key:3,class:"text-14 text-[rgba(0,0,0,0.45)]"},IFe={class:"flex"},OFe={class:"flex-[1] text-#49505799"},MFe={class:"flex-[2]"},zFe={class:"flex"},DFe={class:"m-t-5 flex-[1] text-#49505799"},LFe={class:"flex-[2]"},FFe={class:"flex"},BFe={class:"m-b-5 m-t-5 flex-[1] text-#49505799"},NFe={class:"flex-[2]"},HFe={class:"flex"},jFe={class:"flex-[1] text-#49505799"},VFe={class:"flex-[2]"},WFe={key:0,class:"flex"},UFe={class:"flex-[1] text-#49505799"},qFe={class:"flex-[2]"},KFe={key:1,class:"flex"},GFe={class:"flex-[1] text-#49505799"},YFe={class:"flex-[2]"},XFe={key:2,class:"flex"},ZFe={class:"flex-[1] text-#49505799"},JFe={class:"flex-[2]"},QFe={key:3,class:"flex"},e9e={class:"flex-[1] text-#49505799"},t9e={class:"flex-[2]"},n9e={key:4,class:"flex"},o9e={class:"flex-[1] text-#49505799"},r9e={class:"flex-[2]"},i9e={class:"flex"},a9e={class:"m-t-5 flex-[1] text-#49505799"},s9e={class:"flex-[2]"},l9e=["onClick"],c9e={class:"flex-[1] whitespace-nowrap"},u9e={class:"flex-[1]"},d9e=["src"],f9e={key:0,class:"w-100% md:flex-[1] md:pl-20"},h9e={class:"mt-20 border-rounded-5 bg-#2f3135 p-20 color-white"},p9e={class:"text-18 font-600"},m9e={class:"flex border-#646669 border-b-solid pb-16 pt-16"},g9e={class:"flex-[2]"},v9e={class:"flex-[1] text-right color-#f8f9fa"},b9e={key:0,class:"border-[#646669] border-b-solid pb-16 pt-16"},y9e={class:"color-#f8f9fa41"},x9e={class:"pt-16 text-right"},C9e={key:1,class:"border-[#646669] border-b-solid pb-16 pt-16"},w9e={class:"color-#f8f9fa41"},_9e={class:"pt-16 text-right"},S9e={key:2,class:"border-[#646669] border-b-solid pb-16 pt-16"},k9e={class:"color-#f8f9fa41"},P9e={class:"pt-16 text-right"},T9e={key:3,class:"border-[#646669] border-b-solid pb-16 pt-16"},R9e={class:"color-#f8f9fa41"},E9e={class:"pt-16 text-right"},$9e={key:4,class:"border-[#646669] border-b-solid pb-16 pt-16"},A9e={class:"color-#f8f9fa41"},I9e={class:"pt-16 text-right"},O9e={class:"pb-16 pt-16"},M9e={class:"color-#f8f9fa41"},z9e={class:"text-36 font-600"},D9e=be({__name:"detail",setup(e){const t=Tn(),n=Ji(),o=Da(),r=y=>mn.global.t(y);function i(y){switch(y){case 1:return{icon:"info",title:r("开通中"),subTitle:r("订单系统正在进行处理,请稍等1-3分钟。")};case 2:return{icon:"info",title:r("已取消"),subTitle:r("订单由于超时支付已被取消。")};case 3:case 4:return{icon:"info",title:r("已完成"),subTitle:r("订单已支付并开通。")}}return{icon:"error",title:r("意料之外"),subTitle:r("意料之外的状态")}}async function a(){window.$dialog.confirm({title:r("注意"),type:"info",content:r("如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?"),async confirm(){const{data:y}=await Wu(s.value);y===!0&&(window.$message.success(r("取消成功")),x())}})}const s=W(""),l=W(),c=W(),u=W(!0);async function d(){u.value=!0;const{data:y}=await OJ(s.value);l.value=y,clearInterval(c.value),y.status===Ms.PENDING&&p(),[Ms.PENDING,Ms.PROCESSING].includes(y.status)&&(c.value=setInterval(S,1500)),u.value=!1}const f=W([]),h=W(0);async function p(){const{data:y}=await VJ();f.value=y}function g(){var P,k,T,E,R;return(((P=l.value)==null?void 0:P.plan[l.value.period])||0)-(((k=l.value)==null?void 0:k.balance_amount)||0)-(((T=l.value)==null?void 0:T.surplus_amount)||0)+(((E=l.value)==null?void 0:E.refund_amount)||0)-(((R=l.value)==null?void 0:R.discount_amount)||0)}function m(){const y=f.value[h.value];return(y!=null&&y.handling_fee_percent||y!=null&&y.handling_fee_fixed)&&g()?g()*parseFloat(y.handling_fee_percent||"0")/100+((y==null?void 0:y.handling_fee_fixed)||0):0}async function b(){const y=f.value[h.value],{data:P,type:k}=await WJ(s.value,y==null?void 0:y.id);P&&(P===!0?(window.$message.info(r("支付成功")),setTimeout(()=>{w()},500)):k===0?(_.value=!0,C.value=P):k===1&&(window.$message.info(r("正在前往收银台")),setTimeout(()=>{window.location.href=P},500)))}const _=W(!1),C=W("");async function S(){var P;const{data:y}=await MJ(s.value);y!==((P=l.value)==null?void 0:P.status)&&w()}async function w(){x(),n.getUserInfo()}async function x(){d(),_.value=!1}return hn(()=>{typeof o.params.trade_no=="string"&&(s.value=o.params.trade_no),x()}),Ma(()=>{clearInterval(c.value)}),(y,P)=>{const k=JS,T=Xi,E=go,R=ni,K=vl,N=Zi,D=kFe,M=xFe,G=mFe,J=zt,he=Dk,pe=vo;return me(),qe(pe,null,{default:ue(()=>{var B,$,A,Y,ne,fe,Q,xe,H,ye,Oe,Ne,L,O,oe,_e,te,ge,ke,I,j,ee,Ce,ce,le,re;return[ie(R,{show:_.value,"onUpdate:show":P[0]||(P[0]=de=>_.value=de),onOnAfterLeave:P[1]||(P[1]=de=>C.value="")},{default:ue(()=>[ie(E,{"content-style":"padding:10px",class:"w-auto",bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{default:ue(()=>[U("div",PFe,[C.value?(me(),qe(k,{key:0,value:C.value,class:"pay-qrcode absolute h-full! w-full!",size:"400"},null,8,["value"])):pt("",!0)]),ie(T,{class:"m-0!"}),U("div",TFe,se(y.$t("等待支付中")),1)]),_:1})]),_:1},8,["show"]),u.value?(me(),qe(N,{key:0,vertical:"",class:"mt-20"},{default:ue(()=>[ie(K,{height:"20px",width:"33%"}),ie(K,{height:"20px",width:"66%"}),ie(K,{height:"20px"})]),_:1})):(me(),ze("div",RFe,[U("div",EFe,[((B=l.value)==null?void 0:B.status)!==0?(me(),qe(E,{key:0,class:"flex text-center","items-center":"","border-rounded-5":""},{default:ue(()=>{var de,De,Le,Pe,Fe,He;return[((de=l.value)==null?void 0:de.status)===2?(me(),qe(D,{key:0,class:"text-90 color-#f9a314"})):pt("",!0),((De=l.value)==null?void 0:De.status)===3||((Le=l.value)==null?void 0:Le.status)==4?(me(),qe(M,{key:1,class:"text-90 color-#48bc19"})):pt("",!0),(Pe=l.value)!=null&&Pe.status?(me(),ze("div",$Fe,se(i(l.value.status).title),1)):pt("",!0),(Fe=l.value)!=null&&Fe.status?(me(),ze("div",AFe,se(i(l.value.status).subTitle),1)):pt("",!0),((He=l.value)==null?void 0:He.status)===3?(me(),qe(J,{key:4,"icon-placement":"left",strong:"",color:"#db4619",size:"small",round:"",class:"mt-30",onClick:P[2]||(P[2]=Ie=>y.$router.push("/knowledge"))},{icon:ue(()=>[ie(G)]),default:ue(()=>[nt(" "+se(y.$t("查看使用教程")),1)]),_:1})):pt("",!0)]}),_:1})):pt("",!0),ie(E,{class:"mt-20 border-rounded-5",title:y.$t("商品信息")},{default:ue(()=>{var de,De,Le;return[U("div",IFe,[U("div",OFe,se(y.$t("产品名称"))+":",1),U("div",MFe,se((de=l.value)==null?void 0:de.plan.name),1)]),U("div",zFe,[U("div",DFe,se(y.$t("类型/周期"))+":",1),U("div",LFe,se((De=l.value)!=null&&De.period?y.$t(we(zk)[l.value.period]):""),1)]),U("div",FFe,[U("div",BFe,se(y.$t("产品流量"))+":",1),U("div",NFe,se((Le=l.value)==null?void 0:Le.plan.transfer_enable)+" GB",1)])]}),_:1},8,["title"]),ie(E,{class:"mt-20 border-rounded-5",title:y.$t("订单信息")},{"header-extra":ue(()=>{var de;return[((de=l.value)==null?void 0:de.status)===0?(me(),qe(J,{key:0,color:"#db4619",size:"small",round:"",strong:"",onClick:P[3]||(P[3]=De=>a())},{default:ue(()=>[nt(se(y.$t("关闭订单")),1)]),_:1})):pt("",!0)]}),default:ue(()=>{var de,De,Le,Pe,Fe,He,Ie,Qe,Ct,X,ve;return[U("div",HFe,[U("div",jFe,se(y.$t("订单号"))+":",1),U("div",VFe,se((de=l.value)==null?void 0:de.trade_no),1)]),(De=l.value)!=null&&De.discount_amount&&((Le=l.value)==null?void 0:Le.discount_amount)>0?(me(),ze("div",WFe,[U("div",UFe,se(y.$t("优惠金额")),1),U("div",qFe,se(we(rn)(l.value.discount_amount)),1)])):pt("",!0),(Pe=l.value)!=null&&Pe.surplus_amount&&((Fe=l.value)==null?void 0:Fe.surplus_amount)>0?(me(),ze("div",KFe,[U("div",GFe,se(y.$t("旧订阅折抵金额")),1),U("div",YFe,se(we(rn)(l.value.surplus_amount)),1)])):pt("",!0),(He=l.value)!=null&&He.refund_amount&&((Ie=l.value)==null?void 0:Ie.refund_amount)>0?(me(),ze("div",XFe,[U("div",ZFe,se(y.$t("退款金额")),1),U("div",JFe,se(we(rn)(l.value.refund_amount)),1)])):pt("",!0),(Qe=l.value)!=null&&Qe.balance_amount&&((Ct=l.value)==null?void 0:Ct.balance_amount)>0?(me(),ze("div",QFe,[U("div",e9e,se(y.$t("余额支付 ")),1),U("div",t9e,se(we(rn)(l.value.balance_amount)),1)])):pt("",!0),((X=l.value)==null?void 0:X.status)===0&&m()>0?(me(),ze("div",n9e,[U("div",o9e,se(y.$t("支付手续费"))+":",1),U("div",r9e,se(we(rn)(m())),1)])):pt("",!0),U("div",i9e,[U("div",a9e,se(y.$t("创建时间"))+":",1),U("div",s9e,se(we(Wo)((ve=l.value)==null?void 0:ve.created_at)),1)])]}),_:1},8,["title"]),(($=l.value)==null?void 0:$.status)===0?(me(),qe(E,{key:1,title:y.$t("支付方式"),class:"mt-20","content-style":"padding:0"},{default:ue(()=>[(me(!0),ze(it,null,Hn(f.value,(de,De)=>(me(),ze("div",{key:de.id,class:sr(["border-2 border-rounded-5 p-20 border-solid flex",h.value===De?"border-#0665d0":"border-transparent"]),onClick:Le=>h.value=De},[U("div",c9e,se(de.name),1),U("div",u9e,[U("img",{class:"max-h-30",src:de.icon},null,8,d9e)])],10,l9e))),128))]),_:1},8,["title"])):pt("",!0)]),((A=l.value)==null?void 0:A.status)===0?(me(),ze("div",f9e,[U("div",h9e,[U("div",p9e,se(y.$t("订单总额")),1),U("div",m9e,[U("div",g9e,se((Y=l.value)==null?void 0:Y.plan.name),1),U("div",v9e,se((ne=we(t).appConfig)==null?void 0:ne.currency_symbol)+se(((fe=l.value)==null?void 0:fe.period)&&we(rn)((Q=l.value)==null?void 0:Q.plan[l.value.period])),1)]),(xe=l.value)!=null&&xe.surplus_amount&&((H=l.value)==null?void 0:H.surplus_amount)>0?(me(),ze("div",b9e,[U("div",y9e,se(y.$t("折抵")),1),U("div",x9e," - "+se((ye=we(t).appConfig)==null?void 0:ye.currency_symbol)+se(we(rn)((Oe=l.value)==null?void 0:Oe.surplus_amount)),1)])):pt("",!0),(Ne=l.value)!=null&&Ne.discount_amount&&((L=l.value)==null?void 0:L.discount_amount)>0?(me(),ze("div",C9e,[U("div",w9e,se(y.$t("折扣")),1),U("div",_9e," - "+se((O=we(t).appConfig)==null?void 0:O.currency_symbol)+se(we(rn)((oe=l.value)==null?void 0:oe.discount_amount)),1)])):pt("",!0),(_e=l.value)!=null&&_e.refund_amount&&((te=l.value)==null?void 0:te.refund_amount)>0?(me(),ze("div",S9e,[U("div",k9e,se(y.$t("退款")),1),U("div",P9e," - "+se((ge=we(t).appConfig)==null?void 0:ge.currency_symbol)+se(we(rn)((ke=l.value)==null?void 0:ke.refund_amount)),1)])):pt("",!0),(I=l.value)!=null&&I.balance_amount&&((j=l.value)==null?void 0:j.balance_amount)>0?(me(),ze("div",T9e,[U("div",R9e,se(y.$t("余额支付")),1),U("div",E9e," - "+se((ee=we(t).appConfig)==null?void 0:ee.currency_symbol)+se(we(rn)((Ce=l.value)==null?void 0:Ce.balance_amount)),1)])):pt("",!0),m()>0?(me(),ze("div",$9e,[U("div",A9e,se(y.$t("支付手续费")),1),U("div",I9e," + "+se((ce=we(t).appConfig)==null?void 0:ce.currency_symbol)+se(we(rn)(m())),1)])):pt("",!0),U("div",O9e,[U("div",M9e,se(y.$t("总计")),1),U("div",z9e,se((le=we(t).appConfig)==null?void 0:le.currency_symbol)+" "+se(we(rn)(g()+m()))+" "+se((re=we(t).appConfig)==null?void 0:re.currency),1)]),ie(J,{type:"primary",class:"w-100% text-white","icon-placement":"left",strong:"",onClick:P[4]||(P[4]=de=>b())},{icon:ue(()=>[ie(he)]),default:ue(()=>[nt(" "+se(y.$t("结账")),1)]),_:1})])])):pt("",!0)]))]}),_:1})}}}),L9e=Object.freeze(Object.defineProperty({__proto__:null,default:D9e},Symbol.toStringTag,{value:"Module"})),F9e={class:"inline-block",viewBox:"0 0 50 50",width:"1em",height:"1em"},B9e=U("path",{fill:"currentColor",d:"M25 42c-9.4 0-17-7.6-17-17S15.6 8 25 8s17 7.6 17 17s-7.6 17-17 17m0-32c-8.3 0-15 6.7-15 15s6.7 15 15 15s15-6.7 15-15s-6.7-15-15-15"},null,-1),N9e=U("path",{fill:"currentColor",d:"m32.283 16.302l1.414 1.415l-15.98 15.98l-1.414-1.414z"},null,-1),H9e=U("path",{fill:"currentColor",d:"m17.717 16.302l15.98 15.98l-1.414 1.415l-15.98-15.98z"},null,-1),j9e=[B9e,N9e,H9e];function V9e(e,t){return me(),ze("svg",F9e,[...j9e])}const Lk={name:"ei-close-o",render:V9e},W9e={class:"inline-block",viewBox:"0 0 50 50",width:"1em",height:"1em"},U9e=U("path",{fill:"currentColor",d:"M25 42c-9.4 0-17-7.6-17-17S15.6 8 25 8s17 7.6 17 17s-7.6 17-17 17m0-32c-8.3 0-15 6.7-15 15s6.7 15 15 15s15-6.7 15-15s-6.7-15-15-15"},null,-1),q9e=U("path",{fill:"currentColor",d:"m23 32.4l-8.7-8.7l1.4-1.4l7.3 7.3l11.3-11.3l1.4 1.4z"},null,-1),K9e=[U9e,q9e];function G9e(e,t){return me(),ze("svg",W9e,[...K9e])}const Fk={name:"ei-check",render:G9e},Y9e={class:"ml-auto mr-auto max-w-1200 w-100%"},X9e={class:"m-3 mb-4 mt-4 text-30 font-400"},Z9e={class:"card-container m-t-10 md:m-t-40"},J9e=["onClick"],Q9e={class:"vertical-bottom"},e7e={class:"text-30 font-600"},t7e={class:"p-l-5 text-16 text-gray"},n7e={key:0},o7e=["innerHTML"],r7e=be({__name:"index",setup(e){const t=Tn(),n=d=>mn.global.t(d),o=new nd({html:!0}),r=d=>o.render(d),i=W(0),a=[{value:0,label:n("全部")},{value:1,label:n("按周期")},{value:2,label:n("按流量")}],s=W([]),l=W([]);ft([l,i],d=>{s.value=d[0].filter(f=>{if(d[1]===0)return 1;if(d[1]===1)return!((f.onetime_price||0)>0);if(d[1]===2)return(f.onetime_price||0)>0})});async function c(){const{data:d}=await IJ();d.forEach(f=>{const h=u(f);f.price=h.price,f.cycle=h.cycle}),l.value=d}hn(()=>{c()});function u(d){return d.onetime_price!==null?{price:d.onetime_price/100,cycle:n("一次性")}:d.month_price!==null?{price:d.month_price/100,cycle:n("月付")}:d.quarter_price!==null?{price:d.quarter_price/100,cycle:n("季付")}:d.half_year_price!==null?{price:d.half_year_price/100,cycle:n("半年付")}:d.year_price!==null?{price:d.year_price/100,cycle:n("年付")}:d.two_year_price!==null?{price:d.two_year_price/100,cycle:n("两年付")}:d.three_year_price!==null?{price:d.three_year_price/100,cycle:n("三年付")}:{price:0,cycle:n("错误")}}return(d,f)=>{const h=fU,p=J2,g=Fk,m=Lk,b=vr,_=zt,C=go,S=vo;return me(),qe(S,null,{default:ue(()=>[U("div",Y9e,[U("h2",X9e,se(d.$t("选择最适合你的计划")),1),ie(p,{value:i.value,"onUpdate:value":f[0]||(f[0]=w=>i.value=w),name:"plan_select",class:""},{default:ue(()=>[(me(),ze(it,null,Hn(a,w=>ie(h,{key:w.value,value:w.value,label:w.label,style:{background:"--n-color"}},null,8,["value","label"])),64))]),_:1},8,["value"]),U("section",Z9e,[(me(!0),ze(it,null,Hn(s.value,w=>(me(),ze("div",{class:"card-item min-w-300 cursor-pointer",key:w.id,onClick:x=>d.$router.push("/plan/"+w.id)},[ie(C,{title:w.name,hoverable:"",class:"max-w-100% w-375"},{"header-extra":ue(()=>{var x;return[U("div",Q9e,[U("span",e7e,se((x=we(t).appConfig)==null?void 0:x.currency_symbol)+" "+se(w.price),1),U("span",t7e," /"+se(w.cycle),1)])]}),action:ue(()=>[ie(_,{strong:"",secondary:"",type:"primary"},{default:ue(()=>[nt(se(d.$t("立即订阅")),1)]),_:1})]),default:ue(()=>[we(dC)(w.content)?(me(),ze("div",n7e,[(me(!0),ze(it,null,Hn(JSON.parse(w.content),(x,y)=>(me(),ze("div",{key:y,class:sr(["vertical-center flex items-center",x.support?"":"opacity-30"])},[ie(b,{size:"30",class:"flex items-center text-[--primary-color]"},{default:ue(()=>[x.support?(me(),qe(g,{key:0})):(me(),qe(m,{key:1}))]),_:2},1024),U("div",null,se(x.feature),1)],2))),128))])):(me(),ze("div",{key:1,innerHTML:r(w.content||""),class:"markdown-body"},null,8,o7e))]),_:2},1032,["title"])],8,J9e))),128))])])]),_:1})}}}),i7e=qu(r7e,[["__scopeId","data-v-79fa0f66"]]),a7e=Object.freeze(Object.defineProperty({__proto__:null,default:i7e},Symbol.toStringTag,{value:"Module"})),s7e={class:"inline-block",viewBox:"0 0 576 512",width:"1em",height:"1em"},l7e=U("path",{fill:"currentColor",d:"M64 64C28.7 64 0 92.7 0 128v64c0 8.8 7.4 15.7 15.7 18.6C34.5 217.1 48 235 48 256s-13.5 38.9-32.3 45.4C7.4 304.3 0 311.2 0 320v64c0 35.3 28.7 64 64 64h448c35.3 0 64-28.7 64-64v-64c0-8.8-7.4-15.7-15.7-18.6C541.5 294.9 528 277 528 256s13.5-38.9 32.3-45.4c8.3-2.9 15.7-9.8 15.7-18.6v-64c0-35.3-28.7-64-64-64zm64 112v160c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V176c0-8.8-7.2-16-16-16H144c-8.8 0-16 7.2-16 16m-32-16c0-17.7 14.3-32 32-32h320c17.7 0 32 14.3 32 32v192c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32z"},null,-1),c7e=[l7e];function u7e(e,t){return me(),ze("svg",s7e,[...c7e])}const d7e={name:"fa6-solid-ticket",render:u7e},f7e={key:1,class:"flex flex-wrap"},h7e={class:"w-100% md:max-w-2/3"},p7e={key:0},m7e=["innerHTML"],g7e=["onClick"],v7e={class:"mt-20 w-full md:mt-0 md:max-w-1/3 sm:max-w-full md:pl-20"},b7e={class:"border-rounded-5 bg-#2f3135 p-20 color-white"},y7e={class:"flex items-center"},x7e=["placeholder"],C7e={class:"mt-0 border-rounded-5 bg-#2f3135 p-20 color-white md:mt-20"},w7e={class:"text-18 font-600"},_7e={class:"flex border-#646669 border-b-solid pb-16 pt-16"},S7e={class:"flex-[2]"},k7e={class:"flex-[1] text-right color-#f8f9fa"},P7e={key:0,class:"border-[#646669] border-b-solid pb-16 pt-16"},T7e={class:"color-#f8f9fa"},R7e={class:"flex pb-16 pt-16"},E7e={class:"flex-[2]"},$7e={class:"flex-[1] text-right color-#f8f9fa"},A7e={class:"pb-16 pt-16"},I7e={class:"color-#f8f9fa"},O7e={class:"text-36 font-600"},M7e=be({__name:"detail",setup(e){const t=Tn(),n=Da(),o=Ji(),r=T=>mn.global.t(T),i=new nd({html:!0}),a=T=>i.render(T),s={month_price:r("月付"),quarter_price:r("季付"),half_year_price:r("半年付"),year_price:r("年付"),two_year_price:r("两年付"),three_year_price:r("三年付"),onetime_price:r("一次性"),reset_price:r("流量重置包")},l=W(0),c=W([]);async function u(){const T=C.value;c.value=[];for(const E in T)E in s&&T[E]!==null&&c.value.push({name:s[E],key:E})}const d=W(""),f=W(!1),h=W();async function p(){f.value=!0;const{data:T}=await qJ(d.value,k.value);T&&(h.value=T),f.value=!1}function g(){if(!h.value||!C.value||XC(l.value))return 0;const{type:T,value:E}=h.value,R=c.value[l.value].key;return T===1?E:E*C.value[R]/100}const m=W(!1);async function b(){var E;const T=(E=x.value)==null?void 0:E.find(R=>R.status===0);if(T){const R=T.trade_no;window.$dialog.confirm({title:r("注意"),type:"info",content:r("你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?"),positiveText:r("确认取消"),negativeText:r("返回我的订单"),confirm(){Wu(R).then(({data:K})=>{K&&_()})},cancel(){Gt.push("/order")}});return}if(o.plan_id&&o.plan_id!=k.value&&(o.expired_at===null||o.expired_at>=Math.floor(Date.now()/1e3))){window.$dialog.confirm({title:r("注意"),type:"info",content:r("请注意,变更订阅会导致当前订阅被覆盖。"),confirm(){_()}});return}_()}async function _(){var R;m.value=!0;const T=c.value[l.value].key,{data:E}=await ck(k.value,T,(R=h.value)==null?void 0:R.code);E&&(window.$message.success(r("订单提交成功,正在跳转支付")),setTimeout(()=>{Gt.push("/order/"+E)},500)),m.value=!1}const C=W(),S=W(!0);async function w(){S.value=!0;const{data:T}=await UJ(k.value);S.value=!1,T?(C.value=T,u()):Gt.push("/plan")}const x=W();async function y(){const{data:T}=await Hm();x.value=T}function P(){w(),y()}const k=W();return hn(()=>{k.value=n.params.plan_id,P()}),(T,E)=>{const R=vl,K=Zi,N=Fk,D=Lk,M=vr,G=go,J=Xi,he=d7e,pe=zt,B=Dk,$=vo;return me(),qe($,null,{default:ue(()=>{var A,Y,ne,fe,Q,xe,H,ye;return[S.value?(me(),qe(K,{key:0,vertical:"",class:"mt-20"},{default:ue(()=>[ie(R,{height:"20px",width:"33%"}),ie(R,{height:"20px",width:"66%"}),ie(R,{height:"20px"})]),_:1})):(me(),ze("div",f7e,[U("div",h7e,[ie(G,{title:(A=C.value)==null?void 0:A.name,class:"m-auto max-w-100% border-rounded-5"},{default:ue(()=>{var Oe,Ne,L;return[we(dC)(((Oe=C.value)==null?void 0:Oe.content)||"")?(me(),ze("div",p7e,[(me(!0),ze(it,null,Hn(JSON.parse(((Ne=C.value)==null?void 0:Ne.content)||""),(O,oe)=>(me(),ze("div",{key:oe,class:sr(["vertical-center flex items-center",O.support?"":"opacity-30"])},[ie(M,{size:"30",class:"flex items-center text-[--primary-color]"},{default:ue(()=>[O.support?(me(),qe(N,{key:0})):(me(),qe(D,{key:1}))]),_:2},1024),U("div",null,se(O.feature),1)],2))),128))])):(me(),ze("div",{key:1,innerHTML:a(((L=C.value)==null?void 0:L.content)||""),class:"markdown-body"},null,8,m7e))]}),_:1},8,["title"]),ie(G,{title:T.$t("付款周期"),class:"mt-20 border-rounded-5",contentStyle:"padding:0"},{default:ue(()=>[(me(!0),ze(it,null,Hn(c.value,(Oe,Ne)=>{var L,O;return me(),ze("div",{key:Oe.key},[U("div",{class:sr(["flex justify-between border-2 border-rounded-5 border-solid p-20 text-16 cursor-pointer",Ne===l.value?"border-#0665d0":"border-transparent"]),onClick:oe=>l.value=Ne},[U("div",null,se(Oe.name),1),U("div",null,se((L=we(t).appConfig)==null?void 0:L.currency_symbol)+" "+se(we(rn)((O=C.value)==null?void 0:O[c.value[Ne].key])),1)],10,g7e),ie(J,{class:"m-0!"})])}),128))]),_:1},8,["title"])]),U("div",v7e,[U("div",b7e,[U("div",y7e,[dn(U("input",{placeholder:r("有优惠券?"),"onUpdate:modelValue":E[0]||(E[0]=Oe=>d.value=Oe),class:"min-w-0 flex-[1] border-none bg-transparent color-white outline-none"},null,8,x7e),[[LP,d.value]]),ie(pe,{type:"primary","icon-placement":"left",loading:f.value,disabled:f.value,onClick:E[1]||(E[1]=Oe=>p())},{icon:ue(()=>[ie(he)]),default:ue(()=>[nt(" "+se(T.$t("验证")),1)]),_:1},8,["loading","disabled"])])]),U("div",C7e,[U("div",w7e,se(T.$t("订单总额")),1),U("div",_7e,[U("div",S7e,se((Y=C.value)==null?void 0:Y.name),1),U("div",k7e,se((ne=we(t).appConfig)==null?void 0:ne.currency_symbol)+" "+se(we(rn)((fe=C.value)==null?void 0:fe[c.value[l.value].key])),1)]),h.value?(me(),ze("div",P7e,[U("div",T7e,se(T.$t("折扣")),1),U("div",R7e,[U("div",E7e,se((Q=h.value)==null?void 0:Q.name),1),U("div",$7e,"- "+se(we(rn)(g())),1)])])):pt("",!0),U("div",A7e,[U("div",I7e,se(T.$t("总计")),1),U("div",O7e,se((xe=we(t).appConfig)==null?void 0:xe.currency_symbol)+" "+se(we(rn)(((H=C.value)==null?void 0:H[c.value[l.value].key])-g()))+" "+se((ye=we(t).appConfig)==null?void 0:ye.currency),1)]),ie(pe,{type:"primary",class:"w-100% text-white","icon-placement":"left",strong:"",loading:m.value,disabled:m.value,onClick:E[2]||(E[2]=Oe=>b())},{icon:ue(()=>[ie(B)]),default:ue(()=>[nt(" "+se(T.$t("下单")),1)]),_:1},8,["loading","disabled"])])])]))]}),_:1})}}}),z7e=Object.freeze(Object.defineProperty({__proto__:null,default:M7e},Symbol.toStringTag,{value:"Module"})),D7e={class:"inline-block",viewBox:"0 0 256 256",width:"1em",height:"1em"},L7e=U("path",{fill:"currentColor",d:"M216 64H56a8 8 0 0 1 0-16h136a8 8 0 0 0 0-16H56a24 24 0 0 0-24 24v128a24 24 0 0 0 24 24h160a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16m-36 80a12 12 0 1 1 12-12a12 12 0 0 1-12 12"},null,-1),F7e=[L7e];function B7e(e,t){return me(),ze("svg",D7e,[...F7e])}const N7e={name:"ph-wallet-fill",render:B7e},H7e={class:"text-50 font-400"},j7e={class:"m-l-20 text-20 text-#6c757d"},V7e={class:"text-#6c757d"},W7e={class:"mt-10 max-w-500"},U7e={class:"mt-10 max-w-500"},q7e={class:"mt-10 max-w-500"},K7e={class:"mt-10 max-w-500"},G7e={class:"mb-5"},Y7e={class:"mt-10 max-w-500"},X7e={class:"mb-5"},Z7e={class:"m-0 pb-10 pt-10 text-20"},J7e={class:"mt-20"},Q7e=["href"],eBe={class:"mt-20"},tBe={class:"m-0 pb-10 pt-10 text-20"},nBe={class:"mt-20"},oBe={class:"flex justify-end"},rBe=be({__name:"index",setup(e){const t=Ji(),n=Tn(),o=C=>mn.global.t(C),r=W(""),i=W(""),a=W(""),s=W(!1);async function l(){if(s.value=!0,i.value!==a.value){window.$message.error(o("两次新密码输入不同"));return}const{data:C}=await NJ(r.value,i.value);C===!0&&window.$message.success(o("密码修改成功")),s.value=!1}const c=W(!1),u=W(!1);async function d(C){if(C==="expire"){const{data:S}=await C1({remind_expire:c.value?1:0});S===!0?window.$message.success(o("更新成功")):(window.$message.error(o("更新失败")),c.value=!c.value)}else if(C==="traffic"){const{data:S}=await C1({remind_traffic:u.value?1:0});S===!0?window.$message.success(o("更新成功")):(window.$message.error(o("更新失败")),u.value=!u.value)}}const f=W(),h=W(!1);async function p(){const{data:C}=await eQ();C&&(f.value=C)}function g(C){window.location.href=C}const m=W(!1);async function b(){const{data:C}=await HJ();C&&window.$message.success(o("重置成功"))}async function _(){t.getUserInfo(),c.value=!!t.remind_expire,u.value=!!t.remind_traffic}return hn(()=>{_()}),(C,S)=>{const w=N7e,x=go,y=ur,P=zt,k=TZ,T=pl,E=Xi,R=wZ,K=ni,N=vo;return me(),qe(N,null,{default:ue(()=>{var D,M,G,J;return[ie(x,{title:C.$t("我的钱包"),class:"border-rounded-5"},{"header-extra":ue(()=>[ie(w,{class:"text-40 color-gray"})]),default:ue(()=>{var he;return[U("div",null,[U("span",H7e,se(we(rn)(we(t).balance)),1),U("span",j7e,se((he=we(n).appConfig)==null?void 0:he.currency),1)]),U("div",V7e,se(C.$t("账户余额(仅消费)")),1)]}),_:1},8,["title"]),ie(x,{title:C.$t("修改密码"),class:"mt-20 border-rounded-5"},{default:ue(()=>[U("div",W7e,[U("label",null,se(C.$t("旧密码")),1),ie(y,{type:"password",value:r.value,"onUpdate:value":S[0]||(S[0]=he=>r.value=he),placeholder:C.$t("请输入旧密码"),maxlength:32},null,8,["value","placeholder"])]),U("div",U7e,[U("label",null,se(C.$t("新密码")),1),ie(y,{type:"password",value:i.value,"onUpdate:value":S[1]||(S[1]=he=>i.value=he),placeholder:C.$t("请输入新密码"),maxlength:32},null,8,["value","placeholder"])]),U("div",q7e,[U("label",null,se(C.$t("新密码")),1),ie(y,{type:"password",value:a.value,"onUpdate:value":S[2]||(S[2]=he=>a.value=he),placeholder:C.$t("请输入新密码"),maxlength:32},null,8,["value","placeholder"])]),ie(P,{class:"mt-20",type:"primary",onClick:l,loading:s.value,disabled:s.value},{default:ue(()=>[nt(se(C.$t("保存")),1)]),_:1},8,["loading","disabled"])]),_:1},8,["title"]),ie(x,{title:C.$t("通知"),class:"mt-20 border-rounded-5"},{default:ue(()=>[U("div",K7e,[U("div",G7e,se(C.$t("到期邮件提醒")),1),ie(k,{value:c.value,"onUpdate:value":[S[3]||(S[3]=he=>c.value=he),S[4]||(S[4]=he=>d("expire"))]},null,8,["value"])]),U("div",Y7e,[U("div",X7e,se(C.$t("流量邮件提醒")),1),ie(k,{value:u.value,"onUpdate:value":[S[5]||(S[5]=he=>u.value=he),S[6]||(S[6]=he=>d("traffic"))]},null,8,["value"])])]),_:1},8,["title"]),(M=(D=we(n))==null?void 0:D.appConfig)!=null&&M.is_telegram?(me(),qe(x,{key:0,title:C.$t("绑定Telegram"),class:"mt-20 border-rounded-5"},{"header-extra":ue(()=>[ie(P,{type:"primary",round:"",disabled:we(t).userInfo.telegram_id,onClick:S[7]||(S[7]=he=>(h.value=!0,p(),we(t).getUserSubscribe()))},{default:ue(()=>[nt(se(we(t).userInfo.telegram_id?C.$t("已绑定"):C.$t("立即开始")),1)]),_:1},8,["disabled"])]),_:1},8,["title"])):pt("",!0),(J=(G=we(n))==null?void 0:G.appConfig)!=null&&J.telegram_discuss_link?(me(),qe(x,{key:1,title:C.$t("Telegram 讨论组"),class:"mt-20 border-rounded-5"},{"header-extra":ue(()=>[ie(P,{type:"primary",round:"",onClick:S[8]||(S[8]=he=>{var pe,B;return g((B=(pe=we(n))==null?void 0:pe.appConfig)==null?void 0:B.telegram_discuss_link)})},{default:ue(()=>[nt(se(C.$t("立即加入")),1)]),_:1})]),_:1},8,["title"])):pt("",!0),ie(x,{title:C.$t("重置订阅信息"),class:"mt-20 border-rounded-5"},{default:ue(()=>[ie(T,{type:"warning"},{default:ue(()=>[nt(se(C.$t("当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。")),1)]),_:1}),ie(P,{type:"error",size:"small",class:"mt-10",onClick:S[9]||(S[9]=he=>m.value=!0)},{default:ue(()=>[nt(se(C.$t("重置")),1)]),_:1})]),_:1},8,["title"]),ie(K,{title:C.$t("绑定Telegram"),preset:"card",show:h.value,"onUpdate:show":S[12]||(S[12]=he=>h.value=he),class:"mx-10 max-w-100% w-600 md:mx-auto",footerStyle:"padding: 10px 16px",segmented:{content:!0,footer:!0}},{footer:ue(()=>[U("div",oBe,[ie(P,{type:"primary",onClick:S[11]||(S[11]=he=>h.value=!1)},{default:ue(()=>[nt(se(C.$t("我知道了")),1)]),_:1})])]),default:ue(()=>{var he,pe,B;return[f.value&&we(t).subscribe?(me(),ze(it,{key:0},[U("div",null,[U("h2",Z7e,se(C.$t("第一步")),1),ie(E,{class:"m-0!"}),U("div",J7e,[nt(se(C.$t("打开Telegram搜索"))+" ",1),U("a",{href:"https://t.me/"+((he=f.value)==null?void 0:he.username)},"@"+se((pe=f.value)==null?void 0:pe.username),9,Q7e)])]),U("div",eBe,[U("h2",tBe,se(C.$t("第二步")),1),ie(E,{class:"m-0!"}),U("div",nBe,se(C.$t("向机器人发送你的")),1),U("code",{class:"cursor-pointer",onClick:S[10]||(S[10]=$=>{var A;return we(ma)("/bind "+((A=we(t).subscribe)==null?void 0:A.subscribe_url))})},"/bind "+se((B=we(t).subscribe)==null?void 0:B.subscribe_url),1)])],64)):(me(),qe(R,{key:1,size:"large"}))]}),_:1},8,["title","show"]),ie(K,{show:m.value,"onUpdate:show":S[13]||(S[13]=he=>m.value=he),preset:"dialog",title:C.$t("确定要重置订阅信息?"),content:C.$t("如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。"),"positive-text":C.$t("确认"),"negative-text":C.$t("取消"),onPositiveClick:b},null,8,["show","title","content","positive-text","negative-text"])]}),_:1})}}}),iBe=Object.freeze(Object.defineProperty({__proto__:null,default:rBe},Symbol.toStringTag,{value:"Module"})),aBe={class:"flex justify-end"},sBe=be({__name:"index",setup(e){const t=h=>mn.global.t(h),n=[{label:t("低"),value:0},{label:t("中"),value:1},{label:t("高"),value:2}],o=[{title:t("主题"),key:"subject"},{title:t("工单级别"),key:"u",render(h){return n[h.level].label}},{title:t("工单状态"),key:"status",render(h){const p=v("div",{class:["h-6 w-6 rounded-full mr-5",h.status===1?"bg-green-500":h.reply_status===0?"bg-blue-500":"bg-red-500"]}),g=h.status===1?t("已关闭"):h.reply_status===0?t("已回复"):t("待回复");return v("div",{class:"flex items-center"},[p,g])}},{title:t("创建时间"),key:"created_at",render(h){return Wo(h.created_at)}},{title:t("最后回复时间"),key:"updated_at",render(h){return Wo(h.updated_at)}},{title:t("操作"),key:"actions",fixed:"right",render(h){const p=v(zt,{text:!0,type:"primary",onClick:()=>Gt.push(`/ticket/${h.id}`)},{default:()=>t("查看")}),g=v(zt,{text:!0,type:"primary",disabled:h.status===1,onClick:()=>c(h.id)},{default:()=>t("关闭")}),m=v(Xi,{vertical:!0});return v("div",[p,m,g])}}],r=W(!1),i=W(""),a=W(),s=W("");async function l(){const{data:h}=await GJ(i.value,a.value,s.value);h===!0&&(window.$message.success(t("创建成功")),f(),r.value=!1)}async function c(h){const{data:p}=await YJ(h);p&&(window.$message.success(t("关闭成功")),f())}const u=W([]);async function d(){const{data:h}=await KJ();u.value=h}function f(){d()}return hn(()=>{f()}),(h,p)=>{const g=ur,m=Du,b=Zi,_=go,C=ni,S=Nu,w=vo;return me(),qe(w,null,{default:ue(()=>[ie(C,{show:r.value,"onUpdate:show":p[6]||(p[6]=x=>r.value=x)},{default:ue(()=>[ie(_,{title:h.$t("新的工单"),class:"mx-10 max-w-100% w-600 md:mx-auto",segmented:{content:!0,footer:!0},closable:"",onClose:p[5]||(p[5]=x=>r.value=!1)},{footer:ue(()=>[U("div",aBe,[ie(b,null,{default:ue(()=>[ie(we(zt),{onClick:p[3]||(p[3]=x=>r.value=!1)},{default:ue(()=>[nt(se(h.$t("取消")),1)]),_:1}),ie(we(zt),{type:"primary",onClick:p[4]||(p[4]=x=>l())},{default:ue(()=>[nt(se(h.$t("确认")),1)]),_:1})]),_:1})])]),default:ue(()=>[U("div",null,[U("label",null,se(h.$t("主题")),1),ie(g,{value:i.value,"onUpdate:value":p[0]||(p[0]=x=>i.value=x),class:"mt-5",placeholder:h.$t("请输入工单主题")},null,8,["value","placeholder"])]),U("div",null,[U("label",null,se(h.$t("工单级别")),1),ie(m,{value:a.value,"onUpdate:value":p[1]||(p[1]=x=>a.value=x),options:n,placeholder:h.$t("请选项工单等级"),class:"mt-5"},null,8,["value","placeholder"])]),U("div",null,[U("label",null,se(h.$t("消息")),1),ie(g,{value:s.value,"onUpdate:value":p[2]||(p[2]=x=>s.value=x),type:"textarea",placeholder:h.$t("请描述你遇到的问题"),round:"",class:"mt-5"},null,8,["value","placeholder"])])]),_:1},8,["title"])]),_:1},8,["show"]),ie(_,{class:"border-rounded-5",title:h.$t("工单历史")},{"header-extra":ue(()=>[ie(we(zt),{type:"primary",round:"",onClick:p[7]||(p[7]=x=>r.value=!0)},{default:ue(()=>[nt(se(h.$t("新的工单")),1)]),_:1})]),default:ue(()=>[ie(S,{columns:o,data:u.value,"scroll-x":800},null,8,["data"])]),_:1},8,["title"])]),_:1})}}}),lBe=Object.freeze(Object.defineProperty({__proto__:null,default:sBe},Symbol.toStringTag,{value:"Module"})),cBe={class:"relative",style:{height:"calc(100% - 70px)"}},uBe={class:"mb-8 mt-8 text-14 text-gray"},dBe={class:"mb-8 inline-block border-rounded-5 bg-#f8f9fa pb-8 pl-16 pr-16 pt-8"},fBe=be({__name:"detail",setup(e){const t=Da(),n=h=>mn.global.t(h),o=W("");async function r(){const{data:h}=await ZJ(i.value,o.value);h===!0&&(window.$message.success(n("回复成功")),o.value="",f())}const i=W(),a=W();async function s(){const{data:h}=await XJ(i.value);h&&(a.value=h)}const l=W(null),c=W(null),u=async()=>{const h=l.value,p=c.value;h&&p&&h.scrollBy({top:p.scrollHeight,behavior:"auto"})},d=W();async function f(){await s(),await Ht(),u(),d.value=setInterval(s,2e3)}return hn(()=>{i.value=t.params.ticket_id,f()}),(h,p)=>{const g=hZ,m=ur,b=zt,_=bm,C=go,S=vo;return me(),qe(S,null,{default:ue(()=>{var w;return[ie(C,{title:(w=a.value)==null?void 0:w.subject,class:"h-full overflow-hidden"},{default:ue(()=>[U("div",cBe,[ie(g,{class:"absolute right-0 h-full",ref_key:"scrollbarRef",ref:l},{default:ue(()=>{var x;return[U("div",{ref_key:"scrollContainerRef",ref:c},[(me(!0),ze(it,null,Hn((x=a.value)==null?void 0:x.message,y=>(me(),ze("div",{key:y.id,class:sr([y.is_me?"text-right":"text-left"])},[U("div",uBe,se(we(Wo)(y.created_at)),1),U("div",dBe,se(y.message),1)],2))),128))],512)]}),_:1},512)]),ie(_,{size:"large",class:"mt-30"},{default:ue(()=>[ie(m,{type:"text",size:"large",placeholder:h.$t("输入内容回复工单"),autofocus:!0,value:o.value,"onUpdate:value":p[0]||(p[0]=x=>o.value=x),onKeyup:p[1]||(p[1]=ws(x=>r(),["enter"]))},null,8,["placeholder","value"]),ie(b,{type:"primary",size:"large",onClick:p[2]||(p[2]=x=>r())},{default:ue(()=>[nt(se(h.$t("回复")),1)]),_:1})]),_:1})]),_:1},8,["title"])]}),_:1})}}}),hBe=Object.freeze(Object.defineProperty({__proto__:null,default:fBe},Symbol.toStringTag,{value:"Module"})),pBe=be({__name:"index",setup(e){const t=i=>mn.global.t(i),n=[{title:t("记录时间"),key:"record_at",render(i){return zp(i.record_at)}},{title:t("实际上行"),key:"u",render(i){return Ps(i.u)}},{title:t("实际下行"),key:"d",render(i){return Ps(i.d)}},{title:t("扣费倍率"),key:"server_rate",render(i){return v(Ti,{size:"small",round:!0},{default:()=>i.server_rate+" x"})}},{title(){const i=v(Fu,{placement:"bottom",trigger:"hover"},{trigger:()=>v(tl("mdi-help-circle-outline",{size:16})),default:()=>t("公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量")});return v("div",{class:"flex items-center"},[t("总计"),i])},key:"total",fixed:"right",render(i){return Ps((i.d+i.u)*parseFloat(i.server_rate))}}],o=W([]);async function r(){const{data:i}=await jJ();o.value=i}return hn(()=>{r()}),(i,a)=>{const s=pl,l=Nu,c=go,u=vo;return me(),qe(u,null,{default:ue(()=>[ie(c,{class:"border-rounded-5"},{default:ue(()=>[ie(s,{type:"info",bordered:!1,class:"mb-20"},{default:ue(()=>[nt(se(i.$t("流量明细仅保留近月数据以供查询。")),1)]),_:1}),ie(l,{columns:n,data:o.value,"scroll-x":600},null,8,["data"])]),_:1})]),_:1})}}}),mBe=Object.freeze(Object.defineProperty({__proto__:null,default:pBe},Symbol.toStringTag,{value:"Module"})),gBe={name:"NOTFOUND"},vBe={"h-full":"",flex:""};function bBe(e,t,n,o,r,i){const a=zt,s=uZ;return me(),ze("div",vBe,[ie(s,{"m-auto":"",status:"404",title:"404 Not Found",description:""},{footer:ue(()=>[ie(a,null,{default:ue(()=>[nt("Find some fun")]),_:1})]),_:1})])}const yBe=qu(gBe,[["render",bBe]]),xBe=Object.freeze(Object.defineProperty({__proto__:null,default:yBe},Symbol.toStringTag,{value:"Module"})),CBe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},wBe=U("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[U("path",{d:"M2 12c0 5.523 4.477 10 10 10s10-4.477 10-10S17.523 2 12 2S2 6.477 2 12"}),U("path",{d:"M13 2.05S16 6 16 12s-3 9.95-3 9.95m-2 0S8 18 8 12s3-9.95 3-9.95M2.63 15.5h18.74m-18.74-7h18.74"})],-1),_Be=[wBe];function SBe(e,t){return me(),ze("svg",CBe,[..._Be])}const kBe={name:"iconoir-language",render:SBe},PBe={class:"inline-block",viewBox:"0 0 32 32",width:"1em",height:"1em"},TBe=U("path",{fill:"currentColor",d:"M26 30H14a2 2 0 0 1-2-2v-3h2v3h12V4H14v3h-2V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v24a2 2 0 0 1-2 2"},null,-1),RBe=U("path",{fill:"currentColor",d:"M14.59 20.59L18.17 17H4v-2h14.17l-3.58-3.59L16 10l6 6l-6 6z"},null,-1),EBe=[TBe,RBe];function $Be(e,t){return me(),ze("svg",PBe,[...EBe])}const ABe={name:"carbon-login",render:$Be},IBe=be({__name:"vueRecaptcha",props:{sitekey:{type:String,required:!0},size:{type:String,required:!1,default:"normal"},theme:{type:String,required:!1,default:"light"},hl:{type:String,required:!1},loadingTimeout:{type:Number,required:!1,default:0}},emits:{verify:e=>e!=null&&e!="",error:e=>e,expire:null,fail:null},setup(e,{expose:t,emit:n}){const o=e,r=W(null);let i=null;t({execute:function(){window.grecaptcha.execute(i)},reset:function(){window.grecaptcha.reset(i)}});function a(){i=window.grecaptcha.render(r.value,{sitekey:o.sitekey,theme:o.theme,size:o.size,callback:s=>n("verify",s),"expired-callback":()=>n("expire"),"error-callback":()=>n("fail")})}return jt(()=>{window.grecaptcha==null?new Promise((s,l)=>{let c,u=!1;window.recaptchaReady=function(){u||(u=!0,clearTimeout(c),s())};const d="recaptcha-script",f=g=>()=>{var m;u||(u=!0,clearTimeout(c),(m=document.getElementById(d))==null||m.remove(),l(g))};o.loadingTimeout>0&&(c=setTimeout(f("timeout"),o.loadingTimeout));const h=window.document,p=h.createElement("script");p.id=d,p.onerror=f("error"),p.onabort=f("aborted"),p.setAttribute("src",`https://www.recaptcha.net/recaptcha/api.js?onload=recaptchaReady&render=explicit&hl=${o.hl}&_=${+new Date}`),h.head.appendChild(p)}).then(()=>{a()}).catch(s=>{n("error",s)}):a()}),(s,l)=>(me(),ze("div",{ref_key:"recaptchaDiv",ref:r},null,512))}}),OBe=e=>_t({url:"/passport/auth/login",method:"post",data:e}),MBe=e=>_t.get("/passport/auth/token2Login?verify="+encodeURIComponent(e.verify)+"&redirect="+encodeURIComponent(e.redirect)),zBe=e=>_t({url:"/passport/auth/register",method:"post",data:e});function DBe(){return _t.get("/guest/comm/config")}function LBe(e,t){return _t.post("/passport/comm/sendEmailVerify",{email:e,recaptcha_data:t})}function FBe(e,t,n){return _t.post("/passport/auth/forget",{email:e,password:t,email_code:n})}const BBe={class:"p-24"},NBe={key:0,class:"text-center"},HBe=["src"],jBe={key:1,class:"m-1 text-center text-36 font-normal",color:"#343a40"},VBe={class:"text-muted mb-3 text-center text-14 font-400",color:"#6c757d"},WBe={class:"mt-20 w-full"},UBe={class:"mt-20 w-full"},qBe={class:"mt-20 w-full"},KBe={class:"mt-20 w-full"},GBe={class:"mt-20 w-full"},YBe={class:"mt-20 w-full"},XBe=["innerHTML"],ZBe={class:"mt-20 w-full"},JBe={class:"flex justify-between bg-[--n-color-embedded] p-x-24 p-y-16 text-#6c757d"},QBe=be({__name:"login",setup(e){const t=Tn(),n=Mx(),o=Da(),r=k=>mn.global.t(k),i=eo({email:"",email_code:"",password:"",confirm_password:"",confirm:"",invite_code:"",lock_invite_code:!1,suffix:""}),a=W(!0),s=F(()=>{var T;const k=(T=C.value)==null?void 0:T.tos_url;return"
"+mn.global.tc('我已阅读并同意 服务条款',{url:k})+"
"}),l=W(),c=W(),u=W(!1),d=W();function f(k){l.value=k,setTimeout(()=>{u.value=!1,c.value&&c.value.reset,d.value==="register"?(x(),d.value=""):d.value==="sendEmailVerify"&&(_(),d.value="")},500)}function h(){c.value&&c.value.reset()}function p(){c.value&&c.value.reset()}function g(){c.value&&c.value.reset&&c.value.reset()}const m=W(!1),b=W(0);async function _(){var E,R;if(i.email===""){window.$message.error(r("请输入邮箱地址"));return}if(m.value=!0,b.value>0){window.$message.warning(mn.global.tc("{second}秒后可重新发送",{second:b.value}));return}if((E=C.value)!=null&&E.is_recaptcha&&((R=C.value)!=null&&R.recaptcha_site_key)&&!l.value){u.value=!0,m.value=!1,d.value="sendEmailVerify";return}const k=i.suffix?`${i.email}${i.suffix}`:i.email,{data:T}=await LBe(k,l.value);if(T===!0){window.$message.success(r("发送成功")),b.value=60;const K=setInterval(()=>{b.value--,b.value===0&&clearInterval(K)},1e3);l.value=""}m.value=!1}const C=W();async function S(){var T,E;const{data:k}=await DBe();k&&(C.value=k,tb(k.email_whitelist_suffix)&&(i.suffix=(T=k.email_whitelist_suffix)!=null&&T[0]?"@"+((E=k.email_whitelist_suffix)==null?void 0:E[0]):""),k.tos_url&&(a.value=!1))}const w=W(!1);async function x(){var K,N,D;const{email:k,password:T,confirm_password:E,email_code:R}=i;switch(y.value){case"login":{if(!k||!T){window.$message.warning(r("请输入用户名和密码"));return}w.value=!0;const{data:M}=await OBe({email:k,password:T.toString()});w.value=!1,M!=null&&M.auth_data&&(window.$message.success(r("登录成功")),df(M==null?void 0:M.auth_data),n.push(((K=o.query.redirect)==null?void 0:K.toString())??"/dashboard"));break}case"register":{if(i.email===""){window.$message.error(r("请输入邮箱地址"));return}const{password:M,confirm_password:G,invite_code:J,email_code:he}=i,pe=i.suffix?`${i.email}${i.suffix}`:i.email;if(!pe||!M){window.$message.warning(r("请输入账号密码"));return}if(M!==G){window.$message.warning(r("请确保两次密码输入一致"));return}if((N=C.value)!=null&&N.is_recaptcha&&((D=C.value)!=null&&D.recaptcha_site_key)&&!l.value){l.value||(u.value=!0),d.value="register";return}w.value=!0;const{data:B}=await zBe({email:pe,password:M,invite_code:J,email_code:he,recaptcha_data:l.value});w.value=!1,B!=null&&B.auth_data&&(window.$message.success(r("注册成功")),df(B.auth_data),n.push("/")),l.value="";break}case"forgetpassword":{if(k===""){window.$message.error(r("请输入邮箱地址"));return}if(!k||!T){window.$message.warning(r("请输入账号密码"));return}if(T!==E){window.$message.warning(r("请确保两次密码输入一致"));return}w.value=!0;const M=i.suffix?`${i.email}${i.suffix}`:i.email,{data:G}=await FBe(M,T,R);w.value=!1,G&&(window.$message.success(r("重置密码成功,正在返回登录")),setTimeout(()=>{n.push("/login")},500))}}}const y=F(()=>{const k=o.path;return k.includes("login")?"login":k.includes("register")?"register":k.includes("forgetpassword")?"forgetpassword":""}),P=async()=>{["register","forgetpassword"].includes(y.value)&&S(),o.query.code&&(i.lock_invite_code=!0,i.invite_code=o.query.code);const{verify:k,redirect:T}=o.query;if(k&&T){const{data:E}=await MBe({verify:k,redirect:T});E!=null&&E.auth_data&&(window.$message.success(r("登录成功")),df(E==null?void 0:E.auth_data),n.push(T.toString()))}};return Xt(()=>{P()}),(k,T)=>{const E=ni,R=ur,K=Du,N=bm,D=zt,M=ml,G=ABe,J=Qc("router-link"),he=Xi,pe=kBe,B=_m,$=go;return me(),ze(it,null,[ie(E,{show:u.value,"onUpdate:show":T[0]||(T[0]=A=>u.value=A)},{default:ue(()=>{var A,Y,ne;return[(A=C.value)!=null&&A.is_recaptcha&&((Y=C.value)!=null&&Y.recaptcha_site_key)?(me(),qe(we(IBe),{key:0,sitekey:(ne=C.value)==null?void 0:ne.recaptcha_site_key,size:"normal",theme:"light","loading-timeout":3e4,onVerify:f,onExpire:h,onFail:p,onError:g,ref_key:"vueRecaptchaRef",ref:c},null,8,["sitekey"])):pt("",!0)]}),_:1},8,["show"]),U("div",{class:"wh-full flex items-center justify-center",style:Di(we(t).background_url&&`background:url(${we(t).background_url}) no-repeat center center / cover;`)},[ie($,{class:"m-auto max-w-450 rounded-5 bg-[--n-color] shadow-black","content-style":"padding: 0;"},{default:ue(()=>{var A,Y,ne;return[U("div",BBe,[we(t).logo?(me(),ze("div",NBe,[U("img",{src:we(t).logo,class:"mb-1em max-w-100%"},null,8,HBe)])):(me(),ze("h1",jBe,se(we(t).title),1)),U("h5",VBe,se(we(t).description||" "),1),U("div",WBe,[ie(N,null,{default:ue(()=>{var fe,Q,xe;return[ie(R,{value:i.email,"onUpdate:value":T[1]||(T[1]=H=>i.email=H),autofocus:"",placeholder:k.$t("邮箱"),maxlength:40},null,8,["value","placeholder"]),["register","forgetpassword"].includes(y.value)&&we(tb)((fe=C.value)==null?void 0:fe.email_whitelist_suffix)?(me(),qe(K,{key:0,value:i.suffix,"onUpdate:value":T[2]||(T[2]=H=>i.suffix=H),options:((xe=(Q=C.value)==null?void 0:Q.email_whitelist_suffix)==null?void 0:xe.map(H=>({value:`@${H}`,label:`@${H}`})))||[],class:"flex-[1]","consistent-menu-width":!1},null,8,["value","options"])):pt("",!0)]}),_:1})]),dn(U("div",UBe,[ie(N,{class:"flex"},{default:ue(()=>[ie(R,{value:i.email_code,"onUpdate:value":T[3]||(T[3]=fe=>i.email_code=fe),placeholder:k.$t("邮箱验证码")},null,8,["value","placeholder"]),ie(D,{type:"primary",onClick:T[4]||(T[4]=fe=>_()),loading:m.value,disabled:m.value||b.value>0},{default:ue(()=>[nt(se(b.value||k.$t("发送")),1)]),_:1},8,["loading","disabled"])]),_:1})],512),[[Mn,["register"].includes(y.value)&&((A=C.value)==null?void 0:A.is_email_verify)||["forgetpassword"].includes(y.value)]]),U("div",qBe,[ie(R,{value:i.password,"onUpdate:value":T[5]||(T[5]=fe=>i.password=fe),class:"",type:"password","show-password-on":"click",placeholder:k.$t("密码"),maxlength:40,onKeydown:T[6]||(T[6]=ws(fe=>["login"].includes(y.value)&&x(),["enter"]))},null,8,["value","placeholder"])]),dn(U("div",KBe,[ie(R,{value:i.confirm_password,"onUpdate:value":T[7]||(T[7]=fe=>i.confirm_password=fe),type:"password","show-password-on":"click",placeholder:k.$t("再次输入密码"),maxlength:40,onKeydown:T[8]||(T[8]=ws(fe=>["forgetpassword"].includes(y.value)&&x(),["enter"]))},null,8,["value","placeholder"])],512),[[Mn,["register","forgetpassword"].includes(y.value)]]),dn(U("div",GBe,[ie(R,{value:i.invite_code,"onUpdate:value":T[9]||(T[9]=fe=>i.invite_code=fe),placeholder:[k.$t("邀请码"),(Y=C.value)!=null&&Y.is_invite_force?`(${k.$t("必填")})`:`(${k.$t("选填")})`],maxlength:20,disabled:i.lock_invite_code,onKeydown:T[10]||(T[10]=ws(fe=>x(),["enter"]))},null,8,["value","placeholder","disabled"])],512),[[Mn,["register"].includes(y.value)]]),dn(U("div",YBe,[ie(M,{checked:a.value,"onUpdate:checked":T[11]||(T[11]=fe=>a.value=fe),class:"text-bold text-16"},{default:ue(()=>[U("div",{innerHTML:s.value},null,8,XBe)]),_:1},8,["checked"])],512),[[Mn,["register"].includes(y.value)&&((ne=C.value)==null?void 0:ne.tos_url)]]),U("div",ZBe,[ie(D,{class:"h-36 w-full rounded-5 text-16",type:"primary","icon-placement":"left",onClick:T[12]||(T[12]=fe=>x()),loading:w.value,disabled:w.value||!a.value&&["register"].includes(y.value)},{icon:ue(()=>[ie(G)]),default:ue(()=>[nt(" "+se(["login"].includes(y.value)?k.$t("登入"):["register"].includes(y.value)?k.$t("注册"):k.$t("重置密码")),1)]),_:1},8,["loading","disabled"])])]),U("div",JBe,[U("div",null,[["login"].includes(y.value)?(me(),ze(it,{key:0},[ie(J,{to:"/register",class:"text-#6c757d"},{default:ue(()=>[nt(se(k.$t("注册")),1)]),_:1}),ie(he,{vertical:""}),ie(J,{to:"/forgetpassword",class:"text-#6c757d"},{default:ue(()=>[nt(se(k.$t("忘记密码")),1)]),_:1})],64)):(me(),qe(J,{key:1,to:"/login",class:"text-#6c757d"},{default:ue(()=>[nt(se(k.$t("返回登入")),1)]),_:1}))]),U("div",null,[ie(B,{value:we(t).lang,"onUpdate:value":T[13]||(T[13]=fe=>we(t).lang=fe),options:Object.entries(we(sh)).map(([fe,Q])=>({label:Q,value:fe})),trigger:"click","on-update:value":we(t).switchLang},{default:ue(()=>[ie(D,{text:"","icon-placement":"left"},{icon:ue(()=>[ie(pe)]),default:ue(()=>[nt(" "+se(we(sh)[we(t).lang]),1)]),_:1})]),_:1},8,["value","options","on-update:value"])])])]}),_:1})],4)],64)}}}),Pf=Object.freeze(Object.defineProperty({__proto__:null,default:QBe},Symbol.toStringTag,{value:"Module"})),eNe={请求失败:"Request failed",月付:"Monthly",季付:"Quarterly",半年付:"Semi-Annually",年付:"Annually",两年付:"Biennially",三年付:"Triennially",一次性:"One Time",重置流量包:"Data Reset Package",待支付:"Pending Payment",开通中:"Pending Active",已取消:"Canceled",已完成:"Completed",已折抵:"Converted",待确认:"Pending",发放中:"Confirming",已发放:"Completed",无效:"Invalid",个人中心:"User Center",登出:"Logout",搜索:"Search",仪表盘:"Dashboard",订阅:"Subscription",我的订阅:"My Subscription",购买订阅:"Purchase Subscription",财务:"Billing",我的订单:"My Orders",我的邀请:"My Invitation",用户:"Account",我的工单:"My Tickets",流量明细:"Transfer Data Details",使用文档:"Knowledge Base",绑定Telegram获取更多服务:"Not link to Telegram yet",点击这里进行绑定:"Please click here to link to Telegram",公告:"Announcements",总览:"Overview",该订阅长期有效:"The subscription is valid for an unlimited time",已过期:"Expired","已用 {used} / 总计 {total}":"{used} Used / Total {total}",查看订阅:"View Subscription",邮箱:"Email",邮箱验证码:"Email verification code",发送:"Send",重置密码:"Reset Password",返回登入:"Back to Login",邀请码:"Invitation Code",复制链接:"Copy Link",完成时间:"Complete Time",佣金:"Commission",已注册用户数:"Registered users",佣金比例:"Commission rate",确认中的佣金:"Pending commission","佣金将会在确认后会到达你的佣金账户。":"The commission will reach your commission account after review.",邀请码管理:"Invitation Code Management",生成邀请码:"Generate invitation code",佣金发放记录:"Commission Income Record",复制成功:"Copied successfully",密码:"Password",登入:"Login",注册:"Register",忘记密码:"Forgot password","# 订单号":"Order Number #",周期:"Type / Cycle",订单金额:"Order Amount",订单状态:"Order Status",创建时间:"Creation Time",操作:"Action",查看详情:"View Details",请选择支付方式:"Please select a payment method",请检查信用卡支付信息:"Please check credit card payment information",订单详情:"Order Details",折扣:"Discount",折抵:"Converted",退款:"Refund",支付方式:"Payment Method",填写信用卡支付信息:"Please fill in credit card payment information","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"We will not collect your credit card information, credit card number and other details only use to verify the current transaction.",订单总额:"Order Total",总计:"Total",结账:"Checkout",等待支付中:"Waiting for payment","订单系统正在进行处理,请稍等1-3分钟。":"Order system is being processed, please wait 1 to 3 minutes.","订单由于超时支付已被取消。":"The order has been canceled due to overtime payment.","订单已支付并开通。":"The order has been paid and the service is activated.",选择订阅:"Select a Subscription",立即订阅:"Subscribe now",配置订阅:"Configure Subscription",付款周期:"Payment Cycle","有优惠券?":"Have coupons?",验证:"Verify",下单:"Order","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"Attention please, change subscription will overwrite your current subscription.",该订阅无法续费:"This subscription cannot be renewed",选择其他订阅:"Choose another subscription",我的钱包:"My Wallet","账户余额(仅消费)":"Account Balance (For billing only)","推广佣金(可提现)":"Invitation Commission (Can be used to withdraw)",钱包组成部分:"Wallet Details",划转:"Transfer",推广佣金提现:"Invitation Commission Withdrawal",修改密码:"Change Password",保存:"Save",旧密码:"Old Password",新密码:"New Password",请输入旧密码:"Please enter the old password",请输入新密码:"Please enter the new password",通知:"Notification",到期邮件提醒:"Subscription expiration email reminder",流量邮件提醒:"Insufficient transfer data email alert",绑定Telegram:"Link to Telegram",立即开始:"Start Now",重置订阅信息:"Reset Subscription",重置:"Reset","确定要重置订阅信息?":"Do you want to reset subscription?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"In case of your account information or subscription leak, this option is for reset. After resetting your UUID and subscription will change, you need to re-subscribe.",重置成功:"Reset successfully",两次新密码输入不同:"Two new passwords entered do not match",两次密码输入不同:"The passwords entered do not match","邀请码(选填)":"Invitation code (Optional)",'我已阅读并同意 服务条款':'I have read and agree to the terms of service',请同意服务条款:"Please agree to the terms of service",名称:"Name",标签:"Tags",状态:"Status",节点五分钟内节点在线情况:"Access Point online status in the last 5 minutes",倍率:"Rate",使用的流量将乘以倍率进行扣除:"The transfer data usage will be multiplied by the transfer data rate deducted.",更多操作:"Action","没有可用节点,如果您未订阅或已过期请":"No access points are available. If you have not subscribed or the subscription has expired, please","确定重置当前已用流量?":"Are you sure to reset your current data usage?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":'Click "Confirm" and you will be redirected to the payment page. The system will empty your current month"s usage after your purchase.',确定:"Confirm",低:"Low",中:"Medium",高:"High",主题:"Subject",工单级别:"Ticket Priority",工单状态:"Ticket Status",最后回复:"Last Reply",已关闭:"Closed",待回复:"Pending Reply",已回复:"Replied",查看:"View",关闭:"Cancel",新的工单:"My Tickets",确认:"Confirm",请输入工单主题:"Please enter a subject",工单等级:"Ticket Priority",请选择工单等级:"Please select the ticket priority",消息:"Message",请描述你遇到的问题:"Please describe the problem you encountered",记录时间:"Record Time",实际上行:"Actual Upload",实际下行:"Actual Download",合计:"Total","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"Formula: (Actual Upload + Actual Download) x Deduction Rate = Deduct Transfer Data",复制订阅地址:"Copy Subscription URL",导入到:"Export to",一键订阅:"Quick Subscription",复制订阅:"Copy Subscription URL",推广佣金划转至余额:"Transfer Invitation Commission to Account Balance","划转后的余额仅用于{title}消费使用":"The transferred balance will be used for {title} payments only",当前推广佣金余额:"Current invitation balance",划转金额:"Transfer amount",请输入需要划转到余额的金额:"Please enter the amount to be transferred to the balance","输入内容回复工单...":"Please enter to reply to the ticket...",申请提现:"Apply For Withdrawal",取消:"Cancel",提现方式:"Withdrawal Method",请选择提现方式:"Please select a withdrawal method",提现账号:"Withdrawal Account",请输入提现账号:"Please enter the withdrawal account",我知道了:"I got it",第一步:"First Step",第二步:"Second Step",打开Telegram搜索:"Open Telegram and Search ",向机器人发送你的:"Send the following command to bot","最后更新: {date}":"Last Updated: {date}",还有没支付的订单:"There are still unpaid orders",立即支付:"Pay Now",条工单正在处理中:"tickets are in process",立即查看:"View Now",节点状态:"Access Point Status",商品信息:"Product Information",产品名称:"Product Name","类型/周期":"Type / Cycle",产品流量:"Product Transfer Data",订单信息:"Order Details",关闭订单:"Close order",订单号:"Order Number",优惠金额:"Discount amount",旧订阅折抵金额:"Old subscription converted amount",退款金额:"Refunded amount",余额支付:"Balance payment",工单历史:"Ticket History","已用流量将在 {reset_day} 日后重置":"Used data will reset after {reset_day} days",已用流量已在今日重置:"Data usage has been reset today",重置已用流量:"Reset used data",查看节点状态:"View Access Point status","当前已使用流量达{rate}%":"Currently used data up to {rate}%",节点名称:"Access Point Name","于 {date} 到期,距离到期还有 {day} 天。":"Will expire on {date}, {day} days before expiration.","Telegram 讨论组":"Telegram Discussion Group",立即加入:"Join Now","该订阅无法续费,仅允许新用户购买":"This subscription cannot be renewed and is only available to new users.",重置当月流量:"Reset current month usage","流量明细仅保留近月数据以供查询。":'Only keep the most recent month"s usage for checking the transfer data details.',扣费倍率:"Fee deduction rate",支付手续费:"Payment fee",续费订阅:"Renewal Subscription",学习如何使用:"Learn how to use",快速将节点导入对应客户端进行使用:"Quickly export subscription into the client app",对您当前的订阅进行续费:"Renew your current subscription",对您当前的订阅进行购买:"Purchase your current subscription",捷径:"Shortcut","不会使用,查看使用教程":"I am a newbie, view the tutorial",使用支持扫码的客户端进行订阅:"Use a client app that supports scanning QR code to subscribe",扫描二维码订阅:"Scan QR code to subscribe",续费:"Renewal",购买:"Purchase",查看教程:"View Tutorial",注意:"Attention","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"You still have an unpaid order. You need to cancel it before purchasing. Are you sure you want to cancel the previous order?",确定取消:"Confirm Cancel",返回我的订单:"Back to My Order","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"If you have already paid, canceling the order may cause the payment to fail. Are you sure you want to cancel the order?",选择最适合你的计划:"Choose the right plan for you",全部:"All",按周期:"By Cycle",遇到问题:"I have a problem",遇到问题可以通过工单与我们沟通:"If you have any problems, you can contact us via ticket",按流量:"Pay As You Go",搜索文档:"Search Documents",技术支持:"Technical Support",当前剩余佣金:"Current commission remaining",三级分销比例:"Three-level Distribution Ratio",累计获得佣金:"Cumulative commission earned","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"The users you invite to re-invite users will be divided according to the order amount multiplied by the distribution level.",发放时间:"Commission Time","{number} 人":"{number} people","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"If your subscription address or account is leaked and misused by others, you can reset your subscription information here to prevent unnecessary losses.",再次输入密码:"Enter password again",返回登陆:"Return to Login",选填:"Optional",必填:"Required",最后回复时间:"Last Reply Time",请选项工单等级:"Please Select Ticket Priority",回复:"Reply",输入内容回复工单:"Enter Content to Reply to Ticket",已生成:"Generated",选择协议:"Select Protocol",自动:"Automatic",流量重置包:"Data Reset Package",复制失败:"Copy failed",提示:"Notification","确认退出?":"Confirm Logout?",已退出登录:"Logged out successfully",请输入邮箱地址:"Enter email address","{second}秒后可重新发送":"Resend available in {second} seconds",发送成功:"Sent successfully",请输入账号密码:"Enter account and password",请确保两次密码输入一致:"Ensure password entries match",注册成功:"Registration successful","重置密码成功,正在返回登录":"Password reset successful, returning to login",确认取消:"Confirm Cancel","请注意,变更订阅会导致当前订阅被覆盖。":"Please note that changing the subscription will overwrite the current subscription.","订单提交成功,正在跳转支付":"Order submitted successfully, redirecting to payment.",回复成功:"Reply Successful",工单详情:"Ticket Details",登录成功:"Login Successful","确定退出?":"Are you sure you want to exit?",支付成功:"Payment Successful",正在前往收银台:"Proceeding to Checkout",请输入正确的划转金额:"Please enter the correct transfer amount",划转成功:"Transfer Successful",提现方式不能为空:"Withdrawal method cannot be empty",提现账号不能为空:"Withdrawal account cannot be empty",已绑定:"Already Bound",创建成功:"Creation successful",关闭成功:"Shutdown successful"},Bk=Object.freeze(Object.defineProperty({__proto__:null,default:eNe},Symbol.toStringTag,{value:"Module"})),tNe={请求失败:"درخواست انجام نشد",月付:"ماهانه",季付:"سه ماهه",半年付:"نیم سال",年付:"سالانه",两年付:"دو سال",三年付:"سه سال",一次性:"یک‌باره",重置流量包:"بازنشانی بسته های داده",待支付:"در انتظار پرداخت",开通中:"ایجاید",已取消:"صرف نظر شد",已完成:"به پایان رسید",已折抵:"تخفیف داده شده است",待确认:"در حال بررسی",发放中:"صدور",已发放:"صادر شده",无效:"نامعتبر",个人中心:"پروفایل",登出:"خروج",搜索:"جستجو",仪表盘:"داشبرد",订阅:"اشتراک",我的订阅:"اشتراک من",购买订阅:"خرید اشتراک",财务:"امور مالی",我的订单:"درخواست های من",我的邀请:"دعوتنامه های من",用户:"کاربر",我的工单:"درخواست های من",流量明细:"جزئیات\\nعبورو مرور در\\nمحیط آموزشی",使用文档:"کار با مستندات",绑定Telegram获取更多服务:"برای خدمات بیشتر تلگرام را ببندید",点击这里进行绑定:"برای اتصال اینجا را کلیک کنید",公告:"هشدارها",总览:"بررسی کلی",该订阅长期有效:"این اشتراک برای مدت طولانی معتبر است",已过期:"منقضی شده","已用 {used} / 总计 {total}":"استفاده شده {used} / مجموع {total}",查看订阅:"مشاهده عضویت ها",邮箱:"ایمیل",邮箱验证码:"کد تایید ایمیل شما",发送:"ارسال",重置密码:"بازنشانی رمز عبور",返回登入:"بازگشت به صفحه ورود",邀请码:"کد دعوت شما",复制链接:"کپی‌کردن لینک",完成时间:"زمان پایان",佣金:"کمیسیون",已注册用户数:"تعداد کاربران ثبت نام شده",佣金比例:"نرخ کمیسیون",确认中的佣金:"کمیسیون تایید شده","佣金将会在确认后会到达你的佣金账户。":"کمیسیون پس از تایید به حساب کمیسیون شما واریز خواهد شد",邀请码管理:"مدیریت کد دعوت",生成邀请码:"یک کد دعوت ایجاد کنید",佣金发放记录:"سابقه پرداخت کمیسیون",复制成功:"آدرس URL با موفقیت کپی شد",密码:"رمز عبور",登入:"ورود",注册:"ثبت‌نام",忘记密码:"رمز عبور فراموش شده","# 订单号":"# شماره سفارش",周期:"چرخه",订单金额:"مقدار سفارش",订单状态:"وضعیت سفارش",创建时间:"ساختن",操作:"عملیات",查看详情:"مشاهده جزئیات",请选择支付方式:"لطفا نوع پرداخت را انتخاب کنید",请检查信用卡支付信息:"لطفا اطلاعات پرداخت کارت اعتباری خود را بررسی کنید",订单详情:"اطلاعات سفارش",折扣:"ذخیره",折抵:"折抵",退款:"بازگشت هزینه",支付方式:"روش پرداخت",填写信用卡支付信息:"لطفا اطلاعات پرداخت کارت اعتباری خود را بررسی کنید","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"اطلاعات کارت اعتباری شما فقط برای بدهی فعلی استفاده می شود، سیستم آن را ذخیره نمی کند، که ما فکر می کنیم امن ترین است.",订单总额:"مجموع سفارش",总计:"مجموع",结账:"پرداخت",等待支付中:"در انتظار پرداخت","订单系统正在进行处理,请稍等1-3分钟。":"سیستم سفارش در حال پردازش است، لطفا 1-3 دقیقه صبر کنید.","订单由于超时支付已被取消。":"سفارش به دلیل پرداخت اضافه کاری لغو شده است","订单已支付并开通。":"سفارش پرداخت و باز شد.",选择订阅:"انتخاب اشتراک",立即订阅:"همین حالا مشترک شوید",配置订阅:"پیکربندی اشتراک",付款周期:"چرخه پرداخت","有优惠券?":"یک کوپن دارید؟",验证:"تأیید",下单:"ایجاد سفارش","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"لطفاً توجه داشته باشید، تغییر یک اشتراک باعث می‌شود که اشتراک فعلی توسط اشتراک جدید بازنویسی شود.",该订阅无法续费:"این اشتراک قابل تمدید نیست",选择其他订阅:"اشتراک دیگری را انتخاب کنید",我的钱包:"کیف پول من","账户余额(仅消费)":"موجودی حساب (فقط خرج کردن)","推广佣金(可提现)":"کمیسیون ارتقاء (قابل برداشت)",钱包组成部分:"اجزای کیف پول",划转:"منتقل کردن",推广佣金提现:"انصراف کمیسیون ارتقاء",修改密码:"تغییر کلمه عبور",保存:"ذخیره کردن",旧密码:"گذرواژه قدیمی",新密码:"رمز عبور جدید",请输入旧密码:", رمز عبور مورد نیاز است",请输入新密码:"گذاشتن گذرواژه",通知:"اعلانات",到期邮件提醒:"یادآوری ایمیل انقضا",流量邮件提醒:"یادآوری ایمیل ترافیک",绑定Telegram:"تلگرام را ببندید",立即开始:"امروز شروع کنید",重置订阅信息:"بازنشانی اطلاعات اشتراک",重置:"تغییر","确定要重置订阅信息?":"آیا مطمئن هستید که می خواهید اطلاعات اشتراک خود را بازنشانی کنید؟","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"اگر آدرس یا اطلاعات اشتراک شما لو رفته باشد، این کار را می توان انجام داد. پس از تنظیم مجدد، Uuid و اشتراک شما تغییر خواهد کرد و باید دوباره مشترک شوید.",重置成功:"بازنشانی با موفقیت انجام شد",两次新密码输入不同:"رمز جدید را دو بار وارد کنید",两次密码输入不同:"رمز جدید را دو بار وارد کنید","邀请码(选填)":"کد دعوت (اختیاری)",'我已阅读并同意 服务条款':"من شرایط خدمات را خوانده‌ام و با آن موافقم",请同意服务条款:"لطفاً با شرایط خدمات موافقت کنید",名称:"نام ویژگی محصول",标签:"برچسب‌ها",状态:"وضعیت",节点五分钟内节点在线情况:"وضعیت آنلاین گره را در عرض پنج دقیقه ثبت کنید",倍率:"بزرگنمایی",使用的流量将乘以倍率进行扣除:"جریان استفاده شده در ضریب برای کسر ضرب خواهد شد",更多操作:"اکشن های بیشتر","没有可用节点,如果您未订阅或已过期请":"هیچ گره ای در دسترس نیست، اگر مشترک نیستید یا منقضی شده اید، لطفاً","确定重置当前已用流量?":"آیا مطمئن هستید که می خواهید داده های استفاده شده فعلی را بازنشانی کنید؟","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"برای رفتن به صندوقدار روی 'OK' کلیک کنید. پس از پرداخت سفارش، سیستم اطلاعاتی را که برای ماه استفاده کرده اید پاک می کند.",确定:"تأیید",低:"پایین",中:"متوسط",高:"بالا",主题:"موضوع",工单级别:"سطح بلیط",工单状态:"وضعیت درخواست",最后回复:"آخرین پاسخ",已关闭:"پایان‌یافته",待回复:"در انتظار پاسخ",已回复:"پاسخ داده",查看:"بازدیدها",关闭:"بستن",新的工单:"سفارش کار جدید",确认:"تاييدات",请输入工单主题:"لطفا موضوع بلیط را وارد کنید",工单等级:"سطح سفارش کار",请选择工单等级:"لطفا سطح بلیط را انتخاب کنید",消息:"پیام ها",请描述你遇到的问题:"لطفا مشکلی که با آن مواجه شدید را شرح دهید",记录时间:"زمان ضبط",实际上行:"نقطه ضعف واقعی",实际下行:"نقطه ضعف واقعی",合计:"تعداد ارزش‌ها","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"فرمول: (خط واقعی + پایین دست واقعی) x نرخ کسر = ترافیک کسر شده",复制订阅地址:"آدرس اشتراک را کپی کنید",导入到:"واردات در:",一键订阅:"اشتراک با یک کلیک",复制订阅:"اشتراک را کپی کنید",推广佣金划转至余额:"کمیسیون ارتقاء به موجودی منتقل می شود","划转后的余额仅用于{title}消费使用":"موجودی منتقل شده فقط برای مصرف {title} استفاده می شود",当前推广佣金余额:"موجودی کمیسیون ترفیع فعلی",划转金额:"مقدار انتقال",请输入需要划转到余额的金额:"لطفا مبلغی را که باید به موجودی منتقل شود وارد کنید","输入内容回复工单...":"برای پاسخ به تیکت محتوا را وارد کنید...",申请提现:"برای انصراف اقدام کنید",取消:"انصراف",提现方式:"روش برداشت",请选择提现方式:"لطفاً یک روش برداشت را انتخاب کنید",提现账号:"حساب برداشت",请输入提现账号:"لطفا حساب برداشت را وارد کنید",我知道了:"می فهمم",第一步:"گام ۱",第二步:"گام ۲",打开Telegram搜索:"جستجوی تلگرام را باز کنید",向机器人发送你的:"ربات های خود را بفرستید","最后更新: {date}":"آخرین به روز رسانی: {date}",还有没支付的订单:"هنوز سفارشات پرداخت نشده وجود دارد",立即支付:"اکنون پرداخت کنید",条工单正在处理中:"بلیط در حال پردازش است",立即查看:"آن را در عمل ببینید",节点状态:"وضعیت گره",商品信息:"مشتریان ثبت نام شده",产品名称:"عنوان کالا","类型/周期":"نوع/چرخه",产品流量:"جریان محصول",订单信息:"اطلاعات سفارش",关闭订单:"سفارش بستن",订单号:"شماره سفارش",优惠金额:"قیمت با تخفیف",旧订阅折抵金额:"مبلغ تخفیف اشتراک قدیمی",退款金额:"کل مبلغ مسترد شده",余额支付:"پرداخت مانده",工单历史:"تاریخچه بلیط","已用流量将在 {reset_day} 日后重置":"داده‌های استفاده شده ظرف {reset_day} روز بازنشانی می‌شوند",已用流量已在今日重置:"امروز بازنشانی داده استفاده شده است",重置已用流量:"بازنشانی داده های استفاده شده",查看节点状态:"مشاهده وضعیت گره","当前已使用流量达{rate}%":"ترافیک استفاده شده در حال حاضر در {rate}%",节点名称:"نام گره","于 {date} 到期,距离到期还有 {day} 天。":"در {date} منقضی می‌شود که {day} روز دیگر است.","Telegram 讨论组":"گروه گفتگوی تلگرام",立即加入:"حالا پیوستن","该订阅无法续费,仅允许新用户购买":"این اشتراک قابل تمدید نیست، فقط کاربران جدید مجاز به خرید آن هستند",重置当月流量:"بازنشانی ترافیک ماه جاری","流量明细仅保留近月数据以供查询。":"جزئیات ترافیک فقط داده های ماه های اخیر را برای پرس و جو حفظ می کند.",扣费倍率:"نرخ کسر",支付手续费:"پرداخت هزینه های پردازش",续费订阅:"تمدید اشتراک",学习如何使用:"نحوه استفاده را یاد بگیرید",快速将节点导入对应客户端进行使用:"به سرعت گره ها را برای استفاده به مشتری مربوطه وارد کنید",对您当前的订阅进行续费:"با اشتراک فعلی خود خرید کنید",对您当前的订阅进行购买:"با اشتراک فعلی خود خرید کنید",捷径:"میانبر","不会使用,查看使用教程":"استفاده نمی شود، به آموزش مراجعه کنید",使用支持扫码的客户端进行订阅:"برای اشتراک از کلاینتی استفاده کنید که از کد اسکن پشتیبانی می کند",扫描二维码订阅:"برای اشتراک، کد QR را اسکن کنید",续费:"تمدید",购买:"خرید",查看教程:"مشاهده آموزش",注意:"یادداشت!","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"هنوز سفارشات ناتمام دارید. قبل از خرید باید آن را لغو کنید. آیا مطمئن هستید که می‌خواهید سفارش قبلی را لغو کنید؟",确定取消:"تایید لغو",返回我的订单:"بازگشت به سفارش من","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"اگر قبلاً پرداخت کرده‌اید، لغو سفارش ممکن است باعث عدم موفقیت در پرداخت شود. آیا مطمئن هستید که می‌خواهید سفارش را لغو کنید؟",选择最适合你的计划:"طرحی را انتخاب کنید که مناسب شما باشد",全部:"تمام",按周期:"توسط چرخه",遇到问题:"ما یک مشکل داریم",遇到问题可以通过工单与我们沟通:"در صورت بروز مشکل می توانید از طریق تیکت با ما در ارتباط باشید",按流量:"با جریان",搜索文档:"جستجوی اسناد",技术支持:"دریافت پشتیبانی",当前剩余佣金:"کمیسیون فعلی باقی مانده",三级分销比例:"نسبت توزیع سه لایه",累计获得佣金:"کمیسیون انباشته شده","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"کاربرانی که برای دعوت مجدد از کاربران دعوت می کنید بر اساس نسبت مقدار سفارش ضرب در سطح توزیع تقسیم می شوند.",发放时间:"زمان پرداخت","{number} 人":"{number} نفر","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"در صورت انتشار آدرس یا حساب اشتراک شما و سوء استفاده از آن توسط دیگران، می‌توانید اطلاعات اشتراک خود را در اینجا بازنشانی کنید تا از زیان‌های غیرضروری جلوگیری شود.",再次输入密码:"ورود مجدد رمز عبور",返回登陆:"بازگشت به ورود",选填:"اختیاری",必填:"الزامی",最后回复时间:"زمان آخرین پاسخ",请选项工单等级:"لطفاً اولویت تیکت را انتخاب کنید",回复:"پاسخ",输入内容回复工单:"محتوا را برای پاسخ به تیکت وارد کنید",已生成:"تولید شده",选择协议:"انتخاب پروتکل",自动:"خودکار",流量重置包:"بسته بازنشانی داده",复制失败:"کپی ناموفق بود",提示:"اطلاع","确认退出?":"تأیید خروج?",已退出登录:"با موفقیت خارج شده",请输入邮箱地址:"آدرس ایمیل را وارد کنید","{second}秒后可重新发送":"{second} ثانیه دیگر می‌توانید مجدداً ارسال کنید",发送成功:"با موفقیت ارسال شد",请输入账号密码:"نام کاربری و رمز عبور را وارد کنید",请确保两次密码输入一致:"اطمینان حاصل کنید که ورودهای رمز عبور مطابقت دارند",注册成功:"ثبت نام با موفقیت انجام شد","重置密码成功,正在返回登录":"با موفقیت رمز عبور بازنشانی شد، در حال بازگشت به صفحه ورود",确认取消:"تایید لغو","请注意,变更订阅会导致当前订阅被覆盖。":"لطفاً توجه داشته باشید که تغییر اشتراک موجب ایجاد اشتراک فعلی می‌شود.","订单提交成功,正在跳转支付":"سفارش با موفقیت ثبت شد، به پرداخت هدایت می‌شود.",回复成功:"پاسخ با موفقیت ارسال شد",工单详情:"جزئیات تیکت",登录成功:"ورود موفقیت‌آمیز","确定退出?":"آیا مطمئن هستید که می‌خواهید خارج شوید؟",支付成功:"پرداخت موفق",正在前往收银台:"در حال رفتن به صندوق پرداخت",请输入正确的划转金额:"لطفا مبلغ انتقال صحیح را وارد کنید",划转成功:"انتقال موفق",提现方式不能为空:"روش برداشت نمی‌تواند خالی باشد",提现账号不能为空:"حساب برداشت نمی‌تواند خالی باشد",已绑定:"قبلاً متصل شده",创建成功:"ایجاد موفقیت‌آمیز",关闭成功:"خاموش کردن موفق"},Nk=Object.freeze(Object.defineProperty({__proto__:null,default:tNe},Symbol.toStringTag,{value:"Module"})),nNe={请求失败:"リクエストエラー",月付:"月間プラン",季付:"3か月プラン",半年付:"半年プラン",年付:"年間プラン",两年付:"2年プラン",三年付:"3年プラン",一次性:"一括払い",重置流量包:"使用済みデータをリセット",待支付:"お支払い待ち",开通中:"開通中",已取消:"キャンセル済み",已完成:"済み",已折抵:"控除済み",待确认:"承認待ち",发放中:"処理中",已发放:"処理済み",无效:"無効",个人中心:"会員メニュー",登出:"ログアウト",搜索:"検索",仪表盘:"ダッシュボード",订阅:"サブスクリプションプラン",我的订阅:"マイプラン",购买订阅:"プランの購入",财务:"ファイナンス",我的订单:"注文履歴",我的邀请:"招待リスト",用户:"ユーザー",我的工单:"お問い合わせ",流量明细:"データ通信明細",使用文档:"ナレッジベース",绑定Telegram获取更多服务:"Telegramと連携し各種便利な通知を受け取ろう",点击这里进行绑定:"こちらをクリックして連携開始",公告:"お知らせ",总览:"概要",该订阅长期有效:"時間制限なし",已过期:"期限切れ","已用 {used} / 总计 {total}":"使用済み {used} / 合計 {total}",查看订阅:"プランを表示",邮箱:"E-mail アドレス",邮箱验证码:"確認コード",发送:"送信",重置密码:"パスワードを変更",返回登入:"ログインページへ戻る",邀请码:"招待コード",复制链接:"URLをコピー",完成时间:"完了日時",佣金:"コミッション金額",已注册用户数:"登録済みユーザー数",佣金比例:"コミッションレート",确认中的佣金:"承認待ちのコミッション","佣金将会在确认后会到达你的佣金账户。":"コミッションは承認処理完了後にカウントされます",邀请码管理:"招待コードの管理",生成邀请码:"招待コードを生成",佣金发放记录:"コミッション履歴",复制成功:"クリップボードにコピーされました",密码:"パスワード",登入:"ログイン",注册:"新規登録",忘记密码:"パスワードをお忘れの方","# 订单号":"受注番号",周期:"サイクル",订单金额:"ご注文金額",订单状态:"ご注文状況",创建时间:"作成日時",操作:"アクション",查看详情:"詳細を表示",请选择支付方式:"支払い方法をお選びください",请检查信用卡支付信息:"クレジットカード決済情報をご確認ください",订单详情:"ご注文詳細",折扣:"割引",折抵:"控除",退款:"払い戻し",支付方式:"お支払い方法",填写信用卡支付信息:"クレジットカード決済情報をご入力ください。","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"お客様のカード情報は今回限りリクエストされ、記録に残ることはございません",订单总额:"ご注文の合計金額",总计:"合計金額",结账:"チェックアウト",等待支付中:"お支払い待ち","订单系统正在进行处理,请稍等1-3分钟。":"システム処理中です、しばらくお待ちください","订单由于超时支付已被取消。":"ご注文はキャンセルされました","订单已支付并开通。":"お支払いが完了しました、プランはご利用可能です",选择订阅:"プランをお選びください",立即订阅:"今すぐ購入",配置订阅:"プランの内訳",付款周期:"お支払いサイクル","有优惠券?":"キャンペーンコード",验证:"確定",下单:"チェックアウト","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"プランを変更なされます場合は、既存のプランが新規プランによって上書きされます、ご注意下さい",该订阅无法续费:"該当プランは継続利用できません",选择其他订阅:"その他のプランを選択",我的钱包:"マイウォレット","账户余额(仅消费)":"残高(サービスの購入のみ)","推广佣金(可提现)":"招待によるコミッション(出金可)",钱包组成部分:"ウォレットの内訳",划转:"お振替",推广佣金提现:"コミッションのお引き出し",修改密码:"パスワードの変更",保存:"変更を保存",旧密码:"現在のパスワード",新密码:"新しいパスワード",请输入旧密码:"現在のパスワードをご入力ください",请输入新密码:"新しいパスワードをご入力ください",通知:"お知らせ",到期邮件提醒:"期限切れ前にメールで通知",流量邮件提醒:"データ量不足時にメールで通知",绑定Telegram:"Telegramと連携",立即开始:"今すぐ連携開始",重置订阅信息:"サブスクリプションURLの変更",重置:"変更","确定要重置订阅信息?":"サブスクリプションURLをご変更なされますか?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"サブスクリプションのURL及び情報が外部に漏れた場合にご操作ください。操作後はUUIDやURLが変更され、再度サブスクリプションのインポートが必要になります。",重置成功:"変更完了",两次新密码输入不同:"ご入力されました新しいパスワードが一致しません",两次密码输入不同:"ご入力されましたパスワードが一致しません","邀请码(选填)":"招待コード (オプション)",'我已阅读并同意 服务条款':"ご利用規約に同意します",请同意服务条款:"ご利用規約に同意してください",名称:"名称",标签:"ラベル",状态:"ステータス",节点五分钟内节点在线情况:"5分間のオンラインステータス",倍率:"適応レート",使用的流量将乘以倍率进行扣除:"通信量は該当レートに基き計算されます",更多操作:"アクション","没有可用节点,如果您未订阅或已过期请":"ご利用可能なサーバーがありません,プランの期限切れまたは購入なされていない場合は","确定重置当前已用流量?":"利用済みデータ量をリセットしますか?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"「確定」をクリックし次のページへ移動,お支払い後に当月分のデータ通信量は即時リセットされます",确定:"確定",低:"低",中:"中",高:"高",主题:"タイトル",工单级别:"プライオリティ",工单状态:"進捗状況",最后回复:"最終回答日時",已关闭:"終了",待回复:"対応待ち",已回复:"回答済み",查看:"閲覧",关闭:"終了",新的工单:"新規お問い合わせ",确认:"確定",请输入工单主题:"お問い合わせタイトルをご入力ください",工单等级:"ご希望のプライオリティ",请选择工单等级:"ご希望のプライオリティをお選びください",消息:"メッセージ",请描述你遇到的问题:"お問い合わせ内容をご入力ください",记录时间:"記録日時",实际上行:"アップロード",实际下行:"ダウンロード",合计:"合計","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"計算式:(アップロード + ダウンロード) x 適応レート = 使用済みデータ通信量",复制订阅地址:"サブスクリプションのURLをコピー",导入到:"インポート先:",一键订阅:"ワンクリックインポート",复制订阅:"サブスクリプションのURLをコピー",推广佣金划转至余额:"コミッションを残高へ振替","划转后的余额仅用于{title}消费使用":"振替済みの残高は{title}でのみご利用可能です",当前推广佣金余额:"現在のコミッション金額",划转金额:"振替金額",请输入需要划转到余额的金额:"振替金額をご入力ください","输入内容回复工单...":"お問い合わせ内容をご入力ください...",申请提现:"出金申請",取消:"キャンセル",提现方式:"お振込み先",请选择提现方式:"お振込み先をお選びください",提现账号:"お振り込み先口座",请输入提现账号:"お振込み先口座をご入力ください",我知道了:"了解",第一步:"ステップその1",第二步:"ステップその2",打开Telegram搜索:"Telegramを起動後に右記内容を入力し検索",向机器人发送你的:"テレグラムボットへ下記内容を送信","最后更新: {date}":"最終更新日: {date}",还有没支付的订单:"未払いのご注文があります",立即支付:"チェックアウト",条工单正在处理中:"件のお問い合わせ",立即查看:"閲覧",节点状态:"サーバーステータス",商品信息:"プラン詳細",产品名称:"プラン名","类型/周期":"サイクル",产品流量:"ご利用可能データ量",订单信息:"オーダー情報",关闭订单:"注文をキャンセル",订单号:"受注番号",优惠金额:"'割引額",旧订阅折抵金额:"既存プラン控除額",退款金额:"返金額",余额支付:"残高ご利用分",工单历史:"お問い合わせ履歴","已用流量将在 {reset_day} 日后重置":"利用済みデータ量は {reset_day} 日後にリセットします",已用流量已在今日重置:"利用済みデータ量は本日リセットされました",重置已用流量:"利用済みデータ量をリセット",查看节点状态:"接続先サーバのステータス","当前已使用流量达{rate}%":"データ使用量が{rate}%になりました",节点名称:"サーバー名","于 {date} 到期,距离到期还有 {day} 天。":"ご利用期限は {date} まで,期限まであと {day} 日","Telegram 讨论组":"Telegramグループ",立即加入:"今すぐ参加","该订阅无法续费,仅允许新用户购买":"該当プランは継続利用できません、新規ユーザーのみが購入可能です",重置当月流量:"使用済みデータ量のカウントリセット","流量明细仅保留近月数据以供查询。":"データ通信明細は当月分のみ表示されます",扣费倍率:"適応レート",支付手续费:"お支払い手数料",续费订阅:"購読更新",学习如何使用:"ご利用ガイド",快速将节点导入对应客户端进行使用:"最短ルートでサーバー情報をアプリにインポートして使用する",对您当前的订阅进行续费:"ご利用中のサブスクの継続料金を支払う",对您当前的订阅进行购买:"ご利用中のサブスクを再度購入する",捷径:"ショートカット","不会使用,查看使用教程":"ご利用方法がわからない方はナレッジベースをご閲覧ください",使用支持扫码的客户端进行订阅:"使用支持扫码的客户端进行订阅",扫描二维码订阅:"QRコードをスキャンしてサブスクを設定",续费:"更新",购买:"購入",查看教程:"チュートリアルを表示",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"まだ購入が完了していないオーダーがあります。購入前にそちらをキャンセルする必要がありますが、キャンセルしてよろしいですか?",确定取消:"キャンセル",返回我的订单:"注文履歴に戻る","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"もし既にお支払いが完了していると、注文をキャンセルすると支払いが失敗となる可能性があります。キャンセルしてもよろしいですか?",选择最适合你的计划:"あなたにピッタリのプランをお選びください",全部:"全て",按周期:"期間順",遇到问题:"何かお困りですか?",遇到问题可以通过工单与我们沟通:"何かお困りでしたら、お問い合わせからご連絡ください。",按流量:"データ通信量順",搜索文档:"ドキュメント内を検索",技术支持:"テクニカルサポート",当前剩余佣金:"コミッション残高",三级分销比例:"3ティア比率",累计获得佣金:"累計獲得コミッション金額","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"お客様に招待された方が更に別の方を招待された場合、お客様は支払われるオーダーからティア分配分の比率分を受け取ることができます。",发放时间:"手数料支払時間","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"購読アドレスまたはアカウントが漏れて他者に悪用された場合、不必要な損失を防ぐためにここで購読情報をリセットできます。",再次输入密码:"パスワードを再入力してください",返回登陆:"ログインに戻る",选填:"任意",必填:"必須",最后回复时间:"最終返信時刻",请选项工单等级:"チケットの優先度を選択してください",回复:"返信",输入内容回复工单:"チケットへの返信内容を入力",已生成:"生成済み",选择协议:"プロトコルの選択",自动:"自動",流量重置包:"データリセットパッケージ",复制失败:"コピーに失敗しました",提示:"通知","确认退出?":"ログアウトを確認?",已退出登录:"正常にログアウトしました",请输入邮箱地址:"メールアドレスを入力してください","{second}秒后可重新发送":"{second} 秒後に再送信可能",发送成功:"送信成功",请输入账号密码:"アカウントとパスワードを入力してください",请确保两次密码输入一致:"パスワードの入力が一致していることを確認してください",注册成功:"登録が成功しました","重置密码成功,正在返回登录":"パスワードのリセットが成功しました。ログインに戻っています",确认取消:"キャンセルの確認","请注意,变更订阅会导致当前订阅被覆盖。":"購読の変更は現在の購読を上書きします。","订单提交成功,正在跳转支付":"注文が成功裏に送信されました。支払いにリダイレクトしています。",回复成功:"返信が成功しました",工单详情:"チケットの詳細",登录成功:"ログイン成功","确定退出?":"本当に退出しますか?",支付成功:"支払い成功",正在前往收银台:"チェックアウトに進行中",请输入正确的划转金额:"正しい振替金額を入力してください",划转成功:"振替成功",提现方式不能为空:"出金方法は空にできません",提现账号不能为空:"出金口座を空にすることはできません",已绑定:"既にバインドされています",创建成功:"作成成功",关闭成功:"閉鎖成功"},Hk=Object.freeze(Object.defineProperty({__proto__:null,default:nNe},Symbol.toStringTag,{value:"Module"})),oNe={请求失败:"요청실패",月付:"월간",季付:"3개월간",半年付:"반년간",年付:"1년간",两年付:"2년마다",三年付:"3년마다",一次性:"한 번",重置流量包:"데이터 재설정 패키지",待支付:"지불 보류중",开通中:"보류 활성화",已取消:"취소 됨",已完成:"완료",已折抵:"변환",待确认:"보류중",发放中:"확인중",已发放:"완료",无效:"유효하지 않음",个人中心:"사용자 센터",登出:"로그아웃",搜索:"검색",仪表盘:"대시보드",订阅:"구독",我的订阅:"나의 구독",购买订阅:"구독 구매 내역",财务:"청구",我的订单:"나의 주문",我的邀请:"나의 초청",用户:"사용자 센터",我的工单:"나의 티켓",流量明细:"데이터 세부 정보 전송",使用文档:"사용 설명서",绑定Telegram获取更多服务:"텔레그램에 아직 연결되지 않았습니다",点击这里进行绑定:"텔레그램에 연결되도록 여기를 눌러주세요",公告:"발표",总览:"개요",该订阅长期有效:"구독은 무제한으로 유효합니다",已过期:"만료","已用 {used} / 总计 {total}":"{date}에 만료됩니다, 만료 {day}이 전, {reset_day}후 데이터 전송 재설정",查看订阅:"구독 보기",邮箱:"이메일",邮箱验证码:"이메일 확인 코드",发送:"보내기",重置密码:"비밀번호 재설정",返回登入:"로그인 다시하기",邀请码:"초청 코드",复制链接:"링크 복사",完成时间:"완료 시간",佣金:"수수료",已注册用户数:"등록 된 사용자들",佣金比例:"수수료율",确认中的佣金:"수수료 상태","佣金将会在确认后会到达你的佣金账户。":"수수료는 검토 후 수수료 계정에서 확인할 수 있습니다",邀请码管理:"초청 코드 관리",生成邀请码:"초청 코드 생성하기",佣金发放记录:"수수료 지불 기록",复制成功:"복사 성공",密码:"비밀번호",登入:"로그인",注册:"등록하기",忘记密码:"비밀번호를 잊으셨나요","# 订单号":"주문 번호 #",周期:"유형/기간",订单金额:"주문량",订单状态:"주문 상태",创建时间:"생성 시간",操作:"설정",查看详情:"세부사항 보기",请选择支付方式:"지불 방식을 선택 해주세요",请检查信用卡支付信息:"신용카드 지불 정보를 확인 해주세요",订单详情:"주문 세부사항",折扣:"할인",折抵:"변환",退款:"환불",支付方式:"지불 방식",填写信用卡支付信息:"신용카드 지불 정보를 적으세요","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"현재 거래를 확인하는 데 사용하는 귀하의 신용 카드 정보, 신용 카드 번호 및 기타 세부 정보를 수집하지 않습니다.",订单总额:"전체주문",总计:"전체",结账:"결제하기",等待支付中:"결제 대기 중","订单系统正在进行处理,请稍等1-3分钟。":"주문 시스템이 처리 중입니다. 1-3분 정도 기다려 주십시오.","订单由于超时支付已被取消。":"결제 시간 초과로 인해 주문이 취소되었습니다.","订单已支付并开通。":"주문이 결제되고 개통되었습니다.",选择订阅:"구독 선택하기",立即订阅:"지금 구독하기",配置订阅:"구독 환경 설정하기",付款周期:"지불 기간","有优惠券?":"쿠폰을 가지고 있나요?",验证:"확인",下单:"주문","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"주의하십시오. 구독을 변경하면 현재 구독을 덮어씁니다",该订阅无法续费:"이 구독은 갱신할 수 없습니다.",选择其他订阅:"다른 구독 선택",我的钱包:"나의 지갑","账户余额(仅消费)":"계정 잔액(결제 전용)","推广佣金(可提现)":"초청수수료(인출하는 데 사용할 수 있습니다)",钱包组成部分:"지갑 세부사항",划转:"이체하기",推广佣金提现:"초청 수수료 인출",修改密码:"비밀번호 변경",保存:"저장하기",旧密码:"이전 비밀번호",新密码:"새로운 비밀번호",请输入旧密码:"이전 비밀번호를 입력해주세요",请输入新密码:"새로운 비밀번호를 입력해주세요",通知:"공고",到期邮件提醒:"구독 만료 이메일 알림",流量邮件提醒:"불충분한 데이터 이메일 전송 알림",绑定Telegram:"탤레그램으로 연결",立即开始:"지금 시작하기",重置订阅信息:"구독 재설정하기",重置:"재설정","确定要重置订阅信息?":"구독을 재설정하시겠습니까?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"계정 정보나 구독이 누출된 경우 이 옵션은 UUID를 재설정하는 데 사용되며 재설정 후에 구독이 변경되므로 다시 구독해야 합니다.",重置成功:"재설정 성공",两次新密码输入不同:"입력한 두 개의 새 비밀번호가 일치하지 않습니다.",两次密码输入不同:"입력한 비밀번호가 일치하지 않습니다.","邀请码(选填)":"초청 코드(선택 사항)",'我已阅读并同意 服务条款':"을 읽었으며 이에 동의합니다 서비스 약관",请同意服务条款:"서비스 약관에 동의해주세요",名称:"이름",标签:"태그",状态:"설정",节点五分钟内节点在线情况:"지난 5분 동안의 액세스 포인트 온라인 상태",倍率:"요금",使用的流量将乘以倍率进行扣除:"사용된 전송 데이터에 전송 데이터 요금을 뺀 값을 곱합니다.",更多操作:"설정","没有可用节点,如果您未订阅或已过期请":"사용 가능한 액세스 포인트가 없습니다. 구독을 신청하지 않았거나 구독이 만료된 경우","确定重置当前已用流量?":"현재 사용 중인 데이터를 재설정 하시겠습니까?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":'확인"을 클릭하면 결제 페이지로 이동됩니다. 주문이 완료되면 시스템에서 해당 월의 사용 데이터를 삭제합니다.',确定:"확인",低:"낮음",中:"중간",高:"높음",主题:"주제",工单级别:"티켓 우선 순위",工单状态:"티켓 상태",最后回复:"생성 시간",已关闭:"마지막 답장",待回复:"설정",已回复:"닫힘",查看:"보기",关闭:"닫기",新的工单:"새로운 티켓",确认:"확인",请输入工单主题:"제목을 입력하세요",工单等级:"티켓 우선순위",请选择工单等级:"티켓 우선순위를 선택해주세요",消息:"메세지",请描述你遇到的问题:"문제를 설명하십시오 발생한",记录时间:"기록 시간",实际上行:"실제 업로드",实际下行:"실제 다운로드",合计:"전체","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"공식: (실제 업로드 + 실제 다운로드) x 공제율 = 전송 데이터 공제",复制订阅地址:"구독 URL 복사",导入到:"내보내기",一键订阅:"빠른 구독",复制订阅:"구독 URL 복사",推广佣金划转至余额:"초청 수수료를 계좌 잔액으로 이체","划转后的余额仅用于{title}消费使用":"이체된 잔액은 {title} 소비에만 사용됩니다.",当前推广佣金余额:"현재 홍보 수수료 잔액",请输入需要划转到余额的金额:"잔액으로 이체할 금액을 입력하세요.",取消:"취소",提现方式:"인출 방법",请选择提现方式:"인출 방법을 선택해주세요",提现账号:"인출 계좌",请输入提现账号:"인출 계좌를 입력해주세요",我知道了:"알겠습니다.",第一步:"첫번째 단계",第二步:"두번째 단계",打开Telegram搜索:"텔레그램 열기 및 탐색",向机器人发送你的:"봇에 다음 명령을 보냅니다","最后更新: {date}":"마지막 업데이트{date}",还有没支付的订单:"미결제 주문이 있습니다",立即支付:"즉시 지불",条工单正在处理中:"티켓이 처리 중입니다",立即查看:"제목을 입력하세요",节点状态:"노드 상태",商品信息:"제품 정보",产品名称:"제품 명칭","类型/周期":"종류/기간",产品流量:"제품 데이터 용량",订单信息:"주문 정보",关闭订单:"주문 취소",订单号:"주문 번호",优惠金额:"할인 가격",旧订阅折抵金额:"기존 패키지 공제 금액",退款金额:"환불 금액",余额支付:"잔액 지불",工单历史:"티켓 기록","已用流量将在 {reset_day} 日后重置":"{reset_day}일 후에 사용한 데이터가 재설정됩니다",已用流量已在今日重置:"오늘 이미 사용한 데이터가 재설정되었습니다",重置已用流量:"사용한 데이터 재설정",查看节点状态:"노드 상태 확인","当前已使用流量达{rate}%":"현재 사용한 데이터 비율이 {rate}%에 도달했습니다",节点名称:"환불 금액","于 {date} 到期,距离到期还有 {day} 天。":"{day}까지, 만료 {day}일 전.","Telegram 讨论组":"텔레그램으로 문의하세요",立即加入:"지금 가입하세요","该订阅无法续费,仅允许新用户购买":"이 구독은 갱신할 수 없습니다. 신규 사용자만 구매할 수 있습니다.",重置当月流量:"이번 달 트래픽 초기화","流量明细仅保留近月数据以供查询。":"귀하의 트래픽 세부 정보는 최근 몇 달 동안만 유지됩니다",扣费倍率:"수수료 공제율",支付手续费:"수수료 지불",续费订阅:"구독 갱신",学习如何使用:"사용 방법 배우기",快速将节点导入对应客户端进行使用:"빠르게 노드를 해당 클라이언트로 가져와 사용하기",对您当前的订阅进行续费:"현재 구독 갱신",对您当前的订阅进行购买:"현재 구독 구매",捷径:"단축키","不会使用,查看使用教程":"사용 방법을 모르겠다면 사용 설명서 확인",使用支持扫码的客户端进行订阅:"스캔 가능한 클라이언트로 구독하기",扫描二维码订阅:"QR 코드 스캔하여 구독",续费:"갱신",购买:"구매",查看教程:"사용 설명서 보기",注意:"주의","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"미완료된 주문이 있습니다. 구매 전에 취소해야 합니다. 이전 주문을 취소하시겠습니까?",确定取消:"취소 확인",返回我的订单:"내 주문으로 돌아가기","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"이미 결제를 했을 경우 주문 취소는 결제 실패로 이어질 수 있습니다. 주문을 취소하시겠습니까?",选择最适合你的计划:"가장 적합한 요금제 선택",全部:"전체",按周期:"주기별",遇到问题:"문제 발생",遇到问题可以通过工单与我们沟通:"문제가 발생하면 서포트 티켓을 통해 문의하세요",按流量:"트래픽별",搜索文档:"문서 검색",技术支持:"기술 지원",当前剩余佣金:"현재 잔여 수수료",三级分销比例:"삼수준 분배 비율",累计获得佣金:"누적 수수료 획득","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"초대한 사용자가 다시 초대하면 주문 금액에 분배 비율을 곱하여 분배됩니다.",发放时间:"수수료 지급 시간","{number} 人":"{number} 명","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"구독 주소 또는 계정이 유출되어 다른 사람에게 남용되는 경우 여기에서 구독 정보를 재설정하여 불필요한 손실을 방지할 수 있습니다.",再次输入密码:"비밀번호를 다시 입력하세요",返回登陆:"로그인으로 돌아가기",选填:"선택 사항",必填:"필수",最后回复时间:"최근 답장 시간",请选项工单等级:"티켓 우선 순위 선택",回复:"답장",输入内容回复工单:"티켓에 대한 내용 입력",已生成:"생성됨",选择协议:"프로토콜 선택",自动:"자동",流量重置包:"데이터 리셋 패키지",复制失败:"복사 실패",提示:"알림","确认退出?":"로그아웃 확인?",已退出登录:"로그아웃 완료",请输入邮箱地址:"이메일 주소를 입력하세요","{second}秒后可重新发送":"{second} 초 후에 다시 전송 가능",发送成功:"전송 성공",请输入账号密码:"계정과 비밀번호를 입력하세요",请确保两次密码输入一致:"비밀번호 입력이 일치하는지 확인하세요",注册成功:"등록 성공","重置密码成功,正在返回登录":"비밀번호 재설정 성공, 로그인 페이지로 돌아가는 중",确认取消:"취소 확인","请注意,变更订阅会导致当前订阅被覆盖。":"구독 변경은 현재 구독을 덮어씁니다.","订单提交成功,正在跳转支付":"주문이 성공적으로 제출되었습니다. 지불로 이동 중입니다.",回复成功:"답장 성공",工单详情:"티켓 상세 정보",登录成功:"로그인 성공","确定退出?":"확실히 종료하시겠습니까?",支付成功:"결제 성공",正在前往收银台:"결제 진행 중",请输入正确的划转金额:"정확한 이체 금액을 입력하세요",划转成功:"이체 성공",提现方式不能为空:"출금 방식은 비워 둘 수 없습니다",提现账号不能为空:"출금 계좌는 비워 둘 수 없습니다",已绑定:"이미 연결됨",创建成功:"생성 성공",关闭成功:"종료 성공"},jk=Object.freeze(Object.defineProperty({__proto__:null,default:oNe},Symbol.toStringTag,{value:"Module"})),rNe={请求失败:"Yêu Cầu Thất Bại",月付:"Tháng",季付:"Hàng Quý",半年付:"6 Tháng",年付:"Năm",两年付:"Hai Năm",三年付:"Ba Năm",一次性:"Dài Hạn",重置流量包:"Cập Nhật Dung Lượng",待支付:"Đợi Thanh Toán",开通中:"Đang xử lý",已取消:"Đã Hủy",已完成:"Thực Hiện",已折抵:"Quy Đổi",待确认:"Đợi Xác Nhận",发放中:"Đang Xác Nhận",已发放:"Hoàn Thành",无效:"Không Hợp Lệ",个人中心:"Trung Tâm Kiểm Soát",登出:"Đăng Xuất",搜索:"Tìm Kiếm",仪表盘:"Trang Chủ",订阅:"Gói Dịch Vụ",我的订阅:"Gói Dịch Vụ Của Tôi",购买订阅:"Mua Gói Dịch Vụ",财务:"Tài Chính",我的订单:"Đơn Hàng Của Tôi",我的邀请:"Lời Mời Của Tôi",用户:"Người Dùng",我的工单:"Liên Hệ Với Chúng Tôi",流量明细:"Chi Tiết Dung Lượng",使用文档:"Tài liệu sử dụng",绑定Telegram获取更多服务:"Liên kết Telegram thêm dịch vụ",点击这里进行绑定:"Ấn vào để liên kết",公告:"Thông Báo",总览:"Tổng Quat",该订阅长期有效:"Gói này có thời hạn dài",已过期:"Tài khoản hết hạn","已用 {used} / 总计 {total}":"Đã sử dụng {used} / Tổng dung lượng {total}",查看订阅:"Xem Dịch Vụ",邮箱:"E-mail",邮箱验证码:"Mã xác minh mail",发送:"Gửi",重置密码:"Đặt Lại Mật Khẩu",返回登入:"Về đăng nhập",邀请码:"Mã mời",复制链接:"Sao chép đường dẫn",完成时间:"Thời gian hoàn thành",佣金:"Tiền hoa hồng",已注册用户数:"Số người dùng đã đăng ký",佣金比例:"Tỷ lệ hoa hồng",确认中的佣金:"Hoa hồng đang xác nhận","佣金将会在确认后会到达你的佣金账户。":"Sau khi xác nhận tiền hoa hồng sẽ gửi đến tài khoản hoa hồng của bạn.",邀请码管理:"Quản lý mã mời",生成邀请码:"Tạo mã mời",佣金发放记录:"Hồ sơ hoa hồng",复制成功:"Sao chép thành công",密码:"Mật khẩu",登入:"Đăng nhập",注册:"Đăng ký",忘记密码:"Quên mật khẩu","# 订单号":"# Mã đơn hàng",周期:"Chu Kỳ",订单金额:"Tiền đơn hàng",订单状态:"Trạng thái đơn",创建时间:"Thời gian tạo",操作:"Thao tác",查看详情:"Xem chi tiết",请选择支付方式:"Chọn phương thức thanh toán",请检查信用卡支付信息:"Hãy kiểm tra thông tin thẻ thanh toán",订单详情:"Chi tiết đơn hàng",折扣:"Chiết khấu",折抵:"Giảm giá",退款:"Hoàn lại",支付方式:"Phương thức thanh toán",填写信用卡支付信息:"Điền thông tin Thẻ Tín Dụng","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"Thông tin thẻ tín dụng của bạn sẽ chỉ được sử dụng cho lần thanh toán này, hệ thống sẽ không lưu thông tin đó, chúng tôi nghĩ đây à cách an toàn nhất.",订单总额:"Tổng tiền đơn hàng",总计:"Tổng",结账:"Kết toán",等待支付中:"Đang chờ thanh toán","订单系统正在进行处理,请稍等1-3分钟。":"Hệ thống đang xử lý đơn hàng, vui lòng đợi 1-3p.","订单由于超时支付已被取消。":"Do quá giờ nên đã hủy đơn hàng.","订单已支付并开通。":"Đơn hàng đã thanh toán và mở.",选择订阅:"Chọn gói",立即订阅:"Mua gói ngay",配置订阅:"Thiết lập gói",付款周期:"Chu kỳ thanh toán","有优惠券?":"Có phiếu giảm giá?",验证:"Xác minh",下单:"Đặt hàng","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"Việc thay đổi gói dịch vụ sẽ thay thế gói hiện tại bằng gói mới, xin lưu ý.",该订阅无法续费:"Gói này không thể gia hạn",选择其他订阅:"Chọn gói dịch vụ khác",我的钱包:"Ví tiền của tôi","账户余额(仅消费)":"Số dư tài khoản (Chỉ tiêu dùng)","推广佣金(可提现)":"Tiền hoa hồng giới thiệu (Được rút)",钱包组成部分:"Thành phần ví tiền",划转:"Chuyển khoản",推广佣金提现:"Rút tiền hoa hồng giới thiệu",修改密码:"Đổi mật khẩu",保存:"Lưu",旧密码:"Mật khẩu cũ",新密码:"Mật khẩu mới",请输入旧密码:"Hãy nhập mật khẩu cũ",请输入新密码:"Hãy nhập mật khẩu mới",通知:"Thông Báo",到期邮件提醒:"Mail nhắc đến hạn",流量邮件提醒:"Mail nhắc dung lượng",绑定Telegram:"Liên kết Telegram",立即开始:"Bắt Đầu",重置订阅信息:"Reset thông tin gói",重置:"Reset","确定要重置订阅信息?":"Xác nhận reset thông tin gói?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"Nếu địa chỉ hoặc thông tin gói dịch vụ của bạn bị tiết lộ có thể tiến hành thao tác này. Sau khi reset UUID sẽ thay đổi.",重置成功:"Reset thành công",两次新密码输入不同:"Mật khẩu mới xác nhận không khớp",两次密码输入不同:"Mật khẩu xác nhận không khớp","邀请码(选填)":"Mã mời(Điền)",'我已阅读并同意 服务条款':"Tôi đã đọc và đồng ý điều khoản dịch vụ",请同意服务条款:"Hãy đồng ý điều khoản dịch vụ",名称:"Tên",标签:"Nhãn",状态:"Trạng thái",节点五分钟内节点在线情况:"Node trạng thái online trong vòng 5 phút",倍率:"Bội số",使用的流量将乘以倍率进行扣除:"Dung lượng sử dụng nhân với bội số rồi khấu trừ",更多操作:"Thêm thao tác","没有可用节点,如果您未订阅或已过期请":"Chưa có node khả dụng, nếu bạn chưa mua gói hoặc đã hết hạn hãy","确定重置当前已用流量?":"确定重置当前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"Ấn 「OK」 sẽ chuyển đến trang thanh toán, sau khi thanh toán đơn hàng hệ thống sẽ xóa dung lượng đã dùng tháng này của bạn.",确定:"OK",低:"Thấp",中:"Vừa",高:"Cao",主题:"Chủ Đề",工单级别:"Cấp độ",工单状态:"Trạng thái",最后回复:"Trả lời gần đây",已关闭:"Đã đóng",待回复:"Chờ trả lời",已回复:"Đã trả lời",查看:"Xem",关闭:"Đóng",新的工单:"Việc mới",确认:"OK",请输入工单主题:"Hãy nhập chủ đề công việc",工单等级:"Cấp độ công việc",请选择工单等级:"Hãy chọn cấp độ công việc",消息:"Thông tin",请描述你遇到的问题:"Hãy mô tả vấn đề gặp phải",记录时间:"Thời gian ghi",实际上行:"Upload thực tế",实际下行:"Download thực tế",合计:"Cộng","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"Công thức: (upload thực tế + download thực tế) x bội số trừ phí = Dung lượng khấu trừ",复制订阅地址:"Sao chép liên kết",导入到:"Nhập vào",一键订阅:"Nhấp chuột để đồng bộ máy chủ",复制订阅:"Sao chép liên kết",推广佣金划转至余额:"Chuyển khoản hoa hồng giới thiệu đến số dư","划转后的余额仅用于{title}消费使用":"Số dư sau khi chuyển khoản chỉ dùng để tiêu dùng {title}",当前推广佣金余额:"Số dư hoa hồng giới thiệu hiện tại",划转金额:"Chuyển tiền",请输入需要划转到余额的金额:"Hãy nhậo số tiền muốn chuyển đến số dư","输入内容回复工单...":"Nhập nội dung trả lời công việc...",申请提现:"Yêu cầu rút tiền",取消:"Hủy",提现方式:"Phương thức rút tiền",请选择提现方式:"Hãy chọn phương thức rút tiền",提现账号:"Rút về tào khoản",请输入提现账号:"Hãy chọn tài khoản rút tiền",我知道了:"OK",第一步:"Bước 1",第二步:"Bước 2",打开Telegram搜索:"Mở Telegram tìm kiếm",向机器人发送你的:"Gửi cho bot","最后更新: {date}":"Cập nhật gần đây: {date}",还有没支付的订单:"Có đơn hàng chưa thanh toán",立即支付:"Thanh toán ngay",条工单正在处理中:" công việc đang xử lý",立即查看:"Xem Ngay",节点状态:"Trạng thái node",商品信息:"Thông tin",产品名称:"Tên sản phẩm","类型/周期":"Loại/Chu kỳ",产品流量:"Dung Lượng",订单信息:"Thông tin đơn hàng",关闭订单:"Đóng đơn hàng",订单号:"Mã đơn hàng",优惠金额:"Tiền ưu đãi",旧订阅折抵金额:"Tiền giảm giá gói cũ",退款金额:"Số tiền hoàn lại",余额支付:"Thanh toán số dư",工单历史:"Lịch sử đơn hàng","已用流量将在 {reset_day} 日后重置":"Dữ liệu đã sử dụng sẽ được đặt lại sau {reset_day} ngày",已用流量已在今日重置:"Dữ liệu đã sử dụng đã được đặt lại trong ngày hôm nay",重置已用流量:"Đặt lại dữ liệu đã sử dụng",查看节点状态:"Xem trạng thái nút","当前已使用流量达{rate}%":"Dữ liệu đã sử dụng hiện tại đạt {rate}%",节点名称:"Tên node","于 {date} 到期,距离到期还有 {day} 天。":"Hết hạn vào {date}, còn {day} ngày.","Telegram 讨论组":"Nhóm Telegram",立即加入:"Vào ngay","该订阅无法续费,仅允许新用户购买":"Đăng ký này không thể gia hạn, chỉ người dùng mới được phép mua",重置当月流量:"Đặt lại dung lượng tháng hiện tại","流量明细仅保留近月数据以供查询。":"Chi tiết dung lượng chỉ lưu dữ liệu của những tháng gần đây để truy vấn.",扣费倍率:"Tỷ lệ khấu trừ",支付手续费:"Phí thủ tục",续费订阅:"Gia hạn đăng ký",学习如何使用:"Hướng dẫn sử dụng",快速将节点导入对应客户端进行使用:"Bạn cần phải mua gói này",对您当前的订阅进行续费:"Gia hạn gói hiện tại",对您当前的订阅进行购买:"Mua gói bạn đã chọn",捷径:"Phím tắt","不会使用,查看使用教程":"Mua gói này nếu bạn đăng ký",使用支持扫码的客户端进行订阅:"Sử dụng ứng dụng quét mã để đăng ký",扫描二维码订阅:"Quét mã QR để đăng ký",续费:"Gia hạn",购买:"Mua",查看教程:"Xem hướng dẫn",注意:"Chú Ý","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"Bạn vẫn còn đơn đặt hàng chưa hoàn thành. Bạn cần hủy trước khi mua. Bạn có chắc chắn muốn hủy đơn đặt hàng trước đó không ?",确定取消:"Đúng/không",返回我的订单:"Quay lại đơn đặt hàng của tôi","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"Nếu bạn đã thanh toán, việc hủy đơn hàng có thể khiến việc thanh toán không thành công. Bạn có chắc chắn muốn hủy đơn hàng không ?",选择最适合你的计划:"Chọn kế hoạch phù hợp với bạn nhất",全部:"Tất cả",按周期:"Chu kỳ",遇到问题:"Chúng tôi có một vấn đề",遇到问题可以通过工单与我们沟通:"Nếu bạn gặp sự cố, bạn có thể liên lạc với chúng tôi thông qua ",按流量:"Theo lưu lượng",搜索文档:"Tìm kiếm tài liệu",技术支持:"Hỗ trợ kỹ thuật",当前剩余佣金:"Số dư hoa hồng hiện tại",三级分销比例:"Tỷ lệ phân phối cấp 3",累计获得佣金:"Tổng hoa hồng đã nhận","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"Người dùng bạn mời lại mời người dùng sẽ được chia theo tỷ lệ của số tiền đơn hàng nhân với cấp độ phân phối.",发放时间:"Thời gian thanh toán hoa hồng","{number} 人":"{number} người","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"Nếu địa chỉ đăng ký hoặc tài khoản của bạn bị rò rỉ và bị người khác lạm dụng, bạn có thể đặt lại thông tin đăng ký tại đây để tránh mất mát không cần thiết.",再次输入密码:"Nhập lại mật khẩu",返回登陆:"Quay lại Đăng nhập",选填:"Tùy chọn",必填:"Bắt buộc",最后回复时间:"Thời gian Trả lời Cuối cùng",请选项工单等级:"Vui lòng Chọn Mức độ Ưu tiên Công việc",回复:"Trả lời",输入内容回复工单:"Nhập Nội dung để Trả lời Công việc",已生成:"Đã tạo",选择协议:"Chọn Giao thức",自动:"Tự động",流量重置包:"Gói Reset Dữ liệu",复制失败:"Sao chép thất bại",提示:"Thông báo","确认退出?":"Xác nhận Đăng xuất?",已退出登录:"Đã đăng xuất thành công",请输入邮箱地址:"Nhập địa chỉ email","{second}秒后可重新发送":"Gửi lại sau {second} giây",发送成功:"Gửi thành công",请输入账号密码:"Nhập tên đăng nhập và mật khẩu",请确保两次密码输入一致:"Đảm bảo hai lần nhập mật khẩu giống nhau",注册成功:"Đăng ký thành công","重置密码成功,正在返回登录":"Đặt lại mật khẩu thành công, đang quay trở lại trang đăng nhập",确认取消:"Xác nhận Hủy","请注意,变更订阅会导致当前订阅被覆盖。":"Vui lòng lưu ý rằng thay đổi đăng ký sẽ ghi đè lên đăng ký hiện tại.","订单提交成功,正在跳转支付":"Đơn hàng đã được gửi thành công, đang chuyển hướng đến thanh toán.",回复成功:"Trả lời thành công",工单详情:"Chi tiết Ticket",登录成功:"Đăng nhập thành công","确定退出?":"Xác nhận thoát?",支付成功:"Thanh toán thành công",正在前往收银台:"Đang tiến hành thanh toán",请输入正确的划转金额:"Vui lòng nhập số tiền chuyển đúng",划转成功:"Chuyển khoản thành công",提现方式不能为空:"Phương thức rút tiền không được để trống",提现账号不能为空:"Tài khoản rút tiền không được để trống",已绑定:"Đã liên kết",创建成功:"Tạo thành công",关闭成功:"Đóng thành công"},Vk=Object.freeze(Object.defineProperty({__proto__:null,default:rNe},Symbol.toStringTag,{value:"Module"})),iNe={请求失败:"请求失败",月付:"月付",季付:"季付",半年付:"半年付",年付:"年付",两年付:"两年付",三年付:"三年付",一次性:"一次性",重置流量包:"重置流量包",待支付:"待支付",开通中:"开通中",已取消:"已取消",已完成:"已完成",已折抵:"已折抵",待确认:"待确认",发放中:"发放中",已发放:"已发放",无效:"无效",个人中心:"个人中心",登出:"登出",搜索:"搜索",仪表盘:"仪表盘",订阅:"订阅",我的订阅:"我的订阅",购买订阅:"购买订阅",财务:"财务",我的订单:"我的订单",我的邀请:"我的邀请",用户:"用户",我的工单:"我的工单",流量明细:"流量明细",使用文档:"使用文档",绑定Telegram获取更多服务:"绑定 Telegram 获取更多服务",点击这里进行绑定:"点击这里进行绑定",公告:"公告",总览:"总览",该订阅长期有效:"该订阅长期有效",已过期:"已过期","已用 {used} / 总计 {total}":"已用 {used} / 总计 {total}",查看订阅:"查看订阅",邮箱:"邮箱",邮箱验证码:"邮箱验证码",发送:"发送",重置密码:"重置密码",返回登入:"返回登入",邀请码:"邀请码",复制链接:"复制链接",完成时间:"完成时间",佣金:"佣金",已注册用户数:"已注册用户数",佣金比例:"佣金比例",确认中的佣金:"确认中的佣金","佣金将会在确认后会到达你的佣金账户。":"佣金将会在确认后到达您的佣金账户。",邀请码管理:"邀请码管理",生成邀请码:"生成邀请码",佣金发放记录:"佣金发放记录",复制成功:"复制成功",密码:"密码",登入:"登入",注册:"注册",忘记密码:"忘记密码","# 订单号":"# 订单号",周期:"周期",订单金额:"订单金额",订单状态:"订单状态",创建时间:"创建时间",操作:"操作",查看详情:"查看详情",请选择支付方式:"请选择支付方式",请检查信用卡支付信息:"请检查信用卡支付信息",订单详情:"订单详情",折扣:"折扣",折抵:"折抵",退款:"退款",支付方式:"支付方式",填写信用卡支付信息:"填写信用卡支付信息","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"您的信用卡信息只会用于当次扣款,系统并不会保存,我们认为这是最安全的。",订单总额:"订单总额",总计:"总计",结账:"结账",等待支付中:"等待支付中","订单系统正在进行处理,请稍等1-3分钟。":"订单系统正在进行处理,请等候 1-3 分钟。","订单由于超时支付已被取消。":"订单由于超时支付已被取消。","订单已支付并开通。":"订单已支付并开通。",选择订阅:"选择订阅",立即订阅:"立即订阅",配置订阅:"配置订阅",付款周期:"付款周期","有优惠券?":"有优惠券?",验证:"验证",下单:"下单","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"请注意,变更订阅会导致当前订阅被新订阅覆盖。",该订阅无法续费:"该订阅无法续费",选择其他订阅:"选择其它订阅",我的钱包:"我的钱包","账户余额(仅消费)":"账户余额(仅消费)","推广佣金(可提现)":"推广佣金(可提现)",钱包组成部分:"钱包组成部分",划转:"划转",推广佣金提现:"推广佣金提现",修改密码:"修改密码",保存:"保存",旧密码:"旧密码",新密码:"新密码",请输入旧密码:"请输入旧密码",请输入新密码:"请输入新密码",通知:"通知",到期邮件提醒:"到期邮件提醒",流量邮件提醒:"流量邮件提醒",绑定Telegram:"绑定 Telegram",立即开始:"立即开始",重置订阅信息:"重置订阅信息",重置:"重置","确定要重置订阅信息?":"确定要重置订阅信息?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"如果您的订阅地址或信息发生泄露可以执行此操作。重置后您的 UUID 及订阅将会变更,需要重新导入订阅。",重置成功:"重置成功",两次新密码输入不同:"两次新密码输入不同",两次密码输入不同:"两次密码输入不同","邀请码(选填)":"邀请码(选填)",'我已阅读并同意 服务条款':'我已阅读并同意 服务条款',请同意服务条款:"请同意服务条款",名称:"名称",标签:"标签",状态:"状态",节点五分钟内节点在线情况:"五分钟内节点在线情况",倍率:"倍率",使用的流量将乘以倍率进行扣除:"使用的流量将乘以倍率进行扣除",更多操作:"更多操作","没有可用节点,如果您未订阅或已过期请":"没有可用节点,如果您未订阅或已过期请","确定重置当前已用流量?":"确定重置当前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。",确定:"确定",低:"低",中:"中",高:"高",主题:"主题",工单级别:"工单级别",工单状态:"工单状态",最后回复:"最后回复",已关闭:"已关闭",待回复:"待回复",已回复:"已回复",查看:"查看",关闭:"关闭",新的工单:"新的工单",确认:"确认",请输入工单主题:"请输入工单主题",工单等级:"工单等级",请选择工单等级:"请选择工单等级",消息:"消息",请描述你遇到的问题:"请描述您遇到的问题",记录时间:"记录时间",实际上行:"实际上行",实际下行:"实际下行",合计:"合计","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量",复制订阅地址:"复制订阅地址",导入到:"导入到",一键订阅:"一键订阅",复制订阅:"复制订阅",推广佣金划转至余额:"推广佣金划转至余额","划转后的余额仅用于{title}消费使用":"划转后的余额仅用于{title}消费使用",当前推广佣金余额:"当前推广佣金余额",划转金额:"划转金额",请输入需要划转到余额的金额:"请输入需要划转到余额的金额","输入内容回复工单...":"输入内容回复工单...",申请提现:"申请提现",取消:"取消",提现方式:"提现方式",请选择提现方式:"请选择提现方式",提现账号:"提现账号",请输入提现账号:"请输入提现账号",我知道了:"我知道了",第一步:"第一步",第二步:"第二步",打开Telegram搜索:"打开 Telegram 搜索",向机器人发送你的:"向机器人发送您的",最后更新:"{date}",还有没支付的订单:"还有没支付的订单",立即支付:"立即支付",条工单正在处理中:"条工单正在处理中",立即查看:"立即查看",节点状态:"节点状态",商品信息:"商品信息",产品名称:"产品名称","类型/周期":"类型/周期",产品流量:"产品流量",订单信息:"订单信息",关闭订单:"关闭订单",订单号:"订单号",优惠金额:"优惠金额",旧订阅折抵金额:"旧订阅折抵金额",退款金额:"退款金额",余额支付:"余额支付",工单历史:"工单历史","已用流量将在 {reset_day} 日后重置":"已用流量将在 {reset_day} 日后重置",已用流量已在今日重置:"已用流量已在今日重置",重置已用流量:"重置已用流量",查看节点状态:"查看节点状态","当前已使用流量达{rate}%":"当前已使用流量达 {rate}%",节点名称:"节点名称","于 {date} 到期,距离到期还有 {day} 天。":"于 {date} 到期,距离到期还有 {day} 天。","Telegram 讨论组":"Telegram 讨论组",立即加入:"立即加入","该订阅无法续费,仅允许新用户购买":"该订阅无法续费,仅允许新用户购买",重置当月流量:"重置当月流量","流量明细仅保留近月数据以供查询。":"流量明细仅保留近一个月数据以供查询。",扣费倍率:"扣费倍率",支付手续费:"支付手续费",续费订阅:"续费订阅",学习如何使用:"学习如何使用",快速将节点导入对应客户端进行使用:"快速将节点导入对应客户端进行使用",对您当前的订阅进行续费:"对您当前的订阅进行续费",对您当前的订阅进行购买:"对您当前的订阅进行购买",捷径:"捷径","不会使用,查看使用教程":"不会使用,查看使用教程",使用支持扫码的客户端进行订阅:"使用支持扫码的客户端进行订阅",扫描二维码订阅:"扫描二维码订阅",续费:"续费",购买:"购买",查看教程:"查看教程",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"您还有未完成的订单,购买前需要先取消,确定要取消之前的订单吗?",确定取消:"确定取消",返回我的订单:"返回我的订单","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?",选择最适合你的计划:"选择最适合您的计划",全部:"全部",按周期:"按周期",遇到问题:"遇到问题",遇到问题可以通过工单与我们沟通:"遇到问题可以通过工单与我们沟通",按流量:"按流量",搜索文档:"搜索文档",技术支持:"技术支持",当前剩余佣金:"当前剩余佣金",三级分销比例:"三级分销比例",累计获得佣金:"累计获得佣金","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。",发放时间:"发放时间","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。",再次输入密码:"再次输入密码",返回登陆:"返回登录",选填:"选填",必填:"必填",最后回复时间:"最后回复时间",请选项工单等级:"请选择工单优先级",回复:"回复",输入内容回复工单:"输入内容回复工单",已生成:"已生成",选择协议:"选择协议",自动:"自动",流量重置包:"流量重置包",复制失败:"复制失败",提示:"提示","确认退出?":"确认退出?",已退出登录:"已成功退出登录",请输入邮箱地址:"请输入邮箱地址","{second}秒后可重新发送":"{second}秒后可重新发送",发送成功:"发送成功",请输入账号密码:"请输入账号密码",请确保两次密码输入一致:"请确保两次密码输入一致",注册成功:"注册成功","重置密码成功,正在返回登录":"重置密码成功,正在返回登录",确认取消:"确认取消","请注意,变更订阅会导致当前订阅被覆盖。":"请注意,变更订阅会导致当前订阅被覆盖。","订单提交成功,正在跳转支付":"订单提交成功,正在跳转支付",回复成功:"回复成功",工单详情:"工单详情",登录成功:"登录成功","确定退出?":"确定退出?",支付成功:"支付成功",正在前往收银台:"正在前往收银台",请输入正确的划转金额:"请输入正确的划转金额",划转成功:"划转成功",提现方式不能为空:"提现方式不能为空",提现账号不能为空:"提现账号不能为空",已绑定:"已绑定",创建成功:"创建成功",关闭成功:"关闭成功"},Wk=Object.freeze(Object.defineProperty({__proto__:null,default:iNe},Symbol.toStringTag,{value:"Module"})),aNe={请求失败:"請求失敗",月付:"月繳制",季付:"季繳",半年付:"半年缴",年付:"年繳",两年付:"兩年繳",三年付:"三年繳",一次性:"一次性",重置流量包:"重置流量包",待支付:"待支付",开通中:"開通中",已取消:"已取消",已完成:"已完成",已折抵:"已折抵",待确认:"待確認",发放中:"發放中",已发放:"已發放",无效:"無效",个人中心:"您的帳戸",登出:"登出",搜索:"搜尋",仪表盘:"儀表板",订阅:"訂閱",我的订阅:"我的訂閱",购买订阅:"購買訂閱",财务:"財務",我的订单:"我的訂單",我的邀请:"我的邀請",用户:"使用者",我的工单:"我的工單",流量明细:"流量明細",使用文档:"說明文件",绑定Telegram获取更多服务:"綁定 Telegram 獲取更多服務",点击这里进行绑定:"點擊這裡進行綁定",公告:"公告",总览:"總覽",该订阅长期有效:"該訂閱長期有效",已过期:"已過期","已用 {used} / 总计 {total}":"已用 {used} / 總計 {total}",查看订阅:"查看訂閱",邮箱:"郵箱",邮箱验证码:"郵箱驗證碼",发送:"傳送",重置密码:"重設密碼",返回登入:"返回登錄",邀请码:"邀請碼",复制链接:"複製鏈接",完成时间:"完成時間",佣金:"佣金",已注册用户数:"已註冊用戶數",佣金比例:"佣金比例",确认中的佣金:"確認中的佣金","佣金将会在确认后会到达你的佣金账户。":"佣金將會在確認後到達您的佣金帳戶。",邀请码管理:"邀請碼管理",生成邀请码:"生成邀請碼",佣金发放记录:"佣金發放記錄",复制成功:"複製成功",密码:"密碼",登入:"登入",注册:"註冊",忘记密码:"忘記密碼","# 订单号":"# 訂單號",周期:"週期",订单金额:"訂單金額",订单状态:"訂單狀態",创建时间:"創建時間",操作:"操作",查看详情:"查看詳情",请选择支付方式:"請選擇支付方式",请检查信用卡支付信息:"請檢查信用卡支付資訊",订单详情:"訂單詳情",折扣:"折扣",折抵:"折抵",退款:"退款",支付方式:"支付方式",填写信用卡支付信息:"填寫信用卡支付資訊","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"您的信用卡資訊只會被用作當次扣款,系統並不會保存,我們認為這是最安全的。",订单总额:"訂單總額",总计:"總計",结账:"結賬",等待支付中:"等待支付中","订单系统正在进行处理,请稍等1-3分钟。":"訂單系統正在進行處理,請稍等 1-3 分鐘。","订单由于超时支付已被取消。":"訂單由於支付超時已被取消","订单已支付并开通。":"訂單已支付並開通",选择订阅:"選擇訂閱",立即订阅:"立即訂閱",配置订阅:"配置訂閱",付款周期:"付款週期","有优惠券?":"有優惠券?",验证:"驗證",下单:"下單","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"請注意,變更訂閱會導致當前訂閱被新訂閱覆蓋。",该订阅无法续费:"該訂閱無法續費",选择其他订阅:"選擇其它訂閱",我的钱包:"我的錢包","账户余额(仅消费)":"賬戶餘額(僅消費)","推广佣金(可提现)":"推廣佣金(可提現)",钱包组成部分:"錢包組成部分",划转:"劃轉",推广佣金提现:"推廣佣金提現",修改密码:"修改密碼",保存:"儲存",旧密码:"舊密碼",新密码:"新密碼",请输入旧密码:"請輸入舊密碼",请输入新密码:"請輸入新密碼",通知:"通知",到期邮件提醒:"到期郵件提醒",流量邮件提醒:"流量郵件提醒",绑定Telegram:"綁定 Telegram",立即开始:"立即開始",重置订阅信息:"重置訂閲資訊",重置:"重置","确定要重置订阅信息?":"確定要重置訂閱資訊?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"如果您的訂閱位址或資訊發生洩露可以執行此操作。重置後您的 UUID 及訂閱將會變更,需要重新導入訂閱。",重置成功:"重置成功",两次新密码输入不同:"兩次新密碼輸入不同",两次密码输入不同:"兩次密碼輸入不同","邀请码(选填)":"邀請碼(選填)",'我已阅读并同意 服务条款':'我已閱讀並同意 服務條款',请同意服务条款:"請同意服務條款",名称:"名稱",标签:"標籤",状态:"狀態",节点五分钟内节点在线情况:"五分鐘內節點線上情況",倍率:"倍率",使用的流量将乘以倍率进行扣除:"使用的流量將乘以倍率進行扣除",更多操作:"更多操作","没有可用节点,如果您未订阅或已过期请":"沒有可用節點,如果您未訂閱或已過期請","确定重置当前已用流量?":"確定重置當前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"點擊「確定」將會跳轉到收銀台,支付訂單後系統將會清空您當月已使用流量。",确定:"確定",低:"低",中:"中",高:"高",主题:"主題",工单级别:"工單級別",工单状态:"工單狀態",最后回复:"最新回復",已关闭:"已關閉",待回复:"待回復",已回复:"已回復",查看:"檢視",关闭:"關閉",新的工单:"新的工單",确认:"確認",请输入工单主题:"請輸入工單主題",工单等级:"工單等級",请选择工单等级:"請選擇工單等級",消息:"訊息",请描述你遇到的问题:"請描述您遇到的問題",记录时间:"記錄時間",实际上行:"實際上行",实际下行:"實際下行",合计:"合計","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"公式:(實際上行 + 實際下行) x 扣費倍率 = 扣除流量",复制订阅地址:"複製訂閲位址",导入到:"导入到",一键订阅:"一鍵訂閲",复制订阅:"複製訂閲",推广佣金划转至余额:"推廣佣金劃轉至餘額","划转后的余额仅用于{title}消费使用":"劃轉后的餘額僅用於 {title} 消費使用",当前推广佣金余额:"當前推廣佣金餘額",划转金额:"劃轉金額",请输入需要划转到余额的金额:"請輸入需要劃轉到餘額的金額","输入内容回复工单...":"輸入内容回復工單…",申请提现:"申請提現",取消:"取消",提现方式:"提現方式",请选择提现方式:"請選擇提現方式",提现账号:"提現賬號",请输入提现账号:"請輸入提現賬號",我知道了:"我知道了",第一步:"步驟一",第二步:"步驟二",打开Telegram搜索:"打開 Telegram 並搜索",向机器人发送你的:"向機器人發送您的","最后更新: {date}":"最後更新: {date}",还有没支付的订单:"還有未支付的訂單",立即支付:"立即支付",条工单正在处理中:"條工單正在處理中",立即查看:"立即檢視",节点状态:"節點狀態",商品信息:"商品資訊",产品名称:"產品名稱","类型/周期":"類型/週期",产品流量:"產品流量",订单信息:"訂單信息",关闭订单:"關閉訂單",订单号:"訂單號",优惠金额:"優惠金額",旧订阅折抵金额:"舊訂閲折抵金額",退款金额:"退款金額",余额支付:"餘額支付",工单历史:"工單歷史","已用流量将在 {reset_day} 日后重置":"已用流量將在 {reset_day} 日后重置",已用流量已在今日重置:"已用流量已在今日重置",重置已用流量:"重置已用流量",查看节点状态:"查看節點狀態","当前已使用流量达{rate}%":"當前已用流量達 {rate}%",节点名称:"節點名稱","于 {date} 到期,距离到期还有 {day} 天。":"於 {date} 到期,距離到期還有 {day} 天。","Telegram 讨论组":"Telegram 討論組",立即加入:"立即加入","该订阅无法续费,仅允许新用户购买":"該訂閲無法續費,僅允許新用戶購買",重置当月流量:"重置當月流量","流量明细仅保留近月数据以供查询。":"流量明細僅保留近一個月資料以供查詢。",扣费倍率:"扣费倍率",支付手续费:"支付手續費",续费订阅:"續費訂閲",学习如何使用:"學習如何使用",快速将节点导入对应客户端进行使用:"快速將訂閲導入對應的客戶端進行使用",对您当前的订阅进行续费:"對您的當前訂閲進行續費",对您当前的订阅进行购买:"重新購買您的當前訂閲",捷径:"捷徑","不会使用,查看使用教程":"不會使用,檢視使用檔案",使用支持扫码的客户端进行订阅:"使用支持掃碼的客戶端進行訂閲",扫描二维码订阅:"掃描二維碼訂閲",续费:"續費",购买:"購買",查看教程:"查看教程",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"您还有未完成的订单,购买前需要先取消,确定要取消之前的订单吗?",确定取消:"確定取消",返回我的订单:"返回我的訂單","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"如果您已經付款,取消訂單可能會導致支付失敗,確定要取消訂單嗎?",选择最适合你的计划:"選擇最適合您的計劃",全部:"全部",按周期:"按週期",遇到问题:"遇到問題",遇到问题可以通过工单与我们沟通:"遇到問題您可以通過工單與我們溝通",按流量:"按流量",搜索文档:"搜尋文檔",技术支持:"技術支援",当前剩余佣金:"当前剩余佣金",三级分销比例:"三级分销比例",累计获得佣金:"累计获得佣金","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。",发放时间:"发放时间","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"如果您的訂閱地址或帳戶洩漏並被他人濫用,您可以在此重置訂閱資訊,以避免不必要的損失。",再次输入密码:"請再次輸入密碼",返回登陆:"返回登入",选填:"選填",必填:"必填",最后回复时间:"最後回覆時間",请选项工单等级:"請選擇工單優先級",回复:"回覆",输入内容回复工单:"輸入內容回覆工單",已生成:"已生成",选择协议:"選擇協議",自动:"自動",流量重置包:"流量重置包",复制失败:"複製失敗",提示:"提示","确认退出?":"確認退出?",已退出登录:"已成功登出",请输入邮箱地址:"請輸入電子郵件地址","{second}秒后可重新发送":"{second} 秒後可重新發送",发送成功:"發送成功",请输入账号密码:"請輸入帳號和密碼",请确保两次密码输入一致:"請確保兩次密碼輸入一致",注册成功:"註冊成功","重置密码成功,正在返回登录":"重置密碼成功,正在返回登入",确认取消:"確認取消","请注意,变更订阅会导致当前订阅被覆盖。":"請注意,變更訂閱會導致目前的訂閱被覆蓋。","订单提交成功,正在跳转支付":"訂單提交成功,正在跳轉支付",回复成功:"回覆成功",工单详情:"工單詳情",登录成功:"登入成功","确定退出?":"確定退出?",支付成功:"支付成功",正在前往收银台:"正在前往收銀台",请输入正确的划转金额:"請輸入正確的劃轉金額",划转成功:"劃轉成功",提现方式不能为空:"提現方式不能為空",提现账号不能为空:"提現帳號不能為空",已绑定:"已綁定",创建成功:"創建成功",关闭成功:"關閉成功"},Uk=Object.freeze(Object.defineProperty({__proto__:null,default:aNe},Symbol.toStringTag,{value:"Module"}))});export default sNe(); diff --git a/public/theme/Xboard/assets/umi.js.br b/public/theme/Xboard/assets/umi.js.br index 8be5b01..001f11b 100644 Binary files a/public/theme/Xboard/assets/umi.js.br and b/public/theme/Xboard/assets/umi.js.br differ diff --git a/public/theme/Xboard/assets/umi.js.gz b/public/theme/Xboard/assets/umi.js.gz index dc164f8..0e6b341 100644 Binary files a/public/theme/Xboard/assets/umi.js.gz and b/public/theme/Xboard/assets/umi.js.gz differ