diff --git a/public/theme/Xboard/assets/umi.js b/public/theme/Xboard/assets/umi.js index 692896e..e7b4250 100644 --- a/public/theme/Xboard/assets/umi.js +++ b/public/theme/Xboard/assets/umi.js @@ -1,72 +1,72 @@ -(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(`@charset "UTF-8";.v2board-nav-mask{position:fixed;top:0;bottom:0;right:0;left:0;background:#000;z-index:999;opacity:.5;display:none}.v2board-plan-features{padding:0;list-style:none;font-size:16px;flex:1 0 auto}.v2board-plan-features>li{padding:6px 0;color:#7c8088;text-align:left}.v2board-plan-features>li>b{color:#2a2e36;font-weight:500}.v2board-plan-content{padding-top:20px;padding-left:20px}.v2board-plan-features>li:before{font-family:Font Awesome\\ 5 Free;content:"";padding-right:10px;color:#425b94;font-weight:900}.v2board-email-whitelist-enable{display:flex}.v2board-email-whitelist-enable input{flex:2 1;border-top-right-radius:0;border-bottom-right-radius:0}.v2board-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}.v2board-trade-no{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v2board-lang-item{padding:10px 20px}.v2board-lang-item:hover{background:#eee}.v2board-auth-lang-btn{position:absolute;right:0;top:0}.v2board-no-access{color:#855c0d;background-color:#ffefd1;position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:0 solid transparent;border-radius:.25rem}.v2board-notice-background{height:100%;position:absolute;top:0;right:0;left:0;bottom:0;z-index:80;opacity:.1}.v2board-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}.v2board-copyright{position:absolute;bottom:10px;right:0;left:15px;font-size:10px;opacity:.2}.ant-table-thead>tr>th{background:#fff!important}.v2board-container-title{flex:1 1;color:#fff}.v2board-order-info>div{display:flex;font-size:14px;margin-bottom:5px}.v2board-order-info>div>span:first-child{flex:1 1;opacity:.5}.v2board-order-info>div>span:last-child{flex:2 1;font-family:menlo}.v2board-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}.v2board-login-i18n-btn{cursor:pointer;margin-top:2.5;float:right}.custom-control-label:after{left:-1.25rem}.v2board-shortcuts-item{cursor:pointer;padding:20px;border-bottom:1px solid #eee;position:relative}.v2board-shortcuts-item>.description{font-size:12px;opacity:.5}.v2board-shortcuts-item i{position:absolute;top:25px;font-size:30px;right:20px;opacity:.5}.v2board-shortcuts-item:hover{background:#f6f6f6}.btn{border:0}.v2board-plan-tabs{border:1px solid #000;padding:8px 4px;border-radius:100px}.v2board-plan-tabs>span{cursor:pointer;padding:5px 12px}.v2board-plan-tabs>.active{background:#000;border-radius:100px;color:#fff}.v2board-sold-out-tag{background-color:#c12c1f;border-radius:100px;padding:2px 8px;font-size:13px;color:#fff}.v2board-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}*,: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:middle}: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}::-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-db83f70d]{width:100%;height:240px;object-fit:cover}.v2board-bg-pixels[data-v-db83f70d]{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjIwMCIgd2lkdGg9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwIDgpIj48Y2lyY2xlIGN4PSIxNzYiIGN5PSIxMiIgcj0iNCIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMjAuNS41bDIzIDExbS0yOSA4NGwtMy43OSAxMC4zNzdNMjcuMDM3IDEzMS40bDUuODk4IDIuMjAzLTMuNDYgNS45NDcgNi4wNzIgMi4zOTItMy45MzMgNS43NThtMTI4LjczMyAzNS4zN2wuNjkzLTkuMzE2IDEwLjI5Mi4wNTIuNDE2LTkuMjIyIDkuMjc0LjMzMk0uNSA0OC41czYuMTMxIDYuNDEzIDYuODQ3IDE0LjgwNWMuNzE1IDguMzkzLTIuNTIgMTQuODA2LTIuNTIgMTQuODA2TTEyNC41NTUgOTBzLTcuNDQ0IDAtMTMuNjcgNi4xOTJjLTYuMjI3IDYuMTkyLTQuODM4IDEyLjAxMi00LjgzOCAxMi4wMTJtMi4yNCA2OC42MjZzLTQuMDI2LTkuMDI1LTE4LjE0NS05LjAyNS0xOC4xNDUgNS43LTE4LjE0NSA1LjciIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNODUuNzE2IDM2LjE0Nmw1LjI0My05LjUyMWgxMS4wOTNsNS40MTYgOS41MjEtNS40MSA5LjE4NUg5MC45NTN6bTYzLjkwOSAxNS40NzloMTAuNzV2MTAuNzVoLTEwLjc1eiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48ZyBmaWxsPSIjZGRkIj48Y2lyY2xlIGN4PSI3MS41IiBjeT0iNy41IiByPSIxLjUiLz48Y2lyY2xlIGN4PSIxNzAuNSIgY3k9Ijk1LjUiIHI9IjEuNSIvPjxjaXJjbGUgY3g9IjgxLjUiIGN5PSIxMzQuNSIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iMTMuNSIgY3k9IjIzLjUiIHI9IjEuNSIvPjxwYXRoIGQ9Ik05MyA3MWgzdjNoLTN6bTMzIDg0aDN2M2gtM3ptLTg1IDE4aDN2M2gtM3oiLz48L2c+PHBhdGggZD0iTTM5LjM4NCA1MS4xMjJsNS43NTgtNC40NTQgNi40NTMgNC4yMDUtMi4yOTQgNy4zNjNoLTcuNzl6TTEzMC4xOTUgNC4wM2wxMy44MyA1LjA2Mi0xMC4wOSA3LjA0OHptLTgzIDk1bDE0LjgzIDUuNDI5LTEwLjgyIDcuNTU3LTQuMDEtMTIuOTg3ek01LjIxMyAxNjEuNDk1bDExLjMyOCAyMC44OTdMMi4yNjUgMTgweiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMTQ5LjA1IDEyNy40NjhzLS41MSAyLjE4My45OTUgMy4zNjZjMS41NiAxLjIyNiA4LjY0Mi0xLjg5NSAzLjk2Ny03Ljc4NS0yLjM2Ny0yLjQ3Ny02LjUtMy4yMjYtOS4zMyAwLTUuMjA4IDUuOTM2IDAgMTcuNTEgMTEuNjEgMTMuNzMgMTIuNDU4LTYuMjU3IDUuNjMzLTIxLjY1Ni01LjA3My0yMi42NTQtNi42MDItLjYwNi0xNC4wNDMgMS43NTYtMTYuMTU3IDEwLjI2OC0xLjcxOCA2LjkyIDEuNTg0IDE3LjM4NyAxMi40NSAyMC40NzYgMTAuODY2IDMuMDkgMTkuMzMxLTQuMzEgMTkuMzMxLTQuMzEiIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48L2c+PC9zdmc+);background-size:auto}.custom-html-style img{max-width:100%;vertical-align:top}.custom-html-style video{max-width:100%}.card-container[data-v-a14a714a]{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-a14a714a]{max-width:100%}@media screen and (min-width: 768px){.card-container[data-v-a14a714a]{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-a14a714a]{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-100{z-index:100}.grid{display:grid}.m-0\\!{margin:0!important}.m-1{margin:1px}.m-3{margin:3px}.m-auto,[m-auto=""]{margin:auto}.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,[mb-3=""]{margin-bottom:3px}.mb-4{margin-bottom:4px}.mb-8{margin-bottom:8px}.ml-15,[ml-15=""]{margin-left:15px}.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,[hidden=""]{display:none}.h-100\\%,.h-full,[h-full=""]{height:100%}.h-140{height:140px}.h-20{height:20px}.h-30{height:30px}.h-35,[h-35=""]{height:35px}.h-36,[h-36=""]{height:36px}.h-6{height:6px}.h-60,[h-60=""]{height:60px}.h-auto{height:auto}.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,[w-full=""]{width:100%}.w-140{width:140px}.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-60\\%{width:60%}.w-600{width:600px}.w-64{width:64px}.w-80\\%{width:80%}.flex,[flex=""]{display:flex}.flex-\\[1\\]{flex:1}.flex-\\[2\\]{flex:2}.flex-\\[3\\]{flex:3}.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}.items-center,[items-center=""]{align-items:center}.justify-end{justify-content:flex-end}.justify-center,[justify-center=""]{justify-content:center}.justify-between{justify-content:space-between}.overflow-hidden,[overflow-hidden=""]{overflow:hidden}.b{border-width:1px}.border-0,.dark [dark\\:border-0=""],.dark [dark~=border-0]{border-width:0px}.border-2{border-width:2px}.border-b,[border-b=""],[border-b~="1"]{border-bottom-width:1px}.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-b~="#eee"]{--un-border-opacity:1;--un-border-bottom-opacity:var(--un-border-opacity);border-bottom-color:rgb(238 238 238 / var(--un-border-bottom-opacity))}.border-rounded-5,.rounded-5,[border-rounded-5=""],[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-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,.pl-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-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-400=""]{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-primary,[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-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\\()}.bc-eee,[bc-eee=""]{border-color:#eee}@media (min-width: 640px){.sm\\:block,[sm\\:block=""]{display:block}.sm\\:max-w-full{max-width:100%}}@media (min-width: 768px){.md\\:relative{position:relative}.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 xk=Object.defineProperty;var Ck=(e,t,n)=>t in e?xk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var wk=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ju=(e,t,n)=>(Ck(e,typeof t!="symbol"?t+"":t,n),n);var d7e=wk((Wn,qn)=>{(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)}})();function wh(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const Yt={},ea=[],vo=()=>{},_k=()=>!1,Sk=/^on[^a-z]/,Ic=e=>Sk.test(e),_h=e=>e.startsWith("onUpdate:"),dn=Object.assign,Sh=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},kk=Object.prototype.hasOwnProperty,zt=(e,t)=>kk.call(e,t),ut=Array.isArray,ta=e=>zc(e)==="[object Map]",N1=e=>zc(e)==="[object Set]",vt=e=>typeof e=="function",ln=e=>typeof e=="string",Mc=e=>typeof e=="symbol",qt=e=>e!==null&&typeof e=="object",B1=e=>(qt(e)||vt(e))&&vt(e.then)&&vt(e.catch),H1=Object.prototype.toString,zc=e=>H1.call(e),Tk=e=>zc(e).slice(8,-1),j1=e=>zc(e)==="[object Object]",kh=e=>ln(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Kl=wh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Oc=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Pk=/-(\w)/g,Lo=Oc(e=>e.replace(Pk,(t,n)=>n?n.toUpperCase():"")),Rk=/\B([A-Z])/g,xi=Oc(e=>e.replace(Rk,"-$1").toLowerCase()),Dc=Oc(e=>e.charAt(0).toUpperCase()+e.slice(1)),ed=Oc(e=>e?`on${Dc(e)}`:""),di=(e,t)=>!Object.is(e,t),Gl=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},af=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ek=e=>{const t=ln(e)?Number(e):NaN;return isNaN(t)?e:t};let $m;const sf=()=>$m||($m=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Fo(e){if(ut(e)){const t={};for(let n=0;n{if(n){const o=n.split(Ak);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Ci(e){let t="";if(ln(e))t=e;else if(ut(e))for(let n=0;nln(e)?e:e==null?"":ut(e)||qt(e)&&(e.toString===H1||!vt(e.toString))?JSON.stringify(e,U1,2):String(e),U1=(e,t)=>t&&t.__v_isRef?U1(e,t.value):ta(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r])=>(n[`${o} =>`]=r,n),{})}:N1(t)?{[`Set(${t.size})`]:[...t.values()]}:qt(t)&&!ut(t)&&!j1(t)?String(t):t;let Vn;class W1{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Vn,!t&&Vn&&(this.index=(Vn.scopes||(Vn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Vn;try{return Vn=this,t()}finally{Vn=n}}}on(){Vn=this}off(){Vn=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},K1=e=>(e.w&Er)>0,G1=e=>(e.n&Er)>0,Lk=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o{(u==="length"||!Mc(u)&&u>=l)&&s.push(c)})}else switch(n!==void 0&&s.push(a.get(n)),t){case"add":ut(e)?kh(n)&&s.push(a.get("length")):(s.push(a.get(ii)),ta(e)&&s.push(a.get(cf)));break;case"delete":ut(e)||(s.push(a.get(ii)),ta(e)&&s.push(a.get(cf)));break;case"set":ta(e)&&s.push(a.get(ii));break}if(s.length===1)s[0]&&uf(s[0]);else{const l=[];for(const c of s)c&&l.push(...c);uf(Rh(l))}}function uf(e,t){const n=ut(e)?e:[...e];for(const o of n)o.computed&&Im(o);for(const o of n)o.computed||Im(o)}function Im(e,t){(e!==mo||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Nk(e,t){var n;return(n=lc.get(e))==null?void 0:n.get(t)}const Bk=wh("__proto__,__v_isRef,__isVue"),Q1=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Mc)),Mm=Hk();function Hk(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=Et(this);for(let i=0,a=this.length;i{e[t]=function(...n){_a();const o=Et(this)[t].apply(this,n);return Sa(),o}}),e}function jk(e){const t=Et(this);return Fn(t,"has",e),t.hasOwnProperty(e)}class Z1{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,o){const r=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw"&&o===(r?i?t3:ny:i?ty:ey).get(t))return t;const a=ut(t);if(!r){if(a&&zt(Mm,n))return Reflect.get(Mm,n,o);if(n==="hasOwnProperty")return jk}const s=Reflect.get(t,n,o);return(Mc(n)?Q1.has(n):Bk(n))||(r||Fn(t,"get",n),i)?s:en(s)?a&&kh(n)?s:s.value:qt(s)?r?to(s):bo(s):s}}class J1 extends Z1{constructor(t=!1){super(!1,t)}set(t,n,o,r){let i=t[n];if(sa(i)&&en(i)&&!en(o))return!1;if(!this._shallow&&(!cc(o)&&!sa(o)&&(i=Et(i),o=Et(o)),!ut(t)&&en(i)&&!en(o)))return i.value=o,!0;const a=ut(t)&&kh(n)?Number(n)e,Lc=e=>Reflect.getPrototypeOf(e);function hl(e,t,n=!1,o=!1){e=e.__v_raw;const r=Et(e),i=Et(t);n||(di(t,i)&&Fn(r,"get",t),Fn(r,"get",i));const{has:a}=Lc(r),s=o?$h:n?Mh:xs;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 pl(e,t=!1){const n=this.__v_raw,o=Et(n),r=Et(e);return t||(di(e,r)&&Fn(o,"has",e),Fn(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function ml(e,t=!1){return e=e.__v_raw,!t&&Fn(Et(e),"iterate",ii),Reflect.get(e,"size",e)}function zm(e){e=Et(e);const t=Et(this);return Lc(t).has.call(t,e)||(t.add(e),Jo(t,"add",e,e)),this}function Om(e,t){t=Et(t);const n=Et(this),{has:o,get:r}=Lc(n);let i=o.call(n,e);i||(e=Et(e),i=o.call(n,e));const a=r.call(n,e);return n.set(e,t),i?di(t,a)&&Jo(n,"set",e,t):Jo(n,"add",e,t),this}function Dm(e){const t=Et(this),{has:n,get:o}=Lc(t);let r=n.call(t,e);r||(e=Et(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&Jo(t,"delete",e,void 0),i}function Lm(){const e=Et(this),t=e.size!==0,n=e.clear();return t&&Jo(e,"clear",void 0,void 0),n}function gl(e,t){return function(o,r){const i=this,a=i.__v_raw,s=Et(a),l=t?$h:e?Mh:xs;return!e&&Fn(s,"iterate",ii),a.forEach((c,u)=>o.call(r,l(c),l(u),i))}}function vl(e,t,n){return function(...o){const r=this.__v_raw,i=Et(r),a=ta(i),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=r[e](...o),u=n?$h:t?Mh:xs;return!t&&Fn(i,"iterate",l?cf:ii),{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 ur(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Kk(){const e={get(i){return hl(this,i)},get size(){return ml(this)},has:pl,add:zm,set:Om,delete:Dm,clear:Lm,forEach:gl(!1,!1)},t={get(i){return hl(this,i,!1,!0)},get size(){return ml(this)},has:pl,add:zm,set:Om,delete:Dm,clear:Lm,forEach:gl(!1,!0)},n={get(i){return hl(this,i,!0)},get size(){return ml(this,!0)},has(i){return pl.call(this,i,!0)},add:ur("add"),set:ur("set"),delete:ur("delete"),clear:ur("clear"),forEach:gl(!0,!1)},o={get(i){return hl(this,i,!0,!0)},get size(){return ml(this,!0)},has(i){return pl.call(this,i,!0)},add:ur("add"),set:ur("set"),delete:ur("delete"),clear:ur("clear"),forEach:gl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=vl(i,!1,!1),n[i]=vl(i,!0,!1),t[i]=vl(i,!1,!0),o[i]=vl(i,!0,!0)}),[e,n,t,o]}const[Gk,Yk,Xk,Qk]=Kk();function Ah(e,t){const n=t?e?Qk:Xk:e?Yk:Gk;return(o,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(zt(n,r)&&r in o?n:o,r,i)}const Zk={get:Ah(!1,!1)},Jk={get:Ah(!1,!0)},e3={get:Ah(!0,!1)},ey=new WeakMap,ty=new WeakMap,ny=new WeakMap,t3=new WeakMap;function n3(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function o3(e){return e.__v_skip||!Object.isExtensible(e)?0:n3(Tk(e))}function bo(e){return sa(e)?e:Ih(e,!1,Uk,Zk,ey)}function oy(e){return Ih(e,!1,qk,Jk,ty)}function to(e){return Ih(e,!0,Wk,e3,ny)}function Ih(e,t,n,o,r){if(!qt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=o3(e);if(a===0)return e;const s=new Proxy(e,a===2?o:n);return r.set(e,s),s}function Pr(e){return sa(e)?Pr(e.__v_raw):!!(e&&e.__v_isReactive)}function sa(e){return!!(e&&e.__v_isReadonly)}function cc(e){return!!(e&&e.__v_isShallow)}function ry(e){return Pr(e)||sa(e)}function Et(e){const t=e&&e.__v_raw;return t?Et(t):e}function la(e){return sc(e,"__v_skip",!0),e}const xs=e=>qt(e)?bo(e):e,Mh=e=>qt(e)?to(e):e;function zh(e){Tr&&mo&&(e=Et(e),X1(e.dep||(e.dep=Rh())))}function Oh(e,t){e=Et(e);const n=e.dep;n&&uf(n)}function en(e){return!!(e&&e.__v_isRef===!0)}function B(e){return iy(e,!1)}function Us(e){return iy(e,!0)}function iy(e,t){return en(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:Et(t),this._value=n?t:xs(t)}get value(){return zh(this),this._value}set value(t){const n=this.__v_isShallow||cc(t)||sa(t);t=n?t:Et(t),di(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:xs(t),Oh(this))}}function me(e){return en(e)?e.value:e}const i3={get:(e,t,n)=>me(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return en(r)&&!en(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function ay(e){return Pr(e)?e:new Proxy(e,i3)}class a3{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:o}=t(()=>zh(this),()=>Oh(this));this._get=n,this._set=o}get value(){return this._get()}set value(t){this._set(t)}}function s3(e){return new a3(e)}function l3(e){const t=ut(e)?new Array(e.length):{};for(const n in e)t[n]=sy(e,n);return t}class c3{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 Nk(Et(this._object),this._key)}}class u3{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ne(e,t,n){return en(e)?e:vt(e)?new u3(e):qt(e)&&arguments.length>1?sy(e,t,n):B(e)}function sy(e,t,n){const o=e[t];return en(o)?o:new c3(e,t,n)}class d3{constructor(t,n,o,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Eh(t,()=>{this._dirty||(this._dirty=!0,Oh(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=Et(this);return zh(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function f3(e,t,n=!1){let o,r;const i=vt(e);return i?(o=e,r=vo):(o=e.get,r=e.set),new d3(o,r,i||!r,n)}function Rr(e,t,n,o){let r;try{r=o?e(...o):e()}catch(i){Fc(i,t,n)}return r}function Jn(e,t,n,o){if(vt(e)){const i=Rr(e,t,n,o);return i&&B1(i)&&i.catch(a=>{Fc(a,t,n)}),i}const r=[];for(let i=0;i>>1,r=Tn[o],i=ws(r);iAo&&Tn.splice(t,1)}function g3(e){ut(e)?na.push(...e):(!Qo||!Qo.includes(e,e.allowRecurse?Xr+1:Xr))&&na.push(e),cy()}function Fm(e,t=Cs?Ao+1:0){for(;tws(n)-ws(o)),Xr=0;Xre.id==null?1/0:e.id,v3=(e,t)=>{const n=ws(e)-ws(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function dy(e){df=!1,Cs=!0,Tn.sort(v3);const t=vo;try{for(Ao=0;Aoln(p)?p.trim():p)),d&&(r=n.map(af))}let s,l=o[s=ed(t)]||o[s=ed(Lo(t))];!l&&i&&(l=o[s=ed(xi(t))]),l&&Jn(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,Jn(c,e,6,r)}}function fy(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=fy(c,t,!0);u&&(s=!0,dn(a,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!s?(qt(e)&&o.set(e,null),null):(ut(i)?i.forEach(l=>a[l]=null):dn(a,i),qt(e)&&o.set(e,a),a)}function Nc(e,t){return!e||!Ic(t)?!1:(t=t.slice(2).replace(/Once$/,""),zt(e,t[0].toLowerCase()+t.slice(1))||zt(e,xi(t))||zt(e,t))}let yn=null,Bc=null;function uc(e){const t=yn;return yn=e,Bc=e&&e.type.__scopeId||null,t}function y3(e){Bc=e}function x3(){Bc=null}function le(e,t=yn,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&Qm(-1);const i=uc(t);let a;try{a=e(...r)}finally{uc(i),o._d&&Qm(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function td(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,g;const y=uc(e);try{if(n.shapeFlag&4){const C=r||o,_=C;v=$o(u.call(_,C,d,i,p,f,h)),g=l}else{const C=t;v=$o(C.length>1?C(i,{attrs:l,slots:s,emit:c}):C(i,null)),g=t.props?l:C3(l)}}catch(C){ls.length=0,Fc(C,e,1),v=ee(An)}let S=v;if(g&&m!==!1){const C=Object.keys(g),{shapeFlag:_}=S;C.length&&_&7&&(a&&C.some(_h)&&(g=w3(g,a)),S=oo(S,g))}return n.dirs&&(S=oo(S),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&(S.transition=n.transition),v=S,uc(y),v}const C3=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ic(n))&&((t||(t={}))[n]=e[n]);return t},w3=(e,t)=>{const n={};for(const o in e)(!_h(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function _3(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?Nm(o,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function T3(e,t){t&&t.pendingBranch?ut(e)?t.effects.push(...e):t.effects.push(e):g3(e)}function un(e,t){return Nh(e,null,t)}const bl={};function ht(e,t,n){return Nh(e,t,n)}function Nh(e,t,{immediate:n,deep:o,flush:r,onTrack:i,onTrigger:a}=Yt){var s;const l=Ph()===((s=mn)==null?void 0:s.scope)?mn:null;let c,u=!1,d=!1;if(en(e)?(c=()=>e.value,u=cc(e)):Pr(e)?(c=()=>e,o=!0):ut(e)?(d=!0,u=e.some(C=>Pr(C)||cc(C)),c=()=>e.map(C=>{if(en(C))return C.value;if(Pr(C))return Jr(C);if(vt(C))return Rr(C,l,2)})):vt(e)?t?c=()=>Rr(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return f&&f(),Jn(e,l,3,[p])}:c=vo,t&&o){const C=c;c=()=>Jr(C())}let f,p=C=>{f=y.onStop=()=>{Rr(C,l,4),f=y.onStop=void 0}},h;if(Rs)if(p=vo,t?n&&Jn(t,l,3,[c(),d?[]:void 0,p]):c(),r==="sync"){const C=g4();h=C.__watcherHandles||(C.__watcherHandles=[])}else return vo;let m=d?new Array(e.length).fill(bl):bl;const v=()=>{if(y.active)if(t){const C=y.run();(o||u||(d?C.some((_,x)=>di(_,m[x])):di(C,m)))&&(f&&f(),Jn(t,l,3,[C,m===bl?void 0:d&&m[0]===bl?[]:m,p]),m=C)}else y.run()};v.allowRecurse=!!t;let g;r==="sync"?g=v:r==="post"?g=()=>Dn(v,l&&l.suspense):(v.pre=!0,l&&(v.id=l.uid),g=()=>Lh(v));const y=new Eh(c,g);t?n?v():m=y.run():r==="post"?Dn(y.run.bind(y),l&&l.suspense):y.run();const S=()=>{y.stop(),l&&l.scope&&Sh(l.scope.effects,y)};return h&&h.push(S),S}function P3(e,t,n){const o=this.proxy,r=ln(e)?e.includes(".")?my(o,e):()=>o[e]:e.bind(o,o);let i;vt(t)?i=t:(i=t.handler,n=t);const a=mn;ca(this);const s=Nh(r,i.bind(o),n);return a?ca(a):ai(),s}function my(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r{Jr(n,t)});else if(j1(e))for(const n in e)Jr(e[n],t);return e}function Cn(e,t){const n=yn;if(n===null)return e;const o=Gc(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0}),tn(()=>{e.isUnmounting=!0}),e}const Xn=[Function,Array],vy={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Xn,onEnter:Xn,onAfterEnter:Xn,onEnterCancelled:Xn,onBeforeLeave:Xn,onLeave:Xn,onAfterLeave:Xn,onLeaveCancelled:Xn,onBeforeAppear:Xn,onAppear:Xn,onAfterAppear:Xn,onAppearCancelled:Xn},R3={name:"BaseTransition",props:vy,setup(e,{slots:t}){const n=Gn(),o=gy();let r;return()=>{const i=t.default&&Bh(t.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1){for(const m of i)if(m.type!==An){a=m;break}}const s=Et(e),{mode:l}=s;if(o.isLeaving)return nd(a);const c=Hm(a);if(!c)return nd(a);const u=_s(c,s,o,n);Ss(c,u);const d=n.subTree,f=d&&Hm(d);let p=!1;const{getTransitionKey:h}=c.type;if(h){const m=h();r===void 0?r=m:m!==r&&(r=m,p=!0)}if(f&&f.type!==An&&(!Qr(c,f)||p)){const m=_s(f,s,o,n);if(Ss(f,m),l==="out-in")return o.isLeaving=!0,m.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&n.update()},nd(a);l==="in-out"&&c.type!==An&&(m.delayLeave=(v,g,y)=>{const S=by(o,f);S[String(f.key)]=f,v[xr]=()=>{g(),v[xr]=void 0,delete u.delayedLeave},u.delayedLeave=y})}return a}}},E3=R3;function by(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 _s(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:g,onAppearCancelled:y}=t,S=String(e.key),C=by(n,e),_=(T,P)=>{T&&Jn(T,o,9,P)},x=(T,P)=>{const k=P[1];_(T,P),ut(T)?T.every(I=>I.length<=1)&&k():T.length<=1&&k()},w={mode:i,persisted:a,beforeEnter(T){let P=s;if(!n.isMounted)if(r)P=m||s;else return;T[xr]&&T[xr](!0);const k=C[S];k&&Qr(e,k)&&k.el[xr]&&k.el[xr](),_(P,[T])},enter(T){let P=l,k=c,I=u;if(!n.isMounted)if(r)P=v||l,k=g||c,I=y||u;else return;let A=!1;const q=T[yl]=F=>{A||(A=!0,F?_(I,[T]):_(k,[T]),w.delayedLeave&&w.delayedLeave(),T[yl]=void 0)};P?x(P,[T,q]):q()},leave(T,P){const k=String(e.key);if(T[yl]&&T[yl](!0),n.isUnmounting)return P();_(d,[T]);let I=!1;const A=T[xr]=q=>{I||(I=!0,P(),q?_(h,[T]):_(p,[T]),T[xr]=void 0,C[k]===e&&delete C[k])};C[k]=e,f?x(f,[T,A]):A()},clone(T){return _s(T,t,n,o)}};return w}function nd(e){if(jc(e))return e=oo(e),e.children=null,e}function Hm(e){return jc(e)?e.children?e.children[0]:void 0:e}function Ss(e,t){e.shapeFlag&6&&e.component?Ss(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 Bh(e,t=!1,n){let o=[],r=0;for(let i=0;i1)for(let i=0;idn({name:e.name},t,{setup:e}))():e}const is=e=>!!e.type.__asyncLoader,jc=e=>e.type.__isKeepAlive;function Hh(e,t){yy(e,"a",t)}function Vc(e,t){yy(e,"da",t)}function yy(e,t,n=mn){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Uc(t,o,n),n){let r=n.parent;for(;r&&r.parent;)jc(r.parent.vnode)&&$3(o,t,n,r),r=r.parent}}function $3(e,t,n,o){const r=Uc(t,e,o,!0);qs(()=>{Sh(o[t],r)},n)}function Uc(e,t,n=mn,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;_a(),ca(n);const s=Jn(t,n,e,a);return ai(),Sa(),s});return o?r.unshift(i):r.push(i),i}}const rr=e=>(t,n=mn)=>(!Rs||e==="sp")&&Uc(e,(...o)=>t(...o),n),an=rr("bm"),Vt=rr("m"),xy=rr("bu"),Ws=rr("u"),tn=rr("bum"),qs=rr("um"),A3=rr("sp"),I3=rr("rtg"),M3=rr("rtc");function z3(e,t=mn){Uc("ec",e,t)}function no(e,t,n,o){let r;const i=n&&n[o];if(ut(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;sPs(t)?!(t.type===An||t.type===et&&!Cy(t.children)):!0)?e:null}const ff=e=>e?Iy(e)?Gc(e)||e.proxy:ff(e.parent):null,as=dn(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=>ff(e.parent),$root:e=>ff(e.root),$emit:e=>e.emit,$options:e=>jh(e),$forceUpdate:e=>e.f||(e.f=()=>Lh(e.update)),$nextTick:e=>e.n||(e.n=jt.bind(e.proxy)),$watch:e=>P3.bind(e)}),od=(e,t)=>e!==Yt&&!e.__isScriptSetup&&zt(e,t),O3={get({_:e},t){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(od(o,t))return a[t]=1,o[t];if(r!==Yt&&zt(r,t))return a[t]=2,r[t];if((c=e.propsOptions[0])&&zt(c,t))return a[t]=3,i[t];if(n!==Yt&&zt(n,t))return a[t]=4,n[t];hf&&(a[t]=0)}}const u=as[t];let d,f;if(u)return t==="$attrs"&&Fn(e,"get",t),u(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==Yt&&zt(n,t))return a[t]=4,n[t];if(f=l.config.globalProperties,zt(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return od(r,t)?(r[t]=n,!0):o!==Yt&&zt(o,t)?(o[t]=n,!0):zt(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!==Yt&&zt(e,a)||od(t,a)||(s=i[0])&&zt(s,a)||zt(o,a)||zt(as,a)||zt(r.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:zt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function jm(e){return ut(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let hf=!0;function D3(e){const t=jh(e),n=e.proxy,o=e.ctx;hf=!1,t.beforeCreate&&Vm(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:g,beforeUnmount:y,destroyed:S,unmounted:C,render:_,renderTracked:x,renderTriggered:w,errorCaptured:T,serverPrefetch:P,expose:k,inheritAttrs:I,components:A,directives:q,filters:F}=t;if(c&&L3(c,o,null),a)for(const W in a){const Q=a[W];vt(Q)&&(o[W]=Q.bind(n))}if(r){const W=r.call(n,n);qt(W)&&(e.data=bo(W))}if(hf=!0,i)for(const W in i){const Q=i[W],L=vt(Q)?Q.bind(n,n):vt(Q.get)?Q.get.bind(n,n):vo,M=!vt(Q)&&vt(Q.set)?Q.set.bind(n):vo,se=N({get:L,set:M});Object.defineProperty(o,W,{enumerable:!0,configurable:!0,get:()=>se.value,set:X=>se.value=X})}if(s)for(const W in s)wy(s[W],o,n,W);if(l){const W=vt(l)?l.call(n):l;Reflect.ownKeys(W).forEach(Q=>{lt(Q,W[Q])})}u&&Vm(u,e,"c");function $(W,Q){ut(Q)?Q.forEach(L=>W(L.bind(n))):Q&&W(Q.bind(n))}if($(an,d),$(Vt,f),$(xy,p),$(Ws,h),$(Hh,m),$(Vc,v),$(z3,T),$(M3,x),$(I3,w),$(tn,y),$(qs,C),$(A3,P),ut(k))if(k.length){const W=e.exposed||(e.exposed={});k.forEach(Q=>{Object.defineProperty(W,Q,{get:()=>n[Q],set:L=>n[Q]=L})})}else e.exposed||(e.exposed={});_&&e.render===vo&&(e.render=_),I!=null&&(e.inheritAttrs=I),A&&(e.components=A),q&&(e.directives=q)}function L3(e,t,n=vo){ut(e)&&(e=pf(e));for(const o in e){const r=e[o];let i;qt(r)?"default"in r?i=He(r.from||o,r.default,!0):i=He(r.from||o):i=He(r),en(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[o]=i}}function Vm(e,t,n){Jn(ut(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function wy(e,t,n,o){const r=o.includes(".")?my(n,o):()=>n[o];if(ln(e)){const i=t[e];vt(i)&&ht(r,i)}else if(vt(e))ht(r,e.bind(n));else if(qt(e))if(ut(e))e.forEach(i=>wy(i,t,n,o));else{const i=vt(e.handler)?e.handler.bind(n):t[e.handler];vt(i)&&ht(r,i,e)}}function jh(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=>dc(l,c,a,!0)),dc(l,t,a)),qt(t)&&i.set(t,l),l}function dc(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&dc(e,i,n,!0),r&&r.forEach(a=>dc(e,a,n,!0));for(const a in t)if(!(o&&a==="expose")){const s=F3[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const F3={data:Um,props:Wm,emits:Wm,methods:ns,computed:ns,beforeCreate:En,created:En,beforeMount:En,mounted:En,beforeUpdate:En,updated:En,beforeDestroy:En,beforeUnmount:En,destroyed:En,unmounted:En,activated:En,deactivated:En,errorCaptured:En,serverPrefetch:En,components:ns,directives:ns,watch:B3,provide:Um,inject:N3};function Um(e,t){return t?e?function(){return dn(vt(e)?e.call(this,this):e,vt(t)?t.call(this,this):t)}:t:e}function N3(e,t){return ns(pf(e),pf(t))}function pf(e){if(ut(e)){const t={};for(let n=0;n1)return n&&vt(t)?t.call(o&&o.proxy):t}}function V3(){return!!(mn||yn||ks)}function U3(e,t,n,o=!1){const r={},i={};sc(i,Kc,1),e.propsDefaults=Object.create(null),Sy(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:oy(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function W3(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:a}}=e,s=Et(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]=ky(d,t,!0);dn(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 qt(e)&&o.set(e,ea),ea;if(ut(i))for(let u=0;u-1,p[1]=m<0||h-1||zt(p,"default"))&&s.push(d)}}}const c=[a,s];return qt(e)&&o.set(e,c),c}function qm(e){return e[0]!=="$"}function Km(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Gm(e,t){return Km(e)===Km(t)}function Ym(e,t){return ut(t)?t.findIndex(n=>Gm(n,e)):vt(t)&&Gm(t,e)?0:-1}const Ty=e=>e[0]==="_"||e==="$stable",Vh=e=>ut(e)?e.map($o):[$o(e)],q3=(e,t,n)=>{if(t._n)return t;const o=le((...r)=>Vh(t(...r)),n);return o._c=!1,o},Py=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Ty(r))continue;const i=e[r];if(vt(i))t[r]=q3(r,i,o);else if(i!=null){const a=Vh(i);t[r]=()=>a}}},Ry=(e,t)=>{const n=Vh(t);e.slots.default=()=>n},K3=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Et(t),sc(t,"_",n)):Py(t,e.slots={})}else e.slots={},t&&Ry(e,t);sc(e.slots,Kc,1)},G3=(e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,a=Yt;if(o.shapeFlag&32){const s=t._;s?n&&s===1?i=!1:(dn(r,t),!n&&s===1&&delete r._):(i=!t.$stable,Py(t,r)),a=t}else t&&(Ry(e,t),a={default:1});if(i)for(const s in r)!Ty(s)&&a[s]==null&&delete r[s]};function gf(e,t,n,o,r=!1){if(ut(e)){e.forEach((f,p)=>gf(f,t&&(ut(t)?t[p]:t),n,o,r));return}if(is(o)&&!r)return;const i=o.shapeFlag&4?Gc(o.component)||o.component.proxy:o.el,a=r?null:i,{i:s,r:l}=e,c=t&&t.r,u=s.refs===Yt?s.refs={}:s.refs,d=s.setupState;if(c!=null&&c!==l&&(ln(c)?(u[c]=null,zt(d,c)&&(d[c]=null)):en(c)&&(c.value=null)),vt(l))Rr(l,s,12,[a,u]);else{const f=ln(l),p=en(l);if(f||p){const h=()=>{if(e.f){const m=f?zt(d,l)?d[l]:u[l]:l.value;r?ut(m)&&Sh(m,i):ut(m)?m.includes(i)||m.push(i):f?(u[l]=[i],zt(d,l)&&(d[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else f?(u[l]=a,zt(d,l)&&(d[l]=a)):p&&(l.value=a,e.k&&(u[e.k]=a))};a?(h.id=-1,Dn(h,n)):h()}}}const Dn=T3;function Y3(e){return X3(e)}function X3(e,t){const n=sf();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=vo,insertStaticContent:h}=e,m=(V,R,E,U=null,ie=null,Y=null,he=!1,ye=null,ge=!!R.dynamicChildren)=>{if(V===R)return;V&&!Qr(V,R)&&(U=G(V),X(V,ie,Y,!0),V=null),R.patchFlag===-2&&(ge=!1,R.dynamicChildren=null);const{type:J,ref:de,shapeFlag:_e}=R;switch(J){case Ta:v(V,R,E,U);break;case An:g(V,R,E,U);break;case Yl:V==null&&y(R,E,U,he);break;case et:A(V,R,E,U,ie,Y,he,ye,ge);break;default:_e&1?_(V,R,E,U,ie,Y,he,ye,ge):_e&6?q(V,R,E,U,ie,Y,he,ye,ge):(_e&64||_e&128)&&J.process(V,R,E,U,ie,Y,he,ye,ge,ue)}de!=null&&ie&&gf(de,V&&V.ref,Y,R||V,!R)},v=(V,R,E,U)=>{if(V==null)o(R.el=s(R.children),E,U);else{const ie=R.el=V.el;R.children!==V.children&&c(ie,R.children)}},g=(V,R,E,U)=>{V==null?o(R.el=l(R.children||""),E,U):R.el=V.el},y=(V,R,E,U)=>{[V.el,V.anchor]=h(V.children,R,E,U,V.el,V.anchor)},S=({el:V,anchor:R},E,U)=>{let ie;for(;V&&V!==R;)ie=f(V),o(V,E,U),V=ie;o(R,E,U)},C=({el:V,anchor:R})=>{let E;for(;V&&V!==R;)E=f(V),r(V),V=E;r(R)},_=(V,R,E,U,ie,Y,he,ye,ge)=>{he=he||R.type==="svg",V==null?x(R,E,U,ie,Y,he,ye,ge):P(V,R,ie,Y,he,ye,ge)},x=(V,R,E,U,ie,Y,he,ye)=>{let ge,J;const{type:de,props:_e,shapeFlag:te,transition:oe,dirs:Ee}=V;if(ge=V.el=a(V.type,Y,_e&&_e.is,_e),te&8?u(ge,V.children):te&16&&T(V.children,ge,null,U,ie,Y&&de!=="foreignObject",he,ye),Ee&&jr(V,null,U,"created"),w(ge,V,V.scopeId,he,U),_e){for(const qe in _e)qe!=="value"&&!Kl(qe)&&i(ge,qe,null,_e[qe],Y,V.children,U,ie,Ce);"value"in _e&&i(ge,"value",null,_e.value),(J=_e.onVnodeBeforeMount)&&To(J,U,V)}Ee&&jr(V,null,U,"beforeMount");const De=Q3(ie,oe);De&&oe.beforeEnter(ge),o(ge,R,E),((J=_e&&_e.onVnodeMounted)||De||Ee)&&Dn(()=>{J&&To(J,U,V),De&&oe.enter(ge),Ee&&jr(V,null,U,"mounted")},ie)},w=(V,R,E,U,ie)=>{if(E&&p(V,E),U)for(let Y=0;Y{for(let J=ge;J{const ye=R.el=V.el;let{patchFlag:ge,dynamicChildren:J,dirs:de}=R;ge|=V.patchFlag&16;const _e=V.props||Yt,te=R.props||Yt;let oe;E&&Vr(E,!1),(oe=te.onVnodeBeforeUpdate)&&To(oe,E,R,V),de&&jr(R,V,E,"beforeUpdate"),E&&Vr(E,!0);const Ee=ie&&R.type!=="foreignObject";if(J?k(V.dynamicChildren,J,ye,E,U,Ee,Y):he||Q(V,R,ye,null,E,U,Ee,Y,!1),ge>0){if(ge&16)I(ye,R,_e,te,E,U,ie);else if(ge&2&&_e.class!==te.class&&i(ye,"class",null,te.class,ie),ge&4&&i(ye,"style",_e.style,te.style,ie),ge&8){const De=R.dynamicProps;for(let qe=0;qe{oe&&To(oe,E,R,V),de&&jr(R,V,E,"updated")},U)},k=(V,R,E,U,ie,Y,he)=>{for(let ye=0;ye{if(E!==U){if(E!==Yt)for(const ye in E)!Kl(ye)&&!(ye in U)&&i(V,ye,E[ye],null,he,R.children,ie,Y,Ce);for(const ye in U){if(Kl(ye))continue;const ge=U[ye],J=E[ye];ge!==J&&ye!=="value"&&i(V,ye,J,ge,he,R.children,ie,Y,Ce)}"value"in U&&i(V,"value",E.value,U.value)}},A=(V,R,E,U,ie,Y,he,ye,ge)=>{const J=R.el=V?V.el:s(""),de=R.anchor=V?V.anchor:s("");let{patchFlag:_e,dynamicChildren:te,slotScopeIds:oe}=R;oe&&(ye=ye?ye.concat(oe):oe),V==null?(o(J,E,U),o(de,E,U),T(R.children,E,de,ie,Y,he,ye,ge)):_e>0&&_e&64&&te&&V.dynamicChildren?(k(V.dynamicChildren,te,E,ie,Y,he,ye),(R.key!=null||ie&&R===ie.subTree)&&Uh(V,R,!0)):Q(V,R,E,de,ie,Y,he,ye,ge)},q=(V,R,E,U,ie,Y,he,ye,ge)=>{R.slotScopeIds=ye,V==null?R.shapeFlag&512?ie.ctx.activate(R,E,U,he,ge):F(R,E,U,ie,Y,he,ge):O(V,R,ge)},F=(V,R,E,U,ie,Y,he)=>{const ye=V.component=l4(V,U,ie);if(jc(V)&&(ye.ctx.renderer=ue),c4(ye),ye.asyncDep){if(ie&&ie.registerDep(ye,$),!V.el){const ge=ye.subTree=ee(An);g(null,ge,R,E)}return}$(ye,V,R,E,ie,Y,he)},O=(V,R,E)=>{const U=R.component=V.component;if(_3(V,R,E))if(U.asyncDep&&!U.asyncResolved){W(U,R,E);return}else U.next=R,m3(U.update),U.update();else R.el=V.el,U.vnode=R},$=(V,R,E,U,ie,Y,he)=>{const ye=()=>{if(V.isMounted){let{next:de,bu:_e,u:te,parent:oe,vnode:Ee}=V,De=de,qe;Vr(V,!1),de?(de.el=Ee.el,W(V,de,he)):de=Ee,_e&&Gl(_e),(qe=de.props&&de.props.onVnodeBeforeUpdate)&&To(qe,oe,de,Ee),Vr(V,!0);const tt=td(V),Me=V.subTree;V.subTree=tt,m(Me,tt,d(Me.el),G(Me),V,ie,Y),de.el=tt.el,De===null&&S3(V,tt.el),te&&Dn(te,ie),(qe=de.props&&de.props.onVnodeUpdated)&&Dn(()=>To(qe,oe,de,Ee),ie)}else{let de;const{el:_e,props:te}=R,{bm:oe,m:Ee,parent:De}=V,qe=is(R);if(Vr(V,!1),oe&&Gl(oe),!qe&&(de=te&&te.onVnodeBeforeMount)&&To(de,De,R),Vr(V,!0),_e&&ke){const tt=()=>{V.subTree=td(V),ke(_e,V.subTree,V,ie,null)};qe?R.type.__asyncLoader().then(()=>!V.isUnmounted&&tt()):tt()}else{const tt=V.subTree=td(V);m(null,tt,E,U,V,ie,Y),R.el=tt.el}if(Ee&&Dn(Ee,ie),!qe&&(de=te&&te.onVnodeMounted)){const tt=R;Dn(()=>To(de,De,tt),ie)}(R.shapeFlag&256||De&&is(De.vnode)&&De.vnode.shapeFlag&256)&&V.a&&Dn(V.a,ie),V.isMounted=!0,R=E=U=null}},ge=V.effect=new Eh(ye,()=>Lh(J),V.scope),J=V.update=()=>ge.run();J.id=V.uid,Vr(V,!0),J()},W=(V,R,E)=>{R.component=V;const U=V.vnode.props;V.vnode=R,V.next=null,W3(V,R.props,U,E),G3(V,R.children,E),_a(),Fm(),Sa()},Q=(V,R,E,U,ie,Y,he,ye,ge=!1)=>{const J=V&&V.children,de=V?V.shapeFlag:0,_e=R.children,{patchFlag:te,shapeFlag:oe}=R;if(te>0){if(te&128){M(J,_e,E,U,ie,Y,he,ye,ge);return}else if(te&256){L(J,_e,E,U,ie,Y,he,ye,ge);return}}oe&8?(de&16&&Ce(J,ie,Y),_e!==J&&u(E,_e)):de&16?oe&16?M(J,_e,E,U,ie,Y,he,ye,ge):Ce(J,ie,Y,!0):(de&8&&u(E,""),oe&16&&T(_e,E,U,ie,Y,he,ye,ge))},L=(V,R,E,U,ie,Y,he,ye,ge)=>{V=V||ea,R=R||ea;const J=V.length,de=R.length,_e=Math.min(J,de);let te;for(te=0;te<_e;te++){const oe=R[te]=ge?Cr(R[te]):$o(R[te]);m(V[te],oe,E,null,ie,Y,he,ye,ge)}J>de?Ce(V,ie,Y,!0,!1,_e):T(R,E,U,ie,Y,he,ye,ge,_e)},M=(V,R,E,U,ie,Y,he,ye,ge)=>{let J=0;const de=R.length;let _e=V.length-1,te=de-1;for(;J<=_e&&J<=te;){const oe=V[J],Ee=R[J]=ge?Cr(R[J]):$o(R[J]);if(Qr(oe,Ee))m(oe,Ee,E,null,ie,Y,he,ye,ge);else break;J++}for(;J<=_e&&J<=te;){const oe=V[_e],Ee=R[te]=ge?Cr(R[te]):$o(R[te]);if(Qr(oe,Ee))m(oe,Ee,E,null,ie,Y,he,ye,ge);else break;_e--,te--}if(J>_e){if(J<=te){const oe=te+1,Ee=oete)for(;J<=_e;)X(V[J],ie,Y,!0),J++;else{const oe=J,Ee=J,De=new Map;for(J=Ee;J<=te;J++){const it=R[J]=ge?Cr(R[J]):$o(R[J]);it.key!=null&&De.set(it.key,J)}let qe,tt=0;const Me=te-Ee+1;let je=!1,dt=0;const Oe=new Array(Me);for(J=0;J=Me){X(it,ie,Y,!0);continue}let Z;if(it.key!=null)Z=De.get(it.key);else for(qe=Ee;qe<=te;qe++)if(Oe[qe-Ee]===0&&Qr(it,R[qe])){Z=qe;break}Z===void 0?X(it,ie,Y,!0):(Oe[Z-Ee]=J+1,Z>=dt?dt=Z:je=!0,m(it,R[Z],E,null,ie,Y,he,ye,ge),tt++)}const rt=je?Z3(Oe):ea;for(qe=rt.length-1,J=Me-1;J>=0;J--){const it=Ee+J,Z=R[it],we=it+1{const{el:Y,type:he,transition:ye,children:ge,shapeFlag:J}=V;if(J&6){se(V.component.subTree,R,E,U);return}if(J&128){V.suspense.move(R,E,U);return}if(J&64){he.move(V,R,E,ue);return}if(he===et){o(Y,R,E);for(let _e=0;_eye.enter(Y),ie);else{const{leave:_e,delayLeave:te,afterLeave:oe}=ye,Ee=()=>o(Y,R,E),De=()=>{_e(Y,()=>{Ee(),oe&&oe()})};te?te(Y,Ee,De):De()}else o(Y,R,E)},X=(V,R,E,U=!1,ie=!1)=>{const{type:Y,props:he,ref:ye,children:ge,dynamicChildren:J,shapeFlag:de,patchFlag:_e,dirs:te}=V;if(ye!=null&&gf(ye,null,E,V,!0),de&256){R.ctx.deactivate(V);return}const oe=de&1&&te,Ee=!is(V);let De;if(Ee&&(De=he&&he.onVnodeBeforeUnmount)&&To(De,R,V),de&6)xe(V.component,E,U);else{if(de&128){V.suspense.unmount(E,U);return}oe&&jr(V,null,R,"beforeUnmount"),de&64?V.type.remove(V,R,E,ie,ue,U):J&&(Y!==et||_e>0&&_e&64)?Ce(J,R,E,!1,!0):(Y===et&&_e&384||!ie&&de&16)&&Ce(ge,R,E),U&&ne(V)}(Ee&&(De=he&&he.onVnodeUnmounted)||oe)&&Dn(()=>{De&&To(De,R,V),oe&&jr(V,null,R,"unmounted")},E)},ne=V=>{const{type:R,el:E,anchor:U,transition:ie}=V;if(R===et){fe(E,U);return}if(R===Yl){C(V);return}const Y=()=>{r(E),ie&&!ie.persisted&&ie.afterLeave&&ie.afterLeave()};if(V.shapeFlag&1&&ie&&!ie.persisted){const{leave:he,delayLeave:ye}=ie,ge=()=>he(E,Y);ye?ye(V.el,Y,ge):ge()}else Y()},fe=(V,R)=>{let E;for(;V!==R;)E=f(V),r(V),V=E;r(R)},xe=(V,R,E)=>{const{bum:U,scope:ie,update:Y,subTree:he,um:ye}=V;U&&Gl(U),ie.stop(),Y&&(Y.active=!1,X(he,V,R,E)),ye&&Dn(ye,R),Dn(()=>{V.isUnmounted=!0},R),R&&R.pendingBranch&&!R.isUnmounted&&V.asyncDep&&!V.asyncResolved&&V.suspenseId===R.pendingId&&(R.deps--,R.deps===0&&R.resolve())},Ce=(V,R,E,U=!1,ie=!1,Y=0)=>{for(let he=Y;heV.shapeFlag&6?G(V.component.subTree):V.shapeFlag&128?V.suspense.next():f(V.anchor||V.el),ve=(V,R,E)=>{V==null?R._vnode&&X(R._vnode,null,null,!0):m(R._vnode||null,V,R,null,null,null,E),Fm(),uy(),R._vnode=V},ue={p:m,um:X,m:se,r:ne,mt:F,mc:T,pc:Q,pbc:k,n:G,o:e};let re,ke;return t&&([re,ke]=t(ue)),{render:ve,hydrate:re,createApp:j3(ve,re)}}function Vr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Q3(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Uh(e,t,n=!1){const o=e.children,r=t.children;if(ut(o)&&ut(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}const J3=e=>e.__isTeleport,ss=e=>e&&(e.disabled||e.disabled===""),Xm=e=>typeof SVGElement<"u"&&e instanceof SVGElement,vf=(e,t)=>{const n=e&&e.to;return ln(n)?t?t(n):null:n},e4={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,g=ss(t.props);let{shapeFlag:y,children:S,dynamicChildren:C}=t;if(e==null){const _=t.el=m(""),x=t.anchor=m("");p(_,n,o),p(x,n,o);const w=t.target=vf(t.props,h),T=t.targetAnchor=m("");w&&(p(T,w),a=a||Xm(w));const P=(k,I)=>{y&16&&u(S,k,I,r,i,a,s,l)};g?P(n,x):w&&P(w,T)}else{t.el=e.el;const _=t.anchor=e.anchor,x=t.target=e.target,w=t.targetAnchor=e.targetAnchor,T=ss(e.props),P=T?n:x,k=T?_:w;if(a=a||Xm(x),C?(f(e.dynamicChildren,C,P,r,i,a,s),Uh(e,t,!0)):l||d(e,t,P,k,r,i,a,s,!1),g)T?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):xl(t,n,_,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const I=t.target=vf(t.props,h);I&&xl(t,I,null,c,0)}else T&&xl(t,x,w,c,1)}Ey(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||!ss(f);for(let h=0;h0?go||ea:null,n4(),Ts>0&&go&&go.push(e),e}function ze(e,t,n,o,r,i){return $y(H(e,t,n,o,r,i,!0))}function Ge(e,t,n,o,r){return $y(ee(e,t,n,o,r,!0))}function Ps(e){return e?e.__v_isVNode===!0:!1}function Qr(e,t){return e.type===t.type&&e.key===t.key}const Kc="__vInternal",Ay=({key:e})=>e??null,Xl=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ln(e)||en(e)||vt(e)?{i:yn,r:e,k:t,f:!!n}:e:null);function H(e,t=null,n=null,o=0,r=null,i=e===et?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ay(t),ref:t&&Xl(t),scopeId:Bc,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:yn};return s?(Wh(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=ln(n)?8:16),Ts>0&&!a&&go&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&go.push(l),l}const ee=o4;function o4(e,t=null,n=null,o=0,r=null,i=!1){if((!e||e===hy)&&(e=An),Ps(e)){const s=oo(e,t,!0);return n&&Wh(s,n),Ts>0&&!i&&go&&(s.shapeFlag&6?go[go.indexOf(e)]=s:go.push(s)),s.patchFlag|=-2,s}if(p4(e)&&(e=e.__vccOpts),t){t=r4(t);let{class:s,style:l}=t;s&&!ln(s)&&(t.class=Ci(s)),qt(l)&&(ry(l)&&!ut(l)&&(l=dn({},l)),t.style=Fo(l))}const a=ln(e)?1:k3(e)?128:J3(e)?64:qt(e)?4:vt(e)?2:0;return H(e,t,n,o,r,a,i,!0)}function r4(e){return e?ry(e)||Kc in e?dn({},e):e:null}function oo(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:a}=e,s=t?Mn(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Ay(s),ref:t&&t.ref?n&&r?ut(r)?r.concat(Xl(t)):[r,Xl(t)]:Xl(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!==et?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&&oo(e.ssContent),ssFallback:e.ssFallback&&oo(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Je(e=" ",t=0){return ee(Ta,null,e,t)}function i4(e,t){const n=ee(Yl,null,e);return n.staticCount=t,n}function bt(e="",t=!1){return t?(be(),Ge(An,null,e)):ee(An,null,e)}function $o(e){return e==null||typeof e=="boolean"?ee(An):ut(e)?ee(et,null,e.slice()):typeof e=="object"?Cr(e):ee(Ta,null,String(e))}function Cr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:oo(e)}function Wh(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(ut(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),Wh(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Kc in t)?t._ctx=yn:r===3&&yn&&(yn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else vt(t)?(t={default:t,_ctx:yn},n=32):(t=String(t),o&64?(n=16,t=[Je(t)]):n=8);e.children=t,e.shapeFlag|=n}function Mn(...e){const t={};for(let n=0;nmn||yn;let qh,Bi,Zm="__VUE_INSTANCE_SETTERS__";(Bi=sf()[Zm])||(Bi=sf()[Zm]=[]),Bi.push(e=>mn=e),qh=e=>{Bi.length>1?Bi.forEach(t=>t(e)):Bi[0](e)};const ca=e=>{qh(e),e.scope.on()},ai=()=>{mn&&mn.scope.off(),qh(null)};function Iy(e){return e.vnode.shapeFlag&4}let Rs=!1;function c4(e,t=!1){Rs=t;const{props:n,children:o}=e.vnode,r=Iy(e);U3(e,n,r,t),K3(e,o);const i=r?u4(e,t):void 0;return Rs=!1,i}function u4(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=la(new Proxy(e.ctx,O3));const{setup:o}=n;if(o){const r=e.setupContext=o.length>1?f4(e):null;ca(e),_a();const i=Rr(o,e,0,[e.props,r]);if(Sa(),ai(),B1(i)){if(i.then(ai,ai),t)return i.then(a=>{Jm(e,a,t)}).catch(a=>{Fc(a,e,0)});e.asyncDep=i}else Jm(e,i,t)}else My(e,t)}function Jm(e,t,n){vt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:qt(t)&&(e.setupState=ay(t)),My(e,n)}let eg;function My(e,t,n){const o=e.type;if(!e.render){if(!t&&eg&&!o.render){const r=o.template||jh(e).template;if(r){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=o,c=dn(dn({isCustomElement:i,delimiters:s},a),l);o.render=eg(r,c)}}e.render=o.render||vo}{ca(e),_a();try{D3(e)}finally{Sa(),ai()}}}function d4(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Fn(e,"get","$attrs"),t[n]}}))}function f4(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return d4(e)},slots:e.slots,emit:e.emit,expose:t}}function Gc(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ay(la(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in as)return as[n](e)},has(t,n){return n in t||n in as}}))}function h4(e,t=!0){return vt(e)?e.displayName||e.name:e.name||t&&e.__name}function p4(e){return vt(e)&&"__vccOpts"in e}const N=(e,t)=>f3(e,t,Rs);function b(e,t,n){const o=arguments.length;return o===2?qt(t)&&!ut(t)?Ps(t)?ee(e,null,[t]):ee(e,t):ee(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Ps(n)&&(n=[n]),ee(e,t,n))}const m4=Symbol.for("v-scx"),g4=()=>He(m4),v4="3.3.9",b4="http://www.w3.org/2000/svg",Zr=typeof document<"u"?document:null,tg=Zr&&Zr.createElement("template"),y4={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?Zr.createElementNS(b4,e):Zr.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>Zr.createTextNode(e),createComment:e=>Zr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Zr.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{tg.innerHTML=o?`${e}`:e;const s=tg.content;if(o){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]}},dr="transition",Wa="animation",ua=Symbol("_vtc"),fn=(e,{slots:t})=>b(E3,Oy(e),t);fn.displayName="Transition";const zy={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},x4=fn.props=dn({},vy,zy),Ur=(e,t=[])=>{ut(e)?e.forEach(n=>n(...t)):e&&e(...t)},ng=e=>e?ut(e)?e.some(t=>t.length>1):e.length>1:!1;function Oy(e){const t={};for(const A in e)A in zy||(t[A]=e[A]);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=C4(r),m=h&&h[0],v=h&&h[1],{onBeforeEnter:g,onEnter:y,onEnterCancelled:S,onLeave:C,onLeaveCancelled:_,onBeforeAppear:x=g,onAppear:w=y,onAppearCancelled:T=S}=t,P=(A,q,F)=>{br(A,q?u:s),br(A,q?c:a),F&&F()},k=(A,q)=>{A._isLeaving=!1,br(A,d),br(A,p),br(A,f),q&&q()},I=A=>(q,F)=>{const O=A?w:y,$=()=>P(q,A,F);Ur(O,[q,$]),og(()=>{br(q,A?l:i),Xo(q,A?u:s),ng(O)||rg(q,o,m,$)})};return dn(t,{onBeforeEnter(A){Ur(g,[A]),Xo(A,i),Xo(A,a)},onBeforeAppear(A){Ur(x,[A]),Xo(A,l),Xo(A,c)},onEnter:I(!1),onAppear:I(!0),onLeave(A,q){A._isLeaving=!0;const F=()=>k(A,q);Xo(A,d),Ly(),Xo(A,f),og(()=>{A._isLeaving&&(br(A,d),Xo(A,p),ng(C)||rg(A,o,v,F))}),Ur(C,[A,F])},onEnterCancelled(A){P(A,!1),Ur(S,[A])},onAppearCancelled(A){P(A,!0),Ur(T,[A])},onLeaveCancelled(A){k(A),Ur(_,[A])}})}function C4(e){if(e==null)return null;if(qt(e))return[rd(e.enter),rd(e.leave)];{const t=rd(e);return[t,t]}}function rd(e){return Ek(e)}function Xo(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ua]||(e[ua]=new Set)).add(t)}function br(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[ua];n&&(n.delete(t),n.size||(e[ua]=void 0))}function og(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let w4=0;function rg(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}=Dy(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(`${dr}Delay`),i=o(`${dr}Duration`),a=ig(r,i),s=o(`${Wa}Delay`),l=o(`${Wa}Duration`),c=ig(s,l);let u=null,d=0,f=0;t===dr?a>0&&(u=dr,d=a,f=i.length):t===Wa?c>0&&(u=Wa,d=c,f=l.length):(d=Math.max(a,c),u=d>0?a>c?dr:Wa:null,f=u?u===dr?i.length:l.length:0);const p=u===dr&&/\b(transform|all)(,|$)/.test(o(`${dr}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function ig(e,t){for(;e.lengthag(n)+ag(e[o])))}function ag(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ly(){return document.body.offsetHeight}function _4(e,t,n){const o=e[ua];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Kh=Symbol("_vod"),ro={beforeMount(e,{value:t},{transition:n}){e[Kh]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):qa(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),qa(e,!0),o.enter(e)):o.leave(e,()=>{qa(e,!1)}):qa(e,t))},beforeUnmount(e,{value:t}){qa(e,t)}};function qa(e,t){e.style.display=t?e[Kh]:"none"}function S4(e,t,n){const o=e.style,r=ln(n);if(n&&!r){if(t&&!ln(t))for(const i in t)n[i]==null&&bf(o,i,"");for(const i in n)bf(o,i,n[i])}else{const i=o.display;r?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),Kh in e&&(o.display=i)}}const sg=/\s*!important$/;function bf(e,t,n){if(ut(n))n.forEach(o=>bf(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=k4(e,t);sg.test(n)?e.setProperty(xi(o),n.replace(sg,""),"important"):e[o]=n}}const lg=["Webkit","Moz","ms"],id={};function k4(e,t){const n=id[t];if(n)return n;let o=Lo(t);if(o!=="filter"&&o in e)return id[t]=o;o=Dc(o);for(let r=0;rad||(A4.then(()=>ad=0),ad=Date.now());function M4(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;Jn(z4(o,n.value),t,5,[o])};return n.value=e,n.attached=I4(),n}function z4(e,t){if(ut(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 fg=/^on[a-z]/,O4=(e,t,n,o,r=!1,i,a,s,l)=>{t==="class"?_4(e,o,r):t==="style"?S4(e,n,o):Ic(t)?_h(t)||E4(e,t,n,o,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):D4(e,t,o,r))?P4(e,t,o,i,a,s,l):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),T4(e,t,o,r))};function D4(e,t,n,o){return o?!!(t==="innerHTML"||t==="textContent"||t in e&&fg.test(t)&&vt(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||fg.test(t)&&ln(n)?!1:t in e}const Fy=new WeakMap,Ny=new WeakMap,fc=Symbol("_moveCb"),hg=Symbol("_enterCb"),By={name:"TransitionGroup",props:dn({},x4,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Gn(),o=gy();let r,i;return Ws(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!j4(r[0].el,n.vnode.el,a))return;r.forEach(N4),r.forEach(B4);const s=r.filter(H4);Ly(),s.forEach(l=>{const c=l.el,u=c.style;Xo(c,a),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[fc]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[fc]=null,br(c,a))};c.addEventListener("transitionend",d)})}),()=>{const a=Et(e),s=Oy(a);let l=a.tag||et;r=i,i=t.default?Bh(t.default()):[];for(let c=0;cdelete e.mode;By.props;const F4=By;function N4(e){const t=e.el;t[fc]&&t[fc](),t[hg]&&t[hg]()}function B4(e){Ny.set(e,e.el.getBoundingClientRect())}function H4(e){const t=Fy.get(e),n=Ny.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 j4(e,t,n){const o=e.cloneNode(),r=e[ua];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}=Dy(o);return i.removeChild(o),a}const pg=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ut(t)?n=>Gl(t,n):t};function V4(e){e.target.composing=!0}function mg(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const sd=Symbol("_assign"),U4={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e[sd]=pg(r);const i=o||r.props&&r.props.type==="number";Ki(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),i&&(s=af(s)),e[sd](s)}),n&&Ki(e,"change",()=>{e.value=e.value.trim()}),t||(Ki(e,"compositionstart",V4),Ki(e,"compositionend",mg),Ki(e,"change",mg))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},i){if(e[sd]=pg(i),e.composing)return;const a=r||e.type==="number"?af(e.value):e.value,s=t??"";a!==s&&(document.activeElement===e&&e.type!=="range"&&(n||o&&e.value.trim()===s)||(e.value=s))}},W4=["ctrl","shift","alt","meta"],q4={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)=>W4.some(n=>e[`${n}Key`]&&!t.includes(n))},K4=(e,t)=>(n,...o)=>{for(let r=0;rn=>{if(!("key"in n))return;const o=xi(n.key);if(t.some(r=>r===o||G4[r]===o))return e(n)},Y4=dn({patchProp:O4},y4);let gg;function X4(){return gg||(gg=Y3(Y4))}const Hy=(...e)=>{const t=X4().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=Q4(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,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function Q4(e){return ln(e)?document.querySelector(e):e}/*! +(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(`@charset "UTF-8";.v2board-nav-mask{position:fixed;top:0;bottom:0;right:0;left:0;background:#000;z-index:999;opacity:.5;display:none}.v2board-plan-features{padding:0;list-style:none;font-size:16px;flex:1 0 auto}.v2board-plan-features>li{padding:6px 0;color:#7c8088;text-align:left}.v2board-plan-features>li>b{color:#2a2e36;font-weight:500}.v2board-plan-content{padding-top:20px;padding-left:20px}.v2board-plan-features>li:before{font-family:Font Awesome\\ 5 Free;content:"";padding-right:10px;color:#425b94;font-weight:900}.v2board-email-whitelist-enable{display:flex}.v2board-email-whitelist-enable input{flex:2 1;border-top-right-radius:0;border-bottom-right-radius:0}.v2board-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}.v2board-trade-no{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v2board-lang-item{padding:10px 20px}.v2board-lang-item:hover{background:#eee}.v2board-auth-lang-btn{position:absolute;right:0;top:0}.v2board-no-access{color:#855c0d;background-color:#ffefd1;position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:0 solid transparent;border-radius:.25rem}.v2board-notice-background{height:100%;position:absolute;top:0;right:0;left:0;bottom:0;z-index:80;opacity:.1}.v2board-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}.v2board-copyright{position:absolute;bottom:10px;right:0;left:15px;font-size:10px;opacity:.2}.ant-table-thead>tr>th{background:#fff!important}.v2board-container-title{flex:1 1;color:#fff}.v2board-order-info>div{display:flex;font-size:14px;margin-bottom:5px}.v2board-order-info>div>span:first-child{flex:1 1;opacity:.5}.v2board-order-info>div>span:last-child{flex:2 1;font-family:menlo}.v2board-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}.v2board-login-i18n-btn{cursor:pointer;margin-top:2.5;float:right}.custom-control-label:after{left:-1.25rem}.v2board-shortcuts-item{cursor:pointer;padding:20px;border-bottom:1px solid #eee;position:relative}.v2board-shortcuts-item>.description{font-size:12px;opacity:.5}.v2board-shortcuts-item i{position:absolute;top:25px;font-size:30px;right:20px;opacity:.5}.v2board-shortcuts-item:hover{background:#f6f6f6}.btn{border:0}.v2board-plan-tabs{border:1px solid #000;padding:8px 4px;border-radius:100px}.v2board-plan-tabs>span{cursor:pointer;padding:5px 12px}.v2board-plan-tabs>.active{background:#000;border-radius:100px;color:#fff}.v2board-sold-out-tag{background-color:#c12c1f;border-radius:100px;padding:2px 8px;font-size:13px;color:#fff}.v2board-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}*,: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:middle}: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}::-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-4d283f3c]{width:100%;height:240px;object-fit:cover}.v2board-bg-pixels[data-v-4d283f3c]{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjIwMCIgd2lkdGg9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwIDgpIj48Y2lyY2xlIGN4PSIxNzYiIGN5PSIxMiIgcj0iNCIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMjAuNS41bDIzIDExbS0yOSA4NGwtMy43OSAxMC4zNzdNMjcuMDM3IDEzMS40bDUuODk4IDIuMjAzLTMuNDYgNS45NDcgNi4wNzIgMi4zOTItMy45MzMgNS43NThtMTI4LjczMyAzNS4zN2wuNjkzLTkuMzE2IDEwLjI5Mi4wNTIuNDE2LTkuMjIyIDkuMjc0LjMzMk0uNSA0OC41czYuMTMxIDYuNDEzIDYuODQ3IDE0LjgwNWMuNzE1IDguMzkzLTIuNTIgMTQuODA2LTIuNTIgMTQuODA2TTEyNC41NTUgOTBzLTcuNDQ0IDAtMTMuNjcgNi4xOTJjLTYuMjI3IDYuMTkyLTQuODM4IDEyLjAxMi00LjgzOCAxMi4wMTJtMi4yNCA2OC42MjZzLTQuMDI2LTkuMDI1LTE4LjE0NS05LjAyNS0xOC4xNDUgNS43LTE4LjE0NSA1LjciIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNODUuNzE2IDM2LjE0Nmw1LjI0My05LjUyMWgxMS4wOTNsNS40MTYgOS41MjEtNS40MSA5LjE4NUg5MC45NTN6bTYzLjkwOSAxNS40NzloMTAuNzV2MTAuNzVoLTEwLjc1eiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48ZyBmaWxsPSIjZGRkIj48Y2lyY2xlIGN4PSI3MS41IiBjeT0iNy41IiByPSIxLjUiLz48Y2lyY2xlIGN4PSIxNzAuNSIgY3k9Ijk1LjUiIHI9IjEuNSIvPjxjaXJjbGUgY3g9IjgxLjUiIGN5PSIxMzQuNSIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iMTMuNSIgY3k9IjIzLjUiIHI9IjEuNSIvPjxwYXRoIGQ9Ik05MyA3MWgzdjNoLTN6bTMzIDg0aDN2M2gtM3ptLTg1IDE4aDN2M2gtM3oiLz48L2c+PHBhdGggZD0iTTM5LjM4NCA1MS4xMjJsNS43NTgtNC40NTQgNi40NTMgNC4yMDUtMi4yOTQgNy4zNjNoLTcuNzl6TTEzMC4xOTUgNC4wM2wxMy44MyA1LjA2Mi0xMC4wOSA3LjA0OHptLTgzIDk1bDE0LjgzIDUuNDI5LTEwLjgyIDcuNTU3LTQuMDEtMTIuOTg3ek01LjIxMyAxNjEuNDk1bDExLjMyOCAyMC44OTdMMi4yNjUgMTgweiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMTQ5LjA1IDEyNy40NjhzLS41MSAyLjE4My45OTUgMy4zNjZjMS41NiAxLjIyNiA4LjY0Mi0xLjg5NSAzLjk2Ny03Ljc4NS0yLjM2Ny0yLjQ3Ny02LjUtMy4yMjYtOS4zMyAwLTUuMjA4IDUuOTM2IDAgMTcuNTEgMTEuNjEgMTMuNzMgMTIuNDU4LTYuMjU3IDUuNjMzLTIxLjY1Ni01LjA3My0yMi42NTQtNi42MDItLjYwNi0xNC4wNDMgMS43NTYtMTYuMTU3IDEwLjI2OC0xLjcxOCA2LjkyIDEuNTg0IDE3LjM4NyAxMi40NSAyMC40NzYgMTAuODY2IDMuMDkgMTkuMzMxLTQuMzEgMTkuMzMxLTQuMzEiIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48L2c+PC9zdmc+);background-size:auto}.card-container[data-v-1c778f67]{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-1c778f67]{max-width:100%}@media screen and (min-width: 768px){.card-container[data-v-1c778f67]{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-1c778f67]{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-100{z-index:100}.grid{display:grid}.m-0\\!{margin:0!important}.m-1{margin:1px}.m-3{margin:3px}.m-auto,[m-auto=""]{margin:auto}.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,[mb-3=""]{margin-bottom:3px}.mb-4{margin-bottom:4px}.mb-8{margin-bottom:8px}.ml-15,[ml-15=""]{margin-left:15px}.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,[hidden=""]{display:none}.h-100\\%,.h-full,[h-full=""]{height:100%}.h-140{height:140px}.h-20{height:20px}.h-30{height:30px}.h-35,[h-35=""]{height:35px}.h-36,[h-36=""]{height:36px}.h-6{height:6px}.h-60,[h-60=""]{height:60px}.h-auto{height:auto}.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,[w-full=""]{width:100%}.w-140{width:140px}.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-60\\%{width:60%}.w-600{width:600px}.w-64{width:64px}.w-80\\%{width:80%}.flex,[flex=""]{display:flex}.flex-\\[1\\]{flex:1}.flex-\\[2\\]{flex:2}.flex-\\[3\\]{flex:3}.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}.items-center,[items-center=""]{align-items:center}.justify-end{justify-content:flex-end}.justify-center,[justify-center=""]{justify-content:center}.justify-between{justify-content:space-between}.overflow-hidden,[overflow-hidden=""]{overflow:hidden}.b{border-width:1px}.border-0,.dark [dark\\:border-0=""],.dark [dark~=border-0]{border-width:0px}.border-2{border-width:2px}.border-b,[border-b=""],[border-b~="1"]{border-bottom-width:1px}.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-b~="#eee"]{--un-border-opacity:1;--un-border-bottom-opacity:var(--un-border-opacity);border-bottom-color:rgb(238 238 238 / var(--un-border-bottom-opacity))}.border-rounded-5,.rounded-5,[border-rounded-5=""],[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-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,.pl-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-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-400=""]{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-primary,[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-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\\()}.bc-eee,[bc-eee=""]{border-color:#eee}@media (min-width: 640px){.sm\\:block,[sm\\:block=""]{display:block}.sm\\:max-w-full{max-width:100%}}@media (min-width: 768px){.md\\:relative{position:relative}.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 Ck=Object.defineProperty;var wk=(e,t,n)=>t in e?Ck(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var _k=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ju=(e,t,n)=>(wk(e,typeof t!="symbol"?t+"":t,n),n);var d7e=_k((Wn,qn)=>{(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)}})();function wh(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const Yt={},ea=[],vo=()=>{},Sk=()=>!1,kk=/^on[^a-z]/,Ic=e=>kk.test(e),_h=e=>e.startsWith("onUpdate:"),dn=Object.assign,Sh=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Tk=Object.prototype.hasOwnProperty,zt=(e,t)=>Tk.call(e,t),ut=Array.isArray,ta=e=>zc(e)==="[object Map]",B1=e=>zc(e)==="[object Set]",vt=e=>typeof e=="function",ln=e=>typeof e=="string",Mc=e=>typeof e=="symbol",qt=e=>e!==null&&typeof e=="object",H1=e=>(qt(e)||vt(e))&&vt(e.then)&&vt(e.catch),j1=Object.prototype.toString,zc=e=>j1.call(e),Pk=e=>zc(e).slice(8,-1),V1=e=>zc(e)==="[object Object]",kh=e=>ln(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Kl=wh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Oc=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Rk=/-(\w)/g,Lo=Oc(e=>e.replace(Rk,(t,n)=>n?n.toUpperCase():"")),Ek=/\B([A-Z])/g,xi=Oc(e=>e.replace(Ek,"-$1").toLowerCase()),Dc=Oc(e=>e.charAt(0).toUpperCase()+e.slice(1)),ed=Oc(e=>e?`on${Dc(e)}`:""),di=(e,t)=>!Object.is(e,t),Gl=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},af=e=>{const t=parseFloat(e);return isNaN(t)?e:t},$k=e=>{const t=ln(e)?Number(e):NaN;return isNaN(t)?e:t};let Am;const sf=()=>Am||(Am=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Fo(e){if(ut(e)){const t={};for(let n=0;n{if(n){const o=n.split(Ik);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Ci(e){let t="";if(ln(e))t=e;else if(ut(e))for(let n=0;nln(e)?e:e==null?"":ut(e)||qt(e)&&(e.toString===j1||!vt(e.toString))?JSON.stringify(e,W1,2):String(e),W1=(e,t)=>t&&t.__v_isRef?W1(e,t.value):ta(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r])=>(n[`${o} =>`]=r,n),{})}:B1(t)?{[`Set(${t.size})`]:[...t.values()]}:qt(t)&&!ut(t)&&!V1(t)?String(t):t;let Vn;class q1{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Vn,!t&&Vn&&(this.index=(Vn.scopes||(Vn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Vn;try{return Vn=this,t()}finally{Vn=n}}}on(){Vn=this}off(){Vn=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},G1=e=>(e.w&Er)>0,Y1=e=>(e.n&Er)>0,Fk=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o{(u==="length"||!Mc(u)&&u>=l)&&s.push(c)})}else switch(n!==void 0&&s.push(a.get(n)),t){case"add":ut(e)?kh(n)&&s.push(a.get("length")):(s.push(a.get(ii)),ta(e)&&s.push(a.get(cf)));break;case"delete":ut(e)||(s.push(a.get(ii)),ta(e)&&s.push(a.get(cf)));break;case"set":ta(e)&&s.push(a.get(ii));break}if(s.length===1)s[0]&&uf(s[0]);else{const l=[];for(const c of s)c&&l.push(...c);uf(Rh(l))}}function uf(e,t){const n=ut(e)?e:[...e];for(const o of n)o.computed&&Mm(o);for(const o of n)o.computed||Mm(o)}function Mm(e,t){(e!==mo||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Bk(e,t){var n;return(n=lc.get(e))==null?void 0:n.get(t)}const Hk=wh("__proto__,__v_isRef,__isVue"),Z1=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Mc)),zm=jk();function jk(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=Et(this);for(let i=0,a=this.length;i{e[t]=function(...n){_a();const o=Et(this)[t].apply(this,n);return Sa(),o}}),e}function Vk(e){const t=Et(this);return Fn(t,"has",e),t.hasOwnProperty(e)}class J1{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,o){const r=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw"&&o===(r?i?n3:oy:i?ny:ty).get(t))return t;const a=ut(t);if(!r){if(a&&zt(zm,n))return Reflect.get(zm,n,o);if(n==="hasOwnProperty")return Vk}const s=Reflect.get(t,n,o);return(Mc(n)?Z1.has(n):Hk(n))||(r||Fn(t,"get",n),i)?s:en(s)?a&&kh(n)?s:s.value:qt(s)?r?to(s):bo(s):s}}class ey extends J1{constructor(t=!1){super(!1,t)}set(t,n,o,r){let i=t[n];if(sa(i)&&en(i)&&!en(o))return!1;if(!this._shallow&&(!cc(o)&&!sa(o)&&(i=Et(i),o=Et(o)),!ut(t)&&en(i)&&!en(o)))return i.value=o,!0;const a=ut(t)&&kh(n)?Number(n)e,Lc=e=>Reflect.getPrototypeOf(e);function hl(e,t,n=!1,o=!1){e=e.__v_raw;const r=Et(e),i=Et(t);n||(di(t,i)&&Fn(r,"get",t),Fn(r,"get",i));const{has:a}=Lc(r),s=o?$h:n?Mh:xs;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 pl(e,t=!1){const n=this.__v_raw,o=Et(n),r=Et(e);return t||(di(e,r)&&Fn(o,"has",e),Fn(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function ml(e,t=!1){return e=e.__v_raw,!t&&Fn(Et(e),"iterate",ii),Reflect.get(e,"size",e)}function Om(e){e=Et(e);const t=Et(this);return Lc(t).has.call(t,e)||(t.add(e),Jo(t,"add",e,e)),this}function Dm(e,t){t=Et(t);const n=Et(this),{has:o,get:r}=Lc(n);let i=o.call(n,e);i||(e=Et(e),i=o.call(n,e));const a=r.call(n,e);return n.set(e,t),i?di(t,a)&&Jo(n,"set",e,t):Jo(n,"add",e,t),this}function Lm(e){const t=Et(this),{has:n,get:o}=Lc(t);let r=n.call(t,e);r||(e=Et(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&Jo(t,"delete",e,void 0),i}function Fm(){const e=Et(this),t=e.size!==0,n=e.clear();return t&&Jo(e,"clear",void 0,void 0),n}function gl(e,t){return function(o,r){const i=this,a=i.__v_raw,s=Et(a),l=t?$h:e?Mh:xs;return!e&&Fn(s,"iterate",ii),a.forEach((c,u)=>o.call(r,l(c),l(u),i))}}function vl(e,t,n){return function(...o){const r=this.__v_raw,i=Et(r),a=ta(i),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=r[e](...o),u=n?$h:t?Mh:xs;return!t&&Fn(i,"iterate",l?cf:ii),{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 ur(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Gk(){const e={get(i){return hl(this,i)},get size(){return ml(this)},has:pl,add:Om,set:Dm,delete:Lm,clear:Fm,forEach:gl(!1,!1)},t={get(i){return hl(this,i,!1,!0)},get size(){return ml(this)},has:pl,add:Om,set:Dm,delete:Lm,clear:Fm,forEach:gl(!1,!0)},n={get(i){return hl(this,i,!0)},get size(){return ml(this,!0)},has(i){return pl.call(this,i,!0)},add:ur("add"),set:ur("set"),delete:ur("delete"),clear:ur("clear"),forEach:gl(!0,!1)},o={get(i){return hl(this,i,!0,!0)},get size(){return ml(this,!0)},has(i){return pl.call(this,i,!0)},add:ur("add"),set:ur("set"),delete:ur("delete"),clear:ur("clear"),forEach:gl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=vl(i,!1,!1),n[i]=vl(i,!0,!1),t[i]=vl(i,!1,!0),o[i]=vl(i,!0,!0)}),[e,n,t,o]}const[Yk,Xk,Qk,Zk]=Gk();function Ah(e,t){const n=t?e?Zk:Qk:e?Xk:Yk;return(o,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(zt(n,r)&&r in o?n:o,r,i)}const Jk={get:Ah(!1,!1)},e3={get:Ah(!1,!0)},t3={get:Ah(!0,!1)},ty=new WeakMap,ny=new WeakMap,oy=new WeakMap,n3=new WeakMap;function o3(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function r3(e){return e.__v_skip||!Object.isExtensible(e)?0:o3(Pk(e))}function bo(e){return sa(e)?e:Ih(e,!1,Wk,Jk,ty)}function ry(e){return Ih(e,!1,Kk,e3,ny)}function to(e){return Ih(e,!0,qk,t3,oy)}function Ih(e,t,n,o,r){if(!qt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=r3(e);if(a===0)return e;const s=new Proxy(e,a===2?o:n);return r.set(e,s),s}function Pr(e){return sa(e)?Pr(e.__v_raw):!!(e&&e.__v_isReactive)}function sa(e){return!!(e&&e.__v_isReadonly)}function cc(e){return!!(e&&e.__v_isShallow)}function iy(e){return Pr(e)||sa(e)}function Et(e){const t=e&&e.__v_raw;return t?Et(t):e}function la(e){return sc(e,"__v_skip",!0),e}const xs=e=>qt(e)?bo(e):e,Mh=e=>qt(e)?to(e):e;function zh(e){Tr&&mo&&(e=Et(e),Q1(e.dep||(e.dep=Rh())))}function Oh(e,t){e=Et(e);const n=e.dep;n&&uf(n)}function en(e){return!!(e&&e.__v_isRef===!0)}function N(e){return ay(e,!1)}function Us(e){return ay(e,!0)}function ay(e,t){return en(e)?e:new i3(e,t)}class i3{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Et(t),this._value=n?t:xs(t)}get value(){return zh(this),this._value}set value(t){const n=this.__v_isShallow||cc(t)||sa(t);t=n?t:Et(t),di(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:xs(t),Oh(this))}}function me(e){return en(e)?e.value:e}const a3={get:(e,t,n)=>me(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return en(r)&&!en(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function sy(e){return Pr(e)?e:new Proxy(e,a3)}class s3{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:o}=t(()=>zh(this),()=>Oh(this));this._get=n,this._set=o}get value(){return this._get()}set value(t){this._set(t)}}function l3(e){return new s3(e)}function c3(e){const t=ut(e)?new Array(e.length):{};for(const n in e)t[n]=ly(e,n);return t}class u3{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 Bk(Et(this._object),this._key)}}class d3{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ne(e,t,n){return en(e)?e:vt(e)?new d3(e):qt(e)&&arguments.length>1?ly(e,t,n):N(e)}function ly(e,t,n){const o=e[t];return en(o)?o:new u3(e,t,n)}class f3{constructor(t,n,o,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Eh(t,()=>{this._dirty||(this._dirty=!0,Oh(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=Et(this);return zh(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function h3(e,t,n=!1){let o,r;const i=vt(e);return i?(o=e,r=vo):(o=e.get,r=e.set),new f3(o,r,i||!r,n)}function Rr(e,t,n,o){let r;try{r=o?e(...o):e()}catch(i){Fc(i,t,n)}return r}function Jn(e,t,n,o){if(vt(e)){const i=Rr(e,t,n,o);return i&&H1(i)&&i.catch(a=>{Fc(a,t,n)}),i}const r=[];for(let i=0;i>>1,r=Tn[o],i=ws(r);iAo&&Tn.splice(t,1)}function v3(e){ut(e)?na.push(...e):(!Qo||!Qo.includes(e,e.allowRecurse?Xr+1:Xr))&&na.push(e),uy()}function Nm(e,t=Cs?Ao+1:0){for(;tws(n)-ws(o)),Xr=0;Xre.id==null?1/0:e.id,b3=(e,t)=>{const n=ws(e)-ws(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function fy(e){df=!1,Cs=!0,Tn.sort(b3);const t=vo;try{for(Ao=0;Aoln(p)?p.trim():p)),d&&(r=n.map(af))}let s,l=o[s=ed(t)]||o[s=ed(Lo(t))];!l&&i&&(l=o[s=ed(xi(t))]),l&&Jn(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,Jn(c,e,6,r)}}function hy(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=hy(c,t,!0);u&&(s=!0,dn(a,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!s?(qt(e)&&o.set(e,null),null):(ut(i)?i.forEach(l=>a[l]=null):dn(a,i),qt(e)&&o.set(e,a),a)}function Nc(e,t){return!e||!Ic(t)?!1:(t=t.slice(2).replace(/Once$/,""),zt(e,t[0].toLowerCase()+t.slice(1))||zt(e,xi(t))||zt(e,t))}let yn=null,Bc=null;function uc(e){const t=yn;return yn=e,Bc=e&&e.type.__scopeId||null,t}function x3(e){Bc=e}function C3(){Bc=null}function le(e,t=yn,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&Zm(-1);const i=uc(t);let a;try{a=e(...r)}finally{uc(i),o._d&&Zm(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function td(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,g;const y=uc(e);try{if(n.shapeFlag&4){const C=r||o,_=C;v=$o(u.call(_,C,d,i,p,f,h)),g=l}else{const C=t;v=$o(C.length>1?C(i,{attrs:l,slots:s,emit:c}):C(i,null)),g=t.props?l:w3(l)}}catch(C){ls.length=0,Fc(C,e,1),v=ee(An)}let S=v;if(g&&m!==!1){const C=Object.keys(g),{shapeFlag:_}=S;C.length&&_&7&&(a&&C.some(_h)&&(g=_3(g,a)),S=oo(S,g))}return n.dirs&&(S=oo(S),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&(S.transition=n.transition),v=S,uc(y),v}const w3=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ic(n))&&((t||(t={}))[n]=e[n]);return t},_3=(e,t)=>{const n={};for(const o in e)(!_h(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function S3(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?Bm(o,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function P3(e,t){t&&t.pendingBranch?ut(e)?t.effects.push(...e):t.effects.push(e):v3(e)}function un(e,t){return Nh(e,null,t)}const bl={};function ht(e,t,n){return Nh(e,t,n)}function Nh(e,t,{immediate:n,deep:o,flush:r,onTrack:i,onTrigger:a}=Yt){var s;const l=Ph()===((s=mn)==null?void 0:s.scope)?mn:null;let c,u=!1,d=!1;if(en(e)?(c=()=>e.value,u=cc(e)):Pr(e)?(c=()=>e,o=!0):ut(e)?(d=!0,u=e.some(C=>Pr(C)||cc(C)),c=()=>e.map(C=>{if(en(C))return C.value;if(Pr(C))return Jr(C);if(vt(C))return Rr(C,l,2)})):vt(e)?t?c=()=>Rr(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return f&&f(),Jn(e,l,3,[p])}:c=vo,t&&o){const C=c;c=()=>Jr(C())}let f,p=C=>{f=y.onStop=()=>{Rr(C,l,4),f=y.onStop=void 0}},h;if(Rs)if(p=vo,t?n&&Jn(t,l,3,[c(),d?[]:void 0,p]):c(),r==="sync"){const C=v4();h=C.__watcherHandles||(C.__watcherHandles=[])}else return vo;let m=d?new Array(e.length).fill(bl):bl;const v=()=>{if(y.active)if(t){const C=y.run();(o||u||(d?C.some((_,x)=>di(_,m[x])):di(C,m)))&&(f&&f(),Jn(t,l,3,[C,m===bl?void 0:d&&m[0]===bl?[]:m,p]),m=C)}else y.run()};v.allowRecurse=!!t;let g;r==="sync"?g=v:r==="post"?g=()=>Dn(v,l&&l.suspense):(v.pre=!0,l&&(v.id=l.uid),g=()=>Lh(v));const y=new Eh(c,g);t?n?v():m=y.run():r==="post"?Dn(y.run.bind(y),l&&l.suspense):y.run();const S=()=>{y.stop(),l&&l.scope&&Sh(l.scope.effects,y)};return h&&h.push(S),S}function R3(e,t,n){const o=this.proxy,r=ln(e)?e.includes(".")?gy(o,e):()=>o[e]:e.bind(o,o);let i;vt(t)?i=t:(i=t.handler,n=t);const a=mn;ca(this);const s=Nh(r,i.bind(o),n);return a?ca(a):ai(),s}function gy(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r{Jr(n,t)});else if(V1(e))for(const n in e)Jr(e[n],t);return e}function Cn(e,t){const n=yn;if(n===null)return e;const o=Gc(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0}),tn(()=>{e.isUnmounting=!0}),e}const Xn=[Function,Array],by={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Xn,onEnter:Xn,onAfterEnter:Xn,onEnterCancelled:Xn,onBeforeLeave:Xn,onLeave:Xn,onAfterLeave:Xn,onLeaveCancelled:Xn,onBeforeAppear:Xn,onAppear:Xn,onAfterAppear:Xn,onAppearCancelled:Xn},E3={name:"BaseTransition",props:by,setup(e,{slots:t}){const n=Gn(),o=vy();let r;return()=>{const i=t.default&&Bh(t.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1){for(const m of i)if(m.type!==An){a=m;break}}const s=Et(e),{mode:l}=s;if(o.isLeaving)return nd(a);const c=jm(a);if(!c)return nd(a);const u=_s(c,s,o,n);Ss(c,u);const d=n.subTree,f=d&&jm(d);let p=!1;const{getTransitionKey:h}=c.type;if(h){const m=h();r===void 0?r=m:m!==r&&(r=m,p=!0)}if(f&&f.type!==An&&(!Qr(c,f)||p)){const m=_s(f,s,o,n);if(Ss(f,m),l==="out-in")return o.isLeaving=!0,m.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&n.update()},nd(a);l==="in-out"&&c.type!==An&&(m.delayLeave=(v,g,y)=>{const S=yy(o,f);S[String(f.key)]=f,v[xr]=()=>{g(),v[xr]=void 0,delete u.delayedLeave},u.delayedLeave=y})}return a}}},$3=E3;function yy(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 _s(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:g,onAppearCancelled:y}=t,S=String(e.key),C=yy(n,e),_=(T,P)=>{T&&Jn(T,o,9,P)},x=(T,P)=>{const k=P[1];_(T,P),ut(T)?T.every(A=>A.length<=1)&&k():T.length<=1&&k()},w={mode:i,persisted:a,beforeEnter(T){let P=s;if(!n.isMounted)if(r)P=m||s;else return;T[xr]&&T[xr](!0);const k=C[S];k&&Qr(e,k)&&k.el[xr]&&k.el[xr](),_(P,[T])},enter(T){let P=l,k=c,A=u;if(!n.isMounted)if(r)P=v||l,k=g||c,A=y||u;else return;let I=!1;const W=T[yl]=B=>{I||(I=!0,B?_(A,[T]):_(k,[T]),w.delayedLeave&&w.delayedLeave(),T[yl]=void 0)};P?x(P,[T,W]):W()},leave(T,P){const k=String(e.key);if(T[yl]&&T[yl](!0),n.isUnmounting)return P();_(d,[T]);let A=!1;const I=T[xr]=W=>{A||(A=!0,P(),W?_(h,[T]):_(p,[T]),T[xr]=void 0,C[k]===e&&delete C[k])};C[k]=e,f?x(f,[T,I]):I()},clone(T){return _s(T,t,n,o)}};return w}function nd(e){if(jc(e))return e=oo(e),e.children=null,e}function jm(e){return jc(e)?e.children?e.children[0]:void 0:e}function Ss(e,t){e.shapeFlag&6&&e.component?Ss(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 Bh(e,t=!1,n){let o=[],r=0;for(let i=0;i1)for(let i=0;idn({name:e.name},t,{setup:e}))():e}const is=e=>!!e.type.__asyncLoader,jc=e=>e.type.__isKeepAlive;function Hh(e,t){xy(e,"a",t)}function Vc(e,t){xy(e,"da",t)}function xy(e,t,n=mn){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Uc(t,o,n),n){let r=n.parent;for(;r&&r.parent;)jc(r.parent.vnode)&&A3(o,t,n,r),r=r.parent}}function A3(e,t,n,o){const r=Uc(t,e,o,!0);qs(()=>{Sh(o[t],r)},n)}function Uc(e,t,n=mn,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;_a(),ca(n);const s=Jn(t,n,e,a);return ai(),Sa(),s});return o?r.unshift(i):r.push(i),i}}const rr=e=>(t,n=mn)=>(!Rs||e==="sp")&&Uc(e,(...o)=>t(...o),n),an=rr("bm"),Vt=rr("m"),Cy=rr("bu"),Ws=rr("u"),tn=rr("bum"),qs=rr("um"),I3=rr("sp"),M3=rr("rtg"),z3=rr("rtc");function O3(e,t=mn){Uc("ec",e,t)}function no(e,t,n,o){let r;const i=n&&n[o];if(ut(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;sPs(t)?!(t.type===An||t.type===et&&!wy(t.children)):!0)?e:null}const ff=e=>e?My(e)?Gc(e)||e.proxy:ff(e.parent):null,as=dn(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=>ff(e.parent),$root:e=>ff(e.root),$emit:e=>e.emit,$options:e=>jh(e),$forceUpdate:e=>e.f||(e.f=()=>Lh(e.update)),$nextTick:e=>e.n||(e.n=jt.bind(e.proxy)),$watch:e=>R3.bind(e)}),od=(e,t)=>e!==Yt&&!e.__isScriptSetup&&zt(e,t),D3={get({_:e},t){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(od(o,t))return a[t]=1,o[t];if(r!==Yt&&zt(r,t))return a[t]=2,r[t];if((c=e.propsOptions[0])&&zt(c,t))return a[t]=3,i[t];if(n!==Yt&&zt(n,t))return a[t]=4,n[t];hf&&(a[t]=0)}}const u=as[t];let d,f;if(u)return t==="$attrs"&&Fn(e,"get",t),u(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==Yt&&zt(n,t))return a[t]=4,n[t];if(f=l.config.globalProperties,zt(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return od(r,t)?(r[t]=n,!0):o!==Yt&&zt(o,t)?(o[t]=n,!0):zt(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!==Yt&&zt(e,a)||od(t,a)||(s=i[0])&&zt(s,a)||zt(o,a)||zt(as,a)||zt(r.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:zt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Vm(e){return ut(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let hf=!0;function L3(e){const t=jh(e),n=e.proxy,o=e.ctx;hf=!1,t.beforeCreate&&Um(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:g,beforeUnmount:y,destroyed:S,unmounted:C,render:_,renderTracked:x,renderTriggered:w,errorCaptured:T,serverPrefetch:P,expose:k,inheritAttrs:A,components:I,directives:W,filters:B}=t;if(c&&F3(c,o,null),a)for(const j in a){const X=a[j];vt(X)&&(o[j]=X.bind(n))}if(r){const j=r.call(n,n);qt(j)&&(e.data=bo(j))}if(hf=!0,i)for(const j in i){const X=i[j],F=vt(X)?X.bind(n,n):vt(X.get)?X.get.bind(n,n):vo,M=!vt(X)&&vt(X.set)?X.set.bind(n):vo,se=L({get:F,set:M});Object.defineProperty(o,j,{enumerable:!0,configurable:!0,get:()=>se.value,set:Q=>se.value=Q})}if(s)for(const j in s)_y(s[j],o,n,j);if(l){const j=vt(l)?l.call(n):l;Reflect.ownKeys(j).forEach(X=>{lt(X,j[X])})}u&&Um(u,e,"c");function $(j,X){ut(X)?X.forEach(F=>j(F.bind(n))):X&&j(X.bind(n))}if($(an,d),$(Vt,f),$(Cy,p),$(Ws,h),$(Hh,m),$(Vc,v),$(O3,T),$(z3,x),$(M3,w),$(tn,y),$(qs,C),$(I3,P),ut(k))if(k.length){const j=e.exposed||(e.exposed={});k.forEach(X=>{Object.defineProperty(j,X,{get:()=>n[X],set:F=>n[X]=F})})}else e.exposed||(e.exposed={});_&&e.render===vo&&(e.render=_),A!=null&&(e.inheritAttrs=A),I&&(e.components=I),W&&(e.directives=W)}function F3(e,t,n=vo){ut(e)&&(e=pf(e));for(const o in e){const r=e[o];let i;qt(r)?"default"in r?i=He(r.from||o,r.default,!0):i=He(r.from||o):i=He(r),en(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[o]=i}}function Um(e,t,n){Jn(ut(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function _y(e,t,n,o){const r=o.includes(".")?gy(n,o):()=>n[o];if(ln(e)){const i=t[e];vt(i)&&ht(r,i)}else if(vt(e))ht(r,e.bind(n));else if(qt(e))if(ut(e))e.forEach(i=>_y(i,t,n,o));else{const i=vt(e.handler)?e.handler.bind(n):t[e.handler];vt(i)&&ht(r,i,e)}}function jh(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=>dc(l,c,a,!0)),dc(l,t,a)),qt(t)&&i.set(t,l),l}function dc(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&dc(e,i,n,!0),r&&r.forEach(a=>dc(e,a,n,!0));for(const a in t)if(!(o&&a==="expose")){const s=N3[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const N3={data:Wm,props:qm,emits:qm,methods:ns,computed:ns,beforeCreate:En,created:En,beforeMount:En,mounted:En,beforeUpdate:En,updated:En,beforeDestroy:En,beforeUnmount:En,destroyed:En,unmounted:En,activated:En,deactivated:En,errorCaptured:En,serverPrefetch:En,components:ns,directives:ns,watch:H3,provide:Wm,inject:B3};function Wm(e,t){return t?e?function(){return dn(vt(e)?e.call(this,this):e,vt(t)?t.call(this,this):t)}:t:e}function B3(e,t){return ns(pf(e),pf(t))}function pf(e){if(ut(e)){const t={};for(let n=0;n1)return n&&vt(t)?t.call(o&&o.proxy):t}}function U3(){return!!(mn||yn||ks)}function W3(e,t,n,o=!1){const r={},i={};sc(i,Kc,1),e.propsDefaults=Object.create(null),ky(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:ry(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function q3(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:a}}=e,s=Et(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]=Ty(d,t,!0);dn(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 qt(e)&&o.set(e,ea),ea;if(ut(i))for(let u=0;u-1,p[1]=m<0||h-1||zt(p,"default"))&&s.push(d)}}}const c=[a,s];return qt(e)&&o.set(e,c),c}function Km(e){return e[0]!=="$"}function Gm(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Ym(e,t){return Gm(e)===Gm(t)}function Xm(e,t){return ut(t)?t.findIndex(n=>Ym(n,e)):vt(t)&&Ym(t,e)?0:-1}const Py=e=>e[0]==="_"||e==="$stable",Vh=e=>ut(e)?e.map($o):[$o(e)],K3=(e,t,n)=>{if(t._n)return t;const o=le((...r)=>Vh(t(...r)),n);return o._c=!1,o},Ry=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Py(r))continue;const i=e[r];if(vt(i))t[r]=K3(r,i,o);else if(i!=null){const a=Vh(i);t[r]=()=>a}}},Ey=(e,t)=>{const n=Vh(t);e.slots.default=()=>n},G3=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Et(t),sc(t,"_",n)):Ry(t,e.slots={})}else e.slots={},t&&Ey(e,t);sc(e.slots,Kc,1)},Y3=(e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,a=Yt;if(o.shapeFlag&32){const s=t._;s?n&&s===1?i=!1:(dn(r,t),!n&&s===1&&delete r._):(i=!t.$stable,Ry(t,r)),a=t}else t&&(Ey(e,t),a={default:1});if(i)for(const s in r)!Py(s)&&a[s]==null&&delete r[s]};function gf(e,t,n,o,r=!1){if(ut(e)){e.forEach((f,p)=>gf(f,t&&(ut(t)?t[p]:t),n,o,r));return}if(is(o)&&!r)return;const i=o.shapeFlag&4?Gc(o.component)||o.component.proxy:o.el,a=r?null:i,{i:s,r:l}=e,c=t&&t.r,u=s.refs===Yt?s.refs={}:s.refs,d=s.setupState;if(c!=null&&c!==l&&(ln(c)?(u[c]=null,zt(d,c)&&(d[c]=null)):en(c)&&(c.value=null)),vt(l))Rr(l,s,12,[a,u]);else{const f=ln(l),p=en(l);if(f||p){const h=()=>{if(e.f){const m=f?zt(d,l)?d[l]:u[l]:l.value;r?ut(m)&&Sh(m,i):ut(m)?m.includes(i)||m.push(i):f?(u[l]=[i],zt(d,l)&&(d[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else f?(u[l]=a,zt(d,l)&&(d[l]=a)):p&&(l.value=a,e.k&&(u[e.k]=a))};a?(h.id=-1,Dn(h,n)):h()}}}const Dn=P3;function X3(e){return Q3(e)}function Q3(e,t){const n=sf();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=vo,insertStaticContent:h}=e,m=(U,R,E,q=null,ie=null,Y=null,he=!1,ye=null,ge=!!R.dynamicChildren)=>{if(U===R)return;U&&!Qr(U,R)&&(q=G(U),Q(U,ie,Y,!0),U=null),R.patchFlag===-2&&(ge=!1,R.dynamicChildren=null);const{type:J,ref:de,shapeFlag:_e}=R;switch(J){case Ta:v(U,R,E,q);break;case An:g(U,R,E,q);break;case Yl:U==null&&y(R,E,q,he);break;case et:I(U,R,E,q,ie,Y,he,ye,ge);break;default:_e&1?_(U,R,E,q,ie,Y,he,ye,ge):_e&6?W(U,R,E,q,ie,Y,he,ye,ge):(_e&64||_e&128)&&J.process(U,R,E,q,ie,Y,he,ye,ge,ue)}de!=null&&ie&&gf(de,U&&U.ref,Y,R||U,!R)},v=(U,R,E,q)=>{if(U==null)o(R.el=s(R.children),E,q);else{const ie=R.el=U.el;R.children!==U.children&&c(ie,R.children)}},g=(U,R,E,q)=>{U==null?o(R.el=l(R.children||""),E,q):R.el=U.el},y=(U,R,E,q)=>{[U.el,U.anchor]=h(U.children,R,E,q,U.el,U.anchor)},S=({el:U,anchor:R},E,q)=>{let ie;for(;U&&U!==R;)ie=f(U),o(U,E,q),U=ie;o(R,E,q)},C=({el:U,anchor:R})=>{let E;for(;U&&U!==R;)E=f(U),r(U),U=E;r(R)},_=(U,R,E,q,ie,Y,he,ye,ge)=>{he=he||R.type==="svg",U==null?x(R,E,q,ie,Y,he,ye,ge):P(U,R,ie,Y,he,ye,ge)},x=(U,R,E,q,ie,Y,he,ye)=>{let ge,J;const{type:de,props:_e,shapeFlag:te,transition:oe,dirs:Ee}=U;if(ge=U.el=a(U.type,Y,_e&&_e.is,_e),te&8?u(ge,U.children):te&16&&T(U.children,ge,null,q,ie,Y&&de!=="foreignObject",he,ye),Ee&&jr(U,null,q,"created"),w(ge,U,U.scopeId,he,q),_e){for(const qe in _e)qe!=="value"&&!Kl(qe)&&i(ge,qe,null,_e[qe],Y,U.children,q,ie,Ce);"value"in _e&&i(ge,"value",null,_e.value),(J=_e.onVnodeBeforeMount)&&To(J,q,U)}Ee&&jr(U,null,q,"beforeMount");const De=Z3(ie,oe);De&&oe.beforeEnter(ge),o(ge,R,E),((J=_e&&_e.onVnodeMounted)||De||Ee)&&Dn(()=>{J&&To(J,q,U),De&&oe.enter(ge),Ee&&jr(U,null,q,"mounted")},ie)},w=(U,R,E,q,ie)=>{if(E&&p(U,E),q)for(let Y=0;Y{for(let J=ge;J{const ye=R.el=U.el;let{patchFlag:ge,dynamicChildren:J,dirs:de}=R;ge|=U.patchFlag&16;const _e=U.props||Yt,te=R.props||Yt;let oe;E&&Vr(E,!1),(oe=te.onVnodeBeforeUpdate)&&To(oe,E,R,U),de&&jr(R,U,E,"beforeUpdate"),E&&Vr(E,!0);const Ee=ie&&R.type!=="foreignObject";if(J?k(U.dynamicChildren,J,ye,E,q,Ee,Y):he||X(U,R,ye,null,E,q,Ee,Y,!1),ge>0){if(ge&16)A(ye,R,_e,te,E,q,ie);else if(ge&2&&_e.class!==te.class&&i(ye,"class",null,te.class,ie),ge&4&&i(ye,"style",_e.style,te.style,ie),ge&8){const De=R.dynamicProps;for(let qe=0;qe{oe&&To(oe,E,R,U),de&&jr(R,U,E,"updated")},q)},k=(U,R,E,q,ie,Y,he)=>{for(let ye=0;ye{if(E!==q){if(E!==Yt)for(const ye in E)!Kl(ye)&&!(ye in q)&&i(U,ye,E[ye],null,he,R.children,ie,Y,Ce);for(const ye in q){if(Kl(ye))continue;const ge=q[ye],J=E[ye];ge!==J&&ye!=="value"&&i(U,ye,J,ge,he,R.children,ie,Y,Ce)}"value"in q&&i(U,"value",E.value,q.value)}},I=(U,R,E,q,ie,Y,he,ye,ge)=>{const J=R.el=U?U.el:s(""),de=R.anchor=U?U.anchor:s("");let{patchFlag:_e,dynamicChildren:te,slotScopeIds:oe}=R;oe&&(ye=ye?ye.concat(oe):oe),U==null?(o(J,E,q),o(de,E,q),T(R.children,E,de,ie,Y,he,ye,ge)):_e>0&&_e&64&&te&&U.dynamicChildren?(k(U.dynamicChildren,te,E,ie,Y,he,ye),(R.key!=null||ie&&R===ie.subTree)&&Uh(U,R,!0)):X(U,R,E,de,ie,Y,he,ye,ge)},W=(U,R,E,q,ie,Y,he,ye,ge)=>{R.slotScopeIds=ye,U==null?R.shapeFlag&512?ie.ctx.activate(R,E,q,he,ge):B(R,E,q,ie,Y,he,ge):z(U,R,ge)},B=(U,R,E,q,ie,Y,he)=>{const ye=U.component=c4(U,q,ie);if(jc(U)&&(ye.ctx.renderer=ue),u4(ye),ye.asyncDep){if(ie&&ie.registerDep(ye,$),!U.el){const ge=ye.subTree=ee(An);g(null,ge,R,E)}return}$(ye,U,R,E,ie,Y,he)},z=(U,R,E)=>{const q=R.component=U.component;if(S3(U,R,E))if(q.asyncDep&&!q.asyncResolved){j(q,R,E);return}else q.next=R,g3(q.update),q.update();else R.el=U.el,q.vnode=R},$=(U,R,E,q,ie,Y,he)=>{const ye=()=>{if(U.isMounted){let{next:de,bu:_e,u:te,parent:oe,vnode:Ee}=U,De=de,qe;Vr(U,!1),de?(de.el=Ee.el,j(U,de,he)):de=Ee,_e&&Gl(_e),(qe=de.props&&de.props.onVnodeBeforeUpdate)&&To(qe,oe,de,Ee),Vr(U,!0);const tt=td(U),Me=U.subTree;U.subTree=tt,m(Me,tt,d(Me.el),G(Me),U,ie,Y),de.el=tt.el,De===null&&k3(U,tt.el),te&&Dn(te,ie),(qe=de.props&&de.props.onVnodeUpdated)&&Dn(()=>To(qe,oe,de,Ee),ie)}else{let de;const{el:_e,props:te}=R,{bm:oe,m:Ee,parent:De}=U,qe=is(R);if(Vr(U,!1),oe&&Gl(oe),!qe&&(de=te&&te.onVnodeBeforeMount)&&To(de,De,R),Vr(U,!0),_e&&ke){const tt=()=>{U.subTree=td(U),ke(_e,U.subTree,U,ie,null)};qe?R.type.__asyncLoader().then(()=>!U.isUnmounted&&tt()):tt()}else{const tt=U.subTree=td(U);m(null,tt,E,q,U,ie,Y),R.el=tt.el}if(Ee&&Dn(Ee,ie),!qe&&(de=te&&te.onVnodeMounted)){const tt=R;Dn(()=>To(de,De,tt),ie)}(R.shapeFlag&256||De&&is(De.vnode)&&De.vnode.shapeFlag&256)&&U.a&&Dn(U.a,ie),U.isMounted=!0,R=E=q=null}},ge=U.effect=new Eh(ye,()=>Lh(J),U.scope),J=U.update=()=>ge.run();J.id=U.uid,Vr(U,!0),J()},j=(U,R,E)=>{R.component=U;const q=U.vnode.props;U.vnode=R,U.next=null,q3(U,R.props,q,E),Y3(U,R.children,E),_a(),Nm(),Sa()},X=(U,R,E,q,ie,Y,he,ye,ge=!1)=>{const J=U&&U.children,de=U?U.shapeFlag:0,_e=R.children,{patchFlag:te,shapeFlag:oe}=R;if(te>0){if(te&128){M(J,_e,E,q,ie,Y,he,ye,ge);return}else if(te&256){F(J,_e,E,q,ie,Y,he,ye,ge);return}}oe&8?(de&16&&Ce(J,ie,Y),_e!==J&&u(E,_e)):de&16?oe&16?M(J,_e,E,q,ie,Y,he,ye,ge):Ce(J,ie,Y,!0):(de&8&&u(E,""),oe&16&&T(_e,E,q,ie,Y,he,ye,ge))},F=(U,R,E,q,ie,Y,he,ye,ge)=>{U=U||ea,R=R||ea;const J=U.length,de=R.length,_e=Math.min(J,de);let te;for(te=0;te<_e;te++){const oe=R[te]=ge?Cr(R[te]):$o(R[te]);m(U[te],oe,E,null,ie,Y,he,ye,ge)}J>de?Ce(U,ie,Y,!0,!1,_e):T(R,E,q,ie,Y,he,ye,ge,_e)},M=(U,R,E,q,ie,Y,he,ye,ge)=>{let J=0;const de=R.length;let _e=U.length-1,te=de-1;for(;J<=_e&&J<=te;){const oe=U[J],Ee=R[J]=ge?Cr(R[J]):$o(R[J]);if(Qr(oe,Ee))m(oe,Ee,E,null,ie,Y,he,ye,ge);else break;J++}for(;J<=_e&&J<=te;){const oe=U[_e],Ee=R[te]=ge?Cr(R[te]):$o(R[te]);if(Qr(oe,Ee))m(oe,Ee,E,null,ie,Y,he,ye,ge);else break;_e--,te--}if(J>_e){if(J<=te){const oe=te+1,Ee=oete)for(;J<=_e;)Q(U[J],ie,Y,!0),J++;else{const oe=J,Ee=J,De=new Map;for(J=Ee;J<=te;J++){const it=R[J]=ge?Cr(R[J]):$o(R[J]);it.key!=null&&De.set(it.key,J)}let qe,tt=0;const Me=te-Ee+1;let je=!1,dt=0;const Oe=new Array(Me);for(J=0;J=Me){Q(it,ie,Y,!0);continue}let Z;if(it.key!=null)Z=De.get(it.key);else for(qe=Ee;qe<=te;qe++)if(Oe[qe-Ee]===0&&Qr(it,R[qe])){Z=qe;break}Z===void 0?Q(it,ie,Y,!0):(Oe[Z-Ee]=J+1,Z>=dt?dt=Z:je=!0,m(it,R[Z],E,null,ie,Y,he,ye,ge),tt++)}const rt=je?J3(Oe):ea;for(qe=rt.length-1,J=Me-1;J>=0;J--){const it=Ee+J,Z=R[it],we=it+1{const{el:Y,type:he,transition:ye,children:ge,shapeFlag:J}=U;if(J&6){se(U.component.subTree,R,E,q);return}if(J&128){U.suspense.move(R,E,q);return}if(J&64){he.move(U,R,E,ue);return}if(he===et){o(Y,R,E);for(let _e=0;_eye.enter(Y),ie);else{const{leave:_e,delayLeave:te,afterLeave:oe}=ye,Ee=()=>o(Y,R,E),De=()=>{_e(Y,()=>{Ee(),oe&&oe()})};te?te(Y,Ee,De):De()}else o(Y,R,E)},Q=(U,R,E,q=!1,ie=!1)=>{const{type:Y,props:he,ref:ye,children:ge,dynamicChildren:J,shapeFlag:de,patchFlag:_e,dirs:te}=U;if(ye!=null&&gf(ye,null,E,U,!0),de&256){R.ctx.deactivate(U);return}const oe=de&1&&te,Ee=!is(U);let De;if(Ee&&(De=he&&he.onVnodeBeforeUnmount)&&To(De,R,U),de&6)xe(U.component,E,q);else{if(de&128){U.suspense.unmount(E,q);return}oe&&jr(U,null,R,"beforeUnmount"),de&64?U.type.remove(U,R,E,ie,ue,q):J&&(Y!==et||_e>0&&_e&64)?Ce(J,R,E,!1,!0):(Y===et&&_e&384||!ie&&de&16)&&Ce(ge,R,E),q&&ne(U)}(Ee&&(De=he&&he.onVnodeUnmounted)||oe)&&Dn(()=>{De&&To(De,R,U),oe&&jr(U,null,R,"unmounted")},E)},ne=U=>{const{type:R,el:E,anchor:q,transition:ie}=U;if(R===et){fe(E,q);return}if(R===Yl){C(U);return}const Y=()=>{r(E),ie&&!ie.persisted&&ie.afterLeave&&ie.afterLeave()};if(U.shapeFlag&1&&ie&&!ie.persisted){const{leave:he,delayLeave:ye}=ie,ge=()=>he(E,Y);ye?ye(U.el,Y,ge):ge()}else Y()},fe=(U,R)=>{let E;for(;U!==R;)E=f(U),r(U),U=E;r(R)},xe=(U,R,E)=>{const{bum:q,scope:ie,update:Y,subTree:he,um:ye}=U;q&&Gl(q),ie.stop(),Y&&(Y.active=!1,Q(he,U,R,E)),ye&&Dn(ye,R),Dn(()=>{U.isUnmounted=!0},R),R&&R.pendingBranch&&!R.isUnmounted&&U.asyncDep&&!U.asyncResolved&&U.suspenseId===R.pendingId&&(R.deps--,R.deps===0&&R.resolve())},Ce=(U,R,E,q=!1,ie=!1,Y=0)=>{for(let he=Y;heU.shapeFlag&6?G(U.component.subTree):U.shapeFlag&128?U.suspense.next():f(U.anchor||U.el),ve=(U,R,E)=>{U==null?R._vnode&&Q(R._vnode,null,null,!0):m(R._vnode||null,U,R,null,null,null,E),Nm(),dy(),R._vnode=U},ue={p:m,um:Q,m:se,r:ne,mt:B,mc:T,pc:X,pbc:k,n:G,o:e};let re,ke;return t&&([re,ke]=t(ue)),{render:ve,hydrate:re,createApp:V3(ve,re)}}function Vr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Z3(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Uh(e,t,n=!1){const o=e.children,r=t.children;if(ut(o)&&ut(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}const e4=e=>e.__isTeleport,ss=e=>e&&(e.disabled||e.disabled===""),Qm=e=>typeof SVGElement<"u"&&e instanceof SVGElement,vf=(e,t)=>{const n=e&&e.to;return ln(n)?t?t(n):null:n},t4={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,g=ss(t.props);let{shapeFlag:y,children:S,dynamicChildren:C}=t;if(e==null){const _=t.el=m(""),x=t.anchor=m("");p(_,n,o),p(x,n,o);const w=t.target=vf(t.props,h),T=t.targetAnchor=m("");w&&(p(T,w),a=a||Qm(w));const P=(k,A)=>{y&16&&u(S,k,A,r,i,a,s,l)};g?P(n,x):w&&P(w,T)}else{t.el=e.el;const _=t.anchor=e.anchor,x=t.target=e.target,w=t.targetAnchor=e.targetAnchor,T=ss(e.props),P=T?n:x,k=T?_:w;if(a=a||Qm(x),C?(f(e.dynamicChildren,C,P,r,i,a,s),Uh(e,t,!0)):l||d(e,t,P,k,r,i,a,s,!1),g)T?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):xl(t,n,_,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const A=t.target=vf(t.props,h);A&&xl(t,A,null,c,0)}else T&&xl(t,x,w,c,1)}$y(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||!ss(f);for(let h=0;h0?go||ea:null,o4(),Ts>0&&go&&go.push(e),e}function ze(e,t,n,o,r,i){return Ay(H(e,t,n,o,r,i,!0))}function Ge(e,t,n,o,r){return Ay(ee(e,t,n,o,r,!0))}function Ps(e){return e?e.__v_isVNode===!0:!1}function Qr(e,t){return e.type===t.type&&e.key===t.key}const Kc="__vInternal",Iy=({key:e})=>e??null,Xl=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ln(e)||en(e)||vt(e)?{i:yn,r:e,k:t,f:!!n}:e:null);function H(e,t=null,n=null,o=0,r=null,i=e===et?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Iy(t),ref:t&&Xl(t),scopeId:Bc,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:yn};return s?(Wh(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=ln(n)?8:16),Ts>0&&!a&&go&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&go.push(l),l}const ee=r4;function r4(e,t=null,n=null,o=0,r=null,i=!1){if((!e||e===py)&&(e=An),Ps(e)){const s=oo(e,t,!0);return n&&Wh(s,n),Ts>0&&!i&&go&&(s.shapeFlag&6?go[go.indexOf(e)]=s:go.push(s)),s.patchFlag|=-2,s}if(m4(e)&&(e=e.__vccOpts),t){t=i4(t);let{class:s,style:l}=t;s&&!ln(s)&&(t.class=Ci(s)),qt(l)&&(iy(l)&&!ut(l)&&(l=dn({},l)),t.style=Fo(l))}const a=ln(e)?1:T3(e)?128:e4(e)?64:qt(e)?4:vt(e)?2:0;return H(e,t,n,o,r,a,i,!0)}function i4(e){return e?iy(e)||Kc in e?dn({},e):e:null}function oo(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:a}=e,s=t?Mn(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Iy(s),ref:t&&t.ref?n&&r?ut(r)?r.concat(Xl(t)):[r,Xl(t)]:Xl(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!==et?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&&oo(e.ssContent),ssFallback:e.ssFallback&&oo(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Je(e=" ",t=0){return ee(Ta,null,e,t)}function a4(e,t){const n=ee(Yl,null,e);return n.staticCount=t,n}function bt(e="",t=!1){return t?(be(),Ge(An,null,e)):ee(An,null,e)}function $o(e){return e==null||typeof e=="boolean"?ee(An):ut(e)?ee(et,null,e.slice()):typeof e=="object"?Cr(e):ee(Ta,null,String(e))}function Cr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:oo(e)}function Wh(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(ut(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),Wh(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Kc in t)?t._ctx=yn:r===3&&yn&&(yn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else vt(t)?(t={default:t,_ctx:yn},n=32):(t=String(t),o&64?(n=16,t=[Je(t)]):n=8);e.children=t,e.shapeFlag|=n}function Mn(...e){const t={};for(let n=0;nmn||yn;let qh,Bi,Jm="__VUE_INSTANCE_SETTERS__";(Bi=sf()[Jm])||(Bi=sf()[Jm]=[]),Bi.push(e=>mn=e),qh=e=>{Bi.length>1?Bi.forEach(t=>t(e)):Bi[0](e)};const ca=e=>{qh(e),e.scope.on()},ai=()=>{mn&&mn.scope.off(),qh(null)};function My(e){return e.vnode.shapeFlag&4}let Rs=!1;function u4(e,t=!1){Rs=t;const{props:n,children:o}=e.vnode,r=My(e);W3(e,n,r,t),G3(e,o);const i=r?d4(e,t):void 0;return Rs=!1,i}function d4(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=la(new Proxy(e.ctx,D3));const{setup:o}=n;if(o){const r=e.setupContext=o.length>1?h4(e):null;ca(e),_a();const i=Rr(o,e,0,[e.props,r]);if(Sa(),ai(),H1(i)){if(i.then(ai,ai),t)return i.then(a=>{eg(e,a,t)}).catch(a=>{Fc(a,e,0)});e.asyncDep=i}else eg(e,i,t)}else zy(e,t)}function eg(e,t,n){vt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:qt(t)&&(e.setupState=sy(t)),zy(e,n)}let tg;function zy(e,t,n){const o=e.type;if(!e.render){if(!t&&tg&&!o.render){const r=o.template||jh(e).template;if(r){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=o,c=dn(dn({isCustomElement:i,delimiters:s},a),l);o.render=tg(r,c)}}e.render=o.render||vo}{ca(e),_a();try{L3(e)}finally{Sa(),ai()}}}function f4(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Fn(e,"get","$attrs"),t[n]}}))}function h4(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return f4(e)},slots:e.slots,emit:e.emit,expose:t}}function Gc(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(sy(la(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in as)return as[n](e)},has(t,n){return n in t||n in as}}))}function p4(e,t=!0){return vt(e)?e.displayName||e.name:e.name||t&&e.__name}function m4(e){return vt(e)&&"__vccOpts"in e}const L=(e,t)=>h3(e,t,Rs);function b(e,t,n){const o=arguments.length;return o===2?qt(t)&&!ut(t)?Ps(t)?ee(e,null,[t]):ee(e,t):ee(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Ps(n)&&(n=[n]),ee(e,t,n))}const g4=Symbol.for("v-scx"),v4=()=>He(g4),b4="3.3.9",y4="http://www.w3.org/2000/svg",Zr=typeof document<"u"?document:null,ng=Zr&&Zr.createElement("template"),x4={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?Zr.createElementNS(y4,e):Zr.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>Zr.createTextNode(e),createComment:e=>Zr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Zr.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{ng.innerHTML=o?`${e}`:e;const s=ng.content;if(o){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]}},dr="transition",Wa="animation",ua=Symbol("_vtc"),fn=(e,{slots:t})=>b($3,Dy(e),t);fn.displayName="Transition";const Oy={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},C4=fn.props=dn({},by,Oy),Ur=(e,t=[])=>{ut(e)?e.forEach(n=>n(...t)):e&&e(...t)},og=e=>e?ut(e)?e.some(t=>t.length>1):e.length>1:!1;function Dy(e){const t={};for(const I in e)I in Oy||(t[I]=e[I]);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:g,onEnter:y,onEnterCancelled:S,onLeave:C,onLeaveCancelled:_,onBeforeAppear:x=g,onAppear:w=y,onAppearCancelled:T=S}=t,P=(I,W,B)=>{br(I,W?u:s),br(I,W?c:a),B&&B()},k=(I,W)=>{I._isLeaving=!1,br(I,d),br(I,p),br(I,f),W&&W()},A=I=>(W,B)=>{const z=I?w:y,$=()=>P(W,I,B);Ur(z,[W,$]),rg(()=>{br(W,I?l:i),Xo(W,I?u:s),og(z)||ig(W,o,m,$)})};return dn(t,{onBeforeEnter(I){Ur(g,[I]),Xo(I,i),Xo(I,a)},onBeforeAppear(I){Ur(x,[I]),Xo(I,l),Xo(I,c)},onEnter:A(!1),onAppear:A(!0),onLeave(I,W){I._isLeaving=!0;const B=()=>k(I,W);Xo(I,d),Fy(),Xo(I,f),rg(()=>{I._isLeaving&&(br(I,d),Xo(I,p),og(C)||ig(I,o,v,B))}),Ur(C,[I,B])},onEnterCancelled(I){P(I,!1),Ur(S,[I])},onAppearCancelled(I){P(I,!0),Ur(T,[I])},onLeaveCancelled(I){k(I),Ur(_,[I])}})}function w4(e){if(e==null)return null;if(qt(e))return[rd(e.enter),rd(e.leave)];{const t=rd(e);return[t,t]}}function rd(e){return $k(e)}function Xo(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ua]||(e[ua]=new Set)).add(t)}function br(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[ua];n&&(n.delete(t),n.size||(e[ua]=void 0))}function rg(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let _4=0;function ig(e,t,n,o){const r=e._endId=++_4,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=Ly(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(`${dr}Delay`),i=o(`${dr}Duration`),a=ag(r,i),s=o(`${Wa}Delay`),l=o(`${Wa}Duration`),c=ag(s,l);let u=null,d=0,f=0;t===dr?a>0&&(u=dr,d=a,f=i.length):t===Wa?c>0&&(u=Wa,d=c,f=l.length):(d=Math.max(a,c),u=d>0?a>c?dr:Wa:null,f=u?u===dr?i.length:l.length:0);const p=u===dr&&/\b(transform|all)(,|$)/.test(o(`${dr}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function ag(e,t){for(;e.lengthsg(n)+sg(e[o])))}function sg(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Fy(){return document.body.offsetHeight}function S4(e,t,n){const o=e[ua];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Kh=Symbol("_vod"),ro={beforeMount(e,{value:t},{transition:n}){e[Kh]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):qa(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),qa(e,!0),o.enter(e)):o.leave(e,()=>{qa(e,!1)}):qa(e,t))},beforeUnmount(e,{value:t}){qa(e,t)}};function qa(e,t){e.style.display=t?e[Kh]:"none"}function k4(e,t,n){const o=e.style,r=ln(n);if(n&&!r){if(t&&!ln(t))for(const i in t)n[i]==null&&bf(o,i,"");for(const i in n)bf(o,i,n[i])}else{const i=o.display;r?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),Kh in e&&(o.display=i)}}const lg=/\s*!important$/;function bf(e,t,n){if(ut(n))n.forEach(o=>bf(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=T4(e,t);lg.test(n)?e.setProperty(xi(o),n.replace(lg,""),"important"):e[o]=n}}const cg=["Webkit","Moz","ms"],id={};function T4(e,t){const n=id[t];if(n)return n;let o=Lo(t);if(o!=="filter"&&o in e)return id[t]=o;o=Dc(o);for(let r=0;rad||(I4.then(()=>ad=0),ad=Date.now());function z4(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;Jn(O4(o,n.value),t,5,[o])};return n.value=e,n.attached=M4(),n}function O4(e,t){if(ut(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 hg=/^on[a-z]/,D4=(e,t,n,o,r=!1,i,a,s,l)=>{t==="class"?S4(e,o,r):t==="style"?k4(e,n,o):Ic(t)?_h(t)||$4(e,t,n,o,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):L4(e,t,o,r))?R4(e,t,o,i,a,s,l):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),P4(e,t,o,r))};function L4(e,t,n,o){return o?!!(t==="innerHTML"||t==="textContent"||t in e&&hg.test(t)&&vt(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||hg.test(t)&&ln(n)?!1:t in e}const Ny=new WeakMap,By=new WeakMap,fc=Symbol("_moveCb"),pg=Symbol("_enterCb"),Hy={name:"TransitionGroup",props:dn({},C4,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Gn(),o=vy();let r,i;return Ws(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!V4(r[0].el,n.vnode.el,a))return;r.forEach(B4),r.forEach(H4);const s=r.filter(j4);Fy(),s.forEach(l=>{const c=l.el,u=c.style;Xo(c,a),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[fc]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[fc]=null,br(c,a))};c.addEventListener("transitionend",d)})}),()=>{const a=Et(e),s=Dy(a);let l=a.tag||et;r=i,i=t.default?Bh(t.default()):[];for(let c=0;cdelete e.mode;Hy.props;const N4=Hy;function B4(e){const t=e.el;t[fc]&&t[fc](),t[pg]&&t[pg]()}function H4(e){By.set(e,e.el.getBoundingClientRect())}function j4(e){const t=Ny.get(e),n=By.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 V4(e,t,n){const o=e.cloneNode(),r=e[ua];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}=Ly(o);return i.removeChild(o),a}const mg=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ut(t)?n=>Gl(t,n):t};function U4(e){e.target.composing=!0}function gg(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const sd=Symbol("_assign"),W4={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e[sd]=mg(r);const i=o||r.props&&r.props.type==="number";Ki(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),i&&(s=af(s)),e[sd](s)}),n&&Ki(e,"change",()=>{e.value=e.value.trim()}),t||(Ki(e,"compositionstart",U4),Ki(e,"compositionend",gg),Ki(e,"change",gg))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},i){if(e[sd]=mg(i),e.composing)return;const a=r||e.type==="number"?af(e.value):e.value,s=t??"";a!==s&&(document.activeElement===e&&e.type!=="range"&&(n||o&&e.value.trim()===s)||(e.value=s))}},q4=["ctrl","shift","alt","meta"],K4={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)=>q4.some(n=>e[`${n}Key`]&&!t.includes(n))},G4=(e,t)=>(n,...o)=>{for(let r=0;rn=>{if(!("key"in n))return;const o=xi(n.key);if(t.some(r=>r===o||Y4[r]===o))return e(n)},X4=dn({patchProp:D4},x4);let vg;function Q4(){return vg||(vg=X3(X4))}const jy=(...e)=>{const t=Q4().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=Z4(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,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function Z4(e){return ln(e)?document.querySelector(e):e}/*! * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT - */const Gi=typeof window<"u";function Z4(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ft=Object.assign;function ld(e,t){const n={};for(const o in t){const r=t[o];n[o]=yo(r)?r.map(e):e(r)}return n}const cs=()=>{},yo=Array.isArray,J4=/\/$/,e5=e=>e.replace(J4,"");function cd(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=r5(o??t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:a}}function t5(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function vg(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function n5(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&fa(t.matched[o],n.matched[r])&&jy(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function fa(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function jy(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!o5(e[n],t[n]))return!1;return!0}function o5(e,t){return yo(e)?bg(e,t):yo(t)?bg(t,e):e===t}function bg(e,t){return yo(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function r5(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-(a===o.length?1:0)).join("/")}var Es;(function(e){e.pop="pop",e.push="push"})(Es||(Es={}));var us;(function(e){e.back="back",e.forward="forward",e.unknown=""})(us||(us={}));function i5(e){if(!e)if(Gi){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),e5(e)}const a5=/^[^#]+#/;function s5(e,t){return e.replace(a5,"#")+t}function l5(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 Yc=()=>({left:window.pageXOffset,top:window.pageYOffset});function c5(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=l5(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function yg(e,t){return(history.state?history.state.position-t:-1)+e}const yf=new Map;function u5(e,t){yf.set(e,t)}function d5(e){const t=yf.get(e);return yf.delete(e),t}let f5=()=>location.protocol+"//"+location.host;function Vy(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),vg(l,"")}return vg(n,e)+o+r}function h5(e,t,n,o){let r=[],i=[],a=null;const s=({state:f})=>{const p=Vy(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(g=>{g(n.value,h,{delta:v,type:Es.pop,direction:v?v>0?us.forward:us.back:us.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(Ft({},f.state,{scroll:Yc()}),"")}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 xg(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Yc():null}}function p5(e){const{history:t,location:n}=window,o={value:Vy(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:f5()+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=Ft({},t.state,xg(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=Ft({},r.value,t.state,{forward:l,scroll:Yc()});i(u.current,u,!0);const d=Ft({},xg(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 m5(e){e=i5(e);const t=p5(e),n=h5(e,t.state,t.location,t.replace);function o(i,a=!0){a||n.pauseListeners(),history.go(i)}const r=Ft({location:"",base:e,go:o,createHref:s5.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 g5(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),m5(e)}function v5(e){return typeof e=="string"||e&&typeof e=="object"}function Uy(e){return typeof e=="string"||typeof e=="symbol"}const fr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Wy=Symbol("");var Cg;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Cg||(Cg={}));function ha(e,t){return Ft(new Error,{type:e,[Wy]:!0},t)}function Ko(e,t){return e instanceof Error&&Wy in e&&(t==null||!!(e.type&t))}const wg="[^/]+?",b5={sensitive:!1,strict:!1,start:!0,end:!0},y5=/[.+*?^${}()[\]/\\]/g;function x5(e,t){const n=Ft({},b5,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 w5(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const _5={type:0,value:""},S5=/[a-zA-Z0-9_]/;function k5(e){if(!e)return[[]];if(e==="/")return[[_5]];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(y)}:cs}function a(u){if(Uy(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||!qy(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!kg(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 ha(1,{location:u});m=f.record.name,p=Ft(Sg(d.params,f.keys.filter(y=>!y.optional).map(y=>y.name)),u.params&&Sg(u.params,f.keys.map(y=>y.name))),h=f.stringify(p)}else if("path"in u)h=u.path,f=n.find(y=>y.re.test(h)),f&&(p=f.parse(h),m=f.record.name);else{if(f=d.name?o.get(d.name):n.find(y=>y.re.test(d.path)),!f)throw ha(1,{location:u,currentLocation:d});m=f.record.name,p=Ft({},d.params,u.params),h=f.stringify(p)}const v=[];let g=f;for(;g;)v.unshift(g.record),g=g.parent;return{name:m,path:h,params:p,matched:v,meta:$5(v)}}return e.forEach(u=>i(u)),{addRoute:i,resolve:c,removeRoute:a,getRoutes:s,getRecordMatcher:r}}function Sg(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function R5(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:E5(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 E5(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function kg(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function $5(e){return e.reduce((t,n)=>Ft(t,n.meta),{})}function Tg(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function qy(e,t){return t.children.some(n=>n===e||qy(e,n))}const Ky=/#/g,A5=/&/g,I5=/\//g,M5=/=/g,z5=/\?/g,Gy=/\+/g,O5=/%5B/g,D5=/%5D/g,Yy=/%5E/g,L5=/%60/g,Xy=/%7B/g,F5=/%7C/g,Qy=/%7D/g,N5=/%20/g;function Gh(e){return encodeURI(""+e).replace(F5,"|").replace(O5,"[").replace(D5,"]")}function B5(e){return Gh(e).replace(Xy,"{").replace(Qy,"}").replace(Yy,"^")}function xf(e){return Gh(e).replace(Gy,"%2B").replace(N5,"+").replace(Ky,"%23").replace(A5,"%26").replace(L5,"`").replace(Xy,"{").replace(Qy,"}").replace(Yy,"^")}function H5(e){return xf(e).replace(M5,"%3D")}function j5(e){return Gh(e).replace(Ky,"%23").replace(z5,"%3F")}function V5(e){return e==null?"":j5(e).replace(I5,"%2F")}function hc(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function U5(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ri&&xf(i)):[o&&xf(o)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function W5(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=yo(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const q5=Symbol(""),Rg=Symbol(""),Xc=Symbol(""),Yh=Symbol(""),Cf=Symbol("");function Ka(){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 wr(e,t,n,o,r){const i=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((a,s)=>{const l=d=>{d===!1?s(ha(4,{from:n,to:t})):d instanceof Error?s(d):v5(d)?s(ha(2,{from:t,to:d})):(i&&o.enterCallbacks[r]===i&&typeof d=="function"&&i.push(d),a())},c=e.call(o&&o.instances[r],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(d=>s(d))})}function ud(e,t,n,o){const r=[];for(const i of e)for(const a in i.components){let s=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(K5(s)){const c=(s.__vccOpts||s)[t];c&&r.push(wr(c,n,o,i,a))}else{let l=s();r.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const u=Z4(c)?c.default:c;i.components[a]=u;const f=(u.__vccOpts||u)[t];return f&&wr(f,n,o,i,a)()}))}}return r}function K5(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Eg(e){const t=He(Xc),n=He(Yh),o=N(()=>t.resolve(me(e.to))),r=N(()=>{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(fa.bind(null,u));if(f>-1)return f;const p=$g(l[c-2]);return c>1&&$g(u)===p&&d[d.length-1].path!==p?d.findIndex(fa.bind(null,l[c-2])):f}),i=N(()=>r.value>-1&&Q5(n.params,o.value.params)),a=N(()=>r.value>-1&&r.value===n.matched.length-1&&jy(n.params,o.value.params));function s(l={}){return X5(l)?t[me(e.replace)?"replace":"push"](me(e.to)).catch(cs):Promise.resolve()}return{route:o,href:N(()=>o.value.href),isActive:i,isExactActive:a,navigate:s}}const G5=pe({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:Eg,setup(e,{slots:t}){const n=bo(Eg(e)),{options:o}=He(Xc),r=N(()=>({[Ag(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Ag(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:b("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),Y5=G5;function X5(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 Q5(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(!yo(r)||r.length!==o.length||o.some((i,a)=>i!==r[a]))return!1}return!0}function $g(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ag=(e,t,n)=>e??t??n,Z5=pe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=He(Cf),r=N(()=>e.route||o.value),i=He(Rg,0),a=N(()=>{let c=me(i);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),s=N(()=>r.value.matched[a.value]);lt(Rg,N(()=>a.value+1)),lt(q5,s),lt(Cf,r);const l=B();return ht(()=>[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||!fa(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 Ig(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=b(f,Ft({},h,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return Ig(n.default,{Component:v,route:c})||v}}});function Ig(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const J5=Z5;function eT(e){const t=P5(e.routes,e),n=e.parseQuery||U5,o=e.stringifyQuery||Pg,r=e.history,i=Ka(),a=Ka(),s=Ka(),l=Us(fr);let c=fr;Gi&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ld.bind(null,G=>""+G),d=ld.bind(null,V5),f=ld.bind(null,hc);function p(G,ve){let ue,re;return Uy(G)?(ue=t.getRecordMatcher(G),re=ve):re=G,t.addRoute(re,ue)}function h(G){const ve=t.getRecordMatcher(G);ve&&t.removeRoute(ve)}function m(){return t.getRoutes().map(G=>G.record)}function v(G){return!!t.getRecordMatcher(G)}function g(G,ve){if(ve=Ft({},ve||l.value),typeof G=="string"){const E=cd(n,G,ve.path),U=t.resolve({path:E.path},ve),ie=r.createHref(E.fullPath);return Ft(E,U,{params:f(U.params),hash:hc(E.hash),redirectedFrom:void 0,href:ie})}let ue;if("path"in G)ue=Ft({},G,{path:cd(n,G.path,ve.path).path});else{const E=Ft({},G.params);for(const U in E)E[U]==null&&delete E[U];ue=Ft({},G,{params:d(E)}),ve.params=d(ve.params)}const re=t.resolve(ue,ve),ke=G.hash||"";re.params=u(f(re.params));const V=t5(o,Ft({},G,{hash:B5(ke),path:re.path})),R=r.createHref(V);return Ft({fullPath:V,hash:ke,query:o===Pg?W5(G.query):G.query||{}},re,{redirectedFrom:void 0,href:R})}function y(G){return typeof G=="string"?cd(n,G,l.value.path):Ft({},G)}function S(G,ve){if(c!==G)return ha(8,{from:ve,to:G})}function C(G){return w(G)}function _(G){return C(Ft(y(G),{replace:!0}))}function x(G){const ve=G.matched[G.matched.length-1];if(ve&&ve.redirect){const{redirect:ue}=ve;let re=typeof ue=="function"?ue(G):ue;return typeof re=="string"&&(re=re.includes("?")||re.includes("#")?re=y(re):{path:re},re.params={}),Ft({query:G.query,hash:G.hash,params:"path"in re?{}:G.params},re)}}function w(G,ve){const ue=c=g(G),re=l.value,ke=G.state,V=G.force,R=G.replace===!0,E=x(ue);if(E)return w(Ft(y(E),{state:typeof E=="object"?Ft({},ke,E.state):ke,force:V,replace:R}),ve||ue);const U=ue;U.redirectedFrom=ve;let ie;return!V&&n5(o,re,ue)&&(ie=ha(16,{to:U,from:re}),se(re,re,!0,!1)),(ie?Promise.resolve(ie):k(U,re)).catch(Y=>Ko(Y)?Ko(Y,2)?Y:M(Y):Q(Y,U,re)).then(Y=>{if(Y){if(Ko(Y,2))return w(Ft({replace:R},y(Y.to),{state:typeof Y.to=="object"?Ft({},ke,Y.to.state):ke,force:V}),ve||U)}else Y=A(U,re,!0,R,ke);return I(U,re,Y),Y})}function T(G,ve){const ue=S(G,ve);return ue?Promise.reject(ue):Promise.resolve()}function P(G){const ve=fe.values().next().value;return ve&&typeof ve.runWithContext=="function"?ve.runWithContext(G):G()}function k(G,ve){let ue;const[re,ke,V]=tT(G,ve);ue=ud(re.reverse(),"beforeRouteLeave",G,ve);for(const E of re)E.leaveGuards.forEach(U=>{ue.push(wr(U,G,ve))});const R=T.bind(null,G,ve);return ue.push(R),Ce(ue).then(()=>{ue=[];for(const E of i.list())ue.push(wr(E,G,ve));return ue.push(R),Ce(ue)}).then(()=>{ue=ud(ke,"beforeRouteUpdate",G,ve);for(const E of ke)E.updateGuards.forEach(U=>{ue.push(wr(U,G,ve))});return ue.push(R),Ce(ue)}).then(()=>{ue=[];for(const E of V)if(E.beforeEnter)if(yo(E.beforeEnter))for(const U of E.beforeEnter)ue.push(wr(U,G,ve));else ue.push(wr(E.beforeEnter,G,ve));return ue.push(R),Ce(ue)}).then(()=>(G.matched.forEach(E=>E.enterCallbacks={}),ue=ud(V,"beforeRouteEnter",G,ve),ue.push(R),Ce(ue))).then(()=>{ue=[];for(const E of a.list())ue.push(wr(E,G,ve));return ue.push(R),Ce(ue)}).catch(E=>Ko(E,8)?E:Promise.reject(E))}function I(G,ve,ue){s.list().forEach(re=>P(()=>re(G,ve,ue)))}function A(G,ve,ue,re,ke){const V=S(G,ve);if(V)return V;const R=ve===fr,E=Gi?history.state:{};ue&&(re||R?r.replace(G.fullPath,Ft({scroll:R&&E&&E.scroll},ke)):r.push(G.fullPath,ke)),l.value=G,se(G,ve,ue,R),M()}let q;function F(){q||(q=r.listen((G,ve,ue)=>{if(!xe.listening)return;const re=g(G),ke=x(re);if(ke){w(Ft(ke,{replace:!0}),re).catch(cs);return}c=re;const V=l.value;Gi&&u5(yg(V.fullPath,ue.delta),Yc()),k(re,V).catch(R=>Ko(R,12)?R:Ko(R,2)?(w(R.to,re).then(E=>{Ko(E,20)&&!ue.delta&&ue.type===Es.pop&&r.go(-1,!1)}).catch(cs),Promise.reject()):(ue.delta&&r.go(-ue.delta,!1),Q(R,re,V))).then(R=>{R=R||A(re,V,!1),R&&(ue.delta&&!Ko(R,8)?r.go(-ue.delta,!1):ue.type===Es.pop&&Ko(R,20)&&r.go(-1,!1)),I(re,V,R)}).catch(cs)}))}let O=Ka(),$=Ka(),W;function Q(G,ve,ue){M(G);const re=$.list();return re.length?re.forEach(ke=>ke(G,ve,ue)):console.error(G),Promise.reject(G)}function L(){return W&&l.value!==fr?Promise.resolve():new Promise((G,ve)=>{O.add([G,ve])})}function M(G){return W||(W=!G,F(),O.list().forEach(([ve,ue])=>G?ue(G):ve()),O.reset()),G}function se(G,ve,ue,re){const{scrollBehavior:ke}=e;if(!Gi||!ke)return Promise.resolve();const V=!ue&&d5(yg(G.fullPath,0))||(re||!ue)&&history.state&&history.state.scroll||null;return jt().then(()=>ke(G,ve,V)).then(R=>R&&c5(R)).catch(R=>Q(R,G,ve))}const X=G=>r.go(G);let ne;const fe=new Set,xe={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:v,getRoutes:m,resolve:g,options:e,push:C,replace:_,go:X,back:()=>X(-1),forward:()=>X(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:$.add,isReady:L,install(G){const ve=this;G.component("RouterLink",Y5),G.component("RouterView",J5),G.config.globalProperties.$router=ve,Object.defineProperty(G.config.globalProperties,"$route",{enumerable:!0,get:()=>me(l)}),Gi&&!ne&&l.value===fr&&(ne=!0,C(r.location).catch(ke=>{}));const ue={};for(const ke in fr)Object.defineProperty(ue,ke,{get:()=>l.value[ke],enumerable:!0});G.provide(Xc,ve),G.provide(Yh,oy(ue)),G.provide(Cf,l);const re=G.unmount;fe.add(G),G.unmount=function(){fe.delete(G),fe.size<1&&(c=fr,q&&q(),q=null,l.value=fr,ne=!1,W=!1),re()}}};function Ce(G){return G.reduce((ve,ue)=>ve.then(()=>P(ue)),Promise.resolve())}return xe}function tT(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;afa(c,s))?o.push(s):n.push(s));const l=e.matched[a];l&&(t.matched.find(c=>fa(c,l))||r.push(l))}return[n,o,r]}function Qc(){return He(Xc)}function Pa(){return He(Yh)}const nT="modulepreload",oT=function(e){return"/"+e},Mg={},xt=function(t,n,o){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=oT(i),i in Mg)return;Mg[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":nT,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})},rT=()=>xt(()=>Promise.resolve().then(()=>cr),void 0),iT={name:"dashboard",path:"/",component:rT,redirect:"dashboard",meta:{isHidden:!1},children:[{name:"dashboard",path:"/dashboard",component:()=>xt(()=>Promise.resolve().then(()=>qze),void 0),meta:{title:"仪表盘",icon:"mdi:home",order:0}}]},aT=Object.freeze(Object.defineProperty({__proto__:null,default:iT},Symbol.toStringTag,{value:"Module"})),sT=()=>xt(()=>Promise.resolve().then(()=>cr),void 0),lT={name:"Invite",path:"/",component:sT,redirect:"/invite",meta:{isHidden:!1},children:[{name:"Invite",path:"invite",component:()=>xt(()=>Promise.resolve().then(()=>ROe),void 0),meta:{title:"我的邀请",icon:"mdi:invite",order:1,group:{key:"finance",label:"财务"}}}]},cT=Object.freeze(Object.defineProperty({__proto__:null,default:lT},Symbol.toStringTag,{value:"Module"})),uT=()=>xt(()=>Promise.resolve().then(()=>cr),void 0),dT={name:"knowledge",path:"/",component:uT,redirect:"/knowledge",meta:{isHidden:!1},children:[{name:"Knowledge",path:"knowledge",component:()=>xt(()=>Promise.resolve().then(()=>zOe),void 0),meta:{title:"使用文档",icon:"mdi-book-open-variant",order:10}}]},fT=Object.freeze(Object.defineProperty({__proto__:null,default:dT},Symbol.toStringTag,{value:"Module"})),hT=()=>xt(()=>Promise.resolve().then(()=>cr),void 0),pT={name:"Node",path:"/",component:hT,redirect:"/node",meta:{isHidden:!1},children:[{name:"Node",path:"node",component:()=>xt(()=>Promise.resolve().then(()=>tDe),void 0),meta:{title:"节点状态",icon:"mdi-check-circle-outline",order:11,group:{key:"subscribe",label:"订阅"}}}]},mT=Object.freeze(Object.defineProperty({__proto__:null,default:pT},Symbol.toStringTag,{value:"Module"})),gT=()=>xt(()=>Promise.resolve().then(()=>cr),void 0),vT={name:"Order",path:"/",component:gT,redirect:"/order",meta:{isHidden:!1},children:[{name:"Order",path:"order",component:()=>xt(()=>Promise.resolve().then(()=>oDe),void 0),meta:{title:"我的订单",icon:"mdi-format-list-bulleted",order:0,group:{key:"finance",label:"财务"}}},{name:"OrderDetail",path:"order/:trade_no",component:()=>xt(()=>Promise.resolve().then(()=>ILe),void 0),meta:{title:"订单详情",icon:"mdi:doc",order:1,isHidden:!0}}]},bT=Object.freeze(Object.defineProperty({__proto__:null,default:vT},Symbol.toStringTag,{value:"Module"})),yT=()=>xt(()=>Promise.resolve().then(()=>cr),void 0),xT={name:"plan",path:"/",component:yT,redirect:"/plan",meta:{isHidden:!1},children:[{name:"Plan",path:"plan",component:()=>xt(()=>Promise.resolve().then(()=>VLe),void 0),meta:{title:"购买订阅",icon:"mdi-shopping-outline",order:10,group:{key:"subscribe",label:"订阅"}}},{name:"PlanDetail",path:"plan/:plan_id",component:()=>xt(()=>Promise.resolve().then(()=>v9e),void 0),meta:{title:"配置订阅",icon:"mdi:doc",order:1,isHidden:!0}}]},CT=Object.freeze(Object.defineProperty({__proto__:null,default:xT},Symbol.toStringTag,{value:"Module"})),wT=()=>xt(()=>Promise.resolve().then(()=>cr),void 0),_T={name:"profile",path:"/",component:wT,redirect:"/profile",meta:{isHidden:!1},children:[{name:"Profile",path:"profile",component:()=>xt(()=>Promise.resolve().then(()=>z9e),void 0),meta:{title:"个人中心",icon:"mdi-account-outline",order:0,group:{key:"user",label:"用户"}}}]},ST=Object.freeze(Object.defineProperty({__proto__:null,default:_T},Symbol.toStringTag,{value:"Module"})),kT=()=>xt(()=>Promise.resolve().then(()=>cr),void 0),TT={name:"ticket",path:"/",component:kT,redirect:"/ticket",meta:{isHidden:!1},children:[{name:"Ticket",path:"ticket",component:()=>xt(()=>Promise.resolve().then(()=>L9e),void 0),meta:{title:"我的工单",icon:"mdi-comment-alert-outline",order:0,group:{key:"user",label:"用户"}}},{name:"TicketDetail",path:"ticket/:ticket_id",component:()=>xt(()=>Promise.resolve().then(()=>j9e),void 0),meta:{title:"工单详情",order:0,isHidden:!0}}]},PT=Object.freeze(Object.defineProperty({__proto__:null,default:TT},Symbol.toStringTag,{value:"Module"})),RT=()=>xt(()=>Promise.resolve().then(()=>cr),void 0),ET={name:"traffic",path:"/",component:RT,redirect:"/traffic",meta:{isHidden:!1},children:[{name:"Traffic",path:"traffic",component:()=>xt(()=>Promise.resolve().then(()=>U9e),void 0),meta:{title:"流量明细",icon:"mdi-poll",order:0,group:{key:"user",label:"用户"}}}]},$T=Object.freeze(Object.defineProperty({__proto__:null,default:ET},Symbol.toStringTag,{value:"Module"})),Zy=[{name:"404",path:"/404",component:()=>xt(()=>Promise.resolve().then(()=>Y9e),void 0),meta:{title:"404",isHidden:!0}},{name:"LOGIN",path:"/login",component:()=>xt(()=>Promise.resolve().then(()=>xFe),void 0),meta:{title:"登录页",isHidden:!0}},{name:"Register",path:"/register",component:()=>xt(()=>Promise.resolve().then(()=>NFe),void 0),meta:{title:"注册",isHidden:!0}},{name:"forgetpassword",path:"/forgetpassword",component:()=>xt(()=>Promise.resolve().then(()=>o7e),void 0),meta:{title:"重置密码",isHidden:!0}}],AT={name:"NotFound",path:"/:pathMatch(.*)*",redirect:"/404",meta:{title:"Not Found"}},zg=Object.assign({"/src/views/dashboard/route.ts":aT,"/src/views/invite/route.ts":cT,"/src/views/knowledge/route.ts":fT,"/src/views/node/route.ts":mT,"/src/views/order/route.ts":bT,"/src/views/plan/route.ts":CT,"/src/views/profile/route.ts":ST,"/src/views/ticket/route.ts":PT,"/src/views/traffic/route.ts":$T}),Jy=[];Object.keys(zg).forEach(e=>{Jy.push(zg[e].default)});function IT(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 F1;const Og=((F1=window.settings)==null?void 0:F1.title)||"Xboard";function MT(e){e.afterEach(t=>{var o;const n=(o=t.meta)==null?void 0:o.title;n?document.title=`${n} | ${Og}`:document.title=Og})}var zT=!1;/*! + */const Gi=typeof window<"u";function J4(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ft=Object.assign;function ld(e,t){const n={};for(const o in t){const r=t[o];n[o]=yo(r)?r.map(e):e(r)}return n}const cs=()=>{},yo=Array.isArray,e5=/\/$/,t5=e=>e.replace(e5,"");function cd(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=i5(o??t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:a}}function n5(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function bg(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function o5(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&fa(t.matched[o],n.matched[r])&&Vy(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function fa(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Vy(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!r5(e[n],t[n]))return!1;return!0}function r5(e,t){return yo(e)?yg(e,t):yo(t)?yg(t,e):e===t}function yg(e,t){return yo(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function i5(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-(a===o.length?1:0)).join("/")}var Es;(function(e){e.pop="pop",e.push="push"})(Es||(Es={}));var us;(function(e){e.back="back",e.forward="forward",e.unknown=""})(us||(us={}));function a5(e){if(!e)if(Gi){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),t5(e)}const s5=/^[^#]+#/;function l5(e,t){return e.replace(s5,"#")+t}function c5(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 Yc=()=>({left:window.pageXOffset,top:window.pageYOffset});function u5(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=c5(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function xg(e,t){return(history.state?history.state.position-t:-1)+e}const yf=new Map;function d5(e,t){yf.set(e,t)}function f5(e){const t=yf.get(e);return yf.delete(e),t}let h5=()=>location.protocol+"//"+location.host;function Uy(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let s=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(s);return l[0]!=="/"&&(l="/"+l),bg(l,"")}return bg(n,e)+o+r}function p5(e,t,n,o){let r=[],i=[],a=null;const s=({state:f})=>{const p=Uy(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(g=>{g(n.value,h,{delta:v,type:Es.pop,direction:v?v>0?us.forward:us.back:us.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(Ft({},f.state,{scroll:Yc()}),"")}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 Cg(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Yc():null}}function m5(e){const{history:t,location:n}=window,o={value:Uy(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:h5()+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=Ft({},t.state,Cg(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=Ft({},r.value,t.state,{forward:l,scroll:Yc()});i(u.current,u,!0);const d=Ft({},Cg(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 g5(e){e=a5(e);const t=m5(e),n=p5(e,t.state,t.location,t.replace);function o(i,a=!0){a||n.pauseListeners(),history.go(i)}const r=Ft({location:"",base:e,go:o,createHref:l5.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 v5(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),g5(e)}function b5(e){return typeof e=="string"||e&&typeof e=="object"}function Wy(e){return typeof e=="string"||typeof e=="symbol"}const fr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},qy=Symbol("");var wg;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(wg||(wg={}));function ha(e,t){return Ft(new Error,{type:e,[qy]:!0},t)}function Ko(e,t){return e instanceof Error&&qy in e&&(t==null||!!(e.type&t))}const _g="[^/]+?",y5={sensitive:!1,strict:!1,start:!0,end:!0},x5=/[.+*?^${}()[\]/\\]/g;function C5(e,t){const n=Ft({},y5,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 _5(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const S5={type:0,value:""},k5=/[a-zA-Z0-9_]/;function T5(e){if(!e)return[[]];if(e==="/")return[[S5]];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(y)}:cs}function a(u){if(Wy(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||!Ky(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!Tg(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 ha(1,{location:u});m=f.record.name,p=Ft(kg(d.params,f.keys.filter(y=>!y.optional).map(y=>y.name)),u.params&&kg(u.params,f.keys.map(y=>y.name))),h=f.stringify(p)}else if("path"in u)h=u.path,f=n.find(y=>y.re.test(h)),f&&(p=f.parse(h),m=f.record.name);else{if(f=d.name?o.get(d.name):n.find(y=>y.re.test(d.path)),!f)throw ha(1,{location:u,currentLocation:d});m=f.record.name,p=Ft({},d.params,u.params),h=f.stringify(p)}const v=[];let g=f;for(;g;)v.unshift(g.record),g=g.parent;return{name:m,path:h,params:p,matched:v,meta:A5(v)}}return e.forEach(u=>i(u)),{addRoute:i,resolve:c,removeRoute:a,getRoutes:s,getRecordMatcher:r}}function kg(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function E5(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:$5(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 $5(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 Tg(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function A5(e){return e.reduce((t,n)=>Ft(t,n.meta),{})}function Pg(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Ky(e,t){return t.children.some(n=>n===e||Ky(e,n))}const Gy=/#/g,I5=/&/g,M5=/\//g,z5=/=/g,O5=/\?/g,Yy=/\+/g,D5=/%5B/g,L5=/%5D/g,Xy=/%5E/g,F5=/%60/g,Qy=/%7B/g,N5=/%7C/g,Zy=/%7D/g,B5=/%20/g;function Gh(e){return encodeURI(""+e).replace(N5,"|").replace(D5,"[").replace(L5,"]")}function H5(e){return Gh(e).replace(Qy,"{").replace(Zy,"}").replace(Xy,"^")}function xf(e){return Gh(e).replace(Yy,"%2B").replace(B5,"+").replace(Gy,"%23").replace(I5,"%26").replace(F5,"`").replace(Qy,"{").replace(Zy,"}").replace(Xy,"^")}function j5(e){return xf(e).replace(z5,"%3D")}function V5(e){return Gh(e).replace(Gy,"%23").replace(O5,"%3F")}function U5(e){return e==null?"":V5(e).replace(M5,"%2F")}function hc(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function W5(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ri&&xf(i)):[o&&xf(o)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function q5(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=yo(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const K5=Symbol(""),Eg=Symbol(""),Xc=Symbol(""),Yh=Symbol(""),Cf=Symbol("");function Ka(){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 wr(e,t,n,o,r){const i=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((a,s)=>{const l=d=>{d===!1?s(ha(4,{from:n,to:t})):d instanceof Error?s(d):b5(d)?s(ha(2,{from:t,to:d})):(i&&o.enterCallbacks[r]===i&&typeof d=="function"&&i.push(d),a())},c=e.call(o&&o.instances[r],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(d=>s(d))})}function ud(e,t,n,o){const r=[];for(const i of e)for(const a in i.components){let s=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(G5(s)){const c=(s.__vccOpts||s)[t];c&&r.push(wr(c,n,o,i,a))}else{let l=s();r.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const u=J4(c)?c.default:c;i.components[a]=u;const f=(u.__vccOpts||u)[t];return f&&wr(f,n,o,i,a)()}))}}return r}function G5(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function $g(e){const t=He(Xc),n=He(Yh),o=L(()=>t.resolve(me(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(fa.bind(null,u));if(f>-1)return f;const p=Ag(l[c-2]);return c>1&&Ag(u)===p&&d[d.length-1].path!==p?d.findIndex(fa.bind(null,l[c-2])):f}),i=L(()=>r.value>-1&&Z5(n.params,o.value.params)),a=L(()=>r.value>-1&&r.value===n.matched.length-1&&Vy(n.params,o.value.params));function s(l={}){return Q5(l)?t[me(e.replace)?"replace":"push"](me(e.to)).catch(cs):Promise.resolve()}return{route:o,href:L(()=>o.value.href),isActive:i,isExactActive:a,navigate:s}}const Y5=pe({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:$g,setup(e,{slots:t}){const n=bo($g(e)),{options:o}=He(Xc),r=L(()=>({[Ig(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Ig(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:b("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),X5=Y5;function Q5(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 Z5(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(!yo(r)||r.length!==o.length||o.some((i,a)=>i!==r[a]))return!1}return!0}function Ag(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ig=(e,t,n)=>e??t??n,J5=pe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=He(Cf),r=L(()=>e.route||o.value),i=He(Eg,0),a=L(()=>{let c=me(i);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),s=L(()=>r.value.matched[a.value]);lt(Eg,L(()=>a.value+1)),lt(K5,s),lt(Cf,r);const l=N();return ht(()=>[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||!fa(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 Mg(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=b(f,Ft({},h,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return Mg(n.default,{Component:v,route:c})||v}}});function Mg(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const eT=J5;function tT(e){const t=R5(e.routes,e),n=e.parseQuery||W5,o=e.stringifyQuery||Rg,r=e.history,i=Ka(),a=Ka(),s=Ka(),l=Us(fr);let c=fr;Gi&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ld.bind(null,G=>""+G),d=ld.bind(null,U5),f=ld.bind(null,hc);function p(G,ve){let ue,re;return Wy(G)?(ue=t.getRecordMatcher(G),re=ve):re=G,t.addRoute(re,ue)}function h(G){const ve=t.getRecordMatcher(G);ve&&t.removeRoute(ve)}function m(){return t.getRoutes().map(G=>G.record)}function v(G){return!!t.getRecordMatcher(G)}function g(G,ve){if(ve=Ft({},ve||l.value),typeof G=="string"){const E=cd(n,G,ve.path),q=t.resolve({path:E.path},ve),ie=r.createHref(E.fullPath);return Ft(E,q,{params:f(q.params),hash:hc(E.hash),redirectedFrom:void 0,href:ie})}let ue;if("path"in G)ue=Ft({},G,{path:cd(n,G.path,ve.path).path});else{const E=Ft({},G.params);for(const q in E)E[q]==null&&delete E[q];ue=Ft({},G,{params:d(E)}),ve.params=d(ve.params)}const re=t.resolve(ue,ve),ke=G.hash||"";re.params=u(f(re.params));const U=n5(o,Ft({},G,{hash:H5(ke),path:re.path})),R=r.createHref(U);return Ft({fullPath:U,hash:ke,query:o===Rg?q5(G.query):G.query||{}},re,{redirectedFrom:void 0,href:R})}function y(G){return typeof G=="string"?cd(n,G,l.value.path):Ft({},G)}function S(G,ve){if(c!==G)return ha(8,{from:ve,to:G})}function C(G){return w(G)}function _(G){return C(Ft(y(G),{replace:!0}))}function x(G){const ve=G.matched[G.matched.length-1];if(ve&&ve.redirect){const{redirect:ue}=ve;let re=typeof ue=="function"?ue(G):ue;return typeof re=="string"&&(re=re.includes("?")||re.includes("#")?re=y(re):{path:re},re.params={}),Ft({query:G.query,hash:G.hash,params:"path"in re?{}:G.params},re)}}function w(G,ve){const ue=c=g(G),re=l.value,ke=G.state,U=G.force,R=G.replace===!0,E=x(ue);if(E)return w(Ft(y(E),{state:typeof E=="object"?Ft({},ke,E.state):ke,force:U,replace:R}),ve||ue);const q=ue;q.redirectedFrom=ve;let ie;return!U&&o5(o,re,ue)&&(ie=ha(16,{to:q,from:re}),se(re,re,!0,!1)),(ie?Promise.resolve(ie):k(q,re)).catch(Y=>Ko(Y)?Ko(Y,2)?Y:M(Y):X(Y,q,re)).then(Y=>{if(Y){if(Ko(Y,2))return w(Ft({replace:R},y(Y.to),{state:typeof Y.to=="object"?Ft({},ke,Y.to.state):ke,force:U}),ve||q)}else Y=I(q,re,!0,R,ke);return A(q,re,Y),Y})}function T(G,ve){const ue=S(G,ve);return ue?Promise.reject(ue):Promise.resolve()}function P(G){const ve=fe.values().next().value;return ve&&typeof ve.runWithContext=="function"?ve.runWithContext(G):G()}function k(G,ve){let ue;const[re,ke,U]=nT(G,ve);ue=ud(re.reverse(),"beforeRouteLeave",G,ve);for(const E of re)E.leaveGuards.forEach(q=>{ue.push(wr(q,G,ve))});const R=T.bind(null,G,ve);return ue.push(R),Ce(ue).then(()=>{ue=[];for(const E of i.list())ue.push(wr(E,G,ve));return ue.push(R),Ce(ue)}).then(()=>{ue=ud(ke,"beforeRouteUpdate",G,ve);for(const E of ke)E.updateGuards.forEach(q=>{ue.push(wr(q,G,ve))});return ue.push(R),Ce(ue)}).then(()=>{ue=[];for(const E of U)if(E.beforeEnter)if(yo(E.beforeEnter))for(const q of E.beforeEnter)ue.push(wr(q,G,ve));else ue.push(wr(E.beforeEnter,G,ve));return ue.push(R),Ce(ue)}).then(()=>(G.matched.forEach(E=>E.enterCallbacks={}),ue=ud(U,"beforeRouteEnter",G,ve),ue.push(R),Ce(ue))).then(()=>{ue=[];for(const E of a.list())ue.push(wr(E,G,ve));return ue.push(R),Ce(ue)}).catch(E=>Ko(E,8)?E:Promise.reject(E))}function A(G,ve,ue){s.list().forEach(re=>P(()=>re(G,ve,ue)))}function I(G,ve,ue,re,ke){const U=S(G,ve);if(U)return U;const R=ve===fr,E=Gi?history.state:{};ue&&(re||R?r.replace(G.fullPath,Ft({scroll:R&&E&&E.scroll},ke)):r.push(G.fullPath,ke)),l.value=G,se(G,ve,ue,R),M()}let W;function B(){W||(W=r.listen((G,ve,ue)=>{if(!xe.listening)return;const re=g(G),ke=x(re);if(ke){w(Ft(ke,{replace:!0}),re).catch(cs);return}c=re;const U=l.value;Gi&&d5(xg(U.fullPath,ue.delta),Yc()),k(re,U).catch(R=>Ko(R,12)?R:Ko(R,2)?(w(R.to,re).then(E=>{Ko(E,20)&&!ue.delta&&ue.type===Es.pop&&r.go(-1,!1)}).catch(cs),Promise.reject()):(ue.delta&&r.go(-ue.delta,!1),X(R,re,U))).then(R=>{R=R||I(re,U,!1),R&&(ue.delta&&!Ko(R,8)?r.go(-ue.delta,!1):ue.type===Es.pop&&Ko(R,20)&&r.go(-1,!1)),A(re,U,R)}).catch(cs)}))}let z=Ka(),$=Ka(),j;function X(G,ve,ue){M(G);const re=$.list();return re.length?re.forEach(ke=>ke(G,ve,ue)):console.error(G),Promise.reject(G)}function F(){return j&&l.value!==fr?Promise.resolve():new Promise((G,ve)=>{z.add([G,ve])})}function M(G){return j||(j=!G,B(),z.list().forEach(([ve,ue])=>G?ue(G):ve()),z.reset()),G}function se(G,ve,ue,re){const{scrollBehavior:ke}=e;if(!Gi||!ke)return Promise.resolve();const U=!ue&&f5(xg(G.fullPath,0))||(re||!ue)&&history.state&&history.state.scroll||null;return jt().then(()=>ke(G,ve,U)).then(R=>R&&u5(R)).catch(R=>X(R,G,ve))}const Q=G=>r.go(G);let ne;const fe=new Set,xe={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:v,getRoutes:m,resolve:g,options:e,push:C,replace:_,go:Q,back:()=>Q(-1),forward:()=>Q(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:$.add,isReady:F,install(G){const ve=this;G.component("RouterLink",X5),G.component("RouterView",eT),G.config.globalProperties.$router=ve,Object.defineProperty(G.config.globalProperties,"$route",{enumerable:!0,get:()=>me(l)}),Gi&&!ne&&l.value===fr&&(ne=!0,C(r.location).catch(ke=>{}));const ue={};for(const ke in fr)Object.defineProperty(ue,ke,{get:()=>l.value[ke],enumerable:!0});G.provide(Xc,ve),G.provide(Yh,ry(ue)),G.provide(Cf,l);const re=G.unmount;fe.add(G),G.unmount=function(){fe.delete(G),fe.size<1&&(c=fr,W&&W(),W=null,l.value=fr,ne=!1,j=!1),re()}}};function Ce(G){return G.reduce((ve,ue)=>ve.then(()=>P(ue)),Promise.resolve())}return xe}function nT(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;afa(c,s))?o.push(s):n.push(s));const l=e.matched[a];l&&(t.matched.find(c=>fa(c,l))||r.push(l))}return[n,o,r]}function Qc(){return He(Xc)}function Pa(){return He(Yh)}const oT="modulepreload",rT=function(e){return"/"+e},zg={},xt=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 zg)return;zg[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":oT,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})},iT=()=>xt(()=>Promise.resolve().then(()=>cr),void 0),aT={name:"dashboard",path:"/",component:iT,redirect:"dashboard",meta:{isHidden:!1},children:[{name:"dashboard",path:"/dashboard",component:()=>xt(()=>Promise.resolve().then(()=>Kze),void 0),meta:{title:"仪表盘",icon:"mdi:home",order:0}}]},sT=Object.freeze(Object.defineProperty({__proto__:null,default:aT},Symbol.toStringTag,{value:"Module"})),lT=()=>xt(()=>Promise.resolve().then(()=>cr),void 0),cT={name:"Invite",path:"/",component:lT,redirect:"/invite",meta:{isHidden:!1},children:[{name:"Invite",path:"invite",component:()=>xt(()=>Promise.resolve().then(()=>EOe),void 0),meta:{title:"我的邀请",icon:"mdi:invite",order:1,group:{key:"finance",label:"财务"}}}]},uT=Object.freeze(Object.defineProperty({__proto__:null,default:cT},Symbol.toStringTag,{value:"Module"})),dT=()=>xt(()=>Promise.resolve().then(()=>cr),void 0),fT={name:"knowledge",path:"/",component:dT,redirect:"/knowledge",meta:{isHidden:!1},children:[{name:"Knowledge",path:"knowledge",component:()=>xt(()=>Promise.resolve().then(()=>OOe),void 0),meta:{title:"使用文档",icon:"mdi-book-open-variant",order:10}}]},hT=Object.freeze(Object.defineProperty({__proto__:null,default:fT},Symbol.toStringTag,{value:"Module"})),pT=()=>xt(()=>Promise.resolve().then(()=>cr),void 0),mT={name:"Node",path:"/",component:pT,redirect:"/node",meta:{isHidden:!1},children:[{name:"Node",path:"node",component:()=>xt(()=>Promise.resolve().then(()=>nDe),void 0),meta:{title:"节点状态",icon:"mdi-check-circle-outline",order:11,group:{key:"subscribe",label:"订阅"}}}]},gT=Object.freeze(Object.defineProperty({__proto__:null,default:mT},Symbol.toStringTag,{value:"Module"})),vT=()=>xt(()=>Promise.resolve().then(()=>cr),void 0),bT={name:"Order",path:"/",component:vT,redirect:"/order",meta:{isHidden:!1},children:[{name:"Order",path:"order",component:()=>xt(()=>Promise.resolve().then(()=>rDe),void 0),meta:{title:"我的订单",icon:"mdi-format-list-bulleted",order:0,group:{key:"finance",label:"财务"}}},{name:"OrderDetail",path:"order/:trade_no",component:()=>xt(()=>Promise.resolve().then(()=>MLe),void 0),meta:{title:"订单详情",icon:"mdi:doc",order:1,isHidden:!0}}]},yT=Object.freeze(Object.defineProperty({__proto__:null,default:bT},Symbol.toStringTag,{value:"Module"})),xT=()=>xt(()=>Promise.resolve().then(()=>cr),void 0),CT={name:"plan",path:"/",component:xT,redirect:"/plan",meta:{isHidden:!1},children:[{name:"Plan",path:"plan",component:()=>xt(()=>Promise.resolve().then(()=>ULe),void 0),meta:{title:"购买订阅",icon:"mdi-shopping-outline",order:10,group:{key:"subscribe",label:"订阅"}}},{name:"PlanDetail",path:"plan/:plan_id",component:()=>xt(()=>Promise.resolve().then(()=>b9e),void 0),meta:{title:"配置订阅",icon:"mdi:doc",order:1,isHidden:!0}}]},wT=Object.freeze(Object.defineProperty({__proto__:null,default:CT},Symbol.toStringTag,{value:"Module"})),_T=()=>xt(()=>Promise.resolve().then(()=>cr),void 0),ST={name:"profile",path:"/",component:_T,redirect:"/profile",meta:{isHidden:!1},children:[{name:"Profile",path:"profile",component:()=>xt(()=>Promise.resolve().then(()=>O9e),void 0),meta:{title:"个人中心",icon:"mdi-account-outline",order:0,group:{key:"user",label:"用户"}}}]},kT=Object.freeze(Object.defineProperty({__proto__:null,default:ST},Symbol.toStringTag,{value:"Module"})),TT=()=>xt(()=>Promise.resolve().then(()=>cr),void 0),PT={name:"ticket",path:"/",component:TT,redirect:"/ticket",meta:{isHidden:!1},children:[{name:"Ticket",path:"ticket",component:()=>xt(()=>Promise.resolve().then(()=>F9e),void 0),meta:{title:"我的工单",icon:"mdi-comment-alert-outline",order:0,group:{key:"user",label:"用户"}}},{name:"TicketDetail",path:"ticket/:ticket_id",component:()=>xt(()=>Promise.resolve().then(()=>V9e),void 0),meta:{title:"工单详情",order:0,isHidden:!0}}]},RT=Object.freeze(Object.defineProperty({__proto__:null,default:PT},Symbol.toStringTag,{value:"Module"})),ET=()=>xt(()=>Promise.resolve().then(()=>cr),void 0),$T={name:"traffic",path:"/",component:ET,redirect:"/traffic",meta:{isHidden:!1},children:[{name:"Traffic",path:"traffic",component:()=>xt(()=>Promise.resolve().then(()=>W9e),void 0),meta:{title:"流量明细",icon:"mdi-poll",order:0,group:{key:"user",label:"用户"}}}]},AT=Object.freeze(Object.defineProperty({__proto__:null,default:$T},Symbol.toStringTag,{value:"Module"})),Jy=[{name:"404",path:"/404",component:()=>xt(()=>Promise.resolve().then(()=>X9e),void 0),meta:{title:"404",isHidden:!0}},{name:"LOGIN",path:"/login",component:()=>xt(()=>Promise.resolve().then(()=>xFe),void 0),meta:{title:"登录页",isHidden:!0}},{name:"Register",path:"/register",component:()=>xt(()=>Promise.resolve().then(()=>NFe),void 0),meta:{title:"注册",isHidden:!0}},{name:"forgetpassword",path:"/forgetpassword",component:()=>xt(()=>Promise.resolve().then(()=>o7e),void 0),meta:{title:"重置密码",isHidden:!0}}],IT={name:"NotFound",path:"/:pathMatch(.*)*",redirect:"/404",meta:{title:"Not Found"}},Og=Object.assign({"/src/views/dashboard/route.ts":sT,"/src/views/invite/route.ts":uT,"/src/views/knowledge/route.ts":hT,"/src/views/node/route.ts":gT,"/src/views/order/route.ts":yT,"/src/views/plan/route.ts":wT,"/src/views/profile/route.ts":kT,"/src/views/ticket/route.ts":RT,"/src/views/traffic/route.ts":AT}),ex=[];Object.keys(Og).forEach(e=>{ex.push(Og[e].default)});function MT(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 N1;const Dg=((N1=window.settings)==null?void 0:N1.title)||"Xboard";function zT(e){e.afterEach(t=>{var o;const n=(o=t.meta)==null?void 0:o.title;n?document.title=`${n} | ${Dg}`:document.title=Dg})}var OT=!1;/*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let ex;const Zc=e=>ex=e,tx=Symbol();function wf(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ds;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ds||(ds={}));function OT(){const e=Th(!0),t=e.run(()=>B({}));let n=[],o=[];const r=la({install(i){Zc(r),r._a=i,i.provide(tx,r),i.config.globalProperties.$pinia=r,o.forEach(a=>n.push(a)),o=[]},use(i){return!this._a&&!zT?o.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const nx=()=>{};function Dg(e,t,n,o=nx){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),o())};return!n&&Ph()&&q1(r),r}function Hi(e,...t){e.slice().forEach(n=>{n(...t)})}const DT=e=>e();function _f(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];wf(r)&&wf(o)&&e.hasOwnProperty(n)&&!en(o)&&!Pr(o)?e[n]=_f(r,o):e[n]=o}return e}const LT=Symbol();function FT(e){return!wf(e)||!e.hasOwnProperty(LT)}const{assign:yr}=Object;function NT(e){return!!(en(e)&&e.effect)}function BT(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=l3(n.state.value[e]);return yr(u,i,Object.keys(a||{}).reduce((d,f)=>(d[f]=la(N(()=>{Zc(n);const p=n._s.get(e);return a[f].call(p,p)})),d),{}))}return l=ox(e,c,t,n,o,!0),l}function ox(e,t,n={},o,r,i){let a;const s=yr({actions:{}},n),l={deep:!0};let c,u,d=[],f=[],p;const h=o.state.value[e];!i&&!h&&(o.state.value[e]={}),B({});let m;function v(T){let P;c=u=!1,typeof T=="function"?(T(o.state.value[e]),P={type:ds.patchFunction,storeId:e,events:p}):(_f(o.state.value[e],T),P={type:ds.patchObject,payload:T,storeId:e,events:p});const k=m=Symbol();jt().then(()=>{m===k&&(c=!0)}),u=!0,Hi(d,P,o.state.value[e])}const g=i?function(){const{state:P}=n,k=P?P():{};this.$patch(I=>{yr(I,k)})}:nx;function y(){a.stop(),d=[],f=[],o._s.delete(e)}function S(T,P){return function(){Zc(o);const k=Array.from(arguments),I=[],A=[];function q($){I.push($)}function F($){A.push($)}Hi(f,{args:k,name:T,store:_,after:q,onError:F});let O;try{O=P.apply(this&&this.$id===e?this:_,k)}catch($){throw Hi(A,$),$}return O instanceof Promise?O.then($=>(Hi(I,$),$)).catch($=>(Hi(A,$),Promise.reject($))):(Hi(I,O),O)}}const C={_p:o,$id:e,$onAction:Dg.bind(null,f),$patch:v,$reset:g,$subscribe(T,P={}){const k=Dg(d,T,P.detached,()=>I()),I=a.run(()=>ht(()=>o.state.value[e],A=>{(P.flush==="sync"?u:c)&&T({storeId:e,type:ds.direct,events:p},A)},yr({},l,P)));return k},$dispose:y},_=bo(C);o._s.set(e,_);const w=(o._a&&o._a.runWithContext||DT)(()=>o._e.run(()=>(a=Th()).run(t)));for(const T in w){const P=w[T];if(en(P)&&!NT(P)||Pr(P))i||(h&&FT(P)&&(en(P)?P.value=h[T]:_f(P,h[T])),o.state.value[e][T]=P);else if(typeof P=="function"){const k=S(T,P);w[T]=k,s.actions[T]=P}}return yr(_,w),yr(Et(_),w),Object.defineProperty(_,"$state",{get:()=>o.state.value[e],set:T=>{v(P=>{yr(P,T)})}}),o._p.forEach(T=>{yr(_,a.run(()=>T({store:_,app:o._a,pinia:o,options:s})))}),h&&i&&n.hydrate&&n.hydrate(_.$state,h),c=!0,u=!0,_}function Jc(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=V3();return s=s||(c?He(tx,null):null),s&&Zc(s),s=ex,s._s.has(o)||(i?ox(o,t,r,s):BT(o,r,s)),s._s.get(o)}return a.$id=o,a}function rx(e,t){return function(){return e.apply(t,arguments)}}const{toString:HT}=Object.prototype,{getPrototypeOf:Xh}=Object,eu=(e=>t=>{const n=HT.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),jo=e=>(e=e.toLowerCase(),t=>eu(t)===e),tu=e=>t=>typeof t===e,{isArray:Ra}=Array,$s=tu("undefined");function jT(e){return e!==null&&!$s(e)&&e.constructor!==null&&!$s(e.constructor)&&eo(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ix=jo("ArrayBuffer");function VT(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ix(e.buffer),t}const UT=tu("string"),eo=tu("function"),ax=tu("number"),nu=e=>e!==null&&typeof e=="object",WT=e=>e===!0||e===!1,Ql=e=>{if(eu(e)!=="object")return!1;const t=Xh(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},qT=jo("Date"),KT=jo("File"),GT=jo("Blob"),YT=jo("FileList"),XT=e=>nu(e)&&eo(e.pipe),QT=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||eo(e.append)&&((t=eu(e))==="formdata"||t==="object"&&eo(e.toString)&&e.toString()==="[object FormData]"))},ZT=jo("URLSearchParams"),JT=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ks(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,r;if(typeof e!="object"&&(e=[e]),Ra(e))for(o=0,r=e.length;o0;)if(r=n[o],t===r.toLowerCase())return r;return null}const lx=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),cx=e=>!$s(e)&&e!==lx;function Sf(){const{caseless:e}=cx(this)&&this||{},t={},n=(o,r)=>{const i=e&&sx(t,r)||r;Ql(t[i])&&Ql(o)?t[i]=Sf(t[i],o):Ql(o)?t[i]=Sf({},o):Ra(o)?t[i]=o.slice():t[i]=o};for(let o=0,r=arguments.length;o(Ks(t,(r,i)=>{n&&eo(r)?e[i]=rx(r,n):e[i]=r},{allOwnKeys:o}),e),tP=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),nP=(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)},oP=(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&&Xh(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},rP=(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},iP=e=>{if(!e)return null;if(Ra(e))return e;let t=e.length;if(!ax(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},aP=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Xh(Uint8Array)),sP=(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])}},lP=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},cP=jo("HTMLFormElement"),uP=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,r){return o.toUpperCase()+r}),Lg=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),dP=jo("RegExp"),ux=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};Ks(n,(r,i)=>{let a;(a=t(r,i,e))!==!1&&(o[i]=a||r)}),Object.defineProperties(e,o)},fP=e=>{ux(e,(t,n)=>{if(eo(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(eo(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+"'")})}})},hP=(e,t)=>{const n={},o=r=>{r.forEach(i=>{n[i]=!0})};return Ra(e)?o(e):o(String(e).split(t)),n},pP=()=>{},mP=(e,t)=>(e=+e,Number.isFinite(e)?e:t),dd="abcdefghijklmnopqrstuvwxyz",Fg="0123456789",dx={DIGIT:Fg,ALPHA:dd,ALPHA_DIGIT:dd+dd.toUpperCase()+Fg},gP=(e=16,t=dx.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n};function vP(e){return!!(e&&eo(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const bP=e=>{const t=new Array(10),n=(o,r)=>{if(nu(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[r]=o;const i=Ra(o)?[]:{};return Ks(o,(a,s)=>{const l=n(a,r+1);!$s(l)&&(i[s]=l)}),t[r]=void 0,i}}return o};return n(e,0)},yP=jo("AsyncFunction"),xP=e=>e&&(nu(e)||eo(e))&&eo(e.then)&&eo(e.catch),$e={isArray:Ra,isArrayBuffer:ix,isBuffer:jT,isFormData:QT,isArrayBufferView:VT,isString:UT,isNumber:ax,isBoolean:WT,isObject:nu,isPlainObject:Ql,isUndefined:$s,isDate:qT,isFile:KT,isBlob:GT,isRegExp:dP,isFunction:eo,isStream:XT,isURLSearchParams:ZT,isTypedArray:aP,isFileList:YT,forEach:Ks,merge:Sf,extend:eP,trim:JT,stripBOM:tP,inherits:nP,toFlatObject:oP,kindOf:eu,kindOfTest:jo,endsWith:rP,toArray:iP,forEachEntry:sP,matchAll:lP,isHTMLForm:cP,hasOwnProperty:Lg,hasOwnProp:Lg,reduceDescriptors:ux,freezeMethods:fP,toObjectSet:hP,toCamelCase:uP,noop:pP,toFiniteNumber:mP,findKey:sx,global:lx,isContextDefined:cx,ALPHABET:dx,generateString:gP,isSpecCompliantForm:vP,toJSONObject:bP,isAsyncFn:yP,isThenable:xP};function $t(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)}$e.inherits($t,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:$e.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const fx=$t.prototype,hx={};["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=>{hx[e]={value:e}});Object.defineProperties($t,hx);Object.defineProperty(fx,"isAxiosError",{value:!0});$t.from=(e,t,n,o,r,i)=>{const a=Object.create(fx);return $e.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),$t.call(a,e.message,t,n,o,r),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const CP=null;function kf(e){return $e.isPlainObject(e)||$e.isArray(e)}function px(e){return $e.endsWith(e,"[]")?e.slice(0,-2):e}function Ng(e,t,n){return e?e.concat(t).map(function(r,i){return r=px(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function wP(e){return $e.isArray(e)&&!e.some(kf)}const _P=$e.toFlatObject($e,{},null,function(t){return/^is[A-Z]/.test(t)});function ou(e,t,n){if(!$e.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=$e.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,v){return!$e.isUndefined(v[m])});const o=n.metaTokens,r=n.visitor||u,i=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&$e.isSpecCompliantForm(t);if(!$e.isFunction(r))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if($e.isDate(h))return h.toISOString();if(!l&&$e.isBlob(h))throw new $t("Blob is not supported. Use a Buffer instead.");return $e.isArrayBuffer(h)||$e.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,m,v){let g=h;if(h&&!v&&typeof h=="object"){if($e.endsWith(m,"{}"))m=o?m:m.slice(0,-2),h=JSON.stringify(h);else if($e.isArray(h)&&wP(h)||($e.isFileList(h)||$e.endsWith(m,"[]"))&&(g=$e.toArray(h)))return m=px(m),g.forEach(function(S,C){!($e.isUndefined(S)||S===null)&&t.append(a===!0?Ng([m],C,i):a===null?m:m+"[]",c(S))}),!1}return kf(h)?!0:(t.append(Ng(v,m,i),c(h)),!1)}const d=[],f=Object.assign(_P,{defaultVisitor:u,convertValue:c,isVisitable:kf});function p(h,m){if(!$e.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(h),$e.forEach(h,function(g,y){(!($e.isUndefined(g)||g===null)&&r.call(t,g,$e.isString(y)?y.trim():y,m,f))===!0&&p(g,m?m.concat(y):[y])}),d.pop()}}if(!$e.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Bg(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function Qh(e,t){this._pairs=[],e&&ou(e,this,t)}const mx=Qh.prototype;mx.append=function(t,n){this._pairs.push([t,n])};mx.toString=function(t){const n=t?function(o){return t.call(this,o,Bg)}:Bg;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function SP(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function gx(e,t,n){if(!t)return e;const o=n&&n.encode||SP,r=n&&n.serialize;let i;if(r?i=r(t,n):i=$e.isURLSearchParams(t)?t.toString():new Qh(t,n).toString(o),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class kP{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){$e.forEach(this.handlers,function(o){o!==null&&t(o)})}}const Hg=kP,vx={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},TP=typeof URLSearchParams<"u"?URLSearchParams:Qh,PP=typeof FormData<"u"?FormData:null,RP=typeof Blob<"u"?Blob:null,EP={isBrowser:!0,classes:{URLSearchParams:TP,FormData:PP,Blob:RP},protocols:["http","https","file","blob","url","data"]},bx=typeof window<"u"&&typeof document<"u",$P=(e=>bx&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),AP=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),IP=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:bx,hasStandardBrowserEnv:$P,hasStandardBrowserWebWorkerEnv:AP},Symbol.toStringTag,{value:"Module"})),Io={...IP,...EP};function MP(e,t){return ou(e,new Io.classes.URLSearchParams,Object.assign({visitor:function(n,o,r,i){return Io.isNode&&$e.isBuffer(n)?(this.append(o,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function zP(e){return $e.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function OP(e){const t={},n=Object.keys(e);let o;const r=n.length;let i;for(o=0;o=n.length;return a=!a&&$e.isArray(r)?r.length:a,l?($e.hasOwnProp(r,a)?r[a]=[r[a],o]:r[a]=o,!s):((!r[a]||!$e.isObject(r[a]))&&(r[a]=[]),t(n,o,r[a],i)&&$e.isArray(r[a])&&(r[a]=OP(r[a])),!s)}if($e.isFormData(e)&&$e.isFunction(e.entries)){const n={};return $e.forEachEntry(e,(o,r)=>{t(zP(o),r,n,0)}),n}return null}function DP(e,t,n){if($e.isString(e))try{return(t||JSON.parse)(e),$e.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const Zh={transitional:vx,adapter:["xhr","http"],transformRequest:[function(t,n){const o=n.getContentType()||"",r=o.indexOf("application/json")>-1,i=$e.isObject(t);if(i&&$e.isHTMLForm(t)&&(t=new FormData(t)),$e.isFormData(t))return r&&r?JSON.stringify(yx(t)):t;if($e.isArrayBuffer(t)||$e.isBuffer(t)||$e.isStream(t)||$e.isFile(t)||$e.isBlob(t))return t;if($e.isArrayBufferView(t))return t.buffer;if($e.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 MP(t,this.formSerializer).toString();if((s=$e.isFileList(t))||o.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return ou(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),DP(t)):t}],transformResponse:[function(t){const n=this.transitional||Zh.transitional,o=n&&n.forcedJSONParsing,r=this.responseType==="json";if(t&&$e.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"?$t.from(s,$t.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:Io.classes.FormData,Blob:Io.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};$e.forEach(["delete","get","head","post","put","patch"],e=>{Zh.headers[e]={}});const Jh=Zh,LP=$e.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"]),FP=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]&&LP[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},jg=Symbol("internals");function Ga(e){return e&&String(e).trim().toLowerCase()}function Zl(e){return e===!1||e==null?e:$e.isArray(e)?e.map(Zl):String(e)}function NP(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 BP=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function fd(e,t,n,o,r){if($e.isFunction(o))return o.call(this,t,n);if(r&&(t=n),!!$e.isString(t)){if($e.isString(o))return t.indexOf(o)!==-1;if($e.isRegExp(o))return o.test(t)}}function HP(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function jP(e,t){const n=$e.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 ru{constructor(t){t&&this.set(t)}set(t,n,o){const r=this;function i(s,l,c){const u=Ga(l);if(!u)throw new Error("header name must be a non-empty string");const d=$e.findKey(r,u);(!d||r[d]===void 0||c===!0||c===void 0&&r[d]!==!1)&&(r[d||l]=Zl(s))}const a=(s,l)=>$e.forEach(s,(c,u)=>i(c,u,l));return $e.isPlainObject(t)||t instanceof this.constructor?a(t,n):$e.isString(t)&&(t=t.trim())&&!BP(t)?a(FP(t),n):t!=null&&i(n,t,o),this}get(t,n){if(t=Ga(t),t){const o=$e.findKey(this,t);if(o){const r=this[o];if(!n)return r;if(n===!0)return NP(r);if($e.isFunction(n))return n.call(this,r,o);if($e.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ga(t),t){const o=$e.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||fd(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let r=!1;function i(a){if(a=Ga(a),a){const s=$e.findKey(o,a);s&&(!n||fd(o,o[s],s,n))&&(delete o[s],r=!0)}}return $e.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||fd(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,o={};return $e.forEach(this,(r,i)=>{const a=$e.findKey(o,i);if(a){n[a]=Zl(r),delete n[i];return}const s=t?HP(i):String(i).trim();s!==i&&delete n[i],n[s]=Zl(r),o[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return $e.forEach(this,(o,r)=>{o!=null&&o!==!1&&(n[r]=t&&$e.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[jg]=this[jg]={accessors:{}}).accessors,r=this.prototype;function i(a){const s=Ga(a);o[s]||(jP(r,a),o[s]=!0)}return $e.isArray(t)?t.forEach(i):i(t),this}}ru.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);$e.reduceDescriptors(ru.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});$e.freezeMethods(ru);const er=ru;function hd(e,t){const n=this||Jh,o=t||n,r=er.from(o.headers);let i=o.data;return $e.forEach(e,function(s){i=s.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function xx(e){return!!(e&&e.__CANCEL__)}function Gs(e,t,n){$t.call(this,e??"canceled",$t.ERR_CANCELED,t,n),this.name="CanceledError"}$e.inherits(Gs,$t,{__CANCEL__:!0});function VP(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new $t("Request failed with status code "+n.status,[$t.ERR_BAD_REQUEST,$t.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const UP=Io.hasStandardBrowserEnv?{write(e,t,n,o,r,i){const a=[e+"="+encodeURIComponent(t)];$e.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),$e.isString(o)&&a.push("path="+o),$e.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 WP(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function qP(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Cx(e,t){return e&&!WP(t)?qP(e,t):t}const KP=Io.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=$e.isString(a)?r(a):a;return s.protocol===o.protocol&&s.host===o.host}}():function(){return function(){return!0}}();function GP(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function YP(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 XP=typeof XMLHttpRequest<"u",QP=XP&&function(e){return new Promise(function(n,o){let r=e.data;const i=er.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($e.isFormData(r)){if(Io.hasStandardBrowserEnv||Io.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((u=i.getContentType())!==!1){const[m,...v]=u?u.split(";").map(g=>g.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=Cx(e.baseURL,e.url);d.open(e.method.toUpperCase(),gx(f,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function p(){if(!d)return;const m=er.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),g={data:!a||a==="text"||a==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:m,config:e,request:d};VP(function(S){n(S),c()},function(S){o(S),c()},g),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 $t("Request aborted",$t.ECONNABORTED,e,d)),d=null)},d.onerror=function(){o(new $t("Network Error",$t.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let v=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const g=e.transitional||vx;e.timeoutErrorMessage&&(v=e.timeoutErrorMessage),o(new $t(v,g.clarifyTimeoutError?$t.ETIMEDOUT:$t.ECONNABORTED,e,d)),d=null},Io.hasStandardBrowserEnv&&(s&&$e.isFunction(s)&&(s=s(e)),s||s!==!1&&KP(f))){const m=e.xsrfHeaderName&&e.xsrfCookieName&&UP.read(e.xsrfCookieName);m&&i.set(e.xsrfHeaderName,m)}r===void 0&&i.setContentType(null),"setRequestHeader"in d&&$e.forEach(i.toJSON(),function(v,g){d.setRequestHeader(g,v)}),$e.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),a&&a!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",Vg(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Vg(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=m=>{d&&(o(!m||m.type?new Gs(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=GP(f);if(h&&Io.protocols.indexOf(h)===-1){o(new $t("Unsupported protocol "+h+":",$t.ERR_BAD_REQUEST,e));return}d.send(r||null)})},Tf={http:CP,xhr:QP};$e.forEach(Tf,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ug=e=>`- ${e}`,ZP=e=>$e.isFunction(e)||e===null||e===!1,wx={getAdapter:e=>{e=$e.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(Ug).join(` -`):" "+Ug(i[0]):"as no adapter specified";throw new $t("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o},adapters:Tf};function pd(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Gs(null,e)}function Wg(e){return pd(e),e.headers=er.from(e.headers),e.data=hd.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),wx.getAdapter(e.adapter||Jh.adapter)(e).then(function(o){return pd(e),o.data=hd.call(e,e.transformResponse,o),o.headers=er.from(o.headers),o},function(o){return xx(o)||(pd(e),o&&o.response&&(o.response.data=hd.call(e,e.transformResponse,o.response),o.response.headers=er.from(o.response.headers))),Promise.reject(o)})}const qg=e=>e instanceof er?e.toJSON():e;function pa(e,t){t=t||{};const n={};function o(c,u,d){return $e.isPlainObject(c)&&$e.isPlainObject(u)?$e.merge.call({caseless:d},c,u):$e.isPlainObject(u)?$e.merge({},u):$e.isArray(u)?u.slice():u}function r(c,u,d){if($e.isUndefined(u)){if(!$e.isUndefined(c))return o(void 0,c,d)}else return o(c,u,d)}function i(c,u){if(!$e.isUndefined(u))return o(void 0,u)}function a(c,u){if($e.isUndefined(u)){if(!$e.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(qg(c),qg(u),!0)};return $e.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||r,f=d(e[u],t[u],u);$e.isUndefined(f)&&d!==s||(n[u]=f)}),n}const _x="1.6.2",ep={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ep[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const Kg={};ep.transitional=function(t,n,o){function r(i,a){return"[Axios v"+_x+"] Transitional option '"+i+"'"+a+(o?". "+o:"")}return(i,a,s)=>{if(t===!1)throw new $t(r(a," has been removed"+(n?" in "+n:"")),$t.ERR_DEPRECATED);return n&&!Kg[a]&&(Kg[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 JP(e,t,n){if(typeof e!="object")throw new $t("options must be an object",$t.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 $t("option "+i+" must be "+l,$t.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new $t("Unknown option "+i,$t.ERR_BAD_OPTION)}}const Pf={assertOptions:JP,validators:ep},hr=Pf.validators;class pc{constructor(t){this.defaults=t,this.interceptors={request:new Hg,response:new Hg}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=pa(this.defaults,n);const{transitional:o,paramsSerializer:r,headers:i}=n;o!==void 0&&Pf.assertOptions(o,{silentJSONParsing:hr.transitional(hr.boolean),forcedJSONParsing:hr.transitional(hr.boolean),clarifyTimeoutError:hr.transitional(hr.boolean)},!1),r!=null&&($e.isFunction(r)?n.paramsSerializer={serialize:r}:Pf.assertOptions(r,{encode:hr.function,serialize:hr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&$e.merge(i.common,i[n.method]);i&&$e.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=er.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=[Wg.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 Gs(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 tp(function(r){t=r}),cancel:t}}}const eR=tp;function tR(e){return function(n){return e.apply(null,n)}}function nR(e){return $e.isObject(e)&&e.isAxiosError===!0}const Rf={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(Rf).forEach(([e,t])=>{Rf[t]=e});const oR=Rf;function Sx(e){const t=new Jl(e),n=rx(Jl.prototype.request,t);return $e.extend(n,Jl.prototype,t,{allOwnKeys:!0}),$e.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Sx(pa(e,r))},n}const hn=Sx(Jh);hn.Axios=Jl;hn.CanceledError=Gs;hn.CancelToken=eR;hn.isCancel=xx;hn.VERSION=_x;hn.toFormData=ou;hn.AxiosError=$t;hn.Cancel=hn.CanceledError;hn.all=function(t){return Promise.all(t)};hn.spread=tR;hn.isAxiosError=nR;hn.mergeConfig=pa;hn.AxiosHeaders=er;hn.formToJSON=e=>yx($e.isHTMLForm(e)?new FormData(e):e);hn.getAdapter=wx.getAdapter;hn.HttpStatusCode=oR;hn.default=hn;const rR=hn,iR=[{url:"/passport/auth/login",method:"POST"},{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 iR.some(n=>n.url===e&&n.method===t.toUpperCase())}function sR(e){return typeof e>"u"}function lR(e){return e===null}function cR(e){return lR(e)||sR(e)}class uR{constructor(t){Ju(this,"storage");Ju(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 cR(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 kx({prefixKey:e="",storage:t=sessionStorage}){return new uR({prefixKey:e,storage:t})}const Tx="Vue_Naive_",dR=function(e={}){return kx({prefixKey:e.prefixKey||"",storage:localStorage})},fR=function(e={}){return kx({prefixKey:e.prefixKey||"",storage:sessionStorage})},wi=dR({prefixKey:Tx}),mc=fR({prefixKey:Tx}),np="access_token",hR=72*60*60;function Px(){return wi.get(np)}function pR(e){wi.set(np,e,hR)}function Rx(){wi.remove(np)}function op(){const e=me(Jt.currentRoute),t=!e.meta.requireAuth&&!["/404","/login"].includes(Jt.currentRoute.value.path);Jt.replace({path:"/login",query:t?{...e.query,redirect:e.path}:{}})}var Ex=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function mR(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 $x={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Ex,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+)?$/,g=/\[([^\]]+)]|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,y={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(F){var O=["th","st","nd","rd"],$=F%100;return"["+F+(O[($-20)%10]||O[$]||O[0])+"]"}},S=function(F,O,$){var W=String(F);return!W||W.length>=O?F:""+Array(O+1-W.length).join($)+F},C={s:S,z:function(F){var O=-F.utcOffset(),$=Math.abs(O),W=Math.floor($/60),Q=$%60;return(O<=0?"+":"-")+S(W,2,"0")+":"+S(Q,2,"0")},m:function F(O,$){if(O.date()<$.date())return-F($,O);var W=12*($.year()-O.year())+($.month()-O.month()),Q=O.clone().add(W,d),L=$-Q<0,M=O.clone().add(W+(L?-1:1),d);return+(-(W+($-Q)/(L?Q-M:M-Q))||0)},a:function(F){return F<0?Math.ceil(F)||0:Math.floor(F)},p:function(F){return{M:d,y:p,w:u,d:c,D:h,h:l,m:s,s:a,ms:i,Q:f}[F]||String(F||"").toLowerCase().replace(/s$/,"")},u:function(F){return F===void 0}},_="en",x={};x[_]=y;var w="$isDayjsObject",T=function(F){return F instanceof A||!(!F||!F[w])},P=function F(O,$,W){var Q;if(!O)return _;if(typeof O=="string"){var L=O.toLowerCase();x[L]&&(Q=L),$&&(x[L]=$,Q=L);var M=O.split("-");if(!Q&&M.length>1)return F(M[0])}else{var se=O.name;x[se]=O,Q=se}return!W&&Q&&(_=Q),Q||!W&&_},k=function(F,O){if(T(F))return F.clone();var $=typeof O=="object"?O:{};return $.date=F,$.args=arguments,new A($)},I=C;I.l=P,I.i=T,I.w=function(F,O){return k(F,{locale:O.$L,utc:O.$u,x:O.$x,$offset:O.$offset})};var A=function(){function F($){this.$L=P($.locale,null,!0),this.parse($),this.$x=this.$x||$.x||{},this[w]=!0}var O=F.prototype;return O.parse=function($){this.$d=function(W){var Q=W.date,L=W.utc;if(Q===null)return new Date(NaN);if(I.u(Q))return new Date;if(Q instanceof Date)return new Date(Q);if(typeof Q=="string"&&!/Z$/i.test(Q)){var M=Q.match(v);if(M){var se=M[2]-1||0,X=(M[7]||"0").substring(0,3);return L?new Date(Date.UTC(M[1],se,M[3]||1,M[4]||0,M[5]||0,M[6]||0,X)):new Date(M[1],se,M[3]||1,M[4]||0,M[5]||0,M[6]||0,X)}}return new Date(Q)}($),this.init()},O.init=function(){var $=this.$d;this.$y=$.getFullYear(),this.$M=$.getMonth(),this.$D=$.getDate(),this.$W=$.getDay(),this.$H=$.getHours(),this.$m=$.getMinutes(),this.$s=$.getSeconds(),this.$ms=$.getMilliseconds()},O.$utils=function(){return I},O.isValid=function(){return this.$d.toString()!==m},O.isSame=function($,W){var Q=k($);return this.startOf(W)<=Q&&Q<=this.endOf(W)},O.isAfter=function($,W){return k($)tx=e,nx=Symbol();function wf(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ds;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ds||(ds={}));function DT(){const e=Th(!0),t=e.run(()=>N({}));let n=[],o=[];const r=la({install(i){Zc(r),r._a=i,i.provide(nx,r),i.config.globalProperties.$pinia=r,o.forEach(a=>n.push(a)),o=[]},use(i){return!this._a&&!OT?o.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const ox=()=>{};function Lg(e,t,n,o=ox){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),o())};return!n&&Ph()&&K1(r),r}function Hi(e,...t){e.slice().forEach(n=>{n(...t)})}const LT=e=>e();function _f(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];wf(r)&&wf(o)&&e.hasOwnProperty(n)&&!en(o)&&!Pr(o)?e[n]=_f(r,o):e[n]=o}return e}const FT=Symbol();function NT(e){return!wf(e)||!e.hasOwnProperty(FT)}const{assign:yr}=Object;function BT(e){return!!(en(e)&&e.effect)}function HT(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=c3(n.state.value[e]);return yr(u,i,Object.keys(a||{}).reduce((d,f)=>(d[f]=la(L(()=>{Zc(n);const p=n._s.get(e);return a[f].call(p,p)})),d),{}))}return l=rx(e,c,t,n,o,!0),l}function rx(e,t,n={},o,r,i){let a;const s=yr({actions:{}},n),l={deep:!0};let c,u,d=[],f=[],p;const h=o.state.value[e];!i&&!h&&(o.state.value[e]={}),N({});let m;function v(T){let P;c=u=!1,typeof T=="function"?(T(o.state.value[e]),P={type:ds.patchFunction,storeId:e,events:p}):(_f(o.state.value[e],T),P={type:ds.patchObject,payload:T,storeId:e,events:p});const k=m=Symbol();jt().then(()=>{m===k&&(c=!0)}),u=!0,Hi(d,P,o.state.value[e])}const g=i?function(){const{state:P}=n,k=P?P():{};this.$patch(A=>{yr(A,k)})}:ox;function y(){a.stop(),d=[],f=[],o._s.delete(e)}function S(T,P){return function(){Zc(o);const k=Array.from(arguments),A=[],I=[];function W($){A.push($)}function B($){I.push($)}Hi(f,{args:k,name:T,store:_,after:W,onError:B});let z;try{z=P.apply(this&&this.$id===e?this:_,k)}catch($){throw Hi(I,$),$}return z instanceof Promise?z.then($=>(Hi(A,$),$)).catch($=>(Hi(I,$),Promise.reject($))):(Hi(A,z),z)}}const C={_p:o,$id:e,$onAction:Lg.bind(null,f),$patch:v,$reset:g,$subscribe(T,P={}){const k=Lg(d,T,P.detached,()=>A()),A=a.run(()=>ht(()=>o.state.value[e],I=>{(P.flush==="sync"?u:c)&&T({storeId:e,type:ds.direct,events:p},I)},yr({},l,P)));return k},$dispose:y},_=bo(C);o._s.set(e,_);const w=(o._a&&o._a.runWithContext||LT)(()=>o._e.run(()=>(a=Th()).run(t)));for(const T in w){const P=w[T];if(en(P)&&!BT(P)||Pr(P))i||(h&&NT(P)&&(en(P)?P.value=h[T]:_f(P,h[T])),o.state.value[e][T]=P);else if(typeof P=="function"){const k=S(T,P);w[T]=k,s.actions[T]=P}}return yr(_,w),yr(Et(_),w),Object.defineProperty(_,"$state",{get:()=>o.state.value[e],set:T=>{v(P=>{yr(P,T)})}}),o._p.forEach(T=>{yr(_,a.run(()=>T({store:_,app:o._a,pinia:o,options:s})))}),h&&i&&n.hydrate&&n.hydrate(_.$state,h),c=!0,u=!0,_}function Jc(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=U3();return s=s||(c?He(nx,null):null),s&&Zc(s),s=tx,s._s.has(o)||(i?rx(o,t,r,s):HT(o,r,s)),s._s.get(o)}return a.$id=o,a}function ix(e,t){return function(){return e.apply(t,arguments)}}const{toString:jT}=Object.prototype,{getPrototypeOf:Xh}=Object,eu=(e=>t=>{const n=jT.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),jo=e=>(e=e.toLowerCase(),t=>eu(t)===e),tu=e=>t=>typeof t===e,{isArray:Ra}=Array,$s=tu("undefined");function VT(e){return e!==null&&!$s(e)&&e.constructor!==null&&!$s(e.constructor)&&eo(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ax=jo("ArrayBuffer");function UT(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ax(e.buffer),t}const WT=tu("string"),eo=tu("function"),sx=tu("number"),nu=e=>e!==null&&typeof e=="object",qT=e=>e===!0||e===!1,Ql=e=>{if(eu(e)!=="object")return!1;const t=Xh(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},KT=jo("Date"),GT=jo("File"),YT=jo("Blob"),XT=jo("FileList"),QT=e=>nu(e)&&eo(e.pipe),ZT=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||eo(e.append)&&((t=eu(e))==="formdata"||t==="object"&&eo(e.toString)&&e.toString()==="[object FormData]"))},JT=jo("URLSearchParams"),eP=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ks(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,r;if(typeof e!="object"&&(e=[e]),Ra(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)(),ux=e=>!$s(e)&&e!==cx;function Sf(){const{caseless:e}=ux(this)&&this||{},t={},n=(o,r)=>{const i=e&&lx(t,r)||r;Ql(t[i])&&Ql(o)?t[i]=Sf(t[i],o):Ql(o)?t[i]=Sf({},o):Ra(o)?t[i]=o.slice():t[i]=o};for(let o=0,r=arguments.length;o(Ks(t,(r,i)=>{n&&eo(r)?e[i]=ix(r,n):e[i]=r},{allOwnKeys:o}),e),nP=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),oP=(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)},rP=(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&&Xh(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},iP=(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},aP=e=>{if(!e)return null;if(Ra(e))return e;let t=e.length;if(!sx(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},sP=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Xh(Uint8Array)),lP=(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])}},cP=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},uP=jo("HTMLFormElement"),dP=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,r){return o.toUpperCase()+r}),Fg=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),fP=jo("RegExp"),dx=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};Ks(n,(r,i)=>{let a;(a=t(r,i,e))!==!1&&(o[i]=a||r)}),Object.defineProperties(e,o)},hP=e=>{dx(e,(t,n)=>{if(eo(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(eo(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+"'")})}})},pP=(e,t)=>{const n={},o=r=>{r.forEach(i=>{n[i]=!0})};return Ra(e)?o(e):o(String(e).split(t)),n},mP=()=>{},gP=(e,t)=>(e=+e,Number.isFinite(e)?e:t),dd="abcdefghijklmnopqrstuvwxyz",Ng="0123456789",fx={DIGIT:Ng,ALPHA:dd,ALPHA_DIGIT:dd+dd.toUpperCase()+Ng},vP=(e=16,t=fx.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n};function bP(e){return!!(e&&eo(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const yP=e=>{const t=new Array(10),n=(o,r)=>{if(nu(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[r]=o;const i=Ra(o)?[]:{};return Ks(o,(a,s)=>{const l=n(a,r+1);!$s(l)&&(i[s]=l)}),t[r]=void 0,i}}return o};return n(e,0)},xP=jo("AsyncFunction"),CP=e=>e&&(nu(e)||eo(e))&&eo(e.then)&&eo(e.catch),$e={isArray:Ra,isArrayBuffer:ax,isBuffer:VT,isFormData:ZT,isArrayBufferView:UT,isString:WT,isNumber:sx,isBoolean:qT,isObject:nu,isPlainObject:Ql,isUndefined:$s,isDate:KT,isFile:GT,isBlob:YT,isRegExp:fP,isFunction:eo,isStream:QT,isURLSearchParams:JT,isTypedArray:sP,isFileList:XT,forEach:Ks,merge:Sf,extend:tP,trim:eP,stripBOM:nP,inherits:oP,toFlatObject:rP,kindOf:eu,kindOfTest:jo,endsWith:iP,toArray:aP,forEachEntry:lP,matchAll:cP,isHTMLForm:uP,hasOwnProperty:Fg,hasOwnProp:Fg,reduceDescriptors:dx,freezeMethods:hP,toObjectSet:pP,toCamelCase:dP,noop:mP,toFiniteNumber:gP,findKey:lx,global:cx,isContextDefined:ux,ALPHABET:fx,generateString:vP,isSpecCompliantForm:bP,toJSONObject:yP,isAsyncFn:xP,isThenable:CP};function $t(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)}$e.inherits($t,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:$e.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const hx=$t.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($t,px);Object.defineProperty(hx,"isAxiosError",{value:!0});$t.from=(e,t,n,o,r,i)=>{const a=Object.create(hx);return $e.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),$t.call(a,e.message,t,n,o,r),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const wP=null;function kf(e){return $e.isPlainObject(e)||$e.isArray(e)}function mx(e){return $e.endsWith(e,"[]")?e.slice(0,-2):e}function Bg(e,t,n){return e?e.concat(t).map(function(r,i){return r=mx(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function _P(e){return $e.isArray(e)&&!e.some(kf)}const SP=$e.toFlatObject($e,{},null,function(t){return/^is[A-Z]/.test(t)});function ou(e,t,n){if(!$e.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=$e.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,v){return!$e.isUndefined(v[m])});const o=n.metaTokens,r=n.visitor||u,i=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&$e.isSpecCompliantForm(t);if(!$e.isFunction(r))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if($e.isDate(h))return h.toISOString();if(!l&&$e.isBlob(h))throw new $t("Blob is not supported. Use a Buffer instead.");return $e.isArrayBuffer(h)||$e.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,m,v){let g=h;if(h&&!v&&typeof h=="object"){if($e.endsWith(m,"{}"))m=o?m:m.slice(0,-2),h=JSON.stringify(h);else if($e.isArray(h)&&_P(h)||($e.isFileList(h)||$e.endsWith(m,"[]"))&&(g=$e.toArray(h)))return m=mx(m),g.forEach(function(S,C){!($e.isUndefined(S)||S===null)&&t.append(a===!0?Bg([m],C,i):a===null?m:m+"[]",c(S))}),!1}return kf(h)?!0:(t.append(Bg(v,m,i),c(h)),!1)}const d=[],f=Object.assign(SP,{defaultVisitor:u,convertValue:c,isVisitable:kf});function p(h,m){if(!$e.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(h),$e.forEach(h,function(g,y){(!($e.isUndefined(g)||g===null)&&r.call(t,g,$e.isString(y)?y.trim():y,m,f))===!0&&p(g,m?m.concat(y):[y])}),d.pop()}}if(!$e.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Hg(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function Qh(e,t){this._pairs=[],e&&ou(e,this,t)}const gx=Qh.prototype;gx.append=function(t,n){this._pairs.push([t,n])};gx.toString=function(t){const n=t?function(o){return t.call(this,o,Hg)}:Hg;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function kP(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function vx(e,t,n){if(!t)return e;const o=n&&n.encode||kP,r=n&&n.serialize;let i;if(r?i=r(t,n):i=$e.isURLSearchParams(t)?t.toString():new Qh(t,n).toString(o),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class TP{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){$e.forEach(this.handlers,function(o){o!==null&&t(o)})}}const jg=TP,bx={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},PP=typeof URLSearchParams<"u"?URLSearchParams:Qh,RP=typeof FormData<"u"?FormData:null,EP=typeof Blob<"u"?Blob:null,$P={isBrowser:!0,classes:{URLSearchParams:PP,FormData:RP,Blob:EP},protocols:["http","https","file","blob","url","data"]},yx=typeof window<"u"&&typeof document<"u",AP=(e=>yx&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),IP=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),MP=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:yx,hasStandardBrowserEnv:AP,hasStandardBrowserWebWorkerEnv:IP},Symbol.toStringTag,{value:"Module"})),Io={...MP,...$P};function zP(e,t){return ou(e,new Io.classes.URLSearchParams,Object.assign({visitor:function(n,o,r,i){return Io.isNode&&$e.isBuffer(n)?(this.append(o,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function OP(e){return $e.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function DP(e){const t={},n=Object.keys(e);let o;const r=n.length;let i;for(o=0;o=n.length;return a=!a&&$e.isArray(r)?r.length:a,l?($e.hasOwnProp(r,a)?r[a]=[r[a],o]:r[a]=o,!s):((!r[a]||!$e.isObject(r[a]))&&(r[a]=[]),t(n,o,r[a],i)&&$e.isArray(r[a])&&(r[a]=DP(r[a])),!s)}if($e.isFormData(e)&&$e.isFunction(e.entries)){const n={};return $e.forEachEntry(e,(o,r)=>{t(OP(o),r,n,0)}),n}return null}function LP(e,t,n){if($e.isString(e))try{return(t||JSON.parse)(e),$e.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const Zh={transitional:bx,adapter:["xhr","http"],transformRequest:[function(t,n){const o=n.getContentType()||"",r=o.indexOf("application/json")>-1,i=$e.isObject(t);if(i&&$e.isHTMLForm(t)&&(t=new FormData(t)),$e.isFormData(t))return r&&r?JSON.stringify(xx(t)):t;if($e.isArrayBuffer(t)||$e.isBuffer(t)||$e.isStream(t)||$e.isFile(t)||$e.isBlob(t))return t;if($e.isArrayBufferView(t))return t.buffer;if($e.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 zP(t,this.formSerializer).toString();if((s=$e.isFileList(t))||o.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return ou(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),LP(t)):t}],transformResponse:[function(t){const n=this.transitional||Zh.transitional,o=n&&n.forcedJSONParsing,r=this.responseType==="json";if(t&&$e.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"?$t.from(s,$t.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:Io.classes.FormData,Blob:Io.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};$e.forEach(["delete","get","head","post","put","patch"],e=>{Zh.headers[e]={}});const Jh=Zh,FP=$e.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"]),NP=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]&&FP[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},Vg=Symbol("internals");function Ga(e){return e&&String(e).trim().toLowerCase()}function Zl(e){return e===!1||e==null?e:$e.isArray(e)?e.map(Zl):String(e)}function BP(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 HP=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function fd(e,t,n,o,r){if($e.isFunction(o))return o.call(this,t,n);if(r&&(t=n),!!$e.isString(t)){if($e.isString(o))return t.indexOf(o)!==-1;if($e.isRegExp(o))return o.test(t)}}function jP(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function VP(e,t){const n=$e.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 ru{constructor(t){t&&this.set(t)}set(t,n,o){const r=this;function i(s,l,c){const u=Ga(l);if(!u)throw new Error("header name must be a non-empty string");const d=$e.findKey(r,u);(!d||r[d]===void 0||c===!0||c===void 0&&r[d]!==!1)&&(r[d||l]=Zl(s))}const a=(s,l)=>$e.forEach(s,(c,u)=>i(c,u,l));return $e.isPlainObject(t)||t instanceof this.constructor?a(t,n):$e.isString(t)&&(t=t.trim())&&!HP(t)?a(NP(t),n):t!=null&&i(n,t,o),this}get(t,n){if(t=Ga(t),t){const o=$e.findKey(this,t);if(o){const r=this[o];if(!n)return r;if(n===!0)return BP(r);if($e.isFunction(n))return n.call(this,r,o);if($e.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ga(t),t){const o=$e.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||fd(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let r=!1;function i(a){if(a=Ga(a),a){const s=$e.findKey(o,a);s&&(!n||fd(o,o[s],s,n))&&(delete o[s],r=!0)}}return $e.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||fd(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,o={};return $e.forEach(this,(r,i)=>{const a=$e.findKey(o,i);if(a){n[a]=Zl(r),delete n[i];return}const s=t?jP(i):String(i).trim();s!==i&&delete n[i],n[s]=Zl(r),o[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return $e.forEach(this,(o,r)=>{o!=null&&o!==!1&&(n[r]=t&&$e.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[Vg]=this[Vg]={accessors:{}}).accessors,r=this.prototype;function i(a){const s=Ga(a);o[s]||(VP(r,a),o[s]=!0)}return $e.isArray(t)?t.forEach(i):i(t),this}}ru.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);$e.reduceDescriptors(ru.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});$e.freezeMethods(ru);const er=ru;function hd(e,t){const n=this||Jh,o=t||n,r=er.from(o.headers);let i=o.data;return $e.forEach(e,function(s){i=s.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function Cx(e){return!!(e&&e.__CANCEL__)}function Gs(e,t,n){$t.call(this,e??"canceled",$t.ERR_CANCELED,t,n),this.name="CanceledError"}$e.inherits(Gs,$t,{__CANCEL__:!0});function UP(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new $t("Request failed with status code "+n.status,[$t.ERR_BAD_REQUEST,$t.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const WP=Io.hasStandardBrowserEnv?{write(e,t,n,o,r,i){const a=[e+"="+encodeURIComponent(t)];$e.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),$e.isString(o)&&a.push("path="+o),$e.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 qP(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function KP(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function wx(e,t){return e&&!qP(t)?KP(e,t):t}const GP=Io.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=$e.isString(a)?r(a):a;return s.protocol===o.protocol&&s.host===o.host}}():function(){return function(){return!0}}();function YP(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function XP(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 QP=typeof XMLHttpRequest<"u",ZP=QP&&function(e){return new Promise(function(n,o){let r=e.data;const i=er.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($e.isFormData(r)){if(Io.hasStandardBrowserEnv||Io.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((u=i.getContentType())!==!1){const[m,...v]=u?u.split(";").map(g=>g.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=wx(e.baseURL,e.url);d.open(e.method.toUpperCase(),vx(f,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function p(){if(!d)return;const m=er.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),g={data:!a||a==="text"||a==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:m,config:e,request:d};UP(function(S){n(S),c()},function(S){o(S),c()},g),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 $t("Request aborted",$t.ECONNABORTED,e,d)),d=null)},d.onerror=function(){o(new $t("Network Error",$t.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let v=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const g=e.transitional||bx;e.timeoutErrorMessage&&(v=e.timeoutErrorMessage),o(new $t(v,g.clarifyTimeoutError?$t.ETIMEDOUT:$t.ECONNABORTED,e,d)),d=null},Io.hasStandardBrowserEnv&&(s&&$e.isFunction(s)&&(s=s(e)),s||s!==!1&&GP(f))){const m=e.xsrfHeaderName&&e.xsrfCookieName&&WP.read(e.xsrfCookieName);m&&i.set(e.xsrfHeaderName,m)}r===void 0&&i.setContentType(null),"setRequestHeader"in d&&$e.forEach(i.toJSON(),function(v,g){d.setRequestHeader(g,v)}),$e.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),a&&a!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",Ug(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Ug(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=m=>{d&&(o(!m||m.type?new Gs(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=YP(f);if(h&&Io.protocols.indexOf(h)===-1){o(new $t("Unsupported protocol "+h+":",$t.ERR_BAD_REQUEST,e));return}d.send(r||null)})},Tf={http:wP,xhr:ZP};$e.forEach(Tf,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Wg=e=>`- ${e}`,JP=e=>$e.isFunction(e)||e===null||e===!1,_x={getAdapter:e=>{e=$e.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(Wg).join(` +`):" "+Wg(i[0]):"as no adapter specified";throw new $t("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o},adapters:Tf};function pd(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Gs(null,e)}function qg(e){return pd(e),e.headers=er.from(e.headers),e.data=hd.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),_x.getAdapter(e.adapter||Jh.adapter)(e).then(function(o){return pd(e),o.data=hd.call(e,e.transformResponse,o),o.headers=er.from(o.headers),o},function(o){return Cx(o)||(pd(e),o&&o.response&&(o.response.data=hd.call(e,e.transformResponse,o.response),o.response.headers=er.from(o.response.headers))),Promise.reject(o)})}const Kg=e=>e instanceof er?e.toJSON():e;function pa(e,t){t=t||{};const n={};function o(c,u,d){return $e.isPlainObject(c)&&$e.isPlainObject(u)?$e.merge.call({caseless:d},c,u):$e.isPlainObject(u)?$e.merge({},u):$e.isArray(u)?u.slice():u}function r(c,u,d){if($e.isUndefined(u)){if(!$e.isUndefined(c))return o(void 0,c,d)}else return o(c,u,d)}function i(c,u){if(!$e.isUndefined(u))return o(void 0,u)}function a(c,u){if($e.isUndefined(u)){if(!$e.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(Kg(c),Kg(u),!0)};return $e.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||r,f=d(e[u],t[u],u);$e.isUndefined(f)&&d!==s||(n[u]=f)}),n}const Sx="1.6.2",ep={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ep[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const Gg={};ep.transitional=function(t,n,o){function r(i,a){return"[Axios v"+Sx+"] Transitional option '"+i+"'"+a+(o?". "+o:"")}return(i,a,s)=>{if(t===!1)throw new $t(r(a," has been removed"+(n?" in "+n:"")),$t.ERR_DEPRECATED);return n&&!Gg[a]&&(Gg[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 eR(e,t,n){if(typeof e!="object")throw new $t("options must be an object",$t.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 $t("option "+i+" must be "+l,$t.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new $t("Unknown option "+i,$t.ERR_BAD_OPTION)}}const Pf={assertOptions:eR,validators:ep},hr=Pf.validators;class pc{constructor(t){this.defaults=t,this.interceptors={request:new jg,response:new jg}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=pa(this.defaults,n);const{transitional:o,paramsSerializer:r,headers:i}=n;o!==void 0&&Pf.assertOptions(o,{silentJSONParsing:hr.transitional(hr.boolean),forcedJSONParsing:hr.transitional(hr.boolean),clarifyTimeoutError:hr.transitional(hr.boolean)},!1),r!=null&&($e.isFunction(r)?n.paramsSerializer={serialize:r}:Pf.assertOptions(r,{encode:hr.function,serialize:hr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&$e.merge(i.common,i[n.method]);i&&$e.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=er.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=[qg.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 Gs(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 tp(function(r){t=r}),cancel:t}}}const tR=tp;function nR(e){return function(n){return e.apply(null,n)}}function oR(e){return $e.isObject(e)&&e.isAxiosError===!0}const Rf={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(Rf).forEach(([e,t])=>{Rf[t]=e});const rR=Rf;function kx(e){const t=new Jl(e),n=ix(Jl.prototype.request,t);return $e.extend(n,Jl.prototype,t,{allOwnKeys:!0}),$e.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return kx(pa(e,r))},n}const hn=kx(Jh);hn.Axios=Jl;hn.CanceledError=Gs;hn.CancelToken=tR;hn.isCancel=Cx;hn.VERSION=Sx;hn.toFormData=ou;hn.AxiosError=$t;hn.Cancel=hn.CanceledError;hn.all=function(t){return Promise.all(t)};hn.spread=nR;hn.isAxiosError=oR;hn.mergeConfig=pa;hn.AxiosHeaders=er;hn.formToJSON=e=>xx($e.isHTMLForm(e)?new FormData(e):e);hn.getAdapter=_x.getAdapter;hn.HttpStatusCode=rR;hn.default=hn;const iR=hn,aR=[{url:"/passport/auth/login",method:"POST"},{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 sR({url:e,method:t=""}){return aR.some(n=>n.url===e&&n.method===t.toUpperCase())}function lR(e){return typeof e>"u"}function cR(e){return e===null}function uR(e){return cR(e)||lR(e)}class dR{constructor(t){Ju(this,"storage");Ju(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 uR(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 Tx({prefixKey:e="",storage:t=sessionStorage}){return new dR({prefixKey:e,storage:t})}const Px="Vue_Naive_",fR=function(e={}){return Tx({prefixKey:e.prefixKey||"",storage:localStorage})},hR=function(e={}){return Tx({prefixKey:e.prefixKey||"",storage:sessionStorage})},wi=fR({prefixKey:Px}),mc=hR({prefixKey:Px}),np="access_token",pR=72*60*60;function Rx(){return wi.get(np)}function mR(e){wi.set(np,e,pR)}function Ex(){wi.remove(np)}function op(){const e=me(Jt.currentRoute),t=!e.meta.requireAuth&&!["/404","/login"].includes(Jt.currentRoute.value.path);Jt.replace({path:"/login",query:t?{...e.query,redirect:e.path}:{}})}var $x=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function gR(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 Ax={exports:{}};(function(e,t){(function(n,o){e.exports=o()})($x,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+)?$/,g=/\[([^\]]+)]|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,y={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(B){var z=["th","st","nd","rd"],$=B%100;return"["+B+(z[($-20)%10]||z[$]||z[0])+"]"}},S=function(B,z,$){var j=String(B);return!j||j.length>=z?B:""+Array(z+1-j.length).join($)+B},C={s:S,z:function(B){var z=-B.utcOffset(),$=Math.abs(z),j=Math.floor($/60),X=$%60;return(z<=0?"+":"-")+S(j,2,"0")+":"+S(X,2,"0")},m:function B(z,$){if(z.date()<$.date())return-B($,z);var j=12*($.year()-z.year())+($.month()-z.month()),X=z.clone().add(j,d),F=$-X<0,M=z.clone().add(j+(F?-1:1),d);return+(-(j+($-X)/(F?X-M:M-X))||0)},a:function(B){return B<0?Math.ceil(B)||0:Math.floor(B)},p:function(B){return{M:d,y:p,w:u,d:c,D:h,h:l,m:s,s:a,ms:i,Q:f}[B]||String(B||"").toLowerCase().replace(/s$/,"")},u:function(B){return B===void 0}},_="en",x={};x[_]=y;var w="$isDayjsObject",T=function(B){return B instanceof I||!(!B||!B[w])},P=function B(z,$,j){var X;if(!z)return _;if(typeof z=="string"){var F=z.toLowerCase();x[F]&&(X=F),$&&(x[F]=$,X=F);var M=z.split("-");if(!X&&M.length>1)return B(M[0])}else{var se=z.name;x[se]=z,X=se}return!j&&X&&(_=X),X||!j&&_},k=function(B,z){if(T(B))return B.clone();var $=typeof z=="object"?z:{};return $.date=B,$.args=arguments,new I($)},A=C;A.l=P,A.i=T,A.w=function(B,z){return k(B,{locale:z.$L,utc:z.$u,x:z.$x,$offset:z.$offset})};var I=function(){function B($){this.$L=P($.locale,null,!0),this.parse($),this.$x=this.$x||$.x||{},this[w]=!0}var z=B.prototype;return z.parse=function($){this.$d=function(j){var X=j.date,F=j.utc;if(X===null)return new Date(NaN);if(A.u(X))return new Date;if(X instanceof Date)return new Date(X);if(typeof X=="string"&&!/Z$/i.test(X)){var M=X.match(v);if(M){var se=M[2]-1||0,Q=(M[7]||"0").substring(0,3);return F?new Date(Date.UTC(M[1],se,M[3]||1,M[4]||0,M[5]||0,M[6]||0,Q)):new Date(M[1],se,M[3]||1,M[4]||0,M[5]||0,M[6]||0,Q)}}return new Date(X)}($),this.init()},z.init=function(){var $=this.$d;this.$y=$.getFullYear(),this.$M=$.getMonth(),this.$D=$.getDate(),this.$W=$.getDay(),this.$H=$.getHours(),this.$m=$.getMinutes(),this.$s=$.getSeconds(),this.$ms=$.getMilliseconds()},z.$utils=function(){return A},z.isValid=function(){return this.$d.toString()!==m},z.isSame=function($,j){var X=k($);return this.startOf(j)<=X&&X<=this.endOf(j)},z.isAfter=function($,j){return k($)1&&arguments[1]!==void 0?arguments[1]:{container:document.body},xe="";return typeof ne=="string"?xe=y(ne,fe):ne instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(ne==null?void 0:ne.type)?xe=y(ne.value,fe):(xe=p()(ne),h("copy")),xe},C=S;function _(X){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(fe){return typeof fe}:_=function(fe){return fe&&typeof Symbol=="function"&&fe.constructor===Symbol&&fe!==Symbol.prototype?"symbol":typeof fe},_(X)}var x=function(){var ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},fe=ne.action,xe=fe===void 0?"copy":fe,Ce=ne.container,G=ne.target,ve=ne.text;if(xe!=="copy"&&xe!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(G!==void 0)if(G&&_(G)==="object"&&G.nodeType===1){if(xe==="copy"&&G.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(xe==="cut"&&(G.hasAttribute("readonly")||G.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(ve)return C(ve,{container:Ce});if(G)return xe==="cut"?v(G):C(G,{container:Ce})},w=x;function T(X){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(fe){return typeof fe}:T=function(fe){return fe&&typeof Symbol=="function"&&fe.constructor===Symbol&&fe!==Symbol.prototype?"symbol":typeof fe},T(X)}function P(X,ne){if(!(X instanceof ne))throw new TypeError("Cannot call a class as a function")}function k(X,ne){for(var fe=0;fe"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(X){return Q=Object.setPrototypeOf?Object.getPrototypeOf:function(fe){return fe.__proto__||Object.getPrototypeOf(fe)},Q(X)}function L(X,ne){var fe="data-clipboard-".concat(X);if(ne.hasAttribute(fe))return ne.getAttribute(fe)}var M=function(X){A(fe,X);var ne=F(fe);function fe(xe,Ce){var G;return P(this,fe),G=ne.call(this),G.resolveOptions(Ce),G.listenClick(xe),G}return I(fe,[{key:"resolveOptions",value:function(){var Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof Ce.action=="function"?Ce.action:this.defaultAction,this.target=typeof Ce.target=="function"?Ce.target:this.defaultTarget,this.text=typeof Ce.text=="function"?Ce.text:this.defaultText,this.container=T(Ce.container)==="object"?Ce.container:document.body}},{key:"listenClick",value:function(Ce){var G=this;this.listener=d()(Ce,"click",function(ve){return G.onClick(ve)})}},{key:"onClick",value:function(Ce){var G=Ce.delegateTarget||Ce.currentTarget,ve=this.action(G)||"copy",ue=w({action:ve,container:this.container,target:this.target(G),text:this.text(G)});this.emit(ue?"success":"error",{action:ve,text:ue,trigger:G,clearSelection:function(){G&&G.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(Ce){return L("action",Ce)}},{key:"defaultTarget",value:function(Ce){var G=L("target",Ce);if(G)return document.querySelector(G)}},{key:"defaultText",value:function(Ce){return L("text",Ce)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(Ce){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return C(Ce,G)}},{key:"cut",value:function(Ce){return v(Ce)}},{key:"isSupported",value:function(){var Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],G=typeof Ce=="string"?[Ce]:Ce,ve=!!document.queryCommandSupported;return G.forEach(function(ue){ve=ve&&!!document.queryCommandSupported(ue)}),ve}}]),fe}(c()),se=M},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 g=d.apply(this,arguments);return f.addEventListener(h,g,v),{destroy:function(){f.removeEventListener(h,g,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(g){return c(g,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(g){g.addEventListener(m,v)}),{destroy:function(){Array.prototype.forEach.call(h,function(g){g.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()})($x,function(){return function(){var n={686:function(i,a,s){s.d(a,{default:function(){return se}});var l=s(279),c=s.n(l),u=s(370),d=s.n(u),f=s(817),p=s.n(f);function h(Q){try{return document.execCommand(Q)}catch{return!1}}var m=function(ne){var fe=p()(ne);return h("cut"),fe},v=m;function g(Q){var ne=document.documentElement.getAttribute("dir")==="rtl",fe=document.createElement("textarea");fe.style.fontSize="12pt",fe.style.border="0",fe.style.padding="0",fe.style.margin="0",fe.style.position="absolute",fe.style[ne?"right":"left"]="-9999px";var xe=window.pageYOffset||document.documentElement.scrollTop;return fe.style.top="".concat(xe,"px"),fe.setAttribute("readonly",""),fe.value=Q,fe}var y=function(ne,fe){var xe=g(ne);fe.container.appendChild(xe);var Ce=p()(xe);return h("copy"),xe.remove(),Ce},S=function(ne){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},xe="";return typeof ne=="string"?xe=y(ne,fe):ne instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(ne==null?void 0:ne.type)?xe=y(ne.value,fe):(xe=p()(ne),h("copy")),xe},C=S;function _(Q){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(fe){return typeof fe}:_=function(fe){return fe&&typeof Symbol=="function"&&fe.constructor===Symbol&&fe!==Symbol.prototype?"symbol":typeof fe},_(Q)}var x=function(){var ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},fe=ne.action,xe=fe===void 0?"copy":fe,Ce=ne.container,G=ne.target,ve=ne.text;if(xe!=="copy"&&xe!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(G!==void 0)if(G&&_(G)==="object"&&G.nodeType===1){if(xe==="copy"&&G.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(xe==="cut"&&(G.hasAttribute("readonly")||G.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(ve)return C(ve,{container:Ce});if(G)return xe==="cut"?v(G):C(G,{container:Ce})},w=x;function T(Q){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(fe){return typeof fe}:T=function(fe){return fe&&typeof Symbol=="function"&&fe.constructor===Symbol&&fe!==Symbol.prototype?"symbol":typeof fe},T(Q)}function P(Q,ne){if(!(Q instanceof ne))throw new TypeError("Cannot call a class as a function")}function k(Q,ne){for(var fe=0;fe"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 X(Q){return X=Object.setPrototypeOf?Object.getPrototypeOf:function(fe){return fe.__proto__||Object.getPrototypeOf(fe)},X(Q)}function F(Q,ne){var fe="data-clipboard-".concat(Q);if(ne.hasAttribute(fe))return ne.getAttribute(fe)}var M=function(Q){I(fe,Q);var ne=B(fe);function fe(xe,Ce){var G;return P(this,fe),G=ne.call(this),G.resolveOptions(Ce),G.listenClick(xe),G}return A(fe,[{key:"resolveOptions",value:function(){var Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof Ce.action=="function"?Ce.action:this.defaultAction,this.target=typeof Ce.target=="function"?Ce.target:this.defaultTarget,this.text=typeof Ce.text=="function"?Ce.text:this.defaultText,this.container=T(Ce.container)==="object"?Ce.container:document.body}},{key:"listenClick",value:function(Ce){var G=this;this.listener=d()(Ce,"click",function(ve){return G.onClick(ve)})}},{key:"onClick",value:function(Ce){var G=Ce.delegateTarget||Ce.currentTarget,ve=this.action(G)||"copy",ue=w({action:ve,container:this.container,target:this.target(G),text:this.text(G)});this.emit(ue?"success":"error",{action:ve,text:ue,trigger:G,clearSelection:function(){G&&G.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(Ce){return F("action",Ce)}},{key:"defaultTarget",value:function(Ce){var G=F("target",Ce);if(G)return document.querySelector(G)}},{key:"defaultText",value:function(Ce){return F("text",Ce)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(Ce){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return C(Ce,G)}},{key:"cut",value:function(Ce){return v(Ce)}},{key:"isSupported",value:function(){var Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],G=typeof Ce=="string"?[Ce]:Ce,ve=!!document.queryCommandSupported;return G.forEach(function(ue){ve=ve&&!!document.queryCommandSupported(ue)}),ve}}]),fe}(c()),se=M},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 g=d.apply(this,arguments);return f.addEventListener(h,g,v),{destroy:function(){f.removeEventListener(h,g,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(g){return c(g,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(g){g.addEventListener(m,v)}),{destroy:function(){Array.prototype.forEach.call(h,function(g){g.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.7.1 * (c) 2023 kazuya kawaguchi * Released under the MIT License. - */const Ef=typeof window<"u",Or=(e,t=!1)=>t?Symbol.for(e):Symbol(e),CR=(e,t,n)=>wR({l:e,k:t,s:n}),wR=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),gn=e=>typeof e=="number"&&isFinite(e),_R=e=>Mx(e)==="[object Date]",$r=e=>Mx(e)==="[object RegExp]",iu=e=>mt(e)&&Object.keys(e).length===0,_n=Object.assign;let Gg;const Zo=()=>Gg||(Gg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Yg(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const SR=Object.prototype.hasOwnProperty;function As(e,t){return SR.call(e,t)}const Zt=Array.isArray,on=e=>typeof e=="function",Ue=e=>typeof e=="string",Ct=e=>typeof e=="boolean",Ht=e=>e!==null&&typeof e=="object",Ix=Object.prototype.toString,Mx=e=>Ix.call(e),mt=e=>{if(!Ht(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},kR=e=>e==null?"":Zt(e)||mt(e)&&e.toString===Ix?JSON.stringify(e,null,2):String(e);function TR(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}function ip(e){let t=e;return()=>++t}function PR(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Cl=e=>!Ht(e)||Zt(e);function fs(e,t){if(Cl(e)||Cl(t))throw new Error("Invalid value");for(const n in e)As(e,n)&&(Cl(e[n])||Cl(t[n])?t[n]=e[n]:fs(e[n],t[n]))}/*! + */const Ef=typeof window<"u",Or=(e,t=!1)=>t?Symbol.for(e):Symbol(e),wR=(e,t,n)=>_R({l:e,k:t,s:n}),_R=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),gn=e=>typeof e=="number"&&isFinite(e),SR=e=>zx(e)==="[object Date]",$r=e=>zx(e)==="[object RegExp]",iu=e=>mt(e)&&Object.keys(e).length===0,_n=Object.assign;let Yg;const Zo=()=>Yg||(Yg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Xg(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const kR=Object.prototype.hasOwnProperty;function As(e,t){return kR.call(e,t)}const Zt=Array.isArray,on=e=>typeof e=="function",Ue=e=>typeof e=="string",Ct=e=>typeof e=="boolean",Ht=e=>e!==null&&typeof e=="object",Mx=Object.prototype.toString,zx=e=>Mx.call(e),mt=e=>{if(!Ht(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},TR=e=>e==null?"":Zt(e)||mt(e)&&e.toString===Mx?JSON.stringify(e,null,2):String(e);function PR(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}function ip(e){let t=e;return()=>++t}function RR(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Cl=e=>!Ht(e)||Zt(e);function fs(e,t){if(Cl(e)||Cl(t))throw new Error("Invalid value");for(const n in e)As(e,n)&&(Cl(e[n])||Cl(t[n])?t[n]=e[n]:fs(e[n],t[n]))}/*! * message-compiler v9.7.1 * (c) 2023 kazuya kawaguchi * Released under the MIT License. - */function RR(e,t,n){return{line:e,column:t,offset:n}}function $f(e,t,n){const o={start:e,end:t};return n!=null&&(o.source=n),o}const ER=/\{([0-9a-zA-Z]+)\}/g;function $R(e,...t){return t.length===1&&AR(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(ER,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const zx=Object.assign,Xg=e=>typeof e=="string",AR=e=>e!==null&&typeof e=="object";function Ox(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}const ft={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},IR={[ft.EXPECTED_TOKEN]:"Expected token: '{0}'",[ft.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ft.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ft.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ft.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ft.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ft.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ft.EMPTY_PLACEHOLDER]:"Empty placeholder",[ft.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ft.INVALID_LINKED_FORMAT]:"Invalid linked format",[ft.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ft.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ft.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ft.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ft.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ft.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Ea(e,t,n={}){const{domain:o,messages:r,args:i}=n,a=$R((r||IR)[e]||"",...i||[]),s=new SyntaxError(String(a));return s.code=e,t&&(s.location=t),s.domain=o,s}function MR(e){throw e}const Go=" ",zR="\r",$n=` -`,OR=String.fromCharCode(8232),DR=String.fromCharCode(8233);function LR(e){const t=e;let n=0,o=1,r=1,i=0;const a=w=>t[w]===zR&&t[w+1]===$n,s=w=>t[w]===$n,l=w=>t[w]===DR,c=w=>t[w]===OR,u=w=>a(w)||s(w)||l(w)||c(w),d=()=>n,f=()=>o,p=()=>r,h=()=>i,m=w=>a(w)||l(w)||c(w)?$n:t[w],v=()=>m(n),g=()=>m(n+i);function y(){return i=0,u(n)&&(o++,r=0),a(n)&&n++,n++,r++,t[n]}function S(){return a(n+i)&&i++,i++,t[n+i]}function C(){n=0,o=1,r=1,i=0}function _(w=0){i=w}function x(){const w=n+i;for(;w!==n;)y();i=0}return{index:d,line:f,column:p,peekOffset:h,charAt:m,currentChar:v,currentPeek:g,next:y,peek:S,reset:C,resetPeek:_,skipToPeek:x}}const pr=void 0,FR=".",Qg="'",NR="tokenizer";function BR(e,t={}){const n=t.location!==!1,o=LR(e),r=()=>o.index(),i=()=>RR(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(R,E,U,...ie){const Y=c();if(E.column+=U,E.offset+=U,u){const he=n?$f(Y.startLoc,E):null,ye=Ea(R,he,{domain:NR,args:ie});u(ye)}}function f(R,E,U){R.endLoc=i(),R.currentType=E;const ie={type:E};return n&&(ie.loc=$f(R.startLoc,R.endLoc)),U!=null&&(ie.value=U),ie}const p=R=>f(R,14);function h(R,E){return R.currentChar()===E?(R.next(),E):(d(ft.EXPECTED_TOKEN,i(),0,E),"")}function m(R){let E="";for(;R.currentPeek()===Go||R.currentPeek()===$n;)E+=R.currentPeek(),R.peek();return E}function v(R){const E=m(R);return R.skipToPeek(),E}function g(R){if(R===pr)return!1;const E=R.charCodeAt(0);return E>=97&&E<=122||E>=65&&E<=90||E===95}function y(R){if(R===pr)return!1;const E=R.charCodeAt(0);return E>=48&&E<=57}function S(R,E){const{currentType:U}=E;if(U!==2)return!1;m(R);const ie=g(R.currentPeek());return R.resetPeek(),ie}function C(R,E){const{currentType:U}=E;if(U!==2)return!1;m(R);const ie=R.currentPeek()==="-"?R.peek():R.currentPeek(),Y=y(ie);return R.resetPeek(),Y}function _(R,E){const{currentType:U}=E;if(U!==2)return!1;m(R);const ie=R.currentPeek()===Qg;return R.resetPeek(),ie}function x(R,E){const{currentType:U}=E;if(U!==8)return!1;m(R);const ie=R.currentPeek()===".";return R.resetPeek(),ie}function w(R,E){const{currentType:U}=E;if(U!==9)return!1;m(R);const ie=g(R.currentPeek());return R.resetPeek(),ie}function T(R,E){const{currentType:U}=E;if(!(U===8||U===12))return!1;m(R);const ie=R.currentPeek()===":";return R.resetPeek(),ie}function P(R,E){const{currentType:U}=E;if(U!==10)return!1;const ie=()=>{const he=R.currentPeek();return he==="{"?g(R.peek()):he==="@"||he==="%"||he==="|"||he===":"||he==="."||he===Go||!he?!1:he===$n?(R.peek(),ie()):g(he)},Y=ie();return R.resetPeek(),Y}function k(R){m(R);const E=R.currentPeek()==="|";return R.resetPeek(),E}function I(R){const E=m(R),U=R.currentPeek()==="%"&&R.peek()==="{";return R.resetPeek(),{isModulo:U,hasSpace:E.length>0}}function A(R,E=!0){const U=(Y=!1,he="",ye=!1)=>{const ge=R.currentPeek();return ge==="{"?he==="%"?!1:Y:ge==="@"||!ge?he==="%"?!0:Y:ge==="%"?(R.peek(),U(Y,"%",!0)):ge==="|"?he==="%"||ye?!0:!(he===Go||he===$n):ge===Go?(R.peek(),U(!0,Go,ye)):ge===$n?(R.peek(),U(!0,$n,ye)):!0},ie=U();return E&&R.resetPeek(),ie}function q(R,E){const U=R.currentChar();return U===pr?pr:E(U)?(R.next(),U):null}function F(R){return q(R,U=>{const ie=U.charCodeAt(0);return ie>=97&&ie<=122||ie>=65&&ie<=90||ie>=48&&ie<=57||ie===95||ie===36})}function O(R){return q(R,U=>{const ie=U.charCodeAt(0);return ie>=48&&ie<=57})}function $(R){return q(R,U=>{const ie=U.charCodeAt(0);return ie>=48&&ie<=57||ie>=65&&ie<=70||ie>=97&&ie<=102})}function W(R){let E="",U="";for(;E=O(R);)U+=E;return U}function Q(R){v(R);const E=R.currentChar();return E!=="%"&&d(ft.EXPECTED_TOKEN,i(),0,E),R.next(),"%"}function L(R){let E="";for(;;){const U=R.currentChar();if(U==="{"||U==="}"||U==="@"||U==="|"||!U)break;if(U==="%")if(A(R))E+=U,R.next();else break;else if(U===Go||U===$n)if(A(R))E+=U,R.next();else{if(k(R))break;E+=U,R.next()}else E+=U,R.next()}return E}function M(R){v(R);let E="",U="";for(;E=F(R);)U+=E;return R.currentChar()===pr&&d(ft.UNTERMINATED_CLOSING_BRACE,i(),0),U}function se(R){v(R);let E="";return R.currentChar()==="-"?(R.next(),E+=`-${W(R)}`):E+=W(R),R.currentChar()===pr&&d(ft.UNTERMINATED_CLOSING_BRACE,i(),0),E}function X(R){v(R),h(R,"'");let E="",U="";const ie=he=>he!==Qg&&he!==$n;for(;E=q(R,ie);)E==="\\"?U+=ne(R):U+=E;const Y=R.currentChar();return Y===$n||Y===pr?(d(ft.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),Y===$n&&(R.next(),h(R,"'")),U):(h(R,"'"),U)}function ne(R){const E=R.currentChar();switch(E){case"\\":case"'":return R.next(),`\\${E}`;case"u":return fe(R,E,4);case"U":return fe(R,E,6);default:return d(ft.UNKNOWN_ESCAPE_SEQUENCE,i(),0,E),""}}function fe(R,E,U){h(R,E);let ie="";for(let Y=0;YY!=="{"&&Y!=="}"&&Y!==Go&&Y!==$n;for(;E=q(R,ie);)U+=E;return U}function Ce(R){let E="",U="";for(;E=F(R);)U+=E;return U}function G(R){const E=(U=!1,ie)=>{const Y=R.currentChar();return Y==="{"||Y==="%"||Y==="@"||Y==="|"||Y==="("||Y===")"||!Y||Y===Go?ie:Y===$n||Y===FR?(ie+=Y,R.next(),E(U,ie)):(ie+=Y,R.next(),E(!0,ie))};return E(!1,"")}function ve(R){v(R);const E=h(R,"|");return v(R),E}function ue(R,E){let U=null;switch(R.currentChar()){case"{":return E.braceNest>=1&&d(ft.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),R.next(),U=f(E,2,"{"),v(R),E.braceNest++,U;case"}":return E.braceNest>0&&E.currentType===2&&d(ft.EMPTY_PLACEHOLDER,i(),0),R.next(),U=f(E,3,"}"),E.braceNest--,E.braceNest>0&&v(R),E.inLinked&&E.braceNest===0&&(E.inLinked=!1),U;case"@":return E.braceNest>0&&d(ft.UNTERMINATED_CLOSING_BRACE,i(),0),U=re(R,E)||p(E),E.braceNest=0,U;default:let Y=!0,he=!0,ye=!0;if(k(R))return E.braceNest>0&&d(ft.UNTERMINATED_CLOSING_BRACE,i(),0),U=f(E,1,ve(R)),E.braceNest=0,E.inLinked=!1,U;if(E.braceNest>0&&(E.currentType===5||E.currentType===6||E.currentType===7))return d(ft.UNTERMINATED_CLOSING_BRACE,i(),0),E.braceNest=0,ke(R,E);if(Y=S(R,E))return U=f(E,5,M(R)),v(R),U;if(he=C(R,E))return U=f(E,6,se(R)),v(R),U;if(ye=_(R,E))return U=f(E,7,X(R)),v(R),U;if(!Y&&!he&&!ye)return U=f(E,13,xe(R)),d(ft.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,U.value),v(R),U;break}return U}function re(R,E){const{currentType:U}=E;let ie=null;const Y=R.currentChar();switch((U===8||U===9||U===12||U===10)&&(Y===$n||Y===Go)&&d(ft.INVALID_LINKED_FORMAT,i(),0),Y){case"@":return R.next(),ie=f(E,8,"@"),E.inLinked=!0,ie;case".":return v(R),R.next(),f(E,9,".");case":":return v(R),R.next(),f(E,10,":");default:return k(R)?(ie=f(E,1,ve(R)),E.braceNest=0,E.inLinked=!1,ie):x(R,E)||T(R,E)?(v(R),re(R,E)):w(R,E)?(v(R),f(E,12,Ce(R))):P(R,E)?(v(R),Y==="{"?ue(R,E)||ie:f(E,11,G(R))):(U===8&&d(ft.INVALID_LINKED_FORMAT,i(),0),E.braceNest=0,E.inLinked=!1,ke(R,E))}}function ke(R,E){let U={type:14};if(E.braceNest>0)return ue(R,E)||p(E);if(E.inLinked)return re(R,E)||p(E);switch(R.currentChar()){case"{":return ue(R,E)||p(E);case"}":return d(ft.UNBALANCED_CLOSING_BRACE,i(),0),R.next(),f(E,3,"}");case"@":return re(R,E)||p(E);default:if(k(R))return U=f(E,1,ve(R)),E.braceNest=0,E.inLinked=!1,U;const{isModulo:Y,hasSpace:he}=I(R);if(Y)return he?f(E,0,L(R)):f(E,4,Q(R));if(A(R))return f(E,0,L(R));break}return U}function V(){const{currentType:R,offset:E,startLoc:U,endLoc:ie}=l;return l.lastType=R,l.lastOffset=E,l.lastStartLoc=U,l.lastEndLoc=ie,l.offset=r(),l.startLoc=i(),o.currentChar()===pr?f(l,14):ke(o,l)}return{nextToken:V,currentOffset:r,currentPosition:i,context:c}}const HR="parser",jR=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function VR(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 UR(e={}){const t=e.location!==!1,{onError:n}=e;function o(g,y,S,C,..._){const x=g.currentPosition();if(x.offset+=C,x.column+=C,n){const w=t?$f(S,x):null,T=Ea(y,w,{domain:HR,args:_});n(T)}}function r(g,y,S){const C={type:g};return t&&(C.start=y,C.end=y,C.loc={start:S,end:S}),C}function i(g,y,S,C){C&&(g.type=C),t&&(g.end=y,g.loc&&(g.loc.end=S))}function a(g,y){const S=g.context(),C=r(3,S.offset,S.startLoc);return C.value=y,i(C,g.currentOffset(),g.currentPosition()),C}function s(g,y){const S=g.context(),{lastOffset:C,lastStartLoc:_}=S,x=r(5,C,_);return x.index=parseInt(y,10),g.nextToken(),i(x,g.currentOffset(),g.currentPosition()),x}function l(g,y){const S=g.context(),{lastOffset:C,lastStartLoc:_}=S,x=r(4,C,_);return x.key=y,g.nextToken(),i(x,g.currentOffset(),g.currentPosition()),x}function c(g,y){const S=g.context(),{lastOffset:C,lastStartLoc:_}=S,x=r(9,C,_);return x.value=y.replace(jR,VR),g.nextToken(),i(x,g.currentOffset(),g.currentPosition()),x}function u(g){const y=g.nextToken(),S=g.context(),{lastOffset:C,lastStartLoc:_}=S,x=r(8,C,_);return y.type!==12?(o(g,ft.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),x.value="",i(x,C,_),{nextConsumeToken:y,node:x}):(y.value==null&&o(g,ft.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Po(y)),x.value=y.value||"",i(x,g.currentOffset(),g.currentPosition()),{node:x})}function d(g,y){const S=g.context(),C=r(7,S.offset,S.startLoc);return C.value=y,i(C,g.currentOffset(),g.currentPosition()),C}function f(g){const y=g.context(),S=r(6,y.offset,y.startLoc);let C=g.nextToken();if(C.type===9){const _=u(g);S.modifier=_.node,C=_.nextConsumeToken||g.nextToken()}switch(C.type!==10&&o(g,ft.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Po(C)),C=g.nextToken(),C.type===2&&(C=g.nextToken()),C.type){case 11:C.value==null&&o(g,ft.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Po(C)),S.key=d(g,C.value||"");break;case 5:C.value==null&&o(g,ft.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Po(C)),S.key=l(g,C.value||"");break;case 6:C.value==null&&o(g,ft.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Po(C)),S.key=s(g,C.value||"");break;case 7:C.value==null&&o(g,ft.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Po(C)),S.key=c(g,C.value||"");break;default:o(g,ft.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const _=g.context(),x=r(7,_.offset,_.startLoc);return x.value="",i(x,_.offset,_.startLoc),S.key=x,i(S,_.offset,_.startLoc),{nextConsumeToken:C,node:S}}return i(S,g.currentOffset(),g.currentPosition()),{node:S}}function p(g){const y=g.context(),S=y.currentType===1?g.currentOffset():y.offset,C=y.currentType===1?y.endLoc:y.startLoc,_=r(2,S,C);_.items=[];let x=null;do{const P=x||g.nextToken();switch(x=null,P.type){case 0:P.value==null&&o(g,ft.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Po(P)),_.items.push(a(g,P.value||""));break;case 6:P.value==null&&o(g,ft.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Po(P)),_.items.push(s(g,P.value||""));break;case 5:P.value==null&&o(g,ft.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Po(P)),_.items.push(l(g,P.value||""));break;case 7:P.value==null&&o(g,ft.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Po(P)),_.items.push(c(g,P.value||""));break;case 8:const k=f(g);_.items.push(k.node),x=k.nextConsumeToken||null;break}}while(y.currentType!==14&&y.currentType!==1);const w=y.currentType===1?y.lastOffset:g.currentOffset(),T=y.currentType===1?y.lastEndLoc:g.currentPosition();return i(_,w,T),_}function h(g,y,S,C){const _=g.context();let x=C.items.length===0;const w=r(1,y,S);w.cases=[],w.cases.push(C);do{const T=p(g);x||(x=T.items.length===0),w.cases.push(T)}while(_.currentType!==14);return x&&o(g,ft.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),i(w,g.currentOffset(),g.currentPosition()),w}function m(g){const y=g.context(),{offset:S,startLoc:C}=y,_=p(g);return y.currentType===14?_:h(g,S,C,_)}function v(g){const y=BR(g,zx({},e)),S=y.context(),C=r(0,S.offset,S.startLoc);return t&&C.loc&&(C.loc.source=g),C.body=m(y),e.onCacheKey&&(C.cacheKey=e.onCacheKey(g)),S.currentType!==14&&o(y,ft.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,g[S.offset]||""),i(C,y.currentOffset(),y.currentPosition()),C}return{parse:v}}function Po(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 WR(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function Zg(e,t){for(let n=0;nJg(n)),e}function Jg(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,g){s.code+=v}function u(v,g=!0){const y=g?r:"";c(i?y+" ".repeat(v):y)}function d(v=!0){const g=++s.indentLevel;v&&u(g)}function f(v=!0){const g=--s.indentLevel;v&&u(g)}function p(){u(s.indentLevel)}return{context:l,push:c,indent:d,deindent:f,newline:p,helper:v=>`_${v}`,needIndent:()=>s.needIndent}}function QR(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ma(e,t.key),t.modifier?(e.push(", "),ma(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function ZR(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=Xg(t.mode)?t.mode:"normal",o=Xg(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=XR(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 { ${Ox(s.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),ma(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 nE(e,t={}){const n=zx({},t),o=!!n.jit,r=!!n.minify,i=n.optimize==null?!0:n.optimize,s=UR(n).parse(e);return o?(i&&KR(s),r&&Yi(s),{ast:s,code:""}):(qR(s,n),tE(s,n))}/*! + */function ER(e,t,n){return{line:e,column:t,offset:n}}function $f(e,t,n){const o={start:e,end:t};return n!=null&&(o.source=n),o}const $R=/\{([0-9a-zA-Z]+)\}/g;function AR(e,...t){return t.length===1&&IR(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace($R,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const Ox=Object.assign,Qg=e=>typeof e=="string",IR=e=>e!==null&&typeof e=="object";function Dx(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}const ft={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},MR={[ft.EXPECTED_TOKEN]:"Expected token: '{0}'",[ft.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ft.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ft.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ft.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ft.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ft.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ft.EMPTY_PLACEHOLDER]:"Empty placeholder",[ft.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ft.INVALID_LINKED_FORMAT]:"Invalid linked format",[ft.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ft.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ft.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ft.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ft.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ft.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Ea(e,t,n={}){const{domain:o,messages:r,args:i}=n,a=AR((r||MR)[e]||"",...i||[]),s=new SyntaxError(String(a));return s.code=e,t&&(s.location=t),s.domain=o,s}function zR(e){throw e}const Go=" ",OR="\r",$n=` +`,DR=String.fromCharCode(8232),LR=String.fromCharCode(8233);function FR(e){const t=e;let n=0,o=1,r=1,i=0;const a=w=>t[w]===OR&&t[w+1]===$n,s=w=>t[w]===$n,l=w=>t[w]===LR,c=w=>t[w]===DR,u=w=>a(w)||s(w)||l(w)||c(w),d=()=>n,f=()=>o,p=()=>r,h=()=>i,m=w=>a(w)||l(w)||c(w)?$n:t[w],v=()=>m(n),g=()=>m(n+i);function y(){return i=0,u(n)&&(o++,r=0),a(n)&&n++,n++,r++,t[n]}function S(){return a(n+i)&&i++,i++,t[n+i]}function C(){n=0,o=1,r=1,i=0}function _(w=0){i=w}function x(){const w=n+i;for(;w!==n;)y();i=0}return{index:d,line:f,column:p,peekOffset:h,charAt:m,currentChar:v,currentPeek:g,next:y,peek:S,reset:C,resetPeek:_,skipToPeek:x}}const pr=void 0,NR=".",Zg="'",BR="tokenizer";function HR(e,t={}){const n=t.location!==!1,o=FR(e),r=()=>o.index(),i=()=>ER(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(R,E,q,...ie){const Y=c();if(E.column+=q,E.offset+=q,u){const he=n?$f(Y.startLoc,E):null,ye=Ea(R,he,{domain:BR,args:ie});u(ye)}}function f(R,E,q){R.endLoc=i(),R.currentType=E;const ie={type:E};return n&&(ie.loc=$f(R.startLoc,R.endLoc)),q!=null&&(ie.value=q),ie}const p=R=>f(R,14);function h(R,E){return R.currentChar()===E?(R.next(),E):(d(ft.EXPECTED_TOKEN,i(),0,E),"")}function m(R){let E="";for(;R.currentPeek()===Go||R.currentPeek()===$n;)E+=R.currentPeek(),R.peek();return E}function v(R){const E=m(R);return R.skipToPeek(),E}function g(R){if(R===pr)return!1;const E=R.charCodeAt(0);return E>=97&&E<=122||E>=65&&E<=90||E===95}function y(R){if(R===pr)return!1;const E=R.charCodeAt(0);return E>=48&&E<=57}function S(R,E){const{currentType:q}=E;if(q!==2)return!1;m(R);const ie=g(R.currentPeek());return R.resetPeek(),ie}function C(R,E){const{currentType:q}=E;if(q!==2)return!1;m(R);const ie=R.currentPeek()==="-"?R.peek():R.currentPeek(),Y=y(ie);return R.resetPeek(),Y}function _(R,E){const{currentType:q}=E;if(q!==2)return!1;m(R);const ie=R.currentPeek()===Zg;return R.resetPeek(),ie}function x(R,E){const{currentType:q}=E;if(q!==8)return!1;m(R);const ie=R.currentPeek()===".";return R.resetPeek(),ie}function w(R,E){const{currentType:q}=E;if(q!==9)return!1;m(R);const ie=g(R.currentPeek());return R.resetPeek(),ie}function T(R,E){const{currentType:q}=E;if(!(q===8||q===12))return!1;m(R);const ie=R.currentPeek()===":";return R.resetPeek(),ie}function P(R,E){const{currentType:q}=E;if(q!==10)return!1;const ie=()=>{const he=R.currentPeek();return he==="{"?g(R.peek()):he==="@"||he==="%"||he==="|"||he===":"||he==="."||he===Go||!he?!1:he===$n?(R.peek(),ie()):g(he)},Y=ie();return R.resetPeek(),Y}function k(R){m(R);const E=R.currentPeek()==="|";return R.resetPeek(),E}function A(R){const E=m(R),q=R.currentPeek()==="%"&&R.peek()==="{";return R.resetPeek(),{isModulo:q,hasSpace:E.length>0}}function I(R,E=!0){const q=(Y=!1,he="",ye=!1)=>{const ge=R.currentPeek();return ge==="{"?he==="%"?!1:Y:ge==="@"||!ge?he==="%"?!0:Y:ge==="%"?(R.peek(),q(Y,"%",!0)):ge==="|"?he==="%"||ye?!0:!(he===Go||he===$n):ge===Go?(R.peek(),q(!0,Go,ye)):ge===$n?(R.peek(),q(!0,$n,ye)):!0},ie=q();return E&&R.resetPeek(),ie}function W(R,E){const q=R.currentChar();return q===pr?pr:E(q)?(R.next(),q):null}function B(R){return W(R,q=>{const ie=q.charCodeAt(0);return ie>=97&&ie<=122||ie>=65&&ie<=90||ie>=48&&ie<=57||ie===95||ie===36})}function z(R){return W(R,q=>{const ie=q.charCodeAt(0);return ie>=48&&ie<=57})}function $(R){return W(R,q=>{const ie=q.charCodeAt(0);return ie>=48&&ie<=57||ie>=65&&ie<=70||ie>=97&&ie<=102})}function j(R){let E="",q="";for(;E=z(R);)q+=E;return q}function X(R){v(R);const E=R.currentChar();return E!=="%"&&d(ft.EXPECTED_TOKEN,i(),0,E),R.next(),"%"}function F(R){let E="";for(;;){const q=R.currentChar();if(q==="{"||q==="}"||q==="@"||q==="|"||!q)break;if(q==="%")if(I(R))E+=q,R.next();else break;else if(q===Go||q===$n)if(I(R))E+=q,R.next();else{if(k(R))break;E+=q,R.next()}else E+=q,R.next()}return E}function M(R){v(R);let E="",q="";for(;E=B(R);)q+=E;return R.currentChar()===pr&&d(ft.UNTERMINATED_CLOSING_BRACE,i(),0),q}function se(R){v(R);let E="";return R.currentChar()==="-"?(R.next(),E+=`-${j(R)}`):E+=j(R),R.currentChar()===pr&&d(ft.UNTERMINATED_CLOSING_BRACE,i(),0),E}function Q(R){v(R),h(R,"'");let E="",q="";const ie=he=>he!==Zg&&he!==$n;for(;E=W(R,ie);)E==="\\"?q+=ne(R):q+=E;const Y=R.currentChar();return Y===$n||Y===pr?(d(ft.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),Y===$n&&(R.next(),h(R,"'")),q):(h(R,"'"),q)}function ne(R){const E=R.currentChar();switch(E){case"\\":case"'":return R.next(),`\\${E}`;case"u":return fe(R,E,4);case"U":return fe(R,E,6);default:return d(ft.UNKNOWN_ESCAPE_SEQUENCE,i(),0,E),""}}function fe(R,E,q){h(R,E);let ie="";for(let Y=0;YY!=="{"&&Y!=="}"&&Y!==Go&&Y!==$n;for(;E=W(R,ie);)q+=E;return q}function Ce(R){let E="",q="";for(;E=B(R);)q+=E;return q}function G(R){const E=(q=!1,ie)=>{const Y=R.currentChar();return Y==="{"||Y==="%"||Y==="@"||Y==="|"||Y==="("||Y===")"||!Y||Y===Go?ie:Y===$n||Y===NR?(ie+=Y,R.next(),E(q,ie)):(ie+=Y,R.next(),E(!0,ie))};return E(!1,"")}function ve(R){v(R);const E=h(R,"|");return v(R),E}function ue(R,E){let q=null;switch(R.currentChar()){case"{":return E.braceNest>=1&&d(ft.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),R.next(),q=f(E,2,"{"),v(R),E.braceNest++,q;case"}":return E.braceNest>0&&E.currentType===2&&d(ft.EMPTY_PLACEHOLDER,i(),0),R.next(),q=f(E,3,"}"),E.braceNest--,E.braceNest>0&&v(R),E.inLinked&&E.braceNest===0&&(E.inLinked=!1),q;case"@":return E.braceNest>0&&d(ft.UNTERMINATED_CLOSING_BRACE,i(),0),q=re(R,E)||p(E),E.braceNest=0,q;default:let Y=!0,he=!0,ye=!0;if(k(R))return E.braceNest>0&&d(ft.UNTERMINATED_CLOSING_BRACE,i(),0),q=f(E,1,ve(R)),E.braceNest=0,E.inLinked=!1,q;if(E.braceNest>0&&(E.currentType===5||E.currentType===6||E.currentType===7))return d(ft.UNTERMINATED_CLOSING_BRACE,i(),0),E.braceNest=0,ke(R,E);if(Y=S(R,E))return q=f(E,5,M(R)),v(R),q;if(he=C(R,E))return q=f(E,6,se(R)),v(R),q;if(ye=_(R,E))return q=f(E,7,Q(R)),v(R),q;if(!Y&&!he&&!ye)return q=f(E,13,xe(R)),d(ft.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,q.value),v(R),q;break}return q}function re(R,E){const{currentType:q}=E;let ie=null;const Y=R.currentChar();switch((q===8||q===9||q===12||q===10)&&(Y===$n||Y===Go)&&d(ft.INVALID_LINKED_FORMAT,i(),0),Y){case"@":return R.next(),ie=f(E,8,"@"),E.inLinked=!0,ie;case".":return v(R),R.next(),f(E,9,".");case":":return v(R),R.next(),f(E,10,":");default:return k(R)?(ie=f(E,1,ve(R)),E.braceNest=0,E.inLinked=!1,ie):x(R,E)||T(R,E)?(v(R),re(R,E)):w(R,E)?(v(R),f(E,12,Ce(R))):P(R,E)?(v(R),Y==="{"?ue(R,E)||ie:f(E,11,G(R))):(q===8&&d(ft.INVALID_LINKED_FORMAT,i(),0),E.braceNest=0,E.inLinked=!1,ke(R,E))}}function ke(R,E){let q={type:14};if(E.braceNest>0)return ue(R,E)||p(E);if(E.inLinked)return re(R,E)||p(E);switch(R.currentChar()){case"{":return ue(R,E)||p(E);case"}":return d(ft.UNBALANCED_CLOSING_BRACE,i(),0),R.next(),f(E,3,"}");case"@":return re(R,E)||p(E);default:if(k(R))return q=f(E,1,ve(R)),E.braceNest=0,E.inLinked=!1,q;const{isModulo:Y,hasSpace:he}=A(R);if(Y)return he?f(E,0,F(R)):f(E,4,X(R));if(I(R))return f(E,0,F(R));break}return q}function U(){const{currentType:R,offset:E,startLoc:q,endLoc:ie}=l;return l.lastType=R,l.lastOffset=E,l.lastStartLoc=q,l.lastEndLoc=ie,l.offset=r(),l.startLoc=i(),o.currentChar()===pr?f(l,14):ke(o,l)}return{nextToken:U,currentOffset:r,currentPosition:i,context:c}}const jR="parser",VR=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function UR(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 WR(e={}){const t=e.location!==!1,{onError:n}=e;function o(g,y,S,C,..._){const x=g.currentPosition();if(x.offset+=C,x.column+=C,n){const w=t?$f(S,x):null,T=Ea(y,w,{domain:jR,args:_});n(T)}}function r(g,y,S){const C={type:g};return t&&(C.start=y,C.end=y,C.loc={start:S,end:S}),C}function i(g,y,S,C){C&&(g.type=C),t&&(g.end=y,g.loc&&(g.loc.end=S))}function a(g,y){const S=g.context(),C=r(3,S.offset,S.startLoc);return C.value=y,i(C,g.currentOffset(),g.currentPosition()),C}function s(g,y){const S=g.context(),{lastOffset:C,lastStartLoc:_}=S,x=r(5,C,_);return x.index=parseInt(y,10),g.nextToken(),i(x,g.currentOffset(),g.currentPosition()),x}function l(g,y){const S=g.context(),{lastOffset:C,lastStartLoc:_}=S,x=r(4,C,_);return x.key=y,g.nextToken(),i(x,g.currentOffset(),g.currentPosition()),x}function c(g,y){const S=g.context(),{lastOffset:C,lastStartLoc:_}=S,x=r(9,C,_);return x.value=y.replace(VR,UR),g.nextToken(),i(x,g.currentOffset(),g.currentPosition()),x}function u(g){const y=g.nextToken(),S=g.context(),{lastOffset:C,lastStartLoc:_}=S,x=r(8,C,_);return y.type!==12?(o(g,ft.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),x.value="",i(x,C,_),{nextConsumeToken:y,node:x}):(y.value==null&&o(g,ft.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Po(y)),x.value=y.value||"",i(x,g.currentOffset(),g.currentPosition()),{node:x})}function d(g,y){const S=g.context(),C=r(7,S.offset,S.startLoc);return C.value=y,i(C,g.currentOffset(),g.currentPosition()),C}function f(g){const y=g.context(),S=r(6,y.offset,y.startLoc);let C=g.nextToken();if(C.type===9){const _=u(g);S.modifier=_.node,C=_.nextConsumeToken||g.nextToken()}switch(C.type!==10&&o(g,ft.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Po(C)),C=g.nextToken(),C.type===2&&(C=g.nextToken()),C.type){case 11:C.value==null&&o(g,ft.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Po(C)),S.key=d(g,C.value||"");break;case 5:C.value==null&&o(g,ft.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Po(C)),S.key=l(g,C.value||"");break;case 6:C.value==null&&o(g,ft.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Po(C)),S.key=s(g,C.value||"");break;case 7:C.value==null&&o(g,ft.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Po(C)),S.key=c(g,C.value||"");break;default:o(g,ft.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const _=g.context(),x=r(7,_.offset,_.startLoc);return x.value="",i(x,_.offset,_.startLoc),S.key=x,i(S,_.offset,_.startLoc),{nextConsumeToken:C,node:S}}return i(S,g.currentOffset(),g.currentPosition()),{node:S}}function p(g){const y=g.context(),S=y.currentType===1?g.currentOffset():y.offset,C=y.currentType===1?y.endLoc:y.startLoc,_=r(2,S,C);_.items=[];let x=null;do{const P=x||g.nextToken();switch(x=null,P.type){case 0:P.value==null&&o(g,ft.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Po(P)),_.items.push(a(g,P.value||""));break;case 6:P.value==null&&o(g,ft.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Po(P)),_.items.push(s(g,P.value||""));break;case 5:P.value==null&&o(g,ft.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Po(P)),_.items.push(l(g,P.value||""));break;case 7:P.value==null&&o(g,ft.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Po(P)),_.items.push(c(g,P.value||""));break;case 8:const k=f(g);_.items.push(k.node),x=k.nextConsumeToken||null;break}}while(y.currentType!==14&&y.currentType!==1);const w=y.currentType===1?y.lastOffset:g.currentOffset(),T=y.currentType===1?y.lastEndLoc:g.currentPosition();return i(_,w,T),_}function h(g,y,S,C){const _=g.context();let x=C.items.length===0;const w=r(1,y,S);w.cases=[],w.cases.push(C);do{const T=p(g);x||(x=T.items.length===0),w.cases.push(T)}while(_.currentType!==14);return x&&o(g,ft.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),i(w,g.currentOffset(),g.currentPosition()),w}function m(g){const y=g.context(),{offset:S,startLoc:C}=y,_=p(g);return y.currentType===14?_:h(g,S,C,_)}function v(g){const y=HR(g,Ox({},e)),S=y.context(),C=r(0,S.offset,S.startLoc);return t&&C.loc&&(C.loc.source=g),C.body=m(y),e.onCacheKey&&(C.cacheKey=e.onCacheKey(g)),S.currentType!==14&&o(y,ft.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,g[S.offset]||""),i(C,y.currentOffset(),y.currentPosition()),C}return{parse:v}}function Po(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 qR(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function Jg(e,t){for(let n=0;nev(n)),e}function ev(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,g){s.code+=v}function u(v,g=!0){const y=g?r:"";c(i?y+" ".repeat(v):y)}function d(v=!0){const g=++s.indentLevel;v&&u(g)}function f(v=!0){const g=--s.indentLevel;v&&u(g)}function p(){u(s.indentLevel)}return{context:l,push:c,indent:d,deindent:f,newline:p,helper:v=>`_${v}`,needIndent:()=>s.needIndent}}function ZR(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ma(e,t.key),t.modifier?(e.push(", "),ma(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function JR(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=Qg(t.mode)?t.mode:"normal",o=Qg(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=QR(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 { ${Dx(s.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),ma(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 oE(e,t={}){const n=Ox({},t),o=!!n.jit,r=!!n.minify,i=n.optimize==null?!0:n.optimize,s=WR(n).parse(e);return o?(i&&GR(s),r&&Yi(s),{ast:s,code:""}):(KR(s,n),nE(s,n))}/*! * core-base v9.7.1 * (c) 2023 kazuya kawaguchi * Released under the MIT License. - */function oE(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Zo().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Zo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Zo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Dr=[];Dr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Dr[1]={w:[1],".":[2],"[":[4],o:[7]};Dr[2]={w:[2],i:[3,0],0:[3,0]};Dr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Dr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Dr[5]={"'":[4,0],o:8,l:[5,0]};Dr[6]={'"':[4,0],o:8,l:[6,0]};const rE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function iE(e){return rE.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 sE(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 lE(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:iE(t)?aE(t):"*"+t}function cE(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=lE(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=sE(i),d=Dr[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 ev=new Map;function uE(e,t){return Ht(e)?e[t]:null}function dE(e,t){if(!Ht(e))return null;let n=ev.get(t);if(n||(n=cE(t),n&&ev.set(t,n)),!n)return null;const o=n.length;let r=e,i=0;for(;ie,hE=e=>"",pE="text",mE=e=>e.length===0?"":TR(e),gE=kR;function tv(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=gn(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(gn(e.named.count)||gn(e.named.n))?gn(e.named.count)?e.named.count:gn(e.named.n)?e.named.n:t:t}function bE(e,t){t.count||(t.count=e),t.n||(t.n=e)}function yE(e={}){const t=e.locale,n=vE(e),o=Ht(e.pluralRules)&&Ue(t)&&on(e.pluralRules[t])?e.pluralRules[t]:tv,r=Ht(e.pluralRules)&&Ue(t)&&on(e.pluralRules[t])?tv:void 0,i=g=>g[o(n,g.length,r)],a=e.list||[],s=g=>a[g],l=e.named||{};gn(e.pluralIndex)&&bE(n,l);const c=g=>l[g];function u(g){const y=on(e.messages)?e.messages(g):Ht(e.messages)?e.messages[g]:!1;return y||(e.parent?e.parent.message(g):hE)}const d=g=>e.modifiers?e.modifiers[g]:fE,f=mt(e.processor)&&on(e.processor.normalize)?e.processor.normalize:mE,p=mt(e.processor)&&on(e.processor.interpolate)?e.processor.interpolate:gE,h=mt(e.processor)&&Ue(e.processor.type)?e.processor.type:pE,v={list:s,named:c,plural:i,linked:(g,...y)=>{const[S,C]=y;let _="text",x="";y.length===1?Ht(S)?(x=S.modifier||x,_=S.type||_):Ue(S)&&(x=S||x):y.length===2&&(Ue(S)&&(x=S||x),Ue(C)&&(_=C||_));const w=u(g)(v),T=_==="vnode"&&Zt(w)&&x?w[0]:w;return x?d(x)(T,_):T},message:u,type:h,interpolate:p,normalize:f,values:_n({},a,l)};return v}let Is=null;function xE(e){Is=e}function CE(e,t,n){Is&&Is.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const wE=_E("function:translate");function _E(e){return t=>Is&&Is.emit(e,t)}const SE={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8};function sp(e,t){return t.locale!=null?nv(t.locale):nv(e.locale)}let md;function nv(e){return Ue(e)?e:md!=null&&e.resolvedOnce?md:md=e()}function kE(e,t,n){return[...new Set([n,...Zt(t)?t:Ht(t)?Object.keys(t):Ue(t)?[t]:[n]])]}function Dx(e,t,n){const o=Ue(n)?n:ga,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let i=r.__localeChainCache.get(o);if(!i){i=[];let a=[n];for(;Zt(a);)a=ov(i,a,t);const s=Zt(t)||!mt(t)?t:t.default?t.default:null;a=Ue(s)?[s]:s,Zt(a)&&ov(i,a,!1),r.__localeChainCache.set(o,i)}return i}function ov(e,t,n){let o=!0;for(let r=0;r`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function EE(){return{upper:(e,t)=>t==="text"&&Ue(e)?e.toUpperCase():t==="vnode"&&Ht(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Ue(e)?e.toLowerCase():t==="vnode"&&Ht(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Ue(e)?iv(e):t==="vnode"&&Ht(e)&&"__v_isVNode"in e?iv(e.children):e}}let Lx;function av(e){Lx=e}let Fx;function $E(e){Fx=e}let Nx;function AE(e){Nx=e}let Bx=null;const IE=e=>{Bx=e},ME=()=>Bx;let Hx=null;const sv=e=>{Hx=e},zE=()=>Hx;let lv=0;function OE(e={}){const t=on(e.onWarn)?e.onWarn:PR,n=Ue(e.version)?e.version:RE,o=Ue(e.locale)||on(e.locale)?e.locale:ga,r=on(o)?ga:o,i=Zt(e.fallbackLocale)||mt(e.fallbackLocale)||Ue(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=_n({},e.modifiers||{},EE()),u=e.pluralRules||{},d=on(e.missing)?e.missing:null,f=Ct(e.missingWarn)||$r(e.missingWarn)?e.missingWarn:!0,p=Ct(e.fallbackWarn)||$r(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,m=!!e.unresolving,v=on(e.postTranslation)?e.postTranslation:null,g=mt(e.processor)?e.processor:null,y=Ct(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter,C=on(e.messageCompiler)?e.messageCompiler:Lx,_=on(e.messageResolver)?e.messageResolver:Fx||uE,x=on(e.localeFallbacker)?e.localeFallbacker:Nx||kE,w=Ht(e.fallbackContext)?e.fallbackContext:void 0,T=e,P=Ht(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,k=Ht(T.__numberFormatters)?T.__numberFormatters:new Map,I=Ht(T.__meta)?T.__meta:{};lv++;const A={version:n,cid:lv,locale:o,fallbackLocale:i,messages:a,modifiers:c,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:m,postTranslation:v,processor:g,warnHtmlMessage:y,escapeParameter:S,messageCompiler:C,messageResolver:_,localeFallbacker:x,fallbackContext:w,onWarn:t,__meta:I};return A.datetimeFormats=s,A.numberFormats=l,A.__datetimeFormatters=P,A.__numberFormatters=k,__INTLIFY_PROD_DEVTOOLS__&&CE(A,n,I),A}function lp(e,t,n,o,r){const{missing:i,onWarn:a}=e;if(i!==null){const s=i(e,n,t,r);return Ue(s)?s:t}else return t}function Ya(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function gd(e){return n=>DE(n,e)}function DE(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,cv(e,a)],[]))}else return cv(e,n)}function cv(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,Af(e,i)],[]);return e.normalize(o)}}function Af(e,t){const n=t.t||t.type;switch(n){case 3:const o=t;return o.v||o.value;case 9:const r=t;return r.v||r.value;case 4:const i=t;return e.interpolate(e.named(i.k||i.key));case 5:const a=t;return e.interpolate(e.list(a.i!=null?a.i:a.index));case 6:const s=t,l=s.m||s.modifier;return e.linked(Af(e,s.k||s.key),l?Af(e,l):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const u=t;return u.v||u.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const jx=ft.__EXTEND_POINT__,wl=ip(jx),Sr={INVALID_ARGUMENT:jx,INVALID_DATE_ARGUMENT:wl(),INVALID_ISO_DATE_ARGUMENT:wl(),NOT_SUPPORT_NON_STRING_MESSAGE:wl(),__EXTEND_POINT__:wl()};function ei(e){return Ea(e,null,void 0)}const Vx=e=>e;let Qi=Object.create(null);const va=e=>Ht(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Ux(e,t={}){let n=!1;const o=t.onError||MR;return t.onError=r=>{n=!0,o(r)},{...nE(e,t),detectError:n}}const LE=(e,t)=>{if(!Ue(e))throw ei(Sr.NOT_SUPPORT_NON_STRING_MESSAGE);{Ct(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||Vx)(e),r=Qi[o];if(r)return r;const{code:i,detectError:a}=Ux(e,t),s=new Function(`return ${i}`)();return a?s:Qi[o]=s}};function FE(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&Ue(e)){Ct(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||Vx)(e),r=Qi[o];if(r)return r;const{ast:i,detectError:a}=Ux(e,{...t,location:!1,jit:!0}),s=gd(i);return a?s:Qi[o]=s}else{const n=e.cacheKey;if(n){const o=Qi[n];return o||(Qi[n]=gd(e))}else return gd(e)}}const uv=()=>"",Zn=e=>on(e);function dv(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,messageCompiler:i,fallbackLocale:a,messages:s}=e,[l,c]=If(...t),u=Ct(c.missingWarn)?c.missingWarn:e.missingWarn,d=Ct(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=Ct(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=Ue(c.default)||Ct(c.default)?Ct(c.default)?i?l:()=>l:c.default:n?i?l:()=>l:"",m=n||h!=="",v=sp(e,c);f&&NE(c);let[g,y,S]=p?[l,v,s[v]||{}]:Wx(e,l,v,a,d,u),C=g,_=l;if(!p&&!(Ue(C)||va(C)||Zn(C))&&m&&(C=h,_=C),!p&&(!(Ue(C)||va(C)||Zn(C))||!Ue(y)))return r?au:l;let x=!1;const w=()=>{x=!0},T=Zn(C)?C:qx(e,l,y,C,_,w);if(x)return C;const P=jE(e,y,S,c),k=yE(P),I=BE(e,T,k),A=o?o(I,l):I;if(__INTLIFY_PROD_DEVTOOLS__){const q={timestamp:Date.now(),key:Ue(l)?l:Zn(C)?C.key:"",locale:y||(Zn(C)?C.locale:""),format:Ue(C)?C:Zn(C)?C.source:"",message:A};q.meta=_n({},e.__meta,ME()||{}),wE(q)}return A}function NE(e){Zt(e.list)?e.list=e.list.map(t=>Ue(t)?Yg(t):t):Ht(e.named)&&Object.keys(e.named).forEach(t=>{Ue(e.named[t])&&(e.named[t]=Yg(e.named[t]))})}function Wx(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,HE(e,n,r,o,s,i));return l.locale=n,l.key=t,l.source=o,l}function BE(e,t,n){return t(n)}function If(...e){const[t,n,o]=e,r={};if(!Ue(t)&&!gn(t)&&!Zn(t)&&!va(t))throw ei(Sr.INVALID_ARGUMENT);const i=gn(t)?String(t):(Zn(t),t);return gn(n)?r.plural=n:Ue(n)?r.default=n:mt(n)&&!iu(n)?r.named=n:Zt(n)&&(r.list=n),gn(o)?r.plural=o:Ue(o)?r.default=o:mt(o)&&_n(r,o),[i,r]}function HE(e,t,n,o,r,i){return{locale:t,key:n,warnHtmlMessage:r,onError:a=>{throw i&&i(a),a},onCacheKey:a=>CR(t,n,a)}}function jE(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]=Wx(u,p,t,s,l,c);h=a(m,p)}if(Ue(h)||va(h)){let m=!1;const g=qx(e,p,t,h,p,()=>{m=!0});return m?uv:g}else return Zn(h)?h:uv}};return e.processor&&(f.processor=e.processor),o.list&&(f.list=o.list),o.named&&(f.named=o.named),gn(o.plural)&&(f.pluralIndex=o.plural),f}function fv(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:s}=e,[l,c,u,d]=Mf(...t),f=Ct(u.missingWarn)?u.missingWarn:e.missingWarn;Ct(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=sp(e,u),m=a(e,r,h);if(!Ue(l)||l==="")return new Intl.DateTimeFormat(h,d).format(c);let v={},g,y=null;const S="datetime format";for(let x=0;x{Kx.includes(l)?a[l]=n[l]:i[l]=n[l]}),Ue(o)?i.locale=o:mt(o)&&(a=o),mt(r)&&(a=r),[i.key||"",s,i,a]}function hv(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__datetimeFormatters.has(i)&&o.__datetimeFormatters.delete(i)}}function pv(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:s}=e,[l,c,u,d]=zf(...t),f=Ct(u.missingWarn)?u.missingWarn:e.missingWarn;Ct(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=sp(e,u),m=a(e,r,h);if(!Ue(l)||l==="")return new Intl.NumberFormat(h,d).format(c);let v={},g,y=null;const S="number format";for(let x=0;x{Gx.includes(l)?a[l]=n[l]:i[l]=n[l]}),Ue(o)?i.locale=o:mt(o)&&(a=o),mt(r)&&(a=r),[i.key||"",s,i,a]}function mv(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__numberFormatters.has(i)&&o.__numberFormatters.delete(i)}}oE();/*! + */function rE(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Zo().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Zo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Zo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Dr=[];Dr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Dr[1]={w:[1],".":[2],"[":[4],o:[7]};Dr[2]={w:[2],i:[3,0],0:[3,0]};Dr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Dr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Dr[5]={"'":[4,0],o:8,l:[5,0]};Dr[6]={'"':[4,0],o:8,l:[6,0]};const iE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function aE(e){return iE.test(e)}function sE(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 lE(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 cE(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:aE(t)?sE(t):"*"+t}function uE(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=cE(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=lE(i),d=Dr[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 tv=new Map;function dE(e,t){return Ht(e)?e[t]:null}function fE(e,t){if(!Ht(e))return null;let n=tv.get(t);if(n||(n=uE(t),n&&tv.set(t,n)),!n)return null;const o=n.length;let r=e,i=0;for(;ie,pE=e=>"",mE="text",gE=e=>e.length===0?"":PR(e),vE=TR;function nv(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function bE(e){const t=gn(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(gn(e.named.count)||gn(e.named.n))?gn(e.named.count)?e.named.count:gn(e.named.n)?e.named.n:t:t}function yE(e,t){t.count||(t.count=e),t.n||(t.n=e)}function xE(e={}){const t=e.locale,n=bE(e),o=Ht(e.pluralRules)&&Ue(t)&&on(e.pluralRules[t])?e.pluralRules[t]:nv,r=Ht(e.pluralRules)&&Ue(t)&&on(e.pluralRules[t])?nv:void 0,i=g=>g[o(n,g.length,r)],a=e.list||[],s=g=>a[g],l=e.named||{};gn(e.pluralIndex)&&yE(n,l);const c=g=>l[g];function u(g){const y=on(e.messages)?e.messages(g):Ht(e.messages)?e.messages[g]:!1;return y||(e.parent?e.parent.message(g):pE)}const d=g=>e.modifiers?e.modifiers[g]:hE,f=mt(e.processor)&&on(e.processor.normalize)?e.processor.normalize:gE,p=mt(e.processor)&&on(e.processor.interpolate)?e.processor.interpolate:vE,h=mt(e.processor)&&Ue(e.processor.type)?e.processor.type:mE,v={list:s,named:c,plural:i,linked:(g,...y)=>{const[S,C]=y;let _="text",x="";y.length===1?Ht(S)?(x=S.modifier||x,_=S.type||_):Ue(S)&&(x=S||x):y.length===2&&(Ue(S)&&(x=S||x),Ue(C)&&(_=C||_));const w=u(g)(v),T=_==="vnode"&&Zt(w)&&x?w[0]:w;return x?d(x)(T,_):T},message:u,type:h,interpolate:p,normalize:f,values:_n({},a,l)};return v}let Is=null;function CE(e){Is=e}function wE(e,t,n){Is&&Is.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const _E=SE("function:translate");function SE(e){return t=>Is&&Is.emit(e,t)}const kE={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8};function sp(e,t){return t.locale!=null?ov(t.locale):ov(e.locale)}let md;function ov(e){return Ue(e)?e:md!=null&&e.resolvedOnce?md:md=e()}function TE(e,t,n){return[...new Set([n,...Zt(t)?t:Ht(t)?Object.keys(t):Ue(t)?[t]:[n]])]}function Lx(e,t,n){const o=Ue(n)?n:ga,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let i=r.__localeChainCache.get(o);if(!i){i=[];let a=[n];for(;Zt(a);)a=rv(i,a,t);const s=Zt(t)||!mt(t)?t:t.default?t.default:null;a=Ue(s)?[s]:s,Zt(a)&&rv(i,a,!1),r.__localeChainCache.set(o,i)}return i}function rv(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"&&Ue(e)?e.toUpperCase():t==="vnode"&&Ht(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Ue(e)?e.toLowerCase():t==="vnode"&&Ht(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Ue(e)?av(e):t==="vnode"&&Ht(e)&&"__v_isVNode"in e?av(e.children):e}}let Fx;function sv(e){Fx=e}let Nx;function AE(e){Nx=e}let Bx;function IE(e){Bx=e}let Hx=null;const ME=e=>{Hx=e},zE=()=>Hx;let jx=null;const lv=e=>{jx=e},OE=()=>jx;let cv=0;function DE(e={}){const t=on(e.onWarn)?e.onWarn:RR,n=Ue(e.version)?e.version:EE,o=Ue(e.locale)||on(e.locale)?e.locale:ga,r=on(o)?ga:o,i=Zt(e.fallbackLocale)||mt(e.fallbackLocale)||Ue(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=_n({},e.modifiers||{},$E()),u=e.pluralRules||{},d=on(e.missing)?e.missing:null,f=Ct(e.missingWarn)||$r(e.missingWarn)?e.missingWarn:!0,p=Ct(e.fallbackWarn)||$r(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,m=!!e.unresolving,v=on(e.postTranslation)?e.postTranslation:null,g=mt(e.processor)?e.processor:null,y=Ct(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter,C=on(e.messageCompiler)?e.messageCompiler:Fx,_=on(e.messageResolver)?e.messageResolver:Nx||dE,x=on(e.localeFallbacker)?e.localeFallbacker:Bx||TE,w=Ht(e.fallbackContext)?e.fallbackContext:void 0,T=e,P=Ht(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,k=Ht(T.__numberFormatters)?T.__numberFormatters:new Map,A=Ht(T.__meta)?T.__meta:{};cv++;const I={version:n,cid:cv,locale:o,fallbackLocale:i,messages:a,modifiers:c,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:m,postTranslation:v,processor:g,warnHtmlMessage:y,escapeParameter:S,messageCompiler:C,messageResolver:_,localeFallbacker:x,fallbackContext:w,onWarn:t,__meta:A};return I.datetimeFormats=s,I.numberFormats=l,I.__datetimeFormatters=P,I.__numberFormatters=k,__INTLIFY_PROD_DEVTOOLS__&&wE(I,n,A),I}function lp(e,t,n,o,r){const{missing:i,onWarn:a}=e;if(i!==null){const s=i(e,n,t,r);return Ue(s)?s:t}else return t}function Ya(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function gd(e){return n=>LE(n,e)}function LE(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,uv(e,a)],[]))}else return uv(e,n)}function uv(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,Af(e,i)],[]);return e.normalize(o)}}function Af(e,t){const n=t.t||t.type;switch(n){case 3:const o=t;return o.v||o.value;case 9:const r=t;return r.v||r.value;case 4:const i=t;return e.interpolate(e.named(i.k||i.key));case 5:const a=t;return e.interpolate(e.list(a.i!=null?a.i:a.index));case 6:const s=t,l=s.m||s.modifier;return e.linked(Af(e,s.k||s.key),l?Af(e,l):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const u=t;return u.v||u.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Vx=ft.__EXTEND_POINT__,wl=ip(Vx),Sr={INVALID_ARGUMENT:Vx,INVALID_DATE_ARGUMENT:wl(),INVALID_ISO_DATE_ARGUMENT:wl(),NOT_SUPPORT_NON_STRING_MESSAGE:wl(),__EXTEND_POINT__:wl()};function ei(e){return Ea(e,null,void 0)}const Ux=e=>e;let Qi=Object.create(null);const va=e=>Ht(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Wx(e,t={}){let n=!1;const o=t.onError||zR;return t.onError=r=>{n=!0,o(r)},{...oE(e,t),detectError:n}}const FE=(e,t)=>{if(!Ue(e))throw ei(Sr.NOT_SUPPORT_NON_STRING_MESSAGE);{Ct(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||Ux)(e),r=Qi[o];if(r)return r;const{code:i,detectError:a}=Wx(e,t),s=new Function(`return ${i}`)();return a?s:Qi[o]=s}};function NE(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&Ue(e)){Ct(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||Ux)(e),r=Qi[o];if(r)return r;const{ast:i,detectError:a}=Wx(e,{...t,location:!1,jit:!0}),s=gd(i);return a?s:Qi[o]=s}else{const n=e.cacheKey;if(n){const o=Qi[n];return o||(Qi[n]=gd(e))}else return gd(e)}}const dv=()=>"",Zn=e=>on(e);function fv(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,messageCompiler:i,fallbackLocale:a,messages:s}=e,[l,c]=If(...t),u=Ct(c.missingWarn)?c.missingWarn:e.missingWarn,d=Ct(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=Ct(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=Ue(c.default)||Ct(c.default)?Ct(c.default)?i?l:()=>l:c.default:n?i?l:()=>l:"",m=n||h!=="",v=sp(e,c);f&&BE(c);let[g,y,S]=p?[l,v,s[v]||{}]:qx(e,l,v,a,d,u),C=g,_=l;if(!p&&!(Ue(C)||va(C)||Zn(C))&&m&&(C=h,_=C),!p&&(!(Ue(C)||va(C)||Zn(C))||!Ue(y)))return r?au:l;let x=!1;const w=()=>{x=!0},T=Zn(C)?C:Kx(e,l,y,C,_,w);if(x)return C;const P=VE(e,y,S,c),k=xE(P),A=HE(e,T,k),I=o?o(A,l):A;if(__INTLIFY_PROD_DEVTOOLS__){const W={timestamp:Date.now(),key:Ue(l)?l:Zn(C)?C.key:"",locale:y||(Zn(C)?C.locale:""),format:Ue(C)?C:Zn(C)?C.source:"",message:I};W.meta=_n({},e.__meta,zE()||{}),_E(W)}return I}function BE(e){Zt(e.list)?e.list=e.list.map(t=>Ue(t)?Xg(t):t):Ht(e.named)&&Object.keys(e.named).forEach(t=>{Ue(e.named[t])&&(e.named[t]=Xg(e.named[t]))})}function qx(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,jE(e,n,r,o,s,i));return l.locale=n,l.key=t,l.source=o,l}function HE(e,t,n){return t(n)}function If(...e){const[t,n,o]=e,r={};if(!Ue(t)&&!gn(t)&&!Zn(t)&&!va(t))throw ei(Sr.INVALID_ARGUMENT);const i=gn(t)?String(t):(Zn(t),t);return gn(n)?r.plural=n:Ue(n)?r.default=n:mt(n)&&!iu(n)?r.named=n:Zt(n)&&(r.list=n),gn(o)?r.plural=o:Ue(o)?r.default=o:mt(o)&&_n(r,o),[i,r]}function jE(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 VE(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]=qx(u,p,t,s,l,c);h=a(m,p)}if(Ue(h)||va(h)){let m=!1;const g=Kx(e,p,t,h,p,()=>{m=!0});return m?dv:g}else return Zn(h)?h:dv}};return e.processor&&(f.processor=e.processor),o.list&&(f.list=o.list),o.named&&(f.named=o.named),gn(o.plural)&&(f.pluralIndex=o.plural),f}function hv(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:s}=e,[l,c,u,d]=Mf(...t),f=Ct(u.missingWarn)?u.missingWarn:e.missingWarn;Ct(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=sp(e,u),m=a(e,r,h);if(!Ue(l)||l==="")return new Intl.DateTimeFormat(h,d).format(c);let v={},g,y=null;const S="datetime format";for(let x=0;x{Gx.includes(l)?a[l]=n[l]:i[l]=n[l]}),Ue(o)?i.locale=o:mt(o)&&(a=o),mt(r)&&(a=r),[i.key||"",s,i,a]}function pv(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__datetimeFormatters.has(i)&&o.__datetimeFormatters.delete(i)}}function mv(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:s}=e,[l,c,u,d]=zf(...t),f=Ct(u.missingWarn)?u.missingWarn:e.missingWarn;Ct(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=sp(e,u),m=a(e,r,h);if(!Ue(l)||l==="")return new Intl.NumberFormat(h,d).format(c);let v={},g,y=null;const S="number format";for(let x=0;x{Yx.includes(l)?a[l]=n[l]:i[l]=n[l]}),Ue(o)?i.locale=o:mt(o)&&(a=o),mt(r)&&(a=r),[i.key||"",s,i,a]}function gv(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__numberFormatters.has(i)&&o.__numberFormatters.delete(i)}}rE();/*! * vue-i18n v9.7.1 * (c) 2023 kazuya kawaguchi * Released under the MIT License. - */const VE="9.7.1";function UE(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Zo().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Zo().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Zo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Zo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Zo().__INTLIFY_PROD_DEVTOOLS__=!1)}const Yx=SE.__EXTEND_POINT__,mr=ip(Yx);mr(),mr(),mr(),mr(),mr(),mr(),mr(),mr();const Xx=Sr.__EXTEND_POINT__,zn=ip(Xx),vn={UNEXPECTED_RETURN_TYPE:Xx,INVALID_ARGUMENT:zn(),MUST_BE_CALL_SETUP_TOP:zn(),NOT_INSTALLED:zn(),NOT_AVAILABLE_IN_LEGACY_MODE:zn(),REQUIRED_VALUE:zn(),INVALID_VALUE:zn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:zn(),NOT_INSTALLED_WITH_PROVIDE:zn(),UNEXPECTED_ERROR:zn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:zn(),BRIDGE_SUPPORT_VUE_2_ONLY:zn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:zn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:zn(),__EXTEND_POINT__:zn()};function xn(e,...t){return Ea(e,null,void 0)}const Of=Or("__translateVNode"),Df=Or("__datetimeParts"),Lf=Or("__numberParts"),Qx=Or("__setPluralRules"),Zx=Or("__injectWithOption"),Ff=Or("__dispose");function Ms(e){if(!Ht(e))return e;for(const t in e)if(As(e,t))if(!t.includes("."))Ht(e[t])&&Ms(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]||{},fs(c,a[l])):fs(c,a)}else Ue(s)&&fs(JSON.parse(s),a)}),r==null&&i)for(const s in a)As(a,s)&&Ms(a[s]);return a}function Jx(e){return e.type}function eC(e,t,n){let o=Ht(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=su(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);r.length&&r.forEach(i=>{e.mergeLocaleMessage(i,o[i])});{if(Ht(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(Ht(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function gv(e){return ee(Ta,null,e,0)}const vv="__INTLIFY_META__",bv=()=>[],WE=()=>!1;let yv=0;function xv(e){return(t,n,o,r)=>e(n,o,Gn()||void 0,r)}const qE=()=>{const e=Gn();let t=null;return e&&(t=Jx(e)[vv])?{[vv]:t}:null};function cp(e={},t){const{__root:n,__injectWithOption:o}=e,r=n===void 0,i=e.flatJson;let a=Ct(e.inheritLocale)?e.inheritLocale:!0;const s=B(n&&a?n.locale.value:Ue(e.locale)?e.locale:ga),l=B(n&&a?n.fallbackLocale.value:Ue(e.fallbackLocale)||Zt(e.fallbackLocale)||mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),c=B(su(s.value,e)),u=B(mt(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),d=B(mt(e.numberFormats)?e.numberFormats:{[s.value]:{}});let f=n?n.missingWarn:Ct(e.missingWarn)||$r(e.missingWarn)?e.missingWarn:!0,p=n?n.fallbackWarn:Ct(e.fallbackWarn)||$r(e.fallbackWarn)?e.fallbackWarn:!0,h=n?n.fallbackRoot:Ct(e.fallbackRoot)?e.fallbackRoot:!0,m=!!e.fallbackFormat,v=on(e.missing)?e.missing:null,g=on(e.missing)?xv(e.missing):null,y=on(e.postTranslation)?e.postTranslation:null,S=n?n.warnHtmlMessage:Ct(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter;const _=n?n.modifiers:mt(e.modifiers)?e.modifiers:{};let x=e.pluralRules||n&&n.pluralRules,w;w=(()=>{r&&sv(null);const te={version:VE,locale:s.value,fallbackLocale:l.value,messages:c.value,modifiers:_,pluralRules:x,missing:g===null?void 0:g,missingWarn:f,fallbackWarn:p,fallbackFormat:m,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:S,escapeParameter:C,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};te.datetimeFormats=u.value,te.numberFormats=d.value,te.__datetimeFormatters=mt(w)?w.__datetimeFormatters:void 0,te.__numberFormatters=mt(w)?w.__numberFormatters:void 0;const oe=OE(te);return r&&sv(oe),oe})(),Ya(w,s.value,l.value);function P(){return[s.value,l.value,c.value,u.value,d.value]}const k=N({get:()=>s.value,set:te=>{s.value=te,w.locale=s.value}}),I=N({get:()=>l.value,set:te=>{l.value=te,w.fallbackLocale=l.value,Ya(w,s.value,te)}}),A=N(()=>c.value),q=N(()=>u.value),F=N(()=>d.value);function O(){return on(y)?y:null}function $(te){y=te,w.postTranslation=te}function W(){return v}function Q(te){te!==null&&(g=xv(te)),v=te,w.missing=g}const L=(te,oe,Ee,De,qe,tt)=>{P();let Me;try{__INTLIFY_PROD_DEVTOOLS__,r||(w.fallbackContext=n?zE():void 0),Me=te(w)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(w.fallbackContext=void 0)}if(Ee!=="translate exists"&&gn(Me)&&Me===au||Ee==="translate exists"&&!Me){const[je,dt]=oe();return n&&h?De(n):qe(je)}else{if(tt(Me))return Me;throw xn(vn.UNEXPECTED_RETURN_TYPE)}};function M(...te){return L(oe=>Reflect.apply(dv,null,[oe,...te]),()=>If(...te),"translate",oe=>Reflect.apply(oe.t,oe,[...te]),oe=>oe,oe=>Ue(oe))}function se(...te){const[oe,Ee,De]=te;if(De&&!Ht(De))throw xn(vn.INVALID_ARGUMENT);return M(oe,Ee,_n({resolvedMessage:!0},De||{}))}function X(...te){return L(oe=>Reflect.apply(fv,null,[oe,...te]),()=>Mf(...te),"datetime format",oe=>Reflect.apply(oe.d,oe,[...te]),()=>rv,oe=>Ue(oe))}function ne(...te){return L(oe=>Reflect.apply(pv,null,[oe,...te]),()=>zf(...te),"number format",oe=>Reflect.apply(oe.n,oe,[...te]),()=>rv,oe=>Ue(oe))}function fe(te){return te.map(oe=>Ue(oe)||gn(oe)||Ct(oe)?gv(String(oe)):oe)}const Ce={normalize:fe,interpolate:te=>te,type:"vnode"};function G(...te){return L(oe=>{let Ee;const De=oe;try{De.processor=Ce,Ee=Reflect.apply(dv,null,[De,...te])}finally{De.processor=null}return Ee},()=>If(...te),"translate",oe=>oe[Of](...te),oe=>[gv(oe)],oe=>Zt(oe))}function ve(...te){return L(oe=>Reflect.apply(pv,null,[oe,...te]),()=>zf(...te),"number format",oe=>oe[Lf](...te),bv,oe=>Ue(oe)||Zt(oe))}function ue(...te){return L(oe=>Reflect.apply(fv,null,[oe,...te]),()=>Mf(...te),"datetime format",oe=>oe[Df](...te),bv,oe=>Ue(oe)||Zt(oe))}function re(te){x=te,w.pluralRules=x}function ke(te,oe){return L(()=>{if(!te)return!1;const Ee=Ue(oe)?oe:s.value,De=E(Ee),qe=w.messageResolver(De,te);return va(qe)||Zn(qe)||Ue(qe)},()=>[te],"translate exists",Ee=>Reflect.apply(Ee.te,Ee,[te,oe]),WE,Ee=>Ct(Ee))}function V(te){let oe=null;const Ee=Dx(w,l.value,s.value);for(let De=0;De{a&&(s.value=te,w.locale=te,Ya(w,s.value,l.value))}),ht(n.fallbackLocale,te=>{a&&(l.value=te,w.fallbackLocale=te,Ya(w,s.value,l.value))}));const _e={id:yv,locale:k,fallbackLocale:I,get inheritLocale(){return a},set inheritLocale(te){a=te,te&&n&&(s.value=n.locale.value,l.value=n.fallbackLocale.value,Ya(w,s.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:A,get modifiers(){return _},get pluralRules(){return x||{}},get isGlobal(){return r},get missingWarn(){return f},set missingWarn(te){f=te,w.missingWarn=f},get fallbackWarn(){return p},set fallbackWarn(te){p=te,w.fallbackWarn=p},get fallbackRoot(){return h},set fallbackRoot(te){h=te},get fallbackFormat(){return m},set fallbackFormat(te){m=te,w.fallbackFormat=m},get warnHtmlMessage(){return S},set warnHtmlMessage(te){S=te,w.warnHtmlMessage=te},get escapeParameter(){return C},set escapeParameter(te){C=te,w.escapeParameter=te},t:M,getLocaleMessage:E,setLocaleMessage:U,mergeLocaleMessage:ie,getPostTranslationHandler:O,setPostTranslationHandler:$,getMissingHandler:W,setMissingHandler:Q,[Qx]:re};return _e.datetimeFormats=q,_e.numberFormats=F,_e.rt=se,_e.te=ke,_e.tm=R,_e.d=X,_e.n=ne,_e.getDateTimeFormat=Y,_e.setDateTimeFormat=he,_e.mergeDateTimeFormat=ye,_e.getNumberFormat=ge,_e.setNumberFormat=J,_e.mergeNumberFormat=de,_e[Zx]=o,_e[Of]=G,_e[Df]=ue,_e[Lf]=ve,_e}function KE(e){const t=Ue(e.locale)?e.locale:ga,n=Ue(e.fallbackLocale)||Zt(e.fallbackLocale)||mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=on(e.missing)?e.missing:void 0,r=Ct(e.silentTranslationWarn)||$r(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=Ct(e.silentFallbackWarn)||$r(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=Ct(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,l=mt(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=on(e.postTranslation)?e.postTranslation:void 0,d=Ue(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,p=Ct(e.sync)?e.sync:!0;let h=e.messages;if(mt(e.sharedMessages)){const _=e.sharedMessages;h=Object.keys(_).reduce((w,T)=>{const P=w[T]||(w[T]={});return _n(P,_[T]),w},h||{})}const{__i18n:m,__root:v,__injectWithOption:g}=e,y=e.datetimeFormats,S=e.numberFormats,C=e.flatJson;return{locale:t,fallbackLocale:n,messages:h,flatJson:C,datetimeFormats:y,numberFormats:S,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,__i18n:m,__root:v,__injectWithOption:g}}function Nf(e={},t){{const n=cp(KE(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 Ct(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=Ct(i)?!i:i},get silentFallbackWarn(){return Ct(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=Ct(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(!Ue(a))throw xn(vn.INVALID_ARGUMENT);const f=a;return Ue(s)?c.locale=s:Zt(s)?u=s:mt(s)&&(d=s),Zt(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(!Ue(a))throw xn(vn.INVALID_ARGUMENT);const f=a;return Ue(s)?c.locale=s:gn(s)?c.plural=s:Zt(s)?u=s:mt(s)&&(d=s),Ue(l)?c.locale=l:Zt(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 up={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function GE({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,r)=>[...o,...r.type===et?r.children:[r]],[]):t.reduce((n,o)=>{const r=e[o];return r&&(n[o]=r()),n},{})}function tC(e){return et}const YE=pe({name:"i18n-t",props:_n({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>gn(e)||!isNaN(e)}},up),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||dp({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=Ue(e.plural)?+e.plural:e.plural);const s=GE(t,i),l=r[Of](e.keypath,s,a),c=_n({},o),u=Ue(e.tag)||Ht(e.tag)?e.tag:tC();return b(u,c,l)}}}),Cv=YE;function XE(e){return Zt(e)&&!Ue(e[0])}function nC(e,t,n,o){const{slots:r,attrs:i}=t;return()=>{const a={part:!0};let s={};e.locale&&(a.locale=e.locale),Ue(e.format)?a.key=e.format:Ht(e.format)&&(Ue(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce((f,p)=>n.includes(p)?_n({},f,{[p]:e.format[p]}):f,{}));const l=o(e.value,a,s);let c=[a.key];Zt(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 XE(m)&&(m[0].key=`${f.type}-${p}`),m}):Ue(l)&&(c=[l]);const u=_n({},i),d=Ue(e.tag)||Ht(e.tag)?e.tag:tC();return b(d,u,c)}}const QE=pe({name:"i18n-n",props:_n({value:{type:Number,required:!0},format:{type:[String,Object]}},up),setup(e,t){const n=e.i18n||dp({useScope:"parent",__useComponent:!0});return nC(e,t,Gx,(...o)=>n[Lf](...o))}}),wv=QE,ZE=pe({name:"i18n-d",props:_n({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},up),setup(e,t){const n=e.i18n||dp({useScope:"parent",__useComponent:!0});return nC(e,t,Kx,(...o)=>n[Df](...o))}}),_v=ZE;function JE(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 e$(e){const t=a=>{const{instance:s,modifiers:l,value:c}=a;if(!s||!s.$)throw xn(vn.UNEXPECTED_ERROR);const u=JE(e,s.$),d=Sv(c);return[Reflect.apply(u.t,u,[...kv(d)]),u]};return{created:(a,s)=>{const[l,c]=t(s);Ef&&e.global===c&&(a.__i18nWatcher=ht(c.locale,()=>{s.instance&&s.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{Ef&&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=Sv(s);a.textContent=Reflect.apply(l.t,l,[...kv(c)])}},getSSRProps:a=>{const[s]=t(a);return{textContent:s}}}}function Sv(e){if(Ue(e))return{path:e};if(mt(e)){if(!("path"in e))throw xn(vn.REQUIRED_VALUE,"path");return e}else throw xn(vn.INVALID_VALUE)}function kv(e){const{path:t,locale:n,args:o,choice:r,plural:i}=e,a={},s=o||{};return Ue(n)&&(a.locale=n),gn(r)&&(a.plural=r),gn(i)&&(a.plural=i),[t,s,a]}function t$(e,t,...n){const o=mt(n[0])?n[0]:{},r=!!o.useI18nComponentName;(Ct(o.globalInstall)?o.globalInstall:!0)&&([r?"i18n":Cv.name,"I18nT"].forEach(a=>e.component(a,Cv)),[wv.name,"I18nN"].forEach(a=>e.component(a,wv)),[_v.name,"I18nD"].forEach(a=>e.component(a,_v))),e.directive("t",e$(t))}function n$(e,t,n){return{beforeCreate(){const o=Gn();if(!o)throw xn(vn.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=Tv(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=Nf(i);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=Tv(e,r);else{this.$i18n=Nf({__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&&eC(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=Gn();if(!o)throw xn(vn.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 Tv(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[Qx](t.pluralizationRules||e.pluralizationRules);const n=su(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 o$=Or("global-vue-i18n");function r$(e={},t){const n=__VUE_I18N_LEGACY_API__&&Ct(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=Ct(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,i=new Map,[a,s]=i$(e,n),l=Or("");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 g=h[0];f.__composerExtend=g.__composerExtend,f.__vueI18nExtend=g.__vueI18nExtend}let m=null;!n&&o&&(m=p$(p,f.global)),__VUE_I18N_FULL_INSTALL__&&t$(p,f,...h),__VUE_I18N_LEGACY_API__&&n&&p.mixin(n$(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 dp(e={}){const t=Gn();if(t==null)throw xn(vn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw xn(vn.NOT_INSTALLED);const n=a$(t),o=l$(n),r=Jx(t),i=s$(e,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw xn(vn.NOT_AVAILABLE_IN_LEGACY_MODE);return f$(t,i,o,e)}if(i==="global")return eC(o,e,r),o;if(i==="parent"){let l=c$(n,t,e.__useComponent);return l==null&&(l=o),l}const a=n;let s=a.__getInstance(t);if(s==null){const l=_n({},e);"__i18n"in r&&(l.__i18n=r.__i18n),o&&(l.__root=o),s=cp(l),a.__composerExtend&&(s[Ff]=a.__composerExtend(s)),d$(a,t,s),a.__setInstance(t,s)}return s}function i$(e,t,n){const o=Th();{const r=__VUE_I18N_LEGACY_API__&&t?o.run(()=>Nf(e)):o.run(()=>cp(e));if(r==null)throw xn(vn.UNEXPECTED_ERROR);return[o,r]}}function a$(e){{const t=He(e.isCE?o$:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw xn(e.isCE?vn.NOT_INSTALLED_WITH_PROVIDE:vn.UNEXPECTED_ERROR);return t}}function s$(e,t){return iu(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function l$(e){return e.mode==="composition"?e.global:e.global.__composer}function c$(e,t,n=!1){let o=null;const r=t.root;let i=u$(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[Zx]&&(o=null))}if(o!=null||r===i)break;i=i.parent}return o}function u$(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function d$(e,t,n){Vt(()=>{},t),qs(()=>{const o=n;e.__deleteInstance(t);const r=o[Ff];r&&(r(),delete o[Ff])},t)}function f$(e,t,n,o={}){const r=t==="local",i=Us(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw xn(vn.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=Ct(o.inheritLocale)?o.inheritLocale:!Ue(o.locale),s=B(!r||a?n.locale.value:Ue(o.locale)?o.locale:ga),l=B(!r||a?n.fallbackLocale.value:Ue(o.fallbackLocale)||Zt(o.fallbackLocale)||mt(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:s.value),c=B(su(s.value,o)),u=B(mt(o.datetimeFormats)?o.datetimeFormats:{[s.value]:{}}),d=B(mt(o.numberFormats)?o.numberFormats:{[s.value]:{}}),f=r?n.missingWarn:Ct(o.missingWarn)||$r(o.missingWarn)?o.missingWarn:!0,p=r?n.fallbackWarn:Ct(o.fallbackWarn)||$r(o.fallbackWarn)?o.fallbackWarn:!0,h=r?n.fallbackRoot:Ct(o.fallbackRoot)?o.fallbackRoot:!0,m=!!o.fallbackFormat,v=on(o.missing)?o.missing:null,g=on(o.postTranslation)?o.postTranslation:null,y=r?n.warnHtmlMessage:Ct(o.warnHtmlMessage)?o.warnHtmlMessage:!0,S=!!o.escapeParameter,C=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 w=N({get:()=>i.value?i.value.locale.value:s.value,set:E=>{i.value&&(i.value.locale.value=E),s.value=E}}),T=N({get:()=>i.value?i.value.fallbackLocale.value:l.value,set:E=>{i.value&&(i.value.fallbackLocale.value=E),l.value=E}}),P=N(()=>i.value?i.value.messages.value:c.value),k=N(()=>u.value),I=N(()=>d.value);function A(){return i.value?i.value.getPostTranslationHandler():g}function q(E){i.value&&i.value.setPostTranslationHandler(E)}function F(){return i.value?i.value.getMissingHandler():v}function O(E){i.value&&i.value.setMissingHandler(E)}function $(E){return x(),E()}function W(...E){return i.value?$(()=>Reflect.apply(i.value.t,null,[...E])):$(()=>"")}function Q(...E){return i.value?Reflect.apply(i.value.rt,null,[...E]):""}function L(...E){return i.value?$(()=>Reflect.apply(i.value.d,null,[...E])):$(()=>"")}function M(...E){return i.value?$(()=>Reflect.apply(i.value.n,null,[...E])):$(()=>"")}function se(E){return i.value?i.value.tm(E):{}}function X(E,U){return i.value?i.value.te(E,U):!1}function ne(E){return i.value?i.value.getLocaleMessage(E):{}}function fe(E,U){i.value&&(i.value.setLocaleMessage(E,U),c.value[E]=U)}function xe(E,U){i.value&&i.value.mergeLocaleMessage(E,U)}function Ce(E){return i.value?i.value.getDateTimeFormat(E):{}}function G(E,U){i.value&&(i.value.setDateTimeFormat(E,U),u.value[E]=U)}function ve(E,U){i.value&&i.value.mergeDateTimeFormat(E,U)}function ue(E){return i.value?i.value.getNumberFormat(E):{}}function re(E,U){i.value&&(i.value.setNumberFormat(E,U),d.value[E]=U)}function ke(E,U){i.value&&i.value.mergeNumberFormat(E,U)}const V={get id(){return i.value?i.value.id:-1},locale:w,fallbackLocale:T,messages:P,datetimeFormats:k,numberFormats:I,get inheritLocale(){return i.value?i.value.inheritLocale:a},set inheritLocale(E){i.value&&(i.value.inheritLocale=E)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(c.value)},get modifiers(){return i.value?i.value.modifiers:C},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(E){i.value&&(i.value.missingWarn=E)},get fallbackWarn(){return i.value?i.value.fallbackWarn:p},set fallbackWarn(E){i.value&&(i.value.missingWarn=E)},get fallbackRoot(){return i.value?i.value.fallbackRoot:h},set fallbackRoot(E){i.value&&(i.value.fallbackRoot=E)},get fallbackFormat(){return i.value?i.value.fallbackFormat:m},set fallbackFormat(E){i.value&&(i.value.fallbackFormat=E)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:y},set warnHtmlMessage(E){i.value&&(i.value.warnHtmlMessage=E)},get escapeParameter(){return i.value?i.value.escapeParameter:S},set escapeParameter(E){i.value&&(i.value.escapeParameter=E)},t:W,getPostTranslationHandler:A,setPostTranslationHandler:q,getMissingHandler:F,setMissingHandler:O,rt:Q,d:L,n:M,tm:se,te:X,getLocaleMessage:ne,setLocaleMessage:fe,mergeLocaleMessage:xe,getDateTimeFormat:Ce,setDateTimeFormat:G,mergeDateTimeFormat:ve,getNumberFormat:ue,setNumberFormat:re,mergeNumberFormat:ke};function R(E){E.locale.value=s.value,E.fallbackLocale.value=l.value,Object.keys(c.value).forEach(U=>{E.mergeLocaleMessage(U,c.value[U])}),Object.keys(u.value).forEach(U=>{E.mergeDateTimeFormat(U,u.value[U])}),Object.keys(d.value).forEach(U=>{E.mergeNumberFormat(U,d.value[U])}),E.escapeParameter=S,E.fallbackFormat=m,E.fallbackRoot=h,E.fallbackWarn=p,E.missingWarn=f,E.warnHtmlMessage=y}return an(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw xn(vn.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const E=i.value=e.proxy.$i18n.__composer;t==="global"?(s.value=E.locale.value,l.value=E.fallbackLocale.value,c.value=E.messages.value,u.value=E.datetimeFormats.value,d.value=E.numberFormats.value):r&&R(E)}),V}const h$=["locale","fallbackLocale","availableLocales"],Pv=["t","rt","d","n","tm","te"];function p$(e,t){const n=Object.create(null);return h$.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i)throw xn(vn.UNEXPECTED_ERROR);const a=en(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,Pv.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i||!i.value)throw xn(vn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,i)}),()=>{delete e.config.globalProperties.$i18n,Pv.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}UE();__INTLIFY_JIT_COMPILATION__?av(FE):av(LE);$E(dE);AE(Dx);if(__INTLIFY_PROD_DEVTOOLS__){const e=Zo();e.__INTLIFY__=!0,xE(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const oC="locale",m$=72*60*60;function Bf(){return wi.get(oC)}function g$(e){wi.set(oC,e,m$)}const Nn=r$({locale:Bf().value||"zh-CN",fallbackLocale:Bf().value||"zh-CN",messages:{}});async function v$(){const e=Object.keys(Object.assign({"./lang/en-US.json":()=>xt(()=>Promise.resolve().then(()=>A1),void 0),"./lang/fa-IR.json":()=>xt(()=>Promise.resolve().then(()=>I1),void 0),"./lang/ja-JP.json":()=>xt(()=>Promise.resolve().then(()=>M1),void 0),"./lang/ko-KR.json":()=>xt(()=>Promise.resolve().then(()=>z1),void 0),"./lang/vi-VN.json":()=>xt(()=>Promise.resolve().then(()=>O1),void 0),"./lang/zh-CN.json":()=>xt(()=>Promise.resolve().then(()=>D1),void 0),"./lang/zh-TW.json":()=>xt(()=>Promise.resolve().then(()=>L1),void 0)})).map(t=>t.slice(7,-5));await Promise.all(e.map(async t=>{const n=await xR(Object.assign({"./lang/en-US.json":()=>xt(()=>Promise.resolve().then(()=>A1),void 0),"./lang/fa-IR.json":()=>xt(()=>Promise.resolve().then(()=>I1),void 0),"./lang/ja-JP.json":()=>xt(()=>Promise.resolve().then(()=>M1),void 0),"./lang/ko-KR.json":()=>xt(()=>Promise.resolve().then(()=>z1),void 0),"./lang/vi-VN.json":()=>xt(()=>Promise.resolve().then(()=>O1),void 0),"./lang/zh-CN.json":()=>xt(()=>Promise.resolve().then(()=>D1),void 0),"./lang/zh-TW.json":()=>xt(()=>Promise.resolve().then(()=>L1),void 0)}),`./lang/${t}.json`).then(o=>o.default||o);Nn.global.setLocaleMessage(t,n)}))}async function b$(e){e.use(Nn),v$()}const fi={"zh-CN":"简体中文","zh-TW":"繁體中文","en-US":"English","fa-IR":"Iran","ja-JP":"日本語","vi-VN":"Tiếng Việt","ko-KR":"한국어"},Hf=e=>Nn.global.t(e);function tr(e=void 0,t="YYYY-MM-DD HH:mm:ss"){return e==null?"":(e.toString().length===10&&(e=e*1e3),vR(e).format(t))}function fp(e=void 0,t="YYYY-MM-DD"){return tr(e,t)}function Zi(e){const t=typeof e=="string"?parseFloat(e):e;return isNaN(t)?"0.00":t.toFixed(2)}function nn(e){const t=typeof e=="string"?parseFloat(e):e;return isNaN(t)?"0.00":(t/100).toFixed(2)}function ec(e){navigator.clipboard?navigator.clipboard.writeText(e).then(()=>{window.$message.success(Hf("复制成功"))}).catch(t=>{console.error("复制到剪贴板时出错:",t),Rv(e)}):Rv(e)}function Rv(e){const t=document.createElement("button"),n=new yR(t,{text:()=>e});n.on("success",()=>{window.$message.success(Hf("复制成功")),n.destroy()}),n.on("error",()=>{window.$message.error(Hf("复制失败")),n.destroy()}),t.click()}function y$(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 x$(e){return typeof e>"u"}function C$(e){return e===null}function Ev(e){return e&&Array.isArray(e)}function rC(e){return C$(e)||x$(e)}function $v(e){return/^(https?:|mailto:|tel:)/.test(e)}const hs=/^[a-z0-9]+(-[a-z0-9]+)*$/,lu=(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&&!tc(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&&!tc(s)?null:s}if(n&&o===""){const s={provider:o,prefix:"",name:i};return t&&!tc(s,n)?null:s}return null},tc=(e,t)=>e?!!((e.provider===""||e.provider.match(hs))&&(t&&e.prefix===""||e.prefix.match(hs))&&e.name.match(hs)):!1,iC=Object.freeze({left:0,top:0,width:16,height:16}),gc=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),cu=Object.freeze({...iC,...gc}),jf=Object.freeze({...cu,body:"",hidden:!1});function w$(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 Av(e,t){const n=w$(e,t);for(const o in jf)o in gc?o in e&&!(o in n)&&(n[o]=gc[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function _$(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 S$(e,t,n){const o=e.icons,r=e.aliases||Object.create(null);let i={};function a(s){i=Av(o[s]||r[s],i)}return a(t),n.forEach(a),Av(e,i)}function aC(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=_$(e);for(const r in o){const i=o[r];i&&(t(r,S$(e,r,i)),n.push(r))}return n}const k$={provider:"",aliases:{},not_found:{},...iC};function vd(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function sC(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!vd(e,k$))return null;const n=t.icons;for(const r in n){const i=n[r];if(!r.match(hs)||typeof i.body!="string"||!vd(i,jf))return null}const o=t.aliases||Object.create(null);for(const r in o){const i=o[r],a=i.parent;if(!r.match(hs)||typeof a!="string"||!n[a]&&!o[a]||!vd(i,jf))return null}return t}const Iv=Object.create(null);function T$(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function hi(e,t){const n=Iv[e]||(Iv[e]=Object.create(null));return n[t]||(n[t]=T$(e,t))}function hp(e,t){return sC(t)?aC(t,(n,o)=>{o?e.icons[n]=o:e.missing.add(n)}):[]}function P$(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let zs=!1;function lC(e){return typeof e=="boolean"&&(zs=e),zs}function R$(e){const t=typeof e=="string"?lu(e,!0,zs):e;if(t){const n=hi(t.provider,t.prefix),o=t.name;return n.icons[o]||(n.missing.has(o)?null:void 0)}}function E$(e,t){const n=lu(e,!0,zs);if(!n)return!1;const o=hi(n.provider,n.prefix);return P$(o,n.name,t)}function $$(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),zs&&!t&&!e.prefix){let r=!1;return sC(e)&&(e.prefix="",aC(e,(i,a)=>{a&&E$(i,a)&&(r=!0)})),r}const n=e.prefix;if(!tc({provider:t,prefix:n,name:"a"}))return!1;const o=hi(t,n);return!!hp(o,e)}const cC=Object.freeze({width:null,height:null}),uC=Object.freeze({...cC,...gc}),A$=/(-?[0-9.]*[0-9]+[0-9.]*)/g,I$=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Mv(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(A$);if(o===null||!o.length)return e;const r=[];let i=o.shift(),a=I$.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 M$=e=>e==="unset"||e==="undefined"||e==="none";function z$(e,t){const n={...cu,...e},o={...uC,...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,g=h.vFlip;let y=h.rotate;v?g?y+=2:(m.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),m.push("scale(-1 1)"),r.top=r.left=0):g&&(m.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),m.push("scale(1 -1)"),r.top=r.left=0);let S;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:S=r.height/2+r.top,m.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:m.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:S=r.width/2+r.left,m.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}y%2===1&&(r.left!==r.top&&(S=r.left,r.left=r.top,r.top=S),r.width!==r.height&&(S=r.width,r.width=r.height,r.height=S)),m.length&&(i=''+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=Mv(d,l/c)):(u=a==="auto"?l:a,d=s===null?Mv(u,c/l):s==="auto"?c:s);const f={},p=(h,m)=>{M$(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 O$=/\sid="(\S+)"/g,D$="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let L$=0;function F$(e,t=D$){const n=[];let o;for(;o=O$.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+(L$++).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 Vf=Object.create(null);function N$(e,t){Vf[e]=t}function Uf(e){return Vf[e]||Vf[""]}function pp(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 mp=Object.create(null),Xa=["https://api.simplesvg.com","https://api.unisvg.com"],nc=[];for(;Xa.length>0;)Xa.length===1||Math.random()>.5?nc.push(Xa.shift()):nc.push(Xa.pop());mp[""]=pp({resources:["https://api.iconify.design"].concat(nc)});function B$(e,t){const n=pp(t);return n===null?!1:(mp[e]=n,!0)}function gp(e){return mp[e]}const H$=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let zv=H$();function j$(e,t){const n=gp(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 V$(e){return e===404}const U$=(e,t,n)=>{const o=[],r=j$(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 W$(e){if(typeof e=="string"){const t=gp(e);if(t)return t.path}return"/"}const q$=(e,t,n)=>{if(!zv){n("abort",424);return}let o=W$(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;zv(e+o).then(i=>{const a=i.status;if(a!==200){setTimeout(()=>{n(V$(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)})},K$={prepare:U$,send:q$};function G$(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]=hi(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 dC(e,t){e.forEach(n=>{const o=n.loaderCallbacks;o&&(n.loaderCallbacks=o.filter(r=>r.id!==t))})}function Y$(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||dC([e],i.id),i.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),i.abort))})}))}let X$=0;function Q$(e,t,n){const o=X$++,r=dC.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 Z$(e,t=!0,n=!1){const o=[];return e.forEach(r=>{const i=typeof r=="string"?lu(r,t,n):r;i&&o.push(i)}),o}var J$={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function eA(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 w=Math.floor(Math.random()*x.length);a.push(x[w]),x=x.slice(0,w).concat(x.slice(w+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,w){w&&(p=[]),typeof x=="function"&&p.push(x)}function g(){return{startTime:s,payload:t,status:l,queriesSent:c,queriesPending:f.length,subscribe:v,abort:m}}function y(){l="failed",p.forEach(x=>{x(void 0,u)})}function S(){f.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),f=[]}function C(x,w,T){const P=w!=="success";switch(f=f.filter(k=>k!==x),l){case"pending":break;case"failed":if(P||!e.dataAfterTimeout)return;break;default:return}if(w==="abort"){u=T,y();return}if(P){u=T,f.length||(a.length?_():y());return}if(h(),S(),!e.random){const k=e.resources.indexOf(x.resource);k!==-1&&k!==e.index&&(e.index=k)}l="completed",p.forEach(k=>{k(T)})}function _(){if(l!=="pending")return;h();const x=a.shift();if(x===void 0){if(f.length){d=setTimeout(()=>{h(),l==="pending"&&(S(),y())},e.timeout);return}y();return}const w={status:"pending",resource:x,callback:(T,P)=>{C(w,T,P)}};f.push(w),c++,d=setTimeout(_,e.rotate),n(x,t,w.callback)}return setTimeout(_),g}function fC(e){const t={...J$,...e};let n=[];function o(){n=n.filter(s=>s().status==="pending")}function r(s,l,c){const u=eA(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 Ov(){}const bd=Object.create(null);function tA(e){if(!bd[e]){const t=gp(e);if(!t)return;const n=fC(t),o={config:t,redundancy:n};bd[e]=o}return bd[e]}function nA(e,t,n){let o,r;if(typeof e=="string"){const i=Uf(e);if(!i)return n(void 0,424),Ov;r=i.send;const a=tA(e);a&&(o=a.redundancy)}else{const i=pp(e);if(i){o=fC(i);const a=e.resources?e.resources[0]:"",s=Uf(a);s&&(r=s.send)}}return!o||!r?(n(void 0,424),Ov):o.query(t,r,n)().abort}const Dv="iconify2",Os="iconify",hC=Os+"-count",Lv=Os+"-version",pC=36e5,oA=168;function Wf(e,t){try{return e.getItem(t)}catch{}}function vp(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Fv(e,t){try{e.removeItem(t)}catch{}}function qf(e,t){return vp(e,hC,t.toString())}function Kf(e){return parseInt(Wf(e,hC))||0}const uu={local:!0,session:!0},mC={local:new Set,session:new Set};let bp=!1;function rA(e){bp=e}let _l=typeof window>"u"?{}:window;function gC(e){const t=e+"Storage";try{if(_l&&_l[t]&&typeof _l[t].length=="number")return _l[t]}catch{}uu[e]=!1}function vC(e,t){const n=gC(e);if(!n)return;const o=Wf(n,Lv);if(o!==Dv){if(o){const s=Kf(n);for(let l=0;l{const l=Os+s.toString(),c=Wf(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{}Fv(n,l)}};let a=Kf(n);for(let s=a-1;s>=0;s--)i(s)||(s===a-1?(a--,qf(n,a)):mC[e].add(s))}function bC(){if(!bp){rA(!0);for(const e in uu)vC(e,t=>{const n=t.data,o=t.provider,r=n.prefix,i=hi(o,r);if(!hp(i,n).length)return!1;const a=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,a):a,!0})}}function iA(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const o in uu)vC(o,r=>{const i=r.data;return r.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function aA(e,t){bp||bC();function n(o){let r;if(!uu[o]||!(r=gC(o)))return;const i=mC[o];let a;if(i.size)i.delete(a=Array.from(i).shift());else if(a=Kf(r),!qf(r,a+1))return;const s={cached:Math.floor(Date.now()/pC),provider:e.provider,data:t};return vp(r,Os+a.toString(),JSON.stringify(s))}t.lastModified&&!iA(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Nv(){}function sA(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Y$(e)}))}function lA(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=Uf(n)))return;i.prepare(n,o,r).forEach(s=>{nA(n,s,l=>{if(typeof l!="object")s.icons.forEach(c=>{e.missing.add(c)});else try{const c=hp(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)}sA(e)})})}))}const cA=(e,t)=>{const n=Z$(e,!0,lC()),o=G$(n);if(!o.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(o.loaded,o.missing,o.pending,Nv)}),()=>{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(hi(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=hi(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&&lA(l,r[c][u])}),t?Q$(t,o,i):Nv};function uA(e,t){const n={...e};for(const o in t){const r=t[o],i=typeof r;o in cC?(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 fA(e,t){t.split(dA).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function hA(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 pA(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 mA(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function gA(e){return"data:image/svg+xml,"+mA(e)}function vA(e){return'url("'+gA(e)+'")'}const Bv={...uC,inline:!1},bA={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},yA={display:"inline-block"},Gf={backgroundColor:"currentColor"},yC={backgroundColor:"transparent"},Hv={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},jv={webkitMask:Gf,mask:Gf,background:yC};for(const e in jv){const t=jv[e];for(const n in Hv)t[e+n]=Hv[n]}const oc={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";oc[e+"-flip"]=t,oc[e.slice(0,1)+"-flip"]=t,oc[e+"Flip"]=t});function Vv(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Uv=(e,t)=>{const n=uA(Bv,t),o={...bA},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"&&fA(n,v);break;case"color":i.color=v;break;case"rotate":typeof v=="string"?n[m]=hA(v):typeof v=="number"&&(n[m]=v);break;case"ariaHidden":case"aria-hidden":v!==!0&&v!=="true"&&delete o["aria-hidden"];break;default:{const g=oc[m];g?(v===!0||v==="true"||v===1)&&(n[g]=!0):Bv[m]===void 0&&(o[m]=v)}}}const l=z$(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=F$(l.body,v?()=>v+"ID"+m++:"iconifyVue"),b("svg",o)}const{body:u,width:d,height:f}=e,p=r==="mask"||(r==="bg"?!1:u.indexOf("currentColor")!==-1),h=pA(u,{...c,width:d+"",height:f+""});return o.style={...i,"--svg":vA(h),width:Vv(c.width),height:Vv(c.height),...yA,...p?Gf:yC,...s},b("span",o)};lC(!0);N$("",K$);if(typeof document<"u"&&typeof window<"u"){bC();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"||!$$(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;B$(n,r)||console.error(o)}catch{console.error(o)}}}}const xA={...cu,body:""},CA=pe({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=lu(e,!1,!0))===null)return this.abortLoading(),null;const o=R$(n);if(!o)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",o!==null&&(this._loadingIcon={name:e,abort:cA([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 Uv(xA,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Uv({...cu,...t.data},n)}});let vc=[];const xC=new WeakMap;function wA(){vc.forEach(e=>e(...xC.get(e))),vc=[]}function bc(e,...t){xC.set(e,t),!vc.includes(e)&&vc.push(e)===1&&requestAnimationFrame(wA)}function _A(e){return e.nodeType===9?null:e.parentNode}function CC(e){if(e===null)return null;const t=_A(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 CC(t)}function SA(e){return typeof e=="string"?document.querySelector(e):typeof e=="function"?e():e}function nr(e,t){let{target:n}=e;for(;n;){if(n.dataset&&n.dataset[t]!==void 0)return!0;n=n.parentElement}return!1}function pi(e){return e.composedPath()[0]||null}function wn(e){return typeof e=="string"?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function Ln(e){if(e!=null)return typeof e=="number"?`${e}px`:e.endsWith("px")?e:`${e}px`}function si(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 kA(e,t){const[n,o]=e.split(" ");return t?t==="row"?n:o:{row:n,col:o||n}}const Wv={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"},$a="^\\s*",Aa="\\s*$",ti="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",ni="([0-9A-Fa-f])",oi="([0-9A-Fa-f]{2})",TA=new RegExp(`${$a}rgb\\s*\\(${ti},${ti},${ti}\\)${Aa}`),PA=new RegExp(`${$a}rgba\\s*\\(${ti},${ti},${ti},${ti}\\)${Aa}`),RA=new RegExp(`${$a}#${ni}${ni}${ni}${Aa}`),EA=new RegExp(`${$a}#${oi}${oi}${oi}${Aa}`),$A=new RegExp(`${$a}#${ni}${ni}${ni}${ni}${Aa}`),AA=new RegExp(`${$a}#${oi}${oi}${oi}${oi}${Aa}`);function On(e){return parseInt(e,16)}function No(e){try{let t;if(t=EA.exec(e))return[On(t[1]),On(t[2]),On(t[3]),1];if(t=TA.exec(e))return[kn(t[1]),kn(t[5]),kn(t[9]),1];if(t=PA.exec(e))return[kn(t[1]),kn(t[5]),kn(t[9]),ps(t[13])];if(t=RA.exec(e))return[On(t[1]+t[1]),On(t[2]+t[2]),On(t[3]+t[3]),1];if(t=AA.exec(e))return[On(t[1]),On(t[2]),On(t[3]),ps(On(t[4])/255)];if(t=$A.exec(e))return[On(t[1]+t[1]),On(t[2]+t[2]),On(t[3]+t[3]),ps(On(t[4]+t[4])/255)];if(e in Wv)return No(Wv[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function IA(e){return e>1?1:e<0?0:e}function Yf(e,t,n,o){return`rgba(${kn(e)}, ${kn(t)}, ${kn(n)}, ${IA(o)})`}function yd(e,t,n,o,r){return kn((e*t*(1-o)+n*o)/r)}function Ye(e,t){Array.isArray(e)||(e=No(e)),Array.isArray(t)||(t=No(t));const n=e[3],o=t[3],r=ps(n+o-n*o);return Yf(yd(e[0],n,t[0],o,r),yd(e[1],n,t[1],o,r),yd(e[2],n,t[2],o,r),r)}function Ae(e,t){const[n,o,r,i=1]=Array.isArray(e)?e:No(e);return t.alpha?Yf(n,o,r,t.alpha):Yf(n,o,r,i)}function cn(e,t){const[n,o,r,i=1]=Array.isArray(e)?e:No(e),{lightness:a=1,alpha:s=1}=t;return MA([n*a,o*a,r*a,i*s])}function ps(e){const t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function kn(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function MA(e){const[t,n,o]=e;return 3 in e?`rgba(${kn(t)}, ${kn(n)}, ${kn(o)}, ${ps(e[3])})`:`rgba(${kn(t)}, ${kn(n)}, ${kn(o)}, 1)`}function Ia(e=8){return Math.random().toString(16).slice(2,2+e)}function zA(e,t){const n=[];for(let o=0;o{o[r]=e[r]}),Object.assign(o,n)}function Ys(e,t=[],n){const o={};return Object.getOwnPropertyNames(e).forEach(i=>{t.includes(i)||(o[i]=e[i])}),Object.assign(o,n)}function ba(e,t=!0,n=[]){return e.forEach(o=>{if(o!==null){if(typeof o!="object"){(typeof o=="string"||typeof o=="number")&&n.push(Je(String(o)));return}if(Array.isArray(o)){ba(o,t,n);return}if(o.type===et){if(o.children===null)return;Array.isArray(o.children)&&ba(o.children,t,n)}else o.type!==An&&n.push(o)}}),n}function Re(e,...t){if(Array.isArray(e))e.forEach(n=>Re(n,...t));else return e(...t)}function Lr(e){return Object.keys(e)}const Nt=(e,...t)=>typeof e=="function"?e(...t):typeof e=="string"?Je(e):typeof e=="number"?Je(String(e)):null;function or(e,t){console.error(`[naive/${e}]: ${t}`)}function Fr(e,t){throw new Error(`[naive/${e}]: ${t}`)}function qv(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 DA(e){switch(typeof e){case"string":return e||void 0;case"number":return String(e);default:return}}function Xf(e,t="default",n=void 0){const o=e[t];if(!o)return or("getFirstSlotVNode",`slot[${t}] is empty`),null;const r=ba(o(n));return r.length===1?r[0]:(or("getFirstSlotVNode",`slot[${t}] should have exactly one child`),null)}function _C(e){return t=>{t?e.value=t.$el:e.value=null}}function Xs(e){return e.some(t=>Ps(t)?!(t.type===An||t.type===et&&!Xs(t.children)):!0)?e:null}function Pn(e,t){return e&&Xs(e())||t()}function Qf(e,t,n){return e&&Xs(e(t))||n(t)}function Ot(e,t){const n=e&&Xs(e());return t(n||null)}function oa(e){return!(e&&Xs(e()))}function ms(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 Zf=pe({render(){var e,t;return(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)}}),LA=/^(\d|\.)+$/,Kv=/(\d|\.)+/;function Ut(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(LA.test(e)){const r=(Number(e)+n)*t;return o?r===0?"0":`${r}px`:`${r}`}else{const r=Kv.exec(e);return r?e.replace(Kv,String((Number(r[0])+n)*t)):e}return e}function yc(e){return e.replace(/#|\(|\)|,|\s/g,"_")}function FA(e){let t=0;for(let n=0;n{let r=FA(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 HA(e,t){const n=[];return t.split(SC).forEach(o=>{e.forEach(r=>{n.push((r&&r+" ")+o)})}),n}function jA(e){let t=[""];return e.forEach(n=>{n=n&&n.trim(),n&&(n.includes("&")?t=BA(t,n):t=HA(t,n))}),t.join(", ").replace(NA," ")}function Gv(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function du(e){return document.querySelector(`style[cssr-id="${e}"]`)}function VA(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function Sl(e){return e?/^\s*@(s|m)/.test(e):!1}const UA=/[A-Z]/g;function kC(e){return e.replace(UA,t=>"-"+t.toLowerCase())}function WA(e,t=" "){return typeof e=="object"&&e!==null?` { -`+Object.entries(e).map(n=>t+` ${kC(n[0])}: ${n[1]};`).join(` + */const UE="9.7.1";function WE(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Zo().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Zo().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Zo().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Zo().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Zo().__INTLIFY_PROD_DEVTOOLS__=!1)}const Xx=kE.__EXTEND_POINT__,mr=ip(Xx);mr(),mr(),mr(),mr(),mr(),mr(),mr(),mr();const Qx=Sr.__EXTEND_POINT__,zn=ip(Qx),vn={UNEXPECTED_RETURN_TYPE:Qx,INVALID_ARGUMENT:zn(),MUST_BE_CALL_SETUP_TOP:zn(),NOT_INSTALLED:zn(),NOT_AVAILABLE_IN_LEGACY_MODE:zn(),REQUIRED_VALUE:zn(),INVALID_VALUE:zn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:zn(),NOT_INSTALLED_WITH_PROVIDE:zn(),UNEXPECTED_ERROR:zn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:zn(),BRIDGE_SUPPORT_VUE_2_ONLY:zn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:zn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:zn(),__EXTEND_POINT__:zn()};function xn(e,...t){return Ea(e,null,void 0)}const Of=Or("__translateVNode"),Df=Or("__datetimeParts"),Lf=Or("__numberParts"),Zx=Or("__setPluralRules"),Jx=Or("__injectWithOption"),Ff=Or("__dispose");function Ms(e){if(!Ht(e))return e;for(const t in e)if(As(e,t))if(!t.includes("."))Ht(e[t])&&Ms(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]||{},fs(c,a[l])):fs(c,a)}else Ue(s)&&fs(JSON.parse(s),a)}),r==null&&i)for(const s in a)As(a,s)&&Ms(a[s]);return a}function eC(e){return e.type}function tC(e,t,n){let o=Ht(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=su(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);r.length&&r.forEach(i=>{e.mergeLocaleMessage(i,o[i])});{if(Ht(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(Ht(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function vv(e){return ee(Ta,null,e,0)}const bv="__INTLIFY_META__",yv=()=>[],qE=()=>!1;let xv=0;function Cv(e){return(t,n,o,r)=>e(n,o,Gn()||void 0,r)}const KE=()=>{const e=Gn();let t=null;return e&&(t=eC(e)[bv])?{[bv]:t}:null};function cp(e={},t){const{__root:n,__injectWithOption:o}=e,r=n===void 0,i=e.flatJson;let a=Ct(e.inheritLocale)?e.inheritLocale:!0;const s=N(n&&a?n.locale.value:Ue(e.locale)?e.locale:ga),l=N(n&&a?n.fallbackLocale.value:Ue(e.fallbackLocale)||Zt(e.fallbackLocale)||mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),c=N(su(s.value,e)),u=N(mt(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),d=N(mt(e.numberFormats)?e.numberFormats:{[s.value]:{}});let f=n?n.missingWarn:Ct(e.missingWarn)||$r(e.missingWarn)?e.missingWarn:!0,p=n?n.fallbackWarn:Ct(e.fallbackWarn)||$r(e.fallbackWarn)?e.fallbackWarn:!0,h=n?n.fallbackRoot:Ct(e.fallbackRoot)?e.fallbackRoot:!0,m=!!e.fallbackFormat,v=on(e.missing)?e.missing:null,g=on(e.missing)?Cv(e.missing):null,y=on(e.postTranslation)?e.postTranslation:null,S=n?n.warnHtmlMessage:Ct(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter;const _=n?n.modifiers:mt(e.modifiers)?e.modifiers:{};let x=e.pluralRules||n&&n.pluralRules,w;w=(()=>{r&&lv(null);const te={version:UE,locale:s.value,fallbackLocale:l.value,messages:c.value,modifiers:_,pluralRules:x,missing:g===null?void 0:g,missingWarn:f,fallbackWarn:p,fallbackFormat:m,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:S,escapeParameter:C,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};te.datetimeFormats=u.value,te.numberFormats=d.value,te.__datetimeFormatters=mt(w)?w.__datetimeFormatters:void 0,te.__numberFormatters=mt(w)?w.__numberFormatters:void 0;const oe=DE(te);return r&&lv(oe),oe})(),Ya(w,s.value,l.value);function P(){return[s.value,l.value,c.value,u.value,d.value]}const k=L({get:()=>s.value,set:te=>{s.value=te,w.locale=s.value}}),A=L({get:()=>l.value,set:te=>{l.value=te,w.fallbackLocale=l.value,Ya(w,s.value,te)}}),I=L(()=>c.value),W=L(()=>u.value),B=L(()=>d.value);function z(){return on(y)?y:null}function $(te){y=te,w.postTranslation=te}function j(){return v}function X(te){te!==null&&(g=Cv(te)),v=te,w.missing=g}const F=(te,oe,Ee,De,qe,tt)=>{P();let Me;try{__INTLIFY_PROD_DEVTOOLS__,r||(w.fallbackContext=n?OE():void 0),Me=te(w)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(w.fallbackContext=void 0)}if(Ee!=="translate exists"&&gn(Me)&&Me===au||Ee==="translate exists"&&!Me){const[je,dt]=oe();return n&&h?De(n):qe(je)}else{if(tt(Me))return Me;throw xn(vn.UNEXPECTED_RETURN_TYPE)}};function M(...te){return F(oe=>Reflect.apply(fv,null,[oe,...te]),()=>If(...te),"translate",oe=>Reflect.apply(oe.t,oe,[...te]),oe=>oe,oe=>Ue(oe))}function se(...te){const[oe,Ee,De]=te;if(De&&!Ht(De))throw xn(vn.INVALID_ARGUMENT);return M(oe,Ee,_n({resolvedMessage:!0},De||{}))}function Q(...te){return F(oe=>Reflect.apply(hv,null,[oe,...te]),()=>Mf(...te),"datetime format",oe=>Reflect.apply(oe.d,oe,[...te]),()=>iv,oe=>Ue(oe))}function ne(...te){return F(oe=>Reflect.apply(mv,null,[oe,...te]),()=>zf(...te),"number format",oe=>Reflect.apply(oe.n,oe,[...te]),()=>iv,oe=>Ue(oe))}function fe(te){return te.map(oe=>Ue(oe)||gn(oe)||Ct(oe)?vv(String(oe)):oe)}const Ce={normalize:fe,interpolate:te=>te,type:"vnode"};function G(...te){return F(oe=>{let Ee;const De=oe;try{De.processor=Ce,Ee=Reflect.apply(fv,null,[De,...te])}finally{De.processor=null}return Ee},()=>If(...te),"translate",oe=>oe[Of](...te),oe=>[vv(oe)],oe=>Zt(oe))}function ve(...te){return F(oe=>Reflect.apply(mv,null,[oe,...te]),()=>zf(...te),"number format",oe=>oe[Lf](...te),yv,oe=>Ue(oe)||Zt(oe))}function ue(...te){return F(oe=>Reflect.apply(hv,null,[oe,...te]),()=>Mf(...te),"datetime format",oe=>oe[Df](...te),yv,oe=>Ue(oe)||Zt(oe))}function re(te){x=te,w.pluralRules=x}function ke(te,oe){return F(()=>{if(!te)return!1;const Ee=Ue(oe)?oe:s.value,De=E(Ee),qe=w.messageResolver(De,te);return va(qe)||Zn(qe)||Ue(qe)},()=>[te],"translate exists",Ee=>Reflect.apply(Ee.te,Ee,[te,oe]),qE,Ee=>Ct(Ee))}function U(te){let oe=null;const Ee=Lx(w,l.value,s.value);for(let De=0;De{a&&(s.value=te,w.locale=te,Ya(w,s.value,l.value))}),ht(n.fallbackLocale,te=>{a&&(l.value=te,w.fallbackLocale=te,Ya(w,s.value,l.value))}));const _e={id:xv,locale:k,fallbackLocale:A,get inheritLocale(){return a},set inheritLocale(te){a=te,te&&n&&(s.value=n.locale.value,l.value=n.fallbackLocale.value,Ya(w,s.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:I,get modifiers(){return _},get pluralRules(){return x||{}},get isGlobal(){return r},get missingWarn(){return f},set missingWarn(te){f=te,w.missingWarn=f},get fallbackWarn(){return p},set fallbackWarn(te){p=te,w.fallbackWarn=p},get fallbackRoot(){return h},set fallbackRoot(te){h=te},get fallbackFormat(){return m},set fallbackFormat(te){m=te,w.fallbackFormat=m},get warnHtmlMessage(){return S},set warnHtmlMessage(te){S=te,w.warnHtmlMessage=te},get escapeParameter(){return C},set escapeParameter(te){C=te,w.escapeParameter=te},t:M,getLocaleMessage:E,setLocaleMessage:q,mergeLocaleMessage:ie,getPostTranslationHandler:z,setPostTranslationHandler:$,getMissingHandler:j,setMissingHandler:X,[Zx]:re};return _e.datetimeFormats=W,_e.numberFormats=B,_e.rt=se,_e.te=ke,_e.tm=R,_e.d=Q,_e.n=ne,_e.getDateTimeFormat=Y,_e.setDateTimeFormat=he,_e.mergeDateTimeFormat=ye,_e.getNumberFormat=ge,_e.setNumberFormat=J,_e.mergeNumberFormat=de,_e[Jx]=o,_e[Of]=G,_e[Df]=ue,_e[Lf]=ve,_e}function GE(e){const t=Ue(e.locale)?e.locale:ga,n=Ue(e.fallbackLocale)||Zt(e.fallbackLocale)||mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=on(e.missing)?e.missing:void 0,r=Ct(e.silentTranslationWarn)||$r(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=Ct(e.silentFallbackWarn)||$r(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=Ct(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,l=mt(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=on(e.postTranslation)?e.postTranslation:void 0,d=Ue(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,p=Ct(e.sync)?e.sync:!0;let h=e.messages;if(mt(e.sharedMessages)){const _=e.sharedMessages;h=Object.keys(_).reduce((w,T)=>{const P=w[T]||(w[T]={});return _n(P,_[T]),w},h||{})}const{__i18n:m,__root:v,__injectWithOption:g}=e,y=e.datetimeFormats,S=e.numberFormats,C=e.flatJson;return{locale:t,fallbackLocale:n,messages:h,flatJson:C,datetimeFormats:y,numberFormats:S,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,__i18n:m,__root:v,__injectWithOption:g}}function Nf(e={},t){{const n=cp(GE(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 Ct(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=Ct(i)?!i:i},get silentFallbackWarn(){return Ct(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=Ct(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(!Ue(a))throw xn(vn.INVALID_ARGUMENT);const f=a;return Ue(s)?c.locale=s:Zt(s)?u=s:mt(s)&&(d=s),Zt(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(!Ue(a))throw xn(vn.INVALID_ARGUMENT);const f=a;return Ue(s)?c.locale=s:gn(s)?c.plural=s:Zt(s)?u=s:mt(s)&&(d=s),Ue(l)?c.locale=l:Zt(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 up={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function YE({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,r)=>[...o,...r.type===et?r.children:[r]],[]):t.reduce((n,o)=>{const r=e[o];return r&&(n[o]=r()),n},{})}function nC(e){return et}const XE=pe({name:"i18n-t",props:_n({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>gn(e)||!isNaN(e)}},up),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||dp({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=Ue(e.plural)?+e.plural:e.plural);const s=YE(t,i),l=r[Of](e.keypath,s,a),c=_n({},o),u=Ue(e.tag)||Ht(e.tag)?e.tag:nC();return b(u,c,l)}}}),wv=XE;function QE(e){return Zt(e)&&!Ue(e[0])}function oC(e,t,n,o){const{slots:r,attrs:i}=t;return()=>{const a={part:!0};let s={};e.locale&&(a.locale=e.locale),Ue(e.format)?a.key=e.format:Ht(e.format)&&(Ue(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce((f,p)=>n.includes(p)?_n({},f,{[p]:e.format[p]}):f,{}));const l=o(e.value,a,s);let c=[a.key];Zt(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 QE(m)&&(m[0].key=`${f.type}-${p}`),m}):Ue(l)&&(c=[l]);const u=_n({},i),d=Ue(e.tag)||Ht(e.tag)?e.tag:nC();return b(d,u,c)}}const ZE=pe({name:"i18n-n",props:_n({value:{type:Number,required:!0},format:{type:[String,Object]}},up),setup(e,t){const n=e.i18n||dp({useScope:"parent",__useComponent:!0});return oC(e,t,Yx,(...o)=>n[Lf](...o))}}),_v=ZE,JE=pe({name:"i18n-d",props:_n({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},up),setup(e,t){const n=e.i18n||dp({useScope:"parent",__useComponent:!0});return oC(e,t,Gx,(...o)=>n[Df](...o))}}),Sv=JE;function e$(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 t$(e){const t=a=>{const{instance:s,modifiers:l,value:c}=a;if(!s||!s.$)throw xn(vn.UNEXPECTED_ERROR);const u=e$(e,s.$),d=kv(c);return[Reflect.apply(u.t,u,[...Tv(d)]),u]};return{created:(a,s)=>{const[l,c]=t(s);Ef&&e.global===c&&(a.__i18nWatcher=ht(c.locale,()=>{s.instance&&s.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{Ef&&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=kv(s);a.textContent=Reflect.apply(l.t,l,[...Tv(c)])}},getSSRProps:a=>{const[s]=t(a);return{textContent:s}}}}function kv(e){if(Ue(e))return{path:e};if(mt(e)){if(!("path"in e))throw xn(vn.REQUIRED_VALUE,"path");return e}else throw xn(vn.INVALID_VALUE)}function Tv(e){const{path:t,locale:n,args:o,choice:r,plural:i}=e,a={},s=o||{};return Ue(n)&&(a.locale=n),gn(r)&&(a.plural=r),gn(i)&&(a.plural=i),[t,s,a]}function n$(e,t,...n){const o=mt(n[0])?n[0]:{},r=!!o.useI18nComponentName;(Ct(o.globalInstall)?o.globalInstall:!0)&&([r?"i18n":wv.name,"I18nT"].forEach(a=>e.component(a,wv)),[_v.name,"I18nN"].forEach(a=>e.component(a,_v)),[Sv.name,"I18nD"].forEach(a=>e.component(a,Sv))),e.directive("t",t$(t))}function o$(e,t,n){return{beforeCreate(){const o=Gn();if(!o)throw xn(vn.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=Pv(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=Nf(i);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=Pv(e,r);else{this.$i18n=Nf({__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&&tC(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=Gn();if(!o)throw xn(vn.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 Pv(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[Zx](t.pluralizationRules||e.pluralizationRules);const n=su(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$=Or("global-vue-i18n");function i$(e={},t){const n=__VUE_I18N_LEGACY_API__&&Ct(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=Ct(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,i=new Map,[a,s]=a$(e,n),l=Or("");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 g=h[0];f.__composerExtend=g.__composerExtend,f.__vueI18nExtend=g.__vueI18nExtend}let m=null;!n&&o&&(m=m$(p,f.global)),__VUE_I18N_FULL_INSTALL__&&n$(p,f,...h),__VUE_I18N_LEGACY_API__&&n&&p.mixin(o$(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 dp(e={}){const t=Gn();if(t==null)throw xn(vn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw xn(vn.NOT_INSTALLED);const n=s$(t),o=c$(n),r=eC(t),i=l$(e,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw xn(vn.NOT_AVAILABLE_IN_LEGACY_MODE);return h$(t,i,o,e)}if(i==="global")return tC(o,e,r),o;if(i==="parent"){let l=u$(n,t,e.__useComponent);return l==null&&(l=o),l}const a=n;let s=a.__getInstance(t);if(s==null){const l=_n({},e);"__i18n"in r&&(l.__i18n=r.__i18n),o&&(l.__root=o),s=cp(l),a.__composerExtend&&(s[Ff]=a.__composerExtend(s)),f$(a,t,s),a.__setInstance(t,s)}return s}function a$(e,t,n){const o=Th();{const r=__VUE_I18N_LEGACY_API__&&t?o.run(()=>Nf(e)):o.run(()=>cp(e));if(r==null)throw xn(vn.UNEXPECTED_ERROR);return[o,r]}}function s$(e){{const t=He(e.isCE?r$:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw xn(e.isCE?vn.NOT_INSTALLED_WITH_PROVIDE:vn.UNEXPECTED_ERROR);return t}}function l$(e,t){return iu(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function c$(e){return e.mode==="composition"?e.global:e.global.__composer}function u$(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[Jx]&&(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 f$(e,t,n){Vt(()=>{},t),qs(()=>{const o=n;e.__deleteInstance(t);const r=o[Ff];r&&(r(),delete o[Ff])},t)}function h$(e,t,n,o={}){const r=t==="local",i=Us(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw xn(vn.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=Ct(o.inheritLocale)?o.inheritLocale:!Ue(o.locale),s=N(!r||a?n.locale.value:Ue(o.locale)?o.locale:ga),l=N(!r||a?n.fallbackLocale.value:Ue(o.fallbackLocale)||Zt(o.fallbackLocale)||mt(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:s.value),c=N(su(s.value,o)),u=N(mt(o.datetimeFormats)?o.datetimeFormats:{[s.value]:{}}),d=N(mt(o.numberFormats)?o.numberFormats:{[s.value]:{}}),f=r?n.missingWarn:Ct(o.missingWarn)||$r(o.missingWarn)?o.missingWarn:!0,p=r?n.fallbackWarn:Ct(o.fallbackWarn)||$r(o.fallbackWarn)?o.fallbackWarn:!0,h=r?n.fallbackRoot:Ct(o.fallbackRoot)?o.fallbackRoot:!0,m=!!o.fallbackFormat,v=on(o.missing)?o.missing:null,g=on(o.postTranslation)?o.postTranslation:null,y=r?n.warnHtmlMessage:Ct(o.warnHtmlMessage)?o.warnHtmlMessage:!0,S=!!o.escapeParameter,C=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 w=L({get:()=>i.value?i.value.locale.value:s.value,set:E=>{i.value&&(i.value.locale.value=E),s.value=E}}),T=L({get:()=>i.value?i.value.fallbackLocale.value:l.value,set:E=>{i.value&&(i.value.fallbackLocale.value=E),l.value=E}}),P=L(()=>i.value?i.value.messages.value:c.value),k=L(()=>u.value),A=L(()=>d.value);function I(){return i.value?i.value.getPostTranslationHandler():g}function W(E){i.value&&i.value.setPostTranslationHandler(E)}function B(){return i.value?i.value.getMissingHandler():v}function z(E){i.value&&i.value.setMissingHandler(E)}function $(E){return x(),E()}function j(...E){return i.value?$(()=>Reflect.apply(i.value.t,null,[...E])):$(()=>"")}function X(...E){return i.value?Reflect.apply(i.value.rt,null,[...E]):""}function F(...E){return i.value?$(()=>Reflect.apply(i.value.d,null,[...E])):$(()=>"")}function M(...E){return i.value?$(()=>Reflect.apply(i.value.n,null,[...E])):$(()=>"")}function se(E){return i.value?i.value.tm(E):{}}function Q(E,q){return i.value?i.value.te(E,q):!1}function ne(E){return i.value?i.value.getLocaleMessage(E):{}}function fe(E,q){i.value&&(i.value.setLocaleMessage(E,q),c.value[E]=q)}function xe(E,q){i.value&&i.value.mergeLocaleMessage(E,q)}function Ce(E){return i.value?i.value.getDateTimeFormat(E):{}}function G(E,q){i.value&&(i.value.setDateTimeFormat(E,q),u.value[E]=q)}function ve(E,q){i.value&&i.value.mergeDateTimeFormat(E,q)}function ue(E){return i.value?i.value.getNumberFormat(E):{}}function re(E,q){i.value&&(i.value.setNumberFormat(E,q),d.value[E]=q)}function ke(E,q){i.value&&i.value.mergeNumberFormat(E,q)}const U={get id(){return i.value?i.value.id:-1},locale:w,fallbackLocale:T,messages:P,datetimeFormats:k,numberFormats:A,get inheritLocale(){return i.value?i.value.inheritLocale:a},set inheritLocale(E){i.value&&(i.value.inheritLocale=E)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(c.value)},get modifiers(){return i.value?i.value.modifiers:C},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(E){i.value&&(i.value.missingWarn=E)},get fallbackWarn(){return i.value?i.value.fallbackWarn:p},set fallbackWarn(E){i.value&&(i.value.missingWarn=E)},get fallbackRoot(){return i.value?i.value.fallbackRoot:h},set fallbackRoot(E){i.value&&(i.value.fallbackRoot=E)},get fallbackFormat(){return i.value?i.value.fallbackFormat:m},set fallbackFormat(E){i.value&&(i.value.fallbackFormat=E)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:y},set warnHtmlMessage(E){i.value&&(i.value.warnHtmlMessage=E)},get escapeParameter(){return i.value?i.value.escapeParameter:S},set escapeParameter(E){i.value&&(i.value.escapeParameter=E)},t:j,getPostTranslationHandler:I,setPostTranslationHandler:W,getMissingHandler:B,setMissingHandler:z,rt:X,d:F,n:M,tm:se,te:Q,getLocaleMessage:ne,setLocaleMessage:fe,mergeLocaleMessage:xe,getDateTimeFormat:Ce,setDateTimeFormat:G,mergeDateTimeFormat:ve,getNumberFormat:ue,setNumberFormat:re,mergeNumberFormat:ke};function R(E){E.locale.value=s.value,E.fallbackLocale.value=l.value,Object.keys(c.value).forEach(q=>{E.mergeLocaleMessage(q,c.value[q])}),Object.keys(u.value).forEach(q=>{E.mergeDateTimeFormat(q,u.value[q])}),Object.keys(d.value).forEach(q=>{E.mergeNumberFormat(q,d.value[q])}),E.escapeParameter=S,E.fallbackFormat=m,E.fallbackRoot=h,E.fallbackWarn=p,E.missingWarn=f,E.warnHtmlMessage=y}return an(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw xn(vn.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const E=i.value=e.proxy.$i18n.__composer;t==="global"?(s.value=E.locale.value,l.value=E.fallbackLocale.value,c.value=E.messages.value,u.value=E.datetimeFormats.value,d.value=E.numberFormats.value):r&&R(E)}),U}const p$=["locale","fallbackLocale","availableLocales"],Rv=["t","rt","d","n","tm","te"];function m$(e,t){const n=Object.create(null);return p$.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i)throw xn(vn.UNEXPECTED_ERROR);const a=en(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,Rv.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i||!i.value)throw xn(vn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,i)}),()=>{delete e.config.globalProperties.$i18n,Rv.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}WE();__INTLIFY_JIT_COMPILATION__?sv(NE):sv(FE);AE(fE);IE(Lx);if(__INTLIFY_PROD_DEVTOOLS__){const e=Zo();e.__INTLIFY__=!0,CE(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const rC="locale",g$=72*60*60;function Bf(){return wi.get(rC)}function v$(e){wi.set(rC,e,g$)}const Nn=i$({locale:Bf().value||"zh-CN",fallbackLocale:Bf().value||"zh-CN",messages:{}});async function b$(){const e=Object.keys(Object.assign({"./lang/en-US.json":()=>xt(()=>Promise.resolve().then(()=>I1),void 0),"./lang/fa-IR.json":()=>xt(()=>Promise.resolve().then(()=>M1),void 0),"./lang/ja-JP.json":()=>xt(()=>Promise.resolve().then(()=>z1),void 0),"./lang/ko-KR.json":()=>xt(()=>Promise.resolve().then(()=>O1),void 0),"./lang/vi-VN.json":()=>xt(()=>Promise.resolve().then(()=>D1),void 0),"./lang/zh-CN.json":()=>xt(()=>Promise.resolve().then(()=>L1),void 0),"./lang/zh-TW.json":()=>xt(()=>Promise.resolve().then(()=>F1),void 0)})).map(t=>t.slice(7,-5));await Promise.all(e.map(async t=>{const n=await CR(Object.assign({"./lang/en-US.json":()=>xt(()=>Promise.resolve().then(()=>I1),void 0),"./lang/fa-IR.json":()=>xt(()=>Promise.resolve().then(()=>M1),void 0),"./lang/ja-JP.json":()=>xt(()=>Promise.resolve().then(()=>z1),void 0),"./lang/ko-KR.json":()=>xt(()=>Promise.resolve().then(()=>O1),void 0),"./lang/vi-VN.json":()=>xt(()=>Promise.resolve().then(()=>D1),void 0),"./lang/zh-CN.json":()=>xt(()=>Promise.resolve().then(()=>L1),void 0),"./lang/zh-TW.json":()=>xt(()=>Promise.resolve().then(()=>F1),void 0)}),`./lang/${t}.json`).then(o=>o.default||o);Nn.global.setLocaleMessage(t,n)}))}async function y$(e){e.use(Nn),b$()}const fi={"zh-CN":"简体中文","zh-TW":"繁體中文","en-US":"English","fa-IR":"Iran","ja-JP":"日本語","vi-VN":"Tiếng Việt","ko-KR":"한국어"},Hf=e=>Nn.global.t(e);function tr(e=void 0,t="YYYY-MM-DD HH:mm:ss"){return e==null?"":(e.toString().length===10&&(e=e*1e3),bR(e).format(t))}function fp(e=void 0,t="YYYY-MM-DD"){return tr(e,t)}function Zi(e){const t=typeof e=="string"?parseFloat(e):e;return isNaN(t)?"0.00":t.toFixed(2)}function nn(e){const t=typeof e=="string"?parseFloat(e):e;return isNaN(t)?"0.00":(t/100).toFixed(2)}function ec(e){navigator.clipboard?navigator.clipboard.writeText(e).then(()=>{window.$message.success(Hf("复制成功"))}).catch(t=>{console.error("复制到剪贴板时出错:",t),Ev(e)}):Ev(e)}function Ev(e){const t=document.createElement("button"),n=new xR(t,{text:()=>e});n.on("success",()=>{window.$message.success(Hf("复制成功")),n.destroy()}),n.on("error",()=>{window.$message.error(Hf("复制失败")),n.destroy()}),t.click()}function x$(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 C$(e){return typeof e>"u"}function w$(e){return e===null}function $v(e){return e&&Array.isArray(e)}function iC(e){return w$(e)||C$(e)}function Av(e){return/^(https?:|mailto:|tel:)/.test(e)}const hs=/^[a-z0-9]+(-[a-z0-9]+)*$/,lu=(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&&!tc(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&&!tc(s)?null:s}if(n&&o===""){const s={provider:o,prefix:"",name:i};return t&&!tc(s,n)?null:s}return null},tc=(e,t)=>e?!!((e.provider===""||e.provider.match(hs))&&(t&&e.prefix===""||e.prefix.match(hs))&&e.name.match(hs)):!1,aC=Object.freeze({left:0,top:0,width:16,height:16}),gc=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),cu=Object.freeze({...aC,...gc}),jf=Object.freeze({...cu,body:"",hidden:!1});function _$(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 Iv(e,t){const n=_$(e,t);for(const o in jf)o in gc?o in e&&!(o in n)&&(n[o]=gc[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function S$(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 k$(e,t,n){const o=e.icons,r=e.aliases||Object.create(null);let i={};function a(s){i=Iv(o[s]||r[s],i)}return a(t),n.forEach(a),Iv(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=S$(e);for(const r in o){const i=o[r];i&&(t(r,k$(e,r,i)),n.push(r))}return n}const T$={provider:"",aliases:{},not_found:{},...aC};function vd(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function lC(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!vd(e,T$))return null;const n=t.icons;for(const r in n){const i=n[r];if(!r.match(hs)||typeof i.body!="string"||!vd(i,jf))return null}const o=t.aliases||Object.create(null);for(const r in o){const i=o[r],a=i.parent;if(!r.match(hs)||typeof a!="string"||!n[a]&&!o[a]||!vd(i,jf))return null}return t}const Mv=Object.create(null);function P$(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function hi(e,t){const n=Mv[e]||(Mv[e]=Object.create(null));return n[t]||(n[t]=P$(e,t))}function hp(e,t){return lC(t)?sC(t,(n,o)=>{o?e.icons[n]=o:e.missing.add(n)}):[]}function R$(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let zs=!1;function cC(e){return typeof e=="boolean"&&(zs=e),zs}function E$(e){const t=typeof e=="string"?lu(e,!0,zs):e;if(t){const n=hi(t.provider,t.prefix),o=t.name;return n.icons[o]||(n.missing.has(o)?null:void 0)}}function $$(e,t){const n=lu(e,!0,zs);if(!n)return!1;const o=hi(n.provider,n.prefix);return R$(o,n.name,t)}function A$(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),zs&&!t&&!e.prefix){let r=!1;return lC(e)&&(e.prefix="",sC(e,(i,a)=>{a&&$$(i,a)&&(r=!0)})),r}const n=e.prefix;if(!tc({provider:t,prefix:n,name:"a"}))return!1;const o=hi(t,n);return!!hp(o,e)}const uC=Object.freeze({width:null,height:null}),dC=Object.freeze({...uC,...gc}),I$=/(-?[0-9.]*[0-9]+[0-9.]*)/g,M$=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function zv(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(I$);if(o===null||!o.length)return e;const r=[];let i=o.shift(),a=M$.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 z$=e=>e==="unset"||e==="undefined"||e==="none";function O$(e,t){const n={...cu,...e},o={...dC,...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,g=h.vFlip;let y=h.rotate;v?g?y+=2:(m.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),m.push("scale(-1 1)"),r.top=r.left=0):g&&(m.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),m.push("scale(1 -1)"),r.top=r.left=0);let S;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:S=r.height/2+r.top,m.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:m.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:S=r.width/2+r.left,m.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}y%2===1&&(r.left!==r.top&&(S=r.left,r.left=r.top,r.top=S),r.width!==r.height&&(S=r.width,r.width=r.height,r.height=S)),m.length&&(i=''+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=zv(d,l/c)):(u=a==="auto"?l:a,d=s===null?zv(u,c/l):s==="auto"?c:s);const f={},p=(h,m)=>{z$(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 D$=/\sid="(\S+)"/g,L$="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let F$=0;function N$(e,t=L$){const n=[];let o;for(;o=D$.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+(F$++).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 Vf=Object.create(null);function B$(e,t){Vf[e]=t}function Uf(e){return Vf[e]||Vf[""]}function pp(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 mp=Object.create(null),Xa=["https://api.simplesvg.com","https://api.unisvg.com"],nc=[];for(;Xa.length>0;)Xa.length===1||Math.random()>.5?nc.push(Xa.shift()):nc.push(Xa.pop());mp[""]=pp({resources:["https://api.iconify.design"].concat(nc)});function H$(e,t){const n=pp(t);return n===null?!1:(mp[e]=n,!0)}function gp(e){return mp[e]}const j$=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Ov=j$();function V$(e,t){const n=gp(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 U$(e){return e===404}const W$=(e,t,n)=>{const o=[],r=V$(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 q$(e){if(typeof e=="string"){const t=gp(e);if(t)return t.path}return"/"}const K$=(e,t,n)=>{if(!Ov){n("abort",424);return}let o=q$(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;Ov(e+o).then(i=>{const a=i.status;if(a!==200){setTimeout(()=>{n(U$(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)})},G$={prepare:W$,send:K$};function Y$(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]=hi(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 fC(e,t){e.forEach(n=>{const o=n.loaderCallbacks;o&&(n.loaderCallbacks=o.filter(r=>r.id!==t))})}function X$(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||fC([e],i.id),i.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),i.abort))})}))}let Q$=0;function Z$(e,t,n){const o=Q$++,r=fC.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 J$(e,t=!0,n=!1){const o=[];return e.forEach(r=>{const i=typeof r=="string"?lu(r,t,n):r;i&&o.push(i)}),o}var eA={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function tA(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 w=Math.floor(Math.random()*x.length);a.push(x[w]),x=x.slice(0,w).concat(x.slice(w+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,w){w&&(p=[]),typeof x=="function"&&p.push(x)}function g(){return{startTime:s,payload:t,status:l,queriesSent:c,queriesPending:f.length,subscribe:v,abort:m}}function y(){l="failed",p.forEach(x=>{x(void 0,u)})}function S(){f.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),f=[]}function C(x,w,T){const P=w!=="success";switch(f=f.filter(k=>k!==x),l){case"pending":break;case"failed":if(P||!e.dataAfterTimeout)return;break;default:return}if(w==="abort"){u=T,y();return}if(P){u=T,f.length||(a.length?_():y());return}if(h(),S(),!e.random){const k=e.resources.indexOf(x.resource);k!==-1&&k!==e.index&&(e.index=k)}l="completed",p.forEach(k=>{k(T)})}function _(){if(l!=="pending")return;h();const x=a.shift();if(x===void 0){if(f.length){d=setTimeout(()=>{h(),l==="pending"&&(S(),y())},e.timeout);return}y();return}const w={status:"pending",resource:x,callback:(T,P)=>{C(w,T,P)}};f.push(w),c++,d=setTimeout(_,e.rotate),n(x,t,w.callback)}return setTimeout(_),g}function hC(e){const t={...eA,...e};let n=[];function o(){n=n.filter(s=>s().status==="pending")}function r(s,l,c){const u=tA(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 Dv(){}const bd=Object.create(null);function nA(e){if(!bd[e]){const t=gp(e);if(!t)return;const n=hC(t),o={config:t,redundancy:n};bd[e]=o}return bd[e]}function oA(e,t,n){let o,r;if(typeof e=="string"){const i=Uf(e);if(!i)return n(void 0,424),Dv;r=i.send;const a=nA(e);a&&(o=a.redundancy)}else{const i=pp(e);if(i){o=hC(i);const a=e.resources?e.resources[0]:"",s=Uf(a);s&&(r=s.send)}}return!o||!r?(n(void 0,424),Dv):o.query(t,r,n)().abort}const Lv="iconify2",Os="iconify",pC=Os+"-count",Fv=Os+"-version",mC=36e5,rA=168;function Wf(e,t){try{return e.getItem(t)}catch{}}function vp(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Nv(e,t){try{e.removeItem(t)}catch{}}function qf(e,t){return vp(e,pC,t.toString())}function Kf(e){return parseInt(Wf(e,pC))||0}const uu={local:!0,session:!0},gC={local:new Set,session:new Set};let bp=!1;function iA(e){bp=e}let _l=typeof window>"u"?{}:window;function vC(e){const t=e+"Storage";try{if(_l&&_l[t]&&typeof _l[t].length=="number")return _l[t]}catch{}uu[e]=!1}function bC(e,t){const n=vC(e);if(!n)return;const o=Wf(n,Fv);if(o!==Lv){if(o){const s=Kf(n);for(let l=0;l{const l=Os+s.toString(),c=Wf(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{}Nv(n,l)}};let a=Kf(n);for(let s=a-1;s>=0;s--)i(s)||(s===a-1?(a--,qf(n,a)):gC[e].add(s))}function yC(){if(!bp){iA(!0);for(const e in uu)bC(e,t=>{const n=t.data,o=t.provider,r=n.prefix,i=hi(o,r);if(!hp(i,n).length)return!1;const a=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,a):a,!0})}}function aA(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const o in uu)bC(o,r=>{const i=r.data;return r.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function sA(e,t){bp||yC();function n(o){let r;if(!uu[o]||!(r=vC(o)))return;const i=gC[o];let a;if(i.size)i.delete(a=Array.from(i).shift());else if(a=Kf(r),!qf(r,a+1))return;const s={cached:Math.floor(Date.now()/mC),provider:e.provider,data:t};return vp(r,Os+a.toString(),JSON.stringify(s))}t.lastModified&&!aA(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Bv(){}function lA(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,X$(e)}))}function cA(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=Uf(n)))return;i.prepare(n,o,r).forEach(s=>{oA(n,s,l=>{if(typeof l!="object")s.icons.forEach(c=>{e.missing.add(c)});else try{const c=hp(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(d=>{u.delete(d)}),sA(e,l)}catch(c){console.error(c)}lA(e)})})}))}const uA=(e,t)=>{const n=J$(e,!0,cC()),o=Y$(n);if(!o.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(o.loaded,o.missing,o.pending,Bv)}),()=>{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(hi(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=hi(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&&cA(l,r[c][u])}),t?Z$(t,o,i):Bv};function dA(e,t){const n={...e};for(const o in t){const r=t[o],i=typeof r;o in uC?(r===null||r&&(i==="string"||i==="number"))&&(n[o]=r):i===typeof n[o]&&(n[o]=o==="rotate"?r%4:r)}return n}const fA=/[\s,]+/;function hA(e,t){t.split(fA).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function pA(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 mA(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 gA(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function vA(e){return"data:image/svg+xml,"+gA(e)}function bA(e){return'url("'+vA(e)+'")'}const Hv={...dC,inline:!1},yA={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},xA={display:"inline-block"},Gf={backgroundColor:"currentColor"},xC={backgroundColor:"transparent"},jv={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Vv={webkitMask:Gf,mask:Gf,background:xC};for(const e in Vv){const t=Vv[e];for(const n in jv)t[e+n]=jv[n]}const oc={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";oc[e+"-flip"]=t,oc[e.slice(0,1)+"-flip"]=t,oc[e+"Flip"]=t});function Uv(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Wv=(e,t)=>{const n=dA(Hv,t),o={...yA},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"&&hA(n,v);break;case"color":i.color=v;break;case"rotate":typeof v=="string"?n[m]=pA(v):typeof v=="number"&&(n[m]=v);break;case"ariaHidden":case"aria-hidden":v!==!0&&v!=="true"&&delete o["aria-hidden"];break;default:{const g=oc[m];g?(v===!0||v==="true"||v===1)&&(n[g]=!0):Hv[m]===void 0&&(o[m]=v)}}}const l=O$(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=N$(l.body,v?()=>v+"ID"+m++:"iconifyVue"),b("svg",o)}const{body:u,width:d,height:f}=e,p=r==="mask"||(r==="bg"?!1:u.indexOf("currentColor")!==-1),h=mA(u,{...c,width:d+"",height:f+""});return o.style={...i,"--svg":bA(h),width:Uv(c.width),height:Uv(c.height),...xA,...p?Gf:xC,...s},b("span",o)};cC(!0);B$("",G$);if(typeof document<"u"&&typeof window<"u"){yC();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"||!A$(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;H$(n,r)||console.error(o)}catch{console.error(o)}}}}const CA={...cu,body:""},wA=pe({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=lu(e,!1,!0))===null)return this.abortLoading(),null;const o=E$(n);if(!o)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",o!==null&&(this._loadingIcon={name:e,abort:uA([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 Wv(CA,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Wv({...cu,...t.data},n)}});let vc=[];const CC=new WeakMap;function _A(){vc.forEach(e=>e(...CC.get(e))),vc=[]}function bc(e,...t){CC.set(e,t),!vc.includes(e)&&vc.push(e)===1&&requestAnimationFrame(_A)}function SA(e){return e.nodeType===9?null:e.parentNode}function wC(e){if(e===null)return null;const t=SA(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 wC(t)}function kA(e){return typeof e=="string"?document.querySelector(e):typeof e=="function"?e():e}function nr(e,t){let{target:n}=e;for(;n;){if(n.dataset&&n.dataset[t]!==void 0)return!0;n=n.parentElement}return!1}function pi(e){return e.composedPath()[0]||null}function wn(e){return typeof e=="string"?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function Ln(e){if(e!=null)return typeof e=="number"?`${e}px`:e.endsWith("px")?e:`${e}px`}function si(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 TA(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"},$a="^\\s*",Aa="\\s*$",ti="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",ni="([0-9A-Fa-f])",oi="([0-9A-Fa-f]{2})",PA=new RegExp(`${$a}rgb\\s*\\(${ti},${ti},${ti}\\)${Aa}`),RA=new RegExp(`${$a}rgba\\s*\\(${ti},${ti},${ti},${ti}\\)${Aa}`),EA=new RegExp(`${$a}#${ni}${ni}${ni}${Aa}`),$A=new RegExp(`${$a}#${oi}${oi}${oi}${Aa}`),AA=new RegExp(`${$a}#${ni}${ni}${ni}${ni}${Aa}`),IA=new RegExp(`${$a}#${oi}${oi}${oi}${oi}${Aa}`);function On(e){return parseInt(e,16)}function No(e){try{let t;if(t=$A.exec(e))return[On(t[1]),On(t[2]),On(t[3]),1];if(t=PA.exec(e))return[kn(t[1]),kn(t[5]),kn(t[9]),1];if(t=RA.exec(e))return[kn(t[1]),kn(t[5]),kn(t[9]),ps(t[13])];if(t=EA.exec(e))return[On(t[1]+t[1]),On(t[2]+t[2]),On(t[3]+t[3]),1];if(t=IA.exec(e))return[On(t[1]),On(t[2]),On(t[3]),ps(On(t[4])/255)];if(t=AA.exec(e))return[On(t[1]+t[1]),On(t[2]+t[2]),On(t[3]+t[3]),ps(On(t[4]+t[4])/255)];if(e in qv)return No(qv[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function MA(e){return e>1?1:e<0?0:e}function Yf(e,t,n,o){return`rgba(${kn(e)}, ${kn(t)}, ${kn(n)}, ${MA(o)})`}function yd(e,t,n,o,r){return kn((e*t*(1-o)+n*o)/r)}function Ye(e,t){Array.isArray(e)||(e=No(e)),Array.isArray(t)||(t=No(t));const n=e[3],o=t[3],r=ps(n+o-n*o);return Yf(yd(e[0],n,t[0],o,r),yd(e[1],n,t[1],o,r),yd(e[2],n,t[2],o,r),r)}function Ae(e,t){const[n,o,r,i=1]=Array.isArray(e)?e:No(e);return t.alpha?Yf(n,o,r,t.alpha):Yf(n,o,r,i)}function cn(e,t){const[n,o,r,i=1]=Array.isArray(e)?e:No(e),{lightness:a=1,alpha:s=1}=t;return zA([n*a,o*a,r*a,i*s])}function ps(e){const t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function kn(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function zA(e){const[t,n,o]=e;return 3 in e?`rgba(${kn(t)}, ${kn(n)}, ${kn(o)}, ${ps(e[3])})`:`rgba(${kn(t)}, ${kn(n)}, ${kn(o)}, 1)`}function Ia(e=8){return Math.random().toString(16).slice(2,2+e)}function OA(e,t){const n=[];for(let o=0;o{o[r]=e[r]}),Object.assign(o,n)}function Ys(e,t=[],n){const o={};return Object.getOwnPropertyNames(e).forEach(i=>{t.includes(i)||(o[i]=e[i])}),Object.assign(o,n)}function ba(e,t=!0,n=[]){return e.forEach(o=>{if(o!==null){if(typeof o!="object"){(typeof o=="string"||typeof o=="number")&&n.push(Je(String(o)));return}if(Array.isArray(o)){ba(o,t,n);return}if(o.type===et){if(o.children===null)return;Array.isArray(o.children)&&ba(o.children,t,n)}else o.type!==An&&n.push(o)}}),n}function Re(e,...t){if(Array.isArray(e))e.forEach(n=>Re(n,...t));else return e(...t)}function Lr(e){return Object.keys(e)}const Nt=(e,...t)=>typeof e=="function"?e(...t):typeof e=="string"?Je(e):typeof e=="number"?Je(String(e)):null;function or(e,t){console.error(`[naive/${e}]: ${t}`)}function Fr(e,t){throw new Error(`[naive/${e}]: ${t}`)}function Kv(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 LA(e){switch(typeof e){case"string":return e||void 0;case"number":return String(e);default:return}}function Xf(e,t="default",n=void 0){const o=e[t];if(!o)return or("getFirstSlotVNode",`slot[${t}] is empty`),null;const r=ba(o(n));return r.length===1?r[0]:(or("getFirstSlotVNode",`slot[${t}] should have exactly one child`),null)}function SC(e){return t=>{t?e.value=t.$el:e.value=null}}function Xs(e){return e.some(t=>Ps(t)?!(t.type===An||t.type===et&&!Xs(t.children)):!0)?e:null}function Pn(e,t){return e&&Xs(e())||t()}function Qf(e,t,n){return e&&Xs(e(t))||n(t)}function Ot(e,t){const n=e&&Xs(e());return t(n||null)}function oa(e){return!(e&&Xs(e()))}function ms(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 Zf=pe({render(){var e,t;return(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)}}),FA=/^(\d|\.)+$/,Gv=/(\d|\.)+/;function Ut(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(FA.test(e)){const r=(Number(e)+n)*t;return o?r===0?"0":`${r}px`:`${r}`}else{const r=Gv.exec(e);return r?e.replace(Gv,String((Number(r[0])+n)*t)):e}return e}function yc(e){return e.replace(/#|\(|\)|,|\s/g,"_")}function NA(e){let t=0;for(let n=0;n{let r=NA(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 jA(e,t){const n=[];return t.split(kC).forEach(o=>{e.forEach(r=>{n.push((r&&r+" ")+o)})}),n}function VA(e){let t=[""];return e.forEach(n=>{n=n&&n.trim(),n&&(n.includes("&")?t=HA(t,n):t=jA(t,n))}),t.join(", ").replace(BA," ")}function Yv(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function du(e){return document.querySelector(`style[cssr-id="${e}"]`)}function UA(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function Sl(e){return e?/^\s*@(s|m)/.test(e):!1}const WA=/[A-Z]/g;function TC(e){return e.replace(WA,t=>"-"+t.toLowerCase())}function qA(e,t=" "){return typeof e=="object"&&e!==null?` { +`+Object.entries(e).map(n=>t+` ${TC(n[0])}: ${n[1]};`).join(` `)+` -`+t+"}":`: ${e};`}function qA(e,t,n){return typeof e=="function"?e({context:t.context,props:n}):e}function Yv(e,t,n,o){if(!t)return"";const r=qA(t,n,o);if(!r)return"";if(typeof r=="string")return`${e} { +`+t+"}":`: ${e};`}function KA(e,t,n){return typeof e=="function"?e({context:t.context,props:n}):e}function Xv(e,t,n,o){if(!t)return"";const r=KA(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=kC(s),l!=null&&a.push(` ${s}${WA(l)}`)}),e&&a.push("}"),a.join(` -`)}function Jf(e,t,n){e&&e.forEach(o=>{if(Array.isArray(o))Jf(o,t,n);else if(typeof o=="function"){const r=o(t);Array.isArray(r)?Jf(r,t,n):r&&n(r)}else o&&n(o)})}function TC(e,t,n,o,r,i){const a=e.$;let s="";if(!a||typeof a=="string")Sl(a)?s=a:t.push(a);else if(typeof a=="function"){const u=a({context:o.context,props:r});Sl(u)?s=u:t.push(u)}else if(a.before&&a.before(o.context),!a.$||typeof a.$=="string")Sl(a.$)?s=a.$:t.push(a.$);else if(a.$){const u=a.$({context:o.context,props:r});Sl(u)?s=u:t.push(u)}const l=jA(t),c=Yv(l,e.props,o,r);s?(n.push(`${s} {`),i&&c&&i.insertRule(`${s} { +`);return}s=TC(s),l!=null&&a.push(` ${s}${qA(l)}`)}),e&&a.push("}"),a.join(` +`)}function Jf(e,t,n){e&&e.forEach(o=>{if(Array.isArray(o))Jf(o,t,n);else if(typeof o=="function"){const r=o(t);Array.isArray(r)?Jf(r,t,n):r&&n(r)}else o&&n(o)})}function PC(e,t,n,o,r,i){const a=e.$;let s="";if(!a||typeof a=="string")Sl(a)?s=a:t.push(a);else if(typeof a=="function"){const u=a({context:o.context,props:r});Sl(u)?s=u:t.push(u)}else if(a.before&&a.before(o.context),!a.$||typeof a.$=="string")Sl(a.$)?s=a.$:t.push(a.$);else if(a.$){const u=a.$({context:o.context,props:r});Sl(u)?s=u:t.push(u)}const l=VA(t),c=Xv(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&&Jf(e.children,{context:o.context,props:r},u=>{if(typeof u=="string"){const d=Yv(l,{raw:u},o,r);i?i.insertRule(d):n.push(d)}else TC(u,t,n,o,r,i)}),t.pop(),s&&n.push("}"),a&&a.after&&a.after(o.context)}function PC(e,t,n,o=!1){const r=[];return TC(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&&Jf(e.children,{context:o.context,props:r},u=>{if(typeof u=="string"){const d=Xv(l,{raw:u},o,r);i?i.insertRule(d):n.push(d)}else PC(u,t,n,o,r,i)}),t.pop(),s&&n.push("}"),a&&a.after&&a.after(o.context)}function RC(e,t,n,o=!1){const r=[];return PC(e,[],r,t,n,o?e.instance.__styleSheet:void 0),o?"":r.join(` -`)}function Ds(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 KA(e,t,n){const{els:o}=t;if(n===void 0)o.forEach(Gv),t.els=[];else{const r=du(n);r&&o.includes(r)&&(Gv(r),t.els=o.filter(i=>i!==r))}}function Xv(e,t){e.push(t)}function GA(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,PC(t,e,o,i));return}let c;if(n===void 0&&(c=t.render(o),n=Ds(c)),l){l.adapter(n,c??t.render(o));return}const u=du(n);if(u!==null&&!a)return u;const d=u??VA(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),Xv(t.els,d),d}return r?document.head.insertBefore(d,document.head.querySelector("style, link")):document.head.appendChild(d),Xv(t.els,d),d}function YA(e){return PC(this,this.instance,e)}function XA(e={}){const{id:t,ssr:n,props:o,head:r=!1,silent:i=!1,force:a=!1,anchorMetaName:s}=e;return GA(this.instance,this,t,o,r,i,a,s,n)}function QA(e={}){const{id:t}=e;KA(this.instance,this,t)}const kl=function(e,t,n,o){return{instance:e,$:t,props:n,children:o,els:[],render:YA,mount:XA,unmount:QA}},ZA=function(e,t,n,o){return Array.isArray(t)?kl(e,{$:null},null,t):Array.isArray(n)?kl(e,t,null,n):Array.isArray(o)?kl(e,t,n,o):kl(e,t,n,null)};function RC(e={}){let t=null;const n={c:(...o)=>ZA(n,...o),use:(o,...r)=>o.install(n,...r),find:du,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 JA(e,t){if(e===void 0)return!1;if(t){const{context:{ids:n}}=t;return n.has(e)}return du(e)!==null}function e6(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(g){m=g.bem.b,v=g.bem.els,g.bem.els=null},after(g){g.bem.b=m,g.bem.els=v},$({context:g,props:y}){return h=typeof h=="string"?h:h({context:g,props:y}),g.bem.b=h,`${(y==null?void 0:y.bPrefix)||t}${g.bem.b}`}}}function s(h){let m;return{before(v){m=v.bem.els},after(v){v.bem.els=m},$({context:v,props:g}){return h=typeof h=="string"?h:h({context:v,props:g}),v.bem.els=h.split(",").map(y=>y.trim()),v.bem.els.map(y=>`${(g==null?void 0:g.bPrefix)||t}${v.bem.b}${n}${y}`).join(", ")}}}function l(h){return{$({context:m,props:v}){h=typeof h=="string"?h:h({context:m,props:v});const g=h.split(",").map(C=>C.trim());function y(C){return g.map(_=>`&${(v==null?void 0:v.bPrefix)||t}${m.bem.b}${C!==void 0?`${n}${C}`:""}${o}${_}`).join(", ")}const S=m.bem.els;return S!==null?y(S[0]):y()}}}function c(h){return{$({context:m,props:v}){h=typeof h=="string"?h:h({context:m,props:v});const g=m.bem.els;return`&:not(${(v==null?void 0:v.bPrefix)||t}${m.bem.b}${g!==null&&g.length>0?`${n}${g[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}function Pe(e,t){return e+(t==="default"?"":t.replace(/^[a-z]/,n=>n.toUpperCase()))}Pe("abc","def");const t6="n",Ls=`.${t6}-`,n6="__",o6="--",EC=RC(),$C=e6({blockPrefix:Ls,elementPrefix:n6,modifierPrefix:o6});EC.use($C);const{c:j,find:h7e}=EC,{cB:z,cE:D,cM:K,cNotM:Pt}=$C;function Qs(e){return j(({props:{bPrefix:t}})=>`${t||Ls}modal, ${t||Ls}drawer`,[e])}function fu(e){return j(({props:{bPrefix:t}})=>`${t||Ls}popover`,[e])}function AC(e){return j(({props:{bPrefix:t}})=>`&${t||Ls}modal`,e)}const r6=(...e)=>j(">",[z(...e)]);let xd;function i6(){return xd===void 0&&(xd=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),xd}const ir=typeof document<"u"&&typeof window<"u",IC=new WeakSet;function a6(e){IC.add(e)}function MC(e){return!IC.has(e)}function s6(e,t,n){if(!t)return e;const o=B(e.value);let r=null;return ht(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 l6(e){const t=B(!!e.value);if(t.value)return to(t);const n=ht(e,o=>{o&&(t.value=!0,n())});return to(t)}function wt(e){const t=N(e),n=B(t.value);return ht(t,o=>{n.value=o}),typeof e=="function"?n:{__v_isRef:!0,get value(){return n.value},set value(o){e.set(o)}}}function yp(){return Gn()!==null}const xp=typeof window<"u";let ra,gs;const c6=()=>{var e,t;ra=xp?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,gs=!1,ra!==void 0?ra.then(()=>{gs=!0}):gs=!0};c6();function u6(e){if(gs)return;let t=!1;Vt(()=>{gs||ra==null||ra.then(()=>{t||e()})}),tn(()=>{t=!0})}function rc(e){return e.composedPath()[0]}const d6={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function f6(e,t,n){if(e==="mousemoveoutside"){const o=r=>{t.contains(rc(r))||n(r)};return{mousemove:o,touchstart:o}}else if(e==="clickoutside"){let o=!1;const r=a=>{o=!t.contains(rc(a))},i=a=>{o&&(t.contains(rc(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 zC(e,t,n){const o=d6[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=f6(e,t,n)),i}function h6(e,t,n,o){if(e==="mousemoveoutside"||e==="clickoutside"){const r=zC(e,t,n);return Object.keys(r).forEach(i=>{At(i,document,r[i],o)}),!0}return!1}function p6(e,t,n,o){if(e==="mousemoveoutside"||e==="clickoutside"){const r=zC(e,t,n);return Object.keys(r).forEach(i=>{_t(i,document,r[i],o)}),!0}return!1}function m6(){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(w,T,P){const k=w[T];return w[T]=function(){return P.apply(w,arguments),k.apply(w,arguments)},w}function i(w,T){w[T]=Event.prototype[T]}const a=new WeakMap,s=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function l(){var w;return(w=a.get(this))!==null&&w!==void 0?w:null}function c(w,T){s!==void 0&&Object.defineProperty(w,"currentTarget",{configurable:!0,enumerable:!0,get:T??s.get})}const u={bubble:{},capture:{}},d={};function f(){const w=function(T){const{type:P,eventPhase:k,bubbles:I}=T,A=rc(T);if(k===2)return;const q=k===1?"capture":"bubble";let F=A;const O=[];for(;F===null&&(F=window),O.push(F),F!==window;)F=F.parentNode||null;const $=u.capture[P],W=u.bubble[P];if(r(T,"stopPropagation",n),r(T,"stopImmediatePropagation",o),c(T,l),q==="capture"){if($===void 0)return;for(let Q=O.length-1;Q>=0&&!e.has(T);--Q){const L=O[Q],M=$.get(L);if(M!==void 0){a.set(T,L);for(const se of M){if(t.has(T))break;se(T)}}if(Q===0&&!I&&W!==void 0){const se=W.get(L);if(se!==void 0)for(const X of se){if(t.has(T))break;X(T)}}}}else if(q==="bubble"){if(W===void 0)return;for(let Q=0;QA(T))};return w.displayName="evtdUnifiedWindowEventHandler",w}const h=f(),m=p();function v(w,T){const P=u[w];return P[T]===void 0&&(P[T]=new Map,window.addEventListener(T,h,w==="capture")),P[T]}function g(w){return d[w]===void 0&&(d[w]=new Set,window.addEventListener(w,m)),d[w]}function y(w,T){let P=w.get(T);return P===void 0&&w.set(T,P=new Set),P}function S(w,T,P,k){const I=u[T][P];if(I!==void 0){const A=I.get(w);if(A!==void 0&&A.has(k))return!0}return!1}function C(w,T){const P=d[w];return!!(P!==void 0&&P.has(T))}function _(w,T,P,k){let I;if(typeof k=="object"&&k.once===!0?I=$=>{x(w,T,I,k),P($)}:I=P,h6(w,T,I,k))return;const q=k===!0||typeof k=="object"&&k.capture===!0?"capture":"bubble",F=v(q,w),O=y(F,T);if(O.has(I)||O.add(I),T===window){const $=g(w);$.has(I)||$.add(I)}}function x(w,T,P,k){if(p6(w,T,P,k))return;const A=k===!0||typeof k=="object"&&k.capture===!0,q=A?"capture":"bubble",F=v(q,w),O=y(F,T);if(T===window&&!S(T,A?"bubble":"capture",w,P)&&C(w,P)){const W=d[w];W.delete(P),W.size===0&&(window.removeEventListener(w,m),d[w]=void 0)}O.has(P)&&O.delete(P),O.size===0&&F.delete(T),F.size===0&&(window.removeEventListener(w,h,q==="capture"),u[q][w]=void 0)}return{on:_,off:x}}const{on:At,off:_t}=m6(),os=B(null);function Qv(e){if(e.clientX>0||e.clientY>0)os.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?os.value={x:n+r/2,y:o+i/2}:os.value={x:0,y:0}}else os.value=null}}let Tl=0,Zv=!0;function OC(){if(!xp)return to(B(null));Tl===0&&At("click",document,Qv,!0);const e=()=>{Tl+=1};return Zv&&(Zv=yp())?(an(e),tn(()=>{Tl-=1,Tl===0&&_t("click",document,Qv,!0)})):e(),to(os)}const g6=B(void 0);let Pl=0;function Jv(){g6.value=Date.now()}let eb=!0;function DC(e){if(!xp)return to(B(!1));const t=B(!1);let n=null;function o(){n!==null&&window.clearTimeout(n)}function r(){o(),t.value=!0,n=window.setTimeout(()=>{t.value=!1},e)}Pl===0&&At("click",window,Jv,!0);const i=()=>{Pl+=1,At("click",window,r,!0)};return eb&&(eb=yp())?(an(i),tn(()=>{Pl-=1,Pl===0&&_t("click",window,Jv,!0),_t("click",window,r,!0),o()})):i(),to(t)}function rn(e,t){return ht(e,n=>{n!==void 0&&(t.value=n)}),N(()=>e.value===void 0?t.value:e.value)}function Nr(){const e=B(!1);return Vt(()=>{e.value=!0}),to(e)}function Cp(e,t){return N(()=>{for(const n of t)if(e[n]!==void 0)return e[n];return e[t[t.length-1]]})}const v6=(typeof window>"u"?!1:/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!window.MSStream;function b6(){return v6}function y6(e={},t){const n=bo({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)&&(At("keydown",document,i),At("keyup",document,a)),t!==void 0&&ht(t,l=>{l?(At("keydown",document,i),At("keyup",document,a)):(_t("keydown",document,i),_t("keyup",document,a))})};return yp()?(an(s),tn(()=>{(t===void 0||t.value)&&(_t("keydown",document,i),_t("keyup",document,a))})):s(),to(n)}const wp="n-internal-select-menu",LC="n-internal-select-menu-body",Zs="n-modal-body",FC="n-modal",Js="n-drawer-body",_p="n-drawer",Ma="n-popover-body",NC="__disabled__";function Bo(e){const t=He(Zs,null),n=He(Js,null),o=He(Ma,null),r=He(LC,null),i=B();if(typeof document<"u"){i.value=document.fullscreenElement;const a=()=>{i.value=document.fullscreenElement};Vt(()=>{At("fullscreenchange",document,a)}),tn(()=>{_t("fullscreenchange",document,a)})}return wt(()=>{var a;const{to:s}=e;return s!==void 0?s===!1?NC: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")})}Bo.tdkey=NC;Bo.propTo={type:[String,Object,Boolean],default:void 0};let tb=!1;function x6(){if(ir&&window.CSS&&!tb&&(tb=!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 eh(e,t,n="default"){const o=t[n];if(o===void 0)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);return o()}function th(e,t=!0,n=[]){return e.forEach(o=>{if(o!==null){if(typeof o!="object"){(typeof o=="string"||typeof o=="number")&&n.push(Je(String(o)));return}if(Array.isArray(o)){th(o,t,n);return}if(o.type===et){if(o.children===null)return;Array.isArray(o.children)&&th(o.children,t,n)}else o.type!==An&&n.push(o)}}),n}function nb(e,t,n="default"){const o=t[n];if(o===void 0)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);const r=th(o());if(r.length===1)return r[0];throw new Error(`[vueuc/${e}]: slot[${n}] should have exactly one child.`)}let gr=null;function BC(){if(gr===null&&(gr=document.getElementById("v-binder-view-measurer"),gr===null)){gr=document.createElement("div"),gr.id="v-binder-view-measurer";const{style:e}=gr;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(gr)}return gr.getBoundingClientRect()}function C6(e,t){const n=BC();return{top:t,left:e,height:0,width:0,right:n.width-e,bottom:n.height-t}}function Cd(e){const t=e.getBoundingClientRect(),n=BC();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 w6(e){return e.nodeType===9?null:e.parentNode}function HC(e){if(e===null)return null;const t=w6(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 HC(t)}const _6=pe({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;lt("VBinder",(t=Gn())===null||t===void 0?void 0:t.proxy);const n=He("VBinder",null),o=B(null),r=g=>{o.value=g,n&&e.syncTargetWithParent&&n.setTargetRef(g)};let i=[];const a=()=>{let g=o.value;for(;g=HC(g),g!==null;)i.push(g);for(const y of i)At("scroll",y,d,!0)},s=()=>{for(const g of i)_t("scroll",g,d,!0);i=[]},l=new Set,c=g=>{l.size===0&&a(),l.has(g)||l.add(g)},u=g=>{l.has(g)&&l.delete(g),l.size===0&&s()},d=()=>{bc(f)},f=()=>{l.forEach(g=>g())},p=new Set,h=g=>{p.size===0&&At("resize",window,v),p.has(g)||p.add(g)},m=g=>{p.has(g)&&p.delete(g),p.size===0&&_t("resize",window,v)},v=()=>{p.forEach(g=>g())};return tn(()=>{_t("resize",window,v),s()}),{targetRef:o,setTargetRef:r,addScrollListener:c,removeScrollListener:u,addResizeListener:h,removeResizeListener:m}},render(){return eh("binder",this.$slots)}}),Sp=_6,kp=pe({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=He("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?Cn(nb("follower",this.$slots),[[t]]):nb("follower",this.$slots)}}),ji="@@mmoContext",S6={mounted(e,{value:t}){e[ji]={handler:void 0},typeof t=="function"&&(e[ji].handler=t,At("mousemoveoutside",e,t))},updated(e,{value:t}){const n=e[ji];typeof t=="function"?n.handler?n.handler!==t&&(_t("mousemoveoutside",e,n.handler),n.handler=t,At("mousemoveoutside",e,t)):(e[ji].handler=t,At("mousemoveoutside",e,t)):n.handler&&(_t("mousemoveoutside",e,n.handler),n.handler=void 0)},unmounted(e){const{handler:t}=e[ji];t&&_t("mousemoveoutside",e,t),e[ji].handler=void 0}},k6=S6,Vi="@@coContext",T6={mounted(e,{value:t,modifiers:n}){e[Vi]={handler:void 0},typeof t=="function"&&(e[Vi].handler=t,At("clickoutside",e,t,{capture:n.capture}))},updated(e,{value:t,modifiers:n}){const o=e[Vi];typeof t=="function"?o.handler?o.handler!==t&&(_t("clickoutside",e,o.handler,{capture:n.capture}),o.handler=t,At("clickoutside",e,t,{capture:n.capture})):(e[Vi].handler=t,At("clickoutside",e,t,{capture:n.capture})):o.handler&&(_t("clickoutside",e,o.handler,{capture:n.capture}),o.handler=void 0)},unmounted(e,{modifiers:t}){const{handler:n}=e[Vi];n&&_t("clickoutside",e,n,{capture:t.capture}),e[Vi].handler=void 0}},ya=T6;function P6(e,t){console.error(`[vdirs/${e}]: ${t}`)}class R6{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&&P6("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 wd=new R6,Ui="@@ziContext",E6={mounted(e,t){const{value:n={}}=t,{zIndex:o,enabled:r}=n;e[Ui]={enabled:!!r,initialized:!1},r&&(wd.ensureZIndex(e,o),e[Ui].initialized=!0)},updated(e,t){const{value:n={}}=t,{zIndex:o,enabled:r}=n,i=e[Ui].enabled;r&&!i&&(wd.ensureZIndex(e,o),e[Ui].initialized=!0),e[Ui].enabled=!!r},unmounted(e,t){if(!e[Ui].initialized)return;const{value:n={}}=t,{zIndex:o}=n;wd.unregister(e,o)}},hu=E6,jC=Symbol("@css-render/vue3-ssr");function $6(e,t){return``}function A6(e,t){const n=He(jC,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($6(e,t)))}const I6=typeof document<"u";function _i(){if(I6)return;const e=He(jC,null);if(e!==null)return{adapter:A6,context:e}}function ob(e,t){console.error(`[vueuc/${e}]: ${t}`)}const{c:kr}=RC(),Tp="vueuc-style";function rb(e){return e&-e}class M6{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-=rb(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?eh("lazy-teleport",this.$slots):b(qc,{disabled:this.disabled,to:this.mergedTo},eh("lazy-teleport",this.$slots)):null}}),Rl={top:"bottom",bottom:"top",left:"right",right:"left"},ab={start:"end",center:"center",end:"start"},_d={top:"height",bottom:"height",left:"width",right:"width"},z6={"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"},O6={"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"},D6={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},sb={top:!0,bottom:!1,left:!0,right:!1},lb={top:"end",bottom:"start",left:"end",right:"start"};function L6(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,g=0;const y=n[p]-t[h]-t[p];return y>0&&o&&(m?g=sb[h]?y:-y:v=sb[h]?y:-y),{left:v,top:g}},d=a==="left"||a==="right";if(l!=="center"){const p=D6[e],h=Rl[p],m=_d[p];if(n[m]>t[m]){if(t[p]+t[m]t[h]&&(l=ab[s])}else{const p=a==="bottom"||a==="top"?"left":"top",h=Rl[p],m=_d[p],v=(n[m]-t[m])/2;(t[p]t[h]?(l=lb[p],c=u(m,p,d)):(l=lb[h],c=u(m,h,d)))}let f=a;return t[a] *",{pointerEvents:"all"})])]),Pp=pe({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=He("VBinder"),n=wt(()=>e.enabled!==void 0?e.enabled:e.show),o=B(null),r=B(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)};Vt(()=>{n.value&&(l(),i())});const s=_i();B6.mount({id:"vueuc/binder",head:!0,anchorMetaName:Tp,ssr:s}),tn(()=>{a()}),u6(()=>{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,g=h!==void 0&&m!==void 0?C6(h,m):Cd(p);f.style.setProperty("--v-target-width",`${Math.round(g.width)}px`),f.style.setProperty("--v-target-height",`${Math.round(g.height)}px`);const{width:y,minWidth:S,placement:C,internalShift:_,flip:x}=e;f.setAttribute("v-placement",C),v?f.setAttribute("v-overlap",""):f.removeAttribute("v-overlap");const{style:w}=f;y==="target"?w.width=`${g.width}px`:y!==void 0?w.width=y:w.width="",S==="target"?w.minWidth=`${g.width}px`:S!==void 0?w.minWidth=S:w.minWidth="";const T=Cd(f),P=Cd(r.value),{left:k,top:I,placement:A}=L6(C,g,T,_,x,v),q=F6(A,v),{left:F,top:O,transform:$}=N6(A,P,g,I,k,v);f.setAttribute("v-placement",A),f.style.setProperty("--v-offset-left",`${Math.round(k)}px`),f.style.setProperty("--v-offset-top",`${Math.round(I)}px`),f.style.transform=`translateX(${F}) translateY(${O}) ${$}`,f.style.setProperty("--v-transform-origin",q),f.style.transformOrigin=q};ht(n,f=>{f?(i(),c()):a()});const c=()=>{jt().then(l).catch(f=>console.error(f))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(f=>{ht(Ne(e,f),l)}),["teleportDisabled"].forEach(f=>{ht(Ne(e,f),c)}),ht(Ne(e,"syncTrigger"),f=>{f.includes("resize")?t.addResizeListener(l):t.removeResizeListener(l),f.includes("scroll")?t.addScrollListener(l):t.removeScrollListener(l)});const u=Nr(),d=wt(()=>{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 b(pu,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=b("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[b("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?Cn(n,[[hu,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});var li=[],H6=function(){return li.some(function(e){return e.activeTargets.length>0})},j6=function(){return li.some(function(e){return e.skippedTargets.length>0})},cb="ResizeObserver loop completed with undelivered notifications.",V6=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:cb}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=cb),window.dispatchEvent(e)},Fs;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Fs||(Fs={}));var ci=function(e){return Object.freeze(e)},U6=function(){function e(t,n){this.inlineSize=t,this.blockSize=n,ci(this)}return e}(),VC=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}(),Rp=function(e){return e instanceof SVGElement&&"getBBox"in e},UC=function(e){if(Rp(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)},ub=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)},W6=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},vs=typeof window<"u"?window:{},El=new WeakMap,db=/auto|scroll/,q6=/^tb|vertical/,K6=/msie|trident/i.test(vs.navigator&&vs.navigator.userAgent),Ro=function(e){return parseFloat(e||"0")},ia=function(e,t,n){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=!1),new U6((n?t:e)||0,(n?e:t)||0)},fb=ci({devicePixelContentBoxSize:ia(),borderBoxSize:ia(),contentBoxSize:ia(),contentRect:new VC(0,0,0,0)}),WC=function(e,t){if(t===void 0&&(t=!1),El.has(e)&&!t)return El.get(e);if(UC(e))return El.set(e,fb),fb;var n=getComputedStyle(e),o=Rp(e)&&e.ownerSVGElement&&e.getBBox(),r=!K6&&n.boxSizing==="border-box",i=q6.test(n.writingMode||""),a=!o&&db.test(n.overflowY||""),s=!o&&db.test(n.overflowX||""),l=o?0:Ro(n.paddingTop),c=o?0:Ro(n.paddingRight),u=o?0:Ro(n.paddingBottom),d=o?0:Ro(n.paddingLeft),f=o?0:Ro(n.borderTopWidth),p=o?0:Ro(n.borderRightWidth),h=o?0:Ro(n.borderBottomWidth),m=o?0:Ro(n.borderLeftWidth),v=d+c,g=l+u,y=m+p,S=f+h,C=s?e.offsetHeight-S-e.clientHeight:0,_=a?e.offsetWidth-y-e.clientWidth:0,x=r?v+y:0,w=r?g+S:0,T=o?o.width:Ro(n.width)-x-_,P=o?o.height:Ro(n.height)-w-C,k=T+v+_+y,I=P+g+C+S,A=ci({devicePixelContentBoxSize:ia(Math.round(T*devicePixelRatio),Math.round(P*devicePixelRatio),i),borderBoxSize:ia(k,I,i),contentBoxSize:ia(T,P,i),contentRect:new VC(d,l,T,P)});return El.set(e,A),A},qC=function(e,t,n){var o=WC(e,n),r=o.borderBoxSize,i=o.contentBoxSize,a=o.devicePixelContentBoxSize;switch(t){case Fs.DEVICE_PIXEL_CONTENT_BOX:return a;case Fs.BORDER_BOX:return r;default:return i}},G6=function(){function e(t){var n=WC(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}(),KC=function(e){if(UC(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},Y6=function(){var e=1/0,t=[];li.forEach(function(a){if(a.activeTargets.length!==0){var s=[];a.activeTargets.forEach(function(c){var u=new G6(c.target),d=KC(c.target);s.push(u),c.lastReportedSize=qC(c.target,c.observedBox),de?n.activeTargets.push(r):n.skippedTargets.push(r))})})},X6=function(){var e=0;for(hb(e);H6();)e=Y6(),hb(e);return j6()&&V6(),e>0},Sd,GC=[],Q6=function(){return GC.splice(0).forEach(function(e){return e()})},Z6=function(e){if(!Sd){var t=0,n=document.createTextNode(""),o={characterData:!0};new MutationObserver(function(){return Q6()}).observe(n,o),Sd=function(){n.textContent="".concat(t?t--:t++)}}GC.push(e),Sd()},J6=function(e){Z6(function(){requestAnimationFrame(e)})},ic=0,e8=function(){return!!ic},t8=250,n8={attributes:!0,characterData:!0,childList:!0,subtree:!0},pb=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],mb=function(e){return e===void 0&&(e=0),Date.now()+e},kd=!1,o8=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=t8),!kd){kd=!0;var o=mb(t);J6(function(){var r=!1;try{r=X6()}finally{if(kd=!1,t=o-mb(),!e8())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,n8)};document.body?n():vs.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),pb.forEach(function(n){return vs.addEventListener(n,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),pb.forEach(function(n){return vs.removeEventListener(n,t.listener,!0)}),this.stopped=!0)},e}(),nh=new o8,gb=function(e){!ic&&e>0&&nh.start(),ic+=e,!ic&&nh.stop()},r8=function(e){return!Rp(e)&&!W6(e)&&getComputedStyle(e).display==="inline"},i8=function(){function e(t,n){this.target=t,this.observedBox=n||Fs.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=qC(this.target,this.observedBox,!0);return r8(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),a8=function(){function e(t,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=n}return e}(),$l=new WeakMap,vb=function(e,t){for(var n=0;n=0&&(i&&li.splice(li.indexOf(o),1),o.observationTargets.splice(r,1),gb(-1))},e.disconnect=function(t){var n=this,o=$l.get(t);o.observationTargets.slice().forEach(function(r){return n.unobserve(t,r.target)}),o.activeTargets.splice(0,o.activeTargets.length)},e}(),s8=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.");Al.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(!ub(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Al.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(!ub(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Al.unobserve(this,t)},e.prototype.disconnect=function(){Al.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class l8{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||s8)(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 xc=new l8,Ar=pe({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1;const n=Gn().proxy;function o(r){const{onResize:i}=e;i!==void 0&&i(r)}Vt(()=>{const r=n.$el;if(r===void 0){ob("resize-observer","$el does not exist.");return}if(r.nextElementSibling!==r.nextSibling&&r.nodeType===3&&r.nodeValue!==""){ob("resize-observer","$el can not be observed (it may be a text node).");return}r.nextElementSibling!==null&&(xc.registerHandler(r.nextElementSibling,o),t=!0)}),tn(()=>{t&&xc.unregisterHandler(n.$el.nextElementSibling)})},render(){return Wc(this.$slots,"default")}});let Il;function c8(){return Il===void 0&&("matchMedia"in window?Il=window.matchMedia("(pointer:coarse)").matches:Il=!1),Il}let Td;function bb(){return Td===void 0&&(Td="chrome"in window?window.devicePixelRatio:1),Td}const u8=kr(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[kr("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[kr("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),YC=pe({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=_i();u8.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:Tp,ssr:t}),Vt(()=>{const{defaultScrollIndex:I,defaultScrollKey:A}=e;I!=null?h({index:I}):A!=null&&h({key:A})});let n=!1,o=!1;Hh(()=>{if(n=!1,!o){o=!0;return}h({top:d.value,left:u})}),Vc(()=>{n=!0,o||(o=!0)});const r=N(()=>{const I=new Map,{keyField:A}=e;return e.items.forEach((q,F)=>{I.set(q[A],F)}),I}),i=B(null),a=B(void 0),s=new Map,l=N(()=>{const{items:I,itemSize:A,keyField:q}=e,F=new M6(I.length,A);return I.forEach((O,$)=>{const W=O[q],Q=s.get(W);Q!==void 0&&F.add($,Q)}),F}),c=B(0);let u=0;const d=B(0),f=wt(()=>Math.max(l.value.getBound(d.value-wn(e.paddingTop))-1,0)),p=N(()=>{const{value:I}=a;if(I===void 0)return[];const{items:A,itemSize:q}=e,F=f.value,O=Math.min(F+Math.ceil(I/q+1),A.length-1),$=[];for(let W=F;W<=O;++W)$.push(A[W]);return $}),h=(I,A)=>{if(typeof I=="number"){y(I,A,"auto");return}const{left:q,top:F,index:O,key:$,position:W,behavior:Q,debounce:L=!0}=I;if(q!==void 0||F!==void 0)y(q,F,Q);else if(O!==void 0)g(O,Q,L);else if($!==void 0){const M=r.value.get($);M!==void 0&&g(M,Q,L)}else W==="bottom"?y(0,Number.MAX_SAFE_INTEGER,Q):W==="top"&&y(0,0,Q)};let m,v=null;function g(I,A,q){const{value:F}=l,O=F.sum(I)+wn(e.paddingTop);if(!q)i.value.scrollTo({left:0,top:O,behavior:A});else{m=I,v!==null&&window.clearTimeout(v),v=window.setTimeout(()=>{m=void 0,v=null},16);const{scrollTop:$,offsetHeight:W}=i.value;if(O>$){const Q=F.get(I);O+Q<=$+W||i.value.scrollTo({left:0,top:O+Q-W,behavior:A})}else i.value.scrollTo({left:0,top:O,behavior:A})}}function y(I,A,q){i.value.scrollTo({left:I,top:A,behavior:q})}function S(I,A){var q,F,O;if(n||e.ignoreItemResize||k(A.target))return;const{value:$}=l,W=r.value.get(I),Q=$.get(W),L=(O=(F=(q=A.borderBoxSize)===null||q===void 0?void 0:q[0])===null||F===void 0?void 0:F.blockSize)!==null&&O!==void 0?O:A.contentRect.height;if(L===Q)return;L-e.itemSize===0?s.delete(I):s.set(I,L-e.itemSize);const se=L-Q;if(se===0)return;$.add(W,se);const X=i.value;if(X!=null){if(m===void 0){const ne=$.sum(W);X.scrollTop>ne&&X.scrollBy(0,se)}else if(WX.scrollTop+X.offsetHeight&&X.scrollBy(0,se)}P()}c.value++}const C=!c8();let _=!1;function x(I){var A;(A=e.onScroll)===null||A===void 0||A.call(e,I),(!C||!_)&&P()}function w(I){var A;if((A=e.onWheel)===null||A===void 0||A.call(e,I),C){const q=i.value;if(q!=null){if(I.deltaX===0&&(q.scrollTop===0&&I.deltaY<=0||q.scrollTop+q.offsetHeight>=q.scrollHeight&&I.deltaY>=0))return;I.preventDefault(),q.scrollTop+=I.deltaY/bb(),q.scrollLeft+=I.deltaX/bb(),P(),_=!0,bc(()=>{_=!1})}}}function T(I){if(n||k(I.target)||I.contentRect.height===a.value)return;a.value=I.contentRect.height;const{onResize:A}=e;A!==void 0&&A(I)}function P(){const{value:I}=i;I!=null&&(d.value=I.scrollTop,u=I.scrollLeft)}function k(I){let A=I;for(;A!==null;){if(A.style.display==="none")return!0;A=A.parentElement}return!1}return{listHeight:a,listStyle:{overflow:"auto"},keyToIndex:r,itemsStyle:N(()=>{const{itemResizable:I}=e,A=Ln(l.value.sum());return c.value,[e.itemsStyle,{boxSizing:"content-box",height:I?"":A,minHeight:I?A:"",paddingTop:Ln(e.paddingTop),paddingBottom:Ln(e.paddingBottom)}]}),visibleItemsStyle:N(()=>(c.value,{transform:`translateY(${Ln(l.value.sum(f.value))})`})),viewportItems:p,listElRef:i,itemsElRef:B(null),scrollTo:h,handleListResize:T,handleListScroll:x,handleListWheel:w,handleItemResize:S}},render(){const{itemResizable:e,keyField:t,keyToIndex:n,visibleItemsTag:o}=this;return b(Ar,{onResize:this.handleListResize},{default:()=>{var r,i;return b("div",Mn(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?b("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[b(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?b(Ar,{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)])}})}}),Wr="v-hidden",d8=kr("[v-hidden]",{display:"none!important"}),yb=pe({name:"Overflow",props:{getCounter:Function,getTail:Function,updateCounter:Function,onUpdateOverflow:Function},setup(e,{slots:t}){const n=B(null),o=B(null);function r(){const{value:a}=n,{getCounter:s,getTail:l}=e;let c;if(s!==void 0?c=s():c=o.value,!a||!c)return;c.hasAttribute(Wr)&&c.removeAttribute(Wr);const{children:u}=a,d=a.offsetWidth,f=[],p=t.tail?l==null?void 0:l():null;let h=p?p.offsetWidth:0,m=!1;const v=a.children.length-(t.tail?1:0);for(let y=0;yd){const{updateCounter:_}=e;for(let x=y;x>=0;--x){const w=v-1-x;_!==void 0?_(w):c.textContent=`${w}`;const T=c.offsetWidth;if(h-=f[x],h+T<=d||x===0){m=!0,y=x-1,p&&(y===-1?(p.style.maxWidth=`${d-T}px`,p.style.boxSizing="border-box"):p.style.maxWidth="");break}}}}const{onUpdateOverflow:g}=e;m?g!==void 0&&g(!0):(g!==void 0&&g(!1),c.setAttribute(Wr,""))}const i=_i();return d8.mount({id:"vueuc/overflow",head:!0,anchorMetaName:Tp,ssr:i}),Vt(r),{selfRef:n,counterRef:o,sync:r}},render(){const{$slots:e}=this;return jt(this.sync),b("div",{class:"v-overflow",ref:"selfRef"},[Wc(e,"default"),e.counter?e.counter():b("span",{style:{display:"inline-block"},ref:"counterRef"}),e.tail?e.tail():null])}});function XC(e){return e instanceof HTMLElement}function QC(e){for(let t=0;t=0;t--){const n=e.childNodes[t];if(XC(n)&&(JC(n)||ZC(n)))return!0}return!1}function JC(e){if(!f8(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function f8(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 Qa=[];const Ep=pe({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=Ia(),n=B(null),o=B(null);let r=!1,i=!1;const a=typeof document>"u"?null:document.activeElement;function s(){return Qa[Qa.length-1]===t}function l(v){var g;v.code==="Escape"&&s()&&((g=e.onEsc)===null||g===void 0||g.call(e,v))}Vt(()=>{ht(()=>e.active,v=>{v?(d(),At("keydown",document,l)):(_t("keydown",document,l),r&&f())},{immediate:!0})}),tn(()=>{_t("keydown",document,l),r&&f()});function c(v){if(!i&&s()){const g=u();if(g===null||g.contains(pi(v)))return;p("first")}}function u(){const v=n.value;if(v===null)return null;let g=v;for(;g=g.nextSibling,!(g===null||g instanceof Element&&g.tagName==="DIV"););return g}function d(){var v;if(!e.disabled){if(Qa.push(t),e.autoFocus){const{initialFocusTo:g}=e;g===void 0?p("first"):(v=ib(g))===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),Qa=Qa.filter(y=>y!==t),s()))return;const{finalFocusTo:g}=e;g!==void 0?(v=ib(g))===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 g=n.value,y=o.value;if(g!==null&&y!==null){const S=u();if(S==null||S===y){i=!0,g.focus({preventScroll:!0}),i=!1;return}i=!0;const C=v==="first"?QC(S):ZC(S);i=!1,C||(i=!0,g.focus({preventScroll:!0}),i=!1)}}}function h(v){if(i)return;const g=u();g!==null&&(v.relatedTarget!==null&&g.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 b(et,null,[b("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:n,onFocus:this.handleStartFocus}),e(),b("div",{"aria-hidden":"true",style:n,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}});function ew(e,t){t&&(Vt(()=>{const{value:n}=e;n&&xc.registerHandler(n,t)}),tn(()=>{const{value:n}=e;n&&xc.unregisterHandler(n)}))}let Wi=0,xb="",Cb="",wb="",_b="";const oh=B("0px");function tw(e){if(typeof document>"u")return;const t=document.documentElement;let n,o=!1;const r=()=>{t.style.marginRight=xb,t.style.overflow=Cb,t.style.overflowX=wb,t.style.overflowY=_b,oh.value="0px"};Vt(()=>{n=ht(e,i=>{if(i){if(!Wi){const a=window.innerWidth-t.offsetWidth;a>0&&(xb=t.style.marginRight,t.style.marginRight=`${a}px`,oh.value=`${a}px`),Cb=t.style.overflow,wb=t.style.overflowX,_b=t.style.overflowY,t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden"}o=!0,Wi++}else Wi--,Wi||r(),o=!1},{immediate:!0})}),tn(()=>{n==null||n(),o&&(Wi--,Wi||r(),o=!1)})}const $p=B(!1),Sb=()=>{$p.value=!0},kb=()=>{$p.value=!1};let Za=0;const nw=()=>(ir&&(an(()=>{Za||(window.addEventListener("compositionstart",Sb),window.addEventListener("compositionend",kb)),Za++}),tn(()=>{Za<=1?(window.removeEventListener("compositionstart",Sb),window.removeEventListener("compositionend",kb),Za=0):Za--})),$p);function Ap(e){const t={isDeactivated:!1};let n=!1;return Hh(()=>{if(t.isDeactivated=!1,!n){n=!0;return}e()}),Vc(()=>{t.isDeactivated=!0,n||(n=!0)}),t}function Tb(e){return e.nodeName==="#document"}const Pb="n-form-item";function ar(e,{defaultSize:t="medium",mergedSize:n,mergedDisabled:o}={}){const r=He(Pb,null);lt(Pb,null);const i=N(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=N(o?()=>o(r):()=>{const{disabled:l}=e;return l!==void 0?l:r?r.disabled.value:!1}),s=N(()=>{const{status:l}=e;return l||(r==null?void 0:r.mergedValidationStatus.value)});return tn(()=>{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 h8=typeof global=="object"&&global&&global.Object===Object&&global;const ow=h8;var p8=typeof self=="object"&&self&&self.Object===Object&&self,m8=ow||p8||Function("return this")();const wo=m8;var g8=wo.Symbol;const Ir=g8;var rw=Object.prototype,v8=rw.hasOwnProperty,b8=rw.toString,Ja=Ir?Ir.toStringTag:void 0;function y8(e){var t=v8.call(e,Ja),n=e[Ja];try{e[Ja]=void 0;var o=!0}catch{}var r=b8.call(e);return o&&(t?e[Ja]=n:delete e[Ja]),r}var x8=Object.prototype,C8=x8.toString;function w8(e){return C8.call(e)}var _8="[object Null]",S8="[object Undefined]",Rb=Ir?Ir.toStringTag:void 0;function Si(e){return e==null?e===void 0?S8:_8:Rb&&Rb in Object(e)?y8(e):w8(e)}function Mr(e){return e!=null&&typeof e=="object"}var k8="[object Symbol]";function mu(e){return typeof e=="symbol"||Mr(e)&&Si(e)==k8}function iw(e,t){for(var n=-1,o=e==null?0:e.length,r=Array(o);++n0){if(++t>=sI)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function dI(e){return function(){return e}}var fI=function(){try{var e=Ti(Object,"defineProperty");return e({},"",{}),e}catch{}}();const Cc=fI;var hI=Cc?function(e,t){return Cc(e,"toString",{configurable:!0,enumerable:!1,value:dI(t),writable:!0})}:Ip;const pI=hI;var mI=uI(pI);const gI=mI;var vI=9007199254740991,bI=/^(?:0|[1-9]\d*)$/;function zp(e,t){var n=typeof e;return t=t??vI,!!t&&(n=="number"||n!="symbol"&&bI.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=kI}function za(e){return e!=null&&Dp(e.length)&&!Mp(e)}function TI(e,t,n){if(!Ho(n))return!1;var o=typeof t;return(o=="number"?za(n)&&zp(t,n.length):o=="string"&&t in n)?el(n[t],e):!1}function PI(e){return SI(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&&TI(n[0],n[1],a)&&(i=r<3?void 0:i,r=1),t=Object(t);++o-1}function UM(e,t){var n=this.__data__,o=gu(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function sr(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:pz(e,t,n)}var gz="\\ud800-\\udfff",vz="\\u0300-\\u036f",bz="\\ufe20-\\ufe2f",yz="\\u20d0-\\u20ff",xz=vz+bz+yz,Cz="\\ufe0e\\ufe0f",wz="\\u200d",_z=RegExp("["+wz+gz+xz+Cz+"]");function bw(e){return _z.test(e)}function Sz(e){return e.split("")}var yw="\\ud800-\\udfff",kz="\\u0300-\\u036f",Tz="\\ufe20-\\ufe2f",Pz="\\u20d0-\\u20ff",Rz=kz+Tz+Pz,Ez="\\ufe0e\\ufe0f",$z="["+yw+"]",ah="["+Rz+"]",sh="\\ud83c[\\udffb-\\udfff]",Az="(?:"+ah+"|"+sh+")",xw="[^"+yw+"]",Cw="(?:\\ud83c[\\udde6-\\uddff]){2}",ww="[\\ud800-\\udbff][\\udc00-\\udfff]",Iz="\\u200d",_w=Az+"?",Sw="["+Ez+"]?",Mz="(?:"+Iz+"(?:"+[xw,Cw,ww].join("|")+")"+Sw+_w+")*",zz=Sw+_w+Mz,Oz="(?:"+[xw+ah+"?",ah,Cw,ww,$z].join("|")+")",Dz=RegExp(sh+"(?="+sh+")|"+Oz+zz,"g");function Lz(e){return e.match(Dz)||[]}function Fz(e){return bw(e)?Lz(e):Sz(e)}function Nz(e){return function(t){t=gi(t);var n=bw(t)?Fz(t):void 0,o=n?n[0]:t.charAt(0),r=n?mz(n,1).join(""):t.slice(1);return o[e]()+r}}var Bz=Nz("toUpperCase");const kw=Bz;function Hz(e){return kw(gi(e).toLowerCase())}function jz(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&mD?new kc:void 0;for(i.set(e,t),i.set(t,e);++d`}function I6(e,t){const n=He(VC,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(A6(e,t)))}const M6=typeof document<"u";function _i(){if(M6)return;const e=He(VC,null);if(e!==null)return{adapter:I6,context:e}}function rb(e,t){console.error(`[vueuc/${e}]: ${t}`)}const{c:kr}=EC(),Tp="vueuc-style";function ib(e){return e&-e}class z6{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-=ib(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?eh("lazy-teleport",this.$slots):b(qc,{disabled:this.disabled,to:this.mergedTo},eh("lazy-teleport",this.$slots)):null}}),Rl={top:"bottom",bottom:"top",left:"right",right:"left"},sb={start:"end",center:"center",end:"start"},_d={top:"height",bottom:"height",left:"width",right:"width"},O6={"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"},D6={"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"},L6={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},lb={top:!0,bottom:!1,left:!0,right:!1},cb={top:"end",bottom:"start",left:"end",right:"start"};function F6(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,g=0;const y=n[p]-t[h]-t[p];return y>0&&o&&(m?g=lb[h]?y:-y:v=lb[h]?y:-y),{left:v,top:g}},d=a==="left"||a==="right";if(l!=="center"){const p=L6[e],h=Rl[p],m=_d[p];if(n[m]>t[m]){if(t[p]+t[m]t[h]&&(l=sb[s])}else{const p=a==="bottom"||a==="top"?"left":"top",h=Rl[p],m=_d[p],v=(n[m]-t[m])/2;(t[p]t[h]?(l=cb[p],c=u(m,p,d)):(l=cb[h],c=u(m,h,d)))}let f=a;return t[a] *",{pointerEvents:"all"})])]),Pp=pe({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=He("VBinder"),n=wt(()=>e.enabled!==void 0?e.enabled:e.show),o=N(null),r=N(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)};Vt(()=>{n.value&&(l(),i())});const s=_i();H6.mount({id:"vueuc/binder",head:!0,anchorMetaName:Tp,ssr:s}),tn(()=>{a()}),d6(()=>{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,g=h!==void 0&&m!==void 0?w6(h,m):Cd(p);f.style.setProperty("--v-target-width",`${Math.round(g.width)}px`),f.style.setProperty("--v-target-height",`${Math.round(g.height)}px`);const{width:y,minWidth:S,placement:C,internalShift:_,flip:x}=e;f.setAttribute("v-placement",C),v?f.setAttribute("v-overlap",""):f.removeAttribute("v-overlap");const{style:w}=f;y==="target"?w.width=`${g.width}px`:y!==void 0?w.width=y:w.width="",S==="target"?w.minWidth=`${g.width}px`:S!==void 0?w.minWidth=S:w.minWidth="";const T=Cd(f),P=Cd(r.value),{left:k,top:A,placement:I}=F6(C,g,T,_,x,v),W=N6(I,v),{left:B,top:z,transform:$}=B6(I,P,g,A,k,v);f.setAttribute("v-placement",I),f.style.setProperty("--v-offset-left",`${Math.round(k)}px`),f.style.setProperty("--v-offset-top",`${Math.round(A)}px`),f.style.transform=`translateX(${B}) translateY(${z}) ${$}`,f.style.setProperty("--v-transform-origin",W),f.style.transformOrigin=W};ht(n,f=>{f?(i(),c()):a()});const c=()=>{jt().then(l).catch(f=>console.error(f))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(f=>{ht(Ne(e,f),l)}),["teleportDisabled"].forEach(f=>{ht(Ne(e,f),c)}),ht(Ne(e,"syncTrigger"),f=>{f.includes("resize")?t.addResizeListener(l):t.removeResizeListener(l),f.includes("scroll")?t.addScrollListener(l):t.removeScrollListener(l)});const u=Nr(),d=wt(()=>{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 b(pu,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=b("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[b("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?Cn(n,[[hu,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});var li=[],j6=function(){return li.some(function(e){return e.activeTargets.length>0})},V6=function(){return li.some(function(e){return e.skippedTargets.length>0})},ub="ResizeObserver loop completed with undelivered notifications.",U6=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:ub}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=ub),window.dispatchEvent(e)},Fs;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Fs||(Fs={}));var ci=function(e){return Object.freeze(e)},W6=function(){function e(t,n){this.inlineSize=t,this.blockSize=n,ci(this)}return e}(),UC=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}(),Rp=function(e){return e instanceof SVGElement&&"getBBox"in e},WC=function(e){if(Rp(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)},db=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)},q6=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},vs=typeof window<"u"?window:{},El=new WeakMap,fb=/auto|scroll/,K6=/^tb|vertical/,G6=/msie|trident/i.test(vs.navigator&&vs.navigator.userAgent),Ro=function(e){return parseFloat(e||"0")},ia=function(e,t,n){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=!1),new W6((n?t:e)||0,(n?e:t)||0)},hb=ci({devicePixelContentBoxSize:ia(),borderBoxSize:ia(),contentBoxSize:ia(),contentRect:new UC(0,0,0,0)}),qC=function(e,t){if(t===void 0&&(t=!1),El.has(e)&&!t)return El.get(e);if(WC(e))return El.set(e,hb),hb;var n=getComputedStyle(e),o=Rp(e)&&e.ownerSVGElement&&e.getBBox(),r=!G6&&n.boxSizing==="border-box",i=K6.test(n.writingMode||""),a=!o&&fb.test(n.overflowY||""),s=!o&&fb.test(n.overflowX||""),l=o?0:Ro(n.paddingTop),c=o?0:Ro(n.paddingRight),u=o?0:Ro(n.paddingBottom),d=o?0:Ro(n.paddingLeft),f=o?0:Ro(n.borderTopWidth),p=o?0:Ro(n.borderRightWidth),h=o?0:Ro(n.borderBottomWidth),m=o?0:Ro(n.borderLeftWidth),v=d+c,g=l+u,y=m+p,S=f+h,C=s?e.offsetHeight-S-e.clientHeight:0,_=a?e.offsetWidth-y-e.clientWidth:0,x=r?v+y:0,w=r?g+S:0,T=o?o.width:Ro(n.width)-x-_,P=o?o.height:Ro(n.height)-w-C,k=T+v+_+y,A=P+g+C+S,I=ci({devicePixelContentBoxSize:ia(Math.round(T*devicePixelRatio),Math.round(P*devicePixelRatio),i),borderBoxSize:ia(k,A,i),contentBoxSize:ia(T,P,i),contentRect:new UC(d,l,T,P)});return El.set(e,I),I},KC=function(e,t,n){var o=qC(e,n),r=o.borderBoxSize,i=o.contentBoxSize,a=o.devicePixelContentBoxSize;switch(t){case Fs.DEVICE_PIXEL_CONTENT_BOX:return a;case Fs.BORDER_BOX:return r;default:return i}},Y6=function(){function e(t){var n=qC(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}(),GC=function(e){if(WC(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},X6=function(){var e=1/0,t=[];li.forEach(function(a){if(a.activeTargets.length!==0){var s=[];a.activeTargets.forEach(function(c){var u=new Y6(c.target),d=GC(c.target);s.push(u),c.lastReportedSize=KC(c.target,c.observedBox),de?n.activeTargets.push(r):n.skippedTargets.push(r))})})},Q6=function(){var e=0;for(pb(e);j6();)e=X6(),pb(e);return V6()&&U6(),e>0},Sd,YC=[],Z6=function(){return YC.splice(0).forEach(function(e){return e()})},J6=function(e){if(!Sd){var t=0,n=document.createTextNode(""),o={characterData:!0};new MutationObserver(function(){return Z6()}).observe(n,o),Sd=function(){n.textContent="".concat(t?t--:t++)}}YC.push(e),Sd()},e8=function(e){J6(function(){requestAnimationFrame(e)})},ic=0,t8=function(){return!!ic},n8=250,o8={attributes:!0,characterData:!0,childList:!0,subtree:!0},mb=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],gb=function(e){return e===void 0&&(e=0),Date.now()+e},kd=!1,r8=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=n8),!kd){kd=!0;var o=gb(t);e8(function(){var r=!1;try{r=Q6()}finally{if(kd=!1,t=o-gb(),!t8())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,o8)};document.body?n():vs.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),mb.forEach(function(n){return vs.addEventListener(n,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),mb.forEach(function(n){return vs.removeEventListener(n,t.listener,!0)}),this.stopped=!0)},e}(),nh=new r8,vb=function(e){!ic&&e>0&&nh.start(),ic+=e,!ic&&nh.stop()},i8=function(e){return!Rp(e)&&!q6(e)&&getComputedStyle(e).display==="inline"},a8=function(){function e(t,n){this.target=t,this.observedBox=n||Fs.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=KC(this.target,this.observedBox,!0);return i8(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),s8=function(){function e(t,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=n}return e}(),$l=new WeakMap,bb=function(e,t){for(var n=0;n=0&&(i&&li.splice(li.indexOf(o),1),o.observationTargets.splice(r,1),vb(-1))},e.disconnect=function(t){var n=this,o=$l.get(t);o.observationTargets.slice().forEach(function(r){return n.unobserve(t,r.target)}),o.activeTargets.splice(0,o.activeTargets.length)},e}(),l8=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.");Al.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(!db(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Al.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(!db(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Al.unobserve(this,t)},e.prototype.disconnect=function(){Al.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class c8{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||l8)(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 xc=new c8,Ar=pe({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1;const n=Gn().proxy;function o(r){const{onResize:i}=e;i!==void 0&&i(r)}Vt(()=>{const r=n.$el;if(r===void 0){rb("resize-observer","$el does not exist.");return}if(r.nextElementSibling!==r.nextSibling&&r.nodeType===3&&r.nodeValue!==""){rb("resize-observer","$el can not be observed (it may be a text node).");return}r.nextElementSibling!==null&&(xc.registerHandler(r.nextElementSibling,o),t=!0)}),tn(()=>{t&&xc.unregisterHandler(n.$el.nextElementSibling)})},render(){return Wc(this.$slots,"default")}});let Il;function u8(){return Il===void 0&&("matchMedia"in window?Il=window.matchMedia("(pointer:coarse)").matches:Il=!1),Il}let Td;function yb(){return Td===void 0&&(Td="chrome"in window?window.devicePixelRatio:1),Td}const d8=kr(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[kr("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[kr("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),XC=pe({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=_i();d8.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:Tp,ssr:t}),Vt(()=>{const{defaultScrollIndex:A,defaultScrollKey:I}=e;A!=null?h({index:A}):I!=null&&h({key:I})});let n=!1,o=!1;Hh(()=>{if(n=!1,!o){o=!0;return}h({top:d.value,left:u})}),Vc(()=>{n=!0,o||(o=!0)});const r=L(()=>{const A=new Map,{keyField:I}=e;return e.items.forEach((W,B)=>{A.set(W[I],B)}),A}),i=N(null),a=N(void 0),s=new Map,l=L(()=>{const{items:A,itemSize:I,keyField:W}=e,B=new z6(A.length,I);return A.forEach((z,$)=>{const j=z[W],X=s.get(j);X!==void 0&&B.add($,X)}),B}),c=N(0);let u=0;const d=N(0),f=wt(()=>Math.max(l.value.getBound(d.value-wn(e.paddingTop))-1,0)),p=L(()=>{const{value:A}=a;if(A===void 0)return[];const{items:I,itemSize:W}=e,B=f.value,z=Math.min(B+Math.ceil(A/W+1),I.length-1),$=[];for(let j=B;j<=z;++j)$.push(I[j]);return $}),h=(A,I)=>{if(typeof A=="number"){y(A,I,"auto");return}const{left:W,top:B,index:z,key:$,position:j,behavior:X,debounce:F=!0}=A;if(W!==void 0||B!==void 0)y(W,B,X);else if(z!==void 0)g(z,X,F);else if($!==void 0){const M=r.value.get($);M!==void 0&&g(M,X,F)}else j==="bottom"?y(0,Number.MAX_SAFE_INTEGER,X):j==="top"&&y(0,0,X)};let m,v=null;function g(A,I,W){const{value:B}=l,z=B.sum(A)+wn(e.paddingTop);if(!W)i.value.scrollTo({left:0,top:z,behavior:I});else{m=A,v!==null&&window.clearTimeout(v),v=window.setTimeout(()=>{m=void 0,v=null},16);const{scrollTop:$,offsetHeight:j}=i.value;if(z>$){const X=B.get(A);z+X<=$+j||i.value.scrollTo({left:0,top:z+X-j,behavior:I})}else i.value.scrollTo({left:0,top:z,behavior:I})}}function y(A,I,W){i.value.scrollTo({left:A,top:I,behavior:W})}function S(A,I){var W,B,z;if(n||e.ignoreItemResize||k(I.target))return;const{value:$}=l,j=r.value.get(A),X=$.get(j),F=(z=(B=(W=I.borderBoxSize)===null||W===void 0?void 0:W[0])===null||B===void 0?void 0:B.blockSize)!==null&&z!==void 0?z:I.contentRect.height;if(F===X)return;F-e.itemSize===0?s.delete(A):s.set(A,F-e.itemSize);const se=F-X;if(se===0)return;$.add(j,se);const Q=i.value;if(Q!=null){if(m===void 0){const ne=$.sum(j);Q.scrollTop>ne&&Q.scrollBy(0,se)}else if(jQ.scrollTop+Q.offsetHeight&&Q.scrollBy(0,se)}P()}c.value++}const C=!u8();let _=!1;function x(A){var I;(I=e.onScroll)===null||I===void 0||I.call(e,A),(!C||!_)&&P()}function w(A){var I;if((I=e.onWheel)===null||I===void 0||I.call(e,A),C){const W=i.value;if(W!=null){if(A.deltaX===0&&(W.scrollTop===0&&A.deltaY<=0||W.scrollTop+W.offsetHeight>=W.scrollHeight&&A.deltaY>=0))return;A.preventDefault(),W.scrollTop+=A.deltaY/yb(),W.scrollLeft+=A.deltaX/yb(),P(),_=!0,bc(()=>{_=!1})}}}function T(A){if(n||k(A.target)||A.contentRect.height===a.value)return;a.value=A.contentRect.height;const{onResize:I}=e;I!==void 0&&I(A)}function P(){const{value:A}=i;A!=null&&(d.value=A.scrollTop,u=A.scrollLeft)}function k(A){let I=A;for(;I!==null;){if(I.style.display==="none")return!0;I=I.parentElement}return!1}return{listHeight:a,listStyle:{overflow:"auto"},keyToIndex:r,itemsStyle:L(()=>{const{itemResizable:A}=e,I=Ln(l.value.sum());return c.value,[e.itemsStyle,{boxSizing:"content-box",height:A?"":I,minHeight:A?I:"",paddingTop:Ln(e.paddingTop),paddingBottom:Ln(e.paddingBottom)}]}),visibleItemsStyle:L(()=>(c.value,{transform:`translateY(${Ln(l.value.sum(f.value))})`})),viewportItems:p,listElRef:i,itemsElRef:N(null),scrollTo:h,handleListResize:T,handleListScroll:x,handleListWheel:w,handleItemResize:S}},render(){const{itemResizable:e,keyField:t,keyToIndex:n,visibleItemsTag:o}=this;return b(Ar,{onResize:this.handleListResize},{default:()=>{var r,i;return b("div",Mn(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?b("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[b(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?b(Ar,{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)])}})}}),Wr="v-hidden",f8=kr("[v-hidden]",{display:"none!important"}),xb=pe({name:"Overflow",props:{getCounter:Function,getTail:Function,updateCounter:Function,onUpdateOverflow:Function},setup(e,{slots:t}){const n=N(null),o=N(null);function r(){const{value:a}=n,{getCounter:s,getTail:l}=e;let c;if(s!==void 0?c=s():c=o.value,!a||!c)return;c.hasAttribute(Wr)&&c.removeAttribute(Wr);const{children:u}=a,d=a.offsetWidth,f=[],p=t.tail?l==null?void 0:l():null;let h=p?p.offsetWidth:0,m=!1;const v=a.children.length-(t.tail?1:0);for(let y=0;yd){const{updateCounter:_}=e;for(let x=y;x>=0;--x){const w=v-1-x;_!==void 0?_(w):c.textContent=`${w}`;const T=c.offsetWidth;if(h-=f[x],h+T<=d||x===0){m=!0,y=x-1,p&&(y===-1?(p.style.maxWidth=`${d-T}px`,p.style.boxSizing="border-box"):p.style.maxWidth="");break}}}}const{onUpdateOverflow:g}=e;m?g!==void 0&&g(!0):(g!==void 0&&g(!1),c.setAttribute(Wr,""))}const i=_i();return f8.mount({id:"vueuc/overflow",head:!0,anchorMetaName:Tp,ssr:i}),Vt(r),{selfRef:n,counterRef:o,sync:r}},render(){const{$slots:e}=this;return jt(this.sync),b("div",{class:"v-overflow",ref:"selfRef"},[Wc(e,"default"),e.counter?e.counter():b("span",{style:{display:"inline-block"},ref:"counterRef"}),e.tail?e.tail():null])}});function QC(e){return e instanceof HTMLElement}function ZC(e){for(let t=0;t=0;t--){const n=e.childNodes[t];if(QC(n)&&(ew(n)||JC(n)))return!0}return!1}function ew(e){if(!h8(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function h8(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 Qa=[];const Ep=pe({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=Ia(),n=N(null),o=N(null);let r=!1,i=!1;const a=typeof document>"u"?null:document.activeElement;function s(){return Qa[Qa.length-1]===t}function l(v){var g;v.code==="Escape"&&s()&&((g=e.onEsc)===null||g===void 0||g.call(e,v))}Vt(()=>{ht(()=>e.active,v=>{v?(d(),At("keydown",document,l)):(_t("keydown",document,l),r&&f())},{immediate:!0})}),tn(()=>{_t("keydown",document,l),r&&f()});function c(v){if(!i&&s()){const g=u();if(g===null||g.contains(pi(v)))return;p("first")}}function u(){const v=n.value;if(v===null)return null;let g=v;for(;g=g.nextSibling,!(g===null||g instanceof Element&&g.tagName==="DIV"););return g}function d(){var v;if(!e.disabled){if(Qa.push(t),e.autoFocus){const{initialFocusTo:g}=e;g===void 0?p("first"):(v=ab(g))===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),Qa=Qa.filter(y=>y!==t),s()))return;const{finalFocusTo:g}=e;g!==void 0?(v=ab(g))===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 g=n.value,y=o.value;if(g!==null&&y!==null){const S=u();if(S==null||S===y){i=!0,g.focus({preventScroll:!0}),i=!1;return}i=!0;const C=v==="first"?ZC(S):JC(S);i=!1,C||(i=!0,g.focus({preventScroll:!0}),i=!1)}}}function h(v){if(i)return;const g=u();g!==null&&(v.relatedTarget!==null&&g.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 b(et,null,[b("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:n,onFocus:this.handleStartFocus}),e(),b("div",{"aria-hidden":"true",style:n,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}});function tw(e,t){t&&(Vt(()=>{const{value:n}=e;n&&xc.registerHandler(n,t)}),tn(()=>{const{value:n}=e;n&&xc.unregisterHandler(n)}))}let Wi=0,Cb="",wb="",_b="",Sb="";const oh=N("0px");function nw(e){if(typeof document>"u")return;const t=document.documentElement;let n,o=!1;const r=()=>{t.style.marginRight=Cb,t.style.overflow=wb,t.style.overflowX=_b,t.style.overflowY=Sb,oh.value="0px"};Vt(()=>{n=ht(e,i=>{if(i){if(!Wi){const a=window.innerWidth-t.offsetWidth;a>0&&(Cb=t.style.marginRight,t.style.marginRight=`${a}px`,oh.value=`${a}px`),wb=t.style.overflow,_b=t.style.overflowX,Sb=t.style.overflowY,t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden"}o=!0,Wi++}else Wi--,Wi||r(),o=!1},{immediate:!0})}),tn(()=>{n==null||n(),o&&(Wi--,Wi||r(),o=!1)})}const $p=N(!1),kb=()=>{$p.value=!0},Tb=()=>{$p.value=!1};let Za=0;const ow=()=>(ir&&(an(()=>{Za||(window.addEventListener("compositionstart",kb),window.addEventListener("compositionend",Tb)),Za++}),tn(()=>{Za<=1?(window.removeEventListener("compositionstart",kb),window.removeEventListener("compositionend",Tb),Za=0):Za--})),$p);function Ap(e){const t={isDeactivated:!1};let n=!1;return Hh(()=>{if(t.isDeactivated=!1,!n){n=!0;return}e()}),Vc(()=>{t.isDeactivated=!0,n||(n=!0)}),t}function Pb(e){return e.nodeName==="#document"}const Rb="n-form-item";function ar(e,{defaultSize:t="medium",mergedSize:n,mergedDisabled:o}={}){const r=He(Rb,null);lt(Rb,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 tn(()=>{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 p8=typeof global=="object"&&global&&global.Object===Object&&global;const rw=p8;var m8=typeof self=="object"&&self&&self.Object===Object&&self,g8=rw||m8||Function("return this")();const wo=g8;var v8=wo.Symbol;const Ir=v8;var iw=Object.prototype,b8=iw.hasOwnProperty,y8=iw.toString,Ja=Ir?Ir.toStringTag:void 0;function x8(e){var t=b8.call(e,Ja),n=e[Ja];try{e[Ja]=void 0;var o=!0}catch{}var r=y8.call(e);return o&&(t?e[Ja]=n:delete e[Ja]),r}var C8=Object.prototype,w8=C8.toString;function _8(e){return w8.call(e)}var S8="[object Null]",k8="[object Undefined]",Eb=Ir?Ir.toStringTag:void 0;function Si(e){return e==null?e===void 0?k8:S8:Eb&&Eb in Object(e)?x8(e):_8(e)}function Mr(e){return e!=null&&typeof e=="object"}var T8="[object Symbol]";function mu(e){return typeof e=="symbol"||Mr(e)&&Si(e)==T8}function aw(e,t){for(var n=-1,o=e==null?0:e.length,r=Array(o);++n0){if(++t>=lI)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function fI(e){return function(){return e}}var hI=function(){try{var e=Ti(Object,"defineProperty");return e({},"",{}),e}catch{}}();const Cc=hI;var pI=Cc?function(e,t){return Cc(e,"toString",{configurable:!0,enumerable:!1,value:fI(t),writable:!0})}:Ip;const mI=pI;var gI=dI(mI);const vI=gI;var bI=9007199254740991,yI=/^(?:0|[1-9]\d*)$/;function zp(e,t){var n=typeof e;return t=t??bI,!!t&&(n=="number"||n!="symbol"&&yI.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=TI}function za(e){return e!=null&&Dp(e.length)&&!Mp(e)}function PI(e,t,n){if(!Ho(n))return!1;var o=typeof t;return(o=="number"?za(n)&&zp(t,n.length):o=="string"&&t in n)?el(n[t],e):!1}function RI(e){return kI(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&&PI(n[0],n[1],a)&&(i=r<3?void 0:i,r=1),t=Object(t);++o-1}function WM(e,t){var n=this.__data__,o=gu(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function sr(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:mz(e,t,n)}var vz="\\ud800-\\udfff",bz="\\u0300-\\u036f",yz="\\ufe20-\\ufe2f",xz="\\u20d0-\\u20ff",Cz=bz+yz+xz,wz="\\ufe0e\\ufe0f",_z="\\u200d",Sz=RegExp("["+_z+vz+Cz+wz+"]");function yw(e){return Sz.test(e)}function kz(e){return e.split("")}var xw="\\ud800-\\udfff",Tz="\\u0300-\\u036f",Pz="\\ufe20-\\ufe2f",Rz="\\u20d0-\\u20ff",Ez=Tz+Pz+Rz,$z="\\ufe0e\\ufe0f",Az="["+xw+"]",ah="["+Ez+"]",sh="\\ud83c[\\udffb-\\udfff]",Iz="(?:"+ah+"|"+sh+")",Cw="[^"+xw+"]",ww="(?:\\ud83c[\\udde6-\\uddff]){2}",_w="[\\ud800-\\udbff][\\udc00-\\udfff]",Mz="\\u200d",Sw=Iz+"?",kw="["+$z+"]?",zz="(?:"+Mz+"(?:"+[Cw,ww,_w].join("|")+")"+kw+Sw+")*",Oz=kw+Sw+zz,Dz="(?:"+[Cw+ah+"?",ah,ww,_w,Az].join("|")+")",Lz=RegExp(sh+"(?="+sh+")|"+Dz+Oz,"g");function Fz(e){return e.match(Lz)||[]}function Nz(e){return yw(e)?Fz(e):kz(e)}function Bz(e){return function(t){t=gi(t);var n=yw(t)?Nz(t):void 0,o=n?n[0]:t.charAt(0),r=n?gz(n,1).join(""):t.slice(1);return o[e]()+r}}var Hz=Bz("toUpperCase");const Tw=Hz;function jz(e){return Tw(gi(e).toLowerCase())}function Vz(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&gD?new kc: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:xa,ssr:a}),s!=null&&s.preflightStyleDisabled||qw.mount({id:"n-global",head:!0,anchorMetaName:xa,ssr:a})};a?c():an(c)}return N(()=>{var c;const{theme:{common:u,self:d,peers:f={}}={},themeOverrides:p={},builtinThemeOverrides:h={}}=r,{common:m,peers:v}=p,{common:g=void 0,[e]:{common:y=void 0,self:S=void 0,peers:C={}}={}}=(s==null?void 0:s.mergedThemeRef.value)||{},{common:_=void 0,[e]:x={}}=(s==null?void 0:s.mergedThemeOverridesRef.value)||{},{common:w,peers:T={}}=x,P=rs({},u||y||g||o.common,_,w,m),k=rs((c=d||S||o.self)===null||c===void 0?void 0:c(P),h,x,p);return{common:P,self:k,peers:rs({},o.peers,C,f),peerOverrides:rs({},h.peers,T,v)}})}Fe.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const Hs="n";function ct(e={},t={defaultBordered:!0}){const n=He(xo,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:N(()=>{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:Us(Hs),namespaceRef:N(()=>n==null?void 0:n.mergedNamespaceRef.value)}}function Kw(){const e=He(xo,null);return e?e.mergedClsPrefixRef:Us(Hs)}const yL={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",clear:"清除",now:"此刻",confirm:"确认",selectTime:"选择时间",selectDate:"选择日期",datePlaceholder:"选择日期",datetimePlaceholder:"选择日期时间",monthPlaceholder:"选择月份",yearPlaceholder:"选择年份",quarterPlaceholder:"选择季度",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:"此刻"},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,CL={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",clear:"清除",now:"現在",confirm:"確定",selectTime:"選擇時間",selectDate:"選擇日期",datePlaceholder:"選擇日期",datetimePlaceholder:"選擇日期時間",monthPlaceholder:"選擇月份",yearPlaceholder:"選擇年份",quarterPlaceholder:"選擇季度",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:"現在"},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:"縮放到原始尺寸"}},wL=CL,_L={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",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",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"},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"}},Gw=_L,SL={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",clear:"クリア",now:"現在",confirm:"OK",selectTime:"時間を選択",selectDate:"日付を選択",datePlaceholder:"日付を選択",datetimePlaceholder:"選択",monthPlaceholder:"月を選択",yearPlaceholder:"年を選択",quarterPlaceholder:"四半期を選択",startDatePlaceholder:"開始日",endDatePlaceholder:"終了日",startDatetimePlaceholder:"開始時間",endDatetimePlaceholder:"終了時間",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!1,firstDayOfWeek:0,today:"今日"},DataTable:{checkTableAll:"全選択",uncheckTableAll:"全選択取消",confirm:"OK",clear:"リセット"},LegacyTransfer:{sourceTitle:"元",targetTitle:"先"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"データなし"},Select:{placeholder:"選択してください"},TimePicker:{placeholder:"選択してください",positiveText:"OK",negativeText:"キャンセル",now:"現在"},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:"Zoom to original size"}},kL=SL,TL={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",clear:"지우기",now:"현재",confirm:"확인",selectTime:"시간 선택",selectDate:"날짜 선택",datePlaceholder:"날짜 선택",datetimePlaceholder:"날짜 및 시간 선택",monthPlaceholder:"월 선택",yearPlaceholder:"년 선택",quarterPlaceholder:"분기 선택",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:"현재 시간"},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:"원본 크기로 확대"}},PL=TL,RL={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",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ý",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"},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"}},EL=RL,$L={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",clear:"پاک کردن",now:"اکنون",confirm:"تأیید",selectTime:"انتخاب زمان",selectDate:"انتخاب تاریخ",datePlaceholder:"انتخاب تاریخ",datetimePlaceholder:"انتخاب تاریخ و زمان",monthPlaceholder:"انتخاب ماه",yearPlaceholder:"انتخاب سال",quarterPlaceholder:"انتخاب سه‌ماهه",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:"همین الان"},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:"اندازه اصلی تصویر"}},AL=$L;var IL={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}} 年"}},ML=function(t,n,o){var r,i=IL[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 zL=ML;function In(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 OL={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},DL={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},LL={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},FL={date:In({formats:OL,defaultWidth:"full"}),time:In({formats:DL,defaultWidth:"full"}),dateTime:In({formats:LL,defaultWidth:"full"})};const NL=FL;function Vp(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function hh(e){"@babel/helpers - typeof";return hh=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},hh(e)}function BL(e){Vp(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||hh(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 HL(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 jL={};function VL(){return jL}function s0(e,t){var n,o,r,i,a,s,l,c;Vp(1,arguments);var u=VL(),d=HL((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=BL(e),p=f.getUTCDay(),h=(pt.getTime()?"'下个'"+o:"'上个'"+o}var WL={lastWeek:l0,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:l0,other:"PP p"},qL=function(t,n,o,r){var i=WL[t];return typeof i=="function"?i(n,o,r):i};const KL=qL;function Xt(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 GL={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},YL={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},XL={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},QL={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},ZL={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:"夜间"}},JL={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:"夜间"}},e9=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()}},t9={ordinalNumber:e9,era:Xt({values:GL,defaultWidth:"wide"}),quarter:Xt({values:YL,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xt({values:XL,defaultWidth:"wide"}),day:Xt({values:QL,defaultWidth:"wide"}),dayPeriod:Xt({values:ZL,defaultWidth:"wide",formattingValues:JL,defaultFormattingWidth:"wide"})};const n9=t9;function Qt(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)?r9(s,function(d){return d.test(a)}):o9(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 o9(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function r9(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 i9=/^(第\s*)?\d+(日|时|分|秒)?/i,a9=/\d+/i,s9={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},l9={any:[/^(前)/i,/^(公元)/i]},c9={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},u9={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},d9={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},f9={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]},h9={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},p9={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},m9={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},g9={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},v9={ordinalNumber:tl({matchPattern:i9,parsePattern:a9,valueCallback:function(t){return parseInt(t,10)}}),era:Qt({matchPatterns:s9,defaultMatchWidth:"wide",parsePatterns:l9,defaultParseWidth:"any"}),quarter:Qt({matchPatterns:c9,defaultMatchWidth:"wide",parsePatterns:u9,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qt({matchPatterns:d9,defaultMatchWidth:"wide",parsePatterns:f9,defaultParseWidth:"any"}),day:Qt({matchPatterns:h9,defaultMatchWidth:"wide",parsePatterns:p9,defaultParseWidth:"any"}),dayPeriod:Qt({matchPatterns:m9,defaultMatchWidth:"any",parsePatterns:g9,defaultParseWidth:"any"})};const b9=v9;var y9={code:"zh-CN",formatDistance:zL,formatLong:NL,formatRelative:KL,localize:n9,match:b9,options:{weekStartsOn:1,firstWeekContainsDate:4}};const Yw=y9,x9={name:"zh-CN",locale:Yw},c0=x9;var C9={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"}},w9=function(t,n,o){var r,i=C9[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 _9=w9;var S9={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},k9={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},T9={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},P9={date:In({formats:S9,defaultWidth:"full"}),time:In({formats:k9,defaultWidth:"full"}),dateTime:In({formats:T9,defaultWidth:"full"})};const R9=P9;var E9={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},$9=function(t,n,o,r){return E9[t]};const A9=$9;var I9={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},M9={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},z9={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"]},O9={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"]},D9={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"}},L9={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"}},F9=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"},N9={ordinalNumber:F9,era:Xt({values:I9,defaultWidth:"wide"}),quarter:Xt({values:M9,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xt({values:z9,defaultWidth:"wide"}),day:Xt({values:O9,defaultWidth:"wide"}),dayPeriod:Xt({values:D9,defaultWidth:"wide",formattingValues:L9,defaultFormattingWidth:"wide"})};const B9=N9;var H9=/^(\d+)(th|st|nd|rd)?/i,j9=/\d+/i,V9={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},U9={any:[/^b/i,/^(a|c)/i]},W9={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},q9={any:[/1/i,/2/i,/3/i,/4/i]},K9={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},G9={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]},Y9={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},X9={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]},Q9={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},Z9={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}},J9={ordinalNumber:tl({matchPattern:H9,parsePattern:j9,valueCallback:function(t){return parseInt(t,10)}}),era:Qt({matchPatterns:V9,defaultMatchWidth:"wide",parsePatterns:U9,defaultParseWidth:"any"}),quarter:Qt({matchPatterns:W9,defaultMatchWidth:"wide",parsePatterns:q9,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qt({matchPatterns:K9,defaultMatchWidth:"wide",parsePatterns:G9,defaultParseWidth:"any"}),day:Qt({matchPatterns:Y9,defaultMatchWidth:"wide",parsePatterns:X9,defaultParseWidth:"any"}),dayPeriod:Qt({matchPatterns:Q9,defaultMatchWidth:"any",parsePatterns:Z9,defaultParseWidth:"any"})};const eF=J9;var tF={code:"en-US",formatDistance:_9,formatLong:R9,formatRelative:A9,localize:B9,match:eF,options:{weekStartsOn:0,firstWeekContainsDate:1}};const nF=tF,oF={name:"en-US",locale:nF},Xw=oF;var rF={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}}年近く"}},iF=function(t,n,o){o=o||{};var r,i=rF[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=iF;var sF={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},lF={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},cF={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},uF={date:In({formats:sF,defaultWidth:"full"}),time:In({formats:lF,defaultWidth:"full"}),dateTime:In({formats:cF,defaultWidth:"full"})};const dF=uF;var fF={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},hF=function(t,n,o,r){return fF[t]};const pF=hF;var mF={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},gF={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},vF={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月"]},bF={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},yF={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:"深夜"}},xF={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:"深夜"}},CF=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)}},wF={ordinalNumber:CF,era:Xt({values:mF,defaultWidth:"wide"}),quarter:Xt({values:gF,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:Xt({values:vF,defaultWidth:"wide"}),day:Xt({values:bF,defaultWidth:"wide"}),dayPeriod:Xt({values:yF,defaultWidth:"wide",formattingValues:xF,defaultFormattingWidth:"wide"})};const _F=wF;var SF=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,kF=/\d+/i,TF={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},PF={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},RF={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},EF={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},$F={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},AF={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},IF={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},MF={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},zF={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},OF={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},DF={ordinalNumber:tl({matchPattern:SF,parsePattern:kF,valueCallback:function(t){return parseInt(t,10)}}),era:Qt({matchPatterns:TF,defaultMatchWidth:"wide",parsePatterns:PF,defaultParseWidth:"any"}),quarter:Qt({matchPatterns:RF,defaultMatchWidth:"wide",parsePatterns:EF,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qt({matchPatterns:$F,defaultMatchWidth:"wide",parsePatterns:AF,defaultParseWidth:"any"}),day:Qt({matchPatterns:IF,defaultMatchWidth:"wide",parsePatterns:MF,defaultParseWidth:"any"}),dayPeriod:Qt({matchPatterns:zF,defaultMatchWidth:"any",parsePatterns:OF,defaultParseWidth:"any"})};const LF=DF;var FF={code:"ja",formatDistance:aF,formatLong:dF,formatRelative:pF,localize:_F,match:LF,options:{weekStartsOn:0,firstWeekContainsDate:1}};const NF=FF,BF={name:"ja-JP",locale:NF},HF=BF;var jF={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}}년"}},VF=function(t,n,o){var r,i=jF[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 UF=VF;var WF={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},qF={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},KF={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},GF={date:In({formats:WF,defaultWidth:"full"}),time:In({formats:qF,defaultWidth:"full"}),dateTime:In({formats:KF,defaultWidth:"full"})};const YF=GF;var XF={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},QF=function(t,n,o,r){return XF[t]};const ZF=QF;var JF={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},e7={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},t7={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월"]},n7={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},o7={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:"밤"}},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:"밤"}},i7=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:i7,era:Xt({values:JF,defaultWidth:"wide"}),quarter:Xt({values:e7,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xt({values:t7,defaultWidth:"wide"}),day:Xt({values:n7,defaultWidth:"wide"}),dayPeriod:Xt({values:o7,defaultWidth:"wide",formattingValues:r7,defaultFormattingWidth:"wide"})};const s7=a7;var l7=/^(\d+)(일|번째)?/i,c7=/\d+/i,u7={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]},f7={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},h7={any:[/1/i,/2/i,/3/i,/4/i]},p7={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},m7={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},g7={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},v7={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},b7={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},y7={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},x7={ordinalNumber:tl({matchPattern:l7,parsePattern:c7,valueCallback:function(t){return parseInt(t,10)}}),era:Qt({matchPatterns:u7,defaultMatchWidth:"wide",parsePatterns:d7,defaultParseWidth:"any"}),quarter:Qt({matchPatterns:f7,defaultMatchWidth:"wide",parsePatterns:h7,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qt({matchPatterns:p7,defaultMatchWidth:"wide",parsePatterns:m7,defaultParseWidth:"any"}),day:Qt({matchPatterns:g7,defaultMatchWidth:"wide",parsePatterns:v7,defaultParseWidth:"any"}),dayPeriod:Qt({matchPatterns:b7,defaultMatchWidth:"any",parsePatterns:y7,defaultParseWidth:"any"})};const C7=x7;var w7={code:"ko",formatDistance:UF,formatLong:YF,formatRelative:ZF,localize:s7,match:C7,options:{weekStartsOn:0,firstWeekContainsDate:1}};const _7=w7,S7={name:"ko-KR",locale:_7},k7=S7;var T7={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"}},P7=function(t,n,o){var r,i=T7[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 R7=P7;var E7={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"},$7={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},A7={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},I7={date:In({formats:E7,defaultWidth:"full"}),time:In({formats:$7,defaultWidth:"full"}),dateTime:In({formats:A7,defaultWidth:"full"})};const M7=I7;var z7={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"},O7=function(t,n,o,r){return z7[t]};const D7=O7;var L7={narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},F7={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},N7={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},B7={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"]},H7={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"]},j7={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"]},V7={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"}},U7={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"}},W7=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)},q7={ordinalNumber:W7,era:Xt({values:L7,defaultWidth:"wide"}),quarter:Xt({values:F7,defaultWidth:"wide",formattingValues:N7,defaultFormattingWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xt({values:B7,defaultWidth:"wide",formattingValues:H7,defaultFormattingWidth:"wide"}),day:Xt({values:j7,defaultWidth:"wide"}),dayPeriod:Xt({values:V7,defaultWidth:"wide",formattingValues:U7,defaultFormattingWidth:"wide"})};const K7=q7;var G7=/^(\d+)/i,Y7=/\d+/i,X7={narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},Q7={any:[/^t/i,/^s/i]},Z7={narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},J7={any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},eN={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},tN={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]},nN={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},oN={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]},rN={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},iN={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}},aN={ordinalNumber:tl({matchPattern:G7,parsePattern:Y7,valueCallback:function(t){return parseInt(t,10)}}),era:Qt({matchPatterns:X7,defaultMatchWidth:"wide",parsePatterns:Q7,defaultParseWidth:"any"}),quarter:Qt({matchPatterns:Z7,defaultMatchWidth:"wide",parsePatterns:J7,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qt({matchPatterns:eN,defaultMatchWidth:"wide",parsePatterns:tN,defaultParseWidth:"wide"}),day:Qt({matchPatterns:nN,defaultMatchWidth:"wide",parsePatterns:oN,defaultParseWidth:"wide"}),dayPeriod:Qt({matchPatterns:rN,defaultMatchWidth:"wide",parsePatterns:iN,defaultParseWidth:"any"})};const sN=aN;var lN={code:"vi",formatDistance:R7,formatLong:M7,formatRelative:D7,localize:K7,match:sN,options:{weekStartsOn:1,firstWeekContainsDate:1}};const cN=lN,uN={name:"vi-VN",locale:cN},dN=uN,fN={name:"fa-IR",locale:Yw},hN=fN;function Pi(e){const{mergedLocaleRef:t,mergedDateLocaleRef:n}=He(xo,null)||{},o=N(()=>{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:Gw[e]});return{dateLocaleRef:N(()=>{var i;return(i=n==null?void 0:n.value)!==null&&i!==void 0?i:Xw}),localeRef:o}}function Br(e,t,n){if(!t)return;const o=_i(),r=He(xo,null),i=()=>{const a=n.value;t.mount({id:a===void 0?e:a+e,head:!0,anchorMetaName:xa,props:{bPrefix:a?`.${a}-`:void 0},ssr:o}),r!=null&&r.preflightStyleDisabled||qw.mount({id:"n-global",head:!0,anchorMetaName:xa,ssr:o})};o?i():an(i)}function Rt(e,t,n,o){var r;n||Fr("useThemeClass","cssVarsRef is not passed");const i=(r=He(xo,null))===null||r===void 0?void 0:r.mergedThemeHashRef,a=B(""),s=_i();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+="-"+Ds(JSON.stringify(h))),m&&(d+="-"+Ds(JSON.stringify(m))),a.value=d,l=()=>{const v=n.value;let g="";for(const y in v)g+=`${y}: ${v[y]};`;j(`.${d}`,g).mount({id:d,ssr:s}),l=void 0}};return un(()=>{u()}),{themeClass:a,onRender:()=>{l==null||l()}}}function Rn(e,t,n){if(!t)return;const o=_i(),r=N(()=>{const{value:a}=t;if(!a)return;const s=a[e];if(s)return s}),i=()=>{un(()=>{const{value:a}=n,s=`${a}${e}Rtl`;if(JA(s,o))return;const{value:l}=r;l&&l.style.mount({id:s,head:!0,anchorMetaName:xa,props:{bPrefix:a?`.${a}-`:void 0},ssr:o})})};return o?i():an(i),r}const pN=pe({name:"Add",render(){return b("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))}}),mN=pe({name:"ArrowDown",render(){return b("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},b("g",{"fill-rule":"nonzero"},b("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 Oa(e,t){return pe({name:kw(e),setup(){var n;const o=(n=He(xo,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 u0=pe({name:"Backward",render(){return b("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b("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"}))}}),gN=pe({name:"Checkmark",render(){return b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},b("g",{fill:"none"},b("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"})))}}),Up=pe({name:"ChevronRight",render(){return b("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b("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"}))}}),vN=Oa("close",b("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},b("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},b("g",{fill:"currentColor","fill-rule":"nonzero"},b("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"}))))),bN=pe({name:"Eye",render(){return b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},b("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"}),b("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}}),yN=pe({name:"EyeOff",render(){return b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},b("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"}),b("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"}),b("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"}),b("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"}),b("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"}))}}),xN=pe({name:"Empty",render(){return b("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b("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"}),b("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"}))}}),Ri=Oa("error",b("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},b("g",{"fill-rule":"nonzero"},b("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"}))))),d0=pe({name:"FastBackward",render(){return b("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},b("g",{fill:"currentColor","fill-rule":"nonzero"},b("path",{d:"M8.73171,16.7949 C9.03264,17.0795 9.50733,17.0663 9.79196,16.7654 C10.0766,16.4644 10.0634,15.9897 9.76243,15.7051 L4.52339,10.75 L17.2471,10.75 C17.6613,10.75 17.9971,10.4142 17.9971,10 C17.9971,9.58579 17.6613,9.25 17.2471,9.25 L4.52112,9.25 L9.76243,4.29275 C10.0634,4.00812 10.0766,3.53343 9.79196,3.2325 C9.50733,2.93156 9.03264,2.91834 8.73171,3.20297 L2.31449,9.27241 C2.14819,9.4297 2.04819,9.62981 2.01448,9.8386 C2.00308,9.89058 1.99707,9.94459 1.99707,10 C1.99707,10.0576 2.00356,10.1137 2.01585,10.1675 C2.05084,10.3733 2.15039,10.5702 2.31449,10.7254 L8.73171,16.7949 Z"}))))}}),f0=pe({name:"FastForward",render(){return b("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},b("g",{fill:"currentColor","fill-rule":"nonzero"},b("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"}))))}}),CN=pe({name:"Filter",render(){return b("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},b("g",{"fill-rule":"nonzero"},b("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"}))))}}),h0=pe({name:"Forward",render(){return b("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b("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"}))}}),zr=Oa("info",b("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},b("g",{"fill-rule":"nonzero"},b("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"}))))),p0=pe({name:"More",render(){return b("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},b("g",{fill:"currentColor","fill-rule":"nonzero"},b("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"}))))}}),wN=pe({name:"Remove",render(){return b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},b("line",{x1:"400",y1:"256",x2:"112",y2:"256",style:` + `)]),xo="n-config-provider",xa="naive-ui-style";function Fe(e,t,n,o,r,i){const a=_i(),s=He(xo,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:xa,ssr:a}),s!=null&&s.preflightStyleDisabled||Kw.mount({id:"n-global",head:!0,anchorMetaName:xa,ssr:a})};a?c():an(c)}return L(()=>{var c;const{theme:{common:u,self:d,peers:f={}}={},themeOverrides:p={},builtinThemeOverrides:h={}}=r,{common:m,peers:v}=p,{common:g=void 0,[e]:{common:y=void 0,self:S=void 0,peers:C={}}={}}=(s==null?void 0:s.mergedThemeRef.value)||{},{common:_=void 0,[e]:x={}}=(s==null?void 0:s.mergedThemeOverridesRef.value)||{},{common:w,peers:T={}}=x,P=rs({},u||y||g||o.common,_,w,m),k=rs((c=d||S||o.self)===null||c===void 0?void 0:c(P),h,x,p);return{common:P,self:k,peers:rs({},o.peers,C,f),peerOverrides:rs({},h.peers,T,v)}})}Fe.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const Hs="n";function ct(e={},t={defaultBordered:!0}){const n=He(xo,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:Us(Hs),namespaceRef:L(()=>n==null?void 0:n.mergedNamespaceRef.value)}}function Gw(){const e=He(xo,null);return e?e.mergedClsPrefixRef:Us(Hs)}const xL={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",clear:"清除",now:"此刻",confirm:"确认",selectTime:"选择时间",selectDate:"选择日期",datePlaceholder:"选择日期",datetimePlaceholder:"选择日期时间",monthPlaceholder:"选择月份",yearPlaceholder:"选择年份",quarterPlaceholder:"选择季度",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:"此刻"},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:"缩放到原始尺寸"}},CL=xL,wL={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",clear:"清除",now:"現在",confirm:"確定",selectTime:"選擇時間",selectDate:"選擇日期",datePlaceholder:"選擇日期",datetimePlaceholder:"選擇日期時間",monthPlaceholder:"選擇月份",yearPlaceholder:"選擇年份",quarterPlaceholder:"選擇季度",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:"現在"},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:"縮放到原始尺寸"}},_L=wL,SL={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",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",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"},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"}},Yw=SL,kL={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",clear:"クリア",now:"現在",confirm:"OK",selectTime:"時間を選択",selectDate:"日付を選択",datePlaceholder:"日付を選択",datetimePlaceholder:"選択",monthPlaceholder:"月を選択",yearPlaceholder:"年を選択",quarterPlaceholder:"四半期を選択",startDatePlaceholder:"開始日",endDatePlaceholder:"終了日",startDatetimePlaceholder:"開始時間",endDatetimePlaceholder:"終了時間",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!1,firstDayOfWeek:0,today:"今日"},DataTable:{checkTableAll:"全選択",uncheckTableAll:"全選択取消",confirm:"OK",clear:"リセット"},LegacyTransfer:{sourceTitle:"元",targetTitle:"先"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"データなし"},Select:{placeholder:"選択してください"},TimePicker:{placeholder:"選択してください",positiveText:"OK",negativeText:"キャンセル",now:"現在"},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:"Zoom to original size"}},TL=kL,PL={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",clear:"지우기",now:"현재",confirm:"확인",selectTime:"시간 선택",selectDate:"날짜 선택",datePlaceholder:"날짜 선택",datetimePlaceholder:"날짜 및 시간 선택",monthPlaceholder:"월 선택",yearPlaceholder:"년 선택",quarterPlaceholder:"분기 선택",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:"현재 시간"},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:"원본 크기로 확대"}},RL=PL,EL={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",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ý",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"},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"}},$L=EL,AL={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",clear:"پاک کردن",now:"اکنون",confirm:"تأیید",selectTime:"انتخاب زمان",selectDate:"انتخاب تاریخ",datePlaceholder:"انتخاب تاریخ",datetimePlaceholder:"انتخاب تاریخ و زمان",monthPlaceholder:"انتخاب ماه",yearPlaceholder:"انتخاب سال",quarterPlaceholder:"انتخاب سه‌ماهه",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:"همین الان"},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:"اندازه اصلی تصویر"}},IL=AL;var ML={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}} 年"}},zL=function(t,n,o){var r,i=ML[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 OL=zL;function In(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 DL={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},LL={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},FL={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},NL={date:In({formats:DL,defaultWidth:"full"}),time:In({formats:LL,defaultWidth:"full"}),dateTime:In({formats:FL,defaultWidth:"full"})};const BL=NL;function Vp(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function hh(e){"@babel/helpers - typeof";return hh=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},hh(e)}function HL(e){Vp(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||hh(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 jL(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 VL={};function UL(){return VL}function l0(e,t){var n,o,r,i,a,s,l,c;Vp(1,arguments);var u=UL(),d=jL((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=HL(e),p=f.getUTCDay(),h=(pt.getTime()?"'下个'"+o:"'上个'"+o}var qL={lastWeek:c0,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:c0,other:"PP p"},KL=function(t,n,o,r){var i=qL[t];return typeof i=="function"?i(n,o,r):i};const GL=KL;function Xt(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 YL={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},XL={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},QL={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},ZL={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},JL={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:"夜间"}},e9={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:"夜间"}},t9=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()}},n9={ordinalNumber:t9,era:Xt({values:YL,defaultWidth:"wide"}),quarter:Xt({values:XL,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xt({values:QL,defaultWidth:"wide"}),day:Xt({values:ZL,defaultWidth:"wide"}),dayPeriod:Xt({values:JL,defaultWidth:"wide",formattingValues:e9,defaultFormattingWidth:"wide"})};const o9=n9;function Qt(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)?i9(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 i9(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 a9=/^(第\s*)?\d+(日|时|分|秒)?/i,s9=/\d+/i,l9={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},c9={any:[/^(前)/i,/^(公元)/i]},u9={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},d9={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},f9={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},h9={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]},p9={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},m9={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},g9={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},v9={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},b9={ordinalNumber:tl({matchPattern:a9,parsePattern:s9,valueCallback:function(t){return parseInt(t,10)}}),era:Qt({matchPatterns:l9,defaultMatchWidth:"wide",parsePatterns:c9,defaultParseWidth:"any"}),quarter:Qt({matchPatterns:u9,defaultMatchWidth:"wide",parsePatterns:d9,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qt({matchPatterns:f9,defaultMatchWidth:"wide",parsePatterns:h9,defaultParseWidth:"any"}),day:Qt({matchPatterns:p9,defaultMatchWidth:"wide",parsePatterns:m9,defaultParseWidth:"any"}),dayPeriod:Qt({matchPatterns:g9,defaultMatchWidth:"any",parsePatterns:v9,defaultParseWidth:"any"})};const y9=b9;var x9={code:"zh-CN",formatDistance:OL,formatLong:BL,formatRelative:GL,localize:o9,match:y9,options:{weekStartsOn:1,firstWeekContainsDate:4}};const Xw=x9,C9={name:"zh-CN",locale:Xw},u0=C9;var w9={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"}},_9=function(t,n,o){var r,i=w9[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 S9=_9;var k9={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},T9={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},P9={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},R9={date:In({formats:k9,defaultWidth:"full"}),time:In({formats:T9,defaultWidth:"full"}),dateTime:In({formats:P9,defaultWidth:"full"})};const E9=R9;var $9={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},A9=function(t,n,o,r){return $9[t]};const I9=A9;var M9={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},z9={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},O9={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"]},D9={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"]},L9={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"}},F9={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"}},N9=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"},B9={ordinalNumber:N9,era:Xt({values:M9,defaultWidth:"wide"}),quarter:Xt({values:z9,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xt({values:O9,defaultWidth:"wide"}),day:Xt({values:D9,defaultWidth:"wide"}),dayPeriod:Xt({values:L9,defaultWidth:"wide",formattingValues:F9,defaultFormattingWidth:"wide"})};const H9=B9;var j9=/^(\d+)(th|st|nd|rd)?/i,V9=/\d+/i,U9={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},W9={any:[/^b/i,/^(a|c)/i]},q9={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},K9={any:[/1/i,/2/i,/3/i,/4/i]},G9={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},Y9={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]},X9={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},Q9={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]},Z9={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},J9={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}},eF={ordinalNumber:tl({matchPattern:j9,parsePattern:V9,valueCallback:function(t){return parseInt(t,10)}}),era:Qt({matchPatterns:U9,defaultMatchWidth:"wide",parsePatterns:W9,defaultParseWidth:"any"}),quarter:Qt({matchPatterns:q9,defaultMatchWidth:"wide",parsePatterns:K9,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qt({matchPatterns:G9,defaultMatchWidth:"wide",parsePatterns:Y9,defaultParseWidth:"any"}),day:Qt({matchPatterns:X9,defaultMatchWidth:"wide",parsePatterns:Q9,defaultParseWidth:"any"}),dayPeriod:Qt({matchPatterns:Z9,defaultMatchWidth:"any",parsePatterns:J9,defaultParseWidth:"any"})};const tF=eF;var nF={code:"en-US",formatDistance:S9,formatLong:E9,formatRelative:I9,localize:H9,match:tF,options:{weekStartsOn:0,firstWeekContainsDate:1}};const oF=nF,rF={name:"en-US",locale:oF},Qw=rF;var iF={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}}年近く"}},aF=function(t,n,o){o=o||{};var r,i=iF[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 sF=aF;var lF={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},cF={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},uF={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},dF={date:In({formats:lF,defaultWidth:"full"}),time:In({formats:cF,defaultWidth:"full"}),dateTime:In({formats:uF,defaultWidth:"full"})};const fF=dF;var hF={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},pF=function(t,n,o,r){return hF[t]};const mF=pF;var gF={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},vF={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},bF={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月"]},yF={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},xF={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:"深夜"}},CF={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:"深夜"}},wF=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)}},_F={ordinalNumber:wF,era:Xt({values:gF,defaultWidth:"wide"}),quarter:Xt({values:vF,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:Xt({values:bF,defaultWidth:"wide"}),day:Xt({values:yF,defaultWidth:"wide"}),dayPeriod:Xt({values:xF,defaultWidth:"wide",formattingValues:CF,defaultFormattingWidth:"wide"})};const SF=_F;var kF=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,TF=/\d+/i,PF={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},RF={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},EF={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},$F={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},AF={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},IF={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},MF={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},zF={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},OF={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},DF={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},LF={ordinalNumber:tl({matchPattern:kF,parsePattern:TF,valueCallback:function(t){return parseInt(t,10)}}),era:Qt({matchPatterns:PF,defaultMatchWidth:"wide",parsePatterns:RF,defaultParseWidth:"any"}),quarter:Qt({matchPatterns:EF,defaultMatchWidth:"wide",parsePatterns:$F,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qt({matchPatterns:AF,defaultMatchWidth:"wide",parsePatterns:IF,defaultParseWidth:"any"}),day:Qt({matchPatterns:MF,defaultMatchWidth:"wide",parsePatterns:zF,defaultParseWidth:"any"}),dayPeriod:Qt({matchPatterns:OF,defaultMatchWidth:"any",parsePatterns:DF,defaultParseWidth:"any"})};const FF=LF;var NF={code:"ja",formatDistance:sF,formatLong:fF,formatRelative:mF,localize:SF,match:FF,options:{weekStartsOn:0,firstWeekContainsDate:1}};const BF=NF,HF={name:"ja-JP",locale:BF},jF=HF;var VF={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}}년"}},UF=function(t,n,o){var r,i=VF[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 WF=UF;var qF={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},KF={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},GF={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},YF={date:In({formats:qF,defaultWidth:"full"}),time:In({formats:KF,defaultWidth:"full"}),dateTime:In({formats:GF,defaultWidth:"full"})};const XF=YF;var QF={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},ZF=function(t,n,o,r){return QF[t]};const JF=ZF;var e7={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},t7={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},n7={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},o7={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},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:"밤"}},i7={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:"밤"}},a7=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+"번째"}},s7={ordinalNumber:a7,era:Xt({values:e7,defaultWidth:"wide"}),quarter:Xt({values:t7,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xt({values:n7,defaultWidth:"wide"}),day:Xt({values:o7,defaultWidth:"wide"}),dayPeriod:Xt({values:r7,defaultWidth:"wide",formattingValues:i7,defaultFormattingWidth:"wide"})};const l7=s7;var c7=/^(\d+)(일|번째)?/i,u7=/\d+/i,d7={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},f7={any:[/^(bc|기원전)/i,/^(ad|서기)/i]},h7={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},p7={any:[/1/i,/2/i,/3/i,/4/i]},m7={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},g7={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},v7={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},b7={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},y7={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},x7={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},C7={ordinalNumber:tl({matchPattern:c7,parsePattern:u7,valueCallback:function(t){return parseInt(t,10)}}),era:Qt({matchPatterns:d7,defaultMatchWidth:"wide",parsePatterns:f7,defaultParseWidth:"any"}),quarter:Qt({matchPatterns:h7,defaultMatchWidth:"wide",parsePatterns:p7,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qt({matchPatterns:m7,defaultMatchWidth:"wide",parsePatterns:g7,defaultParseWidth:"any"}),day:Qt({matchPatterns:v7,defaultMatchWidth:"wide",parsePatterns:b7,defaultParseWidth:"any"}),dayPeriod:Qt({matchPatterns:y7,defaultMatchWidth:"any",parsePatterns:x7,defaultParseWidth:"any"})};const w7=C7;var _7={code:"ko",formatDistance:WF,formatLong:XF,formatRelative:JF,localize:l7,match:w7,options:{weekStartsOn:0,firstWeekContainsDate:1}};const S7=_7,k7={name:"ko-KR",locale:S7},T7=k7;var P7={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"}},R7=function(t,n,o){var r,i=P7[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 E7=R7;var $7={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"},A7={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},I7={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},M7={date:In({formats:$7,defaultWidth:"full"}),time:In({formats:A7,defaultWidth:"full"}),dateTime:In({formats:I7,defaultWidth:"full"})};const z7=M7;var O7={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"},D7=function(t,n,o,r){return O7[t]};const L7=D7;var F7={narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},N7={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},B7={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},H7={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"]},j7={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"]},V7={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"]},U7={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"}},W7={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"}},q7=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)},K7={ordinalNumber:q7,era:Xt({values:F7,defaultWidth:"wide"}),quarter:Xt({values:N7,defaultWidth:"wide",formattingValues:B7,defaultFormattingWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xt({values:H7,defaultWidth:"wide",formattingValues:j7,defaultFormattingWidth:"wide"}),day:Xt({values:V7,defaultWidth:"wide"}),dayPeriod:Xt({values:U7,defaultWidth:"wide",formattingValues:W7,defaultFormattingWidth:"wide"})};const G7=K7;var Y7=/^(\d+)/i,X7=/\d+/i,Q7={narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},Z7={any:[/^t/i,/^s/i]},J7={narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},eN={any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},tN={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},nN={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]},oN={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},rN={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]},iN={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},aN={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}},sN={ordinalNumber:tl({matchPattern:Y7,parsePattern:X7,valueCallback:function(t){return parseInt(t,10)}}),era:Qt({matchPatterns:Q7,defaultMatchWidth:"wide",parsePatterns:Z7,defaultParseWidth:"any"}),quarter:Qt({matchPatterns:J7,defaultMatchWidth:"wide",parsePatterns:eN,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qt({matchPatterns:tN,defaultMatchWidth:"wide",parsePatterns:nN,defaultParseWidth:"wide"}),day:Qt({matchPatterns:oN,defaultMatchWidth:"wide",parsePatterns:rN,defaultParseWidth:"wide"}),dayPeriod:Qt({matchPatterns:iN,defaultMatchWidth:"wide",parsePatterns:aN,defaultParseWidth:"any"})};const lN=sN;var cN={code:"vi",formatDistance:E7,formatLong:z7,formatRelative:L7,localize:G7,match:lN,options:{weekStartsOn:1,firstWeekContainsDate:1}};const uN=cN,dN={name:"vi-VN",locale:uN},fN=dN,hN={name:"fa-IR",locale:Xw},pN=hN;function Pi(e){const{mergedLocaleRef:t,mergedDateLocaleRef:n}=He(xo,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:Yw[e]});return{dateLocaleRef:L(()=>{var i;return(i=n==null?void 0:n.value)!==null&&i!==void 0?i:Qw}),localeRef:o}}function Br(e,t,n){if(!t)return;const o=_i(),r=He(xo,null),i=()=>{const a=n.value;t.mount({id:a===void 0?e:a+e,head:!0,anchorMetaName:xa,props:{bPrefix:a?`.${a}-`:void 0},ssr:o}),r!=null&&r.preflightStyleDisabled||Kw.mount({id:"n-global",head:!0,anchorMetaName:xa,ssr:o})};o?i():an(i)}function Rt(e,t,n,o){var r;n||Fr("useThemeClass","cssVarsRef is not passed");const i=(r=He(xo,null))===null||r===void 0?void 0:r.mergedThemeHashRef,a=N(""),s=_i();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+="-"+Ds(JSON.stringify(h))),m&&(d+="-"+Ds(JSON.stringify(m))),a.value=d,l=()=>{const v=n.value;let g="";for(const y in v)g+=`${y}: ${v[y]};`;V(`.${d}`,g).mount({id:d,ssr:s}),l=void 0}};return un(()=>{u()}),{themeClass:a,onRender:()=>{l==null||l()}}}function Rn(e,t,n){if(!t)return;const o=_i(),r=L(()=>{const{value:a}=t;if(!a)return;const s=a[e];if(s)return s}),i=()=>{un(()=>{const{value:a}=n,s=`${a}${e}Rtl`;if(e6(s,o))return;const{value:l}=r;l&&l.style.mount({id:s,head:!0,anchorMetaName:xa,props:{bPrefix:a?`.${a}-`:void 0},ssr:o})})};return o?i():an(i),r}const mN=pe({name:"Add",render(){return b("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))}}),gN=pe({name:"ArrowDown",render(){return b("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},b("g",{"fill-rule":"nonzero"},b("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 Oa(e,t){return pe({name:Tw(e),setup(){var n;const o=(n=He(xo,null))===null||n===void 0?void 0:n.mergedIconsRef;return()=>{var r;const i=(r=o==null?void 0:o.value)===null||r===void 0?void 0:r[e];return i?i():t}}})}const d0=pe({name:"Backward",render(){return b("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b("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"}))}}),vN=pe({name:"Checkmark",render(){return b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},b("g",{fill:"none"},b("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"})))}}),Up=pe({name:"ChevronRight",render(){return b("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b("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"}))}}),bN=Oa("close",b("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},b("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},b("g",{fill:"currentColor","fill-rule":"nonzero"},b("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"}))))),yN=pe({name:"Eye",render(){return b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},b("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"}),b("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}}),xN=pe({name:"EyeOff",render(){return b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},b("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"}),b("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"}),b("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"}),b("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"}),b("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"}))}}),CN=pe({name:"Empty",render(){return b("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b("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"}),b("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"}))}}),Ri=Oa("error",b("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},b("g",{"fill-rule":"nonzero"},b("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"}))))),f0=pe({name:"FastBackward",render(){return b("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},b("g",{fill:"currentColor","fill-rule":"nonzero"},b("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"}))))}}),h0=pe({name:"FastForward",render(){return b("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},b("g",{fill:"currentColor","fill-rule":"nonzero"},b("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"}))))}}),wN=pe({name:"Filter",render(){return b("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},b("g",{"fill-rule":"nonzero"},b("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"}))))}}),p0=pe({name:"Forward",render(){return b("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b("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"}))}}),zr=Oa("info",b("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},b("g",{"fill-rule":"nonzero"},b("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"}))))),m0=pe({name:"More",render(){return b("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},b("g",{fill:"currentColor","fill-rule":"nonzero"},b("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"}))))}}),_N=pe({name:"Remove",render(){return b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},b("line",{x1:"400",y1:"256",x2:"112",y2:"256",style:` fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 32px; - `}))}}),Ei=Oa("success",b("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},b("g",{"fill-rule":"nonzero"},b("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"}))))),$i=Oa("warning",b("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},b("g",{"fill-rule":"nonzero"},b("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"}))))),Qw=pe({name:"ChevronDown",render(){return b("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b("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"}))}}),_N=Oa("clear",b("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},b("g",{fill:"currentColor","fill-rule":"nonzero"},b("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"}))))),SN=pe({name:"ChevronDownFilled",render(){return b("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b("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"}))}}),Ai=pe({name:"BaseIconSwitchTransition",setup(e,{slots:t}){const n=Nr();return()=>b(fn,{name:"icon-switch-transition",appear:n.value},t)}}),yu=pe({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?F4: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),b(d,f,t)}}}),kN=z("base-icon",` + `}))}}),Ei=Oa("success",b("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},b("g",{"fill-rule":"nonzero"},b("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"}))))),$i=Oa("warning",b("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},b("g",{"fill-rule":"nonzero"},b("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"}))))),Zw=pe({name:"ChevronDown",render(){return b("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b("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"}))}}),SN=Oa("clear",b("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},b("g",{fill:"currentColor","fill-rule":"nonzero"},b("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"}))))),kN=pe({name:"ChevronDownFilled",render(){return b("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b("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"}))}}),Ai=pe({name:"BaseIconSwitchTransition",setup(e,{slots:t}){const n=Nr();return()=>b(fn,{name:"icon-switch-transition",appear:n.value},t)}}),yu=pe({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?N4: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),b(d,f,t)}}}),TN=O("base-icon",` height: 1em; width: 1em; line-height: 1em; @@ -75,10 +75,10 @@ ${t} position: relative; fill: currentColor; transform: translateZ(0); -`,[j("svg",` +`,[V("svg",` height: 1em; width: 1em; - `)]),Bt=pe({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){Br("-base-icon",kN,Ne(e,"clsPrefix"))},render(){return b("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)}}),TN=z("base-close",` + `)]),Bt=pe({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){Br("-base-icon",TN,Ne(e,"clsPrefix"))},render(){return b("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)}}),PN=O("base-close",` display: flex; align-items: center; justify-content: center; @@ -96,7 +96,7 @@ ${t} `,[K("absolute",` height: var(--n-close-icon-size); width: var(--n-close-icon-size); - `),j("&::before",` + `),V("&::before",` content: ""; position: absolute; width: var(--n-close-size); @@ -106,28 +106,28 @@ ${t} transform: translateY(-50%) translateX(-50%); transition: inherit; border-radius: inherit; - `),Pt("disabled",[j("&:hover",` + `),Pt("disabled",[V("&:hover",` color: var(--n-close-icon-color-hover); - `),j("&:hover::before",` + `),V("&:hover::before",` background-color: var(--n-close-color-hover); - `),j("&:focus::before",` + `),V("&:focus::before",` background-color: var(--n-close-color-hover); - `),j("&:active",` + `),V("&:active",` color: var(--n-close-icon-color-pressed); - `),j("&:active::before",` + `),V("&:active::before",` background-color: var(--n-close-color-pressed); `)]),K("disabled",` cursor: not-allowed; color: var(--n-close-icon-color-disabled); background-color: transparent; - `),K("round",[j("&::before",` + `),K("round",[V("&::before",` border-radius: 50%; - `)])]),Ii=pe({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 Br("-base-close",TN,Ne(e,"clsPrefix")),()=>{const{clsPrefix:t,disabled:n,absolute:o,round:r,isButtonTag:i}=e;return b(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},b(Bt,{clsPrefix:t},{default:()=>b(vN,null)}))}}}),PN=pe({props:{onFocus:Function,onBlur:Function},setup(e){return()=>b("div",{style:"width: 0; height: 0",tabindex:0,onFocus:e.onFocus,onBlur:e.onBlur})}}),{cubicBezierEaseInOut:RN}=so;function Un({originalTransform:e="",left:t=0,top:n=0,transition:o=`all .3s ${RN} !important`}={}){return[j("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:e+" scale(0.75)",left:t,top:n,opacity:0}),j("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${e}`,left:t,top:n,opacity:1}),j("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:t,top:n,transition:o})]}const EN=j([j("@keyframes loading-container-rotate",` + `)])]),Ii=pe({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 Br("-base-close",PN,Ne(e,"clsPrefix")),()=>{const{clsPrefix:t,disabled:n,absolute:o,round:r,isButtonTag:i}=e;return b(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},b(Bt,{clsPrefix:t},{default:()=>b(bN,null)}))}}}),RN=pe({props:{onFocus:Function,onBlur:Function},setup(e){return()=>b("div",{style:"width: 0; height: 0",tabindex:0,onFocus:e.onFocus,onBlur:e.onBlur})}}),{cubicBezierEaseInOut:EN}=so;function Un({originalTransform:e="",left:t=0,top:n=0,transition:o=`all .3s ${EN} !important`}={}){return[V("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:e+" scale(0.75)",left:t,top:n,opacity:0}),V("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${e}`,left:t,top:n,opacity:1}),V("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:t,top:n,transition:o})]}const $N=V([V("@keyframes loading-container-rotate",` to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } - `),j("@keyframes loading-layer-rotate",` + `),V("@keyframes loading-layer-rotate",` 12.5% { -webkit-transform: rotate(135deg); transform: rotate(135deg); @@ -160,7 +160,7 @@ ${t} -webkit-transform: rotate(1080deg); transform: rotate(1080deg); } - `),j("@keyframes loading-left-spin",` + `),V("@keyframes loading-left-spin",` from { -webkit-transform: rotate(265deg); transform: rotate(265deg); @@ -173,7 +173,7 @@ ${t} -webkit-transform: rotate(265deg); transform: rotate(265deg); } - `),j("@keyframes loading-right-spin",` + `),V("@keyframes loading-right-spin",` from { -webkit-transform: rotate(-265deg); transform: rotate(-265deg); @@ -186,7 +186,7 @@ ${t} -webkit-transform: rotate(-265deg); transform: rotate(-265deg); } - `),z("base-loading",` + `),O("base-loading",` position: relative; line-height: 0; width: 1em; @@ -254,7 +254,7 @@ ${t} left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); - `,[Un({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})])])]),$N={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},Mi=pe({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}},$N),setup(e){Br("-base-loading",EN,Ne(e,"clsPrefix"))},render(){const{clsPrefix:e,radius:t,strokeWidth:n,stroke:o,scale:r}=this,i=t/r;return b("div",{class:`${e}-base-loading`,role:"img","aria-label":"loading"},b(Ai,null,{default:()=>this.show?b("div",{key:"icon",class:`${e}-base-loading__transition-wrapper`},b("div",{class:`${e}-base-loading__container`},b("div",{class:`${e}-base-loading__container-layer`},b("div",{class:`${e}-base-loading__container-layer-left`},b("svg",{class:`${e}-base-loading__svg`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},b("circle",{fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:i,cy:i,r:t-n/2,"stroke-dasharray":4.91*t,"stroke-dashoffset":2.46*t}))),b("div",{class:`${e}-base-loading__container-layer-patch`},b("svg",{class:`${e}-base-loading__svg`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},b("circle",{fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:i,cy:i,r:t-n/2,"stroke-dasharray":4.91*t,"stroke-dashoffset":2.46*t}))),b("div",{class:`${e}-base-loading__container-layer-right`},b("svg",{class:`${e}-base-loading__svg`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},b("circle",{fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:i,cy:i,r:t-n/2,"stroke-dasharray":4.91*t,"stroke-dashoffset":2.46*t})))))):b("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}});function m0(e){return Array.isArray(e)?e:[e]}const ph={STOP:"STOP"};function Zw(e,t){const n=t(e);e.children!==void 0&&n!==ph.STOP&&e.children.forEach(o=>Zw(o,t))}function AN(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 IN(e,t){const{isLeaf:n}=e;return n!==void 0?n:!t(e)}function MN(e){return e.children}function zN(e){return e.key}function ON(){return!1}function DN(e,t){const{isLeaf:n}=e;return!(n===!1&&!Array.isArray(t(e)))}function LN(e){return e.disabled===!0}function FN(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function $d(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function Ad(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function NN(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)||n.add(o)}),Array.from(n)}function BN(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)&&n.delete(o)}),Array.from(n)}function HN(e){return(e==null?void 0:e.type)==="group"}function jN(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 VN extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function UN(e,t,n,o){return Tc(t.concat(e),n,o,!1)}function WN(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 qN(e,t,n,o){const r=Tc(t,n,o,!1),i=Tc(e,n,o,!0),a=WN(e,n),s=[];return r.forEach(l=>{(i.has(l)||a.has(l))&&s.push(l)}),s.forEach(l=>r.delete(l)),r}function Id(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:NN(n,o),indeterminateKeys:Array.from(i)}:r!==void 0?{checkedKeys:BN(n,r),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(n),indeterminateKeys:Array.from(i)};const{levelTreeNodeMap:u}=t;let d;r!==void 0?d=qN(r,n,t,c):o!==void 0?d=UN(o,n,t,c):d=Tc(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 g=v;g>=0;g-=1){const y=g===0,S=u.get(g);for(const C of S){if(C.isLeaf)continue;const{key:_,shallowLoaded:x}=C;if(p&&x&&C.children.forEach(k=>{!k.disabled&&!k.isLeaf&&k.shallowLoaded&&h.has(k.key)&&h.delete(k.key)}),C.disabled||!x)continue;let w=!0,T=!1,P=!0;for(const k of C.children){const I=k.key;if(!k.disabled){if(P&&(P=!1),h.has(I))T=!0;else if(m.has(I)){T=!0,w=!1;break}else if(w=!1,T)break}}w&&!P?(f&&C.children.forEach(k=>{!k.disabled&&h.has(k.key)&&h.delete(k.key)}),h.add(_)):T&&m.add(_),y&&p&&h.has(_)&&h.delete(_)}}return{checkedKeys:Array.from(h),indeterminateKeys:Array.from(m)}}function Tc(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&&Zw(c,u=>{if(u.disabled)return ph.STOP;const{key:d}=u;if(!a.has(d)&&(a.add(d),s.add(d),FN(u.rawNode,i))){if(o)return ph.STOP;if(!n)throw new VN}})}),s}function KN(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 GN(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function YN(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 g0(e,t,{loop:n=!1,includeDisabled:o=!1}={}){const r=t==="prev"?XN:YN,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=Wp(c,i);u!==null?s=u:l(r(c,n))}else{const u=r(c,!1);if(u!==null)l(u);else{const d=QN(c);d!=null&&d.isGroup?l(r(d,n)):n&&l(r(c,!0))}}}}return l(e),s}function XN(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 QN(e){return e.parent}function Wp(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=Wp(c,t);if(u!==null)return u}else return c}}return null}const ZN={getChild(){return this.ignored?null:Wp(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return g0(this,"next",e)},getPrev(e={}){return g0(this,"prev",e)}};function JN(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 eB(e,t){const n=e.key;for(;t;){if(t.key===n)return!0;t=t.parent}return!1}function Jw(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=Jw(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 nl(e,t={}){var n;const o=new Map,r=new Map,{getDisabled:i=LN,getIgnored:a=ON,getIsGroup:s=HN,getKey:l=zN}=t,c=(n=t.getChildren)!==null&&n!==void 0?n:MN,u=t.ignoreEmptyChildren?C=>{const _=c(C);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 IN(this.rawNode,u)},get shallowLoaded(){return DN(this.rawNode,u)},get ignored(){return a(this.rawNode)},contains(C){return eB(this,C)}},ZN),f=Jw(e,o,r,d,u);function p(C){if(C==null)return null;const _=o.get(C);return _&&!_.isGroup&&!_.ignored?_:null}function h(C){if(C==null)return null;const _=o.get(C);return _&&!_.ignored?_:null}function m(C,_){const x=h(C);return x?x.getPrev(_):null}function v(C,_){const x=h(C);return x?x.getNext(_):null}function g(C){const _=h(C);return _?_.getParent():null}function y(C){const _=h(C);return _?_.getChild():null}const S={treeNodes:f,treeNodeMap:o,levelTreeNodeMap:r,maxLevel:Math.max(...r.keys()),getChildren:u,getFlattenedNodes(C){return JN(f,C)},getNode:p,getPrev:m,getNext:v,getParent:g,getChild:y,getFirstAvailableNode(){return GN(f)},getPath(C,_={}){return KN(C,_,S)},getCheckedKeys(C,_={}){const{cascade:x=!0,leafOnly:w=!1,checkStrategy:T="all",allowNotLoaded:P=!1}=_;return Id({checkedKeys:$d(C),indeterminateKeys:Ad(C),cascade:x,leafOnly:w,checkStrategy:T,allowNotLoaded:P},S)},check(C,_,x={}){const{cascade:w=!0,leafOnly:T=!1,checkStrategy:P="all",allowNotLoaded:k=!1}=x;return Id({checkedKeys:$d(_),indeterminateKeys:Ad(_),keysToCheck:C==null?[]:m0(C),cascade:w,leafOnly:T,checkStrategy:P,allowNotLoaded:k},S)},uncheck(C,_,x={}){const{cascade:w=!0,leafOnly:T=!1,checkStrategy:P="all",allowNotLoaded:k=!1}=x;return Id({checkedKeys:$d(_),indeterminateKeys:Ad(_),keysToUncheck:C==null?[]:m0(C),cascade:w,leafOnly:T,checkStrategy:P,allowNotLoaded:k},S)},getNonLeafKeys(C={}){return AN(f,C)}};return S}const We={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)"},tB=No(We.neutralBase),e_=No(We.neutralInvertBase),nB="rgba("+e_.slice(0,3).join(", ")+", ";function Mt(e){return nB+String(e)+")"}function oB(e){const t=Array.from(e_);return t[3]=Number(e),Ye(tB,t)}const rB=Object.assign(Object.assign({name:"common"},so),{baseColor:We.neutralBase,primaryColor:We.primaryDefault,primaryColorHover:We.primaryHover,primaryColorPressed:We.primaryActive,primaryColorSuppl:We.primarySuppl,infoColor:We.infoDefault,infoColorHover:We.infoHover,infoColorPressed:We.infoActive,infoColorSuppl:We.infoSuppl,successColor:We.successDefault,successColorHover:We.successHover,successColorPressed:We.successActive,successColorSuppl:We.successSuppl,warningColor:We.warningDefault,warningColorHover:We.warningHover,warningColorPressed:We.warningActive,warningColorSuppl:We.warningSuppl,errorColor:We.errorDefault,errorColorHover:We.errorHover,errorColorPressed:We.errorActive,errorColorSuppl:We.errorSuppl,textColorBase:We.neutralTextBase,textColor1:Mt(We.alpha1),textColor2:Mt(We.alpha2),textColor3:Mt(We.alpha3),textColorDisabled:Mt(We.alpha4),placeholderColor:Mt(We.alpha4),placeholderColorDisabled:Mt(We.alpha5),iconColor:Mt(We.alpha4),iconColorDisabled:Mt(We.alpha5),iconColorHover:Mt(Number(We.alpha4)*1.25),iconColorPressed:Mt(Number(We.alpha4)*.8),opacity1:We.alpha1,opacity2:We.alpha2,opacity3:We.alpha3,opacity4:We.alpha4,opacity5:We.alpha5,dividerColor:Mt(We.alphaDivider),borderColor:Mt(We.alphaBorder),closeIconColorHover:Mt(Number(We.alphaClose)),closeIconColor:Mt(Number(We.alphaClose)),closeIconColorPressed:Mt(Number(We.alphaClose)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:Mt(We.alpha4),clearColorHover:cn(Mt(We.alpha4),{alpha:1.25}),clearColorPressed:cn(Mt(We.alpha4),{alpha:.8}),scrollbarColor:Mt(We.alphaScrollbar),scrollbarColorHover:Mt(We.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Mt(We.alphaProgressRail),railColor:Mt(We.alphaRail),popoverColor:We.neutralPopover,tableColor:We.neutralCard,cardColor:We.neutralCard,modalColor:We.neutralModal,bodyColor:We.neutralBody,tagColor:oB(We.alphaTag),avatarColor:Mt(We.alphaAvatar),invertedColor:We.neutralBase,inputColor:Mt(We.alphaInput),codeColor:Mt(We.alphaCode),tabColor:Mt(We.alphaTab),actionColor:Mt(We.alphaAction),tableHeaderColor:Mt(We.alphaAction),hoverColor:Mt(We.alphaPending),tableColorHover:Mt(We.alphaTablePending),tableColorStriped:Mt(We.alphaTableStriped),pressedColor:Mt(We.alphaPressed),opacityDisabled:We.alphaDisabled,inputColorDisabled:Mt(We.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)"}),Be=rB,st={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"},iB=No(st.neutralBase),t_=No(st.neutralInvertBase),aB="rgba("+t_.slice(0,3).join(", ")+", ";function v0(e){return aB+String(e)+")"}function Sn(e){const t=Array.from(t_);return t[3]=Number(e),Ye(iB,t)}const sB=Object.assign(Object.assign({name:"common"},so),{baseColor:st.neutralBase,primaryColor:st.primaryDefault,primaryColorHover:st.primaryHover,primaryColorPressed:st.primaryActive,primaryColorSuppl:st.primarySuppl,infoColor:st.infoDefault,infoColorHover:st.infoHover,infoColorPressed:st.infoActive,infoColorSuppl:st.infoSuppl,successColor:st.successDefault,successColorHover:st.successHover,successColorPressed:st.successActive,successColorSuppl:st.successSuppl,warningColor:st.warningDefault,warningColorHover:st.warningHover,warningColorPressed:st.warningActive,warningColorSuppl:st.warningSuppl,errorColor:st.errorDefault,errorColorHover:st.errorHover,errorColorPressed:st.errorActive,errorColorSuppl:st.errorSuppl,textColorBase:st.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:Sn(st.alpha4),placeholderColor:Sn(st.alpha4),placeholderColorDisabled:Sn(st.alpha5),iconColor:Sn(st.alpha4),iconColorHover:cn(Sn(st.alpha4),{lightness:.75}),iconColorPressed:cn(Sn(st.alpha4),{lightness:.9}),iconColorDisabled:Sn(st.alpha5),opacity1:st.alpha1,opacity2:st.alpha2,opacity3:st.alpha3,opacity4:st.alpha4,opacity5:st.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:Sn(Number(st.alphaClose)),closeIconColorHover:Sn(Number(st.alphaClose)),closeIconColorPressed:Sn(Number(st.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:Sn(st.alpha4),clearColorHover:cn(Sn(st.alpha4),{lightness:.75}),clearColorPressed:cn(Sn(st.alpha4),{lightness:.9}),scrollbarColor:v0(st.alphaScrollbar),scrollbarColorHover:v0(st.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Sn(st.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:st.neutralPopover,tableColor:st.neutralCard,cardColor:st.neutralCard,modalColor:st.neutralModal,bodyColor:st.neutralBody,tagColor:"#eee",avatarColor:Sn(st.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:Sn(st.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:st.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)"}),yt=sB,lB={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"},n_=e=>{const{textColorDisabled:t,iconColor:n,textColor2:o,fontSizeSmall:r,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s}=e;return Object.assign(Object.assign({},lB),{fontSizeSmall:r,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s,textColor:t,iconColor:n,extraTextColor:o})},cB={name:"Empty",common:yt,self:n_},xu=cB,uB={name:"Empty",common:Be,self:n_},zi=uB,dB=z("empty",` + `,[Un({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})])])]),AN={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},Mi=pe({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}},AN),setup(e){Br("-base-loading",$N,Ne(e,"clsPrefix"))},render(){const{clsPrefix:e,radius:t,strokeWidth:n,stroke:o,scale:r}=this,i=t/r;return b("div",{class:`${e}-base-loading`,role:"img","aria-label":"loading"},b(Ai,null,{default:()=>this.show?b("div",{key:"icon",class:`${e}-base-loading__transition-wrapper`},b("div",{class:`${e}-base-loading__container`},b("div",{class:`${e}-base-loading__container-layer`},b("div",{class:`${e}-base-loading__container-layer-left`},b("svg",{class:`${e}-base-loading__svg`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},b("circle",{fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:i,cy:i,r:t-n/2,"stroke-dasharray":4.91*t,"stroke-dashoffset":2.46*t}))),b("div",{class:`${e}-base-loading__container-layer-patch`},b("svg",{class:`${e}-base-loading__svg`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},b("circle",{fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:i,cy:i,r:t-n/2,"stroke-dasharray":4.91*t,"stroke-dashoffset":2.46*t}))),b("div",{class:`${e}-base-loading__container-layer-right`},b("svg",{class:`${e}-base-loading__svg`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},b("circle",{fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:i,cy:i,r:t-n/2,"stroke-dasharray":4.91*t,"stroke-dashoffset":2.46*t})))))):b("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}});function g0(e){return Array.isArray(e)?e:[e]}const ph={STOP:"STOP"};function Jw(e,t){const n=t(e);e.children!==void 0&&n!==ph.STOP&&e.children.forEach(o=>Jw(o,t))}function IN(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 MN(e,t){const{isLeaf:n}=e;return n!==void 0?n:!t(e)}function zN(e){return e.children}function ON(e){return e.key}function DN(){return!1}function LN(e,t){const{isLeaf:n}=e;return!(n===!1&&!Array.isArray(t(e)))}function FN(e){return e.disabled===!0}function NN(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function $d(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function Ad(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function BN(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)||n.add(o)}),Array.from(n)}function HN(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)&&n.delete(o)}),Array.from(n)}function jN(e){return(e==null?void 0:e.type)==="group"}function VN(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 UN extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function WN(e,t,n,o){return Tc(t.concat(e),n,o,!1)}function qN(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 KN(e,t,n,o){const r=Tc(t,n,o,!1),i=Tc(e,n,o,!0),a=qN(e,n),s=[];return r.forEach(l=>{(i.has(l)||a.has(l))&&s.push(l)}),s.forEach(l=>r.delete(l)),r}function Id(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:BN(n,o),indeterminateKeys:Array.from(i)}:r!==void 0?{checkedKeys:HN(n,r),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(n),indeterminateKeys:Array.from(i)};const{levelTreeNodeMap:u}=t;let d;r!==void 0?d=KN(r,n,t,c):o!==void 0?d=WN(o,n,t,c):d=Tc(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 g=v;g>=0;g-=1){const y=g===0,S=u.get(g);for(const C of S){if(C.isLeaf)continue;const{key:_,shallowLoaded:x}=C;if(p&&x&&C.children.forEach(k=>{!k.disabled&&!k.isLeaf&&k.shallowLoaded&&h.has(k.key)&&h.delete(k.key)}),C.disabled||!x)continue;let w=!0,T=!1,P=!0;for(const k of C.children){const A=k.key;if(!k.disabled){if(P&&(P=!1),h.has(A))T=!0;else if(m.has(A)){T=!0,w=!1;break}else if(w=!1,T)break}}w&&!P?(f&&C.children.forEach(k=>{!k.disabled&&h.has(k.key)&&h.delete(k.key)}),h.add(_)):T&&m.add(_),y&&p&&h.has(_)&&h.delete(_)}}return{checkedKeys:Array.from(h),indeterminateKeys:Array.from(m)}}function Tc(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&&Jw(c,u=>{if(u.disabled)return ph.STOP;const{key:d}=u;if(!a.has(d)&&(a.add(d),s.add(d),NN(u.rawNode,i))){if(o)return ph.STOP;if(!n)throw new UN}})}),s}function GN(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 v0(e,t,{loop:n=!1,includeDisabled:o=!1}={}){const r=t==="prev"?QN: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=Wp(c,i);u!==null?s=u:l(r(c,n))}else{const u=r(c,!1);if(u!==null)l(u);else{const d=ZN(c);d!=null&&d.isGroup?l(r(d,n)):n&&l(r(c,!0))}}}}return l(e),s}function QN(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 ZN(e){return e.parent}function Wp(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=Wp(c,t);if(u!==null)return u}else return c}}return null}const JN={getChild(){return this.ignored?null:Wp(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return v0(this,"next",e)},getPrev(e={}){return v0(this,"prev",e)}};function eB(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 tB(e,t){const n=e.key;for(;t;){if(t.key===n)return!0;t=t.parent}return!1}function e_(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=e_(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 nl(e,t={}){var n;const o=new Map,r=new Map,{getDisabled:i=FN,getIgnored:a=DN,getIsGroup:s=jN,getKey:l=ON}=t,c=(n=t.getChildren)!==null&&n!==void 0?n:zN,u=t.ignoreEmptyChildren?C=>{const _=c(C);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 MN(this.rawNode,u)},get shallowLoaded(){return LN(this.rawNode,u)},get ignored(){return a(this.rawNode)},contains(C){return tB(this,C)}},JN),f=e_(e,o,r,d,u);function p(C){if(C==null)return null;const _=o.get(C);return _&&!_.isGroup&&!_.ignored?_:null}function h(C){if(C==null)return null;const _=o.get(C);return _&&!_.ignored?_:null}function m(C,_){const x=h(C);return x?x.getPrev(_):null}function v(C,_){const x=h(C);return x?x.getNext(_):null}function g(C){const _=h(C);return _?_.getParent():null}function y(C){const _=h(C);return _?_.getChild():null}const S={treeNodes:f,treeNodeMap:o,levelTreeNodeMap:r,maxLevel:Math.max(...r.keys()),getChildren:u,getFlattenedNodes(C){return eB(f,C)},getNode:p,getPrev:m,getNext:v,getParent:g,getChild:y,getFirstAvailableNode(){return YN(f)},getPath(C,_={}){return GN(C,_,S)},getCheckedKeys(C,_={}){const{cascade:x=!0,leafOnly:w=!1,checkStrategy:T="all",allowNotLoaded:P=!1}=_;return Id({checkedKeys:$d(C),indeterminateKeys:Ad(C),cascade:x,leafOnly:w,checkStrategy:T,allowNotLoaded:P},S)},check(C,_,x={}){const{cascade:w=!0,leafOnly:T=!1,checkStrategy:P="all",allowNotLoaded:k=!1}=x;return Id({checkedKeys:$d(_),indeterminateKeys:Ad(_),keysToCheck:C==null?[]:g0(C),cascade:w,leafOnly:T,checkStrategy:P,allowNotLoaded:k},S)},uncheck(C,_,x={}){const{cascade:w=!0,leafOnly:T=!1,checkStrategy:P="all",allowNotLoaded:k=!1}=x;return Id({checkedKeys:$d(_),indeterminateKeys:Ad(_),keysToUncheck:C==null?[]:g0(C),cascade:w,leafOnly:T,checkStrategy:P,allowNotLoaded:k},S)},getNonLeafKeys(C={}){return IN(f,C)}};return S}const We={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)"},nB=No(We.neutralBase),t_=No(We.neutralInvertBase),oB="rgba("+t_.slice(0,3).join(", ")+", ";function Mt(e){return oB+String(e)+")"}function rB(e){const t=Array.from(t_);return t[3]=Number(e),Ye(nB,t)}const iB=Object.assign(Object.assign({name:"common"},so),{baseColor:We.neutralBase,primaryColor:We.primaryDefault,primaryColorHover:We.primaryHover,primaryColorPressed:We.primaryActive,primaryColorSuppl:We.primarySuppl,infoColor:We.infoDefault,infoColorHover:We.infoHover,infoColorPressed:We.infoActive,infoColorSuppl:We.infoSuppl,successColor:We.successDefault,successColorHover:We.successHover,successColorPressed:We.successActive,successColorSuppl:We.successSuppl,warningColor:We.warningDefault,warningColorHover:We.warningHover,warningColorPressed:We.warningActive,warningColorSuppl:We.warningSuppl,errorColor:We.errorDefault,errorColorHover:We.errorHover,errorColorPressed:We.errorActive,errorColorSuppl:We.errorSuppl,textColorBase:We.neutralTextBase,textColor1:Mt(We.alpha1),textColor2:Mt(We.alpha2),textColor3:Mt(We.alpha3),textColorDisabled:Mt(We.alpha4),placeholderColor:Mt(We.alpha4),placeholderColorDisabled:Mt(We.alpha5),iconColor:Mt(We.alpha4),iconColorDisabled:Mt(We.alpha5),iconColorHover:Mt(Number(We.alpha4)*1.25),iconColorPressed:Mt(Number(We.alpha4)*.8),opacity1:We.alpha1,opacity2:We.alpha2,opacity3:We.alpha3,opacity4:We.alpha4,opacity5:We.alpha5,dividerColor:Mt(We.alphaDivider),borderColor:Mt(We.alphaBorder),closeIconColorHover:Mt(Number(We.alphaClose)),closeIconColor:Mt(Number(We.alphaClose)),closeIconColorPressed:Mt(Number(We.alphaClose)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:Mt(We.alpha4),clearColorHover:cn(Mt(We.alpha4),{alpha:1.25}),clearColorPressed:cn(Mt(We.alpha4),{alpha:.8}),scrollbarColor:Mt(We.alphaScrollbar),scrollbarColorHover:Mt(We.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Mt(We.alphaProgressRail),railColor:Mt(We.alphaRail),popoverColor:We.neutralPopover,tableColor:We.neutralCard,cardColor:We.neutralCard,modalColor:We.neutralModal,bodyColor:We.neutralBody,tagColor:rB(We.alphaTag),avatarColor:Mt(We.alphaAvatar),invertedColor:We.neutralBase,inputColor:Mt(We.alphaInput),codeColor:Mt(We.alphaCode),tabColor:Mt(We.alphaTab),actionColor:Mt(We.alphaAction),tableHeaderColor:Mt(We.alphaAction),hoverColor:Mt(We.alphaPending),tableColorHover:Mt(We.alphaTablePending),tableColorStriped:Mt(We.alphaTableStriped),pressedColor:Mt(We.alphaPressed),opacityDisabled:We.alphaDisabled,inputColorDisabled:Mt(We.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)"}),Be=iB,st={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"},aB=No(st.neutralBase),n_=No(st.neutralInvertBase),sB="rgba("+n_.slice(0,3).join(", ")+", ";function b0(e){return sB+String(e)+")"}function Sn(e){const t=Array.from(n_);return t[3]=Number(e),Ye(aB,t)}const lB=Object.assign(Object.assign({name:"common"},so),{baseColor:st.neutralBase,primaryColor:st.primaryDefault,primaryColorHover:st.primaryHover,primaryColorPressed:st.primaryActive,primaryColorSuppl:st.primarySuppl,infoColor:st.infoDefault,infoColorHover:st.infoHover,infoColorPressed:st.infoActive,infoColorSuppl:st.infoSuppl,successColor:st.successDefault,successColorHover:st.successHover,successColorPressed:st.successActive,successColorSuppl:st.successSuppl,warningColor:st.warningDefault,warningColorHover:st.warningHover,warningColorPressed:st.warningActive,warningColorSuppl:st.warningSuppl,errorColor:st.errorDefault,errorColorHover:st.errorHover,errorColorPressed:st.errorActive,errorColorSuppl:st.errorSuppl,textColorBase:st.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:Sn(st.alpha4),placeholderColor:Sn(st.alpha4),placeholderColorDisabled:Sn(st.alpha5),iconColor:Sn(st.alpha4),iconColorHover:cn(Sn(st.alpha4),{lightness:.75}),iconColorPressed:cn(Sn(st.alpha4),{lightness:.9}),iconColorDisabled:Sn(st.alpha5),opacity1:st.alpha1,opacity2:st.alpha2,opacity3:st.alpha3,opacity4:st.alpha4,opacity5:st.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:Sn(Number(st.alphaClose)),closeIconColorHover:Sn(Number(st.alphaClose)),closeIconColorPressed:Sn(Number(st.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:Sn(st.alpha4),clearColorHover:cn(Sn(st.alpha4),{lightness:.75}),clearColorPressed:cn(Sn(st.alpha4),{lightness:.9}),scrollbarColor:b0(st.alphaScrollbar),scrollbarColorHover:b0(st.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Sn(st.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:st.neutralPopover,tableColor:st.neutralCard,cardColor:st.neutralCard,modalColor:st.neutralModal,bodyColor:st.neutralBody,tagColor:"#eee",avatarColor:Sn(st.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:Sn(st.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:st.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)"}),yt=lB,cB={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"},o_=e=>{const{textColorDisabled:t,iconColor:n,textColor2:o,fontSizeSmall:r,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s}=e;return Object.assign(Object.assign({},cB),{fontSizeSmall:r,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s,textColor:t,iconColor:n,extraTextColor:o})},uB={name:"Empty",common:yt,self:o_},xu=uB,dB={name:"Empty",common:Be,self:o_},zi=dB,fB=O("empty",` display: flex; flex-direction: column; align-items: center; @@ -267,7 +267,7 @@ ${t} color: var(--n-icon-color); transition: color .3s var(--n-bezier); - `,[j("+",[D("description",` + `,[V("+",[D("description",` margin-top: 8px; `)])]),D("description",` transition: color .3s var(--n-bezier); @@ -277,27 +277,27 @@ ${t} transition: color .3s var(--n-bezier); margin-top: 12px; color: var(--n-extra-text-color); - `)]),fB=Object.assign(Object.assign({},Fe.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function}),o_=pe({name:"Empty",props:fB,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=ct(e),o=Fe("Empty","-empty",dB,xu,e,t),{localeRef:r}=Pi("Empty"),i=He(xo,null),a=N(()=>{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=N(()=>{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)||(()=>b(xN,null))}),l=N(()=>{const{size:u}=e,{common:{cubicBezierEaseInOut:d},self:{[Pe("iconSize",u)]:f,[Pe("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?Rt("empty",N(()=>{let u="";const{size:d}=e;return u+=d[0],u}),l,e):void 0;return{mergedClsPrefix:t,mergedRenderIcon:s,localizedDescription:N(()=>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(),b("div",{class:[`${t}-empty`,this.themeClass],style:this.cssVars},this.showIcon?b("div",{class:`${t}-empty__icon`},e.icon?e.icon():b(Bt,{clsPrefix:t},{default:this.mergedRenderIcon})):null,this.showDescription?b("div",{class:`${t}-empty__description`},e.default?e.default():this.localizedDescription):null,e.extra?b("div",{class:`${t}-empty__extra`},e.extra()):null)}}),r_=e=>{const{scrollbarColor:t,scrollbarColorHover:n}=e;return{color:t,colorHover:n}},hB={name:"Scrollbar",common:yt,self:r_},Oi=hB,pB={name:"Scrollbar",common:Be,self:r_},Bn=pB,{cubicBezierEaseInOut:b0}=so;function Cu({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:n="0.2s",enterCubicBezier:o=b0,leaveCubicBezier:r=b0}={}){return[j(`&.${e}-transition-enter-active`,{transition:`all ${t} ${o}!important`}),j(`&.${e}-transition-leave-active`,{transition:`all ${n} ${r}!important`}),j(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),j(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}const mB=z("scrollbar",` + `)]),hB=Object.assign(Object.assign({},Fe.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function}),r_=pe({name:"Empty",props:hB,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=ct(e),o=Fe("Empty","-empty",fB,xu,e,t),{localeRef:r}=Pi("Empty"),i=He(xo,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)||(()=>b(CN,null))}),l=L(()=>{const{size:u}=e,{common:{cubicBezierEaseInOut:d},self:{[Pe("iconSize",u)]:f,[Pe("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?Rt("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(),b("div",{class:[`${t}-empty`,this.themeClass],style:this.cssVars},this.showIcon?b("div",{class:`${t}-empty__icon`},e.icon?e.icon():b(Bt,{clsPrefix:t},{default:this.mergedRenderIcon})):null,this.showDescription?b("div",{class:`${t}-empty__description`},e.default?e.default():this.localizedDescription):null,e.extra?b("div",{class:`${t}-empty__extra`},e.extra()):null)}}),i_=e=>{const{scrollbarColor:t,scrollbarColorHover:n}=e;return{color:t,colorHover:n}},pB={name:"Scrollbar",common:yt,self:i_},Oi=pB,mB={name:"Scrollbar",common:Be,self:i_},Bn=mB,{cubicBezierEaseInOut:y0}=so;function Cu({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:n="0.2s",enterCubicBezier:o=y0,leaveCubicBezier:r=y0}={}){return[V(`&.${e}-transition-enter-active`,{transition:`all ${t} ${o}!important`}),V(`&.${e}-transition-leave-active`,{transition:`all ${n} ${r}!important`}),V(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),V(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}const gB=O("scrollbar",` overflow: hidden; position: relative; z-index: auto; height: 100%; width: 100%; -`,[j(">",[z("scrollbar-container",` +`,[V(">",[O("scrollbar-container",` width: 100%; overflow: scroll; height: 100%; min-height: inherit; max-height: inherit; scrollbar-width: none; - `,[j("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",` + `,[V("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",` width: 0; height: 0; display: none; - `),j(">",[z("scrollbar-content",` + `),V(">",[O("scrollbar-content",` box-sizing: border-box; min-width: 100%; - `)])])]),j(">, +",[z("scrollbar-rail",` + `)])])]),V(">, +",[O("scrollbar-rail",` position: absolute; pointer-events: none; user-select: none; @@ -307,7 +307,7 @@ ${t} right: 2px; bottom: 4px; height: var(--n-scrollbar-height); - `,[j(">",[D("scrollbar",` + `,[V(">",[D("scrollbar",` height: var(--n-scrollbar-height); border-radius: var(--n-scrollbar-border-radius); right: 0; @@ -316,17 +316,17 @@ ${t} top: 2px; bottom: 2px; width: var(--n-scrollbar-width); - `,[j(">",[D("scrollbar",` + `,[V(">",[D("scrollbar",` width: var(--n-scrollbar-width); border-radius: var(--n-scrollbar-border-radius); bottom: 0; - `)])]),K("disabled",[j(">",[D("scrollbar",{pointerEvents:"none"})])]),j(">",[D("scrollbar",` + `)])]),K("disabled",[V(">",[D("scrollbar",{pointerEvents:"none"})])]),V(">",[D("scrollbar",` position: absolute; cursor: pointer; pointer-events: all; background-color: var(--n-scrollbar-color); transition: background-color .2s var(--n-scrollbar-bezier); - `,[Cu(),j("&:hover",{backgroundColor:"var(--n-scrollbar-color-hover)"})])])])])]),gB=Object.assign(Object.assign({},Fe.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,contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean}),i_=pe({name:"Scrollbar",props:gB,inheritAttrs:!1,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=ct(e),r=Rn("Scrollbar",o,t),i=B(null),a=B(null),s=B(null),l=B(null),c=B(null),u=B(null),d=B(null),f=B(null),p=B(null),h=B(null),m=B(null),v=B(0),g=B(0),y=B(!1),S=B(!1);let C=!1,_=!1,x,w,T=0,P=0,k=0,I=0;const A=b6(),q=N(()=>{const{value:Z}=f,{value:we}=u,{value:Ie}=h;return Z===null||we===null||Ie===null?0:Math.min(Z,Ie*Z/we+e.size*1.5)}),F=N(()=>`${q.value}px`),O=N(()=>{const{value:Z}=p,{value:we}=d,{value:Ie}=m;return Z===null||we===null||Ie===null?0:Ie*Z/we+e.size*1.5}),$=N(()=>`${O.value}px`),W=N(()=>{const{value:Z}=f,{value:we}=v,{value:Ie}=u,{value:Ve}=h;if(Z===null||Ie===null||Ve===null)return 0;{const Xe=Ie-Z;return Xe?we/Xe*(Ve-q.value):0}}),Q=N(()=>`${W.value}px`),L=N(()=>{const{value:Z}=p,{value:we}=g,{value:Ie}=d,{value:Ve}=m;if(Z===null||Ie===null||Ve===null)return 0;{const Xe=Ie-Z;return Xe?we/Xe*(Ve-O.value):0}}),M=N(()=>`${L.value}px`),se=N(()=>{const{value:Z}=f,{value:we}=u;return Z!==null&&we!==null&&we>Z}),X=N(()=>{const{value:Z}=p,{value:we}=d;return Z!==null&&we!==null&&we>Z}),ne=N(()=>{const{trigger:Z}=e;return Z==="none"||y.value}),fe=N(()=>{const{trigger:Z}=e;return Z==="none"||S.value}),xe=N(()=>{const{container:Z}=e;return Z?Z():a.value}),Ce=N(()=>{const{content:Z}=e;return Z?Z():s.value}),G=Ap(()=>{e.container||re({top:v.value,left:g.value})}),ve=()=>{G.isDeactivated||te()},ue=Z=>{if(G.isDeactivated)return;const{onResize:we}=e;we&&we(Z),te()},re=(Z,we)=>{if(!e.scrollable)return;if(typeof Z=="number"){V(we??0,Z,0,!1,"auto");return}const{left:Ie,top:Ve,index:Xe,elSize:Qe,position:nt,behavior:ot,el:kt,debounce:sn=!0}=Z;(Ie!==void 0||Ve!==void 0)&&V(Ie??0,Ve??0,0,!1,ot),kt!==void 0?V(0,kt.offsetTop,kt.offsetHeight,sn,ot):Xe!==void 0&&Qe!==void 0?V(0,Xe*Qe,Qe,sn,ot):nt==="bottom"?V(0,Number.MAX_SAFE_INTEGER,0,!1,ot):nt==="top"&&V(0,0,0,!1,ot)},ke=(Z,we)=>{if(!e.scrollable)return;const{value:Ie}=xe;Ie&&(typeof Z=="object"?Ie.scrollBy(Z):Ie.scrollBy(Z,we||0))};function V(Z,we,Ie,Ve,Xe){const{value:Qe}=xe;if(Qe){if(Ve){const{scrollTop:nt,offsetHeight:ot}=Qe;if(we>nt){we+Ie<=nt+ot||Qe.scrollTo({left:Z,top:we+Ie-ot,behavior:Xe});return}}Qe.scrollTo({left:Z,top:we,behavior:Xe})}}function R(){he(),ye(),te()}function E(){U()}function U(){ie(),Y()}function ie(){w!==void 0&&window.clearTimeout(w),w=window.setTimeout(()=>{S.value=!1},e.duration)}function Y(){x!==void 0&&window.clearTimeout(x),x=window.setTimeout(()=>{y.value=!1},e.duration)}function he(){x!==void 0&&window.clearTimeout(x),y.value=!0}function ye(){w!==void 0&&window.clearTimeout(w),S.value=!0}function ge(Z){const{onScroll:we}=e;we&&we(Z),J()}function J(){const{value:Z}=xe;Z&&(v.value=Z.scrollTop,g.value=Z.scrollLeft*(r!=null&&r.value?-1:1))}function de(){const{value:Z}=Ce;Z&&(u.value=Z.offsetHeight,d.value=Z.offsetWidth);const{value:we}=xe;we&&(f.value=we.offsetHeight,p.value=we.offsetWidth);const{value:Ie}=c,{value:Ve}=l;Ie&&(m.value=Ie.offsetWidth),Ve&&(h.value=Ve.offsetHeight)}function _e(){const{value:Z}=xe;Z&&(v.value=Z.scrollTop,g.value=Z.scrollLeft*(r!=null&&r.value?-1:1),f.value=Z.offsetHeight,p.value=Z.offsetWidth,u.value=Z.scrollHeight,d.value=Z.scrollWidth);const{value:we}=c,{value:Ie}=l;we&&(m.value=we.offsetWidth),Ie&&(h.value=Ie.offsetHeight)}function te(){e.scrollable&&(e.useUnifiedContainer?_e():(de(),J()))}function oe(Z){var we;return!(!((we=i.value)===null||we===void 0)&&we.contains(pi(Z)))}function Ee(Z){Z.preventDefault(),Z.stopPropagation(),_=!0,At("mousemove",window,De,!0),At("mouseup",window,qe,!0),P=g.value,k=r!=null&&r.value?window.innerWidth-Z.clientX:Z.clientX}function De(Z){if(!_)return;x!==void 0&&window.clearTimeout(x),w!==void 0&&window.clearTimeout(w);const{value:we}=p,{value:Ie}=d,{value:Ve}=O;if(we===null||Ie===null)return;const Qe=(r!=null&&r.value?window.innerWidth-Z.clientX-k:Z.clientX-k)*(Ie-we)/(we-Ve),nt=Ie-we;let ot=P+Qe;ot=Math.min(nt,ot),ot=Math.max(ot,0);const{value:kt}=xe;if(kt){kt.scrollLeft=ot*(r!=null&&r.value?-1:1);const{internalOnUpdateScrollLeft:sn}=e;sn&&sn(ot)}}function qe(Z){Z.preventDefault(),Z.stopPropagation(),_t("mousemove",window,De,!0),_t("mouseup",window,qe,!0),_=!1,te(),oe(Z)&&U()}function tt(Z){Z.preventDefault(),Z.stopPropagation(),C=!0,At("mousemove",window,Me,!0),At("mouseup",window,je,!0),T=v.value,I=Z.clientY}function Me(Z){if(!C)return;x!==void 0&&window.clearTimeout(x),w!==void 0&&window.clearTimeout(w);const{value:we}=f,{value:Ie}=u,{value:Ve}=q;if(we===null||Ie===null)return;const Qe=(Z.clientY-I)*(Ie-we)/(we-Ve),nt=Ie-we;let ot=T+Qe;ot=Math.min(nt,ot),ot=Math.max(ot,0);const{value:kt}=xe;kt&&(kt.scrollTop=ot)}function je(Z){Z.preventDefault(),Z.stopPropagation(),_t("mousemove",window,Me,!0),_t("mouseup",window,je,!0),C=!1,te(),oe(Z)&&U()}un(()=>{const{value:Z}=X,{value:we}=se,{value:Ie}=t,{value:Ve}=c,{value:Xe}=l;Ve&&(Z?Ve.classList.remove(`${Ie}-scrollbar-rail--disabled`):Ve.classList.add(`${Ie}-scrollbar-rail--disabled`)),Xe&&(we?Xe.classList.remove(`${Ie}-scrollbar-rail--disabled`):Xe.classList.add(`${Ie}-scrollbar-rail--disabled`))}),Vt(()=>{e.container||te()}),tn(()=>{x!==void 0&&window.clearTimeout(x),w!==void 0&&window.clearTimeout(w),_t("mousemove",window,Me,!0),_t("mouseup",window,je,!0)});const dt=Fe("Scrollbar","-scrollbar",mB,Oi,e,t),Oe=N(()=>{const{common:{cubicBezierEaseInOut:Z,scrollbarBorderRadius:we,scrollbarHeight:Ie,scrollbarWidth:Ve},self:{color:Xe,colorHover:Qe}}=dt.value;return{"--n-scrollbar-bezier":Z,"--n-scrollbar-color":Xe,"--n-scrollbar-color-hover":Qe,"--n-scrollbar-border-radius":we,"--n-scrollbar-width":Ve,"--n-scrollbar-height":Ie}}),rt=n?Rt("scrollbar",void 0,Oe,e):void 0;return Object.assign(Object.assign({},{scrollTo:re,scrollBy:ke,sync:te,syncUnifiedContainer:_e,handleMouseEnterWrapper:R,handleMouseLeaveWrapper:E}),{mergedClsPrefix:t,rtlEnabled:r,containerScrollTop:v,wrapperRef:i,containerRef:a,contentRef:s,yRailRef:l,xRailRef:c,needYBar:se,needXBar:X,yBarSizePx:F,xBarSizePx:$,yBarTopPx:Q,xBarLeftPx:M,isShowXBar:ne,isShowYBar:fe,isIos:A,handleScroll:ge,handleContentResize:ve,handleContainerResize:ue,handleYScrollMouseDown:tt,handleXScrollMouseDown:Ee,cssVars:n?void 0:Oe,themeClass:rt==null?void 0:rt.themeClass,onRender:rt==null?void 0:rt.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=>b("div",{ref:"yRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--vertical`],"data-scrollbar-rail":!0,style:[u||"",this.verticalRailStyle],"aria-hiddens":!0},b(a?Zf:fn,a?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?b("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),b("div",Mn(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):b("div",{role:"none",ref:"containerRef",class:[`${n}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},b(Ar,{onResize:this.handleContentResize},{default:()=>b("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),this.xScrollable&&b("div",{ref:"xRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--horizontal`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},b(a?Zf:fn,a?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?b("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():b(Ar,{onResize:this.handleContainerResize},{default:l});return i?b(et,null,c,s(this.cssVars)):c}}),_o=i_,a_=i_,vB={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:g,heightHuge:y}=e;return Object.assign(Object.assign({},vB),{optionFontSizeSmall:d,optionFontSizeMedium:f,optionFontSizeLarge:p,optionFontSizeHuge:h,optionHeightSmall:m,optionHeightMedium:v,optionHeightLarge:g,optionHeightHuge:y,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})},bB={name:"InternalSelectMenu",common:yt,peers:{Scrollbar:Oi,Empty:xu},self:s_},qp=bB,yB={name:"InternalSelectMenu",common:Be,peers:{Scrollbar:Bn,Empty:zi},self:s_},ol=yB;function xB(e,t){return b(fn,{name:"fade-in-scale-up-transition"},{default:()=>e?b(Bt,{clsPrefix:t,class:`${t}-base-select-option__check`},{default:()=>b(gN)}):null})}const y0=pe({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}=He(wp),p=wt(()=>{const{value:g}=n;return g?e.tmNode.key===g.key:!1});function h(g){const{tmNode:y}=e;y.disabled||d(g,y)}function m(g){const{tmNode:y}=e;y.disabled||f(g,y)}function v(g){const{tmNode:y}=e,{value:S}=p;y.disabled||S||f(g,y)}return{multiple:o,isGrouped:wt(()=>{const{tmNode:g}=e,{parent:y}=g;return y&&y.rawNode.type==="group"}),showCheckmark:c,nodeProps:u,isPending:p,isSelected:wt(()=>{const{value:g}=t,{value:y}=o;if(g===null)return!1;const S=e.tmNode.rawNode[l.value];if(y){const{value:C}=r;return C.has(S)}else return g===S}),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=xB(n,e),p=l?[l(t,n),i&&f]:[Nt(t[this.labelField],t,n),i&&f],h=a==null?void 0:a(t),m=b("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:ms([c,h==null?void 0:h.onClick]),onMouseenter:ms([u,h==null?void 0:h.onMouseenter]),onMousemove:ms([d,h==null?void 0:h.onMousemove])}),b("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}}),x0=pe({name:"NBaseSelectGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{renderLabelRef:e,renderOptionRef:t,labelFieldRef:n,nodePropsRef:o}=He(wp);return{labelField:n,nodeProps:o,renderLabel:e,renderOption:t}},render(){const{clsPrefix:e,renderLabel:t,renderOption:n,nodeProps:o,tmNode:{rawNode:r}}=this,i=o==null?void 0:o(r),a=t?t(r,!1):Nt(r[this.labelField],r,!1),s=b("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:C0,cubicBezierEaseOut:w0}=so;function Da({transformOrigin:e="inherit",duration:t=".2s",enterScale:n=".9",originalTransform:o="",originalTransition:r=""}={}){return[j("&.fade-in-scale-up-transition-leave-active",{transformOrigin:e,transition:`opacity ${t} ${C0}, transform ${t} ${C0} ${r&&","+r}`}),j("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${w0}, transform ${t} ${w0} ${r&&","+r}`}),j("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${o} scale(${n})`}),j("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${o} scale(1)`})]}const CB=z("base-select-menu",` + `,[Cu(),V("&:hover",{backgroundColor:"var(--n-scrollbar-color-hover)"})])])])])]),vB=Object.assign(Object.assign({},Fe.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,contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean}),a_=pe({name:"Scrollbar",props:vB,inheritAttrs:!1,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=ct(e),r=Rn("Scrollbar",o,t),i=N(null),a=N(null),s=N(null),l=N(null),c=N(null),u=N(null),d=N(null),f=N(null),p=N(null),h=N(null),m=N(null),v=N(0),g=N(0),y=N(!1),S=N(!1);let C=!1,_=!1,x,w,T=0,P=0,k=0,A=0;const I=y6(),W=L(()=>{const{value:Z}=f,{value:we}=u,{value:Ie}=h;return Z===null||we===null||Ie===null?0:Math.min(Z,Ie*Z/we+e.size*1.5)}),B=L(()=>`${W.value}px`),z=L(()=>{const{value:Z}=p,{value:we}=d,{value:Ie}=m;return Z===null||we===null||Ie===null?0:Ie*Z/we+e.size*1.5}),$=L(()=>`${z.value}px`),j=L(()=>{const{value:Z}=f,{value:we}=v,{value:Ie}=u,{value:Ve}=h;if(Z===null||Ie===null||Ve===null)return 0;{const Xe=Ie-Z;return Xe?we/Xe*(Ve-W.value):0}}),X=L(()=>`${j.value}px`),F=L(()=>{const{value:Z}=p,{value:we}=g,{value:Ie}=d,{value:Ve}=m;if(Z===null||Ie===null||Ve===null)return 0;{const Xe=Ie-Z;return Xe?we/Xe*(Ve-z.value):0}}),M=L(()=>`${F.value}px`),se=L(()=>{const{value:Z}=f,{value:we}=u;return Z!==null&&we!==null&&we>Z}),Q=L(()=>{const{value:Z}=p,{value:we}=d;return Z!==null&&we!==null&&we>Z}),ne=L(()=>{const{trigger:Z}=e;return Z==="none"||y.value}),fe=L(()=>{const{trigger:Z}=e;return Z==="none"||S.value}),xe=L(()=>{const{container:Z}=e;return Z?Z():a.value}),Ce=L(()=>{const{content:Z}=e;return Z?Z():s.value}),G=Ap(()=>{e.container||re({top:v.value,left:g.value})}),ve=()=>{G.isDeactivated||te()},ue=Z=>{if(G.isDeactivated)return;const{onResize:we}=e;we&&we(Z),te()},re=(Z,we)=>{if(!e.scrollable)return;if(typeof Z=="number"){U(we??0,Z,0,!1,"auto");return}const{left:Ie,top:Ve,index:Xe,elSize:Qe,position:nt,behavior:ot,el:kt,debounce:sn=!0}=Z;(Ie!==void 0||Ve!==void 0)&&U(Ie??0,Ve??0,0,!1,ot),kt!==void 0?U(0,kt.offsetTop,kt.offsetHeight,sn,ot):Xe!==void 0&&Qe!==void 0?U(0,Xe*Qe,Qe,sn,ot):nt==="bottom"?U(0,Number.MAX_SAFE_INTEGER,0,!1,ot):nt==="top"&&U(0,0,0,!1,ot)},ke=(Z,we)=>{if(!e.scrollable)return;const{value:Ie}=xe;Ie&&(typeof Z=="object"?Ie.scrollBy(Z):Ie.scrollBy(Z,we||0))};function U(Z,we,Ie,Ve,Xe){const{value:Qe}=xe;if(Qe){if(Ve){const{scrollTop:nt,offsetHeight:ot}=Qe;if(we>nt){we+Ie<=nt+ot||Qe.scrollTo({left:Z,top:we+Ie-ot,behavior:Xe});return}}Qe.scrollTo({left:Z,top:we,behavior:Xe})}}function R(){he(),ye(),te()}function E(){q()}function q(){ie(),Y()}function ie(){w!==void 0&&window.clearTimeout(w),w=window.setTimeout(()=>{S.value=!1},e.duration)}function Y(){x!==void 0&&window.clearTimeout(x),x=window.setTimeout(()=>{y.value=!1},e.duration)}function he(){x!==void 0&&window.clearTimeout(x),y.value=!0}function ye(){w!==void 0&&window.clearTimeout(w),S.value=!0}function ge(Z){const{onScroll:we}=e;we&&we(Z),J()}function J(){const{value:Z}=xe;Z&&(v.value=Z.scrollTop,g.value=Z.scrollLeft*(r!=null&&r.value?-1:1))}function de(){const{value:Z}=Ce;Z&&(u.value=Z.offsetHeight,d.value=Z.offsetWidth);const{value:we}=xe;we&&(f.value=we.offsetHeight,p.value=we.offsetWidth);const{value:Ie}=c,{value:Ve}=l;Ie&&(m.value=Ie.offsetWidth),Ve&&(h.value=Ve.offsetHeight)}function _e(){const{value:Z}=xe;Z&&(v.value=Z.scrollTop,g.value=Z.scrollLeft*(r!=null&&r.value?-1:1),f.value=Z.offsetHeight,p.value=Z.offsetWidth,u.value=Z.scrollHeight,d.value=Z.scrollWidth);const{value:we}=c,{value:Ie}=l;we&&(m.value=we.offsetWidth),Ie&&(h.value=Ie.offsetHeight)}function te(){e.scrollable&&(e.useUnifiedContainer?_e():(de(),J()))}function oe(Z){var we;return!(!((we=i.value)===null||we===void 0)&&we.contains(pi(Z)))}function Ee(Z){Z.preventDefault(),Z.stopPropagation(),_=!0,At("mousemove",window,De,!0),At("mouseup",window,qe,!0),P=g.value,k=r!=null&&r.value?window.innerWidth-Z.clientX:Z.clientX}function De(Z){if(!_)return;x!==void 0&&window.clearTimeout(x),w!==void 0&&window.clearTimeout(w);const{value:we}=p,{value:Ie}=d,{value:Ve}=z;if(we===null||Ie===null)return;const Qe=(r!=null&&r.value?window.innerWidth-Z.clientX-k:Z.clientX-k)*(Ie-we)/(we-Ve),nt=Ie-we;let ot=P+Qe;ot=Math.min(nt,ot),ot=Math.max(ot,0);const{value:kt}=xe;if(kt){kt.scrollLeft=ot*(r!=null&&r.value?-1:1);const{internalOnUpdateScrollLeft:sn}=e;sn&&sn(ot)}}function qe(Z){Z.preventDefault(),Z.stopPropagation(),_t("mousemove",window,De,!0),_t("mouseup",window,qe,!0),_=!1,te(),oe(Z)&&q()}function tt(Z){Z.preventDefault(),Z.stopPropagation(),C=!0,At("mousemove",window,Me,!0),At("mouseup",window,je,!0),T=v.value,A=Z.clientY}function Me(Z){if(!C)return;x!==void 0&&window.clearTimeout(x),w!==void 0&&window.clearTimeout(w);const{value:we}=f,{value:Ie}=u,{value:Ve}=W;if(we===null||Ie===null)return;const Qe=(Z.clientY-A)*(Ie-we)/(we-Ve),nt=Ie-we;let ot=T+Qe;ot=Math.min(nt,ot),ot=Math.max(ot,0);const{value:kt}=xe;kt&&(kt.scrollTop=ot)}function je(Z){Z.preventDefault(),Z.stopPropagation(),_t("mousemove",window,Me,!0),_t("mouseup",window,je,!0),C=!1,te(),oe(Z)&&q()}un(()=>{const{value:Z}=Q,{value:we}=se,{value:Ie}=t,{value:Ve}=c,{value:Xe}=l;Ve&&(Z?Ve.classList.remove(`${Ie}-scrollbar-rail--disabled`):Ve.classList.add(`${Ie}-scrollbar-rail--disabled`)),Xe&&(we?Xe.classList.remove(`${Ie}-scrollbar-rail--disabled`):Xe.classList.add(`${Ie}-scrollbar-rail--disabled`))}),Vt(()=>{e.container||te()}),tn(()=>{x!==void 0&&window.clearTimeout(x),w!==void 0&&window.clearTimeout(w),_t("mousemove",window,Me,!0),_t("mouseup",window,je,!0)});const dt=Fe("Scrollbar","-scrollbar",gB,Oi,e,t),Oe=L(()=>{const{common:{cubicBezierEaseInOut:Z,scrollbarBorderRadius:we,scrollbarHeight:Ie,scrollbarWidth:Ve},self:{color:Xe,colorHover:Qe}}=dt.value;return{"--n-scrollbar-bezier":Z,"--n-scrollbar-color":Xe,"--n-scrollbar-color-hover":Qe,"--n-scrollbar-border-radius":we,"--n-scrollbar-width":Ve,"--n-scrollbar-height":Ie}}),rt=n?Rt("scrollbar",void 0,Oe,e):void 0;return Object.assign(Object.assign({},{scrollTo:re,scrollBy:ke,sync:te,syncUnifiedContainer:_e,handleMouseEnterWrapper:R,handleMouseLeaveWrapper:E}),{mergedClsPrefix:t,rtlEnabled:r,containerScrollTop:v,wrapperRef:i,containerRef:a,contentRef:s,yRailRef:l,xRailRef:c,needYBar:se,needXBar:Q,yBarSizePx:B,xBarSizePx:$,yBarTopPx:X,xBarLeftPx:M,isShowXBar:ne,isShowYBar:fe,isIos:I,handleScroll:ge,handleContentResize:ve,handleContainerResize:ue,handleYScrollMouseDown:tt,handleXScrollMouseDown:Ee,cssVars:n?void 0:Oe,themeClass:rt==null?void 0:rt.themeClass,onRender:rt==null?void 0:rt.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=>b("div",{ref:"yRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--vertical`],"data-scrollbar-rail":!0,style:[u||"",this.verticalRailStyle],"aria-hiddens":!0},b(a?Zf:fn,a?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?b("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),b("div",Mn(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):b("div",{role:"none",ref:"containerRef",class:[`${n}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},b(Ar,{onResize:this.handleContentResize},{default:()=>b("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),this.xScrollable&&b("div",{ref:"xRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--horizontal`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},b(a?Zf:fn,a?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?b("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():b(Ar,{onResize:this.handleContainerResize},{default:l});return i?b(et,null,c,s(this.cssVars)):c}}),_o=a_,s_=a_,bB={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"},l_=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:g,heightHuge:y}=e;return Object.assign(Object.assign({},bB),{optionFontSizeSmall:d,optionFontSizeMedium:f,optionFontSizeLarge:p,optionFontSizeHuge:h,optionHeightSmall:m,optionHeightMedium:v,optionHeightLarge:g,optionHeightHuge:y,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})},yB={name:"InternalSelectMenu",common:yt,peers:{Scrollbar:Oi,Empty:xu},self:l_},qp=yB,xB={name:"InternalSelectMenu",common:Be,peers:{Scrollbar:Bn,Empty:zi},self:l_},ol=xB;function CB(e,t){return b(fn,{name:"fade-in-scale-up-transition"},{default:()=>e?b(Bt,{clsPrefix:t,class:`${t}-base-select-option__check`},{default:()=>b(vN)}):null})}const x0=pe({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}=He(wp),p=wt(()=>{const{value:g}=n;return g?e.tmNode.key===g.key:!1});function h(g){const{tmNode:y}=e;y.disabled||d(g,y)}function m(g){const{tmNode:y}=e;y.disabled||f(g,y)}function v(g){const{tmNode:y}=e,{value:S}=p;y.disabled||S||f(g,y)}return{multiple:o,isGrouped:wt(()=>{const{tmNode:g}=e,{parent:y}=g;return y&&y.rawNode.type==="group"}),showCheckmark:c,nodeProps:u,isPending:p,isSelected:wt(()=>{const{value:g}=t,{value:y}=o;if(g===null)return!1;const S=e.tmNode.rawNode[l.value];if(y){const{value:C}=r;return C.has(S)}else return g===S}),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=CB(n,e),p=l?[l(t,n),i&&f]:[Nt(t[this.labelField],t,n),i&&f],h=a==null?void 0:a(t),m=b("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:ms([c,h==null?void 0:h.onClick]),onMouseenter:ms([u,h==null?void 0:h.onMouseenter]),onMousemove:ms([d,h==null?void 0:h.onMousemove])}),b("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}}),C0=pe({name:"NBaseSelectGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{renderLabelRef:e,renderOptionRef:t,labelFieldRef:n,nodePropsRef:o}=He(wp);return{labelField:n,nodeProps:o,renderLabel:e,renderOption:t}},render(){const{clsPrefix:e,renderLabel:t,renderOption:n,nodeProps:o,tmNode:{rawNode:r}}=this,i=o==null?void 0:o(r),a=t?t(r,!1):Nt(r[this.labelField],r,!1),s=b("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:w0,cubicBezierEaseOut:_0}=so;function Da({transformOrigin:e="inherit",duration:t=".2s",enterScale:n=".9",originalTransform:o="",originalTransition:r=""}={}){return[V("&.fade-in-scale-up-transition-leave-active",{transformOrigin:e,transition:`opacity ${t} ${w0}, transform ${t} ${w0} ${r&&","+r}`}),V("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${_0}, transform ${t} ${_0} ${r&&","+r}`}),V("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${o} scale(${n})`}),V("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${o} scale(1)`})]}const wB=O("base-select-menu",` line-height: 1.5; outline: none; z-index: 0; @@ -336,11 +336,11 @@ ${t} background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier); background-color: var(--n-color); -`,[z("scrollbar",` +`,[O("scrollbar",` max-height: var(--n-height); - `),z("virtual-list",` + `),O("virtual-list",` max-height: var(--n-height); - `),z("base-select-option",` + `),O("base-select-option",` min-height: var(--n-option-height); font-size: var(--n-option-font-size); display: flex; @@ -350,12 +350,12 @@ ${t} white-space: nowrap; text-overflow: ellipsis; overflow: hidden; - `)]),z("base-select-group-header",` + `)]),O("base-select-group-header",` min-height: var(--n-option-height); font-size: .93em; display: flex; align-items: center; - `),z("base-select-menu-option-wrapper",` + `),O("base-select-menu-option-wrapper",` position: relative; width: 100%; `),D("loading, empty",` @@ -374,12 +374,12 @@ ${t} border-color .3s var(--n-bezier); border-top: 1px solid var(--n-action-divider-color); color: var(--n-action-text-color); - `),z("base-select-group-header",` + `),O("base-select-group-header",` position: relative; cursor: default; padding: var(--n-option-padding); color: var(--n-group-header-text-color); - `),z("base-select-option",` + `),O("base-select-option",` cursor: pointer; position: relative; padding: var(--n-option-padding); @@ -391,7 +391,7 @@ ${t} opacity: 1; `,[K("show-checkmark",` padding-right: calc(var(--n-option-padding-right) + 20px); - `),j("&::before",` + `),V("&::before",` content: ""; position: absolute; left: 4px; @@ -400,17 +400,17 @@ ${t} bottom: 0; border-radius: var(--n-border-radius); transition: background-color .3s var(--n-bezier); - `),j("&:active",` + `),V("&:active",` color: var(--n-option-text-color-pressed); `),K("grouped",` padding-left: calc(var(--n-option-padding-left) * 1.5); - `),K("pending",[j("&::before",` + `),K("pending",[V("&::before",` background-color: var(--n-option-color-pending); `)]),K("selected",` color: var(--n-option-text-color-active); - `,[j("&::before",` + `,[V("&::before",` background-color: var(--n-option-color-active); - `),K("pending",[j("&::before",` + `),K("pending",[V("&::before",` background-color: var(--n-option-color-active-pending); `)])]),K("disabled",` cursor: not-allowed; @@ -425,14 +425,14 @@ ${t} top: calc(50% - 7px); color: var(--n-option-check-color); transition: color .3s var(--n-bezier); - `,[Da({enterScale:"0.5"})])])]),l_=pe({name:"InternalSelectMenu",props:Object.assign(Object.assign({},Fe.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 t=Fe("InternalSelectMenu","-internal-select-menu",CB,qp,e,Ne(e,"clsPrefix")),n=B(null),o=B(null),r=B(null),i=N(()=>e.treeMate.getFlattenedNodes()),a=N(()=>jN(i.value)),s=B(null);function l(){const{treeMate:L}=e;let M=null;const{value:se}=e;se===null?M=L.getFirstAvailableNode():(e.multiple?M=L.getNode((se||[])[(se||[]).length-1]):M=L.getNode(se),(!M||M.disabled)&&(M=L.getFirstAvailableNode())),I(M||null)}function c(){const{value:L}=s;L&&!e.treeMate.getNode(L.key)&&(s.value=null)}let u;ht(()=>e.show,L=>{L?u=ht(()=>e.treeMate,()=>{e.resetMenuOnOptionsChange?(e.autoPending?l():c(),jt(A)):c()},{immediate:!0}):u==null||u()},{immediate:!0}),tn(()=>{u==null||u()});const d=N(()=>wn(t.value.self[Pe("optionHeight",e.size)])),f=N(()=>si(t.value.self[Pe("padding",e.size)])),p=N(()=>e.multiple&&Array.isArray(e.value)?new Set(e.value):new Set),h=N(()=>{const L=i.value;return L&&L.length===0});function m(L){const{onToggle:M}=e;M&&M(L)}function v(L){const{onScroll:M}=e;M&&M(L)}function g(L){var M;(M=r.value)===null||M===void 0||M.sync(),v(L)}function y(){var L;(L=r.value)===null||L===void 0||L.sync()}function S(){const{value:L}=s;return L||null}function C(L,M){M.disabled||I(M,!1)}function _(L,M){M.disabled||m(M)}function x(L){var M;nr(L,"action")||(M=e.onKeyup)===null||M===void 0||M.call(e,L)}function w(L){var M;nr(L,"action")||(M=e.onKeydown)===null||M===void 0||M.call(e,L)}function T(L){var M;(M=e.onMousedown)===null||M===void 0||M.call(e,L),!e.focusable&&L.preventDefault()}function P(){const{value:L}=s;L&&I(L.getNext({loop:!0}),!0)}function k(){const{value:L}=s;L&&I(L.getPrev({loop:!0}),!0)}function I(L,M=!1){s.value=L,M&&A()}function A(){var L,M;const se=s.value;if(!se)return;const X=a.value(se.key);X!==null&&(e.virtualScroll?(L=o.value)===null||L===void 0||L.scrollTo({index:X}):(M=r.value)===null||M===void 0||M.scrollTo({index:X,elSize:d.value}))}function q(L){var M,se;!((M=n.value)===null||M===void 0)&&M.contains(L.target)&&((se=e.onFocus)===null||se===void 0||se.call(e,L))}function F(L){var M,se;!((M=n.value)===null||M===void 0)&&M.contains(L.relatedTarget)||(se=e.onBlur)===null||se===void 0||se.call(e,L)}lt(wp,{handleOptionMouseEnter:C,handleOptionClick:_,valueSetRef:p,pendingTmNodeRef:s,nodePropsRef:Ne(e,"nodeProps"),showCheckmarkRef:Ne(e,"showCheckmark"),multipleRef:Ne(e,"multiple"),valueRef:Ne(e,"value"),renderLabelRef:Ne(e,"renderLabel"),renderOptionRef:Ne(e,"renderOption"),labelFieldRef:Ne(e,"labelField"),valueFieldRef:Ne(e,"valueField")}),lt(LC,n),Vt(()=>{const{value:L}=r;L&&L.sync()});const O=N(()=>{const{size:L}=e,{common:{cubicBezierEaseInOut:M},self:{height:se,borderRadius:X,color:ne,groupHeaderTextColor:fe,actionDividerColor:xe,optionTextColorPressed:Ce,optionTextColor:G,optionTextColorDisabled:ve,optionTextColorActive:ue,optionOpacityDisabled:re,optionCheckColor:ke,actionTextColor:V,optionColorPending:R,optionColorActive:E,loadingColor:U,loadingSize:ie,optionColorActivePending:Y,[Pe("optionFontSize",L)]:he,[Pe("optionHeight",L)]:ye,[Pe("optionPadding",L)]:ge}}=t.value;return{"--n-height":se,"--n-action-divider-color":xe,"--n-action-text-color":V,"--n-bezier":M,"--n-border-radius":X,"--n-color":ne,"--n-option-font-size":he,"--n-group-header-text-color":fe,"--n-option-check-color":ke,"--n-option-color-pending":R,"--n-option-color-active":E,"--n-option-color-active-pending":Y,"--n-option-height":ye,"--n-option-opacity-disabled":re,"--n-option-text-color":G,"--n-option-text-color-active":ue,"--n-option-text-color-disabled":ve,"--n-option-text-color-pressed":Ce,"--n-option-padding":ge,"--n-option-padding-left":si(ge,"left"),"--n-option-padding-right":si(ge,"right"),"--n-loading-color":U,"--n-loading-size":ie}}),{inlineThemeDisabled:$}=e,W=$?Rt("internal-select-menu",N(()=>e.size[0]),O,e):void 0,Q={selfRef:n,next:P,prev:k,getPendingTmNode:S};return ew(n,e.onResize),Object.assign({mergedTheme:t,virtualListRef:o,scrollbarRef:r,itemSize:d,padding:f,flattenedNodes:i,empty:h,virtualListContainer(){const{value:L}=o;return L==null?void 0:L.listElRef},virtualListContent(){const{value:L}=o;return L==null?void 0:L.itemsElRef},doScroll:v,handleFocusin:q,handleFocusout:F,handleKeyUp:x,handleKeyDown:w,handleMouseDown:T,handleVirtualListResize:y,handleVirtualListScroll:g,cssVars:$?void 0:O,themeClass:W==null?void 0:W.themeClass,onRender:W==null?void 0:W.onRender},Q)},render(){const{$slots:e,virtualScroll:t,clsPrefix:n,mergedTheme:o,themeClass:r,onRender:i}=this;return i==null||i(),b("div",{ref:"selfRef",tabindex:this.focusable?0:-1,class:[`${n}-base-select-menu`,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},this.loading?b("div",{class:`${n}-base-select-menu__loading`},b(Mi,{clsPrefix:n,strokeWidth:20})):this.empty?b("div",{class:`${n}-base-select-menu__empty`,"data-empty":!0,"data-action":!0},Pn(e.empty,()=>[b(o_,{theme:o.peers.Empty,themeOverrides:o.peerOverrides.Empty})])):b(_o,{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?b(YC,{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?b(x0,{key:a.key,clsPrefix:n,tmNode:a}):a.ignored?null:b(y0,{clsPrefix:n,key:a.key,tmNode:a})}):b("div",{class:`${n}-base-select-menu-option-wrapper`,style:{paddingTop:this.padding.top,paddingBottom:this.padding.bottom}},this.flattenedNodes.map(a=>a.isGroup?b(x0,{key:a.key,clsPrefix:n,tmNode:a}):b(y0,{clsPrefix:n,key:a.key,tmNode:a})))}),Ot(e.action,a=>a&&[b("div",{class:`${n}-base-select-menu__action`,"data-action":!0,key:"action"},a),b(PN,{onFocus:this.onTabOut,key:"focus-detector"})]))}}),wB=z("base-wave",` + `,[Da({enterScale:"0.5"})])])]),c_=pe({name:"InternalSelectMenu",props:Object.assign(Object.assign({},Fe.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 t=Fe("InternalSelectMenu","-internal-select-menu",wB,qp,e,Ne(e,"clsPrefix")),n=N(null),o=N(null),r=N(null),i=L(()=>e.treeMate.getFlattenedNodes()),a=L(()=>VN(i.value)),s=N(null);function l(){const{treeMate:F}=e;let M=null;const{value:se}=e;se===null?M=F.getFirstAvailableNode():(e.multiple?M=F.getNode((se||[])[(se||[]).length-1]):M=F.getNode(se),(!M||M.disabled)&&(M=F.getFirstAvailableNode())),A(M||null)}function c(){const{value:F}=s;F&&!e.treeMate.getNode(F.key)&&(s.value=null)}let u;ht(()=>e.show,F=>{F?u=ht(()=>e.treeMate,()=>{e.resetMenuOnOptionsChange?(e.autoPending?l():c(),jt(I)):c()},{immediate:!0}):u==null||u()},{immediate:!0}),tn(()=>{u==null||u()});const d=L(()=>wn(t.value.self[Pe("optionHeight",e.size)])),f=L(()=>si(t.value.self[Pe("padding",e.size)])),p=L(()=>e.multiple&&Array.isArray(e.value)?new Set(e.value):new Set),h=L(()=>{const F=i.value;return F&&F.length===0});function m(F){const{onToggle:M}=e;M&&M(F)}function v(F){const{onScroll:M}=e;M&&M(F)}function g(F){var M;(M=r.value)===null||M===void 0||M.sync(),v(F)}function y(){var F;(F=r.value)===null||F===void 0||F.sync()}function S(){const{value:F}=s;return F||null}function C(F,M){M.disabled||A(M,!1)}function _(F,M){M.disabled||m(M)}function x(F){var M;nr(F,"action")||(M=e.onKeyup)===null||M===void 0||M.call(e,F)}function w(F){var M;nr(F,"action")||(M=e.onKeydown)===null||M===void 0||M.call(e,F)}function T(F){var M;(M=e.onMousedown)===null||M===void 0||M.call(e,F),!e.focusable&&F.preventDefault()}function P(){const{value:F}=s;F&&A(F.getNext({loop:!0}),!0)}function k(){const{value:F}=s;F&&A(F.getPrev({loop:!0}),!0)}function A(F,M=!1){s.value=F,M&&I()}function I(){var F,M;const se=s.value;if(!se)return;const Q=a.value(se.key);Q!==null&&(e.virtualScroll?(F=o.value)===null||F===void 0||F.scrollTo({index:Q}):(M=r.value)===null||M===void 0||M.scrollTo({index:Q,elSize:d.value}))}function W(F){var M,se;!((M=n.value)===null||M===void 0)&&M.contains(F.target)&&((se=e.onFocus)===null||se===void 0||se.call(e,F))}function B(F){var M,se;!((M=n.value)===null||M===void 0)&&M.contains(F.relatedTarget)||(se=e.onBlur)===null||se===void 0||se.call(e,F)}lt(wp,{handleOptionMouseEnter:C,handleOptionClick:_,valueSetRef:p,pendingTmNodeRef:s,nodePropsRef:Ne(e,"nodeProps"),showCheckmarkRef:Ne(e,"showCheckmark"),multipleRef:Ne(e,"multiple"),valueRef:Ne(e,"value"),renderLabelRef:Ne(e,"renderLabel"),renderOptionRef:Ne(e,"renderOption"),labelFieldRef:Ne(e,"labelField"),valueFieldRef:Ne(e,"valueField")}),lt(FC,n),Vt(()=>{const{value:F}=r;F&&F.sync()});const z=L(()=>{const{size:F}=e,{common:{cubicBezierEaseInOut:M},self:{height:se,borderRadius:Q,color:ne,groupHeaderTextColor:fe,actionDividerColor:xe,optionTextColorPressed:Ce,optionTextColor:G,optionTextColorDisabled:ve,optionTextColorActive:ue,optionOpacityDisabled:re,optionCheckColor:ke,actionTextColor:U,optionColorPending:R,optionColorActive:E,loadingColor:q,loadingSize:ie,optionColorActivePending:Y,[Pe("optionFontSize",F)]:he,[Pe("optionHeight",F)]:ye,[Pe("optionPadding",F)]:ge}}=t.value;return{"--n-height":se,"--n-action-divider-color":xe,"--n-action-text-color":U,"--n-bezier":M,"--n-border-radius":Q,"--n-color":ne,"--n-option-font-size":he,"--n-group-header-text-color":fe,"--n-option-check-color":ke,"--n-option-color-pending":R,"--n-option-color-active":E,"--n-option-color-active-pending":Y,"--n-option-height":ye,"--n-option-opacity-disabled":re,"--n-option-text-color":G,"--n-option-text-color-active":ue,"--n-option-text-color-disabled":ve,"--n-option-text-color-pressed":Ce,"--n-option-padding":ge,"--n-option-padding-left":si(ge,"left"),"--n-option-padding-right":si(ge,"right"),"--n-loading-color":q,"--n-loading-size":ie}}),{inlineThemeDisabled:$}=e,j=$?Rt("internal-select-menu",L(()=>e.size[0]),z,e):void 0,X={selfRef:n,next:P,prev:k,getPendingTmNode:S};return tw(n,e.onResize),Object.assign({mergedTheme:t,virtualListRef:o,scrollbarRef:r,itemSize:d,padding:f,flattenedNodes:i,empty:h,virtualListContainer(){const{value:F}=o;return F==null?void 0:F.listElRef},virtualListContent(){const{value:F}=o;return F==null?void 0:F.itemsElRef},doScroll:v,handleFocusin:W,handleFocusout:B,handleKeyUp:x,handleKeyDown:w,handleMouseDown:T,handleVirtualListResize:y,handleVirtualListScroll:g,cssVars:$?void 0:z,themeClass:j==null?void 0:j.themeClass,onRender:j==null?void 0:j.onRender},X)},render(){const{$slots:e,virtualScroll:t,clsPrefix:n,mergedTheme:o,themeClass:r,onRender:i}=this;return i==null||i(),b("div",{ref:"selfRef",tabindex:this.focusable?0:-1,class:[`${n}-base-select-menu`,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},this.loading?b("div",{class:`${n}-base-select-menu__loading`},b(Mi,{clsPrefix:n,strokeWidth:20})):this.empty?b("div",{class:`${n}-base-select-menu__empty`,"data-empty":!0,"data-action":!0},Pn(e.empty,()=>[b(r_,{theme:o.peers.Empty,themeOverrides:o.peerOverrides.Empty})])):b(_o,{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?b(XC,{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?b(C0,{key:a.key,clsPrefix:n,tmNode:a}):a.ignored?null:b(x0,{clsPrefix:n,key:a.key,tmNode:a})}):b("div",{class:`${n}-base-select-menu-option-wrapper`,style:{paddingTop:this.padding.top,paddingBottom:this.padding.bottom}},this.flattenedNodes.map(a=>a.isGroup?b(C0,{key:a.key,clsPrefix:n,tmNode:a}):b(x0,{clsPrefix:n,key:a.key,tmNode:a})))}),Ot(e.action,a=>a&&[b("div",{class:`${n}-base-select-menu__action`,"data-action":!0,key:"action"},a),b(RN,{onFocus:this.onTabOut,key:"focus-detector"})]))}}),_B=O("base-wave",` position: absolute; left: 0; right: 0; top: 0; bottom: 0; border-radius: inherit; -`),_B=pe({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){Br("-base-wave",wB,Ne(e,"clsPrefix"));const t=B(null),n=B(!1);let o=null;return tn(()=>{o!==null&&window.clearTimeout(o)}),{active:n,selfRef:t,play(){o!==null&&(window.clearTimeout(o),n.value=!1,o=null),jt(()=>{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 b("div",{ref:"selfRef","aria-hidden":!0,class:[`${e}-base-wave`,this.active&&`${e}-base-wave--active`]})}}),SB={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"},c_=e=>{const{boxShadow2:t,popoverColor:n,textColor2:o,borderRadius:r,fontSize:i,dividerColor:a}=e;return Object.assign(Object.assign({},SB),{fontSize:i,borderRadius:r,color:n,dividerColor:a,textColor:o,boxShadow:t})},kB={name:"Popover",common:yt,self:c_},La=kB,TB={name:"Popover",common:Be,self:c_},Di=TB,Md={top:"bottom",bottom:"top",left:"right",right:"left"},pn="var(--n-arrow-height) * 1.414",PB=j([z("popover",` +`),SB=pe({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){Br("-base-wave",_B,Ne(e,"clsPrefix"));const t=N(null),n=N(!1);let o=null;return tn(()=>{o!==null&&window.clearTimeout(o)}),{active:n,selfRef:t,play(){o!==null&&(window.clearTimeout(o),n.value=!1,o=null),jt(()=>{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 b("div",{ref:"selfRef","aria-hidden":!0,class:[`${e}-base-wave`,this.active&&`${e}-base-wave--active`]})}}),kB={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"},u_=e=>{const{boxShadow2:t,popoverColor:n,textColor2:o,borderRadius:r,fontSize:i,dividerColor:a}=e;return Object.assign(Object.assign({},kB),{fontSize:i,borderRadius:r,color:n,dividerColor:a,textColor:o,boxShadow:t})},TB={name:"Popover",common:yt,self:u_},La=TB,PB={name:"Popover",common:Be,self:u_},Di=PB,Md={top:"bottom",bottom:"top",left:"right",right:"left"},pn="var(--n-arrow-height) * 1.414",RB=V([O("popover",` transition: box-shadow .3s var(--n-bezier), background-color .3s var(--n-bezier), @@ -442,7 +442,7 @@ ${t} color: var(--n-text-color); box-shadow: var(--n-box-shadow); word-break: break-word; - `,[j(">",[z("scrollbar",` + `,[V(">",[O("scrollbar",` height: inherit; max-height: inherit; `)]),Pt("raw",` @@ -458,13 +458,13 @@ ${t} transition: border-color .3s var(--n-bezier); `),K("scrollable, show-header-or-footer",[D("content",` padding: var(--n-padding); - `)])]),z("popover-shared",` + `)])]),O("popover-shared",` transform-origin: inherit; - `,[z("popover-arrow-wrapper",` + `,[O("popover-arrow-wrapper",` position: absolute; overflow: hidden; pointer-events: none; - `,[z("popover-arrow",` + `,[O("popover-arrow",` transition: background-color .3s var(--n-bezier); position: absolute; display: block; @@ -474,20 +474,20 @@ ${t} transform: rotate(45deg); background-color: var(--n-color); pointer-events: all; - `)]),j("&.popover-transition-enter-from, &.popover-transition-leave-to",` + `)]),V("&.popover-transition-enter-from, &.popover-transition-leave-to",` opacity: 0; transform: scale(.85); - `),j("&.popover-transition-enter-to, &.popover-transition-leave-from",` + `),V("&.popover-transition-enter-to, &.popover-transition-leave-from",` transform: scale(1); opacity: 1; - `),j("&.popover-transition-enter-active",` + `),V("&.popover-transition-enter-active",` transition: box-shadow .3s var(--n-bezier), background-color .3s var(--n-bezier), color .3s var(--n-bezier), opacity .15s var(--n-bezier-ease-out), transform .15s var(--n-bezier-ease-out); - `),j("&.popover-transition-leave-active",` + `),V("&.popover-transition-leave-active",` transition: box-shadow .3s var(--n-bezier), background-color .3s var(--n-bezier), @@ -534,13 +534,13 @@ ${t} `),Qn("right-end",` right: calc(${pn} / -2); bottom: calc(${Yo("right-end")} + var(--v-offset-top)); - `),...uL({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)`} - ${pn}) / 2)`,l=Yo(r);return j(`[v-placement="${r}"] >`,[z("popover-shared",[K("center-arrow",[z("popover-arrow",`${t}: calc(max(${s}, ${l}) ${i?"+":"-"} var(--v-offset-${n?"left":"top"}));`)])])])})})]);function Yo(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function Qn(e,t){const n=e.split("-")[0],o=["top","bottom"].includes(n)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return j(`[v-placement="${e}"] >`,[z("popover-shared",` + `),...dL({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)`} - ${pn}) / 2)`,l=Yo(r);return V(`[v-placement="${r}"] >`,[O("popover-shared",[K("center-arrow",[O("popover-arrow",`${t}: calc(max(${s}, ${l}) ${i?"+":"-"} var(--v-offset-${n?"left":"top"}));`)])])])})})]);function Yo(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function Qn(e,t){const n=e.split("-")[0],o=["top","bottom"].includes(n)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return V(`[v-placement="${e}"] >`,[O("popover-shared",` margin-${Md[n]}: var(--n-space); `,[K("show-arrow",` margin-${Md[n]}: var(--n-space-arrow); `),K("overlap",` margin: 0; - `),r6("popover-arrow-wrapper",` + `),i6("popover-arrow-wrapper",` right: 0; left: 0; top: 0; @@ -548,7 +548,7 @@ ${t} ${n}: 100%; ${Md[n]}: auto; ${o} - `,[z("popover-arrow",t)])])])}const u_=Object.assign(Object.assign({},Fe.props),{to:Bo.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentStyle:[Object,String],headerStyle:[Object,String],footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number}),d_=({arrowStyle:e,clsPrefix:t})=>b("div",{key:"__popover-arrow__",class:`${t}-popover-arrow-wrapper`},b("div",{class:`${t}-popover-arrow`,style:e})),RB=pe({name:"PopoverBody",inheritAttrs:!1,props:u_,setup(e,{slots:t,attrs:n}){const{namespaceRef:o,mergedClsPrefixRef:r,inlineThemeDisabled:i}=ct(e),a=Fe("Popover","-popover",PB,La,e,r),s=B(null),l=He("NPopover"),c=B(null),u=B(e.show),d=B(!1);un(()=>{const{show:w}=e;w&&!i6()&&!e.internalDeactivateImmediately&&(d.value=!0)});const f=N(()=>{const{trigger:w,onClickoutside:T}=e,P=[],{positionManuallyRef:{value:k}}=l;return k||(w==="click"&&!T&&P.push([ya,C,void 0,{capture:!0}]),w==="hover"&&P.push([k6,S])),T&&P.push([ya,C,void 0,{capture:!0}]),(e.displayDirective==="show"||e.animated&&d.value)&&P.push([ro,e.show]),P}),p=N(()=>{const w=e.width==="trigger"?void 0:Ut(e.width),T=[];w&&T.push({width:w});const{maxWidth:P,minWidth:k}=e;return P&&T.push({maxWidth:Ut(P)}),k&&T.push({maxWidth:Ut(k)}),i||T.push(h.value),T}),h=N(()=>{const{common:{cubicBezierEaseInOut:w,cubicBezierEaseIn:T,cubicBezierEaseOut:P},self:{space:k,spaceArrow:I,padding:A,fontSize:q,textColor:F,dividerColor:O,color:$,boxShadow:W,borderRadius:Q,arrowHeight:L,arrowOffset:M,arrowOffsetVertical:se}}=a.value;return{"--n-box-shadow":W,"--n-bezier":w,"--n-bezier-ease-in":T,"--n-bezier-ease-out":P,"--n-font-size":q,"--n-text-color":F,"--n-color":$,"--n-divider-color":O,"--n-border-radius":Q,"--n-arrow-height":L,"--n-arrow-offset":M,"--n-arrow-offset-vertical":se,"--n-padding":A,"--n-space":k,"--n-space-arrow":I}}),m=i?Rt("popover",void 0,h,e):void 0;l.setBodyInstance({syncPosition:v}),tn(()=>{l.setBodyInstance(null)}),ht(Ne(e,"show"),w=>{e.animated||(w?u.value=!0:u.value=!1)});function v(){var w;(w=s.value)===null||w===void 0||w.syncPosition()}function g(w){e.trigger==="hover"&&e.keepAliveOnHover&&e.show&&l.handleMouseEnter(w)}function y(w){e.trigger==="hover"&&e.keepAliveOnHover&&l.handleMouseLeave(w)}function S(w){e.trigger==="hover"&&!_().contains(pi(w))&&l.handleMouseMoveOutside(w)}function C(w){(e.trigger==="click"&&!_().contains(pi(w))||e.onClickoutside)&&l.handleClickOutside(w)}function _(){return l.getTriggerElement()}lt(Ma,c),lt(Js,null),lt(Zs,null);function x(){if(m==null||m.onRender(),!(e.displayDirective==="show"||e.show||e.animated&&d.value))return null;let T;const P=l.internalRenderBodyRef.value,{value:k}=r;if(P)T=P([`${k}-popover-shared`,m==null?void 0:m.themeClass.value,e.overlap&&`${k}-popover-shared--overlap`,e.showArrow&&`${k}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${k}-popover-shared--center-arrow`],c,p.value,g,y);else{const{value:I}=l.extraClassRef,{internalTrapFocus:A}=e,q=!oa(t.header)||!oa(t.footer),F=()=>{var O;const $=q?b(et,null,Ot(t.header,L=>L?b("div",{class:`${k}-popover__header`,style:e.headerStyle},L):null),Ot(t.default,L=>L?b("div",{class:`${k}-popover__content`,style:e.contentStyle},t):null),Ot(t.footer,L=>L?b("div",{class:`${k}-popover__footer`,style:e.footerStyle},L):null)):e.scrollable?(O=t.default)===null||O===void 0?void 0:O.call(t):b("div",{class:`${k}-popover__content`,style:e.contentStyle},t),W=e.scrollable?b(a_,{contentClass:q?void 0:`${k}-popover__content`,contentStyle:q?void 0:e.contentStyle},{default:()=>$}):$,Q=e.showArrow?d_({arrowStyle:e.arrowStyle,clsPrefix:k}):null;return[W,Q]};T=b("div",Mn({class:[`${k}-popover`,`${k}-popover-shared`,m==null?void 0:m.themeClass.value,I.map(O=>`${k}-${O}`),{[`${k}-popover--scrollable`]:e.scrollable,[`${k}-popover--show-header-or-footer`]:q,[`${k}-popover--raw`]:e.raw,[`${k}-popover-shared--overlap`]:e.overlap,[`${k}-popover-shared--show-arrow`]:e.showArrow,[`${k}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:c,style:p.value,onKeydown:l.handleKeydown,onMouseenter:g,onMouseleave:y},n),A?b(Ep,{active:e.show,autoFocus:!0},{default:F}):F())}return Cn(T,f.value)}return{displayed:d,namespace:o,isMounted:l.isMountedRef,zIndex:l.zIndexRef,followerRef:s,adjustedTo:Bo(e),followerEnabled:u,renderContentNode:x}},render(){return b(Pp,{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===Bo.tdkey},{default:()=>this.animated?b(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()})}}),EB=Object.keys(u_),$B={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};function AB(e,t,n){$B[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 Ca={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"},arrowStyle:[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:Bo.propTo,scrollable:Boolean,contentStyle:[Object,String],headerStyle:[Object,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},IB=Object.assign(Object.assign(Object.assign({},Fe.props),Ca),{internalOnAfterLeave:Function,internalRenderBody:Function}),rl=pe({name:"Popover",inheritAttrs:!1,props:IB,__popover__:!0,setup(e){const t=Nr(),n=B(null),o=N(()=>e.show),r=B(e.defaultShow),i=rn(o,r),a=wt(()=>e.disabled?!1:i.value),s=()=>{if(e.disabled)return!0;const{getDisabled:O}=e;return!!(O!=null&&O())},l=()=>s()?!1:i.value,c=Cp(e,["arrow","showArrow"]),u=N(()=>e.overlap?!1:c.value);let d=null;const f=B(null),p=B(null),h=wt(()=>e.x!==void 0&&e.y!==void 0);function m(O){const{"onUpdate:show":$,onUpdateShow:W,onShow:Q,onHide:L}=e;r.value=O,$&&Re($,O),W&&Re(W,O),O&&Q&&Re(Q,!0),O&&L&&Re(L,!1)}function v(){d&&d.syncPosition()}function g(){const{value:O}=f;O&&(window.clearTimeout(O),f.value=null)}function y(){const{value:O}=p;O&&(window.clearTimeout(O),p.value=null)}function S(){const O=s();if(e.trigger==="focus"&&!O){if(l())return;m(!0)}}function C(){const O=s();if(e.trigger==="focus"&&!O){if(!l())return;m(!1)}}function _(){const O=s();if(e.trigger==="hover"&&!O){if(y(),f.value!==null||l())return;const $=()=>{m(!0),f.value=null},{delay:W}=e;W===0?$():f.value=window.setTimeout($,W)}}function x(){const O=s();if(e.trigger==="hover"&&!O){if(g(),p.value!==null||!l())return;const $=()=>{m(!1),p.value=null},{duration:W}=e;W===0?$():p.value=window.setTimeout($,W)}}function w(){x()}function T(O){var $;l()&&(e.trigger==="click"&&(g(),y(),m(!1)),($=e.onClickoutside)===null||$===void 0||$.call(e,O))}function P(){if(e.trigger==="click"&&!s()){g(),y();const O=!l();m(O)}}function k(O){e.internalTrapFocus&&O.key==="Escape"&&(g(),y(),m(!1))}function I(O){r.value=O}function A(){var O;return(O=n.value)===null||O===void 0?void 0:O.targetRef}function q(O){d=O}return lt("NPopover",{getTriggerElement:A,handleKeydown:k,handleMouseEnter:_,handleMouseLeave:x,handleClickOutside:T,handleMouseMoveOutside:w,setBodyInstance:q,positionManuallyRef:h,isMountedRef:t,zIndexRef:Ne(e,"zIndex"),extraClassRef:Ne(e,"internalExtraClass"),internalRenderBodyRef:Ne(e,"internalRenderBody")}),un(()=>{i.value&&s()&&m(!1)}),{binderInstRef:n,positionManually:h,mergedShowConsideringDisabledProp:a,uncontrolledShow:r,mergedShowArrow:u,getMergedShow:l,setShow:I,handleClick:P,handleMouseEnter:_,handleMouseLeave:x,handleFocus:S,handleBlur:C,syncPosition:v}},render(){var e;const{positionManually:t,$slots:n}=this;let o,r=!1;if(!t&&(n.activator?o=Xf(n,"activator"):o=Xf(n,"trigger"),o)){o=oo(o),o=o.type===Ta?b("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)})}};AB(o,a?"nested":t?"manual":this.trigger,l)}}return b(Sp,{ref:"binderInstRef",syncTarget:!r,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const i=this.getMergedShow();return[this.internalTrapFocus&&i?Cn(b("div",{style:{position:"fixed",inset:0}}),[[hu,{enabled:i,zIndex:this.zIndex}]]):null,t?null:b(kp,null,{default:()=>o}),b(RB,Kn(this.$props,EB,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)}})]}})}}),f_={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px",closeMarginRtl:"0 4px 0 0"},MB={name:"Tag",common:Be,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:g,borderRadiusSmall:y,fontSizeMini:S,fontSizeTiny:C,fontSizeSmall:_,fontSizeMedium:x,heightMini:w,heightTiny:T,heightSmall:P,heightMedium:k,buttonColor2Hover:I,buttonColor2Pressed:A,fontWeightStrong:q}=e;return Object.assign(Object.assign({},f_),{closeBorderRadius:y,heightTiny:w,heightSmall:T,heightMedium:P,heightLarge:k,borderRadius:y,opacityDisabled:f,fontSizeTiny:S,fontSizeSmall:C,fontSizeMedium:_,fontSizeLarge:x,fontWeightStrong:q,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:I,colorPressedCheckable:A,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:g,borderPrimary:`1px solid ${Ae(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:Ae(r,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:cn(r,{lightness:.7}),closeIconColorHoverPrimary:cn(r,{lightness:.7}),closeIconColorPressedPrimary:cn(r,{lightness:.7}),closeColorHoverPrimary:Ae(r,{alpha:.16}),closeColorPressedPrimary:Ae(r,{alpha:.12}),borderInfo:`1px solid ${Ae(i,{alpha:.3})}`,textColorInfo:i,colorInfo:Ae(i,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:cn(i,{alpha:.7}),closeIconColorHoverInfo:cn(i,{alpha:.7}),closeIconColorPressedInfo:cn(i,{alpha:.7}),closeColorHoverInfo:Ae(i,{alpha:.16}),closeColorPressedInfo:Ae(i,{alpha:.12}),borderSuccess:`1px solid ${Ae(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:Ae(a,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:cn(a,{alpha:.7}),closeIconColorHoverSuccess:cn(a,{alpha:.7}),closeIconColorPressedSuccess:cn(a,{alpha:.7}),closeColorHoverSuccess:Ae(a,{alpha:.16}),closeColorPressedSuccess:Ae(a,{alpha:.12}),borderWarning:`1px solid ${Ae(s,{alpha:.3})}`,textColorWarning:s,colorWarning:Ae(s,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:cn(s,{alpha:.7}),closeIconColorHoverWarning:cn(s,{alpha:.7}),closeIconColorPressedWarning:cn(s,{alpha:.7}),closeColorHoverWarning:Ae(s,{alpha:.16}),closeColorPressedWarning:Ae(s,{alpha:.11}),borderError:`1px solid ${Ae(l,{alpha:.3})}`,textColorError:l,colorError:Ae(l,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:cn(l,{alpha:.7}),closeIconColorHoverError:cn(l,{alpha:.7}),closeIconColorPressedError:cn(l,{alpha:.7}),closeColorHoverError:Ae(l,{alpha:.16}),closeColorPressedError:Ae(l,{alpha:.12})})}},h_=MB,zB=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:g,fontSizeTiny:y,fontSizeSmall:S,fontSizeMedium:C,heightMini:_,heightTiny:x,heightSmall:w,heightMedium:T,closeColorHover:P,closeColorPressed:k,buttonColor2Hover:I,buttonColor2Pressed:A,fontWeightStrong:q}=e;return Object.assign(Object.assign({},f_),{closeBorderRadius:v,heightTiny:_,heightSmall:x,heightMedium:w,heightLarge:T,borderRadius:v,opacityDisabled:d,fontSizeTiny:g,fontSizeSmall:y,fontSizeMedium:S,fontSizeLarge:C,fontWeightStrong:q,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:I,colorPressedCheckable:A,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:k,borderPrimary:`1px solid ${Ae(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:Ae(r,{alpha:.12}),colorBorderedPrimary:Ae(r,{alpha:.1}),closeIconColorPrimary:r,closeIconColorHoverPrimary:r,closeIconColorPressedPrimary:r,closeColorHoverPrimary:Ae(r,{alpha:.12}),closeColorPressedPrimary:Ae(r,{alpha:.18}),borderInfo:`1px solid ${Ae(i,{alpha:.3})}`,textColorInfo:i,colorInfo:Ae(i,{alpha:.12}),colorBorderedInfo:Ae(i,{alpha:.1}),closeIconColorInfo:i,closeIconColorHoverInfo:i,closeIconColorPressedInfo:i,closeColorHoverInfo:Ae(i,{alpha:.12}),closeColorPressedInfo:Ae(i,{alpha:.18}),borderSuccess:`1px solid ${Ae(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:Ae(a,{alpha:.12}),colorBorderedSuccess:Ae(a,{alpha:.1}),closeIconColorSuccess:a,closeIconColorHoverSuccess:a,closeIconColorPressedSuccess:a,closeColorHoverSuccess:Ae(a,{alpha:.12}),closeColorPressedSuccess:Ae(a,{alpha:.18}),borderWarning:`1px solid ${Ae(s,{alpha:.35})}`,textColorWarning:s,colorWarning:Ae(s,{alpha:.15}),colorBorderedWarning:Ae(s,{alpha:.12}),closeIconColorWarning:s,closeIconColorHoverWarning:s,closeIconColorPressedWarning:s,closeColorHoverWarning:Ae(s,{alpha:.12}),closeColorPressedWarning:Ae(s,{alpha:.18}),borderError:`1px solid ${Ae(l,{alpha:.23})}`,textColorError:l,colorError:Ae(l,{alpha:.1}),colorBorderedError:Ae(l,{alpha:.08}),closeIconColorError:l,closeIconColorHoverError:l,closeIconColorPressedError:l,closeColorHoverError:Ae(l,{alpha:.12}),closeColorPressedError:Ae(l,{alpha:.18})})},OB={name:"Tag",common:yt,self:zB},DB=OB,LB={color:Object,type:{type:String,default:"default"},round:Boolean,size:{type:String,default:"medium"},closable:Boolean,disabled:{type:Boolean,default:void 0}},FB=z("tag",` + `,[O("popover-arrow",t)])])])}const d_=Object.assign(Object.assign({},Fe.props),{to:Bo.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentStyle:[Object,String],headerStyle:[Object,String],footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number}),f_=({arrowStyle:e,clsPrefix:t})=>b("div",{key:"__popover-arrow__",class:`${t}-popover-arrow-wrapper`},b("div",{class:`${t}-popover-arrow`,style:e})),EB=pe({name:"PopoverBody",inheritAttrs:!1,props:d_,setup(e,{slots:t,attrs:n}){const{namespaceRef:o,mergedClsPrefixRef:r,inlineThemeDisabled:i}=ct(e),a=Fe("Popover","-popover",RB,La,e,r),s=N(null),l=He("NPopover"),c=N(null),u=N(e.show),d=N(!1);un(()=>{const{show:w}=e;w&&!a6()&&!e.internalDeactivateImmediately&&(d.value=!0)});const f=L(()=>{const{trigger:w,onClickoutside:T}=e,P=[],{positionManuallyRef:{value:k}}=l;return k||(w==="click"&&!T&&P.push([ya,C,void 0,{capture:!0}]),w==="hover"&&P.push([T6,S])),T&&P.push([ya,C,void 0,{capture:!0}]),(e.displayDirective==="show"||e.animated&&d.value)&&P.push([ro,e.show]),P}),p=L(()=>{const w=e.width==="trigger"?void 0:Ut(e.width),T=[];w&&T.push({width:w});const{maxWidth:P,minWidth:k}=e;return P&&T.push({maxWidth:Ut(P)}),k&&T.push({maxWidth:Ut(k)}),i||T.push(h.value),T}),h=L(()=>{const{common:{cubicBezierEaseInOut:w,cubicBezierEaseIn:T,cubicBezierEaseOut:P},self:{space:k,spaceArrow:A,padding:I,fontSize:W,textColor:B,dividerColor:z,color:$,boxShadow:j,borderRadius:X,arrowHeight:F,arrowOffset:M,arrowOffsetVertical:se}}=a.value;return{"--n-box-shadow":j,"--n-bezier":w,"--n-bezier-ease-in":T,"--n-bezier-ease-out":P,"--n-font-size":W,"--n-text-color":B,"--n-color":$,"--n-divider-color":z,"--n-border-radius":X,"--n-arrow-height":F,"--n-arrow-offset":M,"--n-arrow-offset-vertical":se,"--n-padding":I,"--n-space":k,"--n-space-arrow":A}}),m=i?Rt("popover",void 0,h,e):void 0;l.setBodyInstance({syncPosition:v}),tn(()=>{l.setBodyInstance(null)}),ht(Ne(e,"show"),w=>{e.animated||(w?u.value=!0:u.value=!1)});function v(){var w;(w=s.value)===null||w===void 0||w.syncPosition()}function g(w){e.trigger==="hover"&&e.keepAliveOnHover&&e.show&&l.handleMouseEnter(w)}function y(w){e.trigger==="hover"&&e.keepAliveOnHover&&l.handleMouseLeave(w)}function S(w){e.trigger==="hover"&&!_().contains(pi(w))&&l.handleMouseMoveOutside(w)}function C(w){(e.trigger==="click"&&!_().contains(pi(w))||e.onClickoutside)&&l.handleClickOutside(w)}function _(){return l.getTriggerElement()}lt(Ma,c),lt(Js,null),lt(Zs,null);function x(){if(m==null||m.onRender(),!(e.displayDirective==="show"||e.show||e.animated&&d.value))return null;let T;const P=l.internalRenderBodyRef.value,{value:k}=r;if(P)T=P([`${k}-popover-shared`,m==null?void 0:m.themeClass.value,e.overlap&&`${k}-popover-shared--overlap`,e.showArrow&&`${k}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${k}-popover-shared--center-arrow`],c,p.value,g,y);else{const{value:A}=l.extraClassRef,{internalTrapFocus:I}=e,W=!oa(t.header)||!oa(t.footer),B=()=>{var z;const $=W?b(et,null,Ot(t.header,F=>F?b("div",{class:`${k}-popover__header`,style:e.headerStyle},F):null),Ot(t.default,F=>F?b("div",{class:`${k}-popover__content`,style:e.contentStyle},t):null),Ot(t.footer,F=>F?b("div",{class:`${k}-popover__footer`,style:e.footerStyle},F):null)):e.scrollable?(z=t.default)===null||z===void 0?void 0:z.call(t):b("div",{class:`${k}-popover__content`,style:e.contentStyle},t),j=e.scrollable?b(s_,{contentClass:W?void 0:`${k}-popover__content`,contentStyle:W?void 0:e.contentStyle},{default:()=>$}):$,X=e.showArrow?f_({arrowStyle:e.arrowStyle,clsPrefix:k}):null;return[j,X]};T=b("div",Mn({class:[`${k}-popover`,`${k}-popover-shared`,m==null?void 0:m.themeClass.value,A.map(z=>`${k}-${z}`),{[`${k}-popover--scrollable`]:e.scrollable,[`${k}-popover--show-header-or-footer`]:W,[`${k}-popover--raw`]:e.raw,[`${k}-popover-shared--overlap`]:e.overlap,[`${k}-popover-shared--show-arrow`]:e.showArrow,[`${k}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:c,style:p.value,onKeydown:l.handleKeydown,onMouseenter:g,onMouseleave:y},n),I?b(Ep,{active:e.show,autoFocus:!0},{default:B}):B())}return Cn(T,f.value)}return{displayed:d,namespace:o,isMounted:l.isMountedRef,zIndex:l.zIndexRef,followerRef:s,adjustedTo:Bo(e),followerEnabled:u,renderContentNode:x}},render(){return b(Pp,{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===Bo.tdkey},{default:()=>this.animated?b(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()})}}),$B=Object.keys(d_),AB={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};function IB(e,t,n){AB[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 Ca={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"},arrowStyle:[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:Bo.propTo,scrollable:Boolean,contentStyle:[Object,String],headerStyle:[Object,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},MB=Object.assign(Object.assign(Object.assign({},Fe.props),Ca),{internalOnAfterLeave:Function,internalRenderBody:Function}),rl=pe({name:"Popover",inheritAttrs:!1,props:MB,__popover__:!0,setup(e){const t=Nr(),n=N(null),o=L(()=>e.show),r=N(e.defaultShow),i=rn(o,r),a=wt(()=>e.disabled?!1:i.value),s=()=>{if(e.disabled)return!0;const{getDisabled:z}=e;return!!(z!=null&&z())},l=()=>s()?!1:i.value,c=Cp(e,["arrow","showArrow"]),u=L(()=>e.overlap?!1:c.value);let d=null;const f=N(null),p=N(null),h=wt(()=>e.x!==void 0&&e.y!==void 0);function m(z){const{"onUpdate:show":$,onUpdateShow:j,onShow:X,onHide:F}=e;r.value=z,$&&Re($,z),j&&Re(j,z),z&&X&&Re(X,!0),z&&F&&Re(F,!1)}function v(){d&&d.syncPosition()}function g(){const{value:z}=f;z&&(window.clearTimeout(z),f.value=null)}function y(){const{value:z}=p;z&&(window.clearTimeout(z),p.value=null)}function S(){const z=s();if(e.trigger==="focus"&&!z){if(l())return;m(!0)}}function C(){const z=s();if(e.trigger==="focus"&&!z){if(!l())return;m(!1)}}function _(){const z=s();if(e.trigger==="hover"&&!z){if(y(),f.value!==null||l())return;const $=()=>{m(!0),f.value=null},{delay:j}=e;j===0?$():f.value=window.setTimeout($,j)}}function x(){const z=s();if(e.trigger==="hover"&&!z){if(g(),p.value!==null||!l())return;const $=()=>{m(!1),p.value=null},{duration:j}=e;j===0?$():p.value=window.setTimeout($,j)}}function w(){x()}function T(z){var $;l()&&(e.trigger==="click"&&(g(),y(),m(!1)),($=e.onClickoutside)===null||$===void 0||$.call(e,z))}function P(){if(e.trigger==="click"&&!s()){g(),y();const z=!l();m(z)}}function k(z){e.internalTrapFocus&&z.key==="Escape"&&(g(),y(),m(!1))}function A(z){r.value=z}function I(){var z;return(z=n.value)===null||z===void 0?void 0:z.targetRef}function W(z){d=z}return lt("NPopover",{getTriggerElement:I,handleKeydown:k,handleMouseEnter:_,handleMouseLeave:x,handleClickOutside:T,handleMouseMoveOutside:w,setBodyInstance:W,positionManuallyRef:h,isMountedRef:t,zIndexRef:Ne(e,"zIndex"),extraClassRef:Ne(e,"internalExtraClass"),internalRenderBodyRef:Ne(e,"internalRenderBody")}),un(()=>{i.value&&s()&&m(!1)}),{binderInstRef:n,positionManually:h,mergedShowConsideringDisabledProp:a,uncontrolledShow:r,mergedShowArrow:u,getMergedShow:l,setShow:A,handleClick:P,handleMouseEnter:_,handleMouseLeave:x,handleFocus:S,handleBlur:C,syncPosition:v}},render(){var e;const{positionManually:t,$slots:n}=this;let o,r=!1;if(!t&&(n.activator?o=Xf(n,"activator"):o=Xf(n,"trigger"),o)){o=oo(o),o=o.type===Ta?b("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)})}};IB(o,a?"nested":t?"manual":this.trigger,l)}}return b(Sp,{ref:"binderInstRef",syncTarget:!r,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const i=this.getMergedShow();return[this.internalTrapFocus&&i?Cn(b("div",{style:{position:"fixed",inset:0}}),[[hu,{enabled:i,zIndex:this.zIndex}]]):null,t?null:b(kp,null,{default:()=>o}),b(EB,Kn(this.$props,$B,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)}})]}})}}),h_={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px",closeMarginRtl:"0 4px 0 0"},zB={name:"Tag",common:Be,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:g,borderRadiusSmall:y,fontSizeMini:S,fontSizeTiny:C,fontSizeSmall:_,fontSizeMedium:x,heightMini:w,heightTiny:T,heightSmall:P,heightMedium:k,buttonColor2Hover:A,buttonColor2Pressed:I,fontWeightStrong:W}=e;return Object.assign(Object.assign({},h_),{closeBorderRadius:y,heightTiny:w,heightSmall:T,heightMedium:P,heightLarge:k,borderRadius:y,opacityDisabled:f,fontSizeTiny:S,fontSizeSmall:C,fontSizeMedium:_,fontSizeLarge:x,fontWeightStrong:W,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:A,colorPressedCheckable:I,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:g,borderPrimary:`1px solid ${Ae(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:Ae(r,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:cn(r,{lightness:.7}),closeIconColorHoverPrimary:cn(r,{lightness:.7}),closeIconColorPressedPrimary:cn(r,{lightness:.7}),closeColorHoverPrimary:Ae(r,{alpha:.16}),closeColorPressedPrimary:Ae(r,{alpha:.12}),borderInfo:`1px solid ${Ae(i,{alpha:.3})}`,textColorInfo:i,colorInfo:Ae(i,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:cn(i,{alpha:.7}),closeIconColorHoverInfo:cn(i,{alpha:.7}),closeIconColorPressedInfo:cn(i,{alpha:.7}),closeColorHoverInfo:Ae(i,{alpha:.16}),closeColorPressedInfo:Ae(i,{alpha:.12}),borderSuccess:`1px solid ${Ae(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:Ae(a,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:cn(a,{alpha:.7}),closeIconColorHoverSuccess:cn(a,{alpha:.7}),closeIconColorPressedSuccess:cn(a,{alpha:.7}),closeColorHoverSuccess:Ae(a,{alpha:.16}),closeColorPressedSuccess:Ae(a,{alpha:.12}),borderWarning:`1px solid ${Ae(s,{alpha:.3})}`,textColorWarning:s,colorWarning:Ae(s,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:cn(s,{alpha:.7}),closeIconColorHoverWarning:cn(s,{alpha:.7}),closeIconColorPressedWarning:cn(s,{alpha:.7}),closeColorHoverWarning:Ae(s,{alpha:.16}),closeColorPressedWarning:Ae(s,{alpha:.11}),borderError:`1px solid ${Ae(l,{alpha:.3})}`,textColorError:l,colorError:Ae(l,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:cn(l,{alpha:.7}),closeIconColorHoverError:cn(l,{alpha:.7}),closeIconColorPressedError:cn(l,{alpha:.7}),closeColorHoverError:Ae(l,{alpha:.16}),closeColorPressedError:Ae(l,{alpha:.12})})}},p_=zB,OB=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:g,fontSizeTiny:y,fontSizeSmall:S,fontSizeMedium:C,heightMini:_,heightTiny:x,heightSmall:w,heightMedium:T,closeColorHover:P,closeColorPressed:k,buttonColor2Hover:A,buttonColor2Pressed:I,fontWeightStrong:W}=e;return Object.assign(Object.assign({},h_),{closeBorderRadius:v,heightTiny:_,heightSmall:x,heightMedium:w,heightLarge:T,borderRadius:v,opacityDisabled:d,fontSizeTiny:g,fontSizeSmall:y,fontSizeMedium:S,fontSizeLarge:C,fontWeightStrong:W,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:A,colorPressedCheckable:I,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:k,borderPrimary:`1px solid ${Ae(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:Ae(r,{alpha:.12}),colorBorderedPrimary:Ae(r,{alpha:.1}),closeIconColorPrimary:r,closeIconColorHoverPrimary:r,closeIconColorPressedPrimary:r,closeColorHoverPrimary:Ae(r,{alpha:.12}),closeColorPressedPrimary:Ae(r,{alpha:.18}),borderInfo:`1px solid ${Ae(i,{alpha:.3})}`,textColorInfo:i,colorInfo:Ae(i,{alpha:.12}),colorBorderedInfo:Ae(i,{alpha:.1}),closeIconColorInfo:i,closeIconColorHoverInfo:i,closeIconColorPressedInfo:i,closeColorHoverInfo:Ae(i,{alpha:.12}),closeColorPressedInfo:Ae(i,{alpha:.18}),borderSuccess:`1px solid ${Ae(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:Ae(a,{alpha:.12}),colorBorderedSuccess:Ae(a,{alpha:.1}),closeIconColorSuccess:a,closeIconColorHoverSuccess:a,closeIconColorPressedSuccess:a,closeColorHoverSuccess:Ae(a,{alpha:.12}),closeColorPressedSuccess:Ae(a,{alpha:.18}),borderWarning:`1px solid ${Ae(s,{alpha:.35})}`,textColorWarning:s,colorWarning:Ae(s,{alpha:.15}),colorBorderedWarning:Ae(s,{alpha:.12}),closeIconColorWarning:s,closeIconColorHoverWarning:s,closeIconColorPressedWarning:s,closeColorHoverWarning:Ae(s,{alpha:.12}),closeColorPressedWarning:Ae(s,{alpha:.18}),borderError:`1px solid ${Ae(l,{alpha:.23})}`,textColorError:l,colorError:Ae(l,{alpha:.1}),colorBorderedError:Ae(l,{alpha:.08}),closeIconColorError:l,closeIconColorHoverError:l,closeIconColorPressedError:l,closeColorHoverError:Ae(l,{alpha:.12}),closeColorPressedError:Ae(l,{alpha:.18})})},DB={name:"Tag",common:yt,self:OB},LB=DB,FB={color:Object,type:{type:String,default:"default"},round:Boolean,size:{type:String,default:"medium"},closable:Boolean,disabled:{type:Boolean,default:void 0}},NB=O("tag",` white-space: nowrap; position: relative; box-sizing: border-box; @@ -614,15 +614,15 @@ ${t} box-shadow: none; color: var(--n-text-color-checkable); background-color: var(--n-color-checkable); - `,[Pt("disabled",[j("&:hover","background-color: var(--n-color-hover-checkable);",[Pt("checked","color: var(--n-text-color-hover-checkable);")]),j("&:active","background-color: var(--n-color-pressed-checkable);",[Pt("checked","color: var(--n-text-color-pressed-checkable);")])]),K("checked",` + `,[Pt("disabled",[V("&:hover","background-color: var(--n-color-hover-checkable);",[Pt("checked","color: var(--n-text-color-hover-checkable);")]),V("&:active","background-color: var(--n-color-pressed-checkable);",[Pt("checked","color: var(--n-text-color-pressed-checkable);")])]),K("checked",` color: var(--n-text-color-checked); background-color: var(--n-color-checked); - `,[Pt("disabled",[j("&:hover","background-color: var(--n-color-checked-hover);"),j("&:active","background-color: var(--n-color-checked-pressed);")])])])]),NB=Object.assign(Object.assign(Object.assign({},Fe.props),LB),{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}),BB="n-tag",ui=pe({name:"Tag",props:NB,setup(e){const t=B(null),{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:i}=ct(e),a=Fe("Tag","-tag",FB,DB,e,o);lt(BB,{roundRef:Ne(e,"round")});function s(p){if(!e.disabled&&e.checkable){const{checked:h,onCheckedChange:m,onUpdateChecked:v,"onUpdate:checked":g}=e;v&&v(!h),g&&g(!h),m&&m(!h)}}function l(p){if(e.triggerClickOnClose||p.stopPropagation(),!e.disabled){const{onClose:h}=e;h&&Re(h,p)}}const c={setTextContent(p){const{value:h}=t;h&&(h.textContent=p)}},u=Rn("Tag",i,o),d=N(()=>{const{type:p,size:h,color:{color:m,textColor:v}={}}=e,{common:{cubicBezierEaseInOut:g},self:{padding:y,closeMargin:S,closeMarginRtl:C,borderRadius:_,opacityDisabled:x,textColorCheckable:w,textColorHoverCheckable:T,textColorPressedCheckable:P,textColorChecked:k,colorCheckable:I,colorHoverCheckable:A,colorPressedCheckable:q,colorChecked:F,colorCheckedHover:O,colorCheckedPressed:$,closeBorderRadius:W,fontWeightStrong:Q,[Pe("colorBordered",p)]:L,[Pe("closeSize",h)]:M,[Pe("closeIconSize",h)]:se,[Pe("fontSize",h)]:X,[Pe("height",h)]:ne,[Pe("color",p)]:fe,[Pe("textColor",p)]:xe,[Pe("border",p)]:Ce,[Pe("closeIconColor",p)]:G,[Pe("closeIconColorHover",p)]:ve,[Pe("closeIconColorPressed",p)]:ue,[Pe("closeColorHover",p)]:re,[Pe("closeColorPressed",p)]:ke}}=a.value;return{"--n-font-weight-strong":Q,"--n-avatar-size-override":`calc(${ne} - 8px)`,"--n-bezier":g,"--n-border-radius":_,"--n-border":Ce,"--n-close-icon-size":se,"--n-close-color-pressed":ke,"--n-close-color-hover":re,"--n-close-border-radius":W,"--n-close-icon-color":G,"--n-close-icon-color-hover":ve,"--n-close-icon-color-pressed":ue,"--n-close-icon-color-disabled":G,"--n-close-margin":S,"--n-close-margin-rtl":C,"--n-close-size":M,"--n-color":m||(n.value?L:fe),"--n-color-checkable":I,"--n-color-checked":F,"--n-color-checked-hover":O,"--n-color-checked-pressed":$,"--n-color-hover-checkable":A,"--n-color-pressed-checkable":q,"--n-font-size":X,"--n-height":ne,"--n-opacity-disabled":x,"--n-padding":y,"--n-text-color":v||xe,"--n-text-color-checkable":w,"--n-text-color-checked":k,"--n-text-color-hover-checkable":T,"--n-text-color-pressed-checkable":P}}),f=r?Rt("tag",N(()=>{let p="";const{type:h,size:m,color:{color:v,textColor:g}={}}=e;return p+=h[0],p+=m[0],v&&(p+=`a${yc(v)}`),g&&(p+=`b${yc(g)}`),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=Ot(l.avatar,d=>d&&b("div",{class:`${n}-tag__avatar`},d)),u=Ot(l.icon,d=>d&&b("div",{class:`${n}-tag__icon`},d));return b("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,b("span",{class:`${n}-tag__content`,ref:"contentRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)),!this.checkable&&r?b(Ii,{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?b("div",{class:`${n}-tag__border`,style:{borderColor:i}}):null)}}),HB=z("base-clear",` + `,[Pt("disabled",[V("&:hover","background-color: var(--n-color-checked-hover);"),V("&:active","background-color: var(--n-color-checked-pressed);")])])])]),BB=Object.assign(Object.assign(Object.assign({},Fe.props),FB),{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}),HB="n-tag",ui=pe({name:"Tag",props:BB,setup(e){const t=N(null),{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:i}=ct(e),a=Fe("Tag","-tag",NB,LB,e,o);lt(HB,{roundRef:Ne(e,"round")});function s(p){if(!e.disabled&&e.checkable){const{checked:h,onCheckedChange:m,onUpdateChecked:v,"onUpdate:checked":g}=e;v&&v(!h),g&&g(!h),m&&m(!h)}}function l(p){if(e.triggerClickOnClose||p.stopPropagation(),!e.disabled){const{onClose:h}=e;h&&Re(h,p)}}const c={setTextContent(p){const{value:h}=t;h&&(h.textContent=p)}},u=Rn("Tag",i,o),d=L(()=>{const{type:p,size:h,color:{color:m,textColor:v}={}}=e,{common:{cubicBezierEaseInOut:g},self:{padding:y,closeMargin:S,closeMarginRtl:C,borderRadius:_,opacityDisabled:x,textColorCheckable:w,textColorHoverCheckable:T,textColorPressedCheckable:P,textColorChecked:k,colorCheckable:A,colorHoverCheckable:I,colorPressedCheckable:W,colorChecked:B,colorCheckedHover:z,colorCheckedPressed:$,closeBorderRadius:j,fontWeightStrong:X,[Pe("colorBordered",p)]:F,[Pe("closeSize",h)]:M,[Pe("closeIconSize",h)]:se,[Pe("fontSize",h)]:Q,[Pe("height",h)]:ne,[Pe("color",p)]:fe,[Pe("textColor",p)]:xe,[Pe("border",p)]:Ce,[Pe("closeIconColor",p)]:G,[Pe("closeIconColorHover",p)]:ve,[Pe("closeIconColorPressed",p)]:ue,[Pe("closeColorHover",p)]:re,[Pe("closeColorPressed",p)]:ke}}=a.value;return{"--n-font-weight-strong":X,"--n-avatar-size-override":`calc(${ne} - 8px)`,"--n-bezier":g,"--n-border-radius":_,"--n-border":Ce,"--n-close-icon-size":se,"--n-close-color-pressed":ke,"--n-close-color-hover":re,"--n-close-border-radius":j,"--n-close-icon-color":G,"--n-close-icon-color-hover":ve,"--n-close-icon-color-pressed":ue,"--n-close-icon-color-disabled":G,"--n-close-margin":S,"--n-close-margin-rtl":C,"--n-close-size":M,"--n-color":m||(n.value?F:fe),"--n-color-checkable":A,"--n-color-checked":B,"--n-color-checked-hover":z,"--n-color-checked-pressed":$,"--n-color-hover-checkable":I,"--n-color-pressed-checkable":W,"--n-font-size":Q,"--n-height":ne,"--n-opacity-disabled":x,"--n-padding":y,"--n-text-color":v||xe,"--n-text-color-checkable":w,"--n-text-color-checked":k,"--n-text-color-hover-checkable":T,"--n-text-color-pressed-checkable":P}}),f=r?Rt("tag",L(()=>{let p="";const{type:h,size:m,color:{color:v,textColor:g}={}}=e;return p+=h[0],p+=m[0],v&&(p+=`a${yc(v)}`),g&&(p+=`b${yc(g)}`),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=Ot(l.avatar,d=>d&&b("div",{class:`${n}-tag__avatar`},d)),u=Ot(l.icon,d=>d&&b("div",{class:`${n}-tag__icon`},d));return b("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,b("span",{class:`${n}-tag__content`,ref:"contentRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)),!this.checkable&&r?b(Ii,{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?b("div",{class:`${n}-tag__border`,style:{borderColor:i}}):null)}}),jB=O("base-clear",` flex-shrink: 0; height: 1em; width: 1em; position: relative; -`,[j(">",[D("clear",` +`,[V(">",[D("clear",` font-size: var(--n-clear-size); height: 1em; width: 1em; @@ -630,9 +630,9 @@ ${t} color: var(--n-clear-color); transition: color .3s var(--n-bezier); display: flex; - `,[j("&:hover",` + `,[V("&:hover",` color: var(--n-clear-color-hover)!important; - `),j("&:active",` + `),V("&:active",` color: var(--n-clear-color-pressed)!important; `)]),D("placeholder",` display: flex; @@ -641,7 +641,7 @@ ${t} left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); - `,[Un({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),mh=pe({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup(e){return Br("-base-clear",HB,Ne(e,"clsPrefix")),{handleMouseDown(t){var n;t.preventDefault(),(n=e.onClear)===null||n===void 0||n.call(e,t)}}},render(){const{clsPrefix:e}=this;return b("div",{class:`${e}-base-clear`},b(Ai,null,{default:()=>{var t,n;return this.show?b("div",{key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},Pn(this.$slots.icon,()=>[b(Bt,{clsPrefix:e},{default:()=>b(_N,null)})])):b("div",{key:"icon",class:`${e}-base-clear__placeholder`},(n=(t=this.$slots).placeholder)===null||n===void 0?void 0:n.call(t))}}))}}),p_=pe({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 b(Mi,{clsPrefix:n,class:`${n}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?b(mh,{clsPrefix:n,show:e.showClear,onClear:e.onClear},{placeholder:()=>b(Bt,{clsPrefix:n,class:`${n}-base-suffix__arrow`},{default:()=>Pn(t.default,()=>[b(Qw,null)])})}):null})}}}),m_={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"},jB=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:g,placeholderColor:y,placeholderColorDisabled:S,fontSizeTiny:C,fontSizeSmall:_,fontSizeMedium:x,fontSizeLarge:w,heightTiny:T,heightSmall:P,heightMedium:k,heightLarge:I}=e;return Object.assign(Object.assign({},m_),{fontSizeTiny:C,fontSizeSmall:_,fontSizeMedium:x,fontSizeLarge:w,heightTiny:T,heightSmall:P,heightMedium:k,heightLarge:I,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:y,placeholderColorDisabled:S,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 ${Ae(a,{alpha:.2})}`,boxShadowFocus:`0 0 0 2px ${Ae(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 ${Ae(l,{alpha:.2})}`,boxShadowFocusWarning:`0 0 0 2px ${Ae(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 ${Ae(u,{alpha:.2})}`,boxShadowFocusError:`0 0 0 2px ${Ae(u,{alpha:.2})}`,colorActiveError:r,caretColorError:u,clearColor:m,clearColorHover:v,clearColorPressed:g})},VB={name:"InternalSelection",common:yt,peers:{Popover:La},self:jB},g_=VB,UB={name:"InternalSelection",common:Be,peers:{Popover:Di},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:g,placeholderColorDisabled:y,fontSizeTiny:S,fontSizeSmall:C,fontSizeMedium:_,fontSizeLarge:x,heightTiny:w,heightSmall:T,heightMedium:P,heightLarge:k}=e;return Object.assign(Object.assign({},m_),{fontSizeTiny:S,fontSizeSmall:C,fontSizeMedium:_,fontSizeLarge:x,heightTiny:w,heightSmall:T,heightMedium:P,heightLarge:k,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:g,placeholderColorDisabled:y,color:r,colorDisabled:i,colorActive:Ae(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 ${Ae(a,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${Ae(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 ${Ae(l,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${Ae(l,{alpha:.4})}`,colorActiveWarning:Ae(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 ${Ae(u,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${Ae(u,{alpha:.4})}`,colorActiveError:Ae(u,{alpha:.1}),caretColorError:u,clearColor:h,clearColorHover:m,clearColorPressed:v})}},Kp=UB,WB=j([z("base-selection",` + `,[Un({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),mh=pe({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup(e){return Br("-base-clear",jB,Ne(e,"clsPrefix")),{handleMouseDown(t){var n;t.preventDefault(),(n=e.onClear)===null||n===void 0||n.call(e,t)}}},render(){const{clsPrefix:e}=this;return b("div",{class:`${e}-base-clear`},b(Ai,null,{default:()=>{var t,n;return this.show?b("div",{key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},Pn(this.$slots.icon,()=>[b(Bt,{clsPrefix:e},{default:()=>b(SN,null)})])):b("div",{key:"icon",class:`${e}-base-clear__placeholder`},(n=(t=this.$slots).placeholder)===null||n===void 0?void 0:n.call(t))}}))}}),m_=pe({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 b(Mi,{clsPrefix:n,class:`${n}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?b(mh,{clsPrefix:n,show:e.showClear,onClear:e.onClear},{placeholder:()=>b(Bt,{clsPrefix:n,class:`${n}-base-suffix__arrow`},{default:()=>Pn(t.default,()=>[b(Zw,null)])})}):null})}}}),g_={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"},VB=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:g,placeholderColor:y,placeholderColorDisabled:S,fontSizeTiny:C,fontSizeSmall:_,fontSizeMedium:x,fontSizeLarge:w,heightTiny:T,heightSmall:P,heightMedium:k,heightLarge:A}=e;return Object.assign(Object.assign({},g_),{fontSizeTiny:C,fontSizeSmall:_,fontSizeMedium:x,fontSizeLarge:w,heightTiny:T,heightSmall:P,heightMedium:k,heightLarge:A,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:y,placeholderColorDisabled:S,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 ${Ae(a,{alpha:.2})}`,boxShadowFocus:`0 0 0 2px ${Ae(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 ${Ae(l,{alpha:.2})}`,boxShadowFocusWarning:`0 0 0 2px ${Ae(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 ${Ae(u,{alpha:.2})}`,boxShadowFocusError:`0 0 0 2px ${Ae(u,{alpha:.2})}`,colorActiveError:r,caretColorError:u,clearColor:m,clearColorHover:v,clearColorPressed:g})},UB={name:"InternalSelection",common:yt,peers:{Popover:La},self:VB},v_=UB,WB={name:"InternalSelection",common:Be,peers:{Popover:Di},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:g,placeholderColorDisabled:y,fontSizeTiny:S,fontSizeSmall:C,fontSizeMedium:_,fontSizeLarge:x,heightTiny:w,heightSmall:T,heightMedium:P,heightLarge:k}=e;return Object.assign(Object.assign({},g_),{fontSizeTiny:S,fontSizeSmall:C,fontSizeMedium:_,fontSizeLarge:x,heightTiny:w,heightSmall:T,heightMedium:P,heightLarge:k,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:g,placeholderColorDisabled:y,color:r,colorDisabled:i,colorActive:Ae(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 ${Ae(a,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${Ae(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 ${Ae(l,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${Ae(l,{alpha:.4})}`,colorActiveWarning:Ae(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 ${Ae(u,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${Ae(u,{alpha:.4})}`,colorActiveError:Ae(u,{alpha:.1}),caretColorError:u,clearColor:h,clearColorHover:m,clearColorPressed:v})}},Kp=WB,qB=V([O("base-selection",` position: relative; z-index: auto; box-shadow: none; @@ -653,9 +653,9 @@ ${t} min-height: var(--n-height); line-height: 1.5; font-size: var(--n-font-size); - `,[z("base-loading",` + `,[O("base-loading",` color: var(--n-loading-color); - `),z("base-selection-tags","min-height: var(--n-height);"),D("border, state-border",` + `),O("base-selection-tags","min-height: var(--n-height);"),D("border, state-border",` position: absolute; left: 0; right: 0; @@ -670,7 +670,7 @@ ${t} `),D("state-border",` z-index: 1; border-color: #0000; - `),z("base-suffix",` + `),O("base-suffix",` cursor: pointer; position: absolute; top: 50%; @@ -680,7 +680,7 @@ ${t} font-size: var(--n-arrow-size); color: var(--n-arrow-color); transition: color .3s var(--n-bezier); - `)]),z("base-selection-overlay",` + `)]),O("base-selection-overlay",` display: flex; align-items: center; white-space: nowrap; @@ -697,12 +697,12 @@ ${t} flex-grow: 1; overflow: hidden; text-overflow: ellipsis; - `)]),z("base-selection-placeholder",` + `)]),O("base-selection-placeholder",` color: var(--n-placeholder-color); `,[D("inner",` max-width: 100%; overflow: hidden; - `)]),z("base-selection-tags",` + `)]),O("base-selection-tags",` cursor: pointer; outline: none; box-sizing: border-box; @@ -720,7 +720,7 @@ ${t} color .3s var(--n-bezier), box-shadow .3s var(--n-bezier), background-color .3s var(--n-bezier); - `),z("base-selection-label",` + `),O("base-selection-label",` height: var(--n-height); display: inline-flex; width: 100%; @@ -737,7 +737,7 @@ ${t} border-radius: inherit; background-color: var(--n-color); align-items: center; - `,[z("base-selection-input",` + `,[O("base-selection-input",` font-size: inherit; line-height: inherit; outline: none; @@ -756,7 +756,7 @@ ${t} white-space: nowrap; `)]),D("render-label",` color: var(--n-text-color); - `)]),Pt("disabled",[j("&:hover",[D("state-border",` + `)]),Pt("disabled",[V("&:hover",[D("state-border",` box-shadow: var(--n-box-shadow-hover); border: var(--n-border-hover); `)]),K("focus",[D("state-border",` @@ -765,23 +765,23 @@ ${t} `)]),K("active",[D("state-border",` box-shadow: var(--n-box-shadow-active); border: var(--n-border-active); - `),z("base-selection-label","background-color: var(--n-color-active);"),z("base-selection-tags","background-color: var(--n-color-active);")])]),K("disabled","cursor: not-allowed;",[D("arrow",` + `),O("base-selection-label","background-color: var(--n-color-active);"),O("base-selection-tags","background-color: var(--n-color-active);")])]),K("disabled","cursor: not-allowed;",[D("arrow",` color: var(--n-arrow-color-disabled); - `),z("base-selection-label",` + `),O("base-selection-label",` cursor: not-allowed; background-color: var(--n-color-disabled); - `,[z("base-selection-input",` + `,[O("base-selection-input",` cursor: not-allowed; color: var(--n-text-color-disabled); `),D("render-label",` color: var(--n-text-color-disabled); - `)]),z("base-selection-tags",` + `)]),O("base-selection-tags",` cursor: not-allowed; background-color: var(--n-color-disabled); - `),z("base-selection-placeholder",` + `),O("base-selection-placeholder",` cursor: not-allowed; color: var(--n-placeholder-color-disabled); - `)]),z("base-selection-input-tag",` + `)]),O("base-selection-input-tag",` height: calc(var(--n-height) - 6px); line-height: calc(var(--n-height) - 6px); outline: none; @@ -814,72 +814,72 @@ ${t} user-select: none; -webkit-user-select: none; opacity: 0; - `)]),["warning","error"].map(e=>K(`${e}-status`,[D("state-border",`border: var(--n-border-${e});`),Pt("disabled",[j("&:hover",[D("state-border",` + `)]),["warning","error"].map(e=>K(`${e}-status`,[D("state-border",`border: var(--n-border-${e});`),Pt("disabled",[V("&:hover",[D("state-border",` box-shadow: var(--n-box-shadow-hover-${e}); border: var(--n-border-hover-${e}); `)]),K("active",[D("state-border",` box-shadow: var(--n-box-shadow-active-${e}); border: var(--n-border-active-${e}); - `),z("base-selection-label",`background-color: var(--n-color-active-${e});`),z("base-selection-tags",`background-color: var(--n-color-active-${e});`)]),K("focus",[D("state-border",` + `),O("base-selection-label",`background-color: var(--n-color-active-${e});`),O("base-selection-tags",`background-color: var(--n-color-active-${e});`)]),K("focus",[D("state-border",` box-shadow: var(--n-box-shadow-focus-${e}); border: var(--n-border-focus-${e}); - `)])])]))]),z("base-selection-popover",` + `)])])]))]),O("base-selection-popover",` margin-bottom: -3px; display: flex; flex-wrap: wrap; margin-right: -8px; - `),z("base-selection-tag-wrapper",` + `),O("base-selection-tag-wrapper",` max-width: 100%; display: inline-flex; padding: 0 7px 3px 0; - `,[j("&:last-child","padding-right: 0;"),z("tag",` + `,[V("&:last-child","padding-right: 0;"),O("tag",` font-size: 14px; max-width: 100%; `,[D("content",` line-height: 1.25; text-overflow: ellipsis; overflow: hidden; - `)])])]),qB=pe({name:"InternalSelection",props:Object.assign(Object.assign({},Fe.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],onClear:Function,onPatternInput:Function,onPatternFocus:Function,onPatternBlur:Function,renderLabel:Function,status:String,inlineThemeDisabled:Boolean,ignoreComposition:{type:Boolean,default:!0},onResize:Function}),setup(e){const t=B(null),n=B(null),o=B(null),r=B(null),i=B(null),a=B(null),s=B(null),l=B(null),c=B(null),u=B(null),d=B(!1),f=B(!1),p=B(!1),h=Fe("InternalSelection","-internal-selection",WB,g_,e,Ne(e,"clsPrefix")),m=N(()=>e.clearable&&!e.disabled&&(p.value||e.active)),v=N(()=>e.selectedOption?e.renderTag?e.renderTag({option:e.selectedOption,handleClose:()=>{}}):e.renderLabel?e.renderLabel(e.selectedOption,!0):Nt(e.selectedOption[e.labelField],e.selectedOption,!0):e.placeholder),g=N(()=>{const J=e.selectedOption;if(J)return J[e.labelField]}),y=N(()=>e.multiple?!!(Array.isArray(e.selectedOptions)&&e.selectedOptions.length):e.selectedOption!==null);function S(){var J;const{value:de}=t;if(de){const{value:_e}=n;_e&&(_e.style.width=`${de.offsetWidth}px`,e.maxTagCount!=="responsive"&&((J=c.value)===null||J===void 0||J.sync()))}}function C(){const{value:J}=u;J&&(J.style.display="none")}function _(){const{value:J}=u;J&&(J.style.display="inline-block")}ht(Ne(e,"active"),J=>{J||C()}),ht(Ne(e,"pattern"),()=>{e.multiple&&jt(S)});function x(J){const{onFocus:de}=e;de&&de(J)}function w(J){const{onBlur:de}=e;de&&de(J)}function T(J){const{onDeleteOption:de}=e;de&&de(J)}function P(J){const{onClear:de}=e;de&&de(J)}function k(J){const{onPatternInput:de}=e;de&&de(J)}function I(J){var de;(!J.relatedTarget||!(!((de=o.value)===null||de===void 0)&&de.contains(J.relatedTarget)))&&x(J)}function A(J){var de;!((de=o.value)===null||de===void 0)&&de.contains(J.relatedTarget)||w(J)}function q(J){P(J)}function F(){p.value=!0}function O(){p.value=!1}function $(J){!e.active||!e.filterable||J.target!==n.value&&J.preventDefault()}function W(J){T(J)}function Q(J){if(J.key==="Backspace"&&!L.value&&!e.pattern.length){const{selectedOptions:de}=e;de!=null&&de.length&&W(de[de.length-1])}}const L=B(!1);let M=null;function se(J){const{value:de}=t;if(de){const _e=J.target.value;de.textContent=_e,S()}e.ignoreComposition&&L.value?M=J:k(J)}function X(){L.value=!0}function ne(){L.value=!1,e.ignoreComposition&&k(M),M=null}function fe(J){var de;f.value=!0,(de=e.onPatternFocus)===null||de===void 0||de.call(e,J)}function xe(J){var de;f.value=!1,(de=e.onPatternBlur)===null||de===void 0||de.call(e,J)}function Ce(){var J,de;if(e.filterable)f.value=!1,(J=a.value)===null||J===void 0||J.blur(),(de=n.value)===null||de===void 0||de.blur();else if(e.multiple){const{value:_e}=r;_e==null||_e.blur()}else{const{value:_e}=i;_e==null||_e.blur()}}function G(){var J,de,_e;e.filterable?(f.value=!1,(J=a.value)===null||J===void 0||J.focus()):e.multiple?(de=r.value)===null||de===void 0||de.focus():(_e=i.value)===null||_e===void 0||_e.focus()}function ve(){const{value:J}=n;J&&(_(),J.focus())}function ue(){const{value:J}=n;J&&J.blur()}function re(J){const{value:de}=s;de&&de.setTextContent(`+${J}`)}function ke(){const{value:J}=l;return J}function V(){return n.value}let R=null;function E(){R!==null&&window.clearTimeout(R)}function U(){e.active||(E(),R=window.setTimeout(()=>{y.value&&(d.value=!0)},100))}function ie(){E()}function Y(J){J||(E(),d.value=!1)}ht(y,J=>{J||(d.value=!1)}),Vt(()=>{un(()=>{const J=a.value;J&&(e.disabled?J.removeAttribute("tabindex"):J.tabIndex=f.value?-1:0)})}),ew(o,e.onResize);const{inlineThemeDisabled:he}=e,ye=N(()=>{const{size:J}=e,{common:{cubicBezierEaseInOut:de},self:{borderRadius:_e,color:te,placeholderColor:oe,textColor:Ee,paddingSingle:De,paddingMultiple:qe,caretColor:tt,colorDisabled:Me,textColorDisabled:je,placeholderColorDisabled:dt,colorActive:Oe,boxShadowFocus:rt,boxShadowActive:it,boxShadowHover:Z,border:we,borderFocus:Ie,borderHover:Ve,borderActive:Xe,arrowColor:Qe,arrowColorDisabled:nt,loadingColor:ot,colorActiveWarning:kt,boxShadowFocusWarning:sn,boxShadowActiveWarning:Wt,boxShadowHoverWarning:Se,borderWarning:Le,borderFocusWarning:Ze,borderHoverWarning:pt,borderActiveWarning:gt,colorActiveError:at,boxShadowFocusError:ae,boxShadowActiveError:Te,boxShadowHoverError:Ke,borderError:It,borderFocusError:Kt,borderHoverError:Lt,borderActiveError:uo,clearColor:fo,clearColorHover:ho,clearColorPressed:Wo,clearSize:qo,arrowSize:Hr,[Pe("height",J)]:Va,[Pe("fontSize",J)]:Ua}}=h.value;return{"--n-bezier":de,"--n-border":we,"--n-border-active":Xe,"--n-border-focus":Ie,"--n-border-hover":Ve,"--n-border-radius":_e,"--n-box-shadow-active":it,"--n-box-shadow-focus":rt,"--n-box-shadow-hover":Z,"--n-caret-color":tt,"--n-color":te,"--n-color-active":Oe,"--n-color-disabled":Me,"--n-font-size":Ua,"--n-height":Va,"--n-padding-single":De,"--n-padding-multiple":qe,"--n-placeholder-color":oe,"--n-placeholder-color-disabled":dt,"--n-text-color":Ee,"--n-text-color-disabled":je,"--n-arrow-color":Qe,"--n-arrow-color-disabled":nt,"--n-loading-color":ot,"--n-color-active-warning":kt,"--n-box-shadow-focus-warning":sn,"--n-box-shadow-active-warning":Wt,"--n-box-shadow-hover-warning":Se,"--n-border-warning":Le,"--n-border-focus-warning":Ze,"--n-border-hover-warning":pt,"--n-border-active-warning":gt,"--n-color-active-error":at,"--n-box-shadow-focus-error":ae,"--n-box-shadow-active-error":Te,"--n-box-shadow-hover-error":Ke,"--n-border-error":It,"--n-border-focus-error":Kt,"--n-border-hover-error":Lt,"--n-border-active-error":uo,"--n-clear-size":qo,"--n-clear-color":fo,"--n-clear-color-hover":ho,"--n-clear-color-pressed":Wo,"--n-arrow-size":Hr}}),ge=he?Rt("internal-selection",N(()=>e.size[0]),ye,e):void 0;return{mergedTheme:h,mergedClearable:m,patternInputFocused:f,filterablePlaceholder:v,label:g,selected:y,showTagsPanel:d,isComposing:L,counterRef:s,counterWrapperRef:l,patternInputMirrorRef:t,patternInputRef:n,selfRef:o,multipleElRef:r,singleElRef:i,patternInputWrapperRef:a,overflowRef:c,inputTagElRef:u,handleMouseDown:$,handleFocusin:I,handleClear:q,handleMouseEnter:F,handleMouseLeave:O,handleDeleteOption:W,handlePatternKeyDown:Q,handlePatternInputInput:se,handlePatternInputBlur:xe,handlePatternInputFocus:fe,handleMouseEnterCounter:U,handleMouseLeaveCounter:ie,handleFocusout:A,handleCompositionEnd:ne,handleCompositionStart:X,onPopoverUpdateShow:Y,focus:G,focusInput:ve,blur:Ce,blurInput:ue,updateCounter:re,getCounter:ke,getTail:V,renderLabel:e.renderLabel,cssVars:he?void 0:ye,themeClass:ge==null?void 0:ge.themeClass,onRender:ge==null?void 0:ge.onRender}},render(){const{status:e,multiple:t,size:n,disabled:o,filterable:r,maxTagCount:i,bordered:a,clsPrefix:s,onRender:l,renderTag:c,renderLabel:u}=this;l==null||l();const d=i==="responsive",f=typeof i=="number",p=d||f,h=b(Zf,null,{default:()=>b(p_,{clsPrefix:s,loading:this.loading,showArrow:this.showArrow,showClear:this.mergedClearable&&this.selected,onClear:this.handleClear},{default:()=>{var v,g;return(g=(v=this.$slots).arrow)===null||g===void 0?void 0:g.call(v)}})});let m;if(t){const{labelField:v}=this,g=A=>b("div",{class:`${s}-base-selection-tag-wrapper`,key:A.value},c?c({option:A,handleClose:()=>{this.handleDeleteOption(A)}}):b(ui,{size:n,closable:!A.disabled,disabled:o,onClose:()=>{this.handleDeleteOption(A)},internalCloseIsButtonTag:!1,internalCloseFocusable:!1},{default:()=>u?u(A,!0):Nt(A[v],A,!0)})),y=()=>(f?this.selectedOptions.slice(0,i):this.selectedOptions).map(g),S=r?b("div",{class:`${s}-base-selection-input-tag`,ref:"inputTagElRef",key:"__input-tag__"},b("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})),b("span",{ref:"patternInputMirrorRef",class:`${s}-base-selection-input-tag__mirror`},this.pattern)):null,C=d?()=>b("div",{class:`${s}-base-selection-tag-wrapper`,ref:"counterWrapperRef"},b(ui,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,onMouseleave:this.handleMouseLeaveCounter,disabled:o})):void 0;let _;if(f){const A=this.selectedOptions.length-i;A>0&&(_=b("div",{class:`${s}-base-selection-tag-wrapper`,key:"__counter__"},b(ui,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,disabled:o},{default:()=>`+${A}`})))}const x=d?r?b(yb,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,getTail:this.getTail,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:y,counter:C,tail:()=>S}):b(yb,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:y,counter:C}):f?y().concat(_):y(),w=p?()=>b("div",{class:`${s}-base-selection-popover`},d?y():this.selectedOptions.map(g)):void 0,T=p?{show:this.showTagsPanel,trigger:"hover",overlap:!0,placement:"top",width:"trigger",onUpdateShow:this.onPopoverUpdateShow,theme:this.mergedTheme.peers.Popover,themeOverrides:this.mergedTheme.peerOverrides.Popover}:null,k=(this.selected?!1:this.active?!this.pattern&&!this.isComposing:!0)?b("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`},b("div",{class:`${s}-base-selection-placeholder__inner`},this.placeholder)):null,I=r?b("div",{ref:"patternInputWrapperRef",class:`${s}-base-selection-tags`},x,d?null:S,h):b("div",{ref:"multipleElRef",class:`${s}-base-selection-tags`,tabindex:o?void 0:0},x,h);m=b(et,null,p?b(rl,Object.assign({},T,{scrollable:!0,style:"max-height: calc(var(--v-target-height) * 6.6);"}),{trigger:()=>I,default:w}):I,k)}else if(r){const v=this.pattern||this.isComposing,g=this.active?!v:!this.selected,y=this.active?!1:this.selected;m=b("div",{ref:"patternInputWrapperRef",class:`${s}-base-selection-label`},b("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})),y?b("div",{class:`${s}-base-selection-label__render-label ${s}-base-selection-overlay`,key:"input"},b("div",{class:`${s}-base-selection-overlay__wrapper`},c?c({option:this.selectedOption,handleClose:()=>{}}):u?u(this.selectedOption,!0):Nt(this.label,this.selectedOption,!0))):null,g?b("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`,key:"placeholder"},b("div",{class:`${s}-base-selection-overlay__wrapper`},this.filterablePlaceholder)):null,h)}else m=b("div",{ref:"singleElRef",class:`${s}-base-selection-label`,tabindex:this.disabled?void 0:0},this.label!==void 0?b("div",{class:`${s}-base-selection-input`,title:DA(this.label),key:"input"},b("div",{class:`${s}-base-selection-input__content`},c?c({option:this.selectedOption,handleClose:()=>{}}):u?u(this.selectedOption,!0):Nt(this.label,this.selectedOption,!0))):b("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`,key:"placeholder"},b("div",{class:`${s}-base-selection-placeholder__inner`},this.placeholder)),h);return b("div",{ref:"selfRef",class:[`${s}-base-selection`,this.themeClass,e&&`${s}-base-selection--${e}-status`,{[`${s}-base-selection--active`]:this.active,[`${s}-base-selection--selected`]:this.selected||this.active&&this.pattern,[`${s}-base-selection--disabled`]:this.disabled,[`${s}-base-selection--multiple`]:this.multiple,[`${s}-base-selection--focus`]:this.focused}],style:this.cssVars,onClick:this.onClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onKeydown:this.onKeydown,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onMousedown:this.handleMouseDown},m,a?b("div",{class:`${s}-base-selection__border`}):null,a?b("div",{class:`${s}-base-selection__state-border`}):null)}}),{cubicBezierEaseInOut:vr}=so;function KB({duration:e=".2s",delay:t=".1s"}={}){return[j("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),j("&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from",` + `)])])]),KB=pe({name:"InternalSelection",props:Object.assign(Object.assign({},Fe.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],onClear:Function,onPatternInput:Function,onPatternFocus:Function,onPatternBlur:Function,renderLabel:Function,status:String,inlineThemeDisabled:Boolean,ignoreComposition:{type:Boolean,default:!0},onResize:Function}),setup(e){const t=N(null),n=N(null),o=N(null),r=N(null),i=N(null),a=N(null),s=N(null),l=N(null),c=N(null),u=N(null),d=N(!1),f=N(!1),p=N(!1),h=Fe("InternalSelection","-internal-selection",qB,v_,e,Ne(e,"clsPrefix")),m=L(()=>e.clearable&&!e.disabled&&(p.value||e.active)),v=L(()=>e.selectedOption?e.renderTag?e.renderTag({option:e.selectedOption,handleClose:()=>{}}):e.renderLabel?e.renderLabel(e.selectedOption,!0):Nt(e.selectedOption[e.labelField],e.selectedOption,!0):e.placeholder),g=L(()=>{const J=e.selectedOption;if(J)return J[e.labelField]}),y=L(()=>e.multiple?!!(Array.isArray(e.selectedOptions)&&e.selectedOptions.length):e.selectedOption!==null);function S(){var J;const{value:de}=t;if(de){const{value:_e}=n;_e&&(_e.style.width=`${de.offsetWidth}px`,e.maxTagCount!=="responsive"&&((J=c.value)===null||J===void 0||J.sync()))}}function C(){const{value:J}=u;J&&(J.style.display="none")}function _(){const{value:J}=u;J&&(J.style.display="inline-block")}ht(Ne(e,"active"),J=>{J||C()}),ht(Ne(e,"pattern"),()=>{e.multiple&&jt(S)});function x(J){const{onFocus:de}=e;de&&de(J)}function w(J){const{onBlur:de}=e;de&&de(J)}function T(J){const{onDeleteOption:de}=e;de&&de(J)}function P(J){const{onClear:de}=e;de&&de(J)}function k(J){const{onPatternInput:de}=e;de&&de(J)}function A(J){var de;(!J.relatedTarget||!(!((de=o.value)===null||de===void 0)&&de.contains(J.relatedTarget)))&&x(J)}function I(J){var de;!((de=o.value)===null||de===void 0)&&de.contains(J.relatedTarget)||w(J)}function W(J){P(J)}function B(){p.value=!0}function z(){p.value=!1}function $(J){!e.active||!e.filterable||J.target!==n.value&&J.preventDefault()}function j(J){T(J)}function X(J){if(J.key==="Backspace"&&!F.value&&!e.pattern.length){const{selectedOptions:de}=e;de!=null&&de.length&&j(de[de.length-1])}}const F=N(!1);let M=null;function se(J){const{value:de}=t;if(de){const _e=J.target.value;de.textContent=_e,S()}e.ignoreComposition&&F.value?M=J:k(J)}function Q(){F.value=!0}function ne(){F.value=!1,e.ignoreComposition&&k(M),M=null}function fe(J){var de;f.value=!0,(de=e.onPatternFocus)===null||de===void 0||de.call(e,J)}function xe(J){var de;f.value=!1,(de=e.onPatternBlur)===null||de===void 0||de.call(e,J)}function Ce(){var J,de;if(e.filterable)f.value=!1,(J=a.value)===null||J===void 0||J.blur(),(de=n.value)===null||de===void 0||de.blur();else if(e.multiple){const{value:_e}=r;_e==null||_e.blur()}else{const{value:_e}=i;_e==null||_e.blur()}}function G(){var J,de,_e;e.filterable?(f.value=!1,(J=a.value)===null||J===void 0||J.focus()):e.multiple?(de=r.value)===null||de===void 0||de.focus():(_e=i.value)===null||_e===void 0||_e.focus()}function ve(){const{value:J}=n;J&&(_(),J.focus())}function ue(){const{value:J}=n;J&&J.blur()}function re(J){const{value:de}=s;de&&de.setTextContent(`+${J}`)}function ke(){const{value:J}=l;return J}function U(){return n.value}let R=null;function E(){R!==null&&window.clearTimeout(R)}function q(){e.active||(E(),R=window.setTimeout(()=>{y.value&&(d.value=!0)},100))}function ie(){E()}function Y(J){J||(E(),d.value=!1)}ht(y,J=>{J||(d.value=!1)}),Vt(()=>{un(()=>{const J=a.value;J&&(e.disabled?J.removeAttribute("tabindex"):J.tabIndex=f.value?-1:0)})}),tw(o,e.onResize);const{inlineThemeDisabled:he}=e,ye=L(()=>{const{size:J}=e,{common:{cubicBezierEaseInOut:de},self:{borderRadius:_e,color:te,placeholderColor:oe,textColor:Ee,paddingSingle:De,paddingMultiple:qe,caretColor:tt,colorDisabled:Me,textColorDisabled:je,placeholderColorDisabled:dt,colorActive:Oe,boxShadowFocus:rt,boxShadowActive:it,boxShadowHover:Z,border:we,borderFocus:Ie,borderHover:Ve,borderActive:Xe,arrowColor:Qe,arrowColorDisabled:nt,loadingColor:ot,colorActiveWarning:kt,boxShadowFocusWarning:sn,boxShadowActiveWarning:Wt,boxShadowHoverWarning:Se,borderWarning:Le,borderFocusWarning:Ze,borderHoverWarning:pt,borderActiveWarning:gt,colorActiveError:at,boxShadowFocusError:ae,boxShadowActiveError:Te,boxShadowHoverError:Ke,borderError:It,borderFocusError:Kt,borderHoverError:Lt,borderActiveError:uo,clearColor:fo,clearColorHover:ho,clearColorPressed:Wo,clearSize:qo,arrowSize:Hr,[Pe("height",J)]:Va,[Pe("fontSize",J)]:Ua}}=h.value;return{"--n-bezier":de,"--n-border":we,"--n-border-active":Xe,"--n-border-focus":Ie,"--n-border-hover":Ve,"--n-border-radius":_e,"--n-box-shadow-active":it,"--n-box-shadow-focus":rt,"--n-box-shadow-hover":Z,"--n-caret-color":tt,"--n-color":te,"--n-color-active":Oe,"--n-color-disabled":Me,"--n-font-size":Ua,"--n-height":Va,"--n-padding-single":De,"--n-padding-multiple":qe,"--n-placeholder-color":oe,"--n-placeholder-color-disabled":dt,"--n-text-color":Ee,"--n-text-color-disabled":je,"--n-arrow-color":Qe,"--n-arrow-color-disabled":nt,"--n-loading-color":ot,"--n-color-active-warning":kt,"--n-box-shadow-focus-warning":sn,"--n-box-shadow-active-warning":Wt,"--n-box-shadow-hover-warning":Se,"--n-border-warning":Le,"--n-border-focus-warning":Ze,"--n-border-hover-warning":pt,"--n-border-active-warning":gt,"--n-color-active-error":at,"--n-box-shadow-focus-error":ae,"--n-box-shadow-active-error":Te,"--n-box-shadow-hover-error":Ke,"--n-border-error":It,"--n-border-focus-error":Kt,"--n-border-hover-error":Lt,"--n-border-active-error":uo,"--n-clear-size":qo,"--n-clear-color":fo,"--n-clear-color-hover":ho,"--n-clear-color-pressed":Wo,"--n-arrow-size":Hr}}),ge=he?Rt("internal-selection",L(()=>e.size[0]),ye,e):void 0;return{mergedTheme:h,mergedClearable:m,patternInputFocused:f,filterablePlaceholder:v,label:g,selected:y,showTagsPanel:d,isComposing:F,counterRef:s,counterWrapperRef:l,patternInputMirrorRef:t,patternInputRef:n,selfRef:o,multipleElRef:r,singleElRef:i,patternInputWrapperRef:a,overflowRef:c,inputTagElRef:u,handleMouseDown:$,handleFocusin:A,handleClear:W,handleMouseEnter:B,handleMouseLeave:z,handleDeleteOption:j,handlePatternKeyDown:X,handlePatternInputInput:se,handlePatternInputBlur:xe,handlePatternInputFocus:fe,handleMouseEnterCounter:q,handleMouseLeaveCounter:ie,handleFocusout:I,handleCompositionEnd:ne,handleCompositionStart:Q,onPopoverUpdateShow:Y,focus:G,focusInput:ve,blur:Ce,blurInput:ue,updateCounter:re,getCounter:ke,getTail:U,renderLabel:e.renderLabel,cssVars:he?void 0:ye,themeClass:ge==null?void 0:ge.themeClass,onRender:ge==null?void 0:ge.onRender}},render(){const{status:e,multiple:t,size:n,disabled:o,filterable:r,maxTagCount:i,bordered:a,clsPrefix:s,onRender:l,renderTag:c,renderLabel:u}=this;l==null||l();const d=i==="responsive",f=typeof i=="number",p=d||f,h=b(Zf,null,{default:()=>b(m_,{clsPrefix:s,loading:this.loading,showArrow:this.showArrow,showClear:this.mergedClearable&&this.selected,onClear:this.handleClear},{default:()=>{var v,g;return(g=(v=this.$slots).arrow)===null||g===void 0?void 0:g.call(v)}})});let m;if(t){const{labelField:v}=this,g=I=>b("div",{class:`${s}-base-selection-tag-wrapper`,key:I.value},c?c({option:I,handleClose:()=>{this.handleDeleteOption(I)}}):b(ui,{size:n,closable:!I.disabled,disabled:o,onClose:()=>{this.handleDeleteOption(I)},internalCloseIsButtonTag:!1,internalCloseFocusable:!1},{default:()=>u?u(I,!0):Nt(I[v],I,!0)})),y=()=>(f?this.selectedOptions.slice(0,i):this.selectedOptions).map(g),S=r?b("div",{class:`${s}-base-selection-input-tag`,ref:"inputTagElRef",key:"__input-tag__"},b("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})),b("span",{ref:"patternInputMirrorRef",class:`${s}-base-selection-input-tag__mirror`},this.pattern)):null,C=d?()=>b("div",{class:`${s}-base-selection-tag-wrapper`,ref:"counterWrapperRef"},b(ui,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,onMouseleave:this.handleMouseLeaveCounter,disabled:o})):void 0;let _;if(f){const I=this.selectedOptions.length-i;I>0&&(_=b("div",{class:`${s}-base-selection-tag-wrapper`,key:"__counter__"},b(ui,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,disabled:o},{default:()=>`+${I}`})))}const x=d?r?b(xb,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,getTail:this.getTail,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:y,counter:C,tail:()=>S}):b(xb,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:y,counter:C}):f?y().concat(_):y(),w=p?()=>b("div",{class:`${s}-base-selection-popover`},d?y():this.selectedOptions.map(g)):void 0,T=p?{show:this.showTagsPanel,trigger:"hover",overlap:!0,placement:"top",width:"trigger",onUpdateShow:this.onPopoverUpdateShow,theme:this.mergedTheme.peers.Popover,themeOverrides:this.mergedTheme.peerOverrides.Popover}:null,k=(this.selected?!1:this.active?!this.pattern&&!this.isComposing:!0)?b("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`},b("div",{class:`${s}-base-selection-placeholder__inner`},this.placeholder)):null,A=r?b("div",{ref:"patternInputWrapperRef",class:`${s}-base-selection-tags`},x,d?null:S,h):b("div",{ref:"multipleElRef",class:`${s}-base-selection-tags`,tabindex:o?void 0:0},x,h);m=b(et,null,p?b(rl,Object.assign({},T,{scrollable:!0,style:"max-height: calc(var(--v-target-height) * 6.6);"}),{trigger:()=>A,default:w}):A,k)}else if(r){const v=this.pattern||this.isComposing,g=this.active?!v:!this.selected,y=this.active?!1:this.selected;m=b("div",{ref:"patternInputWrapperRef",class:`${s}-base-selection-label`},b("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})),y?b("div",{class:`${s}-base-selection-label__render-label ${s}-base-selection-overlay`,key:"input"},b("div",{class:`${s}-base-selection-overlay__wrapper`},c?c({option:this.selectedOption,handleClose:()=>{}}):u?u(this.selectedOption,!0):Nt(this.label,this.selectedOption,!0))):null,g?b("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`,key:"placeholder"},b("div",{class:`${s}-base-selection-overlay__wrapper`},this.filterablePlaceholder)):null,h)}else m=b("div",{ref:"singleElRef",class:`${s}-base-selection-label`,tabindex:this.disabled?void 0:0},this.label!==void 0?b("div",{class:`${s}-base-selection-input`,title:LA(this.label),key:"input"},b("div",{class:`${s}-base-selection-input__content`},c?c({option:this.selectedOption,handleClose:()=>{}}):u?u(this.selectedOption,!0):Nt(this.label,this.selectedOption,!0))):b("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`,key:"placeholder"},b("div",{class:`${s}-base-selection-placeholder__inner`},this.placeholder)),h);return b("div",{ref:"selfRef",class:[`${s}-base-selection`,this.themeClass,e&&`${s}-base-selection--${e}-status`,{[`${s}-base-selection--active`]:this.active,[`${s}-base-selection--selected`]:this.selected||this.active&&this.pattern,[`${s}-base-selection--disabled`]:this.disabled,[`${s}-base-selection--multiple`]:this.multiple,[`${s}-base-selection--focus`]:this.focused}],style:this.cssVars,onClick:this.onClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onKeydown:this.onKeydown,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onMousedown:this.handleMouseDown},m,a?b("div",{class:`${s}-base-selection__border`}):null,a?b("div",{class:`${s}-base-selection__state-border`}):null)}}),{cubicBezierEaseInOut:vr}=so;function GB({duration:e=".2s",delay:t=".1s"}={}){return[V("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),V("&.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; - `),j("&.fade-in-width-expand-transition-leave-active",` + `),V("&.fade-in-width-expand-transition-leave-active",` overflow: hidden; transition: opacity ${e} ${vr}, max-width ${e} ${vr} ${t}, margin-left ${e} ${vr} ${t}, margin-right ${e} ${vr} ${t}; - `),j("&.fade-in-width-expand-transition-enter-active",` + `),V("&.fade-in-width-expand-transition-enter-active",` overflow: hidden; transition: opacity ${e} ${vr} ${t}, max-width ${e} ${vr}, margin-left ${e} ${vr}, margin-right ${e} ${vr}; - `)]}const v_={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"},GB={name:"Alert",common:Be,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:g}=e;return Object.assign(Object.assign({},v_),{fontSize:g,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 ${Ae(p,{alpha:.35})}`,colorInfo:Ae(p,{alpha:.25}),titleTextColorInfo:a,iconColorInfo:p,contentTextColorInfo:s,closeColorHoverInfo:l,closeColorPressedInfo:c,closeIconColorInfo:u,closeIconColorHoverInfo:d,closeIconColorPressedInfo:f,borderSuccess:`1px solid ${Ae(h,{alpha:.35})}`,colorSuccess:Ae(h,{alpha:.25}),titleTextColorSuccess:a,iconColorSuccess:h,contentTextColorSuccess:s,closeColorHoverSuccess:l,closeColorPressedSuccess:c,closeIconColorSuccess:u,closeIconColorHoverSuccess:d,closeIconColorPressedSuccess:f,borderWarning:`1px solid ${Ae(m,{alpha:.35})}`,colorWarning:Ae(m,{alpha:.25}),titleTextColorWarning:a,iconColorWarning:m,contentTextColorWarning:s,closeColorHoverWarning:l,closeColorPressedWarning:c,closeIconColorWarning:u,closeIconColorHoverWarning:d,closeIconColorPressedWarning:f,borderError:`1px solid ${Ae(v,{alpha:.35})}`,colorError:Ae(v,{alpha:.25}),titleTextColorError:a,iconColorError:v,contentTextColorError:s,closeColorHoverError:l,closeColorPressedError:c,closeIconColorError:u,closeIconColorHoverError:d,closeIconColorPressedError:f})}},YB=GB,XB=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:g,fontSize:y}=e;return Object.assign(Object.assign({},v_),{fontSize:y,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 ${Ye(r,Ae(h,{alpha:.25}))}`,colorInfo:Ye(r,Ae(h,{alpha:.08})),titleTextColorInfo:s,iconColorInfo:h,contentTextColorInfo:l,closeColorHoverInfo:c,closeColorPressedInfo:u,closeIconColorInfo:d,closeIconColorHoverInfo:f,closeIconColorPressedInfo:p,borderSuccess:`1px solid ${Ye(r,Ae(m,{alpha:.25}))}`,colorSuccess:Ye(r,Ae(m,{alpha:.08})),titleTextColorSuccess:s,iconColorSuccess:m,contentTextColorSuccess:l,closeColorHoverSuccess:c,closeColorPressedSuccess:u,closeIconColorSuccess:d,closeIconColorHoverSuccess:f,closeIconColorPressedSuccess:p,borderWarning:`1px solid ${Ye(r,Ae(v,{alpha:.33}))}`,colorWarning:Ye(r,Ae(v,{alpha:.08})),titleTextColorWarning:s,iconColorWarning:v,contentTextColorWarning:l,closeColorHoverWarning:c,closeColorPressedWarning:u,closeIconColorWarning:d,closeIconColorHoverWarning:f,closeIconColorPressedWarning:p,borderError:`1px solid ${Ye(r,Ae(g,{alpha:.25}))}`,colorError:Ye(r,Ae(g,{alpha:.08})),titleTextColorError:s,iconColorError:g,contentTextColorError:l,closeColorHoverError:c,closeColorPressedError:u,closeIconColorError:d,closeIconColorHoverError:f,closeIconColorPressedError:p})},QB={name:"Alert",common:yt,self:XB},ZB=QB,{cubicBezierEaseInOut:Eo,cubicBezierEaseOut:JB,cubicBezierEaseIn:eH}=so;function Gp({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[j(`&.fade-in-height-expand-transition-${c}-from, - &.fade-in-height-expand-transition-${l}-to`,Object.assign(Object.assign({},i),{opacity:1})),j(`&.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})),j(`&.fade-in-height-expand-transition-${c}-active`,` + `)]}const b_={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"},YB={name:"Alert",common:Be,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:g}=e;return Object.assign(Object.assign({},b_),{fontSize:g,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 ${Ae(p,{alpha:.35})}`,colorInfo:Ae(p,{alpha:.25}),titleTextColorInfo:a,iconColorInfo:p,contentTextColorInfo:s,closeColorHoverInfo:l,closeColorPressedInfo:c,closeIconColorInfo:u,closeIconColorHoverInfo:d,closeIconColorPressedInfo:f,borderSuccess:`1px solid ${Ae(h,{alpha:.35})}`,colorSuccess:Ae(h,{alpha:.25}),titleTextColorSuccess:a,iconColorSuccess:h,contentTextColorSuccess:s,closeColorHoverSuccess:l,closeColorPressedSuccess:c,closeIconColorSuccess:u,closeIconColorHoverSuccess:d,closeIconColorPressedSuccess:f,borderWarning:`1px solid ${Ae(m,{alpha:.35})}`,colorWarning:Ae(m,{alpha:.25}),titleTextColorWarning:a,iconColorWarning:m,contentTextColorWarning:s,closeColorHoverWarning:l,closeColorPressedWarning:c,closeIconColorWarning:u,closeIconColorHoverWarning:d,closeIconColorPressedWarning:f,borderError:`1px solid ${Ae(v,{alpha:.35})}`,colorError:Ae(v,{alpha:.25}),titleTextColorError:a,iconColorError:v,contentTextColorError:s,closeColorHoverError:l,closeColorPressedError:c,closeIconColorError:u,closeIconColorHoverError:d,closeIconColorPressedError:f})}},XB=YB,QB=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:g,fontSize:y}=e;return Object.assign(Object.assign({},b_),{fontSize:y,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 ${Ye(r,Ae(h,{alpha:.25}))}`,colorInfo:Ye(r,Ae(h,{alpha:.08})),titleTextColorInfo:s,iconColorInfo:h,contentTextColorInfo:l,closeColorHoverInfo:c,closeColorPressedInfo:u,closeIconColorInfo:d,closeIconColorHoverInfo:f,closeIconColorPressedInfo:p,borderSuccess:`1px solid ${Ye(r,Ae(m,{alpha:.25}))}`,colorSuccess:Ye(r,Ae(m,{alpha:.08})),titleTextColorSuccess:s,iconColorSuccess:m,contentTextColorSuccess:l,closeColorHoverSuccess:c,closeColorPressedSuccess:u,closeIconColorSuccess:d,closeIconColorHoverSuccess:f,closeIconColorPressedSuccess:p,borderWarning:`1px solid ${Ye(r,Ae(v,{alpha:.33}))}`,colorWarning:Ye(r,Ae(v,{alpha:.08})),titleTextColorWarning:s,iconColorWarning:v,contentTextColorWarning:l,closeColorHoverWarning:c,closeColorPressedWarning:u,closeIconColorWarning:d,closeIconColorHoverWarning:f,closeIconColorPressedWarning:p,borderError:`1px solid ${Ye(r,Ae(g,{alpha:.25}))}`,colorError:Ye(r,Ae(g,{alpha:.08})),titleTextColorError:s,iconColorError:g,contentTextColorError:l,closeColorHoverError:c,closeColorPressedError:u,closeIconColorError:d,closeIconColorHoverError:f,closeIconColorPressedError:p})},ZB={name:"Alert",common:yt,self:QB},JB=ZB,{cubicBezierEaseInOut:Eo,cubicBezierEaseOut:eH,cubicBezierEaseIn:tH}=so;function Gp({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[V(`&.fade-in-height-expand-transition-${c}-from, + &.fade-in-height-expand-transition-${l}-to`,Object.assign(Object.assign({},i),{opacity:1})),V(`&.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})),V(`&.fade-in-height-expand-transition-${c}-active`,` overflow: ${e}; transition: max-height ${t} ${Eo} ${o}, - opacity ${t} ${JB} ${o}, + opacity ${t} ${eH} ${o}, margin-top ${t} ${Eo} ${o}, margin-bottom ${t} ${Eo} ${o}, padding-top ${t} ${Eo} ${o}, padding-bottom ${t} ${Eo} ${o} ${n?","+n:""} - `),j(`&.fade-in-height-expand-transition-${l}-active`,` + `),V(`&.fade-in-height-expand-transition-${l}-active`,` overflow: ${e}; transition: max-height ${t} ${Eo}, - opacity ${t} ${eH}, + opacity ${t} ${tH}, margin-top ${t} ${Eo}, margin-bottom ${t} ${Eo}, padding-top ${t} ${Eo}, padding-bottom ${t} ${Eo} ${n?","+n:""} - `)]}const tH=z("alert",` + `)]}const nH=O("alert",` line-height: var(--n-line-height); border-radius: var(--n-border-radius); position: relative; @@ -897,9 +897,9 @@ ${t} transition: border-color .3s var(--n-bezier); border: var(--n-border); pointer-events: none; - `),K("closable",[z("alert-body",[D("title",` + `),K("closable",[O("alert-body",[D("title",` padding-right: 24px; - `)])]),D("icon",{color:"var(--n-icon-color)"}),z("alert-body",{padding:"var(--n-padding)"},[D("title",{color:"var(--n-title-text-color)"}),D("content",{color:"var(--n-content-text-color)"})]),Gp({originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.9)"}}),D("icon",` + `)])]),D("icon",{color:"var(--n-icon-color)"}),O("alert-body",{padding:"var(--n-padding)"},[D("title",{color:"var(--n-title-text-color)"}),D("content",{color:"var(--n-content-text-color)"})]),Gp({originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.9)"}}),D("icon",` position: absolute; left: 0; top: 0; @@ -918,7 +918,7 @@ ${t} right: 0; top: 0; margin: var(--n-close-margin); - `),K("show-icon",[z("alert-body",{paddingLeft:"calc(var(--n-icon-margin-left) + var(--n-icon-size) + var(--n-icon-margin-right))"})]),K("right-adjust",[z("alert-body",{paddingRight:"calc(var(--n-close-size) + var(--n-padding) + 2px)"})]),z("alert-body",` + `),K("show-icon",[O("alert-body",{paddingLeft:"calc(var(--n-icon-margin-left) + var(--n-icon-size) + var(--n-icon-margin-right))"})]),K("right-adjust",[O("alert-body",{paddingRight:"calc(var(--n-close-size) + var(--n-padding) + 2px)"})]),O("alert-body",` border-radius: var(--n-border-radius); transition: border-color .3s var(--n-bezier); `,[D("title",` @@ -926,7 +926,7 @@ ${t} font-size: 16px; line-height: 19px; font-weight: var(--n-title-font-weight); - `,[j("& +",[D("content",{marginTop:"9px"})])]),D("content",{transition:"color .3s var(--n-bezier)",fontSize:"var(--n-font-size)"})]),D("icon",{transition:"color .3s var(--n-bezier)"})]),nH=Object.assign(Object.assign({},Fe.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}),il=pe({name:"Alert",inheritAttrs:!1,props:nH,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=ct(e),i=Fe("Alert","-alert",tH,ZB,e,t),a=Rn("Alert",r,t),s=N(()=>{const{common:{cubicBezierEaseInOut:p},self:h}=i.value,{fontSize:m,borderRadius:v,titleFontWeight:g,lineHeight:y,iconSize:S,iconMargin:C,iconMarginRtl:_,closeIconSize:x,closeBorderRadius:w,closeSize:T,closeMargin:P,closeMarginRtl:k,padding:I}=h,{type:A}=e,{left:q,right:F}=si(C);return{"--n-bezier":p,"--n-color":h[Pe("color",A)],"--n-close-icon-size":x,"--n-close-border-radius":w,"--n-close-color-hover":h[Pe("closeColorHover",A)],"--n-close-color-pressed":h[Pe("closeColorPressed",A)],"--n-close-icon-color":h[Pe("closeIconColor",A)],"--n-close-icon-color-hover":h[Pe("closeIconColorHover",A)],"--n-close-icon-color-pressed":h[Pe("closeIconColorPressed",A)],"--n-icon-color":h[Pe("iconColor",A)],"--n-border":h[Pe("border",A)],"--n-title-text-color":h[Pe("titleTextColor",A)],"--n-content-text-color":h[Pe("contentTextColor",A)],"--n-line-height":y,"--n-border-radius":v,"--n-font-size":m,"--n-title-font-weight":g,"--n-icon-size":S,"--n-icon-margin":C,"--n-icon-margin-rtl":_,"--n-close-size":T,"--n-close-margin":P,"--n-close-margin-rtl":k,"--n-padding":I,"--n-icon-margin-left":q,"--n-icon-margin-right":F}}),l=o?Rt("alert",N(()=>e.type[0]),s,e):void 0,c=B(!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),b(yu,{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?b("div",Object.assign({},Mn(this.$attrs,o)),this.closable&&b(Ii,{clsPrefix:t,class:`${t}-alert__close`,onClick:this.handleCloseClick}),this.bordered&&b("div",{class:`${t}-alert__border`}),this.showIcon&&b("div",{class:`${t}-alert__icon`,"aria-hidden":"true"},Pn(n.icon,()=>[b(Bt,{clsPrefix:t},{default:()=>{switch(this.type){case"success":return b(Ei,null);case"info":return b(zr,null);case"warning":return b($i,null);case"error":return b(Ri,null);default:return null}}})])),b("div",{class:[`${t}-alert-body`,this.mergedBordered&&`${t}-alert-body--bordered`]},Ot(n.header,r=>{const i=r||this.title;return i?b("div",{class:`${t}-alert-body__title`},i):null}),n.default&&b("div",{class:`${t}-alert-body__content`},n))):null}})}}),oH={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"},rH=e=>{const{borderRadius:t,railColor:n,primaryColor:o,primaryColorHover:r,primaryColorPressed:i,textColor2:a}=e;return Object.assign(Object.assign({},oH),{borderRadius:t,railColor:n,railColorActive:o,linkColor:Ae(o,{alpha:.15}),linkTextColor:a,linkTextColorHover:r,linkTextColorPressed:i,linkTextColorActive:o})},iH={name:"Anchor",common:Be,self:rH},aH=iH;function Pc(e){return e.type==="group"}function b_(e){return e.type==="ignored"}function zd(e,t){try{return!!(1+t.toString().toLowerCase().indexOf(e.trim().toLowerCase()))}catch{return!1}}function y_(e,t){return{getIsGroup:Pc,getIgnored:b_,getKey(o){return Pc(o)?o.name||o.key||"key-required":o[e]},getChildren(o){return o[t]}}}function sH(e,t,n,o){if(!t)return e;function r(i){if(!Array.isArray(i))return[];const a=[];for(const s of i)if(Pc(s)){const l=r(s[o]);l.length&&a.push(Object.assign({},s,{[o]:l}))}else{if(b_(s))continue;t(n,s)&&a.push(s)}return a}return r(e)}function lH(e,t,n){const o=new Map;return e.forEach(r=>{Pc(r)?r[n].forEach(i=>{o.set(i[t],i)}):o.set(r[t],r)}),o}const cH=ir&&"chrome"in window;ir&&navigator.userAgent.includes("Firefox");const x_=ir&&navigator.userAgent.includes("Safari")&&!cH,C_={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},uH={name:"Input",common:Be,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:g,heightTiny:y,heightSmall:S,heightMedium:C,heightLarge:_,clearColor:x,clearColorHover:w,clearColorPressed:T,placeholderColor:P,placeholderColorDisabled:k,iconColor:I,iconColorDisabled:A,iconColorHover:q,iconColorPressed:F}=e;return Object.assign(Object.assign({},C_),{countTextColorDisabled:o,countTextColor:n,heightTiny:y,heightSmall:S,heightMedium:C,heightLarge:_,fontSizeTiny:h,fontSizeSmall:m,fontSizeMedium:v,fontSizeLarge:g,lineHeight:p,lineHeightTextarea:p,borderRadius:f,iconSize:"16px",groupLabelColor:a,textColor:t,textColorDisabled:o,textDecorationColor:t,groupLabelTextColor:t,caretColor:r,placeholderColor:P,placeholderColorDisabled:k,color:a,colorDisabled:s,colorFocus:Ae(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 ${Ae(r,{alpha:.3})}`,loadingColor:r,loadingColorWarning:l,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,colorFocusWarning:Ae(l,{alpha:.1}),borderFocusWarning:`1px solid ${c}`,boxShadowFocusWarning:`0 0 8px 0 ${Ae(l,{alpha:.3})}`,caretColorWarning:l,loadingColorError:u,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,colorFocusError:Ae(u,{alpha:.1}),borderFocusError:`1px solid ${d}`,boxShadowFocusError:`0 0 8px 0 ${Ae(u,{alpha:.3})}`,caretColorError:u,clearColor:x,clearColorHover:w,clearColorPressed:T,iconColor:I,iconColorDisabled:A,iconColorHover:q,iconColorPressed:F,suffixTextColor:t})}},lo=uH,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:g,fontSizeLarge:y,heightTiny:S,heightSmall:C,heightMedium:_,heightLarge:x,actionColor:w,clearColor:T,clearColorHover:P,clearColorPressed:k,placeholderColor:I,placeholderColorDisabled:A,iconColor:q,iconColorDisabled:F,iconColorHover:O,iconColorPressed:$}=e;return Object.assign(Object.assign({},C_),{countTextColorDisabled:o,countTextColor:n,heightTiny:S,heightSmall:C,heightMedium:_,heightLarge:x,fontSizeTiny:m,fontSizeSmall:v,fontSizeMedium:g,fontSizeLarge:y,lineHeight:h,lineHeightTextarea:h,borderRadius:p,iconSize:"16px",groupLabelColor:w,groupLabelTextColor:t,textColor:t,textColorDisabled:o,textDecorationColor:t,caretColor:r,placeholderColor:I,placeholderColorDisabled:A,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 ${Ae(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 ${Ae(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 ${Ae(d,{alpha:.2})}`,caretColorError:d,clearColor:T,clearColorHover:P,clearColorPressed:k,iconColor:q,iconColorDisabled:F,iconColorHover:O,iconColorPressed:$,suffixTextColor:t})},fH={name:"Input",common:yt,self:dH},Yp=fH,w_="n-input";function hH(e){let t=0;for(const n of e)t++;return t}function zl(e){return e===""||e==null}function pH(e){const t=B(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 ht(e,r),{recordCursor:n,restoreCursor:o}}const _0=pe({name:"InputWordCount",setup(e,{slots:t}){const{mergedValueRef:n,maxlengthRef:o,mergedClsPrefixRef:r,countGraphemesRef:i}=He(w_),a=N(()=>{const{value:s}=n;return s===null||Array.isArray(s)?0:(i.value||hH)(s)});return()=>{const{value:s}=o,{value:l}=n;return b("span",{class:`${r.value}-input-word-count`},Qf(t.default,{value:l===null||Array.isArray(l)?"":l},()=>[s===void 0?a.value:`${a.value} / ${s}`]))}}}),mH=z("input",` + `,[V("& +",[D("content",{marginTop:"9px"})])]),D("content",{transition:"color .3s var(--n-bezier)",fontSize:"var(--n-font-size)"})]),D("icon",{transition:"color .3s var(--n-bezier)"})]),oH=Object.assign(Object.assign({},Fe.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}),il=pe({name:"Alert",inheritAttrs:!1,props:oH,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=ct(e),i=Fe("Alert","-alert",nH,JB,e,t),a=Rn("Alert",r,t),s=L(()=>{const{common:{cubicBezierEaseInOut:p},self:h}=i.value,{fontSize:m,borderRadius:v,titleFontWeight:g,lineHeight:y,iconSize:S,iconMargin:C,iconMarginRtl:_,closeIconSize:x,closeBorderRadius:w,closeSize:T,closeMargin:P,closeMarginRtl:k,padding:A}=h,{type:I}=e,{left:W,right:B}=si(C);return{"--n-bezier":p,"--n-color":h[Pe("color",I)],"--n-close-icon-size":x,"--n-close-border-radius":w,"--n-close-color-hover":h[Pe("closeColorHover",I)],"--n-close-color-pressed":h[Pe("closeColorPressed",I)],"--n-close-icon-color":h[Pe("closeIconColor",I)],"--n-close-icon-color-hover":h[Pe("closeIconColorHover",I)],"--n-close-icon-color-pressed":h[Pe("closeIconColorPressed",I)],"--n-icon-color":h[Pe("iconColor",I)],"--n-border":h[Pe("border",I)],"--n-title-text-color":h[Pe("titleTextColor",I)],"--n-content-text-color":h[Pe("contentTextColor",I)],"--n-line-height":y,"--n-border-radius":v,"--n-font-size":m,"--n-title-font-weight":g,"--n-icon-size":S,"--n-icon-margin":C,"--n-icon-margin-rtl":_,"--n-close-size":T,"--n-close-margin":P,"--n-close-margin-rtl":k,"--n-padding":A,"--n-icon-margin-left":W,"--n-icon-margin-right":B}}),l=o?Rt("alert",L(()=>e.type[0]),s,e):void 0,c=N(!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),b(yu,{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?b("div",Object.assign({},Mn(this.$attrs,o)),this.closable&&b(Ii,{clsPrefix:t,class:`${t}-alert__close`,onClick:this.handleCloseClick}),this.bordered&&b("div",{class:`${t}-alert__border`}),this.showIcon&&b("div",{class:`${t}-alert__icon`,"aria-hidden":"true"},Pn(n.icon,()=>[b(Bt,{clsPrefix:t},{default:()=>{switch(this.type){case"success":return b(Ei,null);case"info":return b(zr,null);case"warning":return b($i,null);case"error":return b(Ri,null);default:return null}}})])),b("div",{class:[`${t}-alert-body`,this.mergedBordered&&`${t}-alert-body--bordered`]},Ot(n.header,r=>{const i=r||this.title;return i?b("div",{class:`${t}-alert-body__title`},i):null}),n.default&&b("div",{class:`${t}-alert-body__content`},n))):null}})}}),rH={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"},iH=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:Ae(o,{alpha:.15}),linkTextColor:a,linkTextColorHover:r,linkTextColorPressed:i,linkTextColorActive:o})},aH={name:"Anchor",common:Be,self:iH},sH=aH;function Pc(e){return e.type==="group"}function y_(e){return e.type==="ignored"}function zd(e,t){try{return!!(1+t.toString().toLowerCase().indexOf(e.trim().toLowerCase()))}catch{return!1}}function x_(e,t){return{getIsGroup:Pc,getIgnored:y_,getKey(o){return Pc(o)?o.name||o.key||"key-required":o[e]},getChildren(o){return o[t]}}}function lH(e,t,n,o){if(!t)return e;function r(i){if(!Array.isArray(i))return[];const a=[];for(const s of i)if(Pc(s)){const l=r(s[o]);l.length&&a.push(Object.assign({},s,{[o]:l}))}else{if(y_(s))continue;t(n,s)&&a.push(s)}return a}return r(e)}function cH(e,t,n){const o=new Map;return e.forEach(r=>{Pc(r)?r[n].forEach(i=>{o.set(i[t],i)}):o.set(r[t],r)}),o}const uH=ir&&"chrome"in window;ir&&navigator.userAgent.includes("Firefox");const C_=ir&&navigator.userAgent.includes("Safari")&&!uH,w_={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},dH={name:"Input",common:Be,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:g,heightTiny:y,heightSmall:S,heightMedium:C,heightLarge:_,clearColor:x,clearColorHover:w,clearColorPressed:T,placeholderColor:P,placeholderColorDisabled:k,iconColor:A,iconColorDisabled:I,iconColorHover:W,iconColorPressed:B}=e;return Object.assign(Object.assign({},w_),{countTextColorDisabled:o,countTextColor:n,heightTiny:y,heightSmall:S,heightMedium:C,heightLarge:_,fontSizeTiny:h,fontSizeSmall:m,fontSizeMedium:v,fontSizeLarge:g,lineHeight:p,lineHeightTextarea:p,borderRadius:f,iconSize:"16px",groupLabelColor:a,textColor:t,textColorDisabled:o,textDecorationColor:t,groupLabelTextColor:t,caretColor:r,placeholderColor:P,placeholderColorDisabled:k,color:a,colorDisabled:s,colorFocus:Ae(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 ${Ae(r,{alpha:.3})}`,loadingColor:r,loadingColorWarning:l,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,colorFocusWarning:Ae(l,{alpha:.1}),borderFocusWarning:`1px solid ${c}`,boxShadowFocusWarning:`0 0 8px 0 ${Ae(l,{alpha:.3})}`,caretColorWarning:l,loadingColorError:u,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,colorFocusError:Ae(u,{alpha:.1}),borderFocusError:`1px solid ${d}`,boxShadowFocusError:`0 0 8px 0 ${Ae(u,{alpha:.3})}`,caretColorError:u,clearColor:x,clearColorHover:w,clearColorPressed:T,iconColor:A,iconColorDisabled:I,iconColorHover:W,iconColorPressed:B,suffixTextColor:t})}},lo=dH,fH=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:g,fontSizeLarge:y,heightTiny:S,heightSmall:C,heightMedium:_,heightLarge:x,actionColor:w,clearColor:T,clearColorHover:P,clearColorPressed:k,placeholderColor:A,placeholderColorDisabled:I,iconColor:W,iconColorDisabled:B,iconColorHover:z,iconColorPressed:$}=e;return Object.assign(Object.assign({},w_),{countTextColorDisabled:o,countTextColor:n,heightTiny:S,heightSmall:C,heightMedium:_,heightLarge:x,fontSizeTiny:m,fontSizeSmall:v,fontSizeMedium:g,fontSizeLarge:y,lineHeight:h,lineHeightTextarea:h,borderRadius:p,iconSize:"16px",groupLabelColor:w,groupLabelTextColor:t,textColor:t,textColorDisabled:o,textDecorationColor:t,caretColor:r,placeholderColor:A,placeholderColorDisabled:I,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 ${Ae(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 ${Ae(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 ${Ae(d,{alpha:.2})}`,caretColorError:d,clearColor:T,clearColorHover:P,clearColorPressed:k,iconColor:W,iconColorDisabled:B,iconColorHover:z,iconColorPressed:$,suffixTextColor:t})},hH={name:"Input",common:yt,self:fH},Yp=hH,__="n-input";function pH(e){let t=0;for(const n of e)t++;return t}function zl(e){return e===""||e==null}function mH(e){const t=N(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 ht(e,r),{recordCursor:n,restoreCursor:o}}const S0=pe({name:"InputWordCount",setup(e,{slots:t}){const{mergedValueRef:n,maxlengthRef:o,mergedClsPrefixRef:r,countGraphemesRef:i}=He(__),a=L(()=>{const{value:s}=n;return s===null||Array.isArray(s)?0:(i.value||pH)(s)});return()=>{const{value:s}=o,{value:l}=n;return b("span",{class:`${r.value}-input-word-count`},Qf(t.default,{value:l===null||Array.isArray(l)?"":l},()=>[s===void 0?a.value:`${a.value} / ${s}`]))}}}),gH=O("input",` max-width: 100%; cursor: text; line-height: 1.5; @@ -967,14 +967,14 @@ ${t} color: var(--n-text-color); caret-color: var(--n-caret-color); background-color: transparent; - `,[j("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",` + `,[V("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",` width: 0; height: 0; display: none; - `),j("&::placeholder",` + `),V("&::placeholder",` color: #0000; -webkit-text-fill-color: transparent !important; - `),j("&:-webkit-autofill ~",[D("placeholder","display: none;")])]),K("round",[Pt("textarea","border-radius: calc(var(--n-height) / 2);")]),D("placeholder",` + `),V("&:-webkit-autofill ~",[D("placeholder","display: none;")])]),K("round",[Pt("textarea","border-radius: calc(var(--n-height) / 2);")]),D("placeholder",` pointer-events: none; position: absolute; left: 0; @@ -983,7 +983,7 @@ ${t} bottom: 0; overflow: hidden; color: var(--n-placeholder-color); - `,[j("span",` + `,[V("span",` width: 100%; display: inline-block; `)]),K("textarea",[D("placeholder","overflow: visible;")]),Pt("autosize","width: 100%;"),K("autosize",[D("textarea-el, input-el",` @@ -991,7 +991,7 @@ ${t} top: 0; left: 0; height: 100%; - `)]),z("input-wrapper",` + `)]),O("input-wrapper",` overflow: hidden; display: inline-flex; flex-grow: 1; @@ -1011,7 +1011,7 @@ ${t} padding: 0; height: var(--n-height); line-height: var(--n-height); - `,[j("+",[D("placeholder",` + `,[V("+",[D("placeholder",` display: flex; align-items: center; `)])]),Pt("textarea",[D("placeholder","white-space: nowrap;")]),D("eye",` @@ -1019,11 +1019,11 @@ ${t} align-items: center; justify-content: center; transition: color .3s var(--n-bezier); - `),K("textarea","width: 100%;",[z("input-word-count",` + `),K("textarea","width: 100%;",[O("input-word-count",` position: absolute; right: var(--n-padding-right); bottom: var(--n-padding-vertical); - `),K("resizable",[z("input-wrapper",` + `),K("resizable",[O("input-wrapper",` resize: vertical; min-height: var(--n-height); `)]),D("textarea-el, textarea-mirror, placeholder",` @@ -1055,9 +1055,9 @@ ${t} transition: color .3s var(--n-bezier); color: var(--n-text-color); white-space: nowrap; - `,[z("icon",` + `,[O("icon",` color: var(--n-icon-color); - `),z("base-icon",` + `),O("base-icon",` color: var(--n-icon-color); `)])]),K("disabled",` cursor: not-allowed; @@ -1066,24 +1066,24 @@ ${t} cursor: not-allowed; color: var(--n-text-color-disabled); text-decoration-color: var(--n-text-color-disabled); - `),D("placeholder","color: var(--n-placeholder-color-disabled);"),D("separator","color: var(--n-text-color-disabled);",[z("icon",` + `),D("placeholder","color: var(--n-placeholder-color-disabled);"),D("separator","color: var(--n-text-color-disabled);",[O("icon",` color: var(--n-icon-color-disabled); - `),z("base-icon",` + `),O("base-icon",` color: var(--n-icon-color-disabled); - `)]),z("input-word-count",` + `)]),O("input-word-count",` color: var(--n-count-text-color-disabled); - `),D("suffix, prefix","color: var(--n-text-color-disabled);",[z("icon",` + `),D("suffix, prefix","color: var(--n-text-color-disabled);",[O("icon",` color: var(--n-icon-color-disabled); - `),z("internal-icon",` + `),O("internal-icon",` color: var(--n-icon-color-disabled); `)])]),Pt("disabled",[D("eye",` color: var(--n-icon-color); cursor: pointer; - `,[j("&:hover",` + `,[V("&:hover",` color: var(--n-icon-color-hover); - `),j("&:active",` + `),V("&:active",` color: var(--n-icon-color-pressed); - `)]),j("&:hover",[D("state-border","border: var(--n-border-hover);")]),K("focus","background-color: var(--n-color-focus);",[D("state-border",` + `)]),V("&:hover",[D("state-border","border: var(--n-border-hover);")]),K("focus","background-color: var(--n-color-focus);",[D("state-border",` border: var(--n-border-focus); box-shadow: var(--n-box-shadow-focus); `)])]),D("border, state-border",` @@ -1114,23 +1114,23 @@ ${t} align-items: center; justify-content: center; color: var(--n-suffix-text-color); - `,[z("base-loading",` + `,[O("base-loading",` font-size: var(--n-icon-size); margin: 0 2px; color: var(--n-loading-color); - `),z("base-clear",` + `),O("base-clear",` font-size: var(--n-icon-size); - `,[D("placeholder",[z("base-icon",` + `,[D("placeholder",[O("base-icon",` transition: color .3s var(--n-bezier); color: var(--n-icon-color); font-size: var(--n-icon-size); - `)])]),j(">",[z("icon",` + `)])]),V(">",[O("icon",` transition: color .3s var(--n-bezier); color: var(--n-icon-color); font-size: var(--n-icon-size); - `)]),z("base-icon",` + `)]),O("base-icon",` font-size: var(--n-icon-size); - `)]),z("input-word-count",` + `)]),O("input-word-count",` pointer-events: none; line-height: 1.5; font-size: .85em; @@ -1138,15 +1138,15 @@ ${t} transition: color .3s var(--n-bezier); margin-left: 4px; font-variant: tabular-nums; - `),["warning","error"].map(e=>K(`${e}-status`,[Pt("disabled",[z("base-loading",` + `),["warning","error"].map(e=>K(`${e}-status`,[Pt("disabled",[O("base-loading",` color: var(--n-loading-color-${e}) `),D("input-el, textarea-el",` caret-color: var(--n-caret-color-${e}); `),D("state-border",` border: var(--n-border-${e}); - `),j("&:hover",[D("state-border",` + `),V("&:hover",[D("state-border",` border: var(--n-border-hover-${e}); - `)]),j("&:focus",` + `)]),V("&:focus",` background-color: var(--n-color-focus-${e}); `,[D("state-border",` box-shadow: var(--n-box-shadow-focus-${e}); @@ -1156,65 +1156,65 @@ ${t} `,[D("state-border",` box-shadow: var(--n-box-shadow-focus-${e}); border: var(--n-border-focus-${e}); - `)])])]))]),gH=z("input",[K("disabled",[D("input-el, textarea-el",` + `)])])]))]),vH=O("input",[K("disabled",[D("input-el, textarea-el",` -webkit-text-fill-color: var(--n-text-color-disabled); - `)])]),vH=Object.assign(Object.assign({},Fe.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}),Co=pe({name:"Input",props:vH,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=ct(e),i=Fe("Input","-input",mH,Yp,e,t);x_&&Br("-input-safari",gH,t);const a=B(null),s=B(null),l=B(null),c=B(null),u=B(null),d=B(null),f=B(null),p=pH(f),h=B(null),{localeRef:m}=Pi("Input"),v=B(e.defaultValue),g=Ne(e,"value"),y=rn(g,v),S=ar(e),{mergedSizeRef:C,mergedDisabledRef:_,mergedStatusRef:x}=S,w=B(!1),T=B(!1),P=B(!1),k=B(!1);let I=null;const A=N(()=>{const{placeholder:ae,pair:Te}=e;return Te?Array.isArray(ae)?ae:ae===void 0?["",""]:[ae,ae]:ae===void 0?[m.value.placeholder]:[ae]}),q=N(()=>{const{value:ae}=P,{value:Te}=y,{value:Ke}=A;return!ae&&(zl(Te)||Array.isArray(Te)&&zl(Te[0]))&&Ke[0]}),F=N(()=>{const{value:ae}=P,{value:Te}=y,{value:Ke}=A;return!ae&&Ke[1]&&(zl(Te)||Array.isArray(Te)&&zl(Te[1]))}),O=wt(()=>e.internalForceFocus||w.value),$=wt(()=>{if(_.value||e.readonly||!e.clearable||!O.value&&!T.value)return!1;const{value:ae}=y,{value:Te}=O;return e.pair?!!(Array.isArray(ae)&&(ae[0]||ae[1]))&&(T.value||Te):!!ae&&(T.value||Te)}),W=N(()=>{const{showPasswordOn:ae}=e;if(ae)return ae;if(e.showPasswordToggle)return"click"}),Q=B(!1),L=N(()=>{const{textDecoration:ae}=e;return ae?Array.isArray(ae)?ae.map(Te=>({textDecoration:Te})):[{textDecoration:ae}]:["",""]}),M=B(void 0),se=()=>{var ae,Te;if(e.type==="textarea"){const{autosize:Ke}=e;if(Ke&&(M.value=(Te=(ae=h.value)===null||ae===void 0?void 0:ae.$el)===null||Te===void 0?void 0:Te.offsetWidth),!s.value||typeof Ke=="boolean")return;const{paddingTop:It,paddingBottom:Kt,lineHeight:Lt}=window.getComputedStyle(s.value),uo=Number(It.slice(0,-2)),fo=Number(Kt.slice(0,-2)),ho=Number(Lt.slice(0,-2)),{value:Wo}=l;if(!Wo)return;if(Ke.minRows){const qo=Math.max(Ke.minRows,1),Hr=`${uo+fo+ho*qo}px`;Wo.style.minHeight=Hr}if(Ke.maxRows){const qo=`${uo+fo+ho*Ke.maxRows}px`;Wo.style.maxHeight=qo}}},X=N(()=>{const{maxlength:ae}=e;return ae===void 0?void 0:Number(ae)});Vt(()=>{const{value:ae}=y;Array.isArray(ae)||ot(ae)});const ne=Gn().proxy;function fe(ae){const{onUpdateValue:Te,"onUpdate:value":Ke,onInput:It}=e,{nTriggerFormInput:Kt}=S;Te&&Re(Te,ae),Ke&&Re(Ke,ae),It&&Re(It,ae),v.value=ae,Kt()}function xe(ae){const{onChange:Te}=e,{nTriggerFormChange:Ke}=S;Te&&Re(Te,ae),v.value=ae,Ke()}function Ce(ae){const{onBlur:Te}=e,{nTriggerFormBlur:Ke}=S;Te&&Re(Te,ae),Ke()}function G(ae){const{onFocus:Te}=e,{nTriggerFormFocus:Ke}=S;Te&&Re(Te,ae),Ke()}function ve(ae){const{onClear:Te}=e;Te&&Re(Te,ae)}function ue(ae){const{onInputBlur:Te}=e;Te&&Re(Te,ae)}function re(ae){const{onInputFocus:Te}=e;Te&&Re(Te,ae)}function ke(){const{onDeactivate:ae}=e;ae&&Re(ae)}function V(){const{onActivate:ae}=e;ae&&Re(ae)}function R(ae){const{onClick:Te}=e;Te&&Re(Te,ae)}function E(ae){const{onWrapperFocus:Te}=e;Te&&Re(Te,ae)}function U(ae){const{onWrapperBlur:Te}=e;Te&&Re(Te,ae)}function ie(){P.value=!0}function Y(ae){P.value=!1,ae.target===d.value?he(ae,1):he(ae,0)}function he(ae,Te=0,Ke="input"){const It=ae.target.value;if(ot(It),ae instanceof InputEvent&&!ae.isComposing&&(P.value=!1),e.type==="textarea"){const{value:Lt}=h;Lt&&Lt.syncUnifiedContainer()}if(I=It,P.value)return;p.recordCursor();const Kt=ye(It);if(Kt)if(!e.pair)Ke==="input"?fe(It):xe(It);else{let{value:Lt}=y;Array.isArray(Lt)?Lt=[Lt[0],Lt[1]]:Lt=["",""],Lt[Te]=It,Ke==="input"?fe(Lt):xe(Lt)}ne.$forceUpdate(),Kt||jt(p.restoreCursor)}function ye(ae){const{countGraphemes:Te,maxlength:Ke,minlength:It}=e;if(Te){let Lt;if(Ke!==void 0&&(Lt===void 0&&(Lt=Te(ae)),Lt>Number(Ke))||It!==void 0&&(Lt===void 0&&(Lt=Te(ae)),Lt{It.preventDefault(),_t("mouseup",document,Te)};if(At("mouseup",document,Te),W.value!=="mousedown")return;Q.value=!0;const Ke=()=>{Q.value=!1,_t("mouseup",document,Ke)};At("mouseup",document,Ke)}function Oe(ae){e.onKeyup&&Re(e.onKeyup,ae)}function rt(ae){switch(e.onKeydown&&Re(e.onKeydown,ae),ae.key){case"Escape":Z();break;case"Enter":it(ae);break}}function it(ae){var Te,Ke;if(e.passivelyActivated){const{value:It}=k;if(It){e.internalDeactivateOnEnter&&Z();return}ae.preventDefault(),e.type==="textarea"?(Te=s.value)===null||Te===void 0||Te.focus():(Ke=u.value)===null||Ke===void 0||Ke.focus()}}function Z(){e.passivelyActivated&&(k.value=!1,jt(()=>{var ae;(ae=a.value)===null||ae===void 0||ae.focus()}))}function we(){var ae,Te,Ke;_.value||(e.passivelyActivated?(ae=a.value)===null||ae===void 0||ae.focus():((Te=s.value)===null||Te===void 0||Te.focus(),(Ke=u.value)===null||Ke===void 0||Ke.focus()))}function Ie(){var ae;!((ae=a.value)===null||ae===void 0)&&ae.contains(document.activeElement)&&document.activeElement.blur()}function Ve(){var ae,Te;(ae=s.value)===null||ae===void 0||ae.select(),(Te=u.value)===null||Te===void 0||Te.select()}function Xe(){_.value||(s.value?s.value.focus():u.value&&u.value.focus())}function Qe(){const{value:ae}=a;ae!=null&&ae.contains(document.activeElement)&&ae!==document.activeElement&&Z()}function nt(ae){if(e.type==="textarea"){const{value:Te}=s;Te==null||Te.scrollTo(ae)}else{const{value:Te}=u;Te==null||Te.scrollTo(ae)}}function ot(ae){const{type:Te,pair:Ke,autosize:It}=e;if(!Ke&&It)if(Te==="textarea"){const{value:Kt}=l;Kt&&(Kt.textContent=(ae??"")+`\r -`)}else{const{value:Kt}=c;Kt&&(ae?Kt.textContent=ae:Kt.innerHTML=" ")}}function kt(){se()}const sn=B({top:"0"});function Wt(ae){var Te;const{scrollTop:Ke}=ae.target;sn.value.top=`${-Ke}px`,(Te=h.value)===null||Te===void 0||Te.syncUnifiedContainer()}let Se=null;un(()=>{const{autosize:ae,type:Te}=e;ae&&Te==="textarea"?Se=ht(y,Ke=>{!Array.isArray(Ke)&&Ke!==I&&ot(Ke)}):Se==null||Se()});let Le=null;un(()=>{e.type==="textarea"?Le=ht(y,ae=>{var Te;!Array.isArray(ae)&&ae!==I&&((Te=h.value)===null||Te===void 0||Te.syncUnifiedContainer())}):Le==null||Le()}),lt(w_,{mergedValueRef:y,maxlengthRef:X,mergedClsPrefixRef:t,countGraphemesRef:Ne(e,"countGraphemes")});const Ze={wrapperElRef:a,inputElRef:u,textareaElRef:s,isCompositing:P,focus:we,blur:Ie,select:Ve,deactivate:Qe,activate:Xe,scrollTo:nt},pt=Rn("Input",r,t),gt=N(()=>{const{value:ae}=C,{common:{cubicBezierEaseInOut:Te},self:{color:Ke,borderRadius:It,textColor:Kt,caretColor:Lt,caretColorError:uo,caretColorWarning:fo,textDecorationColor:ho,border:Wo,borderDisabled:qo,borderHover:Hr,borderFocus:Va,placeholderColor:Ua,placeholderColorDisabled:Wu,lineHeightTextarea:qu,colorDisabled:Ku,colorFocus:Gu,textColorDisabled:Yu,boxShadowFocus:Xu,iconSize:Qu,colorFocusWarning:Zu,boxShadowFocusWarning:qS,borderWarning:KS,borderFocusWarning:GS,borderHoverWarning:YS,colorFocusError:XS,boxShadowFocusError:QS,borderError:ZS,borderFocusError:JS,borderHoverError:ek,clearSize:tk,clearColor:nk,clearColorHover:ok,clearColorPressed:rk,iconColor:ik,iconColorDisabled:ak,suffixTextColor:sk,countTextColor:lk,countTextColorDisabled:ck,iconColorHover:uk,iconColorPressed:dk,loadingColor:fk,loadingColorError:hk,loadingColorWarning:pk,[Pe("padding",ae)]:mk,[Pe("fontSize",ae)]:gk,[Pe("height",ae)]:vk}}=i.value,{left:bk,right:yk}=si(mk);return{"--n-bezier":Te,"--n-count-text-color":lk,"--n-count-text-color-disabled":ck,"--n-color":Ke,"--n-font-size":gk,"--n-border-radius":It,"--n-height":vk,"--n-padding-left":bk,"--n-padding-right":yk,"--n-text-color":Kt,"--n-caret-color":Lt,"--n-text-decoration-color":ho,"--n-border":Wo,"--n-border-disabled":qo,"--n-border-hover":Hr,"--n-border-focus":Va,"--n-placeholder-color":Ua,"--n-placeholder-color-disabled":Wu,"--n-icon-size":Qu,"--n-line-height-textarea":qu,"--n-color-disabled":Ku,"--n-color-focus":Gu,"--n-text-color-disabled":Yu,"--n-box-shadow-focus":Xu,"--n-loading-color":fk,"--n-caret-color-warning":fo,"--n-color-focus-warning":Zu,"--n-box-shadow-focus-warning":qS,"--n-border-warning":KS,"--n-border-focus-warning":GS,"--n-border-hover-warning":YS,"--n-loading-color-warning":pk,"--n-caret-color-error":uo,"--n-color-focus-error":XS,"--n-box-shadow-focus-error":QS,"--n-border-error":ZS,"--n-border-focus-error":JS,"--n-border-hover-error":ek,"--n-loading-color-error":hk,"--n-clear-color":nk,"--n-clear-size":tk,"--n-clear-color-hover":ok,"--n-clear-color-pressed":rk,"--n-icon-color":ik,"--n-icon-color-hover":uk,"--n-icon-color-pressed":dk,"--n-icon-color-disabled":ak,"--n-suffix-text-color":sk}}),at=o?Rt("input",N(()=>{const{value:ae}=C;return ae[0]}),gt,e):void 0;return Object.assign(Object.assign({},Ze),{wrapperElRef:a,inputElRef:u,inputMirrorElRef:c,inputEl2Ref:d,textareaElRef:s,textareaMirrorElRef:l,textareaScrollbarInstRef:h,rtlEnabled:pt,uncontrolledValue:v,mergedValue:y,passwordVisible:Q,mergedPlaceholder:A,showPlaceholder1:q,showPlaceholder2:F,mergedFocus:O,isComposing:P,activated:k,showClearButton:$,mergedSize:C,mergedDisabled:_,textDecorationStyle:L,mergedClsPrefix:t,mergedBordered:n,mergedShowPasswordOn:W,placeholderStyle:sn,mergedStatus:x,textAreaScrollContainerWidth:M,handleTextAreaScroll:Wt,handleCompositionStart:ie,handleCompositionEnd:Y,handleInput:he,handleInputBlur:ge,handleInputFocus:J,handleWrapperBlur:de,handleWrapperFocus:_e,handleMouseEnter:tt,handleMouseLeave:Me,handleMouseDown:qe,handleChange:oe,handleClick:Ee,handleClear:De,handlePasswordToggleClick:je,handlePasswordToggleMousedown:dt,handleWrapperKeydown:rt,handleWrapperKeyup:Oe,handleTextAreaMirrorResize:kt,getTextareaScrollContainer:()=>s.value,mergedTheme:i,cssVars:o?void 0:gt,themeClass:at==null?void 0:at.themeClass,onRender:at==null?void 0:at.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(),b("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},b("div",{class:`${n}-input-wrapper`},Ot(l.prefix,c=>c&&b("div",{class:`${n}-input__prefix`},c)),i==="textarea"?b(_o,{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 b(et,null,b("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?b("div",{class:`${n}-input__placeholder`,style:[this.placeholderStyle,f],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?b(Ar,{onResize:this.handleTextAreaMirrorResize},{default:()=>b("div",{ref:"textareaMirrorElRef",class:`${n}-input__textarea-mirror`,key:"mirror"})}):null)}}):b("div",{class:`${n}-input__input`},b("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?b("div",{class:`${n}-input__placeholder`},b("span",null,this.mergedPlaceholder[0])):null,this.autosize?b("div",{class:`${n}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"}," "):null),!this.pair&&Ot(l.suffix,c=>c||this.clearable||this.showCount||this.mergedShowPasswordOn||this.loading!==void 0?b("div",{class:`${n}-input__suffix`},[Ot(l["clear-icon-placeholder"],u=>(this.clearable||u)&&b(mh,{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?b(p_,{clsPrefix:n,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?c:null,this.showCount&&this.type!=="textarea"?b(_0,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"?b("div",{class:`${n}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?Pn(l["password-visible-icon"],()=>[b(Bt,{clsPrefix:n},{default:()=>b(bN,null)})]):Pn(l["password-invisible-icon"],()=>[b(Bt,{clsPrefix:n},{default:()=>b(yN,null)})])):null]):null)),this.pair?b("span",{class:`${n}-input__separator`},Pn(l.separator,()=>[this.separator])):null,this.pair?b("div",{class:`${n}-input-wrapper`},b("div",{class:`${n}-input__input`},b("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?b("div",{class:`${n}-input__placeholder`},b("span",null,this.mergedPlaceholder[1])):null),Ot(l.suffix,c=>(this.clearable||c)&&b("div",{class:`${n}-input__suffix`},[this.clearable&&b(mh,{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?b("div",{class:`${n}-input__border`}):null,this.mergedBordered?b("div",{class:`${n}-input__state-border`}):null,this.showCount&&i==="textarea"?b(_0,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)}}),bH=z("input-group",` + `)])]),bH=Object.assign(Object.assign({},Fe.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}),Co=pe({name:"Input",props:bH,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=ct(e),i=Fe("Input","-input",gH,Yp,e,t);C_&&Br("-input-safari",vH,t);const a=N(null),s=N(null),l=N(null),c=N(null),u=N(null),d=N(null),f=N(null),p=mH(f),h=N(null),{localeRef:m}=Pi("Input"),v=N(e.defaultValue),g=Ne(e,"value"),y=rn(g,v),S=ar(e),{mergedSizeRef:C,mergedDisabledRef:_,mergedStatusRef:x}=S,w=N(!1),T=N(!1),P=N(!1),k=N(!1);let A=null;const I=L(()=>{const{placeholder:ae,pair:Te}=e;return Te?Array.isArray(ae)?ae:ae===void 0?["",""]:[ae,ae]:ae===void 0?[m.value.placeholder]:[ae]}),W=L(()=>{const{value:ae}=P,{value:Te}=y,{value:Ke}=I;return!ae&&(zl(Te)||Array.isArray(Te)&&zl(Te[0]))&&Ke[0]}),B=L(()=>{const{value:ae}=P,{value:Te}=y,{value:Ke}=I;return!ae&&Ke[1]&&(zl(Te)||Array.isArray(Te)&&zl(Te[1]))}),z=wt(()=>e.internalForceFocus||w.value),$=wt(()=>{if(_.value||e.readonly||!e.clearable||!z.value&&!T.value)return!1;const{value:ae}=y,{value:Te}=z;return e.pair?!!(Array.isArray(ae)&&(ae[0]||ae[1]))&&(T.value||Te):!!ae&&(T.value||Te)}),j=L(()=>{const{showPasswordOn:ae}=e;if(ae)return ae;if(e.showPasswordToggle)return"click"}),X=N(!1),F=L(()=>{const{textDecoration:ae}=e;return ae?Array.isArray(ae)?ae.map(Te=>({textDecoration:Te})):[{textDecoration:ae}]:["",""]}),M=N(void 0),se=()=>{var ae,Te;if(e.type==="textarea"){const{autosize:Ke}=e;if(Ke&&(M.value=(Te=(ae=h.value)===null||ae===void 0?void 0:ae.$el)===null||Te===void 0?void 0:Te.offsetWidth),!s.value||typeof Ke=="boolean")return;const{paddingTop:It,paddingBottom:Kt,lineHeight:Lt}=window.getComputedStyle(s.value),uo=Number(It.slice(0,-2)),fo=Number(Kt.slice(0,-2)),ho=Number(Lt.slice(0,-2)),{value:Wo}=l;if(!Wo)return;if(Ke.minRows){const qo=Math.max(Ke.minRows,1),Hr=`${uo+fo+ho*qo}px`;Wo.style.minHeight=Hr}if(Ke.maxRows){const qo=`${uo+fo+ho*Ke.maxRows}px`;Wo.style.maxHeight=qo}}},Q=L(()=>{const{maxlength:ae}=e;return ae===void 0?void 0:Number(ae)});Vt(()=>{const{value:ae}=y;Array.isArray(ae)||ot(ae)});const ne=Gn().proxy;function fe(ae){const{onUpdateValue:Te,"onUpdate:value":Ke,onInput:It}=e,{nTriggerFormInput:Kt}=S;Te&&Re(Te,ae),Ke&&Re(Ke,ae),It&&Re(It,ae),v.value=ae,Kt()}function xe(ae){const{onChange:Te}=e,{nTriggerFormChange:Ke}=S;Te&&Re(Te,ae),v.value=ae,Ke()}function Ce(ae){const{onBlur:Te}=e,{nTriggerFormBlur:Ke}=S;Te&&Re(Te,ae),Ke()}function G(ae){const{onFocus:Te}=e,{nTriggerFormFocus:Ke}=S;Te&&Re(Te,ae),Ke()}function ve(ae){const{onClear:Te}=e;Te&&Re(Te,ae)}function ue(ae){const{onInputBlur:Te}=e;Te&&Re(Te,ae)}function re(ae){const{onInputFocus:Te}=e;Te&&Re(Te,ae)}function ke(){const{onDeactivate:ae}=e;ae&&Re(ae)}function U(){const{onActivate:ae}=e;ae&&Re(ae)}function R(ae){const{onClick:Te}=e;Te&&Re(Te,ae)}function E(ae){const{onWrapperFocus:Te}=e;Te&&Re(Te,ae)}function q(ae){const{onWrapperBlur:Te}=e;Te&&Re(Te,ae)}function ie(){P.value=!0}function Y(ae){P.value=!1,ae.target===d.value?he(ae,1):he(ae,0)}function he(ae,Te=0,Ke="input"){const It=ae.target.value;if(ot(It),ae instanceof InputEvent&&!ae.isComposing&&(P.value=!1),e.type==="textarea"){const{value:Lt}=h;Lt&&Lt.syncUnifiedContainer()}if(A=It,P.value)return;p.recordCursor();const Kt=ye(It);if(Kt)if(!e.pair)Ke==="input"?fe(It):xe(It);else{let{value:Lt}=y;Array.isArray(Lt)?Lt=[Lt[0],Lt[1]]:Lt=["",""],Lt[Te]=It,Ke==="input"?fe(Lt):xe(Lt)}ne.$forceUpdate(),Kt||jt(p.restoreCursor)}function ye(ae){const{countGraphemes:Te,maxlength:Ke,minlength:It}=e;if(Te){let Lt;if(Ke!==void 0&&(Lt===void 0&&(Lt=Te(ae)),Lt>Number(Ke))||It!==void 0&&(Lt===void 0&&(Lt=Te(ae)),Lt{It.preventDefault(),_t("mouseup",document,Te)};if(At("mouseup",document,Te),j.value!=="mousedown")return;X.value=!0;const Ke=()=>{X.value=!1,_t("mouseup",document,Ke)};At("mouseup",document,Ke)}function Oe(ae){e.onKeyup&&Re(e.onKeyup,ae)}function rt(ae){switch(e.onKeydown&&Re(e.onKeydown,ae),ae.key){case"Escape":Z();break;case"Enter":it(ae);break}}function it(ae){var Te,Ke;if(e.passivelyActivated){const{value:It}=k;if(It){e.internalDeactivateOnEnter&&Z();return}ae.preventDefault(),e.type==="textarea"?(Te=s.value)===null||Te===void 0||Te.focus():(Ke=u.value)===null||Ke===void 0||Ke.focus()}}function Z(){e.passivelyActivated&&(k.value=!1,jt(()=>{var ae;(ae=a.value)===null||ae===void 0||ae.focus()}))}function we(){var ae,Te,Ke;_.value||(e.passivelyActivated?(ae=a.value)===null||ae===void 0||ae.focus():((Te=s.value)===null||Te===void 0||Te.focus(),(Ke=u.value)===null||Ke===void 0||Ke.focus()))}function Ie(){var ae;!((ae=a.value)===null||ae===void 0)&&ae.contains(document.activeElement)&&document.activeElement.blur()}function Ve(){var ae,Te;(ae=s.value)===null||ae===void 0||ae.select(),(Te=u.value)===null||Te===void 0||Te.select()}function Xe(){_.value||(s.value?s.value.focus():u.value&&u.value.focus())}function Qe(){const{value:ae}=a;ae!=null&&ae.contains(document.activeElement)&&ae!==document.activeElement&&Z()}function nt(ae){if(e.type==="textarea"){const{value:Te}=s;Te==null||Te.scrollTo(ae)}else{const{value:Te}=u;Te==null||Te.scrollTo(ae)}}function ot(ae){const{type:Te,pair:Ke,autosize:It}=e;if(!Ke&&It)if(Te==="textarea"){const{value:Kt}=l;Kt&&(Kt.textContent=(ae??"")+`\r +`)}else{const{value:Kt}=c;Kt&&(ae?Kt.textContent=ae:Kt.innerHTML=" ")}}function kt(){se()}const sn=N({top:"0"});function Wt(ae){var Te;const{scrollTop:Ke}=ae.target;sn.value.top=`${-Ke}px`,(Te=h.value)===null||Te===void 0||Te.syncUnifiedContainer()}let Se=null;un(()=>{const{autosize:ae,type:Te}=e;ae&&Te==="textarea"?Se=ht(y,Ke=>{!Array.isArray(Ke)&&Ke!==A&&ot(Ke)}):Se==null||Se()});let Le=null;un(()=>{e.type==="textarea"?Le=ht(y,ae=>{var Te;!Array.isArray(ae)&&ae!==A&&((Te=h.value)===null||Te===void 0||Te.syncUnifiedContainer())}):Le==null||Le()}),lt(__,{mergedValueRef:y,maxlengthRef:Q,mergedClsPrefixRef:t,countGraphemesRef:Ne(e,"countGraphemes")});const Ze={wrapperElRef:a,inputElRef:u,textareaElRef:s,isCompositing:P,focus:we,blur:Ie,select:Ve,deactivate:Qe,activate:Xe,scrollTo:nt},pt=Rn("Input",r,t),gt=L(()=>{const{value:ae}=C,{common:{cubicBezierEaseInOut:Te},self:{color:Ke,borderRadius:It,textColor:Kt,caretColor:Lt,caretColorError:uo,caretColorWarning:fo,textDecorationColor:ho,border:Wo,borderDisabled:qo,borderHover:Hr,borderFocus:Va,placeholderColor:Ua,placeholderColorDisabled:Wu,lineHeightTextarea:qu,colorDisabled:Ku,colorFocus:Gu,textColorDisabled:Yu,boxShadowFocus:Xu,iconSize:Qu,colorFocusWarning:Zu,boxShadowFocusWarning:KS,borderWarning:GS,borderFocusWarning:YS,borderHoverWarning:XS,colorFocusError:QS,boxShadowFocusError:ZS,borderError:JS,borderFocusError:ek,borderHoverError:tk,clearSize:nk,clearColor:ok,clearColorHover:rk,clearColorPressed:ik,iconColor:ak,iconColorDisabled:sk,suffixTextColor:lk,countTextColor:ck,countTextColorDisabled:uk,iconColorHover:dk,iconColorPressed:fk,loadingColor:hk,loadingColorError:pk,loadingColorWarning:mk,[Pe("padding",ae)]:gk,[Pe("fontSize",ae)]:vk,[Pe("height",ae)]:bk}}=i.value,{left:yk,right:xk}=si(gk);return{"--n-bezier":Te,"--n-count-text-color":ck,"--n-count-text-color-disabled":uk,"--n-color":Ke,"--n-font-size":vk,"--n-border-radius":It,"--n-height":bk,"--n-padding-left":yk,"--n-padding-right":xk,"--n-text-color":Kt,"--n-caret-color":Lt,"--n-text-decoration-color":ho,"--n-border":Wo,"--n-border-disabled":qo,"--n-border-hover":Hr,"--n-border-focus":Va,"--n-placeholder-color":Ua,"--n-placeholder-color-disabled":Wu,"--n-icon-size":Qu,"--n-line-height-textarea":qu,"--n-color-disabled":Ku,"--n-color-focus":Gu,"--n-text-color-disabled":Yu,"--n-box-shadow-focus":Xu,"--n-loading-color":hk,"--n-caret-color-warning":fo,"--n-color-focus-warning":Zu,"--n-box-shadow-focus-warning":KS,"--n-border-warning":GS,"--n-border-focus-warning":YS,"--n-border-hover-warning":XS,"--n-loading-color-warning":mk,"--n-caret-color-error":uo,"--n-color-focus-error":QS,"--n-box-shadow-focus-error":ZS,"--n-border-error":JS,"--n-border-focus-error":ek,"--n-border-hover-error":tk,"--n-loading-color-error":pk,"--n-clear-color":ok,"--n-clear-size":nk,"--n-clear-color-hover":rk,"--n-clear-color-pressed":ik,"--n-icon-color":ak,"--n-icon-color-hover":dk,"--n-icon-color-pressed":fk,"--n-icon-color-disabled":sk,"--n-suffix-text-color":lk}}),at=o?Rt("input",L(()=>{const{value:ae}=C;return ae[0]}),gt,e):void 0;return Object.assign(Object.assign({},Ze),{wrapperElRef:a,inputElRef:u,inputMirrorElRef:c,inputEl2Ref:d,textareaElRef:s,textareaMirrorElRef:l,textareaScrollbarInstRef:h,rtlEnabled:pt,uncontrolledValue:v,mergedValue:y,passwordVisible:X,mergedPlaceholder:I,showPlaceholder1:W,showPlaceholder2:B,mergedFocus:z,isComposing:P,activated:k,showClearButton:$,mergedSize:C,mergedDisabled:_,textDecorationStyle:F,mergedClsPrefix:t,mergedBordered:n,mergedShowPasswordOn:j,placeholderStyle:sn,mergedStatus:x,textAreaScrollContainerWidth:M,handleTextAreaScroll:Wt,handleCompositionStart:ie,handleCompositionEnd:Y,handleInput:he,handleInputBlur:ge,handleInputFocus:J,handleWrapperBlur:de,handleWrapperFocus:_e,handleMouseEnter:tt,handleMouseLeave:Me,handleMouseDown:qe,handleChange:oe,handleClick:Ee,handleClear:De,handlePasswordToggleClick:je,handlePasswordToggleMousedown:dt,handleWrapperKeydown:rt,handleWrapperKeyup:Oe,handleTextAreaMirrorResize:kt,getTextareaScrollContainer:()=>s.value,mergedTheme:i,cssVars:o?void 0:gt,themeClass:at==null?void 0:at.themeClass,onRender:at==null?void 0:at.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(),b("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},b("div",{class:`${n}-input-wrapper`},Ot(l.prefix,c=>c&&b("div",{class:`${n}-input__prefix`},c)),i==="textarea"?b(_o,{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 b(et,null,b("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?b("div",{class:`${n}-input__placeholder`,style:[this.placeholderStyle,f],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?b(Ar,{onResize:this.handleTextAreaMirrorResize},{default:()=>b("div",{ref:"textareaMirrorElRef",class:`${n}-input__textarea-mirror`,key:"mirror"})}):null)}}):b("div",{class:`${n}-input__input`},b("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?b("div",{class:`${n}-input__placeholder`},b("span",null,this.mergedPlaceholder[0])):null,this.autosize?b("div",{class:`${n}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"}," "):null),!this.pair&&Ot(l.suffix,c=>c||this.clearable||this.showCount||this.mergedShowPasswordOn||this.loading!==void 0?b("div",{class:`${n}-input__suffix`},[Ot(l["clear-icon-placeholder"],u=>(this.clearable||u)&&b(mh,{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?b(m_,{clsPrefix:n,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?c:null,this.showCount&&this.type!=="textarea"?b(S0,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"?b("div",{class:`${n}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?Pn(l["password-visible-icon"],()=>[b(Bt,{clsPrefix:n},{default:()=>b(yN,null)})]):Pn(l["password-invisible-icon"],()=>[b(Bt,{clsPrefix:n},{default:()=>b(xN,null)})])):null]):null)),this.pair?b("span",{class:`${n}-input__separator`},Pn(l.separator,()=>[this.separator])):null,this.pair?b("div",{class:`${n}-input-wrapper`},b("div",{class:`${n}-input__input`},b("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?b("div",{class:`${n}-input__placeholder`},b("span",null,this.mergedPlaceholder[1])):null),Ot(l.suffix,c=>(this.clearable||c)&&b("div",{class:`${n}-input__suffix`},[this.clearable&&b(mh,{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?b("div",{class:`${n}-input__border`}):null,this.mergedBordered?b("div",{class:`${n}-input__state-border`}):null,this.showCount&&i==="textarea"?b(S0,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)}}),yH=O("input-group",` display: inline-flex; width: 100%; flex-wrap: nowrap; vertical-align: bottom; -`,[j(">",[z("input",[j("&:not(:last-child)",` +`,[V(">",[O("input",[V("&:not(:last-child)",` border-top-right-radius: 0!important; border-bottom-right-radius: 0!important; - `),j("&:not(:first-child)",` + `),V("&:not(:first-child)",` border-top-left-radius: 0!important; border-bottom-left-radius: 0!important; margin-left: -1px!important; - `)]),z("button",[j("&:not(:last-child)",` + `)]),O("button",[V("&:not(:last-child)",` border-top-right-radius: 0!important; border-bottom-right-radius: 0!important; `,[D("state-border, border",` border-top-right-radius: 0!important; border-bottom-right-radius: 0!important; - `)]),j("&:not(:first-child)",` + `)]),V("&:not(:first-child)",` border-top-left-radius: 0!important; border-bottom-left-radius: 0!important; `,[D("state-border, border",` border-top-left-radius: 0!important; border-bottom-left-radius: 0!important; - `)])]),j("*",[j("&:not(:last-child)",` + `)])]),V("*",[V("&:not(:last-child)",` border-top-right-radius: 0!important; border-bottom-right-radius: 0!important; - `,[j(">",[z("input",` + `,[V(">",[O("input",` border-top-right-radius: 0!important; border-bottom-right-radius: 0!important; - `),z("base-selection",[z("base-selection-label",` + `),O("base-selection",[O("base-selection-label",` border-top-right-radius: 0!important; border-bottom-right-radius: 0!important; - `),z("base-selection-tags",` + `),O("base-selection-tags",` border-top-right-radius: 0!important; border-bottom-right-radius: 0!important; `),D("box-shadow, border, state-border",` border-top-right-radius: 0!important; border-bottom-right-radius: 0!important; - `)])])]),j("&:not(:first-child)",` + `)])])]),V("&:not(:first-child)",` margin-left: -1px!important; border-top-left-radius: 0!important; border-bottom-left-radius: 0!important; - `,[j(">",[z("input",` + `,[V(">",[O("input",` border-top-left-radius: 0!important; border-bottom-left-radius: 0!important; - `),z("base-selection",[z("base-selection-label",` + `),O("base-selection",[O("base-selection-label",` border-top-left-radius: 0!important; border-bottom-left-radius: 0!important; - `),z("base-selection-tags",` + `),O("base-selection-tags",` border-top-left-radius: 0!important; border-bottom-left-radius: 0!important; `),D("box-shadow, border, state-border",` border-top-left-radius: 0!important; border-bottom-left-radius: 0!important; - `)])])])])])]),yH={},wu=pe({name:"InputGroup",props:yH,setup(e){const{mergedClsPrefixRef:t}=ct(e);return Br("-input-group",bH,t),{mergedClsPrefix:t}},render(){const{mergedClsPrefix:e}=this;return b("div",{class:`${e}-input-group`},this.$slots)}});function xH(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const CH={name:"AutoComplete",common:Be,peers:{InternalSelectMenu:ol,Input:lo},self:xH},wH=CH,_H=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:Ye(o,n),colorModal:Ye(u,n),colorPopover:Ye(d,n)}},SH={name:"Avatar",common:Be,self:_H},__=SH,kH=()=>({gap:"-12px"}),TH={name:"AvatarGroup",common:Be,peers:{Avatar:__},self:kH},PH=TH,S_={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},RH={name:"BackTop",common:Be,self(e){const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},S_),{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)"})}},EH=RH,$H=e=>{const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},S_),{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)"})},AH={name:"BackTop",common:yt,self:$H},IH=AH,MH=b("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xlinkHref:"http://www.w3.org/1999/xlink"},b("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},b("g",{transform:"translate(-139.000000, -4423.000000)","fill-rule":"nonzero"},b("g",{transform:"translate(120.000000, 4285.000000)"},b("g",{transform:"translate(7.000000, 126.000000)"},b("g",{transform:"translate(24.000000, 24.000000) scale(1, -1) translate(-24.000000, -24.000000) translate(12.000000, 12.000000)"},b("g",{transform:"translate(4.000000, 2.000000)"},b("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"}),b("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"})))))))),zH=z("back-top",` + `)])])])])])]),xH={},wu=pe({name:"InputGroup",props:xH,setup(e){const{mergedClsPrefixRef:t}=ct(e);return Br("-input-group",yH,t),{mergedClsPrefix:t}},render(){const{mergedClsPrefix:e}=this;return b("div",{class:`${e}-input-group`},this.$slots)}});function CH(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const wH={name:"AutoComplete",common:Be,peers:{InternalSelectMenu:ol,Input:lo},self:CH},_H=wH,SH=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:Ye(o,n),colorModal:Ye(u,n),colorPopover:Ye(d,n)}},kH={name:"Avatar",common:Be,self:SH},S_=kH,TH=()=>({gap:"-12px"}),PH={name:"AvatarGroup",common:Be,peers:{Avatar:S_},self:TH},RH=PH,k_={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},EH={name:"BackTop",common:Be,self(e){const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},k_),{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)"})}},$H=EH,AH=e=>{const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},k_),{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)"})},IH={name:"BackTop",common:yt,self:AH},MH=IH,zH=b("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xlinkHref:"http://www.w3.org/1999/xlink"},b("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},b("g",{transform:"translate(-139.000000, -4423.000000)","fill-rule":"nonzero"},b("g",{transform:"translate(120.000000, 4285.000000)"},b("g",{transform:"translate(7.000000, 126.000000)"},b("g",{transform:"translate(24.000000, 24.000000) scale(1, -1) translate(-24.000000, -24.000000) translate(12.000000, 12.000000)"},b("g",{transform:"translate(4.000000, 2.000000)"},b("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"}),b("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"})))))))),OH=O("back-top",` position: fixed; right: 40px; bottom: 40px; @@ -1232,36 +1232,36 @@ ${t} min-width: var(--n-width); box-shadow: var(--n-box-shadow); background-color: var(--n-color); -`,[Da(),K("transition-disabled",{transition:"none !important"}),z("base-icon",` +`,[Da(),K("transition-disabled",{transition:"none !important"}),O("base-icon",` font-size: var(--n-icon-size); color: var(--n-icon-color); transition: color .3s var(--n-bezier); - `),j("svg",{pointerEvents:"none"}),j("&:hover",{boxShadow:"var(--n-box-shadow-hover)"},[z("base-icon",{color:"var(--n-icon-color-hover)"})]),j("&:active",{boxShadow:"var(--n-box-shadow-pressed)"},[z("base-icon",{color:"var(--n-icon-color-pressed)"})])]),OH=Object.assign(Object.assign({},Fe.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}),DH=pe({name:"BackTop",inheritAttrs:!1,props:OH,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=ct(e),o=B(null),r=B(!1);un(()=>{const{value:C}=o;if(C===null){r.value=!1;return}r.value=C>=e.visibilityHeight});const i=B(!1);ht(r,C=>{var _;i.value&&((_=e["onUpdate:show"])===null||_===void 0||_.call(e,C))});const a=Ne(e,"show"),s=rn(a,r),l=B(!0),c=B(null),u=N(()=>({right:`calc(${Ut(e.right)} + ${oh.value})`,bottom:Ut(e.bottom)}));let d,f;ht(s,C=>{var _,x;i.value&&(C&&((_=e.onShow)===null||_===void 0||_.call(e)),(x=e.onHide)===null||x===void 0||x.call(e))});const p=Fe("BackTop","-back-top",zH,IH,e,t);function h(){var C;if(f)return;f=!0;const _=((C=e.target)===null||C===void 0?void 0:C.call(e))||SA(e.listenTo)||CC(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(){(Tb(d)?document.documentElement:d).scrollTo({top:0,behavior:"smooth"})}function v(){o.value=(Tb(d)?document.documentElement:d).scrollTop,i.value||jt(()=>{i.value=!0})}function g(){l.value=!1}Vt(()=>{h(),l.value=s.value}),tn(()=>{d&&d.removeEventListener("scroll",v)});const y=N(()=>{const{self:{color:C,boxShadow:_,boxShadowHover:x,boxShadowPressed:w,iconColor:T,iconColorHover:P,iconColorPressed:k,width:I,height:A,iconSize:q,borderRadius:F,textColor:O},common:{cubicBezierEaseInOut:$}}=p.value;return{"--n-bezier":$,"--n-border-radius":F,"--n-height":A,"--n-width":I,"--n-box-shadow":_,"--n-box-shadow-hover":x,"--n-box-shadow-pressed":w,"--n-color":C,"--n-icon-size":q,"--n-icon-color":T,"--n-icon-color-hover":P,"--n-icon-color-pressed":k,"--n-text-color":O}}),S=n?Rt("back-top",void 0,y,e):void 0;return{placeholderRef:c,style:u,mergedShow:s,isMounted:Nr(),scrollElement:B(null),scrollTop:o,DomInfoReady:i,transitionDisabled:l,mergedClsPrefix:t,handleAfterEnter:g,handleScroll:v,handleClick:m,cssVars:n?void 0:y,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){const{mergedClsPrefix:e}=this;return b("div",{ref:"placeholderRef",class:`${e}-back-top-placeholder`,style:"display: none","aria-hidden":!0},b(pu,{to:this.to,show:this.mergedShow},{default:()=>b(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?b("div",Mn(this.$attrs,{class:[`${e}-back-top`,this.themeClass,this.transitionDisabled&&`${e}-back-top--transition-disabled`],style:[this.style,this.cssVars],onClick:this.handleClick}),Pn(this.$slots.default,()=>[b(Bt,{clsPrefix:e},{default:()=>MH})])):null}})}))}}),LH={name:"Badge",common:Be,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}}},FH=LH,NH={fontWeightActive:"400"},k_=e=>{const{fontSize:t,textColor3:n,textColor2:o,borderRadius:r,buttonColor2Hover:i,buttonColor2Pressed:a}=e;return Object.assign(Object.assign({},NH),{fontSize:t,itemLineHeight:"1.25",itemTextColor:n,itemTextColorHover:o,itemTextColorPressed:o,itemTextColorActive:o,itemBorderRadius:r,itemColorHover:i,itemColorPressed:a,separatorColor:n})},BH={name:"Breadcrumb",common:yt,self:k_},HH=BH,jH={name:"Breadcrumb",common:Be,self:k_},VH=jH,UH=z("breadcrumb",` + `),V("svg",{pointerEvents:"none"}),V("&:hover",{boxShadow:"var(--n-box-shadow-hover)"},[O("base-icon",{color:"var(--n-icon-color-hover)"})]),V("&:active",{boxShadow:"var(--n-box-shadow-pressed)"},[O("base-icon",{color:"var(--n-icon-color-pressed)"})])]),DH=Object.assign(Object.assign({},Fe.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}),LH=pe({name:"BackTop",inheritAttrs:!1,props:DH,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=ct(e),o=N(null),r=N(!1);un(()=>{const{value:C}=o;if(C===null){r.value=!1;return}r.value=C>=e.visibilityHeight});const i=N(!1);ht(r,C=>{var _;i.value&&((_=e["onUpdate:show"])===null||_===void 0||_.call(e,C))});const a=Ne(e,"show"),s=rn(a,r),l=N(!0),c=N(null),u=L(()=>({right:`calc(${Ut(e.right)} + ${oh.value})`,bottom:Ut(e.bottom)}));let d,f;ht(s,C=>{var _,x;i.value&&(C&&((_=e.onShow)===null||_===void 0||_.call(e)),(x=e.onHide)===null||x===void 0||x.call(e))});const p=Fe("BackTop","-back-top",OH,MH,e,t);function h(){var C;if(f)return;f=!0;const _=((C=e.target)===null||C===void 0?void 0:C.call(e))||kA(e.listenTo)||wC(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(){(Pb(d)?document.documentElement:d).scrollTo({top:0,behavior:"smooth"})}function v(){o.value=(Pb(d)?document.documentElement:d).scrollTop,i.value||jt(()=>{i.value=!0})}function g(){l.value=!1}Vt(()=>{h(),l.value=s.value}),tn(()=>{d&&d.removeEventListener("scroll",v)});const y=L(()=>{const{self:{color:C,boxShadow:_,boxShadowHover:x,boxShadowPressed:w,iconColor:T,iconColorHover:P,iconColorPressed:k,width:A,height:I,iconSize:W,borderRadius:B,textColor:z},common:{cubicBezierEaseInOut:$}}=p.value;return{"--n-bezier":$,"--n-border-radius":B,"--n-height":I,"--n-width":A,"--n-box-shadow":_,"--n-box-shadow-hover":x,"--n-box-shadow-pressed":w,"--n-color":C,"--n-icon-size":W,"--n-icon-color":T,"--n-icon-color-hover":P,"--n-icon-color-pressed":k,"--n-text-color":z}}),S=n?Rt("back-top",void 0,y,e):void 0;return{placeholderRef:c,style:u,mergedShow:s,isMounted:Nr(),scrollElement:N(null),scrollTop:o,DomInfoReady:i,transitionDisabled:l,mergedClsPrefix:t,handleAfterEnter:g,handleScroll:v,handleClick:m,cssVars:n?void 0:y,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){const{mergedClsPrefix:e}=this;return b("div",{ref:"placeholderRef",class:`${e}-back-top-placeholder`,style:"display: none","aria-hidden":!0},b(pu,{to:this.to,show:this.mergedShow},{default:()=>b(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?b("div",Mn(this.$attrs,{class:[`${e}-back-top`,this.themeClass,this.transitionDisabled&&`${e}-back-top--transition-disabled`],style:[this.style,this.cssVars],onClick:this.handleClick}),Pn(this.$slots.default,()=>[b(Bt,{clsPrefix:e},{default:()=>zH})])):null}})}))}}),FH={name:"Badge",common:Be,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}}},NH=FH,BH={fontWeightActive:"400"},T_=e=>{const{fontSize:t,textColor3:n,textColor2:o,borderRadius:r,buttonColor2Hover:i,buttonColor2Pressed:a}=e;return Object.assign(Object.assign({},BH),{fontSize:t,itemLineHeight:"1.25",itemTextColor:n,itemTextColorHover:o,itemTextColorPressed:o,itemTextColorActive:o,itemBorderRadius:r,itemColorHover:i,itemColorPressed:a,separatorColor:n})},HH={name:"Breadcrumb",common:yt,self:T_},jH=HH,VH={name:"Breadcrumb",common:Be,self:T_},UH=VH,WH=O("breadcrumb",` white-space: nowrap; cursor: default; line-height: var(--n-item-line-height); -`,[j("ul",` +`,[V("ul",` list-style: none; padding: 0; margin: 0; - `),j("a",` + `),V("a",` color: inherit; text-decoration: inherit; - `),z("breadcrumb-item",` + `),O("breadcrumb-item",` font-size: var(--n-font-size); transition: color .3s var(--n-bezier); display: inline-flex; align-items: center; - `,[z("icon",` + `,[O("icon",` font-size: 18px; vertical-align: -.2em; transition: color .3s var(--n-bezier); color: var(--n-item-text-color); - `),j("&:not(:last-child)",[K("clickable",[D("link",` + `),V("&:not(:last-child)",[K("clickable",[D("link",` cursor: pointer; - `,[j("&:hover",` + `,[V("&:hover",` background-color: var(--n-item-color-hover); - `),j("&:active",` + `),V("&:active",` background-color: var(--n-item-color-pressed); `)])])]),D("link",` padding: 4px; @@ -1271,13 +1271,13 @@ ${t} color .3s var(--n-bezier); color: var(--n-item-text-color); position: relative; - `,[j("&:hover",` + `,[V("&:hover",` color: var(--n-item-text-color-hover); - `,[z("icon",` + `,[O("icon",` color: var(--n-item-text-color-hover); - `)]),j("&:active",` + `)]),V("&:active",` color: var(--n-item-text-color-pressed); - `,[z("icon",` + `,[O("icon",` color: var(--n-item-text-color-pressed); `)])]),D("separator",` margin: 0 8px; @@ -1285,15 +1285,15 @@ ${t} transition: color .3s var(--n-bezier); user-select: none; -webkit-user-select: none; - `),j("&:last-child",[D("link",` + `),V("&:last-child",[D("link",` font-weight: var(--n-font-weight-active); cursor: unset; color: var(--n-item-text-color-active); - `,[z("icon",` + `,[O("icon",` color: var(--n-item-text-color-active); `)]),D("separator",` display: none; - `)])])]),T_="n-breadcrumb",WH=Object.assign(Object.assign({},Fe.props),{separator:{type:String,default:"/"}}),qH=pe({name:"Breadcrumb",props:WH,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=ct(e),o=Fe("Breadcrumb","-breadcrumb",UH,HH,e,t);lt(T_,{separatorRef:Ne(e,"separator"),mergedClsPrefixRef:t});const r=N(()=>{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:g}}=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":g}}),i=n?Rt("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),b("nav",{class:[`${this.mergedClsPrefix}-breadcrumb`,this.themeClass],style:this.cssVars,"aria-label":"Breadcrumb"},b("ul",null,this.$slots))}}),KH=(e=ir?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=B(t());return Vt(()=>{e&&(e.addEventListener("popstate",n),e.addEventListener("hashchange",n))}),qs(()=>{e&&(e.removeEventListener("popstate",n),e.removeEventListener("hashchange",n))}),o},GH={separator:String,href:String,clickable:{type:Boolean,default:!0},onClick:Function},YH=pe({name:"BreadcrumbItem",props:GH,setup(e,{slots:t}){const n=He(T_,null);if(!n)return()=>null;const{separatorRef:o,mergedClsPrefixRef:r}=n,i=KH(),a=N(()=>e.href?"a":"span"),s=N(()=>i.value.href===e.href?"location":null);return()=>{const{value:l}=r;return b("li",{class:[`${l}-breadcrumb-item`,e.clickable&&`${l}-breadcrumb-item--clickable`]},b(a.value,{class:`${l}-breadcrumb-item__link`,"aria-current":s.value,href:e.href,onClick:e.onClick},t),b("span",{class:`${l}-breadcrumb-item__separator`,"aria-hidden":"true"},Pn(t.separator,()=>{var c;return[(c=e.separator)!==null&&c!==void 0?c:o.value]})))}}});function qr(e){return Ye(e,[255,255,255,.16])}function Ol(e){return Ye(e,[0,0,0,.12])}const XH="n-button-group",QH={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"},P_=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:g,infoColor:y,infoColorHover:S,infoColorPressed:C,successColor:_,successColorHover:x,successColorPressed:w,warningColor:T,warningColorHover:P,warningColorPressed:k,errorColor:I,errorColorHover:A,errorColorPressed:q,fontWeight:F,buttonColor2:O,buttonColor2Hover:$,buttonColor2Pressed:W,fontWeightStrong:Q}=e;return Object.assign(Object.assign({},QH),{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:O,colorSecondaryHover:$,colorSecondaryPressed:W,colorTertiary:O,colorTertiaryHover:$,colorTertiaryPressed:W,colorQuaternary:"#0000",colorQuaternaryHover:$,colorQuaternaryPressed:W,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:g,textColorHoverPrimary:g,textColorPressedPrimary:g,textColorFocusPrimary:g,textColorDisabledPrimary:g,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:y,colorHoverInfo:S,colorPressedInfo:C,colorFocusInfo:S,colorDisabledInfo:y,textColorInfo:g,textColorHoverInfo:g,textColorPressedInfo:g,textColorFocusInfo:g,textColorDisabledInfo:g,textColorTextInfo:y,textColorTextHoverInfo:S,textColorTextPressedInfo:C,textColorTextFocusInfo:S,textColorTextDisabledInfo:d,textColorGhostInfo:y,textColorGhostHoverInfo:S,textColorGhostPressedInfo:C,textColorGhostFocusInfo:S,textColorGhostDisabledInfo:y,borderInfo:`1px solid ${y}`,borderHoverInfo:`1px solid ${S}`,borderPressedInfo:`1px solid ${C}`,borderFocusInfo:`1px solid ${S}`,borderDisabledInfo:`1px solid ${y}`,rippleColorInfo:y,colorSuccess:_,colorHoverSuccess:x,colorPressedSuccess:w,colorFocusSuccess:x,colorDisabledSuccess:_,textColorSuccess:g,textColorHoverSuccess:g,textColorPressedSuccess:g,textColorFocusSuccess:g,textColorDisabledSuccess:g,textColorTextSuccess:_,textColorTextHoverSuccess:x,textColorTextPressedSuccess:w,textColorTextFocusSuccess:x,textColorTextDisabledSuccess:d,textColorGhostSuccess:_,textColorGhostHoverSuccess:x,textColorGhostPressedSuccess:w,textColorGhostFocusSuccess:x,textColorGhostDisabledSuccess:_,borderSuccess:`1px solid ${_}`,borderHoverSuccess:`1px solid ${x}`,borderPressedSuccess:`1px solid ${w}`,borderFocusSuccess:`1px solid ${x}`,borderDisabledSuccess:`1px solid ${_}`,rippleColorSuccess:_,colorWarning:T,colorHoverWarning:P,colorPressedWarning:k,colorFocusWarning:P,colorDisabledWarning:T,textColorWarning:g,textColorHoverWarning:g,textColorPressedWarning:g,textColorFocusWarning:g,textColorDisabledWarning:g,textColorTextWarning:T,textColorTextHoverWarning:P,textColorTextPressedWarning:k,textColorTextFocusWarning:P,textColorTextDisabledWarning:d,textColorGhostWarning:T,textColorGhostHoverWarning:P,textColorGhostPressedWarning:k,textColorGhostFocusWarning:P,textColorGhostDisabledWarning:T,borderWarning:`1px solid ${T}`,borderHoverWarning:`1px solid ${P}`,borderPressedWarning:`1px solid ${k}`,borderFocusWarning:`1px solid ${P}`,borderDisabledWarning:`1px solid ${T}`,rippleColorWarning:T,colorError:I,colorHoverError:A,colorPressedError:q,colorFocusError:A,colorDisabledError:I,textColorError:g,textColorHoverError:g,textColorPressedError:g,textColorFocusError:g,textColorDisabledError:g,textColorTextError:I,textColorTextHoverError:A,textColorTextPressedError:q,textColorTextFocusError:A,textColorTextDisabledError:d,textColorGhostError:I,textColorGhostHoverError:A,textColorGhostPressedError:q,textColorGhostFocusError:A,textColorGhostDisabledError:I,borderError:`1px solid ${I}`,borderHoverError:`1px solid ${A}`,borderPressedError:`1px solid ${q}`,borderFocusError:`1px solid ${A}`,borderDisabledError:`1px solid ${I}`,rippleColorError:I,waveOpacity:"0.6",fontWeight:F,fontWeightStrong:Q})},ZH={name:"Button",common:yt,self:P_},_u=ZH,JH={name:"Button",common:Be,self(e){const t=P_(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},Hn=JH,ej=j([z("button",` + `)])])]),P_="n-breadcrumb",qH=Object.assign(Object.assign({},Fe.props),{separator:{type:String,default:"/"}}),KH=pe({name:"Breadcrumb",props:qH,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=ct(e),o=Fe("Breadcrumb","-breadcrumb",WH,jH,e,t);lt(P_,{separatorRef:Ne(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:g}}=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":g}}),i=n?Rt("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),b("nav",{class:[`${this.mergedClsPrefix}-breadcrumb`,this.themeClass],style:this.cssVars,"aria-label":"Breadcrumb"},b("ul",null,this.$slots))}}),GH=(e=ir?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=N(t());return Vt(()=>{e&&(e.addEventListener("popstate",n),e.addEventListener("hashchange",n))}),qs(()=>{e&&(e.removeEventListener("popstate",n),e.removeEventListener("hashchange",n))}),o},YH={separator:String,href:String,clickable:{type:Boolean,default:!0},onClick:Function},XH=pe({name:"BreadcrumbItem",props:YH,setup(e,{slots:t}){const n=He(P_,null);if(!n)return()=>null;const{separatorRef:o,mergedClsPrefixRef:r}=n,i=GH(),a=L(()=>e.href?"a":"span"),s=L(()=>i.value.href===e.href?"location":null);return()=>{const{value:l}=r;return b("li",{class:[`${l}-breadcrumb-item`,e.clickable&&`${l}-breadcrumb-item--clickable`]},b(a.value,{class:`${l}-breadcrumb-item__link`,"aria-current":s.value,href:e.href,onClick:e.onClick},t),b("span",{class:`${l}-breadcrumb-item__separator`,"aria-hidden":"true"},Pn(t.separator,()=>{var c;return[(c=e.separator)!==null&&c!==void 0?c:o.value]})))}}});function qr(e){return Ye(e,[255,255,255,.16])}function Ol(e){return Ye(e,[0,0,0,.12])}const QH="n-button-group",ZH={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"},R_=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:g,infoColor:y,infoColorHover:S,infoColorPressed:C,successColor:_,successColorHover:x,successColorPressed:w,warningColor:T,warningColorHover:P,warningColorPressed:k,errorColor:A,errorColorHover:I,errorColorPressed:W,fontWeight:B,buttonColor2:z,buttonColor2Hover:$,buttonColor2Pressed:j,fontWeightStrong:X}=e;return Object.assign(Object.assign({},ZH),{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:z,colorSecondaryHover:$,colorSecondaryPressed:j,colorTertiary:z,colorTertiaryHover:$,colorTertiaryPressed:j,colorQuaternary:"#0000",colorQuaternaryHover:$,colorQuaternaryPressed:j,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:g,textColorHoverPrimary:g,textColorPressedPrimary:g,textColorFocusPrimary:g,textColorDisabledPrimary:g,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:y,colorHoverInfo:S,colorPressedInfo:C,colorFocusInfo:S,colorDisabledInfo:y,textColorInfo:g,textColorHoverInfo:g,textColorPressedInfo:g,textColorFocusInfo:g,textColorDisabledInfo:g,textColorTextInfo:y,textColorTextHoverInfo:S,textColorTextPressedInfo:C,textColorTextFocusInfo:S,textColorTextDisabledInfo:d,textColorGhostInfo:y,textColorGhostHoverInfo:S,textColorGhostPressedInfo:C,textColorGhostFocusInfo:S,textColorGhostDisabledInfo:y,borderInfo:`1px solid ${y}`,borderHoverInfo:`1px solid ${S}`,borderPressedInfo:`1px solid ${C}`,borderFocusInfo:`1px solid ${S}`,borderDisabledInfo:`1px solid ${y}`,rippleColorInfo:y,colorSuccess:_,colorHoverSuccess:x,colorPressedSuccess:w,colorFocusSuccess:x,colorDisabledSuccess:_,textColorSuccess:g,textColorHoverSuccess:g,textColorPressedSuccess:g,textColorFocusSuccess:g,textColorDisabledSuccess:g,textColorTextSuccess:_,textColorTextHoverSuccess:x,textColorTextPressedSuccess:w,textColorTextFocusSuccess:x,textColorTextDisabledSuccess:d,textColorGhostSuccess:_,textColorGhostHoverSuccess:x,textColorGhostPressedSuccess:w,textColorGhostFocusSuccess:x,textColorGhostDisabledSuccess:_,borderSuccess:`1px solid ${_}`,borderHoverSuccess:`1px solid ${x}`,borderPressedSuccess:`1px solid ${w}`,borderFocusSuccess:`1px solid ${x}`,borderDisabledSuccess:`1px solid ${_}`,rippleColorSuccess:_,colorWarning:T,colorHoverWarning:P,colorPressedWarning:k,colorFocusWarning:P,colorDisabledWarning:T,textColorWarning:g,textColorHoverWarning:g,textColorPressedWarning:g,textColorFocusWarning:g,textColorDisabledWarning:g,textColorTextWarning:T,textColorTextHoverWarning:P,textColorTextPressedWarning:k,textColorTextFocusWarning:P,textColorTextDisabledWarning:d,textColorGhostWarning:T,textColorGhostHoverWarning:P,textColorGhostPressedWarning:k,textColorGhostFocusWarning:P,textColorGhostDisabledWarning:T,borderWarning:`1px solid ${T}`,borderHoverWarning:`1px solid ${P}`,borderPressedWarning:`1px solid ${k}`,borderFocusWarning:`1px solid ${P}`,borderDisabledWarning:`1px solid ${T}`,rippleColorWarning:T,colorError:A,colorHoverError:I,colorPressedError:W,colorFocusError:I,colorDisabledError:A,textColorError:g,textColorHoverError:g,textColorPressedError:g,textColorFocusError:g,textColorDisabledError:g,textColorTextError:A,textColorTextHoverError:I,textColorTextPressedError:W,textColorTextFocusError:I,textColorTextDisabledError:d,textColorGhostError:A,textColorGhostHoverError:I,textColorGhostPressedError:W,textColorGhostFocusError:I,textColorGhostDisabledError:A,borderError:`1px solid ${A}`,borderHoverError:`1px solid ${I}`,borderPressedError:`1px solid ${W}`,borderFocusError:`1px solid ${I}`,borderDisabledError:`1px solid ${A}`,rippleColorError:A,waveOpacity:"0.6",fontWeight:B,fontWeightStrong:X})},JH={name:"Button",common:yt,self:R_},_u=JH,ej={name:"Button",common:Be,self(e){const t=R_(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},Hn=ej,tj=V([O("button",` margin: 0; font-weight: var(--n-font-weight); line-height: 1; @@ -1325,7 +1325,7 @@ ${t} background-color .3s var(--n-bezier), opacity .3s var(--n-bezier), border-color .3s var(--n-bezier); - `,[K("color",[D("border",{borderColor:"var(--n-border-color)"}),K("disabled",[D("border",{borderColor:"var(--n-border-color-disabled)"})]),Pt("disabled",[j("&:focus",[D("state-border",{borderColor:"var(--n-border-color-focus)"})]),j("&:hover",[D("state-border",{borderColor:"var(--n-border-color-hover)"})]),j("&:active",[D("state-border",{borderColor:"var(--n-border-color-pressed)"})]),K("pressed",[D("state-border",{borderColor:"var(--n-border-color-pressed)"})])])]),K("disabled",{backgroundColor:"var(--n-color-disabled)",color:"var(--n-text-color-disabled)"},[D("border",{border:"var(--n-border-disabled)"})]),Pt("disabled",[j("&:focus",{backgroundColor:"var(--n-color-focus)",color:"var(--n-text-color-focus)"},[D("state-border",{border:"var(--n-border-focus)"})]),j("&:hover",{backgroundColor:"var(--n-color-hover)",color:"var(--n-text-color-hover)"},[D("state-border",{border:"var(--n-border-hover)"})]),j("&:active",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[D("state-border",{border:"var(--n-border-pressed)"})]),K("pressed",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[D("state-border",{border:"var(--n-border-pressed)"})])]),K("loading","cursor: wait;"),z("base-wave",` + `,[K("color",[D("border",{borderColor:"var(--n-border-color)"}),K("disabled",[D("border",{borderColor:"var(--n-border-color-disabled)"})]),Pt("disabled",[V("&:focus",[D("state-border",{borderColor:"var(--n-border-color-focus)"})]),V("&:hover",[D("state-border",{borderColor:"var(--n-border-color-hover)"})]),V("&:active",[D("state-border",{borderColor:"var(--n-border-color-pressed)"})]),K("pressed",[D("state-border",{borderColor:"var(--n-border-color-pressed)"})])])]),K("disabled",{backgroundColor:"var(--n-color-disabled)",color:"var(--n-text-color-disabled)"},[D("border",{border:"var(--n-border-disabled)"})]),Pt("disabled",[V("&:focus",{backgroundColor:"var(--n-color-focus)",color:"var(--n-text-color-focus)"},[D("state-border",{border:"var(--n-border-focus)"})]),V("&:hover",{backgroundColor:"var(--n-color-hover)",color:"var(--n-text-color-hover)"},[D("state-border",{border:"var(--n-border-hover)"})]),V("&:active",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[D("state-border",{border:"var(--n-border-pressed)"})]),K("pressed",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[D("state-border",{border:"var(--n-border-pressed)"})])]),K("loading","cursor: wait;"),O("base-wave",` pointer-events: none; top: 0; right: 0; @@ -1334,7 +1334,7 @@ ${t} animation-iteration-count: 1; animation-duration: var(--n-ripple-duration); animation-timing-function: var(--n-bezier-ease-out), var(--n-bezier-ease-out); - `,[K("active",{zIndex:1,animationName:"button-wave-spread, button-wave-opacity"})]),ir&&"MozBoxSizing"in document.createElement("div").style?j("&::moz-focus-inner",{border:0}):null,D("border, state-border",` + `,[K("active",{zIndex:1,animationName:"button-wave-spread, button-wave-opacity"})]),ir&&"MozBoxSizing"in document.createElement("div").style?V("&::moz-focus-inner",{border:0}):null,D("border, state-border",` position: absolute; left: 0; top: 0; @@ -1352,7 +1352,7 @@ ${t} font-size: var(--n-icon-size); position: relative; flex-shrink: 0; - `,[z("icon-slot",` + `,[O("icon-slot",` height: var(--n-icon-size); width: var(--n-icon-size); position: absolute; @@ -1362,15 +1362,15 @@ ${t} display: flex; align-items: center; justify-content: center; - `,[Un({top:"50%",originalTransform:"translateY(-50%)"})]),KB()]),D("content",` + `,[Un({top:"50%",originalTransform:"translateY(-50%)"})]),GB()]),D("content",` display: flex; align-items: center; flex-wrap: nowrap; min-width: 0; - `,[j("~",[D("icon",{margin:"var(--n-icon-margin)",marginRight:0})])]),K("block",` + `,[V("~",[D("icon",{margin:"var(--n-icon-margin)",marginRight:0})])]),K("block",` display: flex; width: 100%; - `),K("dashed",[D("border, state-border",{borderStyle:"dashed !important"})]),K("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),j("@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)"}}),j("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]),tj=Object.assign(Object.assign({},Fe.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:!x_}}),R_=pe({name:"Button",props:tj,setup(e){const t=B(null),n=B(null),o=B(!1),r=wt(()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered),i=He(XH,{}),{mergedSizeRef:a}=ar({},{defaultSize:"medium",mergedSize:C=>{const{size:_}=e;if(_)return _;const{size:x}=i;if(x)return x;const{mergedSize:w}=C||{};return w?w.value:"medium"}}),s=N(()=>e.focusable&&!e.disabled),l=C=>{var _;s.value||C.preventDefault(),!e.nativeFocusBehavior&&(C.preventDefault(),!e.disabled&&s.value&&((_=t.value)===null||_===void 0||_.focus({preventScroll:!0})))},c=C=>{var _;if(!e.disabled&&!e.loading){const{onClick:x}=e;x&&Re(x,C),e.text||(_=n.value)===null||_===void 0||_.play()}},u=C=>{switch(C.key){case"Enter":if(!e.keyboard)return;o.value=!1}},d=C=>{switch(C.key){case"Enter":if(!e.keyboard||e.loading){C.preventDefault();return}o.value=!0}},f=()=>{o.value=!1},{inlineThemeDisabled:p,mergedClsPrefixRef:h,mergedRtlRef:m}=ct(e),v=Fe("Button","-button",ej,_u,e,h),g=Rn("Button",m,h),y=N(()=>{const C=v.value,{common:{cubicBezierEaseInOut:_,cubicBezierEaseOut:x},self:w}=C,{rippleDuration:T,opacityDisabled:P,fontWeight:k,fontWeightStrong:I}=w,A=a.value,{dashed:q,type:F,ghost:O,text:$,color:W,round:Q,circle:L,textColor:M,secondary:se,tertiary:X,quaternary:ne,strong:fe}=e,xe={"font-weight":fe?I:k};let Ce={"--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 G=F==="tertiary",ve=F==="default",ue=G?"default":F;if($){const ge=M||W;Ce={"--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":ge||w[Pe("textColorText",ue)],"--n-text-color-hover":ge?qr(ge):w[Pe("textColorTextHover",ue)],"--n-text-color-pressed":ge?Ol(ge):w[Pe("textColorTextPressed",ue)],"--n-text-color-focus":ge?qr(ge):w[Pe("textColorTextHover",ue)],"--n-text-color-disabled":ge||w[Pe("textColorTextDisabled",ue)]}}else if(O||q){const ge=M||W;Ce={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":W||w[Pe("rippleColor",ue)],"--n-text-color":ge||w[Pe("textColorGhost",ue)],"--n-text-color-hover":ge?qr(ge):w[Pe("textColorGhostHover",ue)],"--n-text-color-pressed":ge?Ol(ge):w[Pe("textColorGhostPressed",ue)],"--n-text-color-focus":ge?qr(ge):w[Pe("textColorGhostHover",ue)],"--n-text-color-disabled":ge||w[Pe("textColorGhostDisabled",ue)]}}else if(se){const ge=ve?w.textColor:G?w.textColorTertiary:w[Pe("color",ue)],J=W||ge,de=F!=="default"&&F!=="tertiary";Ce={"--n-color":de?Ae(J,{alpha:Number(w.colorOpacitySecondary)}):w.colorSecondary,"--n-color-hover":de?Ae(J,{alpha:Number(w.colorOpacitySecondaryHover)}):w.colorSecondaryHover,"--n-color-pressed":de?Ae(J,{alpha:Number(w.colorOpacitySecondaryPressed)}):w.colorSecondaryPressed,"--n-color-focus":de?Ae(J,{alpha:Number(w.colorOpacitySecondaryHover)}):w.colorSecondaryHover,"--n-color-disabled":w.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":J,"--n-text-color-hover":J,"--n-text-color-pressed":J,"--n-text-color-focus":J,"--n-text-color-disabled":J}}else if(X||ne){const ge=ve?w.textColor:G?w.textColorTertiary:w[Pe("color",ue)],J=W||ge;X?(Ce["--n-color"]=w.colorTertiary,Ce["--n-color-hover"]=w.colorTertiaryHover,Ce["--n-color-pressed"]=w.colorTertiaryPressed,Ce["--n-color-focus"]=w.colorSecondaryHover,Ce["--n-color-disabled"]=w.colorTertiary):(Ce["--n-color"]=w.colorQuaternary,Ce["--n-color-hover"]=w.colorQuaternaryHover,Ce["--n-color-pressed"]=w.colorQuaternaryPressed,Ce["--n-color-focus"]=w.colorQuaternaryHover,Ce["--n-color-disabled"]=w.colorQuaternary),Ce["--n-ripple-color"]="#0000",Ce["--n-text-color"]=J,Ce["--n-text-color-hover"]=J,Ce["--n-text-color-pressed"]=J,Ce["--n-text-color-focus"]=J,Ce["--n-text-color-disabled"]=J}else Ce={"--n-color":W||w[Pe("color",ue)],"--n-color-hover":W?qr(W):w[Pe("colorHover",ue)],"--n-color-pressed":W?Ol(W):w[Pe("colorPressed",ue)],"--n-color-focus":W?qr(W):w[Pe("colorFocus",ue)],"--n-color-disabled":W||w[Pe("colorDisabled",ue)],"--n-ripple-color":W||w[Pe("rippleColor",ue)],"--n-text-color":M||(W?w.textColorPrimary:G?w.textColorTertiary:w[Pe("textColor",ue)]),"--n-text-color-hover":M||(W?w.textColorHoverPrimary:w[Pe("textColorHover",ue)]),"--n-text-color-pressed":M||(W?w.textColorPressedPrimary:w[Pe("textColorPressed",ue)]),"--n-text-color-focus":M||(W?w.textColorFocusPrimary:w[Pe("textColorFocus",ue)]),"--n-text-color-disabled":M||(W?w.textColorDisabledPrimary:w[Pe("textColorDisabled",ue)])};let re={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};$?re={"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:re={"--n-border":w[Pe("border",ue)],"--n-border-hover":w[Pe("borderHover",ue)],"--n-border-pressed":w[Pe("borderPressed",ue)],"--n-border-focus":w[Pe("borderFocus",ue)],"--n-border-disabled":w[Pe("borderDisabled",ue)]};const{[Pe("height",A)]:ke,[Pe("fontSize",A)]:V,[Pe("padding",A)]:R,[Pe("paddingRound",A)]:E,[Pe("iconSize",A)]:U,[Pe("borderRadius",A)]:ie,[Pe("iconMargin",A)]:Y,waveOpacity:he}=w,ye={"--n-width":L&&!$?ke:"initial","--n-height":$?"initial":ke,"--n-font-size":V,"--n-padding":L||$?"initial":Q?E:R,"--n-icon-size":U,"--n-icon-margin":Y,"--n-border-radius":$?"initial":L||Q?ke:ie};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":_,"--n-bezier-ease-out":x,"--n-ripple-duration":T,"--n-opacity-disabled":P,"--n-wave-opacity":he},xe),Ce),re),ye)}),S=p?Rt("button",N(()=>{let C="";const{dashed:_,type:x,ghost:w,text:T,color:P,round:k,circle:I,textColor:A,secondary:q,tertiary:F,quaternary:O,strong:$}=e;_&&(C+="a"),w&&(C+="b"),T&&(C+="c"),k&&(C+="d"),I&&(C+="e"),q&&(C+="f"),F&&(C+="g"),O&&(C+="h"),$&&(C+="i"),P&&(C+="j"+yc(P)),A&&(C+="k"+yc(A));const{value:W}=a;return C+="l"+W[0],C+="m"+x[0],C}),y,e):void 0;return{selfElRef:t,waveElRef:n,mergedClsPrefix:h,mergedFocusable:s,mergedSize:a,showBorder:r,enterPressed:o,rtlEnabled:g,handleMousedown:l,handleKeydown:d,handleBlur:f,handleKeyup:u,handleClick:c,customColorCssVars:N(()=>{const{color:C}=e;if(!C)return null;const _=qr(C);return{"--n-border-color":C,"--n-border-color-hover":_,"--n-border-color-pressed":Ol(C),"--n-border-color-focus":_,"--n-border-color-disabled":C}}),cssVars:p?void 0:y,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){const{mergedClsPrefix:e,tag:t,onRender:n}=this;n==null||n();const o=Ot(this.$slots.default,r=>r&&b("span",{class:`${e}-button__content`},r));return b(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,b(yu,{width:!0},{default:()=>Ot(this.$slots.icon,r=>(this.loading||this.renderIcon||r)&&b("span",{class:`${e}-button__icon`,style:{margin:oa(this.$slots.default)?"0":""}},b(Ai,null,{default:()=>this.loading?b(Mi,{clsPrefix:e,key:"loading",class:`${e}-icon-slot`,strokeWidth:20}):b("div",{key:"icon",class:`${e}-icon-slot`,role:"none"},this.renderIcon?this.renderIcon():r)})))}),this.iconPlacement==="left"&&o,this.text?null:b(_B,{ref:"waveElRef",clsPrefix:e}),this.showBorder?b("div",{"aria-hidden":!0,class:`${e}-button__border`,style:this.customColorCssVars}):null,this.showBorder?b("div",{"aria-hidden":!0,class:`${e}-button__state-border`,style:this.customColorCssVars}):null)}}),Tt=R_,S0=R_,nj={titleFontSize:"22px"},oj=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({},nj),{borderRadius:t,borderColor:Ye(f,s),borderColorModal:Ye(p,s),borderColorPopover:Ye(h,s),textColor:r,titleFontWeight:l,titleTextColor:i,dayTextColor:a,fontSize:n,lineHeight:o,dateColorCurrent:c,dateTextColorCurrent:u,cellColorHover:Ye(f,d),cellColorHoverModal:Ye(p,d),cellColorHoverPopover:Ye(h,d),cellColor:f,cellColorModal:p,cellColorPopover:h,barColor:c})},rj={name:"Calendar",common:Be,peers:{Button:Hn},self:oj},ij=rj,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}},sj={name:"ColorPicker",common:Be,peers:{Input:lo,Button:Hn},self:aj},lj=sj,cj={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"},E_=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:g,actionColor:y}=e;return Object.assign(Object.assign({},cj),{lineHeight:o,color:i,colorModal:m,colorPopover:g,colorTarget:t,colorEmbedded:y,colorEmbeddedModal:y,colorEmbeddedPopover:y,textColor:a,titleTextColor:s,borderColor:l,actionColor:y,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})},uj={name:"Card",common:yt,self:E_},$_=uj,dj={name:"Card",common:Be,self(e){const t=E_(e),{cardColor:n,modalColor:o,popoverColor:r}=e;return t.colorEmbedded=n,t.colorEmbeddedModal=o,t.colorEmbeddedPopover=r,t}},A_=dj,fj=j([z("card",` + `),K("dashed",[D("border, state-border",{borderStyle:"dashed !important"})]),K("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),V("@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)"}}),V("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]),nj=Object.assign(Object.assign({},Fe.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:!C_}}),E_=pe({name:"Button",props:nj,setup(e){const t=N(null),n=N(null),o=N(!1),r=wt(()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered),i=He(QH,{}),{mergedSizeRef:a}=ar({},{defaultSize:"medium",mergedSize:C=>{const{size:_}=e;if(_)return _;const{size:x}=i;if(x)return x;const{mergedSize:w}=C||{};return w?w.value:"medium"}}),s=L(()=>e.focusable&&!e.disabled),l=C=>{var _;s.value||C.preventDefault(),!e.nativeFocusBehavior&&(C.preventDefault(),!e.disabled&&s.value&&((_=t.value)===null||_===void 0||_.focus({preventScroll:!0})))},c=C=>{var _;if(!e.disabled&&!e.loading){const{onClick:x}=e;x&&Re(x,C),e.text||(_=n.value)===null||_===void 0||_.play()}},u=C=>{switch(C.key){case"Enter":if(!e.keyboard)return;o.value=!1}},d=C=>{switch(C.key){case"Enter":if(!e.keyboard||e.loading){C.preventDefault();return}o.value=!0}},f=()=>{o.value=!1},{inlineThemeDisabled:p,mergedClsPrefixRef:h,mergedRtlRef:m}=ct(e),v=Fe("Button","-button",tj,_u,e,h),g=Rn("Button",m,h),y=L(()=>{const C=v.value,{common:{cubicBezierEaseInOut:_,cubicBezierEaseOut:x},self:w}=C,{rippleDuration:T,opacityDisabled:P,fontWeight:k,fontWeightStrong:A}=w,I=a.value,{dashed:W,type:B,ghost:z,text:$,color:j,round:X,circle:F,textColor:M,secondary:se,tertiary:Q,quaternary:ne,strong:fe}=e,xe={"font-weight":fe?A:k};let Ce={"--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 G=B==="tertiary",ve=B==="default",ue=G?"default":B;if($){const ge=M||j;Ce={"--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":ge||w[Pe("textColorText",ue)],"--n-text-color-hover":ge?qr(ge):w[Pe("textColorTextHover",ue)],"--n-text-color-pressed":ge?Ol(ge):w[Pe("textColorTextPressed",ue)],"--n-text-color-focus":ge?qr(ge):w[Pe("textColorTextHover",ue)],"--n-text-color-disabled":ge||w[Pe("textColorTextDisabled",ue)]}}else if(z||W){const ge=M||j;Ce={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":j||w[Pe("rippleColor",ue)],"--n-text-color":ge||w[Pe("textColorGhost",ue)],"--n-text-color-hover":ge?qr(ge):w[Pe("textColorGhostHover",ue)],"--n-text-color-pressed":ge?Ol(ge):w[Pe("textColorGhostPressed",ue)],"--n-text-color-focus":ge?qr(ge):w[Pe("textColorGhostHover",ue)],"--n-text-color-disabled":ge||w[Pe("textColorGhostDisabled",ue)]}}else if(se){const ge=ve?w.textColor:G?w.textColorTertiary:w[Pe("color",ue)],J=j||ge,de=B!=="default"&&B!=="tertiary";Ce={"--n-color":de?Ae(J,{alpha:Number(w.colorOpacitySecondary)}):w.colorSecondary,"--n-color-hover":de?Ae(J,{alpha:Number(w.colorOpacitySecondaryHover)}):w.colorSecondaryHover,"--n-color-pressed":de?Ae(J,{alpha:Number(w.colorOpacitySecondaryPressed)}):w.colorSecondaryPressed,"--n-color-focus":de?Ae(J,{alpha:Number(w.colorOpacitySecondaryHover)}):w.colorSecondaryHover,"--n-color-disabled":w.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":J,"--n-text-color-hover":J,"--n-text-color-pressed":J,"--n-text-color-focus":J,"--n-text-color-disabled":J}}else if(Q||ne){const ge=ve?w.textColor:G?w.textColorTertiary:w[Pe("color",ue)],J=j||ge;Q?(Ce["--n-color"]=w.colorTertiary,Ce["--n-color-hover"]=w.colorTertiaryHover,Ce["--n-color-pressed"]=w.colorTertiaryPressed,Ce["--n-color-focus"]=w.colorSecondaryHover,Ce["--n-color-disabled"]=w.colorTertiary):(Ce["--n-color"]=w.colorQuaternary,Ce["--n-color-hover"]=w.colorQuaternaryHover,Ce["--n-color-pressed"]=w.colorQuaternaryPressed,Ce["--n-color-focus"]=w.colorQuaternaryHover,Ce["--n-color-disabled"]=w.colorQuaternary),Ce["--n-ripple-color"]="#0000",Ce["--n-text-color"]=J,Ce["--n-text-color-hover"]=J,Ce["--n-text-color-pressed"]=J,Ce["--n-text-color-focus"]=J,Ce["--n-text-color-disabled"]=J}else Ce={"--n-color":j||w[Pe("color",ue)],"--n-color-hover":j?qr(j):w[Pe("colorHover",ue)],"--n-color-pressed":j?Ol(j):w[Pe("colorPressed",ue)],"--n-color-focus":j?qr(j):w[Pe("colorFocus",ue)],"--n-color-disabled":j||w[Pe("colorDisabled",ue)],"--n-ripple-color":j||w[Pe("rippleColor",ue)],"--n-text-color":M||(j?w.textColorPrimary:G?w.textColorTertiary:w[Pe("textColor",ue)]),"--n-text-color-hover":M||(j?w.textColorHoverPrimary:w[Pe("textColorHover",ue)]),"--n-text-color-pressed":M||(j?w.textColorPressedPrimary:w[Pe("textColorPressed",ue)]),"--n-text-color-focus":M||(j?w.textColorFocusPrimary:w[Pe("textColorFocus",ue)]),"--n-text-color-disabled":M||(j?w.textColorDisabledPrimary:w[Pe("textColorDisabled",ue)])};let re={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};$?re={"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:re={"--n-border":w[Pe("border",ue)],"--n-border-hover":w[Pe("borderHover",ue)],"--n-border-pressed":w[Pe("borderPressed",ue)],"--n-border-focus":w[Pe("borderFocus",ue)],"--n-border-disabled":w[Pe("borderDisabled",ue)]};const{[Pe("height",I)]:ke,[Pe("fontSize",I)]:U,[Pe("padding",I)]:R,[Pe("paddingRound",I)]:E,[Pe("iconSize",I)]:q,[Pe("borderRadius",I)]:ie,[Pe("iconMargin",I)]:Y,waveOpacity:he}=w,ye={"--n-width":F&&!$?ke:"initial","--n-height":$?"initial":ke,"--n-font-size":U,"--n-padding":F||$?"initial":X?E:R,"--n-icon-size":q,"--n-icon-margin":Y,"--n-border-radius":$?"initial":F||X?ke:ie};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":_,"--n-bezier-ease-out":x,"--n-ripple-duration":T,"--n-opacity-disabled":P,"--n-wave-opacity":he},xe),Ce),re),ye)}),S=p?Rt("button",L(()=>{let C="";const{dashed:_,type:x,ghost:w,text:T,color:P,round:k,circle:A,textColor:I,secondary:W,tertiary:B,quaternary:z,strong:$}=e;_&&(C+="a"),w&&(C+="b"),T&&(C+="c"),k&&(C+="d"),A&&(C+="e"),W&&(C+="f"),B&&(C+="g"),z&&(C+="h"),$&&(C+="i"),P&&(C+="j"+yc(P)),I&&(C+="k"+yc(I));const{value:j}=a;return C+="l"+j[0],C+="m"+x[0],C}),y,e):void 0;return{selfElRef:t,waveElRef:n,mergedClsPrefix:h,mergedFocusable:s,mergedSize:a,showBorder:r,enterPressed:o,rtlEnabled:g,handleMousedown:l,handleKeydown:d,handleBlur:f,handleKeyup:u,handleClick:c,customColorCssVars:L(()=>{const{color:C}=e;if(!C)return null;const _=qr(C);return{"--n-border-color":C,"--n-border-color-hover":_,"--n-border-color-pressed":Ol(C),"--n-border-color-focus":_,"--n-border-color-disabled":C}}),cssVars:p?void 0:y,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){const{mergedClsPrefix:e,tag:t,onRender:n}=this;n==null||n();const o=Ot(this.$slots.default,r=>r&&b("span",{class:`${e}-button__content`},r));return b(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,b(yu,{width:!0},{default:()=>Ot(this.$slots.icon,r=>(this.loading||this.renderIcon||r)&&b("span",{class:`${e}-button__icon`,style:{margin:oa(this.$slots.default)?"0":""}},b(Ai,null,{default:()=>this.loading?b(Mi,{clsPrefix:e,key:"loading",class:`${e}-icon-slot`,strokeWidth:20}):b("div",{key:"icon",class:`${e}-icon-slot`,role:"none"},this.renderIcon?this.renderIcon():r)})))}),this.iconPlacement==="left"&&o,this.text?null:b(SB,{ref:"waveElRef",clsPrefix:e}),this.showBorder?b("div",{"aria-hidden":!0,class:`${e}-button__border`,style:this.customColorCssVars}):null,this.showBorder?b("div",{"aria-hidden":!0,class:`${e}-button__state-border`,style:this.customColorCssVars}):null)}}),Tt=E_,k0=E_,oj={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({},oj),{borderRadius:t,borderColor:Ye(f,s),borderColorModal:Ye(p,s),borderColorPopover:Ye(h,s),textColor:r,titleFontWeight:l,titleTextColor:i,dayTextColor:a,fontSize:n,lineHeight:o,dateColorCurrent:c,dateTextColorCurrent:u,cellColorHover:Ye(f,d),cellColorHoverModal:Ye(p,d),cellColorHoverPopover:Ye(h,d),cellColor:f,cellColorModal:p,cellColorPopover:h,barColor:c})},ij={name:"Calendar",common:Be,peers:{Button:Hn},self:rj},aj=ij,sj=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}},lj={name:"ColorPicker",common:Be,peers:{Input:lo,Button:Hn},self:sj},cj=lj,uj={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"},$_=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:g,actionColor:y}=e;return Object.assign(Object.assign({},uj),{lineHeight:o,color:i,colorModal:m,colorPopover:g,colorTarget:t,colorEmbedded:y,colorEmbeddedModal:y,colorEmbeddedPopover:y,textColor:a,titleTextColor:s,borderColor:l,actionColor:y,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})},dj={name:"Card",common:yt,self:$_},A_=dj,fj={name:"Card",common:Be,self(e){const t=$_(e),{cardColor:n,modalColor:o,popoverColor:r}=e;return t.colorEmbedded=n,t.colorEmbeddedModal=o,t.colorEmbeddedPopover=r,t}},I_=fj,hj=V([O("card",` font-size: var(--n-font-size); line-height: var(--n-line-height); display: flex; @@ -1387,13 +1387,13 @@ ${t} background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier), border-color .3s var(--n-bezier); - `,[AC({background:"var(--n-color-modal)"}),K("hoverable",[j("&:hover","box-shadow: var(--n-box-shadow);")]),K("content-segmented",[j(">",[D("content",{paddingTop:"var(--n-padding-bottom)"})])]),K("content-soft-segmented",[j(">",[D("content",` + `,[IC({background:"var(--n-color-modal)"}),K("hoverable",[V("&:hover","box-shadow: var(--n-box-shadow);")]),K("content-segmented",[V(">",[D("content",{paddingTop:"var(--n-padding-bottom)"})])]),K("content-soft-segmented",[V(">",[D("content",` margin: 0 var(--n-padding-left); padding: var(--n-padding-bottom) 0; - `)])]),K("footer-segmented",[j(">",[D("footer",{paddingTop:"var(--n-padding-bottom)"})])]),K("footer-soft-segmented",[j(">",[D("footer",` + `)])]),K("footer-segmented",[V(">",[D("footer",{paddingTop:"var(--n-padding-bottom)"})])]),K("footer-soft-segmented",[V(">",[D("footer",` padding: var(--n-padding-bottom) 0; margin: 0 var(--n-padding-left); - `)])]),j(">",[z("card-header",` + `)])]),V(">",[O("card-header",` box-sizing: border-box; display: flex; align-items: center; @@ -1432,31 +1432,31 @@ ${t} box-sizing: border-box; padding: 0 var(--n-padding-left) var(--n-padding-bottom) var(--n-padding-left); font-size: var(--n-font-size); - `,[j("&:first-child",{paddingTop:"var(--n-padding-bottom)"})]),D("action",` + `,[V("&:first-child",{paddingTop:"var(--n-padding-bottom)"})]),D("action",` background-color: var(--n-action-color); padding: var(--n-padding-bottom) var(--n-padding-left); border-bottom-left-radius: var(--n-border-radius); border-bottom-right-radius: var(--n-border-radius); - `)]),z("card-cover",` + `)]),O("card-cover",` overflow: hidden; width: 100%; border-radius: var(--n-border-radius) var(--n-border-radius) 0 0; - `,[j("img",` + `,[V("img",` display: block; width: 100%; `)]),K("bordered",` border: 1px solid var(--n-border-color); - `,[j("&:target","border-color: var(--n-color-target);")]),K("action-segmented",[j(">",[D("action",[j("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),K("content-segmented, content-soft-segmented",[j(">",[D("content",{transition:"border-color 0.3s var(--n-bezier)"},[j("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),K("footer-segmented, footer-soft-segmented",[j(">",[D("footer",{transition:"border-color 0.3s var(--n-bezier)"},[j("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),K("embedded",` + `,[V("&:target","border-color: var(--n-color-target);")]),K("action-segmented",[V(">",[D("action",[V("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),K("content-segmented, content-soft-segmented",[V(">",[D("content",{transition:"border-color 0.3s var(--n-bezier)"},[V("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),K("footer-segmented, footer-soft-segmented",[V(">",[D("footer",{transition:"border-color 0.3s var(--n-bezier)"},[V("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),K("embedded",` background-color: var(--n-color-embedded); - `)]),Qs(z("card",` + `)]),Qs(O("card",` background: var(--n-color-modal); `,[K("embedded",` background-color: var(--n-color-embedded-modal); - `)])),fu(z("card",` + `)])),fu(O("card",` background: var(--n-color-popover); `,[K("embedded",` background-color: var(--n-color-embedded-popover); - `)]))]),Xp={title:String,contentStyle:[Object,String],headerStyle:[Object,String],headerExtraStyle:[Object,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"}},hj=Lr(Xp),pj=Object.assign(Object.assign({},Fe.props),Xp),jn=pe({name:"Card",props:pj,setup(e){const t=()=>{const{onClose:c}=e;c&&Re(c)},{inlineThemeDisabled:n,mergedClsPrefixRef:o,mergedRtlRef:r}=ct(e),i=Fe("Card","-card",fj,$_,e,o),a=Rn("Card",r,o),s=N(()=>{const{size:c}=e,{self:{color:u,colorModal:d,colorTarget:f,textColor:p,titleTextColor:h,titleFontWeight:m,borderColor:v,actionColor:g,borderRadius:y,lineHeight:S,closeIconColor:C,closeIconColorHover:_,closeIconColorPressed:x,closeColorHover:w,closeColorPressed:T,closeBorderRadius:P,closeIconSize:k,closeSize:I,boxShadow:A,colorPopover:q,colorEmbedded:F,colorEmbeddedModal:O,colorEmbeddedPopover:$,[Pe("padding",c)]:W,[Pe("fontSize",c)]:Q,[Pe("titleFontSize",c)]:L},common:{cubicBezierEaseInOut:M}}=i.value,{top:se,left:X,bottom:ne}=si(W);return{"--n-bezier":M,"--n-border-radius":y,"--n-color":u,"--n-color-modal":d,"--n-color-popover":q,"--n-color-embedded":F,"--n-color-embedded-modal":O,"--n-color-embedded-popover":$,"--n-color-target":f,"--n-text-color":p,"--n-line-height":S,"--n-action-color":g,"--n-title-text-color":h,"--n-title-font-weight":m,"--n-close-icon-color":C,"--n-close-icon-color-hover":_,"--n-close-icon-color-pressed":x,"--n-close-color-hover":w,"--n-close-color-pressed":T,"--n-border-color":v,"--n-box-shadow":A,"--n-padding-top":se,"--n-padding-bottom":ne,"--n-padding-left":X,"--n-font-size":Q,"--n-title-font-size":L,"--n-close-size":I,"--n-close-icon-size":k,"--n-close-border-radius":P}}),l=n?Rt("card",N(()=>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(),b(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},Ot(l.cover,c=>c&&b("div",{class:`${o}-card-cover`,role:"none"},c)),Ot(l.header,c=>c||this.title||this.closable?b("div",{class:`${o}-card-header`,style:this.headerStyle},b("div",{class:`${o}-card-header__main`,role:"heading"},c||this.title),Ot(l["header-extra"],u=>u&&b("div",{class:`${o}-card-header__extra`,style:this.headerExtraStyle},u)),this.closable?b(Ii,{clsPrefix:o,class:`${o}-card-header__close`,onClick:this.handleCloseClick,absolute:!0}):null):null),Ot(l.default,c=>c&&b("div",{class:`${o}-card__content`,style:this.contentStyle,role:"none"},c)),Ot(l.footer,c=>c&&[b("div",{class:`${o}-card__footer`,style:this.footerStyle,role:"none"},c)]),Ot(l.action,c=>c&&b("div",{class:`${o}-card__action`,role:"none"},c)))}}),I_=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"}),mj={name:"Carousel",common:yt,self:I_},gj=mj,vj={name:"Carousel",common:Be,self:I_},bj=vj;function yj(e){const{length:t}=e;return t>1&&(e.push(k0(e[0],0,"append")),e.unshift(k0(e[t-1],t-1,"prepend"))),e}function k0(e,t,n){return oo(e,{key:`carousel-item-duplicate-${t}-${n}`})}function T0(e,t,n){return n?e===0?t-3:e===t-1?0:e-1:e}function Od(e,t){return t?e+1:e}function xj(e,t,n){return e<0?null:e===0?n?t-1:null:e-1}function Cj(e,t,n){return e>t-1?null:e===t-1?n?0:null:e+1}function wj(e,t){return t&&e>3?e-2:e}function P0(e){return window.TouchEvent&&e instanceof window.TouchEvent}function R0(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 Dl(e,t,n){return en?n:e}function _j(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 M_="n-carousel-methods",Sj=e=>{lt(M_,e)},Qp=(e="unknown",t="component")=>{const n=He(M_);return n||Fr(e,`\`${t}\` must be placed inside \`n-carousel\`.`),n},kj={total:{type:Number,default:0},currentIndex:{type:Number,default:0},dotType:{type:String,default:"dot"},trigger:{type:String,default:"click"},keyboard:Boolean},Tj=pe({name:"CarouselDots",props:kj,setup(e){const{mergedClsPrefixRef:t}=ct(e),n=B([]),o=Qp();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",g=o.isVertical(),y=g?p:m,S=g?h:v;!y&&!S||(c.preventDefault(),y&&!o.isNextDisabled()?(o.next(),l(o.currentIndexRef.value)):S&&!o.isPrevDisabled()&&(o.prev(),l(o.currentIndexRef.value)))}function l(c){var u;(u=n.value[c])===null||u===void 0||u.focus()}return xy(()=>n.value.length=0),{mergedClsPrefix:t,dotEls:n,handleKeydown:r,handleMouseenter:i,handleClick:a}},render(){const{mergedClsPrefix:e,dotEls:t}=this;return b("div",{class:[`${e}-carousel__dots`,`${e}-carousel__dots--${this.dotType}`],role:"tablist"},OA(this.total,n=>{const o=n===this.currentIndex;return b("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)}})}))}}),Pj=b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},b("g",{fill:"none"},b("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"}))),Rj=b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},b("g",{fill:"none"},b("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"}))),Ej=pe({name:"CarouselArrow",setup(e){const{mergedClsPrefixRef:t}=ct(e),{isVertical:n,isPrevDisabled:o,isNextDisabled:r,prev:i,next:a}=Qp();return{mergedClsPrefix:t,isVertical:n,isPrevDisabled:o,isNextDisabled:r,prev:i,next:a}},render(){const{mergedClsPrefix:e}=this;return b("div",{class:`${e}-carousel__arrow-group`},b("div",{class:[`${e}-carousel__arrow`,this.isPrevDisabled()&&`${e}-carousel__arrow--disabled`],role:"button",onClick:this.prev},Pj),b("div",{class:[`${e}-carousel__arrow`,this.isNextDisabled()&&`${e}-carousel__arrow--disabled`],role:"button",onClick:this.next},Rj))}}),ac="CarouselItem",$j=e=>{var t;return((t=e.type)===null||t===void 0?void 0:t.name)===ac},Aj=pe({name:ac,setup(e){const{mergedClsPrefixRef:t}=ct(e),n=Qp(Wb(ac),`n-${Wb(ac)}`),o=B(),r=N(()=>{const{value:u}=o;return u?n.getSlideIndex(u):-1}),i=N(()=>n.isPrev(r.value)),a=N(()=>n.isNext(r.value)),s=N(()=>n.isActive(r.value)),l=N(()=>n.getSlideStyle(r.value));Vt(()=>{n.addSlide(o.value)}),tn(()=>{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 b("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}))}}),Ij=z("carousel",` + `)]))]),Xp={title:String,contentStyle:[Object,String],headerStyle:[Object,String],headerExtraStyle:[Object,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"}},pj=Lr(Xp),mj=Object.assign(Object.assign({},Fe.props),Xp),jn=pe({name:"Card",props:mj,setup(e){const t=()=>{const{onClose:c}=e;c&&Re(c)},{inlineThemeDisabled:n,mergedClsPrefixRef:o,mergedRtlRef:r}=ct(e),i=Fe("Card","-card",hj,A_,e,o),a=Rn("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:g,borderRadius:y,lineHeight:S,closeIconColor:C,closeIconColorHover:_,closeIconColorPressed:x,closeColorHover:w,closeColorPressed:T,closeBorderRadius:P,closeIconSize:k,closeSize:A,boxShadow:I,colorPopover:W,colorEmbedded:B,colorEmbeddedModal:z,colorEmbeddedPopover:$,[Pe("padding",c)]:j,[Pe("fontSize",c)]:X,[Pe("titleFontSize",c)]:F},common:{cubicBezierEaseInOut:M}}=i.value,{top:se,left:Q,bottom:ne}=si(j);return{"--n-bezier":M,"--n-border-radius":y,"--n-color":u,"--n-color-modal":d,"--n-color-popover":W,"--n-color-embedded":B,"--n-color-embedded-modal":z,"--n-color-embedded-popover":$,"--n-color-target":f,"--n-text-color":p,"--n-line-height":S,"--n-action-color":g,"--n-title-text-color":h,"--n-title-font-weight":m,"--n-close-icon-color":C,"--n-close-icon-color-hover":_,"--n-close-icon-color-pressed":x,"--n-close-color-hover":w,"--n-close-color-pressed":T,"--n-border-color":v,"--n-box-shadow":I,"--n-padding-top":se,"--n-padding-bottom":ne,"--n-padding-left":Q,"--n-font-size":X,"--n-title-font-size":F,"--n-close-size":A,"--n-close-icon-size":k,"--n-close-border-radius":P}}),l=n?Rt("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(),b(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},Ot(l.cover,c=>c&&b("div",{class:`${o}-card-cover`,role:"none"},c)),Ot(l.header,c=>c||this.title||this.closable?b("div",{class:`${o}-card-header`,style:this.headerStyle},b("div",{class:`${o}-card-header__main`,role:"heading"},c||this.title),Ot(l["header-extra"],u=>u&&b("div",{class:`${o}-card-header__extra`,style:this.headerExtraStyle},u)),this.closable?b(Ii,{clsPrefix:o,class:`${o}-card-header__close`,onClick:this.handleCloseClick,absolute:!0}):null):null),Ot(l.default,c=>c&&b("div",{class:`${o}-card__content`,style:this.contentStyle,role:"none"},c)),Ot(l.footer,c=>c&&[b("div",{class:`${o}-card__footer`,style:this.footerStyle,role:"none"},c)]),Ot(l.action,c=>c&&b("div",{class:`${o}-card__action`,role:"none"},c)))}}),M_=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"}),gj={name:"Carousel",common:yt,self:M_},vj=gj,bj={name:"Carousel",common:Be,self:M_},yj=bj;function xj(e){const{length:t}=e;return t>1&&(e.push(T0(e[0],0,"append")),e.unshift(T0(e[t-1],t-1,"prepend"))),e}function T0(e,t,n){return oo(e,{key:`carousel-item-duplicate-${t}-${n}`})}function P0(e,t,n){return n?e===0?t-3:e===t-1?0:e-1:e}function Od(e,t){return t?e+1:e}function Cj(e,t,n){return e<0?null:e===0?n?t-1:null:e-1}function wj(e,t,n){return e>t-1?null:e===t-1?n?0:null:e+1}function _j(e,t){return t&&e>3?e-2:e}function R0(e){return window.TouchEvent&&e instanceof window.TouchEvent}function E0(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 Dl(e,t,n){return en?n:e}function Sj(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",kj=e=>{lt(z_,e)},Qp=(e="unknown",t="component")=>{const n=He(z_);return n||Fr(e,`\`${t}\` must be placed inside \`n-carousel\`.`),n},Tj={total:{type:Number,default:0},currentIndex:{type:Number,default:0},dotType:{type:String,default:"dot"},trigger:{type:String,default:"click"},keyboard:Boolean},Pj=pe({name:"CarouselDots",props:Tj,setup(e){const{mergedClsPrefixRef:t}=ct(e),n=N([]),o=Qp();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",g=o.isVertical(),y=g?p:m,S=g?h:v;!y&&!S||(c.preventDefault(),y&&!o.isNextDisabled()?(o.next(),l(o.currentIndexRef.value)):S&&!o.isPrevDisabled()&&(o.prev(),l(o.currentIndexRef.value)))}function l(c){var u;(u=n.value[c])===null||u===void 0||u.focus()}return Cy(()=>n.value.length=0),{mergedClsPrefix:t,dotEls:n,handleKeydown:r,handleMouseenter:i,handleClick:a}},render(){const{mergedClsPrefix:e,dotEls:t}=this;return b("div",{class:[`${e}-carousel__dots`,`${e}-carousel__dots--${this.dotType}`],role:"tablist"},DA(this.total,n=>{const o=n===this.currentIndex;return b("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)}})}))}}),Rj=b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},b("g",{fill:"none"},b("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"}))),Ej=b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},b("g",{fill:"none"},b("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"}))),$j=pe({name:"CarouselArrow",setup(e){const{mergedClsPrefixRef:t}=ct(e),{isVertical:n,isPrevDisabled:o,isNextDisabled:r,prev:i,next:a}=Qp();return{mergedClsPrefix:t,isVertical:n,isPrevDisabled:o,isNextDisabled:r,prev:i,next:a}},render(){const{mergedClsPrefix:e}=this;return b("div",{class:`${e}-carousel__arrow-group`},b("div",{class:[`${e}-carousel__arrow`,this.isPrevDisabled()&&`${e}-carousel__arrow--disabled`],role:"button",onClick:this.prev},Rj),b("div",{class:[`${e}-carousel__arrow`,this.isNextDisabled()&&`${e}-carousel__arrow--disabled`],role:"button",onClick:this.next},Ej))}}),ac="CarouselItem",Aj=e=>{var t;return((t=e.type)===null||t===void 0?void 0:t.name)===ac},Ij=pe({name:ac,setup(e){const{mergedClsPrefixRef:t}=ct(e),n=Qp(qb(ac),`n-${qb(ac)}`),o=N(),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));Vt(()=>{n.addSlide(o.value)}),tn(()=>{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 b("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}))}}),Mj=O("carousel",` position: relative; width: 100%; height: 100%; @@ -1475,7 +1475,7 @@ ${t} height: 100%; outline: none; overflow: hidden; - `,[j("> img",` + `,[V("> img",` display: block; `)])]),D("dots",` position: absolute; @@ -1491,7 +1491,7 @@ ${t} box-shadow .3s var(--n-bezier), background-color .3s var(--n-bezier); outline: none; - `,[j("&:focus",` + `,[V("&:focus",` background-color: var(--n-dot-color-focus); `),K("active",` background-color: var(--n-dot-color-active); @@ -1506,7 +1506,7 @@ ${t} box-shadow .3s var(--n-bezier), background-color .3s var(--n-bezier); outline: none; - `,[j("&:focus",` + `,[V("&:focus",` background-color: var(--n-dot-color-focus); `),K("active",` width: var(--n-dot-line-width-active); @@ -1525,10 +1525,10 @@ ${t} user-select: none; -webkit-user-select: none; font-size: 18px; - `,[j("svg",` + `,[V("svg",` height: 1em; width: 1em; - `),j("&:hover",` + `),V("&:hover",` background-color: rgba(255, 255, 255, .3); `)]),K("vertical",` touch-action: pan-x; @@ -1548,7 +1548,7 @@ ${t} transform: translateY(-100%) translateZ(-200px); `),K("next",` transform: translateY(0%) translateZ(-200px); - `)])])]),K("usercontrol",[D("slides",[j(">",[j("div",` + `)])])]),K("usercontrol",[D("slides",[V(">",[V("div",` position: absolute; top: 50%; left: 50%; @@ -1599,7 +1599,7 @@ ${t} bottom: 12px; left: 12px; flex-direction: column; - `,[j("> *:first-child",` + `,[V("> *:first-child",` margin-bottom: 12px; `)])]),K("right",[D("dots",` transform: translateY(-50%); @@ -1623,7 +1623,7 @@ ${t} bottom: 12px; right: 12px; flex-direction: column; - `,[j("> *:first-child",` + `,[V("> *:first-child",` margin-bottom: 12px; `)])]),K("top",[D("dots",` transform: translateX(-50%); @@ -1636,7 +1636,7 @@ ${t} `),D("arrow-group",` top: 12px; right: 12px; - `,[j("> *:first-child",` + `,[V("> *:first-child",` margin-right: 12px; `)])]),K("bottom",[D("dots",` transform: translateX(-50%); @@ -1649,7 +1649,7 @@ ${t} `),D("arrow-group",` bottom: 12px; right: 12px; - `,[j("> *:first-child",` + `,[V("> *:first-child",` margin-right: 12px; `)])]),K("fade",[D("slide",` position: absolute; @@ -1677,7 +1677,7 @@ ${t} `),K("next",` opacity: 0.4; transform: translateX(0%) translateZ(-200px); - `)])])]),Mj=["transitionDuration","transitionTimingFunction"],zj=Object.assign(Object.assign({},Fe.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 Dd=!1;const Oj=pe({name:"Carousel",props:zj,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=ct(e),o=B(null),r=B(null),i=B([]),a={value:[]},s=N(()=>e.direction==="vertical"),l=N(()=>s.value?"height":"width"),c=N(()=>s.value?"bottom":"right"),u=N(()=>e.effect==="slide"),d=N(()=>e.loop&&e.slidesPerView===1&&u.value),f=N(()=>e.effect==="custom"),p=N(()=>!u.value||e.centeredSlides?1:e.slidesPerView),h=N(()=>f.value?1:e.slidesPerView),m=N(()=>p.value==="auto"||e.slidesPerView==="auto"&&e.centeredSlides),v=B({width:0,height:0}),g=N(()=>{const{value:Se}=i;if(!Se.length)return[];const{value:Le}=m;if(Le)return Se.map(Te=>R0(Te));const{value:Ze}=h,{value:pt}=v,{value:gt}=l;let at=pt[gt];if(Ze!=="auto"){const{spaceBetween:Te}=e,Ke=at-(Ze-1)*Te,It=1/Math.max(1,Ze);at=Ke*It}const ae=Object.assign(Object.assign({},pt),{[gt]:at});return Se.map(()=>ae)}),y=N(()=>{const{value:Se}=g;if(!Se.length)return[];const{centeredSlides:Le,spaceBetween:Ze}=e,{value:pt}=l,{[pt]:gt}=v.value;let at=0;return Se.map(({[pt]:ae})=>{let Te=at;return Le&&(Te+=(ae-gt)/2),at+=ae+Ze,Te})}),S=B(!1),C=N(()=>{const{transitionStyle:Se}=e;return Se?Kn(Se,Mj):{}}),_=N(()=>f.value?0:_j(C.value.transitionDuration)),x=N(()=>{const{value:Se}=i;if(!Se.length)return[];const Le=!(m.value||h.value===1),Ze=ae=>{if(Le){const{value:Te}=l;return{[Te]:`${g.value[ae][Te]}px`}}};if(f.value)return Se.map((ae,Te)=>Ze(Te));const{effect:pt,spaceBetween:gt}=e,{value:at}=c;return Se.reduce((ae,Te,Ke)=>{const It=Object.assign(Object.assign({},Ze(Ke)),{[`margin-${at}`]:`${gt}px`});return ae.push(It),S.value&&(pt==="fade"||pt==="card")&&Object.assign(It,C.value),ae},[])}),w=N(()=>{const{value:Se}=p,{length:Le}=i.value;if(Se!=="auto")return Math.max(Le-Se,0)+1;{const{value:Ze}=g,{length:pt}=Ze;if(!pt)return Le;const{value:gt}=y,{value:at}=l,ae=v.value[at];let Te=Ze[Ze.length-1][at],Ke=pt;for(;Ke>1&&Tewj(w.value,d.value)),P=Od(e.defaultIndex,d.value),k=B(T0(P,w.value,d.value)),I=rn(Ne(e,"currentIndex"),k),A=N(()=>Od(I.value,d.value));function q(Se){var Le,Ze;Se=Dl(Se,0,w.value-1);const pt=T0(Se,w.value,d.value),{value:gt}=I;pt!==I.value&&(k.value=pt,(Le=e["onUpdate:currentIndex"])===null||Le===void 0||Le.call(e,pt,gt),(Ze=e.onUpdateCurrentIndex)===null||Ze===void 0||Ze.call(e,pt,gt))}function F(Se=A.value){return xj(Se,w.value,e.loop)}function O(Se=A.value){return Cj(Se,w.value,e.loop)}function $(Se){const Le=he(Se);return Le!==null&&F()===Le}function W(Se){const Le=he(Se);return Le!==null&&O()===Le}function Q(Se){return A.value===he(Se)}function L(Se){return I.value===Se}function M(){return F()===null}function se(){return O()===null}function X(Se){const Le=Dl(Od(Se,d.value),0,w.value);(Se!==I.value||Le!==A.value)&&q(Le)}function ne(){const Se=F();Se!==null&&q(Se)}function fe(){const Se=O();Se!==null&&q(Se)}function xe(){(!G||!d.value)&&ne()}function Ce(){(!G||!d.value)&&fe()}let G=!1,ve=0;const ue=B({});function re(Se,Le=0){ue.value=Object.assign({},C.value,{transform:s.value?`translateY(${-Se}px)`:`translateX(${-Se}px)`,transitionDuration:`${Le}ms`})}function ke(Se=0){u.value?V(A.value,Se):ve!==0&&(!G&&Se>0&&(G=!0),re(ve=0,Se))}function V(Se,Le){const Ze=R(Se);Ze!==ve&&Le>0&&(G=!0),ve=R(A.value),re(Ze,Le)}function R(Se){let Le;return Se>=w.value-1?Le=E():Le=y.value[Se]||0,Le}function E(){if(p.value==="auto"){const{value:Se}=l,{[Se]:Le}=v.value,{value:Ze}=y,pt=Ze[Ze.length-1];let gt;if(pt===void 0)gt=Le;else{const{value:at}=g;gt=pt+at[at.length-1][Se]}return gt-Le}else{const{value:Se}=y;return Se[w.value-1]||0}}const U={currentIndexRef:I,to:X,prev:xe,next:Ce,isVertical:()=>s.value,isHorizontal:()=>!s.value,isPrev:$,isNext:W,isActive:Q,isPrevDisabled:M,isNextDisabled:se,getSlideIndex:he,getSlideStyle:ye,addSlide:ie,removeSlide:Y,onCarouselItemClick:ge};Sj(U);function ie(Se){Se&&i.value.push(Se)}function Y(Se){if(!Se)return;const Le=he(Se);Le!==-1&&i.value.splice(Le,1)}function he(Se){return typeof Se=="number"?Se:Se?i.value.indexOf(Se):-1}function ye(Se){const Le=he(Se);if(Le!==-1){const Ze=[x.value[Le]],pt=U.isPrev(Le),gt=U.isNext(Le);return pt&&Ze.push(e.prevSlideStyle||""),gt&&Ze.push(e.nextSlideStyle||""),Fo(Ze)}}function ge(Se,Le){let Ze=!G&&!qe&&!tt;e.effect==="card"&&Ze&&!Q(Se)&&(X(Se),Ze=!1),Ze||(Le.preventDefault(),Le.stopPropagation())}let J=null;function de(){J&&(clearInterval(J),J=null)}function _e(){de(),!e.autoplay||T.value<2||(J=window.setInterval(fe,e.interval))}let te=0,oe=0,Ee=0,De=0,qe=!1,tt=!1;function Me(Se){var Le;if(Dd||!(!((Le=r.value)===null||Le===void 0)&&Le.contains(pi(Se))))return;Dd=!0,qe=!0,tt=!1,De=Date.now(),de(),Se.type!=="touchstart"&&!Se.target.isContentEditable&&Se.preventDefault();const Ze=P0(Se)?Se.touches[0]:Se;s.value?oe=Ze.clientY:te=Ze.clientX,e.touchable&&(At("touchmove",document,je,{passive:!0}),At("touchend",document,dt),At("touchcancel",document,dt)),e.draggable&&(At("mousemove",document,je),At("mouseup",document,dt))}function je(Se){const{value:Le}=s,{value:Ze}=l,pt=P0(Se)?Se.touches[0]:Se,gt=Le?pt.clientY-oe:pt.clientX-te,at=v.value[Ze];Ee=Dl(gt,-at,at),Se.cancelable&&Se.preventDefault(),u.value&&re(ve-Ee,0)}function dt(){const{value:Se}=A;let Le=Se;if(!G&&Ee!==0&&u.value){const Ze=ve-Ee,pt=[...y.value.slice(0,w.value-1),E()];let gt=null;for(let at=0;atgt/2||Ee/Ze>.4?Le=F(Se):(Ee<-gt/2||Ee/Ze<-.4)&&(Le=O(Se))}Le!==null&&Le!==Se?(tt=!0,q(Le),jt(()=>{(!d.value||k.value!==I.value)&&ke(_.value)})):ke(_.value),Oe(),_e()}function Oe(){qe&&(Dd=!1),qe=!1,te=0,oe=0,Ee=0,De=0,_t("touchmove",document,je),_t("touchend",document,dt),_t("touchcancel",document,dt),_t("mousemove",document,je),_t("mouseup",document,dt)}function rt(){if(u.value&&G){const{value:Se}=A;V(Se,0)}else _e();u.value&&(ue.value.transitionDuration="0ms"),G=!1}function it(Se){if(Se.preventDefault(),G)return;let{deltaX:Le,deltaY:Ze}=Se;Se.shiftKey&&!Le&&(Le=Ze);const pt=-1,gt=1,at=(Le||Ze)>0?gt:pt;let ae=0,Te=0;s.value?Te=at:ae=at;const Ke=10;(Te*Ze>=Ke||ae*Le>=Ke)&&(at===gt&&!se()?fe():at===pt&&!M()&&ne())}function Z(){v.value=R0(o.value,!0),_e()}function we(){var Se,Le;m.value&&((Le=(Se=g.effect).scheduler)===null||Le===void 0||Le.call(Se),g.effect.run())}function Ie(){e.autoplay&&de()}function Ve(){e.autoplay&&_e()}Vt(()=>{un(_e),requestAnimationFrame(()=>S.value=!0)}),tn(()=>{Oe(),de()}),Ws(()=>{const{value:Se}=i,{value:Le}=a,Ze=new Map,pt=at=>Ze.has(at)?Ze.get(at):-1;let gt=!1;for(let at=0;atTe.el===Se[at]);ae!==at&&(gt=!0),Ze.set(Se[at],ae)}gt&&Se.sort((at,ae)=>pt(at)-pt(ae))}),ht(A,(Se,Le)=>{if(Se!==Le)if(_e(),u.value){if(d.value&&T.value>2){const{value:Ze}=w;Se===Ze-2&&Le===1?Se=0:Se===1&&Le===Ze-2&&(Se=Ze-1)}V(Se,_.value)}else ke()},{immediate:!0}),ht([d,p],()=>void jt(()=>{q(A.value)})),ht(y,()=>{u.value&&ke()},{deep:!0}),ht(u,Se=>{Se?ke():(G=!1,re(ve=0))});const Xe=N(()=>({onTouchstartPassive:e.touchable?Me:void 0,onMousedown:e.draggable?Me:void 0,onWheel:e.mousewheel?it:void 0})),Qe=N(()=>Object.assign(Object.assign({},Kn(U,["to","prev","next","isPrevDisabled","isNextDisabled"])),{total:T.value,currentIndex:I.value})),nt=N(()=>({total:T.value,currentIndex:I.value,to:U.to})),ot={getCurrentIndex:()=>I.value,to:X,prev:ne,next:fe},kt=Fe("Carousel","-carousel",Ij,gj,e,t),sn=N(()=>{const{common:{cubicBezierEaseInOut:Se},self:{dotSize:Le,dotColor:Ze,dotColorActive:pt,dotColorFocus:gt,dotLineWidth:at,dotLineWidthActive:ae,arrowColor:Te}}=kt.value;return{"--n-bezier":Se,"--n-dot-color":Ze,"--n-dot-color-focus":gt,"--n-dot-color-active":pt,"--n-dot-size":Le,"--n-dot-line-width":at,"--n-dot-line-width-active":ae,"--n-arrow-color":Te}}),Wt=n?Rt("carousel",void 0,sn,e):void 0;return Object.assign(Object.assign({mergedClsPrefix:t,selfElRef:o,slidesElRef:r,slideVNodes:a,duplicatedable:d,userWantsControl:f,autoSlideSize:m,displayIndex:I,realIndex:A,slideStyles:x,translateStyle:ue,slidesControlListeners:Xe,handleTransitionEnd:rt,handleResize:Z,handleSlideResize:we,handleMouseenter:Ie,handleMouseleave:Ve,isActive:L,arrowSlotProps:Qe,dotSlotProps:nt},ot),{cssVars:n?void 0:sn,themeClass:Wt==null?void 0:Wt.themeClass,onRender:Wt==null?void 0:Wt.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&&ba(d())||[];let m=Dj(h);return m.length||(m=h.map(v=>b(Aj,null,{default:()=>oo(v)}))),this.duplicatedable&&(m=yj(m)),this.slideVNodes.value=m,this.autoSlideSize&&(m=m.map(v=>b(Ar,{onResize:this.handleSlideResize},{default:()=>v}))),(e=this.onRender)===null||e===void 0||e.call(this),b("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}),b(Ar,{onResize:this.handleResize},{default:()=>b("div",{ref:"slidesElRef",class:`${t}-carousel__slides`,role:"listbox",style:this.translateStyle,onTransitionend:this.handleTransitionEnd},o?m.map((v,g)=>b("div",{style:r[g],key:g},Cn(b(fn,Object.assign({},l),{default:()=>v}),[[ro,this.isActive(g)]]))):m)}),this.showDots&&u.total>1&&Qf(f,u,()=>[b(Tj,{key:i+a,total:u.total,currentIndex:u.currentIndex,dotType:i,trigger:this.trigger,keyboard:this.keyboard})]),n&&Qf(p,c,()=>[b(Ej,null)]))}});function Dj(e){return e.reduce((t,n)=>($j(n)&&t.push(n),t),[])}const Lj={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({},Lj),{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 ${Ae(l,{alpha:.3})}`,textColor:c,textColorDisabled:a})},Fj={name:"Checkbox",common:yt,self:z_},O_=Fj,Nj={name:"Checkbox",common:Be,self(e){const{cardColor:t}=e,n=z_(e);return n.color="#0000",n.checkMarkColor=t,n}},Fa=Nj,Bj=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"}},Hj={name:"Cascader",common:Be,peers:{InternalSelectMenu:ol,InternalSelection:Kp,Scrollbar:Bn,Checkbox:Fa,Empty:xu},self:Bj},jj=Hj,Vj=b("svg",{viewBox:"0 0 64 64",class:"check-icon"},b("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"})),Uj=b("svg",{viewBox:"0 0 100 100",class:"line-icon"},b("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"})),D_="n-checkbox-group",Wj={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]},qj=pe({name:"CheckboxGroup",props:Wj,setup(e){const{mergedClsPrefixRef:t}=ct(e),n=ar(e),{mergedSizeRef:o,mergedDisabledRef:r}=n,i=B(e.defaultValue),a=N(()=>e.value),s=rn(a,i),l=N(()=>{var d;return((d=s.value)===null||d===void 0?void 0:d.length)||0}),c=N(()=>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:g}=e;if(Array.isArray(s.value)){const y=Array.from(s.value),S=y.findIndex(C=>C===f);d?~S||(y.push(f),g&&Re(g,y,{actionType:"check",value:f}),v&&Re(v,y,{actionType:"check",value:f}),p(),h(),i.value=y,m&&Re(m,y)):~S&&(y.splice(S,1),g&&Re(g,y,{actionType:"uncheck",value:f}),v&&Re(v,y,{actionType:"uncheck",value:f}),m&&Re(m,y),i.value=y,p(),h())}else d?(g&&Re(g,[f],{actionType:"check",value:f}),v&&Re(v,[f],{actionType:"check",value:f}),m&&Re(m,[f]),i.value=[f],p(),h()):(g&&Re(g,[],{actionType:"uncheck",value:f}),v&&Re(v,[],{actionType:"uncheck",value:f}),m&&Re(m,[]),i.value=[],p(),h())}return lt(D_,{checkedCountRef:l,maxRef:Ne(e,"max"),minRef:Ne(e,"min"),valueSetRef:c,disabledRef:r,mergedSizeRef:o,toggleCheckbox:u}),{mergedClsPrefix:t}},render(){return b("div",{class:`${this.mergedClsPrefix}-checkbox-group`,role:"group"},this.$slots)}}),Kj=j([z("checkbox",` + `)])])]),zj=["transitionDuration","transitionTimingFunction"],Oj=Object.assign(Object.assign({},Fe.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 Dd=!1;const Dj=pe({name:"Carousel",props:Oj,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=ct(e),o=N(null),r=N(null),i=N([]),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=N({width:0,height:0}),g=L(()=>{const{value:Se}=i;if(!Se.length)return[];const{value:Le}=m;if(Le)return Se.map(Te=>E0(Te));const{value:Ze}=h,{value:pt}=v,{value:gt}=l;let at=pt[gt];if(Ze!=="auto"){const{spaceBetween:Te}=e,Ke=at-(Ze-1)*Te,It=1/Math.max(1,Ze);at=Ke*It}const ae=Object.assign(Object.assign({},pt),{[gt]:at});return Se.map(()=>ae)}),y=L(()=>{const{value:Se}=g;if(!Se.length)return[];const{centeredSlides:Le,spaceBetween:Ze}=e,{value:pt}=l,{[pt]:gt}=v.value;let at=0;return Se.map(({[pt]:ae})=>{let Te=at;return Le&&(Te+=(ae-gt)/2),at+=ae+Ze,Te})}),S=N(!1),C=L(()=>{const{transitionStyle:Se}=e;return Se?Kn(Se,zj):{}}),_=L(()=>f.value?0:Sj(C.value.transitionDuration)),x=L(()=>{const{value:Se}=i;if(!Se.length)return[];const Le=!(m.value||h.value===1),Ze=ae=>{if(Le){const{value:Te}=l;return{[Te]:`${g.value[ae][Te]}px`}}};if(f.value)return Se.map((ae,Te)=>Ze(Te));const{effect:pt,spaceBetween:gt}=e,{value:at}=c;return Se.reduce((ae,Te,Ke)=>{const It=Object.assign(Object.assign({},Ze(Ke)),{[`margin-${at}`]:`${gt}px`});return ae.push(It),S.value&&(pt==="fade"||pt==="card")&&Object.assign(It,C.value),ae},[])}),w=L(()=>{const{value:Se}=p,{length:Le}=i.value;if(Se!=="auto")return Math.max(Le-Se,0)+1;{const{value:Ze}=g,{length:pt}=Ze;if(!pt)return Le;const{value:gt}=y,{value:at}=l,ae=v.value[at];let Te=Ze[Ze.length-1][at],Ke=pt;for(;Ke>1&&Te_j(w.value,d.value)),P=Od(e.defaultIndex,d.value),k=N(P0(P,w.value,d.value)),A=rn(Ne(e,"currentIndex"),k),I=L(()=>Od(A.value,d.value));function W(Se){var Le,Ze;Se=Dl(Se,0,w.value-1);const pt=P0(Se,w.value,d.value),{value:gt}=A;pt!==A.value&&(k.value=pt,(Le=e["onUpdate:currentIndex"])===null||Le===void 0||Le.call(e,pt,gt),(Ze=e.onUpdateCurrentIndex)===null||Ze===void 0||Ze.call(e,pt,gt))}function B(Se=I.value){return Cj(Se,w.value,e.loop)}function z(Se=I.value){return wj(Se,w.value,e.loop)}function $(Se){const Le=he(Se);return Le!==null&&B()===Le}function j(Se){const Le=he(Se);return Le!==null&&z()===Le}function X(Se){return I.value===he(Se)}function F(Se){return A.value===Se}function M(){return B()===null}function se(){return z()===null}function Q(Se){const Le=Dl(Od(Se,d.value),0,w.value);(Se!==A.value||Le!==I.value)&&W(Le)}function ne(){const Se=B();Se!==null&&W(Se)}function fe(){const Se=z();Se!==null&&W(Se)}function xe(){(!G||!d.value)&&ne()}function Ce(){(!G||!d.value)&&fe()}let G=!1,ve=0;const ue=N({});function re(Se,Le=0){ue.value=Object.assign({},C.value,{transform:s.value?`translateY(${-Se}px)`:`translateX(${-Se}px)`,transitionDuration:`${Le}ms`})}function ke(Se=0){u.value?U(I.value,Se):ve!==0&&(!G&&Se>0&&(G=!0),re(ve=0,Se))}function U(Se,Le){const Ze=R(Se);Ze!==ve&&Le>0&&(G=!0),ve=R(I.value),re(Ze,Le)}function R(Se){let Le;return Se>=w.value-1?Le=E():Le=y.value[Se]||0,Le}function E(){if(p.value==="auto"){const{value:Se}=l,{[Se]:Le}=v.value,{value:Ze}=y,pt=Ze[Ze.length-1];let gt;if(pt===void 0)gt=Le;else{const{value:at}=g;gt=pt+at[at.length-1][Se]}return gt-Le}else{const{value:Se}=y;return Se[w.value-1]||0}}const q={currentIndexRef:A,to:Q,prev:xe,next:Ce,isVertical:()=>s.value,isHorizontal:()=>!s.value,isPrev:$,isNext:j,isActive:X,isPrevDisabled:M,isNextDisabled:se,getSlideIndex:he,getSlideStyle:ye,addSlide:ie,removeSlide:Y,onCarouselItemClick:ge};kj(q);function ie(Se){Se&&i.value.push(Se)}function Y(Se){if(!Se)return;const Le=he(Se);Le!==-1&&i.value.splice(Le,1)}function he(Se){return typeof Se=="number"?Se:Se?i.value.indexOf(Se):-1}function ye(Se){const Le=he(Se);if(Le!==-1){const Ze=[x.value[Le]],pt=q.isPrev(Le),gt=q.isNext(Le);return pt&&Ze.push(e.prevSlideStyle||""),gt&&Ze.push(e.nextSlideStyle||""),Fo(Ze)}}function ge(Se,Le){let Ze=!G&&!qe&&!tt;e.effect==="card"&&Ze&&!X(Se)&&(Q(Se),Ze=!1),Ze||(Le.preventDefault(),Le.stopPropagation())}let J=null;function de(){J&&(clearInterval(J),J=null)}function _e(){de(),!e.autoplay||T.value<2||(J=window.setInterval(fe,e.interval))}let te=0,oe=0,Ee=0,De=0,qe=!1,tt=!1;function Me(Se){var Le;if(Dd||!(!((Le=r.value)===null||Le===void 0)&&Le.contains(pi(Se))))return;Dd=!0,qe=!0,tt=!1,De=Date.now(),de(),Se.type!=="touchstart"&&!Se.target.isContentEditable&&Se.preventDefault();const Ze=R0(Se)?Se.touches[0]:Se;s.value?oe=Ze.clientY:te=Ze.clientX,e.touchable&&(At("touchmove",document,je,{passive:!0}),At("touchend",document,dt),At("touchcancel",document,dt)),e.draggable&&(At("mousemove",document,je),At("mouseup",document,dt))}function je(Se){const{value:Le}=s,{value:Ze}=l,pt=R0(Se)?Se.touches[0]:Se,gt=Le?pt.clientY-oe:pt.clientX-te,at=v.value[Ze];Ee=Dl(gt,-at,at),Se.cancelable&&Se.preventDefault(),u.value&&re(ve-Ee,0)}function dt(){const{value:Se}=I;let Le=Se;if(!G&&Ee!==0&&u.value){const Ze=ve-Ee,pt=[...y.value.slice(0,w.value-1),E()];let gt=null;for(let at=0;atgt/2||Ee/Ze>.4?Le=B(Se):(Ee<-gt/2||Ee/Ze<-.4)&&(Le=z(Se))}Le!==null&&Le!==Se?(tt=!0,W(Le),jt(()=>{(!d.value||k.value!==A.value)&&ke(_.value)})):ke(_.value),Oe(),_e()}function Oe(){qe&&(Dd=!1),qe=!1,te=0,oe=0,Ee=0,De=0,_t("touchmove",document,je),_t("touchend",document,dt),_t("touchcancel",document,dt),_t("mousemove",document,je),_t("mouseup",document,dt)}function rt(){if(u.value&&G){const{value:Se}=I;U(Se,0)}else _e();u.value&&(ue.value.transitionDuration="0ms"),G=!1}function it(Se){if(Se.preventDefault(),G)return;let{deltaX:Le,deltaY:Ze}=Se;Se.shiftKey&&!Le&&(Le=Ze);const pt=-1,gt=1,at=(Le||Ze)>0?gt:pt;let ae=0,Te=0;s.value?Te=at:ae=at;const Ke=10;(Te*Ze>=Ke||ae*Le>=Ke)&&(at===gt&&!se()?fe():at===pt&&!M()&&ne())}function Z(){v.value=E0(o.value,!0),_e()}function we(){var Se,Le;m.value&&((Le=(Se=g.effect).scheduler)===null||Le===void 0||Le.call(Se),g.effect.run())}function Ie(){e.autoplay&&de()}function Ve(){e.autoplay&&_e()}Vt(()=>{un(_e),requestAnimationFrame(()=>S.value=!0)}),tn(()=>{Oe(),de()}),Ws(()=>{const{value:Se}=i,{value:Le}=a,Ze=new Map,pt=at=>Ze.has(at)?Ze.get(at):-1;let gt=!1;for(let at=0;atTe.el===Se[at]);ae!==at&&(gt=!0),Ze.set(Se[at],ae)}gt&&Se.sort((at,ae)=>pt(at)-pt(ae))}),ht(I,(Se,Le)=>{if(Se!==Le)if(_e(),u.value){if(d.value&&T.value>2){const{value:Ze}=w;Se===Ze-2&&Le===1?Se=0:Se===1&&Le===Ze-2&&(Se=Ze-1)}U(Se,_.value)}else ke()},{immediate:!0}),ht([d,p],()=>void jt(()=>{W(I.value)})),ht(y,()=>{u.value&&ke()},{deep:!0}),ht(u,Se=>{Se?ke():(G=!1,re(ve=0))});const Xe=L(()=>({onTouchstartPassive:e.touchable?Me:void 0,onMousedown:e.draggable?Me:void 0,onWheel:e.mousewheel?it:void 0})),Qe=L(()=>Object.assign(Object.assign({},Kn(q,["to","prev","next","isPrevDisabled","isNextDisabled"])),{total:T.value,currentIndex:A.value})),nt=L(()=>({total:T.value,currentIndex:A.value,to:q.to})),ot={getCurrentIndex:()=>A.value,to:Q,prev:ne,next:fe},kt=Fe("Carousel","-carousel",Mj,vj,e,t),sn=L(()=>{const{common:{cubicBezierEaseInOut:Se},self:{dotSize:Le,dotColor:Ze,dotColorActive:pt,dotColorFocus:gt,dotLineWidth:at,dotLineWidthActive:ae,arrowColor:Te}}=kt.value;return{"--n-bezier":Se,"--n-dot-color":Ze,"--n-dot-color-focus":gt,"--n-dot-color-active":pt,"--n-dot-size":Le,"--n-dot-line-width":at,"--n-dot-line-width-active":ae,"--n-arrow-color":Te}}),Wt=n?Rt("carousel",void 0,sn,e):void 0;return Object.assign(Object.assign({mergedClsPrefix:t,selfElRef:o,slidesElRef:r,slideVNodes:a,duplicatedable:d,userWantsControl:f,autoSlideSize:m,displayIndex:A,realIndex:I,slideStyles:x,translateStyle:ue,slidesControlListeners:Xe,handleTransitionEnd:rt,handleResize:Z,handleSlideResize:we,handleMouseenter:Ie,handleMouseleave:Ve,isActive:F,arrowSlotProps:Qe,dotSlotProps:nt},ot),{cssVars:n?void 0:sn,themeClass:Wt==null?void 0:Wt.themeClass,onRender:Wt==null?void 0:Wt.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&&ba(d())||[];let m=Lj(h);return m.length||(m=h.map(v=>b(Ij,null,{default:()=>oo(v)}))),this.duplicatedable&&(m=xj(m)),this.slideVNodes.value=m,this.autoSlideSize&&(m=m.map(v=>b(Ar,{onResize:this.handleSlideResize},{default:()=>v}))),(e=this.onRender)===null||e===void 0||e.call(this),b("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}),b(Ar,{onResize:this.handleResize},{default:()=>b("div",{ref:"slidesElRef",class:`${t}-carousel__slides`,role:"listbox",style:this.translateStyle,onTransitionend:this.handleTransitionEnd},o?m.map((v,g)=>b("div",{style:r[g],key:g},Cn(b(fn,Object.assign({},l),{default:()=>v}),[[ro,this.isActive(g)]]))):m)}),this.showDots&&u.total>1&&Qf(f,u,()=>[b(Pj,{key:i+a,total:u.total,currentIndex:u.currentIndex,dotType:i,trigger:this.trigger,keyboard:this.keyboard})]),n&&Qf(p,c,()=>[b($j,null)]))}});function Lj(e){return e.reduce((t,n)=>(Aj(n)&&t.push(n),t),[])}const Fj={sizeSmall:"14px",sizeMedium:"16px",sizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},O_=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({},Fj),{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 ${Ae(l,{alpha:.3})}`,textColor:c,textColorDisabled:a})},Nj={name:"Checkbox",common:yt,self:O_},D_=Nj,Bj={name:"Checkbox",common:Be,self(e){const{cardColor:t}=e,n=O_(e);return n.color="#0000",n.checkMarkColor=t,n}},Fa=Bj,Hj=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"}},jj={name:"Cascader",common:Be,peers:{InternalSelectMenu:ol,InternalSelection:Kp,Scrollbar:Bn,Checkbox:Fa,Empty:xu},self:Hj},Vj=jj,Uj=b("svg",{viewBox:"0 0 64 64",class:"check-icon"},b("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"})),Wj=b("svg",{viewBox:"0 0 100 100",class:"line-icon"},b("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"})),L_="n-checkbox-group",qj={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]},Kj=pe({name:"CheckboxGroup",props:qj,setup(e){const{mergedClsPrefixRef:t}=ct(e),n=ar(e),{mergedSizeRef:o,mergedDisabledRef:r}=n,i=N(e.defaultValue),a=L(()=>e.value),s=rn(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:g}=e;if(Array.isArray(s.value)){const y=Array.from(s.value),S=y.findIndex(C=>C===f);d?~S||(y.push(f),g&&Re(g,y,{actionType:"check",value:f}),v&&Re(v,y,{actionType:"check",value:f}),p(),h(),i.value=y,m&&Re(m,y)):~S&&(y.splice(S,1),g&&Re(g,y,{actionType:"uncheck",value:f}),v&&Re(v,y,{actionType:"uncheck",value:f}),m&&Re(m,y),i.value=y,p(),h())}else d?(g&&Re(g,[f],{actionType:"check",value:f}),v&&Re(v,[f],{actionType:"check",value:f}),m&&Re(m,[f]),i.value=[f],p(),h()):(g&&Re(g,[],{actionType:"uncheck",value:f}),v&&Re(v,[],{actionType:"uncheck",value:f}),m&&Re(m,[]),i.value=[],p(),h())}return lt(L_,{checkedCountRef:l,maxRef:Ne(e,"max"),minRef:Ne(e,"min"),valueSetRef:c,disabledRef:r,mergedSizeRef:o,toggleCheckbox:u}),{mergedClsPrefix:t}},render(){return b("div",{class:`${this.mergedClsPrefix}-checkbox-group`,role:"group"},this.$slots)}}),Gj=V([O("checkbox",` font-size: var(--n-font-size); outline: none; cursor: pointer; @@ -1687,47 +1687,47 @@ ${t} word-break: break-word; line-height: var(--n-size); --n-merged-color-table: var(--n-color-table); - `,[K("show-label","line-height: var(--n-label-line-height);"),j("&:hover",[z("checkbox-box",[D("border","border: var(--n-border-checked);")])]),j("&:focus:not(:active)",[z("checkbox-box",[D("border",` + `,[K("show-label","line-height: var(--n-label-line-height);"),V("&:hover",[O("checkbox-box",[D("border","border: var(--n-border-checked);")])]),V("&:focus:not(:active)",[O("checkbox-box",[D("border",` border: var(--n-border-focus); box-shadow: var(--n-box-shadow-focus); - `)])]),K("inside-table",[z("checkbox-box",` + `)])]),K("inside-table",[O("checkbox-box",` background-color: var(--n-merged-color-table); - `)]),K("checked",[z("checkbox-box",` + `)]),K("checked",[O("checkbox-box",` background-color: var(--n-color-checked); - `,[z("checkbox-icon",[j(".check-icon",` + `,[O("checkbox-icon",[V(".check-icon",` opacity: 1; transform: scale(1); - `)])])]),K("indeterminate",[z("checkbox-box",[z("checkbox-icon",[j(".check-icon",` + `)])])]),K("indeterminate",[O("checkbox-box",[O("checkbox-icon",[V(".check-icon",` opacity: 0; transform: scale(.5); - `),j(".line-icon",` + `),V(".line-icon",` opacity: 1; transform: scale(1); - `)])])]),K("checked, indeterminate",[j("&:focus:not(:active)",[z("checkbox-box",[D("border",` + `)])])]),K("checked, indeterminate",[V("&:focus:not(:active)",[O("checkbox-box",[D("border",` border: var(--n-border-checked); box-shadow: var(--n-box-shadow-focus); - `)])]),z("checkbox-box",` + `)])]),O("checkbox-box",` background-color: var(--n-color-checked); border-left: 0; border-top: 0; - `,[D("border",{border:"var(--n-border-checked)"})])]),K("disabled",{cursor:"not-allowed"},[K("checked",[z("checkbox-box",` + `,[D("border",{border:"var(--n-border-checked)"})])]),K("disabled",{cursor:"not-allowed"},[K("checked",[O("checkbox-box",` background-color: var(--n-color-disabled-checked); - `,[D("border",{border:"var(--n-border-disabled-checked)"}),z("checkbox-icon",[j(".check-icon, .line-icon",{fill:"var(--n-check-mark-color-disabled-checked)"})])])]),z("checkbox-box",` + `,[D("border",{border:"var(--n-border-disabled-checked)"}),O("checkbox-icon",[V(".check-icon, .line-icon",{fill:"var(--n-check-mark-color-disabled-checked)"})])])]),O("checkbox-box",` background-color: var(--n-color-disabled); `,[D("border",` border: var(--n-border-disabled); - `),z("checkbox-icon",[j(".check-icon, .line-icon",` + `),O("checkbox-icon",[V(".check-icon, .line-icon",` fill: var(--n-check-mark-color-disabled); `)])]),D("label",` color: var(--n-text-color-disabled); - `)]),z("checkbox-box-wrapper",` + `)]),O("checkbox-box-wrapper",` position: relative; width: var(--n-size); flex-shrink: 0; flex-grow: 0; user-select: none; -webkit-user-select: none; - `),z("checkbox-box",` + `),O("checkbox-box",` position: absolute; left: 0; top: 50%; @@ -1750,7 +1750,7 @@ ${t} top: 0; bottom: 0; border: var(--n-border); - `),z("checkbox-icon",` + `),O("checkbox-icon",` display: flex; align-items: center; justify-content: center; @@ -1759,7 +1759,7 @@ ${t} right: 1px; top: 1px; bottom: 1px; - `,[j(".check-icon, .line-icon",` + `,[V(".check-icon, .line-icon",` width: 100%; fill: var(--n-check-mark-color); opacity: 0; @@ -1777,56 +1777,56 @@ ${t} -webkit-user-select: none; padding: var(--n-label-padding); font-weight: var(--n-label-font-weight); - `,[j("&:empty",{display:"none"})])]),Qs(z("checkbox",` + `,[V("&:empty",{display:"none"})])]),Qs(O("checkbox",` --n-merged-color-table: var(--n-color-table-modal); - `)),fu(z("checkbox",` + `)),fu(O("checkbox",` --n-merged-color-table: var(--n-color-table-popover); - `))]),Gj=Object.assign(Object.assign({},Fe.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]}),Su=pe({name:"Checkbox",props:Gj,setup(e){const t=B(null),{mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=ct(e),i=ar(e,{mergedSize(x){const{size:w}=e;if(w!==void 0)return w;if(l){const{value:T}=l.mergedSizeRef;if(T!==void 0)return T}if(x){const{mergedSize:T}=x;if(T!==void 0)return T.value}return"medium"},mergedDisabled(x){const{disabled:w}=e;if(w!==void 0)return w;if(l){if(l.disabledRef.value)return!0;const{maxRef:{value:T},checkedCountRef:P}=l;if(T!==void 0&&P.value>=T&&!f.value)return!0;const{minRef:{value:k}}=l;if(k!==void 0&&P.value<=k&&f.value)return!0}return x?x.disabled.value:!1}}),{mergedDisabledRef:a,mergedSizeRef:s}=i,l=He(D_,null),c=B(e.defaultChecked),u=Ne(e,"checked"),d=rn(u,c),f=wt(()=>{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=Fe("Checkbox","-checkbox",Kj,O_,e,n);function h(x){if(l&&e.value!==void 0)l.toggleCheckbox(!f.value,e.value);else{const{onChange:w,"onUpdate:checked":T,onUpdateChecked:P}=e,{nTriggerFormInput:k,nTriggerFormChange:I}=i,A=f.value?e.uncheckedValue:e.checkedValue;T&&Re(T,A,x),P&&Re(P,A,x),w&&Re(w,A,x),k(),I(),c.value=A}}function m(x){a.value||h(x)}function v(x){if(!a.value)switch(x.key){case" ":case"Enter":h(x)}}function g(x){switch(x.key){case" ":x.preventDefault()}}const y={focus:()=>{var x;(x=t.value)===null||x===void 0||x.focus()},blur:()=>{var x;(x=t.value)===null||x===void 0||x.blur()}},S=Rn("Checkbox",r,n),C=N(()=>{const{value:x}=s,{common:{cubicBezierEaseInOut:w},self:{borderRadius:T,color:P,colorChecked:k,colorDisabled:I,colorTableHeader:A,colorTableHeaderModal:q,colorTableHeaderPopover:F,checkMarkColor:O,checkMarkColorDisabled:$,border:W,borderFocus:Q,borderDisabled:L,borderChecked:M,boxShadowFocus:se,textColor:X,textColorDisabled:ne,checkMarkColorDisabledChecked:fe,colorDisabledChecked:xe,borderDisabledChecked:Ce,labelPadding:G,labelLineHeight:ve,labelFontWeight:ue,[Pe("fontSize",x)]:re,[Pe("size",x)]:ke}}=p.value;return{"--n-label-line-height":ve,"--n-label-font-weight":ue,"--n-size":ke,"--n-bezier":w,"--n-border-radius":T,"--n-border":W,"--n-border-checked":M,"--n-border-focus":Q,"--n-border-disabled":L,"--n-border-disabled-checked":Ce,"--n-box-shadow-focus":se,"--n-color":P,"--n-color-checked":k,"--n-color-table":A,"--n-color-table-modal":q,"--n-color-table-popover":F,"--n-color-disabled":I,"--n-color-disabled-checked":xe,"--n-text-color":X,"--n-text-color-disabled":ne,"--n-check-mark-color":O,"--n-check-mark-color-disabled":$,"--n-check-mark-color-disabled-checked":fe,"--n-font-size":re,"--n-label-padding":G}}),_=o?Rt("checkbox",N(()=>s.value[0]),C,e):void 0;return Object.assign(i,y,{rtlEnabled:S,selfRef:t,mergedClsPrefix:n,mergedDisabled:a,renderedChecked:f,mergedTheme:p,labelId:Ia(),handleClick:m,handleKeyUp:v,handleKeyDown:g,cssVars:o?void 0:C,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=Ot(t.default,m=>l||m?b("span",{class:`${c}-checkbox__label`,id:s},l||m):null);return b("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:()=>{At("selectstart",window,m=>{m.preventDefault()},{once:!0})}},b("div",{class:`${c}-checkbox-box-wrapper`}," ",b("div",{class:`${c}-checkbox-box`},b(Ai,null,{default:()=>this.indeterminate?b("div",{key:"indeterminate",class:`${c}-checkbox-icon`},Uj):b("div",{key:"check",class:`${c}-checkbox-icon`},Vj)}),b("div",{class:`${c}-checkbox-box__border`}))),h)}}),Yj={name:"Code",common:Be,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}}},L_=Yj,Xj=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"}},Qj={name:"Collapse",common:Be,self:Xj},Zj=Qj,Jj=e=>{const{cubicBezierEaseInOut:t}=e;return{bezier:t}},eV={name:"CollapseTransition",common:Be,self:Jj},tV=eV,nV={abstract:Boolean,bordered:{type:Boolean,default:void 0},clsPrefix:{type:String,default:Hs},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:()=>(or("config-provider","`as` is deprecated, please use `tag` instead."),!0),default:void 0}},F_=pe({name:"ConfigProvider",alias:["App"],props:nV,setup(e){const t=He(xo,null),n=N(()=>{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=N(()=>{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:rs({},m,h)}}}),r=wt(()=>{const{namespace:h}=e;return h===void 0?t==null?void 0:t.mergedNamespaceRef.value:h}),i=wt(()=>{const{bordered:h}=e;return h===void 0?t==null?void 0:t.mergedBorderedRef.value:h}),a=N(()=>{const{icons:h}=e;return h===void 0?t==null?void 0:t.mergedIconsRef.value:h}),s=N(()=>{const{componentOptions:h}=e;return h!==void 0?h:t==null?void 0:t.mergedComponentPropsRef.value}),l=N(()=>{const{clsPrefix:h}=e;return h!==void 0?h:t?t.mergedClsPrefixRef.value:Hs}),c=N(()=>{var h;const{rtl:m}=e;if(m===void 0)return t==null?void 0:t.mergedRtlRef.value;const v={};for(const g of m)v[g.name]=la(g),(h=g.peers)===null||h===void 0||h.forEach(y=>{y.name in v||(v[y.name]=la(y))});return v}),u=N(()=>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=N(()=>{const{value:h}=n,{value:m}=o,v=m&&Object.keys(m).length!==0,g=h==null?void 0:h.name;return g?v?`${g}-${Ds(JSON.stringify(o.value))}`:g:v?Ds(JSON.stringify(o.value)):""});return lt(xo,{mergedThemeHashRef:p,mergedBreakpointsRef:u,mergedRtlRef:c,mergedIconsRef:a,mergedComponentPropsRef:s,mergedBorderedRef:i,mergedNamespaceRef:r,mergedClsPrefixRef:l,mergedLocaleRef:N(()=>{const{locale:h}=e;if(h!==null)return h===void 0?t==null?void 0:t.mergedLocaleRef.value:h}),mergedDateLocaleRef:N(()=>{const{dateLocale:h}=e;if(h!==null)return h===void 0?t==null?void 0:t.mergedDateLocaleRef.value:h}),mergedHljsRef:N(()=>{const{hljs:h}=e;return h===void 0?t==null?void 0:t.mergedHljsRef.value:h}),mergedKatexRef:N(()=>{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):b(this.as||this.tag,{class:`${this.mergedClsPrefix||Hs}-config-provider`},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}}),oV=e=>1-Math.pow(1-e,5);function rV(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)*oV(c/o);if(c===o){i();return}r(u),requestAnimationFrame(a)},s=performance.now();a()}const iV={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=pe({name:"NumberAnimation",props:iV,setup(e){const{localeRef:t}=Pi("name"),{duration:n}=e,o=B(e.from),r=N(()=>{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&&rV({from:f,to:p,duration:n,onUpdate:a,onFinish:s})},c=N(()=>{var f;const h=mL(o.value,e.precision).toFixed(e.precision).split("."),m=new Intl.NumberFormat(r.value),v=(f=m.formatToParts(.5).find(S=>S.type==="decimal"))===null||f===void 0?void 0:f.value,g=e.showSeparator?m.format(Number(h[0])):h[0],y=h[1];return{integer:g,decimal:y,decimalSeparator:v}});function u(){i||l()}return Vt(()=>{un(()=>{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]}}),sV={name:"Popselect",common:Be,peers:{Popover:Di,InternalSelectMenu:ol}},N_=sV;function lV(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const cV={name:"Popselect",common:yt,peers:{Popover:La,InternalSelectMenu:qp},self:lV},Zp=cV,B_="n-popselect",uV=z("popselect-menu",` + `))]),Yj=Object.assign(Object.assign({},Fe.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]}),Su=pe({name:"Checkbox",props:Yj,setup(e){const t=N(null),{mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=ct(e),i=ar(e,{mergedSize(x){const{size:w}=e;if(w!==void 0)return w;if(l){const{value:T}=l.mergedSizeRef;if(T!==void 0)return T}if(x){const{mergedSize:T}=x;if(T!==void 0)return T.value}return"medium"},mergedDisabled(x){const{disabled:w}=e;if(w!==void 0)return w;if(l){if(l.disabledRef.value)return!0;const{maxRef:{value:T},checkedCountRef:P}=l;if(T!==void 0&&P.value>=T&&!f.value)return!0;const{minRef:{value:k}}=l;if(k!==void 0&&P.value<=k&&f.value)return!0}return x?x.disabled.value:!1}}),{mergedDisabledRef:a,mergedSizeRef:s}=i,l=He(L_,null),c=N(e.defaultChecked),u=Ne(e,"checked"),d=rn(u,c),f=wt(()=>{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=Fe("Checkbox","-checkbox",Gj,D_,e,n);function h(x){if(l&&e.value!==void 0)l.toggleCheckbox(!f.value,e.value);else{const{onChange:w,"onUpdate:checked":T,onUpdateChecked:P}=e,{nTriggerFormInput:k,nTriggerFormChange:A}=i,I=f.value?e.uncheckedValue:e.checkedValue;T&&Re(T,I,x),P&&Re(P,I,x),w&&Re(w,I,x),k(),A(),c.value=I}}function m(x){a.value||h(x)}function v(x){if(!a.value)switch(x.key){case" ":case"Enter":h(x)}}function g(x){switch(x.key){case" ":x.preventDefault()}}const y={focus:()=>{var x;(x=t.value)===null||x===void 0||x.focus()},blur:()=>{var x;(x=t.value)===null||x===void 0||x.blur()}},S=Rn("Checkbox",r,n),C=L(()=>{const{value:x}=s,{common:{cubicBezierEaseInOut:w},self:{borderRadius:T,color:P,colorChecked:k,colorDisabled:A,colorTableHeader:I,colorTableHeaderModal:W,colorTableHeaderPopover:B,checkMarkColor:z,checkMarkColorDisabled:$,border:j,borderFocus:X,borderDisabled:F,borderChecked:M,boxShadowFocus:se,textColor:Q,textColorDisabled:ne,checkMarkColorDisabledChecked:fe,colorDisabledChecked:xe,borderDisabledChecked:Ce,labelPadding:G,labelLineHeight:ve,labelFontWeight:ue,[Pe("fontSize",x)]:re,[Pe("size",x)]:ke}}=p.value;return{"--n-label-line-height":ve,"--n-label-font-weight":ue,"--n-size":ke,"--n-bezier":w,"--n-border-radius":T,"--n-border":j,"--n-border-checked":M,"--n-border-focus":X,"--n-border-disabled":F,"--n-border-disabled-checked":Ce,"--n-box-shadow-focus":se,"--n-color":P,"--n-color-checked":k,"--n-color-table":I,"--n-color-table-modal":W,"--n-color-table-popover":B,"--n-color-disabled":A,"--n-color-disabled-checked":xe,"--n-text-color":Q,"--n-text-color-disabled":ne,"--n-check-mark-color":z,"--n-check-mark-color-disabled":$,"--n-check-mark-color-disabled-checked":fe,"--n-font-size":re,"--n-label-padding":G}}),_=o?Rt("checkbox",L(()=>s.value[0]),C,e):void 0;return Object.assign(i,y,{rtlEnabled:S,selfRef:t,mergedClsPrefix:n,mergedDisabled:a,renderedChecked:f,mergedTheme:p,labelId:Ia(),handleClick:m,handleKeyUp:v,handleKeyDown:g,cssVars:o?void 0:C,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=Ot(t.default,m=>l||m?b("span",{class:`${c}-checkbox__label`,id:s},l||m):null);return b("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:()=>{At("selectstart",window,m=>{m.preventDefault()},{once:!0})}},b("div",{class:`${c}-checkbox-box-wrapper`}," ",b("div",{class:`${c}-checkbox-box`},b(Ai,null,{default:()=>this.indeterminate?b("div",{key:"indeterminate",class:`${c}-checkbox-icon`},Wj):b("div",{key:"check",class:`${c}-checkbox-icon`},Uj)}),b("div",{class:`${c}-checkbox-box__border`}))),h)}}),Xj={name:"Code",common:Be,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}}},F_=Xj,Qj=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"}},Zj={name:"Collapse",common:Be,self:Qj},Jj=Zj,eV=e=>{const{cubicBezierEaseInOut:t}=e;return{bezier:t}},tV={name:"CollapseTransition",common:Be,self:eV},nV=tV,oV={abstract:Boolean,bordered:{type:Boolean,default:void 0},clsPrefix:{type:String,default:Hs},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:()=>(or("config-provider","`as` is deprecated, please use `tag` instead."),!0),default:void 0}},N_=pe({name:"ConfigProvider",alias:["App"],props:oV,setup(e){const t=He(xo,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:rs({},m,h)}}}),r=wt(()=>{const{namespace:h}=e;return h===void 0?t==null?void 0:t.mergedNamespaceRef.value:h}),i=wt(()=>{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:Hs}),c=L(()=>{var h;const{rtl:m}=e;if(m===void 0)return t==null?void 0:t.mergedRtlRef.value;const v={};for(const g of m)v[g.name]=la(g),(h=g.peers)===null||h===void 0||h.forEach(y=>{y.name in v||(v[y.name]=la(y))});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,g=h==null?void 0:h.name;return g?v?`${g}-${Ds(JSON.stringify(o.value))}`:g:v?Ds(JSON.stringify(o.value)):""});return lt(xo,{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):b(this.as||this.tag,{class:`${this.mergedClsPrefix||Hs}-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 iV(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 aV={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},sV=pe({name:"NumberAnimation",props:aV,setup(e){const{localeRef:t}=Pi("name"),{duration:n}=e,o=N(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&&iV({from:f,to:p,duration:n,onUpdate:a,onFinish:s})},c=L(()=>{var f;const h=gL(o.value,e.precision).toFixed(e.precision).split("."),m=new Intl.NumberFormat(r.value),v=(f=m.formatToParts(.5).find(S=>S.type==="decimal"))===null||f===void 0?void 0:f.value,g=e.showSeparator?m.format(Number(h[0])):h[0],y=h[1];return{integer:g,decimal:y,decimalSeparator:v}});function u(){i||l()}return Vt(()=>{un(()=>{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]}}),lV={name:"Popselect",common:Be,peers:{Popover:Di,InternalSelectMenu:ol}},B_=lV;function cV(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const uV={name:"Popselect",common:yt,peers:{Popover:La,InternalSelectMenu:qp},self:cV},Zp=uV,H_="n-popselect",dV=O("popselect-menu",` box-shadow: var(--n-menu-box-shadow); -`),Jp={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]},E0=Lr(Jp),dV=pe({name:"PopselectPanel",props:Jp,setup(e){const t=He(B_),{mergedClsPrefixRef:n,inlineThemeDisabled:o}=ct(e),r=Fe("Popselect","-pop-select",uV,Zp,t.props,n),i=N(()=>nl(e.options,y_("value","children")));function a(f,p){const{onUpdateValue:h,"onUpdate:value":m,onChange:v}=e;h&&Re(h,f,p),m&&Re(m,f,p),v&&Re(v,f,p)}function s(f){c(f.key)}function l(f){nr(f,"action")||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(g=>{if(g===f){v=!1;return}const y=p(g);y&&(h.push(y.key),m.push(y.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&&Re(m,!1),v&&Re(v,!1),t.setShow(!1)}jt(()=>{t.syncPosition()})}ht(Ne(e,"options"),()=>{jt(()=>{t.syncPosition()})});const u=N(()=>{const{self:{menuBoxShadow:f}}=r.value;return{"--n-menu-box-shadow":f}}),d=o?Rt("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),b(l_,{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},{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))||[]}})}}),fV=Object.assign(Object.assign(Object.assign(Object.assign({},Fe.props),Ys(Ca,["showArrow","arrow"])),{placement:Object.assign(Object.assign({},Ca.placement),{default:"bottom"}),trigger:{type:String,default:"hover"}}),Jp),al=pe({name:"Popselect",props:fV,inheritAttrs:!1,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=ct(e),n=Fe("Popselect","-popselect",void 0,Zp,e,t),o=B(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 lt(B_,{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 b(dV,Object.assign({},s,{class:[s.class,n],style:[s.style,r]},Kn(this.$props,E0),{ref:_C(o),onMouseenter:ms([i,s.onMouseenter]),onMouseleave:ms([a,s.onMouseleave])}),{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 b(rl,Object.assign({},Ys(this.$props,E0),t,{internalDeactivateImmediately:!0}),{trigger:()=>{var n,o;return(o=(n=this.$slots).default)===null||o===void 0?void 0:o.call(n)}})}});function H_(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const hV={name:"Select",common:yt,peers:{InternalSelection:g_,InternalSelectMenu:qp},self:H_},j_=hV,pV={name:"Select",common:Be,peers:{InternalSelection:Kp,InternalSelectMenu:ol},self:H_},V_=pV,mV=j([z("select",` +`),Jp={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]},$0=Lr(Jp),fV=pe({name:"PopselectPanel",props:Jp,setup(e){const t=He(H_),{mergedClsPrefixRef:n,inlineThemeDisabled:o}=ct(e),r=Fe("Popselect","-pop-select",dV,Zp,t.props,n),i=L(()=>nl(e.options,x_("value","children")));function a(f,p){const{onUpdateValue:h,"onUpdate:value":m,onChange:v}=e;h&&Re(h,f,p),m&&Re(m,f,p),v&&Re(v,f,p)}function s(f){c(f.key)}function l(f){nr(f,"action")||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(g=>{if(g===f){v=!1;return}const y=p(g);y&&(h.push(y.key),m.push(y.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&&Re(m,!1),v&&Re(v,!1),t.setShow(!1)}jt(()=>{t.syncPosition()})}ht(Ne(e,"options"),()=>{jt(()=>{t.syncPosition()})});const u=L(()=>{const{self:{menuBoxShadow:f}}=r.value;return{"--n-menu-box-shadow":f}}),d=o?Rt("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),b(c_,{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},{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))||[]}})}}),hV=Object.assign(Object.assign(Object.assign(Object.assign({},Fe.props),Ys(Ca,["showArrow","arrow"])),{placement:Object.assign(Object.assign({},Ca.placement),{default:"bottom"}),trigger:{type:String,default:"hover"}}),Jp),al=pe({name:"Popselect",props:hV,inheritAttrs:!1,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=ct(e),n=Fe("Popselect","-popselect",void 0,Zp,e,t),o=N(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 lt(H_,{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 b(fV,Object.assign({},s,{class:[s.class,n],style:[s.style,r]},Kn(this.$props,$0),{ref:SC(o),onMouseenter:ms([i,s.onMouseenter]),onMouseleave:ms([a,s.onMouseleave])}),{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 b(rl,Object.assign({},Ys(this.$props,$0),t,{internalDeactivateImmediately:!0}),{trigger:()=>{var n,o;return(o=(n=this.$slots).default)===null||o===void 0?void 0:o.call(n)}})}});function j_(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const pV={name:"Select",common:yt,peers:{InternalSelection:v_,InternalSelectMenu:qp},self:j_},V_=pV,mV={name:"Select",common:Be,peers:{InternalSelection:Kp,InternalSelectMenu:ol},self:j_},U_=mV,gV=V([O("select",` z-index: auto; outline: none; width: 100%; position: relative; - `),z("select-menu",` + `),O("select-menu",` margin: 4px 0; box-shadow: var(--n-menu-box-shadow); - `,[Da({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})])]),gV=Object.assign(Object.assign({},Fe.props),{to:Bo.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],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}),ku=pe({name:"Select",props:gV,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,namespaceRef:o,inlineThemeDisabled:r}=ct(e),i=Fe("Select","-select",mV,j_,e,t),a=B(e.defaultValue),s=Ne(e,"value"),l=rn(s,a),c=B(!1),u=B(""),d=N(()=>{const{valueField:Z,childrenField:we}=e,Ie=y_(Z,we);return nl(A.value,Ie)}),f=N(()=>lH(k.value,e.valueField,e.childrenField)),p=B(!1),h=rn(Ne(e,"show"),p),m=B(null),v=B(null),g=B(null),{localeRef:y}=Pi("Select"),S=N(()=>{var Z;return(Z=e.placeholder)!==null&&Z!==void 0?Z:y.value.placeholder}),C=Cp(e,["items","options"]),_=[],x=B([]),w=B([]),T=B(new Map),P=N(()=>{const{fallbackOption:Z}=e;if(Z===void 0){const{labelField:we,valueField:Ie}=e;return Ve=>({[we]:String(Ve),[Ie]:Ve})}return Z===!1?!1:we=>Object.assign(Z(we),{value:we})}),k=N(()=>w.value.concat(x.value).concat(C.value)),I=N(()=>{const{filter:Z}=e;if(Z)return Z;const{labelField:we,valueField:Ie}=e;return(Ve,Xe)=>{if(!Xe)return!1;const Qe=Xe[we];if(typeof Qe=="string")return zd(Ve,Qe);const nt=Xe[Ie];return typeof nt=="string"?zd(Ve,nt):typeof nt=="number"?zd(Ve,String(nt)):!1}}),A=N(()=>{if(e.remote)return C.value;{const{value:Z}=k,{value:we}=u;return!we.length||!e.filterable?Z:sH(Z,I.value,we,e.childrenField)}});function q(Z){const we=e.remote,{value:Ie}=T,{value:Ve}=f,{value:Xe}=P,Qe=[];return Z.forEach(nt=>{if(Ve.has(nt))Qe.push(Ve.get(nt));else if(we&&Ie.has(nt))Qe.push(Ie.get(nt));else if(Xe){const ot=Xe(nt);ot&&Qe.push(ot)}}),Qe}const F=N(()=>{if(e.multiple){const{value:Z}=l;return Array.isArray(Z)?q(Z):[]}return null}),O=N(()=>{const{value:Z}=l;return!e.multiple&&!Array.isArray(Z)?Z===null?null:q([Z])[0]||null:null}),$=ar(e),{mergedSizeRef:W,mergedDisabledRef:Q,mergedStatusRef:L}=$;function M(Z,we){const{onChange:Ie,"onUpdate:value":Ve,onUpdateValue:Xe}=e,{nTriggerFormChange:Qe,nTriggerFormInput:nt}=$;Ie&&Re(Ie,Z,we),Xe&&Re(Xe,Z,we),Ve&&Re(Ve,Z,we),a.value=Z,Qe(),nt()}function se(Z){const{onBlur:we}=e,{nTriggerFormBlur:Ie}=$;we&&Re(we,Z),Ie()}function X(){const{onClear:Z}=e;Z&&Re(Z)}function ne(Z){const{onFocus:we,showOnFocus:Ie}=e,{nTriggerFormFocus:Ve}=$;we&&Re(we,Z),Ve(),Ie&&ve()}function fe(Z){const{onSearch:we}=e;we&&Re(we,Z)}function xe(Z){const{onScroll:we}=e;we&&Re(we,Z)}function Ce(){var Z;const{remote:we,multiple:Ie}=e;if(we){const{value:Ve}=T;if(Ie){const{valueField:Xe}=e;(Z=F.value)===null||Z===void 0||Z.forEach(Qe=>{Ve.set(Qe[Xe],Qe)})}else{const Xe=O.value;Xe&&Ve.set(Xe[e.valueField],Xe)}}}function G(Z){const{onUpdateShow:we,"onUpdate:show":Ie}=e;we&&Re(we,Z),Ie&&Re(Ie,Z),p.value=Z}function ve(){Q.value||(G(!0),p.value=!0,e.filterable&&je())}function ue(){G(!1)}function re(){u.value="",w.value=_}const ke=B(!1);function V(){e.filterable&&(ke.value=!0)}function R(){e.filterable&&(ke.value=!1,h.value||re())}function E(){Q.value||(h.value?e.filterable?je():ue():ve())}function U(Z){var we,Ie;!((Ie=(we=g.value)===null||we===void 0?void 0:we.selfRef)===null||Ie===void 0)&&Ie.contains(Z.relatedTarget)||(c.value=!1,se(Z),ue())}function ie(Z){ne(Z),c.value=!0}function Y(Z){c.value=!0}function he(Z){var we;!((we=m.value)===null||we===void 0)&&we.$el.contains(Z.relatedTarget)||(c.value=!1,se(Z),ue())}function ye(){var Z;(Z=m.value)===null||Z===void 0||Z.focus(),ue()}function ge(Z){var we;h.value&&(!((we=m.value)===null||we===void 0)&&we.$el.contains(pi(Z))||ue())}function J(Z){if(!Array.isArray(Z))return[];if(P.value)return Array.from(Z);{const{remote:we}=e,{value:Ie}=f;if(we){const{value:Ve}=T;return Z.filter(Xe=>Ie.has(Xe)||Ve.has(Xe))}else return Z.filter(Ve=>Ie.has(Ve))}}function de(Z){_e(Z.rawNode)}function _e(Z){if(Q.value)return;const{tag:we,remote:Ie,clearFilterAfterSelect:Ve,valueField:Xe}=e;if(we&&!Ie){const{value:Qe}=w,nt=Qe[0]||null;if(nt){const ot=x.value;ot.length?ot.push(nt):x.value=[nt],w.value=_}}if(Ie&&T.value.set(Z[Xe],Z),e.multiple){const Qe=J(l.value),nt=Qe.findIndex(ot=>ot===Z[Xe]);if(~nt){if(Qe.splice(nt,1),we&&!Ie){const ot=te(Z[Xe]);~ot&&(x.value.splice(ot,1),Ve&&(u.value=""))}}else Qe.push(Z[Xe]),Ve&&(u.value="");M(Qe,q(Qe))}else{if(we&&!Ie){const Qe=te(Z[Xe]);~Qe?x.value=[x.value[Qe]]:x.value=_}Me(),ue(),M(Z[Xe],Z)}}function te(Z){return x.value.findIndex(Ie=>Ie[e.valueField]===Z)}function oe(Z){h.value||ve();const{value:we}=Z.target;u.value=we;const{tag:Ie,remote:Ve}=e;if(fe(we),Ie&&!Ve){if(!we){w.value=_;return}const{onCreate:Xe}=e,Qe=Xe?Xe(we):{[e.labelField]:we,[e.valueField]:we},{valueField:nt,labelField:ot}=e;C.value.some(kt=>kt[nt]===Qe[nt]||kt[ot]===Qe[ot])||x.value.some(kt=>kt[nt]===Qe[nt]||kt[ot]===Qe[ot])?w.value=_:w.value=[Qe]}}function Ee(Z){Z.stopPropagation();const{multiple:we}=e;!we&&e.filterable&&ue(),X(),we?M([],[]):M(null,null)}function De(Z){!nr(Z,"action")&&!nr(Z,"empty")&&Z.preventDefault()}function qe(Z){xe(Z)}function tt(Z){var we,Ie,Ve,Xe,Qe;if(!e.keyboard){Z.preventDefault();return}switch(Z.key){case" ":if(e.filterable)break;Z.preventDefault();case"Enter":if(!(!((we=m.value)===null||we===void 0)&&we.isComposing)){if(h.value){const nt=(Ie=g.value)===null||Ie===void 0?void 0:Ie.getPendingTmNode();nt?de(nt):e.filterable||(ue(),Me())}else if(ve(),e.tag&&ke.value){const nt=w.value[0];if(nt){const ot=nt[e.valueField],{value:kt}=l;e.multiple&&Array.isArray(kt)&&kt.some(sn=>sn===ot)||_e(nt)}}}Z.preventDefault();break;case"ArrowUp":if(Z.preventDefault(),e.loading)return;h.value&&((Ve=g.value)===null||Ve===void 0||Ve.prev());break;case"ArrowDown":if(Z.preventDefault(),e.loading)return;h.value?(Xe=g.value)===null||Xe===void 0||Xe.next():ve();break;case"Escape":h.value&&(a6(Z),ue()),(Qe=m.value)===null||Qe===void 0||Qe.focus();break}}function Me(){var Z;(Z=m.value)===null||Z===void 0||Z.focus()}function je(){var Z;(Z=m.value)===null||Z===void 0||Z.focusInput()}function dt(){var Z;h.value&&((Z=v.value)===null||Z===void 0||Z.syncPosition())}Ce(),ht(Ne(e,"options"),Ce);const Oe={focus:()=>{var Z;(Z=m.value)===null||Z===void 0||Z.focus()},focusInput:()=>{var Z;(Z=m.value)===null||Z===void 0||Z.focusInput()},blur:()=>{var Z;(Z=m.value)===null||Z===void 0||Z.blur()},blurInput:()=>{var Z;(Z=m.value)===null||Z===void 0||Z.blurInput()}},rt=N(()=>{const{self:{menuBoxShadow:Z}}=i.value;return{"--n-menu-box-shadow":Z}}),it=r?Rt("select",void 0,rt,e):void 0;return Object.assign(Object.assign({},Oe),{mergedStatus:L,mergedClsPrefix:t,mergedBordered:n,namespace:o,treeMate:d,isMounted:Nr(),triggerRef:m,menuRef:g,pattern:u,uncontrolledShow:p,mergedShow:h,adjustedTo:Bo(e),uncontrolledValue:a,mergedValue:l,followerRef:v,localizedPlaceholder:S,selectedOption:O,selectedOptions:F,mergedSize:W,mergedDisabled:Q,focused:c,activeWithoutMenuOpen:ke,inlineThemeDisabled:r,onTriggerInputFocus:V,onTriggerInputBlur:R,handleTriggerOrMenuResize:dt,handleMenuFocus:Y,handleMenuBlur:he,handleMenuTabOut:ye,handleTriggerClick:E,handleToggle:de,handleDeleteOption:_e,handlePatternInput:oe,handleClear:Ee,handleTriggerBlur:U,handleTriggerFocus:ie,handleKeydown:tt,handleMenuAfterLeave:re,handleMenuClickOutside:ge,handleMenuScroll:qe,handleMenuKeydown:tt,handleMenuMousedown:De,mergedTheme:i,cssVars:r?void 0:rt,themeClass:it==null?void 0:it.themeClass,onRender:it==null?void 0:it.onRender})},render(){return b("div",{class:`${this.mergedClsPrefix}-select`},b(Sp,null,{default:()=>[b(kp,null,{default:()=>b(qB,{ref:"triggerRef",inlineThemeDisabled:this.inlineThemeDisabled,status:this.mergedStatus,inputProps:this.inputProps,clsPrefix:this.mergedClsPrefix,showArrow:this.showArrow,maxTagCount:this.maxTagCount,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)]}})}),b(Pp,{ref:"followerRef",show:this.mergedShow,to:this.adjustedTo,teleportDisabled:this.adjustedTo===Bo.tdkey,containerClass:this.namespace,width:this.consistentMenuWidth?"target":void 0,minWidth:"target",placement:this.placement},{default:()=>b(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),Cn(b(l_,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)]},action:()=>{var o,r;return[(r=(o=this.$slots).action)===null||r===void 0?void 0:r.call(o)]}}),this.displayDirective==="show"?[[ro,this.mergedShow],[ya,this.handleMenuClickOutside,void 0,{capture:!0}]]:[[ya,this.handleMenuClickOutside,void 0,{capture:!0}]])):null}})})]}))}}),vV={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"},U_=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({},vV),{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})},bV={name:"Pagination",common:yt,peers:{Select:j_,Input:Yp,Popselect:Zp},self:U_},W_=bV,yV={name:"Pagination",common:Be,peers:{Select:V_,Input:lo,Popselect:N_},self(e){const{primaryColor:t,opacity3:n}=e,o=Ae(t,{alpha:Number(n)}),r=U_(e);return r.itemBorderActive=`1px solid ${o}`,r.itemBorderDisabled="1px solid #0000",r}},q_=yV;function xV(e,t,n){let o=!1,r=!1,i=1,a=t;if(t===1)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:a,fastBackwardTo:i,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1}]};if(t===2)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:a,fastBackwardTo:i,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1},{type:"page",label:2,active:e===2,mayBeFastBackward:!0,mayBeFastForward:!1}]};const s=1,l=t;let c=e,u=e;const d=(n-5)/2;u+=Math.ceil(d),u=Math.min(Math.max(u,s+n-3),l-2),c-=Math.floor(d),c=Math.max(Math.min(c,l-n+3),s+2);let f=!1,p=!1;c>s+2&&(f=!0),u=s+1&&h.push({type:"page",label:s+1,mayBeFastBackward:!0,mayBeFastForward:!1,active:e===s+1});for(let m=c;m<=u;++m)h.push({type:"page",label:m,mayBeFastBackward:!1,mayBeFastForward:!1,active:e===m});return p?(r=!0,a=u+1,h.push({type:"fast-forward",active:!1,label:void 0,options:$0(u+1,l-1)})):u===l-2&&h[h.length-1].label!==l-1&&h.push({type:"page",mayBeFastForward:!0,mayBeFastBackward:!1,label:l-1,active:e===l-1}),h[h.length-1].label!==l&&h.push({type:"page",mayBeFastForward:!1,mayBeFastBackward:!1,label:l,active:e===l}),{hasFastBackward:o,hasFastForward:r,fastBackwardTo:i,fastForwardTo:a,items:h}}function $0(e,t){const n=[];for(let o=e;o<=t;++o)n.push({label:`${o}`,value:o});return n}const A0=` + `,[Da({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})])]),vV=Object.assign(Object.assign({},Fe.props),{to:Bo.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],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}),ku=pe({name:"Select",props:vV,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,namespaceRef:o,inlineThemeDisabled:r}=ct(e),i=Fe("Select","-select",gV,V_,e,t),a=N(e.defaultValue),s=Ne(e,"value"),l=rn(s,a),c=N(!1),u=N(""),d=L(()=>{const{valueField:Z,childrenField:we}=e,Ie=x_(Z,we);return nl(I.value,Ie)}),f=L(()=>cH(k.value,e.valueField,e.childrenField)),p=N(!1),h=rn(Ne(e,"show"),p),m=N(null),v=N(null),g=N(null),{localeRef:y}=Pi("Select"),S=L(()=>{var Z;return(Z=e.placeholder)!==null&&Z!==void 0?Z:y.value.placeholder}),C=Cp(e,["items","options"]),_=[],x=N([]),w=N([]),T=N(new Map),P=L(()=>{const{fallbackOption:Z}=e;if(Z===void 0){const{labelField:we,valueField:Ie}=e;return Ve=>({[we]:String(Ve),[Ie]:Ve})}return Z===!1?!1:we=>Object.assign(Z(we),{value:we})}),k=L(()=>w.value.concat(x.value).concat(C.value)),A=L(()=>{const{filter:Z}=e;if(Z)return Z;const{labelField:we,valueField:Ie}=e;return(Ve,Xe)=>{if(!Xe)return!1;const Qe=Xe[we];if(typeof Qe=="string")return zd(Ve,Qe);const nt=Xe[Ie];return typeof nt=="string"?zd(Ve,nt):typeof nt=="number"?zd(Ve,String(nt)):!1}}),I=L(()=>{if(e.remote)return C.value;{const{value:Z}=k,{value:we}=u;return!we.length||!e.filterable?Z:lH(Z,A.value,we,e.childrenField)}});function W(Z){const we=e.remote,{value:Ie}=T,{value:Ve}=f,{value:Xe}=P,Qe=[];return Z.forEach(nt=>{if(Ve.has(nt))Qe.push(Ve.get(nt));else if(we&&Ie.has(nt))Qe.push(Ie.get(nt));else if(Xe){const ot=Xe(nt);ot&&Qe.push(ot)}}),Qe}const B=L(()=>{if(e.multiple){const{value:Z}=l;return Array.isArray(Z)?W(Z):[]}return null}),z=L(()=>{const{value:Z}=l;return!e.multiple&&!Array.isArray(Z)?Z===null?null:W([Z])[0]||null:null}),$=ar(e),{mergedSizeRef:j,mergedDisabledRef:X,mergedStatusRef:F}=$;function M(Z,we){const{onChange:Ie,"onUpdate:value":Ve,onUpdateValue:Xe}=e,{nTriggerFormChange:Qe,nTriggerFormInput:nt}=$;Ie&&Re(Ie,Z,we),Xe&&Re(Xe,Z,we),Ve&&Re(Ve,Z,we),a.value=Z,Qe(),nt()}function se(Z){const{onBlur:we}=e,{nTriggerFormBlur:Ie}=$;we&&Re(we,Z),Ie()}function Q(){const{onClear:Z}=e;Z&&Re(Z)}function ne(Z){const{onFocus:we,showOnFocus:Ie}=e,{nTriggerFormFocus:Ve}=$;we&&Re(we,Z),Ve(),Ie&&ve()}function fe(Z){const{onSearch:we}=e;we&&Re(we,Z)}function xe(Z){const{onScroll:we}=e;we&&Re(we,Z)}function Ce(){var Z;const{remote:we,multiple:Ie}=e;if(we){const{value:Ve}=T;if(Ie){const{valueField:Xe}=e;(Z=B.value)===null||Z===void 0||Z.forEach(Qe=>{Ve.set(Qe[Xe],Qe)})}else{const Xe=z.value;Xe&&Ve.set(Xe[e.valueField],Xe)}}}function G(Z){const{onUpdateShow:we,"onUpdate:show":Ie}=e;we&&Re(we,Z),Ie&&Re(Ie,Z),p.value=Z}function ve(){X.value||(G(!0),p.value=!0,e.filterable&&je())}function ue(){G(!1)}function re(){u.value="",w.value=_}const ke=N(!1);function U(){e.filterable&&(ke.value=!0)}function R(){e.filterable&&(ke.value=!1,h.value||re())}function E(){X.value||(h.value?e.filterable?je():ue():ve())}function q(Z){var we,Ie;!((Ie=(we=g.value)===null||we===void 0?void 0:we.selfRef)===null||Ie===void 0)&&Ie.contains(Z.relatedTarget)||(c.value=!1,se(Z),ue())}function ie(Z){ne(Z),c.value=!0}function Y(Z){c.value=!0}function he(Z){var we;!((we=m.value)===null||we===void 0)&&we.$el.contains(Z.relatedTarget)||(c.value=!1,se(Z),ue())}function ye(){var Z;(Z=m.value)===null||Z===void 0||Z.focus(),ue()}function ge(Z){var we;h.value&&(!((we=m.value)===null||we===void 0)&&we.$el.contains(pi(Z))||ue())}function J(Z){if(!Array.isArray(Z))return[];if(P.value)return Array.from(Z);{const{remote:we}=e,{value:Ie}=f;if(we){const{value:Ve}=T;return Z.filter(Xe=>Ie.has(Xe)||Ve.has(Xe))}else return Z.filter(Ve=>Ie.has(Ve))}}function de(Z){_e(Z.rawNode)}function _e(Z){if(X.value)return;const{tag:we,remote:Ie,clearFilterAfterSelect:Ve,valueField:Xe}=e;if(we&&!Ie){const{value:Qe}=w,nt=Qe[0]||null;if(nt){const ot=x.value;ot.length?ot.push(nt):x.value=[nt],w.value=_}}if(Ie&&T.value.set(Z[Xe],Z),e.multiple){const Qe=J(l.value),nt=Qe.findIndex(ot=>ot===Z[Xe]);if(~nt){if(Qe.splice(nt,1),we&&!Ie){const ot=te(Z[Xe]);~ot&&(x.value.splice(ot,1),Ve&&(u.value=""))}}else Qe.push(Z[Xe]),Ve&&(u.value="");M(Qe,W(Qe))}else{if(we&&!Ie){const Qe=te(Z[Xe]);~Qe?x.value=[x.value[Qe]]:x.value=_}Me(),ue(),M(Z[Xe],Z)}}function te(Z){return x.value.findIndex(Ie=>Ie[e.valueField]===Z)}function oe(Z){h.value||ve();const{value:we}=Z.target;u.value=we;const{tag:Ie,remote:Ve}=e;if(fe(we),Ie&&!Ve){if(!we){w.value=_;return}const{onCreate:Xe}=e,Qe=Xe?Xe(we):{[e.labelField]:we,[e.valueField]:we},{valueField:nt,labelField:ot}=e;C.value.some(kt=>kt[nt]===Qe[nt]||kt[ot]===Qe[ot])||x.value.some(kt=>kt[nt]===Qe[nt]||kt[ot]===Qe[ot])?w.value=_:w.value=[Qe]}}function Ee(Z){Z.stopPropagation();const{multiple:we}=e;!we&&e.filterable&&ue(),Q(),we?M([],[]):M(null,null)}function De(Z){!nr(Z,"action")&&!nr(Z,"empty")&&Z.preventDefault()}function qe(Z){xe(Z)}function tt(Z){var we,Ie,Ve,Xe,Qe;if(!e.keyboard){Z.preventDefault();return}switch(Z.key){case" ":if(e.filterable)break;Z.preventDefault();case"Enter":if(!(!((we=m.value)===null||we===void 0)&&we.isComposing)){if(h.value){const nt=(Ie=g.value)===null||Ie===void 0?void 0:Ie.getPendingTmNode();nt?de(nt):e.filterable||(ue(),Me())}else if(ve(),e.tag&&ke.value){const nt=w.value[0];if(nt){const ot=nt[e.valueField],{value:kt}=l;e.multiple&&Array.isArray(kt)&&kt.some(sn=>sn===ot)||_e(nt)}}}Z.preventDefault();break;case"ArrowUp":if(Z.preventDefault(),e.loading)return;h.value&&((Ve=g.value)===null||Ve===void 0||Ve.prev());break;case"ArrowDown":if(Z.preventDefault(),e.loading)return;h.value?(Xe=g.value)===null||Xe===void 0||Xe.next():ve();break;case"Escape":h.value&&(s6(Z),ue()),(Qe=m.value)===null||Qe===void 0||Qe.focus();break}}function Me(){var Z;(Z=m.value)===null||Z===void 0||Z.focus()}function je(){var Z;(Z=m.value)===null||Z===void 0||Z.focusInput()}function dt(){var Z;h.value&&((Z=v.value)===null||Z===void 0||Z.syncPosition())}Ce(),ht(Ne(e,"options"),Ce);const Oe={focus:()=>{var Z;(Z=m.value)===null||Z===void 0||Z.focus()},focusInput:()=>{var Z;(Z=m.value)===null||Z===void 0||Z.focusInput()},blur:()=>{var Z;(Z=m.value)===null||Z===void 0||Z.blur()},blurInput:()=>{var Z;(Z=m.value)===null||Z===void 0||Z.blurInput()}},rt=L(()=>{const{self:{menuBoxShadow:Z}}=i.value;return{"--n-menu-box-shadow":Z}}),it=r?Rt("select",void 0,rt,e):void 0;return Object.assign(Object.assign({},Oe),{mergedStatus:F,mergedClsPrefix:t,mergedBordered:n,namespace:o,treeMate:d,isMounted:Nr(),triggerRef:m,menuRef:g,pattern:u,uncontrolledShow:p,mergedShow:h,adjustedTo:Bo(e),uncontrolledValue:a,mergedValue:l,followerRef:v,localizedPlaceholder:S,selectedOption:z,selectedOptions:B,mergedSize:j,mergedDisabled:X,focused:c,activeWithoutMenuOpen:ke,inlineThemeDisabled:r,onTriggerInputFocus:U,onTriggerInputBlur:R,handleTriggerOrMenuResize:dt,handleMenuFocus:Y,handleMenuBlur:he,handleMenuTabOut:ye,handleTriggerClick:E,handleToggle:de,handleDeleteOption:_e,handlePatternInput:oe,handleClear:Ee,handleTriggerBlur:q,handleTriggerFocus:ie,handleKeydown:tt,handleMenuAfterLeave:re,handleMenuClickOutside:ge,handleMenuScroll:qe,handleMenuKeydown:tt,handleMenuMousedown:De,mergedTheme:i,cssVars:r?void 0:rt,themeClass:it==null?void 0:it.themeClass,onRender:it==null?void 0:it.onRender})},render(){return b("div",{class:`${this.mergedClsPrefix}-select`},b(Sp,null,{default:()=>[b(kp,null,{default:()=>b(KB,{ref:"triggerRef",inlineThemeDisabled:this.inlineThemeDisabled,status:this.mergedStatus,inputProps:this.inputProps,clsPrefix:this.mergedClsPrefix,showArrow:this.showArrow,maxTagCount:this.maxTagCount,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)]}})}),b(Pp,{ref:"followerRef",show:this.mergedShow,to:this.adjustedTo,teleportDisabled:this.adjustedTo===Bo.tdkey,containerClass:this.namespace,width:this.consistentMenuWidth?"target":void 0,minWidth:"target",placement:this.placement},{default:()=>b(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),Cn(b(c_,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)]},action:()=>{var o,r;return[(r=(o=this.$slots).action)===null||r===void 0?void 0:r.call(o)]}}),this.displayDirective==="show"?[[ro,this.mergedShow],[ya,this.handleMenuClickOutside,void 0,{capture:!0}]]:[[ya,this.handleMenuClickOutside,void 0,{capture:!0}]])):null}})})]}))}}),bV={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"},W_=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({},bV),{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})},yV={name:"Pagination",common:yt,peers:{Select:V_,Input:Yp,Popselect:Zp},self:W_},q_=yV,xV={name:"Pagination",common:Be,peers:{Select:U_,Input:lo,Popselect:B_},self(e){const{primaryColor:t,opacity3:n}=e,o=Ae(t,{alpha:Number(n)}),r=W_(e);return r.itemBorderActive=`1px solid ${o}`,r.itemBorderDisabled="1px solid #0000",r}},K_=xV;function CV(e,t,n){let o=!1,r=!1,i=1,a=t;if(t===1)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:a,fastBackwardTo:i,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1}]};if(t===2)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:a,fastBackwardTo:i,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1},{type:"page",label:2,active:e===2,mayBeFastBackward:!0,mayBeFastForward:!1}]};const s=1,l=t;let c=e,u=e;const d=(n-5)/2;u+=Math.ceil(d),u=Math.min(Math.max(u,s+n-3),l-2),c-=Math.floor(d),c=Math.max(Math.min(c,l-n+3),s+2);let f=!1,p=!1;c>s+2&&(f=!0),u=s+1&&h.push({type:"page",label:s+1,mayBeFastBackward:!0,mayBeFastForward:!1,active:e===s+1});for(let m=c;m<=u;++m)h.push({type:"page",label:m,mayBeFastBackward:!1,mayBeFastForward:!1,active:e===m});return p?(r=!0,a=u+1,h.push({type:"fast-forward",active:!1,label:void 0,options:A0(u+1,l-1)})):u===l-2&&h[h.length-1].label!==l-1&&h.push({type:"page",mayBeFastForward:!0,mayBeFastBackward:!1,label:l-1,active:e===l-1}),h[h.length-1].label!==l&&h.push({type:"page",mayBeFastForward:!1,mayBeFastBackward:!1,label:l,active:e===l}),{hasFastBackward:o,hasFastForward:r,fastBackwardTo:i,fastForwardTo:a,items:h}}function A0(e,t){const n=[];for(let o=e;o<=t;++o)n.push({label:`${o}`,value:o});return n}const I0=` background: var(--n-item-color-hover); color: var(--n-item-text-color-hover); border: var(--n-item-border-hover); -`,I0=[K("button",` +`,M0=[K("button",` background: var(--n-button-color-hover); border: var(--n-button-border-hover); color: var(--n-button-icon-color-hover); - `)],CV=z("pagination",` + `)],wV=O("pagination",` display: flex; vertical-align: middle; font-size: var(--n-item-font-size); flex-wrap: nowrap; -`,[z("pagination-prefix",` +`,[O("pagination-prefix",` display: flex; align-items: center; margin: var(--n-prefix-margin); - `),z("pagination-suffix",` + `),O("pagination-suffix",` display: flex; align-items: center; margin: var(--n-suffix-margin); - `),j("> *:not(:first-child)",` + `),V("> *:not(:first-child)",` margin: var(--n-item-margin); - `),z("select",` + `),O("select",` width: var(--n-select-width); - `),j("&.transition-disabled",[z("pagination-item","transition: none!important;")]),z("pagination-quick-jumper",` + `),V("&.transition-disabled",[O("pagination-item","transition: none!important;")]),O("pagination-quick-jumper",` white-space: nowrap; display: flex; color: var(--n-jumper-text-color); transition: color .3s var(--n-bezier); align-items: center; font-size: var(--n-jumper-font-size); - `,[z("input",` + `,[O("input",` margin: var(--n-input-margin); width: var(--n-input-width); - `)]),z("pagination-item",` + `)]),O("pagination-item",` position: relative; cursor: pointer; user-select: none; @@ -1853,9 +1853,9 @@ ${t} color: var(--n-button-icon-color); border: var(--n-button-border); padding: 0; - `,[z("base-icon",` + `,[O("base-icon",` font-size: var(--n-button-icon-size); - `)]),Pt("disabled",[K("hover",A0,I0),j("&:hover",A0,I0),j("&:active",` + `)]),Pt("disabled",[K("hover",I0,M0),V("&:hover",I0,M0),V("&:active",` background: var(--n-item-color-pressed); color: var(--n-item-text-color-pressed); border: var(--n-item-border-pressed); @@ -1867,7 +1867,7 @@ ${t} background: var(--n-item-color-active); color: var(--n-item-text-color-active); border: var(--n-item-border-active); - `,[j("&:hover",` + `,[V("&:hover",` background: var(--n-item-color-active-hover); `)])]),K("disabled",` cursor: not-allowed; @@ -1877,15 +1877,15 @@ ${t} border: var(--n-item-border-disabled); `)])]),K("disabled",` cursor: not-allowed; - `,[z("pagination-quick-jumper",` + `,[O("pagination-quick-jumper",` color: var(--n-jumper-text-color-disabled); `)]),K("simple",` display: flex; align-items: center; flex-wrap: nowrap; - `,[z("pagination-quick-jumper",[z("input",` + `,[O("pagination-quick-jumper",[O("input",` margin: 0; - `)])])]),wV=Object.assign(Object.assign({},Fe.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:Bo.propTo,"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],onPageSizeChange:[Function,Array],onChange:[Function,Array]}),_V=pe({name:"Pagination",props:wV,setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=ct(e),i=Fe("Pagination","-pagination",CV,W_,e,n),{localeRef:a}=Pi("Pagination"),s=B(null),l=B(e.defaultPage),u=B((()=>{const{defaultPageSize:re}=e;if(re!==void 0)return re;const ke=e.pageSizes[0];return typeof ke=="number"?ke:ke.value||10})()),d=rn(Ne(e,"page"),l),f=rn(Ne(e,"pageSize"),u),p=N(()=>{const{itemCount:re}=e;if(re!==void 0)return Math.max(1,Math.ceil(re/f.value));const{pageCount:ke}=e;return ke!==void 0?Math.max(ke,1):1}),h=B("");un(()=>{e.simple,h.value=String(d.value)});const m=B(!1),v=B(!1),g=B(!1),y=B(!1),S=()=>{e.disabled||(m.value=!0,$())},C=()=>{e.disabled||(m.value=!1,$())},_=()=>{v.value=!0,$()},x=()=>{v.value=!1,$()},w=re=>{W(re)},T=N(()=>xV(d.value,p.value,e.pageSlot));un(()=>{T.value.hasFastBackward?T.value.hasFastForward||(m.value=!1,g.value=!1):(v.value=!1,y.value=!1)});const P=N(()=>{const re=a.value.selectionSuffix;return e.pageSizes.map(ke=>typeof ke=="number"?{label:`${ke} / ${re}`,value:ke}:ke)}),k=N(()=>{var re,ke;return((ke=(re=t==null?void 0:t.value)===null||re===void 0?void 0:re.Pagination)===null||ke===void 0?void 0:ke.inputSize)||qv(e.size)}),I=N(()=>{var re,ke;return((ke=(re=t==null?void 0:t.value)===null||re===void 0?void 0:re.Pagination)===null||ke===void 0?void 0:ke.selectSize)||qv(e.size)}),A=N(()=>(d.value-1)*f.value),q=N(()=>{const re=d.value*f.value-1,{itemCount:ke}=e;return ke!==void 0&&re>ke-1?ke-1:re}),F=N(()=>{const{itemCount:re}=e;return re!==void 0?re:(e.pageCount||1)*f.value}),O=Rn("Pagination",r,n),$=()=>{jt(()=>{var re;const{value:ke}=s;ke&&(ke.classList.add("transition-disabled"),(re=s.value)===null||re===void 0||re.offsetWidth,ke.classList.remove("transition-disabled"))})};function W(re){if(re===d.value)return;const{"onUpdate:page":ke,onUpdatePage:V,onChange:R,simple:E}=e;ke&&Re(ke,re),V&&Re(V,re),R&&Re(R,re),l.value=re,E&&(h.value=String(re))}function Q(re){if(re===f.value)return;const{"onUpdate:pageSize":ke,onUpdatePageSize:V,onPageSizeChange:R}=e;ke&&Re(ke,re),V&&Re(V,re),R&&Re(R,re),u.value=re,p.value{d.value,f.value,$()});const ve=N(()=>{const{size:re}=e,{self:{buttonBorder:ke,buttonBorderHover:V,buttonBorderPressed:R,buttonIconColor:E,buttonIconColorHover:U,buttonIconColorPressed:ie,itemTextColor:Y,itemTextColorHover:he,itemTextColorPressed:ye,itemTextColorActive:ge,itemTextColorDisabled:J,itemColor:de,itemColorHover:_e,itemColorPressed:te,itemColorActive:oe,itemColorActiveHover:Ee,itemColorDisabled:De,itemBorder:qe,itemBorderHover:tt,itemBorderPressed:Me,itemBorderActive:je,itemBorderDisabled:dt,itemBorderRadius:Oe,jumperTextColor:rt,jumperTextColorDisabled:it,buttonColor:Z,buttonColorHover:we,buttonColorPressed:Ie,[Pe("itemPadding",re)]:Ve,[Pe("itemMargin",re)]:Xe,[Pe("inputWidth",re)]:Qe,[Pe("selectWidth",re)]:nt,[Pe("inputMargin",re)]:ot,[Pe("selectMargin",re)]:kt,[Pe("jumperFontSize",re)]:sn,[Pe("prefixMargin",re)]:Wt,[Pe("suffixMargin",re)]:Se,[Pe("itemSize",re)]:Le,[Pe("buttonIconSize",re)]:Ze,[Pe("itemFontSize",re)]:pt,[`${Pe("itemMargin",re)}Rtl`]:gt,[`${Pe("inputMargin",re)}Rtl`]:at},common:{cubicBezierEaseInOut:ae}}=i.value;return{"--n-prefix-margin":Wt,"--n-suffix-margin":Se,"--n-item-font-size":pt,"--n-select-width":nt,"--n-select-margin":kt,"--n-input-width":Qe,"--n-input-margin":ot,"--n-input-margin-rtl":at,"--n-item-size":Le,"--n-item-text-color":Y,"--n-item-text-color-disabled":J,"--n-item-text-color-hover":he,"--n-item-text-color-active":ge,"--n-item-text-color-pressed":ye,"--n-item-color":de,"--n-item-color-hover":_e,"--n-item-color-disabled":De,"--n-item-color-active":oe,"--n-item-color-active-hover":Ee,"--n-item-color-pressed":te,"--n-item-border":qe,"--n-item-border-hover":tt,"--n-item-border-disabled":dt,"--n-item-border-active":je,"--n-item-border-pressed":Me,"--n-item-padding":Ve,"--n-item-border-radius":Oe,"--n-bezier":ae,"--n-jumper-font-size":sn,"--n-jumper-text-color":rt,"--n-jumper-text-color-disabled":it,"--n-item-margin":Xe,"--n-item-margin-rtl":gt,"--n-button-icon-size":Ze,"--n-button-icon-color":E,"--n-button-icon-color-hover":U,"--n-button-icon-color-pressed":ie,"--n-button-color-hover":we,"--n-button-color":Z,"--n-button-color-pressed":Ie,"--n-button-border":ke,"--n-button-border-hover":V,"--n-button-border-pressed":R}}),ue=o?Rt("pagination",N(()=>{let re="";const{size:ke}=e;return re+=ke[0],re}),ve,e):void 0;return{rtlEnabled:O,mergedClsPrefix:n,locale:a,selfRef:s,mergedPage:d,pageItems:N(()=>T.value.items),mergedItemCount:F,jumperValue:h,pageSizeOptions:P,mergedPageSize:f,inputSize:k,selectSize:I,mergedTheme:i,mergedPageCount:p,startIndex:A,endIndex:q,showFastForwardMenu:g,showFastBackwardMenu:y,fastForwardActive:m,fastBackwardActive:v,handleMenuSelect:w,handleFastForwardMouseenter:S,handleFastForwardMouseleave:C,handleFastBackwardMouseenter:_,handleFastBackwardMouseleave:x,handleJumperInput:G,handleBackwardClick:M,handleForwardClick:L,handlePageItemClick:Ce,handleSizePickerChange:ne,handleQuickJumperChange:xe,cssVars:o?void 0:ve,themeClass:ue==null?void 0:ue.themeClass,onRender:ue==null?void 0:ue.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:g,next:y,prefix:S,suffix:C,label:_,goto:x,handleJumperInput:w,handleSizePickerChange:T,handleBackwardClick:P,handlePageItemClick:k,handleForwardClick:I,handleQuickJumperChange:A,onRender:q}=this;q==null||q();const F=e.prefix||S,O=e.suffix||C,$=g||e.prev,W=y||e.next,Q=_||e.label;return b("div",{ref:"selfRef",class:[`${t}-pagination`,this.themeClass,this.rtlEnabled&&`${t}-pagination--rtl`,n&&`${t}-pagination--disabled`,v&&`${t}-pagination--simple`],style:o},F?b("div",{class:`${t}-pagination-prefix`},F({page:r,pageSize:p,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null,this.displayOrder.map(L=>{switch(L){case"pages":return b(et,null,b("div",{class:[`${t}-pagination-item`,!$&&`${t}-pagination-item--button`,(r<=1||r>i||n)&&`${t}-pagination-item--disabled`],onClick:P},$?$({page:r,pageSize:p,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount}):b(Bt,{clsPrefix:t},{default:()=>this.rtlEnabled?b(h0,null):b(u0,null)})),v?b(et,null,b("div",{class:`${t}-pagination-quick-jumper`},b(Co,{value:m,onUpdateValue:w,size:d,placeholder:"",disabled:n,theme:c.peers.Input,themeOverrides:c.peerOverrides.Input,onChange:A}))," / ",i):a.map((M,se)=>{let X,ne,fe;const{type:xe}=M;switch(xe){case"page":const G=M.label;Q?X=Q({type:"page",node:G,active:M.active}):X=G;break;case"fast-forward":const ve=this.fastForwardActive?b(Bt,{clsPrefix:t},{default:()=>this.rtlEnabled?b(d0,null):b(f0,null)}):b(Bt,{clsPrefix:t},{default:()=>b(p0,null)});Q?X=Q({type:"fast-forward",node:ve,active:this.fastForwardActive||this.showFastForwardMenu}):X=ve,ne=this.handleFastForwardMouseenter,fe=this.handleFastForwardMouseleave;break;case"fast-backward":const ue=this.fastBackwardActive?b(Bt,{clsPrefix:t},{default:()=>this.rtlEnabled?b(f0,null):b(d0,null)}):b(Bt,{clsPrefix:t},{default:()=>b(p0,null)});Q?X=Q({type:"fast-backward",node:ue,active:this.fastBackwardActive||this.showFastBackwardMenu}):X=ue,ne=this.handleFastBackwardMouseenter,fe=this.handleFastBackwardMouseleave;break}const Ce=b("div",{key:se,class:[`${t}-pagination-item`,M.active&&`${t}-pagination-item--active`,xe!=="page"&&(xe==="fast-backward"&&this.showFastBackwardMenu||xe==="fast-forward"&&this.showFastForwardMenu)&&`${t}-pagination-item--hover`,n&&`${t}-pagination-item--disabled`,xe==="page"&&`${t}-pagination-item--clickable`],onClick:()=>{k(M)},onMouseenter:ne,onMouseleave:fe},X);if(xe==="page"&&!M.mayBeFastBackward&&!M.mayBeFastForward)return Ce;{const G=M.type==="page"?M.mayBeFastBackward?"fast-backward":"fast-forward":M.type;return b(al,{to:this.to,key:G,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:xe==="page"?!1:xe==="fast-backward"?this.showFastBackwardMenu:this.showFastForwardMenu,onUpdateShow:ve=>{xe!=="page"&&(ve?xe==="fast-backward"?this.showFastBackwardMenu=ve:this.showFastForwardMenu=ve:(this.showFastBackwardMenu=!1,this.showFastForwardMenu=!1))},options:M.type!=="page"?M.options:[],onUpdateValue:this.handleMenuSelect,scrollable:!0,showCheckmark:!1},{default:()=>Ce})}}),b("div",{class:[`${t}-pagination-item`,!W&&`${t}-pagination-item--button`,{[`${t}-pagination-item--disabled`]:r<1||r>=i||n}],onClick:I},W?W({page:r,pageSize:p,pageCount:i,itemCount:this.mergedItemCount,startIndex:this.startIndex,endIndex:this.endIndex}):b(Bt,{clsPrefix:t},{default:()=>this.rtlEnabled?b(u0,null):b(h0,null)})));case"size-picker":return!v&&s?b(ku,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:T})):null;case"quick-jumper":return!v&&l?b("div",{class:`${t}-pagination-quick-jumper`},x?x():Pn(this.$slots.goto,()=>[u.goto]),b(Co,{value:m,onUpdateValue:w,size:d,placeholder:"",disabled:n,theme:c.peers.Input,themeOverrides:c.peerOverrides.Input,onChange:A})):null;default:return null}}),O?b("div",{class:`${t}-pagination-suffix`},O({page:r,pageSize:p,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null)}}),K_={padding:"8px 14px"},SV={name:"Tooltip",common:Be,peers:{Popover:Di},self(e){const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:r}=e;return Object.assign(Object.assign({},K_),{borderRadius:t,boxShadow:n,color:o,textColor:r})}},Tu=SV,kV=e=>{const{borderRadius:t,boxShadow2:n,baseColor:o}=e;return Object.assign(Object.assign({},K_),{borderRadius:t,boxShadow:n,color:Ye(o,"rgba(0, 0, 0, .85)"),textColor:o})},TV={name:"Tooltip",common:yt,peers:{Popover:La},self:kV},em=TV,PV={name:"Ellipsis",common:Be,peers:{Tooltip:Tu}},G_=PV,RV={name:"Ellipsis",common:yt,peers:{Tooltip:em}},Y_=RV,X_={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},EV={name:"Radio",common:Be,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({},X_),{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 ${Ae(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 ${Ae(n,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${n}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})}},Q_=EV,$V=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({},X_),{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 ${Ae(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 ${Ae(n,{alpha:.3})}`,buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})},AV={name:"Radio",common:yt,self:$V},tm=AV,IV={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"},Z_=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:g}=e;return Object.assign(Object.assign({},IV),{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:Ae(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:g})},MV={name:"Dropdown",common:yt,peers:{Popover:La},self:Z_},nm=MV,zV={name:"Dropdown",common:Be,peers:{Popover:Di},self(e){const{primaryColorSuppl:t,primaryColor:n,popoverColor:o}=e,r=Z_(e);return r.colorInverted=o,r.optionColorActive=Ae(n,{alpha:.15}),r.optionColorActiveInverted=t,r.optionColorHoverInverted=t,r}},om=zV,OV={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"},J_=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:g,opacityDisabled:y,tableColorStriped:S}=e;return Object.assign(Object.assign({},OV),{actionDividerColor:v,lineHeight:f,borderRadius:d,fontSizeSmall:p,fontSizeMedium:h,fontSizeLarge:m,borderColor:Ye(t,v),tdColorHover:Ye(t,s),tdColorStriped:Ye(t,S),thColor:Ye(t,a),thColorHover:Ye(Ye(t,a),s),tdColor:t,tdTextColor:r,thTextColor:i,thFontWeight:u,thButtonColorHover:s,thIconColor:l,thIconColorActive:c,borderColorModal:Ye(n,v),tdColorHoverModal:Ye(n,s),tdColorStripedModal:Ye(n,S),thColorModal:Ye(n,a),thColorHoverModal:Ye(Ye(n,a),s),tdColorModal:n,borderColorPopover:Ye(o,v),tdColorHoverPopover:Ye(o,s),tdColorStripedPopover:Ye(o,S),thColorPopover:Ye(o,a),thColorHoverPopover:Ye(Ye(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:g,opacityLoading:y})},DV={name:"DataTable",common:yt,peers:{Button:_u,Checkbox:O_,Radio:tm,Pagination:W_,Scrollbar:Oi,Empty:xu,Popover:La,Ellipsis:Y_,Dropdown:nm},self:J_},LV=DV,FV={name:"DataTable",common:Be,peers:{Button:Hn,Checkbox:Fa,Radio:Q_,Pagination:q_,Scrollbar:Bn,Empty:zi,Popover:Di,Ellipsis:G_,Dropdown:om},self(e){const t=J_(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}},NV=FV,BV=Object.assign(Object.assign({},Ca),Fe.props),Pu=pe({name:"Tooltip",props:BV,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=ct(e),n=Fe("Tooltip","-tooltip",void 0,em,e,t),o=B(null);return Object.assign(Object.assign({},{syncPosition(){o.value.syncPosition()},setShow(i){o.value.setShow(i)}}),{popoverRef:o,mergedTheme:n,popoverThemeOverrides:N(()=>n.value.self)})},render(){const{mergedTheme:e,internalExtraClass:t}=this;return b(rl,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)}}),e2=z("ellipsis",{overflow:"hidden"},[Pt("line-clamp",` + `)])])]),_V=Object.assign(Object.assign({},Fe.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:Bo.propTo,"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],onPageSizeChange:[Function,Array],onChange:[Function,Array]}),SV=pe({name:"Pagination",props:_V,setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=ct(e),i=Fe("Pagination","-pagination",wV,q_,e,n),{localeRef:a}=Pi("Pagination"),s=N(null),l=N(e.defaultPage),u=N((()=>{const{defaultPageSize:re}=e;if(re!==void 0)return re;const ke=e.pageSizes[0];return typeof ke=="number"?ke:ke.value||10})()),d=rn(Ne(e,"page"),l),f=rn(Ne(e,"pageSize"),u),p=L(()=>{const{itemCount:re}=e;if(re!==void 0)return Math.max(1,Math.ceil(re/f.value));const{pageCount:ke}=e;return ke!==void 0?Math.max(ke,1):1}),h=N("");un(()=>{e.simple,h.value=String(d.value)});const m=N(!1),v=N(!1),g=N(!1),y=N(!1),S=()=>{e.disabled||(m.value=!0,$())},C=()=>{e.disabled||(m.value=!1,$())},_=()=>{v.value=!0,$()},x=()=>{v.value=!1,$()},w=re=>{j(re)},T=L(()=>CV(d.value,p.value,e.pageSlot));un(()=>{T.value.hasFastBackward?T.value.hasFastForward||(m.value=!1,g.value=!1):(v.value=!1,y.value=!1)});const P=L(()=>{const re=a.value.selectionSuffix;return e.pageSizes.map(ke=>typeof ke=="number"?{label:`${ke} / ${re}`,value:ke}:ke)}),k=L(()=>{var re,ke;return((ke=(re=t==null?void 0:t.value)===null||re===void 0?void 0:re.Pagination)===null||ke===void 0?void 0:ke.inputSize)||Kv(e.size)}),A=L(()=>{var re,ke;return((ke=(re=t==null?void 0:t.value)===null||re===void 0?void 0:re.Pagination)===null||ke===void 0?void 0:ke.selectSize)||Kv(e.size)}),I=L(()=>(d.value-1)*f.value),W=L(()=>{const re=d.value*f.value-1,{itemCount:ke}=e;return ke!==void 0&&re>ke-1?ke-1:re}),B=L(()=>{const{itemCount:re}=e;return re!==void 0?re:(e.pageCount||1)*f.value}),z=Rn("Pagination",r,n),$=()=>{jt(()=>{var re;const{value:ke}=s;ke&&(ke.classList.add("transition-disabled"),(re=s.value)===null||re===void 0||re.offsetWidth,ke.classList.remove("transition-disabled"))})};function j(re){if(re===d.value)return;const{"onUpdate:page":ke,onUpdatePage:U,onChange:R,simple:E}=e;ke&&Re(ke,re),U&&Re(U,re),R&&Re(R,re),l.value=re,E&&(h.value=String(re))}function X(re){if(re===f.value)return;const{"onUpdate:pageSize":ke,onUpdatePageSize:U,onPageSizeChange:R}=e;ke&&Re(ke,re),U&&Re(U,re),R&&Re(R,re),u.value=re,p.value{d.value,f.value,$()});const ve=L(()=>{const{size:re}=e,{self:{buttonBorder:ke,buttonBorderHover:U,buttonBorderPressed:R,buttonIconColor:E,buttonIconColorHover:q,buttonIconColorPressed:ie,itemTextColor:Y,itemTextColorHover:he,itemTextColorPressed:ye,itemTextColorActive:ge,itemTextColorDisabled:J,itemColor:de,itemColorHover:_e,itemColorPressed:te,itemColorActive:oe,itemColorActiveHover:Ee,itemColorDisabled:De,itemBorder:qe,itemBorderHover:tt,itemBorderPressed:Me,itemBorderActive:je,itemBorderDisabled:dt,itemBorderRadius:Oe,jumperTextColor:rt,jumperTextColorDisabled:it,buttonColor:Z,buttonColorHover:we,buttonColorPressed:Ie,[Pe("itemPadding",re)]:Ve,[Pe("itemMargin",re)]:Xe,[Pe("inputWidth",re)]:Qe,[Pe("selectWidth",re)]:nt,[Pe("inputMargin",re)]:ot,[Pe("selectMargin",re)]:kt,[Pe("jumperFontSize",re)]:sn,[Pe("prefixMargin",re)]:Wt,[Pe("suffixMargin",re)]:Se,[Pe("itemSize",re)]:Le,[Pe("buttonIconSize",re)]:Ze,[Pe("itemFontSize",re)]:pt,[`${Pe("itemMargin",re)}Rtl`]:gt,[`${Pe("inputMargin",re)}Rtl`]:at},common:{cubicBezierEaseInOut:ae}}=i.value;return{"--n-prefix-margin":Wt,"--n-suffix-margin":Se,"--n-item-font-size":pt,"--n-select-width":nt,"--n-select-margin":kt,"--n-input-width":Qe,"--n-input-margin":ot,"--n-input-margin-rtl":at,"--n-item-size":Le,"--n-item-text-color":Y,"--n-item-text-color-disabled":J,"--n-item-text-color-hover":he,"--n-item-text-color-active":ge,"--n-item-text-color-pressed":ye,"--n-item-color":de,"--n-item-color-hover":_e,"--n-item-color-disabled":De,"--n-item-color-active":oe,"--n-item-color-active-hover":Ee,"--n-item-color-pressed":te,"--n-item-border":qe,"--n-item-border-hover":tt,"--n-item-border-disabled":dt,"--n-item-border-active":je,"--n-item-border-pressed":Me,"--n-item-padding":Ve,"--n-item-border-radius":Oe,"--n-bezier":ae,"--n-jumper-font-size":sn,"--n-jumper-text-color":rt,"--n-jumper-text-color-disabled":it,"--n-item-margin":Xe,"--n-item-margin-rtl":gt,"--n-button-icon-size":Ze,"--n-button-icon-color":E,"--n-button-icon-color-hover":q,"--n-button-icon-color-pressed":ie,"--n-button-color-hover":we,"--n-button-color":Z,"--n-button-color-pressed":Ie,"--n-button-border":ke,"--n-button-border-hover":U,"--n-button-border-pressed":R}}),ue=o?Rt("pagination",L(()=>{let re="";const{size:ke}=e;return re+=ke[0],re}),ve,e):void 0;return{rtlEnabled:z,mergedClsPrefix:n,locale:a,selfRef:s,mergedPage:d,pageItems:L(()=>T.value.items),mergedItemCount:B,jumperValue:h,pageSizeOptions:P,mergedPageSize:f,inputSize:k,selectSize:A,mergedTheme:i,mergedPageCount:p,startIndex:I,endIndex:W,showFastForwardMenu:g,showFastBackwardMenu:y,fastForwardActive:m,fastBackwardActive:v,handleMenuSelect:w,handleFastForwardMouseenter:S,handleFastForwardMouseleave:C,handleFastBackwardMouseenter:_,handleFastBackwardMouseleave:x,handleJumperInput:G,handleBackwardClick:M,handleForwardClick:F,handlePageItemClick:Ce,handleSizePickerChange:ne,handleQuickJumperChange:xe,cssVars:o?void 0:ve,themeClass:ue==null?void 0:ue.themeClass,onRender:ue==null?void 0:ue.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:g,next:y,prefix:S,suffix:C,label:_,goto:x,handleJumperInput:w,handleSizePickerChange:T,handleBackwardClick:P,handlePageItemClick:k,handleForwardClick:A,handleQuickJumperChange:I,onRender:W}=this;W==null||W();const B=e.prefix||S,z=e.suffix||C,$=g||e.prev,j=y||e.next,X=_||e.label;return b("div",{ref:"selfRef",class:[`${t}-pagination`,this.themeClass,this.rtlEnabled&&`${t}-pagination--rtl`,n&&`${t}-pagination--disabled`,v&&`${t}-pagination--simple`],style:o},B?b("div",{class:`${t}-pagination-prefix`},B({page:r,pageSize:p,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null,this.displayOrder.map(F=>{switch(F){case"pages":return b(et,null,b("div",{class:[`${t}-pagination-item`,!$&&`${t}-pagination-item--button`,(r<=1||r>i||n)&&`${t}-pagination-item--disabled`],onClick:P},$?$({page:r,pageSize:p,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount}):b(Bt,{clsPrefix:t},{default:()=>this.rtlEnabled?b(p0,null):b(d0,null)})),v?b(et,null,b("div",{class:`${t}-pagination-quick-jumper`},b(Co,{value:m,onUpdateValue:w,size:d,placeholder:"",disabled:n,theme:c.peers.Input,themeOverrides:c.peerOverrides.Input,onChange:I}))," / ",i):a.map((M,se)=>{let Q,ne,fe;const{type:xe}=M;switch(xe){case"page":const G=M.label;X?Q=X({type:"page",node:G,active:M.active}):Q=G;break;case"fast-forward":const ve=this.fastForwardActive?b(Bt,{clsPrefix:t},{default:()=>this.rtlEnabled?b(f0,null):b(h0,null)}):b(Bt,{clsPrefix:t},{default:()=>b(m0,null)});X?Q=X({type:"fast-forward",node:ve,active:this.fastForwardActive||this.showFastForwardMenu}):Q=ve,ne=this.handleFastForwardMouseenter,fe=this.handleFastForwardMouseleave;break;case"fast-backward":const ue=this.fastBackwardActive?b(Bt,{clsPrefix:t},{default:()=>this.rtlEnabled?b(h0,null):b(f0,null)}):b(Bt,{clsPrefix:t},{default:()=>b(m0,null)});X?Q=X({type:"fast-backward",node:ue,active:this.fastBackwardActive||this.showFastBackwardMenu}):Q=ue,ne=this.handleFastBackwardMouseenter,fe=this.handleFastBackwardMouseleave;break}const Ce=b("div",{key:se,class:[`${t}-pagination-item`,M.active&&`${t}-pagination-item--active`,xe!=="page"&&(xe==="fast-backward"&&this.showFastBackwardMenu||xe==="fast-forward"&&this.showFastForwardMenu)&&`${t}-pagination-item--hover`,n&&`${t}-pagination-item--disabled`,xe==="page"&&`${t}-pagination-item--clickable`],onClick:()=>{k(M)},onMouseenter:ne,onMouseleave:fe},Q);if(xe==="page"&&!M.mayBeFastBackward&&!M.mayBeFastForward)return Ce;{const G=M.type==="page"?M.mayBeFastBackward?"fast-backward":"fast-forward":M.type;return b(al,{to:this.to,key:G,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:xe==="page"?!1:xe==="fast-backward"?this.showFastBackwardMenu:this.showFastForwardMenu,onUpdateShow:ve=>{xe!=="page"&&(ve?xe==="fast-backward"?this.showFastBackwardMenu=ve:this.showFastForwardMenu=ve:(this.showFastBackwardMenu=!1,this.showFastForwardMenu=!1))},options:M.type!=="page"?M.options:[],onUpdateValue:this.handleMenuSelect,scrollable:!0,showCheckmark:!1},{default:()=>Ce})}}),b("div",{class:[`${t}-pagination-item`,!j&&`${t}-pagination-item--button`,{[`${t}-pagination-item--disabled`]:r<1||r>=i||n}],onClick:A},j?j({page:r,pageSize:p,pageCount:i,itemCount:this.mergedItemCount,startIndex:this.startIndex,endIndex:this.endIndex}):b(Bt,{clsPrefix:t},{default:()=>this.rtlEnabled?b(d0,null):b(p0,null)})));case"size-picker":return!v&&s?b(ku,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:T})):null;case"quick-jumper":return!v&&l?b("div",{class:`${t}-pagination-quick-jumper`},x?x():Pn(this.$slots.goto,()=>[u.goto]),b(Co,{value:m,onUpdateValue:w,size:d,placeholder:"",disabled:n,theme:c.peers.Input,themeOverrides:c.peerOverrides.Input,onChange:I})):null;default:return null}}),z?b("div",{class:`${t}-pagination-suffix`},z({page:r,pageSize:p,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null)}}),G_={padding:"8px 14px"},kV={name:"Tooltip",common:Be,peers:{Popover:Di},self(e){const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:r}=e;return Object.assign(Object.assign({},G_),{borderRadius:t,boxShadow:n,color:o,textColor:r})}},Tu=kV,TV=e=>{const{borderRadius:t,boxShadow2:n,baseColor:o}=e;return Object.assign(Object.assign({},G_),{borderRadius:t,boxShadow:n,color:Ye(o,"rgba(0, 0, 0, .85)"),textColor:o})},PV={name:"Tooltip",common:yt,peers:{Popover:La},self:TV},em=PV,RV={name:"Ellipsis",common:Be,peers:{Tooltip:Tu}},Y_=RV,EV={name:"Ellipsis",common:yt,peers:{Tooltip:em}},X_=EV,Q_={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},$V={name:"Radio",common:Be,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({},Q_),{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 ${Ae(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 ${Ae(n,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${n}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})}},Z_=$V,AV=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({},Q_),{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 ${Ae(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 ${Ae(n,{alpha:.3})}`,buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})},IV={name:"Radio",common:yt,self:AV},tm=IV,MV={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"},J_=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:g}=e;return Object.assign(Object.assign({},MV),{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:Ae(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:g})},zV={name:"Dropdown",common:yt,peers:{Popover:La},self:J_},nm=zV,OV={name:"Dropdown",common:Be,peers:{Popover:Di},self(e){const{primaryColorSuppl:t,primaryColor:n,popoverColor:o}=e,r=J_(e);return r.colorInverted=o,r.optionColorActive=Ae(n,{alpha:.15}),r.optionColorActiveInverted=t,r.optionColorHoverInverted=t,r}},om=OV,DV={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"},e2=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:g,opacityDisabled:y,tableColorStriped:S}=e;return Object.assign(Object.assign({},DV),{actionDividerColor:v,lineHeight:f,borderRadius:d,fontSizeSmall:p,fontSizeMedium:h,fontSizeLarge:m,borderColor:Ye(t,v),tdColorHover:Ye(t,s),tdColorStriped:Ye(t,S),thColor:Ye(t,a),thColorHover:Ye(Ye(t,a),s),tdColor:t,tdTextColor:r,thTextColor:i,thFontWeight:u,thButtonColorHover:s,thIconColor:l,thIconColorActive:c,borderColorModal:Ye(n,v),tdColorHoverModal:Ye(n,s),tdColorStripedModal:Ye(n,S),thColorModal:Ye(n,a),thColorHoverModal:Ye(Ye(n,a),s),tdColorModal:n,borderColorPopover:Ye(o,v),tdColorHoverPopover:Ye(o,s),tdColorStripedPopover:Ye(o,S),thColorPopover:Ye(o,a),thColorHoverPopover:Ye(Ye(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:g,opacityLoading:y})},LV={name:"DataTable",common:yt,peers:{Button:_u,Checkbox:D_,Radio:tm,Pagination:q_,Scrollbar:Oi,Empty:xu,Popover:La,Ellipsis:X_,Dropdown:nm},self:e2},FV=LV,NV={name:"DataTable",common:Be,peers:{Button:Hn,Checkbox:Fa,Radio:Z_,Pagination:K_,Scrollbar:Bn,Empty:zi,Popover:Di,Ellipsis:Y_,Dropdown:om},self(e){const t=e2(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}},BV=NV,HV=Object.assign(Object.assign({},Ca),Fe.props),Pu=pe({name:"Tooltip",props:HV,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=ct(e),n=Fe("Tooltip","-tooltip",void 0,em,e,t),o=N(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 b(rl,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)}}),t2=O("ellipsis",{overflow:"hidden"},[Pt("line-clamp",` white-space: nowrap; display: inline-block; vertical-align: bottom; @@ -1895,7 +1895,7 @@ ${t} -webkit-box-orient: vertical; `),K("cursor-pointer",` cursor: pointer; - `)]);function gh(e){return`${e}-ellipsis--line-clamp`}function vh(e,t){return`${e}-ellipsis--cursor-${t}`}const t2=Object.assign(Object.assign({},Fe.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),rm=pe({name:"Ellipsis",inheritAttrs:!1,props:t2,setup(e,{slots:t,attrs:n}){const o=Kw(),r=Fe("Ellipsis","-ellipsis",e2,Y_,e,o),i=B(null),a=B(null),s=B(null),l=B(!1),c=N(()=>{const{lineClamp:v}=e,{value:g}=l;return v!==void 0?{textOverflow:"","-webkit-line-clamp":g?"":v}:{textOverflow:g?"":"ellipsis","-webkit-line-clamp":""}});function u(){let v=!1;const{value:g}=l;if(g)return!0;const{value:y}=i;if(y){const{lineClamp:S}=e;if(p(y),S!==void 0)v=y.scrollHeight<=y.offsetHeight;else{const{value:C}=a;C&&(v=C.getBoundingClientRect().width<=y.getBoundingClientRect().width)}h(y,v)}return v}const d=N(()=>e.expandTrigger==="click"?()=>{var v;const{value:g}=l;g&&((v=s.value)===null||v===void 0||v.setShow(!1)),l.value=!g}:void 0);Vc(()=>{var v;e.tooltip&&((v=s.value)===null||v===void 0||v.setShow(!1))});const f=()=>b("span",Object.assign({},Mn(n,{class:[`${o.value}-ellipsis`,e.lineClamp!==void 0?gh(o.value):void 0,e.expandTrigger==="click"?vh(o.value,"pointer"):void 0],style:c.value}),{ref:"triggerRef",onClick:d.value,onMouseenter:e.expandTrigger==="click"?u:void 0}),e.lineClamp?t:b("span",{ref:"triggerInnerRef"},t));function p(v){if(!v)return;const g=c.value,y=gh(o.value);e.lineClamp!==void 0?m(v,y,"add"):m(v,y,"remove");for(const S in g)v.style[S]!==g[S]&&(v.style[S]=g[S])}function h(v,g){const y=vh(o.value,"pointer");e.expandTrigger==="click"&&!g?m(v,y,"add"):m(v,y,"remove")}function m(v,g,y){y==="add"?v.classList.contains(g)||v.classList.add(g):v.classList.contains(g)&&v.classList.remove(g)}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 b(Pu,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()}}),HV=pe({name:"PerformantEllipsis",props:t2,inheritAttrs:!1,setup(e,{attrs:t,slots:n}){const o=B(!1),r=Kw();return Br("-ellipsis",e2,r),{mouseEntered:o,renderTrigger:()=>{const{lineClamp:a}=e,s=r.value;return b("span",Object.assign({},Mn(t,{class:[`${s}-ellipsis`,a!==void 0?gh(s):void 0,e.expandTrigger==="click"?vh(s,"pointer"):void 0],style:a===void 0?{textOverflow:"ellipsis"}:{"-webkit-line-clamp":a}}),{onMouseenter:()=>{o.value=!0}}),a?n:b("span",null,n))}}},render(){return this.mouseEntered?b(rm,Mn({},this.$attrs,this.$props),this.$slots):this.renderTrigger()}}),jV=pe({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})}}),VV=Object.assign(Object.assign({},Fe.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]}),So="n-data-table",UV=pe({name:"SortIcon",props:{column:{type:Object,required:!0}},setup(e){const{mergedComponentPropsRef:t}=ct(),{mergedSortStateRef:n,mergedClsPrefixRef:o}=He(So),r=N(()=>n.value.find(l=>l.columnKey===e.column.key)),i=N(()=>r.value!==void 0),a=N(()=>{const{value:l}=r;return l&&i.value?l.order:!1}),s=N(()=>{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?b(jV,{render:e,order:t}):b("span",{class:[`${n}-data-table-sorter`,t==="ascend"&&`${n}-data-table-sorter--asc`,t==="descend"&&`${n}-data-table-sorter--desc`]},o?o({order:t}):b(Bt,{clsPrefix:n},{default:()=>b(mN,null)}))}}),WV=pe({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})}}),n2={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}},o2="n-radio-group";function r2(e){const t=ar(e,{mergedSize(y){const{size:S}=e;if(S!==void 0)return S;if(a){const{mergedSizeRef:{value:C}}=a;if(C!==void 0)return C}return y?y.mergedSize.value:"medium"},mergedDisabled(y){return!!(e.disabled||a!=null&&a.disabledRef.value||y!=null&&y.disabled.value)}}),{mergedSizeRef:n,mergedDisabledRef:o}=t,r=B(null),i=B(null),a=He(o2,null),s=B(e.defaultChecked),l=Ne(e,"checked"),c=rn(l,s),u=wt(()=>a?a.valueRef.value===e.value:c.value),d=wt(()=>{const{name:y}=e;if(y!==void 0)return y;if(a)return a.nameRef.value}),f=B(!1);function p(){if(a){const{doUpdateValue:y}=a,{value:S}=e;Re(y,S)}else{const{onUpdateChecked:y,"onUpdate:checked":S}=e,{nTriggerFormInput:C,nTriggerFormChange:_}=t;y&&Re(y,!0),S&&Re(S,!0),C(),_(),s.value=!0}}function h(){o.value||u.value||p()}function m(){h()}function v(){f.value=!1}function g(){f.value=!0}return{mergedClsPrefix:a?a.mergedClsPrefixRef:ct(e).mergedClsPrefixRef,inputRef:r,labelRef:i,mergedName:d,mergedDisabled:o,uncontrolledChecked:s,renderSafeChecked:u,focus:f,mergedSize:n,handleRadioInputChange:m,handleRadioInputBlur:v,handleRadioInputFocus:g}}const qV=z("radio",` + `)]);function gh(e){return`${e}-ellipsis--line-clamp`}function vh(e,t){return`${e}-ellipsis--cursor-${t}`}const n2=Object.assign(Object.assign({},Fe.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),rm=pe({name:"Ellipsis",inheritAttrs:!1,props:n2,setup(e,{slots:t,attrs:n}){const o=Gw(),r=Fe("Ellipsis","-ellipsis",t2,X_,e,o),i=N(null),a=N(null),s=N(null),l=N(!1),c=L(()=>{const{lineClamp:v}=e,{value:g}=l;return v!==void 0?{textOverflow:"","-webkit-line-clamp":g?"":v}:{textOverflow:g?"":"ellipsis","-webkit-line-clamp":""}});function u(){let v=!1;const{value:g}=l;if(g)return!0;const{value:y}=i;if(y){const{lineClamp:S}=e;if(p(y),S!==void 0)v=y.scrollHeight<=y.offsetHeight;else{const{value:C}=a;C&&(v=C.getBoundingClientRect().width<=y.getBoundingClientRect().width)}h(y,v)}return v}const d=L(()=>e.expandTrigger==="click"?()=>{var v;const{value:g}=l;g&&((v=s.value)===null||v===void 0||v.setShow(!1)),l.value=!g}:void 0);Vc(()=>{var v;e.tooltip&&((v=s.value)===null||v===void 0||v.setShow(!1))});const f=()=>b("span",Object.assign({},Mn(n,{class:[`${o.value}-ellipsis`,e.lineClamp!==void 0?gh(o.value):void 0,e.expandTrigger==="click"?vh(o.value,"pointer"):void 0],style:c.value}),{ref:"triggerRef",onClick:d.value,onMouseenter:e.expandTrigger==="click"?u:void 0}),e.lineClamp?t:b("span",{ref:"triggerInnerRef"},t));function p(v){if(!v)return;const g=c.value,y=gh(o.value);e.lineClamp!==void 0?m(v,y,"add"):m(v,y,"remove");for(const S in g)v.style[S]!==g[S]&&(v.style[S]=g[S])}function h(v,g){const y=vh(o.value,"pointer");e.expandTrigger==="click"&&!g?m(v,y,"add"):m(v,y,"remove")}function m(v,g,y){y==="add"?v.classList.contains(g)||v.classList.add(g):v.classList.contains(g)&&v.classList.remove(g)}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 b(Pu,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()}}),jV=pe({name:"PerformantEllipsis",props:n2,inheritAttrs:!1,setup(e,{attrs:t,slots:n}){const o=N(!1),r=Gw();return Br("-ellipsis",t2,r),{mouseEntered:o,renderTrigger:()=>{const{lineClamp:a}=e,s=r.value;return b("span",Object.assign({},Mn(t,{class:[`${s}-ellipsis`,a!==void 0?gh(s):void 0,e.expandTrigger==="click"?vh(s,"pointer"):void 0],style:a===void 0?{textOverflow:"ellipsis"}:{"-webkit-line-clamp":a}}),{onMouseenter:()=>{o.value=!0}}),a?n:b("span",null,n))}}},render(){return this.mouseEntered?b(rm,Mn({},this.$attrs,this.$props),this.$slots):this.renderTrigger()}}),VV=pe({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})}}),UV=Object.assign(Object.assign({},Fe.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]}),So="n-data-table",WV=pe({name:"SortIcon",props:{column:{type:Object,required:!0}},setup(e){const{mergedComponentPropsRef:t}=ct(),{mergedSortStateRef:n,mergedClsPrefixRef:o}=He(So),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?b(VV,{render:e,order:t}):b("span",{class:[`${n}-data-table-sorter`,t==="ascend"&&`${n}-data-table-sorter--asc`,t==="descend"&&`${n}-data-table-sorter--desc`]},o?o({order:t}):b(Bt,{clsPrefix:n},{default:()=>b(gN,null)}))}}),qV=pe({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})}}),o2={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}},r2="n-radio-group";function i2(e){const t=ar(e,{mergedSize(y){const{size:S}=e;if(S!==void 0)return S;if(a){const{mergedSizeRef:{value:C}}=a;if(C!==void 0)return C}return y?y.mergedSize.value:"medium"},mergedDisabled(y){return!!(e.disabled||a!=null&&a.disabledRef.value||y!=null&&y.disabled.value)}}),{mergedSizeRef:n,mergedDisabledRef:o}=t,r=N(null),i=N(null),a=He(r2,null),s=N(e.defaultChecked),l=Ne(e,"checked"),c=rn(l,s),u=wt(()=>a?a.valueRef.value===e.value:c.value),d=wt(()=>{const{name:y}=e;if(y!==void 0)return y;if(a)return a.nameRef.value}),f=N(!1);function p(){if(a){const{doUpdateValue:y}=a,{value:S}=e;Re(y,S)}else{const{onUpdateChecked:y,"onUpdate:checked":S}=e,{nTriggerFormInput:C,nTriggerFormChange:_}=t;y&&Re(y,!0),S&&Re(S,!0),C(),_(),s.value=!0}}function h(){o.value||u.value||p()}function m(){h()}function v(){f.value=!1}function g(){f.value=!0}return{mergedClsPrefix:a?a.mergedClsPrefixRef:ct(e).mergedClsPrefixRef,inputRef:r,labelRef:i,mergedName:d,mergedDisabled:o,uncontrolledChecked:s,renderSafeChecked:u,focus:f,mergedSize:n,handleRadioInputChange:m,handleRadioInputBlur:v,handleRadioInputFocus:g}}const KV=O("radio",` line-height: var(--n-label-line-height); outline: none; position: relative; @@ -1913,7 +1913,7 @@ ${t} flex-shrink: 0; flex-grow: 0; width: var(--n-radio-size); - `),z("radio-input",` + `),O("radio-input",` position: absolute; border: 0; border-radius: inherit; @@ -1937,7 +1937,7 @@ ${t} transition: background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier); - `,[j("&::before",` + `,[V("&::before",` content: ""; opacity: 0; position: absolute; @@ -1952,7 +1952,7 @@ ${t} opacity .3s var(--n-bezier), background-color .3s var(--n-bezier), transform .3s var(--n-bezier); - `),K("checked",{boxShadow:"var(--n-box-shadow-active)"},[j("&::before",` + `),K("checked",{boxShadow:"var(--n-box-shadow-active)"},[V("&::before",` opacity: 1; transform: scale(1); `)])]),D("label",` @@ -1963,13 +1963,13 @@ ${t} transition: color .3s var(--n-bezier); `),Pt("disabled",` cursor: pointer; - `,[j("&:hover",[D("dot",{boxShadow:"var(--n-box-shadow-hover)"})]),K("focus",[j("&:not(:active)",[D("dot",{boxShadow:"var(--n-box-shadow-focus)"})])])]),K("disabled",` + `,[V("&:hover",[D("dot",{boxShadow:"var(--n-box-shadow-hover)"})]),K("focus",[V("&:not(:active)",[D("dot",{boxShadow:"var(--n-box-shadow-focus)"})])])]),K("disabled",` cursor: not-allowed; - `,[D("dot",{boxShadow:"var(--n-box-shadow-disabled)",backgroundColor:"var(--n-color-disabled)"},[j("&::before",{backgroundColor:"var(--n-dot-color-disabled)"}),K("checked",` + `,[D("dot",{boxShadow:"var(--n-box-shadow-disabled)",backgroundColor:"var(--n-color-disabled)"},[V("&::before",{backgroundColor:"var(--n-dot-color-disabled)"}),K("checked",` opacity: 1; - `)]),D("label",{color:"var(--n-text-color-disabled)"}),z("radio-input",` + `)]),D("label",{color:"var(--n-text-color-disabled)"}),O("radio-input",` cursor: not-allowed; - `)])]),KV=Object.assign(Object.assign({},Fe.props),n2),i2=pe({name:"Radio",props:KV,setup(e){const t=r2(e),n=Fe("Radio","-radio",qV,tm,e,t.mergedClsPrefix),o=N(()=>{const{mergedSize:{value:c}}=t,{common:{cubicBezierEaseInOut:u},self:{boxShadow:d,boxShadowActive:f,boxShadowDisabled:p,boxShadowFocus:h,boxShadowHover:m,color:v,colorDisabled:g,colorActive:y,textColor:S,textColorDisabled:C,dotColorActive:_,dotColorDisabled:x,labelPadding:w,labelLineHeight:T,labelFontWeight:P,[Pe("fontSize",c)]:k,[Pe("radioSize",c)]:I}}=n.value;return{"--n-bezier":u,"--n-label-line-height":T,"--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":y,"--n-color-disabled":g,"--n-dot-color-active":_,"--n-dot-color-disabled":x,"--n-font-size":k,"--n-radio-size":I,"--n-text-color":S,"--n-text-color-disabled":C,"--n-label-padding":w}}),{inlineThemeDisabled:r,mergedClsPrefixRef:i,mergedRtlRef:a}=ct(e),s=Rn("Radio",a,i),l=r?Rt("radio",N(()=>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(),b("label",{class:[`${t}-radio`,this.themeClass,{[`${t}-radio--rtl`]:this.rtlEnabled,[`${t}-radio--disabled`]:this.mergedDisabled,[`${t}-radio--checked`]:this.renderSafeChecked,[`${t}-radio--focus`]:this.focus}],style:this.cssVars},b("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}),b("div",{class:`${t}-radio__dot-wrapper`}," ",b("div",{class:[`${t}-radio__dot`,this.renderSafeChecked&&`${t}-radio__dot--checked`]})),Ot(e.default,r=>!r&&!o?null:b("div",{ref:"labelRef",class:`${t}-radio__label`},r||o)))}}),GV=z("radio-group",` + `)])]),GV=Object.assign(Object.assign({},Fe.props),o2),a2=pe({name:"Radio",props:GV,setup(e){const t=i2(e),n=Fe("Radio","-radio",KV,tm,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:g,colorActive:y,textColor:S,textColorDisabled:C,dotColorActive:_,dotColorDisabled:x,labelPadding:w,labelLineHeight:T,labelFontWeight:P,[Pe("fontSize",c)]:k,[Pe("radioSize",c)]:A}}=n.value;return{"--n-bezier":u,"--n-label-line-height":T,"--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":y,"--n-color-disabled":g,"--n-dot-color-active":_,"--n-dot-color-disabled":x,"--n-font-size":k,"--n-radio-size":A,"--n-text-color":S,"--n-text-color-disabled":C,"--n-label-padding":w}}),{inlineThemeDisabled:r,mergedClsPrefixRef:i,mergedRtlRef:a}=ct(e),s=Rn("Radio",a,i),l=r?Rt("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(),b("label",{class:[`${t}-radio`,this.themeClass,{[`${t}-radio--rtl`]:this.rtlEnabled,[`${t}-radio--disabled`]:this.mergedDisabled,[`${t}-radio--checked`]:this.renderSafeChecked,[`${t}-radio--focus`]:this.focus}],style:this.cssVars},b("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}),b("div",{class:`${t}-radio__dot-wrapper`}," ",b("div",{class:[`${t}-radio__dot`,this.renderSafeChecked&&`${t}-radio__dot--checked`]})),Ot(e.default,r=>!r&&!o?null:b("div",{ref:"labelRef",class:`${t}-radio__label`},r||o)))}}),YV=O("radio-group",` display: inline-block; font-size: var(--n-font-size); `,[D("splitor",` @@ -1984,7 +1984,7 @@ ${t} white-space: nowrap; height: var(--n-height); line-height: var(--n-height); - `,[z("radio-button",{height:"var(--n-height)",lineHeight:"var(--n-height)"}),D("splitor",{height:"var(--n-height)"})]),z("radio-button",` + `,[O("radio-button",{height:"var(--n-height)",lineHeight:"var(--n-height)"}),D("splitor",{height:"var(--n-height)"})]),O("radio-button",` vertical-align: bottom; outline: none; position: relative; @@ -2003,7 +2003,7 @@ ${t} color: var(--n-button-text-color); border-top: 1px solid var(--n-button-border-color); border-bottom: 1px solid var(--n-button-border-color); - `,[z("radio-input",` + `,[O("radio-input",` pointer-events: none; position: absolute; border: 0; @@ -2024,14 +2024,14 @@ ${t} bottom: -1px; right: -1px; top: -1px; - `),j("&:first-child",` + `),V("&:first-child",` border-top-left-radius: var(--n-button-border-radius); border-bottom-left-radius: var(--n-button-border-radius); border-left: 1px solid var(--n-button-border-color); `,[D("state-border",` border-top-left-radius: var(--n-button-border-radius); border-bottom-left-radius: var(--n-button-border-radius); - `)]),j("&:last-child",` + `)]),V("&:last-child",` border-top-right-radius: var(--n-button-border-radius); border-bottom-right-radius: var(--n-button-border-radius); border-right: 1px solid var(--n-button-border-color); @@ -2040,17 +2040,17 @@ ${t} border-bottom-right-radius: var(--n-button-border-radius); `)]),Pt("disabled",` cursor: pointer; - `,[j("&:hover",[D("state-border",` + `,[V("&:hover",[D("state-border",` transition: box-shadow .3s var(--n-bezier); box-shadow: var(--n-button-box-shadow-hover); - `),Pt("checked",{color:"var(--n-button-text-color-hover)"})]),K("focus",[j("&:not(:active)",[D("state-border",{boxShadow:"var(--n-button-box-shadow-focus)"})])])]),K("checked",` + `),Pt("checked",{color:"var(--n-button-text-color-hover)"})]),K("focus",[V("&:not(:active)",[D("state-border",{boxShadow:"var(--n-button-box-shadow-focus)"})])])]),K("checked",` background: var(--n-button-color-active); color: var(--n-button-text-color-active); border-color: var(--n-button-border-color-active); `),K("disabled",` cursor: not-allowed; opacity: var(--n-opacity-disabled); - `)])]);function YV(e,t,n){var o;const r=[];let i=!1;for(let a=0;a{const{value:_}=n,{common:{cubicBezierEaseInOut:x},self:{buttonBorderColor:w,buttonBorderColorActive:T,buttonBorderRadius:P,buttonBoxShadow:k,buttonBoxShadowFocus:I,buttonBoxShadowHover:A,buttonColorActive:q,buttonTextColor:F,buttonTextColorActive:O,buttonTextColorHover:$,opacityDisabled:W,[Pe("buttonHeight",_)]:Q,[Pe("fontSize",_)]:L}}=d.value;return{"--n-font-size":L,"--n-bezier":x,"--n-button-border-color":w,"--n-button-border-color-active":T,"--n-button-border-radius":P,"--n-button-box-shadow":k,"--n-button-box-shadow-focus":I,"--n-button-box-shadow-hover":A,"--n-button-color-active":q,"--n-button-text-color":F,"--n-button-text-color-hover":$,"--n-button-text-color-active":O,"--n-height":Q,"--n-opacity-disabled":W}}),C=c?Rt("radio-group",N(()=>n.value[0]),S,e):void 0;return{selfElRef:t,rtlEnabled:y,mergedClsPrefix:l,mergedValue:h,handleFocusout:g,handleFocusin:v,cssVars:c?void 0:S,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender}},render(){var e;const{mergedValue:t,mergedClsPrefix:n,handleFocusin:o,handleFocusout:r}=this,{children:i,isButtonGroup:a}=YV(ba(wC(this)),t,n);return(e=this.onRender)===null||e===void 0||e.call(this),b("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)}}),QV=pe({name:"RadioButton",props:n2,setup:r2,render(){const{mergedClsPrefix:e}=this;return b("label",{class:[`${e}-radio-button`,this.mergedDisabled&&`${e}-radio-button--disabled`,this.renderSafeChecked&&`${e}-radio-button--checked`,this.focus&&[`${e}-radio-button--focus`]]},b("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}),b("div",{class:`${e}-radio-button__state-border`}),Ot(this.$slots.default,t=>!t&&!this.label?null:b("div",{ref:"labelRef",class:`${e}-radio__label`},t||this.label)))}}),s2=40,l2=40;function M0(e){if(e.type==="selection")return e.width===void 0?s2:wn(e.width);if(e.type==="expand")return e.width===void 0?l2:wn(e.width);if(!("children"in e))return typeof e.width=="string"?wn(e.width):e.width}function ZV(e){var t,n;if(e.type==="selection")return Ut((t=e.width)!==null&&t!==void 0?t:s2);if(e.type==="expand")return Ut((n=e.width)!==null&&n!==void 0?n:l2);if(!("children"in e))return Ut(e.width)}function po(e){return e.type==="selection"?"__n_selection__":e.type==="expand"?"__n_expand__":e.key}function z0(e){return e&&(typeof e=="object"?Object.assign({},e):e)}function JV(e){return e==="ascend"?1:e==="descend"?-1:0}function eU(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 tU(e,t){if(t!==void 0)return{width:t,minWidth:t,maxWidth:t};const n=ZV(e),{minWidth:o,maxWidth:r}=e;return{width:n,minWidth:Ut(o)||n,maxWidth:Ut(r)}}function nU(e,t,n){return typeof n=="function"?n(e,t):n||""}function Ld(e){return e.filterOptionValues!==void 0||e.filterOptionValue===void 0&&e.defaultFilterOptionValues!==void 0}function Fd(e){return"children"in e?!1:!!e.sorter}function c2(e){return"children"in e&&e.children.length?!1:!!e.resizable}function O0(e){return"children"in e?!1:!!e.filter&&(!!e.filterOptions||!!e.renderFilterMenu)}function D0(e){if(e){if(e==="descend")return"ascend"}else return"descend";return!1}function oU(e,t){return e.sorter===void 0?null:t===null||t.columnKey!==e.key?{columnKey:e.key,sorter:e.sorter,order:D0(!1)}:Object.assign(Object.assign({},t),{order:D0(t.order)})}function u2(e,t){return t.find(n=>n.columnKey===e.key&&n.order)!==void 0}const rU=pe({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,mergedThemeRef:n,localeRef:o}=He(So),r=B(e.value),i=N(()=>{const{value:d}=r;return Array.isArray(d)?d:null}),a=N(()=>{const{value:d}=r;return Ld(e.column)?Array.isArray(d)&&d.length&&d[0]||null:Array.isArray(d)?null:d});function s(d){e.onChange(d)}function l(d){e.multiple&&Array.isArray(d)?r.value=d:Ld(e.column)&&!Array.isArray(d)?r.value=[d]:r.value=d}function c(){s(r.value),e.onConfirm()}function u(){e.multiple||Ld(e.column)?s([]):s(null),e.onClear()}return{mergedClsPrefix:t,mergedTheme:n,locale:o,checkboxGroupValue:i,radioGroupValue:a,handleChange:l,handleConfirmClick:c,handleClearClick:u}},render(){const{mergedTheme:e,locale:t,mergedClsPrefix:n}=this;return b("div",{class:`${n}-data-table-filter-menu`},b(_o,null,{default:()=>{const{checkboxGroupValue:o,handleChange:r}=this;return this.multiple?b(qj,{value:o,class:`${n}-data-table-filter-menu__group`,onUpdateValue:r},{default:()=>this.options.map(i=>b(Su,{key:i.value,theme:e.peers.Checkbox,themeOverrides:e.peerOverrides.Checkbox,value:i.value},{default:()=>i.label}))}):b(a2,{name:this.radioGroupName,class:`${n}-data-table-filter-menu__group`,value:this.radioGroupValue,onUpdateValue:this.handleChange},{default:()=>this.options.map(i=>b(i2,{key:i.value,value:i.value,theme:e.peers.Radio,themeOverrides:e.peerOverrides.Radio},{default:()=>i.label}))})}}),b("div",{class:`${n}-data-table-filter-menu__action`},b(Tt,{size:"tiny",theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,onClick:this.handleClearClick},{default:()=>t.clear}),b(Tt,{theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,type:"primary",size:"tiny",onClick:this.handleConfirmClick},{default:()=>t.confirm})))}});function iU(e,t,n){const o=Object.assign({},e);return o[t]=n,o}const aU=pe({name:"DataTableFilterButton",props:{column:{type:Object,required:!0},options:{type:Array,default:()=>[]}},setup(e){const{mergedComponentPropsRef:t}=ct(),{mergedThemeRef:n,mergedClsPrefixRef:o,mergedFilterStateRef:r,filterMenuCssVarsRef:i,paginationBehaviorOnFilterRef:a,doUpdatePage:s,doUpdateFilters:l}=He(So),c=B(!1),u=r,d=N(()=>e.column.filterMultiple!==!1),f=N(()=>{const y=u.value[e.column.key];if(y===void 0){const{value:S}=d;return S?[]:null}return y}),p=N(()=>{const{value:y}=f;return Array.isArray(y)?y.length>0:y!==null}),h=N(()=>{var y,S;return((S=(y=t==null?void 0:t.value)===null||y===void 0?void 0:y.DataTable)===null||S===void 0?void 0:S.renderFilter)||e.column.renderFilter});function m(y){const S=iU(u.value,e.column.key,y);l(S,e.column),a.value==="first"&&s(1)}function v(){c.value=!1}function g(){c.value=!1}return{mergedTheme:n,mergedClsPrefix:o,active:p,showPopover:c,mergedRenderFilter:h,filterMultiple:d,mergedFilterValue:f,filterMenuCssVars:i,handleFilterChange:m,handleFilterMenuConfirm:g,handleFilterMenuCancel:v}},render(){const{mergedTheme:e,mergedClsPrefix:t,handleFilterMenuCancel:n}=this;return b(rl,{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 b(WV,{"data-data-table-filter":!0,render:o,active:this.active,show:this.showPopover});const{renderFilterIcon:r}=this.column;return b("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}):b(Bt,{clsPrefix:t},{default:()=>b(CN,null)}))},default:()=>{const{renderFilterMenu:o}=this.column;return o?o({hide:n}):b(rU,{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})}})}}),sU=pe({name:"ColumnResizeButton",props:{onResizeStart:Function,onResize:Function,onResizeEnd:Function},setup(e){const{mergedClsPrefixRef:t}=He(So),n=B(!1);let o=0;function r(l){return l.clientX}function i(l){var c;l.preventDefault();const u=n.value;o=r(l),n.value=!0,u||(At("mousemove",window,a),At("mouseup",window,s),(c=e.onResizeStart)===null||c===void 0||c.call(e))}function a(l){var c;(c=e.onResize)===null||c===void 0||c.call(e,r(l)-o)}function s(){var l;n.value=!1,(l=e.onResizeEnd)===null||l===void 0||l.call(e),_t("mousemove",window,a),_t("mouseup",window,s)}return tn(()=>{_t("mousemove",window,a),_t("mouseup",window,s)}),{mergedClsPrefix:t,active:n,handleMousedown:i}},render(){const{mergedClsPrefix:e}=this;return b("span",{"data-data-table-resizable":!0,class:[`${e}-data-table-resize-button`,this.active&&`${e}-data-table-resize-button--active`],onMousedown:this.handleMousedown})}}),d2=pe({name:"DropdownDivider",props:{clsPrefix:{type:String,required:!0}},render(){return b("div",{class:`${this.clsPrefix}-dropdown-divider`})}}),f2=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}},lU={name:"Icon",common:yt,self:f2},cU=lU,uU={name:"Icon",common:Be,self:f2},dU=uU,fU=z("icon",` + `)])]);function XV(e,t,n){var o;const r=[];let i=!1;for(let a=0;a{const{value:_}=n,{common:{cubicBezierEaseInOut:x},self:{buttonBorderColor:w,buttonBorderColorActive:T,buttonBorderRadius:P,buttonBoxShadow:k,buttonBoxShadowFocus:A,buttonBoxShadowHover:I,buttonColorActive:W,buttonTextColor:B,buttonTextColorActive:z,buttonTextColorHover:$,opacityDisabled:j,[Pe("buttonHeight",_)]:X,[Pe("fontSize",_)]:F}}=d.value;return{"--n-font-size":F,"--n-bezier":x,"--n-button-border-color":w,"--n-button-border-color-active":T,"--n-button-border-radius":P,"--n-button-box-shadow":k,"--n-button-box-shadow-focus":A,"--n-button-box-shadow-hover":I,"--n-button-color-active":W,"--n-button-text-color":B,"--n-button-text-color-hover":$,"--n-button-text-color-active":z,"--n-height":X,"--n-opacity-disabled":j}}),C=c?Rt("radio-group",L(()=>n.value[0]),S,e):void 0;return{selfElRef:t,rtlEnabled:y,mergedClsPrefix:l,mergedValue:h,handleFocusout:g,handleFocusin:v,cssVars:c?void 0:S,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender}},render(){var e;const{mergedValue:t,mergedClsPrefix:n,handleFocusin:o,handleFocusout:r}=this,{children:i,isButtonGroup:a}=XV(ba(_C(this)),t,n);return(e=this.onRender)===null||e===void 0||e.call(this),b("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)}}),ZV=pe({name:"RadioButton",props:o2,setup:i2,render(){const{mergedClsPrefix:e}=this;return b("label",{class:[`${e}-radio-button`,this.mergedDisabled&&`${e}-radio-button--disabled`,this.renderSafeChecked&&`${e}-radio-button--checked`,this.focus&&[`${e}-radio-button--focus`]]},b("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}),b("div",{class:`${e}-radio-button__state-border`}),Ot(this.$slots.default,t=>!t&&!this.label?null:b("div",{ref:"labelRef",class:`${e}-radio__label`},t||this.label)))}}),l2=40,c2=40;function z0(e){if(e.type==="selection")return e.width===void 0?l2:wn(e.width);if(e.type==="expand")return e.width===void 0?c2:wn(e.width);if(!("children"in e))return typeof e.width=="string"?wn(e.width):e.width}function JV(e){var t,n;if(e.type==="selection")return Ut((t=e.width)!==null&&t!==void 0?t:l2);if(e.type==="expand")return Ut((n=e.width)!==null&&n!==void 0?n:c2);if(!("children"in e))return Ut(e.width)}function po(e){return e.type==="selection"?"__n_selection__":e.type==="expand"?"__n_expand__":e.key}function O0(e){return e&&(typeof e=="object"?Object.assign({},e):e)}function eU(e){return e==="ascend"?1:e==="descend"?-1:0}function tU(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 nU(e,t){if(t!==void 0)return{width:t,minWidth:t,maxWidth:t};const n=JV(e),{minWidth:o,maxWidth:r}=e;return{width:n,minWidth:Ut(o)||n,maxWidth:Ut(r)}}function oU(e,t,n){return typeof n=="function"?n(e,t):n||""}function Ld(e){return e.filterOptionValues!==void 0||e.filterOptionValue===void 0&&e.defaultFilterOptionValues!==void 0}function Fd(e){return"children"in e?!1:!!e.sorter}function u2(e){return"children"in e&&e.children.length?!1:!!e.resizable}function D0(e){return"children"in e?!1:!!e.filter&&(!!e.filterOptions||!!e.renderFilterMenu)}function L0(e){if(e){if(e==="descend")return"ascend"}else return"descend";return!1}function rU(e,t){return e.sorter===void 0?null:t===null||t.columnKey!==e.key?{columnKey:e.key,sorter:e.sorter,order:L0(!1)}:Object.assign(Object.assign({},t),{order:L0(t.order)})}function d2(e,t){return t.find(n=>n.columnKey===e.key&&n.order)!==void 0}const iU=pe({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,mergedThemeRef:n,localeRef:o}=He(So),r=N(e.value),i=L(()=>{const{value:d}=r;return Array.isArray(d)?d:null}),a=L(()=>{const{value:d}=r;return Ld(e.column)?Array.isArray(d)&&d.length&&d[0]||null:Array.isArray(d)?null:d});function s(d){e.onChange(d)}function l(d){e.multiple&&Array.isArray(d)?r.value=d:Ld(e.column)&&!Array.isArray(d)?r.value=[d]:r.value=d}function c(){s(r.value),e.onConfirm()}function u(){e.multiple||Ld(e.column)?s([]):s(null),e.onClear()}return{mergedClsPrefix:t,mergedTheme:n,locale:o,checkboxGroupValue:i,radioGroupValue:a,handleChange:l,handleConfirmClick:c,handleClearClick:u}},render(){const{mergedTheme:e,locale:t,mergedClsPrefix:n}=this;return b("div",{class:`${n}-data-table-filter-menu`},b(_o,null,{default:()=>{const{checkboxGroupValue:o,handleChange:r}=this;return this.multiple?b(Kj,{value:o,class:`${n}-data-table-filter-menu__group`,onUpdateValue:r},{default:()=>this.options.map(i=>b(Su,{key:i.value,theme:e.peers.Checkbox,themeOverrides:e.peerOverrides.Checkbox,value:i.value},{default:()=>i.label}))}):b(s2,{name:this.radioGroupName,class:`${n}-data-table-filter-menu__group`,value:this.radioGroupValue,onUpdateValue:this.handleChange},{default:()=>this.options.map(i=>b(a2,{key:i.value,value:i.value,theme:e.peers.Radio,themeOverrides:e.peerOverrides.Radio},{default:()=>i.label}))})}}),b("div",{class:`${n}-data-table-filter-menu__action`},b(Tt,{size:"tiny",theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,onClick:this.handleClearClick},{default:()=>t.clear}),b(Tt,{theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,type:"primary",size:"tiny",onClick:this.handleConfirmClick},{default:()=>t.confirm})))}});function aU(e,t,n){const o=Object.assign({},e);return o[t]=n,o}const sU=pe({name:"DataTableFilterButton",props:{column:{type:Object,required:!0},options:{type:Array,default:()=>[]}},setup(e){const{mergedComponentPropsRef:t}=ct(),{mergedThemeRef:n,mergedClsPrefixRef:o,mergedFilterStateRef:r,filterMenuCssVarsRef:i,paginationBehaviorOnFilterRef:a,doUpdatePage:s,doUpdateFilters:l}=He(So),c=N(!1),u=r,d=L(()=>e.column.filterMultiple!==!1),f=L(()=>{const y=u.value[e.column.key];if(y===void 0){const{value:S}=d;return S?[]:null}return y}),p=L(()=>{const{value:y}=f;return Array.isArray(y)?y.length>0:y!==null}),h=L(()=>{var y,S;return((S=(y=t==null?void 0:t.value)===null||y===void 0?void 0:y.DataTable)===null||S===void 0?void 0:S.renderFilter)||e.column.renderFilter});function m(y){const S=aU(u.value,e.column.key,y);l(S,e.column),a.value==="first"&&s(1)}function v(){c.value=!1}function g(){c.value=!1}return{mergedTheme:n,mergedClsPrefix:o,active:p,showPopover:c,mergedRenderFilter:h,filterMultiple:d,mergedFilterValue:f,filterMenuCssVars:i,handleFilterChange:m,handleFilterMenuConfirm:g,handleFilterMenuCancel:v}},render(){const{mergedTheme:e,mergedClsPrefix:t,handleFilterMenuCancel:n}=this;return b(rl,{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 b(qV,{"data-data-table-filter":!0,render:o,active:this.active,show:this.showPopover});const{renderFilterIcon:r}=this.column;return b("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}):b(Bt,{clsPrefix:t},{default:()=>b(wN,null)}))},default:()=>{const{renderFilterMenu:o}=this.column;return o?o({hide:n}):b(iU,{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})}})}}),lU=pe({name:"ColumnResizeButton",props:{onResizeStart:Function,onResize:Function,onResizeEnd:Function},setup(e){const{mergedClsPrefixRef:t}=He(So),n=N(!1);let o=0;function r(l){return l.clientX}function i(l){var c;l.preventDefault();const u=n.value;o=r(l),n.value=!0,u||(At("mousemove",window,a),At("mouseup",window,s),(c=e.onResizeStart)===null||c===void 0||c.call(e))}function a(l){var c;(c=e.onResize)===null||c===void 0||c.call(e,r(l)-o)}function s(){var l;n.value=!1,(l=e.onResizeEnd)===null||l===void 0||l.call(e),_t("mousemove",window,a),_t("mouseup",window,s)}return tn(()=>{_t("mousemove",window,a),_t("mouseup",window,s)}),{mergedClsPrefix:t,active:n,handleMousedown:i}},render(){const{mergedClsPrefix:e}=this;return b("span",{"data-data-table-resizable":!0,class:[`${e}-data-table-resize-button`,this.active&&`${e}-data-table-resize-button--active`],onMousedown:this.handleMousedown})}}),f2=pe({name:"DropdownDivider",props:{clsPrefix:{type:String,required:!0}},render(){return b("div",{class:`${this.clsPrefix}-dropdown-divider`})}}),h2=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}},cU={name:"Icon",common:yt,self:h2},uU=cU,dU={name:"Icon",common:Be,self:h2},fU=dU,hU=O("icon",` height: 1em; width: 1em; line-height: 1em; @@ -2059,7 +2059,7 @@ ${t} position: relative; fill: currentColor; transform: translateZ(0); -`,[K("color-transition",{transition:"color .3s var(--n-bezier)"}),K("depth",{color:"var(--n-color)"},[j("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),j("svg",{height:"1em",width:"1em"})]),hU=Object.assign(Object.assign({},Fe.props),{depth:[String,Number],size:[Number,String],color:String,component:Object}),Li=pe({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:hU,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=ct(e),o=Fe("Icon","-icon",fU,cU,e,t),r=N(()=>{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?Rt("icon",N(()=>`${e.depth||"d"}`),r,e):void 0;return{mergedClsPrefix:t,mergedStyle:N(()=>{const{size:a,color:s}=e;return{fontSize:Ut(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__&&or("icon","don't wrap `n-icon` inside `n-icon`"),i==null||i(),b("i",Mn(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?b(r):this.$slots)}}),im="n-dropdown-menu",Ru="n-dropdown",L0="n-dropdown-option";function bh(e,t){return e.type==="submenu"||e.type===void 0&&e[t]!==void 0}function pU(e){return e.type==="group"}function h2(e){return e.type==="divider"}function mU(e){return e.type==="render"}const p2=pe({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=He(Ru),{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=He(L0,null),g=He(im),y=He(Ma),S=N(()=>e.tmNode.rawNode),C=N(()=>{const{value:W}=f;return bh(e.tmNode.rawNode,W)}),_=N(()=>{const{disabled:W}=e.tmNode;return W}),x=N(()=>{if(!C.value)return!1;const{key:W,disabled:Q}=e.tmNode;if(Q)return!1;const{value:L}=n,{value:M}=o,{value:se}=r,{value:X}=i;return L!==null?X.includes(W):M!==null?X.includes(W)&&X[X.length-1]!==W:se!==null?X.includes(W):!1}),w=N(()=>o.value===null&&!s.value),T=s6(x,300,w),P=N(()=>!!(v!=null&&v.enteringSubmenuRef.value)),k=B(!1);lt(L0,{enteringSubmenuRef:k});function I(){k.value=!0}function A(){k.value=!1}function q(){const{parentKey:W,tmNode:Q}=e;Q.disabled||l.value&&(r.value=W,o.value=null,n.value=Q.key)}function F(){const{tmNode:W}=e;W.disabled||l.value&&n.value!==W.key&&q()}function O(W){if(e.tmNode.disabled||!l.value)return;const{relatedTarget:Q}=W;Q&&!nr({target:Q},"dropdownOption")&&!nr({target:Q},"scrollbarRail")&&(n.value=null)}function $(){const{value:W}=C,{tmNode:Q}=e;l.value&&!W&&!Q.disabled&&(t.doSelect(Q.key,Q.rawNode),t.doUpdateShow(!1))}return{labelField:d,renderLabel:c,renderIcon:u,siblingHasIcon:g.showIconRef,siblingHasSubmenu:g.hasSubmenuRef,menuProps:m,popoverBody:y,animated:s,mergedShowSubmenu:N(()=>T.value&&!P.value),rawNode:S,hasSubmenu:C,pending:wt(()=>{const{value:W}=i,{key:Q}=e.tmNode;return W.includes(Q)}),childActive:wt(()=>{const{value:W}=a,{key:Q}=e.tmNode,L=W.findIndex(M=>Q===M);return L===-1?!1:L{const{value:W}=a,{key:Q}=e.tmNode,L=W.findIndex(M=>Q===M);return L===-1?!1:L===W.length-1}),mergedDisabled:_,renderOption:p,nodeProps:h,handleClick:$,handleMouseMove:F,handleMouseEnter:q,handleMouseLeave:O,handleSubmenuBeforeEnter:I,handleSubmenuAfterEnter:A}},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 y=(e=this.menuProps)===null||e===void 0?void 0:e.call(this,o,o.children);h=b(m2,Object.assign({},y,{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),g=b("div",Object.assign({class:[`${i}-dropdown-option`,v==null?void 0:v.class],"data-dropdown-option":!0},v),b("div",Mn(m,f),[b("div",{class:[`${i}-dropdown-option-body__prefix`,a&&`${i}-dropdown-option-body__prefix--show-icon`]},[c?c(o):Nt(o.icon)]),b("div",{"data-dropdown-option":!0,class:`${i}-dropdown-option-body__label`},l?l(o):Nt((t=o[this.labelField])!==null&&t!==void 0?t:o.title)),b("div",{"data-dropdown-option":!0,class:[`${i}-dropdown-option-body__suffix`,s&&`${i}-dropdown-option-body__suffix--has-submenu`]},this.hasSubmenu?b(Li,null,{default:()=>b(Up,null)}):null)]),this.hasSubmenu?b(Sp,null,{default:()=>[b(kp,null,{default:()=>b("div",{class:`${i}-dropdown-offset-container`},b(Pp,{show:this.mergedShowSubmenu,placement:this.placement,to:p&&this.popoverBody||void 0,teleportDisabled:!p},{default:()=>b("div",{class:`${i}-dropdown-menu-wrapper`},n?b(fn,{onBeforeEnter:this.handleSubmenuBeforeEnter,onAfterEnter:this.handleSubmenuAfterEnter,name:"fade-in-scale-up-transition",appear:!0},{default:()=>h}):h)}))})]}):null);return u?u({node:g,option:o}):g}}),gU=pe({name:"DropdownGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{showIconRef:e,hasSubmenuRef:t}=He(im),{renderLabelRef:n,labelFieldRef:o,nodePropsRef:r,renderOptionRef:i}=He(Ru);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=b("div",Object.assign({class:`${t}-dropdown-option`},r==null?void 0:r(s)),b("div",{class:`${t}-dropdown-option-body ${t}-dropdown-option-body--group`},b("div",{"data-dropdown-option":!0,class:[`${t}-dropdown-option-body__prefix`,o&&`${t}-dropdown-option-body__prefix--show-icon`]},Nt(s.icon)),b("div",{class:`${t}-dropdown-option-body__label`,"data-dropdown-option":!0},i?i(s):Nt((e=s.title)!==null&&e!==void 0?e:s[this.labelField])),b("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}}),vU=pe({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 b(et,null,b(gU,{clsPrefix:n,tmNode:e,key:e.key}),o==null?void 0:o.map(r=>{const{rawNode:i}=r;return i.show===!1?null:h2(i)?b(d2,{clsPrefix:n,key:r.key}):r.isGroup?(or("dropdown","`group` node is not allowed to be put in `group` node."),null):b(p2,{clsPrefix:n,tmNode:r,parentKey:t,key:r.key})}))}}),bU=pe({name:"DropdownRenderOption",props:{tmNode:{type:Object,required:!0}},render(){const{rawNode:{render:e,props:t}}=this.tmNode;return b("div",t,[e==null?void 0:e()])}}),m2=pe({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}=He(Ru);lt(im,{showIconRef:N(()=>{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:N(()=>{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})=>bh(l,r));const{rawNode:s}=i;return bh(s,r)})})});const o=B(null);return lt(Zs,null),lt(Js,null),lt(Ma,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:mU(i)?b(bU,{tmNode:r,key:r.key}):h2(i)?b(d2,{clsPrefix:t,key:r.key}):pU(i)?b(vU,{clsPrefix:t,tmNode:r,parentKey:e,key:r.key}):b(p2,{clsPrefix:t,tmNode:r,parentKey:e,key:r.key,props:i.props,scrollable:n})});return b("div",{class:[`${t}-dropdown-menu`,n&&`${t}-dropdown-menu--scrollable`],ref:"bodyRef"},n?b(a_,{contentClass:`${t}-dropdown-menu__content`},{default:()=>o}):o,this.showArrow?d_({clsPrefix:t,arrowStyle:this.arrowStyle}):null)}}),yU=z("dropdown-menu",` +`,[K("color-transition",{transition:"color .3s var(--n-bezier)"}),K("depth",{color:"var(--n-color)"},[V("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),V("svg",{height:"1em",width:"1em"})]),pU=Object.assign(Object.assign({},Fe.props),{depth:[String,Number],size:[Number,String],color:String,component:Object}),Li=pe({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:pU,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=ct(e),o=Fe("Icon","-icon",hU,uU,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?Rt("icon",L(()=>`${e.depth||"d"}`),r,e):void 0;return{mergedClsPrefix:t,mergedStyle:L(()=>{const{size:a,color:s}=e;return{fontSize:Ut(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__&&or("icon","don't wrap `n-icon` inside `n-icon`"),i==null||i(),b("i",Mn(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?b(r):this.$slots)}}),im="n-dropdown-menu",Ru="n-dropdown",F0="n-dropdown-option";function bh(e,t){return e.type==="submenu"||e.type===void 0&&e[t]!==void 0}function mU(e){return e.type==="group"}function p2(e){return e.type==="divider"}function gU(e){return e.type==="render"}const m2=pe({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=He(Ru),{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=He(F0,null),g=He(im),y=He(Ma),S=L(()=>e.tmNode.rawNode),C=L(()=>{const{value:j}=f;return bh(e.tmNode.rawNode,j)}),_=L(()=>{const{disabled:j}=e.tmNode;return j}),x=L(()=>{if(!C.value)return!1;const{key:j,disabled:X}=e.tmNode;if(X)return!1;const{value:F}=n,{value:M}=o,{value:se}=r,{value:Q}=i;return F!==null?Q.includes(j):M!==null?Q.includes(j)&&Q[Q.length-1]!==j:se!==null?Q.includes(j):!1}),w=L(()=>o.value===null&&!s.value),T=l6(x,300,w),P=L(()=>!!(v!=null&&v.enteringSubmenuRef.value)),k=N(!1);lt(F0,{enteringSubmenuRef:k});function A(){k.value=!0}function I(){k.value=!1}function W(){const{parentKey:j,tmNode:X}=e;X.disabled||l.value&&(r.value=j,o.value=null,n.value=X.key)}function B(){const{tmNode:j}=e;j.disabled||l.value&&n.value!==j.key&&W()}function z(j){if(e.tmNode.disabled||!l.value)return;const{relatedTarget:X}=j;X&&!nr({target:X},"dropdownOption")&&!nr({target:X},"scrollbarRail")&&(n.value=null)}function $(){const{value:j}=C,{tmNode:X}=e;l.value&&!j&&!X.disabled&&(t.doSelect(X.key,X.rawNode),t.doUpdateShow(!1))}return{labelField:d,renderLabel:c,renderIcon:u,siblingHasIcon:g.showIconRef,siblingHasSubmenu:g.hasSubmenuRef,menuProps:m,popoverBody:y,animated:s,mergedShowSubmenu:L(()=>T.value&&!P.value),rawNode:S,hasSubmenu:C,pending:wt(()=>{const{value:j}=i,{key:X}=e.tmNode;return j.includes(X)}),childActive:wt(()=>{const{value:j}=a,{key:X}=e.tmNode,F=j.findIndex(M=>X===M);return F===-1?!1:F{const{value:j}=a,{key:X}=e.tmNode,F=j.findIndex(M=>X===M);return F===-1?!1:F===j.length-1}),mergedDisabled:_,renderOption:p,nodeProps:h,handleClick:$,handleMouseMove:B,handleMouseEnter:W,handleMouseLeave:z,handleSubmenuBeforeEnter:A,handleSubmenuAfterEnter:I}},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 y=(e=this.menuProps)===null||e===void 0?void 0:e.call(this,o,o.children);h=b(g2,Object.assign({},y,{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),g=b("div",Object.assign({class:[`${i}-dropdown-option`,v==null?void 0:v.class],"data-dropdown-option":!0},v),b("div",Mn(m,f),[b("div",{class:[`${i}-dropdown-option-body__prefix`,a&&`${i}-dropdown-option-body__prefix--show-icon`]},[c?c(o):Nt(o.icon)]),b("div",{"data-dropdown-option":!0,class:`${i}-dropdown-option-body__label`},l?l(o):Nt((t=o[this.labelField])!==null&&t!==void 0?t:o.title)),b("div",{"data-dropdown-option":!0,class:[`${i}-dropdown-option-body__suffix`,s&&`${i}-dropdown-option-body__suffix--has-submenu`]},this.hasSubmenu?b(Li,null,{default:()=>b(Up,null)}):null)]),this.hasSubmenu?b(Sp,null,{default:()=>[b(kp,null,{default:()=>b("div",{class:`${i}-dropdown-offset-container`},b(Pp,{show:this.mergedShowSubmenu,placement:this.placement,to:p&&this.popoverBody||void 0,teleportDisabled:!p},{default:()=>b("div",{class:`${i}-dropdown-menu-wrapper`},n?b(fn,{onBeforeEnter:this.handleSubmenuBeforeEnter,onAfterEnter:this.handleSubmenuAfterEnter,name:"fade-in-scale-up-transition",appear:!0},{default:()=>h}):h)}))})]}):null);return u?u({node:g,option:o}):g}}),vU=pe({name:"DropdownGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{showIconRef:e,hasSubmenuRef:t}=He(im),{renderLabelRef:n,labelFieldRef:o,nodePropsRef:r,renderOptionRef:i}=He(Ru);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=b("div",Object.assign({class:`${t}-dropdown-option`},r==null?void 0:r(s)),b("div",{class:`${t}-dropdown-option-body ${t}-dropdown-option-body--group`},b("div",{"data-dropdown-option":!0,class:[`${t}-dropdown-option-body__prefix`,o&&`${t}-dropdown-option-body__prefix--show-icon`]},Nt(s.icon)),b("div",{class:`${t}-dropdown-option-body__label`,"data-dropdown-option":!0},i?i(s):Nt((e=s.title)!==null&&e!==void 0?e:s[this.labelField])),b("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}}),bU=pe({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 b(et,null,b(vU,{clsPrefix:n,tmNode:e,key:e.key}),o==null?void 0:o.map(r=>{const{rawNode:i}=r;return i.show===!1?null:p2(i)?b(f2,{clsPrefix:n,key:r.key}):r.isGroup?(or("dropdown","`group` node is not allowed to be put in `group` node."),null):b(m2,{clsPrefix:n,tmNode:r,parentKey:t,key:r.key})}))}}),yU=pe({name:"DropdownRenderOption",props:{tmNode:{type:Object,required:!0}},render(){const{rawNode:{render:e,props:t}}=this.tmNode;return b("div",t,[e==null?void 0:e()])}}),g2=pe({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}=He(Ru);lt(im,{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})=>bh(l,r));const{rawNode:s}=i;return bh(s,r)})})});const o=N(null);return lt(Zs,null),lt(Js,null),lt(Ma,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:gU(i)?b(yU,{tmNode:r,key:r.key}):p2(i)?b(f2,{clsPrefix:t,key:r.key}):mU(i)?b(bU,{clsPrefix:t,tmNode:r,parentKey:e,key:r.key}):b(m2,{clsPrefix:t,tmNode:r,parentKey:e,key:r.key,props:i.props,scrollable:n})});return b("div",{class:[`${t}-dropdown-menu`,n&&`${t}-dropdown-menu--scrollable`],ref:"bodyRef"},n?b(s_,{contentClass:`${t}-dropdown-menu__content`},{default:()=>o}):o,this.showArrow?f_({clsPrefix:t,arrowStyle:this.arrowStyle}):null)}}),xU=O("dropdown-menu",` transform-origin: var(--v-transform-origin); background-color: var(--n-color); border-radius: var(--n-border-radius); @@ -2068,20 +2068,20 @@ ${t} transition: background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier); -`,[Da(),z("dropdown-option",` +`,[Da(),O("dropdown-option",` position: relative; - `,[j("a",` + `,[V("a",` text-decoration: none; color: inherit; outline: none; - `,[j("&::before",` + `,[V("&::before",` content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0; - `)]),z("dropdown-option-body",` + `)]),O("dropdown-option-body",` display: flex; cursor: pointer; position: relative; @@ -2090,7 +2090,7 @@ ${t} font-size: var(--n-font-size); color: var(--n-option-text-color); transition: color .3s var(--n-bezier); - `,[j("&::before",` + `,[V("&::before",` content: ""; position: absolute; top: 0; @@ -2103,11 +2103,11 @@ ${t} color: var(--n-option-text-color-hover); `,[D("prefix, suffix",` color: var(--n-option-text-color-hover); - `),j("&::before","background-color: var(--n-option-color-hover);")]),K("active",` + `),V("&::before","background-color: var(--n-option-color-hover);")]),K("active",` color: var(--n-option-text-color-active); `,[D("prefix, suffix",` color: var(--n-option-text-color-active); - `),j("&::before","background-color: var(--n-option-color-active);")]),K("child-active",` + `),V("&::before","background-color: var(--n-option-color-active);")]),K("child-active",` color: var(--n-option-text-color-child-active); `,[D("prefix, suffix",` color: var(--n-option-text-color-child-active); @@ -2131,7 +2131,7 @@ ${t} z-index: 1; `,[K("show-icon",` width: var(--n-option-icon-prefix-width); - `),z("icon",` + `),O("icon",` font-size: var(--n-option-icon-size); `)]),D("label",` white-space: nowrap; @@ -2151,31 +2151,31 @@ ${t} z-index: 1; `,[K("has-submenu",` width: var(--n-option-icon-suffix-width); - `),z("icon",` + `),O("icon",` font-size: var(--n-option-icon-size); - `)]),z("dropdown-menu","pointer-events: all;")]),z("dropdown-offset-container",` + `)]),O("dropdown-menu","pointer-events: all;")]),O("dropdown-offset-container",` pointer-events: none; position: absolute; left: 0; right: 0; top: -4px; bottom: -4px; - `)]),z("dropdown-divider",` + `)]),O("dropdown-divider",` transition: background-color .3s var(--n-bezier); background-color: var(--n-divider-color); height: 1px; margin: 4px 0; - `),z("dropdown-menu-wrapper",` + `),O("dropdown-menu-wrapper",` transform-origin: var(--v-transform-origin); width: fit-content; - `),j(">",[z("scrollbar",` + `),V(">",[O("scrollbar",` height: inherit; max-height: inherit; `)]),Pt("scrollable",` padding: var(--n-padding); `),K("scrollable",[D("content",` padding: var(--n-padding); - `)])]),xU={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]},CU=Object.keys(Ca),wU=Object.assign(Object.assign(Object.assign({},Ca),xU),Fe.props),am=pe({name:"Dropdown",inheritAttrs:!1,props:wU,setup(e){const t=B(!1),n=rn(Ne(e,"show"),t),o=N(()=>{const{keyField:A,childrenField:q}=e;return nl(e.options,{getKey(F){return F[A]},getDisabled(F){return F.disabled===!0},getIgnored(F){return F.type==="divider"||F.type==="render"},getChildren(F){return F[q]}})}),r=N(()=>o.value.treeNodes),i=B(null),a=B(null),s=B(null),l=N(()=>{var A,q,F;return(F=(q=(A=i.value)!==null&&A!==void 0?A:a.value)!==null&&q!==void 0?q:s.value)!==null&&F!==void 0?F:null}),c=N(()=>o.value.getPath(l.value).keyPath),u=N(()=>o.value.getPath(e.value).keyPath),d=wt(()=>e.keyboard&&n.value);y6({keydown:{ArrowUp:{prevent:!0,handler:_},ArrowRight:{prevent:!0,handler:C},ArrowDown:{prevent:!0,handler:x},ArrowLeft:{prevent:!0,handler:S},Enter:{prevent:!0,handler:w},Escape:y}},d);const{mergedClsPrefixRef:f,inlineThemeDisabled:p}=ct(e),h=Fe("Dropdown","-dropdown",yU,nm,e,f);lt(Ru,{labelFieldRef:Ne(e,"labelField"),childrenFieldRef:Ne(e,"childrenField"),renderLabelRef:Ne(e,"renderLabel"),renderIconRef:Ne(e,"renderIcon"),hoverKeyRef:i,keyboardKeyRef:a,lastToggledSubmenuKeyRef:s,pendingKeyPathRef:c,activeKeyPathRef:u,animatedRef:Ne(e,"animated"),mergedShowRef:n,nodePropsRef:Ne(e,"nodeProps"),renderOptionRef:Ne(e,"renderOption"),menuPropsRef:Ne(e,"menuProps"),doSelect:m,doUpdateShow:v}),ht(n,A=>{!e.animated&&!A&&g()});function m(A,q){const{onSelect:F}=e;F&&Re(F,A,q)}function v(A){const{"onUpdate:show":q,onUpdateShow:F}=e;q&&Re(q,A),F&&Re(F,A),t.value=A}function g(){i.value=null,a.value=null,s.value=null}function y(){v(!1)}function S(){P("left")}function C(){P("right")}function _(){P("up")}function x(){P("down")}function w(){const A=T();A!=null&&A.isLeaf&&n.value&&(m(A.key,A.rawNode),v(!1))}function T(){var A;const{value:q}=o,{value:F}=l;return!q||F===null?null:(A=q.getNode(F))!==null&&A!==void 0?A:null}function P(A){const{value:q}=l,{value:{getFirstAvailableNode:F}}=o;let O=null;if(q===null){const $=F();$!==null&&(O=$.key)}else{const $=T();if($){let W;switch(A){case"down":W=$.getNext();break;case"up":W=$.getPrev();break;case"right":W=$.getChild();break;case"left":W=$.getParent();break}W&&(O=W.key)}}O!==null&&(i.value=null,a.value=O)}const k=N(()=>{const{size:A,inverted:q}=e,{common:{cubicBezierEaseInOut:F},self:O}=h.value,{padding:$,dividerColor:W,borderRadius:Q,optionOpacityDisabled:L,[Pe("optionIconSuffixWidth",A)]:M,[Pe("optionSuffixWidth",A)]:se,[Pe("optionIconPrefixWidth",A)]:X,[Pe("optionPrefixWidth",A)]:ne,[Pe("fontSize",A)]:fe,[Pe("optionHeight",A)]:xe,[Pe("optionIconSize",A)]:Ce}=O,G={"--n-bezier":F,"--n-font-size":fe,"--n-padding":$,"--n-border-radius":Q,"--n-option-height":xe,"--n-option-prefix-width":ne,"--n-option-icon-prefix-width":X,"--n-option-suffix-width":se,"--n-option-icon-suffix-width":M,"--n-option-icon-size":Ce,"--n-divider-color":W,"--n-option-opacity-disabled":L};return q?(G["--n-color"]=O.colorInverted,G["--n-option-color-hover"]=O.optionColorHoverInverted,G["--n-option-color-active"]=O.optionColorActiveInverted,G["--n-option-text-color"]=O.optionTextColorInverted,G["--n-option-text-color-hover"]=O.optionTextColorHoverInverted,G["--n-option-text-color-active"]=O.optionTextColorActiveInverted,G["--n-option-text-color-child-active"]=O.optionTextColorChildActiveInverted,G["--n-prefix-color"]=O.prefixColorInverted,G["--n-suffix-color"]=O.suffixColorInverted,G["--n-group-header-text-color"]=O.groupHeaderTextColorInverted):(G["--n-color"]=O.color,G["--n-option-color-hover"]=O.optionColorHover,G["--n-option-color-active"]=O.optionColorActive,G["--n-option-text-color"]=O.optionTextColor,G["--n-option-text-color-hover"]=O.optionTextColorHover,G["--n-option-text-color-active"]=O.optionTextColorActive,G["--n-option-text-color-child-active"]=O.optionTextColorChildActive,G["--n-prefix-color"]=O.prefixColor,G["--n-suffix-color"]=O.suffixColor,G["--n-group-header-text-color"]=O.groupHeaderTextColor),G}),I=p?Rt("dropdown",N(()=>`${e.size[0]}${e.inverted?"i":""}`),k,e):void 0;return{mergedClsPrefix:f,mergedTheme:h,tmNodes:r,mergedShow:n,handleAfterLeave:()=>{e.animated&&g()},doUpdateShow:v,cssVars:p?void 0:k,themeClass:I==null?void 0:I.themeClass,onRender:I==null?void 0:I.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:_C(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 b(m2,Mn(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 b(rl,Object.assign({},Kn(this.$props,CU),n),{trigger:()=>{var o,r;return(r=(o=this.$slots).default)===null||r===void 0?void 0:r.call(o)}})}}),g2="_n_all__",v2="_n_none__";function _U(e,t,n,o){return e?r=>{for(const i of e)switch(r){case g2:n(!0);return;case v2:o(!0);return;default:if(typeof i=="object"&&i.key===r){i.onSelect(t.value);return}}}:()=>{}}function SU(e,t){return e?e.map(n=>{switch(n){case"all":return{label:t.checkTableAll,key:g2};case"none":return{label:t.uncheckTableAll,key:v2};default:return n}}):[]}const kU=pe({name:"DataTableSelectionMenu",props:{clsPrefix:{type:String,required:!0}},setup(e){const{props:t,localeRef:n,checkOptionsRef:o,rawPaginatedDataRef:r,doCheckAll:i,doUncheckAll:a}=He(So),s=N(()=>_U(o.value,r,i,a)),l=N(()=>SU(o.value,n.value));return()=>{var c,u,d,f;const{clsPrefix:p}=e;return b(am,{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:()=>b(Bt,{clsPrefix:p,class:`${p}-data-table-check-extra`},{default:()=>b(Qw,null)})})}}});function Nd(e){return typeof e.title=="function"?e.title(e):e.title}const b2=pe({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:g,deriveNextSorter:y,doUncheckAll:S,doCheckAll:C}=He(So),_=B({});function x(A){const q=_.value[A];return q==null?void 0:q.getBoundingClientRect().width}function w(){i.value?S():C()}function T(A,q){if(nr(A,"dataTableFilter")||nr(A,"dataTableResizable")||!Fd(q))return;const F=d.value.find($=>$.columnKey===q.key)||null,O=oU(q,F);y(O)}const P=new Map;function k(A){P.set(A.key,x(A.key))}function I(A,q){const F=P.get(A.key);if(F===void 0)return;const O=F+q,$=eU(O,A.minWidth,A.maxWidth);m(O,$,A,x),v(A,$)}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:w,handleColHeaderClick:T,handleTableHeaderScroll:g,handleColumnResizeStart:k,handleColumnResize:I}},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:g,handleColumnResizeStart:y,handleColumnResize:S}=this,C=b("thead",{class:`${t}-data-table-thead`,"data-n-id":d},s.map(w=>b("tr",{class:`${t}-data-table-tr`},w.map(({column:T,colSpan:P,rowSpan:k,isLast:I})=>{var A,q;const F=po(T),{ellipsis:O}=T,$=()=>T.type==="selection"?T.multiple!==!1?b(et,null,b(Su,{key:r,privateInsideTable:!0,checked:i,indeterminate:a,disabled:h,onUpdateChecked:g}),u?b(kU,{clsPrefix:t}):null):null:b(et,null,b("div",{class:`${t}-data-table-th__title-wrapper`},b("div",{class:`${t}-data-table-th__title`},O===!0||O&&!O.tooltip?b("div",{class:`${t}-data-table-th__ellipsis`},Nd(T)):O&&typeof O=="object"?b(rm,Object.assign({},O,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>Nd(T)}):Nd(T)),Fd(T)?b(UV,{column:T}):null),O0(T)?b(aU,{column:T,options:T.filterOptions}):null,c2(T)?b(sU,{onResizeStart:()=>{y(T)},onResize:L=>{S(T,L)}}):null),W=F in n,Q=F in o;return b("th",{ref:L=>e[F]=L,key:F,style:{textAlign:T.titleAlign||T.align,left:Ln((A=n[F])===null||A===void 0?void 0:A.start),right:Ln((q=o[F])===null||q===void 0?void 0:q.start)},colspan:P,rowspan:k,"data-col-key":F,class:[`${t}-data-table-th`,(W||Q)&&`${t}-data-table-th--fixed-${W?"left":"right"}`,{[`${t}-data-table-th--hover`]:u2(T,m),[`${t}-data-table-th--filterable`]:O0(T),[`${t}-data-table-th--sortable`]:Fd(T),[`${t}-data-table-th--selection`]:T.type==="selection",[`${t}-data-table-th--last`]:I},T.className],onClick:T.type!=="selection"&&T.type!=="expand"&&!("children"in T)?L=>{v(L,T)}:void 0},$())}))));if(!f)return C;const{handleTableHeaderScroll:_,scrollX:x}=this;return b("div",{class:`${t}-data-table-base-table-header`,onScroll:_},b("table",{ref:"body",class:`${t}-data-table-table`,style:{minWidth:Ut(x),tableLayout:p}},b("colgroup",null,l.map(w=>b("col",{key:w.key,style:w.style}))),C))}}),TU=pe({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(){const{isSummary:e,column:t,row:n,renderCell:o}=this;let r;const{render:i,key:a,ellipsis:s}=t;if(i&&!e?r=i(n,this.index):e?r=n[a].value:r=o?o(ih(n,a),n,t):ih(n,a),s)if(typeof s=="object"){const{mergedTheme:l}=this;return t.ellipsisComponent==="performant-ellipsis"?b(HV,Object.assign({},s,{theme:l.peers.Ellipsis,themeOverrides:l.peerOverrides.Ellipsis}),{default:()=>r}):b(rm,Object.assign({},s,{theme:l.peers.Ellipsis,themeOverrides:l.peerOverrides.Ellipsis}),{default:()=>r})}else return b("span",{class:`${this.clsPrefix}-data-table-td__ellipsis`},r);return r}}),F0=pe({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 b("div",{class:[`${e}-data-table-expand-trigger`,this.expanded&&`${e}-data-table-expand-trigger--expanded`],onClick:this.onClick,onMousedown:t=>{t.preventDefault()}},b(Ai,null,{default:()=>this.loading?b(Mi,{key:"loading",clsPrefix:this.clsPrefix,radius:85,strokeWidth:15,scale:.88}):this.renderExpandIcon?this.renderExpandIcon({expanded:this.expanded}):b(Bt,{clsPrefix:e,key:"base-icon"},{default:()=>b(Up,null)})}))}}),PU=pe({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}=He(So);return()=>{const{rowKey:o}=e;return b(Su,{privateInsideTable:!0,disabled:e.disabled,indeterminate:n.value.has(o),checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}}),RU=pe({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}=He(So);return()=>{const{rowKey:o}=e;return b(i2,{name:n,disabled:e.disabled,checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}});function EU(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 $U=pe({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 b("table",{style:{tableLayout:"fixed"},class:`${e}-data-table-table`,onMouseenter:o,onMouseleave:r},b("colgroup",null,n.map(i=>b("col",{key:i.key,style:i.style}))),b("tbody",{"data-n-id":t,class:`${e}-data-table-tbody`},this.$slots))}}),AU=pe({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:g,renderExpandRef:y,hoverKeyRef:S,summaryRef:C,mergedSortStateRef:_,virtualScrollRef:x,componentId:w,mergedTableLayoutRef:T,childTriggerColIndexRef:P,indentRef:k,rowPropsRef:I,maxHeightRef:A,stripedRef:q,loadingRef:F,onLoadRef:O,loadingKeySetRef:$,expandableRef:W,stickyExpandedRowsRef:Q,renderExpandIconRef:L,summaryPlacementRef:M,treeMateRef:se,scrollbarPropsRef:X,setHeaderScrollLeft:ne,doUpdateExpandedRowKeys:fe,handleTableBodyScroll:xe,doCheck:Ce,doUncheck:G,renderCell:ve}=He(So),ue=B(null),re=B(null),ke=B(null),V=wt(()=>l.value.length===0),R=wt(()=>e.showHeader||!V.value),E=wt(()=>e.showHeader||V.value);let U="";const ie=N(()=>new Set(o.value));function Y(Me){var je;return(je=se.value.getNode(Me))===null||je===void 0?void 0:je.rawNode}function he(Me,je,dt){const Oe=Y(Me.key);if(!Oe){or("data-table",`fail to get row data with key ${Me.key}`);return}if(dt){const rt=l.value.findIndex(it=>it.key===U);if(rt!==-1){const it=l.value.findIndex(Ve=>Ve.key===Me.key),Z=Math.min(rt,it),we=Math.max(rt,it),Ie=[];l.value.slice(Z,we+1).forEach(Ve=>{Ve.disabled||Ie.push(Ve.key)}),je?Ce(Ie,!1,Oe):G(Ie,Oe),U=Me.key;return}}je?Ce(Me.key,!1,Oe):G(Me.key,Oe),U=Me.key}function ye(Me){const je=Y(Me.key);if(!je){or("data-table",`fail to get row data with key ${Me.key}`);return}Ce(Me.key,!0,je)}function ge(){if(!R.value){const{value:je}=ke;return je||null}if(x.value)return _e();const{value:Me}=ue;return Me?Me.containerRef:null}function J(Me,je){var dt;if($.value.has(Me))return;const{value:Oe}=o,rt=Oe.indexOf(Me),it=Array.from(Oe);~rt?(it.splice(rt,1),fe(it)):je&&!je.isLeaf&&!je.shallowLoaded?($.value.add(Me),(dt=O.value)===null||dt===void 0||dt.call(O,je.rawNode).then(()=>{const{value:Z}=o,we=Array.from(Z);~we.indexOf(Me)||we.push(Me),fe(we)}).finally(()=>{$.value.delete(Me)})):(it.push(Me),fe(it))}function de(){S.value=null}function _e(){const{value:Me}=re;return Me==null?void 0:Me.listElRef}function te(){const{value:Me}=re;return Me==null?void 0:Me.itemsElRef}function oe(Me){var je;xe(Me),(je=ue.value)===null||je===void 0||je.sync()}function Ee(Me){var je;const{onResize:dt}=e;dt&&dt(Me),(je=ue.value)===null||je===void 0||je.sync()}const De={getScrollContainer:ge,scrollTo(Me,je){var dt,Oe;x.value?(dt=re.value)===null||dt===void 0||dt.scrollTo(Me,je):(Oe=ue.value)===null||Oe===void 0||Oe.scrollTo(Me,je)}},qe=j([({props:Me})=>{const je=Oe=>Oe===null?null:j(`[data-n-id="${Me.componentId}"] [data-col-key="${Oe}"]::after`,{boxShadow:"var(--n-box-shadow-after)"}),dt=Oe=>Oe===null?null:j(`[data-n-id="${Me.componentId}"] [data-col-key="${Oe}"]::before`,{boxShadow:"var(--n-box-shadow-before)"});return j([je(Me.leftActiveFixedColKey),dt(Me.rightActiveFixedColKey),Me.leftActiveFixedChildrenColKeys.map(Oe=>je(Oe)),Me.rightActiveFixedChildrenColKeys.map(Oe=>dt(Oe))])}]);let tt=!1;return un(()=>{const{value:Me}=h,{value:je}=m,{value:dt}=v,{value:Oe}=g;if(!tt&&Me===null&&dt===null)return;const rt={leftActiveFixedColKey:Me,leftActiveFixedChildrenColKeys:je,rightActiveFixedColKey:dt,rightActiveFixedChildrenColKeys:Oe,componentId:w};qe.mount({id:`n-${w}`,force:!0,props:rt,anchorMetaName:xa}),tt=!0}),qs(()=>{qe.unmount({id:`n-${w}`})}),Object.assign({bodyWidth:n,summaryPlacement:M,dataTableSlots:t,componentId:w,scrollbarInstRef:ue,virtualListRef:re,emptyElRef:ke,summary:C,mergedClsPrefix:r,mergedTheme:i,scrollX:a,cols:s,loading:F,bodyShowHeaderOnly:E,shouldDisplaySomeTablePart:R,empty:V,paginatedDataAndInfo:N(()=>{const{value:Me}=q;let je=!1;return{data:l.value.map(Me?(Oe,rt)=>(Oe.isLeaf||(je=!0),{tmNode:Oe,key:Oe.key,striped:rt%2===1,index:rt}):(Oe,rt)=>(Oe.isLeaf||(je=!0),{tmNode:Oe,key:Oe.key,striped:!1,index:rt})),hasChildren:je}}),rawPaginatedData:c,fixedColumnLeftMap:u,fixedColumnRightMap:d,currentPage:f,rowClassName:p,renderExpand:y,mergedExpandedRowKeySet:ie,hoverKey:S,mergedSortState:_,virtualScroll:x,mergedTableLayout:T,childTriggerColIndex:P,indent:k,rowProps:I,maxHeight:A,loadingKeySet:$,expandable:W,stickyExpandedRows:Q,renderExpandIcon:L,scrollbarProps:X,setHeaderScrollLeft:ne,handleVirtualListScroll:oe,handleVirtualListResize:Ee,handleMouseleaveTable:de,virtualListContainer:_e,virtualListContent:te,handleTableBodyScroll:xe,handleCheckboxUpdateChecked:he,handleRadioUpdateChecked:ye,handleUpdateExpanded:J,renderCell:ve},De)},render(){const{mergedTheme:e,scrollX:t,mergedClsPrefix:n,virtualScroll:o,maxHeight:r,mergedTableLayout:i,flexHeight:a,loadingKeySet:s,onResize:l,setHeaderScrollLeft:c}=this,u=t!==void 0||r!==void 0||a,d=!u&&i==="auto",f=t!==void 0||d,p={minWidth:Ut(t)||"100%"};t&&(p.width="100%");const h=b(_o,Object.assign({},this.scrollbarProps,{ref:"scrollbarInstRef",scrollable:u||d,class:`${n}-data-table-base-table-body`,style: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:g,paginatedDataAndInfo:y,mergedTheme:S,fixedColumnLeftMap:C,fixedColumnRightMap:_,currentPage:x,rowClassName:w,mergedSortState:T,mergedExpandedRowKeySet:P,stickyExpandedRows:k,componentId:I,childTriggerColIndex:A,expandable:q,rowProps:F,handleMouseleaveTable:O,renderExpand:$,summary:W,handleCheckboxUpdateChecked:Q,handleRadioUpdateChecked:L,handleUpdateExpanded:M}=this,{length:se}=g;let X;const{data:ne,hasChildren:fe}=y,xe=fe?EU(ne,P):ne;if(W){const R=W(this.rawPaginatedData);if(Array.isArray(R)){const E=R.map((U,ie)=>({isSummaryRow:!0,key:`__n_summary__${ie}`,tmNode:{rawNode:U,disabled:!0},index:-1}));X=this.summaryPlacement==="top"?[...E,...xe]:[...xe,...E]}else{const E={isSummaryRow:!0,key:"__n_summary__",tmNode:{rawNode:R,disabled:!0},index:-1};X=this.summaryPlacement==="top"?[E,...xe]:[...xe,E]}}else X=xe;const Ce=fe?{width:Ln(this.indent)}:void 0,G=[];X.forEach(R=>{$&&P.has(R.key)&&(!q||q(R.tmNode.rawNode))?G.push(R,{isExpandedRow:!0,key:`${R.key}-expand`,tmNode:R.tmNode,index:R.index}):G.push(R)});const{length:ve}=G,ue={};ne.forEach(({tmNode:R},E)=>{ue[E]=R.key});const re=k?this.bodyWidth:null,ke=re===null?void 0:`${re}px`,V=(R,E,U)=>{const{index:ie}=R;if("isExpandedRow"in R){const{tmNode:{key:Ee,rawNode:De}}=R;return b("tr",{class:`${n}-data-table-tr ${n}-data-table-tr--expanded`,key:`${Ee}__expand`},b("td",{class:[`${n}-data-table-td`,`${n}-data-table-td--last-col`,E+1===ve&&`${n}-data-table-td--last-row`],colspan:se},k?b("div",{class:`${n}-data-table-expand`,style:{width:ke}},$(De,ie)):$(De,ie)))}const Y="isSummaryRow"in R,he=!Y&&R.striped,{tmNode:ye,key:ge}=R,{rawNode:J}=ye,de=P.has(ge),_e=F?F(J,ie):void 0,te=typeof w=="string"?w:nU(J,ie,w);return b("tr",Object.assign({onMouseenter:()=>{this.hoverKey=ge},key:ge,class:[`${n}-data-table-tr`,Y&&`${n}-data-table-tr--summary`,he&&`${n}-data-table-tr--striped`,de&&`${n}-data-table-tr--expanded`,te]},_e),g.map((Ee,De)=>{var qe,tt,Me,je,dt;if(E in m){const Wt=m[E],Se=Wt.indexOf(De);if(~Se)return Wt.splice(Se,1),null}const{column:Oe}=Ee,rt=po(Ee),{rowSpan:it,colSpan:Z}=Oe,we=Y?((qe=R.tmNode.rawNode[rt])===null||qe===void 0?void 0:qe.colSpan)||1:Z?Z(J,ie):1,Ie=Y?((tt=R.tmNode.rawNode[rt])===null||tt===void 0?void 0:tt.rowSpan)||1:it?it(J,ie):1,Ve=De+we===se,Xe=E+Ie===ve,Qe=Ie>1;if(Qe&&(v[E]={[De]:[]}),we>1||Qe)for(let Wt=E;Wt{M(ge,R.tmNode)}})]:null,Oe.type==="selection"?Y?null:Oe.multiple===!1?b(RU,{key:x,rowKey:ge,disabled:R.tmNode.disabled,onUpdateChecked:()=>{L(R.tmNode)}}):b(PU,{key:x,rowKey:ge,disabled:R.tmNode.disabled,onUpdateChecked:(Wt,Se)=>{Q(R.tmNode,Wt,Se.shiftKey)}}):Oe.type==="expand"?Y?null:!Oe.expandable||!((dt=Oe.expandable)===null||dt===void 0)&&dt.call(Oe,J)?b(F0,{clsPrefix:n,expanded:de,renderExpandIcon:this.renderExpandIcon,onClick:()=>{M(ge,null)}}):null:b(TU,{clsPrefix:n,index:ie,row:J,column:Oe,isSummary:Y,mergedTheme:S,renderCell:this.renderCell}))}))};return o?b(YC,{ref:"virtualListRef",items:G,itemSize:28,visibleItemsTag:$U,visibleItemsProps:{clsPrefix:n,id:I,cols:g,onMouseleave:O},showScrollbar:!1,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemsStyle:p,itemResizable:!0},{default:({item:R,index:E})=>V(R,E,!0)}):b("table",{class:`${n}-data-table-table`,onMouseleave:O,style:{tableLayout:this.mergedTableLayout}},b("colgroup",null,g.map(R=>b("col",{key:R.key,style:R.style}))),this.showHeader?b(b2,{discrete:!1}):null,this.empty?null:b("tbody",{"data-n-id":I,class:`${n}-data-table-tbody`},G.map((R,E)=>V(R,E,!1))))}});if(this.empty){const m=()=>b("div",{class:[`${n}-data-table-empty`,this.loading&&`${n}-data-table-empty--hide`],style:this.bodyStyle,ref:"emptyElRef"},Pn(this.dataTableSlots.empty,()=>[b(o_,{theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})]));return this.shouldDisplaySomeTablePart?b(et,null,h,m()):b(Ar,{onResize:this.onResize},{default:m})}return h}}),IU=pe({setup(){const{mergedClsPrefixRef:e,rightFixedColumnsRef:t,leftFixedColumnsRef:n,bodyWidthRef:o,maxHeightRef:r,minHeightRef:i,flexHeightRef:a,syncScrollState:s}=He(So),l=B(null),c=B(null),u=B(null),d=B(!(n.value.length||t.value.length)),f=N(()=>({maxHeight:Ut(r.value),minHeight:Ut(i.value)}));function p(g){o.value=g.contentRect.width,s(),d.value||(d.value=!0)}function h(){const{value:g}=l;return g?g.$el:null}function m(){const{value:g}=c;return g?g.getScrollContainer():null}const v={getBodyElement:m,getHeaderElement:h,scrollTo(g,y){var S;(S=c.value)===null||S===void 0||S.scrollTo(g,y)}};return un(()=>{const{value:g}=u;if(!g)return;const y=`${e.value}-data-table-base-table--transition-disabled`;d.value?setTimeout(()=>{g.classList.remove(y)},0):g.classList.add(y)}),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 b("div",{class:`${e}-data-table-base-table`,ref:"selfElRef"},o?null:b(b2,{ref:"headerInstRef"}),b(AU,{ref:"bodyInstRef",bodyStyle:this.bodyStyle,showHeader:o,flexHeight:n,onResize:this.handleBodyResize}))}});function MU(e,t){const{paginatedDataRef:n,treeMateRef:o,selectionColumnRef:r}=t,i=B(e.defaultCheckedRowKeys),a=N(()=>{var _;const{checkedRowKeys:x}=e,w=x===void 0?i.value:x;return((_=r.value)===null||_===void 0?void 0:_.multiple)===!1?{checkedKeys:w.slice(0,1),indeterminateKeys:[]}:o.value.getCheckedKeys(w,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded})}),s=N(()=>a.value.checkedKeys),l=N(()=>a.value.indeterminateKeys),c=N(()=>new Set(s.value)),u=N(()=>new Set(l.value)),d=N(()=>{const{value:_}=c;return n.value.reduce((x,w)=>{const{key:T,disabled:P}=w;return x+(!P&&_.has(T)?1:0)},0)}),f=N(()=>n.value.filter(_=>_.disabled).length),p=N(()=>{const{length:_}=n.value,{value:x}=u;return d.value>0&&d.value<_-f.value||n.value.some(w=>x.has(w.key))}),h=N(()=>{const{length:_}=n.value;return d.value!==0&&d.value===_-f.value}),m=N(()=>n.value.length===0);function v(_,x,w){const{"onUpdate:checkedRowKeys":T,onUpdateCheckedRowKeys:P,onCheckedRowKeysChange:k}=e,I=[],{value:{getNode:A}}=o;_.forEach(q=>{var F;const O=(F=A(q))===null||F===void 0?void 0:F.rawNode;I.push(O)}),T&&Re(T,_,I,{row:x,action:w}),P&&Re(P,_,I,{row:x,action:w}),k&&Re(k,_,I,{row:x,action:w}),i.value=_}function g(_,x=!1,w){if(!e.loading){if(x){v(Array.isArray(_)?_.slice(0,1):[_],w,"check");return}v(o.value.check(_,s.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,w,"check")}}function y(_,x){e.loading||v(o.value.uncheck(_,s.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,x,"uncheck")}function S(_=!1){const{value:x}=r;if(!x||e.loading)return;const w=[];(_?o.value.treeNodes:n.value).forEach(T=>{T.disabled||w.push(T.key)}),v(o.value.check(w,s.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"checkAll")}function C(_=!1){const{value:x}=r;if(!x||e.loading)return;const w=[];(_?o.value.treeNodes:n.value).forEach(T=>{T.disabled||w.push(T.key)}),v(o.value.uncheck(w,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:S,doUncheckAll:C,doCheck:g,doUncheck:y}}function Ll(e){return typeof e=="object"&&typeof e.multiple=="number"?e.multiple:!1}function zU(e,t){return t&&(e===void 0||e==="default"||typeof e=="object"&&e.compare==="default")?OU(t):typeof e=="function"?e:e&&typeof e=="object"&&e.compare&&e.compare!=="default"?e.compare:!1}function OU(e){return(t,n)=>{const o=t[e],r=n[e];return typeof o=="number"&&typeof r=="number"?o-r:typeof o=="string"&&typeof r=="string"?o.localeCompare(r):0}}function DU(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=B(o),i=N(()=>{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=N(()=>{const p=i.value.slice().sort((h,m)=>{const v=Ll(h.sorter)||0;return(Ll(m.sorter)||0)-v});return p.length?n.value.slice().sort((m,v)=>{let g=0;return p.some(y=>{const{columnKey:S,sorter:C,order:_}=y,x=zU(C,S);return x&&_&&(g=x(m.rawNode,v.rawNode),g!==0)?(g=g*JV(_),!0):!1}),g}):n.value});function s(p){let h=i.value.slice();return p&&Ll(p.sorter)!==!1?(h=h.filter(m=>Ll(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&&Re(h,p),m&&Re(m,p),v&&Re(v,p),r.value=p}function u(p,h="ascend"){if(!p)d();else{const m=t.value.find(g=>g.type!=="selection"&&g.type!=="expand"&&g.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 LU(e,{dataRelatedColsRef:t}){const n=N(()=>{const M=se=>{for(let X=0;X{const{childrenKey:M}=e;return nl(e.data,{ignoreEmptyChildren:!0,getKey:e.rowKey,getChildren:se=>se[M],getDisabled:se=>{var X,ne;return!!(!((ne=(X=n.value)===null||X===void 0?void 0:X.disabled)===null||ne===void 0)&&ne.call(X,se))}})}),r=wt(()=>{const{columns:M}=e,{length:se}=M;let X=null;for(let ne=0;ne{const M=t.value.filter(ne=>ne.filterOptionValues!==void 0||ne.filterOptionValue!==void 0),se={};return M.forEach(ne=>{var fe;ne.type==="selection"||ne.type==="expand"||(ne.filterOptionValues===void 0?se[ne.key]=(fe=ne.filterOptionValue)!==null&&fe!==void 0?fe:null:se[ne.key]=ne.filterOptionValues)}),Object.assign(z0(i.value),se)}),c=N(()=>{const M=l.value,{columns:se}=e;function X(xe){return(Ce,G)=>!!~String(G[xe]).indexOf(String(Ce))}const{value:{treeNodes:ne}}=o,fe=[];return se.forEach(xe=>{xe.type==="selection"||xe.type==="expand"||"children"in xe||fe.push([xe.key,xe])}),ne?ne.filter(xe=>{const{rawNode:Ce}=xe;for(const[G,ve]of fe){let ue=M[G];if(ue==null||(Array.isArray(ue)||(ue=[ue]),!ue.length))continue;const re=ve.filter==="default"?X(G):ve.filter;if(ve&&typeof re=="function")if(ve.filterMode==="and"){if(ue.some(ke=>!re(ke,Ce)))return!1}else{if(ue.some(ke=>re(ke,Ce)))continue;return!1}}return!0}):[]}),{sortedDataRef:u,deriveNextSorter:d,mergedSortStateRef:f,sort:p,clearSorter:h}=DU(e,{dataRelatedColsRef:t,filteredDataRef:c});t.value.forEach(M=>{var se;if(M.filter){const X=M.defaultFilterOptionValues;M.filterMultiple?i.value[M.key]=X||[]:X!==void 0?i.value[M.key]=X===null?[]:X:i.value[M.key]=(se=M.defaultFilterOptionValue)!==null&&se!==void 0?se:null}});const m=N(()=>{const{pagination:M}=e;if(M!==!1)return M.page}),v=N(()=>{const{pagination:M}=e;if(M!==!1)return M.pageSize}),g=rn(m,a),y=rn(v,s),S=wt(()=>{const M=g.value;return e.remote?M:Math.max(1,Math.min(Math.ceil(c.value.length/y.value),M))}),C=N(()=>{const{pagination:M}=e;if(M){const{pageCount:se}=M;if(se!==void 0)return se}}),_=N(()=>{if(e.remote)return o.value.treeNodes;if(!e.pagination)return u.value;const M=y.value,se=(S.value-1)*M;return u.value.slice(se,se+M)}),x=N(()=>_.value.map(M=>M.rawNode));function w(M){const{pagination:se}=e;if(se){const{onChange:X,"onUpdate:page":ne,onUpdatePage:fe}=se;X&&Re(X,M),fe&&Re(fe,M),ne&&Re(ne,M),I(M)}}function T(M){const{pagination:se}=e;if(se){const{onPageSizeChange:X,"onUpdate:pageSize":ne,onUpdatePageSize:fe}=se;X&&Re(X,M),fe&&Re(fe,M),ne&&Re(ne,M),A(M)}}const P=N(()=>{if(e.remote){const{pagination:M}=e;if(M){const{itemCount:se}=M;if(se!==void 0)return se}return}return c.value.length}),k=N(()=>Object.assign(Object.assign({},e.pagination),{onChange:void 0,onUpdatePage:void 0,onUpdatePageSize:void 0,onPageSizeChange:void 0,"onUpdate:page":w,"onUpdate:pageSize":T,page:S.value,pageSize:y.value,pageCount:P.value===void 0?C.value:void 0,itemCount:P.value}));function I(M){const{"onUpdate:page":se,onPageChange:X,onUpdatePage:ne}=e;ne&&Re(ne,M),se&&Re(se,M),X&&Re(X,M),a.value=M}function A(M){const{"onUpdate:pageSize":se,onPageSizeChange:X,onUpdatePageSize:ne}=e;X&&Re(X,M),ne&&Re(ne,M),se&&Re(se,M),s.value=M}function q(M,se){const{onUpdateFilters:X,"onUpdate:filters":ne,onFiltersChange:fe}=e;X&&Re(X,M,se),ne&&Re(ne,M,se),fe&&Re(fe,M,se),i.value=M}function F(M,se,X,ne){var fe;(fe=e.onUnstableColumnResize)===null||fe===void 0||fe.call(e,M,se,X,ne)}function O(M){I(M)}function $(){W()}function W(){Q({})}function Q(M){L(M)}function L(M){M?M&&(i.value=z0(M)):i.value={}}return{treeMateRef:o,mergedCurrentPageRef:S,mergedPaginationRef:k,paginatedDataRef:_,rawPaginatedDataRef:x,mergedFilterStateRef:l,mergedSortStateRef:f,hoverKeyRef:B(null),selectionColumnRef:n,childTriggerColIndexRef:r,doUpdateFilters:q,deriveNextSorter:d,doUpdatePageSize:A,doUpdatePage:I,onUnstableColumnResize:F,filter:L,filters:Q,clearFilter:$,clearFilters:W,clearSorter:h,page:O,sort:p}}function FU(e,{mainTableInstRef:t,mergedCurrentPageRef:n,bodyWidthRef:o}){let r=0;const i=B(),a=B(null),s=B([]),l=B(null),c=B([]),u=N(()=>Ut(e.scrollX)),d=N(()=>e.columns.filter(P=>P.fixed==="left")),f=N(()=>e.columns.filter(P=>P.fixed==="right")),p=N(()=>{const P={};let k=0;function I(A){A.forEach(q=>{const F={start:k,end:0};P[po(q)]=F,"children"in q?(I(q.children),F.end=k):(k+=M0(q)||0,F.end=k)})}return I(d.value),P}),h=N(()=>{const P={};let k=0;function I(A){for(let q=A.length-1;q>=0;--q){const F=A[q],O={start:k,end:0};P[po(F)]=O,"children"in F?(I(F.children),O.end=k):(k+=M0(F)||0,O.end=k)}}return I(f.value),P});function m(){var P,k;const{value:I}=d;let A=0;const{value:q}=p;let F=null;for(let O=0;O(((P=q[$])===null||P===void 0?void 0:P.start)||0)-A)F=$,A=((k=q[$])===null||k===void 0?void 0:k.end)||0;else break}a.value=F}function v(){s.value=[];let P=e.columns.find(k=>po(k)===a.value);for(;P&&"children"in P;){const k=P.children.length;if(k===0)break;const I=P.children[k-1];s.value.push(po(I)),P=I}}function g(){var P,k;const{value:I}=f,A=Number(e.scrollX),{value:q}=o;if(q===null)return;let F=0,O=null;const{value:$}=h;for(let W=I.length-1;W>=0;--W){const Q=po(I[W]);if(Math.round(r+(((P=$[Q])===null||P===void 0?void 0:P.start)||0)+q-F)po(k)===l.value);for(;P&&"children"in P&&P.children.length;){const k=P.children[0];c.value.push(po(k)),P=k}}function S(){const P=t.value?t.value.getHeaderElement():null,k=t.value?t.value.getBodyElement():null;return{header:P,body:k}}function C(){const{body:P}=S();P&&(P.scrollTop=0)}function _(){i.value!=="body"?bc(w):i.value=void 0}function x(P){var k;(k=e.onScroll)===null||k===void 0||k.call(e,P),i.value!=="head"?bc(w):i.value=void 0}function w(){const{header:P,body:k}=S();if(!k)return;const{value:I}=o;if(I!==null){if(e.maxHeight||e.flexHeight){if(!P)return;const A=r-P.scrollLeft;i.value=A!==0?"head":"body",i.value==="head"?(r=P.scrollLeft,k.scrollLeft=r):(r=k.scrollLeft,P.scrollLeft=r)}else r=k.scrollLeft;m(),v(),g(),y()}}function T(P){const{header:k}=S();k&&(k.scrollLeft=P,w())}return ht(n,()=>{C()}),{styleScrollXRef:u,fixedColumnLeftMapRef:p,fixedColumnRightMapRef:h,leftFixedColumnsRef:d,rightFixedColumnsRef:f,leftActiveFixedColKeyRef:a,leftActiveFixedChildrenColKeysRef:s,rightActiveFixedColKeyRef:l,rightActiveFixedChildrenColKeysRef:c,syncScrollState:w,handleTableBodyScroll:x,handleTableHeaderScroll:_,setHeaderScrollLeft:T}}function NU(){const e=B({});function t(r){return e.value[r]}function n(r,i){c2(r)&&"key"in r&&(e.value[r.key]=i)}function o(){e.value={}}return{getResizableWidth:t,doUpdateResizableWidth:n,clearResizableWidth:o}}function BU(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:po(h),style:tU(h,m!==void 0?Ut(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 g;if("children"in m){const y=u,S={column:m,colSpan:0,rowSpan:1,isLast:!1};d(m.children,p+1),m.children.forEach(C=>{var _,x;S.colSpan+=(x=(_=i.get(C))===null||_===void 0?void 0:_.colSpan)!==null&&x!==void 0?x:0}),y+S.colSpan===s&&(S.isLast=!0),i.set(m,S),n[p].push(S)}else{if(u1&&(h=u+y);const S=u+y===s,C={column:m,colSpan:y,rowSpan:a-p+1,isLast:S};i.set(m,C),n[p].push(C),u+=1}})}return d(e,0),{hasEllipsis:l,rows:n,cols:o,dataRelatedCols:r}}function HU(e,t){const n=N(()=>BU(e.columns,t));return{rowsRef:N(()=>n.value.rows),colsRef:N(()=>n.value.cols),hasEllipsisRef:N(()=>n.value.hasEllipsis),dataRelatedColsRef:N(()=>n.value.dataRelatedCols)}}function jU(e,t){const n=wt(()=>{for(const c of e.columns)if(c.type==="expand")return c.renderExpand}),o=wt(()=>{let c;for(const u of e.columns)if(u.type==="expand"){c=u.expandable;break}return c}),r=B(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=Ne(e,"expandedRowKeys"),a=Ne(e,"stickyExpandedRows"),s=rn(i,r);function l(c){const{onUpdateExpandedRowKeys:u,"onUpdate:expandedRowKeys":d}=e;u&&Re(u,c),d&&Re(d,c),r.value=c}return{stickyExpandedRowsRef:a,mergedExpandedRowKeysRef:s,renderExpandRef:n,expandableRef:o,doUpdateExpandedRowKeys:l}}const N0=UU(),VU=j([z("data-table",` + `)])]),CU={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]},wU=Object.keys(Ca),_U=Object.assign(Object.assign(Object.assign({},Ca),CU),Fe.props),am=pe({name:"Dropdown",inheritAttrs:!1,props:_U,setup(e){const t=N(!1),n=rn(Ne(e,"show"),t),o=L(()=>{const{keyField:I,childrenField:W}=e;return nl(e.options,{getKey(B){return B[I]},getDisabled(B){return B.disabled===!0},getIgnored(B){return B.type==="divider"||B.type==="render"},getChildren(B){return B[W]}})}),r=L(()=>o.value.treeNodes),i=N(null),a=N(null),s=N(null),l=L(()=>{var I,W,B;return(B=(W=(I=i.value)!==null&&I!==void 0?I:a.value)!==null&&W!==void 0?W:s.value)!==null&&B!==void 0?B:null}),c=L(()=>o.value.getPath(l.value).keyPath),u=L(()=>o.value.getPath(e.value).keyPath),d=wt(()=>e.keyboard&&n.value);x6({keydown:{ArrowUp:{prevent:!0,handler:_},ArrowRight:{prevent:!0,handler:C},ArrowDown:{prevent:!0,handler:x},ArrowLeft:{prevent:!0,handler:S},Enter:{prevent:!0,handler:w},Escape:y}},d);const{mergedClsPrefixRef:f,inlineThemeDisabled:p}=ct(e),h=Fe("Dropdown","-dropdown",xU,nm,e,f);lt(Ru,{labelFieldRef:Ne(e,"labelField"),childrenFieldRef:Ne(e,"childrenField"),renderLabelRef:Ne(e,"renderLabel"),renderIconRef:Ne(e,"renderIcon"),hoverKeyRef:i,keyboardKeyRef:a,lastToggledSubmenuKeyRef:s,pendingKeyPathRef:c,activeKeyPathRef:u,animatedRef:Ne(e,"animated"),mergedShowRef:n,nodePropsRef:Ne(e,"nodeProps"),renderOptionRef:Ne(e,"renderOption"),menuPropsRef:Ne(e,"menuProps"),doSelect:m,doUpdateShow:v}),ht(n,I=>{!e.animated&&!I&&g()});function m(I,W){const{onSelect:B}=e;B&&Re(B,I,W)}function v(I){const{"onUpdate:show":W,onUpdateShow:B}=e;W&&Re(W,I),B&&Re(B,I),t.value=I}function g(){i.value=null,a.value=null,s.value=null}function y(){v(!1)}function S(){P("left")}function C(){P("right")}function _(){P("up")}function x(){P("down")}function w(){const I=T();I!=null&&I.isLeaf&&n.value&&(m(I.key,I.rawNode),v(!1))}function T(){var I;const{value:W}=o,{value:B}=l;return!W||B===null?null:(I=W.getNode(B))!==null&&I!==void 0?I:null}function P(I){const{value:W}=l,{value:{getFirstAvailableNode:B}}=o;let z=null;if(W===null){const $=B();$!==null&&(z=$.key)}else{const $=T();if($){let j;switch(I){case"down":j=$.getNext();break;case"up":j=$.getPrev();break;case"right":j=$.getChild();break;case"left":j=$.getParent();break}j&&(z=j.key)}}z!==null&&(i.value=null,a.value=z)}const k=L(()=>{const{size:I,inverted:W}=e,{common:{cubicBezierEaseInOut:B},self:z}=h.value,{padding:$,dividerColor:j,borderRadius:X,optionOpacityDisabled:F,[Pe("optionIconSuffixWidth",I)]:M,[Pe("optionSuffixWidth",I)]:se,[Pe("optionIconPrefixWidth",I)]:Q,[Pe("optionPrefixWidth",I)]:ne,[Pe("fontSize",I)]:fe,[Pe("optionHeight",I)]:xe,[Pe("optionIconSize",I)]:Ce}=z,G={"--n-bezier":B,"--n-font-size":fe,"--n-padding":$,"--n-border-radius":X,"--n-option-height":xe,"--n-option-prefix-width":ne,"--n-option-icon-prefix-width":Q,"--n-option-suffix-width":se,"--n-option-icon-suffix-width":M,"--n-option-icon-size":Ce,"--n-divider-color":j,"--n-option-opacity-disabled":F};return W?(G["--n-color"]=z.colorInverted,G["--n-option-color-hover"]=z.optionColorHoverInverted,G["--n-option-color-active"]=z.optionColorActiveInverted,G["--n-option-text-color"]=z.optionTextColorInverted,G["--n-option-text-color-hover"]=z.optionTextColorHoverInverted,G["--n-option-text-color-active"]=z.optionTextColorActiveInverted,G["--n-option-text-color-child-active"]=z.optionTextColorChildActiveInverted,G["--n-prefix-color"]=z.prefixColorInverted,G["--n-suffix-color"]=z.suffixColorInverted,G["--n-group-header-text-color"]=z.groupHeaderTextColorInverted):(G["--n-color"]=z.color,G["--n-option-color-hover"]=z.optionColorHover,G["--n-option-color-active"]=z.optionColorActive,G["--n-option-text-color"]=z.optionTextColor,G["--n-option-text-color-hover"]=z.optionTextColorHover,G["--n-option-text-color-active"]=z.optionTextColorActive,G["--n-option-text-color-child-active"]=z.optionTextColorChildActive,G["--n-prefix-color"]=z.prefixColor,G["--n-suffix-color"]=z.suffixColor,G["--n-group-header-text-color"]=z.groupHeaderTextColor),G}),A=p?Rt("dropdown",L(()=>`${e.size[0]}${e.inverted?"i":""}`),k,e):void 0;return{mergedClsPrefix:f,mergedTheme:h,tmNodes:r,mergedShow:n,handleAfterLeave:()=>{e.animated&&g()},doUpdateShow:v,cssVars:p?void 0:k,themeClass:A==null?void 0:A.themeClass,onRender:A==null?void 0:A.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:SC(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 b(g2,Mn(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 b(rl,Object.assign({},Kn(this.$props,wU),n),{trigger:()=>{var o,r;return(r=(o=this.$slots).default)===null||r===void 0?void 0:r.call(o)}})}}),v2="_n_all__",b2="_n_none__";function SU(e,t,n,o){return e?r=>{for(const i of e)switch(r){case v2:n(!0);return;case b2:o(!0);return;default:if(typeof i=="object"&&i.key===r){i.onSelect(t.value);return}}}:()=>{}}function kU(e,t){return e?e.map(n=>{switch(n){case"all":return{label:t.checkTableAll,key:v2};case"none":return{label:t.uncheckTableAll,key:b2};default:return n}}):[]}const TU=pe({name:"DataTableSelectionMenu",props:{clsPrefix:{type:String,required:!0}},setup(e){const{props:t,localeRef:n,checkOptionsRef:o,rawPaginatedDataRef:r,doCheckAll:i,doUncheckAll:a}=He(So),s=L(()=>SU(o.value,r,i,a)),l=L(()=>kU(o.value,n.value));return()=>{var c,u,d,f;const{clsPrefix:p}=e;return b(am,{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:()=>b(Bt,{clsPrefix:p,class:`${p}-data-table-check-extra`},{default:()=>b(Zw,null)})})}}});function Nd(e){return typeof e.title=="function"?e.title(e):e.title}const y2=pe({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:g,deriveNextSorter:y,doUncheckAll:S,doCheckAll:C}=He(So),_=N({});function x(I){const W=_.value[I];return W==null?void 0:W.getBoundingClientRect().width}function w(){i.value?S():C()}function T(I,W){if(nr(I,"dataTableFilter")||nr(I,"dataTableResizable")||!Fd(W))return;const B=d.value.find($=>$.columnKey===W.key)||null,z=rU(W,B);y(z)}const P=new Map;function k(I){P.set(I.key,x(I.key))}function A(I,W){const B=P.get(I.key);if(B===void 0)return;const z=B+W,$=tU(z,I.minWidth,I.maxWidth);m(z,$,I,x),v(I,$)}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:w,handleColHeaderClick:T,handleTableHeaderScroll:g,handleColumnResizeStart:k,handleColumnResize:A}},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:g,handleColumnResizeStart:y,handleColumnResize:S}=this,C=b("thead",{class:`${t}-data-table-thead`,"data-n-id":d},s.map(w=>b("tr",{class:`${t}-data-table-tr`},w.map(({column:T,colSpan:P,rowSpan:k,isLast:A})=>{var I,W;const B=po(T),{ellipsis:z}=T,$=()=>T.type==="selection"?T.multiple!==!1?b(et,null,b(Su,{key:r,privateInsideTable:!0,checked:i,indeterminate:a,disabled:h,onUpdateChecked:g}),u?b(TU,{clsPrefix:t}):null):null:b(et,null,b("div",{class:`${t}-data-table-th__title-wrapper`},b("div",{class:`${t}-data-table-th__title`},z===!0||z&&!z.tooltip?b("div",{class:`${t}-data-table-th__ellipsis`},Nd(T)):z&&typeof z=="object"?b(rm,Object.assign({},z,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>Nd(T)}):Nd(T)),Fd(T)?b(WV,{column:T}):null),D0(T)?b(sU,{column:T,options:T.filterOptions}):null,u2(T)?b(lU,{onResizeStart:()=>{y(T)},onResize:F=>{S(T,F)}}):null),j=B in n,X=B in o;return b("th",{ref:F=>e[B]=F,key:B,style:{textAlign:T.titleAlign||T.align,left:Ln((I=n[B])===null||I===void 0?void 0:I.start),right:Ln((W=o[B])===null||W===void 0?void 0:W.start)},colspan:P,rowspan:k,"data-col-key":B,class:[`${t}-data-table-th`,(j||X)&&`${t}-data-table-th--fixed-${j?"left":"right"}`,{[`${t}-data-table-th--hover`]:d2(T,m),[`${t}-data-table-th--filterable`]:D0(T),[`${t}-data-table-th--sortable`]:Fd(T),[`${t}-data-table-th--selection`]:T.type==="selection",[`${t}-data-table-th--last`]:A},T.className],onClick:T.type!=="selection"&&T.type!=="expand"&&!("children"in T)?F=>{v(F,T)}:void 0},$())}))));if(!f)return C;const{handleTableHeaderScroll:_,scrollX:x}=this;return b("div",{class:`${t}-data-table-base-table-header`,onScroll:_},b("table",{ref:"body",class:`${t}-data-table-table`,style:{minWidth:Ut(x),tableLayout:p}},b("colgroup",null,l.map(w=>b("col",{key:w.key,style:w.style}))),C))}}),PU=pe({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(){const{isSummary:e,column:t,row:n,renderCell:o}=this;let r;const{render:i,key:a,ellipsis:s}=t;if(i&&!e?r=i(n,this.index):e?r=n[a].value:r=o?o(ih(n,a),n,t):ih(n,a),s)if(typeof s=="object"){const{mergedTheme:l}=this;return t.ellipsisComponent==="performant-ellipsis"?b(jV,Object.assign({},s,{theme:l.peers.Ellipsis,themeOverrides:l.peerOverrides.Ellipsis}),{default:()=>r}):b(rm,Object.assign({},s,{theme:l.peers.Ellipsis,themeOverrides:l.peerOverrides.Ellipsis}),{default:()=>r})}else return b("span",{class:`${this.clsPrefix}-data-table-td__ellipsis`},r);return r}}),N0=pe({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 b("div",{class:[`${e}-data-table-expand-trigger`,this.expanded&&`${e}-data-table-expand-trigger--expanded`],onClick:this.onClick,onMousedown:t=>{t.preventDefault()}},b(Ai,null,{default:()=>this.loading?b(Mi,{key:"loading",clsPrefix:this.clsPrefix,radius:85,strokeWidth:15,scale:.88}):this.renderExpandIcon?this.renderExpandIcon({expanded:this.expanded}):b(Bt,{clsPrefix:e,key:"base-icon"},{default:()=>b(Up,null)})}))}}),RU=pe({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}=He(So);return()=>{const{rowKey:o}=e;return b(Su,{privateInsideTable:!0,disabled:e.disabled,indeterminate:n.value.has(o),checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}}),EU=pe({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}=He(So);return()=>{const{rowKey:o}=e;return b(a2,{name:n,disabled:e.disabled,checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}});function $U(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 AU=pe({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 b("table",{style:{tableLayout:"fixed"},class:`${e}-data-table-table`,onMouseenter:o,onMouseleave:r},b("colgroup",null,n.map(i=>b("col",{key:i.key,style:i.style}))),b("tbody",{"data-n-id":t,class:`${e}-data-table-tbody`},this.$slots))}}),IU=pe({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:g,renderExpandRef:y,hoverKeyRef:S,summaryRef:C,mergedSortStateRef:_,virtualScrollRef:x,componentId:w,mergedTableLayoutRef:T,childTriggerColIndexRef:P,indentRef:k,rowPropsRef:A,maxHeightRef:I,stripedRef:W,loadingRef:B,onLoadRef:z,loadingKeySetRef:$,expandableRef:j,stickyExpandedRowsRef:X,renderExpandIconRef:F,summaryPlacementRef:M,treeMateRef:se,scrollbarPropsRef:Q,setHeaderScrollLeft:ne,doUpdateExpandedRowKeys:fe,handleTableBodyScroll:xe,doCheck:Ce,doUncheck:G,renderCell:ve}=He(So),ue=N(null),re=N(null),ke=N(null),U=wt(()=>l.value.length===0),R=wt(()=>e.showHeader||!U.value),E=wt(()=>e.showHeader||U.value);let q="";const ie=L(()=>new Set(o.value));function Y(Me){var je;return(je=se.value.getNode(Me))===null||je===void 0?void 0:je.rawNode}function he(Me,je,dt){const Oe=Y(Me.key);if(!Oe){or("data-table",`fail to get row data with key ${Me.key}`);return}if(dt){const rt=l.value.findIndex(it=>it.key===q);if(rt!==-1){const it=l.value.findIndex(Ve=>Ve.key===Me.key),Z=Math.min(rt,it),we=Math.max(rt,it),Ie=[];l.value.slice(Z,we+1).forEach(Ve=>{Ve.disabled||Ie.push(Ve.key)}),je?Ce(Ie,!1,Oe):G(Ie,Oe),q=Me.key;return}}je?Ce(Me.key,!1,Oe):G(Me.key,Oe),q=Me.key}function ye(Me){const je=Y(Me.key);if(!je){or("data-table",`fail to get row data with key ${Me.key}`);return}Ce(Me.key,!0,je)}function ge(){if(!R.value){const{value:je}=ke;return je||null}if(x.value)return _e();const{value:Me}=ue;return Me?Me.containerRef:null}function J(Me,je){var dt;if($.value.has(Me))return;const{value:Oe}=o,rt=Oe.indexOf(Me),it=Array.from(Oe);~rt?(it.splice(rt,1),fe(it)):je&&!je.isLeaf&&!je.shallowLoaded?($.value.add(Me),(dt=z.value)===null||dt===void 0||dt.call(z,je.rawNode).then(()=>{const{value:Z}=o,we=Array.from(Z);~we.indexOf(Me)||we.push(Me),fe(we)}).finally(()=>{$.value.delete(Me)})):(it.push(Me),fe(it))}function de(){S.value=null}function _e(){const{value:Me}=re;return Me==null?void 0:Me.listElRef}function te(){const{value:Me}=re;return Me==null?void 0:Me.itemsElRef}function oe(Me){var je;xe(Me),(je=ue.value)===null||je===void 0||je.sync()}function Ee(Me){var je;const{onResize:dt}=e;dt&&dt(Me),(je=ue.value)===null||je===void 0||je.sync()}const De={getScrollContainer:ge,scrollTo(Me,je){var dt,Oe;x.value?(dt=re.value)===null||dt===void 0||dt.scrollTo(Me,je):(Oe=ue.value)===null||Oe===void 0||Oe.scrollTo(Me,je)}},qe=V([({props:Me})=>{const je=Oe=>Oe===null?null:V(`[data-n-id="${Me.componentId}"] [data-col-key="${Oe}"]::after`,{boxShadow:"var(--n-box-shadow-after)"}),dt=Oe=>Oe===null?null:V(`[data-n-id="${Me.componentId}"] [data-col-key="${Oe}"]::before`,{boxShadow:"var(--n-box-shadow-before)"});return V([je(Me.leftActiveFixedColKey),dt(Me.rightActiveFixedColKey),Me.leftActiveFixedChildrenColKeys.map(Oe=>je(Oe)),Me.rightActiveFixedChildrenColKeys.map(Oe=>dt(Oe))])}]);let tt=!1;return un(()=>{const{value:Me}=h,{value:je}=m,{value:dt}=v,{value:Oe}=g;if(!tt&&Me===null&&dt===null)return;const rt={leftActiveFixedColKey:Me,leftActiveFixedChildrenColKeys:je,rightActiveFixedColKey:dt,rightActiveFixedChildrenColKeys:Oe,componentId:w};qe.mount({id:`n-${w}`,force:!0,props:rt,anchorMetaName:xa}),tt=!0}),qs(()=>{qe.unmount({id:`n-${w}`})}),Object.assign({bodyWidth:n,summaryPlacement:M,dataTableSlots:t,componentId:w,scrollbarInstRef:ue,virtualListRef:re,emptyElRef:ke,summary:C,mergedClsPrefix:r,mergedTheme:i,scrollX:a,cols:s,loading:B,bodyShowHeaderOnly:E,shouldDisplaySomeTablePart:R,empty:U,paginatedDataAndInfo:L(()=>{const{value:Me}=W;let je=!1;return{data:l.value.map(Me?(Oe,rt)=>(Oe.isLeaf||(je=!0),{tmNode:Oe,key:Oe.key,striped:rt%2===1,index:rt}):(Oe,rt)=>(Oe.isLeaf||(je=!0),{tmNode:Oe,key:Oe.key,striped:!1,index:rt})),hasChildren:je}}),rawPaginatedData:c,fixedColumnLeftMap:u,fixedColumnRightMap:d,currentPage:f,rowClassName:p,renderExpand:y,mergedExpandedRowKeySet:ie,hoverKey:S,mergedSortState:_,virtualScroll:x,mergedTableLayout:T,childTriggerColIndex:P,indent:k,rowProps:A,maxHeight:I,loadingKeySet:$,expandable:j,stickyExpandedRows:X,renderExpandIcon:F,scrollbarProps:Q,setHeaderScrollLeft:ne,handleVirtualListScroll:oe,handleVirtualListResize:Ee,handleMouseleaveTable:de,virtualListContainer:_e,virtualListContent:te,handleTableBodyScroll:xe,handleCheckboxUpdateChecked:he,handleRadioUpdateChecked:ye,handleUpdateExpanded:J,renderCell:ve},De)},render(){const{mergedTheme:e,scrollX:t,mergedClsPrefix:n,virtualScroll:o,maxHeight:r,mergedTableLayout:i,flexHeight:a,loadingKeySet:s,onResize:l,setHeaderScrollLeft:c}=this,u=t!==void 0||r!==void 0||a,d=!u&&i==="auto",f=t!==void 0||d,p={minWidth:Ut(t)||"100%"};t&&(p.width="100%");const h=b(_o,Object.assign({},this.scrollbarProps,{ref:"scrollbarInstRef",scrollable:u||d,class:`${n}-data-table-base-table-body`,style: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:g,paginatedDataAndInfo:y,mergedTheme:S,fixedColumnLeftMap:C,fixedColumnRightMap:_,currentPage:x,rowClassName:w,mergedSortState:T,mergedExpandedRowKeySet:P,stickyExpandedRows:k,componentId:A,childTriggerColIndex:I,expandable:W,rowProps:B,handleMouseleaveTable:z,renderExpand:$,summary:j,handleCheckboxUpdateChecked:X,handleRadioUpdateChecked:F,handleUpdateExpanded:M}=this,{length:se}=g;let Q;const{data:ne,hasChildren:fe}=y,xe=fe?$U(ne,P):ne;if(j){const R=j(this.rawPaginatedData);if(Array.isArray(R)){const E=R.map((q,ie)=>({isSummaryRow:!0,key:`__n_summary__${ie}`,tmNode:{rawNode:q,disabled:!0},index:-1}));Q=this.summaryPlacement==="top"?[...E,...xe]:[...xe,...E]}else{const E={isSummaryRow:!0,key:"__n_summary__",tmNode:{rawNode:R,disabled:!0},index:-1};Q=this.summaryPlacement==="top"?[E,...xe]:[...xe,E]}}else Q=xe;const Ce=fe?{width:Ln(this.indent)}:void 0,G=[];Q.forEach(R=>{$&&P.has(R.key)&&(!W||W(R.tmNode.rawNode))?G.push(R,{isExpandedRow:!0,key:`${R.key}-expand`,tmNode:R.tmNode,index:R.index}):G.push(R)});const{length:ve}=G,ue={};ne.forEach(({tmNode:R},E)=>{ue[E]=R.key});const re=k?this.bodyWidth:null,ke=re===null?void 0:`${re}px`,U=(R,E,q)=>{const{index:ie}=R;if("isExpandedRow"in R){const{tmNode:{key:Ee,rawNode:De}}=R;return b("tr",{class:`${n}-data-table-tr ${n}-data-table-tr--expanded`,key:`${Ee}__expand`},b("td",{class:[`${n}-data-table-td`,`${n}-data-table-td--last-col`,E+1===ve&&`${n}-data-table-td--last-row`],colspan:se},k?b("div",{class:`${n}-data-table-expand`,style:{width:ke}},$(De,ie)):$(De,ie)))}const Y="isSummaryRow"in R,he=!Y&&R.striped,{tmNode:ye,key:ge}=R,{rawNode:J}=ye,de=P.has(ge),_e=B?B(J,ie):void 0,te=typeof w=="string"?w:oU(J,ie,w);return b("tr",Object.assign({onMouseenter:()=>{this.hoverKey=ge},key:ge,class:[`${n}-data-table-tr`,Y&&`${n}-data-table-tr--summary`,he&&`${n}-data-table-tr--striped`,de&&`${n}-data-table-tr--expanded`,te]},_e),g.map((Ee,De)=>{var qe,tt,Me,je,dt;if(E in m){const Wt=m[E],Se=Wt.indexOf(De);if(~Se)return Wt.splice(Se,1),null}const{column:Oe}=Ee,rt=po(Ee),{rowSpan:it,colSpan:Z}=Oe,we=Y?((qe=R.tmNode.rawNode[rt])===null||qe===void 0?void 0:qe.colSpan)||1:Z?Z(J,ie):1,Ie=Y?((tt=R.tmNode.rawNode[rt])===null||tt===void 0?void 0:tt.rowSpan)||1:it?it(J,ie):1,Ve=De+we===se,Xe=E+Ie===ve,Qe=Ie>1;if(Qe&&(v[E]={[De]:[]}),we>1||Qe)for(let Wt=E;Wt{M(ge,R.tmNode)}})]:null,Oe.type==="selection"?Y?null:Oe.multiple===!1?b(EU,{key:x,rowKey:ge,disabled:R.tmNode.disabled,onUpdateChecked:()=>{F(R.tmNode)}}):b(RU,{key:x,rowKey:ge,disabled:R.tmNode.disabled,onUpdateChecked:(Wt,Se)=>{X(R.tmNode,Wt,Se.shiftKey)}}):Oe.type==="expand"?Y?null:!Oe.expandable||!((dt=Oe.expandable)===null||dt===void 0)&&dt.call(Oe,J)?b(N0,{clsPrefix:n,expanded:de,renderExpandIcon:this.renderExpandIcon,onClick:()=>{M(ge,null)}}):null:b(PU,{clsPrefix:n,index:ie,row:J,column:Oe,isSummary:Y,mergedTheme:S,renderCell:this.renderCell}))}))};return o?b(XC,{ref:"virtualListRef",items:G,itemSize:28,visibleItemsTag:AU,visibleItemsProps:{clsPrefix:n,id:A,cols:g,onMouseleave:z},showScrollbar:!1,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemsStyle:p,itemResizable:!0},{default:({item:R,index:E})=>U(R,E,!0)}):b("table",{class:`${n}-data-table-table`,onMouseleave:z,style:{tableLayout:this.mergedTableLayout}},b("colgroup",null,g.map(R=>b("col",{key:R.key,style:R.style}))),this.showHeader?b(y2,{discrete:!1}):null,this.empty?null:b("tbody",{"data-n-id":A,class:`${n}-data-table-tbody`},G.map((R,E)=>U(R,E,!1))))}});if(this.empty){const m=()=>b("div",{class:[`${n}-data-table-empty`,this.loading&&`${n}-data-table-empty--hide`],style:this.bodyStyle,ref:"emptyElRef"},Pn(this.dataTableSlots.empty,()=>[b(r_,{theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})]));return this.shouldDisplaySomeTablePart?b(et,null,h,m()):b(Ar,{onResize:this.onResize},{default:m})}return h}}),MU=pe({setup(){const{mergedClsPrefixRef:e,rightFixedColumnsRef:t,leftFixedColumnsRef:n,bodyWidthRef:o,maxHeightRef:r,minHeightRef:i,flexHeightRef:a,syncScrollState:s}=He(So),l=N(null),c=N(null),u=N(null),d=N(!(n.value.length||t.value.length)),f=L(()=>({maxHeight:Ut(r.value),minHeight:Ut(i.value)}));function p(g){o.value=g.contentRect.width,s(),d.value||(d.value=!0)}function h(){const{value:g}=l;return g?g.$el:null}function m(){const{value:g}=c;return g?g.getScrollContainer():null}const v={getBodyElement:m,getHeaderElement:h,scrollTo(g,y){var S;(S=c.value)===null||S===void 0||S.scrollTo(g,y)}};return un(()=>{const{value:g}=u;if(!g)return;const y=`${e.value}-data-table-base-table--transition-disabled`;d.value?setTimeout(()=>{g.classList.remove(y)},0):g.classList.add(y)}),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 b("div",{class:`${e}-data-table-base-table`,ref:"selfElRef"},o?null:b(y2,{ref:"headerInstRef"}),b(IU,{ref:"bodyInstRef",bodyStyle:this.bodyStyle,showHeader:o,flexHeight:n,onResize:this.handleBodyResize}))}});function zU(e,t){const{paginatedDataRef:n,treeMateRef:o,selectionColumnRef:r}=t,i=N(e.defaultCheckedRowKeys),a=L(()=>{var _;const{checkedRowKeys:x}=e,w=x===void 0?i.value:x;return((_=r.value)===null||_===void 0?void 0:_.multiple)===!1?{checkedKeys:w.slice(0,1),indeterminateKeys:[]}:o.value.getCheckedKeys(w,{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,w)=>{const{key:T,disabled:P}=w;return x+(!P&&_.has(T)?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(w=>x.has(w.key))}),h=L(()=>{const{length:_}=n.value;return d.value!==0&&d.value===_-f.value}),m=L(()=>n.value.length===0);function v(_,x,w){const{"onUpdate:checkedRowKeys":T,onUpdateCheckedRowKeys:P,onCheckedRowKeysChange:k}=e,A=[],{value:{getNode:I}}=o;_.forEach(W=>{var B;const z=(B=I(W))===null||B===void 0?void 0:B.rawNode;A.push(z)}),T&&Re(T,_,A,{row:x,action:w}),P&&Re(P,_,A,{row:x,action:w}),k&&Re(k,_,A,{row:x,action:w}),i.value=_}function g(_,x=!1,w){if(!e.loading){if(x){v(Array.isArray(_)?_.slice(0,1):[_],w,"check");return}v(o.value.check(_,s.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,w,"check")}}function y(_,x){e.loading||v(o.value.uncheck(_,s.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,x,"uncheck")}function S(_=!1){const{value:x}=r;if(!x||e.loading)return;const w=[];(_?o.value.treeNodes:n.value).forEach(T=>{T.disabled||w.push(T.key)}),v(o.value.check(w,s.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"checkAll")}function C(_=!1){const{value:x}=r;if(!x||e.loading)return;const w=[];(_?o.value.treeNodes:n.value).forEach(T=>{T.disabled||w.push(T.key)}),v(o.value.uncheck(w,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:S,doUncheckAll:C,doCheck:g,doUncheck:y}}function Ll(e){return typeof e=="object"&&typeof e.multiple=="number"?e.multiple:!1}function OU(e,t){return t&&(e===void 0||e==="default"||typeof e=="object"&&e.compare==="default")?DU(t):typeof e=="function"?e:e&&typeof e=="object"&&e.compare&&e.compare!=="default"?e.compare:!1}function DU(e){return(t,n)=>{const o=t[e],r=n[e];return typeof o=="number"&&typeof r=="number"?o-r:typeof o=="string"&&typeof r=="string"?o.localeCompare(r):0}}function LU(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=N(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=Ll(h.sorter)||0;return(Ll(m.sorter)||0)-v});return p.length?n.value.slice().sort((m,v)=>{let g=0;return p.some(y=>{const{columnKey:S,sorter:C,order:_}=y,x=OU(C,S);return x&&_&&(g=x(m.rawNode,v.rawNode),g!==0)?(g=g*eU(_),!0):!1}),g}):n.value});function s(p){let h=i.value.slice();return p&&Ll(p.sorter)!==!1?(h=h.filter(m=>Ll(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&&Re(h,p),m&&Re(m,p),v&&Re(v,p),r.value=p}function u(p,h="ascend"){if(!p)d();else{const m=t.value.find(g=>g.type!=="selection"&&g.type!=="expand"&&g.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 FU(e,{dataRelatedColsRef:t}){const n=L(()=>{const M=se=>{for(let Q=0;Q{const{childrenKey:M}=e;return nl(e.data,{ignoreEmptyChildren:!0,getKey:e.rowKey,getChildren:se=>se[M],getDisabled:se=>{var Q,ne;return!!(!((ne=(Q=n.value)===null||Q===void 0?void 0:Q.disabled)===null||ne===void 0)&&ne.call(Q,se))}})}),r=wt(()=>{const{columns:M}=e,{length:se}=M;let Q=null;for(let ne=0;ne{const M=t.value.filter(ne=>ne.filterOptionValues!==void 0||ne.filterOptionValue!==void 0),se={};return M.forEach(ne=>{var fe;ne.type==="selection"||ne.type==="expand"||(ne.filterOptionValues===void 0?se[ne.key]=(fe=ne.filterOptionValue)!==null&&fe!==void 0?fe:null:se[ne.key]=ne.filterOptionValues)}),Object.assign(O0(i.value),se)}),c=L(()=>{const M=l.value,{columns:se}=e;function Q(xe){return(Ce,G)=>!!~String(G[xe]).indexOf(String(Ce))}const{value:{treeNodes:ne}}=o,fe=[];return se.forEach(xe=>{xe.type==="selection"||xe.type==="expand"||"children"in xe||fe.push([xe.key,xe])}),ne?ne.filter(xe=>{const{rawNode:Ce}=xe;for(const[G,ve]of fe){let ue=M[G];if(ue==null||(Array.isArray(ue)||(ue=[ue]),!ue.length))continue;const re=ve.filter==="default"?Q(G):ve.filter;if(ve&&typeof re=="function")if(ve.filterMode==="and"){if(ue.some(ke=>!re(ke,Ce)))return!1}else{if(ue.some(ke=>re(ke,Ce)))continue;return!1}}return!0}):[]}),{sortedDataRef:u,deriveNextSorter:d,mergedSortStateRef:f,sort:p,clearSorter:h}=LU(e,{dataRelatedColsRef:t,filteredDataRef:c});t.value.forEach(M=>{var se;if(M.filter){const Q=M.defaultFilterOptionValues;M.filterMultiple?i.value[M.key]=Q||[]:Q!==void 0?i.value[M.key]=Q===null?[]:Q:i.value[M.key]=(se=M.defaultFilterOptionValue)!==null&&se!==void 0?se:null}});const m=L(()=>{const{pagination:M}=e;if(M!==!1)return M.page}),v=L(()=>{const{pagination:M}=e;if(M!==!1)return M.pageSize}),g=rn(m,a),y=rn(v,s),S=wt(()=>{const M=g.value;return e.remote?M:Math.max(1,Math.min(Math.ceil(c.value.length/y.value),M))}),C=L(()=>{const{pagination:M}=e;if(M){const{pageCount:se}=M;if(se!==void 0)return se}}),_=L(()=>{if(e.remote)return o.value.treeNodes;if(!e.pagination)return u.value;const M=y.value,se=(S.value-1)*M;return u.value.slice(se,se+M)}),x=L(()=>_.value.map(M=>M.rawNode));function w(M){const{pagination:se}=e;if(se){const{onChange:Q,"onUpdate:page":ne,onUpdatePage:fe}=se;Q&&Re(Q,M),fe&&Re(fe,M),ne&&Re(ne,M),A(M)}}function T(M){const{pagination:se}=e;if(se){const{onPageSizeChange:Q,"onUpdate:pageSize":ne,onUpdatePageSize:fe}=se;Q&&Re(Q,M),fe&&Re(fe,M),ne&&Re(ne,M),I(M)}}const P=L(()=>{if(e.remote){const{pagination:M}=e;if(M){const{itemCount:se}=M;if(se!==void 0)return se}return}return c.value.length}),k=L(()=>Object.assign(Object.assign({},e.pagination),{onChange:void 0,onUpdatePage:void 0,onUpdatePageSize:void 0,onPageSizeChange:void 0,"onUpdate:page":w,"onUpdate:pageSize":T,page:S.value,pageSize:y.value,pageCount:P.value===void 0?C.value:void 0,itemCount:P.value}));function A(M){const{"onUpdate:page":se,onPageChange:Q,onUpdatePage:ne}=e;ne&&Re(ne,M),se&&Re(se,M),Q&&Re(Q,M),a.value=M}function I(M){const{"onUpdate:pageSize":se,onPageSizeChange:Q,onUpdatePageSize:ne}=e;Q&&Re(Q,M),ne&&Re(ne,M),se&&Re(se,M),s.value=M}function W(M,se){const{onUpdateFilters:Q,"onUpdate:filters":ne,onFiltersChange:fe}=e;Q&&Re(Q,M,se),ne&&Re(ne,M,se),fe&&Re(fe,M,se),i.value=M}function B(M,se,Q,ne){var fe;(fe=e.onUnstableColumnResize)===null||fe===void 0||fe.call(e,M,se,Q,ne)}function z(M){A(M)}function $(){j()}function j(){X({})}function X(M){F(M)}function F(M){M?M&&(i.value=O0(M)):i.value={}}return{treeMateRef:o,mergedCurrentPageRef:S,mergedPaginationRef:k,paginatedDataRef:_,rawPaginatedDataRef:x,mergedFilterStateRef:l,mergedSortStateRef:f,hoverKeyRef:N(null),selectionColumnRef:n,childTriggerColIndexRef:r,doUpdateFilters:W,deriveNextSorter:d,doUpdatePageSize:I,doUpdatePage:A,onUnstableColumnResize:B,filter:F,filters:X,clearFilter:$,clearFilters:j,clearSorter:h,page:z,sort:p}}function NU(e,{mainTableInstRef:t,mergedCurrentPageRef:n,bodyWidthRef:o}){let r=0;const i=N(),a=N(null),s=N([]),l=N(null),c=N([]),u=L(()=>Ut(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 k=0;function A(I){I.forEach(W=>{const B={start:k,end:0};P[po(W)]=B,"children"in W?(A(W.children),B.end=k):(k+=z0(W)||0,B.end=k)})}return A(d.value),P}),h=L(()=>{const P={};let k=0;function A(I){for(let W=I.length-1;W>=0;--W){const B=I[W],z={start:k,end:0};P[po(B)]=z,"children"in B?(A(B.children),z.end=k):(k+=z0(B)||0,z.end=k)}}return A(f.value),P});function m(){var P,k;const{value:A}=d;let I=0;const{value:W}=p;let B=null;for(let z=0;z(((P=W[$])===null||P===void 0?void 0:P.start)||0)-I)B=$,I=((k=W[$])===null||k===void 0?void 0:k.end)||0;else break}a.value=B}function v(){s.value=[];let P=e.columns.find(k=>po(k)===a.value);for(;P&&"children"in P;){const k=P.children.length;if(k===0)break;const A=P.children[k-1];s.value.push(po(A)),P=A}}function g(){var P,k;const{value:A}=f,I=Number(e.scrollX),{value:W}=o;if(W===null)return;let B=0,z=null;const{value:$}=h;for(let j=A.length-1;j>=0;--j){const X=po(A[j]);if(Math.round(r+(((P=$[X])===null||P===void 0?void 0:P.start)||0)+W-B)po(k)===l.value);for(;P&&"children"in P&&P.children.length;){const k=P.children[0];c.value.push(po(k)),P=k}}function S(){const P=t.value?t.value.getHeaderElement():null,k=t.value?t.value.getBodyElement():null;return{header:P,body:k}}function C(){const{body:P}=S();P&&(P.scrollTop=0)}function _(){i.value!=="body"?bc(w):i.value=void 0}function x(P){var k;(k=e.onScroll)===null||k===void 0||k.call(e,P),i.value!=="head"?bc(w):i.value=void 0}function w(){const{header:P,body:k}=S();if(!k)return;const{value:A}=o;if(A!==null){if(e.maxHeight||e.flexHeight){if(!P)return;const I=r-P.scrollLeft;i.value=I!==0?"head":"body",i.value==="head"?(r=P.scrollLeft,k.scrollLeft=r):(r=k.scrollLeft,P.scrollLeft=r)}else r=k.scrollLeft;m(),v(),g(),y()}}function T(P){const{header:k}=S();k&&(k.scrollLeft=P,w())}return ht(n,()=>{C()}),{styleScrollXRef:u,fixedColumnLeftMapRef:p,fixedColumnRightMapRef:h,leftFixedColumnsRef:d,rightFixedColumnsRef:f,leftActiveFixedColKeyRef:a,leftActiveFixedChildrenColKeysRef:s,rightActiveFixedColKeyRef:l,rightActiveFixedChildrenColKeysRef:c,syncScrollState:w,handleTableBodyScroll:x,handleTableHeaderScroll:_,setHeaderScrollLeft:T}}function BU(){const e=N({});function t(r){return e.value[r]}function n(r,i){u2(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:po(h),style:nU(h,m!==void 0?Ut(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 g;if("children"in m){const y=u,S={column:m,colSpan:0,rowSpan:1,isLast:!1};d(m.children,p+1),m.children.forEach(C=>{var _,x;S.colSpan+=(x=(_=i.get(C))===null||_===void 0?void 0:_.colSpan)!==null&&x!==void 0?x:0}),y+S.colSpan===s&&(S.isLast=!0),i.set(m,S),n[p].push(S)}else{if(u1&&(h=u+y);const S=u+y===s,C={column:m,colSpan:y,rowSpan:a-p+1,isLast:S};i.set(m,C),n[p].push(C),u+=1}})}return d(e,0),{hasEllipsis:l,rows:n,cols:o,dataRelatedCols:r}}function jU(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 VU(e,t){const n=wt(()=>{for(const c of e.columns)if(c.type==="expand")return c.renderExpand}),o=wt(()=>{let c;for(const u of e.columns)if(u.type==="expand"){c=u.expandable;break}return c}),r=N(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=Ne(e,"expandedRowKeys"),a=Ne(e,"stickyExpandedRows"),s=rn(i,r);function l(c){const{onUpdateExpandedRowKeys:u,"onUpdate:expandedRowKeys":d}=e;u&&Re(u,c),d&&Re(d,c),r.value=c}return{stickyExpandedRowsRef:a,mergedExpandedRowKeysRef:s,renderExpandRef:n,expandableRef:o,doUpdateExpandedRowKeys:l}}const B0=WU(),UU=V([O("data-table",` width: 100%; font-size: var(--n-font-size); display: flex; @@ -2187,15 +2187,15 @@ ${t} --n-merged-th-color-hover: var(--n-th-color-hover); --n-merged-td-color-hover: var(--n-td-color-hover); --n-merged-td-color-striped: var(--n-td-color-striped); - `,[z("data-table-wrapper",` + `,[O("data-table-wrapper",` flex-grow: 1; display: flex; flex-direction: column; - `),K("flex-height",[j(">",[z("data-table-wrapper",[j(">",[z("data-table-base-table",` + `),K("flex-height",[V(">",[O("data-table-wrapper",[V(">",[O("data-table-base-table",` display: flex; flex-direction: column; flex-grow: 1; - `,[j(">",[z("data-table-base-table-body","flex-basis: 0;",[j("&:last-child","flex-grow: 1;")])])])])])])]),j(">",[z("data-table-loading-wrapper",` + `,[V(">",[O("data-table-base-table-body","flex-basis: 0;",[V("&:last-child","flex-grow: 1;")])])])])])])]),V(">",[O("data-table-loading-wrapper",` color: var(--n-loading-color); font-size: var(--n-loading-size); position: absolute; @@ -2206,15 +2206,15 @@ ${t} display: flex; align-items: center; justify-content: center; - `,[Da({originalTransform:"translateX(-50%) translateY(-50%)"})])]),z("data-table-expand-placeholder",` + `,[Da({originalTransform:"translateX(-50%) translateY(-50%)"})])]),O("data-table-expand-placeholder",` margin-right: 8px; display: inline-block; width: 16px; height: 1px; - `),z("data-table-indent",` + `),O("data-table-indent",` display: inline-block; height: 1px; - `),z("data-table-expand-trigger",` + `),O("data-table-expand-trigger",` display: inline-flex; margin-right: 8px; cursor: pointer; @@ -2225,7 +2225,7 @@ ${t} height: 16px; color: var(--n-td-text-color); transition: color .3s var(--n-bezier); - `,[K("expanded",[z("icon","transform: rotate(90deg);",[Un({originalTransform:"rotate(90deg)"})]),z("base-icon","transform: rotate(90deg);",[Un({originalTransform:"rotate(90deg)"})])]),z("base-loading",` + `,[K("expanded",[O("icon","transform: rotate(90deg);",[Un({originalTransform:"rotate(90deg)"})]),O("base-icon","transform: rotate(90deg);",[Un({originalTransform:"rotate(90deg)"})])]),O("base-loading",` color: var(--n-loading-color); transition: color .3s var(--n-bezier); position: absolute; @@ -2233,33 +2233,33 @@ ${t} right: 0; top: 0; bottom: 0; - `,[Un()]),z("icon",` + `,[Un()]),O("icon",` position: absolute; left: 0; right: 0; top: 0; bottom: 0; - `,[Un()]),z("base-icon",` + `,[Un()]),O("base-icon",` position: absolute; left: 0; right: 0; top: 0; bottom: 0; - `,[Un()])]),z("data-table-thead",` + `,[Un()])]),O("data-table-thead",` transition: background-color .3s var(--n-bezier); background-color: var(--n-merged-th-color); - `),z("data-table-tr",` + `),O("data-table-tr",` box-sizing: border-box; background-clip: padding-box; transition: background-color .3s var(--n-bezier); - `,[z("data-table-expand",` + `,[O("data-table-expand",` position: sticky; left: 0; overflow: hidden; margin: calc(var(--n-th-padding) * -1); padding: var(--n-th-padding); box-sizing: border-box; - `),K("striped","background-color: var(--n-merged-td-color-striped);",[z("data-table-td","background-color: var(--n-merged-td-color-striped);")]),Pt("summary",[j("&:hover","background-color: var(--n-merged-td-color-hover);",[j(">",[z("data-table-td","background-color: var(--n-merged-td-color-hover);")])])])]),z("data-table-th",` + `),K("striped","background-color: var(--n-merged-td-color-striped);",[O("data-table-td","background-color: var(--n-merged-td-color-striped);")]),Pt("summary",[V("&:hover","background-color: var(--n-merged-td-color-hover);",[V(">",[O("data-table-td","background-color: var(--n-merged-td-color-hover);")])])])]),O("data-table-th",` padding: var(--n-th-padding); position: relative; text-align: start; @@ -2277,7 +2277,7 @@ ${t} padding-right: 36px; `,[K("sortable",` padding-right: calc(var(--n-th-padding) + 36px); - `)]),N0,K("selection",` + `)]),B0,K("selection",` padding: 0; text-align: center; line-height: 0; @@ -2303,9 +2303,9 @@ ${t} cursor: pointer; `,[D("ellipsis",` max-width: calc(100% - 18px); - `),j("&:hover",` + `),V("&:hover",` background-color: var(--n-merged-th-color-hover); - `)]),z("data-table-sorter",` + `)]),O("data-table-sorter",` height: var(--n-sorter-size); width: var(--n-sorter-size); margin-left: 4px; @@ -2316,13 +2316,13 @@ ${t} vertical-align: -0.2em; color: var(--n-th-icon-color); transition: color .3s var(--n-bezier); - `,[z("base-icon","transition: transform .3s var(--n-bezier)"),K("desc",[z("base-icon",` + `,[O("base-icon","transition: transform .3s var(--n-bezier)"),K("desc",[O("base-icon",` transform: rotate(0deg); - `)]),K("asc",[z("base-icon",` + `)]),K("asc",[O("base-icon",` transform: rotate(-180deg); `)]),K("asc, desc",` color: var(--n-th-icon-color-active); - `)]),z("data-table-resize-button",` + `)]),O("data-table-resize-button",` width: var(--n-resizable-container-size); position: absolute; top: 0; @@ -2330,7 +2330,7 @@ ${t} bottom: 0; cursor: col-resize; user-select: none; - `,[j("&::after",` + `,[V("&::after",` width: var(--n-resizable-size); height: 50%; position: absolute; @@ -2342,11 +2342,11 @@ ${t} transition: background-color .3s var(--n-bezier); z-index: 1; content: ''; - `),K("active",[j("&::after",` + `),K("active",[V("&::after",` background-color: var(--n-th-icon-color-active); - `)]),j("&:hover::after",` + `)]),V("&:hover::after",` background-color: var(--n-th-icon-color-active); - `)]),z("data-table-filter",` + `)]),O("data-table-filter",` position: absolute; z-index: auto; right: 0; @@ -2362,14 +2362,14 @@ ${t} color .3s var(--n-bezier); font-size: var(--n-filter-size); color: var(--n-th-icon-color); - `,[j("&:hover",` + `,[V("&:hover",` background-color: var(--n-th-button-color-hover); `),K("show",` background-color: var(--n-th-button-color-hover); `),K("active",` background-color: var(--n-th-button-color-hover); color: var(--n-th-icon-color-active); - `)])]),z("data-table-td",` + `)])]),O("data-table-td",` padding: var(--n-td-padding); text-align: start; box-sizing: border-box; @@ -2382,13 +2382,13 @@ ${t} background-color .3s var(--n-bezier), border-color .3s var(--n-bezier), color .3s var(--n-bezier); - `,[K("expand",[z("data-table-expand-trigger",` + `,[K("expand",[O("data-table-expand-trigger",` margin-right: 0; `)]),K("last-row",` border-bottom: 0 solid var(--n-merged-border-color); - `,[j("&::after",` + `,[V("&::after",` bottom: 0 !important; - `),j("&::before",` + `),V("&::before",` bottom: 0 !important; `)]),K("summary",` background-color: var(--n-merged-th-color); @@ -2406,7 +2406,7 @@ ${t} text-align: center; padding: 0; line-height: 0; - `),N0]),z("data-table-empty",` + `),B0]),O("data-table-empty",` box-sizing: border-box; padding: var(--n-empty-padding); flex-grow: 1; @@ -2422,36 +2422,36 @@ ${t} margin: var(--n-pagination-margin); display: flex; justify-content: flex-end; - `),z("data-table-wrapper",` + `),O("data-table-wrapper",` position: relative; opacity: 1; transition: opacity .3s var(--n-bezier), border-color .3s var(--n-bezier); border-top-left-radius: var(--n-border-radius); border-top-right-radius: var(--n-border-radius); line-height: var(--n-line-height); - `),K("loading",[z("data-table-wrapper",` + `),K("loading",[O("data-table-wrapper",` opacity: var(--n-opacity-loading); pointer-events: none; - `)]),K("single-column",[z("data-table-td",` + `)]),K("single-column",[O("data-table-td",` border-bottom: 0 solid var(--n-merged-border-color); - `,[j("&::after, &::before",` + `,[V("&::after, &::before",` bottom: 0 !important; - `)])]),Pt("single-line",[z("data-table-th",` + `)])]),Pt("single-line",[O("data-table-th",` border-right: 1px solid var(--n-merged-border-color); `,[K("last",` border-right: 0 solid var(--n-merged-border-color); - `)]),z("data-table-td",` + `)]),O("data-table-td",` border-right: 1px solid var(--n-merged-border-color); `,[K("last-col",` border-right: 0 solid var(--n-merged-border-color); - `)])]),K("bordered",[z("data-table-wrapper",` + `)])]),K("bordered",[O("data-table-wrapper",` border: 1px solid var(--n-merged-border-color); border-bottom-left-radius: var(--n-border-radius); border-bottom-right-radius: var(--n-border-radius); overflow: hidden; - `)]),z("data-table-base-table",[K("transition-disabled",[z("data-table-th",[j("&::after, &::before","transition: none;")]),z("data-table-td",[j("&::after, &::before","transition: none;")])])]),K("bottom-bordered",[z("data-table-td",[K("last-row",` + `)]),O("data-table-base-table",[K("transition-disabled",[O("data-table-th",[V("&::after, &::before","transition: none;")]),O("data-table-td",[V("&::after, &::before","transition: none;")])])]),K("bottom-bordered",[O("data-table-td",[K("last-row",` border-bottom: 1px solid var(--n-merged-border-color); - `)])]),z("data-table-table",` + `)])]),O("data-table-table",` font-variant-numeric: tabular-nums; width: 100%; word-break: break-word; @@ -2459,7 +2459,7 @@ ${t} border-collapse: separate; border-spacing: 0; background-color: var(--n-merged-td-color); - `),z("data-table-base-table-header",` + `),O("data-table-base-table-header",` border-top-left-radius: calc(var(--n-border-radius) - 1px); border-top-right-radius: calc(var(--n-border-radius) - 1px); z-index: 3; @@ -2467,10 +2467,10 @@ ${t} flex-shrink: 0; transition: border-color .3s var(--n-bezier); scrollbar-width: none; - `,[j("&::-webkit-scrollbar",` + `,[V("&::-webkit-scrollbar",` width: 0; height: 0; - `)]),z("data-table-check-extra",` + `)]),O("data-table-check-extra",` transition: color .3s var(--n-bezier); color: var(--n-th-icon-color); position: absolute; @@ -2479,16 +2479,16 @@ ${t} top: 50%; transform: translateY(-50%); z-index: 1; - `)]),z("data-table-filter-menu",[z("scrollbar",` + `)]),O("data-table-filter-menu",[O("scrollbar",` max-height: 240px; `),D("group",` display: flex; flex-direction: column; padding: 12px 12px 0 12px; - `,[z("checkbox",` + `,[O("checkbox",` margin-bottom: 12px; margin-right: 0; - `),z("radio",` + `),O("radio",` margin-bottom: 12px; margin-right: 0; `)]),D("action",` @@ -2497,31 +2497,31 @@ ${t} flex-wrap: nowrap; justify-content: space-evenly; border-top: 1px solid var(--n-action-divider-color); - `,[z("button",[j("&:not(:last-child)",` + `,[O("button",[V("&:not(:last-child)",` margin: var(--n-action-button-margin); - `),j("&:last-child",` + `),V("&:last-child",` margin-right: 0; - `)])]),z("divider",` + `)])]),O("divider",` margin: 0 !important; - `)]),Qs(z("data-table",` + `)]),Qs(O("data-table",` --n-merged-th-color: var(--n-th-color-modal); --n-merged-td-color: var(--n-td-color-modal); --n-merged-border-color: var(--n-border-color-modal); --n-merged-th-color-hover: var(--n-th-color-hover-modal); --n-merged-td-color-hover: var(--n-td-color-hover-modal); --n-merged-td-color-striped: var(--n-td-color-striped-modal); - `)),fu(z("data-table",` + `)),fu(O("data-table",` --n-merged-th-color: var(--n-th-color-popover); --n-merged-td-color: var(--n-td-color-popover); --n-merged-border-color: var(--n-border-color-popover); --n-merged-th-color-hover: var(--n-th-color-hover-popover); --n-merged-td-color-hover: var(--n-td-color-hover-popover); --n-merged-td-color-striped: var(--n-td-color-striped-popover); - `))]);function UU(){return[K("fixed-left",` + `))]);function WU(){return[K("fixed-left",` left: 0; position: sticky; z-index: 2; - `,[j("&::after",` + `,[V("&::after",` pointer-events: none; content: ""; width: 36px; @@ -2535,7 +2535,7 @@ ${t} right: 0; position: sticky; z-index: 1; - `,[j("&::before",` + `,[V("&::before",` pointer-events: none; content: ""; width: 36px; @@ -2545,7 +2545,7 @@ ${t} bottom: -1px; transition: box-shadow .2s var(--n-bezier); left: -36px; - `)])]}const Eu=pe({name:"DataTable",alias:["AdvancedTable"],props:VV,setup(e,{slots:t}){const{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r}=ct(e),i=N(()=>{const{bottomBordered:Oe}=e;return n.value?!1:Oe!==void 0?Oe:!0}),a=Fe("DataTable","-data-table",VU,LV,e,o),s=B(null),l=B(null),{getResizableWidth:c,clearResizableWidth:u,doUpdateResizableWidth:d}=NU(),{rowsRef:f,colsRef:p,dataRelatedColsRef:h,hasEllipsisRef:m}=HU(e,c),{treeMateRef:v,mergedCurrentPageRef:g,paginatedDataRef:y,rawPaginatedDataRef:S,selectionColumnRef:C,hoverKeyRef:_,mergedPaginationRef:x,mergedFilterStateRef:w,mergedSortStateRef:T,childTriggerColIndexRef:P,doUpdatePage:k,doUpdateFilters:I,onUnstableColumnResize:A,deriveNextSorter:q,filter:F,filters:O,clearFilter:$,clearFilters:W,clearSorter:Q,page:L,sort:M}=LU(e,{dataRelatedColsRef:h}),{doCheckAll:se,doUncheckAll:X,doCheck:ne,doUncheck:fe,headerCheckboxDisabledRef:xe,someRowsCheckedRef:Ce,allRowsCheckedRef:G,mergedCheckedRowKeySetRef:ve,mergedInderminateRowKeySetRef:ue}=MU(e,{selectionColumnRef:C,treeMateRef:v,paginatedDataRef:y}),{stickyExpandedRowsRef:re,mergedExpandedRowKeysRef:ke,renderExpandRef:V,expandableRef:R,doUpdateExpandedRowKeys:E}=jU(e,v),{handleTableBodyScroll:U,handleTableHeaderScroll:ie,syncScrollState:Y,setHeaderScrollLeft:he,leftActiveFixedColKeyRef:ye,leftActiveFixedChildrenColKeysRef:ge,rightActiveFixedColKeyRef:J,rightActiveFixedChildrenColKeysRef:de,leftFixedColumnsRef:_e,rightFixedColumnsRef:te,fixedColumnLeftMapRef:oe,fixedColumnRightMapRef:Ee}=FU(e,{bodyWidthRef:s,mainTableInstRef:l,mergedCurrentPageRef:g}),{localeRef:De}=Pi("DataTable"),qe=N(()=>e.virtualScroll||e.flexHeight||e.maxHeight!==void 0||m.value?"fixed":e.tableLayout);lt(So,{props:e,treeMateRef:v,renderExpandIconRef:Ne(e,"renderExpandIcon"),loadingKeySetRef:B(new Set),slots:t,indentRef:Ne(e,"indent"),childTriggerColIndexRef:P,bodyWidthRef:s,componentId:Ia(),hoverKeyRef:_,mergedClsPrefixRef:o,mergedThemeRef:a,scrollXRef:N(()=>e.scrollX),rowsRef:f,colsRef:p,paginatedDataRef:y,leftActiveFixedColKeyRef:ye,leftActiveFixedChildrenColKeysRef:ge,rightActiveFixedColKeyRef:J,rightActiveFixedChildrenColKeysRef:de,leftFixedColumnsRef:_e,rightFixedColumnsRef:te,fixedColumnLeftMapRef:oe,fixedColumnRightMapRef:Ee,mergedCurrentPageRef:g,someRowsCheckedRef:Ce,allRowsCheckedRef:G,mergedSortStateRef:T,mergedFilterStateRef:w,loadingRef:Ne(e,"loading"),rowClassNameRef:Ne(e,"rowClassName"),mergedCheckedRowKeySetRef:ve,mergedExpandedRowKeysRef:ke,mergedInderminateRowKeySetRef:ue,localeRef:De,expandableRef:R,stickyExpandedRowsRef:re,rowKeyRef:Ne(e,"rowKey"),renderExpandRef:V,summaryRef:Ne(e,"summary"),virtualScrollRef:Ne(e,"virtualScroll"),rowPropsRef:Ne(e,"rowProps"),stripedRef:Ne(e,"striped"),checkOptionsRef:N(()=>{const{value:Oe}=C;return Oe==null?void 0:Oe.options}),rawPaginatedDataRef:S,filterMenuCssVarsRef:N(()=>{const{self:{actionDividerColor:Oe,actionPadding:rt,actionButtonMargin:it}}=a.value;return{"--n-action-padding":rt,"--n-action-button-margin":it,"--n-action-divider-color":Oe}}),onLoadRef:Ne(e,"onLoad"),mergedTableLayoutRef:qe,maxHeightRef:Ne(e,"maxHeight"),minHeightRef:Ne(e,"minHeight"),flexHeightRef:Ne(e,"flexHeight"),headerCheckboxDisabledRef:xe,paginationBehaviorOnFilterRef:Ne(e,"paginationBehaviorOnFilter"),summaryPlacementRef:Ne(e,"summaryPlacement"),scrollbarPropsRef:Ne(e,"scrollbarProps"),syncScrollState:Y,doUpdatePage:k,doUpdateFilters:I,getResizableWidth:c,onUnstableColumnResize:A,clearResizableWidth:u,doUpdateResizableWidth:d,deriveNextSorter:q,doCheck:ne,doUncheck:fe,doCheckAll:se,doUncheckAll:X,doUpdateExpandedRowKeys:E,handleTableHeaderScroll:ie,handleTableBodyScroll:U,setHeaderScrollLeft:he,renderCell:Ne(e,"renderCell")});const tt={filter:F,filters:O,clearFilters:W,clearSorter:Q,page:L,sort:M,clearFilter:$,scrollTo:(Oe,rt)=>{var it;(it=l.value)===null||it===void 0||it.scrollTo(Oe,rt)}},Me=N(()=>{const{size:Oe}=e,{common:{cubicBezierEaseInOut:rt},self:{borderColor:it,tdColorHover:Z,thColor:we,thColorHover:Ie,tdColor:Ve,tdTextColor:Xe,thTextColor:Qe,thFontWeight:nt,thButtonColorHover:ot,thIconColor:kt,thIconColorActive:sn,filterSize:Wt,borderRadius:Se,lineHeight:Le,tdColorModal:Ze,thColorModal:pt,borderColorModal:gt,thColorHoverModal:at,tdColorHoverModal:ae,borderColorPopover:Te,thColorPopover:Ke,tdColorPopover:It,tdColorHoverPopover:Kt,thColorHoverPopover:Lt,paginationMargin:uo,emptyPadding:fo,boxShadowAfter:ho,boxShadowBefore:Wo,sorterSize:qo,resizableContainerSize:Hr,resizableSize:Va,loadingColor:Ua,loadingSize:Wu,opacityLoading:qu,tdColorStriped:Ku,tdColorStripedModal:Gu,tdColorStripedPopover:Yu,[Pe("fontSize",Oe)]:Xu,[Pe("thPadding",Oe)]:Qu,[Pe("tdPadding",Oe)]:Zu}}=a.value;return{"--n-font-size":Xu,"--n-th-padding":Qu,"--n-td-padding":Zu,"--n-bezier":rt,"--n-border-radius":Se,"--n-line-height":Le,"--n-border-color":it,"--n-border-color-modal":gt,"--n-border-color-popover":Te,"--n-th-color":we,"--n-th-color-hover":Ie,"--n-th-color-modal":pt,"--n-th-color-hover-modal":at,"--n-th-color-popover":Ke,"--n-th-color-hover-popover":Lt,"--n-td-color":Ve,"--n-td-color-hover":Z,"--n-td-color-modal":Ze,"--n-td-color-hover-modal":ae,"--n-td-color-popover":It,"--n-td-color-hover-popover":Kt,"--n-th-text-color":Qe,"--n-td-text-color":Xe,"--n-th-font-weight":nt,"--n-th-button-color-hover":ot,"--n-th-icon-color":kt,"--n-th-icon-color-active":sn,"--n-filter-size":Wt,"--n-pagination-margin":uo,"--n-empty-padding":fo,"--n-box-shadow-before":Wo,"--n-box-shadow-after":ho,"--n-sorter-size":qo,"--n-resizable-container-size":Hr,"--n-resizable-size":Va,"--n-loading-size":Wu,"--n-loading-color":Ua,"--n-opacity-loading":qu,"--n-td-color-striped":Ku,"--n-td-color-striped-modal":Gu,"--n-td-color-striped-popover":Yu}}),je=r?Rt("data-table",N(()=>e.size[0]),Me,e):void 0,dt=N(()=>{if(!e.pagination)return!1;if(e.paginateSinglePage)return!0;const Oe=x.value,{pageCount:rt}=Oe;return rt!==void 0?rt>1:Oe.itemCount&&Oe.pageSize&&Oe.itemCount>Oe.pageSize});return Object.assign({mainTableInstRef:l,mergedClsPrefix:o,mergedTheme:a,paginatedData:y,mergedBordered:n,mergedBottomBordered:i,mergedPagination:x,mergedShowPagination:dt,cssVars:r?void 0:Me,themeClass:je==null?void 0:je.themeClass,onRender:je==null?void 0:je.onRender},tt)},render(){const{mergedClsPrefix:e,themeClass:t,onRender:n,$slots:o,spinProps:r}=this;return n==null||n(),b("div",{class:[`${e}-data-table`,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},b("div",{class:`${e}-data-table-wrapper`},b(IU,{ref:"mainTableInstRef"})),this.mergedShowPagination?b("div",{class:`${e}-data-table__pagination`},b(_V,Object.assign({theme:this.mergedTheme.peers.Pagination,themeOverrides:this.mergedTheme.peerOverrides.Pagination,disabled:this.loading},this.mergedPagination))):null,b(fn,{name:"fade-in-scale-up-transition"},{default:()=>this.loading?b("div",{class:`${e}-data-table-loading-wrapper`},Pn(o.loading,()=>[b(Mi,Object.assign({clsPrefix:e,strokeWidth:20},r))])):null}))}}),WU={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"},qU=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({},WU),{panelColor:t,panelBoxShadow:s,panelDividerColor:i,itemTextColor:n,itemTextColorActive:o,itemColorHover:r,itemOpacityDisabled:a,itemBorderRadius:l,borderRadius:l,iconColor:c,iconColorDisabled:u})},KU={name:"TimePicker",common:Be,peers:{Scrollbar:Bn,Button:Hn,Input:lo},self:qU},y2=KU,GU={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",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"},YU=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({},GU),{itemFontSize:n,calendarDaysFontSize:n,calendarTitleFontSize:n,itemTextColor:o,itemTextColorDisabled:r,itemTextColorActive:i,itemTextColorCurrent:a,itemColorIncluded:Ae(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})},XU={name:"DatePicker",common:Be,peers:{Input:lo,Button:Hn,TimePicker:y2,Scrollbar:Bn},self(e){const{popoverColor:t,hoverColor:n,primaryColor:o}=e,r=YU(e);return r.itemColorDisabled=Ye(t,n),r.itemColorIncluded=Ae(o,{alpha:.15}),r.itemColorHover=Ye(t,n),r}},QU=XU,ZU={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"},JU=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({},ZU),{lineHeight:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:p,titleTextColor:o,thColor:Ye(r,t),thColorModal:Ye(i,t),thColorPopover:Ye(a,t),thTextColor:o,thFontWeight:c,tdTextColor:n,tdColor:r,tdColorModal:i,tdColorPopover:a,borderColor:Ye(r,s),borderColorModal:Ye(i,s),borderColorPopover:Ye(a,s),borderRadius:l})},eW={name:"Descriptions",common:Be,self:JU},tW=eW,nW={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"},x2=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:g,fontSize:y}=e;return Object.assign(Object.assign({},nW),{fontSize:y,lineHeight:g,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})},oW={name:"Dialog",common:yt,peers:{Button:_u},self:x2},C2=oW,rW={name:"Dialog",common:Be,peers:{Button:Hn},self:x2},w2=rW,$u={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},_2=Lr($u),iW=j([z("dialog",` + `)])]}const Eu=pe({name:"DataTable",alias:["AdvancedTable"],props:UV,setup(e,{slots:t}){const{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r}=ct(e),i=L(()=>{const{bottomBordered:Oe}=e;return n.value?!1:Oe!==void 0?Oe:!0}),a=Fe("DataTable","-data-table",UU,FV,e,o),s=N(null),l=N(null),{getResizableWidth:c,clearResizableWidth:u,doUpdateResizableWidth:d}=BU(),{rowsRef:f,colsRef:p,dataRelatedColsRef:h,hasEllipsisRef:m}=jU(e,c),{treeMateRef:v,mergedCurrentPageRef:g,paginatedDataRef:y,rawPaginatedDataRef:S,selectionColumnRef:C,hoverKeyRef:_,mergedPaginationRef:x,mergedFilterStateRef:w,mergedSortStateRef:T,childTriggerColIndexRef:P,doUpdatePage:k,doUpdateFilters:A,onUnstableColumnResize:I,deriveNextSorter:W,filter:B,filters:z,clearFilter:$,clearFilters:j,clearSorter:X,page:F,sort:M}=FU(e,{dataRelatedColsRef:h}),{doCheckAll:se,doUncheckAll:Q,doCheck:ne,doUncheck:fe,headerCheckboxDisabledRef:xe,someRowsCheckedRef:Ce,allRowsCheckedRef:G,mergedCheckedRowKeySetRef:ve,mergedInderminateRowKeySetRef:ue}=zU(e,{selectionColumnRef:C,treeMateRef:v,paginatedDataRef:y}),{stickyExpandedRowsRef:re,mergedExpandedRowKeysRef:ke,renderExpandRef:U,expandableRef:R,doUpdateExpandedRowKeys:E}=VU(e,v),{handleTableBodyScroll:q,handleTableHeaderScroll:ie,syncScrollState:Y,setHeaderScrollLeft:he,leftActiveFixedColKeyRef:ye,leftActiveFixedChildrenColKeysRef:ge,rightActiveFixedColKeyRef:J,rightActiveFixedChildrenColKeysRef:de,leftFixedColumnsRef:_e,rightFixedColumnsRef:te,fixedColumnLeftMapRef:oe,fixedColumnRightMapRef:Ee}=NU(e,{bodyWidthRef:s,mainTableInstRef:l,mergedCurrentPageRef:g}),{localeRef:De}=Pi("DataTable"),qe=L(()=>e.virtualScroll||e.flexHeight||e.maxHeight!==void 0||m.value?"fixed":e.tableLayout);lt(So,{props:e,treeMateRef:v,renderExpandIconRef:Ne(e,"renderExpandIcon"),loadingKeySetRef:N(new Set),slots:t,indentRef:Ne(e,"indent"),childTriggerColIndexRef:P,bodyWidthRef:s,componentId:Ia(),hoverKeyRef:_,mergedClsPrefixRef:o,mergedThemeRef:a,scrollXRef:L(()=>e.scrollX),rowsRef:f,colsRef:p,paginatedDataRef:y,leftActiveFixedColKeyRef:ye,leftActiveFixedChildrenColKeysRef:ge,rightActiveFixedColKeyRef:J,rightActiveFixedChildrenColKeysRef:de,leftFixedColumnsRef:_e,rightFixedColumnsRef:te,fixedColumnLeftMapRef:oe,fixedColumnRightMapRef:Ee,mergedCurrentPageRef:g,someRowsCheckedRef:Ce,allRowsCheckedRef:G,mergedSortStateRef:T,mergedFilterStateRef:w,loadingRef:Ne(e,"loading"),rowClassNameRef:Ne(e,"rowClassName"),mergedCheckedRowKeySetRef:ve,mergedExpandedRowKeysRef:ke,mergedInderminateRowKeySetRef:ue,localeRef:De,expandableRef:R,stickyExpandedRowsRef:re,rowKeyRef:Ne(e,"rowKey"),renderExpandRef:U,summaryRef:Ne(e,"summary"),virtualScrollRef:Ne(e,"virtualScroll"),rowPropsRef:Ne(e,"rowProps"),stripedRef:Ne(e,"striped"),checkOptionsRef:L(()=>{const{value:Oe}=C;return Oe==null?void 0:Oe.options}),rawPaginatedDataRef:S,filterMenuCssVarsRef:L(()=>{const{self:{actionDividerColor:Oe,actionPadding:rt,actionButtonMargin:it}}=a.value;return{"--n-action-padding":rt,"--n-action-button-margin":it,"--n-action-divider-color":Oe}}),onLoadRef:Ne(e,"onLoad"),mergedTableLayoutRef:qe,maxHeightRef:Ne(e,"maxHeight"),minHeightRef:Ne(e,"minHeight"),flexHeightRef:Ne(e,"flexHeight"),headerCheckboxDisabledRef:xe,paginationBehaviorOnFilterRef:Ne(e,"paginationBehaviorOnFilter"),summaryPlacementRef:Ne(e,"summaryPlacement"),scrollbarPropsRef:Ne(e,"scrollbarProps"),syncScrollState:Y,doUpdatePage:k,doUpdateFilters:A,getResizableWidth:c,onUnstableColumnResize:I,clearResizableWidth:u,doUpdateResizableWidth:d,deriveNextSorter:W,doCheck:ne,doUncheck:fe,doCheckAll:se,doUncheckAll:Q,doUpdateExpandedRowKeys:E,handleTableHeaderScroll:ie,handleTableBodyScroll:q,setHeaderScrollLeft:he,renderCell:Ne(e,"renderCell")});const tt={filter:B,filters:z,clearFilters:j,clearSorter:X,page:F,sort:M,clearFilter:$,scrollTo:(Oe,rt)=>{var it;(it=l.value)===null||it===void 0||it.scrollTo(Oe,rt)}},Me=L(()=>{const{size:Oe}=e,{common:{cubicBezierEaseInOut:rt},self:{borderColor:it,tdColorHover:Z,thColor:we,thColorHover:Ie,tdColor:Ve,tdTextColor:Xe,thTextColor:Qe,thFontWeight:nt,thButtonColorHover:ot,thIconColor:kt,thIconColorActive:sn,filterSize:Wt,borderRadius:Se,lineHeight:Le,tdColorModal:Ze,thColorModal:pt,borderColorModal:gt,thColorHoverModal:at,tdColorHoverModal:ae,borderColorPopover:Te,thColorPopover:Ke,tdColorPopover:It,tdColorHoverPopover:Kt,thColorHoverPopover:Lt,paginationMargin:uo,emptyPadding:fo,boxShadowAfter:ho,boxShadowBefore:Wo,sorterSize:qo,resizableContainerSize:Hr,resizableSize:Va,loadingColor:Ua,loadingSize:Wu,opacityLoading:qu,tdColorStriped:Ku,tdColorStripedModal:Gu,tdColorStripedPopover:Yu,[Pe("fontSize",Oe)]:Xu,[Pe("thPadding",Oe)]:Qu,[Pe("tdPadding",Oe)]:Zu}}=a.value;return{"--n-font-size":Xu,"--n-th-padding":Qu,"--n-td-padding":Zu,"--n-bezier":rt,"--n-border-radius":Se,"--n-line-height":Le,"--n-border-color":it,"--n-border-color-modal":gt,"--n-border-color-popover":Te,"--n-th-color":we,"--n-th-color-hover":Ie,"--n-th-color-modal":pt,"--n-th-color-hover-modal":at,"--n-th-color-popover":Ke,"--n-th-color-hover-popover":Lt,"--n-td-color":Ve,"--n-td-color-hover":Z,"--n-td-color-modal":Ze,"--n-td-color-hover-modal":ae,"--n-td-color-popover":It,"--n-td-color-hover-popover":Kt,"--n-th-text-color":Qe,"--n-td-text-color":Xe,"--n-th-font-weight":nt,"--n-th-button-color-hover":ot,"--n-th-icon-color":kt,"--n-th-icon-color-active":sn,"--n-filter-size":Wt,"--n-pagination-margin":uo,"--n-empty-padding":fo,"--n-box-shadow-before":Wo,"--n-box-shadow-after":ho,"--n-sorter-size":qo,"--n-resizable-container-size":Hr,"--n-resizable-size":Va,"--n-loading-size":Wu,"--n-loading-color":Ua,"--n-opacity-loading":qu,"--n-td-color-striped":Ku,"--n-td-color-striped-modal":Gu,"--n-td-color-striped-popover":Yu}}),je=r?Rt("data-table",L(()=>e.size[0]),Me,e):void 0,dt=L(()=>{if(!e.pagination)return!1;if(e.paginateSinglePage)return!0;const Oe=x.value,{pageCount:rt}=Oe;return rt!==void 0?rt>1:Oe.itemCount&&Oe.pageSize&&Oe.itemCount>Oe.pageSize});return Object.assign({mainTableInstRef:l,mergedClsPrefix:o,mergedTheme:a,paginatedData:y,mergedBordered:n,mergedBottomBordered:i,mergedPagination:x,mergedShowPagination:dt,cssVars:r?void 0:Me,themeClass:je==null?void 0:je.themeClass,onRender:je==null?void 0:je.onRender},tt)},render(){const{mergedClsPrefix:e,themeClass:t,onRender:n,$slots:o,spinProps:r}=this;return n==null||n(),b("div",{class:[`${e}-data-table`,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},b("div",{class:`${e}-data-table-wrapper`},b(MU,{ref:"mainTableInstRef"})),this.mergedShowPagination?b("div",{class:`${e}-data-table__pagination`},b(SV,Object.assign({theme:this.mergedTheme.peers.Pagination,themeOverrides:this.mergedTheme.peerOverrides.Pagination,disabled:this.loading},this.mergedPagination))):null,b(fn,{name:"fade-in-scale-up-transition"},{default:()=>this.loading?b("div",{class:`${e}-data-table-loading-wrapper`},Pn(o.loading,()=>[b(Mi,Object.assign({clsPrefix:e,strokeWidth:20},r))])):null}))}}),qU={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"},KU=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({},qU),{panelColor:t,panelBoxShadow:s,panelDividerColor:i,itemTextColor:n,itemTextColorActive:o,itemColorHover:r,itemOpacityDisabled:a,itemBorderRadius:l,borderRadius:l,iconColor:c,iconColorDisabled:u})},GU={name:"TimePicker",common:Be,peers:{Scrollbar:Bn,Button:Hn,Input:lo},self:KU},x2=GU,YU={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",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"},XU=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({},YU),{itemFontSize:n,calendarDaysFontSize:n,calendarTitleFontSize:n,itemTextColor:o,itemTextColorDisabled:r,itemTextColorActive:i,itemTextColorCurrent:a,itemColorIncluded:Ae(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})},QU={name:"DatePicker",common:Be,peers:{Input:lo,Button:Hn,TimePicker:x2,Scrollbar:Bn},self(e){const{popoverColor:t,hoverColor:n,primaryColor:o}=e,r=XU(e);return r.itemColorDisabled=Ye(t,n),r.itemColorIncluded=Ae(o,{alpha:.15}),r.itemColorHover=Ye(t,n),r}},ZU=QU,JU={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"},eW=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({},JU),{lineHeight:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:p,titleTextColor:o,thColor:Ye(r,t),thColorModal:Ye(i,t),thColorPopover:Ye(a,t),thTextColor:o,thFontWeight:c,tdTextColor:n,tdColor:r,tdColorModal:i,tdColorPopover:a,borderColor:Ye(r,s),borderColorModal:Ye(i,s),borderColorPopover:Ye(a,s),borderRadius:l})},tW={name:"Descriptions",common:Be,self:eW},nW=tW,oW={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"},C2=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:g,fontSize:y}=e;return Object.assign(Object.assign({},oW),{fontSize:y,lineHeight:g,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})},rW={name:"Dialog",common:yt,peers:{Button:_u},self:C2},w2=rW,iW={name:"Dialog",common:Be,peers:{Button:Hn},self:C2},_2=iW,$u={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},S2=Lr($u),aW=V([O("dialog",` word-break: break-word; line-height: var(--n-line-height); position: relative; @@ -2578,51 +2578,51 @@ ${t} `,[K("last","margin-bottom: 0;")]),D("action",` display: flex; justify-content: flex-end; - `,[j("> *:not(:last-child)",{marginRight:"var(--n-action-space)"})]),D("icon",{fontSize:"var(--n-icon-size)",transition:"color .3s var(--n-bezier)"}),D("title",` + `,[V("> *:not(:last-child)",{marginRight:"var(--n-action-space)"})]),D("icon",{fontSize:"var(--n-icon-size)",transition:"color .3s var(--n-bezier)"}),D("title",` transition: color .3s var(--n-bezier); display: flex; align-items: center; font-size: var(--n-title-font-size); font-weight: var(--n-title-font-weight); color: var(--n-title-text-color); - `),z("dialog-icon-container",{display:"flex",justifyContent:"center"})]),Qs(z("dialog",` + `),O("dialog-icon-container",{display:"flex",justifyContent:"center"})]),Qs(O("dialog",` width: 446px; max-width: calc(100vw - 32px); - `)),z("dialog",[AC(` + `)),O("dialog",[IC(` width: 446px; max-width: calc(100vw - 32px); - `)])]),aW={default:()=>b(zr,null),info:()=>b(zr,null),success:()=>b(Ei,null),warning:()=>b($i,null),error:()=>b(Ri,null)},S2=pe({name:"Dialog",alias:["NimbusConfirmCard","Confirm"],props:Object.assign(Object.assign({},Fe.props),$u),setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o}=ct(e),r=N(()=>{var d,f;const{iconPlacement:p}=e;return p||((f=(d=t==null?void 0:t.value)===null||d===void 0?void 0:d.Dialog)===null||f===void 0?void 0:f.iconPlacement)||"left"});function i(d){const{onPositiveClick:f}=e;f&&f(d)}function a(d){const{onNegativeClick:f}=e;f&&f(d)}function s(){const{onClose:d}=e;d&&d()}const l=Fe("Dialog","-dialog",iW,C2,e,n),c=N(()=>{const{type:d}=e,f=r.value,{common:{cubicBezierEaseInOut:p},self:{fontSize:h,lineHeight:m,border:v,titleTextColor:g,textColor:y,color:S,closeBorderRadius:C,closeColorHover:_,closeColorPressed:x,closeIconColor:w,closeIconColorHover:T,closeIconColorPressed:P,closeIconSize:k,borderRadius:I,titleFontWeight:A,titleFontSize:q,padding:F,iconSize:O,actionSpace:$,contentMargin:W,closeSize:Q,[f==="top"?"iconMarginIconTop":"iconMargin"]:L,[f==="top"?"closeMarginIconTop":"closeMargin"]:M,[Pe("iconColor",d)]:se}}=l.value;return{"--n-font-size":h,"--n-icon-color":se,"--n-bezier":p,"--n-close-margin":M,"--n-icon-margin":L,"--n-icon-size":O,"--n-close-size":Q,"--n-close-icon-size":k,"--n-close-border-radius":C,"--n-close-color-hover":_,"--n-close-color-pressed":x,"--n-close-icon-color":w,"--n-close-icon-color-hover":T,"--n-close-icon-color-pressed":P,"--n-color":S,"--n-text-color":y,"--n-border-radius":I,"--n-padding":F,"--n-line-height":m,"--n-border":v,"--n-content-margin":W,"--n-title-font-size":q,"--n-title-font-weight":A,"--n-title-text-color":g,"--n-action-space":$}}),u=o?Rt("dialog",N(()=>`${e.type[0]}${r.value[0]}`),c,e):void 0;return{mergedClsPrefix:n,mergedIconPlacement:r,mergedTheme:l,handlePositiveClick:i,handleNegativeClick:a,handleCloseClick:s,cssVars:o?void 0:c,themeClass:u==null?void 0:u.themeClass,onRender:u==null?void 0:u.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:g,mergedClsPrefix:y}=this;(e=this.onRender)===null||e===void 0||e.call(this);const S=i?b(Bt,{clsPrefix:y,class:`${y}-dialog__icon`},{default:()=>Ot(this.$slots.icon,_=>_||(this.icon?Nt(this.icon):aW[this.type]()))}):null,C=Ot(this.$slots.action,_=>_||u||c||l?b("div",{class:`${y}-dialog__action`},_||(l?[Nt(l)]:[this.negativeText&&b(Tt,Object.assign({theme:m.peers.Button,themeOverrides:m.peerOverrides.Button,ghost:!0,size:"small",onClick:h},f),{default:()=>Nt(this.negativeText)}),this.positiveText&&b(Tt,Object.assign({theme:m.peers.Button,themeOverrides:m.peerOverrides.Button,size:"small",type:g==="default"?"primary":g,disabled:v,loading:v,onClick:p},d),{default:()=>Nt(this.positiveText)})])):null);return b("div",{class:[`${y}-dialog`,this.themeClass,this.closable&&`${y}-dialog--closable`,`${y}-dialog--icon-${n}`,t&&`${y}-dialog--bordered`],style:o,role:"dialog"},r?b(Ii,{clsPrefix:y,class:`${y}-dialog__close`,onClick:this.handleCloseClick}):null,i&&n==="top"?b("div",{class:`${y}-dialog-icon-container`},S):null,b("div",{class:`${y}-dialog__title`},i&&n==="left"?S:null,Pn(this.$slots.header,()=>[Nt(a)])),b("div",{class:[`${y}-dialog__content`,C?"":`${y}-dialog__content--last`]},Pn(this.$slots.default,()=>[Nt(s)])),C)}}),k2="n-dialog-provider",T2="n-dialog-api",sW="n-dialog-reactive-list",P2=e=>{const{modalColor:t,textColor2:n,boxShadow3:o}=e;return{color:t,textColor:n,boxShadow:o}},lW={name:"Modal",common:yt,peers:{Scrollbar:Oi,Dialog:C2,Card:$_},self:P2},cW=lW,uW={name:"Modal",common:Be,peers:{Scrollbar:Bn,Dialog:w2,Card:A_},self:P2},dW=uW,sm=Object.assign(Object.assign({},Xp),$u),fW=Lr(sm),hW=pe({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},sm),{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=B(null),n=B(null),o=B(e.show),r=B(null),i=B(null);ht(Ne(e,"show"),v=>{v&&(o.value=!0)}),tw(N(()=>e.blockScroll&&o.value));const a=He(FC);function s(){if(a.transformOriginRef.value==="center")return"";const{value:v}=r,{value:g}=i;if(v===null||g===null)return"";if(n.value){const y=n.value.containerScrollTop;return`${v}px ${g+y}px`}return""}function l(v){if(a.transformOriginRef.value==="center")return;const g=a.getMousePosition();if(!g||!n.value)return;const y=n.value.containerScrollTop,{offsetLeft:S,offsetTop:C}=v;if(g){const _=g.y,x=g.x;r.value=-(S-x),i.value=-(C-_-y)}v.style.transformOrigin=s()}function c(v){jt(()=>{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=B(null);return ht(m,v=>{v&&jt(()=>{const g=v.el;g&&t.value!==g&&(t.value=g)})}),lt(Zs,t),lt(Js,null),lt(Ma,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=Xf(e),!s){or("modal","default slot is empty");return}s=oo(s),s.props=Mn({class:`${a}-modal`},t,s.props||{})}return this.displayDirective==="show"||this.displayed||this.show?Cn(b("div",{role:"none",class:`${a}-modal-body-wrapper`},b(_o,{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),b(Ep,{disabled:!this.trapFocus,active:this.show,onEsc:this.onEsc,autoFocus:this.autoFocus},{default:()=>{var c;return b(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=[[ro,this.show]],{onClickoutside:d}=this;return d&&u.push([ya,this.onClickoutside,void 0,{capture:!0}]),Cn(this.preset==="confirm"||this.preset==="dialog"?b(S2,Object.assign({},this.$attrs,{class:[`${a}-modal`,this.$attrs.class],ref:"bodyRef",theme:this.mergedTheme.peers.Dialog,themeOverrides:this.mergedTheme.peerOverrides.Dialog},Kn(this.$props,_2),{"aria-modal":"true"}),e):this.preset==="card"?b(jn,Object.assign({},this.$attrs,{ref:"bodyRef",class:[`${a}-modal`,this.$attrs.class],theme:this.mergedTheme.peers.Card,themeOverrides:this.mergedTheme.peerOverrides.Card},Kn(this.$props,hj),{"aria-modal":"true",role:"dialog"}),e):this.childNodeRef=s,u)}})}})]}})),[[ro,this.displayDirective==="if"||this.displayed||this.show]]):null}}),pW=j([z("modal-container",` + `)])]),sW={default:()=>b(zr,null),info:()=>b(zr,null),success:()=>b(Ei,null),warning:()=>b($i,null),error:()=>b(Ri,null)},k2=pe({name:"Dialog",alias:["NimbusConfirmCard","Confirm"],props:Object.assign(Object.assign({},Fe.props),$u),setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o}=ct(e),r=L(()=>{var d,f;const{iconPlacement:p}=e;return p||((f=(d=t==null?void 0:t.value)===null||d===void 0?void 0:d.Dialog)===null||f===void 0?void 0:f.iconPlacement)||"left"});function i(d){const{onPositiveClick:f}=e;f&&f(d)}function a(d){const{onNegativeClick:f}=e;f&&f(d)}function s(){const{onClose:d}=e;d&&d()}const l=Fe("Dialog","-dialog",aW,w2,e,n),c=L(()=>{const{type:d}=e,f=r.value,{common:{cubicBezierEaseInOut:p},self:{fontSize:h,lineHeight:m,border:v,titleTextColor:g,textColor:y,color:S,closeBorderRadius:C,closeColorHover:_,closeColorPressed:x,closeIconColor:w,closeIconColorHover:T,closeIconColorPressed:P,closeIconSize:k,borderRadius:A,titleFontWeight:I,titleFontSize:W,padding:B,iconSize:z,actionSpace:$,contentMargin:j,closeSize:X,[f==="top"?"iconMarginIconTop":"iconMargin"]:F,[f==="top"?"closeMarginIconTop":"closeMargin"]:M,[Pe("iconColor",d)]:se}}=l.value;return{"--n-font-size":h,"--n-icon-color":se,"--n-bezier":p,"--n-close-margin":M,"--n-icon-margin":F,"--n-icon-size":z,"--n-close-size":X,"--n-close-icon-size":k,"--n-close-border-radius":C,"--n-close-color-hover":_,"--n-close-color-pressed":x,"--n-close-icon-color":w,"--n-close-icon-color-hover":T,"--n-close-icon-color-pressed":P,"--n-color":S,"--n-text-color":y,"--n-border-radius":A,"--n-padding":B,"--n-line-height":m,"--n-border":v,"--n-content-margin":j,"--n-title-font-size":W,"--n-title-font-weight":I,"--n-title-text-color":g,"--n-action-space":$}}),u=o?Rt("dialog",L(()=>`${e.type[0]}${r.value[0]}`),c,e):void 0;return{mergedClsPrefix:n,mergedIconPlacement:r,mergedTheme:l,handlePositiveClick:i,handleNegativeClick:a,handleCloseClick:s,cssVars:o?void 0:c,themeClass:u==null?void 0:u.themeClass,onRender:u==null?void 0:u.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:g,mergedClsPrefix:y}=this;(e=this.onRender)===null||e===void 0||e.call(this);const S=i?b(Bt,{clsPrefix:y,class:`${y}-dialog__icon`},{default:()=>Ot(this.$slots.icon,_=>_||(this.icon?Nt(this.icon):sW[this.type]()))}):null,C=Ot(this.$slots.action,_=>_||u||c||l?b("div",{class:`${y}-dialog__action`},_||(l?[Nt(l)]:[this.negativeText&&b(Tt,Object.assign({theme:m.peers.Button,themeOverrides:m.peerOverrides.Button,ghost:!0,size:"small",onClick:h},f),{default:()=>Nt(this.negativeText)}),this.positiveText&&b(Tt,Object.assign({theme:m.peers.Button,themeOverrides:m.peerOverrides.Button,size:"small",type:g==="default"?"primary":g,disabled:v,loading:v,onClick:p},d),{default:()=>Nt(this.positiveText)})])):null);return b("div",{class:[`${y}-dialog`,this.themeClass,this.closable&&`${y}-dialog--closable`,`${y}-dialog--icon-${n}`,t&&`${y}-dialog--bordered`],style:o,role:"dialog"},r?b(Ii,{clsPrefix:y,class:`${y}-dialog__close`,onClick:this.handleCloseClick}):null,i&&n==="top"?b("div",{class:`${y}-dialog-icon-container`},S):null,b("div",{class:`${y}-dialog__title`},i&&n==="left"?S:null,Pn(this.$slots.header,()=>[Nt(a)])),b("div",{class:[`${y}-dialog__content`,C?"":`${y}-dialog__content--last`]},Pn(this.$slots.default,()=>[Nt(s)])),C)}}),T2="n-dialog-provider",P2="n-dialog-api",lW="n-dialog-reactive-list",R2=e=>{const{modalColor:t,textColor2:n,boxShadow3:o}=e;return{color:t,textColor:n,boxShadow:o}},cW={name:"Modal",common:yt,peers:{Scrollbar:Oi,Dialog:w2,Card:A_},self:R2},uW=cW,dW={name:"Modal",common:Be,peers:{Scrollbar:Bn,Dialog:_2,Card:I_},self:R2},fW=dW,sm=Object.assign(Object.assign({},Xp),$u),hW=Lr(sm),pW=pe({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},sm),{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=N(null),n=N(null),o=N(e.show),r=N(null),i=N(null);ht(Ne(e,"show"),v=>{v&&(o.value=!0)}),nw(L(()=>e.blockScroll&&o.value));const a=He(NC);function s(){if(a.transformOriginRef.value==="center")return"";const{value:v}=r,{value:g}=i;if(v===null||g===null)return"";if(n.value){const y=n.value.containerScrollTop;return`${v}px ${g+y}px`}return""}function l(v){if(a.transformOriginRef.value==="center")return;const g=a.getMousePosition();if(!g||!n.value)return;const y=n.value.containerScrollTop,{offsetLeft:S,offsetTop:C}=v;if(g){const _=g.y,x=g.x;r.value=-(S-x),i.value=-(C-_-y)}v.style.transformOrigin=s()}function c(v){jt(()=>{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=N(null);return ht(m,v=>{v&&jt(()=>{const g=v.el;g&&t.value!==g&&(t.value=g)})}),lt(Zs,t),lt(Js,null),lt(Ma,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=Xf(e),!s){or("modal","default slot is empty");return}s=oo(s),s.props=Mn({class:`${a}-modal`},t,s.props||{})}return this.displayDirective==="show"||this.displayed||this.show?Cn(b("div",{role:"none",class:`${a}-modal-body-wrapper`},b(_o,{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),b(Ep,{disabled:!this.trapFocus,active:this.show,onEsc:this.onEsc,autoFocus:this.autoFocus},{default:()=>{var c;return b(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=[[ro,this.show]],{onClickoutside:d}=this;return d&&u.push([ya,this.onClickoutside,void 0,{capture:!0}]),Cn(this.preset==="confirm"||this.preset==="dialog"?b(k2,Object.assign({},this.$attrs,{class:[`${a}-modal`,this.$attrs.class],ref:"bodyRef",theme:this.mergedTheme.peers.Dialog,themeOverrides:this.mergedTheme.peerOverrides.Dialog},Kn(this.$props,S2),{"aria-modal":"true"}),e):this.preset==="card"?b(jn,Object.assign({},this.$attrs,{ref:"bodyRef",class:[`${a}-modal`,this.$attrs.class],theme:this.mergedTheme.peers.Card,themeOverrides:this.mergedTheme.peerOverrides.Card},Kn(this.$props,pj),{"aria-modal":"true",role:"dialog"}),e):this.childNodeRef=s,u)}})}})]}})),[[ro,this.displayDirective==="if"||this.displayed||this.show]]):null}}),mW=V([O("modal-container",` position: fixed; left: 0; top: 0; height: 0; width: 0; display: flex; - `),z("modal-mask",` + `),O("modal-mask",` position: fixed; left: 0; right: 0; top: 0; bottom: 0; background-color: rgba(0, 0, 0, .4); - `,[Cu({enterDuration:".25s",leaveDuration:".25s",enterCubicBezier:"var(--n-bezier-ease-out)",leaveCubicBezier:"var(--n-bezier-ease-out)"})]),z("modal-body-wrapper",` + `,[Cu({enterDuration:".25s",leaveDuration:".25s",enterCubicBezier:"var(--n-bezier-ease-out)",leaveCubicBezier:"var(--n-bezier-ease-out)"})]),O("modal-body-wrapper",` position: fixed; left: 0; right: 0; top: 0; bottom: 0; overflow: visible; - `,[z("modal-scroll-content",` + `,[O("modal-scroll-content",` min-height: 100%; display: flex; position: relative; - `)]),z("modal",` + `)]),O("modal",` position: relative; align-self: center; color: var(--n-text-color); margin: auto; box-shadow: var(--n-box-shadow); - `,[Da({duration:".25s",enterScale:".5"})])]),mW=Object.assign(Object.assign(Object.assign(Object.assign({},Fe.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}}),sm),{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,internalAppear:{type:Boolean,default:void 0},overlayStyle:[String,Object],onBeforeHide:Function,onAfterHide:Function,onHide:Function}),Fi=pe({name:"Modal",inheritAttrs:!1,props:mW,setup(e){const t=B(null),{mergedClsPrefixRef:n,namespaceRef:o,inlineThemeDisabled:r}=ct(e),i=Fe("Modal","-modal",pW,cW,e,n),a=DC(64),s=OC(),l=Nr(),c=e.internalDialog?He(k2,null):null,u=nw();function d(_){const{onUpdateShow:x,"onUpdate:show":w,onHide:T}=e;x&&Re(x,_),w&&Re(w,_),T&&!_&&T(_)}function f(){const{onClose:_}=e;_?Promise.resolve(_()).then(x=>{x!==!1&&d(!1)}):d(!1)}function p(){const{onPositiveClick:_}=e;_?Promise.resolve(_()).then(x=>{x!==!1&&d(!1)}):d(!1)}function h(){const{onNegativeClick:_}=e;_?Promise.resolve(_()).then(x=>{x!==!1&&d(!1)}):d(!1)}function m(){const{onBeforeLeave:_,onBeforeHide:x}=e;_&&Re(_),x&&x()}function v(){const{onAfterLeave:_,onAfterHide:x}=e;_&&Re(_),x&&x()}function g(_){var x;const{onMaskClick:w}=e;w&&w(_),e.maskClosable&&!((x=t.value)===null||x===void 0)&&x.contains(pi(_))&&d(!1)}function y(_){var x;(x=e.onEsc)===null||x===void 0||x.call(e),e.show&&e.closeOnEsc&&MC(_)&&!u.value&&d(!1)}lt(FC,{getMousePosition:()=>{if(c){const{clickedRef:_,clickPositionRef:x}=c;if(_.value&&x.value)return x.value}return a.value?s.value:null},mergedClsPrefixRef:n,mergedThemeRef:i,isMountedRef:l,appearRef:Ne(e,"internalAppear"),transformOriginRef:Ne(e,"transformOrigin")});const S=N(()=>{const{common:{cubicBezierEaseOut:_},self:{boxShadow:x,color:w,textColor:T}}=i.value;return{"--n-bezier-ease-out":_,"--n-box-shadow":x,"--n-color":w,"--n-text-color":T}}),C=r?Rt("theme-class",void 0,S,e):void 0;return{mergedClsPrefix:n,namespace:o,isMounted:l,containerRef:t,presetProps:N(()=>Kn(e,fW)),handleEsc:y,handleAfterLeave:v,handleClickoutside:g,handleBeforeLeave:m,doUpdateShow:d,handleNegativeClick:h,handlePositiveClick:p,handleCloseClick:f,cssVars:r?void 0:S,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender}},render(){const{mergedClsPrefix:e}=this;return b(pu,{to:this.to,show:this.show},{default:()=>{var t;(t=this.onRender)===null||t===void 0||t.call(this);const{unstableShowMask:n}=this;return Cn(b("div",{role:"none",ref:"containerRef",class:[`${e}-modal-container`,this.themeClass,this.namespace],style:this.cssVars},b(hW,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 b(fn,{name:"fade-in-transition",key:"mask",appear:(o=this.internalAppear)!==null&&o!==void 0?o:this.isMounted},{default:()=>this.show?b("div",{"aria-hidden":!0,ref:"containerRef",class:`${e}-modal-mask`,onClick:this.handleClickoutside}):null})}:void 0}),this.$slots)),[[hu,{zIndex:this.zIndex,enabled:this.show}]])}})}}),gW=Object.assign(Object.assign({},$u),{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}),vW=pe({name:"DialogEnvironment",props:Object.assign(Object.assign({},gW),{internalKey:{type:String,required:!0},to:[String,Object],onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=B(!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 b(Fi,{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:()=>b(S2,Object.assign({},Kn(this.$props,_2),{style:this.internalStyle,onClose:o,onNegativeClick:n,onPositiveClick:e}))})}}),bW={injectionKey:String,to:[String,Object]},yW=pe({name:"DialogProvider",props:bW,setup(){const e=B([]),t={};function n(s={}){const l=Ia(),c=bo(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 lt(T2,a),lt(k2,{clickedRef:DC(64),clickPositionRef:OC()}),lt(sW,e),Object.assign(Object.assign({},a),{dialogList:e,dialogInstRefs:t,handleAfterLeave:r})},render(){var e,t;return b(et,null,[this.dialogList.map(n=>b(vW,Ys(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 xW(){const e=He(T2,null);return e===null&&Fr("use-dialog","No outer founded."),e}const R2=e=>{const{textColor1:t,dividerColor:n,fontWeightStrong:o}=e;return{textColor:t,color:n,fontWeight:o}},CW={name:"Divider",common:yt,self:R2},wW=CW,_W={name:"Divider",common:Be,self:R2},SW=_W,kW=z("divider",` + `,[Da({duration:".25s",enterScale:".5"})])]),gW=Object.assign(Object.assign(Object.assign(Object.assign({},Fe.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}}),sm),{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,internalAppear:{type:Boolean,default:void 0},overlayStyle:[String,Object],onBeforeHide:Function,onAfterHide:Function,onHide:Function}),Fi=pe({name:"Modal",inheritAttrs:!1,props:gW,setup(e){const t=N(null),{mergedClsPrefixRef:n,namespaceRef:o,inlineThemeDisabled:r}=ct(e),i=Fe("Modal","-modal",mW,uW,e,n),a=LC(64),s=DC(),l=Nr(),c=e.internalDialog?He(T2,null):null,u=ow();function d(_){const{onUpdateShow:x,"onUpdate:show":w,onHide:T}=e;x&&Re(x,_),w&&Re(w,_),T&&!_&&T(_)}function f(){const{onClose:_}=e;_?Promise.resolve(_()).then(x=>{x!==!1&&d(!1)}):d(!1)}function p(){const{onPositiveClick:_}=e;_?Promise.resolve(_()).then(x=>{x!==!1&&d(!1)}):d(!1)}function h(){const{onNegativeClick:_}=e;_?Promise.resolve(_()).then(x=>{x!==!1&&d(!1)}):d(!1)}function m(){const{onBeforeLeave:_,onBeforeHide:x}=e;_&&Re(_),x&&x()}function v(){const{onAfterLeave:_,onAfterHide:x}=e;_&&Re(_),x&&x()}function g(_){var x;const{onMaskClick:w}=e;w&&w(_),e.maskClosable&&!((x=t.value)===null||x===void 0)&&x.contains(pi(_))&&d(!1)}function y(_){var x;(x=e.onEsc)===null||x===void 0||x.call(e),e.show&&e.closeOnEsc&&zC(_)&&!u.value&&d(!1)}lt(NC,{getMousePosition:()=>{if(c){const{clickedRef:_,clickPositionRef:x}=c;if(_.value&&x.value)return x.value}return a.value?s.value:null},mergedClsPrefixRef:n,mergedThemeRef:i,isMountedRef:l,appearRef:Ne(e,"internalAppear"),transformOriginRef:Ne(e,"transformOrigin")});const S=L(()=>{const{common:{cubicBezierEaseOut:_},self:{boxShadow:x,color:w,textColor:T}}=i.value;return{"--n-bezier-ease-out":_,"--n-box-shadow":x,"--n-color":w,"--n-text-color":T}}),C=r?Rt("theme-class",void 0,S,e):void 0;return{mergedClsPrefix:n,namespace:o,isMounted:l,containerRef:t,presetProps:L(()=>Kn(e,hW)),handleEsc:y,handleAfterLeave:v,handleClickoutside:g,handleBeforeLeave:m,doUpdateShow:d,handleNegativeClick:h,handlePositiveClick:p,handleCloseClick:f,cssVars:r?void 0:S,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender}},render(){const{mergedClsPrefix:e}=this;return b(pu,{to:this.to,show:this.show},{default:()=>{var t;(t=this.onRender)===null||t===void 0||t.call(this);const{unstableShowMask:n}=this;return Cn(b("div",{role:"none",ref:"containerRef",class:[`${e}-modal-container`,this.themeClass,this.namespace],style:this.cssVars},b(pW,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 b(fn,{name:"fade-in-transition",key:"mask",appear:(o=this.internalAppear)!==null&&o!==void 0?o:this.isMounted},{default:()=>this.show?b("div",{"aria-hidden":!0,ref:"containerRef",class:`${e}-modal-mask`,onClick:this.handleClickoutside}):null})}:void 0}),this.$slots)),[[hu,{zIndex:this.zIndex,enabled:this.show}]])}})}}),vW=Object.assign(Object.assign({},$u),{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}),bW=pe({name:"DialogEnvironment",props:Object.assign(Object.assign({},vW),{internalKey:{type:String,required:!0},to:[String,Object],onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=N(!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 b(Fi,{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:()=>b(k2,Object.assign({},Kn(this.$props,S2),{style:this.internalStyle,onClose:o,onNegativeClick:n,onPositiveClick:e}))})}}),yW={injectionKey:String,to:[String,Object]},xW=pe({name:"DialogProvider",props:yW,setup(){const e=N([]),t={};function n(s={}){const l=Ia(),c=bo(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 lt(P2,a),lt(T2,{clickedRef:LC(64),clickPositionRef:DC()}),lt(lW,e),Object.assign(Object.assign({},a),{dialogList:e,dialogInstRefs:t,handleAfterLeave:r})},render(){var e,t;return b(et,null,[this.dialogList.map(n=>b(bW,Ys(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 CW(){const e=He(P2,null);return e===null&&Fr("use-dialog","No outer founded."),e}const E2=e=>{const{textColor1:t,dividerColor:n,fontWeightStrong:o}=e;return{textColor:t,color:n,fontWeight:o}},wW={name:"Divider",common:yt,self:E2},_W=wW,SW={name:"Divider",common:Be,self:E2},kW=SW,TW=O("divider",` position: relative; display: flex; width: 100%; @@ -2663,7 +2663,7 @@ ${t} height: 1px; width: 100%; margin: 0; - `),Pt("dashed",[D("line",{backgroundColor:"var(--n-color)"})]),K("dashed",[D("line",{borderColor:"var(--n-color)"})]),K("vertical",{backgroundColor:"var(--n-color)"})]),TW=Object.assign(Object.assign({},Fe.props),{titlePlacement:{type:String,default:"center"},dashed:Boolean,vertical:Boolean}),sl=pe({name:"Divider",props:TW,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=ct(e),o=Fe("Divider","-divider",kW,wW,e,t),r=N(()=>{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?Rt("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),b("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:b("div",{class:`${a}-divider__line ${a}-divider__line--left`}),!o&&t.default?b(et,null,b("div",{class:`${a}-divider__title`},this.$slots),b("div",{class:`${a}-divider__line ${a}-divider__line--right`})):null)}}),E2=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",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}},PW={name:"Drawer",common:yt,peers:{Scrollbar:Oi},self:E2},RW=PW,EW={name:"Drawer",common:Be,peers:{Scrollbar:Bn},self:E2},$W=EW,AW=pe({name:"NDrawerContent",inheritAttrs:!1,props:{blockScroll:Boolean,show:{type:Boolean,default:void 0},displayDirective:{type:String,required:!0},placement:{type:String,required:!0},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=B(!!e.show),n=B(null),o=He(_p);let r=0,i="",a=null;const s=B(!1),l=B(!1),c=N(()=>e.placement==="top"||e.placement==="bottom"),{mergedClsPrefixRef:u,mergedRtlRef:d}=ct(e),f=Rn("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",C),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:g}=o,y=P=>{const{maxWidth:k}=e;if(k&&P>k)return k;const{minWidth:I}=e;return I&&P{const{maxHeight:k}=e;if(k&&P>k)return k;const{minHeight:I}=e;return I&&P{var k,I;if(l.value)if(c.value){let A=((k=n.value)===null||k===void 0?void 0:k.offsetHeight)||0;const q=r-P.clientY;A+=e.placement==="bottom"?q:-q,A=S(A),v(A),r=P.clientY}else{let A=((I=n.value)===null||I===void 0?void 0:I.offsetWidth)||0;const q=r-P.clientX;A+=e.placement==="right"?q:-q,A=y(A),g(A),r=P.clientX}},_=()=>{l.value&&(r=0,l.value=!1,document.body.style.cursor=i,document.body.removeEventListener("mousemove",C),document.body.removeEventListener("mouseup",_),document.body.removeEventListener("mouseleave",x))},x=_;un(()=>{e.show&&(t.value=!0)}),ht(()=>e.show,P=>{P||_()}),tn(()=>{_()});const w=N(()=>{const{show:P}=e,k=[[ro,P]];return e.showMask||k.push([ya,e.onClickoutside,void 0,{capture:!0}]),k});function T(){var P;t.value=!1,(P=e.onAfterLeave)===null||P===void 0||P.call(e)}return tw(N(()=>e.blockScroll&&t.value)),lt(Js,n),lt(Ma,null),lt(Zs,null),{bodyRef:n,rtlEnabled:f,mergedClsPrefix:o.mergedClsPrefixRef,isMounted:o.isMountedRef,mergedTheme:o.mergedThemeRef,displayed:t,transitionName:N(()=>({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:T,bodyDirectives:w,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?Cn(b("div",{role:"none"},b(Ep,{disabled:!this.showMask||!this.trapFocus,active:this.show,autoFocus:this.autoFocus,onEsc:this.onEsc},{default:()=>b(fn,{name:this.transitionName,appear:this.isMounted,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave},{default:()=>Cn(b("div",Mn(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?b("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?b("div",{class:`${t}-drawer-content-wrapper`,style:this.contentStyle,role:"none"},e):b(_o,Object.assign({},this.scrollbarProps,{contentStyle:this.contentStyle,contentClass:`${t}-drawer-content-wrapper`,theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar}),e)]),this.bodyDirectives)})})),[[ro,this.displayDirective==="if"||this.displayed||this.show]]):null}}),{cubicBezierEaseIn:IW,cubicBezierEaseOut:MW}=so;function zW({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-right"}={}){return[j(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${IW}`}),j(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${MW}`}),j(`&.${n}-transition-enter-to`,{transform:"translateX(0)"}),j(`&.${n}-transition-enter-from`,{transform:"translateX(100%)"}),j(`&.${n}-transition-leave-from`,{transform:"translateX(0)"}),j(`&.${n}-transition-leave-to`,{transform:"translateX(100%)"})]}const{cubicBezierEaseIn:OW,cubicBezierEaseOut:DW}=so;function LW({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-left"}={}){return[j(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${OW}`}),j(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${DW}`}),j(`&.${n}-transition-enter-to`,{transform:"translateX(0)"}),j(`&.${n}-transition-enter-from`,{transform:"translateX(-100%)"}),j(`&.${n}-transition-leave-from`,{transform:"translateX(0)"}),j(`&.${n}-transition-leave-to`,{transform:"translateX(-100%)"})]}const{cubicBezierEaseIn:FW,cubicBezierEaseOut:NW}=so;function BW({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-top"}={}){return[j(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${FW}`}),j(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${NW}`}),j(`&.${n}-transition-enter-to`,{transform:"translateY(0)"}),j(`&.${n}-transition-enter-from`,{transform:"translateY(-100%)"}),j(`&.${n}-transition-leave-from`,{transform:"translateY(0)"}),j(`&.${n}-transition-leave-to`,{transform:"translateY(-100%)"})]}const{cubicBezierEaseIn:HW,cubicBezierEaseOut:jW}=so;function VW({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-bottom"}={}){return[j(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${HW}`}),j(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${jW}`}),j(`&.${n}-transition-enter-to`,{transform:"translateY(0)"}),j(`&.${n}-transition-enter-from`,{transform:"translateY(100%)"}),j(`&.${n}-transition-leave-from`,{transform:"translateY(0)"}),j(`&.${n}-transition-leave-to`,{transform:"translateY(100%)"})]}const UW=j([z("drawer",` + `),Pt("dashed",[D("line",{backgroundColor:"var(--n-color)"})]),K("dashed",[D("line",{borderColor:"var(--n-color)"})]),K("vertical",{backgroundColor:"var(--n-color)"})]),PW=Object.assign(Object.assign({},Fe.props),{titlePlacement:{type:String,default:"center"},dashed:Boolean,vertical:Boolean}),sl=pe({name:"Divider",props:PW,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=ct(e),o=Fe("Divider","-divider",TW,_W,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?Rt("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),b("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:b("div",{class:`${a}-divider__line ${a}-divider__line--left`}),!o&&t.default?b(et,null,b("div",{class:`${a}-divider__title`},this.$slots),b("div",{class:`${a}-divider__line ${a}-divider__line--right`})):null)}}),$2=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",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}},RW={name:"Drawer",common:yt,peers:{Scrollbar:Oi},self:$2},EW=RW,$W={name:"Drawer",common:Be,peers:{Scrollbar:Bn},self:$2},AW=$W,IW=pe({name:"NDrawerContent",inheritAttrs:!1,props:{blockScroll:Boolean,show:{type:Boolean,default:void 0},displayDirective:{type:String,required:!0},placement:{type:String,required:!0},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=N(!!e.show),n=N(null),o=He(_p);let r=0,i="",a=null;const s=N(!1),l=N(!1),c=L(()=>e.placement==="top"||e.placement==="bottom"),{mergedClsPrefixRef:u,mergedRtlRef:d}=ct(e),f=Rn("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",C),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:g}=o,y=P=>{const{maxWidth:k}=e;if(k&&P>k)return k;const{minWidth:A}=e;return A&&P{const{maxHeight:k}=e;if(k&&P>k)return k;const{minHeight:A}=e;return A&&P{var k,A;if(l.value)if(c.value){let I=((k=n.value)===null||k===void 0?void 0:k.offsetHeight)||0;const W=r-P.clientY;I+=e.placement==="bottom"?W:-W,I=S(I),v(I),r=P.clientY}else{let I=((A=n.value)===null||A===void 0?void 0:A.offsetWidth)||0;const W=r-P.clientX;I+=e.placement==="right"?W:-W,I=y(I),g(I),r=P.clientX}},_=()=>{l.value&&(r=0,l.value=!1,document.body.style.cursor=i,document.body.removeEventListener("mousemove",C),document.body.removeEventListener("mouseup",_),document.body.removeEventListener("mouseleave",x))},x=_;un(()=>{e.show&&(t.value=!0)}),ht(()=>e.show,P=>{P||_()}),tn(()=>{_()});const w=L(()=>{const{show:P}=e,k=[[ro,P]];return e.showMask||k.push([ya,e.onClickoutside,void 0,{capture:!0}]),k});function T(){var P;t.value=!1,(P=e.onAfterLeave)===null||P===void 0||P.call(e)}return nw(L(()=>e.blockScroll&&t.value)),lt(Js,n),lt(Ma,null),lt(Zs,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:T,bodyDirectives:w,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?Cn(b("div",{role:"none"},b(Ep,{disabled:!this.showMask||!this.trapFocus,active:this.show,autoFocus:this.autoFocus,onEsc:this.onEsc},{default:()=>b(fn,{name:this.transitionName,appear:this.isMounted,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave},{default:()=>Cn(b("div",Mn(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?b("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?b("div",{class:`${t}-drawer-content-wrapper`,style:this.contentStyle,role:"none"},e):b(_o,Object.assign({},this.scrollbarProps,{contentStyle:this.contentStyle,contentClass:`${t}-drawer-content-wrapper`,theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar}),e)]),this.bodyDirectives)})})),[[ro,this.displayDirective==="if"||this.displayed||this.show]]):null}}),{cubicBezierEaseIn:MW,cubicBezierEaseOut:zW}=so;function OW({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-right"}={}){return[V(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${MW}`}),V(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${zW}`}),V(`&.${n}-transition-enter-to`,{transform:"translateX(0)"}),V(`&.${n}-transition-enter-from`,{transform:"translateX(100%)"}),V(`&.${n}-transition-leave-from`,{transform:"translateX(0)"}),V(`&.${n}-transition-leave-to`,{transform:"translateX(100%)"})]}const{cubicBezierEaseIn:DW,cubicBezierEaseOut:LW}=so;function FW({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-left"}={}){return[V(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${DW}`}),V(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${LW}`}),V(`&.${n}-transition-enter-to`,{transform:"translateX(0)"}),V(`&.${n}-transition-enter-from`,{transform:"translateX(-100%)"}),V(`&.${n}-transition-leave-from`,{transform:"translateX(0)"}),V(`&.${n}-transition-leave-to`,{transform:"translateX(-100%)"})]}const{cubicBezierEaseIn:NW,cubicBezierEaseOut:BW}=so;function HW({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-top"}={}){return[V(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${NW}`}),V(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${BW}`}),V(`&.${n}-transition-enter-to`,{transform:"translateY(0)"}),V(`&.${n}-transition-enter-from`,{transform:"translateY(-100%)"}),V(`&.${n}-transition-leave-from`,{transform:"translateY(0)"}),V(`&.${n}-transition-leave-to`,{transform:"translateY(-100%)"})]}const{cubicBezierEaseIn:jW,cubicBezierEaseOut:VW}=so;function UW({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-bottom"}={}){return[V(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${jW}`}),V(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${VW}`}),V(`&.${n}-transition-enter-to`,{transform:"translateY(0)"}),V(`&.${n}-transition-enter-from`,{transform:"translateY(100%)"}),V(`&.${n}-transition-leave-from`,{transform:"translateY(0)"}),V(`&.${n}-transition-leave-to`,{transform:"translateY(100%)"})]}const WW=V([O("drawer",` word-break: break-word; line-height: var(--n-line-height); position: absolute; @@ -2675,10 +2675,10 @@ ${t} background-color: var(--n-color); color: var(--n-text-color); box-sizing: border-box; - `,[zW(),LW(),BW(),VW(),K("unselectable",` + `,[OW(),FW(),HW(),UW(),K("unselectable",` user-select: none; -webkit-user-select: none; - `),K("native-scrollbar",[z("drawer-content-wrapper",` + `),K("native-scrollbar",[O("drawer-content-wrapper",` overflow: auto; height: 100%; `)]),D("resize-trigger",` @@ -2687,22 +2687,22 @@ ${t} transition: background-color .3s var(--n-bezier); `,[K("hover",` background-color: var(--n-resize-trigger-color-hover); - `)]),z("drawer-content-wrapper",` + `)]),O("drawer-content-wrapper",` box-sizing: border-box; - `),z("drawer-content",` + `),O("drawer-content",` height: 100%; display: flex; flex-direction: column; - `,[K("native-scrollbar",[z("drawer-body-content-wrapper",` + `,[K("native-scrollbar",[O("drawer-body-content-wrapper",` height: 100%; overflow: auto; - `)]),z("drawer-body",` + `)]),O("drawer-body",` flex: 1 0 0; overflow: hidden; - `),z("drawer-body-content-wrapper",` + `),O("drawer-body-content-wrapper",` box-sizing: border-box; padding: var(--n-body-padding); - `),z("drawer-header",` + `),O("drawer-header",` font-weight: var(--n-title-font-weight); line-height: 1; font-size: var(--n-title-font-size); @@ -2719,7 +2719,7 @@ ${t} transition: background-color .3s var(--n-bezier), color .3s var(--n-bezier); - `)]),z("drawer-footer",` + `)]),O("drawer-footer",` display: flex; justify-content: flex-end; border-top: var(--n-footer-border-top); @@ -2769,7 +2769,7 @@ ${t} left: 0; transform: translateY(-1.5px); cursor: ns-resize; - `)])]),j("body",[j(">",[z("drawer-container",{position:"fixed"})])]),z("drawer-container",` + `)])]),V("body",[V(">",[O("drawer-container",{position:"fixed"})])]),O("drawer-container",` position: relative; position: absolute; left: 0; @@ -2777,7 +2777,7 @@ ${t} top: 0; bottom: 0; pointer-events: none; - `,[j("> *",{pointerEvents:"all"})]),z("drawer-mask",` + `,[V("> *",{pointerEvents:"all"})]),O("drawer-mask",` background-color: rgba(0, 0, 0, .3); position: absolute; left: 0; @@ -2786,13 +2786,13 @@ ${t} bottom: 0; `,[K("invisible",` background-color: rgba(0, 0, 0, 0) - `),Cu({enterDuration:"0.2s",leaveDuration:"0.2s",enterCubicBezier:"var(--n-bezier-in)",leaveCubicBezier:"var(--n-bezier-out)"})])]),WW=Object.assign(Object.assign({},Fe.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,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}),qW=pe({name:"Drawer",inheritAttrs:!1,props:WW,setup(e){const{mergedClsPrefixRef:t,namespaceRef:n,inlineThemeDisabled:o}=ct(e),r=Nr(),i=Fe("Drawer","-drawer",UW,RW,e,t),a=B(e.defaultWidth),s=B(e.defaultHeight),l=rn(Ne(e,"width"),a),c=rn(Ne(e,"height"),s),u=N(()=>{const{placement:_}=e;return _==="top"||_==="bottom"?"":Ut(l.value)}),d=N(()=>{const{placement:_}=e;return _==="left"||_==="right"?"":Ut(c.value)}),f=_=>{const{onUpdateWidth:x,"onUpdate:width":w}=e;x&&Re(x,_),w&&Re(w,_),a.value=_},p=_=>{const{onUpdateHeight:x,"onUpdate:width":w}=e;x&&Re(x,_),w&&Re(w,_),s.value=_},h=N(()=>[{width:u.value,height:d.value},e.drawerStyle||""]);function m(_){const{onMaskClick:x,maskClosable:w}=e;w&&y(!1),x&&x(_)}const v=nw();function g(_){var x;(x=e.onEsc)===null||x===void 0||x.call(e),e.show&&e.closeOnEsc&&MC(_)&&!v.value&&y(!1)}function y(_){const{onHide:x,onUpdateShow:w,"onUpdate:show":T}=e;w&&Re(w,_),T&&Re(T,_),x&&!_&&Re(x,_)}lt(_p,{isMountedRef:r,mergedThemeRef:i,mergedClsPrefixRef:t,doUpdateShow:y,doUpdateHeight:p,doUpdateWidth:f});const S=N(()=>{const{common:{cubicBezierEaseInOut:_,cubicBezierEaseIn:x,cubicBezierEaseOut:w},self:{color:T,textColor:P,boxShadow:k,lineHeight:I,headerPadding:A,footerPadding:q,bodyPadding:F,titleFontSize:O,titleTextColor:$,titleFontWeight:W,headerBorderBottom:Q,footerBorderTop:L,closeIconColor:M,closeIconColorHover:se,closeIconColorPressed:X,closeColorHover:ne,closeColorPressed:fe,closeIconSize:xe,closeSize:Ce,closeBorderRadius:G,resizableTriggerColorHover:ve}}=i.value;return{"--n-line-height":I,"--n-color":T,"--n-text-color":P,"--n-box-shadow":k,"--n-bezier":_,"--n-bezier-out":w,"--n-bezier-in":x,"--n-header-padding":A,"--n-body-padding":F,"--n-footer-padding":q,"--n-title-text-color":$,"--n-title-font-size":O,"--n-title-font-weight":W,"--n-header-border-bottom":Q,"--n-footer-border-top":L,"--n-close-icon-color":M,"--n-close-icon-color-hover":se,"--n-close-icon-color-pressed":X,"--n-close-size":Ce,"--n-close-color-hover":ne,"--n-close-color-pressed":fe,"--n-close-icon-size":xe,"--n-close-border-radius":G,"--n-resize-trigger-color-hover":ve}}),C=o?Rt("drawer",void 0,S,e):void 0;return{mergedClsPrefix:t,namespace:n,mergedBodyStyle:h,handleMaskClick:m,handleEsc:g,mergedTheme:i,cssVars:o?void 0:S,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender,isMounted:r}},render(){const{mergedClsPrefix:e}=this;return b(pu,{to:this.to,show:this.show},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),Cn(b("div",{class:[`${e}-drawer-container`,this.namespace,this.themeClass],style:this.cssVars,role:"none"},this.showMask?b(fn,{name:"fade-in-transition",appear:this.isMounted},{default:()=>this.show?b("div",{"aria-hidden":!0,class:[`${e}-drawer-mask`,this.showMask==="transparent"&&`${e}-drawer-mask--invisible`],onClick:this.handleMaskClick}):null}):null,b(AW,Object.assign({},this.$attrs,{class:[this.drawerClass,this.$attrs.class],style:[this.mergedBodyStyle,this.$attrs.style],blockScroll:this.blockScroll,contentStyle:this.contentStyle,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.handleMaskClick}),this.$slots)),[[hu,{zIndex:this.zIndex,enabled:this.show}]])}})}}),KW={title:{type:String},headerStyle:[Object,String],footerStyle:[Object,String],bodyStyle:[Object,String],bodyContentStyle:[Object,String],nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,closable:Boolean},GW=pe({name:"DrawerContent",props:KW,setup(){const e=He(_p,null);e||Fr("drawer-content","`n-drawer-content` must be placed inside `n-drawer`.");const{doUpdateShow:t}=e;function n(){t(!1)}return{handleCloseClick:n,mergedTheme:e.mergedThemeRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{title:e,mergedClsPrefix:t,nativeScrollbar:n,mergedTheme:o,bodyStyle:r,bodyContentStyle:i,headerStyle:a,footerStyle:s,scrollbarProps:l,closable:c,$slots:u}=this;return b("div",{role:"none",class:[`${t}-drawer-content`,n&&`${t}-drawer-content--native-scrollbar`]},u.header||e||c?b("div",{class:`${t}-drawer-header`,style:a,role:"none"},b("div",{class:`${t}-drawer-header__main`,role:"heading","aria-level":"1"},u.header!==void 0?u.header():e),c&&b(Ii,{onClick:this.handleCloseClick,clsPrefix:t,class:`${t}-drawer-header__close`,absolute:!0})):null,n?b("div",{class:`${t}-drawer-body`,style:r,role:"none"},b("div",{class:`${t}-drawer-body-content-wrapper`,style:i,role:"none"},u)):b(_o,Object.assign({themeOverrides:o.peerOverrides.Scrollbar,theme:o.peers.Scrollbar},l,{class:`${t}-drawer-body`,contentClass:`${t}-drawer-body-content-wrapper`,contentStyle:i}),u),u.footer?b("div",{class:`${t}-drawer-footer`,style:s,role:"none"},u.footer()):null)}}),YW={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},XW={name:"DynamicInput",common:Be,peers:{Input:lo,Button:Hn},self(){return YW}},QW=XW,$2={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},ZW={name:"Space",self(){return $2}},A2=ZW,JW=()=>$2,eq={name:"Space",self:JW},tq=eq;let Bd;const nq=()=>{if(!ir)return!0;if(Bd===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),Bd=t}return Bd},oq=Object.assign(Object.assign({},Fe.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,size:{type:[String,Number,Array],default:"medium"},wrapItem:{type:Boolean,default:!0},itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),Na=pe({name:"Space",props:oq,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=ct(e),o=Fe("Space","-space",void 0,tq,e,t),r=Rn("Space",n,t);return{useGap:nq(),rtlEnabled:r,mergedClsPrefix:t,margin:N(()=>{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:{[Pe("gap",i)]:a}}=o.value,{row:s,col:l}=kA(a);return{horizontal:wn(l),vertical:wn(s)}})}},render(){const{vertical:e,align:t,inline:n,justify:o,itemStyle:r,margin:i,wrap:a,mergedClsPrefix:s,rtlEnabled:l,useGap:c,wrapItem:u,internalUseGap:d}=this,f=ba(wC(this));if(!f.length)return null;const p=`${i.horizontal}px`,h=`${i.horizontal/2}px`,m=`${i.vertical}px`,v=`${i.vertical/2}px`,g=f.length-1,y=o.startsWith("space-");return b("div",{role:"none",class:[`${s}-space`,l&&`${s}-space--rtl`],style:{display:n?"inline-flex":"flex",flexDirection:e?"column":"row",justifyContent:["start","end"].includes(o)?"flex-"+o:o,flexWrap:!a||e?"nowrap":"wrap",marginTop:c||e?"":`-${v}`,marginBottom:c||e?"":`-${v}`,alignItems:t,gap:c?`${i.vertical}px ${i.horizontal}px`:""}},!u&&(c||d)?f:f.map((S,C)=>b("div",{role:"none",style:[r,{maxWidth:"100%"},c?"":e?{marginBottom:C!==g?m:""}:l?{marginLeft:y?o==="space-between"&&C===g?"":h:C!==g?p:"",marginRight:y?o==="space-between"&&C===0?"":h:"",paddingTop:v,paddingBottom:v}:{marginRight:y?o==="space-between"&&C===g?"":h:C!==g?p:"",marginLeft:y?o==="space-between"&&C===0?"":h:"",paddingTop:v,paddingBottom:v}]},S)))}}),rq={name:"DynamicTags",common:Be,peers:{Input:lo,Button:Hn,Tag:h_,Space:A2},self(){return{inputWidth:"64px"}}},iq=rq,aq={name:"Element",common:Be},sq=aq,lq={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"},cq=e=>{const{heightSmall:t,heightMedium:n,heightLarge:o,textColor1:r,errorColor:i,warningColor:a,lineHeight:s,textColor3:l}=e;return Object.assign(Object.assign({},lq),{blankHeightSmall:t,blankHeightMedium:n,blankHeightLarge:o,lineHeight:s,labelTextColor:r,asteriskColor:i,feedbackTextColorError:i,feedbackTextColorWarning:a,feedbackTextColor:l})},uq={name:"Form",common:Be,self:cq},dq=uq,fq={name:"GradientText",common:Be,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}}},hq=fq,pq=e=>{const{primaryColor:t,baseColor:n}=e;return{color:t,iconColor:n}},mq={name:"IconWrapper",common:Be,self:pq},gq=mq,vq={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"},I2=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:g,fontSize:y}=e;return Object.assign(Object.assign({},vq),{borderRadius:h,lineHeight:g,fontSize:y,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})},bq={name:"Notification",common:yt,peers:{Scrollbar:Oi},self:I2},yq=bq,xq={name:"Notification",common:Be,peers:{Scrollbar:Bn},self:I2},Cq=xq,wq={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"},M2=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({},wq),{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})},_q={name:"Message",common:yt,self:M2},Sq=_q,kq={name:"Message",common:Be,self:M2},Tq=kq,Pq={name:"ButtonGroup",common:Be},Rq=Pq,Eq={name:"InputNumber",common:Be,peers:{Button:Hn,Input:lo},self(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}},$q=Eq,Aq=e=>{const{textColorDisabled:t}=e;return{iconColorDisabled:t}},Iq={name:"InputNumber",common:yt,peers:{Button:_u,Input:Yp},self:Aq},Mq=Iq,zq={name:"Layout",common:Be,peers:{Scrollbar:Bn},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:Ye(n,a),siderToggleBarColorHover:Ye(n,s),__invertScrollbar:"false"}}},Oq=zq,Dq=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:Ye(o,s),siderToggleBarColorHover:Ye(o,l),__invertScrollbar:"true"}},Lq={name:"Layout",common:yt,peers:{Scrollbar:Oi},self:Dq},z2=Lq,O2=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:Ye(o,l),colorPopover:r,colorHoverPopover:Ye(r,l),borderColor:i,borderColorModal:Ye(o,i),borderColorPopover:Ye(r,i),borderRadius:a,fontSize:s}},Fq={name:"List",common:yt,self:O2},Nq=Fq,Bq={name:"List",common:Be,self:O2},Hq=Bq,jq={name:"LoadingBar",common:Be,self(e){const{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}},Vq=jq,Uq=e=>{const{primaryColor:t,errorColor:n}=e;return{colorError:n,colorLoading:t,height:"2px"}},Wq={name:"LoadingBar",common:yt,self:Uq},qq=Wq,Kq={name:"Log",common:Be,peers:{Scrollbar:Bn,Code:L_},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}}},Gq=Kq,Yq={name:"Mention",common:Be,peers:{InternalSelectMenu:ol,Input:lo},self(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}},Xq=Yq;function Qq(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 D2=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:Ae(o,{alpha:.1}),itemColorActiveHover:Ae(o,{alpha:.1}),itemColorActiveCollapsed:Ae(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},Qq("#BBB",o,"#FFF","#AAA"))},Zq={name:"Menu",common:yt,peers:{Tooltip:em,Dropdown:nm},self:D2},Jq=Zq,eK={name:"Menu",common:Be,peers:{Tooltip:Tu,Dropdown:om},self(e){const{primaryColor:t,primaryColorSuppl:n}=e,o=D2(e);return o.itemColorActive=Ae(t,{alpha:.15}),o.itemColorActiveHover=Ae(t,{alpha:.15}),o.itemColorActiveCollapsed=Ae(t,{alpha:.15}),o.itemColorActiveInverted=n,o.itemColorActiveHoverInverted=n,o.itemColorActiveCollapsedInverted=n,o}},tK=eK,nK={titleFontSize:"18px",backSize:"22px"};function oK(e){const{textColor1:t,textColor2:n,textColor3:o,fontSize:r,fontWeightStrong:i,primaryColorHover:a,primaryColorPressed:s}=e;return Object.assign(Object.assign({},nK),{titleFontWeight:i,fontSize:r,titleTextColor:t,backColor:n,backColorHover:a,backColorPressed:s,subtitleTextColor:o})}const rK={name:"PageHeader",common:Be,self:oK},iK={iconSize:"22px"},aK=e=>{const{fontSize:t,warningColor:n}=e;return Object.assign(Object.assign({},iK),{fontSize:t,iconColor:n})},sK={name:"Popconfirm",common:Be,peers:{Button:Hn,Popover:Di},self:aK},lK=sK,L2=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%)"}},cK={name:"Progress",common:yt,self:L2},uK=cK,dK={name:"Progress",common:Be,self(e){const t=L2(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}},F2=dK,fK={name:"Rate",common:Be,self(e){const{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},hK=fK,pK={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},N2=e=>{const{textColor2:t,textColor1:n,errorColor:o,successColor:r,infoColor:i,warningColor:a,lineHeight:s,fontWeightStrong:l}=e;return Object.assign(Object.assign({},pK),{lineHeight:s,titleFontWeight:l,titleTextColor:n,textColor:t,iconColorError:o,iconColorSuccess:r,iconColorInfo:i,iconColorWarning:a})},mK={name:"Result",common:yt,self:N2},gK=mK,vK={name:"Result",common:Be,self:N2},bK=vK,yK={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},xK={name:"Slider",common:Be,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({},yK),{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:""})}},CK=xK,wK=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}},_K={name:"Spin",common:Be,self:wK},SK=_K,kK=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}},TK={name:"Statistic",common:Be,self:kK},PK=TK,RK={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"},EK=e=>{const{fontWeightStrong:t,baseColor:n,textColorDisabled:o,primaryColor:r,errorColor:i,textColor1:a,textColor2:s}=e;return Object.assign(Object.assign({},RK),{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})},$K={name:"Steps",common:Be,self:EK},AK=$K,B2={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"},IK={name:"Switch",common:Be,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({},B2),{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 ${Ae(r,{alpha:.3})}`})}},MK=IK,zK=e=>{const{primaryColor:t,opacityDisabled:n,borderRadius:o,textColor3:r}=e,i="rgba(0, 0, 0, .14)";return Object.assign(Object.assign({},B2),{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 ${Ae(t,{alpha:.2})}`})},OK={name:"Switch",common:yt,self:zK},DK=OK,LK={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"},FK=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({},LK),{fontSizeSmall:f,fontSizeMedium:p,fontSizeLarge:h,lineHeight:d,borderRadius:c,borderColor:Ye(n,t),borderColorModal:Ye(o,t),borderColorPopover:Ye(r,t),tdColor:n,tdColorModal:o,tdColorPopover:r,tdColorStriped:Ye(n,a),tdColorStripedModal:Ye(o,a),tdColorStripedPopover:Ye(r,a),thColor:Ye(n,i),thColorModal:Ye(o,i),thColorPopover:Ye(r,i),thTextColor:s,tdTextColor:l,thFontWeight:u})},NK={name:"Table",common:Be,self:FK},BK=NK,HK={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"},jK=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({},HK),{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})},VK={name:"Tabs",common:Be,self(e){const t=jK(e),{inputColor:n}=e;return t.colorSegment=n,t.tabColorSegment=n,t}},UK=VK,WK=e=>{const{textColor1:t,textColor2:n,fontWeightStrong:o,fontSize:r}=e;return{fontSize:r,titleTextColor:t,textColor:n,titleFontWeight:o}},qK={name:"Thing",common:Be,self:WK},KK=qK,GK={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},YK={name:"Timeline",common:Be,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({},GK),{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})}},XK=YK,QK={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"},ZK={name:"Transfer",common:Be,peers:{Checkbox:Fa,Scrollbar:Bn,Input:lo,Empty:zi,Button:Hn},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:g,closeIconColorHover:y,closeIconColorPressed:S,dividerColor:C}=e;return Object.assign(Object.assign({},QK),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:i,fontSizeSmall:r,fontSizeMedium:o,fontSizeLarge:n,borderRadius:s,dividerColor:C,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:g,closeIconColorHover:y,closeIconColorPressed:S})}},JK=ZK,eG=e=>{const{borderRadiusSmall:t,hoverColor:n,pressedColor:o,primaryColor:r,textColor3:i,textColor2:a,textColorDisabled:s,fontSize:l}=e;return{fontSize:l,lineHeight:"1.5",nodeHeight:"30px",nodeWrapperPadding:"3px 0",nodeBorderRadius:t,nodeColorHover:n,nodeColorPressed:o,nodeColorActive:Ae(r,{alpha:.1}),arrowColor:i,nodeTextColor:a,nodeTextColorDisabled:s,loadingColor:r,dropMarkColor:r}},tG={name:"Tree",common:Be,peers:{Checkbox:Fa,Scrollbar:Bn,Empty:zi},self(e){const{primaryColor:t}=e,n=eG(e);return n.nodeColorActive=Ae(t,{alpha:.15}),n}},H2=tG,nG={name:"TreeSelect",common:Be,peers:{Tree:H2,Empty:zi,InternalSelection:Kp}},oG=nG,rG={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"},iG=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({},rG),{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"})},aG={name:"Typography",common:Be,self:iG},sG=aG,lG=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:Ae(o,{alpha:.06}),itemTextColor:r,itemTextColorError:o,itemTextColorSuccess:i,itemIconColor:t,itemDisabledOpacity:a,itemBorderImageCardError:`1px solid ${o}`,itemBorderImageCard:`1px solid ${l}`}},cG={name:"Upload",common:Be,peers:{Button:Hn,Progress:F2},self(e){const{errorColor:t}=e,n=lG(e);return n.itemColorHoverError=Ae(t,{alpha:.09}),n}},uG=cG,dG={name:"Watermark",common:Be,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},fG=dG,hG={name:"Row",common:Be},pG=hG,mG={name:"Image",common:Be,peers:{Tooltip:Tu},self:e=>{const{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}};function gG(e){return e==null||typeof e=="string"&&e.trim()===""?null:Number(e)}function vG(e){return e.includes(".")&&(/^(-)?\d+.*(\.|0)$/.test(e)||/^\.\d+$/.test(e))}function Hd(e){return e==null?!0:!Number.isNaN(e)}function B0(e,t){return e==null?"":t===void 0?String(e):e.toFixed(t)}function jd(e){if(e===null)return null;if(typeof e=="number")return e;{const t=Number(e);return Number.isNaN(t)?null:t}}const bG=j([z("input-number-suffix",` + `),Cu({enterDuration:"0.2s",leaveDuration:"0.2s",enterCubicBezier:"var(--n-bezier-in)",leaveCubicBezier:"var(--n-bezier-out)"})])]),qW=Object.assign(Object.assign({},Fe.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,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}),KW=pe({name:"Drawer",inheritAttrs:!1,props:qW,setup(e){const{mergedClsPrefixRef:t,namespaceRef:n,inlineThemeDisabled:o}=ct(e),r=Nr(),i=Fe("Drawer","-drawer",WW,EW,e,t),a=N(e.defaultWidth),s=N(e.defaultHeight),l=rn(Ne(e,"width"),a),c=rn(Ne(e,"height"),s),u=L(()=>{const{placement:_}=e;return _==="top"||_==="bottom"?"":Ut(l.value)}),d=L(()=>{const{placement:_}=e;return _==="left"||_==="right"?"":Ut(c.value)}),f=_=>{const{onUpdateWidth:x,"onUpdate:width":w}=e;x&&Re(x,_),w&&Re(w,_),a.value=_},p=_=>{const{onUpdateHeight:x,"onUpdate:width":w}=e;x&&Re(x,_),w&&Re(w,_),s.value=_},h=L(()=>[{width:u.value,height:d.value},e.drawerStyle||""]);function m(_){const{onMaskClick:x,maskClosable:w}=e;w&&y(!1),x&&x(_)}const v=ow();function g(_){var x;(x=e.onEsc)===null||x===void 0||x.call(e),e.show&&e.closeOnEsc&&zC(_)&&!v.value&&y(!1)}function y(_){const{onHide:x,onUpdateShow:w,"onUpdate:show":T}=e;w&&Re(w,_),T&&Re(T,_),x&&!_&&Re(x,_)}lt(_p,{isMountedRef:r,mergedThemeRef:i,mergedClsPrefixRef:t,doUpdateShow:y,doUpdateHeight:p,doUpdateWidth:f});const S=L(()=>{const{common:{cubicBezierEaseInOut:_,cubicBezierEaseIn:x,cubicBezierEaseOut:w},self:{color:T,textColor:P,boxShadow:k,lineHeight:A,headerPadding:I,footerPadding:W,bodyPadding:B,titleFontSize:z,titleTextColor:$,titleFontWeight:j,headerBorderBottom:X,footerBorderTop:F,closeIconColor:M,closeIconColorHover:se,closeIconColorPressed:Q,closeColorHover:ne,closeColorPressed:fe,closeIconSize:xe,closeSize:Ce,closeBorderRadius:G,resizableTriggerColorHover:ve}}=i.value;return{"--n-line-height":A,"--n-color":T,"--n-text-color":P,"--n-box-shadow":k,"--n-bezier":_,"--n-bezier-out":w,"--n-bezier-in":x,"--n-header-padding":I,"--n-body-padding":B,"--n-footer-padding":W,"--n-title-text-color":$,"--n-title-font-size":z,"--n-title-font-weight":j,"--n-header-border-bottom":X,"--n-footer-border-top":F,"--n-close-icon-color":M,"--n-close-icon-color-hover":se,"--n-close-icon-color-pressed":Q,"--n-close-size":Ce,"--n-close-color-hover":ne,"--n-close-color-pressed":fe,"--n-close-icon-size":xe,"--n-close-border-radius":G,"--n-resize-trigger-color-hover":ve}}),C=o?Rt("drawer",void 0,S,e):void 0;return{mergedClsPrefix:t,namespace:n,mergedBodyStyle:h,handleMaskClick:m,handleEsc:g,mergedTheme:i,cssVars:o?void 0:S,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender,isMounted:r}},render(){const{mergedClsPrefix:e}=this;return b(pu,{to:this.to,show:this.show},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),Cn(b("div",{class:[`${e}-drawer-container`,this.namespace,this.themeClass],style:this.cssVars,role:"none"},this.showMask?b(fn,{name:"fade-in-transition",appear:this.isMounted},{default:()=>this.show?b("div",{"aria-hidden":!0,class:[`${e}-drawer-mask`,this.showMask==="transparent"&&`${e}-drawer-mask--invisible`],onClick:this.handleMaskClick}):null}):null,b(IW,Object.assign({},this.$attrs,{class:[this.drawerClass,this.$attrs.class],style:[this.mergedBodyStyle,this.$attrs.style],blockScroll:this.blockScroll,contentStyle:this.contentStyle,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.handleMaskClick}),this.$slots)),[[hu,{zIndex:this.zIndex,enabled:this.show}]])}})}}),GW={title:{type:String},headerStyle:[Object,String],footerStyle:[Object,String],bodyStyle:[Object,String],bodyContentStyle:[Object,String],nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,closable:Boolean},YW=pe({name:"DrawerContent",props:GW,setup(){const e=He(_p,null);e||Fr("drawer-content","`n-drawer-content` must be placed inside `n-drawer`.");const{doUpdateShow:t}=e;function n(){t(!1)}return{handleCloseClick:n,mergedTheme:e.mergedThemeRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{title:e,mergedClsPrefix:t,nativeScrollbar:n,mergedTheme:o,bodyStyle:r,bodyContentStyle:i,headerStyle:a,footerStyle:s,scrollbarProps:l,closable:c,$slots:u}=this;return b("div",{role:"none",class:[`${t}-drawer-content`,n&&`${t}-drawer-content--native-scrollbar`]},u.header||e||c?b("div",{class:`${t}-drawer-header`,style:a,role:"none"},b("div",{class:`${t}-drawer-header__main`,role:"heading","aria-level":"1"},u.header!==void 0?u.header():e),c&&b(Ii,{onClick:this.handleCloseClick,clsPrefix:t,class:`${t}-drawer-header__close`,absolute:!0})):null,n?b("div",{class:`${t}-drawer-body`,style:r,role:"none"},b("div",{class:`${t}-drawer-body-content-wrapper`,style:i,role:"none"},u)):b(_o,Object.assign({themeOverrides:o.peerOverrides.Scrollbar,theme:o.peers.Scrollbar},l,{class:`${t}-drawer-body`,contentClass:`${t}-drawer-body-content-wrapper`,contentStyle:i}),u),u.footer?b("div",{class:`${t}-drawer-footer`,style:s,role:"none"},u.footer()):null)}}),XW={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},QW={name:"DynamicInput",common:Be,peers:{Input:lo,Button:Hn},self(){return XW}},ZW=QW,A2={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},JW={name:"Space",self(){return A2}},I2=JW,eq=()=>A2,tq={name:"Space",self:eq},nq=tq;let Bd;const oq=()=>{if(!ir)return!0;if(Bd===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),Bd=t}return Bd},rq=Object.assign(Object.assign({},Fe.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,size:{type:[String,Number,Array],default:"medium"},wrapItem:{type:Boolean,default:!0},itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),Na=pe({name:"Space",props:rq,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=ct(e),o=Fe("Space","-space",void 0,nq,e,t),r=Rn("Space",n,t);return{useGap:oq(),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:{[Pe("gap",i)]:a}}=o.value,{row:s,col:l}=TA(a);return{horizontal:wn(l),vertical:wn(s)}})}},render(){const{vertical:e,align:t,inline:n,justify:o,itemStyle:r,margin:i,wrap:a,mergedClsPrefix:s,rtlEnabled:l,useGap:c,wrapItem:u,internalUseGap:d}=this,f=ba(_C(this));if(!f.length)return null;const p=`${i.horizontal}px`,h=`${i.horizontal/2}px`,m=`${i.vertical}px`,v=`${i.vertical/2}px`,g=f.length-1,y=o.startsWith("space-");return b("div",{role:"none",class:[`${s}-space`,l&&`${s}-space--rtl`],style:{display:n?"inline-flex":"flex",flexDirection:e?"column":"row",justifyContent:["start","end"].includes(o)?"flex-"+o:o,flexWrap:!a||e?"nowrap":"wrap",marginTop:c||e?"":`-${v}`,marginBottom:c||e?"":`-${v}`,alignItems:t,gap:c?`${i.vertical}px ${i.horizontal}px`:""}},!u&&(c||d)?f:f.map((S,C)=>b("div",{role:"none",style:[r,{maxWidth:"100%"},c?"":e?{marginBottom:C!==g?m:""}:l?{marginLeft:y?o==="space-between"&&C===g?"":h:C!==g?p:"",marginRight:y?o==="space-between"&&C===0?"":h:"",paddingTop:v,paddingBottom:v}:{marginRight:y?o==="space-between"&&C===g?"":h:C!==g?p:"",marginLeft:y?o==="space-between"&&C===0?"":h:"",paddingTop:v,paddingBottom:v}]},S)))}}),iq={name:"DynamicTags",common:Be,peers:{Input:lo,Button:Hn,Tag:p_,Space:I2},self(){return{inputWidth:"64px"}}},aq=iq,sq={name:"Element",common:Be},lq=sq,cq={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"},uq=e=>{const{heightSmall:t,heightMedium:n,heightLarge:o,textColor1:r,errorColor:i,warningColor:a,lineHeight:s,textColor3:l}=e;return Object.assign(Object.assign({},cq),{blankHeightSmall:t,blankHeightMedium:n,blankHeightLarge:o,lineHeight:s,labelTextColor:r,asteriskColor:i,feedbackTextColorError:i,feedbackTextColorWarning:a,feedbackTextColor:l})},dq={name:"Form",common:Be,self:uq},fq=dq,hq={name:"GradientText",common:Be,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}}},pq=hq,mq=e=>{const{primaryColor:t,baseColor:n}=e;return{color:t,iconColor:n}},gq={name:"IconWrapper",common:Be,self:mq},vq=gq,bq={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"},M2=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:g,fontSize:y}=e;return Object.assign(Object.assign({},bq),{borderRadius:h,lineHeight:g,fontSize:y,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})},yq={name:"Notification",common:yt,peers:{Scrollbar:Oi},self:M2},xq=yq,Cq={name:"Notification",common:Be,peers:{Scrollbar:Bn},self:M2},wq=Cq,_q={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"},z2=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({},_q),{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})},Sq={name:"Message",common:yt,self:z2},kq=Sq,Tq={name:"Message",common:Be,self:z2},Pq=Tq,Rq={name:"ButtonGroup",common:Be},Eq=Rq,$q={name:"InputNumber",common:Be,peers:{Button:Hn,Input:lo},self(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}},Aq=$q,Iq=e=>{const{textColorDisabled:t}=e;return{iconColorDisabled:t}},Mq={name:"InputNumber",common:yt,peers:{Button:_u,Input:Yp},self:Iq},zq=Mq,Oq={name:"Layout",common:Be,peers:{Scrollbar:Bn},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:Ye(n,a),siderToggleBarColorHover:Ye(n,s),__invertScrollbar:"false"}}},Dq=Oq,Lq=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:Ye(o,s),siderToggleBarColorHover:Ye(o,l),__invertScrollbar:"true"}},Fq={name:"Layout",common:yt,peers:{Scrollbar:Oi},self:Lq},O2=Fq,D2=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:Ye(o,l),colorPopover:r,colorHoverPopover:Ye(r,l),borderColor:i,borderColorModal:Ye(o,i),borderColorPopover:Ye(r,i),borderRadius:a,fontSize:s}},Nq={name:"List",common:yt,self:D2},Bq=Nq,Hq={name:"List",common:Be,self:D2},jq=Hq,Vq={name:"LoadingBar",common:Be,self(e){const{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}},Uq=Vq,Wq=e=>{const{primaryColor:t,errorColor:n}=e;return{colorError:n,colorLoading:t,height:"2px"}},qq={name:"LoadingBar",common:yt,self:Wq},Kq=qq,Gq={name:"Log",common:Be,peers:{Scrollbar:Bn,Code:F_},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}}},Yq=Gq,Xq={name:"Mention",common:Be,peers:{InternalSelectMenu:ol,Input:lo},self(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}},Qq=Xq;function Zq(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 L2=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:Ae(o,{alpha:.1}),itemColorActiveHover:Ae(o,{alpha:.1}),itemColorActiveCollapsed:Ae(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},Zq("#BBB",o,"#FFF","#AAA"))},Jq={name:"Menu",common:yt,peers:{Tooltip:em,Dropdown:nm},self:L2},eK=Jq,tK={name:"Menu",common:Be,peers:{Tooltip:Tu,Dropdown:om},self(e){const{primaryColor:t,primaryColorSuppl:n}=e,o=L2(e);return o.itemColorActive=Ae(t,{alpha:.15}),o.itemColorActiveHover=Ae(t,{alpha:.15}),o.itemColorActiveCollapsed=Ae(t,{alpha:.15}),o.itemColorActiveInverted=n,o.itemColorActiveHoverInverted=n,o.itemColorActiveCollapsedInverted=n,o}},nK=tK,oK={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({},oK),{titleFontWeight:i,fontSize:r,titleTextColor:t,backColor:n,backColorHover:a,backColorPressed:s,subtitleTextColor:o})}const iK={name:"PageHeader",common:Be,self:rK},aK={iconSize:"22px"},sK=e=>{const{fontSize:t,warningColor:n}=e;return Object.assign(Object.assign({},aK),{fontSize:t,iconColor:n})},lK={name:"Popconfirm",common:Be,peers:{Button:Hn,Popover:Di},self:sK},cK=lK,F2=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%)"}},uK={name:"Progress",common:yt,self:F2},dK=uK,fK={name:"Progress",common:Be,self(e){const t=F2(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}},N2=fK,hK={name:"Rate",common:Be,self(e){const{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},pK=hK,mK={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},B2=e=>{const{textColor2:t,textColor1:n,errorColor:o,successColor:r,infoColor:i,warningColor:a,lineHeight:s,fontWeightStrong:l}=e;return Object.assign(Object.assign({},mK),{lineHeight:s,titleFontWeight:l,titleTextColor:n,textColor:t,iconColorError:o,iconColorSuccess:r,iconColorInfo:i,iconColorWarning:a})},gK={name:"Result",common:yt,self:B2},vK=gK,bK={name:"Result",common:Be,self:B2},yK=bK,xK={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},CK={name:"Slider",common:Be,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({},xK),{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:""})}},wK=CK,_K=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}},SK={name:"Spin",common:Be,self:_K},kK=SK,TK=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}},PK={name:"Statistic",common:Be,self:TK},RK=PK,EK={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"},$K=e=>{const{fontWeightStrong:t,baseColor:n,textColorDisabled:o,primaryColor:r,errorColor:i,textColor1:a,textColor2:s}=e;return Object.assign(Object.assign({},EK),{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})},AK={name:"Steps",common:Be,self:$K},IK=AK,H2={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"},MK={name:"Switch",common:Be,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({},H2),{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 ${Ae(r,{alpha:.3})}`})}},zK=MK,OK=e=>{const{primaryColor:t,opacityDisabled:n,borderRadius:o,textColor3:r}=e,i="rgba(0, 0, 0, .14)";return Object.assign(Object.assign({},H2),{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 ${Ae(t,{alpha:.2})}`})},DK={name:"Switch",common:yt,self:OK},LK=DK,FK={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"},NK=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({},FK),{fontSizeSmall:f,fontSizeMedium:p,fontSizeLarge:h,lineHeight:d,borderRadius:c,borderColor:Ye(n,t),borderColorModal:Ye(o,t),borderColorPopover:Ye(r,t),tdColor:n,tdColorModal:o,tdColorPopover:r,tdColorStriped:Ye(n,a),tdColorStripedModal:Ye(o,a),tdColorStripedPopover:Ye(r,a),thColor:Ye(n,i),thColorModal:Ye(o,i),thColorPopover:Ye(r,i),thTextColor:s,tdTextColor:l,thFontWeight:u})},BK={name:"Table",common:Be,self:NK},HK=BK,jK={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"},VK=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({},jK),{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})},UK={name:"Tabs",common:Be,self(e){const t=VK(e),{inputColor:n}=e;return t.colorSegment=n,t.tabColorSegment=n,t}},WK=UK,qK=e=>{const{textColor1:t,textColor2:n,fontWeightStrong:o,fontSize:r}=e;return{fontSize:r,titleTextColor:t,textColor:n,titleFontWeight:o}},KK={name:"Thing",common:Be,self:qK},GK=KK,YK={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},XK={name:"Timeline",common:Be,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({},YK),{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})}},QK=XK,ZK={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"},JK={name:"Transfer",common:Be,peers:{Checkbox:Fa,Scrollbar:Bn,Input:lo,Empty:zi,Button:Hn},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:g,closeIconColorHover:y,closeIconColorPressed:S,dividerColor:C}=e;return Object.assign(Object.assign({},ZK),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:i,fontSizeSmall:r,fontSizeMedium:o,fontSizeLarge:n,borderRadius:s,dividerColor:C,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:g,closeIconColorHover:y,closeIconColorPressed:S})}},eG=JK,tG=e=>{const{borderRadiusSmall:t,hoverColor:n,pressedColor:o,primaryColor:r,textColor3:i,textColor2:a,textColorDisabled:s,fontSize:l}=e;return{fontSize:l,lineHeight:"1.5",nodeHeight:"30px",nodeWrapperPadding:"3px 0",nodeBorderRadius:t,nodeColorHover:n,nodeColorPressed:o,nodeColorActive:Ae(r,{alpha:.1}),arrowColor:i,nodeTextColor:a,nodeTextColorDisabled:s,loadingColor:r,dropMarkColor:r}},nG={name:"Tree",common:Be,peers:{Checkbox:Fa,Scrollbar:Bn,Empty:zi},self(e){const{primaryColor:t}=e,n=tG(e);return n.nodeColorActive=Ae(t,{alpha:.15}),n}},j2=nG,oG={name:"TreeSelect",common:Be,peers:{Tree:j2,Empty:zi,InternalSelection:Kp}},rG=oG,iG={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({},iG),{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"})},sG={name:"Typography",common:Be,self:aG},lG=sG,cG=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:Ae(o,{alpha:.06}),itemTextColor:r,itemTextColorError:o,itemTextColorSuccess:i,itemIconColor:t,itemDisabledOpacity:a,itemBorderImageCardError:`1px solid ${o}`,itemBorderImageCard:`1px solid ${l}`}},uG={name:"Upload",common:Be,peers:{Button:Hn,Progress:N2},self(e){const{errorColor:t}=e,n=cG(e);return n.itemColorHoverError=Ae(t,{alpha:.09}),n}},dG=uG,fG={name:"Watermark",common:Be,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},hG=fG,pG={name:"Row",common:Be},mG=pG,gG={name:"Image",common:Be,peers:{Tooltip:Tu},self:e=>{const{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}};function vG(e){return e==null||typeof e=="string"&&e.trim()===""?null:Number(e)}function bG(e){return e.includes(".")&&(/^(-)?\d+.*(\.|0)$/.test(e)||/^\.\d+$/.test(e))}function Hd(e){return e==null?!0:!Number.isNaN(e)}function H0(e,t){return e==null?"":t===void 0?String(e):e.toFixed(t)}function jd(e){if(e===null)return null;if(typeof e=="number")return e;{const t=Number(e);return Number.isNaN(t)?null:t}}const yG=V([O("input-number-suffix",` display: inline-block; margin-right: 10px; - `),z("input-number-prefix",` + `),O("input-number-prefix",` display: inline-block; margin-left: 10px; - `)]),H0=800,j0=100,yG=Object.assign(Object.assign({},Fe.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"},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]}),xG=pe({name:"InputNumber",props:yG,setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:n,mergedRtlRef:o}=ct(e),r=Fe("InputNumber","-input-number",bG,Mq,e,n),{localeRef:i}=Pi("InputNumber"),a=ar(e),{mergedSizeRef:s,mergedDisabledRef:l,mergedStatusRef:c}=a,u=B(null),d=B(null),f=B(null),p=B(e.defaultValue),h=Ne(e,"value"),m=rn(h,p),v=B(""),g=Y=>{const he=String(Y).split(".")[1];return he?he.length:0},y=Y=>{const he=[e.min,e.max,e.step,Y].map(ye=>ye===void 0?0:g(ye));return Math.max(...he)},S=wt(()=>{const{placeholder:Y}=e;return Y!==void 0?Y:i.value.placeholder}),C=wt(()=>{const Y=jd(e.step);return Y!==null?Y===0?1:Math.abs(Y):1}),_=wt(()=>{const Y=jd(e.min);return Y!==null?Y:null}),x=wt(()=>{const Y=jd(e.max);return Y!==null?Y:null}),w=Y=>{const{value:he}=m;if(Y===he){P();return}const{"onUpdate:value":ye,onUpdateValue:ge,onChange:J}=e,{nTriggerFormInput:de,nTriggerFormChange:_e}=a;J&&Re(J,Y),ge&&Re(ge,Y),ye&&Re(ye,Y),p.value=Y,de(),_e()},T=({offset:Y,doUpdateIfValid:he,fixPrecision:ye,isInputing:ge})=>{const{value:J}=v;if(ge&&vG(J))return!1;const de=(e.parse||gG)(J);if(de===null)return he&&w(null),null;if(Hd(de)){const _e=g(de),{precision:te}=e;if(te!==void 0&&te<_e&&!ye)return!1;let oe=parseFloat((de+Y).toFixed(te??y(de)));if(Hd(oe)){const{value:Ee}=x,{value:De}=_;if(Ee!==null&&oe>Ee){if(!he||ge)return!1;oe=Ee}if(De!==null&&oe{const{value:Y}=m;if(Hd(Y)){const{format:he,precision:ye}=e;he?v.value=he(Y):Y===null||ye===void 0||g(Y)>ye?v.value=B0(Y,void 0):v.value=B0(Y,ye)}else v.value=String(Y)};P();const k=wt(()=>T({offset:0,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})===!1),I=wt(()=>{const{value:Y}=m;if(e.validator&&Y===null)return!1;const{value:he}=C;return T({offset:-he,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1}),A=wt(()=>{const{value:Y}=m;if(e.validator&&Y===null)return!1;const{value:he}=C;return T({offset:+he,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1});function q(Y){const{onFocus:he}=e,{nTriggerFormFocus:ye}=a;he&&Re(he,Y),ye()}function F(Y){var he,ye;if(Y.target===((he=u.value)===null||he===void 0?void 0:he.wrapperElRef))return;const ge=T({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});if(ge!==!1){const _e=(ye=u.value)===null||ye===void 0?void 0:ye.inputElRef;_e&&(_e.value=String(ge||"")),m.value===ge&&P()}else P();const{onBlur:J}=e,{nTriggerFormBlur:de}=a;J&&Re(J,Y),de(),jt(()=>{P()})}function O(Y){const{onClear:he}=e;he&&Re(he,Y)}function $(){const{value:Y}=A;if(!Y){G();return}const{value:he}=m;if(he===null)e.validator||w(M());else{const{value:ye}=C;T({offset:ye,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function W(){const{value:Y}=I;if(!Y){Ce();return}const{value:he}=m;if(he===null)e.validator||w(M());else{const{value:ye}=C;T({offset:-ye,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}const Q=q,L=F;function M(){if(e.validator)return null;const{value:Y}=_,{value:he}=x;return Y!==null?Math.max(0,Y):he!==null?Math.min(0,he):0}function se(Y){O(Y),w(null)}function X(Y){var he,ye,ge;!((he=f.value)===null||he===void 0)&&he.$el.contains(Y.target)&&Y.preventDefault(),!((ye=d.value)===null||ye===void 0)&&ye.$el.contains(Y.target)&&Y.preventDefault(),(ge=u.value)===null||ge===void 0||ge.activate()}let ne=null,fe=null,xe=null;function Ce(){xe&&(window.clearTimeout(xe),xe=null),ne&&(window.clearInterval(ne),ne=null)}function G(){ue&&(window.clearTimeout(ue),ue=null),fe&&(window.clearInterval(fe),fe=null)}function ve(){Ce(),xe=window.setTimeout(()=>{ne=window.setInterval(()=>{W()},j0)},H0),At("mouseup",document,Ce,{once:!0})}let ue=null;function re(){G(),ue=window.setTimeout(()=>{fe=window.setInterval(()=>{$()},j0)},H0),At("mouseup",document,G,{once:!0})}const ke=()=>{fe||$()},V=()=>{ne||W()};function R(Y){var he,ye;if(Y.key==="Enter"){if(Y.target===((he=u.value)===null||he===void 0?void 0:he.wrapperElRef))return;T({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&((ye=u.value)===null||ye===void 0||ye.deactivate())}else if(Y.key==="ArrowUp"){if(!A.value||e.keyboard.ArrowUp===!1)return;Y.preventDefault(),T({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&$()}else if(Y.key==="ArrowDown"){if(!I.value||e.keyboard.ArrowDown===!1)return;Y.preventDefault(),T({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&W()}}function E(Y){v.value=Y,e.updateValueOnInput&&!e.format&&!e.parse&&e.precision===void 0&&T({offset:0,doUpdateIfValid:!0,isInputing:!0,fixPrecision:!1})}ht(m,()=>{P()});const U={focus:()=>{var Y;return(Y=u.value)===null||Y===void 0?void 0:Y.focus()},blur:()=>{var Y;return(Y=u.value)===null||Y===void 0?void 0:Y.blur()},select:()=>{var Y;return(Y=u.value)===null||Y===void 0?void 0:Y.select()}},ie=Rn("InputNumber",o,n);return Object.assign(Object.assign({},U),{rtlEnabled:ie,inputInstRef:u,minusButtonInstRef:d,addButtonInstRef:f,mergedClsPrefix:n,mergedBordered:t,uncontrolledValue:p,mergedValue:m,mergedPlaceholder:S,displayedValueInvalid:k,mergedSize:s,mergedDisabled:l,displayedValue:v,addable:A,minusable:I,mergedStatus:c,handleFocus:Q,handleBlur:L,handleClear:se,handleMouseDown:X,handleAddClick:ke,handleMinusClick:V,handleAddMousedown:re,handleMinusMousedown:ve,handleKeyDown:R,handleUpdateDisplayedValue:E,mergedTheme:r,inputThemeOverrides:{paddingSmall:"0 8px 0 10px",paddingMedium:"0 8px 0 12px",paddingLarge:"0 8px 0 14px"},buttonThemeOverrides:N(()=>{const{self:{iconColorDisabled:Y}}=r.value,[he,ye,ge,J]=No(Y);return{textColorTextDisabled:`rgb(${he}, ${ye}, ${ge})`,opacityDisabled:`${J}`}})})},render(){const{mergedClsPrefix:e,$slots:t}=this,n=()=>b(S0,{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:()=>Pn(t["minus-icon"],()=>[b(Bt,{clsPrefix:e},{default:()=>b(wN,null)})])}),o=()=>b(S0,{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:()=>Pn(t["add-icon"],()=>[b(Bt,{clsPrefix:e},{default:()=>b(pN,null)})])});return b("div",{class:[`${e}-input-number`,this.rtlEnabled&&`${e}-input-number--rtl`]},b(Co,{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,internalLoadingBeforeSuffix:!0},{prefix:()=>{var r;return this.showButton&&this.buttonPlacement==="both"?[n(),Ot(t.prefix,i=>i?b("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?[Ot(t.suffix,i=>i?b("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)}}))}}),j2="n-layout-sider",V2={type:String,default:"static"},CG=z("layout",` + `)]),j0=800,V0=100,xG=Object.assign(Object.assign({},Fe.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"},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]}),CG=pe({name:"InputNumber",props:xG,setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:n,mergedRtlRef:o}=ct(e),r=Fe("InputNumber","-input-number",yG,zq,e,n),{localeRef:i}=Pi("InputNumber"),a=ar(e),{mergedSizeRef:s,mergedDisabledRef:l,mergedStatusRef:c}=a,u=N(null),d=N(null),f=N(null),p=N(e.defaultValue),h=Ne(e,"value"),m=rn(h,p),v=N(""),g=Y=>{const he=String(Y).split(".")[1];return he?he.length:0},y=Y=>{const he=[e.min,e.max,e.step,Y].map(ye=>ye===void 0?0:g(ye));return Math.max(...he)},S=wt(()=>{const{placeholder:Y}=e;return Y!==void 0?Y:i.value.placeholder}),C=wt(()=>{const Y=jd(e.step);return Y!==null?Y===0?1:Math.abs(Y):1}),_=wt(()=>{const Y=jd(e.min);return Y!==null?Y:null}),x=wt(()=>{const Y=jd(e.max);return Y!==null?Y:null}),w=Y=>{const{value:he}=m;if(Y===he){P();return}const{"onUpdate:value":ye,onUpdateValue:ge,onChange:J}=e,{nTriggerFormInput:de,nTriggerFormChange:_e}=a;J&&Re(J,Y),ge&&Re(ge,Y),ye&&Re(ye,Y),p.value=Y,de(),_e()},T=({offset:Y,doUpdateIfValid:he,fixPrecision:ye,isInputing:ge})=>{const{value:J}=v;if(ge&&bG(J))return!1;const de=(e.parse||vG)(J);if(de===null)return he&&w(null),null;if(Hd(de)){const _e=g(de),{precision:te}=e;if(te!==void 0&&te<_e&&!ye)return!1;let oe=parseFloat((de+Y).toFixed(te??y(de)));if(Hd(oe)){const{value:Ee}=x,{value:De}=_;if(Ee!==null&&oe>Ee){if(!he||ge)return!1;oe=Ee}if(De!==null&&oe{const{value:Y}=m;if(Hd(Y)){const{format:he,precision:ye}=e;he?v.value=he(Y):Y===null||ye===void 0||g(Y)>ye?v.value=H0(Y,void 0):v.value=H0(Y,ye)}else v.value=String(Y)};P();const k=wt(()=>T({offset:0,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})===!1),A=wt(()=>{const{value:Y}=m;if(e.validator&&Y===null)return!1;const{value:he}=C;return T({offset:-he,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1}),I=wt(()=>{const{value:Y}=m;if(e.validator&&Y===null)return!1;const{value:he}=C;return T({offset:+he,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1});function W(Y){const{onFocus:he}=e,{nTriggerFormFocus:ye}=a;he&&Re(he,Y),ye()}function B(Y){var he,ye;if(Y.target===((he=u.value)===null||he===void 0?void 0:he.wrapperElRef))return;const ge=T({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});if(ge!==!1){const _e=(ye=u.value)===null||ye===void 0?void 0:ye.inputElRef;_e&&(_e.value=String(ge||"")),m.value===ge&&P()}else P();const{onBlur:J}=e,{nTriggerFormBlur:de}=a;J&&Re(J,Y),de(),jt(()=>{P()})}function z(Y){const{onClear:he}=e;he&&Re(he,Y)}function $(){const{value:Y}=I;if(!Y){G();return}const{value:he}=m;if(he===null)e.validator||w(M());else{const{value:ye}=C;T({offset:ye,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function j(){const{value:Y}=A;if(!Y){Ce();return}const{value:he}=m;if(he===null)e.validator||w(M());else{const{value:ye}=C;T({offset:-ye,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}const X=W,F=B;function M(){if(e.validator)return null;const{value:Y}=_,{value:he}=x;return Y!==null?Math.max(0,Y):he!==null?Math.min(0,he):0}function se(Y){z(Y),w(null)}function Q(Y){var he,ye,ge;!((he=f.value)===null||he===void 0)&&he.$el.contains(Y.target)&&Y.preventDefault(),!((ye=d.value)===null||ye===void 0)&&ye.$el.contains(Y.target)&&Y.preventDefault(),(ge=u.value)===null||ge===void 0||ge.activate()}let ne=null,fe=null,xe=null;function Ce(){xe&&(window.clearTimeout(xe),xe=null),ne&&(window.clearInterval(ne),ne=null)}function G(){ue&&(window.clearTimeout(ue),ue=null),fe&&(window.clearInterval(fe),fe=null)}function ve(){Ce(),xe=window.setTimeout(()=>{ne=window.setInterval(()=>{j()},V0)},j0),At("mouseup",document,Ce,{once:!0})}let ue=null;function re(){G(),ue=window.setTimeout(()=>{fe=window.setInterval(()=>{$()},V0)},j0),At("mouseup",document,G,{once:!0})}const ke=()=>{fe||$()},U=()=>{ne||j()};function R(Y){var he,ye;if(Y.key==="Enter"){if(Y.target===((he=u.value)===null||he===void 0?void 0:he.wrapperElRef))return;T({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&((ye=u.value)===null||ye===void 0||ye.deactivate())}else if(Y.key==="ArrowUp"){if(!I.value||e.keyboard.ArrowUp===!1)return;Y.preventDefault(),T({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&$()}else if(Y.key==="ArrowDown"){if(!A.value||e.keyboard.ArrowDown===!1)return;Y.preventDefault(),T({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&j()}}function E(Y){v.value=Y,e.updateValueOnInput&&!e.format&&!e.parse&&e.precision===void 0&&T({offset:0,doUpdateIfValid:!0,isInputing:!0,fixPrecision:!1})}ht(m,()=>{P()});const q={focus:()=>{var Y;return(Y=u.value)===null||Y===void 0?void 0:Y.focus()},blur:()=>{var Y;return(Y=u.value)===null||Y===void 0?void 0:Y.blur()},select:()=>{var Y;return(Y=u.value)===null||Y===void 0?void 0:Y.select()}},ie=Rn("InputNumber",o,n);return Object.assign(Object.assign({},q),{rtlEnabled:ie,inputInstRef:u,minusButtonInstRef:d,addButtonInstRef:f,mergedClsPrefix:n,mergedBordered:t,uncontrolledValue:p,mergedValue:m,mergedPlaceholder:S,displayedValueInvalid:k,mergedSize:s,mergedDisabled:l,displayedValue:v,addable:I,minusable:A,mergedStatus:c,handleFocus:X,handleBlur:F,handleClear:se,handleMouseDown:Q,handleAddClick:ke,handleMinusClick:U,handleAddMousedown:re,handleMinusMousedown:ve,handleKeyDown:R,handleUpdateDisplayedValue:E,mergedTheme:r,inputThemeOverrides:{paddingSmall:"0 8px 0 10px",paddingMedium:"0 8px 0 12px",paddingLarge:"0 8px 0 14px"},buttonThemeOverrides:L(()=>{const{self:{iconColorDisabled:Y}}=r.value,[he,ye,ge,J]=No(Y);return{textColorTextDisabled:`rgb(${he}, ${ye}, ${ge})`,opacityDisabled:`${J}`}})})},render(){const{mergedClsPrefix:e,$slots:t}=this,n=()=>b(k0,{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:()=>Pn(t["minus-icon"],()=>[b(Bt,{clsPrefix:e},{default:()=>b(_N,null)})])}),o=()=>b(k0,{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:()=>Pn(t["add-icon"],()=>[b(Bt,{clsPrefix:e},{default:()=>b(mN,null)})])});return b("div",{class:[`${e}-input-number`,this.rtlEnabled&&`${e}-input-number--rtl`]},b(Co,{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,internalLoadingBeforeSuffix:!0},{prefix:()=>{var r;return this.showButton&&this.buttonPlacement==="both"?[n(),Ot(t.prefix,i=>i?b("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?[Ot(t.suffix,i=>i?b("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)}}))}}),V2="n-layout-sider",U2={type:String,default:"static"},wG=O("layout",` color: var(--n-text-color); background-color: var(--n-color); box-sizing: border-box; @@ -2804,7 +2804,7 @@ ${t} box-shadow .3s var(--n-bezier), background-color .3s var(--n-bezier), color .3s var(--n-bezier); -`,[z("layout-scroll-container",` +`,[O("layout-scroll-container",` overflow-x: hidden; box-sizing: border-box; height: 100%; @@ -2814,7 +2814,7 @@ ${t} right: 0; top: 0; bottom: 0; - `)]),wG={embedded:Boolean,position:V2,nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,onScroll:Function,contentStyle:{type:[String,Object],default:""},hasSider:Boolean,siderPlacement:{type:String,default:"left"}},U2="n-layout";function _G(e){return pe({name:e?"LayoutContent":"Layout",props:Object.assign(Object.assign({},Fe.props),wG),setup(t){const n=B(null),o=B(null),{mergedClsPrefixRef:r,inlineThemeDisabled:i}=ct(t),a=Fe("Layout","-layout",CG,z2,t,r);function s(m,v){if(t.nativeScrollbar){const{value:g}=n;g&&(v===void 0?g.scrollTo(m):g.scrollTo(m,v))}else{const{value:g}=o;g&&g.scrollTo(m,v)}}lt(U2,t);let l=0,c=0;const u=m=>{var v;const g=m.target;l=g.scrollLeft,c=g.scrollTop,(v=t.onScroll)===null||v===void 0||v.call(t,m)};Ap(()=>{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=N(()=>{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?Rt("layout",N(()=>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 b("div",{class:i,style:this.cssVars},this.nativeScrollbar?b("div",{ref:"scrollableElRef",class:`${n}-layout-scroll-container`,style:[this.contentStyle,r],onScroll:this.handleNativeElScroll},this.$slots):b(_o,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentStyle:[this.contentStyle,r]}),this.$slots))}})}const SG=_G(!1),kG=z("layout-sider",` + `)]),_G={embedded:Boolean,position:U2,nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,onScroll:Function,contentStyle:{type:[String,Object],default:""},hasSider:Boolean,siderPlacement:{type:String,default:"left"}},W2="n-layout";function SG(e){return pe({name:e?"LayoutContent":"Layout",props:Object.assign(Object.assign({},Fe.props),_G),setup(t){const n=N(null),o=N(null),{mergedClsPrefixRef:r,inlineThemeDisabled:i}=ct(t),a=Fe("Layout","-layout",wG,O2,t,r);function s(m,v){if(t.nativeScrollbar){const{value:g}=n;g&&(v===void 0?g.scrollTo(m):g.scrollTo(m,v))}else{const{value:g}=o;g&&g.scrollTo(m,v)}}lt(W2,t);let l=0,c=0;const u=m=>{var v;const g=m.target;l=g.scrollLeft,c=g.scrollTop,(v=t.onScroll)===null||v===void 0||v.call(t,m)};Ap(()=>{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?Rt("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 b("div",{class:i,style:this.cssVars},this.nativeScrollbar?b("div",{ref:"scrollableElRef",class:`${n}-layout-scroll-container`,style:[this.contentStyle,r],onScroll:this.handleNativeElScroll},this.$slots):b(_o,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentStyle:[this.contentStyle,r]}),this.$slots))}})}const kG=SG(!1),TG=O("layout-sider",` flex-shrink: 0; box-sizing: border-box; position: relative; @@ -2844,19 +2844,19 @@ ${t} justify-content: flex-start; `,[K("bordered",[D("border",` left: 0; - `)]),K("collapsed",[z("layout-toggle-button",[z("base-icon",` + `)]),K("collapsed",[O("layout-toggle-button",[O("base-icon",` transform: rotate(180deg); - `)]),z("layout-toggle-bar",[j("&:hover",[D("top",{transform:"rotate(-12deg) scale(1.15) translateY(-2px)"}),D("bottom",{transform:"rotate(12deg) scale(1.15) translateY(2px)"})])])]),z("layout-toggle-button",` + `)]),O("layout-toggle-bar",[V("&:hover",[D("top",{transform:"rotate(-12deg) scale(1.15) translateY(-2px)"}),D("bottom",{transform:"rotate(12deg) scale(1.15) translateY(2px)"})])])]),O("layout-toggle-button",` left: 0; transform: translateX(-50%) translateY(-50%); - `,[z("base-icon",` + `,[O("base-icon",` transform: rotate(0); - `)]),z("layout-toggle-bar",` + `)]),O("layout-toggle-bar",` left: -28px; transform: rotate(180deg); - `,[j("&:hover",[D("top",{transform:"rotate(12deg) scale(1.15) translateY(-2px)"}),D("bottom",{transform:"rotate(-12deg) scale(1.15) translateY(2px)"})])])]),K("collapsed",[z("layout-toggle-bar",[j("&:hover",[D("top",{transform:"rotate(-12deg) scale(1.15) translateY(-2px)"}),D("bottom",{transform:"rotate(12deg) scale(1.15) translateY(2px)"})])]),z("layout-toggle-button",[z("base-icon",` + `,[V("&:hover",[D("top",{transform:"rotate(12deg) scale(1.15) translateY(-2px)"}),D("bottom",{transform:"rotate(-12deg) scale(1.15) translateY(2px)"})])])]),K("collapsed",[O("layout-toggle-bar",[V("&:hover",[D("top",{transform:"rotate(-12deg) scale(1.15) translateY(-2px)"}),D("bottom",{transform:"rotate(12deg) scale(1.15) translateY(2px)"})])]),O("layout-toggle-button",[O("base-icon",` transform: rotate(0); - `)])]),z("layout-toggle-button",` + `)])]),O("layout-toggle-button",` transition: color .3s var(--n-bezier), right .3s var(--n-bezier), @@ -2880,10 +2880,10 @@ ${t} box-shadow: 0 2px 4px 0px rgba(0, 0, 0, .06); transform: translateX(50%) translateY(-50%); z-index: 1; - `,[z("base-icon",` + `,[O("base-icon",` transition: transform .3s var(--n-bezier); transform: rotate(180deg); - `)]),z("layout-toggle-bar",` + `)]),O("layout-toggle-bar",` cursor: pointer; height: 72px; width: 32px; @@ -2902,14 +2902,14 @@ ${t} `),D("bottom",` position: absolute; top: 34px; - `),j("&:hover",[D("top",{transform:"rotate(12deg) scale(1.15) translateY(-2px)"}),D("bottom",{transform:"rotate(-12deg) scale(1.15) translateY(2px)"})]),D("top, bottom",{backgroundColor:"var(--n-toggle-bar-color)"}),j("&:hover",[D("top, bottom",{backgroundColor:"var(--n-toggle-bar-color-hover)"})])]),D("border",` + `),V("&:hover",[D("top",{transform:"rotate(12deg) scale(1.15) translateY(-2px)"}),D("bottom",{transform:"rotate(-12deg) scale(1.15) translateY(2px)"})]),D("top, bottom",{backgroundColor:"var(--n-toggle-bar-color)"}),V("&:hover",[D("top, bottom",{backgroundColor:"var(--n-toggle-bar-color-hover)"})])]),D("border",` position: absolute; top: 0; right: 0; bottom: 0; width: 1px; transition: background-color .3s var(--n-bezier); - `),z("layout-sider-scroll-container",` + `),O("layout-sider-scroll-container",` flex-grow: 1; flex-shrink: 0; box-sizing: border-box; @@ -2917,12 +2917,12 @@ ${t} opacity: 0; transition: opacity .3s var(--n-bezier); max-width: 100%; - `),K("show-content",[z("layout-sider-scroll-container",{opacity:1})]),K("absolute-positioned",` + `),K("show-content",[O("layout-sider-scroll-container",{opacity:1})]),K("absolute-positioned",` position: absolute; left: 0; top: 0; bottom: 0; - `)]),TG=pe({name:"LayoutToggleButton",props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return b("div",{class:`${e}-layout-toggle-button`,onClick:this.onClick},b(Bt,{clsPrefix:e},{default:()=>b(Up,null)}))}}),PG=pe({props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return b("div",{onClick:this.onClick,class:`${e}-layout-toggle-bar`},b("div",{class:`${e}-layout-toggle-bar__top`}),b("div",{class:`${e}-layout-toggle-bar__bottom`}))}}),RG={position:V2,bordered:Boolean,collapsedWidth:{type:Number,default:48},width:{type:[Number,String],default:272},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,triggerStyle:[String,Object],collapsedTriggerStyle:[String,Object],"onUpdate:collapsed":[Function,Array],onUpdateCollapsed:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,onExpand:[Function,Array],onCollapse:[Function,Array],onScroll:Function},EG=pe({name:"LayoutSider",props:Object.assign(Object.assign({},Fe.props),RG),setup(e){const t=He(U2),n=B(null),o=B(null),r=N(()=>Ut(l.value?e.collapsedWidth:e.width)),i=N(()=>e.collapseMode!=="transform"?{}:{minWidth:Ut(e.width)}),a=N(()=>t?t.siderPlacement:"left"),s=B(e.defaultCollapsed),l=rn(Ne(e,"collapsed"),s);function c(_,x){if(e.nativeScrollbar){const{value:w}=n;w&&(x===void 0?w.scrollTo(_):w.scrollTo(_,x))}else{const{value:w}=o;w&&w.scrollTo(_,x)}}function u(){const{"onUpdate:collapsed":_,onUpdateCollapsed:x,onExpand:w,onCollapse:T}=e,{value:P}=l;x&&Re(x,!P),_&&Re(_,!P),s.value=!P,P?w&&Re(w):T&&Re(T)}let d=0,f=0;const p=_=>{var x;const w=_.target;d=w.scrollLeft,f=w.scrollTop,(x=e.onScroll)===null||x===void 0||x.call(e,_)};Ap(()=>{if(e.nativeScrollbar){const _=n.value;_&&(_.scrollTop=f,_.scrollLeft=d)}}),lt(j2,{collapsedRef:l,collapseModeRef:Ne(e,"collapseMode")});const{mergedClsPrefixRef:h,inlineThemeDisabled:m}=ct(e),v=Fe("Layout","-layout-sider",kG,z2,e,h);function g(_){var x,w;_.propertyName==="max-width"&&(l.value?(x=e.onAfterLeave)===null||x===void 0||x.call(e):(w=e.onAfterEnter)===null||w===void 0||w.call(e))}const y={scrollTo:c},S=N(()=>{const{common:{cubicBezierEaseInOut:_},self:x}=v.value,{siderToggleButtonColor:w,siderToggleButtonBorder:T,siderToggleBarColor:P,siderToggleBarColorHover:k}=x,I={"--n-bezier":_,"--n-toggle-button-color":w,"--n-toggle-button-border":T,"--n-toggle-bar-color":P,"--n-toggle-bar-color-hover":k};return e.inverted?(I["--n-color"]=x.siderColorInverted,I["--n-text-color"]=x.textColorInverted,I["--n-border-color"]=x.siderBorderColorInverted,I["--n-toggle-button-icon-color"]=x.siderToggleButtonIconColorInverted,I.__invertScrollbar=x.__invertScrollbar):(I["--n-color"]=x.siderColor,I["--n-text-color"]=x.textColor,I["--n-border-color"]=x.siderBorderColor,I["--n-toggle-button-icon-color"]=x.siderToggleButtonIconColor),I}),C=m?Rt("layout-sider",N(()=>e.inverted?"a":"b"),S,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:g,handleTriggerClick:u,inlineThemeDisabled:m,cssVars:S,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender},y)},render(){var e;const{mergedClsPrefix:t,mergedCollapsed:n,showTrigger:o}=this;return(e=this.onRender)===null||e===void 0||e.call(this),b("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:Ut(this.width)}]},this.nativeScrollbar?b("div",{class:`${t}-layout-sider-scroll-container`,onScroll:this.handleNativeElScroll,style:[this.scrollContainerStyle,{overflow:"auto"},this.contentStyle],ref:"scrollableElRef"},this.$slots):b(_o,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",style:this.scrollContainerStyle,contentStyle:this.contentStyle,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"?b(PG,{clsPrefix:t,style:n?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):b(TG,{clsPrefix:t,style:n?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):null,this.bordered?b("div",{class:`${t}-layout-sider__border`}):null)}}),$G={extraFontSize:"12px",width:"440px"},AG={name:"Transfer",common:Be,peers:{Checkbox:Fa,Scrollbar:Bn,Input:lo,Empty:zi,Button:Hn},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({},$G),{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})}},IG=AG,MG=j([z("list",` + `)]),PG=pe({name:"LayoutToggleButton",props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return b("div",{class:`${e}-layout-toggle-button`,onClick:this.onClick},b(Bt,{clsPrefix:e},{default:()=>b(Up,null)}))}}),RG=pe({props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return b("div",{onClick:this.onClick,class:`${e}-layout-toggle-bar`},b("div",{class:`${e}-layout-toggle-bar__top`}),b("div",{class:`${e}-layout-toggle-bar__bottom`}))}}),EG={position:U2,bordered:Boolean,collapsedWidth:{type:Number,default:48},width:{type:[Number,String],default:272},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,triggerStyle:[String,Object],collapsedTriggerStyle:[String,Object],"onUpdate:collapsed":[Function,Array],onUpdateCollapsed:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,onExpand:[Function,Array],onCollapse:[Function,Array],onScroll:Function},$G=pe({name:"LayoutSider",props:Object.assign(Object.assign({},Fe.props),EG),setup(e){const t=He(W2),n=N(null),o=N(null),r=L(()=>Ut(l.value?e.collapsedWidth:e.width)),i=L(()=>e.collapseMode!=="transform"?{}:{minWidth:Ut(e.width)}),a=L(()=>t?t.siderPlacement:"left"),s=N(e.defaultCollapsed),l=rn(Ne(e,"collapsed"),s);function c(_,x){if(e.nativeScrollbar){const{value:w}=n;w&&(x===void 0?w.scrollTo(_):w.scrollTo(_,x))}else{const{value:w}=o;w&&w.scrollTo(_,x)}}function u(){const{"onUpdate:collapsed":_,onUpdateCollapsed:x,onExpand:w,onCollapse:T}=e,{value:P}=l;x&&Re(x,!P),_&&Re(_,!P),s.value=!P,P?w&&Re(w):T&&Re(T)}let d=0,f=0;const p=_=>{var x;const w=_.target;d=w.scrollLeft,f=w.scrollTop,(x=e.onScroll)===null||x===void 0||x.call(e,_)};Ap(()=>{if(e.nativeScrollbar){const _=n.value;_&&(_.scrollTop=f,_.scrollLeft=d)}}),lt(V2,{collapsedRef:l,collapseModeRef:Ne(e,"collapseMode")});const{mergedClsPrefixRef:h,inlineThemeDisabled:m}=ct(e),v=Fe("Layout","-layout-sider",TG,O2,e,h);function g(_){var x,w;_.propertyName==="max-width"&&(l.value?(x=e.onAfterLeave)===null||x===void 0||x.call(e):(w=e.onAfterEnter)===null||w===void 0||w.call(e))}const y={scrollTo:c},S=L(()=>{const{common:{cubicBezierEaseInOut:_},self:x}=v.value,{siderToggleButtonColor:w,siderToggleButtonBorder:T,siderToggleBarColor:P,siderToggleBarColorHover:k}=x,A={"--n-bezier":_,"--n-toggle-button-color":w,"--n-toggle-button-border":T,"--n-toggle-bar-color":P,"--n-toggle-bar-color-hover":k};return e.inverted?(A["--n-color"]=x.siderColorInverted,A["--n-text-color"]=x.textColorInverted,A["--n-border-color"]=x.siderBorderColorInverted,A["--n-toggle-button-icon-color"]=x.siderToggleButtonIconColorInverted,A.__invertScrollbar=x.__invertScrollbar):(A["--n-color"]=x.siderColor,A["--n-text-color"]=x.textColor,A["--n-border-color"]=x.siderBorderColor,A["--n-toggle-button-icon-color"]=x.siderToggleButtonIconColor),A}),C=m?Rt("layout-sider",L(()=>e.inverted?"a":"b"),S,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:g,handleTriggerClick:u,inlineThemeDisabled:m,cssVars:S,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender},y)},render(){var e;const{mergedClsPrefix:t,mergedCollapsed:n,showTrigger:o}=this;return(e=this.onRender)===null||e===void 0||e.call(this),b("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:Ut(this.width)}]},this.nativeScrollbar?b("div",{class:`${t}-layout-sider-scroll-container`,onScroll:this.handleNativeElScroll,style:[this.scrollContainerStyle,{overflow:"auto"},this.contentStyle],ref:"scrollableElRef"},this.$slots):b(_o,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",style:this.scrollContainerStyle,contentStyle:this.contentStyle,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"?b(RG,{clsPrefix:t,style:n?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):b(PG,{clsPrefix:t,style:n?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):null,this.bordered?b("div",{class:`${t}-layout-sider__border`}):null)}}),AG={extraFontSize:"12px",width:"440px"},IG={name:"Transfer",common:Be,peers:{Checkbox:Fa,Scrollbar:Bn,Input:lo,Empty:zi,Button:Hn},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({},AG),{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})}},MG=IG,zG=V([O("list",` --n-merged-border-color: var(--n-border-color); --n-merged-color: var(--n-color); --n-merged-color-hover: var(--n-color-hover); @@ -2936,20 +2936,20 @@ ${t} list-style-type: none; color: var(--n-text-color); background-color: var(--n-merged-color); - `,[K("show-divider",[z("list-item",[j("&:not(:last-child)",[D("divider",` + `,[K("show-divider",[O("list-item",[V("&:not(:last-child)",[D("divider",` background-color: var(--n-merged-border-color); - `)])])]),K("clickable",[z("list-item",` + `)])])]),K("clickable",[O("list-item",` cursor: pointer; `)]),K("bordered",` border: 1px solid var(--n-merged-border-color); border-radius: var(--n-border-radius); - `),K("hoverable",[z("list-item",` + `),K("hoverable",[O("list-item",` border-radius: var(--n-border-radius); - `,[j("&:hover",` + `,[V("&:hover",` background-color: var(--n-merged-color-hover); `,[D("divider",` background-color: transparent; - `)])])]),K("bordered, hoverable",[z("list-item",` + `)])])]),K("bordered, hoverable",[O("list-item",` padding: 12px 20px; `),D("header, footer",` padding: 12px 20px; @@ -2957,9 +2957,9 @@ ${t} padding: 12px 0; box-sizing: border-box; transition: border-color .3s var(--n-bezier); - `,[j("&:not(:last-child)",` + `,[V("&:not(:last-child)",` border-bottom: 1px solid var(--n-merged-border-color); - `)]),z("list-item",` + `)]),O("list-item",` position: relative; padding: 12px 0; box-sizing: border-box; @@ -2986,22 +2986,22 @@ ${t} background-color: transparent; transition: background-color .3s var(--n-bezier); pointer-events: none; - `)])]),Qs(z("list",` + `)])]),Qs(O("list",` --n-merged-color-hover: var(--n-color-hover-modal); --n-merged-color: var(--n-color-modal); --n-merged-border-color: var(--n-border-color-modal); - `)),fu(z("list",` + `)),fu(O("list",` --n-merged-color-hover: var(--n-color-hover-popover); --n-merged-color: var(--n-color-popover); --n-merged-border-color: var(--n-border-color-popover); - `))]),zG=Object.assign(Object.assign({},Fe.props),{size:{type:String,default:"medium"},bordered:Boolean,clickable:Boolean,hoverable:Boolean,showDivider:{type:Boolean,default:!0}}),W2="n-list",lm=pe({name:"List",props:zG,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=ct(e),r=Rn("List",o,t),i=Fe("List","-list",MG,Nq,e,t);lt(W2,{showDividerRef:Ne(e,"showDivider"),mergedClsPrefixRef:t});const a=N(()=>{const{common:{cubicBezierEaseInOut:l},self:{fontSize:c,textColor:u,color:d,colorModal:f,colorPopover:p,borderColor:h,borderColorModal:m,borderColorPopover:v,borderRadius:g,colorHover:y,colorHoverModal:S,colorHoverPopover:C}}=i.value;return{"--n-font-size":c,"--n-bezier":l,"--n-text-color":u,"--n-color":d,"--n-border-radius":g,"--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":y,"--n-color-hover-modal":S,"--n-color-hover-popover":C}}),s=n?Rt("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(),b("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?b("div",{class:`${n}-list__header`},t.header()):null,(e=t.default)===null||e===void 0?void 0:e.call(t),t.footer?b("div",{class:`${n}-list__footer`},t.footer()):null)}}),cm=pe({name:"ListItem",setup(){const e=He(W2,null);return e||Fr("list-item","`n-list-item` must be placed in `n-list`."),{showDivider:e.showDividerRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{$slots:e,mergedClsPrefix:t}=this;return b("li",{class:`${t}-list-item`},e.prefix?b("div",{class:`${t}-list-item__prefix`},e.prefix()):null,e.default?b("div",{class:`${t}-list-item__main`},e):null,e.suffix?b("div",{class:`${t}-list-item__suffix`},e.suffix()):null,this.showDivider&&b("div",{class:`${t}-list-item__divider`}))}}),q2="n-loading-bar",K2="n-loading-bar-api",OG=z("loading-bar-container",` + `))]),OG=Object.assign(Object.assign({},Fe.props),{size:{type:String,default:"medium"},bordered:Boolean,clickable:Boolean,hoverable:Boolean,showDivider:{type:Boolean,default:!0}}),q2="n-list",lm=pe({name:"List",props:OG,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=ct(e),r=Rn("List",o,t),i=Fe("List","-list",zG,Bq,e,t);lt(q2,{showDividerRef:Ne(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:g,colorHover:y,colorHoverModal:S,colorHoverPopover:C}}=i.value;return{"--n-font-size":c,"--n-bezier":l,"--n-text-color":u,"--n-color":d,"--n-border-radius":g,"--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":y,"--n-color-hover-modal":S,"--n-color-hover-popover":C}}),s=n?Rt("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(),b("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?b("div",{class:`${n}-list__header`},t.header()):null,(e=t.default)===null||e===void 0?void 0:e.call(t),t.footer?b("div",{class:`${n}-list__footer`},t.footer()):null)}}),cm=pe({name:"ListItem",setup(){const e=He(q2,null);return e||Fr("list-item","`n-list-item` must be placed in `n-list`."),{showDivider:e.showDividerRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{$slots:e,mergedClsPrefix:t}=this;return b("li",{class:`${t}-list-item`},e.prefix?b("div",{class:`${t}-list-item__prefix`},e.prefix()):null,e.default?b("div",{class:`${t}-list-item__main`},e):null,e.suffix?b("div",{class:`${t}-list-item__suffix`},e.suffix()):null,this.showDivider&&b("div",{class:`${t}-list-item__divider`}))}}),K2="n-loading-bar",G2="n-loading-bar-api",DG=O("loading-bar-container",` z-index: 5999; position: fixed; top: 0; left: 0; right: 0; height: 2px; -`,[Cu({enterDuration:"0.3s",leaveDuration:"0.8s"}),z("loading-bar",` +`,[Cu({enterDuration:"0.3s",leaveDuration:"0.8s"}),O("loading-bar",` width: 100%; transition: max-width 4s linear, @@ -3019,25 +3019,25 @@ ${t} transition: max-width .2s linear, background .2s linear; - `)])]);var Fl=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 Nl(e,t){return`${t}-loading-bar ${t}-loading-bar--${e}`}const DG=pe({name:"LoadingBar",props:{containerStyle:[String,Object]},setup(){const{inlineThemeDisabled:e}=ct(),{props:t,mergedClsPrefixRef:n}=He(q2),o=B(null),r=B(!1),i=B(!1),a=B(!1),s=B(!1);let l=!1;const c=B(!1),u=N(()=>{const{loadingBarStyle:_}=t;return _?_[c.value?"error":"loading"]:""});function d(){return Fl(this,void 0,void 0,function*(){r.value=!1,a.value=!1,l=!1,c.value=!1,s.value=!0,yield jt(),s.value=!1})}function f(_=0,x=80,w="starting"){return Fl(this,void 0,void 0,function*(){if(i.value=!0,yield d(),l)return;a.value=!0,yield jt();const T=o.value;T&&(T.style.maxWidth=`${_}%`,T.style.transition="none",T.offsetWidth,T.className=Nl(w,n.value),T.style.transition="",T.style.maxWidth=`${x}%`)})}function p(){return Fl(this,void 0,void 0,function*(){if(l||c.value)return;i.value&&(yield jt()),l=!0;const _=o.value;_&&(_.className=Nl("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=Nl("error",n.value),_.offsetWidth,a.value=!1)});else{c.value=!0;const _=o.value;if(!_)return;_.className=Nl("error",n.value),_.style.maxWidth="100%",_.offsetWidth,a.value=!1}}function m(){r.value=!0}function v(){r.value=!1}function g(){return Fl(this,void 0,void 0,function*(){yield d()})}const y=Fe("LoadingBar","-loading-bar",OG,qq,t,n),S=N(()=>{const{self:{height:_,colorError:x,colorLoading:w}}=y.value;return{"--n-height":_,"--n-color-loading":w,"--n-color-error":x}}),C=e?Rt("loading-bar",void 0,S,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:g,mergedLoadingBarStyle:u,cssVars:e?void 0:S,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender}},render(){if(!this.started)return null;const{mergedClsPrefix:e}=this;return b(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),Cn(b("div",{class:[`${e}-loading-bar-container`,this.themeClass],style:this.containerStyle},b("div",{ref:"loadingBarRef",class:[`${e}-loading-bar`],style:[this.cssVars,this.mergedLoadingBarStyle]})),[[ro,this.loading||!this.loading&&this.entering]])}})}}),LG=Object.assign(Object.assign({},Fe.props),{to:{type:[String,Object,Boolean],default:void 0},containerStyle:[String,Object],loadingBarStyle:{type:Object}}),FG=pe({name:"LoadingBarProvider",props:LG,setup(e){const t=Nr(),n=B(null),o={start(){var i;t.value?(i=n.value)===null||i===void 0||i.start():jt(()=>{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():jt(()=>{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():jt(()=>{var a;(a=n.value)===null||a===void 0||a.finish()})}},{mergedClsPrefixRef:r}=ct(e);return lt(K2,o),lt(q2,{props:e,mergedClsPrefixRef:r}),Object.assign(o,{loadingBarRef:n})},render(){var e,t;return b(et,null,b(qc,{disabled:this.to===!1,to:this.to||"body"},b(DG,{ref:"loadingBarRef",containerStyle:this.containerStyle})),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}});function NG(){const e=He(K2,null);return e===null&&Fr("use-loading-bar","No outer founded."),e}const ll="n-menu",um="n-submenu",dm="n-menu-item-group",Bl=8;function fm(e){const t=He(ll),{props:n,mergedCollapsedRef:o}=t,r=He(um,null),i=He(dm,null),a=N(()=>n.mode==="horizontal"),s=N(()=>a.value?n.dropdownPlacement:"tmNodes"in e?"right-start":"right"),l=N(()=>{var f;return Math.max((f=n.collapsedIconSize)!==null&&f!==void 0?f:n.iconSize,n.iconSize)}),c=N(()=>{var f;return!a.value&&e.root&&o.value&&(f=n.collapsedIconSize)!==null&&f!==void 0?f:n.iconSize}),u=N(()=>{if(a.value)return;const{collapsedWidth:f,indent:p,rootIndent:h}=n,{root:m,isGroup:v}=e,g=h===void 0?p:h;if(m)return o.value?f/2-l.value/2:g;if(i)return p/2+i.paddingLeftRef.value;if(r)return(v?p/2:p)+r.paddingLeftRef.value}),d=N(()=>{const{collapsedWidth:f,indent:p,rootIndent:h}=n,{value:m}=l,{root:v}=e;return a.value||!v||!o.value?Bl:(h===void 0?p:h)+m+Bl-(f+m)/2});return{dropdownPlacement:s,activeIconSize:c,maxIconSize:l,paddingLeft:u,iconMarginRight:d,NMenu:t,NSubmenu:r}}const hm={internalKey:{type:[String,Number],required:!0},root:Boolean,isGroup:Boolean,level:{type:Number,required:!0},title:[String,Function],extra:[String,Function]},G2=Object.assign(Object.assign({},hm),{tmNode:{type:Object,required:!0},tmNodes:{type:Array,required:!0}}),BG=pe({name:"MenuOptionGroup",props:G2,setup(e){lt(um,null);const t=fm(e);lt(dm,{paddingLeftRef:t.paddingLeft});const{mergedClsPrefixRef:n,props:o}=He(ll);return function(){const{value:r}=n,i=t.paddingLeft.value,{nodeProps:a}=o,s=a==null?void 0:a(e.tmNode.rawNode);return b("div",{class:`${r}-menu-item-group`,role:"group"},b("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;`:""]}),Nt(e.title),e.extra?b(et,null," ",Nt(e.extra)):null),b("div",null,e.tmNodes.map(l=>pm(l,o))))}}}),Y2=pe({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}},setup(e){const{props:t}=He(ll);return{menuProps:t,style:N(()=>{const{paddingLeft:n}=e;return{paddingLeft:n&&`${n}px`}}),iconStyle:N(()=>{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):Nt(this.icon);return b("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&&b("div",{class:`${e}-menu-item-content__icon`,style:this.iconStyle,role:"none"},[a]),b("div",{class:`${e}-menu-item-content-header`,role:"none"},o?o(t.rawNode):Nt(this.title),this.extra||r?b("span",{class:`${e}-menu-item-content-header__extra`}," ",r?r(t.rawNode):Nt(this.extra)):null),this.showArrow?b(Bt,{ariaHidden:!0,class:`${e}-menu-item-content__arrow`,clsPrefix:e},{default:()=>i?i(t.rawNode):b(SN,null)}):null)}}),X2=Object.assign(Object.assign({},hm),{rawNodes:{type:Array,default:()=>[]},tmNodes:{type:Array,default:()=>[]},tmNode:{type:Object,required:!0},disabled:{type:Boolean,default:!1},icon:Function,onClick:Function}),HG=pe({name:"Submenu",props:X2,setup(e){const t=fm(e),{NMenu:n,NSubmenu:o}=t,{props:r,mergedCollapsedRef:i,mergedThemeRef:a}=n,s=N(()=>{const{disabled:f}=e;return o!=null&&o.mergedDisabledRef.value||r.disabled?!0:f}),l=B(!1);lt(um,{paddingLeftRef:t.paddingLeft,mergedDisabledRef:s}),lt(dm,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:wt(()=>n.activePathRef.value.includes(e.internalKey)),collapsed:N(()=>r.mode==="horizontal"?!1:i.value?!0:!n.mergedExpandedKeysRef.value.includes(e.internalKey)),dropdownEnabled:N(()=>!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:g,iconMarginRight:y,tmNode:S,mergedClsPrefix:C}=this,_=v==null?void 0:v(S.rawNode);return b("div",Object.assign({},_,{class:[`${C}-menu-item`,_==null?void 0:_.class],role:"menuitem"}),b(Y2,{tmNode:S,paddingLeft:s,collapsed:l,disabled:c,iconMarginRight:y,maxIconSize:u,activeIconSize:d,title:f,extra:this.extra,showArrow:!a,childActive:p,clsPrefix:C,icon:h,hover:g,onClick:m}))},i=()=>b(yu,null,{default:()=>{const{tmNodes:a,collapsed:s}=this;return s?null:b("div",{class:`${t}-submenu-children`,role:"menu"},a.map(l=>pm(l,this.menuProps)))}});return this.root?b(am,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:()=>b("div",{class:`${t}-submenu`,role:"menuitem","aria-expanded":!this.collapsed},r(),this.isHorizontal?null:i())}):b("div",{class:`${t}-submenu`,role:"menuitem","aria-expanded":!this.collapsed},r(),i())}}),Q2=Object.assign(Object.assign({},hm),{tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function}),jG=pe({name:"MenuOption",props:Q2,setup(e){const t=fm(e),{NSubmenu:n,NMenu:o}=t,{props:r,mergedClsPrefixRef:i,mergedCollapsedRef:a}=o,s=n?n.mergedDisabledRef:{value:!1},l=N(()=>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:wt(()=>e.root&&a.value&&r.mode!=="horizontal"&&!l.value),selected:wt(()=>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 b("div",Object.assign({},i,{role:"menuitem",class:[`${e}-menu-item`,i==null?void 0:i.class]}),b(Pu,{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):Nt(this.title),trigger:()=>b(Y2,{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})}))}}),VG=pe({name:"MenuDivider",setup(){const e=He(ll),{mergedClsPrefixRef:t,isHorizontalRef:n}=e;return()=>n.value?null:b("div",{class:`${t.value}-menu-divider`})}}),UG=Lr(G2),WG=Lr(Q2),qG=Lr(X2);function Z2(e){return e.type==="divider"||e.type==="render"}function KG(e){return e.type==="divider"}function pm(e,t){const{rawNode:n}=e,{show:o}=n;if(o===!1)return null;if(Z2(n))return KG(n)?b(VG,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?b(BG,Kn(l,UG,{tmNode:e,tmNodes:e.children,key:i})):b(HG,Kn(l,qG,{key:i,rawNodes:n[t.childrenField],tmNodes:e.children,tmNode:e})):b(jG,Kn(l,WG,{key:i,tmNode:e}))}const V0=[j("&::before","background-color: var(--n-item-color-hover);"),D("arrow",` + `)])]);var Fl=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 Nl(e,t){return`${t}-loading-bar ${t}-loading-bar--${e}`}const LG=pe({name:"LoadingBar",props:{containerStyle:[String,Object]},setup(){const{inlineThemeDisabled:e}=ct(),{props:t,mergedClsPrefixRef:n}=He(K2),o=N(null),r=N(!1),i=N(!1),a=N(!1),s=N(!1);let l=!1;const c=N(!1),u=L(()=>{const{loadingBarStyle:_}=t;return _?_[c.value?"error":"loading"]:""});function d(){return Fl(this,void 0,void 0,function*(){r.value=!1,a.value=!1,l=!1,c.value=!1,s.value=!0,yield jt(),s.value=!1})}function f(_=0,x=80,w="starting"){return Fl(this,void 0,void 0,function*(){if(i.value=!0,yield d(),l)return;a.value=!0,yield jt();const T=o.value;T&&(T.style.maxWidth=`${_}%`,T.style.transition="none",T.offsetWidth,T.className=Nl(w,n.value),T.style.transition="",T.style.maxWidth=`${x}%`)})}function p(){return Fl(this,void 0,void 0,function*(){if(l||c.value)return;i.value&&(yield jt()),l=!0;const _=o.value;_&&(_.className=Nl("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=Nl("error",n.value),_.offsetWidth,a.value=!1)});else{c.value=!0;const _=o.value;if(!_)return;_.className=Nl("error",n.value),_.style.maxWidth="100%",_.offsetWidth,a.value=!1}}function m(){r.value=!0}function v(){r.value=!1}function g(){return Fl(this,void 0,void 0,function*(){yield d()})}const y=Fe("LoadingBar","-loading-bar",DG,Kq,t,n),S=L(()=>{const{self:{height:_,colorError:x,colorLoading:w}}=y.value;return{"--n-height":_,"--n-color-loading":w,"--n-color-error":x}}),C=e?Rt("loading-bar",void 0,S,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:g,mergedLoadingBarStyle:u,cssVars:e?void 0:S,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender}},render(){if(!this.started)return null;const{mergedClsPrefix:e}=this;return b(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),Cn(b("div",{class:[`${e}-loading-bar-container`,this.themeClass],style:this.containerStyle},b("div",{ref:"loadingBarRef",class:[`${e}-loading-bar`],style:[this.cssVars,this.mergedLoadingBarStyle]})),[[ro,this.loading||!this.loading&&this.entering]])}})}}),FG=Object.assign(Object.assign({},Fe.props),{to:{type:[String,Object,Boolean],default:void 0},containerStyle:[String,Object],loadingBarStyle:{type:Object}}),NG=pe({name:"LoadingBarProvider",props:FG,setup(e){const t=Nr(),n=N(null),o={start(){var i;t.value?(i=n.value)===null||i===void 0||i.start():jt(()=>{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():jt(()=>{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():jt(()=>{var a;(a=n.value)===null||a===void 0||a.finish()})}},{mergedClsPrefixRef:r}=ct(e);return lt(G2,o),lt(K2,{props:e,mergedClsPrefixRef:r}),Object.assign(o,{loadingBarRef:n})},render(){var e,t;return b(et,null,b(qc,{disabled:this.to===!1,to:this.to||"body"},b(LG,{ref:"loadingBarRef",containerStyle:this.containerStyle})),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}});function BG(){const e=He(G2,null);return e===null&&Fr("use-loading-bar","No outer founded."),e}const ll="n-menu",um="n-submenu",dm="n-menu-item-group",Bl=8;function fm(e){const t=He(ll),{props:n,mergedCollapsedRef:o}=t,r=He(um,null),i=He(dm,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)return;const{collapsedWidth:f,indent:p,rootIndent:h}=n,{root:m,isGroup:v}=e,g=h===void 0?p:h;if(m)return o.value?f/2-l.value/2:g;if(i)return p/2+i.paddingLeftRef.value;if(r)return(v?p/2:p)+r.paddingLeftRef.value}),d=L(()=>{const{collapsedWidth:f,indent:p,rootIndent:h}=n,{value:m}=l,{root:v}=e;return a.value||!v||!o.value?Bl:(h===void 0?p:h)+m+Bl-(f+m)/2});return{dropdownPlacement:s,activeIconSize:c,maxIconSize:l,paddingLeft:u,iconMarginRight:d,NMenu:t,NSubmenu:r}}const hm={internalKey:{type:[String,Number],required:!0},root:Boolean,isGroup:Boolean,level:{type:Number,required:!0},title:[String,Function],extra:[String,Function]},Y2=Object.assign(Object.assign({},hm),{tmNode:{type:Object,required:!0},tmNodes:{type:Array,required:!0}}),HG=pe({name:"MenuOptionGroup",props:Y2,setup(e){lt(um,null);const t=fm(e);lt(dm,{paddingLeftRef:t.paddingLeft});const{mergedClsPrefixRef:n,props:o}=He(ll);return function(){const{value:r}=n,i=t.paddingLeft.value,{nodeProps:a}=o,s=a==null?void 0:a(e.tmNode.rawNode);return b("div",{class:`${r}-menu-item-group`,role:"group"},b("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;`:""]}),Nt(e.title),e.extra?b(et,null," ",Nt(e.extra)):null),b("div",null,e.tmNodes.map(l=>pm(l,o))))}}}),X2=pe({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}},setup(e){const{props:t}=He(ll);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):Nt(this.icon);return b("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&&b("div",{class:`${e}-menu-item-content__icon`,style:this.iconStyle,role:"none"},[a]),b("div",{class:`${e}-menu-item-content-header`,role:"none"},o?o(t.rawNode):Nt(this.title),this.extra||r?b("span",{class:`${e}-menu-item-content-header__extra`}," ",r?r(t.rawNode):Nt(this.extra)):null),this.showArrow?b(Bt,{ariaHidden:!0,class:`${e}-menu-item-content__arrow`,clsPrefix:e},{default:()=>i?i(t.rawNode):b(kN,null)}):null)}}),Q2=Object.assign(Object.assign({},hm),{rawNodes:{type:Array,default:()=>[]},tmNodes:{type:Array,default:()=>[]},tmNode:{type:Object,required:!0},disabled:{type:Boolean,default:!1},icon:Function,onClick:Function}),jG=pe({name:"Submenu",props:Q2,setup(e){const t=fm(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=N(!1);lt(um,{paddingLeftRef:t.paddingLeft,mergedDisabledRef:s}),lt(dm,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:wt(()=>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:g,iconMarginRight:y,tmNode:S,mergedClsPrefix:C}=this,_=v==null?void 0:v(S.rawNode);return b("div",Object.assign({},_,{class:[`${C}-menu-item`,_==null?void 0:_.class],role:"menuitem"}),b(X2,{tmNode:S,paddingLeft:s,collapsed:l,disabled:c,iconMarginRight:y,maxIconSize:u,activeIconSize:d,title:f,extra:this.extra,showArrow:!a,childActive:p,clsPrefix:C,icon:h,hover:g,onClick:m}))},i=()=>b(yu,null,{default:()=>{const{tmNodes:a,collapsed:s}=this;return s?null:b("div",{class:`${t}-submenu-children`,role:"menu"},a.map(l=>pm(l,this.menuProps)))}});return this.root?b(am,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:()=>b("div",{class:`${t}-submenu`,role:"menuitem","aria-expanded":!this.collapsed},r(),this.isHorizontal?null:i())}):b("div",{class:`${t}-submenu`,role:"menuitem","aria-expanded":!this.collapsed},r(),i())}}),Z2=Object.assign(Object.assign({},hm),{tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function}),VG=pe({name:"MenuOption",props:Z2,setup(e){const t=fm(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:wt(()=>e.root&&a.value&&r.mode!=="horizontal"&&!l.value),selected:wt(()=>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 b("div",Object.assign({},i,{role:"menuitem",class:[`${e}-menu-item`,i==null?void 0:i.class]}),b(Pu,{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):Nt(this.title),trigger:()=>b(X2,{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})}))}}),UG=pe({name:"MenuDivider",setup(){const e=He(ll),{mergedClsPrefixRef:t,isHorizontalRef:n}=e;return()=>n.value?null:b("div",{class:`${t.value}-menu-divider`})}}),WG=Lr(Y2),qG=Lr(Z2),KG=Lr(Q2);function J2(e){return e.type==="divider"||e.type==="render"}function GG(e){return e.type==="divider"}function pm(e,t){const{rawNode:n}=e,{show:o}=n;if(o===!1)return null;if(J2(n))return GG(n)?b(UG,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?b(HG,Kn(l,WG,{tmNode:e,tmNodes:e.children,key:i})):b(jG,Kn(l,KG,{key:i,rawNodes:n[t.childrenField],tmNodes:e.children,tmNode:e})):b(VG,Kn(l,qG,{key:i,tmNode:e}))}const U0=[V("&::before","background-color: var(--n-item-color-hover);"),D("arrow",` color: var(--n-arrow-color-hover); `),D("icon",` color: var(--n-item-icon-color-hover); - `),z("menu-item-content-header",` + `),O("menu-item-content-header",` color: var(--n-item-text-color-hover); - `,[j("a",` + `,[V("a",` color: var(--n-item-text-color-hover); `),D("extra",` color: var(--n-item-text-color-hover); - `)])],U0=[D("icon",` + `)])],W0=[D("icon",` color: var(--n-item-icon-color-hover-horizontal); - `),z("menu-item-content-header",` + `),O("menu-item-content-header",` color: var(--n-item-text-color-hover-horizontal); - `,[j("a",` + `,[V("a",` color: var(--n-item-text-color-hover-horizontal); `),D("extra",` color: var(--n-item-text-color-hover-horizontal); - `)])],GG=j([z("menu",` + `)])],YG=V([O("menu",` background-color: var(--n-color); color: var(--n-item-text-color); overflow: hidden; @@ -3048,32 +3048,32 @@ ${t} `,[K("horizontal",` display: inline-flex; padding-bottom: 0; - `,[z("submenu","margin: 0;"),z("menu-item","margin: 0;"),z("menu-item-content",` + `,[O("submenu","margin: 0;"),O("menu-item","margin: 0;"),O("menu-item-content",` padding: 0 20px; border-bottom: 2px solid #0000; - `,[j("&::before","display: none;"),K("selected","border-bottom: 2px solid var(--n-border-color-horizontal)")]),z("menu-item-content",[K("selected",[D("icon","color: var(--n-item-icon-color-active-horizontal);"),z("menu-item-content-header",` + `,[V("&::before","display: none;"),K("selected","border-bottom: 2px solid var(--n-border-color-horizontal)")]),O("menu-item-content",[K("selected",[D("icon","color: var(--n-item-icon-color-active-horizontal);"),O("menu-item-content-header",` color: var(--n-item-text-color-active-horizontal); - `,[j("a","color: var(--n-item-text-color-active-horizontal);"),D("extra","color: var(--n-item-text-color-active-horizontal);")])]),K("child-active",` + `,[V("a","color: var(--n-item-text-color-active-horizontal);"),D("extra","color: var(--n-item-text-color-active-horizontal);")])]),K("child-active",` border-bottom: 2px solid var(--n-border-color-horizontal); - `,[z("menu-item-content-header",` + `,[O("menu-item-content-header",` color: var(--n-item-text-color-child-active-horizontal); - `,[j("a",` + `,[V("a",` color: var(--n-item-text-color-child-active-horizontal); `),D("extra",` color: var(--n-item-text-color-child-active-horizontal); `)]),D("icon",` color: var(--n-item-icon-color-child-active-horizontal); - `)]),Pt("disabled",[Pt("selected, child-active",[j("&:focus-within",U0)]),K("selected",[Kr(null,[D("icon","color: var(--n-item-icon-color-active-hover-horizontal);"),z("menu-item-content-header",` + `)]),Pt("disabled",[Pt("selected, child-active",[V("&:focus-within",W0)]),K("selected",[Kr(null,[D("icon","color: var(--n-item-icon-color-active-hover-horizontal);"),O("menu-item-content-header",` color: var(--n-item-text-color-active-hover-horizontal); - `,[j("a","color: var(--n-item-text-color-active-hover-horizontal);"),D("extra","color: var(--n-item-text-color-active-hover-horizontal);")])])]),K("child-active",[Kr(null,[D("icon","color: var(--n-item-icon-color-child-active-hover-horizontal);"),z("menu-item-content-header",` + `,[V("a","color: var(--n-item-text-color-active-hover-horizontal);"),D("extra","color: var(--n-item-text-color-active-hover-horizontal);")])])]),K("child-active",[Kr(null,[D("icon","color: var(--n-item-icon-color-child-active-hover-horizontal);"),O("menu-item-content-header",` color: var(--n-item-text-color-child-active-hover-horizontal); - `,[j("a","color: var(--n-item-text-color-child-active-hover-horizontal);"),D("extra","color: var(--n-item-text-color-child-active-hover-horizontal);")])])]),Kr("border-bottom: 2px solid var(--n-border-color-horizontal);",U0)]),z("menu-item-content-header",[j("a","color: var(--n-item-text-color-horizontal);")])])]),K("collapsed",[z("menu-item-content",[K("selected",[j("&::before",` + `,[V("a","color: var(--n-item-text-color-child-active-hover-horizontal);"),D("extra","color: var(--n-item-text-color-child-active-hover-horizontal);")])])]),Kr("border-bottom: 2px solid var(--n-border-color-horizontal);",W0)]),O("menu-item-content-header",[V("a","color: var(--n-item-text-color-horizontal);")])])]),K("collapsed",[O("menu-item-content",[K("selected",[V("&::before",` background-color: var(--n-item-color-active-collapsed) !important; - `)]),z("menu-item-content-header","opacity: 0;"),D("arrow","opacity: 0;"),D("icon","color: var(--n-item-icon-color-collapsed);")])]),z("menu-item",` + `)]),O("menu-item-content-header","opacity: 0;"),D("arrow","opacity: 0;"),D("icon","color: var(--n-item-icon-color-collapsed);")])]),O("menu-item",` height: var(--n-item-height); margin-top: 6px; position: relative; - `),z("menu-item-content",` + `),O("menu-item-content",` box-sizing: border-box; line-height: 1.75; height: 100%; @@ -3088,7 +3088,7 @@ ${t} background-color .3s var(--n-bezier), padding-left .3s var(--n-bezier), border-color .3s var(--n-bezier); - `,[j("> *","z-index: 1;"),j("&::before",` + `,[V("> *","z-index: 1;"),V("&::before",` z-index: auto; content: ""; background-color: #0000; @@ -3103,11 +3103,11 @@ ${t} `),K("disabled",` opacity: .45; cursor: not-allowed; - `),K("collapsed",[D("arrow","transform: rotate(0);")]),K("selected",[j("&::before","background-color: var(--n-item-color-active);"),D("arrow","color: var(--n-arrow-color-active);"),D("icon","color: var(--n-item-icon-color-active);"),z("menu-item-content-header",` + `),K("collapsed",[D("arrow","transform: rotate(0);")]),K("selected",[V("&::before","background-color: var(--n-item-color-active);"),D("arrow","color: var(--n-arrow-color-active);"),D("icon","color: var(--n-item-icon-color-active);"),O("menu-item-content-header",` color: var(--n-item-text-color-active); - `,[j("a","color: var(--n-item-text-color-active);"),D("extra","color: var(--n-item-text-color-active);")])]),K("child-active",[z("menu-item-content-header",` + `,[V("a","color: var(--n-item-text-color-active);"),D("extra","color: var(--n-item-text-color-active);")])]),K("child-active",[O("menu-item-content-header",` color: var(--n-item-text-color-child-active); - `,[j("a",` + `,[V("a",` color: var(--n-item-text-color-child-active); `),D("extra",` color: var(--n-item-text-color-child-active); @@ -3115,11 +3115,11 @@ ${t} color: var(--n-arrow-color-child-active); `),D("icon",` color: var(--n-item-icon-color-child-active); - `)]),Pt("disabled",[Pt("selected, child-active",[j("&:focus-within",V0)]),K("selected",[Kr(null,[D("arrow","color: var(--n-arrow-color-active-hover);"),D("icon","color: var(--n-item-icon-color-active-hover);"),z("menu-item-content-header",` + `)]),Pt("disabled",[Pt("selected, child-active",[V("&:focus-within",U0)]),K("selected",[Kr(null,[D("arrow","color: var(--n-arrow-color-active-hover);"),D("icon","color: var(--n-item-icon-color-active-hover);"),O("menu-item-content-header",` color: var(--n-item-text-color-active-hover); - `,[j("a","color: var(--n-item-text-color-active-hover);"),D("extra","color: var(--n-item-text-color-active-hover);")])])]),K("child-active",[Kr(null,[D("arrow","color: var(--n-arrow-color-child-active-hover);"),D("icon","color: var(--n-item-icon-color-child-active-hover);"),z("menu-item-content-header",` + `,[V("a","color: var(--n-item-text-color-active-hover);"),D("extra","color: var(--n-item-text-color-active-hover);")])])]),K("child-active",[Kr(null,[D("arrow","color: var(--n-arrow-color-child-active-hover);"),D("icon","color: var(--n-item-icon-color-child-active-hover);"),O("menu-item-content-header",` color: var(--n-item-text-color-child-active-hover); - `,[j("a","color: var(--n-item-text-color-child-active-hover);"),D("extra","color: var(--n-item-text-color-child-active-hover);")])])]),K("selected",[Kr(null,[j("&::before","background-color: var(--n-item-color-active-hover);")])]),Kr(null,V0)]),D("icon",` + `,[V("a","color: var(--n-item-text-color-child-active-hover);"),D("extra","color: var(--n-item-text-color-child-active-hover);")])])]),K("selected",[Kr(null,[V("&::before","background-color: var(--n-item-color-active-hover);")])]),Kr(null,U0)]),D("icon",` grid-area: icon; color: var(--n-item-icon-color); transition: @@ -3140,7 +3140,7 @@ ${t} color .3s var(--n-bezier), transform 0.2s var(--n-bezier), opacity 0.2s var(--n-bezier); - `),z("menu-item-content-header",` + `),O("menu-item-content-header",` grid-area: content; transition: color .3s var(--n-bezier), @@ -3150,12 +3150,12 @@ ${t} overflow: hidden; text-overflow: ellipsis; color: var(--n-item-text-color); - `,[j("a",` + `,[V("a",` outline: none; text-decoration: none; transition: color .3s var(--n-bezier); color: var(--n-item-text-color); - `,[j("&::before",` + `,[V("&::before",` content: ""; position: absolute; left: 0; @@ -3166,16 +3166,16 @@ ${t} font-size: .93em; color: var(--n-group-text-color); transition: color .3s var(--n-bezier); - `)])]),z("submenu",` + `)])]),O("submenu",` cursor: pointer; position: relative; margin-top: 6px; - `,[z("menu-item-content",` + `,[O("menu-item-content",` height: var(--n-item-height); - `),z("submenu-children",` + `),O("submenu-children",` overflow: hidden; padding: 0; - `,[Gp({duration:".2s"})])]),z("menu-item-group",[z("menu-item-group-title",` + `,[Gp({duration:".2s"})])]),O("menu-item-group",[O("menu-item-group-title",` margin-top: 6px; color: var(--n-group-text-color); cursor: default; @@ -3186,20 +3186,20 @@ ${t} transition: padding-left .3s var(--n-bezier), color .3s var(--n-bezier); - `)])]),z("menu-tooltip",[j("a",` + `)])]),O("menu-tooltip",[V("a",` color: inherit; text-decoration: none; - `)]),z("menu-divider",` + `)]),O("menu-divider",` transition: background-color .3s var(--n-bezier); background-color: var(--n-divider-color); height: 1px; margin: 6px 18px; - `)]);function Kr(e,t){return[K("hover",e,t),j("&:hover",e,t)]}const YG=Object.assign(Object.assign({},Fe.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,items:Array,onOpenNamesChange:[Function,Array],onSelect:[Function,Array],onExpandedNamesChange:[Function,Array],expandedNames:Array,defaultExpandedNames:Array,dropdownPlacement:{type:String,default:"bottom"}}),XG=pe({name:"Menu",props:YG,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=ct(e),o=Fe("Menu","-menu",GG,Jq,e,t),r=He(j2,null),i=N(()=>{var T;const{collapsed:P}=e;if(P!==void 0)return P;if(r){const{collapseModeRef:k,collapsedRef:I}=r;if(k.value==="width")return(T=I.value)!==null&&T!==void 0?T:!1}return!1}),a=N(()=>{const{keyField:T,childrenField:P,disabledField:k}=e;return nl(e.items||e.options,{getIgnored(I){return Z2(I)},getChildren(I){return I[P]},getDisabled(I){return I[k]},getKey(I){var A;return(A=I[T])!==null&&A!==void 0?A:I.name}})}),s=N(()=>new Set(a.value.treeNodes.map(T=>T.key))),{watchProps:l}=e,c=B(null);l!=null&&l.includes("defaultValue")?un(()=>{c.value=e.defaultValue}):c.value=e.defaultValue;const u=Ne(e,"value"),d=rn(u,c),f=B([]),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")?un(p):p();const h=Cp(e,["expandedNames","expandedKeys"]),m=rn(h,f),v=N(()=>a.value.treeNodes),g=N(()=>a.value.getPath(d.value).keyPath);lt(ll,{props:e,mergedCollapsedRef:i,mergedThemeRef:o,mergedValueRef:d,mergedExpandedKeysRef:m,activePathRef:g,mergedClsPrefixRef:t,isHorizontalRef:N(()=>e.mode==="horizontal"),invertedRef:Ne(e,"inverted"),doSelect:y,toggleExpand:C});function y(T,P){const{"onUpdate:value":k,onUpdateValue:I,onSelect:A}=e;I&&Re(I,T,P),k&&Re(k,T,P),A&&Re(A,T,P),c.value=T}function S(T){const{"onUpdate:expandedKeys":P,onUpdateExpandedKeys:k,onExpandedNamesChange:I,onOpenNamesChange:A}=e;P&&Re(P,T),k&&Re(k,T),I&&Re(I,T),A&&Re(A,T),f.value=T}function C(T){const P=Array.from(m.value),k=P.findIndex(I=>I===T);if(~k)P.splice(k,1);else{if(e.accordion&&s.value.has(T)){const I=P.findIndex(A=>s.value.has(A));I>-1&&P.splice(I,1)}P.push(T)}S(P)}const _=T=>{const P=a.value.getPath(T??d.value,{includeSelf:!1}).keyPath;if(!P.length)return;const k=Array.from(m.value),I=new Set([...k,...P]);e.accordion&&s.value.forEach(A=>{I.has(A)&&!P.includes(A)&&I.delete(A)}),S(Array.from(I))},x=N(()=>{const{inverted:T}=e,{common:{cubicBezierEaseInOut:P},self:k}=o.value,{borderRadius:I,borderColorHorizontal:A,fontSize:q,itemHeight:F,dividerColor:O}=k,$={"--n-divider-color":O,"--n-bezier":P,"--n-font-size":q,"--n-border-color-horizontal":A,"--n-border-radius":I,"--n-item-height":F};return T?($["--n-group-text-color"]=k.groupTextColorInverted,$["--n-color"]=k.colorInverted,$["--n-item-text-color"]=k.itemTextColorInverted,$["--n-item-text-color-hover"]=k.itemTextColorHoverInverted,$["--n-item-text-color-active"]=k.itemTextColorActiveInverted,$["--n-item-text-color-child-active"]=k.itemTextColorChildActiveInverted,$["--n-item-text-color-child-active-hover"]=k.itemTextColorChildActiveInverted,$["--n-item-text-color-active-hover"]=k.itemTextColorActiveHoverInverted,$["--n-item-icon-color"]=k.itemIconColorInverted,$["--n-item-icon-color-hover"]=k.itemIconColorHoverInverted,$["--n-item-icon-color-active"]=k.itemIconColorActiveInverted,$["--n-item-icon-color-active-hover"]=k.itemIconColorActiveHoverInverted,$["--n-item-icon-color-child-active"]=k.itemIconColorChildActiveInverted,$["--n-item-icon-color-child-active-hover"]=k.itemIconColorChildActiveHoverInverted,$["--n-item-icon-color-collapsed"]=k.itemIconColorCollapsedInverted,$["--n-item-text-color-horizontal"]=k.itemTextColorHorizontalInverted,$["--n-item-text-color-hover-horizontal"]=k.itemTextColorHoverHorizontalInverted,$["--n-item-text-color-active-horizontal"]=k.itemTextColorActiveHorizontalInverted,$["--n-item-text-color-child-active-horizontal"]=k.itemTextColorChildActiveHorizontalInverted,$["--n-item-text-color-child-active-hover-horizontal"]=k.itemTextColorChildActiveHoverHorizontalInverted,$["--n-item-text-color-active-hover-horizontal"]=k.itemTextColorActiveHoverHorizontalInverted,$["--n-item-icon-color-horizontal"]=k.itemIconColorHorizontalInverted,$["--n-item-icon-color-hover-horizontal"]=k.itemIconColorHoverHorizontalInverted,$["--n-item-icon-color-active-horizontal"]=k.itemIconColorActiveHorizontalInverted,$["--n-item-icon-color-active-hover-horizontal"]=k.itemIconColorActiveHoverHorizontalInverted,$["--n-item-icon-color-child-active-horizontal"]=k.itemIconColorChildActiveHorizontalInverted,$["--n-item-icon-color-child-active-hover-horizontal"]=k.itemIconColorChildActiveHoverHorizontalInverted,$["--n-arrow-color"]=k.arrowColorInverted,$["--n-arrow-color-hover"]=k.arrowColorHoverInverted,$["--n-arrow-color-active"]=k.arrowColorActiveInverted,$["--n-arrow-color-active-hover"]=k.arrowColorActiveHoverInverted,$["--n-arrow-color-child-active"]=k.arrowColorChildActiveInverted,$["--n-arrow-color-child-active-hover"]=k.arrowColorChildActiveHoverInverted,$["--n-item-color-hover"]=k.itemColorHoverInverted,$["--n-item-color-active"]=k.itemColorActiveInverted,$["--n-item-color-active-hover"]=k.itemColorActiveHoverInverted,$["--n-item-color-active-collapsed"]=k.itemColorActiveCollapsedInverted):($["--n-group-text-color"]=k.groupTextColor,$["--n-color"]=k.color,$["--n-item-text-color"]=k.itemTextColor,$["--n-item-text-color-hover"]=k.itemTextColorHover,$["--n-item-text-color-active"]=k.itemTextColorActive,$["--n-item-text-color-child-active"]=k.itemTextColorChildActive,$["--n-item-text-color-child-active-hover"]=k.itemTextColorChildActiveHover,$["--n-item-text-color-active-hover"]=k.itemTextColorActiveHover,$["--n-item-icon-color"]=k.itemIconColor,$["--n-item-icon-color-hover"]=k.itemIconColorHover,$["--n-item-icon-color-active"]=k.itemIconColorActive,$["--n-item-icon-color-active-hover"]=k.itemIconColorActiveHover,$["--n-item-icon-color-child-active"]=k.itemIconColorChildActive,$["--n-item-icon-color-child-active-hover"]=k.itemIconColorChildActiveHover,$["--n-item-icon-color-collapsed"]=k.itemIconColorCollapsed,$["--n-item-text-color-horizontal"]=k.itemTextColorHorizontal,$["--n-item-text-color-hover-horizontal"]=k.itemTextColorHoverHorizontal,$["--n-item-text-color-active-horizontal"]=k.itemTextColorActiveHorizontal,$["--n-item-text-color-child-active-horizontal"]=k.itemTextColorChildActiveHorizontal,$["--n-item-text-color-child-active-hover-horizontal"]=k.itemTextColorChildActiveHoverHorizontal,$["--n-item-text-color-active-hover-horizontal"]=k.itemTextColorActiveHoverHorizontal,$["--n-item-icon-color-horizontal"]=k.itemIconColorHorizontal,$["--n-item-icon-color-hover-horizontal"]=k.itemIconColorHoverHorizontal,$["--n-item-icon-color-active-horizontal"]=k.itemIconColorActiveHorizontal,$["--n-item-icon-color-active-hover-horizontal"]=k.itemIconColorActiveHoverHorizontal,$["--n-item-icon-color-child-active-horizontal"]=k.itemIconColorChildActiveHorizontal,$["--n-item-icon-color-child-active-hover-horizontal"]=k.itemIconColorChildActiveHoverHorizontal,$["--n-arrow-color"]=k.arrowColor,$["--n-arrow-color-hover"]=k.arrowColorHover,$["--n-arrow-color-active"]=k.arrowColorActive,$["--n-arrow-color-active-hover"]=k.arrowColorActiveHover,$["--n-arrow-color-child-active"]=k.arrowColorChildActive,$["--n-arrow-color-child-active-hover"]=k.arrowColorChildActiveHover,$["--n-item-color-hover"]=k.itemColorHover,$["--n-item-color-active"]=k.itemColorActive,$["--n-item-color-active-hover"]=k.itemColorActiveHover,$["--n-item-color-active-collapsed"]=k.itemColorActiveCollapsed),$}),w=n?Rt("menu",N(()=>e.inverted?"a":"b"),x,e):void 0;return{mergedClsPrefix:t,controlledExpandedKeys:h,uncontrolledExpanededKeys:f,mergedExpandedKeys:m,uncontrolledValue:c,mergedValue:d,activePath:g,tmNodes:v,mergedTheme:o,mergedCollapsed:i,cssVars:n?void 0:x,themeClass:w==null?void 0:w.themeClass,onRender:w==null?void 0:w.onRender,showOption:_}},render(){const{mergedClsPrefix:e,mode:t,themeClass:n,onRender:o}=this;return o==null||o(),b("div",{role:t==="horizontal"?"menubar":"menu",class:[`${e}-menu`,n,`${e}-menu--${t}`,this.mergedCollapsed&&`${e}-menu--collapsed`],style:this.cssVars},this.tmNodes.map(r=>pm(r,this.$props)))}}),J2={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},eS="n-message-api",tS="n-message-provider",QG=j([z("message-wrapper",` + `)]);function Kr(e,t){return[K("hover",e,t),V("&:hover",e,t)]}const XG=Object.assign(Object.assign({},Fe.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,items:Array,onOpenNamesChange:[Function,Array],onSelect:[Function,Array],onExpandedNamesChange:[Function,Array],expandedNames:Array,defaultExpandedNames:Array,dropdownPlacement:{type:String,default:"bottom"}}),QG=pe({name:"Menu",props:XG,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=ct(e),o=Fe("Menu","-menu",YG,eK,e,t),r=He(V2,null),i=L(()=>{var T;const{collapsed:P}=e;if(P!==void 0)return P;if(r){const{collapseModeRef:k,collapsedRef:A}=r;if(k.value==="width")return(T=A.value)!==null&&T!==void 0?T:!1}return!1}),a=L(()=>{const{keyField:T,childrenField:P,disabledField:k}=e;return nl(e.items||e.options,{getIgnored(A){return J2(A)},getChildren(A){return A[P]},getDisabled(A){return A[k]},getKey(A){var I;return(I=A[T])!==null&&I!==void 0?I:A.name}})}),s=L(()=>new Set(a.value.treeNodes.map(T=>T.key))),{watchProps:l}=e,c=N(null);l!=null&&l.includes("defaultValue")?un(()=>{c.value=e.defaultValue}):c.value=e.defaultValue;const u=Ne(e,"value"),d=rn(u,c),f=N([]),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")?un(p):p();const h=Cp(e,["expandedNames","expandedKeys"]),m=rn(h,f),v=L(()=>a.value.treeNodes),g=L(()=>a.value.getPath(d.value).keyPath);lt(ll,{props:e,mergedCollapsedRef:i,mergedThemeRef:o,mergedValueRef:d,mergedExpandedKeysRef:m,activePathRef:g,mergedClsPrefixRef:t,isHorizontalRef:L(()=>e.mode==="horizontal"),invertedRef:Ne(e,"inverted"),doSelect:y,toggleExpand:C});function y(T,P){const{"onUpdate:value":k,onUpdateValue:A,onSelect:I}=e;A&&Re(A,T,P),k&&Re(k,T,P),I&&Re(I,T,P),c.value=T}function S(T){const{"onUpdate:expandedKeys":P,onUpdateExpandedKeys:k,onExpandedNamesChange:A,onOpenNamesChange:I}=e;P&&Re(P,T),k&&Re(k,T),A&&Re(A,T),I&&Re(I,T),f.value=T}function C(T){const P=Array.from(m.value),k=P.findIndex(A=>A===T);if(~k)P.splice(k,1);else{if(e.accordion&&s.value.has(T)){const A=P.findIndex(I=>s.value.has(I));A>-1&&P.splice(A,1)}P.push(T)}S(P)}const _=T=>{const P=a.value.getPath(T??d.value,{includeSelf:!1}).keyPath;if(!P.length)return;const k=Array.from(m.value),A=new Set([...k,...P]);e.accordion&&s.value.forEach(I=>{A.has(I)&&!P.includes(I)&&A.delete(I)}),S(Array.from(A))},x=L(()=>{const{inverted:T}=e,{common:{cubicBezierEaseInOut:P},self:k}=o.value,{borderRadius:A,borderColorHorizontal:I,fontSize:W,itemHeight:B,dividerColor:z}=k,$={"--n-divider-color":z,"--n-bezier":P,"--n-font-size":W,"--n-border-color-horizontal":I,"--n-border-radius":A,"--n-item-height":B};return T?($["--n-group-text-color"]=k.groupTextColorInverted,$["--n-color"]=k.colorInverted,$["--n-item-text-color"]=k.itemTextColorInverted,$["--n-item-text-color-hover"]=k.itemTextColorHoverInverted,$["--n-item-text-color-active"]=k.itemTextColorActiveInverted,$["--n-item-text-color-child-active"]=k.itemTextColorChildActiveInverted,$["--n-item-text-color-child-active-hover"]=k.itemTextColorChildActiveInverted,$["--n-item-text-color-active-hover"]=k.itemTextColorActiveHoverInverted,$["--n-item-icon-color"]=k.itemIconColorInverted,$["--n-item-icon-color-hover"]=k.itemIconColorHoverInverted,$["--n-item-icon-color-active"]=k.itemIconColorActiveInverted,$["--n-item-icon-color-active-hover"]=k.itemIconColorActiveHoverInverted,$["--n-item-icon-color-child-active"]=k.itemIconColorChildActiveInverted,$["--n-item-icon-color-child-active-hover"]=k.itemIconColorChildActiveHoverInverted,$["--n-item-icon-color-collapsed"]=k.itemIconColorCollapsedInverted,$["--n-item-text-color-horizontal"]=k.itemTextColorHorizontalInverted,$["--n-item-text-color-hover-horizontal"]=k.itemTextColorHoverHorizontalInverted,$["--n-item-text-color-active-horizontal"]=k.itemTextColorActiveHorizontalInverted,$["--n-item-text-color-child-active-horizontal"]=k.itemTextColorChildActiveHorizontalInverted,$["--n-item-text-color-child-active-hover-horizontal"]=k.itemTextColorChildActiveHoverHorizontalInverted,$["--n-item-text-color-active-hover-horizontal"]=k.itemTextColorActiveHoverHorizontalInverted,$["--n-item-icon-color-horizontal"]=k.itemIconColorHorizontalInverted,$["--n-item-icon-color-hover-horizontal"]=k.itemIconColorHoverHorizontalInverted,$["--n-item-icon-color-active-horizontal"]=k.itemIconColorActiveHorizontalInverted,$["--n-item-icon-color-active-hover-horizontal"]=k.itemIconColorActiveHoverHorizontalInverted,$["--n-item-icon-color-child-active-horizontal"]=k.itemIconColorChildActiveHorizontalInverted,$["--n-item-icon-color-child-active-hover-horizontal"]=k.itemIconColorChildActiveHoverHorizontalInverted,$["--n-arrow-color"]=k.arrowColorInverted,$["--n-arrow-color-hover"]=k.arrowColorHoverInverted,$["--n-arrow-color-active"]=k.arrowColorActiveInverted,$["--n-arrow-color-active-hover"]=k.arrowColorActiveHoverInverted,$["--n-arrow-color-child-active"]=k.arrowColorChildActiveInverted,$["--n-arrow-color-child-active-hover"]=k.arrowColorChildActiveHoverInverted,$["--n-item-color-hover"]=k.itemColorHoverInverted,$["--n-item-color-active"]=k.itemColorActiveInverted,$["--n-item-color-active-hover"]=k.itemColorActiveHoverInverted,$["--n-item-color-active-collapsed"]=k.itemColorActiveCollapsedInverted):($["--n-group-text-color"]=k.groupTextColor,$["--n-color"]=k.color,$["--n-item-text-color"]=k.itemTextColor,$["--n-item-text-color-hover"]=k.itemTextColorHover,$["--n-item-text-color-active"]=k.itemTextColorActive,$["--n-item-text-color-child-active"]=k.itemTextColorChildActive,$["--n-item-text-color-child-active-hover"]=k.itemTextColorChildActiveHover,$["--n-item-text-color-active-hover"]=k.itemTextColorActiveHover,$["--n-item-icon-color"]=k.itemIconColor,$["--n-item-icon-color-hover"]=k.itemIconColorHover,$["--n-item-icon-color-active"]=k.itemIconColorActive,$["--n-item-icon-color-active-hover"]=k.itemIconColorActiveHover,$["--n-item-icon-color-child-active"]=k.itemIconColorChildActive,$["--n-item-icon-color-child-active-hover"]=k.itemIconColorChildActiveHover,$["--n-item-icon-color-collapsed"]=k.itemIconColorCollapsed,$["--n-item-text-color-horizontal"]=k.itemTextColorHorizontal,$["--n-item-text-color-hover-horizontal"]=k.itemTextColorHoverHorizontal,$["--n-item-text-color-active-horizontal"]=k.itemTextColorActiveHorizontal,$["--n-item-text-color-child-active-horizontal"]=k.itemTextColorChildActiveHorizontal,$["--n-item-text-color-child-active-hover-horizontal"]=k.itemTextColorChildActiveHoverHorizontal,$["--n-item-text-color-active-hover-horizontal"]=k.itemTextColorActiveHoverHorizontal,$["--n-item-icon-color-horizontal"]=k.itemIconColorHorizontal,$["--n-item-icon-color-hover-horizontal"]=k.itemIconColorHoverHorizontal,$["--n-item-icon-color-active-horizontal"]=k.itemIconColorActiveHorizontal,$["--n-item-icon-color-active-hover-horizontal"]=k.itemIconColorActiveHoverHorizontal,$["--n-item-icon-color-child-active-horizontal"]=k.itemIconColorChildActiveHorizontal,$["--n-item-icon-color-child-active-hover-horizontal"]=k.itemIconColorChildActiveHoverHorizontal,$["--n-arrow-color"]=k.arrowColor,$["--n-arrow-color-hover"]=k.arrowColorHover,$["--n-arrow-color-active"]=k.arrowColorActive,$["--n-arrow-color-active-hover"]=k.arrowColorActiveHover,$["--n-arrow-color-child-active"]=k.arrowColorChildActive,$["--n-arrow-color-child-active-hover"]=k.arrowColorChildActiveHover,$["--n-item-color-hover"]=k.itemColorHover,$["--n-item-color-active"]=k.itemColorActive,$["--n-item-color-active-hover"]=k.itemColorActiveHover,$["--n-item-color-active-collapsed"]=k.itemColorActiveCollapsed),$}),w=n?Rt("menu",L(()=>e.inverted?"a":"b"),x,e):void 0;return{mergedClsPrefix:t,controlledExpandedKeys:h,uncontrolledExpanededKeys:f,mergedExpandedKeys:m,uncontrolledValue:c,mergedValue:d,activePath:g,tmNodes:v,mergedTheme:o,mergedCollapsed:i,cssVars:n?void 0:x,themeClass:w==null?void 0:w.themeClass,onRender:w==null?void 0:w.onRender,showOption:_}},render(){const{mergedClsPrefix:e,mode:t,themeClass:n,onRender:o}=this;return o==null||o(),b("div",{role:t==="horizontal"?"menubar":"menu",class:[`${e}-menu`,n,`${e}-menu--${t}`,this.mergedCollapsed&&`${e}-menu--collapsed`],style:this.cssVars},this.tmNodes.map(r=>pm(r,this.$props)))}}),eS={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},tS="n-message-api",nS="n-message-provider",ZG=V([O("message-wrapper",` margin: var(--n-margin); z-index: 0; transform-origin: top center; display: flex; - `,[Gp({overflow:"visible",originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.85)"}})]),z("message",` + `,[Gp({overflow:"visible",originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.85)"}})]),O("message",` box-sizing: border-box; display: flex; align-items: center; @@ -3229,10 +3229,10 @@ ${t} width: var(--n-icon-size); font-size: var(--n-icon-size); flex-shrink: 0; - `,[["default","info","success","warning","error","loading"].map(e=>K(`${e}-type`,[j("> *",` + `,[["default","info","success","warning","error","loading"].map(e=>K(`${e}-type`,[V("> *",` color: var(--n-icon-color-${e}); transition: color .3s var(--n-bezier); - `)])),j("> *",` + `)])),V("> *",` position: absolute; left: 0; top: 0; @@ -3244,11 +3244,11 @@ ${t} background-color .3s var(--n-bezier), color .3s var(--n-bezier); flex-shrink: 0; - `,[j("&:hover",` + `,[V("&:hover",` color: var(--n-close-icon-color-hover); - `),j("&:active",` + `),V("&:active",` color: var(--n-close-icon-color-pressed); - `)])]),z("message-container",` + `)])]),O("message-container",` z-index: 6000; position: fixed; height: 0; @@ -3287,35 +3287,35 @@ ${t} right: 12px; justify-content: flex-end; align-items: flex-end; - `)])]),ZG={info:()=>b(zr,null),success:()=>b(Ei,null),warning:()=>b($i,null),error:()=>b(Ri,null),default:()=>null},JG=pe({name:"Message",props:Object.assign(Object.assign({},J2),{render:Function}),setup(e){const{inlineThemeDisabled:t,mergedRtlRef:n}=ct(e),{props:o,mergedClsPrefixRef:r}=He(tS),i=Rn("Message",n,r),a=Fe("Message","-message",QG,Sq,o,r),s=N(()=>{const{type:c}=e,{common:{cubicBezierEaseInOut:u},self:{padding:d,margin:f,maxWidth:p,iconMargin:h,closeMargin:m,closeSize:v,iconSize:g,fontSize:y,lineHeight:S,borderRadius:C,iconColorInfo:_,iconColorSuccess:x,iconColorWarning:w,iconColorError:T,iconColorLoading:P,closeIconSize:k,closeBorderRadius:I,[Pe("textColor",c)]:A,[Pe("boxShadow",c)]:q,[Pe("color",c)]:F,[Pe("closeColorHover",c)]:O,[Pe("closeColorPressed",c)]:$,[Pe("closeIconColor",c)]:W,[Pe("closeIconColorPressed",c)]:Q,[Pe("closeIconColorHover",c)]:L}}=a.value;return{"--n-bezier":u,"--n-margin":f,"--n-padding":d,"--n-max-width":p,"--n-font-size":y,"--n-icon-margin":h,"--n-icon-size":g,"--n-close-icon-size":k,"--n-close-border-radius":I,"--n-close-size":v,"--n-close-margin":m,"--n-text-color":A,"--n-color":F,"--n-box-shadow":q,"--n-icon-color-info":_,"--n-icon-color-success":x,"--n-icon-color-warning":w,"--n-icon-color-error":T,"--n-icon-color-loading":P,"--n-close-color-hover":O,"--n-close-color-pressed":$,"--n-close-icon-color":W,"--n-close-icon-color-pressed":Q,"--n-close-icon-color-hover":L,"--n-line-height":S,"--n-border-radius":C}}),l=t?Rt("message",N(()=>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 b("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):b("div",{class:[`${r}-message ${r}-message--${t}-type`,this.rtlEnabled&&`${r}-message--rtl`]},(d=eY(l,t,r))&&u?b("div",{class:`${r}-message__icon ${r}-message__icon--${t}-type`},b(Ai,null,{default:()=>d})):null,b("div",{class:`${r}-message__content`},Nt(o)),n?b(Ii,{clsPrefix:r,class:`${r}-message__close`,onClick:c,absolute:!0}):null))}});function eY(e,t,n){if(typeof e=="function")return e();{const o=t==="loading"?b(Mi,{clsPrefix:n,strokeWidth:24,scale:.85}):ZG[t]();return o?b(Bt,{clsPrefix:n,key:t},{default:()=>o}):null}}const tY=pe({name:"MessageEnvironment",props:Object.assign(Object.assign({},J2),{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=B(!0);Vt(()=>{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 b(yu,{appear:!0,onAfterLeave:this.handleAfterLeave,onLeave:this.onLeave},{default:()=>[this.show?b(JG,{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]})}}),nY=Object.assign(Object.assign({},Fe.props),{to:[String,Object],duration:{type:Number,default:3e3},keepAliveOnHover:Boolean,max:Number,placement:{type:String,default:"top"},closable:Boolean,containerStyle:[String,Object]}),oY=pe({name:"MessageProvider",props:nY,setup(e){const{mergedClsPrefixRef:t}=ct(e),n=B([]),o=B({}),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};lt(tS,{props:e,mergedClsPrefixRef:t}),lt(eS,r);function i(l,c){const u=Ia(),d=bo(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 b(et,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.messageList.length?b(qc,{to:(n=this.to)!==null&&n!==void 0?n:"body"},b("div",{class:[`${this.mergedClsPrefix}-message-container`,`${this.mergedClsPrefix}-message-container--${this.placement}`],key:"message-container",style:this.containerStyle},this.messageList.map(o=>b(tY,Object.assign({ref:r=>{r&&(this.messageRefs[o.key]=r)},internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave},Ys(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 rY(){const e=He(eS,null);return e===null&&Fr("use-message","No outer founded. See prerequisite in https://www.naiveui.com/en-US/os-theme/components/message for more details. If you want to use `useMessage` outside setup, please check https://www.naiveui.com/zh-CN/os-theme/components/message#Q-&-A."),e}const Au="n-notification-provider",iY=pe({name:"NotificationContainer",props:{scrollable:{type:Boolean,required:!0},placement:{type:String,required:!0}},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t,wipTransitionCountRef:n}=He(Au),o=B(null);return un(()=>{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 b("div",{ref:"selfRef",class:[`${n}-notification-container`,t&&`${n}-notification-container--scrollable`,`${n}-notification-container--${r}`]},t?b(_o,{theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,contentStyle:{overflow:"hidden"}},e):e)}}),aY={info:()=>b(zr,null),success:()=>b(Ei,null),warning:()=>b($i,null),error:()=>b(Ri,null),default:()=>null},mm={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},sY=Lr(mm),lY=pe({name:"Notification",props:mm,setup(e){const{mergedClsPrefixRef:t,mergedThemeRef:n,props:o}=He(Au),{inlineThemeDisabled:r,mergedRtlRef:i}=ct(),a=Rn("Notification",i,t),s=N(()=>{const{type:c}=e,{self:{color:u,textColor:d,closeIconColor:f,closeIconColorHover:p,closeIconColorPressed:h,headerTextColor:m,descriptionTextColor:v,actionTextColor:g,borderRadius:y,headerFontWeight:S,boxShadow:C,lineHeight:_,fontSize:x,closeMargin:w,closeSize:T,width:P,padding:k,closeIconSize:I,closeBorderRadius:A,closeColorHover:q,closeColorPressed:F,titleFontSize:O,metaFontSize:$,descriptionFontSize:W,[Pe("iconColor",c)]:Q},common:{cubicBezierEaseOut:L,cubicBezierEaseIn:M,cubicBezierEaseInOut:se}}=n.value,{left:X,right:ne,top:fe,bottom:xe}=si(k);return{"--n-color":u,"--n-font-size":x,"--n-text-color":d,"--n-description-text-color":v,"--n-action-text-color":g,"--n-title-text-color":m,"--n-title-font-weight":S,"--n-bezier":se,"--n-bezier-ease-out":L,"--n-bezier-ease-in":M,"--n-border-radius":y,"--n-box-shadow":C,"--n-close-border-radius":A,"--n-close-color-hover":q,"--n-close-color-pressed":F,"--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":w,"--n-close-size":T,"--n-close-icon-size":I,"--n-width":P,"--n-padding-left":X,"--n-padding-right":ne,"--n-padding-top":fe,"--n-padding-bottom":xe,"--n-title-font-size":O,"--n-meta-font-size":$,"--n-description-font-size":W}}),l=r?Rt("notification",N(()=>e.type[0]),s,o):void 0;return{mergedClsPrefix:t,showAvatar:N(()=>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),b("div",{class:[`${t}-notification-wrapper`,this.themeClass],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:this.cssVars},b("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?b("div",{class:`${t}-notification__avatar`},this.avatar?Nt(this.avatar):this.type!=="default"?b(Bt,{clsPrefix:t},{default:()=>aY[this.type]()}):null):null,this.closable?b(Ii,{clsPrefix:t,class:`${t}-notification__close`,onClick:this.handleCloseClick}):null,b("div",{ref:"bodyRef",class:`${t}-notification-main`},this.title?b("div",{class:`${t}-notification-main__header`},Nt(this.title)):null,this.description?b("div",{class:`${t}-notification-main__description`},Nt(this.description)):null,this.content?b("pre",{class:`${t}-notification-main__content`},Nt(this.content)):null,this.meta||this.action?b("div",{class:`${t}-notification-main-footer`},this.meta?b("div",{class:`${t}-notification-main-footer__meta`},Nt(this.meta)):null,this.action?b("div",{class:`${t}-notification-main-footer__action`},Nt(this.action)):null):null)))}}),cY=Object.assign(Object.assign({},mm),{duration:Number,onClose:Function,onLeave:Function,onAfterEnter:Function,onAfterLeave:Function,onHide:Function,onAfterShow:Function,onAfterHide:Function}),uY=pe({name:"NotificationEnvironment",props:Object.assign(Object.assign({},cY),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const{wipTransitionCountRef:t}=He(Au),n=B(!0);let o=null;function r(){n.value=!1,o&&window.clearTimeout(o)}function i(h){t.value++,jt(()=>{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:g}=e;h&&h(),m(g),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 Vt(()=>{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 b(fn,{name:"notification-transition",appear:!0,onBeforeEnter:this.handleBeforeEnter,onAfterEnter:this.handleAfterEnter,onBeforeLeave:this.handleBeforeLeave,onLeave:this.handleLeave,onAfterLeave:this.handleAfterLeave},{default:()=>this.show?b(lY,Object.assign({},Kn(this.$props,sY),{onClose:this.handleClose,onMouseenter:this.duration&&this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.duration&&this.keepAliveOnHover?this.handleMouseleave:void 0})):null})}}),dY=j([z("notification-container",` + `)])]),JG={info:()=>b(zr,null),success:()=>b(Ei,null),warning:()=>b($i,null),error:()=>b(Ri,null),default:()=>null},eY=pe({name:"Message",props:Object.assign(Object.assign({},eS),{render:Function}),setup(e){const{inlineThemeDisabled:t,mergedRtlRef:n}=ct(e),{props:o,mergedClsPrefixRef:r}=He(nS),i=Rn("Message",n,r),a=Fe("Message","-message",ZG,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:g,fontSize:y,lineHeight:S,borderRadius:C,iconColorInfo:_,iconColorSuccess:x,iconColorWarning:w,iconColorError:T,iconColorLoading:P,closeIconSize:k,closeBorderRadius:A,[Pe("textColor",c)]:I,[Pe("boxShadow",c)]:W,[Pe("color",c)]:B,[Pe("closeColorHover",c)]:z,[Pe("closeColorPressed",c)]:$,[Pe("closeIconColor",c)]:j,[Pe("closeIconColorPressed",c)]:X,[Pe("closeIconColorHover",c)]:F}}=a.value;return{"--n-bezier":u,"--n-margin":f,"--n-padding":d,"--n-max-width":p,"--n-font-size":y,"--n-icon-margin":h,"--n-icon-size":g,"--n-close-icon-size":k,"--n-close-border-radius":A,"--n-close-size":v,"--n-close-margin":m,"--n-text-color":I,"--n-color":B,"--n-box-shadow":W,"--n-icon-color-info":_,"--n-icon-color-success":x,"--n-icon-color-warning":w,"--n-icon-color-error":T,"--n-icon-color-loading":P,"--n-close-color-hover":z,"--n-close-color-pressed":$,"--n-close-icon-color":j,"--n-close-icon-color-pressed":X,"--n-close-icon-color-hover":F,"--n-line-height":S,"--n-border-radius":C}}),l=t?Rt("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 b("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):b("div",{class:[`${r}-message ${r}-message--${t}-type`,this.rtlEnabled&&`${r}-message--rtl`]},(d=tY(l,t,r))&&u?b("div",{class:`${r}-message__icon ${r}-message__icon--${t}-type`},b(Ai,null,{default:()=>d})):null,b("div",{class:`${r}-message__content`},Nt(o)),n?b(Ii,{clsPrefix:r,class:`${r}-message__close`,onClick:c,absolute:!0}):null))}});function tY(e,t,n){if(typeof e=="function")return e();{const o=t==="loading"?b(Mi,{clsPrefix:n,strokeWidth:24,scale:.85}):JG[t]();return o?b(Bt,{clsPrefix:n,key:t},{default:()=>o}):null}}const nY=pe({name:"MessageEnvironment",props:Object.assign(Object.assign({},eS),{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=N(!0);Vt(()=>{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 b(yu,{appear:!0,onAfterLeave:this.handleAfterLeave,onLeave:this.onLeave},{default:()=>[this.show?b(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]})}}),oY=Object.assign(Object.assign({},Fe.props),{to:[String,Object],duration:{type:Number,default:3e3},keepAliveOnHover:Boolean,max:Number,placement:{type:String,default:"top"},closable:Boolean,containerStyle:[String,Object]}),rY=pe({name:"MessageProvider",props:oY,setup(e){const{mergedClsPrefixRef:t}=ct(e),n=N([]),o=N({}),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};lt(nS,{props:e,mergedClsPrefixRef:t}),lt(tS,r);function i(l,c){const u=Ia(),d=bo(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 b(et,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.messageList.length?b(qc,{to:(n=this.to)!==null&&n!==void 0?n:"body"},b("div",{class:[`${this.mergedClsPrefix}-message-container`,`${this.mergedClsPrefix}-message-container--${this.placement}`],key:"message-container",style:this.containerStyle},this.messageList.map(o=>b(nY,Object.assign({ref:r=>{r&&(this.messageRefs[o.key]=r)},internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave},Ys(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 iY(){const e=He(tS,null);return e===null&&Fr("use-message","No outer founded. See prerequisite in https://www.naiveui.com/en-US/os-theme/components/message for more details. If you want to use `useMessage` outside setup, please check https://www.naiveui.com/zh-CN/os-theme/components/message#Q-&-A."),e}const Au="n-notification-provider",aY=pe({name:"NotificationContainer",props:{scrollable:{type:Boolean,required:!0},placement:{type:String,required:!0}},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t,wipTransitionCountRef:n}=He(Au),o=N(null);return un(()=>{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 b("div",{ref:"selfRef",class:[`${n}-notification-container`,t&&`${n}-notification-container--scrollable`,`${n}-notification-container--${r}`]},t?b(_o,{theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,contentStyle:{overflow:"hidden"}},e):e)}}),sY={info:()=>b(zr,null),success:()=>b(Ei,null),warning:()=>b($i,null),error:()=>b(Ri,null),default:()=>null},mm={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},lY=Lr(mm),cY=pe({name:"Notification",props:mm,setup(e){const{mergedClsPrefixRef:t,mergedThemeRef:n,props:o}=He(Au),{inlineThemeDisabled:r,mergedRtlRef:i}=ct(),a=Rn("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:g,borderRadius:y,headerFontWeight:S,boxShadow:C,lineHeight:_,fontSize:x,closeMargin:w,closeSize:T,width:P,padding:k,closeIconSize:A,closeBorderRadius:I,closeColorHover:W,closeColorPressed:B,titleFontSize:z,metaFontSize:$,descriptionFontSize:j,[Pe("iconColor",c)]:X},common:{cubicBezierEaseOut:F,cubicBezierEaseIn:M,cubicBezierEaseInOut:se}}=n.value,{left:Q,right:ne,top:fe,bottom:xe}=si(k);return{"--n-color":u,"--n-font-size":x,"--n-text-color":d,"--n-description-text-color":v,"--n-action-text-color":g,"--n-title-text-color":m,"--n-title-font-weight":S,"--n-bezier":se,"--n-bezier-ease-out":F,"--n-bezier-ease-in":M,"--n-border-radius":y,"--n-box-shadow":C,"--n-close-border-radius":I,"--n-close-color-hover":W,"--n-close-color-pressed":B,"--n-close-icon-color":f,"--n-close-icon-color-hover":p,"--n-close-icon-color-pressed":h,"--n-line-height":_,"--n-icon-color":X,"--n-close-margin":w,"--n-close-size":T,"--n-close-icon-size":A,"--n-width":P,"--n-padding-left":Q,"--n-padding-right":ne,"--n-padding-top":fe,"--n-padding-bottom":xe,"--n-title-font-size":z,"--n-meta-font-size":$,"--n-description-font-size":j}}),l=r?Rt("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),b("div",{class:[`${t}-notification-wrapper`,this.themeClass],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:this.cssVars},b("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?b("div",{class:`${t}-notification__avatar`},this.avatar?Nt(this.avatar):this.type!=="default"?b(Bt,{clsPrefix:t},{default:()=>sY[this.type]()}):null):null,this.closable?b(Ii,{clsPrefix:t,class:`${t}-notification__close`,onClick:this.handleCloseClick}):null,b("div",{ref:"bodyRef",class:`${t}-notification-main`},this.title?b("div",{class:`${t}-notification-main__header`},Nt(this.title)):null,this.description?b("div",{class:`${t}-notification-main__description`},Nt(this.description)):null,this.content?b("pre",{class:`${t}-notification-main__content`},Nt(this.content)):null,this.meta||this.action?b("div",{class:`${t}-notification-main-footer`},this.meta?b("div",{class:`${t}-notification-main-footer__meta`},Nt(this.meta)):null,this.action?b("div",{class:`${t}-notification-main-footer__action`},Nt(this.action)):null):null)))}}),uY=Object.assign(Object.assign({},mm),{duration:Number,onClose:Function,onLeave:Function,onAfterEnter:Function,onAfterLeave:Function,onHide:Function,onAfterShow:Function,onAfterHide:Function}),dY=pe({name:"NotificationEnvironment",props:Object.assign(Object.assign({},uY),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const{wipTransitionCountRef:t}=He(Au),n=N(!0);let o=null;function r(){n.value=!1,o&&window.clearTimeout(o)}function i(h){t.value++,jt(()=>{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:g}=e;h&&h(),m(g),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 Vt(()=>{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 b(fn,{name:"notification-transition",appear:!0,onBeforeEnter:this.handleBeforeEnter,onAfterEnter:this.handleAfterEnter,onBeforeLeave:this.handleBeforeLeave,onLeave:this.handleLeave,onAfterLeave:this.handleAfterLeave},{default:()=>this.show?b(cY,Object.assign({},Kn(this.$props,lY),{onClose:this.handleClose,onMouseenter:this.duration&&this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.duration&&this.keepAliveOnHover?this.handleMouseleave:void 0})):null})}}),fY=V([O("notification-container",` z-index: 4000; position: fixed; overflow: visible; display: flex; flex-direction: column; align-items: flex-end; - `,[j(">",[z("scrollbar",` + `,[V(">",[O("scrollbar",` width: initial; overflow: visible; height: -moz-fit-content !important; height: fit-content !important; max-height: 100vh !important; - `,[j(">",[z("scrollbar-container",` + `,[V(">",[O("scrollbar-container",` height: -moz-fit-content !important; height: fit-content !important; max-height: 100vh !important; - `,[z("scrollbar-content",` + `,[O("scrollbar-content",` padding-top: 12px; padding-bottom: 33px; `)])])])]),K("top, top-right, top-left",` top: 12px; - `,[j("&.transitioning >",[z("scrollbar",[j(">",[z("scrollbar-container",` + `,[V("&.transitioning >",[O("scrollbar",[V(">",[O("scrollbar-container",` min-height: 100vh !important; `)])])])]),K("bottom, bottom-right, bottom-left",` bottom: 12px; - `,[j(">",[z("scrollbar",[j(">",[z("scrollbar-container",[z("scrollbar-content",` + `,[V(">",[O("scrollbar",[V(">",[O("scrollbar-container",[O("scrollbar-content",` padding-bottom: 12px; - `)])])])]),z("notification-wrapper",` + `)])])])]),O("notification-wrapper",` display: flex; align-items: flex-end; margin-bottom: 0; @@ -3323,18 +3323,18 @@ ${t} `)]),K("top, bottom",` left: 50%; transform: translateX(-50%); - `,[z("notification-wrapper",[j("&.notification-transition-enter-from, &.notification-transition-leave-to",` + `,[O("notification-wrapper",[V("&.notification-transition-enter-from, &.notification-transition-leave-to",` transform: scale(0.85); - `),j("&.notification-transition-leave-from, &.notification-transition-enter-to",` + `),V("&.notification-transition-leave-from, &.notification-transition-enter-to",` transform: scale(1); - `)])]),K("top",[z("notification-wrapper",` + `)])]),K("top",[O("notification-wrapper",` transform-origin: top center; - `)]),K("bottom",[z("notification-wrapper",` + `)]),K("bottom",[O("notification-wrapper",` transform-origin: bottom center; - `)]),K("top-right, bottom-right",[z("notification",` + `)]),K("top-right, bottom-right",[O("notification",` margin-left: 28px; margin-right: 16px; - `)]),K("top-left, bottom-left",[z("notification",` + `)]),K("top-left, bottom-left",[O("notification",` margin-left: 16px; margin-right: 28px; `)]),K("top-right",` @@ -3353,15 +3353,15 @@ ${t} bottom: 0; `),K("bottom-left",` bottom: 0; - `)]),z("notification-wrapper",` + `)]),O("notification-wrapper",` margin-bottom: 12px; - `,[j("&.notification-transition-enter-from, &.notification-transition-leave-to",` + `,[V("&.notification-transition-enter-from, &.notification-transition-leave-to",` opacity: 0; margin-top: 0 !important; margin-bottom: 0 !important; - `),j("&.notification-transition-leave-from, &.notification-transition-enter-to",` + `),V("&.notification-transition-leave-from, &.notification-transition-enter-to",` opacity: 1; - `),j("&.notification-transition-leave-active",` + `),V("&.notification-transition-leave-active",` transition: background-color .3s var(--n-bezier), color .3s var(--n-bezier), @@ -3371,7 +3371,7 @@ ${t} margin-top .3s linear, margin-bottom .3s linear, box-shadow .3s var(--n-bezier); - `),j("&.notification-transition-enter-active",` + `),V("&.notification-transition-enter-active",` transition: background-color .3s var(--n-bezier), color .3s var(--n-bezier), @@ -3381,7 +3381,7 @@ ${t} margin-top .3s linear, margin-bottom .3s linear, box-shadow .3s var(--n-bezier); - `)]),z("notification",` + `)]),O("notification",` background-color: var(--n-color); color: var(--n-text-color); transition: @@ -3403,10 +3403,10 @@ ${t} box-shadow: var(--n-box-shadow); box-sizing: border-box; opacity: 1; - `,[D("avatar",[z("icon",{color:"var(--n-icon-color)"}),z("base-icon",{color:"var(--n-icon-color)"})]),K("show-avatar",[z("notification-main",` + `,[D("avatar",[O("icon",{color:"var(--n-icon-color)"}),O("base-icon",{color:"var(--n-icon-color)"})]),K("show-avatar",[O("notification-main",` margin-left: 40px; width: calc(100% - 40px); - `)]),K("closable",[z("notification-main",[j("> *:first-child",{paddingRight:"20px"})]),D("close",` + `)]),K("closable",[O("notification-main",[V("> *:first-child",{paddingRight:"20px"})]),D("close",` position: absolute; top: 0; right: 0; @@ -3424,7 +3424,7 @@ ${t} display: flex; align-items: center; justify-content: center; - `,[z("icon","transition: color .3s var(--n-bezier);")]),z("notification-main",` + `,[O("icon","transition: color .3s var(--n-bezier);")]),O("notification-main",` padding-top: var(--n-padding-top); padding-bottom: var(--n-padding-bottom); box-sizing: border-box; @@ -3432,7 +3432,7 @@ ${t} flex-direction: column; margin-left: 8px; width: calc(100% - 8px); - `,[z("notification-main-footer",` + `,[O("notification-main-footer",` display: flex; align-items: center; justify-content: space-between; @@ -3465,20 +3465,20 @@ ${t} word-wrap: break-word; transition: color .3s var(--n-bezier-ease-out); color: var(--n-text-color); - `,[j("&:first-child",{margin:0})])])])])]);function Hl(e){const n=e.split("-")[1]==="left"?"calc(-100%)":"calc(100%)",o="0";return z("notification-wrapper",[j("&.notification-transition-enter-from, &.notification-transition-leave-to",` + `,[V("&:first-child",{margin:0})])])])])]);function Hl(e){const n=e.split("-")[1]==="left"?"calc(-100%)":"calc(100%)",o="0";return O("notification-wrapper",[V("&.notification-transition-enter-from, &.notification-transition-leave-to",` transform: translate(${n}, 0); - `),j("&.notification-transition-leave-from, &.notification-transition-enter-to",` + `),V("&.notification-transition-leave-from, &.notification-transition-enter-to",` transform: translate(${o}, 0); - `)])}const nS="n-notification-api",fY=Object.assign(Object.assign({},Fe.props),{containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),hY=pe({name:"NotificationProvider",props:fY,setup(e){const{mergedClsPrefixRef:t}=ct(e),n=B([]),o={},r=new Set;function i(p){const h=Ia(),m=()=>{r.add(h),o[h]&&o[h].hide()},v=bo(Object.assign(Object.assign({},p),{key:h,destroy:m,hide:m,deactivate:m})),{max:g}=e;if(g&&n.value.length-r.size>=g){let y=!1,S=0;for(const C of n.value){if(!r.has(C.key)){o[C.key]&&(C.destroy(),y=!0);break}S++}y||n.value.splice(S,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=Fe("Notification","-notification",dY,yq,e,t),c={create:i,info:a[0],success:a[1],warning:a[2],error:a[3],open:d,destroyAll:f},u=B(0);lt(nS,c),lt(Au,{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 b(et,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.notificationList.length?b(qc,{to:(n=this.to)!==null&&n!==void 0?n:"body"},b(iY,{style:this.containerStyle,scrollable:this.scrollable&&o!=="top"&&o!=="bottom",placement:o},{default:()=>this.notificationList.map(r=>b(uY,Object.assign({ref:i=>{const a=r.key;i===null?delete this.notificationRefs[a]:this.notificationRefs[a]=i}},Ys(r,["destroy","hide","deactivate"]),{internalKey:r.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:r.keepAliveOnHover===void 0?this.keepAliveOnHover:r.keepAliveOnHover})))})):null)}});function pY(){const e=He(nS,null);return e===null&&Fr("use-notification","No outer `n-notification-provider` found."),e}const mY=j([z("progress",{display:"inline-block"},[z("progress-icon",` + `)])}const oS="n-notification-api",hY=Object.assign(Object.assign({},Fe.props),{containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),pY=pe({name:"NotificationProvider",props:hY,setup(e){const{mergedClsPrefixRef:t}=ct(e),n=N([]),o={},r=new Set;function i(p){const h=Ia(),m=()=>{r.add(h),o[h]&&o[h].hide()},v=bo(Object.assign(Object.assign({},p),{key:h,destroy:m,hide:m,deactivate:m})),{max:g}=e;if(g&&n.value.length-r.size>=g){let y=!1,S=0;for(const C of n.value){if(!r.has(C.key)){o[C.key]&&(C.destroy(),y=!0);break}S++}y||n.value.splice(S,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=Fe("Notification","-notification",fY,xq,e,t),c={create:i,info:a[0],success:a[1],warning:a[2],error:a[3],open:d,destroyAll:f},u=N(0);lt(oS,c),lt(Au,{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 b(et,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.notificationList.length?b(qc,{to:(n=this.to)!==null&&n!==void 0?n:"body"},b(aY,{style:this.containerStyle,scrollable:this.scrollable&&o!=="top"&&o!=="bottom",placement:o},{default:()=>this.notificationList.map(r=>b(dY,Object.assign({ref:i=>{const a=r.key;i===null?delete this.notificationRefs[a]:this.notificationRefs[a]=i}},Ys(r,["destroy","hide","deactivate"]),{internalKey:r.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:r.keepAliveOnHover===void 0?this.keepAliveOnHover:r.keepAliveOnHover})))})):null)}});function mY(){const e=He(oS,null);return e===null&&Fr("use-notification","No outer `n-notification-provider` found."),e}const gY=V([O("progress",{display:"inline-block"},[O("progress-icon",` color: var(--n-icon-color); transition: color .3s var(--n-bezier); `),K("line",` width: 100%; display: block; - `,[z("progress-content",` + `,[O("progress-content",` display: flex; align-items: center; - `,[z("progress-graph",{flex:1})]),z("progress-custom-content",{marginLeft:"14px"}),z("progress-icon",` + `,[O("progress-graph",{flex:1})]),O("progress-custom-content",{marginLeft:"14px"}),O("progress-icon",` width: 30px; padding-left: 14px; height: var(--n-icon-size-line); @@ -3491,7 +3491,7 @@ ${t} font-size: var(--n-font-size); padding-left: 4px; transition: color .3s var(--n-bezier); - `)])]),K("circle, dashboard",{width:"120px"},[z("progress-custom-content",` + `)])]),K("circle, dashboard",{width:"120px"},[O("progress-custom-content",` position: absolute; left: 50%; top: 50%; @@ -3499,7 +3499,7 @@ ${t} display: flex; align-items: center; justify-content: center; - `),z("progress-text",` + `),O("progress-text",` position: absolute; left: 50%; top: 50%; @@ -3512,7 +3512,7 @@ ${t} font-weight: var(--n-font-weight-circle); transition: color .3s var(--n-bezier); white-space: nowrap; - `),z("progress-icon",` + `),O("progress-icon",` position: absolute; left: 50%; top: 50%; @@ -3524,7 +3524,7 @@ ${t} `)]),K("multiple-circle",` width: 200px; color: inherit; - `,[z("progress-text",` + `,[O("progress-text",` font-weight: var(--n-font-weight-circle); color: var(--n-text-color-circle); position: absolute; @@ -3535,24 +3535,24 @@ ${t} align-items: center; justify-content: center; transition: color .3s var(--n-bezier); - `)]),z("progress-content",{position:"relative"}),z("progress-graph",{position:"relative"},[z("progress-graph-circle",[j("svg",{verticalAlign:"bottom"}),z("progress-graph-circle-fill",` + `)]),O("progress-content",{position:"relative"}),O("progress-graph",{position:"relative"},[O("progress-graph-circle",[V("svg",{verticalAlign:"bottom"}),O("progress-graph-circle-fill",` stroke: var(--n-fill-color); transition: opacity .3s var(--n-bezier), stroke .3s var(--n-bezier), stroke-dasharray .3s var(--n-bezier); - `,[K("empty",{opacity:0})]),z("progress-graph-circle-rail",` + `,[K("empty",{opacity:0})]),O("progress-graph-circle-rail",` transition: stroke .3s var(--n-bezier); overflow: hidden; stroke: var(--n-rail-color); - `)]),z("progress-graph-line",[K("indicator-inside",[z("progress-graph-line-rail",` + `)]),O("progress-graph-line",[K("indicator-inside",[O("progress-graph-line-rail",` height: 16px; line-height: 16px; border-radius: 10px; - `,[z("progress-graph-line-fill",` + `,[O("progress-graph-line-fill",` height: inherit; border-radius: 10px; - `),z("progress-graph-line-indicator",` + `),O("progress-graph-line-indicator",` background: #0000; white-space: nowrap; text-align: right; @@ -3566,10 +3566,10 @@ ${t} height: 16px; display: flex; align-items: center; - `,[z("progress-graph-line-rail",` + `,[O("progress-graph-line-rail",` flex: 1; transition: background-color .3s var(--n-bezier); - `),z("progress-graph-line-indicator",` + `),O("progress-graph-line-indicator",` background: var(--n-fill-color); font-size: 12px; transform: translateZ(0); @@ -3586,14 +3586,14 @@ ${t} right .2s var(--n-bezier), color .3s var(--n-bezier), background-color .3s var(--n-bezier); - `)]),z("progress-graph-line-rail",` + `)]),O("progress-graph-line-rail",` position: relative; overflow: hidden; height: var(--n-rail-height); border-radius: 5px; background-color: var(--n-rail-color); transition: background-color .3s var(--n-bezier); - `,[z("progress-graph-line-fill",` + `,[O("progress-graph-line-fill",` background: var(--n-fill-color); position: relative; border-radius: 5px; @@ -3603,11 +3603,11 @@ ${t} transition: background-color .3s var(--n-bezier), max-width .2s var(--n-bezier); - `,[K("processing",[j("&::after",` + `,[K("processing",[V("&::after",` content: ""; background-image: var(--n-line-bg-processing); animation: progress-processing-animation 2s var(--n-bezier) infinite; - `)])])])])])]),j("@keyframes progress-processing-animation",` + `)])])])])])]),V("@keyframes progress-processing-animation",` 0% { position: absolute; left: 0; @@ -3632,15 +3632,15 @@ ${t} right: 0; opacity: 0; } - `)]),gY={success:b(Ei,null),error:b(Ri,null),warning:b($i,null),info:b(zr,null)},vY=pe({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=N(()=>Ut(e.height)),o=N(()=>e.railBorderRadius!==void 0?Ut(e.railBorderRadius):e.height!==void 0?Ut(e.height,{c:.5}):""),r=N(()=>e.fillBorderRadius!==void 0?Ut(e.fillBorderRadius):e.railBorderRadius!==void 0?Ut(e.railBorderRadius):e.height!==void 0?Ut(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 b("div",{class:`${m}-progress-content`,role:"none"},b("div",{class:`${m}-progress-graph`,"aria-hidden":!0},b("div",{class:[`${m}-progress-graph-line`,{[`${m}-progress-graph-line--indicator-${i}`]:!0}]},b("div",{class:`${m}-progress-graph-line-rail`,style:[{backgroundColor:a,height:n.value,borderRadius:o.value},s]},b("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"?b("div",{class:`${m}-progress-graph-line-indicator`,style:{color:u}},t.default?t.default():`${l}${c}`):null)))),f&&i==="outside"?b("div",null,t.default?b("div",{class:`${m}-progress-custom-content`,style:{color:u},role:"none"},t.default()):d==="default"?b("div",{role:"none",class:`${m}-progress-icon ${m}-progress-icon--as-text`,style:{color:u}},l,c):b("div",{class:`${m}-progress-icon`,"aria-hidden":!0},b(Bt,{clsPrefix:m},{default:()=>gY[d]}))):null)}}}),bY={success:b(Ei,null),error:b(Ri,null),warning:b($i,null),info:b(zr,null)},yY=pe({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} + `)]),vY={success:b(Ei,null),error:b(Ri,null),warning:b($i,null),info:b(zr,null)},bY=pe({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(()=>Ut(e.height)),o=L(()=>e.railBorderRadius!==void 0?Ut(e.railBorderRadius):e.height!==void 0?Ut(e.height,{c:.5}):""),r=L(()=>e.fillBorderRadius!==void 0?Ut(e.fillBorderRadius):e.railBorderRadius!==void 0?Ut(e.railBorderRadius):e.height!==void 0?Ut(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 b("div",{class:`${m}-progress-content`,role:"none"},b("div",{class:`${m}-progress-graph`,"aria-hidden":!0},b("div",{class:[`${m}-progress-graph-line`,{[`${m}-progress-graph-line--indicator-${i}`]:!0}]},b("div",{class:`${m}-progress-graph-line-rail`,style:[{backgroundColor:a,height:n.value,borderRadius:o.value},s]},b("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"?b("div",{class:`${m}-progress-graph-line-indicator`,style:{color:u}},t.default?t.default():`${l}${c}`):null)))),f&&i==="outside"?b("div",null,t.default?b("div",{class:`${m}-progress-custom-content`,style:{color:u},role:"none"},t.default()):d==="default"?b("div",{role:"none",class:`${m}-progress-icon ${m}-progress-icon--as-text`,style:{color:u}},l,c):b("div",{class:`${m}-progress-icon`,"aria-hidden":!0},b(Bt,{clsPrefix:m},{default:()=>vY[d]}))):null)}}}),yY={success:b(Ei,null),error:b(Ri,null),warning:b($i,null),info:b(zr,null)},xY=pe({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,g={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:g}}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:g}=n(l,a,o),y=100+i;return b("div",{class:`${p}-progress-content`,role:"none"},b("div",{class:`${p}-progress-graph`,"aria-hidden":!0},b("div",{class:`${p}-progress-graph-circle`,style:{transform:f?`rotate(${f}deg)`:void 0}},b("svg",{viewBox:`0 0 ${y} ${y}`},b("g",null,b("path",{class:`${p}-progress-graph-circle-rail`,d:h,"stroke-width":i,"stroke-linecap":"round",fill:"none",style:m})),b("g",null,b("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:g}))))),c?b("div",null,t.default?b("div",{class:`${p}-progress-custom-content`,role:"none"},t.default()):s!=="default"?b("div",{class:`${p}-progress-icon`,"aria-hidden":!0},b(Bt,{clsPrefix:p},{default:()=>bY[s]})):b("div",{class:`${p}-progress-text`,style:{color:u},role:"none"},b("span",{class:`${p}-progress-text__percentage`},l),b("span",{class:`${p}-progress-text__unit`},d))):null)}}});function W0(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 xY=pe({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=N(()=>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 b("div",{class:`${d}-progress-content`,role:"none"},b("div",{class:`${d}-progress-graph`,"aria-hidden":!0},b("div",{class:`${d}-progress-graph-circle`},b("svg",{viewBox:`0 0 ${o} ${o}`},u.map((f,p)=>b("g",{key:p},b("path",{class:`${d}-progress-graph-circle-rail`,d:W0(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]]}),b("path",{class:[`${d}-progress-graph-circle-fill`,f===0&&`${d}-progress-graph-circle-fill--empty`],d:W0(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?b("div",null,b("div",{class:`${d}-progress-text`},t.default())):null)}}}),CY=Object.assign(Object.assign({},Fe.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}),wY=pe({name:"Progress",props:CY,setup(e){const t=N(()=>e.indicatorPlacement||e.indicatorPosition),n=N(()=>{if(e.gapDegree||e.gapDegree===0)return e.gapDegree;if(e.type==="dashboard")return 75}),{mergedClsPrefixRef:o,inlineThemeDisabled:r}=ct(e),i=Fe("Progress","-progress",mY,uK,e,o),a=N(()=>{const{status:l}=e,{common:{cubicBezierEaseInOut:c},self:{fontSize:u,fontSizeCircle:d,railColor:f,railHeight:p,iconSizeCircle:h,iconSizeLine:m,textColorCircle:v,textColorLineInner:g,textColorLineOuter:y,lineBgProcessing:S,fontWeightCircle:C,[Pe("iconColor",l)]:_,[Pe("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":C,"--n-icon-color":_,"--n-icon-size-circle":h,"--n-icon-size-line":m,"--n-line-bg-processing":S,"--n-rail-color":f,"--n-rail-height":p,"--n-text-color-circle":v,"--n-text-color-line-inner":g,"--n-text-color-line-outer":y}}),s=r?Rt("progress",N(()=>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:g,mergedClsPrefix:y,gapDeg:S,gapOffsetDegree:C,themeClass:_,$slots:x,onRender:w}=this;return w==null||w(),b("div",{class:[_,`${y}-progress`,`${y}-progress--${e}`,`${y}-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"?b(yY,{clsPrefix:y,status:r,showIndicator:o,indicatorTextColor:n,railColor:i,fillColor:s,railStyle:a,offsetDegree:this.offsetDegree,percentage:l,viewBoxWidth:c,strokeWidth:u,gapDegree:S===void 0?e==="dashboard"?75:0:S,gapOffsetDegree:C,unit:f},x):e==="line"?b(vY,{clsPrefix:y,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"?b(xY,{clsPrefix:y,strokeWidth:u,railColor:i,fillColor:s,railStyle:a,viewBoxWidth:c,percentage:l,showIndicator:o,circleGap:g},x):null)}}),_Y=b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},b("circle",{fill:"#FFCB4C",cx:"18",cy:"17.018",r:"17"}),b("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"}),b("ellipse",{fill:"#65471B",cx:"13.119",cy:"11.174",rx:"2.125",ry:"2.656"}),b("ellipse",{fill:"#65471B",cx:"24.375",cy:"12.236",rx:"2.125",ry:"2.656"}),b("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"}),b("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"})),SY=b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},b("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"}),b("ellipse",{fill:"#664500",cx:"18",cy:"27",rx:"5",ry:"6"}),b("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"})),kY=b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},b("ellipse",{fill:"#292F33",cx:"18",cy:"26",rx:"18",ry:"10"}),b("ellipse",{fill:"#66757F",cx:"18",cy:"24",rx:"18",ry:"10"}),b("path",{fill:"#E1E8ED",d:"M18 31C3.042 31 1 16 1 12h34c0 2-1.958 19-17 19z"}),b("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"}),b("ellipse",{fill:"#A6D388",cx:"18",cy:"13",rx:"15",ry:"7"}),b("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"})),TY=b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},b("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"}),b("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"})),PY=z("result",` + a ${c},${c} 0 1 1 ${-f},${p}`,v=Math.PI*2*c,g={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:g}}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:g}=n(l,a,o),y=100+i;return b("div",{class:`${p}-progress-content`,role:"none"},b("div",{class:`${p}-progress-graph`,"aria-hidden":!0},b("div",{class:`${p}-progress-graph-circle`,style:{transform:f?`rotate(${f}deg)`:void 0}},b("svg",{viewBox:`0 0 ${y} ${y}`},b("g",null,b("path",{class:`${p}-progress-graph-circle-rail`,d:h,"stroke-width":i,"stroke-linecap":"round",fill:"none",style:m})),b("g",null,b("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:g}))))),c?b("div",null,t.default?b("div",{class:`${p}-progress-custom-content`,role:"none"},t.default()):s!=="default"?b("div",{class:`${p}-progress-icon`,"aria-hidden":!0},b(Bt,{clsPrefix:p},{default:()=>yY[s]})):b("div",{class:`${p}-progress-text`,style:{color:u},role:"none"},b("span",{class:`${p}-progress-text__percentage`},l),b("span",{class:`${p}-progress-text__unit`},d))):null)}}});function q0(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 CY=pe({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 b("div",{class:`${d}-progress-content`,role:"none"},b("div",{class:`${d}-progress-graph`,"aria-hidden":!0},b("div",{class:`${d}-progress-graph-circle`},b("svg",{viewBox:`0 0 ${o} ${o}`},u.map((f,p)=>b("g",{key:p},b("path",{class:`${d}-progress-graph-circle-rail`,d:q0(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]]}),b("path",{class:[`${d}-progress-graph-circle-fill`,f===0&&`${d}-progress-graph-circle-fill--empty`],d:q0(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?b("div",null,b("div",{class:`${d}-progress-text`},t.default())):null)}}}),wY=Object.assign(Object.assign({},Fe.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}),_Y=pe({name:"Progress",props:wY,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}=ct(e),i=Fe("Progress","-progress",gY,dK,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:g,textColorLineOuter:y,lineBgProcessing:S,fontWeightCircle:C,[Pe("iconColor",l)]:_,[Pe("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":C,"--n-icon-color":_,"--n-icon-size-circle":h,"--n-icon-size-line":m,"--n-line-bg-processing":S,"--n-rail-color":f,"--n-rail-height":p,"--n-text-color-circle":v,"--n-text-color-line-inner":g,"--n-text-color-line-outer":y}}),s=r?Rt("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:g,mergedClsPrefix:y,gapDeg:S,gapOffsetDegree:C,themeClass:_,$slots:x,onRender:w}=this;return w==null||w(),b("div",{class:[_,`${y}-progress`,`${y}-progress--${e}`,`${y}-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"?b(xY,{clsPrefix:y,status:r,showIndicator:o,indicatorTextColor:n,railColor:i,fillColor:s,railStyle:a,offsetDegree:this.offsetDegree,percentage:l,viewBoxWidth:c,strokeWidth:u,gapDegree:S===void 0?e==="dashboard"?75:0:S,gapOffsetDegree:C,unit:f},x):e==="line"?b(bY,{clsPrefix:y,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"?b(CY,{clsPrefix:y,strokeWidth:u,railColor:i,fillColor:s,railStyle:a,viewBoxWidth:c,percentage:l,showIndicator:o,circleGap:g},x):null)}}),SY=b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},b("circle",{fill:"#FFCB4C",cx:"18",cy:"17.018",r:"17"}),b("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"}),b("ellipse",{fill:"#65471B",cx:"13.119",cy:"11.174",rx:"2.125",ry:"2.656"}),b("ellipse",{fill:"#65471B",cx:"24.375",cy:"12.236",rx:"2.125",ry:"2.656"}),b("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"}),b("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"})),kY=b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},b("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"}),b("ellipse",{fill:"#664500",cx:"18",cy:"27",rx:"5",ry:"6"}),b("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"})),TY=b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},b("ellipse",{fill:"#292F33",cx:"18",cy:"26",rx:"18",ry:"10"}),b("ellipse",{fill:"#66757F",cx:"18",cy:"24",rx:"18",ry:"10"}),b("path",{fill:"#E1E8ED",d:"M18 31C3.042 31 1 16 1 12h34c0 2-1.958 19-17 19z"}),b("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"}),b("ellipse",{fill:"#A6D388",cx:"18",cy:"13",rx:"15",ry:"7"}),b("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"})),PY=b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},b("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"}),b("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"})),RY=O("result",` color: var(--n-text-color); line-height: var(--n-line-height); font-size: var(--n-font-size); transition: color .3s var(--n-bezier); -`,[z("result-icon",` +`,[O("result-icon",` display: flex; justify-content: center; transition: color .3s var(--n-bezier); @@ -3648,13 +3648,13 @@ ${t} font-size: var(--n-icon-size); width: 1em; height: 1em; - `),z("base-icon",` + `),O("base-icon",` color: var(--n-icon-color); font-size: var(--n-icon-size); - `)]),z("result-content",{marginTop:"24px"}),z("result-footer",` + `)]),O("result-content",{marginTop:"24px"}),O("result-footer",` margin-top: 24px; text-align: center; - `),z("result-header",[D("title",` + `),O("result-header",[D("title",` margin-top: 16px; font-weight: var(--n-title-font-weight); transition: color .3s var(--n-bezier); @@ -3665,7 +3665,7 @@ ${t} margin-top: 4px; text-align: center; font-size: var(--n-font-size); - `)])]),RY={403:TY,404:_Y,418:kY,500:SY,info:b(zr,null),success:b(Ei,null),warning:b($i,null),error:b(Ri,null)},EY=Object.assign(Object.assign({},Fe.props),{size:{type:String,default:"medium"},status:{type:String,default:"info"},title:String,description:String}),$Y=pe({name:"Result",props:EY,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=ct(e),o=Fe("Result","-result",PY,gK,e,t),r=N(()=>{const{size:a,status:s}=e,{common:{cubicBezierEaseInOut:l},self:{textColor:c,lineHeight:u,titleTextColor:d,titleFontWeight:f,[Pe("iconColor",s)]:p,[Pe("fontSize",a)]:h,[Pe("titleFontSize",a)]:m,[Pe("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?Rt("result",N(()=>{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(),b("div",{class:[`${o}-result`,this.themeClass],style:this.cssVars},b("div",{class:`${o}-result-icon`},((e=n.icon)===null||e===void 0?void 0:e.call(n))||b(Bt,{clsPrefix:o},{default:()=>RY[t]})),b("div",{class:`${o}-result-header`},this.title?b("div",{class:`${o}-result-header__title`},this.title):null,this.description?b("div",{class:`${o}-result-header__description`},this.description):null),n.default&&b("div",{class:`${o}-result-content`},n),n.footer&&b("div",{class:`${o}-result-footer`},n.footer()))}}),AY=Object.assign(Object.assign({},Fe.props),{trigger:String,xScrollable:Boolean,onScroll:Function,size:Number}),IY=pe({name:"Scrollbar",props:AY,setup(){const e=B(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 b(_o,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),MY=IY,zY={name:"Skeleton",common:Be,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}}},OY=e=>{const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:r}=e;return{color:"#eee",colorEnd:"#ddd",borderRadius:r,heightSmall:t,heightMedium:n,heightLarge:o}},DY={name:"Skeleton",common:yt,self:OY},LY=j([z("skeleton",` + `)])]),EY={403:PY,404:SY,418:TY,500:kY,info:b(zr,null),success:b(Ei,null),warning:b($i,null),error:b(Ri,null)},$Y=Object.assign(Object.assign({},Fe.props),{size:{type:String,default:"medium"},status:{type:String,default:"info"},title:String,description:String}),AY=pe({name:"Result",props:$Y,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=ct(e),o=Fe("Result","-result",RY,vK,e,t),r=L(()=>{const{size:a,status:s}=e,{common:{cubicBezierEaseInOut:l},self:{textColor:c,lineHeight:u,titleTextColor:d,titleFontWeight:f,[Pe("iconColor",s)]:p,[Pe("fontSize",a)]:h,[Pe("titleFontSize",a)]:m,[Pe("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?Rt("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(),b("div",{class:[`${o}-result`,this.themeClass],style:this.cssVars},b("div",{class:`${o}-result-icon`},((e=n.icon)===null||e===void 0?void 0:e.call(n))||b(Bt,{clsPrefix:o},{default:()=>EY[t]})),b("div",{class:`${o}-result-header`},this.title?b("div",{class:`${o}-result-header__title`},this.title):null,this.description?b("div",{class:`${o}-result-header__description`},this.description):null),n.default&&b("div",{class:`${o}-result-content`},n),n.footer&&b("div",{class:`${o}-result-footer`},n.footer()))}}),IY=Object.assign(Object.assign({},Fe.props),{trigger:String,xScrollable:Boolean,onScroll:Function,size:Number}),MY=pe({name:"Scrollbar",props:IY,setup(){const e=N(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 b(_o,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),zY=MY,OY={name:"Skeleton",common:Be,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}}},DY=e=>{const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:r}=e;return{color:"#eee",colorEnd:"#ddd",borderRadius:r,heightSmall:t,heightMedium:n,heightLarge:o}},LY={name:"Skeleton",common:yt,self:DY},FY=V([O("skeleton",` height: 1em; width: 100%; transition: background-color .3s var(--n-bezier); @@ -3675,7 +3675,7 @@ ${t} background-color .3s var(--n-bezier); animation: 2s skeleton-loading infinite cubic-bezier(0.36, 0, 0.64, 1); background-color: var(--n-color-start); - `),j("@keyframes skeleton-loading",` + `),V("@keyframes skeleton-loading",` 0% { background: var(--n-color-start); } @@ -3688,8 +3688,8 @@ ${t} 100% { background: var(--n-color-start); } - `)]),FY=Object.assign(Object.assign({},Fe.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}}),cl=pe({name:"Skeleton",inheritAttrs:!1,props:FY,setup(e){x6();const{mergedClsPrefixRef:t}=ct(e),n=Fe("Skeleton","-skeleton",LY,DY,e,t);return{mergedClsPrefix:t,style:N(()=>{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:g,text:y,animated:S}=e;g!==void 0&&(d=s[Pe("height",g)]);const C=f?(o=m??v)!==null&&o!==void 0?o:d:m,_=(r=f?m??v:v)!==null&&r!==void 0?r:d;return{display:y?"inline-block":"",verticalAlign:y?"-0.125em":"",borderRadius:f?"50%":h?"4096px":p?"":u,width:typeof C=="number"?Ln(C):C,height:typeof _=="number"?Ln(_):_,animation:S?"":"none","--n-bezier":a,"--n-color-start":l,"--n-color-end":c}})}},render(){const{repeat:e,style:t,mergedClsPrefix:n,$attrs:o}=this,r=b("div",Mn({class:`${n}-skeleton`,style:t},o));return e>1?b(et,null,Array.apply(null,{length:e}).map(i=>[r,` -`])):r}}),NY=z("switch",` + `)]),NY=Object.assign(Object.assign({},Fe.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}}),cl=pe({name:"Skeleton",inheritAttrs:!1,props:NY,setup(e){C6();const{mergedClsPrefixRef:t}=ct(e),n=Fe("Skeleton","-skeleton",FY,LY,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:g,text:y,animated:S}=e;g!==void 0&&(d=s[Pe("height",g)]);const C=f?(o=m??v)!==null&&o!==void 0?o:d:m,_=(r=f?m??v:v)!==null&&r!==void 0?r:d;return{display:y?"inline-block":"",verticalAlign:y?"-0.125em":"",borderRadius:f?"50%":h?"4096px":p?"":u,width:typeof C=="number"?Ln(C):C,height:typeof _=="number"?Ln(_):_,animation:S?"":"none","--n-bezier":a,"--n-color-start":l,"--n-color-end":c}})}},render(){const{repeat:e,style:t,mergedClsPrefix:n,$attrs:o}=this,r=b("div",Mn({class:`${n}-skeleton`,style:t},o));return e>1?b(et,null,Array.apply(null,{length:e}).map(i=>[r,` +`])):r}}),BY=O("switch",` height: var(--n-height); min-width: var(--n-width); vertical-align: middle; @@ -3712,7 +3712,7 @@ ${t} `),D("button-placeholder",` width: calc(1.75 * var(--n-rail-height)); height: var(--n-rail-height); - `),z("base-loading",` + `),O("base-loading",` position: absolute; top: 50%; left: 50%; @@ -3738,9 +3738,9 @@ ${t} left: 0; justify-content: flex-end; padding-left: calc(1.25 * var(--n-rail-height) - var(--n-offset)); - `),j("&:focus",[D("rail",` + `),V("&:focus",[D("rail",` box-shadow: var(--n-box-shadow-focus); - `)]),K("round",[D("rail","border-radius: calc(var(--n-rail-height) / 2);",[D("button","border-radius: calc(var(--n-button-height) / 2);")])]),Pt("disabled",[Pt("icon",[K("rubber-band",[K("pressed",[D("rail",[D("button","max-width: var(--n-button-width-pressed);")])]),D("rail",[j("&:active",[D("button","max-width: var(--n-button-width-pressed);")])]),K("active",[K("pressed",[D("rail",[D("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),D("rail",[j("&:active",[D("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),K("active",[D("rail",[D("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),D("rail",` + `)]),K("round",[D("rail","border-radius: calc(var(--n-rail-height) / 2);",[D("button","border-radius: calc(var(--n-button-height) / 2);")])]),Pt("disabled",[Pt("icon",[K("rubber-band",[K("pressed",[D("rail",[D("button","max-width: var(--n-button-width-pressed);")])]),D("rail",[V("&:active",[D("button","max-width: var(--n-button-width-pressed);")])]),K("active",[K("pressed",[D("rail",[D("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),D("rail",[V("&:active",[D("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),K("active",[D("rail",[D("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),D("rail",` overflow: hidden; height: var(--n-rail-height); min-width: var(--n-rail-width); @@ -3790,15 +3790,15 @@ ${t} `)]),K("disabled",[D("rail",` cursor: not-allowed; opacity: .5; - `)])]),BY=Object.assign(Object.assign({},Fe.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 es;const HY=pe({name:"Switch",props:BY,setup(e){es===void 0&&(typeof CSS<"u"?typeof CSS.supports<"u"?es=CSS.supports("width","max(1px)"):es=!1:es=!0);const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=ct(e),o=Fe("Switch","-switch",NY,DK,e,t),r=ar(e),{mergedSizeRef:i,mergedDisabledRef:a}=r,s=B(e.defaultValue),l=Ne(e,"value"),c=rn(l,s),u=N(()=>c.value===e.checkedValue),d=B(!1),f=B(!1),p=N(()=>{const{railStyle:T}=e;if(T)return T({focused:f.value,checked:u.value})});function h(T){const{"onUpdate:value":P,onChange:k,onUpdateValue:I}=e,{nTriggerFormInput:A,nTriggerFormChange:q}=r;P&&Re(P,T),I&&Re(I,T),k&&Re(k,T),s.value=T,A(),q()}function m(){const{nTriggerFormFocus:T}=r;T()}function v(){const{nTriggerFormBlur:T}=r;T()}function g(){e.loading||a.value||(c.value!==e.checkedValue?h(e.checkedValue):h(e.uncheckedValue))}function y(){f.value=!0,m()}function S(){f.value=!1,v(),d.value=!1}function C(T){e.loading||a.value||T.key===" "&&(c.value!==e.checkedValue?h(e.checkedValue):h(e.uncheckedValue),d.value=!1)}function _(T){e.loading||a.value||T.key===" "&&(T.preventDefault(),d.value=!0)}const x=N(()=>{const{value:T}=i,{self:{opacityDisabled:P,railColor:k,railColorActive:I,buttonBoxShadow:A,buttonColor:q,boxShadowFocus:F,loadingColor:O,textColor:$,iconColor:W,[Pe("buttonHeight",T)]:Q,[Pe("buttonWidth",T)]:L,[Pe("buttonWidthPressed",T)]:M,[Pe("railHeight",T)]:se,[Pe("railWidth",T)]:X,[Pe("railBorderRadius",T)]:ne,[Pe("buttonBorderRadius",T)]:fe},common:{cubicBezierEaseInOut:xe}}=o.value;let Ce,G,ve;return es?(Ce=`calc((${se} - ${Q}) / 2)`,G=`max(${se}, ${Q})`,ve=`max(${X}, calc(${X} + ${Q} - ${se}))`):(Ce=Ln((wn(se)-wn(Q))/2),G=Ln(Math.max(wn(se),wn(Q))),ve=wn(se)>wn(Q)?X:Ln(wn(X)+wn(Q)-wn(se))),{"--n-bezier":xe,"--n-button-border-radius":fe,"--n-button-box-shadow":A,"--n-button-color":q,"--n-button-width":L,"--n-button-width-pressed":M,"--n-button-height":Q,"--n-height":G,"--n-offset":Ce,"--n-opacity-disabled":P,"--n-rail-border-radius":ne,"--n-rail-color":k,"--n-rail-color-active":I,"--n-rail-height":se,"--n-rail-width":X,"--n-width":ve,"--n-box-shadow-focus":F,"--n-loading-color":O,"--n-text-color":$,"--n-icon-color":W}}),w=n?Rt("switch",N(()=>i.value[0]),x,e):void 0;return{handleClick:g,handleBlur:S,handleFocus:y,handleKeyup:C,handleKeydown:_,mergedRailStyle:p,pressed:d,mergedClsPrefix:t,mergedValue:c,checked:u,mergedDisabled:a,cssVars:n?void 0:x,themeClass:w==null?void 0:w.themeClass,onRender:w==null?void 0:w.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=!(oa(l)&&oa(c)&&oa(u));return b("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},b("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:o},Ot(a,f=>Ot(s,p=>f||p?b("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},b("div",{class:`${e}-switch__rail-placeholder`},b("div",{class:`${e}-switch__button-placeholder`}),f),b("div",{class:`${e}-switch__rail-placeholder`},b("div",{class:`${e}-switch__button-placeholder`}),p)):null)),b("div",{class:`${e}-switch__button`},Ot(l,f=>Ot(c,p=>Ot(u,h=>b(Ai,null,{default:()=>this.loading?b(Mi,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(p||f)?b("div",{class:`${e}-switch__button-icon`,key:p?"checked-icon":"icon"},p||f):!this.checked&&(h||f)?b("div",{class:`${e}-switch__button-icon`,key:h?"unchecked-icon":"icon"},h||f):null})))),Ot(a,f=>f&&b("div",{key:"checked",class:`${e}-switch__checked`},f)),Ot(s,f=>f&&b("div",{key:"unchecked",class:`${e}-switch__unchecked`},f)))))}}),jY=pe({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)}}}),VY={message:rY,notification:pY,loadingBar:NG,dialog:xW};function UY({providersAndProps:e,configProviderProps:t}){let o=Hy(()=>b(F_,me(t),{default:()=>e.map(({type:s,Provider:l,props:c})=>b(l,me(c),{default:()=>b(jY,{onSetup:()=>r[s]=VY[s]()})}))}));const r={app:o};let i;return ir&&(i=document.createElement("div"),document.body.appendChild(i),o.mount(i)),Object.assign({unmount:()=>{var s;if(o===null||i===null){or("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 WY(e,{configProviderProps:t,messageProviderProps:n,dialogProviderProps:o,notificationProviderProps:r,loadingBarProviderProps:i}={}){const a=[];return e.forEach(l=>{switch(l){case"message":a.push({type:l,Provider:oY,props:n});break;case"notification":a.push({type:l,Provider:hY,props:r});break;case"dialog":a.push({type:l,Provider:yW,props:o});break;case"loadingBar":a.push({type:l,Provider:FG,props:i});break}}),UY({providersAndProps:a,configProviderProps:t})}function qY(){const e=He(xo,null);return N(()=>{if(e===null)return yt;const{mergedThemeRef:{value:t},mergedThemeOverridesRef:{value:n}}=e,o=(t==null?void 0:t.common)||yt;return n!=null&&n.common?Object.assign({},o,n.common):o})}const KY=()=>({}),GY={name:"Equation",common:Be,self:KY},YY=GY,oS={name:"dark",common:Be,Alert:YB,Anchor:aH,AutoComplete:wH,Avatar:__,AvatarGroup:PH,BackTop:EH,Badge:FH,Breadcrumb:VH,Button:Hn,ButtonGroup:Rq,Calendar:ij,Card:A_,Carousel:bj,Cascader:jj,Checkbox:Fa,Code:L_,Collapse:Zj,CollapseTransition:tV,ColorPicker:lj,DataTable:NV,DatePicker:QU,Descriptions:tW,Dialog:w2,Divider:SW,Drawer:$W,Dropdown:om,DynamicInput:QW,DynamicTags:iq,Element:sq,Empty:zi,Ellipsis:G_,Equation:YY,Form:dq,GradientText:hq,Icon:dU,IconWrapper:gq,Image:mG,Input:lo,InputNumber:$q,LegacyTransfer:IG,Layout:Oq,List:Hq,LoadingBar:Vq,Log:Gq,Menu:tK,Mention:Xq,Message:Tq,Modal:dW,Notification:Cq,PageHeader:rK,Pagination:q_,Popconfirm:lK,Popover:Di,Popselect:N_,Progress:F2,Radio:Q_,Rate:hK,Result:bK,Row:pG,Scrollbar:Bn,Select:V_,Skeleton:zY,Slider:CK,Space:A2,Spin:SK,Statistic:PK,Steps:AK,Switch:MK,Table:BK,Tabs:UK,Tag:h_,Thing:KK,TimePicker:y2,Timeline:XK,Tooltip:Tu,Transfer:JK,Tree:H2,TreeSelect:oG,Typography:sG,Upload:uG,Watermark:fG},XY={"aria-hidden":"true",width:"1em",height:"1em"},QY=["xlink:href","fill"],ZY=pe({__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=N(()=>`#${t.prefix}-${t.icon}`);return(o,r)=>(be(),ze("svg",XY,[H("use",{"xlink:href":n.value,fill:e.color},null,8,QY)]))}}),js=(e,t={size:12})=>()=>b(Li,t,()=>b(CA,{icon:e})),rS=(e,t={size:12})=>()=>b(Li,t,()=>b(ZY,{icon:e}));function JY(){return{header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#316C72FF",primaryColorHover:"#316C72E3",primaryColorPressed:"#2B4C59FF",primaryColorSuppl:"#316C72E3",infoColor:"#2080F0FF",infoColorHover:"#4098FCFF",infoColorPressed:"#1060C9FF",infoColorSuppl:"#4098FCFF",successColor:"#18A058FF",successColorHover:"#36AD6AFF",successColorPressed:"#0C7A43FF",successColorSuppl:"#36AD6AFF",warningColor:"#F0A020FF",warningColorHover:"#FCB040FF",warningColorPressed:"#C97C10FF",warningColorSuppl:"#FCB040FF",errorColor:"#D03050FF",errorColorHover:"#DE576DFF",errorColorPressed:"#AB1F3FFF",errorColorSuppl:"#DE576DFF"}}}}const{header:eX,tags:p7e,naiveThemeOverrides:yh}=JY();function Iu(e){return Ph()?(q1(e),!0):!1}function Mo(e){return typeof e=="function"?e():me(e)}const iS=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const tX=Object.prototype.toString,nX=e=>tX.call(e)==="[object Object]",aS=()=>{};function oX(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 sS=e=>e();function rX(e=sS){const t=B(!0);function n(){t.value=!1}function o(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:to(t),pause:n,resume:o,eventFilter:r}}function iX(...e){if(e.length!==1)return Ne(...e);const t=e[0];return typeof t=="function"?to(s3(()=>({get:t,set:aS}))):B(t)}function aX(e,t,n={}){const{eventFilter:o=sS,...r}=n;return ht(e,oX(o,t),r)}function sX(e,t,n={}){const{eventFilter:o,...r}=n,{eventFilter:i,pause:a,resume:s,isActive:l}=rX(o);return{stop:aX(e,t,{...r,eventFilter:i}),pause:a,resume:s,isActive:l}}function lS(e,t=!0){Gn()?Vt(e):t?e():jt(e)}function lX(e=!1,t={}){const{truthyValue:n=!0,falsyValue:o=!1}=t,r=en(e),i=B(e);function a(s){if(arguments.length)return i.value=s,i.value;{const l=Mo(n);return i.value=i.value===l?Mo(o):l,i.value}}return r?a:[i,a]}function wa(e){var t;const n=Mo(e);return(t=n==null?void 0:n.$el)!=null?t:n}const vi=iS?window:void 0,cX=iS?window.document:void 0;function Rc(...e){let t,n,o,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,r]=e,t=vi):[t,n,o,r]=e,!t)return aS;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=ht(()=>[wa(t),Mo(r)],([u,d])=>{if(a(),!u)return;const f=nX(d)?{...d}:d;i.push(...n.flatMap(p=>o.map(h=>s(u,p,h,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),a()};return Iu(c),c}function uX(){const e=B(!1);return Gn()&&Vt(()=>{e.value=!0}),e}function gm(e){const t=uX();return N(()=>(t.value,!!e()))}function dX(e,t={}){const{window:n=vi}=t,o=gm(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=B(!1),a=c=>{i.value=c.matches},s=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",a):r.removeListener(a))},l=un(()=>{o.value&&(s(),r=n.matchMedia(Mo(e)),"addEventListener"in r?r.addEventListener("change",a):r.addListener(a),i.value=r.matches)});return Iu(()=>{l(),s(),r=void 0}),i}const jl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Vl="__vueuse_ssr_handlers__",fX=hX();function hX(){return Vl in jl||(jl[Vl]=jl[Vl]||{}),jl[Vl]}function cS(e,t){return fX[e]||t}function pX(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 mX={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()}},q0="vueuse-storage";function gX(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=vi,eventFilter:f,onError:p=P=>{console.error(P)},initOnMounted:h}=o,m=(u?Us:B)(typeof t=="function"?t():t);if(!n)try{n=cS("getDefaultStorage",()=>{var P;return(P=vi)==null?void 0:P.localStorage})()}catch(P){p(P)}if(!n)return m;const v=Mo(t),g=pX(v),y=(r=o.serializer)!=null?r:mX[g],{pause:S,resume:C}=sX(m,()=>_(m.value),{flush:i,deep:a,eventFilter:f});return d&&s&&lS(()=>{Rc(d,"storage",T),Rc(d,q0,w),h&&T()}),h||T(),m;function _(P){try{if(P==null)n.removeItem(e);else{const k=y.write(P),I=n.getItem(e);I!==k&&(n.setItem(e,k),d&&d.dispatchEvent(new CustomEvent(q0,{detail:{key:e,oldValue:I,newValue:k,storageArea:n}})))}}catch(k){p(k)}}function x(P){const k=P?P.newValue:n.getItem(e);if(k==null)return l&&v!==null&&n.setItem(e,y.write(v)),v;if(!P&&c){const I=y.read(k);return typeof c=="function"?c(I,v):g==="object"&&!Array.isArray(I)?{...v,...I}:I}else return typeof k!="string"?k:y.read(k)}function w(P){T(P.detail)}function T(P){if(!(P&&P.storageArea!==n)){if(P&&P.key==null){m.value=v;return}if(!(P&&P.key!==e)){S();try{(P==null?void 0:P.newValue)!==y.write(m.value)&&(m.value=x(P))}catch(k){p(k)}finally{P?jt(C):C()}}}}}function vX(e){return dX("(prefers-color-scheme: dark)",e)}function bX(e={}){const{selector:t="html",attribute:n="class",initialValue:o="auto",window:r=vi,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=vX({window:r}),p=N(()=>f.value?"dark":"light"),h=l||(a==null?iX(o):gX(a,o,i,{window:r,listenToStorageChanges:s})),m=N(()=>h.value==="auto"?p.value:h.value),v=cS("updateHTMLAttrs",(C,_,x)=>{const w=typeof C=="string"?r==null?void 0:r.document.querySelector(C):wa(C);if(!w)return;let T;if(u){T=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}";T.appendChild(document.createTextNode(P)),r.document.head.appendChild(T)}if(_==="class"){const P=x.split(/\s/g);Object.values(d).flatMap(k=>(k||"").split(/\s/g)).filter(Boolean).forEach(k=>{P.includes(k)?w.classList.add(k):w.classList.remove(k)})}else w.setAttribute(_,x);u&&(r.getComputedStyle(T).opacity,document.head.removeChild(T))});function g(C){var _;v(t,n,(_=d[C])!=null?_:C)}function y(C){e.onChanged?e.onChanged(C,g):g(C)}ht(m,y,{flush:"post",immediate:!0}),lS(()=>y(m.value));const S=N({get(){return c?h.value:m.value},set(C){h.value=C}});try{return Object.assign(S,{store:h,system:p,state:m})}catch{return S}}function yX(e,t,n={}){const{window:o=vi,...r}=n;let i;const a=gm(()=>o&&"MutationObserver"in o),s=()=>{i&&(i.disconnect(),i=void 0)},l=ht(()=>wa(e),d=>{s(),a.value&&o&&d&&(i=new MutationObserver(t),i.observe(d,r))},{immediate:!0}),c=()=>i==null?void 0:i.takeRecords(),u=()=>{s(),l()};return Iu(u),{isSupported:a,stop:u,takeRecords:c}}function xX(e,t,n={}){const{window:o=vi,initialValue:r="",observe:i=!1}=n,a=B(r),s=N(()=>{var c;return wa(t)||((c=o==null?void 0:o.document)==null?void 0:c.documentElement)});function l(){var c;const u=Mo(e),d=Mo(s);if(d&&o){const f=(c=o.getComputedStyle(d).getPropertyValue(u))==null?void 0:c.trim();a.value=f||r}}return i&&yX(s,l,{attributeFilter:["style","class"],window:o}),ht([s,()=>Mo(e)],l,{immediate:!0}),ht(a,c=>{var u;(u=s.value)!=null&&u.style&&s.value.style.setProperty(Mo(e),c)}),a}function uS(e={}){const{valueDark:t="dark",valueLight:n=""}=e,o=bX({...e,onChanged:(i,a)=>{var s;e.onChanged?(s=e.onChanged)==null||s.call(e,i==="dark",a,i):a(i)},modes:{dark:t,light:n}});return N({get(){return o.value==="dark"},set(i){const a=i?"dark":"light";o.system.value===a?o.value="auto":o.value=a}})}const K0=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function CX(e,t={}){const{document:n=cX,autoExit:o=!1}=t,r=N(()=>{var g;return(g=wa(e))!=null?g:n==null?void 0:n.querySelector("html")}),i=B(!1),a=N(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(g=>n&&g in n||r.value&&g in r.value)),s=N(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(g=>n&&g in n||r.value&&g in r.value)),l=N(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(g=>n&&g in n||r.value&&g in r.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(g=>n&&g in n),u=gm(()=>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 g=r.value;if((g==null?void 0:g[l.value])!=null)return!!g[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 g=r.value;(g==null?void 0:g[s.value])!=null&&await g[s.value]()}i.value=!1}}async function h(){if(!u.value||i.value)return;f()&&await p();const g=r.value;a.value&&(g==null?void 0:g[a.value])!=null&&(await g[a.value](),i.value=!0)}async function m(){await(i.value?p():h())}const v=()=>{const g=f();(!g||g&&d())&&(i.value=g)};return Rc(n,K0,v,!1),Rc(()=>wa(r),K0,v,!1),o&&Iu(p),{isSupported:u,isFullscreen:i,enter:h,exit:p,toggle:m}}const bn=Jc("app",{state(){var e,t,n,o,r,i,a;return{collapsed:window.innerWidth<768,isDark:uS(),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:Bf().value||"zh-CN",appConfig:{}}},actions:{async getConfig(){const{data:e}=await OX();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){g$(e),location.reload()}}});function wX(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 _X(e){return e.confirm=function(t={}){const n=!rC(t.title);return e[t.type||"warning"]({showIcon:n,positiveText:"确定",negativeText:"取消",onPositiveClick:t.confirm,onNegativeClick:t.cancel,onMaskClick:t.cancel,...t})},e}function SX(){const e=bn(),t=N(()=>({theme:e.isDark?oS:void 0,themeOverrides:yh})),{message:n,dialog:o,notification:r,loadingBar:i}=WY(["message","dialog","notification","loadingBar"],{configProviderProps:t});window.$loadingBar=i,window.$notification=r,window.$message=wX(n),window.$dialog=_X(o)}const kX="access_token",TX=6*60*60;function PX(e){wi.set(kX,e,TX)}function RX(e){if(e.method==="get"&&(e.params={...e.params,t:new Date().getTime()}),aR(e))return e;const t=Px();return t.value?(e.headers.Authorization=e.headers.Authorization||t.value,e):(op(),Promise.reject({code:"-1",message:"未登录"}))}function EX(e){return Promise.reject(e)}function $X(e){return Promise.resolve((e==null?void 0:e.data)||{code:-1,message:"未知错误"})}function AX(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 IX(e={}){const t={headers:{"Content-Type":"application/x-www-form-urlencoded"},timeout:12e3},n=rR.create({...t,...e});return n.interceptors.request.use(RX,EX),n.interceptors.response.use($X,AX),n}const St=IX({baseURL:MX()});function MX(){let e=zX(window.routerBase||"/")+"api/v1";return/^https?:\/\//.test(e)||(e=window.location.origin+e),e}function zX(e){return e.endsWith("/")?e:"/"+e}function OX(){return St.get("/user/comm/config")}function DX(){return St.get("/user/info")}function LX(){return St.get("/user/getStat")}function FX(){return St.get("/user/getSubscribe")}function NX(){return St.get("/user/notice/fetch")}function BX(){return St.get("/user/plan/fetch")}function dS(){return St.get("/user/server/fetch")}function fS(){return St.get("/user/order/fetch")}function HX(e){return St.get("/user/order/detail?trade_no="+e)}function vm(e){return St.post("/user/order/cancel",{trade_no:e})}function jX(e){return St.get("/user/order/check?trade_no="+e)}function VX(){return St.get("/user/invite/fetch")}function UX(e=1,t=10){return St.get(`/user/invite/details?current=${e}&page_size=${t}`)}function WX(){return St.get("/user/invite/save")}function qX(e){return St.post("/user/transfer",{transfer_amount:e})}function KX(e){return St.post("/user/ticket/withdraw",e)}function G0(e){return St.post("/user/update",e)}function GX(e,t){return St.post("/user/changePassword",{old_password:e,new_password:t})}function YX(){return St.get("/user/resetSecurity")}function XX(){return St.get("/user/stat/getTrafficLog")}function QX(){return St.get("/user/order/getPaymentMethod")}function hS(e,t,n){return St.post("/user/order/save",{plan_id:e,period:t,coupon_code:n})}function ZX(e,t){return St.post("/user/order/checkout",{trade_no:e,method:t})}function JX(e){return St.get("/user/plan/fetch?id="+e)}function eQ(e,t){return St.post("/user/coupon/check",{code:e,plan_id:t})}function tQ(){return St.get("/user/ticket/fetch")}function nQ(e,t,n){return St.post("/user/ticket/save",{subject:e,level:t,message:n})}function oQ(e){return St.post("/user/ticket/close",{id:e})}function rQ(e){return St.get("/user/ticket/fetch?id="+e)}function iQ(e,t){return St.post("/user/ticket/reply",{id:e,message:t})}function aQ(e="",t="zh-CN"){return St.get(`/user/knowledge/fetch?keyword=${e}&language=${t}`)}function sQ(e,t="zh-CN"){return St.get(`/user/knowledge/fetch?id=${e}&language=${t}`)}const ul=Jc("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}},actions:{async getUserInfo(){try{const e=await DX(),{data:t}=e;return t?(this.userInfo=t,t):Promise.reject(e)}catch(e){return Promise.reject(e)}},async logout(){Rx(),this.userInfo={},op()},setUserInfo(e){this.userInfo={...this.userInfo,...e}}}});function lQ(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 pS(e,t){const n=[];return e.forEach(o=>{if(lQ(o,t)){const r={...o,children:[]};o.children&&o.children.length?r.children=pS(o.children,t):Reflect.deleteProperty(r,"children"),n.push(r)}}),n}const mS=Jc("permission",{state(){return{accessRoutes:[]}},getters:{routes(){return Zy.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=pS(Jy,e);return this.accessRoutes=t,t}}}),cQ=mc.get("activeTag"),uQ=mc.get("tags"),dQ=["/404","/login"],fQ=Jc({id:"tag",state:()=>{const e=B(uQ.value),t=B(cQ.value),n=B(!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,mc.set("activeTag",e)},setTags(e){this.tags=e,mc.set("tags",e)},addTag(e={}){if(dQ.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 jt(),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&&Jt.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&&Jt.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)||Jt.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)||Jt.push(n[n.length-1].path)},resetTags(){this.setTags([]),this.setActiveTag("")}}});function hQ(e){e.use(OT())}const pQ=["/login","/register","/forgetpassword"];function mQ(e){const t=ul(),n=mS();e.beforeEach(async(o,r,i)=>{Px().value?o.path==="/login"?i({path:"/"}):t.userUUID?i():(await Promise.all([bn().getConfig(),t.getUserInfo().catch(l=>{Rx(),op(),window.$message.error(l.message||"获取用户信息失败!")})]),n.generateRoutes(t.role).forEach(l=>{l.name&&!e.hasRoute(l.name)&&e.addRoute(l)}),e.addRoute(AT),i({...o,replace:!0})):pQ.includes(o.path)?i():i({path:"/login"})})}function gQ(e){IT(e),mQ(e),MT(e)}const Jt=eT({history:g5("/"),routes:Zy,scrollBehavior:()=>({left:0,top:0})});function vQ(e){e.use(Jt),gQ(Jt)}const bQ=pe({__name:"AppProvider",setup(e){const t=bn(),n={"zh-CN":[xL,c0],"en-US":[Gw,Xw],"fa-IR":[AL,hN],"ko-KR":[PL,k7],"vi-VN":[EL,dN],"zh-TW":[wL,c0],"ja-JP":[kL,HF]};function o(){const r=yh.common;for(const i in r)xX(`--${fL(i)}`,document.documentElement).value=r[i]||"",i==="primaryColor"&&window.localStorage.setItem("__THEME_COLOR__",r[i]||"")}return o(),(r,i)=>{const a=F_;return be(),Ge(a,{"wh-full":"",locale:n[me(t).lang][0],"date-locale":n[me(t).lang][1],theme:me(t).isDark?me(oS):void 0,"theme-overrides":me(yh)},{default:le(()=>[Wc(r.$slots,"default")]),_:3},8,["locale","date-locale","theme","theme-overrides"])}}}),yQ=pe({__name:"App",setup(e){return(t,n)=>{const o=ka("router-view");return be(),Ge(bQ,null,{default:le(()=>[ee(o,null,{default:le(({Component:r})=>[(be(),Ge(Hc(r)))]),_:1})]),_:1})}}}),Mu=Hy(yQ);hQ(Mu);SX();vQ(Mu);b$(Mu);Mu.mount("#app");const xQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},CQ=H("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.586L6.225 4.81"},null,-1),wQ=[CQ];function _Q(e,t){return be(),ze("svg",xQ,[...wQ])}const gS={name:"gg-close",render:_Q},SQ={"h-60":"","f-c-c":""},kQ=["src"],TQ=pe({__name:"SideLogo",setup(e){const t=bn();return(n,o)=>{const r=gS,i=Tt;return be(),ze("div",SQ,[me(t).logo?(be(),ze("img",{key:0,src:me(t).logo,height:"30"},null,8,kQ)):bt("",!0),Cn(H("h2",{"ml-10":"","max-w-140":"","flex-shrink-0":"","text-16":"","font-bold":"","color-primary":""},ce(me(t).title),513),[[ro,!me(t).collapsed]]),ee(i,{onClick:[o[0]||(o[0]=K4(()=>{},["stop"])),me(t).switchCollapsed],class:"absolute right-15 h-auto p-0 md:hidden",tertiary:"",size:"medium"},{icon:le(()=>[ee(r,{class:"cursor-pointer opacity-85"})]),_:1},8,["onClick"])])}}}),PQ=pe({__name:"SideMenu",setup(e){const t=bn(),n=h=>Nn.global.t(h);function o(){window.innerWidth<=768&&(t.collapsed=!0)}const r=Qc(),i=Pa(),a=mS(),s=N(()=>{var h;return((h=i.meta)==null?void 0:h.activeMenu)||i.name}),l=N(()=>a.menus.reduce((v,g)=>{var S,C,_,x;const y=d(g);if((C=(S=y.meta)==null?void 0:S.group)!=null&&C.key){const w=y.meta.group.key,T=v.findIndex(P=>P.key===w);if(T!==-1)(_=v[T].children)==null||_.push(y),v[T].children=(x=v[T].children)==null?void 0:x.sort((P,k)=>P.order-k.order);else{const P={type:"group",label:n(y.meta.group.label||""),key:w,children:[y]};v.push(P)}}else v.push(y);return v.sort((w,T)=>w.order-T.order)},[]).sort((v,g)=>v.type==="group"&&g.type!=="group"?1:v.type!=="group"&&g.type==="group"?-1:v.order-g.order));function c(h,m){return $v(m)?m:"/"+[h,m].filter(v=>!!v&&v!=="/").map(v=>v.replace(/(^\/)|(\/$)/g,"")).join("/")}function u(h,m){var g;const v=((g=h.children)==null?void 0:g.filter(y=>{var S;return y.name&&!((S=y.meta)!=null&&S.isHidden)}))||[];return v.length===1?d(v[0],m):v.length>1?{children:v.map(y=>d(y,m)).sort((y,S)=>y.order-S.order)}:null}function d(h,m=""){const{title:v,order:g}=h.meta||{title:"",order:0},{name:y,path:S}=h,C=v||y||"",_=y||"",x=f(h.meta),w=g||0,T=h.meta;let P={label:n(C),key:_,path:c(m,S),icon:x!==null?x:void 0,meta:T,order:w};const k=u(h,P.path);return k&&(P={...P,...k}),P}function f(h){return h!=null&&h.customIcon?rS(h.customIcon,{size:18}):h!=null&&h.icon?js(h.icon,{size:18}):null}function p(h,m){$v(m.path)?window.open(m.path):r.push(m.path)}return(h,m)=>{const v=XG;return be(),Ge(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]=g=>o())},null,8,["options","value"])}}}),RQ=pe({__name:"index",setup(e){return(t,n)=>(be(),ze(et,null,[ee(TQ),ee(PQ)],64))}}),EQ=pe({__name:"AppMain",setup(e){const t=fQ();return(n,o)=>{const r=ka("router-view");return be(),Ge(r,null,{default:le(({Component:i,route:a})=>[me(t).reloading?bt("",!0):(be(),Ge(Hc(i),{key:a.fullPath}))]),_:1})}}}),$Q=pe({__name:"BreadCrumb",setup(e){const t=Pa();function n(o){return o!=null&&o.customIcon?rS(o.customIcon,{size:18}):o!=null&&o.icon?js(o.icon,{size:18}):null}return(o,r)=>{const i=YH,a=qH;return be(),Ge(a,null,{default:le(()=>[(be(!0),ze(et,null,no(me(t).matched.filter(s=>{var l;return!!((l=s.meta)!=null&&l.title)}),s=>(be(),Ge(i,{key:s.path},{default:le(()=>[(be(),Ge(Hc(n(s.meta)))),Je(" "+ce(o.$t(s.meta.title)),1)]),_:2},1024))),128))]),_:1})}}}),AQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},IQ=H("path",{fill:"currentColor",d:"M11 13h10v-2H11m0-2h10V7H11M3 3v2h18V3M3 21h18v-2H3m0-7l4 4V8m4 9h10v-2H11z"},null,-1),MQ=[IQ];function zQ(e,t){return be(),ze("svg",AQ,[...MQ])}const OQ={name:"mdi-format-indent-decrease",render:zQ},DQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},LQ=H("path",{fill:"currentColor",d:"M11 13h10v-2H11m0-2h10V7H11M3 3v2h18V3M11 17h10v-2H11M3 8v8l4-4m-4 9h18v-2H3z"},null,-1),FQ=[LQ];function NQ(e,t){return be(),ze("svg",DQ,[...FQ])}const BQ={name:"mdi-format-indent-increase",render:NQ},HQ=pe({__name:"MenuCollapse",setup(e){const t=bn();return(n,o)=>{const r=BQ,i=OQ,a=Li;return be(),Ge(a,{size:"20","cursor-pointer":"",onClick:me(t).switchCollapsed},{default:le(()=>[me(t).collapsed?(be(),Ge(r,{key:0})):(be(),Ge(i,{key:1}))]),_:1},8,["onClick"])}}}),jQ={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},VQ=H("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.3l42.4 42.4zM845 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.3l-42.4-42.4z"},null,-1),UQ=[VQ];function WQ(e,t){return be(),ze("svg",jQ,[...UQ])}const qQ={name:"ant-design-fullscreen-outlined",render:WQ},KQ={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},GQ=H("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.8zm221.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.9zM744 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),YQ=[GQ];function XQ(e,t){return be(),ze("svg",KQ,[...YQ])}const QQ={name:"ant-design-fullscreen-exit-outlined",render:XQ},ZQ=pe({__name:"FullScreen",setup(e){const{isFullscreen:t,toggle:n}=CX();return(o,r)=>{const i=QQ,a=qQ,s=Li;return be(),Ge(s,{mr20:"",size:"18",style:{cursor:"pointer"},onClick:me(n)},{default:le(()=>[me(t)?(be(),Ge(i,{key:0})):(be(),Ge(a,{key:1}))]),_:1},8,["onClick"])}}}),JQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},eZ=H("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 0z"},null,-1),tZ=[eZ];function nZ(e,t){return be(),ze("svg",JQ,[...tZ])}const oZ={name:"ic-round-expand-more",render:nZ},rZ={class:"inline-block",viewBox:"0 0 32 32",width:"1em",height:"1em"},iZ=H("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),aZ=H("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),sZ=[iZ,aZ];function lZ(e,t){return be(),ze("svg",rZ,[...sZ])}const cZ={name:"carbon-user-avatar-filled",render:lZ},uZ={class:"hidden md:block"},dZ=pe({__name:"UserAvatar",setup(e){const t=ul(),n=[{label:"个人中心",key:"profile",icon:js("mdi-account-outline",{size:14})},{label:"退出登录",key:"logout",icon:js("mdi:exit-to-app",{size:14})}];function o(r){r==="logout"&&window.$dialog.confirm({title:"提示",type:"info",content:"确认退出?",confirm(){t.logout(),window.$message.success("已退出登录")}}),r==="profile"&&Jt.push("/profile")}return(r,i)=>{const a=cZ,s=oZ,l=Tt,c=am;return be(),Ge(c,{options:n,onSelect:o},{default:le(()=>[ee(l,{text:"",flex:"","cursor-pointer":"","items-center":""},{default:le(()=>[ee(a,{class:"mr-0 h-20 w-20 rounded-full md:mr10 md:h-30 md:w-30"}),ee(s,{class:"h-20 w-20 md:hidden"}),H("span",uZ,ce(me(t).email),1)]),_:1})]),_:1})}}}),fZ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},hZ=H("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),pZ=[hZ];function mZ(e,t){return be(),ze("svg",fZ,[...pZ])}const gZ={name:"fontisto-language",render:mZ},vZ=pe({__name:"SwitchLang",setup(e){const t=bn();return(n,o)=>{const r=gZ,i=Tt,a=al;return be(),Ge(a,{value:me(t).lang,"onUpdate:value":o[0]||(o[0]=s=>me(t).lang=s),options:Object.entries(me(fi)).map(([s,l])=>({label:l,value:s})),trigger:"click","on-update:value":me(t).switchLang},{default:le(()=>[ee(i,{text:"","icon-placement":"left",class:"mr-20"},{icon:le(()=>[ee(r)]),_:1})]),_:1},8,["value","options","on-update:value"])}}}),bZ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},yZ=H("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),xZ=[yZ];function CZ(e,t){return be(),ze("svg",bZ,[...xZ])}const wZ={name:"mdi-white-balance-sunny",render:CZ},_Z={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},SZ=H("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),kZ=[SZ];function TZ(e,t){return be(),ze("svg",_Z,[...kZ])}const PZ={name:"mdi-moon-waning-crescent",render:TZ},RZ=pe({__name:"ThemeMode",setup(e){const t=bn(),n=uS(),o=()=>{t.toggleDark(),lX(n)()};return(r,i)=>{const a=PZ,s=wZ,l=Li;return be(),Ge(l,{"mr-20":"","cursor-pointer":"",size:"18",onClick:o},{default:le(()=>[me(n)?(be(),Ge(a,{key:0})):(be(),Ge(s,{key:1}))]),_:1})}}}),EZ={flex:"","items-center":""},$Z={"ml-auto":"",flex:"","items-center":""},AZ=pe({__name:"index",setup(e){return(t,n)=>(be(),ze(et,null,[H("div",EZ,[ee(HQ),ee($Q,{"ml-15":""})]),H("div",$Z,[ee(RZ),ee(vZ),ee(ZQ),ee(dZ)])],64))}}),IZ={"flex-col":"","flex-1":"","overflow-hidden":""},MZ={"flex-1":"","overflow-hidden":"","bg-hex-f5f6fb":"","dark:bg-hex-101014":""},zZ=pe({__name:"index",setup(e){const t=bn();function n(o){t.collapsed=o}return(o,r)=>{const i=EG,a=SG;return be(),Ge(a,{"has-sider":"","wh-full":""},{default:le(()=>[ee(i,{bordered:"","collapse-mode":"transform","collapsed-width":0,width:220,"native-scrollbar":!1,collapsed:me(t).collapsed,"show-trigger":"boolean","on-update:collapsed":n,class:"absolute z-100 h-100% md:relative"},{default:le(()=>[ee(RQ)]),_:1},8,["collapsed"]),H("article",IZ,[H("header",{"border-b":"1 solid #eee",class:"flex items-center bg-white px-15",dark:"bg-dark border-0",style:Fo(`height: ${me(eX).height}px`)},[ee(AZ)],4),H("section",MZ,[ee(EQ)])])]),_:1})}}}),cr=Object.freeze(Object.defineProperty({__proto__:null,default:zZ},Symbol.toStringTag,{value:"Module"})),zu=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},OZ={},DZ={"f-c-c":"","flex-col":"","text-14":"",color:"#6a6a6a"},LZ=H("p",null,[Je(" Copyright © 2022-present "),H("a",{href:"https://github.com/zclzone",target:"__blank",hover:"decoration-underline color-primary"}," Ronnie Zhang ")],-1),FZ=H("p",null,null,-1),NZ=[LZ,FZ];function BZ(e,t){return be(),ze("footer",DZ,NZ)}const HZ=zu(OZ,[["render",BZ]]),jZ={class:"cus-scroll-y wh-full flex-col bg-[#f5f6fb] p-5 dark:bg-hex-121212 md:p-15"},co=pe({__name:"AppPage",props:{showFooter:{type:Boolean,default:!1}},setup(e){return(t,n)=>{const o=HZ,r=DH;return be(),Ge(fn,{name:"fade-slide",mode:"out-in",appear:""},{default:le(()=>[H("section",jZ,[Wc(t.$slots,"default"),e.showFooter?(be(),Ge(o,{key:0,"mt-15":""})):bt("",!0),ee(r,{bottom:20})])]),_:3})}}}),VZ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},UZ=H("g",{fill:"none"},[H("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-.01l-.184-.092"}),H("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),WZ=[UZ];function qZ(e,t){return be(),ze("svg",VZ,[...WZ])}const KZ={name:"mingcute-add-fill",render:qZ},GZ={class:"inline-block",viewBox:"0 0 1200 1200",width:"1em",height:"1em"},YZ=H("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),XZ=[YZ];function QZ(e,t){return be(),ze("svg",GZ,[...XZ])}const ZZ={name:"el-qrcode",render:QZ},JZ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},eJ=H("path",{fill:"currentColor",d:"M5.503 4.627L5.5 6.75v10.504a3.25 3.25 0 0 0 3.25 3.25h8.616a2.251 2.251 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),tJ=[eJ];function nJ(e,t){return be(),ze("svg",JZ,[...tJ])}const oJ={name:"fluent-copy24-filled",render:nJ},rJ="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",vS="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==",iJ="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==",aJ="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=",sJ="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",lJ="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";/*! + `)])]),HY=Object.assign(Object.assign({},Fe.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 es;const jY=pe({name:"Switch",props:HY,setup(e){es===void 0&&(typeof CSS<"u"?typeof CSS.supports<"u"?es=CSS.supports("width","max(1px)"):es=!1:es=!0);const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=ct(e),o=Fe("Switch","-switch",BY,LK,e,t),r=ar(e),{mergedSizeRef:i,mergedDisabledRef:a}=r,s=N(e.defaultValue),l=Ne(e,"value"),c=rn(l,s),u=L(()=>c.value===e.checkedValue),d=N(!1),f=N(!1),p=L(()=>{const{railStyle:T}=e;if(T)return T({focused:f.value,checked:u.value})});function h(T){const{"onUpdate:value":P,onChange:k,onUpdateValue:A}=e,{nTriggerFormInput:I,nTriggerFormChange:W}=r;P&&Re(P,T),A&&Re(A,T),k&&Re(k,T),s.value=T,I(),W()}function m(){const{nTriggerFormFocus:T}=r;T()}function v(){const{nTriggerFormBlur:T}=r;T()}function g(){e.loading||a.value||(c.value!==e.checkedValue?h(e.checkedValue):h(e.uncheckedValue))}function y(){f.value=!0,m()}function S(){f.value=!1,v(),d.value=!1}function C(T){e.loading||a.value||T.key===" "&&(c.value!==e.checkedValue?h(e.checkedValue):h(e.uncheckedValue),d.value=!1)}function _(T){e.loading||a.value||T.key===" "&&(T.preventDefault(),d.value=!0)}const x=L(()=>{const{value:T}=i,{self:{opacityDisabled:P,railColor:k,railColorActive:A,buttonBoxShadow:I,buttonColor:W,boxShadowFocus:B,loadingColor:z,textColor:$,iconColor:j,[Pe("buttonHeight",T)]:X,[Pe("buttonWidth",T)]:F,[Pe("buttonWidthPressed",T)]:M,[Pe("railHeight",T)]:se,[Pe("railWidth",T)]:Q,[Pe("railBorderRadius",T)]:ne,[Pe("buttonBorderRadius",T)]:fe},common:{cubicBezierEaseInOut:xe}}=o.value;let Ce,G,ve;return es?(Ce=`calc((${se} - ${X}) / 2)`,G=`max(${se}, ${X})`,ve=`max(${Q}, calc(${Q} + ${X} - ${se}))`):(Ce=Ln((wn(se)-wn(X))/2),G=Ln(Math.max(wn(se),wn(X))),ve=wn(se)>wn(X)?Q:Ln(wn(Q)+wn(X)-wn(se))),{"--n-bezier":xe,"--n-button-border-radius":fe,"--n-button-box-shadow":I,"--n-button-color":W,"--n-button-width":F,"--n-button-width-pressed":M,"--n-button-height":X,"--n-height":G,"--n-offset":Ce,"--n-opacity-disabled":P,"--n-rail-border-radius":ne,"--n-rail-color":k,"--n-rail-color-active":A,"--n-rail-height":se,"--n-rail-width":Q,"--n-width":ve,"--n-box-shadow-focus":B,"--n-loading-color":z,"--n-text-color":$,"--n-icon-color":j}}),w=n?Rt("switch",L(()=>i.value[0]),x,e):void 0;return{handleClick:g,handleBlur:S,handleFocus:y,handleKeyup:C,handleKeydown:_,mergedRailStyle:p,pressed:d,mergedClsPrefix:t,mergedValue:c,checked:u,mergedDisabled:a,cssVars:n?void 0:x,themeClass:w==null?void 0:w.themeClass,onRender:w==null?void 0:w.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=!(oa(l)&&oa(c)&&oa(u));return b("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},b("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:o},Ot(a,f=>Ot(s,p=>f||p?b("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},b("div",{class:`${e}-switch__rail-placeholder`},b("div",{class:`${e}-switch__button-placeholder`}),f),b("div",{class:`${e}-switch__rail-placeholder`},b("div",{class:`${e}-switch__button-placeholder`}),p)):null)),b("div",{class:`${e}-switch__button`},Ot(l,f=>Ot(c,p=>Ot(u,h=>b(Ai,null,{default:()=>this.loading?b(Mi,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(p||f)?b("div",{class:`${e}-switch__button-icon`,key:p?"checked-icon":"icon"},p||f):!this.checked&&(h||f)?b("div",{class:`${e}-switch__button-icon`,key:h?"unchecked-icon":"icon"},h||f):null})))),Ot(a,f=>f&&b("div",{key:"checked",class:`${e}-switch__checked`},f)),Ot(s,f=>f&&b("div",{key:"unchecked",class:`${e}-switch__unchecked`},f)))))}}),VY=pe({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)}}}),UY={message:iY,notification:mY,loadingBar:BG,dialog:CW};function WY({providersAndProps:e,configProviderProps:t}){let o=jy(()=>b(N_,me(t),{default:()=>e.map(({type:s,Provider:l,props:c})=>b(l,me(c),{default:()=>b(VY,{onSetup:()=>r[s]=UY[s]()})}))}));const r={app:o};let i;return ir&&(i=document.createElement("div"),document.body.appendChild(i),o.mount(i)),Object.assign({unmount:()=>{var s;if(o===null||i===null){or("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 qY(e,{configProviderProps:t,messageProviderProps:n,dialogProviderProps:o,notificationProviderProps:r,loadingBarProviderProps:i}={}){const a=[];return e.forEach(l=>{switch(l){case"message":a.push({type:l,Provider:rY,props:n});break;case"notification":a.push({type:l,Provider:pY,props:r});break;case"dialog":a.push({type:l,Provider:xW,props:o});break;case"loadingBar":a.push({type:l,Provider:NG,props:i});break}}),WY({providersAndProps:a,configProviderProps:t})}function KY(){const e=He(xo,null);return L(()=>{if(e===null)return yt;const{mergedThemeRef:{value:t},mergedThemeOverridesRef:{value:n}}=e,o=(t==null?void 0:t.common)||yt;return n!=null&&n.common?Object.assign({},o,n.common):o})}const GY=()=>({}),YY={name:"Equation",common:Be,self:GY},XY=YY,rS={name:"dark",common:Be,Alert:XB,Anchor:sH,AutoComplete:_H,Avatar:S_,AvatarGroup:RH,BackTop:$H,Badge:NH,Breadcrumb:UH,Button:Hn,ButtonGroup:Eq,Calendar:aj,Card:I_,Carousel:yj,Cascader:Vj,Checkbox:Fa,Code:F_,Collapse:Jj,CollapseTransition:nV,ColorPicker:cj,DataTable:BV,DatePicker:ZU,Descriptions:nW,Dialog:_2,Divider:kW,Drawer:AW,Dropdown:om,DynamicInput:ZW,DynamicTags:aq,Element:lq,Empty:zi,Ellipsis:Y_,Equation:XY,Form:fq,GradientText:pq,Icon:fU,IconWrapper:vq,Image:gG,Input:lo,InputNumber:Aq,LegacyTransfer:MG,Layout:Dq,List:jq,LoadingBar:Uq,Log:Yq,Menu:nK,Mention:Qq,Message:Pq,Modal:fW,Notification:wq,PageHeader:iK,Pagination:K_,Popconfirm:cK,Popover:Di,Popselect:B_,Progress:N2,Radio:Z_,Rate:pK,Result:yK,Row:mG,Scrollbar:Bn,Select:U_,Skeleton:OY,Slider:wK,Space:I2,Spin:kK,Statistic:RK,Steps:IK,Switch:zK,Table:HK,Tabs:WK,Tag:p_,Thing:GK,TimePicker:x2,Timeline:QK,Tooltip:Tu,Transfer:eG,Tree:j2,TreeSelect:rG,Typography:lG,Upload:dG,Watermark:hG},QY={"aria-hidden":"true",width:"1em",height:"1em"},ZY=["xlink:href","fill"],JY=pe({__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)=>(be(),ze("svg",QY,[H("use",{"xlink:href":n.value,fill:e.color},null,8,ZY)]))}}),js=(e,t={size:12})=>()=>b(Li,t,()=>b(wA,{icon:e})),iS=(e,t={size:12})=>()=>b(Li,t,()=>b(JY,{icon:e}));function eX(){return{header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#316C72FF",primaryColorHover:"#316C72E3",primaryColorPressed:"#2B4C59FF",primaryColorSuppl:"#316C72E3",infoColor:"#2080F0FF",infoColorHover:"#4098FCFF",infoColorPressed:"#1060C9FF",infoColorSuppl:"#4098FCFF",successColor:"#18A058FF",successColorHover:"#36AD6AFF",successColorPressed:"#0C7A43FF",successColorSuppl:"#36AD6AFF",warningColor:"#F0A020FF",warningColorHover:"#FCB040FF",warningColorPressed:"#C97C10FF",warningColorSuppl:"#FCB040FF",errorColor:"#D03050FF",errorColorHover:"#DE576DFF",errorColorPressed:"#AB1F3FFF",errorColorSuppl:"#DE576DFF"}}}}const{header:tX,tags:p7e,naiveThemeOverrides:yh}=eX();function Iu(e){return Ph()?(K1(e),!0):!1}function Mo(e){return typeof e=="function"?e():me(e)}const aS=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const nX=Object.prototype.toString,oX=e=>nX.call(e)==="[object Object]",sS=()=>{};function rX(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 lS=e=>e();function iX(e=lS){const t=N(!0);function n(){t.value=!1}function o(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:to(t),pause:n,resume:o,eventFilter:r}}function aX(...e){if(e.length!==1)return Ne(...e);const t=e[0];return typeof t=="function"?to(l3(()=>({get:t,set:sS}))):N(t)}function sX(e,t,n={}){const{eventFilter:o=lS,...r}=n;return ht(e,rX(o,t),r)}function lX(e,t,n={}){const{eventFilter:o,...r}=n,{eventFilter:i,pause:a,resume:s,isActive:l}=iX(o);return{stop:sX(e,t,{...r,eventFilter:i}),pause:a,resume:s,isActive:l}}function cS(e,t=!0){Gn()?Vt(e):t?e():jt(e)}function cX(e=!1,t={}){const{truthyValue:n=!0,falsyValue:o=!1}=t,r=en(e),i=N(e);function a(s){if(arguments.length)return i.value=s,i.value;{const l=Mo(n);return i.value=i.value===l?Mo(o):l,i.value}}return r?a:[i,a]}function wa(e){var t;const n=Mo(e);return(t=n==null?void 0:n.$el)!=null?t:n}const vi=aS?window:void 0,uX=aS?window.document:void 0;function Rc(...e){let t,n,o,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,r]=e,t=vi):[t,n,o,r]=e,!t)return sS;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=ht(()=>[wa(t),Mo(r)],([u,d])=>{if(a(),!u)return;const f=oX(d)?{...d}:d;i.push(...n.flatMap(p=>o.map(h=>s(u,p,h,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),a()};return Iu(c),c}function dX(){const e=N(!1);return Gn()&&Vt(()=>{e.value=!0}),e}function gm(e){const t=dX();return L(()=>(t.value,!!e()))}function fX(e,t={}){const{window:n=vi}=t,o=gm(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=N(!1),a=c=>{i.value=c.matches},s=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",a):r.removeListener(a))},l=un(()=>{o.value&&(s(),r=n.matchMedia(Mo(e)),"addEventListener"in r?r.addEventListener("change",a):r.addListener(a),i.value=r.matches)});return Iu(()=>{l(),s(),r=void 0}),i}const jl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Vl="__vueuse_ssr_handlers__",hX=pX();function pX(){return Vl in jl||(jl[Vl]=jl[Vl]||{}),jl[Vl]}function uS(e,t){return hX[e]||t}function mX(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 gX={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()}},K0="vueuse-storage";function vX(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=vi,eventFilter:f,onError:p=P=>{console.error(P)},initOnMounted:h}=o,m=(u?Us:N)(typeof t=="function"?t():t);if(!n)try{n=uS("getDefaultStorage",()=>{var P;return(P=vi)==null?void 0:P.localStorage})()}catch(P){p(P)}if(!n)return m;const v=Mo(t),g=mX(v),y=(r=o.serializer)!=null?r:gX[g],{pause:S,resume:C}=lX(m,()=>_(m.value),{flush:i,deep:a,eventFilter:f});return d&&s&&cS(()=>{Rc(d,"storage",T),Rc(d,K0,w),h&&T()}),h||T(),m;function _(P){try{if(P==null)n.removeItem(e);else{const k=y.write(P),A=n.getItem(e);A!==k&&(n.setItem(e,k),d&&d.dispatchEvent(new CustomEvent(K0,{detail:{key:e,oldValue:A,newValue:k,storageArea:n}})))}}catch(k){p(k)}}function x(P){const k=P?P.newValue:n.getItem(e);if(k==null)return l&&v!==null&&n.setItem(e,y.write(v)),v;if(!P&&c){const A=y.read(k);return typeof c=="function"?c(A,v):g==="object"&&!Array.isArray(A)?{...v,...A}:A}else return typeof k!="string"?k:y.read(k)}function w(P){T(P.detail)}function T(P){if(!(P&&P.storageArea!==n)){if(P&&P.key==null){m.value=v;return}if(!(P&&P.key!==e)){S();try{(P==null?void 0:P.newValue)!==y.write(m.value)&&(m.value=x(P))}catch(k){p(k)}finally{P?jt(C):C()}}}}}function bX(e){return fX("(prefers-color-scheme: dark)",e)}function yX(e={}){const{selector:t="html",attribute:n="class",initialValue:o="auto",window:r=vi,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=bX({window:r}),p=L(()=>f.value?"dark":"light"),h=l||(a==null?aX(o):vX(a,o,i,{window:r,listenToStorageChanges:s})),m=L(()=>h.value==="auto"?p.value:h.value),v=uS("updateHTMLAttrs",(C,_,x)=>{const w=typeof C=="string"?r==null?void 0:r.document.querySelector(C):wa(C);if(!w)return;let T;if(u){T=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}";T.appendChild(document.createTextNode(P)),r.document.head.appendChild(T)}if(_==="class"){const P=x.split(/\s/g);Object.values(d).flatMap(k=>(k||"").split(/\s/g)).filter(Boolean).forEach(k=>{P.includes(k)?w.classList.add(k):w.classList.remove(k)})}else w.setAttribute(_,x);u&&(r.getComputedStyle(T).opacity,document.head.removeChild(T))});function g(C){var _;v(t,n,(_=d[C])!=null?_:C)}function y(C){e.onChanged?e.onChanged(C,g):g(C)}ht(m,y,{flush:"post",immediate:!0}),cS(()=>y(m.value));const S=L({get(){return c?h.value:m.value},set(C){h.value=C}});try{return Object.assign(S,{store:h,system:p,state:m})}catch{return S}}function xX(e,t,n={}){const{window:o=vi,...r}=n;let i;const a=gm(()=>o&&"MutationObserver"in o),s=()=>{i&&(i.disconnect(),i=void 0)},l=ht(()=>wa(e),d=>{s(),a.value&&o&&d&&(i=new MutationObserver(t),i.observe(d,r))},{immediate:!0}),c=()=>i==null?void 0:i.takeRecords(),u=()=>{s(),l()};return Iu(u),{isSupported:a,stop:u,takeRecords:c}}function CX(e,t,n={}){const{window:o=vi,initialValue:r="",observe:i=!1}=n,a=N(r),s=L(()=>{var c;return wa(t)||((c=o==null?void 0:o.document)==null?void 0:c.documentElement)});function l(){var c;const u=Mo(e),d=Mo(s);if(d&&o){const f=(c=o.getComputedStyle(d).getPropertyValue(u))==null?void 0:c.trim();a.value=f||r}}return i&&xX(s,l,{attributeFilter:["style","class"],window:o}),ht([s,()=>Mo(e)],l,{immediate:!0}),ht(a,c=>{var u;(u=s.value)!=null&&u.style&&s.value.style.setProperty(Mo(e),c)}),a}function dS(e={}){const{valueDark:t="dark",valueLight:n=""}=e,o=yX({...e,onChanged:(i,a)=>{var s;e.onChanged?(s=e.onChanged)==null||s.call(e,i==="dark",a,i):a(i)},modes:{dark:t,light:n}});return L({get(){return o.value==="dark"},set(i){const a=i?"dark":"light";o.system.value===a?o.value="auto":o.value=a}})}const G0=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function wX(e,t={}){const{document:n=uX,autoExit:o=!1}=t,r=L(()=>{var g;return(g=wa(e))!=null?g:n==null?void 0:n.querySelector("html")}),i=N(!1),a=L(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(g=>n&&g in n||r.value&&g in r.value)),s=L(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(g=>n&&g in n||r.value&&g in r.value)),l=L(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(g=>n&&g in n||r.value&&g in r.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(g=>n&&g in n),u=gm(()=>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 g=r.value;if((g==null?void 0:g[l.value])!=null)return!!g[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 g=r.value;(g==null?void 0:g[s.value])!=null&&await g[s.value]()}i.value=!1}}async function h(){if(!u.value||i.value)return;f()&&await p();const g=r.value;a.value&&(g==null?void 0:g[a.value])!=null&&(await g[a.value](),i.value=!0)}async function m(){await(i.value?p():h())}const v=()=>{const g=f();(!g||g&&d())&&(i.value=g)};return Rc(n,G0,v,!1),Rc(()=>wa(r),G0,v,!1),o&&Iu(p),{isSupported:u,isFullscreen:i,enter:h,exit:p,toggle:m}}const bn=Jc("app",{state(){var e,t,n,o,r,i,a;return{collapsed:window.innerWidth<768,isDark:dS(),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:Bf().value||"zh-CN",appConfig:{}}},actions:{async getConfig(){const{data:e}=await DX();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){v$(e),location.reload()}}});function _X(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 SX(e){return e.confirm=function(t={}){const n=!iC(t.title);return e[t.type||"warning"]({showIcon:n,positiveText:"确定",negativeText:"取消",onPositiveClick:t.confirm,onNegativeClick:t.cancel,onMaskClick:t.cancel,...t})},e}function kX(){const e=bn(),t=L(()=>({theme:e.isDark?rS:void 0,themeOverrides:yh})),{message:n,dialog:o,notification:r,loadingBar:i}=qY(["message","dialog","notification","loadingBar"],{configProviderProps:t});window.$loadingBar=i,window.$notification=r,window.$message=_X(n),window.$dialog=SX(o)}const TX="access_token",PX=6*60*60;function RX(e){wi.set(TX,e,PX)}function EX(e){if(e.method==="get"&&(e.params={...e.params,t:new Date().getTime()}),sR(e))return e;const t=Rx();return t.value?(e.headers.Authorization=e.headers.Authorization||t.value,e):(op(),Promise.reject({code:"-1",message:"未登录"}))}function $X(e){return Promise.reject(e)}function AX(e){return Promise.resolve((e==null?void 0:e.data)||{code:-1,message:"未知错误"})}function IX(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 MX(e={}){const t={headers:{"Content-Type":"application/x-www-form-urlencoded"},timeout:12e3},n=iR.create({...t,...e});return n.interceptors.request.use(EX,$X),n.interceptors.response.use(AX,IX),n}const St=MX({baseURL:zX()});function zX(){let e=OX(window.routerBase||"/")+"api/v1";return/^https?:\/\//.test(e)||(e=window.location.origin+e),e}function OX(e){return e.endsWith("/")?e:"/"+e}function DX(){return St.get("/user/comm/config")}function LX(){return St.get("/user/info")}function FX(){return St.get("/user/getStat")}function NX(){return St.get("/user/getSubscribe")}function BX(){return St.get("/user/notice/fetch")}function HX(){return St.get("/user/plan/fetch")}function fS(){return St.get("/user/server/fetch")}function hS(){return St.get("/user/order/fetch")}function jX(e){return St.get("/user/order/detail?trade_no="+e)}function vm(e){return St.post("/user/order/cancel",{trade_no:e})}function VX(e){return St.get("/user/order/check?trade_no="+e)}function UX(){return St.get("/user/invite/fetch")}function WX(e=1,t=10){return St.get(`/user/invite/details?current=${e}&page_size=${t}`)}function qX(){return St.get("/user/invite/save")}function KX(e){return St.post("/user/transfer",{transfer_amount:e})}function GX(e){return St.post("/user/ticket/withdraw",e)}function Y0(e){return St.post("/user/update",e)}function YX(e,t){return St.post("/user/changePassword",{old_password:e,new_password:t})}function XX(){return St.get("/user/resetSecurity")}function QX(){return St.get("/user/stat/getTrafficLog")}function ZX(){return St.get("/user/order/getPaymentMethod")}function pS(e,t,n){return St.post("/user/order/save",{plan_id:e,period:t,coupon_code:n})}function JX(e,t){return St.post("/user/order/checkout",{trade_no:e,method:t})}function eQ(e){return St.get("/user/plan/fetch?id="+e)}function tQ(e,t){return St.post("/user/coupon/check",{code:e,plan_id:t})}function nQ(){return St.get("/user/ticket/fetch")}function oQ(e,t,n){return St.post("/user/ticket/save",{subject:e,level:t,message:n})}function rQ(e){return St.post("/user/ticket/close",{id:e})}function iQ(e){return St.get("/user/ticket/fetch?id="+e)}function aQ(e,t){return St.post("/user/ticket/reply",{id:e,message:t})}function sQ(e="",t="zh-CN"){return St.get(`/user/knowledge/fetch?keyword=${e}&language=${t}`)}function lQ(e,t="zh-CN"){return St.get(`/user/knowledge/fetch?id=${e}&language=${t}`)}const ul=Jc("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}},actions:{async getUserInfo(){try{const e=await LX(),{data:t}=e;return t?(this.userInfo=t,t):Promise.reject(e)}catch(e){return Promise.reject(e)}},async logout(){Ex(),this.userInfo={},op()},setUserInfo(e){this.userInfo={...this.userInfo,...e}}}});function cQ(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 mS(e,t){const n=[];return e.forEach(o=>{if(cQ(o,t)){const r={...o,children:[]};o.children&&o.children.length?r.children=mS(o.children,t):Reflect.deleteProperty(r,"children"),n.push(r)}}),n}const gS=Jc("permission",{state(){return{accessRoutes:[]}},getters:{routes(){return Jy.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=mS(ex,e);return this.accessRoutes=t,t}}}),uQ=mc.get("activeTag"),dQ=mc.get("tags"),fQ=["/404","/login"],hQ=Jc({id:"tag",state:()=>{const e=N(dQ.value),t=N(uQ.value),n=N(!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,mc.set("activeTag",e)},setTags(e){this.tags=e,mc.set("tags",e)},addTag(e={}){if(fQ.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 jt(),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&&Jt.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&&Jt.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)||Jt.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)||Jt.push(n[n.length-1].path)},resetTags(){this.setTags([]),this.setActiveTag("")}}});function pQ(e){e.use(DT())}const mQ=["/login","/register","/forgetpassword"];function gQ(e){const t=ul(),n=gS();e.beforeEach(async(o,r,i)=>{Rx().value?o.path==="/login"?i({path:"/"}):t.userUUID?i():(await Promise.all([bn().getConfig(),t.getUserInfo().catch(l=>{Ex(),op(),window.$message.error(l.message||"获取用户信息失败!")})]),n.generateRoutes(t.role).forEach(l=>{l.name&&!e.hasRoute(l.name)&&e.addRoute(l)}),e.addRoute(IT),i({...o,replace:!0})):mQ.includes(o.path)?i():i({path:"/login"})})}function vQ(e){MT(e),gQ(e),zT(e)}const Jt=tT({history:v5("/"),routes:Jy,scrollBehavior:()=>({left:0,top:0})});function bQ(e){e.use(Jt),vQ(Jt)}const yQ=pe({__name:"AppProvider",setup(e){const t=bn(),n={"zh-CN":[CL,u0],"en-US":[Yw,Qw],"fa-IR":[IL,pN],"ko-KR":[RL,T7],"vi-VN":[$L,fN],"zh-TW":[_L,u0],"ja-JP":[TL,jF]};function o(){const r=yh.common;for(const i in r)CX(`--${hL(i)}`,document.documentElement).value=r[i]||"",i==="primaryColor"&&window.localStorage.setItem("__THEME_COLOR__",r[i]||"")}return o(),(r,i)=>{const a=N_;return be(),Ge(a,{"wh-full":"",locale:n[me(t).lang][0],"date-locale":n[me(t).lang][1],theme:me(t).isDark?me(rS):void 0,"theme-overrides":me(yh)},{default:le(()=>[Wc(r.$slots,"default")]),_:3},8,["locale","date-locale","theme","theme-overrides"])}}}),xQ=pe({__name:"App",setup(e){return(t,n)=>{const o=ka("router-view");return be(),Ge(yQ,null,{default:le(()=>[ee(o,null,{default:le(({Component:r})=>[(be(),Ge(Hc(r)))]),_:1})]),_:1})}}}),Mu=jy(xQ);pQ(Mu);kX();bQ(Mu);y$(Mu);Mu.mount("#app");const CQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},wQ=H("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.586L6.225 4.81"},null,-1),_Q=[wQ];function SQ(e,t){return be(),ze("svg",CQ,[..._Q])}const vS={name:"gg-close",render:SQ},kQ={"h-60":"","f-c-c":""},TQ=["src"],PQ=pe({__name:"SideLogo",setup(e){const t=bn();return(n,o)=>{const r=vS,i=Tt;return be(),ze("div",kQ,[me(t).logo?(be(),ze("img",{key:0,src:me(t).logo,height:"30"},null,8,TQ)):bt("",!0),Cn(H("h2",{"ml-10":"","max-w-140":"","flex-shrink-0":"","text-16":"","font-bold":"","color-primary":""},ce(me(t).title),513),[[ro,!me(t).collapsed]]),ee(i,{onClick:[o[0]||(o[0]=G4(()=>{},["stop"])),me(t).switchCollapsed],class:"absolute right-15 h-auto p-0 md:hidden",tertiary:"",size:"medium"},{icon:le(()=>[ee(r,{class:"cursor-pointer opacity-85"})]),_:1},8,["onClick"])])}}}),RQ=pe({__name:"SideMenu",setup(e){const t=bn(),n=h=>Nn.global.t(h);function o(){window.innerWidth<=768&&(t.collapsed=!0)}const r=Qc(),i=Pa(),a=gS(),s=L(()=>{var h;return((h=i.meta)==null?void 0:h.activeMenu)||i.name}),l=L(()=>a.menus.reduce((v,g)=>{var S,C,_,x;const y=d(g);if((C=(S=y.meta)==null?void 0:S.group)!=null&&C.key){const w=y.meta.group.key,T=v.findIndex(P=>P.key===w);if(T!==-1)(_=v[T].children)==null||_.push(y),v[T].children=(x=v[T].children)==null?void 0:x.sort((P,k)=>P.order-k.order);else{const P={type:"group",label:n(y.meta.group.label||""),key:w,children:[y]};v.push(P)}}else v.push(y);return v.sort((w,T)=>w.order-T.order)},[]).sort((v,g)=>v.type==="group"&&g.type!=="group"?1:v.type!=="group"&&g.type==="group"?-1:v.order-g.order));function c(h,m){return Av(m)?m:"/"+[h,m].filter(v=>!!v&&v!=="/").map(v=>v.replace(/(^\/)|(\/$)/g,"")).join("/")}function u(h,m){var g;const v=((g=h.children)==null?void 0:g.filter(y=>{var S;return y.name&&!((S=y.meta)!=null&&S.isHidden)}))||[];return v.length===1?d(v[0],m):v.length>1?{children:v.map(y=>d(y,m)).sort((y,S)=>y.order-S.order)}:null}function d(h,m=""){const{title:v,order:g}=h.meta||{title:"",order:0},{name:y,path:S}=h,C=v||y||"",_=y||"",x=f(h.meta),w=g||0,T=h.meta;let P={label:n(C),key:_,path:c(m,S),icon:x!==null?x:void 0,meta:T,order:w};const k=u(h,P.path);return k&&(P={...P,...k}),P}function f(h){return h!=null&&h.customIcon?iS(h.customIcon,{size:18}):h!=null&&h.icon?js(h.icon,{size:18}):null}function p(h,m){Av(m.path)?window.open(m.path):r.push(m.path)}return(h,m)=>{const v=QG;return be(),Ge(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]=g=>o())},null,8,["options","value"])}}}),EQ=pe({__name:"index",setup(e){return(t,n)=>(be(),ze(et,null,[ee(PQ),ee(RQ)],64))}}),$Q=pe({__name:"AppMain",setup(e){const t=hQ();return(n,o)=>{const r=ka("router-view");return be(),Ge(r,null,{default:le(({Component:i,route:a})=>[me(t).reloading?bt("",!0):(be(),Ge(Hc(i),{key:a.fullPath}))]),_:1})}}}),AQ=pe({__name:"BreadCrumb",setup(e){const t=Pa();function n(o){return o!=null&&o.customIcon?iS(o.customIcon,{size:18}):o!=null&&o.icon?js(o.icon,{size:18}):null}return(o,r)=>{const i=XH,a=KH;return be(),Ge(a,null,{default:le(()=>[(be(!0),ze(et,null,no(me(t).matched.filter(s=>{var l;return!!((l=s.meta)!=null&&l.title)}),s=>(be(),Ge(i,{key:s.path},{default:le(()=>[(be(),Ge(Hc(n(s.meta)))),Je(" "+ce(o.$t(s.meta.title)),1)]),_:2},1024))),128))]),_:1})}}}),IQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},MQ=H("path",{fill:"currentColor",d:"M11 13h10v-2H11m0-2h10V7H11M3 3v2h18V3M3 21h18v-2H3m0-7l4 4V8m4 9h10v-2H11z"},null,-1),zQ=[MQ];function OQ(e,t){return be(),ze("svg",IQ,[...zQ])}const DQ={name:"mdi-format-indent-decrease",render:OQ},LQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},FQ=H("path",{fill:"currentColor",d:"M11 13h10v-2H11m0-2h10V7H11M3 3v2h18V3M11 17h10v-2H11M3 8v8l4-4m-4 9h18v-2H3z"},null,-1),NQ=[FQ];function BQ(e,t){return be(),ze("svg",LQ,[...NQ])}const HQ={name:"mdi-format-indent-increase",render:BQ},jQ=pe({__name:"MenuCollapse",setup(e){const t=bn();return(n,o)=>{const r=HQ,i=DQ,a=Li;return be(),Ge(a,{size:"20","cursor-pointer":"",onClick:me(t).switchCollapsed},{default:le(()=>[me(t).collapsed?(be(),Ge(r,{key:0})):(be(),Ge(i,{key:1}))]),_:1},8,["onClick"])}}}),VQ={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},UQ=H("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.3l42.4 42.4zM845 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.3l-42.4-42.4z"},null,-1),WQ=[UQ];function qQ(e,t){return be(),ze("svg",VQ,[...WQ])}const KQ={name:"ant-design-fullscreen-outlined",render:qQ},GQ={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},YQ=H("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.8zm221.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.9zM744 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),XQ=[YQ];function QQ(e,t){return be(),ze("svg",GQ,[...XQ])}const ZQ={name:"ant-design-fullscreen-exit-outlined",render:QQ},JQ=pe({__name:"FullScreen",setup(e){const{isFullscreen:t,toggle:n}=wX();return(o,r)=>{const i=ZQ,a=KQ,s=Li;return be(),Ge(s,{mr20:"",size:"18",style:{cursor:"pointer"},onClick:me(n)},{default:le(()=>[me(t)?(be(),Ge(i,{key:0})):(be(),Ge(a,{key:1}))]),_:1},8,["onClick"])}}}),eZ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},tZ=H("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 0z"},null,-1),nZ=[tZ];function oZ(e,t){return be(),ze("svg",eZ,[...nZ])}const rZ={name:"ic-round-expand-more",render:oZ},iZ={class:"inline-block",viewBox:"0 0 32 32",width:"1em",height:"1em"},aZ=H("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),sZ=H("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),lZ=[aZ,sZ];function cZ(e,t){return be(),ze("svg",iZ,[...lZ])}const uZ={name:"carbon-user-avatar-filled",render:cZ},dZ={class:"hidden md:block"},fZ=pe({__name:"UserAvatar",setup(e){const t=ul(),n=[{label:"个人中心",key:"profile",icon:js("mdi-account-outline",{size:14})},{label:"退出登录",key:"logout",icon:js("mdi:exit-to-app",{size:14})}];function o(r){r==="logout"&&window.$dialog.confirm({title:"提示",type:"info",content:"确认退出?",confirm(){t.logout(),window.$message.success("已退出登录")}}),r==="profile"&&Jt.push("/profile")}return(r,i)=>{const a=uZ,s=rZ,l=Tt,c=am;return be(),Ge(c,{options:n,onSelect:o},{default:le(()=>[ee(l,{text:"",flex:"","cursor-pointer":"","items-center":""},{default:le(()=>[ee(a,{class:"mr-0 h-20 w-20 rounded-full md:mr10 md:h-30 md:w-30"}),ee(s,{class:"h-20 w-20 md:hidden"}),H("span",dZ,ce(me(t).email),1)]),_:1})]),_:1})}}}),hZ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},pZ=H("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),mZ=[pZ];function gZ(e,t){return be(),ze("svg",hZ,[...mZ])}const vZ={name:"fontisto-language",render:gZ},bZ=pe({__name:"SwitchLang",setup(e){const t=bn();return(n,o)=>{const r=vZ,i=Tt,a=al;return be(),Ge(a,{value:me(t).lang,"onUpdate:value":o[0]||(o[0]=s=>me(t).lang=s),options:Object.entries(me(fi)).map(([s,l])=>({label:l,value:s})),trigger:"click","on-update:value":me(t).switchLang},{default:le(()=>[ee(i,{text:"","icon-placement":"left",class:"mr-20"},{icon:le(()=>[ee(r)]),_:1})]),_:1},8,["value","options","on-update:value"])}}}),yZ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},xZ=H("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),CZ=[xZ];function wZ(e,t){return be(),ze("svg",yZ,[...CZ])}const _Z={name:"mdi-white-balance-sunny",render:wZ},SZ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},kZ=H("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),TZ=[kZ];function PZ(e,t){return be(),ze("svg",SZ,[...TZ])}const RZ={name:"mdi-moon-waning-crescent",render:PZ},EZ=pe({__name:"ThemeMode",setup(e){const t=bn(),n=dS(),o=()=>{t.toggleDark(),cX(n)()};return(r,i)=>{const a=RZ,s=_Z,l=Li;return be(),Ge(l,{"mr-20":"","cursor-pointer":"",size:"18",onClick:o},{default:le(()=>[me(n)?(be(),Ge(a,{key:0})):(be(),Ge(s,{key:1}))]),_:1})}}}),$Z={flex:"","items-center":""},AZ={"ml-auto":"",flex:"","items-center":""},IZ=pe({__name:"index",setup(e){return(t,n)=>(be(),ze(et,null,[H("div",$Z,[ee(jQ),ee(AQ,{"ml-15":""})]),H("div",AZ,[ee(EZ),ee(bZ),ee(JQ),ee(fZ)])],64))}}),MZ={"flex-col":"","flex-1":"","overflow-hidden":""},zZ={"flex-1":"","overflow-hidden":"","bg-hex-f5f6fb":"","dark:bg-hex-101014":""},OZ=pe({__name:"index",setup(e){const t=bn();function n(o){t.collapsed=o}return(o,r)=>{const i=$G,a=kG;return be(),Ge(a,{"has-sider":"","wh-full":""},{default:le(()=>[ee(i,{bordered:"","collapse-mode":"transform","collapsed-width":0,width:220,"native-scrollbar":!1,collapsed:me(t).collapsed,"show-trigger":"boolean","on-update:collapsed":n,class:"absolute z-100 h-100% md:relative"},{default:le(()=>[ee(EQ)]),_:1},8,["collapsed"]),H("article",MZ,[H("header",{"border-b":"1 solid #eee",class:"flex items-center bg-white px-15",dark:"bg-dark border-0",style:Fo(`height: ${me(tX).height}px`)},[ee(IZ)],4),H("section",zZ,[ee($Q)])])]),_:1})}}}),cr=Object.freeze(Object.defineProperty({__proto__:null,default:OZ},Symbol.toStringTag,{value:"Module"})),zu=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},DZ={},LZ={"f-c-c":"","flex-col":"","text-14":"",color:"#6a6a6a"},FZ=H("p",null,[Je(" Copyright © 2022-present "),H("a",{href:"https://github.com/zclzone",target:"__blank",hover:"decoration-underline color-primary"}," Ronnie Zhang ")],-1),NZ=H("p",null,null,-1),BZ=[FZ,NZ];function HZ(e,t){return be(),ze("footer",LZ,BZ)}const jZ=zu(DZ,[["render",HZ]]),VZ={class:"cus-scroll-y wh-full flex-col bg-[#f5f6fb] p-5 dark:bg-hex-121212 md:p-15"},co=pe({__name:"AppPage",props:{showFooter:{type:Boolean,default:!1}},setup(e){return(t,n)=>{const o=jZ,r=LH;return be(),Ge(fn,{name:"fade-slide",mode:"out-in",appear:""},{default:le(()=>[H("section",VZ,[Wc(t.$slots,"default"),e.showFooter?(be(),Ge(o,{key:0,"mt-15":""})):bt("",!0),ee(r,{bottom:20})])]),_:3})}}}),UZ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},WZ=H("g",{fill:"none"},[H("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-.01l-.184-.092"}),H("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),qZ=[WZ];function KZ(e,t){return be(),ze("svg",UZ,[...qZ])}const GZ={name:"mingcute-add-fill",render:KZ},YZ={class:"inline-block",viewBox:"0 0 1200 1200",width:"1em",height:"1em"},XZ=H("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),QZ=[XZ];function ZZ(e,t){return be(),ze("svg",YZ,[...QZ])}const JZ={name:"el-qrcode",render:ZZ},eJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},tJ=H("path",{fill:"currentColor",d:"M5.503 4.627L5.5 6.75v10.504a3.25 3.25 0 0 0 3.25 3.25h8.616a2.251 2.251 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),nJ=[tJ];function oJ(e,t){return be(),ze("svg",eJ,[...nJ])}const rJ={name:"fluent-copy24-filled",render:oJ},iJ="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==",aJ="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==",sJ="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=",lJ="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",cJ="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";/*! * qrcode.vue v3.4.1 * A Vue.js component to generate QRCode. * © 2017-2023 @scopewu(https://github.com/scopewu) * MIT License. - */var Ec=function(){return Ec=Object.assign||function(t){for(var n,o=1,r=arguments.length;oa.MAX_VERSION)throw new RangeError("Version value out of range");if(u<-1||u>7)throw new RangeError("Mask value out of range");this.size=s*4+17;for(var d=[],f=0;f7)throw new RangeError("Invalid value");var p,h;for(p=c;;p++){var m=a.getNumDataCodewords(p,l)*8,v=i.getTotalBits(s,p);if(v<=m){h=v;break}if(p>=u)throw new RangeError("Data too long")}for(var g=0,y=[a.Ecc.MEDIUM,a.Ecc.QUARTILE,a.Ecc.HIGH];g>>3]|=F<<7-(O&7)}),new a(p,l,q,d)},a.prototype.getModule=function(s,l){return 0<=s&&s>>9)*1335;var d=(l<<10|c)^21522;r(d>>>15==0);for(var u=0;u<=5;u++)this.setFunctionModule(8,u,o(d,u));this.setFunctionModule(8,7,o(d,6)),this.setFunctionModule(8,8,o(d,7)),this.setFunctionModule(7,8,o(d,8));for(var u=9;u<15;u++)this.setFunctionModule(14-u,8,o(d,u));for(var u=0;u<8;u++)this.setFunctionModule(this.size-1-u,8,o(d,u));for(var u=8;u<15;u++)this.setFunctionModule(8,this.size-15+u,o(d,u));this.setFunctionModule(8,this.size-8,!0)},a.prototype.drawVersion=function(){if(!(this.version<7)){for(var s=this.version,l=0;l<12;l++)s=s<<1^(s>>>11)*7973;var c=this.version<<12|s;r(c>>>18==0);for(var l=0;l<18;l++){var u=o(c,l),d=this.size-11+l%3,f=Math.floor(l/3);this.setFunctionModule(d,f,u),this.setFunctionModule(f,d,u)}}},a.prototype.drawFinderPattern=function(s,l){for(var c=-4;c<=4;c++)for(var u=-4;u<=4;u++){var d=Math.max(Math.abs(u),Math.abs(c)),f=s+u,p=l+c;0<=f&&f=p)&&_.push(T[w])})},g=0;g=1;c-=2){c==6&&(c=5);for(var u=0;u>>3],7-(l&7)),l++)}}r(l==s.length*8)},a.prototype.applyMask=function(s){if(s<0||s>7)throw new RangeError("Mask value out of range");for(var l=0;l5&&s++):(this.finderPenaltyAddHistory(u,d),c||(s+=this.finderPenaltyCountPatterns(d)*a.PENALTY_N3),c=this.modules[l][f],u=1);s+=this.finderPenaltyTerminateAndCount(c,u,d)*a.PENALTY_N3}for(var f=0;f5&&s++):(this.finderPenaltyAddHistory(p,d),c||(s+=this.finderPenaltyCountPatterns(d)*a.PENALTY_N3),c=this.modules[l][f],p=1);s+=this.finderPenaltyTerminateAndCount(c,p,d)*a.PENALTY_N3}for(var l=0;la.MAX_VERSION)throw new RangeError("Version number out of range");var l=(16*s+128)*s+64;if(s>=2){var c=Math.floor(s/7)+2;l-=(25*c-10)*c-55,s>=7&&(l-=36)}return r(208<=l&&l<=29648),l},a.getNumDataCodewords=function(s,l){return Math.floor(a.getNumRawDataModules(s)/8)-a.ECC_CODEWORDS_PER_BLOCK[l.ordinal][s]*a.NUM_ERROR_CORRECTION_BLOCKS[l.ordinal][s]},a.reedSolomonComputeDivisor=function(s){if(s<1||s>255)throw new RangeError("Degree out of range");for(var l=[],c=0;c>>8||l>>>8)throw new RangeError("Byte out of range");for(var c=0,u=7;u>=0;u--)c=c<<1^(c>>>7)*285,c^=(l>>>u&1)*s;return r(c>>>8==0),c},a.prototype.finderPenaltyCountPatterns=function(s){var l=s[1];r(l<=this.size*3);var c=l>0&&s[2]==l&&s[3]==l*3&&s[4]==l&&s[5]==l;return(c&&s[0]>=l*4&&s[6]>=l?1:0)+(c&&s[6]>=l*4&&s[0]>=l?1:0)},a.prototype.finderPenaltyTerminateAndCount=function(s,l,c){return s&&(this.finderPenaltyAddHistory(l,c),l=0),l+=this.size,this.finderPenaltyAddHistory(l,c),this.finderPenaltyCountPatterns(c)},a.prototype.finderPenaltyAddHistory=function(s,l){l[0]==0&&(s+=this.size),l.pop(),l.unshift(s)},a.MIN_VERSION=1,a.MAX_VERSION=40,a.PENALTY_N1=3,a.PENALTY_N2=3,a.PENALTY_N3=40,a.PENALTY_N4=10,a.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]],a.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]],a}();e.QrCode=t;function n(a,s,l){if(s<0||s>31||a>>>s)throw new RangeError("Value out of range");for(var c=s-1;c>=0;c--)l.push(a>>>c&1)}function o(a,s){return(a>>>s&1)!=0}function r(a){if(!a)throw new Error("Assertion error")}var i=function(){function a(s,l,c){if(this.mode=s,this.numChars=l,this.bitData=c,l<0)throw new RangeError("Invalid argument");this.bitData=c.slice()}return a.makeBytes=function(s){for(var l=[],c=0,u=s;c=1<-1}}}),dJ=pe({name:"QRCodeSvg",props:ym,setup:function(e){var t=B(0),n=B(""),o=function(){var r=e.value,i=e.level,a=e.margin,s=Ji.QrCode.encodeText(r,bm[i]).getModules();t.value=s.length+a*2,n.value=xS(s,a)};return o(),Ws(o),function(){return b("svg",{width:e.size,height:e.size,"shape-rendering":"crispEdges",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(t.value," ").concat(t.value)},[b("path",{fill:e.background,d:"M0,0 h".concat(t.value,"v").concat(t.value,"H0z")}),b("path",{fill:e.foreground,d:n.value})])}}}),fJ=pe({name:"QRCodeCanvas",props:ym,setup:function(e){var t=B(null),n=function(){var o=e.value,r=e.level,i=e.size,a=e.margin,s=e.background,l=e.foreground,c=t.value;if(c){var u=c.getContext("2d");if(u){var d=Ji.QrCode.encodeText(o,bm[r]).getModules(),f=d.length+a*2,p=window.devicePixelRatio||1,h=i/f*p;c.height=c.width=i*p,u.scale(h,h),u.fillStyle=s,u.fillRect(0,0,f,f),u.fillStyle=l,cJ?u.fill(new Path2D(xS(d,a))):d.forEach(function(m,v){m.forEach(function(g,y){g&&u.fillRect(y+a,v+a,1,1)})})}}};return Vt(n),Ws(n),function(){return b("canvas",{ref:t,style:{width:"".concat(e.size,"px"),height:"".concat(e.size,"px")}})}}}),hJ=pe({name:"Qrcode",render:function(){var e=this.$props,t=e.renderAs,n=e.value,o=e.size,r=e.margin,i=e.level,a=e.background,s=e.foreground,l=o>>>0,c=r>>>0,u=yS(i)?i:bS;return b(t==="svg"?dJ:fJ,{value:n,size:l,margin:c,level:u,background:a,foreground:s})},props:uJ}),Dt={};const pJ="Á",mJ="á",gJ="Ă",vJ="ă",bJ="∾",yJ="∿",xJ="∾̳",CJ="Â",wJ="â",_J="´",SJ="А",kJ="а",TJ="Æ",PJ="æ",RJ="⁡",EJ="𝔄",$J="𝔞",AJ="À",IJ="à",MJ="ℵ",zJ="ℵ",OJ="Α",DJ="α",LJ="Ā",FJ="ā",NJ="⨿",BJ="&",HJ="&",jJ="⩕",VJ="⩓",UJ="∧",WJ="⩜",qJ="⩘",KJ="⩚",GJ="∠",YJ="⦤",XJ="∠",QJ="⦨",ZJ="⦩",JJ="⦪",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="Å",Tee="å",Pee="𝒜",Ree="𝒶",Eee="≔",$ee="*",Aee="≈",Iee="≍",Mee="Ã",zee="ã",Oee="Ä",Dee="ä",Lee="∳",Fee="⨑",Nee="≌",Bee="϶",Hee="‵",jee="∽",Vee="⋍",Uee="∖",Wee="⫧",qee="⊽",Kee="⌅",Gee="⌆",Yee="⌅",Xee="⎵",Qee="⎶",Zee="≌",Jee="Б",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="⨄",Tte="⋁",Pte="⋀",Rte="⤍",Ete="⧫",$te="▪",Ate="▴",Ite="▾",Mte="◂",zte="▸",Ote="␣",Dte="▒",Lte="░",Fte="▓",Nte="█",Bte="=⃥",Hte="≡⃥",jte="⫭",Vte="⌐",Ute="𝔹",Wte="𝕓",qte="⊥",Kte="⊥",Gte="⋈",Yte="⧉",Xte="┐",Qte="╕",Zte="╖",Jte="╗",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="│",Tne="║",Pne="┼",Rne="╪",Ene="╫",$ne="╬",Ane="┤",Ine="╡",Mne="╢",zne="╣",One="├",Dne="╞",Lne="╟",Fne="╠",Nne="‵",Bne="˘",Hne="˘",jne="¦",Vne="𝒷",Une="ℬ",Wne="⁏",qne="∽",Kne="⋍",Gne="⧅",Yne="\\",Xne="⟈",Qne="•",Zne="•",Jne="≎",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="∰",Toe="⩌",Poe="⩐",Roe="Ċ",Eoe="ċ",$oe="¸",Aoe="¸",Ioe="⦲",Moe="¢",zoe="·",Ooe="·",Doe="𝔠",Loe="ℭ",Foe="Ч",Noe="ч",Boe="✓",Hoe="✓",joe="Χ",Voe="χ",Uoe="ˆ",Woe="≗",qoe="↺",Koe="↻",Goe="⊛",Yoe="⊚",Xoe="⊝",Qoe="⊙",Zoe="®",Joe="Ⓢ",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="≅",Tre="⩭",Pre="≡",Rre="∮",Ere="∯",$re="∮",Are="𝕔",Ire="ℂ",Mre="∐",zre="∐",Ore="©",Dre="©",Lre="℗",Fre="∳",Nre="↵",Bre="✗",Hre="⨯",jre="𝒞",Vre="𝒸",Ure="⫏",Wre="⫑",qre="⫐",Kre="⫒",Gre="⋯",Yre="⤸",Xre="⤵",Qre="⋞",Zre="⋟",Jre="↶",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="‡",Tie="ℸ",Pie="↓",Rie="↡",Eie="⇓",$ie="‐",Aie="⫤",Iie="⊣",Mie="⤏",zie="˝",Oie="Ď",Die="ď",Lie="Д",Fie="д",Nie="‡",Bie="⇊",Hie="ⅅ",jie="ⅆ",Vie="⤑",Uie="⩷",Wie="°",qie="∇",Kie="Δ",Gie="δ",Yie="⦱",Xie="⥿",Qie="𝔇",Zie="𝔡",Jie="⥥",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="𝔻",Tae="𝕕",Pae="¨",Rae="˙",Eae="⃜",$ae="≐",Aae="≑",Iae="≐",Mae="∸",zae="∔",Oae="⊡",Dae="⌆",Lae="∯",Fae="¨",Nae="⇓",Bae="⇐",Hae="⇔",jae="⫤",Vae="⟸",Uae="⟺",Wae="⟹",qae="⇒",Kae="⊨",Gae="⇑",Yae="⇕",Xae="∥",Qae="⤓",Zae="↓",Jae="↓",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="⋱",Tse="▿",Pse="▾",Rse="⇵",Ese="⥯",$se="⦦",Ase="Џ",Ise="џ",Mse="⟿",zse="É",Ose="é",Dse="⩮",Lse="Ě",Fse="ě",Nse="Ê",Bse="ê",Hse="≖",jse="≕",Vse="Э",Use="э",Wse="⩷",qse="Ė",Kse="ė",Gse="≑",Yse="ⅇ",Xse="≒",Qse="𝔈",Zse="𝔢",Jse="⪚",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="𝔼",Tle="𝕖",Ple="⋕",Rle="⧣",Ele="⩱",$le="ε",Ale="Ε",Ile="ε",Mle="ϵ",zle="≖",Ole="≕",Dle="≂",Lle="⪖",Fle="⪕",Nle="⩵",Ble="=",Hle="≂",jle="≟",Vle="⇌",Ule="≡",Wle="⩸",qle="⧥",Kle="⥱",Gle="≓",Yle="ℯ",Xle="ℰ",Qle="≐",Zle="⩳",Jle="≂",ece="Η",tce="η",nce="Ð",oce="ð",rce="Ë",ice="ë",ace="€",sce="!",lce="∃",cce="∃",uce="ℰ",dce="ⅇ",fce="ⅇ",hce="≒",pce="Ф",mce="ф",gce="♀",vce="ffi",bce="ff",yce="ffl",xce="𝔉",Cce="𝔣",wce="fi",_ce="◼",Sce="▪",kce="fj",Tce="♭",Pce="fl",Rce="▱",Ece="ƒ",$ce="𝔽",Ace="𝕗",Ice="∀",Mce="∀",zce="⋔",Oce="⫙",Dce="ℱ",Lce="⨍",Fce="½",Nce="⅓",Bce="¼",Hce="⅕",jce="⅙",Vce="⅛",Uce="⅔",Wce="⅖",qce="¾",Kce="⅗",Gce="⅜",Yce="⅘",Xce="⅚",Qce="⅝",Zce="⅞",Jce="⁄",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="⪩",Tue="⩾",Pue="⪀",Rue="⪂",Eue="⪄",$ue="⋛︀",Aue="⪔",Iue="𝔊",Mue="𝔤",zue="≫",Oue="⋙",Due="⋙",Lue="ℷ",Fue="Ѓ",Nue="ѓ",Bue="⪥",Hue="≷",jue="⪒",Vue="⪤",Uue="⪊",Wue="⪊",que="⪈",Kue="≩",Gue="⪈",Yue="≩",Xue="⋧",Que="𝔾",Zue="𝕘",Jue="`",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="≷",Tde="≳",Pde="≩︀",Rde="≩︀",Ede="ˇ",$de=" ",Ade="½",Ide="ℋ",Mde="Ъ",zde="ъ",Ode="⥈",Dde="↔",Lde="⇔",Fde="↭",Nde="^",Bde="ℏ",Hde="Ĥ",jde="ĥ",Vde="♥",Ude="♥",Wde="…",qde="⊹",Kde="𝔥",Gde="ℌ",Yde="ℋ",Xde="⤥",Qde="⤦",Zde="⇿",Jde="∻",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="¡",Tfe="⇔",Pfe="𝔦",Rfe="ℑ",Efe="Ì",$fe="ì",Afe="ⅈ",Ife="⨌",Mfe="∭",zfe="⧜",Ofe="℩",Dfe="IJ",Lfe="ij",Ffe="Ī",Nfe="ī",Bfe="ℑ",Hfe="ⅈ",jfe="ℐ",Vfe="ℑ",Ufe="ı",Wfe="ℑ",qfe="⊷",Kfe="Ƶ",Gfe="⇒",Yfe="℅",Xfe="∞",Qfe="⧝",Zfe="ı",Jfe="⊺",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="⋴",The="⋳",Phe="∈",Rhe="⁢",Ehe="Ĩ",$he="ĩ",Ahe="І",Ihe="і",Mhe="Ï",zhe="ï",Ohe="Ĵ",Dhe="ĵ",Lhe="Й",Fhe="й",Nhe="𝔍",Bhe="𝔧",Hhe="ȷ",jhe="𝕁",Vhe="𝕛",Uhe="𝒥",Whe="𝒿",qhe="Ј",Khe="ј",Ghe="Є",Yhe="є",Xhe="Κ",Qhe="κ",Zhe="ϰ",Jhe="Ķ",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="⪅",Tpe="ℒ",Ppe="«",Rpe="⇤",Epe="⤟",$pe="←",Ape="↞",Ipe="⇐",Mpe="⤝",zpe="↩",Ope="↫",Dpe="⤹",Lpe="⥳",Fpe="↢",Npe="⤙",Bpe="⤛",Hpe="⪫",jpe="⪭",Vpe="⪭︀",Upe="⤌",Wpe="⤎",qpe="❲",Kpe="{",Gpe="[",Ype="⦋",Xpe="⦏",Qpe="⦍",Zpe="Ľ",Jpe="ľ",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="⇃",Tme="⌊",Pme="↽",Rme="↼",Eme="⇇",$me="↔",Ame="↔",Ime="⇔",Mme="⇆",zme="⇋",Ome="↭",Dme="⥎",Lme="↤",Fme="⊣",Nme="⥚",Bme="⋋",Hme="⧏",jme="⊲",Vme="⊴",Ume="⥑",Wme="⥠",qme="⥘",Kme="↿",Gme="⥒",Yme="↼",Xme="⪋",Qme="⋚",Zme="≤",Jme="≦",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="⪑",Tge="⥢",Pge="↽",Rge="↼",Ege="⥪",$ge="▄",Age="Љ",Ige="љ",Mge="⇇",zge="≪",Oge="⋘",Dge="⌞",Lge="⇚",Fge="⥫",Nge="◺",Bge="Ŀ",Hge="ŀ",jge="⎰",Vge="⎰",Uge="⪉",Wge="⪉",qge="⪇",Kge="≨",Gge="⪇",Yge="≨",Xge="⋦",Qge="⟬",Zge="⇽",Jge="⟦",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="⦓",Tve="⇆",Pve="⌟",Rve="⇋",Eve="⥭",$ve="‎",Ave="⊿",Ive="‹",Mve="𝓁",zve="ℒ",Ove="↰",Dve="↰",Lve="≲",Fve="⪍",Nve="⪏",Bve="[",Hve="‘",jve="‚",Vve="Ł",Uve="ł",Wve="⪦",qve="⩹",Kve="<",Gve="<",Yve="≪",Xve="⋖",Qve="⋋",Zve="⋉",Jve="⥶",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=" ",Tbe="ℳ",Pbe="𝔐",Rbe="𝔪",Ebe="℧",$be="µ",Abe="*",Ibe="⫰",Mbe="∣",zbe="·",Obe="⊟",Dbe="−",Lbe="∸",Fbe="⨪",Nbe="∓",Bbe="⫛",Hbe="…",jbe="∓",Vbe="⊧",Ube="𝕄",Wbe="𝕞",qbe="∓",Kbe="𝓂",Gbe="ℳ",Ybe="∾",Xbe="Μ",Qbe="μ",Zbe="⊸",Jbe="⊸",e0e="∇",t0e="Ń",n0e="ń",o0e="∠⃒",r0e="≉",i0e="⩰̸",a0e="≋̸",s0e="ʼn",l0e="≉",c0e="♮",u0e="ℕ",d0e="♮",f0e=" ",h0e="≎̸",p0e="≏̸",m0e="⩃",g0e="Ň",v0e="ň",b0e="Ņ",y0e="ņ",x0e="≇",C0e="⩭̸",w0e="⩂",_0e="Н",S0e="н",k0e="–",T0e="⤤",P0e="↗",R0e="⇗",E0e="↗",$0e="≠",A0e="≐̸",I0e="​",M0e="​",z0e="​",O0e="​",D0e="≢",L0e="⤨",F0e="≂̸",N0e="≫",B0e="≪",H0e=` -`,j0e="∄",V0e="∄",U0e="𝔑",W0e="𝔫",q0e="≧̸",K0e="≱",G0e="≱",Y0e="≧̸",X0e="⩾̸",Q0e="⩾̸",Z0e="⋙̸",J0e="≵",e1e="≫⃒",t1e="≯",n1e="≯",o1e="≫̸",r1e="↮",i1e="⇎",a1e="⫲",s1e="∋",l1e="⋼",c1e="⋺",u1e="∋",d1e="Њ",f1e="њ",h1e="↚",p1e="⇍",m1e="‥",g1e="≦̸",v1e="≰",b1e="↚",y1e="⇍",x1e="↮",C1e="⇎",w1e="≰",_1e="≦̸",S1e="⩽̸",k1e="⩽̸",T1e="≮",P1e="⋘̸",R1e="≴",E1e="≪⃒",$1e="≮",A1e="⋪",I1e="⋬",M1e="≪̸",z1e="∤",O1e="⁠",D1e=" ",L1e="𝕟",F1e="ℕ",N1e="⫬",B1e="¬",H1e="≢",j1e="≭",V1e="∦",U1e="∉",W1e="≠",q1e="≂̸",K1e="∄",G1e="≯",Y1e="≱",X1e="≧̸",Q1e="≫̸",Z1e="≹",J1e="⩾̸",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="⪯̸",Tye="⋠",Pye="∌",Rye="⧐̸",Eye="⋫",$ye="⋭",Aye="⊏̸",Iye="⋢",Mye="⊐̸",zye="⋣",Oye="⊂⃒",Dye="⊈",Lye="⊁",Fye="⪰̸",Nye="⋡",Bye="≿̸",Hye="⊃⃒",jye="⊉",Vye="≁",Uye="≄",Wye="≇",qye="≉",Kye="∤",Gye="∦",Yye="∦",Xye="⫽⃥",Qye="∂̸",Zye="⨔",Jye="⊀",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="⋣",Txe="⊄",Pxe="⫅̸",Rxe="⊈",Exe="⊂⃒",$xe="⊈",Axe="⫅̸",Ixe="⊁",Mxe="⪰̸",zxe="⊅",Oxe="⫆̸",Dxe="⊉",Lxe="⊃⃒",Fxe="⊉",Nxe="⫆̸",Bxe="≹",Hxe="Ñ",jxe="ñ",Vxe="≸",Uxe="⋪",Wxe="⋬",qxe="⋫",Kxe="⋭",Gxe="Ν",Yxe="ν",Xxe="#",Qxe="№",Zxe=" ",Jxe="≍⃒",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="⊚",TCe="О",PCe="о",RCe="⊝",ECe="Ő",$Ce="ő",ACe="⨸",ICe="⊙",MCe="⦼",zCe="Œ",OCe="œ",DCe="⦿",LCe="𝔒",FCe="𝔬",NCe="˛",BCe="Ò",HCe="ò",jCe="⧁",VCe="⦵",UCe="Ω",WCe="∮",qCe="↺",KCe="⦾",GCe="⦻",YCe="‾",XCe="⧀",QCe="Ō",ZCe="ō",JCe="Ω",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="𝒪",Twe="ℴ",Pwe="Ø",Rwe="ø",Ewe="⊘",$we="Õ",Awe="õ",Iwe="⨶",Mwe="⨷",zwe="⊗",Owe="Ö",Dwe="ö",Lwe="⌽",Fwe="‾",Nwe="⏞",Bwe="⎴",Hwe="⏜",jwe="¶",Vwe="∥",Uwe="∥",Wwe="⫳",qwe="⫽",Kwe="∂",Gwe="∂",Ywe="П",Xwe="п",Qwe="%",Zwe=".",Jwe="‰",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="⨦",T_e="⨧",P_e="±",R_e="ℌ",E_e="⨕",$_e="𝕡",A_e="ℙ",I_e="£",M_e="⪷",z_e="⪻",O_e="≺",D_e="≼",L_e="⪷",F_e="≺",N_e="≼",B_e="≺",H_e="⪯",j_e="≼",V_e="≾",U_e="⪯",W_e="⪹",q_e="⪵",K_e="⋨",G_e="⪯",Y_e="⪳",X_e="≾",Q_e="′",Z_e="″",J_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="𝒬",T2e="𝓆",P2e="ℍ",R2e="⨖",E2e="?",$2e="≟",A2e='"',I2e='"',M2e="⇛",z2e="∽̱",O2e="Ŕ",D2e="ŕ",L2e="√",F2e="⦳",N2e="⟩",B2e="⟫",H2e="⦒",j2e="⦥",V2e="⟩",U2e="»",W2e="⥵",q2e="⇥",K2e="⤠",G2e="⤳",Y2e="→",X2e="↠",Q2e="⇒",Z2e="⤞",J2e="↪",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="Р",TSe="р",PSe="⤷",RSe="⥩",ESe="”",$Se="”",ASe="↳",ISe="ℜ",MSe="ℛ",zSe="ℜ",OSe="ℝ",DSe="ℜ",LSe="▭",FSe="®",NSe="®",BSe="∋",HSe="⇋",jSe="⥯",VSe="⥽",USe="⌋",WSe="𝔯",qSe="ℜ",KSe="⥤",GSe="⇁",YSe="⇀",XSe="⥬",QSe="Ρ",ZSe="ρ",JSe="ϱ",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="⊵",Tke="⥏",Pke="⥜",Rke="⥔",Eke="↾",$ke="⥓",Ake="⇀",Ike="˚",Mke="≓",zke="⇄",Oke="⇌",Dke="‏",Lke="⎱",Fke="⎱",Nke="⫮",Bke="⟭",Hke="⇾",jke="⟧",Vke="⦆",Uke="𝕣",Wke="ℝ",qke="⨮",Kke="⨵",Gke="⥰",Yke=")",Xke="⦔",Qke="⨒",Zke="⇉",Jke="⇛",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="≽",T3e="⪰",P3e="⪴",R3e="Ş",E3e="ş",$3e="Ŝ",A3e="ŝ",I3e="⪺",M3e="⪶",z3e="⋩",O3e="⨓",D3e="≿",L3e="С",F3e="с",N3e="⊡",B3e="⋅",H3e="⩦",j3e="⤥",V3e="↘",U3e="⇘",W3e="↘",q3e="§",K3e=";",G3e="⤩",Y3e="∖",X3e="∖",Q3e="✶",Z3e="𝔖",J3e="𝔰",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="≆",T4e="⨤",P4e="⥲",R4e="←",E4e="∘",$4e="∖",A4e="⨳",I4e="⧤",M4e="∣",z4e="⌣",O4e="⪪",D4e="⪬",L4e="⪬︀",F4e="Ь",N4e="ь",B4e="⌿",H4e="⧄",j4e="/",V4e="𝕊",U4e="𝕤",W4e="♠",q4e="♠",K4e="∥",G4e="⊓",Y4e="⊓︀",X4e="⊔",Q4e="⊔︀",Z4e="√",J4e="⊏",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="☆",T5e="★",P5e="ϵ",R5e="ϕ",E5e="¯",$5e="⊂",A5e="⋐",I5e="⪽",M5e="⫅",z5e="⊆",O5e="⫃",D5e="⫁",L5e="⫋",F5e="⊊",N5e="⪿",B5e="⥹",H5e="⊂",j5e="⋐",V5e="⊆",U5e="⫅",W5e="⊆",q5e="⊊",K5e="⫋",G5e="⫇",Y5e="⫕",X5e="⫓",Q5e="⪸",Z5e="≻",J5e="≽",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="⟉",TTe="⫗",PTe="⥻",RTe="⫂",ETe="⫌",$Te="⊋",ATe="⫀",ITe="⊃",MTe="⋑",zTe="⊇",OTe="⫆",DTe="⊋",LTe="⫌",FTe="⫈",NTe="⫔",BTe="⫖",HTe="⤦",jTe="↙",VTe="⇙",UTe="↙",WTe="⤪",qTe="ß",KTe=" ",GTe="⌖",YTe="Τ",XTe="τ",QTe="⎴",ZTe="Ť",JTe="ť",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="∼",TPe="≃",PPe="≅",RPe="≈",EPe="⨱",$Pe="⊠",APe="×",IPe="⨰",MPe="∭",zPe="⤨",OPe="⌶",DPe="⫱",LPe="⊤",FPe="𝕋",NPe="𝕥",BPe="⫚",HPe="⤩",jPe="‴",VPe="™",UPe="™",WPe="▵",qPe="▿",KPe="◃",GPe="⊴",YPe="≜",XPe="▹",QPe="⊵",ZPe="◬",JPe="≜",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="Ŭ",TRe="ŭ",PRe="Û",RRe="û",ERe="У",$Re="у",ARe="⇅",IRe="Ű",MRe="ű",zRe="⥮",ORe="⥾",DRe="𝔘",LRe="𝔲",FRe="Ù",NRe="ù",BRe="⥣",HRe="↿",jRe="↾",VRe="▀",URe="⌜",WRe="⌜",qRe="⌏",KRe="◸",GRe="Ū",YRe="ū",XRe="¨",QRe="_",ZRe="⏟",JRe="⎵",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="υ",TEe="↥",PEe="⊥",REe="⇈",EEe="⌝",$Ee="⌝",AEe="⌎",IEe="Ů",MEe="ů",zEe="◹",OEe="𝒰",DEe="𝓊",LEe="⋰",FEe="Ũ",NEe="ũ",BEe="▵",HEe="▴",jEe="⇈",VEe="Ü",UEe="ü",WEe="⦧",qEe="⦜",KEe="ϵ",GEe="ϰ",YEe="∅",XEe="ϕ",QEe="ϖ",ZEe="∝",JEe="↕",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="|",T$e="‖",P$e="|",R$e="‖",E$e="∣",$$e="|",A$e="❘",I$e="≀",M$e=" ",z$e="𝔙",O$e="𝔳",D$e="⊲",L$e="⊂⃒",F$e="⊃⃒",N$e="𝕍",B$e="𝕧",H$e="∝",j$e="⊳",V$e="𝒱",U$e="𝓋",W$e="⫋︀",q$e="⊊︀",K$e="⫌︀",G$e="⊋︀",Y$e="⊪",X$e="⦚",Q$e="Ŵ",Z$e="ŵ",J$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="⟼",TAe="⋻",PAe="⨀",RAe="𝕏",EAe="𝕩",$Ae="⨁",AAe="⨂",IAe="⟶",MAe="⟹",zAe="𝒳",OAe="𝓍",DAe="⨆",LAe="⨄",FAe="△",NAe="⋁",BAe="⋀",HAe="Ý",jAe="ý",VAe="Я",UAe="я",WAe="Ŷ",qAe="ŷ",KAe="Ы",GAe="ы",YAe="¥",XAe="𝔜",QAe="𝔶",ZAe="Ї",JAe="ї",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="𝕫",T6e="ℤ",P6e="𝒵",R6e="𝓏",E6e="‍",$6e="‌",A6e={Aacute:pJ,aacute:mJ,Abreve:gJ,abreve:vJ,ac:bJ,acd:yJ,acE:xJ,Acirc:CJ,acirc:wJ,acute:_J,Acy:SJ,acy:kJ,AElig:TJ,aelig:PJ,af:RJ,Afr:EJ,afr:$J,Agrave:AJ,agrave:IJ,alefsym:MJ,aleph:zJ,Alpha:OJ,alpha:DJ,Amacr:LJ,amacr:FJ,amalg:NJ,amp:BJ,AMP:HJ,andand:jJ,And:VJ,and:UJ,andd:WJ,andslope:qJ,andv:KJ,ang:GJ,ange:YJ,angle:XJ,angmsdaa:QJ,angmsdab:ZJ,angmsdac:JJ,angmsdad:eee,angmsdae:tee,angmsdaf:nee,angmsdag:oee,angmsdah:ree,angmsd:iee,angrt:aee,angrtvb:see,angrtvbd:lee,angsph:cee,angst:uee,angzarr:dee,Aogon:fee,aogon:hee,Aopf:pee,aopf:mee,apacir:gee,ap:vee,apE:bee,ape:yee,apid:xee,apos:Cee,ApplyFunction:wee,approx:_ee,approxeq:See,Aring:kee,aring:Tee,Ascr:Pee,ascr:Ree,Assign:Eee,ast:$ee,asymp:Aee,asympeq:Iee,Atilde:Mee,atilde:zee,Auml:Oee,auml:Dee,awconint:Lee,awint:Fee,backcong:Nee,backepsilon:Bee,backprime:Hee,backsim:jee,backsimeq:Vee,Backslash:Uee,Barv:Wee,barvee:qee,barwed:Kee,Barwed:Gee,barwedge:Yee,bbrk:Xee,bbrktbrk:Qee,bcong:Zee,Bcy:Jee,bcy:ete,bdquo:tte,becaus:nte,because:ote,Because:rte,bemptyv:ite,bepsi:ate,bernou:ste,Bernoullis:lte,Beta:cte,beta:ute,beth:dte,between:fte,Bfr:hte,bfr:pte,bigcap:mte,bigcirc:gte,bigcup:vte,bigodot:bte,bigoplus:yte,bigotimes:xte,bigsqcup:Cte,bigstar:wte,bigtriangledown:_te,bigtriangleup:Ste,biguplus:kte,bigvee:Tte,bigwedge:Pte,bkarow:Rte,blacklozenge:Ete,blacksquare:$te,blacktriangle:Ate,blacktriangledown:Ite,blacktriangleleft:Mte,blacktriangleright:zte,blank:Ote,blk12:Dte,blk14:Lte,blk34:Fte,block:Nte,bne:Bte,bnequiv:Hte,bNot:jte,bnot:Vte,Bopf:Ute,bopf:Wte,bot:qte,bottom:Kte,bowtie:Gte,boxbox:Yte,boxdl:Xte,boxdL:Qte,boxDl:Zte,boxDL:Jte,boxdr:ene,boxdR:tne,boxDr:nne,boxDR:one,boxh:rne,boxH:ine,boxhd:ane,boxHd:sne,boxhD:lne,boxHD:cne,boxhu:une,boxHu:dne,boxhU:fne,boxHU:hne,boxminus:pne,boxplus:mne,boxtimes:gne,boxul:vne,boxuL:bne,boxUl:yne,boxUL:xne,boxur:Cne,boxuR:wne,boxUr:_ne,boxUR:Sne,boxv:kne,boxV:Tne,boxvh:Pne,boxvH:Rne,boxVh:Ene,boxVH:$ne,boxvl:Ane,boxvL:Ine,boxVl:Mne,boxVL:zne,boxvr:One,boxvR:Dne,boxVr:Lne,boxVR:Fne,bprime:Nne,breve:Bne,Breve:Hne,brvbar:jne,bscr:Vne,Bscr:Une,bsemi:Wne,bsim:qne,bsime:Kne,bsolb:Gne,bsol:Yne,bsolhsub:Xne,bull:Qne,bullet:Zne,bump:Jne,bumpE:eoe,bumpe:toe,Bumpeq:noe,bumpeq:ooe,Cacute:roe,cacute:ioe,capand:aoe,capbrcup:soe,capcap:loe,cap:coe,Cap:uoe,capcup:doe,capdot:foe,CapitalDifferentialD:hoe,caps:poe,caret:moe,caron:goe,Cayleys:voe,ccaps:boe,Ccaron:yoe,ccaron:xoe,Ccedil:Coe,ccedil:woe,Ccirc:_oe,ccirc:Soe,Cconint:koe,ccups:Toe,ccupssm:Poe,Cdot:Roe,cdot:Eoe,cedil:$oe,Cedilla:Aoe,cemptyv:Ioe,cent:Moe,centerdot:zoe,CenterDot:Ooe,cfr:Doe,Cfr:Loe,CHcy:Foe,chcy:Noe,check:Boe,checkmark:Hoe,Chi:joe,chi:Voe,circ:Uoe,circeq:Woe,circlearrowleft:qoe,circlearrowright:Koe,circledast:Goe,circledcirc:Yoe,circleddash:Xoe,CircleDot:Qoe,circledR:Zoe,circledS:Joe,CircleMinus:ere,CirclePlus:tre,CircleTimes:nre,cir:ore,cirE:rre,cire:ire,cirfnint:are,cirmid:sre,cirscir:lre,ClockwiseContourIntegral:cre,CloseCurlyDoubleQuote:ure,CloseCurlyQuote:dre,clubs:fre,clubsuit:hre,colon:pre,Colon:mre,Colone:gre,colone:vre,coloneq:bre,comma:yre,commat:xre,comp:Cre,compfn:wre,complement:_re,complexes:Sre,cong:kre,congdot:Tre,Congruent:Pre,conint:Rre,Conint:Ere,ContourIntegral:$re,copf:Are,Copf:Ire,coprod:Mre,Coproduct:zre,copy:Ore,COPY:Dre,copysr:Lre,CounterClockwiseContourIntegral:Fre,crarr:Nre,cross:Bre,Cross:Hre,Cscr:jre,cscr:Vre,csub:Ure,csube:Wre,csup:qre,csupe:Kre,ctdot:Gre,cudarrl:Yre,cudarrr:Xre,cuepr:Qre,cuesc:Zre,cularr:Jre,cularrp:eie,cupbrcap:tie,cupcap:nie,CupCap:oie,cup:rie,Cup:iie,cupcup:aie,cupdot:sie,cupor:lie,cups:cie,curarr:uie,curarrm:die,curlyeqprec:fie,curlyeqsucc:hie,curlyvee:pie,curlywedge:mie,curren:gie,curvearrowleft:vie,curvearrowright:bie,cuvee:yie,cuwed:xie,cwconint:Cie,cwint:wie,cylcty:_ie,dagger:Sie,Dagger:kie,daleth:Tie,darr:Pie,Darr:Rie,dArr:Eie,dash:$ie,Dashv:Aie,dashv:Iie,dbkarow:Mie,dblac:zie,Dcaron:Oie,dcaron:Die,Dcy:Lie,dcy:Fie,ddagger:Nie,ddarr:Bie,DD:Hie,dd:jie,DDotrahd:Vie,ddotseq:Uie,deg:Wie,Del:qie,Delta:Kie,delta:Gie,demptyv:Yie,dfisht:Xie,Dfr:Qie,dfr:Zie,dHar:Jie,dharl:eae,dharr:tae,DiacriticalAcute:nae,DiacriticalDot:oae,DiacriticalDoubleAcute:rae,DiacriticalGrave:iae,DiacriticalTilde:aae,diam:sae,diamond:lae,Diamond:cae,diamondsuit:uae,diams:dae,die:fae,DifferentialD:hae,digamma:pae,disin:mae,div:gae,divide:vae,divideontimes:bae,divonx:yae,DJcy:xae,djcy:Cae,dlcorn:wae,dlcrop:_ae,dollar:Sae,Dopf:kae,dopf:Tae,Dot:Pae,dot:Rae,DotDot:Eae,doteq:$ae,doteqdot:Aae,DotEqual:Iae,dotminus:Mae,dotplus:zae,dotsquare:Oae,doublebarwedge:Dae,DoubleContourIntegral:Lae,DoubleDot:Fae,DoubleDownArrow:Nae,DoubleLeftArrow:Bae,DoubleLeftRightArrow:Hae,DoubleLeftTee:jae,DoubleLongLeftArrow:Vae,DoubleLongLeftRightArrow:Uae,DoubleLongRightArrow:Wae,DoubleRightArrow:qae,DoubleRightTee:Kae,DoubleUpArrow:Gae,DoubleUpDownArrow:Yae,DoubleVerticalBar:Xae,DownArrowBar:Qae,downarrow:Zae,DownArrow:Jae,Downarrow:ese,DownArrowUpArrow:tse,DownBreve:nse,downdownarrows:ose,downharpoonleft:rse,downharpoonright:ise,DownLeftRightVector:ase,DownLeftTeeVector:sse,DownLeftVectorBar:lse,DownLeftVector:cse,DownRightTeeVector:use,DownRightVectorBar:dse,DownRightVector:fse,DownTeeArrow:hse,DownTee:pse,drbkarow:mse,drcorn:gse,drcrop:vse,Dscr:bse,dscr:yse,DScy:xse,dscy:Cse,dsol:wse,Dstrok:_se,dstrok:Sse,dtdot:kse,dtri:Tse,dtrif:Pse,duarr:Rse,duhar:Ese,dwangle:$se,DZcy:Ase,dzcy:Ise,dzigrarr:Mse,Eacute:zse,eacute:Ose,easter:Dse,Ecaron:Lse,ecaron:Fse,Ecirc:Nse,ecirc:Bse,ecir:Hse,ecolon:jse,Ecy:Vse,ecy:Use,eDDot:Wse,Edot:qse,edot:Kse,eDot:Gse,ee:Yse,efDot:Xse,Efr:Qse,efr:Zse,eg:Jse,Egrave:ele,egrave:tle,egs:nle,egsdot:ole,el:rle,Element:ile,elinters:ale,ell:sle,els:lle,elsdot:cle,Emacr:ule,emacr:dle,empty:fle,emptyset:hle,EmptySmallSquare:ple,emptyv:mle,EmptyVerySmallSquare:gle,emsp13:vle,emsp14:ble,emsp:yle,ENG:xle,eng:Cle,ensp:wle,Eogon:_le,eogon:Sle,Eopf:kle,eopf:Tle,epar:Ple,eparsl:Rle,eplus:Ele,epsi:$le,Epsilon:Ale,epsilon:Ile,epsiv:Mle,eqcirc:zle,eqcolon:Ole,eqsim:Dle,eqslantgtr:Lle,eqslantless:Fle,Equal:Nle,equals:Ble,EqualTilde:Hle,equest:jle,Equilibrium:Vle,equiv:Ule,equivDD:Wle,eqvparsl:qle,erarr:Kle,erDot:Gle,escr:Yle,Escr:Xle,esdot:Qle,Esim:Zle,esim:Jle,Eta:ece,eta:tce,ETH:nce,eth:oce,Euml:rce,euml:ice,euro:ace,excl:sce,exist:lce,Exists:cce,expectation:uce,exponentiale:dce,ExponentialE:fce,fallingdotseq:hce,Fcy:pce,fcy:mce,female:gce,ffilig:vce,fflig:bce,ffllig:yce,Ffr:xce,ffr:Cce,filig:wce,FilledSmallSquare:_ce,FilledVerySmallSquare:Sce,fjlig:kce,flat:Tce,fllig:Pce,fltns:Rce,fnof:Ece,Fopf:$ce,fopf:Ace,forall:Ice,ForAll:Mce,fork:zce,forkv:Oce,Fouriertrf:Dce,fpartint:Lce,frac12:Fce,frac13:Nce,frac14:Bce,frac15:Hce,frac16:jce,frac18:Vce,frac23:Uce,frac25:Wce,frac34:qce,frac35:Kce,frac38:Gce,frac45:Yce,frac56:Xce,frac58:Qce,frac78:Zce,frasl:Jce,frown:eue,fscr:tue,Fscr:nue,gacute:oue,Gamma:rue,gamma:iue,Gammad:aue,gammad:sue,gap:lue,Gbreve:cue,gbreve:uue,Gcedil:due,Gcirc:fue,gcirc:hue,Gcy:pue,gcy:mue,Gdot:gue,gdot:vue,ge:bue,gE:yue,gEl:xue,gel:Cue,geq:wue,geqq:_ue,geqslant:Sue,gescc:kue,ges:Tue,gesdot:Pue,gesdoto:Rue,gesdotol:Eue,gesl:$ue,gesles:Aue,Gfr:Iue,gfr:Mue,gg:zue,Gg:Oue,ggg:Due,gimel:Lue,GJcy:Fue,gjcy:Nue,gla:Bue,gl:Hue,glE:jue,glj:Vue,gnap:Uue,gnapprox:Wue,gne:que,gnE:Kue,gneq:Gue,gneqq:Yue,gnsim:Xue,Gopf:Que,gopf:Zue,grave:Jue,GreaterEqual:ede,GreaterEqualLess:tde,GreaterFullEqual:nde,GreaterGreater:ode,GreaterLess:rde,GreaterSlantEqual:ide,GreaterTilde:ade,Gscr:sde,gscr:lde,gsim:cde,gsime:ude,gsiml:dde,gtcc:fde,gtcir:hde,gt:pde,GT:mde,Gt:gde,gtdot:vde,gtlPar:bde,gtquest:yde,gtrapprox:xde,gtrarr:Cde,gtrdot:wde,gtreqless:_de,gtreqqless:Sde,gtrless:kde,gtrsim:Tde,gvertneqq:Pde,gvnE:Rde,Hacek:Ede,hairsp:$de,half:Ade,hamilt:Ide,HARDcy:Mde,hardcy:zde,harrcir:Ode,harr:Dde,hArr:Lde,harrw:Fde,Hat:Nde,hbar:Bde,Hcirc:Hde,hcirc:jde,hearts:Vde,heartsuit:Ude,hellip:Wde,hercon:qde,hfr:Kde,Hfr:Gde,HilbertSpace:Yde,hksearow:Xde,hkswarow:Qde,hoarr:Zde,homtht:Jde,hookleftarrow:efe,hookrightarrow:tfe,hopf:nfe,Hopf:ofe,horbar:rfe,HorizontalLine:ife,hscr:afe,Hscr:sfe,hslash:lfe,Hstrok:cfe,hstrok:ufe,HumpDownHump:dfe,HumpEqual:ffe,hybull:hfe,hyphen:pfe,Iacute:mfe,iacute:gfe,ic:vfe,Icirc:bfe,icirc:yfe,Icy:xfe,icy:Cfe,Idot:wfe,IEcy:_fe,iecy:Sfe,iexcl:kfe,iff:Tfe,ifr:Pfe,Ifr:Rfe,Igrave:Efe,igrave:$fe,ii:Afe,iiiint:Ife,iiint:Mfe,iinfin:zfe,iiota:Ofe,IJlig:Dfe,ijlig:Lfe,Imacr:Ffe,imacr:Nfe,image:Bfe,ImaginaryI:Hfe,imagline:jfe,imagpart:Vfe,imath:Ufe,Im:Wfe,imof:qfe,imped:Kfe,Implies:Gfe,incare:Yfe,in:"∈",infin:Xfe,infintie:Qfe,inodot:Zfe,intcal:Jfe,int:ehe,Int:the,integers:nhe,Integral:ohe,intercal:rhe,Intersection:ihe,intlarhk:ahe,intprod:she,InvisibleComma:lhe,InvisibleTimes:che,IOcy:uhe,iocy:dhe,Iogon:fhe,iogon:hhe,Iopf:phe,iopf:mhe,Iota:ghe,iota:vhe,iprod:bhe,iquest:yhe,iscr:xhe,Iscr:Che,isin:whe,isindot:_he,isinE:She,isins:khe,isinsv:The,isinv:Phe,it:Rhe,Itilde:Ehe,itilde:$he,Iukcy:Ahe,iukcy:Ihe,Iuml:Mhe,iuml:zhe,Jcirc:Ohe,jcirc:Dhe,Jcy:Lhe,jcy:Fhe,Jfr:Nhe,jfr:Bhe,jmath:Hhe,Jopf:jhe,jopf:Vhe,Jscr:Uhe,jscr:Whe,Jsercy:qhe,jsercy:Khe,Jukcy:Ghe,jukcy:Yhe,Kappa:Xhe,kappa:Qhe,kappav:Zhe,Kcedil:Jhe,kcedil:epe,Kcy:tpe,kcy:npe,Kfr:ope,kfr:rpe,kgreen:ipe,KHcy:ape,khcy:spe,KJcy:lpe,kjcy:cpe,Kopf:upe,kopf:dpe,Kscr:fpe,kscr:hpe,lAarr:ppe,Lacute:mpe,lacute:gpe,laemptyv:vpe,lagran:bpe,Lambda:ype,lambda:xpe,lang:Cpe,Lang:wpe,langd:_pe,langle:Spe,lap:kpe,Laplacetrf:Tpe,laquo:Ppe,larrb:Rpe,larrbfs:Epe,larr:$pe,Larr:Ape,lArr:Ipe,larrfs:Mpe,larrhk:zpe,larrlp:Ope,larrpl:Dpe,larrsim:Lpe,larrtl:Fpe,latail:Npe,lAtail:Bpe,lat:Hpe,late:jpe,lates:Vpe,lbarr:Upe,lBarr:Wpe,lbbrk:qpe,lbrace:Kpe,lbrack:Gpe,lbrke:Ype,lbrksld:Xpe,lbrkslu:Qpe,Lcaron:Zpe,lcaron:Jpe,Lcedil:eme,lcedil:tme,lceil:nme,lcub:ome,Lcy:rme,lcy:ime,ldca:ame,ldquo:sme,ldquor:lme,ldrdhar:cme,ldrushar:ume,ldsh:dme,le:fme,lE:hme,LeftAngleBracket:pme,LeftArrowBar:mme,leftarrow:gme,LeftArrow:vme,Leftarrow:bme,LeftArrowRightArrow:yme,leftarrowtail:xme,LeftCeiling:Cme,LeftDoubleBracket:wme,LeftDownTeeVector:_me,LeftDownVectorBar:Sme,LeftDownVector:kme,LeftFloor:Tme,leftharpoondown:Pme,leftharpoonup:Rme,leftleftarrows:Eme,leftrightarrow:$me,LeftRightArrow:Ame,Leftrightarrow:Ime,leftrightarrows:Mme,leftrightharpoons:zme,leftrightsquigarrow:Ome,LeftRightVector:Dme,LeftTeeArrow:Lme,LeftTee:Fme,LeftTeeVector:Nme,leftthreetimes:Bme,LeftTriangleBar:Hme,LeftTriangle:jme,LeftTriangleEqual:Vme,LeftUpDownVector:Ume,LeftUpTeeVector:Wme,LeftUpVectorBar:qme,LeftUpVector:Kme,LeftVectorBar:Gme,LeftVector:Yme,lEg:Xme,leg:Qme,leq:Zme,leqq:Jme,leqslant:ege,lescc:tge,les:nge,lesdot:oge,lesdoto:rge,lesdotor:ige,lesg:age,lesges:sge,lessapprox:lge,lessdot:cge,lesseqgtr:uge,lesseqqgtr:dge,LessEqualGreater:fge,LessFullEqual:hge,LessGreater:pge,lessgtr:mge,LessLess:gge,lesssim:vge,LessSlantEqual:bge,LessTilde:yge,lfisht:xge,lfloor:Cge,Lfr:wge,lfr:_ge,lg:Sge,lgE:kge,lHar:Tge,lhard:Pge,lharu:Rge,lharul:Ege,lhblk:$ge,LJcy:Age,ljcy:Ige,llarr:Mge,ll:zge,Ll:Oge,llcorner:Dge,Lleftarrow:Lge,llhard:Fge,lltri:Nge,Lmidot:Bge,lmidot:Hge,lmoustache:jge,lmoust:Vge,lnap:Uge,lnapprox:Wge,lne:qge,lnE:Kge,lneq:Gge,lneqq:Yge,lnsim:Xge,loang:Qge,loarr:Zge,lobrk:Jge,longleftarrow:eve,LongLeftArrow:tve,Longleftarrow:nve,longleftrightarrow:ove,LongLeftRightArrow:rve,Longleftrightarrow:ive,longmapsto:ave,longrightarrow:sve,LongRightArrow:lve,Longrightarrow:cve,looparrowleft:uve,looparrowright:dve,lopar:fve,Lopf:hve,lopf:pve,loplus:mve,lotimes:gve,lowast:vve,lowbar:bve,LowerLeftArrow:yve,LowerRightArrow:xve,loz:Cve,lozenge:wve,lozf:_ve,lpar:Sve,lparlt:kve,lrarr:Tve,lrcorner:Pve,lrhar:Rve,lrhard:Eve,lrm:$ve,lrtri:Ave,lsaquo:Ive,lscr:Mve,Lscr:zve,lsh:Ove,Lsh:Dve,lsim:Lve,lsime:Fve,lsimg:Nve,lsqb:Bve,lsquo:Hve,lsquor:jve,Lstrok:Vve,lstrok:Uve,ltcc:Wve,ltcir:qve,lt:Kve,LT:Gve,Lt:Yve,ltdot:Xve,lthree:Qve,ltimes:Zve,ltlarr:Jve,ltquest:ebe,ltri:tbe,ltrie:nbe,ltrif:obe,ltrPar:rbe,lurdshar:ibe,luruhar:abe,lvertneqq:sbe,lvnE:lbe,macr:cbe,male:ube,malt:dbe,maltese:fbe,Map:"⤅",map:hbe,mapsto:pbe,mapstodown:mbe,mapstoleft:gbe,mapstoup:vbe,marker:bbe,mcomma:ybe,Mcy:xbe,mcy:Cbe,mdash:wbe,mDDot:_be,measuredangle:Sbe,MediumSpace:kbe,Mellintrf:Tbe,Mfr:Pbe,mfr:Rbe,mho:Ebe,micro:$be,midast:Abe,midcir:Ibe,mid:Mbe,middot:zbe,minusb:Obe,minus:Dbe,minusd:Lbe,minusdu:Fbe,MinusPlus:Nbe,mlcp:Bbe,mldr:Hbe,mnplus:jbe,models:Vbe,Mopf:Ube,mopf:Wbe,mp:qbe,mscr:Kbe,Mscr:Gbe,mstpos:Ybe,Mu:Xbe,mu:Qbe,multimap:Zbe,mumap:Jbe,nabla:e0e,Nacute:t0e,nacute:n0e,nang:o0e,nap:r0e,napE:i0e,napid:a0e,napos:s0e,napprox:l0e,natural:c0e,naturals:u0e,natur:d0e,nbsp:f0e,nbump:h0e,nbumpe:p0e,ncap:m0e,Ncaron:g0e,ncaron:v0e,Ncedil:b0e,ncedil:y0e,ncong:x0e,ncongdot:C0e,ncup:w0e,Ncy:_0e,ncy:S0e,ndash:k0e,nearhk:T0e,nearr:P0e,neArr:R0e,nearrow:E0e,ne:$0e,nedot:A0e,NegativeMediumSpace:I0e,NegativeThickSpace:M0e,NegativeThinSpace:z0e,NegativeVeryThinSpace:O0e,nequiv:D0e,nesear:L0e,nesim:F0e,NestedGreaterGreater:N0e,NestedLessLess:B0e,NewLine:H0e,nexist:j0e,nexists:V0e,Nfr:U0e,nfr:W0e,ngE:q0e,nge:K0e,ngeq:G0e,ngeqq:Y0e,ngeqslant:X0e,nges:Q0e,nGg:Z0e,ngsim:J0e,nGt:e1e,ngt:t1e,ngtr:n1e,nGtv:o1e,nharr:r1e,nhArr:i1e,nhpar:a1e,ni:s1e,nis:l1e,nisd:c1e,niv:u1e,NJcy:d1e,njcy:f1e,nlarr:h1e,nlArr:p1e,nldr:m1e,nlE:g1e,nle:v1e,nleftarrow:b1e,nLeftarrow:y1e,nleftrightarrow:x1e,nLeftrightarrow:C1e,nleq:w1e,nleqq:_1e,nleqslant:S1e,nles:k1e,nless:T1e,nLl:P1e,nlsim:R1e,nLt:E1e,nlt:$1e,nltri:A1e,nltrie:I1e,nLtv:M1e,nmid:z1e,NoBreak:O1e,NonBreakingSpace:D1e,nopf:L1e,Nopf:F1e,Not:N1e,not:B1e,NotCongruent:H1e,NotCupCap:j1e,NotDoubleVerticalBar:V1e,NotElement:U1e,NotEqual:W1e,NotEqualTilde:q1e,NotExists:K1e,NotGreater:G1e,NotGreaterEqual:Y1e,NotGreaterFullEqual:X1e,NotGreaterGreater:Q1e,NotGreaterLess:Z1e,NotGreaterSlantEqual:J1e,NotGreaterTilde:eye,NotHumpDownHump:tye,NotHumpEqual:nye,notin:oye,notindot:rye,notinE:iye,notinva:aye,notinvb:sye,notinvc:lye,NotLeftTriangleBar:cye,NotLeftTriangle:uye,NotLeftTriangleEqual:dye,NotLess:fye,NotLessEqual:hye,NotLessGreater:pye,NotLessLess:mye,NotLessSlantEqual:gye,NotLessTilde:vye,NotNestedGreaterGreater:bye,NotNestedLessLess:yye,notni:xye,notniva:Cye,notnivb:wye,notnivc:_ye,NotPrecedes:Sye,NotPrecedesEqual:kye,NotPrecedesSlantEqual:Tye,NotReverseElement:Pye,NotRightTriangleBar:Rye,NotRightTriangle:Eye,NotRightTriangleEqual:$ye,NotSquareSubset:Aye,NotSquareSubsetEqual:Iye,NotSquareSuperset:Mye,NotSquareSupersetEqual:zye,NotSubset:Oye,NotSubsetEqual:Dye,NotSucceeds:Lye,NotSucceedsEqual:Fye,NotSucceedsSlantEqual:Nye,NotSucceedsTilde:Bye,NotSuperset:Hye,NotSupersetEqual:jye,NotTilde:Vye,NotTildeEqual:Uye,NotTildeFullEqual:Wye,NotTildeTilde:qye,NotVerticalBar:Kye,nparallel:Gye,npar:Yye,nparsl:Xye,npart:Qye,npolint:Zye,npr:Jye,nprcue:exe,nprec:txe,npreceq:nxe,npre:oxe,nrarrc:rxe,nrarr:ixe,nrArr:axe,nrarrw:sxe,nrightarrow:lxe,nRightarrow:cxe,nrtri:uxe,nrtrie:dxe,nsc:fxe,nsccue:hxe,nsce:pxe,Nscr:mxe,nscr:gxe,nshortmid:vxe,nshortparallel:bxe,nsim:yxe,nsime:xxe,nsimeq:Cxe,nsmid:wxe,nspar:_xe,nsqsube:Sxe,nsqsupe:kxe,nsub:Txe,nsubE:Pxe,nsube:Rxe,nsubset:Exe,nsubseteq:$xe,nsubseteqq:Axe,nsucc:Ixe,nsucceq:Mxe,nsup:zxe,nsupE:Oxe,nsupe:Dxe,nsupset:Lxe,nsupseteq:Fxe,nsupseteqq:Nxe,ntgl:Bxe,Ntilde:Hxe,ntilde:jxe,ntlg:Vxe,ntriangleleft:Uxe,ntrianglelefteq:Wxe,ntriangleright:qxe,ntrianglerighteq:Kxe,Nu:Gxe,nu:Yxe,num:Xxe,numero:Qxe,numsp:Zxe,nvap:Jxe,nvdash:eCe,nvDash:tCe,nVdash:nCe,nVDash:oCe,nvge:rCe,nvgt:iCe,nvHarr:aCe,nvinfin:sCe,nvlArr:lCe,nvle:cCe,nvlt:uCe,nvltrie:dCe,nvrArr:fCe,nvrtrie:hCe,nvsim:pCe,nwarhk:mCe,nwarr:gCe,nwArr:vCe,nwarrow:bCe,nwnear:yCe,Oacute:xCe,oacute:CCe,oast:wCe,Ocirc:_Ce,ocirc:SCe,ocir:kCe,Ocy:TCe,ocy:PCe,odash:RCe,Odblac:ECe,odblac:$Ce,odiv:ACe,odot:ICe,odsold:MCe,OElig:zCe,oelig:OCe,ofcir:DCe,Ofr:LCe,ofr:FCe,ogon:NCe,Ograve:BCe,ograve:HCe,ogt:jCe,ohbar:VCe,ohm:UCe,oint:WCe,olarr:qCe,olcir:KCe,olcross:GCe,oline:YCe,olt:XCe,Omacr:QCe,omacr:ZCe,Omega:JCe,omega:ewe,Omicron:twe,omicron:nwe,omid:owe,ominus:rwe,Oopf:iwe,oopf:awe,opar:swe,OpenCurlyDoubleQuote:lwe,OpenCurlyQuote:cwe,operp:uwe,oplus:dwe,orarr:fwe,Or:hwe,or:pwe,ord:mwe,order:gwe,orderof:vwe,ordf:bwe,ordm:ywe,origof:xwe,oror:Cwe,orslope:wwe,orv:_we,oS:Swe,Oscr:kwe,oscr:Twe,Oslash:Pwe,oslash:Rwe,osol:Ewe,Otilde:$we,otilde:Awe,otimesas:Iwe,Otimes:Mwe,otimes:zwe,Ouml:Owe,ouml:Dwe,ovbar:Lwe,OverBar:Fwe,OverBrace:Nwe,OverBracket:Bwe,OverParenthesis:Hwe,para:jwe,parallel:Vwe,par:Uwe,parsim:Wwe,parsl:qwe,part:Kwe,PartialD:Gwe,Pcy:Ywe,pcy:Xwe,percnt:Qwe,period:Zwe,permil:Jwe,perp:e_e,pertenk:t_e,Pfr:n_e,pfr:o_e,Phi:r_e,phi:i_e,phiv:a_e,phmmat:s_e,phone:l_e,Pi:c_e,pi:u_e,pitchfork:d_e,piv:f_e,planck:h_e,planckh:p_e,plankv:m_e,plusacir:g_e,plusb:v_e,pluscir:b_e,plus:y_e,plusdo:x_e,plusdu:C_e,pluse:w_e,PlusMinus:__e,plusmn:S_e,plussim:k_e,plustwo:T_e,pm:P_e,Poincareplane:R_e,pointint:E_e,popf:$_e,Popf:A_e,pound:I_e,prap:M_e,Pr:z_e,pr:O_e,prcue:D_e,precapprox:L_e,prec:F_e,preccurlyeq:N_e,Precedes:B_e,PrecedesEqual:H_e,PrecedesSlantEqual:j_e,PrecedesTilde:V_e,preceq:U_e,precnapprox:W_e,precneqq:q_e,precnsim:K_e,pre:G_e,prE:Y_e,precsim:X_e,prime:Q_e,Prime:Z_e,primes:J_e,prnap:e2e,prnE:t2e,prnsim:n2e,prod:o2e,Product:r2e,profalar:i2e,profline:a2e,profsurf:s2e,prop:l2e,Proportional:c2e,Proportion:u2e,propto:d2e,prsim:f2e,prurel:h2e,Pscr:p2e,pscr:m2e,Psi:g2e,psi:v2e,puncsp:b2e,Qfr:y2e,qfr:x2e,qint:C2e,qopf:w2e,Qopf:_2e,qprime:S2e,Qscr:k2e,qscr:T2e,quaternions:P2e,quatint:R2e,quest:E2e,questeq:$2e,quot:A2e,QUOT:I2e,rAarr:M2e,race:z2e,Racute:O2e,racute:D2e,radic:L2e,raemptyv:F2e,rang:N2e,Rang:B2e,rangd:H2e,range:j2e,rangle:V2e,raquo:U2e,rarrap:W2e,rarrb:q2e,rarrbfs:K2e,rarrc:G2e,rarr:Y2e,Rarr:X2e,rArr:Q2e,rarrfs:Z2e,rarrhk:J2e,rarrlp:eSe,rarrpl:tSe,rarrsim:nSe,Rarrtl:oSe,rarrtl:rSe,rarrw:iSe,ratail:aSe,rAtail:sSe,ratio:lSe,rationals:cSe,rbarr:uSe,rBarr:dSe,RBarr:fSe,rbbrk:hSe,rbrace:pSe,rbrack:mSe,rbrke:gSe,rbrksld:vSe,rbrkslu:bSe,Rcaron:ySe,rcaron:xSe,Rcedil:CSe,rcedil:wSe,rceil:_Se,rcub:SSe,Rcy:kSe,rcy:TSe,rdca:PSe,rdldhar:RSe,rdquo:ESe,rdquor:$Se,rdsh:ASe,real:ISe,realine:MSe,realpart:zSe,reals:OSe,Re:DSe,rect:LSe,reg:FSe,REG:NSe,ReverseElement:BSe,ReverseEquilibrium:HSe,ReverseUpEquilibrium:jSe,rfisht:VSe,rfloor:USe,rfr:WSe,Rfr:qSe,rHar:KSe,rhard:GSe,rharu:YSe,rharul:XSe,Rho:QSe,rho:ZSe,rhov:JSe,RightAngleBracket:eke,RightArrowBar:tke,rightarrow:nke,RightArrow:oke,Rightarrow:rke,RightArrowLeftArrow:ike,rightarrowtail:ake,RightCeiling:ske,RightDoubleBracket:lke,RightDownTeeVector:cke,RightDownVectorBar:uke,RightDownVector:dke,RightFloor:fke,rightharpoondown:hke,rightharpoonup:pke,rightleftarrows:mke,rightleftharpoons:gke,rightrightarrows:vke,rightsquigarrow:bke,RightTeeArrow:yke,RightTee:xke,RightTeeVector:Cke,rightthreetimes:wke,RightTriangleBar:_ke,RightTriangle:Ske,RightTriangleEqual:kke,RightUpDownVector:Tke,RightUpTeeVector:Pke,RightUpVectorBar:Rke,RightUpVector:Eke,RightVectorBar:$ke,RightVector:Ake,ring:Ike,risingdotseq:Mke,rlarr:zke,rlhar:Oke,rlm:Dke,rmoustache:Lke,rmoust:Fke,rnmid:Nke,roang:Bke,roarr:Hke,robrk:jke,ropar:Vke,ropf:Uke,Ropf:Wke,roplus:qke,rotimes:Kke,RoundImplies:Gke,rpar:Yke,rpargt:Xke,rppolint:Qke,rrarr:Zke,Rrightarrow:Jke,rsaquo:e3e,rscr:t3e,Rscr:n3e,rsh:o3e,Rsh:r3e,rsqb:i3e,rsquo:a3e,rsquor:s3e,rthree:l3e,rtimes:c3e,rtri:u3e,rtrie:d3e,rtrif:f3e,rtriltri:h3e,RuleDelayed:p3e,ruluhar:m3e,rx:g3e,Sacute:v3e,sacute:b3e,sbquo:y3e,scap:x3e,Scaron:C3e,scaron:w3e,Sc:_3e,sc:S3e,sccue:k3e,sce:T3e,scE:P3e,Scedil:R3e,scedil:E3e,Scirc:$3e,scirc:A3e,scnap:I3e,scnE:M3e,scnsim:z3e,scpolint:O3e,scsim:D3e,Scy:L3e,scy:F3e,sdotb:N3e,sdot:B3e,sdote:H3e,searhk:j3e,searr:V3e,seArr:U3e,searrow:W3e,sect:q3e,semi:K3e,seswar:G3e,setminus:Y3e,setmn:X3e,sext:Q3e,Sfr:Z3e,sfr:J3e,sfrown:e4e,sharp:t4e,SHCHcy:n4e,shchcy:o4e,SHcy:r4e,shcy:i4e,ShortDownArrow:a4e,ShortLeftArrow:s4e,shortmid:l4e,shortparallel:c4e,ShortRightArrow:u4e,ShortUpArrow:d4e,shy:f4e,Sigma:h4e,sigma:p4e,sigmaf:m4e,sigmav:g4e,sim:v4e,simdot:b4e,sime:y4e,simeq:x4e,simg:C4e,simgE:w4e,siml:_4e,simlE:S4e,simne:k4e,simplus:T4e,simrarr:P4e,slarr:R4e,SmallCircle:E4e,smallsetminus:$4e,smashp:A4e,smeparsl:I4e,smid:M4e,smile:z4e,smt:O4e,smte:D4e,smtes:L4e,SOFTcy:F4e,softcy:N4e,solbar:B4e,solb:H4e,sol:j4e,Sopf:V4e,sopf:U4e,spades:W4e,spadesuit:q4e,spar:K4e,sqcap:G4e,sqcaps:Y4e,sqcup:X4e,sqcups:Q4e,Sqrt:Z4e,sqsub:J4e,sqsube:e5e,sqsubset:t5e,sqsubseteq:n5e,sqsup:o5e,sqsupe:r5e,sqsupset:i5e,sqsupseteq:a5e,square:s5e,Square:l5e,SquareIntersection:c5e,SquareSubset:u5e,SquareSubsetEqual:d5e,SquareSuperset:f5e,SquareSupersetEqual:h5e,SquareUnion:p5e,squarf:m5e,squ:g5e,squf:v5e,srarr:b5e,Sscr:y5e,sscr:x5e,ssetmn:C5e,ssmile:w5e,sstarf:_5e,Star:S5e,star:k5e,starf:T5e,straightepsilon:P5e,straightphi:R5e,strns:E5e,sub:$5e,Sub:A5e,subdot:I5e,subE:M5e,sube:z5e,subedot:O5e,submult:D5e,subnE:L5e,subne:F5e,subplus:N5e,subrarr:B5e,subset:H5e,Subset:j5e,subseteq:V5e,subseteqq:U5e,SubsetEqual:W5e,subsetneq:q5e,subsetneqq:K5e,subsim:G5e,subsub:Y5e,subsup:X5e,succapprox:Q5e,succ:Z5e,succcurlyeq:J5e,Succeeds:eTe,SucceedsEqual:tTe,SucceedsSlantEqual:nTe,SucceedsTilde:oTe,succeq:rTe,succnapprox:iTe,succneqq:aTe,succnsim:sTe,succsim:lTe,SuchThat:cTe,sum:uTe,Sum:dTe,sung:fTe,sup1:hTe,sup2:pTe,sup3:mTe,sup:gTe,Sup:vTe,supdot:bTe,supdsub:yTe,supE:xTe,supe:CTe,supedot:wTe,Superset:_Te,SupersetEqual:STe,suphsol:kTe,suphsub:TTe,suplarr:PTe,supmult:RTe,supnE:ETe,supne:$Te,supplus:ATe,supset:ITe,Supset:MTe,supseteq:zTe,supseteqq:OTe,supsetneq:DTe,supsetneqq:LTe,supsim:FTe,supsub:NTe,supsup:BTe,swarhk:HTe,swarr:jTe,swArr:VTe,swarrow:UTe,swnwar:WTe,szlig:qTe,Tab:KTe,target:GTe,Tau:YTe,tau:XTe,tbrk:QTe,Tcaron:ZTe,tcaron:JTe,Tcedil:ePe,tcedil:tPe,Tcy:nPe,tcy:oPe,tdot:rPe,telrec:iPe,Tfr:aPe,tfr:sPe,there4:lPe,therefore:cPe,Therefore:uPe,Theta:dPe,theta:fPe,thetasym:hPe,thetav:pPe,thickapprox:mPe,thicksim:gPe,ThickSpace:vPe,ThinSpace:bPe,thinsp:yPe,thkap:xPe,thksim:CPe,THORN:wPe,thorn:_Pe,tilde:SPe,Tilde:kPe,TildeEqual:TPe,TildeFullEqual:PPe,TildeTilde:RPe,timesbar:EPe,timesb:$Pe,times:APe,timesd:IPe,tint:MPe,toea:zPe,topbot:OPe,topcir:DPe,top:LPe,Topf:FPe,topf:NPe,topfork:BPe,tosa:HPe,tprime:jPe,trade:VPe,TRADE:UPe,triangle:WPe,triangledown:qPe,triangleleft:KPe,trianglelefteq:GPe,triangleq:YPe,triangleright:XPe,trianglerighteq:QPe,tridot:ZPe,trie:JPe,triminus:eRe,TripleDot:tRe,triplus:nRe,trisb:oRe,tritime:rRe,trpezium:iRe,Tscr:aRe,tscr:sRe,TScy:lRe,tscy:cRe,TSHcy:uRe,tshcy:dRe,Tstrok:fRe,tstrok:hRe,twixt:pRe,twoheadleftarrow:mRe,twoheadrightarrow:gRe,Uacute:vRe,uacute:bRe,uarr:yRe,Uarr:xRe,uArr:CRe,Uarrocir:wRe,Ubrcy:_Re,ubrcy:SRe,Ubreve:kRe,ubreve:TRe,Ucirc:PRe,ucirc:RRe,Ucy:ERe,ucy:$Re,udarr:ARe,Udblac:IRe,udblac:MRe,udhar:zRe,ufisht:ORe,Ufr:DRe,ufr:LRe,Ugrave:FRe,ugrave:NRe,uHar:BRe,uharl:HRe,uharr:jRe,uhblk:VRe,ulcorn:URe,ulcorner:WRe,ulcrop:qRe,ultri:KRe,Umacr:GRe,umacr:YRe,uml:XRe,UnderBar:QRe,UnderBrace:ZRe,UnderBracket:JRe,UnderParenthesis:eEe,Union:tEe,UnionPlus:nEe,Uogon:oEe,uogon:rEe,Uopf:iEe,uopf:aEe,UpArrowBar:sEe,uparrow:lEe,UpArrow:cEe,Uparrow:uEe,UpArrowDownArrow:dEe,updownarrow:fEe,UpDownArrow:hEe,Updownarrow:pEe,UpEquilibrium:mEe,upharpoonleft:gEe,upharpoonright:vEe,uplus:bEe,UpperLeftArrow:yEe,UpperRightArrow:xEe,upsi:CEe,Upsi:wEe,upsih:_Ee,Upsilon:SEe,upsilon:kEe,UpTeeArrow:TEe,UpTee:PEe,upuparrows:REe,urcorn:EEe,urcorner:$Ee,urcrop:AEe,Uring:IEe,uring:MEe,urtri:zEe,Uscr:OEe,uscr:DEe,utdot:LEe,Utilde:FEe,utilde:NEe,utri:BEe,utrif:HEe,uuarr:jEe,Uuml:VEe,uuml:UEe,uwangle:WEe,vangrt:qEe,varepsilon:KEe,varkappa:GEe,varnothing:YEe,varphi:XEe,varpi:QEe,varpropto:ZEe,varr:JEe,vArr:e$e,varrho:t$e,varsigma:n$e,varsubsetneq:o$e,varsubsetneqq:r$e,varsupsetneq:i$e,varsupsetneqq:a$e,vartheta:s$e,vartriangleleft:l$e,vartriangleright:c$e,vBar:u$e,Vbar:d$e,vBarv:f$e,Vcy:h$e,vcy:p$e,vdash:m$e,vDash:g$e,Vdash:v$e,VDash:b$e,Vdashl:y$e,veebar:x$e,vee:C$e,Vee:w$e,veeeq:_$e,vellip:S$e,verbar:k$e,Verbar:T$e,vert:P$e,Vert:R$e,VerticalBar:E$e,VerticalLine:$$e,VerticalSeparator:A$e,VerticalTilde:I$e,VeryThinSpace:M$e,Vfr:z$e,vfr:O$e,vltri:D$e,vnsub:L$e,vnsup:F$e,Vopf:N$e,vopf:B$e,vprop:H$e,vrtri:j$e,Vscr:V$e,vscr:U$e,vsubnE:W$e,vsubne:q$e,vsupnE:K$e,vsupne:G$e,Vvdash:Y$e,vzigzag:X$e,Wcirc:Q$e,wcirc:Z$e,wedbar:J$e,wedge:eAe,Wedge:tAe,wedgeq:nAe,weierp:oAe,Wfr:rAe,wfr:iAe,Wopf:aAe,wopf:sAe,wp:lAe,wr:cAe,wreath:uAe,Wscr:dAe,wscr:fAe,xcap:hAe,xcirc:pAe,xcup:mAe,xdtri:gAe,Xfr:vAe,xfr:bAe,xharr:yAe,xhArr:xAe,Xi:CAe,xi:wAe,xlarr:_Ae,xlArr:SAe,xmap:kAe,xnis:TAe,xodot:PAe,Xopf:RAe,xopf:EAe,xoplus:$Ae,xotime:AAe,xrarr:IAe,xrArr:MAe,Xscr:zAe,xscr:OAe,xsqcup:DAe,xuplus:LAe,xutri:FAe,xvee:NAe,xwedge:BAe,Yacute:HAe,yacute:jAe,YAcy:VAe,yacy:UAe,Ycirc:WAe,ycirc:qAe,Ycy:KAe,ycy:GAe,yen:YAe,Yfr:XAe,yfr:QAe,YIcy:ZAe,yicy:JAe,Yopf:e6e,yopf:t6e,Yscr:n6e,yscr:o6e,YUcy:r6e,yucy:i6e,yuml:a6e,Yuml:s6e,Zacute:l6e,zacute:c6e,Zcaron:u6e,zcaron:d6e,Zcy:f6e,zcy:h6e,Zdot:p6e,zdot:m6e,zeetrf:g6e,ZeroWidthSpace:v6e,Zeta:b6e,zeta:y6e,zfr:x6e,Zfr:C6e,ZHcy:w6e,zhcy:_6e,zigrarr:S6e,zopf:k6e,Zopf:T6e,Zscr:P6e,zscr:R6e,zwj:E6e,zwnj:$6e};var CS=A6e,xm=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Ba={},Y0={};function I6e(e){var t,n,o=Y0[e];if(o)return o;for(o=Y0[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=I6e(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}Ou.defaultChars=";/?:@&=+$,-_.!~*'()#";Ou.componentChars="-_.!~*'()";var M6e=Ou,X0={};function z6e(e){var t,n,o=X0[e];if(o)return o;for(o=X0[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})}Du.defaultChars=";/?:@&=+$,#";Du.componentChars="";var O6e=Du,D6e=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 $c(){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 L6e=/^([a-z0-9.+-]+:)/i,F6e=/:[0-9]*$/,N6e=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,B6e=["<",">",'"',"`"," ","\r",` -`," "],H6e=["{","}","|","\\","^","`"].concat(B6e),j6e=["'"].concat(H6e),Q0=["%","/","?",";","#"].concat(j6e),Z0=["/","?","#"],V6e=255,J0=/^[+a-z0-9A-Z_-]{0,63}$/,U6e=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,e1={javascript:!0,"javascript:":!0},t1={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function W6e(e,t){if(e&&e instanceof $c)return e;var n=new $c;return n.parse(e,t),n}$c.prototype.parse=function(e,t){var n,o,r,i,a,s=e;if(s=s.trim(),!t&&e.split("#").length===1){var l=N6e.exec(s);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=L6e.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&&e1[c])&&(s=s.substr(2),this.slashes=!0)),!e1[c]&&(a||c&&!t1[c])){var u=-1;for(n=0;n127?g+="x":g+=v[y];if(!g.match(J0)){var C=m.slice(0,n),_=m.slice(n+1),x=v.match(U6e);x&&(C.push(x[1]),_.unshift(x[2])),_.length&&(s=_.join(".")+s),this.hostname=C.join(".");break}}}}this.hostname.length>V6e&&(this.hostname=""),h&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var w=s.indexOf("#");w!==-1&&(this.hash=s.substr(w),s=s.slice(0,w));var T=s.indexOf("?");return T!==-1&&(this.search=s.substr(T),s=s.slice(0,T)),s&&(this.pathname=s),t1[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this};$c.prototype.parseHost=function(e){var t=F6e.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 q6e=W6e;Ba.encode=M6e;Ba.decode=O6e;Ba.format=D6e;Ba.parse=q6e;var Gr={},Vd,n1;function wS(){return n1||(n1=1,Vd=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Vd}var Ud,o1;function _S(){return o1||(o1=1,Ud=/[\0-\x1F\x7F-\x9F]/),Ud}var Wd,r1;function K6e(){return r1||(r1=1,Wd=/[\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]/),Wd}var qd,i1;function SS(){return i1||(i1=1,qd=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),qd}var a1;function G6e(){return a1||(a1=1,Gr.Any=wS(),Gr.Cc=_S(),Gr.Cf=K6e(),Gr.P=xm,Gr.Z=SS()),Gr}(function(e){function t(F){return Object.prototype.toString.call(F)}function n(F){return t(F)==="[object String]"}var o=Object.prototype.hasOwnProperty;function r(F,O){return o.call(F,O)}function i(F){var O=Array.prototype.slice.call(arguments,1);return O.forEach(function($){if($){if(typeof $!="object")throw new TypeError($+"must be object");Object.keys($).forEach(function(W){F[W]=$[W]})}}),F}function a(F,O,$){return[].concat(F.slice(0,O),$,F.slice(O+1))}function s(F){return!(F>=55296&&F<=57343||F>=64976&&F<=65007||(F&65535)===65535||(F&65535)===65534||F>=0&&F<=8||F===11||F>=14&&F<=31||F>=127&&F<=159||F>1114111)}function l(F){if(F>65535){F-=65536;var O=55296+(F>>10),$=56320+(F&1023);return String.fromCharCode(O,$)}return String.fromCharCode(F)}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=CS;function h(F,O){var $;return r(p,O)?p[O]:O.charCodeAt(0)===35&&f.test(O)&&($=O[1].toLowerCase()==="x"?parseInt(O.slice(2),16):parseInt(O.slice(1),10),s($))?l($):F}function m(F){return F.indexOf("\\")<0?F:F.replace(c,"$1")}function v(F){return F.indexOf("\\")<0&&F.indexOf("&")<0?F:F.replace(d,function(O,$,W){return $||h(O,W)})}var g=/[&<>"]/,y=/[&<>"]/g,S={"&":"&","<":"<",">":">",'"':"""};function C(F){return S[F]}function _(F){return g.test(F)?F.replace(y,C):F}var x=/[.?*+^$[\]\\(){}|-]/g;function w(F){return F.replace(x,"\\$&")}function T(F){switch(F){case 9:case 32:return!0}return!1}function P(F){if(F>=8192&&F<=8202)return!0;switch(F){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 k=xm;function I(F){return k.test(F)}function A(F){switch(F){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 q(F){return F=F.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(F=F.replace(/ẞ/g,"ß")),F.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=Ba,e.lib.ucmicro=G6e(),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=T,e.isWhiteSpace=P,e.isMdAsciiPunct=A,e.isPunctChar=I,e.escapeRE=w,e.normalizeReference=q})(Dt);var Lu={},Y6e=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=s1(t.slice(n,a)),s.pos=a,s.ok=!0),s},Q6e=Dt.unescapeAll,Z6e=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"+yi(i.content)+""};Vo.code_block=function(e,t,n,o,r){var i=e[t];return""+yi(e[t].content)+` -`};Vo.fence=function(e,t,n,o,r){var i=e[t],a=i.info?e8e(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)||yi(i.content):c=yi(i.content),c.indexOf("a.MAX_VERSION)throw new RangeError("Version value out of range");if(u<-1||u>7)throw new RangeError("Mask value out of range");this.size=s*4+17;for(var d=[],f=0;f7)throw new RangeError("Invalid value");var p,h;for(p=c;;p++){var m=a.getNumDataCodewords(p,l)*8,v=i.getTotalBits(s,p);if(v<=m){h=v;break}if(p>=u)throw new RangeError("Data too long")}for(var g=0,y=[a.Ecc.MEDIUM,a.Ecc.QUARTILE,a.Ecc.HIGH];g>>3]|=B<<7-(z&7)}),new a(p,l,W,d)},a.prototype.getModule=function(s,l){return 0<=s&&s>>9)*1335;var d=(l<<10|c)^21522;r(d>>>15==0);for(var u=0;u<=5;u++)this.setFunctionModule(8,u,o(d,u));this.setFunctionModule(8,7,o(d,6)),this.setFunctionModule(8,8,o(d,7)),this.setFunctionModule(7,8,o(d,8));for(var u=9;u<15;u++)this.setFunctionModule(14-u,8,o(d,u));for(var u=0;u<8;u++)this.setFunctionModule(this.size-1-u,8,o(d,u));for(var u=8;u<15;u++)this.setFunctionModule(8,this.size-15+u,o(d,u));this.setFunctionModule(8,this.size-8,!0)},a.prototype.drawVersion=function(){if(!(this.version<7)){for(var s=this.version,l=0;l<12;l++)s=s<<1^(s>>>11)*7973;var c=this.version<<12|s;r(c>>>18==0);for(var l=0;l<18;l++){var u=o(c,l),d=this.size-11+l%3,f=Math.floor(l/3);this.setFunctionModule(d,f,u),this.setFunctionModule(f,d,u)}}},a.prototype.drawFinderPattern=function(s,l){for(var c=-4;c<=4;c++)for(var u=-4;u<=4;u++){var d=Math.max(Math.abs(u),Math.abs(c)),f=s+u,p=l+c;0<=f&&f=p)&&_.push(T[w])})},g=0;g=1;c-=2){c==6&&(c=5);for(var u=0;u>>3],7-(l&7)),l++)}}r(l==s.length*8)},a.prototype.applyMask=function(s){if(s<0||s>7)throw new RangeError("Mask value out of range");for(var l=0;l5&&s++):(this.finderPenaltyAddHistory(u,d),c||(s+=this.finderPenaltyCountPatterns(d)*a.PENALTY_N3),c=this.modules[l][f],u=1);s+=this.finderPenaltyTerminateAndCount(c,u,d)*a.PENALTY_N3}for(var f=0;f5&&s++):(this.finderPenaltyAddHistory(p,d),c||(s+=this.finderPenaltyCountPatterns(d)*a.PENALTY_N3),c=this.modules[l][f],p=1);s+=this.finderPenaltyTerminateAndCount(c,p,d)*a.PENALTY_N3}for(var l=0;la.MAX_VERSION)throw new RangeError("Version number out of range");var l=(16*s+128)*s+64;if(s>=2){var c=Math.floor(s/7)+2;l-=(25*c-10)*c-55,s>=7&&(l-=36)}return r(208<=l&&l<=29648),l},a.getNumDataCodewords=function(s,l){return Math.floor(a.getNumRawDataModules(s)/8)-a.ECC_CODEWORDS_PER_BLOCK[l.ordinal][s]*a.NUM_ERROR_CORRECTION_BLOCKS[l.ordinal][s]},a.reedSolomonComputeDivisor=function(s){if(s<1||s>255)throw new RangeError("Degree out of range");for(var l=[],c=0;c>>8||l>>>8)throw new RangeError("Byte out of range");for(var c=0,u=7;u>=0;u--)c=c<<1^(c>>>7)*285,c^=(l>>>u&1)*s;return r(c>>>8==0),c},a.prototype.finderPenaltyCountPatterns=function(s){var l=s[1];r(l<=this.size*3);var c=l>0&&s[2]==l&&s[3]==l*3&&s[4]==l&&s[5]==l;return(c&&s[0]>=l*4&&s[6]>=l?1:0)+(c&&s[6]>=l*4&&s[0]>=l?1:0)},a.prototype.finderPenaltyTerminateAndCount=function(s,l,c){return s&&(this.finderPenaltyAddHistory(l,c),l=0),l+=this.size,this.finderPenaltyAddHistory(l,c),this.finderPenaltyCountPatterns(c)},a.prototype.finderPenaltyAddHistory=function(s,l){l[0]==0&&(s+=this.size),l.pop(),l.unshift(s)},a.MIN_VERSION=1,a.MAX_VERSION=40,a.PENALTY_N1=3,a.PENALTY_N2=3,a.PENALTY_N3=40,a.PENALTY_N4=10,a.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]],a.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]],a}();e.QrCode=t;function n(a,s,l){if(s<0||s>31||a>>>s)throw new RangeError("Value out of range");for(var c=s-1;c>=0;c--)l.push(a>>>c&1)}function o(a,s){return(a>>>s&1)!=0}function r(a){if(!a)throw new Error("Assertion error")}var i=function(){function a(s,l,c){if(this.mode=s,this.numChars=l,this.bitData=c,l<0)throw new RangeError("Invalid argument");this.bitData=c.slice()}return a.makeBytes=function(s){for(var l=[],c=0,u=s;c=1<-1}}}),fJ=pe({name:"QRCodeSvg",props:ym,setup:function(e){var t=N(0),n=N(""),o=function(){var r=e.value,i=e.level,a=e.margin,s=Ji.QrCode.encodeText(r,bm[i]).getModules();t.value=s.length+a*2,n.value=CS(s,a)};return o(),Ws(o),function(){return b("svg",{width:e.size,height:e.size,"shape-rendering":"crispEdges",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(t.value," ").concat(t.value)},[b("path",{fill:e.background,d:"M0,0 h".concat(t.value,"v").concat(t.value,"H0z")}),b("path",{fill:e.foreground,d:n.value})])}}}),hJ=pe({name:"QRCodeCanvas",props:ym,setup:function(e){var t=N(null),n=function(){var o=e.value,r=e.level,i=e.size,a=e.margin,s=e.background,l=e.foreground,c=t.value;if(c){var u=c.getContext("2d");if(u){var d=Ji.QrCode.encodeText(o,bm[r]).getModules(),f=d.length+a*2,p=window.devicePixelRatio||1,h=i/f*p;c.height=c.width=i*p,u.scale(h,h),u.fillStyle=s,u.fillRect(0,0,f,f),u.fillStyle=l,uJ?u.fill(new Path2D(CS(d,a))):d.forEach(function(m,v){m.forEach(function(g,y){g&&u.fillRect(y+a,v+a,1,1)})})}}};return Vt(n),Ws(n),function(){return b("canvas",{ref:t,style:{width:"".concat(e.size,"px"),height:"".concat(e.size,"px")}})}}}),pJ=pe({name:"Qrcode",render:function(){var e=this.$props,t=e.renderAs,n=e.value,o=e.size,r=e.margin,i=e.level,a=e.background,s=e.foreground,l=o>>>0,c=r>>>0,u=xS(i)?i:yS;return b(t==="svg"?fJ:hJ,{value:n,size:l,margin:c,level:u,background:a,foreground:s})},props:dJ}),Dt={};const mJ="Á",gJ="á",vJ="Ă",bJ="ă",yJ="∾",xJ="∿",CJ="∾̳",wJ="Â",_J="â",SJ="´",kJ="А",TJ="а",PJ="Æ",RJ="æ",EJ="⁡",$J="𝔄",AJ="𝔞",IJ="À",MJ="à",zJ="ℵ",OJ="ℵ",DJ="Α",LJ="α",FJ="Ā",NJ="ā",BJ="⨿",HJ="&",jJ="&",VJ="⩕",UJ="⩓",WJ="∧",qJ="⩜",KJ="⩘",GJ="⩚",YJ="∠",XJ="⦤",QJ="∠",ZJ="⦨",JJ="⦩",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="≊",Tee="Å",Pee="å",Ree="𝒜",Eee="𝒶",$ee="≔",Aee="*",Iee="≈",Mee="≍",zee="Ã",Oee="ã",Dee="Ä",Lee="ä",Fee="∳",Nee="⨑",Bee="≌",Hee="϶",jee="‵",Vee="∽",Uee="⋍",Wee="∖",qee="⫧",Kee="⊽",Gee="⌅",Yee="⌆",Xee="⌅",Qee="⎵",Zee="⎶",Jee="≌",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="△",Tte="⨄",Pte="⋁",Rte="⋀",Ete="⤍",$te="⧫",Ate="▪",Ite="▴",Mte="▾",zte="◂",Ote="▸",Dte="␣",Lte="▒",Fte="░",Nte="▓",Bte="█",Hte="=⃥",jte="≡⃥",Vte="⫭",Ute="⌐",Wte="𝔹",qte="𝕓",Kte="⊥",Gte="⊥",Yte="⋈",Xte="⧉",Qte="┐",Zte="╕",Jte="╖",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="╚",Tne="│",Pne="║",Rne="┼",Ene="╪",$ne="╫",Ane="╬",Ine="┤",Mne="╡",zne="╢",One="╣",Dne="├",Lne="╞",Fne="╟",Nne="╠",Bne="‵",Hne="˘",jne="˘",Vne="¦",Une="𝒷",Wne="ℬ",qne="⁏",Kne="∽",Gne="⋍",Yne="⧅",Xne="\\",Qne="⟈",Zne="•",Jne="•",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="ĉ",Toe="∰",Poe="⩌",Roe="⩐",Eoe="Ċ",$oe="ċ",Aoe="¸",Ioe="¸",Moe="⦲",zoe="¢",Ooe="·",Doe="·",Loe="𝔠",Foe="ℭ",Noe="Ч",Boe="ч",Hoe="✓",joe="✓",Voe="Χ",Uoe="χ",Woe="ˆ",qoe="≗",Koe="↺",Goe="↻",Yoe="⊛",Xoe="⊚",Qoe="⊝",Zoe="⊙",Joe="®",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="ℂ",Tre="≅",Pre="⩭",Rre="≡",Ere="∮",$re="∯",Are="∮",Ire="𝕔",Mre="ℂ",zre="∐",Ore="∐",Dre="©",Lre="©",Fre="℗",Nre="∳",Bre="↵",Hre="✗",jre="⨯",Vre="𝒞",Ure="𝒸",Wre="⫏",qre="⫑",Kre="⫐",Gre="⫒",Yre="⋯",Xre="⤸",Qre="⤵",Zre="⋞",Jre="⋟",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="†",Tie="‡",Pie="ℸ",Rie="↓",Eie="↡",$ie="⇓",Aie="‐",Iie="⫤",Mie="⊣",zie="⤏",Oie="˝",Die="Ď",Lie="ď",Fie="Д",Nie="д",Bie="‡",Hie="⇊",jie="ⅅ",Vie="ⅆ",Uie="⤑",Wie="⩷",qie="°",Kie="∇",Gie="Δ",Yie="δ",Xie="⦱",Qie="⥿",Zie="𝔇",Jie="𝔡",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="$",Tae="𝔻",Pae="𝕕",Rae="¨",Eae="˙",$ae="⃜",Aae="≐",Iae="≑",Mae="≐",zae="∸",Oae="∔",Dae="⊡",Lae="⌆",Fae="∯",Nae="¨",Bae="⇓",Hae="⇐",jae="⇔",Vae="⫤",Uae="⟸",Wae="⟺",qae="⟹",Kae="⇒",Gae="⊨",Yae="⇑",Xae="⇕",Qae="∥",Zae="⤓",Jae="↓",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="đ",Tse="⋱",Pse="▿",Rse="▾",Ese="⇵",$se="⥯",Ase="⦦",Ise="Џ",Mse="џ",zse="⟿",Ose="É",Dse="é",Lse="⩮",Fse="Ě",Nse="ě",Bse="Ê",Hse="ê",jse="≖",Vse="≕",Use="Э",Wse="э",qse="⩷",Kse="Ė",Gse="ė",Yse="≑",Xse="ⅇ",Qse="≒",Zse="𝔈",Jse="𝔢",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="ę",Tle="𝔼",Ple="𝕖",Rle="⋕",Ele="⧣",$le="⩱",Ale="ε",Ile="Ε",Mle="ε",zle="ϵ",Ole="≖",Dle="≕",Lle="≂",Fle="⪖",Nle="⪕",Ble="⩵",Hle="=",jle="≂",Vle="≟",Ule="⇌",Wle="≡",qle="⩸",Kle="⧥",Gle="⥱",Yle="≓",Xle="ℯ",Qle="ℰ",Zle="≐",Jle="⩳",ece="≂",tce="Η",nce="η",oce="Ð",rce="ð",ice="Ë",ace="ë",sce="€",lce="!",cce="∃",uce="∃",dce="ℰ",fce="ⅇ",hce="ⅇ",pce="≒",mce="Ф",gce="ф",vce="♀",bce="ffi",yce="ff",xce="ffl",Cce="𝔉",wce="𝔣",_ce="fi",Sce="◼",kce="▪",Tce="fj",Pce="♭",Rce="fl",Ece="▱",$ce="ƒ",Ace="𝔽",Ice="𝕗",Mce="∀",zce="∀",Oce="⋔",Dce="⫙",Lce="ℱ",Fce="⨍",Nce="½",Bce="⅓",Hce="¼",jce="⅕",Vce="⅙",Uce="⅛",Wce="⅔",qce="⅖",Kce="¾",Gce="⅗",Yce="⅜",Xce="⅘",Qce="⅚",Zce="⅝",Jce="⅞",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="⩾",Tue="⪩",Pue="⩾",Rue="⪀",Eue="⪂",$ue="⪄",Aue="⋛︀",Iue="⪔",Mue="𝔊",zue="𝔤",Oue="≫",Due="⋙",Lue="⋙",Fue="ℷ",Nue="Ѓ",Bue="ѓ",Hue="⪥",jue="≷",Vue="⪒",Uue="⪤",Wue="⪊",que="⪊",Kue="⪈",Gue="≩",Yue="⪈",Xue="≩",Que="⋧",Zue="𝔾",Jue="𝕘",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="⪌",Tde="≷",Pde="≳",Rde="≩︀",Ede="≩︀",$de="ˇ",Ade=" ",Ide="½",Mde="ℋ",zde="Ъ",Ode="ъ",Dde="⥈",Lde="↔",Fde="⇔",Nde="↭",Bde="^",Hde="ℏ",jde="Ĥ",Vde="ĥ",Ude="♥",Wde="♥",qde="…",Kde="⊹",Gde="𝔥",Yde="ℌ",Xde="ℋ",Qde="⤥",Zde="⤦",Jde="⇿",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="е",Tfe="¡",Pfe="⇔",Rfe="𝔦",Efe="ℑ",$fe="Ì",Afe="ì",Ife="ⅈ",Mfe="⨌",zfe="∭",Ofe="⧜",Dfe="℩",Lfe="IJ",Ffe="ij",Nfe="Ī",Bfe="ī",Hfe="ℑ",jfe="ⅈ",Vfe="ℐ",Ufe="ℑ",Wfe="ı",qfe="ℑ",Kfe="⊷",Gfe="Ƶ",Yfe="⇒",Xfe="℅",Qfe="∞",Zfe="⧝",Jfe="ı",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="⋹",The="⋴",Phe="⋳",Rhe="∈",Ehe="⁢",$he="Ĩ",Ahe="ĩ",Ihe="І",Mhe="і",zhe="Ï",Ohe="ï",Dhe="Ĵ",Lhe="ĵ",Fhe="Й",Nhe="й",Bhe="𝔍",Hhe="𝔧",jhe="ȷ",Vhe="𝕁",Uhe="𝕛",Whe="𝒥",qhe="𝒿",Khe="Ј",Ghe="ј",Yhe="Є",Xhe="є",Qhe="Κ",Zhe="κ",Jhe="ϰ",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="⟨",Tpe="⪅",Ppe="ℒ",Rpe="«",Epe="⇤",$pe="⤟",Ape="←",Ipe="↞",Mpe="⇐",zpe="⤝",Ope="↩",Dpe="↫",Lpe="⤹",Fpe="⥳",Npe="↢",Bpe="⤙",Hpe="⤛",jpe="⪫",Vpe="⪭",Upe="⪭︀",Wpe="⤌",qpe="⤎",Kpe="❲",Gpe="{",Ype="[",Xpe="⦋",Qpe="⦏",Zpe="⦍",Jpe="Ľ",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="⥙",Tme="⇃",Pme="⌊",Rme="↽",Eme="↼",$me="⇇",Ame="↔",Ime="↔",Mme="⇔",zme="⇆",Ome="⇋",Dme="↭",Lme="⥎",Fme="↤",Nme="⊣",Bme="⥚",Hme="⋋",jme="⧏",Vme="⊲",Ume="⊴",Wme="⥑",qme="⥠",Kme="⥘",Gme="↿",Yme="⥒",Xme="↼",Qme="⪋",Zme="⋚",Jme="≤",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="≶",Tge="⪑",Pge="⥢",Rge="↽",Ege="↼",$ge="⥪",Age="▄",Ige="Љ",Mge="љ",zge="⇇",Oge="≪",Dge="⋘",Lge="⌞",Fge="⇚",Nge="⥫",Bge="◺",Hge="Ŀ",jge="ŀ",Vge="⎰",Uge="⎰",Wge="⪉",qge="⪉",Kge="⪇",Gge="≨",Yge="⪇",Xge="≨",Qge="⋦",Zge="⟬",Jge="⇽",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="(",Tve="⦓",Pve="⇆",Rve="⌟",Eve="⇋",$ve="⥭",Ave="‎",Ive="⊿",Mve="‹",zve="𝓁",Ove="ℒ",Dve="↰",Lve="↰",Fve="≲",Nve="⪍",Bve="⪏",Hve="[",jve="‘",Vve="‚",Uve="Ł",Wve="ł",qve="⪦",Kve="⩹",Gve="<",Yve="<",Xve="≪",Qve="⋖",Zve="⋋",Jve="⋉",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="∡",Tbe=" ",Pbe="ℳ",Rbe="𝔐",Ebe="𝔪",$be="℧",Abe="µ",Ibe="*",Mbe="⫰",zbe="∣",Obe="·",Dbe="⊟",Lbe="−",Fbe="∸",Nbe="⨪",Bbe="∓",Hbe="⫛",jbe="…",Vbe="∓",Ube="⊧",Wbe="𝕄",qbe="𝕞",Kbe="∓",Gbe="𝓂",Ybe="ℳ",Xbe="∾",Qbe="Μ",Zbe="μ",Jbe="⊸",e0e="⊸",t0e="∇",n0e="Ń",o0e="ń",r0e="∠⃒",i0e="≉",a0e="⩰̸",s0e="≋̸",l0e="ʼn",c0e="≉",u0e="♮",d0e="ℕ",f0e="♮",h0e=" ",p0e="≎̸",m0e="≏̸",g0e="⩃",v0e="Ň",b0e="ň",y0e="Ņ",x0e="ņ",C0e="≇",w0e="⩭̸",_0e="⩂",S0e="Н",k0e="н",T0e="–",P0e="⤤",R0e="↗",E0e="⇗",$0e="↗",A0e="≠",I0e="≐̸",M0e="​",z0e="​",O0e="​",D0e="​",L0e="≢",F0e="⤨",N0e="≂̸",B0e="≫",H0e="≪",j0e=` +`,V0e="∄",U0e="∄",W0e="𝔑",q0e="𝔫",K0e="≧̸",G0e="≱",Y0e="≱",X0e="≧̸",Q0e="⩾̸",Z0e="⩾̸",J0e="⋙̸",e1e="≵",t1e="≫⃒",n1e="≯",o1e="≯",r1e="≫̸",i1e="↮",a1e="⇎",s1e="⫲",l1e="∋",c1e="⋼",u1e="⋺",d1e="∋",f1e="Њ",h1e="њ",p1e="↚",m1e="⇍",g1e="‥",v1e="≦̸",b1e="≰",y1e="↚",x1e="⇍",C1e="↮",w1e="⇎",_1e="≰",S1e="≦̸",k1e="⩽̸",T1e="⩽̸",P1e="≮",R1e="⋘̸",E1e="≴",$1e="≪⃒",A1e="≮",I1e="⋪",M1e="⋬",z1e="≪̸",O1e="∤",D1e="⁠",L1e=" ",F1e="𝕟",N1e="ℕ",B1e="⫬",H1e="¬",j1e="≢",V1e="≭",U1e="∦",W1e="∉",q1e="≠",K1e="≂̸",G1e="∄",Y1e="≯",X1e="≱",Q1e="≧̸",Z1e="≫̸",J1e="≹",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="⊀",Tye="⪯̸",Pye="⋠",Rye="∌",Eye="⧐̸",$ye="⋫",Aye="⋭",Iye="⊏̸",Mye="⋢",zye="⊐̸",Oye="⋣",Dye="⊂⃒",Lye="⊈",Fye="⊁",Nye="⪰̸",Bye="⋡",Hye="≿̸",jye="⊃⃒",Vye="⊉",Uye="≁",Wye="≄",qye="≇",Kye="≉",Gye="∤",Yye="∦",Xye="∦",Qye="⫽⃥",Zye="∂̸",Jye="⨔",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="⋢",Txe="⋣",Pxe="⊄",Rxe="⫅̸",Exe="⊈",$xe="⊂⃒",Axe="⊈",Ixe="⫅̸",Mxe="⊁",zxe="⪰̸",Oxe="⊅",Dxe="⫆̸",Lxe="⊉",Fxe="⊃⃒",Nxe="⊉",Bxe="⫆̸",Hxe="≹",jxe="Ñ",Vxe="ñ",Uxe="≸",Wxe="⋪",qxe="⋬",Kxe="⋫",Gxe="⋭",Yxe="Ν",Xxe="ν",Qxe="#",Zxe="№",Jxe=" ",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="ô",TCe="⊚",PCe="О",RCe="о",ECe="⊝",$Ce="Ő",ACe="ő",ICe="⨸",MCe="⊙",zCe="⦼",OCe="Œ",DCe="œ",LCe="⦿",FCe="𝔒",NCe="𝔬",BCe="˛",HCe="Ò",jCe="ò",VCe="⧁",UCe="⦵",WCe="Ω",qCe="∮",KCe="↺",GCe="⦾",YCe="⦻",XCe="‾",QCe="⧀",ZCe="Ō",JCe="ō",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="Ⓢ",Twe="𝒪",Pwe="ℴ",Rwe="Ø",Ewe="ø",$we="⊘",Awe="Õ",Iwe="õ",Mwe="⨶",zwe="⨷",Owe="⊗",Dwe="Ö",Lwe="ö",Fwe="⌽",Nwe="‾",Bwe="⏞",Hwe="⎴",jwe="⏜",Vwe="¶",Uwe="∥",Wwe="∥",qwe="⫳",Kwe="⫽",Gwe="∂",Ywe="∂",Xwe="П",Qwe="п",Zwe="%",Jwe=".",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="±",T_e="⨦",P_e="⨧",R_e="±",E_e="ℌ",$_e="⨕",A_e="𝕡",I_e="ℙ",M_e="£",z_e="⪷",O_e="⪻",D_e="≺",L_e="≼",F_e="⪷",N_e="≺",B_e="≼",H_e="≺",j_e="⪯",V_e="≼",U_e="≾",W_e="⪯",q_e="⪹",K_e="⪵",G_e="⋨",Y_e="⪯",X_e="⪳",Q_e="≾",Z_e="′",J_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="⁗",T2e="𝒬",P2e="𝓆",R2e="ℍ",E2e="⨖",$2e="?",A2e="≟",I2e='"',M2e='"',z2e="⇛",O2e="∽̱",D2e="Ŕ",L2e="ŕ",F2e="√",N2e="⦳",B2e="⟩",H2e="⟫",j2e="⦒",V2e="⦥",U2e="⟩",W2e="»",q2e="⥵",K2e="⇥",G2e="⤠",Y2e="⤳",X2e="→",Q2e="↠",Z2e="⇒",J2e="⤞",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="}",TSe="Р",PSe="р",RSe="⤷",ESe="⥩",$Se="”",ASe="”",ISe="↳",MSe="ℜ",zSe="ℛ",OSe="ℜ",DSe="ℝ",LSe="ℜ",FSe="▭",NSe="®",BSe="®",HSe="∋",jSe="⇋",VSe="⥯",USe="⥽",WSe="⌋",qSe="𝔯",KSe="ℜ",GSe="⥤",YSe="⇁",XSe="⇀",QSe="⥬",ZSe="Ρ",JSe="ρ",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="⊳",Tke="⊵",Pke="⥏",Rke="⥜",Eke="⥔",$ke="↾",Ake="⥓",Ike="⇀",Mke="˚",zke="≓",Oke="⇄",Dke="⇌",Lke="‏",Fke="⎱",Nke="⎱",Bke="⫮",Hke="⟭",jke="⇾",Vke="⟧",Uke="⦆",Wke="𝕣",qke="ℝ",Kke="⨮",Gke="⨵",Yke="⥰",Xke=")",Qke="⦔",Zke="⨒",Jke="⇉",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="≻",T3e="≽",P3e="⪰",R3e="⪴",E3e="Ş",$3e="ş",A3e="Ŝ",I3e="ŝ",M3e="⪺",z3e="⪶",O3e="⋩",D3e="⨓",L3e="≿",F3e="С",N3e="с",B3e="⊡",H3e="⋅",j3e="⩦",V3e="⤥",U3e="↘",W3e="⇘",q3e="↘",K3e="§",G3e=";",Y3e="⤩",X3e="∖",Q3e="∖",Z3e="✶",J3e="𝔖",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="⪟",T4e="≆",P4e="⨤",R4e="⥲",E4e="←",$4e="∘",A4e="∖",I4e="⨳",M4e="⧤",z4e="∣",O4e="⌣",D4e="⪪",L4e="⪬",F4e="⪬︀",N4e="Ь",B4e="ь",H4e="⌿",j4e="⧄",V4e="/",U4e="𝕊",W4e="𝕤",q4e="♠",K4e="♠",G4e="∥",Y4e="⊓",X4e="⊓︀",Q4e="⊔",Z4e="⊔︀",J4e="√",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="⋆",T5e="☆",P5e="★",R5e="ϵ",E5e="ϕ",$5e="¯",A5e="⊂",I5e="⋐",M5e="⪽",z5e="⫅",O5e="⊆",D5e="⫃",L5e="⫁",F5e="⫋",N5e="⊊",B5e="⪿",H5e="⥹",j5e="⊂",V5e="⋐",U5e="⊆",W5e="⫅",q5e="⊆",K5e="⊊",G5e="⫋",Y5e="⫇",X5e="⫕",Q5e="⫓",Z5e="⪸",J5e="≻",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="⊇",TTe="⟉",PTe="⫗",RTe="⥻",ETe="⫂",$Te="⫌",ATe="⊋",ITe="⫀",MTe="⊃",zTe="⋑",OTe="⊇",DTe="⫆",LTe="⊋",FTe="⫌",NTe="⫈",BTe="⫔",HTe="⫖",jTe="⤦",VTe="↙",UTe="⇙",WTe="↙",qTe="⤪",KTe="ß",GTe=" ",YTe="⌖",XTe="Τ",QTe="τ",ZTe="⎴",JTe="Ť",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="˜",TPe="∼",PPe="≃",RPe="≅",EPe="≈",$Pe="⨱",APe="⊠",IPe="×",MPe="⨰",zPe="∭",OPe="⤨",DPe="⌶",LPe="⫱",FPe="⊤",NPe="𝕋",BPe="𝕥",HPe="⫚",jPe="⤩",VPe="‴",UPe="™",WPe="™",qPe="▵",KPe="▿",GPe="◃",YPe="⊴",XPe="≜",QPe="▹",ZPe="⊵",JPe="◬",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="ў",TRe="Ŭ",PRe="ŭ",RRe="Û",ERe="û",$Re="У",ARe="у",IRe="⇅",MRe="Ű",zRe="ű",ORe="⥮",DRe="⥾",LRe="𝔘",FRe="𝔲",NRe="Ù",BRe="ù",HRe="⥣",jRe="↿",VRe="↾",URe="▀",WRe="⌜",qRe="⌜",KRe="⌏",GRe="◸",YRe="Ū",XRe="ū",QRe="¨",ZRe="_",JRe="⏟",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="Υ",TEe="υ",PEe="↥",REe="⊥",EEe="⇈",$Ee="⌝",AEe="⌝",IEe="⌎",MEe="Ů",zEe="ů",OEe="◹",DEe="𝒰",LEe="𝓊",FEe="⋰",NEe="Ũ",BEe="ũ",HEe="▵",jEe="▴",VEe="⇈",UEe="Ü",WEe="ü",qEe="⦧",KEe="⦜",GEe="ϵ",YEe="ϰ",XEe="∅",QEe="ϕ",ZEe="ϖ",JEe="∝",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="⋮",T$e="|",P$e="‖",R$e="|",E$e="‖",$$e="∣",A$e="|",I$e="❘",M$e="≀",z$e=" ",O$e="𝔙",D$e="𝔳",L$e="⊲",F$e="⊂⃒",N$e="⊃⃒",B$e="𝕍",H$e="𝕧",j$e="∝",V$e="⊳",U$e="𝒱",W$e="𝓋",q$e="⫋︀",K$e="⊊︀",G$e="⫌︀",Y$e="⊋︀",X$e="⊪",Q$e="⦚",Z$e="Ŵ",J$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="⟸",TAe="⟼",PAe="⋻",RAe="⨀",EAe="𝕏",$Ae="𝕩",AAe="⨁",IAe="⨂",MAe="⟶",zAe="⟹",OAe="𝒳",DAe="𝓍",LAe="⨆",FAe="⨄",NAe="△",BAe="⋁",HAe="⋀",jAe="Ý",VAe="ý",UAe="Я",WAe="я",qAe="Ŷ",KAe="ŷ",GAe="Ы",YAe="ы",XAe="¥",QAe="𝔜",ZAe="𝔶",JAe="Ї",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="⇝",T6e="𝕫",P6e="ℤ",R6e="𝒵",E6e="𝓏",$6e="‍",A6e="‌",I6e={Aacute:mJ,aacute:gJ,Abreve:vJ,abreve:bJ,ac:yJ,acd:xJ,acE:CJ,Acirc:wJ,acirc:_J,acute:SJ,Acy:kJ,acy:TJ,AElig:PJ,aelig:RJ,af:EJ,Afr:$J,afr:AJ,Agrave:IJ,agrave:MJ,alefsym:zJ,aleph:OJ,Alpha:DJ,alpha:LJ,Amacr:FJ,amacr:NJ,amalg:BJ,amp:HJ,AMP:jJ,andand:VJ,And:UJ,and:WJ,andd:qJ,andslope:KJ,andv:GJ,ang:YJ,ange:XJ,angle:QJ,angmsdaa:ZJ,angmsdab:JJ,angmsdac:eee,angmsdad:tee,angmsdae:nee,angmsdaf:oee,angmsdag:ree,angmsdah:iee,angmsd:aee,angrt:see,angrtvb:lee,angrtvbd:cee,angsph:uee,angst:dee,angzarr:fee,Aogon:hee,aogon:pee,Aopf:mee,aopf:gee,apacir:vee,ap:bee,apE:yee,ape:xee,apid:Cee,apos:wee,ApplyFunction:_ee,approx:See,approxeq:kee,Aring:Tee,aring:Pee,Ascr:Ree,ascr:Eee,Assign:$ee,ast:Aee,asymp:Iee,asympeq:Mee,Atilde:zee,atilde:Oee,Auml:Dee,auml:Lee,awconint:Fee,awint:Nee,backcong:Bee,backepsilon:Hee,backprime:jee,backsim:Vee,backsimeq:Uee,Backslash:Wee,Barv:qee,barvee:Kee,barwed:Gee,Barwed:Yee,barwedge:Xee,bbrk:Qee,bbrktbrk:Zee,bcong:Jee,Bcy:ete,bcy:tte,bdquo:nte,becaus:ote,because:rte,Because:ite,bemptyv:ate,bepsi:ste,bernou:lte,Bernoullis:cte,Beta:ute,beta:dte,beth:fte,between:hte,Bfr:pte,bfr:mte,bigcap:gte,bigcirc:vte,bigcup:bte,bigodot:yte,bigoplus:xte,bigotimes:Cte,bigsqcup:wte,bigstar:_te,bigtriangledown:Ste,bigtriangleup:kte,biguplus:Tte,bigvee:Pte,bigwedge:Rte,bkarow:Ete,blacklozenge:$te,blacksquare:Ate,blacktriangle:Ite,blacktriangledown:Mte,blacktriangleleft:zte,blacktriangleright:Ote,blank:Dte,blk12:Lte,blk14:Fte,blk34:Nte,block:Bte,bne:Hte,bnequiv:jte,bNot:Vte,bnot:Ute,Bopf:Wte,bopf:qte,bot:Kte,bottom:Gte,bowtie:Yte,boxbox:Xte,boxdl:Qte,boxdL:Zte,boxDl:Jte,boxDL:ene,boxdr:tne,boxdR:nne,boxDr:one,boxDR:rne,boxh:ine,boxH:ane,boxhd:sne,boxHd:lne,boxhD:cne,boxHD:une,boxhu:dne,boxHu:fne,boxhU:hne,boxHU:pne,boxminus:mne,boxplus:gne,boxtimes:vne,boxul:bne,boxuL:yne,boxUl:xne,boxUL:Cne,boxur:wne,boxuR:_ne,boxUr:Sne,boxUR:kne,boxv:Tne,boxV:Pne,boxvh:Rne,boxvH:Ene,boxVh:$ne,boxVH:Ane,boxvl:Ine,boxvL:Mne,boxVl:zne,boxVL:One,boxvr:Dne,boxvR:Lne,boxVr:Fne,boxVR:Nne,bprime:Bne,breve:Hne,Breve:jne,brvbar:Vne,bscr:Une,Bscr:Wne,bsemi:qne,bsim:Kne,bsime:Gne,bsolb:Yne,bsol:Xne,bsolhsub:Qne,bull:Zne,bullet:Jne,bump:eoe,bumpE:toe,bumpe:noe,Bumpeq:ooe,bumpeq:roe,Cacute:ioe,cacute:aoe,capand:soe,capbrcup:loe,capcap:coe,cap:uoe,Cap:doe,capcup:foe,capdot:hoe,CapitalDifferentialD:poe,caps:moe,caret:goe,caron:voe,Cayleys:boe,ccaps:yoe,Ccaron:xoe,ccaron:Coe,Ccedil:woe,ccedil:_oe,Ccirc:Soe,ccirc:koe,Cconint:Toe,ccups:Poe,ccupssm:Roe,Cdot:Eoe,cdot:$oe,cedil:Aoe,Cedilla:Ioe,cemptyv:Moe,cent:zoe,centerdot:Ooe,CenterDot:Doe,cfr:Loe,Cfr:Foe,CHcy:Noe,chcy:Boe,check:Hoe,checkmark:joe,Chi:Voe,chi:Uoe,circ:Woe,circeq:qoe,circlearrowleft:Koe,circlearrowright:Goe,circledast:Yoe,circledcirc:Xoe,circleddash:Qoe,CircleDot:Zoe,circledR:Joe,circledS:ere,CircleMinus:tre,CirclePlus:nre,CircleTimes:ore,cir:rre,cirE:ire,cire:are,cirfnint:sre,cirmid:lre,cirscir:cre,ClockwiseContourIntegral:ure,CloseCurlyDoubleQuote:dre,CloseCurlyQuote:fre,clubs:hre,clubsuit:pre,colon:mre,Colon:gre,Colone:vre,colone:bre,coloneq:yre,comma:xre,commat:Cre,comp:wre,compfn:_re,complement:Sre,complexes:kre,cong:Tre,congdot:Pre,Congruent:Rre,conint:Ere,Conint:$re,ContourIntegral:Are,copf:Ire,Copf:Mre,coprod:zre,Coproduct:Ore,copy:Dre,COPY:Lre,copysr:Fre,CounterClockwiseContourIntegral:Nre,crarr:Bre,cross:Hre,Cross:jre,Cscr:Vre,cscr:Ure,csub:Wre,csube:qre,csup:Kre,csupe:Gre,ctdot:Yre,cudarrl:Xre,cudarrr:Qre,cuepr:Zre,cuesc:Jre,cularr:eie,cularrp:tie,cupbrcap:nie,cupcap:oie,CupCap:rie,cup:iie,Cup:aie,cupcup:sie,cupdot:lie,cupor:cie,cups:uie,curarr:die,curarrm:fie,curlyeqprec:hie,curlyeqsucc:pie,curlyvee:mie,curlywedge:gie,curren:vie,curvearrowleft:bie,curvearrowright:yie,cuvee:xie,cuwed:Cie,cwconint:wie,cwint:_ie,cylcty:Sie,dagger:kie,Dagger:Tie,daleth:Pie,darr:Rie,Darr:Eie,dArr:$ie,dash:Aie,Dashv:Iie,dashv:Mie,dbkarow:zie,dblac:Oie,Dcaron:Die,dcaron:Lie,Dcy:Fie,dcy:Nie,ddagger:Bie,ddarr:Hie,DD:jie,dd:Vie,DDotrahd:Uie,ddotseq:Wie,deg:qie,Del:Kie,Delta:Gie,delta:Yie,demptyv:Xie,dfisht:Qie,Dfr:Zie,dfr:Jie,dHar:eae,dharl:tae,dharr:nae,DiacriticalAcute:oae,DiacriticalDot:rae,DiacriticalDoubleAcute:iae,DiacriticalGrave:aae,DiacriticalTilde:sae,diam:lae,diamond:cae,Diamond:uae,diamondsuit:dae,diams:fae,die:hae,DifferentialD:pae,digamma:mae,disin:gae,div:vae,divide:bae,divideontimes:yae,divonx:xae,DJcy:Cae,djcy:wae,dlcorn:_ae,dlcrop:Sae,dollar:kae,Dopf:Tae,dopf:Pae,Dot:Rae,dot:Eae,DotDot:$ae,doteq:Aae,doteqdot:Iae,DotEqual:Mae,dotminus:zae,dotplus:Oae,dotsquare:Dae,doublebarwedge:Lae,DoubleContourIntegral:Fae,DoubleDot:Nae,DoubleDownArrow:Bae,DoubleLeftArrow:Hae,DoubleLeftRightArrow:jae,DoubleLeftTee:Vae,DoubleLongLeftArrow:Uae,DoubleLongLeftRightArrow:Wae,DoubleLongRightArrow:qae,DoubleRightArrow:Kae,DoubleRightTee:Gae,DoubleUpArrow:Yae,DoubleUpDownArrow:Xae,DoubleVerticalBar:Qae,DownArrowBar:Zae,downarrow:Jae,DownArrow:ese,Downarrow:tse,DownArrowUpArrow:nse,DownBreve:ose,downdownarrows:rse,downharpoonleft:ise,downharpoonright:ase,DownLeftRightVector:sse,DownLeftTeeVector:lse,DownLeftVectorBar:cse,DownLeftVector:use,DownRightTeeVector:dse,DownRightVectorBar:fse,DownRightVector:hse,DownTeeArrow:pse,DownTee:mse,drbkarow:gse,drcorn:vse,drcrop:bse,Dscr:yse,dscr:xse,DScy:Cse,dscy:wse,dsol:_se,Dstrok:Sse,dstrok:kse,dtdot:Tse,dtri:Pse,dtrif:Rse,duarr:Ese,duhar:$se,dwangle:Ase,DZcy:Ise,dzcy:Mse,dzigrarr:zse,Eacute:Ose,eacute:Dse,easter:Lse,Ecaron:Fse,ecaron:Nse,Ecirc:Bse,ecirc:Hse,ecir:jse,ecolon:Vse,Ecy:Use,ecy:Wse,eDDot:qse,Edot:Kse,edot:Gse,eDot:Yse,ee:Xse,efDot:Qse,Efr:Zse,efr:Jse,eg:ele,Egrave:tle,egrave:nle,egs:ole,egsdot:rle,el:ile,Element:ale,elinters:sle,ell:lle,els:cle,elsdot:ule,Emacr:dle,emacr:fle,empty:hle,emptyset:ple,EmptySmallSquare:mle,emptyv:gle,EmptyVerySmallSquare:vle,emsp13:ble,emsp14:yle,emsp:xle,ENG:Cle,eng:wle,ensp:_le,Eogon:Sle,eogon:kle,Eopf:Tle,eopf:Ple,epar:Rle,eparsl:Ele,eplus:$le,epsi:Ale,Epsilon:Ile,epsilon:Mle,epsiv:zle,eqcirc:Ole,eqcolon:Dle,eqsim:Lle,eqslantgtr:Fle,eqslantless:Nle,Equal:Ble,equals:Hle,EqualTilde:jle,equest:Vle,Equilibrium:Ule,equiv:Wle,equivDD:qle,eqvparsl:Kle,erarr:Gle,erDot:Yle,escr:Xle,Escr:Qle,esdot:Zle,Esim:Jle,esim:ece,Eta:tce,eta:nce,ETH:oce,eth:rce,Euml:ice,euml:ace,euro:sce,excl:lce,exist:cce,Exists:uce,expectation:dce,exponentiale:fce,ExponentialE:hce,fallingdotseq:pce,Fcy:mce,fcy:gce,female:vce,ffilig:bce,fflig:yce,ffllig:xce,Ffr:Cce,ffr:wce,filig:_ce,FilledSmallSquare:Sce,FilledVerySmallSquare:kce,fjlig:Tce,flat:Pce,fllig:Rce,fltns:Ece,fnof:$ce,Fopf:Ace,fopf:Ice,forall:Mce,ForAll:zce,fork:Oce,forkv:Dce,Fouriertrf:Lce,fpartint:Fce,frac12:Nce,frac13:Bce,frac14:Hce,frac15:jce,frac16:Vce,frac18:Uce,frac23:Wce,frac25:qce,frac34:Kce,frac35:Gce,frac38:Yce,frac45:Xce,frac56:Qce,frac58:Zce,frac78:Jce,frasl:eue,frown:tue,fscr:nue,Fscr:oue,gacute:rue,Gamma:iue,gamma:aue,Gammad:sue,gammad:lue,gap:cue,Gbreve:uue,gbreve:due,Gcedil:fue,Gcirc:hue,gcirc:pue,Gcy:mue,gcy:gue,Gdot:vue,gdot:bue,ge:yue,gE:xue,gEl:Cue,gel:wue,geq:_ue,geqq:Sue,geqslant:kue,gescc:Tue,ges:Pue,gesdot:Rue,gesdoto:Eue,gesdotol:$ue,gesl:Aue,gesles:Iue,Gfr:Mue,gfr:zue,gg:Oue,Gg:Due,ggg:Lue,gimel:Fue,GJcy:Nue,gjcy:Bue,gla:Hue,gl:jue,glE:Vue,glj:Uue,gnap:Wue,gnapprox:que,gne:Kue,gnE:Gue,gneq:Yue,gneqq:Xue,gnsim:Que,Gopf:Zue,gopf:Jue,grave:ede,GreaterEqual:tde,GreaterEqualLess:nde,GreaterFullEqual:ode,GreaterGreater:rde,GreaterLess:ide,GreaterSlantEqual:ade,GreaterTilde:sde,Gscr:lde,gscr:cde,gsim:ude,gsime:dde,gsiml:fde,gtcc:hde,gtcir:pde,gt:mde,GT:gde,Gt:vde,gtdot:bde,gtlPar:yde,gtquest:xde,gtrapprox:Cde,gtrarr:wde,gtrdot:_de,gtreqless:Sde,gtreqqless:kde,gtrless:Tde,gtrsim:Pde,gvertneqq:Rde,gvnE:Ede,Hacek:$de,hairsp:Ade,half:Ide,hamilt:Mde,HARDcy:zde,hardcy:Ode,harrcir:Dde,harr:Lde,hArr:Fde,harrw:Nde,Hat:Bde,hbar:Hde,Hcirc:jde,hcirc:Vde,hearts:Ude,heartsuit:Wde,hellip:qde,hercon:Kde,hfr:Gde,Hfr:Yde,HilbertSpace:Xde,hksearow:Qde,hkswarow:Zde,hoarr:Jde,homtht:efe,hookleftarrow:tfe,hookrightarrow:nfe,hopf:ofe,Hopf:rfe,horbar:ife,HorizontalLine:afe,hscr:sfe,Hscr:lfe,hslash:cfe,Hstrok:ufe,hstrok:dfe,HumpDownHump:ffe,HumpEqual:hfe,hybull:pfe,hyphen:mfe,Iacute:gfe,iacute:vfe,ic:bfe,Icirc:yfe,icirc:xfe,Icy:Cfe,icy:wfe,Idot:_fe,IEcy:Sfe,iecy:kfe,iexcl:Tfe,iff:Pfe,ifr:Rfe,Ifr:Efe,Igrave:$fe,igrave:Afe,ii:Ife,iiiint:Mfe,iiint:zfe,iinfin:Ofe,iiota:Dfe,IJlig:Lfe,ijlig:Ffe,Imacr:Nfe,imacr:Bfe,image:Hfe,ImaginaryI:jfe,imagline:Vfe,imagpart:Ufe,imath:Wfe,Im:qfe,imof:Kfe,imped:Gfe,Implies:Yfe,incare:Xfe,in:"∈",infin:Qfe,infintie:Zfe,inodot:Jfe,intcal:ehe,int:the,Int:nhe,integers:ohe,Integral:rhe,intercal:ihe,Intersection:ahe,intlarhk:she,intprod:lhe,InvisibleComma:che,InvisibleTimes:uhe,IOcy:dhe,iocy:fhe,Iogon:hhe,iogon:phe,Iopf:mhe,iopf:ghe,Iota:vhe,iota:bhe,iprod:yhe,iquest:xhe,iscr:Che,Iscr:whe,isin:_he,isindot:She,isinE:khe,isins:The,isinsv:Phe,isinv:Rhe,it:Ehe,Itilde:$he,itilde:Ahe,Iukcy:Ihe,iukcy:Mhe,Iuml:zhe,iuml:Ohe,Jcirc:Dhe,jcirc:Lhe,Jcy:Fhe,jcy:Nhe,Jfr:Bhe,jfr:Hhe,jmath:jhe,Jopf:Vhe,jopf:Uhe,Jscr:Whe,jscr:qhe,Jsercy:Khe,jsercy:Ghe,Jukcy:Yhe,jukcy:Xhe,Kappa:Qhe,kappa:Zhe,kappav:Jhe,Kcedil:epe,kcedil:tpe,Kcy:npe,kcy:ope,Kfr:rpe,kfr:ipe,kgreen:ape,KHcy:spe,khcy:lpe,KJcy:cpe,kjcy:upe,Kopf:dpe,kopf:fpe,Kscr:hpe,kscr:ppe,lAarr:mpe,Lacute:gpe,lacute:vpe,laemptyv:bpe,lagran:ype,Lambda:xpe,lambda:Cpe,lang:wpe,Lang:_pe,langd:Spe,langle:kpe,lap:Tpe,Laplacetrf:Ppe,laquo:Rpe,larrb:Epe,larrbfs:$pe,larr:Ape,Larr:Ipe,lArr:Mpe,larrfs:zpe,larrhk:Ope,larrlp:Dpe,larrpl:Lpe,larrsim:Fpe,larrtl:Npe,latail:Bpe,lAtail:Hpe,lat:jpe,late:Vpe,lates:Upe,lbarr:Wpe,lBarr:qpe,lbbrk:Kpe,lbrace:Gpe,lbrack:Ype,lbrke:Xpe,lbrksld:Qpe,lbrkslu:Zpe,Lcaron:Jpe,lcaron:eme,Lcedil:tme,lcedil:nme,lceil:ome,lcub:rme,Lcy:ime,lcy:ame,ldca:sme,ldquo:lme,ldquor:cme,ldrdhar:ume,ldrushar:dme,ldsh:fme,le:hme,lE:pme,LeftAngleBracket:mme,LeftArrowBar:gme,leftarrow:vme,LeftArrow:bme,Leftarrow:yme,LeftArrowRightArrow:xme,leftarrowtail:Cme,LeftCeiling:wme,LeftDoubleBracket:_me,LeftDownTeeVector:Sme,LeftDownVectorBar:kme,LeftDownVector:Tme,LeftFloor:Pme,leftharpoondown:Rme,leftharpoonup:Eme,leftleftarrows:$me,leftrightarrow:Ame,LeftRightArrow:Ime,Leftrightarrow:Mme,leftrightarrows:zme,leftrightharpoons:Ome,leftrightsquigarrow:Dme,LeftRightVector:Lme,LeftTeeArrow:Fme,LeftTee:Nme,LeftTeeVector:Bme,leftthreetimes:Hme,LeftTriangleBar:jme,LeftTriangle:Vme,LeftTriangleEqual:Ume,LeftUpDownVector:Wme,LeftUpTeeVector:qme,LeftUpVectorBar:Kme,LeftUpVector:Gme,LeftVectorBar:Yme,LeftVector:Xme,lEg:Qme,leg:Zme,leq:Jme,leqq:ege,leqslant:tge,lescc:nge,les:oge,lesdot:rge,lesdoto:ige,lesdotor:age,lesg:sge,lesges:lge,lessapprox:cge,lessdot:uge,lesseqgtr:dge,lesseqqgtr:fge,LessEqualGreater:hge,LessFullEqual:pge,LessGreater:mge,lessgtr:gge,LessLess:vge,lesssim:bge,LessSlantEqual:yge,LessTilde:xge,lfisht:Cge,lfloor:wge,Lfr:_ge,lfr:Sge,lg:kge,lgE:Tge,lHar:Pge,lhard:Rge,lharu:Ege,lharul:$ge,lhblk:Age,LJcy:Ige,ljcy:Mge,llarr:zge,ll:Oge,Ll:Dge,llcorner:Lge,Lleftarrow:Fge,llhard:Nge,lltri:Bge,Lmidot:Hge,lmidot:jge,lmoustache:Vge,lmoust:Uge,lnap:Wge,lnapprox:qge,lne:Kge,lnE:Gge,lneq:Yge,lneqq:Xge,lnsim:Qge,loang:Zge,loarr:Jge,lobrk:eve,longleftarrow:tve,LongLeftArrow:nve,Longleftarrow:ove,longleftrightarrow:rve,LongLeftRightArrow:ive,Longleftrightarrow:ave,longmapsto:sve,longrightarrow:lve,LongRightArrow:cve,Longrightarrow:uve,looparrowleft:dve,looparrowright:fve,lopar:hve,Lopf:pve,lopf:mve,loplus:gve,lotimes:vve,lowast:bve,lowbar:yve,LowerLeftArrow:xve,LowerRightArrow:Cve,loz:wve,lozenge:_ve,lozf:Sve,lpar:kve,lparlt:Tve,lrarr:Pve,lrcorner:Rve,lrhar:Eve,lrhard:$ve,lrm:Ave,lrtri:Ive,lsaquo:Mve,lscr:zve,Lscr:Ove,lsh:Dve,Lsh:Lve,lsim:Fve,lsime:Nve,lsimg:Bve,lsqb:Hve,lsquo:jve,lsquor:Vve,Lstrok:Uve,lstrok:Wve,ltcc:qve,ltcir:Kve,lt:Gve,LT:Yve,Lt:Xve,ltdot:Qve,lthree:Zve,ltimes:Jve,ltlarr:ebe,ltquest:tbe,ltri:nbe,ltrie:obe,ltrif:rbe,ltrPar:ibe,lurdshar:abe,luruhar:sbe,lvertneqq:lbe,lvnE:cbe,macr:ube,male:dbe,malt:fbe,maltese:hbe,Map:"⤅",map:pbe,mapsto:mbe,mapstodown:gbe,mapstoleft:vbe,mapstoup:bbe,marker:ybe,mcomma:xbe,Mcy:Cbe,mcy:wbe,mdash:_be,mDDot:Sbe,measuredangle:kbe,MediumSpace:Tbe,Mellintrf:Pbe,Mfr:Rbe,mfr:Ebe,mho:$be,micro:Abe,midast:Ibe,midcir:Mbe,mid:zbe,middot:Obe,minusb:Dbe,minus:Lbe,minusd:Fbe,minusdu:Nbe,MinusPlus:Bbe,mlcp:Hbe,mldr:jbe,mnplus:Vbe,models:Ube,Mopf:Wbe,mopf:qbe,mp:Kbe,mscr:Gbe,Mscr:Ybe,mstpos:Xbe,Mu:Qbe,mu:Zbe,multimap:Jbe,mumap:e0e,nabla:t0e,Nacute:n0e,nacute:o0e,nang:r0e,nap:i0e,napE:a0e,napid:s0e,napos:l0e,napprox:c0e,natural:u0e,naturals:d0e,natur:f0e,nbsp:h0e,nbump:p0e,nbumpe:m0e,ncap:g0e,Ncaron:v0e,ncaron:b0e,Ncedil:y0e,ncedil:x0e,ncong:C0e,ncongdot:w0e,ncup:_0e,Ncy:S0e,ncy:k0e,ndash:T0e,nearhk:P0e,nearr:R0e,neArr:E0e,nearrow:$0e,ne:A0e,nedot:I0e,NegativeMediumSpace:M0e,NegativeThickSpace:z0e,NegativeThinSpace:O0e,NegativeVeryThinSpace:D0e,nequiv:L0e,nesear:F0e,nesim:N0e,NestedGreaterGreater:B0e,NestedLessLess:H0e,NewLine:j0e,nexist:V0e,nexists:U0e,Nfr:W0e,nfr:q0e,ngE:K0e,nge:G0e,ngeq:Y0e,ngeqq:X0e,ngeqslant:Q0e,nges:Z0e,nGg:J0e,ngsim:e1e,nGt:t1e,ngt:n1e,ngtr:o1e,nGtv:r1e,nharr:i1e,nhArr:a1e,nhpar:s1e,ni:l1e,nis:c1e,nisd:u1e,niv:d1e,NJcy:f1e,njcy:h1e,nlarr:p1e,nlArr:m1e,nldr:g1e,nlE:v1e,nle:b1e,nleftarrow:y1e,nLeftarrow:x1e,nleftrightarrow:C1e,nLeftrightarrow:w1e,nleq:_1e,nleqq:S1e,nleqslant:k1e,nles:T1e,nless:P1e,nLl:R1e,nlsim:E1e,nLt:$1e,nlt:A1e,nltri:I1e,nltrie:M1e,nLtv:z1e,nmid:O1e,NoBreak:D1e,NonBreakingSpace:L1e,nopf:F1e,Nopf:N1e,Not:B1e,not:H1e,NotCongruent:j1e,NotCupCap:V1e,NotDoubleVerticalBar:U1e,NotElement:W1e,NotEqual:q1e,NotEqualTilde:K1e,NotExists:G1e,NotGreater:Y1e,NotGreaterEqual:X1e,NotGreaterFullEqual:Q1e,NotGreaterGreater:Z1e,NotGreaterLess:J1e,NotGreaterSlantEqual:eye,NotGreaterTilde:tye,NotHumpDownHump:nye,NotHumpEqual:oye,notin:rye,notindot:iye,notinE:aye,notinva:sye,notinvb:lye,notinvc:cye,NotLeftTriangleBar:uye,NotLeftTriangle:dye,NotLeftTriangleEqual:fye,NotLess:hye,NotLessEqual:pye,NotLessGreater:mye,NotLessLess:gye,NotLessSlantEqual:vye,NotLessTilde:bye,NotNestedGreaterGreater:yye,NotNestedLessLess:xye,notni:Cye,notniva:wye,notnivb:_ye,notnivc:Sye,NotPrecedes:kye,NotPrecedesEqual:Tye,NotPrecedesSlantEqual:Pye,NotReverseElement:Rye,NotRightTriangleBar:Eye,NotRightTriangle:$ye,NotRightTriangleEqual:Aye,NotSquareSubset:Iye,NotSquareSubsetEqual:Mye,NotSquareSuperset:zye,NotSquareSupersetEqual:Oye,NotSubset:Dye,NotSubsetEqual:Lye,NotSucceeds:Fye,NotSucceedsEqual:Nye,NotSucceedsSlantEqual:Bye,NotSucceedsTilde:Hye,NotSuperset:jye,NotSupersetEqual:Vye,NotTilde:Uye,NotTildeEqual:Wye,NotTildeFullEqual:qye,NotTildeTilde:Kye,NotVerticalBar:Gye,nparallel:Yye,npar:Xye,nparsl:Qye,npart:Zye,npolint:Jye,npr:exe,nprcue:txe,nprec:nxe,npreceq:oxe,npre:rxe,nrarrc:ixe,nrarr:axe,nrArr:sxe,nrarrw:lxe,nrightarrow:cxe,nRightarrow:uxe,nrtri:dxe,nrtrie:fxe,nsc:hxe,nsccue:pxe,nsce:mxe,Nscr:gxe,nscr:vxe,nshortmid:bxe,nshortparallel:yxe,nsim:xxe,nsime:Cxe,nsimeq:wxe,nsmid:_xe,nspar:Sxe,nsqsube:kxe,nsqsupe:Txe,nsub:Pxe,nsubE:Rxe,nsube:Exe,nsubset:$xe,nsubseteq:Axe,nsubseteqq:Ixe,nsucc:Mxe,nsucceq:zxe,nsup:Oxe,nsupE:Dxe,nsupe:Lxe,nsupset:Fxe,nsupseteq:Nxe,nsupseteqq:Bxe,ntgl:Hxe,Ntilde:jxe,ntilde:Vxe,ntlg:Uxe,ntriangleleft:Wxe,ntrianglelefteq:qxe,ntriangleright:Kxe,ntrianglerighteq:Gxe,Nu:Yxe,nu:Xxe,num:Qxe,numero:Zxe,numsp:Jxe,nvap:eCe,nvdash:tCe,nvDash:nCe,nVdash:oCe,nVDash:rCe,nvge:iCe,nvgt:aCe,nvHarr:sCe,nvinfin:lCe,nvlArr:cCe,nvle:uCe,nvlt:dCe,nvltrie:fCe,nvrArr:hCe,nvrtrie:pCe,nvsim:mCe,nwarhk:gCe,nwarr:vCe,nwArr:bCe,nwarrow:yCe,nwnear:xCe,Oacute:CCe,oacute:wCe,oast:_Ce,Ocirc:SCe,ocirc:kCe,ocir:TCe,Ocy:PCe,ocy:RCe,odash:ECe,Odblac:$Ce,odblac:ACe,odiv:ICe,odot:MCe,odsold:zCe,OElig:OCe,oelig:DCe,ofcir:LCe,Ofr:FCe,ofr:NCe,ogon:BCe,Ograve:HCe,ograve:jCe,ogt:VCe,ohbar:UCe,ohm:WCe,oint:qCe,olarr:KCe,olcir:GCe,olcross:YCe,oline:XCe,olt:QCe,Omacr:ZCe,omacr:JCe,Omega:ewe,omega:twe,Omicron:nwe,omicron:owe,omid:rwe,ominus:iwe,Oopf:awe,oopf:swe,opar:lwe,OpenCurlyDoubleQuote:cwe,OpenCurlyQuote:uwe,operp:dwe,oplus:fwe,orarr:hwe,Or:pwe,or:mwe,ord:gwe,order:vwe,orderof:bwe,ordf:ywe,ordm:xwe,origof:Cwe,oror:wwe,orslope:_we,orv:Swe,oS:kwe,Oscr:Twe,oscr:Pwe,Oslash:Rwe,oslash:Ewe,osol:$we,Otilde:Awe,otilde:Iwe,otimesas:Mwe,Otimes:zwe,otimes:Owe,Ouml:Dwe,ouml:Lwe,ovbar:Fwe,OverBar:Nwe,OverBrace:Bwe,OverBracket:Hwe,OverParenthesis:jwe,para:Vwe,parallel:Uwe,par:Wwe,parsim:qwe,parsl:Kwe,part:Gwe,PartialD:Ywe,Pcy:Xwe,pcy:Qwe,percnt:Zwe,period:Jwe,permil:e_e,perp:t_e,pertenk:n_e,Pfr:o_e,pfr:r_e,Phi:i_e,phi:a_e,phiv:s_e,phmmat:l_e,phone:c_e,Pi:u_e,pi:d_e,pitchfork:f_e,piv:h_e,planck:p_e,planckh:m_e,plankv:g_e,plusacir:v_e,plusb:b_e,pluscir:y_e,plus:x_e,plusdo:C_e,plusdu:w_e,pluse:__e,PlusMinus:S_e,plusmn:k_e,plussim:T_e,plustwo:P_e,pm:R_e,Poincareplane:E_e,pointint:$_e,popf:A_e,Popf:I_e,pound:M_e,prap:z_e,Pr:O_e,pr:D_e,prcue:L_e,precapprox:F_e,prec:N_e,preccurlyeq:B_e,Precedes:H_e,PrecedesEqual:j_e,PrecedesSlantEqual:V_e,PrecedesTilde:U_e,preceq:W_e,precnapprox:q_e,precneqq:K_e,precnsim:G_e,pre:Y_e,prE:X_e,precsim:Q_e,prime:Z_e,Prime:J_e,primes:e2e,prnap:t2e,prnE:n2e,prnsim:o2e,prod:r2e,Product:i2e,profalar:a2e,profline:s2e,profsurf:l2e,prop:c2e,Proportional:u2e,Proportion:d2e,propto:f2e,prsim:h2e,prurel:p2e,Pscr:m2e,pscr:g2e,Psi:v2e,psi:b2e,puncsp:y2e,Qfr:x2e,qfr:C2e,qint:w2e,qopf:_2e,Qopf:S2e,qprime:k2e,Qscr:T2e,qscr:P2e,quaternions:R2e,quatint:E2e,quest:$2e,questeq:A2e,quot:I2e,QUOT:M2e,rAarr:z2e,race:O2e,Racute:D2e,racute:L2e,radic:F2e,raemptyv:N2e,rang:B2e,Rang:H2e,rangd:j2e,range:V2e,rangle:U2e,raquo:W2e,rarrap:q2e,rarrb:K2e,rarrbfs:G2e,rarrc:Y2e,rarr:X2e,Rarr:Q2e,rArr:Z2e,rarrfs:J2e,rarrhk:eSe,rarrlp:tSe,rarrpl:nSe,rarrsim:oSe,Rarrtl:rSe,rarrtl:iSe,rarrw:aSe,ratail:sSe,rAtail:lSe,ratio:cSe,rationals:uSe,rbarr:dSe,rBarr:fSe,RBarr:hSe,rbbrk:pSe,rbrace:mSe,rbrack:gSe,rbrke:vSe,rbrksld:bSe,rbrkslu:ySe,Rcaron:xSe,rcaron:CSe,Rcedil:wSe,rcedil:_Se,rceil:SSe,rcub:kSe,Rcy:TSe,rcy:PSe,rdca:RSe,rdldhar:ESe,rdquo:$Se,rdquor:ASe,rdsh:ISe,real:MSe,realine:zSe,realpart:OSe,reals:DSe,Re:LSe,rect:FSe,reg:NSe,REG:BSe,ReverseElement:HSe,ReverseEquilibrium:jSe,ReverseUpEquilibrium:VSe,rfisht:USe,rfloor:WSe,rfr:qSe,Rfr:KSe,rHar:GSe,rhard:YSe,rharu:XSe,rharul:QSe,Rho:ZSe,rho:JSe,rhov:eke,RightAngleBracket:tke,RightArrowBar:nke,rightarrow:oke,RightArrow:rke,Rightarrow:ike,RightArrowLeftArrow:ake,rightarrowtail:ske,RightCeiling:lke,RightDoubleBracket:cke,RightDownTeeVector:uke,RightDownVectorBar:dke,RightDownVector:fke,RightFloor:hke,rightharpoondown:pke,rightharpoonup:mke,rightleftarrows:gke,rightleftharpoons:vke,rightrightarrows:bke,rightsquigarrow:yke,RightTeeArrow:xke,RightTee:Cke,RightTeeVector:wke,rightthreetimes:_ke,RightTriangleBar:Ske,RightTriangle:kke,RightTriangleEqual:Tke,RightUpDownVector:Pke,RightUpTeeVector:Rke,RightUpVectorBar:Eke,RightUpVector:$ke,RightVectorBar:Ake,RightVector:Ike,ring:Mke,risingdotseq:zke,rlarr:Oke,rlhar:Dke,rlm:Lke,rmoustache:Fke,rmoust:Nke,rnmid:Bke,roang:Hke,roarr:jke,robrk:Vke,ropar:Uke,ropf:Wke,Ropf:qke,roplus:Kke,rotimes:Gke,RoundImplies:Yke,rpar:Xke,rpargt:Qke,rppolint:Zke,rrarr:Jke,Rrightarrow:e3e,rsaquo:t3e,rscr:n3e,Rscr:o3e,rsh:r3e,Rsh:i3e,rsqb:a3e,rsquo:s3e,rsquor:l3e,rthree:c3e,rtimes:u3e,rtri:d3e,rtrie:f3e,rtrif:h3e,rtriltri:p3e,RuleDelayed:m3e,ruluhar:g3e,rx:v3e,Sacute:b3e,sacute:y3e,sbquo:x3e,scap:C3e,Scaron:w3e,scaron:_3e,Sc:S3e,sc:k3e,sccue:T3e,sce:P3e,scE:R3e,Scedil:E3e,scedil:$3e,Scirc:A3e,scirc:I3e,scnap:M3e,scnE:z3e,scnsim:O3e,scpolint:D3e,scsim:L3e,Scy:F3e,scy:N3e,sdotb:B3e,sdot:H3e,sdote:j3e,searhk:V3e,searr:U3e,seArr:W3e,searrow:q3e,sect:K3e,semi:G3e,seswar:Y3e,setminus:X3e,setmn:Q3e,sext:Z3e,Sfr:J3e,sfr:e4e,sfrown:t4e,sharp:n4e,SHCHcy:o4e,shchcy:r4e,SHcy:i4e,shcy:a4e,ShortDownArrow:s4e,ShortLeftArrow:l4e,shortmid:c4e,shortparallel:u4e,ShortRightArrow:d4e,ShortUpArrow:f4e,shy:h4e,Sigma:p4e,sigma:m4e,sigmaf:g4e,sigmav:v4e,sim:b4e,simdot:y4e,sime:x4e,simeq:C4e,simg:w4e,simgE:_4e,siml:S4e,simlE:k4e,simne:T4e,simplus:P4e,simrarr:R4e,slarr:E4e,SmallCircle:$4e,smallsetminus:A4e,smashp:I4e,smeparsl:M4e,smid:z4e,smile:O4e,smt:D4e,smte:L4e,smtes:F4e,SOFTcy:N4e,softcy:B4e,solbar:H4e,solb:j4e,sol:V4e,Sopf:U4e,sopf:W4e,spades:q4e,spadesuit:K4e,spar:G4e,sqcap:Y4e,sqcaps:X4e,sqcup:Q4e,sqcups:Z4e,Sqrt:J4e,sqsub:e5e,sqsube:t5e,sqsubset:n5e,sqsubseteq:o5e,sqsup:r5e,sqsupe:i5e,sqsupset:a5e,sqsupseteq:s5e,square:l5e,Square:c5e,SquareIntersection:u5e,SquareSubset:d5e,SquareSubsetEqual:f5e,SquareSuperset:h5e,SquareSupersetEqual:p5e,SquareUnion:m5e,squarf:g5e,squ:v5e,squf:b5e,srarr:y5e,Sscr:x5e,sscr:C5e,ssetmn:w5e,ssmile:_5e,sstarf:S5e,Star:k5e,star:T5e,starf:P5e,straightepsilon:R5e,straightphi:E5e,strns:$5e,sub:A5e,Sub:I5e,subdot:M5e,subE:z5e,sube:O5e,subedot:D5e,submult:L5e,subnE:F5e,subne:N5e,subplus:B5e,subrarr:H5e,subset:j5e,Subset:V5e,subseteq:U5e,subseteqq:W5e,SubsetEqual:q5e,subsetneq:K5e,subsetneqq:G5e,subsim:Y5e,subsub:X5e,subsup:Q5e,succapprox:Z5e,succ:J5e,succcurlyeq:eTe,Succeeds:tTe,SucceedsEqual:nTe,SucceedsSlantEqual:oTe,SucceedsTilde:rTe,succeq:iTe,succnapprox:aTe,succneqq:sTe,succnsim:lTe,succsim:cTe,SuchThat:uTe,sum:dTe,Sum:fTe,sung:hTe,sup1:pTe,sup2:mTe,sup3:gTe,sup:vTe,Sup:bTe,supdot:yTe,supdsub:xTe,supE:CTe,supe:wTe,supedot:_Te,Superset:STe,SupersetEqual:kTe,suphsol:TTe,suphsub:PTe,suplarr:RTe,supmult:ETe,supnE:$Te,supne:ATe,supplus:ITe,supset:MTe,Supset:zTe,supseteq:OTe,supseteqq:DTe,supsetneq:LTe,supsetneqq:FTe,supsim:NTe,supsub:BTe,supsup:HTe,swarhk:jTe,swarr:VTe,swArr:UTe,swarrow:WTe,swnwar:qTe,szlig:KTe,Tab:GTe,target:YTe,Tau:XTe,tau:QTe,tbrk:ZTe,Tcaron:JTe,tcaron:ePe,Tcedil:tPe,tcedil:nPe,Tcy:oPe,tcy:rPe,tdot:iPe,telrec:aPe,Tfr:sPe,tfr:lPe,there4:cPe,therefore:uPe,Therefore:dPe,Theta:fPe,theta:hPe,thetasym:pPe,thetav:mPe,thickapprox:gPe,thicksim:vPe,ThickSpace:bPe,ThinSpace:yPe,thinsp:xPe,thkap:CPe,thksim:wPe,THORN:_Pe,thorn:SPe,tilde:kPe,Tilde:TPe,TildeEqual:PPe,TildeFullEqual:RPe,TildeTilde:EPe,timesbar:$Pe,timesb:APe,times:IPe,timesd:MPe,tint:zPe,toea:OPe,topbot:DPe,topcir:LPe,top:FPe,Topf:NPe,topf:BPe,topfork:HPe,tosa:jPe,tprime:VPe,trade:UPe,TRADE:WPe,triangle:qPe,triangledown:KPe,triangleleft:GPe,trianglelefteq:YPe,triangleq:XPe,triangleright:QPe,trianglerighteq:ZPe,tridot:JPe,trie:eRe,triminus:tRe,TripleDot:nRe,triplus:oRe,trisb:rRe,tritime:iRe,trpezium:aRe,Tscr:sRe,tscr:lRe,TScy:cRe,tscy:uRe,TSHcy:dRe,tshcy:fRe,Tstrok:hRe,tstrok:pRe,twixt:mRe,twoheadleftarrow:gRe,twoheadrightarrow:vRe,Uacute:bRe,uacute:yRe,uarr:xRe,Uarr:CRe,uArr:wRe,Uarrocir:_Re,Ubrcy:SRe,ubrcy:kRe,Ubreve:TRe,ubreve:PRe,Ucirc:RRe,ucirc:ERe,Ucy:$Re,ucy:ARe,udarr:IRe,Udblac:MRe,udblac:zRe,udhar:ORe,ufisht:DRe,Ufr:LRe,ufr:FRe,Ugrave:NRe,ugrave:BRe,uHar:HRe,uharl:jRe,uharr:VRe,uhblk:URe,ulcorn:WRe,ulcorner:qRe,ulcrop:KRe,ultri:GRe,Umacr:YRe,umacr:XRe,uml:QRe,UnderBar:ZRe,UnderBrace:JRe,UnderBracket:eEe,UnderParenthesis:tEe,Union:nEe,UnionPlus:oEe,Uogon:rEe,uogon:iEe,Uopf:aEe,uopf:sEe,UpArrowBar:lEe,uparrow:cEe,UpArrow:uEe,Uparrow:dEe,UpArrowDownArrow:fEe,updownarrow:hEe,UpDownArrow:pEe,Updownarrow:mEe,UpEquilibrium:gEe,upharpoonleft:vEe,upharpoonright:bEe,uplus:yEe,UpperLeftArrow:xEe,UpperRightArrow:CEe,upsi:wEe,Upsi:_Ee,upsih:SEe,Upsilon:kEe,upsilon:TEe,UpTeeArrow:PEe,UpTee:REe,upuparrows:EEe,urcorn:$Ee,urcorner:AEe,urcrop:IEe,Uring:MEe,uring:zEe,urtri:OEe,Uscr:DEe,uscr:LEe,utdot:FEe,Utilde:NEe,utilde:BEe,utri:HEe,utrif:jEe,uuarr:VEe,Uuml:UEe,uuml:WEe,uwangle:qEe,vangrt:KEe,varepsilon:GEe,varkappa:YEe,varnothing:XEe,varphi:QEe,varpi:ZEe,varpropto:JEe,varr:e$e,vArr:t$e,varrho:n$e,varsigma:o$e,varsubsetneq:r$e,varsubsetneqq:i$e,varsupsetneq:a$e,varsupsetneqq:s$e,vartheta:l$e,vartriangleleft:c$e,vartriangleright:u$e,vBar:d$e,Vbar:f$e,vBarv:h$e,Vcy:p$e,vcy:m$e,vdash:g$e,vDash:v$e,Vdash:b$e,VDash:y$e,Vdashl:x$e,veebar:C$e,vee:w$e,Vee:_$e,veeeq:S$e,vellip:k$e,verbar:T$e,Verbar:P$e,vert:R$e,Vert:E$e,VerticalBar:$$e,VerticalLine:A$e,VerticalSeparator:I$e,VerticalTilde:M$e,VeryThinSpace:z$e,Vfr:O$e,vfr:D$e,vltri:L$e,vnsub:F$e,vnsup:N$e,Vopf:B$e,vopf:H$e,vprop:j$e,vrtri:V$e,Vscr:U$e,vscr:W$e,vsubnE:q$e,vsubne:K$e,vsupnE:G$e,vsupne:Y$e,Vvdash:X$e,vzigzag:Q$e,Wcirc:Z$e,wcirc:J$e,wedbar:eAe,wedge:tAe,Wedge:nAe,wedgeq:oAe,weierp:rAe,Wfr:iAe,wfr:aAe,Wopf:sAe,wopf:lAe,wp:cAe,wr:uAe,wreath:dAe,Wscr:fAe,wscr:hAe,xcap:pAe,xcirc:mAe,xcup:gAe,xdtri:vAe,Xfr:bAe,xfr:yAe,xharr:xAe,xhArr:CAe,Xi:wAe,xi:_Ae,xlarr:SAe,xlArr:kAe,xmap:TAe,xnis:PAe,xodot:RAe,Xopf:EAe,xopf:$Ae,xoplus:AAe,xotime:IAe,xrarr:MAe,xrArr:zAe,Xscr:OAe,xscr:DAe,xsqcup:LAe,xuplus:FAe,xutri:NAe,xvee:BAe,xwedge:HAe,Yacute:jAe,yacute:VAe,YAcy:UAe,yacy:WAe,Ycirc:qAe,ycirc:KAe,Ycy:GAe,ycy:YAe,yen:XAe,Yfr:QAe,yfr:ZAe,YIcy:JAe,yicy:e6e,Yopf:t6e,yopf:n6e,Yscr:o6e,yscr:r6e,YUcy:i6e,yucy:a6e,yuml:s6e,Yuml:l6e,Zacute:c6e,zacute:u6e,Zcaron:d6e,zcaron:f6e,Zcy:h6e,zcy:p6e,Zdot:m6e,zdot:g6e,zeetrf:v6e,ZeroWidthSpace:b6e,Zeta:y6e,zeta:x6e,zfr:C6e,Zfr:w6e,ZHcy:_6e,zhcy:S6e,zigrarr:k6e,zopf:T6e,Zopf:P6e,Zscr:R6e,zscr:E6e,zwj:$6e,zwnj:A6e};var wS=I6e,xm=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Ba={},X0={};function M6e(e){var t,n,o=X0[e];if(o)return o;for(o=X0[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=M6e(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}Ou.defaultChars=";/?:@&=+$,-_.!~*'()#";Ou.componentChars="-_.!~*'()";var z6e=Ou,Q0={};function O6e(e){var t,n,o=Q0[e];if(o)return o;for(o=Q0[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})}Du.defaultChars=";/?:@&=+$,#";Du.componentChars="";var D6e=Du,L6e=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 $c(){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 F6e=/^([a-z0-9.+-]+:)/i,N6e=/:[0-9]*$/,B6e=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,H6e=["<",">",'"',"`"," ","\r",` +`," "],j6e=["{","}","|","\\","^","`"].concat(H6e),V6e=["'"].concat(j6e),Z0=["%","/","?",";","#"].concat(V6e),J0=["/","?","#"],U6e=255,e1=/^[+a-z0-9A-Z_-]{0,63}$/,W6e=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,t1={javascript:!0,"javascript:":!0},n1={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function q6e(e,t){if(e&&e instanceof $c)return e;var n=new $c;return n.parse(e,t),n}$c.prototype.parse=function(e,t){var n,o,r,i,a,s=e;if(s=s.trim(),!t&&e.split("#").length===1){var l=B6e.exec(s);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=F6e.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&&t1[c])&&(s=s.substr(2),this.slashes=!0)),!t1[c]&&(a||c&&!n1[c])){var u=-1;for(n=0;n127?g+="x":g+=v[y];if(!g.match(e1)){var C=m.slice(0,n),_=m.slice(n+1),x=v.match(W6e);x&&(C.push(x[1]),_.unshift(x[2])),_.length&&(s=_.join(".")+s),this.hostname=C.join(".");break}}}}this.hostname.length>U6e&&(this.hostname=""),h&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var w=s.indexOf("#");w!==-1&&(this.hash=s.substr(w),s=s.slice(0,w));var T=s.indexOf("?");return T!==-1&&(this.search=s.substr(T),s=s.slice(0,T)),s&&(this.pathname=s),n1[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this};$c.prototype.parseHost=function(e){var t=N6e.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 K6e=q6e;Ba.encode=z6e;Ba.decode=D6e;Ba.format=L6e;Ba.parse=K6e;var Gr={},Vd,o1;function _S(){return o1||(o1=1,Vd=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Vd}var Ud,r1;function SS(){return r1||(r1=1,Ud=/[\0-\x1F\x7F-\x9F]/),Ud}var Wd,i1;function G6e(){return i1||(i1=1,Wd=/[\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]/),Wd}var qd,a1;function kS(){return a1||(a1=1,qd=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),qd}var s1;function Y6e(){return s1||(s1=1,Gr.Any=_S(),Gr.Cc=SS(),Gr.Cf=G6e(),Gr.P=xm,Gr.Z=kS()),Gr}(function(e){function t(B){return Object.prototype.toString.call(B)}function n(B){return t(B)==="[object String]"}var o=Object.prototype.hasOwnProperty;function r(B,z){return o.call(B,z)}function i(B){var z=Array.prototype.slice.call(arguments,1);return z.forEach(function($){if($){if(typeof $!="object")throw new TypeError($+"must be object");Object.keys($).forEach(function(j){B[j]=$[j]})}}),B}function a(B,z,$){return[].concat(B.slice(0,z),$,B.slice(z+1))}function s(B){return!(B>=55296&&B<=57343||B>=64976&&B<=65007||(B&65535)===65535||(B&65535)===65534||B>=0&&B<=8||B===11||B>=14&&B<=31||B>=127&&B<=159||B>1114111)}function l(B){if(B>65535){B-=65536;var z=55296+(B>>10),$=56320+(B&1023);return String.fromCharCode(z,$)}return String.fromCharCode(B)}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=wS;function h(B,z){var $;return r(p,z)?p[z]:z.charCodeAt(0)===35&&f.test(z)&&($=z[1].toLowerCase()==="x"?parseInt(z.slice(2),16):parseInt(z.slice(1),10),s($))?l($):B}function m(B){return B.indexOf("\\")<0?B:B.replace(c,"$1")}function v(B){return B.indexOf("\\")<0&&B.indexOf("&")<0?B:B.replace(d,function(z,$,j){return $||h(z,j)})}var g=/[&<>"]/,y=/[&<>"]/g,S={"&":"&","<":"<",">":">",'"':"""};function C(B){return S[B]}function _(B){return g.test(B)?B.replace(y,C):B}var x=/[.?*+^$[\]\\(){}|-]/g;function w(B){return B.replace(x,"\\$&")}function T(B){switch(B){case 9:case 32:return!0}return!1}function P(B){if(B>=8192&&B<=8202)return!0;switch(B){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 k=xm;function A(B){return k.test(B)}function I(B){switch(B){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 W(B){return B=B.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(B=B.replace(/ẞ/g,"ß")),B.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=Ba,e.lib.ucmicro=Y6e(),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=T,e.isWhiteSpace=P,e.isMdAsciiPunct=I,e.isPunctChar=A,e.escapeRE=w,e.normalizeReference=W})(Dt);var Lu={},X6e=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=l1(t.slice(n,a)),s.pos=a,s.ok=!0),s},Z6e=Dt.unescapeAll,J6e=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"+yi(i.content)+""};Vo.code_block=function(e,t,n,o,r){var i=e[t];return""+yi(e[t].content)+` +`};Vo.fence=function(e,t,n,o,r){var i=e[t],a=i.info?t8e(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)||yi(i.content):c=yi(i.content),c.indexOf(""+c+` `):"
"+c+`
`};Vo.image=function(e,t,n,o,r){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=r.renderInlineAsText(i.children,n,o),r.renderToken(e,t,n)};Vo.hardbreak=function(e,t,n){return n.xhtmlOut?`
@@ -3806,9 +3806,9 @@ ${t} `};Vo.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`
`:`
`:` -`};Vo.text=function(e,t){return yi(e[t].content)};Vo.html_block=function(e,t){return e[t].content};Vo.html_inline=function(e,t){return e[t].content};function Ha(){this.rules=J6e({},Vo)}Ha.prototype.renderAttrs=function(t){var n,o,r;if(!t.attrs)return"";for(r="",n=0,o=t.attrs.length;n `:">",i)};Ha.prototype.renderInline=function(e,t,n){for(var o,r="",i=this.rules,a=0,s=e.length;a\s]/i.test(e)}function c8e(e){return/^<\/a\s*>/i.test(e)}var u8e=function(t){var n,o,r,i,a,s,l,c,u,d,f,p,h,m,v,g,y=t.tokens,S;if(t.md.options.linkify){for(o=0,r=y.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"&&(l8e(s.content)&&h>0&&h--,c8e(s.content)&&h++),!(h>0)&&s.type==="text"&&t.md.linkify.test(s.content)){for(u=s.content,S=t.md.linkify.match(u),l=[],p=s.level,f=0,S.length>0&&S[0].index===0&&n>0&&i[n-1].type==="text_special"&&(S=S.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=g,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=S[c].lastIndex);f=0;t--)n=e[t],n.type==="text"&&!o&&(n.content=n.content.replace(f8e,p8e)),n.type==="link_open"&&n.info==="auto"&&o--,n.type==="link_close"&&n.info==="auto"&&o++}function g8e(e){var t,n,o=0;for(t=e.length-1;t>=0;t--)n=e[t],n.type==="text"&&!o&&kS.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 v8e=function(t){var n;if(t.md.options.typographer)for(n=t.tokens.length-1;n>=0;n--)t.tokens[n].type==="inline"&&(d8e.test(t.tokens[n].content)&&m8e(t.tokens[n].children),kS.test(t.tokens[n].content)&&g8e(t.tokens[n].children))},l1=Dt.isWhiteSpace,c1=Dt.isPunctChar,u1=Dt.isMdAsciiPunct,b8e=/['"]/,d1=/['"]/g,f1="’";function Ul(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function y8e(e,t){var n,o,r,i,a,s,l,c,u,d,f,p,h,m,v,g,y,S,C,_,x;for(C=[],n=0;n=0&&!(C[y].level<=l);y--);if(C.length=y+1,o.type==="text"){r=o.content,a=0,s=r.length;e:for(;a=0)u=r.charCodeAt(i.index-1);else for(y=n-1;y>=0&&!(e[y].type==="softbreak"||e[y].type==="hardbreak");y--)if(e[y].content){u=e[y].content.charCodeAt(e[y].content.length-1);break}if(d=32,a=48&&u<=57&&(g=v=!1),v&&g&&(v=f,g=p),!v&&!g){S&&(o.content=Ul(o.content,i.index,f1));continue}if(g){for(y=C.length-1;y>=0&&(c=C[y],!(C[y].level=0;n--)t.tokens[n].type!=="inline"||!b8e.test(t.tokens[n].content)||y8e(t.tokens[n].children,t)},C8e=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};ja.prototype.attrJoin=function(t,n){var o=this.attrIndex(t);o<0?this.attrPush([t,n]):this.attrs[o][1]=this.attrs[o][1]+" "+n};var wm=ja,w8e=wm;function TS(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}TS.prototype.Token=w8e;var _8e=TS,S8e=Cm,Kd=[["normalize",r8e],["block",i8e],["inline",a8e],["linkify",u8e],["replacements",v8e],["smartquotes",x8e],["text_join",C8e]];function _m(){this.ruler=new S8e;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&&!Gd(x))||_===45&&Gd(x))return!1;for(;s=4||(d=h1(a),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),f=d.length,f===0||f!==h.length))return!1;if(r)return!0;for(y=t.parentType,t.parentType="table",C=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=h1(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=g=[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},R8e=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(k)!==62)return!1;if(r)return!0;for(h=[],m=[],y=[],S=[],x=t.md.block.ruler.getRules("blockquote"),g=t.parentType,t.parentType="blockquote",f=n;f=I));f++){if(t.src.charCodeAt(k++)===62&&!T){for(l=t.sCount[f]+1,t.src.charCodeAt(k)===32?(k++,l++,i=!1,C=!0):t.src.charCodeAt(k)===9?(C=!0,(t.bsCount[f]+l)%4===3?(k++,l++,i=!1):i=!0):C=!1,p=l,h.push(t.bMarks[f]),t.bMarks[f]=k;k=I,m.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(C?1:0),y.push(t.sCount[f]),t.sCount[f]=p-l,S.push(t.tShift[f]),t.tShift[f]=k-t.bMarks[f];continue}if(u)break;for(_=!1,s=0,c=x.length;s",w.map=d=[n,0],t.md.block.tokenize(t,n,f),w=t.push("blockquote_close","blockquote",-1),w.markup=">",t.lineMax=P,t.parentType=g,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[$]-t.listIndent>=4&&t.sCount[$]=t.blkIndent&&(W=!0),(k=m1(t,$))>=0){if(d=!0,A=t.bMarks[$]+t.tShift[$],g=Number(t.src.slice(A,k-1)),W&&g!==1)return!1}else if((k=p1(t,$))>=0)d=!1;else return!1;if(W&&t.skipSpaces(k)>=t.eMarks[$])return!1;if(r)return!0;for(v=t.src.charCodeAt(k-1),m=t.tokens.length,d?(O=t.push("ordered_list_open","ol",1),g!==1&&(O.attrs=[["start",g]])):O=t.push("bullet_list_open","ul",1),O.map=h=[$,0],O.markup=String.fromCharCode(v),I=!1,F=t.md.block.ruler.getRules("list"),_=t.parentType,t.parentType="list";$=y?c=1:c=S-u,c>4&&(c=1),l=u+c,O=t.push("list_item_open","li",1),O.markup=String.fromCharCode(v),O.map=f=[$,0],d&&(O.info=t.src.slice(A,k-1)),T=t.tight,w=t.tShift[$],x=t.sCount[$],C=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=l,t.tight=!0,t.tShift[$]=a-t.bMarks[$],t.sCount[$]=S,a>=y&&t.isEmpty($+1)?t.line=Math.min(t.line+2,o):t.md.block.tokenize(t,$,o,!0),(!t.tight||I)&&(Q=!1),I=t.line-$>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=C,t.tShift[$]=w,t.sCount[$]=x,t.tight=T,O=t.push("list_item_close","li",-1),O.markup=String.fromCharCode(v),$=t.line,f[1]=$,$>=o||t.sCount[$]=4)break;for(q=!1,s=0,p=F.length;s=4||t.src.charCodeAt(x)!==91)return!1;for(;++x3)&&!(t.sCount[T]<0)){for(y=!1,u=0,d=S.length;u"u"&&(t.env.references={}),typeof t.env.references[f]>"u"&&(t.env.references[f]={title:C,href:c}),t.parentType=h,t.line=n+_+1),!0)},L8e=["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"],Fu={},F8e="[a-zA-Z_:][a-zA-Z0-9:._-]*",N8e="[^\"'=<>`\\x00-\\x20]+",B8e="'[^']*'",H8e='"[^"]*"',j8e="(?:"+N8e+"|"+B8e+"|"+H8e+")",V8e="(?:\\s+"+F8e+"(?:\\s*=\\s*"+j8e+")?)",RS="<[A-Za-z][A-Za-z0-9\\-]*"+V8e+"*\\s*\\/?>",ES="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",U8e="|",W8e="<[?][\\s\\S]*?[?]>",q8e="]*>",K8e="",G8e=new RegExp("^(?:"+RS+"|"+ES+"|"+U8e+"|"+W8e+"|"+q8e+"|"+K8e+")"),Y8e=new RegExp("^(?:"+RS+"|"+ES+")");Fu.HTML_TAG_RE=G8e;Fu.HTML_OPEN_CLOSE_TAG_RE=Y8e;var X8e=L8e,Q8e=Fu.HTML_OPEN_CLOSE_TAG_RE,qi=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(Q8e.source+"\\s*$"),/^$/,!1]],Z8e=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&&g1(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)},eIe=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};Uo.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};Uo.prototype.skipEmptyLines=function(t){for(var n=this.lineMax;tn;)if(!Nu(this.src.charCodeAt(--t)))return t+1;return t};Uo.prototype.skipChars=function(t,n){for(var o=this.src.length;to;)if(n!==this.src.charCodeAt(--t))return t+1;return t};Uo.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("")};Uo.prototype.Token=$S;var nIe=Uo,oIe=Cm,ql=[["table",T8e,["paragraph","reference"]],["code",P8e],["fence",R8e,["paragraph","reference","blockquote","list"]],["blockquote",$8e,["paragraph","reference","blockquote","list"]],["hr",I8e,["paragraph","reference","blockquote","list"]],["list",z8e,["paragraph","reference","blockquote"]],["reference",D8e],["html_block",Z8e,["paragraph","reference","blockquote"]],["heading",J8e,["paragraph","reference","blockquote"]],["lheading",eIe],["paragraph",tIe]];function Bu(){this.ruler=new oIe;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(sIe),!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)},cIe=Dt.isSpace,uIe=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){Sm[e.charCodeAt(0)]=1});var fIe=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&&Sm[o]!==0?s.content=a:s.content=i,s.markup=i,s.info="escape"),t.pos=l+1,!0},hIe=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--))}ju.postProcess=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for(y1(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)&&(g=!0),l++}if(g){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[pIe(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},gIe=Dt.normalizeReference,Qd=Dt.isSpace,vIe=function(t,n){var o,r,i,a,s,l,c,u,d,f,p,h,m,v="",g=t.pos,y=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=y)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=y||t.src.charCodeAt(c)!==41)return t.pos=g,!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[gIe(a)],!u)return t.pos=g,!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=y,!0},bIe=/^([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])?)*)$/,yIe=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,xIe=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),yIe.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):bIe.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},CIe=Fu.HTML_TAG_RE;function wIe(e){return/^\s]/i.test(e)}function _Ie(e){return/^<\/a\s*>/i.test(e)}function SIe(e){var t=e|32;return t>=97&&t<=122}var kIe=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&&!SIe(o))||(r=t.src.slice(s).match(CIe),!r)?!1:(n||(a=t.push("html_inline","",0),a.content=r[0],wIe(a.content)&&t.linkLevel++,_Ie(a.content)&&t.linkLevel--),t.pos+=r[0].length,!0)},x1=CS,TIe=Dt.has,PIe=Dt.isValidEntityCode,C1=Dt.fromCodePoint,RIe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,EIe=/^&([a-z][a-z0-9]{1,31});/i,$Ie=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(RIe),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=PIe(r)?C1(r):C1(65533),a.markup=i[0],a.info="entity"),t.pos+=i[0].length,!0}else if(i=t.src.slice(s).match(EIe),i&&TIe(x1,i[1]))return n||(a=t.push("text_special","",0),a.content=x1[i[1]],a.markup=i[0],a.info="entity"),t.pos+=i[0].length,!0;return!1};function w1(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 AIe=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for(w1(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};dl.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};fl.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()};fl.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}),ef}function xh(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 Vu(e){return Object.prototype.toString.call(e)}function DIe(e){return Vu(e)==="[object String]"}function LIe(e){return Vu(e)==="[object Object]"}function FIe(e){return Vu(e)==="[object RegExp]"}function R1(e){return Vu(e)==="[object Function]"}function NIe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var AS={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function BIe(e){return Object.keys(e||{}).reduce(function(t,n){return t||AS.hasOwnProperty(n)},!1)}var HIe={"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}}},jIe="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]",VIe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function UIe(e){e.__index__=-1,e.__text_cache__=""}function WIe(e){return function(t,n){var o=t.slice(n);return e.test(o)?o.match(e)[0].length:0}}function E1(){return function(e,t){t.normalize(e)}}function Ac(e){var t=e.re=OIe()(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(jIe),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,LIe(l)){FIe(l.validate)?c.validate=WIe(l.validate):R1(l.validate)?c.validate=l.validate:i(s,l),R1(l.normalize)?c.normalize=l.normalize:l.normalize?i(s,l):c.normalize=E1();return}if(DIe(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:E1()};var a=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(NIe).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"),UIe(e)}function qIe(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 Ch(e,t){var n=new qIe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Yn(e,t){if(!(this instanceof Yn))return new Yn(e,t);t||BIe(e)&&(t=e,e={}),this.__opts__=xh({},AS,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=xh({},HIe,e),this.__compiled__={},this.__tlds__=VIe,this.__tlds_replaced__=!1,this.re={},Ac(this)}Yn.prototype.add=function(t,n){return this.__schemas__[t]=n,Ac(this),this};Yn.prototype.set=function(t){return this.__opts__=xh(this.__opts__,t),this};Yn.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};Yn.prototype.pretest=function(t){return this.re.pretest.test(t)};Yn.prototype.testSchemaAt=function(t,n,o){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,o,this):0};Yn.prototype.match=function(t){var n=0,o=[];this.__index__>=0&&this.__text_cache__===t&&(o.push(Ch(this,n)),n=this.__last_index__);for(var r=n?t.slice(n):t;this.test(r);)o.push(Ch(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return o.length?o:null};Yn.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,Ch(this,0)):null};Yn.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(),Ac(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,Ac(this),this)};Yn.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};Yn.prototype.onCompile=function(){};var KIe=Yn;const aa=2147483647,zo=36,Tm=1,Vs=26,GIe=38,YIe=700,IS=72,MS=128,zS="-",XIe=/^xn--/,QIe=/[^\0-\x7F]/,ZIe=/[\x2E\u3002\uFF0E\uFF61]/g,JIe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},tf=zo-Tm,Oo=Math.floor,nf=String.fromCharCode;function _r(e){throw new RangeError(JIe[e])}function eMe(e,t){const n=[];let o=e.length;for(;o--;)n[o]=t(e[o]);return n}function OS(e,t){const n=e.split("@");let o="";n.length>1&&(o=n[0]+"@",e=n[1]),e=e.replace(ZIe,".");const r=e.split("."),i=eMe(r,t).join(".");return o+i}function Pm(e){const t=[];let n=0;const o=e.length;for(;n=55296&&r<=56319&&nString.fromCodePoint(...e),tMe=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:zo},$1=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},LS=function(e,t,n){let o=0;for(e=n?Oo(e/YIe):e>>1,e+=Oo(e/t);e>tf*Vs>>1;o+=zo)e=Oo(e/tf);return Oo(o+(tf+1)*e/(e+GIe))},Rm=function(e){const t=[],n=e.length;let o=0,r=MS,i=IS,a=e.lastIndexOf(zS);a<0&&(a=0);for(let s=0;s=128&&_r("not-basic"),t.push(e.charCodeAt(s));for(let s=a>0?a+1:0;s=n&&_r("invalid-input");const f=tMe(e.charCodeAt(s++));f>=zo&&_r("invalid-input"),f>Oo((aa-o)/u)&&_r("overflow"),o+=f*u;const p=d<=i?Tm:d>=i+Vs?Vs:d-i;if(fOo(aa/h)&&_r("overflow"),u*=h}const c=t.length+1;i=LS(o-l,c,l==0),Oo(o/c)>aa-r&&_r("overflow"),r+=Oo(o/c),o%=c,t.splice(o++,0,r)}return String.fromCodePoint(...t)},Em=function(e){const t=[];e=Pm(e);const n=e.length;let o=MS,r=0,i=IS;for(const l of e)l<128&&t.push(nf(l));const a=t.length;let s=a;for(a&&t.push(zS);s=o&&uOo((aa-r)/c)&&_r("overflow"),r+=(l-o)*c,o=l;for(const u of e)if(uaa&&_r("overflow"),u===o){let d=r;for(let f=zo;;f+=zo){const p=f<=i?Tm:f>=i+Vs?Vs:f-i;if(d=0))try{t.hostname=BS.toASCII(t.hostname)}catch{}return ri.encode(ri.format(t))}function yMe(e){var t=ri.parse(e,!0);if(t.hostname&&(!t.protocol||HS.indexOf(t.protocol)>=0))try{t.hostname=BS.toUnicode(t.hostname)}catch{}return ri.decode(ri.format(t),ri.decode.defaultChars+"%")}function ao(e,t){if(!(this instanceof ao))return new ao(e,t);t||ys.isString(e)||(t=e||{},e="default"),this.inline=new fMe,this.block=new dMe,this.core=new uMe,this.renderer=new cMe,this.linkify=new hMe,this.validateLink=vMe,this.normalizeLink=bMe,this.normalizeLinkText=yMe,this.utils=ys,this.helpers=ys.assign({},lMe),this.options={},this.configure(e),t&&this.set(t)}ao.prototype.set=function(e){return ys.assign(this.options,e),this};ao.prototype.configure=function(e){var t=this,n;if(ys.isString(e)&&(n=e,e=pMe[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};ao.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};ao.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};ao.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};ao.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};ao.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};ao.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};ao.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var xMe=ao,CMe=xMe;const Uu=rp(CMe),wMe={xmlns:"http://www.w3.org/2000/svg",id:"Layer_1",viewBox:"0 0 442.19 323.31"},_Me=H("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),SMe=H("path",{d:"M382.09 37.76H340l-10.84 123.9H221.09l-14.14 161.65 85.83-121.47h145.89l3.52-40.18h-70.94l10.84-123.9z",class:"cls-2"},null,-1),kMe=H("path",{d:"M149.41 121.47H3.52L0 161.66h221.09L235.23 0z",style:{fill:"#ffbc00"}},null,-1);function TMe(e,t){return be(),ze("svg",wMe,[H("defs",null,[(be(),Ge(Hc("style"),null,{default:le(()=>[Je(".cls-2{fill:#000}@media (prefers-color-scheme:dark){.cls-2{fill:#fff}}")]),_:1}))]),_Me,SMe,kMe])}const PMe={render:TMe},RMe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1109 1027"},EMe=i4('',2),$Me=[EMe];function AMe(e,t){return be(),ze("svg",RMe,[...$Me])}const of={render:AMe},IMe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64"},MMe=H("g",{fill:"#E29942","clip-path":"url(#clip0_408_56)"},[H("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.685v-5.782"}),H("path",{"fill-rule":"evenodd",d:"M24.397 26.46a1.684 1.684 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.684 1.684 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.444l-13.474 8.085","clip-rule":"evenodd"}),H("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=[MMe];function OMe(e,t){return be(),ze("svg",IMe,[...zMe])}const rf={render:OMe},Ni=e=>(y3("data-v-db83f70d"),e=e(),x3(),e),DMe=["innerHTML"],LMe={class:"w-64"},FMe={class:"text-#666"},NMe={class:"w-64"},BMe={class:"text-#666"},HMe=Ni(()=>H("div",{class:"w-64"},[H("img",{src:rJ,class:"h-30 w-30"})],-1)),jMe={class:"text-#666"},VMe={class:"w-64"},UMe={class:"text-#666"},WMe={class:"font-bold"},qMe={class:"mb-20"},KMe={class:"text-center"},GMe={class:"mt-10 text-center"},YMe={class:"w-64"},XMe={class:"text-#666"},QMe=Ni(()=>H("div",{class:"w-64"},[H("img",{src:vS,class:"h-30 w-30"})],-1)),ZMe={class:"text-#666"},JMe={class:"w-64"},eze={class:"text-#666"},tze={class:"w-64"},nze={class:"text-#666"},oze=Ni(()=>H("div",{class:"w-64"},[H("img",{src:iJ,class:"h-30 w-30 border-rounded-5"})],-1)),rze={class:"text-#666"},ize=Ni(()=>H("div",{class:"w-64"},[H("img",{src:aJ,class:"h-30 w-30 border-rounded-5"})],-1)),aze={class:"text-#666"},sze={class:"w-64"},lze={class:"text-#666"},cze=Ni(()=>H("div",{class:"w-64"},[H("img",{src:sJ,class:"h-30 w-30"})],-1)),uze={class:"text-#666"},dze=Ni(()=>H("div",{class:"w-64"},[H("img",{src:vS,class:"h-30 w-30"})],-1)),fze={class:"text-#666"},hze={class:"w-64"},pze={class:"text-#666"},mze=Ni(()=>H("div",{class:"w-64"},[H("img",{src:lJ,class:"h-30 w-30"})],-1)),gze={class:"text-#666"},vze={class:"w-64"},bze={class:"text-#666"},yze={class:"p-10 text-center"},xze={class:"mb-5 md:mb-40"},Cze={key:0,class:"mb-10"},wze={class:"font-bold"},_ze=["onClick"],Sze={class:"text-20"},kze={class:"text-16 font-600 color-[hsla(0,0%,100%,.75)]"},Tze={class:"text-block mb-16 p-t-20 text-20 font-600"},Pze={key:0,class:"mb-16 text-14 text-gray"},Rze={key:1,class:"mb-16 text-14 font-600 text-red-500"},Eze={key:2,class:"mb-16 text-14 text-gray"},$ze={class:"text-gray"},Aze={class:""},Ize={class:"text-16"},Mze={class:"text-14 text-gray"},zze={class:""},Oze={class:"text-16"},Dze={class:"text-14 text-gray"},Lze={class:""},Fze={class:"text-16"},Nze={class:"text-14 text-gray"},Bze={class:""},Hze={class:"text-16"},jze={class:"text-14 text-gray"},Vze="data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjIwMCIgd2lkdGg9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwIDgpIj48Y2lyY2xlIGN4PSIxNzYiIGN5PSIxMiIgcj0iNCIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMjAuNS41bDIzIDExbS0yOSA4NGwtMy43OSAxMC4zNzdNMjcuMDM3IDEzMS40bDUuODk4IDIuMjAzLTMuNDYgNS45NDcgNi4wNzIgMi4zOTItMy45MzMgNS43NThtMTI4LjczMyAzNS4zN2wuNjkzLTkuMzE2IDEwLjI5Mi4wNTIuNDE2LTkuMjIyIDkuMjc0LjMzMk0uNSA0OC41czYuMTMxIDYuNDEzIDYuODQ3IDE0LjgwNWMuNzE1IDguMzkzLTIuNTIgMTQuODA2LTIuNTIgMTQuODA2TTEyNC41NTUgOTBzLTcuNDQ0IDAtMTMuNjcgNi4xOTJjLTYuMjI3IDYuMTkyLTQuODM4IDEyLjAxMi00LjgzOCAxMi4wMTJtMi4yNCA2OC42MjZzLTQuMDI2LTkuMDI1LTE4LjE0NS05LjAyNS0xOC4xNDUgNS43LTE4LjE0NSA1LjciIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNODUuNzE2IDM2LjE0Nmw1LjI0My05LjUyMWgxMS4wOTNsNS40MTYgOS41MjEtNS40MSA5LjE4NUg5MC45NTN6bTYzLjkwOSAxNS40NzloMTAuNzV2MTAuNzVoLTEwLjc1eiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48ZyBmaWxsPSIjZGRkIj48Y2lyY2xlIGN4PSI3MS41IiBjeT0iNy41IiByPSIxLjUiLz48Y2lyY2xlIGN4PSIxNzAuNSIgY3k9Ijk1LjUiIHI9IjEuNSIvPjxjaXJjbGUgY3g9IjgxLjUiIGN5PSIxMzQuNSIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iMTMuNSIgY3k9IjIzLjUiIHI9IjEuNSIvPjxwYXRoIGQ9Ik05MyA3MWgzdjNoLTN6bTMzIDg0aDN2M2gtM3ptLTg1IDE4aDN2M2gtM3oiLz48L2c+PHBhdGggZD0iTTM5LjM4NCA1MS4xMjJsNS43NTgtNC40NTQgNi40NTMgNC4yMDUtMi4yOTQgNy4zNjNoLTcuNzl6TTEzMC4xOTUgNC4wM2wxMy44MyA1LjA2Mi0xMC4wOSA3LjA0OHptLTgzIDk1bDE0LjgzIDUuNDI5LTEwLjgyIDcuNTU3LTQuMDEtMTIuOTg3ek01LjIxMyAxNjEuNDk1bDExLjMyOCAyMC44OTdMMi4yNjUgMTgweiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMTQ5LjA1IDEyNy40NjhzLS41MSAyLjE4My45OTUgMy4zNjZjMS41NiAxLjIyNiA4LjY0Mi0xLjg5NSAzLjk2Ny03Ljc4NS0yLjM2Ny0yLjQ3Ny02LjUtMy4yMjYtOS4zMyAwLTUuMjA4IDUuOTM2IDAgMTcuNTEgMTEuNjEgMTMuNzMgMTIuNDU4LTYuMjU3IDUuNjMzLTIxLjY1Ni01LjA3My0yMi42NTQtNi42MDItLjYwNi0xNC4wNDMgMS43NTYtMTYuMTU3IDEwLjI2OC0xLjcxOCA2LjkyIDEuNTg0IDE3LjM4NyAxMi40NSAyMC40NzYgMTAuODY2IDMuMDkgMTkuMzMxLTQuMzEgMTkuMzMxLTQuMzEiIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48L2c+PC9zdmc+",Uze=pe({__name:"index",setup(e){const t=L=>Nn.global.t(L),n=qY(),o=new Uu({html:!0}),r=L=>o.render(L),i=bn(),a=navigator.userAgent.toLowerCase();let s="unknown";a.includes("windows")?s="windows":a.includes("macintosh")?s="mac":a.includes("android")?s="android":(a.includes("iphone")||a.includes("ipad"))&&(s="ios");const l=ul(),c=B(!1),u=B();Vt(()=>{});const d=B(!1),f=B(!1),p=B(""),h=B(["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=B([]);function g(L){if(L==="auto"||L==="all"&&h.value.includes("all"))h.value=["auto"];else if(L==="all"&&!h.value.includes("all"))h.value=v.value.map(M=>M.type).filter(M=>M!=="auto");else{const M=h.value.includes(L);h.value=M?h.value.filter(X=>X!==L):[...h.value.filter(X=>X!=="auto"),L],y$(v.value.map(X=>X.type).filter(X=>X!=="auto"&&X!=="all"),h.value)?h.value.push("all"):h.value=h.value.filter(X=>X!=="all")}h.value.length===0&&(h.value=["auto"]),y()}function y(){var M,se,X;const L=h.value;L.includes("all")?p.value=((M=x.value)==null?void 0:M.subscribe_url)+"$types=all":L.includes("auto")?p.value=((se=x.value)==null?void 0:se.subscribe_url)+"$types=auto":p.value=((X=x.value)==null?void 0:X.subscribe_url)+"$types="+h.value.join(",")}function S(L){window.location.href=L}function C(L){return btoa(unescape(encodeURIComponent(L)))}const _=B(!0),x=B();async function w(){_.value=!0;const{data:L}=await FX();L&&(x.value=L),_.value=!1}function T(){var X,ne,fe;const L=(X=x.value)==null?void 0:X.transfer_enable,M=((ne=x.value)==null?void 0:ne.u)||0,se=((fe=x.value)==null?void 0:fe.d)||0;return L?Math.floor((M+se)/L*100):0}function P(){const L=T(),{errorColor:M,warningColor:se,successColor:X}=n.value;return L>=100?M:L>=70?se:X}function k(){window.$dialog.confirm({title:t("确定重置当前已用流量?"),type:"warning",content:t("点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。"),async confirm(){var se;const L=(se=x.value)==null?void 0:se.plan_id;if(!L)return;const{data:M}=await hS(L,"reset_price");M&&Jt.push("order/"+M)}})}const I=B([]);async function A(){const{data:L}=await NX();I.value=L,L.map(M=>{var se;(se=M.tags)!=null&&se.includes("弹窗")&&(c.value=!0,u.value=M)})}const q=B([0,0,0]);async function F(){const{data:L}=await LX();L&&(q.value=L)}const O=B(),$=B();async function W(){const{data:L}=await dS();if(L){O.value=L;const se=[...new Set(L.map(X=>{let ne=X.type;return X.type==="hysteria"&&X.version==2&&(ne="hysteria2"),ne}))];$.value=se,v.value=m.filter(X=>se.includes(X.type)||["auto","all"].includes(X.type))}}function Q(){A(),w(),F(),W()}return an(()=>{Q()}),(L,M)=>{const se=Fi,X=oJ,ne=cm,fe=Li,xe=ZZ,Ce=Su,G=jn,ve=lm,ue=sl,re=Tt,ke=il,V=ui,R=Oj,E=cl,U=wY,ie=KZ,Y=co;return be(),Ge(Y,{"show-footer":!1},{default:le(()=>{var he,ye,ge,J;return[ee(se,{show:c.value,"onUpdate:show":M[0]||(M[0]=de=>c.value=de),class:"custom-card",preset:"card",title:(he=u.value)==null?void 0:he.title,size:"huge",bordered:!1,style:{width:"600px"},segmented:{content:"soft"}},{default:le(()=>{var de;return[H("div",{innerHTML:r((de=u.value)==null?void 0:de.content)},null,8,DMe)]}),_:1},8,["show","title"]),ee(se,{show:d.value,"onUpdate:show":M[19]||(M[19]=de=>d.value=de),"transform-origin":"center","auto-focus":!1,"display-directive":"show","trap-focus":!1},{default:le(()=>[ee(G,{class:"max-w-100% w-300",bordered:!1,size:"huge",contentStyle:"padding:0"},{default:le(()=>[ee(ve,{hoverable:""},{default:le(()=>{var de,_e;return[ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[1]||(M[1]=te=>{var oe,Ee;return((oe=x.value)==null?void 0:oe.subscribe_url)&&me(ec)((Ee=x.value)==null?void 0:Ee.subscribe_url)})},[H("div",LMe,[ee(X,{class:"text-30 text-#595959"})]),H("div",FMe,ce(L.$t("复制订阅地址")),1)])]),_:1}),(de=$.value)!=null&&de.includes("hysteria2")?(be(),Ge(ne,{key:0,class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[2]||(M[2]=te=>{var oe,Ee;return((oe=x.value)==null?void 0:oe.subscribe_url)&&me(ec)(((Ee=x.value)==null?void 0:Ee.subscribe_url)+"&types=hysteria2")})},[H("div",NMe,[ee(fe,{size:"30"},{default:le(()=>[ee(me(PMe))]),_:1})]),H("div",BMe,ce(L.$t("复制HY2订阅地址")),1)])]),_:1})):bt("",!0),(_e=$.value)!=null&&_e.includes("vless")?(be(),Ge(ne,{key:1,class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[3]||(M[3]=te=>{var oe,Ee;return((oe=x.value)==null?void 0:oe.subscribe_url)&&me(ec)(((Ee=x.value)==null?void 0:Ee.subscribe_url)+"&types=vless")})},[HMe,H("div",jMe,ce(L.$t("复制Vless订阅地址")),1)])]),_:1})):bt("",!0),ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[5]||(M[5]=te=>{var oe;return p.value=((oe=x.value)==null?void 0:oe.subscribe_url)||"",f.value=!0})},[H("div",VMe,[ee(xe,{class:"text-30 text-#595959"})]),H("div",UMe,ce(L.$t("扫描二维码订阅")),1),ee(se,{show:f.value,"onUpdate:show":M[4]||(M[4]=te=>f.value=te)},{default:le(()=>[ee(G,{class:"w-300"},{default:le(()=>[H("div",WMe,ce(L.$t("选择协议"))+":",1),H("div",qMe,[(be(!0),ze(et,null,no(v.value,te=>(be(),Ge(Ce,{key:te.type,value:te.type,checked:h.value.includes(te.type),onClick:oe=>g(te.type)},{default:le(()=>[Je(ce(L.$t(te.label)),1)]),_:2},1032,["value","checked","onClick"]))),128))]),H("div",KMe,[ee(hJ,{value:p.value,"render-as":"svg",class:"h-140 w-140"},null,8,["value"])]),H("div",GMe,ce(L.$t("使用支持扫码的客户端进行订阅")),1)]),_:1})]),_:1},8,["show"])])]),_:1}),me(s)==="mac"?(be(),ze(et,{key:2},[ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[6]||(M[6]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("sing-box://import-remote-profile?url="+x.value.subscribe_url+`#${me(i).title}`)})},[H("div",YMe,[ee(fe,{size:"30"},{default:le(()=>[ee(me(of))]),_:1})]),H("div",XMe,ce(L.$t("导入到"))+" sing-box",1)])]),_:1}),ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[7]||(M[7]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("clash://install-config?url="+x.value.subscribe_url+`&name=${me(i).title}`)})},[QMe,H("div",ZMe,ce(L.$t("导入到"))+" ClashX Meta",1)])]),_:1}),ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[8]||(M[8]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("sing-box://import-remote-profile?url="+x.value.subscribe_url+`#${me(i).title}`)})},[H("div",JMe,[ee(fe,{size:"30"},{default:le(()=>[ee(me(rf))]),_:1})]),H("div",eze,ce(L.$t("导入到"))+" Hiddify",1)])]),_:1})],64)):bt("",!0),me(s)==="ios"?(be(),ze(et,{key:3},[ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[9]||(M[9]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("sing-box://import-remote-profile?url="+x.value.subscribe_url+`#${me(i).title}`)})},[H("div",tze,[ee(fe,{size:"30"},{default:le(()=>[ee(me(of))]),_:1})]),H("div",nze,ce(L.$t("导入到"))+" sing-box",1)])]),_:1}),ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[10]||(M[10]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("shadowrocket://add/sub://"+C(x.value.subscribe_url).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")+`?remark=${me(i).title}`)})},[oze,H("div",rze,ce(L.$t("导入到"))+" Shadowsocket",1)])]),_:1}),ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[11]||(M[11]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("stash://install-config?url="+encodeURIComponent(x.value.subscribe_url)+`&name=${me(i).title}`)})},[ize,H("div",aze,ce(L.$t("导入到"))+" Stash",1)])]),_:1})],64)):bt("",!0),me(s)==="android"?(be(),ze(et,{key:4},[ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[12]||(M[12]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("sing-box://import-remote-profile?url="+x.value.subscribe_url+`#${me(i).title}`)})},[H("div",sze,[ee(fe,{size:"30"},{default:le(()=>[ee(me(of))]),_:1})]),H("div",lze,ce(L.$t("导入到"))+" sing-box",1)])]),_:1}),ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[13]||(M[13]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("clash://install-config?url="+(x.value.subscribe_url+"&types=hysteria2")+`&name=${me(i).title}`)})},[cze,H("div",uze,ce(L.$t("导入到"))+" NekoBox",1)])]),_:1}),ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[14]||(M[14]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("clash://install-config?url="+(x.value.subscribe_url+"&types=hysteria2")+`&name=${me(i).title}`)})},[dze,H("div",fze,ce(L.$t("导入到"))+" Clash Meta",1)])]),_:1}),ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[15]||(M[15]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("sing-box://import-remote-profile?url="+x.value.subscribe_url+`#${me(i).title}`)})},[H("div",hze,[ee(fe,{size:"30"},{default:le(()=>[ee(me(rf))]),_:1})]),H("div",pze,ce(L.$t("导入到"))+" Hiddify",1)])]),_:1})],64)):bt("",!0),me(s)==="windows"?(be(),ze(et,{key:5},[ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[16]||(M[16]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("clash://install-config?url="+(x.value.subscribe_url+"&types=hysteria2")+`&name=${me(i).title}`)})},[mze,H("div",gze,ce(L.$t("导入到"))+" Clash",1)])]),_:1}),ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[17]||(M[17]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("sing-box://import-remote-profile?url="+x.value.subscribe_url+`#${me(i).title}`)})},[H("div",vze,[ee(fe,{size:"30"},{default:le(()=>[ee(me(rf))]),_:1})]),H("div",bze,ce(L.$t("导入到"))+" Hiddify",1)])]),_:1})],64)):bt("",!0)]}),_:1}),ee(ue,{class:"m-0!"}),H("div",yze,[ee(re,{type:"primary",class:"w-100%",size:"large",onClick:M[18]||(M[18]=de=>L.$router.push("/knowledge"))},{default:le(()=>[Je(ce(L.$t("不会使用,查看使用教程")),1)]),_:1})])]),_:1})]),_:1},8,["show"]),H("div",xze,[q.value[1]&&q.value[1]>0||q.value[0]&&q.value[0]>0?(be(),ze("div",Cze,[q.value[1]&&q.value[1]>0?(be(),Ge(ke,{key:0,type:"warning","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:le(()=>[Je(ce(q.value[1])+" "+ce(L.$t("条工单正在处理中"))+" ",1),ee(re,{text:"",strong:"",onClick:M[20]||(M[20]=de=>me(Jt).push("/ticket"))},{default:le(()=>[Je(ce(L.$t("立即查看")),1)]),_:1})]),_:1})):bt("",!0),q.value[0]&&q.value[0]>0?(be(),Ge(ke,{key:1,type:"error","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:le(()=>[Je(ce(L.$t("还有没支付的订单"))+" ",1),ee(re,{text:"",strong:"",onClick:M[21]||(M[21]=de=>me(Jt).push("/order"))},{default:le(()=>[Je(ce(L.$t("立即支付")),1)]),_:1})]),_:1})):bt("",!0),!((ye=x.value)!=null&&ye.expired_at&&(((ge=x.value)==null?void 0:ge.expired_at)||0)>Date.now()/1e3)&&T()>=70?(be(),Ge(ke,{key:2,type:"info","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:le(()=>[Je(ce(L.$tc("当前已使用流量达{rate}%",{rate:T()}))+" ",1),ee(re,{text:"",onClick:M[22]||(M[22]=de=>k())},{default:le(()=>[H("span",wze,ce(L.$t("重置已用流量")),1)]),_:1})]),_:1})):bt("",!0)])):bt("",!0),Cn(ee(G,{class:"w-100% cursor-pointer overflow-hidden border-rounded-5 text-white transition hover:opacity-75",bordered:!1,"content-style":"padding: 0"},{default:le(()=>[ee(R,null,{default:le(()=>[(be(!0),ze(et,null,no(I.value,de=>(be(),ze("div",{key:de.id,class:"",style:Fo(de.img_url?`background:url(${de.img_url}) no-repeat;background-size: cover `:`background:url(${Vze})`),onClick:_e=>(c.value=!0,u.value=de)},[H("div",{class:"carousel-img flex flex-col justify-between p-20",style:Fo({background:"rgba(0, 0, 0, 0.5) !important"})},[H("div",null,[ee(V,{bordered:!1,class:"bg-#e04f1a text-12 color-white"},{default:le(()=>[Je(ce(L.$t("公告")),1)]),_:1})]),H("div",null,[H("p",Sze,ce(de.title),1),H("p",kze,ce(me(tr)(de.created_at)),1)])],4)],12,_ze))),128))]),_:1})]),_:1},512),[[ro,((J=I.value)==null?void 0:J.length)>0]]),ee(G,{title:L.$t("我的订阅"),class:"mt-5 border-rounded-5 md:m-t-20"},{default:le(()=>{var de,_e,te,oe,Ee,De,qe,tt,Me,je,dt,Oe,rt,it;return[_.value?(be(),ze(et,{key:0},[ee(E,{text:"",repeat:1,class:"w-60%"}),ee(E,{text:"",repeat:1,class:"w-80%"}),ee(E,{text:"",repeat:1})],64)):(de=x.value)!=null&&de.plan_id?(be(),ze(et,{key:1},[H("div",Tze,ce((te=(_e=x.value)==null?void 0:_e.plan)==null?void 0:te.name),1),((oe=x.value)==null?void 0:oe.expired_at)===null?(be(),ze("div",Pze,ce(L.$t("该订阅长期有效")),1)):(Ee=x.value)!=null&&Ee.expired_at&&(((De=x.value)==null?void 0:De.expired_at)??0)me(Jt).push("/plan/"+me(l).plan_id))},{default:le(()=>[Je(ce(L.$t("续费订阅")),1)]),_:1})):T()>=70?(be(),Ge(re,{key:4,type:"primary",class:"mt-20",onClick:M[24]||(M[24]=Z=>k())},{default:le(()=>[Je(ce(L.$t("重置已用流量")),1)]),_:1})):bt("",!0)],64)):(be(),ze("div",{key:2,class:"cursor-pointer pt-20 text-center",onClick:M[25]||(M[25]=Z=>me(Jt).push("/plan"))},[ee(ie,{class:"text-40"}),H("div",$ze,ce(L.$t("购买订阅")),1)]))]}),_:1},8,["title"]),ee(G,{title:L.$t("捷径"),class:"m-t-20 border-rounded-5","content-style":"padding: 0"},{default:le(()=>[ee(ve,{clickable:"",hoverable:""},{default:le(()=>[ee(ne,{class:"flex cursor-pointer justify-between p-19 hover:bg-#f6f6f6",onClick:M[26]||(M[26]=de=>me(Jt).push("/knowledge"))},{default:le(()=>[H("div",Aze,[H("div",Ize,ce(L.$t("查看教程")),1),H("div",Mze,ce(L.$t("学习如何使用"))+" "+ce(me(i).title),1)])]),_:1}),ee(ne,{class:"flex cursor-pointer justify-between p-19 hover:bg-#f6f6f6",onClick:M[27]||(M[27]=de=>d.value=!0)},{default:le(()=>[H("div",zze,[H("div",Oze,ce(L.$t("一键订阅")),1),H("div",Dze,ce(L.$t("快速将节点导入对应客户端进行使用")),1)])]),_:1}),ee(ne,{class:"flex cursor-pointer justify-between p-19",onClick:M[28]||(M[28]=de=>me(l).plan_id?me(Jt).push("/plan/"+me(l).plan_id):me(Jt).push("/plan"))},{default:le(()=>{var de;return[H("div",Lze,[H("div",Fze,ce((de=x.value)!=null&&de.plan_id?L.$t("续费订阅"):L.$t("购买订阅")),1),H("div",Nze,ce(L.$t("对您当前的订阅进行购买")),1)])]}),_:1}),ee(ne,{class:"flex cursor-pointer justify-between p-19",onClick:M[29]||(M[29]=de=>L.$router.push("/ticket"))},{default:le(()=>[H("div",Bze,[H("div",Hze,ce(L.$t("遇到问题")),1),H("div",jze,ce(L.$t("遇到问题可以通过工单与我们沟通")),1)])]),_:1})]),_:1})]),_:1},8,["title"])])]}),_:1})}}}),Wze=zu(Uze,[["__scopeId","data-v-db83f70d"]]),qze=Object.freeze(Object.defineProperty({__proto__:null,default:Wze},Symbol.toStringTag,{value:"Module"})),Kze={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},Gze=H("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),Yze=[Gze];function Xze(e,t){return be(),ze("svg",Kze,[...Yze])}const Qze={name:"ant-design-pay-circle-outlined",render:Xze},Zze={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},Jze=H("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.7zM157.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.8zM934 512h-60c-4.3 0-7.9 3.5-8 7.8a352.7 352.7 0 0 1-103.5 242.4a352.57 352.57 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.57 352.57 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),eOe=[Jze];function tOe(e,t){return be(),ze("svg",Zze,[...eOe])}const nOe={name:"ant-design-transaction-outlined",render:tOe},oOe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},rOe=H("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.91 2.91 0 0 0-.89.14a5 5 0 0 1 0 5.72A2.91 2.91 0 0 0 18 11a3 3 0 0 0 0-6M8 10H5V7H3v3H0v2h3v3h2v-3h3Z"},null,-1),iOe=[rOe];function aOe(e,t){return be(),ze("svg",oOe,[...iOe])}const sOe={name:"mdi-invite",render:aOe},lOe={class:"text-50 font-400"},cOe={class:"m-l-10 text-20 text-#6c757d md:m-l20"},uOe={class:"text-#6c757d"},dOe={class:"flex justify-between p-b-5 p-t-5"},fOe={class:"flex justify-between p-b-5 p-t-5"},hOe={key:0},pOe={key:1},mOe={class:"flex justify-between p-b-5 p-t-5"},gOe={class:"flex justify-between p-b-5 p-t-5"},vOe={class:"m-t-10"},bOe={class:"m-b-5"},yOe={class:"m-t-10"},xOe={class:"m-b-5"},COe={class:"flex justify-end"},wOe={class:"m-t-10"},_Oe={class:"m-b-5"},SOe={class:"m-t-10"},kOe={class:"m-b-5"},TOe={class:"flex justify-end"},POe=pe({__name:"index",setup(e){const t=bn(),n=x=>Nn.global.t(x),o=[{title:n("邀请码"),key:"code",render(x){const w=`${window.location.protocol}//${window.location.host}/#/register?code=${x.code}`;return b("div",[b("span",x.code),b(Tt,{size:"small",onClick:()=>ec(w),quaternary:!0,type:"info"},{default:()=>n("复制链接")})])}},{title:n("创建时间"),key:"created_at",fixed:"right",render(x){return tr(x.created_at)}}],r=[{title:n("发放时间"),key:"created_at",render(x){return tr(x.created_at)}},{title:n("佣金"),key:"get_amount",fixed:"right",render(x){return nn(x.get_amount)}}],i=B(),a=B([]);async function s(){const x=await VX(),{data:w}=x;i.value=w.codes,a.value=w.stat}const l=B([]),c=bo({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 UX(c.page,c.pageSize),{data:w}=x;l.value=w}const d=B(!1);async function f(){d.value=!0;const{data:x}=await WX();x===!0&&(window.$message.success(n("已生成")),_()),d.value=!1}const p=B(!1),h=B(),m=B(!1);async function v(){m.value=!0;const x=h.value;if(typeof x!="number"){window.$message.error(n("请输入正确的划转金额"));return}const{data:w}=await qX(x*100);w===!0&&(window.$message.success(n("划转成功")),p.value=!1,s()),m.value=!1}const g=B(!1),y=bo({method:null,account:null}),S=B(!1);async function C(){S.value=!0,y.method||window.$message.error(n("提现方式不能为空")),y.account||window.$message.error(n("提现账号不能为空"));const x=y.method,w=y.account,{data:T}=await KX({withdraw_method:x,withdraw_account:w});T===!0&&Jt.push("/ticket"),S.value=!1}function _(){s(),u()}return an(()=>{_()}),(x,w)=>{const T=sOe,P=aV,k=nOe,I=Qze,A=Na,q=jn,F=Eu,O=gS,$=il,W=Co,Q=xG,L=Fi,M=ku,se=co;return be(),Ge(se,null,{default:le(()=>[ee(q,{title:x.$t("我的邀请"),class:"border-rounded-5"},{"header-extra":le(()=>[ee(T,{class:"text-40 text-gray"})]),default:le(()=>{var X;return[H("div",null,[H("span",lOe,[ee(P,{from:0,to:me(nn)(a.value[4]),active:!0,precision:2,duration:"500"},null,8,["to"])]),H("span",cOe,ce((X=me(t).appConfig)==null?void 0:X.currency),1)]),H("div",uOe,ce(x.$t("当前剩余佣金")),1),ee(A,{class:"m-t-10"},{default:le(()=>{var ne;return[ee(me(Tt),{size:"small",type:"primary",onClick:w[0]||(w[0]=fe=>p.value=!0)},{icon:le(()=>[ee(k)]),default:le(()=>[Je(" "+ce(x.$t("划转")),1)]),_:1}),(ne=me(t).appConfig)!=null&&ne.withdraw_close?bt("",!0):(be(),Ge(me(Tt),{key:0,size:"small",type:"primary",onClick:w[1]||(w[1]=fe=>g.value=!0)},{icon:le(()=>[ee(I)]),default:le(()=>[Je(" "+ce(x.$t("推广佣金提现")),1)]),_:1}))]}),_:1})]}),_:1},8,["title"]),ee(q,{class:"m-t-15 border-rounded-5"},{default:le(()=>{var X,ne,fe,xe,Ce,G;return[H("div",dOe,[H("div",null,ce(x.$t("已注册用户数")),1),H("div",null,ce(x.$tc("{number} 人",{number:a.value[0]})),1)]),H("div",fOe,[H("div",null,ce(x.$t("佣金比例")),1),(X=me(t).appConfig)!=null&&X.commission_distribution_enable?(be(),ze("div",hOe,ce(`${Math.floor((((ne=me(t).appConfig)==null?void 0:ne.commission_distribution_l1)||0)*a.value[3]/100)}%,${Math.floor((((fe=me(t).appConfig)==null?void 0:fe.commission_distribution_l2)||0)*a.value[3]/100)}%,${Math.floor((((xe=me(t).appConfig)==null?void 0:xe.commission_distribution_l3)||0)*a.value[3]/100)}%`),1)):(be(),ze("div",pOe,ce(a.value[3])+"%",1))]),H("div",mOe,[H("div",null,ce(x.$t("确认中的佣金")),1),H("div",null,ce((Ce=me(t).appConfig)==null?void 0:Ce.currency_symbol)+" "+ce(me(nn)(a.value[2])),1)]),H("div",gOe,[H("div",null,ce(x.$t("累计获得佣金")),1),H("div",null,ce((G=me(t).appConfig)==null?void 0:G.currency_symbol)+" "+ce(me(nn)(a.value[1])),1)])]}),_:1}),ee(q,{title:x.$t("邀请码管理"),class:"m-t-15 border-rounded-5"},{"header-extra":le(()=>[ee(me(Tt),{size:"small",type:"primary",round:"",loading:d.value,onClick:f},{default:le(()=>[Je(ce(x.$t("生成邀请码")),1)]),_:1},8,["loading"])]),default:le(()=>[ee(F,{columns:o,data:i.value,bordered:!1},null,8,["data"])]),_:1},8,["title"]),ee(q,{title:x.$t("佣金发放记录"),class:"m-t-15 border-rounded-5"},{default:le(()=>[ee(F,{columns:r,data:l.value,pagination:c},null,8,["data","pagination"])]),_:1},8,["title"]),ee(L,{show:p.value,"onUpdate:show":w[6]||(w[6]=X=>p.value=X)},{default:le(()=>[ee(q,{style:{width:"600px",position:"fixed",top:"30%",left:"50%",transform:"translate(-50%, -50%)"},segmented:{content:!0,footer:!0},title:x.$t("推广佣金划转至余额"),size:"huge",role:"dialog","aria-modal":"true","footer-style":"padding-top: 10px; padding-bottom:10px",class:"max-w-100%"},{"header-extra":le(()=>[ee(me(Tt),{class:"h-auto p-2",tertiary:"",size:"large",onClick:w[2]||(w[2]=X=>p.value=!1)},{icon:le(()=>[ee(O,{class:"cursor-pointer opacity-85"})]),_:1})]),footer:le(()=>[H("div",COe,[H("div",null,[ee(me(Tt),{onClick:w[4]||(w[4]=X=>p.value=!1)},{default:le(()=>[Je(ce(x.$t("取消")),1)]),_:1}),ee(me(Tt),{type:"primary",class:"ml-10",onClick:w[5]||(w[5]=X=>v()),loading:m.value,disabled:m.value},{default:le(()=>[Je(ce(x.$t("确定")),1)]),_:1},8,["loading","disabled"])])])]),default:le(()=>[ee($,{type:"warning"},{default:le(()=>[Je(ce(x.$tc("划转后的余额仅用于{title}消费使用",{title:me(t).title})),1)]),_:1}),H("div",vOe,[H("div",bOe,ce(x.$t("当前推广佣金余额")),1),ee(W,{placeholder:me(nn)(a.value[4]),type:"number",disabled:""},null,8,["placeholder"])]),H("div",yOe,[H("div",xOe,ce(x.$t("划转金额")),1),ee(Q,{value:h.value,"onUpdate:value":w[3]||(w[3]=X=>h.value=X),placeholder:x.$t("请输入需要划转到余额的金额"),clearable:""},null,8,["value","placeholder"])])]),_:1},8,["title"])]),_:1},8,["show"]),ee(L,{show:g.value,"onUpdate:show":w[12]||(w[12]=X=>g.value=X)},{default:le(()=>[ee(q,{style:{width:"600px",position:"fixed",top:"30%",left:"50%",transform:"translate(-50%, -50%)"},segmented:{content:!0,footer:!0},title:x.$t("推广佣金划转至余额"),size:"huge",role:"dialog","aria-modal":"true","footer-style":"padding-top: 10px; padding-bottom:10px",class:"max-w-100%"},{"header-extra":le(()=>[ee(me(Tt),{class:"h-auto p-2",tertiary:"",size:"large",onClick:w[7]||(w[7]=X=>g.value=!1)},{icon:le(()=>[ee(O,{class:"cursor-pointer opacity-85"})]),_:1})]),footer:le(()=>[H("div",TOe,[H("div",null,[ee(me(Tt),{onClick:w[10]||(w[10]=X=>p.value=!1)},{default:le(()=>[Je(ce(x.$t("取消")),1)]),_:1}),ee(me(Tt),{type:"primary",class:"ml-10",onClick:w[11]||(w[11]=X=>C()),loading:S.value,disabled:S.value},{default:le(()=>[Je(ce(x.$t("确定")),1)]),_:1},8,["loading","disabled"])])])]),default:le(()=>{var X;return[H("div",wOe,[H("div",_Oe,ce(x.$t("提现方式")),1),ee(M,{value:y.method,"onUpdate:value":w[8]||(w[8]=ne=>y.method=ne),options:(X=me(t).appConfig)==null?void 0:X.withdraw_methods.map(ne=>({label:ne,value:ne})),placeholder:x.$t("请选择提现方式")},null,8,["value","options","placeholder"])]),H("div",SOe,[H("div",kOe,ce(x.$t("提现账号")),1),ee(W,{value:y.account,"onUpdate:value":w[9]||(w[9]=ne=>y.account=ne),placeholder:x.$t("请输入提现账号"),type:"string"},null,8,["value","placeholder"])])]}),_:1},8,["title"])]),_:1},8,["show"])]),_:1})}}}),ROe=Object.freeze(Object.defineProperty({__proto__:null,default:POe},Symbol.toStringTag,{value:"Module"})),EOe={class:""},$Oe={class:"mb-4 text-16 font-600"},AOe={class:"text-12 text-gray"},IOe=["innerHTML"],MOe=pe({__name:"index",setup(e){const t=bn(),n=new Uu({html:!0}),o=f=>n.render(f),r=B(!1),i=B();async function a(f){const{data:p}=await sQ(f,t.lang);p&&(i.value=p),r.value=!0}const s=B(""),l=B(!0),c=B();async function u(){l.value=!0;const f=s.value,{data:p}=await aQ(f,t.lang);c.value=p,l.value=!1}function d(){u()}return an(()=>{d()}),(f,p)=>{const h=Co,m=Tt,v=wu,g=cl,y=Na,S=cm,C=lm,_=jn,x=GW,w=qW,T=co;return be(),Ge(T,{"show-footer":!1},{default:le(()=>[ee(v,null,{default:le(()=>[ee(h,{placeholder:f.$t("使用文档"),value:s.value,"onUpdate:value":p[0]||(p[0]=P=>s.value=P),onKeyup:p[1]||(p[1]=da(P=>d(),["enter"]))},null,8,["placeholder","value"]),ee(m,{type:"primary",ghost:"",onClick:p[2]||(p[2]=P=>d())},{default:le(()=>[Je(ce(f.$t("搜索")),1)]),_:1})]),_:1}),l.value?(be(),Ge(y,{key:0,vertical:"",class:"mt-20"},{default:le(()=>[ee(g,{height:"20px",width:"33%"}),ee(g,{height:"20px",width:"66%"}),ee(g,{height:"20px"})]),_:1})):bt("",!0),(be(!0),ze(et,null,no(c.value,(P,k)=>(be(),Ge(_,{key:k,title:k,class:"mt-20 border-rounded-5",contentStyle:"padding:0"},{default:le(()=>[ee(C,{clickable:"",hoverable:""},{default:le(()=>[(be(!0),ze(et,null,no(P,I=>(be(),Ge(S,{key:I.id,onClick:A=>a(I.id)},{default:le(()=>[H("div",EOe,[H("div",$Oe,ce(I.title),1),H("div",AOe,ce(f.$t("最后更新"))+" "+ce(me(fp)(I.updated_at)),1)])]),_:2},1032,["onClick"]))),128))]),_:2},1024)]),_:2},1032,["title"]))),128)),ee(w,{show:r.value,"onUpdate:show":p[3]||(p[3]=P=>r.value=P),width:"80%",placement:"right"},{default:le(()=>{var P;return[ee(x,{title:(P=i.value)==null?void 0:P.title,closable:""},{default:le(()=>{var k;return[H("div",{innerHTML:o(((k=i.value)==null?void 0:k.body)||""),class:"custom-html-style"},null,8,IOe)]}),_:1},8,["title"])]}),_:1},8,["show"])]),_:1})}}}),zOe=Object.freeze(Object.defineProperty({__proto__:null,default:MOe},Symbol.toStringTag,{value:"Module"})),OOe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},DOe=H("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),LOe=[DOe];function FOe(e,t){return be(),ze("svg",OOe,[...LOe])}const NOe={name:"mdi-help-circle-outline",render:FOe},BOe={class:"flex"},HOe={class:"flex-[1]"},jOe={class:"flex flex-[3] text-center"},VOe={class:"flex flex-1 items-center justify-center"},UOe={class:"flex flex-1 items-center justify-center"},WOe={class:"flex-1"},qOe={class:"flex"},KOe={class:"flex-[1]"},GOe={class:"flex flex-[3] text-center"},YOe={class:"flex flex-[1] items-center justify-center"},XOe={class:"flex-[1]"},QOe={class:"flex-[1]"},ZOe={key:0},JOe={key:1},eDe=pe({__name:"index",setup(e){const t=B([]),n=B(!0);async function o(){n.value=!0;const r=await dS(),{data:i}=r;t.value=i,n.value=!1}return an(()=>{o()}),(r,i)=>{const a=cl,s=Na,l=NOe,c=Pu,u=ui,d=cm,f=lm,p=ka("router-link"),h=il,m=co;return be(),Ge(m,null,{default:le(()=>[n.value?(be(),Ge(s,{key:0,vertical:"",class:"mt-20"},{default:le(()=>[ee(a,{height:"20px",width:"33%"}),ee(a,{height:"20px",width:"66%"}),ee(a,{height:"20px"})]),_:1})):t.value.length>0?(be(),Ge(f,{key:1,clickable:"",hoverable:""},{header:le(()=>[H("div",BOe,[H("div",HOe,ce(r.$t("名称")),1),H("div",jOe,[H("div",VOe,[Je(ce(r.$t("状态"))+" ",1),ee(c,{placement:"bottom",trigger:"hover"},{trigger:le(()=>[ee(l,{class:"m-l-3 text-16"})]),default:le(()=>[H("span",null,ce(r.$t("五分钟内节点在线情况")),1)]),_:1})]),H("div",UOe,[Je(ce(r.$t("倍率"))+" ",1),ee(c,{placement:"bottom",trigger:"hover"},{trigger:le(()=>[ee(l,{class:"m-l-3 text-16"})]),default:le(()=>[H("span",null,ce(r.$t("使用的流量将乘以倍率进行扣除")),1)]),_:1})]),H("div",WOe,ce(r.$t("标签")),1)])])]),default:le(()=>[(be(!0),ze(et,null,no(t.value,v=>(be(),Ge(d,{key:v.id},{default:le(()=>[H("div",qOe,[H("div",KOe,ce(v.name),1),H("div",GOe,[H("div",YOe,[H("div",{class:Ci(["h-6 w-6 rounded-full",v.is_online?"bg-blue-500":"bg-red-500"])},null,2)]),H("div",XOe,[ee(u,{size:"small",round:"",class:""},{default:le(()=>[Je(ce(v.rate)+" x ",1)]),_:2},1024)]),H("div",QOe,[v.tags&&v.tags.length>0?(be(),ze("div",ZOe,[(be(!0),ze(et,null,no(v.tags,g=>(be(),Ge(u,{size:"small",round:"",key:g},{default:le(()=>[Je(ce(g),1)]),_:2},1024))),128))])):(be(),ze("span",JOe,"-"))])])])]),_:2},1024))),128))]),_:1})):(be(),Ge(h,{key:2,type:"info"},{default:le(()=>[H("div",null,[Je(ce(r.$t("没有可用节点,如果您未订阅或已过期请"))+" ",1),ee(p,{class:"font-600",to:"/plan"},{default:le(()=>[Je(ce(r.$t("订阅")),1)]),_:1}),Je("。")])]),_:1}))]),_:1})}}}),tDe=Object.freeze(Object.defineProperty({__proto__:null,default:eDe},Symbol.toStringTag,{value:"Module"})),nDe=pe({__name:"index",setup(e){const t=c=>Nn.global.t(c),n={0:t("待支付"),1:t("开通中"),2:t("已取消"),3:t("已完成"),4:t("已折抵")},o={month_price:t("月付"),quarter_price:t("季付"),half_year_price:t("半年付"),year_price:t("年付"),two_year_price:t("两年付"),three_year_price:t("三年付"),onetime_price:t("一次性"),reset_price:t("流量重置包")},r=[{title:t("# 订单号"),key:"trade_no",render(c){return b(Tt,{text:!0,class:"color-primary",onClick:()=>Jt.push(`/order/${c.trade_no}`)},{default:()=>c.trade_no})}},{title:t("周期"),key:"period",render(c){return b(ui,{round:!0,size:"small"},{default:()=>o[c.period]})}},{title:t("订单金额"),key:"total_amount",render(c){return nn(c.total_amount)}},{title:t("订单状态"),key:"status",render(c){const u=n[c.status],d=b("div",{class:["h-6 w-6 rounded-full mr-5",c.status===3?"bg-green-500":"bg-red-500"]});return b("div",{class:"flex items-center"},[d,u])}},{title:t("创建时间"),key:"created_at",render(c){return tr(c.created_at)}},{title:t("操作"),key:"actions",fixed:"right",render(c){const u=b(Tt,{text:!0,type:"primary",onClick:()=>Jt.push(`/order/${c.trade_no}`)},{default:()=>t("查看详情")}),d=b(Tt,{text:!0,type:"primary",disabled:c.status!==0,onClick:()=>i(c.trade_no)},{default:()=>t("取消")}),f=b(sl,{vertical:!0});return b("div",[u,f,d])}}];async function i(c){window.$dialog.confirm({title:t("注意"),type:"warning",content:t("如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?"),async confirm(){const{data:u}=await vm(c);u===!0&&(window.$message.success(t("取消成功")),l())}})}const a=B([]);async function s(){const c=await fS(),{data:u}=c;a.value=u}async function l(){s()}return an(()=>{l()}),(c,u)=>{const d=Eu,f=co;return be(),Ge(f,null,{default:le(()=>[ee(d,{columns:r,data:a.value,bordered:!1,"scroll-x":800},null,8,["data"])]),_:1})}}}),oDe=Object.freeze(Object.defineProperty({__proto__:null,default:nDe},Symbol.toStringTag,{value:"Module"})),rDe={class:"inline-block",viewBox:"0 0 48 48",width:"1em",height:"1em"},iDe=H("g",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd"},[H("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"}),H("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),aDe=[iDe];function sDe(e,t){return be(),ze("svg",rDe,[...aDe])}const jS={name:"healthicons-yes-outline",render:sDe},lDe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},cDe=H("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.656v776.608zm480.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.344zm.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.345zM394.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.473zm.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.473zm.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.473z"},null,-1),uDe=[cDe];function dDe(e,t){return be(),ze("svg",lDe,[...uDe])}const fDe={name:"simple-line-icons-book-open",render:dDe},hDe={class:"inline-block",viewBox:"0 0 20 20",width:"1em",height:"1em"},pDe=H("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),mDe=[pDe];function gDe(e,t){return be(),ze("svg",hDe,[...mDe])}const vDe={name:"dashicons-yes-alt",render:gDe},bDe={class:"inline-block",viewBox:"0 0 20 20",width:"1em",height:"1em"},yDe=H("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.46h2.26m-.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-.34z"},null,-1),xDe=[yDe];function CDe(e,t){return be(),ze("svg",bDe,[...xDe])}const wDe={name:"dashicons-warning",render:CDe},_De={key:1,class:"flex flex-wrap"},SDe={class:"w-100% md:flex-[2]"},kDe={key:2,class:"mt-10 text-22"},TDe={key:3,class:"text-14 text-[rgba(0,0,0,0.45)]"},PDe={class:"flex"},RDe={class:"flex-[1] text-#49505799"},EDe={class:"flex-[2]"},$De={class:"flex"},ADe={class:"m-t-5 flex-[1] text-#49505799"},IDe={class:"flex-[2]"},MDe={class:"flex"},zDe={class:"m-b-5 m-t-5 flex-[1] text-#49505799"},ODe={class:"flex-[2]"},DDe={class:"flex"},LDe={class:"flex-[1] text-#49505799"},FDe={class:"flex-[2]"},NDe={key:0,class:"flex"},BDe={class:"flex-[1] text-#49505799"},HDe={class:"flex-[2]"},jDe={key:1,class:"flex"},VDe={class:"flex-[1] text-#49505799"},UDe={class:"flex-[2]"},WDe={key:2,class:"flex"},qDe={class:"flex-[1] text-#49505799"},KDe={class:"flex-[2]"},GDe={key:3,class:"flex"},YDe={class:"flex-[1] text-#49505799"},XDe={class:"flex-[2]"},QDe={key:4,class:"flex"},ZDe={class:"flex-[1] text-#49505799"},JDe={class:"flex-[2]"},eLe={class:"flex"},tLe={class:"m-t-5 flex-[1] text-#49505799"},nLe={class:"flex-[2]"},oLe=["onClick"],rLe={class:"flex-[1]"},iLe={class:"max-h-30 flex-[1]"},aLe=["src"],sLe={key:0,class:"w-100% md:flex-[1] md:pl-20"},lLe={class:"mt-20 border-rounded-5 bg-#2f3135 p-20 color-white"},cLe={class:"text-18 font-600"},uLe={class:"flex border-#646669 border-b-solid pb-16 pt-16"},dLe={class:"flex-[2]"},fLe={class:"flex-[1] text-right color-#f8f9fa"},hLe={key:0,class:"border-[#646669] border-b-solid pb-16 pt-16"},pLe={class:"color-#f8f9fa41"},mLe={class:"pt-16 text-right"},gLe={key:1,class:"border-[#646669] border-b-solid pb-16 pt-16"},vLe={class:"color-#f8f9fa41"},bLe={class:"pt-16 text-right"},yLe={key:2,class:"border-[#646669] border-b-solid pb-16 pt-16"},xLe={class:"color-#f8f9fa41"},CLe={class:"pt-16 text-right"},wLe={key:3,class:"border-[#646669] border-b-solid pb-16 pt-16"},_Le={class:"color-#f8f9fa41"},SLe={class:"pt-16 text-right"},kLe={key:4,class:"border-[#646669] border-b-solid pb-16 pt-16"},TLe={class:"color-#f8f9fa41"},PLe={class:"pt-16 text-right"},RLe={class:"pb-16 pt-16"},ELe={class:"color-#f8f9fa41"},$Le={class:"text-36 font-600"},ALe=pe({__name:"detail",setup(e){const t=bn(),n=Pa(),o=C=>Nn.global.t(C),r={month_price:o("月付"),quarter_price:o("季付"),half_year_price:o("半年付"),year_price:o("年付"),two_year_price:o("两年付"),three_year_price:o("三年付"),onetime_price:o("一次性"),reset_price:o("流量重置包")};function i(C){switch(C){case 1:return{icon:"info",title:o("开通中"),subTitle:o("订单系统正在进行处理,请稍等1-3分钟。")};case 2:return{icon:"info",title:o("已取消"),subTitle:o("订单由于超时支付已被取消。")};case 3:case 4:return{icon:"info",title:o("已完成"),subTitle:o("订单已支付并开通。")}}return{icon:"error",title:o("意料之外"),subTitle:o("意料之外的状态")}}async function a(){window.$dialog.confirm({title:o("注意"),type:"warning",content:o("如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?"),async confirm(){const{data:C}=await vm(s.value);C===!0&&(window.$message.success(o("取消成功")),S())}})}const s=B(""),l=B(),c=B(),u=B(!0);async function d(){u.value=!0;const{data:C}=await HX(s.value);l.value=C,C.status===0&&(h(),c.value=setInterval(y,3e3)),u.value=!1}const f=B([]),p=B(0);async function h(){const{data:C}=await QX();f.value=C}function m(){var _,x,w,T,P;return((_=l.value)==null?void 0:_.plan[l.value.period])-(((x=l.value)==null?void 0:x.balance_amount)||0)-(((w=l.value)==null?void 0:w.surplus_amount)||0)+(((T=l.value)==null?void 0:T.refund_amount)||0)-(((P=l.value)==null?void 0:P.discount_amount)||0)}function v(){const C=f.value[p.value];return C!=null&&C.handling_fee_percent?m()*parseFloat(C.handling_fee_percent)/100:(C==null?void 0:C.handling_fee_fixed)||0}async function g(){const C=f.value[p.value],{data:_}=await ZX(s.value,C==null?void 0:C.id);_&&(_===!0?(window.$message.info("支付成功"),setTimeout(()=>{S()},500)):(window.$message.info("正在前往收银台"),setTimeout(()=>{window.location.href=_},500)))}async function y(){const{data:C}=await jX(s.value);C&&(clearInterval(c.value),S())}async function S(){d()}return an(()=>{s.value=n.params.trade_no,S()}),(C,_)=>{const x=cl,w=Na,T=wDe,P=vDe,k=fDe,I=Tt,A=jn,q=jS,F=co;return be(),Ge(F,null,{default:le(()=>{var O,$,W,Q,L,M,se,X,ne,fe,xe,Ce,G,ve,ue,re,ke,V,R,E,U,ie,Y,he,ye,ge;return[u.value?(be(),Ge(w,{key:0,vertical:"",class:"mt-20"},{default:le(()=>[ee(x,{height:"20px",width:"33%"}),ee(x,{height:"20px",width:"66%"}),ee(x,{height:"20px"})]),_:1})):(be(),ze("div",_De,[H("div",SDe,[((O=l.value)==null?void 0:O.status)!==0?(be(),Ge(A,{key:0,class:"flex text-center","items-center":"","border-rounded-5":""},{default:le(()=>{var J,de,_e,te,oe,Ee;return[((J=l.value)==null?void 0:J.status)===2?(be(),Ge(T,{key:0,class:"text-90 color-#f9a314"})):bt("",!0),((de=l.value)==null?void 0:de.status)===3||((_e=l.value)==null?void 0:_e.status)==4?(be(),Ge(P,{key:1,class:"text-90 color-#48bc19"})):bt("",!0),(te=l.value)!=null&&te.status?(be(),ze("div",kDe,ce(i(l.value.status).title),1)):bt("",!0),(oe=l.value)!=null&&oe.status?(be(),ze("div",TDe,ce(i(l.value.status).subTitle),1)):bt("",!0),((Ee=l.value)==null?void 0:Ee.status)===3?(be(),Ge(I,{key:4,"icon-placement":"left",strong:"",color:"#db4619",size:"small",round:"",class:"mt-30",onClick:_[0]||(_[0]=De=>C.$router.push("/knowledge"))},{icon:le(()=>[ee(k)]),default:le(()=>[Je(" "+ce(C.$t("查看使用教程")),1)]),_:1})):bt("",!0)]}),_:1})):bt("",!0),ee(A,{class:"mt-20 border-rounded-5",title:C.$t("商品信息")},{default:le(()=>{var J,de,_e;return[H("div",PDe,[H("div",RDe,ce(C.$t("产品名称"))+":",1),H("div",EDe,ce((J=l.value)==null?void 0:J.plan.name),1)]),H("div",$De,[H("div",ADe,ce(C.$t("类型/周期"))+":",1),H("div",IDe,ce((de=l.value)!=null&&de.period?r[l.value.period]:""),1)]),H("div",MDe,[H("div",zDe,ce(C.$t("产品流量"))+":",1),H("div",ODe,ce((_e=l.value)==null?void 0:_e.plan.transfer_enable)+" GB",1)])]}),_:1},8,["title"]),ee(A,{class:"mt-20 border-rounded-5",title:C.$t("订单信息")},{"header-extra":le(()=>{var J;return[((J=l.value)==null?void 0:J.status)===0?(be(),Ge(I,{key:0,color:"#db4619",size:"small",round:"",strong:"",onClick:_[1]||(_[1]=de=>a())},{default:le(()=>[Je(ce(C.$t("关闭订单")),1)]),_:1})):bt("",!0)]}),default:le(()=>{var J,de,_e,te,oe,Ee,De,qe,tt,Me,je;return[H("div",DDe,[H("div",LDe,ce(C.$t("订单号"))+":",1),H("div",FDe,ce((J=l.value)==null?void 0:J.trade_no),1)]),(de=l.value)!=null&&de.discount_amount&&((_e=l.value)==null?void 0:_e.discount_amount)>0?(be(),ze("div",NDe,[H("div",BDe,ce(C.$t("优惠金额")),1),H("div",HDe,ce(me(nn)(l.value.discount_amount)),1)])):bt("",!0),(te=l.value)!=null&&te.surplus_amount&&((oe=l.value)==null?void 0:oe.surplus_amount)>0?(be(),ze("div",jDe,[H("div",VDe,ce(C.$t("旧订阅折抵金额")),1),H("div",UDe,ce(me(nn)(l.value.surplus_amount)),1)])):bt("",!0),(Ee=l.value)!=null&&Ee.refund_amount&&((De=l.value)==null?void 0:De.refund_amount)>0?(be(),ze("div",WDe,[H("div",qDe,ce(C.$t("退款金额")),1),H("div",KDe,ce(me(nn)(l.value.refund_amount)),1)])):bt("",!0),(qe=l.value)!=null&&qe.balance_amount&&((tt=l.value)==null?void 0:tt.balance_amount)>0?(be(),ze("div",GDe,[H("div",YDe,ce(C.$t("余额支付 ")),1),H("div",XDe,ce(me(nn)(l.value.balance_amount)),1)])):bt("",!0),((Me=l.value)==null?void 0:Me.status)===0&&v()>0?(be(),ze("div",QDe,[H("div",ZDe,ce(C.$t("支付手续费"))+":",1),H("div",JDe,ce(me(nn)(v())),1)])):bt("",!0),H("div",eLe,[H("div",tLe,ce(C.$t("创建时间"))+":",1),H("div",nLe,ce(me(tr)((je=l.value)==null?void 0:je.created_at)),1)])]}),_:1},8,["title"]),(($=l.value)==null?void 0:$.status)===0?(be(),Ge(A,{key:1,title:C.$t("支付方式"),class:"mt-20","content-style":"padding:0"},{default:le(()=>[(be(!0),ze(et,null,no(f.value,(J,de)=>(be(),ze("div",{key:J.id,class:Ci(["border-2 border-rounded-5 p-20 border-solid flex",p.value===de?"border-#0665d0":"border-transparent"]),onClick:_e=>p.value=de},[H("div",rLe,ce(J.name),1),H("div",iLe,[H("img",{class:"h-full",src:J.icon},null,8,aLe)])],10,oLe))),128))]),_:1},8,["title"])):bt("",!0)]),((W=l.value)==null?void 0:W.status)===0?(be(),ze("div",sLe,[H("div",lLe,[H("div",cLe,ce(C.$t("订单总额")),1),H("div",uLe,[H("div",dLe,ce((Q=l.value)==null?void 0:Q.plan.name),1),H("div",fLe,ce((L=me(t).appConfig)==null?void 0:L.currency_symbol)+ce(((M=l.value)==null?void 0:M.period)&&me(nn)((se=l.value)==null?void 0:se.plan[l.value.period])),1)]),(X=l.value)!=null&&X.surplus_amount&&((ne=l.value)==null?void 0:ne.surplus_amount)>0?(be(),ze("div",hLe,[H("div",pLe,ce(C.$t("折抵")),1),H("div",mLe,"- "+ce((fe=me(t).appConfig)==null?void 0:fe.currency_symbol)+ce(me(nn)((xe=l.value)==null?void 0:xe.surplus_amount)),1)])):bt("",!0),(Ce=l.value)!=null&&Ce.discount_amount&&((G=l.value)==null?void 0:G.discount_amount)>0?(be(),ze("div",gLe,[H("div",vLe,ce(C.$t("折扣")),1),H("div",bLe,"- "+ce((ve=me(t).appConfig)==null?void 0:ve.currency_symbol)+ce(me(nn)((ue=l.value)==null?void 0:ue.discount_amount)),1)])):bt("",!0),(re=l.value)!=null&&re.refund_amount&&((ke=l.value)==null?void 0:ke.refund_amount)>0?(be(),ze("div",yLe,[H("div",xLe,ce(C.$t("退款")),1),H("div",CLe,"- "+ce((V=me(t).appConfig)==null?void 0:V.currency_symbol)+ce(me(nn)((R=l.value)==null?void 0:R.refund_amount)),1)])):bt("",!0),(E=l.value)!=null&&E.balance_amount&&((U=l.value)==null?void 0:U.balance_amount)>0?(be(),ze("div",wLe,[H("div",_Le,ce(C.$t("余额支付")),1),H("div",SLe,"- "+ce((ie=me(t).appConfig)==null?void 0:ie.currency_symbol)+ce(me(nn)((Y=l.value)==null?void 0:Y.balance_amount)),1)])):bt("",!0),v()>0?(be(),ze("div",kLe,[H("div",TLe,ce(C.$t("支付手续费")),1),H("div",PLe,"+ "+ce((he=me(t).appConfig)==null?void 0:he.currency_symbol)+ce(me(nn)(v())),1)])):bt("",!0),H("div",RLe,[H("div",ELe,ce(C.$t("总计")),1),H("div",$Le,ce((ye=me(t).appConfig)==null?void 0:ye.currency_symbol)+" "+ce(me(nn)(m()+v()))+" "+ce((ge=me(t).appConfig)==null?void 0:ge.currency),1)]),ee(I,{type:"primary",class:"w-100% text-white","icon-placement":"left",strong:"",onClick:_[2]||(_[2]=J=>g())},{icon:le(()=>[ee(q)]),default:le(()=>[Je(" "+ce(C.$t("结账")),1)]),_:1})])])):bt("",!0)]))]}),_:1})}}}),ILe=Object.freeze(Object.defineProperty({__proto__:null,default:ALe},Symbol.toStringTag,{value:"Module"})),MLe={class:"ml-auto mr-auto max-w-1200 w-100%"},zLe={class:"m-3 mb-4 mt-4 text-30 font-400"},OLe={class:"card-container m-t-10 md:m-t-40"},DLe=["onClick"],LLe={class:"vertical-bottom"},FLe={class:"text-30 font-600"},NLe={class:"p-l-5 text-16 text-gray"},BLe=["innerHTML"],HLe=pe({__name:"index",setup(e){const t=bn(),n=d=>Nn.global.t(d),o=new Uu({html:!0}),r=d=>o.render(d),i=B(0),a=[{value:0,label:n("全部")},{value:1,label:n("按周期")},{value:2,label:n("按流量")}],s=B([]),l=B([]);ht([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}),console.log(d)});async function c(){const{data:d}=await BX();d.forEach(f=>{const p=u(f);f.price=p.price,f.cycle=p.cycle}),l.value=d}an(()=>{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=QV,h=a2,m=Tt,v=jn,g=co;return be(),Ge(g,null,{default:le(()=>[H("div",MLe,[H("h2",zLe,ce(d.$t("选择最适合你的计划")),1),ee(h,{value:i.value,"onUpdate:value":f[0]||(f[0]=y=>i.value=y),name:"plan_select",class:""},{default:le(()=>[(be(),ze(et,null,no(a,y=>ee(p,{key:y.value,value:y.value,label:y.label,style:{background:"--n-color"}},null,8,["value","label"])),64))]),_:1},8,["value"]),H("section",OLe,[(be(!0),ze(et,null,no(s.value,y=>(be(),ze("div",{class:"card-item min-w-300 cursor-pointer",key:y.id,onClick:S=>d.$router.push("/plan/"+y.id)},[ee(v,{title:y.name,hoverable:"",class:"m-auto max-w-100% w-375"},{"header-extra":le(()=>{var S;return[H("div",LLe,[H("span",FLe,ce((S=me(t).appConfig)==null?void 0:S.currency_symbol)+" "+ce(y.price),1),Je(),H("span",NLe," /"+ce(y.cycle),1)])]}),action:le(()=>[ee(m,{strong:"",secondary:"",type:"info"},{default:le(()=>[Je(ce(d.$t("立即订阅")),1)]),_:1})]),default:le(()=>[H("div",{innerHTML:r(y.content)},null,8,BLe)]),_:2},1032,["title"])],8,DLe))),128))])])]),_:1})}}}),jLe=zu(HLe,[["__scopeId","data-v-a14a714a"]]),VLe=Object.freeze(Object.defineProperty({__proto__:null,default:jLe},Symbol.toStringTag,{value:"Module"})),ULe={class:"inline-block",viewBox:"0 0 576 512",width:"1em",height:"1em"},WLe=H("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),qLe=[WLe];function KLe(e,t){return be(),ze("svg",ULe,[...qLe])}const GLe={name:"fa6-solid-ticket",render:KLe},YLe={key:1,class:"flex flex-wrap"},XLe={class:"w-100% md:max-w-2/3"},QLe=["innerHTML"],ZLe=["onClick"],JLe={class:"mt-20 w-full md:mt-0 md:max-w-1/3 sm:max-w-full md:pl-20"},e9e={class:"border-rounded-5 bg-#2f3135 p-20 color-white"},t9e={class:"flex items-center"},n9e=["placeholder"],o9e={class:"mt-0 border-rounded-5 bg-#2f3135 p-20 color-white md:mt-20"},r9e={class:"text-18 font-600"},i9e={class:"flex border-#646669 border-b-solid pb-16 pt-16"},a9e={class:"flex-[2]"},s9e={class:"flex-[1] text-right color-#f8f9fa"},l9e={key:0,class:"border-[#646669] border-b-solid pb-16 pt-16"},c9e={class:"color-#f8f9fa"},u9e={class:"flex pb-16 pt-16"},d9e={class:"flex-[2]"},f9e={class:"flex-[1] text-right color-#f8f9fa"},h9e={class:"pb-16 pt-16"},p9e={class:"color-#f8f9fa"},m9e={class:"text-36 font-600"},g9e=pe({__name:"detail",setup(e){const t=bn(),n=Pa(),o=ul(),r=k=>Nn.global.t(k),i=new Uu({html:!0}),a=k=>i.render(k),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=B(0),c=B([]);async function u(){const k=S.value;c.value=[];for(const I in k)I in s&&k[I]!==null&&c.value.push({name:s[I],key:I})}const d=B(""),f=B(!1),p=B();async function h(){f.value=!0;const{data:k}=await eQ(d.value,P.value);k&&(p.value=k),f.value=!1}function m(){if(!p.value||!S.value||rC(l.value))return 0;const{type:k,value:I}=p.value,A=c.value[l.value].key;return k===1?I:I*S.value[A]/100}const v=B(!1);async function g(){var I;const k=(I=x.value)==null?void 0:I.find(A=>A.status===0);if(k){const A=k.trade_no;window.$dialog.confirm({title:r("注意"),type:"warning",content:r("您还有未完成的订单,购买前需要先取消,确定要取消之前的订单吗?"),positiveText:r("确认取消"),negativeText:r("返回我的订单"),confirm(){vm(A).then(({data:q})=>{q&&y()})},cancel(){Jt.push("/order")}});return}if(o.plan_id&&(o.expired_at===null||o.expired_at<=Math.floor(Date.now()/1e3))){window.$dialog.confirm({title:r("注意"),type:"warning",content:r("请注意,变更订阅会导致当前订阅被覆盖。"),confirm(){y()}});return}y()}async function y(){var A;v.value=!0;const k=c.value[l.value].key,{data:I}=await hS(P.value,k,(A=p.value)==null?void 0:A.code);I&&(window.$message.success(r("订单提交成功,正在跳转支付")),setTimeout(()=>{Jt.push("/order/"+I)},500)),v.value=!1}const S=B(),C=B(!0);async function _(){C.value=!0;const{data:k}=await JX(P.value);S.value=k,u(),C.value=!1}const x=B();async function w(){const{data:k}=await fS();x.value=k}function T(){_(),w()}const P=B();return an(()=>{P.value=n.params.plan_id,T()}),(k,I)=>{const A=cl,q=Na,F=jn,O=sl,$=GLe,W=Tt,Q=jS,L=co;return be(),Ge(L,null,{default:le(()=>{var M,se,X,ne,fe,xe,Ce,G;return[C.value?(be(),Ge(q,{key:0,vertical:"",class:"mt-20"},{default:le(()=>[ee(A,{height:"20px",width:"33%"}),ee(A,{height:"20px",width:"66%"}),ee(A,{height:"20px"})]),_:1})):(be(),ze("div",YLe,[H("div",XLe,[ee(F,{title:(M=S.value)==null?void 0:M.name,class:"m-auto max-w-100% border-rounded-5"},{default:le(()=>{var ve;return[H("div",{innerHTML:a((ve=S.value)==null?void 0:ve.content)},null,8,QLe)]}),_:1},8,["title"]),ee(F,{title:k.$t("付款周期"),class:"mt-20 border-rounded-5",contentStyle:"padding:0"},{default:le(()=>[(be(!0),ze(et,null,no(c.value,(ve,ue)=>{var re,ke;return be(),ze("div",{key:ve.key},[H("div",{class:Ci(["flex justify-between border-2 border-rounded-5 border-solid p-20 text-16 cursor-pointer",ue===l.value?"border-#0665d0":"border-transparent"]),onClick:V=>l.value=ue},[H("div",null,ce(ve.name),1),H("div",null,ce((re=me(t).appConfig)==null?void 0:re.currency_symbol)+" "+ce(me(nn)((ke=S.value)==null?void 0:ke[c.value[ue].key])),1)],10,ZLe),ee(O,{class:"m-0!"})])}),128))]),_:1},8,["title"])]),H("div",JLe,[H("div",e9e,[H("div",t9e,[Cn(H("input",{placeholder:r("有优惠券?"),"onUpdate:modelValue":I[0]||(I[0]=ve=>d.value=ve),class:"min-w-0 flex-[1] border-none bg-transparent color-white outline-none"},null,8,n9e),[[U4,d.value]]),ee(W,{type:"primary","icon-placement":"left",loading:f.value,disabled:f.value,onClick:I[1]||(I[1]=ve=>h())},{icon:le(()=>[ee($)]),default:le(()=>[Je(" "+ce(k.$t("验证")),1)]),_:1},8,["loading","disabled"])])]),H("div",o9e,[H("div",r9e,ce(k.$t("订单总额")),1),H("div",i9e,[H("div",a9e,ce((se=S.value)==null?void 0:se.name),1),H("div",s9e,ce((X=me(t).appConfig)==null?void 0:X.currency_symbol)+" "+ce(me(nn)((ne=S.value)==null?void 0:ne[c.value[l.value].key])),1)]),p.value?(be(),ze("div",l9e,[H("div",c9e,ce(k.$t("折扣")),1),H("div",u9e,[H("div",d9e,ce((fe=p.value)==null?void 0:fe.name),1),H("div",f9e," - "+ce(me(nn)(m())),1)])])):bt("",!0),H("div",h9e,[H("div",p9e,ce(k.$t("总计")),1),H("div",m9e,ce((xe=me(t).appConfig)==null?void 0:xe.currency_symbol)+" "+ce(me(nn)(((Ce=S.value)==null?void 0:Ce[c.value[l.value].key])-m()))+" "+ce((G=me(t).appConfig)==null?void 0:G.currency),1)]),ee(W,{type:"primary",class:"w-100% text-white","icon-placement":"left",strong:"",loading:v.value,disabled:v.value,onClick:I[2]||(I[2]=ve=>g())},{icon:le(()=>[ee(Q)]),default:le(()=>[Je(" "+ce(k.$t("下单")),1)]),_:1},8,["loading","disabled"])])])]))]}),_:1})}}}),v9e=Object.freeze(Object.defineProperty({__proto__:null,default:g9e},Symbol.toStringTag,{value:"Module"})),b9e={class:"inline-block",viewBox:"0 0 256 256",width:"1em",height:"1em"},y9e=H("path",{fill:"currentColor",d:"M216 72H56a8 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-16V88a16 16 0 0 0-16-16m-36 80a12 12 0 1 1 12-12a12 12 0 0 1-12 12"},null,-1),x9e=[y9e];function C9e(e,t){return be(),ze("svg",b9e,[...x9e])}const w9e={name:"ph-wallet-fill",render:C9e},_9e={class:"text-50 font-400"},S9e={class:"m-l-20 text-20 text-#6c757d"},k9e={class:"text-#6c757d"},T9e={class:"mt-10 max-w-500"},P9e={class:"mt-10 max-w-500"},R9e={class:"mt-10 max-w-500"},E9e={class:"mt-10 max-w-500"},$9e={class:"mb-5"},A9e={class:"mt-10 max-w-500"},I9e={class:"mb-5"},M9e=pe({__name:"index",setup(e){const t=ul(),n=bn(),o=m=>Nn.global.t(m),r=B(""),i=B(""),a=B(""),s=B(!1);async function l(){if(s.value=!0,i.value!==a.value){window.$message.error(o("两次新密码输入不同"));return}const{data:m}=await GX(r.value,i.value);m===!0&&window.$message.success(o("密码修改成功")),s.value=!1}const c=B(!1),u=B(!1);async function d(m){if(m==="expire"){const{data:v}=await G0({remind_expire:c.value?1:0});v===!0?window.$message.success(o("更新成功")):(window.$message.error(o("更新失败")),c.value=!c.value)}else if(m==="traffic"){const{data:v}=await G0({remind_traffic:u.value?1:0});v===!0?window.$message.success(o("更新成功")):(window.$message.error(o("更新失败")),u.value=!u.value)}}const f=B(!1);async function p(){const{data:m}=await YX();m&&window.$message.success(o("重置成功"))}async function h(){t.getUserInfo(),c.value=!!t.remind_expire,u.value=!!t.remind_traffic}return an(()=>{h()}),(m,v)=>{const g=w9e,y=jn,S=Co,C=Tt,_=HY,x=il,w=Fi,T=co;return be(),Ge(T,null,{default:le(()=>[ee(y,{title:m.$t("我的钱包"),class:"border-rounded-5"},{"header-extra":le(()=>[ee(g,{class:"text-40 color-gray"})]),default:le(()=>{var P;return[H("div",null,[H("span",_9e,ce(me(nn)(me(t).balance)),1),H("span",S9e,ce((P=me(n).appConfig)==null?void 0:P.currency),1)]),H("div",k9e,ce(m.$t("账户余额(仅消费)")),1)]}),_:1},8,["title"]),ee(y,{title:m.$t("修改密码"),class:"mt-20 border-rounded-5"},{default:le(()=>[H("div",T9e,[H("label",null,ce(m.$t("旧密码")),1),ee(S,{type:"password",value:r.value,"onUpdate:value":v[0]||(v[0]=P=>r.value=P),placeholder:m.$t("请输入旧密码"),maxlength:32},null,8,["value","placeholder"])]),H("div",P9e,[H("label",null,ce(m.$t("新密码")),1),ee(S,{type:"password",value:i.value,"onUpdate:value":v[1]||(v[1]=P=>i.value=P),placeholder:m.$t("请输入新密码"),maxlength:32},null,8,["value","placeholder"])]),H("div",R9e,[H("label",null,ce(m.$t("新密码")),1),ee(S,{type:"password",value:a.value,"onUpdate:value":v[2]||(v[2]=P=>a.value=P),placeholder:m.$t("请输入新密码"),maxlength:32},null,8,["value","placeholder"])]),ee(C,{class:"mt-20",type:"primary",onClick:l,loading:s.value,disabled:s.value},{default:le(()=>[Je(ce(m.$t("保存")),1)]),_:1},8,["loading","disabled"])]),_:1},8,["title"]),ee(y,{title:m.$t("通知"),class:"mt-20 border-rounded-5"},{default:le(()=>[H("div",E9e,[H("div",$9e,ce(m.$t("到期邮件提醒")),1),ee(_,{value:c.value,"onUpdate:value":[v[3]||(v[3]=P=>c.value=P),v[4]||(v[4]=P=>d("expire"))]},null,8,["value"])]),H("div",A9e,[H("div",I9e,ce(m.$t("流量邮件提醒")),1),ee(_,{value:u.value,"onUpdate:value":[v[5]||(v[5]=P=>u.value=P),v[6]||(v[6]=P=>d("traffic"))]},null,8,["value"])])]),_:1},8,["title"]),ee(y,{title:m.$t("重置订阅信息"),class:"mt-20 border-rounded-5"},{default:le(()=>[ee(x,{type:"warning"},{default:le(()=>[Je(ce(m.$t("当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。")),1)]),_:1}),ee(C,{type:"error",size:"small",class:"mt-10",onClick:v[7]||(v[7]=P=>f.value=!0)},{default:le(()=>[Je(ce(m.$t("重置")),1)]),_:1})]),_:1},8,["title"]),ee(w,{show:f.value,"onUpdate:show":v[8]||(v[8]=P=>f.value=P),preset:"dialog",title:m.$t("确定要重置订阅信息?"),content:m.$t("如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。"),"positive-text":m.$t("确认"),"negative-text":m.$t("取消"),onPositiveClick:p},null,8,["show","title","content","positive-text","negative-text"])]),_:1})}}}),z9e=Object.freeze(Object.defineProperty({__proto__:null,default:M9e},Symbol.toStringTag,{value:"Module"})),O9e={class:"flex justify-end"},D9e=pe({__name:"index",setup(e){const t=p=>Nn.global.t(p),n=[{label:t("低"),value:0},{label:t("中"),value:1},{label:t("高"),value:2}],o=[{title:"#",key:"id"},{title:t("主题"),key:"subject"},{title:t("工单级别"),key:"u",render(p){return n[p.level].label}},{title:t("工单状态"),key:"status",render(p){const h=b("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 b("div",{class:"flex items-center"},[h,m])}},{title:t("创建时间"),key:"created_at",render(p){return tr(p.created_at)}},{title:t("最后回复时间"),key:"updated_at",render(p){return tr(p.updated_at)}},{title:t("操作"),key:"actions",fixed:"right",render(p){const h=b(Tt,{text:!0,type:"primary",onClick:()=>Jt.push(`/ticket/${p.id}`)},{default:()=>t("查看")}),m=b(Tt,{text:!0,type:"primary",disabled:p.status===1,onClick:()=>c(p.id)},{default:()=>t("关闭")}),v=b(sl,{vertical:!0});return b("div",[h,v,m])}}],r=B(!1),i=B(""),a=B(),s=B("");async function l(){const{data:p}=await nQ(i.value,a.value,s.value);p===!0&&(window.$message.success(t("创建成功")),f(),r.value=!1)}async function c(p){const{data:h}=await oQ(p);h&&(window.$message.success(t("关闭成功")),f())}const u=B([]);async function d(){const{data:p}=await tQ();u.value=p}function f(){d()}return an(()=>{f()}),(p,h)=>{const m=Co,v=ku,g=Na,y=jn,S=Fi,C=Eu,_=co;return be(),Ge(_,null,{default:le(()=>[ee(y,{class:"border-rounded-5",title:p.$t("工单历史")},{"header-extra":le(()=>[ee(me(Tt),{type:"primary",round:"",onClick:h[0]||(h[0]=x=>r.value=!0)},{default:le(()=>[Je(ce(p.$t("新的工单")),1)]),_:1}),ee(S,{show:r.value,"onUpdate:show":h[7]||(h[7]=x=>r.value=x)},{default:le(()=>[ee(y,{title:p.$t("新的工单"),class:"w-600",segmented:{content:!0,footer:!0},closable:"",onClose:h[6]||(h[6]=x=>r.value=!1)},{footer:le(()=>[H("div",O9e,[ee(g,null,{default:le(()=>[ee(me(Tt),{onClick:h[4]||(h[4]=x=>r.value=!1)},{default:le(()=>[Je(ce(p.$t("取消")),1)]),_:1}),ee(me(Tt),{type:"primary",onClick:h[5]||(h[5]=x=>l())},{default:le(()=>[Je(ce(p.$t("确认")),1)]),_:1})]),_:1})])]),default:le(()=>[H("div",null,[H("label",null,ce(p.$t("主题")),1),ee(m,{value:i.value,"onUpdate:value":h[1]||(h[1]=x=>i.value=x),class:"mt-5",placeholder:p.$t("请输入工单主题")},null,8,["value","placeholder"])]),H("div",null,[H("label",null,ce(p.$t("工单级别")),1),ee(v,{value:a.value,"onUpdate:value":h[2]||(h[2]=x=>a.value=x),options:n,placeholder:p.$t("请选项工单等级"),class:"mt-5"},null,8,["value","placeholder"])]),H("div",null,[H("label",null,ce(p.$t("消息")),1),ee(m,{value:s.value,"onUpdate:value":h[3]||(h[3]=x=>s.value=x),type:"textarea",placeholder:p.$t("请描述你遇到的问题"),round:"",class:"mt-5"},null,8,["value","placeholder"])])]),_:1},8,["title"])]),_:1},8,["show"])]),default:le(()=>[ee(C,{columns:o,data:u.value,"scroll-x":800},null,8,["data"])]),_:1},8,["title"])]),_:1})}}}),L9e=Object.freeze(Object.defineProperty({__proto__:null,default:D9e},Symbol.toStringTag,{value:"Module"})),F9e={class:"relative",style:{height:"calc(100% - 70px)"}},N9e={class:"mb-8 mt-8 text-14 text-gray"},B9e={class:"mb-8 inline-block border-rounded-5 bg-#f8f9fa pb-8 pl-16 pr-16 pt-8"},H9e=pe({__name:"detail",setup(e){const t=Pa(),n=u=>Nn.global.t(u),o=B("");async function r(){const{data:u}=await iQ(i.value,o.value);u===!0&&(window.$message.success(n("回复成功")),o.value="",c())}const i=B(),a=B();async function s(){const{data:u}=await rQ(i.value);u&&(a.value=u)}const l=B();function c(){s(),l.value=setInterval(s,2e3)}return an(()=>{i.value=t.params.ticket_id,c()}),(u,d)=>{const f=MY,p=Co,h=Tt,m=wu,v=jn,g=co;return be(),Ge(g,null,{default:le(()=>{var y;return[ee(v,{title:(y=a.value)==null?void 0:y.subject,class:"h-full overflow-hidden"},{default:le(()=>[H("div",F9e,[ee(f,{class:"absolute right-0 h-full"},{default:le(()=>{var S;return[(be(!0),ze(et,null,no((S=a.value)==null?void 0:S.message,C=>(be(),ze("div",{key:C.id,class:Ci([C.is_me?"text-right":"text-left"])},[H("div",N9e,ce(me(tr)(C.created_at)),1),H("div",B9e,ce(C.message),1)],2))),128))]}),_:1})]),ee(m,{size:"large",class:"mt-30"},{default:le(()=>[ee(p,{type:"text",size:"large",placeholder:u.$t("输入内容回复工单"),autofocus:!0,value:o.value,"onUpdate:value":d[0]||(d[0]=S=>o.value=S),onKeyup:d[1]||(d[1]=da(S=>r(),["enter"]))},null,8,["placeholder","value"]),ee(h,{type:"primary",size:"large",onClick:d[2]||(d[2]=S=>r())},{default:le(()=>[Je(ce(u.$t("回复")),1)]),_:1})]),_:1})]),_:1},8,["title"])]}),_:1})}}}),j9e=Object.freeze(Object.defineProperty({__proto__:null,default:H9e},Symbol.toStringTag,{value:"Module"})),V9e=pe({__name:"index",setup(e){const t=a=>Nn.global.t(a),n=[{title:t("记录时间"),key:"record_at",render(a){return fp(a.record_at)}},{title:t("实际上行"),key:"u",render(a){return o(a.u)}},{title:t("实际下行"),key:"d",render(a){return o(a.d)}},{title:t("扣费倍率"),key:"server_rate",render(a){return b(ui,{size:"small",round:!0},{default:()=>a.server_rate+" x"})}},{title(){const a=b(Pu,{placement:"bottom",trigger:"hover"},{trigger:()=>b(js("mdi-help-circle-outline",{size:16})),default:()=>t("公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量")});return b("div",{class:"flex items-center"},[t("总计"),a])},key:"total",fixed:"right",render(a){return o((a.d+a.u)*parseInt(a.server_rate))}}];function o(a){const s=a/1024,l=s/1024,c=l/1024,u=c/1024;return u>=1?Zi(u)+" TB":c>=1?Zi(c)+" GB":l>=1?Zi(l)+" MB":Zi(s)+" KB"}const r=B([]);async function i(){const{data:a}=await XX();r.value=a}return an(()=>{i()}),(a,s)=>{const l=il,c=Eu,u=jn,d=co;return be(),Ge(d,null,{default:le(()=>[ee(u,{class:"border-rounded-5"},{default:le(()=>[ee(l,{type:"info",bordered:!1,class:"mb-20"},{default:le(()=>[Je(ce(a.$t("流量明细仅保留近月数据以供查询。")),1)]),_:1}),ee(c,{columns:n,data:r.value,"scroll-x":600},null,8,["data"])]),_:1})]),_:1})}}}),U9e=Object.freeze(Object.defineProperty({__proto__:null,default:V9e},Symbol.toStringTag,{value:"Module"})),W9e={name:"NOTFOUND"},q9e={"h-full":"",flex:""};function K9e(e,t,n,o,r,i){const a=Tt,s=$Y;return be(),ze("div",q9e,[ee(s,{"m-auto":"",status:"404",title:"404 Not Found",description:""},{footer:le(()=>[ee(a,null,{default:le(()=>[Je("Find some fun")]),_:1})]),_:1})])}const G9e=zu(W9e,[["render",K9e]]),Y9e=Object.freeze(Object.defineProperty({__proto__:null,default:G9e},Symbol.toStringTag,{value:"Module"})),X9e={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},Q9e=H("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[H("path",{d:"M2 12c0 5.523 4.477 10 10 10s10-4.477 10-10S17.523 2 12 2S2 6.477 2 12"}),H("path",{d:"M13 2.05S16 6 16 12c0 6-3 9.95-3 9.95m-2 0S8 18 8 12c0-6 3-9.95 3-9.95M2.63 15.5h18.74m-18.74-7h18.74"})],-1),Z9e=[Q9e];function J9e(e,t){return be(),ze("svg",X9e,[...Z9e])}const eFe={name:"iconoir-language",render:J9e},tFe={class:"inline-block",viewBox:"0 0 32 32",width:"1em",height:"1em"},nFe=H("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),oFe=H("path",{fill:"currentColor",d:"M14.59 20.59L18.17 17H4v-2h14.17l-3.58-3.59L16 10l6 6l-6 6z"},null,-1),rFe=[nFe,oFe];function iFe(e,t){return be(),ze("svg",tFe,[...rFe])}const aFe={name:"carbon-login",render:iFe},sFe=e=>St({url:"/passport/auth/login",method:"post",data:e}),lFe=e=>St({url:"/passport/auth/register",method:"post",data:e});function VS(){return St.get("/guest/comm/config")}function US(e,t){return St.post("/passport/comm/sendEmailVerify",{email:e,recaptcha_data:t})}function cFe(e,t,n){return St.post("/passport/auth/forget",{email:e,password:t,email_code:n})}const uFe={class:"p-24"},dFe={key:0,class:"text-center"},fFe=["src"],hFe={key:1,class:"m-1 text-center text-36 font-normal",color:"#343a40"},pFe={"text-muted":"","mb-3":"","text-center":"","text-14":"","font-400":"",color:"#6c757d"},mFe={"mt-20":"","w-full":""},gFe={"mt-20":"","w-full":""},vFe={"mt-20":"","w-full":""},bFe={class:"flex justify-between bg-[--n-color-embedded] p-x-24 p-y-16 text-#6c757d"},yFe=pe({__name:"login",setup(e){const t=bn(),n=Qc(),o=B({email:"",password:""});r();function r(){const a=wi.get("loginInfo");a.value&&(o.value.email=a.value.email||"",o.value.password=a.value.password||"")}async function i(){var l;const{email:a,password:s}=o.value;if(!a||!s){window.$message.warning("请输入用户名和密码");return}try{const c=await sFe({email:a,password:s.toString()});(l=c.data)!=null&&l.auth_data&&(window.$message.success("登录成功"),PX(c.data.auth_data),n.push("/"))}catch{}}return(a,s)=>{const l=Co,c=aFe,u=Tt,d=ka("router-link"),f=sl,p=eFe,h=al,m=jn;return be(),ze("div",{"wh-full":"",flex:"","items-center":"","justify-center":"",style:Fo(me(t).background_url&&`background:url(${me(t).background_url}) no-repeat center center / cover;`)},[ee(m,{class:"m-auto max-w-450 rounded-5 bg-[--n-color] shadow-black","content-style":"padding: 0;"},{default:le(()=>[H("div",uFe,[me(t).logo?(be(),ze("div",dFe,[H("img",{src:me(t).logo,class:"mb-1em max-w-100%"},null,8,fFe)])):(be(),ze("h1",hFe,ce(me(t).title),1)),H("h5",pFe,ce(me(t).description||" "),1),H("div",mFe,[ee(l,{value:o.value.email,"onUpdate:value":s[0]||(s[0]=v=>o.value.email=v),autofocus:"",placeholder:a.$t("邮箱"),maxlength:40},null,8,["value","placeholder"])]),H("div",gFe,[ee(l,{value:o.value.password,"onUpdate:value":s[1]||(s[1]=v=>o.value.password=v),class:"",type:"password","show-password-on":"click",placeholder:a.$t("密码"),maxlength:40,onKeydown:da(i,["enter"])},null,8,["value","placeholder","onKeydown"])]),H("div",vFe,[ee(u,{"h-36":"","w-full":"","rounded-5":"","text-16":"",type:"primary","icon-placement":"left",onClick:i},{icon:le(()=>[ee(c)]),default:le(()=>[Je(" "+ce(a.$t("登入")),1)]),_:1})])]),H("div",bFe,[H("div",null,[ee(d,{to:"/register",class:"text-#6c757d"},{default:le(()=>[Je(ce(a.$t("注册")),1)]),_:1}),ee(f,{vertical:""}),ee(d,{to:"/forgetpassword",class:"text-#6c757d"},{default:le(()=>[Je(ce(a.$t("忘记密码")),1)]),_:1})]),H("div",null,[ee(h,{value:me(t).lang,"onUpdate:value":s[2]||(s[2]=v=>me(t).lang=v),options:Object.entries(me(fi)).map(([v,g])=>({label:g,value:v})),trigger:"click","on-update:value":me(t).switchLang},{default:le(()=>[ee(u,{text:"","icon-placement":"left"},{icon:le(()=>[ee(p)]),default:le(()=>[Je(" "+ce(me(fi)[me(t).lang]),1)]),_:1})]),_:1},8,["value","options","on-update:value"])])])]),_:1})],4)}}}),xFe=Object.freeze(Object.defineProperty({__proto__:null,default:yFe},Symbol.toStringTag,{value:"Module"})),CFe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},wFe=H("path",{fill:"currentColor",d:"M9 9.5c0 .8-.7 1.5-1.5 1.5S6 10.3 6 9.5S6.7 8 7.5 8S9 8.7 9 9.5m7 0c0 .8-.7 1.5-1.5 1.5S13 10.3 13 9.5S13.7 8 14.5 8s1.5.7 1.5 1.5m-2 4.62L11.88 12l-1.06 1.06l1.06 1.06l-1.06 1.06l1.06 1.06l-1.06 1.06l1.06 1.06L14 16.24l-1.06-1.06zM16.85 13a2.05 2.05 0 0 0-2.05 2.05c0 .57.23 1.07.6 1.45l3.5 3.5l3.5-3.5c.37-.37.6-.89.6-1.45A2.05 2.05 0 0 0 20.95 13c-.55 0-1.08.23-1.45.6l-.6.6l-.6-.59c-.37-.38-.9-.61-1.45-.61M15 18.92A7.979 7.979 0 0 1 11 20a8 8 0 0 1-8-8a8 8 0 0 1 8-8c4.26 0 7.73 3.33 8 7.5c.58-.31 1.26-.5 1.95-.5c-.5-5.05-4.77-9-9.95-9A10 10 0 0 0 1 12a10 10 0 0 0 10 10c2 0 3.88-.6 5.45-1.62z"},null,-1),_Fe=[wFe];function SFe(e,t){return be(),ze("svg",CFe,[..._Fe])}const kFe={name:"mdi-emoticon-kiss-outline",render:SFe},WS=pe({__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=B(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 Vt(()=>{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.google.com/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)=>(be(),ze("div",{ref_key:"recaptchaDiv",ref:r},null,512))}}),TFe={class:"p-24"},PFe={key:0,class:"text-center"},RFe=["src"],EFe={key:1,class:"m-1 text-center text-36 font-normal",color:"#343a40"},$Fe={"text-muted":"","mb-3":"","text-center":"","text-14":"","font-400":"",color:"#6c757d"},AFe={"mt-20":"","w-full":""},IFe={key:2,"mt-20":"","w-full":""},MFe={"mt-20":"","w-full":""},zFe={"mt-20":"","w-full":""},OFe={"mt-20":"","w-full":""},DFe={"mt-20":"","w-full":""},LFe={class:"flex justify-between bg-[--n-color-embedded] p-x-24 p-y-16 text-#6c757d"},FFe=pe({__name:"register",setup(e){const t=Pa(),n=bn(),o=Qc(),r=B({email:"",password:"",confirm_password:"",invite_code:"",lock_invite_code:!1,suffix:"",email_code:""}),i=B(null),a=B(),s=B(!1),l=B();function c(S){i.value=S,setTimeout(()=>{s.value=!1,a.value&&a.value.reset,l.value==="register"?(v(),l.value=""):l.value==="sendEmailVerify"&&(m(),l.value="")},500)}function u(){a.value&&a.value.reset()}function d(){a.value&&a.value.reset()}function f(){a.value&&a.value.reset&&a.value.reset()}const p=B(!1),h=B(0);async function m(){var _,x;if(r.value.email===""){window.$message.error("请输入邮箱地址");return}if(p.value=!0,h.value>0){window.$message.warning(`${h.value}秒后可重新发送`);return}if((_=g.value)!=null&&_.is_recaptcha&&((x=g.value)!=null&&x.is_recaptcha)&&!i.value){s.value=!0,p.value=!1,l.value="sendEmailVerify";return}const S=r.value.suffix?`${r.value.email}${r.value.suffix}`:r.value.email,{data:C}=await US(S,i.value);if(C===!0){window.$message.success("发送成功"),h.value=60;const w=setInterval(()=>{h.value--,h.value===0&&clearInterval(w)},1e3);i.value=""}p.value=!1}async function v(){var P,k;if(r.value.email===""){window.$message.error("请输入邮箱地址");return}const{password:S,confirm_password:C,invite_code:_,email_code:x}=r.value,w=r.value.suffix?`${r.value.email}${r.value.suffix}`:r.value.email;if(!w||!S){window.$message.warning("请输入账号密码");return}if(S!==C){window.$message.warning("请确保两次密码输入一致");return}if((P=g.value)!=null&&P.is_recaptcha&&((k=g.value)!=null&&k.is_recaptcha)){i.value||(s.value=!0),l.value="register";return}const{data:T}=await lFe({email:w,password:S.toString(),invite_code:_,email_code:x});T.auth_data&&(window.$message.success("注册成功"),pR(T.auth_data),o.push("/"))}const g=B();async function y(){var C,_;const{data:S}=await VS();S&&(g.value=S,Ev(S.email_whitelist_suffix)&&(r.value.suffix=(C=S.email_whitelist_suffix)!=null&&C[0]?"@"+((_=S.email_whitelist_suffix)==null?void 0:_[0]):""))}return an(()=>{t.query.code&&(r.value.lock_invite_code=!0,r.value.invite_code=t.query.code),y()}),(S,C)=>{const _=Fi,x=Co,w=ku,T=wu,P=Tt,k=kFe,I=ka("router-link"),A=al,q=jn;return be(),ze("div",{"wh-full":"",flex:"","items-center":"","justify-center":"",style:Fo(me(n).background_url&&`background:url(${me(n).background_url}) no-repeat center center / cover;`)},[ee(_,{show:s.value,"onUpdate:show":C[0]||(C[0]=F=>s.value=F)},{default:le(()=>{var F,O,$;return[(F=g.value)!=null&&F.is_recaptcha&&((O=g.value)!=null&&O.recaptcha_site_key)?Cn((be(),Ge(me(WS),{key:0,sitekey:($=g.value)==null?void 0:$.recaptcha_site_key,size:"normal",theme:"light","loading-timeout":3e4,onVerify:c,onExpire:u,onFail:d,onError:f,ref_key:"vueRecaptchaRef",ref:a},null,8,["sitekey"])),[[ro,s.value]]):bt("",!0)]}),_:1},8,["show"]),ee(q,{class:"m-auto max-w-450 rounded-5 bg-[--n-color] shadow-black","content-style":"padding: 0;"},{default:le(()=>{var F,O;return[H("div",TFe,[me(n).logo?(be(),ze("div",PFe,[H("img",{src:me(n).logo,class:"mb-1em max-w-100%"},null,8,RFe)])):(be(),ze("h1",EFe,ce(me(n).title),1)),H("h5",$Fe,ce(me(n).description||" "),1),H("div",AFe,[ee(T,{class:"flex"},{default:le(()=>{var $,W,Q;return[ee(x,{value:r.value.email,"onUpdate:value":C[1]||(C[1]=L=>r.value.email=L),autofocus:"",class:"flex-[2] pl-5",placeholder:S.$t("邮箱"),maxlength:80},null,8,["value","placeholder"]),me(Ev)(($=g.value)==null?void 0:$.email_whitelist_suffix)?(be(),Ge(w,{key:0,value:r.value.suffix,"onUpdate:value":C[2]||(C[2]=L=>r.value.suffix=L),options:((Q=(W=g.value)==null?void 0:W.email_whitelist_suffix)==null?void 0:Q.map(L=>({value:`@${L}`,label:`@${L}`})))||[],class:"flex-[1]","consistent-menu-width":!1},null,8,["value","options"])):bt("",!0)]}),_:1})]),(F=g.value)!=null&&F.is_email_verify?(be(),ze("div",IFe,[ee(T,{class:"flex"},{default:le(()=>[ee(x,{value:r.value.email_code,"onUpdate:value":C[3]||(C[3]=$=>r.value.email_code=$),placeholder:S.$t("邮箱验证码"),class:"pl-5"},null,8,["value","placeholder"]),ee(P,{type:"primary",onClick:C[4]||(C[4]=$=>m()),loading:p.value,disabled:p.value||h.value>0},{default:le(()=>[Je(ce(h.value||S.$t("发送")),1)]),_:1},8,["loading","disabled"])]),_:1})])):bt("",!0),H("div",MFe,[ee(x,{value:r.value.password,"onUpdate:value":C[5]||(C[5]=$=>r.value.password=$),class:"pl-5",type:"password","show-password-on":"click",placeholder:S.$t("密码"),maxlength:40,onKeydown:da(v,["enter"])},null,8,["value","placeholder","onKeydown"])]),H("div",zFe,[ee(x,{value:r.value.confirm_password,"onUpdate:value":C[6]||(C[6]=$=>r.value.confirm_password=$),class:"pl-5",type:"password","show-password-on":"click",placeholder:S.$t("再次输入密码"),maxlength:40,onKeydown:da(v,["enter"])},null,8,["value","placeholder","onKeydown"])]),H("div",OFe,[ee(x,{value:r.value.invite_code,"onUpdate:value":C[7]||(C[7]=$=>r.value.invite_code=$),class:"pl-5",placeholder:[S.$t("邀请码"),(O=g.value)!=null&&O.is_invite_force?`(${S.$t("必填")})`:`(${S.$t("选填")})`],maxlength:20,disabled:r.value.lock_invite_code},null,8,["value","placeholder","disabled"])]),H("div",DFe,[ee(P,{"h-36":"","w-full":"","rounded-5":"","text-16":"",type:"primary",onClick:v,"icon-placement":"left"},{icon:le(()=>[ee(k)]),default:le(()=>[Je(" "+ce(S.$t("注册")),1)]),_:1})])]),H("div",LFe,[H("div",null,[ee(I,{to:"/login",class:"text-#6c757d"},{default:le(()=>[Je(ce(S.$t("返回登入")),1)]),_:1})]),H("div",null,[ee(A,{value:me(n).lang,"onUpdate:value":C[8]||(C[8]=$=>me(n).lang=$),options:Object.entries(me(fi)).map(([$,W])=>({label:W,value:$})),trigger:"click","on-update:value":me(n).switchLang},{default:le(()=>[ee(P,{text:""},{default:le(()=>[Je(ce(me(fi)[me(n).lang]),1)]),_:1})]),_:1},8,["value","options","on-update:value"])])])]}),_:1})],4)}}}),NFe=Object.freeze(Object.defineProperty({__proto__:null,default:FFe},Symbol.toStringTag,{value:"Module"})),BFe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},HFe=H("path",{fill:"currentColor",d:"M17 8.25a1.25 1.25 0 1 0 0-2.5a1.25 1.25 0 0 0 0 2.5m-8.05.35a6.554 6.554 0 0 1 6.55-6.55c3.596 0 6.55 2.819 6.55 6.45a6.51 6.51 0 0 1-1.255 3.852a6.014 6.014 0 0 0-1.276-.798a5.026 5.026 0 0 0 1.03-3.054c0-2.769-2.247-4.95-5.05-4.95a5.054 5.054 0 0 0-5.05 5.05c0 .262.034.539.088.845a1.774 1.774 0 0 1-.486 1.564l-6.236 6.235a1.25 1.25 0 0 0-.366.884V20.3c0 .138.112.25.25.25h2.5a.25.25 0 0 0 .25-.25v-1.5c0-.69.56-1.25 1.25-1.25h1.75V15.8c0-.65.497-1.185 1.132-1.245l1.077 1.078a1.758 1.758 0 0 0-.378.417h-.33v1.75c0 .69-.56 1.25-1.25 1.25H7.95v1.25a1.75 1.75 0 0 1-1.75 1.75H3.7a1.75 1.75 0 0 1-1.75-1.75v-2.172c0-.73.289-1.429.805-1.944L8.99 9.948a.275.275 0 0 0 .07-.244A6.387 6.387 0 0 1 8.95 8.6m4.83 2.68a.75.75 0 1 0-1.06-1.06l-2 2a.75.75 0 0 0 0 1.06l2 2a.75.75 0 1 0 1.06-1.06l-.72-.72H17a3.5 3.5 0 1 1-3.5 3.5a.75.75 0 0 0-1.5 0a5 5 0 1 0 5-5h-3.94l.72-.72"},null,-1),jFe=[HFe];function VFe(e,t){return be(),ze("svg",BFe,[...jFe])}const UFe={name:"fluent-key-reset24-regular",render:VFe},WFe={class:"p-24"},qFe={key:0,class:"text-center"},KFe=["src"],GFe={key:1,class:"m-1 text-center text-36 font-normal",color:"#343a40"},YFe={"text-muted":"","mb-3":"","text-center":"","text-14":"","font-400":"",color:"#6c757d"},XFe={"mt-20":"","w-full":""},QFe={"mt-20":"","w-full":""},ZFe={"mt-20":"","w-full":""},JFe={"mt-20":"","w-full":""},e7e={"mt-20":"","w-full":""},t7e={class:"flex justify-between bg-[--n-color-embedded] p-x-24 p-y-16 text-#6c757d"},n7e=pe({__name:"forgetpassword",setup(e){const t=bn(),n=Qc(),o=B({email:"",email_code:"",password:"",confirm_password:"",invite_code:"",suffix:""}),r=B(null),i=B(),a=B(!1),s=B();function l(y){r.value=y,setTimeout(()=>{a.value=!1,i.value&&i.value.reset(),s.value==="sendEmailVerify"&&(h(),s.value="")},500)}function c(){i.value.reset()}function u(){i.value.reset()}function d(){i.value.reset()}const f=B(!1),p=B(0);async function h(){var C,_;if(o.value.email===""){window.$message.error("请输入邮箱地址");return}if(f.value=!0,p.value>0){window.$message.warning(`${p.value}秒后可重新发送`);return}if((C=v.value)!=null&&C.is_recaptcha&&((_=v.value)!=null&&_.is_recaptcha)&&!r.value){a.value=!0,f.value=!1,s.value="sendEmailVerify";return}const y=o.value.suffix?`${o.value.email}${o.value.suffix}`:o.value.email,{data:S}=await US(y,r.value);if(S===!0){window.$message.success("发送成功"),p.value=60;const x=setInterval(()=>{p.value--,p.value===0&&clearInterval(x)},1e3);r.value=""}f.value=!1}async function m(){if(o.value.email===""){window.$message.error("请输入邮箱地址");return}const{email:y,password:S,confirm_password:C,email_code:_}=o.value;if(!y||!S){window.$message.warning("请输入账号密码");return}if(S!==C){window.$message.warning("请确保两次密码输入一致");return}const{data:x}=await cFe(y,S.toString(),_);x&&(window.$message.success("重置密码成功,正在返回登录"),setTimeout(()=>{n.push("/login")},500))}const v=B();async function g(){const{data:y}=await VS();y&&(v.value=y)}return an(()=>{g()}),(y,S)=>{const C=Fi,_=Co,x=wu,w=Tt,T=UFe,P=ka("router-link"),k=al,I=jn;return be(),ze("div",{"wh-full":"",flex:"","items-center":"","justify-center":"",style:Fo(me(t).background_url&&`background:url(${me(t).background_url}) no-repeat center center / cover;`)},[ee(C,{show:a.value,"onUpdate:show":S[0]||(S[0]=A=>a.value=A)},{default:le(()=>{var A,q,F;return[(A=v.value)!=null&&A.is_recaptcha&&((q=v.value)!=null&&q.recaptcha_site_key)?Cn((be(),Ge(me(WS),{key:0,sitekey:(F=v.value)==null?void 0:F.recaptcha_site_key,size:"normal",theme:"light","loading-timeout":500,onVerify:l,onExpire:c,onFail:u,onError:d,ref_key:"vueRecaptchaRef",ref:i},null,8,["sitekey"])),[[ro,a.value]]):bt("",!0)]}),_:1},8,["show"]),ee(I,{class:"m-auto max-w-450 rounded-5 bg-[--n-color] shadow-black","content-style":"padding: 0;"},{default:le(()=>[H("div",WFe,[me(t).logo?(be(),ze("div",qFe,[H("img",{src:me(t).logo,class:"mb-1em max-w-100%"},null,8,KFe)])):(be(),ze("h1",GFe,ce(me(t).title),1)),H("h5",YFe,ce(me(t).description||" "),1),H("div",XFe,[ee(x,{class:"flex"},{default:le(()=>[ee(_,{value:o.value.email,"onUpdate:value":S[1]||(S[1]=A=>o.value.email=A),autofocus:"",class:"flex-[2] pl-5",placeholder:y.$t("邮箱"),maxlength:40},null,8,["value","placeholder"])]),_:1})]),H("div",QFe,[ee(x,{class:"flex"},{default:le(()=>[ee(_,{placeholder:y.$t("邮箱验证码"),value:o.value.email_code,"onUpdate:value":S[2]||(S[2]=A=>o.value.email_code=A),class:"pl-5"},null,8,["placeholder","value"]),ee(w,{type:"primary",onClick:S[3]||(S[3]=A=>h()),loading:f.value,disabled:f.value||p.value>0},{default:le(()=>[Je(ce(p.value||y.$t("发送")),1)]),_:1},8,["loading","disabled"])]),_:1})]),H("div",ZFe,[ee(_,{value:o.value.password,"onUpdate:value":S[4]||(S[4]=A=>o.value.password=A),class:"pl-5",type:"password","show-password-on":"click",placeholder:y.$t("密码"),maxlength:40},null,8,["value","placeholder"])]),H("div",JFe,[ee(_,{value:o.value.confirm_password,"onUpdate:value":S[5]||(S[5]=A=>o.value.confirm_password=A),class:"pl-5",type:"password","show-password-on":"click",placeholder:y.$t("再次输入密码"),maxlength:40,onKeydown:S[6]||(S[6]=da(A=>m(),["enter"]))},null,8,["value","placeholder"])]),H("div",e7e,[ee(w,{"h-36":"","w-full":"","rounded-5":"","text-16":"",type:"primary","icon-placement":"left",onClick:S[7]||(S[7]=A=>m())},{icon:le(()=>[ee(T)]),default:le(()=>[Je(" "+ce(y.$t("重置密码")),1)]),_:1})])]),H("div",t7e,[H("div",null,[ee(P,{to:"/login",class:"text-#6c757d"},{default:le(()=>[Je(ce(y.$t("返回登录")),1)]),_:1})]),H("div",null,[ee(k,{value:me(t).lang,"onUpdate:value":S[8]||(S[8]=A=>me(t).lang=A),options:Object.entries(me(fi)).map(([A,q])=>({label:q,value:A})),trigger:"click","on-update:value":me(t).switchLang},{default:le(()=>[ee(w,{text:""},{default:le(()=>[Je(ce(me(fi)[me(t).lang]),1)]),_:1})]),_:1},8,["value","options","on-update:value"])])])]),_:1})],4)}}}),o7e=Object.freeze(Object.defineProperty({__proto__:null,default:n7e},Symbol.toStringTag,{value:"Module"})),r7e={请求失败:"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"},A1=Object.freeze(Object.defineProperty({__proto__:null,default:r7e},Symbol.toStringTag,{value:"Module"})),i7e={请求失败:"درخواست انجام نشد",月付:"ماهانه",季付:"سه ماهه",半年付:"نیم سال",年付:"سالانه",两年付:"دو سال",三年付:"سه سال",一次性:"یک‌باره",重置流量包:"بازنشانی بسته های داده",待支付:"در انتظار پرداخت",开通中:"ایجاید",已取消:"صرف نظر شد",已完成:"به پایان رسید",已折抵:"تخفیف داده شده است",待确认:"در حال بررسی",发放中:"صدور",已发放:"صادر شده",无效:"نامعتبر",个人中心:"پروفایل",登出:"خروج",搜索:"جستجو",仪表盘:"داشبرد",订阅:"اشتراک",我的订阅:"اشتراک من",购买订阅:"خرید اشتراک",财务:"امور مالی",我的订单:"درخواست های من",我的邀请:"دعوتنامه های من",用户:"کاربر",我的工单:"درخواست های من",流量明细:"جزئیات\\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} نفر","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"در صورت انتشار آدرس یا حساب اشتراک شما و سوء استفاده از آن توسط دیگران، می‌توانید اطلاعات اشتراک خود را در اینجا بازنشانی کنید تا از زیان‌های غیرضروری جلوگیری شود.",再次输入密码:"ورود مجدد رمز عبور",返回登陆:"بازگشت به ورود",选填:"اختیاری",必填:"الزامی",最后回复时间:"زمان آخرین پاسخ",请选项工单等级:"لطفاً اولویت تیکت را انتخاب کنید",回复:"پاسخ",输入内容回复工单:"محتوا را برای پاسخ به تیکت وارد کنید",已生成:"تولید شده",选择协议:"انتخاب پروتکل",自动:"خودکار",流量重置包:"بسته بازنشانی داده",复制失败:"کپی ناموفق بود"},I1=Object.freeze(Object.defineProperty({__proto__:null,default:i7e},Symbol.toStringTag,{value:"Module"})),a7e={请求失败:"リクエストエラー",月付:"月間プラン",季付:"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} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"購読アドレスまたはアカウントが漏れて他者に悪用された場合、不必要な損失を防ぐためにここで購読情報をリセットできます。",再次输入密码:"パスワードを再入力してください",返回登陆:"ログインに戻る",选填:"任意",必填:"必須",最后回复时间:"最終返信時刻",请选项工单等级:"チケットの優先度を選択してください",回复:"返信",输入内容回复工单:"チケットへの返信内容を入力",已生成:"生成済み",选择协议:"プロトコルの選択",自动:"自動",流量重置包:"データリセットパッケージ",复制失败:"コピーに失敗しました"},M1=Object.freeze(Object.defineProperty({__proto__:null,default:a7e},Symbol.toStringTag,{value:"Module"})),s7e={请求失败:"요청실패",月付:"월간",季付:"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} 명","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"구독 주소 또는 계정이 유출되어 다른 사람에게 남용되는 경우 여기에서 구독 정보를 재설정하여 불필요한 손실을 방지할 수 있습니다.",再次输入密码:"비밀번호를 다시 입력하세요",返回登陆:"로그인으로 돌아가기",选填:"선택 사항",必填:"필수",最后回复时间:"최근 답장 시간",请选项工单等级:"티켓 우선 순위 선택",回复:"답장",输入内容回复工单:"티켓에 대한 내용 입력",已生成:"생성됨",选择协议:"프로토콜 선택",自动:"자동",流量重置包:"데이터 리셋 패키지",复制失败:"복사 실패"},z1=Object.freeze(Object.defineProperty({__proto__:null,default:s7e},Symbol.toStringTag,{value:"Module"})),l7e={请求失败:"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"},O1=Object.freeze(Object.defineProperty({__proto__:null,default:l7e},Symbol.toStringTag,{value:"Module"})),c7e={请求失败:"请求失败",月付:"月付",季付:"季付",半年付:"半年付",年付:"年付",两年付:"两年付",三年付:"三年付",一次性:"一次性",重置流量包:"重置流量包",待支付:"待支付",开通中:"开通中",已取消:"已取消",已完成:"已完成",已折抵:"已折抵",待确认:"待确认",发放中:"发放中",已发放:"已发放",无效:"无效",个人中心:"个人中心",登出:"登出",搜索:"搜索",仪表盘:"仪表盘",订阅:"订阅",我的订阅:"我的订阅",购买订阅:"购买订阅",财务:"财务",我的订单:"我的订单",我的邀请:"我的邀请",用户:"用户",我的工单:"我的工单",流量明细:"流量明细",使用文档:"使用文档",绑定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} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。",再次输入密码:"再次输入密码",返回登陆:"返回登录",选填:"选填",必填:"必填",最后回复时间:"最后回复时间",请选项工单等级:"请选择工单优先级",回复:"回复",输入内容回复工单:"输入内容回复工单",已生成:"已生成",选择协议:"选择协议",自动:"自动",流量重置包:"流量重置包",复制失败:"复制失败"},D1=Object.freeze(Object.defineProperty({__proto__:null,default:c7e},Symbol.toStringTag,{value:"Module"})),u7e={请求失败:"請求失敗",月付:"月繳制",季付:"季繳",半年付:"半年缴",年付:"年繳",两年付:"兩年繳",三年付:"三年繳",一次性:"一次性",重置流量包:"重置流量包",待支付:"待支付",开通中:"開通中",已取消:"已取消",已完成:"已完成",已折抵:"已折抵",待确认:"待確認",发放中:"發放中",已发放:"已發放",无效:"無效",个人中心:"您的帳戸",登出:"登出",搜索:"搜尋",仪表盘:"儀表板",订阅:"訂閱",我的订阅:"我的訂閱",购买订阅:"購買訂閱",财务:"財務",我的订单:"我的訂單",我的邀请:"我的邀請",用户:"使用者",我的工单:"我的工單",流量明细:"流量明細",使用文档:"說明文件",绑定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} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"如果您的訂閱地址或帳戶洩漏並被他人濫用,您可以在此重置訂閱資訊,以避免不必要的損失。",再次输入密码:"請再次輸入密碼",返回登陆:"返回登入",选填:"選填",必填:"必填",最后回复时间:"最後回覆時間",请选项工单等级:"請選擇工單優先級",回复:"回覆",输入内容回复工单:"輸入內容回覆工單",已生成:"已生成",选择协议:"選擇協議",自动:"自動",流量重置包:"流量重置包",复制失败:"複製失敗"},L1=Object.freeze(Object.defineProperty({__proto__:null,default:u7e},Symbol.toStringTag,{value:"Module"}))});export default d7e(); +`);return o};Ha.prototype.render=function(e,t,n){var o,r,i,a="",s=this.rules;for(o=0,r=e.length;o\s]/i.test(e)}function u8e(e){return/^<\/a\s*>/i.test(e)}var d8e=function(t){var n,o,r,i,a,s,l,c,u,d,f,p,h,m,v,g,y=t.tokens,S;if(t.md.options.linkify){for(o=0,r=y.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"&&(c8e(s.content)&&h>0&&h--,u8e(s.content)&&h++),!(h>0)&&s.type==="text"&&t.md.linkify.test(s.content)){for(u=s.content,S=t.md.linkify.match(u),l=[],p=s.level,f=0,S.length>0&&S[0].index===0&&n>0&&i[n-1].type==="text_special"&&(S=S.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=g,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=S[c].lastIndex);f=0;t--)n=e[t],n.type==="text"&&!o&&(n.content=n.content.replace(h8e,m8e)),n.type==="link_open"&&n.info==="auto"&&o--,n.type==="link_close"&&n.info==="auto"&&o++}function v8e(e){var t,n,o=0;for(t=e.length-1;t>=0;t--)n=e[t],n.type==="text"&&!o&&TS.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 b8e=function(t){var n;if(t.md.options.typographer)for(n=t.tokens.length-1;n>=0;n--)t.tokens[n].type==="inline"&&(f8e.test(t.tokens[n].content)&&g8e(t.tokens[n].children),TS.test(t.tokens[n].content)&&v8e(t.tokens[n].children))},c1=Dt.isWhiteSpace,u1=Dt.isPunctChar,d1=Dt.isMdAsciiPunct,y8e=/['"]/,f1=/['"]/g,h1="’";function Ul(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function x8e(e,t){var n,o,r,i,a,s,l,c,u,d,f,p,h,m,v,g,y,S,C,_,x;for(C=[],n=0;n=0&&!(C[y].level<=l);y--);if(C.length=y+1,o.type==="text"){r=o.content,a=0,s=r.length;e:for(;a=0)u=r.charCodeAt(i.index-1);else for(y=n-1;y>=0&&!(e[y].type==="softbreak"||e[y].type==="hardbreak");y--)if(e[y].content){u=e[y].content.charCodeAt(e[y].content.length-1);break}if(d=32,a=48&&u<=57&&(g=v=!1),v&&g&&(v=f,g=p),!v&&!g){S&&(o.content=Ul(o.content,i.index,h1));continue}if(g){for(y=C.length-1;y>=0&&(c=C[y],!(C[y].level=0;n--)t.tokens[n].type!=="inline"||!y8e.test(t.tokens[n].content)||x8e(t.tokens[n].children,t)},w8e=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};ja.prototype.attrJoin=function(t,n){var o=this.attrIndex(t);o<0?this.attrPush([t,n]):this.attrs[o][1]=this.attrs[o][1]+" "+n};var wm=ja,_8e=wm;function PS(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}PS.prototype.Token=_8e;var S8e=PS,k8e=Cm,Kd=[["normalize",i8e],["block",a8e],["inline",s8e],["linkify",d8e],["replacements",b8e],["smartquotes",C8e],["text_join",w8e]];function _m(){this.ruler=new k8e;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&&!Gd(x))||_===45&&Gd(x))return!1;for(;s=4||(d=p1(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(y=t.parentType,t.parentType="table",C=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=p1(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=g=[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},E8e=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(k)!==62)return!1;if(r)return!0;for(h=[],m=[],y=[],S=[],x=t.md.block.ruler.getRules("blockquote"),g=t.parentType,t.parentType="blockquote",f=n;f=A));f++){if(t.src.charCodeAt(k++)===62&&!T){for(l=t.sCount[f]+1,t.src.charCodeAt(k)===32?(k++,l++,i=!1,C=!0):t.src.charCodeAt(k)===9?(C=!0,(t.bsCount[f]+l)%4===3?(k++,l++,i=!1):i=!0):C=!1,p=l,h.push(t.bMarks[f]),t.bMarks[f]=k;k=A,m.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(C?1:0),y.push(t.sCount[f]),t.sCount[f]=p-l,S.push(t.tShift[f]),t.tShift[f]=k-t.bMarks[f];continue}if(u)break;for(_=!1,s=0,c=x.length;s",w.map=d=[n,0],t.md.block.tokenize(t,n,f),w=t.push("blockquote_close","blockquote",-1),w.markup=">",t.lineMax=P,t.parentType=g,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[$]-t.listIndent>=4&&t.sCount[$]=t.blkIndent&&(j=!0),(k=g1(t,$))>=0){if(d=!0,I=t.bMarks[$]+t.tShift[$],g=Number(t.src.slice(I,k-1)),j&&g!==1)return!1}else if((k=m1(t,$))>=0)d=!1;else return!1;if(j&&t.skipSpaces(k)>=t.eMarks[$])return!1;if(r)return!0;for(v=t.src.charCodeAt(k-1),m=t.tokens.length,d?(z=t.push("ordered_list_open","ol",1),g!==1&&(z.attrs=[["start",g]])):z=t.push("bullet_list_open","ul",1),z.map=h=[$,0],z.markup=String.fromCharCode(v),A=!1,B=t.md.block.ruler.getRules("list"),_=t.parentType,t.parentType="list";$=y?c=1:c=S-u,c>4&&(c=1),l=u+c,z=t.push("list_item_open","li",1),z.markup=String.fromCharCode(v),z.map=f=[$,0],d&&(z.info=t.src.slice(I,k-1)),T=t.tight,w=t.tShift[$],x=t.sCount[$],C=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=l,t.tight=!0,t.tShift[$]=a-t.bMarks[$],t.sCount[$]=S,a>=y&&t.isEmpty($+1)?t.line=Math.min(t.line+2,o):t.md.block.tokenize(t,$,o,!0),(!t.tight||A)&&(X=!1),A=t.line-$>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=C,t.tShift[$]=w,t.sCount[$]=x,t.tight=T,z=t.push("list_item_close","li",-1),z.markup=String.fromCharCode(v),$=t.line,f[1]=$,$>=o||t.sCount[$]=4)break;for(W=!1,s=0,p=B.length;s=4||t.src.charCodeAt(x)!==91)return!1;for(;++x3)&&!(t.sCount[T]<0)){for(y=!1,u=0,d=S.length;u"u"&&(t.env.references={}),typeof t.env.references[f]>"u"&&(t.env.references[f]={title:C,href:c}),t.parentType=h,t.line=n+_+1),!0)},F8e=["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"],Fu={},N8e="[a-zA-Z_:][a-zA-Z0-9:._-]*",B8e="[^\"'=<>`\\x00-\\x20]+",H8e="'[^']*'",j8e='"[^"]*"',V8e="(?:"+B8e+"|"+H8e+"|"+j8e+")",U8e="(?:\\s+"+N8e+"(?:\\s*=\\s*"+V8e+")?)",ES="<[A-Za-z][A-Za-z0-9\\-]*"+U8e+"*\\s*\\/?>",$S="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",W8e="|",q8e="<[?][\\s\\S]*?[?]>",K8e="]*>",G8e="",Y8e=new RegExp("^(?:"+ES+"|"+$S+"|"+W8e+"|"+q8e+"|"+K8e+"|"+G8e+")"),X8e=new RegExp("^(?:"+ES+"|"+$S+")");Fu.HTML_TAG_RE=Y8e;Fu.HTML_OPEN_CLOSE_TAG_RE=X8e;var Q8e=F8e,Z8e=Fu.HTML_OPEN_CLOSE_TAG_RE,qi=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(Z8e.source+"\\s*$"),/^$/,!1]],J8e=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&&v1(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)},tIe=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};Uo.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};Uo.prototype.skipEmptyLines=function(t){for(var n=this.lineMax;tn;)if(!Nu(this.src.charCodeAt(--t)))return t+1;return t};Uo.prototype.skipChars=function(t,n){for(var o=this.src.length;to;)if(n!==this.src.charCodeAt(--t))return t+1;return t};Uo.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("")};Uo.prototype.Token=AS;var oIe=Uo,rIe=Cm,ql=[["table",P8e,["paragraph","reference"]],["code",R8e],["fence",E8e,["paragraph","reference","blockquote","list"]],["blockquote",A8e,["paragraph","reference","blockquote","list"]],["hr",M8e,["paragraph","reference","blockquote","list"]],["list",O8e,["paragraph","reference","blockquote"]],["reference",L8e],["html_block",J8e,["paragraph","reference","blockquote"]],["heading",eIe,["paragraph","reference","blockquote"]],["lheading",tIe],["paragraph",nIe]];function Bu(){this.ruler=new rIe;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(lIe),!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)},uIe=Dt.isSpace,dIe=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){Sm[e.charCodeAt(0)]=1});var hIe=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&&Sm[o]!==0?s.content=a:s.content=i,s.markup=i,s.info="escape"),t.pos=l+1,!0},pIe=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--))}ju.postProcess=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for(x1(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)&&(g=!0),l++}if(g){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[mIe(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},vIe=Dt.normalizeReference,Qd=Dt.isSpace,bIe=function(t,n){var o,r,i,a,s,l,c,u,d,f,p,h,m,v="",g=t.pos,y=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=y)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=y||t.src.charCodeAt(c)!==41)return t.pos=g,!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[vIe(a)],!u)return t.pos=g,!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=y,!0},yIe=/^([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])?)*)$/,xIe=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,CIe=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),xIe.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):yIe.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},wIe=Fu.HTML_TAG_RE;function _Ie(e){return/^\s]/i.test(e)}function SIe(e){return/^<\/a\s*>/i.test(e)}function kIe(e){var t=e|32;return t>=97&&t<=122}var TIe=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&&!kIe(o))||(r=t.src.slice(s).match(wIe),!r)?!1:(n||(a=t.push("html_inline","",0),a.content=r[0],_Ie(a.content)&&t.linkLevel++,SIe(a.content)&&t.linkLevel--),t.pos+=r[0].length,!0)},C1=wS,PIe=Dt.has,RIe=Dt.isValidEntityCode,w1=Dt.fromCodePoint,EIe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,$Ie=/^&([a-z][a-z0-9]{1,31});/i,AIe=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(EIe),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=RIe(r)?w1(r):w1(65533),a.markup=i[0],a.info="entity"),t.pos+=i[0].length,!0}else if(i=t.src.slice(s).match($Ie),i&&PIe(C1,i[1]))return n||(a=t.push("text_special","",0),a.content=C1[i[1]],a.markup=i[0],a.info="entity"),t.pos+=i[0].length,!0;return!1};function _1(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 IIe=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for(_1(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};dl.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};fl.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()};fl.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}),ef}function xh(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 Vu(e){return Object.prototype.toString.call(e)}function LIe(e){return Vu(e)==="[object String]"}function FIe(e){return Vu(e)==="[object Object]"}function NIe(e){return Vu(e)==="[object RegExp]"}function E1(e){return Vu(e)==="[object Function]"}function BIe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var IS={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function HIe(e){return Object.keys(e||{}).reduce(function(t,n){return t||IS.hasOwnProperty(n)},!1)}var jIe={"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}}},VIe="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]",UIe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function WIe(e){e.__index__=-1,e.__text_cache__=""}function qIe(e){return function(t,n){var o=t.slice(n);return e.test(o)?o.match(e)[0].length:0}}function $1(){return function(e,t){t.normalize(e)}}function Ac(e){var t=e.re=DIe()(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(VIe),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,FIe(l)){NIe(l.validate)?c.validate=qIe(l.validate):E1(l.validate)?c.validate=l.validate:i(s,l),E1(l.normalize)?c.normalize=l.normalize:l.normalize?i(s,l):c.normalize=$1();return}if(LIe(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:$1()};var a=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(BIe).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"),WIe(e)}function KIe(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 Ch(e,t){var n=new KIe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Yn(e,t){if(!(this instanceof Yn))return new Yn(e,t);t||HIe(e)&&(t=e,e={}),this.__opts__=xh({},IS,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=xh({},jIe,e),this.__compiled__={},this.__tlds__=UIe,this.__tlds_replaced__=!1,this.re={},Ac(this)}Yn.prototype.add=function(t,n){return this.__schemas__[t]=n,Ac(this),this};Yn.prototype.set=function(t){return this.__opts__=xh(this.__opts__,t),this};Yn.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};Yn.prototype.pretest=function(t){return this.re.pretest.test(t)};Yn.prototype.testSchemaAt=function(t,n,o){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,o,this):0};Yn.prototype.match=function(t){var n=0,o=[];this.__index__>=0&&this.__text_cache__===t&&(o.push(Ch(this,n)),n=this.__last_index__);for(var r=n?t.slice(n):t;this.test(r);)o.push(Ch(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return o.length?o:null};Yn.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,Ch(this,0)):null};Yn.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(),Ac(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,Ac(this),this)};Yn.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};Yn.prototype.onCompile=function(){};var GIe=Yn;const aa=2147483647,zo=36,Tm=1,Vs=26,YIe=38,XIe=700,MS=72,zS=128,OS="-",QIe=/^xn--/,ZIe=/[^\0-\x7F]/,JIe=/[\x2E\u3002\uFF0E\uFF61]/g,eMe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},tf=zo-Tm,Oo=Math.floor,nf=String.fromCharCode;function _r(e){throw new RangeError(eMe[e])}function tMe(e,t){const n=[];let o=e.length;for(;o--;)n[o]=t(e[o]);return n}function DS(e,t){const n=e.split("@");let o="";n.length>1&&(o=n[0]+"@",e=n[1]),e=e.replace(JIe,".");const r=e.split("."),i=tMe(r,t).join(".");return o+i}function Pm(e){const t=[];let n=0;const o=e.length;for(;n=55296&&r<=56319&&nString.fromCodePoint(...e),nMe=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:zo},A1=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},FS=function(e,t,n){let o=0;for(e=n?Oo(e/XIe):e>>1,e+=Oo(e/t);e>tf*Vs>>1;o+=zo)e=Oo(e/tf);return Oo(o+(tf+1)*e/(e+YIe))},Rm=function(e){const t=[],n=e.length;let o=0,r=zS,i=MS,a=e.lastIndexOf(OS);a<0&&(a=0);for(let s=0;s=128&&_r("not-basic"),t.push(e.charCodeAt(s));for(let s=a>0?a+1:0;s=n&&_r("invalid-input");const f=nMe(e.charCodeAt(s++));f>=zo&&_r("invalid-input"),f>Oo((aa-o)/u)&&_r("overflow"),o+=f*u;const p=d<=i?Tm:d>=i+Vs?Vs:d-i;if(fOo(aa/h)&&_r("overflow"),u*=h}const c=t.length+1;i=FS(o-l,c,l==0),Oo(o/c)>aa-r&&_r("overflow"),r+=Oo(o/c),o%=c,t.splice(o++,0,r)}return String.fromCodePoint(...t)},Em=function(e){const t=[];e=Pm(e);const n=e.length;let o=zS,r=0,i=MS;for(const l of e)l<128&&t.push(nf(l));const a=t.length;let s=a;for(a&&t.push(OS);s=o&&uOo((aa-r)/c)&&_r("overflow"),r+=(l-o)*c,o=l;for(const u of e)if(uaa&&_r("overflow"),u===o){let d=r;for(let f=zo;;f+=zo){const p=f<=i?Tm:f>=i+Vs?Vs:f-i;if(d=0))try{t.hostname=HS.toASCII(t.hostname)}catch{}return ri.encode(ri.format(t))}function xMe(e){var t=ri.parse(e,!0);if(t.hostname&&(!t.protocol||jS.indexOf(t.protocol)>=0))try{t.hostname=HS.toUnicode(t.hostname)}catch{}return ri.decode(ri.format(t),ri.decode.defaultChars+"%")}function ao(e,t){if(!(this instanceof ao))return new ao(e,t);t||ys.isString(e)||(t=e||{},e="default"),this.inline=new hMe,this.block=new fMe,this.core=new dMe,this.renderer=new uMe,this.linkify=new pMe,this.validateLink=bMe,this.normalizeLink=yMe,this.normalizeLinkText=xMe,this.utils=ys,this.helpers=ys.assign({},cMe),this.options={},this.configure(e),t&&this.set(t)}ao.prototype.set=function(e){return ys.assign(this.options,e),this};ao.prototype.configure=function(e){var t=this,n;if(ys.isString(e)&&(n=e,e=mMe[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};ao.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};ao.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};ao.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};ao.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};ao.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};ao.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};ao.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var CMe=ao,wMe=CMe;const Uu=rp(wMe),_Me={xmlns:"http://www.w3.org/2000/svg",id:"Layer_1",viewBox:"0 0 442.19 323.31"},SMe=H("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),kMe=H("path",{d:"M382.09 37.76H340l-10.84 123.9H221.09l-14.14 161.65 85.83-121.47h145.89l3.52-40.18h-70.94l10.84-123.9z",class:"cls-2"},null,-1),TMe=H("path",{d:"M149.41 121.47H3.52L0 161.66h221.09L235.23 0z",style:{fill:"#ffbc00"}},null,-1);function PMe(e,t){return be(),ze("svg",_Me,[H("defs",null,[(be(),Ge(Hc("style"),null,{default:le(()=>[Je(".cls-2{fill:#000}@media (prefers-color-scheme:dark){.cls-2{fill:#fff}}")]),_:1}))]),SMe,kMe,TMe])}const RMe={render:PMe},EMe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1109 1027"},$Me=a4('',2),AMe=[$Me];function IMe(e,t){return be(),ze("svg",EMe,[...AMe])}const of={render:IMe},MMe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64"},zMe=H("g",{fill:"#E29942","clip-path":"url(#clip0_408_56)"},[H("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.685v-5.782"}),H("path",{"fill-rule":"evenodd",d:"M24.397 26.46a1.684 1.684 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.684 1.684 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.444l-13.474 8.085","clip-rule":"evenodd"}),H("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),OMe=[zMe];function DMe(e,t){return be(),ze("svg",MMe,[...OMe])}const rf={render:DMe},Ni=e=>(x3("data-v-4d283f3c"),e=e(),C3(),e),LMe=["innerHTML"],FMe={class:"w-64"},NMe={class:"text-#666"},BMe={class:"w-64"},HMe={class:"text-#666"},jMe=Ni(()=>H("div",{class:"w-64"},[H("img",{src:iJ,class:"h-30 w-30"})],-1)),VMe={class:"text-#666"},UMe={class:"w-64"},WMe={class:"text-#666"},qMe={class:"font-bold"},KMe={class:"mb-20"},GMe={class:"text-center"},YMe={class:"mt-10 text-center"},XMe={class:"w-64"},QMe={class:"text-#666"},ZMe=Ni(()=>H("div",{class:"w-64"},[H("img",{src:bS,class:"h-30 w-30"})],-1)),JMe={class:"text-#666"},eze={class:"w-64"},tze={class:"text-#666"},nze={class:"w-64"},oze={class:"text-#666"},rze=Ni(()=>H("div",{class:"w-64"},[H("img",{src:aJ,class:"h-30 w-30 border-rounded-5"})],-1)),ize={class:"text-#666"},aze=Ni(()=>H("div",{class:"w-64"},[H("img",{src:sJ,class:"h-30 w-30 border-rounded-5"})],-1)),sze={class:"text-#666"},lze={class:"w-64"},cze={class:"text-#666"},uze=Ni(()=>H("div",{class:"w-64"},[H("img",{src:lJ,class:"h-30 w-30"})],-1)),dze={class:"text-#666"},fze=Ni(()=>H("div",{class:"w-64"},[H("img",{src:bS,class:"h-30 w-30"})],-1)),hze={class:"text-#666"},pze={class:"w-64"},mze={class:"text-#666"},gze=Ni(()=>H("div",{class:"w-64"},[H("img",{src:cJ,class:"h-30 w-30"})],-1)),vze={class:"text-#666"},bze={class:"w-64"},yze={class:"text-#666"},xze={class:"p-10 text-center"},Cze={class:"mb-5 md:mb-40"},wze={key:0,class:"mb-10"},_ze={class:"font-bold"},Sze=["onClick"],kze={class:"text-20"},Tze={class:"text-16 font-600 color-[hsla(0,0%,100%,.75)]"},Pze={class:"text-block mb-16 p-t-20 text-20 font-600"},Rze={key:0,class:"mb-16 text-14 text-gray"},Eze={key:1,class:"mb-16 text-14 font-600 text-red-500"},$ze={key:2,class:"mb-16 text-14 text-gray"},Aze={class:"text-gray"},Ize={class:""},Mze={class:"text-16"},zze={class:"text-14 text-gray"},Oze={class:""},Dze={class:"text-16"},Lze={class:"text-14 text-gray"},Fze={class:""},Nze={class:"text-16"},Bze={class:"text-14 text-gray"},Hze={class:""},jze={class:"text-16"},Vze={class:"text-14 text-gray"},Uze="data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjIwMCIgd2lkdGg9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwIDgpIj48Y2lyY2xlIGN4PSIxNzYiIGN5PSIxMiIgcj0iNCIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMjAuNS41bDIzIDExbS0yOSA4NGwtMy43OSAxMC4zNzdNMjcuMDM3IDEzMS40bDUuODk4IDIuMjAzLTMuNDYgNS45NDcgNi4wNzIgMi4zOTItMy45MzMgNS43NThtMTI4LjczMyAzNS4zN2wuNjkzLTkuMzE2IDEwLjI5Mi4wNTIuNDE2LTkuMjIyIDkuMjc0LjMzMk0uNSA0OC41czYuMTMxIDYuNDEzIDYuODQ3IDE0LjgwNWMuNzE1IDguMzkzLTIuNTIgMTQuODA2LTIuNTIgMTQuODA2TTEyNC41NTUgOTBzLTcuNDQ0IDAtMTMuNjcgNi4xOTJjLTYuMjI3IDYuMTkyLTQuODM4IDEyLjAxMi00LjgzOCAxMi4wMTJtMi4yNCA2OC42MjZzLTQuMDI2LTkuMDI1LTE4LjE0NS05LjAyNS0xOC4xNDUgNS43LTE4LjE0NSA1LjciIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNODUuNzE2IDM2LjE0Nmw1LjI0My05LjUyMWgxMS4wOTNsNS40MTYgOS41MjEtNS40MSA5LjE4NUg5MC45NTN6bTYzLjkwOSAxNS40NzloMTAuNzV2MTAuNzVoLTEwLjc1eiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48ZyBmaWxsPSIjZGRkIj48Y2lyY2xlIGN4PSI3MS41IiBjeT0iNy41IiByPSIxLjUiLz48Y2lyY2xlIGN4PSIxNzAuNSIgY3k9Ijk1LjUiIHI9IjEuNSIvPjxjaXJjbGUgY3g9IjgxLjUiIGN5PSIxMzQuNSIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iMTMuNSIgY3k9IjIzLjUiIHI9IjEuNSIvPjxwYXRoIGQ9Ik05MyA3MWgzdjNoLTN6bTMzIDg0aDN2M2gtM3ptLTg1IDE4aDN2M2gtM3oiLz48L2c+PHBhdGggZD0iTTM5LjM4NCA1MS4xMjJsNS43NTgtNC40NTQgNi40NTMgNC4yMDUtMi4yOTQgNy4zNjNoLTcuNzl6TTEzMC4xOTUgNC4wM2wxMy44MyA1LjA2Mi0xMC4wOSA3LjA0OHptLTgzIDk1bDE0LjgzIDUuNDI5LTEwLjgyIDcuNTU3LTQuMDEtMTIuOTg3ek01LjIxMyAxNjEuNDk1bDExLjMyOCAyMC44OTdMMi4yNjUgMTgweiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMTQ5LjA1IDEyNy40NjhzLS41MSAyLjE4My45OTUgMy4zNjZjMS41NiAxLjIyNiA4LjY0Mi0xLjg5NSAzLjk2Ny03Ljc4NS0yLjM2Ny0yLjQ3Ny02LjUtMy4yMjYtOS4zMyAwLTUuMjA4IDUuOTM2IDAgMTcuNTEgMTEuNjEgMTMuNzMgMTIuNDU4LTYuMjU3IDUuNjMzLTIxLjY1Ni01LjA3My0yMi42NTQtNi42MDItLjYwNi0xNC4wNDMgMS43NTYtMTYuMTU3IDEwLjI2OC0xLjcxOCA2LjkyIDEuNTg0IDE3LjM4NyAxMi40NSAyMC40NzYgMTAuODY2IDMuMDkgMTkuMzMxLTQuMzEgMTkuMzMxLTQuMzEiIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48L2c+PC9zdmc+",Wze=pe({__name:"index",setup(e){const t=F=>Nn.global.t(F),n=KY(),o=new Uu({html:!0}),r=F=>o.render(F),i=bn(),a=navigator.userAgent.toLowerCase();let s="unknown";a.includes("windows")?s="windows":a.includes("macintosh")?s="mac":a.includes("android")?s="android":(a.includes("iphone")||a.includes("ipad"))&&(s="ios");const l=ul(),c=N(!1),u=N();Vt(()=>{});const d=N(!1),f=N(!1),p=N(""),h=N(["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=N([]);function g(F){if(F==="auto"||F==="all"&&h.value.includes("all"))h.value=["auto"];else if(F==="all"&&!h.value.includes("all"))h.value=v.value.map(M=>M.type).filter(M=>M!=="auto");else{const M=h.value.includes(F);h.value=M?h.value.filter(Q=>Q!==F):[...h.value.filter(Q=>Q!=="auto"),F],x$(v.value.map(Q=>Q.type).filter(Q=>Q!=="auto"&&Q!=="all"),h.value)?h.value.push("all"):h.value=h.value.filter(Q=>Q!=="all")}h.value.length===0&&(h.value=["auto"]),y()}function y(){var M,se,Q;const F=h.value;F.includes("all")?p.value=((M=x.value)==null?void 0:M.subscribe_url)+"$types=all":F.includes("auto")?p.value=((se=x.value)==null?void 0:se.subscribe_url)+"$types=auto":p.value=((Q=x.value)==null?void 0:Q.subscribe_url)+"$types="+h.value.join(",")}function S(F){window.location.href=F}function C(F){return btoa(unescape(encodeURIComponent(F)))}const _=N(!0),x=N();async function w(){_.value=!0;const{data:F}=await NX();F&&(x.value=F),_.value=!1}function T(){var Q,ne,fe;const F=(Q=x.value)==null?void 0:Q.transfer_enable,M=((ne=x.value)==null?void 0:ne.u)||0,se=((fe=x.value)==null?void 0:fe.d)||0;return F?Math.floor((M+se)/F*100):0}function P(){const F=T(),{errorColor:M,warningColor:se,successColor:Q}=n.value;return F>=100?M:F>=70?se:Q}function k(){window.$dialog.confirm({title:t("确定重置当前已用流量?"),type:"warning",content:t("点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。"),async confirm(){var se;const F=(se=x.value)==null?void 0:se.plan_id;if(!F)return;const{data:M}=await pS(F,"reset_price");M&&Jt.push("order/"+M)}})}const A=N([]);async function I(){const{data:F}=await BX();A.value=F,F.map(M=>{var se;(se=M.tags)!=null&&se.includes("弹窗")&&(c.value=!0,u.value=M)})}const W=N([0,0,0]);async function B(){const{data:F}=await FX();F&&(W.value=F)}const z=N(),$=N();async function j(){const{data:F}=await fS();if(F){z.value=F;const se=[...new Set(F.map(Q=>{let ne=Q.type;return Q.type==="hysteria"&&Q.version==2&&(ne="hysteria2"),ne}))];$.value=se,v.value=m.filter(Q=>se.includes(Q.type)||["auto","all"].includes(Q.type))}}function X(){I(),w(),B(),j()}return an(()=>{X()}),(F,M)=>{const se=Fi,Q=rJ,ne=cm,fe=Li,xe=JZ,Ce=Su,G=jn,ve=lm,ue=sl,re=Tt,ke=il,U=ui,R=Dj,E=cl,q=_Y,ie=GZ,Y=co;return be(),Ge(Y,{"show-footer":!1},{default:le(()=>{var he,ye,ge,J;return[ee(se,{show:c.value,"onUpdate:show":M[0]||(M[0]=de=>c.value=de),class:"custom-card",preset:"card",title:(he=u.value)==null?void 0:he.title,size:"huge",bordered:!1,style:{width:"600px"},segmented:{content:"soft"}},{default:le(()=>{var de;return[H("div",{innerHTML:r(((de=u.value)==null?void 0:de.content)||""),class:"custom-html-style"},null,8,LMe)]}),_:1},8,["show","title"]),ee(se,{show:d.value,"onUpdate:show":M[19]||(M[19]=de=>d.value=de),"transform-origin":"center","auto-focus":!1,"display-directive":"show","trap-focus":!1},{default:le(()=>[ee(G,{class:"max-w-100% w-300",bordered:!1,size:"huge",contentStyle:"padding:0"},{default:le(()=>[ee(ve,{hoverable:""},{default:le(()=>{var de,_e;return[ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[1]||(M[1]=te=>{var oe,Ee;return((oe=x.value)==null?void 0:oe.subscribe_url)&&me(ec)((Ee=x.value)==null?void 0:Ee.subscribe_url)})},[H("div",FMe,[ee(Q,{class:"text-30 text-#595959"})]),H("div",NMe,ce(F.$t("复制订阅地址")),1)])]),_:1}),(de=$.value)!=null&&de.includes("hysteria2")?(be(),Ge(ne,{key:0,class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[2]||(M[2]=te=>{var oe,Ee;return((oe=x.value)==null?void 0:oe.subscribe_url)&&me(ec)(((Ee=x.value)==null?void 0:Ee.subscribe_url)+"&types=hysteria2")})},[H("div",BMe,[ee(fe,{size:"30"},{default:le(()=>[ee(me(RMe))]),_:1})]),H("div",HMe,ce(F.$t("复制HY2订阅地址")),1)])]),_:1})):bt("",!0),(_e=$.value)!=null&&_e.includes("vless")?(be(),Ge(ne,{key:1,class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[3]||(M[3]=te=>{var oe,Ee;return((oe=x.value)==null?void 0:oe.subscribe_url)&&me(ec)(((Ee=x.value)==null?void 0:Ee.subscribe_url)+"&types=vless")})},[jMe,H("div",VMe,ce(F.$t("复制Vless订阅地址")),1)])]),_:1})):bt("",!0),ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[5]||(M[5]=te=>{var oe;return p.value=((oe=x.value)==null?void 0:oe.subscribe_url)||"",f.value=!0})},[H("div",UMe,[ee(xe,{class:"text-30 text-#595959"})]),H("div",WMe,ce(F.$t("扫描二维码订阅")),1),ee(se,{show:f.value,"onUpdate:show":M[4]||(M[4]=te=>f.value=te)},{default:le(()=>[ee(G,{class:"w-300"},{default:le(()=>[H("div",qMe,ce(F.$t("选择协议"))+":",1),H("div",KMe,[(be(!0),ze(et,null,no(v.value,te=>(be(),Ge(Ce,{key:te.type,value:te.type,checked:h.value.includes(te.type),onClick:oe=>g(te.type)},{default:le(()=>[Je(ce(F.$t(te.label)),1)]),_:2},1032,["value","checked","onClick"]))),128))]),H("div",GMe,[ee(pJ,{value:p.value,"render-as":"svg",class:"h-140 w-140"},null,8,["value"])]),H("div",YMe,ce(F.$t("使用支持扫码的客户端进行订阅")),1)]),_:1})]),_:1},8,["show"])])]),_:1}),me(s)==="mac"?(be(),ze(et,{key:2},[ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[6]||(M[6]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("sing-box://import-remote-profile?url="+x.value.subscribe_url+`#${me(i).title}`)})},[H("div",XMe,[ee(fe,{size:"30"},{default:le(()=>[ee(me(of))]),_:1})]),H("div",QMe,ce(F.$t("导入到"))+" sing-box",1)])]),_:1}),ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[7]||(M[7]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("clash://install-config?url="+x.value.subscribe_url+`&name=${me(i).title}`)})},[ZMe,H("div",JMe,ce(F.$t("导入到"))+" ClashX Meta",1)])]),_:1}),ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[8]||(M[8]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("sing-box://import-remote-profile?url="+x.value.subscribe_url+`#${me(i).title}`)})},[H("div",eze,[ee(fe,{size:"30"},{default:le(()=>[ee(me(rf))]),_:1})]),H("div",tze,ce(F.$t("导入到"))+" Hiddify",1)])]),_:1})],64)):bt("",!0),me(s)==="ios"?(be(),ze(et,{key:3},[ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[9]||(M[9]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("sing-box://import-remote-profile?url="+x.value.subscribe_url+`#${me(i).title}`)})},[H("div",nze,[ee(fe,{size:"30"},{default:le(()=>[ee(me(of))]),_:1})]),H("div",oze,ce(F.$t("导入到"))+" sing-box",1)])]),_:1}),ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[10]||(M[10]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("shadowrocket://add/sub://"+C(x.value.subscribe_url).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")+`?remark=${me(i).title}`)})},[rze,H("div",ize,ce(F.$t("导入到"))+" Shadowsocket",1)])]),_:1}),ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[11]||(M[11]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("stash://install-config?url="+encodeURIComponent(x.value.subscribe_url)+`&name=${me(i).title}`)})},[aze,H("div",sze,ce(F.$t("导入到"))+" Stash",1)])]),_:1})],64)):bt("",!0),me(s)==="android"?(be(),ze(et,{key:4},[ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[12]||(M[12]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("sing-box://import-remote-profile?url="+x.value.subscribe_url+`#${me(i).title}`)})},[H("div",lze,[ee(fe,{size:"30"},{default:le(()=>[ee(me(of))]),_:1})]),H("div",cze,ce(F.$t("导入到"))+" sing-box",1)])]),_:1}),ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[13]||(M[13]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("clash://install-config?url="+(x.value.subscribe_url+"&types=hysteria2")+`&name=${me(i).title}`)})},[uze,H("div",dze,ce(F.$t("导入到"))+" NekoBox",1)])]),_:1}),ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[14]||(M[14]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("clash://install-config?url="+(x.value.subscribe_url+"&types=hysteria2")+`&name=${me(i).title}`)})},[fze,H("div",hze,ce(F.$t("导入到"))+" Clash Meta",1)])]),_:1}),ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[15]||(M[15]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("sing-box://import-remote-profile?url="+x.value.subscribe_url+`#${me(i).title}`)})},[H("div",pze,[ee(fe,{size:"30"},{default:le(()=>[ee(me(rf))]),_:1})]),H("div",mze,ce(F.$t("导入到"))+" Hiddify",1)])]),_:1})],64)):bt("",!0),me(s)==="windows"?(be(),ze(et,{key:5},[ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[16]||(M[16]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("clash://install-config?url="+(x.value.subscribe_url+"&types=hysteria2")+`&name=${me(i).title}`)})},[gze,H("div",vze,ce(F.$t("导入到"))+" Clash",1)])]),_:1}),ee(ne,{class:"p-0!"},{default:le(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:M[17]||(M[17]=te=>{var oe;return((oe=x.value)==null?void 0:oe.subscribe_url)&&S("sing-box://import-remote-profile?url="+x.value.subscribe_url+`#${me(i).title}`)})},[H("div",bze,[ee(fe,{size:"30"},{default:le(()=>[ee(me(rf))]),_:1})]),H("div",yze,ce(F.$t("导入到"))+" Hiddify",1)])]),_:1})],64)):bt("",!0)]}),_:1}),ee(ue,{class:"m-0!"}),H("div",xze,[ee(re,{type:"primary",class:"w-100%",size:"large",onClick:M[18]||(M[18]=de=>F.$router.push("/knowledge"))},{default:le(()=>[Je(ce(F.$t("不会使用,查看使用教程")),1)]),_:1})])]),_:1})]),_:1},8,["show"]),H("div",Cze,[W.value[1]&&W.value[1]>0||W.value[0]&&W.value[0]>0?(be(),ze("div",wze,[W.value[1]&&W.value[1]>0?(be(),Ge(ke,{key:0,type:"warning","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:le(()=>[Je(ce(W.value[1])+" "+ce(F.$t("条工单正在处理中"))+" ",1),ee(re,{text:"",strong:"",onClick:M[20]||(M[20]=de=>me(Jt).push("/ticket"))},{default:le(()=>[Je(ce(F.$t("立即查看")),1)]),_:1})]),_:1})):bt("",!0),W.value[0]&&W.value[0]>0?(be(),Ge(ke,{key:1,type:"error","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:le(()=>[Je(ce(F.$t("还有没支付的订单"))+" ",1),ee(re,{text:"",strong:"",onClick:M[21]||(M[21]=de=>me(Jt).push("/order"))},{default:le(()=>[Je(ce(F.$t("立即支付")),1)]),_:1})]),_:1})):bt("",!0),!((ye=x.value)!=null&&ye.expired_at&&(((ge=x.value)==null?void 0:ge.expired_at)||0)>Date.now()/1e3)&&T()>=70?(be(),Ge(ke,{key:2,type:"info","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:le(()=>[Je(ce(F.$tc("当前已使用流量达{rate}%",{rate:T()}))+" ",1),ee(re,{text:"",onClick:M[22]||(M[22]=de=>k())},{default:le(()=>[H("span",_ze,ce(F.$t("重置已用流量")),1)]),_:1})]),_:1})):bt("",!0)])):bt("",!0),Cn(ee(G,{class:"w-100% cursor-pointer overflow-hidden border-rounded-5 text-white transition hover:opacity-75",bordered:!1,"content-style":"padding: 0"},{default:le(()=>[ee(R,null,{default:le(()=>[(be(!0),ze(et,null,no(A.value,de=>(be(),ze("div",{key:de.id,class:"",style:Fo(de.img_url?`background:url(${de.img_url}) no-repeat;background-size: cover `:`background:url(${Uze})`),onClick:_e=>(c.value=!0,u.value=de)},[H("div",{class:"carousel-img flex flex-col justify-between p-20",style:Fo({background:"rgba(0, 0, 0, 0.5) !important"})},[H("div",null,[ee(U,{bordered:!1,class:"bg-#e04f1a text-12 color-white"},{default:le(()=>[Je(ce(F.$t("公告")),1)]),_:1})]),H("div",null,[H("p",kze,ce(de.title),1),H("p",Tze,ce(me(tr)(de.created_at)),1)])],4)],12,Sze))),128))]),_:1})]),_:1},512),[[ro,((J=A.value)==null?void 0:J.length)>0]]),ee(G,{title:F.$t("我的订阅"),class:"mt-5 border-rounded-5 md:m-t-20"},{default:le(()=>{var de,_e,te,oe,Ee,De,qe,tt,Me,je,dt,Oe,rt,it;return[_.value?(be(),ze(et,{key:0},[ee(E,{text:"",repeat:1,class:"w-60%"}),ee(E,{text:"",repeat:1,class:"w-80%"}),ee(E,{text:"",repeat:1})],64)):(de=x.value)!=null&&de.plan_id?(be(),ze(et,{key:1},[H("div",Pze,ce((te=(_e=x.value)==null?void 0:_e.plan)==null?void 0:te.name),1),((oe=x.value)==null?void 0:oe.expired_at)===null?(be(),ze("div",Rze,ce(F.$t("该订阅长期有效")),1)):(Ee=x.value)!=null&&Ee.expired_at&&(((De=x.value)==null?void 0:De.expired_at)??0)me(Jt).push("/plan/"+me(l).plan_id))},{default:le(()=>[Je(ce(F.$t("续费订阅")),1)]),_:1})):T()>=70?(be(),Ge(re,{key:4,type:"primary",class:"mt-20",onClick:M[24]||(M[24]=Z=>k())},{default:le(()=>[Je(ce(F.$t("重置已用流量")),1)]),_:1})):bt("",!0)],64)):(be(),ze("div",{key:2,class:"cursor-pointer pt-20 text-center",onClick:M[25]||(M[25]=Z=>me(Jt).push("/plan"))},[ee(ie,{class:"text-40"}),H("div",Aze,ce(F.$t("购买订阅")),1)]))]}),_:1},8,["title"]),ee(G,{title:F.$t("捷径"),class:"m-t-20 border-rounded-5","content-style":"padding: 0"},{default:le(()=>[ee(ve,{clickable:"",hoverable:""},{default:le(()=>[ee(ne,{class:"flex cursor-pointer justify-between p-19 hover:bg-#f6f6f6",onClick:M[26]||(M[26]=de=>me(Jt).push("/knowledge"))},{default:le(()=>[H("div",Ize,[H("div",Mze,ce(F.$t("查看教程")),1),H("div",zze,ce(F.$t("学习如何使用"))+" "+ce(me(i).title),1)])]),_:1}),ee(ne,{class:"flex cursor-pointer justify-between p-19 hover:bg-#f6f6f6",onClick:M[27]||(M[27]=de=>d.value=!0)},{default:le(()=>[H("div",Oze,[H("div",Dze,ce(F.$t("一键订阅")),1),H("div",Lze,ce(F.$t("快速将节点导入对应客户端进行使用")),1)])]),_:1}),ee(ne,{class:"flex cursor-pointer justify-between p-19",onClick:M[28]||(M[28]=de=>me(l).plan_id?me(Jt).push("/plan/"+me(l).plan_id):me(Jt).push("/plan"))},{default:le(()=>{var de;return[H("div",Fze,[H("div",Nze,ce((de=x.value)!=null&&de.plan_id?F.$t("续费订阅"):F.$t("购买订阅")),1),H("div",Bze,ce(F.$t("对您当前的订阅进行购买")),1)])]}),_:1}),ee(ne,{class:"flex cursor-pointer justify-between p-19",onClick:M[29]||(M[29]=de=>F.$router.push("/ticket"))},{default:le(()=>[H("div",Hze,[H("div",jze,ce(F.$t("遇到问题")),1),H("div",Vze,ce(F.$t("遇到问题可以通过工单与我们沟通")),1)])]),_:1})]),_:1})]),_:1},8,["title"])])]}),_:1})}}}),qze=zu(Wze,[["__scopeId","data-v-4d283f3c"]]),Kze=Object.freeze(Object.defineProperty({__proto__:null,default:qze},Symbol.toStringTag,{value:"Module"})),Gze={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},Yze=H("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),Xze=[Yze];function Qze(e,t){return be(),ze("svg",Gze,[...Xze])}const Zze={name:"ant-design-pay-circle-outlined",render:Qze},Jze={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},eOe=H("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.7zM157.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.8zM934 512h-60c-4.3 0-7.9 3.5-8 7.8a352.7 352.7 0 0 1-103.5 242.4a352.57 352.57 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.57 352.57 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),tOe=[eOe];function nOe(e,t){return be(),ze("svg",Jze,[...tOe])}const oOe={name:"ant-design-transaction-outlined",render:nOe},rOe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},iOe=H("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.91 2.91 0 0 0-.89.14a5 5 0 0 1 0 5.72A2.91 2.91 0 0 0 18 11a3 3 0 0 0 0-6M8 10H5V7H3v3H0v2h3v3h2v-3h3Z"},null,-1),aOe=[iOe];function sOe(e,t){return be(),ze("svg",rOe,[...aOe])}const lOe={name:"mdi-invite",render:sOe},cOe={class:"text-50 font-400"},uOe={class:"m-l-10 text-20 text-#6c757d md:m-l20"},dOe={class:"text-#6c757d"},fOe={class:"flex justify-between p-b-5 p-t-5"},hOe={class:"flex justify-between p-b-5 p-t-5"},pOe={key:0},mOe={key:1},gOe={class:"flex justify-between p-b-5 p-t-5"},vOe={class:"flex justify-between p-b-5 p-t-5"},bOe={class:"m-t-10"},yOe={class:"m-b-5"},xOe={class:"m-t-10"},COe={class:"m-b-5"},wOe={class:"flex justify-end"},_Oe={class:"m-t-10"},SOe={class:"m-b-5"},kOe={class:"m-t-10"},TOe={class:"m-b-5"},POe={class:"flex justify-end"},ROe=pe({__name:"index",setup(e){const t=bn(),n=x=>Nn.global.t(x),o=[{title:n("邀请码"),key:"code",render(x){const w=`${window.location.protocol}//${window.location.host}/#/register?code=${x.code}`;return b("div",[b("span",x.code),b(Tt,{size:"small",onClick:()=>ec(w),quaternary:!0,type:"info"},{default:()=>n("复制链接")})])}},{title:n("创建时间"),key:"created_at",fixed:"right",render(x){return tr(x.created_at)}}],r=[{title:n("发放时间"),key:"created_at",render(x){return tr(x.created_at)}},{title:n("佣金"),key:"get_amount",fixed:"right",render(x){return nn(x.get_amount)}}],i=N(),a=N([]);async function s(){const x=await UX(),{data:w}=x;i.value=w.codes,a.value=w.stat}const l=N([]),c=bo({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 WX(c.page,c.pageSize),{data:w}=x;l.value=w}const d=N(!1);async function f(){d.value=!0;const{data:x}=await qX();x===!0&&(window.$message.success(n("已生成")),_()),d.value=!1}const p=N(!1),h=N(),m=N(!1);async function v(){m.value=!0;const x=h.value;if(typeof x!="number"){window.$message.error(n("请输入正确的划转金额"));return}const{data:w}=await KX(x*100);w===!0&&(window.$message.success(n("划转成功")),p.value=!1,s()),m.value=!1}const g=N(!1),y=bo({method:null,account:null}),S=N(!1);async function C(){S.value=!0,y.method||window.$message.error(n("提现方式不能为空")),y.account||window.$message.error(n("提现账号不能为空"));const x=y.method,w=y.account,{data:T}=await GX({withdraw_method:x,withdraw_account:w});T===!0&&Jt.push("/ticket"),S.value=!1}function _(){s(),u()}return an(()=>{_()}),(x,w)=>{const T=lOe,P=sV,k=oOe,A=Zze,I=Na,W=jn,B=Eu,z=vS,$=il,j=Co,X=CG,F=Fi,M=ku,se=co;return be(),Ge(se,null,{default:le(()=>[ee(W,{title:x.$t("我的邀请"),class:"border-rounded-5"},{"header-extra":le(()=>[ee(T,{class:"text-40 text-gray"})]),default:le(()=>{var Q;return[H("div",null,[H("span",cOe,[ee(P,{from:0,to:me(nn)(a.value[4]),active:!0,precision:2,duration:"500"},null,8,["to"])]),H("span",uOe,ce((Q=me(t).appConfig)==null?void 0:Q.currency),1)]),H("div",dOe,ce(x.$t("当前剩余佣金")),1),ee(I,{class:"m-t-10"},{default:le(()=>{var ne;return[ee(me(Tt),{size:"small",type:"primary",onClick:w[0]||(w[0]=fe=>p.value=!0)},{icon:le(()=>[ee(k)]),default:le(()=>[Je(" "+ce(x.$t("划转")),1)]),_:1}),(ne=me(t).appConfig)!=null&&ne.withdraw_close?bt("",!0):(be(),Ge(me(Tt),{key:0,size:"small",type:"primary",onClick:w[1]||(w[1]=fe=>g.value=!0)},{icon:le(()=>[ee(A)]),default:le(()=>[Je(" "+ce(x.$t("推广佣金提现")),1)]),_:1}))]}),_:1})]}),_:1},8,["title"]),ee(W,{class:"m-t-15 border-rounded-5"},{default:le(()=>{var Q,ne,fe,xe,Ce,G;return[H("div",fOe,[H("div",null,ce(x.$t("已注册用户数")),1),H("div",null,ce(x.$tc("{number} 人",{number:a.value[0]})),1)]),H("div",hOe,[H("div",null,ce(x.$t("佣金比例")),1),(Q=me(t).appConfig)!=null&&Q.commission_distribution_enable?(be(),ze("div",pOe,ce(`${Math.floor((((ne=me(t).appConfig)==null?void 0:ne.commission_distribution_l1)||0)*a.value[3]/100)}%,${Math.floor((((fe=me(t).appConfig)==null?void 0:fe.commission_distribution_l2)||0)*a.value[3]/100)}%,${Math.floor((((xe=me(t).appConfig)==null?void 0:xe.commission_distribution_l3)||0)*a.value[3]/100)}%`),1)):(be(),ze("div",mOe,ce(a.value[3])+"%",1))]),H("div",gOe,[H("div",null,ce(x.$t("确认中的佣金")),1),H("div",null,ce((Ce=me(t).appConfig)==null?void 0:Ce.currency_symbol)+" "+ce(me(nn)(a.value[2])),1)]),H("div",vOe,[H("div",null,ce(x.$t("累计获得佣金")),1),H("div",null,ce((G=me(t).appConfig)==null?void 0:G.currency_symbol)+" "+ce(me(nn)(a.value[1])),1)])]}),_:1}),ee(W,{title:x.$t("邀请码管理"),class:"m-t-15 border-rounded-5"},{"header-extra":le(()=>[ee(me(Tt),{size:"small",type:"primary",round:"",loading:d.value,onClick:f},{default:le(()=>[Je(ce(x.$t("生成邀请码")),1)]),_:1},8,["loading"])]),default:le(()=>[ee(B,{columns:o,data:i.value,bordered:!1},null,8,["data"])]),_:1},8,["title"]),ee(W,{title:x.$t("佣金发放记录"),class:"m-t-15 border-rounded-5"},{default:le(()=>[ee(B,{columns:r,data:l.value,pagination:c},null,8,["data","pagination"])]),_:1},8,["title"]),ee(F,{show:p.value,"onUpdate:show":w[6]||(w[6]=Q=>p.value=Q)},{default:le(()=>[ee(W,{style:{width:"600px",position:"fixed",top:"30%",left:"50%",transform:"translate(-50%, -50%)"},segmented:{content:!0,footer:!0},title:x.$t("推广佣金划转至余额"),size:"huge",role:"dialog","aria-modal":"true","footer-style":"padding-top: 10px; padding-bottom:10px",class:"max-w-100%"},{"header-extra":le(()=>[ee(me(Tt),{class:"h-auto p-2",tertiary:"",size:"large",onClick:w[2]||(w[2]=Q=>p.value=!1)},{icon:le(()=>[ee(z,{class:"cursor-pointer opacity-85"})]),_:1})]),footer:le(()=>[H("div",wOe,[H("div",null,[ee(me(Tt),{onClick:w[4]||(w[4]=Q=>p.value=!1)},{default:le(()=>[Je(ce(x.$t("取消")),1)]),_:1}),ee(me(Tt),{type:"primary",class:"ml-10",onClick:w[5]||(w[5]=Q=>v()),loading:m.value,disabled:m.value},{default:le(()=>[Je(ce(x.$t("确定")),1)]),_:1},8,["loading","disabled"])])])]),default:le(()=>[ee($,{type:"warning"},{default:le(()=>[Je(ce(x.$tc("划转后的余额仅用于{title}消费使用",{title:me(t).title})),1)]),_:1}),H("div",bOe,[H("div",yOe,ce(x.$t("当前推广佣金余额")),1),ee(j,{placeholder:me(nn)(a.value[4]),type:"number",disabled:""},null,8,["placeholder"])]),H("div",xOe,[H("div",COe,ce(x.$t("划转金额")),1),ee(X,{value:h.value,"onUpdate:value":w[3]||(w[3]=Q=>h.value=Q),placeholder:x.$t("请输入需要划转到余额的金额"),clearable:""},null,8,["value","placeholder"])])]),_:1},8,["title"])]),_:1},8,["show"]),ee(F,{show:g.value,"onUpdate:show":w[12]||(w[12]=Q=>g.value=Q)},{default:le(()=>[ee(W,{style:{width:"600px",position:"fixed",top:"30%",left:"50%",transform:"translate(-50%, -50%)"},segmented:{content:!0,footer:!0},title:x.$t("推广佣金划转至余额"),size:"huge",role:"dialog","aria-modal":"true","footer-style":"padding-top: 10px; padding-bottom:10px",class:"max-w-100%"},{"header-extra":le(()=>[ee(me(Tt),{class:"h-auto p-2",tertiary:"",size:"large",onClick:w[7]||(w[7]=Q=>g.value=!1)},{icon:le(()=>[ee(z,{class:"cursor-pointer opacity-85"})]),_:1})]),footer:le(()=>[H("div",POe,[H("div",null,[ee(me(Tt),{onClick:w[10]||(w[10]=Q=>p.value=!1)},{default:le(()=>[Je(ce(x.$t("取消")),1)]),_:1}),ee(me(Tt),{type:"primary",class:"ml-10",onClick:w[11]||(w[11]=Q=>C()),loading:S.value,disabled:S.value},{default:le(()=>[Je(ce(x.$t("确定")),1)]),_:1},8,["loading","disabled"])])])]),default:le(()=>{var Q;return[H("div",_Oe,[H("div",SOe,ce(x.$t("提现方式")),1),ee(M,{value:y.method,"onUpdate:value":w[8]||(w[8]=ne=>y.method=ne),options:(Q=me(t).appConfig)==null?void 0:Q.withdraw_methods.map(ne=>({label:ne,value:ne})),placeholder:x.$t("请选择提现方式")},null,8,["value","options","placeholder"])]),H("div",kOe,[H("div",TOe,ce(x.$t("提现账号")),1),ee(j,{value:y.account,"onUpdate:value":w[9]||(w[9]=ne=>y.account=ne),placeholder:x.$t("请输入提现账号"),type:"string"},null,8,["value","placeholder"])])]}),_:1},8,["title"])]),_:1},8,["show"])]),_:1})}}}),EOe=Object.freeze(Object.defineProperty({__proto__:null,default:ROe},Symbol.toStringTag,{value:"Module"})),$Oe={class:""},AOe={class:"mb-4 text-16 font-600"},IOe={class:"text-12 text-gray"},MOe=["innerHTML"],zOe=pe({__name:"index",setup(e){const t=bn(),n=new Uu({html:!0}),o=f=>n.render(f),r=N(!1),i=N();async function a(f){const{data:p}=await lQ(f,t.lang);p&&(i.value=p),r.value=!0}const s=N(""),l=N(!0),c=N();async function u(){l.value=!0;const f=s.value,{data:p}=await sQ(f,t.lang);c.value=p,l.value=!1}function d(){u()}return an(()=>{d()}),(f,p)=>{const h=Co,m=Tt,v=wu,g=cl,y=Na,S=cm,C=lm,_=jn,x=YW,w=KW,T=co;return be(),Ge(T,{"show-footer":!1},{default:le(()=>[ee(v,null,{default:le(()=>[ee(h,{placeholder:f.$t("使用文档"),value:s.value,"onUpdate:value":p[0]||(p[0]=P=>s.value=P),onKeyup:p[1]||(p[1]=da(P=>d(),["enter"]))},null,8,["placeholder","value"]),ee(m,{type:"primary",ghost:"",onClick:p[2]||(p[2]=P=>d())},{default:le(()=>[Je(ce(f.$t("搜索")),1)]),_:1})]),_:1}),l.value?(be(),Ge(y,{key:0,vertical:"",class:"mt-20"},{default:le(()=>[ee(g,{height:"20px",width:"33%"}),ee(g,{height:"20px",width:"66%"}),ee(g,{height:"20px"})]),_:1})):bt("",!0),(be(!0),ze(et,null,no(c.value,(P,k)=>(be(),Ge(_,{key:k,title:k,class:"mt-20 border-rounded-5",contentStyle:"padding:0"},{default:le(()=>[ee(C,{clickable:"",hoverable:""},{default:le(()=>[(be(!0),ze(et,null,no(P,A=>(be(),Ge(S,{key:A.id,onClick:I=>a(A.id)},{default:le(()=>[H("div",$Oe,[H("div",AOe,ce(A.title),1),H("div",IOe,ce(f.$t("最后更新"))+" "+ce(me(fp)(A.updated_at)),1)])]),_:2},1032,["onClick"]))),128))]),_:2},1024)]),_:2},1032,["title"]))),128)),ee(w,{show:r.value,"onUpdate:show":p[3]||(p[3]=P=>r.value=P),width:"80%",placement:"right"},{default:le(()=>{var P;return[ee(x,{title:(P=i.value)==null?void 0:P.title,closable:""},{default:le(()=>{var k;return[H("div",{innerHTML:o(((k=i.value)==null?void 0:k.body)||""),class:"custom-html-style"},null,8,MOe)]}),_:1},8,["title"])]}),_:1},8,["show"])]),_:1})}}}),OOe=Object.freeze(Object.defineProperty({__proto__:null,default:zOe},Symbol.toStringTag,{value:"Module"})),DOe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},LOe=H("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),FOe=[LOe];function NOe(e,t){return be(),ze("svg",DOe,[...FOe])}const BOe={name:"mdi-help-circle-outline",render:NOe},HOe={class:"flex"},jOe={class:"flex-[1]"},VOe={class:"flex flex-[3] text-center"},UOe={class:"flex flex-1 items-center justify-center"},WOe={class:"flex flex-1 items-center justify-center"},qOe={class:"flex-1"},KOe={class:"flex"},GOe={class:"flex-[1]"},YOe={class:"flex flex-[3] text-center"},XOe={class:"flex flex-[1] items-center justify-center"},QOe={class:"flex-[1]"},ZOe={class:"flex-[1]"},JOe={key:0},eDe={key:1},tDe=pe({__name:"index",setup(e){const t=N([]),n=N(!0);async function o(){n.value=!0;const r=await fS(),{data:i}=r;t.value=i,n.value=!1}return an(()=>{o()}),(r,i)=>{const a=cl,s=Na,l=BOe,c=Pu,u=ui,d=cm,f=lm,p=ka("router-link"),h=il,m=co;return be(),Ge(m,null,{default:le(()=>[n.value?(be(),Ge(s,{key:0,vertical:"",class:"mt-20"},{default:le(()=>[ee(a,{height:"20px",width:"33%"}),ee(a,{height:"20px",width:"66%"}),ee(a,{height:"20px"})]),_:1})):t.value.length>0?(be(),Ge(f,{key:1,clickable:"",hoverable:""},{header:le(()=>[H("div",HOe,[H("div",jOe,ce(r.$t("名称")),1),H("div",VOe,[H("div",UOe,[Je(ce(r.$t("状态"))+" ",1),ee(c,{placement:"bottom",trigger:"hover"},{trigger:le(()=>[ee(l,{class:"m-l-3 text-16"})]),default:le(()=>[H("span",null,ce(r.$t("五分钟内节点在线情况")),1)]),_:1})]),H("div",WOe,[Je(ce(r.$t("倍率"))+" ",1),ee(c,{placement:"bottom",trigger:"hover"},{trigger:le(()=>[ee(l,{class:"m-l-3 text-16"})]),default:le(()=>[H("span",null,ce(r.$t("使用的流量将乘以倍率进行扣除")),1)]),_:1})]),H("div",qOe,ce(r.$t("标签")),1)])])]),default:le(()=>[(be(!0),ze(et,null,no(t.value,v=>(be(),Ge(d,{key:v.id},{default:le(()=>[H("div",KOe,[H("div",GOe,ce(v.name),1),H("div",YOe,[H("div",XOe,[H("div",{class:Ci(["h-6 w-6 rounded-full",v.is_online?"bg-blue-500":"bg-red-500"])},null,2)]),H("div",QOe,[ee(u,{size:"small",round:"",class:""},{default:le(()=>[Je(ce(v.rate)+" x ",1)]),_:2},1024)]),H("div",ZOe,[v.tags&&v.tags.length>0?(be(),ze("div",JOe,[(be(!0),ze(et,null,no(v.tags,g=>(be(),Ge(u,{size:"small",round:"",key:g},{default:le(()=>[Je(ce(g),1)]),_:2},1024))),128))])):(be(),ze("span",eDe,"-"))])])])]),_:2},1024))),128))]),_:1})):(be(),Ge(h,{key:2,type:"info"},{default:le(()=>[H("div",null,[Je(ce(r.$t("没有可用节点,如果您未订阅或已过期请"))+" ",1),ee(p,{class:"font-600",to:"/plan"},{default:le(()=>[Je(ce(r.$t("订阅")),1)]),_:1}),Je("。")])]),_:1}))]),_:1})}}}),nDe=Object.freeze(Object.defineProperty({__proto__:null,default:tDe},Symbol.toStringTag,{value:"Module"})),oDe=pe({__name:"index",setup(e){const t=c=>Nn.global.t(c),n={0:t("待支付"),1:t("开通中"),2:t("已取消"),3:t("已完成"),4:t("已折抵")},o={month_price:t("月付"),quarter_price:t("季付"),half_year_price:t("半年付"),year_price:t("年付"),two_year_price:t("两年付"),three_year_price:t("三年付"),onetime_price:t("一次性"),reset_price:t("流量重置包")},r=[{title:t("# 订单号"),key:"trade_no",render(c){return b(Tt,{text:!0,class:"color-primary",onClick:()=>Jt.push(`/order/${c.trade_no}`)},{default:()=>c.trade_no})}},{title:t("周期"),key:"period",render(c){return b(ui,{round:!0,size:"small"},{default:()=>o[c.period]})}},{title:t("订单金额"),key:"total_amount",render(c){return nn(c.total_amount)}},{title:t("订单状态"),key:"status",render(c){const u=n[c.status],d=b("div",{class:["h-6 w-6 rounded-full mr-5",c.status===3?"bg-green-500":"bg-red-500"]});return b("div",{class:"flex items-center"},[d,u])}},{title:t("创建时间"),key:"created_at",render(c){return tr(c.created_at)}},{title:t("操作"),key:"actions",fixed:"right",render(c){const u=b(Tt,{text:!0,type:"primary",onClick:()=>Jt.push(`/order/${c.trade_no}`)},{default:()=>t("查看详情")}),d=b(Tt,{text:!0,type:"primary",disabled:c.status!==0,onClick:()=>i(c.trade_no)},{default:()=>t("取消")}),f=b(sl,{vertical:!0});return b("div",[u,f,d])}}];async function i(c){window.$dialog.confirm({title:t("注意"),type:"warning",content:t("如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?"),async confirm(){const{data:u}=await vm(c);u===!0&&(window.$message.success(t("取消成功")),l())}})}const a=N([]);async function s(){const c=await hS(),{data:u}=c;a.value=u}async function l(){s()}return an(()=>{l()}),(c,u)=>{const d=Eu,f=co;return be(),Ge(f,null,{default:le(()=>[ee(d,{columns:r,data:a.value,bordered:!1,"scroll-x":800},null,8,["data"])]),_:1})}}}),rDe=Object.freeze(Object.defineProperty({__proto__:null,default:oDe},Symbol.toStringTag,{value:"Module"})),iDe={class:"inline-block",viewBox:"0 0 48 48",width:"1em",height:"1em"},aDe=H("g",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd"},[H("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"}),H("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),sDe=[aDe];function lDe(e,t){return be(),ze("svg",iDe,[...sDe])}const VS={name:"healthicons-yes-outline",render:lDe},cDe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},uDe=H("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.656v776.608zm480.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.344zm.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.345zM394.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.473zm.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.473zm.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.473z"},null,-1),dDe=[uDe];function fDe(e,t){return be(),ze("svg",cDe,[...dDe])}const hDe={name:"simple-line-icons-book-open",render:fDe},pDe={class:"inline-block",viewBox:"0 0 20 20",width:"1em",height:"1em"},mDe=H("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),gDe=[mDe];function vDe(e,t){return be(),ze("svg",pDe,[...gDe])}const bDe={name:"dashicons-yes-alt",render:vDe},yDe={class:"inline-block",viewBox:"0 0 20 20",width:"1em",height:"1em"},xDe=H("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.46h2.26m-.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-.34z"},null,-1),CDe=[xDe];function wDe(e,t){return be(),ze("svg",yDe,[...CDe])}const _De={name:"dashicons-warning",render:wDe},SDe={key:1,class:"flex flex-wrap"},kDe={class:"w-100% md:flex-[2]"},TDe={key:2,class:"mt-10 text-22"},PDe={key:3,class:"text-14 text-[rgba(0,0,0,0.45)]"},RDe={class:"flex"},EDe={class:"flex-[1] text-#49505799"},$De={class:"flex-[2]"},ADe={class:"flex"},IDe={class:"m-t-5 flex-[1] text-#49505799"},MDe={class:"flex-[2]"},zDe={class:"flex"},ODe={class:"m-b-5 m-t-5 flex-[1] text-#49505799"},DDe={class:"flex-[2]"},LDe={class:"flex"},FDe={class:"flex-[1] text-#49505799"},NDe={class:"flex-[2]"},BDe={key:0,class:"flex"},HDe={class:"flex-[1] text-#49505799"},jDe={class:"flex-[2]"},VDe={key:1,class:"flex"},UDe={class:"flex-[1] text-#49505799"},WDe={class:"flex-[2]"},qDe={key:2,class:"flex"},KDe={class:"flex-[1] text-#49505799"},GDe={class:"flex-[2]"},YDe={key:3,class:"flex"},XDe={class:"flex-[1] text-#49505799"},QDe={class:"flex-[2]"},ZDe={key:4,class:"flex"},JDe={class:"flex-[1] text-#49505799"},eLe={class:"flex-[2]"},tLe={class:"flex"},nLe={class:"m-t-5 flex-[1] text-#49505799"},oLe={class:"flex-[2]"},rLe=["onClick"],iLe={class:"flex-[1]"},aLe={class:"max-h-30 flex-[1]"},sLe=["src"],lLe={key:0,class:"w-100% md:flex-[1] md:pl-20"},cLe={class:"mt-20 border-rounded-5 bg-#2f3135 p-20 color-white"},uLe={class:"text-18 font-600"},dLe={class:"flex border-#646669 border-b-solid pb-16 pt-16"},fLe={class:"flex-[2]"},hLe={class:"flex-[1] text-right color-#f8f9fa"},pLe={key:0,class:"border-[#646669] border-b-solid pb-16 pt-16"},mLe={class:"color-#f8f9fa41"},gLe={class:"pt-16 text-right"},vLe={key:1,class:"border-[#646669] border-b-solid pb-16 pt-16"},bLe={class:"color-#f8f9fa41"},yLe={class:"pt-16 text-right"},xLe={key:2,class:"border-[#646669] border-b-solid pb-16 pt-16"},CLe={class:"color-#f8f9fa41"},wLe={class:"pt-16 text-right"},_Le={key:3,class:"border-[#646669] border-b-solid pb-16 pt-16"},SLe={class:"color-#f8f9fa41"},kLe={class:"pt-16 text-right"},TLe={key:4,class:"border-[#646669] border-b-solid pb-16 pt-16"},PLe={class:"color-#f8f9fa41"},RLe={class:"pt-16 text-right"},ELe={class:"pb-16 pt-16"},$Le={class:"color-#f8f9fa41"},ALe={class:"text-36 font-600"},ILe=pe({__name:"detail",setup(e){const t=bn(),n=Pa(),o=C=>Nn.global.t(C),r={month_price:o("月付"),quarter_price:o("季付"),half_year_price:o("半年付"),year_price:o("年付"),two_year_price:o("两年付"),three_year_price:o("三年付"),onetime_price:o("一次性"),reset_price:o("流量重置包")};function i(C){switch(C){case 1:return{icon:"info",title:o("开通中"),subTitle:o("订单系统正在进行处理,请稍等1-3分钟。")};case 2:return{icon:"info",title:o("已取消"),subTitle:o("订单由于超时支付已被取消。")};case 3:case 4:return{icon:"info",title:o("已完成"),subTitle:o("订单已支付并开通。")}}return{icon:"error",title:o("意料之外"),subTitle:o("意料之外的状态")}}async function a(){window.$dialog.confirm({title:o("注意"),type:"warning",content:o("如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?"),async confirm(){const{data:C}=await vm(s.value);C===!0&&(window.$message.success(o("取消成功")),S())}})}const s=N(""),l=N(),c=N(),u=N(!0);async function d(){u.value=!0;const{data:C}=await jX(s.value);l.value=C,C.status===0&&(h(),c.value=setInterval(y,3e3)),u.value=!1}const f=N([]),p=N(0);async function h(){const{data:C}=await ZX();f.value=C}function m(){var _,x,w,T,P;return((_=l.value)==null?void 0:_.plan[l.value.period])-(((x=l.value)==null?void 0:x.balance_amount)||0)-(((w=l.value)==null?void 0:w.surplus_amount)||0)+(((T=l.value)==null?void 0:T.refund_amount)||0)-(((P=l.value)==null?void 0:P.discount_amount)||0)}function v(){const C=f.value[p.value];return C!=null&&C.handling_fee_percent?m()*parseFloat(C.handling_fee_percent)/100:(C==null?void 0:C.handling_fee_fixed)||0}async function g(){const C=f.value[p.value],{data:_}=await JX(s.value,C==null?void 0:C.id);_&&(_===!0?(window.$message.info("支付成功"),setTimeout(()=>{S()},500)):(window.$message.info("正在前往收银台"),setTimeout(()=>{window.location.href=_},500)))}async function y(){const{data:C}=await VX(s.value);C&&(clearInterval(c.value),S())}async function S(){d()}return an(()=>{s.value=n.params.trade_no,S()}),(C,_)=>{const x=cl,w=Na,T=_De,P=bDe,k=hDe,A=Tt,I=jn,W=VS,B=co;return be(),Ge(B,null,{default:le(()=>{var z,$,j,X,F,M,se,Q,ne,fe,xe,Ce,G,ve,ue,re,ke,U,R,E,q,ie,Y,he,ye,ge;return[u.value?(be(),Ge(w,{key:0,vertical:"",class:"mt-20"},{default:le(()=>[ee(x,{height:"20px",width:"33%"}),ee(x,{height:"20px",width:"66%"}),ee(x,{height:"20px"})]),_:1})):(be(),ze("div",SDe,[H("div",kDe,[((z=l.value)==null?void 0:z.status)!==0?(be(),Ge(I,{key:0,class:"flex text-center","items-center":"","border-rounded-5":""},{default:le(()=>{var J,de,_e,te,oe,Ee;return[((J=l.value)==null?void 0:J.status)===2?(be(),Ge(T,{key:0,class:"text-90 color-#f9a314"})):bt("",!0),((de=l.value)==null?void 0:de.status)===3||((_e=l.value)==null?void 0:_e.status)==4?(be(),Ge(P,{key:1,class:"text-90 color-#48bc19"})):bt("",!0),(te=l.value)!=null&&te.status?(be(),ze("div",TDe,ce(i(l.value.status).title),1)):bt("",!0),(oe=l.value)!=null&&oe.status?(be(),ze("div",PDe,ce(i(l.value.status).subTitle),1)):bt("",!0),((Ee=l.value)==null?void 0:Ee.status)===3?(be(),Ge(A,{key:4,"icon-placement":"left",strong:"",color:"#db4619",size:"small",round:"",class:"mt-30",onClick:_[0]||(_[0]=De=>C.$router.push("/knowledge"))},{icon:le(()=>[ee(k)]),default:le(()=>[Je(" "+ce(C.$t("查看使用教程")),1)]),_:1})):bt("",!0)]}),_:1})):bt("",!0),ee(I,{class:"mt-20 border-rounded-5",title:C.$t("商品信息")},{default:le(()=>{var J,de,_e;return[H("div",RDe,[H("div",EDe,ce(C.$t("产品名称"))+":",1),H("div",$De,ce((J=l.value)==null?void 0:J.plan.name),1)]),H("div",ADe,[H("div",IDe,ce(C.$t("类型/周期"))+":",1),H("div",MDe,ce((de=l.value)!=null&&de.period?r[l.value.period]:""),1)]),H("div",zDe,[H("div",ODe,ce(C.$t("产品流量"))+":",1),H("div",DDe,ce((_e=l.value)==null?void 0:_e.plan.transfer_enable)+" GB",1)])]}),_:1},8,["title"]),ee(I,{class:"mt-20 border-rounded-5",title:C.$t("订单信息")},{"header-extra":le(()=>{var J;return[((J=l.value)==null?void 0:J.status)===0?(be(),Ge(A,{key:0,color:"#db4619",size:"small",round:"",strong:"",onClick:_[1]||(_[1]=de=>a())},{default:le(()=>[Je(ce(C.$t("关闭订单")),1)]),_:1})):bt("",!0)]}),default:le(()=>{var J,de,_e,te,oe,Ee,De,qe,tt,Me,je;return[H("div",LDe,[H("div",FDe,ce(C.$t("订单号"))+":",1),H("div",NDe,ce((J=l.value)==null?void 0:J.trade_no),1)]),(de=l.value)!=null&&de.discount_amount&&((_e=l.value)==null?void 0:_e.discount_amount)>0?(be(),ze("div",BDe,[H("div",HDe,ce(C.$t("优惠金额")),1),H("div",jDe,ce(me(nn)(l.value.discount_amount)),1)])):bt("",!0),(te=l.value)!=null&&te.surplus_amount&&((oe=l.value)==null?void 0:oe.surplus_amount)>0?(be(),ze("div",VDe,[H("div",UDe,ce(C.$t("旧订阅折抵金额")),1),H("div",WDe,ce(me(nn)(l.value.surplus_amount)),1)])):bt("",!0),(Ee=l.value)!=null&&Ee.refund_amount&&((De=l.value)==null?void 0:De.refund_amount)>0?(be(),ze("div",qDe,[H("div",KDe,ce(C.$t("退款金额")),1),H("div",GDe,ce(me(nn)(l.value.refund_amount)),1)])):bt("",!0),(qe=l.value)!=null&&qe.balance_amount&&((tt=l.value)==null?void 0:tt.balance_amount)>0?(be(),ze("div",YDe,[H("div",XDe,ce(C.$t("余额支付 ")),1),H("div",QDe,ce(me(nn)(l.value.balance_amount)),1)])):bt("",!0),((Me=l.value)==null?void 0:Me.status)===0&&v()>0?(be(),ze("div",ZDe,[H("div",JDe,ce(C.$t("支付手续费"))+":",1),H("div",eLe,ce(me(nn)(v())),1)])):bt("",!0),H("div",tLe,[H("div",nLe,ce(C.$t("创建时间"))+":",1),H("div",oLe,ce(me(tr)((je=l.value)==null?void 0:je.created_at)),1)])]}),_:1},8,["title"]),(($=l.value)==null?void 0:$.status)===0?(be(),Ge(I,{key:1,title:C.$t("支付方式"),class:"mt-20","content-style":"padding:0"},{default:le(()=>[(be(!0),ze(et,null,no(f.value,(J,de)=>(be(),ze("div",{key:J.id,class:Ci(["border-2 border-rounded-5 p-20 border-solid flex",p.value===de?"border-#0665d0":"border-transparent"]),onClick:_e=>p.value=de},[H("div",iLe,ce(J.name),1),H("div",aLe,[H("img",{class:"h-full",src:J.icon},null,8,sLe)])],10,rLe))),128))]),_:1},8,["title"])):bt("",!0)]),((j=l.value)==null?void 0:j.status)===0?(be(),ze("div",lLe,[H("div",cLe,[H("div",uLe,ce(C.$t("订单总额")),1),H("div",dLe,[H("div",fLe,ce((X=l.value)==null?void 0:X.plan.name),1),H("div",hLe,ce((F=me(t).appConfig)==null?void 0:F.currency_symbol)+ce(((M=l.value)==null?void 0:M.period)&&me(nn)((se=l.value)==null?void 0:se.plan[l.value.period])),1)]),(Q=l.value)!=null&&Q.surplus_amount&&((ne=l.value)==null?void 0:ne.surplus_amount)>0?(be(),ze("div",pLe,[H("div",mLe,ce(C.$t("折抵")),1),H("div",gLe,"- "+ce((fe=me(t).appConfig)==null?void 0:fe.currency_symbol)+ce(me(nn)((xe=l.value)==null?void 0:xe.surplus_amount)),1)])):bt("",!0),(Ce=l.value)!=null&&Ce.discount_amount&&((G=l.value)==null?void 0:G.discount_amount)>0?(be(),ze("div",vLe,[H("div",bLe,ce(C.$t("折扣")),1),H("div",yLe,"- "+ce((ve=me(t).appConfig)==null?void 0:ve.currency_symbol)+ce(me(nn)((ue=l.value)==null?void 0:ue.discount_amount)),1)])):bt("",!0),(re=l.value)!=null&&re.refund_amount&&((ke=l.value)==null?void 0:ke.refund_amount)>0?(be(),ze("div",xLe,[H("div",CLe,ce(C.$t("退款")),1),H("div",wLe,"- "+ce((U=me(t).appConfig)==null?void 0:U.currency_symbol)+ce(me(nn)((R=l.value)==null?void 0:R.refund_amount)),1)])):bt("",!0),(E=l.value)!=null&&E.balance_amount&&((q=l.value)==null?void 0:q.balance_amount)>0?(be(),ze("div",_Le,[H("div",SLe,ce(C.$t("余额支付")),1),H("div",kLe,"- "+ce((ie=me(t).appConfig)==null?void 0:ie.currency_symbol)+ce(me(nn)((Y=l.value)==null?void 0:Y.balance_amount)),1)])):bt("",!0),v()>0?(be(),ze("div",TLe,[H("div",PLe,ce(C.$t("支付手续费")),1),H("div",RLe,"+ "+ce((he=me(t).appConfig)==null?void 0:he.currency_symbol)+ce(me(nn)(v())),1)])):bt("",!0),H("div",ELe,[H("div",$Le,ce(C.$t("总计")),1),H("div",ALe,ce((ye=me(t).appConfig)==null?void 0:ye.currency_symbol)+" "+ce(me(nn)(m()+v()))+" "+ce((ge=me(t).appConfig)==null?void 0:ge.currency),1)]),ee(A,{type:"primary",class:"w-100% text-white","icon-placement":"left",strong:"",onClick:_[2]||(_[2]=J=>g())},{icon:le(()=>[ee(W)]),default:le(()=>[Je(" "+ce(C.$t("结账")),1)]),_:1})])])):bt("",!0)]))]}),_:1})}}}),MLe=Object.freeze(Object.defineProperty({__proto__:null,default:ILe},Symbol.toStringTag,{value:"Module"})),zLe={class:"ml-auto mr-auto max-w-1200 w-100%"},OLe={class:"m-3 mb-4 mt-4 text-30 font-400"},DLe={class:"card-container m-t-10 md:m-t-40"},LLe=["onClick"],FLe={class:"vertical-bottom"},NLe={class:"text-30 font-600"},BLe={class:"p-l-5 text-16 text-gray"},HLe=["innerHTML"],jLe=pe({__name:"index",setup(e){const t=bn(),n=d=>Nn.global.t(d),o=new Uu({html:!0}),r=d=>o.render(d),i=N(0),a=[{value:0,label:n("全部")},{value:1,label:n("按周期")},{value:2,label:n("按流量")}],s=N([]),l=N([]);ht([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}),console.log(d)});async function c(){const{data:d}=await HX();d.forEach(f=>{const p=u(f);f.price=p.price,f.cycle=p.cycle}),l.value=d}an(()=>{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=ZV,h=s2,m=Tt,v=jn,g=co;return be(),Ge(g,null,{default:le(()=>[H("div",zLe,[H("h2",OLe,ce(d.$t("选择最适合你的计划")),1),ee(h,{value:i.value,"onUpdate:value":f[0]||(f[0]=y=>i.value=y),name:"plan_select",class:""},{default:le(()=>[(be(),ze(et,null,no(a,y=>ee(p,{key:y.value,value:y.value,label:y.label,style:{background:"--n-color"}},null,8,["value","label"])),64))]),_:1},8,["value"]),H("section",DLe,[(be(!0),ze(et,null,no(s.value,y=>(be(),ze("div",{class:"card-item min-w-300 cursor-pointer",key:y.id,onClick:S=>d.$router.push("/plan/"+y.id)},[ee(v,{title:y.name,hoverable:"",class:"m-auto max-w-100% w-375"},{"header-extra":le(()=>{var S;return[H("div",FLe,[H("span",NLe,ce((S=me(t).appConfig)==null?void 0:S.currency_symbol)+" "+ce(y.price),1),Je(),H("span",BLe," /"+ce(y.cycle),1)])]}),action:le(()=>[ee(m,{strong:"",secondary:"",type:"info"},{default:le(()=>[Je(ce(d.$t("立即订阅")),1)]),_:1})]),default:le(()=>[H("div",{innerHTML:r(y.content||"")},null,8,HLe)]),_:2},1032,["title"])],8,LLe))),128))])])]),_:1})}}}),VLe=zu(jLe,[["__scopeId","data-v-1c778f67"]]),ULe=Object.freeze(Object.defineProperty({__proto__:null,default:VLe},Symbol.toStringTag,{value:"Module"})),WLe={class:"inline-block",viewBox:"0 0 576 512",width:"1em",height:"1em"},qLe=H("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),KLe=[qLe];function GLe(e,t){return be(),ze("svg",WLe,[...KLe])}const YLe={name:"fa6-solid-ticket",render:GLe},XLe={key:1,class:"flex flex-wrap"},QLe={class:"w-100% md:max-w-2/3"},ZLe=["innerHTML"],JLe=["onClick"],e9e={class:"mt-20 w-full md:mt-0 md:max-w-1/3 sm:max-w-full md:pl-20"},t9e={class:"border-rounded-5 bg-#2f3135 p-20 color-white"},n9e={class:"flex items-center"},o9e=["placeholder"],r9e={class:"mt-0 border-rounded-5 bg-#2f3135 p-20 color-white md:mt-20"},i9e={class:"text-18 font-600"},a9e={class:"flex border-#646669 border-b-solid pb-16 pt-16"},s9e={class:"flex-[2]"},l9e={class:"flex-[1] text-right color-#f8f9fa"},c9e={key:0,class:"border-[#646669] border-b-solid pb-16 pt-16"},u9e={class:"color-#f8f9fa"},d9e={class:"flex pb-16 pt-16"},f9e={class:"flex-[2]"},h9e={class:"flex-[1] text-right color-#f8f9fa"},p9e={class:"pb-16 pt-16"},m9e={class:"color-#f8f9fa"},g9e={class:"text-36 font-600"},v9e=pe({__name:"detail",setup(e){const t=bn(),n=Pa(),o=ul(),r=k=>Nn.global.t(k),i=new Uu({html:!0}),a=k=>i.render(k),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=N(0),c=N([]);async function u(){const k=S.value;c.value=[];for(const A in k)A in s&&k[A]!==null&&c.value.push({name:s[A],key:A})}const d=N(""),f=N(!1),p=N();async function h(){f.value=!0;const{data:k}=await tQ(d.value,P.value);k&&(p.value=k),f.value=!1}function m(){if(!p.value||!S.value||iC(l.value))return 0;const{type:k,value:A}=p.value,I=c.value[l.value].key;return k===1?A:A*S.value[I]/100}const v=N(!1);async function g(){var A;const k=(A=x.value)==null?void 0:A.find(I=>I.status===0);if(k){const I=k.trade_no;window.$dialog.confirm({title:r("注意"),type:"warning",content:r("您还有未完成的订单,购买前需要先取消,确定要取消之前的订单吗?"),positiveText:r("确认取消"),negativeText:r("返回我的订单"),confirm(){vm(I).then(({data:W})=>{W&&y()})},cancel(){Jt.push("/order")}});return}if(o.plan_id&&(o.expired_at===null||o.expired_at<=Math.floor(Date.now()/1e3))){window.$dialog.confirm({title:r("注意"),type:"warning",content:r("请注意,变更订阅会导致当前订阅被覆盖。"),confirm(){y()}});return}y()}async function y(){var I;v.value=!0;const k=c.value[l.value].key,{data:A}=await pS(P.value,k,(I=p.value)==null?void 0:I.code);A&&(window.$message.success(r("订单提交成功,正在跳转支付")),setTimeout(()=>{Jt.push("/order/"+A)},500)),v.value=!1}const S=N(),C=N(!0);async function _(){C.value=!0;const{data:k}=await eQ(P.value);S.value=k,u(),C.value=!1}const x=N();async function w(){const{data:k}=await hS();x.value=k}function T(){_(),w()}const P=N();return an(()=>{P.value=n.params.plan_id,T()}),(k,A)=>{const I=cl,W=Na,B=jn,z=sl,$=YLe,j=Tt,X=VS,F=co;return be(),Ge(F,null,{default:le(()=>{var M,se,Q,ne,fe,xe,Ce,G;return[C.value?(be(),Ge(W,{key:0,vertical:"",class:"mt-20"},{default:le(()=>[ee(I,{height:"20px",width:"33%"}),ee(I,{height:"20px",width:"66%"}),ee(I,{height:"20px"})]),_:1})):(be(),ze("div",XLe,[H("div",QLe,[ee(B,{title:(M=S.value)==null?void 0:M.name,class:"m-auto max-w-100% border-rounded-5"},{default:le(()=>{var ve;return[H("div",{innerHTML:a(((ve=S.value)==null?void 0:ve.content)||"")},null,8,ZLe)]}),_:1},8,["title"]),ee(B,{title:k.$t("付款周期"),class:"mt-20 border-rounded-5",contentStyle:"padding:0"},{default:le(()=>[(be(!0),ze(et,null,no(c.value,(ve,ue)=>{var re,ke;return be(),ze("div",{key:ve.key},[H("div",{class:Ci(["flex justify-between border-2 border-rounded-5 border-solid p-20 text-16 cursor-pointer",ue===l.value?"border-#0665d0":"border-transparent"]),onClick:U=>l.value=ue},[H("div",null,ce(ve.name),1),H("div",null,ce((re=me(t).appConfig)==null?void 0:re.currency_symbol)+" "+ce(me(nn)((ke=S.value)==null?void 0:ke[c.value[ue].key])),1)],10,JLe),ee(z,{class:"m-0!"})])}),128))]),_:1},8,["title"])]),H("div",e9e,[H("div",t9e,[H("div",n9e,[Cn(H("input",{placeholder:r("有优惠券?"),"onUpdate:modelValue":A[0]||(A[0]=ve=>d.value=ve),class:"min-w-0 flex-[1] border-none bg-transparent color-white outline-none"},null,8,o9e),[[W4,d.value]]),ee(j,{type:"primary","icon-placement":"left",loading:f.value,disabled:f.value,onClick:A[1]||(A[1]=ve=>h())},{icon:le(()=>[ee($)]),default:le(()=>[Je(" "+ce(k.$t("验证")),1)]),_:1},8,["loading","disabled"])])]),H("div",r9e,[H("div",i9e,ce(k.$t("订单总额")),1),H("div",a9e,[H("div",s9e,ce((se=S.value)==null?void 0:se.name),1),H("div",l9e,ce((Q=me(t).appConfig)==null?void 0:Q.currency_symbol)+" "+ce(me(nn)((ne=S.value)==null?void 0:ne[c.value[l.value].key])),1)]),p.value?(be(),ze("div",c9e,[H("div",u9e,ce(k.$t("折扣")),1),H("div",d9e,[H("div",f9e,ce((fe=p.value)==null?void 0:fe.name),1),H("div",h9e," - "+ce(me(nn)(m())),1)])])):bt("",!0),H("div",p9e,[H("div",m9e,ce(k.$t("总计")),1),H("div",g9e,ce((xe=me(t).appConfig)==null?void 0:xe.currency_symbol)+" "+ce(me(nn)(((Ce=S.value)==null?void 0:Ce[c.value[l.value].key])-m()))+" "+ce((G=me(t).appConfig)==null?void 0:G.currency),1)]),ee(j,{type:"primary",class:"w-100% text-white","icon-placement":"left",strong:"",loading:v.value,disabled:v.value,onClick:A[2]||(A[2]=ve=>g())},{icon:le(()=>[ee(X)]),default:le(()=>[Je(" "+ce(k.$t("下单")),1)]),_:1},8,["loading","disabled"])])])]))]}),_:1})}}}),b9e=Object.freeze(Object.defineProperty({__proto__:null,default:v9e},Symbol.toStringTag,{value:"Module"})),y9e={class:"inline-block",viewBox:"0 0 256 256",width:"1em",height:"1em"},x9e=H("path",{fill:"currentColor",d:"M216 72H56a8 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-16V88a16 16 0 0 0-16-16m-36 80a12 12 0 1 1 12-12a12 12 0 0 1-12 12"},null,-1),C9e=[x9e];function w9e(e,t){return be(),ze("svg",y9e,[...C9e])}const _9e={name:"ph-wallet-fill",render:w9e},S9e={class:"text-50 font-400"},k9e={class:"m-l-20 text-20 text-#6c757d"},T9e={class:"text-#6c757d"},P9e={class:"mt-10 max-w-500"},R9e={class:"mt-10 max-w-500"},E9e={class:"mt-10 max-w-500"},$9e={class:"mt-10 max-w-500"},A9e={class:"mb-5"},I9e={class:"mt-10 max-w-500"},M9e={class:"mb-5"},z9e=pe({__name:"index",setup(e){const t=ul(),n=bn(),o=m=>Nn.global.t(m),r=N(""),i=N(""),a=N(""),s=N(!1);async function l(){if(s.value=!0,i.value!==a.value){window.$message.error(o("两次新密码输入不同"));return}const{data:m}=await YX(r.value,i.value);m===!0&&window.$message.success(o("密码修改成功")),s.value=!1}const c=N(!1),u=N(!1);async function d(m){if(m==="expire"){const{data:v}=await Y0({remind_expire:c.value?1:0});v===!0?window.$message.success(o("更新成功")):(window.$message.error(o("更新失败")),c.value=!c.value)}else if(m==="traffic"){const{data:v}=await Y0({remind_traffic:u.value?1:0});v===!0?window.$message.success(o("更新成功")):(window.$message.error(o("更新失败")),u.value=!u.value)}}const f=N(!1);async function p(){const{data:m}=await XX();m&&window.$message.success(o("重置成功"))}async function h(){t.getUserInfo(),c.value=!!t.remind_expire,u.value=!!t.remind_traffic}return an(()=>{h()}),(m,v)=>{const g=_9e,y=jn,S=Co,C=Tt,_=jY,x=il,w=Fi,T=co;return be(),Ge(T,null,{default:le(()=>[ee(y,{title:m.$t("我的钱包"),class:"border-rounded-5"},{"header-extra":le(()=>[ee(g,{class:"text-40 color-gray"})]),default:le(()=>{var P;return[H("div",null,[H("span",S9e,ce(me(nn)(me(t).balance)),1),H("span",k9e,ce((P=me(n).appConfig)==null?void 0:P.currency),1)]),H("div",T9e,ce(m.$t("账户余额(仅消费)")),1)]}),_:1},8,["title"]),ee(y,{title:m.$t("修改密码"),class:"mt-20 border-rounded-5"},{default:le(()=>[H("div",P9e,[H("label",null,ce(m.$t("旧密码")),1),ee(S,{type:"password",value:r.value,"onUpdate:value":v[0]||(v[0]=P=>r.value=P),placeholder:m.$t("请输入旧密码"),maxlength:32},null,8,["value","placeholder"])]),H("div",R9e,[H("label",null,ce(m.$t("新密码")),1),ee(S,{type:"password",value:i.value,"onUpdate:value":v[1]||(v[1]=P=>i.value=P),placeholder:m.$t("请输入新密码"),maxlength:32},null,8,["value","placeholder"])]),H("div",E9e,[H("label",null,ce(m.$t("新密码")),1),ee(S,{type:"password",value:a.value,"onUpdate:value":v[2]||(v[2]=P=>a.value=P),placeholder:m.$t("请输入新密码"),maxlength:32},null,8,["value","placeholder"])]),ee(C,{class:"mt-20",type:"primary",onClick:l,loading:s.value,disabled:s.value},{default:le(()=>[Je(ce(m.$t("保存")),1)]),_:1},8,["loading","disabled"])]),_:1},8,["title"]),ee(y,{title:m.$t("通知"),class:"mt-20 border-rounded-5"},{default:le(()=>[H("div",$9e,[H("div",A9e,ce(m.$t("到期邮件提醒")),1),ee(_,{value:c.value,"onUpdate:value":[v[3]||(v[3]=P=>c.value=P),v[4]||(v[4]=P=>d("expire"))]},null,8,["value"])]),H("div",I9e,[H("div",M9e,ce(m.$t("流量邮件提醒")),1),ee(_,{value:u.value,"onUpdate:value":[v[5]||(v[5]=P=>u.value=P),v[6]||(v[6]=P=>d("traffic"))]},null,8,["value"])])]),_:1},8,["title"]),ee(y,{title:m.$t("重置订阅信息"),class:"mt-20 border-rounded-5"},{default:le(()=>[ee(x,{type:"warning"},{default:le(()=>[Je(ce(m.$t("当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。")),1)]),_:1}),ee(C,{type:"error",size:"small",class:"mt-10",onClick:v[7]||(v[7]=P=>f.value=!0)},{default:le(()=>[Je(ce(m.$t("重置")),1)]),_:1})]),_:1},8,["title"]),ee(w,{show:f.value,"onUpdate:show":v[8]||(v[8]=P=>f.value=P),preset:"dialog",title:m.$t("确定要重置订阅信息?"),content:m.$t("如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。"),"positive-text":m.$t("确认"),"negative-text":m.$t("取消"),onPositiveClick:p},null,8,["show","title","content","positive-text","negative-text"])]),_:1})}}}),O9e=Object.freeze(Object.defineProperty({__proto__:null,default:z9e},Symbol.toStringTag,{value:"Module"})),D9e={class:"flex justify-end"},L9e=pe({__name:"index",setup(e){const t=p=>Nn.global.t(p),n=[{label:t("低"),value:0},{label:t("中"),value:1},{label:t("高"),value:2}],o=[{title:"#",key:"id"},{title:t("主题"),key:"subject"},{title:t("工单级别"),key:"u",render(p){return n[p.level].label}},{title:t("工单状态"),key:"status",render(p){const h=b("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 b("div",{class:"flex items-center"},[h,m])}},{title:t("创建时间"),key:"created_at",render(p){return tr(p.created_at)}},{title:t("最后回复时间"),key:"updated_at",render(p){return tr(p.updated_at)}},{title:t("操作"),key:"actions",fixed:"right",render(p){const h=b(Tt,{text:!0,type:"primary",onClick:()=>Jt.push(`/ticket/${p.id}`)},{default:()=>t("查看")}),m=b(Tt,{text:!0,type:"primary",disabled:p.status===1,onClick:()=>c(p.id)},{default:()=>t("关闭")}),v=b(sl,{vertical:!0});return b("div",[h,v,m])}}],r=N(!1),i=N(""),a=N(),s=N("");async function l(){const{data:p}=await oQ(i.value,a.value,s.value);p===!0&&(window.$message.success(t("创建成功")),f(),r.value=!1)}async function c(p){const{data:h}=await rQ(p);h&&(window.$message.success(t("关闭成功")),f())}const u=N([]);async function d(){const{data:p}=await nQ();u.value=p}function f(){d()}return an(()=>{f()}),(p,h)=>{const m=Co,v=ku,g=Na,y=jn,S=Fi,C=Eu,_=co;return be(),Ge(_,null,{default:le(()=>[ee(y,{class:"border-rounded-5",title:p.$t("工单历史")},{"header-extra":le(()=>[ee(me(Tt),{type:"primary",round:"",onClick:h[0]||(h[0]=x=>r.value=!0)},{default:le(()=>[Je(ce(p.$t("新的工单")),1)]),_:1}),ee(S,{show:r.value,"onUpdate:show":h[7]||(h[7]=x=>r.value=x)},{default:le(()=>[ee(y,{title:p.$t("新的工单"),class:"w-600",segmented:{content:!0,footer:!0},closable:"",onClose:h[6]||(h[6]=x=>r.value=!1)},{footer:le(()=>[H("div",D9e,[ee(g,null,{default:le(()=>[ee(me(Tt),{onClick:h[4]||(h[4]=x=>r.value=!1)},{default:le(()=>[Je(ce(p.$t("取消")),1)]),_:1}),ee(me(Tt),{type:"primary",onClick:h[5]||(h[5]=x=>l())},{default:le(()=>[Je(ce(p.$t("确认")),1)]),_:1})]),_:1})])]),default:le(()=>[H("div",null,[H("label",null,ce(p.$t("主题")),1),ee(m,{value:i.value,"onUpdate:value":h[1]||(h[1]=x=>i.value=x),class:"mt-5",placeholder:p.$t("请输入工单主题")},null,8,["value","placeholder"])]),H("div",null,[H("label",null,ce(p.$t("工单级别")),1),ee(v,{value:a.value,"onUpdate:value":h[2]||(h[2]=x=>a.value=x),options:n,placeholder:p.$t("请选项工单等级"),class:"mt-5"},null,8,["value","placeholder"])]),H("div",null,[H("label",null,ce(p.$t("消息")),1),ee(m,{value:s.value,"onUpdate:value":h[3]||(h[3]=x=>s.value=x),type:"textarea",placeholder:p.$t("请描述你遇到的问题"),round:"",class:"mt-5"},null,8,["value","placeholder"])])]),_:1},8,["title"])]),_:1},8,["show"])]),default:le(()=>[ee(C,{columns:o,data:u.value,"scroll-x":800},null,8,["data"])]),_:1},8,["title"])]),_:1})}}}),F9e=Object.freeze(Object.defineProperty({__proto__:null,default:L9e},Symbol.toStringTag,{value:"Module"})),N9e={class:"relative",style:{height:"calc(100% - 70px)"}},B9e={class:"mb-8 mt-8 text-14 text-gray"},H9e={class:"mb-8 inline-block border-rounded-5 bg-#f8f9fa pb-8 pl-16 pr-16 pt-8"},j9e=pe({__name:"detail",setup(e){const t=Pa(),n=u=>Nn.global.t(u),o=N("");async function r(){const{data:u}=await aQ(i.value,o.value);u===!0&&(window.$message.success(n("回复成功")),o.value="",c())}const i=N(),a=N();async function s(){const{data:u}=await iQ(i.value);u&&(a.value=u)}const l=N();function c(){s(),l.value=setInterval(s,2e3)}return an(()=>{i.value=t.params.ticket_id,c()}),(u,d)=>{const f=zY,p=Co,h=Tt,m=wu,v=jn,g=co;return be(),Ge(g,null,{default:le(()=>{var y;return[ee(v,{title:(y=a.value)==null?void 0:y.subject,class:"h-full overflow-hidden"},{default:le(()=>[H("div",N9e,[ee(f,{class:"absolute right-0 h-full"},{default:le(()=>{var S;return[(be(!0),ze(et,null,no((S=a.value)==null?void 0:S.message,C=>(be(),ze("div",{key:C.id,class:Ci([C.is_me?"text-right":"text-left"])},[H("div",B9e,ce(me(tr)(C.created_at)),1),H("div",H9e,ce(C.message),1)],2))),128))]}),_:1})]),ee(m,{size:"large",class:"mt-30"},{default:le(()=>[ee(p,{type:"text",size:"large",placeholder:u.$t("输入内容回复工单"),autofocus:!0,value:o.value,"onUpdate:value":d[0]||(d[0]=S=>o.value=S),onKeyup:d[1]||(d[1]=da(S=>r(),["enter"]))},null,8,["placeholder","value"]),ee(h,{type:"primary",size:"large",onClick:d[2]||(d[2]=S=>r())},{default:le(()=>[Je(ce(u.$t("回复")),1)]),_:1})]),_:1})]),_:1},8,["title"])]}),_:1})}}}),V9e=Object.freeze(Object.defineProperty({__proto__:null,default:j9e},Symbol.toStringTag,{value:"Module"})),U9e=pe({__name:"index",setup(e){const t=a=>Nn.global.t(a),n=[{title:t("记录时间"),key:"record_at",render(a){return fp(a.record_at)}},{title:t("实际上行"),key:"u",render(a){return o(a.u)}},{title:t("实际下行"),key:"d",render(a){return o(a.d)}},{title:t("扣费倍率"),key:"server_rate",render(a){return b(ui,{size:"small",round:!0},{default:()=>a.server_rate+" x"})}},{title(){const a=b(Pu,{placement:"bottom",trigger:"hover"},{trigger:()=>b(js("mdi-help-circle-outline",{size:16})),default:()=>t("公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量")});return b("div",{class:"flex items-center"},[t("总计"),a])},key:"total",fixed:"right",render(a){return o((a.d+a.u)*parseInt(a.server_rate))}}];function o(a){const s=a/1024,l=s/1024,c=l/1024,u=c/1024;return u>=1?Zi(u)+" TB":c>=1?Zi(c)+" GB":l>=1?Zi(l)+" MB":Zi(s)+" KB"}const r=N([]);async function i(){const{data:a}=await QX();r.value=a}return an(()=>{i()}),(a,s)=>{const l=il,c=Eu,u=jn,d=co;return be(),Ge(d,null,{default:le(()=>[ee(u,{class:"border-rounded-5"},{default:le(()=>[ee(l,{type:"info",bordered:!1,class:"mb-20"},{default:le(()=>[Je(ce(a.$t("流量明细仅保留近月数据以供查询。")),1)]),_:1}),ee(c,{columns:n,data:r.value,"scroll-x":600},null,8,["data"])]),_:1})]),_:1})}}}),W9e=Object.freeze(Object.defineProperty({__proto__:null,default:U9e},Symbol.toStringTag,{value:"Module"})),q9e={name:"NOTFOUND"},K9e={"h-full":"",flex:""};function G9e(e,t,n,o,r,i){const a=Tt,s=AY;return be(),ze("div",K9e,[ee(s,{"m-auto":"",status:"404",title:"404 Not Found",description:""},{footer:le(()=>[ee(a,null,{default:le(()=>[Je("Find some fun")]),_:1})]),_:1})])}const Y9e=zu(q9e,[["render",G9e]]),X9e=Object.freeze(Object.defineProperty({__proto__:null,default:Y9e},Symbol.toStringTag,{value:"Module"})),Q9e={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},Z9e=H("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[H("path",{d:"M2 12c0 5.523 4.477 10 10 10s10-4.477 10-10S17.523 2 12 2S2 6.477 2 12"}),H("path",{d:"M13 2.05S16 6 16 12c0 6-3 9.95-3 9.95m-2 0S8 18 8 12c0-6 3-9.95 3-9.95M2.63 15.5h18.74m-18.74-7h18.74"})],-1),J9e=[Z9e];function eFe(e,t){return be(),ze("svg",Q9e,[...J9e])}const $m={name:"iconoir-language",render:eFe},tFe={class:"inline-block",viewBox:"0 0 32 32",width:"1em",height:"1em"},nFe=H("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),oFe=H("path",{fill:"currentColor",d:"M14.59 20.59L18.17 17H4v-2h14.17l-3.58-3.59L16 10l6 6l-6 6z"},null,-1),rFe=[nFe,oFe];function iFe(e,t){return be(),ze("svg",tFe,[...rFe])}const aFe={name:"carbon-login",render:iFe},sFe=e=>St({url:"/passport/auth/login",method:"post",data:e}),lFe=e=>St({url:"/passport/auth/register",method:"post",data:e});function US(){return St.get("/guest/comm/config")}function WS(e,t){return St.post("/passport/comm/sendEmailVerify",{email:e,recaptcha_data:t})}function cFe(e,t,n){return St.post("/passport/auth/forget",{email:e,password:t,email_code:n})}const uFe={class:"p-24"},dFe={key:0,class:"text-center"},fFe=["src"],hFe={key:1,class:"m-1 text-center text-36 font-normal",color:"#343a40"},pFe={"text-muted":"","mb-3":"","text-center":"","text-14":"","font-400":"",color:"#6c757d"},mFe={"mt-20":"","w-full":""},gFe={"mt-20":"","w-full":""},vFe={"mt-20":"","w-full":""},bFe={class:"flex justify-between bg-[--n-color-embedded] p-x-24 p-y-16 text-#6c757d"},yFe=pe({__name:"login",setup(e){const t=bn(),n=Qc(),o=N({email:"",password:""});r();function r(){const a=wi.get("loginInfo");a.value&&(o.value.email=a.value.email||"",o.value.password=a.value.password||"")}async function i(){var l;const{email:a,password:s}=o.value;if(!a||!s){window.$message.warning("请输入用户名和密码");return}try{const c=await sFe({email:a,password:s.toString()});(l=c.data)!=null&&l.auth_data&&(window.$message.success("登录成功"),RX(c.data.auth_data),n.push("/"))}catch{}}return(a,s)=>{const l=Co,c=aFe,u=Tt,d=ka("router-link"),f=sl,p=$m,h=al,m=jn;return be(),ze("div",{"wh-full":"",flex:"","items-center":"","justify-center":"",style:Fo(me(t).background_url&&`background:url(${me(t).background_url}) no-repeat center center / cover;`)},[ee(m,{class:"m-auto max-w-450 rounded-5 bg-[--n-color] shadow-black","content-style":"padding: 0;"},{default:le(()=>[H("div",uFe,[me(t).logo?(be(),ze("div",dFe,[H("img",{src:me(t).logo,class:"mb-1em max-w-100%"},null,8,fFe)])):(be(),ze("h1",hFe,ce(me(t).title),1)),H("h5",pFe,ce(me(t).description||" "),1),H("div",mFe,[ee(l,{value:o.value.email,"onUpdate:value":s[0]||(s[0]=v=>o.value.email=v),autofocus:"",placeholder:a.$t("邮箱"),maxlength:40},null,8,["value","placeholder"])]),H("div",gFe,[ee(l,{value:o.value.password,"onUpdate:value":s[1]||(s[1]=v=>o.value.password=v),class:"",type:"password","show-password-on":"click",placeholder:a.$t("密码"),maxlength:40,onKeydown:da(i,["enter"])},null,8,["value","placeholder","onKeydown"])]),H("div",vFe,[ee(u,{"h-36":"","w-full":"","rounded-5":"","text-16":"",type:"primary","icon-placement":"left",onClick:i},{icon:le(()=>[ee(c)]),default:le(()=>[Je(" "+ce(a.$t("登入")),1)]),_:1})])]),H("div",bFe,[H("div",null,[ee(d,{to:"/register",class:"text-#6c757d"},{default:le(()=>[Je(ce(a.$t("注册")),1)]),_:1}),ee(f,{vertical:""}),ee(d,{to:"/forgetpassword",class:"text-#6c757d"},{default:le(()=>[Je(ce(a.$t("忘记密码")),1)]),_:1})]),H("div",null,[ee(h,{value:me(t).lang,"onUpdate:value":s[2]||(s[2]=v=>me(t).lang=v),options:Object.entries(me(fi)).map(([v,g])=>({label:g,value:v})),trigger:"click","on-update:value":me(t).switchLang},{default:le(()=>[ee(u,{text:"","icon-placement":"left"},{icon:le(()=>[ee(p)]),default:le(()=>[Je(" "+ce(me(fi)[me(t).lang]),1)]),_:1})]),_:1},8,["value","options","on-update:value"])])])]),_:1})],4)}}}),xFe=Object.freeze(Object.defineProperty({__proto__:null,default:yFe},Symbol.toStringTag,{value:"Module"})),CFe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},wFe=H("path",{fill:"currentColor",d:"M9 9.5c0 .8-.7 1.5-1.5 1.5S6 10.3 6 9.5S6.7 8 7.5 8S9 8.7 9 9.5m7 0c0 .8-.7 1.5-1.5 1.5S13 10.3 13 9.5S13.7 8 14.5 8s1.5.7 1.5 1.5m-2 4.62L11.88 12l-1.06 1.06l1.06 1.06l-1.06 1.06l1.06 1.06l-1.06 1.06l1.06 1.06L14 16.24l-1.06-1.06zM16.85 13a2.05 2.05 0 0 0-2.05 2.05c0 .57.23 1.07.6 1.45l3.5 3.5l3.5-3.5c.37-.37.6-.89.6-1.45A2.05 2.05 0 0 0 20.95 13c-.55 0-1.08.23-1.45.6l-.6.6l-.6-.59c-.37-.38-.9-.61-1.45-.61M15 18.92A7.979 7.979 0 0 1 11 20a8 8 0 0 1-8-8a8 8 0 0 1 8-8c4.26 0 7.73 3.33 8 7.5c.58-.31 1.26-.5 1.95-.5c-.5-5.05-4.77-9-9.95-9A10 10 0 0 0 1 12a10 10 0 0 0 10 10c2 0 3.88-.6 5.45-1.62z"},null,-1),_Fe=[wFe];function SFe(e,t){return be(),ze("svg",CFe,[..._Fe])}const kFe={name:"mdi-emoticon-kiss-outline",render:SFe},qS=pe({__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=N(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 Vt(()=>{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.google.com/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)=>(be(),ze("div",{ref_key:"recaptchaDiv",ref:r},null,512))}}),TFe={class:"p-24"},PFe={key:0,class:"text-center"},RFe=["src"],EFe={key:1,class:"m-1 text-center text-36 font-normal",color:"#343a40"},$Fe={"text-muted":"","mb-3":"","text-center":"","text-14":"","font-400":"",color:"#6c757d"},AFe={"mt-20":"","w-full":""},IFe={key:2,"mt-20":"","w-full":""},MFe={"mt-20":"","w-full":""},zFe={"mt-20":"","w-full":""},OFe={"mt-20":"","w-full":""},DFe={"mt-20":"","w-full":""},LFe={class:"flex justify-between bg-[--n-color-embedded] p-x-24 p-y-16 text-#6c757d"},FFe=pe({__name:"register",setup(e){const t=Pa(),n=bn(),o=Qc(),r=N({email:"",password:"",confirm_password:"",invite_code:"",lock_invite_code:!1,suffix:"",email_code:""}),i=N(null),a=N(),s=N(!1),l=N();function c(S){i.value=S,setTimeout(()=>{s.value=!1,a.value&&a.value.reset,l.value==="register"?(v(),l.value=""):l.value==="sendEmailVerify"&&(m(),l.value="")},500)}function u(){a.value&&a.value.reset()}function d(){a.value&&a.value.reset()}function f(){a.value&&a.value.reset&&a.value.reset()}const p=N(!1),h=N(0);async function m(){var _,x;if(r.value.email===""){window.$message.error("请输入邮箱地址");return}if(p.value=!0,h.value>0){window.$message.warning(`${h.value}秒后可重新发送`);return}if((_=g.value)!=null&&_.is_recaptcha&&((x=g.value)!=null&&x.is_recaptcha)&&!i.value){s.value=!0,p.value=!1,l.value="sendEmailVerify";return}const S=r.value.suffix?`${r.value.email}${r.value.suffix}`:r.value.email,{data:C}=await WS(S,i.value);if(C===!0){window.$message.success("发送成功"),h.value=60;const w=setInterval(()=>{h.value--,h.value===0&&clearInterval(w)},1e3);i.value=""}p.value=!1}async function v(){var P,k;if(r.value.email===""){window.$message.error("请输入邮箱地址");return}const{password:S,confirm_password:C,invite_code:_,email_code:x}=r.value,w=r.value.suffix?`${r.value.email}${r.value.suffix}`:r.value.email;if(!w||!S){window.$message.warning("请输入账号密码");return}if(S!==C){window.$message.warning("请确保两次密码输入一致");return}if((P=g.value)!=null&&P.is_recaptcha&&((k=g.value)!=null&&k.is_recaptcha)){i.value||(s.value=!0),l.value="register";return}const{data:T}=await lFe({email:w,password:S.toString(),invite_code:_,email_code:x});T.auth_data&&(window.$message.success("注册成功"),mR(T.auth_data),o.push("/"))}const g=N();async function y(){var C,_;const{data:S}=await US();S&&(g.value=S,$v(S.email_whitelist_suffix)&&(r.value.suffix=(C=S.email_whitelist_suffix)!=null&&C[0]?"@"+((_=S.email_whitelist_suffix)==null?void 0:_[0]):""))}return an(()=>{t.query.code&&(r.value.lock_invite_code=!0,r.value.invite_code=t.query.code),y()}),(S,C)=>{const _=Fi,x=Co,w=ku,T=wu,P=Tt,k=kFe,A=ka("router-link"),I=$m,W=al,B=jn;return be(),ze("div",{"wh-full":"",flex:"","items-center":"","justify-center":"",style:Fo(me(n).background_url&&`background:url(${me(n).background_url}) no-repeat center center / cover;`)},[ee(_,{show:s.value,"onUpdate:show":C[0]||(C[0]=z=>s.value=z)},{default:le(()=>{var z,$,j;return[(z=g.value)!=null&&z.is_recaptcha&&(($=g.value)!=null&&$.recaptcha_site_key)?Cn((be(),Ge(me(qS),{key:0,sitekey:(j=g.value)==null?void 0:j.recaptcha_site_key,size:"normal",theme:"light","loading-timeout":3e4,onVerify:c,onExpire:u,onFail:d,onError:f,ref_key:"vueRecaptchaRef",ref:a},null,8,["sitekey"])),[[ro,s.value]]):bt("",!0)]}),_:1},8,["show"]),ee(B,{class:"m-auto max-w-450 rounded-5 bg-[--n-color] shadow-black","content-style":"padding: 0;"},{default:le(()=>{var z,$;return[H("div",TFe,[me(n).logo?(be(),ze("div",PFe,[H("img",{src:me(n).logo,class:"mb-1em max-w-100%"},null,8,RFe)])):(be(),ze("h1",EFe,ce(me(n).title),1)),H("h5",$Fe,ce(me(n).description||" "),1),H("div",AFe,[ee(T,{class:"flex"},{default:le(()=>{var j,X,F;return[ee(x,{value:r.value.email,"onUpdate:value":C[1]||(C[1]=M=>r.value.email=M),autofocus:"",class:"flex-[2] pl-5",placeholder:S.$t("邮箱"),maxlength:80},null,8,["value","placeholder"]),me($v)((j=g.value)==null?void 0:j.email_whitelist_suffix)?(be(),Ge(w,{key:0,value:r.value.suffix,"onUpdate:value":C[2]||(C[2]=M=>r.value.suffix=M),options:((F=(X=g.value)==null?void 0:X.email_whitelist_suffix)==null?void 0:F.map(M=>({value:`@${M}`,label:`@${M}`})))||[],class:"flex-[1]","consistent-menu-width":!1},null,8,["value","options"])):bt("",!0)]}),_:1})]),(z=g.value)!=null&&z.is_email_verify?(be(),ze("div",IFe,[ee(T,{class:"flex"},{default:le(()=>[ee(x,{value:r.value.email_code,"onUpdate:value":C[3]||(C[3]=j=>r.value.email_code=j),placeholder:S.$t("邮箱验证码"),class:"pl-5"},null,8,["value","placeholder"]),ee(P,{type:"primary",onClick:C[4]||(C[4]=j=>m()),loading:p.value,disabled:p.value||h.value>0},{default:le(()=>[Je(ce(h.value||S.$t("发送")),1)]),_:1},8,["loading","disabled"])]),_:1})])):bt("",!0),H("div",MFe,[ee(x,{value:r.value.password,"onUpdate:value":C[5]||(C[5]=j=>r.value.password=j),class:"pl-5",type:"password","show-password-on":"click",placeholder:S.$t("密码"),maxlength:40,onKeydown:da(v,["enter"])},null,8,["value","placeholder","onKeydown"])]),H("div",zFe,[ee(x,{value:r.value.confirm_password,"onUpdate:value":C[6]||(C[6]=j=>r.value.confirm_password=j),class:"pl-5",type:"password","show-password-on":"click",placeholder:S.$t("再次输入密码"),maxlength:40,onKeydown:da(v,["enter"])},null,8,["value","placeholder","onKeydown"])]),H("div",OFe,[ee(x,{value:r.value.invite_code,"onUpdate:value":C[7]||(C[7]=j=>r.value.invite_code=j),class:"pl-5",placeholder:[S.$t("邀请码"),($=g.value)!=null&&$.is_invite_force?`(${S.$t("必填")})`:`(${S.$t("选填")})`],maxlength:20,disabled:r.value.lock_invite_code},null,8,["value","placeholder","disabled"])]),H("div",DFe,[ee(P,{"h-36":"","w-full":"","rounded-5":"","text-16":"",type:"primary",onClick:v,"icon-placement":"left"},{icon:le(()=>[ee(k)]),default:le(()=>[Je(" "+ce(S.$t("注册")),1)]),_:1})])]),H("div",LFe,[H("div",null,[ee(A,{to:"/login",class:"text-#6c757d"},{default:le(()=>[Je(ce(S.$t("返回登入")),1)]),_:1})]),H("div",null,[ee(W,{value:me(n).lang,"onUpdate:value":C[8]||(C[8]=j=>me(n).lang=j),options:Object.entries(me(fi)).map(([j,X])=>({label:X,value:j})),trigger:"click","on-update:value":me(n).switchLang},{default:le(()=>[ee(P,{text:"","icon-placement":"left"},{icon:le(()=>[ee(I)]),default:le(()=>[Je(" "+ce(me(fi)[me(n).lang]),1)]),_:1})]),_:1},8,["value","options","on-update:value"])])])]}),_:1})],4)}}}),NFe=Object.freeze(Object.defineProperty({__proto__:null,default:FFe},Symbol.toStringTag,{value:"Module"})),BFe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},HFe=H("path",{fill:"currentColor",d:"M17 8.25a1.25 1.25 0 1 0 0-2.5a1.25 1.25 0 0 0 0 2.5m-8.05.35a6.554 6.554 0 0 1 6.55-6.55c3.596 0 6.55 2.819 6.55 6.45a6.51 6.51 0 0 1-1.255 3.852a6.014 6.014 0 0 0-1.276-.798a5.026 5.026 0 0 0 1.03-3.054c0-2.769-2.247-4.95-5.05-4.95a5.054 5.054 0 0 0-5.05 5.05c0 .262.034.539.088.845a1.774 1.774 0 0 1-.486 1.564l-6.236 6.235a1.25 1.25 0 0 0-.366.884V20.3c0 .138.112.25.25.25h2.5a.25.25 0 0 0 .25-.25v-1.5c0-.69.56-1.25 1.25-1.25h1.75V15.8c0-.65.497-1.185 1.132-1.245l1.077 1.078a1.758 1.758 0 0 0-.378.417h-.33v1.75c0 .69-.56 1.25-1.25 1.25H7.95v1.25a1.75 1.75 0 0 1-1.75 1.75H3.7a1.75 1.75 0 0 1-1.75-1.75v-2.172c0-.73.289-1.429.805-1.944L8.99 9.948a.275.275 0 0 0 .07-.244A6.387 6.387 0 0 1 8.95 8.6m4.83 2.68a.75.75 0 1 0-1.06-1.06l-2 2a.75.75 0 0 0 0 1.06l2 2a.75.75 0 1 0 1.06-1.06l-.72-.72H17a3.5 3.5 0 1 1-3.5 3.5a.75.75 0 0 0-1.5 0a5 5 0 1 0 5-5h-3.94l.72-.72"},null,-1),jFe=[HFe];function VFe(e,t){return be(),ze("svg",BFe,[...jFe])}const UFe={name:"fluent-key-reset24-regular",render:VFe},WFe={class:"p-24"},qFe={key:0,class:"text-center"},KFe=["src"],GFe={key:1,class:"m-1 text-center text-36 font-normal",color:"#343a40"},YFe={"text-muted":"","mb-3":"","text-center":"","text-14":"","font-400":"",color:"#6c757d"},XFe={"mt-20":"","w-full":""},QFe={"mt-20":"","w-full":""},ZFe={"mt-20":"","w-full":""},JFe={"mt-20":"","w-full":""},e7e={"mt-20":"","w-full":""},t7e={class:"flex justify-between bg-[--n-color-embedded] p-x-24 p-y-16 text-#6c757d"},n7e=pe({__name:"forgetpassword",setup(e){const t=bn(),n=Qc(),o=N({email:"",email_code:"",password:"",confirm_password:"",invite_code:"",suffix:""}),r=N(null),i=N(),a=N(!1),s=N();function l(y){r.value=y,setTimeout(()=>{a.value=!1,i.value&&i.value.reset(),s.value==="sendEmailVerify"&&(h(),s.value="")},500)}function c(){i.value.reset()}function u(){i.value.reset()}function d(){i.value.reset()}const f=N(!1),p=N(0);async function h(){var C,_;if(o.value.email===""){window.$message.error("请输入邮箱地址");return}if(f.value=!0,p.value>0){window.$message.warning(`${p.value}秒后可重新发送`);return}if((C=v.value)!=null&&C.is_recaptcha&&((_=v.value)!=null&&_.is_recaptcha)&&!r.value){a.value=!0,f.value=!1,s.value="sendEmailVerify";return}const y=o.value.suffix?`${o.value.email}${o.value.suffix}`:o.value.email,{data:S}=await WS(y,r.value);if(S===!0){window.$message.success("发送成功"),p.value=60;const x=setInterval(()=>{p.value--,p.value===0&&clearInterval(x)},1e3);r.value=""}f.value=!1}async function m(){if(o.value.email===""){window.$message.error("请输入邮箱地址");return}const{email:y,password:S,confirm_password:C,email_code:_}=o.value;if(!y||!S){window.$message.warning("请输入账号密码");return}if(S!==C){window.$message.warning("请确保两次密码输入一致");return}const{data:x}=await cFe(y,S.toString(),_);x&&(window.$message.success("重置密码成功,正在返回登录"),setTimeout(()=>{n.push("/login")},500))}const v=N();async function g(){const{data:y}=await US();y&&(v.value=y)}return an(()=>{g()}),(y,S)=>{const C=Fi,_=Co,x=wu,w=Tt,T=UFe,P=ka("router-link"),k=$m,A=al,I=jn;return be(),ze("div",{"wh-full":"",flex:"","items-center":"","justify-center":"",style:Fo(me(t).background_url&&`background:url(${me(t).background_url}) no-repeat center center / cover;`)},[ee(C,{show:a.value,"onUpdate:show":S[0]||(S[0]=W=>a.value=W)},{default:le(()=>{var W,B,z;return[(W=v.value)!=null&&W.is_recaptcha&&((B=v.value)!=null&&B.recaptcha_site_key)?Cn((be(),Ge(me(qS),{key:0,sitekey:(z=v.value)==null?void 0:z.recaptcha_site_key,size:"normal",theme:"light","loading-timeout":500,onVerify:l,onExpire:c,onFail:u,onError:d,ref_key:"vueRecaptchaRef",ref:i},null,8,["sitekey"])),[[ro,a.value]]):bt("",!0)]}),_:1},8,["show"]),ee(I,{class:"m-auto max-w-450 rounded-5 bg-[--n-color] shadow-black","content-style":"padding: 0;"},{default:le(()=>[H("div",WFe,[me(t).logo?(be(),ze("div",qFe,[H("img",{src:me(t).logo,class:"mb-1em max-w-100%"},null,8,KFe)])):(be(),ze("h1",GFe,ce(me(t).title),1)),H("h5",YFe,ce(me(t).description||" "),1),H("div",XFe,[ee(x,{class:"flex"},{default:le(()=>[ee(_,{value:o.value.email,"onUpdate:value":S[1]||(S[1]=W=>o.value.email=W),autofocus:"",class:"flex-[2] pl-5",placeholder:y.$t("邮箱"),maxlength:40},null,8,["value","placeholder"])]),_:1})]),H("div",QFe,[ee(x,{class:"flex"},{default:le(()=>[ee(_,{placeholder:y.$t("邮箱验证码"),value:o.value.email_code,"onUpdate:value":S[2]||(S[2]=W=>o.value.email_code=W),class:"pl-5"},null,8,["placeholder","value"]),ee(w,{type:"primary",onClick:S[3]||(S[3]=W=>h()),loading:f.value,disabled:f.value||p.value>0},{default:le(()=>[Je(ce(p.value||y.$t("发送")),1)]),_:1},8,["loading","disabled"])]),_:1})]),H("div",ZFe,[ee(_,{value:o.value.password,"onUpdate:value":S[4]||(S[4]=W=>o.value.password=W),class:"pl-5",type:"password","show-password-on":"click",placeholder:y.$t("密码"),maxlength:40},null,8,["value","placeholder"])]),H("div",JFe,[ee(_,{value:o.value.confirm_password,"onUpdate:value":S[5]||(S[5]=W=>o.value.confirm_password=W),class:"pl-5",type:"password","show-password-on":"click",placeholder:y.$t("再次输入密码"),maxlength:40,onKeydown:S[6]||(S[6]=da(W=>m(),["enter"]))},null,8,["value","placeholder"])]),H("div",e7e,[ee(w,{"h-36":"","w-full":"","rounded-5":"","text-16":"",type:"primary","icon-placement":"left",onClick:S[7]||(S[7]=W=>m())},{icon:le(()=>[ee(T)]),default:le(()=>[Je(" "+ce(y.$t("重置密码")),1)]),_:1})])]),H("div",t7e,[H("div",null,[ee(P,{to:"/login",class:"text-#6c757d"},{default:le(()=>[Je(ce(y.$t("返回登录")),1)]),_:1})]),H("div",null,[ee(A,{value:me(t).lang,"onUpdate:value":S[8]||(S[8]=W=>me(t).lang=W),options:Object.entries(me(fi)).map(([W,B])=>({label:B,value:W})),trigger:"click","on-update:value":me(t).switchLang},{default:le(()=>[ee(w,{text:"","icon-placement":"left"},{icon:le(()=>[ee(k)]),default:le(()=>[Je(" "+ce(me(fi)[me(t).lang]),1)]),_:1})]),_:1},8,["value","options","on-update:value"])])])]),_:1})],4)}}}),o7e=Object.freeze(Object.defineProperty({__proto__:null,default:n7e},Symbol.toStringTag,{value:"Module"})),r7e={请求失败:"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"},I1=Object.freeze(Object.defineProperty({__proto__:null,default:r7e},Symbol.toStringTag,{value:"Module"})),i7e={请求失败:"درخواست انجام نشد",月付:"ماهانه",季付:"سه ماهه",半年付:"نیم سال",年付:"سالانه",两年付:"دو سال",三年付:"سه سال",一次性:"یک‌باره",重置流量包:"بازنشانی بسته های داده",待支付:"در انتظار پرداخت",开通中:"ایجاید",已取消:"صرف نظر شد",已完成:"به پایان رسید",已折抵:"تخفیف داده شده است",待确认:"در حال بررسی",发放中:"صدور",已发放:"صادر شده",无效:"نامعتبر",个人中心:"پروفایل",登出:"خروج",搜索:"جستجو",仪表盘:"داشبرد",订阅:"اشتراک",我的订阅:"اشتراک من",购买订阅:"خرید اشتراک",财务:"امور مالی",我的订单:"درخواست های من",我的邀请:"دعوتنامه های من",用户:"کاربر",我的工单:"درخواست های من",流量明细:"جزئیات\\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} نفر","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"در صورت انتشار آدرس یا حساب اشتراک شما و سوء استفاده از آن توسط دیگران، می‌توانید اطلاعات اشتراک خود را در اینجا بازنشانی کنید تا از زیان‌های غیرضروری جلوگیری شود.",再次输入密码:"ورود مجدد رمز عبور",返回登陆:"بازگشت به ورود",选填:"اختیاری",必填:"الزامی",最后回复时间:"زمان آخرین پاسخ",请选项工单等级:"لطفاً اولویت تیکت را انتخاب کنید",回复:"پاسخ",输入内容回复工单:"محتوا را برای پاسخ به تیکت وارد کنید",已生成:"تولید شده",选择协议:"انتخاب پروتکل",自动:"خودکار",流量重置包:"بسته بازنشانی داده",复制失败:"کپی ناموفق بود"},M1=Object.freeze(Object.defineProperty({__proto__:null,default:i7e},Symbol.toStringTag,{value:"Module"})),a7e={请求失败:"リクエストエラー",月付:"月間プラン",季付:"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} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"購読アドレスまたはアカウントが漏れて他者に悪用された場合、不必要な損失を防ぐためにここで購読情報をリセットできます。",再次输入密码:"パスワードを再入力してください",返回登陆:"ログインに戻る",选填:"任意",必填:"必須",最后回复时间:"最終返信時刻",请选项工单等级:"チケットの優先度を選択してください",回复:"返信",输入内容回复工单:"チケットへの返信内容を入力",已生成:"生成済み",选择协议:"プロトコルの選択",自动:"自動",流量重置包:"データリセットパッケージ",复制失败:"コピーに失敗しました"},z1=Object.freeze(Object.defineProperty({__proto__:null,default:a7e},Symbol.toStringTag,{value:"Module"})),s7e={请求失败:"요청실패",月付:"월간",季付:"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} 명","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"구독 주소 또는 계정이 유출되어 다른 사람에게 남용되는 경우 여기에서 구독 정보를 재설정하여 불필요한 손실을 방지할 수 있습니다.",再次输入密码:"비밀번호를 다시 입력하세요",返回登陆:"로그인으로 돌아가기",选填:"선택 사항",必填:"필수",最后回复时间:"최근 답장 시간",请选项工单等级:"티켓 우선 순위 선택",回复:"답장",输入内容回复工单:"티켓에 대한 내용 입력",已生成:"생성됨",选择协议:"프로토콜 선택",自动:"자동",流量重置包:"데이터 리셋 패키지",复制失败:"복사 실패"},O1=Object.freeze(Object.defineProperty({__proto__:null,default:s7e},Symbol.toStringTag,{value:"Module"})),l7e={请求失败:"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"},D1=Object.freeze(Object.defineProperty({__proto__:null,default:l7e},Symbol.toStringTag,{value:"Module"})),c7e={请求失败:"请求失败",月付:"月付",季付:"季付",半年付:"半年付",年付:"年付",两年付:"两年付",三年付:"三年付",一次性:"一次性",重置流量包:"重置流量包",待支付:"待支付",开通中:"开通中",已取消:"已取消",已完成:"已完成",已折抵:"已折抵",待确认:"待确认",发放中:"发放中",已发放:"已发放",无效:"无效",个人中心:"个人中心",登出:"登出",搜索:"搜索",仪表盘:"仪表盘",订阅:"订阅",我的订阅:"我的订阅",购买订阅:"购买订阅",财务:"财务",我的订单:"我的订单",我的邀请:"我的邀请",用户:"用户",我的工单:"我的工单",流量明细:"流量明细",使用文档:"使用文档",绑定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} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。",再次输入密码:"再次输入密码",返回登陆:"返回登录",选填:"选填",必填:"必填",最后回复时间:"最后回复时间",请选项工单等级:"请选择工单优先级",回复:"回复",输入内容回复工单:"输入内容回复工单",已生成:"已生成",选择协议:"选择协议",自动:"自动",流量重置包:"流量重置包",复制失败:"复制失败"},L1=Object.freeze(Object.defineProperty({__proto__:null,default:c7e},Symbol.toStringTag,{value:"Module"})),u7e={请求失败:"請求失敗",月付:"月繳制",季付:"季繳",半年付:"半年缴",年付:"年繳",两年付:"兩年繳",三年付:"三年繳",一次性:"一次性",重置流量包:"重置流量包",待支付:"待支付",开通中:"開通中",已取消:"已取消",已完成:"已完成",已折抵:"已折抵",待确认:"待確認",发放中:"發放中",已发放:"已發放",无效:"無效",个人中心:"您的帳戸",登出:"登出",搜索:"搜尋",仪表盘:"儀表板",订阅:"訂閱",我的订阅:"我的訂閱",购买订阅:"購買訂閱",财务:"財務",我的订单:"我的訂單",我的邀请:"我的邀請",用户:"使用者",我的工单:"我的工單",流量明细:"流量明細",使用文档:"說明文件",绑定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} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"如果您的訂閱地址或帳戶洩漏並被他人濫用,您可以在此重置訂閱資訊,以避免不必要的損失。",再次输入密码:"請再次輸入密碼",返回登陆:"返回登入",选填:"選填",必填:"必填",最后回复时间:"最後回覆時間",请选项工单等级:"請選擇工單優先級",回复:"回覆",输入内容回复工单:"輸入內容回覆工單",已生成:"已生成",选择协议:"選擇協議",自动:"自動",流量重置包:"流量重置包",复制失败:"複製失敗"},F1=Object.freeze(Object.defineProperty({__proto__:null,default:u7e},Symbol.toStringTag,{value:"Module"}))});export default d7e(); diff --git a/public/theme/Xboard/assets/umi.js.br b/public/theme/Xboard/assets/umi.js.br index f5c0d03..46b1c0e 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 bee790e..338d971 100644 Binary files a/public/theme/Xboard/assets/umi.js.gz and b/public/theme/Xboard/assets/umi.js.gz differ