diff --git a/public/theme/Xboard/assets/umi.js b/public/theme/Xboard/assets/umi.js index d1fb2c7..19f158f 100644 --- a/public/theme/Xboard/assets/umi.js +++ b/public/theme/Xboard/assets/umi.js @@ -1,73 +1,73 @@ (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-ecba5f1f]{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%}.h1{height:1px}.h2{height:2px}.h5{height:5px}.max-h-30{max-height:30px}.max-w-100\\%{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}.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 Wk=Object.defineProperty;var Uk=(e,t,n)=>t in e?Wk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var qk=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var rd=(e,t,n)=>(Uk(e,typeof t!="symbol"?t+"":t,n),n);var mBe=qk((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)}})();/** +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 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Ih(e,t){const n=new Set(e.split(","));return t?o=>n.has(o.toLowerCase()):o=>n.has(o)}const Qt={},sa=[],Kn=()=>{},Kk=()=>!1,Nc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Oh=e=>e.startsWith("onUpdate:"),vn=Object.assign,Mh=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Gk=Object.prototype.hasOwnProperty,Mt=(e,t)=>Gk.call(e,t),ct=Array.isArray,la=e=>Hc(e)==="[object Map]",j1=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",V1=e=>(Zt(e)||vt(e))&&vt(e.then)&&vt(e.catch),W1=Object.prototype.toString,Hc=e=>W1.call(e),Yk=e=>Hc(e).slice(8,-1),U1=e=>Hc(e)==="[object Object]",zh=e=>ln(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,us=Ih(",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))},Xk=/-(\w)/g,No=jc(e=>e.replace(Xk,(t,n)=>n?n.toUpperCase():"")),Zk=/\B([A-Z])/g,Ai=jc(e=>e.replace(Zk,"-$1").toLowerCase()),Vc=jc(e=>e.charAt(0).toUpperCase()+e.slice(1)),id=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})},mf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Jk=e=>{const t=ln(e)?Number(e):NaN;return isNaN(t)?e:t};let Fm;const K1=()=>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(e3);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===W1||!vt(e.toString))?JSON.stringify(e,Y1,2):String(e),Y1=(e,t)=>t&&t.__v_isRef?Y1(e,t.value):la(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],i)=>(n[ad(o,i)+" =>"]=r,n),{})}:j1(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ad(n))}:$i(t)?ad(t):Zt(t)&&!ct(t)&&!U1(t)?String(t):t,ad=(e,t="")=>{var n;return $i(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +**//*! #__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 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Un;class X1{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 a3(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(""),bf=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=ny(()=>o.delete(n))),ey(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)?zh(n)&&s.push(a.get("length")):(s.push(a.get(bi)),la(e)&&s.push(a.get(bf)));break;case"delete":ct(e)||(s.push(a.get(bi)),la(e)&&s.push(a.get(bf)));break;case"set":la(e)&&s.push(a.get(bi));break}Bh();for(const l of s)l&&ty(l,4);Nh()}function s3(e,t){var n;return(n=dc.get(e))==null?void 0:n.get(t)}const l3=Ih("__proto__,__v_isRef,__isVue"),oy=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($i)),Hm=c3();function c3(){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(),Bh();const o=$t(this)[t].apply(this,n);return Nh(),Ur(),o}}),e}function u3(e){$i(e)||(e=String(e));const t=$t(this);return jn(t,"has",e),t.hasOwnProperty(e)}class ry{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?_3:ly:i?sy:ay).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 u3}const s=Reflect.get(t,n,o);return($i(n)?oy.has(n):l3(n))||(r||jn(t,"get",n),i)?s:cn(s)?a&&zh(n)?s:s.value:Zt(s)?r?io(s):Zn(s):s}}class iy extends ry{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)&&zh(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?Hh:n?Wh: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?Hh:e?Wh: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?Hh:t?Wh:As;return!t&&jn(i,"iterate",l?bf: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 m3(){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[g3,v3,b3,y3]=m3();function jh(e,t){const n=t?e?y3:b3:e?v3:g3;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 x3={get:jh(!1,!1)},C3={get:jh(!1,!0)},w3={get:jh(!0,!1)},ay=new WeakMap,sy=new WeakMap,ly=new WeakMap,_3=new WeakMap;function S3(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:S3(Yk(e))}function Zn(e){return Es(e)?e:Vh(e,!1,f3,x3,ay)}function cy(e){return Vh(e,!1,p3,C3,sy)}function io(e){return Vh(e,!0,h3,w3,ly)}function Vh(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 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 uy(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)&&q1(e,"__v_skip",!0),e}const As=e=>Zt(e)?Zn(e):e,Wh=e=>Zt(e)?io(e):e;class dy{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 Fh(()=>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),Uh(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 P3(e,t,n=!1){let o,r;const i=vt(e);return i?(o=e,r=Kn):(o=e.get,r=e.set),new dy(o,r,i||!r,n)}function Uh(e){var t;zr&&vi&&(e=$t(e),ey(vi,(t=e.dep)!=null?t:e.dep=ny(()=>e.dep=void 0,e instanceof dy?e:void 0)))}function ds(e,t=4,n){e=$t(e);const o=e.dep;o&&ty(o,t)}function cn(e){return!!(e&&e.__v_isRef===!0)}function W(e){return fy(e,!1)}function Ra(e){return fy(e,!0)}function fy(e,t){return cn(e)?e:new T3(e,t)}class T3{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 Uh(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 R3={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 hy(e){return yi(e)?e:new Proxy(e,R3)}class E3{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:o}=t(()=>Uh(this),()=>ds(this));this._get=n,this._set=o}get value(){return this._get()}set value(t){this._set(t)}}function $3(e){return new E3(e)}function A3(e){const t=ct(e)?new Array(e.length):{};for(const n in e)t[n]=py(e,n);return t}class I3{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 s3($t(this._object),this._key)}}class O3{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 O3(e):Zt(e)&&arguments.length>1?py(e,t,n):W(e)}function py(e,t,n){const o=e[t];return cn(o)?o:new I3(e,t,n)}/** +**/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 * (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&&V1(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 L3(e){ct(e)?ca.push(...e):(!Rr||!Rr.includes(e,e.allowRecurse?ui+1:ui))&&ca.push(e),gy()}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,F3=(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 by(e){yf=!1,Is=!0,En.sort(F3);const t=Kn;try{for(Mo=0;Moln(p)?p.trim():p)),d&&(r=n.map(mf))}let s,l=o[s=id(t)]||o[s=id(No(t))];!l&&i&&(l=o[s=id(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 yy(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=yy(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 N3(e){Kc=e}function H3(){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 sd(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:j3(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(Oh)&&(b=V3(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 j3=e=>{let t;for(const n in e)(n==="class"||n==="style"||Nc(n))&&((t||(t={}))[n]=e[n]);return t},V3=(e,t)=>{const n={};for(const o in e)(!Oh(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function W3(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 K3(e,t){t&&t.pendingBranch?ct(e)?t.effects.push(...e):t.effects.push(e):L3(e)}const G3=Symbol.for("v-scx"),Y3=()=>We(G3);function Xt(e,t){return Yh(e,null,t)}const _l={};function ft(e,t,n){return Yh(e,t,n)}function Yh(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=Y3();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=()=>Kh(b));const C=new Fh(u,Kn,w),S=Lh(),_=()=>{C.stop(),S&&Mh(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 X3(e,t,n){const o=this.proxy,r=ln(e)?e.includes(".")?wy(o,e):()=>o[e]:e.bind(o,o);let i;vt(t)?i=t:(i=t.handler,n=t);const a=Qs(this),s=Yh(r,i.bind(o),n);return a(),s}function wy(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(U1(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],Sy={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},Z3={name:"BaseTransition",props:Sy,setup(e,{slots:t}){const n=Jn(),o=_y();return()=>{const r=t.default&&Xh(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 ld(i);const l=Ym(i);if(!l)return ld(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())},ld(i);s==="in-out"&&l.type!==$n&&(f.delayLeave=(p,h,m)=>{const v=ky(o,d);v[String(d.key)]=d,p[Er]=()=>{h(),p[Er]=void 0,delete c.delayedLeave},c.delayedLeave=m})}return i}}},J3=Z3;function ky(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=ky(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]=H=>{R||(R=!0,H?_($,[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 ld(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 Xh(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 Zh(e,t){Py(e,"a",t)}function Zc(e,t){Py(e,"da",t)}function Py(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)&&Q3(o,t,n,r),r=r.parent}}function Q3(e,t,n,o){const r=Jc(t,e,o,!0);Ea(()=>{Mh(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"),Ty=cr("bu"),Jh=cr("u"),rn=cr("bum"),Ea=cr("um"),e4=cr("sp"),t4=cr("rtg"),n4=cr("rtc");function o4(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&&!Ry(t.children)):!0)?e:null}const xf=e=>e?jy(e)?nu(e)||e.proxy:xf(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=>xf(e.parent),$root:e=>xf(e.root),$emit:e=>e.emit,$options:e=>Qh(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Kh(e.update)}),$nextTick:e=>e.n||(e.n=Ht.bind(e.proxy)),$watch:e=>X3.bind(e)}),cd=(e,t)=>e!==Qt&&!e.__isScriptSetup&&Mt(e,t),r4={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(cd(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];Cf&&(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 cd(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)||cd(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 Cf=!0;function i4(e){const t=Qh(e),n=e.proxy,o=e.ctx;Cf=!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:H}=t;if(c&&a4(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(Cf=!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,he=!vt(Q)&&vt(Q.set)?Q.set.bind(n):Kn,B=L({get:de,set:he});Object.defineProperty(o,Y,{enumerable:!0,configurable:!0,get:()=>B.value,set:E=>B.value=E})}if(s)for(const Y in s)Ey(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(Ty,p),M(Jh,h),M(Zh,m),M(Zc,v),M(o4,k),M(n4,x),M(t4,y),M(rn,w),M(Ea,S),M(e4,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 a4(e,t,n=Kn){ct(e)&&(e=wf(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 Ey(e,t,n,o){const r=o.includes(".")?wy(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=>Ey(i,t,n,o));else{const i=vt(e.handler)?e.handler.bind(n):t[e.handler];vt(i)&&ft(r,i,e)}}function Qh(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=s4[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const s4={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:c4,provide:Jm,inject:l4};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 l4(e,t){return as(wf(e),wf(t))}function wf(e){if(ct(e)){const t={};for(let n=0;n1)return n&&vt(t)?t.call(o&&o.proxy):t}}function f4(){return!!(wn||mn||ua)}const Ay=Object.create(null),_f=()=>Object.create(Ay),Iy=e=>Object.getPrototypeOf(e)===Ay;function h4(e,t,n,o=!1){const r={},i=_f();e.propsDefaults=Object.create(null),Oy(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:cy(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=$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]=My(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 zy=e=>e[0]==="_"||e==="$stable",ep=e=>ct(e)?e.map(Oo):[Oo(e)],m4=(e,t,n)=>{if(t._n)return t;const o=ce((...r)=>ep(t(...r)),n);return o._c=!1,o},Dy=(e,t,n)=>{const o=e._ctx;for(const r in e){if(zy(r))continue;const i=e[r];if(vt(i))t[r]=m4(r,i,o);else if(i!=null){const a=ep(i);t[r]=()=>a}}},Ly=(e,t)=>{const n=ep(t);e.slots.default=()=>n},g4=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=$t(t),q1(e.slots,"_",n)):Dy(t,e.slots=_f())}else e.slots=_f(),t&&Ly(e,t)},v4=(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,Dy(t,r)),a=t}else t&&(Ly(e,t),a={default:1});if(i)for(const s in r)!zy(s)&&a[s]==null&&delete r[s]};function kf(e,t,n,o,r=!1){if(ct(e)){e.forEach((f,p)=>kf(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)&&Mh(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=K3;function b4(e){return y4(e)}function y4(e,t){const n=K1();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,be=null,Pe=void 0,I=null,N=!!O.dynamicChildren)=>{if(F===O)return;F&&!di(F,O)&&(_e=J(F),E(F,ee,be,!0),F=null),O.patchFlag===-2&&(N=!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,be,Pe,I,N);break;default:ae&1?_(F,O,re,_e,ee,be,Pe,I,N):ae&6?K(F,O,re,_e,ee,be,Pe,I,N):(ae&64||ae&128)&&te.process(F,O,re,_e,ee,be,Pe,I,N,ve)}Ce!=null&&ee&&kf(Ce,F&&F.ref,be,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,be,Pe,I,N)=>{O.type==="svg"?Pe="svg":O.type==="math"&&(Pe="mathml"),F==null?x(O,re,_e,ee,be,Pe,I,N):P(F,O,ee,be,Pe,I,N)},x=(F,O,re,_e,ee,be,Pe,I)=>{let N,te;const{props:Ce,shapeFlag:ae,transition:fe,dirs:oe}=F;if(N=F.el=a(F.type,be,Ce&&Ce.is,Ce),ae&8?u(N,F.children):ae&16&&k(F.children,N,null,_e,ee,ud(F,be),Pe,I),oe&&ti(F,null,_e,"created"),y(N,F,F.scopeId,Pe,_e),Ce){for(const De in Ce)De!=="value"&&!us(De)&&i(N,De,null,Ce[De],be,F.children,_e,ee,ye);"value"in Ce&&i(N,"value",null,Ce.value,be),(te=Ce.onVnodeBeforeMount)&&$o(te,_e,F)}oe&&ti(F,null,_e,"beforeMount");const ue=x4(ee,fe);ue&&fe.beforeEnter(N),o(N,O,re),((te=Ce&&Ce.onVnodeMounted)||ue||oe)&&Nn(()=>{te&&$o(te,_e,F),ue&&fe.enter(N),oe&&ti(F,null,_e,"mounted")},ee)},y=(F,O,re,_e,ee)=>{if(re&&p(F,re),_e)for(let be=0;be<_e.length;be++)p(F,_e[be]);if(ee){let be=ee.subTree;if(O===be){const Pe=ee.vnode;y(F,Pe,Pe.scopeId,Pe.slotScopeIds,ee.parent)}}},k=(F,O,re,_e,ee,be,Pe,I,N=0)=>{for(let te=N;te{const I=O.el=F.el;let{patchFlag:N,dynamicChildren:te,dirs:Ce}=O;N|=F.patchFlag&16;const ae=F.props||Qt,fe=O.props||Qt;let oe;if(re&&ni(re,!1),(oe=fe.onVnodeBeforeUpdate)&&$o(oe,re,O,F),Ce&&ti(O,F,re,"beforeUpdate"),re&&ni(re,!0),te?T(F.dynamicChildren,te,I,re,_e,ud(O,ee),be):Pe||Q(F,O,I,null,re,_e,ud(O,ee),be,!1),N>0){if(N&16)$(I,O,ae,fe,re,_e,ee);else if(N&2&&ae.class!==fe.class&&i(I,"class",null,fe.class,ee),N&4&&i(I,"style",ae.style,fe.style,ee),N&8){const ue=O.dynamicProps;for(let De=0;De{oe&&$o(oe,re,O,F),Ce&&ti(O,F,re,"updated")},_e)},T=(F,O,re,_e,ee,be,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,be,ye);for(const I in _e){if(us(I))continue;const N=_e[I],te=re[I];N!==te&&I!=="value"&&i(F,I,te,N,Pe,O.children,ee,be,ye)}"value"in _e&&i(F,"value",re.value,_e.value,Pe)}},R=(F,O,re,_e,ee,be,Pe,I,N)=>{const te=O.el=F?F.el:s(""),Ce=O.anchor=F?F.anchor:s("");let{patchFlag:ae,dynamicChildren:fe,slotScopeIds:oe}=O;oe&&(I=I?I.concat(oe):oe),F==null?(o(te,re,_e),o(Ce,re,_e),k(O.children||[],re,Ce,ee,be,Pe,I,N)):ae>0&&ae&64&&fe&&F.dynamicChildren?(T(F.dynamicChildren,fe,re,ee,be,Pe,I),(O.key!=null||ee&&O===ee.subTree)&&tp(F,O,!0)):Q(F,O,re,Ce,ee,be,Pe,I,N)},K=(F,O,re,_e,ee,be,Pe,I,N)=>{O.slotScopeIds=I,F==null?O.shapeFlag&512?ee.ctx.activate(O,re,_e,Pe,N):H(O,re,_e,ee,be,Pe,N):D(F,O,N)},H=(F,O,re,_e,ee,be,Pe)=>{const I=F.component=A4(F,_e,ee);if(Xc(F)&&(I.ctx.renderer=ve),I4(I),I.asyncDep){if(ee&&ee.registerDep(I,M),!F.el){const N=I.subTree=ie($n);b(null,N,O,re)}}else M(I,F,O,re,ee,be,Pe)},D=(F,O,re)=>{const _e=O.component=F.component;if(W3(F,O,re))if(_e.asyncDep&&!_e.asyncResolved){Y(_e,O,re);return}else _e.next=O,D3(_e.update),_e.effect.dirty=!0,_e.update();else O.el=F.el,_e.vnode=O},M=(F,O,re,_e,ee,be,Pe)=>{const I=()=>{if(F.isMounted){let{next:Ce,bu:ae,u:fe,parent:oe,vnode:ue}=F;{const je=Fy(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,oe,Ce,ue),ni(F,!0);const ke=sd(F),Fe=F.subTree;F.subTree=ke,m(Fe,ke,d(Fe.el),J(Fe),F,ee,be),Ce.el=ke.el,De===null&&U3(F,ke.el),fe&&Nn(fe,ee),(Ue=Ce.props&&Ce.props.onVnodeUpdated)&&Nn(()=>$o(Ue,oe,Ce,ue),ee)}else{let Ce;const{el:ae,props:fe}=O,{bm:oe,m:ue,parent:De}=F,Ue=fs(O);if(ni(F,!1),oe&&Zl(oe),!Ue&&(Ce=fe&&fe.onVnodeBeforeMount)&&$o(Ce,De,O),ni(F,!0),ae&&Le){const ke=()=>{F.subTree=sd(F),Le(ae,F.subTree,F,ee,null)};Ue?O.type.__asyncLoader().then(()=>!F.isUnmounted&&ke()):ke()}else{const ke=F.subTree=sd(F);m(null,ke,re,_e,F,ee,be),O.el=ke.el}if(ue&&Nn(ue,ee),!Ue&&(Ce=fe&&fe.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}},N=F.effect=new Fh(I,Kn,()=>Kh(te),F.scope),te=F.update=()=>{N.dirty&&N.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,p4(F,O.props,_e,re),v4(F,O.children,re),Wr(),qm(F),Ur()},Q=(F,O,re,_e,ee,be,Pe,I,N=!1)=>{const te=F&&F.children,Ce=F?F.shapeFlag:0,ae=O.children,{patchFlag:fe,shapeFlag:oe}=O;if(fe>0){if(fe&128){he(te,ae,re,_e,ee,be,Pe,I,N);return}else if(fe&256){de(te,ae,re,_e,ee,be,Pe,I,N);return}}oe&8?(Ce&16&&ye(te,ee,be),ae!==te&&u(re,ae)):Ce&16?oe&16?he(te,ae,re,_e,ee,be,Pe,I,N):ye(te,ee,be,!0):(Ce&8&&u(re,""),oe&16&&k(ae,re,_e,ee,be,Pe,I,N))},de=(F,O,re,_e,ee,be,Pe,I,N)=>{F=F||sa,O=O||sa;const te=F.length,Ce=O.length,ae=Math.min(te,Ce);let fe;for(fe=0;feCe?ye(F,ee,be,!0,!1,ae):k(O,re,_e,ee,be,Pe,I,N,ae)},he=(F,O,re,_e,ee,be,Pe,I,N)=>{let te=0;const Ce=O.length;let ae=F.length-1,fe=Ce-1;for(;te<=ae&&te<=fe;){const oe=F[te],ue=O[te]=N?$r(O[te]):Oo(O[te]);if(di(oe,ue))m(oe,ue,re,null,ee,be,Pe,I,N);else break;te++}for(;te<=ae&&te<=fe;){const oe=F[ae],ue=O[fe]=N?$r(O[fe]):Oo(O[fe]);if(di(oe,ue))m(oe,ue,re,null,ee,be,Pe,I,N);else break;ae--,fe--}if(te>ae){if(te<=fe){const oe=fe+1,ue=oefe)for(;te<=ae;)E(F[te],ee,be,!0),te++;else{const oe=te,ue=te,De=new Map;for(te=ue;te<=fe;te++){const X=O[te]=N?$r(O[te]):Oo(O[te]);X.key!=null&&De.set(X.key,te)}let Ue,ke=0;const Fe=fe-ue+1;let je=!1,Ae=0;const Je=new Array(Fe);for(te=0;te=Fe){E(X,ee,be,!0);continue}let me;if(X.key!=null)me=De.get(X.key);else for(Ue=ue;Ue<=fe;Ue++)if(Je[Ue-ue]===0&&di(X,O[Ue])){me=Ue;break}me===void 0?E(X,ee,be,!0):(Je[me-ue]=te+1,me>=Ae?Ae=me:je=!0,m(X,O[me],re,null,ee,be,Pe,I,N),ke++)}const xt=je?C4(Je):sa;for(Ue=xt.length-1,te=Fe-1;te>=0;te--){const X=ue+te,me=O[X],$e=X+1{const{el:be,type:Pe,transition:I,children:N,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,ve);return}if(Pe===rt){o(be,O,re);for(let ae=0;aeI.enter(be),ee);else{const{leave:ae,delayLeave:fe,afterLeave:oe}=I,ue=()=>o(be,O,re),De=()=>{ae(be,()=>{ue(),oe&&oe()})};fe?fe(be,ue,De):De()}else o(be,O,re)},E=(F,O,re,_e=!1,ee=!1)=>{const{type:be,props:Pe,ref:I,children:N,dynamicChildren:te,shapeFlag:Ce,patchFlag:ae,dirs:fe}=F;if(I!=null&&kf(I,null,re,F,!0),Ce&256){O.ctx.deactivate(F);return}const oe=Ce&1&&fe,ue=!fs(F);let De;if(ue&&(De=Pe&&Pe.onVnodeBeforeUnmount)&&$o(De,O,F),Ce&6)ne(F.component,re,_e);else{if(Ce&128){F.suspense.unmount(re,_e);return}oe&&ti(F,null,O,"beforeUnmount"),Ce&64?F.type.remove(F,O,re,ee,ve,_e):te&&(be!==rt||ae>0&&ae&64)?ye(te,O,re,!1,!0):(be===rt&&ae&384||!ee&&Ce&16)&&ye(N,O,re),_e&&A(F)}(ue&&(De=Pe&&Pe.onVnodeUnmounted)||oe)&&Nn(()=>{De&&$o(De,O,F),oe&&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 be=()=>{r(re),ee&&!ee.persisted&&ee.afterLeave&&ee.afterLeave()};if(F.shapeFlag&1&&ee&&!ee.persisted){const{leave:Pe,delayLeave:I}=ee,N=()=>Pe(re,be);I?I(F.el,be,N):N()}else be()},G=(F,O)=>{let re;for(;F!==O;)re=f(F),r(F),F=re;r(O)},ne=(F,O,re)=>{const{bum:_e,scope:ee,update:be,subTree:Pe,um:I}=F;_e&&Zl(_e),ee.stop(),be&&(be.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())},ye=(F,O,re,_e=!1,ee=!1,be=0)=>{for(let Pe=be;PeF.shapeFlag&6?J(F.component.subTree):F.shapeFlag&128?F.suspense.next():f(F.anchor||F.el);let xe=!1;const j=(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(),vy(),xe=!1),O._vnode=F},ve={p:m,um:E,m:B,r:A,mt:H,mc:k,pc:Q,pbc:T,n:J,o:e};let Oe,Le;return t&&([Oe,Le]=t(ve)),{render:j,hydrate:Oe,createApp:d4(j,Oe)}}function ud({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 x4(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function tp(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 Fy(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fy(t)}const w4=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,Pf=(e,t)=>{const n=e&&e.to;return ln(n)?t?t(n):null:n},_4={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=Pf(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),tp(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=Pf(t.props,h);$&&kl(t,$,null,c,0)}else k&&kl(t,x,y,c,1)}By(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,k4(),Ds>0&&yo&&yo.push(e),e}function ze(e,t,n,o,r,i){return Ny(U(e,t,n,o,r,i,!0))}function qe(e,t,n,o,r){return Ny(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 Hy=({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&&Hy(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?(np(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=P4;function P4(e,t=null,n=null,o=0,r=null,i=!1){if((!e||e===xy)&&(e=$n),Ls(e)){const s=ao(e,t,!0);return n&&np(s,n),Ds>0&&!i&&yo&&(s.shapeFlag&6?yo[yo.indexOf(e)]=s:yo.push(s)),s.patchFlag|=-2,s}if(L4(e)&&(e=e.__vccOpts),t){t=T4(t);let{class:s,style:l}=t;s&&!ln(s)&&(t.class=ir(s)),Zt(l)&&(uy(l)&&!ct(l)&&(l=vn({},l)),t.style=Fr(l))}const a=ln(e)?1:q3(e)?128:w4(e)?64:Zt(e)?4:vt(e)?2:0;return U(e,t,n,o,r,a,i,!0)}function T4(e){return e?uy(e)||Iy(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&&Hy(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 R4(e,t){const n=ie(Jl,null,e);return n.staticCount=t,n}function pt(e="",t=!1){return t?(pe(),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 np(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),np(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Iy(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,Tf;{const e=K1(),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),Tf=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 jy(e){return e.vnode.shapeFlag&4}let tu=!1;function I4(e,t=!1){t&&Tf(t);const{props:n,children:o}=e.vnode,r=jy(e);h4(e,n,r,t),g4(e,o);const i=r?O4(e,t):void 0;return t&&Tf(!1),i}function O4(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,r4);const{setup:o}=n;if(o){const r=e.setupContext=o.length>1?z4(e):null,i=Qs(e);Wr();const a=Dr(o,e,0,[e.props,r]);if(Ur(),i(),V1(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 Vy(e,t)}function lg(e,t,n){vt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Zt(t)&&(e.setupState=hy(t)),Vy(e,n)}let cg;function Vy(e,t,n){const o=e.type;if(!e.render){if(!t&&cg&&!o.render){const r=o.template||Qh(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{i4(e)}finally{Ur(),r()}}}const M4={get(e,t){return jn(e,"get",""),e[t]}};function z4(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,M4),slots:e.slots,emit:e.emit,expose:t}}function nu(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(hy($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 D4(e,t=!0){return vt(e)?e.displayName||e.name:e.name||t&&e.__name}function L4(e){return vt(e)&&"__vccOpts"in e}const L=(e,t)=>P3(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 F4="3.4.23";/** +**/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 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const B4="http://www.w3.org/2000/svg",N4="http://www.w3.org/1998/Math/MathML",Ar=typeof document<"u"?document:null,ug=Ar&&Ar.createElement("template"),H4={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(B4,e):t==="mathml"?Ar.createElementNS(N4,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(J3,Uy(e),t);fn.displayName="Transition";const Wy={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},j4=fn.props=vn({},Sy,Wy),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 Uy(e){const t={};for(const R in e)R in Wy||(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=V4(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,H)=>{Pr(R,K?u:s),Pr(R,K?c:a),H&&H()},T=(R,K)=>{R._isLeaving=!1,Pr(R,d),Pr(R,p),Pr(R,f),K&&K()},$=R=>(K,H)=>{const D=R?y:w,M=()=>P(K,R,H);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 H=()=>T(R,K);tr(R,d),Ky(),tr(R,f),fg(()=>{R._isLeaving&&(Pr(R,d),tr(R,p),dg(S)||hg(R,o,v,H))}),oi(S,[R,H])},onEnterCancelled(R){P(R,!1),oi(C,[R])},onAppearCancelled(R){P(R,!0),oi(k,[R])},onLeaveCancelled(R){T(R),oi(_,[R])}})}function V4(e){if(e==null)return null;if(Zt(e))return[dd(e.enter),dd(e.leave)];{const t=dd(e);return[t,t]}}function dd(e){return Jk(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 W4=0;function hg(e,t,n,o){const r=e._endId=++W4,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=qy(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 Ky(){return document.body.offsetHeight}function U4(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"),Gy=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[Gy]=!t}const q4=Symbol(""),K4=/(^|;)\s*display\s*:/;function G4(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[q4];a&&(n+=";"+a),o.cssText=n,i=K4.test(n)}}else t&&e.removeAttribute("style");gc in e&&(e[gc]=i?o.display:"",e[Gy]&&(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=Y4(e,t);gg.test(n)?e.setProperty(Ai(o),n.replace(gg,""),"important"):e[o]=n}}const vg=["Webkit","Moz","ms"],fd={};function Y4(e,t){const n=fd[t];if(n)return n;let o=No(t);if(o!=="filter"&&o in e)return fd[t]=o;o=Vc(o);for(let r=0;rhd||(tP.then(()=>hd=0),hd=Date.now());function oP(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;oo(rP(o,n.value),t,5,[o])};return n.value=e,n.attached=nP(),n}function rP(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,iP=(e,t,n,o,r,i,a,s,l)=>{const c=r==="svg";t==="class"?U4(e,o,c):t==="style"?G4(e,n,o):Nc(t)?Oh(t)||Q4(e,t,n,o,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):aP(e,t,o,c))?Z4(e,t,o,i,a,s,l):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),X4(e,t,o,c))};function aP(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 Yy=new WeakMap,Xy=new WeakMap,vc=Symbol("_moveCb"),wg=Symbol("_enterCb"),Zy={name:"TransitionGroup",props:vn({},j4,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Jn(),o=_y();let r,i;return Jh(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!fP(r[0].el,n.vnode.el,a))return;r.forEach(cP),r.forEach(uP);const s=r.filter(dP);Ky(),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=Uy(a);let l=a.tag||rt;if(r=[],i)for(let c=0;cdelete e.mode;Zy.props;const lP=Zy;function cP(e){const t=e.el;t[vc]&&t[vc](),t[wg]&&t[wg]()}function uP(e){Xy.set(e,e.el.getBoundingClientRect())}function dP(e){const t=Yy.get(e),n=Xy.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 fP(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}=qy(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 hP(e){e.target.composing=!0}function Sg(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const pd=Symbol("_assign"),pP={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e[pd]=_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=mf(s)),e[pd](s)}),n&&ta(e,"change",()=>{e.value=e.value.trim()}),t||(ta(e,"compositionstart",hP),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[pd]=_g(i),e.composing)return;const a=(r||e.type==="number")&&!/^0\d/.test(e.value)?mf(e.value):e.value,s=t??"";a!==s&&(document.activeElement===e&&e.type!=="range"&&(n||o&&e.value.trim()===s)||(e.value=s))}},mP=["ctrl","shift","alt","meta"],gP={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)=>mP.some(n=>e[`${n}Key`]&&!t.includes(n))},vP=(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||bP[a]===i))return e(r)})},yP=vn({patchProp:iP},H4);let kg;function xP(){return kg||(kg=b4(yP))}const Jy=(...e)=>{const t=xP().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=wP(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,CP(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function CP(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function wP(e){return ln(e)?document.querySelector(e):e}/*! +**/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 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const na=typeof document<"u";function _P(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Vt=Object.assign;function md(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,Qy=/#/g,SP=/&/g,kP=/\//g,PP=/=/g,TP=/\?/g,ex=/\+/g,RP=/%5B/g,EP=/%5D/g,tx=/%5E/g,$P=/%60/g,nx=/%7B/g,AP=/%7C/g,ox=/%7D/g,IP=/%20/g;function op(e){return encodeURI(""+e).replace(AP,"|").replace(RP,"[").replace(EP,"]")}function OP(e){return op(e).replace(nx,"{").replace(ox,"}").replace(tx,"^")}function Rf(e){return op(e).replace(ex,"%2B").replace(IP,"+").replace(Qy,"%23").replace(SP,"%26").replace($P,"`").replace(nx,"{").replace(ox,"}").replace(tx,"^")}function MP(e){return Rf(e).replace(PP,"%3D")}function zP(e){return op(e).replace(Qy,"%23").replace(TP,"%3F")}function DP(e){return e==null?"":zP(e).replace(kP,"%2F")}function Fs(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const LP=/\/$/,FP=e=>e.replace(LP,"");function gd(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=jP(o??t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:Fs(a)}}function BP(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 NP(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])&&rx(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 rx(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!HP(e[n],t[n]))return!1;return!0}function HP(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 jP(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 VP(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),FP(e)}const WP=/^[^#]+#/;function UP(e,t){return e.replace(WP,"#")+t}function qP(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 KP(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=qP(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 Ef=new Map;function GP(e,t){Ef.set(e,t)}function YP(e){const t=Ef.get(e);return Ef.delete(e),t}let XP=()=>location.protocol+"//"+location.host;function ix(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 ZP(e,t,n,o){let r=[],i=[],a=null;const s=({state:f})=>{const p=ix(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 JP(e){const{history:t,location:n}=window,o={value:ix(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:XP()+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 QP(e){e=VP(e);const t=JP(e),n=ZP(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:UP.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 eT(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),QP(e)}function tT(e){return typeof e=="string"||e&&typeof e=="object"}function ax(e){return typeof e=="string"||typeof e=="symbol"}const Cr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},sx=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,[sx]:!0},t)}function Xo(e,t){return e instanceof Error&&sx in e&&(t==null||!!(e.type&t))}const Ag="[^/]+?",nT={sensitive:!1,strict:!1,start:!0,end:!0},oT=/[.+*?^${}()[\]/\\]/g;function rT(e,t){const n=Vt({},nT,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 aT(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const sT={type:0,value:""},lT=/[a-zA-Z0-9_]/;function cT(e){if(!e)return[[]];if(e==="/")return[[sT]];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(ax(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||!lx(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:pT(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 fT(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:hT(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 hT(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 pT(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 lx(e,t){return t.children.some(n=>n===e||lx(e,n))}function mT(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ri&&Rf(i)):[o&&Rf(o)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function gT(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 vT=Symbol(""),Lg=Symbol(""),ru=Symbol(""),rp=Symbol(""),$f=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):tT(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 vd(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(bT(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=_P(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 bT(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Fg(e){const t=We(ru),n=We(rp),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&&wT(n.params,o.value.params)),a=L(()=>r.value>-1&&r.value===n.matched.length-1&&rx(n.params,o.value.params));function s(l={}){return CT(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 yT=ge({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)}}}),xT=yT;function CT(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 wT(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,_T=ge({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=We($f),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(vT,s),at($f,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 ST=_T;function kT(e){const t=dT(e.routes,e),n=e.parseQuery||mT,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=md.bind(null,J=>""+J),d=md.bind(null,DP),f=md.bind(null,Fs);function p(J,xe){let j,ve;return ax(J)?(j=t.getRecordMatcher(J),ve=xe):ve=J,t.addRoute(ve,j)}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=gd(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 j;if(J.path!=null)j=Vt({},J,{path:gd(n,J.path,xe.path).path});else{const O=Vt({},J.params);for(const re in O)O[re]==null&&delete O[re];j=Vt({},J,{params:d(O)}),xe.params=d(xe.params)}const ve=t.resolve(j,xe),Oe=J.hash||"";ve.params=u(f(ve.params));const Le=BP(o,Vt({},J,{hash:OP(Oe),path:ve.path})),F=r.createHref(Le);return Vt({fullPath:Le,hash:Oe,query:o===Dg?gT(J.query):J.query||{}},ve,{redirectedFrom:void 0,href:F})}function w(J){return typeof J=="string"?gd(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:j}=xe;let ve=typeof j=="function"?j(J):j;return typeof ve=="string"&&(ve=ve.includes("?")||ve.includes("#")?ve=w(ve):{path:ve},ve.params={}),Vt({query:J.query,hash:J.hash,params:ve.path!=null?{}:J.params},ve)}}function y(J,xe){const j=c=b(J),ve=l.value,Oe=J.state,Le=J.force,F=J.replace===!0,O=x(j);if(O)return y(Vt(w(O),{state:typeof O=="object"?Vt({},Oe,O.state):Oe,force:Le,replace:F}),xe||j);const re=j;re.redirectedFrom=xe;let _e;return!Le&&NP(o,ve,j)&&(_e=ba(16,{to:re,from:ve}),B(ve,ve,!0,!1)),(_e?Promise.resolve(_e):T(re,ve)).catch(ee=>Xo(ee)?Xo(ee,2)?ee:he(ee):Q(ee,re,ve)).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,ve,!0,F,Oe);return $(re,ve,ee),ee})}function k(J,xe){const j=C(J,xe);return j?Promise.reject(j):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 j;const[ve,Oe,Le]=PT(J,xe);j=vd(ve.reverse(),"beforeRouteLeave",J,xe);for(const O of ve)O.leaveGuards.forEach(re=>{j.push(Ir(re,J,xe))});const F=k.bind(null,J,xe);return j.push(F),ye(j).then(()=>{j=[];for(const O of i.list())j.push(Ir(O,J,xe));return j.push(F),ye(j)}).then(()=>{j=vd(Oe,"beforeRouteUpdate",J,xe);for(const O of Oe)O.updateGuards.forEach(re=>{j.push(Ir(re,J,xe))});return j.push(F),ye(j)}).then(()=>{j=[];for(const O of Le)if(O.beforeEnter)if(So(O.beforeEnter))for(const re of O.beforeEnter)j.push(Ir(re,J,xe));else j.push(Ir(O.beforeEnter,J,xe));return j.push(F),ye(j)}).then(()=>(J.matched.forEach(O=>O.enterCallbacks={}),j=vd(Le,"beforeRouteEnter",J,xe,P),j.push(F),ye(j))).then(()=>{j=[];for(const O of a.list())j.push(Ir(O,J,xe));return j.push(F),ye(j)}).catch(O=>Xo(O,8)?O:Promise.reject(O))}function $(J,xe,j){s.list().forEach(ve=>P(()=>ve(J,xe,j)))}function R(J,xe,j,ve,Oe){const Le=C(J,xe);if(Le)return Le;const F=xe===Cr,O=na?history.state:{};j&&(ve||F?r.replace(J.fullPath,Vt({scroll:F&&O&&O.scroll},Oe)):r.push(J.fullPath,Oe)),l.value=J,B(J,xe,j,F),he()}let K;function H(){K||(K=r.listen((J,xe,j)=>{if(!ne.listening)return;const ve=b(J),Oe=x(ve);if(Oe){y(Vt(Oe,{replace:!0}),ve).catch(vs);return}c=ve;const Le=l.value;na&&GP(Rg(Le.fullPath,j.delta),ou()),T(ve,Le).catch(F=>Xo(F,12)?F:Xo(F,2)?(y(F.to,ve).then(O=>{Xo(O,20)&&!j.delta&&j.type===Bs.pop&&r.go(-1,!1)}).catch(vs),Promise.reject()):(j.delta&&r.go(-j.delta,!1),Q(F,ve,Le))).then(F=>{F=F||R(ve,Le,!1),F&&(j.delta&&!Xo(F,8)?r.go(-j.delta,!1):j.type===Bs.pop&&Xo(F,20)&&r.go(-1,!1)),$(ve,Le,F)}).catch(vs)}))}let D=Ja(),M=Ja(),Y;function Q(J,xe,j){he(J);const ve=M.list();return ve.length?ve.forEach(Oe=>Oe(J,xe,j)):console.error(J),Promise.reject(J)}function de(){return Y&&l.value!==Cr?Promise.resolve():new Promise((J,xe)=>{D.add([J,xe])})}function he(J){return Y||(Y=!J,H(),D.list().forEach(([xe,j])=>J?j(J):xe()),D.reset()),J}function B(J,xe,j,ve){const{scrollBehavior:Oe}=e;if(!na||!Oe)return Promise.resolve();const Le=!j&&YP(Rg(J.fullPath,0))||(ve||!j)&&history.state&&history.state.scroll||null;return Ht().then(()=>Oe(J,xe,Le)).then(F=>F&&KP(F)).catch(F=>Q(F,J,xe))}const E=J=>r.go(J);let A;const G=new Set,ne={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",xT),J.component("RouterView",ST),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 j={};for(const Oe in Cr)Object.defineProperty(j,Oe,{get:()=>l.value[Oe],enumerable:!0});J.provide(ru,xe),J.provide(rp,cy(j)),J.provide($f,l);const ve=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),ve()}}};function ye(J){return J.reduce((xe,j)=>xe.then(()=>P(j)),Promise.resolve())}return ne}function PT(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 cx(){return We(ru)}function Aa(){return We(rp)}const TT="modulepreload",RT=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=RT(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":TT,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})},ET=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),$T={name:"dashboard",path:"/",component:ET,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}}]},AT=Object.freeze(Object.defineProperty({__proto__:null,default:$T},Symbol.toStringTag,{value:"Module"})),IT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),OT={name:"Invite",path:"/",component:IT,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:"财务"}}}]},MT=Object.freeze(Object.defineProperty({__proto__:null,default:OT},Symbol.toStringTag,{value:"Module"})),zT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),DT={name:"knowledge",path:"/",component:zT,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}}]},LT=Object.freeze(Object.defineProperty({__proto__:null,default:DT},Symbol.toStringTag,{value:"Module"})),FT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),BT={name:"Node",path:"/",component:FT,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:"订阅"}}}]},NT=Object.freeze(Object.defineProperty({__proto__:null,default:BT},Symbol.toStringTag,{value:"Module"})),HT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),jT={name:"Order",path:"/",component:HT,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}}]},VT=Object.freeze(Object.defineProperty({__proto__:null,default:jT},Symbol.toStringTag,{value:"Module"})),WT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),UT={name:"plan",path:"/",component:WT,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}}]},qT=Object.freeze(Object.defineProperty({__proto__:null,default:UT},Symbol.toStringTag,{value:"Module"})),KT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),GT={name:"profile",path:"/",component:KT,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:"用户"}}}]},YT=Object.freeze(Object.defineProperty({__proto__:null,default:GT},Symbol.toStringTag,{value:"Module"})),XT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),ZT={name:"ticket",path:"/",component:XT,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}}]},JT=Object.freeze(Object.defineProperty({__proto__:null,default:ZT},Symbol.toStringTag,{value:"Module"})),QT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),e5={name:"traffic",path:"/",component:QT,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:"用户"}}}]},t5=Object.freeze(Object.defineProperty({__proto__:null,default:e5},Symbol.toStringTag,{value:"Module"})),ux=[{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(()=>pf),void 0),meta:{title:"登录页",isHidden:!0}},{name:"Register",path:"/register",component:()=>Ct(()=>Promise.resolve().then(()=>pf),void 0),meta:{title:"注册",isHidden:!0}},{name:"forgetpassword",path:"/forgetpassword",component:()=>Ct(()=>Promise.resolve().then(()=>pf),void 0),meta:{title:"重置密码",isHidden:!0}}],n5={name:"NotFound",path:"/:pathMatch(.*)*",redirect:"/404",meta:{title:"Not Found"}},Vg=Object.assign({"/src/views/dashboard/route.ts":AT,"/src/views/invite/route.ts":MT,"/src/views/knowledge/route.ts":LT,"/src/views/node/route.ts":NT,"/src/views/order/route.ts":VT,"/src/views/plan/route.ts":qT,"/src/views/profile/route.ts":YT,"/src/views/ticket/route.ts":JT,"/src/views/traffic/route.ts":t5}),dx=[];Object.keys(Vg).forEach(e=>{dx.push(Vg[e].default)});function o5(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 H1;const Wg=((H1=window.settings)==null?void 0:H1.title)||"Xboard";function r5(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 i5=!1;/*! + */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 * @license MIT - */let fx;const iu=e=>fx=e,hx=Symbol();function Af(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 a5(){const e=Dh(!0),t=e.run(()=>W({}));let n=[],o=[];const r=$s({install(i){iu(r),r._a=i,i.provide(hx,r),i.config.globalProperties.$pinia=r,o.forEach(a=>n.push(a)),o=[]},use(i){return!this._a&&!i5?o.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const px=()=>{};function Ug(e,t,n,o=px){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),o())};return!n&&Lh()&&Z1(r),r}function Yi(e,...t){e.slice().forEach(n=>{n(...t)})}const s5=e=>e();function If(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];Af(r)&&Af(o)&&e.hasOwnProperty(n)&&!cn(o)&&!yi(o)?e[n]=If(r,o):e[n]=o}return e}const l5=Symbol();function c5(e){return!Af(e)||!e.hasOwnProperty(l5)}const{assign:Tr}=Object;function u5(e){return!!(cn(e)&&e.effect)}function d5(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=A3(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=mx(e,c,t,n,o,!0),l}function mx(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}):(If(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)})}:px;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 H(M){R.push(M)}Yi(f,{args:T,name:k,store:_,after:K,onError:H});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||s5)(()=>o._e.run(()=>(a=Dh()).run(t)));for(const k in y){const P=y[k];if(cn(P)&&!u5(P)||yi(P))i||(h&&c5(P)&&(cn(P)?P.value=h[k]:If(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=f4();return s=s||(c?We(hx,null):null),s&&iu(s),s=fx,s._s.has(o)||(i?mx(o,t,r,s):d5(o,r,s)),s._s.get(o)}return a.$id=o,a}function gx(e,t){return function(){return e.apply(t,arguments)}}const{toString:f5}=Object.prototype,{getPrototypeOf:ip}=Object,su=(e=>t=>{const n=f5.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 h5(e){return e!==null&&!Ns(e)&&e.constructor!==null&&!Ns(e.constructor)&&ro(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const vx=Uo("ArrayBuffer");function p5(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&vx(e.buffer),t}const m5=lu("string"),ro=lu("function"),bx=lu("number"),cu=e=>e!==null&&typeof e=="object",g5=e=>e===!0||e===!1,tc=e=>{if(su(e)!=="object")return!1;const t=ip(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},v5=Uo("Date"),b5=Uo("File"),y5=Uo("Blob"),x5=Uo("FileList"),C5=e=>cu(e)&&ro(e.pipe),w5=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]"))},_5=Uo("URLSearchParams"),S5=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 xx=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Cx=e=>!Ns(e)&&e!==xx;function Of(){const{caseless:e}=Cx(this)&&this||{},t={},n=(o,r)=>{const i=e&&yx(t,r)||r;tc(t[i])&&tc(o)?t[i]=Of(t[i],o):tc(o)?t[i]=Of({},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]=gx(r,n):e[i]=r},{allOwnKeys:o}),e),P5=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),T5=(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)},R5=(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&&ip(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},E5=(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},$5=e=>{if(!e)return null;if(Ia(e))return e;let t=e.length;if(!bx(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},A5=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ip(Uint8Array)),I5=(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])}},O5=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},M5=Uo("HTMLFormElement"),z5=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),D5=Uo("RegExp"),wx=(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)},L5=e=>{wx(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+"'")})}})},F5=(e,t)=>{const n={},o=r=>{r.forEach(i=>{n[i]=!0})};return Ia(e)?o(e):o(String(e).split(t)),n},B5=()=>{},N5=(e,t)=>(e=+e,Number.isFinite(e)?e:t),bd="abcdefghijklmnopqrstuvwxyz",Kg="0123456789",_x={DIGIT:Kg,ALPHA:bd,ALPHA_DIGIT:bd+bd.toUpperCase()+Kg},H5=(e=16,t=_x.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n};function j5(e){return!!(e&&ro(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const V5=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)},W5=Uo("AsyncFunction"),U5=e=>e&&(cu(e)||ro(e))&&ro(e.then)&&ro(e.catch),Ie={isArray:Ia,isArrayBuffer:vx,isBuffer:h5,isFormData:w5,isArrayBufferView:p5,isString:m5,isNumber:bx,isBoolean:g5,isObject:cu,isPlainObject:tc,isUndefined:Ns,isDate:v5,isFile:b5,isBlob:y5,isRegExp:D5,isFunction:ro,isStream:C5,isURLSearchParams:_5,isTypedArray:A5,isFileList:x5,forEach:el,merge:Of,extend:k5,trim:S5,stripBOM:P5,inherits:T5,toFlatObject:R5,kindOf:su,kindOfTest:Uo,endsWith:E5,toArray:$5,forEachEntry:I5,matchAll:O5,isHTMLForm:M5,hasOwnProperty:qg,hasOwnProp:qg,reduceDescriptors:wx,freezeMethods:L5,toObjectSet:F5,toCamelCase:z5,noop:B5,toFiniteNumber:N5,findKey:yx,global:xx,isContextDefined:Cx,ALPHABET:_x,generateString:H5,isSpecCompliantForm:j5,toJSONObject:V5,isAsyncFn:W5,isThenable:U5};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 Sx=At.prototype,kx={};["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=>{kx[e]={value:e}});Object.defineProperties(At,kx);Object.defineProperty(Sx,"isAxiosError",{value:!0});At.from=(e,t,n,o,r,i)=>{const a=Object.create(Sx);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 q5=null;function Mf(e){return Ie.isPlainObject(e)||Ie.isArray(e)}function Px(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=Px(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function K5(e){return Ie.isArray(e)&&!e.some(Mf)}const G5=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)&&K5(h)||(Ie.isFileList(h)||Ie.endsWith(m,"[]"))&&(b=Ie.toArray(h)))return m=Px(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 Mf(h)?!0:(t.append(Gg(v,m,i),c(h)),!1)}const d=[],f=Object.assign(G5,{defaultVisitor:u,convertValue:c,isVisitable:Mf});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 ap(e,t){this._pairs=[],e&&uu(e,this,t)}const Tx=ap.prototype;Tx.append=function(t,n){this._pairs.push([t,n])};Tx.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 Y5(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Rx(e,t,n){if(!t)return e;const o=n&&n.encode||Y5,r=n&&n.serialize;let i;if(r?i=r(t,n):i=Ie.isURLSearchParams(t)?t.toString():new ap(t,n).toString(o),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class X5{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=X5,Ex={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Z5=typeof URLSearchParams<"u"?URLSearchParams:ap,J5=typeof FormData<"u"?FormData:null,Q5=typeof Blob<"u"?Blob:null,eR={isBrowser:!0,classes:{URLSearchParams:Z5,FormData:J5,Blob:Q5},protocols:["http","https","file","blob","url","data"]},$x=typeof window<"u"&&typeof document<"u",tR=(e=>$x&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),nR=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),oR=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:$x,hasStandardBrowserEnv:tR,hasStandardBrowserWebWorkerEnv:nR},Symbol.toStringTag,{value:"Module"})),zo={...oR,...eR};function rR(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 iR(e){return Ie.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function aR(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]=aR(r[a])),!s)}if(Ie.isFormData(e)&&Ie.isFunction(e.entries)){const n={};return Ie.forEachEntry(e,(o,r)=>{t(iR(o),r,n,0)}),n}return null}function sR(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 sp={transitional:Ex,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(Ax(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 rR(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),sR(t)):t}],transformResponse:[function(t){const n=this.transitional||sp.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=>{sp.headers[e]={}});const lp=sp,lR=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"]),cR=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]&&lR[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 uR(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 dR=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function yd(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 fR(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function hR(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())&&!dR(t)?a(cR(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 uR(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||yd(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||yd(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||yd(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?fR(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]||(hR(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 xd(e,t){const n=this||lp,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 Ix(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 pR(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 mR=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 gR(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function vR(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ox(e,t){return e&&!gR(t)?vR(e,t):t}const bR=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 yR(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function xR(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 CR=typeof XMLHttpRequest<"u",wR=CR&&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=Ox(e.baseURL,e.url);d.open(e.method.toUpperCase(),Rx(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};pR(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||Ex;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&&bR(f))){const m=e.xsrfHeaderName&&e.xsrfCookieName&&mR.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=yR(f);if(h&&zo.protocols.indexOf(h)===-1){o(new At("Unsupported protocol "+h+":",At.ERR_BAD_REQUEST,e));return}d.send(r||null)})},zf={http:q5,xhr:wR};Ie.forEach(zf,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Qg=e=>`- ${e}`,_R=e=>Ie.isFunction(e)||e===null||e===!1,Mx={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 : + */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:zf};function Cd(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new tl(null,e)}function ev(e){return Cd(e),e.headers=rr.from(e.headers),e.data=xd.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Mx.getAdapter(e.adapter||lp.adapter)(e).then(function(o){return Cd(e),o.data=xd.call(e,e.transformResponse,o),o.headers=rr.from(o.headers),o},function(o){return Ix(o)||(Cd(e),o&&o.response&&(o.response.data=xd.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 zx="1.6.8",cp={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{cp[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const nv={};cp.transitional=function(t,n,o){function r(i,a){return"[Axios v"+zx+"] 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 SR(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 Df={assertOptions:SR,validators:cp},wr=Df.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&&Df.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}:Df.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 up(function(r){t=r}),cancel:t}}}const kR=up;function PR(e){return function(n){return e.apply(null,n)}}function TR(e){return Ie.isObject(e)&&e.isAxiosError===!0}const Lf={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(Lf).forEach(([e,t])=>{Lf[t]=e});const RR=Lf;function Dx(e){const t=new oc(e),n=gx(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 Dx(ya(e,r))},n}const bn=Dx(lp);bn.Axios=oc;bn.CanceledError=tl;bn.CancelToken=kR;bn.isCancel=Ix;bn.VERSION=zx;bn.toFormData=uu;bn.AxiosError=At;bn.Cancel=bn.CanceledError;bn.all=function(t){return Promise.all(t)};bn.spread=PR;bn.isAxiosError=TR;bn.mergeConfig=ya;bn.AxiosHeaders=rr;bn.formToJSON=e=>Ax(Ie.isHTMLForm(e)?new FormData(e):e);bn.getAdapter=Mx.getAdapter;bn.HttpStatusCode=RR;bn.default=bn;const ER=bn,$R=[{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 AR({url:e,method:t=""}){return $R.some(n=>n.url===e.split("?")[0]&&n.method===t.toUpperCase())}function IR(e){return typeof e>"u"}function OR(e){return e===null}function MR(e){return OR(e)||IR(e)}function Lx(e){try{if(typeof JSON.parse(e)=="object")return!0}catch{return!1}}class zR{constructor(t){rd(this,"storage");rd(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 MR(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 Fx({prefixKey:e="",storage:t=sessionStorage}){return new zR({prefixKey:e,storage:t})}const Bx="Vue_Naive_",DR=function(e={}){return Fx({prefixKey:e.prefixKey||"",storage:localStorage})},LR=function(e={}){return Fx({prefixKey:e.prefixKey||"",storage:sessionStorage})},nl=DR({prefixKey:Bx}),yc=LR({prefixKey:Bx}),Nx="access_token";function Hx(){return nl.get(Nx)}function jx(){nl.remove(Nx)}function dp(){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 Vx=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function FR(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 Wx={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Vx,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(H){var D=["th","st","nd","rd"],M=H%100;return"["+H+(D[(M-20)%10]||D[M]||D[0])+"]"}},C=function(H,D,M){var Y=String(H);return!Y||Y.length>=D?H:""+Array(D+1-Y.length).join(M)+H},S={s:C,z:function(H){var D=-H.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 H(D,M){if(D.date()1)return H(he[0])}else{var B=D.name;x[B]=D,Q=B}return!Y&&Q&&(_=Q),Q||!Y&&_},T=function(H,D){if(k(H))return H.clone();var M=typeof D=="object"?D:{};return M.date=H,M.args=arguments,new R(M)},$=S;$.l=P,$.i=k,$.w=function(H,D){return T(H,{locale:D.$L,utc:D.$u,x:D.$x,$offset:D.$offset})};var R=function(){function H(M){this.$L=P(M.locale,null,!0),this.parse(M),this.$x=this.$x||M.x||{},this[y]=!0}var D=H.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 he=Q.match(v);if(he){var B=he[2]-1||0,E=(he[7]||"0").substring(0,3);return de?new Date(Date.UTC(he[1],B,he[3]||1,he[4]||0,he[5]||0,he[6]||0,E)):new Date(he[1],B,he[3]||1,he[4]||0,he[5]||0,he[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)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)1&&arguments[1]!==void 0?arguments[1]:{container:document.body},ne="";return typeof A=="string"?ne=w(A,G):A instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(A==null?void 0:A.type)?ne=w(A.value,G):(ne=p()(A),h("copy")),ne},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,ne=G===void 0?"copy":G,ye=A.container,J=A.target,xe=A.text;if(ne!=="copy"&&ne!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(J!==void 0)if(J&&_(J)==="object"&&J.nodeType===1){if(ne==="copy"&&J.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(ne==="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:ye});if(J)return ne==="cut"?v(J):S(J,{container:ye})},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 he=function(E){R(G,E);var A=H(G);function G(ne,ye){var J;return P(this,G),J=A.call(this),J.resolveOptions(ye),J.listenClick(ne),J}return $(G,[{key:"resolveOptions",value:function(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof ye.action=="function"?ye.action:this.defaultAction,this.target=typeof ye.target=="function"?ye.target:this.defaultTarget,this.text=typeof ye.text=="function"?ye.text:this.defaultText,this.container=k(ye.container)==="object"?ye.container:document.body}},{key:"listenClick",value:function(ye){var J=this;this.listener=d()(ye,"click",function(xe){return J.onClick(xe)})}},{key:"onClick",value:function(ye){var J=ye.delegateTarget||ye.currentTarget,xe=this.action(J)||"copy",j=y({action:xe,container:this.container,target:this.target(J),text:this.text(J)});this.emit(j?"success":"error",{action:xe,text:j,trigger:J,clearSelection:function(){J&&J.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(ye){return de("action",ye)}},{key:"defaultTarget",value:function(ye){var J=de("target",ye);if(J)return document.querySelector(J)}},{key:"defaultText",value:function(ye){return de("text",ye)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(ye){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return S(ye,J)}},{key:"cut",value:function(ye){return v(ye)}},{key:"isSupported",value:function(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],J=typeof ye=="string"?[ye]:ye,xe=!!document.queryCommandSupported;return J.forEach(function(j){xe=xe&&!!document.queryCommandSupported(j)}),xe}}]),G}(c()),B=he},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)))})};/*! + */(function(e,t){(function(o,r){e.exports=r()})(Wx,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),p=s.n(f);function h(E){try{return document.execCommand(E)}catch{return!1}}var m=function(A){var G=p()(A);return h("cut"),G},v=m;function b(E){var A=document.documentElement.getAttribute("dir")==="rtl",G=document.createElement("textarea");G.style.fontSize="12pt",G.style.border="0",G.style.padding="0",G.style.margin="0",G.style.position="absolute",G.style[A?"right":"left"]="-9999px";var oe=window.pageYOffset||document.documentElement.scrollTop;return G.style.top="".concat(oe,"px"),G.setAttribute("readonly",""),G.value=E,G}var w=function(A,G){var oe=b(A);G.container.appendChild(oe);var fe=p()(oe);return h("copy"),oe.remove(),fe},C=function(A){var G=arguments.length>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 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */const xc=typeof window<"u",qr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),WR=(e,t,n)=>UR({l:e,k:t,s:n}),UR=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),xn=e=>typeof e=="number"&&isFinite(e),qR=e=>Kx(e)==="[object Date]",Br=e=>Kx(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 KR=Object.prototype.hasOwnProperty;function Cc(e,t){return KR.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",GR=e=>Nt(e)&&Yt(e.then)&&Yt(e.catch),qx=Object.prototype.toString,Kx=e=>qx.call(e),mt=e=>{if(!Nt(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},YR=e=>e==null?"":nn(e)||mt(e)&&e.toString===qx?JSON.stringify(e,null,2):String(e);function XR(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}function hu(e){let t=e;return()=>++t}function ZR(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]})})}}/*! + */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 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */function JR(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 QR=/\{([0-9a-zA-Z]+)\}/g;function Gx(e,...t){return t.length===1&&eE(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(QR,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const Yx=Object.assign,iv=e=>typeof e=="string",eE=e=>e!==null&&typeof e=="object";function Xx(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}const hp={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},tE={[hp.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function nE(e,t,...n){const o=Gx(tE[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},oE={[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=Gx((r||oE)[e]||"",...i||[]),s=new SyntaxError(String(a));return s.code=e,t&&(s.location=t),s.domain=o,s}function rE(e){throw e}const Zo=" ",iE="\r",On=` -`,aE=String.fromCharCode(8232),sE=String.fromCharCode(8233);function lE(e){const t=e;let n=0,o=1,r=1,i=0;const a=y=>t[y]===iE&&t[y+1]===On,s=y=>t[y]===On,l=y=>t[y]===sE,c=y=>t[y]===aE,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,cE=".",av="'",uE="tokenizer";function dE(e,t={}){const n=t.location!==!1,o=lE(e),r=()=>o.index(),i=()=>JR(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,N,te,...Ce){const ae=c();if(N.column+=te,N.offset+=te,u){const fe=n?wc(ae.startLoc,N):null,oe=Oa(I,fe,{domain:uE,args:Ce});u(oe)}}function f(I,N,te){I.endLoc=i(),I.currentType=N;const Ce={type:N};return n&&(Ce.loc=wc(I.startLoc,I.endLoc)),te!=null&&(Ce.value=te),Ce}const p=I=>f(I,14);function h(I,N){return I.currentChar()===N?(I.next(),N):(d(dt.EXPECTED_TOKEN,i(),0,N),"")}function m(I){let N="";for(;I.currentPeek()===Zo||I.currentPeek()===On;)N+=I.currentPeek(),I.peek();return N}function v(I){const N=m(I);return I.skipToPeek(),N}function b(I){if(I===_r)return!1;const N=I.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N===95}function w(I){if(I===_r)return!1;const N=I.charCodeAt(0);return N>=48&&N<=57}function C(I,N){const{currentType:te}=N;if(te!==2)return!1;m(I);const Ce=b(I.currentPeek());return I.resetPeek(),Ce}function S(I,N){const{currentType:te}=N;if(te!==2)return!1;m(I);const Ce=I.currentPeek()==="-"?I.peek():I.currentPeek(),ae=w(Ce);return I.resetPeek(),ae}function _(I,N){const{currentType:te}=N;if(te!==2)return!1;m(I);const Ce=I.currentPeek()===av;return I.resetPeek(),Ce}function x(I,N){const{currentType:te}=N;if(te!==8)return!1;m(I);const Ce=I.currentPeek()===".";return I.resetPeek(),Ce}function y(I,N){const{currentType:te}=N;if(te!==9)return!1;m(I);const Ce=b(I.currentPeek());return I.resetPeek(),Ce}function k(I,N){const{currentType:te}=N;if(!(te===8||te===12))return!1;m(I);const Ce=I.currentPeek()===":";return I.resetPeek(),Ce}function P(I,N){const{currentType:te}=N;if(te!==10)return!1;const Ce=()=>{const fe=I.currentPeek();return fe==="{"?b(I.peek()):fe==="@"||fe==="%"||fe==="|"||fe===":"||fe==="."||fe===Zo||!fe?!1:fe===On?(I.peek(),Ce()):b(fe)},ae=Ce();return I.resetPeek(),ae}function T(I){m(I);const N=I.currentPeek()==="|";return I.resetPeek(),N}function $(I){const N=m(I),te=I.currentPeek()==="%"&&I.peek()==="{";return I.resetPeek(),{isModulo:te,hasSpace:N.length>0}}function R(I,N=!0){const te=(ae=!1,fe="",oe=!1)=>{const ue=I.currentPeek();return ue==="{"?fe==="%"?!1:ae:ue==="@"||!ue?fe==="%"?!0:ae:ue==="%"?(I.peek(),te(ae,"%",!0)):ue==="|"?fe==="%"||oe?!0:!(fe===Zo||fe===On):ue===Zo?(I.peek(),te(!0,Zo,oe)):ue===On?(I.peek(),te(!0,On,oe)):!0},Ce=te();return N&&I.resetPeek(),Ce}function K(I,N){const te=I.currentChar();return te===_r?_r:N(te)?(I.next(),te):null}function H(I){const N=I.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N>=48&&N<=57||N===95||N===36}function D(I){return K(I,H)}function M(I){const N=I.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N>=48&&N<=57||N===95||N===36||N===45}function Y(I){return K(I,M)}function Q(I){const N=I.charCodeAt(0);return N>=48&&N<=57}function de(I){return K(I,Q)}function he(I){const N=I.charCodeAt(0);return N>=48&&N<=57||N>=65&&N<=70||N>=97&&N<=102}function B(I){return K(I,he)}function E(I){let N="",te="";for(;N=de(I);)te+=N;return te}function A(I){v(I);const N=I.currentChar();return N!=="%"&&d(dt.EXPECTED_TOKEN,i(),0,N),I.next(),"%"}function G(I){let N="";for(;;){const te=I.currentChar();if(te==="{"||te==="}"||te==="@"||te==="|"||!te)break;if(te==="%")if(R(I))N+=te,I.next();else break;else if(te===Zo||te===On)if(R(I))N+=te,I.next();else{if(T(I))break;N+=te,I.next()}else N+=te,I.next()}return N}function ne(I){v(I);let N="",te="";for(;N=Y(I);)te+=N;return I.currentChar()===_r&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),te}function ye(I){v(I);let N="";return I.currentChar()==="-"?(I.next(),N+=`-${E(I)}`):N+=E(I),I.currentChar()===_r&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),N}function J(I){return I!==av&&I!==On}function xe(I){v(I),h(I,"'");let N="",te="";for(;N=K(I,J);)N==="\\"?te+=j(I):te+=N;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 j(I){const N=I.currentChar();switch(N){case"\\":case"'":return I.next(),`\\${N}`;case"u":return ve(I,N,4);case"U":return ve(I,N,6);default:return d(dt.UNKNOWN_ESCAPE_SEQUENCE,i(),0,N),""}}function ve(I,N,te){h(I,N);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===cE?(Ce+=ae,I.next(),N(te,Ce)):(Ce+=ae,I.next(),N(!0,Ce))};return N(!1,"")}function re(I){v(I);const N=h(I,"|");return v(I),N}function _e(I,N){let te=null;switch(I.currentChar()){case"{":return N.braceNest>=1&&d(dt.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),I.next(),te=f(N,2,"{"),v(I),N.braceNest++,te;case"}":return N.braceNest>0&&N.currentType===2&&d(dt.EMPTY_PLACEHOLDER,i(),0),I.next(),te=f(N,3,"}"),N.braceNest--,N.braceNest>0&&v(I),N.inLinked&&N.braceNest===0&&(N.inLinked=!1),te;case"@":return N.braceNest>0&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),te=ee(I,N)||p(N),N.braceNest=0,te;default:{let ae=!0,fe=!0,oe=!0;if(T(I))return N.braceNest>0&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),te=f(N,1,re(I)),N.braceNest=0,N.inLinked=!1,te;if(N.braceNest>0&&(N.currentType===5||N.currentType===6||N.currentType===7))return d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),N.braceNest=0,be(I,N);if(ae=C(I,N))return te=f(N,5,ne(I)),v(I),te;if(fe=S(I,N))return te=f(N,6,ye(I)),v(I),te;if(oe=_(I,N))return te=f(N,7,xe(I)),v(I),te;if(!ae&&!fe&&!oe)return te=f(N,13,Le(I)),d(dt.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,te.value),v(I),te;break}}return te}function ee(I,N){const{currentType:te}=N;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(N,8,"@"),N.inLinked=!0,Ce;case".":return v(I),I.next(),f(N,9,".");case":":return v(I),I.next(),f(N,10,":");default:return T(I)?(Ce=f(N,1,re(I)),N.braceNest=0,N.inLinked=!1,Ce):x(I,N)||k(I,N)?(v(I),ee(I,N)):y(I,N)?(v(I),f(N,12,F(I))):P(I,N)?(v(I),ae==="{"?_e(I,N)||Ce:f(N,11,O(I))):(te===8&&d(dt.INVALID_LINKED_FORMAT,i(),0),N.braceNest=0,N.inLinked=!1,be(I,N))}}function be(I,N){let te={type:14};if(N.braceNest>0)return _e(I,N)||p(N);if(N.inLinked)return ee(I,N)||p(N);switch(I.currentChar()){case"{":return _e(I,N)||p(N);case"}":return d(dt.UNBALANCED_CLOSING_BRACE,i(),0),I.next(),f(N,3,"}");case"@":return ee(I,N)||p(N);default:{if(T(I))return te=f(N,1,re(I)),N.braceNest=0,N.inLinked=!1,te;const{isModulo:ae,hasSpace:fe}=$(I);if(ae)return fe?f(N,0,G(I)):f(N,4,A(I));if(R(I))return f(N,0,G(I));break}}return te}function Pe(){const{currentType:I,offset:N,startLoc:te,endLoc:Ce}=l;return l.lastType=I,l.lastOffset=N,l.lastStartLoc=te,l.lastEndLoc=Ce,l.offset=r(),l.startLoc=i(),o.currentChar()===_r?f(l,14):be(o,l)}return{nextToken:Pe,currentOffset:r,currentPosition:i,context:c}}const fE="parser",hE=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function pE(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 mE(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:fE,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(nE(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(hE,pE),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,hp.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=dE(C,Yx({},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 gE(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 wE(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 _E(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=CE(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 { ${Xx(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 TE(e,t={}){const n=Yx({},t),o=!!n.jit,r=!!n.minify,i=n.optimize==null?!0:n.optimize,s=mE(n).parse(e);return o?(i&&bE(s),r&&oa(s),{ast:s,code:""}):(vE(s,n),PE(s,n))}/*! + */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 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */function RE(){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 EE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function $E(e){return EE.test(e)}function AE(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 IE(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 OE(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:$E(t)?AE(t):"*"+t}function ME(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=OE(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=IE(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 zE(e,t){return Nt(e)?e[t]:null}function DE(e,t){if(!Nt(e))return null;let n=cv.get(t);if(n||(n=ME(t),n&&cv.set(t,n)),!n)return null;const o=n.length;let r=e,i=0;for(;ie,FE=e=>"",BE="text",NE=e=>e.length===0?"":XR(e),HE=YR;function uv(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function jE(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 VE(e,t){t.count||(t.count=e),t.n||(t.n=e)}function WE(e={}){const t=e.locale,n=jE(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)&&VE(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):FE)}const d=b=>e.modifiers?e.modifiers[b]:LE,f=mt(e.processor)&&Yt(e.processor.normalize)?e.processor.normalize:NE,p=mt(e.processor)&&Yt(e.processor.interpolate)?e.processor.interpolate:HE,h=mt(e.processor)&&Ge(e.processor.type)?e.processor.type:BE,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 UE(e){Hs=e}function qE(e,t,n){Hs&&Hs.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const KE=GE("function:translate");function GE(e){return t=>Hs&&Hs.emit(e,t)}const Zx=hp.__EXTEND_POINT__,ri=hu(Zx),YE={NOT_FOUND_KEY:Zx,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()},Jx=dt.__EXTEND_POINT__,ii=hu(Jx),xo={INVALID_ARGUMENT:Jx,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 mp(e,t){return t.locale!=null?dv(t.locale):dv(e.locale)}let wd;function dv(e){if(Ge(e))return e;if(Yt(e)){if(e.resolvedOnce&&wd!=null)return wd;if(e.constructor.name==="Function"){const t=e();if(GR(t))throw Do(xo.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return wd=t}else throw Do(xo.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Do(xo.NOT_SUPPORT_LOCALE_TYPE)}function XE(e,t,n){return[...new Set([n,...nn(t)?t:Nt(t)?Object.keys(t):Ge(t)?[t]:[n]])]}function Qx(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 e$(){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 eC;function mv(e){eC=e}let tC;function t$(e){tC=e}let nC;function n$(e){nC=e}let oC=null;const o$=e=>{oC=e},r$=()=>oC;let rC=null;const gv=e=>{rC=e},i$=()=>rC;let vv=0;function a$(e={}){const t=Yt(e.onWarn)?e.onWarn:ZR,n=Ge(e.version)?e.version:QE,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||{},e$()),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:eC,_=Yt(e.messageResolver)?e.messageResolver:tC||zE,x=Yt(e.localeFallbacker)?e.localeFallbacker:nC||XE,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__&&qE(R,n,$),R}function gp(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 _d(e){return n=>s$(n,e)}function s$(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,Ff(e,i)],[]);return e.normalize(o)}}function Ff(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(Ff(e,o.k||o.key),r?Ff(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 iC=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 aC(e,t={}){let n=!1;const o=t.onError||rE;return t.onError=r=>{n=!0,o(r)},{...TE(e,t),detectError:n}}const l$=(e,t)=>{if(!Ge(e))throw Do(xo.NOT_SUPPORT_NON_STRING_MESSAGE);{_t(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||iC)(e),r=ia[o];if(r)return r;const{code:i,detectError:a}=aC(e,t),s=new Function(`return ${i}`)();return a?s:ia[o]=s}};function c$(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&Ge(e)){_t(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||iC)(e),r=ia[o];if(r)return r;const{ast:i,detectError:a}=aC(e,{...t,location:!1,jit:!0}),s=_d(i);return a?s:ia[o]=s}else{const n=e.cacheKey;if(n){const o=ia[n];return o||(ia[n]=_d(e))}else return _d(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]=Bf(...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=mp(e,c);f&&u$(c);let[b,w,C]=p?[l,v,s[v]||{}]:sC(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:lC(e,l,w,S,_,y);if(x)return S;const P=h$(e,w,C,c),T=WE(P),$=d$(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,r$()||{}),KE(K)}return R}function u$(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 sC(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,f$(e,n,r,o,s,i));return l.locale=n,l.key=t,l.source=o,l}function d$(e,t,n){return t(n)}function Bf(...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 f$(e,t,n,o,r,i){return{locale:t,key:n,warnHtmlMessage:r,onError:a=>{throw i&&i(a),a},onCacheKey:a=>WR(t,n,a)}}function h$(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]=sC(u,p,t,s,l,c);h=a(m,p)}if(Ge(h)||wa(h)){let m=!1;const b=lC(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]=Nf(...t),f=_t(u.missingWarn)?u.missingWarn:e.missingWarn;_t(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=mp(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{cC.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]=Hf(...t),f=_t(u.missingWarn)?u.missingWarn:e.missingWarn;_t(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=mp(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{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 Sv(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__numberFormatters.has(i)&&o.__numberFormatters.delete(i)}}RE();/*! + */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 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */const p$="9.12.1";function m$(){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 dC=YE.__EXTEND_POINT__,Jo=hu(dC);Jo(),Jo(),Jo(),Jo(),Jo(),Jo(),Jo(),Jo(),Jo();const fC=xo.__EXTEND_POINT__,Fn=hu(fC),Cn={UNEXPECTED_RETURN_TYPE:fC,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 jf=qr("__translateVNode"),Vf=qr("__datetimeParts"),Wf=qr("__numberParts"),hC=qr("__setPluralRules"),pC=qr("__injectWithOption"),Uf=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 mC(e){return e.type}function gC(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=()=>[],g$=()=>!1;let Rv=0;function Ev(e){return(t,n,o,r)=>e(n,o,Jn()||void 0,r)}const v$=()=>{const e=Jn();let t=null;return e&&(t=mC(e)[Pv])?{[Pv]:t}:null};function vp(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 oe={version:p$,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"}};oe.datetimeFormats=f.value,oe.numberFormats=p.value,oe.__datetimeFormatters=mt(P)?P.__datetimeFormatters:void 0,oe.__numberFormatters=mt(P)?P.__numberFormatters:void 0;const ue=a$(oe);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:oe=>{c.value=oe,P.locale=c.value}}),K=L({get:()=>u.value,set:oe=>{u.value=oe,P.fallbackLocale=u.value,es(P,c.value,oe)}}),H=L(()=>d.value),D=L(()=>f.value),M=L(()=>p.value);function Y(){return Yt(S)?S:null}function Q(oe){S=oe,P.postTranslation=oe}function de(){return w}function he(oe){oe!==null&&(C=Ev(oe)),w=oe,P.missing=C}const B=(oe,ue,De,Ue,ke,Fe)=>{$();let je;try{__INTLIFY_PROD_DEVTOOLS__,r||(P.fallbackContext=n?i$():void 0),je=oe(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(...oe){return B(ue=>Reflect.apply(xv,null,[ue,...oe]),()=>Bf(...oe),"translate",ue=>Reflect.apply(ue.t,ue,[...oe]),ue=>ue,ue=>Ge(ue))}function A(...oe){const[ue,De,Ue]=oe;if(Ue&&!Nt(Ue))throw _n(Cn.INVALID_ARGUMENT);return E(ue,De,kn({resolvedMessage:!0},Ue||{}))}function G(...oe){return B(ue=>Reflect.apply(Cv,null,[ue,...oe]),()=>Nf(...oe),"datetime format",ue=>Reflect.apply(ue.d,ue,[...oe]),()=>hv,ue=>Ge(ue))}function ne(...oe){return B(ue=>Reflect.apply(_v,null,[ue,...oe]),()=>Hf(...oe),"number format",ue=>Reflect.apply(ue.n,ue,[...oe]),()=>hv,ue=>Ge(ue))}function ye(oe){return oe.map(ue=>Ge(ue)||xn(ue)||_t(ue)?kv(String(ue)):ue)}const xe={normalize:ye,interpolate:oe=>oe,type:"vnode"};function j(...oe){return B(ue=>{let De;const Ue=ue;try{Ue.processor=xe,De=Reflect.apply(xv,null,[Ue,...oe])}finally{Ue.processor=null}return De},()=>Bf(...oe),"translate",ue=>ue[jf](...oe),ue=>[kv(ue)],ue=>nn(ue))}function ve(...oe){return B(ue=>Reflect.apply(_v,null,[ue,...oe]),()=>Hf(...oe),"number format",ue=>ue[Wf](...oe),Tv,ue=>Ge(ue)||nn(ue))}function Oe(...oe){return B(ue=>Reflect.apply(Cv,null,[ue,...oe]),()=>Nf(...oe),"datetime format",ue=>ue[Vf](...oe),Tv,ue=>Ge(ue)||nn(ue))}function Le(oe){k=oe,P.pluralRules=k}function F(oe,ue){return B(()=>{if(!oe)return!1;const De=Ge(ue)?ue:c.value,Ue=_e(De),ke=P.messageResolver(Ue,oe);return s?ke!=null:wa(ke)||no(ke)||Ge(ke)},()=>[oe],"translate exists",De=>Reflect.apply(De.te,De,[oe,ue]),g$,De=>_t(De))}function O(oe){let ue=null;const De=Qx(P,u.value,c.value);for(let Ue=0;Ue{l&&(c.value=oe,P.locale=oe,es(P,c.value,u.value))}),ft(n.fallbackLocale,oe=>{l&&(u.value=oe,P.fallbackLocale=oe,es(P,c.value,u.value))}));const fe={id:Rv,locale:R,fallbackLocale:K,get inheritLocale(){return l},set inheritLocale(oe){l=oe,oe&&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:H,get modifiers(){return y},get pluralRules(){return k||{}},get isGlobal(){return r},get missingWarn(){return h},set missingWarn(oe){h=oe,P.missingWarn=h},get fallbackWarn(){return m},set fallbackWarn(oe){m=oe,P.fallbackWarn=m},get fallbackRoot(){return v},set fallbackRoot(oe){v=oe},get fallbackFormat(){return b},set fallbackFormat(oe){b=oe,P.fallbackFormat=b},get warnHtmlMessage(){return _},set warnHtmlMessage(oe){_=oe,P.warnHtmlMessage=oe},get escapeParameter(){return x},set escapeParameter(oe){x=oe,P.escapeParameter=oe},t:E,getLocaleMessage:_e,setLocaleMessage:ee,mergeLocaleMessage:be,getPostTranslationHandler:Y,setPostTranslationHandler:Q,getMissingHandler:de,setMissingHandler:he,[hC]:Le};return fe.datetimeFormats=D,fe.numberFormats=M,fe.rt=A,fe.te=F,fe.tm=re,fe.d=G,fe.n=ne,fe.getDateTimeFormat=Pe,fe.setDateTimeFormat=I,fe.mergeDateTimeFormat=N,fe.getNumberFormat=te,fe.setNumberFormat=Ce,fe.mergeNumberFormat=ae,fe[pC]=o,fe[jf]=j,fe[Vf]=Oe,fe[Wf]=ve,fe}function b$(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 qf(e={},t){{const n=vp(b$(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 bp={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function y$({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 vC(e){return rt}const x$=ge({name:"i18n-t",props:kn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>xn(e)||!isNaN(e)}},bp),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||yp({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=y$(t,i),l=r[jf](e.keypath,s,a),c=kn({},o),u=Ge(e.tag)||Nt(e.tag)?e.tag:vC();return g(u,c,l)}}}),$v=x$;function C$(e){return nn(e)&&!Ge(e[0])}function bC(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 C$(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:vC();return g(d,u,c)}}const w$=ge({name:"i18n-n",props:kn({value:{type:Number,required:!0},format:{type:[String,Object]}},bp),setup(e,t){const n=e.i18n||yp({useScope:e.scope,__useComponent:!0});return bC(e,t,uC,(...o)=>n[Wf](...o))}}),Av=w$,_$=ge({name:"i18n-d",props:kn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},bp),setup(e,t){const n=e.i18n||yp({useScope:e.scope,__useComponent:!0});return bC(e,t,cC,(...o)=>n[Vf](...o))}}),Iv=_$;function S$(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 k$(e){const t=a=>{const{instance:s,modifiers:l,value:c}=a;if(!s||!s.$)throw _n(Cn.UNEXPECTED_ERROR);const u=S$(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 P$(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",k$(t))}function T$(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=qf(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=qf({__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&&gC(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[hC](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 R$=qr("global-vue-i18n");function E$(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]=$$(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=B$(p,f.global)),__VUE_I18N_FULL_INSTALL__&&P$(p,f,...h),__VUE_I18N_LEGACY_API__&&n&&p.mixin(T$(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 yp(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=A$(t),o=O$(n),r=mC(t),i=I$(e,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw _n(Cn.NOT_AVAILABLE_IN_LEGACY_MODE);return L$(t,i,o,e)}if(i==="global")return gC(o,e,r),o;if(i==="parent"){let l=M$(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=vp(l),a.__composerExtend&&(s[Uf]=a.__composerExtend(s)),D$(a,t,s),a.__setInstance(t,s)}return s}function $$(e,t,n){const o=Dh();{const r=__VUE_I18N_LEGACY_API__&&t?o.run(()=>qf(e)):o.run(()=>vp(e));if(r==null)throw _n(Cn.UNEXPECTED_ERROR);return[o,r]}}function A$(e){{const t=We(e.isCE?R$:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw _n(e.isCE?Cn.NOT_INSTALLED_WITH_PROVIDE:Cn.UNEXPECTED_ERROR);return t}}function I$(e,t){return fu(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function O$(e){return e.mode==="composition"?e.global:e.global.__composer}function M$(e,t,n=!1){let o=null;const r=t.root;let i=z$(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[pC]&&(o=null))}if(o!=null||r===i)break;i=i.parent}return o}function z$(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function D$(e,t,n){jt(()=>{},t),Ea(()=>{const o=n;e.__deleteInstance(t);const r=o[Uf];r&&(r(),delete o[Uf])},t)}function L$(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 H(){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 he(...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 ne(O,re){i.value&&i.value.mergeLocaleMessage(O,re)}function ye(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 j(O){return i.value?i.value.getNumberFormat(O):{}}function ve(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:H,setMissingHandler:D,rt:Q,d:de,n:he,tm:B,te:E,getLocaleMessage:A,setLocaleMessage:G,mergeLocaleMessage:ne,getDateTimeFormat:ye,setDateTimeFormat:J,mergeDateTimeFormat:xe,getNumberFormat:j,setNumberFormat:ve,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 F$=["locale","fallbackLocale","availableLocales"],Dv=["t","rt","d","n","tm","te"];function B$(e,t){const n=Object.create(null);return F$.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}`]})}}m$();__INTLIFY_JIT_COMPILATION__?mv(c$):mv(l$);t$(DE);n$(Qx);if(__INTLIFY_PROD_DEVTOOLS__){const e=nr();e.__INTLIFY__=!0,UE(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const yC="locale";function gu(){return nl.get(yC)}function xC(e){nl.set(yC,e)}const CC=Object.keys(Object.assign({"./lang/en-US.json":()=>Ct(()=>Promise.resolve().then(()=>dk),void 0),"./lang/fa-IR.json":()=>Ct(()=>Promise.resolve().then(()=>fk),void 0),"./lang/ja-JP.json":()=>Ct(()=>Promise.resolve().then(()=>hk),void 0),"./lang/ko-KR.json":()=>Ct(()=>Promise.resolve().then(()=>pk),void 0),"./lang/vi-VN.json":()=>Ct(()=>Promise.resolve().then(()=>mk),void 0),"./lang/zh-CN.json":()=>Ct(()=>Promise.resolve().then(()=>gk),void 0),"./lang/zh-TW.json":()=>Ct(()=>Promise.resolve().then(()=>vk),void 0)})).map(e=>e.slice(7,-5));function N$(){const e=navigator.language,t="zh-CN",o=CC.includes(e)?e:t;return gu().value||xC(o),o}const gn=E$({locale:gu().value||N$(),fallbackLocale:"en-US",messages:{}});async function H$(){await Promise.all(CC.map(async e=>{const t=await VR(Object.assign({"./lang/en-US.json":()=>Ct(()=>Promise.resolve().then(()=>dk),void 0),"./lang/fa-IR.json":()=>Ct(()=>Promise.resolve().then(()=>fk),void 0),"./lang/ja-JP.json":()=>Ct(()=>Promise.resolve().then(()=>hk),void 0),"./lang/ko-KR.json":()=>Ct(()=>Promise.resolve().then(()=>pk),void 0),"./lang/vi-VN.json":()=>Ct(()=>Promise.resolve().then(()=>mk),void 0),"./lang/zh-CN.json":()=>Ct(()=>Promise.resolve().then(()=>gk),void 0),"./lang/zh-TW.json":()=>Ct(()=>Promise.resolve().then(()=>vk),void 0)}),`./lang/${e}.json`).then(n=>n.default||n);gn.global.setLocaleMessage(e,t)}))}async function j$(e){e.use(gn),H$()}const Kf={"zh-CN":"简体中文","zh-TW":"繁體中文","en-US":"English","fa-IR":"Iran","ja-JP":"日本語","vi-VN":"Tiếng Việt","ko-KR":"한국어"},Gf=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),NR(e).format(t))}function xp(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(Gf("复制成功"))}).catch(t=>{console.error("复制到剪贴板时出错:",t),Lv(e)}):Lv(e)}function Lv(e){const t=document.createElement("button"),n=new jR(t,{text:()=>e});n.on("success",()=>{window.$message.success(Gf("复制成功")),n.destroy()}),n.on("error",()=>{window.$message.error(Gf("复制失败")),n.destroy()}),t.click()}function V$(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 W$(e){return typeof e>"u"}function U$(e){return e===null}function q$(e){return e&&Array.isArray(e)}function wC(e){return U$(e)||W$(e)}function Fv(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,_C=Object.freeze({left:0,top:0,width:16,height:16}),_c=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),bu=Object.freeze({..._C,..._c}),Yf=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 Bv(e,t){const n=K$(e,t);for(const o in Yf)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=Bv(o[s]||r[s],i)}return a(t),n.forEach(a),Bv(e,i)}function SC(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:{},..._C};function Sd(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function kC(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Sd(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"||!Sd(i,Yf))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]||!Sd(i,Yf))return null}return t}const Nv=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=Nv[e]||(Nv[e]=Object.create(null));return n[t]||(n[t]=Z$(e,t))}function Cp(e,t){return kC(t)?SC(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 PC(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 kC(e)&&(e.prefix="",SC(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!!Cp(o,e)}const TC=Object.freeze({width:null,height:null}),RC=Object.freeze({...TC,..._c}),nA=/(-?[0-9.]*[0-9]+[0-9.]*)/g,oA=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Hv(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={...RC,...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=Hv(d,l/c)):(u=a==="auto"?l:a,d=s===null?Hv(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 Xf=Object.create(null);function uA(e,t){Xf[e]=t}function Zf(e){return Xf[e]||Xf[""]}function wp(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 _p=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());_p[""]=wp({resources:["https://api.iconify.design"].concat(ac)});function dA(e,t){const n=wp(t);return n===null?!1:(_p[e]=n,!0)}function Sp(e){return _p[e]}const fA=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let jv=fA();function hA(e,t){const n=Sp(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=Sp(e);if(t)return t.path}return"/"}const vA=(e,t,n)=>{if(!jv){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;jv(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 EC(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||EC([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=EC.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 $C(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 Vv(){}const kd=Object.create(null);function PA(e){if(!kd[e]){const t=Sp(e);if(!t)return;const n=$C(t),o={config:t,redundancy:n};kd[e]=o}return kd[e]}function TA(e,t,n){let o,r;if(typeof e=="string"){const i=Zf(e);if(!i)return n(void 0,424),Vv;r=i.send;const a=PA(e);a&&(o=a.redundancy)}else{const i=wp(e);if(i){o=$C(i);const a=e.resources?e.resources[0]:"",s=Zf(a);s&&(r=s.send)}}return!o||!r?(n(void 0,424),Vv):o.query(t,r,n)().abort}const Wv="iconify2",Ws="iconify",AC=Ws+"-count",Uv=Ws+"-version",IC=36e5,RA=168;function Jf(e,t){try{return e.getItem(t)}catch{}}function kp(e,t,n){try{return e.setItem(t,n),!0}catch{}}function qv(e,t){try{e.removeItem(t)}catch{}}function Qf(e,t){return kp(e,AC,t.toString())}function eh(e){return parseInt(Jf(e,AC))||0}const yu={local:!0,session:!0},OC={local:new Set,session:new Set};let Pp=!1;function EA(e){Pp=e}let Tl=typeof window>"u"?{}:window;function MC(e){const t=e+"Storage";try{if(Tl&&Tl[t]&&typeof Tl[t].length=="number")return Tl[t]}catch{}yu[e]=!1}function zC(e,t){const n=MC(e);if(!n)return;const o=Jf(n,Uv);if(o!==Wv){if(o){const s=eh(n);for(let l=0;l{const l=Ws+s.toString(),c=Jf(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{}qv(n,l)}};let a=eh(n);for(let s=a-1;s>=0;s--)i(s)||(s===a-1?(a--,Qf(n,a)):OC[e].add(s))}function DC(){if(!Pp){EA(!0);for(const e in yu)zC(e,t=>{const n=t.data,o=t.provider,r=n.prefix,i=Si(o,r);if(!Cp(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)zC(o,r=>{const i=r.data;return r.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function AA(e,t){Pp||DC();function n(o){let r;if(!yu[o]||!(r=MC(o)))return;const i=OC[o];let a;if(i.size)i.delete(a=Array.from(i).shift());else if(a=eh(r),!Qf(r,a+1))return;const s={cached:Math.floor(Date.now()/IC),provider:e.provider,data:t};return kp(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 Kv(){}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=Zf(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=Cp(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,PC()),o=yA(n);if(!o.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(o.loaded,o.missing,o.pending,Kv)}),()=>{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):Kv};function zA(e,t){const n={...e};for(const o in t){const r=t[o],i=typeof r;o in TC?(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 Gv={...RC,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"},th={backgroundColor:"currentColor"},LC={backgroundColor:"transparent"},Yv={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Xv={webkitMask:th,mask:th,background:LC};for(const e in Xv){const t=Xv[e];for(const n in Yv)t[e+n]=Yv[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 Zv(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Jv=(e,t)=>{const n=zA(Gv,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):Gv[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:Zv(c.width),height:Zv(c.height),...WA,...p?th:LC,...s},g("span",o)};PC(!0);uA("",bA);if(typeof document<"u"&&typeof window<"u"){DC();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=ge({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 Jv(UA,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Jv({...bu,...t.data},n)}});let Sc=[];const FC=new WeakMap;function KA(){Sc.forEach(e=>e(...FC.get(e))),Sc=[]}function kc(e,...t){FC.set(e,t),!Sc.includes(e)&&Sc.push(e)===1&&requestAnimationFrame(KA)}function GA(e){return e.nodeType===9?null:e.parentNode}function BC(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 BC(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 Qv={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 Qv)return jo(Qv[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 nh(e,t,n,o){return`rgba(${Rn(e)}, ${Rn(t)}, ${Rn(n)}, ${o6(o)})`}function Pd(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 nh(Pd(e[0],n,t[0],o,r),Pd(e[1],n,t[1],o,r),Pd(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?nh(n,o,r,t.alpha):nh(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 NC(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 eb(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 tb(e){switch(typeof e){case"string":return e||void 0;case"number":return String(e);default:return}}function oh(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 jC(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 rh(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 ih=ge({render(){var e,t;return(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)}}),a6=/^(\d|\.)+$/,nb=/(\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=nb.exec(e);return r?e.replace(nb,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(VC).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 ob(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 WC(e){return e.replace(h6,t=>"-"+t.toLowerCase())}function p6(e,t=" "){return typeof e=="object"&&e!==null?` { -`+Object.entries(e).map(n=>t+` ${WC(n[0])}: ${n[1]};`).join(` + */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(` `)+` -`+t+"}":`: ${e};`}function m6(e,t,n){return typeof e=="function"?e({context:t.context,props:n}):e}function rb(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 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} { ${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=WC(s),l!=null&&a.push(` ${s}${p6(l)}`)}),e&&a.push("}"),a.join(` -`)}function ah(e,t,n){e&&e.forEach(o=>{if(Array.isArray(o))ah(o,t,n);else if(typeof o=="function"){const r=o(t);Array.isArray(r)?ah(r,t,n):r&&n(r)}else o&&n(o)})}function UC(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=rb(l,e.props,o,r);s?(n.push(`${s} {`),i&&c&&i.insertRule(`${s} { +`);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} { ${c} } -`)):(i&&c&&i.insertRule(c),!i&&c.length&&n.push(c)),e.children&&ah(e.children,{context:o.context,props:r},u=>{if(typeof u=="string"){const d=rb(l,{raw:u},o,r);i?i.insertRule(d):n.push(d)}else UC(u,t,n,o,r,i)}),t.pop(),s&&n.push("}"),a&&a.after&&a.after(o.context)}function qC(e,t,n,o=!1){const r=[];return UC(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&&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(` -`)}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(ob),t.els=[];else{const r=xu(n);r&&o.includes(r)&&(ob(r),t.els=o.filter(i=>i!==r))}}function ib(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,qC(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),ib(t.els,d),d}return r?document.head.insertBefore(d,document.head.querySelector("style, link")):document.head.appendChild(d),ib(t.els,d),d}function b6(e){return qC(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 KC(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="--",GC=KC(),YC=_6({blockPrefix:qs,elementPrefix:k6,modifierPrefix:P6});GC.use(YC);const{c:q,find:vBe}=GC,{cB:z,cE:V,cM:Z,cNotM:Tt}=YC;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 XC(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 Td;function R6(){return Td===void 0&&(Td=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),Td}const dr=typeof document<"u"&&typeof window<"u",ZC=new WeakSet;function E6(e){ZC.add(e)}function JC(e){return!ZC.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 Tp(){return Jn()!==null}const Rp=typeof window<"u";let ha,Ss;const I6=()=>{var e,t;ha=Rp?(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 QC(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=QC(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=QC(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 H=R;const D=[];for(;H===null&&(H=window),D.push(H),H!==window;)H=H.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],he=M.get(de);if(he!==void 0){a.set(k,de);for(const B of he){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",H=v(K,y),D=w(H,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",H=v(K,y),D=w(H,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&&H.delete(k),H.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 ab(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,sb=!0;function Tc(){if(!Rp)return io(W(null));$l===0&&It("click",document,ab,!0);const e=()=>{$l+=1};return sb&&(sb=Tp())?(hn(e),rn(()=>{$l-=1,$l===0&&Pt("click",document,ab,!0)})):e(),io(ss)}const B6=W(void 0);let Al=0;function lb(){B6.value=Date.now()}let cb=!0;function Rc(e){if(!Rp)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,lb,!0);const i=()=>{Al+=1,It("click",window,r,!0)};return cb&&(cb=Tp())?(hn(i),rn(()=>{Al-=1,Al===0&&Pt("click",window,lb,!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 Tp()?(hn(s),rn(()=>{(t===void 0||t.value)&&(Pt("keydown",document,i),Pt("keyup",document,a))})):s(),io(n)}const Ep="n-internal-select-menu",ew="n-internal-select-menu-body",il="n-modal-body",V6="n-modal-provider",tw="n-modal",al="n-drawer-body",$p="n-drawer",La="n-popover-body",nw="__disabled__";function Vo(e){const t=We(il,null),n=We(al,null),o=We(La,null),r=We(ew,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?nw: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=nw;Vo.propTo={type:[String,Object,Boolean],default:void 0};let ub=!1;function W6(){if(dr&&window.CSS&&!ub&&(ub=!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 sh(e,t,n="default"){const o=t[n];if(o===void 0)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);return o()}function lh(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)){lh(o,t,n);return}if(o.type===rt){if(o.children===null)return;Array.isArray(o.children)&&lh(o.children,t,n)}else o.type!==$n&&n.push(o)}}),n}function db(e,t,n="default"){const o=t[n];if(o===void 0)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);const r=lh(o());if(r.length===1)return r[0];throw new Error(`[vueuc/${e}]: slot[${n}] should have exactly one child.`)}let Sr=null;function ow(){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=ow();return{top:t,left:e,height:0,width:0,right:n.width-e,bottom:n.height-t}}function Rd(e){const t=e.getBoundingClientRect(),n=ow();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 rw(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 rw(t)}const K6=ge({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=rw(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 sh("binder",this.$slots)}}),Ap=K6,Ip=ge({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(db("follower",this.$slots),[[t]]):db("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 Ed=new J6,Ji="@@ziContext",Q6={mounted(e,t){const{value:n={}}=t,{zIndex:o,enabled:r}=n;e[Ji]={enabled:!!r,initialized:!1},r&&(Ed.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&&(Ed.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;Ed.unregister(e,o)}},_u=Q6,iw=Symbol("@css-render/vue3-ssr");function e8(e,t){return``}function t8(e,t){const n=We(iw,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(iw,null);if(e!==null)return{adapter:t8,context:e}}function fb(e,t){console.error(`[vueuc/${e}]: ${t}`)}const{c:Mr}=KC(),Op="vueuc-style";function hb(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-=hb(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?sh("lazy-teleport",this.$slots):g(eu,{disabled:this.disabled,to:this.mergedTo},sh("lazy-teleport",this.$slots)):null}}),Il={top:"bottom",bottom:"top",left:"right",right:"left"},mb={start:"end",center:"center",end:"start"},$d={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"},gb={top:!0,bottom:!1,left:!0,right:!1},vb={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=gb[h]?w:-w:v=gb[h]?w:-w),{left:v,top:b}},d=a==="left"||a==="right";if(l!=="center"){const p=a8[e],h=Il[p],m=$d[p];if(n[m]>t[m]){if(t[p]+t[m]t[h]&&(l=mb[s])}else{const p=a==="bottom"||a==="top"?"left":"top",h=Il[p],m=$d[p],v=(n[m]-t[m])/2;(t[p]t[h]?(l=vb[p],c=u(m,p,d)):(l=vb[h],c=u(m,h,d)))}let f=a;return t[a] *",{pointerEvents:"all"})])]),Mp=ge({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:Op,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):Rd(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=Rd(f),P=Rd(r.value),{left:T,top:$,placement:R}=s8(S,b,k,_,x,v),K=l8(R,v),{left:H,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(${H}) 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})},bb="ResizeObserver loop completed with undelivered notifications.",h8=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:bb}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=bb),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}(),aw=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}(),zp=function(e){return e instanceof SVGElement&&"getBBox"in e},sw=function(e){if(zp(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)},yb=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,xb=/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)},Cb=Ci({devicePixelContentBoxSize:pa(),borderBoxSize:pa(),contentBoxSize:pa(),contentRect:new aw(0,0,0,0)}),lw=function(e,t){if(t===void 0&&(t=!1),Ol.has(e)&&!t)return Ol.get(e);if(sw(e))return Ol.set(e,Cb),Cb;var n=getComputedStyle(e),o=zp(e)&&e.ownerSVGElement&&e.getBBox(),r=!v8&&n.boxSizing==="border-box",i=g8.test(n.writingMode||""),a=!o&&xb.test(n.overflowY||""),s=!o&&xb.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 aw(d,l,k,P)});return Ol.set(e,R),R},cw=function(e,t,n){var o=lw(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=lw(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}(),uw=function(e){if(sw(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=uw(c.target);s.push(u),c.lastReportedSize=cw(c.target,c.observedBox),de?n.activeTargets.push(r):n.skippedTargets.push(r))})})},x8=function(){var e=0;for(wb(e);d8();)e=y8(),wb(e);return f8()&&h8(),e>0},Ad,dw=[],C8=function(){return dw.splice(0).forEach(function(e){return e()})},w8=function(e){if(!Ad){var t=0,n=document.createTextNode(""),o={characterData:!0};new MutationObserver(function(){return C8()}).observe(n,o),Ad=function(){n.textContent="".concat(t?t--:t++)}}dw.push(e),Ad()},_8=function(e){w8(function(){requestAnimationFrame(e)})},cc=0,S8=function(){return!!cc},k8=250,P8={attributes:!0,characterData:!0,childList:!0,subtree:!0},_b=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Sb=function(e){return e===void 0&&(e=0),Date.now()+e},Id=!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),!Id){Id=!0;var o=Sb(t);_8(function(){var r=!1;try{r=x8()}finally{if(Id=!1,t=o-Sb(),!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(),_b.forEach(function(n){return ks.addEventListener(n,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),_b.forEach(function(n){return ks.removeEventListener(n,t.listener,!0)}),this.stopped=!0)},e}(),ch=new T8,kb=function(e){!cc&&e>0&&ch.start(),cc+=e,!cc&&ch.stop()},R8=function(e){return!zp(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=cw(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,Pb=function(e,t){for(var n=0;n=0&&(i&&xi.splice(xi.indexOf(o),1),o.observationTargets.splice(r,1),kb(-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(!yb(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(!yb(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=ge({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){fb("resize-observer","$el does not exist.");return}if(r.nextElementSibling!==r.nextSibling&&r.nodeType===3&&r.nodeValue!==""){fb("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 Od;function Tb(){return typeof document>"u"?1:(Od===void 0&&(Od="chrome"in window?window.devicePixelRatio:1),Od)}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"})])]),fw=ge({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:Op,ssr:t}),jt(()=>{const{defaultScrollIndex:$,defaultScrollKey:R}=e;$!=null?h({index:$}):R!=null&&h({key:R})});let n=!1,o=!1;Zh(()=>{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,H)=>{$.set(K[R],H)}),$}),i=W(null),a=W(void 0),s=new Map,l=L(()=>{const{items:$,itemSize:R,keyField:K}=e,H=new o8($.length,R);return $.forEach((D,M)=>{const Y=D[K],Q=s.get(Y);Q!==void 0&&H.add(M,Q)}),H}),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,H=f.value,D=Math.min(H+Math.ceil($/K+1),R.length-1),M=[];for(let Y=H;Y<=D;++Y)M.push(R[Y]);return M}),h=($,R)=>{if(typeof $=="number"){w($,R,"auto");return}const{left:K,top:H,index:D,key:M,position:Y,behavior:Q,debounce:de=!0}=$;if(K!==void 0||H!==void 0)w(K,H,Q);else if(D!==void 0)b(D,Q,de);else if(M!==void 0){const he=r.value.get(M);he!==void 0&&b(he,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:H}=l,D=H.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=H.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,H,D;if(n||e.ignoreItemResize||T(R.target))return;const{value:M}=l,Y=r.value.get($),Q=M.get(Y),de=(D=(H=(K=R.borderBoxSize)===null||K===void 0?void 0:K[0])===null||H===void 0?void 0:H.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/Tb(),K.scrollLeft+=$.deltaX/Tb(),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"}),uh=ge({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:Op,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 hw(e){return e instanceof HTMLElement}function pw(e){for(let t=0;t=0;t--){const n=e.childNodes[t];if(hw(n)&&(gw(n)||mw(n)))return!0}return!1}function gw(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 Dp=ge({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=pb(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=pb(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"?pw(C):mw(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 vw(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,Rb="",Eb="",$b="",Ab="";const dh=W("0px");function bw(e){if(typeof document>"u")return;const t=document.documentElement;let n,o=!1;const r=()=>{t.style.marginRight=Rb,t.style.overflow=Eb,t.style.overflowX=$b,t.style.overflowY=Ab,dh.value="0px"};jt(()=>{n=ft(e,i=>{if(i){if(!Qi){const a=window.innerWidth-t.offsetWidth;a>0&&(Rb=t.style.marginRight,t.style.marginRight=`${a}px`,dh.value=`${a}px`),Eb=t.style.overflow,$b=t.style.overflowX,Ab=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 Lp=W(!1),Ib=()=>{Lp.value=!0},Ob=()=>{Lp.value=!1};let os=0;const yw=()=>(dr&&(hn(()=>{os||(window.addEventListener("compositionstart",Ib),window.addEventListener("compositionend",Ob)),os++}),rn(()=>{os<=1?(window.removeEventListener("compositionstart",Ib),window.removeEventListener("compositionend",Ob),os=0):os--})),Lp);function Fp(e){const t={isDeactivated:!1};let n=!1;return Zh(()=>{if(t.isDeactivated=!1,!n){n=!0;return}e()}),Zc(()=>{t.isDeactivated=!0,n||(n=!0)}),t}function Mb(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)},zb="n-form-item";function fr(e,{defaultSize:t="medium",mergedSize:n,mergedDisabled:o}={}){const r=We(zb,null);at(zb,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 xw=F8;var B8=typeof self=="object"&&self&&self.Object===Object&&self,N8=xw||B8||Function("return this")();const Po=N8;var H8=Po.Symbol;const Nr=H8;var Cw=Object.prototype,j8=Cw.hasOwnProperty,V8=Cw.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]",Db=Nr?Nr.toStringTag:void 0;function Oi(e){return e==null?e===void 0?Y8:G8:Db&&Db 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 ww(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})}:Bp;const BI=FI;var NI=zI(BI);const HI=NI;var jI=9007199254740991,VI=/^(?:0|[1-9]\d*)$/;function Hp(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&&Vp(e.length)&&!Np(e)}function ZI(e,t,n){if(!Wo(n))return!1;var o=typeof t;return(o=="number"?Fa(n)&&Hp(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 zw(e){return GM.test(e)}function YM(e){return e.split("")}var Dw="\\ud800-\\udfff",XM="\\u0300-\\u036f",ZM="\\ufe20-\\ufe2f",JM="\\u20d0-\\u20ff",QM=XM+ZM+JM,ez="\\ufe0e\\ufe0f",tz="["+Dw+"]",ph="["+QM+"]",mh="\\ud83c[\\udffb-\\udfff]",nz="(?:"+ph+"|"+mh+")",Lw="[^"+Dw+"]",Fw="(?:\\ud83c[\\udde6-\\uddff]){2}",Bw="[\\ud800-\\udbff][\\udc00-\\udfff]",oz="\\u200d",Nw=nz+"?",Hw="["+ez+"]?",rz="(?:"+oz+"(?:"+[Lw,Fw,Bw].join("|")+")"+Hw+Nw+")*",iz=Hw+Nw+rz,az="(?:"+[Lw+ph+"?",ph,Fw,Bw,tz].join("|")+")",sz=RegExp(mh+"(?="+mh+")|"+az+iz,"g");function lz(e){return e.match(sz)||[]}function cz(e){return zw(e)?lz(e):YM(e)}function uz(e){return function(t){t=Ti(t);var n=zw(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 jw=dz;function fz(e){return jw(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 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{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||c_.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 u_(){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"}},d_=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 Xp(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function Ch(e){"@babel/helpers - typeof";return Ch=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},Ch(e)}function d9(e){Xp(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Ch(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 m0(e,t){var n,o,r,i,a,s,l,c;Xp(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:g0,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:g0,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 f_=W9,U9={name:"zh-CN",locale:f_},v0=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},h_=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:f_},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:d_[e]});return{dateLocaleRef:L(()=>{var i;return(i=n==null?void 0:n.value)!==null&&i!==void 0?i:h_}),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||c_.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=ge({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=ge({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 ge({name:jw(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 b0=ge({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=ge({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"})))}}),Zp=ge({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=ge({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=ge({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=ge({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"}))))),y0=ge({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"}))))}}),x0=ge({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=ge({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"}))))}}),C0=ge({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"}))))),w0=ge({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=ge({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:` + `)]),ko="n-config-provider",ka="naive-ui-style";function Be(e,t,n,o,r,i){const a=Ii(),s=We(ko,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: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:` 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"}))))),p_=ge({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=ge({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=ge({name:"BaseIconSwitchTransition",setup(e,{slots:t}){const n=Xr();return()=>g(fn,{name:"icon-switch-transition",appear:n.value},t)}}),Eu=ge({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?lP: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",` + `}))}}),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",` height: 1em; width: 1em; line-height: 1em; @@ -95,7 +95,7 @@ ${t} `,[q("svg",` height: 1em; width: 1em; - `)]),Ut=ge({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=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",` display: flex; align-items: center; justify-content: center; @@ -139,7 +139,7 @@ ${t} background-color: transparent; `),Z("round",[q("&::before",` border-radius: 50%; - `)])]),Hi=ge({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=ge({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",` + `)])]),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",` 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); @@ -166,7 +166,7 @@ ${t} `,[V("icon",` height: 1em; width: 1em; - `)])])]),Ld="1.6s",tN={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},Jr=ge({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:Ld,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:Ld,fill:"freeze",repeatCount:"indefinite"}),g("animate",{attributeName:"stroke-dashoffset",values:`${5.67*t};${1.42*t};${5.67*t}`,begin:"0s",dur:Ld,fill:"freeze",repeatCount:"indefinite"})))))):g("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}});function _0(e){return Array.isArray(e)?e:[e]}const wh={STOP:"STOP"};function m_(e,t){const n=t(e);e.children!==void 0&&n!==wh.STOP&&e.children.forEach(o=>m_(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 Fd(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function Bd(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 Nd(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&&m_(c,u=>{if(u.disabled)return wh.STOP;const{key:d}=u;if(!a.has(d)&&(a.add(d),s.add(d),cN(u.rawNode,i))){if(o)return wh.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 S0(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=Jp(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 Jp(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=Jp(c,t);if(u!==null)return u}else return c}}return null}const _N={getChild(){return this.ignored?null:Jp(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return S0(this,"next",e)},getPrev(e={}){return S0(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 g_(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=g_(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=g_(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 Nd({checkedKeys:Fd(S),indeterminateKeys:Bd(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 Nd({checkedKeys:Fd(_),indeterminateKeys:Bd(_),keysToCheck:S==null?[]:_0(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 Nd({checkedKeys:Fd(_),indeterminateKeys:Bd(_),keysToUncheck:S==null?[]:_0(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),v_=jo(Ye.neutralInvertBase),TN="rgba("+v_.slice(0,3).join(", ")+", ";function Ot(e){return TN+String(e)+")"}function RN(e){const t=Array.from(v_);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),b_=jo(lt.neutralInvertBase),AN="rgba("+b_.slice(0,3).join(", ")+", ";function k0(e){return AN+String(e)+")"}function Tn(e){const t=Array.from(b_);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:k0(lt.alphaScrollbar),scrollbarColorHover:k0(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"},y_=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:y_},$u=MN,zN={name:"Empty",common:Ne,self:y_},ji=zN,DN=z("empty",` + `)])])]),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",` 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}),x_=ge({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)}}),C_=e=>{const{scrollbarColor:t,scrollbarColorHover:n}=e;return{color:t,colorHover:n}},FN={name:"Scrollbar",common:bt,self:C_},Vi=FN,BN={name:"Scrollbar",common:Ne,self:C_},Vn=BN,{cubicBezierEaseInOut:P0}=co;function cl({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:n="0.2s",enterCubicBezier:o=P0,leaveCubicBezier:r=P0}={}){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",` + `)]),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",` overflow: hidden; position: relative; z-index: auto; @@ -239,7 +239,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}),w_=ge({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:me}=u,{value:$e}=h;return X===null||me===null||$e===null?0:Math.min(X,$e*X/me+e.size*1.5)}),H=L(()=>`${K.value}px`),D=L(()=>{const{value:X}=p,{value:me}=d,{value:$e}=m;return X===null||me===null||$e===null?0:$e*X/me+e.size*1.5}),M=L(()=>`${D.value}px`),Y=L(()=>{const{value:X}=f,{value:me}=v,{value:$e}=u,{value:Ke}=h;if(X===null||$e===null||Ke===null)return 0;{const Xe=$e-X;return Xe?me/Xe*(Ke-K.value):0}}),Q=L(()=>`${Y.value}px`),de=L(()=>{const{value:X}=p,{value:me}=b,{value:$e}=d,{value:Ke}=m;if(X===null||$e===null||Ke===null)return 0;{const Xe=$e-X;return Xe?me/Xe*(Ke-D.value):0}}),he=L(()=>`${de.value}px`),B=L(()=>{const{value:X}=f,{value:me}=u;return X!==null&&me!==null&&me>X}),E=L(()=>{const{value:X}=p,{value:me}=d;return X!==null&&me!==null&&me>X}),A=L(()=>{const{trigger:X}=e;return X==="none"||w.value}),G=L(()=>{const{trigger:X}=e;return X==="none"||C.value}),ne=L(()=>{const{container:X}=e;return X?X():a.value}),ye=L(()=>{const{content:X}=e;return X?X():s.value}),J=Fp(()=>{e.container||ve({top:v.value,left:b.value})}),xe=()=>{J.isDeactivated||ae()},j=X=>{if(J.isDeactivated)return;const{onResize:me}=e;me&&me(X),ae()},ve=(X,me)=>{if(!e.scrollable)return;if(typeof X=="number"){Le(X,me??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,me)=>{if(!e.scrollable)return;const{value:$e}=ne;$e&&(typeof X=="object"?$e.scrollBy(X):$e.scrollBy(X,me||0))};function Le(X,me,$e,Ke,Xe){const{value:Ze}=ne;if(Ze){if(Ke){const{scrollTop:tt,offsetHeight:it}=Ze;if(me>tt){me+$e<=tt+it||Ze.scrollTo({left:X,top:me+$e-it,behavior:Xe});return}}Ze.scrollTo({left:X,top:me,behavior:Xe})}}function F(){be(),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 be(){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:me}=e;me&&me(X),N()}function N(){const{value:X}=ne;X&&(v.value=X.scrollTop,b.value=X.scrollLeft*(r!=null&&r.value?-1:1))}function te(){const{value:X}=ye;X&&(u.value=X.offsetHeight,d.value=X.offsetWidth);const{value:me}=ne;me&&(f.value=me.offsetHeight,p.value=me.offsetWidth);const{value:$e}=c,{value:Ke}=l;$e&&(m.value=$e.offsetWidth),Ke&&(h.value=Ke.offsetHeight)}function Ce(){const{value:X}=ne;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:me}=c,{value:$e}=l;me&&(m.value=me.offsetWidth),$e&&(h.value=$e.offsetHeight)}function ae(){e.scrollable&&(e.useUnifiedContainer?Ce():(te(),N()))}function fe(X){var me;return!(!((me=i.value)===null||me===void 0)&&me.contains(ki(X)))}function oe(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:me}=p,{value:$e}=d,{value:Ke}=D;if(me===null||$e===null)return;const Ze=(r!=null&&r.value?window.innerWidth-X.clientX-T:X.clientX-T)*($e-me)/(me-Ke),tt=$e-me;let it=P+Ze;it=Math.min(tt,it),it=Math.max(it,0);const{value:yt}=ne;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(),fe(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:me}=f,{value:$e}=u,{value:Ke}=K;if(me===null||$e===null)return;const Ze=(X.clientY-$)*($e-me)/(me-Ke),tt=$e-me;let it=k+Ze;it=Math.min(tt,it),it=Math.max(it,0);const{value:yt}=ne;yt&&(yt.scrollTop=it)}function Fe(X){X.preventDefault(),X.stopPropagation(),Pt("mousemove",window,ke,!0),Pt("mouseup",window,Fe,!0),S=!1,ae(),fe(X)&&re()}Xt(()=>{const{value:X}=E,{value:me}=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&&(me?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:me,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":me,"--n-scrollbar-width":Ke,"--n-scrollbar-height":$e}}),Je=n?kt("scrollbar",void 0,Ae,e):void 0;return Object.assign(Object.assign({},{scrollTo:ve,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:H,xBarSizePx:M,yBarTopPx:Q,xBarLeftPx:he,isShowXBar:A,isShowYBar:G,isIos:R,handleScroll:I,handleContentResize:xe,handleContainerResize:j,handleYScrollMouseDown:Ue,handleXScrollMouseDown:oe,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?ih: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?ih: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=w_,__=w_,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"},S_=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:S_},Qp=VN,WN={name:"InternalSelectMenu",common:Ne,peers:{Scrollbar:Vn,Empty:ji},self:S_},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 T0=ge({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(Ep),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}}),R0=ge({name:"NBaseSelectGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{renderLabelRef:e,renderOptionRef:t,labelFieldRef:n,nodePropsRef:o}=We(Ep);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:E0,cubicBezierEaseOut:$0}=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} ${E0}, transform ${t} ${E0} ${r&&","+r}`}),q("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${$0}, transform ${t} ${$0} ${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",` + `,[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",` line-height: 1.5; outline: none; z-index: 0; @@ -346,14 +346,14 @@ ${t} top: calc(50% - 7px); color: var(--n-option-check-color); transition: color .3s var(--n-bezier); - `,[Na({enterScale:"0.5"})])])]),k_=ge({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,Qp,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())),H(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||H(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&&H(E.getNext({loop:!0}),!0)}function K(){const{value:E}=u;E&&H(E.getPrev({loop:!0}),!0)}function H(E,A=!1){u.value=E,A&&D()}function D(){var E,A;const G=u.value;if(!G)return;const ne=c.value(G.key);ne!==null&&(e.virtualScroll?(E=a.value)===null||E===void 0||E.scrollTo({index:ne}):(A=s.value)===null||A===void 0||A.scrollTo({index:ne,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(Ep,{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(ew,i),jt(()=>{const{value:E}=s;E&&E.sync()});const Q=L(()=>{const{size:E}=e,{common:{cubicBezierEaseInOut:A},self:{height:G,borderRadius:ne,color:ye,groupHeaderTextColor:J,actionDividerColor:xe,optionTextColorPressed:j,optionTextColor:ve,optionTextColorDisabled:Oe,optionTextColorActive:Le,optionOpacityDisabled:F,optionCheckColor:O,actionTextColor:re,optionColorPending:_e,optionColorActive:ee,loadingColor:be,loadingSize:Pe,optionColorActivePending:I,[Te("optionFontSize",E)]:N,[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":ne,"--n-color":ye,"--n-option-font-size":N,"--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":ve,"--n-option-text-color-active":Le,"--n-option-text-color-disabled":Oe,"--n-option-text-color-pressed":j,"--n-option-padding":Ce,"--n-option-padding-left":_o(Ce,"left"),"--n-option-padding-right":_o(Ce,"right"),"--n-loading-color":be,"--n-loading-size":Pe}}),{inlineThemeDisabled:de}=e,he=de?kt("internal-select-menu",L(()=>e.size[0]),Q,e):void 0,B={selfRef:i,next:R,prev:K,getPendingTmNode:x};return vw(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:he==null?void 0:he.themeClass,onRender:he==null?void 0:he.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(x_,{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(fw,{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(R0,{key:a.key,clsPrefix:n,tmNode:a}):a.ignored?null:g(T0,{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(R0,{key:a.key,clsPrefix:n,tmNode:a}):g(T0,{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",` + `,[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",` position: absolute; left: 0; right: 0; top: 0; bottom: 0; border-radius: inherit; -`),GN=ge({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"},P_=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:P_},Ha=XN,ZN={name:"Popover",common:Ne,self:P_},Wi=ZN,Hd={top:"bottom",bottom:"top",left:"right",right:"left"},yn="var(--n-arrow-height) * 1.414",JN=q([z("popover",` +`),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",` transition: box-shadow .3s var(--n-bezier), background-color .3s var(--n-bezier), @@ -456,9 +456,9 @@ ${t} 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-${Hd[n]}: var(--n-space); + margin-${jd[n]}: var(--n-space); `,[Z("show-arrow",` - margin-${Hd[n]}: var(--n-space-arrow); + margin-${jd[n]}: var(--n-space-arrow); `),Z("overlap",` margin: 0; `),T6("popover-arrow-wrapper",` @@ -467,9 +467,9 @@ ${t} top: 0; bottom: 0; ${n}: 100%; - ${Hd[n]}: auto; + ${jd[n]}: auto; ${o} - `,[z("popover-arrow",t)])])])}const T_=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}),R_=({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=ge({name:"PopoverBody",inheritAttrs:!1,props:T_,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:H,dividerColor:D,color:M,boxShadow:Y,borderRadius:Q,arrowHeight:de,arrowOffset:he,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":H,"--n-color":M,"--n-divider-color":D,"--n-border-radius":Q,"--n-arrow-height":de,"--n-arrow-offset":he,"--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),H=()=>{var D,M;const Y=K?g(rt,null,Et(t.header,he=>he?g("div",{class:[`${T}-popover__header`,e.headerClass],style:e.headerStyle},he):null),Et(t.default,he=>he?g("div",{class:[`${T}-popover__content`,e.contentClass],style:e.contentStyle},t):null),Et(t.footer,he=>he?g("div",{class:[`${T}-popover__footer`,e.footerClass],style:e.footerStyle},he):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(__,{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?R_({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(Dp,{active:e.show,autoFocus:!0},{default:H}):H())}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(Mp,{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(T_),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=ge({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=oh(n,"activator"):o=oh(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(Ap,{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(Ip,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)}})]}})}}),E_={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({},E_),{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})})}},$_=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({},E_),{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 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",` --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; @@ -539,7 +539,7 @@ ${t} `,[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",` 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=ge({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:H,colorCheckedPressed:D,closeBorderRadius:M,fontWeightStrong:Y,[Te("colorBordered",p)]:Q,[Te("closeSize",h)]:de,[Te("closeIconSize",h)]:he,[Te("fontSize",h)]:B,[Te("height",h)]:E,[Te("color",p)]:A,[Te("textColor",p)]:G,[Te("border",p)]:ne,[Te("closeIconColor",p)]:ye,[Te("closeIconColorHover",p)]:J,[Te("closeIconColorPressed",p)]:xe,[Te("closeColorHover",p)]:j,[Te("closeColorPressed",p)]:ve}}=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":ne,"--n-close-icon-size":he,"--n-close-color-pressed":ve,"--n-close-color-hover":j,"--n-close-border-radius":M,"--n-close-icon-color":ye,"--n-close-icon-color-hover":J,"--n-close-icon-color-pressed":xe,"--n-close-icon-color-disabled":ye,"--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":H,"--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",` + `,[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",` flex-shrink: 0; height: 1em; width: 1em; @@ -563,7 +563,7 @@ ${t} left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); - `,[qn({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),_h=ge({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))}}))}}),A_=ge({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(_h,{clsPrefix:n,show:e.showClear,onClear:e.onClear},{placeholder:()=>g(Ut,{clsPrefix:n,class:`${n}-base-suffix__arrow`},{default:()=>An(t.default,()=>[g(p_,null)])})}):null})}}}),I_={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({},I_),{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},O_=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({},I_),{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})}},em=mH,gH=q([z("base-selection",` + `,[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",` --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; @@ -763,7 +763,7 @@ ${t} line-height: 1.25; text-overflow: ellipsis; overflow: hidden; - `)])])]),vH=ge({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,O_,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:fe}=r;if(fe){const{value:oe}=i;oe&&(oe.style.width=`${fe.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:fe}=e;fe&&fe(ae)}function T(ae){const{onBlur:fe}=e;fe&&fe(ae)}function $(ae){const{onDeleteOption:fe}=e;fe&&fe(ae)}function R(ae){const{onClear:fe}=e;fe&&fe(ae)}function K(ae){const{onPatternInput:fe}=e;fe&&fe(ae)}function H(ae){var fe;(!ae.relatedTarget||!(!((fe=a.value)===null||fe===void 0)&&fe.contains(ae.relatedTarget)))&&P(ae)}function D(ae){var fe;!((fe=a.value)===null||fe===void 0)&&fe.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 he(ae){$(ae)}function B(ae){if(ae.key==="Backspace"&&!E.value&&!e.pattern.length){const{selectedOptions:fe}=e;fe!=null&&fe.length&&he(fe[fe.length-1])}}const E=W(!1);let A=null;function G(ae){const{value:fe}=r;if(fe){const oe=ae.target.value;fe.textContent=oe,x()}e.ignoreComposition&&E.value?A=ae:K(ae)}function ne(){E.value=!0}function ye(){E.value=!1,e.ignoreComposition&&K(A),A=null}function J(ae){var fe;m.value=!0,(fe=e.onPatternFocus)===null||fe===void 0||fe.call(e,ae)}function xe(ae){var fe;m.value=!1,(fe=e.onPatternBlur)===null||fe===void 0||fe.call(e,ae)}function j(){var ae,fe;if(e.filterable)m.value=!1,(ae=c.value)===null||ae===void 0||ae.blur(),(fe=i.value)===null||fe===void 0||fe.blur();else if(e.multiple){const{value:oe}=s;oe==null||oe.blur()}else{const{value:oe}=l;oe==null||oe.blur()}}function ve(){var ae,fe,oe;e.filterable?(m.value=!1,(ae=c.value)===null||ae===void 0||ae.focus()):e.multiple?(fe=s.value)===null||fe===void 0||fe.focus():(oe=l.value)===null||oe===void 0||oe.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:fe}=u;fe&&fe.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 be(){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)})}),vw(a,e.onResize);const{inlineThemeDisabled:N}=e,te=L(()=>{const{size:ae}=e,{common:{cubicBezierEaseInOut:fe},self:{borderRadius:oe,color:ue,placeholderColor:De,textColor:Ue,paddingSingle:ke,paddingMultiple:Fe,caretColor:je,colorDisabled:Ae,textColorDisabled:Je,placeholderColorDisabled:xt,colorActive:X,boxShadowFocus:me,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":fe,"--n-border":Xe,"--n-border-active":it,"--n-border-focus":Ze,"--n-border-hover":tt,"--n-border-radius":oe,"--n-box-shadow-active":$e,"--n-box-shadow-focus":me,"--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=N?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:H,handleClear:M,handleMouseEnter:Y,handleMouseLeave:Q,handleDeleteOption:he,handlePatternKeyDown:B,handlePatternInputInput:G,handlePatternInputBlur:xe,handlePatternInputFocus:J,handleMouseEnterCounter:be,handleMouseLeaveCounter:Pe,handleFocusout:D,handleCompositionEnd:ye,handleCompositionStart:ne,onPopoverUpdateShow:I,focus:ve,focusInput:Oe,blur:j,blurInput:Le,updateCounter:F,getCounter:O,getTail:re,renderLabel:e.renderLabel,cssVars:N?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(ih,null,{default:()=>g(A_,{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(uh,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,getTail:this.getTail,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:C,counter:_,tail:()=>S}):g(uh,{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:tb(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:tb(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",` + `)])])]),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",` opacity: 0!important; margin-left: 0!important; margin-right: 0!important; @@ -781,7 +781,7 @@ ${t} max-width ${e} ${kr}, margin-left ${e} ${kr}, margin-right ${e} ${kr}; - `)]}const M_={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({},M_),{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({},M_),{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 tm({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, + `)]}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, &.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}; @@ -823,7 +823,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)"})]),tm({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)"})]),nm({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 +850,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=ge({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:H}=_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":H}}),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 z_(e){return e.type==="ignored"}function jd(e,t){try{return!!(1+t.toString().toLowerCase().indexOf(e.trim().toLowerCase()))}catch{return!1}}function D_(e,t){return{getIsGroup:Dc,getIgnored:z_,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(z_(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 L_=dr&&navigator.userAgent.includes("Safari")&&!MH,F_={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:H}=e;return Object.assign(Object.assign({},F_),{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:H,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:H,iconColorHover:D,iconColorPressed:M}=e;return Object.assign(Object.assign({},F_),{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:H,iconColorHover:D,iconColorPressed:M,suffixTextColor:t})},LH={name:"Input",common:bt,self:DH},nm=LH,B_="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 A0=ge({name:"InputWordCount",setup(e,{slots:t}){const{mergedValueRef:n,maxlengthRef:o,mergedClsPrefixRef:r,countGraphemesRef:i}=We(B_),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`},rh(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)"})]),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",` max-width: 100%; cursor: text; line-height: 1.5; @@ -1082,8 +1082,8 @@ ${t} border: var(--n-border-focus-${e}); `)])])]))]),HH=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=ge({name:"Input",props:jH,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=Be("Input","-input",NH,nm,e,t);L_&&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]}),H=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}]:["",""]}),he=W(void 0),B=()=>{var se,Re;if(e.type==="textarea"){const{autosize:ot}=e;if(ot&&(he.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 ne(se,Re){const{onChange:ot}=e,{nTriggerFormChange:Bt}=C;ot&&Ee(ot,se,Re),v.value=se,Bt()}function ye(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 j(se){const{onInputBlur:Re}=e;Re&&Ee(Re,se)}function ve(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?be(se,1):be(se,0)}function be(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}):ne(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}):ne(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":me();break;case"Enter":X(se);break}}function X(se){var Re,ot;if(e.passivelyActivated){const{value:Bt}=T;if(Bt){e.internalDeactivateOnEnter&&me();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 me(){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&&me()}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(B_,{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:Ju,boxShadowFocus:Qu,iconSize:ed,colorFocusWarning:td,boxShadowFocusWarning:nd,borderWarning:od,borderFocusWarning:bk,borderHoverWarning:yk,colorFocusError:xk,boxShadowFocusError:Ck,borderError:wk,borderFocusError:_k,borderHoverError:Sk,clearSize:kk,clearColor:Pk,clearColorHover:Tk,clearColorPressed:Rk,iconColor:Ek,iconColorDisabled:$k,suffixTextColor:Ak,countTextColor:Ik,countTextColorDisabled:Ok,iconColorHover:Mk,iconColorPressed:zk,loadingColor:Dk,loadingColorError:Lk,loadingColorWarning:Fk,[Te("padding",se)]:Bk,[Te("fontSize",se)]:Nk,[Te("height",se)]:Hk}}=i.value,{left:jk,right:Vk}=_o(Bk);return{"--n-bezier":Re,"--n-count-text-color":Ik,"--n-count-text-color-disabled":Ok,"--n-color":ot,"--n-font-size":Nk,"--n-border-radius":Bt,"--n-height":Hk,"--n-padding-left":jk,"--n-padding-right":Vk,"--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":ed,"--n-line-height-textarea":Ya,"--n-color-disabled":vr,"--n-color-focus":br,"--n-text-color-disabled":Ju,"--n-box-shadow-focus":Qu,"--n-loading-color":Dk,"--n-caret-color-warning":mo,"--n-color-focus-warning":td,"--n-box-shadow-focus-warning":nd,"--n-border-warning":od,"--n-border-focus-warning":bk,"--n-border-hover-warning":yk,"--n-loading-color-warning":Fk,"--n-caret-color-error":po,"--n-color-focus-error":xk,"--n-box-shadow-focus-error":Ck,"--n-border-error":wk,"--n-border-focus-error":_k,"--n-border-hover-error":Sk,"--n-loading-color-error":Lk,"--n-clear-color":Pk,"--n-clear-size":kk,"--n-clear-color-hover":Tk,"--n-clear-color-pressed":Rk,"--n-icon-color":Ek,"--n-icon-color-hover":Mk,"--n-icon-color-pressed":zk,"--n-icon-color-disabled":$k,"--n-suffix-text-color":Ak}}),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:H,mergedFocus:D,isComposing:P,activated:T,showClearButton:M,mergedSize:S,mergedDisabled:_,textDecorationStyle:de,mergedClsPrefix:t,mergedBordered:n,mergedShowPasswordOn:Y,placeholderStyle:Dt,mergedStatus:x,textAreaScrollContainerWidth:he,handleTextAreaScroll:Se,handleCompositionStart:_e,handleCompositionEnd:ee,handleInput:be,handleInputBlur:I,handleInputFocus:N,handleWrapperBlur:te,handleWrapperFocus:Ce,handleMouseEnter:ke,handleMouseLeave:Fe,handleMouseDown:Ue,handleChange:fe,handleClick:oe,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(_h,{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(A_,{clsPrefix:n,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?c:null,this.showCount&&this.type!=="textarea"?g(A0,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(_h,{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(A0,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",` + `)])]),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",` display: inline-flex; width: 100%; flex-wrap: nowrap; @@ -1138,7 +1138,7 @@ ${t} `),V("box-shadow, border, state-border",` border-top-left-radius: 0!important; border-bottom-left-radius: 0!important; - `)])])])])])]),WH={},om=ge({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},N_=YH,XH=()=>({gap:"-12px"}),ZH={name:"AvatarGroup",common:Ne,peers:{Avatar:N_},self:XH},JH=ZH,H_={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({},H_),{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({},H_),{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",` + `)])])])])])]),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",` position: fixed; right: 40px; bottom: 40px; @@ -1160,7 +1160,7 @@ ${t} 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=ge({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)} + ${dh.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)||BC(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(){(Mb(d)?document.documentElement:d).scrollTo({top:0,behavior:"smooth"})}function v(){o.value=(Mb(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:H,textColor:D},common:{cubicBezierEaseInOut:M}}=p.value;return{"--n-bezier":M,"--n-border-radius":H,"--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"},j_=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:j_},fj=dj,hj={name:"Breadcrumb",common:Ne,self:j_},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)"})])]),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",` white-space: nowrap; cursor: default; line-height: var(--n-item-line-height); @@ -1217,7 +1217,7 @@ ${t} color: var(--n-item-text-color-active); `)]),V("separator",` display: none; - `)])])]),V_="n-breadcrumb",gj=Object.assign(Object.assign({},Be.props),{separator:{type:String,default:"/"}}),vj=ge({name:"Breadcrumb",props:gj,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Breadcrumb","-breadcrumb",mj,fj,e,t);at(V_,{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=ge({name:"BreadcrumbItem",props:yj,setup(e,{slots:t}){const n=We(V_,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"},W_=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:H,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:H,fontWeightStrong:Q})},_j={name:"Button",common:bt,self:W_},Au=_j,Sj={name:"Button",common:Ne,self(e){const t=W_(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",` + `)])])]),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",` margin: 0; font-weight: var(--n-font-weight); line-height: 1; @@ -1294,7 +1294,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:!L_}}),U_=ge({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:H,ghost:D,text:M,color:Y,round:Q,circle:de,textColor:he,secondary:B,tertiary:E,quaternary:A,strong:G}=e,ne={"font-weight":G?$:T};let ye={"--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=H==="tertiary",xe=H==="default",j=J?"default":H;if(M){const I=he||Y;ye={"--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",j)],"--n-text-color-hover":I?ai(I):y[Te("textColorTextHover",j)],"--n-text-color-pressed":I?Bl(I):y[Te("textColorTextPressed",j)],"--n-text-color-focus":I?ai(I):y[Te("textColorTextHover",j)],"--n-text-color-disabled":I||y[Te("textColorTextDisabled",j)]}}else if(D||K){const I=he||Y;ye={"--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",j)],"--n-text-color":I||y[Te("textColorGhost",j)],"--n-text-color-hover":I?ai(I):y[Te("textColorGhostHover",j)],"--n-text-color-pressed":I?Bl(I):y[Te("textColorGhostPressed",j)],"--n-text-color-focus":I?ai(I):y[Te("textColorGhostHover",j)],"--n-text-color-disabled":I||y[Te("textColorGhostDisabled",j)]}}else if(B){const I=xe?y.textColor:J?y.textColorTertiary:y[Te("color",j)],N=Y||I,te=H!=="default"&&H!=="tertiary";ye={"--n-color":te?Me(N,{alpha:Number(y.colorOpacitySecondary)}):y.colorSecondary,"--n-color-hover":te?Me(N,{alpha:Number(y.colorOpacitySecondaryHover)}):y.colorSecondaryHover,"--n-color-pressed":te?Me(N,{alpha:Number(y.colorOpacitySecondaryPressed)}):y.colorSecondaryPressed,"--n-color-focus":te?Me(N,{alpha:Number(y.colorOpacitySecondaryHover)}):y.colorSecondaryHover,"--n-color-disabled":y.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":N,"--n-text-color-hover":N,"--n-text-color-pressed":N,"--n-text-color-focus":N,"--n-text-color-disabled":N}}else if(E||A){const I=xe?y.textColor:J?y.textColorTertiary:y[Te("color",j)],N=Y||I;E?(ye["--n-color"]=y.colorTertiary,ye["--n-color-hover"]=y.colorTertiaryHover,ye["--n-color-pressed"]=y.colorTertiaryPressed,ye["--n-color-focus"]=y.colorSecondaryHover,ye["--n-color-disabled"]=y.colorTertiary):(ye["--n-color"]=y.colorQuaternary,ye["--n-color-hover"]=y.colorQuaternaryHover,ye["--n-color-pressed"]=y.colorQuaternaryPressed,ye["--n-color-focus"]=y.colorQuaternaryHover,ye["--n-color-disabled"]=y.colorQuaternary),ye["--n-ripple-color"]="#0000",ye["--n-text-color"]=N,ye["--n-text-color-hover"]=N,ye["--n-text-color-pressed"]=N,ye["--n-text-color-focus"]=N,ye["--n-text-color-disabled"]=N}else ye={"--n-color":Y||y[Te("color",j)],"--n-color-hover":Y?ai(Y):y[Te("colorHover",j)],"--n-color-pressed":Y?Bl(Y):y[Te("colorPressed",j)],"--n-color-focus":Y?ai(Y):y[Te("colorFocus",j)],"--n-color-disabled":Y||y[Te("colorDisabled",j)],"--n-ripple-color":Y||y[Te("rippleColor",j)],"--n-text-color":he||(Y?y.textColorPrimary:J?y.textColorTertiary:y[Te("textColor",j)]),"--n-text-color-hover":he||(Y?y.textColorHoverPrimary:y[Te("textColorHover",j)]),"--n-text-color-pressed":he||(Y?y.textColorPressedPrimary:y[Te("textColorPressed",j)]),"--n-text-color-focus":he||(Y?y.textColorFocusPrimary:y[Te("textColorFocus",j)]),"--n-text-color-disabled":he||(Y?y.textColorDisabledPrimary:y[Te("textColorDisabled",j)])};let ve={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};M?ve={"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:ve={"--n-border":y[Te("border",j)],"--n-border-hover":y[Te("borderHover",j)],"--n-border-pressed":y[Te("borderPressed",j)],"--n-border-focus":y[Te("borderFocus",j)],"--n-border-disabled":y[Te("borderDisabled",j)]};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:be}=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":be},ne),ye),ve),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:H,quaternary:D,strong:M}=e;_&&(S+="a"),y&&(S+="b"),k&&(S+="c"),T&&(S+="d"),$&&(S+="e"),K&&(S+="f"),H&&(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=U_,I0=U_,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"},q_=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:q_},K_=zj,Dj={name:"Card",common:Ne,self(e){const t=q_(e),{cardColor:n,modalColor:o,popoverColor:r}=e;return t.colorEmbedded=n,t.colorEmbeddedModal=o,t.colorEmbeddedPopover=r,t}},G_=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}})]),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",` font-size: var(--n-font-size); line-height: var(--n-line-height); display: flex; @@ -1311,7 +1311,7 @@ ${t} background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier), border-color .3s var(--n-bezier); - `,[XC({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",` + `,[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",` 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",` @@ -1380,7 +1380,7 @@ ${t} background: var(--n-color-popover); `,[Z("embedded",` background-color: var(--n-color-embedded-popover); - `)]))]),rm={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(rm),Bj=Object.assign(Object.assign({},Be.props),rm),fo=ge({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,K_,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:H,colorEmbeddedModal:D,colorEmbeddedPopover:M,[Te("padding",c)]:Y,[Te("fontSize",c)]:Q,[Te("titleFontSize",c)]:de},common:{cubicBezierEaseInOut:he}}=i.value,{top:B,left:E,bottom:A}=_o(Y);return{"--n-bezier":he,"--n-border-radius":w,"--n-color":u,"--n-color-modal":d,"--n-color-popover":K,"--n-color-embedded":H,"--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)))}}),Y_=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:Y_},Hj=Nj,jj={name:"Carousel",common:Ne,self:Y_},Vj=jj;function Wj(e){const{length:t}=e;return t>1&&(e.push(O0(e[0],0,"append")),e.unshift(O0(e[t-1],t-1,"prepend"))),e}function O0(e,t,n){return ao(e,{key:`carousel-item-duplicate-${t}-${n}`})}function M0(e,t,n){return t===1?0:n?e===0?t-3:e===t-1?0:e-1:e}function Vd(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 z0(e){return window.TouchEvent&&e instanceof window.TouchEvent}function D0(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 X_="n-carousel-methods",Yj=e=>{at(X_,e)},im=(e="unknown",t="component")=>{const n=We(X_);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=ge({name:"CarouselDots",props:Xj,setup(e){const{mergedClsPrefixRef:t}=st(e),n=W([]),o=im();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 Ty(()=>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=ge({name:"CarouselArrow",setup(e){const{mergedClsPrefixRef:t}=st(e),{isVertical:n,isPrevDisabled:o,isNextDisabled:r,prev:i,next:a}=im();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=ge({name:uc,setup(e){const{mergedClsPrefixRef:t}=st(e),n=im(Qb(uc),`n-${Qb(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",` + `)]))]),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",` position: relative; width: 100%; height: 100%; @@ -1601,7 +1601,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 Wd=!1;const aV=ge({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=>D0(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=Vd(e.defaultIndex,d.value),T=W(M0(P,y.value,d.value)),$=sn(Ve(e,"currentIndex"),T),R=L(()=>Vd($.value,d.value));function K(Se){var He,Qe;Se=Nl(Se,0,y.value-1);const ht=M0(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 H(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=be(Se);return He!==null&&H()===He}function Y(Se){const He=be(Se);return He!==null&&D()===He}function Q(Se){return R.value===be(Se)}function de(Se){return $.value===Se}function he(){return H()===null}function B(){return D()===null}function E(Se){const He=Nl(Vd(Se,d.value),0,y.value);(Se!==$.value||He!==R.value)&&K(He)}function A(){const Se=H();Se!==null&&K(Se)}function G(){const Se=D();Se!==null&&K(Se)}function ne(){(!J||!d.value)&&A()}function ye(){(!J||!d.value)&&G()}let J=!1,xe=0;const j=W({});function ve(Se,He=0){j.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),ve(xe=0,Se))}function Le(Se,He){const Qe=F(Se);Qe!==xe&&He>0&&(J=!0),xe=F(R.value),ve(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:ne,next:ye,isVertical:()=>s.value,isHorizontal:()=>!s.value,isPrev:M,isNext:Y,isActive:Q,isPrevDisabled:he,isNextDisabled:B,getSlideIndex:be,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=be(Se);He!==-1&&i.value.splice(He,1)}function be(Se){return typeof Se=="number"?Se:Se?i.value.indexOf(Se):-1}function Pe(Se){const He=be(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 N=null;function te(){N&&(clearInterval(N),N=null)}function Ce(){te(),!e.autoplay||k.value<2||(N=window.setInterval(G,e.interval))}let ae=0,fe=0,oe=0,ue=0,De=!1,Ue=!1;function ke(Se){var He;if(Wd||!(!((He=r.value)===null||He===void 0)&&He.contains(ki(Se))))return;Wd=!0,De=!0,Ue=!1,ue=Date.now(),te(),Se.type!=="touchstart"&&!Se.target.isContentEditable&&Se.preventDefault();const Qe=z0(Se)?Se.touches[0]:Se;s.value?fe=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=z0(Se)?Se.touches[0]:Se,gt=He?ht.clientY-fe:ht.clientX-ae,ut=v.value[Qe];oe=Nl(gt,-ut,ut),Se.cancelable&&Se.preventDefault(),u.value&&ve(xe-oe,0)}function je(){const{value:Se}=R;let He=Se;if(!J&&oe!==0&&u.value){const Qe=xe-oe,ht=[...w.value.slice(0,y.value-1),O()];let gt=null;for(let ut=0;utgt/2||oe/Qe>.4?He=H(Se):(oe<-gt/2||oe/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&&(Wd=!1),De=!1,ae=0,fe=0,oe=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&&(j.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&&!he()&&A())}function X(){v.value=D0(o.value,!0),Ce()}function me(){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()}),Jh(()=>{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,ve(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:j,slidesControlListeners:Xe,handleTransitionEnd:Je,handleResize:X,handleSlideResize:me,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&&rh(f,u,()=>[g(Zj,{key:i+a,total:u.total,currentIndex:u.currentIndex,dotType:i,trigger:this.trigger,keyboard:this.keyboard})]),n&&rh(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"},Z_=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:Z_},J_=cV,uV={name:"Checkbox",common:Ne,self(e){const{cardColor:t}=e,n=Z_(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:em,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"})),Q_="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=ge({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(Q_,{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",` + `)])])]),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",` font-size: var(--n-font-size); outline: none; cursor: pointer; @@ -1705,9 +1705,9 @@ ${t} --n-merged-color-table: var(--n-color-table-modal); `)),Cu(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=ge({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(Q_,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,J_,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:H,checkMarkColor:D,checkMarkColorDisabled:M,border:Y,borderFocus:Q,borderDisabled:de,borderChecked:he,boxShadowFocus:B,textColor:E,textColorDisabled:A,checkMarkColorDisabledChecked:G,colorDisabledChecked:ne,borderDisabledChecked:ye,labelPadding:J,labelLineHeight:xe,labelFontWeight:j,[Te("fontSize",x)]:ve,[Te("size",x)]:Oe}}=p.value;return{"--n-label-line-height":xe,"--n-label-font-weight":j,"--n-size":Oe,"--n-bezier":y,"--n-border-radius":k,"--n-border":Y,"--n-border-checked":he,"--n-border-focus":Q,"--n-border-disabled":de,"--n-border-disabled-checked":ye,"--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":H,"--n-color-disabled":$,"--n-color-disabled-checked":ne,"--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":ve,"--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}}},e2=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}},t2=ge({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=ge({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}},n2=IV;function OV(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const MV={name:"Popselect",common:bt,peers:{Popover:Ha,InternalSelectMenu:Qp},self:OV},am=MV,o2="n-popselect",zV=z("popselect-menu",` + `))]),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",` box-shadow: var(--n-menu-box-shadow); -`),sm={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]},L0=Yr(sm),DV=ge({name:"PopselectPanel",props:sm,setup(e){const t=We(o2),{mergedClsPrefixRef:n,inlineThemeDisabled:o}=st(e),r=Be("Popselect","-pop-select",zV,am,t.props,n),i=L(()=>wi(e.options,D_("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(k_,{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"}}),sm),lm=ge({name:"Popselect",props:LV,inheritAttrs:!1,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=st(e),n=Be("Popselect","-popselect",void 0,am,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(o2,{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,L0),{ref:jC(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,L0),t,{internalDeactivateImmediately:!0}),{trigger:()=>{var n,o;return(o=(n=this.$slots).default)===null||o===void 0?void 0:o.call(n)}})}});function r2(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const FV={name:"Select",common:bt,peers:{InternalSelection:O_,InternalSelectMenu:Qp},self:r2},i2=FV,BV={name:"Select",common:Ne,peers:{InternalSelection:em,InternalSelectMenu:ul},self:r2},a2=BV,NV=q([z("select",` +`),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",` z-index: auto; outline: none; width: 100%; @@ -1715,11 +1715,11 @@ ${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}),cm=ge({name:"Select",props:HV,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,namespaceRef:o,inlineThemeDisabled:r}=st(e),i=Be("Select","-select",NV,i2,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:me}=e,$e=D_(X,me);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:me,valueField:$e}=e;return Ke=>({[me]:String(Ke),[$e]:Ke})}return X===!1?!1:me=>Object.assign(X(me),{value:me})}),T=L(()=>y.value.concat(x.value).concat(S.value)),$=L(()=>{const{filter:X}=e;if(X)return X;const{labelField:me,valueField:$e}=e;return(Ke,Xe)=>{if(!Xe)return!1;const Ze=Xe[me];if(typeof Ze=="string")return jd(Ke,Ze);const tt=Xe[$e];return typeof tt=="string"?jd(Ke,tt):typeof tt=="number"?jd(Ke,String(tt)):!1}}),R=L(()=>{if(e.remote)return S.value;{const{value:X}=T,{value:me}=u;return!me.length||!e.filterable?X:IH(X,$.value,me,e.childrenField)}});function K(X){const me=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(me&&$e.has(tt))Ze.push($e.get(tt));else if(Xe){const it=Xe(tt);it&&Ze.push(it)}}),Ze}const H=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 he(X,me){const{onChange:$e,"onUpdate:value":Ke,onUpdateValue:Xe}=e,{nTriggerFormChange:Ze,nTriggerFormInput:tt}=M;$e&&Ee($e,X,me),Xe&&Ee(Xe,X,me),Ke&&Ee(Ke,X,me),a.value=X,Ze(),tt()}function B(X){const{onBlur:me}=e,{nTriggerFormBlur:$e}=M;me&&Ee(me,X),$e()}function E(){const{onClear:X}=e;X&&Ee(X)}function A(X){const{onFocus:me,showOnFocus:$e}=e,{nTriggerFormFocus:Ke}=M;me&&Ee(me,X),Ke(),$e&&xe()}function G(X){const{onSearch:me}=e;me&&Ee(me,X)}function ne(X){const{onScroll:me}=e;me&&Ee(me,X)}function ye(){var X;const{remote:me,multiple:$e}=e;if(me){const{value:Ke}=k;if($e){const{valueField:Xe}=e;(X=H.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:me,"onUpdate:show":$e}=e;me&&Ee(me,X),$e&&Ee($e,X),p.value=X}function xe(){Q.value||(J(!0),p.value=!0,e.filterable&&Fe())}function j(){J(!1)}function ve(){u.value="",y.value=_}const Oe=W(!1);function Le(){e.filterable&&(Oe.value=!0)}function F(){e.filterable&&(Oe.value=!1,h.value||ve())}function O(){Q.value||(h.value?e.filterable?Fe():j():xe())}function re(X){var me,$e;!(($e=(me=b.value)===null||me===void 0?void 0:me.selfRef)===null||$e===void 0)&&$e.contains(X.relatedTarget)||(c.value=!1,B(X),j())}function _e(X){A(X),c.value=!0}function ee(X){c.value=!0}function be(X){var me;!((me=m.value)===null||me===void 0)&&me.$el.contains(X.relatedTarget)||(c.value=!1,B(X),j())}function Pe(){var X;(X=m.value)===null||X===void 0||X.focus(),j()}function I(X){var me;h.value&&(!((me=m.value)===null||me===void 0)&&me.$el.contains(ki(X))||j())}function N(X){if(!Array.isArray(X))return[];if(P.value)return Array.from(X);{const{remote:me}=e,{value:$e}=f;if(me){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:me,remote:$e,clearFilterAfterSelect:Ke,valueField:Xe}=e;if(me&&!$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=N(l.value),tt=Ze.findIndex(it=>it===X[Xe]);if(~tt){if(Ze.splice(tt,1),me&&!$e){const it=ae(X[Xe]);~it&&(x.value.splice(it,1),Ke&&(u.value=""))}}else Ze.push(X[Xe]),Ke&&(u.value="");he(Ze,K(Ze))}else{if(me&&!$e){const Ze=ae(X[Xe]);~Ze?x.value=[x.value[Ze]]:x.value=_}ke(),j(),he(X[Xe],X)}}function ae(X){return x.value.findIndex($e=>$e[e.valueField]===X)}function fe(X){h.value||xe();const{value:me}=X.target;u.value=me;const{tag:$e,remote:Ke}=e;if(G(me),$e&&!Ke){if(!me){y.value=_;return}const{onCreate:Xe}=e,Ze=Xe?Xe(me):{[e.labelField]:me,[e.valueField]:me},{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 oe(X){X.stopPropagation();const{multiple:me}=e;!me&&e.filterable&&j(),E(),me?he([],[]):he(null,null)}function ue(X){!wo(X,"action")&&!wo(X,"empty")&&X.preventDefault()}function De(X){ne(X)}function Ue(X){var me,$e,Ke,Xe,Ze;if(!e.keyboard){X.preventDefault();return}switch(X.key){case" ":if(e.filterable)break;X.preventDefault();case"Enter":if(!(!((me=m.value)===null||me===void 0)&&me.isComposing)){if(h.value){const tt=($e=b.value)===null||$e===void 0?void 0:$e.getPendingTmNode();tt?te(tt):e.filterable||(j(),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),j()),(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())}ye(),ft(Ve(e,"options"),ye);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:H,mergedSize:Y,mergedDisabled:Q,focused:c,activeWithoutMenuOpen:Oe,inlineThemeDisabled:r,onTriggerInputFocus:Le,onTriggerInputBlur:F,handleTriggerOrMenuResize:je,handleMenuFocus:ee,handleMenuBlur:be,handleMenuTabOut:Pe,handleTriggerClick:O,handleToggle:te,handleDeleteOption:Ce,handlePatternInput:fe,handleClear:oe,handleTriggerBlur:re,handleTriggerFocus:_e,handleKeydown:Ue,handleMenuAfterLeave:ve,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(Ap,null,{default:()=>[g(Ip,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(Mp,{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(k_,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"},s2=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:i2,Input:nm,Popselect:am},self:s2},l2=VV,WV={name:"Pagination",common:Ne,peers:{Select:a2,Input:uo,Popselect:n2},self(e){const{primaryColor:t,opacity3:n}=e,o=Me(t,{alpha:Number(n)}),r=s2(e);return r.itemBorderActive=`1px solid ${o}`,r.itemBorderDisabled="1px solid #0000",r}},c2=WV,u2=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?F0(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 F0(e,t){const n=[];for(let o=e;o<=t;++o)n.push({label:`${o}`,value:o});return n}const B0=` + `,[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=` background: var(--n-item-color-hover); color: var(--n-item-text-color-hover); border: var(--n-item-border-hover); -`,N0=[Z("button",` +`,H0=[Z("button",` background: var(--n-button-color-hover); border: var(--n-button-border-hover); color: var(--n-button-icon-color-hover); @@ -1779,7 +1779,7 @@ ${t} padding: 0; `,[z("base-icon",` font-size: var(--n-button-icon-size); - `)]),Tt("disabled",[Z("hover",B0,N0),q("&:hover",B0,N0),q("&:active",` + `)]),Tt("disabled",[Z("hover",N0,H0),q("&:hover",N0,H0),q("&:active",` background: var(--n-item-color-pressed); color: var(--n-item-text-color-pressed); border: var(--n-item-border-pressed); @@ -1809,7 +1809,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=ge({name:"Pagination",props:KV,setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=Be("Pagination","-pagination",qV,l2,e,n),{localeRef:a}=Di("Pagination"),s=W(null),l=W(e.defaultPage),c=W(u2(e)),u=sn(Ve(e,"page"),l),d=sn(Ve(e,"pageSize"),c),f=L(()=>{const{itemCount:j}=e;if(j!==void 0)return Math.max(1,Math.ceil(j/d.value));const{pageCount:ve}=e;return ve!==void 0?Math.max(ve,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=j=>{M(j)},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 j=a.value.selectionSuffix;return e.pageSizes.map(ve=>typeof ve=="number"?{label:`${ve} / ${j}`,value:ve}:ve)}),P=L(()=>{var j,ve;return((ve=(j=t==null?void 0:t.value)===null||j===void 0?void 0:j.Pagination)===null||ve===void 0?void 0:ve.inputSize)||eb(e.size)}),T=L(()=>{var j,ve;return((ve=(j=t==null?void 0:t.value)===null||j===void 0?void 0:j.Pagination)===null||ve===void 0?void 0:ve.selectSize)||eb(e.size)}),$=L(()=>(u.value-1)*d.value),R=L(()=>{const j=u.value*d.value-1,{itemCount:ve}=e;return ve!==void 0&&j>ve-1?ve-1:j}),K=L(()=>{const{itemCount:j}=e;return j!==void 0?j:(e.pageCount||1)*d.value}),H=pn("Pagination",r,n),D=()=>{Ht(()=>{var j;const{value:ve}=s;ve&&(ve.classList.add("transition-disabled"),(j=s.value)===null||j===void 0||j.offsetWidth,ve.classList.remove("transition-disabled"))})};function M(j){if(j===u.value)return;const{"onUpdate:page":ve,onUpdatePage:Oe,onChange:Le,simple:F}=e;ve&&Ee(ve,j),Oe&&Ee(Oe,j),Le&&Ee(Le,j),l.value=j,F&&(p.value=String(j))}function Y(j){if(j===d.value)return;const{"onUpdate:pageSize":ve,onUpdatePageSize:Oe,onPageSizeChange:Le}=e;ve&&Ee(ve,j),Oe&&Ee(Oe,j),Le&&Ee(Le,j),c.value=j,f.value{u.value,d.value,D()});const J=L(()=>{const{size:j}=e,{self:{buttonBorder:ve,buttonBorderHover:Oe,buttonBorderPressed:Le,buttonIconColor:F,buttonIconColorHover:O,buttonIconColorPressed:re,itemTextColor:_e,itemTextColorHover:ee,itemTextColorPressed:be,itemTextColorActive:Pe,itemTextColorDisabled:I,itemColor:N,itemColorHover:te,itemColorPressed:Ce,itemColorActive:ae,itemColorActiveHover:fe,itemColorDisabled:oe,itemBorder:ue,itemBorderHover:De,itemBorderPressed:Ue,itemBorderActive:ke,itemBorderDisabled:Fe,itemBorderRadius:je,jumperTextColor:Ae,jumperTextColorDisabled:Je,buttonColor:xt,buttonColorHover:X,buttonColorPressed:me,[Te("itemPadding",j)]:$e,[Te("itemMargin",j)]:Ke,[Te("inputWidth",j)]:Xe,[Te("selectWidth",j)]:Ze,[Te("inputMargin",j)]:tt,[Te("selectMargin",j)]:it,[Te("jumperFontSize",j)]:yt,[Te("prefixMargin",j)]:on,[Te("suffixMargin",j)]:Dt,[Te("itemSize",j)]:Se,[Te("buttonIconSize",j)]:He,[Te("itemFontSize",j)]:Qe,[`${Te("itemMargin",j)}Rtl`]:ht,[`${Te("inputMargin",j)}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":be,"--n-item-color":N,"--n-item-color-hover":te,"--n-item-color-disabled":oe,"--n-item-color-active":ae,"--n-item-color-active-hover":fe,"--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":me,"--n-button-border":ve,"--n-button-border-hover":Oe,"--n-button-border-pressed":Le}}),xe=o?kt("pagination",L(()=>{let j="";const{size:ve}=e;return j+=ve[0],j}),J,e):void 0;return{rtlEnabled:H,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:ye,handleBackwardClick:de,handleForwardClick:Q,handlePageItemClick:ne,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 H=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},H?g("div",{class:`${t}-pagination-prefix`},H({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(C0,null):g(b0,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((he,B)=>{let E,A,G;const{type:ne}=he;switch(ne){case"page":const J=he.label;Q?E=Q({type:"page",node:J,active:he.active}):E=J;break;case"fast-forward":const xe=this.fastForwardActive?g(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?g(y0,null):g(x0,null)}):g(Ut,{clsPrefix:t},{default:()=>g(w0,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 j=this.fastBackwardActive?g(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?g(x0,null):g(y0,null)}):g(Ut,{clsPrefix:t},{default:()=>g(w0,null)});Q?E=Q({type:"fast-backward",node:j,active:this.fastBackwardActive||this.showFastBackwardMenu}):E=j,A=this.handleFastBackwardMouseenter,G=this.handleFastBackwardMouseleave;break}const ye=g("div",{key:B,class:[`${t}-pagination-item`,he.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(he)},onMouseenter:A,onMouseleave:G},E);if(ne==="page"&&!he.mayBeFastBackward&&!he.mayBeFastForward)return ye;{const J=he.type==="page"?he.mayBeFastBackward?"fast-backward":"fast-forward":he.type;return he.type!=="page"&&!he.options?ye:g(lm,{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: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:he.type!=="page"&&he.options?he.options:[],onUpdateValue:this.handleMenuSelect,scrollable:!0,showCheckmark:!1},{default:()=>ye})}}),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(b0,null):g(C0,null)})));case"size-picker":return!v&&s?g(cm,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)}}),d2={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({},d2),{borderRadius:t,boxShadow:n,color:o,textColor:r})}},Iu=YV,XV=e=>{const{borderRadius:t,boxShadow2:n,baseColor:o}=e;return Object.assign(Object.assign({},d2),{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:Iu}},f2=JV,QV={name:"Ellipsis",common:bt,peers:{Tooltip:um}},h2=QV,p2={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({},p2),{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})}},m2=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({},p2),{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"},g2=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:g2},fm=rW,iW={name:"Dropdown",common:Ne,peers:{Popover:Wi},self(e){const{primaryColorSuppl:t,primaryColor:n,popoverColor:o}=e,r=g2(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"},v2=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:J_,Radio:dm,Pagination:l2,Scrollbar:Vi,Empty:$u,Popover:Ha,Ellipsis:h2,Dropdown:fm},self:v2},lW=sW,cW={name:"DataTable",common:Ne,peers:{Button:Wn,Checkbox:ja,Radio:m2,Pagination:c2,Scrollbar:Vn,Empty:ji,Popover:Wi,Ellipsis:f2,Dropdown:hm},self(e){const t=v2(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),Ou=ge({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)}}),b2=z("ellipsis",{overflow:"hidden"},[Tt("line-clamp",` + `)])])]),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",` white-space: nowrap; display: inline-block; vertical-align: bottom; @@ -1819,7 +1819,7 @@ ${t} -webkit-box-orient: vertical; `),Z("cursor-pointer",` cursor: pointer; - `)]);function Sh(e){return`${e}-ellipsis--line-clamp`}function kh(e,t){return`${e}-ellipsis--cursor-${t}`}const y2=Object.assign(Object.assign({},Be.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),pm=ge({name:"Ellipsis",inheritAttrs:!1,props:y2,setup(e,{slots:t,attrs:n}){const o=u_(),r=Be("Ellipsis","-ellipsis",b2,h2,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?Sh(o.value):void 0,e.expandTrigger==="click"?kh(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=Sh(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=kh(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(Ou,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=ge({name:"PerformantEllipsis",props:y2,inheritAttrs:!1,setup(e,{attrs:t,slots:n}){const o=W(!1),r=u_();return Zr("-ellipsis",b2,r),{mouseEntered:o,renderTrigger:()=>{const{lineClamp:a}=e,s=r.value;return g("span",Object.assign({},Ln(t,{class:[`${s}-ellipsis`,a!==void 0?Sh(s):void 0,e.expandTrigger==="click"?kh(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=ge({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=ge({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=ge({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})}}),x2={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}},C2="n-radio-group";function w2(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(C2,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 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",` line-height: var(--n-label-line-height); outline: none; position: relative; @@ -1893,7 +1893,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),x2),_2=ge({name:"Radio",props:bW,setup(e){const t=w2(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",` + `)])]),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",` display: inline-block; font-size: var(--n-font-size); `,[V("splitor",` @@ -1975,8 +1975,8 @@ ${t} `),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:H,buttonTextColor:D,buttonTextColorActive:M,buttonTextColorHover:Y,opacityDisabled:Q,[Te("buttonHeight",_)]:de,[Te("fontSize",_)]:he}}=d.value;return{"--n-font-size":he,"--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":H,"--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(HC(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=ge({name:"RadioButton",props:x2,setup:w2,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)))}}),k2=40,P2=40;function H0(e){if(e.type==="selection")return e.width===void 0?k2:Sn(e.width);if(e.type==="expand")return e.width===void 0?P2: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:k2);if(e.type==="expand")return qt((n=e.width)!==null&&n!==void 0?n:P2);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 j0(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 Ud(e){return e.filterOptionValues!==void 0||e.filterOptionValue===void 0&&e.defaultFilterOptionValues!==void 0}function qd(e){return"children"in e?!1:!!e.sorter}function T2(e){return"children"in e&&e.children.length?!1:!!e.resizable}function V0(e){return"children"in e?!1:!!e.filter&&(!!e.filterOptions||!!e.renderFilterMenu)}function W0(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:W0(!1)}:Object.assign(Object.assign({},t),{order:W0(t.order)})}function R2(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=ge({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 Ud(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:Ud(e.column)&&!Array.isArray(h)?s.value=[h]:s.value=h}function f(){u(s.value),e.onConfirm()}function p(){e.multiple||Ud(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(S2,{name:this.radioGroupName,class:`${n}-data-table-filter-menu__group`,value:this.radioGroupValue,onUpdateValue:this.handleChange},{default:()=>this.options.map(i=>g(_2,{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=ge({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=ge({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})}}),E2=ge({name:"DropdownDivider",props:{clsPrefix:{type:String,required:!0}},render(){return g("div",{class:`${this.clsPrefix}-dropdown-divider`})}}),$2=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:$2},DW=zW,LW={name:"Icon",common:Ne,self:$2},FW=LW,BW=z("icon",` + `)])]);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",` height: 1em; width: 1em; line-height: 1em; @@ -1985,7 +1985,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=ge({_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",Mu="n-dropdown",U0="n-dropdown-option";function Ph(e,t){return e.type==="submenu"||e.type===void 0&&e[t]!==void 0}function HW(e){return e.type==="group"}function A2(e){return e.type==="divider"}function jW(e){return e.type==="render"}const I2=ge({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(Mu),{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(U0,null),b=We(mm),w=We(La),C=L(()=>e.tmNode.rawNode),S=L(()=>{const{value:Y}=f;return Ph(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:he}=o,{value:B}=r,{value:E}=i;return de!==null?E.includes(Y):he!==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(U0,{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 H(){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(he=>Q===he);return de===-1?!1:de{const{value:Y}=a,{key:Q}=e.tmNode,de=Y.findIndex(he=>Q===he);return de===-1?!1:de===Y.length-1}),mergedDisabled:_,renderOption:p,nodeProps:h,handleClick:M,handleMouseMove:H,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(O2,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(Zp,null)}):null)]),this.hasSubmenu?g(Ap,null,{default:()=>[g(Ip,null,{default:()=>g("div",{class:`${i}-dropdown-offset-container`},g(Mp,{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=ge({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(Mu);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=ge({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:A2(i)?g(E2,{clsPrefix:n,key:r.key}):r.isGroup?(ar("dropdown","`group` node is not allowed to be put in `group` node."),null):g(I2,{clsPrefix:n,tmNode:r,parentKey:t,key:r.key})}))}}),UW=ge({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()])}}),O2=ge({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(Mu);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})=>Ph(l,r));const{rawNode:s}=i;return Ph(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}):A2(i)?g(E2,{clsPrefix:t,key:r.key}):HW(i)?g(WW,{clsPrefix:t,tmNode:r,parentKey:e,key:r.key}):g(I2,{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(__,{contentClass:`${t}-dropdown-menu__content`},{default:()=>o}):o,this.showArrow?R_({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"})]),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",` transform-origin: var(--v-transform-origin); background-color: var(--n-color); border-radius: var(--n-border-radius); @@ -2101,7 +2101,7 @@ ${t} 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=ge({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(H){return H[R]},getDisabled(H){return H.disabled===!0},getIgnored(H){return H.type==="divider"||H.type==="render"},getChildren(H){return H[K]}})}),r=L(()=>o.value.treeNodes),i=W(null),a=W(null),s=W(null),l=L(()=>{var R,K,H;return(H=(K=(R=i.value)!==null&&R!==void 0?R:a.value)!==null&&K!==void 0?K:s.value)!==null&&H!==void 0?H: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(Mu,{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:H}=e;H&&Ee(H,R,K)}function v(R){const{"onUpdate:show":K,onUpdateShow:H}=e;K&&Ee(K,R),H&&Ee(H,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:H}=l;return!K||H===null?null:(R=K.getNode(H))!==null&&R!==void 0?R:null}function P(R){const{value:K}=l,{value:{getFirstAvailableNode:H}}=o;let D=null;if(K===null){const M=H();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:H},self:D}=h.value,{padding:M,dividerColor:Y,borderRadius:Q,optionOpacityDisabled:de,[Te("optionIconSuffixWidth",R)]:he,[Te("optionSuffixWidth",R)]:B,[Te("optionIconPrefixWidth",R)]:E,[Te("optionPrefixWidth",R)]:A,[Te("fontSize",R)]:G,[Te("optionHeight",R)]:ne,[Te("optionIconSize",R)]:ye}=D,J={"--n-bezier":H,"--n-font-size":G,"--n-padding":M,"--n-border-radius":Q,"--n-option-height":ne,"--n-option-prefix-width":A,"--n-option-icon-prefix-width":E,"--n-option-suffix-width":B,"--n-option-icon-suffix-width":he,"--n-option-icon-size":ye,"--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:jC(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(O2,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)}})}}),M2="_n_all__",z2="_n_none__";function XW(e,t,n,o){return e?r=>{for(const i of e)switch(r){case M2:n(!0);return;case z2: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:M2};case"none":return{label:t.uncheckTableAll,key:z2};default:return n}}):[]}const JW=ge({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(p_,null)})})}}});function Kd(e){return typeof e.title=="function"?e.title(e):e.title}const D2=ge({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")||!qd(K))return;const H=d.value.find(M=>M.columnKey===K.key)||null,D=RW(K,H);w(D)}const P=new Map;function T(R){P.set(R.key,x(R.key))}function $(R,K){const H=P.get(R.key);if(H===void 0)return;const D=H+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 H=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`},Kd(k)):D&&typeof D=="object"?g(pm,Object.assign({},D,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>Kd(k)}):Kd(k)),qd(k)?g(mW,{column:k}):null),V0(k)?g(OW,{column:k,options:k.filterOptions}):null,T2(k)?g(MW,{onResizeStart:()=>{w(k)},onResize:de=>{C(k,de)}}):null),Y=H in n,Q=H in o;return g("th",{ref:de=>e[H]=de,key:H,style:{textAlign:k.titleAlign||k.align,left:zn((R=n[H])===null||R===void 0?void 0:R.start),right:zn((K=o[H])===null||K===void 0?void 0:K.start)},colspan:P,rowspan:T,"data-col-key":H,class:[`${t}-data-table-th`,(Y||Q)&&`${t}-data-table-th--fixed-${Y?"left":"right"}`,{[`${t}-data-table-th--hover`]:R2(k,m),[`${t}-data-table-th--filterable`]:V0(k),[`${t}-data-table-th--sortable`]:qd(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=ge({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(hh(o,s),o,n):hh(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}}),q0=ge({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(Zp,null)})}))}}),eU=ge({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=ge({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(_2,{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=ge({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=ge({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:H,onLoadRef:D,loadingKeySetRef:M,expandableRef:Y,stickyExpandedRowsRef:Q,renderExpandIconRef:de,summaryPlacementRef:he,treeMateRef:B,scrollbarPropsRef:E,setHeaderScrollLeft:A,doUpdateExpandedRowKeys:G,handleTableBodyScroll:ne,doCheck:ye,doUncheck:J,renderCell:xe}=We(Ro),j=W(null),ve=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 be(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),me=Math.max(Je,xt),$e=[];l.value.slice(X,me+1).forEach(Ke=>{Ke.disabled||$e.push(Ke.key)}),Fe?ye($e,!1,Ae):J($e,Ae),re=ke.key;return}}Fe?ye(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}ye(ke.key,!0,Fe)}function I(){if(!F.value){const{value:Fe}=Oe;return Fe||null}if(x.value)return Ce();const{value:ke}=j;return ke?ke.containerRef:null}function N(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,me=Array.from(X);~me.indexOf(ke)||me.push(ke),G(me)}).finally(()=>{M.value.delete(ke)})):(xt.push(ke),G(xt))}function te(){C.value=null}function Ce(){const{value:ke}=ve;return(ke==null?void 0:ke.listElRef)||null}function ae(){const{value:ke}=ve;return(ke==null?void 0:ke.itemsElRef)||null}function fe(ke){var Fe;ne(ke),(Fe=j.value)===null||Fe===void 0||Fe.sync()}function oe(ke){var Fe;const{onResize:je}=e;je&&je(ke),(Fe=j.value)===null||Fe===void 0||Fe.sync()}const ue={getScrollContainer:I,scrollTo(ke,Fe){var je,Ae;x.value?(je=ve.value)===null||je===void 0||je.scrollTo(ke,Fe):(Ae=j.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:he,dataTableSlots:t,componentId:y,scrollbarInstRef:j,virtualListRef:ve,emptyElRef:Oe,summary:S,mergedClsPrefix:r,mergedTheme:i,scrollX:a,cols:s,loading:H,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:fe,handleVirtualListResize:oe,handleMouseleaveTable:te,virtualListContainer:Ce,virtualListContent:ae,handleTableBodyScroll:ne,handleCheckboxUpdateChecked:be,handleRadioUpdateChecked:Pe,handleUpdateExpanded:N,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:H,handleMouseleaveTable:D,renderExpand:M,summary:Y,handleCheckboxUpdateChecked:Q,handleRadioUpdateChecked:de,handleUpdateExpanded:he}=this,{length:B}=b;let E;const{data:A,hasChildren:G}=w,ne=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,...ne]:[...ne,...O]}else{const O={isSummaryRow:!0,key:"__n_summary__",tmNode:{rawNode:F,disabled:!0},index:-1};E=this.summaryPlacement==="top"?[O,...ne]:[...ne,O]}}else E=ne;const ye=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,j={};A.forEach(({tmNode:F},O)=>{j[O]=F.key});const ve=T?this.bodyWidth:null,Oe=ve===null?void 0:`${ve}px`,Le=(F,O,re)=>{const{index:_e}=F;if("isExpandedRow"in F){const{tmNode:{key:oe,rawNode:ue}}=F;return g("tr",{class:`${n}-data-table-tr ${n}-data-table-tr--expanded`,key:`${oe}__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,be=!ee&&F.striped,{tmNode:Pe,key:I}=F,{rawNode:N}=Pe,te=P.has(I),Ce=H?H(N,_e):void 0,ae=typeof y=="string"?y:TW(N,_e,y);return g("tr",Object.assign({onMouseenter:()=>{this.hoverKey=I},key:I,class:[`${n}-data-table-tr`,ee&&`${n}-data-table-tr--summary`,be&&`${n}-data-table-tr--striped`,te&&`${n}-data-table-tr--expanded`,ae]},Ce),b.map((oe,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}=oe,Je=bo(oe),{rowSpan:xt,colSpan:X}=Ae,me=ee?((De=F.tmNode.rawNode[Je])===null||De===void 0?void 0:De.colSpan)||1:X?X(N,_e):1,$e=ee?((Ue=F.tmNode.rawNode[Je])===null||Ue===void 0?void 0:Ue.rowSpan)||1:xt?xt(N,_e):1,Ke=ue+me===B,Xe=O+$e===xe,Ze=$e>1;if(Ze&&(v[O]={[ue]:[]}),me>1||Ze)for(let Dt=O;Dt{he(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,N)?g(q0,{clsPrefix:n,expanded:te,renderExpandIcon:this.renderExpandIcon,onClick:()=>{he(I,null)}}):null:g(QW,{clsPrefix:n,index:_e,row:N,column:Ae,isSummary:ee,mergedTheme:C,renderCell:this.renderCell}))}))};return o?g(fw,{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(D2,{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(x_,{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=ge({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(D2,{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 H;const D=(H=R(K))===null||H===void 0?void 0:H.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 ne;G.type==="selection"||G.type==="expand"||(G.filterOptionValues===void 0?E[G.key]=(ne=G.filterOptionValue)!==null&&ne!==void 0?ne:null:E[G.key]=G.filterOptionValues)}),Object.assign(j0(i.value),E)}),u=L(()=>{const B=c.value,{columns:E}=e;function A(ye){return(J,xe)=>!!~String(xe[ye]).indexOf(String(J))}const{value:{treeNodes:G}}=o,ne=[];return E.forEach(ye=>{ye.type==="selection"||ye.type==="expand"||"children"in ye||ne.push([ye.key,ye])}),G?G.filter(ye=>{const{rawNode:J}=ye;for(const[xe,j]of ne){let ve=B[xe];if(ve==null||(Array.isArray(ve)||(ve=[ve]),!ve.length))continue;const Oe=j.filter==="default"?A(xe):j.filter;if(j&&typeof Oe=="function")if(j.filterMode==="and"){if(ve.some(Le=>!Oe(Le,J)))return!1}else{if(ve.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:ne}=E;A&&Ee(A,B),ne&&Ee(ne,B),G&&Ee(G,B),R(B)}}function P(B){const{pagination:E}=e;if(E){const{onPageSizeChange:A,"onUpdate:pageSize":G,onUpdatePageSize:ne}=E;A&&Ee(A,B),ne&&Ee(ne,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 H(B,E){const{onUpdateFilters:A,"onUpdate:filters":G,onFiltersChange:ne}=e;A&&Ee(A,B,E),G&&Ee(G,B,E),ne&&Ee(ne,B,E),i.value=B}function D(B,E,A,G){var ne;(ne=e.onUnstableColumnResize)===null||ne===void 0||ne.call(e,B,E,A,G)}function M(B){R(B)}function Y(){Q()}function Q(){de({})}function de(B){he(B)}function he(B){B?B&&(i.value=j0(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:H,deriveNextSorter:f,doUpdatePageSize:K,doUpdatePage:R,onUnstableColumnResize:D,filter:he,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 H={start:T,end:0};P[bo(K)]=H,"children"in K?($(K.children),H.end=T):(T+=H0(K)||0,H.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 H=R[K],D={start:T,end:0};P[bo(H)]=D,"children"in H?($(H.children),D.end=T):(T+=H0(H)||0,D.end=T)}}return $(f.value),P});function m(){var P,T;const{value:$}=d;let R=0;const{value:K}=p;let H=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)H=M,R=((T=K[M])===null||T===void 0?void 0:T.end)||0;else break}a.value=H}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 H=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-H)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){T2(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 K0=vU(),gU=q([z("data-table",` + `)])]),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",` width: 100%; font-size: var(--n-font-size); display: flex; @@ -2203,7 +2203,7 @@ ${t} padding-right: 36px; `,[Z("sortable",` padding-right: calc(var(--n-th-padding) + 36px); - `)]),K0,Z("selection",` + `)]),G0,Z("selection",` padding: 0; text-align: center; line-height: 0; @@ -2332,7 +2332,7 @@ ${t} text-align: center; padding: 0; line-height: 0; - `),K0]),z("data-table-empty",` + `),G0]),z("data-table-empty",` box-sizing: border-box; padding: var(--n-empty-padding); flex-grow: 1; @@ -2471,7 +2471,7 @@ ${t} bottom: -1px; transition: box-shadow .2s var(--n-bezier); left: -36px; - `)])]}const zu=ge({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:me="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,me.endsWith(".csv")?me:`${me}.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:H,onUnstableColumnResize:D,deriveNextSorter:M,filter:Y,filters:Q,clearFilter:de,clearFilters:he,clearSorter:B,page:E,sort:A}=uU(e,{dataRelatedColsRef:v}),{doCheckAll:G,doUncheckAll:ne,doCheck:ye,doUncheck:J,headerCheckboxDisabledRef:xe,someRowsCheckedRef:j,allRowsCheckedRef:ve,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:be,handleTableHeaderScroll:Pe,syncScrollState:I,setHeaderScrollLeft:N,leftActiveFixedColKeyRef:te,leftActiveFixedChildrenColKeysRef:Ce,rightActiveFixedColKeyRef:ae,rightActiveFixedChildrenColKeysRef:fe,leftFixedColumnsRef:oe,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:fe,leftFixedColumnsRef:oe,rightFixedColumnsRef:ue,fixedColumnLeftMapRef:De,fixedColumnRightMapRef:Ue,mergedCurrentPageRef:S,someRowsCheckedRef:j,allRowsCheckedRef:ve,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:me,actionButtonMargin:$e}}=l.value;return{"--n-action-padding":me,"--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:H,getResizableWidth:d,onUnstableColumnResize:D,clearResizableWidth:f,doUpdateResizableWidth:p,deriveNextSorter:M,doCheck:ye,doUncheck:J,doCheckAll:G,doUncheckAll:ne,doUpdateExpandedRowKeys:ee,handleTableHeaderScroll:Pe,handleTableBodyScroll:be,setHeaderScrollLeft:N,renderCell:Ve(e,"renderCell")});const je={filter:Y,filters:Q,clearFilters:he,clearSorter:B,page:E,sort:A,clearFilter:de,downloadCsv:w,scrollTo:(X,me)=>{var $e;($e=u.value)===null||$e===void 0||$e.scrollTo(X,me)}},Ae=L(()=>{const{size:X}=e,{common:{cubicBezierEaseInOut:me},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:Ju,tdColorStripedModal:Qu,tdColorStripedPopover:ed,[Te("fontSize",X)]:td,[Te("thPadding",X)]:nd,[Te("tdPadding",X)]:od}}=l.value;return{"--n-font-size":td,"--n-th-padding":nd,"--n-td-padding":od,"--n-bezier":me,"--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":Ju,"--n-td-color-striped-modal":Qu,"--n-td-color-striped-popover":ed}}),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:me}=X;return me!==void 0?me>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},L2=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:L2,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"},F2=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:F2},B2=$U,AU={name:"Dialog",common:Ne,peers:{Button:Wn},self:F2},N2=AU,Du={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},H2=Yr(Du),IU=q([z("dialog",` + `)])]}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",` --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); @@ -2523,10 +2523,10 @@ ${t} `)]),rl(z("dialog",` width: 446px; max-width: calc(100vw - 32px); - `)),z("dialog",[XC(` + `)),z("dialog",[ZC(` 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)},j2=ge({name:"Dialog",alias:["NimbusConfirmCard","Confirm"],props:Object.assign(Object.assign({},Be.props),Du),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,B2,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:H,titleFontSize:D,padding:M,iconSize:Y,actionSpace:Q,contentMargin:de,closeSize:he,[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":he,"--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":H,"--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)}}),V2="n-dialog-provider",W2="n-dialog-api",MU="n-dialog-reactive-list",U2=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:B2,Card:K_},self:U2},DU=zU,LU={name:"Modal",common:Ne,peers:{Scrollbar:Vn,Dialog:N2,Card:G_},self:U2},FU=LU,vm=Object.assign(Object.assign({},rm),Du),BU=Yr(vm),NU=ge({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)}),bw(L(()=>e.blockScroll&&o.value));const a=We(tw);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=oh(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(Dp,{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(j2,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,H2),{"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",` + `)])]),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",` position: fixed; left: 0; top: 0; @@ -2557,7 +2557,7 @@ ${t} color: var(--n-text-color); margin: auto; box-shadow: var(--n-box-shadow); - `,[Na({duration:".25s",enterScale:".5"})])]),q2=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=ge({name:"Modal",inheritAttrs:!1,props:q2,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(V2,null):null,u=e.internalModal?We(V6,null):null,d=yw();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&&JC(x)&&!d.value&&f(!1)}at(tw,{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({},Du),{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=ge({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(j2,Object.assign({},Xn(this.$props,H2),{style:this.internalStyle,onClose:o,onNegativeClick:n,onPositiveClick:e}))})}}),WU={injectionKey:String,to:[String,Object]},UU=ge({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(W2,a),at(V2,{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(W2,null);return e===null&&ur("use-dialog","No outer founded."),e}const K2=e=>{const{textColor1:t,dividerColor:n,fontWeightStrong:o}=e;return{textColor:t,color:n,fontWeight:o}},KU={name:"Divider",common:bt,self:K2},GU=KU,YU={name:"Divider",common:Ne,self:K2},XU=YU,ZU=z("divider",` + `,[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",` position: relative; display: flex; width: 100%; @@ -2598,7 +2598,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=ge({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)}}),G2=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:G2},eq=QU,tq={name:"Drawer",common:Ne,peers:{Scrollbar:Vn},self:G2},nq=tq,oq=ge({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($p);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 bw(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(Dp,{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",` + `),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",` word-break: break-word; line-height: var(--n-line-height); position: absolute; @@ -2733,13 +2733,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}),Y2=ge({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=yw();function w(x){var y;(y=e.onEsc)===null||y===void 0||y.call(e),e.show&&e.closeOnEsc&&JC(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($p,{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:H,borderRadius:D,bodyPadding:M,titleFontSize:Y,titleTextColor:Q,titleFontWeight:de,headerBorderBottom:he,footerBorderTop:B,closeIconColor:E,closeIconColorHover:A,closeIconColorPressed:G,closeColorHover:ne,closeColorPressed:ye,closeIconSize:J,closeSize:xe,closeBorderRadius:j,resizableTriggerColorHover:ve}}=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":H,"--n-title-text-color":Q,"--n-title-font-size":Y,"--n-title-font-weight":de,"--n-header-border-bottom":he,"--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":ne,"--n-close-color-pressed":ye,"--n-close-icon-size":J,"--n-close-border-radius":j,"--n-resize-trigger-color-hover":ve}}),_=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=ge({name:"DrawerContent",props:bq,setup(){const e=We($p,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,X2={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},_q={name:"Space",self(){return X2}},Z2=_q,Sq=()=>X2,kq={name:"Space",self:Sq},Pq=kq;let Gd;const Tq=()=>{if(!dr)return!0;if(Gd===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),Gd=t}return Gd},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=ge({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(HC(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:$_,Space:Z2},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"},J2=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:J2},jq=Hq,Vq={name:"Notification",common:Ne,peers:{Scrollbar:Vn},self:J2},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"},Q2=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:Q2},Kq=qq,Gq={name:"Message",common:Ne,self:Q2},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:nm},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},eS=lK,tS=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:tS},uK=cK,dK={name:"List",common:Ne,self:tS},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:e2},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 nS=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:nS},SK=_K,kK={name:"Menu",common:Ne,peers:{Tooltip:Iu,Dropdown:hm},self(e){const{primaryColor:t,primaryColorSuppl:n}=e,o=nS(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,oS=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:oS},zK=MK,DK={name:"Progress",common:Ne,self(e){const t=oS(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}},rS=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},iS=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:iS},HK=NK,jK={name:"Result",common:Ne,self:iS},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,aS=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:aS},GK=KK,YK={name:"Spin",common:Ne,self:aS},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,sS={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({},sS),{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({},sS),{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}},lS=TG,RG={name:"TreeSelect",common:Ne,peers:{Tree:lS,Empty:ji,InternalSelection:em}},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:rS},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:Iu},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 Yd(e){return e==null?!0:!Number.isNaN(e)}function G0(e,t){return e==null?"":t===void 0?String(e):e.toFixed(t)}function Xd(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",` + `),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",` display: inline-block; margin-right: 10px; `),z("input-number-prefix",` display: inline-block; margin-left: 10px; - `)]),Y0=800,X0=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=ge({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 be=String(ee).split(".")[1];return be?be.length:0},w=ee=>{const be=[e.min,e.max,e.step,ee].map(Pe=>Pe===void 0?0:b(Pe));return Math.max(...be)},C=St(()=>{const{placeholder:ee}=e;return ee!==void 0?ee:i.value.placeholder}),S=St(()=>{const ee=Xd(e.step);return ee!==null?ee===0?1:Math.abs(ee):1}),_=St(()=>{const ee=Xd(e.min);return ee!==null?ee:null}),x=St(()=>{const ee=Xd(e.max);return ee!==null?ee:null}),y=ee=>{const{value:be}=m;if(ee===be){P();return}const{"onUpdate:value":Pe,onUpdateValue:I,onChange:N}=e,{nTriggerFormInput:te,nTriggerFormChange:Ce}=a;N&&Ee(N,ee),I&&Ee(I,ee),Pe&&Ee(Pe,ee),p.value=ee,te(),Ce()},k=({offset:ee,doUpdateIfValid:be,fixPrecision:Pe,isInputing:I})=>{const{value:N}=v;if(I&&GG(N))return!1;const te=(e.parse||KG)(N);if(te===null)return be&&y(null),null;if(Yd(te)){const Ce=b(te),{precision:ae}=e;if(ae!==void 0&&aeoe){if(!be||I)return!1;fe=oe}if(ue!==null&&fe{const{value:ee}=m;if(Yd(ee)){const{format:be,precision:Pe}=e;be?v.value=be(ee):ee===null||Pe===void 0||b(ee)>Pe?v.value=G0(ee,void 0):v.value=G0(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:be}=S;return k({offset:-be,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1}),R=St(()=>{const{value:ee}=m;if(e.validator&&ee===null)return!1;const{value:be}=S;return k({offset:+be,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1});function K(ee){const{onFocus:be}=e,{nTriggerFormFocus:Pe}=a;be&&Ee(be,ee),Pe()}function H(ee){var be,Pe;if(ee.target===((be=u.value)===null||be===void 0?void 0:be.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:N}=e,{nTriggerFormBlur:te}=a;N&&Ee(N,ee),te(),Ht(()=>{P()})}function D(ee){const{onClear:be}=e;be&&Ee(be,ee)}function M(){const{value:ee}=R;if(!ee){J();return}const{value:be}=m;if(be===null)e.validator||y(he());else{const{value:Pe}=S;k({offset:Pe,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function Y(){const{value:ee}=$;if(!ee){ye();return}const{value:be}=m;if(be===null)e.validator||y(he());else{const{value:Pe}=S;k({offset:-Pe,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}const Q=K,de=H;function he(){if(e.validator)return null;const{value:ee}=_,{value:be}=x;return ee!==null?Math.max(0,ee):be!==null?Math.min(0,be):0}function B(ee){D(ee),y(null)}function E(ee){var be,Pe,I;!((be=f.value)===null||be===void 0)&&be.$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,ne=null;function ye(){ne&&(window.clearTimeout(ne),ne=null),A&&(window.clearInterval(A),A=null)}function J(){j&&(window.clearTimeout(j),j=null),G&&(window.clearInterval(G),G=null)}function xe(){ye(),ne=window.setTimeout(()=>{A=window.setInterval(()=>{Y()},X0)},Y0),It("mouseup",document,ye,{once:!0})}let j=null;function ve(){J(),j=window.setTimeout(()=>{G=window.setInterval(()=>{M()},X0)},Y0),It("mouseup",document,J,{once:!0})}const Oe=()=>{G||M()},Le=()=>{A||Y()};function F(ee){var be,Pe;if(ee.key==="Enter"){if(ee.target===((be=u.value)===null||be===void 0?void 0:be.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:ve,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,[be,Pe,I,N]=jo(ee);return{textColorTextDisabled:`rgb(${be}, ${Pe}, ${I})`,opacityDisabled:`${N}`}})})},render(){const{mergedClsPrefix:e,$slots:t}=this,n=()=>g(I0,{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(I0,{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)}}))}}),cS="n-layout-sider",uS={type:String,default:"static"},JG=z("layout",` + `)]),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",` color: var(--n-text-color); background-color: var(--n-color); box-sizing: border-box; @@ -2761,7 +2761,7 @@ ${t} right: 0; top: 0; bottom: 0; - `)]),QG={embedded:Boolean,position:uS,nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,onScroll:Function,contentClass:String,contentStyle:{type:[String,Object],default:""},hasSider:Boolean,siderPlacement:{type:String,default:"left"}},dS="n-layout";function eY(e){return ge({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,eS,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(dS,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)};Fp(()=>{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",` + `)]),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",` flex-shrink: 0; box-sizing: border-box; position: relative; @@ -2869,7 +2869,7 @@ ${t} left: 0; top: 0; bottom: 0; - `)]),oY=ge({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(Zp,null)}))}}),rY=ge({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:uS,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=ge({name:"LayoutSider",props:Object.assign(Object.assign({},Be.props),iY),setup(e){const t=We(dS),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,_)};Fp(()=>{if(e.nativeScrollbar){const _=n.value;_&&(_.scrollTop=f,_.scrollLeft=d)}}),at(cS,{collapsedRef:l,collapseModeRef:Ve(e,"collapseMode")});const{mergedClsPrefixRef:h,inlineThemeDisabled:m}=st(e),v=Be("Layout","-layout-sider",nY,eS,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",` + `)]),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",` --n-merged-border-color: var(--n-border-color); --n-merged-color: var(--n-color); --n-merged-color-hover: var(--n-color-hover); @@ -2941,7 +2941,7 @@ ${t} --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}}),fS="n-list",bm=ge({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(fS,{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=ge({name:"ListItem",setup(){const e=We(fS,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`}))}}),hS="n-loading-bar",pS="n-loading-bar-api",fY=z("loading-bar-container",` + `))]),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",` z-index: 5999; position: fixed; top: 0; @@ -2966,7 +2966,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=ge({name:"LoadingBar",props:{containerClass:String,containerStyle:[String,Object]},setup(){const{inlineThemeDisabled:e}=st(),{props:t,mergedClsPrefixRef:n}=We(hS),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=ge({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(pS,o),at(hS,{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(pS,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]},mS=Object.assign(Object.assign({},_m),{tmNode:{type:Object,required:!0},tmNodes:{type:Array,required:!0}}),vY=ge({name:"MenuOptionGroup",props:mS,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))))}}}),gS=ge({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)}}),vS=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}),Th=ge({name:"Submenu",props:vS,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(gS,{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())}}),bS=Object.assign(Object.assign({},_m),{tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function}),bY=ge({name:"MenuOption",props:bS,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(Ou,{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(gS,{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=ge({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(mS),CY=Yr(bS),wY=Yr(vS);function Rh(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(Rh(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(Th,Xn(l,wY,{key:i,rawNodes:n[t.childrenField],tmNodes:e.children,tmNode:e})):g(bY,Xn(l,CY,{key:i,tmNode:e}))}const Z0=[q("&::before","background-color: var(--n-item-color-hover);"),V("arrow",` + `)])]);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",` color: var(--n-arrow-color-hover); `),V("icon",` color: var(--n-item-icon-color-hover); @@ -2976,7 +2976,7 @@ ${t} color: var(--n-item-text-color-hover); `),V("extra",` color: var(--n-item-text-color-hover); - `)])],J0=[V("icon",` + `)])],Q0=[V("icon",` color: var(--n-item-icon-color-hover-horizontal); `),z("menu-item-content-header",` color: var(--n-item-text-color-hover-horizontal); @@ -3013,11 +3013,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",J0)]),Z("selected",[si(null,[V("icon","color: var(--n-item-icon-color-active-hover-horizontal);"),z("menu-item-content-header",` + `)]),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",` 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",` 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);",J0)]),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);")])])]),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",` overflow: hidden; text-overflow: ellipsis; `)]),Z("collapsed",[z("menu-item-content",[Z("selected",[q("&::before",` @@ -3068,11 +3068,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",Z0)]),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",` + `)]),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",` 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",` 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,Z0)]),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",[si(null,[q("&::before","background-color: var(--n-item-color-active-hover);")])]),si(null,J0)]),V("icon",` grid-area: icon; color: var(--n-item-icon-color); transition: @@ -3126,7 +3126,7 @@ ${t} `),z("submenu-children",` overflow: hidden; padding: 0; - `,[tm({duration:".2s"})])]),z("menu-item-group",[z("menu-item-group-title",` + `,[nm({duration:".2s"})])]),z("menu-item-group",[z("menu-item-group-title",` margin-top: 6px; color: var(--n-group-text-color); cursor: default; @@ -3145,12 +3145,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=ge({name:"Menu",props:kY,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Menu","-menu",SY,SK,e,t),r=We(cS,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 Rh(G)},getChildren(G){return G[E]},getDisabled(G){return G[A]},getKey(G){var ne;return(ne=G[B])!==null&&ne!==void 0?ne: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:ne}=e;G&&Ee(G,B,E),A&&Ee(A,B,E),ne&&Ee(ne,B,E),c.value=B}function C(B){const{"onUpdate:expandedKeys":E,onUpdateExpandedKeys:A,onExpandedNamesChange:G,onOpenNamesChange:ne}=e;E&&Ee(E,B),A&&Ee(A,B),G&&Ee(G,B),ne&&Ee(ne,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(ne=>s.value.has(ne));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(ne=>{G.has(ne)&&!E.includes(ne)&&G.delete(ne)}),C(Array.from(G))},x=L(()=>{const{inverted:B}=e,{common:{cubicBezierEaseInOut:E},self:A}=o.value,{borderRadius:G,borderColorHorizontal:ne,fontSize:ye,itemHeight:J,dividerColor:xe}=A,j={"--n-divider-color":xe,"--n-bezier":E,"--n-font-size":ye,"--n-border-color-horizontal":ne,"--n-border-radius":G,"--n-item-height":J};return B?(j["--n-group-text-color"]=A.groupTextColorInverted,j["--n-color"]=A.colorInverted,j["--n-item-text-color"]=A.itemTextColorInverted,j["--n-item-text-color-hover"]=A.itemTextColorHoverInverted,j["--n-item-text-color-active"]=A.itemTextColorActiveInverted,j["--n-item-text-color-child-active"]=A.itemTextColorChildActiveInverted,j["--n-item-text-color-child-active-hover"]=A.itemTextColorChildActiveInverted,j["--n-item-text-color-active-hover"]=A.itemTextColorActiveHoverInverted,j["--n-item-icon-color"]=A.itemIconColorInverted,j["--n-item-icon-color-hover"]=A.itemIconColorHoverInverted,j["--n-item-icon-color-active"]=A.itemIconColorActiveInverted,j["--n-item-icon-color-active-hover"]=A.itemIconColorActiveHoverInverted,j["--n-item-icon-color-child-active"]=A.itemIconColorChildActiveInverted,j["--n-item-icon-color-child-active-hover"]=A.itemIconColorChildActiveHoverInverted,j["--n-item-icon-color-collapsed"]=A.itemIconColorCollapsedInverted,j["--n-item-text-color-horizontal"]=A.itemTextColorHorizontalInverted,j["--n-item-text-color-hover-horizontal"]=A.itemTextColorHoverHorizontalInverted,j["--n-item-text-color-active-horizontal"]=A.itemTextColorActiveHorizontalInverted,j["--n-item-text-color-child-active-horizontal"]=A.itemTextColorChildActiveHorizontalInverted,j["--n-item-text-color-child-active-hover-horizontal"]=A.itemTextColorChildActiveHoverHorizontalInverted,j["--n-item-text-color-active-hover-horizontal"]=A.itemTextColorActiveHoverHorizontalInverted,j["--n-item-icon-color-horizontal"]=A.itemIconColorHorizontalInverted,j["--n-item-icon-color-hover-horizontal"]=A.itemIconColorHoverHorizontalInverted,j["--n-item-icon-color-active-horizontal"]=A.itemIconColorActiveHorizontalInverted,j["--n-item-icon-color-active-hover-horizontal"]=A.itemIconColorActiveHoverHorizontalInverted,j["--n-item-icon-color-child-active-horizontal"]=A.itemIconColorChildActiveHorizontalInverted,j["--n-item-icon-color-child-active-hover-horizontal"]=A.itemIconColorChildActiveHoverHorizontalInverted,j["--n-arrow-color"]=A.arrowColorInverted,j["--n-arrow-color-hover"]=A.arrowColorHoverInverted,j["--n-arrow-color-active"]=A.arrowColorActiveInverted,j["--n-arrow-color-active-hover"]=A.arrowColorActiveHoverInverted,j["--n-arrow-color-child-active"]=A.arrowColorChildActiveInverted,j["--n-arrow-color-child-active-hover"]=A.arrowColorChildActiveHoverInverted,j["--n-item-color-hover"]=A.itemColorHoverInverted,j["--n-item-color-active"]=A.itemColorActiveInverted,j["--n-item-color-active-hover"]=A.itemColorActiveHoverInverted,j["--n-item-color-active-collapsed"]=A.itemColorActiveCollapsedInverted):(j["--n-group-text-color"]=A.groupTextColor,j["--n-color"]=A.color,j["--n-item-text-color"]=A.itemTextColor,j["--n-item-text-color-hover"]=A.itemTextColorHover,j["--n-item-text-color-active"]=A.itemTextColorActive,j["--n-item-text-color-child-active"]=A.itemTextColorChildActive,j["--n-item-text-color-child-active-hover"]=A.itemTextColorChildActiveHover,j["--n-item-text-color-active-hover"]=A.itemTextColorActiveHover,j["--n-item-icon-color"]=A.itemIconColor,j["--n-item-icon-color-hover"]=A.itemIconColorHover,j["--n-item-icon-color-active"]=A.itemIconColorActive,j["--n-item-icon-color-active-hover"]=A.itemIconColorActiveHover,j["--n-item-icon-color-child-active"]=A.itemIconColorChildActive,j["--n-item-icon-color-child-active-hover"]=A.itemIconColorChildActiveHover,j["--n-item-icon-color-collapsed"]=A.itemIconColorCollapsed,j["--n-item-text-color-horizontal"]=A.itemTextColorHorizontal,j["--n-item-text-color-hover-horizontal"]=A.itemTextColorHoverHorizontal,j["--n-item-text-color-active-horizontal"]=A.itemTextColorActiveHorizontal,j["--n-item-text-color-child-active-horizontal"]=A.itemTextColorChildActiveHorizontal,j["--n-item-text-color-child-active-hover-horizontal"]=A.itemTextColorChildActiveHoverHorizontal,j["--n-item-text-color-active-hover-horizontal"]=A.itemTextColorActiveHoverHorizontal,j["--n-item-icon-color-horizontal"]=A.itemIconColorHorizontal,j["--n-item-icon-color-hover-horizontal"]=A.itemIconColorHoverHorizontal,j["--n-item-icon-color-active-horizontal"]=A.itemIconColorActiveHorizontal,j["--n-item-icon-color-active-hover-horizontal"]=A.itemIconColorActiveHoverHorizontal,j["--n-item-icon-color-child-active-horizontal"]=A.itemIconColorChildActiveHorizontal,j["--n-item-icon-color-child-active-hover-horizontal"]=A.itemIconColorChildActiveHoverHorizontal,j["--n-arrow-color"]=A.arrowColor,j["--n-arrow-color-hover"]=A.arrowColorHover,j["--n-arrow-color-active"]=A.arrowColorActive,j["--n-arrow-color-active-hover"]=A.arrowColorActiveHover,j["--n-arrow-color-child-active"]=A.arrowColorChildActive,j["--n-arrow-color-child-active-hover"]=A.arrowColorChildActiveHover,j["--n-item-color-hover"]=A.itemColorHover,j["--n-item-color-active"]=A.itemColorActive,j["--n-item-color-active-hover"]=A.itemColorActiveHover,j["--n-item-color-active-collapsed"]=A.itemColorActiveCollapsed),j}),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 H=W(-1);function D(B){H.value=e.options.length-B}function M(B){B||(H.value=-1)}const Y=L(()=>{const B=H.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 Rh(G)},getChildren(G){return G[B]},getDisabled(G){return G[E]},getKey(G){var ne;return(ne=G[A])!==null&&ne!==void 0?ne:G.name}})}),de=L(()=>wi([{}]).treeNodes[0]);function he(){var B;if(H.value===-1)return g(Th,{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(ne=>A.includes(ne.key)));return g(Th,{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:he,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(uh,{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()}}),yS={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},xS="n-message-api",CS="n-message-provider",TY=q([z("message-wrapper",` + `)]);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",` margin: var(--n-margin); z-index: 0; transform-origin: top center; display: flex; - `,[tm({overflow:"visible",originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.85)"}})]),z("message",` + `,[nm({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 +3238,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=ge({name:"Message",props:Object.assign(Object.assign({},yS),{render:Function}),setup(e){const{inlineThemeDisabled:t,mergedRtlRef:n}=st(e),{props:o,mergedClsPrefixRef:r}=We(CS),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)]:H,[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":H,"--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=ge({name:"MessageEnvironment",props:Object.assign(Object.assign({},yS),{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=ge({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(CS,{props:e,mergedClsPrefixRef:t}),at(xS,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(xS,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=ge({name:"ModalEnvironment",props:Object.assign(Object.assign({},q2),{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}))}}),Q0="n-modal-provider",wS="n-modal-api",DY="n-modal-reactive-list",LY={to:[String,Object]},FY=ge({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(wS,s),at(Q0,{clickedRef:Rc(64),clickedPositionRef:Tc()}),at(DY,n),at(Q0,{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(wS,null);return e===null&&ur("use-modal","No outer founded."),e}const Lu="n-notification-provider",NY=ge({name:"NotificationContainer",props:{scrollable:{type:Boolean,required:!0},placement:{type:String,required:!0}},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t,wipTransitionCountRef:n}=We(Lu),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=ge({name:"Notification",props:km,setup(e){const{mergedClsPrefixRef:t,mergedThemeRef:n,props:o}=We(Lu),{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:H,titleFontSize:D,metaFontSize:M,descriptionFontSize:Y,[Te("iconColor",c)]:Q},common:{cubicBezierEaseOut:de,cubicBezierEaseIn:he,cubicBezierEaseInOut:B}}=n.value,{left:E,right:A,top:G,bottom:ne}=_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":he,"--n-border-radius":w,"--n-box-shadow":S,"--n-close-border-radius":R,"--n-close-color-hover":K,"--n-close-color-pressed":H,"--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":ne,"--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=ge({name:"NotificationEnvironment",props:Object.assign(Object.assign({},WY),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const{wipTransitionCountRef:t}=We(Lu),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",` + `)])]),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",` z-index: 4000; position: fixed; overflow: visible; @@ -3427,7 +3427,7 @@ ${t} transform: translate(${n}, 0); `),q("&.notification-transition-leave-from, &.notification-transition-enter-to",` transform: translate(${o}, 0); - `)])}const _S="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=ge({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(_S,c),at(Lu,{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(_S,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 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",` color: var(--n-icon-color); transition: color .3s var(--n-bezier); `),Z("line",` @@ -3590,13 +3590,13 @@ ${t} right: 0; opacity: 0; } - `)]),ZY={success:g(Fi,null),error:g(Li,null),warning:g(Bi,null),info:g(jr,null)},JY=ge({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=ge({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} + `)]),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 e1(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=ge({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:e1(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:e1(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=ge({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",` + 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",` 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*Zd,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,H=P+(y-R)/2;w.drawImage(C,K,H,$,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",` + `)]),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",` color: var(--n-text-color); line-height: var(--n-line-height); font-size: var(--n-font-size); @@ -3627,7 +3627,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=ge({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=ge({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",` + `)])]),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",` height: 1em; width: 100%; transition: @@ -3649,7 +3649,7 @@ ${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=ge({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,NC(e,null).map(i=>[r,` + `)]),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",` from { transform: rotate(0); @@ -3692,7 +3692,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=ge({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",` + `)])]),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",` height: var(--n-height); min-width: var(--n-width); vertical-align: middle; @@ -3793,9 +3793,9 @@ ${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=ge({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:H,loadingColor:D,textColor:M,iconColor:Y,[Te("buttonHeight",k)]:Q,[Te("buttonWidth",k)]:de,[Te("buttonWidthPressed",k)]:he,[Te("railHeight",k)]:B,[Te("railWidth",k)]:E,[Te("railBorderRadius",k)]:A,[Te("buttonBorderRadius",k)]:G},common:{cubicBezierEaseInOut:ne}}=o.value;let ye,J,xe;return is?(ye=`calc((${B} - ${Q}) / 2)`,J=`max(${B}, ${Q})`,xe=`max(${E}, calc(${E} + ${Q} - ${B}))`):(ye=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":ne,"--n-button-border-radius":G,"--n-button-box-shadow":R,"--n-button-color":K,"--n-button-width":de,"--n-button-width-pressed":he,"--n-button-height":Q,"--n-height":J,"--n-offset":ye,"--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":H,"--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=ge({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=Jy(()=>g(t2,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,kS={name:"dark",common:Ne,Alert:xH,Anchor:AH,AutoComplete:KH,Avatar:N_,AvatarGroup:JH,BackTop:ej,Badge:cj,Breadcrumb:pj,Button:Wn,ButtonGroup:Zq,Calendar:$j,Card:G_,Carousel:Vj,Cascader:hV,Checkbox:ja,Code:e2,Collapse:_V,CollapseTransition:PV,ColorPicker:Oj,DataTable:uW,DatePicker:SU,Descriptions:RU,Dialog:N2,Divider:XU,Drawer:nq,Dropdown:hm,DynamicInput:wq,DynamicTags:$q,Element:Iq,Empty:ji,Ellipsis:f2,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:c2,Popconfirm:OK,Popover:Wi,Popselect:n2,Progress:rS,QrCode:aX,Radio:m2,Rate:FK,Result:VK,Row:NG,Scrollbar:Vn,Select:a2,Skeleton:_X,Slider:qK,Space:Z2,Spin:XK,Statistic:QK,Steps:oG,Switch:iG,Table:fG,Tabs:gG,Tag:$_,Thing:yG,TimePicker:L2,Timeline:wG,Tooltip:Iu,Transfer:kG,Tree:lS,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=ge({__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)=>(pe(),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})),PS=(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:Eh}=XX();function Fu(e){return Lh()?(Z1(e),!0):!1}function Co(e){return typeof e=="function"?e():we(e)}const TS=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]",RS=()=>{};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 ES=e=>e();function aZ(e=ES){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($3(()=>({get:t,set:RS}))):W(t)}function cZ(e,t,n={}){const{eventFilter:o=ES,...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 $S(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=TS?window:void 0,fZ=TS?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 RS;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 Fu(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 Fu(()=>{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 AS(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()}},t1="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=AS("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&&$S(()=>{Lc(d,"storage",k),Lc(d,t1,P),h&&k()}),h||k();function _(T,$){d&&d.dispatchEvent(new CustomEvent(t1,{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 IS(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=IS({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=AS("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}),$S(()=>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 Fu(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 OS(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:IS({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 n1=["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,n1,v,!1),Lc(()=>Ta(r),n1,v,!1),o&&Fu(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:OS(),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){xC(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=!wC(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?kS:void 0,themeOverrides:Eh})),{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 Jd(e){nl.set(TZ,e,RZ)}function EZ(e){if(e.method==="get"&&(e.params={...e.params,t:new Date().getTime()}),AR(e))return e;const t=Hx();return t.value?(e.headers.Authorization=e.headers.Authorization||t.value,e.headers["Content-Language"]=gu().value||"zh-CN",e):(dp(),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"},timeout:12e3},n=ER.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 MS(){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 Bu(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 o1(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 zS(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(){jx(),this.userInfo={},dp()},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 DS(e,t){const n=[];return e.forEach(o=>{if(uJ(o,t)){const r={...o,children:[]};o.children&&o.children.length?r.children=DS(o.children,t):Reflect.deleteProperty(r,"children"),n.push(r)}}),n}const LS=au("permission",{state(){return{accessRoutes:[]}},getters:{routes(){return ux.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=DS(dx,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(a5())}const gJ=["/login","/register","/forgetpassword"];function vJ(e){const t=Ki(),n=LS();e.beforeEach(async(o,r,i)=>{var s;Hx().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=>{jx(),dp(),window.$message.error(c.message||"获取用户信息失败!")})]),n.generateRoutes(t.role).forEach(c=>{c.name&&!e.hasRoute(c.name)&&e.addRoute(c)}),e.addRoute(n5),i({...o,replace:!0})):gJ.includes(o.path)?i():i({path:"/login"})})}function bJ(e){o5(e),vJ(e),r5(e)}const Gt=kT({history:eT("/"),routes:ux,scrollBehavior:()=>({left:0,top:0})});function yJ(e){e.use(Gt),bJ(Gt)}const xJ=ge({__name:"AppProvider",setup(e){const t=Pn(),n={"zh-CN":[UL,v0],"en-US":[d_,h_],"fa-IR":[n9,FB],"ko-KR":[JL,X7],"vi-VN":[e9,DB],"zh-TW":[KL,v0],"ja-JP":[XL,f7]};function o(){const r=Eh.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=t2;return pe(),qe(a,{"wh-full":"",locale:n[we(t).lang][0],"date-locale":n[we(t).lang][1],theme:we(t).isDark?we(kS):void 0,"theme-overrides":we(Eh)},{default:ce(()=>[Qc(r.$slots,"default")]),_:3},8,["locale","date-locale","theme","theme-overrides"])}}}),CJ=ge({__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 pe(),qe(xJ,null,{default:ce(()=>[ie(i,null,{default:ce(({Component:a})=>[(pe(),qe(Yc(a)))]),_:1})]),_:1})}}}),Nu=Jy(CJ);mJ(Nu);PZ();yJ(Nu);j$(Nu);Nu.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 pe(),ze("svg",wJ,[...SJ])}const FS={name:"gg-close",render:kJ},PJ={"h-60":"","f-c-c":""},TJ=["src"],RJ=ge({__name:"SideLogo",setup(e){const t=Pn();return(n,o)=>{const r=FS,i=zt;return pe(),ze("div",PJ,[we(t).logo?(pe(),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]=vP(()=>{},["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=ge({__name:"SideMenu",setup(e){const t=Pn(),n=h=>gn.global.t(h);function o(){window.innerWidth<=950&&(t.collapsed=!0)}const r=cx(),i=Aa(),a=LS(),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 Fv(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?PS(h.customIcon,{size:18}):h!=null&&h.icon?Zs(h.icon,{size:18}):null}function p(h,m){Fv(m.path)?window.open(m.path):r.push(m.path)}return(h,m)=>{const v=PY;return pe(),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"])}}}),r1=ge({__name:"index",setup(e){return(t,n)=>(pe(),ze(rt,null,[ie(RJ),ie(EJ)],64))}}),$J=ge({__name:"AppMain",setup(e){const t=pJ();return(n,o)=>{const r=Gc("router-view");return pe(),qe(r,null,{default:ce(({Component:i,route:a})=>[we(t).reloading?pt("",!0):(pe(),qe(Yc(i),{key:a.fullPath}))]),_:1})}}}),AJ=ge({__name:"BreadCrumb",setup(e){const t=Aa();function n(o){return o!=null&&o.customIcon?PS(o.customIcon,{size:18}):o!=null&&o.icon?Zs(o.icon,{size:18}):null}return(o,r)=>{const i=xj,a=vj;return pe(),qe(a,null,{default:ce(()=>[(pe(!0),ze(rt,null,Hn(we(t).matched.filter(s=>{var l;return!!((l=s.meta)!=null&&l.title)}),s=>(pe(),qe(i,{key:s.path},{default:ce(()=>[(pe(),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 pe(),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 pe(),ze("svg",LJ,[...BJ])}const HJ={name:"mdi-format-indent-increase",render:NJ},jJ=ge({__name:"MenuCollapse",setup(e){const t=Pn();return(n,o)=>{const r=HJ,i=DJ,a=mr;return pe(),qe(a,{size:"20","cursor-pointer":"",onClick:we(t).switchCollapsed},{default:ce(()=>[we(t).collapsed?(pe(),qe(r,{key:0})):(pe(),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 pe(),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 pe(),ze("svg",GJ,[...XJ])}const JJ={name:"ant-design-fullscreen-exit-outlined",render:ZJ},QJ=ge({__name:"FullScreen",setup(e){const{isFullscreen:t,toggle:n}=_Z();return(o,r)=>{const i=JJ,a=KJ,s=mr;return pe(),qe(s,{mr20:"",size:"18",style:{cursor:"pointer"},onClick:we(n)},{default:ce(()=>[we(t)?(pe(),qe(i,{key:0})):(pe(),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 pe(),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 pe(),ze("svg",iQ,[...lQ])}const uQ={name:"carbon-user-avatar-filled",render:cQ},dQ={class:"hidden md:block"},fQ=ge({__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 pe(),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 pe(),ze("svg",hQ,[...mQ])}const vQ={name:"fontisto-language",render:gQ},bQ=ge({__name:"SwitchLang",setup(e){const t=Pn();return(n,o)=>{const r=vQ,i=zt,a=lm;return pe(),qe(a,{value:we(t).lang,"onUpdate:value":o[0]||(o[0]=s=>we(t).lang=s),options:Object.entries(we(Kf)).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 pe(),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 pe(),ze("svg",SQ,[...PQ])}const RQ={name:"mdi-moon-waning-crescent",render:TQ},EQ=ge({__name:"ThemeMode",setup(e){const t=Pn(),n=OS(),o=()=>{t.toggleDark(),dZ(n)()};return(r,i)=>{const a=RQ,s=_Q,l=mr;return pe(),qe(l,{"mr-20":"","cursor-pointer":"",size:"18",onClick:o},{default:ce(()=>[we(n)?(pe(),qe(a,{key:0})):(pe(),qe(s,{key:1}))]),_:1})}}}),$Q={flex:"","items-center":""},AQ={"ml-auto":"",flex:"","items-center":""},IQ=ge({__name:"index",setup(e){return(t,n)=>(pe(),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=ge({__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=Y2,u=tY;return pe(),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(r1)]),_: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(r1)]),_: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"})),Hu=(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 pe(),ze("footer",LQ,NQ)}const jQ=Hu(DQ,[["render",HQ]]),VQ={class:"cus-scroll-y wh-full flex-col bg-[#f5f6fb] p-5 dark:bg-hex-121212 md:p-15"},ho=ge({__name:"AppPage",props:{showFooter:{type:Boolean,default:!1}},setup(e){return(t,n)=>{const o=jQ,r=sj;return pe(),qe(fn,{name:"fade-slide",mode:"out-in",appear:""},{default:ce(()=>[U("section",VQ,[Qc(t.$slots,"default"),e.showFooter?(pe(),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 pe(),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 pe(),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 pe(),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 pe(),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 pe(),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 pe(),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 pe(),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",BS="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 NS=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={},i1={};function G8e(e){var t,n,o=i1[e];if(o)return o;for(o=i1[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}ju.defaultChars=";/?:@&=+$,-_.!~*'()#";ju.componentChars="-_.!~*'()";var Y8e=ju,a1={};function X8e(e){var t,n,o=a1[e];if(o)return o;for(o=a1[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})}Vu.defaultChars=";/?:@&=+$,#";Vu.componentChars="";var Z8e=Vu,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),s1=["%","/","?",";","#"].concat(rIe),l1=["/","?","#"],iIe=255,c1=/^[+a-z0-9A-Z_-]{0,63}$/,aIe=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,u1={javascript:!0,"javascript:":!0},d1={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&&u1[c])&&(s=s.substr(2),this.slashes=!0)),!u1[c]&&(a||c&&!d1[c])){var u=-1;for(n=0;n127?b+="x":b+=v[w];if(!b.match(c1)){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),d1[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={},Qd,f1;function HS(){return f1||(f1=1,Qd=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Qd}var ef,h1;function jS(){return h1||(h1=1,ef=/[\0-\x1F\x7F-\x9F]/),ef}var tf,p1;function cIe(){return p1||(p1=1,tf=/[\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]/),tf}var nf,m1;function VS(){return m1||(m1=1,nf=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),nf}var g1;function uIe(){return g1||(g1=1,li.Any=HS(),li.Cc=jS(),li.Cf=cIe(),li.P=Rm,li.Z=VS()),li}(function(e){function t(H){return Object.prototype.toString.call(H)}function n(H){return t(H)==="[object String]"}var o=Object.prototype.hasOwnProperty;function r(H,D){return o.call(H,D)}function i(H){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){H[Y]=M[Y]})}}),H}function a(H,D,M){return[].concat(H.slice(0,D),M,H.slice(D+1))}function s(H){return!(H>=55296&&H<=57343||H>=64976&&H<=65007||(H&65535)===65535||(H&65535)===65534||H>=0&&H<=8||H===11||H>=14&&H<=31||H>=127&&H<=159||H>1114111)}function l(H){if(H>65535){H-=65536;var D=55296+(H>>10),M=56320+(H&1023);return String.fromCharCode(D,M)}return String.fromCharCode(H)}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=NS;function h(H,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):H}function m(H){return H.indexOf("\\")<0?H:H.replace(c,"$1")}function v(H){return H.indexOf("\\")<0&&H.indexOf("&")<0?H:H.replace(d,function(D,M,Y){return M||h(D,Y)})}var b=/[&<>"]/,w=/[&<>"]/g,C={"&":"&","<":"<",">":">",'"':"""};function S(H){return C[H]}function _(H){return b.test(H)?H.replace(w,S):H}var x=/[.?*+^$[\]\\(){}|-]/g;function y(H){return H.replace(x,"\\$&")}function k(H){switch(H){case 9:case 32:return!0}return!1}function P(H){if(H>=8192&&H<=8202)return!0;switch(H){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 $(H){return T.test(H)}function R(H){switch(H){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(H){return H=H.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(H=H.replace(/ẞ/g,"ß")),H.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 Wu={},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=v1(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)+` + `)])]),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.headers["Content-Language"]=gu().value||"zh-CN",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"},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+` `):"
"+c+`
@@ -3808,5 +3808,5 @@ ${t} `),i+=(s.nesting===-1?" `:">",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&&WS.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),WS.test(t.tokens[n].content)&&IIe(t.tokens[n].children))},b1=Ft.isWhiteSpace,y1=Ft.isPunctChar,x1=Ft.isMdAsciiPunct,MIe=/['"]/,C1=/['"]/g,w1="’";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,w1));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 US(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}US.prototype.Token=FIe;var BIe=US,NIe=Em,of=[["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&&!rf(x))||_===45&&rf(x))return!1;for(;s=4||(d=_1(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=_1(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=k1(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=S1(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,H=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=H.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"],Uu={},eOe="[a-zA-Z_:][a-zA-Z0-9:._-]*",tOe="[^\"'=<>`\\x00-\\x20]+",nOe="'[^']*'",oOe='"[^"]*"',rOe="(?:"+tOe+"|"+nOe+"|"+oOe+")",iOe="(?:\\s+"+eOe+"(?:\\s*=\\s*"+rOe+")?)",KS="<[A-Za-z][A-Za-z0-9\\-]*"+iOe+"*\\s*\\/?>",GS="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",aOe="|",sOe="<[?][\\s\\S]*?[?]>",lOe="]*>",cOe="",uOe=new RegExp("^(?:"+KS+"|"+GS+"|"+aOe+"|"+sOe+"|"+lOe+"|"+cOe+")"),dOe=new RegExp("^(?:"+KS+"|"+GS+")");Uu.HTML_TAG_RE=uOe;Uu.HTML_OPEN_CLOSE_TAG_RE=dOe;var fOe=QIe,hOe=Uu.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&&P1(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(!qu(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=YS;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 Ku(){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--))}Yu.postProcess=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for(E1(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,lf=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=Uu.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)},$1=NS,jOe=Ft.has,VOe=Ft.isValidEntityCode,A1=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)?A1(r):A1(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($1,i[1]))return n||(a=t.push("text_special","",0),a.content=$1[i[1]],a.markup=i[0],a.info="entity"),t.pos+=i[0].length,!0;return!1};function I1(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(I1(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}),df}function $h(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 Xu(e){return Object.prototype.toString.call(e)}function JOe(e){return Xu(e)==="[object String]"}function QOe(e){return Xu(e)==="[object Object]"}function eMe(e){return Xu(e)==="[object RegExp]"}function F1(e){return Xu(e)==="[object Function]"}function tMe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var XS={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function nMe(e){return Object.keys(e||{}).reduce(function(t,n){return t||XS.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 B1(){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):F1(l.validate)?c.validate=l.validate:i(s,l),F1(l.normalize)?c.normalize=l.normalize:l.normalize?i(s,l):c.normalize=B1();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:B1()};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 Ah(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__=$h({},XS,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=$h({},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__=$h(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(Ah(this,n)),n=this.__last_index__);for(var r=n?t.slice(n):t;this.test(r);)o.push(Ah(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,Ah(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,ZS=72,JS=128,QS="-",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"},ff=Lo-Mm,Fo=Math.floor,hf=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 ek(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},N1=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},nk=function(e,t,n){let o=0;for(e=n?Fo(e/dMe):e>>1,e+=Fo(e/t);e>ff*Js>>1;o+=Lo)e=Fo(e/ff);return Fo(o+(ff+1)*e/(e+uMe))},Dm=function(e){const t=[],n=e.length;let o=0,r=JS,i=ZS,a=e.lastIndexOf(QS);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=nk(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=JS,r=0,i=ZS;for(const l of e)l<128&&t.push(hf(l));const a=t.length;let s=a;for(a&&t.push(QS);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=ik.toASCII(t.hostname)}catch{}return gi.encode(gi.format(t))}function zMe(e){var t=gi.parse(e,!0);if(t.hostname&&(!t.protocol||ak.indexOf(t.protocol)>=0))try{t.hostname=ik.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 Zu=fp(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 pe(),ze("svg",FMe,[U("defs",null,[(pe(),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=R4('',2),qMe=[UMe];function KMe(e,t){return pe(),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 pe(),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:"已折抵"},sk={month_price:"月付",quarter_price:"季付",half_year_price:"半年付",year_price:"年付",two_year_price:"两年付",three_year_price:"三年付",onetime_price:"一次性",reset_price:"流量重置包"},Gi=e=>(N3("data-v-ecba5f1f"),e=e(),H3(),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:BS,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:BS,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=ge({__name:"index",setup(e){const t=B=>gn.global.t(B),n=HX(),o=new Zu({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],V$(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){window.location.href=B}function S(B){return btoa(unescape(encodeURIComponent(B)))}const _=L(()=>a.subscribe);function x(){var G,ne,ye;const B=(G=_.value)==null?void 0:G.transfer_enable,E=((ne=_.value)==null?void 0:ne.u)||0,A=((ye=_.value)==null?void 0:ye.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 ye,J;if(!await window.$dialog.confirm({title:t("确定重置当前已用流量?"),type:"warning",content:t("点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。"),showIcon:!1}))return;const E=(ye=await Tm())==null?void 0:ye.data,A=E==null?void 0:E.find(xe=>xe.status===Rs.PENDING);if(A)if(await window.$dialog.confirm({title:t("注意"),type:"warning",content:t("你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?"),positiveText:t("确认取消"),negativeText:t("返回我的订单"),showIcon:!1})){const j=A.trade_no;if(!await Bu(j))return}else{Gt.push("order");return}const G=(J=_.value)==null?void 0:J.plan_id;if(!G)return;const{data:ne}=await zS(G,"reset_price");ne&&Gt.push("order/"+ne)}const K=W([]);async function H(){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 MS();if(B){Y.value=B;const A=[...new Set(B.map(G=>{let ne=G.type;return G.type==="hysteria"&&G.version==2&&(ne="hysteria2"),ne}))];Q.value=A,v.value=m.filter(G=>A.includes(G.type)||["auto","all"].includes(G.type))}}function he(){H(),a.getUserSubscribe(),M(),de()}return hn(()=>{he()}),(B,E)=>{const A=Qr,G=See,ne=ym,ye=mr,J=yee,xe=hl,j=SS,ve=fo,Oe=bm,Le=Ui,F=zt,O=fl,re=_i,_e=aV,ee=ml,be=qi,Pe=oX,I=pee,N=cee,te=ree,Ce=QQ,ae=GQ,fe=ho;return pe(),qe(fe,{"show-footer":!1},{default:ce(()=>{var oe,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:(oe=u.value)==null?void 0:oe.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(ve,{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(ne,{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")?(pe(),qe(ne,{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(ye,{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")?(pe(),qe(ne,{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(ne,{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(ve,{class:"w-300"},{default:ce(()=>[U("div",uze,le(B.$t("选择协议"))+":",1),U("div",dze,[(pe(!0),ze(rt,null,Hn(v.value,je=>(pe(),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(j,{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))?(pe(),qe(ne,{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))?(pe(),qe(ne,{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(ye,{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))?(pe(),qe(ne,{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(ye,{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))?(pe(),qe(ne,{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))?(pe(),qe(ne,{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))?(pe(),qe(ne,{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+"&types=hysteria2")+`&name=${we(i).title}`)})},[Sze,U("div",kze,le(B.$t("导入到"))+" NekoBox",1)])]),_:1})):pt("",!0),["android"].includes(we(l))?(pe(),qe(ne,{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+"&types=hysteria2")+`&name=${we(i).title}`)})},[Pze,U("div",Tze,le(B.$t("导入到"))+" Clash Meta",1)])]),_:1})):pt("",!0),["windows"].includes(we(l))?(pe(),qe(ne,{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+"&types=hysteria2")+`&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?(pe(),ze("div",Ize,[D.value[1]&&D.value[1]>0?(pe(),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?(pe(),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?(pe(),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(ve,{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,null,{default:ce(()=>[(pe(!0),ze(rt,null,Hn(K.value,ke=>(pe(),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(ve,{title:B.$t("我的订阅"),class:"mt-5 border-rounded-5 md:m-t-20"},{default:ce(()=>{var ke,Fe,je,Ae,Je,xt,X,me,$e,Ke,Xe,Ze,tt,it,yt,on;return[_.value?(ke=_.value)!=null&&ke.plan_id?(pe(),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?(pe(),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)?(pe(),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?(pe(),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)):(pe(),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)])):(pe(),qe(be,{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(ve,{title:B.$t("捷径"),class:"m-t-20 border-rounded-5","content-style":"padding: 0"},{default:ce(()=>[ie(Oe,{hoverable:"",clickable:""},{default:ce(()=>[ie(ne,{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(N,{class:"text-30 color-gray-500"})])])]),_:1}),ie(ne,{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(ne,{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(ne,{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=Hu(tDe,[["__scopeId","data-v-ecba5f1f"]]),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 pe(),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 pe(),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 pe(),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=ge({__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,H=zu,D=fl,M=lr,Y=ZG,Q=Qr,de=FS,he=cm,B=ho;return pe(),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):(pe(),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,ne,ye,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?(pe(),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((((ne=we(t).appConfig)==null?void 0:ne.commission_distribution_l3)||0)*a.value[3]/100)}%`),1)):(pe(),ze("div",kDe,le(a.value[3])+"%",1))]),U("div",PDe,[U("div",null,le(x.$t("确认中的佣金")),1),U("div",null,le((ye=we(t).appConfig)==null?void 0:ye.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(H,{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(H,{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(he,{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=ge({__name:"index",setup(e){const t=Pn(),n=new Zu({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=om,b=ml,w=qi,C=ym,S=bm,_=fo,x=yq,y=Y2,k=ho;return pe(),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?(pe(),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),(pe(!0),ze(rt,null,Hn(c.value,(P,T)=>(pe(),qe(_,{key:T,title:T,class:"mt-20 border-rounded-5",contentStyle:"padding:0"},{default:ce(()=>[ie(S,{clickable:"",hoverable:""},{default:ce(()=>[(pe(!0),ze(rt,null,Hn(P,$=>(pe(),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(xp)($.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 pe(),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=ge({__name:"index",setup(e){const t=W([]),n=W(!0);async function o(){n.value=!0;const r=await MS(),{data:i}=r;t.value=i,n.value=!1}return hn(()=>{o()}),(r,i)=>{const a=ml,s=qi,l=XDe,c=Ou,u=_i,d=ym,f=bm,p=Gc("router-link"),h=fl,m=ho;return pe(),qe(m,null,{default:ce(()=>[n.value?(pe(),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?(pe(),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(()=>[(pe(!0),ze(rt,null,Hn(t.value,v=>(pe(),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?(pe(),ze("div",cLe,[(pe(!0),ze(rt,null,Hn(v.tags,b=>(pe(),qe(u,{size:"small",round:"",key:b},{default:ce(()=>[nt(le(b),1)]),_:2},1024))),128))])):(pe(),ze("span",uLe,"-"))])])])]),_:2},1024))),128))]),_:1})):(pe(),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=ge({__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(sk[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:"warning",content:t("如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?"),async confirm(){const{data:l}=await Bu(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=zu,u=ho;return pe(),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 pe(),ze("svg",mLe,[...vLe])}const lk={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 pe(),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 pe(),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 pe(),ze("svg",ELe,[...ALe])}const OLe={name:"dashicons-warning",render:ILe},MLe={class:"p-20"},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=ge({__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:"warning",content:r("如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?"),async confirm(){const{data:y}=await Bu(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])-(((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=SS,T=Ui,$=fo,R=Qr,K=ml,H=qi,D=OLe,M=RLe,Y=_Le,Q=zt,de=lk,he=ho;return pe(),qe(he,null,{default:ce(()=>{var B,E,A,G,ne,ye,J,xe,j,ve,Oe,Le,F,O,re,_e,ee,be,Pe,I,N,te,Ce,ae,fe,oe;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($,{style:{width:"300px",padding:"0","max-width":"100%"},"content-style":"padding:0",bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{default:ce(()=>[U("div",MLe,[C.value?(pe(),qe(P,{key:0,value:C.value,class:"pay-qrcode",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?(pe(),qe(H,{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})):(pe(),ze("div",DLe,[U("div",LLe,[((B=l.value)==null?void 0:B.status)!==0?(pe(),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?(pe(),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?(pe(),qe(M,{key:1,class:"text-90 color-#48bc19"})):pt("",!0),(ke=l.value)!=null&&ke.status?(pe(),ze("div",FLe,le(i(l.value.status).title),1)):pt("",!0),(Fe=l.value)!=null&&Fe.status?(pe(),ze("div",BLe,le(i(l.value.status).subTitle),1)):pt("",!0),((je=l.value)==null?void 0:je.status)===3?(pe(),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(sk)[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?(pe(),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,me;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?(pe(),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?(pe(),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?(pe(),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?(pe(),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?(pe(),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)((me=l.value)==null?void 0:me.created_at)),1)])]}),_:1},8,["title"]),((E=l.value)==null?void 0:E.status)===0?(pe(),qe($,{key:1,title:y.$t("支付方式"),class:"mt-20","content-style":"padding:0"},{default:ce(()=>[(pe(!0),ze(rt,null,Hn(f.value,(ue,De)=>(pe(),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?(pe(),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((ne=we(t).appConfig)==null?void 0:ne.currency_symbol)+le(((ye=l.value)==null?void 0:ye.period)&&we(an)((J=l.value)==null?void 0:J.plan[l.value.period])),1)]),(xe=l.value)!=null&&xe.surplus_amount&&((j=l.value)==null?void 0:j.surplus_amount)>0?(pe(),ze("div",P9e,[U("div",T9e,le(y.$t("折抵")),1),U("div",R9e," - "+le((ve=we(t).appConfig)==null?void 0:ve.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?(pe(),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?(pe(),ze("div",I9e,[U("div",O9e,le(y.$t("退款")),1),U("div",M9e," - "+le((be=we(t).appConfig)==null?void 0:be.currency_symbol)+le(we(an)((Pe=l.value)==null?void 0:Pe.refund_amount)),1)])):pt("",!0),(I=l.value)!=null&&I.balance_amount&&((N=l.value)==null?void 0:N.balance_amount)>0?(pe(),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?(pe(),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((fe=we(t).appConfig)==null?void 0:fe.currency_symbol)+" "+le(we(an)(m()+v()))+" "+le((oe=we(t).appConfig)==null?void 0:oe.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 pe(),ze("svg",q9e,[...X9e])}const ck={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 pe(),ze("svg",J9e,[...tFe])}const uk={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=ge({__name:"index",setup(e){const t=Pn(),n=d=>gn.global.t(d),o=new Zu({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=S2,m=uk,v=ck,b=mr,w=zt,C=fo,S=ho;return pe(),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(()=>[(pe(),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,[(pe(!0),ze(rt,null,Hn(s.value,_=>(pe(),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(Lx)(_.content)?(pe(),ze("div",uFe,[(pe(!0),ze(rt,null,Hn(JSON.parse(_.content),(x,y)=>(pe(),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?(pe(),qe(m,{key:0})):(pe(),qe(v,{key:1}))]),_:2},1024),U("div",null,le(x.feature),1)],2))),128))])):(pe(),ze("div",{key:1,innerHTML:r(_.content||""),class:"markdown-body"},null,8,dFe))]),_:2},1032,["title"])],8,aFe))),128))])])]),_:1})}}}),hFe=Hu(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 pe(),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=ge({__name:"detail",setup(e){const t=Pn(),n=Aa(),o=Ki(),r=T=>gn.global.t(T),i=new Zu({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||wC(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:"warning",content:r("你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?"),positiveText:r("确认取消"),negativeText:r("返回我的订单"),confirm(){Bu(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:"warning",content:r("请注意,变更订阅会导致当前订阅被覆盖。"),confirm(){w()}});return}w()}async function w(){var R;v.value=!0;const T=c.value[l.value].key,{data:$}=await zS(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,H=uk,D=ck,M=mr,Y=fo,Q=Ui,de=yFe,he=zt,B=lk,E=ho;return pe(),qe(E,null,{default:ce(()=>{var A,G,ne,ye,J,xe,j,ve;return[S.value?(pe(),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})):(pe(),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(Lx)(((Oe=C.value)==null?void 0:Oe.content)||"")?(pe(),ze("div",wFe,[(pe(!0),ze(rt,null,Hn(JSON.parse(((Le=C.value)==null?void 0:Le.content)||""),(O,re)=>(pe(),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?(pe(),qe(H,{key:0})):(pe(),qe(D,{key:1}))]),_:2},1024),U("div",null,le(O.feature),1)],2))),128))])):(pe(),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(()=>[(pe(!0),ze(rt,null,Hn(c.value,(Oe,Le)=>{var F,O;return pe(),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),[[pP,d.value]]),ie(he,{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((ne=we(t).appConfig)==null?void 0:ne.currency_symbol)+" "+le(we(an)((ye=C.value)==null?void 0:ye[c.value[l.value].key])),1)]),p.value?(pe(),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)(((j=C.value)==null?void 0:j[c.value[l.value].key])-m()))+" "+le((ve=we(t).appConfig)==null?void 0:ve.currency),1)]),ie(he,{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 pe(),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=ge({__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 o1({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 o1({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,H=ho;return pe(),qe(H,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?(pe(),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?(pe(),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 he,B;return m((B=(he=we(n))==null?void 0:he.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,he,B;return[f.value&&we(t).subscribe?(pe(),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((he=f.value)==null?void 0:he.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)):(pe(),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=ge({__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=cm,b=qi,w=fo,C=Qr,S=zu,_=ho;return pe(),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=ge({__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=om,C=fo,S=ho;return pe(),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},[(pe(!0),ze(rt,null,Hn((x=a.value)==null?void 0:x.message,y=>(pe(),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=ge({__name:"index",setup(e){const t=i=>gn.global.t(i),n=[{title:t("记录时间"),key:"record_at",render(i){return xp(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(Ou,{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=zu,c=fo,u=ho;return pe(),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 pe(),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=Hu(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 pe(),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 pe(),ze("svg",M7e,[...L7e])}const B7e={name:"carbon-login",render:F7e},N7e=ge({__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)=>(pe(),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=ge({__name:"login",setup(e){const t=Pn(),n=cx(),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,q$(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,H,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("登录成功")),Jd(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,he=i.suffix?`${i.email}${i.suffix}`:i.email;if(!he||!M){window.$message.warning(r("请输入账号密码"));return}if(M!==Y){window.$message.warning(r("请确保两次密码输入一致"));return}if((H=C.value)!=null&&H.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:he,password:M,invite_code:Q,email_code:de,recaptcha_data:l.value});_.value=!1,B!=null&&B.auth_data&&(window.$message.success(r("注册成功")),Jd(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{data:M}=await q7e(P,T,R);_.value=!1,M&&(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("登录成功")),Jd($==null?void 0:$.auth_data),n.push(T.toString()))}};return Xt(()=>{k()}),(P,T)=>{const $=Qr,R=lr,K=zt,H=om,D=hl,M=B7e,Y=Gc("router-link"),Q=Ui,de=O7e,he=lm,B=fo;return pe(),ze(rt,null,[ie($,{show:u.value,"onUpdate:show":T[0]||(T[0]=E=>u.value=E)},{default:ce(()=>{var E,A,G;return[(E=C.value)!=null&&E.is_recaptcha&&((A=C.value)!=null&&A.recaptcha_site_key)?(pe(),qe(we(N7e),{key:0,sitekey:(G=C.value)==null?void 0:G.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(B,{class:"m-auto max-w-450 rounded-5 bg-[--n-color] shadow-black","content-style":"padding: 0;"},{default:ce(()=>{var E,A,G;return[U("div",K7e,[we(t).logo?(pe(),ze("div",G7e,[U("img",{src:we(t).logo,class:"mb-1em max-w-100%"},null,8,Y7e)])):(pe(),ze("h1",X7e,le(we(t).title),1)),U("h5",Z7e,le(we(t).description||" "),1),U("div",J7e,[ie(R,{value:i.email,"onUpdate:value":T[1]||(T[1]=ne=>i.email=ne),autofocus:"",placeholder:P.$t("邮箱"),maxlength:40},null,8,["value","placeholder"])]),dn(U("div",Q7e,[ie(H,{class:"flex"},{default:ce(()=>[ie(R,{value:i.email_code,"onUpdate:value":T[2]||(T[2]=ne=>i.email_code=ne),placeholder:P.$t("邮箱验证码")},null,8,["value","placeholder"]),ie(K,{type:"primary",onClick:T[3]||(T[3]=ne=>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)&&((E=C.value)==null?void 0:E.is_email_verify)||["forgetpassword"].includes(y.value)]]),U("div",eBe,[ie(R,{value:i.password,"onUpdate:value":T[4]||(T[4]=ne=>i.password=ne),class:"",type:"password","show-password-on":"click",placeholder:P.$t("密码"),maxlength:40,onKeydown:T[5]||(T[5]=gs(ne=>["login"].includes(y.value)&&x(),["enter"]))},null,8,["value","placeholder"])]),dn(U("div",tBe,[ie(R,{value:i.confirm_password,"onUpdate:value":T[6]||(T[6]=ne=>i.confirm_password=ne),type:"password","show-password-on":"click",placeholder:P.$t("再次输入密码"),maxlength:40,onKeydown:T[7]||(T[7]=gs(ne=>["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[8]||(T[8]=ne=>i.invite_code=ne),placeholder:[P.$t("邀请码"),(A=C.value)!=null&&A.is_invite_force?`(${P.$t("必填")})`:`(${P.$t("选填")})`],maxlength:20,disabled:i.lock_invite_code,onKeydown:T[9]||(T[9]=gs(ne=>x(),["enter"]))},null,8,["value","placeholder","disabled"])],512),[[Mn,["register"].includes(y.value)]]),dn(U("div",oBe,[ie(D,{checked:a.value,"onUpdate:checked":T[10]||(T[10]=ne=>a.value=ne),class:"text-bold text-16"},{default:ce(()=>[U("div",{innerHTML:s.value},null,8,rBe)]),_:1},8,["checked"])],512),[[Mn,["register"].includes(y.value)&&((G=C.value)==null?void 0:G.tos_url)]]),U("div",iBe,[ie(K,{class:"h-36 w-full rounded-5 text-16",type:"primary","icon-placement":"left",onClick:T[11]||(T[11]=ne=>x()),loading:_.value,disabled:_.value||!a.value&&["register"].includes(y.value)},{icon:ce(()=>[ie(M)]),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)?(pe(),ze(rt,{key:0},[ie(Y,{to:"/register",class:"text-#6c757d"},{default:ce(()=>[nt(le(P.$t("注册")),1)]),_:1}),ie(Q,{vertical:""}),ie(Y,{to:"/forgetpassword",class:"text-#6c757d"},{default:ce(()=>[nt(le(P.$t("忘记密码")),1)]),_:1})],64)):(pe(),qe(Y,{key:1,to:"/login",class:"text-#6c757d"},{default:ce(()=>[nt(le(P.$t("返回登入")),1)]),_:1}))]),U("div",null,[ie(he,{value:we(t).lang,"onUpdate:value":T[12]||(T[12]=ne=>we(t).lang=ne),options:Object.entries(we(Kf)).map(([ne,ye])=>({label:ye,value:ne})),trigger:"click","on-update:value":we(t).switchLang},{default:ce(()=>[ie(K,{text:"","icon-placement":"left"},{icon:ce(()=>[ie(de)]),default:ce(()=>[nt(" "+le(we(Kf)[we(t).lang]),1)]),_:1})]),_:1},8,["value","options","on-update:value"])])])]}),_:1})],4)],64)}}}),pf=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"},dk=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} ثانیه دیگر می‌توانید مجدداً ارسال کنید",发送成功:"با موفقیت ارسال شد",请输入账号密码:"نام کاربری و رمز عبور را وارد کنید",请确保两次密码输入一致:"اطمینان حاصل کنید که ورودهای رمز عبور مطابقت دارند",注册成功:"ثبت نام با موفقیت انجام شد","重置密码成功,正在返回登录":"با موفقیت رمز عبور بازنشانی شد، در حال بازگشت به صفحه ورود",确认取消:"تایید لغو","请注意,变更订阅会导致当前订阅被覆盖。":"لطفاً توجه داشته باشید که تغییر اشتراک موجب ایجاد اشتراک فعلی می‌شود.","订单提交成功,正在跳转支付":"سفارش با موفقیت ثبت شد، به پرداخت هدایت می‌شود.",回复成功:"پاسخ با موفقیت ارسال شد",工单详情:"جزئیات تیکت",登录成功:"ورود موفقیت‌آمیز","确定退出?":"آیا مطمئن هستید که می‌خواهید خارج شوید؟",支付成功:"پرداخت موفق",正在前往收银台:"در حال رفتن به صندوق پرداخت",请输入正确的划转金额:"لطفا مبلغ انتقال صحیح را وارد کنید",划转成功:"انتقال موفق",提现方式不能为空:"روش برداشت نمی‌تواند خالی باشد",提现账号不能为空:"حساب برداشت نمی‌تواند خالی باشد",已绑定:"قبلاً متصل شده",创建成功:"ایجاد موفقیت‌آمیز",关闭成功:"خاموش کردن موفق"},fk=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} 秒後に再送信可能",发送成功:"送信成功",请输入账号密码:"アカウントとパスワードを入力してください",请确保两次密码输入一致:"パスワードの入力が一致していることを確認してください",注册成功:"登録が成功しました","重置密码成功,正在返回登录":"パスワードのリセットが成功しました。ログインに戻っています",确认取消:"キャンセルの確認","请注意,变更订阅会导致当前订阅被覆盖。":"購読の変更は現在の購読を上書きします。","订单提交成功,正在跳转支付":"注文が成功裏に送信されました。支払いにリダイレクトしています。",回复成功:"返信が成功しました",工单详情:"チケットの詳細",登录成功:"ログイン成功","确定退出?":"本当に退出しますか?",支付成功:"支払い成功",正在前往收银台:"チェックアウトに進行中",请输入正确的划转金额:"正しい振替金額を入力してください",划转成功:"振替成功",提现方式不能为空:"出金方法は空にできません",提现账号不能为空:"出金口座を空にすることはできません",已绑定:"既にバインドされています",创建成功:"作成成功",关闭成功:"閉鎖成功"},hk=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} 초 후에 다시 전송 가능",发送成功:"전송 성공",请输入账号密码:"계정과 비밀번호를 입력하세요",请确保两次密码输入一致:"비밀번호 입력이 일치하는지 확인하세요",注册成功:"등록 성공","重置密码成功,正在返回登录":"비밀번호 재설정 성공, 로그인 페이지로 돌아가는 중",确认取消:"취소 확인","请注意,变更订阅会导致当前订阅被覆盖。":"구독 변경은 현재 구독을 덮어씁니다.","订单提交成功,正在跳转支付":"주문이 성공적으로 제출되었습니다. 지불로 이동 중입니다.",回复成功:"답장 성공",工单详情:"티켓 상세 정보",登录成功:"로그인 성공","确定退出?":"확실히 종료하시겠습니까?",支付成功:"결제 성공",正在前往收银台:"결제 진행 중",请输入正确的划转金额:"정확한 이체 금액을 입력하세요",划转成功:"이체 성공",提现方式不能为空:"출금 방식은 비워 둘 수 없습니다",提现账号不能为空:"출금 계좌는 비워 둘 수 없습니다",已绑定:"이미 연결됨",创建成功:"생성 성공",关闭成功:"종료 성공"},pk=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"},mk=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}秒后可重新发送",发送成功:"发送成功",请输入账号密码:"请输入账号密码",请确保两次密码输入一致:"请确保两次密码输入一致",注册成功:"注册成功","重置密码成功,正在返回登录":"重置密码成功,正在返回登录",确认取消:"确认取消","请注意,变更订阅会导致当前订阅被覆盖。":"请注意,变更订阅会导致当前订阅被覆盖。","订单提交成功,正在跳转支付":"订单提交成功,正在跳转支付",回复成功:"回复成功",工单详情:"工单详情",登录成功:"登录成功","确定退出?":"确定退出?",支付成功:"支付成功",正在前往收银台:"正在前往收银台",请输入正确的划转金额:"请输入正确的划转金额",划转成功:"划转成功",提现方式不能为空:"提现方式不能为空",提现账号不能为空:"提现账号不能为空",已绑定:"已绑定",创建成功:"创建成功",关闭成功:"关闭成功"},gk=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} 秒後可重新發送",发送成功:"發送成功",请输入账号密码:"請輸入帳號和密碼",请确保两次密码输入一致:"請確保兩次密碼輸入一致",注册成功:"註冊成功","重置密码成功,正在返回登录":"重置密碼成功,正在返回登入",确认取消:"確認取消","请注意,变更订阅会导致当前订阅被覆盖。":"請注意,變更訂閱會導致目前的訂閱被覆蓋。","订单提交成功,正在跳转支付":"訂單提交成功,正在跳轉支付",回复成功:"回覆成功",工单详情:"工單詳情",登录成功:"登入成功","确定退出?":"確定退出?",支付成功:"支付成功",正在前往收银台:"正在前往收銀台",请输入正确的划转金额:"請輸入正確的劃轉金額",划转成功:"劃轉成功",提现方式不能为空:"提現方式不能為空",提现账号不能为空:"提現帳號不能為空",已绑定:"已綁定",创建成功:"創建成功",关闭成功:"關閉成功"},vk=Object.freeze(Object.defineProperty({__proto__:null,default:pBe},Symbol.toStringTag,{value:"Module"}))});export default mBe(); +`),n=n.replace(yIe,"�"),t.src=n},CIe=function(t){var n;t.inlineMode?(n=new t.Token("inline","",0),n.content=t.src,n.map=[0,1],n.children=[],t.tokens.push(n)):t.md.block.parse(t.src,t.md,t.env,t.tokens)},wIe=function(t){var n=t.tokens,o,r,i;for(r=0,i=n.length;r\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-ecba5f1f"),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){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:"warning",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:"warning",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+"&types=hysteria2")+`&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+"&types=hysteria2")+`&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+"&types=hysteria2")+`&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,null,{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-ecba5f1f"]]),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:"warning",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:"p-20"},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:"warning",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])-(((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($,{style:{width:"300px",padding:"0","max-width":"100%"},"content-style":"padding:0",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",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:"warning",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:"warning",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{data:M}=await q7e(P,T,R);_.value=!1,M&&(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"].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(); diff --git a/public/theme/Xboard/assets/umi.js.br b/public/theme/Xboard/assets/umi.js.br index 130a262..f9b782d 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 3caeef9..cde6c6e 100644 Binary files a/public/theme/Xboard/assets/umi.js.gz and b/public/theme/Xboard/assets/umi.js.gz differ