diff --git a/public/theme/Xboard/assets/umi.js b/public/theme/Xboard/assets/umi.js index 2d823c5..55a1ba7 100644 --- a/public/theme/Xboard/assets/umi.js +++ b/public/theme/Xboard/assets/umi.js @@ -1,72 +1,89 @@ -(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(`@charset "UTF-8";.xboard-nav-mask{position:fixed;top:0;bottom:0;right:0;left:0;background:#000;z-index:999;opacity:.5;display:none}.xboard-plan-features{padding:0;list-style:none;font-size:16px;flex:1 0 auto}.xboard-plan-features>li{padding:6px 0;color:#7c8088;text-align:left}.xboard-plan-features>li>b{color:#2a2e36;font-weight:500}.xboard-plan-content{padding-top:20px;padding-left:20px}.xboard-plan-features>li:before{font-family:Font Awesome\\ 5 Free;content:"";padding-right:10px;color:#425b94;font-weight:900}.xboard-email-whitelist-enable{display:flex}.xboard-email-whitelist-enable input{flex:2 1;border-top-right-radius:0;border-bottom-right-radius:0}.xboard-email-whitelist-enable select{flex:1 1;border-top-left-radius:0;border-bottom-left-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-position:right 50%;background-repeat:no-repeat;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12'%3E%3Cpath d='M3.862 7.931L0 4.069h7.725z'/%3E%3C/svg%3E");padding-right:1.5em}.block.block-mode-loading:before{background:hsla(0,0%,100%,.7)}#server .ant-drawer-content-wrapper{max-width:500px}.xboard-trade-no{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.xboard-lang-item{padding:10px 20px}.xboard-lang-item:hover{background:#eee}.xboard-auth-lang-btn{position:absolute;right:0;top:0}.xboard-no-access{color:#855c0d;background-color:#ffefd1;position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:0 solid transparent;border-radius:.25rem}.xboard-notice-background{height:100%;position:absolute;top:0;right:0;left:0;bottom:0;z-index:80;opacity:.1}.xboard-auth-box{position:fixed;right:0;left:0;top:0;bottom:0;display:flex;align-items:center;overflow-y:auto}.content-header{height:3.25rem}#page-container.page-header-fixed #main-container{padding-top:3.25rem}.xboard-copyright{position:absolute;bottom:10px;right:0;left:15px;font-size:10px;opacity:.2}.ant-table-thead>tr>th{background:#fff!important}.xboard-container-title{flex:1 1;color:#fff}.xboard-order-info>div{display:flex;font-size:14px;margin-bottom:5px}.xboard-order-info>div>span:first-child{flex:1 1;opacity:.5}.xboard-order-info>div>span:last-child{flex:2 1;font-family:menlo}.xboard-bg-pixels{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjIwMCIgd2lkdGg9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwIDgpIj48Y2lyY2xlIGN4PSIxNzYiIGN5PSIxMiIgcj0iNCIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMjAuNS41bDIzIDExbS0yOSA4NGwtMy43OSAxMC4zNzdNMjcuMDM3IDEzMS40bDUuODk4IDIuMjAzLTMuNDYgNS45NDcgNi4wNzIgMi4zOTItMy45MzMgNS43NThtMTI4LjczMyAzNS4zN2wuNjkzLTkuMzE2IDEwLjI5Mi4wNTIuNDE2LTkuMjIyIDkuMjc0LjMzMk0uNSA0OC41czYuMTMxIDYuNDEzIDYuODQ3IDE0LjgwNWMuNzE1IDguMzkzLTIuNTIgMTQuODA2LTIuNTIgMTQuODA2TTEyNC41NTUgOTBzLTcuNDQ0IDAtMTMuNjcgNi4xOTJjLTYuMjI3IDYuMTkyLTQuODM4IDEyLjAxMi00LjgzOCAxMi4wMTJtMi4yNCA2OC42MjZzLTQuMDI2LTkuMDI1LTE4LjE0NS05LjAyNS0xOC4xNDUgNS43LTE4LjE0NSA1LjciIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNODUuNzE2IDM2LjE0Nmw1LjI0My05LjUyMWgxMS4wOTNsNS40MTYgOS41MjEtNS40MSA5LjE4NUg5MC45NTN6bTYzLjkwOSAxNS40NzloMTAuNzV2MTAuNzVoLTEwLjc1eiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48ZyBmaWxsPSIjZGRkIj48Y2lyY2xlIGN4PSI3MS41IiBjeT0iNy41IiByPSIxLjUiLz48Y2lyY2xlIGN4PSIxNzAuNSIgY3k9Ijk1LjUiIHI9IjEuNSIvPjxjaXJjbGUgY3g9IjgxLjUiIGN5PSIxMzQuNSIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iMTMuNSIgY3k9IjIzLjUiIHI9IjEuNSIvPjxwYXRoIGQ9Ik05MyA3MWgzdjNoLTN6bTMzIDg0aDN2M2gtM3ptLTg1IDE4aDN2M2gtM3oiLz48L2c+PHBhdGggZD0iTTM5LjM4NCA1MS4xMjJsNS43NTgtNC40NTQgNi40NTMgNC4yMDUtMi4yOTQgNy4zNjNoLTcuNzl6TTEzMC4xOTUgNC4wM2wxMy44MyA1LjA2Mi0xMC4wOSA3LjA0OHptLTgzIDk1bDE0LjgzIDUuNDI5LTEwLjgyIDcuNTU3LTQuMDEtMTIuOTg3ek01LjIxMyAxNjEuNDk1bDExLjMyOCAyMC44OTdMMi4yNjUgMTgweiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMTQ5LjA1IDEyNy40NjhzLS41MSAyLjE4My45OTUgMy4zNjZjMS41NiAxLjIyNiA4LjY0Mi0xLjg5NSAzLjk2Ny03Ljc4NS0yLjM2Ny0yLjQ3Ny02LjUtMy4yMjYtOS4zMyAwLTUuMjA4IDUuOTM2IDAgMTcuNTEgMTEuNjEgMTMuNzMgMTIuNDU4LTYuMjU3IDUuNjMzLTIxLjY1Ni01LjA3My0yMi42NTQtNi42MDItLjYwNi0xNC4wNDMgMS43NTYtMTYuMTU3IDEwLjI2OC0xLjcxOCA2LjkyIDEuNTg0IDE3LjM4NyAxMi40NSAyMC40NzYgMTAuODY2IDMuMDkgMTkuMzMxLTQuMzEgMTkuMzMxLTQuMzEiIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48L2c+PC9zdmc+);background-size:auto}#page-container{min-height:100%}#page-container .content,#main-container{background-color:#f0f3f8!important}a:not([href]):hover{color:unset}.xboard-login-i18n-btn{cursor:pointer;margin-top:2.5;float:right}.custom-control-label:after{left:-1.25rem}.xboard-shortcuts-item{cursor:pointer;padding:20px;border-bottom:1px solid #eee;position:relative}.xboard-shortcuts-item>.description{font-size:12px;opacity:.5}.xboard-shortcuts-item i{position:absolute;top:25px;font-size:30px;right:20px;opacity:.5}.xboard-shortcuts-item:hover{background:#f6f6f6}.btn{border:0}.xboard-plan-tabs{border:1px solid #000;padding:8px 4px;border-radius:100px}.xboard-plan-tabs>span{cursor:pointer;padding:5px 12px}.xboard-plan-tabs>.active{background:#000;border-radius:100px;color:#fff}.xboard-sold-out-tag{background-color:#c12c1f;border-radius:100px;padding:2px 8px;font-size:13px;color:#fff}.xboard-payment-qrcode path[fill="#FFFFFF"]{--darkreader-inline-fill: #fff!important}.alert-success{color:#445e27;background-color:#e6f0db;border-color:#dceacd}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:0 solid transparent;border-radius:.25rem}.custom-html-style{color:#333}.custom-html-style h1{font-size:32px;padding:0;border:none;font-weight:700;margin:32px 0;line-height:1.2}.custom-html-style h2{font-size:24px;padding:0;border:none;font-weight:700;margin:24px 0;line-height:1.7}.custom-html-style h3{font-size:18px;margin:18px 0;padding:0;line-height:1.7;border:none}.custom-html-style p{font-size:14px;line-height:1.7;margin:8px 0}.custom-html-style a{color:#0052d9}.custom-html-style a:hover{text-decoration:none}.custom-html-style strong{font-weight:700}.custom-html-style ol,.custom-html-style ul{font-size:14px;line-height:28px;padding-left:36px}.custom-html-style li{margin-bottom:8px;line-height:1.7}.custom-html-style hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.custom-html-style pre{display:block;padding:20px;line-height:28px;word-break:break-word}.custom-html-style code,.custom-html-style pre{background-color:#f5f5f5;font-size:14px;border-radius:0;overflow-x:auto}.custom-html-style code{padding:3px 0;margin:0;word-break:normal}.custom-html-style code:after,.custom-html-style code:before{letter-spacing:0}.custom-html-style blockquote{position:relative;margin:16px 0;padding:5px 8px 5px 30px;background:none repeat scroll 0 0 rgba(102,128,153,.05);color:#333;border:none;border-left:10px solid #d6dbdf}.custom-html-style img,.custom-html-style video{max-width:100%}.custom-html-style table{font-size:14px;line-height:1.7;max-width:100%;overflow:auto;border:1px solid #f6f6f6;border-collapse:collapse;border-spacing:0;box-sizing:border-box}.custom-html-style table td,.custom-html-style table th{word-break:break-all;word-wrap:break-word;white-space:normal}.custom-html-style table tr{border:1px solid #efefef}.custom-html-style table tr:nth-child(2n){background-color:transparent}.custom-html-style table th{text-align:center;font-weight:700;border:1px solid #efefef;padding:10px 6px;background-color:#f5f7fa;word-break:break-word}.custom-html-style table td{border:1px solid #efefef;text-align:left;padding:10px 15px;word-break:break-word;min-width:60px}code{font-size:87.5%;color:#e83e8c;word-wrap:break-word}.btn{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.btn.btn-square{border-radius:0}.btn.btn-rounded{border-radius:2rem}.btn .fa,.btn .si{position:relative;top:1px}.btn-group-sm>.btn .fa,.btn.btn-sm .fa{top:0}.btn-alt-primary{color:#054d9e;background-color:#cde4fe;border-color:#cde4fe}.btn-alt-primary:hover{color:#054d9e;background-color:#a8d0fc;border-color:#a8d0fc}.btn-alt-primary.focus,.btn-alt-primary:focus{color:#054d9e;background-color:#a8d0fc;border-color:#a8d0fc;box-shadow:0 0 0 .2rem #92c4fc40}.btn-alt-primary.disabled,.btn-alt-primary:disabled{color:#212529;background-color:#cde4fe;border-color:#cde4fe}.btn-alt-primary:not(:disabled):not(.disabled).active,.btn-alt-primary:not(:disabled):not(.disabled):active,.show>.btn-alt-primary.dropdown-toggle{color:#022954;background-color:#92c4fc;border-color:#92c4fc}.btn-alt-primary:not(:disabled):not(.disabled).active:focus,.btn-alt-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #92c4fc40}.btn-alt-secondary{color:#495057;background-color:#f0f3f8;border-color:#f0f3f8}.btn-alt-secondary:hover{color:#495057;background-color:#d6deec;border-color:#d6deec}.btn-alt-secondary.focus,.btn-alt-secondary:focus{color:#495057;background-color:#d6deec;border-color:#d6deec;box-shadow:0 0 0 .2rem #c6d1e540}.btn-alt-secondary.disabled,.btn-alt-secondary:disabled{color:#212529;background-color:#f0f3f8;border-color:#f0f3f8}.btn-alt-secondary:not(:disabled):not(.disabled).active,.btn-alt-secondary:not(:disabled):not(.disabled):active,.show>.btn-alt-secondary.dropdown-toggle{color:#262a2d;background-color:#c6d1e5;border-color:#c6d1e5}.btn-alt-secondary:not(:disabled):not(.disabled).active:focus,.btn-alt-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #c6d1e540}.btn-alt-success{color:#415b25;background-color:#d7e8c6;border-color:#d7e8c6}.btn-alt-success:hover{color:#415b25;background-color:#c5dcab;border-color:#c5dcab}.btn-alt-success.focus,.btn-alt-success:focus{color:#415b25;background-color:#c5dcab;border-color:#c5dcab;box-shadow:0 0 0 .2rem #b9d69b40}.btn-alt-success.disabled,.btn-alt-success:disabled{color:#212529;background-color:#d7e8c6;border-color:#d7e8c6}.btn-alt-success:not(:disabled):not(.disabled).active,.btn-alt-success:not(:disabled):not(.disabled):active,.show>.btn-alt-success.dropdown-toggle{color:#1a250f;background-color:#b9d69b;border-color:#b9d69b}.btn-alt-success:not(:disabled):not(.disabled).active:focus,.btn-alt-success:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #b9d69b40}.btn-alt-info{color:#164f86;background-color:#d1e5f7;border-color:#d1e5f7}.btn-alt-info:hover{color:#164f86;background-color:#b0d2f2;border-color:#b0d2f2}.btn-alt-info.focus,.btn-alt-info:focus{color:#164f86;background-color:#b0d2f2;border-color:#b0d2f2;box-shadow:0 0 0 .2rem #9cc7ef40}.btn-alt-info.disabled,.btn-alt-info:disabled{color:#212529;background-color:#d1e5f7;border-color:#d1e5f7}.btn-alt-info:not(:disabled):not(.disabled).active,.btn-alt-info:not(:disabled):not(.disabled):active,.show>.btn-alt-info.dropdown-toggle{color:#0b2844;background-color:#9cc7ef;border-color:#9cc7ef}.btn-alt-info:not(:disabled):not(.disabled).active:focus,.btn-alt-info:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #9cc7ef40}.btn-alt-warning{color:#996500;background-color:#ffecc6;border-color:#ffecc6}.btn-alt-warning:hover{color:#996500;background-color:#ffdfa0;border-color:#ffdfa0}.btn-alt-warning.focus,.btn-alt-warning:focus{color:#996500;background-color:#ffdfa0;border-color:#ffdfa0;box-shadow:0 0 0 .2rem #ffd78940}.btn-alt-warning.disabled,.btn-alt-warning:disabled{color:#212529;background-color:#ffecc6;border-color:#ffecc6}.btn-alt-warning:not(:disabled):not(.disabled).active,.btn-alt-warning:not(:disabled):not(.disabled):active,.show>.btn-alt-warning.dropdown-toggle{color:#4c3200;background-color:#ffd789;border-color:#ffd789}.btn-alt-warning:not(:disabled):not(.disabled).active:focus,.btn-alt-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #ffd78940}.btn-alt-danger{color:#6e270d;background-color:#f6c4b1;border-color:#f6c4b1}.btn-alt-danger:hover{color:#6e270d;background-color:#f2aa8f;border-color:#f2aa8f}.btn-alt-danger.focus,.btn-alt-danger:focus{color:#6e270d;background-color:#f2aa8f;border-color:#f2aa8f;box-shadow:0 0 0 .2rem #f09a7b40}.btn-alt-danger.disabled,.btn-alt-danger:disabled{color:#212529;background-color:#f6c4b1;border-color:#f6c4b1}.btn-alt-danger:not(:disabled):not(.disabled).active,.btn-alt-danger:not(:disabled):not(.disabled):active,.show>.btn-alt-danger.dropdown-toggle{color:#290f05;background-color:#f09a7b;border-color:#f09a7b}.btn-alt-danger:not(:disabled):not(.disabled).active:focus,.btn-alt-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #f09a7b40}.btn-alt-dark{color:#343a40;background-color:#ced3d8;border-color:#ced3d8}.btn-alt-dark:hover{color:#343a40;background-color:#b9c0c6;border-color:#b9c0c6}.btn-alt-dark.focus,.btn-alt-dark:focus{color:#343a40;background-color:#b9c0c6;border-color:#b9c0c6;box-shadow:0 0 0 .2rem #adb4bc40}.btn-alt-dark.disabled,.btn-alt-dark:disabled{color:#212529;background-color:#ced3d8;border-color:#ced3d8}.btn-alt-dark:not(:disabled):not(.disabled).active,.btn-alt-dark:not(:disabled):not(.disabled):active,.show>.btn-alt-dark.dropdown-toggle{color:#121416;background-color:#adb4bc;border-color:#adb4bc}.btn-alt-dark:not(:disabled):not(.disabled).active:focus,.btn-alt-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #adb4bc40}.btn-alt-light{color:#343a40;background-color:#f8f9fa;border-color:#f8f9fa}.btn-alt-light:hover{color:#343a40;background-color:#e2e6ea;border-color:#e2e6ea}.btn-alt-light.focus,.btn-alt-light:focus{color:#343a40;background-color:#e2e6ea;border-color:#e2e6ea;box-shadow:0 0 0 .2rem #d4dae140}.btn-alt-light.disabled,.btn-alt-light:disabled{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-alt-light:not(:disabled):not(.disabled).active,.btn-alt-light:not(:disabled):not(.disabled):active,.show>.btn-alt-light.dropdown-toggle{color:#121416;background-color:#d4dae1;border-color:#d4dae1}.btn-alt-light:not(:disabled):not(.disabled).active:focus,.btn-alt-light:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #d4dae140}.btn-hero-primary{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#0665d0;border:none;box-shadow:0 .125rem .75rem #04418640;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-primary:hover{color:#fff;background-color:#117ef8;box-shadow:0 .375rem .75rem #04418666;transform:translateY(-1px)}.btn-hero-primary.focus,.btn-hero-primary:focus{color:#fff;background-color:#117ef8;box-shadow:0 .125rem .75rem #04418640}.btn-hero-primary.disabled,.btn-hero-primary:disabled{color:#fff;background-color:#0665d0;box-shadow:0 .125rem .75rem #04418640;transform:translateY(0)}.btn-hero-primary:not(:disabled):not(.disabled).active,.btn-hero-primary:not(:disabled):not(.disabled):active,.show>.btn-hero-primary.dropdown-toggle{color:#fff;background-color:#044186;box-shadow:0 .125rem .75rem #04418640;transform:translateY(0)}.btn-hero-primary:not(:disabled):not(.disabled).active:focus,.btn-hero-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-primary.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #04418640}.btn-hero-secondary{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#6c757d;border:none;box-shadow:0 .125rem .75rem #494f5440;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-secondary:hover{color:#fff;background-color:#868e96;box-shadow:0 .375rem .75rem #494f5466;transform:translateY(-1px)}.btn-hero-secondary.focus,.btn-hero-secondary:focus{color:#fff;background-color:#868e96;box-shadow:0 .125rem .75rem #494f5440}.btn-hero-secondary.disabled,.btn-hero-secondary:disabled{color:#fff;background-color:#6c757d;box-shadow:0 .125rem .75rem #494f5440;transform:translateY(0)}.btn-hero-secondary:not(:disabled):not(.disabled).active,.btn-hero-secondary:not(:disabled):not(.disabled):active,.show>.btn-hero-secondary.dropdown-toggle{color:#fff;background-color:#494f54;box-shadow:0 .125rem .75rem #494f5440;transform:translateY(0)}.btn-hero-secondary:not(:disabled):not(.disabled).active:focus,.btn-hero-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-secondary.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #494f5440}.btn-hero-success{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#82b54b;border:none;box-shadow:0 .125rem .75rem #5b7f3440;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-success:hover{color:#fff;background-color:#9bc46f;box-shadow:0 .375rem .75rem #5b7f3466;transform:translateY(-1px)}.btn-hero-success.focus,.btn-hero-success:focus{color:#fff;background-color:#9bc46f;box-shadow:0 .125rem .75rem #5b7f3440}.btn-hero-success.disabled,.btn-hero-success:disabled{color:#fff;background-color:#82b54b;box-shadow:0 .125rem .75rem #5b7f3440;transform:translateY(0)}.btn-hero-success:not(:disabled):not(.disabled).active,.btn-hero-success:not(:disabled):not(.disabled):active,.show>.btn-hero-success.dropdown-toggle{color:#fff;background-color:#5b7f34;box-shadow:0 .125rem .75rem #5b7f3440;transform:translateY(0)}.btn-hero-success:not(:disabled):not(.disabled).active:focus,.btn-hero-success:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-success.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #5b7f3440}.btn-hero-info{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#3c90df;border:none;box-shadow:0 .125rem .75rem #1d6ab140;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-info:hover{color:#fff;background-color:#68a9e6;box-shadow:0 .375rem .75rem #1d6ab166;transform:translateY(-1px)}.btn-hero-info.focus,.btn-hero-info:focus{color:#fff;background-color:#68a9e6;box-shadow:0 .125rem .75rem #1d6ab140}.btn-hero-info.disabled,.btn-hero-info:disabled{color:#fff;background-color:#3c90df;box-shadow:0 .125rem .75rem #1d6ab140;transform:translateY(0)}.btn-hero-info:not(:disabled):not(.disabled).active,.btn-hero-info:not(:disabled):not(.disabled):active,.show>.btn-hero-info.dropdown-toggle{color:#fff;background-color:#1d6ab1;box-shadow:0 .125rem .75rem #1d6ab140;transform:translateY(0)}.btn-hero-info:not(:disabled):not(.disabled).active:focus,.btn-hero-info:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-info.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #1d6ab140}.btn-hero-warning{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#ffb119;border:none;box-shadow:0 .125rem .75rem #cc860040;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-warning:hover{color:#fff;background-color:#ffc24c;box-shadow:0 .375rem .75rem #cc860066;transform:translateY(-1px)}.btn-hero-warning.focus,.btn-hero-warning:focus{color:#fff;background-color:#ffc24c;box-shadow:0 .125rem .75rem #cc860040}.btn-hero-warning.disabled,.btn-hero-warning:disabled{color:#fff;background-color:#ffb119;box-shadow:0 .125rem .75rem #cc860040;transform:translateY(0)}.btn-hero-warning:not(:disabled):not(.disabled).active,.btn-hero-warning:not(:disabled):not(.disabled):active,.show>.btn-hero-warning.dropdown-toggle{color:#fff;background-color:#cc8600;box-shadow:0 .125rem .75rem #cc860040;transform:translateY(0)}.btn-hero-warning:not(:disabled):not(.disabled).active:focus,.btn-hero-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-warning.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #cc860040}.btn-hero-danger{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#e04f1a;border:none;box-shadow:0 .125rem .75rem #9b371240;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-danger:hover{color:#fff;background-color:#e97044;box-shadow:0 .375rem .75rem #9b371266;transform:translateY(-1px)}.btn-hero-danger.focus,.btn-hero-danger:focus{color:#fff;background-color:#e97044;box-shadow:0 .125rem .75rem #9b371240}.btn-hero-danger.disabled,.btn-hero-danger:disabled{color:#fff;background-color:#e04f1a;box-shadow:0 .125rem .75rem #9b371240;transform:translateY(0)}.btn-hero-danger:not(:disabled):not(.disabled).active,.btn-hero-danger:not(:disabled):not(.disabled):active,.show>.btn-hero-danger.dropdown-toggle{color:#fff;background-color:#9b3712;box-shadow:0 .125rem .75rem #9b371240;transform:translateY(0)}.btn-hero-danger:not(:disabled):not(.disabled).active:focus,.btn-hero-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-danger.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #9b371240}.btn-hero-dark{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#343a40;border:none;box-shadow:0 .125rem .75rem #12141640;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-dark:hover{color:#fff;background-color:#4b545c;box-shadow:0 .375rem .75rem #12141666;transform:translateY(-1px)}.btn-hero-dark.focus,.btn-hero-dark:focus{color:#fff;background-color:#4b545c;box-shadow:0 .125rem .75rem #12141640}.btn-hero-dark.disabled,.btn-hero-dark:disabled{color:#fff;background-color:#343a40;box-shadow:0 .125rem .75rem #12141640;transform:translateY(0)}.btn-hero-dark:not(:disabled):not(.disabled).active,.btn-hero-dark:not(:disabled):not(.disabled):active,.show>.btn-hero-dark.dropdown-toggle{color:#fff;background-color:#121416;box-shadow:0 .125rem .75rem #12141640;transform:translateY(0)}.btn-hero-dark:not(:disabled):not(.disabled).active:focus,.btn-hero-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-dark.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #12141640}.btn-hero-light{color:#212529;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#f8f9fa;border:none;box-shadow:0 .125rem .75rem #cbd3da40;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-light:hover{color:#212529;background-color:#fff;box-shadow:0 .375rem .75rem #cbd3da66;transform:translateY(-1px)}.btn-hero-light.focus,.btn-hero-light:focus{color:#212529;background-color:#fff;box-shadow:0 .125rem .75rem #cbd3da40}.btn-hero-light.disabled,.btn-hero-light:disabled{color:#212529;background-color:#f8f9fa;box-shadow:0 .125rem .75rem #cbd3da40;transform:translateY(0)}.btn-hero-light:not(:disabled):not(.disabled).active,.btn-hero-light:not(:disabled):not(.disabled):active,.show>.btn-hero-light.dropdown-toggle{color:#212529;background-color:#cbd3da;box-shadow:0 .125rem .75rem #cbd3da40;transform:translateY(0)}.btn-hero-light:not(:disabled):not(.disabled).active:focus,.btn-hero-light:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-light.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #cbd3da40}.btn-hero-lg{padding:.875rem 2.25rem;font-size:.875rem;line-height:1.5;border-radius:.25rem}.btn-hero-sm{padding:.375rem 1.25rem;font-size:.875rem;line-height:1.5;border-radius:.25rem}.btn-dual{color:#16181a;background-color:#f8f9fc;border-color:#f8f9fc}.btn-dual.focus,.btn-dual:focus,.btn-dual:hover{color:#16181a;background-color:#cdd6e8;border-color:#cdd6e8;box-shadow:none}.btn-dual.disabled,.btn-dual:disabled{background-color:transparent;border-color:transparent}.btn-dual.active,.btn-dual:active{color:#16181a;background-color:#f8f9fc;border-color:#f8f9fc}.btn-dual:not(:disabled):not(.disabled).active,.btn-dual:not(:disabled):not(.disabled):active,.show>.btn-dual.dropdown-toggle{color:#16181a;background-color:#cdd6e8;border-color:#cdd6e8}html.dark .markdown-body{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #e6edf3;--color-fg-muted: #7d8590;--color-fg-subtle: #6e7681;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110,118,129,.4);--color-accent-fg: #2f81f7;--color-accent-emphasis: #1f6feb;--color-attention-fg: #d29922;--color-attention-subtle: rgba(187,128,9,.15);--color-danger-fg: #f85149;--color-done-fg: #a371f7}html:not(.dark) .markdown-body{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #6639ba;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #1F2328;--color-fg-muted: #656d76;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210,18%,87%,1);--color-neutral-muted: rgba(175,184,193,.2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-fg: #9a6700;--color-attention-subtle: #fff8c5;--color-danger-fg: #d1242f;--color-done-fg: #8250df}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:var(--color-fg-default);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,");mask-image:url("data:image/svg+xml,")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.markdown-body mark{background-color:var(--color-attention-subtle);color:var(--color-fg-default)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default);border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.25em}.markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:1em}.markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.875em}.markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em;color:var(--color-fg-muted)}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body .color-fg-accent{color:var(--color-accent-fg)!important}.markdown-body .color-fg-attention{color:var(--color-attention-fg)!important}.markdown-body .color-fg-done{color:var(--color-done-fg)!important}.markdown-body .flex-items-center{align-items:center!important}.markdown-body .mb-1{margin-bottom:var(--base-size-4, 4px)!important}.markdown-body .text-semibold{font-weight:var(--base-text-weight-medium, 500)!important}.markdown-body .d-inline-flex{display:inline-flex!important}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:var(--color-danger-fg)}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type="a s"]{list-style-type:lower-alpha}.markdown-body ol[type="A s"]{list-style-type:upper-alpha}.markdown-body ol[type="i s"]{list-style-type:lower-roman}.markdown-body ol[type="I s"]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-body table td>:last-child{margin-bottom:0}.markdown-body table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;color:var(--color-fg-default);background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:var(--base-text-weight-semibold, 600);background:var(--color-canvas-subtle);border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes ol ul{display:inline-block;padding-left:16px;margin-top:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.markdown-body .footnotes li:target{color:var(--color-fg-default)}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.markdown-body .pl-e,.markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:var(--color-prettylights-syntax-storage-modifier-import)}.markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:var(--color-prettylights-syntax-string)}.markdown-body .pl-v,.markdown-body .pl-smw{color:var(--color-prettylights-syntax-variable)}.markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.markdown-body .pl-ii{color:var(--color-prettylights-syntax-invalid-illegal-text);background-color:var(--color-prettylights-syntax-invalid-illegal-bg)}.markdown-body .pl-c2{color:var(--color-prettylights-syntax-carriage-return-text);background-color:var(--color-prettylights-syntax-carriage-return-bg)}.markdown-body .pl-sr .pl-cce{font-weight:700;color:var(--color-prettylights-syntax-string-regexp)}.markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:var(--color-prettylights-syntax-markup-heading)}.markdown-body .pl-mi{font-style:italic;color:var(--color-prettylights-syntax-markup-italic)}.markdown-body .pl-mb{font-weight:700;color:var(--color-prettylights-syntax-markup-bold)}.markdown-body .pl-md{color:var(--color-prettylights-syntax-markup-deleted-text);background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.markdown-body .pl-mi1{color:var(--color-prettylights-syntax-markup-inserted-text);background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.markdown-body .pl-mc{color:var(--color-prettylights-syntax-markup-changed-text);background-color:var(--color-prettylights-syntax-markup-changed-bg)}.markdown-body .pl-mi2{color:var(--color-prettylights-syntax-markup-ignored-text);background-color:var(--color-prettylights-syntax-markup-ignored-bg)}.markdown-body .pl-mdr{font-weight:700;color:var(--color-prettylights-syntax-meta-diff-range)}.markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.markdown-body .pl-corl{text-decoration:underline;color:var(--color-prettylights-syntax-constant-other-reference-link)}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:var(--base-text-weight-normal, 400);line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:var(--base-text-weight-normal, 400)}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:4px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list{position:relative}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body .QueryBuilder .qb-entity{color:var(--color-prettylights-syntax-entity)}.markdown-body .QueryBuilder .qb-constant{color:var(--color-prettylights-syntax-constant)}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body .markdown-alert{padding:0 1em;margin-bottom:16px;color:inherit;border-left:.25em solid var(--color-border-default)}.markdown-body .markdown-alert>:first-child{margin-top:0}.markdown-body .markdown-alert>:last-child{margin-bottom:0}.markdown-body .markdown-alert.markdown-alert-note{border-left-color:var(--color-accent-fg)}.markdown-body .markdown-alert.markdown-alert-important{border-left-color:var(--color-done-fg)}.markdown-body .markdown-alert.markdown-alert-warning{border-left-color:var(--color-attention-fg)}*,:before,:after{box-sizing:border-box;background-repeat:no-repeat}:before,:after{text-decoration:inherit;vertical-align:inherit}:where(:root){cursor:default;line-height:1.5;overflow-wrap:break-word;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}:where(body){margin:0}:where(h1){font-size:2em;margin:.67em 0}:where(dl,ol,ul) :where(dl,ol,ul){margin:0}:where(hr){color:inherit;height:0}:where(nav) :where(ol,ul){list-style-type:none;padding:0}:where(nav li):before{content:"​";float:left}:where(pre){font-family:monospace,monospace;font-size:1em;overflow:auto}:where(abbr[title]){text-decoration:underline;text-decoration:underline dotted}:where(b,strong){font-weight:bolder}:where(code,kbd,samp){font-family:monospace,monospace;font-size:1em}:where(small){font-size:80%}:where(audio,canvas,iframe,img,svg,video){vertical-align:baseline}:where(iframe){border-style:none}:where(svg:not([fill])){fill:currentColor}:where(table){border-collapse:collapse;border-color:inherit;text-indent:0}:where(button,input,select){margin:0}:where(button,[type=button i],[type=reset i],[type=submit i]){-webkit-appearance:button}:where(fieldset){border:1px solid #a0a0a0}:where(progress){vertical-align:baseline}:where(textarea){margin:0;resize:vertical}:where([type=search i]){-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:where(dialog){background-color:#fff;border:solid;color:#000;height:-moz-fit-content;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:-moz-fit-content;width:fit-content}:where(dialog:not([open])){display:none}:where(details>summary:first-of-type){display:list-item}:where([aria-busy=true i]){cursor:progress}:where([aria-controls]){cursor:pointer}:where([aria-disabled=true i],[disabled]){cursor:not-allowed}:where([aria-hidden=false i][hidden]){display:initial}:where([aria-hidden=false i][hidden]:not(:focus)){clip:rect(0,0,0,0);position:absolute}html{font-size:4px}html,body{width:100%;height:100%;overflow:hidden;background-color:#f2f2f2;font-family:Encode Sans Condensed,sans-serif}html.dark body{background-color:#292b2b}::-webkit-scrollbar{width:8px;background-color:#eee}::-webkit-scrollbar-thumb{background-color:#c1c1c1}::-webkit-scrollbar-thumb:hover{background-color:#a8a8a8}html,body{width:100%;height:100%;overflow:hidden;font-size:16px}#app{width:100%;height:100%}.fade-slide-leave-active,.fade-slide-enter-active{transition:all .3s}.fade-slide-enter-from{opacity:0;transform:translate(-30px)}.fade-slide-leave-to{opacity:0;transform:translate(30px)}.cus-scroll{overflow:auto}.cus-scroll::-webkit-scrollbar{width:8px;height:8px}.cus-scroll-x{overflow-x:auto}.cus-scroll-x::-webkit-scrollbar{width:0;height:8px}.cus-scroll-y{overflow-y:auto}.cus-scroll-y::-webkit-scrollbar{width:8px;height:0}.cus-scroll::-webkit-scrollbar-thumb,.cus-scroll-x::-webkit-scrollbar-thumb,.cus-scroll-y::-webkit-scrollbar-thumb{background-color:transparent;border-radius:4px}.cus-scroll:hover::-webkit-scrollbar-thumb,.cus-scroll-x:hover::-webkit-scrollbar-thumb,.cus-scroll-y:hover::-webkit-scrollbar-thumb{background:#bfbfbf}.cus-scroll:hover::-webkit-scrollbar-thumb:hover,.cus-scroll-x:hover::-webkit-scrollbar-thumb:hover,.cus-scroll-y:hover::-webkit-scrollbar-thumb:hover{background:var(--primary-color)}#--unocss--{layer:__ALL__}#app{height:100%}#app .n-config-provider{height:inherit}.side-menu:not(.n-menu--collapsed) .n-menu-item-content:before{left:5px;right:5px}.side-menu:not(.n-menu--collapsed) .n-menu-item-content.n-menu-item-content--selected:before,.side-menu:not(.n-menu--collapsed) .n-menu-item-content:hover:before{border-left:4px solid var(--primary-color)}.carousel-img[data-v-ecba5f1f]{width:100%;height:240px;object-fit:cover}.pay-qrcode{width:100%;height:100%}.pay-qrcode>canvas{width:100%!important;height:100%!important}.card-container[data-v-79fa0f66]{display:grid;justify-content:space-between;grid-template-columns:repeat(auto-fit,minmax(calc(100% - 1rem),1fr));row-gap:20px;min-width:100%}.card-item[data-v-79fa0f66]{max-width:100%}@media screen and (min-width: 768px){.card-container[data-v-79fa0f66]{grid-template-columns:repeat(auto-fit,minmax(calc(50% - 1rem),1fr));column-gap:20px;min-width:375px}}@media screen and (min-width: 1200px){.card-container[data-v-79fa0f66]{grid-template-columns:repeat(auto-fit,minmax(calc(33.33% - 1rem),1fr));padding:0 10px;column-gap:20px;min-width:375px}}a{text-decoration-line:none}#--unocss-layer-start--__ALL__--{start:__ALL__}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.wh-full,[wh-full=""]{width:100%;height:100%}.f-c-c,[f-c-c=""]{display:flex;align-items:center;justify-content:center}.flex-col,[flex-col=""]{display:flex;flex-direction:column}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.right-0{right:0}.right-15{right:15px}[bottom~="20"]{bottom:20px}.z-99999{z-index:99999}.grid{display:grid}.m-0{margin:0}.m-0\\!{margin:0!important}.m-1{margin:1px}.m-3{margin:3px}.m-auto,[m-auto=""]{margin:auto}.mx-10{margin-left:10px;margin-right:10px}.m-b-5,.mb-5{margin-bottom:5px}.m-l-10,.ml-10,[ml-10=""]{margin-left:10px}.m-l-20{margin-left:20px}.m-l-3{margin-left:3px}.m-t-10,.mt-10{margin-top:10px}.m-t-15,.mt-15,[mt-15=""]{margin-top:15px}.m-t-20,.mt-20,[mt-20=""]{margin-top:20px}.m-t-5,.mt-5{margin-top:5px}.mb-10{margin-bottom:10px}.mb-16{margin-bottom:16px}.mb-1em{margin-bottom:1em}.mb-20{margin-bottom:20px}.mb-3,[mb-3=""]{margin-bottom:3px}.mb-4{margin-bottom:4px}.mb-8{margin-bottom:8px}.ml-auto,[ml-auto=""]{margin-left:auto}.mr-0{margin-right:0}.mr-20,.mr20,[mr-20=""],[mr20=""]{margin-right:20px}.mr-5{margin-right:5px}.mr-auto{margin-right:auto}.mr10,[mr10=""]{margin-right:10px}.mt-0{margin-top:0}.mt-30{margin-top:30px}.mt-4{margin-top:4px}.mt-8{margin-top:8px}.inline-block{display:inline-block}.hidden{display:none}.h-20{height:20px}.h-30{height:30px}.h-35,[h-35=""]{height:35px}.h-36,[h-36=""]{height:36px}.h-6{height:6px}.h-60,[h-60=""]{height:60px}.h-auto{height:auto}.h-full,[h-full=""]{height:100%}.h1{height:1px}.h2{height:2px}.h5{height:5px}.max-h-30{max-height:30px}.max-w-100\\%{max-width:100%}.max-w-1200{max-width:1200px}.max-w-140,[max-w-140=""]{max-width:140px}.max-w-450{max-width:450px}.max-w-500{max-width:500px}.min-w-0{min-width:0}.min-w-300{min-width:300px}.w-100\\%,.w-full,[w-full=""]{width:100%}.w-20{width:20px}.w-30{width:30px}.w-300{width:300px}.w-35,[w-35=""]{width:35px}.w-375{width:375px}.w-6{width:6px}.w-600{width:600px}.w-64{width:64px}.flex,[flex=""]{display:flex}.flex-\\[1\\]{flex:1}.flex-\\[2\\]{flex:2}.flex-1,[flex-1=""]{flex:1 1 0%}.flex-shrink-0,[flex-shrink-0=""]{flex-shrink:0}.flex-wrap{flex-wrap:wrap}[transform-origin~=center]{transform-origin:center}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.resize{resize:both}.items-center,[items-center=""]{align-items:center}.justify-end{justify-content:flex-end}.justify-center,[justify-center=""]{justify-content:center}.justify-between{justify-content:space-between}.overflow-hidden,[overflow-hidden=""]{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.break-anywhere{overflow-wrap:anywhere}.b{border-width:1px}.border-0,.dark [dark~=border-0]{border-width:0px}.border-2{border-width:2px}.border-\\[\\#646669\\],.border-\\#646669{--un-border-opacity:1;border-color:rgb(100 102 105 / var(--un-border-opacity))}.border-\\#0665d0{--un-border-opacity:1;border-color:rgb(6 101 208 / var(--un-border-opacity))}.border-transparent{border-color:transparent}.border-rounded-5,.rounded-5,[border-rounded-5=""],[rounded-5=""]{border-radius:5px}.rounded-full,[rounded-full=""]{border-radius:9999px}.border-none{border-style:none}.border-solid{border-style:solid}.border-b-solid{border-bottom-style:solid}.bg-\\[--n-color-embedded\\]{background-color:var(--n-color-embedded)}.bg-\\[--n-color\\]{background-color:var(--n-color)}.bg-\\[\\#f5f6fb\\],.bg-hex-f5f6fb,[bg-hex-f5f6fb=""]{--un-bg-opacity:1;background-color:rgb(245 246 251 / var(--un-bg-opacity))}.bg-\\#2f3135{--un-bg-opacity:1;background-color:rgb(47 49 53 / var(--un-bg-opacity))}.bg-\\#e04f1a{--un-bg-opacity:1;background-color:rgb(224 79 26 / var(--un-bg-opacity))}.bg-\\#f8f9fa{--un-bg-opacity:1;background-color:rgb(248 249 250 / var(--un-bg-opacity))}.bg-blue-500{--un-bg-opacity:1;background-color:rgb(59 130 246 / var(--un-bg-opacity))}.bg-dark,.dark [dark~=bg-dark]{--un-bg-opacity:1;background-color:rgb(24 24 28 / var(--un-bg-opacity))}.bg-green-500{--un-bg-opacity:1;background-color:rgb(34 197 94 / var(--un-bg-opacity))}.bg-red-500{--un-bg-opacity:1;background-color:rgb(239 68 68 / var(--un-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.dark .dark\\:bg-hex-101014,.dark [dark\\:bg-hex-101014=""]{--un-bg-opacity:1;background-color:rgb(16 16 20 / var(--un-bg-opacity))}.dark .dark\\:bg-hex-101014\\>{background-color:#101014>}.dark .dark\\:bg-hex-121212{--un-bg-opacity:1;background-color:rgb(18 18 18 / var(--un-bg-opacity))}.hover\\:bg-\\#f6f6f6:hover{--un-bg-opacity:1;background-color:rgb(246 246 246 / var(--un-bg-opacity))}.p-0{padding:0}.p-0\\!{padding:0!important}.p-10{padding:10px}.p-19{padding:19px}.p-2{padding:2px}.p-20{padding:20px}.p-24{padding:24px}.p-5{padding:5px}.p-x-24{padding-left:24px;padding-right:24px}.p-y-16{padding-top:16px;padding-bottom:16px}.px{padding-left:4px;padding-right:4px}.px-15{padding-left:15px;padding-right:15px}.p-b-5{padding-bottom:5px}.p-l-5,.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-gray-500{--un-text-opacity:1;color:rgb(107 114 128 / var(--un-text-opacity))}.color-primary,.text-\\[--primary-color\\],[color-primary=""]{color:var(--primary-color)}.color-white,.text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}[color~="#343a40"]{--un-text-opacity:1;color:rgb(52 58 64 / var(--un-text-opacity))}[color~="#6a6a6a"]{--un-text-opacity:1;color:rgb(106 106 106 / var(--un-text-opacity))}.text-\\#6c757d,[color~="#6c757d"]{--un-text-opacity:1;color:rgb(108 117 125 / var(--un-text-opacity))}[color~="#db4619"]{--un-text-opacity:1;color:rgb(219 70 25 / var(--un-text-opacity))}[hover~=color-primary]:hover{color:var(--primary-color)}.text-\\[rgba\\(0\\,0\\,0\\,0\\.45\\)\\]{--un-text-opacity:.45;color:rgba(0,0,0,var(--un-text-opacity))}.text-\\#49505799{--un-text-opacity:.6;color:rgb(73 80 87 / var(--un-text-opacity))}.text-\\#595959{--un-text-opacity:1;color:rgb(89 89 89 / var(--un-text-opacity))}.text-\\#666{--un-text-opacity:1;color:rgb(102 102 102 / var(--un-text-opacity))}.text-red-500{--un-text-opacity:1;color:rgb(239 68 68 / var(--un-text-opacity))}.decoration-underline,[hover~=decoration-underline]:hover{text-decoration-line:underline}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.opacity-30{opacity:.3}.opacity-85{opacity:.85}.hover\\:opacity-75:hover{opacity:.75}.shadow-black{--un-shadow-opacity:1;--un-shadow-color:rgb(0 0 0 / var(--un-shadow-opacity))}.outline-none{outline:2px solid transparent;outline-offset:2px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[duration~="500"]{transition-duration:.5s}[content~="$t("]{content:var(--t\\()}[placeholder~="$t("]::placeholder{color:var(--t\\()}@media (min-width: 640px){.sm\\:max-w-full{max-width:100%}}@media (min-width: 768px){.md\\:mx-auto{margin-left:auto;margin-right:auto}.md\\:m-l20{margin-left:20px}.md\\:m-t-20,.md\\:mt-20{margin-top:20px}.md\\:m-t-40{margin-top:40px}.md\\:mb-40{margin-bottom:40px}.md\\:mr10{margin-right:10px}.md\\:mt-0{margin-top:0}.md\\:block{display:block}.md\\:hidden{display:none}.md\\:h-30{height:30px}.md\\:max-w-1\\/3{max-width:33.3333333333%}.md\\:max-w-2\\/3{max-width:66.6666666667%}.md\\:w-30{width:30px}.md\\:flex-\\[1\\]{flex:1}.md\\:flex-\\[2\\]{flex:2}.md\\:p-15{padding:15px}.md\\:pl-20{padding-left:20px}}#--unocss-layer-end--__ALL__--{end:__ALL__}`)),document.head.appendChild(o)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})(); -var Lk=Object.defineProperty;var Fk=(e,t,n)=>t in e?Lk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Bk=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var rd=(e,t,n)=>(Fk(e,typeof t!="symbol"?t+"":t,n),n);var $Be=Bk((Gn,Yn)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();function Eh(e,t){const n=new Set(e.split(","));return t?o=>n.has(o.toLowerCase()):o=>n.has(o)}const Jt={},la=[],Kn=()=>{},Nk=()=>!1,Fc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ah=e=>e.startsWith("onUpdate:"),gn=Object.assign,Ih=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Hk=Object.prototype.hasOwnProperty,zt=(e,t)=>Hk.call(e,t),ft=Array.isArray,ca=e=>Bc(e)==="[object Map]",N1=e=>Bc(e)==="[object Set]",vt=e=>typeof e=="function",un=e=>typeof e=="string",Aa=e=>typeof e=="symbol",Yt=e=>e!==null&&typeof e=="object",H1=e=>(Yt(e)||vt(e))&&vt(e.then)&&vt(e.catch),j1=Object.prototype.toString,Bc=e=>j1.call(e),jk=e=>Bc(e).slice(8,-1),V1=e=>Bc(e)==="[object Object]",Oh=e=>un(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xl=Eh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Nc=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Vk=/-(\w)/g,No=Nc(e=>e.replace(Vk,(t,n)=>n?n.toUpperCase():"")),Wk=/\B([A-Z])/g,Ti=Nc(e=>e.replace(Wk,"-$1").toLowerCase()),Hc=Nc(e=>e.charAt(0).toUpperCase()+e.slice(1)),id=Nc(e=>e?`on${Hc(e)}`:""),Fr=(e,t)=>!Object.is(e,t),Zl=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},hf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Uk=e=>{const t=un(e)?Number(e):NaN;return isNaN(t)?e:t};let Dm;const W1=()=>Dm||(Dm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ho(e){if(ft(e)){const t={};for(let n=0;n{if(n){const o=n.split(Kk);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function ar(e){let t="";if(un(e))t=e;else if(ft(e))for(let n=0;nun(e)?e:e==null?"":ft(e)||Yt(e)&&(e.toString===j1||!vt(e.toString))?JSON.stringify(e,q1,2):String(e),q1=(e,t)=>t&&t.__v_isRef?q1(e,t.value):ca(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],i)=>(n[ad(o,i)+" =>"]=r,n),{})}:N1(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ad(n))}:Aa(t)?ad(t):Yt(t)&&!ft(t)&&!V1(t)?String(t):t,ad=(e,t="")=>{var n;return Aa(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Un;class K1{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Un,!t&&Un&&(this.index=(Un.scopes||(Un.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Un;try{return Un=this,t()}finally{Un=n}}}on(){Un=this}off(){Un=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n=2))break;$i(),this._queryings--}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?3:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=zr,n=pi;try{return zr=!0,pi=this,this._runnings++,Lm(this),this.fn()}finally{Fm(this),this._runnings--,pi=n,zr=t}}stop(){var t;this.active&&(Lm(this),Fm(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Qk(e){return e.value}function Lm(e){e._trackId++,e._depsLength=0}function Fm(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},dc=new WeakMap,mi=Symbol(""),gf=Symbol("");function Hn(e,t,n){if(zr&&pi){let o=dc.get(e);o||dc.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=Q1(()=>o.delete(n))),Z1(pi,r)}}function rr(e,t,n,o,r,i){const a=dc.get(e);if(!a)return;let s=[];if(t==="clear")s=[...a.values()];else if(n==="length"&&ft(e)){const l=Number(o);a.forEach((c,u)=>{(u==="length"||!Aa(u)&&u>=l)&&s.push(c)})}else switch(n!==void 0&&s.push(a.get(n)),t){case"add":ft(e)?Oh(n)&&s.push(a.get("length")):(s.push(a.get(mi)),ca(e)&&s.push(a.get(gf)));break;case"delete":ft(e)||(s.push(a.get(mi)),ca(e)&&s.push(a.get(gf)));break;case"set":ca(e)&&s.push(a.get(mi));break}Lh();for(const l of s)l&&J1(l,3);Fh()}function e3(e,t){var n;return(n=dc.get(e))==null?void 0:n.get(t)}const t3=Eh("__proto__,__v_isRef,__isVue"),ey=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Aa)),Bm=n3();function n3(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=At(this);for(let i=0,a=this.length;i{e[t]=function(...n){Ri(),Lh();const o=At(this)[t].apply(this,n);return Fh(),$i(),o}}),e}function o3(e){const t=At(this);return Hn(t,"has",e),t.hasOwnProperty(e)}class ty{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")return o===(r?i?g3:iy:i?ry:oy).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const a=ft(t);if(!r){if(a&&zt(Bm,n))return Reflect.get(Bm,n,o);if(n==="hasOwnProperty")return o3}const s=Reflect.get(t,n,o);return(Aa(n)?ey.has(n):t3(n))||(r||Hn(t,"get",n),i)?s:dn(s)?a&&Oh(n)?s:s.value:Yt(s)?r?io(s):xo(s):s}}class ny extends ty{constructor(t=!1){super(!1,t)}set(t,n,o,r){let i=t[n];if(!this._shallow){const l=ga(i);if(!fc(o)&&!ga(o)&&(i=At(i),o=At(o)),!ft(t)&&dn(i)&&!dn(o))return l?!1:(i.value=o,!0)}const a=ft(t)&&Oh(n)?Number(n)e,jc=e=>Reflect.getPrototypeOf(e);function vl(e,t,n=!1,o=!1){e=e.__v_raw;const r=At(e),i=At(t);n||(Fr(t,i)&&Hn(r,"get",t),Hn(r,"get",i));const{has:a}=jc(r),s=o?Bh:n?jh:$s;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 bl(e,t=!1){const n=this.__v_raw,o=At(n),r=At(e);return t||(Fr(e,r)&&Hn(o,"has",e),Hn(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function yl(e,t=!1){return e=e.__v_raw,!t&&Hn(At(e),"iterate",mi),Reflect.get(e,"size",e)}function Nm(e){e=At(e);const t=At(this);return jc(t).has.call(t,e)||(t.add(e),rr(t,"add",e,e)),this}function Hm(e,t){t=At(t);const n=At(this),{has:o,get:r}=jc(n);let i=o.call(n,e);i||(e=At(e),i=o.call(n,e));const a=r.call(n,e);return n.set(e,t),i?Fr(t,a)&&rr(n,"set",e,t):rr(n,"add",e,t),this}function jm(e){const t=At(this),{has:n,get:o}=jc(t);let r=n.call(t,e);r||(e=At(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&rr(t,"delete",e,void 0),i}function Vm(){const e=At(this),t=e.size!==0,n=e.clear();return t&&rr(e,"clear",void 0,void 0),n}function xl(e,t){return function(o,r){const i=this,a=i.__v_raw,s=At(a),l=t?Bh:e?jh:$s;return!e&&Hn(s,"iterate",mi),a.forEach((c,u)=>o.call(r,l(c),l(u),i))}}function Cl(e,t,n){return function(...o){const r=this.__v_raw,i=At(r),a=ca(i),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=r[e](...o),u=n?Bh:t?jh:$s;return!t&&Hn(i,"iterate",l?gf:mi),{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 br(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function l3(){const e={get(i){return vl(this,i)},get size(){return yl(this)},has:bl,add:Nm,set:Hm,delete:jm,clear:Vm,forEach:xl(!1,!1)},t={get(i){return vl(this,i,!1,!0)},get size(){return yl(this)},has:bl,add:Nm,set:Hm,delete:jm,clear:Vm,forEach:xl(!1,!0)},n={get(i){return vl(this,i,!0)},get size(){return yl(this,!0)},has(i){return bl.call(this,i,!0)},add:br("add"),set:br("set"),delete:br("delete"),clear:br("clear"),forEach:xl(!0,!1)},o={get(i){return vl(this,i,!0,!0)},get size(){return yl(this,!0)},has(i){return bl.call(this,i,!0)},add:br("add"),set:br("set"),delete:br("delete"),clear:br("clear"),forEach:xl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Cl(i,!1,!1),n[i]=Cl(i,!0,!1),t[i]=Cl(i,!1,!0),o[i]=Cl(i,!0,!0)}),[e,n,t,o]}const[c3,u3,d3,f3]=l3();function Nh(e,t){const n=t?e?f3:d3:e?u3:c3;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 h3={get:Nh(!1,!1)},p3={get:Nh(!1,!0)},m3={get:Nh(!0,!1)},oy=new WeakMap,ry=new WeakMap,iy=new WeakMap,g3=new WeakMap;function v3(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function b3(e){return e.__v_skip||!Object.isExtensible(e)?0:v3(jk(e))}function xo(e){return ga(e)?e:Hh(e,!1,i3,h3,oy)}function ay(e){return Hh(e,!1,s3,p3,ry)}function io(e){return Hh(e,!0,a3,m3,iy)}function Hh(e,t,n,o,r){if(!Yt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=b3(e);if(a===0)return e;const s=new Proxy(e,a===2?o:n);return r.set(e,s),s}function Dr(e){return ga(e)?Dr(e.__v_raw):!!(e&&e.__v_isReactive)}function ga(e){return!!(e&&e.__v_isReadonly)}function fc(e){return!!(e&&e.__v_isShallow)}function sy(e){return Dr(e)||ga(e)}function At(e){const t=e&&e.__v_raw;return t?At(t):e}function va(e){return uc(e,"__v_skip",!0),e}const $s=e=>Yt(e)?xo(e):e,jh=e=>Yt(e)?io(e):e;class ly{constructor(t,n,o,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Dh(()=>t(this._value),()=>hc(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=At(this);return Vh(t),(!t._cacheable||t.effect.dirty)&&Fr(t._value,t._value=t.effect.run())&&hc(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function y3(e,t,n=!1){let o,r;const i=vt(e);return i?(o=e,r=Kn):(o=e.get,r=e.set),new ly(o,r,i||!r,n)}function Vh(e){zr&&pi&&(e=At(e),Z1(pi,e.dep||(e.dep=Q1(()=>e.dep=void 0,e instanceof ly?e:void 0))))}function hc(e,t=3,n){e=At(e);const o=e.dep;o&&J1(o,t)}function dn(e){return!!(e&&e.__v_isRef===!0)}function F(e){return cy(e,!1)}function Ia(e){return cy(e,!0)}function cy(e,t){return dn(e)?e:new x3(e,t)}class x3{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:At(t),this._value=n?t:$s(t)}get value(){return Vh(this),this._value}set value(t){const n=this.__v_isShallow||fc(t)||ga(t);t=n?t:At(t),Fr(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:$s(t),hc(this,3))}}function he(e){return dn(e)?e.value:e}const C3={get:(e,t,n)=>he(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return dn(r)&&!dn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function uy(e){return Dr(e)?e:new Proxy(e,C3)}class w3{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:o}=t(()=>Vh(this),()=>hc(this));this._get=n,this._set=o}get value(){return this._get()}set value(t){this._set(t)}}function _3(e){return new w3(e)}function S3(e){const t=ft(e)?new Array(e.length):{};for(const n in e)t[n]=dy(e,n);return t}class k3{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return e3(At(this._object),this._key)}}class P3{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function je(e,t,n){return dn(e)?e:vt(e)?new P3(e):Yt(e)&&arguments.length>1?dy(e,t,n):F(e)}function dy(e,t,n){const o=e[t];return dn(o)?o:new k3(e,t,n)}function Lr(e,t,n,o){let r;try{r=o?e(...o):e()}catch(i){Vc(i,t,n)}return r}function oo(e,t,n,o){if(vt(e)){const i=Lr(e,t,n,o);return i&&H1(i)&&i.catch(a=>{Vc(a,t,n)}),i}const r=[];for(let i=0;i>>1,r=$n[o],i=As(r);iOo&&$n.splice(t,1)}function E3(e){ft(e)?ua.push(...e):(!Rr||!Rr.includes(e,e.allowRecurse?si+1:si))&&ua.push(e),hy()}function Wm(e,t,n=Es?Oo+1:0){for(;n<$n.length;n++){const o=$n[n];if(o&&o.pre){if(e&&o.id!==e.uid)continue;$n.splice(n,1),n--,o()}}}function py(e){if(ua.length){const t=[...new Set(ua)].sort((n,o)=>As(n)-As(o));if(ua.length=0,Rr){Rr.push(...t);return}for(Rr=t,si=0;sie.id==null?1/0:e.id,A3=(e,t)=>{const n=As(e)-As(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function my(e){vf=!1,Es=!0,$n.sort(A3);const t=Kn;try{for(Oo=0;Oo<$n.length;Oo++){const n=$n[Oo];n&&n.active!==!1&&Lr(n,null,14)}}finally{Oo=0,$n.length=0,py(),Es=!1,Wh=null,($n.length||ua.length)&&my()}}function I3(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||Jt;let r=n;const i=t.startsWith("update:"),a=i&&t.slice(7);if(a&&a in o){const u=`${a==="modelValue"?"model":a}Modifiers`,{number:d,trim:f}=o[u]||Jt;f&&(r=n.map(p=>un(p)?p.trim():p)),d&&(r=n.map(hf))}let s,l=o[s=id(t)]||o[s=id(No(t))];!l&&i&&(l=o[s=id(Ti(t))]),l&&oo(l,e,6,r);const c=o[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,oo(c,e,6,r)}}function gy(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=gy(c,t,!0);u&&(s=!0,gn(a,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!s?(Yt(e)&&o.set(e,null),null):(ft(i)?i.forEach(l=>a[l]=null):gn(a,i),Yt(e)&&o.set(e,a),a)}function Wc(e,t){return!e||!Fc(t)?!1:(t=t.slice(2).replace(/Once$/,""),zt(e,t[0].toLowerCase()+t.slice(1))||zt(e,Ti(t))||zt(e,t))}let mn=null,Uc=null;function pc(e){const t=mn;return mn=e,Uc=e&&e.type.__scopeId||null,t}function O3(e){Uc=e}function M3(){Uc=null}function re(e,t=mn,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&rg(-1);const i=pc(t);let a;try{a=e(...r)}finally{pc(i),o._d&&rg(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function sd(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[a],slots:s,attrs:l,emit:c,render:u,renderCache:d,data:f,setupState:p,ctx:h,inheritAttrs:g}=e;let b,m;const x=pc(e);try{if(n.shapeFlag&4){const _=r||o,w=_;b=Io(u.call(w,_,d,i,p,f,h)),m=l}else{const _=t;b=Io(_.length>1?_(i,{attrs:l,slots:s,emit:c}):_(i,null)),m=t.props?l:z3(l)}}catch(_){gs.length=0,Vc(_,e,1),b=te(En)}let S=b;if(m&&g!==!1){const _=Object.keys(m),{shapeFlag:w}=S;_.length&&w&7&&(a&&_.some(Ah)&&(m=D3(m,a)),S=ao(S,m))}return n.dirs&&(S=ao(S),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&(S.transition=n.transition),b=S,pc(x),b}const z3=e=>{let t;for(const n in e)(n==="class"||n==="style"||Fc(n))&&((t||(t={}))[n]=e[n]);return t},D3=(e,t)=>{const n={};for(const o in e)(!Ah(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function L3(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?Um(o,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function N3(e,t){t&&t.pendingBranch?ft(e)?t.effects.push(...e):t.effects.push(e):E3(e)}const H3=Symbol.for("v-scx"),j3=()=>We(H3);function nn(e,t){return Kh(e,null,t)}const wl={};function ht(e,t,n){return Kh(e,t,n)}function Kh(e,t,{immediate:n,deep:o,flush:r,once:i,onTrack:a,onTrigger:s}=Jt){if(t&&i){const C=t;t=(...y)=>{C(...y),w()}}const l=_n,c=C=>o===!0?C:ci(C,o===!1?1:void 0);let u,d=!1,f=!1;if(dn(e)?(u=()=>e.value,d=fc(e)):Dr(e)?(u=()=>c(e),d=!0):ft(e)?(f=!0,d=e.some(C=>Dr(C)||fc(C)),u=()=>e.map(C=>{if(dn(C))return C.value;if(Dr(C))return c(C);if(vt(C))return Lr(C,l,2)})):vt(e)?t?u=()=>Lr(e,l,2):u=()=>(p&&p(),oo(e,l,3,[h])):u=Kn,t&&o){const C=u;u=()=>ci(C())}let p,h=C=>{p=S.onStop=()=>{Lr(C,l,4),p=S.onStop=void 0}},g;if(Qc)if(h=Kn,t?n&&oo(t,l,3,[u(),f?[]:void 0,h]):u(),r==="sync"){const C=j3();g=C.__watcherHandles||(C.__watcherHandles=[])}else return Kn;let b=f?new Array(e.length).fill(wl):wl;const m=()=>{if(!(!S.active||!S.dirty))if(t){const C=S.run();(o||d||(f?C.some((y,k)=>Fr(y,b[k])):Fr(C,b)))&&(p&&p(),oo(t,l,3,[C,b===wl?void 0:f&&b[0]===wl?[]:b,h]),b=C)}else S.run()};m.allowRecurse=!!t;let x;r==="sync"?x=m:r==="post"?x=()=>Bn(m,l&&l.suspense):(m.pre=!0,l&&(m.id=l.uid),x=()=>Uh(m));const S=new Dh(u,Kn,x),_=zh(),w=()=>{S.stop(),_&&Ih(_.effects,S)};return t?n?m():b=S.run():r==="post"?Bn(S.run.bind(S),l&&l.suspense):S.run(),g&&g.push(w),w}function V3(e,t,n){const o=this.proxy,r=un(e)?e.includes(".")?yy(o,e):()=>o[e]:e.bind(o,o);let i;vt(t)?i=t:(i=t.handler,n=t);const a=Zs(this),s=Kh(r,i.bind(o),n);return a(),s}function yy(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r0){if(n>=t)return e;n++}if(o=o||new Set,o.has(e))return e;if(o.add(e),dn(e))ci(e.value,t,n,o);else if(ft(e))for(let r=0;r{ci(r,t,n,o)});else if(V1(e))for(const r in e)ci(e[r],t,n,o);return e}function Cn(e,t){if(mn===null)return e;const n=eu(mn)||mn.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),rn(()=>{e.isUnmounting=!0}),e}const eo=[Function,Array],Cy={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:eo,onEnter:eo,onAfterEnter:eo,onEnterCancelled:eo,onBeforeLeave:eo,onLeave:eo,onAfterLeave:eo,onLeaveCancelled:eo,onBeforeAppear:eo,onAppear:eo,onAfterAppear:eo,onAppearCancelled:eo},W3={name:"BaseTransition",props:Cy,setup(e,{slots:t}){const n=Zn(),o=xy();let r;return()=>{const i=t.default&&Gh(t.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1){for(const g of i)if(g.type!==En){a=g;break}}const s=At(e),{mode:l}=s;if(o.isLeaving)return ld(a);const c=Km(a);if(!c)return ld(a);const u=Is(c,s,o,n);Os(c,u);const d=n.subTree,f=d&&Km(d);let p=!1;const{getTransitionKey:h}=c.type;if(h){const g=h();r===void 0?r=g:g!==r&&(r=g,p=!0)}if(f&&f.type!==En&&(!li(c,f)||p)){const g=Is(f,s,o,n);if(Os(f,g),l==="out-in")return o.isLeaving=!0,g.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},ld(a);l==="in-out"&&c.type!==En&&(g.delayLeave=(b,m,x)=>{const S=wy(o,f);S[String(f.key)]=f,b[$r]=()=>{m(),b[$r]=void 0,delete u.delayedLeave},u.delayedLeave=x})}return a}}},U3=W3;function wy(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 Is(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:g,onAppear:b,onAfterAppear:m,onAppearCancelled:x}=t,S=String(e.key),_=wy(n,e),w=(k,R)=>{k&&oo(k,o,9,R)},C=(k,R)=>{const $=R[1];w(k,R),ft(k)?k.every(I=>I.length<=1)&&$():k.length<=1&&$()},y={mode:i,persisted:a,beforeEnter(k){let R=s;if(!n.isMounted)if(r)R=g||s;else return;k[$r]&&k[$r](!0);const $=_[S];$&&li(e,$)&&$.el[$r]&&$.el[$r](),w(R,[k])},enter(k){let R=l,$=c,I=u;if(!n.isMounted)if(r)R=b||l,$=m||c,I=x||u;else return;let A=!1;const K=k[_l]=B=>{A||(A=!0,B?w(I,[k]):w($,[k]),y.delayedLeave&&y.delayedLeave(),k[_l]=void 0)};R?C(R,[k,K]):K()},leave(k,R){const $=String(e.key);if(k[_l]&&k[_l](!0),n.isUnmounting)return R();w(d,[k]);let I=!1;const A=k[$r]=K=>{I||(I=!0,R(),K?w(h,[k]):w(p,[k]),k[$r]=void 0,_[$]===e&&delete _[$])};_[$]=e,f?C(f,[k,A]):A()},clone(k){return Is(k,t,n,o)}};return y}function ld(e){if(Kc(e))return e=ao(e),e.children=null,e}function Km(e){return Kc(e)?e.children?e.children[0]:void 0:e}function Os(e,t){e.shapeFlag&6&&e.component?Os(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 Gh(e,t=!1,n){let o=[],r=0;for(let i=0;i1)for(let i=0;ign({name:e.name},t,{setup:e}))():e}const hs=e=>!!e.type.__asyncLoader,Kc=e=>e.type.__isKeepAlive;function Yh(e,t){_y(e,"a",t)}function Gc(e,t){_y(e,"da",t)}function _y(e,t,n=_n){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Yc(t,o,n),n){let r=n.parent;for(;r&&r.parent;)Kc(r.parent.vnode)&&q3(o,t,n,r),r=r.parent}}function q3(e,t,n,o){const r=Yc(t,e,o,!0);Ma(()=>{Ih(o[t],r)},n)}function Yc(e,t,n=_n,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;Ri();const s=Zs(n),l=oo(t,n,e,a);return s(),$i(),l});return o?r.unshift(i):r.push(i),i}}const cr=e=>(t,n=_n)=>(!Qc||e==="sp")&&Yc(e,(...o)=>t(...o),n),cn=cr("bm"),Ft=cr("m"),Sy=cr("bu"),Xh=cr("u"),rn=cr("bum"),Ma=cr("um"),K3=cr("sp"),G3=cr("rtg"),Y3=cr("rtc");function X3(e,t=_n){Yc("ec",e,t)}function Nn(e,t,n,o){let r;const i=n&&n[o];if(ft(e)||un(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;sDs(t)?!(t.type===En||t.type===at&&!ky(t.children)):!0)?e:null}const bf=e=>e?Ly(e)?eu(e)||e.proxy:bf(e.parent):null,ps=gn(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=>bf(e.parent),$root:e=>bf(e.root),$emit:e=>e.emit,$options:e=>Zh(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Uh(e.update)}),$nextTick:e=>e.n||(e.n=jt.bind(e.proxy)),$watch:e=>V3.bind(e)}),cd=(e,t)=>e!==Jt&&!e.__isScriptSetup&&zt(e,t),Z3={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(cd(o,t))return a[t]=1,o[t];if(r!==Jt&&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!==Jt&&zt(n,t))return a[t]=4,n[t];yf&&(a[t]=0)}}const u=ps[t];let d,f;if(u)return t==="$attrs"&&Hn(e,"get",t),u(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==Jt&&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 cd(r,t)?(r[t]=n,!0):o!==Jt&&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!==Jt&&zt(e,a)||cd(t,a)||(s=i[0])&&zt(s,a)||zt(o,a)||zt(ps,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 Gm(e){return ft(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let yf=!0;function J3(e){const t=Zh(e),n=e.proxy,o=e.ctx;yf=!1,t.beforeCreate&&Ym(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:g,deactivated:b,beforeDestroy:m,beforeUnmount:x,destroyed:S,unmounted:_,render:w,renderTracked:C,renderTriggered:y,errorCaptured:k,serverPrefetch:R,expose:$,inheritAttrs:I,components:A,directives:K,filters:B}=t;if(c&&Q3(c,o,null),a)for(const Y in a){const Q=a[Y];vt(Q)&&(o[Y]=Q.bind(n))}if(r){const Y=r.call(n,n);Yt(Y)&&(e.data=xo(Y))}if(yf=!0,i)for(const Y in i){const Q=i[Y],ue=vt(Q)?Q.bind(n,n):vt(Q.get)?Q.get.bind(n,n):Kn,le=!vt(Q)&&vt(Q.set)?Q.set.bind(n):Kn,N=L({get:ue,set:le});Object.defineProperty(o,Y,{enumerable:!0,configurable:!0,get:()=>N.value,set:E=>N.value=E})}if(s)for(const Y in s)Py(s[Y],o,n,Y);if(l){const Y=vt(l)?l.call(n):l;Reflect.ownKeys(Y).forEach(Q=>{lt(Q,Y[Q])})}u&&Ym(u,e,"c");function D(Y,Q){ft(Q)?Q.forEach(ue=>Y(ue.bind(n))):Q&&Y(Q.bind(n))}if(D(cn,d),D(Ft,f),D(Sy,p),D(Xh,h),D(Yh,g),D(Gc,b),D(X3,k),D(Y3,C),D(G3,y),D(rn,x),D(Ma,_),D(K3,R),ft($))if($.length){const Y=e.exposed||(e.exposed={});$.forEach(Q=>{Object.defineProperty(Y,Q,{get:()=>n[Q],set:ue=>n[Q]=ue})})}else e.exposed||(e.exposed={});w&&e.render===Kn&&(e.render=w),I!=null&&(e.inheritAttrs=I),A&&(e.components=A),K&&(e.directives=K)}function Q3(e,t,n=Kn){ft(e)&&(e=xf(e));for(const o in e){const r=e[o];let i;Yt(r)?"default"in r?i=We(r.from||o,r.default,!0):i=We(r.from||o):i=We(r),dn(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[o]=i}}function Ym(e,t,n){oo(ft(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Py(e,t,n,o){const r=o.includes(".")?yy(n,o):()=>n[o];if(un(e)){const i=t[e];vt(i)&&ht(r,i)}else if(vt(e))ht(r,e.bind(n));else if(Yt(e))if(ft(e))e.forEach(i=>Py(i,t,n,o));else{const i=vt(e.handler)?e.handler.bind(n):t[e.handler];vt(i)&&ht(r,i,e)}}function Zh(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let l;return s?l=s:!r.length&&!n&&!o?l=t:(l={},r.length&&r.forEach(c=>mc(l,c,a,!0)),mc(l,t,a)),Yt(t)&&i.set(t,l),l}function mc(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&mc(e,i,n,!0),r&&r.forEach(a=>mc(e,a,n,!0));for(const a in t)if(!(o&&a==="expose")){const s=e4[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const e4={data:Xm,props:Zm,emits:Zm,methods:cs,computed:cs,beforeCreate:In,created:In,beforeMount:In,mounted:In,beforeUpdate:In,updated:In,beforeDestroy:In,beforeUnmount:In,destroyed:In,unmounted:In,activated:In,deactivated:In,errorCaptured:In,serverPrefetch:In,components:cs,directives:cs,watch:n4,provide:Xm,inject:t4};function Xm(e,t){return t?e?function(){return gn(vt(e)?e.call(this,this):e,vt(t)?t.call(this,this):t)}:t:e}function t4(e,t){return cs(xf(e),xf(t))}function xf(e){if(ft(e)){const t={};for(let n=0;n1)return n&&vt(t)?t.call(o&&o.proxy):t}}function i4(){return!!(_n||mn||Ms)}function a4(e,t,n,o=!1){const r={},i={};uc(i,Jc,1),e.propsDefaults=Object.create(null),Ry(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:ay(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function s4(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:a}}=e,s=At(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]=$y(d,t,!0);gn(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 Yt(e)&&o.set(e,la),la;if(ft(i))for(let u=0;u-1,p[1]=g<0||h-1||zt(p,"default"))&&s.push(d)}}}const c=[a,s];return Yt(e)&&o.set(e,c),c}function Jm(e){return e[0]!=="$"}function Qm(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function eg(e,t){return Qm(e)===Qm(t)}function tg(e,t){return ft(t)?t.findIndex(n=>eg(n,e)):vt(t)&&eg(t,e)?0:-1}const Ey=e=>e[0]==="_"||e==="$stable",Jh=e=>ft(e)?e.map(Io):[Io(e)],l4=(e,t,n)=>{if(t._n)return t;const o=re((...r)=>Jh(t(...r)),n);return o._c=!1,o},Ay=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Ey(r))continue;const i=e[r];if(vt(i))t[r]=l4(r,i,o);else if(i!=null){const a=Jh(i);t[r]=()=>a}}},Iy=(e,t)=>{const n=Jh(t);e.slots.default=()=>n},c4=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=At(t),uc(t,"_",n)):Ay(t,e.slots={})}else e.slots={},t&&Iy(e,t);uc(e.slots,Jc,1)},u4=(e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,a=Jt;if(o.shapeFlag&32){const s=t._;s?n&&s===1?i=!1:(gn(r,t),!n&&s===1&&delete r._):(i=!t.$stable,Ay(t,r)),a=t}else t&&(Iy(e,t),a={default:1});if(i)for(const s in r)!Ey(s)&&a[s]==null&&delete r[s]};function wf(e,t,n,o,r=!1){if(ft(e)){e.forEach((f,p)=>wf(f,t&&(ft(t)?t[p]:t),n,o,r));return}if(hs(o)&&!r)return;const i=o.shapeFlag&4?eu(o.component)||o.component.proxy:o.el,a=r?null:i,{i:s,r:l}=e,c=t&&t.r,u=s.refs===Jt?s.refs={}:s.refs,d=s.setupState;if(c!=null&&c!==l&&(un(c)?(u[c]=null,zt(d,c)&&(d[c]=null)):dn(c)&&(c.value=null)),vt(l))Lr(l,s,12,[a,u]);else{const f=un(l),p=dn(l);if(f||p){const h=()=>{if(e.f){const g=f?zt(d,l)?d[l]:u[l]:l.value;r?ft(g)&&Ih(g,i):ft(g)?g.includes(i)||g.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,Bn(h,n)):h()}}}const Bn=N3;function d4(e){return f4(e)}function f4(e,t){const n=W1();n.__VUE__=!0;const{insert:o,remove:r,patchProp:i,createElement:a,createText:s,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:p=Kn,insertStaticContent:h}=e,g=(P,T,W,oe=null,G=null,se=null,xe=void 0,ye=null,Ce=!!T.dynamicChildren)=>{if(P===T)return;P&&!li(P,T)&&(oe=J(P),E(P,G,se,!0),P=null),T.patchFlag===-2&&(Ce=!1,T.dynamicChildren=null);const{type:we,ref:Ee,shapeFlag:de}=T;switch(we){case za:b(P,T,W,oe);break;case En:m(P,T,W,oe);break;case Jl:P==null&&x(T,W,oe,xe);break;case at:A(P,T,W,oe,G,se,xe,ye,Ce);break;default:de&1?w(P,T,W,oe,G,se,xe,ye,Ce):de&6?K(P,T,W,oe,G,se,xe,ye,Ce):(de&64||de&128)&&we.process(P,T,W,oe,G,se,xe,ye,Ce,ge)}Ee!=null&&G&&wf(Ee,P&&P.ref,se,T||P,!T)},b=(P,T,W,oe)=>{if(P==null)o(T.el=s(T.children),W,oe);else{const G=T.el=P.el;T.children!==P.children&&c(G,T.children)}},m=(P,T,W,oe)=>{P==null?o(T.el=l(T.children||""),W,oe):T.el=P.el},x=(P,T,W,oe)=>{[P.el,P.anchor]=h(P.children,T,W,oe,P.el,P.anchor)},S=({el:P,anchor:T},W,oe)=>{let G;for(;P&&P!==T;)G=f(P),o(P,W,oe),P=G;o(T,W,oe)},_=({el:P,anchor:T})=>{let W;for(;P&&P!==T;)W=f(P),r(P),P=W;r(T)},w=(P,T,W,oe,G,se,xe,ye,Ce)=>{T.type==="svg"?xe="svg":T.type==="math"&&(xe="mathml"),P==null?C(T,W,oe,G,se,xe,ye,Ce):R(P,T,G,se,xe,ye,Ce)},C=(P,T,W,oe,G,se,xe,ye)=>{let Ce,we;const{props:Ee,shapeFlag:de,transition:ee,dirs:fe}=P;if(Ce=P.el=a(P.type,se,Ee&&Ee.is,Ee),de&8?u(Ce,P.children):de&16&&k(P.children,Ce,null,oe,G,ud(P,se),xe,ye),fe&&Qr(P,null,oe,"created"),y(Ce,P,P.scopeId,xe,oe),Ee){for(const Fe in Ee)Fe!=="value"&&!Xl(Fe)&&i(Ce,Fe,null,Ee[Fe],se,P.children,oe,G,ve);"value"in Ee&&i(Ce,"value",null,Ee.value,se),(we=Ee.onVnodeBeforeMount)&&Ro(we,oe,P)}fe&&Qr(P,null,oe,"beforeMount");const Te=h4(G,ee);Te&&ee.beforeEnter(Ce),o(Ce,T,W),((we=Ee&&Ee.onVnodeMounted)||Te||fe)&&Bn(()=>{we&&Ro(we,oe,P),Te&&ee.enter(Ce),fe&&Qr(P,null,oe,"mounted")},G)},y=(P,T,W,oe,G)=>{if(W&&p(P,W),oe)for(let se=0;se{for(let we=Ce;we{const ye=T.el=P.el;let{patchFlag:Ce,dynamicChildren:we,dirs:Ee}=T;Ce|=P.patchFlag&16;const de=P.props||Jt,ee=T.props||Jt;let fe;if(W&&ei(W,!1),(fe=ee.onVnodeBeforeUpdate)&&Ro(fe,W,T,P),Ee&&Qr(T,P,W,"beforeUpdate"),W&&ei(W,!0),we?$(P.dynamicChildren,we,ye,W,oe,ud(T,G),se):xe||Q(P,T,ye,null,W,oe,ud(T,G),se,!1),Ce>0){if(Ce&16)I(ye,T,de,ee,W,oe,G);else if(Ce&2&&de.class!==ee.class&&i(ye,"class",null,ee.class,G),Ce&4&&i(ye,"style",de.style,ee.style,G),Ce&8){const Te=T.dynamicProps;for(let Fe=0;Fe{fe&&Ro(fe,W,T,P),Ee&&Qr(T,P,W,"updated")},oe)},$=(P,T,W,oe,G,se,xe)=>{for(let ye=0;ye{if(W!==oe){if(W!==Jt)for(const ye in W)!Xl(ye)&&!(ye in oe)&&i(P,ye,W[ye],null,xe,T.children,G,se,ve);for(const ye in oe){if(Xl(ye))continue;const Ce=oe[ye],we=W[ye];Ce!==we&&ye!=="value"&&i(P,ye,we,Ce,xe,T.children,G,se,ve)}"value"in oe&&i(P,"value",W.value,oe.value,xe)}},A=(P,T,W,oe,G,se,xe,ye,Ce)=>{const we=T.el=P?P.el:s(""),Ee=T.anchor=P?P.anchor:s("");let{patchFlag:de,dynamicChildren:ee,slotScopeIds:fe}=T;fe&&(ye=ye?ye.concat(fe):fe),P==null?(o(we,W,oe),o(Ee,W,oe),k(T.children||[],W,Ee,G,se,xe,ye,Ce)):de>0&&de&64&&ee&&P.dynamicChildren?($(P.dynamicChildren,ee,W,G,se,xe,ye),(T.key!=null||G&&T===G.subTree)&&Qh(P,T,!0)):Q(P,T,W,Ee,G,se,xe,ye,Ce)},K=(P,T,W,oe,G,se,xe,ye,Ce)=>{T.slotScopeIds=ye,P==null?T.shapeFlag&512?G.ctx.activate(T,W,oe,xe,Ce):B(T,W,oe,G,se,xe,Ce):M(P,T,Ce)},B=(P,T,W,oe,G,se,xe)=>{const ye=P.component=S4(P,oe,G);if(Kc(P)&&(ye.ctx.renderer=ge),k4(ye),ye.asyncDep){if(G&&G.registerDep(ye,D),!P.el){const Ce=ye.subTree=te(En);m(null,Ce,T,W)}}else D(ye,P,T,W,G,se,xe)},M=(P,T,W)=>{const oe=T.component=P.component;if(L3(P,T,W))if(oe.asyncDep&&!oe.asyncResolved){Y(oe,T,W);return}else oe.next=T,$3(oe.update),oe.effect.dirty=!0,oe.update();else T.el=P.el,oe.vnode=T},D=(P,T,W,oe,G,se,xe)=>{const ye=()=>{if(P.isMounted){let{next:Ee,bu:de,u:ee,parent:fe,vnode:Te}=P;{const Ue=Oy(P);if(Ue){Ee&&(Ee.el=Te.el,Y(P,Ee,xe)),Ue.asyncDep.then(()=>{P.isUnmounted||ye()});return}}let Fe=Ee,Ye;ei(P,!1),Ee?(Ee.el=Te.el,Y(P,Ee,xe)):Ee=Te,de&&Zl(de),(Ye=Ee.props&&Ee.props.onVnodeBeforeUpdate)&&Ro(Ye,fe,Ee,Te),ei(P,!0);const Se=sd(P),De=P.subTree;P.subTree=Se,g(De,Se,d(De.el),J(De),P,G,se),Ee.el=Se.el,Fe===null&&F3(P,Se.el),ee&&Bn(ee,G),(Ye=Ee.props&&Ee.props.onVnodeUpdated)&&Bn(()=>Ro(Ye,fe,Ee,Te),G)}else{let Ee;const{el:de,props:ee}=T,{bm:fe,m:Te,parent:Fe}=P,Ye=hs(T);if(ei(P,!1),fe&&Zl(fe),!Ye&&(Ee=ee&&ee.onVnodeBeforeMount)&&Ro(Ee,Fe,T),ei(P,!0),de&&Le){const Se=()=>{P.subTree=sd(P),Le(de,P.subTree,P,G,null)};Ye?T.type.__asyncLoader().then(()=>!P.isUnmounted&&Se()):Se()}else{const Se=P.subTree=sd(P);g(null,Se,W,oe,P,G,se),T.el=Se.el}if(Te&&Bn(Te,G),!Ye&&(Ee=ee&&ee.onVnodeMounted)){const Se=T;Bn(()=>Ro(Ee,Fe,Se),G)}(T.shapeFlag&256||Fe&&hs(Fe.vnode)&&Fe.vnode.shapeFlag&256)&&P.a&&Bn(P.a,G),P.isMounted=!0,T=W=oe=null}},Ce=P.effect=new Dh(ye,Kn,()=>Uh(we),P.scope),we=P.update=()=>{Ce.dirty&&Ce.run()};we.id=P.uid,ei(P,!0),we()},Y=(P,T,W)=>{T.component=P;const oe=P.vnode.props;P.vnode=T,P.next=null,s4(P,T.props,oe,W),u4(P,T.children,W),Ri(),Wm(P),$i()},Q=(P,T,W,oe,G,se,xe,ye,Ce=!1)=>{const we=P&&P.children,Ee=P?P.shapeFlag:0,de=T.children,{patchFlag:ee,shapeFlag:fe}=T;if(ee>0){if(ee&128){le(we,de,W,oe,G,se,xe,ye,Ce);return}else if(ee&256){ue(we,de,W,oe,G,se,xe,ye,Ce);return}}fe&8?(Ee&16&&ve(we,G,se),de!==we&&u(W,de)):Ee&16?fe&16?le(we,de,W,oe,G,se,xe,ye,Ce):ve(we,G,se,!0):(Ee&8&&u(W,""),fe&16&&k(de,W,oe,G,se,xe,ye,Ce))},ue=(P,T,W,oe,G,se,xe,ye,Ce)=>{P=P||la,T=T||la;const we=P.length,Ee=T.length,de=Math.min(we,Ee);let ee;for(ee=0;eeEe?ve(P,G,se,!0,!1,de):k(T,W,oe,G,se,xe,ye,Ce,de)},le=(P,T,W,oe,G,se,xe,ye,Ce)=>{let we=0;const Ee=T.length;let de=P.length-1,ee=Ee-1;for(;we<=de&&we<=ee;){const fe=P[we],Te=T[we]=Ce?Er(T[we]):Io(T[we]);if(li(fe,Te))g(fe,Te,W,null,G,se,xe,ye,Ce);else break;we++}for(;we<=de&&we<=ee;){const fe=P[de],Te=T[ee]=Ce?Er(T[ee]):Io(T[ee]);if(li(fe,Te))g(fe,Te,W,null,G,se,xe,ye,Ce);else break;de--,ee--}if(we>de){if(we<=ee){const fe=ee+1,Te=feee)for(;we<=de;)E(P[we],G,se,!0),we++;else{const fe=we,Te=we,Fe=new Map;for(we=Te;we<=ee;we++){const X=T[we]=Ce?Er(T[we]):Io(T[we]);X.key!=null&&Fe.set(X.key,we)}let Ye,Se=0;const De=ee-Te+1;let Ue=!1,Ae=0;const Qe=new Array(De);for(we=0;we=De){E(X,G,se,!0);continue}let pe;if(X.key!=null)pe=Fe.get(X.key);else for(Ye=Te;Ye<=ee;Ye++)if(Qe[Ye-Te]===0&&li(X,T[Ye])){pe=Ye;break}pe===void 0?E(X,G,se,!0):(Qe[pe-Te]=we+1,pe>=Ae?Ae=pe:Ue=!0,g(X,T[pe],W,null,G,se,xe,ye,Ce),Se++)}const xt=Ue?p4(Qe):la;for(Ye=xt.length-1,we=De-1;we>=0;we--){const X=Te+we,pe=T[X],$e=X+1{const{el:se,type:xe,transition:ye,children:Ce,shapeFlag:we}=P;if(we&6){N(P.component.subTree,T,W,oe);return}if(we&128){P.suspense.move(T,W,oe);return}if(we&64){xe.move(P,T,W,ge);return}if(xe===at){o(se,T,W);for(let de=0;deye.enter(se),G);else{const{leave:de,delayLeave:ee,afterLeave:fe}=ye,Te=()=>o(se,T,W),Fe=()=>{de(se,()=>{Te(),fe&&fe()})};ee?ee(se,Te,Fe):Fe()}else o(se,T,W)},E=(P,T,W,oe=!1,G=!1)=>{const{type:se,props:xe,ref:ye,children:Ce,dynamicChildren:we,shapeFlag:Ee,patchFlag:de,dirs:ee}=P;if(ye!=null&&wf(ye,null,W,P,!0),Ee&256){T.ctx.deactivate(P);return}const fe=Ee&1&&ee,Te=!hs(P);let Fe;if(Te&&(Fe=xe&&xe.onVnodeBeforeUnmount)&&Ro(Fe,T,P),Ee&6)ne(P.component,W,oe);else{if(Ee&128){P.suspense.unmount(W,oe);return}fe&&Qr(P,null,T,"beforeUnmount"),Ee&64?P.type.remove(P,T,W,G,ge,oe):we&&(se!==at||de>0&&de&64)?ve(we,T,W,!1,!0):(se===at&&de&384||!G&&Ee&16)&&ve(Ce,T,W),oe&&O(P)}(Te&&(Fe=xe&&xe.onVnodeUnmounted)||fe)&&Bn(()=>{Fe&&Ro(Fe,T,P),fe&&Qr(P,null,T,"unmounted")},W)},O=P=>{const{type:T,el:W,anchor:oe,transition:G}=P;if(T===at){q(W,oe);return}if(T===Jl){_(P);return}const se=()=>{r(W),G&&!G.persisted&&G.afterLeave&&G.afterLeave()};if(P.shapeFlag&1&&G&&!G.persisted){const{leave:xe,delayLeave:ye}=G,Ce=()=>xe(W,se);ye?ye(P.el,se,Ce):Ce()}else se()},q=(P,T)=>{let W;for(;P!==T;)W=f(P),r(P),P=W;r(T)},ne=(P,T,W)=>{const{bum:oe,scope:G,update:se,subTree:xe,um:ye}=P;oe&&Zl(oe),G.stop(),se&&(se.active=!1,E(xe,P,T,W)),ye&&Bn(ye,T),Bn(()=>{P.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&P.asyncDep&&!P.asyncResolved&&P.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},ve=(P,T,W,oe=!1,G=!1,se=0)=>{for(let xe=se;xeP.shapeFlag&6?J(P.component.subTree):P.shapeFlag&128?P.suspense.next():f(P.anchor||P.el);let be=!1;const H=(P,T,W)=>{P==null?T._vnode&&E(T._vnode,null,null,!0):g(T._vnode||null,P,T,null,null,null,W),be||(be=!0,Wm(),py(),be=!1),T._vnode=P},ge={p:g,um:E,m:N,r:O,mt:B,mc:k,pc:Q,pbc:$,n:J,o:e};let Ie,Le;return t&&([Ie,Le]=t(ge)),{render:H,hydrate:Ie,createApp:r4(H,Ie)}}function ud({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ei({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function h4(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Qh(e,t,n=!1){const o=e.children,r=t.children;if(ft(o)&&ft(r))for(let i=0;i>1,e[n[s]]0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}function Oy(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Oy(t)}const m4=e=>e.__isTeleport,ms=e=>e&&(e.disabled||e.disabled===""),ng=e=>typeof SVGElement<"u"&&e instanceof SVGElement,og=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,_f=(e,t)=>{const n=e&&e.to;return un(n)?t?t(n):null:n},g4={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:g,createComment:b}}=c,m=ms(t.props);let{shapeFlag:x,children:S,dynamicChildren:_}=t;if(e==null){const w=t.el=g(""),C=t.anchor=g("");p(w,n,o),p(C,n,o);const y=t.target=_f(t.props,h),k=t.targetAnchor=g("");y&&(p(k,y),a==="svg"||ng(y)?a="svg":(a==="mathml"||og(y))&&(a="mathml"));const R=($,I)=>{x&16&&u(S,$,I,r,i,a,s,l)};m?R(n,C):y&&R(y,k)}else{t.el=e.el;const w=t.anchor=e.anchor,C=t.target=e.target,y=t.targetAnchor=e.targetAnchor,k=ms(e.props),R=k?n:C,$=k?w:y;if(a==="svg"||ng(C)?a="svg":(a==="mathml"||og(C))&&(a="mathml"),_?(f(e.dynamicChildren,_,R,r,i,a,s),Qh(e,t,!0)):l||d(e,t,R,$,r,i,a,s,!1),m)k?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Sl(t,n,w,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const I=t.target=_f(t.props,h);I&&Sl(t,I,null,c,0)}else k&&Sl(t,C,y,c,1)}My(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||!ms(f);for(let h=0;h0?vo||la:null,b4(),zs>0&&vo&&vo.push(e),e}function ze(e,t,n,o,r,i){return zy(j(e,t,n,o,r,i,!0))}function Ve(e,t,n,o,r){return zy(te(e,t,n,o,r,!0))}function Ds(e){return e?e.__v_isVNode===!0:!1}function li(e,t){return e.type===t.type&&e.key===t.key}const Jc="__vInternal",Dy=({key:e})=>e??null,Ql=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?un(e)||dn(e)||vt(e)?{i:mn,r:e,k:t,f:!!n}:e:null);function j(e,t=null,n=null,o=0,r=null,i=e===at?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Dy(t),ref:t&&Ql(t),scopeId:Uc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:mn};return s?(ep(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=un(n)?8:16),zs>0&&!a&&vo&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&vo.push(l),l}const te=y4;function y4(e,t=null,n=null,o=0,r=null,i=!1){if((!e||e===vy)&&(e=En),Ds(e)){const s=ao(e,t,!0);return n&&ep(s,n),zs>0&&!i&&vo&&(s.shapeFlag&6?vo[vo.indexOf(e)]=s:vo.push(s)),s.patchFlag|=-2,s}if(E4(e)&&(e=e.__vccOpts),t){t=x4(t);let{class:s,style:l}=t;s&&!un(s)&&(t.class=ar(s)),Yt(l)&&(sy(l)&&!ft(l)&&(l=gn({},l)),t.style=Ho(l))}const a=un(e)?1:B3(e)?128:m4(e)?64:Yt(e)?4:vt(e)?2:0;return j(e,t,n,o,r,a,i,!0)}function x4(e){return e?sy(e)||Jc in e?gn({},e):e:null}function ao(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:a}=e,s=t?Dn(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Dy(s),ref:t&&t.ref?n&&r?ft(r)?r.concat(Ql(t)):[r,Ql(t)]:Ql(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==at?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ao(e.ssContent),ssFallback:e.ssFallback&&ao(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Je(e=" ",t=0){return te(za,null,e,t)}function C4(e,t){const n=te(Jl,null,e);return n.staticCount=t,n}function ut(e="",t=!1){return t?(ce(),Ve(En,null,e)):te(En,null,e)}function Io(e){return e==null||typeof e=="boolean"?te(En):ft(e)?te(at,null,e.slice()):typeof e=="object"?Er(e):te(za,null,String(e))}function Er(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ao(e)}function ep(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(ft(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),ep(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Jc in t)?t._ctx=mn:r===3&&mn&&(mn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else vt(t)?(t={default:t,_ctx:mn},n=32):(t=String(t),o&64?(n=16,t=[Je(t)]):n=8);e.children=t,e.shapeFlag|=n}function Dn(...e){const t={};for(let n=0;n_n||mn;let gc,Sf;{const e=W1(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),i=>{r.length>1?r.forEach(a=>a(i)):r[0](i)}};gc=t("__VUE_INSTANCE_SETTERS__",n=>_n=n),Sf=t("__VUE_SSR_SETTERS__",n=>Qc=n)}const Zs=e=>{const t=_n;return gc(e),e.scope.on(),()=>{e.scope.off(),gc(t)}},ig=()=>{_n&&_n.scope.off(),gc(null)};function Ly(e){return e.vnode.shapeFlag&4}let Qc=!1;function k4(e,t=!1){t&&Sf(t);const{props:n,children:o}=e.vnode,r=Ly(e);a4(e,n,r,t),c4(e,o);const i=r?P4(e,t):void 0;return t&&Sf(!1),i}function P4(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=va(new Proxy(e.ctx,Z3));const{setup:o}=n;if(o){const r=e.setupContext=o.length>1?R4(e):null,i=Zs(e);Ri();const a=Lr(o,e,0,[e.props,r]);if($i(),i(),H1(a)){if(a.then(ig,ig),t)return a.then(s=>{ag(e,s,t)}).catch(s=>{Vc(s,e,0)});e.asyncDep=a}else ag(e,a,t)}else Fy(e,t)}function ag(e,t,n){vt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Yt(t)&&(e.setupState=uy(t)),Fy(e,n)}let sg;function Fy(e,t,n){const o=e.type;if(!e.render){if(!t&&sg&&!o.render){const r=o.template||Zh(e).template;if(r){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=o,c=gn(gn({isCustomElement:i,delimiters:s},a),l);o.render=sg(r,c)}}e.render=o.render||Kn}{const r=Zs(e);Ri();try{J3(e)}finally{$i(),r()}}}function T4(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Hn(e,"get","$attrs"),t[n]}}))}function R4(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return T4(e)},slots:e.slots,emit:e.emit,expose:t}}function eu(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(uy(va(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ps)return ps[n](e)},has(t,n){return n in t||n in ps}}))}function $4(e,t=!0){return vt(e)?e.displayName||e.name:e.name||t&&e.__name}function E4(e){return vt(e)&&"__vccOpts"in e}const L=(e,t)=>y3(e,t,Qc);function v(e,t,n){const o=arguments.length;return o===2?Yt(t)&&!ft(t)?Ds(t)?te(e,null,[t]):te(e,t):te(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Ds(n)&&(n=[n]),te(e,t,n))}const A4="3.4.7",I4="http://www.w3.org/2000/svg",O4="http://www.w3.org/1998/Math/MathML",Ar=typeof document<"u"?document:null,lg=Ar&&Ar.createElement("template"),M4={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t==="svg"?Ar.createElementNS(I4,e):t==="mathml"?Ar.createElementNS(O4,e):Ar.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>Ar.createTextNode(e),createComment:e=>Ar.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ar.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const a=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{lg.innerHTML=o==="svg"?`${e}`:o==="mathml"?`${e}`:e;const s=lg.content;if(o==="svg"||o==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},yr="transition",Qa="animation",ba=Symbol("_vtc"),hn=(e,{slots:t})=>v(U3,Ny(e),t);hn.displayName="Transition";const By={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},z4=hn.props=gn({},Cy,By),ti=(e,t=[])=>{ft(e)?e.forEach(n=>n(...t)):e&&e(...t)},cg=e=>e?ft(e)?e.some(t=>t.length>1):e.length>1:!1;function Ny(e){const t={};for(const A in e)A in By||(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=D4(r),g=h&&h[0],b=h&&h[1],{onBeforeEnter:m,onEnter:x,onEnterCancelled:S,onLeave:_,onLeaveCancelled:w,onBeforeAppear:C=m,onAppear:y=x,onAppearCancelled:k=S}=t,R=(A,K,B)=>{Pr(A,K?u:s),Pr(A,K?c:a),B&&B()},$=(A,K)=>{A._isLeaving=!1,Pr(A,d),Pr(A,p),Pr(A,f),K&&K()},I=A=>(K,B)=>{const M=A?y:x,D=()=>R(K,A,B);ti(M,[K,D]),ug(()=>{Pr(K,A?l:i),nr(K,A?u:s),cg(M)||dg(K,o,g,D)})};return gn(t,{onBeforeEnter(A){ti(m,[A]),nr(A,i),nr(A,a)},onBeforeAppear(A){ti(C,[A]),nr(A,l),nr(A,c)},onEnter:I(!1),onAppear:I(!0),onLeave(A,K){A._isLeaving=!0;const B=()=>$(A,K);nr(A,d),jy(),nr(A,f),ug(()=>{A._isLeaving&&(Pr(A,d),nr(A,p),cg(_)||dg(A,o,b,B))}),ti(_,[A,B])},onEnterCancelled(A){R(A,!1),ti(S,[A])},onAppearCancelled(A){R(A,!0),ti(k,[A])},onLeaveCancelled(A){$(A),ti(w,[A])}})}function D4(e){if(e==null)return null;if(Yt(e))return[dd(e.enter),dd(e.leave)];{const t=dd(e);return[t,t]}}function dd(e){return Uk(e)}function nr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ba]||(e[ba]=new Set)).add(t)}function Pr(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[ba];n&&(n.delete(t),n.size||(e[ba]=void 0))}function ug(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let L4=0;function dg(e,t,n,o){const r=e._endId=++L4,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=Hy(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(`${yr}Delay`),i=o(`${yr}Duration`),a=fg(r,i),s=o(`${Qa}Delay`),l=o(`${Qa}Duration`),c=fg(s,l);let u=null,d=0,f=0;t===yr?a>0&&(u=yr,d=a,f=i.length):t===Qa?c>0&&(u=Qa,d=c,f=l.length):(d=Math.max(a,c),u=d>0?a>c?yr:Qa:null,f=u?u===yr?i.length:l.length:0);const p=u===yr&&/\b(transform|all)(,|$)/.test(o(`${yr}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function fg(e,t){for(;e.lengthhg(n)+hg(e[o])))}function hg(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function jy(){return document.body.offsetHeight}function F4(e,t,n){const o=e[ba];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const tp=Symbol("_vod"),Jn={beforeMount(e,{value:t},{transition:n}){e[tp]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):es(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),es(e,!0),o.enter(e)):o.leave(e,()=>{es(e,!1)}):es(e,t))},beforeUnmount(e,{value:t}){es(e,t)}};function es(e,t){e.style.display=t?e[tp]:"none"}const B4=Symbol("");function N4(e,t,n){const o=e.style,r=un(n);if(n&&!r){if(t&&!un(t))for(const i in t)n[i]==null&&kf(o,i,"");for(const i in n)kf(o,i,n[i])}else{const i=o.display;if(r){if(t!==n){const a=o[B4];a&&(n+=";"+a),o.cssText=n}}else t&&e.removeAttribute("style");tp in e&&(o.display=i)}}const pg=/\s*!important$/;function kf(e,t,n){if(ft(n))n.forEach(o=>kf(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=H4(e,t);pg.test(n)?e.setProperty(Ti(o),n.replace(pg,""),"important"):e[o]=n}}const mg=["Webkit","Moz","ms"],fd={};function H4(e,t){const n=fd[t];if(n)return n;let o=No(t);if(o!=="filter"&&o in e)return fd[t]=o;o=Hc(o);for(let r=0;rhd||(K4.then(()=>hd=0),hd=Date.now());function Y4(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;oo(X4(o,n.value),t,5,[o])};return n.value=e,n.attached=G4(),n}function X4(e,t){if(ft(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 yg=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Z4=(e,t,n,o,r,i,a,s,l)=>{const c=r==="svg";t==="class"?F4(e,o,c):t==="style"?N4(e,n,o):Fc(t)?Ah(t)||U4(e,t,n,o,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):J4(e,t,o,c))?V4(e,t,o,i,a,s,l):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),j4(e,t,o,c))};function J4(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&yg(t)&&vt(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return yg(t)&&un(n)?!1:t in e}const Vy=new WeakMap,Wy=new WeakMap,vc=Symbol("_moveCb"),xg=Symbol("_enterCb"),Uy={name:"TransitionGroup",props:gn({},z4,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Zn(),o=xy();let r,i;return Xh(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!r5(r[0].el,n.vnode.el,a))return;r.forEach(t5),r.forEach(n5);const s=r.filter(o5);jy(),s.forEach(l=>{const c=l.el,u=c.style;nr(c,a),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[vc]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[vc]=null,Pr(c,a))};c.addEventListener("transitionend",d)})}),()=>{const a=At(e),s=Ny(a);let l=a.tag||at;r=i,i=t.default?Gh(t.default()):[];for(let c=0;cdelete e.mode;Uy.props;const e5=Uy;function t5(e){const t=e.el;t[vc]&&t[vc](),t[xg]&&t[xg]()}function n5(e){Wy.set(e,e.el.getBoundingClientRect())}function o5(e){const t=Vy.get(e),n=Wy.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 r5(e,t,n){const o=e.cloneNode(),r=e[ba];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}=Hy(o);return i.removeChild(o),a}const Cg=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ft(t)?n=>Zl(t,n):t};function i5(e){e.target.composing=!0}function wg(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const pd=Symbol("_assign"),a5={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e[pd]=Cg(r);const i=o||r.props&&r.props.type==="number";na(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),i&&(s=hf(s)),e[pd](s)}),n&&na(e,"change",()=>{e.value=e.value.trim()}),t||(na(e,"compositionstart",i5),na(e,"compositionend",wg),na(e,"change",wg))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},i){if(e[pd]=Cg(i),e.composing)return;const a=r||e.type==="number"?hf(e.value):e.value,s=t??"";a!==s&&(document.activeElement===e&&e.type!=="range"&&(n||o&&e.value.trim()===s)||(e.value=s))}},s5=["ctrl","shift","alt","meta"],l5={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)=>s5.some(n=>e[`${n}Key`]&&!t.includes(n))},c5=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(r,...i)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=r=>{if(!("key"in r))return;const i=Ti(r.key);if(t.some(a=>a===i||u5[a]===i))return e(r)})},d5=gn({patchProp:Z4},M4);let _g;function f5(){return _g||(_g=d4(d5))}const qy=(...e)=>{const t=f5().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=p5(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,h5(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function h5(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function p5(e){return un(e)?document.querySelector(e):e}/*! - * vue-router v4.2.5 - * (c) 2023 Eduardo San Martin Morote +(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(`@charset "UTF-8";.xboard-nav-mask{position:fixed;top:0;bottom:0;right:0;left:0;background:#000;z-index:999;opacity:.5;display:none}.xboard-plan-features{padding:0;list-style:none;font-size:16px;flex:1 0 auto}.xboard-plan-features>li{padding:6px 0;color:#7c8088;text-align:left}.xboard-plan-features>li>b{color:#2a2e36;font-weight:500}.xboard-plan-content{padding-top:20px;padding-left:20px}.xboard-plan-features>li:before{font-family:Font Awesome\\ 5 Free;content:"";padding-right:10px;color:#425b94;font-weight:900}.xboard-email-whitelist-enable{display:flex}.xboard-email-whitelist-enable input{flex:2 1;border-top-right-radius:0;border-bottom-right-radius:0}.xboard-email-whitelist-enable select{flex:1 1;border-top-left-radius:0;border-bottom-left-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-position:right 50%;background-repeat:no-repeat;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12'%3E%3Cpath d='M3.862 7.931L0 4.069h7.725z'/%3E%3C/svg%3E");padding-right:1.5em}.block.block-mode-loading:before{background:hsla(0,0%,100%,.7)}#server .ant-drawer-content-wrapper{max-width:500px}.xboard-trade-no{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.xboard-lang-item{padding:10px 20px}.xboard-lang-item:hover{background:#eee}.xboard-auth-lang-btn{position:absolute;right:0;top:0}.xboard-no-access{color:#855c0d;background-color:#ffefd1;position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:0 solid transparent;border-radius:.25rem}.xboard-notice-background{height:100%;position:absolute;top:0;right:0;left:0;bottom:0;z-index:80;opacity:.1}.xboard-auth-box{position:fixed;right:0;left:0;top:0;bottom:0;display:flex;align-items:center;overflow-y:auto}.content-header{height:3.25rem}#page-container.page-header-fixed #main-container{padding-top:3.25rem}.xboard-copyright{position:absolute;bottom:10px;right:0;left:15px;font-size:10px;opacity:.2}.ant-table-thead>tr>th{background:#fff!important}.xboard-container-title{flex:1 1;color:#fff}.xboard-order-info>div{display:flex;font-size:14px;margin-bottom:5px}.xboard-order-info>div>span:first-child{flex:1 1;opacity:.5}.xboard-order-info>div>span:last-child{flex:2 1;font-family:menlo}.xboard-bg-pixels{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjIwMCIgd2lkdGg9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwIDgpIj48Y2lyY2xlIGN4PSIxNzYiIGN5PSIxMiIgcj0iNCIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMjAuNS41bDIzIDExbS0yOSA4NGwtMy43OSAxMC4zNzdNMjcuMDM3IDEzMS40bDUuODk4IDIuMjAzLTMuNDYgNS45NDcgNi4wNzIgMi4zOTItMy45MzMgNS43NThtMTI4LjczMyAzNS4zN2wuNjkzLTkuMzE2IDEwLjI5Mi4wNTIuNDE2LTkuMjIyIDkuMjc0LjMzMk0uNSA0OC41czYuMTMxIDYuNDEzIDYuODQ3IDE0LjgwNWMuNzE1IDguMzkzLTIuNTIgMTQuODA2LTIuNTIgMTQuODA2TTEyNC41NTUgOTBzLTcuNDQ0IDAtMTMuNjcgNi4xOTJjLTYuMjI3IDYuMTkyLTQuODM4IDEyLjAxMi00LjgzOCAxMi4wMTJtMi4yNCA2OC42MjZzLTQuMDI2LTkuMDI1LTE4LjE0NS05LjAyNS0xOC4xNDUgNS43LTE4LjE0NSA1LjciIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNODUuNzE2IDM2LjE0Nmw1LjI0My05LjUyMWgxMS4wOTNsNS40MTYgOS41MjEtNS40MSA5LjE4NUg5MC45NTN6bTYzLjkwOSAxNS40NzloMTAuNzV2MTAuNzVoLTEwLjc1eiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48ZyBmaWxsPSIjZGRkIj48Y2lyY2xlIGN4PSI3MS41IiBjeT0iNy41IiByPSIxLjUiLz48Y2lyY2xlIGN4PSIxNzAuNSIgY3k9Ijk1LjUiIHI9IjEuNSIvPjxjaXJjbGUgY3g9IjgxLjUiIGN5PSIxMzQuNSIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iMTMuNSIgY3k9IjIzLjUiIHI9IjEuNSIvPjxwYXRoIGQ9Ik05MyA3MWgzdjNoLTN6bTMzIDg0aDN2M2gtM3ptLTg1IDE4aDN2M2gtM3oiLz48L2c+PHBhdGggZD0iTTM5LjM4NCA1MS4xMjJsNS43NTgtNC40NTQgNi40NTMgNC4yMDUtMi4yOTQgNy4zNjNoLTcuNzl6TTEzMC4xOTUgNC4wM2wxMy44MyA1LjA2Mi0xMC4wOSA3LjA0OHptLTgzIDk1bDE0LjgzIDUuNDI5LTEwLjgyIDcuNTU3LTQuMDEtMTIuOTg3ek01LjIxMyAxNjEuNDk1bDExLjMyOCAyMC44OTdMMi4yNjUgMTgweiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMTQ5LjA1IDEyNy40NjhzLS41MSAyLjE4My45OTUgMy4zNjZjMS41NiAxLjIyNiA4LjY0Mi0xLjg5NSAzLjk2Ny03Ljc4NS0yLjM2Ny0yLjQ3Ny02LjUtMy4yMjYtOS4zMyAwLTUuMjA4IDUuOTM2IDAgMTcuNTEgMTEuNjEgMTMuNzMgMTIuNDU4LTYuMjU3IDUuNjMzLTIxLjY1Ni01LjA3My0yMi42NTQtNi42MDItLjYwNi0xNC4wNDMgMS43NTYtMTYuMTU3IDEwLjI2OC0xLjcxOCA2LjkyIDEuNTg0IDE3LjM4NyAxMi40NSAyMC40NzYgMTAuODY2IDMuMDkgMTkuMzMxLTQuMzEgMTkuMzMxLTQuMzEiIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48L2c+PC9zdmc+);background-size:auto}#page-container{min-height:100%}#page-container .content,#main-container{background-color:#f0f3f8!important}a:not([href]):hover{color:unset}.xboard-login-i18n-btn{cursor:pointer;margin-top:2.5;float:right}.custom-control-label:after{left:-1.25rem}.xboard-shortcuts-item{cursor:pointer;padding:20px;border-bottom:1px solid #eee;position:relative}.xboard-shortcuts-item>.description{font-size:12px;opacity:.5}.xboard-shortcuts-item i{position:absolute;top:25px;font-size:30px;right:20px;opacity:.5}.xboard-shortcuts-item:hover{background:#f6f6f6}.btn{border:0}.xboard-plan-tabs{border:1px solid #000;padding:8px 4px;border-radius:100px}.xboard-plan-tabs>span{cursor:pointer;padding:5px 12px}.xboard-plan-tabs>.active{background:#000;border-radius:100px;color:#fff}.xboard-sold-out-tag{background-color:#c12c1f;border-radius:100px;padding:2px 8px;font-size:13px;color:#fff}.xboard-payment-qrcode path[fill="#FFFFFF"]{--darkreader-inline-fill: #fff!important}.alert-success{color:#445e27;background-color:#e6f0db;border-color:#dceacd}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:0 solid transparent;border-radius:.25rem}.custom-html-style{color:#333}.custom-html-style h1{font-size:32px;padding:0;border:none;font-weight:700;margin:32px 0;line-height:1.2}.custom-html-style h2{font-size:24px;padding:0;border:none;font-weight:700;margin:24px 0;line-height:1.7}.custom-html-style h3{font-size:18px;margin:18px 0;padding:0;line-height:1.7;border:none}.custom-html-style p{font-size:14px;line-height:1.7;margin:8px 0}.custom-html-style a{color:#0052d9}.custom-html-style a:hover{text-decoration:none}.custom-html-style strong{font-weight:700}.custom-html-style ol,.custom-html-style ul{font-size:14px;line-height:28px;padding-left:36px}.custom-html-style li{margin-bottom:8px;line-height:1.7}.custom-html-style hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.custom-html-style pre{display:block;padding:20px;line-height:28px;word-break:break-word}.custom-html-style code,.custom-html-style pre{background-color:#f5f5f5;font-size:14px;border-radius:0;overflow-x:auto}.custom-html-style code{padding:3px 0;margin:0;word-break:normal}.custom-html-style code:after,.custom-html-style code:before{letter-spacing:0}.custom-html-style blockquote{position:relative;margin:16px 0;padding:5px 8px 5px 30px;background:none repeat scroll 0 0 rgba(102,128,153,.05);color:#333;border:none;border-left:10px solid #d6dbdf}.custom-html-style img,.custom-html-style video{max-width:100%}.custom-html-style table{font-size:14px;line-height:1.7;max-width:100%;overflow:auto;border:1px solid #f6f6f6;border-collapse:collapse;border-spacing:0;box-sizing:border-box}.custom-html-style table td,.custom-html-style table th{word-break:break-all;word-wrap:break-word;white-space:normal}.custom-html-style table tr{border:1px solid #efefef}.custom-html-style table tr:nth-child(2n){background-color:transparent}.custom-html-style table th{text-align:center;font-weight:700;border:1px solid #efefef;padding:10px 6px;background-color:#f5f7fa;word-break:break-word}.custom-html-style table td{border:1px solid #efefef;text-align:left;padding:10px 15px;word-break:break-word;min-width:60px}code{font-size:87.5%;color:#e83e8c;word-wrap:break-word}.btn{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.btn.btn-square{border-radius:0}.btn.btn-rounded{border-radius:2rem}.btn .fa,.btn .si{position:relative;top:1px}.btn-group-sm>.btn .fa,.btn.btn-sm .fa{top:0}.btn-alt-primary{color:#054d9e;background-color:#cde4fe;border-color:#cde4fe}.btn-alt-primary:hover{color:#054d9e;background-color:#a8d0fc;border-color:#a8d0fc}.btn-alt-primary.focus,.btn-alt-primary:focus{color:#054d9e;background-color:#a8d0fc;border-color:#a8d0fc;box-shadow:0 0 0 .2rem #92c4fc40}.btn-alt-primary.disabled,.btn-alt-primary:disabled{color:#212529;background-color:#cde4fe;border-color:#cde4fe}.btn-alt-primary:not(:disabled):not(.disabled).active,.btn-alt-primary:not(:disabled):not(.disabled):active,.show>.btn-alt-primary.dropdown-toggle{color:#022954;background-color:#92c4fc;border-color:#92c4fc}.btn-alt-primary:not(:disabled):not(.disabled).active:focus,.btn-alt-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #92c4fc40}.btn-alt-secondary{color:#495057;background-color:#f0f3f8;border-color:#f0f3f8}.btn-alt-secondary:hover{color:#495057;background-color:#d6deec;border-color:#d6deec}.btn-alt-secondary.focus,.btn-alt-secondary:focus{color:#495057;background-color:#d6deec;border-color:#d6deec;box-shadow:0 0 0 .2rem #c6d1e540}.btn-alt-secondary.disabled,.btn-alt-secondary:disabled{color:#212529;background-color:#f0f3f8;border-color:#f0f3f8}.btn-alt-secondary:not(:disabled):not(.disabled).active,.btn-alt-secondary:not(:disabled):not(.disabled):active,.show>.btn-alt-secondary.dropdown-toggle{color:#262a2d;background-color:#c6d1e5;border-color:#c6d1e5}.btn-alt-secondary:not(:disabled):not(.disabled).active:focus,.btn-alt-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #c6d1e540}.btn-alt-success{color:#415b25;background-color:#d7e8c6;border-color:#d7e8c6}.btn-alt-success:hover{color:#415b25;background-color:#c5dcab;border-color:#c5dcab}.btn-alt-success.focus,.btn-alt-success:focus{color:#415b25;background-color:#c5dcab;border-color:#c5dcab;box-shadow:0 0 0 .2rem #b9d69b40}.btn-alt-success.disabled,.btn-alt-success:disabled{color:#212529;background-color:#d7e8c6;border-color:#d7e8c6}.btn-alt-success:not(:disabled):not(.disabled).active,.btn-alt-success:not(:disabled):not(.disabled):active,.show>.btn-alt-success.dropdown-toggle{color:#1a250f;background-color:#b9d69b;border-color:#b9d69b}.btn-alt-success:not(:disabled):not(.disabled).active:focus,.btn-alt-success:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #b9d69b40}.btn-alt-info{color:#164f86;background-color:#d1e5f7;border-color:#d1e5f7}.btn-alt-info:hover{color:#164f86;background-color:#b0d2f2;border-color:#b0d2f2}.btn-alt-info.focus,.btn-alt-info:focus{color:#164f86;background-color:#b0d2f2;border-color:#b0d2f2;box-shadow:0 0 0 .2rem #9cc7ef40}.btn-alt-info.disabled,.btn-alt-info:disabled{color:#212529;background-color:#d1e5f7;border-color:#d1e5f7}.btn-alt-info:not(:disabled):not(.disabled).active,.btn-alt-info:not(:disabled):not(.disabled):active,.show>.btn-alt-info.dropdown-toggle{color:#0b2844;background-color:#9cc7ef;border-color:#9cc7ef}.btn-alt-info:not(:disabled):not(.disabled).active:focus,.btn-alt-info:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #9cc7ef40}.btn-alt-warning{color:#996500;background-color:#ffecc6;border-color:#ffecc6}.btn-alt-warning:hover{color:#996500;background-color:#ffdfa0;border-color:#ffdfa0}.btn-alt-warning.focus,.btn-alt-warning:focus{color:#996500;background-color:#ffdfa0;border-color:#ffdfa0;box-shadow:0 0 0 .2rem #ffd78940}.btn-alt-warning.disabled,.btn-alt-warning:disabled{color:#212529;background-color:#ffecc6;border-color:#ffecc6}.btn-alt-warning:not(:disabled):not(.disabled).active,.btn-alt-warning:not(:disabled):not(.disabled):active,.show>.btn-alt-warning.dropdown-toggle{color:#4c3200;background-color:#ffd789;border-color:#ffd789}.btn-alt-warning:not(:disabled):not(.disabled).active:focus,.btn-alt-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #ffd78940}.btn-alt-danger{color:#6e270d;background-color:#f6c4b1;border-color:#f6c4b1}.btn-alt-danger:hover{color:#6e270d;background-color:#f2aa8f;border-color:#f2aa8f}.btn-alt-danger.focus,.btn-alt-danger:focus{color:#6e270d;background-color:#f2aa8f;border-color:#f2aa8f;box-shadow:0 0 0 .2rem #f09a7b40}.btn-alt-danger.disabled,.btn-alt-danger:disabled{color:#212529;background-color:#f6c4b1;border-color:#f6c4b1}.btn-alt-danger:not(:disabled):not(.disabled).active,.btn-alt-danger:not(:disabled):not(.disabled):active,.show>.btn-alt-danger.dropdown-toggle{color:#290f05;background-color:#f09a7b;border-color:#f09a7b}.btn-alt-danger:not(:disabled):not(.disabled).active:focus,.btn-alt-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #f09a7b40}.btn-alt-dark{color:#343a40;background-color:#ced3d8;border-color:#ced3d8}.btn-alt-dark:hover{color:#343a40;background-color:#b9c0c6;border-color:#b9c0c6}.btn-alt-dark.focus,.btn-alt-dark:focus{color:#343a40;background-color:#b9c0c6;border-color:#b9c0c6;box-shadow:0 0 0 .2rem #adb4bc40}.btn-alt-dark.disabled,.btn-alt-dark:disabled{color:#212529;background-color:#ced3d8;border-color:#ced3d8}.btn-alt-dark:not(:disabled):not(.disabled).active,.btn-alt-dark:not(:disabled):not(.disabled):active,.show>.btn-alt-dark.dropdown-toggle{color:#121416;background-color:#adb4bc;border-color:#adb4bc}.btn-alt-dark:not(:disabled):not(.disabled).active:focus,.btn-alt-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #adb4bc40}.btn-alt-light{color:#343a40;background-color:#f8f9fa;border-color:#f8f9fa}.btn-alt-light:hover{color:#343a40;background-color:#e2e6ea;border-color:#e2e6ea}.btn-alt-light.focus,.btn-alt-light:focus{color:#343a40;background-color:#e2e6ea;border-color:#e2e6ea;box-shadow:0 0 0 .2rem #d4dae140}.btn-alt-light.disabled,.btn-alt-light:disabled{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-alt-light:not(:disabled):not(.disabled).active,.btn-alt-light:not(:disabled):not(.disabled):active,.show>.btn-alt-light.dropdown-toggle{color:#121416;background-color:#d4dae1;border-color:#d4dae1}.btn-alt-light:not(:disabled):not(.disabled).active:focus,.btn-alt-light:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #d4dae140}.btn-hero-primary{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#0665d0;border:none;box-shadow:0 .125rem .75rem #04418640;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-primary:hover{color:#fff;background-color:#117ef8;box-shadow:0 .375rem .75rem #04418666;transform:translateY(-1px)}.btn-hero-primary.focus,.btn-hero-primary:focus{color:#fff;background-color:#117ef8;box-shadow:0 .125rem .75rem #04418640}.btn-hero-primary.disabled,.btn-hero-primary:disabled{color:#fff;background-color:#0665d0;box-shadow:0 .125rem .75rem #04418640;transform:translateY(0)}.btn-hero-primary:not(:disabled):not(.disabled).active,.btn-hero-primary:not(:disabled):not(.disabled):active,.show>.btn-hero-primary.dropdown-toggle{color:#fff;background-color:#044186;box-shadow:0 .125rem .75rem #04418640;transform:translateY(0)}.btn-hero-primary:not(:disabled):not(.disabled).active:focus,.btn-hero-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-primary.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #04418640}.btn-hero-secondary{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#6c757d;border:none;box-shadow:0 .125rem .75rem #494f5440;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-secondary:hover{color:#fff;background-color:#868e96;box-shadow:0 .375rem .75rem #494f5466;transform:translateY(-1px)}.btn-hero-secondary.focus,.btn-hero-secondary:focus{color:#fff;background-color:#868e96;box-shadow:0 .125rem .75rem #494f5440}.btn-hero-secondary.disabled,.btn-hero-secondary:disabled{color:#fff;background-color:#6c757d;box-shadow:0 .125rem .75rem #494f5440;transform:translateY(0)}.btn-hero-secondary:not(:disabled):not(.disabled).active,.btn-hero-secondary:not(:disabled):not(.disabled):active,.show>.btn-hero-secondary.dropdown-toggle{color:#fff;background-color:#494f54;box-shadow:0 .125rem .75rem #494f5440;transform:translateY(0)}.btn-hero-secondary:not(:disabled):not(.disabled).active:focus,.btn-hero-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-secondary.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #494f5440}.btn-hero-success{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#82b54b;border:none;box-shadow:0 .125rem .75rem #5b7f3440;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-success:hover{color:#fff;background-color:#9bc46f;box-shadow:0 .375rem .75rem #5b7f3466;transform:translateY(-1px)}.btn-hero-success.focus,.btn-hero-success:focus{color:#fff;background-color:#9bc46f;box-shadow:0 .125rem .75rem #5b7f3440}.btn-hero-success.disabled,.btn-hero-success:disabled{color:#fff;background-color:#82b54b;box-shadow:0 .125rem .75rem #5b7f3440;transform:translateY(0)}.btn-hero-success:not(:disabled):not(.disabled).active,.btn-hero-success:not(:disabled):not(.disabled):active,.show>.btn-hero-success.dropdown-toggle{color:#fff;background-color:#5b7f34;box-shadow:0 .125rem .75rem #5b7f3440;transform:translateY(0)}.btn-hero-success:not(:disabled):not(.disabled).active:focus,.btn-hero-success:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-success.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #5b7f3440}.btn-hero-info{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#3c90df;border:none;box-shadow:0 .125rem .75rem #1d6ab140;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-info:hover{color:#fff;background-color:#68a9e6;box-shadow:0 .375rem .75rem #1d6ab166;transform:translateY(-1px)}.btn-hero-info.focus,.btn-hero-info:focus{color:#fff;background-color:#68a9e6;box-shadow:0 .125rem .75rem #1d6ab140}.btn-hero-info.disabled,.btn-hero-info:disabled{color:#fff;background-color:#3c90df;box-shadow:0 .125rem .75rem #1d6ab140;transform:translateY(0)}.btn-hero-info:not(:disabled):not(.disabled).active,.btn-hero-info:not(:disabled):not(.disabled):active,.show>.btn-hero-info.dropdown-toggle{color:#fff;background-color:#1d6ab1;box-shadow:0 .125rem .75rem #1d6ab140;transform:translateY(0)}.btn-hero-info:not(:disabled):not(.disabled).active:focus,.btn-hero-info:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-info.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #1d6ab140}.btn-hero-warning{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#ffb119;border:none;box-shadow:0 .125rem .75rem #cc860040;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-warning:hover{color:#fff;background-color:#ffc24c;box-shadow:0 .375rem .75rem #cc860066;transform:translateY(-1px)}.btn-hero-warning.focus,.btn-hero-warning:focus{color:#fff;background-color:#ffc24c;box-shadow:0 .125rem .75rem #cc860040}.btn-hero-warning.disabled,.btn-hero-warning:disabled{color:#fff;background-color:#ffb119;box-shadow:0 .125rem .75rem #cc860040;transform:translateY(0)}.btn-hero-warning:not(:disabled):not(.disabled).active,.btn-hero-warning:not(:disabled):not(.disabled):active,.show>.btn-hero-warning.dropdown-toggle{color:#fff;background-color:#cc8600;box-shadow:0 .125rem .75rem #cc860040;transform:translateY(0)}.btn-hero-warning:not(:disabled):not(.disabled).active:focus,.btn-hero-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-warning.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #cc860040}.btn-hero-danger{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#e04f1a;border:none;box-shadow:0 .125rem .75rem #9b371240;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-danger:hover{color:#fff;background-color:#e97044;box-shadow:0 .375rem .75rem #9b371266;transform:translateY(-1px)}.btn-hero-danger.focus,.btn-hero-danger:focus{color:#fff;background-color:#e97044;box-shadow:0 .125rem .75rem #9b371240}.btn-hero-danger.disabled,.btn-hero-danger:disabled{color:#fff;background-color:#e04f1a;box-shadow:0 .125rem .75rem #9b371240;transform:translateY(0)}.btn-hero-danger:not(:disabled):not(.disabled).active,.btn-hero-danger:not(:disabled):not(.disabled):active,.show>.btn-hero-danger.dropdown-toggle{color:#fff;background-color:#9b3712;box-shadow:0 .125rem .75rem #9b371240;transform:translateY(0)}.btn-hero-danger:not(:disabled):not(.disabled).active:focus,.btn-hero-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-danger.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #9b371240}.btn-hero-dark{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#343a40;border:none;box-shadow:0 .125rem .75rem #12141640;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-dark:hover{color:#fff;background-color:#4b545c;box-shadow:0 .375rem .75rem #12141666;transform:translateY(-1px)}.btn-hero-dark.focus,.btn-hero-dark:focus{color:#fff;background-color:#4b545c;box-shadow:0 .125rem .75rem #12141640}.btn-hero-dark.disabled,.btn-hero-dark:disabled{color:#fff;background-color:#343a40;box-shadow:0 .125rem .75rem #12141640;transform:translateY(0)}.btn-hero-dark:not(:disabled):not(.disabled).active,.btn-hero-dark:not(:disabled):not(.disabled):active,.show>.btn-hero-dark.dropdown-toggle{color:#fff;background-color:#121416;box-shadow:0 .125rem .75rem #12141640;transform:translateY(0)}.btn-hero-dark:not(:disabled):not(.disabled).active:focus,.btn-hero-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-dark.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #12141640}.btn-hero-light{color:#212529;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#f8f9fa;border:none;box-shadow:0 .125rem .75rem #cbd3da40;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-light:hover{color:#212529;background-color:#fff;box-shadow:0 .375rem .75rem #cbd3da66;transform:translateY(-1px)}.btn-hero-light.focus,.btn-hero-light:focus{color:#212529;background-color:#fff;box-shadow:0 .125rem .75rem #cbd3da40}.btn-hero-light.disabled,.btn-hero-light:disabled{color:#212529;background-color:#f8f9fa;box-shadow:0 .125rem .75rem #cbd3da40;transform:translateY(0)}.btn-hero-light:not(:disabled):not(.disabled).active,.btn-hero-light:not(:disabled):not(.disabled):active,.show>.btn-hero-light.dropdown-toggle{color:#212529;background-color:#cbd3da;box-shadow:0 .125rem .75rem #cbd3da40;transform:translateY(0)}.btn-hero-light:not(:disabled):not(.disabled).active:focus,.btn-hero-light:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-light.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #cbd3da40}.btn-hero-lg{padding:.875rem 2.25rem;font-size:.875rem;line-height:1.5;border-radius:.25rem}.btn-hero-sm{padding:.375rem 1.25rem;font-size:.875rem;line-height:1.5;border-radius:.25rem}.btn-dual{color:#16181a;background-color:#f8f9fc;border-color:#f8f9fc}.btn-dual.focus,.btn-dual:focus,.btn-dual:hover{color:#16181a;background-color:#cdd6e8;border-color:#cdd6e8;box-shadow:none}.btn-dual.disabled,.btn-dual:disabled{background-color:transparent;border-color:transparent}.btn-dual.active,.btn-dual:active{color:#16181a;background-color:#f8f9fc;border-color:#f8f9fc}.btn-dual:not(:disabled):not(.disabled).active,.btn-dual:not(:disabled):not(.disabled):active,.show>.btn-dual.dropdown-toggle{color:#16181a;background-color:#cdd6e8;border-color:#cdd6e8}html.dark .markdown-body{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #e6edf3;--color-fg-muted: #7d8590;--color-fg-subtle: #6e7681;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110,118,129,.4);--color-accent-fg: #2f81f7;--color-accent-emphasis: #1f6feb;--color-attention-fg: #d29922;--color-attention-subtle: rgba(187,128,9,.15);--color-danger-fg: #f85149;--color-done-fg: #a371f7}html:not(.dark) .markdown-body{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #6639ba;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #1F2328;--color-fg-muted: #656d76;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210,18%,87%,1);--color-neutral-muted: rgba(175,184,193,.2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-fg: #9a6700;--color-attention-subtle: #fff8c5;--color-danger-fg: #d1242f;--color-done-fg: #8250df}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:var(--color-fg-default);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,");mask-image:url("data:image/svg+xml,")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.markdown-body mark{background-color:var(--color-attention-subtle);color:var(--color-fg-default)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default);border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.25em}.markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:1em}.markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.875em}.markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em;color:var(--color-fg-muted)}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body .color-fg-accent{color:var(--color-accent-fg)!important}.markdown-body .color-fg-attention{color:var(--color-attention-fg)!important}.markdown-body .color-fg-done{color:var(--color-done-fg)!important}.markdown-body .flex-items-center{align-items:center!important}.markdown-body .mb-1{margin-bottom:var(--base-size-4, 4px)!important}.markdown-body .text-semibold{font-weight:var(--base-text-weight-medium, 500)!important}.markdown-body .d-inline-flex{display:inline-flex!important}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:var(--color-danger-fg)}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type="a s"]{list-style-type:lower-alpha}.markdown-body ol[type="A s"]{list-style-type:upper-alpha}.markdown-body ol[type="i s"]{list-style-type:lower-roman}.markdown-body ol[type="I s"]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-body table td>:last-child{margin-bottom:0}.markdown-body table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;color:var(--color-fg-default);background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:var(--base-text-weight-semibold, 600);background:var(--color-canvas-subtle);border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes ol ul{display:inline-block;padding-left:16px;margin-top:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.markdown-body .footnotes li:target{color:var(--color-fg-default)}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.markdown-body .pl-e,.markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:var(--color-prettylights-syntax-storage-modifier-import)}.markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:var(--color-prettylights-syntax-string)}.markdown-body .pl-v,.markdown-body .pl-smw{color:var(--color-prettylights-syntax-variable)}.markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.markdown-body .pl-ii{color:var(--color-prettylights-syntax-invalid-illegal-text);background-color:var(--color-prettylights-syntax-invalid-illegal-bg)}.markdown-body .pl-c2{color:var(--color-prettylights-syntax-carriage-return-text);background-color:var(--color-prettylights-syntax-carriage-return-bg)}.markdown-body .pl-sr .pl-cce{font-weight:700;color:var(--color-prettylights-syntax-string-regexp)}.markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:var(--color-prettylights-syntax-markup-heading)}.markdown-body .pl-mi{font-style:italic;color:var(--color-prettylights-syntax-markup-italic)}.markdown-body .pl-mb{font-weight:700;color:var(--color-prettylights-syntax-markup-bold)}.markdown-body .pl-md{color:var(--color-prettylights-syntax-markup-deleted-text);background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.markdown-body .pl-mi1{color:var(--color-prettylights-syntax-markup-inserted-text);background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.markdown-body .pl-mc{color:var(--color-prettylights-syntax-markup-changed-text);background-color:var(--color-prettylights-syntax-markup-changed-bg)}.markdown-body .pl-mi2{color:var(--color-prettylights-syntax-markup-ignored-text);background-color:var(--color-prettylights-syntax-markup-ignored-bg)}.markdown-body .pl-mdr{font-weight:700;color:var(--color-prettylights-syntax-meta-diff-range)}.markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.markdown-body .pl-corl{text-decoration:underline;color:var(--color-prettylights-syntax-constant-other-reference-link)}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:var(--base-text-weight-normal, 400);line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:var(--base-text-weight-normal, 400)}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:4px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list{position:relative}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body .QueryBuilder .qb-entity{color:var(--color-prettylights-syntax-entity)}.markdown-body .QueryBuilder .qb-constant{color:var(--color-prettylights-syntax-constant)}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body .markdown-alert{padding:0 1em;margin-bottom:16px;color:inherit;border-left:.25em solid var(--color-border-default)}.markdown-body .markdown-alert>:first-child{margin-top:0}.markdown-body .markdown-alert>:last-child{margin-bottom:0}.markdown-body .markdown-alert.markdown-alert-note{border-left-color:var(--color-accent-fg)}.markdown-body .markdown-alert.markdown-alert-important{border-left-color:var(--color-done-fg)}.markdown-body .markdown-alert.markdown-alert-warning{border-left-color:var(--color-attention-fg)}*,:before,:after{box-sizing:border-box;background-repeat:no-repeat}:before,:after{text-decoration:inherit;vertical-align:inherit}:where(:root){cursor:default;line-height:1.5;overflow-wrap:break-word;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}:where(body){margin:0}:where(h1){font-size:2em;margin:.67em 0}:where(dl,ol,ul) :where(dl,ol,ul){margin:0}:where(hr){color:inherit;height:0}:where(nav) :where(ol,ul){list-style-type:none;padding:0}:where(nav li):before{content:"​";float:left}:where(pre){font-family:monospace,monospace;font-size:1em;overflow:auto}:where(abbr[title]){text-decoration:underline;text-decoration:underline dotted}:where(b,strong){font-weight:bolder}:where(code,kbd,samp){font-family:monospace,monospace;font-size:1em}:where(small){font-size:80%}:where(audio,canvas,iframe,img,svg,video){vertical-align:baseline}:where(iframe){border-style:none}:where(svg:not([fill])){fill:currentColor}:where(table){border-collapse:collapse;border-color:inherit;text-indent:0}:where(button,input,select){margin:0}:where(button,[type=button i],[type=reset i],[type=submit i]){-webkit-appearance:button}:where(fieldset){border:1px solid #a0a0a0}:where(progress){vertical-align:baseline}:where(textarea){margin:0;resize:vertical}:where([type=search i]){-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:where(dialog){background-color:#fff;border:solid;color:#000;height:-moz-fit-content;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:-moz-fit-content;width:fit-content}:where(dialog:not([open])){display:none}:where(details>summary:first-of-type){display:list-item}:where([aria-busy=true i]){cursor:progress}:where([aria-controls]){cursor:pointer}:where([aria-disabled=true i],[disabled]){cursor:not-allowed}:where([aria-hidden=false i][hidden]){display:initial}:where([aria-hidden=false i][hidden]:not(:focus)){clip:rect(0,0,0,0);position:absolute}html{font-size:4px}html,body{width:100%;height:100%;overflow:hidden;background-color:#f2f2f2;font-family:Encode Sans Condensed,sans-serif}html.dark body{background-color:#292b2b}::-webkit-scrollbar{width:8px;background-color:#eee}::-webkit-scrollbar-thumb{background-color:#c1c1c1}::-webkit-scrollbar-thumb:hover{background-color:#a8a8a8}html,body{width:100%;height:100%;overflow:hidden;font-size:16px}#app{width:100%;height:100%}.fade-slide-leave-active,.fade-slide-enter-active{transition:all .3s}.fade-slide-enter-from{opacity:0;transform:translate(-30px)}.fade-slide-leave-to{opacity:0;transform:translate(30px)}.cus-scroll{overflow:auto}.cus-scroll::-webkit-scrollbar{width:8px;height:8px}.cus-scroll-x{overflow-x:auto}.cus-scroll-x::-webkit-scrollbar{width:0;height:8px}.cus-scroll-y{overflow-y:auto}.cus-scroll-y::-webkit-scrollbar{width:8px;height:0}.cus-scroll::-webkit-scrollbar-thumb,.cus-scroll-x::-webkit-scrollbar-thumb,.cus-scroll-y::-webkit-scrollbar-thumb{background-color:transparent;border-radius:4px}.cus-scroll:hover::-webkit-scrollbar-thumb,.cus-scroll-x:hover::-webkit-scrollbar-thumb,.cus-scroll-y:hover::-webkit-scrollbar-thumb{background:#bfbfbf}.cus-scroll:hover::-webkit-scrollbar-thumb:hover,.cus-scroll-x:hover::-webkit-scrollbar-thumb:hover,.cus-scroll-y:hover::-webkit-scrollbar-thumb:hover{background:var(--primary-color)}#--unocss--{layer:__ALL__}#app{height:100%}#app .n-config-provider{height:inherit}.side-menu:not(.n-menu--collapsed) .n-menu-item-content:before{left:5px;right:5px}.side-menu:not(.n-menu--collapsed) .n-menu-item-content.n-menu-item-content--selected:before,.side-menu:not(.n-menu--collapsed) .n-menu-item-content:hover:before{border-left:4px solid var(--primary-color)}.carousel-img[data-v-ecba5f1f]{width:100%;height:240px;object-fit:cover}.pay-qrcode{width:100%;height:100%}.pay-qrcode>canvas{width:100%!important;height:100%!important}.card-container[data-v-79fa0f66]{display:grid;justify-content:space-between;grid-template-columns:repeat(auto-fit,minmax(calc(100% - 1rem),1fr));row-gap:20px;min-width:100%}.card-item[data-v-79fa0f66]{max-width:100%}@media screen and (min-width: 768px){.card-container[data-v-79fa0f66]{grid-template-columns:repeat(auto-fit,minmax(calc(50% - 1rem),1fr));column-gap:20px;min-width:375px}}@media screen and (min-width: 1200px){.card-container[data-v-79fa0f66]{grid-template-columns:repeat(auto-fit,minmax(calc(33.33% - 1rem),1fr));padding:0 10px;column-gap:20px;min-width:375px}}#--unocss-layer-start--__ALL__--{start:__ALL__}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.wh-full,[wh-full=""]{width:100%;height:100%}.f-c-c,[f-c-c=""]{display:flex;align-items:center;justify-content:center}.flex-col,[flex-col=""]{display:flex;flex-direction:column}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.right-0{right:0}.right-15{right:15px}[bottom~="20"]{bottom:20px}.z-99999{z-index:99999}.grid{display:grid}.m-0{margin:0}.m-0\\!{margin:0!important}.m-1{margin:1px}.m-3{margin:3px}.m-auto,[m-auto=""]{margin:auto}.mx-10{margin-left:10px;margin-right:10px}.m-b-5,.mb-5{margin-bottom:5px}.m-l-10,.ml-10,[ml-10=""]{margin-left:10px}.m-l-20{margin-left:20px}.m-l-3{margin-left:3px}.m-t-10,.mt-10{margin-top:10px}.m-t-15,.mt-15,[mt-15=""]{margin-top:15px}.m-t-20,.mt-20,[mt-20=""]{margin-top:20px}.m-t-5,.mt-5{margin-top:5px}.mb-10{margin-bottom:10px}.mb-16{margin-bottom:16px}.mb-1em{margin-bottom:1em}.mb-20{margin-bottom:20px}.mb-3{margin-bottom:3px}.mb-4{margin-bottom:4px}.mb-8{margin-bottom:8px}.ml-auto,[ml-auto=""]{margin-left:auto}.mr-0{margin-right:0}.mr-20,.mr20,[mr-20=""],[mr20=""]{margin-right:20px}.mr-5{margin-right:5px}.mr-auto{margin-right:auto}.mr10,[mr10=""]{margin-right:10px}.mt-0{margin-top:0}.mt-30{margin-top:30px}.mt-4{margin-top:4px}.mt-8{margin-top:8px}.inline-block{display:inline-block}.hidden{display:none}.h-20{height:20px}.h-30{height:30px}.h-35,[h-35=""]{height:35px}.h-36{height:36px}.h-6{height:6px}.h-60,[h-60=""]{height:60px}.h-auto{height:auto}.h-full,[h-full=""]{height:100%}.h1{height:1px}.h2{height:2px}.h5{height:5px}.max-h-30{max-height:30px}.max-w-100\\%{max-width:100%}.max-w-1200{max-width:1200px}.max-w-140,[max-w-140=""]{max-width:140px}.max-w-450{max-width:450px}.max-w-500{max-width:500px}.min-w-0{min-width:0}.min-w-300{min-width:300px}.w-100\\%,.w-full{width:100%}.w-20{width:20px}.w-30{width:30px}.w-300{width:300px}.w-35,[w-35=""]{width:35px}.w-375{width:375px}.w-6{width:6px}.w-600{width:600px}.w-64{width:64px}.flex,[flex=""]{display:flex}.flex-\\[1\\]{flex:1}.flex-\\[2\\]{flex:2}.flex-1,[flex-1=""]{flex:1 1 0%}.flex-shrink-0,[flex-shrink-0=""]{flex-shrink:0}.flex-wrap{flex-wrap:wrap}[transform-origin~=center]{transform-origin:center}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.resize{resize:both}.items-center,[items-center=""]{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.overflow-hidden,[overflow-hidden=""]{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.break-anywhere{overflow-wrap:anywhere}.b{border-width:1px}.border-0,.dark [dark~=border-0]{border-width:0px}.border-2{border-width:2px}.border-\\[\\#646669\\],.border-\\#646669{--un-border-opacity:1;border-color:rgb(100 102 105 / var(--un-border-opacity))}.border-\\#0665d0{--un-border-opacity:1;border-color:rgb(6 101 208 / var(--un-border-opacity))}.border-transparent{border-color:transparent}.border-rounded-5,.rounded-5,[border-rounded-5=""]{border-radius:5px}.rounded-full,[rounded-full=""]{border-radius:9999px}.border-none{border-style:none}.border-solid{border-style:solid}.border-b-solid{border-bottom-style:solid}.bg-\\[--n-color-embedded\\]{background-color:var(--n-color-embedded)}.bg-\\[--n-color\\]{background-color:var(--n-color)}.bg-\\[\\#f5f6fb\\],.bg-hex-f5f6fb,[bg-hex-f5f6fb=""]{--un-bg-opacity:1;background-color:rgb(245 246 251 / var(--un-bg-opacity))}.bg-\\#2f3135{--un-bg-opacity:1;background-color:rgb(47 49 53 / var(--un-bg-opacity))}.bg-\\#e04f1a{--un-bg-opacity:1;background-color:rgb(224 79 26 / var(--un-bg-opacity))}.bg-\\#f8f9fa{--un-bg-opacity:1;background-color:rgb(248 249 250 / var(--un-bg-opacity))}.bg-blue-500{--un-bg-opacity:1;background-color:rgb(59 130 246 / var(--un-bg-opacity))}.bg-dark,.dark [dark~=bg-dark]{--un-bg-opacity:1;background-color:rgb(24 24 28 / var(--un-bg-opacity))}.bg-green-500{--un-bg-opacity:1;background-color:rgb(34 197 94 / var(--un-bg-opacity))}.bg-red-500{--un-bg-opacity:1;background-color:rgb(239 68 68 / var(--un-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.dark .dark\\:bg-hex-101014,.dark [dark\\:bg-hex-101014=""]{--un-bg-opacity:1;background-color:rgb(16 16 20 / var(--un-bg-opacity))}.dark .dark\\:bg-hex-101014\\>{background-color:#101014>}.dark .dark\\:bg-hex-121212{--un-bg-opacity:1;background-color:rgb(18 18 18 / var(--un-bg-opacity))}.hover\\:bg-\\#f6f6f6:hover{--un-bg-opacity:1;background-color:rgb(246 246 246 / var(--un-bg-opacity))}.p-0{padding:0}.p-0\\!{padding:0!important}.p-10{padding:10px}.p-19{padding:19px}.p-2{padding:2px}.p-20{padding:20px}.p-24{padding:24px}.p-5{padding:5px}.p-x-24{padding-left:24px;padding-right:24px}.p-y-16{padding-top:16px;padding-bottom:16px}.px{padding-left:4px;padding-right:4px}.px-15{padding-left:15px;padding-right:15px}.p-b-5{padding-bottom:5px}.p-l-5{padding-left:5px}.p-t-20,.pt-20{padding-top:20px}.p-t-5{padding-top:5px}.pb-10{padding-bottom:10px}.pb-16{padding-bottom:16px}.pb-8{padding-bottom:8px}.pl-16{padding-left:16px}.pl-20{padding-left:20px}.pr-16{padding-right:16px}.pr-20{padding-right:20px}.pt-10{padding-top:10px}.pt-16{padding-top:16px}.pt-8{padding-top:8px}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.indent{text-indent:6px}[indent~="0"]{text-indent:0}.root-indent:root{text-indent:6px}[root-indent~="18"]:root{text-indent:18px}.vertical-bottom{vertical-align:bottom}.text-12{font-size:12px}.text-14,[text-14=""]{font-size:14px}.text-16,[text-16=""]{font-size:16px}.text-18{font-size:18px}.text-20{font-size:20px}.text-22{font-size:22px}.text-30{font-size:30px}.text-36{font-size:36px}.text-40{font-size:40px}.text-50{font-size:50px}.text-90{font-size:90px}.font-400,.font-normal{font-weight:400}.font-600{font-weight:600}.font-bold,[font-bold=""]{font-weight:700}.color-\\[hsla\\(0\\,0\\%\\,100\\%\\,\\.75\\)\\]{--un-text-opacity:.75;color:hsla(0,0%,100%,var(--un-text-opacity))}.color-\\#48bc19{--un-text-opacity:1;color:rgb(72 188 25 / var(--un-text-opacity))}.color-\\#f8f9fa{--un-text-opacity:1;color:rgb(248 249 250 / var(--un-text-opacity))}.color-\\#f8f9fa41{--un-text-opacity:.25;color:rgb(248 249 250 / var(--un-text-opacity))}.color-\\#f9a314{--un-text-opacity:1;color:rgb(249 163 20 / var(--un-text-opacity))}.color-gray,.text-gray{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity))}.color-gray-500{--un-text-opacity:1;color:rgb(107 114 128 / var(--un-text-opacity))}.color-primary,.text-\\[--primary-color\\],[color-primary=""]{color:var(--primary-color)}.color-white,.text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}[color~="#343a40"]{--un-text-opacity:1;color:rgb(52 58 64 / var(--un-text-opacity))}[color~="#6a6a6a"]{--un-text-opacity:1;color:rgb(106 106 106 / var(--un-text-opacity))}.text-\\#6c757d,[color~="#6c757d"]{--un-text-opacity:1;color:rgb(108 117 125 / var(--un-text-opacity))}[color~="#db4619"]{--un-text-opacity:1;color:rgb(219 70 25 / var(--un-text-opacity))}[hover~=color-primary]:hover{color:var(--primary-color)}.text-\\[rgba\\(0\\,0\\,0\\,0\\.45\\)\\]{--un-text-opacity:.45;color:rgba(0,0,0,var(--un-text-opacity))}.text-\\#49505799{--un-text-opacity:.6;color:rgb(73 80 87 / var(--un-text-opacity))}.text-\\#595959{--un-text-opacity:1;color:rgb(89 89 89 / var(--un-text-opacity))}.text-\\#666{--un-text-opacity:1;color:rgb(102 102 102 / var(--un-text-opacity))}.text-red-500{--un-text-opacity:1;color:rgb(239 68 68 / var(--un-text-opacity))}.decoration-underline,[hover~=decoration-underline]:hover{text-decoration-line:underline}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.opacity-30{opacity:.3}.opacity-85{opacity:.85}.hover\\:opacity-75:hover{opacity:.75}.shadow-black{--un-shadow-opacity:1;--un-shadow-color:rgb(0 0 0 / var(--un-shadow-opacity))}.outline-none{outline:2px solid transparent;outline-offset:2px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[duration~="500"]{transition-duration:.5s}[content~="$t("]{content:var(--t\\()}[placeholder~="$t("]::placeholder{color:var(--t\\()}@media (min-width: 640px){.sm\\:max-w-full{max-width:100%}}@media (min-width: 768px){.md\\:mx-auto{margin-left:auto;margin-right:auto}.md\\:m-l20{margin-left:20px}.md\\:m-t-20,.md\\:mt-20{margin-top:20px}.md\\:m-t-40{margin-top:40px}.md\\:mb-40{margin-bottom:40px}.md\\:mr10{margin-right:10px}.md\\:mt-0{margin-top:0}.md\\:block{display:block}.md\\:hidden{display:none}.md\\:h-30{height:30px}.md\\:max-w-1\\/3{max-width:33.3333333333%}.md\\:max-w-2\\/3{max-width:66.6666666667%}.md\\:w-30{width:30px}.md\\:flex-\\[1\\]{flex:1}.md\\:flex-\\[2\\]{flex:2}.md\\:p-15{padding:15px}.md\\:pl-20{padding-left:20px}}#--unocss-layer-end--__ALL__--{end:__ALL__}`)),document.head.appendChild(o)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})(); +var Wk=Object.defineProperty;var Uk=(e,t,n)=>t in e?Wk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var qk=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var rd=(e,t,n)=>(Uk(e,typeof t!="symbol"?t+"":t,n),n);var mBe=qk((Gn,Yn)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();/** +* @vue/shared v3.4.23 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Ih(e,t){const n=new Set(e.split(","));return t?o=>n.has(o.toLowerCase()):o=>n.has(o)}const Qt={},sa=[],Kn=()=>{},Kk=()=>!1,Nc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Oh=e=>e.startsWith("onUpdate:"),vn=Object.assign,Mh=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Gk=Object.prototype.hasOwnProperty,Mt=(e,t)=>Gk.call(e,t),ct=Array.isArray,la=e=>Hc(e)==="[object Map]",j1=e=>Hc(e)==="[object Set]",vt=e=>typeof e=="function",ln=e=>typeof e=="string",$i=e=>typeof e=="symbol",Xt=e=>e!==null&&typeof e=="object",V1=e=>(Xt(e)||vt(e))&&vt(e.then)&&vt(e.catch),W1=Object.prototype.toString,Hc=e=>W1.call(e),Yk=e=>Hc(e).slice(8,-1),U1=e=>Hc(e)==="[object Object]",zh=e=>ln(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,us=Ih(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),jc=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Xk=/-(\w)/g,No=jc(e=>e.replace(Xk,(t,n)=>n?n.toUpperCase():"")),Zk=/\B([A-Z])/g,Ai=jc(e=>e.replace(Zk,"-$1").toLowerCase()),Vc=jc(e=>e.charAt(0).toUpperCase()+e.slice(1)),id=jc(e=>e?`on${Vc(e)}`:""),Lr=(e,t)=>!Object.is(e,t),Zl=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},mf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Jk=e=>{const t=ln(e)?Number(e):NaN;return isNaN(t)?e:t};let Fm;const K1=()=>Fm||(Fm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Fr(e){if(ct(e)){const t={};for(let n=0;n{if(n){const o=n.split(e3);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function ir(e){let t="";if(ln(e))t=e;else if(ct(e))for(let n=0;nln(e)?e:e==null?"":ct(e)||Xt(e)&&(e.toString===W1||!vt(e.toString))?JSON.stringify(e,Y1,2):String(e),Y1=(e,t)=>t&&t.__v_isRef?Y1(e,t.value):la(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],i)=>(n[ad(o,i)+" =>"]=r,n),{})}:j1(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ad(n))}:$i(t)?ad(t):Xt(t)&&!ct(t)&&!U1(t)?String(t):t,ad=(e,t="")=>{var n;return $i(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.23 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Un;class X1{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Un,!t&&Un&&(this.index=(Un.scopes||(Un.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Un;try{return Un=this,t()}finally{Un=n}}}on(){Un=this}off(){Un=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Ur()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=zr,n=vi;try{return zr=!0,vi=this,this._runnings++,Bm(this),this.fn()}finally{Nm(this),this._runnings--,vi=n,zr=t}}stop(){var t;this.active&&(Bm(this),Nm(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function a3(e){return e.value}function Bm(e){e._trackId++,e._depsLength=0}function Nm(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},dc=new WeakMap,bi=Symbol(""),bf=Symbol("");function jn(e,t,n){if(zr&&vi){let o=dc.get(e);o||dc.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=ny(()=>o.delete(n))),ey(vi,r)}}function or(e,t,n,o,r,i){const a=dc.get(e);if(!a)return;let s=[];if(t==="clear")s=[...a.values()];else if(n==="length"&&ct(e)){const l=Number(o);a.forEach((c,u)=>{(u==="length"||!$i(u)&&u>=l)&&s.push(c)})}else switch(n!==void 0&&s.push(a.get(n)),t){case"add":ct(e)?zh(n)&&s.push(a.get("length")):(s.push(a.get(bi)),la(e)&&s.push(a.get(bf)));break;case"delete":ct(e)||(s.push(a.get(bi)),la(e)&&s.push(a.get(bf)));break;case"set":la(e)&&s.push(a.get(bi));break}Bh();for(const l of s)l&&ty(l,4);Nh()}function s3(e,t){var n;return(n=dc.get(e))==null?void 0:n.get(t)}const l3=Ih("__proto__,__v_isRef,__isVue"),oy=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($i)),Hm=c3();function c3(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=$t(this);for(let i=0,a=this.length;i{e[t]=function(...n){Wr(),Bh();const o=$t(this)[t].apply(this,n);return Nh(),Ur(),o}}),e}function u3(e){$i(e)||(e=String(e));const t=$t(this);return jn(t,"has",e),t.hasOwnProperty(e)}class ry{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return o===(r?i?_3:ly:i?sy:ay).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const a=ct(t);if(!r){if(a&&Mt(Hm,n))return Reflect.get(Hm,n,o);if(n==="hasOwnProperty")return u3}const s=Reflect.get(t,n,o);return($i(n)?oy.has(n):l3(n))||(r||jn(t,"get",n),i)?s:cn(s)?a&&zh(n)?s:s.value:Xt(s)?r?io(s):Zn(s):s}}class iy extends ry{constructor(t=!1){super(!1,t)}set(t,n,o,r){let i=t[n];if(!this._isShallow){const l=Es(i);if(!fc(o)&&!Es(o)&&(i=$t(i),o=$t(o)),!ct(t)&&cn(i)&&!cn(o))return l?!1:(i.value=o,!0)}const a=ct(t)&&zh(n)?Number(n)e,Wc=e=>Reflect.getPrototypeOf(e);function bl(e,t,n=!1,o=!1){e=e.__v_raw;const r=$t(e),i=$t(t);n||(Lr(t,i)&&jn(r,"get",t),jn(r,"get",i));const{has:a}=Wc(r),s=o?Hh:n?Wh:As;if(a.call(r,t))return s(e.get(t));if(a.call(r,i))return s(e.get(i));e!==r&&e.get(t)}function yl(e,t=!1){const n=this.__v_raw,o=$t(n),r=$t(e);return t||(Lr(e,r)&&jn(o,"has",e),jn(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function xl(e,t=!1){return e=e.__v_raw,!t&&jn($t(e),"iterate",bi),Reflect.get(e,"size",e)}function jm(e){e=$t(e);const t=$t(this);return Wc(t).has.call(t,e)||(t.add(e),or(t,"add",e,e)),this}function Vm(e,t){t=$t(t);const n=$t(this),{has:o,get:r}=Wc(n);let i=o.call(n,e);i||(e=$t(e),i=o.call(n,e));const a=r.call(n,e);return n.set(e,t),i?Lr(t,a)&&or(n,"set",e,t):or(n,"add",e,t),this}function Wm(e){const t=$t(this),{has:n,get:o}=Wc(t);let r=n.call(t,e);r||(e=$t(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&or(t,"delete",e,void 0),i}function Um(){const e=$t(this),t=e.size!==0,n=e.clear();return t&&or(e,"clear",void 0,void 0),n}function Cl(e,t){return function(o,r){const i=this,a=i.__v_raw,s=$t(a),l=t?Hh:e?Wh:As;return!e&&jn(s,"iterate",bi),a.forEach((c,u)=>o.call(r,l(c),l(u),i))}}function wl(e,t,n){return function(...o){const r=this.__v_raw,i=$t(r),a=la(i),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=r[e](...o),u=n?Hh:t?Wh:As;return!t&&jn(i,"iterate",l?bf:bi),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:s?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function yr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function m3(){const e={get(i){return bl(this,i)},get size(){return xl(this)},has:yl,add:jm,set:Vm,delete:Wm,clear:Um,forEach:Cl(!1,!1)},t={get(i){return bl(this,i,!1,!0)},get size(){return xl(this)},has:yl,add:jm,set:Vm,delete:Wm,clear:Um,forEach:Cl(!1,!0)},n={get(i){return bl(this,i,!0)},get size(){return xl(this,!0)},has(i){return yl.call(this,i,!0)},add:yr("add"),set:yr("set"),delete:yr("delete"),clear:yr("clear"),forEach:Cl(!0,!1)},o={get(i){return bl(this,i,!0,!0)},get size(){return xl(this,!0)},has(i){return yl.call(this,i,!0)},add:yr("add"),set:yr("set"),delete:yr("delete"),clear:yr("clear"),forEach:Cl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=wl(i,!1,!1),n[i]=wl(i,!0,!1),t[i]=wl(i,!1,!0),o[i]=wl(i,!0,!0)}),[e,n,t,o]}const[g3,v3,b3,y3]=m3();function jh(e,t){const n=t?e?y3:b3:e?v3:g3;return(o,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(Mt(n,r)&&r in o?n:o,r,i)}const x3={get:jh(!1,!1)},C3={get:jh(!1,!0)},w3={get:jh(!0,!1)},ay=new WeakMap,sy=new WeakMap,ly=new WeakMap,_3=new WeakMap;function S3(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function k3(e){return e.__v_skip||!Object.isExtensible(e)?0:S3(Yk(e))}function Zn(e){return Es(e)?e:Vh(e,!1,f3,x3,ay)}function cy(e){return Vh(e,!1,p3,C3,sy)}function io(e){return Vh(e,!0,h3,w3,ly)}function Vh(e,t,n,o,r){if(!Xt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=k3(e);if(a===0)return e;const s=new Proxy(e,a===2?o:n);return r.set(e,s),s}function yi(e){return Es(e)?yi(e.__v_raw):!!(e&&e.__v_isReactive)}function Es(e){return!!(e&&e.__v_isReadonly)}function fc(e){return!!(e&&e.__v_isShallow)}function uy(e){return e?!!e.__v_raw:!1}function $t(e){const t=e&&e.__v_raw;return t?$t(t):e}function $s(e){return Object.isExtensible(e)&&q1(e,"__v_skip",!0),e}const As=e=>Xt(e)?Zn(e):e,Wh=e=>Xt(e)?io(e):e;class dy{constructor(t,n,o,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Fh(()=>t(this._value),()=>ds(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=$t(this);return(!t._cacheable||t.effect.dirty)&&Lr(t._value,t._value=t.effect.run())&&ds(t,4),Uh(t),t.effect._dirtyLevel>=2&&ds(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function P3(e,t,n=!1){let o,r;const i=vt(e);return i?(o=e,r=Kn):(o=e.get,r=e.set),new dy(o,r,i||!r,n)}function Uh(e){var t;zr&&vi&&(e=$t(e),ey(vi,(t=e.dep)!=null?t:e.dep=ny(()=>e.dep=void 0,e instanceof dy?e:void 0)))}function ds(e,t=4,n){e=$t(e);const o=e.dep;o&&ty(o,t)}function cn(e){return!!(e&&e.__v_isRef===!0)}function W(e){return fy(e,!1)}function Ra(e){return fy(e,!0)}function fy(e,t){return cn(e)?e:new T3(e,t)}class T3{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:$t(t),this._value=n?t:As(t)}get value(){return Uh(this),this._value}set value(t){const n=this.__v_isShallow||fc(t)||Es(t);t=n?t:$t(t),Lr(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:As(t),ds(this,4))}}function we(e){return cn(e)?e.value:e}const R3={get:(e,t,n)=>we(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return cn(r)&&!cn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function hy(e){return yi(e)?e:new Proxy(e,R3)}class E3{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:o}=t(()=>Uh(this),()=>ds(this));this._get=n,this._set=o}get value(){return this._get()}set value(t){this._set(t)}}function $3(e){return new E3(e)}function A3(e){const t=ct(e)?new Array(e.length):{};for(const n in e)t[n]=py(e,n);return t}class I3{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return s3($t(this._object),this._key)}}class O3{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ve(e,t,n){return cn(e)?e:vt(e)?new O3(e):Xt(e)&&arguments.length>1?py(e,t,n):W(e)}function py(e,t,n){const o=e[t];return cn(o)?o:new I3(e,t,n)}/** +* @vue/runtime-core v3.4.23 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Dr(e,t,n,o){try{return o?e(...o):e()}catch(r){Uc(r,t,n)}}function oo(e,t,n,o){if(vt(e)){const r=Dr(e,t,n,o);return r&&V1(r)&&r.catch(i=>{Uc(i,t,n)}),r}if(ct(e)){const r=[];for(let i=0;i>>1,r=En[o],i=Os(r);iMo&&En.splice(t,1)}function L3(e){ct(e)?ca.push(...e):(!Rr||!Rr.includes(e,e.allowRecurse?ui+1:ui))&&ca.push(e),gy()}function qm(e,t,n=Is?Mo+1:0){for(;nOs(n)-Os(o));if(ca.length=0,Rr){Rr.push(...t);return}for(Rr=t,ui=0;uie.id==null?1/0:e.id,F3=(e,t)=>{const n=Os(e)-Os(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function by(e){yf=!1,Is=!0,En.sort(F3);const t=Kn;try{for(Mo=0;Moln(p)?p.trim():p)),d&&(r=n.map(mf))}let s,l=o[s=id(t)]||o[s=id(No(t))];!l&&i&&(l=o[s=id(Ai(t))]),l&&oo(l,e,6,r);const c=o[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,oo(c,e,6,r)}}function yy(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const i=e.emits;let a={},s=!1;if(!vt(e)){const l=c=>{const u=yy(c,t,!0);u&&(s=!0,vn(a,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!s?(Xt(e)&&o.set(e,null),null):(ct(i)?i.forEach(l=>a[l]=null):vn(a,i),Xt(e)&&o.set(e,a),a)}function qc(e,t){return!e||!Nc(t)?!1:(t=t.slice(2).replace(/Once$/,""),Mt(e,t[0].toLowerCase()+t.slice(1))||Mt(e,Ai(t))||Mt(e,t))}let mn=null,Kc=null;function hc(e){const t=mn;return mn=e,Kc=e&&e.type.__scopeId||null,t}function N3(e){Kc=e}function H3(){Kc=null}function ce(e,t=mn,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&ag(-1);const i=hc(t);let a;try{a=e(...r)}finally{hc(i),o._d&&ag(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function sd(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[a],slots:s,attrs:l,emit:c,render:u,renderCache:d,data:f,setupState:p,ctx:h,inheritAttrs:m}=e;let v,b;const w=hc(e);try{if(n.shapeFlag&4){const S=r||o,_=S;v=Oo(u.call(_,S,d,i,p,f,h)),b=l}else{const S=t;v=Oo(S.length>1?S(i,{attrs:l,slots:s,emit:c}):S(i,null)),b=t.props?l:j3(l)}}catch(S){ms.length=0,Uc(S,e,1),v=ie($n)}let C=v;if(b&&m!==!1){const S=Object.keys(b),{shapeFlag:_}=C;S.length&&_&7&&(a&&S.some(Oh)&&(b=V3(b,a)),C=ao(C,b))}return n.dirs&&(C=ao(C),C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition&&(C.transition=n.transition),v=C,hc(w),v}const j3=e=>{let t;for(const n in e)(n==="class"||n==="style"||Nc(n))&&((t||(t={}))[n]=e[n]);return t},V3=(e,t)=>{const n={};for(const o in e)(!Oh(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function W3(e,t,n){const{props:o,children:r,component:i}=e,{props:a,children:s,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?Km(o,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function K3(e,t){t&&t.pendingBranch?ct(e)?t.effects.push(...e):t.effects.push(e):L3(e)}const G3=Symbol.for("v-scx"),Y3=()=>We(G3);function Yt(e,t){return Yh(e,null,t)}const _l={};function ft(e,t,n){return Yh(e,t,n)}function Yh(e,t,{immediate:n,deep:o,flush:r,once:i,onTrack:a,onTrigger:s}=Qt){if(t&&i){const x=t;t=(...y)=>{x(...y),_()}}const l=wn,c=x=>o===!0?x:fi(x,o===!1?1:void 0);let u,d=!1,f=!1;if(cn(e)?(u=()=>e.value,d=fc(e)):yi(e)?(u=()=>c(e),d=!0):ct(e)?(f=!0,d=e.some(x=>yi(x)||fc(x)),u=()=>e.map(x=>{if(cn(x))return x.value;if(yi(x))return c(x);if(vt(x))return Dr(x,l,2)})):vt(e)?t?u=()=>Dr(e,l,2):u=()=>(p&&p(),oo(e,l,3,[h])):u=Kn,t&&o){const x=u;u=()=>fi(x())}let p,h=x=>{p=C.onStop=()=>{Dr(x,l,4),p=C.onStop=void 0}},m;if(tu)if(h=Kn,t?n&&oo(t,l,3,[u(),f?[]:void 0,h]):u(),r==="sync"){const x=Y3();m=x.__watcherHandles||(x.__watcherHandles=[])}else return Kn;let v=f?new Array(e.length).fill(_l):_l;const b=()=>{if(!(!C.active||!C.dirty))if(t){const x=C.run();(o||d||(f?x.some((y,k)=>Lr(y,v[k])):Lr(x,v)))&&(p&&p(),oo(t,l,3,[x,v===_l?void 0:f&&v[0]===_l?[]:v,h]),v=x)}else C.run()};b.allowRecurse=!!t;let w;r==="sync"?w=b:r==="post"?w=()=>Nn(b,l&&l.suspense):(b.pre=!0,l&&(b.id=l.uid),w=()=>Kh(b));const C=new Fh(u,Kn,w),S=Lh(),_=()=>{C.stop(),S&&Mh(S.effects,C)};return t?n?b():v=C.run():r==="post"?Nn(C.run.bind(C),l&&l.suspense):C.run(),m&&m.push(_),_}function X3(e,t,n){const o=this.proxy,r=ln(e)?e.includes(".")?wy(o,e):()=>o[e]:e.bind(o,o);let i;vt(t)?i=t:(i=t.handler,n=t);const a=Qs(this),s=Yh(r,i.bind(o),n);return a(),s}function wy(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r0){if(n>=t)return e;n++}if(o=o||new Set,o.has(e))return e;if(o.add(e),cn(e))fi(e.value,t,n,o);else if(ct(e))for(let r=0;r{fi(r,t,n,o)});else if(U1(e))for(const r in e)fi(e[r],t,n,o);return e}function dn(e,t){if(mn===null)return e;const n=nu(mn)||mn.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),rn(()=>{e.isUnmounting=!0}),e}const eo=[Function,Array],Sy={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:eo,onEnter:eo,onAfterEnter:eo,onEnterCancelled:eo,onBeforeLeave:eo,onLeave:eo,onAfterLeave:eo,onLeaveCancelled:eo,onBeforeAppear:eo,onAppear:eo,onAfterAppear:eo,onAppearCancelled:eo},Z3={name:"BaseTransition",props:Sy,setup(e,{slots:t}){const n=Jn(),o=_y();return()=>{const r=t.default&&Xh(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const f of r)if(f.type!==$n){i=f;break}}const a=$t(e),{mode:s}=a;if(o.isLeaving)return ld(i);const l=Ym(i);if(!l)return ld(i);const c=Ms(l,a,o,n);zs(l,c);const u=n.subTree,d=u&&Ym(u);if(d&&d.type!==$n&&!di(l,d)){const f=Ms(d,a,o,n);if(zs(d,f),s==="out-in")return o.isLeaving=!0,f.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},ld(i);s==="in-out"&&l.type!==$n&&(f.delayLeave=(p,h,m)=>{const v=ky(o,d);v[String(d.key)]=d,p[Er]=()=>{h(),p[Er]=void 0,delete c.delayedLeave},c.delayedLeave=m})}return i}}},J3=Z3;function ky(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Ms(e,t,n,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:m,onAppear:v,onAfterAppear:b,onAppearCancelled:w}=t,C=String(e.key),S=ky(n,e),_=(k,P)=>{k&&oo(k,o,9,P)},x=(k,P)=>{const T=P[1];_(k,P),ct(k)?k.every($=>$.length<=1)&&T():k.length<=1&&T()},y={mode:i,persisted:a,beforeEnter(k){let P=s;if(!n.isMounted)if(r)P=m||s;else return;k[Er]&&k[Er](!0);const T=S[C];T&&di(e,T)&&T.el[Er]&&T.el[Er](),_(P,[k])},enter(k){let P=l,T=c,$=u;if(!n.isMounted)if(r)P=v||l,T=b||c,$=w||u;else return;let R=!1;const K=k[Sl]=H=>{R||(R=!0,H?_($,[k]):_(T,[k]),y.delayedLeave&&y.delayedLeave(),k[Sl]=void 0)};P?x(P,[k,K]):K()},leave(k,P){const T=String(e.key);if(k[Sl]&&k[Sl](!0),n.isUnmounting)return P();_(d,[k]);let $=!1;const R=k[Er]=K=>{$||($=!0,P(),K?_(h,[k]):_(p,[k]),k[Er]=void 0,S[T]===e&&delete S[T])};S[T]=e,f?x(f,[k,R]):R()},clone(k){return Ms(k,t,n,o)}};return y}function ld(e){if(Xc(e))return e=ao(e),e.children=null,e}function Ym(e){return Xc(e)?e.children?e.children[0]:void 0:e}function zs(e,t){e.shapeFlag&6&&e.component?zs(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Xh(e,t=!1,n){let o=[],r=0;for(let i=0;i1)for(let i=0;ivn({name:e.name},t,{setup:e}))():e}const fs=e=>!!e.type.__asyncLoader,Xc=e=>e.type.__isKeepAlive;function Zh(e,t){Py(e,"a",t)}function Zc(e,t){Py(e,"da",t)}function Py(e,t,n=wn){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Jc(t,o,n),n){let r=n.parent;for(;r&&r.parent;)Xc(r.parent.vnode)&&Q3(o,t,n,r),r=r.parent}}function Q3(e,t,n,o){const r=Jc(t,e,o,!0);Ea(()=>{Mh(o[t],r)},n)}function Jc(e,t,n=wn,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;Wr();const s=Qs(n),l=oo(t,n,e,a);return s(),Ur(),l});return o?r.unshift(i):r.push(i),i}}const cr=e=>(t,n=wn)=>(!tu||e==="sp")&&Jc(e,(...o)=>t(...o),n),hn=cr("bm"),jt=cr("m"),Ty=cr("bu"),Jh=cr("u"),rn=cr("bum"),Ea=cr("um"),e4=cr("sp"),t4=cr("rtg"),n4=cr("rtc");function o4(e,t=wn){Jc("ec",e,t)}function Hn(e,t,n,o){let r;const i=n&&n[o];if(ct(e)||ln(e)){r=new Array(e.length);for(let a=0,s=e.length;at(a,s,void 0,i&&i[s]));else{const a=Object.keys(e);r=new Array(a.length);for(let s=0,l=a.length;sLs(t)?!(t.type===$n||t.type===rt&&!Ry(t.children)):!0)?e:null}const xf=e=>e?jy(e)?nu(e)||e.proxy:xf(e.parent):null,hs=vn(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>xf(e.parent),$root:e=>xf(e.root),$emit:e=>e.emit,$options:e=>Qh(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Kh(e.update)}),$nextTick:e=>e.n||(e.n=Ht.bind(e.proxy)),$watch:e=>X3.bind(e)}),cd=(e,t)=>e!==Qt&&!e.__isScriptSetup&&Mt(e,t),r4={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:r,props:i,accessCache:a,type:s,appContext:l}=e;let c;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(cd(o,t))return a[t]=1,o[t];if(r!==Qt&&Mt(r,t))return a[t]=2,r[t];if((c=e.propsOptions[0])&&Mt(c,t))return a[t]=3,i[t];if(n!==Qt&&Mt(n,t))return a[t]=4,n[t];Cf&&(a[t]=0)}}const u=hs[t];let d,f;if(u)return t==="$attrs"&&jn(e.attrs,"get",""),u(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==Qt&&Mt(n,t))return a[t]=4,n[t];if(f=l.config.globalProperties,Mt(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return cd(r,t)?(r[t]=n,!0):o!==Qt&&Mt(o,t)?(o[t]=n,!0):Mt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:i}},a){let s;return!!n[a]||e!==Qt&&Mt(e,a)||cd(t,a)||(s=i[0])&&Mt(s,a)||Mt(o,a)||Mt(hs,a)||Mt(r.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Mt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Xm(e){return ct(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Cf=!0;function i4(e){const t=Qh(e),n=e.proxy,o=e.ctx;Cf=!1,t.beforeCreate&&Zm(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:a,watch:s,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:p,updated:h,activated:m,deactivated:v,beforeDestroy:b,beforeUnmount:w,destroyed:C,unmounted:S,render:_,renderTracked:x,renderTriggered:y,errorCaptured:k,serverPrefetch:P,expose:T,inheritAttrs:$,components:R,directives:K,filters:H}=t;if(c&&a4(c,o,null),a)for(const Y in a){const Q=a[Y];vt(Q)&&(o[Y]=Q.bind(n))}if(r){const Y=r.call(n,n);Xt(Y)&&(e.data=Zn(Y))}if(Cf=!0,i)for(const Y in i){const Q=i[Y],de=vt(Q)?Q.bind(n,n):vt(Q.get)?Q.get.bind(n,n):Kn,he=!vt(Q)&&vt(Q.set)?Q.set.bind(n):Kn,B=L({get:de,set:he});Object.defineProperty(o,Y,{enumerable:!0,configurable:!0,get:()=>B.value,set:E=>B.value=E})}if(s)for(const Y in s)Ey(s[Y],o,n,Y);if(l){const Y=vt(l)?l.call(n):l;Reflect.ownKeys(Y).forEach(Q=>{at(Q,Y[Q])})}u&&Zm(u,e,"c");function M(Y,Q){ct(Q)?Q.forEach(de=>Y(de.bind(n))):Q&&Y(Q.bind(n))}if(M(hn,d),M(jt,f),M(Ty,p),M(Jh,h),M(Zh,m),M(Zc,v),M(o4,k),M(n4,x),M(t4,y),M(rn,w),M(Ea,S),M(e4,P),ct(T))if(T.length){const Y=e.exposed||(e.exposed={});T.forEach(Q=>{Object.defineProperty(Y,Q,{get:()=>n[Q],set:de=>n[Q]=de})})}else e.exposed||(e.exposed={});_&&e.render===Kn&&(e.render=_),$!=null&&(e.inheritAttrs=$),R&&(e.components=R),K&&(e.directives=K)}function a4(e,t,n=Kn){ct(e)&&(e=wf(e));for(const o in e){const r=e[o];let i;Xt(r)?"default"in r?i=We(r.from||o,r.default,!0):i=We(r.from||o):i=We(r),cn(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[o]=i}}function Zm(e,t,n){oo(ct(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ey(e,t,n,o){const r=o.includes(".")?wy(n,o):()=>n[o];if(ln(e)){const i=t[e];vt(i)&&ft(r,i)}else if(vt(e))ft(r,e.bind(n));else if(Xt(e))if(ct(e))e.forEach(i=>Ey(i,t,n,o));else{const i=vt(e.handler)?e.handler.bind(n):t[e.handler];vt(i)&&ft(r,i,e)}}function Qh(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let l;return s?l=s:!r.length&&!n&&!o?l=t:(l={},r.length&&r.forEach(c=>pc(l,c,a,!0)),pc(l,t,a)),Xt(t)&&i.set(t,l),l}function pc(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&pc(e,i,n,!0),r&&r.forEach(a=>pc(e,a,n,!0));for(const a in t)if(!(o&&a==="expose")){const s=s4[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const s4={data:Jm,props:Qm,emits:Qm,methods:as,computed:as,beforeCreate:In,created:In,beforeMount:In,mounted:In,beforeUpdate:In,updated:In,beforeDestroy:In,beforeUnmount:In,destroyed:In,unmounted:In,activated:In,deactivated:In,errorCaptured:In,serverPrefetch:In,components:as,directives:as,watch:c4,provide:Jm,inject:l4};function Jm(e,t){return t?e?function(){return vn(vt(e)?e.call(this,this):e,vt(t)?t.call(this,this):t)}:t:e}function l4(e,t){return as(wf(e),wf(t))}function wf(e){if(ct(e)){const t={};for(let n=0;n1)return n&&vt(t)?t.call(o&&o.proxy):t}}function f4(){return!!(wn||mn||ua)}const Ay=Object.create(null),_f=()=>Object.create(Ay),Iy=e=>Object.getPrototypeOf(e)===Ay;function h4(e,t,n,o=!1){const r={},i=_f();e.propsDefaults=Object.create(null),Oy(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:cy(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function p4(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:a}}=e,s=$t(r),[l]=e.propsOptions;let c=!1;if((o||a>0)&&!(a&16)){if(a&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,p]=My(d,t,!0);vn(a,f),p&&s.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return Xt(e)&&o.set(e,sa),sa;if(ct(i))for(let u=0;u-1,p[1]=m<0||h-1||Mt(p,"default"))&&s.push(d)}}}const c=[a,s];return Xt(e)&&o.set(e,c),c}function eg(e){return e[0]!=="$"&&!us(e)}function tg(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function ng(e,t){return tg(e)===tg(t)}function og(e,t){return ct(t)?t.findIndex(n=>ng(n,e)):vt(t)&&ng(t,e)?0:-1}const zy=e=>e[0]==="_"||e==="$stable",ep=e=>ct(e)?e.map(Oo):[Oo(e)],m4=(e,t,n)=>{if(t._n)return t;const o=ce((...r)=>ep(t(...r)),n);return o._c=!1,o},Dy=(e,t,n)=>{const o=e._ctx;for(const r in e){if(zy(r))continue;const i=e[r];if(vt(i))t[r]=m4(r,i,o);else if(i!=null){const a=ep(i);t[r]=()=>a}}},Ly=(e,t)=>{const n=ep(t);e.slots.default=()=>n},g4=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=$t(t),q1(e.slots,"_",n)):Dy(t,e.slots=_f())}else e.slots=_f(),t&&Ly(e,t)},v4=(e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,a=Qt;if(o.shapeFlag&32){const s=t._;s?n&&s===1?i=!1:(vn(r,t),!n&&s===1&&delete r._):(i=!t.$stable,Dy(t,r)),a=t}else t&&(Ly(e,t),a={default:1});if(i)for(const s in r)!zy(s)&&a[s]==null&&delete r[s]};function kf(e,t,n,o,r=!1){if(ct(e)){e.forEach((f,p)=>kf(f,t&&(ct(t)?t[p]:t),n,o,r));return}if(fs(o)&&!r)return;const i=o.shapeFlag&4?nu(o.component)||o.component.proxy:o.el,a=r?null:i,{i:s,r:l}=e,c=t&&t.r,u=s.refs===Qt?s.refs={}:s.refs,d=s.setupState;if(c!=null&&c!==l&&(ln(c)?(u[c]=null,Mt(d,c)&&(d[c]=null)):cn(c)&&(c.value=null)),vt(l))Dr(l,s,12,[a,u]);else{const f=ln(l),p=cn(l);if(f||p){const h=()=>{if(e.f){const m=f?Mt(d,l)?d[l]:u[l]:l.value;r?ct(m)&&Mh(m,i):ct(m)?m.includes(i)||m.push(i):f?(u[l]=[i],Mt(d,l)&&(d[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else f?(u[l]=a,Mt(d,l)&&(d[l]=a)):p&&(l.value=a,e.k&&(u[e.k]=a))};a?(h.id=-1,Nn(h,n)):h()}}}const Nn=K3;function b4(e){return y4(e)}function y4(e,t){const n=K1();n.__VUE__=!0;const{insert:o,remove:r,patchProp:i,createElement:a,createText:s,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:p=Kn,insertStaticContent:h}=e,m=(F,O,re,_e=null,ee=null,be=null,Pe=void 0,I=null,N=!!O.dynamicChildren)=>{if(F===O)return;F&&!di(F,O)&&(_e=J(F),E(F,ee,be,!0),F=null),O.patchFlag===-2&&(N=!1,O.dynamicChildren=null);const{type:te,ref:Ce,shapeFlag:ae}=O;switch(te){case $a:v(F,O,re,_e);break;case $n:b(F,O,re,_e);break;case Jl:F==null&&w(O,re,_e,Pe);break;case rt:R(F,O,re,_e,ee,be,Pe,I,N);break;default:ae&1?_(F,O,re,_e,ee,be,Pe,I,N):ae&6?K(F,O,re,_e,ee,be,Pe,I,N):(ae&64||ae&128)&&te.process(F,O,re,_e,ee,be,Pe,I,N,ve)}Ce!=null&&ee&&kf(Ce,F&&F.ref,be,O||F,!O)},v=(F,O,re,_e)=>{if(F==null)o(O.el=s(O.children),re,_e);else{const ee=O.el=F.el;O.children!==F.children&&c(ee,O.children)}},b=(F,O,re,_e)=>{F==null?o(O.el=l(O.children||""),re,_e):O.el=F.el},w=(F,O,re,_e)=>{[F.el,F.anchor]=h(F.children,O,re,_e,F.el,F.anchor)},C=({el:F,anchor:O},re,_e)=>{let ee;for(;F&&F!==O;)ee=f(F),o(F,re,_e),F=ee;o(O,re,_e)},S=({el:F,anchor:O})=>{let re;for(;F&&F!==O;)re=f(F),r(F),F=re;r(O)},_=(F,O,re,_e,ee,be,Pe,I,N)=>{O.type==="svg"?Pe="svg":O.type==="math"&&(Pe="mathml"),F==null?x(O,re,_e,ee,be,Pe,I,N):P(F,O,ee,be,Pe,I,N)},x=(F,O,re,_e,ee,be,Pe,I)=>{let N,te;const{props:Ce,shapeFlag:ae,transition:fe,dirs:oe}=F;if(N=F.el=a(F.type,be,Ce&&Ce.is,Ce),ae&8?u(N,F.children):ae&16&&k(F.children,N,null,_e,ee,ud(F,be),Pe,I),oe&&ti(F,null,_e,"created"),y(N,F,F.scopeId,Pe,_e),Ce){for(const De in Ce)De!=="value"&&!us(De)&&i(N,De,null,Ce[De],be,F.children,_e,ee,ye);"value"in Ce&&i(N,"value",null,Ce.value,be),(te=Ce.onVnodeBeforeMount)&&$o(te,_e,F)}oe&&ti(F,null,_e,"beforeMount");const ue=x4(ee,fe);ue&&fe.beforeEnter(N),o(N,O,re),((te=Ce&&Ce.onVnodeMounted)||ue||oe)&&Nn(()=>{te&&$o(te,_e,F),ue&&fe.enter(N),oe&&ti(F,null,_e,"mounted")},ee)},y=(F,O,re,_e,ee)=>{if(re&&p(F,re),_e)for(let be=0;be<_e.length;be++)p(F,_e[be]);if(ee){let be=ee.subTree;if(O===be){const Pe=ee.vnode;y(F,Pe,Pe.scopeId,Pe.slotScopeIds,ee.parent)}}},k=(F,O,re,_e,ee,be,Pe,I,N=0)=>{for(let te=N;te{const I=O.el=F.el;let{patchFlag:N,dynamicChildren:te,dirs:Ce}=O;N|=F.patchFlag&16;const ae=F.props||Qt,fe=O.props||Qt;let oe;if(re&&ni(re,!1),(oe=fe.onVnodeBeforeUpdate)&&$o(oe,re,O,F),Ce&&ti(O,F,re,"beforeUpdate"),re&&ni(re,!0),te?T(F.dynamicChildren,te,I,re,_e,ud(O,ee),be):Pe||Q(F,O,I,null,re,_e,ud(O,ee),be,!1),N>0){if(N&16)$(I,O,ae,fe,re,_e,ee);else if(N&2&&ae.class!==fe.class&&i(I,"class",null,fe.class,ee),N&4&&i(I,"style",ae.style,fe.style,ee),N&8){const ue=O.dynamicProps;for(let De=0;De{oe&&$o(oe,re,O,F),Ce&&ti(O,F,re,"updated")},_e)},T=(F,O,re,_e,ee,be,Pe)=>{for(let I=0;I{if(re!==_e){if(re!==Qt)for(const I in re)!us(I)&&!(I in _e)&&i(F,I,re[I],null,Pe,O.children,ee,be,ye);for(const I in _e){if(us(I))continue;const N=_e[I],te=re[I];N!==te&&I!=="value"&&i(F,I,te,N,Pe,O.children,ee,be,ye)}"value"in _e&&i(F,"value",re.value,_e.value,Pe)}},R=(F,O,re,_e,ee,be,Pe,I,N)=>{const te=O.el=F?F.el:s(""),Ce=O.anchor=F?F.anchor:s("");let{patchFlag:ae,dynamicChildren:fe,slotScopeIds:oe}=O;oe&&(I=I?I.concat(oe):oe),F==null?(o(te,re,_e),o(Ce,re,_e),k(O.children||[],re,Ce,ee,be,Pe,I,N)):ae>0&&ae&64&&fe&&F.dynamicChildren?(T(F.dynamicChildren,fe,re,ee,be,Pe,I),(O.key!=null||ee&&O===ee.subTree)&&tp(F,O,!0)):Q(F,O,re,Ce,ee,be,Pe,I,N)},K=(F,O,re,_e,ee,be,Pe,I,N)=>{O.slotScopeIds=I,F==null?O.shapeFlag&512?ee.ctx.activate(O,re,_e,Pe,N):H(O,re,_e,ee,be,Pe,N):D(F,O,N)},H=(F,O,re,_e,ee,be,Pe)=>{const I=F.component=A4(F,_e,ee);if(Xc(F)&&(I.ctx.renderer=ve),I4(I),I.asyncDep){if(ee&&ee.registerDep(I,M),!F.el){const N=I.subTree=ie($n);b(null,N,O,re)}}else M(I,F,O,re,ee,be,Pe)},D=(F,O,re)=>{const _e=O.component=F.component;if(W3(F,O,re))if(_e.asyncDep&&!_e.asyncResolved){Y(_e,O,re);return}else _e.next=O,D3(_e.update),_e.effect.dirty=!0,_e.update();else O.el=F.el,_e.vnode=O},M=(F,O,re,_e,ee,be,Pe)=>{const I=()=>{if(F.isMounted){let{next:Ce,bu:ae,u:fe,parent:oe,vnode:ue}=F;{const je=Fy(F);if(je){Ce&&(Ce.el=ue.el,Y(F,Ce,Pe)),je.asyncDep.then(()=>{F.isUnmounted||I()});return}}let De=Ce,Ue;ni(F,!1),Ce?(Ce.el=ue.el,Y(F,Ce,Pe)):Ce=ue,ae&&Zl(ae),(Ue=Ce.props&&Ce.props.onVnodeBeforeUpdate)&&$o(Ue,oe,Ce,ue),ni(F,!0);const ke=sd(F),Fe=F.subTree;F.subTree=ke,m(Fe,ke,d(Fe.el),J(Fe),F,ee,be),Ce.el=ke.el,De===null&&U3(F,ke.el),fe&&Nn(fe,ee),(Ue=Ce.props&&Ce.props.onVnodeUpdated)&&Nn(()=>$o(Ue,oe,Ce,ue),ee)}else{let Ce;const{el:ae,props:fe}=O,{bm:oe,m:ue,parent:De}=F,Ue=fs(O);if(ni(F,!1),oe&&Zl(oe),!Ue&&(Ce=fe&&fe.onVnodeBeforeMount)&&$o(Ce,De,O),ni(F,!0),ae&&Le){const ke=()=>{F.subTree=sd(F),Le(ae,F.subTree,F,ee,null)};Ue?O.type.__asyncLoader().then(()=>!F.isUnmounted&&ke()):ke()}else{const ke=F.subTree=sd(F);m(null,ke,re,_e,F,ee,be),O.el=ke.el}if(ue&&Nn(ue,ee),!Ue&&(Ce=fe&&fe.onVnodeMounted)){const ke=O;Nn(()=>$o(Ce,De,ke),ee)}(O.shapeFlag&256||De&&fs(De.vnode)&&De.vnode.shapeFlag&256)&&F.a&&Nn(F.a,ee),F.isMounted=!0,O=re=_e=null}},N=F.effect=new Fh(I,Kn,()=>Kh(te),F.scope),te=F.update=()=>{N.dirty&&N.run()};te.id=F.uid,ni(F,!0),te()},Y=(F,O,re)=>{O.component=F;const _e=F.vnode.props;F.vnode=O,F.next=null,p4(F,O.props,_e,re),v4(F,O.children,re),Wr(),qm(F),Ur()},Q=(F,O,re,_e,ee,be,Pe,I,N=!1)=>{const te=F&&F.children,Ce=F?F.shapeFlag:0,ae=O.children,{patchFlag:fe,shapeFlag:oe}=O;if(fe>0){if(fe&128){he(te,ae,re,_e,ee,be,Pe,I,N);return}else if(fe&256){de(te,ae,re,_e,ee,be,Pe,I,N);return}}oe&8?(Ce&16&&ye(te,ee,be),ae!==te&&u(re,ae)):Ce&16?oe&16?he(te,ae,re,_e,ee,be,Pe,I,N):ye(te,ee,be,!0):(Ce&8&&u(re,""),oe&16&&k(ae,re,_e,ee,be,Pe,I,N))},de=(F,O,re,_e,ee,be,Pe,I,N)=>{F=F||sa,O=O||sa;const te=F.length,Ce=O.length,ae=Math.min(te,Ce);let fe;for(fe=0;feCe?ye(F,ee,be,!0,!1,ae):k(O,re,_e,ee,be,Pe,I,N,ae)},he=(F,O,re,_e,ee,be,Pe,I,N)=>{let te=0;const Ce=O.length;let ae=F.length-1,fe=Ce-1;for(;te<=ae&&te<=fe;){const oe=F[te],ue=O[te]=N?$r(O[te]):Oo(O[te]);if(di(oe,ue))m(oe,ue,re,null,ee,be,Pe,I,N);else break;te++}for(;te<=ae&&te<=fe;){const oe=F[ae],ue=O[fe]=N?$r(O[fe]):Oo(O[fe]);if(di(oe,ue))m(oe,ue,re,null,ee,be,Pe,I,N);else break;ae--,fe--}if(te>ae){if(te<=fe){const oe=fe+1,ue=oefe)for(;te<=ae;)E(F[te],ee,be,!0),te++;else{const oe=te,ue=te,De=new Map;for(te=ue;te<=fe;te++){const X=O[te]=N?$r(O[te]):Oo(O[te]);X.key!=null&&De.set(X.key,te)}let Ue,ke=0;const Fe=fe-ue+1;let je=!1,Ae=0;const Je=new Array(Fe);for(te=0;te=Fe){E(X,ee,be,!0);continue}let me;if(X.key!=null)me=De.get(X.key);else for(Ue=ue;Ue<=fe;Ue++)if(Je[Ue-ue]===0&&di(X,O[Ue])){me=Ue;break}me===void 0?E(X,ee,be,!0):(Je[me-ue]=te+1,me>=Ae?Ae=me:je=!0,m(X,O[me],re,null,ee,be,Pe,I,N),ke++)}const xt=je?C4(Je):sa;for(Ue=xt.length-1,te=Fe-1;te>=0;te--){const X=ue+te,me=O[X],$e=X+1{const{el:be,type:Pe,transition:I,children:N,shapeFlag:te}=F;if(te&6){B(F.component.subTree,O,re,_e);return}if(te&128){F.suspense.move(O,re,_e);return}if(te&64){Pe.move(F,O,re,ve);return}if(Pe===rt){o(be,O,re);for(let ae=0;aeI.enter(be),ee);else{const{leave:ae,delayLeave:fe,afterLeave:oe}=I,ue=()=>o(be,O,re),De=()=>{ae(be,()=>{ue(),oe&&oe()})};fe?fe(be,ue,De):De()}else o(be,O,re)},E=(F,O,re,_e=!1,ee=!1)=>{const{type:be,props:Pe,ref:I,children:N,dynamicChildren:te,shapeFlag:Ce,patchFlag:ae,dirs:fe}=F;if(I!=null&&kf(I,null,re,F,!0),Ce&256){O.ctx.deactivate(F);return}const oe=Ce&1&&fe,ue=!fs(F);let De;if(ue&&(De=Pe&&Pe.onVnodeBeforeUnmount)&&$o(De,O,F),Ce&6)ne(F.component,re,_e);else{if(Ce&128){F.suspense.unmount(re,_e);return}oe&&ti(F,null,O,"beforeUnmount"),Ce&64?F.type.remove(F,O,re,ee,ve,_e):te&&(be!==rt||ae>0&&ae&64)?ye(te,O,re,!1,!0):(be===rt&&ae&384||!ee&&Ce&16)&&ye(N,O,re),_e&&A(F)}(ue&&(De=Pe&&Pe.onVnodeUnmounted)||oe)&&Nn(()=>{De&&$o(De,O,F),oe&&ti(F,null,O,"unmounted")},re)},A=F=>{const{type:O,el:re,anchor:_e,transition:ee}=F;if(O===rt){G(re,_e);return}if(O===Jl){S(F);return}const be=()=>{r(re),ee&&!ee.persisted&&ee.afterLeave&&ee.afterLeave()};if(F.shapeFlag&1&&ee&&!ee.persisted){const{leave:Pe,delayLeave:I}=ee,N=()=>Pe(re,be);I?I(F.el,be,N):N()}else be()},G=(F,O)=>{let re;for(;F!==O;)re=f(F),r(F),F=re;r(O)},ne=(F,O,re)=>{const{bum:_e,scope:ee,update:be,subTree:Pe,um:I}=F;_e&&Zl(_e),ee.stop(),be&&(be.active=!1,E(Pe,F,O,re)),I&&Nn(I,O),Nn(()=>{F.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&F.asyncDep&&!F.asyncResolved&&F.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},ye=(F,O,re,_e=!1,ee=!1,be=0)=>{for(let Pe=be;PeF.shapeFlag&6?J(F.component.subTree):F.shapeFlag&128?F.suspense.next():f(F.anchor||F.el);let xe=!1;const j=(F,O,re)=>{F==null?O._vnode&&E(O._vnode,null,null,!0):m(O._vnode||null,F,O,null,null,null,re),xe||(xe=!0,qm(),vy(),xe=!1),O._vnode=F},ve={p:m,um:E,m:B,r:A,mt:H,mc:k,pc:Q,pbc:T,n:J,o:e};let Oe,Le;return t&&([Oe,Le]=t(ve)),{render:j,hydrate:Oe,createApp:d4(j,Oe)}}function ud({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ni({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function x4(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function tp(e,t,n=!1){const o=e.children,r=t.children;if(ct(o)&&ct(r))for(let i=0;i>1,e[n[s]]0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}function Fy(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fy(t)}const w4=e=>e.__isTeleport,ps=e=>e&&(e.disabled||e.disabled===""),rg=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ig=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Pf=(e,t)=>{const n=e&&e.to;return ln(n)?t?t(n):null:n},_4={name:"Teleport",__isTeleport:!0,process(e,t,n,o,r,i,a,s,l,c){const{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:h,createText:m,createComment:v}}=c,b=ps(t.props);let{shapeFlag:w,children:C,dynamicChildren:S}=t;if(e==null){const _=t.el=m(""),x=t.anchor=m("");p(_,n,o),p(x,n,o);const y=t.target=Pf(t.props,h),k=t.targetAnchor=m("");y&&(p(k,y),a==="svg"||rg(y)?a="svg":(a==="mathml"||ig(y))&&(a="mathml"));const P=(T,$)=>{w&16&&u(C,T,$,r,i,a,s,l)};b?P(n,x):y&&P(y,k)}else{t.el=e.el;const _=t.anchor=e.anchor,x=t.target=e.target,y=t.targetAnchor=e.targetAnchor,k=ps(e.props),P=k?n:x,T=k?_:y;if(a==="svg"||rg(x)?a="svg":(a==="mathml"||ig(x))&&(a="mathml"),S?(f(e.dynamicChildren,S,P,r,i,a,s),tp(e,t,!0)):l||d(e,t,P,T,r,i,a,s,!1),b)k?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):kl(t,n,_,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const $=t.target=Pf(t.props,h);$&&kl(t,$,null,c,0)}else k&&kl(t,x,y,c,1)}By(t)},remove(e,t,n,o,{um:r,o:{remove:i}},a){const{shapeFlag:s,children:l,anchor:c,targetAnchor:u,target:d,props:f}=e;if(d&&i(u),a&&i(c),s&16){const p=a||!ps(f);for(let h=0;h0?yo||sa:null,k4(),Ds>0&&yo&&yo.push(e),e}function ze(e,t,n,o,r,i){return Ny(U(e,t,n,o,r,i,!0))}function qe(e,t,n,o,r){return Ny(ie(e,t,n,o,r,!0))}function Ls(e){return e?e.__v_isVNode===!0:!1}function di(e,t){return e.type===t.type&&e.key===t.key}const Hy=({key:e})=>e??null,Ql=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ln(e)||cn(e)||vt(e)?{i:mn,r:e,k:t,f:!!n}:e:null);function U(e,t=null,n=null,o=0,r=null,i=e===rt?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Hy(t),ref:t&&Ql(t),scopeId:Kc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:mn};return s?(np(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=ln(n)?8:16),Ds>0&&!a&&yo&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&yo.push(l),l}const ie=P4;function P4(e,t=null,n=null,o=0,r=null,i=!1){if((!e||e===xy)&&(e=$n),Ls(e)){const s=ao(e,t,!0);return n&&np(s,n),Ds>0&&!i&&yo&&(s.shapeFlag&6?yo[yo.indexOf(e)]=s:yo.push(s)),s.patchFlag|=-2,s}if(L4(e)&&(e=e.__vccOpts),t){t=T4(t);let{class:s,style:l}=t;s&&!ln(s)&&(t.class=ir(s)),Xt(l)&&(uy(l)&&!ct(l)&&(l=vn({},l)),t.style=Fr(l))}const a=ln(e)?1:q3(e)?128:w4(e)?64:Xt(e)?4:vt(e)?2:0;return U(e,t,n,o,r,a,i,!0)}function T4(e){return e?uy(e)||Iy(e)?vn({},e):e:null}function ao(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:a}=e,s=t?Ln(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Hy(s),ref:t&&t.ref?n&&r?ct(r)?r.concat(Ql(t)):[r,Ql(t)]:Ql(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==rt?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ao(e.ssContent),ssFallback:e.ssFallback&&ao(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function nt(e=" ",t=0){return ie($a,null,e,t)}function R4(e,t){const n=ie(Jl,null,e);return n.staticCount=t,n}function pt(e="",t=!1){return t?(pe(),qe($n,null,e)):ie($n,null,e)}function Oo(e){return e==null||typeof e=="boolean"?ie($n):ct(e)?ie(rt,null,e.slice()):typeof e=="object"?$r(e):ie($a,null,String(e))}function $r(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ao(e)}function np(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(ct(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),np(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Iy(t)?t._ctx=mn:r===3&&mn&&(mn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else vt(t)?(t={default:t,_ctx:mn},n=32):(t=String(t),o&64?(n=16,t=[nt(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ln(...e){const t={};for(let n=0;nwn||mn;let mc,Tf;{const e=K1(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),i=>{r.length>1?r.forEach(a=>a(i)):r[0](i)}};mc=t("__VUE_INSTANCE_SETTERS__",n=>wn=n),Tf=t("__VUE_SSR_SETTERS__",n=>tu=n)}const Qs=e=>{const t=wn;return mc(e),e.scope.on(),()=>{e.scope.off(),mc(t)}},sg=()=>{wn&&wn.scope.off(),mc(null)};function jy(e){return e.vnode.shapeFlag&4}let tu=!1;function I4(e,t=!1){t&&Tf(t);const{props:n,children:o}=e.vnode,r=jy(e);h4(e,n,r,t),g4(e,o);const i=r?O4(e,t):void 0;return t&&Tf(!1),i}function O4(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,r4);const{setup:o}=n;if(o){const r=e.setupContext=o.length>1?z4(e):null,i=Qs(e);Wr();const a=Dr(o,e,0,[e.props,r]);if(Ur(),i(),V1(a)){if(a.then(sg,sg),t)return a.then(s=>{lg(e,s,t)}).catch(s=>{Uc(s,e,0)});e.asyncDep=a}else lg(e,a,t)}else Vy(e,t)}function lg(e,t,n){vt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Xt(t)&&(e.setupState=hy(t)),Vy(e,n)}let cg;function Vy(e,t,n){const o=e.type;if(!e.render){if(!t&&cg&&!o.render){const r=o.template||Qh(e).template;if(r){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=o,c=vn(vn({isCustomElement:i,delimiters:s},a),l);o.render=cg(r,c)}}e.render=o.render||Kn}{const r=Qs(e);Wr();try{i4(e)}finally{Ur(),r()}}}const M4={get(e,t){return jn(e,"get",""),e[t]}};function z4(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,M4),slots:e.slots,emit:e.emit,expose:t}}function nu(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(hy($s(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in hs)return hs[n](e)},has(t,n){return n in t||n in hs}}))}function D4(e,t=!0){return vt(e)?e.displayName||e.name:e.name||t&&e.__name}function L4(e){return vt(e)&&"__vccOpts"in e}const L=(e,t)=>P3(e,t,tu);function g(e,t,n){const o=arguments.length;return o===2?Xt(t)&&!ct(t)?Ls(t)?ie(e,null,[t]):ie(e,t):ie(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Ls(n)&&(n=[n]),ie(e,t,n))}const F4="3.4.23";/** +* @vue/runtime-dom v3.4.23 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const B4="http://www.w3.org/2000/svg",N4="http://www.w3.org/1998/Math/MathML",Ar=typeof document<"u"?document:null,ug=Ar&&Ar.createElement("template"),H4={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t==="svg"?Ar.createElementNS(B4,e):t==="mathml"?Ar.createElementNS(N4,e):Ar.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>Ar.createTextNode(e),createComment:e=>Ar.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ar.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const a=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{ug.innerHTML=o==="svg"?`${e}`:o==="mathml"?`${e}`:e;const s=ug.content;if(o==="svg"||o==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},xr="transition",Xa="animation",ga=Symbol("_vtc"),fn=(e,{slots:t})=>g(J3,Uy(e),t);fn.displayName="Transition";const Wy={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},j4=fn.props=vn({},Sy,Wy),oi=(e,t=[])=>{ct(e)?e.forEach(n=>n(...t)):e&&e(...t)},dg=e=>e?ct(e)?e.some(t=>t.length>1):e.length>1:!1;function Uy(e){const t={};for(const R in e)R in Wy||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=a,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=V4(r),m=h&&h[0],v=h&&h[1],{onBeforeEnter:b,onEnter:w,onEnterCancelled:C,onLeave:S,onLeaveCancelled:_,onBeforeAppear:x=b,onAppear:y=w,onAppearCancelled:k=C}=t,P=(R,K,H)=>{Pr(R,K?u:s),Pr(R,K?c:a),H&&H()},T=(R,K)=>{R._isLeaving=!1,Pr(R,d),Pr(R,p),Pr(R,f),K&&K()},$=R=>(K,H)=>{const D=R?y:w,M=()=>P(K,R,H);oi(D,[K,M]),fg(()=>{Pr(K,R?l:i),tr(K,R?u:s),dg(D)||hg(K,o,m,M)})};return vn(t,{onBeforeEnter(R){oi(b,[R]),tr(R,i),tr(R,a)},onBeforeAppear(R){oi(x,[R]),tr(R,l),tr(R,c)},onEnter:$(!1),onAppear:$(!0),onLeave(R,K){R._isLeaving=!0;const H=()=>T(R,K);tr(R,d),Ky(),tr(R,f),fg(()=>{R._isLeaving&&(Pr(R,d),tr(R,p),dg(S)||hg(R,o,v,H))}),oi(S,[R,H])},onEnterCancelled(R){P(R,!1),oi(C,[R])},onAppearCancelled(R){P(R,!0),oi(k,[R])},onLeaveCancelled(R){T(R),oi(_,[R])}})}function V4(e){if(e==null)return null;if(Xt(e))return[dd(e.enter),dd(e.leave)];{const t=dd(e);return[t,t]}}function dd(e){return Jk(e)}function tr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ga]||(e[ga]=new Set)).add(t)}function Pr(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[ga];n&&(n.delete(t),n.size||(e[ga]=void 0))}function fg(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let W4=0;function hg(e,t,n,o){const r=e._endId=++W4,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=qy(e,t);if(!a)return o();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=p=>{p.target===e&&++u>=l&&d()};setTimeout(()=>{u(n[h]||"").split(", "),r=o(`${xr}Delay`),i=o(`${xr}Duration`),a=pg(r,i),s=o(`${Xa}Delay`),l=o(`${Xa}Duration`),c=pg(s,l);let u=null,d=0,f=0;t===xr?a>0&&(u=xr,d=a,f=i.length):t===Xa?c>0&&(u=Xa,d=c,f=l.length):(d=Math.max(a,c),u=d>0?a>c?xr:Xa:null,f=u?u===xr?i.length:l.length:0);const p=u===xr&&/\b(transform|all)(,|$)/.test(o(`${xr}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function pg(e,t){for(;e.lengthmg(n)+mg(e[o])))}function mg(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ky(){return document.body.offsetHeight}function U4(e,t,n){const o=e[ga];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const gc=Symbol("_vod"),Gy=Symbol("_vsh"),Mn={beforeMount(e,{value:t},{transition:n}){e[gc]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Za(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Za(e,!0),o.enter(e)):o.leave(e,()=>{Za(e,!1)}):Za(e,t))},beforeUnmount(e,{value:t}){Za(e,t)}};function Za(e,t){e.style.display=t?e[gc]:"none",e[Gy]=!t}const q4=Symbol(""),K4=/(^|;)\s*display\s*:/;function G4(e,t,n){const o=e.style,r=ln(n);let i=!1;if(n&&!r){if(t)if(ln(t))for(const a of t.split(";")){const s=a.slice(0,a.indexOf(":")).trim();n[s]==null&&ec(o,s,"")}else for(const a in t)n[a]==null&&ec(o,a,"");for(const a in n)a==="display"&&(i=!0),ec(o,a,n[a])}else if(r){if(t!==n){const a=o[q4];a&&(n+=";"+a),o.cssText=n,i=K4.test(n)}}else t&&e.removeAttribute("style");gc in e&&(e[gc]=i?o.display:"",e[Gy]&&(o.display="none"))}const gg=/\s*!important$/;function ec(e,t,n){if(ct(n))n.forEach(o=>ec(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=Y4(e,t);gg.test(n)?e.setProperty(Ai(o),n.replace(gg,""),"important"):e[o]=n}}const vg=["Webkit","Moz","ms"],fd={};function Y4(e,t){const n=fd[t];if(n)return n;let o=No(t);if(o!=="filter"&&o in e)return fd[t]=o;o=Vc(o);for(let r=0;rhd||(tP.then(()=>hd=0),hd=Date.now());function oP(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;oo(rP(o,n.value),t,5,[o])};return n.value=e,n.attached=nP(),n}function rP(e,t){if(ct(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const Cg=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,iP=(e,t,n,o,r,i,a,s,l)=>{const c=r==="svg";t==="class"?U4(e,o,c):t==="style"?G4(e,n,o):Nc(t)?Oh(t)||Q4(e,t,n,o,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):aP(e,t,o,c))?Z4(e,t,o,i,a,s,l):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),X4(e,t,o,c))};function aP(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&Cg(t)&&vt(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Cg(t)&&ln(n)?!1:t in e}const Yy=new WeakMap,Xy=new WeakMap,vc=Symbol("_moveCb"),wg=Symbol("_enterCb"),Zy={name:"TransitionGroup",props:vn({},j4,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Jn(),o=_y();let r,i;return Jh(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!fP(r[0].el,n.vnode.el,a))return;r.forEach(cP),r.forEach(uP);const s=r.filter(dP);Ky(),s.forEach(l=>{const c=l.el,u=c.style;tr(c,a),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[vc]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[vc]=null,Pr(c,a))};c.addEventListener("transitionend",d)})}),()=>{const a=$t(e),s=Uy(a);let l=a.tag||rt;if(r=[],i)for(let c=0;cdelete e.mode;Zy.props;const lP=Zy;function cP(e){const t=e.el;t[vc]&&t[vc](),t[wg]&&t[wg]()}function uP(e){Xy.set(e,e.el.getBoundingClientRect())}function dP(e){const t=Yy.get(e),n=Xy.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${o}px,${r}px)`,i.transitionDuration="0s",e}}function fP(e,t,n){const o=e.cloneNode(),r=e[ga];r&&r.forEach(s=>{s.split(/\s+/).forEach(l=>l&&o.classList.remove(l))}),n.split(/\s+/).forEach(s=>s&&o.classList.add(s)),o.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(o);const{hasTransform:a}=qy(o);return i.removeChild(o),a}const _g=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ct(t)?n=>Zl(t,n):t};function hP(e){e.target.composing=!0}function Sg(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const pd=Symbol("_assign"),pP={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e[pd]=_g(r);const i=o||r.props&&r.props.type==="number";ta(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),i&&(s=mf(s)),e[pd](s)}),n&&ta(e,"change",()=>{e.value=e.value.trim()}),t||(ta(e,"compositionstart",hP),ta(e,"compositionend",Sg),ta(e,"change",Sg))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},i){if(e[pd]=_g(i),e.composing)return;const a=(r||e.type==="number")&&!/^0\d/.test(e.value)?mf(e.value):e.value,s=t??"";a!==s&&(document.activeElement===e&&e.type!=="range"&&(n||o&&e.value.trim()===s)||(e.value=s))}},mP=["ctrl","shift","alt","meta"],gP={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>mP.some(n=>e[`${n}Key`]&&!t.includes(n))},vP=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(r,...i)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=r=>{if(!("key"in r))return;const i=Ai(r.key);if(t.some(a=>a===i||bP[a]===i))return e(r)})},yP=vn({patchProp:iP},H4);let kg;function xP(){return kg||(kg=b4(yP))}const Jy=(...e)=>{const t=xP().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=wP(o);if(!r)return;const i=t._component;!vt(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const a=n(r,!1,CP(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function CP(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function wP(e){return ln(e)?document.querySelector(e):e}/*! + * vue-router v4.3.0 + * (c) 2024 Eduardo San Martin Morote * @license MIT - */const oa=typeof window<"u";function m5(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Vt=Object.assign;function md(e,t){const n={};for(const o in t){const r=t[o];n[o]=Co(r)?r.map(e):e(r)}return n}const vs=()=>{},Co=Array.isArray,g5=/\/$/,v5=e=>e.replace(g5,"");function gd(e,t,n="/"){let o,r={},i="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),r=e(i)),s>-1&&(o=o||t.slice(0,s),a=t.slice(s,t.length)),o=C5(o??t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:a}}function b5(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Sg(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function y5(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&xa(t.matched[o],n.matched[r])&&Ky(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function xa(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ky(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!x5(e[n],t[n]))return!1;return!0}function x5(e,t){return Co(e)?kg(e,t):Co(t)?kg(t,e):e===t}function kg(e,t){return Co(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function C5(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 Ls;(function(e){e.pop="pop",e.push="push"})(Ls||(Ls={}));var bs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(bs||(bs={}));function w5(e){if(!e)if(oa){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),v5(e)}const _5=/^[^#]+#/;function S5(e,t){return e.replace(_5,"#")+t}function k5(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 tu=()=>({left:window.pageXOffset,top:window.pageYOffset});function P5(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=k5(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 Pg(e,t){return(history.state?history.state.position-t:-1)+e}const Pf=new Map;function T5(e,t){Pf.set(e,t)}function R5(e){const t=Pf.get(e);return Pf.delete(e),t}let $5=()=>location.protocol+"//"+location.host;function Gy(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),Sg(l,"")}return Sg(n,e)+o+r}function E5(e,t,n,o){let r=[],i=[],a=null;const s=({state:f})=>{const p=Gy(e,location),h=n.value,g=t.value;let b=0;if(f){if(n.value=p,t.value=f,a&&a===h){a=null;return}b=g?f.position-g.position:0}else o(p);r.forEach(m=>{m(n.value,h,{delta:b,type:Ls.pop,direction:b?b>0?bs.forward:bs.back:bs.unknown})})};function l(){a=n.value}function c(f){r.push(f);const p=()=>{const h=r.indexOf(f);h>-1&&r.splice(h,1)};return i.push(p),p}function u(){const{history:f}=window;f.state&&f.replaceState(Vt({},f.state,{scroll:tu()}),"")}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 Tg(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?tu():null}}function A5(e){const{history:t,location:n}=window,o={value:Gy(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:$5()+e+l;try{t[u?"replaceState":"pushState"](c,"",f),r.value=c}catch(p){console.error(p),n[u?"replace":"assign"](f)}}function a(l,c){const u=Vt({},t.state,Tg(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});i(l,u,!0),o.value=l}function s(l,c){const u=Vt({},r.value,t.state,{forward:l,scroll:tu()});i(u.current,u,!0);const d=Vt({},Tg(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 I5(e){e=w5(e);const t=A5(e),n=E5(e,t.state,t.location,t.replace);function o(i,a=!0){a||n.pauseListeners(),history.go(i)}const r=Vt({location:"",base:e,go:o,createHref: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 O5(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),I5(e)}function M5(e){return typeof e=="string"||e&&typeof e=="object"}function Yy(e){return typeof e=="string"||typeof e=="symbol"}const xr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Xy=Symbol("");var Rg;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Rg||(Rg={}));function Ca(e,t){return Vt(new Error,{type:e,[Xy]:!0},t)}function Jo(e,t){return e instanceof Error&&Xy in e&&(t==null||!!(e.type&t))}const $g="[^/]+?",z5={sensitive:!1,strict:!1,start:!0,end:!0},D5=/[.+*?^${}()[\]/\\]/g;function L5(e,t){const n=Vt({},z5,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 B5(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const N5={type:0,value:""},H5=/[a-zA-Z0-9_]/;function j5(e){if(!e)return[[]];if(e==="/")return[[N5]];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(x)}:vs}function a(u){if(Yy(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||!Zy(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!Ig(u)&&o.set(u.record.name,u)}function c(u,d){let f,p={},h,g;if("name"in u&&u.name){if(f=o.get(u.name),!f)throw Ca(1,{location:u});g=f.record.name,p=Vt(Ag(d.params,f.keys.filter(x=>!x.optional).map(x=>x.name)),u.params&&Ag(u.params,f.keys.map(x=>x.name))),h=f.stringify(p)}else if("path"in u)h=u.path,f=n.find(x=>x.re.test(h)),f&&(p=f.parse(h),g=f.record.name);else{if(f=d.name?o.get(d.name):n.find(x=>x.re.test(d.path)),!f)throw Ca(1,{location:u,currentLocation:d});g=f.record.name,p=Vt({},d.params,u.params),h=f.stringify(p)}const b=[];let m=f;for(;m;)b.unshift(m.record),m=m.parent;return{name:g,path:h,params:p,matched:b,meta:K5(b)}}return e.forEach(u=>i(u)),{addRoute:i,resolve:c,removeRoute:a,getRoutes:s,getRecordMatcher:r}}function Ag(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function U5(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:q5(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 q5(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 Ig(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function K5(e){return e.reduce((t,n)=>Vt(t,n.meta),{})}function Og(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Zy(e,t){return t.children.some(n=>n===e||Zy(e,n))}const Jy=/#/g,G5=/&/g,Y5=/\//g,X5=/=/g,Z5=/\?/g,Qy=/\+/g,J5=/%5B/g,Q5=/%5D/g,ex=/%5E/g,eP=/%60/g,tx=/%7B/g,tP=/%7C/g,nx=/%7D/g,nP=/%20/g;function np(e){return encodeURI(""+e).replace(tP,"|").replace(J5,"[").replace(Q5,"]")}function oP(e){return np(e).replace(tx,"{").replace(nx,"}").replace(ex,"^")}function Tf(e){return np(e).replace(Qy,"%2B").replace(nP,"+").replace(Jy,"%23").replace(G5,"%26").replace(eP,"`").replace(tx,"{").replace(nx,"}").replace(ex,"^")}function rP(e){return Tf(e).replace(X5,"%3D")}function iP(e){return np(e).replace(Jy,"%23").replace(Z5,"%3F")}function aP(e){return e==null?"":iP(e).replace(Y5,"%2F")}function bc(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function sP(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ri&&Tf(i)):[o&&Tf(o)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function lP(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Co(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const cP=Symbol(""),zg=Symbol(""),nu=Symbol(""),op=Symbol(""),Rf=Symbol("");function ts(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ir(e,t,n,o,r){const i=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((a,s)=>{const l=d=>{d===!1?s(Ca(4,{from:n,to:t})):d instanceof Error?s(d):M5(d)?s(Ca(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 vd(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(uP(s)){const c=(s.__vccOpts||s)[t];c&&r.push(Ir(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=m5(c)?c.default:c;i.components[a]=u;const f=(u.__vccOpts||u)[t];return f&&Ir(f,n,o,i,a)()}))}}return r}function uP(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Dg(e){const t=We(nu),n=We(op),o=L(()=>t.resolve(he(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(xa.bind(null,u));if(f>-1)return f;const p=Lg(l[c-2]);return c>1&&Lg(u)===p&&d[d.length-1].path!==p?d.findIndex(xa.bind(null,l[c-2])):f}),i=L(()=>r.value>-1&&pP(n.params,o.value.params)),a=L(()=>r.value>-1&&r.value===n.matched.length-1&&Ky(n.params,o.value.params));function s(l={}){return hP(l)?t[he(e.replace)?"replace":"push"](he(e.to)).catch(vs):Promise.resolve()}return{route:o,href:L(()=>o.value.href),isActive:i,isExactActive:a,navigate:s}}const dP=me({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:Dg,setup(e,{slots:t}){const n=xo(Dg(e)),{options:o}=We(nu),r=L(()=>({[Fg(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Fg(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:v("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),fP=dP;function hP(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 pP(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(!Co(r)||r.length!==o.length||o.some((i,a)=>i!==r[a]))return!1}return!0}function Lg(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Fg=(e,t,n)=>e??t??n,mP=me({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=We(Rf),r=L(()=>e.route||o.value),i=We(zg,0),a=L(()=>{let c=he(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(zg,L(()=>a.value+1)),lt(cP,s),lt(Rf,r);const l=F();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||!xa(u,p)||!f)&&(u.enterCallbacks[d]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,d=s.value,f=d&&d.components[u];if(!f)return Bg(n.default,{Component:f,route:c});const p=d.props[u],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,b=v(f,Vt({},h,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return Bg(n.default,{Component:b,route:c})||b}}});function Bg(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const gP=mP;function vP(e){const t=W5(e.routes,e),n=e.parseQuery||sP,o=e.stringifyQuery||Mg,r=e.history,i=ts(),a=ts(),s=ts(),l=Ia(xr);let c=xr;oa&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=md.bind(null,J=>""+J),d=md.bind(null,aP),f=md.bind(null,bc);function p(J,be){let H,ge;return Yy(J)?(H=t.getRecordMatcher(J),ge=be):ge=J,t.addRoute(ge,H)}function h(J){const be=t.getRecordMatcher(J);be&&t.removeRoute(be)}function g(){return t.getRoutes().map(J=>J.record)}function b(J){return!!t.getRecordMatcher(J)}function m(J,be){if(be=Vt({},be||l.value),typeof J=="string"){const T=gd(n,J,be.path),W=t.resolve({path:T.path},be),oe=r.createHref(T.fullPath);return Vt(T,W,{params:f(W.params),hash:bc(T.hash),redirectedFrom:void 0,href:oe})}let H;if("path"in J)H=Vt({},J,{path:gd(n,J.path,be.path).path});else{const T=Vt({},J.params);for(const W in T)T[W]==null&&delete T[W];H=Vt({},J,{params:d(T)}),be.params=d(be.params)}const ge=t.resolve(H,be),Ie=J.hash||"";ge.params=u(f(ge.params));const Le=b5(o,Vt({},J,{hash:oP(Ie),path:ge.path})),P=r.createHref(Le);return Vt({fullPath:Le,hash:Ie,query:o===Mg?lP(J.query):J.query||{}},ge,{redirectedFrom:void 0,href:P})}function x(J){return typeof J=="string"?gd(n,J,l.value.path):Vt({},J)}function S(J,be){if(c!==J)return Ca(8,{from:be,to:J})}function _(J){return y(J)}function w(J){return _(Vt(x(J),{replace:!0}))}function C(J){const be=J.matched[J.matched.length-1];if(be&&be.redirect){const{redirect:H}=be;let ge=typeof H=="function"?H(J):H;return typeof ge=="string"&&(ge=ge.includes("?")||ge.includes("#")?ge=x(ge):{path:ge},ge.params={}),Vt({query:J.query,hash:J.hash,params:"path"in ge?{}:J.params},ge)}}function y(J,be){const H=c=m(J),ge=l.value,Ie=J.state,Le=J.force,P=J.replace===!0,T=C(H);if(T)return y(Vt(x(T),{state:typeof T=="object"?Vt({},Ie,T.state):Ie,force:Le,replace:P}),be||H);const W=H;W.redirectedFrom=be;let oe;return!Le&&y5(o,ge,H)&&(oe=Ca(16,{to:W,from:ge}),N(ge,ge,!0,!1)),(oe?Promise.resolve(oe):$(W,ge)).catch(G=>Jo(G)?Jo(G,2)?G:le(G):Q(G,W,ge)).then(G=>{if(G){if(Jo(G,2))return y(Vt({replace:P},x(G.to),{state:typeof G.to=="object"?Vt({},Ie,G.to.state):Ie,force:Le}),be||W)}else G=A(W,ge,!0,P,Ie);return I(W,ge,G),G})}function k(J,be){const H=S(J,be);return H?Promise.reject(H):Promise.resolve()}function R(J){const be=q.values().next().value;return be&&typeof be.runWithContext=="function"?be.runWithContext(J):J()}function $(J,be){let H;const[ge,Ie,Le]=bP(J,be);H=vd(ge.reverse(),"beforeRouteLeave",J,be);for(const T of ge)T.leaveGuards.forEach(W=>{H.push(Ir(W,J,be))});const P=k.bind(null,J,be);return H.push(P),ve(H).then(()=>{H=[];for(const T of i.list())H.push(Ir(T,J,be));return H.push(P),ve(H)}).then(()=>{H=vd(Ie,"beforeRouteUpdate",J,be);for(const T of Ie)T.updateGuards.forEach(W=>{H.push(Ir(W,J,be))});return H.push(P),ve(H)}).then(()=>{H=[];for(const T of Le)if(T.beforeEnter)if(Co(T.beforeEnter))for(const W of T.beforeEnter)H.push(Ir(W,J,be));else H.push(Ir(T.beforeEnter,J,be));return H.push(P),ve(H)}).then(()=>(J.matched.forEach(T=>T.enterCallbacks={}),H=vd(Le,"beforeRouteEnter",J,be),H.push(P),ve(H))).then(()=>{H=[];for(const T of a.list())H.push(Ir(T,J,be));return H.push(P),ve(H)}).catch(T=>Jo(T,8)?T:Promise.reject(T))}function I(J,be,H){s.list().forEach(ge=>R(()=>ge(J,be,H)))}function A(J,be,H,ge,Ie){const Le=S(J,be);if(Le)return Le;const P=be===xr,T=oa?history.state:{};H&&(ge||P?r.replace(J.fullPath,Vt({scroll:P&&T&&T.scroll},Ie)):r.push(J.fullPath,Ie)),l.value=J,N(J,be,H,P),le()}let K;function B(){K||(K=r.listen((J,be,H)=>{if(!ne.listening)return;const ge=m(J),Ie=C(ge);if(Ie){y(Vt(Ie,{replace:!0}),ge).catch(vs);return}c=ge;const Le=l.value;oa&&T5(Pg(Le.fullPath,H.delta),tu()),$(ge,Le).catch(P=>Jo(P,12)?P:Jo(P,2)?(y(P.to,ge).then(T=>{Jo(T,20)&&!H.delta&&H.type===Ls.pop&&r.go(-1,!1)}).catch(vs),Promise.reject()):(H.delta&&r.go(-H.delta,!1),Q(P,ge,Le))).then(P=>{P=P||A(ge,Le,!1),P&&(H.delta&&!Jo(P,8)?r.go(-H.delta,!1):H.type===Ls.pop&&Jo(P,20)&&r.go(-1,!1)),I(ge,Le,P)}).catch(vs)}))}let M=ts(),D=ts(),Y;function Q(J,be,H){le(J);const ge=D.list();return ge.length?ge.forEach(Ie=>Ie(J,be,H)):console.error(J),Promise.reject(J)}function ue(){return Y&&l.value!==xr?Promise.resolve():new Promise((J,be)=>{M.add([J,be])})}function le(J){return Y||(Y=!J,B(),M.list().forEach(([be,H])=>J?H(J):be()),M.reset()),J}function N(J,be,H,ge){const{scrollBehavior:Ie}=e;if(!oa||!Ie)return Promise.resolve();const Le=!H&&R5(Pg(J.fullPath,0))||(ge||!H)&&history.state&&history.state.scroll||null;return jt().then(()=>Ie(J,be,Le)).then(P=>P&&P5(P)).catch(P=>Q(P,J,be))}const E=J=>r.go(J);let O;const q=new Set,ne={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:b,getRoutes:g,resolve:m,options:e,push:_,replace:w,go:E,back:()=>E(-1),forward:()=>E(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:D.add,isReady:ue,install(J){const be=this;J.component("RouterLink",fP),J.component("RouterView",gP),J.config.globalProperties.$router=be,Object.defineProperty(J.config.globalProperties,"$route",{enumerable:!0,get:()=>he(l)}),oa&&!O&&l.value===xr&&(O=!0,_(r.location).catch(Ie=>{}));const H={};for(const Ie in xr)Object.defineProperty(H,Ie,{get:()=>l.value[Ie],enumerable:!0});J.provide(nu,be),J.provide(op,ay(H)),J.provide(Rf,l);const ge=J.unmount;q.add(J),J.unmount=function(){q.delete(J),q.size<1&&(c=xr,K&&K(),K=null,l.value=xr,O=!1,Y=!1),ge()}}};function ve(J){return J.reduce((be,H)=>be.then(()=>R(H)),Promise.resolve())}return ne}function bP(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;axa(c,s))?o.push(s):n.push(s));const l=e.matched[a];l&&(t.matched.find(c=>xa(c,l))||r.push(l))}return[n,o,r]}function ou(){return We(nu)}function Ei(){return We(op)}const yP="modulepreload",xP=function(e){return"/"+e},Ng={},Ct=function(t,n,o){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=xP(i),i in Ng)return;Ng[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":yP,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})},CP=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),wP={name:"dashboard",path:"/",component:CP,redirect:"dashboard",meta:{isHidden:!1},children:[{name:"dashboard",path:"/dashboard",component:()=>Ct(()=>Promise.resolve().then(()=>Nze),void 0),meta:{title:"仪表盘",icon:"mdi:home",order:0}}]},_P=Object.freeze(Object.defineProperty({__proto__:null,default:wP},Symbol.toStringTag,{value:"Module"})),SP=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),kP={name:"Invite",path:"/",component:SP,redirect:"/invite",meta:{isHidden:!1},children:[{name:"Invite",path:"invite",component:()=>Ct(()=>Promise.resolve().then(()=>wDe),void 0),meta:{title:"我的邀请",icon:"mdi:invite",order:1,group:{key:"finance",label:"财务"}}}]},PP=Object.freeze(Object.defineProperty({__proto__:null,default:kP},Symbol.toStringTag,{value:"Module"})),TP=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),RP={name:"knowledge",path:"/",component:TP,redirect:"/knowledge",meta:{isHidden:!1},children:[{name:"Knowledge",path:"knowledge",component:()=>Ct(()=>Promise.resolve().then(()=>RDe),void 0),meta:{title:"使用文档",icon:"mdi-book-open-variant",order:10}}]},$P=Object.freeze(Object.defineProperty({__proto__:null,default:RP},Symbol.toStringTag,{value:"Module"})),EP=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),AP={name:"Node",path:"/",component:EP,redirect:"/node",meta:{isHidden:!1},children:[{name:"Node",path:"node",component:()=>Ct(()=>Promise.resolve().then(()=>YDe),void 0),meta:{title:"节点状态",icon:"mdi-check-circle-outline",order:11,group:{key:"subscribe",label:"订阅"}}}]},IP=Object.freeze(Object.defineProperty({__proto__:null,default:AP},Symbol.toStringTag,{value:"Module"})),OP=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),MP={name:"Order",path:"/",component:OP,redirect:"/order",meta:{isHidden:!1},children:[{name:"Order",path:"order",component:()=>Ct(()=>Promise.resolve().then(()=>ZDe),void 0),meta:{title:"我的订单",icon:"mdi-format-list-bulleted",order:0,group:{key:"finance",label:"财务"}}},{name:"OrderDetail",path:"order/:trade_no",component:()=>Ct(()=>Promise.resolve().then(()=>R9e),void 0),meta:{title:"订单详情",icon:"mdi:doc",order:1,isHidden:!0}}]},zP=Object.freeze(Object.defineProperty({__proto__:null,default:MP},Symbol.toStringTag,{value:"Module"})),DP=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),LP={name:"plan",path:"/",component:DP,redirect:"/plan",meta:{isHidden:!1},children:[{name:"Plan",path:"plan",component:()=>Ct(()=>Promise.resolve().then(()=>Z9e),void 0),meta:{title:"购买订阅",icon:"mdi-shopping-outline",order:10,group:{key:"subscribe",label:"订阅"}}},{name:"PlanDetail",path:"plan/:plan_id",component:()=>Ct(()=>Promise.resolve().then(()=>PFe),void 0),meta:{title:"配置订阅",icon:"mdi:doc",order:1,isHidden:!0}}]},FP=Object.freeze(Object.defineProperty({__proto__:null,default:LP},Symbol.toStringTag,{value:"Module"})),BP=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),NP={name:"profile",path:"/",component:BP,redirect:"/profile",meta:{isHidden:!1},children:[{name:"Profile",path:"profile",component:()=>Ct(()=>Promise.resolve().then(()=>XFe),void 0),meta:{title:"个人中心",icon:"mdi-account-outline",order:0,group:{key:"user",label:"用户"}}}]},HP=Object.freeze(Object.defineProperty({__proto__:null,default:NP},Symbol.toStringTag,{value:"Module"})),jP=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),VP={name:"ticket",path:"/",component:jP,redirect:"/ticket",meta:{isHidden:!1},children:[{name:"Ticket",path:"ticket",component:()=>Ct(()=>Promise.resolve().then(()=>QFe),void 0),meta:{title:"我的工单",icon:"mdi-comment-alert-outline",order:0,group:{key:"user",label:"用户"}}},{name:"TicketDetail",path:"ticket/:ticket_id",component:()=>Ct(()=>Promise.resolve().then(()=>r7e),void 0),meta:{title:"工单详情",order:0,isHidden:!0}}]},WP=Object.freeze(Object.defineProperty({__proto__:null,default:VP},Symbol.toStringTag,{value:"Module"})),UP=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),qP={name:"traffic",path:"/",component:UP,redirect:"/traffic",meta:{isHidden:!1},children:[{name:"Traffic",path:"traffic",component:()=>Ct(()=>Promise.resolve().then(()=>a7e),void 0),meta:{title:"流量明细",icon:"mdi-poll",order:0,group:{key:"user",label:"用户"}}}]},KP=Object.freeze(Object.defineProperty({__proto__:null,default:qP},Symbol.toStringTag,{value:"Module"})),ox=[{name:"404",path:"/404",component:()=>Ct(()=>Promise.resolve().then(()=>d7e),void 0),meta:{title:"404",isHidden:!0}},{name:"LOGIN",path:"/login",component:()=>Ct(()=>Promise.resolve().then(()=>D7e),void 0),meta:{title:"登录页",isHidden:!0}},{name:"Register",path:"/register",component:()=>Ct(()=>Promise.resolve().then(()=>oBe),void 0),meta:{title:"注册",isHidden:!0}},{name:"forgetpassword",path:"/forgetpassword",component:()=>Ct(()=>Promise.resolve().then(()=>CBe),void 0),meta:{title:"重置密码",isHidden:!0}}],GP={name:"NotFound",path:"/:pathMatch(.*)*",redirect:"/404",meta:{title:"Not Found"}},Hg=Object.assign({"/src/views/dashboard/route.ts":_P,"/src/views/invite/route.ts":PP,"/src/views/knowledge/route.ts":$P,"/src/views/node/route.ts":IP,"/src/views/order/route.ts":zP,"/src/views/plan/route.ts":FP,"/src/views/profile/route.ts":HP,"/src/views/ticket/route.ts":WP,"/src/views/traffic/route.ts":KP}),rx=[];Object.keys(Hg).forEach(e=>{rx.push(Hg[e].default)});function YP(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 B1;const jg=((B1=window.settings)==null?void 0:B1.title)||"Xboard";function XP(e){e.afterEach(t=>{var o;const n=(o=t.meta)==null?void 0:o.title;n?document.title=`${n} | ${jg}`:document.title=jg})}var ZP=!1;/*! + */const na=typeof document<"u";function _P(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Vt=Object.assign;function md(e,t){const n={};for(const o in t){const r=t[o];n[o]=So(r)?r.map(e):e(r)}return n}const vs=()=>{},So=Array.isArray,Qy=/#/g,SP=/&/g,kP=/\//g,PP=/=/g,TP=/\?/g,ex=/\+/g,RP=/%5B/g,EP=/%5D/g,tx=/%5E/g,$P=/%60/g,nx=/%7B/g,AP=/%7C/g,ox=/%7D/g,IP=/%20/g;function op(e){return encodeURI(""+e).replace(AP,"|").replace(RP,"[").replace(EP,"]")}function OP(e){return op(e).replace(nx,"{").replace(ox,"}").replace(tx,"^")}function Rf(e){return op(e).replace(ex,"%2B").replace(IP,"+").replace(Qy,"%23").replace(SP,"%26").replace($P,"`").replace(nx,"{").replace(ox,"}").replace(tx,"^")}function MP(e){return Rf(e).replace(PP,"%3D")}function zP(e){return op(e).replace(Qy,"%23").replace(TP,"%3F")}function DP(e){return e==null?"":zP(e).replace(kP,"%2F")}function Fs(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const LP=/\/$/,FP=e=>e.replace(LP,"");function gd(e,t,n="/"){let o,r={},i="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),r=e(i)),s>-1&&(o=o||t.slice(0,s),a=t.slice(s,t.length)),o=jP(o??t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:Fs(a)}}function BP(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Pg(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function NP(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&va(t.matched[o],n.matched[r])&&rx(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function va(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function rx(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!HP(e[n],t[n]))return!1;return!0}function HP(e,t){return So(e)?Tg(e,t):So(t)?Tg(t,e):e===t}function Tg(e,t){return So(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function jP(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let i=n.length-1,a,s;for(a=0;a1&&i--;else break;return n.slice(0,i).join("/")+"/"+o.slice(a).join("/")}var Bs;(function(e){e.pop="pop",e.push="push"})(Bs||(Bs={}));var bs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(bs||(bs={}));function VP(e){if(!e)if(na){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),FP(e)}const WP=/^[^#]+#/;function UP(e,t){return e.replace(WP,"#")+t}function qP(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const ou=()=>({left:window.scrollX,top:window.scrollY});function KP(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=qP(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Rg(e,t){return(history.state?history.state.position-t:-1)+e}const Ef=new Map;function GP(e,t){Ef.set(e,t)}function YP(e){const t=Ef.get(e);return Ef.delete(e),t}let XP=()=>location.protocol+"//"+location.host;function ix(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let s=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(s);return l[0]!=="/"&&(l="/"+l),Pg(l,"")}return Pg(n,e)+o+r}function ZP(e,t,n,o){let r=[],i=[],a=null;const s=({state:f})=>{const p=ix(e,location),h=n.value,m=t.value;let v=0;if(f){if(n.value=p,t.value=f,a&&a===h){a=null;return}v=m?f.position-m.position:0}else o(p);r.forEach(b=>{b(n.value,h,{delta:v,type:Bs.pop,direction:v?v>0?bs.forward:bs.back:bs.unknown})})};function l(){a=n.value}function c(f){r.push(f);const p=()=>{const h=r.indexOf(f);h>-1&&r.splice(h,1)};return i.push(p),p}function u(){const{history:f}=window;f.state&&f.replaceState(Vt({},f.state,{scroll:ou()}),"")}function d(){for(const f of i)f();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function Eg(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?ou():null}}function JP(e){const{history:t,location:n}=window,o={value:ix(e,n)},r={value:t.state};r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:XP()+e+l;try{t[u?"replaceState":"pushState"](c,"",f),r.value=c}catch(p){console.error(p),n[u?"replace":"assign"](f)}}function a(l,c){const u=Vt({},t.state,Eg(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});i(l,u,!0),o.value=l}function s(l,c){const u=Vt({},r.value,t.state,{forward:l,scroll:ou()});i(u.current,u,!0);const d=Vt({},Eg(o.value,l,null),{position:u.position+1},c);i(l,d,!1),o.value=l}return{location:o,state:r,push:s,replace:a}}function QP(e){e=VP(e);const t=JP(e),n=ZP(e,t.state,t.location,t.replace);function o(i,a=!0){a||n.pauseListeners(),history.go(i)}const r=Vt({location:"",base:e,go:o,createHref:UP.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function eT(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),QP(e)}function tT(e){return typeof e=="string"||e&&typeof e=="object"}function ax(e){return typeof e=="string"||typeof e=="symbol"}const Cr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},sx=Symbol("");var $g;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})($g||($g={}));function ba(e,t){return Vt(new Error,{type:e,[sx]:!0},t)}function Xo(e,t){return e instanceof Error&&sx in e&&(t==null||!!(e.type&t))}const Ag="[^/]+?",nT={sensitive:!1,strict:!1,start:!0,end:!0},oT=/[.+*?^${}()[\]/\\]/g;function rT(e,t){const n=Vt({},nT,t),o=[];let r=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let d=0;dt.length?t.length===1&&t[0]===40+40?1:-1:0}function aT(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const sT={type:0,value:""},lT=/[a-zA-Z0-9_]/;function cT(e){if(!e)return[[]];if(e==="/")return[[sT]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,o=n;const r=[];let i;function a(){i&&r.push(i),i=[]}let s=0,l,c="",u="";function d(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;s{a(w)}:vs}function a(u){if(ax(u)){const d=o.get(u);d&&(o.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&o.delete(u.record.name),u.children.forEach(a),u.alias.forEach(a))}}function s(){return n}function l(u){let d=0;for(;d=0&&(u.record.path!==n[d].record.path||!lx(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!Mg(u)&&o.set(u.record.name,u)}function c(u,d){let f,p={},h,m;if("name"in u&&u.name){if(f=o.get(u.name),!f)throw ba(1,{location:u});m=f.record.name,p=Vt(Og(d.params,f.keys.filter(w=>!w.optional).concat(f.parent?f.parent.keys.filter(w=>w.optional):[]).map(w=>w.name)),u.params&&Og(u.params,f.keys.map(w=>w.name))),h=f.stringify(p)}else if(u.path!=null)h=u.path,f=n.find(w=>w.re.test(h)),f&&(p=f.parse(h),m=f.record.name);else{if(f=d.name?o.get(d.name):n.find(w=>w.re.test(d.path)),!f)throw ba(1,{location:u,currentLocation:d});m=f.record.name,p=Vt({},d.params,u.params),h=f.stringify(p)}const v=[];let b=f;for(;b;)v.unshift(b.record),b=b.parent;return{name:m,path:h,params:p,matched:v,meta:pT(v)}}return e.forEach(u=>i(u)),{addRoute:i,resolve:c,removeRoute:a,getRoutes:s,getRecordMatcher:r}}function Og(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function fT(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:hT(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function hT(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function Mg(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function pT(e){return e.reduce((t,n)=>Vt(t,n.meta),{})}function zg(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function lx(e,t){return t.children.some(n=>n===e||lx(e,n))}function mT(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ri&&Rf(i)):[o&&Rf(o)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function gT(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=So(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const vT=Symbol(""),Lg=Symbol(""),ru=Symbol(""),rp=Symbol(""),$f=Symbol("");function Ja(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ir(e,t,n,o,r,i=a=>a()){const a=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((s,l)=>{const c=f=>{f===!1?l(ba(4,{from:n,to:t})):f instanceof Error?l(f):tT(f)?l(ba(2,{from:t,to:f})):(a&&o.enterCallbacks[r]===a&&typeof f=="function"&&a.push(f),s())},u=i(()=>e.call(o&&o.instances[r],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(f=>l(f))})}function vd(e,t,n,o,r=i=>i()){const i=[];for(const a of e)for(const s in a.components){let l=a.components[s];if(!(t!=="beforeRouteEnter"&&!a.instances[s]))if(bT(l)){const u=(l.__vccOpts||l)[t];u&&i.push(Ir(u,n,o,a,s,r))}else{let c=l();i.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${a.path}"`));const d=_P(u)?u.default:u;a.components[s]=d;const p=(d.__vccOpts||d)[t];return p&&Ir(p,n,o,a,s,r)()}))}}return i}function bT(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Fg(e){const t=We(ru),n=We(rp),o=L(()=>t.resolve(we(e.to))),r=L(()=>{const{matched:l}=o.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(va.bind(null,u));if(f>-1)return f;const p=Bg(l[c-2]);return c>1&&Bg(u)===p&&d[d.length-1].path!==p?d.findIndex(va.bind(null,l[c-2])):f}),i=L(()=>r.value>-1&&wT(n.params,o.value.params)),a=L(()=>r.value>-1&&r.value===n.matched.length-1&&rx(n.params,o.value.params));function s(l={}){return CT(l)?t[we(e.replace)?"replace":"push"](we(e.to)).catch(vs):Promise.resolve()}return{route:o,href:L(()=>o.value.href),isActive:i,isExactActive:a,navigate:s}}const yT=ge({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Fg,setup(e,{slots:t}){const n=Zn(Fg(e)),{options:o}=We(ru),r=L(()=>({[Ng(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Ng(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:g("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),xT=yT;function CT(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function wT(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(!So(r)||r.length!==o.length||o.some((i,a)=>i!==r[a]))return!1}return!0}function Bg(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ng=(e,t,n)=>e??t??n,_T=ge({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=We($f),r=L(()=>e.route||o.value),i=We(Lg,0),a=L(()=>{let c=we(i);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),s=L(()=>r.value.matched[a.value]);at(Lg,L(()=>a.value+1)),at(vT,s),at($f,r);const l=W();return ft(()=>[l.value,s.value,e.name],([c,u,d],[f,p,h])=>{u&&(u.instances[d]=c,p&&p!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!va(u,p)||!f)&&(u.enterCallbacks[d]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,d=s.value,f=d&&d.components[u];if(!f)return Hg(n.default,{Component:f,route:c});const p=d.props[u],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,v=g(f,Vt({},h,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return Hg(n.default,{Component:v,route:c})||v}}});function Hg(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ST=_T;function kT(e){const t=dT(e.routes,e),n=e.parseQuery||mT,o=e.stringifyQuery||Dg,r=e.history,i=Ja(),a=Ja(),s=Ja(),l=Ra(Cr);let c=Cr;na&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=md.bind(null,J=>""+J),d=md.bind(null,DP),f=md.bind(null,Fs);function p(J,xe){let j,ve;return ax(J)?(j=t.getRecordMatcher(J),ve=xe):ve=J,t.addRoute(ve,j)}function h(J){const xe=t.getRecordMatcher(J);xe&&t.removeRoute(xe)}function m(){return t.getRoutes().map(J=>J.record)}function v(J){return!!t.getRecordMatcher(J)}function b(J,xe){if(xe=Vt({},xe||l.value),typeof J=="string"){const O=gd(n,J,xe.path),re=t.resolve({path:O.path},xe),_e=r.createHref(O.fullPath);return Vt(O,re,{params:f(re.params),hash:Fs(O.hash),redirectedFrom:void 0,href:_e})}let j;if(J.path!=null)j=Vt({},J,{path:gd(n,J.path,xe.path).path});else{const O=Vt({},J.params);for(const re in O)O[re]==null&&delete O[re];j=Vt({},J,{params:d(O)}),xe.params=d(xe.params)}const ve=t.resolve(j,xe),Oe=J.hash||"";ve.params=u(f(ve.params));const Le=BP(o,Vt({},J,{hash:OP(Oe),path:ve.path})),F=r.createHref(Le);return Vt({fullPath:Le,hash:Oe,query:o===Dg?gT(J.query):J.query||{}},ve,{redirectedFrom:void 0,href:F})}function w(J){return typeof J=="string"?gd(n,J,l.value.path):Vt({},J)}function C(J,xe){if(c!==J)return ba(8,{from:xe,to:J})}function S(J){return y(J)}function _(J){return S(Vt(w(J),{replace:!0}))}function x(J){const xe=J.matched[J.matched.length-1];if(xe&&xe.redirect){const{redirect:j}=xe;let ve=typeof j=="function"?j(J):j;return typeof ve=="string"&&(ve=ve.includes("?")||ve.includes("#")?ve=w(ve):{path:ve},ve.params={}),Vt({query:J.query,hash:J.hash,params:ve.path!=null?{}:J.params},ve)}}function y(J,xe){const j=c=b(J),ve=l.value,Oe=J.state,Le=J.force,F=J.replace===!0,O=x(j);if(O)return y(Vt(w(O),{state:typeof O=="object"?Vt({},Oe,O.state):Oe,force:Le,replace:F}),xe||j);const re=j;re.redirectedFrom=xe;let _e;return!Le&&NP(o,ve,j)&&(_e=ba(16,{to:re,from:ve}),B(ve,ve,!0,!1)),(_e?Promise.resolve(_e):T(re,ve)).catch(ee=>Xo(ee)?Xo(ee,2)?ee:he(ee):Q(ee,re,ve)).then(ee=>{if(ee){if(Xo(ee,2))return y(Vt({replace:F},w(ee.to),{state:typeof ee.to=="object"?Vt({},Oe,ee.to.state):Oe,force:Le}),xe||re)}else ee=R(re,ve,!0,F,Oe);return $(re,ve,ee),ee})}function k(J,xe){const j=C(J,xe);return j?Promise.reject(j):Promise.resolve()}function P(J){const xe=G.values().next().value;return xe&&typeof xe.runWithContext=="function"?xe.runWithContext(J):J()}function T(J,xe){let j;const[ve,Oe,Le]=PT(J,xe);j=vd(ve.reverse(),"beforeRouteLeave",J,xe);for(const O of ve)O.leaveGuards.forEach(re=>{j.push(Ir(re,J,xe))});const F=k.bind(null,J,xe);return j.push(F),ye(j).then(()=>{j=[];for(const O of i.list())j.push(Ir(O,J,xe));return j.push(F),ye(j)}).then(()=>{j=vd(Oe,"beforeRouteUpdate",J,xe);for(const O of Oe)O.updateGuards.forEach(re=>{j.push(Ir(re,J,xe))});return j.push(F),ye(j)}).then(()=>{j=[];for(const O of Le)if(O.beforeEnter)if(So(O.beforeEnter))for(const re of O.beforeEnter)j.push(Ir(re,J,xe));else j.push(Ir(O.beforeEnter,J,xe));return j.push(F),ye(j)}).then(()=>(J.matched.forEach(O=>O.enterCallbacks={}),j=vd(Le,"beforeRouteEnter",J,xe,P),j.push(F),ye(j))).then(()=>{j=[];for(const O of a.list())j.push(Ir(O,J,xe));return j.push(F),ye(j)}).catch(O=>Xo(O,8)?O:Promise.reject(O))}function $(J,xe,j){s.list().forEach(ve=>P(()=>ve(J,xe,j)))}function R(J,xe,j,ve,Oe){const Le=C(J,xe);if(Le)return Le;const F=xe===Cr,O=na?history.state:{};j&&(ve||F?r.replace(J.fullPath,Vt({scroll:F&&O&&O.scroll},Oe)):r.push(J.fullPath,Oe)),l.value=J,B(J,xe,j,F),he()}let K;function H(){K||(K=r.listen((J,xe,j)=>{if(!ne.listening)return;const ve=b(J),Oe=x(ve);if(Oe){y(Vt(Oe,{replace:!0}),ve).catch(vs);return}c=ve;const Le=l.value;na&&GP(Rg(Le.fullPath,j.delta),ou()),T(ve,Le).catch(F=>Xo(F,12)?F:Xo(F,2)?(y(F.to,ve).then(O=>{Xo(O,20)&&!j.delta&&j.type===Bs.pop&&r.go(-1,!1)}).catch(vs),Promise.reject()):(j.delta&&r.go(-j.delta,!1),Q(F,ve,Le))).then(F=>{F=F||R(ve,Le,!1),F&&(j.delta&&!Xo(F,8)?r.go(-j.delta,!1):j.type===Bs.pop&&Xo(F,20)&&r.go(-1,!1)),$(ve,Le,F)}).catch(vs)}))}let D=Ja(),M=Ja(),Y;function Q(J,xe,j){he(J);const ve=M.list();return ve.length?ve.forEach(Oe=>Oe(J,xe,j)):console.error(J),Promise.reject(J)}function de(){return Y&&l.value!==Cr?Promise.resolve():new Promise((J,xe)=>{D.add([J,xe])})}function he(J){return Y||(Y=!J,H(),D.list().forEach(([xe,j])=>J?j(J):xe()),D.reset()),J}function B(J,xe,j,ve){const{scrollBehavior:Oe}=e;if(!na||!Oe)return Promise.resolve();const Le=!j&&YP(Rg(J.fullPath,0))||(ve||!j)&&history.state&&history.state.scroll||null;return Ht().then(()=>Oe(J,xe,Le)).then(F=>F&&KP(F)).catch(F=>Q(F,J,xe))}const E=J=>r.go(J);let A;const G=new Set,ne={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:v,getRoutes:m,resolve:b,options:e,push:S,replace:_,go:E,back:()=>E(-1),forward:()=>E(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:M.add,isReady:de,install(J){const xe=this;J.component("RouterLink",xT),J.component("RouterView",ST),J.config.globalProperties.$router=xe,Object.defineProperty(J.config.globalProperties,"$route",{enumerable:!0,get:()=>we(l)}),na&&!A&&l.value===Cr&&(A=!0,S(r.location).catch(Oe=>{}));const j={};for(const Oe in Cr)Object.defineProperty(j,Oe,{get:()=>l.value[Oe],enumerable:!0});J.provide(ru,xe),J.provide(rp,cy(j)),J.provide($f,l);const ve=J.unmount;G.add(J),J.unmount=function(){G.delete(J),G.size<1&&(c=Cr,K&&K(),K=null,l.value=Cr,A=!1,Y=!1),ve()}}};function ye(J){return J.reduce((xe,j)=>xe.then(()=>P(j)),Promise.resolve())}return ne}function PT(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;ava(c,s))?o.push(s):n.push(s));const l=e.matched[a];l&&(t.matched.find(c=>va(c,l))||r.push(l))}return[n,o,r]}function cx(){return We(ru)}function Aa(){return We(rp)}const TT="modulepreload",RT=function(e){return"/"+e},jg={},Ct=function(t,n,o){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=RT(i),i in jg)return;jg[i]=!0;const a=i.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(!!o)for(let u=r.length-1;u>=0;u--){const d=r[u];if(d.href===i&&(!a||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${s}`))return;const c=document.createElement("link");if(c.rel=a?"stylesheet":TT,a||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),a)return new Promise((u,d)=>{c.addEventListener("load",u),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})},ET=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),$T={name:"dashboard",path:"/",component:ET,redirect:"dashboard",meta:{isHidden:!1},children:[{name:"dashboard",path:"/dashboard",component:()=>Ct(()=>Promise.resolve().then(()=>oDe),void 0),meta:{title:"仪表盘",icon:"mdi:home",order:0}}]},AT=Object.freeze(Object.defineProperty({__proto__:null,default:$T},Symbol.toStringTag,{value:"Module"})),IT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),OT={name:"Invite",path:"/",component:IT,redirect:"/invite",meta:{isHidden:!1},children:[{name:"Invite",path:"invite",component:()=>Ct(()=>Promise.resolve().then(()=>BDe),void 0),meta:{title:"我的邀请",icon:"mdi:invite",order:1,group:{key:"finance",label:"财务"}}}]},MT=Object.freeze(Object.defineProperty({__proto__:null,default:OT},Symbol.toStringTag,{value:"Module"})),zT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),DT={name:"knowledge",path:"/",component:zT,redirect:"/knowledge",meta:{isHidden:!1},children:[{name:"Knowledge",path:"knowledge",component:()=>Ct(()=>Promise.resolve().then(()=>UDe),void 0),meta:{title:"使用文档",icon:"mdi-book-open-variant",order:10}}]},LT=Object.freeze(Object.defineProperty({__proto__:null,default:DT},Symbol.toStringTag,{value:"Module"})),FT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),BT={name:"Node",path:"/",component:FT,redirect:"/node",meta:{isHidden:!1},children:[{name:"Node",path:"node",component:()=>Ct(()=>Promise.resolve().then(()=>fLe),void 0),meta:{title:"节点状态",icon:"mdi-check-circle-outline",order:11,group:{key:"subscribe",label:"订阅"}}}]},NT=Object.freeze(Object.defineProperty({__proto__:null,default:BT},Symbol.toStringTag,{value:"Module"})),HT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),jT={name:"Order",path:"/",component:HT,redirect:"/order",meta:{isHidden:!1},children:[{name:"Order",path:"order",component:()=>Ct(()=>Promise.resolve().then(()=>pLe),void 0),meta:{title:"我的订单",icon:"mdi-format-list-bulleted",order:0,group:{key:"finance",label:"财务"}}},{name:"OrderDetail",path:"order/:trade_no",component:()=>Ct(()=>Promise.resolve().then(()=>U9e),void 0),meta:{title:"订单详情",icon:"mdi:doc",order:1,isHidden:!0}}]},VT=Object.freeze(Object.defineProperty({__proto__:null,default:jT},Symbol.toStringTag,{value:"Module"})),WT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),UT={name:"plan",path:"/",component:WT,redirect:"/plan",meta:{isHidden:!1},children:[{name:"Plan",path:"plan",component:()=>Ct(()=>Promise.resolve().then(()=>pFe),void 0),meta:{title:"购买订阅",icon:"mdi-shopping-outline",order:10,group:{key:"subscribe",label:"订阅"}}},{name:"PlanDetail",path:"plan/:plan_id",component:()=>Ct(()=>Promise.resolve().then(()=>VFe),void 0),meta:{title:"配置订阅",icon:"mdi:doc",order:1,isHidden:!0}}]},qT=Object.freeze(Object.defineProperty({__proto__:null,default:UT},Symbol.toStringTag,{value:"Module"})),KT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),GT={name:"profile",path:"/",component:KT,redirect:"/profile",meta:{isHidden:!1},children:[{name:"Profile",path:"profile",component:()=>Ct(()=>Promise.resolve().then(()=>h7e),void 0),meta:{title:"个人中心",icon:"mdi-account-outline",order:0,group:{key:"user",label:"用户"}}}]},YT=Object.freeze(Object.defineProperty({__proto__:null,default:GT},Symbol.toStringTag,{value:"Module"})),XT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),ZT={name:"ticket",path:"/",component:XT,redirect:"/ticket",meta:{isHidden:!1},children:[{name:"Ticket",path:"ticket",component:()=>Ct(()=>Promise.resolve().then(()=>g7e),void 0),meta:{title:"我的工单",icon:"mdi-comment-alert-outline",order:0,group:{key:"user",label:"用户"}}},{name:"TicketDetail",path:"ticket/:ticket_id",component:()=>Ct(()=>Promise.resolve().then(()=>C7e),void 0),meta:{title:"工单详情",order:0,isHidden:!0}}]},JT=Object.freeze(Object.defineProperty({__proto__:null,default:ZT},Symbol.toStringTag,{value:"Module"})),QT=()=>Ct(()=>Promise.resolve().then(()=>gr),void 0),e5={name:"traffic",path:"/",component:QT,redirect:"/traffic",meta:{isHidden:!1},children:[{name:"Traffic",path:"traffic",component:()=>Ct(()=>Promise.resolve().then(()=>_7e),void 0),meta:{title:"流量明细",icon:"mdi-poll",order:0,group:{key:"user",label:"用户"}}}]},t5=Object.freeze(Object.defineProperty({__proto__:null,default:e5},Symbol.toStringTag,{value:"Module"})),ux=[{name:"404",path:"/404",component:()=>Ct(()=>Promise.resolve().then(()=>R7e),void 0),meta:{title:"404",isHidden:!0}},{name:"LOGIN",path:"/login",component:()=>Ct(()=>Promise.resolve().then(()=>pf),void 0),meta:{title:"登录页",isHidden:!0}},{name:"Register",path:"/register",component:()=>Ct(()=>Promise.resolve().then(()=>pf),void 0),meta:{title:"注册",isHidden:!0}},{name:"forgetpassword",path:"/forgetpassword",component:()=>Ct(()=>Promise.resolve().then(()=>pf),void 0),meta:{title:"重置密码",isHidden:!0}}],n5={name:"NotFound",path:"/:pathMatch(.*)*",redirect:"/404",meta:{title:"Not Found"}},Vg=Object.assign({"/src/views/dashboard/route.ts":AT,"/src/views/invite/route.ts":MT,"/src/views/knowledge/route.ts":LT,"/src/views/node/route.ts":NT,"/src/views/order/route.ts":VT,"/src/views/plan/route.ts":qT,"/src/views/profile/route.ts":YT,"/src/views/ticket/route.ts":JT,"/src/views/traffic/route.ts":t5}),dx=[];Object.keys(Vg).forEach(e=>{dx.push(Vg[e].default)});function o5(e){e.beforeEach(()=>{var t;(t=window.$loadingBar)==null||t.start()}),e.afterEach(()=>{setTimeout(()=>{var t;(t=window.$loadingBar)==null||t.finish()},200)}),e.onError(()=>{var t;(t=window.$loadingBar)==null||t.error()})}var H1;const Wg=((H1=window.settings)==null?void 0:H1.title)||"Xboard";function r5(e){e.afterEach(t=>{var o;const n=(o=t.meta)==null?void 0:o.title;n?document.title=`${n} | ${Wg}`:document.title=Wg})}var i5=!1;/*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let ix;const ru=e=>ix=e,ax=Symbol();function $f(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ys;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ys||(ys={}));function JP(){const e=Mh(!0),t=e.run(()=>F({}));let n=[],o=[];const r=va({install(i){ru(r),r._a=i,i.provide(ax,r),i.config.globalProperties.$pinia=r,o.forEach(a=>n.push(a)),o=[]},use(i){return!this._a&&!ZP?o.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const sx=()=>{};function Vg(e,t,n,o=sx){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),o())};return!n&&zh()&&G1(r),r}function Xi(e,...t){e.slice().forEach(n=>{n(...t)})}const QP=e=>e();function Ef(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];$f(r)&&$f(o)&&e.hasOwnProperty(n)&&!dn(o)&&!Dr(o)?e[n]=Ef(r,o):e[n]=o}return e}const eT=Symbol();function tT(e){return!$f(e)||!e.hasOwnProperty(eT)}const{assign:Tr}=Object;function nT(e){return!!(dn(e)&&e.effect)}function oT(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=S3(n.state.value[e]);return Tr(u,i,Object.keys(a||{}).reduce((d,f)=>(d[f]=va(L(()=>{ru(n);const p=n._s.get(e);return a[f].call(p,p)})),d),{}))}return l=lx(e,c,t,n,o,!0),l}function lx(e,t,n={},o,r,i){let a;const s=Tr({actions:{}},n),l={deep:!0};let c,u,d=[],f=[],p;const h=o.state.value[e];!i&&!h&&(o.state.value[e]={}),F({});let g;function b(k){let R;c=u=!1,typeof k=="function"?(k(o.state.value[e]),R={type:ys.patchFunction,storeId:e,events:p}):(Ef(o.state.value[e],k),R={type:ys.patchObject,payload:k,storeId:e,events:p});const $=g=Symbol();jt().then(()=>{g===$&&(c=!0)}),u=!0,Xi(d,R,o.state.value[e])}const m=i?function(){const{state:R}=n,$=R?R():{};this.$patch(I=>{Tr(I,$)})}:sx;function x(){a.stop(),d=[],f=[],o._s.delete(e)}function S(k,R){return function(){ru(o);const $=Array.from(arguments),I=[],A=[];function K(D){I.push(D)}function B(D){A.push(D)}Xi(f,{args:$,name:k,store:w,after:K,onError:B});let M;try{M=R.apply(this&&this.$id===e?this:w,$)}catch(D){throw Xi(A,D),D}return M instanceof Promise?M.then(D=>(Xi(I,D),D)).catch(D=>(Xi(A,D),Promise.reject(D))):(Xi(I,M),M)}}const _={_p:o,$id:e,$onAction:Vg.bind(null,f),$patch:b,$reset:m,$subscribe(k,R={}){const $=Vg(d,k,R.detached,()=>I()),I=a.run(()=>ht(()=>o.state.value[e],A=>{(R.flush==="sync"?u:c)&&k({storeId:e,type:ys.direct,events:p},A)},Tr({},l,R)));return $},$dispose:x},w=xo(_);o._s.set(e,w);const y=(o._a&&o._a.runWithContext||QP)(()=>o._e.run(()=>(a=Mh()).run(t)));for(const k in y){const R=y[k];if(dn(R)&&!nT(R)||Dr(R))i||(h&&tT(R)&&(dn(R)?R.value=h[k]:Ef(R,h[k])),o.state.value[e][k]=R);else if(typeof R=="function"){const $=S(k,R);y[k]=$,s.actions[k]=R}}return Tr(w,y),Tr(At(w),y),Object.defineProperty(w,"$state",{get:()=>o.state.value[e],set:k=>{b(R=>{Tr(R,k)})}}),o._p.forEach(k=>{Tr(w,a.run(()=>k({store:w,app:o._a,pinia:o,options:s})))}),h&&i&&n.hydrate&&n.hydrate(w.$state,h),c=!0,u=!0,w}function iu(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=i4();return s=s||(c?We(ax,null):null),s&&ru(s),s=ix,s._s.has(o)||(i?lx(o,t,r,s):oT(o,r,s)),s._s.get(o)}return a.$id=o,a}function cx(e,t){return function(){return e.apply(t,arguments)}}const{toString:rT}=Object.prototype,{getPrototypeOf:rp}=Object,au=(e=>t=>{const n=rT.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ko=e=>(e=e.toLowerCase(),t=>au(t)===e),su=e=>t=>typeof t===e,{isArray:Da}=Array,Fs=su("undefined");function iT(e){return e!==null&&!Fs(e)&&e.constructor!==null&&!Fs(e.constructor)&&ro(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ux=Ko("ArrayBuffer");function aT(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ux(e.buffer),t}const sT=su("string"),ro=su("function"),dx=su("number"),lu=e=>e!==null&&typeof e=="object",lT=e=>e===!0||e===!1,ec=e=>{if(au(e)!=="object")return!1;const t=rp(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},cT=Ko("Date"),uT=Ko("File"),dT=Ko("Blob"),fT=Ko("FileList"),hT=e=>lu(e)&&ro(e.pipe),pT=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ro(e.append)&&((t=au(e))==="formdata"||t==="object"&&ro(e.toString)&&e.toString()==="[object FormData]"))},mT=Ko("URLSearchParams"),gT=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Js(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,r;if(typeof e!="object"&&(e=[e]),Da(e))for(o=0,r=e.length;o0;)if(r=n[o],t===r.toLowerCase())return r;return null}const hx=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),px=e=>!Fs(e)&&e!==hx;function Af(){const{caseless:e}=px(this)&&this||{},t={},n=(o,r)=>{const i=e&&fx(t,r)||r;ec(t[i])&&ec(o)?t[i]=Af(t[i],o):ec(o)?t[i]=Af({},o):Da(o)?t[i]=o.slice():t[i]=o};for(let o=0,r=arguments.length;o(Js(t,(r,i)=>{n&&ro(r)?e[i]=cx(r,n):e[i]=r},{allOwnKeys:o}),e),bT=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),yT=(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)},xT=(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&&rp(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},CT=(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},wT=e=>{if(!e)return null;if(Da(e))return e;let t=e.length;if(!dx(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},_T=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&rp(Uint8Array)),ST=(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])}},kT=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},PT=Ko("HTMLFormElement"),TT=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,r){return o.toUpperCase()+r}),Wg=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),RT=Ko("RegExp"),mx=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};Js(n,(r,i)=>{let a;(a=t(r,i,e))!==!1&&(o[i]=a||r)}),Object.defineProperties(e,o)},$T=e=>{mx(e,(t,n)=>{if(ro(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(ro(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ET=(e,t)=>{const n={},o=r=>{r.forEach(i=>{n[i]=!0})};return Da(e)?o(e):o(String(e).split(t)),n},AT=()=>{},IT=(e,t)=>(e=+e,Number.isFinite(e)?e:t),bd="abcdefghijklmnopqrstuvwxyz",Ug="0123456789",gx={DIGIT:Ug,ALPHA:bd,ALPHA_DIGIT:bd+bd.toUpperCase()+Ug},OT=(e=16,t=gx.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n};function MT(e){return!!(e&&ro(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const zT=e=>{const t=new Array(10),n=(o,r)=>{if(lu(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[r]=o;const i=Da(o)?[]:{};return Js(o,(a,s)=>{const l=n(a,r+1);!Fs(l)&&(i[s]=l)}),t[r]=void 0,i}}return o};return n(e,0)},DT=Ko("AsyncFunction"),LT=e=>e&&(lu(e)||ro(e))&&ro(e.then)&&ro(e.catch),Oe={isArray:Da,isArrayBuffer:ux,isBuffer:iT,isFormData:pT,isArrayBufferView:aT,isString:sT,isNumber:dx,isBoolean:lT,isObject:lu,isPlainObject:ec,isUndefined:Fs,isDate:cT,isFile:uT,isBlob:dT,isRegExp:RT,isFunction:ro,isStream:hT,isURLSearchParams:mT,isTypedArray:_T,isFileList:fT,forEach:Js,merge:Af,extend:vT,trim:gT,stripBOM:bT,inherits:yT,toFlatObject:xT,kindOf:au,kindOfTest:Ko,endsWith:CT,toArray:wT,forEachEntry:ST,matchAll:kT,isHTMLForm:PT,hasOwnProperty:Wg,hasOwnProp:Wg,reduceDescriptors:mx,freezeMethods:$T,toObjectSet:ET,toCamelCase:TT,noop:AT,toFiniteNumber:IT,findKey:fx,global:hx,isContextDefined:px,ALPHABET:gx,generateString:OT,isSpecCompliantForm:MT,toJSONObject:zT,isAsyncFn:DT,isThenable:LT};function It(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)}Oe.inherits(It,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:Oe.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const vx=It.prototype,bx={};["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=>{bx[e]={value:e}});Object.defineProperties(It,bx);Object.defineProperty(vx,"isAxiosError",{value:!0});It.from=(e,t,n,o,r,i)=>{const a=Object.create(vx);return Oe.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),It.call(a,e.message,t,n,o,r),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const FT=null;function If(e){return Oe.isPlainObject(e)||Oe.isArray(e)}function yx(e){return Oe.endsWith(e,"[]")?e.slice(0,-2):e}function qg(e,t,n){return e?e.concat(t).map(function(r,i){return r=yx(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function BT(e){return Oe.isArray(e)&&!e.some(If)}const NT=Oe.toFlatObject(Oe,{},null,function(t){return/^is[A-Z]/.test(t)});function cu(e,t,n){if(!Oe.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Oe.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,b){return!Oe.isUndefined(b[g])});const o=n.metaTokens,r=n.visitor||u,i=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Oe.isSpecCompliantForm(t);if(!Oe.isFunction(r))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(Oe.isDate(h))return h.toISOString();if(!l&&Oe.isBlob(h))throw new It("Blob is not supported. Use a Buffer instead.");return Oe.isArrayBuffer(h)||Oe.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,g,b){let m=h;if(h&&!b&&typeof h=="object"){if(Oe.endsWith(g,"{}"))g=o?g:g.slice(0,-2),h=JSON.stringify(h);else if(Oe.isArray(h)&&BT(h)||(Oe.isFileList(h)||Oe.endsWith(g,"[]"))&&(m=Oe.toArray(h)))return g=yx(g),m.forEach(function(S,_){!(Oe.isUndefined(S)||S===null)&&t.append(a===!0?qg([g],_,i):a===null?g:g+"[]",c(S))}),!1}return If(h)?!0:(t.append(qg(b,g,i),c(h)),!1)}const d=[],f=Object.assign(NT,{defaultVisitor:u,convertValue:c,isVisitable:If});function p(h,g){if(!Oe.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+g.join("."));d.push(h),Oe.forEach(h,function(m,x){(!(Oe.isUndefined(m)||m===null)&&r.call(t,m,Oe.isString(x)?x.trim():x,g,f))===!0&&p(m,g?g.concat(x):[x])}),d.pop()}}if(!Oe.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Kg(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function ip(e,t){this._pairs=[],e&&cu(e,this,t)}const xx=ip.prototype;xx.append=function(t,n){this._pairs.push([t,n])};xx.toString=function(t){const n=t?function(o){return t.call(this,o,Kg)}:Kg;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function HT(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Cx(e,t,n){if(!t)return e;const o=n&&n.encode||HT,r=n&&n.serialize;let i;if(r?i=r(t,n):i=Oe.isURLSearchParams(t)?t.toString():new ip(t,n).toString(o),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class jT{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){Oe.forEach(this.handlers,function(o){o!==null&&t(o)})}}const Gg=jT,wx={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},VT=typeof URLSearchParams<"u"?URLSearchParams:ip,WT=typeof FormData<"u"?FormData:null,UT=typeof Blob<"u"?Blob:null,qT={isBrowser:!0,classes:{URLSearchParams:VT,FormData:WT,Blob:UT},protocols:["http","https","file","blob","url","data"]},_x=typeof window<"u"&&typeof document<"u",KT=(e=>_x&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),GT=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),YT=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:_x,hasStandardBrowserEnv:KT,hasStandardBrowserWebWorkerEnv:GT},Symbol.toStringTag,{value:"Module"})),Mo={...YT,...qT};function XT(e,t){return cu(e,new Mo.classes.URLSearchParams,Object.assign({visitor:function(n,o,r,i){return Mo.isNode&&Oe.isBuffer(n)?(this.append(o,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function ZT(e){return Oe.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function JT(e){const t={},n=Object.keys(e);let o;const r=n.length;let i;for(o=0;o=n.length;return a=!a&&Oe.isArray(r)?r.length:a,l?(Oe.hasOwnProp(r,a)?r[a]=[r[a],o]:r[a]=o,!s):((!r[a]||!Oe.isObject(r[a]))&&(r[a]=[]),t(n,o,r[a],i)&&Oe.isArray(r[a])&&(r[a]=JT(r[a])),!s)}if(Oe.isFormData(e)&&Oe.isFunction(e.entries)){const n={};return Oe.forEachEntry(e,(o,r)=>{t(ZT(o),r,n,0)}),n}return null}function QT(e,t,n){if(Oe.isString(e))try{return(t||JSON.parse)(e),Oe.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const ap={transitional:wx,adapter:["xhr","http"],transformRequest:[function(t,n){const o=n.getContentType()||"",r=o.indexOf("application/json")>-1,i=Oe.isObject(t);if(i&&Oe.isHTMLForm(t)&&(t=new FormData(t)),Oe.isFormData(t))return r&&r?JSON.stringify(Sx(t)):t;if(Oe.isArrayBuffer(t)||Oe.isBuffer(t)||Oe.isStream(t)||Oe.isFile(t)||Oe.isBlob(t))return t;if(Oe.isArrayBufferView(t))return t.buffer;if(Oe.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 XT(t,this.formSerializer).toString();if((s=Oe.isFileList(t))||o.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return cu(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),QT(t)):t}],transformResponse:[function(t){const n=this.transitional||ap.transitional,o=n&&n.forcedJSONParsing,r=this.responseType==="json";if(t&&Oe.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"?It.from(s,It.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:Mo.classes.FormData,Blob:Mo.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Oe.forEach(["delete","get","head","post","put","patch"],e=>{ap.headers[e]={}});const sp=ap,eR=Oe.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"]),tR=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]&&eR[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},Yg=Symbol("internals");function ns(e){return e&&String(e).trim().toLowerCase()}function tc(e){return e===!1||e==null?e:Oe.isArray(e)?e.map(tc):String(e)}function nR(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}const oR=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function yd(e,t,n,o,r){if(Oe.isFunction(o))return o.call(this,t,n);if(r&&(t=n),!!Oe.isString(t)){if(Oe.isString(o))return t.indexOf(o)!==-1;if(Oe.isRegExp(o))return o.test(t)}}function rR(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function iR(e,t){const n=Oe.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 uu{constructor(t){t&&this.set(t)}set(t,n,o){const r=this;function i(s,l,c){const u=ns(l);if(!u)throw new Error("header name must be a non-empty string");const d=Oe.findKey(r,u);(!d||r[d]===void 0||c===!0||c===void 0&&r[d]!==!1)&&(r[d||l]=tc(s))}const a=(s,l)=>Oe.forEach(s,(c,u)=>i(c,u,l));return Oe.isPlainObject(t)||t instanceof this.constructor?a(t,n):Oe.isString(t)&&(t=t.trim())&&!oR(t)?a(tR(t),n):t!=null&&i(n,t,o),this}get(t,n){if(t=ns(t),t){const o=Oe.findKey(this,t);if(o){const r=this[o];if(!n)return r;if(n===!0)return nR(r);if(Oe.isFunction(n))return n.call(this,r,o);if(Oe.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ns(t),t){const o=Oe.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||yd(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let r=!1;function i(a){if(a=ns(a),a){const s=Oe.findKey(o,a);s&&(!n||yd(o,o[s],s,n))&&(delete o[s],r=!0)}}return Oe.isArray(t)?t.forEach(i):i(t),r}clear(t){const n=Object.keys(this);let o=n.length,r=!1;for(;o--;){const i=n[o];(!t||yd(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,o={};return Oe.forEach(this,(r,i)=>{const a=Oe.findKey(o,i);if(a){n[a]=tc(r),delete n[i];return}const s=t?rR(i):String(i).trim();s!==i&&delete n[i],n[s]=tc(r),o[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Oe.forEach(this,(o,r)=>{o!=null&&o!==!1&&(n[r]=t&&Oe.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[Yg]=this[Yg]={accessors:{}}).accessors,r=this.prototype;function i(a){const s=ns(a);o[s]||(iR(r,a),o[s]=!0)}return Oe.isArray(t)?t.forEach(i):i(t),this}}uu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Oe.reduceDescriptors(uu.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});Oe.freezeMethods(uu);const ir=uu;function xd(e,t){const n=this||sp,o=t||n,r=ir.from(o.headers);let i=o.data;return Oe.forEach(e,function(s){i=s.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function kx(e){return!!(e&&e.__CANCEL__)}function Qs(e,t,n){It.call(this,e??"canceled",It.ERR_CANCELED,t,n),this.name="CanceledError"}Oe.inherits(Qs,It,{__CANCEL__:!0});function aR(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new It("Request failed with status code "+n.status,[It.ERR_BAD_REQUEST,It.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const sR=Mo.hasStandardBrowserEnv?{write(e,t,n,o,r,i){const a=[e+"="+encodeURIComponent(t)];Oe.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Oe.isString(o)&&a.push("path="+o),Oe.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 lR(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function cR(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Px(e,t){return e&&!lR(t)?cR(e,t):t}const uR=Mo.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=Oe.isString(a)?r(a):a;return s.protocol===o.protocol&&s.host===o.host}}():function(){return function(){return!0}}();function dR(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function fR(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 hR=typeof XMLHttpRequest<"u",pR=hR&&function(e){return new Promise(function(n,o){let r=e.data;const i=ir.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(Oe.isFormData(r)){if(Mo.hasStandardBrowserEnv||Mo.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((u=i.getContentType())!==!1){const[g,...b]=u?u.split(";").map(m=>m.trim()).filter(Boolean):[];i.setContentType([g||"multipart/form-data",...b].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const g=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(g+":"+b))}const f=Px(e.baseURL,e.url);d.open(e.method.toUpperCase(),Cx(f,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function p(){if(!d)return;const g=ir.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),m={data:!a||a==="text"||a==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:g,config:e,request:d};aR(function(S){n(S),c()},function(S){o(S),c()},m),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 It("Request aborted",It.ECONNABORTED,e,d)),d=null)},d.onerror=function(){o(new It("Network Error",It.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let b=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const m=e.transitional||wx;e.timeoutErrorMessage&&(b=e.timeoutErrorMessage),o(new It(b,m.clarifyTimeoutError?It.ETIMEDOUT:It.ECONNABORTED,e,d)),d=null},Mo.hasStandardBrowserEnv&&(s&&Oe.isFunction(s)&&(s=s(e)),s||s!==!1&&uR(f))){const g=e.xsrfHeaderName&&e.xsrfCookieName&&sR.read(e.xsrfCookieName);g&&i.set(e.xsrfHeaderName,g)}r===void 0&&i.setContentType(null),"setRequestHeader"in d&&Oe.forEach(i.toJSON(),function(b,m){d.setRequestHeader(m,b)}),Oe.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),a&&a!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",Xg(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Xg(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=g=>{d&&(o(!g||g.type?new Qs(null,e,d):g),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const h=dR(f);if(h&&Mo.protocols.indexOf(h)===-1){o(new It("Unsupported protocol "+h+":",It.ERR_BAD_REQUEST,e));return}d.send(r||null)})},Of={http:FT,xhr:pR};Oe.forEach(Of,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Zg=e=>`- ${e}`,mR=e=>Oe.isFunction(e)||e===null||e===!1,Tx={getAdapter:e=>{e=Oe.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(Zg).join(` -`):" "+Zg(i[0]):"as no adapter specified";throw new It("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o},adapters:Of};function Cd(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Qs(null,e)}function Jg(e){return Cd(e),e.headers=ir.from(e.headers),e.data=xd.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Tx.getAdapter(e.adapter||sp.adapter)(e).then(function(o){return Cd(e),o.data=xd.call(e,e.transformResponse,o),o.headers=ir.from(o.headers),o},function(o){return kx(o)||(Cd(e),o&&o.response&&(o.response.data=xd.call(e,e.transformResponse,o.response),o.response.headers=ir.from(o.response.headers))),Promise.reject(o)})}const Qg=e=>e instanceof ir?e.toJSON():e;function wa(e,t){t=t||{};const n={};function o(c,u,d){return Oe.isPlainObject(c)&&Oe.isPlainObject(u)?Oe.merge.call({caseless:d},c,u):Oe.isPlainObject(u)?Oe.merge({},u):Oe.isArray(u)?u.slice():u}function r(c,u,d){if(Oe.isUndefined(u)){if(!Oe.isUndefined(c))return o(void 0,c,d)}else return o(c,u,d)}function i(c,u){if(!Oe.isUndefined(u))return o(void 0,u)}function a(c,u){if(Oe.isUndefined(u)){if(!Oe.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 Oe.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||r,f=d(e[u],t[u],u);Oe.isUndefined(f)&&d!==s||(n[u]=f)}),n}const Rx="1.6.5",lp={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{lp[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const ev={};lp.transitional=function(t,n,o){function r(i,a){return"[Axios v"+Rx+"] Transitional option '"+i+"'"+a+(o?". "+o:"")}return(i,a,s)=>{if(t===!1)throw new It(r(a," has been removed"+(n?" in "+n:"")),It.ERR_DEPRECATED);return n&&!ev[a]&&(ev[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 gR(e,t,n){if(typeof e!="object")throw new It("options must be an object",It.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 It("option "+i+" must be "+l,It.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new It("Unknown option "+i,It.ERR_BAD_OPTION)}}const Mf={assertOptions:gR,validators:lp},Cr=Mf.validators;class yc{constructor(t){this.defaults=t,this.interceptors={request:new Gg,response:new Gg}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=wa(this.defaults,n);const{transitional:o,paramsSerializer:r,headers:i}=n;o!==void 0&&Mf.assertOptions(o,{silentJSONParsing:Cr.transitional(Cr.boolean),forcedJSONParsing:Cr.transitional(Cr.boolean),clarifyTimeoutError:Cr.transitional(Cr.boolean)},!1),r!=null&&(Oe.isFunction(r)?n.paramsSerializer={serialize:r}:Mf.assertOptions(r,{encode:Cr.function,serialize:Cr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&Oe.merge(i.common,i[n.method]);i&&Oe.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=ir.concat(a,i);const s=[];let l=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(l=l&&g.synchronous,s.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let u,d=0,f;if(!l){const h=[Jg.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 Qs(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 cp(function(r){t=r}),cancel:t}}}const vR=cp;function bR(e){return function(n){return e.apply(null,n)}}function yR(e){return Oe.isObject(e)&&e.isAxiosError===!0}const zf={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(zf).forEach(([e,t])=>{zf[t]=e});const xR=zf;function $x(e){const t=new nc(e),n=cx(nc.prototype.request,t);return Oe.extend(n,nc.prototype,t,{allOwnKeys:!0}),Oe.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return $x(wa(e,r))},n}const vn=$x(sp);vn.Axios=nc;vn.CanceledError=Qs;vn.CancelToken=vR;vn.isCancel=kx;vn.VERSION=Rx;vn.toFormData=cu;vn.AxiosError=It;vn.Cancel=vn.CanceledError;vn.all=function(t){return Promise.all(t)};vn.spread=bR;vn.isAxiosError=yR;vn.mergeConfig=wa;vn.AxiosHeaders=ir;vn.formToJSON=e=>Sx(Oe.isHTMLForm(e)?new FormData(e):e);vn.getAdapter=Tx.getAdapter;vn.HttpStatusCode=xR;vn.default=vn;const CR=vn,wR=[{url:"/passport/auth/login",method:"POST"},{url:"/passport/auth/token2Login",method:"GET"},{url:"/passport/auth/register",method:"POST"},{url:"/passport/auth/register",method:"POST"},{url:"/guest/comm/config",method:"GET"},{url:"/passport/comm/sendEmailVerify",method:"POST"},{url:"/passport/auth/forget",method:"POST"}];function _R({url:e,method:t=""}){return wR.some(n=>n.url===e.split("?")[0]&&n.method===t.toUpperCase())}function SR(e){return typeof e>"u"}function kR(e){return e===null}function PR(e){return kR(e)||SR(e)}function Ex(e){try{if(typeof JSON.parse(e)=="object")return!0}catch{return!1}}class TR{constructor(t){rd(this,"storage");rd(this,"prefixKey");this.storage=t.storage,this.prefixKey=t.prefixKey}getKey(t){return`${this.prefixKey}${t}`.toUpperCase()}set(t,n,o=null){const r=JSON.stringify({value:n,time:Date.now(),expire:o!==null?new Date().getTime()+o*1e3:null});this.storage.setItem(this.getKey(t),r)}get(t,n=null){const o=this.storage.getItem(this.getKey(t));if(!o)return{value:n,time:0};try{const r=JSON.parse(o),{value:i,time:a,expire:s}=r;return PR(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 Ax({prefixKey:e="",storage:t=sessionStorage}){return new TR({prefixKey:e,storage:t})}const Ix="Vue_Naive_",RR=function(e={}){return Ax({prefixKey:e.prefixKey||"",storage:localStorage})},$R=function(e={}){return Ax({prefixKey:e.prefixKey||"",storage:sessionStorage})},Ai=RR({prefixKey:Ix}),xc=$R({prefixKey:Ix}),up="access_token",ER=72*60*60;function Ox(){return Ai.get(up)}function AR(e){Ai.set(up,e,ER)}function Mx(){Ai.remove(up)}function dp(){const e=he(Zt.currentRoute),t=!e.meta.requireAuth&&!["/404","/login"].includes(Zt.currentRoute.value.path);Zt.replace({path:"/login",query:t?{...e.query,redirect:e.path}:{}})}var zx=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function IR(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 Dx={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(zx,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",g="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|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,x={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 M=["th","st","nd","rd"],D=B%100;return"["+B+(M[(D-20)%10]||M[D]||M[0])+"]"}},S=function(B,M,D){var Y=String(B);return!Y||Y.length>=M?B:""+Array(M+1-Y.length).join(D)+B},_={s:S,z:function(B){var M=-B.utcOffset(),D=Math.abs(M),Y=Math.floor(D/60),Q=D%60;return(M<=0?"+":"-")+S(Y,2,"0")+":"+S(Q,2,"0")},m:function B(M,D){if(M.date()1)return B(le[0])}else{var N=M.name;C[N]=M,Q=N}return!Y&&Q&&(w=Q),Q||!Y&&w},$=function(B,M){if(k(B))return B.clone();var D=typeof M=="object"?M:{};return D.date=B,D.args=arguments,new A(D)},I=_;I.l=R,I.i=k,I.w=function(B,M){return $(B,{locale:M.$L,utc:M.$u,x:M.$x,$offset:M.$offset})};var A=function(){function B(D){this.$L=R(D.locale,null,!0),this.parse(D),this.$x=this.$x||D.x||{},this[y]=!0}var M=B.prototype;return M.parse=function(D){this.$d=function(Y){var Q=Y.date,ue=Y.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 le=Q.match(b);if(le){var N=le[2]-1||0,E=(le[7]||"0").substring(0,3);return ue?new Date(Date.UTC(le[1],N,le[3]||1,le[4]||0,le[5]||0,le[6]||0,E)):new Date(le[1],N,le[3]||1,le[4]||0,le[5]||0,le[6]||0,E)}}return new Date(Q)}(D),this.init()},M.init=function(){var D=this.$d;this.$y=D.getFullYear(),this.$M=D.getMonth(),this.$D=D.getDate(),this.$W=D.getDay(),this.$H=D.getHours(),this.$m=D.getMinutes(),this.$s=D.getSeconds(),this.$ms=D.getMilliseconds()},M.$utils=function(){return I},M.isValid=function(){return this.$d.toString()!==g},M.isSame=function(D,Y){var Q=$(D);return this.startOf(Y)<=Q&&Q<=this.endOf(Y)},M.isAfter=function(D,Y){return $(D)fx=e,hx=Symbol();function Af(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ys;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ys||(ys={}));function a5(){const e=Dh(!0),t=e.run(()=>W({}));let n=[],o=[];const r=$s({install(i){iu(r),r._a=i,i.provide(hx,r),i.config.globalProperties.$pinia=r,o.forEach(a=>n.push(a)),o=[]},use(i){return!this._a&&!i5?o.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const px=()=>{};function Ug(e,t,n,o=px){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),o())};return!n&&Lh()&&Z1(r),r}function Yi(e,...t){e.slice().forEach(n=>{n(...t)})}const s5=e=>e();function If(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,o)=>e.set(o,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];Af(r)&&Af(o)&&e.hasOwnProperty(n)&&!cn(o)&&!yi(o)?e[n]=If(r,o):e[n]=o}return e}const l5=Symbol();function c5(e){return!Af(e)||!e.hasOwnProperty(l5)}const{assign:Tr}=Object;function u5(e){return!!(cn(e)&&e.effect)}function d5(e,t,n,o){const{state:r,actions:i,getters:a}=t,s=n.state.value[e];let l;function c(){s||(n.state.value[e]=r?r():{});const u=A3(n.state.value[e]);return Tr(u,i,Object.keys(a||{}).reduce((d,f)=>(d[f]=$s(L(()=>{iu(n);const p=n._s.get(e);return a[f].call(p,p)})),d),{}))}return l=mx(e,c,t,n,o,!0),l}function mx(e,t,n={},o,r,i){let a;const s=Tr({actions:{}},n),l={deep:!0};let c,u,d=[],f=[],p;const h=o.state.value[e];!i&&!h&&(o.state.value[e]={}),W({});let m;function v(k){let P;c=u=!1,typeof k=="function"?(k(o.state.value[e]),P={type:ys.patchFunction,storeId:e,events:p}):(If(o.state.value[e],k),P={type:ys.patchObject,payload:k,storeId:e,events:p});const T=m=Symbol();Ht().then(()=>{m===T&&(c=!0)}),u=!0,Yi(d,P,o.state.value[e])}const b=i?function(){const{state:P}=n,T=P?P():{};this.$patch($=>{Tr($,T)})}:px;function w(){a.stop(),d=[],f=[],o._s.delete(e)}function C(k,P){return function(){iu(o);const T=Array.from(arguments),$=[],R=[];function K(M){$.push(M)}function H(M){R.push(M)}Yi(f,{args:T,name:k,store:_,after:K,onError:H});let D;try{D=P.apply(this&&this.$id===e?this:_,T)}catch(M){throw Yi(R,M),M}return D instanceof Promise?D.then(M=>(Yi($,M),M)).catch(M=>(Yi(R,M),Promise.reject(M))):(Yi($,D),D)}}const S={_p:o,$id:e,$onAction:Ug.bind(null,f),$patch:v,$reset:b,$subscribe(k,P={}){const T=Ug(d,k,P.detached,()=>$()),$=a.run(()=>ft(()=>o.state.value[e],R=>{(P.flush==="sync"?u:c)&&k({storeId:e,type:ys.direct,events:p},R)},Tr({},l,P)));return T},$dispose:w},_=Zn(S);o._s.set(e,_);const y=(o._a&&o._a.runWithContext||s5)(()=>o._e.run(()=>(a=Dh()).run(t)));for(const k in y){const P=y[k];if(cn(P)&&!u5(P)||yi(P))i||(h&&c5(P)&&(cn(P)?P.value=h[k]:If(P,h[k])),o.state.value[e][k]=P);else if(typeof P=="function"){const T=C(k,P);y[k]=T,s.actions[k]=P}}return Tr(_,y),Tr($t(_),y),Object.defineProperty(_,"$state",{get:()=>o.state.value[e],set:k=>{v(P=>{Tr(P,k)})}}),o._p.forEach(k=>{Tr(_,a.run(()=>k({store:_,app:o._a,pinia:o,options:s})))}),h&&i&&n.hydrate&&n.hydrate(_.$state,h),c=!0,u=!0,_}function au(e,t,n){let o,r;const i=typeof t=="function";typeof e=="string"?(o=e,r=i?n:t):(r=e,o=e.id);function a(s,l){const c=f4();return s=s||(c?We(hx,null):null),s&&iu(s),s=fx,s._s.has(o)||(i?mx(o,t,r,s):d5(o,r,s)),s._s.get(o)}return a.$id=o,a}function gx(e,t){return function(){return e.apply(t,arguments)}}const{toString:f5}=Object.prototype,{getPrototypeOf:ip}=Object,su=(e=>t=>{const n=f5.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Uo=e=>(e=e.toLowerCase(),t=>su(t)===e),lu=e=>t=>typeof t===e,{isArray:Ia}=Array,Ns=lu("undefined");function h5(e){return e!==null&&!Ns(e)&&e.constructor!==null&&!Ns(e.constructor)&&ro(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const vx=Uo("ArrayBuffer");function p5(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&vx(e.buffer),t}const m5=lu("string"),ro=lu("function"),bx=lu("number"),cu=e=>e!==null&&typeof e=="object",g5=e=>e===!0||e===!1,tc=e=>{if(su(e)!=="object")return!1;const t=ip(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},v5=Uo("Date"),b5=Uo("File"),y5=Uo("Blob"),x5=Uo("FileList"),C5=e=>cu(e)&&ro(e.pipe),w5=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ro(e.append)&&((t=su(e))==="formdata"||t==="object"&&ro(e.toString)&&e.toString()==="[object FormData]"))},_5=Uo("URLSearchParams"),S5=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function el(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,r;if(typeof e!="object"&&(e=[e]),Ia(e))for(o=0,r=e.length;o0;)if(r=n[o],t===r.toLowerCase())return r;return null}const xx=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Cx=e=>!Ns(e)&&e!==xx;function Of(){const{caseless:e}=Cx(this)&&this||{},t={},n=(o,r)=>{const i=e&&yx(t,r)||r;tc(t[i])&&tc(o)?t[i]=Of(t[i],o):tc(o)?t[i]=Of({},o):Ia(o)?t[i]=o.slice():t[i]=o};for(let o=0,r=arguments.length;o(el(t,(r,i)=>{n&&ro(r)?e[i]=gx(r,n):e[i]=r},{allOwnKeys:o}),e),P5=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),T5=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},R5=(e,t,n,o)=>{let r,i,a;const s={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)a=r[i],(!o||o(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&ip(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},E5=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n},$5=e=>{if(!e)return null;if(Ia(e))return e;let t=e.length;if(!bx(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},A5=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ip(Uint8Array)),I5=(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=o.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},O5=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},M5=Uo("HTMLFormElement"),z5=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,r){return o.toUpperCase()+r}),qg=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),D5=Uo("RegExp"),wx=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};el(n,(r,i)=>{let a;(a=t(r,i,e))!==!1&&(o[i]=a||r)}),Object.defineProperties(e,o)},L5=e=>{wx(e,(t,n)=>{if(ro(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(ro(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},F5=(e,t)=>{const n={},o=r=>{r.forEach(i=>{n[i]=!0})};return Ia(e)?o(e):o(String(e).split(t)),n},B5=()=>{},N5=(e,t)=>(e=+e,Number.isFinite(e)?e:t),bd="abcdefghijklmnopqrstuvwxyz",Kg="0123456789",_x={DIGIT:Kg,ALPHA:bd,ALPHA_DIGIT:bd+bd.toUpperCase()+Kg},H5=(e=16,t=_x.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n};function j5(e){return!!(e&&ro(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const V5=e=>{const t=new Array(10),n=(o,r)=>{if(cu(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[r]=o;const i=Ia(o)?[]:{};return el(o,(a,s)=>{const l=n(a,r+1);!Ns(l)&&(i[s]=l)}),t[r]=void 0,i}}return o};return n(e,0)},W5=Uo("AsyncFunction"),U5=e=>e&&(cu(e)||ro(e))&&ro(e.then)&&ro(e.catch),Ie={isArray:Ia,isArrayBuffer:vx,isBuffer:h5,isFormData:w5,isArrayBufferView:p5,isString:m5,isNumber:bx,isBoolean:g5,isObject:cu,isPlainObject:tc,isUndefined:Ns,isDate:v5,isFile:b5,isBlob:y5,isRegExp:D5,isFunction:ro,isStream:C5,isURLSearchParams:_5,isTypedArray:A5,isFileList:x5,forEach:el,merge:Of,extend:k5,trim:S5,stripBOM:P5,inherits:T5,toFlatObject:R5,kindOf:su,kindOfTest:Uo,endsWith:E5,toArray:$5,forEachEntry:I5,matchAll:O5,isHTMLForm:M5,hasOwnProperty:qg,hasOwnProp:qg,reduceDescriptors:wx,freezeMethods:L5,toObjectSet:F5,toCamelCase:z5,noop:B5,toFiniteNumber:N5,findKey:yx,global:xx,isContextDefined:Cx,ALPHABET:_x,generateString:H5,isSpecCompliantForm:j5,toJSONObject:V5,isAsyncFn:W5,isThenable:U5};function At(e,t,n,o,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),o&&(this.request=o),r&&(this.response=r)}Ie.inherits(At,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Ie.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Sx=At.prototype,kx={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{kx[e]={value:e}});Object.defineProperties(At,kx);Object.defineProperty(Sx,"isAxiosError",{value:!0});At.from=(e,t,n,o,r,i)=>{const a=Object.create(Sx);return Ie.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),At.call(a,e.message,t,n,o,r),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const q5=null;function Mf(e){return Ie.isPlainObject(e)||Ie.isArray(e)}function Px(e){return Ie.endsWith(e,"[]")?e.slice(0,-2):e}function Gg(e,t,n){return e?e.concat(t).map(function(r,i){return r=Px(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function K5(e){return Ie.isArray(e)&&!e.some(Mf)}const G5=Ie.toFlatObject(Ie,{},null,function(t){return/^is[A-Z]/.test(t)});function uu(e,t,n){if(!Ie.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Ie.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,v){return!Ie.isUndefined(v[m])});const o=n.metaTokens,r=n.visitor||u,i=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Ie.isSpecCompliantForm(t);if(!Ie.isFunction(r))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(Ie.isDate(h))return h.toISOString();if(!l&&Ie.isBlob(h))throw new At("Blob is not supported. Use a Buffer instead.");return Ie.isArrayBuffer(h)||Ie.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,m,v){let b=h;if(h&&!v&&typeof h=="object"){if(Ie.endsWith(m,"{}"))m=o?m:m.slice(0,-2),h=JSON.stringify(h);else if(Ie.isArray(h)&&K5(h)||(Ie.isFileList(h)||Ie.endsWith(m,"[]"))&&(b=Ie.toArray(h)))return m=Px(m),b.forEach(function(C,S){!(Ie.isUndefined(C)||C===null)&&t.append(a===!0?Gg([m],S,i):a===null?m:m+"[]",c(C))}),!1}return Mf(h)?!0:(t.append(Gg(v,m,i),c(h)),!1)}const d=[],f=Object.assign(G5,{defaultVisitor:u,convertValue:c,isVisitable:Mf});function p(h,m){if(!Ie.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(h),Ie.forEach(h,function(b,w){(!(Ie.isUndefined(b)||b===null)&&r.call(t,b,Ie.isString(w)?w.trim():w,m,f))===!0&&p(b,m?m.concat(w):[w])}),d.pop()}}if(!Ie.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Yg(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function ap(e,t){this._pairs=[],e&&uu(e,this,t)}const Tx=ap.prototype;Tx.append=function(t,n){this._pairs.push([t,n])};Tx.toString=function(t){const n=t?function(o){return t.call(this,o,Yg)}:Yg;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Y5(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Rx(e,t,n){if(!t)return e;const o=n&&n.encode||Y5,r=n&&n.serialize;let i;if(r?i=r(t,n):i=Ie.isURLSearchParams(t)?t.toString():new ap(t,n).toString(o),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class X5{constructor(){this.handlers=[]}use(t,n,o){return this.handlers.push({fulfilled:t,rejected:n,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Ie.forEach(this.handlers,function(o){o!==null&&t(o)})}}const Xg=X5,Ex={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Z5=typeof URLSearchParams<"u"?URLSearchParams:ap,J5=typeof FormData<"u"?FormData:null,Q5=typeof Blob<"u"?Blob:null,eR={isBrowser:!0,classes:{URLSearchParams:Z5,FormData:J5,Blob:Q5},protocols:["http","https","file","blob","url","data"]},$x=typeof window<"u"&&typeof document<"u",tR=(e=>$x&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),nR=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),oR=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:$x,hasStandardBrowserEnv:tR,hasStandardBrowserWebWorkerEnv:nR},Symbol.toStringTag,{value:"Module"})),zo={...oR,...eR};function rR(e,t){return uu(e,new zo.classes.URLSearchParams,Object.assign({visitor:function(n,o,r,i){return zo.isNode&&Ie.isBuffer(n)?(this.append(o,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function iR(e){return Ie.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function aR(e){const t={},n=Object.keys(e);let o;const r=n.length;let i;for(o=0;o=n.length;return a=!a&&Ie.isArray(r)?r.length:a,l?(Ie.hasOwnProp(r,a)?r[a]=[r[a],o]:r[a]=o,!s):((!r[a]||!Ie.isObject(r[a]))&&(r[a]=[]),t(n,o,r[a],i)&&Ie.isArray(r[a])&&(r[a]=aR(r[a])),!s)}if(Ie.isFormData(e)&&Ie.isFunction(e.entries)){const n={};return Ie.forEachEntry(e,(o,r)=>{t(iR(o),r,n,0)}),n}return null}function sR(e,t,n){if(Ie.isString(e))try{return(t||JSON.parse)(e),Ie.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const sp={transitional:Ex,adapter:["xhr","http"],transformRequest:[function(t,n){const o=n.getContentType()||"",r=o.indexOf("application/json")>-1,i=Ie.isObject(t);if(i&&Ie.isHTMLForm(t)&&(t=new FormData(t)),Ie.isFormData(t))return r?JSON.stringify(Ax(t)):t;if(Ie.isArrayBuffer(t)||Ie.isBuffer(t)||Ie.isStream(t)||Ie.isFile(t)||Ie.isBlob(t))return t;if(Ie.isArrayBufferView(t))return t.buffer;if(Ie.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(o.indexOf("application/x-www-form-urlencoded")>-1)return rR(t,this.formSerializer).toString();if((s=Ie.isFileList(t))||o.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return uu(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),sR(t)):t}],transformResponse:[function(t){const n=this.transitional||sp.transitional,o=n&&n.forcedJSONParsing,r=this.responseType==="json";if(t&&Ie.isString(t)&&(o&&!this.responseType||r)){const a=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?At.from(s,At.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:zo.classes.FormData,Blob:zo.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ie.forEach(["delete","get","head","post","put","patch"],e=>{sp.headers[e]={}});const lp=sp,lR=Ie.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),cR=e=>{const t={};let n,o,r;return e&&e.split(` +`).forEach(function(a){r=a.indexOf(":"),n=a.substring(0,r).trim().toLowerCase(),o=a.substring(r+1).trim(),!(!n||t[n]&&lR[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},Zg=Symbol("internals");function Qa(e){return e&&String(e).trim().toLowerCase()}function nc(e){return e===!1||e==null?e:Ie.isArray(e)?e.map(nc):String(e)}function uR(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}const dR=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function yd(e,t,n,o,r){if(Ie.isFunction(o))return o.call(this,t,n);if(r&&(t=n),!!Ie.isString(t)){if(Ie.isString(o))return t.indexOf(o)!==-1;if(Ie.isRegExp(o))return o.test(t)}}function fR(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function hR(e,t){const n=Ie.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(r,i,a){return this[o].call(this,t,r,i,a)},configurable:!0})})}class du{constructor(t){t&&this.set(t)}set(t,n,o){const r=this;function i(s,l,c){const u=Qa(l);if(!u)throw new Error("header name must be a non-empty string");const d=Ie.findKey(r,u);(!d||r[d]===void 0||c===!0||c===void 0&&r[d]!==!1)&&(r[d||l]=nc(s))}const a=(s,l)=>Ie.forEach(s,(c,u)=>i(c,u,l));return Ie.isPlainObject(t)||t instanceof this.constructor?a(t,n):Ie.isString(t)&&(t=t.trim())&&!dR(t)?a(cR(t),n):t!=null&&i(n,t,o),this}get(t,n){if(t=Qa(t),t){const o=Ie.findKey(this,t);if(o){const r=this[o];if(!n)return r;if(n===!0)return uR(r);if(Ie.isFunction(n))return n.call(this,r,o);if(Ie.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Qa(t),t){const o=Ie.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||yd(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let r=!1;function i(a){if(a=Qa(a),a){const s=Ie.findKey(o,a);s&&(!n||yd(o,o[s],s,n))&&(delete o[s],r=!0)}}return Ie.isArray(t)?t.forEach(i):i(t),r}clear(t){const n=Object.keys(this);let o=n.length,r=!1;for(;o--;){const i=n[o];(!t||yd(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,o={};return Ie.forEach(this,(r,i)=>{const a=Ie.findKey(o,i);if(a){n[a]=nc(r),delete n[i];return}const s=t?fR(i):String(i).trim();s!==i&&delete n[i],n[s]=nc(r),o[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Ie.forEach(this,(o,r)=>{o!=null&&o!==!1&&(n[r]=t&&Ie.isArray(o)?o.join(", "):o)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(r=>o.set(r)),o}static accessor(t){const o=(this[Zg]=this[Zg]={accessors:{}}).accessors,r=this.prototype;function i(a){const s=Qa(a);o[s]||(hR(r,a),o[s]=!0)}return Ie.isArray(t)?t.forEach(i):i(t),this}}du.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Ie.reduceDescriptors(du.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});Ie.freezeMethods(du);const rr=du;function xd(e,t){const n=this||lp,o=t||n,r=rr.from(o.headers);let i=o.data;return Ie.forEach(e,function(s){i=s.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function Ix(e){return!!(e&&e.__CANCEL__)}function tl(e,t,n){At.call(this,e??"canceled",At.ERR_CANCELED,t,n),this.name="CanceledError"}Ie.inherits(tl,At,{__CANCEL__:!0});function pR(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new At("Request failed with status code "+n.status,[At.ERR_BAD_REQUEST,At.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const mR=zo.hasStandardBrowserEnv?{write(e,t,n,o,r,i){const a=[e+"="+encodeURIComponent(t)];Ie.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Ie.isString(o)&&a.push("path="+o),Ie.isString(r)&&a.push("domain="+r),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function gR(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function vR(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ox(e,t){return e&&!gR(t)?vR(e,t):t}const bR=zo.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let o;function r(i){let a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return o=r(window.location.href),function(a){const s=Ie.isString(a)?r(a):a;return s.protocol===o.protocol&&s.host===o.host}}():function(){return function(){return!0}}();function yR(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function xR(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r=0,i=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=o[i];a||(a=c),n[r]=l,o[r]=c;let d=i,f=0;for(;d!==r;)f+=n[d++],d=d%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),c-a{const i=r.loaded,a=r.lengthComputable?r.total:void 0,s=i-n,l=o(s),c=i<=a;n=i;const u={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&c?(a-i)/l:void 0,event:r};u[t?"download":"upload"]=!0,e(u)}}const CR=typeof XMLHttpRequest<"u",wR=CR&&function(e){return new Promise(function(n,o){let r=e.data;const i=rr.from(e.headers).normalize();let{responseType:a,withXSRFToken:s}=e,l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let u;if(Ie.isFormData(r)){if(zo.hasStandardBrowserEnv||zo.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((u=i.getContentType())!==!1){const[m,...v]=u?u.split(";").map(b=>b.trim()).filter(Boolean):[];i.setContentType([m||"multipart/form-data",...v].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const m=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(m+":"+v))}const f=Ox(e.baseURL,e.url);d.open(e.method.toUpperCase(),Rx(f,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function p(){if(!d)return;const m=rr.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),b={data:!a||a==="text"||a==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:m,config:e,request:d};pR(function(C){n(C),c()},function(C){o(C),c()},b),d=null}if("onloadend"in d?d.onloadend=p:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(p)},d.onabort=function(){d&&(o(new At("Request aborted",At.ECONNABORTED,e,d)),d=null)},d.onerror=function(){o(new At("Network Error",At.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let v=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const b=e.transitional||Ex;e.timeoutErrorMessage&&(v=e.timeoutErrorMessage),o(new At(v,b.clarifyTimeoutError?At.ETIMEDOUT:At.ECONNABORTED,e,d)),d=null},zo.hasStandardBrowserEnv&&(s&&Ie.isFunction(s)&&(s=s(e)),s||s!==!1&&bR(f))){const m=e.xsrfHeaderName&&e.xsrfCookieName&&mR.read(e.xsrfCookieName);m&&i.set(e.xsrfHeaderName,m)}r===void 0&&i.setContentType(null),"setRequestHeader"in d&&Ie.forEach(i.toJSON(),function(v,b){d.setRequestHeader(b,v)}),Ie.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),a&&a!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",Jg(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Jg(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=m=>{d&&(o(!m||m.type?new tl(null,e,d):m),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const h=yR(f);if(h&&zo.protocols.indexOf(h)===-1){o(new At("Unsupported protocol "+h+":",At.ERR_BAD_REQUEST,e));return}d.send(r||null)})},zf={http:q5,xhr:wR};Ie.forEach(zf,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Qg=e=>`- ${e}`,_R=e=>Ie.isFunction(e)||e===null||e===!1,Mx={getAdapter:e=>{e=Ie.isArray(e)?e:[e];const{length:t}=e;let n,o;const r={};for(let i=0;i`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since : +`+i.map(Qg).join(` +`):" "+Qg(i[0]):"as no adapter specified";throw new At("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o},adapters:zf};function Cd(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new tl(null,e)}function ev(e){return Cd(e),e.headers=rr.from(e.headers),e.data=xd.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Mx.getAdapter(e.adapter||lp.adapter)(e).then(function(o){return Cd(e),o.data=xd.call(e,e.transformResponse,o),o.headers=rr.from(o.headers),o},function(o){return Ix(o)||(Cd(e),o&&o.response&&(o.response.data=xd.call(e,e.transformResponse,o.response),o.response.headers=rr.from(o.response.headers))),Promise.reject(o)})}const tv=e=>e instanceof rr?{...e}:e;function ya(e,t){t=t||{};const n={};function o(c,u,d){return Ie.isPlainObject(c)&&Ie.isPlainObject(u)?Ie.merge.call({caseless:d},c,u):Ie.isPlainObject(u)?Ie.merge({},u):Ie.isArray(u)?u.slice():u}function r(c,u,d){if(Ie.isUndefined(u)){if(!Ie.isUndefined(c))return o(void 0,c,d)}else return o(c,u,d)}function i(c,u){if(!Ie.isUndefined(u))return o(void 0,u)}function a(c,u){if(Ie.isUndefined(u)){if(!Ie.isUndefined(c))return o(void 0,c)}else return o(void 0,u)}function s(c,u,d){if(d in t)return o(c,u);if(d in e)return o(void 0,c)}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u)=>r(tv(c),tv(u),!0)};return Ie.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||r,f=d(e[u],t[u],u);Ie.isUndefined(f)&&d!==s||(n[u]=f)}),n}const zx="1.6.8",cp={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{cp[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const nv={};cp.transitional=function(t,n,o){function r(i,a){return"[Axios v"+zx+"] Transitional option '"+i+"'"+a+(o?". "+o:"")}return(i,a,s)=>{if(t===!1)throw new At(r(a," has been removed"+(n?" in "+n:"")),At.ERR_DEPRECATED);return n&&!nv[a]&&(nv[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,s):!0}};function SR(e,t,n){if(typeof e!="object")throw new At("options must be an object",At.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let r=o.length;for(;r-- >0;){const i=o[r],a=t[i];if(a){const s=e[i],l=s===void 0||a(s,i,e);if(l!==!0)throw new At("option "+i+" must be "+l,At.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new At("Unknown option "+i,At.ERR_BAD_OPTION)}}const Df={assertOptions:SR,validators:cp},wr=Df.validators;class bc{constructor(t){this.defaults=t,this.interceptors={request:new Xg,response:new Xg}}async request(t,n){try{return await this._request(t,n)}catch(o){if(o instanceof Error){let r;Error.captureStackTrace?Error.captureStackTrace(r={}):r=new Error;const i=r.stack?r.stack.replace(/^.+\n/,""):"";o.stack?i&&!String(o.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(o.stack+=` +`+i):o.stack=i}throw o}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ya(this.defaults,n);const{transitional:o,paramsSerializer:r,headers:i}=n;o!==void 0&&Df.assertOptions(o,{silentJSONParsing:wr.transitional(wr.boolean),forcedJSONParsing:wr.transitional(wr.boolean),clarifyTimeoutError:wr.transitional(wr.boolean)},!1),r!=null&&(Ie.isFunction(r)?n.paramsSerializer={serialize:r}:Df.assertOptions(r,{encode:wr.function,serialize:wr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&Ie.merge(i.common,i[n.method]);i&&Ie.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=rr.concat(a,i);const s=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,s.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,d=0,f;if(!l){const h=[ev.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,c),f=h.length,u=Promise.resolve(n);d{if(!o._listeners)return;let i=o._listeners.length;for(;i-- >0;)o._listeners[i](r);o._listeners=null}),this.promise.then=r=>{let i;const a=new Promise(s=>{o.subscribe(s),i=s}).then(r);return a.cancel=function(){o.unsubscribe(i)},a},t(function(i,a,s){o.reason||(o.reason=new tl(i,a,s),n(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new up(function(r){t=r}),cancel:t}}}const kR=up;function PR(e){return function(n){return e.apply(null,n)}}function TR(e){return Ie.isObject(e)&&e.isAxiosError===!0}const Lf={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Lf).forEach(([e,t])=>{Lf[t]=e});const RR=Lf;function Dx(e){const t=new oc(e),n=gx(oc.prototype.request,t);return Ie.extend(n,oc.prototype,t,{allOwnKeys:!0}),Ie.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Dx(ya(e,r))},n}const bn=Dx(lp);bn.Axios=oc;bn.CanceledError=tl;bn.CancelToken=kR;bn.isCancel=Ix;bn.VERSION=zx;bn.toFormData=uu;bn.AxiosError=At;bn.Cancel=bn.CanceledError;bn.all=function(t){return Promise.all(t)};bn.spread=PR;bn.isAxiosError=TR;bn.mergeConfig=ya;bn.AxiosHeaders=rr;bn.formToJSON=e=>Ax(Ie.isHTMLForm(e)?new FormData(e):e);bn.getAdapter=Mx.getAdapter;bn.HttpStatusCode=RR;bn.default=bn;const ER=bn,$R=[{url:"/passport/auth/login",method:"POST"},{url:"/passport/auth/token2Login",method:"GET"},{url:"/passport/auth/register",method:"POST"},{url:"/passport/auth/register",method:"POST"},{url:"/guest/comm/config",method:"GET"},{url:"/passport/comm/sendEmailVerify",method:"POST"},{url:"/passport/auth/forget",method:"POST"}];function AR({url:e,method:t=""}){return $R.some(n=>n.url===e.split("?")[0]&&n.method===t.toUpperCase())}function IR(e){return typeof e>"u"}function OR(e){return e===null}function MR(e){return OR(e)||IR(e)}function Lx(e){try{if(typeof JSON.parse(e)=="object")return!0}catch{return!1}}class zR{constructor(t){rd(this,"storage");rd(this,"prefixKey");this.storage=t.storage,this.prefixKey=t.prefixKey}getKey(t){return`${this.prefixKey}${t}`.toUpperCase()}set(t,n,o=null){const r=JSON.stringify({value:n,time:Date.now(),expire:o!==null?new Date().getTime()+o*1e3:null});this.storage.setItem(this.getKey(t),r)}get(t,n=null){const o=this.storage.getItem(this.getKey(t));if(!o)return{value:n,time:0};try{const r=JSON.parse(o),{value:i,time:a,expire:s}=r;return MR(s)||s>new Date().getTime()?{value:i,time:a}:(this.remove(t),{value:n,time:0})}catch{return this.remove(t),{value:n,time:0}}}remove(t){this.storage.removeItem(this.getKey(t))}clear(){this.storage.clear()}}function Fx({prefixKey:e="",storage:t=sessionStorage}){return new zR({prefixKey:e,storage:t})}const Bx="Vue_Naive_",DR=function(e={}){return Fx({prefixKey:e.prefixKey||"",storage:localStorage})},LR=function(e={}){return Fx({prefixKey:e.prefixKey||"",storage:sessionStorage})},nl=DR({prefixKey:Bx}),yc=LR({prefixKey:Bx}),Nx="access_token";function Hx(){return nl.get(Nx)}function jx(){nl.remove(Nx)}function dp(){const e=we(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 Vx=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function FR(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}),n}var Wx={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Vx,function(){var n=1e3,o=6e4,r=36e5,i="millisecond",a="second",s="minute",l="hour",c="day",u="week",d="month",f="quarter",p="year",h="date",m="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,w={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(H){var D=["th","st","nd","rd"],M=H%100;return"["+H+(D[(M-20)%10]||D[M]||D[0])+"]"}},C=function(H,D,M){var Y=String(H);return!Y||Y.length>=D?H:""+Array(D+1-Y.length).join(M)+H},S={s:C,z:function(H){var D=-H.utcOffset(),M=Math.abs(D),Y=Math.floor(M/60),Q=M%60;return(D<=0?"+":"-")+C(Y,2,"0")+":"+C(Q,2,"0")},m:function H(D,M){if(D.date()1)return H(he[0])}else{var B=D.name;x[B]=D,Q=B}return!Y&&Q&&(_=Q),Q||!Y&&_},T=function(H,D){if(k(H))return H.clone();var M=typeof D=="object"?D:{};return M.date=H,M.args=arguments,new R(M)},$=S;$.l=P,$.i=k,$.w=function(H,D){return T(H,{locale:D.$L,utc:D.$u,x:D.$x,$offset:D.$offset})};var R=function(){function H(M){this.$L=P(M.locale,null,!0),this.parse(M),this.$x=this.$x||M.x||{},this[y]=!0}var D=H.prototype;return D.parse=function(M){this.$d=function(Y){var Q=Y.date,de=Y.utc;if(Q===null)return new Date(NaN);if($.u(Q))return new Date;if(Q instanceof Date)return new Date(Q);if(typeof Q=="string"&&!/Z$/i.test(Q)){var he=Q.match(v);if(he){var B=he[2]-1||0,E=(he[7]||"0").substring(0,3);return de?new Date(Date.UTC(he[1],B,he[3]||1,he[4]||0,he[5]||0,he[6]||0,E)):new Date(he[1],B,he[3]||1,he[4]||0,he[5]||0,he[6]||0,E)}}return new Date(Q)}(M),this.init()},D.init=function(){var M=this.$d;this.$y=M.getFullYear(),this.$M=M.getMonth(),this.$D=M.getDate(),this.$W=M.getDay(),this.$H=M.getHours(),this.$m=M.getMinutes(),this.$s=M.getSeconds(),this.$ms=M.getMilliseconds()},D.$utils=function(){return $},D.isValid=function(){return this.$d.toString()!==m},D.isSame=function(M,Y){var Q=T(M);return this.startOf(Y)<=Q&&Q<=this.endOf(Y)},D.isAfter=function(M,Y){return T(M)1&&arguments[1]!==void 0?arguments[1]:{container:document.body},ne="";return typeof O=="string"?ne=x(O,q):O instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(O==null?void 0:O.type)?ne=x(O.value,q):(ne=p()(O),h("copy")),ne},_=S;function w(E){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(q){return typeof q}:w=function(q){return q&&typeof Symbol=="function"&&q.constructor===Symbol&&q!==Symbol.prototype?"symbol":typeof q},w(E)}var C=function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},q=O.action,ne=q===void 0?"copy":q,ve=O.container,J=O.target,be=O.text;if(ne!=="copy"&&ne!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(J!==void 0)if(J&&w(J)==="object"&&J.nodeType===1){if(ne==="copy"&&J.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(ne==="cut"&&(J.hasAttribute("readonly")||J.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(be)return _(be,{container:ve});if(J)return ne==="cut"?b(J):_(J,{container:ve})},y=C;function k(E){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?k=function(q){return typeof q}:k=function(q){return q&&typeof Symbol=="function"&&q.constructor===Symbol&&q!==Symbol.prototype?"symbol":typeof q},k(E)}function R(E,O){if(!(E instanceof O))throw new TypeError("Cannot call a class as a function")}function $(E,O){for(var q=0;q"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function Q(E){return Q=Object.setPrototypeOf?Object.getPrototypeOf:function(q){return q.__proto__||Object.getPrototypeOf(q)},Q(E)}function ue(E,O){var q="data-clipboard-".concat(E);if(O.hasAttribute(q))return O.getAttribute(q)}var le=function(E){A(q,E);var O=B(q);function q(ne,ve){var J;return R(this,q),J=O.call(this),J.resolveOptions(ve),J.listenClick(ne),J}return I(q,[{key:"resolveOptions",value:function(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof ve.action=="function"?ve.action:this.defaultAction,this.target=typeof ve.target=="function"?ve.target:this.defaultTarget,this.text=typeof ve.text=="function"?ve.text:this.defaultText,this.container=k(ve.container)==="object"?ve.container:document.body}},{key:"listenClick",value:function(ve){var J=this;this.listener=d()(ve,"click",function(be){return J.onClick(be)})}},{key:"onClick",value:function(ve){var J=ve.delegateTarget||ve.currentTarget,be=this.action(J)||"copy",H=y({action:be,container:this.container,target:this.target(J),text:this.text(J)});this.emit(H?"success":"error",{action:be,text:H,trigger:J,clearSelection:function(){J&&J.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(ve){return ue("action",ve)}},{key:"defaultTarget",value:function(ve){var J=ue("target",ve);if(J)return document.querySelector(J)}},{key:"defaultText",value:function(ve){return ue("text",ve)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(ve){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return _(ve,J)}},{key:"cut",value:function(ve){return b(ve)}},{key:"isSupported",value:function(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],J=typeof ve=="string"?[ve]:ve,be=!!document.queryCommandSupported;return J.forEach(function(H){be=be&&!!document.queryCommandSupported(H)}),be}}]),q}(c()),N=le},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,g,b){var m=d.apply(this,arguments);return f.addEventListener(h,m,b),{destroy:function(){f.removeEventListener(h,m,b)}}}function u(f,p,h,g,b){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(m){return c(m,p,h,g,b)}))}function d(f,p,h,g){return function(b){b.delegateTarget=l(b.target,p),b.delegateTarget&&g.call(f,b)}}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,g,b){if(!h&&!g&&!b)throw new Error("Missing required arguments");if(!l.string(g))throw new TypeError("Second argument must be a String");if(!l.fn(b))throw new TypeError("Third argument must be a Function");if(l.node(h))return d(h,g,b);if(l.nodeList(h))return f(h,g,b);if(l.string(h))return p(h,g,b);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function d(h,g,b){return h.addEventListener(g,b),{destroy:function(){h.removeEventListener(g,b)}}}function f(h,g,b){return Array.prototype.forEach.call(h,function(m){m.addEventListener(g,b)}),{destroy:function(){Array.prototype.forEach.call(h,function(m){m.removeEventListener(g,b)})}}}function p(h,g,b){return c(document.body,h,g,b)}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.9.0 + */(function(e,t){(function(o,r){e.exports=r()})(Vx,function(){return function(){var n={686:function(i,a,s){s.d(a,{default:function(){return B}});var l=s(279),c=s.n(l),u=s(370),d=s.n(u),f=s(817),p=s.n(f);function h(E){try{return document.execCommand(E)}catch{return!1}}var m=function(A){var G=p()(A);return h("cut"),G},v=m;function b(E){var A=document.documentElement.getAttribute("dir")==="rtl",G=document.createElement("textarea");G.style.fontSize="12pt",G.style.border="0",G.style.padding="0",G.style.margin="0",G.style.position="absolute",G.style[A?"right":"left"]="-9999px";var ne=window.pageYOffset||document.documentElement.scrollTop;return G.style.top="".concat(ne,"px"),G.setAttribute("readonly",""),G.value=E,G}var w=function(A,G){var ne=b(A);G.container.appendChild(ne);var ye=p()(ne);return h("copy"),ne.remove(),ye},C=function(A){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},ne="";return typeof A=="string"?ne=w(A,G):A instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(A==null?void 0:A.type)?ne=w(A.value,G):(ne=p()(A),h("copy")),ne},S=C;function _(E){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(G){return typeof G}:_=function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},_(E)}var x=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},G=A.action,ne=G===void 0?"copy":G,ye=A.container,J=A.target,xe=A.text;if(ne!=="copy"&&ne!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(J!==void 0)if(J&&_(J)==="object"&&J.nodeType===1){if(ne==="copy"&&J.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(ne==="cut"&&(J.hasAttribute("readonly")||J.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(xe)return S(xe,{container:ye});if(J)return ne==="cut"?v(J):S(J,{container:ye})},y=x;function k(E){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?k=function(G){return typeof G}:k=function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},k(E)}function P(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}function T(E,A){for(var G=0;G"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function Q(E){return Q=Object.setPrototypeOf?Object.getPrototypeOf:function(G){return G.__proto__||Object.getPrototypeOf(G)},Q(E)}function de(E,A){var G="data-clipboard-".concat(E);if(A.hasAttribute(G))return A.getAttribute(G)}var he=function(E){R(G,E);var A=H(G);function G(ne,ye){var J;return P(this,G),J=A.call(this),J.resolveOptions(ye),J.listenClick(ne),J}return $(G,[{key:"resolveOptions",value:function(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof ye.action=="function"?ye.action:this.defaultAction,this.target=typeof ye.target=="function"?ye.target:this.defaultTarget,this.text=typeof ye.text=="function"?ye.text:this.defaultText,this.container=k(ye.container)==="object"?ye.container:document.body}},{key:"listenClick",value:function(ye){var J=this;this.listener=d()(ye,"click",function(xe){return J.onClick(xe)})}},{key:"onClick",value:function(ye){var J=ye.delegateTarget||ye.currentTarget,xe=this.action(J)||"copy",j=y({action:xe,container:this.container,target:this.target(J),text:this.text(J)});this.emit(j?"success":"error",{action:xe,text:j,trigger:J,clearSelection:function(){J&&J.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(ye){return de("action",ye)}},{key:"defaultTarget",value:function(ye){var J=de("target",ye);if(J)return document.querySelector(J)}},{key:"defaultText",value:function(ye){return de("text",ye)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(ye){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return S(ye,J)}},{key:"cut",value:function(ye){return v(ye)}},{key:"isSupported",value:function(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],J=typeof ye=="string"?[ye]:ye,xe=!!document.queryCommandSupported;return J.forEach(function(j){xe=xe&&!!document.queryCommandSupported(j)}),xe}}]),G}(c()),B=he},828:function(i){var a=9;if(typeof Element<"u"&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}function l(c,u){for(;c&&c.nodeType!==a;){if(typeof c.matches=="function"&&c.matches(u))return c;c=c.parentNode}}i.exports=l},438:function(i,a,s){var l=s(828);function c(f,p,h,m,v){var b=d.apply(this,arguments);return f.addEventListener(h,b,v),{destroy:function(){f.removeEventListener(h,b,v)}}}function u(f,p,h,m,v){return typeof f.addEventListener=="function"?c.apply(null,arguments):typeof h=="function"?c.bind(null,document).apply(null,arguments):(typeof f=="string"&&(f=document.querySelectorAll(f)),Array.prototype.map.call(f,function(b){return c(b,p,h,m,v)}))}function d(f,p,h,m){return function(v){v.delegateTarget=l(v.target,p),v.delegateTarget&&m.call(f,v)}}i.exports=u},879:function(i,a){a.node=function(s){return s!==void 0&&s instanceof HTMLElement&&s.nodeType===1},a.nodeList=function(s){var l=Object.prototype.toString.call(s);return s!==void 0&&(l==="[object NodeList]"||l==="[object HTMLCollection]")&&"length"in s&&(s.length===0||a.node(s[0]))},a.string=function(s){return typeof s=="string"||s instanceof String},a.fn=function(s){var l=Object.prototype.toString.call(s);return l==="[object Function]"}},370:function(i,a,s){var l=s(879),c=s(438);function u(h,m,v){if(!h&&!m&&!v)throw new Error("Missing required arguments");if(!l.string(m))throw new TypeError("Second argument must be a String");if(!l.fn(v))throw new TypeError("Third argument must be a Function");if(l.node(h))return d(h,m,v);if(l.nodeList(h))return f(h,m,v);if(l.string(h))return p(h,m,v);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function d(h,m,v){return h.addEventListener(m,v),{destroy:function(){h.removeEventListener(m,v)}}}function f(h,m,v){return Array.prototype.forEach.call(h,function(b){b.addEventListener(m,v)}),{destroy:function(){Array.prototype.forEach.call(h,function(b){b.removeEventListener(m,v)})}}}function p(h,m,v){return c(document.body,h,m,v)}i.exports=u},817:function(i){function a(s){var l;if(s.nodeName==="SELECT")s.focus(),l=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var c=s.hasAttribute("readonly");c||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),c||s.removeAttribute("readonly"),l=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var u=window.getSelection(),d=document.createRange();d.selectNodeContents(s),u.removeAllRanges(),u.addRange(d),l=u.toString()}return l}i.exports=a},279:function(i){function a(){}a.prototype={on:function(s,l,c){var u=this.e||(this.e={});return(u[s]||(u[s]=[])).push({fn:l,ctx:c}),this},once:function(s,l,c){var u=this;function d(){u.off(s,d),l.apply(c,arguments)}return d._=l,this.on(s,d,c)},emit:function(s){var l=[].slice.call(arguments,1),c=((this.e||(this.e={}))[s]||[]).slice(),u=0,d=c.length;for(u;u{const n=e[t];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((o,r)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+t)))})};/*! + * shared v9.12.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */const Cc=typeof window<"u",Wr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),FR=(e,t,n)=>BR({l:e,k:t,s:n}),BR=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),yn=e=>typeof e=="number"&&isFinite(e),NR=e=>Bx(e)==="[object Date]",Br=e=>Bx(e)==="[object RegExp]",du=e=>mt(e)&&Object.keys(e).length===0,Pn=Object.assign;let tv;const or=()=>tv||(tv=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function nv(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const HR=Object.prototype.hasOwnProperty;function wc(e,t){return HR.call(e,t)}const tn=Array.isArray,Gt=e=>typeof e=="function",Ke=e=>typeof e=="string",_t=e=>typeof e=="boolean",Ht=e=>e!==null&&typeof e=="object",jR=e=>Ht(e)&&Gt(e.then)&&Gt(e.catch),Fx=Object.prototype.toString,Bx=e=>Fx.call(e),mt=e=>{if(!Ht(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},VR=e=>e==null?"":tn(e)||mt(e)&&e.toString===Fx?JSON.stringify(e,null,2):String(e);function WR(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}function hp(e){let t=e;return()=>++t}function UR(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const kl=e=>!Ht(e)||tn(e);function oc(e,t){if(kl(e)||kl(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:o,des:r}=n.pop();Object.keys(o).forEach(i=>{kl(o[i])||kl(r[i])?r[i]=o[i]:n.push({src:o[i],des:r[i]})})}}/*! - * message-compiler v9.9.0 + */const xc=typeof window<"u",qr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),WR=(e,t,n)=>UR({l:e,k:t,s:n}),UR=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),xn=e=>typeof e=="number"&&isFinite(e),qR=e=>Kx(e)==="[object Date]",Br=e=>Kx(e)==="[object RegExp]",fu=e=>mt(e)&&Object.keys(e).length===0,kn=Object.assign;let ov;const nr=()=>ov||(ov=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function rv(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const KR=Object.prototype.hasOwnProperty;function Cc(e,t){return KR.call(e,t)}const nn=Array.isArray,Gt=e=>typeof e=="function",Ge=e=>typeof e=="string",_t=e=>typeof e=="boolean",Nt=e=>e!==null&&typeof e=="object",GR=e=>Nt(e)&&Gt(e.then)&&Gt(e.catch),qx=Object.prototype.toString,Kx=e=>qx.call(e),mt=e=>{if(!Nt(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},YR=e=>e==null?"":nn(e)||mt(e)&&e.toString===qx?JSON.stringify(e,null,2):String(e);function XR(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}function hu(e){let t=e;return()=>++t}function ZR(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Pl=e=>!Nt(e)||nn(e);function rc(e,t){if(Pl(e)||Pl(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:o,des:r}=n.pop();Object.keys(o).forEach(i=>{Pl(o[i])||Pl(r[i])?r[i]=o[i]:n.push({src:o[i],des:r[i]})})}}/*! + * message-compiler v9.12.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */function qR(e,t,n){return{line:e,column:t,offset:n}}function Df(e,t,n){const o={start:e,end:t};return n!=null&&(o.source=n),o}const KR=/\{([0-9a-zA-Z]+)\}/g;function GR(e,...t){return t.length===1&&YR(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(KR,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const Nx=Object.assign,ov=e=>typeof e=="string",YR=e=>e!==null&&typeof e=="object";function Hx(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}const dt={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},XR={[dt.EXPECTED_TOKEN]:"Expected token: '{0}'",[dt.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[dt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[dt.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[dt.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[dt.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[dt.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[dt.EMPTY_PLACEHOLDER]:"Empty placeholder",[dt.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[dt.INVALID_LINKED_FORMAT]:"Invalid linked format",[dt.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[dt.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[dt.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[dt.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[dt.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[dt.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function La(e,t,n={}){const{domain:o,messages:r,args:i}=n,a=GR((r||XR)[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 Qo=" ",JR="\r",On=` -`,QR=String.fromCharCode(8232),e$=String.fromCharCode(8233);function t$(e){const t=e;let n=0,o=1,r=1,i=0;const a=y=>t[y]===JR&&t[y+1]===On,s=y=>t[y]===On,l=y=>t[y]===e$,c=y=>t[y]===QR,u=y=>a(y)||s(y)||l(y)||c(y),d=()=>n,f=()=>o,p=()=>r,h=()=>i,g=y=>a(y)||l(y)||c(y)?On:t[y],b=()=>g(n),m=()=>g(n+i);function x(){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 _(){n=0,o=1,r=1,i=0}function w(y=0){i=y}function C(){const y=n+i;for(;y!==n;)x();i=0}return{index:d,line:f,column:p,peekOffset:h,charAt:g,currentChar:b,currentPeek:m,next:x,peek:S,reset:_,resetPeek:w,skipToPeek:C}}const wr=void 0,n$=".",rv="'",o$="tokenizer";function r$(e,t={}){const n=t.location!==!1,o=t$(e),r=()=>o.index(),i=()=>qR(o.line(),o.column(),o.index()),a=i(),s=r(),l={currentType:14,offset:s,startLoc:a,endLoc:a,lastType:14,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(P,T,W,...oe){const G=c();if(T.column+=W,T.offset+=W,u){const se=n?Df(G.startLoc,T):null,xe=La(P,se,{domain:o$,args:oe});u(xe)}}function f(P,T,W){P.endLoc=i(),P.currentType=T;const oe={type:T};return n&&(oe.loc=Df(P.startLoc,P.endLoc)),W!=null&&(oe.value=W),oe}const p=P=>f(P,14);function h(P,T){return P.currentChar()===T?(P.next(),T):(d(dt.EXPECTED_TOKEN,i(),0,T),"")}function g(P){let T="";for(;P.currentPeek()===Qo||P.currentPeek()===On;)T+=P.currentPeek(),P.peek();return T}function b(P){const T=g(P);return P.skipToPeek(),T}function m(P){if(P===wr)return!1;const T=P.charCodeAt(0);return T>=97&&T<=122||T>=65&&T<=90||T===95}function x(P){if(P===wr)return!1;const T=P.charCodeAt(0);return T>=48&&T<=57}function S(P,T){const{currentType:W}=T;if(W!==2)return!1;g(P);const oe=m(P.currentPeek());return P.resetPeek(),oe}function _(P,T){const{currentType:W}=T;if(W!==2)return!1;g(P);const oe=P.currentPeek()==="-"?P.peek():P.currentPeek(),G=x(oe);return P.resetPeek(),G}function w(P,T){const{currentType:W}=T;if(W!==2)return!1;g(P);const oe=P.currentPeek()===rv;return P.resetPeek(),oe}function C(P,T){const{currentType:W}=T;if(W!==8)return!1;g(P);const oe=P.currentPeek()===".";return P.resetPeek(),oe}function y(P,T){const{currentType:W}=T;if(W!==9)return!1;g(P);const oe=m(P.currentPeek());return P.resetPeek(),oe}function k(P,T){const{currentType:W}=T;if(!(W===8||W===12))return!1;g(P);const oe=P.currentPeek()===":";return P.resetPeek(),oe}function R(P,T){const{currentType:W}=T;if(W!==10)return!1;const oe=()=>{const se=P.currentPeek();return se==="{"?m(P.peek()):se==="@"||se==="%"||se==="|"||se===":"||se==="."||se===Qo||!se?!1:se===On?(P.peek(),oe()):m(se)},G=oe();return P.resetPeek(),G}function $(P){g(P);const T=P.currentPeek()==="|";return P.resetPeek(),T}function I(P){const T=g(P),W=P.currentPeek()==="%"&&P.peek()==="{";return P.resetPeek(),{isModulo:W,hasSpace:T.length>0}}function A(P,T=!0){const W=(G=!1,se="",xe=!1)=>{const ye=P.currentPeek();return ye==="{"?se==="%"?!1:G:ye==="@"||!ye?se==="%"?!0:G:ye==="%"?(P.peek(),W(G,"%",!0)):ye==="|"?se==="%"||xe?!0:!(se===Qo||se===On):ye===Qo?(P.peek(),W(!0,Qo,xe)):ye===On?(P.peek(),W(!0,On,xe)):!0},oe=W();return T&&P.resetPeek(),oe}function K(P,T){const W=P.currentChar();return W===wr?wr:T(W)?(P.next(),W):null}function B(P){return K(P,W=>{const oe=W.charCodeAt(0);return oe>=97&&oe<=122||oe>=65&&oe<=90||oe>=48&&oe<=57||oe===95||oe===36})}function M(P){return K(P,W=>{const oe=W.charCodeAt(0);return oe>=48&&oe<=57})}function D(P){return K(P,W=>{const oe=W.charCodeAt(0);return oe>=48&&oe<=57||oe>=65&&oe<=70||oe>=97&&oe<=102})}function Y(P){let T="",W="";for(;T=M(P);)W+=T;return W}function Q(P){b(P);const T=P.currentChar();return T!=="%"&&d(dt.EXPECTED_TOKEN,i(),0,T),P.next(),"%"}function ue(P){let T="";for(;;){const W=P.currentChar();if(W==="{"||W==="}"||W==="@"||W==="|"||!W)break;if(W==="%")if(A(P))T+=W,P.next();else break;else if(W===Qo||W===On)if(A(P))T+=W,P.next();else{if($(P))break;T+=W,P.next()}else T+=W,P.next()}return T}function le(P){b(P);let T="",W="";for(;T=B(P);)W+=T;return P.currentChar()===wr&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),W}function N(P){b(P);let T="";return P.currentChar()==="-"?(P.next(),T+=`-${Y(P)}`):T+=Y(P),P.currentChar()===wr&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),T}function E(P){b(P),h(P,"'");let T="",W="";const oe=se=>se!==rv&&se!==On;for(;T=K(P,oe);)T==="\\"?W+=O(P):W+=T;const G=P.currentChar();return G===On||G===wr?(d(dt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),G===On&&(P.next(),h(P,"'")),W):(h(P,"'"),W)}function O(P){const T=P.currentChar();switch(T){case"\\":case"'":return P.next(),`\\${T}`;case"u":return q(P,T,4);case"U":return q(P,T,6);default:return d(dt.UNKNOWN_ESCAPE_SEQUENCE,i(),0,T),""}}function q(P,T,W){h(P,T);let oe="";for(let G=0;GG!=="{"&&G!=="}"&&G!==Qo&&G!==On;for(;T=K(P,oe);)W+=T;return W}function ve(P){let T="",W="";for(;T=B(P);)W+=T;return W}function J(P){const T=(W=!1,oe)=>{const G=P.currentChar();return G==="{"||G==="%"||G==="@"||G==="|"||G==="("||G===")"||!G||G===Qo?oe:G===On||G===n$?(oe+=G,P.next(),T(W,oe)):(oe+=G,P.next(),T(!0,oe))};return T(!1,"")}function be(P){b(P);const T=h(P,"|");return b(P),T}function H(P,T){let W=null;switch(P.currentChar()){case"{":return T.braceNest>=1&&d(dt.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),P.next(),W=f(T,2,"{"),b(P),T.braceNest++,W;case"}":return T.braceNest>0&&T.currentType===2&&d(dt.EMPTY_PLACEHOLDER,i(),0),P.next(),W=f(T,3,"}"),T.braceNest--,T.braceNest>0&&b(P),T.inLinked&&T.braceNest===0&&(T.inLinked=!1),W;case"@":return T.braceNest>0&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),W=ge(P,T)||p(T),T.braceNest=0,W;default:let G=!0,se=!0,xe=!0;if($(P))return T.braceNest>0&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),W=f(T,1,be(P)),T.braceNest=0,T.inLinked=!1,W;if(T.braceNest>0&&(T.currentType===5||T.currentType===6||T.currentType===7))return d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),T.braceNest=0,Ie(P,T);if(G=S(P,T))return W=f(T,5,le(P)),b(P),W;if(se=_(P,T))return W=f(T,6,N(P)),b(P),W;if(xe=w(P,T))return W=f(T,7,E(P)),b(P),W;if(!G&&!se&&!xe)return W=f(T,13,ne(P)),d(dt.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,W.value),b(P),W;break}return W}function ge(P,T){const{currentType:W}=T;let oe=null;const G=P.currentChar();switch((W===8||W===9||W===12||W===10)&&(G===On||G===Qo)&&d(dt.INVALID_LINKED_FORMAT,i(),0),G){case"@":return P.next(),oe=f(T,8,"@"),T.inLinked=!0,oe;case".":return b(P),P.next(),f(T,9,".");case":":return b(P),P.next(),f(T,10,":");default:return $(P)?(oe=f(T,1,be(P)),T.braceNest=0,T.inLinked=!1,oe):C(P,T)||k(P,T)?(b(P),ge(P,T)):y(P,T)?(b(P),f(T,12,ve(P))):R(P,T)?(b(P),G==="{"?H(P,T)||oe:f(T,11,J(P))):(W===8&&d(dt.INVALID_LINKED_FORMAT,i(),0),T.braceNest=0,T.inLinked=!1,Ie(P,T))}}function Ie(P,T){let W={type:14};if(T.braceNest>0)return H(P,T)||p(T);if(T.inLinked)return ge(P,T)||p(T);switch(P.currentChar()){case"{":return H(P,T)||p(T);case"}":return d(dt.UNBALANCED_CLOSING_BRACE,i(),0),P.next(),f(T,3,"}");case"@":return ge(P,T)||p(T);default:if($(P))return W=f(T,1,be(P)),T.braceNest=0,T.inLinked=!1,W;const{isModulo:G,hasSpace:se}=I(P);if(G)return se?f(T,0,ue(P)):f(T,4,Q(P));if(A(P))return f(T,0,ue(P));break}return W}function Le(){const{currentType:P,offset:T,startLoc:W,endLoc:oe}=l;return l.lastType=P,l.lastOffset=T,l.lastStartLoc=W,l.lastEndLoc=oe,l.offset=r(),l.startLoc=i(),o.currentChar()===wr?f(l,14):Ie(o,l)}return{nextToken:Le,currentOffset:r,currentPosition:i,context:c}}const i$="parser",a$=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function s$(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 l$(e={}){const t=e.location!==!1,{onError:n}=e;function o(m,x,S,_,...w){const C=m.currentPosition();if(C.offset+=_,C.column+=_,n){const y=t?Df(S,C):null,k=La(x,y,{domain:i$,args:w});n(k)}}function r(m,x,S){const _={type:m};return t&&(_.start=x,_.end=x,_.loc={start:S,end:S}),_}function i(m,x,S,_){_&&(m.type=_),t&&(m.end=x,m.loc&&(m.loc.end=S))}function a(m,x){const S=m.context(),_=r(3,S.offset,S.startLoc);return _.value=x,i(_,m.currentOffset(),m.currentPosition()),_}function s(m,x){const S=m.context(),{lastOffset:_,lastStartLoc:w}=S,C=r(5,_,w);return C.index=parseInt(x,10),m.nextToken(),i(C,m.currentOffset(),m.currentPosition()),C}function l(m,x){const S=m.context(),{lastOffset:_,lastStartLoc:w}=S,C=r(4,_,w);return C.key=x,m.nextToken(),i(C,m.currentOffset(),m.currentPosition()),C}function c(m,x){const S=m.context(),{lastOffset:_,lastStartLoc:w}=S,C=r(9,_,w);return C.value=x.replace(a$,s$),m.nextToken(),i(C,m.currentOffset(),m.currentPosition()),C}function u(m){const x=m.nextToken(),S=m.context(),{lastOffset:_,lastStartLoc:w}=S,C=r(8,_,w);return x.type!==12?(o(m,dt.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),C.value="",i(C,_,w),{nextConsumeToken:x,node:C}):(x.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,$o(x)),C.value=x.value||"",i(C,m.currentOffset(),m.currentPosition()),{node:C})}function d(m,x){const S=m.context(),_=r(7,S.offset,S.startLoc);return _.value=x,i(_,m.currentOffset(),m.currentPosition()),_}function f(m){const x=m.context(),S=r(6,x.offset,x.startLoc);let _=m.nextToken();if(_.type===9){const w=u(m);S.modifier=w.node,_=w.nextConsumeToken||m.nextToken()}switch(_.type!==10&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,$o(_)),_=m.nextToken(),_.type===2&&(_=m.nextToken()),_.type){case 11:_.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,$o(_)),S.key=d(m,_.value||"");break;case 5:_.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,$o(_)),S.key=l(m,_.value||"");break;case 6:_.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,$o(_)),S.key=s(m,_.value||"");break;case 7:_.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,$o(_)),S.key=c(m,_.value||"");break;default:o(m,dt.UNEXPECTED_EMPTY_LINKED_KEY,x.lastStartLoc,0);const w=m.context(),C=r(7,w.offset,w.startLoc);return C.value="",i(C,w.offset,w.startLoc),S.key=C,i(S,w.offset,w.startLoc),{nextConsumeToken:_,node:S}}return i(S,m.currentOffset(),m.currentPosition()),{node:S}}function p(m){const x=m.context(),S=x.currentType===1?m.currentOffset():x.offset,_=x.currentType===1?x.endLoc:x.startLoc,w=r(2,S,_);w.items=[];let C=null;do{const R=C||m.nextToken();switch(C=null,R.type){case 0:R.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,$o(R)),w.items.push(a(m,R.value||""));break;case 6:R.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,$o(R)),w.items.push(s(m,R.value||""));break;case 5:R.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,$o(R)),w.items.push(l(m,R.value||""));break;case 7:R.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,$o(R)),w.items.push(c(m,R.value||""));break;case 8:const $=f(m);w.items.push($.node),C=$.nextConsumeToken||null;break}}while(x.currentType!==14&&x.currentType!==1);const y=x.currentType===1?x.lastOffset:m.currentOffset(),k=x.currentType===1?x.lastEndLoc:m.currentPosition();return i(w,y,k),w}function h(m,x,S,_){const w=m.context();let C=_.items.length===0;const y=r(1,x,S);y.cases=[],y.cases.push(_);do{const k=p(m);C||(C=k.items.length===0),y.cases.push(k)}while(w.currentType!==14);return C&&o(m,dt.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),i(y,m.currentOffset(),m.currentPosition()),y}function g(m){const x=m.context(),{offset:S,startLoc:_}=x,w=p(m);return x.currentType===14?w:h(m,S,_,w)}function b(m){const x=r$(m,Nx({},e)),S=x.context(),_=r(0,S.offset,S.startLoc);return t&&_.loc&&(_.loc.source=m),_.body=g(x),e.onCacheKey&&(_.cacheKey=e.onCacheKey(m)),S.currentType!==14&&o(x,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,m[S.offset]||""),i(_,x.currentOffset(),x.currentPosition()),_}return{parse:b}}function $o(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 c$(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function iv(e,t){for(let n=0;nav(n)),e}function av(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(b,m){s.code+=b}function u(b,m=!0){const x=m?r:"";c(i?x+" ".repeat(b):x)}function d(b=!0){const m=++s.indentLevel;b&&u(m)}function f(b=!0){const m=--s.indentLevel;b&&u(m)}function p(){u(s.indentLevel)}return{context:l,push:c,indent:d,deindent:f,newline:p,helper:b=>`_${b}`,needIndent:()=>s.needIndent}}function m$(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),_a(e,t.key),t.modifier?(e.push(", "),_a(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function g$(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=ov(t.mode)?t.mode:"normal",o=ov(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=p$(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 { ${Hx(s.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),_a(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 x$(e,t={}){const n=Nx({},t),o=!!n.jit,r=!!n.minify,i=n.optimize==null?!0:n.optimize,s=l$(n).parse(e);return o?(i&&d$(s),r&&ra(s),{ast:s,code:""}):(u$(s,n),y$(s,n))}/*! - * core-base v9.9.0 + */function JR(e,t,n){return{line:e,column:t,offset:n}}function wc(e,t,n){const o={start:e,end:t};return n!=null&&(o.source=n),o}const QR=/\{([0-9a-zA-Z]+)\}/g;function Gx(e,...t){return t.length===1&&eE(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(QR,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const Yx=Object.assign,iv=e=>typeof e=="string",eE=e=>e!==null&&typeof e=="object";function Xx(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}const hp={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},tE={[hp.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function nE(e,t,...n){const o=Gx(tE[e]||"",...n||[]),r={message:String(o),code:e};return t&&(r.location=t),r}const dt={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},oE={[dt.EXPECTED_TOKEN]:"Expected token: '{0}'",[dt.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[dt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[dt.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[dt.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[dt.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[dt.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[dt.EMPTY_PLACEHOLDER]:"Empty placeholder",[dt.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[dt.INVALID_LINKED_FORMAT]:"Invalid linked format",[dt.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[dt.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[dt.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[dt.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[dt.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[dt.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Oa(e,t,n={}){const{domain:o,messages:r,args:i}=n,a=Gx((r||oE)[e]||"",...i||[]),s=new SyntaxError(String(a));return s.code=e,t&&(s.location=t),s.domain=o,s}function rE(e){throw e}const Zo=" ",iE="\r",On=` +`,aE=String.fromCharCode(8232),sE=String.fromCharCode(8233);function lE(e){const t=e;let n=0,o=1,r=1,i=0;const a=y=>t[y]===iE&&t[y+1]===On,s=y=>t[y]===On,l=y=>t[y]===sE,c=y=>t[y]===aE,u=y=>a(y)||s(y)||l(y)||c(y),d=()=>n,f=()=>o,p=()=>r,h=()=>i,m=y=>a(y)||l(y)||c(y)?On:t[y],v=()=>m(n),b=()=>m(n+i);function w(){return i=0,u(n)&&(o++,r=0),a(n)&&n++,n++,r++,t[n]}function C(){return a(n+i)&&i++,i++,t[n+i]}function S(){n=0,o=1,r=1,i=0}function _(y=0){i=y}function x(){const y=n+i;for(;y!==n;)w();i=0}return{index:d,line:f,column:p,peekOffset:h,charAt:m,currentChar:v,currentPeek:b,next:w,peek:C,reset:S,resetPeek:_,skipToPeek:x}}const _r=void 0,cE=".",av="'",uE="tokenizer";function dE(e,t={}){const n=t.location!==!1,o=lE(e),r=()=>o.index(),i=()=>JR(o.line(),o.column(),o.index()),a=i(),s=r(),l={currentType:14,offset:s,startLoc:a,endLoc:a,lastType:14,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(I,N,te,...Ce){const ae=c();if(N.column+=te,N.offset+=te,u){const fe=n?wc(ae.startLoc,N):null,oe=Oa(I,fe,{domain:uE,args:Ce});u(oe)}}function f(I,N,te){I.endLoc=i(),I.currentType=N;const Ce={type:N};return n&&(Ce.loc=wc(I.startLoc,I.endLoc)),te!=null&&(Ce.value=te),Ce}const p=I=>f(I,14);function h(I,N){return I.currentChar()===N?(I.next(),N):(d(dt.EXPECTED_TOKEN,i(),0,N),"")}function m(I){let N="";for(;I.currentPeek()===Zo||I.currentPeek()===On;)N+=I.currentPeek(),I.peek();return N}function v(I){const N=m(I);return I.skipToPeek(),N}function b(I){if(I===_r)return!1;const N=I.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N===95}function w(I){if(I===_r)return!1;const N=I.charCodeAt(0);return N>=48&&N<=57}function C(I,N){const{currentType:te}=N;if(te!==2)return!1;m(I);const Ce=b(I.currentPeek());return I.resetPeek(),Ce}function S(I,N){const{currentType:te}=N;if(te!==2)return!1;m(I);const Ce=I.currentPeek()==="-"?I.peek():I.currentPeek(),ae=w(Ce);return I.resetPeek(),ae}function _(I,N){const{currentType:te}=N;if(te!==2)return!1;m(I);const Ce=I.currentPeek()===av;return I.resetPeek(),Ce}function x(I,N){const{currentType:te}=N;if(te!==8)return!1;m(I);const Ce=I.currentPeek()===".";return I.resetPeek(),Ce}function y(I,N){const{currentType:te}=N;if(te!==9)return!1;m(I);const Ce=b(I.currentPeek());return I.resetPeek(),Ce}function k(I,N){const{currentType:te}=N;if(!(te===8||te===12))return!1;m(I);const Ce=I.currentPeek()===":";return I.resetPeek(),Ce}function P(I,N){const{currentType:te}=N;if(te!==10)return!1;const Ce=()=>{const fe=I.currentPeek();return fe==="{"?b(I.peek()):fe==="@"||fe==="%"||fe==="|"||fe===":"||fe==="."||fe===Zo||!fe?!1:fe===On?(I.peek(),Ce()):b(fe)},ae=Ce();return I.resetPeek(),ae}function T(I){m(I);const N=I.currentPeek()==="|";return I.resetPeek(),N}function $(I){const N=m(I),te=I.currentPeek()==="%"&&I.peek()==="{";return I.resetPeek(),{isModulo:te,hasSpace:N.length>0}}function R(I,N=!0){const te=(ae=!1,fe="",oe=!1)=>{const ue=I.currentPeek();return ue==="{"?fe==="%"?!1:ae:ue==="@"||!ue?fe==="%"?!0:ae:ue==="%"?(I.peek(),te(ae,"%",!0)):ue==="|"?fe==="%"||oe?!0:!(fe===Zo||fe===On):ue===Zo?(I.peek(),te(!0,Zo,oe)):ue===On?(I.peek(),te(!0,On,oe)):!0},Ce=te();return N&&I.resetPeek(),Ce}function K(I,N){const te=I.currentChar();return te===_r?_r:N(te)?(I.next(),te):null}function H(I){const N=I.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N>=48&&N<=57||N===95||N===36}function D(I){return K(I,H)}function M(I){const N=I.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N>=48&&N<=57||N===95||N===36||N===45}function Y(I){return K(I,M)}function Q(I){const N=I.charCodeAt(0);return N>=48&&N<=57}function de(I){return K(I,Q)}function he(I){const N=I.charCodeAt(0);return N>=48&&N<=57||N>=65&&N<=70||N>=97&&N<=102}function B(I){return K(I,he)}function E(I){let N="",te="";for(;N=de(I);)te+=N;return te}function A(I){v(I);const N=I.currentChar();return N!=="%"&&d(dt.EXPECTED_TOKEN,i(),0,N),I.next(),"%"}function G(I){let N="";for(;;){const te=I.currentChar();if(te==="{"||te==="}"||te==="@"||te==="|"||!te)break;if(te==="%")if(R(I))N+=te,I.next();else break;else if(te===Zo||te===On)if(R(I))N+=te,I.next();else{if(T(I))break;N+=te,I.next()}else N+=te,I.next()}return N}function ne(I){v(I);let N="",te="";for(;N=Y(I);)te+=N;return I.currentChar()===_r&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),te}function ye(I){v(I);let N="";return I.currentChar()==="-"?(I.next(),N+=`-${E(I)}`):N+=E(I),I.currentChar()===_r&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),N}function J(I){return I!==av&&I!==On}function xe(I){v(I),h(I,"'");let N="",te="";for(;N=K(I,J);)N==="\\"?te+=j(I):te+=N;const Ce=I.currentChar();return Ce===On||Ce===_r?(d(dt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),Ce===On&&(I.next(),h(I,"'")),te):(h(I,"'"),te)}function j(I){const N=I.currentChar();switch(N){case"\\":case"'":return I.next(),`\\${N}`;case"u":return ve(I,N,4);case"U":return ve(I,N,6);default:return d(dt.UNKNOWN_ESCAPE_SEQUENCE,i(),0,N),""}}function ve(I,N,te){h(I,N);let Ce="";for(let ae=0;ae{const ae=I.currentChar();return ae==="{"||ae==="%"||ae==="@"||ae==="|"||ae==="("||ae===")"||!ae||ae===Zo?Ce:ae===On||ae===cE?(Ce+=ae,I.next(),N(te,Ce)):(Ce+=ae,I.next(),N(!0,Ce))};return N(!1,"")}function re(I){v(I);const N=h(I,"|");return v(I),N}function _e(I,N){let te=null;switch(I.currentChar()){case"{":return N.braceNest>=1&&d(dt.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),I.next(),te=f(N,2,"{"),v(I),N.braceNest++,te;case"}":return N.braceNest>0&&N.currentType===2&&d(dt.EMPTY_PLACEHOLDER,i(),0),I.next(),te=f(N,3,"}"),N.braceNest--,N.braceNest>0&&v(I),N.inLinked&&N.braceNest===0&&(N.inLinked=!1),te;case"@":return N.braceNest>0&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),te=ee(I,N)||p(N),N.braceNest=0,te;default:{let ae=!0,fe=!0,oe=!0;if(T(I))return N.braceNest>0&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),te=f(N,1,re(I)),N.braceNest=0,N.inLinked=!1,te;if(N.braceNest>0&&(N.currentType===5||N.currentType===6||N.currentType===7))return d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),N.braceNest=0,be(I,N);if(ae=C(I,N))return te=f(N,5,ne(I)),v(I),te;if(fe=S(I,N))return te=f(N,6,ye(I)),v(I),te;if(oe=_(I,N))return te=f(N,7,xe(I)),v(I),te;if(!ae&&!fe&&!oe)return te=f(N,13,Le(I)),d(dt.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,te.value),v(I),te;break}}return te}function ee(I,N){const{currentType:te}=N;let Ce=null;const ae=I.currentChar();switch((te===8||te===9||te===12||te===10)&&(ae===On||ae===Zo)&&d(dt.INVALID_LINKED_FORMAT,i(),0),ae){case"@":return I.next(),Ce=f(N,8,"@"),N.inLinked=!0,Ce;case".":return v(I),I.next(),f(N,9,".");case":":return v(I),I.next(),f(N,10,":");default:return T(I)?(Ce=f(N,1,re(I)),N.braceNest=0,N.inLinked=!1,Ce):x(I,N)||k(I,N)?(v(I),ee(I,N)):y(I,N)?(v(I),f(N,12,F(I))):P(I,N)?(v(I),ae==="{"?_e(I,N)||Ce:f(N,11,O(I))):(te===8&&d(dt.INVALID_LINKED_FORMAT,i(),0),N.braceNest=0,N.inLinked=!1,be(I,N))}}function be(I,N){let te={type:14};if(N.braceNest>0)return _e(I,N)||p(N);if(N.inLinked)return ee(I,N)||p(N);switch(I.currentChar()){case"{":return _e(I,N)||p(N);case"}":return d(dt.UNBALANCED_CLOSING_BRACE,i(),0),I.next(),f(N,3,"}");case"@":return ee(I,N)||p(N);default:{if(T(I))return te=f(N,1,re(I)),N.braceNest=0,N.inLinked=!1,te;const{isModulo:ae,hasSpace:fe}=$(I);if(ae)return fe?f(N,0,G(I)):f(N,4,A(I));if(R(I))return f(N,0,G(I));break}}return te}function Pe(){const{currentType:I,offset:N,startLoc:te,endLoc:Ce}=l;return l.lastType=I,l.lastOffset=N,l.lastStartLoc=te,l.lastEndLoc=Ce,l.offset=r(),l.startLoc=i(),o.currentChar()===_r?f(l,14):be(o,l)}return{nextToken:Pe,currentOffset:r,currentPosition:i,context:c}}const fE="parser",hE=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function pE(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function mE(e={}){const t=e.location!==!1,{onError:n,onWarn:o}=e;function r(C,S,_,x,...y){const k=C.currentPosition();if(k.offset+=x,k.column+=x,n){const P=t?wc(_,k):null,T=Oa(S,P,{domain:fE,args:y});n(T)}}function i(C,S,_,x,...y){const k=C.currentPosition();if(k.offset+=x,k.column+=x,o){const P=t?wc(_,k):null;o(nE(S,P,y))}}function a(C,S,_){const x={type:C};return t&&(x.start=S,x.end=S,x.loc={start:_,end:_}),x}function s(C,S,_,x){x&&(C.type=x),t&&(C.end=S,C.loc&&(C.loc.end=_))}function l(C,S){const _=C.context(),x=a(3,_.offset,_.startLoc);return x.value=S,s(x,C.currentOffset(),C.currentPosition()),x}function c(C,S){const _=C.context(),{lastOffset:x,lastStartLoc:y}=_,k=a(5,x,y);return k.index=parseInt(S,10),C.nextToken(),s(k,C.currentOffset(),C.currentPosition()),k}function u(C,S,_){const x=C.context(),{lastOffset:y,lastStartLoc:k}=x,P=a(4,y,k);return P.key=S,_===!0&&(P.modulo=!0),C.nextToken(),s(P,C.currentOffset(),C.currentPosition()),P}function d(C,S){const _=C.context(),{lastOffset:x,lastStartLoc:y}=_,k=a(9,x,y);return k.value=S.replace(hE,pE),C.nextToken(),s(k,C.currentOffset(),C.currentPosition()),k}function f(C){const S=C.nextToken(),_=C.context(),{lastOffset:x,lastStartLoc:y}=_,k=a(8,x,y);return S.type!==12?(r(C,dt.UNEXPECTED_EMPTY_LINKED_MODIFIER,_.lastStartLoc,0),k.value="",s(k,x,y),{nextConsumeToken:S,node:k}):(S.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,vo(S)),k.value=S.value||"",s(k,C.currentOffset(),C.currentPosition()),{node:k})}function p(C,S){const _=C.context(),x=a(7,_.offset,_.startLoc);return x.value=S,s(x,C.currentOffset(),C.currentPosition()),x}function h(C){const S=C.context(),_=a(6,S.offset,S.startLoc);let x=C.nextToken();if(x.type===9){const y=f(C);_.modifier=y.node,x=y.nextConsumeToken||C.nextToken()}switch(x.type!==10&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,vo(x)),x=C.nextToken(),x.type===2&&(x=C.nextToken()),x.type){case 11:x.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,vo(x)),_.key=p(C,x.value||"");break;case 5:x.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,vo(x)),_.key=u(C,x.value||"");break;case 6:x.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,vo(x)),_.key=c(C,x.value||"");break;case 7:x.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,vo(x)),_.key=d(C,x.value||"");break;default:{r(C,dt.UNEXPECTED_EMPTY_LINKED_KEY,S.lastStartLoc,0);const y=C.context(),k=a(7,y.offset,y.startLoc);return k.value="",s(k,y.offset,y.startLoc),_.key=k,s(_,y.offset,y.startLoc),{nextConsumeToken:x,node:_}}}return s(_,C.currentOffset(),C.currentPosition()),{node:_}}function m(C){const S=C.context(),_=S.currentType===1?C.currentOffset():S.offset,x=S.currentType===1?S.endLoc:S.startLoc,y=a(2,_,x);y.items=[];let k=null,P=null;do{const R=k||C.nextToken();switch(k=null,R.type){case 0:R.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,vo(R)),y.items.push(l(C,R.value||""));break;case 6:R.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,vo(R)),y.items.push(c(C,R.value||""));break;case 4:P=!0;break;case 5:R.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,vo(R)),y.items.push(u(C,R.value||"",!!P)),P&&(i(C,hp.USE_MODULO_SYNTAX,S.lastStartLoc,0,vo(R)),P=null);break;case 7:R.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,vo(R)),y.items.push(d(C,R.value||""));break;case 8:{const K=h(C);y.items.push(K.node),k=K.nextConsumeToken||null;break}}}while(S.currentType!==14&&S.currentType!==1);const T=S.currentType===1?S.lastOffset:C.currentOffset(),$=S.currentType===1?S.lastEndLoc:C.currentPosition();return s(y,T,$),y}function v(C,S,_,x){const y=C.context();let k=x.items.length===0;const P=a(1,S,_);P.cases=[],P.cases.push(x);do{const T=m(C);k||(k=T.items.length===0),P.cases.push(T)}while(y.currentType!==14);return k&&r(C,dt.MUST_HAVE_MESSAGES_IN_PLURAL,_,0),s(P,C.currentOffset(),C.currentPosition()),P}function b(C){const S=C.context(),{offset:_,startLoc:x}=S,y=m(C);return S.currentType===14?y:v(C,_,x,y)}function w(C){const S=dE(C,Yx({},e)),_=S.context(),x=a(0,_.offset,_.startLoc);return t&&x.loc&&(x.loc.source=C),x.body=b(S),e.onCacheKey&&(x.cacheKey=e.onCacheKey(C)),_.currentType!==14&&r(S,dt.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,C[_.offset]||""),s(x,S.currentOffset(),S.currentPosition()),x}return{parse:w}}function vo(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function gE(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function sv(e,t){for(let n=0;nlv(n)),e}function lv(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;ns;function c(v,b){s.code+=v}function u(v,b=!0){const w=b?r:"";c(i?w+" ".repeat(v):w)}function d(v=!0){const b=++s.indentLevel;v&&u(b)}function f(v=!0){const b=--s.indentLevel;v&&u(b)}function p(){u(s.indentLevel)}return{context:l,push:c,indent:d,deindent:f,newline:p,helper:v=>`_${v}`,needIndent:()=>s.needIndent}}function wE(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),xa(e,t.key),t.modifier?(e.push(", "),xa(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function _E(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const r=t.items.length;for(let i=0;i1){e.push(`${n("plural")}([`),e.indent(o());const r=t.cases.length;for(let i=0;i{const n=iv(t.mode)?t.mode:"normal",o=iv(t.filename)?t.filename:"message.intl",r=!!t.sourceMap,i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` +`,a=t.needIndent?t.needIndent:n!=="arrow",s=e.helpers||[],l=CE(e,{mode:n,filename:o,sourceMap:r,breakLineCode:i,needIndent:a});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(a),s.length>0&&(l.push(`const { ${Xx(s.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),xa(l,e),l.deindent(a),l.push("}"),delete e.helpers;const{code:c,map:u}=l.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function TE(e,t={}){const n=Yx({},t),o=!!n.jit,r=!!n.minify,i=n.optimize==null?!0:n.optimize,s=mE(n).parse(e);return o?(i&&bE(s),r&&oa(s),{ast:s,code:""}):(vE(s,n),PE(s,n))}/*! + * core-base v9.12.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */function C$(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(or().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(or().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(or().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Ur=[];Ur[0]={w:[0],i:[3,0],"[":[4],o:[7]};Ur[1]={w:[1],".":[2],"[":[4],o:[7]};Ur[2]={w:[2],i:[3,0],0:[3,0]};Ur[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Ur[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Ur[5]={"'":[4,0],o:8,l:[5,0]};Ur[6]={'"':[4,0],o:8,l:[6,0]};const w$=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function _$(e){return w$.test(e)}function S$(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 k$(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 P$(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:_$(t)?S$(t):"*"+t}function T$(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=P$(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=k$(i),d=Ur[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 sv=new Map;function R$(e,t){return Ht(e)?e[t]:null}function $$(e,t){if(!Ht(e))return null;let n=sv.get(t);if(n||(n=T$(t),n&&sv.set(t,n)),!n)return null;const o=n.length;let r=e,i=0;for(;ie,A$=e=>"",I$="text",O$=e=>e.length===0?"":WR(e),M$=VR;function lv(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function z$(e){const t=yn(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(yn(e.named.count)||yn(e.named.n))?yn(e.named.count)?e.named.count:yn(e.named.n)?e.named.n:t:t}function D$(e,t){t.count||(t.count=e),t.n||(t.n=e)}function L$(e={}){const t=e.locale,n=z$(e),o=Ht(e.pluralRules)&&Ke(t)&&Gt(e.pluralRules[t])?e.pluralRules[t]:lv,r=Ht(e.pluralRules)&&Ke(t)&&Gt(e.pluralRules[t])?lv:void 0,i=m=>m[o(n,m.length,r)],a=e.list||[],s=m=>a[m],l=e.named||{};yn(e.pluralIndex)&&D$(n,l);const c=m=>l[m];function u(m){const x=Gt(e.messages)?e.messages(m):Ht(e.messages)?e.messages[m]:!1;return x||(e.parent?e.parent.message(m):A$)}const d=m=>e.modifiers?e.modifiers[m]:E$,f=mt(e.processor)&&Gt(e.processor.normalize)?e.processor.normalize:O$,p=mt(e.processor)&&Gt(e.processor.interpolate)?e.processor.interpolate:M$,h=mt(e.processor)&&Ke(e.processor.type)?e.processor.type:I$,b={list:s,named:c,plural:i,linked:(m,...x)=>{const[S,_]=x;let w="text",C="";x.length===1?Ht(S)?(C=S.modifier||C,w=S.type||w):Ke(S)&&(C=S||C):x.length===2&&(Ke(S)&&(C=S||C),Ke(_)&&(w=_||w));const y=u(m)(b),k=w==="vnode"&&tn(y)&&C?y[0]:y;return C?d(C)(k,w):k},message:u,type:h,interpolate:p,normalize:f,values:Pn({},a,l)};return b}let Bs=null;function F$(e){Bs=e}function B$(e,t,n){Bs&&Bs.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const N$=H$("function:translate");function H$(e){return t=>Bs&&Bs.emit(e,t)}const j$={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},jx=dt.__EXTEND_POINT__,ni=hp(jx),bo={INVALID_ARGUMENT:jx,INVALID_DATE_ARGUMENT:ni(),INVALID_ISO_DATE_ARGUMENT:ni(),NOT_SUPPORT_NON_STRING_MESSAGE:ni(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:ni(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:ni(),NOT_SUPPORT_LOCALE_TYPE:ni(),__EXTEND_POINT__:ni()};function zo(e){return La(e,null,void 0)}function mp(e,t){return t.locale!=null?cv(t.locale):cv(e.locale)}let wd;function cv(e){if(Ke(e))return e;if(Gt(e)){if(e.resolvedOnce&&wd!=null)return wd;if(e.constructor.name==="Function"){const t=e();if(jR(t))throw zo(bo.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return wd=t}else throw zo(bo.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw zo(bo.NOT_SUPPORT_LOCALE_TYPE)}function V$(e,t,n){return[...new Set([n,...tn(t)?t:Ht(t)?Object.keys(t):Ke(t)?[t]:[n]])]}function Vx(e,t,n){const o=Ke(n)?n:Sa,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let i=r.__localeChainCache.get(o);if(!i){i=[];let a=[n];for(;tn(a);)a=uv(i,a,t);const s=tn(t)||!mt(t)?t:t.default?t.default:null;a=Ke(s)?[s]:s,tn(a)&&uv(i,a,!1),r.__localeChainCache.set(o,i)}return i}function uv(e,t,n){let o=!0;for(let r=0;r`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function K$(){return{upper:(e,t)=>t==="text"&&Ke(e)?e.toUpperCase():t==="vnode"&&Ht(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Ke(e)?e.toLowerCase():t==="vnode"&&Ht(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Ke(e)?fv(e):t==="vnode"&&Ht(e)&&"__v_isVNode"in e?fv(e.children):e}}let Wx;function hv(e){Wx=e}let Ux;function G$(e){Ux=e}let qx;function Y$(e){qx=e}let Kx=null;const X$=e=>{Kx=e},Z$=()=>Kx;let Gx=null;const pv=e=>{Gx=e},J$=()=>Gx;let mv=0;function Q$(e={}){const t=Gt(e.onWarn)?e.onWarn:UR,n=Ke(e.version)?e.version:q$,o=Ke(e.locale)||Gt(e.locale)?e.locale:Sa,r=Gt(o)?Sa:o,i=tn(e.fallbackLocale)||mt(e.fallbackLocale)||Ke(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=Pn({},e.modifiers||{},K$()),u=e.pluralRules||{},d=Gt(e.missing)?e.missing:null,f=_t(e.missingWarn)||Br(e.missingWarn)?e.missingWarn:!0,p=_t(e.fallbackWarn)||Br(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,g=!!e.unresolving,b=Gt(e.postTranslation)?e.postTranslation:null,m=mt(e.processor)?e.processor:null,x=_t(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter,_=Gt(e.messageCompiler)?e.messageCompiler:Wx,w=Gt(e.messageResolver)?e.messageResolver:Ux||R$,C=Gt(e.localeFallbacker)?e.localeFallbacker:qx||V$,y=Ht(e.fallbackContext)?e.fallbackContext:void 0,k=e,R=Ht(k.__datetimeFormatters)?k.__datetimeFormatters:new Map,$=Ht(k.__numberFormatters)?k.__numberFormatters:new Map,I=Ht(k.__meta)?k.__meta:{};mv++;const A={version:n,cid:mv,locale:o,fallbackLocale:i,messages:a,modifiers:c,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:g,postTranslation:b,processor:m,warnHtmlMessage:x,escapeParameter:S,messageCompiler:_,messageResolver:w,localeFallbacker:C,fallbackContext:y,onWarn:t,__meta:I};return A.datetimeFormats=s,A.numberFormats=l,A.__datetimeFormatters=R,A.__numberFormatters=$,__INTLIFY_PROD_DEVTOOLS__&&B$(A,n,I),A}function gp(e,t,n,o,r){const{missing:i,onWarn:a}=e;if(i!==null){const s=i(e,n,t,r);return Ke(s)?s:t}else return t}function os(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function _d(e){return n=>eE(n,e)}function eE(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,gv(e,a)],[]))}else return gv(e,n)}function gv(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,Lf(e,i)],[]);return e.normalize(o)}}function Lf(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(Lf(e,s.k||s.key),l?Lf(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 Yx=e=>e;let aa=Object.create(null);const ka=e=>Ht(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Xx(e,t={}){let n=!1;const o=t.onError||ZR;return t.onError=r=>{n=!0,o(r)},{...x$(e,t),detectError:n}}const tE=(e,t)=>{if(!Ke(e))throw zo(bo.NOT_SUPPORT_NON_STRING_MESSAGE);{_t(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||Yx)(e),r=aa[o];if(r)return r;const{code:i,detectError:a}=Xx(e,t),s=new Function(`return ${i}`)();return a?s:aa[o]=s}};function nE(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&Ke(e)){_t(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||Yx)(e),r=aa[o];if(r)return r;const{ast:i,detectError:a}=Xx(e,{...t,location:!1,jit:!0}),s=_d(i);return a?s:aa[o]=s}else{const n=e.cacheKey;if(n){const o=aa[n];return o||(aa[n]=_d(e))}else return _d(e)}}const vv=()=>"",no=e=>Gt(e);function bv(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,messageCompiler:i,fallbackLocale:a,messages:s}=e,[l,c]=Ff(...t),u=_t(c.missingWarn)?c.missingWarn:e.missingWarn,d=_t(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=_t(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=Ke(c.default)||_t(c.default)?_t(c.default)?i?l:()=>l:c.default:n?i?l:()=>l:"",g=n||h!=="",b=mp(e,c);f&&oE(c);let[m,x,S]=p?[l,b,s[b]||{}]:Zx(e,l,b,a,d,u),_=m,w=l;if(!p&&!(Ke(_)||ka(_)||no(_))&&g&&(_=h,w=_),!p&&(!(Ke(_)||ka(_)||no(_))||!Ke(x)))return r?fu:l;let C=!1;const y=()=>{C=!0},k=no(_)?_:Jx(e,l,x,_,w,y);if(C)return _;const R=aE(e,x,S,c),$=L$(R),I=rE(e,k,$),A=o?o(I,l):I;if(__INTLIFY_PROD_DEVTOOLS__){const K={timestamp:Date.now(),key:Ke(l)?l:no(_)?_.key:"",locale:x||(no(_)?_.locale:""),format:Ke(_)?_:no(_)?_.source:"",message:A};K.meta=Pn({},e.__meta,Z$()||{}),N$(K)}return A}function oE(e){tn(e.list)?e.list=e.list.map(t=>Ke(t)?nv(t):t):Ht(e.named)&&Object.keys(e.named).forEach(t=>{Ke(e.named[t])&&(e.named[t]=nv(e.named[t]))})}function Zx(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 g=0;go;return c.locale=n,c.key=t,c}const l=a(o,iE(e,n,r,o,s,i));return l.locale=n,l.key=t,l.source=o,l}function rE(e,t,n){return t(n)}function Ff(...e){const[t,n,o]=e,r={};if(!Ke(t)&&!yn(t)&&!no(t)&&!ka(t))throw zo(bo.INVALID_ARGUMENT);const i=yn(t)?String(t):(no(t),t);return yn(n)?r.plural=n:Ke(n)?r.default=n:mt(n)&&!du(n)?r.named=n:tn(n)&&(r.list=n),yn(o)?r.plural=o:Ke(o)?r.default=o:mt(o)&&Pn(r,o),[i,r]}function iE(e,t,n,o,r,i){return{locale:t,key:n,warnHtmlMessage:r,onError:a=>{throw i&&i(a),a},onCacheKey:a=>FR(t,n,a)}}function aE(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[,,g]=Zx(u,p,t,s,l,c);h=a(g,p)}if(Ke(h)||ka(h)){let g=!1;const m=Jx(e,p,t,h,p,()=>{g=!0});return g?vv:m}else return no(h)?h:vv}};return e.processor&&(f.processor=e.processor),o.list&&(f.list=o.list),o.named&&(f.named=o.named),yn(o.plural)&&(f.pluralIndex=o.plural),f}function yv(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:s}=e,[l,c,u,d]=Bf(...t),f=_t(u.missingWarn)?u.missingWarn:e.missingWarn;_t(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=mp(e,u),g=a(e,r,h);if(!Ke(l)||l==="")return new Intl.DateTimeFormat(h,d).format(c);let b={},m,x=null;const S="datetime format";for(let C=0;C{Qx.includes(l)?a[l]=n[l]:i[l]=n[l]}),Ke(o)?i.locale=o:mt(o)&&(a=o),mt(r)&&(a=r),[i.key||"",s,i,a]}function xv(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__datetimeFormatters.has(i)&&o.__datetimeFormatters.delete(i)}}function Cv(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:s}=e,[l,c,u,d]=Nf(...t),f=_t(u.missingWarn)?u.missingWarn:e.missingWarn;_t(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=mp(e,u),g=a(e,r,h);if(!Ke(l)||l==="")return new Intl.NumberFormat(h,d).format(c);let b={},m,x=null;const S="number format";for(let C=0;C{eC.includes(l)?a[l]=n[l]:i[l]=n[l]}),Ke(o)?i.locale=o:mt(o)&&(a=o),mt(r)&&(a=r),[i.key||"",s,i,a]}function wv(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__numberFormatters.has(i)&&o.__numberFormatters.delete(i)}}C$();/*! - * vue-i18n v9.9.0 + */function RE(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(nr().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(nr().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(nr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Kr=[];Kr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Kr[1]={w:[1],".":[2],"[":[4],o:[7]};Kr[2]={w:[2],i:[3,0],0:[3,0]};Kr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Kr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Kr[5]={"'":[4,0],o:8,l:[5,0]};Kr[6]={'"':[4,0],o:8,l:[6,0]};const EE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function $E(e){return EE.test(e)}function AE(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function IE(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function OE(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:$E(t)?AE(t):"*"+t}function ME(e){const t=[];let n=-1,o=0,r=0,i,a,s,l,c,u,d;const f=[];f[0]=()=>{a===void 0?a=s:a+=s},f[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},f[2]=()=>{f[0](),r++},f[3]=()=>{if(r>0)r--,o=4,f[0]();else{if(r=0,a===void 0||(a=OE(a),a===!1))return!1;f[1]()}};function p(){const h=e[n+1];if(o===5&&h==="'"||o===6&&h==='"')return n++,s="\\"+h,f[0](),!0}for(;o!==null;)if(n++,i=e[n],!(i==="\\"&&p())){if(l=IE(i),d=Kr[o],c=d[l]||d.l||8,c===8||(o=c[0],c[1]!==void 0&&(u=f[c[1]],u&&(s=i,u()===!1))))return;if(o===7)return t}}const cv=new Map;function zE(e,t){return Nt(e)?e[t]:null}function DE(e,t){if(!Nt(e))return null;let n=cv.get(t);if(n||(n=ME(t),n&&cv.set(t,n)),!n)return null;const o=n.length;let r=e,i=0;for(;ie,FE=e=>"",BE="text",NE=e=>e.length===0?"":XR(e),HE=YR;function uv(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function jE(e){const t=xn(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(xn(e.named.count)||xn(e.named.n))?xn(e.named.count)?e.named.count:xn(e.named.n)?e.named.n:t:t}function VE(e,t){t.count||(t.count=e),t.n||(t.n=e)}function WE(e={}){const t=e.locale,n=jE(e),o=Nt(e.pluralRules)&&Ge(t)&&Gt(e.pluralRules[t])?e.pluralRules[t]:uv,r=Nt(e.pluralRules)&&Ge(t)&&Gt(e.pluralRules[t])?uv:void 0,i=b=>b[o(n,b.length,r)],a=e.list||[],s=b=>a[b],l=e.named||{};xn(e.pluralIndex)&&VE(n,l);const c=b=>l[b];function u(b){const w=Gt(e.messages)?e.messages(b):Nt(e.messages)?e.messages[b]:!1;return w||(e.parent?e.parent.message(b):FE)}const d=b=>e.modifiers?e.modifiers[b]:LE,f=mt(e.processor)&&Gt(e.processor.normalize)?e.processor.normalize:NE,p=mt(e.processor)&&Gt(e.processor.interpolate)?e.processor.interpolate:HE,h=mt(e.processor)&&Ge(e.processor.type)?e.processor.type:BE,v={list:s,named:c,plural:i,linked:(b,...w)=>{const[C,S]=w;let _="text",x="";w.length===1?Nt(C)?(x=C.modifier||x,_=C.type||_):Ge(C)&&(x=C||x):w.length===2&&(Ge(C)&&(x=C||x),Ge(S)&&(_=S||_));const y=u(b)(v),k=_==="vnode"&&nn(y)&&x?y[0]:y;return x?d(x)(k,_):k},message:u,type:h,interpolate:p,normalize:f,values:kn({},a,l)};return v}let Hs=null;function UE(e){Hs=e}function qE(e,t,n){Hs&&Hs.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const KE=GE("function:translate");function GE(e){return t=>Hs&&Hs.emit(e,t)}const Zx=hp.__EXTEND_POINT__,ri=hu(Zx),YE={NOT_FOUND_KEY:Zx,FALLBACK_TO_TRANSLATE:ri(),CANNOT_FORMAT_NUMBER:ri(),FALLBACK_TO_NUMBER_FORMAT:ri(),CANNOT_FORMAT_DATE:ri(),FALLBACK_TO_DATE_FORMAT:ri(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:ri(),__EXTEND_POINT__:ri()},Jx=dt.__EXTEND_POINT__,ii=hu(Jx),xo={INVALID_ARGUMENT:Jx,INVALID_DATE_ARGUMENT:ii(),INVALID_ISO_DATE_ARGUMENT:ii(),NOT_SUPPORT_NON_STRING_MESSAGE:ii(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:ii(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:ii(),NOT_SUPPORT_LOCALE_TYPE:ii(),__EXTEND_POINT__:ii()};function Do(e){return Oa(e,null,void 0)}function mp(e,t){return t.locale!=null?dv(t.locale):dv(e.locale)}let wd;function dv(e){if(Ge(e))return e;if(Gt(e)){if(e.resolvedOnce&&wd!=null)return wd;if(e.constructor.name==="Function"){const t=e();if(GR(t))throw Do(xo.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return wd=t}else throw Do(xo.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Do(xo.NOT_SUPPORT_LOCALE_TYPE)}function XE(e,t,n){return[...new Set([n,...nn(t)?t:Nt(t)?Object.keys(t):Ge(t)?[t]:[n]])]}function Qx(e,t,n){const o=Ge(n)?n:Ca,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let i=r.__localeChainCache.get(o);if(!i){i=[];let a=[n];for(;nn(a);)a=fv(i,a,t);const s=nn(t)||!mt(t)?t:t.default?t.default:null;a=Ge(s)?[s]:s,nn(a)&&fv(i,a,!1),r.__localeChainCache.set(o,i)}return i}function fv(e,t,n){let o=!0;for(let r=0;r`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function e$(){return{upper:(e,t)=>t==="text"&&Ge(e)?e.toUpperCase():t==="vnode"&&Nt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Ge(e)?e.toLowerCase():t==="vnode"&&Nt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Ge(e)?pv(e):t==="vnode"&&Nt(e)&&"__v_isVNode"in e?pv(e.children):e}}let eC;function mv(e){eC=e}let tC;function t$(e){tC=e}let nC;function n$(e){nC=e}let oC=null;const o$=e=>{oC=e},r$=()=>oC;let rC=null;const gv=e=>{rC=e},i$=()=>rC;let vv=0;function a$(e={}){const t=Gt(e.onWarn)?e.onWarn:ZR,n=Ge(e.version)?e.version:QE,o=Ge(e.locale)||Gt(e.locale)?e.locale:Ca,r=Gt(o)?Ca:o,i=nn(e.fallbackLocale)||mt(e.fallbackLocale)||Ge(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,a=mt(e.messages)?e.messages:{[r]:{}},s=mt(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},l=mt(e.numberFormats)?e.numberFormats:{[r]:{}},c=kn({},e.modifiers||{},e$()),u=e.pluralRules||{},d=Gt(e.missing)?e.missing:null,f=_t(e.missingWarn)||Br(e.missingWarn)?e.missingWarn:!0,p=_t(e.fallbackWarn)||Br(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,m=!!e.unresolving,v=Gt(e.postTranslation)?e.postTranslation:null,b=mt(e.processor)?e.processor:null,w=_t(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter,S=Gt(e.messageCompiler)?e.messageCompiler:eC,_=Gt(e.messageResolver)?e.messageResolver:tC||zE,x=Gt(e.localeFallbacker)?e.localeFallbacker:nC||XE,y=Nt(e.fallbackContext)?e.fallbackContext:void 0,k=e,P=Nt(k.__datetimeFormatters)?k.__datetimeFormatters:new Map,T=Nt(k.__numberFormatters)?k.__numberFormatters:new Map,$=Nt(k.__meta)?k.__meta:{};vv++;const R={version:n,cid:vv,locale:o,fallbackLocale:i,messages:a,modifiers:c,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:m,postTranslation:v,processor:b,warnHtmlMessage:w,escapeParameter:C,messageCompiler:S,messageResolver:_,localeFallbacker:x,fallbackContext:y,onWarn:t,__meta:$};return R.datetimeFormats=s,R.numberFormats=l,R.__datetimeFormatters=P,R.__numberFormatters=T,__INTLIFY_PROD_DEVTOOLS__&&qE(R,n,$),R}function gp(e,t,n,o,r){const{missing:i,onWarn:a}=e;if(i!==null){const s=i(e,n,t,r);return Ge(s)?s:t}else return t}function es(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function _d(e){return n=>s$(n,e)}function s$(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const o=n,r=o.c||o.cases;return e.plural(r.reduce((i,a)=>[...i,bv(e,a)],[]))}else return bv(e,n)}function bv(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const o=(t.i||t.items).reduce((r,i)=>[...r,Ff(e,i)],[]);return e.normalize(o)}}function Ff(e,t){const n=t.t||t.type;switch(n){case 3:{const o=t;return o.v||o.value}case 9:{const o=t;return o.v||o.value}case 4:{const o=t;return e.interpolate(e.named(o.k||o.key))}case 5:{const o=t;return e.interpolate(e.list(o.i!=null?o.i:o.index))}case 6:{const o=t,r=o.m||o.modifier;return e.linked(Ff(e,o.k||o.key),r?Ff(e,r):void 0,e.type)}case 7:{const o=t;return o.v||o.value}case 8:{const o=t;return o.v||o.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const iC=e=>e;let ia=Object.create(null);const wa=e=>Nt(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function aC(e,t={}){let n=!1;const o=t.onError||rE;return t.onError=r=>{n=!0,o(r)},{...TE(e,t),detectError:n}}const l$=(e,t)=>{if(!Ge(e))throw Do(xo.NOT_SUPPORT_NON_STRING_MESSAGE);{_t(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||iC)(e),r=ia[o];if(r)return r;const{code:i,detectError:a}=aC(e,t),s=new Function(`return ${i}`)();return a?s:ia[o]=s}};function c$(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&Ge(e)){_t(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||iC)(e),r=ia[o];if(r)return r;const{ast:i,detectError:a}=aC(e,{...t,location:!1,jit:!0}),s=_d(i);return a?s:ia[o]=s}else{const n=e.cacheKey;if(n){const o=ia[n];return o||(ia[n]=_d(e))}else return _d(e)}}const yv=()=>"",no=e=>Gt(e);function xv(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,messageCompiler:i,fallbackLocale:a,messages:s}=e,[l,c]=Bf(...t),u=_t(c.missingWarn)?c.missingWarn:e.missingWarn,d=_t(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=_t(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=Ge(c.default)||_t(c.default)?_t(c.default)?i?l:()=>l:c.default:n?i?l:()=>l:"",m=n||h!=="",v=mp(e,c);f&&u$(c);let[b,w,C]=p?[l,v,s[v]||{}]:sC(e,l,v,a,d,u),S=b,_=l;if(!p&&!(Ge(S)||wa(S)||no(S))&&m&&(S=h,_=S),!p&&(!(Ge(S)||wa(S)||no(S))||!Ge(w)))return r?pu:l;let x=!1;const y=()=>{x=!0},k=no(S)?S:lC(e,l,w,S,_,y);if(x)return S;const P=h$(e,w,C,c),T=WE(P),$=d$(e,k,T),R=o?o($,l):$;if(__INTLIFY_PROD_DEVTOOLS__){const K={timestamp:Date.now(),key:Ge(l)?l:no(S)?S.key:"",locale:w||(no(S)?S.locale:""),format:Ge(S)?S:no(S)?S.source:"",message:R};K.meta=kn({},e.__meta,r$()||{}),KE(K)}return R}function u$(e){nn(e.list)?e.list=e.list.map(t=>Ge(t)?rv(t):t):Nt(e.named)&&Object.keys(e.named).forEach(t=>{Ge(e.named[t])&&(e.named[t]=rv(e.named[t]))})}function sC(e,t,n,o,r,i){const{messages:a,onWarn:s,messageResolver:l,localeFallbacker:c}=e,u=c(e,o,n);let d={},f,p=null;const h="translate";for(let m=0;mo;return c.locale=n,c.key=t,c}const l=a(o,f$(e,n,r,o,s,i));return l.locale=n,l.key=t,l.source=o,l}function d$(e,t,n){return t(n)}function Bf(...e){const[t,n,o]=e,r={};if(!Ge(t)&&!xn(t)&&!no(t)&&!wa(t))throw Do(xo.INVALID_ARGUMENT);const i=xn(t)?String(t):(no(t),t);return xn(n)?r.plural=n:Ge(n)?r.default=n:mt(n)&&!fu(n)?r.named=n:nn(n)&&(r.list=n),xn(o)?r.plural=o:Ge(o)?r.default=o:mt(o)&&kn(r,o),[i,r]}function f$(e,t,n,o,r,i){return{locale:t,key:n,warnHtmlMessage:r,onError:a=>{throw i&&i(a),a},onCacheKey:a=>WR(t,n,a)}}function h$(e,t,n,o){const{modifiers:r,pluralRules:i,messageResolver:a,fallbackLocale:s,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,f={locale:t,modifiers:r,pluralRules:i,messages:p=>{let h=a(n,p);if(h==null&&u){const[,,m]=sC(u,p,t,s,l,c);h=a(m,p)}if(Ge(h)||wa(h)){let m=!1;const b=lC(e,p,t,h,p,()=>{m=!0});return m?yv:b}else return no(h)?h:yv}};return e.processor&&(f.processor=e.processor),o.list&&(f.list=o.list),o.named&&(f.named=o.named),xn(o.plural)&&(f.pluralIndex=o.plural),f}function Cv(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:s}=e,[l,c,u,d]=Nf(...t),f=_t(u.missingWarn)?u.missingWarn:e.missingWarn;_t(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=mp(e,u),m=a(e,r,h);if(!Ge(l)||l==="")return new Intl.DateTimeFormat(h,d).format(c);let v={},b,w=null;const C="datetime format";for(let x=0;x{cC.includes(l)?a[l]=n[l]:i[l]=n[l]}),Ge(o)?i.locale=o:mt(o)&&(a=o),mt(r)&&(a=r),[i.key||"",s,i,a]}function wv(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__datetimeFormatters.has(i)&&o.__datetimeFormatters.delete(i)}}function _v(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:s}=e,[l,c,u,d]=Hf(...t),f=_t(u.missingWarn)?u.missingWarn:e.missingWarn;_t(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=mp(e,u),m=a(e,r,h);if(!Ge(l)||l==="")return new Intl.NumberFormat(h,d).format(c);let v={},b,w=null;const C="number format";for(let x=0;x{uC.includes(l)?a[l]=n[l]:i[l]=n[l]}),Ge(o)?i.locale=o:mt(o)&&(a=o),mt(r)&&(a=r),[i.key||"",s,i,a]}function Sv(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__numberFormatters.has(i)&&o.__numberFormatters.delete(i)}}RE();/*! + * vue-i18n v9.12.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */const sE="9.9.0";function lE(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(or().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(or().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(or().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(or().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(or().__INTLIFY_PROD_DEVTOOLS__=!1)}const tC=j$.__EXTEND_POINT__,_r=hp(tC);_r(),_r(),_r(),_r(),_r(),_r(),_r(),_r();const nC=bo.__EXTEND_POINT__,Ln=hp(nC),xn={UNEXPECTED_RETURN_TYPE:nC,INVALID_ARGUMENT:Ln(),MUST_BE_CALL_SETUP_TOP:Ln(),NOT_INSTALLED:Ln(),NOT_AVAILABLE_IN_LEGACY_MODE:Ln(),REQUIRED_VALUE:Ln(),INVALID_VALUE:Ln(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ln(),NOT_INSTALLED_WITH_PROVIDE:Ln(),UNEXPECTED_ERROR:Ln(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ln(),BRIDGE_SUPPORT_VUE_2_ONLY:Ln(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ln(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ln(),__EXTEND_POINT__:Ln()};function Sn(e,...t){return La(e,null,void 0)}const Hf=Wr("__translateVNode"),jf=Wr("__datetimeParts"),Vf=Wr("__numberParts"),oC=Wr("__setPluralRules"),rC=Wr("__injectWithOption"),Wf=Wr("__dispose");function Ns(e){if(!Ht(e))return e;for(const t in e)if(wc(e,t))if(!t.includes("."))Ht(e[t])&&Ns(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]||{},oc(c,a[l])):oc(c,a)}else Ke(s)&&oc(JSON.parse(s),a)}),r==null&&i)for(const s in a)wc(a,s)&&Ns(a[s]);return a}function iC(e){return e.type}function aC(e,t,n){let o=Ht(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=hu(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 _v(e){return te(za,null,e,0)}const Sv="__INTLIFY_META__",kv=()=>[],cE=()=>!1;let Pv=0;function Tv(e){return(t,n,o,r)=>e(n,o,Zn()||void 0,r)}const uE=()=>{const e=Zn();let t=null;return e&&(t=iC(e)[Sv])?{[Sv]:t}:null};function vp(e={},t){const{__root:n,__injectWithOption:o}=e,r=n===void 0,i=e.flatJson,a=Cc?F:Ia;let s=_t(e.inheritLocale)?e.inheritLocale:!0;const l=a(n&&s?n.locale.value:Ke(e.locale)?e.locale:Sa),c=a(n&&s?n.fallbackLocale.value:Ke(e.fallbackLocale)||tn(e.fallbackLocale)||mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),u=a(hu(l.value,e)),d=a(mt(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),f=a(mt(e.numberFormats)?e.numberFormats:{[l.value]:{}});let p=n?n.missingWarn:_t(e.missingWarn)||Br(e.missingWarn)?e.missingWarn:!0,h=n?n.fallbackWarn:_t(e.fallbackWarn)||Br(e.fallbackWarn)?e.fallbackWarn:!0,g=n?n.fallbackRoot:_t(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,m=Gt(e.missing)?e.missing:null,x=Gt(e.missing)?Tv(e.missing):null,S=Gt(e.postTranslation)?e.postTranslation:null,_=n?n.warnHtmlMessage:_t(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter;const C=n?n.modifiers:mt(e.modifiers)?e.modifiers:{};let y=e.pluralRules||n&&n.pluralRules,k;k=(()=>{r&&pv(null);const ee={version:sE,locale:l.value,fallbackLocale:c.value,messages:u.value,modifiers:C,pluralRules:y,missing:x===null?void 0:x,missingWarn:p,fallbackWarn:h,fallbackFormat:b,unresolving:!0,postTranslation:S===null?void 0:S,warnHtmlMessage:_,escapeParameter:w,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};ee.datetimeFormats=d.value,ee.numberFormats=f.value,ee.__datetimeFormatters=mt(k)?k.__datetimeFormatters:void 0,ee.__numberFormatters=mt(k)?k.__numberFormatters:void 0;const fe=Q$(ee);return r&&pv(fe),fe})(),os(k,l.value,c.value);function $(){return[l.value,c.value,u.value,d.value,f.value]}const I=L({get:()=>l.value,set:ee=>{l.value=ee,k.locale=l.value}}),A=L({get:()=>c.value,set:ee=>{c.value=ee,k.fallbackLocale=c.value,os(k,l.value,ee)}}),K=L(()=>u.value),B=L(()=>d.value),M=L(()=>f.value);function D(){return Gt(S)?S:null}function Y(ee){S=ee,k.postTranslation=ee}function Q(){return m}function ue(ee){ee!==null&&(x=Tv(ee)),m=ee,k.missing=x}const le=(ee,fe,Te,Fe,Ye,Se)=>{$();let De;try{__INTLIFY_PROD_DEVTOOLS__,r||(k.fallbackContext=n?J$():void 0),De=ee(k)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(k.fallbackContext=void 0)}if(Te!=="translate exists"&&yn(De)&&De===fu||Te==="translate exists"&&!De){const[Ue,Ae]=fe();return n&&g?Fe(n):Ye(Ue)}else{if(Se(De))return De;throw Sn(xn.UNEXPECTED_RETURN_TYPE)}};function N(...ee){return le(fe=>Reflect.apply(bv,null,[fe,...ee]),()=>Ff(...ee),"translate",fe=>Reflect.apply(fe.t,fe,[...ee]),fe=>fe,fe=>Ke(fe))}function E(...ee){const[fe,Te,Fe]=ee;if(Fe&&!Ht(Fe))throw Sn(xn.INVALID_ARGUMENT);return N(fe,Te,Pn({resolvedMessage:!0},Fe||{}))}function O(...ee){return le(fe=>Reflect.apply(yv,null,[fe,...ee]),()=>Bf(...ee),"datetime format",fe=>Reflect.apply(fe.d,fe,[...ee]),()=>dv,fe=>Ke(fe))}function q(...ee){return le(fe=>Reflect.apply(Cv,null,[fe,...ee]),()=>Nf(...ee),"number format",fe=>Reflect.apply(fe.n,fe,[...ee]),()=>dv,fe=>Ke(fe))}function ne(ee){return ee.map(fe=>Ke(fe)||yn(fe)||_t(fe)?_v(String(fe)):fe)}const J={normalize:ne,interpolate:ee=>ee,type:"vnode"};function be(...ee){return le(fe=>{let Te;const Fe=fe;try{Fe.processor=J,Te=Reflect.apply(bv,null,[Fe,...ee])}finally{Fe.processor=null}return Te},()=>Ff(...ee),"translate",fe=>fe[Hf](...ee),fe=>[_v(fe)],fe=>tn(fe))}function H(...ee){return le(fe=>Reflect.apply(Cv,null,[fe,...ee]),()=>Nf(...ee),"number format",fe=>fe[Vf](...ee),kv,fe=>Ke(fe)||tn(fe))}function ge(...ee){return le(fe=>Reflect.apply(yv,null,[fe,...ee]),()=>Bf(...ee),"datetime format",fe=>fe[jf](...ee),kv,fe=>Ke(fe)||tn(fe))}function Ie(ee){y=ee,k.pluralRules=y}function Le(ee,fe){return le(()=>{if(!ee)return!1;const Te=Ke(fe)?fe:l.value,Fe=W(Te),Ye=k.messageResolver(Fe,ee);return ka(Ye)||no(Ye)||Ke(Ye)},()=>[ee],"translate exists",Te=>Reflect.apply(Te.te,Te,[ee,fe]),cE,Te=>_t(Te))}function P(ee){let fe=null;const Te=Vx(k,c.value,l.value);for(let Fe=0;Fe{s&&(l.value=ee,k.locale=ee,os(k,l.value,c.value))}),ht(n.fallbackLocale,ee=>{s&&(c.value=ee,k.fallbackLocale=ee,os(k,l.value,c.value))}));const de={id:Pv,locale:I,fallbackLocale:A,get inheritLocale(){return s},set inheritLocale(ee){s=ee,ee&&n&&(l.value=n.locale.value,c.value=n.fallbackLocale.value,os(k,l.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:K,get modifiers(){return C},get pluralRules(){return y||{}},get isGlobal(){return r},get missingWarn(){return p},set missingWarn(ee){p=ee,k.missingWarn=p},get fallbackWarn(){return h},set fallbackWarn(ee){h=ee,k.fallbackWarn=h},get fallbackRoot(){return g},set fallbackRoot(ee){g=ee},get fallbackFormat(){return b},set fallbackFormat(ee){b=ee,k.fallbackFormat=b},get warnHtmlMessage(){return _},set warnHtmlMessage(ee){_=ee,k.warnHtmlMessage=ee},get escapeParameter(){return w},set escapeParameter(ee){w=ee,k.escapeParameter=ee},t:N,getLocaleMessage:W,setLocaleMessage:oe,mergeLocaleMessage:G,getPostTranslationHandler:D,setPostTranslationHandler:Y,getMissingHandler:Q,setMissingHandler:ue,[oC]:Ie};return de.datetimeFormats=B,de.numberFormats=M,de.rt=E,de.te=Le,de.tm=T,de.d=O,de.n=q,de.getDateTimeFormat=se,de.setDateTimeFormat=xe,de.mergeDateTimeFormat=ye,de.getNumberFormat=Ce,de.setNumberFormat=we,de.mergeNumberFormat=Ee,de[rC]=o,de[Hf]=be,de[jf]=ge,de[Vf]=H,de}function dE(e){const t=Ke(e.locale)?e.locale:Sa,n=Ke(e.fallbackLocale)||tn(e.fallbackLocale)||mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=Gt(e.missing)?e.missing:void 0,r=_t(e.silentTranslationWarn)||Br(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=_t(e.silentFallbackWarn)||Br(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=_t(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,l=mt(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Gt(e.postTranslation)?e.postTranslation:void 0,d=Ke(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,p=_t(e.sync)?e.sync:!0;let h=e.messages;if(mt(e.sharedMessages)){const w=e.sharedMessages;h=Object.keys(w).reduce((y,k)=>{const R=y[k]||(y[k]={});return Pn(R,w[k]),y},h||{})}const{__i18n:g,__root:b,__injectWithOption:m}=e,x=e.datetimeFormats,S=e.numberFormats,_=e.flatJson;return{locale:t,fallbackLocale:n,messages:h,flatJson:_,datetimeFormats:x,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:g,__root:b,__injectWithOption:m}}function Uf(e={},t){{const n=vp(dE(e)),{__extender:o}=e,r={id:n.id,get locale(){return n.locale.value},set locale(i){n.locale.value=i},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(i){n.fallbackLocale.value=i},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return n.getMissingHandler()},set missing(i){n.setMissingHandler(i)},get silentTranslationWarn(){return _t(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=_t(i)?!i:i},get silentFallbackWarn(){return _t(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=_t(i)?!i:i},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(i){n.fallbackFormat=i},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(i){n.setPostTranslationHandler(i)},get sync(){return n.inheritLocale},set sync(i){n.inheritLocale=i},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){n.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(i){n.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...i){const[a,s,l]=i,c={};let u=null,d=null;if(!Ke(a))throw Sn(xn.INVALID_ARGUMENT);const f=a;return Ke(s)?c.locale=s:tn(s)?u=s:mt(s)&&(d=s),tn(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(!Ke(a))throw Sn(xn.INVALID_ARGUMENT);const f=a;return Ke(s)?c.locale=s:yn(s)?c.plural=s:tn(s)?u=s:mt(s)&&(d=s),Ke(l)?c.locale=l:tn(l)?u=l:mt(l)&&(d=l),Reflect.apply(n.t,n,[f,u||d||{},c])},te(i,a){return n.te(i,a)},tm(i){return n.tm(i)},getLocaleMessage(i){return n.getLocaleMessage(i)},setLocaleMessage(i,a){n.setLocaleMessage(i,a)},mergeLocaleMessage(i,a){n.mergeLocaleMessage(i,a)},d(...i){return Reflect.apply(n.d,n,[...i])},getDateTimeFormat(i){return n.getDateTimeFormat(i)},setDateTimeFormat(i,a){n.setDateTimeFormat(i,a)},mergeDateTimeFormat(i,a){n.mergeDateTimeFormat(i,a)},n(...i){return Reflect.apply(n.n,n,[...i])},getNumberFormat(i){return n.getNumberFormat(i)},setNumberFormat(i,a){n.setNumberFormat(i,a)},mergeNumberFormat(i,a){n.mergeNumberFormat(i,a)},getChoiceIndex(i,a){return-1}};return r.__extender=o,r}}const bp={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function fE({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,r)=>[...o,...r.type===at?r.children:[r]],[]):t.reduce((n,o)=>{const r=e[o];return r&&(n[o]=r()),n},{})}function sC(e){return at}const hE=me({name:"i18n-t",props:Pn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>yn(e)||!isNaN(e)}},bp),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||yp({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(d=>d!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=Ke(e.plural)?+e.plural:e.plural);const s=fE(t,i),l=r[Hf](e.keypath,s,a),c=Pn({},o),u=Ke(e.tag)||Ht(e.tag)?e.tag:sC();return v(u,c,l)}}}),Rv=hE;function pE(e){return tn(e)&&!Ke(e[0])}function lC(e,t,n,o){const{slots:r,attrs:i}=t;return()=>{const a={part:!0};let s={};e.locale&&(a.locale=e.locale),Ke(e.format)?a.key=e.format:Ht(e.format)&&(Ke(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce((f,p)=>n.includes(p)?Pn({},f,{[p]:e.format[p]}):f,{}));const l=o(e.value,a,s);let c=[a.key];tn(l)?c=l.map((f,p)=>{const h=r[f.type],g=h?h({[f.type]:f.value,index:p,parts:l}):[f.value];return pE(g)&&(g[0].key=`${f.type}-${p}`),g}):Ke(l)&&(c=[l]);const u=Pn({},i),d=Ke(e.tag)||Ht(e.tag)?e.tag:sC();return v(d,u,c)}}const mE=me({name:"i18n-n",props:Pn({value:{type:Number,required:!0},format:{type:[String,Object]}},bp),setup(e,t){const n=e.i18n||yp({useScope:"parent",__useComponent:!0});return lC(e,t,eC,(...o)=>n[Vf](...o))}}),$v=mE,gE=me({name:"i18n-d",props:Pn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},bp),setup(e,t){const n=e.i18n||yp({useScope:"parent",__useComponent:!0});return lC(e,t,Qx,(...o)=>n[jf](...o))}}),Ev=gE;function vE(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 bE(e){const t=a=>{const{instance:s,modifiers:l,value:c}=a;if(!s||!s.$)throw Sn(xn.UNEXPECTED_ERROR);const u=vE(e,s.$),d=Av(c);return[Reflect.apply(u.t,u,[...Iv(d)]),u]};return{created:(a,s)=>{const[l,c]=t(s);Cc&&e.global===c&&(a.__i18nWatcher=ht(c.locale,()=>{s.instance&&s.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{Cc&&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=Av(s);a.textContent=Reflect.apply(l.t,l,[...Iv(c)])}},getSSRProps:a=>{const[s]=t(a);return{textContent:s}}}}function Av(e){if(Ke(e))return{path:e};if(mt(e)){if(!("path"in e))throw Sn(xn.REQUIRED_VALUE,"path");return e}else throw Sn(xn.INVALID_VALUE)}function Iv(e){const{path:t,locale:n,args:o,choice:r,plural:i}=e,a={},s=o||{};return Ke(n)&&(a.locale=n),yn(r)&&(a.plural=r),yn(i)&&(a.plural=i),[t,s,a]}function yE(e,t,...n){const o=mt(n[0])?n[0]:{},r=!!o.useI18nComponentName;(_t(o.globalInstall)?o.globalInstall:!0)&&([r?"i18n":Rv.name,"I18nT"].forEach(a=>e.component(a,Rv)),[$v.name,"I18nN"].forEach(a=>e.component(a,$v)),[Ev.name,"I18nD"].forEach(a=>e.component(a,Ev))),e.directive("t",bE(t))}function xE(e,t,n){return{beforeCreate(){const o=Zn();if(!o)throw Sn(xn.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=Ov(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=Uf(i);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=Ov(e,r);else{this.$i18n=Uf({__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&&aC(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=Zn();if(!o)throw Sn(xn.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 Ov(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[oC](t.pluralizationRules||e.pluralizationRules);const n=hu(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 CE=Wr("global-vue-i18n");function wE(e={},t){const n=__VUE_I18N_LEGACY_API__&&_t(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=_t(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,i=new Map,[a,s]=_E(e,n),l=Wr("");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 m=h[0];f.__composerExtend=m.__composerExtend,f.__vueI18nExtend=m.__vueI18nExtend}let g=null;!n&&o&&(g=IE(p,f.global)),__VUE_I18N_FULL_INSTALL__&&yE(p,f,...h),__VUE_I18N_LEGACY_API__&&n&&p.mixin(xE(s,s.__composer,f));const b=p.unmount;p.unmount=()=>{g&&g(),f.dispose(),b()}},get global(){return s},dispose(){a.stop()},__instances:i,__getInstance:c,__setInstance:u,__deleteInstance:d};return f}}function yp(e={}){const t=Zn();if(t==null)throw Sn(xn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Sn(xn.NOT_INSTALLED);const n=SE(t),o=PE(n),r=iC(t),i=kE(e,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Sn(xn.NOT_AVAILABLE_IN_LEGACY_MODE);return EE(t,i,o,e)}if(i==="global")return aC(o,e,r),o;if(i==="parent"){let l=TE(n,t,e.__useComponent);return l==null&&(l=o),l}const a=n;let s=a.__getInstance(t);if(s==null){const l=Pn({},e);"__i18n"in r&&(l.__i18n=r.__i18n),o&&(l.__root=o),s=vp(l),a.__composerExtend&&(s[Wf]=a.__composerExtend(s)),$E(a,t,s),a.__setInstance(t,s)}return s}function _E(e,t,n){const o=Mh();{const r=__VUE_I18N_LEGACY_API__&&t?o.run(()=>Uf(e)):o.run(()=>vp(e));if(r==null)throw Sn(xn.UNEXPECTED_ERROR);return[o,r]}}function SE(e){{const t=We(e.isCE?CE:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Sn(e.isCE?xn.NOT_INSTALLED_WITH_PROVIDE:xn.UNEXPECTED_ERROR);return t}}function kE(e,t){return du(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function PE(e){return e.mode==="composition"?e.global:e.global.__composer}function TE(e,t,n=!1){let o=null;const r=t.root;let i=RE(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[rC]&&(o=null))}if(o!=null||r===i)break;i=i.parent}return o}function RE(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function $E(e,t,n){Ft(()=>{},t),Ma(()=>{const o=n;e.__deleteInstance(t);const r=o[Wf];r&&(r(),delete o[Wf])},t)}function EE(e,t,n,o={}){const r=t==="local",i=Ia(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Sn(xn.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=_t(o.inheritLocale)?o.inheritLocale:!Ke(o.locale),s=F(!r||a?n.locale.value:Ke(o.locale)?o.locale:Sa),l=F(!r||a?n.fallbackLocale.value:Ke(o.fallbackLocale)||tn(o.fallbackLocale)||mt(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:s.value),c=F(hu(s.value,o)),u=F(mt(o.datetimeFormats)?o.datetimeFormats:{[s.value]:{}}),d=F(mt(o.numberFormats)?o.numberFormats:{[s.value]:{}}),f=r?n.missingWarn:_t(o.missingWarn)||Br(o.missingWarn)?o.missingWarn:!0,p=r?n.fallbackWarn:_t(o.fallbackWarn)||Br(o.fallbackWarn)?o.fallbackWarn:!0,h=r?n.fallbackRoot:_t(o.fallbackRoot)?o.fallbackRoot:!0,g=!!o.fallbackFormat,b=Gt(o.missing)?o.missing:null,m=Gt(o.postTranslation)?o.postTranslation:null,x=r?n.warnHtmlMessage:_t(o.warnHtmlMessage)?o.warnHtmlMessage:!0,S=!!o.escapeParameter,_=r?n.modifiers:mt(o.modifiers)?o.modifiers:{},w=o.pluralRules||r&&n.pluralRules;function C(){return[s.value,l.value,c.value,u.value,d.value]}const y=L({get:()=>i.value?i.value.locale.value:s.value,set:T=>{i.value&&(i.value.locale.value=T),s.value=T}}),k=L({get:()=>i.value?i.value.fallbackLocale.value:l.value,set:T=>{i.value&&(i.value.fallbackLocale.value=T),l.value=T}}),R=L(()=>i.value?i.value.messages.value:c.value),$=L(()=>u.value),I=L(()=>d.value);function A(){return i.value?i.value.getPostTranslationHandler():m}function K(T){i.value&&i.value.setPostTranslationHandler(T)}function B(){return i.value?i.value.getMissingHandler():b}function M(T){i.value&&i.value.setMissingHandler(T)}function D(T){return C(),T()}function Y(...T){return i.value?D(()=>Reflect.apply(i.value.t,null,[...T])):D(()=>"")}function Q(...T){return i.value?Reflect.apply(i.value.rt,null,[...T]):""}function ue(...T){return i.value?D(()=>Reflect.apply(i.value.d,null,[...T])):D(()=>"")}function le(...T){return i.value?D(()=>Reflect.apply(i.value.n,null,[...T])):D(()=>"")}function N(T){return i.value?i.value.tm(T):{}}function E(T,W){return i.value?i.value.te(T,W):!1}function O(T){return i.value?i.value.getLocaleMessage(T):{}}function q(T,W){i.value&&(i.value.setLocaleMessage(T,W),c.value[T]=W)}function ne(T,W){i.value&&i.value.mergeLocaleMessage(T,W)}function ve(T){return i.value?i.value.getDateTimeFormat(T):{}}function J(T,W){i.value&&(i.value.setDateTimeFormat(T,W),u.value[T]=W)}function be(T,W){i.value&&i.value.mergeDateTimeFormat(T,W)}function H(T){return i.value?i.value.getNumberFormat(T):{}}function ge(T,W){i.value&&(i.value.setNumberFormat(T,W),d.value[T]=W)}function Ie(T,W){i.value&&i.value.mergeNumberFormat(T,W)}const Le={get id(){return i.value?i.value.id:-1},locale:y,fallbackLocale:k,messages:R,datetimeFormats:$,numberFormats:I,get inheritLocale(){return i.value?i.value.inheritLocale:a},set inheritLocale(T){i.value&&(i.value.inheritLocale=T)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(c.value)},get modifiers(){return i.value?i.value.modifiers:_},get pluralRules(){return i.value?i.value.pluralRules:w},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:f},set missingWarn(T){i.value&&(i.value.missingWarn=T)},get fallbackWarn(){return i.value?i.value.fallbackWarn:p},set fallbackWarn(T){i.value&&(i.value.missingWarn=T)},get fallbackRoot(){return i.value?i.value.fallbackRoot:h},set fallbackRoot(T){i.value&&(i.value.fallbackRoot=T)},get fallbackFormat(){return i.value?i.value.fallbackFormat:g},set fallbackFormat(T){i.value&&(i.value.fallbackFormat=T)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:x},set warnHtmlMessage(T){i.value&&(i.value.warnHtmlMessage=T)},get escapeParameter(){return i.value?i.value.escapeParameter:S},set escapeParameter(T){i.value&&(i.value.escapeParameter=T)},t:Y,getPostTranslationHandler:A,setPostTranslationHandler:K,getMissingHandler:B,setMissingHandler:M,rt:Q,d:ue,n:le,tm:N,te:E,getLocaleMessage:O,setLocaleMessage:q,mergeLocaleMessage:ne,getDateTimeFormat:ve,setDateTimeFormat:J,mergeDateTimeFormat:be,getNumberFormat:H,setNumberFormat:ge,mergeNumberFormat:Ie};function P(T){T.locale.value=s.value,T.fallbackLocale.value=l.value,Object.keys(c.value).forEach(W=>{T.mergeLocaleMessage(W,c.value[W])}),Object.keys(u.value).forEach(W=>{T.mergeDateTimeFormat(W,u.value[W])}),Object.keys(d.value).forEach(W=>{T.mergeNumberFormat(W,d.value[W])}),T.escapeParameter=S,T.fallbackFormat=g,T.fallbackRoot=h,T.fallbackWarn=p,T.missingWarn=f,T.warnHtmlMessage=x}return cn(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Sn(xn.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const T=i.value=e.proxy.$i18n.__composer;t==="global"?(s.value=T.locale.value,l.value=T.fallbackLocale.value,c.value=T.messages.value,u.value=T.datetimeFormats.value,d.value=T.numberFormats.value):r&&P(T)}),Le}const AE=["locale","fallbackLocale","availableLocales"],Mv=["t","rt","d","n","tm","te"];function IE(e,t){const n=Object.create(null);return AE.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i)throw Sn(xn.UNEXPECTED_ERROR);const a=dn(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,Mv.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i||!i.value)throw Sn(xn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,i)}),()=>{delete e.config.globalProperties.$i18n,Mv.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}lE();__INTLIFY_JIT_COMPILATION__?hv(nE):hv(tE);G$($$);Y$(Vx);if(__INTLIFY_PROD_DEVTOOLS__){const e=or();e.__INTLIFY__=!0,F$(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const cC="locale";function pu(){return Ai.get(cC)}function uC(e){Ai.set(cC,e)}const dC=Object.keys(Object.assign({"./lang/en-US.json":()=>Ct(()=>Promise.resolve().then(()=>rk),void 0),"./lang/fa-IR.json":()=>Ct(()=>Promise.resolve().then(()=>ik),void 0),"./lang/ja-JP.json":()=>Ct(()=>Promise.resolve().then(()=>ak),void 0),"./lang/ko-KR.json":()=>Ct(()=>Promise.resolve().then(()=>sk),void 0),"./lang/vi-VN.json":()=>Ct(()=>Promise.resolve().then(()=>lk),void 0),"./lang/zh-CN.json":()=>Ct(()=>Promise.resolve().then(()=>ck),void 0),"./lang/zh-TW.json":()=>Ct(()=>Promise.resolve().then(()=>uk),void 0)})).map(e=>e.slice(7,-5));function OE(){const e=navigator.language,t="zh-CN",o=dC.includes(e)?e:t;return pu().value||uC(o),o}const sn=wE({locale:pu().value||OE(),fallbackLocale:"en-US",messages:{}});async function ME(){await Promise.all(dC.map(async e=>{const t=await LR(Object.assign({"./lang/en-US.json":()=>Ct(()=>Promise.resolve().then(()=>rk),void 0),"./lang/fa-IR.json":()=>Ct(()=>Promise.resolve().then(()=>ik),void 0),"./lang/ja-JP.json":()=>Ct(()=>Promise.resolve().then(()=>ak),void 0),"./lang/ko-KR.json":()=>Ct(()=>Promise.resolve().then(()=>sk),void 0),"./lang/vi-VN.json":()=>Ct(()=>Promise.resolve().then(()=>lk),void 0),"./lang/zh-CN.json":()=>Ct(()=>Promise.resolve().then(()=>ck),void 0),"./lang/zh-TW.json":()=>Ct(()=>Promise.resolve().then(()=>uk),void 0)}),`./lang/${e}.json`).then(n=>n.default||n);sn.global.setLocaleMessage(e,t)}))}async function zE(e){e.use(sn),ME()}const xi={"zh-CN":"简体中文","zh-TW":"繁體中文","en-US":"English","fa-IR":"Iran","ja-JP":"日本語","vi-VN":"Tiếng Việt","ko-KR":"한국어"},qf=e=>sn.global.t(e);function jo(e=void 0,t="YYYY-MM-DD HH:mm:ss"){return e==null?"":(e.toString().length===10&&(e=e*1e3),MR(e).format(t))}function xp(e=void 0,t="YYYY-MM-DD"){return jo(e,t)}function sa(e){const t=typeof e=="string"?parseFloat(e):e;return isNaN(t)?"0.00":t.toFixed(2)}function an(e){const t=typeof e=="string"?parseFloat(e):e;return isNaN(t)?"0.00":(t/100).toFixed(2)}function da(e){navigator.clipboard?navigator.clipboard.writeText(e).then(()=>{window.$message.success(qf("复制成功"))}).catch(t=>{console.error("复制到剪贴板时出错:",t),zv(e)}):zv(e)}function zv(e){const t=document.createElement("button"),n=new DR(t,{text:()=>e});n.on("success",()=>{window.$message.success(qf("复制成功")),n.destroy()}),n.on("error",()=>{window.$message.error(qf("复制失败")),n.destroy()}),t.click()}function DE(e,t){if(e.length!==t.length)return!1;const n=[...e].sort(),o=[...t].sort();return n.every((r,i)=>r===o[i])}function xs(e){const t=e/1024,n=t/1024,o=n/1024,r=o/1024;return r>=1?sa(r)+" TB":o>=1?sa(o)+" GB":n>=1?sa(n)+" MB":sa(t)+" KB"}function LE(e){return typeof e>"u"}function FE(e){return e===null}function Dv(e){return e&&Array.isArray(e)}function fC(e){return FE(e)||LE(e)}function Lv(e){return/^(https?:|mailto:|tel:)/.test(e)}const Cs=/^[a-z0-9]+(-[a-z0-9]+)*$/,mu=(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&&!rc(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&&!rc(s)?null:s}if(n&&o===""){const s={provider:o,prefix:"",name:i};return t&&!rc(s,n)?null:s}return null},rc=(e,t)=>e?!!((e.provider===""||e.provider.match(Cs))&&(t&&e.prefix===""||e.prefix.match(Cs))&&e.name.match(Cs)):!1,hC=Object.freeze({left:0,top:0,width:16,height:16}),_c=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),gu=Object.freeze({...hC,..._c}),Kf=Object.freeze({...gu,body:"",hidden:!1});function BE(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 Fv(e,t){const n=BE(e,t);for(const o in Kf)o in _c?o in e&&!(o in n)&&(n[o]=_c[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function NE(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 HE(e,t,n){const o=e.icons,r=e.aliases||Object.create(null);let i={};function a(s){i=Fv(o[s]||r[s],i)}return a(t),n.forEach(a),Fv(e,i)}function pC(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=NE(e);for(const r in o){const i=o[r];i&&(t(r,HE(e,r,i)),n.push(r))}return n}const jE={provider:"",aliases:{},not_found:{},...hC};function Sd(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function mC(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Sd(e,jE))return null;const n=t.icons;for(const r in n){const i=n[r];if(!r.match(Cs)||typeof i.body!="string"||!Sd(i,Kf))return null}const o=t.aliases||Object.create(null);for(const r in o){const i=o[r],a=i.parent;if(!r.match(Cs)||typeof a!="string"||!n[a]&&!o[a]||!Sd(i,Kf))return null}return t}const Bv=Object.create(null);function VE(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Ci(e,t){const n=Bv[e]||(Bv[e]=Object.create(null));return n[t]||(n[t]=VE(e,t))}function Cp(e,t){return mC(t)?pC(t,(n,o)=>{o?e.icons[n]=o:e.missing.add(n)}):[]}function WE(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Hs=!1;function gC(e){return typeof e=="boolean"&&(Hs=e),Hs}function UE(e){const t=typeof e=="string"?mu(e,!0,Hs):e;if(t){const n=Ci(t.provider,t.prefix),o=t.name;return n.icons[o]||(n.missing.has(o)?null:void 0)}}function qE(e,t){const n=mu(e,!0,Hs);if(!n)return!1;const o=Ci(n.provider,n.prefix);return WE(o,n.name,t)}function KE(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Hs&&!t&&!e.prefix){let r=!1;return mC(e)&&(e.prefix="",pC(e,(i,a)=>{a&&qE(i,a)&&(r=!0)})),r}const n=e.prefix;if(!rc({provider:t,prefix:n,name:"a"}))return!1;const o=Ci(t,n);return!!Cp(o,e)}const vC=Object.freeze({width:null,height:null}),bC=Object.freeze({...vC,..._c}),GE=/(-?[0-9.]*[0-9]+[0-9.]*)/g,YE=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Nv(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(GE);if(o===null||!o.length)return e;const r=[];let i=o.shift(),a=YE.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 XE=e=>e==="unset"||e==="undefined"||e==="none";function ZE(e,t){const n={...gu,...e},o={...bC,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,o].forEach(h=>{const g=[],b=h.hFlip,m=h.vFlip;let x=h.rotate;b?m?x+=2:(g.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),g.push("scale(-1 1)"),r.top=r.left=0):m&&(g.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),g.push("scale(1 -1)"),r.top=r.left=0);let S;switch(x<0&&(x-=Math.floor(x/4)*4),x=x%4,x){case 1:S=r.height/2+r.top,g.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:g.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:S=r.width/2+r.left,g.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}x%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)),g.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=Nv(d,l/c)):(u=a==="auto"?l:a,d=s===null?Nv(u,c/l):s==="auto"?c:s);const f={},p=(h,g)=>{XE(g)||(f[h]=g.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 JE=/\sid="(\S+)"/g,QE="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let eA=0;function tA(e,t=QE){const n=[];let o;for(;o=JE.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+(eA++).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 Gf=Object.create(null);function nA(e,t){Gf[e]=t}function Yf(e){return Gf[e]||Gf[""]}function wp(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const _p=Object.create(null),rs=["https://api.simplesvg.com","https://api.unisvg.com"],ic=[];for(;rs.length>0;)rs.length===1||Math.random()>.5?ic.push(rs.shift()):ic.push(rs.pop());_p[""]=wp({resources:["https://api.iconify.design"].concat(ic)});function oA(e,t){const n=wp(t);return n===null?!1:(_p[e]=n,!0)}function Sp(e){return _p[e]}const rA=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Hv=rA();function iA(e,t){const n=Sp(e);if(!n)return 0;let o;if(!n.maxURL)o=0;else{let r=0;n.resources.forEach(a=>{r=Math.max(r,a.length)});const i=t+".json?icons=";o=n.maxURL-r-n.path.length-i.length}return o}function aA(e){return e===404}const sA=(e,t,n)=>{const o=[],r=iA(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 lA(e){if(typeof e=="string"){const t=Sp(e);if(t)return t.path}return"/"}const cA=(e,t,n)=>{if(!Hv){n("abort",424);return}let o=lA(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;Hv(e+o).then(i=>{const a=i.status;if(a!==200){setTimeout(()=>{n(aA(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)})},uA={prepare:sA,send:cA};function dA(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]=Ci(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 yC(e,t){e.forEach(n=>{const o=n.loaderCallbacks;o&&(n.loaderCallbacks=o.filter(r=>r.id!==t))})}function fA(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||yC([e],i.id),i.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),i.abort))})}))}let hA=0;function pA(e,t,n){const o=hA++,r=yC.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 mA(e,t=!0,n=!1){const o=[];return e.forEach(r=>{const i=typeof r=="string"?mu(r,t,n):r;i&&o.push(i)}),o}var gA={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function vA(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 C=e.resources.slice(0);for(a=[];C.length>1;){const y=Math.floor(Math.random()*C.length);a.push(C[y]),C=C.slice(0,y).concat(C.slice(y+1))}a=a.concat(C)}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 g(){l==="pending"&&(l="aborted"),h(),f.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),f=[]}function b(C,y){y&&(p=[]),typeof C=="function"&&p.push(C)}function m(){return{startTime:s,payload:t,status:l,queriesSent:c,queriesPending:f.length,subscribe:b,abort:g}}function x(){l="failed",p.forEach(C=>{C(void 0,u)})}function S(){f.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),f=[]}function _(C,y,k){const R=y!=="success";switch(f=f.filter($=>$!==C),l){case"pending":break;case"failed":if(R||!e.dataAfterTimeout)return;break;default:return}if(y==="abort"){u=k,x();return}if(R){u=k,f.length||(a.length?w():x());return}if(h(),S(),!e.random){const $=e.resources.indexOf(C.resource);$!==-1&&$!==e.index&&(e.index=$)}l="completed",p.forEach($=>{$(k)})}function w(){if(l!=="pending")return;h();const C=a.shift();if(C===void 0){if(f.length){d=setTimeout(()=>{h(),l==="pending"&&(S(),x())},e.timeout);return}x();return}const y={status:"pending",resource:C,callback:(k,R)=>{_(y,k,R)}};f.push(y),c++,d=setTimeout(w,e.rotate),n(C,t,y.callback)}return setTimeout(w),m}function xC(e){const t={...gA,...e};let n=[];function o(){n=n.filter(s=>s().status==="pending")}function r(s,l,c){const u=vA(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 jv(){}const kd=Object.create(null);function bA(e){if(!kd[e]){const t=Sp(e);if(!t)return;const n=xC(t),o={config:t,redundancy:n};kd[e]=o}return kd[e]}function yA(e,t,n){let o,r;if(typeof e=="string"){const i=Yf(e);if(!i)return n(void 0,424),jv;r=i.send;const a=bA(e);a&&(o=a.redundancy)}else{const i=wp(e);if(i){o=xC(i);const a=e.resources?e.resources[0]:"",s=Yf(a);s&&(r=s.send)}}return!o||!r?(n(void 0,424),jv):o.query(t,r,n)().abort}const Vv="iconify2",js="iconify",CC=js+"-count",Wv=js+"-version",wC=36e5,xA=168;function Xf(e,t){try{return e.getItem(t)}catch{}}function kp(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Uv(e,t){try{e.removeItem(t)}catch{}}function Zf(e,t){return kp(e,CC,t.toString())}function Jf(e){return parseInt(Xf(e,CC))||0}const vu={local:!0,session:!0},_C={local:new Set,session:new Set};let Pp=!1;function CA(e){Pp=e}let Pl=typeof window>"u"?{}:window;function SC(e){const t=e+"Storage";try{if(Pl&&Pl[t]&&typeof Pl[t].length=="number")return Pl[t]}catch{}vu[e]=!1}function kC(e,t){const n=SC(e);if(!n)return;const o=Xf(n,Wv);if(o!==Vv){if(o){const s=Jf(n);for(let l=0;l{const l=js+s.toString(),c=Xf(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{}Uv(n,l)}};let a=Jf(n);for(let s=a-1;s>=0;s--)i(s)||(s===a-1?(a--,Zf(n,a)):_C[e].add(s))}function PC(){if(!Pp){CA(!0);for(const e in vu)kC(e,t=>{const n=t.data,o=t.provider,r=n.prefix,i=Ci(o,r);if(!Cp(i,n).length)return!1;const a=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,a):a,!0})}}function wA(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const o in vu)kC(o,r=>{const i=r.data;return r.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function _A(e,t){Pp||PC();function n(o){let r;if(!vu[o]||!(r=SC(o)))return;const i=_C[o];let a;if(i.size)i.delete(a=Array.from(i).shift());else if(a=Jf(r),!Zf(r,a+1))return;const s={cached:Math.floor(Date.now()/wC),provider:e.provider,data:t};return kp(r,js+a.toString(),JSON.stringify(s))}t.lastModified&&!wA(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function qv(){}function SA(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,fA(e)}))}function kA(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=Yf(n)))return;i.prepare(n,o,r).forEach(s=>{yA(n,s,l=>{if(typeof l!="object")s.icons.forEach(c=>{e.missing.add(c)});else try{const c=Cp(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(d=>{u.delete(d)}),_A(e,l)}catch(c){console.error(c)}SA(e)})})}))}const PA=(e,t)=>{const n=mA(e,!0,gC()),o=dA(n);if(!o.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(o.loaded,o.missing,o.pending,qv)}),()=>{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(Ci(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=Ci(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&&kA(l,r[c][u])}),t?pA(t,o,i):qv};function TA(e,t){const n={...e};for(const o in t){const r=t[o],i=typeof r;o in vC?(r===null||r&&(i==="string"||i==="number"))&&(n[o]=r):i===typeof n[o]&&(n[o]=o==="rotate"?r%4:r)}return n}const RA=/[\s,]+/;function $A(e,t){t.split(RA).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function EA(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 AA(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 IA(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function OA(e){return"data:image/svg+xml,"+IA(e)}function MA(e){return'url("'+OA(e)+'")'}const Kv={...bC,inline:!1},zA={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},DA={display:"inline-block"},Qf={backgroundColor:"currentColor"},TC={backgroundColor:"transparent"},Gv={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Yv={webkitMask:Qf,mask:Qf,background:TC};for(const e in Yv){const t=Yv[e];for(const n in Gv)t[e+n]=Gv[n]}const ac={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ac[e+"-flip"]=t,ac[e.slice(0,1)+"-flip"]=t,ac[e+"Flip"]=t});function Xv(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Zv=(e,t)=>{const n=TA(Kv,t),o={...zA},r=t.mode||"svg",i={},a=t.style,s=typeof a=="object"&&!(a instanceof Array)?a:{};for(let g in t){const b=t[g];if(b!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[g]=b===!0||b==="true"||b===1;break;case"flip":typeof b=="string"&&$A(n,b);break;case"color":i.color=b;break;case"rotate":typeof b=="string"?n[g]=EA(b):typeof b=="number"&&(n[g]=b);break;case"ariaHidden":case"aria-hidden":b!==!0&&b!=="true"&&delete o["aria-hidden"];break;default:{const m=ac[g];m?(b===!0||b==="true"||b===1)&&(n[m]=!0):Kv[g]===void 0&&(o[g]=b)}}}const l=ZE(e,n),c=l.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),r==="svg"){o.style={...i,...s},Object.assign(o,c);let g=0,b=t.id;return typeof b=="string"&&(b=b.replace(/-/g,"_")),o.innerHTML=tA(l.body,b?()=>b+"ID"+g++:"iconifyVue"),v("svg",o)}const{body:u,width:d,height:f}=e,p=r==="mask"||(r==="bg"?!1:u.indexOf("currentColor")!==-1),h=AA(u,{...c,width:d+"",height:f+""});return o.style={...i,"--svg":MA(h),width:Xv(c.width),height:Xv(c.height),...DA,...p?Qf:TC,...s},v("span",o)};gC(!0);nA("",uA);if(typeof document<"u"&&typeof window<"u"){PC();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"||!KE(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;oA(n,r)||console.error(o)}catch{console.error(o)}}}}const LA={...gu,body:""},FA=me({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=mu(e,!1,!0))===null)return this.abortLoading(),null;const o=UE(n);if(!o)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",o!==null&&(this._loadingIcon={name:e,abort:PA([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 Zv(LA,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Zv({...gu,...t.data},n)}});let Sc=[];const RC=new WeakMap;function BA(){Sc.forEach(e=>e(...RC.get(e))),Sc=[]}function kc(e,...t){RC.set(e,t),!Sc.includes(e)&&Sc.push(e)===1&&requestAnimationFrame(BA)}function NA(e){return e.nodeType===9?null:e.parentNode}function $C(e){if(e===null)return null;const t=NA(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 $C(t)}function HA(e){return typeof e=="string"?document.querySelector(e):typeof e=="function"?e():e}function Vo(e,t){let{target:n}=e;for(;n;){if(n.dataset&&n.dataset[t]!==void 0)return!0;n=n.parentElement}return!1}function wi(e){return e.composedPath()[0]||null}function kn(e){return typeof e=="string"?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function Mn(e){if(e!=null)return typeof e=="number"?`${e}px`:e.endsWith("px")?e:`${e}px`}function yo(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 jA(e,t){const[n,o]=e.split(" ");return t?t==="row"?n:o:{row:n,col:o||n}}const Jv={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"},Fa="^\\s*",Ba="\\s*$",ui="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",di="([0-9A-Fa-f])",fi="([0-9A-Fa-f]{2})",VA=new RegExp(`${Fa}rgb\\s*\\(${ui},${ui},${ui}\\)${Ba}`),WA=new RegExp(`${Fa}rgba\\s*\\(${ui},${ui},${ui},${ui}\\)${Ba}`),UA=new RegExp(`${Fa}#${di}${di}${di}${Ba}`),qA=new RegExp(`${Fa}#${fi}${fi}${fi}${Ba}`),KA=new RegExp(`${Fa}#${di}${di}${di}${di}${Ba}`),GA=new RegExp(`${Fa}#${fi}${fi}${fi}${fi}${Ba}`);function Fn(e){return parseInt(e,16)}function Wo(e){try{let t;if(t=qA.exec(e))return[Fn(t[1]),Fn(t[2]),Fn(t[3]),1];if(t=VA.exec(e))return[Rn(t[1]),Rn(t[5]),Rn(t[9]),1];if(t=WA.exec(e))return[Rn(t[1]),Rn(t[5]),Rn(t[9]),ws(t[13])];if(t=UA.exec(e))return[Fn(t[1]+t[1]),Fn(t[2]+t[2]),Fn(t[3]+t[3]),1];if(t=GA.exec(e))return[Fn(t[1]),Fn(t[2]),Fn(t[3]),ws(Fn(t[4])/255)];if(t=KA.exec(e))return[Fn(t[1]+t[1]),Fn(t[2]+t[2]),Fn(t[3]+t[3]),ws(Fn(t[4]+t[4])/255)];if(e in Jv)return Wo(Jv[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function YA(e){return e>1?1:e<0?0:e}function eh(e,t,n,o){return`rgba(${Rn(e)}, ${Rn(t)}, ${Rn(n)}, ${YA(o)})`}function Pd(e,t,n,o,r){return Rn((e*t*(1-o)+n*o)/r)}function tt(e,t){Array.isArray(e)||(e=Wo(e)),Array.isArray(t)||(t=Wo(t));const n=e[3],o=t[3],r=ws(n+o-n*o);return eh(Pd(e[0],n,t[0],o,r),Pd(e[1],n,t[1],o,r),Pd(e[2],n,t[2],o,r),r)}function Me(e,t){const[n,o,r,i=1]=Array.isArray(e)?e:Wo(e);return t.alpha?eh(n,o,r,t.alpha):eh(n,o,r,i)}function fn(e,t){const[n,o,r,i=1]=Array.isArray(e)?e:Wo(e),{lightness:a=1,alpha:s=1}=t;return XA([n*a,o*a,r*a,i*s])}function ws(e){const t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function Rn(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function XA(e){const[t,n,o]=e;return 3 in e?`rgba(${Rn(t)}, ${Rn(n)}, ${Rn(o)}, ${ws(e[3])})`:`rgba(${Rn(t)}, ${Rn(n)}, ${Rn(o)}, 1)`}function Ii(e=8){return Math.random().toString(16).slice(2,2+e)}function EC(e,t){const n=[];for(let o=0;o{o[r]=e[r]}),Object.assign(o,n)}function el(e,t=[],n){const o={};return Object.getOwnPropertyNames(e).forEach(i=>{t.includes(i)||(o[i]=e[i])}),Object.assign(o,n)}function Pa(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)){Pa(o,t,n);return}if(o.type===at){if(o.children===null)return;Array.isArray(o.children)&&Pa(o.children,t,n)}else{if(o.type===En&&t)return;n.push(o)}}}),n}function Re(e,...t){if(Array.isArray(e))e.forEach(n=>Re(n,...t));else return e(...t)}function qr(e){return Object.keys(e)}const Wt=(e,...t)=>typeof e=="function"?e(...t):typeof e=="string"?Je(e):typeof e=="number"?Je(String(e)):null;function sr(e,t){console.error(`[naive/${e}]: ${t}`)}function Kr(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 JA(e){switch(typeof e){case"string":return e||void 0;case"number":return String(e);default:return}}function th(e,t="default",n=void 0){const o=e[t];if(!o)return sr("getFirstSlotVNode",`slot[${t}] is empty`),null;const r=Pa(o(n));return r.length===1?r[0]:(sr("getFirstSlotVNode",`slot[${t}] should have exactly one child`),null)}function IC(e){return t=>{t?e.value=t.$el:e.value=null}}function tl(e){return e.some(t=>Ds(t)?!(t.type===En||t.type===at&&!tl(t.children)):!0)?e:null}function An(e,t){return e&&tl(e())||t()}function nh(e,t,n){return e&&tl(e(t))||n(t)}function Et(e,t){const n=e&&tl(e());return t(n||null)}function fa(e){return!(e&&tl(e()))}function _s(e){const t=e.filter(n=>n!==void 0);if(t.length!==0)return t.length===1?t[0]:n=>{e.forEach(o=>{o&&o(n)})}}const oh=me({render(){var e,t;return(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)}}),QA=/^(\d|\.)+$/,eb=/(\d|\.)+/;function qt(e,{c:t=1,offset:n=0,attachPx:o=!0}={}){if(typeof e=="number"){const r=(e+n)*t;return r===0?"0":`${r}px`}else if(typeof e=="string")if(QA.test(e)){const r=(Number(e)+n)*t;return o?r===0?"0":`${r}px`:`${r}`}else{const r=eb.exec(e);return r?e.replace(eb,String((Number(r[0])+n)*t)):e}return e}function Pc(e){return e.replace(/#|\(|\)|,|\s|\./g,"_")}function e6(e){let t=0;for(let n=0;n{let r=e6(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 o6(e,t){const n=[];return t.split(OC).forEach(o=>{e.forEach(r=>{n.push((r&&r+" ")+o)})}),n}function r6(e){let t=[""];return e.forEach(n=>{n=n&&n.trim(),n&&(n.includes("&")?t=n6(t,n):t=o6(t,n))}),t.join(", ").replace(t6," ")}function tb(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function bu(e){return document.querySelector(`style[cssr-id="${e}"]`)}function i6(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function Tl(e){return e?/^\s*@(s|m)/.test(e):!1}const a6=/[A-Z]/g;function MC(e){return e.replace(a6,t=>"-"+t.toLowerCase())}function s6(e,t=" "){return typeof e=="object"&&e!==null?` { -`+Object.entries(e).map(n=>t+` ${MC(n[0])}: ${n[1]};`).join(` + */const p$="9.12.1";function m$(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(nr().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(nr().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(nr().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(nr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(nr().__INTLIFY_PROD_DEVTOOLS__=!1)}const dC=YE.__EXTEND_POINT__,Jo=hu(dC);Jo(),Jo(),Jo(),Jo(),Jo(),Jo(),Jo(),Jo(),Jo();const fC=xo.__EXTEND_POINT__,Fn=hu(fC),Cn={UNEXPECTED_RETURN_TYPE:fC,INVALID_ARGUMENT:Fn(),MUST_BE_CALL_SETUP_TOP:Fn(),NOT_INSTALLED:Fn(),NOT_AVAILABLE_IN_LEGACY_MODE:Fn(),REQUIRED_VALUE:Fn(),INVALID_VALUE:Fn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Fn(),NOT_INSTALLED_WITH_PROVIDE:Fn(),UNEXPECTED_ERROR:Fn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Fn(),BRIDGE_SUPPORT_VUE_2_ONLY:Fn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Fn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Fn(),__EXTEND_POINT__:Fn()};function _n(e,...t){return Oa(e,null,void 0)}const jf=qr("__translateVNode"),Vf=qr("__datetimeParts"),Wf=qr("__numberParts"),hC=qr("__setPluralRules"),pC=qr("__injectWithOption"),Uf=qr("__dispose");function js(e){if(!Nt(e))return e;for(const t in e)if(Cc(e,t))if(!t.includes("."))Nt(e[t])&&js(e[t]);else{const n=t.split("."),o=n.length-1;let r=e,i=!1;for(let a=0;a{if("locale"in s&&"resource"in s){const{locale:l,resource:c}=s;l?(a[l]=a[l]||{},rc(c,a[l])):rc(c,a)}else Ge(s)&&rc(JSON.parse(s),a)}),r==null&&i)for(const s in a)Cc(a,s)&&js(a[s]);return a}function mC(e){return e.type}function gC(e,t,n){let o=Nt(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=mu(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);r.length&&r.forEach(i=>{e.mergeLocaleMessage(i,o[i])});{if(Nt(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(Nt(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function kv(e){return ie($a,null,e,0)}const Pv="__INTLIFY_META__",Tv=()=>[],g$=()=>!1;let Rv=0;function Ev(e){return(t,n,o,r)=>e(n,o,Jn()||void 0,r)}const v$=()=>{const e=Jn();let t=null;return e&&(t=mC(e)[Pv])?{[Pv]:t}:null};function vp(e={},t){const{__root:n,__injectWithOption:o}=e,r=n===void 0,i=e.flatJson,a=xc?W:Ra,s=!!e.translateExistCompatible;let l=_t(e.inheritLocale)?e.inheritLocale:!0;const c=a(n&&l?n.locale.value:Ge(e.locale)?e.locale:Ca),u=a(n&&l?n.fallbackLocale.value:Ge(e.fallbackLocale)||nn(e.fallbackLocale)||mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),d=a(mu(c.value,e)),f=a(mt(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),p=a(mt(e.numberFormats)?e.numberFormats:{[c.value]:{}});let h=n?n.missingWarn:_t(e.missingWarn)||Br(e.missingWarn)?e.missingWarn:!0,m=n?n.fallbackWarn:_t(e.fallbackWarn)||Br(e.fallbackWarn)?e.fallbackWarn:!0,v=n?n.fallbackRoot:_t(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,w=Gt(e.missing)?e.missing:null,C=Gt(e.missing)?Ev(e.missing):null,S=Gt(e.postTranslation)?e.postTranslation:null,_=n?n.warnHtmlMessage:_t(e.warnHtmlMessage)?e.warnHtmlMessage:!0,x=!!e.escapeParameter;const y=n?n.modifiers:mt(e.modifiers)?e.modifiers:{};let k=e.pluralRules||n&&n.pluralRules,P;P=(()=>{r&&gv(null);const oe={version:p$,locale:c.value,fallbackLocale:u.value,messages:d.value,modifiers:y,pluralRules:k,missing:C===null?void 0:C,missingWarn:h,fallbackWarn:m,fallbackFormat:b,unresolving:!0,postTranslation:S===null?void 0:S,warnHtmlMessage:_,escapeParameter:x,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};oe.datetimeFormats=f.value,oe.numberFormats=p.value,oe.__datetimeFormatters=mt(P)?P.__datetimeFormatters:void 0,oe.__numberFormatters=mt(P)?P.__numberFormatters:void 0;const ue=a$(oe);return r&&gv(ue),ue})(),es(P,c.value,u.value);function $(){return[c.value,u.value,d.value,f.value,p.value]}const R=L({get:()=>c.value,set:oe=>{c.value=oe,P.locale=c.value}}),K=L({get:()=>u.value,set:oe=>{u.value=oe,P.fallbackLocale=u.value,es(P,c.value,oe)}}),H=L(()=>d.value),D=L(()=>f.value),M=L(()=>p.value);function Y(){return Gt(S)?S:null}function Q(oe){S=oe,P.postTranslation=oe}function de(){return w}function he(oe){oe!==null&&(C=Ev(oe)),w=oe,P.missing=C}const B=(oe,ue,De,Ue,ke,Fe)=>{$();let je;try{__INTLIFY_PROD_DEVTOOLS__,r||(P.fallbackContext=n?i$():void 0),je=oe(P)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(P.fallbackContext=void 0)}if(De!=="translate exists"&&xn(je)&&je===pu||De==="translate exists"&&!je){const[Ae,Je]=ue();return n&&v?Ue(n):ke(Ae)}else{if(Fe(je))return je;throw _n(Cn.UNEXPECTED_RETURN_TYPE)}};function E(...oe){return B(ue=>Reflect.apply(xv,null,[ue,...oe]),()=>Bf(...oe),"translate",ue=>Reflect.apply(ue.t,ue,[...oe]),ue=>ue,ue=>Ge(ue))}function A(...oe){const[ue,De,Ue]=oe;if(Ue&&!Nt(Ue))throw _n(Cn.INVALID_ARGUMENT);return E(ue,De,kn({resolvedMessage:!0},Ue||{}))}function G(...oe){return B(ue=>Reflect.apply(Cv,null,[ue,...oe]),()=>Nf(...oe),"datetime format",ue=>Reflect.apply(ue.d,ue,[...oe]),()=>hv,ue=>Ge(ue))}function ne(...oe){return B(ue=>Reflect.apply(_v,null,[ue,...oe]),()=>Hf(...oe),"number format",ue=>Reflect.apply(ue.n,ue,[...oe]),()=>hv,ue=>Ge(ue))}function ye(oe){return oe.map(ue=>Ge(ue)||xn(ue)||_t(ue)?kv(String(ue)):ue)}const xe={normalize:ye,interpolate:oe=>oe,type:"vnode"};function j(...oe){return B(ue=>{let De;const Ue=ue;try{Ue.processor=xe,De=Reflect.apply(xv,null,[Ue,...oe])}finally{Ue.processor=null}return De},()=>Bf(...oe),"translate",ue=>ue[jf](...oe),ue=>[kv(ue)],ue=>nn(ue))}function ve(...oe){return B(ue=>Reflect.apply(_v,null,[ue,...oe]),()=>Hf(...oe),"number format",ue=>ue[Wf](...oe),Tv,ue=>Ge(ue)||nn(ue))}function Oe(...oe){return B(ue=>Reflect.apply(Cv,null,[ue,...oe]),()=>Nf(...oe),"datetime format",ue=>ue[Vf](...oe),Tv,ue=>Ge(ue)||nn(ue))}function Le(oe){k=oe,P.pluralRules=k}function F(oe,ue){return B(()=>{if(!oe)return!1;const De=Ge(ue)?ue:c.value,Ue=_e(De),ke=P.messageResolver(Ue,oe);return s?ke!=null:wa(ke)||no(ke)||Ge(ke)},()=>[oe],"translate exists",De=>Reflect.apply(De.te,De,[oe,ue]),g$,De=>_t(De))}function O(oe){let ue=null;const De=Qx(P,u.value,c.value);for(let Ue=0;Ue{l&&(c.value=oe,P.locale=oe,es(P,c.value,u.value))}),ft(n.fallbackLocale,oe=>{l&&(u.value=oe,P.fallbackLocale=oe,es(P,c.value,u.value))}));const fe={id:Rv,locale:R,fallbackLocale:K,get inheritLocale(){return l},set inheritLocale(oe){l=oe,oe&&n&&(c.value=n.locale.value,u.value=n.fallbackLocale.value,es(P,c.value,u.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:H,get modifiers(){return y},get pluralRules(){return k||{}},get isGlobal(){return r},get missingWarn(){return h},set missingWarn(oe){h=oe,P.missingWarn=h},get fallbackWarn(){return m},set fallbackWarn(oe){m=oe,P.fallbackWarn=m},get fallbackRoot(){return v},set fallbackRoot(oe){v=oe},get fallbackFormat(){return b},set fallbackFormat(oe){b=oe,P.fallbackFormat=b},get warnHtmlMessage(){return _},set warnHtmlMessage(oe){_=oe,P.warnHtmlMessage=oe},get escapeParameter(){return x},set escapeParameter(oe){x=oe,P.escapeParameter=oe},t:E,getLocaleMessage:_e,setLocaleMessage:ee,mergeLocaleMessage:be,getPostTranslationHandler:Y,setPostTranslationHandler:Q,getMissingHandler:de,setMissingHandler:he,[hC]:Le};return fe.datetimeFormats=D,fe.numberFormats=M,fe.rt=A,fe.te=F,fe.tm=re,fe.d=G,fe.n=ne,fe.getDateTimeFormat=Pe,fe.setDateTimeFormat=I,fe.mergeDateTimeFormat=N,fe.getNumberFormat=te,fe.setNumberFormat=Ce,fe.mergeNumberFormat=ae,fe[pC]=o,fe[jf]=j,fe[Vf]=Oe,fe[Wf]=ve,fe}function b$(e){const t=Ge(e.locale)?e.locale:Ca,n=Ge(e.fallbackLocale)||nn(e.fallbackLocale)||mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=Gt(e.missing)?e.missing:void 0,r=_t(e.silentTranslationWarn)||Br(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=_t(e.silentFallbackWarn)||Br(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=_t(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,l=mt(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Gt(e.postTranslation)?e.postTranslation:void 0,d=Ge(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,p=_t(e.sync)?e.sync:!0;let h=e.messages;if(mt(e.sharedMessages)){const x=e.sharedMessages;h=Object.keys(x).reduce((k,P)=>{const T=k[P]||(k[P]={});return kn(T,x[P]),k},h||{})}const{__i18n:m,__root:v,__injectWithOption:b}=e,w=e.datetimeFormats,C=e.numberFormats,S=e.flatJson,_=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:h,flatJson:S,datetimeFormats:w,numberFormats:C,missing:o,missingWarn:r,fallbackWarn:i,fallbackRoot:a,fallbackFormat:s,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:p,translateExistCompatible:_,__i18n:m,__root:v,__injectWithOption:b}}function qf(e={},t){{const n=vp(b$(e)),{__extender:o}=e,r={id:n.id,get locale(){return n.locale.value},set locale(i){n.locale.value=i},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(i){n.fallbackLocale.value=i},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return n.getMissingHandler()},set missing(i){n.setMissingHandler(i)},get silentTranslationWarn(){return _t(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=_t(i)?!i:i},get silentFallbackWarn(){return _t(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=_t(i)?!i:i},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(i){n.fallbackFormat=i},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(i){n.setPostTranslationHandler(i)},get sync(){return n.inheritLocale},set sync(i){n.inheritLocale=i},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){n.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(i){n.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...i){const[a,s,l]=i,c={};let u=null,d=null;if(!Ge(a))throw _n(Cn.INVALID_ARGUMENT);const f=a;return Ge(s)?c.locale=s:nn(s)?u=s:mt(s)&&(d=s),nn(l)?u=l:mt(l)&&(d=l),Reflect.apply(n.t,n,[f,u||d||{},c])},rt(...i){return Reflect.apply(n.rt,n,[...i])},tc(...i){const[a,s,l]=i,c={plural:1};let u=null,d=null;if(!Ge(a))throw _n(Cn.INVALID_ARGUMENT);const f=a;return Ge(s)?c.locale=s:xn(s)?c.plural=s:nn(s)?u=s:mt(s)&&(d=s),Ge(l)?c.locale=l:nn(l)?u=l:mt(l)&&(d=l),Reflect.apply(n.t,n,[f,u||d||{},c])},te(i,a){return n.te(i,a)},tm(i){return n.tm(i)},getLocaleMessage(i){return n.getLocaleMessage(i)},setLocaleMessage(i,a){n.setLocaleMessage(i,a)},mergeLocaleMessage(i,a){n.mergeLocaleMessage(i,a)},d(...i){return Reflect.apply(n.d,n,[...i])},getDateTimeFormat(i){return n.getDateTimeFormat(i)},setDateTimeFormat(i,a){n.setDateTimeFormat(i,a)},mergeDateTimeFormat(i,a){n.mergeDateTimeFormat(i,a)},n(...i){return Reflect.apply(n.n,n,[...i])},getNumberFormat(i){return n.getNumberFormat(i)},setNumberFormat(i,a){n.setNumberFormat(i,a)},mergeNumberFormat(i,a){n.mergeNumberFormat(i,a)},getChoiceIndex(i,a){return-1}};return r.__extender=o,r}}const bp={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function y$({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,r)=>[...o,...r.type===rt?r.children:[r]],[]):t.reduce((n,o)=>{const r=e[o];return r&&(n[o]=r()),n},{})}function vC(e){return rt}const x$=ge({name:"i18n-t",props:kn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>xn(e)||!isNaN(e)}},bp),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||yp({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(d=>d!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=Ge(e.plural)?+e.plural:e.plural);const s=y$(t,i),l=r[jf](e.keypath,s,a),c=kn({},o),u=Ge(e.tag)||Nt(e.tag)?e.tag:vC();return g(u,c,l)}}}),$v=x$;function C$(e){return nn(e)&&!Ge(e[0])}function bC(e,t,n,o){const{slots:r,attrs:i}=t;return()=>{const a={part:!0};let s={};e.locale&&(a.locale=e.locale),Ge(e.format)?a.key=e.format:Nt(e.format)&&(Ge(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce((f,p)=>n.includes(p)?kn({},f,{[p]:e.format[p]}):f,{}));const l=o(e.value,a,s);let c=[a.key];nn(l)?c=l.map((f,p)=>{const h=r[f.type],m=h?h({[f.type]:f.value,index:p,parts:l}):[f.value];return C$(m)&&(m[0].key=`${f.type}-${p}`),m}):Ge(l)&&(c=[l]);const u=kn({},i),d=Ge(e.tag)||Nt(e.tag)?e.tag:vC();return g(d,u,c)}}const w$=ge({name:"i18n-n",props:kn({value:{type:Number,required:!0},format:{type:[String,Object]}},bp),setup(e,t){const n=e.i18n||yp({useScope:e.scope,__useComponent:!0});return bC(e,t,uC,(...o)=>n[Wf](...o))}}),Av=w$,_$=ge({name:"i18n-d",props:kn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},bp),setup(e,t){const n=e.i18n||yp({useScope:e.scope,__useComponent:!0});return bC(e,t,cC,(...o)=>n[Vf](...o))}}),Iv=_$;function S$(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function k$(e){const t=a=>{const{instance:s,modifiers:l,value:c}=a;if(!s||!s.$)throw _n(Cn.UNEXPECTED_ERROR);const u=S$(e,s.$),d=Ov(c);return[Reflect.apply(u.t,u,[...Mv(d)]),u]};return{created:(a,s)=>{const[l,c]=t(s);xc&&e.global===c&&(a.__i18nWatcher=ft(c.locale,()=>{s.instance&&s.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{xc&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:s})=>{if(a.__composer){const l=a.__composer,c=Ov(s);a.textContent=Reflect.apply(l.t,l,[...Mv(c)])}},getSSRProps:a=>{const[s]=t(a);return{textContent:s}}}}function Ov(e){if(Ge(e))return{path:e};if(mt(e)){if(!("path"in e))throw _n(Cn.REQUIRED_VALUE,"path");return e}else throw _n(Cn.INVALID_VALUE)}function Mv(e){const{path:t,locale:n,args:o,choice:r,plural:i}=e,a={},s=o||{};return Ge(n)&&(a.locale=n),xn(r)&&(a.plural=r),xn(i)&&(a.plural=i),[t,s,a]}function P$(e,t,...n){const o=mt(n[0])?n[0]:{},r=!!o.useI18nComponentName;(_t(o.globalInstall)?o.globalInstall:!0)&&([r?"i18n":$v.name,"I18nT"].forEach(a=>e.component(a,$v)),[Av.name,"I18nN"].forEach(a=>e.component(a,Av)),[Iv.name,"I18nD"].forEach(a=>e.component(a,Iv))),e.directive("t",k$(t))}function T$(e,t,n){return{beforeCreate(){const o=Jn();if(!o)throw _n(Cn.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const i=r.i18n;if(r.__i18n&&(i.__i18n=r.__i18n),i.__root=t,this===this.$root)this.$i18n=zv(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=qf(i);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=zv(e,r);else{this.$i18n=qf({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&gC(t,r,r),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,a)=>this.$i18n.te(i,a),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const o=Jn();if(!o)throw _n(Cn.UNEXPECTED_ERROR);const r=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),n.__deleteInstance(o),delete this.$i18n}}}function zv(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[hC](t.pluralizationRules||e.pluralizationRules);const n=mu(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const R$=qr("global-vue-i18n");function E$(e={},t){const n=__VUE_I18N_LEGACY_API__&&_t(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=_t(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,i=new Map,[a,s]=$$(e,n),l=qr("");function c(f){return i.get(f)||null}function u(f,p){i.set(f,p)}function d(f){i.delete(f)}{const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return r},async install(p,...h){if(p.__VUE_I18N_SYMBOL__=l,p.provide(p.__VUE_I18N_SYMBOL__,f),mt(h[0])){const b=h[0];f.__composerExtend=b.__composerExtend,f.__vueI18nExtend=b.__vueI18nExtend}let m=null;!n&&o&&(m=B$(p,f.global)),__VUE_I18N_FULL_INSTALL__&&P$(p,f,...h),__VUE_I18N_LEGACY_API__&&n&&p.mixin(T$(s,s.__composer,f));const v=p.unmount;p.unmount=()=>{m&&m(),f.dispose(),v()}},get global(){return s},dispose(){a.stop()},__instances:i,__getInstance:c,__setInstance:u,__deleteInstance:d};return f}}function yp(e={}){const t=Jn();if(t==null)throw _n(Cn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw _n(Cn.NOT_INSTALLED);const n=A$(t),o=O$(n),r=mC(t),i=I$(e,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw _n(Cn.NOT_AVAILABLE_IN_LEGACY_MODE);return L$(t,i,o,e)}if(i==="global")return gC(o,e,r),o;if(i==="parent"){let l=M$(n,t,e.__useComponent);return l==null&&(l=o),l}const a=n;let s=a.__getInstance(t);if(s==null){const l=kn({},e);"__i18n"in r&&(l.__i18n=r.__i18n),o&&(l.__root=o),s=vp(l),a.__composerExtend&&(s[Uf]=a.__composerExtend(s)),D$(a,t,s),a.__setInstance(t,s)}return s}function $$(e,t,n){const o=Dh();{const r=__VUE_I18N_LEGACY_API__&&t?o.run(()=>qf(e)):o.run(()=>vp(e));if(r==null)throw _n(Cn.UNEXPECTED_ERROR);return[o,r]}}function A$(e){{const t=We(e.isCE?R$:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw _n(e.isCE?Cn.NOT_INSTALLED_WITH_PROVIDE:Cn.UNEXPECTED_ERROR);return t}}function I$(e,t){return fu(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function O$(e){return e.mode==="composition"?e.global:e.global.__composer}function M$(e,t,n=!1){let o=null;const r=t.root;let i=z$(t,n);for(;i!=null;){const a=e;if(e.mode==="composition")o=a.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const s=a.__getInstance(i);s!=null&&(o=s.__composer,n&&o&&!o[pC]&&(o=null))}if(o!=null||r===i)break;i=i.parent}return o}function z$(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function D$(e,t,n){jt(()=>{},t),Ea(()=>{const o=n;e.__deleteInstance(t);const r=o[Uf];r&&(r(),delete o[Uf])},t)}function L$(e,t,n,o={}){const r=t==="local",i=Ra(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw _n(Cn.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=_t(o.inheritLocale)?o.inheritLocale:!Ge(o.locale),s=W(!r||a?n.locale.value:Ge(o.locale)?o.locale:Ca),l=W(!r||a?n.fallbackLocale.value:Ge(o.fallbackLocale)||nn(o.fallbackLocale)||mt(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:s.value),c=W(mu(s.value,o)),u=W(mt(o.datetimeFormats)?o.datetimeFormats:{[s.value]:{}}),d=W(mt(o.numberFormats)?o.numberFormats:{[s.value]:{}}),f=r?n.missingWarn:_t(o.missingWarn)||Br(o.missingWarn)?o.missingWarn:!0,p=r?n.fallbackWarn:_t(o.fallbackWarn)||Br(o.fallbackWarn)?o.fallbackWarn:!0,h=r?n.fallbackRoot:_t(o.fallbackRoot)?o.fallbackRoot:!0,m=!!o.fallbackFormat,v=Gt(o.missing)?o.missing:null,b=Gt(o.postTranslation)?o.postTranslation:null,w=r?n.warnHtmlMessage:_t(o.warnHtmlMessage)?o.warnHtmlMessage:!0,C=!!o.escapeParameter,S=r?n.modifiers:mt(o.modifiers)?o.modifiers:{},_=o.pluralRules||r&&n.pluralRules;function x(){return[s.value,l.value,c.value,u.value,d.value]}const y=L({get:()=>i.value?i.value.locale.value:s.value,set:O=>{i.value&&(i.value.locale.value=O),s.value=O}}),k=L({get:()=>i.value?i.value.fallbackLocale.value:l.value,set:O=>{i.value&&(i.value.fallbackLocale.value=O),l.value=O}}),P=L(()=>i.value?i.value.messages.value:c.value),T=L(()=>u.value),$=L(()=>d.value);function R(){return i.value?i.value.getPostTranslationHandler():b}function K(O){i.value&&i.value.setPostTranslationHandler(O)}function H(){return i.value?i.value.getMissingHandler():v}function D(O){i.value&&i.value.setMissingHandler(O)}function M(O){return x(),O()}function Y(...O){return i.value?M(()=>Reflect.apply(i.value.t,null,[...O])):M(()=>"")}function Q(...O){return i.value?Reflect.apply(i.value.rt,null,[...O]):""}function de(...O){return i.value?M(()=>Reflect.apply(i.value.d,null,[...O])):M(()=>"")}function he(...O){return i.value?M(()=>Reflect.apply(i.value.n,null,[...O])):M(()=>"")}function B(O){return i.value?i.value.tm(O):{}}function E(O,re){return i.value?i.value.te(O,re):!1}function A(O){return i.value?i.value.getLocaleMessage(O):{}}function G(O,re){i.value&&(i.value.setLocaleMessage(O,re),c.value[O]=re)}function ne(O,re){i.value&&i.value.mergeLocaleMessage(O,re)}function ye(O){return i.value?i.value.getDateTimeFormat(O):{}}function J(O,re){i.value&&(i.value.setDateTimeFormat(O,re),u.value[O]=re)}function xe(O,re){i.value&&i.value.mergeDateTimeFormat(O,re)}function j(O){return i.value?i.value.getNumberFormat(O):{}}function ve(O,re){i.value&&(i.value.setNumberFormat(O,re),d.value[O]=re)}function Oe(O,re){i.value&&i.value.mergeNumberFormat(O,re)}const Le={get id(){return i.value?i.value.id:-1},locale:y,fallbackLocale:k,messages:P,datetimeFormats:T,numberFormats:$,get inheritLocale(){return i.value?i.value.inheritLocale:a},set inheritLocale(O){i.value&&(i.value.inheritLocale=O)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(c.value)},get modifiers(){return i.value?i.value.modifiers:S},get pluralRules(){return i.value?i.value.pluralRules:_},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:f},set missingWarn(O){i.value&&(i.value.missingWarn=O)},get fallbackWarn(){return i.value?i.value.fallbackWarn:p},set fallbackWarn(O){i.value&&(i.value.missingWarn=O)},get fallbackRoot(){return i.value?i.value.fallbackRoot:h},set fallbackRoot(O){i.value&&(i.value.fallbackRoot=O)},get fallbackFormat(){return i.value?i.value.fallbackFormat:m},set fallbackFormat(O){i.value&&(i.value.fallbackFormat=O)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:w},set warnHtmlMessage(O){i.value&&(i.value.warnHtmlMessage=O)},get escapeParameter(){return i.value?i.value.escapeParameter:C},set escapeParameter(O){i.value&&(i.value.escapeParameter=O)},t:Y,getPostTranslationHandler:R,setPostTranslationHandler:K,getMissingHandler:H,setMissingHandler:D,rt:Q,d:de,n:he,tm:B,te:E,getLocaleMessage:A,setLocaleMessage:G,mergeLocaleMessage:ne,getDateTimeFormat:ye,setDateTimeFormat:J,mergeDateTimeFormat:xe,getNumberFormat:j,setNumberFormat:ve,mergeNumberFormat:Oe};function F(O){O.locale.value=s.value,O.fallbackLocale.value=l.value,Object.keys(c.value).forEach(re=>{O.mergeLocaleMessage(re,c.value[re])}),Object.keys(u.value).forEach(re=>{O.mergeDateTimeFormat(re,u.value[re])}),Object.keys(d.value).forEach(re=>{O.mergeNumberFormat(re,d.value[re])}),O.escapeParameter=C,O.fallbackFormat=m,O.fallbackRoot=h,O.fallbackWarn=p,O.missingWarn=f,O.warnHtmlMessage=w}return hn(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw _n(Cn.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const O=i.value=e.proxy.$i18n.__composer;t==="global"?(s.value=O.locale.value,l.value=O.fallbackLocale.value,c.value=O.messages.value,u.value=O.datetimeFormats.value,d.value=O.numberFormats.value):r&&F(O)}),Le}const F$=["locale","fallbackLocale","availableLocales"],Dv=["t","rt","d","n","tm","te"];function B$(e,t){const n=Object.create(null);return F$.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i)throw _n(Cn.UNEXPECTED_ERROR);const a=cn(i.value)?{get(){return i.value.value},set(s){i.value.value=s}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,r,a)}),e.config.globalProperties.$i18n=n,Dv.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i||!i.value)throw _n(Cn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,i)}),()=>{delete e.config.globalProperties.$i18n,Dv.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}m$();__INTLIFY_JIT_COMPILATION__?mv(c$):mv(l$);t$(DE);n$(Qx);if(__INTLIFY_PROD_DEVTOOLS__){const e=nr();e.__INTLIFY__=!0,UE(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const yC="locale";function gu(){return nl.get(yC)}function xC(e){nl.set(yC,e)}const CC=Object.keys(Object.assign({"./lang/en-US.json":()=>Ct(()=>Promise.resolve().then(()=>dk),void 0),"./lang/fa-IR.json":()=>Ct(()=>Promise.resolve().then(()=>fk),void 0),"./lang/ja-JP.json":()=>Ct(()=>Promise.resolve().then(()=>hk),void 0),"./lang/ko-KR.json":()=>Ct(()=>Promise.resolve().then(()=>pk),void 0),"./lang/vi-VN.json":()=>Ct(()=>Promise.resolve().then(()=>mk),void 0),"./lang/zh-CN.json":()=>Ct(()=>Promise.resolve().then(()=>gk),void 0),"./lang/zh-TW.json":()=>Ct(()=>Promise.resolve().then(()=>vk),void 0)})).map(e=>e.slice(7,-5));function N$(){const e=navigator.language,t="zh-CN",o=CC.includes(e)?e:t;return gu().value||xC(o),o}const gn=E$({locale:gu().value||N$(),fallbackLocale:"en-US",messages:{}});async function H$(){await Promise.all(CC.map(async e=>{const t=await VR(Object.assign({"./lang/en-US.json":()=>Ct(()=>Promise.resolve().then(()=>dk),void 0),"./lang/fa-IR.json":()=>Ct(()=>Promise.resolve().then(()=>fk),void 0),"./lang/ja-JP.json":()=>Ct(()=>Promise.resolve().then(()=>hk),void 0),"./lang/ko-KR.json":()=>Ct(()=>Promise.resolve().then(()=>pk),void 0),"./lang/vi-VN.json":()=>Ct(()=>Promise.resolve().then(()=>mk),void 0),"./lang/zh-CN.json":()=>Ct(()=>Promise.resolve().then(()=>gk),void 0),"./lang/zh-TW.json":()=>Ct(()=>Promise.resolve().then(()=>vk),void 0)}),`./lang/${e}.json`).then(n=>n.default||n);gn.global.setLocaleMessage(e,t)}))}async function j$(e){e.use(gn),H$()}const Kf={"zh-CN":"简体中文","zh-TW":"繁體中文","en-US":"English","fa-IR":"Iran","ja-JP":"日本語","vi-VN":"Tiếng Việt","ko-KR":"한국어"},Gf=e=>gn.global.t(e);function Ho(e=void 0,t="YYYY-MM-DD HH:mm:ss"){return e==null?"":(e.toString().length===10&&(e=e*1e3),NR(e).format(t))}function xp(e=void 0,t="YYYY-MM-DD"){return Ho(e,t)}function aa(e){const t=typeof e=="string"?parseFloat(e):e;return isNaN(t)?"0.00":t.toFixed(2)}function an(e){const t=typeof e=="string"?parseFloat(e):e;return isNaN(t)?"0.00":(t/100).toFixed(2)}function da(e){navigator.clipboard?navigator.clipboard.writeText(e).then(()=>{window.$message.success(Gf("复制成功"))}).catch(t=>{console.error("复制到剪贴板时出错:",t),Lv(e)}):Lv(e)}function Lv(e){const t=document.createElement("button"),n=new jR(t,{text:()=>e});n.on("success",()=>{window.$message.success(Gf("复制成功")),n.destroy()}),n.on("error",()=>{window.$message.error(Gf("复制失败")),n.destroy()}),t.click()}function V$(e,t){if(e.length!==t.length)return!1;const n=[...e].sort(),o=[...t].sort();return n.every((r,i)=>r===o[i])}function xs(e){const t=e/1024,n=t/1024,o=n/1024,r=o/1024;return r>=1?aa(r)+" TB":o>=1?aa(o)+" GB":n>=1?aa(n)+" MB":aa(t)+" KB"}function W$(e){return typeof e>"u"}function U$(e){return e===null}function q$(e){return e&&Array.isArray(e)}function wC(e){return U$(e)||W$(e)}function Fv(e){return/^(https?:|mailto:|tel:)/.test(e)}const Cs=/^[a-z0-9]+(-[a-z0-9]+)*$/,vu=(e,t,n,o="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const s=r.pop(),l=r.pop(),c={provider:r.length>0?r[0]:o,prefix:l,name:s};return t&&!ic(c)?null:c}const i=r[0],a=i.split("-");if(a.length>1){const s={provider:o,prefix:a.shift(),name:a.join("-")};return t&&!ic(s)?null:s}if(n&&o===""){const s={provider:o,prefix:"",name:i};return t&&!ic(s,n)?null:s}return null},ic=(e,t)=>e?!!((e.provider===""||e.provider.match(Cs))&&(t&&e.prefix===""||e.prefix.match(Cs))&&e.name.match(Cs)):!1,_C=Object.freeze({left:0,top:0,width:16,height:16}),_c=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),bu=Object.freeze({..._C,..._c}),Yf=Object.freeze({...bu,body:"",hidden:!1});function K$(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}function Bv(e,t){const n=K$(e,t);for(const o in Yf)o in _c?o in e&&!(o in n)&&(n[o]=_c[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function G$(e,t){const n=e.icons,o=e.aliases||Object.create(null),r=Object.create(null);function i(a){if(n[a])return r[a]=[];if(!(a in r)){r[a]=null;const s=o[a]&&o[a].parent,l=s&&i(s);l&&(r[a]=[s].concat(l))}return r[a]}return(t||Object.keys(n).concat(Object.keys(o))).forEach(i),r}function Y$(e,t,n){const o=e.icons,r=e.aliases||Object.create(null);let i={};function a(s){i=Bv(o[s]||r[s],i)}return a(t),n.forEach(a),Bv(e,i)}function SC(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(r=>{t(r,null),n.push(r)});const o=G$(e);for(const r in o){const i=o[r];i&&(t(r,Y$(e,r,i)),n.push(r))}return n}const X$={provider:"",aliases:{},not_found:{},..._C};function Sd(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function kC(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Sd(e,X$))return null;const n=t.icons;for(const r in n){const i=n[r];if(!r.match(Cs)||typeof i.body!="string"||!Sd(i,Yf))return null}const o=t.aliases||Object.create(null);for(const r in o){const i=o[r],a=i.parent;if(!r.match(Cs)||typeof a!="string"||!n[a]&&!o[a]||!Sd(i,Yf))return null}return t}const Nv=Object.create(null);function Z$(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Si(e,t){const n=Nv[e]||(Nv[e]=Object.create(null));return n[t]||(n[t]=Z$(e,t))}function Cp(e,t){return kC(t)?SC(t,(n,o)=>{o?e.icons[n]=o:e.missing.add(n)}):[]}function J$(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Vs=!1;function PC(e){return typeof e=="boolean"&&(Vs=e),Vs}function Q$(e){const t=typeof e=="string"?vu(e,!0,Vs):e;if(t){const n=Si(t.provider,t.prefix),o=t.name;return n.icons[o]||(n.missing.has(o)?null:void 0)}}function eA(e,t){const n=vu(e,!0,Vs);if(!n)return!1;const o=Si(n.provider,n.prefix);return J$(o,n.name,t)}function tA(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Vs&&!t&&!e.prefix){let r=!1;return kC(e)&&(e.prefix="",SC(e,(i,a)=>{a&&eA(i,a)&&(r=!0)})),r}const n=e.prefix;if(!ic({provider:t,prefix:n,name:"a"}))return!1;const o=Si(t,n);return!!Cp(o,e)}const TC=Object.freeze({width:null,height:null}),RC=Object.freeze({...TC,..._c}),nA=/(-?[0-9.]*[0-9]+[0-9.]*)/g,oA=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Hv(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const o=e.split(nA);if(o===null||!o.length)return e;const r=[];let i=o.shift(),a=oA.test(i);for(;;){if(a){const s=parseFloat(i);isNaN(s)?r.push(i):r.push(Math.ceil(s*t*n)/n)}else r.push(i);if(i=o.shift(),i===void 0)return r.join("");a=!a}}const rA=e=>e==="unset"||e==="undefined"||e==="none";function iA(e,t){const n={...bu,...e},o={...RC,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,o].forEach(h=>{const m=[],v=h.hFlip,b=h.vFlip;let w=h.rotate;v?b?w+=2:(m.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),m.push("scale(-1 1)"),r.top=r.left=0):b&&(m.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),m.push("scale(1 -1)"),r.top=r.left=0);let C;switch(w<0&&(w-=Math.floor(w/4)*4),w=w%4,w){case 1:C=r.height/2+r.top,m.unshift("rotate(90 "+C.toString()+" "+C.toString()+")");break;case 2:m.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:C=r.width/2+r.left,m.unshift("rotate(-90 "+C.toString()+" "+C.toString()+")");break}w%2===1&&(r.left!==r.top&&(C=r.left,r.left=r.top,r.top=C),r.width!==r.height&&(C=r.width,r.width=r.height,r.height=C)),m.length&&(i=''+i+"")});const a=o.width,s=o.height,l=r.width,c=r.height;let u,d;a===null?(d=s===null?"1em":s==="auto"?c:s,u=Hv(d,l/c)):(u=a==="auto"?l:a,d=s===null?Hv(u,c/l):s==="auto"?c:s);const f={},p=(h,m)=>{rA(m)||(f[h]=m.toString())};return p("width",u),p("height",d),f.viewBox=r.left.toString()+" "+r.top.toString()+" "+l.toString()+" "+c.toString(),{attributes:f,body:i}}const aA=/\sid="(\S+)"/g,sA="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let lA=0;function cA(e,t=sA){const n=[];let o;for(;o=aA.exec(e);)n.push(o[1]);if(!n.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const a=typeof t=="function"?t(i):t+(lA++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+a+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const Xf=Object.create(null);function uA(e,t){Xf[e]=t}function Zf(e){return Xf[e]||Xf[""]}function wp(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const _p=Object.create(null),ts=["https://api.simplesvg.com","https://api.unisvg.com"],ac=[];for(;ts.length>0;)ts.length===1||Math.random()>.5?ac.push(ts.shift()):ac.push(ts.pop());_p[""]=wp({resources:["https://api.iconify.design"].concat(ac)});function dA(e,t){const n=wp(t);return n===null?!1:(_p[e]=n,!0)}function Sp(e){return _p[e]}const fA=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let jv=fA();function hA(e,t){const n=Sp(e);if(!n)return 0;let o;if(!n.maxURL)o=0;else{let r=0;n.resources.forEach(a=>{r=Math.max(r,a.length)});const i=t+".json?icons=";o=n.maxURL-r-n.path.length-i.length}return o}function pA(e){return e===404}const mA=(e,t,n)=>{const o=[],r=hA(e,t),i="icons";let a={type:i,provider:e,prefix:t,icons:[]},s=0;return n.forEach((l,c)=>{s+=l.length+1,s>=r&&c>0&&(o.push(a),a={type:i,provider:e,prefix:t,icons:[]},s=l.length),a.icons.push(l)}),o.push(a),o};function gA(e){if(typeof e=="string"){const t=Sp(e);if(t)return t.path}return"/"}const vA=(e,t,n)=>{if(!jv){n("abort",424);return}let o=gA(t.provider);switch(t.type){case"icons":{const i=t.prefix,s=t.icons.join(","),l=new URLSearchParams({icons:s});o+=i+".json?"+l.toString();break}case"custom":{const i=t.uri;o+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let r=503;jv(e+o).then(i=>{const a=i.status;if(a!==200){setTimeout(()=>{n(pA(a)?"abort":"next",a)});return}return r=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",r)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",r)})},bA={prepare:mA,send:vA};function yA(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((r,i)=>r.provider!==i.provider?r.provider.localeCompare(i.provider):r.prefix!==i.prefix?r.prefix.localeCompare(i.prefix):r.name.localeCompare(i.name));let o={provider:"",prefix:"",name:""};return e.forEach(r=>{if(o.name===r.name&&o.prefix===r.prefix&&o.provider===r.provider)return;o=r;const i=r.provider,a=r.prefix,s=r.name,l=n[i]||(n[i]=Object.create(null)),c=l[a]||(l[a]=Si(i,a));let u;s in c.icons?u=t.loaded:a===""||c.missing.has(s)?u=t.missing:u=t.pending;const d={provider:i,prefix:a,name:s};u.push(d)}),t}function EC(e,t){e.forEach(n=>{const o=n.loaderCallbacks;o&&(n.loaderCallbacks=o.filter(r=>r.id!==t))})}function xA(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const o=e.provider,r=e.prefix;t.forEach(i=>{const a=i.icons,s=a.pending.length;a.pending=a.pending.filter(l=>{if(l.prefix!==r)return!0;const c=l.name;if(e.icons[c])a.loaded.push({provider:o,prefix:r,name:c});else if(e.missing.has(c))a.missing.push({provider:o,prefix:r,name:c});else return n=!0,!0;return!1}),a.pending.length!==s&&(n||EC([e],i.id),i.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),i.abort))})}))}let CA=0;function wA(e,t,n){const o=CA++,r=EC.bind(null,n,o);if(!t.pending.length)return r;const i={id:o,icons:t,callback:e,abort:r};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(i)}),r}function _A(e,t=!0,n=!1){const o=[];return e.forEach(r=>{const i=typeof r=="string"?vu(r,t,n):r;i&&o.push(i)}),o}var SA={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function kA(e,t,n,o){const r=e.resources.length,i=e.random?Math.floor(Math.random()*r):e.index;let a;if(e.random){let x=e.resources.slice(0);for(a=[];x.length>1;){const y=Math.floor(Math.random()*x.length);a.push(x[y]),x=x.slice(0,y).concat(x.slice(y+1))}a=a.concat(x)}else a=e.resources.slice(i).concat(e.resources.slice(0,i));const s=Date.now();let l="pending",c=0,u,d=null,f=[],p=[];typeof o=="function"&&p.push(o);function h(){d&&(clearTimeout(d),d=null)}function m(){l==="pending"&&(l="aborted"),h(),f.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),f=[]}function v(x,y){y&&(p=[]),typeof x=="function"&&p.push(x)}function b(){return{startTime:s,payload:t,status:l,queriesSent:c,queriesPending:f.length,subscribe:v,abort:m}}function w(){l="failed",p.forEach(x=>{x(void 0,u)})}function C(){f.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),f=[]}function S(x,y,k){const P=y!=="success";switch(f=f.filter(T=>T!==x),l){case"pending":break;case"failed":if(P||!e.dataAfterTimeout)return;break;default:return}if(y==="abort"){u=k,w();return}if(P){u=k,f.length||(a.length?_():w());return}if(h(),C(),!e.random){const T=e.resources.indexOf(x.resource);T!==-1&&T!==e.index&&(e.index=T)}l="completed",p.forEach(T=>{T(k)})}function _(){if(l!=="pending")return;h();const x=a.shift();if(x===void 0){if(f.length){d=setTimeout(()=>{h(),l==="pending"&&(C(),w())},e.timeout);return}w();return}const y={status:"pending",resource:x,callback:(k,P)=>{S(y,k,P)}};f.push(y),c++,d=setTimeout(_,e.rotate),n(x,t,y.callback)}return setTimeout(_),b}function $C(e){const t={...SA,...e};let n=[];function o(){n=n.filter(s=>s().status==="pending")}function r(s,l,c){const u=kA(t,s,l,(d,f)=>{o(),c&&c(d,f)});return n.push(u),u}function i(s){return n.find(l=>s(l))||null}return{query:r,find:i,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:o}}function Vv(){}const kd=Object.create(null);function PA(e){if(!kd[e]){const t=Sp(e);if(!t)return;const n=$C(t),o={config:t,redundancy:n};kd[e]=o}return kd[e]}function TA(e,t,n){let o,r;if(typeof e=="string"){const i=Zf(e);if(!i)return n(void 0,424),Vv;r=i.send;const a=PA(e);a&&(o=a.redundancy)}else{const i=wp(e);if(i){o=$C(i);const a=e.resources?e.resources[0]:"",s=Zf(a);s&&(r=s.send)}}return!o||!r?(n(void 0,424),Vv):o.query(t,r,n)().abort}const Wv="iconify2",Ws="iconify",AC=Ws+"-count",Uv=Ws+"-version",IC=36e5,RA=168;function Jf(e,t){try{return e.getItem(t)}catch{}}function kp(e,t,n){try{return e.setItem(t,n),!0}catch{}}function qv(e,t){try{e.removeItem(t)}catch{}}function Qf(e,t){return kp(e,AC,t.toString())}function eh(e){return parseInt(Jf(e,AC))||0}const yu={local:!0,session:!0},OC={local:new Set,session:new Set};let Pp=!1;function EA(e){Pp=e}let Tl=typeof window>"u"?{}:window;function MC(e){const t=e+"Storage";try{if(Tl&&Tl[t]&&typeof Tl[t].length=="number")return Tl[t]}catch{}yu[e]=!1}function zC(e,t){const n=MC(e);if(!n)return;const o=Jf(n,Uv);if(o!==Wv){if(o){const s=eh(n);for(let l=0;l{const l=Ws+s.toString(),c=Jf(n,l);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>r&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,s))return!0}catch{}qv(n,l)}};let a=eh(n);for(let s=a-1;s>=0;s--)i(s)||(s===a-1?(a--,Qf(n,a)):OC[e].add(s))}function DC(){if(!Pp){EA(!0);for(const e in yu)zC(e,t=>{const n=t.data,o=t.provider,r=n.prefix,i=Si(o,r);if(!Cp(i,n).length)return!1;const a=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,a):a,!0})}}function $A(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const o in yu)zC(o,r=>{const i=r.data;return r.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function AA(e,t){Pp||DC();function n(o){let r;if(!yu[o]||!(r=MC(o)))return;const i=OC[o];let a;if(i.size)i.delete(a=Array.from(i).shift());else if(a=eh(r),!Qf(r,a+1))return;const s={cached:Math.floor(Date.now()/IC),provider:e.provider,data:t};return kp(r,Ws+a.toString(),JSON.stringify(s))}t.lastModified&&!$A(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Kv(){}function IA(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,xA(e)}))}function OA(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:o}=e,r=e.iconsToLoad;delete e.iconsToLoad;let i;if(!r||!(i=Zf(n)))return;i.prepare(n,o,r).forEach(s=>{TA(n,s,l=>{if(typeof l!="object")s.icons.forEach(c=>{e.missing.add(c)});else try{const c=Cp(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(d=>{u.delete(d)}),AA(e,l)}catch(c){console.error(c)}IA(e)})})}))}const MA=(e,t)=>{const n=_A(e,!0,PC()),o=yA(n);if(!o.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(o.loaded,o.missing,o.pending,Kv)}),()=>{l=!1}}const r=Object.create(null),i=[];let a,s;return o.pending.forEach(l=>{const{provider:c,prefix:u}=l;if(u===s&&c===a)return;a=c,s=u,i.push(Si(c,u));const d=r[c]||(r[c]=Object.create(null));d[u]||(d[u]=[])}),o.pending.forEach(l=>{const{provider:c,prefix:u,name:d}=l,f=Si(c,u),p=f.pendingIcons||(f.pendingIcons=new Set);p.has(d)||(p.add(d),r[c][u].push(d))}),i.forEach(l=>{const{provider:c,prefix:u}=l;r[c][u].length&&OA(l,r[c][u])}),t?wA(t,o,i):Kv};function zA(e,t){const n={...e};for(const o in t){const r=t[o],i=typeof r;o in TC?(r===null||r&&(i==="string"||i==="number"))&&(n[o]=r):i===typeof n[o]&&(n[o]=o==="rotate"?r%4:r)}return n}const DA=/[\s,]+/;function LA(e,t){t.split(DA).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function FA(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(e);return isNaN(r)?0:o(r)}else if(n!==e){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/r,i%1===0?o(i):0)}}return t}function BA(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)n+=" "+o+'="'+t[o]+'"';return'"+e+""}function NA(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function HA(e){return"data:image/svg+xml,"+NA(e)}function jA(e){return'url("'+HA(e)+'")'}const Gv={...RC,inline:!1},VA={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},WA={display:"inline-block"},th={backgroundColor:"currentColor"},LC={backgroundColor:"transparent"},Yv={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Xv={webkitMask:th,mask:th,background:LC};for(const e in Xv){const t=Xv[e];for(const n in Yv)t[e+n]=Yv[n]}const sc={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";sc[e+"-flip"]=t,sc[e.slice(0,1)+"-flip"]=t,sc[e+"Flip"]=t});function Zv(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Jv=(e,t)=>{const n=zA(Gv,t),o={...VA},r=t.mode||"svg",i={},a=t.style,s=typeof a=="object"&&!(a instanceof Array)?a:{};for(let m in t){const v=t[m];if(v!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[m]=v===!0||v==="true"||v===1;break;case"flip":typeof v=="string"&&LA(n,v);break;case"color":i.color=v;break;case"rotate":typeof v=="string"?n[m]=FA(v):typeof v=="number"&&(n[m]=v);break;case"ariaHidden":case"aria-hidden":v!==!0&&v!=="true"&&delete o["aria-hidden"];break;default:{const b=sc[m];b?(v===!0||v==="true"||v===1)&&(n[b]=!0):Gv[m]===void 0&&(o[m]=v)}}}const l=iA(e,n),c=l.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),r==="svg"){o.style={...i,...s},Object.assign(o,c);let m=0,v=t.id;return typeof v=="string"&&(v=v.replace(/-/g,"_")),o.innerHTML=cA(l.body,v?()=>v+"ID"+m++:"iconifyVue"),g("svg",o)}const{body:u,width:d,height:f}=e,p=r==="mask"||(r==="bg"?!1:u.indexOf("currentColor")!==-1),h=BA(u,{...c,width:d+"",height:f+""});return o.style={...i,"--svg":jA(h),width:Zv(c.width),height:Zv(c.height),...WA,...p?th:LC,...s},g("span",o)};PC(!0);uA("",bA);if(typeof document<"u"&&typeof window<"u"){DC();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!tA(o))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const o="IconifyProviders["+n+"] is invalid.";try{const r=t[n];if(typeof r!="object"||!r||r.resources===void 0)continue;dA(n,r)||console.error(o)}catch{console.error(o)}}}}const UA={...bu,body:""},qA=ge({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=vu(e,!1,!0))===null)return this.abortLoading(),null;const o=Q$(n);if(!o)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",o!==null&&(this._loadingIcon={name:e,abort:MA([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const r=["iconify"];return n.prefix!==""&&r.push("iconify--"+n.prefix),n.provider!==""&&r.push("iconify--"+n.provider),{data:o,classes:r}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return Jv(UA,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Jv({...bu,...t.data},n)}});let Sc=[];const FC=new WeakMap;function KA(){Sc.forEach(e=>e(...FC.get(e))),Sc=[]}function kc(e,...t){FC.set(e,t),!Sc.includes(e)&&Sc.push(e)===1&&requestAnimationFrame(KA)}function GA(e){return e.nodeType===9?null:e.parentNode}function BC(e){if(e===null)return null;const t=GA(e);if(t===null)return null;if(t.nodeType===9)return document.documentElement;if(t.nodeType===1){const{overflow:n,overflowX:o,overflowY:r}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(n+r+o))return t}return BC(t)}function YA(e){return typeof e=="string"?document.querySelector(e):typeof e=="function"?e():e}function wo(e,t){let{target:n}=e;for(;n;){if(n.dataset&&n.dataset[t]!==void 0)return!0;n=n.parentElement}return!1}function ki(e){return e.composedPath()[0]||null}function Sn(e){return typeof e=="string"?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function zn(e){if(e!=null)return typeof e=="number"?`${e}px`:e.endsWith("px")?e:`${e}px`}function _o(e,t){const n=e.trim().split(/\s+/g),o={top:n[0]};switch(n.length){case 1:o.right=n[0],o.bottom=n[0],o.left=n[0];break;case 2:o.right=n[1],o.left=n[1],o.bottom=n[0];break;case 3:o.right=n[1],o.bottom=n[2],o.left=n[1];break;case 4:o.right=n[1],o.bottom=n[2],o.left=n[3];break;default:throw new Error("[seemly/getMargin]:"+e+" is not a valid value.")}return t===void 0?o:o[t]}function XA(e,t){const[n,o]=e.split(" ");return t?t==="row"?n:o:{row:n,col:o||n}}const Qv={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},Ma="^\\s*",za="\\s*$",hi="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",pi="([0-9A-Fa-f])",mi="([0-9A-Fa-f]{2})",ZA=new RegExp(`${Ma}rgb\\s*\\(${hi},${hi},${hi}\\)${za}`),JA=new RegExp(`${Ma}rgba\\s*\\(${hi},${hi},${hi},${hi}\\)${za}`),QA=new RegExp(`${Ma}#${pi}${pi}${pi}${za}`),e6=new RegExp(`${Ma}#${mi}${mi}${mi}${za}`),t6=new RegExp(`${Ma}#${pi}${pi}${pi}${pi}${za}`),n6=new RegExp(`${Ma}#${mi}${mi}${mi}${mi}${za}`);function Bn(e){return parseInt(e,16)}function jo(e){try{let t;if(t=e6.exec(e))return[Bn(t[1]),Bn(t[2]),Bn(t[3]),1];if(t=ZA.exec(e))return[Rn(t[1]),Rn(t[5]),Rn(t[9]),1];if(t=JA.exec(e))return[Rn(t[1]),Rn(t[5]),Rn(t[9]),ws(t[13])];if(t=QA.exec(e))return[Bn(t[1]+t[1]),Bn(t[2]+t[2]),Bn(t[3]+t[3]),1];if(t=n6.exec(e))return[Bn(t[1]),Bn(t[2]),Bn(t[3]),ws(Bn(t[4])/255)];if(t=t6.exec(e))return[Bn(t[1]+t[1]),Bn(t[2]+t[2]),Bn(t[3]+t[3]),ws(Bn(t[4]+t[4])/255)];if(e in Qv)return jo(Qv[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function o6(e){return e>1?1:e<0?0:e}function nh(e,t,n,o){return`rgba(${Rn(e)}, ${Rn(t)}, ${Rn(n)}, ${o6(o)})`}function Pd(e,t,n,o,r){return Rn((e*t*(1-o)+n*o)/r)}function et(e,t){Array.isArray(e)||(e=jo(e)),Array.isArray(t)||(t=jo(t));const n=e[3],o=t[3],r=ws(n+o-n*o);return nh(Pd(e[0],n,t[0],o,r),Pd(e[1],n,t[1],o,r),Pd(e[2],n,t[2],o,r),r)}function Me(e,t){const[n,o,r,i=1]=Array.isArray(e)?e:jo(e);return t.alpha?nh(n,o,r,t.alpha):nh(n,o,r,i)}function un(e,t){const[n,o,r,i=1]=Array.isArray(e)?e:jo(e),{lightness:a=1,alpha:s=1}=t;return r6([n*a,o*a,r*a,i*s])}function ws(e){const t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function Rn(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function r6(e){const[t,n,o]=e;return 3 in e?`rgba(${Rn(t)}, ${Rn(n)}, ${Rn(o)}, ${ws(e[3])})`:`rgba(${Rn(t)}, ${Rn(n)}, ${Rn(o)}, 1)`}function Gr(e=8){return Math.random().toString(16).slice(2,2+e)}function NC(e,t){const n=[];for(let o=0;o{o[r]=e[r]}),Object.assign(o,n)}function Da(e,t=[],n){const o={};return Object.getOwnPropertyNames(e).forEach(i=>{t.includes(i)||(o[i]=e[i])}),Object.assign(o,n)}function _a(e,t=!0,n=[]){return e.forEach(o=>{if(o!==null){if(typeof o!="object"){(typeof o=="string"||typeof o=="number")&&n.push(nt(String(o)));return}if(Array.isArray(o)){_a(o,t,n);return}if(o.type===rt){if(o.children===null)return;Array.isArray(o.children)&&_a(o.children,t,n)}else{if(o.type===$n&&t)return;n.push(o)}}}),n}function Ee(e,...t){if(Array.isArray(e))e.forEach(n=>Ee(n,...t));else return e(...t)}function Yr(e){return Object.keys(e)}const Wt=(e,...t)=>typeof e=="function"?e(...t):typeof e=="string"?nt(e):typeof e=="number"?nt(String(e)):null;function ar(e,t){console.error(`[naive/${e}]: ${t}`)}function ur(e,t){throw new Error(`[naive/${e}]: ${t}`)}function eb(e){switch(e){case"tiny":return"mini";case"small":return"tiny";case"medium":return"small";case"large":return"medium";case"huge":return"large"}throw Error(`${e} has no smaller size.`)}function tb(e){switch(typeof e){case"string":return e||void 0;case"number":return String(e);default:return}}function oh(e,t="default",n=void 0){const o=e[t];if(!o)return ar("getFirstSlotVNode",`slot[${t}] is empty`),null;const r=_a(o(n));return r.length===1?r[0]:(ar("getFirstSlotVNode",`slot[${t}] should have exactly one child`),null)}function jC(e){return t=>{t?e.value=t.$el:e.value=null}}function ol(e){return e.some(t=>Ls(t)?!(t.type===$n||t.type===rt&&!ol(t.children)):!0)?e:null}function An(e,t){return e&&ol(e())||t()}function rh(e,t,n){return e&&ol(e(t))||n(t)}function Et(e,t){const n=e&&ol(e());return t(n||null)}function fa(e){return!(e&&ol(e()))}function _s(e){const t=e.filter(n=>n!==void 0);if(t.length!==0)return t.length===1?t[0]:n=>{e.forEach(o=>{o&&o(n)})}}const ih=ge({render(){var e,t;return(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)}}),a6=/^(\d|\.)+$/,nb=/(\d|\.)+/;function qt(e,{c:t=1,offset:n=0,attachPx:o=!0}={}){if(typeof e=="number"){const r=(e+n)*t;return r===0?"0":`${r}px`}else if(typeof e=="string")if(a6.test(e)){const r=(Number(e)+n)*t;return o?r===0?"0":`${r}px`:`${r}`}else{const r=nb.exec(e);return r?e.replace(nb,String((Number(r[0])+n)*t)):e}return e}function Pc(e){return e.replace(/#|\(|\)|,|\s|\./g,"_")}function s6(e){let t=0;for(let n=0;n{let r=s6(o);if(r){if(r===1){e.forEach(a=>{n.push(o.replace("&",a))});return}}else{e.forEach(a=>{n.push((a&&a+" ")+o)});return}let i=[o];for(;r--;){const a=[];i.forEach(s=>{e.forEach(l=>{a.push(s.replace("&",l))})}),i=a}i.forEach(a=>n.push(a))}),n}function u6(e,t){const n=[];return t.split(VC).forEach(o=>{e.forEach(r=>{n.push((r&&r+" ")+o)})}),n}function d6(e){let t=[""];return e.forEach(n=>{n=n&&n.trim(),n&&(n.includes("&")?t=c6(t,n):t=u6(t,n))}),t.join(", ").replace(l6," ")}function ob(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function xu(e){return document.querySelector(`style[cssr-id="${e}"]`)}function f6(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function Rl(e){return e?/^\s*@(s|m)/.test(e):!1}const h6=/[A-Z]/g;function WC(e){return e.replace(h6,t=>"-"+t.toLowerCase())}function p6(e,t=" "){return typeof e=="object"&&e!==null?` { +`+Object.entries(e).map(n=>t+` ${WC(n[0])}: ${n[1]};`).join(` `)+` -`+t+"}":`: ${e};`}function l6(e,t,n){return typeof e=="function"?e({context:t.context,props:n}):e}function nb(e,t,n,o){if(!t)return"";const r=l6(t,n,o);if(!r)return"";if(typeof r=="string")return`${e} { +`+t+"}":`: ${e};`}function m6(e,t,n){return typeof e=="function"?e({context:t.context,props:n}):e}function rb(e,t,n,o){if(!t)return"";const r=m6(t,n,o);if(!r)return"";if(typeof r=="string")return`${e} { ${r} }`;const i=Object.keys(r);if(i.length===0)return n.config.keepEmptyBlock?e+` { }`:"";const a=e?[e+" {"]:[];return i.forEach(s=>{const l=r[s];if(s==="raw"){a.push(` `+l+` -`);return}s=MC(s),l!=null&&a.push(` ${s}${s6(l)}`)}),e&&a.push("}"),a.join(` -`)}function rh(e,t,n){e&&e.forEach(o=>{if(Array.isArray(o))rh(o,t,n);else if(typeof o=="function"){const r=o(t);Array.isArray(r)?rh(r,t,n):r&&n(r)}else o&&n(o)})}function zC(e,t,n,o,r,i){const a=e.$;let s="";if(!a||typeof a=="string")Tl(a)?s=a:t.push(a);else if(typeof a=="function"){const u=a({context:o.context,props:r});Tl(u)?s=u:t.push(u)}else if(a.before&&a.before(o.context),!a.$||typeof a.$=="string")Tl(a.$)?s=a.$:t.push(a.$);else if(a.$){const u=a.$({context:o.context,props:r});Tl(u)?s=u:t.push(u)}const l=r6(t),c=nb(l,e.props,o,r);s?(n.push(`${s} {`),i&&c&&i.insertRule(`${s} { +`);return}s=WC(s),l!=null&&a.push(` ${s}${p6(l)}`)}),e&&a.push("}"),a.join(` +`)}function ah(e,t,n){e&&e.forEach(o=>{if(Array.isArray(o))ah(o,t,n);else if(typeof o=="function"){const r=o(t);Array.isArray(r)?ah(r,t,n):r&&n(r)}else o&&n(o)})}function UC(e,t,n,o,r,i){const a=e.$;let s="";if(!a||typeof a=="string")Rl(a)?s=a:t.push(a);else if(typeof a=="function"){const u=a({context:o.context,props:r});Rl(u)?s=u:t.push(u)}else if(a.before&&a.before(o.context),!a.$||typeof a.$=="string")Rl(a.$)?s=a.$:t.push(a.$);else if(a.$){const u=a.$({context:o.context,props:r});Rl(u)?s=u:t.push(u)}const l=d6(t),c=rb(l,e.props,o,r);s?(n.push(`${s} {`),i&&c&&i.insertRule(`${s} { ${c} } -`)):(i&&c&&i.insertRule(c),!i&&c.length&&n.push(c)),e.children&&rh(e.children,{context:o.context,props:r},u=>{if(typeof u=="string"){const d=nb(l,{raw:u},o,r);i?i.insertRule(d):n.push(d)}else zC(u,t,n,o,r,i)}),t.pop(),s&&n.push("}"),a&&a.after&&a.after(o.context)}function DC(e,t,n,o=!1){const r=[];return zC(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&&ah(e.children,{context:o.context,props:r},u=>{if(typeof u=="string"){const d=rb(l,{raw:u},o,r);i?i.insertRule(d):n.push(d)}else UC(u,t,n,o,r,i)}),t.pop(),s&&n.push("}"),a&&a.after&&a.after(o.context)}function qC(e,t,n,o=!1){const r=[];return UC(e,[],r,t,n,o?e.instance.__styleSheet:void 0),o?"":r.join(` -`)}function Vs(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 c6(e,t,n){const{els:o}=t;if(n===void 0)o.forEach(tb),t.els=[];else{const r=bu(n);r&&o.includes(r)&&(tb(r),t.els=o.filter(i=>i!==r))}}function ob(e,t){e.push(t)}function u6(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,DC(t,e,o,i));return}let c;if(n===void 0&&(c=t.render(o),n=Vs(c)),l){l.adapter(n,c??t.render(o));return}const u=bu(n);if(u!==null&&!a)return u;const d=u??i6(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),ob(t.els,d),d}return r?document.head.insertBefore(d,document.head.querySelector("style, link")):document.head.appendChild(d),ob(t.els,d),d}function d6(e){return DC(this,this.instance,e)}function f6(e={}){const{id:t,ssr:n,props:o,head:r=!1,silent:i=!1,force:a=!1,anchorMetaName:s}=e;return u6(this.instance,this,t,o,r,i,a,s,n)}function h6(e={}){const{id:t}=e;c6(this.instance,this,t)}const Rl=function(e,t,n,o){return{instance:e,$:t,props:n,children:o,els:[],render:d6,mount:f6,unmount:h6}},p6=function(e,t,n,o){return Array.isArray(t)?Rl(e,{$:null},null,t):Array.isArray(n)?Rl(e,t,null,n):Array.isArray(o)?Rl(e,t,n,o):Rl(e,t,n,null)};function LC(e={}){let t=null;const n={c:(...o)=>p6(n,...o),use:(o,...r)=>o.install(n,...r),find:bu,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 m6(e,t){if(e===void 0)return!1;if(t){const{context:{ids:n}}=t;return n.has(e)}return bu(e)!==null}function g6(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 g=h.context;g.bem={},g.bem.b=null,g.bem.els=null}};function a(h){let g,b;return{before(m){g=m.bem.b,b=m.bem.els,m.bem.els=null},after(m){m.bem.b=g,m.bem.els=b},$({context:m,props:x}){return h=typeof h=="string"?h:h({context:m,props:x}),m.bem.b=h,`${(x==null?void 0:x.bPrefix)||t}${m.bem.b}`}}}function s(h){let g;return{before(b){g=b.bem.els},after(b){b.bem.els=g},$({context:b,props:m}){return h=typeof h=="string"?h:h({context:b,props:m}),b.bem.els=h.split(",").map(x=>x.trim()),b.bem.els.map(x=>`${(m==null?void 0:m.bPrefix)||t}${b.bem.b}${n}${x}`).join(", ")}}}function l(h){return{$({context:g,props:b}){h=typeof h=="string"?h:h({context:g,props:b});const m=h.split(",").map(_=>_.trim());function x(_){return m.map(w=>`&${(b==null?void 0:b.bPrefix)||t}${g.bem.b}${_!==void 0?`${n}${_}`:""}${o}${w}`).join(", ")}const S=g.bem.els;return S!==null?x(S[0]):x()}}}function c(h){return{$({context:g,props:b}){h=typeof h=="string"?h:h({context:g,props:b});const m=g.bem.els;return`&:not(${(b==null?void 0:b.bPrefix)||t}${g.bem.b}${m!==null&&m.length>0?`${n}${m[0]}`:""}${o}${h})`}}}return Object.assign(i,{cB:(...h)=>r(a(h[0]),h[1],h[2]),cE:(...h)=>r(s(h[0]),h[1],h[2]),cM:(...h)=>r(l(h[0]),h[1],h[2]),cNotM:(...h)=>r(c(h[0]),h[1],h[2])}),i}const v6="n",Ws=`.${v6}-`,b6="__",y6="--",FC=LC(),BC=g6({blockPrefix:Ws,elementPrefix:b6,modifierPrefix:y6});FC.use(BC);const{c:U,find:ABe}=FC,{cB:z,cE:V,cM:Z,cNotM:Tt}=BC;function nl(e){return U(({props:{bPrefix:t}})=>`${t||Ws}modal, ${t||Ws}drawer`,[e])}function yu(e){return U(({props:{bPrefix:t}})=>`${t||Ws}popover`,[e])}function NC(e){return U(({props:{bPrefix:t}})=>`&${t||Ws}modal`,e)}const x6=(...e)=>U(">",[z(...e)]);function ke(e,t){return e+(t==="default"?"":t.replace(/^[a-z]/,n=>n.toUpperCase()))}let Td;function C6(){return Td===void 0&&(Td=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),Td}const ur=typeof document<"u"&&typeof window<"u",HC=new WeakSet;function w6(e){HC.add(e)}function jC(e){return!HC.has(e)}function _6(e,t,n){if(!t)return e;const o=F(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 S6(e){const t=F(!!e.value);if(t.value)return io(t);const n=ht(e,o=>{o&&(t.value=!0,n())});return io(t)}function St(e){const t=L(e),n=F(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 Tp(){return Zn()!==null}const Rp=typeof window<"u";let ha,Ss;const k6=()=>{var e,t;ha=Rp?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,Ss=!1,ha!==void 0?ha.then(()=>{Ss=!0}):Ss=!0};k6();function P6(e){if(Ss)return;let t=!1;Ft(()=>{Ss||ha==null||ha.then(()=>{t||e()})}),rn(()=>{t=!0})}function sc(e){return e.composedPath()[0]}const T6={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function R6(e,t,n){if(e==="mousemoveoutside"){const o=r=>{t.contains(sc(r))||n(r)};return{mousemove:o,touchstart:o}}else if(e==="clickoutside"){let o=!1;const r=a=>{o=!t.contains(sc(a))},i=a=>{o&&(t.contains(sc(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 VC(e,t,n){const o=T6[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=R6(e,t,n)),i}function $6(e,t,n,o){if(e==="mousemoveoutside"||e==="clickoutside"){const r=VC(e,t,n);return Object.keys(r).forEach(i=>{Ot(i,document,r[i],o)}),!0}return!1}function E6(e,t,n,o){if(e==="mousemoveoutside"||e==="clickoutside"){const r=VC(e,t,n);return Object.keys(r).forEach(i=>{Pt(i,document,r[i],o)}),!0}return!1}function A6(){if(typeof window>"u")return{on:()=>{},off:()=>{}};const e=new WeakMap,t=new WeakMap;function n(){e.set(this,!0)}function o(){e.set(this,!0),t.set(this,!0)}function r(y,k,R){const $=y[k];return y[k]=function(){return R.apply(y,arguments),$.apply(y,arguments)},y}function i(y,k){y[k]=Event.prototype[k]}const a=new WeakMap,s=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function l(){var y;return(y=a.get(this))!==null&&y!==void 0?y:null}function c(y,k){s!==void 0&&Object.defineProperty(y,"currentTarget",{configurable:!0,enumerable:!0,get:k??s.get})}const u={bubble:{},capture:{}},d={};function f(){const y=function(k){const{type:R,eventPhase:$,bubbles:I}=k,A=sc(k);if($===2)return;const K=$===1?"capture":"bubble";let B=A;const M=[];for(;B===null&&(B=window),M.push(B),B!==window;)B=B.parentNode||null;const D=u.capture[R],Y=u.bubble[R];if(r(k,"stopPropagation",n),r(k,"stopImmediatePropagation",o),c(k,l),K==="capture"){if(D===void 0)return;for(let Q=M.length-1;Q>=0&&!e.has(k);--Q){const ue=M[Q],le=D.get(ue);if(le!==void 0){a.set(k,ue);for(const N of le){if(t.has(k))break;N(k)}}if(Q===0&&!I&&Y!==void 0){const N=Y.get(ue);if(N!==void 0)for(const E of N){if(t.has(k))break;E(k)}}}}else if(K==="bubble"){if(Y===void 0)return;for(let Q=0;QA(k))};return y.displayName="evtdUnifiedWindowEventHandler",y}const h=f(),g=p();function b(y,k){const R=u[y];return R[k]===void 0&&(R[k]=new Map,window.addEventListener(k,h,y==="capture")),R[k]}function m(y){return d[y]===void 0&&(d[y]=new Set,window.addEventListener(y,g)),d[y]}function x(y,k){let R=y.get(k);return R===void 0&&y.set(k,R=new Set),R}function S(y,k,R,$){const I=u[k][R];if(I!==void 0){const A=I.get(y);if(A!==void 0&&A.has($))return!0}return!1}function _(y,k){const R=d[y];return!!(R!==void 0&&R.has(k))}function w(y,k,R,$){let I;if(typeof $=="object"&&$.once===!0?I=D=>{C(y,k,I,$),R(D)}:I=R,$6(y,k,I,$))return;const K=$===!0||typeof $=="object"&&$.capture===!0?"capture":"bubble",B=b(K,y),M=x(B,k);if(M.has(I)||M.add(I),k===window){const D=m(y);D.has(I)||D.add(I)}}function C(y,k,R,$){if(E6(y,k,R,$))return;const A=$===!0||typeof $=="object"&&$.capture===!0,K=A?"capture":"bubble",B=b(K,y),M=x(B,k);if(k===window&&!S(k,A?"bubble":"capture",y,R)&&_(y,R)){const Y=d[y];Y.delete(R),Y.size===0&&(window.removeEventListener(y,g),d[y]=void 0)}M.has(R)&&M.delete(R),M.size===0&&B.delete(k),B.size===0&&(window.removeEventListener(y,h,K==="capture"),u[K][y]=void 0)}return{on:w,off:C}}const{on:Ot,off:Pt}=A6(),us=F(null);function rb(e){if(e.clientX>0||e.clientY>0)us.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?us.value={x:n+r/2,y:o+i/2}:us.value={x:0,y:0}}else us.value=null}}let $l=0,ib=!0;function WC(){if(!Rp)return io(F(null));$l===0&&Ot("click",document,rb,!0);const e=()=>{$l+=1};return ib&&(ib=Tp())?(cn(e),rn(()=>{$l-=1,$l===0&&Pt("click",document,rb,!0)})):e(),io(us)}const I6=F(void 0);let El=0;function ab(){I6.value=Date.now()}let sb=!0;function UC(e){if(!Rp)return io(F(!1));const t=F(!1);let n=null;function o(){n!==null&&window.clearTimeout(n)}function r(){o(),t.value=!0,n=window.setTimeout(()=>{t.value=!1},e)}El===0&&Ot("click",window,ab,!0);const i=()=>{El+=1,Ot("click",window,r,!0)};return sb&&(sb=Tp())?(cn(i),rn(()=>{El-=1,El===0&&Pt("click",window,ab,!0),Pt("click",window,r,!0),o()})):i(),io(t)}function ln(e,t){return ht(e,n=>{n!==void 0&&(t.value=n)}),L(()=>e.value===void 0?t.value:e.value)}function Gr(){const e=F(!1);return Ft(()=>{e.value=!0}),io(e)}function xu(e,t){return L(()=>{for(const n of t)if(e[n]!==void 0)return e[n];return e[t[t.length-1]]})}const O6=(typeof window>"u"?!1:/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!window.MSStream;function M6(){return O6}function z6(e={},t){const n=xo({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)&&(Ot("keydown",document,i),Ot("keyup",document,a)),t!==void 0&&ht(t,l=>{l?(Ot("keydown",document,i),Ot("keyup",document,a)):(Pt("keydown",document,i),Pt("keyup",document,a))})};return Tp()?(cn(s),rn(()=>{(t===void 0||t.value)&&(Pt("keydown",document,i),Pt("keyup",document,a))})):s(),io(n)}const $p="n-internal-select-menu",qC="n-internal-select-menu-body",ol="n-modal-body",KC="n-modal",rl="n-drawer-body",Ep="n-drawer",Na="n-popover-body",GC="__disabled__";function Uo(e){const t=We(ol,null),n=We(rl,null),o=We(Na,null),r=We(qC,null),i=F();if(typeof document<"u"){i.value=document.fullscreenElement;const a=()=>{i.value=document.fullscreenElement};Ft(()=>{Ot("fullscreenchange",document,a)}),rn(()=>{Pt("fullscreenchange",document,a)})}return St(()=>{var a;const{to:s}=e;return s!==void 0?s===!1?GC: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")})}Uo.tdkey=GC;Uo.propTo={type:[String,Object,Boolean],default:void 0};let lb=!1;function D6(){if(ur&&window.CSS&&!lb&&(lb=!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 ih(e,t,n="default"){const o=t[n];if(o===void 0)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);return o()}function ah(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)){ah(o,t,n);return}if(o.type===at){if(o.children===null)return;Array.isArray(o.children)&&ah(o.children,t,n)}else o.type!==En&&n.push(o)}}),n}function cb(e,t,n="default"){const o=t[n];if(o===void 0)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);const r=ah(o());if(r.length===1)return r[0];throw new Error(`[vueuc/${e}]: slot[${n}] should have exactly one child.`)}let Sr=null;function YC(){if(Sr===null&&(Sr=document.getElementById("v-binder-view-measurer"),Sr===null)){Sr=document.createElement("div"),Sr.id="v-binder-view-measurer";const{style:e}=Sr;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(Sr)}return Sr.getBoundingClientRect()}function L6(e,t){const n=YC();return{top:t,left:e,height:0,width:0,right:n.width-e,bottom:n.height-t}}function Rd(e){const t=e.getBoundingClientRect(),n=YC();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 F6(e){return e.nodeType===9?null:e.parentNode}function XC(e){if(e===null)return null;const t=F6(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 XC(t)}const B6=me({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;lt("VBinder",(t=Zn())===null||t===void 0?void 0:t.proxy);const n=We("VBinder",null),o=F(null),r=m=>{o.value=m,n&&e.syncTargetWithParent&&n.setTargetRef(m)};let i=[];const a=()=>{let m=o.value;for(;m=XC(m),m!==null;)i.push(m);for(const x of i)Ot("scroll",x,d,!0)},s=()=>{for(const m of i)Pt("scroll",m,d,!0);i=[]},l=new Set,c=m=>{l.size===0&&a(),l.has(m)||l.add(m)},u=m=>{l.has(m)&&l.delete(m),l.size===0&&s()},d=()=>{kc(f)},f=()=>{l.forEach(m=>m())},p=new Set,h=m=>{p.size===0&&Ot("resize",window,b),p.has(m)||p.add(m)},g=m=>{p.has(m)&&p.delete(m),p.size===0&&Pt("resize",window,b)},b=()=>{p.forEach(m=>m())};return rn(()=>{Pt("resize",window,b),s()}),{targetRef:o,setTargetRef:r,addScrollListener:c,removeScrollListener:u,addResizeListener:h,removeResizeListener:g}},render(){return ih("binder",this.$slots)}}),Ap=B6,Ip=me({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=We("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?Cn(cb("follower",this.$slots),[[t]]):cb("follower",this.$slots)}}),Zi="@@mmoContext",N6={mounted(e,{value:t}){e[Zi]={handler:void 0},typeof t=="function"&&(e[Zi].handler=t,Ot("mousemoveoutside",e,t))},updated(e,{value:t}){const n=e[Zi];typeof t=="function"?n.handler?n.handler!==t&&(Pt("mousemoveoutside",e,n.handler),n.handler=t,Ot("mousemoveoutside",e,t)):(e[Zi].handler=t,Ot("mousemoveoutside",e,t)):n.handler&&(Pt("mousemoveoutside",e,n.handler),n.handler=void 0)},unmounted(e){const{handler:t}=e[Zi];t&&Pt("mousemoveoutside",e,t),e[Zi].handler=void 0}},H6=N6,Ji="@@coContext",j6={mounted(e,{value:t,modifiers:n}){e[Ji]={handler:void 0},typeof t=="function"&&(e[Ji].handler=t,Ot("clickoutside",e,t,{capture:n.capture}))},updated(e,{value:t,modifiers:n}){const o=e[Ji];typeof t=="function"?o.handler?o.handler!==t&&(Pt("clickoutside",e,o.handler,{capture:n.capture}),o.handler=t,Ot("clickoutside",e,t,{capture:n.capture})):(e[Ji].handler=t,Ot("clickoutside",e,t,{capture:n.capture})):o.handler&&(Pt("clickoutside",e,o.handler,{capture:n.capture}),o.handler=void 0)},unmounted(e,{modifiers:t}){const{handler:n}=e[Ji];n&&Pt("clickoutside",e,n,{capture:t.capture}),e[Ji].handler=void 0}},Ta=j6;function V6(e,t){console.error(`[vdirs/${e}]: ${t}`)}class W6{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&&V6("z-index-manager/unregister-element","Element not found when unregistering."),this.squashState()}squashState(){const{elementCount:t}=this;t||(this.nextZIndex=2e3),this.nextZIndex-t>2500&&this.rearrange()}rearrange(){const t=Array.from(this.elementZIndex.entries());t.sort((n,o)=>n[1]-o[1]),this.nextZIndex=2e3,t.forEach(n=>{const o=n[0],r=this.nextZIndex++;`${r}`!==o.style.zIndex&&(o.style.zIndex=`${r}`)})}}const $d=new W6,Qi="@@ziContext",U6={mounted(e,t){const{value:n={}}=t,{zIndex:o,enabled:r}=n;e[Qi]={enabled:!!r,initialized:!1},r&&($d.ensureZIndex(e,o),e[Qi].initialized=!0)},updated(e,t){const{value:n={}}=t,{zIndex:o,enabled:r}=n,i=e[Qi].enabled;r&&!i&&($d.ensureZIndex(e,o),e[Qi].initialized=!0),e[Qi].enabled=!!r},unmounted(e,t){if(!e[Qi].initialized)return;const{value:n={}}=t,{zIndex:o}=n;$d.unregister(e,o)}},Cu=U6,ZC=Symbol("@css-render/vue3-ssr");function q6(e,t){return``}function K6(e,t){const n=We(ZC,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(q6(e,t)))}const G6=typeof document<"u";function Oi(){if(G6)return;const e=We(ZC,null);if(e!==null)return{adapter:K6,context:e}}function ub(e,t){console.error(`[vueuc/${e}]: ${t}`)}const{c:Mr}=LC(),Op="vueuc-style";function db(e){return e&-e}class Y6{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-=db(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?ih("lazy-teleport",this.$slots):v(Zc,{disabled:this.disabled,to:this.mergedTo},ih("lazy-teleport",this.$slots)):null}}),Al={top:"bottom",bottom:"top",left:"right",right:"left"},hb={start:"end",center:"center",end:"start"},Ed={top:"height",bottom:"height",left:"width",right:"width"},X6={"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"},Z6={"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"},J6={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},pb={top:!0,bottom:!1,left:!0,right:!1},mb={top:"end",bottom:"start",left:"end",right:"start"};function Q6(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,g)=>{let b=0,m=0;const x=n[p]-t[h]-t[p];return x>0&&o&&(g?m=pb[h]?x:-x:b=pb[h]?x:-x),{left:b,top:m}},d=a==="left"||a==="right";if(l!=="center"){const p=J6[e],h=Al[p],g=Ed[p];if(n[g]>t[g]){if(t[p]+t[g]t[h]&&(l=hb[s])}else{const p=a==="bottom"||a==="top"?"left":"top",h=Al[p],g=Ed[p],b=(n[g]-t[g])/2;(t[p]t[h]?(l=mb[p],c=u(g,p,d)):(l=mb[h],c=u(g,h,d)))}let f=a;return t[a] *",{pointerEvents:"all"})])]),Mp=me({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){const t=We("VBinder"),n=St(()=>e.enabled!==void 0?e.enabled:e.show),o=F(null),r=F(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)};Ft(()=>{n.value&&(l(),i())});const s=Oi();n8.mount({id:"vueuc/binder",head:!0,anchorMetaName:Op,ssr:s}),rn(()=>{a()}),P6(()=>{n.value&&l()});const l=()=>{if(!n.value)return;const f=o.value;if(f===null)return;const p=t.targetRef,{x:h,y:g,overlap:b}=e,m=h!==void 0&&g!==void 0?L6(h,g):Rd(p);f.style.setProperty("--v-target-width",`${Math.round(m.width)}px`),f.style.setProperty("--v-target-height",`${Math.round(m.height)}px`);const{width:x,minWidth:S,placement:_,internalShift:w,flip:C}=e;f.setAttribute("v-placement",_),b?f.setAttribute("v-overlap",""):f.removeAttribute("v-overlap");const{style:y}=f;x==="target"?y.width=`${m.width}px`:x!==void 0?y.width=x:y.width="",S==="target"?y.minWidth=`${m.width}px`:S!==void 0?y.minWidth=S:y.minWidth="";const k=Rd(f),R=Rd(r.value),{left:$,top:I,placement:A}=Q6(_,m,k,w,C,b),K=e8(A,b),{left:B,top:M,transform:D}=t8(A,R,m,I,$,b);f.setAttribute("v-placement",A),f.style.setProperty("--v-offset-left",`${Math.round($)}px`),f.style.setProperty("--v-offset-top",`${Math.round(I)}px`),f.style.transform=`translateX(${B}) translateY(${M}) ${D}`,f.style.setProperty("--v-transform-origin",K),f.style.transformOrigin=K};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(je(e,f),l)}),["teleportDisabled"].forEach(f=>{ht(je(e,f),c)}),ht(je(e,"syncTrigger"),f=>{f.includes("resize")?t.addResizeListener(l):t.removeResizeListener(l),f.includes("scroll")?t.addScrollListener(l):t.removeScrollListener(l)});const u=Gr(),d=St(()=>{const{to:f}=e;if(f!==void 0)return f;u.value});return{VBinder:t,mergedEnabled:n,offsetContainerRef:r,followerRef:o,mergedTo:d,syncPosition:l}},render(){return v(wu,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=v("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[v("div",{class:"v-binder-follower-content",ref:"followerRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))]);return this.zindexable?Cn(n,[[Cu,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});var gi=[],o8=function(){return gi.some(function(e){return e.activeTargets.length>0})},r8=function(){return gi.some(function(e){return e.skippedTargets.length>0})},gb="ResizeObserver loop completed with undelivered notifications.",i8=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:gb}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=gb),window.dispatchEvent(e)},Us;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Us||(Us={}));var vi=function(e){return Object.freeze(e)},a8=function(){function e(t,n){this.inlineSize=t,this.blockSize=n,vi(this)}return e}(),JC=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,vi(this)}return e.prototype.toJSON=function(){var t=this,n=t.x,o=t.y,r=t.top,i=t.right,a=t.bottom,s=t.left,l=t.width,c=t.height;return{x:n,y:o,top:r,right:i,bottom:a,left:s,width:l,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),zp=function(e){return e instanceof SVGElement&&"getBBox"in e},QC=function(e){if(zp(e)){var t=e.getBBox(),n=t.width,o=t.height;return!n&&!o}var r=e,i=r.offsetWidth,a=r.offsetHeight;return!(i||a||e.getClientRects().length)},vb=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)},s8=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},ks=typeof window<"u"?window:{},Il=new WeakMap,bb=/auto|scroll/,l8=/^tb|vertical/,c8=/msie|trident/i.test(ks.navigator&&ks.navigator.userAgent),Eo=function(e){return parseFloat(e||"0")},pa=function(e,t,n){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=!1),new a8((n?t:e)||0,(n?e:t)||0)},yb=vi({devicePixelContentBoxSize:pa(),borderBoxSize:pa(),contentBoxSize:pa(),contentRect:new JC(0,0,0,0)}),ew=function(e,t){if(t===void 0&&(t=!1),Il.has(e)&&!t)return Il.get(e);if(QC(e))return Il.set(e,yb),yb;var n=getComputedStyle(e),o=zp(e)&&e.ownerSVGElement&&e.getBBox(),r=!c8&&n.boxSizing==="border-box",i=l8.test(n.writingMode||""),a=!o&&bb.test(n.overflowY||""),s=!o&&bb.test(n.overflowX||""),l=o?0:Eo(n.paddingTop),c=o?0:Eo(n.paddingRight),u=o?0:Eo(n.paddingBottom),d=o?0:Eo(n.paddingLeft),f=o?0:Eo(n.borderTopWidth),p=o?0:Eo(n.borderRightWidth),h=o?0:Eo(n.borderBottomWidth),g=o?0:Eo(n.borderLeftWidth),b=d+c,m=l+u,x=g+p,S=f+h,_=s?e.offsetHeight-S-e.clientHeight:0,w=a?e.offsetWidth-x-e.clientWidth:0,C=r?b+x:0,y=r?m+S:0,k=o?o.width:Eo(n.width)-C-w,R=o?o.height:Eo(n.height)-y-_,$=k+b+w+x,I=R+m+_+S,A=vi({devicePixelContentBoxSize:pa(Math.round(k*devicePixelRatio),Math.round(R*devicePixelRatio),i),borderBoxSize:pa($,I,i),contentBoxSize:pa(k,R,i),contentRect:new JC(d,l,k,R)});return Il.set(e,A),A},tw=function(e,t,n){var o=ew(e,n),r=o.borderBoxSize,i=o.contentBoxSize,a=o.devicePixelContentBoxSize;switch(t){case Us.DEVICE_PIXEL_CONTENT_BOX:return a;case Us.BORDER_BOX:return r;default:return i}},u8=function(){function e(t){var n=ew(t);this.target=t,this.contentRect=n.contentRect,this.borderBoxSize=vi([n.borderBoxSize]),this.contentBoxSize=vi([n.contentBoxSize]),this.devicePixelContentBoxSize=vi([n.devicePixelContentBoxSize])}return e}(),nw=function(e){if(QC(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},d8=function(){var e=1/0,t=[];gi.forEach(function(a){if(a.activeTargets.length!==0){var s=[];a.activeTargets.forEach(function(c){var u=new u8(c.target),d=nw(c.target);s.push(u),c.lastReportedSize=tw(c.target,c.observedBox),de?n.activeTargets.push(r):n.skippedTargets.push(r))})})},f8=function(){var e=0;for(xb(e);o8();)e=d8(),xb(e);return r8()&&i8(),e>0},Ad,ow=[],h8=function(){return ow.splice(0).forEach(function(e){return e()})},p8=function(e){if(!Ad){var t=0,n=document.createTextNode(""),o={characterData:!0};new MutationObserver(function(){return h8()}).observe(n,o),Ad=function(){n.textContent="".concat(t?t--:t++)}}ow.push(e),Ad()},m8=function(e){p8(function(){requestAnimationFrame(e)})},lc=0,g8=function(){return!!lc},v8=250,b8={attributes:!0,characterData:!0,childList:!0,subtree:!0},Cb=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],wb=function(e){return e===void 0&&(e=0),Date.now()+e},Id=!1,y8=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=v8),!Id){Id=!0;var o=wb(t);m8(function(){var r=!1;try{r=f8()}finally{if(Id=!1,t=o-wb(),!g8())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,b8)};document.body?n():ks.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Cb.forEach(function(n){return ks.addEventListener(n,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Cb.forEach(function(n){return ks.removeEventListener(n,t.listener,!0)}),this.stopped=!0)},e}(),sh=new y8,_b=function(e){!lc&&e>0&&sh.start(),lc+=e,!lc&&sh.stop()},x8=function(e){return!zp(e)&&!s8(e)&&getComputedStyle(e).display==="inline"},C8=function(){function e(t,n){this.target=t,this.observedBox=n||Us.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=tw(this.target,this.observedBox,!0);return x8(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),w8=function(){function e(t,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=n}return e}(),Ol=new WeakMap,Sb=function(e,t){for(var n=0;n=0&&(i&&gi.splice(gi.indexOf(o),1),o.observationTargets.splice(r,1),_b(-1))},e.disconnect=function(t){var n=this,o=Ol.get(t);o.observationTargets.slice().forEach(function(r){return n.unobserve(t,r.target)}),o.activeTargets.splice(0,o.activeTargets.length)},e}(),_8=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.");Ml.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(!vb(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ml.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(!vb(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ml.unobserve(this,t)},e.prototype.disconnect=function(){Ml.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class S8{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||_8)(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 Tc=new S8,lr=me({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1;const n=Zn().proxy;function o(r){const{onResize:i}=e;i!==void 0&&i(r)}Ft(()=>{const r=n.$el;if(r===void 0){ub("resize-observer","$el does not exist.");return}if(r.nextElementSibling!==r.nextSibling&&r.nodeType===3&&r.nodeValue!==""){ub("resize-observer","$el can not be observed (it may be a text node).");return}r.nextElementSibling!==null&&(Tc.registerHandler(r.nextElementSibling,o),t=!0)}),rn(()=>{t&&Tc.unregisterHandler(n.$el.nextElementSibling)})},render(){return Xc(this.$slots,"default")}});let zl;function k8(){return typeof document>"u"?!1:(zl===void 0&&("matchMedia"in window?zl=window.matchMedia("(pointer:coarse)").matches:zl=!1),zl)}let Od;function kb(){return typeof document>"u"?1:(Od===void 0&&(Od="chrome"in window?window.devicePixelRatio:1),Od)}const P8=Mr(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[Mr("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[Mr("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),rw=me({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=Oi();P8.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:Op,ssr:t}),Ft(()=>{const{defaultScrollIndex:I,defaultScrollKey:A}=e;I!=null?h({index:I}):A!=null&&h({key:A})});let n=!1,o=!1;Yh(()=>{if(n=!1,!o){o=!0;return}h({top:d.value,left:u})}),Gc(()=>{n=!0,o||(o=!0)});const r=L(()=>{const I=new Map,{keyField:A}=e;return e.items.forEach((K,B)=>{I.set(K[A],B)}),I}),i=F(null),a=F(void 0),s=new Map,l=L(()=>{const{items:I,itemSize:A,keyField:K}=e,B=new Y6(I.length,A);return I.forEach((M,D)=>{const Y=M[K],Q=s.get(Y);Q!==void 0&&B.add(D,Q)}),B}),c=F(0);let u=0;const d=F(0),f=St(()=>Math.max(l.value.getBound(d.value-kn(e.paddingTop))-1,0)),p=L(()=>{const{value:I}=a;if(I===void 0)return[];const{items:A,itemSize:K}=e,B=f.value,M=Math.min(B+Math.ceil(I/K+1),A.length-1),D=[];for(let Y=B;Y<=M;++Y)D.push(A[Y]);return D}),h=(I,A)=>{if(typeof I=="number"){x(I,A,"auto");return}const{left:K,top:B,index:M,key:D,position:Y,behavior:Q,debounce:ue=!0}=I;if(K!==void 0||B!==void 0)x(K,B,Q);else if(M!==void 0)m(M,Q,ue);else if(D!==void 0){const le=r.value.get(D);le!==void 0&&m(le,Q,ue)}else Y==="bottom"?x(0,Number.MAX_SAFE_INTEGER,Q):Y==="top"&&x(0,0,Q)};let g,b=null;function m(I,A,K){const{value:B}=l,M=B.sum(I)+kn(e.paddingTop);if(!K)i.value.scrollTo({left:0,top:M,behavior:A});else{g=I,b!==null&&window.clearTimeout(b),b=window.setTimeout(()=>{g=void 0,b=null},16);const{scrollTop:D,offsetHeight:Y}=i.value;if(M>D){const Q=B.get(I);M+Q<=D+Y||i.value.scrollTo({left:0,top:M+Q-Y,behavior:A})}else i.value.scrollTo({left:0,top:M,behavior:A})}}function x(I,A,K){i.value.scrollTo({left:I,top:A,behavior:K})}function S(I,A){var K,B,M;if(n||e.ignoreItemResize||$(A.target))return;const{value:D}=l,Y=r.value.get(I),Q=D.get(Y),ue=(M=(B=(K=A.borderBoxSize)===null||K===void 0?void 0:K[0])===null||B===void 0?void 0:B.blockSize)!==null&&M!==void 0?M:A.contentRect.height;if(ue===Q)return;ue-e.itemSize===0?s.delete(I):s.set(I,ue-e.itemSize);const N=ue-Q;if(N===0)return;D.add(Y,N);const E=i.value;if(E!=null){if(g===void 0){const O=D.sum(Y);E.scrollTop>O&&E.scrollBy(0,N)}else if(YE.scrollTop+E.offsetHeight&&E.scrollBy(0,N)}R()}c.value++}const _=!k8();let w=!1;function C(I){var A;(A=e.onScroll)===null||A===void 0||A.call(e,I),(!_||!w)&&R()}function y(I){var A;if((A=e.onWheel)===null||A===void 0||A.call(e,I),_){const K=i.value;if(K!=null){if(I.deltaX===0&&(K.scrollTop===0&&I.deltaY<=0||K.scrollTop+K.offsetHeight>=K.scrollHeight&&I.deltaY>=0))return;I.preventDefault(),K.scrollTop+=I.deltaY/kb(),K.scrollLeft+=I.deltaX/kb(),R(),w=!0,kc(()=>{w=!1})}}}function k(I){if(n||$(I.target)||I.contentRect.height===a.value)return;a.value=I.contentRect.height;const{onResize:A}=e;A!==void 0&&A(I)}function R(){const{value:I}=i;I!=null&&(d.value=I.scrollTop,u=I.scrollLeft)}function $(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:L(()=>{const{itemResizable:I}=e,A=Mn(l.value.sum());return c.value,[e.itemsStyle,{boxSizing:"content-box",height:I?"":A,minHeight:I?A:"",paddingTop:Mn(e.paddingTop),paddingBottom:Mn(e.paddingBottom)}]}),visibleItemsStyle:L(()=>(c.value,{transform:`translateY(${Mn(l.value.sum(f.value))})`})),viewportItems:p,listElRef:i,itemsElRef:F(null),scrollTo:h,handleListResize:k,handleListScroll:C,handleListWheel:y,handleItemResize:S}},render(){const{itemResizable:e,keyField:t,keyToIndex:n,visibleItemsTag:o}=this;return v(lr,{onResize:this.handleListResize},{default:()=>{var r,i;return v("div",Dn(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?v("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[v(o,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>this.viewportItems.map(a=>{const s=a[t],l=n.get(s),c=this.$slots.default({item:a,index:l})[0];return e?v(lr,{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)])}})}}),er="v-hidden",T8=Mr("[v-hidden]",{display:"none!important"}),lh=me({name:"Overflow",props:{getCounter:Function,getTail:Function,updateCounter:Function,onUpdateCount:Function,onUpdateOverflow:Function},setup(e,{slots:t}){const n=F(null),o=F(null);function r(a){const{value:s}=n,{getCounter:l,getTail:c}=e;let u;if(l!==void 0?u=l():u=o.value,!s||!u)return;u.hasAttribute(er)&&u.removeAttribute(er);const{children:d}=s;if(a.showAllItemsBeforeCalculate)for(const S of d)S.hasAttribute(er)&&S.removeAttribute(er);const f=s.offsetWidth,p=[],h=t.tail?c==null?void 0:c():null;let g=h?h.offsetWidth:0,b=!1;const m=s.children.length-(t.tail?1:0);for(let S=0;Sf){const{updateCounter:C}=e;for(let y=S;y>=0;--y){const k=m-1-y;C!==void 0?C(k):u.textContent=`${k}`;const R=u.offsetWidth;if(g-=p[y],g+R<=f||y===0){b=!0,S=y-1,h&&(S===-1?(h.style.maxWidth=`${f-R}px`,h.style.boxSizing="border-box"):h.style.maxWidth="");const{onUpdateCount:$}=e;$&&$(k);break}}}}const{onUpdateOverflow:x}=e;b?x!==void 0&&x(!0):(x!==void 0&&x(!1),u.setAttribute(er,""))}const i=Oi();return T8.mount({id:"vueuc/overflow",head:!0,anchorMetaName:Op,ssr:i}),Ft(()=>r({showAllItemsBeforeCalculate:!1})),{selfRef:n,counterRef:o,sync:r}},render(){const{$slots:e}=this;return jt(()=>this.sync({showAllItemsBeforeCalculate:!1})),v("div",{class:"v-overflow",ref:"selfRef"},[Xc(e,"default"),e.counter?e.counter():v("span",{style:{display:"inline-block"},ref:"counterRef"}),e.tail?e.tail():null])}});function iw(e){return e instanceof HTMLElement}function aw(e){for(let t=0;t=0;t--){const n=e.childNodes[t];if(iw(n)&&(lw(n)||sw(n)))return!0}return!1}function lw(e){if(!R8(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function R8(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 is=[];const Dp=me({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=Ii(),n=F(null),o=F(null);let r=!1,i=!1;const a=typeof document>"u"?null:document.activeElement;function s(){return is[is.length-1]===t}function l(b){var m;b.code==="Escape"&&s()&&((m=e.onEsc)===null||m===void 0||m.call(e,b))}Ft(()=>{ht(()=>e.active,b=>{b?(d(),Ot("keydown",document,l)):(Pt("keydown",document,l),r&&f())},{immediate:!0})}),rn(()=>{Pt("keydown",document,l),r&&f()});function c(b){if(!i&&s()){const m=u();if(m===null||m.contains(wi(b)))return;p("first")}}function u(){const b=n.value;if(b===null)return null;let m=b;for(;m=m.nextSibling,!(m===null||m instanceof Element&&m.tagName==="DIV"););return m}function d(){var b;if(!e.disabled){if(is.push(t),e.autoFocus){const{initialFocusTo:m}=e;m===void 0?p("first"):(b=fb(m))===null||b===void 0||b.focus({preventScroll:!0})}r=!0,document.addEventListener("focus",c,!0)}}function f(){var b;if(e.disabled||(document.removeEventListener("focus",c,!0),is=is.filter(x=>x!==t),s()))return;const{finalFocusTo:m}=e;m!==void 0?(b=fb(m))===null||b===void 0||b.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&a instanceof HTMLElement&&(i=!0,a.focus({preventScroll:!0}),i=!1)}function p(b){if(s()&&e.active){const m=n.value,x=o.value;if(m!==null&&x!==null){const S=u();if(S==null||S===x){i=!0,m.focus({preventScroll:!0}),i=!1;return}i=!0;const _=b==="first"?aw(S):sw(S);i=!1,_||(i=!0,m.focus({preventScroll:!0}),i=!1)}}}function h(b){if(i)return;const m=u();m!==null&&(b.relatedTarget!==null&&m.contains(b.relatedTarget)?p("last"):p("first"))}function g(b){i||(b.relatedTarget!==null&&b.relatedTarget===n.value?p("last"):p("first"))}return{focusableStartRef:n,focusableEndRef:o,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:h,handleEndFocus:g}},render(){const{default:e}=this.$slots;if(e===void 0)return null;if(this.disabled)return e();const{active:t,focusableStyle:n}=this;return v(at,null,[v("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:n,onFocus:this.handleStartFocus}),e(),v("div",{"aria-hidden":"true",style:n,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}});function cw(e,t){t&&(Ft(()=>{const{value:n}=e;n&&Tc.registerHandler(n,t)}),rn(()=>{const{value:n}=e;n&&Tc.unregisterHandler(n)}))}let ea=0,Pb="",Tb="",Rb="",$b="";const ch=F("0px");function uw(e){if(typeof document>"u")return;const t=document.documentElement;let n,o=!1;const r=()=>{t.style.marginRight=Pb,t.style.overflow=Tb,t.style.overflowX=Rb,t.style.overflowY=$b,ch.value="0px"};Ft(()=>{n=ht(e,i=>{if(i){if(!ea){const a=window.innerWidth-t.offsetWidth;a>0&&(Pb=t.style.marginRight,t.style.marginRight=`${a}px`,ch.value=`${a}px`),Tb=t.style.overflow,Rb=t.style.overflowX,$b=t.style.overflowY,t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden"}o=!0,ea++}else ea--,ea||r(),o=!1},{immediate:!0})}),rn(()=>{n==null||n(),o&&(ea--,ea||r(),o=!1)})}const Lp=F(!1),Eb=()=>{Lp.value=!0},Ab=()=>{Lp.value=!1};let as=0;const dw=()=>(ur&&(cn(()=>{as||(window.addEventListener("compositionstart",Eb),window.addEventListener("compositionend",Ab)),as++}),rn(()=>{as<=1?(window.removeEventListener("compositionstart",Eb),window.removeEventListener("compositionend",Ab),as=0):as--})),Lp);function Fp(e){const t={isDeactivated:!1};let n=!1;return Yh(()=>{if(t.isDeactivated=!1,!n){n=!0;return}e()}),Gc(()=>{t.isDeactivated=!0,n||(n=!0)}),t}function Ib(e){return e.nodeName==="#document"}const $8=(e,t)=>{if(!e)return;const n=document.createElement("a");n.href=e,t!==void 0&&(n.download=t),document.body.appendChild(n),n.click(),document.body.removeChild(n)},Ob="n-form-item";function dr(e,{defaultSize:t="medium",mergedSize:n,mergedDisabled:o}={}){const r=We(Ob,null);lt(Ob,null);const i=L(n?()=>n(r):()=>{const{size:l}=e;if(l)return l;if(r){const{mergedSize:c}=r;if(c.value!==void 0)return c.value}return t}),a=L(o?()=>o(r):()=>{const{disabled:l}=e;return l!==void 0?l:r?r.disabled.value:!1}),s=L(()=>{const{status:l}=e;return l||(r==null?void 0:r.mergedValidationStatus.value)});return rn(()=>{r&&r.restoreValidation()}),{mergedSizeRef:i,mergedDisabledRef:a,mergedStatusRef:s,nTriggerFormBlur(){r&&r.handleContentBlur()},nTriggerFormChange(){r&&r.handleContentChange()},nTriggerFormFocus(){r&&r.handleContentFocus()},nTriggerFormInput(){r&&r.handleContentInput()}}}var E8=typeof global=="object"&&global&&global.Object===Object&&global;const fw=E8;var A8=typeof self=="object"&&self&&self.Object===Object&&self,I8=fw||A8||Function("return this")();const So=I8;var O8=So.Symbol;const Nr=O8;var hw=Object.prototype,M8=hw.hasOwnProperty,z8=hw.toString,ss=Nr?Nr.toStringTag:void 0;function D8(e){var t=M8.call(e,ss),n=e[ss];try{e[ss]=void 0;var o=!0}catch{}var r=z8.call(e);return o&&(t?e[ss]=n:delete e[ss]),r}var L8=Object.prototype,F8=L8.toString;function B8(e){return F8.call(e)}var N8="[object Null]",H8="[object Undefined]",Mb=Nr?Nr.toStringTag:void 0;function Mi(e){return e==null?e===void 0?H8:N8:Mb&&Mb in Object(e)?D8(e):B8(e)}function Hr(e){return e!=null&&typeof e=="object"}var j8="[object Symbol]";function _u(e){return typeof e=="symbol"||Hr(e)&&Mi(e)==j8}function pw(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 RI(e){return function(){return e}}var $I=function(){try{var e=Di(Object,"defineProperty");return e({},"",{}),e}catch{}}();const Rc=$I;var EI=Rc?function(e,t){return Rc(e,"toString",{configurable:!0,enumerable:!1,value:RI(t),writable:!0})}:Bp;const AI=EI;var II=TI(AI);const OI=II;var MI=9007199254740991,zI=/^(?:0|[1-9]\d*)$/;function Hp(e,t){var n=typeof e;return t=t??MI,!!t&&(n=="number"||n!="symbol"&&zI.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=jI}function Ha(e){return e!=null&&Vp(e.length)&&!Np(e)}function VI(e,t,n){if(!qo(n))return!1;var o=typeof t;return(o=="number"?Ha(n)&&Hp(t,n.length):o=="string"&&t in n)?il(n[t],e):!1}function WI(e){return HI(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&&VI(n[0],n[1],a)&&(i=r<3?void 0:i,r=1),t=Object(t);++o-1}function sM(e,t){var n=this.__data__,o=Su(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function fr(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:AM(e,t,n)}var OM="\\ud800-\\udfff",MM="\\u0300-\\u036f",zM="\\ufe20-\\ufe2f",DM="\\u20d0-\\u20ff",LM=MM+zM+DM,FM="\\ufe0e\\ufe0f",BM="\\u200d",NM=RegExp("["+BM+OM+LM+FM+"]");function Tw(e){return NM.test(e)}function HM(e){return e.split("")}var Rw="\\ud800-\\udfff",jM="\\u0300-\\u036f",VM="\\ufe20-\\ufe2f",WM="\\u20d0-\\u20ff",UM=jM+VM+WM,qM="\\ufe0e\\ufe0f",KM="["+Rw+"]",fh="["+UM+"]",hh="\\ud83c[\\udffb-\\udfff]",GM="(?:"+fh+"|"+hh+")",$w="[^"+Rw+"]",Ew="(?:\\ud83c[\\udde6-\\uddff]){2}",Aw="[\\ud800-\\udbff][\\udc00-\\udfff]",YM="\\u200d",Iw=GM+"?",Ow="["+qM+"]?",XM="(?:"+YM+"(?:"+[$w,Ew,Aw].join("|")+")"+Ow+Iw+")*",ZM=Ow+Iw+XM,JM="(?:"+[$w+fh+"?",fh,Ew,Aw,KM].join("|")+")",QM=RegExp(hh+"(?="+hh+")|"+JM+ZM,"g");function ez(e){return e.match(QM)||[]}function tz(e){return Tw(e)?ez(e):HM(e)}function nz(e){return function(t){t=Si(t);var n=Tw(t)?tz(t):void 0,o=n?n[0]:t.charAt(0),r=n?IM(n,1).join(""):t.slice(1);return o[e]()+r}}var oz=nz("toUpperCase");const Mw=oz;function rz(e){return Mw(Si(e).toLowerCase())}function iz(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&ID?new Ic:void 0;for(i.set(e,t),i.set(t,e);++d`}function t8(e,t){const n=We(iw,null);if(n===null){console.error("[css-render/vue3-ssr]: no ssr context found.");return}const{styles:o,ids:r}=n;r.has(e)||o!==null&&(r.add(e),o.push(e8(e,t)))}const n8=typeof document<"u";function Ii(){if(n8)return;const e=We(iw,null);if(e!==null)return{adapter:t8,context:e}}function fb(e,t){console.error(`[vueuc/${e}]: ${t}`)}const{c:Mr}=KC(),Op="vueuc-style";function hb(e){return e&-e}class o8{constructor(t,n){this.l=t,this.min=n;const o=new Array(t+1);for(let r=0;rr)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let i=t*o;for(;t>0;)i+=n[t],t-=hb(t);return i}getBound(t){let n=0,o=this.l;for(;o>n;){const r=Math.floor((n+o)/2),i=this.sum(r);if(i>t){o=r;continue}else if(i{const{to:t}=e;return t??"body"})}},render(){return this.showTeleport?this.disabled?sh("lazy-teleport",this.$slots):g(eu,{disabled:this.disabled,to:this.mergedTo},sh("lazy-teleport",this.$slots)):null}}),Il={top:"bottom",bottom:"top",left:"right",right:"left"},mb={start:"end",center:"center",end:"start"},$d={top:"height",bottom:"height",left:"width",right:"width"},r8={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},i8={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},a8={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},gb={top:!0,bottom:!1,left:!0,right:!1},vb={top:"end",bottom:"start",left:"end",right:"start"};function s8(e,t,n,o,r,i){if(!r||i)return{placement:e,top:0,left:0};const[a,s]=e.split("-");let l=s??"center",c={top:0,left:0};const u=(p,h,m)=>{let v=0,b=0;const w=n[p]-t[h]-t[p];return w>0&&o&&(m?b=gb[h]?w:-w:v=gb[h]?w:-w),{left:v,top:b}},d=a==="left"||a==="right";if(l!=="center"){const p=a8[e],h=Il[p],m=$d[p];if(n[m]>t[m]){if(t[p]+t[m]t[h]&&(l=mb[s])}else{const p=a==="bottom"||a==="top"?"left":"top",h=Il[p],m=$d[p],v=(n[m]-t[m])/2;(t[p]t[h]?(l=vb[p],c=u(m,p,d)):(l=vb[h],c=u(m,h,d)))}let f=a;return t[a] *",{pointerEvents:"all"})])]),Mp=ge({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){const t=We("VBinder"),n=St(()=>e.enabled!==void 0?e.enabled:e.show),o=W(null),r=W(null),i=()=>{const{syncTrigger:f}=e;f.includes("scroll")&&t.addScrollListener(l),f.includes("resize")&&t.addResizeListener(l)},a=()=>{t.removeScrollListener(l),t.removeResizeListener(l)};jt(()=>{n.value&&(l(),i())});const s=Ii();u8.mount({id:"vueuc/binder",head:!0,anchorMetaName:Op,ssr:s}),rn(()=>{a()}),O6(()=>{n.value&&l()});const l=()=>{if(!n.value)return;const f=o.value;if(f===null)return;const p=t.targetRef,{x:h,y:m,overlap:v}=e,b=h!==void 0&&m!==void 0?U6(h,m):Rd(p);f.style.setProperty("--v-target-width",`${Math.round(b.width)}px`),f.style.setProperty("--v-target-height",`${Math.round(b.height)}px`);const{width:w,minWidth:C,placement:S,internalShift:_,flip:x}=e;f.setAttribute("v-placement",S),v?f.setAttribute("v-overlap",""):f.removeAttribute("v-overlap");const{style:y}=f;w==="target"?y.width=`${b.width}px`:w!==void 0?y.width=w:y.width="",C==="target"?y.minWidth=`${b.width}px`:C!==void 0?y.minWidth=C:y.minWidth="";const k=Rd(f),P=Rd(r.value),{left:T,top:$,placement:R}=s8(S,b,k,_,x,v),K=l8(R,v),{left:H,top:D,transform:M}=c8(R,P,b,$,T,v);f.setAttribute("v-placement",R),f.style.setProperty("--v-offset-left",`${Math.round(T)}px`),f.style.setProperty("--v-offset-top",`${Math.round($)}px`),f.style.transform=`translateX(${H}) translateY(${D}) ${M}`,f.style.setProperty("--v-transform-origin",K),f.style.transformOrigin=K};ft(n,f=>{f?(i(),c()):a()});const c=()=>{Ht().then(l).catch(f=>console.error(f))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(f=>{ft(Ve(e,f),l)}),["teleportDisabled"].forEach(f=>{ft(Ve(e,f),c)}),ft(Ve(e,"syncTrigger"),f=>{f.includes("resize")?t.addResizeListener(l):t.removeResizeListener(l),f.includes("scroll")?t.addScrollListener(l):t.removeScrollListener(l)});const u=Xr(),d=St(()=>{const{to:f}=e;if(f!==void 0)return f;u.value});return{VBinder:t,mergedEnabled:n,offsetContainerRef:r,followerRef:o,mergedTo:d,syncPosition:l}},render(){return g(Su,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=g("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[g("div",{class:"v-binder-follower-content",ref:"followerRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))]);return this.zindexable?dn(n,[[_u,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});var xi=[],d8=function(){return xi.some(function(e){return e.activeTargets.length>0})},f8=function(){return xi.some(function(e){return e.skippedTargets.length>0})},bb="ResizeObserver loop completed with undelivered notifications.",h8=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:bb}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=bb),window.dispatchEvent(e)},Ks;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Ks||(Ks={}));var Ci=function(e){return Object.freeze(e)},p8=function(){function e(t,n){this.inlineSize=t,this.blockSize=n,Ci(this)}return e}(),aw=function(){function e(t,n,o,r){return this.x=t,this.y=n,this.width=o,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Ci(this)}return e.prototype.toJSON=function(){var t=this,n=t.x,o=t.y,r=t.top,i=t.right,a=t.bottom,s=t.left,l=t.width,c=t.height;return{x:n,y:o,top:r,right:i,bottom:a,left:s,width:l,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),zp=function(e){return e instanceof SVGElement&&"getBBox"in e},sw=function(e){if(zp(e)){var t=e.getBBox(),n=t.width,o=t.height;return!n&&!o}var r=e,i=r.offsetWidth,a=r.offsetHeight;return!(i||a||e.getClientRects().length)},yb=function(e){var t;if(e instanceof Element)return!0;var n=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},m8=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},ks=typeof window<"u"?window:{},Ol=new WeakMap,xb=/auto|scroll/,g8=/^tb|vertical/,v8=/msie|trident/i.test(ks.navigator&&ks.navigator.userAgent),Ao=function(e){return parseFloat(e||"0")},pa=function(e,t,n){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=!1),new p8((n?t:e)||0,(n?e:t)||0)},Cb=Ci({devicePixelContentBoxSize:pa(),borderBoxSize:pa(),contentBoxSize:pa(),contentRect:new aw(0,0,0,0)}),lw=function(e,t){if(t===void 0&&(t=!1),Ol.has(e)&&!t)return Ol.get(e);if(sw(e))return Ol.set(e,Cb),Cb;var n=getComputedStyle(e),o=zp(e)&&e.ownerSVGElement&&e.getBBox(),r=!v8&&n.boxSizing==="border-box",i=g8.test(n.writingMode||""),a=!o&&xb.test(n.overflowY||""),s=!o&&xb.test(n.overflowX||""),l=o?0:Ao(n.paddingTop),c=o?0:Ao(n.paddingRight),u=o?0:Ao(n.paddingBottom),d=o?0:Ao(n.paddingLeft),f=o?0:Ao(n.borderTopWidth),p=o?0:Ao(n.borderRightWidth),h=o?0:Ao(n.borderBottomWidth),m=o?0:Ao(n.borderLeftWidth),v=d+c,b=l+u,w=m+p,C=f+h,S=s?e.offsetHeight-C-e.clientHeight:0,_=a?e.offsetWidth-w-e.clientWidth:0,x=r?v+w:0,y=r?b+C:0,k=o?o.width:Ao(n.width)-x-_,P=o?o.height:Ao(n.height)-y-S,T=k+v+_+w,$=P+b+S+C,R=Ci({devicePixelContentBoxSize:pa(Math.round(k*devicePixelRatio),Math.round(P*devicePixelRatio),i),borderBoxSize:pa(T,$,i),contentBoxSize:pa(k,P,i),contentRect:new aw(d,l,k,P)});return Ol.set(e,R),R},cw=function(e,t,n){var o=lw(e,n),r=o.borderBoxSize,i=o.contentBoxSize,a=o.devicePixelContentBoxSize;switch(t){case Ks.DEVICE_PIXEL_CONTENT_BOX:return a;case Ks.BORDER_BOX:return r;default:return i}},b8=function(){function e(t){var n=lw(t);this.target=t,this.contentRect=n.contentRect,this.borderBoxSize=Ci([n.borderBoxSize]),this.contentBoxSize=Ci([n.contentBoxSize]),this.devicePixelContentBoxSize=Ci([n.devicePixelContentBoxSize])}return e}(),uw=function(e){if(sw(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},y8=function(){var e=1/0,t=[];xi.forEach(function(a){if(a.activeTargets.length!==0){var s=[];a.activeTargets.forEach(function(c){var u=new b8(c.target),d=uw(c.target);s.push(u),c.lastReportedSize=cw(c.target,c.observedBox),de?n.activeTargets.push(r):n.skippedTargets.push(r))})})},x8=function(){var e=0;for(wb(e);d8();)e=y8(),wb(e);return f8()&&h8(),e>0},Ad,dw=[],C8=function(){return dw.splice(0).forEach(function(e){return e()})},w8=function(e){if(!Ad){var t=0,n=document.createTextNode(""),o={characterData:!0};new MutationObserver(function(){return C8()}).observe(n,o),Ad=function(){n.textContent="".concat(t?t--:t++)}}dw.push(e),Ad()},_8=function(e){w8(function(){requestAnimationFrame(e)})},cc=0,S8=function(){return!!cc},k8=250,P8={attributes:!0,characterData:!0,childList:!0,subtree:!0},_b=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Sb=function(e){return e===void 0&&(e=0),Date.now()+e},Id=!1,T8=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var n=this;if(t===void 0&&(t=k8),!Id){Id=!0;var o=Sb(t);_8(function(){var r=!1;try{r=x8()}finally{if(Id=!1,t=o-Sb(),!S8())return;r?n.run(1e3):t>0?n.run(t):n.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,n=function(){return t.observer&&t.observer.observe(document.body,P8)};document.body?n():ks.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),_b.forEach(function(n){return ks.addEventListener(n,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),_b.forEach(function(n){return ks.removeEventListener(n,t.listener,!0)}),this.stopped=!0)},e}(),ch=new T8,kb=function(e){!cc&&e>0&&ch.start(),cc+=e,!cc&&ch.stop()},R8=function(e){return!zp(e)&&!m8(e)&&getComputedStyle(e).display==="inline"},E8=function(){function e(t,n){this.target=t,this.observedBox=n||Ks.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=cw(this.target,this.observedBox,!0);return R8(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),$8=function(){function e(t,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=n}return e}(),Ml=new WeakMap,Pb=function(e,t){for(var n=0;n=0&&(i&&xi.splice(xi.indexOf(o),1),o.observationTargets.splice(r,1),kb(-1))},e.disconnect=function(t){var n=this,o=Ml.get(t);o.observationTargets.slice().forEach(function(r){return n.unobserve(t,r.target)}),o.activeTargets.splice(0,o.activeTargets.length)},e}(),A8=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");zl.connect(this,t)}return e.prototype.observe=function(t,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!yb(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");zl.observe(this,t,n)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!yb(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");zl.unobserve(this,t)},e.prototype.disconnect=function(){zl.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class I8{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||A8)(this.handleResize),this.elHandlersMap=new Map}handleResize(t){for(const n of t){const o=this.elHandlersMap.get(n.target);o!==void 0&&o(n)}}registerHandler(t,n){this.elHandlersMap.set(t,n),this.observer.observe(t)}unregisterHandler(t){this.elHandlersMap.has(t)&&(this.elHandlersMap.delete(t),this.observer.unobserve(t))}}const Ec=new I8,sr=ge({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1;const n=Jn().proxy;function o(r){const{onResize:i}=e;i!==void 0&&i(r)}jt(()=>{const r=n.$el;if(r===void 0){fb("resize-observer","$el does not exist.");return}if(r.nextElementSibling!==r.nextSibling&&r.nodeType===3&&r.nodeValue!==""){fb("resize-observer","$el can not be observed (it may be a text node).");return}r.nextElementSibling!==null&&(Ec.registerHandler(r.nextElementSibling,o),t=!0)}),rn(()=>{t&&Ec.unregisterHandler(n.$el.nextElementSibling)})},render(){return Qc(this.$slots,"default")}});let Dl;function O8(){return typeof document>"u"?!1:(Dl===void 0&&("matchMedia"in window?Dl=window.matchMedia("(pointer:coarse)").matches:Dl=!1),Dl)}let Od;function Tb(){return typeof document>"u"?1:(Od===void 0&&(Od="chrome"in window?window.devicePixelRatio:1),Od)}const M8=Mr(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[Mr("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[Mr("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),fw=ge({name:"VirtualList",inheritAttrs:!1,props:{showScrollbar:{type:Boolean,default:!0},items:{type:Array,default:()=>[]},itemSize:{type:Number,required:!0},itemResizable:Boolean,itemsStyle:[String,Object],visibleItemsTag:{type:[String,Object],default:"div"},visibleItemsProps:Object,ignoreItemResize:Boolean,onScroll:Function,onWheel:Function,onResize:Function,defaultScrollKey:[Number,String],defaultScrollIndex:Number,keyField:{type:String,default:"key"},paddingTop:{type:[Number,String],default:0},paddingBottom:{type:[Number,String],default:0}},setup(e){const t=Ii();M8.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:Op,ssr:t}),jt(()=>{const{defaultScrollIndex:$,defaultScrollKey:R}=e;$!=null?h({index:$}):R!=null&&h({key:R})});let n=!1,o=!1;Zh(()=>{if(n=!1,!o){o=!0;return}h({top:d.value,left:u})}),Zc(()=>{n=!0,o||(o=!0)});const r=L(()=>{const $=new Map,{keyField:R}=e;return e.items.forEach((K,H)=>{$.set(K[R],H)}),$}),i=W(null),a=W(void 0),s=new Map,l=L(()=>{const{items:$,itemSize:R,keyField:K}=e,H=new o8($.length,R);return $.forEach((D,M)=>{const Y=D[K],Q=s.get(Y);Q!==void 0&&H.add(M,Q)}),H}),c=W(0);let u=0;const d=W(0),f=St(()=>Math.max(l.value.getBound(d.value-Sn(e.paddingTop))-1,0)),p=L(()=>{const{value:$}=a;if($===void 0)return[];const{items:R,itemSize:K}=e,H=f.value,D=Math.min(H+Math.ceil($/K+1),R.length-1),M=[];for(let Y=H;Y<=D;++Y)M.push(R[Y]);return M}),h=($,R)=>{if(typeof $=="number"){w($,R,"auto");return}const{left:K,top:H,index:D,key:M,position:Y,behavior:Q,debounce:de=!0}=$;if(K!==void 0||H!==void 0)w(K,H,Q);else if(D!==void 0)b(D,Q,de);else if(M!==void 0){const he=r.value.get(M);he!==void 0&&b(he,Q,de)}else Y==="bottom"?w(0,Number.MAX_SAFE_INTEGER,Q):Y==="top"&&w(0,0,Q)};let m,v=null;function b($,R,K){const{value:H}=l,D=H.sum($)+Sn(e.paddingTop);if(!K)i.value.scrollTo({left:0,top:D,behavior:R});else{m=$,v!==null&&window.clearTimeout(v),v=window.setTimeout(()=>{m=void 0,v=null},16);const{scrollTop:M,offsetHeight:Y}=i.value;if(D>M){const Q=H.get($);D+Q<=M+Y||i.value.scrollTo({left:0,top:D+Q-Y,behavior:R})}else i.value.scrollTo({left:0,top:D,behavior:R})}}function w($,R,K){i.value.scrollTo({left:$,top:R,behavior:K})}function C($,R){var K,H,D;if(n||e.ignoreItemResize||T(R.target))return;const{value:M}=l,Y=r.value.get($),Q=M.get(Y),de=(D=(H=(K=R.borderBoxSize)===null||K===void 0?void 0:K[0])===null||H===void 0?void 0:H.blockSize)!==null&&D!==void 0?D:R.contentRect.height;if(de===Q)return;de-e.itemSize===0?s.delete($):s.set($,de-e.itemSize);const B=de-Q;if(B===0)return;M.add(Y,B);const E=i.value;if(E!=null){if(m===void 0){const A=M.sum(Y);E.scrollTop>A&&E.scrollBy(0,B)}else if(YE.scrollTop+E.offsetHeight&&E.scrollBy(0,B)}P()}c.value++}const S=!O8();let _=!1;function x($){var R;(R=e.onScroll)===null||R===void 0||R.call(e,$),(!S||!_)&&P()}function y($){var R;if((R=e.onWheel)===null||R===void 0||R.call(e,$),S){const K=i.value;if(K!=null){if($.deltaX===0&&(K.scrollTop===0&&$.deltaY<=0||K.scrollTop+K.offsetHeight>=K.scrollHeight&&$.deltaY>=0))return;$.preventDefault(),K.scrollTop+=$.deltaY/Tb(),K.scrollLeft+=$.deltaX/Tb(),P(),_=!0,kc(()=>{_=!1})}}}function k($){if(n||T($.target)||$.contentRect.height===a.value)return;a.value=$.contentRect.height;const{onResize:R}=e;R!==void 0&&R($)}function P(){const{value:$}=i;$!=null&&(d.value=$.scrollTop,u=$.scrollLeft)}function T($){let R=$;for(;R!==null;){if(R.style.display==="none")return!0;R=R.parentElement}return!1}return{listHeight:a,listStyle:{overflow:"auto"},keyToIndex:r,itemsStyle:L(()=>{const{itemResizable:$}=e,R=zn(l.value.sum());return c.value,[e.itemsStyle,{boxSizing:"content-box",height:$?"":R,minHeight:$?R:"",paddingTop:zn(e.paddingTop),paddingBottom:zn(e.paddingBottom)}]}),visibleItemsStyle:L(()=>(c.value,{transform:`translateY(${zn(l.value.sum(f.value))})`})),viewportItems:p,listElRef:i,itemsElRef:W(null),scrollTo:h,handleListResize:k,handleListScroll:x,handleListWheel:y,handleItemResize:C}},render(){const{itemResizable:e,keyField:t,keyToIndex:n,visibleItemsTag:o}=this;return g(sr,{onResize:this.handleListResize},{default:()=>{var r,i;return g("div",Ln(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?g("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[g(o,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>this.viewportItems.map(a=>{const s=a[t],l=n.get(s),c=this.$slots.default({item:a,index:l})[0];return e?g(sr,{key:s,onResize:u=>this.handleItemResize(s,u)},{default:()=>c}):(c.key=s,c)})})]):(i=(r=this.$slots).empty)===null||i===void 0?void 0:i.call(r)])}})}}),Qo="v-hidden",z8=Mr("[v-hidden]",{display:"none!important"}),uh=ge({name:"Overflow",props:{getCounter:Function,getTail:Function,updateCounter:Function,onUpdateCount:Function,onUpdateOverflow:Function},setup(e,{slots:t}){const n=W(null),o=W(null);function r(a){const{value:s}=n,{getCounter:l,getTail:c}=e;let u;if(l!==void 0?u=l():u=o.value,!s||!u)return;u.hasAttribute(Qo)&&u.removeAttribute(Qo);const{children:d}=s;if(a.showAllItemsBeforeCalculate)for(const C of d)C.hasAttribute(Qo)&&C.removeAttribute(Qo);const f=s.offsetWidth,p=[],h=t.tail?c==null?void 0:c():null;let m=h?h.offsetWidth:0,v=!1;const b=s.children.length-(t.tail?1:0);for(let C=0;Cf){const{updateCounter:x}=e;for(let y=C;y>=0;--y){const k=b-1-y;x!==void 0?x(k):u.textContent=`${k}`;const P=u.offsetWidth;if(m-=p[y],m+P<=f||y===0){v=!0,C=y-1,h&&(C===-1?(h.style.maxWidth=`${f-P}px`,h.style.boxSizing="border-box"):h.style.maxWidth="");const{onUpdateCount:T}=e;T&&T(k);break}}}}const{onUpdateOverflow:w}=e;v?w!==void 0&&w(!0):(w!==void 0&&w(!1),u.setAttribute(Qo,""))}const i=Ii();return z8.mount({id:"vueuc/overflow",head:!0,anchorMetaName:Op,ssr:i}),jt(()=>r({showAllItemsBeforeCalculate:!1})),{selfRef:n,counterRef:o,sync:r}},render(){const{$slots:e}=this;return Ht(()=>this.sync({showAllItemsBeforeCalculate:!1})),g("div",{class:"v-overflow",ref:"selfRef"},[Qc(e,"default"),e.counter?e.counter():g("span",{style:{display:"inline-block"},ref:"counterRef"}),e.tail?e.tail():null])}});function hw(e){return e instanceof HTMLElement}function pw(e){for(let t=0;t=0;t--){const n=e.childNodes[t];if(hw(n)&&(gw(n)||mw(n)))return!0}return!1}function gw(e){if(!D8(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function D8(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return e.type!=="hidden"&&e.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}let ns=[];const Dp=ge({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){const t=Gr(),n=W(null),o=W(null);let r=!1,i=!1;const a=typeof document>"u"?null:document.activeElement;function s(){return ns[ns.length-1]===t}function l(v){var b;v.code==="Escape"&&s()&&((b=e.onEsc)===null||b===void 0||b.call(e,v))}jt(()=>{ft(()=>e.active,v=>{v?(d(),It("keydown",document,l)):(Pt("keydown",document,l),r&&f())},{immediate:!0})}),rn(()=>{Pt("keydown",document,l),r&&f()});function c(v){if(!i&&s()){const b=u();if(b===null||b.contains(ki(v)))return;p("first")}}function u(){const v=n.value;if(v===null)return null;let b=v;for(;b=b.nextSibling,!(b===null||b instanceof Element&&b.tagName==="DIV"););return b}function d(){var v;if(!e.disabled){if(ns.push(t),e.autoFocus){const{initialFocusTo:b}=e;b===void 0?p("first"):(v=pb(b))===null||v===void 0||v.focus({preventScroll:!0})}r=!0,document.addEventListener("focus",c,!0)}}function f(){var v;if(e.disabled||(document.removeEventListener("focus",c,!0),ns=ns.filter(w=>w!==t),s()))return;const{finalFocusTo:b}=e;b!==void 0?(v=pb(b))===null||v===void 0||v.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&a instanceof HTMLElement&&(i=!0,a.focus({preventScroll:!0}),i=!1)}function p(v){if(s()&&e.active){const b=n.value,w=o.value;if(b!==null&&w!==null){const C=u();if(C==null||C===w){i=!0,b.focus({preventScroll:!0}),i=!1;return}i=!0;const S=v==="first"?pw(C):mw(C);i=!1,S||(i=!0,b.focus({preventScroll:!0}),i=!1)}}}function h(v){if(i)return;const b=u();b!==null&&(v.relatedTarget!==null&&b.contains(v.relatedTarget)?p("last"):p("first"))}function m(v){i||(v.relatedTarget!==null&&v.relatedTarget===n.value?p("last"):p("first"))}return{focusableStartRef:n,focusableEndRef:o,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:h,handleEndFocus:m}},render(){const{default:e}=this.$slots;if(e===void 0)return null;if(this.disabled)return e();const{active:t,focusableStyle:n}=this;return g(rt,null,[g("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:n,onFocus:this.handleStartFocus}),e(),g("div",{"aria-hidden":"true",style:n,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}});function vw(e,t){t&&(jt(()=>{const{value:n}=e;n&&Ec.registerHandler(n,t)}),rn(()=>{const{value:n}=e;n&&Ec.unregisterHandler(n)}))}let Qi=0,Rb="",Eb="",$b="",Ab="";const dh=W("0px");function bw(e){if(typeof document>"u")return;const t=document.documentElement;let n,o=!1;const r=()=>{t.style.marginRight=Rb,t.style.overflow=Eb,t.style.overflowX=$b,t.style.overflowY=Ab,dh.value="0px"};jt(()=>{n=ft(e,i=>{if(i){if(!Qi){const a=window.innerWidth-t.offsetWidth;a>0&&(Rb=t.style.marginRight,t.style.marginRight=`${a}px`,dh.value=`${a}px`),Eb=t.style.overflow,$b=t.style.overflowX,Ab=t.style.overflowY,t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden"}o=!0,Qi++}else Qi--,Qi||r(),o=!1},{immediate:!0})}),rn(()=>{n==null||n(),o&&(Qi--,Qi||r(),o=!1)})}const Lp=W(!1),Ib=()=>{Lp.value=!0},Ob=()=>{Lp.value=!1};let os=0;const yw=()=>(dr&&(hn(()=>{os||(window.addEventListener("compositionstart",Ib),window.addEventListener("compositionend",Ob)),os++}),rn(()=>{os<=1?(window.removeEventListener("compositionstart",Ib),window.removeEventListener("compositionend",Ob),os=0):os--})),Lp);function Fp(e){const t={isDeactivated:!1};let n=!1;return Zh(()=>{if(t.isDeactivated=!1,!n){n=!0;return}e()}),Zc(()=>{t.isDeactivated=!0,n||(n=!0)}),t}function Mb(e){return e.nodeName==="#document"}const L8=(e,t)=>{if(!e)return;const n=document.createElement("a");n.href=e,t!==void 0&&(n.download=t),document.body.appendChild(n),n.click(),document.body.removeChild(n)},zb="n-form-item";function fr(e,{defaultSize:t="medium",mergedSize:n,mergedDisabled:o}={}){const r=We(zb,null);at(zb,null);const i=L(n?()=>n(r):()=>{const{size:l}=e;if(l)return l;if(r){const{mergedSize:c}=r;if(c.value!==void 0)return c.value}return t}),a=L(o?()=>o(r):()=>{const{disabled:l}=e;return l!==void 0?l:r?r.disabled.value:!1}),s=L(()=>{const{status:l}=e;return l||(r==null?void 0:r.mergedValidationStatus.value)});return rn(()=>{r&&r.restoreValidation()}),{mergedSizeRef:i,mergedDisabledRef:a,mergedStatusRef:s,nTriggerFormBlur(){r&&r.handleContentBlur()},nTriggerFormChange(){r&&r.handleContentChange()},nTriggerFormFocus(){r&&r.handleContentFocus()},nTriggerFormInput(){r&&r.handleContentInput()}}}var F8=typeof global=="object"&&global&&global.Object===Object&&global;const xw=F8;var B8=typeof self=="object"&&self&&self.Object===Object&&self,N8=xw||B8||Function("return this")();const Po=N8;var H8=Po.Symbol;const Nr=H8;var Cw=Object.prototype,j8=Cw.hasOwnProperty,V8=Cw.toString,rs=Nr?Nr.toStringTag:void 0;function W8(e){var t=j8.call(e,rs),n=e[rs];try{e[rs]=void 0;var o=!0}catch{}var r=V8.call(e);return o&&(t?e[rs]=n:delete e[rs]),r}var U8=Object.prototype,q8=U8.toString;function K8(e){return q8.call(e)}var G8="[object Null]",Y8="[object Undefined]",Db=Nr?Nr.toStringTag:void 0;function Oi(e){return e==null?e===void 0?Y8:G8:Db&&Db in Object(e)?W8(e):K8(e)}function Hr(e){return e!=null&&typeof e=="object"}var X8="[object Symbol]";function ku(e){return typeof e=="symbol"||Hr(e)&&Oi(e)==X8}function ww(e,t){for(var n=-1,o=e==null?0:e.length,r=Array(o);++n0){if(++t>=II)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function DI(e){return function(){return e}}var LI=function(){try{var e=zi(Object,"defineProperty");return e({},"",{}),e}catch{}}();const $c=LI;var FI=$c?function(e,t){return $c(e,"toString",{configurable:!0,enumerable:!1,value:DI(t),writable:!0})}:Bp;const BI=FI;var NI=zI(BI);const HI=NI;var jI=9007199254740991,VI=/^(?:0|[1-9]\d*)$/;function Hp(e,t){var n=typeof e;return t=t??jI,!!t&&(n=="number"||n!="symbol"&&VI.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=XI}function Fa(e){return e!=null&&Vp(e.length)&&!Np(e)}function ZI(e,t,n){if(!Wo(n))return!1;var o=typeof t;return(o=="number"?Fa(n)&&Hp(t,n.length):o=="string"&&t in n)?sl(n[t],e):!1}function JI(e){return YI(function(t,n){var o=-1,r=n.length,i=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;for(i=e.length>3&&typeof i=="function"?(r--,i):void 0,a&&ZI(n[0],n[1],a)&&(i=r<3?void 0:i,r=1),t=Object(t);++o-1}function mM(e,t){var n=this.__data__,o=Pu(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function hr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++tr?0:r+t),n=n>r?r:n,n<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(r);++o=o?e:BM(e,t,n)}var HM="\\ud800-\\udfff",jM="\\u0300-\\u036f",VM="\\ufe20-\\ufe2f",WM="\\u20d0-\\u20ff",UM=jM+VM+WM,qM="\\ufe0e\\ufe0f",KM="\\u200d",GM=RegExp("["+KM+HM+UM+qM+"]");function zw(e){return GM.test(e)}function YM(e){return e.split("")}var Dw="\\ud800-\\udfff",XM="\\u0300-\\u036f",ZM="\\ufe20-\\ufe2f",JM="\\u20d0-\\u20ff",QM=XM+ZM+JM,ez="\\ufe0e\\ufe0f",tz="["+Dw+"]",ph="["+QM+"]",mh="\\ud83c[\\udffb-\\udfff]",nz="(?:"+ph+"|"+mh+")",Lw="[^"+Dw+"]",Fw="(?:\\ud83c[\\udde6-\\uddff]){2}",Bw="[\\ud800-\\udbff][\\udc00-\\udfff]",oz="\\u200d",Nw=nz+"?",Hw="["+ez+"]?",rz="(?:"+oz+"(?:"+[Lw,Fw,Bw].join("|")+")"+Hw+Nw+")*",iz=Hw+Nw+rz,az="(?:"+[Lw+ph+"?",ph,Fw,Bw,tz].join("|")+")",sz=RegExp(mh+"(?="+mh+")|"+az+iz,"g");function lz(e){return e.match(sz)||[]}function cz(e){return zw(e)?lz(e):YM(e)}function uz(e){return function(t){t=Ti(t);var n=zw(t)?cz(t):void 0,o=n?n[0]:t.charAt(0),r=n?NM(n,1).join(""):t.slice(1);return o[e]()+r}}var dz=uz("toUpperCase");const jw=dz;function fz(e){return jw(Ti(e).toLowerCase())}function hz(e,t,n,o){var r=-1,i=e==null?0:e.length;for(o&&i&&(n=e[++r]);++rs))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var d=-1,f=!0,p=n&ND?new Mc:void 0;for(i.set(e,t),i.set(t,e);++d{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:Ra,ssr:a}),s!=null&&s.preflightStyleDisabled||t_.mount({id:"n-global",head:!0,anchorMetaName:Ra,ssr:a})};a?c():cn(c)}return L(()=>{var c;const{theme:{common:u,self:d,peers:f={}}={},themeOverrides:p={},builtinThemeOverrides:h={}}=r,{common:g,peers:b}=p,{common:m=void 0,[e]:{common:x=void 0,self:S=void 0,peers:_={}}={}}=(s==null?void 0:s.mergedThemeRef.value)||{},{common:w=void 0,[e]:C={}}=(s==null?void 0:s.mergedThemeOverridesRef.value)||{},{common:y,peers:k={}}=C,R=ds({},u||x||m||o.common,w,y,g),$=ds((c=d||S||o.self)===null||c===void 0?void 0:c(R),h,C,p);return{common:R,self:$,peers:ds({},o.peers,_,f),peerOverrides:ds({},h.peers,k,b)}})}Be.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const Gs="n";function it(e={},t={defaultBordered:!0}){const n=We(wo,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:Ia(Gs),namespaceRef:L(()=>n==null?void 0:n.mergedNamespaceRef.value)}}function n_(){const e=We(wo,null);return e?e.mergedClsPrefixRef:Ia(Gs)}const DL={name:"zh-CN",global:{undo:"撤销",redo:"重做",confirm:"确认",clear:"清除"},Popconfirm:{positiveText:"确认",negativeText:"取消"},Cascader:{placeholder:"请选择",loading:"加载中",loadingRequiredMessage:e=>`加载全部 ${e} 的子节点后才可选中`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w周",clear:"清除",now:"此刻",confirm:"确认",selectTime:"选择时间",selectDate:"选择日期",datePlaceholder:"选择日期",datetimePlaceholder:"选择日期时间",monthPlaceholder:"选择月份",yearPlaceholder:"选择年份",quarterPlaceholder:"选择季度",weekPlaceholder:"选择周",startDatePlaceholder:"开始日期",endDatePlaceholder:"结束日期",startDatetimePlaceholder:"开始日期时间",endDatetimePlaceholder:"结束日期时间",startMonthPlaceholder:"开始月份",endMonthPlaceholder:"结束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"选择全部表格数据",uncheckTableAll:"取消选择全部表格数据",confirm:"确认",clear:"重置"},LegacyTransfer:{sourceTitle:"源项",targetTitle:"目标项"},Transfer:{selectAll:"全选",clearAll:"清除",unselectAll:"取消全选",total:e=>`共 ${e} 项`,selected:e=>`已选 ${e} 项`},Empty:{description:"无数据"},Select:{placeholder:"请选择"},TimePicker:{placeholder:"请选择时间",positiveText:"确认",negativeText:"取消",now:"此刻",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"页"},DynamicTags:{add:"添加"},Log:{loading:"加载中"},Input:{placeholder:"请输入"},InputNumber:{placeholder:"请输入"},DynamicInput:{create:"添加"},ThemeEditor:{title:"主题编辑器",clearAllVars:"清除全部变量",clearSearch:"清除搜索",filterCompName:"过滤组件名",filterVarName:"过滤变量名",import:"导入",export:"导出",restore:"恢复默认"},Image:{tipPrevious:"上一张(←)",tipNext:"下一张(→)",tipCounterclockwise:"向左旋转",tipClockwise:"向右旋转",tipZoomOut:"缩小",tipZoomIn:"放大",tipDownload:"下载",tipClose:"关闭(Esc)",tipOriginalSize:"缩放到原始尺寸"}},LL=DL,FL={name:"zh-TW",global:{undo:"復原",redo:"重做",confirm:"確定",clear:"清除"},Popconfirm:{positiveText:"確定",negativeText:"取消"},Cascader:{placeholder:"請選擇",loading:"載入中",loadingRequiredMessage:e=>`載入全部 ${e} 的子節點後才可選擇`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy 年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"清除",now:"現在",confirm:"確定",selectTime:"選擇時間",selectDate:"選擇日期",datePlaceholder:"選擇日期",datetimePlaceholder:"選擇日期時間",monthPlaceholder:"選擇月份",yearPlaceholder:"選擇年份",quarterPlaceholder:"選擇季度",weekPlaceholder:"Select Week",startDatePlaceholder:"開始日期",endDatePlaceholder:"結束日期",startDatetimePlaceholder:"開始日期時間",endDatetimePlaceholder:"結束日期時間",startMonthPlaceholder:"開始月份",endMonthPlaceholder:"結束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"選擇全部表格資料",uncheckTableAll:"取消選擇全部表格資料",confirm:"確定",clear:"重設"},LegacyTransfer:{sourceTitle:"來源",targetTitle:"目標"},Transfer:{selectAll:"全選",unselectAll:"取消全選",clearAll:"清除全部",total:e=>`共 ${e} 項`,selected:e=>`已選 ${e} 項`},Empty:{description:"無資料"},Select:{placeholder:"請選擇"},TimePicker:{placeholder:"請選擇時間",positiveText:"確定",negativeText:"取消",now:"現在",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"頁"},DynamicTags:{add:"新增"},Log:{loading:"載入中"},Input:{placeholder:"請輸入"},InputNumber:{placeholder:"請輸入"},DynamicInput:{create:"新增"},ThemeEditor:{title:"主題編輯器",clearAllVars:"清除全部變數",clearSearch:"清除搜尋",filterCompName:"過濾組件名稱",filterVarName:"過濾變數名稱",import:"匯入",export:"匯出",restore:"恢復預設"},Image:{tipPrevious:"上一張(←)",tipNext:"下一張(→)",tipCounterclockwise:"向左旋轉",tipClockwise:"向右旋轉",tipZoomOut:"縮小",tipZoomIn:"放大",tipDownload:"下載",tipClose:"關閉(Esc)",tipOriginalSize:"縮放到原始尺寸"}},BL=FL,NL={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},o_=NL,HL={name:"ja-JP",global:{undo:"元に戻す",redo:"やり直す",confirm:"OK",clear:"クリア"},Popconfirm:{positiveText:"OK",negativeText:"キャンセル"},Cascader:{placeholder:"選択してください",loading:"ロード中",loadingRequiredMessage:e=>`すべての ${e} サブノードをロードしてから選択できます。`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"クリア",now:"現在",confirm:"OK",selectTime:"時間を選択",selectDate:"日付を選択",datePlaceholder:"日付を選択",datetimePlaceholder:"選択",monthPlaceholder:"月を選択",yearPlaceholder:"年を選択",quarterPlaceholder:"四半期を選択",weekPlaceholder:"Select Week",startDatePlaceholder:"開始日",endDatePlaceholder:"終了日",startDatetimePlaceholder:"開始時間",endDatetimePlaceholder:"終了時間",startMonthPlaceholder:"開始月",endMonthPlaceholder:"終了月",monthBeforeYear:!1,firstDayOfWeek:0,today:"今日"},DataTable:{checkTableAll:"全選択",uncheckTableAll:"全選択取消",confirm:"OK",clear:"リセット"},LegacyTransfer:{sourceTitle:"元",targetTitle:"先"},Transfer:{selectAll:"全選択",unselectAll:"全選択取消",clearAll:"リセット",total:e=>`合計 ${e} 項目`,selected:e=>`${e} 個の項目を選択`},Empty:{description:"データなし"},Select:{placeholder:"選択してください"},TimePicker:{placeholder:"選択してください",positiveText:"OK",negativeText:"キャンセル",now:"現在",clear:"クリア"},Pagination:{goto:"ページジャンプ",selectionSuffix:"ページ"},DynamicTags:{add:"追加"},Log:{loading:"ロード中"},Input:{placeholder:"入力してください"},InputNumber:{placeholder:"入力してください"},DynamicInput:{create:"追加"},ThemeEditor:{title:"テーマエディタ",clearAllVars:"全件変数クリア",clearSearch:"検索クリア",filterCompName:"コンポネント名をフィルタ",filterVarName:"変数をフィルタ",import:"インポート",export:"エクスポート",restore:"デフォルト"},Image:{tipPrevious:"前の画像 (←)",tipNext:"次の画像 (→)",tipCounterclockwise:"左に回転",tipClockwise:"右に回転",tipZoomOut:"縮小",tipZoomIn:"拡大",tipDownload:"ダウンロード",tipClose:"閉じる (Esc)",tipOriginalSize:"元のサイズに戻す"}},jL=HL,VL={name:"ko-KR",global:{undo:"실행 취소",redo:"다시 실행",confirm:"확인",clear:"지우기"},Popconfirm:{positiveText:"확인",negativeText:"취소"},Cascader:{placeholder:"선택해 주세요",loading:"불러오는 중",loadingRequiredMessage:e=>`${e}의 모든 하위 항목을 불러온 뒤에 선택할 수 있습니다.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy년",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"지우기",now:"현재",confirm:"확인",selectTime:"시간 선택",selectDate:"날짜 선택",datePlaceholder:"날짜 선택",datetimePlaceholder:"날짜 및 시간 선택",monthPlaceholder:"월 선택",yearPlaceholder:"년 선택",quarterPlaceholder:"분기 선택",weekPlaceholder:"Select Week",startDatePlaceholder:"시작 날짜",endDatePlaceholder:"종료 날짜",startDatetimePlaceholder:"시작 날짜 및 시간",endDatetimePlaceholder:"종료 날짜 및 시간",startMonthPlaceholder:"시작 월",endMonthPlaceholder:"종료 월",monthBeforeYear:!1,firstDayOfWeek:6,today:"오늘"},DataTable:{checkTableAll:"모두 선택",uncheckTableAll:"모두 선택 해제",confirm:"확인",clear:"지우기"},LegacyTransfer:{sourceTitle:"원본",targetTitle:"타깃"},Transfer:{selectAll:"전체 선택",unselectAll:"전체 해제",clearAll:"전체 삭제",total:e=>`총 ${e} 개`,selected:e=>`${e} 개 선택`},Empty:{description:"데이터 없음"},Select:{placeholder:"선택해 주세요"},TimePicker:{placeholder:"시간 선택",positiveText:"확인",negativeText:"취소",now:"현재 시간",clear:"지우기"},Pagination:{goto:"이동",selectionSuffix:"페이지"},DynamicTags:{add:"추가"},Log:{loading:"불러오는 중"},Input:{placeholder:"입력해 주세요"},InputNumber:{placeholder:"입력해 주세요"},DynamicInput:{create:"추가"},ThemeEditor:{title:"테마 편집기",clearAllVars:"모든 변수 지우기",clearSearch:"검색 지우기",filterCompName:"구성 요소 이름 필터",filterVarName:"변수 이름 필터",import:"가져오기",export:"내보내기",restore:"기본으로 재설정"},Image:{tipPrevious:"이전 (←)",tipNext:"다음 (→)",tipCounterclockwise:"시계 반대 방향으로 회전",tipClockwise:"시계 방향으로 회전",tipZoomOut:"축소",tipZoomIn:"확대",tipDownload:"다운로드",tipClose:"닫기 (Esc)",tipOriginalSize:"원본 크기로 확대"}},WL=VL,UL={name:"vi-VN",global:{undo:"Hoàn tác",redo:"Làm lại",confirm:"Xác nhận",clear:"xóa"},Popconfirm:{positiveText:"Xác nhận",negativeText:"Hủy"},Cascader:{placeholder:"Vui lòng chọn",loading:"Đang tải",loadingRequiredMessage:e=>`Vui lòng tải tất cả thông tin con của ${e} trước.`},Time:{dateFormat:"",dateTimeFormat:"HH:mm:ss dd-MM-yyyy"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"MM-yyyy",dateFormat:"dd-MM-yyyy",dateTimeFormat:"HH:mm:ss dd-MM-yyyy",quarterFormat:"qqq-yyyy",weekFormat:"yyyy-w",clear:"Xóa",now:"Hôm nay",confirm:"Xác nhận",selectTime:"Chọn giờ",selectDate:"Chọn ngày",datePlaceholder:"Chọn ngày",datetimePlaceholder:"Chọn ngày giờ",monthPlaceholder:"Chọn tháng",yearPlaceholder:"Chọn năm",quarterPlaceholder:"Chọn quý",weekPlaceholder:"Select Week",startDatePlaceholder:"Ngày bắt đầu",endDatePlaceholder:"Ngày kết thúc",startDatetimePlaceholder:"Thời gian bắt đầu",endDatetimePlaceholder:"Thời gian kết thúc",startMonthPlaceholder:"Tháng bắt đầu",endMonthPlaceholder:"Tháng kết thúc",monthBeforeYear:!0,firstDayOfWeek:0,today:"Hôm nay"},DataTable:{checkTableAll:"Chọn tất cả có trong bảng",uncheckTableAll:"Bỏ chọn tất cả có trong bảng",confirm:"Xác nhận",clear:"Xóa"},LegacyTransfer:{sourceTitle:"Nguồn",targetTitle:"Đích"},Transfer:{selectAll:"Chọn tất cả",unselectAll:"Bỏ chọn tất cả",clearAll:"Xoá tất cả",total:e=>`Tổng cộng ${e} mục`,selected:e=>`${e} mục được chọn`},Empty:{description:"Không có dữ liệu"},Select:{placeholder:"Vui lòng chọn"},TimePicker:{placeholder:"Chọn thời gian",positiveText:"OK",negativeText:"Hủy",now:"Hiện tại",clear:"Xóa"},Pagination:{goto:"Đi đến trang",selectionSuffix:"trang"},DynamicTags:{add:"Thêm"},Log:{loading:"Đang tải"},Input:{placeholder:"Vui lòng nhập"},InputNumber:{placeholder:"Vui lòng nhập"},DynamicInput:{create:"Tạo"},ThemeEditor:{title:"Tùy chỉnh giao diện",clearAllVars:"Xóa tất cả các biến",clearSearch:"Xóa tìm kiếm",filterCompName:"Lọc tên component",filterVarName:"Lọc tên biến",import:"Nhập",export:"Xuất",restore:"Đặt lại mặc định"},Image:{tipPrevious:"Hình trước (←)",tipNext:"Hình tiếp (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Chiều kim đồng hồ",tipZoomOut:"Thu nhỏ",tipZoomIn:"Phóng to",tipDownload:"Tải về",tipClose:"Đóng (Esc)",tipOriginalSize:"Xem kích thước gốc"}},qL=UL,KL={name:"fa-IR",global:{undo:"لغو انجام شده",redo:"انجام دوباره",confirm:"تأیید",clear:"پاک کردن"},Popconfirm:{positiveText:"تأیید",negativeText:"لغو"},Cascader:{placeholder:"لطفا انتخاب کنید",loading:"بارگذاری",loadingRequiredMessage:e=>`پس از بارگیری کامل زیرمجموعه های ${e} می توانید انتخاب کنید `},Time:{dateFormat:"yyyy/MM/dd",dateTimeFormat:"yyyy/MM/dd، H:mm:ss"},DatePicker:{yearFormat:"yyyy سال",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"MM/yyyy",dateFormat:"yyyy/MM/dd",dateTimeFormat:"yyyy/MM/dd HH:mm:ss",quarterFormat:"سه ماهه yyyy",weekFormat:"yyyy-w",clear:"پاک کردن",now:"اکنون",confirm:"تأیید",selectTime:"انتخاب زمان",selectDate:"انتخاب تاریخ",datePlaceholder:"انتخاب تاریخ",datetimePlaceholder:"انتخاب تاریخ و زمان",monthPlaceholder:"انتخاب ماه",yearPlaceholder:"انتخاب سال",quarterPlaceholder:"انتخاب سه‌ماهه",weekPlaceholder:"Select Week",startDatePlaceholder:"تاریخ شروع",endDatePlaceholder:"تاریخ پایان",startDatetimePlaceholder:"زمان شروع",endDatetimePlaceholder:"زمان پایان",startMonthPlaceholder:"ماه شروع",endMonthPlaceholder:"ماه پایان",monthBeforeYear:!1,firstDayOfWeek:6,today:"امروز"},DataTable:{checkTableAll:"انتخاب همه داده‌های جدول",uncheckTableAll:"عدم انتخاب همه داده‌های جدول",confirm:"تأیید",clear:"تنظیم مجدد"},LegacyTransfer:{sourceTitle:"آیتم منبع",targetTitle:"آیتم مقصد"},Transfer:{selectAll:"انتخاب همه",clearAll:"حذف همه",unselectAll:"عدم انتخاب همه",total:e=>`کل ${e} مورد`,selected:e=>`انتخاب شده ${e} مورد`},Empty:{description:"اطلاعاتی وجود ندارد"},Select:{placeholder:"لطفاً انتخاب کنید"},TimePicker:{placeholder:"لطفاً زمان مورد نظر را انتخاب کنید",positiveText:"تأیید",negativeText:"لغو",now:"همین الان",clear:"پاک کردن"},Pagination:{goto:"رفتن به صفحه",selectionSuffix:"صفحه"},DynamicTags:{add:"افزودن"},Log:{loading:"در حال بارگذاری"},Input:{placeholder:"لطفاً وارد کنید"},InputNumber:{placeholder:"لطفاً وارد کنید"},DynamicInput:{create:"افزودن"},ThemeEditor:{title:"ویرایشگر پوسته",clearAllVars:"پاک کردن همه متغیرها",clearSearch:"پاک کردن جستجو",filterCompName:"فیلتر نام کامپوننت",filterVarName:"فیلتر نام متغیر",import:"ورود",export:"خروج",restore:"بازگردانی به حالت پیش‌فرض"},Image:{tipPrevious:"تصویر قبلی (←)",tipNext:"تصویر بعدی (→)",tipCounterclockwise:"چرخش به سمت چپ",tipClockwise:"چرخش به سمت راست",tipZoomOut:"کوچک نمایی تصویر",tipZoomIn:"بزرگ نمایی تصویر",tipDownload:"بارگیری",tipClose:"بستن (Esc)",tipOriginalSize:"اندازه اصلی تصویر"}},GL=KL;var YL={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}} 年"}},XL=function(t,n,o){var r,i=YL[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=XL;function zn(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 JL={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},QL={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},e9={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},t9={date:zn({formats:JL,defaultWidth:"full"}),time:zn({formats:QL,defaultWidth:"full"}),dateTime:zn({formats:e9,defaultWidth:"full"})};const n9=t9;function Xp(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function yh(e){"@babel/helpers - typeof";return yh=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},yh(e)}function o9(e){Xp(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||yh(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 r9(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 i9={};function a9(){return i9}function h0(e,t){var n,o,r,i,a,s,l,c;Xp(1,arguments);var u=a9(),d=r9((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=o9(e),p=f.getUTCDay(),h=(pt.getTime()?"'下个'"+o:"'上个'"+o}var l9={lastWeek:p0,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:p0,other:"PP p"},c9=function(t,n,o,r){var i=l9[t];return typeof i=="function"?i(n,o,r):i};const u9=c9;function Qt(e){return function(t,n){var o=n!=null&&n.context?String(n.context):"standalone",r;if(o==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):i;r=e.formattingValues[a]||e.formattingValues[i]}else{var s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;r=e.values[l]||e.values[s]}var c=e.argumentCallback?e.argumentCallback(t):t;return r[c]}}var d9={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},f9={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},h9={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},p9={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},m9={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:"夜间"}},g9={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:"夜间"}},v9=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()}},b9={ordinalNumber:v9,era:Qt({values:d9,defaultWidth:"wide"}),quarter:Qt({values:f9,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Qt({values:h9,defaultWidth:"wide"}),day:Qt({values:p9,defaultWidth:"wide"}),dayPeriod:Qt({values:m9,defaultWidth:"wide",formattingValues:g9,defaultFormattingWidth:"wide"})};const y9=b9;function en(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=n.width,r=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;var a=i[0],s=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?C9(s,function(d){return d.test(a)}):x9(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 x9(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function C9(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 w9=/^(第\s*)?\d+(日|时|分|秒)?/i,_9=/\d+/i,S9={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},k9={any:[/^(前)/i,/^(公元)/i]},P9={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},T9={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},R9={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},$9={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]},E9={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},A9={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},I9={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},O9={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},M9={ordinalNumber:al({matchPattern:w9,parsePattern:_9,valueCallback:function(t){return parseInt(t,10)}}),era:en({matchPatterns:S9,defaultMatchWidth:"wide",parsePatterns:k9,defaultParseWidth:"any"}),quarter:en({matchPatterns:P9,defaultMatchWidth:"wide",parsePatterns:T9,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:en({matchPatterns:R9,defaultMatchWidth:"wide",parsePatterns:$9,defaultParseWidth:"any"}),day:en({matchPatterns:E9,defaultMatchWidth:"wide",parsePatterns:A9,defaultParseWidth:"any"}),dayPeriod:en({matchPatterns:I9,defaultMatchWidth:"any",parsePatterns:O9,defaultParseWidth:"any"})};const z9=M9;var D9={code:"zh-CN",formatDistance:ZL,formatLong:n9,formatRelative:u9,localize:y9,match:z9,options:{weekStartsOn:1,firstWeekContainsDate:4}};const r_=D9,L9={name:"zh-CN",locale:r_},m0=L9;var F9={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"}},B9=function(t,n,o){var r,i=F9[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 N9=B9;var H9={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},j9={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},V9={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},W9={date:zn({formats:H9,defaultWidth:"full"}),time:zn({formats:j9,defaultWidth:"full"}),dateTime:zn({formats:V9,defaultWidth:"full"})};const U9=W9;var q9={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},K9=function(t,n,o,r){return q9[t]};const G9=K9;var Y9={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},X9={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"]},J9={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"]},Q9={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"}},eF={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"}},tF=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"},nF={ordinalNumber:tF,era:Qt({values:Y9,defaultWidth:"wide"}),quarter:Qt({values:X9,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Qt({values:Z9,defaultWidth:"wide"}),day:Qt({values:J9,defaultWidth:"wide"}),dayPeriod:Qt({values:Q9,defaultWidth:"wide",formattingValues:eF,defaultFormattingWidth:"wide"})};const oF=nF;var rF=/^(\d+)(th|st|nd|rd)?/i,iF=/\d+/i,aF={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},sF={any:[/^b/i,/^(a|c)/i]},lF={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},cF={any:[/1/i,/2/i,/3/i,/4/i]},uF={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},dF={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]},fF={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},hF={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]},pF={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},mF={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}},gF={ordinalNumber:al({matchPattern:rF,parsePattern:iF,valueCallback:function(t){return parseInt(t,10)}}),era:en({matchPatterns:aF,defaultMatchWidth:"wide",parsePatterns:sF,defaultParseWidth:"any"}),quarter:en({matchPatterns:lF,defaultMatchWidth:"wide",parsePatterns:cF,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:en({matchPatterns:uF,defaultMatchWidth:"wide",parsePatterns:dF,defaultParseWidth:"any"}),day:en({matchPatterns:fF,defaultMatchWidth:"wide",parsePatterns:hF,defaultParseWidth:"any"}),dayPeriod:en({matchPatterns:pF,defaultMatchWidth:"any",parsePatterns:mF,defaultParseWidth:"any"})};const vF=gF;var bF={code:"en-US",formatDistance:N9,formatLong:U9,formatRelative:G9,localize:oF,match:vF,options:{weekStartsOn:0,firstWeekContainsDate:1}};const yF=bF,xF={name:"en-US",locale:yF},i_=xF;var CF={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}}年近く"}},wF=function(t,n,o){o=o||{};var r,i=CF[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 _F=wF;var SF={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},kF={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},PF={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},TF={date:zn({formats:SF,defaultWidth:"full"}),time:zn({formats:kF,defaultWidth:"full"}),dateTime:zn({formats:PF,defaultWidth:"full"})};const RF=TF;var $F={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},EF=function(t,n,o,r){return $F[t]};const AF=EF;var IF={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},OF={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},MF={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月"]},zF={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},DF={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:"深夜"}},LF={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:"深夜"}},FF=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)}},BF={ordinalNumber:FF,era:Qt({values:IF,defaultWidth:"wide"}),quarter:Qt({values:OF,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:Qt({values:MF,defaultWidth:"wide"}),day:Qt({values:zF,defaultWidth:"wide"}),dayPeriod:Qt({values:DF,defaultWidth:"wide",formattingValues:LF,defaultFormattingWidth:"wide"})};const NF=BF;var HF=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,jF=/\d+/i,VF={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},WF={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},UF={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},qF={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},KF={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},GF={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},YF={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},XF={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},ZF={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},JF={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},QF={ordinalNumber:al({matchPattern:HF,parsePattern:jF,valueCallback:function(t){return parseInt(t,10)}}),era:en({matchPatterns:VF,defaultMatchWidth:"wide",parsePatterns:WF,defaultParseWidth:"any"}),quarter:en({matchPatterns:UF,defaultMatchWidth:"wide",parsePatterns:qF,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:en({matchPatterns:KF,defaultMatchWidth:"wide",parsePatterns:GF,defaultParseWidth:"any"}),day:en({matchPatterns:YF,defaultMatchWidth:"wide",parsePatterns:XF,defaultParseWidth:"any"}),dayPeriod:en({matchPatterns:ZF,defaultMatchWidth:"any",parsePatterns:JF,defaultParseWidth:"any"})};const e7=QF;var t7={code:"ja",formatDistance:_F,formatLong:RF,formatRelative:AF,localize:NF,match:e7,options:{weekStartsOn:0,firstWeekContainsDate:1}};const n7=t7,o7={name:"ja-JP",locale:n7},r7=o7;var i7={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}}년"}},a7=function(t,n,o){var r,i=i7[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 s7=a7;var l7={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},c7={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},u7={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},d7={date:zn({formats:l7,defaultWidth:"full"}),time:zn({formats:c7,defaultWidth:"full"}),dateTime:zn({formats:u7,defaultWidth:"full"})};const f7=d7;var h7={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},p7=function(t,n,o,r){return h7[t]};const m7=p7;var g7={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},v7={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},b7={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월"]},y7={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},x7={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:"밤"}},C7={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:"밤"}},w7=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+"번째"}},_7={ordinalNumber:w7,era:Qt({values:g7,defaultWidth:"wide"}),quarter:Qt({values:v7,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Qt({values:b7,defaultWidth:"wide"}),day:Qt({values:y7,defaultWidth:"wide"}),dayPeriod:Qt({values:x7,defaultWidth:"wide",formattingValues:C7,defaultFormattingWidth:"wide"})};const S7=_7;var k7=/^(\d+)(일|번째)?/i,P7=/\d+/i,T7={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},R7={any:[/^(bc|기원전)/i,/^(ad|서기)/i]},$7={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},E7={any:[/1/i,/2/i,/3/i,/4/i]},A7={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},I7={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},O7={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},M7={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},z7={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},D7={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},L7={ordinalNumber:al({matchPattern:k7,parsePattern:P7,valueCallback:function(t){return parseInt(t,10)}}),era:en({matchPatterns:T7,defaultMatchWidth:"wide",parsePatterns:R7,defaultParseWidth:"any"}),quarter:en({matchPatterns:$7,defaultMatchWidth:"wide",parsePatterns:E7,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:en({matchPatterns:A7,defaultMatchWidth:"wide",parsePatterns:I7,defaultParseWidth:"any"}),day:en({matchPatterns:O7,defaultMatchWidth:"wide",parsePatterns:M7,defaultParseWidth:"any"}),dayPeriod:en({matchPatterns:z7,defaultMatchWidth:"any",parsePatterns:D7,defaultParseWidth:"any"})};const F7=L7;var B7={code:"ko",formatDistance:s7,formatLong:f7,formatRelative:m7,localize:S7,match:F7,options:{weekStartsOn:0,firstWeekContainsDate:1}};const N7=B7,H7={name:"ko-KR",locale:N7},j7=H7;var V7={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"}},W7=function(t,n,o){var r,i=V7[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 U7=W7;var q7={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"},K7={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},G7={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Y7={date:zn({formats:q7,defaultWidth:"full"}),time:zn({formats:K7,defaultWidth:"full"}),dateTime:zn({formats:G7,defaultWidth:"full"})};const X7=Y7;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"},J7=function(t,n,o,r){return Z7[t]};const Q7=J7;var eB={narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},tB={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},nB={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},oB={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"]},rB={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"]},iB={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"]},aB={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"}},sB={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"}},lB=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)},cB={ordinalNumber:lB,era:Qt({values:eB,defaultWidth:"wide"}),quarter:Qt({values:tB,defaultWidth:"wide",formattingValues:nB,defaultFormattingWidth:"wide",argumentCallback:function(t){return t-1}}),month:Qt({values:oB,defaultWidth:"wide",formattingValues:rB,defaultFormattingWidth:"wide"}),day:Qt({values:iB,defaultWidth:"wide"}),dayPeriod:Qt({values:aB,defaultWidth:"wide",formattingValues:sB,defaultFormattingWidth:"wide"})};const uB=cB;var dB=/^(\d+)/i,fB=/\d+/i,hB={narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},pB={any:[/^t/i,/^s/i]},mB={narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},gB={any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},vB={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},bB={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]},yB={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},xB={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]},CB={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},wB={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}},_B={ordinalNumber:al({matchPattern:dB,parsePattern:fB,valueCallback:function(t){return parseInt(t,10)}}),era:en({matchPatterns:hB,defaultMatchWidth:"wide",parsePatterns:pB,defaultParseWidth:"any"}),quarter:en({matchPatterns:mB,defaultMatchWidth:"wide",parsePatterns:gB,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:en({matchPatterns:vB,defaultMatchWidth:"wide",parsePatterns:bB,defaultParseWidth:"wide"}),day:en({matchPatterns:yB,defaultMatchWidth:"wide",parsePatterns:xB,defaultParseWidth:"wide"}),dayPeriod:en({matchPatterns:CB,defaultMatchWidth:"wide",parsePatterns:wB,defaultParseWidth:"any"})};const SB=_B;var kB={code:"vi",formatDistance:U7,formatLong:X7,formatRelative:Q7,localize:uB,match:SB,options:{weekStartsOn:1,firstWeekContainsDate:1}};const PB=kB,TB={name:"vi-VN",locale:PB},RB=TB,$B={name:"fa-IR",locale:r_},EB=$B;function Li(e){const{mergedLocaleRef:t,mergedDateLocaleRef:n}=We(wo,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:o_[e]});return{dateLocaleRef:L(()=>{var i;return(i=n==null?void 0:n.value)!==null&&i!==void 0?i:i_}),localeRef:o}}function Yr(e,t,n){if(!t)return;const o=Oi(),r=We(wo,null),i=()=>{const a=n.value;t.mount({id:a===void 0?e:a+e,head:!0,anchorMetaName:Ra,props:{bPrefix:a?`.${a}-`:void 0},ssr:o}),r!=null&&r.preflightStyleDisabled||t_.mount({id:"n-global",head:!0,anchorMetaName:Ra,ssr:o})};o?i():cn(i)}function kt(e,t,n,o){var r;n||Kr("useThemeClass","cssVarsRef is not passed");const i=(r=We(wo,null))===null||r===void 0?void 0:r.mergedThemeHashRef,a=F(""),s=Oi();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:g}=o;h&&(d+="-"+Vs(JSON.stringify(h))),g&&(d+="-"+Vs(JSON.stringify(g))),a.value=d,l=()=>{const b=n.value;let m="";for(const x in b)m+=`${x}: ${b[x]};`;U(`.${d}`,m).mount({id:d,ssr:s}),l=void 0}};return nn(()=>{u()}),{themeClass:a,onRender:()=>{l==null||l()}}}function pn(e,t,n){if(!t)return;const o=Oi(),r=L(()=>{const{value:a}=t;if(!a)return;const s=a[e];if(s)return s}),i=()=>{nn(()=>{const{value:a}=n,s=`${a}${e}Rtl`;if(m6(s,o))return;const{value:l}=r;l&&l.style.mount({id:s,head:!0,anchorMetaName:Ra,props:{bPrefix:a?`.${a}-`:void 0},ssr:o})})};return o?i():cn(i),r}const AB=me({name:"Add",render(){return v("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))}}),IB=me({name:"ArrowDown",render(){return v("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M23.7916,15.2664 C24.0788,14.9679 24.0696,14.4931 23.7711,14.206 C23.4726,13.9188 22.9978,13.928 22.7106,14.2265 L14.7511,22.5007 L14.7511,3.74792 C14.7511,3.33371 14.4153,2.99792 14.0011,2.99792 C13.5869,2.99792 13.2511,3.33371 13.2511,3.74793 L13.2511,22.4998 L5.29259,14.2265 C5.00543,13.928 4.53064,13.9188 4.23213,14.206 C3.93361,14.4931 3.9244,14.9679 4.21157,15.2664 L13.2809,24.6944 C13.6743,25.1034 14.3289,25.1034 14.7223,24.6944 L23.7916,15.2664 Z"}))))}});function ja(e,t){return me({name:Mw(e),setup(){var n;const o=(n=We(wo,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 g0=me({name:"Backward",render(){return v("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M12.2674 15.793C11.9675 16.0787 11.4927 16.0672 11.2071 15.7673L6.20572 10.5168C5.9298 10.2271 5.9298 9.7719 6.20572 9.48223L11.2071 4.23177C11.4927 3.93184 11.9675 3.92031 12.2674 4.206C12.5673 4.49169 12.5789 4.96642 12.2932 5.26634L7.78458 9.99952L12.2932 14.7327C12.5789 15.0326 12.5673 15.5074 12.2674 15.793Z",fill:"currentColor"}))}}),OB=me({name:"Checkmark",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},v("g",{fill:"none"},v("path",{d:"M14.046 3.486a.75.75 0 0 1-.032 1.06l-7.93 7.474a.85.85 0 0 1-1.188-.022l-2.68-2.72a.75.75 0 1 1 1.068-1.053l2.234 2.267l7.468-7.038a.75.75 0 0 1 1.06.032z",fill:"currentColor"})))}}),Zp=me({name:"ChevronRight",render(){return v("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z",fill:"currentColor"}))}}),MB=ja("close",v("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z"}))))),zB=me({name:"Eye",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},v("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),v("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}}),DB=me({name:"EyeOff",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},v("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),v("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),v("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),v("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),v("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))}}),LB=me({name:"Empty",render(){return v("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),v("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}}),Fi=ja("error",v("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M17.8838835,16.1161165 L17.7823881,16.0249942 C17.3266086,15.6583353 16.6733914,15.6583353 16.2176119,16.0249942 L16.1161165,16.1161165 L16.0249942,16.2176119 C15.6583353,16.6733914 15.6583353,17.3266086 16.0249942,17.7823881 L16.1161165,17.8838835 L22.233,24 L16.1161165,30.1161165 L16.0249942,30.2176119 C15.6583353,30.6733914 15.6583353,31.3266086 16.0249942,31.7823881 L16.1161165,31.8838835 L16.2176119,31.9750058 C16.6733914,32.3416647 17.3266086,32.3416647 17.7823881,31.9750058 L17.8838835,31.8838835 L24,25.767 L30.1161165,31.8838835 L30.2176119,31.9750058 C30.6733914,32.3416647 31.3266086,32.3416647 31.7823881,31.9750058 L31.8838835,31.8838835 L31.9750058,31.7823881 C32.3416647,31.3266086 32.3416647,30.6733914 31.9750058,30.2176119 L31.8838835,30.1161165 L25.767,24 L31.8838835,17.8838835 L31.9750058,17.7823881 C32.3416647,17.3266086 32.3416647,16.6733914 31.9750058,16.2176119 L31.8838835,16.1161165 L31.7823881,16.0249942 C31.3266086,15.6583353 30.6733914,15.6583353 30.2176119,16.0249942 L30.1161165,16.1161165 L24,22.233 L17.8838835,16.1161165 L17.7823881,16.0249942 L17.8838835,16.1161165 Z"}))))),v0=me({name:"FastBackward",render(){return v("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M8.73171,16.7949 C9.03264,17.0795 9.50733,17.0663 9.79196,16.7654 C10.0766,16.4644 10.0634,15.9897 9.76243,15.7051 L4.52339,10.75 L17.2471,10.75 C17.6613,10.75 17.9971,10.4142 17.9971,10 C17.9971,9.58579 17.6613,9.25 17.2471,9.25 L4.52112,9.25 L9.76243,4.29275 C10.0634,4.00812 10.0766,3.53343 9.79196,3.2325 C9.50733,2.93156 9.03264,2.91834 8.73171,3.20297 L2.31449,9.27241 C2.14819,9.4297 2.04819,9.62981 2.01448,9.8386 C2.00308,9.89058 1.99707,9.94459 1.99707,10 C1.99707,10.0576 2.00356,10.1137 2.01585,10.1675 C2.05084,10.3733 2.15039,10.5702 2.31449,10.7254 L8.73171,16.7949 Z"}))))}}),b0=me({name:"FastForward",render(){return v("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M11.2654,3.20511 C10.9644,2.92049 10.4897,2.93371 10.2051,3.23464 C9.92049,3.53558 9.93371,4.01027 10.2346,4.29489 L15.4737,9.25 L2.75,9.25 C2.33579,9.25 2,9.58579 2,10.0000012 C2,10.4142 2.33579,10.75 2.75,10.75 L15.476,10.75 L10.2346,15.7073 C9.93371,15.9919 9.92049,16.4666 10.2051,16.7675 C10.4897,17.0684 10.9644,17.0817 11.2654,16.797 L17.6826,10.7276 C17.8489,10.5703 17.9489,10.3702 17.9826,10.1614 C17.994,10.1094 18,10.0554 18,10.0000012 C18,9.94241 17.9935,9.88633 17.9812,9.83246 C17.9462,9.62667 17.8467,9.42976 17.6826,9.27455 L11.2654,3.20511 Z"}))))}}),FB=me({name:"Filter",render(){return v("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M17,19 C17.5522847,19 18,19.4477153 18,20 C18,20.5522847 17.5522847,21 17,21 L11,21 C10.4477153,21 10,20.5522847 10,20 C10,19.4477153 10.4477153,19 11,19 L17,19 Z M21,13 C21.5522847,13 22,13.4477153 22,14 C22,14.5522847 21.5522847,15 21,15 L7,15 C6.44771525,15 6,14.5522847 6,14 C6,13.4477153 6.44771525,13 7,13 L21,13 Z M24,7 C24.5522847,7 25,7.44771525 25,8 C25,8.55228475 24.5522847,9 24,9 L4,9 C3.44771525,9 3,8.55228475 3,8 C3,7.44771525 3.44771525,7 4,7 L24,7 Z"}))))}}),y0=me({name:"Forward",render(){return v("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z",fill:"currentColor"}))}}),jr=ja("info",v("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M14,2 C20.6274,2 26,7.37258 26,14 C26,20.6274 20.6274,26 14,26 C7.37258,26 2,20.6274 2,14 C2,7.37258 7.37258,2 14,2 Z M14,11 C13.4477,11 13,11.4477 13,12 L13,12 L13,20 C13,20.5523 13.4477,21 14,21 C14.5523,21 15,20.5523 15,20 L15,20 L15,12 C15,11.4477 14.5523,11 14,11 Z M14,6.75 C13.3096,6.75 12.75,7.30964 12.75,8 C12.75,8.69036 13.3096,9.25 14,9.25 C14.6904,9.25 15.25,8.69036 15.25,8 C15.25,7.30964 14.6904,6.75 14,6.75 Z"}))))),x0=me({name:"More",render(){return v("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M4,7 C4.55228,7 5,7.44772 5,8 C5,8.55229 4.55228,9 4,9 C3.44772,9 3,8.55229 3,8 C3,7.44772 3.44772,7 4,7 Z M8,7 C8.55229,7 9,7.44772 9,8 C9,8.55229 8.55229,9 8,9 C7.44772,9 7,8.55229 7,8 C7,7.44772 7.44772,7 8,7 Z M12,7 C12.5523,7 13,7.44772 13,8 C13,8.55229 12.5523,9 12,9 C11.4477,9 11,8.55229 11,8 C11,7.44772 11.4477,7 12,7 Z"}))))}}),BB=me({name:"Remove",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},v("line",{x1:"400",y1:"256",x2:"112",y2:"256",style:` + `)]),ko="n-config-provider",ka="naive-ui-style";function Be(e,t,n,o,r,i){const a=Ii(),s=We(ko,null);if(n){const c=()=>{const u=i==null?void 0:i.value;n.mount({id:u===void 0?t:u+t,head:!0,props:{bPrefix:u?`.${u}-`:void 0},anchorMetaName:ka,ssr:a}),s!=null&&s.preflightStyleDisabled||c_.mount({id:"n-global",head:!0,anchorMetaName:ka,ssr:a})};a?c():hn(c)}return L(()=>{var c;const{theme:{common:u,self:d,peers:f={}}={},themeOverrides:p={},builtinThemeOverrides:h={}}=r,{common:m,peers:v}=p,{common:b=void 0,[e]:{common:w=void 0,self:C=void 0,peers:S={}}={}}=(s==null?void 0:s.mergedThemeRef.value)||{},{common:_=void 0,[e]:x={}}=(s==null?void 0:s.mergedThemeOverridesRef.value)||{},{common:y,peers:k={}}=x,P=ls({},u||w||b||o.common,_,y,m),T=ls((c=d||C||o.self)===null||c===void 0?void 0:c(P),h,x,p);return{common:P,self:T,peers:ls({},o.peers,S,f),peerOverrides:ls({},h.peers,k,v)}})}Be.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const Xs="n";function st(e={},t={defaultBordered:!0}){const n=We(ko,null);return{inlineThemeDisabled:n==null?void 0:n.inlineThemeDisabled,mergedRtlRef:n==null?void 0:n.mergedRtlRef,mergedComponentPropsRef:n==null?void 0:n.mergedComponentPropsRef,mergedBreakpointsRef:n==null?void 0:n.mergedBreakpointsRef,mergedBorderedRef:L(()=>{var o,r;const{bordered:i}=e;return i!==void 0?i:(r=(o=n==null?void 0:n.mergedBorderedRef.value)!==null&&o!==void 0?o:t.defaultBordered)!==null&&r!==void 0?r:!0}),mergedClsPrefixRef:n?n.mergedClsPrefixRef:Ra(Xs),namespaceRef:L(()=>n==null?void 0:n.mergedNamespaceRef.value)}}function u_(){const e=We(ko,null);return e?e.mergedClsPrefixRef:Ra(Xs)}const WL={name:"zh-CN",global:{undo:"撤销",redo:"重做",confirm:"确认",clear:"清除"},Popconfirm:{positiveText:"确认",negativeText:"取消"},Cascader:{placeholder:"请选择",loading:"加载中",loadingRequiredMessage:e=>`加载全部 ${e} 的子节点后才可选中`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w周",clear:"清除",now:"此刻",confirm:"确认",selectTime:"选择时间",selectDate:"选择日期",datePlaceholder:"选择日期",datetimePlaceholder:"选择日期时间",monthPlaceholder:"选择月份",yearPlaceholder:"选择年份",quarterPlaceholder:"选择季度",weekPlaceholder:"选择周",startDatePlaceholder:"开始日期",endDatePlaceholder:"结束日期",startDatetimePlaceholder:"开始日期时间",endDatetimePlaceholder:"结束日期时间",startMonthPlaceholder:"开始月份",endMonthPlaceholder:"结束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"选择全部表格数据",uncheckTableAll:"取消选择全部表格数据",confirm:"确认",clear:"重置"},LegacyTransfer:{sourceTitle:"源项",targetTitle:"目标项"},Transfer:{selectAll:"全选",clearAll:"清除",unselectAll:"取消全选",total:e=>`共 ${e} 项`,selected:e=>`已选 ${e} 项`},Empty:{description:"无数据"},Select:{placeholder:"请选择"},TimePicker:{placeholder:"请选择时间",positiveText:"确认",negativeText:"取消",now:"此刻",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"页"},DynamicTags:{add:"添加"},Log:{loading:"加载中"},Input:{placeholder:"请输入"},InputNumber:{placeholder:"请输入"},DynamicInput:{create:"添加"},ThemeEditor:{title:"主题编辑器",clearAllVars:"清除全部变量",clearSearch:"清除搜索",filterCompName:"过滤组件名",filterVarName:"过滤变量名",import:"导入",export:"导出",restore:"恢复默认"},Image:{tipPrevious:"上一张(←)",tipNext:"下一张(→)",tipCounterclockwise:"向左旋转",tipClockwise:"向右旋转",tipZoomOut:"缩小",tipZoomIn:"放大",tipDownload:"下载",tipClose:"关闭(Esc)",tipOriginalSize:"缩放到原始尺寸"}},UL=WL,qL={name:"zh-TW",global:{undo:"復原",redo:"重做",confirm:"確定",clear:"清除"},Popconfirm:{positiveText:"確定",negativeText:"取消"},Cascader:{placeholder:"請選擇",loading:"載入中",loadingRequiredMessage:e=>`載入全部 ${e} 的子節點後才可選擇`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy 年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"清除",now:"現在",confirm:"確定",selectTime:"選擇時間",selectDate:"選擇日期",datePlaceholder:"選擇日期",datetimePlaceholder:"選擇日期時間",monthPlaceholder:"選擇月份",yearPlaceholder:"選擇年份",quarterPlaceholder:"選擇季度",weekPlaceholder:"Select Week",startDatePlaceholder:"開始日期",endDatePlaceholder:"結束日期",startDatetimePlaceholder:"開始日期時間",endDatetimePlaceholder:"結束日期時間",startMonthPlaceholder:"開始月份",endMonthPlaceholder:"結束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"選擇全部表格資料",uncheckTableAll:"取消選擇全部表格資料",confirm:"確定",clear:"重設"},LegacyTransfer:{sourceTitle:"來源",targetTitle:"目標"},Transfer:{selectAll:"全選",unselectAll:"取消全選",clearAll:"清除全部",total:e=>`共 ${e} 項`,selected:e=>`已選 ${e} 項`},Empty:{description:"無資料"},Select:{placeholder:"請選擇"},TimePicker:{placeholder:"請選擇時間",positiveText:"確定",negativeText:"取消",now:"現在",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"頁"},DynamicTags:{add:"新增"},Log:{loading:"載入中"},Input:{placeholder:"請輸入"},InputNumber:{placeholder:"請輸入"},DynamicInput:{create:"新增"},ThemeEditor:{title:"主題編輯器",clearAllVars:"清除全部變數",clearSearch:"清除搜尋",filterCompName:"過濾組件名稱",filterVarName:"過濾變數名稱",import:"匯入",export:"匯出",restore:"恢復預設"},Image:{tipPrevious:"上一張(←)",tipNext:"下一張(→)",tipCounterclockwise:"向左旋轉",tipClockwise:"向右旋轉",tipZoomOut:"縮小",tipZoomIn:"放大",tipDownload:"下載",tipClose:"關閉(Esc)",tipOriginalSize:"縮放到原始尺寸"}},KL=qL,GL={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},d_=GL,YL={name:"ja-JP",global:{undo:"元に戻す",redo:"やり直す",confirm:"OK",clear:"クリア"},Popconfirm:{positiveText:"OK",negativeText:"キャンセル"},Cascader:{placeholder:"選択してください",loading:"ロード中",loadingRequiredMessage:e=>`すべての ${e} サブノードをロードしてから選択できます。`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"クリア",now:"現在",confirm:"OK",selectTime:"時間を選択",selectDate:"日付を選択",datePlaceholder:"日付を選択",datetimePlaceholder:"選択",monthPlaceholder:"月を選択",yearPlaceholder:"年を選択",quarterPlaceholder:"四半期を選択",weekPlaceholder:"Select Week",startDatePlaceholder:"開始日",endDatePlaceholder:"終了日",startDatetimePlaceholder:"開始時間",endDatetimePlaceholder:"終了時間",startMonthPlaceholder:"開始月",endMonthPlaceholder:"終了月",monthBeforeYear:!1,firstDayOfWeek:0,today:"今日"},DataTable:{checkTableAll:"全選択",uncheckTableAll:"全選択取消",confirm:"OK",clear:"リセット"},LegacyTransfer:{sourceTitle:"元",targetTitle:"先"},Transfer:{selectAll:"全選択",unselectAll:"全選択取消",clearAll:"リセット",total:e=>`合計 ${e} 項目`,selected:e=>`${e} 個の項目を選択`},Empty:{description:"データなし"},Select:{placeholder:"選択してください"},TimePicker:{placeholder:"選択してください",positiveText:"OK",negativeText:"キャンセル",now:"現在",clear:"クリア"},Pagination:{goto:"ページジャンプ",selectionSuffix:"ページ"},DynamicTags:{add:"追加"},Log:{loading:"ロード中"},Input:{placeholder:"入力してください"},InputNumber:{placeholder:"入力してください"},DynamicInput:{create:"追加"},ThemeEditor:{title:"テーマエディタ",clearAllVars:"全件変数クリア",clearSearch:"検索クリア",filterCompName:"コンポネント名をフィルタ",filterVarName:"変数をフィルタ",import:"インポート",export:"エクスポート",restore:"デフォルト"},Image:{tipPrevious:"前の画像 (←)",tipNext:"次の画像 (→)",tipCounterclockwise:"左に回転",tipClockwise:"右に回転",tipZoomOut:"縮小",tipZoomIn:"拡大",tipDownload:"ダウンロード",tipClose:"閉じる (Esc)",tipOriginalSize:"元のサイズに戻す"}},XL=YL,ZL={name:"ko-KR",global:{undo:"실행 취소",redo:"다시 실행",confirm:"확인",clear:"지우기"},Popconfirm:{positiveText:"확인",negativeText:"취소"},Cascader:{placeholder:"선택해 주세요",loading:"불러오는 중",loadingRequiredMessage:e=>`${e}의 모든 하위 항목을 불러온 뒤에 선택할 수 있습니다.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy년",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"지우기",now:"현재",confirm:"확인",selectTime:"시간 선택",selectDate:"날짜 선택",datePlaceholder:"날짜 선택",datetimePlaceholder:"날짜 및 시간 선택",monthPlaceholder:"월 선택",yearPlaceholder:"년 선택",quarterPlaceholder:"분기 선택",weekPlaceholder:"Select Week",startDatePlaceholder:"시작 날짜",endDatePlaceholder:"종료 날짜",startDatetimePlaceholder:"시작 날짜 및 시간",endDatetimePlaceholder:"종료 날짜 및 시간",startMonthPlaceholder:"시작 월",endMonthPlaceholder:"종료 월",monthBeforeYear:!1,firstDayOfWeek:6,today:"오늘"},DataTable:{checkTableAll:"모두 선택",uncheckTableAll:"모두 선택 해제",confirm:"확인",clear:"지우기"},LegacyTransfer:{sourceTitle:"원본",targetTitle:"타깃"},Transfer:{selectAll:"전체 선택",unselectAll:"전체 해제",clearAll:"전체 삭제",total:e=>`총 ${e} 개`,selected:e=>`${e} 개 선택`},Empty:{description:"데이터 없음"},Select:{placeholder:"선택해 주세요"},TimePicker:{placeholder:"시간 선택",positiveText:"확인",negativeText:"취소",now:"현재 시간",clear:"지우기"},Pagination:{goto:"이동",selectionSuffix:"페이지"},DynamicTags:{add:"추가"},Log:{loading:"불러오는 중"},Input:{placeholder:"입력해 주세요"},InputNumber:{placeholder:"입력해 주세요"},DynamicInput:{create:"추가"},ThemeEditor:{title:"테마 편집기",clearAllVars:"모든 변수 지우기",clearSearch:"검색 지우기",filterCompName:"구성 요소 이름 필터",filterVarName:"변수 이름 필터",import:"가져오기",export:"내보내기",restore:"기본으로 재설정"},Image:{tipPrevious:"이전 (←)",tipNext:"다음 (→)",tipCounterclockwise:"시계 반대 방향으로 회전",tipClockwise:"시계 방향으로 회전",tipZoomOut:"축소",tipZoomIn:"확대",tipDownload:"다운로드",tipClose:"닫기 (Esc)",tipOriginalSize:"원본 크기로 확대"}},JL=ZL,QL={name:"vi-VN",global:{undo:"Hoàn tác",redo:"Làm lại",confirm:"Xác nhận",clear:"xóa"},Popconfirm:{positiveText:"Xác nhận",negativeText:"Hủy"},Cascader:{placeholder:"Vui lòng chọn",loading:"Đang tải",loadingRequiredMessage:e=>`Vui lòng tải tất cả thông tin con của ${e} trước.`},Time:{dateFormat:"",dateTimeFormat:"HH:mm:ss dd-MM-yyyy"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"MM-yyyy",dateFormat:"dd-MM-yyyy",dateTimeFormat:"HH:mm:ss dd-MM-yyyy",quarterFormat:"qqq-yyyy",weekFormat:"yyyy-w",clear:"Xóa",now:"Hôm nay",confirm:"Xác nhận",selectTime:"Chọn giờ",selectDate:"Chọn ngày",datePlaceholder:"Chọn ngày",datetimePlaceholder:"Chọn ngày giờ",monthPlaceholder:"Chọn tháng",yearPlaceholder:"Chọn năm",quarterPlaceholder:"Chọn quý",weekPlaceholder:"Select Week",startDatePlaceholder:"Ngày bắt đầu",endDatePlaceholder:"Ngày kết thúc",startDatetimePlaceholder:"Thời gian bắt đầu",endDatetimePlaceholder:"Thời gian kết thúc",startMonthPlaceholder:"Tháng bắt đầu",endMonthPlaceholder:"Tháng kết thúc",monthBeforeYear:!0,firstDayOfWeek:0,today:"Hôm nay"},DataTable:{checkTableAll:"Chọn tất cả có trong bảng",uncheckTableAll:"Bỏ chọn tất cả có trong bảng",confirm:"Xác nhận",clear:"Xóa"},LegacyTransfer:{sourceTitle:"Nguồn",targetTitle:"Đích"},Transfer:{selectAll:"Chọn tất cả",unselectAll:"Bỏ chọn tất cả",clearAll:"Xoá tất cả",total:e=>`Tổng cộng ${e} mục`,selected:e=>`${e} mục được chọn`},Empty:{description:"Không có dữ liệu"},Select:{placeholder:"Vui lòng chọn"},TimePicker:{placeholder:"Chọn thời gian",positiveText:"OK",negativeText:"Hủy",now:"Hiện tại",clear:"Xóa"},Pagination:{goto:"Đi đến trang",selectionSuffix:"trang"},DynamicTags:{add:"Thêm"},Log:{loading:"Đang tải"},Input:{placeholder:"Vui lòng nhập"},InputNumber:{placeholder:"Vui lòng nhập"},DynamicInput:{create:"Tạo"},ThemeEditor:{title:"Tùy chỉnh giao diện",clearAllVars:"Xóa tất cả các biến",clearSearch:"Xóa tìm kiếm",filterCompName:"Lọc tên component",filterVarName:"Lọc tên biến",import:"Nhập",export:"Xuất",restore:"Đặt lại mặc định"},Image:{tipPrevious:"Hình trước (←)",tipNext:"Hình tiếp (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Chiều kim đồng hồ",tipZoomOut:"Thu nhỏ",tipZoomIn:"Phóng to",tipDownload:"Tải về",tipClose:"Đóng (Esc)",tipOriginalSize:"Xem kích thước gốc"}},e9=QL,t9={name:"fa-IR",global:{undo:"لغو انجام شده",redo:"انجام دوباره",confirm:"تأیید",clear:"پاک کردن"},Popconfirm:{positiveText:"تأیید",negativeText:"لغو"},Cascader:{placeholder:"لطفا انتخاب کنید",loading:"بارگذاری",loadingRequiredMessage:e=>`پس از بارگیری کامل زیرمجموعه های ${e} می توانید انتخاب کنید `},Time:{dateFormat:"yyyy/MM/dd",dateTimeFormat:"yyyy/MM/dd، H:mm:ss"},DatePicker:{yearFormat:"yyyy سال",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"MM/yyyy",dateFormat:"yyyy/MM/dd",dateTimeFormat:"yyyy/MM/dd HH:mm:ss",quarterFormat:"سه ماهه yyyy",weekFormat:"yyyy-w",clear:"پاک کردن",now:"اکنون",confirm:"تأیید",selectTime:"انتخاب زمان",selectDate:"انتخاب تاریخ",datePlaceholder:"انتخاب تاریخ",datetimePlaceholder:"انتخاب تاریخ و زمان",monthPlaceholder:"انتخاب ماه",yearPlaceholder:"انتخاب سال",quarterPlaceholder:"انتخاب سه‌ماهه",weekPlaceholder:"Select Week",startDatePlaceholder:"تاریخ شروع",endDatePlaceholder:"تاریخ پایان",startDatetimePlaceholder:"زمان شروع",endDatetimePlaceholder:"زمان پایان",startMonthPlaceholder:"ماه شروع",endMonthPlaceholder:"ماه پایان",monthBeforeYear:!1,firstDayOfWeek:6,today:"امروز"},DataTable:{checkTableAll:"انتخاب همه داده‌های جدول",uncheckTableAll:"عدم انتخاب همه داده‌های جدول",confirm:"تأیید",clear:"تنظیم مجدد"},LegacyTransfer:{sourceTitle:"آیتم منبع",targetTitle:"آیتم مقصد"},Transfer:{selectAll:"انتخاب همه",clearAll:"حذف همه",unselectAll:"عدم انتخاب همه",total:e=>`کل ${e} مورد`,selected:e=>`انتخاب شده ${e} مورد`},Empty:{description:"اطلاعاتی وجود ندارد"},Select:{placeholder:"لطفاً انتخاب کنید"},TimePicker:{placeholder:"لطفاً زمان مورد نظر را انتخاب کنید",positiveText:"تأیید",negativeText:"لغو",now:"همین الان",clear:"پاک کردن"},Pagination:{goto:"رفتن به صفحه",selectionSuffix:"صفحه"},DynamicTags:{add:"افزودن"},Log:{loading:"در حال بارگذاری"},Input:{placeholder:"لطفاً وارد کنید"},InputNumber:{placeholder:"لطفاً وارد کنید"},DynamicInput:{create:"افزودن"},ThemeEditor:{title:"ویرایشگر پوسته",clearAllVars:"پاک کردن همه متغیرها",clearSearch:"پاک کردن جستجو",filterCompName:"فیلتر نام کامپوننت",filterVarName:"فیلتر نام متغیر",import:"ورود",export:"خروج",restore:"بازگردانی به حالت پیش‌فرض"},Image:{tipPrevious:"تصویر قبلی (←)",tipNext:"تصویر بعدی (→)",tipCounterclockwise:"چرخش به سمت چپ",tipClockwise:"چرخش به سمت راست",tipZoomOut:"کوچک نمایی تصویر",tipZoomIn:"بزرگ نمایی تصویر",tipDownload:"بارگیری",tipClose:"بستن (Esc)",tipOriginalSize:"اندازه اصلی تصویر"}},n9=t9;var o9={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},r9=function(t,n,o){var r,i=o9[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",String(n)),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?r+"内":r+"前":r};const i9=r9;function Dn(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,o=e.formats[n]||e.formats[e.defaultWidth];return o}}var a9={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},s9={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},l9={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},c9={date:Dn({formats:a9,defaultWidth:"full"}),time:Dn({formats:s9,defaultWidth:"full"}),dateTime:Dn({formats:l9,defaultWidth:"full"})};const u9=c9;function Xp(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function Ch(e){"@babel/helpers - typeof";return Ch=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ch(e)}function d9(e){Xp(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Ch(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function f9(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}var h9={};function p9(){return h9}function m0(e,t){var n,o,r,i,a,s,l,c;Xp(1,arguments);var u=p9(),d=f9((n=(o=(r=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&r!==void 0?r:u.weekStartsOn)!==null&&o!==void 0?o:(l=u.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=d9(e),p=f.getUTCDay(),h=(pt.getTime()?"'下个'"+o:"'上个'"+o}var g9={lastWeek:g0,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:g0,other:"PP p"},v9=function(t,n,o,r){var i=g9[t];return typeof i=="function"?i(n,o,r):i};const b9=v9;function en(e){return function(t,n){var o=n!=null&&n.context?String(n.context):"standalone",r;if(o==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):i;r=e.formattingValues[a]||e.formattingValues[i]}else{var s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;r=e.values[l]||e.values[s]}var c=e.argumentCallback?e.argumentCallback(t):t;return r[c]}}var y9={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},x9={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},C9={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},w9={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},_9={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},S9={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},k9=function(t,n){var o=Number(t);switch(n==null?void 0:n.unit){case"date":return o.toString()+"日";case"hour":return o.toString()+"时";case"minute":return o.toString()+"分";case"second":return o.toString()+"秒";default:return"第 "+o.toString()}},P9={ordinalNumber:k9,era:en({values:y9,defaultWidth:"wide"}),quarter:en({values:x9,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:en({values:C9,defaultWidth:"wide"}),day:en({values:w9,defaultWidth:"wide"}),dayPeriod:en({values:_9,defaultWidth:"wide",formattingValues:S9,defaultFormattingWidth:"wide"})};const T9=P9;function tn(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=n.width,r=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;var a=i[0],s=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?E9(s,function(d){return d.test(a)}):R9(s,function(d){return d.test(a)}),c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;var u=t.slice(a.length);return{value:c,rest:u}}}function R9(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function E9(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},o=t.match(e.matchPattern);if(!o)return null;var r=o[0],i=t.match(e.parsePattern);if(!i)return null;var a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;var s=t.slice(r.length);return{value:a,rest:s}}}var $9=/^(第\s*)?\d+(日|时|分|秒)?/i,A9=/\d+/i,I9={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},O9={any:[/^(前)/i,/^(公元)/i]},M9={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},z9={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},D9={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},L9={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},F9={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},B9={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},N9={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},H9={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},j9={ordinalNumber:ll({matchPattern:$9,parsePattern:A9,valueCallback:function(t){return parseInt(t,10)}}),era:tn({matchPatterns:I9,defaultMatchWidth:"wide",parsePatterns:O9,defaultParseWidth:"any"}),quarter:tn({matchPatterns:M9,defaultMatchWidth:"wide",parsePatterns:z9,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:tn({matchPatterns:D9,defaultMatchWidth:"wide",parsePatterns:L9,defaultParseWidth:"any"}),day:tn({matchPatterns:F9,defaultMatchWidth:"wide",parsePatterns:B9,defaultParseWidth:"any"}),dayPeriod:tn({matchPatterns:N9,defaultMatchWidth:"any",parsePatterns:H9,defaultParseWidth:"any"})};const V9=j9;var W9={code:"zh-CN",formatDistance:i9,formatLong:u9,formatRelative:b9,localize:T9,match:V9,options:{weekStartsOn:1,firstWeekContainsDate:4}};const f_=W9,U9={name:"zh-CN",locale:f_},v0=U9;var q9={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},K9=function(t,n,o){var r,i=q9[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",n.toString()),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?"in "+r:r+" ago":r};const G9=K9;var Y9={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},X9={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Z9={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},J9={date:Dn({formats:Y9,defaultWidth:"full"}),time:Dn({formats:X9,defaultWidth:"full"}),dateTime:Dn({formats:Z9,defaultWidth:"full"})};const Q9=J9;var eF={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},tF=function(t,n,o,r){return eF[t]};const nF=tF;var oF={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},rF={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},iF={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},aF={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},sF={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},lF={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},cF=function(t,n){var o=Number(t),r=o%100;if(r>20||r<10)switch(r%10){case 1:return o+"st";case 2:return o+"nd";case 3:return o+"rd"}return o+"th"},uF={ordinalNumber:cF,era:en({values:oF,defaultWidth:"wide"}),quarter:en({values:rF,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:en({values:iF,defaultWidth:"wide"}),day:en({values:aF,defaultWidth:"wide"}),dayPeriod:en({values:sF,defaultWidth:"wide",formattingValues:lF,defaultFormattingWidth:"wide"})};const dF=uF;var fF=/^(\d+)(th|st|nd|rd)?/i,hF=/\d+/i,pF={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},mF={any:[/^b/i,/^(a|c)/i]},gF={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},vF={any:[/1/i,/2/i,/3/i,/4/i]},bF={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},yF={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},xF={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},CF={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},wF={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},_F={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},SF={ordinalNumber:ll({matchPattern:fF,parsePattern:hF,valueCallback:function(t){return parseInt(t,10)}}),era:tn({matchPatterns:pF,defaultMatchWidth:"wide",parsePatterns:mF,defaultParseWidth:"any"}),quarter:tn({matchPatterns:gF,defaultMatchWidth:"wide",parsePatterns:vF,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:tn({matchPatterns:bF,defaultMatchWidth:"wide",parsePatterns:yF,defaultParseWidth:"any"}),day:tn({matchPatterns:xF,defaultMatchWidth:"wide",parsePatterns:CF,defaultParseWidth:"any"}),dayPeriod:tn({matchPatterns:wF,defaultMatchWidth:"any",parsePatterns:_F,defaultParseWidth:"any"})};const kF=SF;var PF={code:"en-US",formatDistance:G9,formatLong:Q9,formatRelative:nF,localize:dF,match:kF,options:{weekStartsOn:0,firstWeekContainsDate:1}};const TF=PF,RF={name:"en-US",locale:TF},h_=RF;var EF={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},$F=function(t,n,o){o=o||{};var r,i=EF[t];return typeof i=="string"?r=i:n===1?o.addSuffix&&i.oneWithSuffix?r=i.oneWithSuffix:r=i.one:o.addSuffix&&i.otherWithSuffix?r=i.otherWithSuffix.replace("{{count}}",String(n)):r=i.other.replace("{{count}}",String(n)),o.addSuffix?o.comparison&&o.comparison>0?r+"後":r+"前":r};const AF=$F;var IF={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},OF={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},MF={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},zF={date:Dn({formats:IF,defaultWidth:"full"}),time:Dn({formats:OF,defaultWidth:"full"}),dateTime:Dn({formats:MF,defaultWidth:"full"})};const DF=zF;var LF={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},FF=function(t,n,o,r){return LF[t]};const BF=FF;var NF={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},HF={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},jF={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},VF={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},WF={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},UF={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},qF=function(t,n){var o=Number(t),r=String(n==null?void 0:n.unit);switch(r){case"year":return"".concat(o,"年");case"quarter":return"第".concat(o,"四半期");case"month":return"".concat(o,"月");case"week":return"第".concat(o,"週");case"date":return"".concat(o,"日");case"hour":return"".concat(o,"時");case"minute":return"".concat(o,"分");case"second":return"".concat(o,"秒");default:return"".concat(o)}},KF={ordinalNumber:qF,era:en({values:NF,defaultWidth:"wide"}),quarter:en({values:HF,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:en({values:jF,defaultWidth:"wide"}),day:en({values:VF,defaultWidth:"wide"}),dayPeriod:en({values:WF,defaultWidth:"wide",formattingValues:UF,defaultFormattingWidth:"wide"})};const GF=KF;var YF=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,XF=/\d+/i,ZF={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},JF={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},QF={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},e7={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},t7={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},n7={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},o7={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},r7={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},i7={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},a7={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},s7={ordinalNumber:ll({matchPattern:YF,parsePattern:XF,valueCallback:function(t){return parseInt(t,10)}}),era:tn({matchPatterns:ZF,defaultMatchWidth:"wide",parsePatterns:JF,defaultParseWidth:"any"}),quarter:tn({matchPatterns:QF,defaultMatchWidth:"wide",parsePatterns:e7,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:tn({matchPatterns:t7,defaultMatchWidth:"wide",parsePatterns:n7,defaultParseWidth:"any"}),day:tn({matchPatterns:o7,defaultMatchWidth:"wide",parsePatterns:r7,defaultParseWidth:"any"}),dayPeriod:tn({matchPatterns:i7,defaultMatchWidth:"any",parsePatterns:a7,defaultParseWidth:"any"})};const l7=s7;var c7={code:"ja",formatDistance:AF,formatLong:DF,formatRelative:BF,localize:GF,match:l7,options:{weekStartsOn:0,firstWeekContainsDate:1}};const u7=c7,d7={name:"ja-JP",locale:u7},f7=d7;var h7={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXWeeks:{one:"약 1주",other:"약 {{count}}주"},xWeeks:{one:"1주",other:"{{count}}주"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}},p7=function(t,n,o){var r,i=h7[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",n.toString()),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?r+" 후":r+" 전":r};const m7=p7;var g7={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},v7={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},b7={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},y7={date:Dn({formats:g7,defaultWidth:"full"}),time:Dn({formats:v7,defaultWidth:"full"}),dateTime:Dn({formats:b7,defaultWidth:"full"})};const x7=y7;var C7={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},w7=function(t,n,o,r){return C7[t]};const _7=w7;var S7={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},k7={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},P7={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},T7={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},R7={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},E7={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},$7=function(t,n){var o=Number(t),r=String(n==null?void 0:n.unit);switch(r){case"minute":case"second":return String(o);case"date":return o+"일";default:return o+"번째"}},A7={ordinalNumber:$7,era:en({values:S7,defaultWidth:"wide"}),quarter:en({values:k7,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:en({values:P7,defaultWidth:"wide"}),day:en({values:T7,defaultWidth:"wide"}),dayPeriod:en({values:R7,defaultWidth:"wide",formattingValues:E7,defaultFormattingWidth:"wide"})};const I7=A7;var O7=/^(\d+)(일|번째)?/i,M7=/\d+/i,z7={narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(기원전|서기)/i},D7={any:[/^(bc|기원전)/i,/^(ad|서기)/i]},L7={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},F7={any:[/1/i,/2/i,/3/i,/4/i]},B7={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},N7={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},H7={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},j7={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},V7={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},W7={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},U7={ordinalNumber:ll({matchPattern:O7,parsePattern:M7,valueCallback:function(t){return parseInt(t,10)}}),era:tn({matchPatterns:z7,defaultMatchWidth:"wide",parsePatterns:D7,defaultParseWidth:"any"}),quarter:tn({matchPatterns:L7,defaultMatchWidth:"wide",parsePatterns:F7,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:tn({matchPatterns:B7,defaultMatchWidth:"wide",parsePatterns:N7,defaultParseWidth:"any"}),day:tn({matchPatterns:H7,defaultMatchWidth:"wide",parsePatterns:j7,defaultParseWidth:"any"}),dayPeriod:tn({matchPatterns:V7,defaultMatchWidth:"any",parsePatterns:W7,defaultParseWidth:"any"})};const q7=U7;var K7={code:"ko",formatDistance:m7,formatLong:x7,formatRelative:_7,localize:I7,match:q7,options:{weekStartsOn:0,firstWeekContainsDate:1}};const G7=K7,Y7={name:"ko-KR",locale:G7},X7=Y7;var Z7={lessThanXSeconds:{one:"dưới 1 giây",other:"dưới {{count}} giây"},xSeconds:{one:"1 giây",other:"{{count}} giây"},halfAMinute:"nửa phút",lessThanXMinutes:{one:"dưới 1 phút",other:"dưới {{count}} phút"},xMinutes:{one:"1 phút",other:"{{count}} phút"},aboutXHours:{one:"khoảng 1 giờ",other:"khoảng {{count}} giờ"},xHours:{one:"1 giờ",other:"{{count}} giờ"},xDays:{one:"1 ngày",other:"{{count}} ngày"},aboutXWeeks:{one:"khoảng 1 tuần",other:"khoảng {{count}} tuần"},xWeeks:{one:"1 tuần",other:"{{count}} tuần"},aboutXMonths:{one:"khoảng 1 tháng",other:"khoảng {{count}} tháng"},xMonths:{one:"1 tháng",other:"{{count}} tháng"},aboutXYears:{one:"khoảng 1 năm",other:"khoảng {{count}} năm"},xYears:{one:"1 năm",other:"{{count}} năm"},overXYears:{one:"hơn 1 năm",other:"hơn {{count}} năm"},almostXYears:{one:"gần 1 năm",other:"gần {{count}} năm"}},J7=function(t,n,o){var r,i=Z7[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",String(n)),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?r+" nữa":r+" trước":r};const Q7=J7;var eB={full:"EEEE, 'ngày' d MMMM 'năm' y",long:"'ngày' d MMMM 'năm' y",medium:"d MMM 'năm' y",short:"dd/MM/y"},tB={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},nB={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},oB={date:Dn({formats:eB,defaultWidth:"full"}),time:Dn({formats:tB,defaultWidth:"full"}),dateTime:Dn({formats:nB,defaultWidth:"full"})};const rB=oB;var iB={lastWeek:"eeee 'tuần trước vào lúc' p",yesterday:"'hôm qua vào lúc' p",today:"'hôm nay vào lúc' p",tomorrow:"'ngày mai vào lúc' p",nextWeek:"eeee 'tới vào lúc' p",other:"P"},aB=function(t,n,o,r){return iB[t]};const sB=aB;var lB={narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},cB={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},uB={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},dB={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["Thg 1","Thg 2","Thg 3","Thg 4","Thg 5","Thg 6","Thg 7","Thg 8","Thg 9","Thg 10","Thg 11","Thg 12"],wide:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"]},fB={narrow:["01","02","03","04","05","06","07","08","09","10","11","12"],abbreviated:["thg 1","thg 2","thg 3","thg 4","thg 5","thg 6","thg 7","thg 8","thg 9","thg 10","thg 11","thg 12"],wide:["tháng 01","tháng 02","tháng 03","tháng 04","tháng 05","tháng 06","tháng 07","tháng 08","tháng 09","tháng 10","tháng 11","tháng 12"]},hB={narrow:["CN","T2","T3","T4","T5","T6","T7"],short:["CN","Th 2","Th 3","Th 4","Th 5","Th 6","Th 7"],abbreviated:["CN","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7"],wide:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"]},pB={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"}},mB={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"giữa trưa",morning:"vào buổi sáng",afternoon:"vào buổi chiều",evening:"vào buổi tối",night:"vào ban đêm"}},gB=function(t,n){var o=Number(t),r=n==null?void 0:n.unit;if(r==="quarter")switch(o){case 1:return"I";case 2:return"II";case 3:return"III";case 4:return"IV"}else if(r==="day")switch(o){case 1:return"thứ 2";case 2:return"thứ 3";case 3:return"thứ 4";case 4:return"thứ 5";case 5:return"thứ 6";case 6:return"thứ 7";case 7:return"chủ nhật"}else{if(r==="week")return o===1?"thứ nhất":"thứ "+o;if(r==="dayOfYear")return o===1?"đầu tiên":"thứ "+o}return String(o)},vB={ordinalNumber:gB,era:en({values:lB,defaultWidth:"wide"}),quarter:en({values:cB,defaultWidth:"wide",formattingValues:uB,defaultFormattingWidth:"wide",argumentCallback:function(t){return t-1}}),month:en({values:dB,defaultWidth:"wide",formattingValues:fB,defaultFormattingWidth:"wide"}),day:en({values:hB,defaultWidth:"wide"}),dayPeriod:en({values:pB,defaultWidth:"wide",formattingValues:mB,defaultFormattingWidth:"wide"})};const bB=vB;var yB=/^(\d+)/i,xB=/\d+/i,CB={narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},wB={any:[/^t/i,/^s/i]},_B={narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},SB={any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},kB={narrow:/^(0?[2-9]|10|11|12|0?1)/i,abbreviated:/^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,wide:/^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i},PB={narrow:[/0?1$/i,/0?2/i,/3/,/4/,/5/,/6/,/7/,/8/,/9/,/10/,/11/,/12/],abbreviated:[/^thg[ _]?0?1(?!\d)/i,/^thg[ _]?0?2/i,/^thg[ _]?0?3/i,/^thg[ _]?0?4/i,/^thg[ _]?0?5/i,/^thg[ _]?0?6/i,/^thg[ _]?0?7/i,/^thg[ _]?0?8/i,/^thg[ _]?0?9/i,/^thg[ _]?10/i,/^thg[ _]?11/i,/^thg[ _]?12/i],wide:[/^tháng ?(Một|0?1(?!\d))/i,/^tháng ?(Hai|0?2)/i,/^tháng ?(Ba|0?3)/i,/^tháng ?(Tư|0?4)/i,/^tháng ?(Năm|0?5)/i,/^tháng ?(Sáu|0?6)/i,/^tháng ?(Bảy|0?7)/i,/^tháng ?(Tám|0?8)/i,/^tháng ?(Chín|0?9)/i,/^tháng ?(Mười|10)/i,/^tháng ?(Mười ?Một|11)/i,/^tháng ?(Mười ?Hai|12)/i]},TB={narrow:/^(CN|T2|T3|T4|T5|T6|T7)/i,short:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,abbreviated:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,wide:/^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i},RB={narrow:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],short:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],abbreviated:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],wide:[/(Chủ|Chúa) ?Nhật/i,/Hai/i,/Ba/i,/Tư/i,/Năm/i,/Sáu/i,/Bảy/i]},EB={narrow:/^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,abbreviated:/^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,wide:/^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i},$B={any:{am:/^(a|sa)/i,pm:/^(p|ch[^i]*)/i,midnight:/nửa đêm/i,noon:/trưa/i,morning:/sáng/i,afternoon:/chiều/i,evening:/tối/i,night:/^đêm/i}},AB={ordinalNumber:ll({matchPattern:yB,parsePattern:xB,valueCallback:function(t){return parseInt(t,10)}}),era:tn({matchPatterns:CB,defaultMatchWidth:"wide",parsePatterns:wB,defaultParseWidth:"any"}),quarter:tn({matchPatterns:_B,defaultMatchWidth:"wide",parsePatterns:SB,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:tn({matchPatterns:kB,defaultMatchWidth:"wide",parsePatterns:PB,defaultParseWidth:"wide"}),day:tn({matchPatterns:TB,defaultMatchWidth:"wide",parsePatterns:RB,defaultParseWidth:"wide"}),dayPeriod:tn({matchPatterns:EB,defaultMatchWidth:"wide",parsePatterns:$B,defaultParseWidth:"any"})};const IB=AB;var OB={code:"vi",formatDistance:Q7,formatLong:rB,formatRelative:sB,localize:bB,match:IB,options:{weekStartsOn:1,firstWeekContainsDate:1}};const MB=OB,zB={name:"vi-VN",locale:MB},DB=zB,LB={name:"fa-IR",locale:f_},FB=LB;function Di(e){const{mergedLocaleRef:t,mergedDateLocaleRef:n}=We(ko,null)||{},o=L(()=>{var i,a;return(a=(i=t==null?void 0:t.value)===null||i===void 0?void 0:i[e])!==null&&a!==void 0?a:d_[e]});return{dateLocaleRef:L(()=>{var i;return(i=n==null?void 0:n.value)!==null&&i!==void 0?i:h_}),localeRef:o}}function Zr(e,t,n){if(!t)return;const o=Ii(),r=We(ko,null),i=()=>{const a=n.value;t.mount({id:a===void 0?e:a+e,head:!0,anchorMetaName:ka,props:{bPrefix:a?`.${a}-`:void 0},ssr:o}),r!=null&&r.preflightStyleDisabled||c_.mount({id:"n-global",head:!0,anchorMetaName:ka,ssr:o})};o?i():hn(i)}function kt(e,t,n,o){var r;n||ur("useThemeClass","cssVarsRef is not passed");const i=(r=We(ko,null))===null||r===void 0?void 0:r.mergedThemeHashRef,a=W(""),s=Ii();let l;const c=`__${e}`,u=()=>{let d=c;const f=t?t.value:void 0,p=i==null?void 0:i.value;p&&(d+="-"+p),f&&(d+="-"+f);const{themeOverrides:h,builtinThemeOverrides:m}=o;h&&(d+="-"+Us(JSON.stringify(h))),m&&(d+="-"+Us(JSON.stringify(m))),a.value=d,l=()=>{const v=n.value;let b="";for(const w in v)b+=`${w}: ${v[w]};`;q(`.${d}`,b).mount({id:d,ssr:s}),l=void 0}};return Yt(()=>{u()}),{themeClass:a,onRender:()=>{l==null||l()}}}function pn(e,t,n){if(!t)return;const o=Ii(),r=L(()=>{const{value:a}=t;if(!a)return;const s=a[e];if(s)return s}),i=()=>{Yt(()=>{const{value:a}=n,s=`${a}${e}Rtl`;if(w6(s,o))return;const{value:l}=r;l&&l.style.mount({id:s,head:!0,anchorMetaName:ka,props:{bPrefix:a?`.${a}-`:void 0},ssr:o})})};return o?i():hn(i),r}const BB=ge({name:"Add",render(){return g("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))}}),NB=ge({name:"ArrowDown",render(){return g("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},g("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},g("g",{"fill-rule":"nonzero"},g("path",{d:"M23.7916,15.2664 C24.0788,14.9679 24.0696,14.4931 23.7711,14.206 C23.4726,13.9188 22.9978,13.928 22.7106,14.2265 L14.7511,22.5007 L14.7511,3.74792 C14.7511,3.33371 14.4153,2.99792 14.0011,2.99792 C13.5869,2.99792 13.2511,3.33371 13.2511,3.74793 L13.2511,22.4998 L5.29259,14.2265 C5.00543,13.928 4.53064,13.9188 4.23213,14.206 C3.93361,14.4931 3.9244,14.9679 4.21157,15.2664 L13.2809,24.6944 C13.6743,25.1034 14.3289,25.1034 14.7223,24.6944 L23.7916,15.2664 Z"}))))}});function Ba(e,t){return ge({name:jw(e),setup(){var n;const o=(n=We(ko,null))===null||n===void 0?void 0:n.mergedIconsRef;return()=>{var r;const i=(r=o==null?void 0:o.value)===null||r===void 0?void 0:r[e];return i?i():t}}})}const b0=ge({name:"Backward",render(){return g("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g("path",{d:"M12.2674 15.793C11.9675 16.0787 11.4927 16.0672 11.2071 15.7673L6.20572 10.5168C5.9298 10.2271 5.9298 9.7719 6.20572 9.48223L11.2071 4.23177C11.4927 3.93184 11.9675 3.92031 12.2674 4.206C12.5673 4.49169 12.5789 4.96642 12.2932 5.26634L7.78458 9.99952L12.2932 14.7327C12.5789 15.0326 12.5673 15.5074 12.2674 15.793Z",fill:"currentColor"}))}}),HB=ge({name:"Checkmark",render(){return g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},g("g",{fill:"none"},g("path",{d:"M14.046 3.486a.75.75 0 0 1-.032 1.06l-7.93 7.474a.85.85 0 0 1-1.188-.022l-2.68-2.72a.75.75 0 1 1 1.068-1.053l2.234 2.267l7.468-7.038a.75.75 0 0 1 1.06.032z",fill:"currentColor"})))}}),Zp=ge({name:"ChevronRight",render(){return g("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g("path",{d:"M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z",fill:"currentColor"}))}}),jB=Ba("close",g("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},g("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},g("g",{fill:"currentColor","fill-rule":"nonzero"},g("path",{d:"M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z"}))))),VB=ge({name:"Eye",render(){return g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},g("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),g("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}}),WB=ge({name:"EyeOff",render(){return g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},g("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),g("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),g("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),g("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),g("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))}}),UB=ge({name:"Empty",render(){return g("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),g("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}}),Li=Ba("error",g("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},g("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},g("g",{"fill-rule":"nonzero"},g("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M17.8838835,16.1161165 L17.7823881,16.0249942 C17.3266086,15.6583353 16.6733914,15.6583353 16.2176119,16.0249942 L16.1161165,16.1161165 L16.0249942,16.2176119 C15.6583353,16.6733914 15.6583353,17.3266086 16.0249942,17.7823881 L16.1161165,17.8838835 L22.233,24 L16.1161165,30.1161165 L16.0249942,30.2176119 C15.6583353,30.6733914 15.6583353,31.3266086 16.0249942,31.7823881 L16.1161165,31.8838835 L16.2176119,31.9750058 C16.6733914,32.3416647 17.3266086,32.3416647 17.7823881,31.9750058 L17.8838835,31.8838835 L24,25.767 L30.1161165,31.8838835 L30.2176119,31.9750058 C30.6733914,32.3416647 31.3266086,32.3416647 31.7823881,31.9750058 L31.8838835,31.8838835 L31.9750058,31.7823881 C32.3416647,31.3266086 32.3416647,30.6733914 31.9750058,30.2176119 L31.8838835,30.1161165 L25.767,24 L31.8838835,17.8838835 L31.9750058,17.7823881 C32.3416647,17.3266086 32.3416647,16.6733914 31.9750058,16.2176119 L31.8838835,16.1161165 L31.7823881,16.0249942 C31.3266086,15.6583353 30.6733914,15.6583353 30.2176119,16.0249942 L30.1161165,16.1161165 L24,22.233 L17.8838835,16.1161165 L17.7823881,16.0249942 L17.8838835,16.1161165 Z"}))))),y0=ge({name:"FastBackward",render(){return g("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},g("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},g("g",{fill:"currentColor","fill-rule":"nonzero"},g("path",{d:"M8.73171,16.7949 C9.03264,17.0795 9.50733,17.0663 9.79196,16.7654 C10.0766,16.4644 10.0634,15.9897 9.76243,15.7051 L4.52339,10.75 L17.2471,10.75 C17.6613,10.75 17.9971,10.4142 17.9971,10 C17.9971,9.58579 17.6613,9.25 17.2471,9.25 L4.52112,9.25 L9.76243,4.29275 C10.0634,4.00812 10.0766,3.53343 9.79196,3.2325 C9.50733,2.93156 9.03264,2.91834 8.73171,3.20297 L2.31449,9.27241 C2.14819,9.4297 2.04819,9.62981 2.01448,9.8386 C2.00308,9.89058 1.99707,9.94459 1.99707,10 C1.99707,10.0576 2.00356,10.1137 2.01585,10.1675 C2.05084,10.3733 2.15039,10.5702 2.31449,10.7254 L8.73171,16.7949 Z"}))))}}),x0=ge({name:"FastForward",render(){return g("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},g("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},g("g",{fill:"currentColor","fill-rule":"nonzero"},g("path",{d:"M11.2654,3.20511 C10.9644,2.92049 10.4897,2.93371 10.2051,3.23464 C9.92049,3.53558 9.93371,4.01027 10.2346,4.29489 L15.4737,9.25 L2.75,9.25 C2.33579,9.25 2,9.58579 2,10.0000012 C2,10.4142 2.33579,10.75 2.75,10.75 L15.476,10.75 L10.2346,15.7073 C9.93371,15.9919 9.92049,16.4666 10.2051,16.7675 C10.4897,17.0684 10.9644,17.0817 11.2654,16.797 L17.6826,10.7276 C17.8489,10.5703 17.9489,10.3702 17.9826,10.1614 C17.994,10.1094 18,10.0554 18,10.0000012 C18,9.94241 17.9935,9.88633 17.9812,9.83246 C17.9462,9.62667 17.8467,9.42976 17.6826,9.27455 L11.2654,3.20511 Z"}))))}}),qB=ge({name:"Filter",render(){return g("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},g("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},g("g",{"fill-rule":"nonzero"},g("path",{d:"M17,19 C17.5522847,19 18,19.4477153 18,20 C18,20.5522847 17.5522847,21 17,21 L11,21 C10.4477153,21 10,20.5522847 10,20 C10,19.4477153 10.4477153,19 11,19 L17,19 Z M21,13 C21.5522847,13 22,13.4477153 22,14 C22,14.5522847 21.5522847,15 21,15 L7,15 C6.44771525,15 6,14.5522847 6,14 C6,13.4477153 6.44771525,13 7,13 L21,13 Z M24,7 C24.5522847,7 25,7.44771525 25,8 C25,8.55228475 24.5522847,9 24,9 L4,9 C3.44771525,9 3,8.55228475 3,8 C3,7.44771525 3.44771525,7 4,7 L24,7 Z"}))))}}),C0=ge({name:"Forward",render(){return g("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g("path",{d:"M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z",fill:"currentColor"}))}}),jr=Ba("info",g("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},g("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},g("g",{"fill-rule":"nonzero"},g("path",{d:"M14,2 C20.6274,2 26,7.37258 26,14 C26,20.6274 20.6274,26 14,26 C7.37258,26 2,20.6274 2,14 C2,7.37258 7.37258,2 14,2 Z M14,11 C13.4477,11 13,11.4477 13,12 L13,12 L13,20 C13,20.5523 13.4477,21 14,21 C14.5523,21 15,20.5523 15,20 L15,20 L15,12 C15,11.4477 14.5523,11 14,11 Z M14,6.75 C13.3096,6.75 12.75,7.30964 12.75,8 C12.75,8.69036 13.3096,9.25 14,9.25 C14.6904,9.25 15.25,8.69036 15.25,8 C15.25,7.30964 14.6904,6.75 14,6.75 Z"}))))),w0=ge({name:"More",render(){return g("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},g("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},g("g",{fill:"currentColor","fill-rule":"nonzero"},g("path",{d:"M4,7 C4.55228,7 5,7.44772 5,8 C5,8.55229 4.55228,9 4,9 C3.44772,9 3,8.55229 3,8 C3,7.44772 3.44772,7 4,7 Z M8,7 C8.55229,7 9,7.44772 9,8 C9,8.55229 8.55229,9 8,9 C7.44772,9 7,8.55229 7,8 C7,7.44772 7.44772,7 8,7 Z M12,7 C12.5523,7 13,7.44772 13,8 C13,8.55229 12.5523,9 12,9 C11.4477,9 11,8.55229 11,8 C11,7.44772 11.4477,7 12,7 Z"}))))}}),KB=ge({name:"Remove",render(){return g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},g("line",{x1:"400",y1:"256",x2:"112",y2:"256",style:` fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 32px; - `}))}}),Bi=ja("success",v("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M32.6338835,17.6161165 C32.1782718,17.1605048 31.4584514,17.1301307 30.9676119,17.5249942 L30.8661165,17.6161165 L20.75,27.732233 L17.1338835,24.1161165 C16.6457281,23.6279612 15.8542719,23.6279612 15.3661165,24.1161165 C14.9105048,24.5717282 14.8801307,25.2915486 15.2749942,25.7823881 L15.3661165,25.8838835 L19.8661165,30.3838835 C20.3217282,30.8394952 21.0415486,30.8698693 21.5323881,30.4750058 L21.6338835,30.3838835 L32.6338835,19.3838835 C33.1220388,18.8957281 33.1220388,18.1042719 32.6338835,17.6161165 Z"}))))),Ni=ja("warning",v("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M12,2 C17.523,2 22,6.478 22,12 C22,17.522 17.523,22 12,22 C6.477,22 2,17.522 2,12 C2,6.478 6.477,2 12,2 Z M12.0018002,15.0037242 C11.450254,15.0037242 11.0031376,15.4508407 11.0031376,16.0023869 C11.0031376,16.553933 11.450254,17.0010495 12.0018002,17.0010495 C12.5533463,17.0010495 13.0004628,16.553933 13.0004628,16.0023869 C13.0004628,15.4508407 12.5533463,15.0037242 12.0018002,15.0037242 Z M11.99964,7 C11.4868042,7.00018474 11.0642719,7.38637706 11.0066858,7.8837365 L11,8.00036004 L11.0018003,13.0012393 L11.00857,13.117858 C11.0665141,13.6151758 11.4893244,14.0010638 12.0021602,14.0008793 C12.514996,14.0006946 12.9375283,13.6145023 12.9951144,13.1171428 L13.0018002,13.0005193 L13,7.99964009 L12.9932303,7.8830214 C12.9352861,7.38570354 12.5124758,6.99981552 11.99964,7 Z"}))))),a_=me({name:"ChevronDown",render(){return v("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))}}),NB=ja("clear",v("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"}))))),HB=me({name:"ChevronDownFilled",render(){return v("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M3.20041 5.73966C3.48226 5.43613 3.95681 5.41856 4.26034 5.70041L8 9.22652L11.7397 5.70041C12.0432 5.41856 12.5177 5.43613 12.7996 5.73966C13.0815 6.0432 13.0639 6.51775 12.7603 6.7996L8.51034 10.7996C8.22258 11.0668 7.77743 11.0668 7.48967 10.7996L3.23966 6.7996C2.93613 6.51775 2.91856 6.0432 3.20041 5.73966Z",fill:"currentColor"}))}}),Hi=me({name:"BaseIconSwitchTransition",setup(e,{slots:t}){const n=Gr();return()=>v(hn,{name:"icon-switch-transition",appear:n.value},t)}}),Tu=me({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?e5:hn,f={name:l?"fade-in-width-expand-transition":"fade-in-height-expand-transition",appear:c,onEnter:i,onAfterEnter:a,onBeforeLeave:n,onLeave:o,onAfterLeave:r};return s||(f.mode=u),v(d,f,t)}}}),jB=z("base-icon",` + `}))}}),Fi=Ba("success",g("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},g("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},g("g",{"fill-rule":"nonzero"},g("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M32.6338835,17.6161165 C32.1782718,17.1605048 31.4584514,17.1301307 30.9676119,17.5249942 L30.8661165,17.6161165 L20.75,27.732233 L17.1338835,24.1161165 C16.6457281,23.6279612 15.8542719,23.6279612 15.3661165,24.1161165 C14.9105048,24.5717282 14.8801307,25.2915486 15.2749942,25.7823881 L15.3661165,25.8838835 L19.8661165,30.3838835 C20.3217282,30.8394952 21.0415486,30.8698693 21.5323881,30.4750058 L21.6338835,30.3838835 L32.6338835,19.3838835 C33.1220388,18.8957281 33.1220388,18.1042719 32.6338835,17.6161165 Z"}))))),Bi=Ba("warning",g("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},g("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},g("g",{"fill-rule":"nonzero"},g("path",{d:"M12,2 C17.523,2 22,6.478 22,12 C22,17.522 17.523,22 12,22 C6.477,22 2,17.522 2,12 C2,6.478 6.477,2 12,2 Z M12.0018002,15.0037242 C11.450254,15.0037242 11.0031376,15.4508407 11.0031376,16.0023869 C11.0031376,16.553933 11.450254,17.0010495 12.0018002,17.0010495 C12.5533463,17.0010495 13.0004628,16.553933 13.0004628,16.0023869 C13.0004628,15.4508407 12.5533463,15.0037242 12.0018002,15.0037242 Z M11.99964,7 C11.4868042,7.00018474 11.0642719,7.38637706 11.0066858,7.8837365 L11,8.00036004 L11.0018003,13.0012393 L11.00857,13.117858 C11.0665141,13.6151758 11.4893244,14.0010638 12.0021602,14.0008793 C12.514996,14.0006946 12.9375283,13.6145023 12.9951144,13.1171428 L13.0018002,13.0005193 L13,7.99964009 L12.9932303,7.8830214 C12.9352861,7.38570354 12.5124758,6.99981552 11.99964,7 Z"}))))),p_=ge({name:"ChevronDown",render(){return g("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))}}),GB=Ba("clear",g("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},g("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},g("g",{fill:"currentColor","fill-rule":"nonzero"},g("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"}))))),YB=ge({name:"ChevronDownFilled",render(){return g("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g("path",{d:"M3.20041 5.73966C3.48226 5.43613 3.95681 5.41856 4.26034 5.70041L8 9.22652L11.7397 5.70041C12.0432 5.41856 12.5177 5.43613 12.7996 5.73966C13.0815 6.0432 13.0639 6.51775 12.7603 6.7996L8.51034 10.7996C8.22258 11.0668 7.77743 11.0668 7.48967 10.7996L3.23966 6.7996C2.93613 6.51775 2.91856 6.0432 3.20041 5.73966Z",fill:"currentColor"}))}}),Ni=ge({name:"BaseIconSwitchTransition",setup(e,{slots:t}){const n=Xr();return()=>g(fn,{name:"icon-switch-transition",appear:n.value},t)}}),Eu=ge({name:"FadeInExpandTransition",props:{appear:Boolean,group:Boolean,mode:String,onLeave:Function,onAfterLeave:Function,onAfterEnter:Function,width:Boolean,reverse:Boolean},setup(e,{slots:t}){function n(s){e.width?s.style.maxWidth=`${s.offsetWidth}px`:s.style.maxHeight=`${s.offsetHeight}px`,s.offsetWidth}function o(s){e.width?s.style.maxWidth="0":s.style.maxHeight="0",s.offsetWidth;const{onLeave:l}=e;l&&l()}function r(s){e.width?s.style.maxWidth="":s.style.maxHeight="";const{onAfterLeave:l}=e;l&&l()}function i(s){if(s.style.transition="none",e.width){const l=s.offsetWidth;s.style.maxWidth="0",s.offsetWidth,s.style.transition="",s.style.maxWidth=`${l}px`}else if(e.reverse)s.style.maxHeight=`${s.offsetHeight}px`,s.offsetHeight,s.style.transition="",s.style.maxHeight="0";else{const l=s.offsetHeight;s.style.maxHeight="0",s.offsetWidth,s.style.transition="",s.style.maxHeight=`${l}px`}s.offsetWidth}function a(s){var l;e.width?s.style.maxWidth="":e.reverse||(s.style.maxHeight=""),(l=e.onAfterEnter)===null||l===void 0||l.call(e)}return()=>{const{group:s,width:l,appear:c,mode:u}=e,d=s?lP:fn,f={name:l?"fade-in-width-expand-transition":"fade-in-height-expand-transition",appear:c,onEnter:i,onAfterEnter:a,onBeforeLeave:n,onLeave:o,onAfterLeave:r};return s||(f.mode=u),g(d,f,t)}}}),XB=z("base-icon",` height: 1em; width: 1em; line-height: 1em; @@ -75,10 +92,10 @@ ${t} position: relative; fill: currentColor; transform: translateZ(0); -`,[U("svg",` +`,[q("svg",` height: 1em; width: 1em; - `)]),Ut=me({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){Yr("-base-icon",jB,je(e,"clsPrefix"))},render(){return v("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}}),VB=z("base-close",` + `)]),Ut=ge({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup(e){Zr("-base-icon",XB,Ve(e,"clsPrefix"))},render(){return g("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}}),ZB=z("base-close",` display: flex; align-items: center; justify-content: center; @@ -96,7 +113,7 @@ ${t} `,[Z("absolute",` height: var(--n-close-icon-size); width: var(--n-close-icon-size); - `),U("&::before",` + `),q("&::before",` content: ""; position: absolute; width: var(--n-close-size); @@ -106,23 +123,23 @@ ${t} transform: translateY(-50%) translateX(-50%); transition: inherit; border-radius: inherit; - `),Tt("disabled",[U("&:hover",` + `),Tt("disabled",[q("&:hover",` color: var(--n-close-icon-color-hover); - `),U("&:hover::before",` + `),q("&:hover::before",` background-color: var(--n-close-color-hover); - `),U("&:focus::before",` + `),q("&:focus::before",` background-color: var(--n-close-color-hover); - `),U("&:active",` + `),q("&:active",` color: var(--n-close-icon-color-pressed); - `),U("&:active::before",` + `),q("&:active::before",` background-color: var(--n-close-color-pressed); `)]),Z("disabled",` cursor: not-allowed; color: var(--n-close-icon-color-disabled); background-color: transparent; - `),Z("round",[U("&::before",` + `),Z("round",[q("&::before",` border-radius: 50%; - `)])]),ji=me({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 Yr("-base-close",VB,je(e,"clsPrefix")),()=>{const{clsPrefix:t,disabled:n,absolute:o,round:r,isButtonTag:i}=e;return v(i?"button":"div",{type:i?"button":void 0,tabindex:n||!e.focusable?-1:0,"aria-disabled":n,"aria-label":"close",role:i?void 0:"button",disabled:n,class:[`${t}-base-close`,o&&`${t}-base-close--absolute`,n&&`${t}-base-close--disabled`,r&&`${t}-base-close--round`],onMousedown:s=>{e.focusable||s.preventDefault()},onClick:e.onClick},v(Ut,{clsPrefix:t},{default:()=>v(MB,null)}))}}}),WB=me({props:{onFocus:Function,onBlur:Function},setup(e){return()=>v("div",{style:"width: 0; height: 0",tabindex:0,onFocus:e.onFocus,onBlur:e.onBlur})}}),{cubicBezierEaseInOut:UB}=co;function qn({originalTransform:e="",left:t=0,top:n=0,transition:o=`all .3s ${UB} !important`}={}){return[U("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:e+" scale(0.75)",left:t,top:n,opacity:0}),U("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${e}`,left:t,top:n,opacity:1}),U("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:t,top:n,transition:o})]}const qB=U([U("@keyframes rotator",` + `)])]),Hi=ge({name:"BaseClose",props:{isButtonTag:{type:Boolean,default:!0},clsPrefix:{type:String,required:!0},disabled:{type:Boolean,default:void 0},focusable:{type:Boolean,default:!0},round:Boolean,onClick:Function,absolute:Boolean},setup(e){return Zr("-base-close",ZB,Ve(e,"clsPrefix")),()=>{const{clsPrefix:t,disabled:n,absolute:o,round:r,isButtonTag:i}=e;return g(i?"button":"div",{type:i?"button":void 0,tabindex:n||!e.focusable?-1:0,"aria-disabled":n,"aria-label":"close",role:i?void 0:"button",disabled:n,class:[`${t}-base-close`,o&&`${t}-base-close--absolute`,n&&`${t}-base-close--disabled`,r&&`${t}-base-close--round`],onMousedown:s=>{e.focusable||s.preventDefault()},onClick:e.onClick},g(Ut,{clsPrefix:t},{default:()=>g(jB,null)}))}}}),JB=ge({props:{onFocus:Function,onBlur:Function},setup(e){return()=>g("div",{style:"width: 0; height: 0",tabindex:0,onFocus:e.onFocus,onBlur:e.onBlur})}}),{cubicBezierEaseInOut:QB}=co;function qn({originalTransform:e="",left:t=0,top:n=0,transition:o=`all .3s ${QB} !important`}={}){return[q("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:e+" scale(0.75)",left:t,top:n,opacity:0}),q("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${e}`,left:t,top:n,opacity:1}),q("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:t,top:n,transition:o})]}const eN=q([q("@keyframes rotator",` 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); @@ -149,7 +166,7 @@ ${t} `,[V("icon",` height: 1em; width: 1em; - `)])])]),Ld="1.6s",KB={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},Xr=me({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}},KB),setup(e){Yr("-base-loading",qB,je(e,"clsPrefix"))},render(){const{clsPrefix:e,radius:t,strokeWidth:n,stroke:o,scale:r}=this,i=t/r;return v("div",{class:`${e}-base-loading`,role:"img","aria-label":"loading"},v(Hi,null,{default:()=>this.show?v("div",{key:"icon",class:`${e}-base-loading__transition-wrapper`},v("div",{class:`${e}-base-loading__container`},v("svg",{class:`${e}-base-loading__icon`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},v("g",null,v("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};270 ${i} ${i}`,begin:"0s",dur:Ld,fill:"freeze",repeatCount:"indefinite"}),v("circle",{class:`${e}-base-loading__icon`,fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:i,cy:i,r:t-n/2,"stroke-dasharray":5.67*t,"stroke-dashoffset":18.48*t},v("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};135 ${i} ${i};450 ${i} ${i}`,begin:"0s",dur:Ld,fill:"freeze",repeatCount:"indefinite"}),v("animate",{attributeName:"stroke-dashoffset",values:`${5.67*t};${1.42*t};${5.67*t}`,begin:"0s",dur:Ld,fill:"freeze",repeatCount:"indefinite"})))))):v("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}});function C0(e){return Array.isArray(e)?e:[e]}const xh={STOP:"STOP"};function s_(e,t){const n=t(e);e.children!==void 0&&n!==xh.STOP&&e.children.forEach(o=>s_(o,t))}function GB(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 YB(e,t){const{isLeaf:n}=e;return n!==void 0?n:!t(e)}function XB(e){return e.children}function ZB(e){return e.key}function JB(){return!1}function QB(e,t){const{isLeaf:n}=e;return!(n===!1&&!Array.isArray(t(e)))}function eN(e){return e.disabled===!0}function tN(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function Fd(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function Bd(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function nN(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)||n.add(o)}),Array.from(n)}function oN(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)&&n.delete(o)}),Array.from(n)}function rN(e){return(e==null?void 0:e.type)==="group"}function iN(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 aN extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function sN(e,t,n,o){return Oc(t.concat(e),n,o,!1)}function lN(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 cN(e,t,n,o){const r=Oc(t,n,o,!1),i=Oc(e,n,o,!0),a=lN(e,n),s=[];return r.forEach(l=>{(i.has(l)||a.has(l))&&s.push(l)}),s.forEach(l=>r.delete(l)),r}function Nd(e,t){const{checkedKeys:n,keysToCheck:o,keysToUncheck:r,indeterminateKeys:i,cascade:a,leafOnly:s,checkStrategy:l,allowNotLoaded:c}=e;if(!a)return o!==void 0?{checkedKeys:nN(n,o),indeterminateKeys:Array.from(i)}:r!==void 0?{checkedKeys:oN(n,r),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(n),indeterminateKeys:Array.from(i)};const{levelTreeNodeMap:u}=t;let d;r!==void 0?d=cN(r,n,t,c):o!==void 0?d=sN(o,n,t,c):d=Oc(n,t,c,!1);const f=l==="parent",p=l==="child"||s,h=d,g=new Set,b=Math.max.apply(null,Array.from(u.keys()));for(let m=b;m>=0;m-=1){const x=m===0,S=u.get(m);for(const _ of S){if(_.isLeaf)continue;const{key:w,shallowLoaded:C}=_;if(p&&C&&_.children.forEach($=>{!$.disabled&&!$.isLeaf&&$.shallowLoaded&&h.has($.key)&&h.delete($.key)}),_.disabled||!C)continue;let y=!0,k=!1,R=!0;for(const $ of _.children){const I=$.key;if(!$.disabled){if(R&&(R=!1),h.has(I))k=!0;else if(g.has(I)){k=!0,y=!1;break}else if(y=!1,k)break}}y&&!R?(f&&_.children.forEach($=>{!$.disabled&&h.has($.key)&&h.delete($.key)}),h.add(w)):k&&g.add(w),x&&p&&h.has(w)&&h.delete(w)}}return{checkedKeys:Array.from(h),indeterminateKeys:Array.from(g)}}function Oc(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&&s_(c,u=>{if(u.disabled)return xh.STOP;const{key:d}=u;if(!a.has(d)&&(a.add(d),s.add(d),tN(u.rawNode,i))){if(o)return xh.STOP;if(!n)throw new aN}})}),s}function uN(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 dN(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function fN(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 w0(e,t,{loop:n=!1,includeDisabled:o=!1}={}){const r=t==="prev"?hN:fN,i={reverse:t==="prev"};let a=!1,s=null;function l(c){if(c!==null){if(c===e){if(!a)a=!0;else if(!e.disabled&&!e.isGroup){s=e;return}}else if((!c.disabled||o)&&!c.ignored&&!c.isGroup){s=c;return}if(c.isGroup){const u=Jp(c,i);u!==null?s=u:l(r(c,n))}else{const u=r(c,!1);if(u!==null)l(u);else{const d=pN(c);d!=null&&d.isGroup?l(r(d,n)):n&&l(r(c,!0))}}}}return l(e),s}function hN(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 pN(e){return e.parent}function Jp(e,t={}){const{reverse:n=!1}=t,{children:o}=e;if(o){const{length:r}=o,i=n?r-1:0,a=n?-1:r,s=n?-1:1;for(let l=i;l!==a;l+=s){const c=o[l];if(!c.disabled&&!c.ignored)if(c.isGroup){const u=Jp(c,t);if(u!==null)return u}else return c}}return null}const mN={getChild(){return this.ignored?null:Jp(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return w0(this,"next",e)},getPrev(e={}){return w0(this,"prev",e)}};function gN(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 vN(e,t){const n=e.key;for(;t;){if(t.key===n)return!0;t=t.parent}return!1}function l_(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=l_(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 bi(e,t={}){var n;const o=new Map,r=new Map,{getDisabled:i=eN,getIgnored:a=JB,getIsGroup:s=rN,getKey:l=ZB}=t,c=(n=t.getChildren)!==null&&n!==void 0?n:XB,u=t.ignoreEmptyChildren?_=>{const w=c(_);return Array.isArray(w)?w.length?w:null:w}:c,d=Object.assign({get key(){return l(this.rawNode)},get disabled(){return i(this.rawNode)},get isGroup(){return s(this.rawNode)},get isLeaf(){return YB(this.rawNode,u)},get shallowLoaded(){return QB(this.rawNode,u)},get ignored(){return a(this.rawNode)},contains(_){return vN(this,_)}},mN),f=l_(e,o,r,d,u);function p(_){if(_==null)return null;const w=o.get(_);return w&&!w.isGroup&&!w.ignored?w:null}function h(_){if(_==null)return null;const w=o.get(_);return w&&!w.ignored?w:null}function g(_,w){const C=h(_);return C?C.getPrev(w):null}function b(_,w){const C=h(_);return C?C.getNext(w):null}function m(_){const w=h(_);return w?w.getParent():null}function x(_){const w=h(_);return w?w.getChild():null}const S={treeNodes:f,treeNodeMap:o,levelTreeNodeMap:r,maxLevel:Math.max(...r.keys()),getChildren:u,getFlattenedNodes(_){return gN(f,_)},getNode:p,getPrev:g,getNext:b,getParent:m,getChild:x,getFirstAvailableNode(){return dN(f)},getPath(_,w={}){return uN(_,w,S)},getCheckedKeys(_,w={}){const{cascade:C=!0,leafOnly:y=!1,checkStrategy:k="all",allowNotLoaded:R=!1}=w;return Nd({checkedKeys:Fd(_),indeterminateKeys:Bd(_),cascade:C,leafOnly:y,checkStrategy:k,allowNotLoaded:R},S)},check(_,w,C={}){const{cascade:y=!0,leafOnly:k=!1,checkStrategy:R="all",allowNotLoaded:$=!1}=C;return Nd({checkedKeys:Fd(w),indeterminateKeys:Bd(w),keysToCheck:_==null?[]:C0(_),cascade:y,leafOnly:k,checkStrategy:R,allowNotLoaded:$},S)},uncheck(_,w,C={}){const{cascade:y=!0,leafOnly:k=!1,checkStrategy:R="all",allowNotLoaded:$=!1}=C;return Nd({checkedKeys:Fd(w),indeterminateKeys:Bd(w),keysToUncheck:_==null?[]:C0(_),cascade:y,leafOnly:k,checkStrategy:R,allowNotLoaded:$},S)},getNonLeafKeys(_={}){return GB(f,_)}};return S}const Ge={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)"},bN=Wo(Ge.neutralBase),c_=Wo(Ge.neutralInvertBase),yN="rgba("+c_.slice(0,3).join(", ")+", ";function Mt(e){return yN+String(e)+")"}function xN(e){const t=Array.from(c_);return t[3]=Number(e),tt(bN,t)}const CN=Object.assign(Object.assign({name:"common"},co),{baseColor:Ge.neutralBase,primaryColor:Ge.primaryDefault,primaryColorHover:Ge.primaryHover,primaryColorPressed:Ge.primaryActive,primaryColorSuppl:Ge.primarySuppl,infoColor:Ge.infoDefault,infoColorHover:Ge.infoHover,infoColorPressed:Ge.infoActive,infoColorSuppl:Ge.infoSuppl,successColor:Ge.successDefault,successColorHover:Ge.successHover,successColorPressed:Ge.successActive,successColorSuppl:Ge.successSuppl,warningColor:Ge.warningDefault,warningColorHover:Ge.warningHover,warningColorPressed:Ge.warningActive,warningColorSuppl:Ge.warningSuppl,errorColor:Ge.errorDefault,errorColorHover:Ge.errorHover,errorColorPressed:Ge.errorActive,errorColorSuppl:Ge.errorSuppl,textColorBase:Ge.neutralTextBase,textColor1:Mt(Ge.alpha1),textColor2:Mt(Ge.alpha2),textColor3:Mt(Ge.alpha3),textColorDisabled:Mt(Ge.alpha4),placeholderColor:Mt(Ge.alpha4),placeholderColorDisabled:Mt(Ge.alpha5),iconColor:Mt(Ge.alpha4),iconColorDisabled:Mt(Ge.alpha5),iconColorHover:Mt(Number(Ge.alpha4)*1.25),iconColorPressed:Mt(Number(Ge.alpha4)*.8),opacity1:Ge.alpha1,opacity2:Ge.alpha2,opacity3:Ge.alpha3,opacity4:Ge.alpha4,opacity5:Ge.alpha5,dividerColor:Mt(Ge.alphaDivider),borderColor:Mt(Ge.alphaBorder),closeIconColorHover:Mt(Number(Ge.alphaClose)),closeIconColor:Mt(Number(Ge.alphaClose)),closeIconColorPressed:Mt(Number(Ge.alphaClose)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:Mt(Ge.alpha4),clearColorHover:fn(Mt(Ge.alpha4),{alpha:1.25}),clearColorPressed:fn(Mt(Ge.alpha4),{alpha:.8}),scrollbarColor:Mt(Ge.alphaScrollbar),scrollbarColorHover:Mt(Ge.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Mt(Ge.alphaProgressRail),railColor:Mt(Ge.alphaRail),popoverColor:Ge.neutralPopover,tableColor:Ge.neutralCard,cardColor:Ge.neutralCard,modalColor:Ge.neutralModal,bodyColor:Ge.neutralBody,tagColor:xN(Ge.alphaTag),avatarColor:Mt(Ge.alphaAvatar),invertedColor:Ge.neutralBase,inputColor:Mt(Ge.alphaInput),codeColor:Mt(Ge.alphaCode),tabColor:Mt(Ge.alphaTab),actionColor:Mt(Ge.alphaAction),tableHeaderColor:Mt(Ge.alphaAction),hoverColor:Mt(Ge.alphaPending),tableColorHover:Mt(Ge.alphaTablePending),tableColorStriped:Mt(Ge.alphaTableStriped),pressedColor:Mt(Ge.alphaPressed),opacityDisabled:Ge.alphaDisabled,inputColorDisabled:Mt(Ge.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)"}),He=CN,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"},wN=Wo(st.neutralBase),u_=Wo(st.neutralInvertBase),_N="rgba("+u_.slice(0,3).join(", ")+", ";function _0(e){return _N+String(e)+")"}function Tn(e){const t=Array.from(u_);return t[3]=Number(e),tt(wN,t)}const SN=Object.assign(Object.assign({name:"common"},co),{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:Tn(st.alpha4),placeholderColor:Tn(st.alpha4),placeholderColorDisabled:Tn(st.alpha5),iconColor:Tn(st.alpha4),iconColorHover:fn(Tn(st.alpha4),{lightness:.75}),iconColorPressed:fn(Tn(st.alpha4),{lightness:.9}),iconColorDisabled:Tn(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:Tn(Number(st.alphaClose)),closeIconColorHover:Tn(Number(st.alphaClose)),closeIconColorPressed:Tn(Number(st.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:Tn(st.alpha4),clearColorHover:fn(Tn(st.alpha4),{lightness:.75}),clearColorPressed:fn(Tn(st.alpha4),{lightness:.9}),scrollbarColor:_0(st.alphaScrollbar),scrollbarColorHover:_0(st.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Tn(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:Tn(st.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:Tn(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)"}),bt=SN,kN={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"},d_=e=>{const{textColorDisabled:t,iconColor:n,textColor2:o,fontSizeSmall:r,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s}=e;return Object.assign(Object.assign({},kN),{fontSizeSmall:r,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s,textColor:t,iconColor:n,extraTextColor:o})},PN={name:"Empty",common:bt,self:d_},Ru=PN,TN={name:"Empty",common:He,self:d_},Vi=TN,RN=z("empty",` + `)])])]),Ld="1.6s",tN={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},Jr=ge({name:"BaseLoading",props:Object.assign({clsPrefix:{type:String,required:!0},show:{type:Boolean,default:!0},scale:{type:Number,default:1},radius:{type:Number,default:100}},tN),setup(e){Zr("-base-loading",eN,Ve(e,"clsPrefix"))},render(){const{clsPrefix:e,radius:t,strokeWidth:n,stroke:o,scale:r}=this,i=t/r;return g("div",{class:`${e}-base-loading`,role:"img","aria-label":"loading"},g(Ni,null,{default:()=>this.show?g("div",{key:"icon",class:`${e}-base-loading__transition-wrapper`},g("div",{class:`${e}-base-loading__container`},g("svg",{class:`${e}-base-loading__icon`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},g("g",null,g("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};270 ${i} ${i}`,begin:"0s",dur:Ld,fill:"freeze",repeatCount:"indefinite"}),g("circle",{class:`${e}-base-loading__icon`,fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:i,cy:i,r:t-n/2,"stroke-dasharray":5.67*t,"stroke-dashoffset":18.48*t},g("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};135 ${i} ${i};450 ${i} ${i}`,begin:"0s",dur:Ld,fill:"freeze",repeatCount:"indefinite"}),g("animate",{attributeName:"stroke-dashoffset",values:`${5.67*t};${1.42*t};${5.67*t}`,begin:"0s",dur:Ld,fill:"freeze",repeatCount:"indefinite"})))))):g("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}});function _0(e){return Array.isArray(e)?e:[e]}const wh={STOP:"STOP"};function m_(e,t){const n=t(e);e.children!==void 0&&n!==wh.STOP&&e.children.forEach(o=>m_(o,t))}function nN(e,t={}){const{preserveGroup:n=!1}=t,o=[],r=n?a=>{a.isLeaf||(o.push(a.key),i(a.children))}:a=>{a.isLeaf||(a.isGroup||o.push(a.key),i(a.children))};function i(a){a.forEach(r)}return i(e),o}function oN(e,t){const{isLeaf:n}=e;return n!==void 0?n:!t(e)}function rN(e){return e.children}function iN(e){return e.key}function aN(){return!1}function sN(e,t){const{isLeaf:n}=e;return!(n===!1&&!Array.isArray(t(e)))}function lN(e){return e.disabled===!0}function cN(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function Fd(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function Bd(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function uN(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)||n.add(o)}),Array.from(n)}function dN(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)&&n.delete(o)}),Array.from(n)}function fN(e){return(e==null?void 0:e.type)==="group"}function hN(e){const t=new Map;return e.forEach((n,o)=>{t.set(n.key,o)}),n=>{var o;return(o=t.get(n))!==null&&o!==void 0?o:null}}class pN extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function mN(e,t,n,o){return zc(t.concat(e),n,o,!1)}function gN(e,t){const n=new Set;return e.forEach(o=>{const r=t.treeNodeMap.get(o);if(r!==void 0){let i=r.parent;for(;i!==null&&!(i.disabled||n.has(i.key));)n.add(i.key),i=i.parent}}),n}function vN(e,t,n,o){const r=zc(t,n,o,!1),i=zc(e,n,o,!0),a=gN(e,n),s=[];return r.forEach(l=>{(i.has(l)||a.has(l))&&s.push(l)}),s.forEach(l=>r.delete(l)),r}function Nd(e,t){const{checkedKeys:n,keysToCheck:o,keysToUncheck:r,indeterminateKeys:i,cascade:a,leafOnly:s,checkStrategy:l,allowNotLoaded:c}=e;if(!a)return o!==void 0?{checkedKeys:uN(n,o),indeterminateKeys:Array.from(i)}:r!==void 0?{checkedKeys:dN(n,r),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(n),indeterminateKeys:Array.from(i)};const{levelTreeNodeMap:u}=t;let d;r!==void 0?d=vN(r,n,t,c):o!==void 0?d=mN(o,n,t,c):d=zc(n,t,c,!1);const f=l==="parent",p=l==="child"||s,h=d,m=new Set,v=Math.max.apply(null,Array.from(u.keys()));for(let b=v;b>=0;b-=1){const w=b===0,C=u.get(b);for(const S of C){if(S.isLeaf)continue;const{key:_,shallowLoaded:x}=S;if(p&&x&&S.children.forEach(T=>{!T.disabled&&!T.isLeaf&&T.shallowLoaded&&h.has(T.key)&&h.delete(T.key)}),S.disabled||!x)continue;let y=!0,k=!1,P=!0;for(const T of S.children){const $=T.key;if(!T.disabled){if(P&&(P=!1),h.has($))k=!0;else if(m.has($)){k=!0,y=!1;break}else if(y=!1,k)break}}y&&!P?(f&&S.children.forEach(T=>{!T.disabled&&h.has(T.key)&&h.delete(T.key)}),h.add(_)):k&&m.add(_),w&&p&&h.has(_)&&h.delete(_)}}return{checkedKeys:Array.from(h),indeterminateKeys:Array.from(m)}}function zc(e,t,n,o){const{treeNodeMap:r,getChildren:i}=t,a=new Set,s=new Set(e);return e.forEach(l=>{const c=r.get(l);c!==void 0&&m_(c,u=>{if(u.disabled)return wh.STOP;const{key:d}=u;if(!a.has(d)&&(a.add(d),s.add(d),cN(u.rawNode,i))){if(o)return wh.STOP;if(!n)throw new pN}})}),s}function bN(e,{includeGroup:t=!1,includeSelf:n=!0},o){var r;const i=o.treeNodeMap;let a=e==null?null:(r=i.get(e))!==null&&r!==void 0?r:null;const s={keyPath:[],treeNodePath:[],treeNode:a};if(a!=null&&a.ignored)return s.treeNode=null,s;for(;a;)!a.ignored&&(t||!a.isGroup)&&s.treeNodePath.push(a),a=a.parent;return s.treeNodePath.reverse(),n||s.treeNodePath.pop(),s.keyPath=s.treeNodePath.map(l=>l.key),s}function yN(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function xN(e,t){const n=e.siblings,o=n.length,{index:r}=e;return t?n[(r+1)%o]:r===n.length-1?null:n[r+1]}function S0(e,t,{loop:n=!1,includeDisabled:o=!1}={}){const r=t==="prev"?CN:xN,i={reverse:t==="prev"};let a=!1,s=null;function l(c){if(c!==null){if(c===e){if(!a)a=!0;else if(!e.disabled&&!e.isGroup){s=e;return}}else if((!c.disabled||o)&&!c.ignored&&!c.isGroup){s=c;return}if(c.isGroup){const u=Jp(c,i);u!==null?s=u:l(r(c,n))}else{const u=r(c,!1);if(u!==null)l(u);else{const d=wN(c);d!=null&&d.isGroup?l(r(d,n)):n&&l(r(c,!0))}}}}return l(e),s}function CN(e,t){const n=e.siblings,o=n.length,{index:r}=e;return t?n[(r-1+o)%o]:r===0?null:n[r-1]}function wN(e){return e.parent}function Jp(e,t={}){const{reverse:n=!1}=t,{children:o}=e;if(o){const{length:r}=o,i=n?r-1:0,a=n?-1:r,s=n?-1:1;for(let l=i;l!==a;l+=s){const c=o[l];if(!c.disabled&&!c.ignored)if(c.isGroup){const u=Jp(c,t);if(u!==null)return u}else return c}}return null}const _N={getChild(){return this.ignored?null:Jp(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return S0(this,"next",e)},getPrev(e={}){return S0(this,"prev",e)}};function SN(e,t){const n=t?new Set(t):void 0,o=[];function r(i){i.forEach(a=>{o.push(a),!(a.isLeaf||!a.children||a.ignored)&&(a.isGroup||n===void 0||n.has(a.key))&&r(a.children)})}return r(e),o}function kN(e,t){const n=e.key;for(;t;){if(t.key===n)return!0;t=t.parent}return!1}function g_(e,t,n,o,r,i=null,a=0){const s=[];return e.forEach((l,c)=>{var u;const d=Object.create(o);if(d.rawNode=l,d.siblings=s,d.level=a,d.index=c,d.isFirstChild=c===0,d.isLastChild=c+1===e.length,d.parent=i,!d.ignored){const f=r(l);Array.isArray(f)&&(d.children=g_(f,t,n,o,r,d,a+1))}s.push(d),t.set(d.key,d),n.has(a)||n.set(a,[]),(u=n.get(a))===null||u===void 0||u.push(d)}),s}function wi(e,t={}){var n;const o=new Map,r=new Map,{getDisabled:i=lN,getIgnored:a=aN,getIsGroup:s=fN,getKey:l=iN}=t,c=(n=t.getChildren)!==null&&n!==void 0?n:rN,u=t.ignoreEmptyChildren?S=>{const _=c(S);return Array.isArray(_)?_.length?_:null:_}:c,d=Object.assign({get key(){return l(this.rawNode)},get disabled(){return i(this.rawNode)},get isGroup(){return s(this.rawNode)},get isLeaf(){return oN(this.rawNode,u)},get shallowLoaded(){return sN(this.rawNode,u)},get ignored(){return a(this.rawNode)},contains(S){return kN(this,S)}},_N),f=g_(e,o,r,d,u);function p(S){if(S==null)return null;const _=o.get(S);return _&&!_.isGroup&&!_.ignored?_:null}function h(S){if(S==null)return null;const _=o.get(S);return _&&!_.ignored?_:null}function m(S,_){const x=h(S);return x?x.getPrev(_):null}function v(S,_){const x=h(S);return x?x.getNext(_):null}function b(S){const _=h(S);return _?_.getParent():null}function w(S){const _=h(S);return _?_.getChild():null}const C={treeNodes:f,treeNodeMap:o,levelTreeNodeMap:r,maxLevel:Math.max(...r.keys()),getChildren:u,getFlattenedNodes(S){return SN(f,S)},getNode:p,getPrev:m,getNext:v,getParent:b,getChild:w,getFirstAvailableNode(){return yN(f)},getPath(S,_={}){return bN(S,_,C)},getCheckedKeys(S,_={}){const{cascade:x=!0,leafOnly:y=!1,checkStrategy:k="all",allowNotLoaded:P=!1}=_;return Nd({checkedKeys:Fd(S),indeterminateKeys:Bd(S),cascade:x,leafOnly:y,checkStrategy:k,allowNotLoaded:P},C)},check(S,_,x={}){const{cascade:y=!0,leafOnly:k=!1,checkStrategy:P="all",allowNotLoaded:T=!1}=x;return Nd({checkedKeys:Fd(_),indeterminateKeys:Bd(_),keysToCheck:S==null?[]:_0(S),cascade:y,leafOnly:k,checkStrategy:P,allowNotLoaded:T},C)},uncheck(S,_,x={}){const{cascade:y=!0,leafOnly:k=!1,checkStrategy:P="all",allowNotLoaded:T=!1}=x;return Nd({checkedKeys:Fd(_),indeterminateKeys:Bd(_),keysToUncheck:S==null?[]:_0(S),cascade:y,leafOnly:k,checkStrategy:P,allowNotLoaded:T},C)},getNonLeafKeys(S={}){return nN(f,S)}};return C}const Ye={neutralBase:"#000",neutralInvertBase:"#fff",neutralTextBase:"#fff",neutralPopover:"rgb(72, 72, 78)",neutralCard:"rgb(24, 24, 28)",neutralModal:"rgb(44, 44, 50)",neutralBody:"rgb(16, 16, 20)",alpha1:"0.9",alpha2:"0.82",alpha3:"0.52",alpha4:"0.38",alpha5:"0.28",alphaClose:"0.52",alphaDisabled:"0.38",alphaDisabledInput:"0.06",alphaPending:"0.09",alphaTablePending:"0.06",alphaTableStriped:"0.05",alphaPressed:"0.05",alphaAvatar:"0.18",alphaRail:"0.2",alphaProgressRail:"0.12",alphaBorder:"0.24",alphaDivider:"0.09",alphaInput:"0.1",alphaAction:"0.06",alphaTab:"0.04",alphaScrollbar:"0.2",alphaScrollbarHover:"0.3",alphaCode:"0.12",alphaTag:"0.2",primaryHover:"#7fe7c4",primaryDefault:"#63e2b7",primaryActive:"#5acea7",primarySuppl:"rgb(42, 148, 125)",infoHover:"#8acbec",infoDefault:"#70c0e8",infoActive:"#66afd3",infoSuppl:"rgb(56, 137, 197)",errorHover:"#e98b8b",errorDefault:"#e88080",errorActive:"#e57272",errorSuppl:"rgb(208, 58, 82)",warningHover:"#f5d599",warningDefault:"#f2c97d",warningActive:"#e6c260",warningSuppl:"rgb(240, 138, 0)",successHover:"#7fe7c4",successDefault:"#63e2b7",successActive:"#5acea7",successSuppl:"rgb(42, 148, 125)"},PN=jo(Ye.neutralBase),v_=jo(Ye.neutralInvertBase),TN="rgba("+v_.slice(0,3).join(", ")+", ";function Ot(e){return TN+String(e)+")"}function RN(e){const t=Array.from(v_);return t[3]=Number(e),et(PN,t)}const EN=Object.assign(Object.assign({name:"common"},co),{baseColor:Ye.neutralBase,primaryColor:Ye.primaryDefault,primaryColorHover:Ye.primaryHover,primaryColorPressed:Ye.primaryActive,primaryColorSuppl:Ye.primarySuppl,infoColor:Ye.infoDefault,infoColorHover:Ye.infoHover,infoColorPressed:Ye.infoActive,infoColorSuppl:Ye.infoSuppl,successColor:Ye.successDefault,successColorHover:Ye.successHover,successColorPressed:Ye.successActive,successColorSuppl:Ye.successSuppl,warningColor:Ye.warningDefault,warningColorHover:Ye.warningHover,warningColorPressed:Ye.warningActive,warningColorSuppl:Ye.warningSuppl,errorColor:Ye.errorDefault,errorColorHover:Ye.errorHover,errorColorPressed:Ye.errorActive,errorColorSuppl:Ye.errorSuppl,textColorBase:Ye.neutralTextBase,textColor1:Ot(Ye.alpha1),textColor2:Ot(Ye.alpha2),textColor3:Ot(Ye.alpha3),textColorDisabled:Ot(Ye.alpha4),placeholderColor:Ot(Ye.alpha4),placeholderColorDisabled:Ot(Ye.alpha5),iconColor:Ot(Ye.alpha4),iconColorDisabled:Ot(Ye.alpha5),iconColorHover:Ot(Number(Ye.alpha4)*1.25),iconColorPressed:Ot(Number(Ye.alpha4)*.8),opacity1:Ye.alpha1,opacity2:Ye.alpha2,opacity3:Ye.alpha3,opacity4:Ye.alpha4,opacity5:Ye.alpha5,dividerColor:Ot(Ye.alphaDivider),borderColor:Ot(Ye.alphaBorder),closeIconColorHover:Ot(Number(Ye.alphaClose)),closeIconColor:Ot(Number(Ye.alphaClose)),closeIconColorPressed:Ot(Number(Ye.alphaClose)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:Ot(Ye.alpha4),clearColorHover:un(Ot(Ye.alpha4),{alpha:1.25}),clearColorPressed:un(Ot(Ye.alpha4),{alpha:.8}),scrollbarColor:Ot(Ye.alphaScrollbar),scrollbarColorHover:Ot(Ye.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Ot(Ye.alphaProgressRail),railColor:Ot(Ye.alphaRail),popoverColor:Ye.neutralPopover,tableColor:Ye.neutralCard,cardColor:Ye.neutralCard,modalColor:Ye.neutralModal,bodyColor:Ye.neutralBody,tagColor:RN(Ye.alphaTag),avatarColor:Ot(Ye.alphaAvatar),invertedColor:Ye.neutralBase,inputColor:Ot(Ye.alphaInput),codeColor:Ot(Ye.alphaCode),tabColor:Ot(Ye.alphaTab),actionColor:Ot(Ye.alphaAction),tableHeaderColor:Ot(Ye.alphaAction),hoverColor:Ot(Ye.alphaPending),tableColorHover:Ot(Ye.alphaTablePending),tableColorStriped:Ot(Ye.alphaTableStriped),pressedColor:Ot(Ye.alphaPressed),opacityDisabled:Ye.alphaDisabled,inputColorDisabled:Ot(Ye.alphaDisabledInput),buttonColor2:"rgba(255, 255, 255, .08)",buttonColor2Hover:"rgba(255, 255, 255, .12)",buttonColor2Pressed:"rgba(255, 255, 255, .08)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),Ne=EN,lt={neutralBase:"#FFF",neutralInvertBase:"#000",neutralTextBase:"#000",neutralPopover:"#fff",neutralCard:"#fff",neutralModal:"#fff",neutralBody:"#fff",alpha1:"0.82",alpha2:"0.72",alpha3:"0.38",alpha4:"0.24",alpha5:"0.18",alphaClose:"0.6",alphaDisabled:"0.5",alphaDisabledInput:"0.02",alphaPending:"0.05",alphaTablePending:"0.02",alphaPressed:"0.07",alphaAvatar:"0.2",alphaRail:"0.14",alphaProgressRail:".08",alphaBorder:"0.12",alphaDivider:"0.06",alphaInput:"0",alphaAction:"0.02",alphaTab:"0.04",alphaScrollbar:"0.25",alphaScrollbarHover:"0.4",alphaCode:"0.05",alphaTag:"0.02",primaryHover:"#36ad6a",primaryDefault:"#18a058",primaryActive:"#0c7a43",primarySuppl:"#36ad6a",infoHover:"#4098fc",infoDefault:"#2080f0",infoActive:"#1060c9",infoSuppl:"#4098fc",errorHover:"#de576d",errorDefault:"#d03050",errorActive:"#ab1f3f",errorSuppl:"#de576d",warningHover:"#fcb040",warningDefault:"#f0a020",warningActive:"#c97c10",warningSuppl:"#fcb040",successHover:"#36ad6a",successDefault:"#18a058",successActive:"#0c7a43",successSuppl:"#36ad6a"},$N=jo(lt.neutralBase),b_=jo(lt.neutralInvertBase),AN="rgba("+b_.slice(0,3).join(", ")+", ";function k0(e){return AN+String(e)+")"}function Tn(e){const t=Array.from(b_);return t[3]=Number(e),et($N,t)}const IN=Object.assign(Object.assign({name:"common"},co),{baseColor:lt.neutralBase,primaryColor:lt.primaryDefault,primaryColorHover:lt.primaryHover,primaryColorPressed:lt.primaryActive,primaryColorSuppl:lt.primarySuppl,infoColor:lt.infoDefault,infoColorHover:lt.infoHover,infoColorPressed:lt.infoActive,infoColorSuppl:lt.infoSuppl,successColor:lt.successDefault,successColorHover:lt.successHover,successColorPressed:lt.successActive,successColorSuppl:lt.successSuppl,warningColor:lt.warningDefault,warningColorHover:lt.warningHover,warningColorPressed:lt.warningActive,warningColorSuppl:lt.warningSuppl,errorColor:lt.errorDefault,errorColorHover:lt.errorHover,errorColorPressed:lt.errorActive,errorColorSuppl:lt.errorSuppl,textColorBase:lt.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:Tn(lt.alpha4),placeholderColor:Tn(lt.alpha4),placeholderColorDisabled:Tn(lt.alpha5),iconColor:Tn(lt.alpha4),iconColorHover:un(Tn(lt.alpha4),{lightness:.75}),iconColorPressed:un(Tn(lt.alpha4),{lightness:.9}),iconColorDisabled:Tn(lt.alpha5),opacity1:lt.alpha1,opacity2:lt.alpha2,opacity3:lt.alpha3,opacity4:lt.alpha4,opacity5:lt.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:Tn(Number(lt.alphaClose)),closeIconColorHover:Tn(Number(lt.alphaClose)),closeIconColorPressed:Tn(Number(lt.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:Tn(lt.alpha4),clearColorHover:un(Tn(lt.alpha4),{lightness:.75}),clearColorPressed:un(Tn(lt.alpha4),{lightness:.9}),scrollbarColor:k0(lt.alphaScrollbar),scrollbarColorHover:k0(lt.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Tn(lt.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:lt.neutralPopover,tableColor:lt.neutralCard,cardColor:lt.neutralCard,modalColor:lt.neutralModal,bodyColor:lt.neutralBody,tagColor:"#eee",avatarColor:Tn(lt.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:Tn(lt.alphaInput),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:lt.alphaDisabled,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),bt=IN,ON={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"},y_=e=>{const{textColorDisabled:t,iconColor:n,textColor2:o,fontSizeSmall:r,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s}=e;return Object.assign(Object.assign({},ON),{fontSizeSmall:r,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s,textColor:t,iconColor:n,extraTextColor:o})},MN={name:"Empty",common:bt,self:y_},$u=MN,zN={name:"Empty",common:Ne,self:y_},ji=zN,DN=z("empty",` display: flex; flex-direction: column; align-items: center; @@ -162,7 +179,7 @@ ${t} color: var(--n-icon-color); transition: color .3s var(--n-bezier); - `,[U("+",[V("description",` + `,[q("+",[V("description",` margin-top: 8px; `)])]),V("description",` transition: color .3s var(--n-bezier); @@ -172,27 +189,27 @@ ${t} transition: color .3s var(--n-bezier); margin-top: 12px; color: var(--n-extra-text-color); - `)]),$N=Object.assign(Object.assign({},Be.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function}),f_=me({name:"Empty",props:$N,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=it(e),o=Be("Empty","-empty",RN,Ru,e,t),{localeRef:r}=Li("Empty"),i=We(wo,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)||(()=>v(LB,null))}),l=L(()=>{const{size:u}=e,{common:{cubicBezierEaseInOut:d},self:{[ke("iconSize",u)]:f,[ke("fontSize",u)]:p,textColor:h,iconColor:g,extraTextColor:b}}=o.value;return{"--n-icon-size":f,"--n-font-size":p,"--n-bezier":d,"--n-text-color":h,"--n-icon-color":g,"--n-extra-text-color":b}}),c=n?kt("empty",L(()=>{let u="";const{size:d}=e;return u+=d[0],u}),l,e):void 0;return{mergedClsPrefix:t,mergedRenderIcon:s,localizedDescription:L(()=>a.value||r.value.description),cssVars:n?void 0:l,themeClass:c==null?void 0:c.themeClass,onRender:c==null?void 0:c.onRender}},render(){const{$slots:e,mergedClsPrefix:t,onRender:n}=this;return n==null||n(),v("div",{class:[`${t}-empty`,this.themeClass],style:this.cssVars},this.showIcon?v("div",{class:`${t}-empty__icon`},e.icon?e.icon():v(Ut,{clsPrefix:t},{default:this.mergedRenderIcon})):null,this.showDescription?v("div",{class:`${t}-empty__description`},e.default?e.default():this.localizedDescription):null,e.extra?v("div",{class:`${t}-empty__extra`},e.extra()):null)}}),h_=e=>{const{scrollbarColor:t,scrollbarColorHover:n}=e;return{color:t,colorHover:n}},EN={name:"Scrollbar",common:bt,self:h_},Wi=EN,AN={name:"Scrollbar",common:He,self:h_},jn=AN,{cubicBezierEaseInOut:S0}=co;function sl({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:n="0.2s",enterCubicBezier:o=S0,leaveCubicBezier:r=S0}={}){return[U(`&.${e}-transition-enter-active`,{transition:`all ${t} ${o}!important`}),U(`&.${e}-transition-leave-active`,{transition:`all ${n} ${r}!important`}),U(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),U(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}const IN=z("scrollbar",` + `)]),LN=Object.assign(Object.assign({},Be.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function}),x_=ge({name:"Empty",props:LN,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Empty","-empty",DN,$u,e,t),{localeRef:r}=Di("Empty"),i=We(ko,null),a=L(()=>{var u,d,f;return(u=e.description)!==null&&u!==void 0?u:(f=(d=i==null?void 0:i.mergedComponentPropsRef.value)===null||d===void 0?void 0:d.Empty)===null||f===void 0?void 0:f.description}),s=L(()=>{var u,d;return((d=(u=i==null?void 0:i.mergedComponentPropsRef.value)===null||u===void 0?void 0:u.Empty)===null||d===void 0?void 0:d.renderIcon)||(()=>g(UB,null))}),l=L(()=>{const{size:u}=e,{common:{cubicBezierEaseInOut:d},self:{[Te("iconSize",u)]:f,[Te("fontSize",u)]:p,textColor:h,iconColor:m,extraTextColor:v}}=o.value;return{"--n-icon-size":f,"--n-font-size":p,"--n-bezier":d,"--n-text-color":h,"--n-icon-color":m,"--n-extra-text-color":v}}),c=n?kt("empty",L(()=>{let u="";const{size:d}=e;return u+=d[0],u}),l,e):void 0;return{mergedClsPrefix:t,mergedRenderIcon:s,localizedDescription:L(()=>a.value||r.value.description),cssVars:n?void 0:l,themeClass:c==null?void 0:c.themeClass,onRender:c==null?void 0:c.onRender}},render(){const{$slots:e,mergedClsPrefix:t,onRender:n}=this;return n==null||n(),g("div",{class:[`${t}-empty`,this.themeClass],style:this.cssVars},this.showIcon?g("div",{class:`${t}-empty__icon`},e.icon?e.icon():g(Ut,{clsPrefix:t},{default:this.mergedRenderIcon})):null,this.showDescription?g("div",{class:`${t}-empty__description`},e.default?e.default():this.localizedDescription):null,e.extra?g("div",{class:`${t}-empty__extra`},e.extra()):null)}}),C_=e=>{const{scrollbarColor:t,scrollbarColorHover:n}=e;return{color:t,colorHover:n}},FN={name:"Scrollbar",common:bt,self:C_},Vi=FN,BN={name:"Scrollbar",common:Ne,self:C_},Vn=BN,{cubicBezierEaseInOut:P0}=co;function cl({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:n="0.2s",enterCubicBezier:o=P0,leaveCubicBezier:r=P0}={}){return[q(`&.${e}-transition-enter-active`,{transition:`all ${t} ${o}!important`}),q(`&.${e}-transition-leave-active`,{transition:`all ${n} ${r}!important`}),q(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),q(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}const NN=z("scrollbar",` overflow: hidden; position: relative; z-index: auto; height: 100%; width: 100%; -`,[U(">",[z("scrollbar-container",` +`,[q(">",[z("scrollbar-container",` width: 100%; overflow: scroll; height: 100%; min-height: inherit; max-height: inherit; scrollbar-width: none; - `,[U("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",` + `,[q("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",` width: 0; height: 0; display: none; - `),U(">",[z("scrollbar-content",` + `),q(">",[z("scrollbar-content",` box-sizing: border-box; min-width: 100%; - `)])])]),U(">, +",[z("scrollbar-rail",` + `)])])]),q(">, +",[z("scrollbar-rail",` position: absolute; pointer-events: none; user-select: none; @@ -202,7 +219,7 @@ ${t} right: 2px; bottom: 4px; height: var(--n-scrollbar-height); - `,[U(">",[V("scrollbar",` + `,[q(">",[V("scrollbar",` height: var(--n-scrollbar-height); border-radius: var(--n-scrollbar-border-radius); right: 0; @@ -211,18 +228,18 @@ ${t} top: 2px; bottom: 2px; width: var(--n-scrollbar-width); - `,[U(">",[V("scrollbar",` + `,[q(">",[V("scrollbar",` width: var(--n-scrollbar-width); border-radius: var(--n-scrollbar-border-radius); bottom: 0; - `)])]),Z("disabled",[U(">",[V("scrollbar","pointer-events: none;")])]),U(">",[V("scrollbar",` + `)])]),Z("disabled",[q(">",[V("scrollbar","pointer-events: none;")])]),q(">",[V("scrollbar",` z-index: 1; position: absolute; cursor: pointer; pointer-events: all; background-color: var(--n-scrollbar-color); transition: background-color .2s var(--n-scrollbar-bezier); - `,[sl(),U("&:hover","background-color: var(--n-scrollbar-color-hover);")])])])])]),ON=Object.assign(Object.assign({},Be.props),{size:{type:Number,default:5},duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean}),p_=me({name:"Scrollbar",props:ON,inheritAttrs:!1,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=it(e),r=pn("Scrollbar",o,t),i=F(null),a=F(null),s=F(null),l=F(null),c=F(null),u=F(null),d=F(null),f=F(null),p=F(null),h=F(null),g=F(null),b=F(0),m=F(0),x=F(!1),S=F(!1);let _=!1,w=!1,C,y,k=0,R=0,$=0,I=0;const A=M6(),K=L(()=>{const{value:X}=f,{value:pe}=u,{value:$e}=h;return X===null||pe===null||$e===null?0:Math.min(X,$e*X/pe+e.size*1.5)}),B=L(()=>`${K.value}px`),M=L(()=>{const{value:X}=p,{value:pe}=d,{value:$e}=g;return X===null||pe===null||$e===null?0:$e*X/pe+e.size*1.5}),D=L(()=>`${M.value}px`),Y=L(()=>{const{value:X}=f,{value:pe}=b,{value:$e}=u,{value:qe}=h;if(X===null||$e===null||qe===null)return 0;{const Xe=$e-X;return Xe?pe/Xe*(qe-K.value):0}}),Q=L(()=>`${Y.value}px`),ue=L(()=>{const{value:X}=p,{value:pe}=m,{value:$e}=d,{value:qe}=g;if(X===null||$e===null||qe===null)return 0;{const Xe=$e-X;return Xe?pe/Xe*(qe-M.value):0}}),le=L(()=>`${ue.value}px`),N=L(()=>{const{value:X}=f,{value:pe}=u;return X!==null&&pe!==null&&pe>X}),E=L(()=>{const{value:X}=p,{value:pe}=d;return X!==null&&pe!==null&&pe>X}),O=L(()=>{const{trigger:X}=e;return X==="none"||x.value}),q=L(()=>{const{trigger:X}=e;return X==="none"||S.value}),ne=L(()=>{const{container:X}=e;return X?X():a.value}),ve=L(()=>{const{content:X}=e;return X?X():s.value}),J=Fp(()=>{e.container||ge({top:b.value,left:m.value})}),be=()=>{J.isDeactivated||de()},H=X=>{if(J.isDeactivated)return;const{onResize:pe}=e;pe&&pe(X),de()},ge=(X,pe)=>{if(!e.scrollable)return;if(typeof X=="number"){Le(pe??0,X,0,!1,"auto");return}const{left:$e,top:qe,index:Xe,elSize:Ze,position:nt,behavior:rt,el:yt,debounce:on=!0}=X;($e!==void 0||qe!==void 0)&&Le($e??0,qe??0,0,!1,rt),yt!==void 0?Le(0,yt.offsetTop,yt.offsetHeight,on,rt):Xe!==void 0&&Ze!==void 0?Le(0,Xe*Ze,Ze,on,rt):nt==="bottom"?Le(0,Number.MAX_SAFE_INTEGER,0,!1,rt):nt==="top"&&Le(0,0,0,!1,rt)},Ie=(X,pe)=>{if(!e.scrollable)return;const{value:$e}=ne;$e&&(typeof X=="object"?$e.scrollBy(X):$e.scrollBy(X,pe||0))};function Le(X,pe,$e,qe,Xe){const{value:Ze}=ne;if(Ze){if(qe){const{scrollTop:nt,offsetHeight:rt}=Ze;if(pe>nt){pe+$e<=nt+rt||Ze.scrollTo({left:X,top:pe+$e-rt,behavior:Xe});return}}Ze.scrollTo({left:X,top:pe,behavior:Xe})}}function P(){se(),xe(),de()}function T(){W()}function W(){oe(),G()}function oe(){y!==void 0&&window.clearTimeout(y),y=window.setTimeout(()=>{S.value=!1},e.duration)}function G(){C!==void 0&&window.clearTimeout(C),C=window.setTimeout(()=>{x.value=!1},e.duration)}function se(){C!==void 0&&window.clearTimeout(C),x.value=!0}function xe(){y!==void 0&&window.clearTimeout(y),S.value=!0}function ye(X){const{onScroll:pe}=e;pe&&pe(X),Ce()}function Ce(){const{value:X}=ne;X&&(b.value=X.scrollTop,m.value=X.scrollLeft*(r!=null&&r.value?-1:1))}function we(){const{value:X}=ve;X&&(u.value=X.offsetHeight,d.value=X.offsetWidth);const{value:pe}=ne;pe&&(f.value=pe.offsetHeight,p.value=pe.offsetWidth);const{value:$e}=c,{value:qe}=l;$e&&(g.value=$e.offsetWidth),qe&&(h.value=qe.offsetHeight)}function Ee(){const{value:X}=ne;X&&(b.value=X.scrollTop,m.value=X.scrollLeft*(r!=null&&r.value?-1:1),f.value=X.offsetHeight,p.value=X.offsetWidth,u.value=X.scrollHeight,d.value=X.scrollWidth);const{value:pe}=c,{value:$e}=l;pe&&(g.value=pe.offsetWidth),$e&&(h.value=$e.offsetHeight)}function de(){e.scrollable&&(e.useUnifiedContainer?Ee():(we(),Ce()))}function ee(X){var pe;return!(!((pe=i.value)===null||pe===void 0)&&pe.contains(wi(X)))}function fe(X){X.preventDefault(),X.stopPropagation(),w=!0,Ot("mousemove",window,Te,!0),Ot("mouseup",window,Fe,!0),R=m.value,$=r!=null&&r.value?window.innerWidth-X.clientX:X.clientX}function Te(X){if(!w)return;C!==void 0&&window.clearTimeout(C),y!==void 0&&window.clearTimeout(y);const{value:pe}=p,{value:$e}=d,{value:qe}=M;if(pe===null||$e===null)return;const Ze=(r!=null&&r.value?window.innerWidth-X.clientX-$:X.clientX-$)*($e-pe)/(pe-qe),nt=$e-pe;let rt=R+Ze;rt=Math.min(nt,rt),rt=Math.max(rt,0);const{value:yt}=ne;if(yt){yt.scrollLeft=rt*(r!=null&&r.value?-1:1);const{internalOnUpdateScrollLeft:on}=e;on&&on(rt)}}function Fe(X){X.preventDefault(),X.stopPropagation(),Pt("mousemove",window,Te,!0),Pt("mouseup",window,Fe,!0),w=!1,de(),ee(X)&&W()}function Ye(X){X.preventDefault(),X.stopPropagation(),_=!0,Ot("mousemove",window,Se,!0),Ot("mouseup",window,De,!0),k=b.value,I=X.clientY}function Se(X){if(!_)return;C!==void 0&&window.clearTimeout(C),y!==void 0&&window.clearTimeout(y);const{value:pe}=f,{value:$e}=u,{value:qe}=K;if(pe===null||$e===null)return;const Ze=(X.clientY-I)*($e-pe)/(pe-qe),nt=$e-pe;let rt=k+Ze;rt=Math.min(nt,rt),rt=Math.max(rt,0);const{value:yt}=ne;yt&&(yt.scrollTop=rt)}function De(X){X.preventDefault(),X.stopPropagation(),Pt("mousemove",window,Se,!0),Pt("mouseup",window,De,!0),_=!1,de(),ee(X)&&W()}nn(()=>{const{value:X}=E,{value:pe}=N,{value:$e}=t,{value:qe}=c,{value:Xe}=l;qe&&(X?qe.classList.remove(`${$e}-scrollbar-rail--disabled`):qe.classList.add(`${$e}-scrollbar-rail--disabled`)),Xe&&(pe?Xe.classList.remove(`${$e}-scrollbar-rail--disabled`):Xe.classList.add(`${$e}-scrollbar-rail--disabled`))}),Ft(()=>{e.container||de()}),rn(()=>{C!==void 0&&window.clearTimeout(C),y!==void 0&&window.clearTimeout(y),Pt("mousemove",window,Se,!0),Pt("mouseup",window,De,!0)});const Ue=Be("Scrollbar","-scrollbar",IN,Wi,e,t),Ae=L(()=>{const{common:{cubicBezierEaseInOut:X,scrollbarBorderRadius:pe,scrollbarHeight:$e,scrollbarWidth:qe},self:{color:Xe,colorHover:Ze}}=Ue.value;return{"--n-scrollbar-bezier":X,"--n-scrollbar-color":Xe,"--n-scrollbar-color-hover":Ze,"--n-scrollbar-border-radius":pe,"--n-scrollbar-width":qe,"--n-scrollbar-height":$e}}),Qe=n?kt("scrollbar",void 0,Ae,e):void 0;return Object.assign(Object.assign({},{scrollTo:ge,scrollBy:Ie,sync:de,syncUnifiedContainer:Ee,handleMouseEnterWrapper:P,handleMouseLeaveWrapper:T}),{mergedClsPrefix:t,rtlEnabled:r,containerScrollTop:b,wrapperRef:i,containerRef:a,contentRef:s,yRailRef:l,xRailRef:c,needYBar:N,needXBar:E,yBarSizePx:B,xBarSizePx:D,yBarTopPx:Q,xBarLeftPx:le,isShowXBar:O,isShowYBar:q,isIos:A,handleScroll:ye,handleContentResize:be,handleContainerResize:H,handleYScrollMouseDown:Ye,handleXScrollMouseDown:fe,cssVars:n?void 0:Ae,themeClass:Qe==null?void 0:Qe.themeClass,onRender:Qe==null?void 0:Qe.onRender})},render(){var e;const{$slots:t,mergedClsPrefix:n,triggerDisplayManually:o,rtlEnabled:r,internalHoistYRail:i}=this;if(!this.scrollable)return(e=t.default)===null||e===void 0?void 0:e.call(t);const a=this.trigger==="none",s=(u,d)=>v("div",{ref:"yRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--vertical`,u],"data-scrollbar-rail":!0,style:[d||"",this.verticalRailStyle],"aria-hiddens":!0},v(a?oh:hn,a?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?v("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),l=()=>{var u,d;return(u=this.onRender)===null||u===void 0||u.call(this),v("div",Dn(this.$attrs,{role:"none",ref:"wrapperRef",class:[`${n}-scrollbar`,this.themeClass,r&&`${n}-scrollbar--rtl`],style:this.cssVars,onMouseenter:o?void 0:this.handleMouseEnterWrapper,onMouseleave:o?void 0:this.handleMouseLeaveWrapper}),[this.container?(d=t.default)===null||d===void 0?void 0:d.call(t):v("div",{role:"none",ref:"containerRef",class:[`${n}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},v(lr,{onResize:this.handleContentResize},{default:()=>v("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${n}-scrollbar-content`,this.contentClass]},t)})),i?null:s(void 0,void 0),this.xScrollable&&v("div",{ref:"xRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--horizontal`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},v(a?oh:hn,a?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?v("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,right:r?this.xBarLeftPx:void 0,left:r?void 0:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])},c=this.container?l():v(lr,{onResize:this.handleContainerResize},{default:l});return i?v(at,null,c,s(this.themeClass,this.cssVars)):c}}),ko=p_,m_=p_,MN={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"},g_=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:g,heightMedium:b,heightLarge:m,heightHuge:x}=e;return Object.assign(Object.assign({},MN),{optionFontSizeSmall:d,optionFontSizeMedium:f,optionFontSizeLarge:p,optionFontSizeHuge:h,optionHeightSmall:g,optionHeightMedium:b,optionHeightLarge:m,optionHeightHuge:x,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})},zN={name:"InternalSelectMenu",common:bt,peers:{Scrollbar:Wi,Empty:Ru},self:g_},Qp=zN,DN={name:"InternalSelectMenu",common:He,peers:{Scrollbar:jn,Empty:Vi},self:g_},ll=DN;function LN(e,t){return v(hn,{name:"fade-in-scale-up-transition"},{default:()=>e?v(Ut,{clsPrefix:t,class:`${t}-base-select-option__check`},{default:()=>v(OB)}):null})}const k0=me({name:"NBaseSelectOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(e){const{valueRef:t,pendingTmNodeRef:n,multipleRef:o,valueSetRef:r,renderLabelRef:i,renderOptionRef:a,labelFieldRef:s,valueFieldRef:l,showCheckmarkRef:c,nodePropsRef:u,handleOptionClick:d,handleOptionMouseEnter:f}=We($p),p=St(()=>{const{value:m}=n;return m?e.tmNode.key===m.key:!1});function h(m){const{tmNode:x}=e;x.disabled||d(m,x)}function g(m){const{tmNode:x}=e;x.disabled||f(m,x)}function b(m){const{tmNode:x}=e,{value:S}=p;x.disabled||S||f(m,x)}return{multiple:o,isGrouped:St(()=>{const{tmNode:m}=e,{parent:x}=m;return x&&x.rawNode.type==="group"}),showCheckmark:c,nodeProps:u,isPending:p,isSelected:St(()=>{const{value:m}=t,{value:x}=o;if(m===null)return!1;const S=e.tmNode.rawNode[l.value];if(x){const{value:_}=r;return _.has(S)}else return m===S}),labelField:s,renderLabel:i,renderOption:a,handleMouseMove:b,handleMouseEnter:g,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=LN(n,e),p=l?[l(t,n),i&&f]:[Wt(t[this.labelField],t,n),i&&f],h=a==null?void 0:a(t),g=v("div",Object.assign({},h,{class:[`${e}-base-select-option`,t.class,h==null?void 0:h.class,{[`${e}-base-select-option--disabled`]:t.disabled,[`${e}-base-select-option--selected`]:n,[`${e}-base-select-option--grouped`]:r,[`${e}-base-select-option--pending`]:o,[`${e}-base-select-option--show-checkmark`]:i}],style:[(h==null?void 0:h.style)||"",t.style||""],onClick:_s([c,h==null?void 0:h.onClick]),onMouseenter:_s([u,h==null?void 0:h.onMouseenter]),onMousemove:_s([d,h==null?void 0:h.onMousemove])}),v("div",{class:`${e}-base-select-option__content`},p));return t.render?t.render({node:g,option:t,selected:n}):s?s({node:g,option:t,selected:n}):g}}),P0=me({name:"NBaseSelectGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{renderLabelRef:e,renderOptionRef:t,labelFieldRef:n,nodePropsRef:o}=We($p);return{labelField:n,nodeProps:o,renderLabel:e,renderOption:t}},render(){const{clsPrefix:e,renderLabel:t,renderOption:n,nodeProps:o,tmNode:{rawNode:r}}=this,i=o==null?void 0:o(r),a=t?t(r,!1):Wt(r[this.labelField],r,!1),s=v("div",Object.assign({},i,{class:[`${e}-base-select-group-header`,i==null?void 0:i.class]}),a);return r.render?r.render({node:s,option:r}):n?n({node:s,option:r,selected:!1}):s}}),{cubicBezierEaseIn:T0,cubicBezierEaseOut:R0}=co;function Va({transformOrigin:e="inherit",duration:t=".2s",enterScale:n=".9",originalTransform:o="",originalTransition:r=""}={}){return[U("&.fade-in-scale-up-transition-leave-active",{transformOrigin:e,transition:`opacity ${t} ${T0}, transform ${t} ${T0} ${r&&","+r}`}),U("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${R0}, transform ${t} ${R0} ${r&&","+r}`}),U("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${o} scale(${n})`}),U("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${o} scale(1)`})]}const FN=z("base-select-menu",` + `,[cl(),q("&:hover","background-color: var(--n-scrollbar-color-hover);")])])])])]),HN=Object.assign(Object.assign({},Be.props),{size:{type:Number,default:5},duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean}),w_=ge({name:"Scrollbar",props:HN,inheritAttrs:!1,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=st(e),r=pn("Scrollbar",o,t),i=W(null),a=W(null),s=W(null),l=W(null),c=W(null),u=W(null),d=W(null),f=W(null),p=W(null),h=W(null),m=W(null),v=W(0),b=W(0),w=W(!1),C=W(!1);let S=!1,_=!1,x,y,k=0,P=0,T=0,$=0;const R=H6(),K=L(()=>{const{value:X}=f,{value:me}=u,{value:$e}=h;return X===null||me===null||$e===null?0:Math.min(X,$e*X/me+e.size*1.5)}),H=L(()=>`${K.value}px`),D=L(()=>{const{value:X}=p,{value:me}=d,{value:$e}=m;return X===null||me===null||$e===null?0:$e*X/me+e.size*1.5}),M=L(()=>`${D.value}px`),Y=L(()=>{const{value:X}=f,{value:me}=v,{value:$e}=u,{value:Ke}=h;if(X===null||$e===null||Ke===null)return 0;{const Xe=$e-X;return Xe?me/Xe*(Ke-K.value):0}}),Q=L(()=>`${Y.value}px`),de=L(()=>{const{value:X}=p,{value:me}=b,{value:$e}=d,{value:Ke}=m;if(X===null||$e===null||Ke===null)return 0;{const Xe=$e-X;return Xe?me/Xe*(Ke-D.value):0}}),he=L(()=>`${de.value}px`),B=L(()=>{const{value:X}=f,{value:me}=u;return X!==null&&me!==null&&me>X}),E=L(()=>{const{value:X}=p,{value:me}=d;return X!==null&&me!==null&&me>X}),A=L(()=>{const{trigger:X}=e;return X==="none"||w.value}),G=L(()=>{const{trigger:X}=e;return X==="none"||C.value}),ne=L(()=>{const{container:X}=e;return X?X():a.value}),ye=L(()=>{const{content:X}=e;return X?X():s.value}),J=Fp(()=>{e.container||ve({top:v.value,left:b.value})}),xe=()=>{J.isDeactivated||ae()},j=X=>{if(J.isDeactivated)return;const{onResize:me}=e;me&&me(X),ae()},ve=(X,me)=>{if(!e.scrollable)return;if(typeof X=="number"){Le(X,me??0,0,!1,"auto");return}const{left:$e,top:Ke,index:Xe,elSize:Ze,position:tt,behavior:it,el:yt,debounce:on=!0}=X;($e!==void 0||Ke!==void 0)&&Le($e??0,Ke??0,0,!1,it),yt!==void 0?Le(0,yt.offsetTop,yt.offsetHeight,on,it):Xe!==void 0&&Ze!==void 0?Le(0,Xe*Ze,Ze,on,it):tt==="bottom"?Le(0,Number.MAX_SAFE_INTEGER,0,!1,it):tt==="top"&&Le(0,0,0,!1,it)},Oe=(X,me)=>{if(!e.scrollable)return;const{value:$e}=ne;$e&&(typeof X=="object"?$e.scrollBy(X):$e.scrollBy(X,me||0))};function Le(X,me,$e,Ke,Xe){const{value:Ze}=ne;if(Ze){if(Ke){const{scrollTop:tt,offsetHeight:it}=Ze;if(me>tt){me+$e<=tt+it||Ze.scrollTo({left:X,top:me+$e-it,behavior:Xe});return}}Ze.scrollTo({left:X,top:me,behavior:Xe})}}function F(){be(),Pe(),ae()}function O(){re()}function re(){_e(),ee()}function _e(){y!==void 0&&window.clearTimeout(y),y=window.setTimeout(()=>{C.value=!1},e.duration)}function ee(){x!==void 0&&window.clearTimeout(x),x=window.setTimeout(()=>{w.value=!1},e.duration)}function be(){x!==void 0&&window.clearTimeout(x),w.value=!0}function Pe(){y!==void 0&&window.clearTimeout(y),C.value=!0}function I(X){const{onScroll:me}=e;me&&me(X),N()}function N(){const{value:X}=ne;X&&(v.value=X.scrollTop,b.value=X.scrollLeft*(r!=null&&r.value?-1:1))}function te(){const{value:X}=ye;X&&(u.value=X.offsetHeight,d.value=X.offsetWidth);const{value:me}=ne;me&&(f.value=me.offsetHeight,p.value=me.offsetWidth);const{value:$e}=c,{value:Ke}=l;$e&&(m.value=$e.offsetWidth),Ke&&(h.value=Ke.offsetHeight)}function Ce(){const{value:X}=ne;X&&(v.value=X.scrollTop,b.value=X.scrollLeft*(r!=null&&r.value?-1:1),f.value=X.offsetHeight,p.value=X.offsetWidth,u.value=X.scrollHeight,d.value=X.scrollWidth);const{value:me}=c,{value:$e}=l;me&&(m.value=me.offsetWidth),$e&&(h.value=$e.offsetHeight)}function ae(){e.scrollable&&(e.useUnifiedContainer?Ce():(te(),N()))}function fe(X){var me;return!(!((me=i.value)===null||me===void 0)&&me.contains(ki(X)))}function oe(X){X.preventDefault(),X.stopPropagation(),_=!0,It("mousemove",window,ue,!0),It("mouseup",window,De,!0),P=b.value,T=r!=null&&r.value?window.innerWidth-X.clientX:X.clientX}function ue(X){if(!_)return;x!==void 0&&window.clearTimeout(x),y!==void 0&&window.clearTimeout(y);const{value:me}=p,{value:$e}=d,{value:Ke}=D;if(me===null||$e===null)return;const Ze=(r!=null&&r.value?window.innerWidth-X.clientX-T:X.clientX-T)*($e-me)/(me-Ke),tt=$e-me;let it=P+Ze;it=Math.min(tt,it),it=Math.max(it,0);const{value:yt}=ne;if(yt){yt.scrollLeft=it*(r!=null&&r.value?-1:1);const{internalOnUpdateScrollLeft:on}=e;on&&on(it)}}function De(X){X.preventDefault(),X.stopPropagation(),Pt("mousemove",window,ue,!0),Pt("mouseup",window,De,!0),_=!1,ae(),fe(X)&&re()}function Ue(X){X.preventDefault(),X.stopPropagation(),S=!0,It("mousemove",window,ke,!0),It("mouseup",window,Fe,!0),k=v.value,$=X.clientY}function ke(X){if(!S)return;x!==void 0&&window.clearTimeout(x),y!==void 0&&window.clearTimeout(y);const{value:me}=f,{value:$e}=u,{value:Ke}=K;if(me===null||$e===null)return;const Ze=(X.clientY-$)*($e-me)/(me-Ke),tt=$e-me;let it=k+Ze;it=Math.min(tt,it),it=Math.max(it,0);const{value:yt}=ne;yt&&(yt.scrollTop=it)}function Fe(X){X.preventDefault(),X.stopPropagation(),Pt("mousemove",window,ke,!0),Pt("mouseup",window,Fe,!0),S=!1,ae(),fe(X)&&re()}Yt(()=>{const{value:X}=E,{value:me}=B,{value:$e}=t,{value:Ke}=c,{value:Xe}=l;Ke&&(X?Ke.classList.remove(`${$e}-scrollbar-rail--disabled`):Ke.classList.add(`${$e}-scrollbar-rail--disabled`)),Xe&&(me?Xe.classList.remove(`${$e}-scrollbar-rail--disabled`):Xe.classList.add(`${$e}-scrollbar-rail--disabled`))}),jt(()=>{e.container||ae()}),rn(()=>{x!==void 0&&window.clearTimeout(x),y!==void 0&&window.clearTimeout(y),Pt("mousemove",window,ke,!0),Pt("mouseup",window,Fe,!0)});const je=Be("Scrollbar","-scrollbar",NN,Vi,e,t),Ae=L(()=>{const{common:{cubicBezierEaseInOut:X,scrollbarBorderRadius:me,scrollbarHeight:$e,scrollbarWidth:Ke},self:{color:Xe,colorHover:Ze}}=je.value;return{"--n-scrollbar-bezier":X,"--n-scrollbar-color":Xe,"--n-scrollbar-color-hover":Ze,"--n-scrollbar-border-radius":me,"--n-scrollbar-width":Ke,"--n-scrollbar-height":$e}}),Je=n?kt("scrollbar",void 0,Ae,e):void 0;return Object.assign(Object.assign({},{scrollTo:ve,scrollBy:Oe,sync:ae,syncUnifiedContainer:Ce,handleMouseEnterWrapper:F,handleMouseLeaveWrapper:O}),{mergedClsPrefix:t,rtlEnabled:r,containerScrollTop:v,wrapperRef:i,containerRef:a,contentRef:s,yRailRef:l,xRailRef:c,needYBar:B,needXBar:E,yBarSizePx:H,xBarSizePx:M,yBarTopPx:Q,xBarLeftPx:he,isShowXBar:A,isShowYBar:G,isIos:R,handleScroll:I,handleContentResize:xe,handleContainerResize:j,handleYScrollMouseDown:Ue,handleXScrollMouseDown:oe,cssVars:n?void 0:Ae,themeClass:Je==null?void 0:Je.themeClass,onRender:Je==null?void 0:Je.onRender})},render(){var e;const{$slots:t,mergedClsPrefix:n,triggerDisplayManually:o,rtlEnabled:r,internalHoistYRail:i}=this;if(!this.scrollable)return(e=t.default)===null||e===void 0?void 0:e.call(t);const a=this.trigger==="none",s=(u,d)=>g("div",{ref:"yRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--vertical`,u],"data-scrollbar-rail":!0,style:[d||"",this.verticalRailStyle],"aria-hidden":!0},g(a?ih:fn,a?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?g("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),l=()=>{var u,d;return(u=this.onRender)===null||u===void 0||u.call(this),g("div",Ln(this.$attrs,{role:"none",ref:"wrapperRef",class:[`${n}-scrollbar`,this.themeClass,r&&`${n}-scrollbar--rtl`],style:this.cssVars,onMouseenter:o?void 0:this.handleMouseEnterWrapper,onMouseleave:o?void 0:this.handleMouseLeaveWrapper}),[this.container?(d=t.default)===null||d===void 0?void 0:d.call(t):g("div",{role:"none",ref:"containerRef",class:[`${n}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},g(sr,{onResize:this.handleContentResize},{default:()=>g("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${n}-scrollbar-content`,this.contentClass]},t)})),i?null:s(void 0,void 0),this.xScrollable&&g("div",{ref:"xRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--horizontal`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},g(a?ih:fn,a?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?g("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,right:r?this.xBarLeftPx:void 0,left:r?void 0:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])},c=this.container?l():g(sr,{onResize:this.handleContainerResize},{default:l});return i?g(rt,null,c,s(this.themeClass,this.cssVars)):c}}),To=w_,__=w_,jN={height:"calc(var(--n-option-height) * 7.6)",paddingSmall:"4px 0",paddingMedium:"4px 0",paddingLarge:"4px 0",paddingHuge:"4px 0",optionPaddingSmall:"0 12px",optionPaddingMedium:"0 12px",optionPaddingLarge:"0 12px",optionPaddingHuge:"0 12px",loadingSize:"18px"},S_=e=>{const{borderRadius:t,popoverColor:n,textColor3:o,dividerColor:r,textColor2:i,primaryColorPressed:a,textColorDisabled:s,primaryColor:l,opacityDisabled:c,hoverColor:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:p,fontSizeHuge:h,heightSmall:m,heightMedium:v,heightLarge:b,heightHuge:w}=e;return Object.assign(Object.assign({},jN),{optionFontSizeSmall:d,optionFontSizeMedium:f,optionFontSizeLarge:p,optionFontSizeHuge:h,optionHeightSmall:m,optionHeightMedium:v,optionHeightLarge:b,optionHeightHuge:w,borderRadius:t,color:n,groupHeaderTextColor:o,actionDividerColor:r,optionTextColor:i,optionTextColorPressed:a,optionTextColorDisabled:s,optionTextColorActive:l,optionOpacityDisabled:c,optionCheckColor:l,optionColorPending:u,optionColorActive:"rgba(0, 0, 0, 0)",optionColorActivePending:u,actionTextColor:i,loadingColor:l})},VN={name:"InternalSelectMenu",common:bt,peers:{Scrollbar:Vi,Empty:$u},self:S_},Qp=VN,WN={name:"InternalSelectMenu",common:Ne,peers:{Scrollbar:Vn,Empty:ji},self:S_},ul=WN;function UN(e,t){return g(fn,{name:"fade-in-scale-up-transition"},{default:()=>e?g(Ut,{clsPrefix:t,class:`${t}-base-select-option__check`},{default:()=>g(HB)}):null})}const T0=ge({name:"NBaseSelectOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(e){const{valueRef:t,pendingTmNodeRef:n,multipleRef:o,valueSetRef:r,renderLabelRef:i,renderOptionRef:a,labelFieldRef:s,valueFieldRef:l,showCheckmarkRef:c,nodePropsRef:u,handleOptionClick:d,handleOptionMouseEnter:f}=We(Ep),p=St(()=>{const{value:b}=n;return b?e.tmNode.key===b.key:!1});function h(b){const{tmNode:w}=e;w.disabled||d(b,w)}function m(b){const{tmNode:w}=e;w.disabled||f(b,w)}function v(b){const{tmNode:w}=e,{value:C}=p;w.disabled||C||f(b,w)}return{multiple:o,isGrouped:St(()=>{const{tmNode:b}=e,{parent:w}=b;return w&&w.rawNode.type==="group"}),showCheckmark:c,nodeProps:u,isPending:p,isSelected:St(()=>{const{value:b}=t,{value:w}=o;if(b===null)return!1;const C=e.tmNode.rawNode[l.value];if(w){const{value:S}=r;return S.has(C)}else return b===C}),labelField:s,renderLabel:i,renderOption:a,handleMouseMove:v,handleMouseEnter:m,handleClick:h}},render(){const{clsPrefix:e,tmNode:{rawNode:t},isSelected:n,isPending:o,isGrouped:r,showCheckmark:i,nodeProps:a,renderOption:s,renderLabel:l,handleClick:c,handleMouseEnter:u,handleMouseMove:d}=this,f=UN(n,e),p=l?[l(t,n),i&&f]:[Wt(t[this.labelField],t,n),i&&f],h=a==null?void 0:a(t),m=g("div",Object.assign({},h,{class:[`${e}-base-select-option`,t.class,h==null?void 0:h.class,{[`${e}-base-select-option--disabled`]:t.disabled,[`${e}-base-select-option--selected`]:n,[`${e}-base-select-option--grouped`]:r,[`${e}-base-select-option--pending`]:o,[`${e}-base-select-option--show-checkmark`]:i}],style:[(h==null?void 0:h.style)||"",t.style||""],onClick:_s([c,h==null?void 0:h.onClick]),onMouseenter:_s([u,h==null?void 0:h.onMouseenter]),onMousemove:_s([d,h==null?void 0:h.onMousemove])}),g("div",{class:`${e}-base-select-option__content`},p));return t.render?t.render({node:m,option:t,selected:n}):s?s({node:m,option:t,selected:n}):m}}),R0=ge({name:"NBaseSelectGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{renderLabelRef:e,renderOptionRef:t,labelFieldRef:n,nodePropsRef:o}=We(Ep);return{labelField:n,nodeProps:o,renderLabel:e,renderOption:t}},render(){const{clsPrefix:e,renderLabel:t,renderOption:n,nodeProps:o,tmNode:{rawNode:r}}=this,i=o==null?void 0:o(r),a=t?t(r,!1):Wt(r[this.labelField],r,!1),s=g("div",Object.assign({},i,{class:[`${e}-base-select-group-header`,i==null?void 0:i.class]}),a);return r.render?r.render({node:s,option:r}):n?n({node:s,option:r,selected:!1}):s}}),{cubicBezierEaseIn:E0,cubicBezierEaseOut:$0}=co;function Na({transformOrigin:e="inherit",duration:t=".2s",enterScale:n=".9",originalTransform:o="",originalTransition:r=""}={}){return[q("&.fade-in-scale-up-transition-leave-active",{transformOrigin:e,transition:`opacity ${t} ${E0}, transform ${t} ${E0} ${r&&","+r}`}),q("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${$0}, transform ${t} ${$0} ${r&&","+r}`}),q("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${o} scale(${n})`}),q("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${o} scale(1)`})]}const qN=z("base-select-menu",` line-height: 1.5; outline: none; z-index: 0; @@ -295,7 +312,7 @@ ${t} opacity: 1; `,[Z("show-checkmark",` padding-right: calc(var(--n-option-padding-right) + 20px); - `),U("&::before",` + `),q("&::before",` content: ""; position: absolute; left: 4px; @@ -304,17 +321,17 @@ ${t} bottom: 0; border-radius: var(--n-border-radius); transition: background-color .3s var(--n-bezier); - `),U("&:active",` + `),q("&:active",` color: var(--n-option-text-color-pressed); `),Z("grouped",` padding-left: calc(var(--n-option-padding-left) * 1.5); - `),Z("pending",[U("&::before",` + `),Z("pending",[q("&::before",` background-color: var(--n-option-color-pending); `)]),Z("selected",` color: var(--n-option-text-color-active); - `,[U("&::before",` + `,[q("&::before",` background-color: var(--n-option-color-active); - `),Z("pending",[U("&::before",` + `),Z("pending",[q("&::before",` background-color: var(--n-option-color-active-pending); `)])]),Z("disabled",` cursor: not-allowed; @@ -329,14 +346,14 @@ ${t} top: calc(50% - 7px); color: var(--n-option-check-color); transition: color .3s var(--n-bezier); - `,[Va({enterScale:"0.5"})])])]),v_=me({name:"InternalSelectMenu",props:Object.assign(Object.assign({},Be.props),{clsPrefix:{type:String,required:!0},scrollable:{type:Boolean,default:!0},treeMate:{type:Object,required:!0},multiple:Boolean,size:{type:String,default:"medium"},value:{type:[String,Number,Array],default:null},autoPending:Boolean,virtualScroll:{type:Boolean,default:!0},show:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},loading:Boolean,focusable:Boolean,renderLabel:Function,renderOption:Function,nodeProps:Function,showCheckmark:{type:Boolean,default:!0},onMousedown:Function,onScroll:Function,onFocus:Function,onBlur:Function,onKeyup:Function,onKeydown:Function,onTabOut:Function,onMouseenter:Function,onMouseleave:Function,onResize:Function,resetMenuOnOptionsChange:{type:Boolean,default:!0},inlineThemeDisabled:Boolean,onToggle:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=it(e),o=pn("InternalSelectMenu",n,t),r=Be("InternalSelectMenu","-internal-select-menu",FN,Qp,e,je(e,"clsPrefix")),i=F(null),a=F(null),s=F(null),l=L(()=>e.treeMate.getFlattenedNodes()),c=L(()=>iN(l.value)),u=F(null);function d(){const{treeMate:E}=e;let O=null;const{value:q}=e;q===null?O=E.getFirstAvailableNode():(e.multiple?O=E.getNode((q||[])[(q||[]).length-1]):O=E.getNode(q),(!O||O.disabled)&&(O=E.getFirstAvailableNode())),B(O||null)}function f(){const{value:E}=u;E&&!e.treeMate.getNode(E.key)&&(u.value=null)}let p;ht(()=>e.show,E=>{E?p=ht(()=>e.treeMate,()=>{e.resetMenuOnOptionsChange?(e.autoPending?d():f(),jt(M)):f()},{immediate:!0}):p==null||p()},{immediate:!0}),rn(()=>{p==null||p()});const h=L(()=>kn(r.value.self[ke("optionHeight",e.size)])),g=L(()=>yo(r.value.self[ke("padding",e.size)])),b=L(()=>e.multiple&&Array.isArray(e.value)?new Set(e.value):new Set),m=L(()=>{const E=l.value;return E&&E.length===0});function x(E){const{onToggle:O}=e;O&&O(E)}function S(E){const{onScroll:O}=e;O&&O(E)}function _(E){var O;(O=s.value)===null||O===void 0||O.sync(),S(E)}function w(){var E;(E=s.value)===null||E===void 0||E.sync()}function C(){const{value:E}=u;return E||null}function y(E,O){O.disabled||B(O,!1)}function k(E,O){O.disabled||x(O)}function R(E){var O;Vo(E,"action")||(O=e.onKeyup)===null||O===void 0||O.call(e,E)}function $(E){var O;Vo(E,"action")||(O=e.onKeydown)===null||O===void 0||O.call(e,E)}function I(E){var O;(O=e.onMousedown)===null||O===void 0||O.call(e,E),!e.focusable&&E.preventDefault()}function A(){const{value:E}=u;E&&B(E.getNext({loop:!0}),!0)}function K(){const{value:E}=u;E&&B(E.getPrev({loop:!0}),!0)}function B(E,O=!1){u.value=E,O&&M()}function M(){var E,O;const q=u.value;if(!q)return;const ne=c.value(q.key);ne!==null&&(e.virtualScroll?(E=a.value)===null||E===void 0||E.scrollTo({index:ne}):(O=s.value)===null||O===void 0||O.scrollTo({index:ne,elSize:h.value}))}function D(E){var O,q;!((O=i.value)===null||O===void 0)&&O.contains(E.target)&&((q=e.onFocus)===null||q===void 0||q.call(e,E))}function Y(E){var O,q;!((O=i.value)===null||O===void 0)&&O.contains(E.relatedTarget)||(q=e.onBlur)===null||q===void 0||q.call(e,E)}lt($p,{handleOptionMouseEnter:y,handleOptionClick:k,valueSetRef:b,pendingTmNodeRef:u,nodePropsRef:je(e,"nodeProps"),showCheckmarkRef:je(e,"showCheckmark"),multipleRef:je(e,"multiple"),valueRef:je(e,"value"),renderLabelRef:je(e,"renderLabel"),renderOptionRef:je(e,"renderOption"),labelFieldRef:je(e,"labelField"),valueFieldRef:je(e,"valueField")}),lt(qC,i),Ft(()=>{const{value:E}=s;E&&E.sync()});const Q=L(()=>{const{size:E}=e,{common:{cubicBezierEaseInOut:O},self:{height:q,borderRadius:ne,color:ve,groupHeaderTextColor:J,actionDividerColor:be,optionTextColorPressed:H,optionTextColor:ge,optionTextColorDisabled:Ie,optionTextColorActive:Le,optionOpacityDisabled:P,optionCheckColor:T,actionTextColor:W,optionColorPending:oe,optionColorActive:G,loadingColor:se,loadingSize:xe,optionColorActivePending:ye,[ke("optionFontSize",E)]:Ce,[ke("optionHeight",E)]:we,[ke("optionPadding",E)]:Ee}}=r.value;return{"--n-height":q,"--n-action-divider-color":be,"--n-action-text-color":W,"--n-bezier":O,"--n-border-radius":ne,"--n-color":ve,"--n-option-font-size":Ce,"--n-group-header-text-color":J,"--n-option-check-color":T,"--n-option-color-pending":oe,"--n-option-color-active":G,"--n-option-color-active-pending":ye,"--n-option-height":we,"--n-option-opacity-disabled":P,"--n-option-text-color":ge,"--n-option-text-color-active":Le,"--n-option-text-color-disabled":Ie,"--n-option-text-color-pressed":H,"--n-option-padding":Ee,"--n-option-padding-left":yo(Ee,"left"),"--n-option-padding-right":yo(Ee,"right"),"--n-loading-color":se,"--n-loading-size":xe}}),{inlineThemeDisabled:ue}=e,le=ue?kt("internal-select-menu",L(()=>e.size[0]),Q,e):void 0,N={selfRef:i,next:A,prev:K,getPendingTmNode:C};return cw(i,e.onResize),Object.assign({mergedTheme:r,mergedClsPrefix:t,rtlEnabled:o,virtualListRef:a,scrollbarRef:s,itemSize:h,padding:g,flattenedNodes:l,empty:m,virtualListContainer(){const{value:E}=a;return E==null?void 0:E.listElRef},virtualListContent(){const{value:E}=a;return E==null?void 0:E.itemsElRef},doScroll:S,handleFocusin:D,handleFocusout:Y,handleKeyUp:R,handleKeyDown:$,handleMouseDown:I,handleVirtualListResize:w,handleVirtualListScroll:_,cssVars:ue?void 0:Q,themeClass:le==null?void 0:le.themeClass,onRender:le==null?void 0:le.onRender},N)},render(){const{$slots:e,virtualScroll:t,clsPrefix:n,mergedTheme:o,themeClass:r,onRender:i}=this;return i==null||i(),v("div",{ref:"selfRef",tabindex:this.focusable?0:-1,class:[`${n}-base-select-menu`,this.rtlEnabled&&`${n}-base-select-menu--rtl`,r,this.multiple&&`${n}-base-select-menu--multiple`],style:this.cssVars,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onKeyup:this.handleKeyUp,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},Et(e.header,a=>a&&v("div",{class:`${n}-base-select-menu__header`,"data-header":!0,key:"header"},a)),this.loading?v("div",{class:`${n}-base-select-menu__loading`},v(Xr,{clsPrefix:n,strokeWidth:20})):this.empty?v("div",{class:`${n}-base-select-menu__empty`,"data-empty":!0},An(e.empty,()=>[v(f_,{theme:o.peers.Empty,themeOverrides:o.peerOverrides.Empty})])):v(ko,{ref:"scrollbarRef",theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,scrollable:this.scrollable,container:t?this.virtualListContainer:void 0,content:t?this.virtualListContent:void 0,onScroll:t?void 0:this.doScroll},{default:()=>t?v(rw,{ref:"virtualListRef",class:`${n}-virtual-list`,items:this.flattenedNodes,itemSize:this.itemSize,showScrollbar:!1,paddingTop:this.padding.top,paddingBottom:this.padding.bottom,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemResizable:!0},{default:({item:a})=>a.isGroup?v(P0,{key:a.key,clsPrefix:n,tmNode:a}):a.ignored?null:v(k0,{clsPrefix:n,key:a.key,tmNode:a})}):v("div",{class:`${n}-base-select-menu-option-wrapper`,style:{paddingTop:this.padding.top,paddingBottom:this.padding.bottom}},this.flattenedNodes.map(a=>a.isGroup?v(P0,{key:a.key,clsPrefix:n,tmNode:a}):v(k0,{clsPrefix:n,key:a.key,tmNode:a})))}),Et(e.action,a=>a&&[v("div",{class:`${n}-base-select-menu__action`,"data-action":!0,key:"action"},a),v(WB,{onFocus:this.onTabOut,key:"focus-detector"})]))}}),BN=z("base-wave",` + `,[Na({enterScale:"0.5"})])])]),k_=ge({name:"InternalSelectMenu",props:Object.assign(Object.assign({},Be.props),{clsPrefix:{type:String,required:!0},scrollable:{type:Boolean,default:!0},treeMate:{type:Object,required:!0},multiple:Boolean,size:{type:String,default:"medium"},value:{type:[String,Number,Array],default:null},autoPending:Boolean,virtualScroll:{type:Boolean,default:!0},show:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},loading:Boolean,focusable:Boolean,renderLabel:Function,renderOption:Function,nodeProps:Function,showCheckmark:{type:Boolean,default:!0},onMousedown:Function,onScroll:Function,onFocus:Function,onBlur:Function,onKeyup:Function,onKeydown:Function,onTabOut:Function,onMouseenter:Function,onMouseleave:Function,onResize:Function,resetMenuOnOptionsChange:{type:Boolean,default:!0},inlineThemeDisabled:Boolean,onToggle:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=st(e),o=pn("InternalSelectMenu",n,t),r=Be("InternalSelectMenu","-internal-select-menu",qN,Qp,e,Ve(e,"clsPrefix")),i=W(null),a=W(null),s=W(null),l=L(()=>e.treeMate.getFlattenedNodes()),c=L(()=>hN(l.value)),u=W(null);function d(){const{treeMate:E}=e;let A=null;const{value:G}=e;G===null?A=E.getFirstAvailableNode():(e.multiple?A=E.getNode((G||[])[(G||[]).length-1]):A=E.getNode(G),(!A||A.disabled)&&(A=E.getFirstAvailableNode())),H(A||null)}function f(){const{value:E}=u;E&&!e.treeMate.getNode(E.key)&&(u.value=null)}let p;ft(()=>e.show,E=>{E?p=ft(()=>e.treeMate,()=>{e.resetMenuOnOptionsChange?(e.autoPending?d():f(),Ht(D)):f()},{immediate:!0}):p==null||p()},{immediate:!0}),rn(()=>{p==null||p()});const h=L(()=>Sn(r.value.self[Te("optionHeight",e.size)])),m=L(()=>_o(r.value.self[Te("padding",e.size)])),v=L(()=>e.multiple&&Array.isArray(e.value)?new Set(e.value):new Set),b=L(()=>{const E=l.value;return E&&E.length===0});function w(E){const{onToggle:A}=e;A&&A(E)}function C(E){const{onScroll:A}=e;A&&A(E)}function S(E){var A;(A=s.value)===null||A===void 0||A.sync(),C(E)}function _(){var E;(E=s.value)===null||E===void 0||E.sync()}function x(){const{value:E}=u;return E||null}function y(E,A){A.disabled||H(A,!1)}function k(E,A){A.disabled||w(A)}function P(E){var A;wo(E,"action")||(A=e.onKeyup)===null||A===void 0||A.call(e,E)}function T(E){var A;wo(E,"action")||(A=e.onKeydown)===null||A===void 0||A.call(e,E)}function $(E){var A;(A=e.onMousedown)===null||A===void 0||A.call(e,E),!e.focusable&&E.preventDefault()}function R(){const{value:E}=u;E&&H(E.getNext({loop:!0}),!0)}function K(){const{value:E}=u;E&&H(E.getPrev({loop:!0}),!0)}function H(E,A=!1){u.value=E,A&&D()}function D(){var E,A;const G=u.value;if(!G)return;const ne=c.value(G.key);ne!==null&&(e.virtualScroll?(E=a.value)===null||E===void 0||E.scrollTo({index:ne}):(A=s.value)===null||A===void 0||A.scrollTo({index:ne,elSize:h.value}))}function M(E){var A,G;!((A=i.value)===null||A===void 0)&&A.contains(E.target)&&((G=e.onFocus)===null||G===void 0||G.call(e,E))}function Y(E){var A,G;!((A=i.value)===null||A===void 0)&&A.contains(E.relatedTarget)||(G=e.onBlur)===null||G===void 0||G.call(e,E)}at(Ep,{handleOptionMouseEnter:y,handleOptionClick:k,valueSetRef:v,pendingTmNodeRef:u,nodePropsRef:Ve(e,"nodeProps"),showCheckmarkRef:Ve(e,"showCheckmark"),multipleRef:Ve(e,"multiple"),valueRef:Ve(e,"value"),renderLabelRef:Ve(e,"renderLabel"),renderOptionRef:Ve(e,"renderOption"),labelFieldRef:Ve(e,"labelField"),valueFieldRef:Ve(e,"valueField")}),at(ew,i),jt(()=>{const{value:E}=s;E&&E.sync()});const Q=L(()=>{const{size:E}=e,{common:{cubicBezierEaseInOut:A},self:{height:G,borderRadius:ne,color:ye,groupHeaderTextColor:J,actionDividerColor:xe,optionTextColorPressed:j,optionTextColor:ve,optionTextColorDisabled:Oe,optionTextColorActive:Le,optionOpacityDisabled:F,optionCheckColor:O,actionTextColor:re,optionColorPending:_e,optionColorActive:ee,loadingColor:be,loadingSize:Pe,optionColorActivePending:I,[Te("optionFontSize",E)]:N,[Te("optionHeight",E)]:te,[Te("optionPadding",E)]:Ce}}=r.value;return{"--n-height":G,"--n-action-divider-color":xe,"--n-action-text-color":re,"--n-bezier":A,"--n-border-radius":ne,"--n-color":ye,"--n-option-font-size":N,"--n-group-header-text-color":J,"--n-option-check-color":O,"--n-option-color-pending":_e,"--n-option-color-active":ee,"--n-option-color-active-pending":I,"--n-option-height":te,"--n-option-opacity-disabled":F,"--n-option-text-color":ve,"--n-option-text-color-active":Le,"--n-option-text-color-disabled":Oe,"--n-option-text-color-pressed":j,"--n-option-padding":Ce,"--n-option-padding-left":_o(Ce,"left"),"--n-option-padding-right":_o(Ce,"right"),"--n-loading-color":be,"--n-loading-size":Pe}}),{inlineThemeDisabled:de}=e,he=de?kt("internal-select-menu",L(()=>e.size[0]),Q,e):void 0,B={selfRef:i,next:R,prev:K,getPendingTmNode:x};return vw(i,e.onResize),Object.assign({mergedTheme:r,mergedClsPrefix:t,rtlEnabled:o,virtualListRef:a,scrollbarRef:s,itemSize:h,padding:m,flattenedNodes:l,empty:b,virtualListContainer(){const{value:E}=a;return E==null?void 0:E.listElRef},virtualListContent(){const{value:E}=a;return E==null?void 0:E.itemsElRef},doScroll:C,handleFocusin:M,handleFocusout:Y,handleKeyUp:P,handleKeyDown:T,handleMouseDown:$,handleVirtualListResize:_,handleVirtualListScroll:S,cssVars:de?void 0:Q,themeClass:he==null?void 0:he.themeClass,onRender:he==null?void 0:he.onRender},B)},render(){const{$slots:e,virtualScroll:t,clsPrefix:n,mergedTheme:o,themeClass:r,onRender:i}=this;return i==null||i(),g("div",{ref:"selfRef",tabindex:this.focusable?0:-1,class:[`${n}-base-select-menu`,this.rtlEnabled&&`${n}-base-select-menu--rtl`,r,this.multiple&&`${n}-base-select-menu--multiple`],style:this.cssVars,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onKeyup:this.handleKeyUp,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},Et(e.header,a=>a&&g("div",{class:`${n}-base-select-menu__header`,"data-header":!0,key:"header"},a)),this.loading?g("div",{class:`${n}-base-select-menu__loading`},g(Jr,{clsPrefix:n,strokeWidth:20})):this.empty?g("div",{class:`${n}-base-select-menu__empty`,"data-empty":!0},An(e.empty,()=>[g(x_,{theme:o.peers.Empty,themeOverrides:o.peerOverrides.Empty})])):g(To,{ref:"scrollbarRef",theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,scrollable:this.scrollable,container:t?this.virtualListContainer:void 0,content:t?this.virtualListContent:void 0,onScroll:t?void 0:this.doScroll},{default:()=>t?g(fw,{ref:"virtualListRef",class:`${n}-virtual-list`,items:this.flattenedNodes,itemSize:this.itemSize,showScrollbar:!1,paddingTop:this.padding.top,paddingBottom:this.padding.bottom,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemResizable:!0},{default:({item:a})=>a.isGroup?g(R0,{key:a.key,clsPrefix:n,tmNode:a}):a.ignored?null:g(T0,{clsPrefix:n,key:a.key,tmNode:a})}):g("div",{class:`${n}-base-select-menu-option-wrapper`,style:{paddingTop:this.padding.top,paddingBottom:this.padding.bottom}},this.flattenedNodes.map(a=>a.isGroup?g(R0,{key:a.key,clsPrefix:n,tmNode:a}):g(T0,{clsPrefix:n,key:a.key,tmNode:a})))}),Et(e.action,a=>a&&[g("div",{class:`${n}-base-select-menu__action`,"data-action":!0,key:"action"},a),g(JB,{onFocus:this.onTabOut,key:"focus-detector"})]))}}),KN=z("base-wave",` position: absolute; left: 0; right: 0; top: 0; bottom: 0; border-radius: inherit; -`),NN=me({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){Yr("-base-wave",BN,je(e,"clsPrefix"));const t=F(null),n=F(!1);let o=null;return rn(()=>{o!==null&&window.clearTimeout(o)}),{active:n,selfRef:t,play(){o!==null&&(window.clearTimeout(o),n.value=!1,o=null),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 v("div",{ref:"selfRef","aria-hidden":!0,class:[`${e}-base-wave`,this.active&&`${e}-base-wave--active`]})}}),HN={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"},b_=e=>{const{boxShadow2:t,popoverColor:n,textColor2:o,borderRadius:r,fontSize:i,dividerColor:a}=e;return Object.assign(Object.assign({},HN),{fontSize:i,borderRadius:r,color:n,dividerColor:a,textColor:o,boxShadow:t})},jN={name:"Popover",common:bt,self:b_},Wa=jN,VN={name:"Popover",common:He,self:b_},Ui=VN,Hd={top:"bottom",bottom:"top",left:"right",right:"left"},bn="var(--n-arrow-height) * 1.414",WN=U([z("popover",` +`),GN=ge({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){Zr("-base-wave",KN,Ve(e,"clsPrefix"));const t=W(null),n=W(!1);let o=null;return rn(()=>{o!==null&&window.clearTimeout(o)}),{active:n,selfRef:t,play(){o!==null&&(window.clearTimeout(o),n.value=!1,o=null),Ht(()=>{var r;(r=t.value)===null||r===void 0||r.offsetHeight,n.value=!0,o=window.setTimeout(()=>{n.value=!1,o=null},1e3)})}}},render(){const{clsPrefix:e}=this;return g("div",{ref:"selfRef","aria-hidden":!0,class:[`${e}-base-wave`,this.active&&`${e}-base-wave--active`]})}}),YN={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"},P_=e=>{const{boxShadow2:t,popoverColor:n,textColor2:o,borderRadius:r,fontSize:i,dividerColor:a}=e;return Object.assign(Object.assign({},YN),{fontSize:i,borderRadius:r,color:n,dividerColor:a,textColor:o,boxShadow:t})},XN={name:"Popover",common:bt,self:P_},Ha=XN,ZN={name:"Popover",common:Ne,self:P_},Wi=ZN,Hd={top:"bottom",bottom:"top",left:"right",right:"left"},yn="var(--n-arrow-height) * 1.414",JN=q([z("popover",` transition: box-shadow .3s var(--n-bezier), background-color .3s var(--n-bezier), @@ -346,7 +363,7 @@ ${t} color: var(--n-text-color); box-shadow: var(--n-box-shadow); word-break: break-word; - `,[U(">",[z("scrollbar",` + `,[q(">",[z("scrollbar",` height: inherit; max-height: inherit; `)]),Tt("raw",` @@ -372,26 +389,26 @@ ${t} transition: background-color .3s var(--n-bezier); position: absolute; display: block; - width: calc(${bn}); - height: calc(${bn}); + width: calc(${yn}); + height: calc(${yn}); box-shadow: 0 0 8px 0 rgba(0, 0, 0, .12); transform: rotate(45deg); background-color: var(--n-color); pointer-events: all; - `)]),U("&.popover-transition-enter-from, &.popover-transition-leave-to",` + `)]),q("&.popover-transition-enter-from, &.popover-transition-leave-to",` opacity: 0; transform: scale(.85); - `),U("&.popover-transition-enter-to, &.popover-transition-leave-from",` + `),q("&.popover-transition-enter-to, &.popover-transition-leave-from",` transform: scale(1); opacity: 1; - `),U("&.popover-transition-enter-active",` + `),q("&.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); - `),U("&.popover-transition-leave-active",` + `),q("&.popover-transition-leave-active",` transition: box-shadow .3s var(--n-bezier), background-color .3s var(--n-bezier), @@ -399,52 +416,52 @@ ${t} opacity .15s var(--n-bezier-ease-in), transform .15s var(--n-bezier-ease-in); `)]),to("top-start",` - top: calc(${bn} / -2); - left: calc(${tr("top-start")} - var(--v-offset-left)); + top: calc(${yn} / -2); + left: calc(${er("top-start")} - var(--v-offset-left)); `),to("top",` - top: calc(${bn} / -2); - transform: translateX(calc(${bn} / -2)) rotate(45deg); + top: calc(${yn} / -2); + transform: translateX(calc(${yn} / -2)) rotate(45deg); left: 50%; `),to("top-end",` - top: calc(${bn} / -2); - right: calc(${tr("top-end")} + var(--v-offset-left)); + top: calc(${yn} / -2); + right: calc(${er("top-end")} + var(--v-offset-left)); `),to("bottom-start",` - bottom: calc(${bn} / -2); - left: calc(${tr("bottom-start")} - var(--v-offset-left)); + bottom: calc(${yn} / -2); + left: calc(${er("bottom-start")} - var(--v-offset-left)); `),to("bottom",` - bottom: calc(${bn} / -2); - transform: translateX(calc(${bn} / -2)) rotate(45deg); + bottom: calc(${yn} / -2); + transform: translateX(calc(${yn} / -2)) rotate(45deg); left: 50%; `),to("bottom-end",` - bottom: calc(${bn} / -2); - right: calc(${tr("bottom-end")} + var(--v-offset-left)); + bottom: calc(${yn} / -2); + right: calc(${er("bottom-end")} + var(--v-offset-left)); `),to("left-start",` - left: calc(${bn} / -2); - top: calc(${tr("left-start")} - var(--v-offset-top)); + left: calc(${yn} / -2); + top: calc(${er("left-start")} - var(--v-offset-top)); `),to("left",` - left: calc(${bn} / -2); - transform: translateY(calc(${bn} / -2)) rotate(45deg); + left: calc(${yn} / -2); + transform: translateY(calc(${yn} / -2)) rotate(45deg); top: 50%; `),to("left-end",` - left: calc(${bn} / -2); - bottom: calc(${tr("left-end")} + var(--v-offset-top)); + left: calc(${yn} / -2); + bottom: calc(${er("left-end")} + var(--v-offset-top)); `),to("right-start",` - right: calc(${bn} / -2); - top: calc(${tr("right-start")} - var(--v-offset-top)); + right: calc(${yn} / -2); + top: calc(${er("right-start")} - var(--v-offset-top)); `),to("right",` - right: calc(${bn} / -2); - transform: translateY(calc(${bn} / -2)) rotate(45deg); + right: calc(${yn} / -2); + transform: translateY(calc(${yn} / -2)) rotate(45deg); top: 50%; `),to("right-end",` - right: calc(${bn} / -2); - bottom: calc(${tr("right-end")} + var(--v-offset-top)); - `),...TL({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)`} - ${bn}) / 2)`,l=tr(r);return U(`[v-placement="${r}"] >`,[z("popover-shared",[Z("center-arrow",[z("popover-arrow",`${t}: calc(max(${s}, ${l}) ${i?"+":"-"} var(--v-offset-${n?"left":"top"}));`)])])])})})]);function tr(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function to(e,t){const n=e.split("-")[0],o=["top","bottom"].includes(n)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return U(`[v-placement="${e}"] >`,[z("popover-shared",` + right: calc(${yn} / -2); + bottom: calc(${er("right-end")} + var(--v-offset-top)); + `),...zL({top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]},(e,t)=>{const n=["right","left"].includes(t),o=n?"width":"height";return e.map(r=>{const i=r.split("-")[1]==="end",s=`calc((${`var(--v-target-${o}, 0px)`} - ${yn}) / 2)`,l=er(r);return q(`[v-placement="${r}"] >`,[z("popover-shared",[Z("center-arrow",[z("popover-arrow",`${t}: calc(max(${s}, ${l}) ${i?"+":"-"} var(--v-offset-${n?"left":"top"}));`)])])])})})]);function er(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function to(e,t){const n=e.split("-")[0],o=["top","bottom"].includes(n)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return q(`[v-placement="${e}"] >`,[z("popover-shared",` margin-${Hd[n]}: var(--n-space); `,[Z("show-arrow",` margin-${Hd[n]}: var(--n-space-arrow); `),Z("overlap",` margin: 0; - `),x6("popover-arrow-wrapper",` + `),T6("popover-arrow-wrapper",` right: 0; left: 0; top: 0; @@ -452,7 +469,7 @@ ${t} ${n}: 100%; ${Hd[n]}: auto; ${o} - `,[z("popover-arrow",t)])])])}const y_=Object.assign(Object.assign({},Be.props),{to:Uo.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number}),x_=({arrowClass:e,arrowStyle:t,arrowWrapperClass:n,arrowWrapperStyle:o,clsPrefix:r})=>v("div",{key:"__popover-arrow__",style:o,class:[`${r}-popover-arrow-wrapper`,n]},v("div",{class:[`${r}-popover-arrow`,e],style:t})),UN=me({name:"PopoverBody",inheritAttrs:!1,props:y_,setup(e,{slots:t,attrs:n}){const{namespaceRef:o,mergedClsPrefixRef:r,inlineThemeDisabled:i}=it(e),a=Be("Popover","-popover",WN,Wa,e,r),s=F(null),l=We("NPopover"),c=F(null),u=F(e.show),d=F(!1);nn(()=>{const{show:y}=e;y&&!C6()&&!e.internalDeactivateImmediately&&(d.value=!0)});const f=L(()=>{const{trigger:y,onClickoutside:k}=e,R=[],{positionManuallyRef:{value:$}}=l;return $||(y==="click"&&!k&&R.push([Ta,_,void 0,{capture:!0}]),y==="hover"&&R.push([H6,S])),k&&R.push([Ta,_,void 0,{capture:!0}]),(e.displayDirective==="show"||e.animated&&d.value)&&R.push([Jn,e.show]),R}),p=L(()=>{const y=e.width==="trigger"?void 0:qt(e.width),k=[];y&&k.push({width:y});const{maxWidth:R,minWidth:$}=e;return R&&k.push({maxWidth:qt(R)}),$&&k.push({maxWidth:qt($)}),i||k.push(h.value),k}),h=L(()=>{const{common:{cubicBezierEaseInOut:y,cubicBezierEaseIn:k,cubicBezierEaseOut:R},self:{space:$,spaceArrow:I,padding:A,fontSize:K,textColor:B,dividerColor:M,color:D,boxShadow:Y,borderRadius:Q,arrowHeight:ue,arrowOffset:le,arrowOffsetVertical:N}}=a.value;return{"--n-box-shadow":Y,"--n-bezier":y,"--n-bezier-ease-in":k,"--n-bezier-ease-out":R,"--n-font-size":K,"--n-text-color":B,"--n-color":D,"--n-divider-color":M,"--n-border-radius":Q,"--n-arrow-height":ue,"--n-arrow-offset":le,"--n-arrow-offset-vertical":N,"--n-padding":A,"--n-space":$,"--n-space-arrow":I}}),g=i?kt("popover",void 0,h,e):void 0;l.setBodyInstance({syncPosition:b}),rn(()=>{l.setBodyInstance(null)}),ht(je(e,"show"),y=>{e.animated||(y?u.value=!0:u.value=!1)});function b(){var y;(y=s.value)===null||y===void 0||y.syncPosition()}function m(y){e.trigger==="hover"&&e.keepAliveOnHover&&e.show&&l.handleMouseEnter(y)}function x(y){e.trigger==="hover"&&e.keepAliveOnHover&&l.handleMouseLeave(y)}function S(y){e.trigger==="hover"&&!w().contains(wi(y))&&l.handleMouseMoveOutside(y)}function _(y){(e.trigger==="click"&&!w().contains(wi(y))||e.onClickoutside)&&l.handleClickOutside(y)}function w(){return l.getTriggerElement()}lt(Na,c),lt(rl,null),lt(ol,null);function C(){if(g==null||g.onRender(),!(e.displayDirective==="show"||e.show||e.animated&&d.value))return null;let k;const R=l.internalRenderBodyRef.value,{value:$}=r;if(R)k=R([`${$}-popover-shared`,g==null?void 0:g.themeClass.value,e.overlap&&`${$}-popover-shared--overlap`,e.showArrow&&`${$}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${$}-popover-shared--center-arrow`],c,p.value,m,x);else{const{value:I}=l.extraClassRef,{internalTrapFocus:A}=e,K=!fa(t.header)||!fa(t.footer),B=()=>{var M,D;const Y=K?v(at,null,Et(t.header,le=>le?v("div",{class:[`${$}-popover__header`,e.headerClass],style:e.headerStyle},le):null),Et(t.default,le=>le?v("div",{class:[`${$}-popover__content`,e.contentClass],style:e.contentStyle},t):null),Et(t.footer,le=>le?v("div",{class:[`${$}-popover__footer`,e.footerClass],style:e.footerStyle},le):null)):e.scrollable?(M=t.default)===null||M===void 0?void 0:M.call(t):v("div",{class:[`${$}-popover__content`,e.contentClass],style:e.contentStyle},t),Q=e.scrollable?v(m_,{contentClass:K?void 0:`${$}-popover__content ${(D=e.contentClass)!==null&&D!==void 0?D:""}`,contentStyle:K?void 0:e.contentStyle},{default:()=>Y}):Y,ue=e.showArrow?x_({arrowClass:e.arrowClass,arrowStyle:e.arrowStyle,arrowWrapperClass:e.arrowWrapperClass,arrowWrapperStyle:e.arrowWrapperStyle,clsPrefix:$}):null;return[Q,ue]};k=v("div",Dn({class:[`${$}-popover`,`${$}-popover-shared`,g==null?void 0:g.themeClass.value,I.map(M=>`${$}-${M}`),{[`${$}-popover--scrollable`]:e.scrollable,[`${$}-popover--show-header-or-footer`]:K,[`${$}-popover--raw`]:e.raw,[`${$}-popover-shared--overlap`]:e.overlap,[`${$}-popover-shared--show-arrow`]:e.showArrow,[`${$}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:c,style:p.value,onKeydown:l.handleKeydown,onMouseenter:m,onMouseleave:x},n),A?v(Dp,{active:e.show,autoFocus:!0},{default:B}):B())}return Cn(k,f.value)}return{displayed:d,namespace:o,isMounted:l.isMountedRef,zIndex:l.zIndexRef,followerRef:s,adjustedTo:Uo(e),followerEnabled:u,renderContentNode:C}},render(){return v(Mp,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:this.width==="trigger"?"target":void 0,teleportDisabled:this.adjustedTo===Uo.tdkey},{default:()=>this.animated?v(hn,{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()})}}),qN=Object.keys(y_),KN={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};function GN(e,t,n){KN[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 $a={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:Uo.propTo,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:()=>[]},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:()=>[]},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},YN=Object.assign(Object.assign(Object.assign({},Be.props),$a),{internalOnAfterLeave:Function,internalRenderBody:Function}),cl=me({name:"Popover",inheritAttrs:!1,props:YN,__popover__:!0,setup(e){const t=Gr(),n=F(null),o=L(()=>e.show),r=F(e.defaultShow),i=ln(o,r),a=St(()=>e.disabled?!1:i.value),s=()=>{if(e.disabled)return!0;const{getDisabled:M}=e;return!!(M!=null&&M())},l=()=>s()?!1:i.value,c=xu(e,["arrow","showArrow"]),u=L(()=>e.overlap?!1:c.value);let d=null;const f=F(null),p=F(null),h=St(()=>e.x!==void 0&&e.y!==void 0);function g(M){const{"onUpdate:show":D,onUpdateShow:Y,onShow:Q,onHide:ue}=e;r.value=M,D&&Re(D,M),Y&&Re(Y,M),M&&Q&&Re(Q,!0),M&&ue&&Re(ue,!1)}function b(){d&&d.syncPosition()}function m(){const{value:M}=f;M&&(window.clearTimeout(M),f.value=null)}function x(){const{value:M}=p;M&&(window.clearTimeout(M),p.value=null)}function S(){const M=s();if(e.trigger==="focus"&&!M){if(l())return;g(!0)}}function _(){const M=s();if(e.trigger==="focus"&&!M){if(!l())return;g(!1)}}function w(){const M=s();if(e.trigger==="hover"&&!M){if(x(),f.value!==null||l())return;const D=()=>{g(!0),f.value=null},{delay:Y}=e;Y===0?D():f.value=window.setTimeout(D,Y)}}function C(){const M=s();if(e.trigger==="hover"&&!M){if(m(),p.value!==null||!l())return;const D=()=>{g(!1),p.value=null},{duration:Y}=e;Y===0?D():p.value=window.setTimeout(D,Y)}}function y(){C()}function k(M){var D;l()&&(e.trigger==="click"&&(m(),x(),g(!1)),(D=e.onClickoutside)===null||D===void 0||D.call(e,M))}function R(){if(e.trigger==="click"&&!s()){m(),x();const M=!l();g(M)}}function $(M){e.internalTrapFocus&&M.key==="Escape"&&(m(),x(),g(!1))}function I(M){r.value=M}function A(){var M;return(M=n.value)===null||M===void 0?void 0:M.targetRef}function K(M){d=M}return lt("NPopover",{getTriggerElement:A,handleKeydown:$,handleMouseEnter:w,handleMouseLeave:C,handleClickOutside:k,handleMouseMoveOutside:y,setBodyInstance:K,positionManuallyRef:h,isMountedRef:t,zIndexRef:je(e,"zIndex"),extraClassRef:je(e,"internalExtraClass"),internalRenderBodyRef:je(e,"internalRenderBody")}),nn(()=>{i.value&&s()&&g(!1)}),{binderInstRef:n,positionManually:h,mergedShowConsideringDisabledProp:a,uncontrolledShow:r,mergedShowArrow:u,getMergedShow:l,setShow:I,handleClick:R,handleMouseEnter:w,handleMouseLeave:C,handleFocus:S,handleBlur:_,syncPosition:b}},render(){var e;const{positionManually:t,$slots:n}=this;let o,r=!1;if(!t&&(n.activator?o=th(n,"activator"):o=th(n,"trigger"),o)){o=ao(o),o=o.type===za?v("span",[o]):o;const i={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(!((e=o.type)===null||e===void 0)&&e.__popover__)r=!0,o.props||(o.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),o.props.internalSyncTargetWithParent=!0,o.props.internalInheritedEventHandlers?o.props.internalInheritedEventHandlers=[i,...o.props.internalInheritedEventHandlers]:o.props.internalInheritedEventHandlers=[i];else{const{internalInheritedEventHandlers:a}=this,s=[i,...a],l={onBlur:c=>{s.forEach(u=>{u.onBlur(c)})},onFocus:c=>{s.forEach(u=>{u.onFocus(c)})},onClick:c=>{s.forEach(u=>{u.onClick(c)})},onMouseenter:c=>{s.forEach(u=>{u.onMouseenter(c)})},onMouseleave:c=>{s.forEach(u=>{u.onMouseleave(c)})}};GN(o,a?"nested":t?"manual":this.trigger,l)}}return v(Ap,{ref:"binderInstRef",syncTarget:!r,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const i=this.getMergedShow();return[this.internalTrapFocus&&i?Cn(v("div",{style:{position:"fixed",inset:0}}),[[Cu,{enabled:i,zIndex:this.zIndex}]]):null,t?null:v(Ip,null,{default:()=>o}),v(UN,Xn(this.$props,qN,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)}})]}})}}),C_={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px"},XN={name:"Tag",common:He,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:g,closeColorHover:b,closeColorPressed:m,borderRadiusSmall:x,fontSizeMini:S,fontSizeTiny:_,fontSizeSmall:w,fontSizeMedium:C,heightMini:y,heightTiny:k,heightSmall:R,heightMedium:$,buttonColor2Hover:I,buttonColor2Pressed:A,fontWeightStrong:K}=e;return Object.assign(Object.assign({},C_),{closeBorderRadius:x,heightTiny:y,heightSmall:k,heightMedium:R,heightLarge:$,borderRadius:x,opacityDisabled:f,fontSizeTiny:S,fontSizeSmall:_,fontSizeMedium:w,fontSizeLarge:C,fontWeightStrong:K,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:g,closeColorHover:b,closeColorPressed:m,borderPrimary:`1px solid ${Me(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:Me(r,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:fn(r,{lightness:.7}),closeIconColorHoverPrimary:fn(r,{lightness:.7}),closeIconColorPressedPrimary:fn(r,{lightness:.7}),closeColorHoverPrimary:Me(r,{alpha:.16}),closeColorPressedPrimary:Me(r,{alpha:.12}),borderInfo:`1px solid ${Me(i,{alpha:.3})}`,textColorInfo:i,colorInfo:Me(i,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:fn(i,{alpha:.7}),closeIconColorHoverInfo:fn(i,{alpha:.7}),closeIconColorPressedInfo:fn(i,{alpha:.7}),closeColorHoverInfo:Me(i,{alpha:.16}),closeColorPressedInfo:Me(i,{alpha:.12}),borderSuccess:`1px solid ${Me(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:Me(a,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:fn(a,{alpha:.7}),closeIconColorHoverSuccess:fn(a,{alpha:.7}),closeIconColorPressedSuccess:fn(a,{alpha:.7}),closeColorHoverSuccess:Me(a,{alpha:.16}),closeColorPressedSuccess:Me(a,{alpha:.12}),borderWarning:`1px solid ${Me(s,{alpha:.3})}`,textColorWarning:s,colorWarning:Me(s,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:fn(s,{alpha:.7}),closeIconColorHoverWarning:fn(s,{alpha:.7}),closeIconColorPressedWarning:fn(s,{alpha:.7}),closeColorHoverWarning:Me(s,{alpha:.16}),closeColorPressedWarning:Me(s,{alpha:.11}),borderError:`1px solid ${Me(l,{alpha:.3})}`,textColorError:l,colorError:Me(l,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:fn(l,{alpha:.7}),closeIconColorHoverError:fn(l,{alpha:.7}),closeIconColorPressedError:fn(l,{alpha:.7}),closeColorHoverError:Me(l,{alpha:.16}),closeColorPressedError:Me(l,{alpha:.12})})}},w_=XN,ZN=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:g,borderRadiusSmall:b,fontSizeMini:m,fontSizeTiny:x,fontSizeSmall:S,fontSizeMedium:_,heightMini:w,heightTiny:C,heightSmall:y,heightMedium:k,closeColorHover:R,closeColorPressed:$,buttonColor2Hover:I,buttonColor2Pressed:A,fontWeightStrong:K}=e;return Object.assign(Object.assign({},C_),{closeBorderRadius:b,heightTiny:w,heightSmall:C,heightMedium:y,heightLarge:k,borderRadius:b,opacityDisabled:d,fontSizeTiny:m,fontSizeSmall:x,fontSizeMedium:S,fontSizeLarge:_,fontWeightStrong:K,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:g,closeColorHover:R,closeColorPressed:$,borderPrimary:`1px solid ${Me(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:Me(r,{alpha:.12}),colorBorderedPrimary:Me(r,{alpha:.1}),closeIconColorPrimary:r,closeIconColorHoverPrimary:r,closeIconColorPressedPrimary:r,closeColorHoverPrimary:Me(r,{alpha:.12}),closeColorPressedPrimary:Me(r,{alpha:.18}),borderInfo:`1px solid ${Me(i,{alpha:.3})}`,textColorInfo:i,colorInfo:Me(i,{alpha:.12}),colorBorderedInfo:Me(i,{alpha:.1}),closeIconColorInfo:i,closeIconColorHoverInfo:i,closeIconColorPressedInfo:i,closeColorHoverInfo:Me(i,{alpha:.12}),closeColorPressedInfo:Me(i,{alpha:.18}),borderSuccess:`1px solid ${Me(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:Me(a,{alpha:.12}),colorBorderedSuccess:Me(a,{alpha:.1}),closeIconColorSuccess:a,closeIconColorHoverSuccess:a,closeIconColorPressedSuccess:a,closeColorHoverSuccess:Me(a,{alpha:.12}),closeColorPressedSuccess:Me(a,{alpha:.18}),borderWarning:`1px solid ${Me(s,{alpha:.35})}`,textColorWarning:s,colorWarning:Me(s,{alpha:.15}),colorBorderedWarning:Me(s,{alpha:.12}),closeIconColorWarning:s,closeIconColorHoverWarning:s,closeIconColorPressedWarning:s,closeColorHoverWarning:Me(s,{alpha:.12}),closeColorPressedWarning:Me(s,{alpha:.18}),borderError:`1px solid ${Me(l,{alpha:.23})}`,textColorError:l,colorError:Me(l,{alpha:.1}),colorBorderedError:Me(l,{alpha:.08}),closeIconColorError:l,closeIconColorHoverError:l,closeIconColorPressedError:l,closeColorHoverError:Me(l,{alpha:.12}),closeColorPressedError:Me(l,{alpha:.18})})},JN={name:"Tag",common:bt,self:ZN},QN=JN,eH={color:Object,type:{type:String,default:"default"},round:Boolean,size:{type:String,default:"medium"},closable:Boolean,disabled:{type:Boolean,default:void 0}},tH=z("tag",` + `,[z("popover-arrow",t)])])])}const T_=Object.assign(Object.assign({},Be.props),{to:Vo.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number}),R_=({arrowClass:e,arrowStyle:t,arrowWrapperClass:n,arrowWrapperStyle:o,clsPrefix:r})=>g("div",{key:"__popover-arrow__",style:o,class:[`${r}-popover-arrow-wrapper`,n]},g("div",{class:[`${r}-popover-arrow`,e],style:t})),QN=ge({name:"PopoverBody",inheritAttrs:!1,props:T_,setup(e,{slots:t,attrs:n}){const{namespaceRef:o,mergedClsPrefixRef:r,inlineThemeDisabled:i}=st(e),a=Be("Popover","-popover",JN,Ha,e,r),s=W(null),l=We("NPopover"),c=W(null),u=W(e.show),d=W(!1);Yt(()=>{const{show:y}=e;y&&!R6()&&!e.internalDeactivateImmediately&&(d.value=!0)});const f=L(()=>{const{trigger:y,onClickoutside:k}=e,P=[],{positionManuallyRef:{value:T}}=l;return T||(y==="click"&&!k&&P.push([Sa,S,void 0,{capture:!0}]),y==="hover"&&P.push([Y6,C])),k&&P.push([Sa,S,void 0,{capture:!0}]),(e.displayDirective==="show"||e.animated&&d.value)&&P.push([Mn,e.show]),P}),p=L(()=>{const y=e.width==="trigger"?void 0:qt(e.width),k=[];y&&k.push({width:y});const{maxWidth:P,minWidth:T}=e;return P&&k.push({maxWidth:qt(P)}),T&&k.push({maxWidth:qt(T)}),i||k.push(h.value),k}),h=L(()=>{const{common:{cubicBezierEaseInOut:y,cubicBezierEaseIn:k,cubicBezierEaseOut:P},self:{space:T,spaceArrow:$,padding:R,fontSize:K,textColor:H,dividerColor:D,color:M,boxShadow:Y,borderRadius:Q,arrowHeight:de,arrowOffset:he,arrowOffsetVertical:B}}=a.value;return{"--n-box-shadow":Y,"--n-bezier":y,"--n-bezier-ease-in":k,"--n-bezier-ease-out":P,"--n-font-size":K,"--n-text-color":H,"--n-color":M,"--n-divider-color":D,"--n-border-radius":Q,"--n-arrow-height":de,"--n-arrow-offset":he,"--n-arrow-offset-vertical":B,"--n-padding":R,"--n-space":T,"--n-space-arrow":$}}),m=i?kt("popover",void 0,h,e):void 0;l.setBodyInstance({syncPosition:v}),rn(()=>{l.setBodyInstance(null)}),ft(Ve(e,"show"),y=>{e.animated||(y?u.value=!0:u.value=!1)});function v(){var y;(y=s.value)===null||y===void 0||y.syncPosition()}function b(y){e.trigger==="hover"&&e.keepAliveOnHover&&e.show&&l.handleMouseEnter(y)}function w(y){e.trigger==="hover"&&e.keepAliveOnHover&&l.handleMouseLeave(y)}function C(y){e.trigger==="hover"&&!_().contains(ki(y))&&l.handleMouseMoveOutside(y)}function S(y){(e.trigger==="click"&&!_().contains(ki(y))||e.onClickoutside)&&l.handleClickOutside(y)}function _(){return l.getTriggerElement()}at(La,c),at(al,null),at(il,null);function x(){if(m==null||m.onRender(),!(e.displayDirective==="show"||e.show||e.animated&&d.value))return null;let k;const P=l.internalRenderBodyRef.value,{value:T}=r;if(P)k=P([`${T}-popover-shared`,m==null?void 0:m.themeClass.value,e.overlap&&`${T}-popover-shared--overlap`,e.showArrow&&`${T}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${T}-popover-shared--center-arrow`],c,p.value,b,w);else{const{value:$}=l.extraClassRef,{internalTrapFocus:R}=e,K=!fa(t.header)||!fa(t.footer),H=()=>{var D,M;const Y=K?g(rt,null,Et(t.header,he=>he?g("div",{class:[`${T}-popover__header`,e.headerClass],style:e.headerStyle},he):null),Et(t.default,he=>he?g("div",{class:[`${T}-popover__content`,e.contentClass],style:e.contentStyle},t):null),Et(t.footer,he=>he?g("div",{class:[`${T}-popover__footer`,e.footerClass],style:e.footerStyle},he):null)):e.scrollable?(D=t.default)===null||D===void 0?void 0:D.call(t):g("div",{class:[`${T}-popover__content`,e.contentClass],style:e.contentStyle},t),Q=e.scrollable?g(__,{contentClass:K?void 0:`${T}-popover__content ${(M=e.contentClass)!==null&&M!==void 0?M:""}`,contentStyle:K?void 0:e.contentStyle},{default:()=>Y}):Y,de=e.showArrow?R_({arrowClass:e.arrowClass,arrowStyle:e.arrowStyle,arrowWrapperClass:e.arrowWrapperClass,arrowWrapperStyle:e.arrowWrapperStyle,clsPrefix:T}):null;return[Q,de]};k=g("div",Ln({class:[`${T}-popover`,`${T}-popover-shared`,m==null?void 0:m.themeClass.value,$.map(D=>`${T}-${D}`),{[`${T}-popover--scrollable`]:e.scrollable,[`${T}-popover--show-header-or-footer`]:K,[`${T}-popover--raw`]:e.raw,[`${T}-popover-shared--overlap`]:e.overlap,[`${T}-popover-shared--show-arrow`]:e.showArrow,[`${T}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:c,style:p.value,onKeydown:l.handleKeydown,onMouseenter:b,onMouseleave:w},n),R?g(Dp,{active:e.show,autoFocus:!0},{default:H}):H())}return dn(k,f.value)}return{displayed:d,namespace:o,isMounted:l.isMountedRef,zIndex:l.zIndexRef,followerRef:s,adjustedTo:Vo(e),followerEnabled:u,renderContentNode:x}},render(){return g(Mp,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:this.width==="trigger"?"target":void 0,teleportDisabled:this.adjustedTo===Vo.tdkey},{default:()=>this.animated?g(fn,{name:"popover-transition",appear:this.isMounted,onEnter:()=>{this.followerEnabled=!0},onAfterLeave:()=>{var e;(e=this.internalOnAfterLeave)===null||e===void 0||e.call(this),this.followerEnabled=!1,this.displayed=!1}},{default:this.renderContentNode}):this.renderContentNode()})}}),eH=Object.keys(T_),tH={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};function nH(e,t,n){tH[t].forEach(o=>{e.props?e.props=Object.assign({},e.props):e.props={};const r=e.props[o],i=n[o];r?e.props[o]=(...a)=>{r(...a),i(...a)}:e.props[o]=i})}const Pa={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:Vo.propTo,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:()=>[]},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:()=>[]},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},oH=Object.assign(Object.assign(Object.assign({},Be.props),Pa),{internalOnAfterLeave:Function,internalRenderBody:Function}),dl=ge({name:"Popover",inheritAttrs:!1,props:oH,__popover__:!0,setup(e){const t=Xr(),n=W(null),o=L(()=>e.show),r=W(e.defaultShow),i=sn(o,r),a=St(()=>e.disabled?!1:i.value),s=()=>{if(e.disabled)return!0;const{getDisabled:D}=e;return!!(D!=null&&D())},l=()=>s()?!1:i.value,c=wu(e,["arrow","showArrow"]),u=L(()=>e.overlap?!1:c.value);let d=null;const f=W(null),p=W(null),h=St(()=>e.x!==void 0&&e.y!==void 0);function m(D){const{"onUpdate:show":M,onUpdateShow:Y,onShow:Q,onHide:de}=e;r.value=D,M&&Ee(M,D),Y&&Ee(Y,D),D&&Q&&Ee(Q,!0),D&&de&&Ee(de,!1)}function v(){d&&d.syncPosition()}function b(){const{value:D}=f;D&&(window.clearTimeout(D),f.value=null)}function w(){const{value:D}=p;D&&(window.clearTimeout(D),p.value=null)}function C(){const D=s();if(e.trigger==="focus"&&!D){if(l())return;m(!0)}}function S(){const D=s();if(e.trigger==="focus"&&!D){if(!l())return;m(!1)}}function _(){const D=s();if(e.trigger==="hover"&&!D){if(w(),f.value!==null||l())return;const M=()=>{m(!0),f.value=null},{delay:Y}=e;Y===0?M():f.value=window.setTimeout(M,Y)}}function x(){const D=s();if(e.trigger==="hover"&&!D){if(b(),p.value!==null||!l())return;const M=()=>{m(!1),p.value=null},{duration:Y}=e;Y===0?M():p.value=window.setTimeout(M,Y)}}function y(){x()}function k(D){var M;l()&&(e.trigger==="click"&&(b(),w(),m(!1)),(M=e.onClickoutside)===null||M===void 0||M.call(e,D))}function P(){if(e.trigger==="click"&&!s()){b(),w();const D=!l();m(D)}}function T(D){e.internalTrapFocus&&D.key==="Escape"&&(b(),w(),m(!1))}function $(D){r.value=D}function R(){var D;return(D=n.value)===null||D===void 0?void 0:D.targetRef}function K(D){d=D}return at("NPopover",{getTriggerElement:R,handleKeydown:T,handleMouseEnter:_,handleMouseLeave:x,handleClickOutside:k,handleMouseMoveOutside:y,setBodyInstance:K,positionManuallyRef:h,isMountedRef:t,zIndexRef:Ve(e,"zIndex"),extraClassRef:Ve(e,"internalExtraClass"),internalRenderBodyRef:Ve(e,"internalRenderBody")}),Yt(()=>{i.value&&s()&&m(!1)}),{binderInstRef:n,positionManually:h,mergedShowConsideringDisabledProp:a,uncontrolledShow:r,mergedShowArrow:u,getMergedShow:l,setShow:$,handleClick:P,handleMouseEnter:_,handleMouseLeave:x,handleFocus:C,handleBlur:S,syncPosition:v}},render(){var e;const{positionManually:t,$slots:n}=this;let o,r=!1;if(!t&&(n.activator?o=oh(n,"activator"):o=oh(n,"trigger"),o)){o=ao(o),o=o.type===$a?g("span",[o]):o;const i={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(!((e=o.type)===null||e===void 0)&&e.__popover__)r=!0,o.props||(o.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),o.props.internalSyncTargetWithParent=!0,o.props.internalInheritedEventHandlers?o.props.internalInheritedEventHandlers=[i,...o.props.internalInheritedEventHandlers]:o.props.internalInheritedEventHandlers=[i];else{const{internalInheritedEventHandlers:a}=this,s=[i,...a],l={onBlur:c=>{s.forEach(u=>{u.onBlur(c)})},onFocus:c=>{s.forEach(u=>{u.onFocus(c)})},onClick:c=>{s.forEach(u=>{u.onClick(c)})},onMouseenter:c=>{s.forEach(u=>{u.onMouseenter(c)})},onMouseleave:c=>{s.forEach(u=>{u.onMouseleave(c)})}};nH(o,a?"nested":t?"manual":this.trigger,l)}}return g(Ap,{ref:"binderInstRef",syncTarget:!r,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const i=this.getMergedShow();return[this.internalTrapFocus&&i?dn(g("div",{style:{position:"fixed",inset:0}}),[[_u,{enabled:i,zIndex:this.zIndex}]]):null,t?null:g(Ip,null,{default:()=>o}),g(QN,Xn(this.$props,eH,Object.assign(Object.assign({},this.$attrs),{showArrow:this.mergedShowArrow,show:i})),{default:()=>{var a,s;return(s=(a=this.$slots).default)===null||s===void 0?void 0:s.call(a)},header:()=>{var a,s;return(s=(a=this.$slots).header)===null||s===void 0?void 0:s.call(a)},footer:()=>{var a,s;return(s=(a=this.$slots).footer)===null||s===void 0?void 0:s.call(a)}})]}})}}),E_={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px"},rH={name:"Tag",common:Ne,self(e){const{textColor2:t,primaryColorHover:n,primaryColorPressed:o,primaryColor:r,infoColor:i,successColor:a,warningColor:s,errorColor:l,baseColor:c,borderColor:u,tagColor:d,opacityDisabled:f,closeIconColor:p,closeIconColorHover:h,closeIconColorPressed:m,closeColorHover:v,closeColorPressed:b,borderRadiusSmall:w,fontSizeMini:C,fontSizeTiny:S,fontSizeSmall:_,fontSizeMedium:x,heightMini:y,heightTiny:k,heightSmall:P,heightMedium:T,buttonColor2Hover:$,buttonColor2Pressed:R,fontWeightStrong:K}=e;return Object.assign(Object.assign({},E_),{closeBorderRadius:w,heightTiny:y,heightSmall:k,heightMedium:P,heightLarge:T,borderRadius:w,opacityDisabled:f,fontSizeTiny:C,fontSizeSmall:S,fontSizeMedium:_,fontSizeLarge:x,fontWeightStrong:K,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:$,colorPressedCheckable:R,colorChecked:r,colorCheckedHover:n,colorCheckedPressed:o,border:`1px solid ${u}`,textColor:t,color:d,colorBordered:"#0000",closeIconColor:p,closeIconColorHover:h,closeIconColorPressed:m,closeColorHover:v,closeColorPressed:b,borderPrimary:`1px solid ${Me(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:Me(r,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:un(r,{lightness:.7}),closeIconColorHoverPrimary:un(r,{lightness:.7}),closeIconColorPressedPrimary:un(r,{lightness:.7}),closeColorHoverPrimary:Me(r,{alpha:.16}),closeColorPressedPrimary:Me(r,{alpha:.12}),borderInfo:`1px solid ${Me(i,{alpha:.3})}`,textColorInfo:i,colorInfo:Me(i,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:un(i,{alpha:.7}),closeIconColorHoverInfo:un(i,{alpha:.7}),closeIconColorPressedInfo:un(i,{alpha:.7}),closeColorHoverInfo:Me(i,{alpha:.16}),closeColorPressedInfo:Me(i,{alpha:.12}),borderSuccess:`1px solid ${Me(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:Me(a,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:un(a,{alpha:.7}),closeIconColorHoverSuccess:un(a,{alpha:.7}),closeIconColorPressedSuccess:un(a,{alpha:.7}),closeColorHoverSuccess:Me(a,{alpha:.16}),closeColorPressedSuccess:Me(a,{alpha:.12}),borderWarning:`1px solid ${Me(s,{alpha:.3})}`,textColorWarning:s,colorWarning:Me(s,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:un(s,{alpha:.7}),closeIconColorHoverWarning:un(s,{alpha:.7}),closeIconColorPressedWarning:un(s,{alpha:.7}),closeColorHoverWarning:Me(s,{alpha:.16}),closeColorPressedWarning:Me(s,{alpha:.11}),borderError:`1px solid ${Me(l,{alpha:.3})}`,textColorError:l,colorError:Me(l,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:un(l,{alpha:.7}),closeIconColorHoverError:un(l,{alpha:.7}),closeIconColorPressedError:un(l,{alpha:.7}),closeColorHoverError:Me(l,{alpha:.16}),closeColorPressedError:Me(l,{alpha:.12})})}},$_=rH,iH=e=>{const{textColor2:t,primaryColorHover:n,primaryColorPressed:o,primaryColor:r,infoColor:i,successColor:a,warningColor:s,errorColor:l,baseColor:c,borderColor:u,opacityDisabled:d,tagColor:f,closeIconColor:p,closeIconColorHover:h,closeIconColorPressed:m,borderRadiusSmall:v,fontSizeMini:b,fontSizeTiny:w,fontSizeSmall:C,fontSizeMedium:S,heightMini:_,heightTiny:x,heightSmall:y,heightMedium:k,closeColorHover:P,closeColorPressed:T,buttonColor2Hover:$,buttonColor2Pressed:R,fontWeightStrong:K}=e;return Object.assign(Object.assign({},E_),{closeBorderRadius:v,heightTiny:_,heightSmall:x,heightMedium:y,heightLarge:k,borderRadius:v,opacityDisabled:d,fontSizeTiny:b,fontSizeSmall:w,fontSizeMedium:C,fontSizeLarge:S,fontWeightStrong:K,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:$,colorPressedCheckable:R,colorChecked:r,colorCheckedHover:n,colorCheckedPressed:o,border:`1px solid ${u}`,textColor:t,color:f,colorBordered:"rgb(250, 250, 252)",closeIconColor:p,closeIconColorHover:h,closeIconColorPressed:m,closeColorHover:P,closeColorPressed:T,borderPrimary:`1px solid ${Me(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:Me(r,{alpha:.12}),colorBorderedPrimary:Me(r,{alpha:.1}),closeIconColorPrimary:r,closeIconColorHoverPrimary:r,closeIconColorPressedPrimary:r,closeColorHoverPrimary:Me(r,{alpha:.12}),closeColorPressedPrimary:Me(r,{alpha:.18}),borderInfo:`1px solid ${Me(i,{alpha:.3})}`,textColorInfo:i,colorInfo:Me(i,{alpha:.12}),colorBorderedInfo:Me(i,{alpha:.1}),closeIconColorInfo:i,closeIconColorHoverInfo:i,closeIconColorPressedInfo:i,closeColorHoverInfo:Me(i,{alpha:.12}),closeColorPressedInfo:Me(i,{alpha:.18}),borderSuccess:`1px solid ${Me(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:Me(a,{alpha:.12}),colorBorderedSuccess:Me(a,{alpha:.1}),closeIconColorSuccess:a,closeIconColorHoverSuccess:a,closeIconColorPressedSuccess:a,closeColorHoverSuccess:Me(a,{alpha:.12}),closeColorPressedSuccess:Me(a,{alpha:.18}),borderWarning:`1px solid ${Me(s,{alpha:.35})}`,textColorWarning:s,colorWarning:Me(s,{alpha:.15}),colorBorderedWarning:Me(s,{alpha:.12}),closeIconColorWarning:s,closeIconColorHoverWarning:s,closeIconColorPressedWarning:s,closeColorHoverWarning:Me(s,{alpha:.12}),closeColorPressedWarning:Me(s,{alpha:.18}),borderError:`1px solid ${Me(l,{alpha:.23})}`,textColorError:l,colorError:Me(l,{alpha:.1}),colorBorderedError:Me(l,{alpha:.08}),closeIconColorError:l,closeIconColorHoverError:l,closeIconColorPressedError:l,closeColorHoverError:Me(l,{alpha:.12}),closeColorPressedError:Me(l,{alpha:.18})})},aH={name:"Tag",common:bt,self:iH},sH=aH,lH={color:Object,type:{type:String,default:"default"},round:Boolean,size:{type:String,default:"medium"},closable:Boolean,disabled:{type:Boolean,default:void 0}},cH=z("tag",` --n-close-margin: var(--n-close-margin-top) var(--n-close-margin-right) var(--n-close-margin-bottom) var(--n-close-margin-left); white-space: nowrap; position: relative; @@ -519,15 +536,15 @@ ${t} box-shadow: none; color: var(--n-text-color-checkable); background-color: var(--n-color-checkable); - `,[Tt("disabled",[U("&:hover","background-color: var(--n-color-hover-checkable);",[Tt("checked","color: var(--n-text-color-hover-checkable);")]),U("&:active","background-color: var(--n-color-pressed-checkable);",[Tt("checked","color: var(--n-text-color-pressed-checkable);")])]),Z("checked",` + `,[Tt("disabled",[q("&:hover","background-color: var(--n-color-hover-checkable);",[Tt("checked","color: var(--n-text-color-hover-checkable);")]),q("&:active","background-color: var(--n-color-pressed-checkable);",[Tt("checked","color: var(--n-text-color-pressed-checkable);")])]),Z("checked",` color: var(--n-text-color-checked); background-color: var(--n-color-checked); - `,[Tt("disabled",[U("&:hover","background-color: var(--n-color-checked-hover);"),U("&:active","background-color: var(--n-color-checked-pressed);")])])])]),nH=Object.assign(Object.assign(Object.assign({},Be.props),eH),{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}),oH="n-tag",yi=me({name:"Tag",props:nH,setup(e){const t=F(null),{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:i}=it(e),a=Be("Tag","-tag",tH,QN,e,o);lt(oH,{roundRef:je(e,"round")});function s(p){if(!e.disabled&&e.checkable){const{checked:h,onCheckedChange:g,onUpdateChecked:b,"onUpdate:checked":m}=e;b&&b(!h),m&&m(!h),g&&g(!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=pn("Tag",i,o),d=L(()=>{const{type:p,size:h,color:{color:g,textColor:b}={}}=e,{common:{cubicBezierEaseInOut:m},self:{padding:x,closeMargin:S,borderRadius:_,opacityDisabled:w,textColorCheckable:C,textColorHoverCheckable:y,textColorPressedCheckable:k,textColorChecked:R,colorCheckable:$,colorHoverCheckable:I,colorPressedCheckable:A,colorChecked:K,colorCheckedHover:B,colorCheckedPressed:M,closeBorderRadius:D,fontWeightStrong:Y,[ke("colorBordered",p)]:Q,[ke("closeSize",h)]:ue,[ke("closeIconSize",h)]:le,[ke("fontSize",h)]:N,[ke("height",h)]:E,[ke("color",p)]:O,[ke("textColor",p)]:q,[ke("border",p)]:ne,[ke("closeIconColor",p)]:ve,[ke("closeIconColorHover",p)]:J,[ke("closeIconColorPressed",p)]:be,[ke("closeColorHover",p)]:H,[ke("closeColorPressed",p)]:ge}}=a.value,Ie=yo(S);return{"--n-font-weight-strong":Y,"--n-avatar-size-override":`calc(${E} - 8px)`,"--n-bezier":m,"--n-border-radius":_,"--n-border":ne,"--n-close-icon-size":le,"--n-close-color-pressed":ge,"--n-close-color-hover":H,"--n-close-border-radius":D,"--n-close-icon-color":ve,"--n-close-icon-color-hover":J,"--n-close-icon-color-pressed":be,"--n-close-icon-color-disabled":ve,"--n-close-margin-top":Ie.top,"--n-close-margin-right":Ie.right,"--n-close-margin-bottom":Ie.bottom,"--n-close-margin-left":Ie.left,"--n-close-size":ue,"--n-color":g||(n.value?Q:O),"--n-color-checkable":$,"--n-color-checked":K,"--n-color-checked-hover":B,"--n-color-checked-pressed":M,"--n-color-hover-checkable":I,"--n-color-pressed-checkable":A,"--n-font-size":N,"--n-height":E,"--n-opacity-disabled":w,"--n-padding":x,"--n-text-color":b||q,"--n-text-color-checkable":C,"--n-text-color-checked":R,"--n-text-color-hover-checkable":y,"--n-text-color-pressed-checkable":k}}),f=r?kt("tag",L(()=>{let p="";const{type:h,size:g,color:{color:b,textColor:m}={}}=e;return p+=h[0],p+=g[0],b&&(p+=`a${Pc(b)}`),m&&(p+=`b${Pc(m)}`),n.value&&(p+="c"),p}),d,e):void 0;return Object.assign(Object.assign({},c),{rtlEnabled:u,mergedClsPrefix:o,contentRef:t,mergedBordered:n,handleClick:s,handleCloseClick:l,cssVars:r?void 0:d,themeClass:f==null?void 0:f.themeClass,onRender:f==null?void 0:f.onRender})},render(){var e,t;const{mergedClsPrefix:n,rtlEnabled:o,closable:r,color:{borderColor:i}={},round:a,onRender:s,$slots:l}=this;s==null||s();const c=Et(l.avatar,d=>d&&v("div",{class:`${n}-tag__avatar`},d)),u=Et(l.icon,d=>d&&v("div",{class:`${n}-tag__icon`},d));return v("div",{class:[`${n}-tag`,this.themeClass,{[`${n}-tag--rtl`]:o,[`${n}-tag--strong`]:this.strong,[`${n}-tag--disabled`]:this.disabled,[`${n}-tag--checkable`]:this.checkable,[`${n}-tag--checked`]:this.checkable&&this.checked,[`${n}-tag--round`]:a,[`${n}-tag--avatar`]:c,[`${n}-tag--icon`]:u,[`${n}-tag--closable`]:r}],style:this.cssVars,onClick:this.handleClick,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},u||c,v("span",{class:`${n}-tag__content`,ref:"contentRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)),!this.checkable&&r?v(ji,{clsPrefix:n,class:`${n}-tag__close`,disabled:this.disabled,onClick:this.handleCloseClick,focusable:this.internalCloseFocusable,round:a,isButtonTag:this.internalCloseIsButtonTag,absolute:!0}):null,!this.checkable&&this.mergedBordered?v("div",{class:`${n}-tag__border`,style:{borderColor:i}}):null)}}),rH=z("base-clear",` + `,[Tt("disabled",[q("&:hover","background-color: var(--n-color-checked-hover);"),q("&:active","background-color: var(--n-color-checked-pressed);")])])])]),uH=Object.assign(Object.assign(Object.assign({},Be.props),lH),{bordered:{type:Boolean,default:void 0},checked:Boolean,checkable:Boolean,strong:Boolean,triggerClickOnClose:Boolean,onClose:[Array,Function],onMouseenter:Function,onMouseleave:Function,"onUpdate:checked":Function,onUpdateChecked:Function,internalCloseFocusable:{type:Boolean,default:!0},internalCloseIsButtonTag:{type:Boolean,default:!0},onCheckedChange:Function}),dH="n-tag",_i=ge({name:"Tag",props:uH,setup(e){const t=W(null),{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:i}=st(e),a=Be("Tag","-tag",cH,sH,e,o);at(dH,{roundRef:Ve(e,"round")});function s(p){if(!e.disabled&&e.checkable){const{checked:h,onCheckedChange:m,onUpdateChecked:v,"onUpdate:checked":b}=e;v&&v(!h),b&&b(!h),m&&m(!h)}}function l(p){if(e.triggerClickOnClose||p.stopPropagation(),!e.disabled){const{onClose:h}=e;h&&Ee(h,p)}}const c={setTextContent(p){const{value:h}=t;h&&(h.textContent=p)}},u=pn("Tag",i,o),d=L(()=>{const{type:p,size:h,color:{color:m,textColor:v}={}}=e,{common:{cubicBezierEaseInOut:b},self:{padding:w,closeMargin:C,borderRadius:S,opacityDisabled:_,textColorCheckable:x,textColorHoverCheckable:y,textColorPressedCheckable:k,textColorChecked:P,colorCheckable:T,colorHoverCheckable:$,colorPressedCheckable:R,colorChecked:K,colorCheckedHover:H,colorCheckedPressed:D,closeBorderRadius:M,fontWeightStrong:Y,[Te("colorBordered",p)]:Q,[Te("closeSize",h)]:de,[Te("closeIconSize",h)]:he,[Te("fontSize",h)]:B,[Te("height",h)]:E,[Te("color",p)]:A,[Te("textColor",p)]:G,[Te("border",p)]:ne,[Te("closeIconColor",p)]:ye,[Te("closeIconColorHover",p)]:J,[Te("closeIconColorPressed",p)]:xe,[Te("closeColorHover",p)]:j,[Te("closeColorPressed",p)]:ve}}=a.value,Oe=_o(C);return{"--n-font-weight-strong":Y,"--n-avatar-size-override":`calc(${E} - 8px)`,"--n-bezier":b,"--n-border-radius":S,"--n-border":ne,"--n-close-icon-size":he,"--n-close-color-pressed":ve,"--n-close-color-hover":j,"--n-close-border-radius":M,"--n-close-icon-color":ye,"--n-close-icon-color-hover":J,"--n-close-icon-color-pressed":xe,"--n-close-icon-color-disabled":ye,"--n-close-margin-top":Oe.top,"--n-close-margin-right":Oe.right,"--n-close-margin-bottom":Oe.bottom,"--n-close-margin-left":Oe.left,"--n-close-size":de,"--n-color":m||(n.value?Q:A),"--n-color-checkable":T,"--n-color-checked":K,"--n-color-checked-hover":H,"--n-color-checked-pressed":D,"--n-color-hover-checkable":$,"--n-color-pressed-checkable":R,"--n-font-size":B,"--n-height":E,"--n-opacity-disabled":_,"--n-padding":w,"--n-text-color":v||G,"--n-text-color-checkable":x,"--n-text-color-checked":P,"--n-text-color-hover-checkable":y,"--n-text-color-pressed-checkable":k}}),f=r?kt("tag",L(()=>{let p="";const{type:h,size:m,color:{color:v,textColor:b}={}}=e;return p+=h[0],p+=m[0],v&&(p+=`a${Pc(v)}`),b&&(p+=`b${Pc(b)}`),n.value&&(p+="c"),p}),d,e):void 0;return Object.assign(Object.assign({},c),{rtlEnabled:u,mergedClsPrefix:o,contentRef:t,mergedBordered:n,handleClick:s,handleCloseClick:l,cssVars:r?void 0:d,themeClass:f==null?void 0:f.themeClass,onRender:f==null?void 0:f.onRender})},render(){var e,t;const{mergedClsPrefix:n,rtlEnabled:o,closable:r,color:{borderColor:i}={},round:a,onRender:s,$slots:l}=this;s==null||s();const c=Et(l.avatar,d=>d&&g("div",{class:`${n}-tag__avatar`},d)),u=Et(l.icon,d=>d&&g("div",{class:`${n}-tag__icon`},d));return g("div",{class:[`${n}-tag`,this.themeClass,{[`${n}-tag--rtl`]:o,[`${n}-tag--strong`]:this.strong,[`${n}-tag--disabled`]:this.disabled,[`${n}-tag--checkable`]:this.checkable,[`${n}-tag--checked`]:this.checkable&&this.checked,[`${n}-tag--round`]:a,[`${n}-tag--avatar`]:c,[`${n}-tag--icon`]:u,[`${n}-tag--closable`]:r}],style:this.cssVars,onClick:this.handleClick,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},u||c,g("span",{class:`${n}-tag__content`,ref:"contentRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)),!this.checkable&&r?g(Hi,{clsPrefix:n,class:`${n}-tag__close`,disabled:this.disabled,onClick:this.handleCloseClick,focusable:this.internalCloseFocusable,round:a,isButtonTag:this.internalCloseIsButtonTag,absolute:!0}):null,!this.checkable&&this.mergedBordered?g("div",{class:`${n}-tag__border`,style:{borderColor:i}}):null)}}),fH=z("base-clear",` flex-shrink: 0; height: 1em; width: 1em; position: relative; -`,[U(">",[V("clear",` +`,[q(">",[V("clear",` font-size: var(--n-clear-size); height: 1em; width: 1em; @@ -535,9 +552,9 @@ ${t} color: var(--n-clear-color); transition: color .3s var(--n-bezier); display: flex; - `,[U("&:hover",` + `,[q("&:hover",` color: var(--n-clear-color-hover)!important; - `),U("&:active",` + `),q("&:active",` color: var(--n-clear-color-pressed)!important; `)]),V("placeholder",` display: flex; @@ -546,7 +563,7 @@ ${t} left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); - `,[qn({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),Ch=me({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup(e){return Yr("-base-clear",rH,je(e,"clsPrefix")),{handleMouseDown(t){t.preventDefault()}}},render(){const{clsPrefix:e}=this;return v("div",{class:`${e}-base-clear`},v(Hi,null,{default:()=>{var t,n;return this.show?v("div",{key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},An(this.$slots.icon,()=>[v(Ut,{clsPrefix:e},{default:()=>v(NB,null)})])):v("div",{key:"icon",class:`${e}-base-clear__placeholder`},(n=(t=this.$slots).placeholder)===null||n===void 0?void 0:n.call(t))}}))}}),__=me({name:"InternalSelectionSuffix",props:{clsPrefix:{type:String,required:!0},showArrow:{type:Boolean,default:void 0},showClear:{type:Boolean,default:void 0},loading:{type:Boolean,default:!1},onClear:Function},setup(e,{slots:t}){return()=>{const{clsPrefix:n}=e;return v(Xr,{clsPrefix:n,class:`${n}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?v(Ch,{clsPrefix:n,show:e.showClear,onClear:e.onClear},{placeholder:()=>v(Ut,{clsPrefix:n,class:`${n}-base-suffix__arrow`},{default:()=>An(t.default,()=>[v(a_,null)])})}):null})}}}),S_={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"},iH=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:g,clearColorHover:b,clearColorPressed:m,placeholderColor:x,placeholderColorDisabled:S,fontSizeTiny:_,fontSizeSmall:w,fontSizeMedium:C,fontSizeLarge:y,heightTiny:k,heightSmall:R,heightMedium:$,heightLarge:I}=e;return Object.assign(Object.assign({},S_),{fontSizeTiny:_,fontSizeSmall:w,fontSizeMedium:C,fontSizeLarge:y,heightTiny:k,heightSmall:R,heightMedium:$,heightLarge:I,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:x,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 ${Me(a,{alpha:.2})}`,boxShadowFocus:`0 0 0 2px ${Me(a,{alpha:.2})}`,caretColor:a,arrowColor:p,arrowColorDisabled:h,loadingColor:a,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${c}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 0 2px ${Me(l,{alpha:.2})}`,boxShadowFocusWarning:`0 0 0 2px ${Me(l,{alpha:.2})}`,colorActiveWarning:r,caretColorWarning:l,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,borderActiveError:`1px solid ${u}`,borderFocusError:`1px solid ${d}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 0 2px ${Me(u,{alpha:.2})}`,boxShadowFocusError:`0 0 0 2px ${Me(u,{alpha:.2})}`,colorActiveError:r,caretColorError:u,clearColor:g,clearColorHover:b,clearColorPressed:m})},aH={name:"InternalSelection",common:bt,peers:{Popover:Wa},self:iH},k_=aH,sH={name:"InternalSelection",common:He,peers:{Popover:Ui},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:g,clearColorPressed:b,placeholderColor:m,placeholderColorDisabled:x,fontSizeTiny:S,fontSizeSmall:_,fontSizeMedium:w,fontSizeLarge:C,heightTiny:y,heightSmall:k,heightMedium:R,heightLarge:$}=e;return Object.assign(Object.assign({},S_),{fontSizeTiny:S,fontSizeSmall:_,fontSizeMedium:w,fontSizeLarge:C,heightTiny:y,heightSmall:k,heightMedium:R,heightLarge:$,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:m,placeholderColorDisabled:x,color:r,colorDisabled:i,colorActive:Me(a,{alpha:.1}),border:"1px solid #0000",borderHover:`1px solid ${s}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 8px 0 ${Me(a,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${Me(a,{alpha:.4})}`,caretColor:a,arrowColor:f,arrowColorDisabled:p,loadingColor:a,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${c}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 8px 0 ${Me(l,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${Me(l,{alpha:.4})}`,colorActiveWarning:Me(l,{alpha:.1}),caretColorWarning:l,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,borderActiveError:`1px solid ${u}`,borderFocusError:`1px solid ${d}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 8px 0 ${Me(u,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${Me(u,{alpha:.4})}`,colorActiveError:Me(u,{alpha:.1}),caretColorError:u,clearColor:h,clearColorHover:g,clearColorPressed:b})}},em=sH,lH=U([z("base-selection",` + `,[qn({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),_h=ge({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup(e){return Zr("-base-clear",fH,Ve(e,"clsPrefix")),{handleMouseDown(t){t.preventDefault()}}},render(){const{clsPrefix:e}=this;return g("div",{class:`${e}-base-clear`},g(Ni,null,{default:()=>{var t,n;return this.show?g("div",{key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},An(this.$slots.icon,()=>[g(Ut,{clsPrefix:e},{default:()=>g(GB,null)})])):g("div",{key:"icon",class:`${e}-base-clear__placeholder`},(n=(t=this.$slots).placeholder)===null||n===void 0?void 0:n.call(t))}}))}}),A_=ge({name:"InternalSelectionSuffix",props:{clsPrefix:{type:String,required:!0},showArrow:{type:Boolean,default:void 0},showClear:{type:Boolean,default:void 0},loading:{type:Boolean,default:!1},onClear:Function},setup(e,{slots:t}){return()=>{const{clsPrefix:n}=e;return g(Jr,{clsPrefix:n,class:`${n}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?g(_h,{clsPrefix:n,show:e.showClear,onClear:e.onClear},{placeholder:()=>g(Ut,{clsPrefix:n,class:`${n}-base-suffix__arrow`},{default:()=>An(t.default,()=>[g(p_,null)])})}):null})}}}),I_={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"},hH=e=>{const{borderRadius:t,textColor2:n,textColorDisabled:o,inputColor:r,inputColorDisabled:i,primaryColor:a,primaryColorHover:s,warningColor:l,warningColorHover:c,errorColor:u,errorColorHover:d,borderColor:f,iconColor:p,iconColorDisabled:h,clearColor:m,clearColorHover:v,clearColorPressed:b,placeholderColor:w,placeholderColorDisabled:C,fontSizeTiny:S,fontSizeSmall:_,fontSizeMedium:x,fontSizeLarge:y,heightTiny:k,heightSmall:P,heightMedium:T,heightLarge:$}=e;return Object.assign(Object.assign({},I_),{fontSizeTiny:S,fontSizeSmall:_,fontSizeMedium:x,fontSizeLarge:y,heightTiny:k,heightSmall:P,heightMedium:T,heightLarge:$,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:w,placeholderColorDisabled:C,color:r,colorDisabled:i,colorActive:r,border:`1px solid ${f}`,borderHover:`1px solid ${s}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 0 2px ${Me(a,{alpha:.2})}`,boxShadowFocus:`0 0 0 2px ${Me(a,{alpha:.2})}`,caretColor:a,arrowColor:p,arrowColorDisabled:h,loadingColor:a,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${c}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 0 2px ${Me(l,{alpha:.2})}`,boxShadowFocusWarning:`0 0 0 2px ${Me(l,{alpha:.2})}`,colorActiveWarning:r,caretColorWarning:l,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,borderActiveError:`1px solid ${u}`,borderFocusError:`1px solid ${d}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 0 2px ${Me(u,{alpha:.2})}`,boxShadowFocusError:`0 0 0 2px ${Me(u,{alpha:.2})}`,colorActiveError:r,caretColorError:u,clearColor:m,clearColorHover:v,clearColorPressed:b})},pH={name:"InternalSelection",common:bt,peers:{Popover:Ha},self:hH},O_=pH,mH={name:"InternalSelection",common:Ne,peers:{Popover:Wi},self(e){const{borderRadius:t,textColor2:n,textColorDisabled:o,inputColor:r,inputColorDisabled:i,primaryColor:a,primaryColorHover:s,warningColor:l,warningColorHover:c,errorColor:u,errorColorHover:d,iconColor:f,iconColorDisabled:p,clearColor:h,clearColorHover:m,clearColorPressed:v,placeholderColor:b,placeholderColorDisabled:w,fontSizeTiny:C,fontSizeSmall:S,fontSizeMedium:_,fontSizeLarge:x,heightTiny:y,heightSmall:k,heightMedium:P,heightLarge:T}=e;return Object.assign(Object.assign({},I_),{fontSizeTiny:C,fontSizeSmall:S,fontSizeMedium:_,fontSizeLarge:x,heightTiny:y,heightSmall:k,heightMedium:P,heightLarge:T,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:b,placeholderColorDisabled:w,color:r,colorDisabled:i,colorActive:Me(a,{alpha:.1}),border:"1px solid #0000",borderHover:`1px solid ${s}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 8px 0 ${Me(a,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${Me(a,{alpha:.4})}`,caretColor:a,arrowColor:f,arrowColorDisabled:p,loadingColor:a,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${c}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 8px 0 ${Me(l,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${Me(l,{alpha:.4})}`,colorActiveWarning:Me(l,{alpha:.1}),caretColorWarning:l,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,borderActiveError:`1px solid ${u}`,borderFocusError:`1px solid ${d}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 8px 0 ${Me(u,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${Me(u,{alpha:.4})}`,colorActiveError:Me(u,{alpha:.1}),caretColorError:u,clearColor:h,clearColorHover:m,clearColorPressed:v})}},em=mH,gH=q([z("base-selection",` --n-padding-single: var(--n-padding-single-top) var(--n-padding-single-right) var(--n-padding-single-bottom) var(--n-padding-single-left); --n-padding-multiple: var(--n-padding-multiple-top) var(--n-padding-multiple-right) var(--n-padding-multiple-bottom) var(--n-padding-multiple-left); position: relative; @@ -663,7 +680,7 @@ ${t} white-space: nowrap; `)]),V("render-label",` color: var(--n-text-color); - `)]),Tt("disabled",[U("&:hover",[V("state-border",` + `)]),Tt("disabled",[q("&:hover",[V("state-border",` box-shadow: var(--n-box-shadow-hover); border: var(--n-border-hover); `)]),Z("focus",[V("state-border",` @@ -721,7 +738,7 @@ ${t} user-select: none; -webkit-user-select: none; opacity: 0; - `)]),["warning","error"].map(e=>Z(`${e}-status`,[V("state-border",`border: var(--n-border-${e});`),Tt("disabled",[U("&:hover",[V("state-border",` + `)]),["warning","error"].map(e=>Z(`${e}-status`,[V("state-border",`border: var(--n-border-${e});`),Tt("disabled",[q("&:hover",[V("state-border",` box-shadow: var(--n-box-shadow-hover-${e}); border: var(--n-border-hover-${e}); `)]),Z("active",[V("state-border",` @@ -739,54 +756,54 @@ ${t} max-width: 100%; display: inline-flex; padding: 0 7px 3px 0; - `,[U("&:last-child","padding-right: 0;"),z("tag",` + `,[q("&:last-child","padding-right: 0;"),z("tag",` font-size: 14px; max-width: 100%; `,[V("content",` line-height: 1.25; text-overflow: ellipsis; overflow: hidden; - `)])])]),cH=me({name:"InternalSelection",props:Object.assign(Object.assign({},Be.props),{clsPrefix:{type:String,required:!0},bordered:{type:Boolean,default:void 0},active:Boolean,pattern:{type:String,default:""},placeholder:String,selectedOption:{type:Object,default:null},selectedOptions:{type:Array,default:null},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},multiple:Boolean,filterable:Boolean,clearable:Boolean,disabled:Boolean,size:{type:String,default:"medium"},loading:Boolean,autofocus:Boolean,showArrow:{type:Boolean,default:!0},inputProps:Object,focused:Boolean,renderTag:Function,onKeydown:Function,onClick:Function,onBlur:Function,onFocus:Function,onDeleteOption:Function,maxTagCount:[String,Number],ellipsisTagPopoverProps:Object,onClear:Function,onPatternInput:Function,onPatternFocus:Function,onPatternBlur:Function,renderLabel:Function,status:String,inlineThemeDisabled:Boolean,ignoreComposition:{type:Boolean,default:!0},onResize:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=it(e),o=pn("InternalSelection",n,t),r=F(null),i=F(null),a=F(null),s=F(null),l=F(null),c=F(null),u=F(null),d=F(null),f=F(null),p=F(null),h=F(!1),g=F(!1),b=F(!1),m=Be("InternalSelection","-internal-selection",lH,k_,e,je(e,"clsPrefix")),x=L(()=>e.clearable&&!e.disabled&&(b.value||e.active)),S=L(()=>e.selectedOption?e.renderTag?e.renderTag({option:e.selectedOption,handleClose:()=>{}}):e.renderLabel?e.renderLabel(e.selectedOption,!0):Wt(e.selectedOption[e.labelField],e.selectedOption,!0):e.placeholder),_=L(()=>{const de=e.selectedOption;if(de)return de[e.labelField]}),w=L(()=>e.multiple?!!(Array.isArray(e.selectedOptions)&&e.selectedOptions.length):e.selectedOption!==null);function C(){var de;const{value:ee}=r;if(ee){const{value:fe}=i;fe&&(fe.style.width=`${ee.offsetWidth}px`,e.maxTagCount!=="responsive"&&((de=f.value)===null||de===void 0||de.sync({showAllItemsBeforeCalculate:!1})))}}function y(){const{value:de}=p;de&&(de.style.display="none")}function k(){const{value:de}=p;de&&(de.style.display="inline-block")}ht(je(e,"active"),de=>{de||y()}),ht(je(e,"pattern"),()=>{e.multiple&&jt(C)});function R(de){const{onFocus:ee}=e;ee&&ee(de)}function $(de){const{onBlur:ee}=e;ee&&ee(de)}function I(de){const{onDeleteOption:ee}=e;ee&&ee(de)}function A(de){const{onClear:ee}=e;ee&&ee(de)}function K(de){const{onPatternInput:ee}=e;ee&&ee(de)}function B(de){var ee;(!de.relatedTarget||!(!((ee=a.value)===null||ee===void 0)&&ee.contains(de.relatedTarget)))&&R(de)}function M(de){var ee;!((ee=a.value)===null||ee===void 0)&&ee.contains(de.relatedTarget)||$(de)}function D(de){A(de)}function Y(){b.value=!0}function Q(){b.value=!1}function ue(de){!e.active||!e.filterable||de.target!==i.value&&de.preventDefault()}function le(de){I(de)}function N(de){if(de.key==="Backspace"&&!E.value&&!e.pattern.length){const{selectedOptions:ee}=e;ee!=null&&ee.length&&le(ee[ee.length-1])}}const E=F(!1);let O=null;function q(de){const{value:ee}=r;if(ee){const fe=de.target.value;ee.textContent=fe,C()}e.ignoreComposition&&E.value?O=de:K(de)}function ne(){E.value=!0}function ve(){E.value=!1,e.ignoreComposition&&K(O),O=null}function J(de){var ee;g.value=!0,(ee=e.onPatternFocus)===null||ee===void 0||ee.call(e,de)}function be(de){var ee;g.value=!1,(ee=e.onPatternBlur)===null||ee===void 0||ee.call(e,de)}function H(){var de,ee;if(e.filterable)g.value=!1,(de=c.value)===null||de===void 0||de.blur(),(ee=i.value)===null||ee===void 0||ee.blur();else if(e.multiple){const{value:fe}=s;fe==null||fe.blur()}else{const{value:fe}=l;fe==null||fe.blur()}}function ge(){var de,ee,fe;e.filterable?(g.value=!1,(de=c.value)===null||de===void 0||de.focus()):e.multiple?(ee=s.value)===null||ee===void 0||ee.focus():(fe=l.value)===null||fe===void 0||fe.focus()}function Ie(){const{value:de}=i;de&&(k(),de.focus())}function Le(){const{value:de}=i;de&&de.blur()}function P(de){const{value:ee}=u;ee&&ee.setTextContent(`+${de}`)}function T(){const{value:de}=d;return de}function W(){return i.value}let oe=null;function G(){oe!==null&&window.clearTimeout(oe)}function se(){e.active||(G(),oe=window.setTimeout(()=>{w.value&&(h.value=!0)},100))}function xe(){G()}function ye(de){de||(G(),h.value=!1)}ht(w,de=>{de||(h.value=!1)}),Ft(()=>{nn(()=>{const de=c.value;de&&(e.disabled?de.removeAttribute("tabindex"):de.tabIndex=g.value?-1:0)})}),cw(a,e.onResize);const{inlineThemeDisabled:Ce}=e,we=L(()=>{const{size:de}=e,{common:{cubicBezierEaseInOut:ee},self:{borderRadius:fe,color:Te,placeholderColor:Fe,textColor:Ye,paddingSingle:Se,paddingMultiple:De,caretColor:Ue,colorDisabled:Ae,textColorDisabled:Qe,placeholderColorDisabled:xt,colorActive:X,boxShadowFocus:pe,boxShadowActive:$e,boxShadowHover:qe,border:Xe,borderFocus:Ze,borderHover:nt,borderActive:rt,arrowColor:yt,arrowColorDisabled:on,loadingColor:Dt,colorActiveWarning:_e,boxShadowFocusWarning:Ne,boxShadowActiveWarning:et,boxShadowHoverWarning:pt,borderWarning:gt,borderFocusWarning:ct,borderHoverWarning:Rt,borderActiveWarning:ae,colorActiveError:Pe,boxShadowFocusError:ot,boxShadowActiveError:Nt,boxShadowHoverError:Kt,borderError:Lt,borderFocusError:ho,borderHoverError:po,borderActiveError:mo,clearColor:Xo,clearColorHover:Zo,clearColorPressed:Jr,clearSize:Ya,arrowSize:Xa,[ke("height",de)]:Za,[ke("fontSize",de)]:Ja}}=m.value,gr=yo(Se),vr=yo(De);return{"--n-bezier":ee,"--n-border":Xe,"--n-border-active":rt,"--n-border-focus":Ze,"--n-border-hover":nt,"--n-border-radius":fe,"--n-box-shadow-active":$e,"--n-box-shadow-focus":pe,"--n-box-shadow-hover":qe,"--n-caret-color":Ue,"--n-color":Te,"--n-color-active":X,"--n-color-disabled":Ae,"--n-font-size":Ja,"--n-height":Za,"--n-padding-single-top":gr.top,"--n-padding-multiple-top":vr.top,"--n-padding-single-right":gr.right,"--n-padding-multiple-right":vr.right,"--n-padding-single-left":gr.left,"--n-padding-multiple-left":vr.left,"--n-padding-single-bottom":gr.bottom,"--n-padding-multiple-bottom":vr.bottom,"--n-placeholder-color":Fe,"--n-placeholder-color-disabled":xt,"--n-text-color":Ye,"--n-text-color-disabled":Qe,"--n-arrow-color":yt,"--n-arrow-color-disabled":on,"--n-loading-color":Dt,"--n-color-active-warning":_e,"--n-box-shadow-focus-warning":Ne,"--n-box-shadow-active-warning":et,"--n-box-shadow-hover-warning":pt,"--n-border-warning":gt,"--n-border-focus-warning":ct,"--n-border-hover-warning":Rt,"--n-border-active-warning":ae,"--n-color-active-error":Pe,"--n-box-shadow-focus-error":ot,"--n-box-shadow-active-error":Nt,"--n-box-shadow-hover-error":Kt,"--n-border-error":Lt,"--n-border-focus-error":ho,"--n-border-hover-error":po,"--n-border-active-error":mo,"--n-clear-size":Ya,"--n-clear-color":Xo,"--n-clear-color-hover":Zo,"--n-clear-color-pressed":Jr,"--n-arrow-size":Xa}}),Ee=Ce?kt("internal-selection",L(()=>e.size[0]),we,e):void 0;return{mergedTheme:m,mergedClearable:x,mergedClsPrefix:t,rtlEnabled:o,patternInputFocused:g,filterablePlaceholder:S,label:_,selected:w,showTagsPanel:h,isComposing:E,counterRef:u,counterWrapperRef:d,patternInputMirrorRef:r,patternInputRef:i,selfRef:a,multipleElRef:s,singleElRef:l,patternInputWrapperRef:c,overflowRef:f,inputTagElRef:p,handleMouseDown:ue,handleFocusin:B,handleClear:D,handleMouseEnter:Y,handleMouseLeave:Q,handleDeleteOption:le,handlePatternKeyDown:N,handlePatternInputInput:q,handlePatternInputBlur:be,handlePatternInputFocus:J,handleMouseEnterCounter:se,handleMouseLeaveCounter:xe,handleFocusout:M,handleCompositionEnd:ve,handleCompositionStart:ne,onPopoverUpdateShow:ye,focus:ge,focusInput:Ie,blur:H,blurInput:Le,updateCounter:P,getCounter:T,getTail:W,renderLabel:e.renderLabel,cssVars:Ce?void 0:we,themeClass:Ee==null?void 0:Ee.themeClass,onRender:Ee==null?void 0:Ee.onRender}},render(){const{status:e,multiple:t,size:n,disabled:o,filterable:r,maxTagCount:i,bordered:a,clsPrefix:s,ellipsisTagPopoverProps:l,onRender:c,renderTag:u,renderLabel:d}=this;c==null||c();const f=i==="responsive",p=typeof i=="number",h=f||p,g=v(oh,null,{default:()=>v(__,{clsPrefix:s,loading:this.loading,showArrow:this.showArrow,showClear:this.mergedClearable&&this.selected,onClear:this.handleClear},{default:()=>{var m,x;return(x=(m=this.$slots).arrow)===null||x===void 0?void 0:x.call(m)}})});let b;if(t){const{labelField:m}=this,x=K=>v("div",{class:`${s}-base-selection-tag-wrapper`,key:K.value},u?u({option:K,handleClose:()=>{this.handleDeleteOption(K)}}):v(yi,{size:n,closable:!K.disabled,disabled:o,onClose:()=>{this.handleDeleteOption(K)},internalCloseIsButtonTag:!1,internalCloseFocusable:!1},{default:()=>d?d(K,!0):Wt(K[m],K,!0)})),S=()=>(p?this.selectedOptions.slice(0,i):this.selectedOptions).map(x),_=r?v("div",{class:`${s}-base-selection-input-tag`,ref:"inputTagElRef",key:"__input-tag__"},v("input",Object.assign({},this.inputProps,{ref:"patternInputRef",tabindex:-1,disabled:o,value:this.pattern,autofocus:this.autofocus,class:`${s}-base-selection-input-tag__input`,onBlur:this.handlePatternInputBlur,onFocus:this.handlePatternInputFocus,onKeydown:this.handlePatternKeyDown,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),v("span",{ref:"patternInputMirrorRef",class:`${s}-base-selection-input-tag__mirror`},this.pattern)):null,w=f?()=>v("div",{class:`${s}-base-selection-tag-wrapper`,ref:"counterWrapperRef"},v(yi,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,onMouseleave:this.handleMouseLeaveCounter,disabled:o})):void 0;let C;if(p){const K=this.selectedOptions.length-i;K>0&&(C=v("div",{class:`${s}-base-selection-tag-wrapper`,key:"__counter__"},v(yi,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,disabled:o},{default:()=>`+${K}`})))}const y=f?r?v(lh,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,getTail:this.getTail,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:S,counter:w,tail:()=>_}):v(lh,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:S,counter:w}):p&&C?S().concat(C):S(),k=h?()=>v("div",{class:`${s}-base-selection-popover`},f?S():this.selectedOptions.map(x)):void 0,R=h?Object.assign({show:this.showTagsPanel,trigger:"hover",overlap:!0,placement:"top",width:"trigger",onUpdateShow:this.onPopoverUpdateShow,theme:this.mergedTheme.peers.Popover,themeOverrides:this.mergedTheme.peerOverrides.Popover},l):null,I=(this.selected?!1:this.active?!this.pattern&&!this.isComposing:!0)?v("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`},v("div",{class:`${s}-base-selection-placeholder__inner`},this.placeholder)):null,A=r?v("div",{ref:"patternInputWrapperRef",class:`${s}-base-selection-tags`},y,f?null:_,g):v("div",{ref:"multipleElRef",class:`${s}-base-selection-tags`,tabindex:o?void 0:0},y,g);b=v(at,null,h?v(cl,Object.assign({},R,{scrollable:!0,style:"max-height: calc(var(--v-target-height) * 6.6);"}),{trigger:()=>A,default:k}):A,I)}else if(r){const m=this.pattern||this.isComposing,x=this.active?!m:!this.selected,S=this.active?!1:this.selected;b=v("div",{ref:"patternInputWrapperRef",class:`${s}-base-selection-label`},v("input",Object.assign({},this.inputProps,{ref:"patternInputRef",class:`${s}-base-selection-input`,value:this.active?this.pattern:"",placeholder:"",readonly:o,disabled:o,tabindex:-1,autofocus:this.autofocus,onFocus:this.handlePatternInputFocus,onBlur:this.handlePatternInputBlur,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),S?v("div",{class:`${s}-base-selection-label__render-label ${s}-base-selection-overlay`,key:"input"},v("div",{class:`${s}-base-selection-overlay__wrapper`},u?u({option:this.selectedOption,handleClose:()=>{}}):d?d(this.selectedOption,!0):Wt(this.label,this.selectedOption,!0))):null,x?v("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`,key:"placeholder"},v("div",{class:`${s}-base-selection-overlay__wrapper`},this.filterablePlaceholder)):null,g)}else b=v("div",{ref:"singleElRef",class:`${s}-base-selection-label`,tabindex:this.disabled?void 0:0},this.label!==void 0?v("div",{class:`${s}-base-selection-input`,title:JA(this.label),key:"input"},v("div",{class:`${s}-base-selection-input__content`},u?u({option:this.selectedOption,handleClose:()=>{}}):d?d(this.selectedOption,!0):Wt(this.label,this.selectedOption,!0))):v("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`,key:"placeholder"},v("div",{class:`${s}-base-selection-placeholder__inner`},this.placeholder)),g);return v("div",{ref:"selfRef",class:[`${s}-base-selection`,this.rtlEnabled&&`${s}-base-selection--rtl`,this.themeClass,e&&`${s}-base-selection--${e}-status`,{[`${s}-base-selection--active`]:this.active,[`${s}-base-selection--selected`]:this.selected||this.active&&this.pattern,[`${s}-base-selection--disabled`]:this.disabled,[`${s}-base-selection--multiple`]:this.multiple,[`${s}-base-selection--focus`]:this.focused}],style:this.cssVars,onClick:this.onClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onKeydown:this.onKeydown,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onMousedown:this.handleMouseDown},b,a?v("div",{class:`${s}-base-selection__border`}):null,a?v("div",{class:`${s}-base-selection__state-border`}):null)}}),{cubicBezierEaseInOut:kr}=co;function uH({duration:e=".2s",delay:t=".1s"}={}){return[U("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),U("&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from",` + `)])])]),vH=ge({name:"InternalSelection",props:Object.assign(Object.assign({},Be.props),{clsPrefix:{type:String,required:!0},bordered:{type:Boolean,default:void 0},active:Boolean,pattern:{type:String,default:""},placeholder:String,selectedOption:{type:Object,default:null},selectedOptions:{type:Array,default:null},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},multiple:Boolean,filterable:Boolean,clearable:Boolean,disabled:Boolean,size:{type:String,default:"medium"},loading:Boolean,autofocus:Boolean,showArrow:{type:Boolean,default:!0},inputProps:Object,focused:Boolean,renderTag:Function,onKeydown:Function,onClick:Function,onBlur:Function,onFocus:Function,onDeleteOption:Function,maxTagCount:[String,Number],ellipsisTagPopoverProps:Object,onClear:Function,onPatternInput:Function,onPatternFocus:Function,onPatternBlur:Function,renderLabel:Function,status:String,inlineThemeDisabled:Boolean,ignoreComposition:{type:Boolean,default:!0},onResize:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=st(e),o=pn("InternalSelection",n,t),r=W(null),i=W(null),a=W(null),s=W(null),l=W(null),c=W(null),u=W(null),d=W(null),f=W(null),p=W(null),h=W(!1),m=W(!1),v=W(!1),b=Be("InternalSelection","-internal-selection",gH,O_,e,Ve(e,"clsPrefix")),w=L(()=>e.clearable&&!e.disabled&&(v.value||e.active)),C=L(()=>e.selectedOption?e.renderTag?e.renderTag({option:e.selectedOption,handleClose:()=>{}}):e.renderLabel?e.renderLabel(e.selectedOption,!0):Wt(e.selectedOption[e.labelField],e.selectedOption,!0):e.placeholder),S=L(()=>{const ae=e.selectedOption;if(ae)return ae[e.labelField]}),_=L(()=>e.multiple?!!(Array.isArray(e.selectedOptions)&&e.selectedOptions.length):e.selectedOption!==null);function x(){var ae;const{value:fe}=r;if(fe){const{value:oe}=i;oe&&(oe.style.width=`${fe.offsetWidth}px`,e.maxTagCount!=="responsive"&&((ae=f.value)===null||ae===void 0||ae.sync({showAllItemsBeforeCalculate:!1})))}}function y(){const{value:ae}=p;ae&&(ae.style.display="none")}function k(){const{value:ae}=p;ae&&(ae.style.display="inline-block")}ft(Ve(e,"active"),ae=>{ae||y()}),ft(Ve(e,"pattern"),()=>{e.multiple&&Ht(x)});function P(ae){const{onFocus:fe}=e;fe&&fe(ae)}function T(ae){const{onBlur:fe}=e;fe&&fe(ae)}function $(ae){const{onDeleteOption:fe}=e;fe&&fe(ae)}function R(ae){const{onClear:fe}=e;fe&&fe(ae)}function K(ae){const{onPatternInput:fe}=e;fe&&fe(ae)}function H(ae){var fe;(!ae.relatedTarget||!(!((fe=a.value)===null||fe===void 0)&&fe.contains(ae.relatedTarget)))&&P(ae)}function D(ae){var fe;!((fe=a.value)===null||fe===void 0)&&fe.contains(ae.relatedTarget)||T(ae)}function M(ae){R(ae)}function Y(){v.value=!0}function Q(){v.value=!1}function de(ae){!e.active||!e.filterable||ae.target!==i.value&&ae.preventDefault()}function he(ae){$(ae)}function B(ae){if(ae.key==="Backspace"&&!E.value&&!e.pattern.length){const{selectedOptions:fe}=e;fe!=null&&fe.length&&he(fe[fe.length-1])}}const E=W(!1);let A=null;function G(ae){const{value:fe}=r;if(fe){const oe=ae.target.value;fe.textContent=oe,x()}e.ignoreComposition&&E.value?A=ae:K(ae)}function ne(){E.value=!0}function ye(){E.value=!1,e.ignoreComposition&&K(A),A=null}function J(ae){var fe;m.value=!0,(fe=e.onPatternFocus)===null||fe===void 0||fe.call(e,ae)}function xe(ae){var fe;m.value=!1,(fe=e.onPatternBlur)===null||fe===void 0||fe.call(e,ae)}function j(){var ae,fe;if(e.filterable)m.value=!1,(ae=c.value)===null||ae===void 0||ae.blur(),(fe=i.value)===null||fe===void 0||fe.blur();else if(e.multiple){const{value:oe}=s;oe==null||oe.blur()}else{const{value:oe}=l;oe==null||oe.blur()}}function ve(){var ae,fe,oe;e.filterable?(m.value=!1,(ae=c.value)===null||ae===void 0||ae.focus()):e.multiple?(fe=s.value)===null||fe===void 0||fe.focus():(oe=l.value)===null||oe===void 0||oe.focus()}function Oe(){const{value:ae}=i;ae&&(k(),ae.focus())}function Le(){const{value:ae}=i;ae&&ae.blur()}function F(ae){const{value:fe}=u;fe&&fe.setTextContent(`+${ae}`)}function O(){const{value:ae}=d;return ae}function re(){return i.value}let _e=null;function ee(){_e!==null&&window.clearTimeout(_e)}function be(){e.active||(ee(),_e=window.setTimeout(()=>{_.value&&(h.value=!0)},100))}function Pe(){ee()}function I(ae){ae||(ee(),h.value=!1)}ft(_,ae=>{ae||(h.value=!1)}),jt(()=>{Yt(()=>{const ae=c.value;ae&&(e.disabled?ae.removeAttribute("tabindex"):ae.tabIndex=m.value?-1:0)})}),vw(a,e.onResize);const{inlineThemeDisabled:N}=e,te=L(()=>{const{size:ae}=e,{common:{cubicBezierEaseInOut:fe},self:{borderRadius:oe,color:ue,placeholderColor:De,textColor:Ue,paddingSingle:ke,paddingMultiple:Fe,caretColor:je,colorDisabled:Ae,textColorDisabled:Je,placeholderColorDisabled:xt,colorActive:X,boxShadowFocus:me,boxShadowActive:$e,boxShadowHover:Ke,border:Xe,borderFocus:Ze,borderHover:tt,borderActive:it,arrowColor:yt,arrowColorDisabled:on,loadingColor:Dt,colorActiveWarning:Se,boxShadowFocusWarning:He,boxShadowActiveWarning:Qe,boxShadowHoverWarning:ht,borderWarning:gt,borderFocusWarning:ut,borderHoverWarning:Rt,borderActiveWarning:se,colorActiveError:Re,boxShadowFocusError:ot,boxShadowActiveError:Bt,boxShadowHoverError:Kt,borderError:Lt,borderFocusError:po,borderHoverError:mo,borderActiveError:go,clearColor:Go,clearColorHover:Yo,clearColorPressed:ei,clearSize:qa,arrowSize:Ka,[Te("height",ae)]:Ga,[Te("fontSize",ae)]:Ya}}=b.value,vr=_o(ke),br=_o(Fe);return{"--n-bezier":fe,"--n-border":Xe,"--n-border-active":it,"--n-border-focus":Ze,"--n-border-hover":tt,"--n-border-radius":oe,"--n-box-shadow-active":$e,"--n-box-shadow-focus":me,"--n-box-shadow-hover":Ke,"--n-caret-color":je,"--n-color":ue,"--n-color-active":X,"--n-color-disabled":Ae,"--n-font-size":Ya,"--n-height":Ga,"--n-padding-single-top":vr.top,"--n-padding-multiple-top":br.top,"--n-padding-single-right":vr.right,"--n-padding-multiple-right":br.right,"--n-padding-single-left":vr.left,"--n-padding-multiple-left":br.left,"--n-padding-single-bottom":vr.bottom,"--n-padding-multiple-bottom":br.bottom,"--n-placeholder-color":De,"--n-placeholder-color-disabled":xt,"--n-text-color":Ue,"--n-text-color-disabled":Je,"--n-arrow-color":yt,"--n-arrow-color-disabled":on,"--n-loading-color":Dt,"--n-color-active-warning":Se,"--n-box-shadow-focus-warning":He,"--n-box-shadow-active-warning":Qe,"--n-box-shadow-hover-warning":ht,"--n-border-warning":gt,"--n-border-focus-warning":ut,"--n-border-hover-warning":Rt,"--n-border-active-warning":se,"--n-color-active-error":Re,"--n-box-shadow-focus-error":ot,"--n-box-shadow-active-error":Bt,"--n-box-shadow-hover-error":Kt,"--n-border-error":Lt,"--n-border-focus-error":po,"--n-border-hover-error":mo,"--n-border-active-error":go,"--n-clear-size":qa,"--n-clear-color":Go,"--n-clear-color-hover":Yo,"--n-clear-color-pressed":ei,"--n-arrow-size":Ka}}),Ce=N?kt("internal-selection",L(()=>e.size[0]),te,e):void 0;return{mergedTheme:b,mergedClearable:w,mergedClsPrefix:t,rtlEnabled:o,patternInputFocused:m,filterablePlaceholder:C,label:S,selected:_,showTagsPanel:h,isComposing:E,counterRef:u,counterWrapperRef:d,patternInputMirrorRef:r,patternInputRef:i,selfRef:a,multipleElRef:s,singleElRef:l,patternInputWrapperRef:c,overflowRef:f,inputTagElRef:p,handleMouseDown:de,handleFocusin:H,handleClear:M,handleMouseEnter:Y,handleMouseLeave:Q,handleDeleteOption:he,handlePatternKeyDown:B,handlePatternInputInput:G,handlePatternInputBlur:xe,handlePatternInputFocus:J,handleMouseEnterCounter:be,handleMouseLeaveCounter:Pe,handleFocusout:D,handleCompositionEnd:ye,handleCompositionStart:ne,onPopoverUpdateShow:I,focus:ve,focusInput:Oe,blur:j,blurInput:Le,updateCounter:F,getCounter:O,getTail:re,renderLabel:e.renderLabel,cssVars:N?void 0:te,themeClass:Ce==null?void 0:Ce.themeClass,onRender:Ce==null?void 0:Ce.onRender}},render(){const{status:e,multiple:t,size:n,disabled:o,filterable:r,maxTagCount:i,bordered:a,clsPrefix:s,ellipsisTagPopoverProps:l,onRender:c,renderTag:u,renderLabel:d}=this;c==null||c();const f=i==="responsive",p=typeof i=="number",h=f||p,m=g(ih,null,{default:()=>g(A_,{clsPrefix:s,loading:this.loading,showArrow:this.showArrow,showClear:this.mergedClearable&&this.selected,onClear:this.handleClear},{default:()=>{var b,w;return(w=(b=this.$slots).arrow)===null||w===void 0?void 0:w.call(b)}})});let v;if(t){const{labelField:b}=this,w=K=>g("div",{class:`${s}-base-selection-tag-wrapper`,key:K.value},u?u({option:K,handleClose:()=>{this.handleDeleteOption(K)}}):g(_i,{size:n,closable:!K.disabled,disabled:o,onClose:()=>{this.handleDeleteOption(K)},internalCloseIsButtonTag:!1,internalCloseFocusable:!1},{default:()=>d?d(K,!0):Wt(K[b],K,!0)})),C=()=>(p?this.selectedOptions.slice(0,i):this.selectedOptions).map(w),S=r?g("div",{class:`${s}-base-selection-input-tag`,ref:"inputTagElRef",key:"__input-tag__"},g("input",Object.assign({},this.inputProps,{ref:"patternInputRef",tabindex:-1,disabled:o,value:this.pattern,autofocus:this.autofocus,class:`${s}-base-selection-input-tag__input`,onBlur:this.handlePatternInputBlur,onFocus:this.handlePatternInputFocus,onKeydown:this.handlePatternKeyDown,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),g("span",{ref:"patternInputMirrorRef",class:`${s}-base-selection-input-tag__mirror`},this.pattern)):null,_=f?()=>g("div",{class:`${s}-base-selection-tag-wrapper`,ref:"counterWrapperRef"},g(_i,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,onMouseleave:this.handleMouseLeaveCounter,disabled:o})):void 0;let x;if(p){const K=this.selectedOptions.length-i;K>0&&(x=g("div",{class:`${s}-base-selection-tag-wrapper`,key:"__counter__"},g(_i,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,disabled:o},{default:()=>`+${K}`})))}const y=f?r?g(uh,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,getTail:this.getTail,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:C,counter:_,tail:()=>S}):g(uh,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:C,counter:_}):p&&x?C().concat(x):C(),k=h?()=>g("div",{class:`${s}-base-selection-popover`},f?C():this.selectedOptions.map(w)):void 0,P=h?Object.assign({show:this.showTagsPanel,trigger:"hover",overlap:!0,placement:"top",width:"trigger",onUpdateShow:this.onPopoverUpdateShow,theme:this.mergedTheme.peers.Popover,themeOverrides:this.mergedTheme.peerOverrides.Popover},l):null,$=(this.selected?!1:this.active?!this.pattern&&!this.isComposing:!0)?g("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`},g("div",{class:`${s}-base-selection-placeholder__inner`},this.placeholder)):null,R=r?g("div",{ref:"patternInputWrapperRef",class:`${s}-base-selection-tags`},y,f?null:S,m):g("div",{ref:"multipleElRef",class:`${s}-base-selection-tags`,tabindex:o?void 0:0},y,m);v=g(rt,null,h?g(dl,Object.assign({},P,{scrollable:!0,style:"max-height: calc(var(--v-target-height) * 6.6);"}),{trigger:()=>R,default:k}):R,$)}else if(r){const b=this.pattern||this.isComposing,w=this.active?!b:!this.selected,C=this.active?!1:this.selected;v=g("div",{ref:"patternInputWrapperRef",class:`${s}-base-selection-label`,title:this.patternInputFocused?void 0:tb(this.label)},g("input",Object.assign({},this.inputProps,{ref:"patternInputRef",class:`${s}-base-selection-input`,value:this.active?this.pattern:"",placeholder:"",readonly:o,disabled:o,tabindex:-1,autofocus:this.autofocus,onFocus:this.handlePatternInputFocus,onBlur:this.handlePatternInputBlur,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),C?g("div",{class:`${s}-base-selection-label__render-label ${s}-base-selection-overlay`,key:"input"},g("div",{class:`${s}-base-selection-overlay__wrapper`},u?u({option:this.selectedOption,handleClose:()=>{}}):d?d(this.selectedOption,!0):Wt(this.label,this.selectedOption,!0))):null,w?g("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`,key:"placeholder"},g("div",{class:`${s}-base-selection-overlay__wrapper`},this.filterablePlaceholder)):null,m)}else v=g("div",{ref:"singleElRef",class:`${s}-base-selection-label`,tabindex:this.disabled?void 0:0},this.label!==void 0?g("div",{class:`${s}-base-selection-input`,title:tb(this.label),key:"input"},g("div",{class:`${s}-base-selection-input__content`},u?u({option:this.selectedOption,handleClose:()=>{}}):d?d(this.selectedOption,!0):Wt(this.label,this.selectedOption,!0))):g("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`,key:"placeholder"},g("div",{class:`${s}-base-selection-placeholder__inner`},this.placeholder)),m);return g("div",{ref:"selfRef",class:[`${s}-base-selection`,this.rtlEnabled&&`${s}-base-selection--rtl`,this.themeClass,e&&`${s}-base-selection--${e}-status`,{[`${s}-base-selection--active`]:this.active,[`${s}-base-selection--selected`]:this.selected||this.active&&this.pattern,[`${s}-base-selection--disabled`]:this.disabled,[`${s}-base-selection--multiple`]:this.multiple,[`${s}-base-selection--focus`]:this.focused}],style:this.cssVars,onClick:this.onClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onKeydown:this.onKeydown,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onMousedown:this.handleMouseDown},v,a?g("div",{class:`${s}-base-selection__border`}):null,a?g("div",{class:`${s}-base-selection__state-border`}):null)}}),{cubicBezierEaseInOut:kr}=co;function bH({duration:e=".2s",delay:t=".1s"}={}){return[q("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),q("&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from",` opacity: 0!important; margin-left: 0!important; margin-right: 0!important; - `),U("&.fade-in-width-expand-transition-leave-active",` + `),q("&.fade-in-width-expand-transition-leave-active",` overflow: hidden; transition: opacity ${e} ${kr}, max-width ${e} ${kr} ${t}, margin-left ${e} ${kr} ${t}, margin-right ${e} ${kr} ${t}; - `),U("&.fade-in-width-expand-transition-enter-active",` + `),q("&.fade-in-width-expand-transition-enter-active",` overflow: hidden; transition: opacity ${e} ${kr} ${t}, max-width ${e} ${kr}, margin-left ${e} ${kr}, margin-right ${e} ${kr}; - `)]}const P_={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"},dH={name:"Alert",common:He,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:g,errorColorSuppl:b,fontSize:m}=e;return Object.assign(Object.assign({},P_),{fontSize:m,lineHeight:t,titleFontWeight:o,borderRadius:n,border:`1px solid ${r}`,color:i,titleTextColor:a,iconColor:s,contentTextColor:s,closeBorderRadius:n,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,borderInfo:`1px solid ${Me(p,{alpha:.35})}`,colorInfo:Me(p,{alpha:.25}),titleTextColorInfo:a,iconColorInfo:p,contentTextColorInfo:s,closeColorHoverInfo:l,closeColorPressedInfo:c,closeIconColorInfo:u,closeIconColorHoverInfo:d,closeIconColorPressedInfo:f,borderSuccess:`1px solid ${Me(h,{alpha:.35})}`,colorSuccess:Me(h,{alpha:.25}),titleTextColorSuccess:a,iconColorSuccess:h,contentTextColorSuccess:s,closeColorHoverSuccess:l,closeColorPressedSuccess:c,closeIconColorSuccess:u,closeIconColorHoverSuccess:d,closeIconColorPressedSuccess:f,borderWarning:`1px solid ${Me(g,{alpha:.35})}`,colorWarning:Me(g,{alpha:.25}),titleTextColorWarning:a,iconColorWarning:g,contentTextColorWarning:s,closeColorHoverWarning:l,closeColorPressedWarning:c,closeIconColorWarning:u,closeIconColorHoverWarning:d,closeIconColorPressedWarning:f,borderError:`1px solid ${Me(b,{alpha:.35})}`,colorError:Me(b,{alpha:.25}),titleTextColorError:a,iconColorError:b,contentTextColorError:s,closeColorHoverError:l,closeColorPressedError:c,closeIconColorError:u,closeIconColorHoverError:d,closeIconColorPressedError:f})}},fH=dH,hH=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:g,warningColor:b,errorColor:m,fontSize:x}=e;return Object.assign(Object.assign({},P_),{fontSize:x,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 ${tt(r,Me(h,{alpha:.25}))}`,colorInfo:tt(r,Me(h,{alpha:.08})),titleTextColorInfo:s,iconColorInfo:h,contentTextColorInfo:l,closeColorHoverInfo:c,closeColorPressedInfo:u,closeIconColorInfo:d,closeIconColorHoverInfo:f,closeIconColorPressedInfo:p,borderSuccess:`1px solid ${tt(r,Me(g,{alpha:.25}))}`,colorSuccess:tt(r,Me(g,{alpha:.08})),titleTextColorSuccess:s,iconColorSuccess:g,contentTextColorSuccess:l,closeColorHoverSuccess:c,closeColorPressedSuccess:u,closeIconColorSuccess:d,closeIconColorHoverSuccess:f,closeIconColorPressedSuccess:p,borderWarning:`1px solid ${tt(r,Me(b,{alpha:.33}))}`,colorWarning:tt(r,Me(b,{alpha:.08})),titleTextColorWarning:s,iconColorWarning:b,contentTextColorWarning:l,closeColorHoverWarning:c,closeColorPressedWarning:u,closeIconColorWarning:d,closeIconColorHoverWarning:f,closeIconColorPressedWarning:p,borderError:`1px solid ${tt(r,Me(m,{alpha:.25}))}`,colorError:tt(r,Me(m,{alpha:.08})),titleTextColorError:s,iconColorError:m,contentTextColorError:l,closeColorHoverError:c,closeColorPressedError:u,closeIconColorError:d,closeIconColorHoverError:f,closeIconColorPressedError:p})},pH={name:"Alert",common:bt,self:hH},mH=pH,{cubicBezierEaseInOut:Ao,cubicBezierEaseOut:gH,cubicBezierEaseIn:vH}=co;function tm({overflow:e="hidden",duration:t=".3s",originalTransition:n="",leavingDelay:o="0s",foldPadding:r=!1,enterToProps:i=void 0,leaveToProps:a=void 0,reverse:s=!1}={}){const l=s?"leave":"enter",c=s?"enter":"leave";return[U(`&.fade-in-height-expand-transition-${c}-from, - &.fade-in-height-expand-transition-${l}-to`,Object.assign(Object.assign({},i),{opacity:1})),U(`&.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})),U(`&.fade-in-height-expand-transition-${c}-active`,` + `)]}const M_={iconMargin:"11px 8px 0 12px",iconMarginRtl:"11px 12px 0 8px",iconSize:"24px",closeIconSize:"16px",closeSize:"20px",closeMargin:"13px 14px 0 0",closeMarginRtl:"13px 0 0 14px",padding:"13px"},yH={name:"Alert",common:Ne,self(e){const{lineHeight:t,borderRadius:n,fontWeightStrong:o,dividerColor:r,inputColor:i,textColor1:a,textColor2:s,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,infoColorSuppl:p,successColorSuppl:h,warningColorSuppl:m,errorColorSuppl:v,fontSize:b}=e;return Object.assign(Object.assign({},M_),{fontSize:b,lineHeight:t,titleFontWeight:o,borderRadius:n,border:`1px solid ${r}`,color:i,titleTextColor:a,iconColor:s,contentTextColor:s,closeBorderRadius:n,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,borderInfo:`1px solid ${Me(p,{alpha:.35})}`,colorInfo:Me(p,{alpha:.25}),titleTextColorInfo:a,iconColorInfo:p,contentTextColorInfo:s,closeColorHoverInfo:l,closeColorPressedInfo:c,closeIconColorInfo:u,closeIconColorHoverInfo:d,closeIconColorPressedInfo:f,borderSuccess:`1px solid ${Me(h,{alpha:.35})}`,colorSuccess:Me(h,{alpha:.25}),titleTextColorSuccess:a,iconColorSuccess:h,contentTextColorSuccess:s,closeColorHoverSuccess:l,closeColorPressedSuccess:c,closeIconColorSuccess:u,closeIconColorHoverSuccess:d,closeIconColorPressedSuccess:f,borderWarning:`1px solid ${Me(m,{alpha:.35})}`,colorWarning:Me(m,{alpha:.25}),titleTextColorWarning:a,iconColorWarning:m,contentTextColorWarning:s,closeColorHoverWarning:l,closeColorPressedWarning:c,closeIconColorWarning:u,closeIconColorHoverWarning:d,closeIconColorPressedWarning:f,borderError:`1px solid ${Me(v,{alpha:.35})}`,colorError:Me(v,{alpha:.25}),titleTextColorError:a,iconColorError:v,contentTextColorError:s,closeColorHoverError:l,closeColorPressedError:c,closeIconColorError:u,closeIconColorHoverError:d,closeIconColorPressedError:f})}},xH=yH,CH=e=>{const{lineHeight:t,borderRadius:n,fontWeightStrong:o,baseColor:r,dividerColor:i,actionColor:a,textColor1:s,textColor2:l,closeColorHover:c,closeColorPressed:u,closeIconColor:d,closeIconColorHover:f,closeIconColorPressed:p,infoColor:h,successColor:m,warningColor:v,errorColor:b,fontSize:w}=e;return Object.assign(Object.assign({},M_),{fontSize:w,lineHeight:t,titleFontWeight:o,borderRadius:n,border:`1px solid ${i}`,color:a,titleTextColor:s,iconColor:l,contentTextColor:l,closeBorderRadius:n,closeColorHover:c,closeColorPressed:u,closeIconColor:d,closeIconColorHover:f,closeIconColorPressed:p,borderInfo:`1px solid ${et(r,Me(h,{alpha:.25}))}`,colorInfo:et(r,Me(h,{alpha:.08})),titleTextColorInfo:s,iconColorInfo:h,contentTextColorInfo:l,closeColorHoverInfo:c,closeColorPressedInfo:u,closeIconColorInfo:d,closeIconColorHoverInfo:f,closeIconColorPressedInfo:p,borderSuccess:`1px solid ${et(r,Me(m,{alpha:.25}))}`,colorSuccess:et(r,Me(m,{alpha:.08})),titleTextColorSuccess:s,iconColorSuccess:m,contentTextColorSuccess:l,closeColorHoverSuccess:c,closeColorPressedSuccess:u,closeIconColorSuccess:d,closeIconColorHoverSuccess:f,closeIconColorPressedSuccess:p,borderWarning:`1px solid ${et(r,Me(v,{alpha:.33}))}`,colorWarning:et(r,Me(v,{alpha:.08})),titleTextColorWarning:s,iconColorWarning:v,contentTextColorWarning:l,closeColorHoverWarning:c,closeColorPressedWarning:u,closeIconColorWarning:d,closeIconColorHoverWarning:f,closeIconColorPressedWarning:p,borderError:`1px solid ${et(r,Me(b,{alpha:.25}))}`,colorError:et(r,Me(b,{alpha:.08})),titleTextColorError:s,iconColorError:b,contentTextColorError:l,closeColorHoverError:c,closeColorPressedError:u,closeIconColorError:d,closeIconColorHoverError:f,closeIconColorPressedError:p})},wH={name:"Alert",common:bt,self:CH},_H=wH,{cubicBezierEaseInOut:Io,cubicBezierEaseOut:SH,cubicBezierEaseIn:kH}=co;function tm({overflow:e="hidden",duration:t=".3s",originalTransition:n="",leavingDelay:o="0s",foldPadding:r=!1,enterToProps:i=void 0,leaveToProps:a=void 0,reverse:s=!1}={}){const l=s?"leave":"enter",c=s?"enter":"leave";return[q(`&.fade-in-height-expand-transition-${c}-from, + &.fade-in-height-expand-transition-${l}-to`,Object.assign(Object.assign({},i),{opacity:1})),q(`&.fade-in-height-expand-transition-${c}-to, + &.fade-in-height-expand-transition-${l}-from`,Object.assign(Object.assign({},a),{opacity:0,marginTop:"0 !important",marginBottom:"0 !important",paddingTop:r?"0 !important":void 0,paddingBottom:r?"0 !important":void 0})),q(`&.fade-in-height-expand-transition-${c}-active`,` overflow: ${e}; transition: - max-height ${t} ${Ao} ${o}, - opacity ${t} ${gH} ${o}, - margin-top ${t} ${Ao} ${o}, - margin-bottom ${t} ${Ao} ${o}, - padding-top ${t} ${Ao} ${o}, - padding-bottom ${t} ${Ao} ${o} + max-height ${t} ${Io} ${o}, + opacity ${t} ${SH} ${o}, + margin-top ${t} ${Io} ${o}, + margin-bottom ${t} ${Io} ${o}, + padding-top ${t} ${Io} ${o}, + padding-bottom ${t} ${Io} ${o} ${n?","+n:""} - `),U(`&.fade-in-height-expand-transition-${l}-active`,` + `),q(`&.fade-in-height-expand-transition-${l}-active`,` overflow: ${e}; transition: - max-height ${t} ${Ao}, - opacity ${t} ${vH}, - margin-top ${t} ${Ao}, - margin-bottom ${t} ${Ao}, - padding-top ${t} ${Ao}, - padding-bottom ${t} ${Ao} + max-height ${t} ${Io}, + opacity ${t} ${kH}, + margin-top ${t} ${Io}, + margin-bottom ${t} ${Io}, + padding-top ${t} ${Io}, + padding-bottom ${t} ${Io} ${n?","+n:""} - `)]}const bH=z("alert",` + `)]}const PH=z("alert",` line-height: var(--n-line-height); border-radius: var(--n-border-radius); position: relative; @@ -833,7 +850,7 @@ ${t} font-size: 16px; line-height: 19px; font-weight: var(--n-title-font-weight); - `,[U("& +",[V("content",{marginTop:"9px"})])]),V("content",{transition:"color .3s var(--n-bezier)",fontSize:"var(--n-font-size)"})]),V("icon",{transition:"color .3s var(--n-bezier)"})]),yH=Object.assign(Object.assign({},Be.props),{title:String,showIcon:{type:Boolean,default:!0},type:{type:String,default:"default"},bordered:{type:Boolean,default:!0},closable:Boolean,onClose:Function,onAfterLeave:Function,onAfterHide:Function}),ul=me({name:"Alert",inheritAttrs:!1,props:yH,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=it(e),i=Be("Alert","-alert",bH,mH,e,t),a=pn("Alert",r,t),s=L(()=>{const{common:{cubicBezierEaseInOut:p},self:h}=i.value,{fontSize:g,borderRadius:b,titleFontWeight:m,lineHeight:x,iconSize:S,iconMargin:_,iconMarginRtl:w,closeIconSize:C,closeBorderRadius:y,closeSize:k,closeMargin:R,closeMarginRtl:$,padding:I}=h,{type:A}=e,{left:K,right:B}=yo(_);return{"--n-bezier":p,"--n-color":h[ke("color",A)],"--n-close-icon-size":C,"--n-close-border-radius":y,"--n-close-color-hover":h[ke("closeColorHover",A)],"--n-close-color-pressed":h[ke("closeColorPressed",A)],"--n-close-icon-color":h[ke("closeIconColor",A)],"--n-close-icon-color-hover":h[ke("closeIconColorHover",A)],"--n-close-icon-color-pressed":h[ke("closeIconColorPressed",A)],"--n-icon-color":h[ke("iconColor",A)],"--n-border":h[ke("border",A)],"--n-title-text-color":h[ke("titleTextColor",A)],"--n-content-text-color":h[ke("contentTextColor",A)],"--n-line-height":x,"--n-border-radius":b,"--n-font-size":g,"--n-title-font-weight":m,"--n-icon-size":S,"--n-icon-margin":_,"--n-icon-margin-rtl":w,"--n-close-size":k,"--n-close-margin":R,"--n-close-margin-rtl":$,"--n-padding":I,"--n-icon-margin-left":K,"--n-icon-margin-right":B}}),l=o?kt("alert",L(()=>e.type[0]),s,e):void 0,c=F(!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),v(Tu,{onAfterLeave:this.handleAfterLeave},{default:()=>{const{mergedClsPrefix:t,$slots:n}=this,o={class:[`${t}-alert`,this.themeClass,this.closable&&`${t}-alert--closable`,this.showIcon&&`${t}-alert--show-icon`,!this.title&&this.closable&&`${t}-alert--right-adjust`,this.rtlEnabled&&`${t}-alert--rtl`],style:this.cssVars,role:"alert"};return this.visible?v("div",Object.assign({},Dn(this.$attrs,o)),this.closable&&v(ji,{clsPrefix:t,class:`${t}-alert__close`,onClick:this.handleCloseClick}),this.bordered&&v("div",{class:`${t}-alert__border`}),this.showIcon&&v("div",{class:`${t}-alert__icon`,"aria-hidden":"true"},An(n.icon,()=>[v(Ut,{clsPrefix:t},{default:()=>{switch(this.type){case"success":return v(Bi,null);case"info":return v(jr,null);case"warning":return v(Ni,null);case"error":return v(Fi,null);default:return null}}})])),v("div",{class:[`${t}-alert-body`,this.mergedBordered&&`${t}-alert-body--bordered`]},Et(n.header,r=>{const i=r||this.title;return i?v("div",{class:`${t}-alert-body__title`},i):null}),n.default&&v("div",{class:`${t}-alert-body__content`},n))):null}})}}),xH={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"},CH=e=>{const{borderRadius:t,railColor:n,primaryColor:o,primaryColorHover:r,primaryColorPressed:i,textColor2:a}=e;return Object.assign(Object.assign({},xH),{borderRadius:t,railColor:n,railColorActive:o,linkColor:Me(o,{alpha:.15}),linkTextColor:a,linkTextColorHover:r,linkTextColorPressed:i,linkTextColorActive:o})},wH={name:"Anchor",common:He,self:CH},_H=wH;function Mc(e){return e.type==="group"}function T_(e){return e.type==="ignored"}function jd(e,t){try{return!!(1+t.toString().toLowerCase().indexOf(e.trim().toLowerCase()))}catch{return!1}}function R_(e,t){return{getIsGroup:Mc,getIgnored:T_,getKey(o){return Mc(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(Mc(s)){const l=r(s[o]);l.length&&a.push(Object.assign({},s,{[o]:l}))}else{if(T_(s))continue;t(n,s)&&a.push(s)}return a}return r(e)}function kH(e,t,n){const o=new Map;return e.forEach(r=>{Mc(r)?r[n].forEach(i=>{o.set(i[t],i)}):o.set(r[t],r)}),o}const PH=ur&&"chrome"in window;ur&&navigator.userAgent.includes("Firefox");const $_=ur&&navigator.userAgent.includes("Safari")&&!PH,E_={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},TH={name:"Input",common:He,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:g,fontSizeMedium:b,fontSizeLarge:m,heightTiny:x,heightSmall:S,heightMedium:_,heightLarge:w,clearColor:C,clearColorHover:y,clearColorPressed:k,placeholderColor:R,placeholderColorDisabled:$,iconColor:I,iconColorDisabled:A,iconColorHover:K,iconColorPressed:B}=e;return Object.assign(Object.assign({},E_),{countTextColorDisabled:o,countTextColor:n,heightTiny:x,heightSmall:S,heightMedium:_,heightLarge:w,fontSizeTiny:h,fontSizeSmall:g,fontSizeMedium:b,fontSizeLarge:m,lineHeight:p,lineHeightTextarea:p,borderRadius:f,iconSize:"16px",groupLabelColor:a,textColor:t,textColorDisabled:o,textDecorationColor:t,groupLabelTextColor:t,caretColor:r,placeholderColor:R,placeholderColorDisabled:$,color:a,colorDisabled:s,colorFocus:Me(r,{alpha:.1}),groupLabelBorder:"1px solid #0000",border:"1px solid #0000",borderHover:`1px solid ${i}`,borderDisabled:"1px solid #0000",borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 8px 0 ${Me(r,{alpha:.3})}`,loadingColor:r,loadingColorWarning:l,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,colorFocusWarning:Me(l,{alpha:.1}),borderFocusWarning:`1px solid ${c}`,boxShadowFocusWarning:`0 0 8px 0 ${Me(l,{alpha:.3})}`,caretColorWarning:l,loadingColorError:u,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,colorFocusError:Me(u,{alpha:.1}),borderFocusError:`1px solid ${d}`,boxShadowFocusError:`0 0 8px 0 ${Me(u,{alpha:.3})}`,caretColorError:u,clearColor:C,clearColorHover:y,clearColorPressed:k,iconColor:I,iconColorDisabled:A,iconColorHover:K,iconColorPressed:B,suffixTextColor:t})}},uo=TH,RH=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:g,fontSizeSmall:b,fontSizeMedium:m,fontSizeLarge:x,heightTiny:S,heightSmall:_,heightMedium:w,heightLarge:C,actionColor:y,clearColor:k,clearColorHover:R,clearColorPressed:$,placeholderColor:I,placeholderColorDisabled:A,iconColor:K,iconColorDisabled:B,iconColorHover:M,iconColorPressed:D}=e;return Object.assign(Object.assign({},E_),{countTextColorDisabled:o,countTextColor:n,heightTiny:S,heightSmall:_,heightMedium:w,heightLarge:C,fontSizeTiny:g,fontSizeSmall:b,fontSizeMedium:m,fontSizeLarge:x,lineHeight:h,lineHeightTextarea:h,borderRadius:p,iconSize:"16px",groupLabelColor:y,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 ${Me(r,{alpha:.2})}`,loadingColor:r,loadingColorWarning:c,borderWarning:`1px solid ${c}`,borderHoverWarning:`1px solid ${u}`,colorFocusWarning:a,borderFocusWarning:`1px solid ${u}`,boxShadowFocusWarning:`0 0 0 2px ${Me(c,{alpha:.2})}`,caretColorWarning:c,loadingColorError:d,borderError:`1px solid ${d}`,borderHoverError:`1px solid ${f}`,colorFocusError:a,borderFocusError:`1px solid ${f}`,boxShadowFocusError:`0 0 0 2px ${Me(d,{alpha:.2})}`,caretColorError:d,clearColor:k,clearColorHover:R,clearColorPressed:$,iconColor:K,iconColorDisabled:B,iconColorHover:M,iconColorPressed:D,suffixTextColor:t})},$H={name:"Input",common:bt,self:RH},nm=$H,A_="n-input";function EH(e){let t=0;for(const n of e)t++;return t}function Ll(e){return e===""||e==null}function AH(e){const t=F(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=me({name:"InputWordCount",setup(e,{slots:t}){const{mergedValueRef:n,maxlengthRef:o,mergedClsPrefixRef:r,countGraphemesRef:i}=We(A_),a=L(()=>{const{value:s}=n;return s===null||Array.isArray(s)?0:(i.value||EH)(s)});return()=>{const{value:s}=o,{value:l}=n;return v("span",{class:`${r.value}-input-word-count`},nh(t.default,{value:l===null||Array.isArray(l)?"":l},()=>[s===void 0?a.value:`${a.value} / ${s}`]))}}}),IH=z("input",` + `,[q("& +",[V("content",{marginTop:"9px"})])]),V("content",{transition:"color .3s var(--n-bezier)",fontSize:"var(--n-font-size)"})]),V("icon",{transition:"color .3s var(--n-bezier)"})]),TH=Object.assign(Object.assign({},Be.props),{title:String,showIcon:{type:Boolean,default:!0},type:{type:String,default:"default"},bordered:{type:Boolean,default:!0},closable:Boolean,onClose:Function,onAfterLeave:Function,onAfterHide:Function}),fl=ge({name:"Alert",inheritAttrs:!1,props:TH,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=Be("Alert","-alert",PH,_H,e,t),a=pn("Alert",r,t),s=L(()=>{const{common:{cubicBezierEaseInOut:p},self:h}=i.value,{fontSize:m,borderRadius:v,titleFontWeight:b,lineHeight:w,iconSize:C,iconMargin:S,iconMarginRtl:_,closeIconSize:x,closeBorderRadius:y,closeSize:k,closeMargin:P,closeMarginRtl:T,padding:$}=h,{type:R}=e,{left:K,right:H}=_o(S);return{"--n-bezier":p,"--n-color":h[Te("color",R)],"--n-close-icon-size":x,"--n-close-border-radius":y,"--n-close-color-hover":h[Te("closeColorHover",R)],"--n-close-color-pressed":h[Te("closeColorPressed",R)],"--n-close-icon-color":h[Te("closeIconColor",R)],"--n-close-icon-color-hover":h[Te("closeIconColorHover",R)],"--n-close-icon-color-pressed":h[Te("closeIconColorPressed",R)],"--n-icon-color":h[Te("iconColor",R)],"--n-border":h[Te("border",R)],"--n-title-text-color":h[Te("titleTextColor",R)],"--n-content-text-color":h[Te("contentTextColor",R)],"--n-line-height":w,"--n-border-radius":v,"--n-font-size":m,"--n-title-font-weight":b,"--n-icon-size":C,"--n-icon-margin":S,"--n-icon-margin-rtl":_,"--n-close-size":k,"--n-close-margin":P,"--n-close-margin-rtl":T,"--n-padding":$,"--n-icon-margin-left":K,"--n-icon-margin-right":H}}),l=o?kt("alert",L(()=>e.type[0]),s,e):void 0,c=W(!0),u=()=>{const{onAfterLeave:p,onAfterHide:h}=e;p&&p(),h&&h()};return{rtlEnabled:a,mergedClsPrefix:t,mergedBordered:n,visible:c,handleCloseClick:()=>{var p;Promise.resolve((p=e.onClose)===null||p===void 0?void 0:p.call(e)).then(h=>{h!==!1&&(c.value=!1)})},handleAfterLeave:()=>{u()},mergedTheme:i,cssVars:o?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),g(Eu,{onAfterLeave:this.handleAfterLeave},{default:()=>{const{mergedClsPrefix:t,$slots:n}=this,o={class:[`${t}-alert`,this.themeClass,this.closable&&`${t}-alert--closable`,this.showIcon&&`${t}-alert--show-icon`,!this.title&&this.closable&&`${t}-alert--right-adjust`,this.rtlEnabled&&`${t}-alert--rtl`],style:this.cssVars,role:"alert"};return this.visible?g("div",Object.assign({},Ln(this.$attrs,o)),this.closable&&g(Hi,{clsPrefix:t,class:`${t}-alert__close`,onClick:this.handleCloseClick}),this.bordered&&g("div",{class:`${t}-alert__border`}),this.showIcon&&g("div",{class:`${t}-alert__icon`,"aria-hidden":"true"},An(n.icon,()=>[g(Ut,{clsPrefix:t},{default:()=>{switch(this.type){case"success":return g(Fi,null);case"info":return g(jr,null);case"warning":return g(Bi,null);case"error":return g(Li,null);default:return null}}})])),g("div",{class:[`${t}-alert-body`,this.mergedBordered&&`${t}-alert-body--bordered`]},Et(n.header,r=>{const i=r||this.title;return i?g("div",{class:`${t}-alert-body__title`},i):null}),n.default&&g("div",{class:`${t}-alert-body__content`},n))):null}})}}),RH={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"},EH=e=>{const{borderRadius:t,railColor:n,primaryColor:o,primaryColorHover:r,primaryColorPressed:i,textColor2:a}=e;return Object.assign(Object.assign({},RH),{borderRadius:t,railColor:n,railColorActive:o,linkColor:Me(o,{alpha:.15}),linkTextColor:a,linkTextColorHover:r,linkTextColorPressed:i,linkTextColorActive:o})},$H={name:"Anchor",common:Ne,self:EH},AH=$H;function Dc(e){return e.type==="group"}function z_(e){return e.type==="ignored"}function jd(e,t){try{return!!(1+t.toString().toLowerCase().indexOf(e.trim().toLowerCase()))}catch{return!1}}function D_(e,t){return{getIsGroup:Dc,getIgnored:z_,getKey(o){return Dc(o)?o.name||o.key||"key-required":o[e]},getChildren(o){return o[t]}}}function IH(e,t,n,o){if(!t)return e;function r(i){if(!Array.isArray(i))return[];const a=[];for(const s of i)if(Dc(s)){const l=r(s[o]);l.length&&a.push(Object.assign({},s,{[o]:l}))}else{if(z_(s))continue;t(n,s)&&a.push(s)}return a}return r(e)}function OH(e,t,n){const o=new Map;return e.forEach(r=>{Dc(r)?r[n].forEach(i=>{o.set(i[t],i)}):o.set(r[t],r)}),o}const MH=dr&&"chrome"in window;dr&&navigator.userAgent.includes("Firefox");const L_=dr&&navigator.userAgent.includes("Safari")&&!MH,F_={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},zH={name:"Input",common:Ne,self(e){const{textColor2:t,textColor3:n,textColorDisabled:o,primaryColor:r,primaryColorHover:i,inputColor:a,inputColorDisabled:s,warningColor:l,warningColorHover:c,errorColor:u,errorColorHover:d,borderRadius:f,lineHeight:p,fontSizeTiny:h,fontSizeSmall:m,fontSizeMedium:v,fontSizeLarge:b,heightTiny:w,heightSmall:C,heightMedium:S,heightLarge:_,clearColor:x,clearColorHover:y,clearColorPressed:k,placeholderColor:P,placeholderColorDisabled:T,iconColor:$,iconColorDisabled:R,iconColorHover:K,iconColorPressed:H}=e;return Object.assign(Object.assign({},F_),{countTextColorDisabled:o,countTextColor:n,heightTiny:w,heightSmall:C,heightMedium:S,heightLarge:_,fontSizeTiny:h,fontSizeSmall:m,fontSizeMedium:v,fontSizeLarge:b,lineHeight:p,lineHeightTextarea:p,borderRadius:f,iconSize:"16px",groupLabelColor:a,textColor:t,textColorDisabled:o,textDecorationColor:t,groupLabelTextColor:t,caretColor:r,placeholderColor:P,placeholderColorDisabled:T,color:a,colorDisabled:s,colorFocus:Me(r,{alpha:.1}),groupLabelBorder:"1px solid #0000",border:"1px solid #0000",borderHover:`1px solid ${i}`,borderDisabled:"1px solid #0000",borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 8px 0 ${Me(r,{alpha:.3})}`,loadingColor:r,loadingColorWarning:l,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,colorFocusWarning:Me(l,{alpha:.1}),borderFocusWarning:`1px solid ${c}`,boxShadowFocusWarning:`0 0 8px 0 ${Me(l,{alpha:.3})}`,caretColorWarning:l,loadingColorError:u,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,colorFocusError:Me(u,{alpha:.1}),borderFocusError:`1px solid ${d}`,boxShadowFocusError:`0 0 8px 0 ${Me(u,{alpha:.3})}`,caretColorError:u,clearColor:x,clearColorHover:y,clearColorPressed:k,iconColor:$,iconColorDisabled:R,iconColorHover:K,iconColorPressed:H,suffixTextColor:t})}},uo=zH,DH=e=>{const{textColor2:t,textColor3:n,textColorDisabled:o,primaryColor:r,primaryColorHover:i,inputColor:a,inputColorDisabled:s,borderColor:l,warningColor:c,warningColorHover:u,errorColor:d,errorColorHover:f,borderRadius:p,lineHeight:h,fontSizeTiny:m,fontSizeSmall:v,fontSizeMedium:b,fontSizeLarge:w,heightTiny:C,heightSmall:S,heightMedium:_,heightLarge:x,actionColor:y,clearColor:k,clearColorHover:P,clearColorPressed:T,placeholderColor:$,placeholderColorDisabled:R,iconColor:K,iconColorDisabled:H,iconColorHover:D,iconColorPressed:M}=e;return Object.assign(Object.assign({},F_),{countTextColorDisabled:o,countTextColor:n,heightTiny:C,heightSmall:S,heightMedium:_,heightLarge:x,fontSizeTiny:m,fontSizeSmall:v,fontSizeMedium:b,fontSizeLarge:w,lineHeight:h,lineHeightTextarea:h,borderRadius:p,iconSize:"16px",groupLabelColor:y,groupLabelTextColor:t,textColor:t,textColorDisabled:o,textDecorationColor:t,caretColor:r,placeholderColor:$,placeholderColorDisabled:R,color:a,colorDisabled:s,colorFocus:a,groupLabelBorder:`1px solid ${l}`,border:`1px solid ${l}`,borderHover:`1px solid ${i}`,borderDisabled:`1px solid ${l}`,borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 0 2px ${Me(r,{alpha:.2})}`,loadingColor:r,loadingColorWarning:c,borderWarning:`1px solid ${c}`,borderHoverWarning:`1px solid ${u}`,colorFocusWarning:a,borderFocusWarning:`1px solid ${u}`,boxShadowFocusWarning:`0 0 0 2px ${Me(c,{alpha:.2})}`,caretColorWarning:c,loadingColorError:d,borderError:`1px solid ${d}`,borderHoverError:`1px solid ${f}`,colorFocusError:a,borderFocusError:`1px solid ${f}`,boxShadowFocusError:`0 0 0 2px ${Me(d,{alpha:.2})}`,caretColorError:d,clearColor:k,clearColorHover:P,clearColorPressed:T,iconColor:K,iconColorDisabled:H,iconColorHover:D,iconColorPressed:M,suffixTextColor:t})},LH={name:"Input",common:bt,self:DH},nm=LH,B_="n-input";function FH(e){let t=0;for(const n of e)t++;return t}function Fl(e){return e===""||e==null}function BH(e){const t=W(null);function n(){const{value:i}=e;if(!(i!=null&&i.focus)){r();return}const{selectionStart:a,selectionEnd:s,value:l}=i;if(a==null||s==null){r();return}t.value={start:a,end:s,beforeText:l.slice(0,a),afterText:l.slice(s)}}function o(){var i;const{value:a}=t,{value:s}=e;if(!a||!s)return;const{value:l}=s,{start:c,beforeText:u,afterText:d}=a;let f=l.length;if(l.endsWith(d))f=l.length-d.length;else if(l.startsWith(u))f=u.length;else{const p=u[c-1],h=l.indexOf(p,c-1);h!==-1&&(f=h+1)}(i=s.setSelectionRange)===null||i===void 0||i.call(s,f,f)}function r(){t.value=null}return ft(e,r),{recordCursor:n,restoreCursor:o}}const A0=ge({name:"InputWordCount",setup(e,{slots:t}){const{mergedValueRef:n,maxlengthRef:o,mergedClsPrefixRef:r,countGraphemesRef:i}=We(B_),a=L(()=>{const{value:s}=n;return s===null||Array.isArray(s)?0:(i.value||FH)(s)});return()=>{const{value:s}=o,{value:l}=n;return g("span",{class:`${r.value}-input-word-count`},rh(t.default,{value:l===null||Array.isArray(l)?"":l},()=>[s===void 0?a.value:`${a.value} / ${s}`]))}}}),NH=z("input",` max-width: 100%; cursor: text; line-height: 1.5; @@ -874,14 +891,14 @@ ${t} color: var(--n-text-color); caret-color: var(--n-caret-color); background-color: transparent; - `,[U("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",` + `,[q("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",` width: 0; height: 0; display: none; - `),U("&::placeholder",` + `),q("&::placeholder",` color: #0000; -webkit-text-fill-color: transparent !important; - `),U("&:-webkit-autofill ~",[V("placeholder","display: none;")])]),Z("round",[Tt("textarea","border-radius: calc(var(--n-height) / 2);")]),V("placeholder",` + `),q("&:-webkit-autofill ~",[V("placeholder","display: none;")])]),Z("round",[Tt("textarea","border-radius: calc(var(--n-height) / 2);")]),V("placeholder",` pointer-events: none; position: absolute; left: 0; @@ -890,7 +907,7 @@ ${t} bottom: 0; overflow: hidden; color: var(--n-placeholder-color); - `,[U("span",` + `,[q("span",` width: 100%; display: inline-block; `)]),Z("textarea",[V("placeholder","overflow: visible;")]),Tt("autosize","width: 100%;"),Z("autosize",[V("textarea-el, input-el",` @@ -918,7 +935,7 @@ ${t} padding: 0; height: var(--n-height); line-height: var(--n-height); - `,[U("&[type=password]::-ms-reveal","display: none;"),U("+",[V("placeholder",` + `,[q("&[type=password]::-ms-reveal","display: none;"),q("+",[V("placeholder",` display: flex; align-items: center; `)])]),Tt("textarea",[V("placeholder","white-space: nowrap;")]),V("eye",` @@ -986,11 +1003,11 @@ ${t} `)])]),Tt("disabled",[V("eye",` color: var(--n-icon-color); cursor: pointer; - `,[U("&:hover",` + `,[q("&:hover",` color: var(--n-icon-color-hover); - `),U("&:active",` + `),q("&:active",` color: var(--n-icon-color-pressed); - `)]),U("&:hover",[V("state-border","border: var(--n-border-hover);")]),Z("focus","background-color: var(--n-color-focus);",[V("state-border",` + `)]),q("&:hover",[V("state-border","border: var(--n-border-hover);")]),Z("focus","background-color: var(--n-color-focus);",[V("state-border",` border: var(--n-border-focus); box-shadow: var(--n-box-shadow-focus); `)])]),V("border, state-border",` @@ -1031,7 +1048,7 @@ ${t} transition: color .3s var(--n-bezier); color: var(--n-icon-color); font-size: var(--n-icon-size); - `)])]),U(">",[z("icon",` + `)])]),q(">",[z("icon",` transition: color .3s var(--n-bezier); color: var(--n-icon-color); font-size: var(--n-icon-size); @@ -1051,9 +1068,9 @@ ${t} caret-color: var(--n-caret-color-${e}); `),V("state-border",` border: var(--n-border-${e}); - `),U("&:hover",[V("state-border",` + `),q("&:hover",[V("state-border",` border: var(--n-border-hover-${e}); - `)]),U("&:focus",` + `)]),q("&:focus",` background-color: var(--n-color-focus-${e}); `,[V("state-border",` box-shadow: var(--n-box-shadow-focus-${e}); @@ -1063,37 +1080,37 @@ ${t} `,[V("state-border",` box-shadow: var(--n-box-shadow-focus-${e}); border: var(--n-border-focus-${e}); - `)])])]))]),OH=z("input",[Z("disabled",[V("input-el, textarea-el",` + `)])])]))]),HH=z("input",[Z("disabled",[V("input-el, textarea-el",` -webkit-text-fill-color: var(--n-text-color-disabled); - `)])]),MH=Object.assign(Object.assign({},Be.props),{bordered:{type:Boolean,default:void 0},type:{type:String,default:"text"},placeholder:[Array,String],defaultValue:{type:[String,Array],default:null},value:[String,Array],disabled:{type:Boolean,default:void 0},size:String,rows:{type:[Number,String],default:3},round:Boolean,minlength:[String,Number],maxlength:[String,Number],clearable:Boolean,autosize:{type:[Boolean,Object],default:!1},pair:Boolean,separator:String,readonly:{type:[String,Boolean],default:!1},passivelyActivated:Boolean,showPasswordOn:String,stateful:{type:Boolean,default:!0},autofocus:Boolean,inputProps:Object,resizable:{type:Boolean,default:!0},showCount:Boolean,loading:{type:Boolean,default:void 0},allowInput:Function,renderCount:Function,onMousedown:Function,onKeydown:Function,onKeyup:[Function,Array],onInput:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClick:[Function,Array],onChange:[Function,Array],onClear:[Function,Array],countGraphemes:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],textDecoration:[String,Array],attrSize:{type:Number,default:20},onInputBlur:[Function,Array],onInputFocus:[Function,Array],onDeactivate:[Function,Array],onActivate:[Function,Array],onWrapperFocus:[Function,Array],onWrapperBlur:[Function,Array],internalDeactivateOnEnter:Boolean,internalForceFocus:Boolean,internalLoadingBeforeSuffix:{type:Boolean,default:!0},showPasswordToggle:Boolean}),_o=me({name:"Input",props:MH,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=it(e),i=Be("Input","-input",IH,nm,e,t);$_&&Yr("-input-safari",OH,t);const a=F(null),s=F(null),l=F(null),c=F(null),u=F(null),d=F(null),f=F(null),p=AH(f),h=F(null),{localeRef:g}=Li("Input"),b=F(e.defaultValue),m=je(e,"value"),x=ln(m,b),S=dr(e),{mergedSizeRef:_,mergedDisabledRef:w,mergedStatusRef:C}=S,y=F(!1),k=F(!1),R=F(!1),$=F(!1);let I=null;const A=L(()=>{const{placeholder:ae,pair:Pe}=e;return Pe?Array.isArray(ae)?ae:ae===void 0?["",""]:[ae,ae]:ae===void 0?[g.value.placeholder]:[ae]}),K=L(()=>{const{value:ae}=R,{value:Pe}=x,{value:ot}=A;return!ae&&(Ll(Pe)||Array.isArray(Pe)&&Ll(Pe[0]))&&ot[0]}),B=L(()=>{const{value:ae}=R,{value:Pe}=x,{value:ot}=A;return!ae&&ot[1]&&(Ll(Pe)||Array.isArray(Pe)&&Ll(Pe[1]))}),M=St(()=>e.internalForceFocus||y.value),D=St(()=>{if(w.value||e.readonly||!e.clearable||!M.value&&!k.value)return!1;const{value:ae}=x,{value:Pe}=M;return e.pair?!!(Array.isArray(ae)&&(ae[0]||ae[1]))&&(k.value||Pe):!!ae&&(k.value||Pe)}),Y=L(()=>{const{showPasswordOn:ae}=e;if(ae)return ae;if(e.showPasswordToggle)return"click"}),Q=F(!1),ue=L(()=>{const{textDecoration:ae}=e;return ae?Array.isArray(ae)?ae.map(Pe=>({textDecoration:Pe})):[{textDecoration:ae}]:["",""]}),le=F(void 0),N=()=>{var ae,Pe;if(e.type==="textarea"){const{autosize:ot}=e;if(ot&&(le.value=(Pe=(ae=h.value)===null||ae===void 0?void 0:ae.$el)===null||Pe===void 0?void 0:Pe.offsetWidth),!s.value||typeof ot=="boolean")return;const{paddingTop:Nt,paddingBottom:Kt,lineHeight:Lt}=window.getComputedStyle(s.value),ho=Number(Nt.slice(0,-2)),po=Number(Kt.slice(0,-2)),mo=Number(Lt.slice(0,-2)),{value:Xo}=l;if(!Xo)return;if(ot.minRows){const Zo=Math.max(ot.minRows,1),Jr=`${ho+po+mo*Zo}px`;Xo.style.minHeight=Jr}if(ot.maxRows){const Zo=`${ho+po+mo*ot.maxRows}px`;Xo.style.maxHeight=Zo}}},E=L(()=>{const{maxlength:ae}=e;return ae===void 0?void 0:Number(ae)});Ft(()=>{const{value:ae}=x;Array.isArray(ae)||yt(ae)});const O=Zn().proxy;function q(ae,Pe){const{onUpdateValue:ot,"onUpdate:value":Nt,onInput:Kt}=e,{nTriggerFormInput:Lt}=S;ot&&Re(ot,ae,Pe),Nt&&Re(Nt,ae,Pe),Kt&&Re(Kt,ae,Pe),b.value=ae,Lt()}function ne(ae,Pe){const{onChange:ot}=e,{nTriggerFormChange:Nt}=S;ot&&Re(ot,ae,Pe),b.value=ae,Nt()}function ve(ae){const{onBlur:Pe}=e,{nTriggerFormBlur:ot}=S;Pe&&Re(Pe,ae),ot()}function J(ae){const{onFocus:Pe}=e,{nTriggerFormFocus:ot}=S;Pe&&Re(Pe,ae),ot()}function be(ae){const{onClear:Pe}=e;Pe&&Re(Pe,ae)}function H(ae){const{onInputBlur:Pe}=e;Pe&&Re(Pe,ae)}function ge(ae){const{onInputFocus:Pe}=e;Pe&&Re(Pe,ae)}function Ie(){const{onDeactivate:ae}=e;ae&&Re(ae)}function Le(){const{onActivate:ae}=e;ae&&Re(ae)}function P(ae){const{onClick:Pe}=e;Pe&&Re(Pe,ae)}function T(ae){const{onWrapperFocus:Pe}=e;Pe&&Re(Pe,ae)}function W(ae){const{onWrapperBlur:Pe}=e;Pe&&Re(Pe,ae)}function oe(){R.value=!0}function G(ae){R.value=!1,ae.target===d.value?se(ae,1):se(ae,0)}function se(ae,Pe=0,ot="input"){const Nt=ae.target.value;if(yt(Nt),ae instanceof InputEvent&&!ae.isComposing&&(R.value=!1),e.type==="textarea"){const{value:Lt}=h;Lt&&Lt.syncUnifiedContainer()}if(I=Nt,R.value)return;p.recordCursor();const Kt=xe(Nt);if(Kt)if(!e.pair)ot==="input"?q(Nt,{source:Pe}):ne(Nt,{source:Pe});else{let{value:Lt}=x;Array.isArray(Lt)?Lt=[Lt[0],Lt[1]]:Lt=["",""],Lt[Pe]=Nt,ot==="input"?q(Lt,{source:Pe}):ne(Lt,{source:Pe})}O.$forceUpdate(),Kt||jt(p.restoreCursor)}function xe(ae){const{countGraphemes:Pe,maxlength:ot,minlength:Nt}=e;if(Pe){let Lt;if(ot!==void 0&&(Lt===void 0&&(Lt=Pe(ae)),Lt>Number(ot))||Nt!==void 0&&(Lt===void 0&&(Lt=Pe(ae)),Lt{Nt.preventDefault(),Pt("mouseup",document,Pe)};if(Ot("mouseup",document,Pe),Y.value!=="mousedown")return;Q.value=!0;const ot=()=>{Q.value=!1,Pt("mouseup",document,ot)};Ot("mouseup",document,ot)}function Qe(ae){e.onKeyup&&Re(e.onKeyup,ae)}function xt(ae){switch(e.onKeydown&&Re(e.onKeydown,ae),ae.key){case"Escape":pe();break;case"Enter":X(ae);break}}function X(ae){var Pe,ot;if(e.passivelyActivated){const{value:Nt}=$;if(Nt){e.internalDeactivateOnEnter&&pe();return}ae.preventDefault(),e.type==="textarea"?(Pe=s.value)===null||Pe===void 0||Pe.focus():(ot=u.value)===null||ot===void 0||ot.focus()}}function pe(){e.passivelyActivated&&($.value=!1,jt(()=>{var ae;(ae=a.value)===null||ae===void 0||ae.focus()}))}function $e(){var ae,Pe,ot;w.value||(e.passivelyActivated?(ae=a.value)===null||ae===void 0||ae.focus():((Pe=s.value)===null||Pe===void 0||Pe.focus(),(ot=u.value)===null||ot===void 0||ot.focus()))}function qe(){var ae;!((ae=a.value)===null||ae===void 0)&&ae.contains(document.activeElement)&&document.activeElement.blur()}function Xe(){var ae,Pe;(ae=s.value)===null||ae===void 0||ae.select(),(Pe=u.value)===null||Pe===void 0||Pe.select()}function Ze(){w.value||(s.value?s.value.focus():u.value&&u.value.focus())}function nt(){const{value:ae}=a;ae!=null&&ae.contains(document.activeElement)&&ae!==document.activeElement&&pe()}function rt(ae){if(e.type==="textarea"){const{value:Pe}=s;Pe==null||Pe.scrollTo(ae)}else{const{value:Pe}=u;Pe==null||Pe.scrollTo(ae)}}function yt(ae){const{type:Pe,pair:ot,autosize:Nt}=e;if(!ot&&Nt)if(Pe==="textarea"){const{value:Kt}=l;Kt&&(Kt.textContent=(ae??"")+`\r -`)}else{const{value:Kt}=c;Kt&&(ae?Kt.textContent=ae:Kt.innerHTML=" ")}}function on(){N()}const Dt=F({top:"0"});function _e(ae){var Pe;const{scrollTop:ot}=ae.target;Dt.value.top=`${-ot}px`,(Pe=h.value)===null||Pe===void 0||Pe.syncUnifiedContainer()}let Ne=null;nn(()=>{const{autosize:ae,type:Pe}=e;ae&&Pe==="textarea"?Ne=ht(x,ot=>{!Array.isArray(ot)&&ot!==I&&yt(ot)}):Ne==null||Ne()});let et=null;nn(()=>{e.type==="textarea"?et=ht(x,ae=>{var Pe;!Array.isArray(ae)&&ae!==I&&((Pe=h.value)===null||Pe===void 0||Pe.syncUnifiedContainer())}):et==null||et()}),lt(A_,{mergedValueRef:x,maxlengthRef:E,mergedClsPrefixRef:t,countGraphemesRef:je(e,"countGraphemes")});const pt={wrapperElRef:a,inputElRef:u,textareaElRef:s,isCompositing:R,clear:Fe,focus:$e,blur:qe,select:Xe,deactivate:nt,activate:Ze,scrollTo:rt},gt=pn("Input",r,t),ct=L(()=>{const{value:ae}=_,{common:{cubicBezierEaseInOut:Pe},self:{color:ot,borderRadius:Nt,textColor:Kt,caretColor:Lt,caretColorError:ho,caretColorWarning:po,textDecorationColor:mo,border:Xo,borderDisabled:Zo,borderHover:Jr,borderFocus:Ya,placeholderColor:Xa,placeholderColorDisabled:Za,lineHeightTextarea:Ja,colorDisabled:gr,colorFocus:vr,textColorDisabled:Ju,boxShadowFocus:Qu,iconSize:ed,colorFocusWarning:td,boxShadowFocusWarning:nd,borderWarning:od,borderFocusWarning:dk,borderHoverWarning:fk,colorFocusError:hk,boxShadowFocusError:pk,borderError:mk,borderFocusError:gk,borderHoverError:vk,clearSize:bk,clearColor:yk,clearColorHover:xk,clearColorPressed:Ck,iconColor:wk,iconColorDisabled:_k,suffixTextColor:Sk,countTextColor:kk,countTextColorDisabled:Pk,iconColorHover:Tk,iconColorPressed:Rk,loadingColor:$k,loadingColorError:Ek,loadingColorWarning:Ak,[ke("padding",ae)]:Ik,[ke("fontSize",ae)]:Ok,[ke("height",ae)]:Mk}}=i.value,{left:zk,right:Dk}=yo(Ik);return{"--n-bezier":Pe,"--n-count-text-color":kk,"--n-count-text-color-disabled":Pk,"--n-color":ot,"--n-font-size":Ok,"--n-border-radius":Nt,"--n-height":Mk,"--n-padding-left":zk,"--n-padding-right":Dk,"--n-text-color":Kt,"--n-caret-color":Lt,"--n-text-decoration-color":mo,"--n-border":Xo,"--n-border-disabled":Zo,"--n-border-hover":Jr,"--n-border-focus":Ya,"--n-placeholder-color":Xa,"--n-placeholder-color-disabled":Za,"--n-icon-size":ed,"--n-line-height-textarea":Ja,"--n-color-disabled":gr,"--n-color-focus":vr,"--n-text-color-disabled":Ju,"--n-box-shadow-focus":Qu,"--n-loading-color":$k,"--n-caret-color-warning":po,"--n-color-focus-warning":td,"--n-box-shadow-focus-warning":nd,"--n-border-warning":od,"--n-border-focus-warning":dk,"--n-border-hover-warning":fk,"--n-loading-color-warning":Ak,"--n-caret-color-error":ho,"--n-color-focus-error":hk,"--n-box-shadow-focus-error":pk,"--n-border-error":mk,"--n-border-focus-error":gk,"--n-border-hover-error":vk,"--n-loading-color-error":Ek,"--n-clear-color":yk,"--n-clear-size":bk,"--n-clear-color-hover":xk,"--n-clear-color-pressed":Ck,"--n-icon-color":wk,"--n-icon-color-hover":Tk,"--n-icon-color-pressed":Rk,"--n-icon-color-disabled":_k,"--n-suffix-text-color":Sk}}),Rt=o?kt("input",L(()=>{const{value:ae}=_;return ae[0]}),ct,e):void 0;return Object.assign(Object.assign({},pt),{wrapperElRef:a,inputElRef:u,inputMirrorElRef:c,inputEl2Ref:d,textareaElRef:s,textareaMirrorElRef:l,textareaScrollbarInstRef:h,rtlEnabled:gt,uncontrolledValue:b,mergedValue:x,passwordVisible:Q,mergedPlaceholder:A,showPlaceholder1:K,showPlaceholder2:B,mergedFocus:M,isComposing:R,activated:$,showClearButton:D,mergedSize:_,mergedDisabled:w,textDecorationStyle:ue,mergedClsPrefix:t,mergedBordered:n,mergedShowPasswordOn:Y,placeholderStyle:Dt,mergedStatus:C,textAreaScrollContainerWidth:le,handleTextAreaScroll:_e,handleCompositionStart:oe,handleCompositionEnd:G,handleInput:se,handleInputBlur:ye,handleInputFocus:Ce,handleWrapperBlur:we,handleWrapperFocus:Ee,handleMouseEnter:Se,handleMouseLeave:De,handleMouseDown:Ye,handleChange:ee,handleClick:fe,handleClear:Te,handlePasswordToggleClick:Ue,handlePasswordToggleMousedown:Ae,handleWrapperKeydown:xt,handleWrapperKeyup:Qe,handleTextAreaMirrorResize:on,getTextareaScrollContainer:()=>s.value,mergedTheme:i,cssVars:o?void 0:ct,themeClass:Rt==null?void 0:Rt.themeClass,onRender:Rt==null?void 0:Rt.onRender})},render(){var e,t;const{mergedClsPrefix:n,mergedStatus:o,themeClass:r,type:i,countGraphemes:a,onRender:s}=this,l=this.$slots;return s==null||s(),v("div",{ref:"wrapperElRef",class:[`${n}-input`,r,o&&`${n}-input--${o}-status`,{[`${n}-input--rtl`]:this.rtlEnabled,[`${n}-input--disabled`]:this.mergedDisabled,[`${n}-input--textarea`]:i==="textarea",[`${n}-input--resizable`]:this.resizable&&!this.autosize,[`${n}-input--autosize`]:this.autosize,[`${n}-input--round`]:this.round&&i!=="textarea",[`${n}-input--pair`]:this.pair,[`${n}-input--focus`]:this.mergedFocus,[`${n}-input--stateful`]:this.stateful}],style:this.cssVars,tabindex:!this.mergedDisabled&&this.passivelyActivated&&!this.activated?0:void 0,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,onClick:this.handleClick,onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onKeyup:this.handleWrapperKeyup,onKeydown:this.handleWrapperKeydown},v("div",{class:`${n}-input-wrapper`},Et(l.prefix,c=>c&&v("div",{class:`${n}-input__prefix`},c)),i==="textarea"?v(ko,{ref:"textareaScrollbarInstRef",class:`${n}-input__textarea`,container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0,internalHoistYRail:!0},{default:()=>{var c,u;const{textAreaScrollContainerWidth:d}=this,f={width:this.autosize&&d&&`${d}px`};return v(at,null,v("textarea",Object.assign({},this.inputProps,{ref:"textareaElRef",class:[`${n}-input__textarea-el`,(c=this.inputProps)===null||c===void 0?void 0:c.class],autofocus:this.autofocus,rows:Number(this.rows),placeholder:this.placeholder,value:this.mergedValue,disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,readonly:this.readonly,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,style:[this.textDecorationStyle[0],(u=this.inputProps)===null||u===void 0?void 0:u.style,f],onBlur:this.handleInputBlur,onFocus:p=>{this.handleInputFocus(p,2)},onInput:this.handleInput,onChange:this.handleChange,onScroll:this.handleTextAreaScroll})),this.showPlaceholder1?v("div",{class:`${n}-input__placeholder`,style:[this.placeholderStyle,f],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?v(lr,{onResize:this.handleTextAreaMirrorResize},{default:()=>v("div",{ref:"textareaMirrorElRef",class:`${n}-input__textarea-mirror`,key:"mirror"})}):null)}}):v("div",{class:`${n}-input__input`},v("input",Object.assign({type:i==="password"&&this.mergedShowPasswordOn&&this.passwordVisible?"text":i},this.inputProps,{ref:"inputElRef",class:[`${n}-input__input-el`,(e=this.inputProps)===null||e===void 0?void 0:e.class],style:[this.textDecorationStyle[0],(t=this.inputProps)===null||t===void 0?void 0:t.style],tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[0],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[0]:this.mergedValue,readonly:this.readonly,autofocus:this.autofocus,size:this.attrSize,onBlur:this.handleInputBlur,onFocus:c=>{this.handleInputFocus(c,0)},onInput:c=>{this.handleInput(c,0)},onChange:c=>{this.handleChange(c,0)}})),this.showPlaceholder1?v("div",{class:`${n}-input__placeholder`},v("span",null,this.mergedPlaceholder[0])):null,this.autosize?v("div",{class:`${n}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"}," "):null),!this.pair&&Et(l.suffix,c=>c||this.clearable||this.showCount||this.mergedShowPasswordOn||this.loading!==void 0?v("div",{class:`${n}-input__suffix`},[Et(l["clear-icon-placeholder"],u=>(this.clearable||u)&&v(Ch,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{placeholder:()=>u,icon:()=>{var d,f;return(f=(d=this.$slots)["clear-icon"])===null||f===void 0?void 0:f.call(d)}})),this.internalLoadingBeforeSuffix?null:c,this.loading!==void 0?v(__,{clsPrefix:n,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?c:null,this.showCount&&this.type!=="textarea"?v($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"?v("div",{class:`${n}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?An(l["password-visible-icon"],()=>[v(Ut,{clsPrefix:n},{default:()=>v(zB,null)})]):An(l["password-invisible-icon"],()=>[v(Ut,{clsPrefix:n},{default:()=>v(DB,null)})])):null]):null)),this.pair?v("span",{class:`${n}-input__separator`},An(l.separator,()=>[this.separator])):null,this.pair?v("div",{class:`${n}-input-wrapper`},v("div",{class:`${n}-input__input`},v("input",{ref:"inputEl2Ref",type:this.type,class:`${n}-input__input-el`,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[1],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[1]:void 0,readonly:this.readonly,style:this.textDecorationStyle[1],onBlur:this.handleInputBlur,onFocus:c=>{this.handleInputFocus(c,1)},onInput:c=>{this.handleInput(c,1)},onChange:c=>{this.handleChange(c,1)}}),this.showPlaceholder2?v("div",{class:`${n}-input__placeholder`},v("span",null,this.mergedPlaceholder[1])):null),Et(l.suffix,c=>(this.clearable||c)&&v("div",{class:`${n}-input__suffix`},[this.clearable&&v(Ch,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{icon:()=>{var u;return(u=l["clear-icon"])===null||u===void 0?void 0:u.call(l)},placeholder:()=>{var u;return(u=l["clear-icon-placeholder"])===null||u===void 0?void 0:u.call(l)}}),c]))):null,this.mergedBordered?v("div",{class:`${n}-input__border`}):null,this.mergedBordered?v("div",{class:`${n}-input__state-border`}):null,this.showCount&&i==="textarea"?v($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)}}),zH=z("input-group",` + `)])]),jH=Object.assign(Object.assign({},Be.props),{bordered:{type:Boolean,default:void 0},type:{type:String,default:"text"},placeholder:[Array,String],defaultValue:{type:[String,Array],default:null},value:[String,Array],disabled:{type:Boolean,default:void 0},size:String,rows:{type:[Number,String],default:3},round:Boolean,minlength:[String,Number],maxlength:[String,Number],clearable:Boolean,autosize:{type:[Boolean,Object],default:!1},pair:Boolean,separator:String,readonly:{type:[String,Boolean],default:!1},passivelyActivated:Boolean,showPasswordOn:String,stateful:{type:Boolean,default:!0},autofocus:Boolean,inputProps:Object,resizable:{type:Boolean,default:!0},showCount:Boolean,loading:{type:Boolean,default:void 0},allowInput:Function,renderCount:Function,onMousedown:Function,onKeydown:Function,onKeyup:[Function,Array],onInput:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClick:[Function,Array],onChange:[Function,Array],onClear:[Function,Array],countGraphemes:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],textDecoration:[String,Array],attrSize:{type:Number,default:20},onInputBlur:[Function,Array],onInputFocus:[Function,Array],onDeactivate:[Function,Array],onActivate:[Function,Array],onWrapperFocus:[Function,Array],onWrapperBlur:[Function,Array],internalDeactivateOnEnter:Boolean,internalForceFocus:Boolean,internalLoadingBeforeSuffix:{type:Boolean,default:!0},showPasswordToggle:Boolean}),lr=ge({name:"Input",props:jH,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=Be("Input","-input",NH,nm,e,t);L_&&Zr("-input-safari",HH,t);const a=W(null),s=W(null),l=W(null),c=W(null),u=W(null),d=W(null),f=W(null),p=BH(f),h=W(null),{localeRef:m}=Di("Input"),v=W(e.defaultValue),b=Ve(e,"value"),w=sn(b,v),C=fr(e),{mergedSizeRef:S,mergedDisabledRef:_,mergedStatusRef:x}=C,y=W(!1),k=W(!1),P=W(!1),T=W(!1);let $=null;const R=L(()=>{const{placeholder:se,pair:Re}=e;return Re?Array.isArray(se)?se:se===void 0?["",""]:[se,se]:se===void 0?[m.value.placeholder]:[se]}),K=L(()=>{const{value:se}=P,{value:Re}=w,{value:ot}=R;return!se&&(Fl(Re)||Array.isArray(Re)&&Fl(Re[0]))&&ot[0]}),H=L(()=>{const{value:se}=P,{value:Re}=w,{value:ot}=R;return!se&&ot[1]&&(Fl(Re)||Array.isArray(Re)&&Fl(Re[1]))}),D=St(()=>e.internalForceFocus||y.value),M=St(()=>{if(_.value||e.readonly||!e.clearable||!D.value&&!k.value)return!1;const{value:se}=w,{value:Re}=D;return e.pair?!!(Array.isArray(se)&&(se[0]||se[1]))&&(k.value||Re):!!se&&(k.value||Re)}),Y=L(()=>{const{showPasswordOn:se}=e;if(se)return se;if(e.showPasswordToggle)return"click"}),Q=W(!1),de=L(()=>{const{textDecoration:se}=e;return se?Array.isArray(se)?se.map(Re=>({textDecoration:Re})):[{textDecoration:se}]:["",""]}),he=W(void 0),B=()=>{var se,Re;if(e.type==="textarea"){const{autosize:ot}=e;if(ot&&(he.value=(Re=(se=h.value)===null||se===void 0?void 0:se.$el)===null||Re===void 0?void 0:Re.offsetWidth),!s.value||typeof ot=="boolean")return;const{paddingTop:Bt,paddingBottom:Kt,lineHeight:Lt}=window.getComputedStyle(s.value),po=Number(Bt.slice(0,-2)),mo=Number(Kt.slice(0,-2)),go=Number(Lt.slice(0,-2)),{value:Go}=l;if(!Go)return;if(ot.minRows){const Yo=Math.max(ot.minRows,1),ei=`${po+mo+go*Yo}px`;Go.style.minHeight=ei}if(ot.maxRows){const Yo=`${po+mo+go*ot.maxRows}px`;Go.style.maxHeight=Yo}}},E=L(()=>{const{maxlength:se}=e;return se===void 0?void 0:Number(se)});jt(()=>{const{value:se}=w;Array.isArray(se)||yt(se)});const A=Jn().proxy;function G(se,Re){const{onUpdateValue:ot,"onUpdate:value":Bt,onInput:Kt}=e,{nTriggerFormInput:Lt}=C;ot&&Ee(ot,se,Re),Bt&&Ee(Bt,se,Re),Kt&&Ee(Kt,se,Re),v.value=se,Lt()}function ne(se,Re){const{onChange:ot}=e,{nTriggerFormChange:Bt}=C;ot&&Ee(ot,se,Re),v.value=se,Bt()}function ye(se){const{onBlur:Re}=e,{nTriggerFormBlur:ot}=C;Re&&Ee(Re,se),ot()}function J(se){const{onFocus:Re}=e,{nTriggerFormFocus:ot}=C;Re&&Ee(Re,se),ot()}function xe(se){const{onClear:Re}=e;Re&&Ee(Re,se)}function j(se){const{onInputBlur:Re}=e;Re&&Ee(Re,se)}function ve(se){const{onInputFocus:Re}=e;Re&&Ee(Re,se)}function Oe(){const{onDeactivate:se}=e;se&&Ee(se)}function Le(){const{onActivate:se}=e;se&&Ee(se)}function F(se){const{onClick:Re}=e;Re&&Ee(Re,se)}function O(se){const{onWrapperFocus:Re}=e;Re&&Ee(Re,se)}function re(se){const{onWrapperBlur:Re}=e;Re&&Ee(Re,se)}function _e(){P.value=!0}function ee(se){P.value=!1,se.target===d.value?be(se,1):be(se,0)}function be(se,Re=0,ot="input"){const Bt=se.target.value;if(yt(Bt),se instanceof InputEvent&&!se.isComposing&&(P.value=!1),e.type==="textarea"){const{value:Lt}=h;Lt&&Lt.syncUnifiedContainer()}if($=Bt,P.value)return;p.recordCursor();const Kt=Pe(Bt);if(Kt)if(!e.pair)ot==="input"?G(Bt,{source:Re}):ne(Bt,{source:Re});else{let{value:Lt}=w;Array.isArray(Lt)?Lt=[Lt[0],Lt[1]]:Lt=["",""],Lt[Re]=Bt,ot==="input"?G(Lt,{source:Re}):ne(Lt,{source:Re})}A.$forceUpdate(),Kt||Ht(p.restoreCursor)}function Pe(se){const{countGraphemes:Re,maxlength:ot,minlength:Bt}=e;if(Re){let Lt;if(ot!==void 0&&(Lt===void 0&&(Lt=Re(se)),Lt>Number(ot))||Bt!==void 0&&(Lt===void 0&&(Lt=Re(se)),Lt{Bt.preventDefault(),Pt("mouseup",document,Re)};if(It("mouseup",document,Re),Y.value!=="mousedown")return;Q.value=!0;const ot=()=>{Q.value=!1,Pt("mouseup",document,ot)};It("mouseup",document,ot)}function Je(se){e.onKeyup&&Ee(e.onKeyup,se)}function xt(se){switch(e.onKeydown&&Ee(e.onKeydown,se),se.key){case"Escape":me();break;case"Enter":X(se);break}}function X(se){var Re,ot;if(e.passivelyActivated){const{value:Bt}=T;if(Bt){e.internalDeactivateOnEnter&&me();return}se.preventDefault(),e.type==="textarea"?(Re=s.value)===null||Re===void 0||Re.focus():(ot=u.value)===null||ot===void 0||ot.focus()}}function me(){e.passivelyActivated&&(T.value=!1,Ht(()=>{var se;(se=a.value)===null||se===void 0||se.focus()}))}function $e(){var se,Re,ot;_.value||(e.passivelyActivated?(se=a.value)===null||se===void 0||se.focus():((Re=s.value)===null||Re===void 0||Re.focus(),(ot=u.value)===null||ot===void 0||ot.focus()))}function Ke(){var se;!((se=a.value)===null||se===void 0)&&se.contains(document.activeElement)&&document.activeElement.blur()}function Xe(){var se,Re;(se=s.value)===null||se===void 0||se.select(),(Re=u.value)===null||Re===void 0||Re.select()}function Ze(){_.value||(s.value?s.value.focus():u.value&&u.value.focus())}function tt(){const{value:se}=a;se!=null&&se.contains(document.activeElement)&&se!==document.activeElement&&me()}function it(se){if(e.type==="textarea"){const{value:Re}=s;Re==null||Re.scrollTo(se)}else{const{value:Re}=u;Re==null||Re.scrollTo(se)}}function yt(se){const{type:Re,pair:ot,autosize:Bt}=e;if(!ot&&Bt)if(Re==="textarea"){const{value:Kt}=l;Kt&&(Kt.textContent=(se??"")+`\r +`)}else{const{value:Kt}=c;Kt&&(se?Kt.textContent=se:Kt.innerHTML=" ")}}function on(){B()}const Dt=W({top:"0"});function Se(se){var Re;const{scrollTop:ot}=se.target;Dt.value.top=`${-ot}px`,(Re=h.value)===null||Re===void 0||Re.syncUnifiedContainer()}let He=null;Yt(()=>{const{autosize:se,type:Re}=e;se&&Re==="textarea"?He=ft(w,ot=>{!Array.isArray(ot)&&ot!==$&&yt(ot)}):He==null||He()});let Qe=null;Yt(()=>{e.type==="textarea"?Qe=ft(w,se=>{var Re;!Array.isArray(se)&&se!==$&&((Re=h.value)===null||Re===void 0||Re.syncUnifiedContainer())}):Qe==null||Qe()}),at(B_,{mergedValueRef:w,maxlengthRef:E,mergedClsPrefixRef:t,countGraphemesRef:Ve(e,"countGraphemes")});const ht={wrapperElRef:a,inputElRef:u,textareaElRef:s,isCompositing:P,clear:De,focus:$e,blur:Ke,select:Xe,deactivate:tt,activate:Ze,scrollTo:it},gt=pn("Input",r,t),ut=L(()=>{const{value:se}=S,{common:{cubicBezierEaseInOut:Re},self:{color:ot,borderRadius:Bt,textColor:Kt,caretColor:Lt,caretColorError:po,caretColorWarning:mo,textDecorationColor:go,border:Go,borderDisabled:Yo,borderHover:ei,borderFocus:qa,placeholderColor:Ka,placeholderColorDisabled:Ga,lineHeightTextarea:Ya,colorDisabled:vr,colorFocus:br,textColorDisabled:Ju,boxShadowFocus:Qu,iconSize:ed,colorFocusWarning:td,boxShadowFocusWarning:nd,borderWarning:od,borderFocusWarning:bk,borderHoverWarning:yk,colorFocusError:xk,boxShadowFocusError:Ck,borderError:wk,borderFocusError:_k,borderHoverError:Sk,clearSize:kk,clearColor:Pk,clearColorHover:Tk,clearColorPressed:Rk,iconColor:Ek,iconColorDisabled:$k,suffixTextColor:Ak,countTextColor:Ik,countTextColorDisabled:Ok,iconColorHover:Mk,iconColorPressed:zk,loadingColor:Dk,loadingColorError:Lk,loadingColorWarning:Fk,[Te("padding",se)]:Bk,[Te("fontSize",se)]:Nk,[Te("height",se)]:Hk}}=i.value,{left:jk,right:Vk}=_o(Bk);return{"--n-bezier":Re,"--n-count-text-color":Ik,"--n-count-text-color-disabled":Ok,"--n-color":ot,"--n-font-size":Nk,"--n-border-radius":Bt,"--n-height":Hk,"--n-padding-left":jk,"--n-padding-right":Vk,"--n-text-color":Kt,"--n-caret-color":Lt,"--n-text-decoration-color":go,"--n-border":Go,"--n-border-disabled":Yo,"--n-border-hover":ei,"--n-border-focus":qa,"--n-placeholder-color":Ka,"--n-placeholder-color-disabled":Ga,"--n-icon-size":ed,"--n-line-height-textarea":Ya,"--n-color-disabled":vr,"--n-color-focus":br,"--n-text-color-disabled":Ju,"--n-box-shadow-focus":Qu,"--n-loading-color":Dk,"--n-caret-color-warning":mo,"--n-color-focus-warning":td,"--n-box-shadow-focus-warning":nd,"--n-border-warning":od,"--n-border-focus-warning":bk,"--n-border-hover-warning":yk,"--n-loading-color-warning":Fk,"--n-caret-color-error":po,"--n-color-focus-error":xk,"--n-box-shadow-focus-error":Ck,"--n-border-error":wk,"--n-border-focus-error":_k,"--n-border-hover-error":Sk,"--n-loading-color-error":Lk,"--n-clear-color":Pk,"--n-clear-size":kk,"--n-clear-color-hover":Tk,"--n-clear-color-pressed":Rk,"--n-icon-color":Ek,"--n-icon-color-hover":Mk,"--n-icon-color-pressed":zk,"--n-icon-color-disabled":$k,"--n-suffix-text-color":Ak}}),Rt=o?kt("input",L(()=>{const{value:se}=S;return se[0]}),ut,e):void 0;return Object.assign(Object.assign({},ht),{wrapperElRef:a,inputElRef:u,inputMirrorElRef:c,inputEl2Ref:d,textareaElRef:s,textareaMirrorElRef:l,textareaScrollbarInstRef:h,rtlEnabled:gt,uncontrolledValue:v,mergedValue:w,passwordVisible:Q,mergedPlaceholder:R,showPlaceholder1:K,showPlaceholder2:H,mergedFocus:D,isComposing:P,activated:T,showClearButton:M,mergedSize:S,mergedDisabled:_,textDecorationStyle:de,mergedClsPrefix:t,mergedBordered:n,mergedShowPasswordOn:Y,placeholderStyle:Dt,mergedStatus:x,textAreaScrollContainerWidth:he,handleTextAreaScroll:Se,handleCompositionStart:_e,handleCompositionEnd:ee,handleInput:be,handleInputBlur:I,handleInputFocus:N,handleWrapperBlur:te,handleWrapperFocus:Ce,handleMouseEnter:ke,handleMouseLeave:Fe,handleMouseDown:Ue,handleChange:fe,handleClick:oe,handleClear:ue,handlePasswordToggleClick:je,handlePasswordToggleMousedown:Ae,handleWrapperKeydown:xt,handleWrapperKeyup:Je,handleTextAreaMirrorResize:on,getTextareaScrollContainer:()=>s.value,mergedTheme:i,cssVars:o?void 0:ut,themeClass:Rt==null?void 0:Rt.themeClass,onRender:Rt==null?void 0:Rt.onRender})},render(){var e,t;const{mergedClsPrefix:n,mergedStatus:o,themeClass:r,type:i,countGraphemes:a,onRender:s}=this,l=this.$slots;return s==null||s(),g("div",{ref:"wrapperElRef",class:[`${n}-input`,r,o&&`${n}-input--${o}-status`,{[`${n}-input--rtl`]:this.rtlEnabled,[`${n}-input--disabled`]:this.mergedDisabled,[`${n}-input--textarea`]:i==="textarea",[`${n}-input--resizable`]:this.resizable&&!this.autosize,[`${n}-input--autosize`]:this.autosize,[`${n}-input--round`]:this.round&&i!=="textarea",[`${n}-input--pair`]:this.pair,[`${n}-input--focus`]:this.mergedFocus,[`${n}-input--stateful`]:this.stateful}],style:this.cssVars,tabindex:!this.mergedDisabled&&this.passivelyActivated&&!this.activated?0:void 0,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,onClick:this.handleClick,onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onKeyup:this.handleWrapperKeyup,onKeydown:this.handleWrapperKeydown},g("div",{class:`${n}-input-wrapper`},Et(l.prefix,c=>c&&g("div",{class:`${n}-input__prefix`},c)),i==="textarea"?g(To,{ref:"textareaScrollbarInstRef",class:`${n}-input__textarea`,container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0,internalHoistYRail:!0},{default:()=>{var c,u;const{textAreaScrollContainerWidth:d}=this,f={width:this.autosize&&d&&`${d}px`};return g(rt,null,g("textarea",Object.assign({},this.inputProps,{ref:"textareaElRef",class:[`${n}-input__textarea-el`,(c=this.inputProps)===null||c===void 0?void 0:c.class],autofocus:this.autofocus,rows:Number(this.rows),placeholder:this.placeholder,value:this.mergedValue,disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,readonly:this.readonly,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,style:[this.textDecorationStyle[0],(u=this.inputProps)===null||u===void 0?void 0:u.style,f],onBlur:this.handleInputBlur,onFocus:p=>{this.handleInputFocus(p,2)},onInput:this.handleInput,onChange:this.handleChange,onScroll:this.handleTextAreaScroll})),this.showPlaceholder1?g("div",{class:`${n}-input__placeholder`,style:[this.placeholderStyle,f],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?g(sr,{onResize:this.handleTextAreaMirrorResize},{default:()=>g("div",{ref:"textareaMirrorElRef",class:`${n}-input__textarea-mirror`,key:"mirror"})}):null)}}):g("div",{class:`${n}-input__input`},g("input",Object.assign({type:i==="password"&&this.mergedShowPasswordOn&&this.passwordVisible?"text":i},this.inputProps,{ref:"inputElRef",class:[`${n}-input__input-el`,(e=this.inputProps)===null||e===void 0?void 0:e.class],style:[this.textDecorationStyle[0],(t=this.inputProps)===null||t===void 0?void 0:t.style],tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[0],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[0]:this.mergedValue,readonly:this.readonly,autofocus:this.autofocus,size:this.attrSize,onBlur:this.handleInputBlur,onFocus:c=>{this.handleInputFocus(c,0)},onInput:c=>{this.handleInput(c,0)},onChange:c=>{this.handleChange(c,0)}})),this.showPlaceholder1?g("div",{class:`${n}-input__placeholder`},g("span",null,this.mergedPlaceholder[0])):null,this.autosize?g("div",{class:`${n}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"}," "):null),!this.pair&&Et(l.suffix,c=>c||this.clearable||this.showCount||this.mergedShowPasswordOn||this.loading!==void 0?g("div",{class:`${n}-input__suffix`},[Et(l["clear-icon-placeholder"],u=>(this.clearable||u)&&g(_h,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{placeholder:()=>u,icon:()=>{var d,f;return(f=(d=this.$slots)["clear-icon"])===null||f===void 0?void 0:f.call(d)}})),this.internalLoadingBeforeSuffix?null:c,this.loading!==void 0?g(A_,{clsPrefix:n,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?c:null,this.showCount&&this.type!=="textarea"?g(A0,null,{default:u=>{var d;return(d=l.count)===null||d===void 0?void 0:d.call(l,u)}}):null,this.mergedShowPasswordOn&&this.type==="password"?g("div",{class:`${n}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?An(l["password-visible-icon"],()=>[g(Ut,{clsPrefix:n},{default:()=>g(VB,null)})]):An(l["password-invisible-icon"],()=>[g(Ut,{clsPrefix:n},{default:()=>g(WB,null)})])):null]):null)),this.pair?g("span",{class:`${n}-input__separator`},An(l.separator,()=>[this.separator])):null,this.pair?g("div",{class:`${n}-input-wrapper`},g("div",{class:`${n}-input__input`},g("input",{ref:"inputEl2Ref",type:this.type,class:`${n}-input__input-el`,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[1],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[1]:void 0,readonly:this.readonly,style:this.textDecorationStyle[1],onBlur:this.handleInputBlur,onFocus:c=>{this.handleInputFocus(c,1)},onInput:c=>{this.handleInput(c,1)},onChange:c=>{this.handleChange(c,1)}}),this.showPlaceholder2?g("div",{class:`${n}-input__placeholder`},g("span",null,this.mergedPlaceholder[1])):null),Et(l.suffix,c=>(this.clearable||c)&&g("div",{class:`${n}-input__suffix`},[this.clearable&&g(_h,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{icon:()=>{var u;return(u=l["clear-icon"])===null||u===void 0?void 0:u.call(l)},placeholder:()=>{var u;return(u=l["clear-icon-placeholder"])===null||u===void 0?void 0:u.call(l)}}),c]))):null,this.mergedBordered?g("div",{class:`${n}-input__border`}):null,this.mergedBordered?g("div",{class:`${n}-input__state-border`}):null,this.showCount&&i==="textarea"?g(A0,null,{default:c=>{var u;const{renderCount:d}=this;return d?d(c):(u=l.count)===null||u===void 0?void 0:u.call(l,c)}}):null)}}),VH=z("input-group",` display: inline-flex; width: 100%; flex-wrap: nowrap; vertical-align: bottom; -`,[U(">",[z("input",[U("&:not(:last-child)",` +`,[q(">",[z("input",[q("&:not(:last-child)",` border-top-right-radius: 0!important; border-bottom-right-radius: 0!important; - `),U("&:not(:first-child)",` + `),q("&:not(:first-child)",` border-top-left-radius: 0!important; border-bottom-left-radius: 0!important; margin-left: -1px!important; - `)]),z("button",[U("&:not(:last-child)",` + `)]),z("button",[q("&:not(:last-child)",` border-top-right-radius: 0!important; border-bottom-right-radius: 0!important; `,[V("state-border, border",` border-top-right-radius: 0!important; border-bottom-right-radius: 0!important; - `)]),U("&:not(:first-child)",` + `)]),q("&:not(:first-child)",` border-top-left-radius: 0!important; border-bottom-left-radius: 0!important; `,[V("state-border, border",` border-top-left-radius: 0!important; border-bottom-left-radius: 0!important; - `)])]),U("*",[U("&:not(:last-child)",` + `)])]),q("*",[q("&:not(:last-child)",` border-top-right-radius: 0!important; border-bottom-right-radius: 0!important; - `,[U(">",[z("input",` + `,[q(">",[z("input",` border-top-right-radius: 0!important; border-bottom-right-radius: 0!important; `),z("base-selection",[z("base-selection-label",` @@ -1105,11 +1122,11 @@ ${t} `),V("box-shadow, border, state-border",` border-top-right-radius: 0!important; border-bottom-right-radius: 0!important; - `)])])]),U("&:not(:first-child)",` + `)])])]),q("&:not(:first-child)",` margin-left: -1px!important; border-top-left-radius: 0!important; border-bottom-left-radius: 0!important; - `,[U(">",[z("input",` + `,[q(">",[z("input",` border-top-left-radius: 0!important; border-bottom-left-radius: 0!important; `),z("base-selection",[z("base-selection-label",` @@ -1121,7 +1138,7 @@ ${t} `),V("box-shadow, border, state-border",` border-top-left-radius: 0!important; border-bottom-left-radius: 0!important; - `)])])])])])]),DH={},$u=me({name:"InputGroup",props:DH,setup(e){const{mergedClsPrefixRef:t}=it(e);return Yr("-input-group",zH,t),{mergedClsPrefix:t}},render(){const{mergedClsPrefix:e}=this;return v("div",{class:`${e}-input-group`},this.$slots)}});function LH(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const FH={name:"AutoComplete",common:He,peers:{InternalSelectMenu:ll,Input:uo},self:LH},BH=FH,NH=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:tt(o,n),colorModal:tt(u,n),colorPopover:tt(d,n)}},HH={name:"Avatar",common:He,self:NH},I_=HH,jH=()=>({gap:"-12px"}),VH={name:"AvatarGroup",common:He,peers:{Avatar:I_},self:jH},WH=VH,O_={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},UH={name:"BackTop",common:He,self(e){const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},O_),{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)"})}},qH=UH,KH=e=>{const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},O_),{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)"})},GH={name:"BackTop",common:bt,self:KH},YH=GH,XH=v("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xlinkHref:"http://www.w3.org/1999/xlink"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{transform:"translate(-139.000000, -4423.000000)","fill-rule":"nonzero"},v("g",{transform:"translate(120.000000, 4285.000000)"},v("g",{transform:"translate(7.000000, 126.000000)"},v("g",{transform:"translate(24.000000, 24.000000) scale(1, -1) translate(-24.000000, -24.000000) translate(12.000000, 12.000000)"},v("g",{transform:"translate(4.000000, 2.000000)"},v("path",{d:"M8,0 C8.51283584,0 8.93550716,0.38604019 8.99327227,0.883378875 L9,1 L9,10.584 L12.2928932,7.29289322 C12.6834175,6.90236893 13.3165825,6.90236893 13.7071068,7.29289322 C14.0675907,7.65337718 14.0953203,8.22060824 13.7902954,8.61289944 L13.7071068,8.70710678 L8.70710678,13.7071068 L8.62544899,13.7803112 L8.618,13.784 L8.59530661,13.8036654 L8.4840621,13.8753288 L8.37133602,13.9287745 L8.22929083,13.9735893 L8.14346259,13.9897165 L8.03324678,13.9994506 L7.9137692,13.9962979 L7.77070917,13.9735893 L7.6583843,13.9401293 L7.57677845,13.9063266 L7.47929125,13.8540045 L7.4048407,13.8036865 L7.38131006,13.7856883 C7.35030318,13.7612383 7.32077858,13.7349921 7.29289322,13.7071068 L2.29289322,8.70710678 L2.20970461,8.61289944 C1.90467972,8.22060824 1.93240926,7.65337718 2.29289322,7.29289322 C2.65337718,6.93240926 3.22060824,6.90467972 3.61289944,7.20970461 L3.70710678,7.29289322 L7,10.585 L7,1 L7.00672773,0.883378875 C7.06449284,0.38604019 7.48716416,0 8,0 Z"}),v("path",{d:"M14.9333333,15.9994506 C15.5224371,15.9994506 16,16.4471659 16,16.9994506 C16,17.5122865 15.5882238,17.9349578 15.0577292,17.9927229 L14.9333333,17.9994506 L1.06666667,17.9994506 C0.477562934,17.9994506 0,17.5517354 0,16.9994506 C0,16.4866148 0.411776203,16.0639435 0.9422708,16.0061783 L1.06666667,15.9994506 L14.9333333,15.9994506 Z"})))))))),ZH=z("back-top",` + `)])])])])])]),WH={},om=ge({name:"InputGroup",props:WH,setup(e){const{mergedClsPrefixRef:t}=st(e);return Zr("-input-group",VH,t),{mergedClsPrefix:t}},render(){const{mergedClsPrefix:e}=this;return g("div",{class:`${e}-input-group`},this.$slots)}});function UH(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const qH={name:"AutoComplete",common:Ne,peers:{InternalSelectMenu:ul,Input:uo},self:UH},KH=qH,GH=e=>{const{borderRadius:t,avatarColor:n,cardColor:o,fontSize:r,heightTiny:i,heightSmall:a,heightMedium:s,heightLarge:l,heightHuge:c,modalColor:u,popoverColor:d}=e;return{borderRadius:t,fontSize:r,border:`2px solid ${o}`,heightTiny:i,heightSmall:a,heightMedium:s,heightLarge:l,heightHuge:c,color:et(o,n),colorModal:et(u,n),colorPopover:et(d,n)}},YH={name:"Avatar",common:Ne,self:GH},N_=YH,XH=()=>({gap:"-12px"}),ZH={name:"AvatarGroup",common:Ne,peers:{Avatar:N_},self:XH},JH=ZH,H_={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},QH={name:"BackTop",common:Ne,self(e){const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},H_),{color:t,textColor:n,iconColor:n,iconColorHover:o,iconColorPressed:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}},ej=QH,tj=e=>{const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},H_),{color:t,textColor:n,iconColor:n,iconColorHover:o,iconColorPressed:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})},nj={name:"BackTop",common:bt,self:tj},oj=nj,rj=g("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xlinkHref:"http://www.w3.org/1999/xlink"},g("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},g("g",{transform:"translate(-139.000000, -4423.000000)","fill-rule":"nonzero"},g("g",{transform:"translate(120.000000, 4285.000000)"},g("g",{transform:"translate(7.000000, 126.000000)"},g("g",{transform:"translate(24.000000, 24.000000) scale(1, -1) translate(-24.000000, -24.000000) translate(12.000000, 12.000000)"},g("g",{transform:"translate(4.000000, 2.000000)"},g("path",{d:"M8,0 C8.51283584,0 8.93550716,0.38604019 8.99327227,0.883378875 L9,1 L9,10.584 L12.2928932,7.29289322 C12.6834175,6.90236893 13.3165825,6.90236893 13.7071068,7.29289322 C14.0675907,7.65337718 14.0953203,8.22060824 13.7902954,8.61289944 L13.7071068,8.70710678 L8.70710678,13.7071068 L8.62544899,13.7803112 L8.618,13.784 L8.59530661,13.8036654 L8.4840621,13.8753288 L8.37133602,13.9287745 L8.22929083,13.9735893 L8.14346259,13.9897165 L8.03324678,13.9994506 L7.9137692,13.9962979 L7.77070917,13.9735893 L7.6583843,13.9401293 L7.57677845,13.9063266 L7.47929125,13.8540045 L7.4048407,13.8036865 L7.38131006,13.7856883 C7.35030318,13.7612383 7.32077858,13.7349921 7.29289322,13.7071068 L2.29289322,8.70710678 L2.20970461,8.61289944 C1.90467972,8.22060824 1.93240926,7.65337718 2.29289322,7.29289322 C2.65337718,6.93240926 3.22060824,6.90467972 3.61289944,7.20970461 L3.70710678,7.29289322 L7,10.585 L7,1 L7.00672773,0.883378875 C7.06449284,0.38604019 7.48716416,0 8,0 Z"}),g("path",{d:"M14.9333333,15.9994506 C15.5224371,15.9994506 16,16.4471659 16,16.9994506 C16,17.5122865 15.5882238,17.9349578 15.0577292,17.9927229 L14.9333333,17.9994506 L1.06666667,17.9994506 C0.477562934,17.9994506 0,17.5517354 0,16.9994506 C0,16.4866148 0.411776203,16.0639435 0.9422708,16.0061783 L1.06666667,15.9994506 L14.9333333,15.9994506 Z"})))))))),ij=z("back-top",` position: fixed; right: 40px; bottom: 40px; @@ -1139,19 +1156,19 @@ ${t} min-width: var(--n-width); box-shadow: var(--n-box-shadow); background-color: var(--n-color); -`,[Va(),Z("transition-disabled",{transition:"none !important"}),z("base-icon",` +`,[Na(),Z("transition-disabled",{transition:"none !important"}),z("base-icon",` font-size: var(--n-icon-size); color: var(--n-icon-color); transition: color .3s var(--n-bezier); - `),U("svg",{pointerEvents:"none"}),U("&:hover",{boxShadow:"var(--n-box-shadow-hover)"},[z("base-icon",{color:"var(--n-icon-color-hover)"})]),U("&:active",{boxShadow:"var(--n-box-shadow-pressed)"},[z("base-icon",{color:"var(--n-icon-color-pressed)"})])]),JH=Object.assign(Object.assign({},Be.props),{show:{type:Boolean,default:void 0},right:{type:[Number,String],default:40},bottom:{type:[Number,String],default:40},to:{type:[String,Object],default:"body"},visibilityHeight:{type:Number,default:180},listenTo:[String,Object,Function],"onUpdate:show":{type:Function,default:()=>{}},target:Function,onShow:Function,onHide:Function}),QH=me({name:"BackTop",inheritAttrs:!1,props:JH,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=it(e),o=F(null),r=F(!1);nn(()=>{const{value:_}=o;if(_===null){r.value=!1;return}r.value=_>=e.visibilityHeight});const i=F(!1);ht(r,_=>{var w;i.value&&((w=e["onUpdate:show"])===null||w===void 0||w.call(e,_))});const a=je(e,"show"),s=ln(a,r),l=F(!0),c=F(null),u=L(()=>({right:`calc(${qt(e.right)} + ${ch.value})`,bottom:qt(e.bottom)}));let d,f;ht(s,_=>{var w,C;i.value&&(_&&((w=e.onShow)===null||w===void 0||w.call(e)),(C=e.onHide)===null||C===void 0||C.call(e))});const p=Be("BackTop","-back-top",ZH,YH,e,t);function h(){var _;if(f)return;f=!0;const w=((_=e.target)===null||_===void 0?void 0:_.call(e))||HA(e.listenTo)||$C(c.value);if(!w)return;d=w===document.documentElement?document:w;const{to:C}=e;typeof C=="string"&&document.querySelector(C),d.addEventListener("scroll",b),b()}function g(){(Ib(d)?document.documentElement:d).scrollTo({top:0,behavior:"smooth"})}function b(){o.value=(Ib(d)?document.documentElement:d).scrollTop,i.value||jt(()=>{i.value=!0})}function m(){l.value=!1}Ft(()=>{h(),l.value=s.value}),rn(()=>{d&&d.removeEventListener("scroll",b)});const x=L(()=>{const{self:{color:_,boxShadow:w,boxShadowHover:C,boxShadowPressed:y,iconColor:k,iconColorHover:R,iconColorPressed:$,width:I,height:A,iconSize:K,borderRadius:B,textColor:M},common:{cubicBezierEaseInOut:D}}=p.value;return{"--n-bezier":D,"--n-border-radius":B,"--n-height":A,"--n-width":I,"--n-box-shadow":w,"--n-box-shadow-hover":C,"--n-box-shadow-pressed":y,"--n-color":_,"--n-icon-size":K,"--n-icon-color":k,"--n-icon-color-hover":R,"--n-icon-color-pressed":$,"--n-text-color":M}}),S=n?kt("back-top",void 0,x,e):void 0;return{placeholderRef:c,style:u,mergedShow:s,isMounted:Gr(),scrollElement:F(null),scrollTop:o,DomInfoReady:i,transitionDisabled:l,mergedClsPrefix:t,handleAfterEnter:m,handleScroll:b,handleClick:g,cssVars:n?void 0:x,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){const{mergedClsPrefix:e}=this;return v("div",{ref:"placeholderRef",class:`${e}-back-top-placeholder`,style:"display: none","aria-hidden":!0},v(wu,{to:this.to,show:this.mergedShow},{default:()=>v(hn,{name:"fade-in-scale-up-transition",appear:this.isMounted,onAfterEnter:this.handleAfterEnter},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),this.mergedShow?v("div",Dn(this.$attrs,{class:[`${e}-back-top`,this.themeClass,this.transitionDisabled&&`${e}-back-top--transition-disabled`],style:[this.style,this.cssVars],onClick:this.handleClick}),An(this.$slots.default,()=>[v(Ut,{clsPrefix:e},{default:()=>XH})])):null}})}))}}),ej={name:"Badge",common:He,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}}},tj=ej,nj={fontWeightActive:"400"},M_=e=>{const{fontSize:t,textColor3:n,textColor2:o,borderRadius:r,buttonColor2Hover:i,buttonColor2Pressed:a}=e;return Object.assign(Object.assign({},nj),{fontSize:t,itemLineHeight:"1.25",itemTextColor:n,itemTextColorHover:o,itemTextColorPressed:o,itemTextColorActive:o,itemBorderRadius:r,itemColorHover:i,itemColorPressed:a,separatorColor:n})},oj={name:"Breadcrumb",common:bt,self:M_},rj=oj,ij={name:"Breadcrumb",common:He,self:M_},aj=ij,sj=z("breadcrumb",` + `),q("svg",{pointerEvents:"none"}),q("&:hover",{boxShadow:"var(--n-box-shadow-hover)"},[z("base-icon",{color:"var(--n-icon-color-hover)"})]),q("&:active",{boxShadow:"var(--n-box-shadow-pressed)"},[z("base-icon",{color:"var(--n-icon-color-pressed)"})])]),aj=Object.assign(Object.assign({},Be.props),{show:{type:Boolean,default:void 0},right:{type:[Number,String],default:40},bottom:{type:[Number,String],default:40},to:{type:[String,Object],default:"body"},visibilityHeight:{type:Number,default:180},listenTo:[String,Object,Function],"onUpdate:show":{type:Function,default:()=>{}},target:Function,onShow:Function,onHide:Function}),sj=ge({name:"BackTop",inheritAttrs:!1,props:aj,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=W(null),r=W(!1);Yt(()=>{const{value:S}=o;if(S===null){r.value=!1;return}r.value=S>=e.visibilityHeight});const i=W(!1);ft(r,S=>{var _;i.value&&((_=e["onUpdate:show"])===null||_===void 0||_.call(e,S))});const a=Ve(e,"show"),s=sn(a,r),l=W(!0),c=W(null),u=L(()=>({right:`calc(${qt(e.right)} + ${dh.value})`,bottom:qt(e.bottom)}));let d,f;ft(s,S=>{var _,x;i.value&&(S&&((_=e.onShow)===null||_===void 0||_.call(e)),(x=e.onHide)===null||x===void 0||x.call(e))});const p=Be("BackTop","-back-top",ij,oj,e,t);function h(){var S;if(f)return;f=!0;const _=((S=e.target)===null||S===void 0?void 0:S.call(e))||YA(e.listenTo)||BC(c.value);if(!_)return;d=_===document.documentElement?document:_;const{to:x}=e;typeof x=="string"&&document.querySelector(x),d.addEventListener("scroll",v),v()}function m(){(Mb(d)?document.documentElement:d).scrollTo({top:0,behavior:"smooth"})}function v(){o.value=(Mb(d)?document.documentElement:d).scrollTop,i.value||Ht(()=>{i.value=!0})}function b(){l.value=!1}jt(()=>{h(),l.value=s.value}),rn(()=>{d&&d.removeEventListener("scroll",v)});const w=L(()=>{const{self:{color:S,boxShadow:_,boxShadowHover:x,boxShadowPressed:y,iconColor:k,iconColorHover:P,iconColorPressed:T,width:$,height:R,iconSize:K,borderRadius:H,textColor:D},common:{cubicBezierEaseInOut:M}}=p.value;return{"--n-bezier":M,"--n-border-radius":H,"--n-height":R,"--n-width":$,"--n-box-shadow":_,"--n-box-shadow-hover":x,"--n-box-shadow-pressed":y,"--n-color":S,"--n-icon-size":K,"--n-icon-color":k,"--n-icon-color-hover":P,"--n-icon-color-pressed":T,"--n-text-color":D}}),C=n?kt("back-top",void 0,w,e):void 0;return{placeholderRef:c,style:u,mergedShow:s,isMounted:Xr(),scrollElement:W(null),scrollTop:o,DomInfoReady:i,transitionDisabled:l,mergedClsPrefix:t,handleAfterEnter:b,handleScroll:v,handleClick:m,cssVars:n?void 0:w,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender}},render(){const{mergedClsPrefix:e}=this;return g("div",{ref:"placeholderRef",class:`${e}-back-top-placeholder`,style:"display: none","aria-hidden":!0},g(Su,{to:this.to,show:this.mergedShow},{default:()=>g(fn,{name:"fade-in-scale-up-transition",appear:this.isMounted,onAfterEnter:this.handleAfterEnter},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),this.mergedShow?g("div",Ln(this.$attrs,{class:[`${e}-back-top`,this.themeClass,this.transitionDisabled&&`${e}-back-top--transition-disabled`],style:[this.style,this.cssVars],onClick:this.handleClick}),An(this.$slots.default,()=>[g(Ut,{clsPrefix:e},{default:()=>rj})])):null}})}))}}),lj={name:"Badge",common:Ne,self(e){const{errorColorSuppl:t,infoColorSuppl:n,successColorSuppl:o,warningColorSuppl:r,fontFamily:i}=e;return{color:t,colorInfo:n,colorSuccess:o,colorError:t,colorWarning:r,fontSize:"12px",fontFamily:i}}},cj=lj,uj={fontWeightActive:"400"},j_=e=>{const{fontSize:t,textColor3:n,textColor2:o,borderRadius:r,buttonColor2Hover:i,buttonColor2Pressed:a}=e;return Object.assign(Object.assign({},uj),{fontSize:t,itemLineHeight:"1.25",itemTextColor:n,itemTextColorHover:o,itemTextColorPressed:o,itemTextColorActive:o,itemBorderRadius:r,itemColorHover:i,itemColorPressed:a,separatorColor:n})},dj={name:"Breadcrumb",common:bt,self:j_},fj=dj,hj={name:"Breadcrumb",common:Ne,self:j_},pj=hj,mj=z("breadcrumb",` white-space: nowrap; cursor: default; line-height: var(--n-item-line-height); -`,[U("ul",` +`,[q("ul",` list-style: none; padding: 0; margin: 0; - `),U("a",` + `),q("a",` color: inherit; text-decoration: inherit; `),z("breadcrumb-item",` @@ -1164,11 +1181,11 @@ ${t} vertical-align: -.2em; transition: color .3s var(--n-bezier); color: var(--n-item-text-color); - `),U("&:not(:last-child)",[Z("clickable",[V("link",` + `),q("&:not(:last-child)",[Z("clickable",[V("link",` cursor: pointer; - `,[U("&:hover",` + `,[q("&:hover",` background-color: var(--n-item-color-hover); - `),U("&:active",` + `),q("&:active",` background-color: var(--n-item-color-pressed); `)])])]),V("link",` padding: 4px; @@ -1178,11 +1195,11 @@ ${t} color .3s var(--n-bezier); color: var(--n-item-text-color); position: relative; - `,[U("&:hover",` + `,[q("&:hover",` color: var(--n-item-text-color-hover); `,[z("icon",` color: var(--n-item-text-color-hover); - `)]),U("&:active",` + `)]),q("&:active",` color: var(--n-item-text-color-pressed); `,[z("icon",` color: var(--n-item-text-color-pressed); @@ -1192,7 +1209,7 @@ ${t} transition: color .3s var(--n-bezier); user-select: none; -webkit-user-select: none; - `),U("&:last-child",[V("link",` + `),q("&:last-child",[V("link",` font-weight: var(--n-font-weight-active); cursor: unset; color: var(--n-item-text-color-active); @@ -1200,7 +1217,7 @@ ${t} color: var(--n-item-text-color-active); `)]),V("separator",` display: none; - `)])])]),z_="n-breadcrumb",lj=Object.assign(Object.assign({},Be.props),{separator:{type:String,default:"/"}}),cj=me({name:"Breadcrumb",props:lj,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=it(e),o=Be("Breadcrumb","-breadcrumb",sj,rj,e,t);lt(z_,{separatorRef:je(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:g,itemColorPressed:b,itemLineHeight:m}}=o.value;return{"--n-font-size":f,"--n-bezier":a,"--n-item-text-color":l,"--n-item-text-color-hover":c,"--n-item-text-color-pressed":u,"--n-item-text-color-active":d,"--n-separator-color":s,"--n-item-color-hover":g,"--n-item-color-pressed":b,"--n-item-border-radius":h,"--n-font-weight-active":p,"--n-item-line-height":m}}),i=n?kt("breadcrumb",void 0,r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),v("nav",{class:[`${this.mergedClsPrefix}-breadcrumb`,this.themeClass],style:this.cssVars,"aria-label":"Breadcrumb"},v("ul",null,this.$slots))}}),uj=(e=ur?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=F(t());return Ft(()=>{e&&(e.addEventListener("popstate",n),e.addEventListener("hashchange",n))}),Ma(()=>{e&&(e.removeEventListener("popstate",n),e.removeEventListener("hashchange",n))}),o},dj={separator:String,href:String,clickable:{type:Boolean,default:!0},onClick:Function},fj=me({name:"BreadcrumbItem",props:dj,setup(e,{slots:t}){const n=We(z_,null);if(!n)return()=>null;const{separatorRef:o,mergedClsPrefixRef:r}=n,i=uj(),a=L(()=>e.href?"a":"span"),s=L(()=>i.value.href===e.href?"location":null);return()=>{const{value:l}=r;return v("li",{class:[`${l}-breadcrumb-item`,e.clickable&&`${l}-breadcrumb-item--clickable`]},v(a.value,{class:`${l}-breadcrumb-item__link`,"aria-current":s.value,href:e.href,onClick:e.onClick},t),v("span",{class:`${l}-breadcrumb-item__separator`,"aria-hidden":"true"},An(t.separator,()=>{var c;return[(c=e.separator)!==null&&c!==void 0?c:o.value]})))}}});function oi(e){return tt(e,[255,255,255,.16])}function Fl(e){return tt(e,[0,0,0,.12])}const hj="n-button-group",pj={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"},D_=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:g,primaryColor:b,baseColor:m,infoColor:x,infoColorHover:S,infoColorPressed:_,successColor:w,successColorHover:C,successColorPressed:y,warningColor:k,warningColorHover:R,warningColorPressed:$,errorColor:I,errorColorHover:A,errorColorPressed:K,fontWeight:B,buttonColor2:M,buttonColor2Hover:D,buttonColor2Pressed:Y,fontWeightStrong:Q}=e;return Object.assign(Object.assign({},pj),{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:M,colorSecondaryHover:D,colorSecondaryPressed:Y,colorTertiary:M,colorTertiaryHover:D,colorTertiaryPressed:Y,colorQuaternary:"#0000",colorQuaternaryHover:D,colorQuaternaryPressed:Y,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:d,textColorTertiary:f,textColorHover:p,textColorPressed:h,textColorFocus:p,textColorDisabled:d,textColorText:d,textColorTextHover:p,textColorTextPressed:h,textColorTextFocus:p,textColorTextDisabled:d,textColorGhost:d,textColorGhostHover:p,textColorGhostPressed:h,textColorGhostFocus:p,textColorGhostDisabled:d,border:`1px solid ${g}`,borderHover:`1px solid ${p}`,borderPressed:`1px solid ${h}`,borderFocus:`1px solid ${p}`,borderDisabled:`1px solid ${g}`,rippleColor:b,colorPrimary:b,colorHoverPrimary:p,colorPressedPrimary:h,colorFocusPrimary:p,colorDisabledPrimary:b,textColorPrimary:m,textColorHoverPrimary:m,textColorPressedPrimary:m,textColorFocusPrimary:m,textColorDisabledPrimary:m,textColorTextPrimary:b,textColorTextHoverPrimary:p,textColorTextPressedPrimary:h,textColorTextFocusPrimary:p,textColorTextDisabledPrimary:d,textColorGhostPrimary:b,textColorGhostHoverPrimary:p,textColorGhostPressedPrimary:h,textColorGhostFocusPrimary:p,textColorGhostDisabledPrimary:b,borderPrimary:`1px solid ${b}`,borderHoverPrimary:`1px solid ${p}`,borderPressedPrimary:`1px solid ${h}`,borderFocusPrimary:`1px solid ${p}`,borderDisabledPrimary:`1px solid ${b}`,rippleColorPrimary:b,colorInfo:x,colorHoverInfo:S,colorPressedInfo:_,colorFocusInfo:S,colorDisabledInfo:x,textColorInfo:m,textColorHoverInfo:m,textColorPressedInfo:m,textColorFocusInfo:m,textColorDisabledInfo:m,textColorTextInfo:x,textColorTextHoverInfo:S,textColorTextPressedInfo:_,textColorTextFocusInfo:S,textColorTextDisabledInfo:d,textColorGhostInfo:x,textColorGhostHoverInfo:S,textColorGhostPressedInfo:_,textColorGhostFocusInfo:S,textColorGhostDisabledInfo:x,borderInfo:`1px solid ${x}`,borderHoverInfo:`1px solid ${S}`,borderPressedInfo:`1px solid ${_}`,borderFocusInfo:`1px solid ${S}`,borderDisabledInfo:`1px solid ${x}`,rippleColorInfo:x,colorSuccess:w,colorHoverSuccess:C,colorPressedSuccess:y,colorFocusSuccess:C,colorDisabledSuccess:w,textColorSuccess:m,textColorHoverSuccess:m,textColorPressedSuccess:m,textColorFocusSuccess:m,textColorDisabledSuccess:m,textColorTextSuccess:w,textColorTextHoverSuccess:C,textColorTextPressedSuccess:y,textColorTextFocusSuccess:C,textColorTextDisabledSuccess:d,textColorGhostSuccess:w,textColorGhostHoverSuccess:C,textColorGhostPressedSuccess:y,textColorGhostFocusSuccess:C,textColorGhostDisabledSuccess:w,borderSuccess:`1px solid ${w}`,borderHoverSuccess:`1px solid ${C}`,borderPressedSuccess:`1px solid ${y}`,borderFocusSuccess:`1px solid ${C}`,borderDisabledSuccess:`1px solid ${w}`,rippleColorSuccess:w,colorWarning:k,colorHoverWarning:R,colorPressedWarning:$,colorFocusWarning:R,colorDisabledWarning:k,textColorWarning:m,textColorHoverWarning:m,textColorPressedWarning:m,textColorFocusWarning:m,textColorDisabledWarning:m,textColorTextWarning:k,textColorTextHoverWarning:R,textColorTextPressedWarning:$,textColorTextFocusWarning:R,textColorTextDisabledWarning:d,textColorGhostWarning:k,textColorGhostHoverWarning:R,textColorGhostPressedWarning:$,textColorGhostFocusWarning:R,textColorGhostDisabledWarning:k,borderWarning:`1px solid ${k}`,borderHoverWarning:`1px solid ${R}`,borderPressedWarning:`1px solid ${$}`,borderFocusWarning:`1px solid ${R}`,borderDisabledWarning:`1px solid ${k}`,rippleColorWarning:k,colorError:I,colorHoverError:A,colorPressedError:K,colorFocusError:A,colorDisabledError:I,textColorError:m,textColorHoverError:m,textColorPressedError:m,textColorFocusError:m,textColorDisabledError:m,textColorTextError:I,textColorTextHoverError:A,textColorTextPressedError:K,textColorTextFocusError:A,textColorTextDisabledError:d,textColorGhostError:I,textColorGhostHoverError:A,textColorGhostPressedError:K,textColorGhostFocusError:A,textColorGhostDisabledError:I,borderError:`1px solid ${I}`,borderHoverError:`1px solid ${A}`,borderPressedError:`1px solid ${K}`,borderFocusError:`1px solid ${A}`,borderDisabledError:`1px solid ${I}`,rippleColorError:I,waveOpacity:"0.6",fontWeight:B,fontWeightStrong:Q})},mj={name:"Button",common:bt,self:D_},Eu=mj,gj={name:"Button",common:He,self(e){const t=D_(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},Vn=gj,vj=U([z("button",` + `)])])]),V_="n-breadcrumb",gj=Object.assign(Object.assign({},Be.props),{separator:{type:String,default:"/"}}),vj=ge({name:"Breadcrumb",props:gj,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Breadcrumb","-breadcrumb",mj,fj,e,t);at(V_,{separatorRef:Ve(e,"separator"),mergedClsPrefixRef:t});const r=L(()=>{const{common:{cubicBezierEaseInOut:a},self:{separatorColor:s,itemTextColor:l,itemTextColorHover:c,itemTextColorPressed:u,itemTextColorActive:d,fontSize:f,fontWeightActive:p,itemBorderRadius:h,itemColorHover:m,itemColorPressed:v,itemLineHeight:b}}=o.value;return{"--n-font-size":f,"--n-bezier":a,"--n-item-text-color":l,"--n-item-text-color-hover":c,"--n-item-text-color-pressed":u,"--n-item-text-color-active":d,"--n-separator-color":s,"--n-item-color-hover":m,"--n-item-color-pressed":v,"--n-item-border-radius":h,"--n-font-weight-active":p,"--n-item-line-height":b}}),i=n?kt("breadcrumb",void 0,r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),g("nav",{class:[`${this.mergedClsPrefix}-breadcrumb`,this.themeClass],style:this.cssVars,"aria-label":"Breadcrumb"},g("ul",null,this.$slots))}}),bj=(e=dr?window:null)=>{const t=()=>{const{hash:r,host:i,hostname:a,href:s,origin:l,pathname:c,port:u,protocol:d,search:f}=(e==null?void 0:e.location)||{};return{hash:r,host:i,hostname:a,href:s,origin:l,pathname:c,port:u,protocol:d,search:f}},n=()=>{o.value=t()},o=W(t());return jt(()=>{e&&(e.addEventListener("popstate",n),e.addEventListener("hashchange",n))}),Ea(()=>{e&&(e.removeEventListener("popstate",n),e.removeEventListener("hashchange",n))}),o},yj={separator:String,href:String,clickable:{type:Boolean,default:!0},onClick:Function},xj=ge({name:"BreadcrumbItem",props:yj,setup(e,{slots:t}){const n=We(V_,null);if(!n)return()=>null;const{separatorRef:o,mergedClsPrefixRef:r}=n,i=bj(),a=L(()=>e.href?"a":"span"),s=L(()=>i.value.href===e.href?"location":null);return()=>{const{value:l}=r;return g("li",{class:[`${l}-breadcrumb-item`,e.clickable&&`${l}-breadcrumb-item--clickable`]},g(a.value,{class:`${l}-breadcrumb-item__link`,"aria-current":s.value,href:e.href,onClick:e.onClick},t),g("span",{class:`${l}-breadcrumb-item__separator`,"aria-hidden":"true"},An(t.separator,()=>{var c;return[(c=e.separator)!==null&&c!==void 0?c:o.value]})))}}});function ai(e){return et(e,[255,255,255,.16])}function Bl(e){return et(e,[0,0,0,.12])}const Cj="n-button-group",wj={paddingTiny:"0 6px",paddingSmall:"0 10px",paddingMedium:"0 14px",paddingLarge:"0 18px",paddingRoundTiny:"0 10px",paddingRoundSmall:"0 14px",paddingRoundMedium:"0 18px",paddingRoundLarge:"0 22px",iconMarginTiny:"6px",iconMarginSmall:"6px",iconMarginMedium:"6px",iconMarginLarge:"6px",iconSizeTiny:"14px",iconSizeSmall:"18px",iconSizeMedium:"18px",iconSizeLarge:"20px",rippleDuration:".6s"},W_=e=>{const{heightTiny:t,heightSmall:n,heightMedium:o,heightLarge:r,borderRadius:i,fontSizeTiny:a,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:c,opacityDisabled:u,textColor2:d,textColor3:f,primaryColorHover:p,primaryColorPressed:h,borderColor:m,primaryColor:v,baseColor:b,infoColor:w,infoColorHover:C,infoColorPressed:S,successColor:_,successColorHover:x,successColorPressed:y,warningColor:k,warningColorHover:P,warningColorPressed:T,errorColor:$,errorColorHover:R,errorColorPressed:K,fontWeight:H,buttonColor2:D,buttonColor2Hover:M,buttonColor2Pressed:Y,fontWeightStrong:Q}=e;return Object.assign(Object.assign({},wj),{heightTiny:t,heightSmall:n,heightMedium:o,heightLarge:r,borderRadiusTiny:i,borderRadiusSmall:i,borderRadiusMedium:i,borderRadiusLarge:i,fontSizeTiny:a,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:c,opacityDisabled:u,colorOpacitySecondary:"0.16",colorOpacitySecondaryHover:"0.22",colorOpacitySecondaryPressed:"0.28",colorSecondary:D,colorSecondaryHover:M,colorSecondaryPressed:Y,colorTertiary:D,colorTertiaryHover:M,colorTertiaryPressed:Y,colorQuaternary:"#0000",colorQuaternaryHover:M,colorQuaternaryPressed:Y,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:d,textColorTertiary:f,textColorHover:p,textColorPressed:h,textColorFocus:p,textColorDisabled:d,textColorText:d,textColorTextHover:p,textColorTextPressed:h,textColorTextFocus:p,textColorTextDisabled:d,textColorGhost:d,textColorGhostHover:p,textColorGhostPressed:h,textColorGhostFocus:p,textColorGhostDisabled:d,border:`1px solid ${m}`,borderHover:`1px solid ${p}`,borderPressed:`1px solid ${h}`,borderFocus:`1px solid ${p}`,borderDisabled:`1px solid ${m}`,rippleColor:v,colorPrimary:v,colorHoverPrimary:p,colorPressedPrimary:h,colorFocusPrimary:p,colorDisabledPrimary:v,textColorPrimary:b,textColorHoverPrimary:b,textColorPressedPrimary:b,textColorFocusPrimary:b,textColorDisabledPrimary:b,textColorTextPrimary:v,textColorTextHoverPrimary:p,textColorTextPressedPrimary:h,textColorTextFocusPrimary:p,textColorTextDisabledPrimary:d,textColorGhostPrimary:v,textColorGhostHoverPrimary:p,textColorGhostPressedPrimary:h,textColorGhostFocusPrimary:p,textColorGhostDisabledPrimary:v,borderPrimary:`1px solid ${v}`,borderHoverPrimary:`1px solid ${p}`,borderPressedPrimary:`1px solid ${h}`,borderFocusPrimary:`1px solid ${p}`,borderDisabledPrimary:`1px solid ${v}`,rippleColorPrimary:v,colorInfo:w,colorHoverInfo:C,colorPressedInfo:S,colorFocusInfo:C,colorDisabledInfo:w,textColorInfo:b,textColorHoverInfo:b,textColorPressedInfo:b,textColorFocusInfo:b,textColorDisabledInfo:b,textColorTextInfo:w,textColorTextHoverInfo:C,textColorTextPressedInfo:S,textColorTextFocusInfo:C,textColorTextDisabledInfo:d,textColorGhostInfo:w,textColorGhostHoverInfo:C,textColorGhostPressedInfo:S,textColorGhostFocusInfo:C,textColorGhostDisabledInfo:w,borderInfo:`1px solid ${w}`,borderHoverInfo:`1px solid ${C}`,borderPressedInfo:`1px solid ${S}`,borderFocusInfo:`1px solid ${C}`,borderDisabledInfo:`1px solid ${w}`,rippleColorInfo:w,colorSuccess:_,colorHoverSuccess:x,colorPressedSuccess:y,colorFocusSuccess:x,colorDisabledSuccess:_,textColorSuccess:b,textColorHoverSuccess:b,textColorPressedSuccess:b,textColorFocusSuccess:b,textColorDisabledSuccess:b,textColorTextSuccess:_,textColorTextHoverSuccess:x,textColorTextPressedSuccess:y,textColorTextFocusSuccess:x,textColorTextDisabledSuccess:d,textColorGhostSuccess:_,textColorGhostHoverSuccess:x,textColorGhostPressedSuccess:y,textColorGhostFocusSuccess:x,textColorGhostDisabledSuccess:_,borderSuccess:`1px solid ${_}`,borderHoverSuccess:`1px solid ${x}`,borderPressedSuccess:`1px solid ${y}`,borderFocusSuccess:`1px solid ${x}`,borderDisabledSuccess:`1px solid ${_}`,rippleColorSuccess:_,colorWarning:k,colorHoverWarning:P,colorPressedWarning:T,colorFocusWarning:P,colorDisabledWarning:k,textColorWarning:b,textColorHoverWarning:b,textColorPressedWarning:b,textColorFocusWarning:b,textColorDisabledWarning:b,textColorTextWarning:k,textColorTextHoverWarning:P,textColorTextPressedWarning:T,textColorTextFocusWarning:P,textColorTextDisabledWarning:d,textColorGhostWarning:k,textColorGhostHoverWarning:P,textColorGhostPressedWarning:T,textColorGhostFocusWarning:P,textColorGhostDisabledWarning:k,borderWarning:`1px solid ${k}`,borderHoverWarning:`1px solid ${P}`,borderPressedWarning:`1px solid ${T}`,borderFocusWarning:`1px solid ${P}`,borderDisabledWarning:`1px solid ${k}`,rippleColorWarning:k,colorError:$,colorHoverError:R,colorPressedError:K,colorFocusError:R,colorDisabledError:$,textColorError:b,textColorHoverError:b,textColorPressedError:b,textColorFocusError:b,textColorDisabledError:b,textColorTextError:$,textColorTextHoverError:R,textColorTextPressedError:K,textColorTextFocusError:R,textColorTextDisabledError:d,textColorGhostError:$,textColorGhostHoverError:R,textColorGhostPressedError:K,textColorGhostFocusError:R,textColorGhostDisabledError:$,borderError:`1px solid ${$}`,borderHoverError:`1px solid ${R}`,borderPressedError:`1px solid ${K}`,borderFocusError:`1px solid ${R}`,borderDisabledError:`1px solid ${$}`,rippleColorError:$,waveOpacity:"0.6",fontWeight:H,fontWeightStrong:Q})},_j={name:"Button",common:bt,self:W_},Au=_j,Sj={name:"Button",common:Ne,self(e){const t=W_(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},Wn=Sj,kj=q([z("button",` margin: 0; font-weight: var(--n-font-weight); line-height: 1; @@ -1232,7 +1249,7 @@ ${t} background-color .3s var(--n-bezier), opacity .3s var(--n-bezier), border-color .3s var(--n-bezier); - `,[Z("color",[V("border",{borderColor:"var(--n-border-color)"}),Z("disabled",[V("border",{borderColor:"var(--n-border-color-disabled)"})]),Tt("disabled",[U("&:focus",[V("state-border",{borderColor:"var(--n-border-color-focus)"})]),U("&:hover",[V("state-border",{borderColor:"var(--n-border-color-hover)"})]),U("&:active",[V("state-border",{borderColor:"var(--n-border-color-pressed)"})]),Z("pressed",[V("state-border",{borderColor:"var(--n-border-color-pressed)"})])])]),Z("disabled",{backgroundColor:"var(--n-color-disabled)",color:"var(--n-text-color-disabled)"},[V("border",{border:"var(--n-border-disabled)"})]),Tt("disabled",[U("&:focus",{backgroundColor:"var(--n-color-focus)",color:"var(--n-text-color-focus)"},[V("state-border",{border:"var(--n-border-focus)"})]),U("&:hover",{backgroundColor:"var(--n-color-hover)",color:"var(--n-text-color-hover)"},[V("state-border",{border:"var(--n-border-hover)"})]),U("&:active",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[V("state-border",{border:"var(--n-border-pressed)"})]),Z("pressed",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[V("state-border",{border:"var(--n-border-pressed)"})])]),Z("loading","cursor: wait;"),z("base-wave",` + `,[Z("color",[V("border",{borderColor:"var(--n-border-color)"}),Z("disabled",[V("border",{borderColor:"var(--n-border-color-disabled)"})]),Tt("disabled",[q("&:focus",[V("state-border",{borderColor:"var(--n-border-color-focus)"})]),q("&:hover",[V("state-border",{borderColor:"var(--n-border-color-hover)"})]),q("&:active",[V("state-border",{borderColor:"var(--n-border-color-pressed)"})]),Z("pressed",[V("state-border",{borderColor:"var(--n-border-color-pressed)"})])])]),Z("disabled",{backgroundColor:"var(--n-color-disabled)",color:"var(--n-text-color-disabled)"},[V("border",{border:"var(--n-border-disabled)"})]),Tt("disabled",[q("&:focus",{backgroundColor:"var(--n-color-focus)",color:"var(--n-text-color-focus)"},[V("state-border",{border:"var(--n-border-focus)"})]),q("&:hover",{backgroundColor:"var(--n-color-hover)",color:"var(--n-text-color-hover)"},[V("state-border",{border:"var(--n-border-hover)"})]),q("&:active",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[V("state-border",{border:"var(--n-border-pressed)"})]),Z("pressed",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[V("state-border",{border:"var(--n-border-pressed)"})])]),Z("loading","cursor: wait;"),z("base-wave",` pointer-events: none; top: 0; right: 0; @@ -1241,7 +1258,7 @@ ${t} animation-iteration-count: 1; animation-duration: var(--n-ripple-duration); animation-timing-function: var(--n-bezier-ease-out), var(--n-bezier-ease-out); - `,[Z("active",{zIndex:1,animationName:"button-wave-spread, button-wave-opacity"})]),ur&&"MozBoxSizing"in document.createElement("div").style?U("&::moz-focus-inner",{border:0}):null,V("border, state-border",` + `,[Z("active",{zIndex:1,animationName:"button-wave-spread, button-wave-opacity"})]),dr&&"MozBoxSizing"in document.createElement("div").style?q("&::moz-focus-inner",{border:0}):null,V("border, state-border",` position: absolute; left: 0; top: 0; @@ -1269,15 +1286,15 @@ ${t} display: flex; align-items: center; justify-content: center; - `,[qn({top:"50%",originalTransform:"translateY(-50%)"})]),uH()]),V("content",` + `,[qn({top:"50%",originalTransform:"translateY(-50%)"})]),bH()]),V("content",` display: flex; align-items: center; flex-wrap: nowrap; min-width: 0; - `,[U("~",[V("icon",{margin:"var(--n-icon-margin)",marginRight:0})])]),Z("block",` + `,[q("~",[V("icon",{margin:"var(--n-icon-margin)",marginRight:0})])]),Z("block",` display: flex; width: 100%; - `),Z("dashed",[V("border, state-border",{borderStyle:"dashed !important"})]),Z("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),U("@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)"}}),U("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]),bj=Object.assign(Object.assign({},Be.props),{color:String,textColor:String,text:Boolean,block:Boolean,loading:Boolean,disabled:Boolean,circle:Boolean,size:String,ghost:Boolean,round:Boolean,secondary:Boolean,tertiary:Boolean,quaternary:Boolean,strong:Boolean,focusable:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},tag:{type:String,default:"button"},type:{type:String,default:"default"},dashed:Boolean,renderIcon:Function,iconPlacement:{type:String,default:"left"},attrType:{type:String,default:"button"},bordered:{type:Boolean,default:!0},onClick:[Function,Array],nativeFocusBehavior:{type:Boolean,default:!$_}}),L_=me({name:"Button",props:bj,setup(e){const t=F(null),n=F(null),o=F(!1),r=St(()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered),i=We(hj,{}),{mergedSizeRef:a}=dr({},{defaultSize:"medium",mergedSize:_=>{const{size:w}=e;if(w)return w;const{size:C}=i;if(C)return C;const{mergedSize:y}=_||{};return y?y.value:"medium"}}),s=L(()=>e.focusable&&!e.disabled),l=_=>{var w;s.value||_.preventDefault(),!e.nativeFocusBehavior&&(_.preventDefault(),!e.disabled&&s.value&&((w=t.value)===null||w===void 0||w.focus({preventScroll:!0})))},c=_=>{var w;if(!e.disabled&&!e.loading){const{onClick:C}=e;C&&Re(C,_),e.text||(w=n.value)===null||w===void 0||w.play()}},u=_=>{switch(_.key){case"Enter":if(!e.keyboard)return;o.value=!1}},d=_=>{switch(_.key){case"Enter":if(!e.keyboard||e.loading){_.preventDefault();return}o.value=!0}},f=()=>{o.value=!1},{inlineThemeDisabled:p,mergedClsPrefixRef:h,mergedRtlRef:g}=it(e),b=Be("Button","-button",vj,Eu,e,h),m=pn("Button",g,h),x=L(()=>{const _=b.value,{common:{cubicBezierEaseInOut:w,cubicBezierEaseOut:C},self:y}=_,{rippleDuration:k,opacityDisabled:R,fontWeight:$,fontWeightStrong:I}=y,A=a.value,{dashed:K,type:B,ghost:M,text:D,color:Y,round:Q,circle:ue,textColor:le,secondary:N,tertiary:E,quaternary:O,strong:q}=e,ne={"font-weight":q?I:$};let ve={"--n-color":"initial","--n-color-hover":"initial","--n-color-pressed":"initial","--n-color-focus":"initial","--n-color-disabled":"initial","--n-ripple-color":"initial","--n-text-color":"initial","--n-text-color-hover":"initial","--n-text-color-pressed":"initial","--n-text-color-focus":"initial","--n-text-color-disabled":"initial"};const J=B==="tertiary",be=B==="default",H=J?"default":B;if(D){const ye=le||Y;ve={"--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":ye||y[ke("textColorText",H)],"--n-text-color-hover":ye?oi(ye):y[ke("textColorTextHover",H)],"--n-text-color-pressed":ye?Fl(ye):y[ke("textColorTextPressed",H)],"--n-text-color-focus":ye?oi(ye):y[ke("textColorTextHover",H)],"--n-text-color-disabled":ye||y[ke("textColorTextDisabled",H)]}}else if(M||K){const ye=le||Y;ve={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":Y||y[ke("rippleColor",H)],"--n-text-color":ye||y[ke("textColorGhost",H)],"--n-text-color-hover":ye?oi(ye):y[ke("textColorGhostHover",H)],"--n-text-color-pressed":ye?Fl(ye):y[ke("textColorGhostPressed",H)],"--n-text-color-focus":ye?oi(ye):y[ke("textColorGhostHover",H)],"--n-text-color-disabled":ye||y[ke("textColorGhostDisabled",H)]}}else if(N){const ye=be?y.textColor:J?y.textColorTertiary:y[ke("color",H)],Ce=Y||ye,we=B!=="default"&&B!=="tertiary";ve={"--n-color":we?Me(Ce,{alpha:Number(y.colorOpacitySecondary)}):y.colorSecondary,"--n-color-hover":we?Me(Ce,{alpha:Number(y.colorOpacitySecondaryHover)}):y.colorSecondaryHover,"--n-color-pressed":we?Me(Ce,{alpha:Number(y.colorOpacitySecondaryPressed)}):y.colorSecondaryPressed,"--n-color-focus":we?Me(Ce,{alpha:Number(y.colorOpacitySecondaryHover)}):y.colorSecondaryHover,"--n-color-disabled":y.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":Ce,"--n-text-color-hover":Ce,"--n-text-color-pressed":Ce,"--n-text-color-focus":Ce,"--n-text-color-disabled":Ce}}else if(E||O){const ye=be?y.textColor:J?y.textColorTertiary:y[ke("color",H)],Ce=Y||ye;E?(ve["--n-color"]=y.colorTertiary,ve["--n-color-hover"]=y.colorTertiaryHover,ve["--n-color-pressed"]=y.colorTertiaryPressed,ve["--n-color-focus"]=y.colorSecondaryHover,ve["--n-color-disabled"]=y.colorTertiary):(ve["--n-color"]=y.colorQuaternary,ve["--n-color-hover"]=y.colorQuaternaryHover,ve["--n-color-pressed"]=y.colorQuaternaryPressed,ve["--n-color-focus"]=y.colorQuaternaryHover,ve["--n-color-disabled"]=y.colorQuaternary),ve["--n-ripple-color"]="#0000",ve["--n-text-color"]=Ce,ve["--n-text-color-hover"]=Ce,ve["--n-text-color-pressed"]=Ce,ve["--n-text-color-focus"]=Ce,ve["--n-text-color-disabled"]=Ce}else ve={"--n-color":Y||y[ke("color",H)],"--n-color-hover":Y?oi(Y):y[ke("colorHover",H)],"--n-color-pressed":Y?Fl(Y):y[ke("colorPressed",H)],"--n-color-focus":Y?oi(Y):y[ke("colorFocus",H)],"--n-color-disabled":Y||y[ke("colorDisabled",H)],"--n-ripple-color":Y||y[ke("rippleColor",H)],"--n-text-color":le||(Y?y.textColorPrimary:J?y.textColorTertiary:y[ke("textColor",H)]),"--n-text-color-hover":le||(Y?y.textColorHoverPrimary:y[ke("textColorHover",H)]),"--n-text-color-pressed":le||(Y?y.textColorPressedPrimary:y[ke("textColorPressed",H)]),"--n-text-color-focus":le||(Y?y.textColorFocusPrimary:y[ke("textColorFocus",H)]),"--n-text-color-disabled":le||(Y?y.textColorDisabledPrimary:y[ke("textColorDisabled",H)])};let ge={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};D?ge={"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:ge={"--n-border":y[ke("border",H)],"--n-border-hover":y[ke("borderHover",H)],"--n-border-pressed":y[ke("borderPressed",H)],"--n-border-focus":y[ke("borderFocus",H)],"--n-border-disabled":y[ke("borderDisabled",H)]};const{[ke("height",A)]:Ie,[ke("fontSize",A)]:Le,[ke("padding",A)]:P,[ke("paddingRound",A)]:T,[ke("iconSize",A)]:W,[ke("borderRadius",A)]:oe,[ke("iconMargin",A)]:G,waveOpacity:se}=y,xe={"--n-width":ue&&!D?Ie:"initial","--n-height":D?"initial":Ie,"--n-font-size":Le,"--n-padding":ue||D?"initial":Q?T:P,"--n-icon-size":W,"--n-icon-margin":G,"--n-border-radius":D?"initial":ue||Q?Ie:oe};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":w,"--n-bezier-ease-out":C,"--n-ripple-duration":k,"--n-opacity-disabled":R,"--n-wave-opacity":se},ne),ve),ge),xe)}),S=p?kt("button",L(()=>{let _="";const{dashed:w,type:C,ghost:y,text:k,color:R,round:$,circle:I,textColor:A,secondary:K,tertiary:B,quaternary:M,strong:D}=e;w&&(_+="a"),y&&(_+="b"),k&&(_+="c"),$&&(_+="d"),I&&(_+="e"),K&&(_+="f"),B&&(_+="g"),M&&(_+="h"),D&&(_+="i"),R&&(_+="j"+Pc(R)),A&&(_+="k"+Pc(A));const{value:Y}=a;return _+="l"+Y[0],_+="m"+C[0],_}),x,e):void 0;return{selfElRef:t,waveElRef:n,mergedClsPrefix:h,mergedFocusable:s,mergedSize:a,showBorder:r,enterPressed:o,rtlEnabled:m,handleMousedown:l,handleKeydown:d,handleBlur:f,handleKeyup:u,handleClick:c,customColorCssVars:L(()=>{const{color:_}=e;if(!_)return null;const w=oi(_);return{"--n-border-color":_,"--n-border-color-hover":w,"--n-border-color-pressed":Fl(_),"--n-border-color-focus":w,"--n-border-color-disabled":_}}),cssVars:p?void 0:x,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=Et(this.$slots.default,r=>r&&v("span",{class:`${e}-button__content`},r));return v(t,{ref:"selfElRef",class:[this.themeClass,`${e}-button`,`${e}-button--${this.type}-type`,`${e}-button--${this.mergedSize}-type`,this.rtlEnabled&&`${e}-button--rtl`,this.disabled&&`${e}-button--disabled`,this.block&&`${e}-button--block`,this.enterPressed&&`${e}-button--pressed`,!this.text&&this.dashed&&`${e}-button--dashed`,this.color&&`${e}-button--color`,this.secondary&&`${e}-button--secondary`,this.loading&&`${e}-button--loading`,this.ghost&&`${e}-button--ghost`],tabindex:this.mergedFocusable?0:-1,type:this.attrType,style:this.cssVars,disabled:this.disabled,onClick:this.handleClick,onBlur:this.handleBlur,onMousedown:this.handleMousedown,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},this.iconPlacement==="right"&&o,v(Tu,{width:!0},{default:()=>Et(this.$slots.icon,r=>(this.loading||this.renderIcon||r)&&v("span",{class:`${e}-button__icon`,style:{margin:fa(this.$slots.default)?"0":""}},v(Hi,null,{default:()=>this.loading?v(Xr,{clsPrefix:e,key:"loading",class:`${e}-icon-slot`,strokeWidth:20}):v("div",{key:"icon",class:`${e}-icon-slot`,role:"none"},this.renderIcon?this.renderIcon():r)})))}),this.iconPlacement==="left"&&o,this.text?null:v(NN,{ref:"waveElRef",clsPrefix:e}),this.showBorder?v("div",{"aria-hidden":!0,class:`${e}-button__border`,style:this.customColorCssVars}):null,this.showBorder?v("div",{"aria-hidden":!0,class:`${e}-button__state-border`,style:this.customColorCssVars}):null)}}),$t=L_,E0=L_,yj={titleFontSize:"22px"},xj=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({},yj),{borderRadius:t,borderColor:tt(f,s),borderColorModal:tt(p,s),borderColorPopover:tt(h,s),textColor:r,titleFontWeight:l,titleTextColor:i,dayTextColor:a,fontSize:n,lineHeight:o,dateColorCurrent:c,dateTextColorCurrent:u,cellColorHover:tt(f,d),cellColorHoverModal:tt(p,d),cellColorHoverPopover:tt(h,d),cellColor:f,cellColorModal:p,cellColorPopover:h,barColor:c})},Cj={name:"Calendar",common:He,peers:{Button:Vn},self:xj},wj=Cj,_j=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:He,peers:{Input:uo,Button:Vn},self:_j},kj=Sj,Pj={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"},F_=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:g,boxShadow1:b,popoverColor:m,actionColor:x}=e;return Object.assign(Object.assign({},Pj),{lineHeight:o,color:i,colorModal:g,colorPopover:m,colorTarget:t,colorEmbedded:x,colorEmbeddedModal:x,colorEmbeddedPopover:x,textColor:a,titleTextColor:s,borderColor:l,actionColor:x,titleFontWeight:c,closeColorHover:p,closeColorPressed:h,closeBorderRadius:n,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,fontSizeSmall:r,fontSizeMedium:r,fontSizeLarge:r,fontSizeHuge:r,boxShadow:b,borderRadius:n})},Tj={name:"Card",common:bt,self:F_},B_=Tj,Rj={name:"Card",common:He,self(e){const t=F_(e),{cardColor:n,modalColor:o,popoverColor:r}=e;return t.colorEmbedded=n,t.colorEmbeddedModal=o,t.colorEmbeddedPopover=r,t}},N_=Rj,$j=U([z("card",` + `),Z("dashed",[V("border, state-border",{borderStyle:"dashed !important"})]),Z("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),q("@keyframes button-wave-spread",{from:{boxShadow:"0 0 0.5px 0 var(--n-ripple-color)"},to:{boxShadow:"0 0 0.5px 4.5px var(--n-ripple-color)"}}),q("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]),Pj=Object.assign(Object.assign({},Be.props),{color:String,textColor:String,text:Boolean,block:Boolean,loading:Boolean,disabled:Boolean,circle:Boolean,size:String,ghost:Boolean,round:Boolean,secondary:Boolean,tertiary:Boolean,quaternary:Boolean,strong:Boolean,focusable:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},tag:{type:String,default:"button"},type:{type:String,default:"default"},dashed:Boolean,renderIcon:Function,iconPlacement:{type:String,default:"left"},attrType:{type:String,default:"button"},bordered:{type:Boolean,default:!0},onClick:[Function,Array],nativeFocusBehavior:{type:Boolean,default:!L_}}),U_=ge({name:"Button",props:Pj,setup(e){const t=W(null),n=W(null),o=W(!1),r=St(()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered),i=We(Cj,{}),{mergedSizeRef:a}=fr({},{defaultSize:"medium",mergedSize:S=>{const{size:_}=e;if(_)return _;const{size:x}=i;if(x)return x;const{mergedSize:y}=S||{};return y?y.value:"medium"}}),s=L(()=>e.focusable&&!e.disabled),l=S=>{var _;s.value||S.preventDefault(),!e.nativeFocusBehavior&&(S.preventDefault(),!e.disabled&&s.value&&((_=t.value)===null||_===void 0||_.focus({preventScroll:!0})))},c=S=>{var _;if(!e.disabled&&!e.loading){const{onClick:x}=e;x&&Ee(x,S),e.text||(_=n.value)===null||_===void 0||_.play()}},u=S=>{switch(S.key){case"Enter":if(!e.keyboard)return;o.value=!1}},d=S=>{switch(S.key){case"Enter":if(!e.keyboard||e.loading){S.preventDefault();return}o.value=!0}},f=()=>{o.value=!1},{inlineThemeDisabled:p,mergedClsPrefixRef:h,mergedRtlRef:m}=st(e),v=Be("Button","-button",kj,Au,e,h),b=pn("Button",m,h),w=L(()=>{const S=v.value,{common:{cubicBezierEaseInOut:_,cubicBezierEaseOut:x},self:y}=S,{rippleDuration:k,opacityDisabled:P,fontWeight:T,fontWeightStrong:$}=y,R=a.value,{dashed:K,type:H,ghost:D,text:M,color:Y,round:Q,circle:de,textColor:he,secondary:B,tertiary:E,quaternary:A,strong:G}=e,ne={"font-weight":G?$:T};let ye={"--n-color":"initial","--n-color-hover":"initial","--n-color-pressed":"initial","--n-color-focus":"initial","--n-color-disabled":"initial","--n-ripple-color":"initial","--n-text-color":"initial","--n-text-color-hover":"initial","--n-text-color-pressed":"initial","--n-text-color-focus":"initial","--n-text-color-disabled":"initial"};const J=H==="tertiary",xe=H==="default",j=J?"default":H;if(M){const I=he||Y;ye={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":"#0000","--n-text-color":I||y[Te("textColorText",j)],"--n-text-color-hover":I?ai(I):y[Te("textColorTextHover",j)],"--n-text-color-pressed":I?Bl(I):y[Te("textColorTextPressed",j)],"--n-text-color-focus":I?ai(I):y[Te("textColorTextHover",j)],"--n-text-color-disabled":I||y[Te("textColorTextDisabled",j)]}}else if(D||K){const I=he||Y;ye={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":Y||y[Te("rippleColor",j)],"--n-text-color":I||y[Te("textColorGhost",j)],"--n-text-color-hover":I?ai(I):y[Te("textColorGhostHover",j)],"--n-text-color-pressed":I?Bl(I):y[Te("textColorGhostPressed",j)],"--n-text-color-focus":I?ai(I):y[Te("textColorGhostHover",j)],"--n-text-color-disabled":I||y[Te("textColorGhostDisabled",j)]}}else if(B){const I=xe?y.textColor:J?y.textColorTertiary:y[Te("color",j)],N=Y||I,te=H!=="default"&&H!=="tertiary";ye={"--n-color":te?Me(N,{alpha:Number(y.colorOpacitySecondary)}):y.colorSecondary,"--n-color-hover":te?Me(N,{alpha:Number(y.colorOpacitySecondaryHover)}):y.colorSecondaryHover,"--n-color-pressed":te?Me(N,{alpha:Number(y.colorOpacitySecondaryPressed)}):y.colorSecondaryPressed,"--n-color-focus":te?Me(N,{alpha:Number(y.colorOpacitySecondaryHover)}):y.colorSecondaryHover,"--n-color-disabled":y.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":N,"--n-text-color-hover":N,"--n-text-color-pressed":N,"--n-text-color-focus":N,"--n-text-color-disabled":N}}else if(E||A){const I=xe?y.textColor:J?y.textColorTertiary:y[Te("color",j)],N=Y||I;E?(ye["--n-color"]=y.colorTertiary,ye["--n-color-hover"]=y.colorTertiaryHover,ye["--n-color-pressed"]=y.colorTertiaryPressed,ye["--n-color-focus"]=y.colorSecondaryHover,ye["--n-color-disabled"]=y.colorTertiary):(ye["--n-color"]=y.colorQuaternary,ye["--n-color-hover"]=y.colorQuaternaryHover,ye["--n-color-pressed"]=y.colorQuaternaryPressed,ye["--n-color-focus"]=y.colorQuaternaryHover,ye["--n-color-disabled"]=y.colorQuaternary),ye["--n-ripple-color"]="#0000",ye["--n-text-color"]=N,ye["--n-text-color-hover"]=N,ye["--n-text-color-pressed"]=N,ye["--n-text-color-focus"]=N,ye["--n-text-color-disabled"]=N}else ye={"--n-color":Y||y[Te("color",j)],"--n-color-hover":Y?ai(Y):y[Te("colorHover",j)],"--n-color-pressed":Y?Bl(Y):y[Te("colorPressed",j)],"--n-color-focus":Y?ai(Y):y[Te("colorFocus",j)],"--n-color-disabled":Y||y[Te("colorDisabled",j)],"--n-ripple-color":Y||y[Te("rippleColor",j)],"--n-text-color":he||(Y?y.textColorPrimary:J?y.textColorTertiary:y[Te("textColor",j)]),"--n-text-color-hover":he||(Y?y.textColorHoverPrimary:y[Te("textColorHover",j)]),"--n-text-color-pressed":he||(Y?y.textColorPressedPrimary:y[Te("textColorPressed",j)]),"--n-text-color-focus":he||(Y?y.textColorFocusPrimary:y[Te("textColorFocus",j)]),"--n-text-color-disabled":he||(Y?y.textColorDisabledPrimary:y[Te("textColorDisabled",j)])};let ve={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};M?ve={"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:ve={"--n-border":y[Te("border",j)],"--n-border-hover":y[Te("borderHover",j)],"--n-border-pressed":y[Te("borderPressed",j)],"--n-border-focus":y[Te("borderFocus",j)],"--n-border-disabled":y[Te("borderDisabled",j)]};const{[Te("height",R)]:Oe,[Te("fontSize",R)]:Le,[Te("padding",R)]:F,[Te("paddingRound",R)]:O,[Te("iconSize",R)]:re,[Te("borderRadius",R)]:_e,[Te("iconMargin",R)]:ee,waveOpacity:be}=y,Pe={"--n-width":de&&!M?Oe:"initial","--n-height":M?"initial":Oe,"--n-font-size":Le,"--n-padding":de||M?"initial":Q?O:F,"--n-icon-size":re,"--n-icon-margin":ee,"--n-border-radius":M?"initial":de||Q?Oe:_e};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":_,"--n-bezier-ease-out":x,"--n-ripple-duration":k,"--n-opacity-disabled":P,"--n-wave-opacity":be},ne),ye),ve),Pe)}),C=p?kt("button",L(()=>{let S="";const{dashed:_,type:x,ghost:y,text:k,color:P,round:T,circle:$,textColor:R,secondary:K,tertiary:H,quaternary:D,strong:M}=e;_&&(S+="a"),y&&(S+="b"),k&&(S+="c"),T&&(S+="d"),$&&(S+="e"),K&&(S+="f"),H&&(S+="g"),D&&(S+="h"),M&&(S+="i"),P&&(S+="j"+Pc(P)),R&&(S+="k"+Pc(R));const{value:Y}=a;return S+="l"+Y[0],S+="m"+x[0],S}),w,e):void 0;return{selfElRef:t,waveElRef:n,mergedClsPrefix:h,mergedFocusable:s,mergedSize:a,showBorder:r,enterPressed:o,rtlEnabled:b,handleMousedown:l,handleKeydown:d,handleBlur:f,handleKeyup:u,handleClick:c,customColorCssVars:L(()=>{const{color:S}=e;if(!S)return null;const _=ai(S);return{"--n-border-color":S,"--n-border-color-hover":_,"--n-border-color-pressed":Bl(S),"--n-border-color-focus":_,"--n-border-color-disabled":S}}),cssVars:p?void 0:w,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender}},render(){const{mergedClsPrefix:e,tag:t,onRender:n}=this;n==null||n();const o=Et(this.$slots.default,r=>r&&g("span",{class:`${e}-button__content`},r));return g(t,{ref:"selfElRef",class:[this.themeClass,`${e}-button`,`${e}-button--${this.type}-type`,`${e}-button--${this.mergedSize}-type`,this.rtlEnabled&&`${e}-button--rtl`,this.disabled&&`${e}-button--disabled`,this.block&&`${e}-button--block`,this.enterPressed&&`${e}-button--pressed`,!this.text&&this.dashed&&`${e}-button--dashed`,this.color&&`${e}-button--color`,this.secondary&&`${e}-button--secondary`,this.loading&&`${e}-button--loading`,this.ghost&&`${e}-button--ghost`],tabindex:this.mergedFocusable?0:-1,type:this.attrType,style:this.cssVars,disabled:this.disabled,onClick:this.handleClick,onBlur:this.handleBlur,onMousedown:this.handleMousedown,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},this.iconPlacement==="right"&&o,g(Eu,{width:!0},{default:()=>Et(this.$slots.icon,r=>(this.loading||this.renderIcon||r)&&g("span",{class:`${e}-button__icon`,style:{margin:fa(this.$slots.default)?"0":""}},g(Ni,null,{default:()=>this.loading?g(Jr,{clsPrefix:e,key:"loading",class:`${e}-icon-slot`,strokeWidth:20}):g("div",{key:"icon",class:`${e}-icon-slot`,role:"none"},this.renderIcon?this.renderIcon():r)})))}),this.iconPlacement==="left"&&o,this.text?null:g(GN,{ref:"waveElRef",clsPrefix:e}),this.showBorder?g("div",{"aria-hidden":!0,class:`${e}-button__border`,style:this.customColorCssVars}):null,this.showBorder?g("div",{"aria-hidden":!0,class:`${e}-button__state-border`,style:this.customColorCssVars}):null)}}),zt=U_,I0=U_,Tj={titleFontSize:"22px"},Rj=e=>{const{borderRadius:t,fontSize:n,lineHeight:o,textColor2:r,textColor1:i,textColorDisabled:a,dividerColor:s,fontWeightStrong:l,primaryColor:c,baseColor:u,hoverColor:d,cardColor:f,modalColor:p,popoverColor:h}=e;return Object.assign(Object.assign({},Tj),{borderRadius:t,borderColor:et(f,s),borderColorModal:et(p,s),borderColorPopover:et(h,s),textColor:r,titleFontWeight:l,titleTextColor:i,dayTextColor:a,fontSize:n,lineHeight:o,dateColorCurrent:c,dateTextColorCurrent:u,cellColorHover:et(f,d),cellColorHoverModal:et(p,d),cellColorHoverPopover:et(h,d),cellColor:f,cellColorModal:p,cellColorPopover:h,barColor:c})},Ej={name:"Calendar",common:Ne,peers:{Button:Wn},self:Rj},$j=Ej,Aj=e=>{const{fontSize:t,boxShadow2:n,popoverColor:o,textColor2:r,borderRadius:i,borderColor:a,heightSmall:s,heightMedium:l,heightLarge:c,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,dividerColor:p}=e;return{panelFontSize:t,boxShadow:n,color:o,textColor:r,borderRadius:i,border:`1px solid ${a}`,heightSmall:s,heightMedium:l,heightLarge:c,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,dividerColor:p}},Ij={name:"ColorPicker",common:Ne,peers:{Input:uo,Button:Wn},self:Aj},Oj=Ij,Mj={paddingSmall:"12px 16px 12px",paddingMedium:"19px 24px 20px",paddingLarge:"23px 32px 24px",paddingHuge:"27px 40px 28px",titleFontSizeSmall:"16px",titleFontSizeMedium:"18px",titleFontSizeLarge:"18px",titleFontSizeHuge:"18px",closeIconSize:"18px",closeSize:"22px"},q_=e=>{const{primaryColor:t,borderRadius:n,lineHeight:o,fontSize:r,cardColor:i,textColor2:a,textColor1:s,dividerColor:l,fontWeightStrong:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,closeColorHover:p,closeColorPressed:h,modalColor:m,boxShadow1:v,popoverColor:b,actionColor:w}=e;return Object.assign(Object.assign({},Mj),{lineHeight:o,color:i,colorModal:m,colorPopover:b,colorTarget:t,colorEmbedded:w,colorEmbeddedModal:w,colorEmbeddedPopover:w,textColor:a,titleTextColor:s,borderColor:l,actionColor:w,titleFontWeight:c,closeColorHover:p,closeColorPressed:h,closeBorderRadius:n,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,fontSizeSmall:r,fontSizeMedium:r,fontSizeLarge:r,fontSizeHuge:r,boxShadow:v,borderRadius:n})},zj={name:"Card",common:bt,self:q_},K_=zj,Dj={name:"Card",common:Ne,self(e){const t=q_(e),{cardColor:n,modalColor:o,popoverColor:r}=e;return t.colorEmbedded=n,t.colorEmbeddedModal=o,t.colorEmbeddedPopover=r,t}},G_=Dj,Lj=q([z("card",` font-size: var(--n-font-size); line-height: var(--n-line-height); display: flex; @@ -1294,13 +1311,13 @@ ${t} background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier), border-color .3s var(--n-bezier); - `,[NC({background:"var(--n-color-modal)"}),Z("hoverable",[U("&:hover","box-shadow: var(--n-box-shadow);")]),Z("content-segmented",[U(">",[V("content",{paddingTop:"var(--n-padding-bottom)"})])]),Z("content-soft-segmented",[U(">",[V("content",` + `,[XC({background:"var(--n-color-modal)"}),Z("hoverable",[q("&:hover","box-shadow: var(--n-box-shadow);")]),Z("content-segmented",[q(">",[V("content",{paddingTop:"var(--n-padding-bottom)"})])]),Z("content-soft-segmented",[q(">",[V("content",` margin: 0 var(--n-padding-left); padding: var(--n-padding-bottom) 0; - `)])]),Z("footer-segmented",[U(">",[V("footer",{paddingTop:"var(--n-padding-bottom)"})])]),Z("footer-soft-segmented",[U(">",[V("footer",` + `)])]),Z("footer-segmented",[q(">",[V("footer",{paddingTop:"var(--n-padding-bottom)"})])]),Z("footer-soft-segmented",[q(">",[V("footer",` padding: var(--n-padding-bottom) 0; margin: 0 var(--n-padding-left); - `)])]),U(">",[z("card-header",` + `)])]),q(">",[z("card-header",` box-sizing: border-box; display: flex; align-items: center; @@ -1339,7 +1356,7 @@ ${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); - `,[U("&:first-child",{paddingTop:"var(--n-padding-bottom)"})]),V("action",` + `,[q("&:first-child",{paddingTop:"var(--n-padding-bottom)"})]),V("action",` background-color: var(--n-action-color); padding: var(--n-padding-bottom) var(--n-padding-left); border-bottom-left-radius: var(--n-border-radius); @@ -1348,22 +1365,22 @@ ${t} overflow: hidden; width: 100%; border-radius: var(--n-border-radius) var(--n-border-radius) 0 0; - `,[U("img",` + `,[q("img",` display: block; width: 100%; `)]),Z("bordered",` border: 1px solid var(--n-border-color); - `,[U("&:target","border-color: var(--n-color-target);")]),Z("action-segmented",[U(">",[V("action",[U("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),Z("content-segmented, content-soft-segmented",[U(">",[V("content",{transition:"border-color 0.3s var(--n-bezier)"},[U("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),Z("footer-segmented, footer-soft-segmented",[U(">",[V("footer",{transition:"border-color 0.3s var(--n-bezier)"},[U("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),Z("embedded",` + `,[q("&:target","border-color: var(--n-color-target);")]),Z("action-segmented",[q(">",[V("action",[q("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),Z("content-segmented, content-soft-segmented",[q(">",[V("content",{transition:"border-color 0.3s var(--n-bezier)"},[q("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),Z("footer-segmented, footer-soft-segmented",[q(">",[V("footer",{transition:"border-color 0.3s var(--n-bezier)"},[q("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),Z("embedded",` background-color: var(--n-color-embedded); - `)]),nl(z("card",` + `)]),rl(z("card",` background: var(--n-color-modal); `,[Z("embedded",` background-color: var(--n-color-embedded-modal); - `)])),yu(z("card",` + `)])),Cu(z("card",` background: var(--n-color-popover); `,[Z("embedded",` background-color: var(--n-color-embedded-popover); - `)]))]),om={title:String,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],headerExtraClass:String,headerExtraStyle:[Object,String],footerClass:String,footerStyle:[Object,String],embedded:Boolean,segmented:{type:[Boolean,Object],default:!1},size:{type:String,default:"medium"},bordered:{type:Boolean,default:!0},closable:Boolean,hoverable:Boolean,role:String,onClose:[Function,Array],tag:{type:String,default:"div"}},Ej=qr(om),Aj=Object.assign(Object.assign({},Be.props),om),Wn=me({name:"Card",props:Aj,setup(e){const t=()=>{const{onClose:c}=e;c&&Re(c)},{inlineThemeDisabled:n,mergedClsPrefixRef:o,mergedRtlRef:r}=it(e),i=Be("Card","-card",$j,B_,e,o),a=pn("Card",r,o),s=L(()=>{const{size:c}=e,{self:{color:u,colorModal:d,colorTarget:f,textColor:p,titleTextColor:h,titleFontWeight:g,borderColor:b,actionColor:m,borderRadius:x,lineHeight:S,closeIconColor:_,closeIconColorHover:w,closeIconColorPressed:C,closeColorHover:y,closeColorPressed:k,closeBorderRadius:R,closeIconSize:$,closeSize:I,boxShadow:A,colorPopover:K,colorEmbedded:B,colorEmbeddedModal:M,colorEmbeddedPopover:D,[ke("padding",c)]:Y,[ke("fontSize",c)]:Q,[ke("titleFontSize",c)]:ue},common:{cubicBezierEaseInOut:le}}=i.value,{top:N,left:E,bottom:O}=yo(Y);return{"--n-bezier":le,"--n-border-radius":x,"--n-color":u,"--n-color-modal":d,"--n-color-popover":K,"--n-color-embedded":B,"--n-color-embedded-modal":M,"--n-color-embedded-popover":D,"--n-color-target":f,"--n-text-color":p,"--n-line-height":S,"--n-action-color":m,"--n-title-text-color":h,"--n-title-font-weight":g,"--n-close-icon-color":_,"--n-close-icon-color-hover":w,"--n-close-icon-color-pressed":C,"--n-close-color-hover":y,"--n-close-color-pressed":k,"--n-border-color":b,"--n-box-shadow":A,"--n-padding-top":N,"--n-padding-bottom":O,"--n-padding-left":E,"--n-font-size":Q,"--n-title-font-size":ue,"--n-close-size":I,"--n-close-icon-size":$,"--n-close-border-radius":R}}),l=n?kt("card",L(()=>e.size[0]),s,e):void 0;return{rtlEnabled:a,mergedClsPrefix:o,mergedTheme:i,handleCloseClick:t,cssVars:n?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){const{segmented:e,bordered:t,hoverable:n,mergedClsPrefix:o,rtlEnabled:r,onRender:i,embedded:a,tag:s,$slots:l}=this;return i==null||i(),v(s,{class:[`${o}-card`,this.themeClass,a&&`${o}-card--embedded`,{[`${o}-card--rtl`]:r,[`${o}-card--content${typeof e!="boolean"&&e.content==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.content,[`${o}-card--footer${typeof e!="boolean"&&e.footer==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.footer,[`${o}-card--action-segmented`]:e===!0||e!==!1&&e.action,[`${o}-card--bordered`]:t,[`${o}-card--hoverable`]:n}],style:this.cssVars,role:this.role},Et(l.cover,c=>c&&v("div",{class:`${o}-card-cover`,role:"none"},c)),Et(l.header,c=>c||this.title||this.closable?v("div",{class:[`${o}-card-header`,this.headerClass],style:this.headerStyle},v("div",{class:`${o}-card-header__main`,role:"heading"},c||this.title),Et(l["header-extra"],u=>u&&v("div",{class:[`${o}-card-header__extra`,this.headerExtraClass],style:this.headerExtraStyle},u)),this.closable?v(ji,{clsPrefix:o,class:`${o}-card-header__close`,onClick:this.handleCloseClick,absolute:!0}):null):null),Et(l.default,c=>c&&v("div",{class:[`${o}-card__content`,this.contentClass],style:this.contentStyle,role:"none"},c)),Et(l.footer,c=>c&&[v("div",{class:[`${o}-card__footer`,this.footerClass],style:this.footerStyle,role:"none"},c)]),Et(l.action,c=>c&&v("div",{class:`${o}-card__action`,role:"none"},c)))}}),H_=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"}),Ij={name:"Carousel",common:bt,self:H_},Oj=Ij,Mj={name:"Carousel",common:He,self:H_},zj=Mj;function Dj(e){const{length:t}=e;return t>1&&(e.push(A0(e[0],0,"append")),e.unshift(A0(e[t-1],t-1,"prepend"))),e}function A0(e,t,n){return ao(e,{key:`carousel-item-duplicate-${t}-${n}`})}function I0(e,t,n){return t===1?0:n?e===0?t-3:e===t-1?0:e-1:e}function Vd(e,t){return t?e+1:e}function Lj(e,t,n){return e<0?null:e===0?n?t-1:null:e-1}function Fj(e,t,n){return e>t-1?null:e===t-1?n?0:null:e+1}function Bj(e,t){return t&&e>3?e-2:e}function O0(e){return window.TouchEvent&&e instanceof window.TouchEvent}function M0(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 Bl(e,t,n){return en?n:e}function Nj(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 j_="n-carousel-methods",Hj=e=>{lt(j_,e)},rm=(e="unknown",t="component")=>{const n=We(j_);return n||Kr(e,`\`${t}\` must be placed inside \`n-carousel\`.`),n},jj={total:{type:Number,default:0},currentIndex:{type:Number,default:0},dotType:{type:String,default:"dot"},trigger:{type:String,default:"click"},keyboard:Boolean},Vj=me({name:"CarouselDots",props:jj,setup(e){const{mergedClsPrefixRef:t}=it(e),n=F([]),o=rm();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",g=f==="PageUp"||f==="ArrowRight",b=f==="PageDown"||f==="ArrowLeft",m=o.isVertical(),x=m?p:g,S=m?h:b;!x&&!S||(c.preventDefault(),x&&!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 Sy(()=>n.value.length=0),{mergedClsPrefix:t,dotEls:n,handleKeydown:r,handleMouseenter:i,handleClick:a}},render(){const{mergedClsPrefix:e,dotEls:t}=this;return v("div",{class:[`${e}-carousel__dots`,`${e}-carousel__dots--${this.dotType}`],role:"tablist"},ZA(this.total,n=>{const o=n===this.currentIndex;return v("div",{"aria-selected":o,ref:r=>t.push(r),role:"button",tabindex:"0",class:[`${e}-carousel__dot`,o&&`${e}-carousel__dot--active`],key:n,onClick:()=>{this.handleClick(n)},onMouseenter:()=>{this.handleMouseenter(n)},onKeydown:r=>{this.handleKeydown(r,n)}})}))}}),Wj=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},v("g",{fill:"none"},v("path",{d:"M10.26 3.2a.75.75 0 0 1 .04 1.06L6.773 8l3.527 3.74a.75.75 0 1 1-1.1 1.02l-4-4.25a.75.75 0 0 1 0-1.02l4-4.25a.75.75 0 0 1 1.06-.04z",fill:"currentColor"}))),Uj=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},v("g",{fill:"none"},v("path",{d:"M5.74 3.2a.75.75 0 0 0-.04 1.06L9.227 8L5.7 11.74a.75.75 0 1 0 1.1 1.02l4-4.25a.75.75 0 0 0 0-1.02l-4-4.25a.75.75 0 0 0-1.06-.04z",fill:"currentColor"}))),qj=me({name:"CarouselArrow",setup(e){const{mergedClsPrefixRef:t}=it(e),{isVertical:n,isPrevDisabled:o,isNextDisabled:r,prev:i,next:a}=rm();return{mergedClsPrefix:t,isVertical:n,isPrevDisabled:o,isNextDisabled:r,prev:i,next:a}},render(){const{mergedClsPrefix:e}=this;return v("div",{class:`${e}-carousel__arrow-group`},v("div",{class:[`${e}-carousel__arrow`,this.isPrevDisabled()&&`${e}-carousel__arrow--disabled`],role:"button",onClick:this.prev},Wj),v("div",{class:[`${e}-carousel__arrow`,this.isNextDisabled()&&`${e}-carousel__arrow--disabled`],role:"button",onClick:this.next},Uj))}}),cc="CarouselItem",Kj=e=>{var t;return((t=e.type)===null||t===void 0?void 0:t.name)===cc},Gj=me({name:cc,setup(e){const{mergedClsPrefixRef:t}=it(e),n=rm(Zb(cc),`n-${Zb(cc)}`),o=F(),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));Ft(()=>{n.addSlide(o.value)}),rn(()=>{n.removeSlide(o.value)});function c(u){const{value:d}=r;d!==void 0&&(n==null||n.onCarouselItemClick(d,u))}return{mergedClsPrefix:t,selfElRef:o,isPrev:i,isNext:a,isActive:s,index:r,style:l,handleClick:c}},render(){var e;const{$slots:t,mergedClsPrefix:n,isPrev:o,isNext:r,isActive:i,index:a,style:s}=this,l=[`${n}-carousel__slide`,{[`${n}-carousel__slide--current`]:i,[`${n}-carousel__slide--prev`]:o,[`${n}-carousel__slide--next`]:r}];return v("div",{ref:"selfElRef",class:l,role:"option",tabindex:"-1","data-index":a,"aria-hidden":!i,style:s,onClickCapture:this.handleClick},(e=t.default)===null||e===void 0?void 0:e.call(t,{isPrev:o,isNext:r,isActive:i,index:a}))}}),Yj=z("carousel",` + `)]))]),rm={title:String,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],headerExtraClass:String,headerExtraStyle:[Object,String],footerClass:String,footerStyle:[Object,String],embedded:Boolean,segmented:{type:[Boolean,Object],default:!1},size:{type:String,default:"medium"},bordered:{type:Boolean,default:!0},closable:Boolean,hoverable:Boolean,role:String,onClose:[Function,Array],tag:{type:String,default:"div"}},Fj=Yr(rm),Bj=Object.assign(Object.assign({},Be.props),rm),fo=ge({name:"Card",props:Bj,setup(e){const t=()=>{const{onClose:c}=e;c&&Ee(c)},{inlineThemeDisabled:n,mergedClsPrefixRef:o,mergedRtlRef:r}=st(e),i=Be("Card","-card",Lj,K_,e,o),a=pn("Card",r,o),s=L(()=>{const{size:c}=e,{self:{color:u,colorModal:d,colorTarget:f,textColor:p,titleTextColor:h,titleFontWeight:m,borderColor:v,actionColor:b,borderRadius:w,lineHeight:C,closeIconColor:S,closeIconColorHover:_,closeIconColorPressed:x,closeColorHover:y,closeColorPressed:k,closeBorderRadius:P,closeIconSize:T,closeSize:$,boxShadow:R,colorPopover:K,colorEmbedded:H,colorEmbeddedModal:D,colorEmbeddedPopover:M,[Te("padding",c)]:Y,[Te("fontSize",c)]:Q,[Te("titleFontSize",c)]:de},common:{cubicBezierEaseInOut:he}}=i.value,{top:B,left:E,bottom:A}=_o(Y);return{"--n-bezier":he,"--n-border-radius":w,"--n-color":u,"--n-color-modal":d,"--n-color-popover":K,"--n-color-embedded":H,"--n-color-embedded-modal":D,"--n-color-embedded-popover":M,"--n-color-target":f,"--n-text-color":p,"--n-line-height":C,"--n-action-color":b,"--n-title-text-color":h,"--n-title-font-weight":m,"--n-close-icon-color":S,"--n-close-icon-color-hover":_,"--n-close-icon-color-pressed":x,"--n-close-color-hover":y,"--n-close-color-pressed":k,"--n-border-color":v,"--n-box-shadow":R,"--n-padding-top":B,"--n-padding-bottom":A,"--n-padding-left":E,"--n-font-size":Q,"--n-title-font-size":de,"--n-close-size":$,"--n-close-icon-size":T,"--n-close-border-radius":P}}),l=n?kt("card",L(()=>e.size[0]),s,e):void 0;return{rtlEnabled:a,mergedClsPrefix:o,mergedTheme:i,handleCloseClick:t,cssVars:n?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){const{segmented:e,bordered:t,hoverable:n,mergedClsPrefix:o,rtlEnabled:r,onRender:i,embedded:a,tag:s,$slots:l}=this;return i==null||i(),g(s,{class:[`${o}-card`,this.themeClass,a&&`${o}-card--embedded`,{[`${o}-card--rtl`]:r,[`${o}-card--content${typeof e!="boolean"&&e.content==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.content,[`${o}-card--footer${typeof e!="boolean"&&e.footer==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.footer,[`${o}-card--action-segmented`]:e===!0||e!==!1&&e.action,[`${o}-card--bordered`]:t,[`${o}-card--hoverable`]:n}],style:this.cssVars,role:this.role},Et(l.cover,c=>c&&g("div",{class:`${o}-card-cover`,role:"none"},c)),Et(l.header,c=>c||this.title||this.closable?g("div",{class:[`${o}-card-header`,this.headerClass],style:this.headerStyle},g("div",{class:`${o}-card-header__main`,role:"heading"},c||this.title),Et(l["header-extra"],u=>u&&g("div",{class:[`${o}-card-header__extra`,this.headerExtraClass],style:this.headerExtraStyle},u)),this.closable?g(Hi,{clsPrefix:o,class:`${o}-card-header__close`,onClick:this.handleCloseClick,absolute:!0}):null):null),Et(l.default,c=>c&&g("div",{class:[`${o}-card__content`,this.contentClass],style:this.contentStyle,role:"none"},c)),Et(l.footer,c=>c&&[g("div",{class:[`${o}-card__footer`,this.footerClass],style:this.footerStyle,role:"none"},c)]),Et(l.action,c=>c&&g("div",{class:`${o}-card__action`,role:"none"},c)))}}),Y_=e=>({dotSize:"8px",dotColor:"rgba(255, 255, 255, .3)",dotColorActive:"rgba(255, 255, 255, 1)",dotColorFocus:"rgba(255, 255, 255, .5)",dotLineWidth:"16px",dotLineWidthActive:"24px",arrowColor:"#eee"}),Nj={name:"Carousel",common:bt,self:Y_},Hj=Nj,jj={name:"Carousel",common:Ne,self:Y_},Vj=jj;function Wj(e){const{length:t}=e;return t>1&&(e.push(O0(e[0],0,"append")),e.unshift(O0(e[t-1],t-1,"prepend"))),e}function O0(e,t,n){return ao(e,{key:`carousel-item-duplicate-${t}-${n}`})}function M0(e,t,n){return t===1?0:n?e===0?t-3:e===t-1?0:e-1:e}function Vd(e,t){return t?e+1:e}function Uj(e,t,n){return e<0?null:e===0?n?t-1:null:e-1}function qj(e,t,n){return e>t-1?null:e===t-1?n?0:null:e+1}function Kj(e,t){return t&&e>3?e-2:e}function z0(e){return window.TouchEvent&&e instanceof window.TouchEvent}function D0(e,t){let{offsetWidth:n,offsetHeight:o}=e;if(t){const r=getComputedStyle(e);n=n-parseFloat(r.getPropertyValue("padding-left"))-parseFloat(r.getPropertyValue("padding-right")),o=o-parseFloat(r.getPropertyValue("padding-top"))-parseFloat(r.getPropertyValue("padding-bottom"))}return{width:n,height:o}}function Nl(e,t,n){return en?n:e}function Gj(e){if(e===void 0)return 0;if(typeof e=="number")return e;const t=/^((\d+)?\.?\d+?)(ms|s)?$/,n=e.match(t);if(n){const[,o,,r="ms"]=n;return Number(o)*(r==="ms"?1:1e3)}return 0}const X_="n-carousel-methods",Yj=e=>{at(X_,e)},im=(e="unknown",t="component")=>{const n=We(X_);return n||ur(e,`\`${t}\` must be placed inside \`n-carousel\`.`),n},Xj={total:{type:Number,default:0},currentIndex:{type:Number,default:0},dotType:{type:String,default:"dot"},trigger:{type:String,default:"click"},keyboard:Boolean},Zj=ge({name:"CarouselDots",props:Xj,setup(e){const{mergedClsPrefixRef:t}=st(e),n=W([]),o=im();function r(c,u){switch(c.key){case"Enter":case" ":c.preventDefault(),o.to(u);return}e.keyboard&&s(c)}function i(c){e.trigger==="hover"&&o.to(c)}function a(c){e.trigger==="click"&&o.to(c)}function s(c){var u;if(c.shiftKey||c.altKey||c.ctrlKey||c.metaKey)return;const d=(u=document.activeElement)===null||u===void 0?void 0:u.nodeName.toLowerCase();if(d==="input"||d==="textarea")return;const{code:f}=c,p=f==="PageUp"||f==="ArrowUp",h=f==="PageDown"||f==="ArrowDown",m=f==="PageUp"||f==="ArrowRight",v=f==="PageDown"||f==="ArrowLeft",b=o.isVertical(),w=b?p:m,C=b?h:v;!w&&!C||(c.preventDefault(),w&&!o.isNextDisabled()?(o.next(),l(o.currentIndexRef.value)):C&&!o.isPrevDisabled()&&(o.prev(),l(o.currentIndexRef.value)))}function l(c){var u;(u=n.value[c])===null||u===void 0||u.focus()}return Ty(()=>n.value.length=0),{mergedClsPrefix:t,dotEls:n,handleKeydown:r,handleMouseenter:i,handleClick:a}},render(){const{mergedClsPrefix:e,dotEls:t}=this;return g("div",{class:[`${e}-carousel__dots`,`${e}-carousel__dots--${this.dotType}`],role:"tablist"},i6(this.total,n=>{const o=n===this.currentIndex;return g("div",{"aria-selected":o,ref:r=>t.push(r),role:"button",tabindex:"0",class:[`${e}-carousel__dot`,o&&`${e}-carousel__dot--active`],key:n,onClick:()=>{this.handleClick(n)},onMouseenter:()=>{this.handleMouseenter(n)},onKeydown:r=>{this.handleKeydown(r,n)}})}))}}),Jj=g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},g("g",{fill:"none"},g("path",{d:"M10.26 3.2a.75.75 0 0 1 .04 1.06L6.773 8l3.527 3.74a.75.75 0 1 1-1.1 1.02l-4-4.25a.75.75 0 0 1 0-1.02l4-4.25a.75.75 0 0 1 1.06-.04z",fill:"currentColor"}))),Qj=g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},g("g",{fill:"none"},g("path",{d:"M5.74 3.2a.75.75 0 0 0-.04 1.06L9.227 8L5.7 11.74a.75.75 0 1 0 1.1 1.02l4-4.25a.75.75 0 0 0 0-1.02l-4-4.25a.75.75 0 0 0-1.06-.04z",fill:"currentColor"}))),eV=ge({name:"CarouselArrow",setup(e){const{mergedClsPrefixRef:t}=st(e),{isVertical:n,isPrevDisabled:o,isNextDisabled:r,prev:i,next:a}=im();return{mergedClsPrefix:t,isVertical:n,isPrevDisabled:o,isNextDisabled:r,prev:i,next:a}},render(){const{mergedClsPrefix:e}=this;return g("div",{class:`${e}-carousel__arrow-group`},g("div",{class:[`${e}-carousel__arrow`,this.isPrevDisabled()&&`${e}-carousel__arrow--disabled`],role:"button",onClick:this.prev},Jj),g("div",{class:[`${e}-carousel__arrow`,this.isNextDisabled()&&`${e}-carousel__arrow--disabled`],role:"button",onClick:this.next},Qj))}}),uc="CarouselItem",tV=e=>{var t;return((t=e.type)===null||t===void 0?void 0:t.name)===uc},nV=ge({name:uc,setup(e){const{mergedClsPrefixRef:t}=st(e),n=im(Qb(uc),`n-${Qb(uc)}`),o=W(),r=L(()=>{const{value:u}=o;return u?n.getSlideIndex(u):-1}),i=L(()=>n.isPrev(r.value)),a=L(()=>n.isNext(r.value)),s=L(()=>n.isActive(r.value)),l=L(()=>n.getSlideStyle(r.value));jt(()=>{n.addSlide(o.value)}),rn(()=>{n.removeSlide(o.value)});function c(u){const{value:d}=r;d!==void 0&&(n==null||n.onCarouselItemClick(d,u))}return{mergedClsPrefix:t,selfElRef:o,isPrev:i,isNext:a,isActive:s,index:r,style:l,handleClick:c}},render(){var e;const{$slots:t,mergedClsPrefix:n,isPrev:o,isNext:r,isActive:i,index:a,style:s}=this,l=[`${n}-carousel__slide`,{[`${n}-carousel__slide--current`]:i,[`${n}-carousel__slide--prev`]:o,[`${n}-carousel__slide--next`]:r}];return g("div",{ref:"selfElRef",class:l,role:"option",tabindex:"-1","data-index":a,"aria-hidden":!i,style:s,onClickCapture:this.handleClick},(e=t.default)===null||e===void 0?void 0:e.call(t,{isPrev:o,isNext:r,isActive:i,index:a}))}}),oV=z("carousel",` position: relative; width: 100%; height: 100%; @@ -1382,7 +1399,7 @@ ${t} height: 100%; outline: none; overflow: hidden; - `,[U("> img",` + `,[q("> img",` display: block; `)])]),V("dots",` position: absolute; @@ -1398,7 +1415,7 @@ ${t} box-shadow .3s var(--n-bezier), background-color .3s var(--n-bezier); outline: none; - `,[U("&:focus",` + `,[q("&:focus",` background-color: var(--n-dot-color-focus); `),Z("active",` background-color: var(--n-dot-color-active); @@ -1413,7 +1430,7 @@ ${t} box-shadow .3s var(--n-bezier), background-color .3s var(--n-bezier); outline: none; - `,[U("&:focus",` + `,[q("&:focus",` background-color: var(--n-dot-color-focus); `),Z("active",` width: var(--n-dot-line-width-active); @@ -1432,10 +1449,10 @@ ${t} user-select: none; -webkit-user-select: none; font-size: 18px; - `,[U("svg",` + `,[q("svg",` height: 1em; width: 1em; - `),U("&:hover",` + `),q("&:hover",` background-color: rgba(255, 255, 255, .3); `)]),Z("vertical",` touch-action: pan-x; @@ -1455,7 +1472,7 @@ ${t} transform: translateY(-100%) translateZ(-200px); `),Z("next",` transform: translateY(0%) translateZ(-200px); - `)])])]),Z("usercontrol",[V("slides",[U(">",[U("div",` + `)])])]),Z("usercontrol",[V("slides",[q(">",[q("div",` position: absolute; top: 50%; left: 50%; @@ -1506,7 +1523,7 @@ ${t} bottom: 12px; left: 12px; flex-direction: column; - `,[U("> *:first-child",` + `,[q("> *:first-child",` margin-bottom: 12px; `)])]),Z("right",[V("dots",` transform: translateY(-50%); @@ -1530,7 +1547,7 @@ ${t} bottom: 12px; right: 12px; flex-direction: column; - `,[U("> *:first-child",` + `,[q("> *:first-child",` margin-bottom: 12px; `)])]),Z("top",[V("dots",` transform: translateX(-50%); @@ -1543,7 +1560,7 @@ ${t} `),V("arrow-group",` top: 12px; right: 12px; - `,[U("> *:first-child",` + `,[q("> *:first-child",` margin-right: 12px; `)])]),Z("bottom",[V("dots",` transform: translateX(-50%); @@ -1556,7 +1573,7 @@ ${t} `),V("arrow-group",` bottom: 12px; right: 12px; - `,[U("> *:first-child",` + `,[q("> *:first-child",` margin-right: 12px; `)])]),Z("fade",[V("slide",` position: absolute; @@ -1584,7 +1601,7 @@ ${t} `),Z("next",` opacity: 0.4; transform: translateX(0%) translateZ(-200px); - `)])])]),Xj=["transitionDuration","transitionTimingFunction"],Zj=Object.assign(Object.assign({},Be.props),{defaultIndex:{type:Number,default:0},currentIndex:Number,showArrow:Boolean,dotType:{type:String,default:"dot"},dotPlacement:{type:String,default:"bottom"},slidesPerView:{type:[Number,String],default:1},spaceBetween:{type:Number,default:0},centeredSlides:Boolean,direction:{type:String,default:"horizontal"},autoplay:Boolean,interval:{type:Number,default:5e3},loop:{type:Boolean,default:!0},effect:{type:String,default:"slide"},showDots:{type:Boolean,default:!0},trigger:{type:String,default:"click"},transitionStyle:{type:Object,default:()=>({transitionDuration:"300ms"})},transitionProps:Object,draggable:Boolean,prevSlideStyle:[Object,String],nextSlideStyle:[Object,String],touchable:{type:Boolean,default:!0},mousewheel:Boolean,keyboard:Boolean,"onUpdate:currentIndex":Function,onUpdateCurrentIndex:Function});let Wd=!1;const Jj=me({name:"Carousel",props:Zj,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=it(e),o=F(null),r=F(null),i=F([]),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),g=L(()=>p.value==="auto"||e.slidesPerView==="auto"&&e.centeredSlides),b=F({width:0,height:0}),m=L(()=>{const{value:_e}=i;if(!_e.length)return[];const{value:Ne}=g;if(Ne)return _e.map(ae=>M0(ae));const{value:et}=h,{value:pt}=b,{value:gt}=l;let ct=pt[gt];if(et!=="auto"){const{spaceBetween:ae}=e,Pe=ct-(et-1)*ae,ot=1/Math.max(1,et);ct=Pe*ot}const Rt=Object.assign(Object.assign({},pt),{[gt]:ct});return _e.map(()=>Rt)}),x=L(()=>{const{value:_e}=m;if(!_e.length)return[];const{centeredSlides:Ne,spaceBetween:et}=e,{value:pt}=l,{[pt]:gt}=b.value;let ct=0;return _e.map(({[pt]:Rt})=>{let ae=ct;return Ne&&(ae+=(Rt-gt)/2),ct+=Rt+et,ae})}),S=F(!1),_=L(()=>{const{transitionStyle:_e}=e;return _e?Xn(_e,Xj):{}}),w=L(()=>f.value?0:Nj(_.value.transitionDuration)),C=L(()=>{const{value:_e}=i;if(!_e.length)return[];const Ne=!(g.value||h.value===1),et=Rt=>{if(Ne){const{value:ae}=l;return{[ae]:`${m.value[Rt][ae]}px`}}};if(f.value)return _e.map((Rt,ae)=>et(ae));const{effect:pt,spaceBetween:gt}=e,{value:ct}=c;return _e.reduce((Rt,ae,Pe)=>{const ot=Object.assign(Object.assign({},et(Pe)),{[`margin-${ct}`]:`${gt}px`});return Rt.push(ot),S.value&&(pt==="fade"||pt==="card")&&Object.assign(ot,_.value),Rt},[])}),y=L(()=>{const{value:_e}=p,{length:Ne}=i.value;if(_e!=="auto")return Math.max(Ne-_e,0)+1;{const{value:et}=m,{length:pt}=et;if(!pt)return Ne;const{value:gt}=x,{value:ct}=l,Rt=b.value[ct];let ae=et[et.length-1][ct],Pe=pt;for(;Pe>1&&aeBj(y.value,d.value)),R=Vd(e.defaultIndex,d.value),$=F(I0(R,y.value,d.value)),I=ln(je(e,"currentIndex"),$),A=L(()=>Vd(I.value,d.value));function K(_e){var Ne,et;_e=Bl(_e,0,y.value-1);const pt=I0(_e,y.value,d.value),{value:gt}=I;pt!==I.value&&($.value=pt,(Ne=e["onUpdate:currentIndex"])===null||Ne===void 0||Ne.call(e,pt,gt),(et=e.onUpdateCurrentIndex)===null||et===void 0||et.call(e,pt,gt))}function B(_e=A.value){return Lj(_e,y.value,e.loop)}function M(_e=A.value){return Fj(_e,y.value,e.loop)}function D(_e){const Ne=se(_e);return Ne!==null&&B()===Ne}function Y(_e){const Ne=se(_e);return Ne!==null&&M()===Ne}function Q(_e){return A.value===se(_e)}function ue(_e){return I.value===_e}function le(){return B()===null}function N(){return M()===null}function E(_e){const Ne=Bl(Vd(_e,d.value),0,y.value);(_e!==I.value||Ne!==A.value)&&K(Ne)}function O(){const _e=B();_e!==null&&K(_e)}function q(){const _e=M();_e!==null&&K(_e)}function ne(){(!J||!d.value)&&O()}function ve(){(!J||!d.value)&&q()}let J=!1,be=0;const H=F({});function ge(_e,Ne=0){H.value=Object.assign({},_.value,{transform:s.value?`translateY(${-_e}px)`:`translateX(${-_e}px)`,transitionDuration:`${Ne}ms`})}function Ie(_e=0){u.value?Le(A.value,_e):be!==0&&(!J&&_e>0&&(J=!0),ge(be=0,_e))}function Le(_e,Ne){const et=P(_e);et!==be&&Ne>0&&(J=!0),be=P(A.value),ge(et,Ne)}function P(_e){let Ne;return _e>=y.value-1?Ne=T():Ne=x.value[_e]||0,Ne}function T(){if(p.value==="auto"){const{value:_e}=l,{[_e]:Ne}=b.value,{value:et}=x,pt=et[et.length-1];let gt;if(pt===void 0)gt=Ne;else{const{value:ct}=m;gt=pt+ct[ct.length-1][_e]}return gt-Ne}else{const{value:_e}=x;return _e[y.value-1]||0}}const W={currentIndexRef:I,to:E,prev:ne,next:ve,isVertical:()=>s.value,isHorizontal:()=>!s.value,isPrev:D,isNext:Y,isActive:Q,isPrevDisabled:le,isNextDisabled:N,getSlideIndex:se,getSlideStyle:xe,addSlide:oe,removeSlide:G,onCarouselItemClick:ye};Hj(W);function oe(_e){_e&&i.value.push(_e)}function G(_e){if(!_e)return;const Ne=se(_e);Ne!==-1&&i.value.splice(Ne,1)}function se(_e){return typeof _e=="number"?_e:_e?i.value.indexOf(_e):-1}function xe(_e){const Ne=se(_e);if(Ne!==-1){const et=[C.value[Ne]],pt=W.isPrev(Ne),gt=W.isNext(Ne);return pt&&et.push(e.prevSlideStyle||""),gt&&et.push(e.nextSlideStyle||""),Ho(et)}}function ye(_e,Ne){let et=!J&&!Fe&&!Ye;e.effect==="card"&&et&&!Q(_e)&&(E(_e),et=!1),et||(Ne.preventDefault(),Ne.stopPropagation())}let Ce=null;function we(){Ce&&(clearInterval(Ce),Ce=null)}function Ee(){we(),!e.autoplay||k.value<2||(Ce=window.setInterval(q,e.interval))}let de=0,ee=0,fe=0,Te=0,Fe=!1,Ye=!1;function Se(_e){var Ne;if(Wd||!(!((Ne=r.value)===null||Ne===void 0)&&Ne.contains(wi(_e))))return;Wd=!0,Fe=!0,Ye=!1,Te=Date.now(),we(),_e.type!=="touchstart"&&!_e.target.isContentEditable&&_e.preventDefault();const et=O0(_e)?_e.touches[0]:_e;s.value?ee=et.clientY:de=et.clientX,e.touchable&&(Ot("touchmove",document,De),Ot("touchend",document,Ue),Ot("touchcancel",document,Ue)),e.draggable&&(Ot("mousemove",document,De),Ot("mouseup",document,Ue))}function De(_e){const{value:Ne}=s,{value:et}=l,pt=O0(_e)?_e.touches[0]:_e,gt=Ne?pt.clientY-ee:pt.clientX-de,ct=b.value[et];fe=Bl(gt,-ct,ct),_e.cancelable&&_e.preventDefault(),u.value&&ge(be-fe,0)}function Ue(){const{value:_e}=A;let Ne=_e;if(!J&&fe!==0&&u.value){const et=be-fe,pt=[...x.value.slice(0,y.value-1),T()];let gt=null;for(let ct=0;ctgt/2||fe/et>.4?Ne=B(_e):(fe<-gt/2||fe/et<-.4)&&(Ne=M(_e))}Ne!==null&&Ne!==_e?(Ye=!0,K(Ne),jt(()=>{(!d.value||$.value!==I.value)&&Ie(w.value)})):Ie(w.value),Ae(),Ee()}function Ae(){Fe&&(Wd=!1),Fe=!1,de=0,ee=0,fe=0,Te=0,Pt("touchmove",document,De),Pt("touchend",document,Ue),Pt("touchcancel",document,Ue),Pt("mousemove",document,De),Pt("mouseup",document,Ue)}function Qe(){if(u.value&&J){const{value:_e}=A;Le(_e,0)}else Ee();u.value&&(H.value.transitionDuration="0ms"),J=!1}function xt(_e){if(_e.preventDefault(),J)return;let{deltaX:Ne,deltaY:et}=_e;_e.shiftKey&&!Ne&&(Ne=et);const pt=-1,gt=1,ct=(Ne||et)>0?gt:pt;let Rt=0,ae=0;s.value?ae=ct:Rt=ct;const Pe=10;(ae*et>=Pe||Rt*Ne>=Pe)&&(ct===gt&&!N()?q():ct===pt&&!le()&&O())}function X(){b.value=M0(o.value,!0),Ee()}function pe(){var _e,Ne;g.value&&((Ne=(_e=m.effect).scheduler)===null||Ne===void 0||Ne.call(_e),m.effect.run())}function $e(){e.autoplay&&we()}function qe(){e.autoplay&&Ee()}Ft(()=>{nn(Ee),requestAnimationFrame(()=>S.value=!0)}),rn(()=>{Ae(),we()}),Xh(()=>{const{value:_e}=i,{value:Ne}=a,et=new Map,pt=ct=>et.has(ct)?et.get(ct):-1;let gt=!1;for(let ct=0;ct<_e.length;ct++){const Rt=Ne.findIndex(ae=>ae.el===_e[ct]);Rt!==ct&&(gt=!0),et.set(_e[ct],Rt)}gt&&_e.sort((ct,Rt)=>pt(ct)-pt(Rt))}),ht(A,(_e,Ne)=>{if(_e!==Ne)if(Ee(),u.value){if(d.value){const{value:et}=y;k.value>2&&_e===et-2&&Ne===1?_e=0:_e===1&&Ne===et-2&&(_e=et-1)}Le(_e,w.value)}else Ie()},{immediate:!0}),ht([d,p],()=>void jt(()=>{K(A.value)})),ht(x,()=>{u.value&&Ie()},{deep:!0}),ht(u,_e=>{_e?Ie():(J=!1,ge(be=0))});const Xe=L(()=>({onTouchstartPassive:e.touchable?Se:void 0,onMousedown:e.draggable?Se:void 0,onWheel:e.mousewheel?xt:void 0})),Ze=L(()=>Object.assign(Object.assign({},Xn(W,["to","prev","next","isPrevDisabled","isNextDisabled"])),{total:k.value,currentIndex:I.value})),nt=L(()=>({total:k.value,currentIndex:I.value,to:W.to})),rt={getCurrentIndex:()=>I.value,to:E,prev:O,next:q},yt=Be("Carousel","-carousel",Yj,Oj,e,t),on=L(()=>{const{common:{cubicBezierEaseInOut:_e},self:{dotSize:Ne,dotColor:et,dotColorActive:pt,dotColorFocus:gt,dotLineWidth:ct,dotLineWidthActive:Rt,arrowColor:ae}}=yt.value;return{"--n-bezier":_e,"--n-dot-color":et,"--n-dot-color-focus":gt,"--n-dot-color-active":pt,"--n-dot-size":Ne,"--n-dot-line-width":ct,"--n-dot-line-width-active":Rt,"--n-arrow-color":ae}}),Dt=n?kt("carousel",void 0,on,e):void 0;return Object.assign(Object.assign({mergedClsPrefix:t,selfElRef:o,slidesElRef:r,slideVNodes:a,duplicatedable:d,userWantsControl:f,autoSlideSize:g,realIndex:A,slideStyles:C,translateStyle:H,slidesControlListeners:Xe,handleTransitionEnd:Qe,handleResize:X,handleSlideResize:pe,handleMouseenter:$e,handleMouseleave:qe,isActive:ue,arrowSlotProps:Ze,dotSlotProps:nt},rt),{cssVars:n?void 0:on,themeClass:Dt==null?void 0:Dt.themeClass,onRender:Dt==null?void 0:Dt.onRender})},render(){var e;const{mergedClsPrefix:t,showArrow:n,userWantsControl:o,slideStyles:r,dotType:i,dotPlacement:a,slidesControlListeners:s,transitionProps:l={},arrowSlotProps:c,dotSlotProps:u,$slots:{default:d,dots:f,arrow:p}}=this,h=d&&Pa(d())||[];let g=Qj(h);return g.length||(g=h.map(b=>v(Gj,null,{default:()=>ao(b)}))),this.duplicatedable&&(g=Dj(g)),this.slideVNodes.value=g,this.autoSlideSize&&(g=g.map(b=>v(lr,{onResize:this.handleSlideResize},{default:()=>b}))),(e=this.onRender)===null||e===void 0||e.call(this),v("div",Object.assign({ref:"selfElRef",class:[this.themeClass,`${t}-carousel`,this.direction==="vertical"&&`${t}-carousel--vertical`,this.showArrow&&`${t}-carousel--show-arrow`,`${t}-carousel--${a}`,`${t}-carousel--${this.direction}`,`${t}-carousel--${this.effect}`,o&&`${t}-carousel--usercontrol`],style:this.cssVars},s,{onMouseenter:this.handleMouseenter,onMouseleave:this.handleMouseleave}),v(lr,{onResize:this.handleResize},{default:()=>v("div",{ref:"slidesElRef",class:`${t}-carousel__slides`,role:"listbox",style:this.translateStyle,onTransitionend:this.handleTransitionEnd},o?g.map((b,m)=>v("div",{style:r[m],key:m},Cn(v(hn,Object.assign({},l),{default:()=>b}),[[Jn,this.isActive(m)]]))):g)}),this.showDots&&u.total>1&&nh(f,u,()=>[v(Vj,{key:i+a,total:u.total,currentIndex:u.currentIndex,dotType:i,trigger:this.trigger,keyboard:this.keyboard})]),n&&nh(p,c,()=>[v(qj,null)]))}});function Qj(e){return e.reduce((t,n)=>(Kj(n)&&t.push(n),t),[])}const eV={sizeSmall:"14px",sizeMedium:"16px",sizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},V_=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({},eV),{labelLineHeight:h,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,borderRadius:p,color:t,colorChecked:l,colorDisabled:n,colorDisabledChecked:n,colorTableHeader:o,colorTableHeaderModal:r,colorTableHeaderPopover:i,checkMarkColor:t,checkMarkColorDisabled:a,checkMarkColorDisabledChecked:a,border:`1px solid ${s}`,borderDisabled:`1px solid ${s}`,borderDisabledChecked:`1px solid ${s}`,borderChecked:`1px solid ${l}`,borderFocus:`1px solid ${l}`,boxShadowFocus:`0 0 0 2px ${Me(l,{alpha:.3})}`,textColor:c,textColorDisabled:a})},tV={name:"Checkbox",common:bt,self:V_},W_=tV,nV={name:"Checkbox",common:He,self(e){const{cardColor:t}=e,n=V_(e);return n.color="#0000",n.checkMarkColor=t,n}},Ua=nV,oV=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"}},rV={name:"Cascader",common:He,peers:{InternalSelectMenu:ll,InternalSelection:em,Scrollbar:jn,Checkbox:Ua,Empty:Ru},self:oV},iV=rV,aV=v("svg",{viewBox:"0 0 64 64",class:"check-icon"},v("path",{d:"M50.42,16.76L22.34,39.45l-8.1-11.46c-1.12-1.58-3.3-1.96-4.88-0.84c-1.58,1.12-1.95,3.3-0.84,4.88l10.26,14.51 c0.56,0.79,1.42,1.31,2.38,1.45c0.16,0.02,0.32,0.03,0.48,0.03c0.8,0,1.57-0.27,2.2-0.78l30.99-25.03c1.5-1.21,1.74-3.42,0.52-4.92 C54.13,15.78,51.93,15.55,50.42,16.76z"})),sV=v("svg",{viewBox:"0 0 100 100",class:"line-icon"},v("path",{d:"M80.2,55.5H21.4c-2.8,0-5.1-2.5-5.1-5.5l0,0c0-3,2.3-5.5,5.1-5.5h58.7c2.8,0,5.1,2.5,5.1,5.5l0,0C85.2,53.1,82.9,55.5,80.2,55.5z"})),U_="n-checkbox-group",lV={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]},cV=me({name:"CheckboxGroup",props:lV,setup(e){const{mergedClsPrefixRef:t}=it(e),n=dr(e),{mergedSizeRef:o,mergedDisabledRef:r}=n,i=F(e.defaultValue),a=L(()=>e.value),s=ln(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:g,"onUpdate:value":b,onUpdateValue:m}=e;if(Array.isArray(s.value)){const x=Array.from(s.value),S=x.findIndex(_=>_===f);d?~S||(x.push(f),m&&Re(m,x,{actionType:"check",value:f}),b&&Re(b,x,{actionType:"check",value:f}),p(),h(),i.value=x,g&&Re(g,x)):~S&&(x.splice(S,1),m&&Re(m,x,{actionType:"uncheck",value:f}),b&&Re(b,x,{actionType:"uncheck",value:f}),g&&Re(g,x),i.value=x,p(),h())}else d?(m&&Re(m,[f],{actionType:"check",value:f}),b&&Re(b,[f],{actionType:"check",value:f}),g&&Re(g,[f]),i.value=[f],p(),h()):(m&&Re(m,[],{actionType:"uncheck",value:f}),b&&Re(b,[],{actionType:"uncheck",value:f}),g&&Re(g,[]),i.value=[],p(),h())}return lt(U_,{checkedCountRef:l,maxRef:je(e,"max"),minRef:je(e,"min"),valueSetRef:c,disabledRef:r,mergedSizeRef:o,toggleCheckbox:u}),{mergedClsPrefix:t}},render(){return v("div",{class:`${this.mergedClsPrefix}-checkbox-group`,role:"group"},this.$slots)}}),uV=U([z("checkbox",` + `)])])]),rV=["transitionDuration","transitionTimingFunction"],iV=Object.assign(Object.assign({},Be.props),{defaultIndex:{type:Number,default:0},currentIndex:Number,showArrow:Boolean,dotType:{type:String,default:"dot"},dotPlacement:{type:String,default:"bottom"},slidesPerView:{type:[Number,String],default:1},spaceBetween:{type:Number,default:0},centeredSlides:Boolean,direction:{type:String,default:"horizontal"},autoplay:Boolean,interval:{type:Number,default:5e3},loop:{type:Boolean,default:!0},effect:{type:String,default:"slide"},showDots:{type:Boolean,default:!0},trigger:{type:String,default:"click"},transitionStyle:{type:Object,default:()=>({transitionDuration:"300ms"})},transitionProps:Object,draggable:Boolean,prevSlideStyle:[Object,String],nextSlideStyle:[Object,String],touchable:{type:Boolean,default:!0},mousewheel:Boolean,keyboard:Boolean,"onUpdate:currentIndex":Function,onUpdateCurrentIndex:Function});let Wd=!1;const aV=ge({name:"Carousel",props:iV,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=W(null),r=W(null),i=W([]),a={value:[]},s=L(()=>e.direction==="vertical"),l=L(()=>s.value?"height":"width"),c=L(()=>s.value?"bottom":"right"),u=L(()=>e.effect==="slide"),d=L(()=>e.loop&&e.slidesPerView===1&&u.value),f=L(()=>e.effect==="custom"),p=L(()=>!u.value||e.centeredSlides?1:e.slidesPerView),h=L(()=>f.value?1:e.slidesPerView),m=L(()=>p.value==="auto"||e.slidesPerView==="auto"&&e.centeredSlides),v=W({width:0,height:0}),b=L(()=>{const{value:Se}=i;if(!Se.length)return[];const{value:He}=m;if(He)return Se.map(se=>D0(se));const{value:Qe}=h,{value:ht}=v,{value:gt}=l;let ut=ht[gt];if(Qe!=="auto"){const{spaceBetween:se}=e,Re=ut-(Qe-1)*se,ot=1/Math.max(1,Qe);ut=Re*ot}const Rt=Object.assign(Object.assign({},ht),{[gt]:ut});return Se.map(()=>Rt)}),w=L(()=>{const{value:Se}=b;if(!Se.length)return[];const{centeredSlides:He,spaceBetween:Qe}=e,{value:ht}=l,{[ht]:gt}=v.value;let ut=0;return Se.map(({[ht]:Rt})=>{let se=ut;return He&&(se+=(Rt-gt)/2),ut+=Rt+Qe,se})}),C=W(!1),S=L(()=>{const{transitionStyle:Se}=e;return Se?Xn(Se,rV):{}}),_=L(()=>f.value?0:Gj(S.value.transitionDuration)),x=L(()=>{const{value:Se}=i;if(!Se.length)return[];const He=!(m.value||h.value===1),Qe=Rt=>{if(He){const{value:se}=l;return{[se]:`${b.value[Rt][se]}px`}}};if(f.value)return Se.map((Rt,se)=>Qe(se));const{effect:ht,spaceBetween:gt}=e,{value:ut}=c;return Se.reduce((Rt,se,Re)=>{const ot=Object.assign(Object.assign({},Qe(Re)),{[`margin-${ut}`]:`${gt}px`});return Rt.push(ot),C.value&&(ht==="fade"||ht==="card")&&Object.assign(ot,S.value),Rt},[])}),y=L(()=>{const{value:Se}=p,{length:He}=i.value;if(Se!=="auto")return Math.max(He-Se,0)+1;{const{value:Qe}=b,{length:ht}=Qe;if(!ht)return He;const{value:gt}=w,{value:ut}=l,Rt=v.value[ut];let se=Qe[Qe.length-1][ut],Re=ht;for(;Re>1&&seKj(y.value,d.value)),P=Vd(e.defaultIndex,d.value),T=W(M0(P,y.value,d.value)),$=sn(Ve(e,"currentIndex"),T),R=L(()=>Vd($.value,d.value));function K(Se){var He,Qe;Se=Nl(Se,0,y.value-1);const ht=M0(Se,y.value,d.value),{value:gt}=$;ht!==$.value&&(T.value=ht,(He=e["onUpdate:currentIndex"])===null||He===void 0||He.call(e,ht,gt),(Qe=e.onUpdateCurrentIndex)===null||Qe===void 0||Qe.call(e,ht,gt))}function H(Se=R.value){return Uj(Se,y.value,e.loop)}function D(Se=R.value){return qj(Se,y.value,e.loop)}function M(Se){const He=be(Se);return He!==null&&H()===He}function Y(Se){const He=be(Se);return He!==null&&D()===He}function Q(Se){return R.value===be(Se)}function de(Se){return $.value===Se}function he(){return H()===null}function B(){return D()===null}function E(Se){const He=Nl(Vd(Se,d.value),0,y.value);(Se!==$.value||He!==R.value)&&K(He)}function A(){const Se=H();Se!==null&&K(Se)}function G(){const Se=D();Se!==null&&K(Se)}function ne(){(!J||!d.value)&&A()}function ye(){(!J||!d.value)&&G()}let J=!1,xe=0;const j=W({});function ve(Se,He=0){j.value=Object.assign({},S.value,{transform:s.value?`translateY(${-Se}px)`:`translateX(${-Se}px)`,transitionDuration:`${He}ms`})}function Oe(Se=0){u.value?Le(R.value,Se):xe!==0&&(!J&&Se>0&&(J=!0),ve(xe=0,Se))}function Le(Se,He){const Qe=F(Se);Qe!==xe&&He>0&&(J=!0),xe=F(R.value),ve(Qe,He)}function F(Se){let He;return Se>=y.value-1?He=O():He=w.value[Se]||0,He}function O(){if(p.value==="auto"){const{value:Se}=l,{[Se]:He}=v.value,{value:Qe}=w,ht=Qe[Qe.length-1];let gt;if(ht===void 0)gt=He;else{const{value:ut}=b;gt=ht+ut[ut.length-1][Se]}return gt-He}else{const{value:Se}=w;return Se[y.value-1]||0}}const re={currentIndexRef:$,to:E,prev:ne,next:ye,isVertical:()=>s.value,isHorizontal:()=>!s.value,isPrev:M,isNext:Y,isActive:Q,isPrevDisabled:he,isNextDisabled:B,getSlideIndex:be,getSlideStyle:Pe,addSlide:_e,removeSlide:ee,onCarouselItemClick:I};Yj(re);function _e(Se){Se&&i.value.push(Se)}function ee(Se){if(!Se)return;const He=be(Se);He!==-1&&i.value.splice(He,1)}function be(Se){return typeof Se=="number"?Se:Se?i.value.indexOf(Se):-1}function Pe(Se){const He=be(Se);if(He!==-1){const Qe=[x.value[He]],ht=re.isPrev(He),gt=re.isNext(He);return ht&&Qe.push(e.prevSlideStyle||""),gt&&Qe.push(e.nextSlideStyle||""),Fr(Qe)}}function I(Se,He){let Qe=!J&&!De&&!Ue;e.effect==="card"&&Qe&&!Q(Se)&&(E(Se),Qe=!1),Qe||(He.preventDefault(),He.stopPropagation())}let N=null;function te(){N&&(clearInterval(N),N=null)}function Ce(){te(),!e.autoplay||k.value<2||(N=window.setInterval(G,e.interval))}let ae=0,fe=0,oe=0,ue=0,De=!1,Ue=!1;function ke(Se){var He;if(Wd||!(!((He=r.value)===null||He===void 0)&&He.contains(ki(Se))))return;Wd=!0,De=!0,Ue=!1,ue=Date.now(),te(),Se.type!=="touchstart"&&!Se.target.isContentEditable&&Se.preventDefault();const Qe=z0(Se)?Se.touches[0]:Se;s.value?fe=Qe.clientY:ae=Qe.clientX,e.touchable&&(It("touchmove",document,Fe),It("touchend",document,je),It("touchcancel",document,je)),e.draggable&&(It("mousemove",document,Fe),It("mouseup",document,je))}function Fe(Se){const{value:He}=s,{value:Qe}=l,ht=z0(Se)?Se.touches[0]:Se,gt=He?ht.clientY-fe:ht.clientX-ae,ut=v.value[Qe];oe=Nl(gt,-ut,ut),Se.cancelable&&Se.preventDefault(),u.value&&ve(xe-oe,0)}function je(){const{value:Se}=R;let He=Se;if(!J&&oe!==0&&u.value){const Qe=xe-oe,ht=[...w.value.slice(0,y.value-1),O()];let gt=null;for(let ut=0;utgt/2||oe/Qe>.4?He=H(Se):(oe<-gt/2||oe/Qe<-.4)&&(He=D(Se))}He!==null&&He!==Se?(Ue=!0,K(He),Ht(()=>{(!d.value||T.value!==$.value)&&Oe(_.value)})):Oe(_.value),Ae(),Ce()}function Ae(){De&&(Wd=!1),De=!1,ae=0,fe=0,oe=0,ue=0,Pt("touchmove",document,Fe),Pt("touchend",document,je),Pt("touchcancel",document,je),Pt("mousemove",document,Fe),Pt("mouseup",document,je)}function Je(){if(u.value&&J){const{value:Se}=R;Le(Se,0)}else Ce();u.value&&(j.value.transitionDuration="0ms"),J=!1}function xt(Se){if(Se.preventDefault(),J)return;let{deltaX:He,deltaY:Qe}=Se;Se.shiftKey&&!He&&(He=Qe);const ht=-1,gt=1,ut=(He||Qe)>0?gt:ht;let Rt=0,se=0;s.value?se=ut:Rt=ut;const Re=10;(se*Qe>=Re||Rt*He>=Re)&&(ut===gt&&!B()?G():ut===ht&&!he()&&A())}function X(){v.value=D0(o.value,!0),Ce()}function me(){var Se,He;m.value&&((He=(Se=b.effect).scheduler)===null||He===void 0||He.call(Se),b.effect.run())}function $e(){e.autoplay&&te()}function Ke(){e.autoplay&&Ce()}jt(()=>{Yt(Ce),requestAnimationFrame(()=>C.value=!0)}),rn(()=>{Ae(),te()}),Jh(()=>{const{value:Se}=i,{value:He}=a,Qe=new Map,ht=ut=>Qe.has(ut)?Qe.get(ut):-1;let gt=!1;for(let ut=0;utse.el===Se[ut]);Rt!==ut&&(gt=!0),Qe.set(Se[ut],Rt)}gt&&Se.sort((ut,Rt)=>ht(ut)-ht(Rt))}),ft(R,(Se,He)=>{if(Se!==He)if(Ce(),u.value){if(d.value){const{value:Qe}=y;k.value>2&&Se===Qe-2&&He===1?Se=0:Se===1&&He===Qe-2&&(Se=Qe-1)}Le(Se,_.value)}else Oe()},{immediate:!0}),ft([d,p],()=>void Ht(()=>{K(R.value)})),ft(w,()=>{u.value&&Oe()},{deep:!0}),ft(u,Se=>{Se?Oe():(J=!1,ve(xe=0))});const Xe=L(()=>({onTouchstartPassive:e.touchable?ke:void 0,onMousedown:e.draggable?ke:void 0,onWheel:e.mousewheel?xt:void 0})),Ze=L(()=>Object.assign(Object.assign({},Xn(re,["to","prev","next","isPrevDisabled","isNextDisabled"])),{total:k.value,currentIndex:$.value})),tt=L(()=>({total:k.value,currentIndex:$.value,to:re.to})),it={getCurrentIndex:()=>$.value,to:E,prev:A,next:G},yt=Be("Carousel","-carousel",oV,Hj,e,t),on=L(()=>{const{common:{cubicBezierEaseInOut:Se},self:{dotSize:He,dotColor:Qe,dotColorActive:ht,dotColorFocus:gt,dotLineWidth:ut,dotLineWidthActive:Rt,arrowColor:se}}=yt.value;return{"--n-bezier":Se,"--n-dot-color":Qe,"--n-dot-color-focus":gt,"--n-dot-color-active":ht,"--n-dot-size":He,"--n-dot-line-width":ut,"--n-dot-line-width-active":Rt,"--n-arrow-color":se}}),Dt=n?kt("carousel",void 0,on,e):void 0;return Object.assign(Object.assign({mergedClsPrefix:t,selfElRef:o,slidesElRef:r,slideVNodes:a,duplicatedable:d,userWantsControl:f,autoSlideSize:m,realIndex:R,slideStyles:x,translateStyle:j,slidesControlListeners:Xe,handleTransitionEnd:Je,handleResize:X,handleSlideResize:me,handleMouseenter:$e,handleMouseleave:Ke,isActive:de,arrowSlotProps:Ze,dotSlotProps:tt},it),{cssVars:n?void 0:on,themeClass:Dt==null?void 0:Dt.themeClass,onRender:Dt==null?void 0:Dt.onRender})},render(){var e;const{mergedClsPrefix:t,showArrow:n,userWantsControl:o,slideStyles:r,dotType:i,dotPlacement:a,slidesControlListeners:s,transitionProps:l={},arrowSlotProps:c,dotSlotProps:u,$slots:{default:d,dots:f,arrow:p}}=this,h=d&&_a(d())||[];let m=sV(h);return m.length||(m=h.map(v=>g(nV,null,{default:()=>ao(v)}))),this.duplicatedable&&(m=Wj(m)),this.slideVNodes.value=m,this.autoSlideSize&&(m=m.map(v=>g(sr,{onResize:this.handleSlideResize},{default:()=>v}))),(e=this.onRender)===null||e===void 0||e.call(this),g("div",Object.assign({ref:"selfElRef",class:[this.themeClass,`${t}-carousel`,this.direction==="vertical"&&`${t}-carousel--vertical`,this.showArrow&&`${t}-carousel--show-arrow`,`${t}-carousel--${a}`,`${t}-carousel--${this.direction}`,`${t}-carousel--${this.effect}`,o&&`${t}-carousel--usercontrol`],style:this.cssVars},s,{onMouseenter:this.handleMouseenter,onMouseleave:this.handleMouseleave}),g(sr,{onResize:this.handleResize},{default:()=>g("div",{ref:"slidesElRef",class:`${t}-carousel__slides`,role:"listbox",style:this.translateStyle,onTransitionend:this.handleTransitionEnd},o?m.map((v,b)=>g("div",{style:r[b],key:b},dn(g(fn,Object.assign({},l),{default:()=>v}),[[Mn,this.isActive(b)]]))):m)}),this.showDots&&u.total>1&&rh(f,u,()=>[g(Zj,{key:i+a,total:u.total,currentIndex:u.currentIndex,dotType:i,trigger:this.trigger,keyboard:this.keyboard})]),n&&rh(p,c,()=>[g(eV,null)]))}});function sV(e){return e.reduce((t,n)=>(tV(n)&&t.push(n),t),[])}const lV={sizeSmall:"14px",sizeMedium:"16px",sizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},Z_=e=>{const{baseColor:t,inputColorDisabled:n,cardColor:o,modalColor:r,popoverColor:i,textColorDisabled:a,borderColor:s,primaryColor:l,textColor2:c,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,borderRadiusSmall:p,lineHeight:h}=e;return Object.assign(Object.assign({},lV),{labelLineHeight:h,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,borderRadius:p,color:t,colorChecked:l,colorDisabled:n,colorDisabledChecked:n,colorTableHeader:o,colorTableHeaderModal:r,colorTableHeaderPopover:i,checkMarkColor:t,checkMarkColorDisabled:a,checkMarkColorDisabledChecked:a,border:`1px solid ${s}`,borderDisabled:`1px solid ${s}`,borderDisabledChecked:`1px solid ${s}`,borderChecked:`1px solid ${l}`,borderFocus:`1px solid ${l}`,boxShadowFocus:`0 0 0 2px ${Me(l,{alpha:.3})}`,textColor:c,textColorDisabled:a})},cV={name:"Checkbox",common:bt,self:Z_},J_=cV,uV={name:"Checkbox",common:Ne,self(e){const{cardColor:t}=e,n=Z_(e);return n.color="#0000",n.checkMarkColor=t,n}},ja=uV,dV=e=>{const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:r,textColor3:i,primaryColor:a,textColorDisabled:s,dividerColor:l,hoverColor:c,fontSizeMedium:u,heightMedium:d}=e;return{menuBorderRadius:t,menuColor:o,menuBoxShadow:n,menuDividerColor:l,menuHeight:"calc(var(--n-option-height) * 6.6)",optionArrowColor:i,optionHeight:d,optionFontSize:u,optionColorHover:c,optionTextColor:r,optionTextColorActive:a,optionTextColorDisabled:s,optionCheckMarkColor:a,loadingColor:a,columnWidth:"180px"}},fV={name:"Cascader",common:Ne,peers:{InternalSelectMenu:ul,InternalSelection:em,Scrollbar:Vn,Checkbox:ja,Empty:$u},self:dV},hV=fV,pV=g("svg",{viewBox:"0 0 64 64",class:"check-icon"},g("path",{d:"M50.42,16.76L22.34,39.45l-8.1-11.46c-1.12-1.58-3.3-1.96-4.88-0.84c-1.58,1.12-1.95,3.3-0.84,4.88l10.26,14.51 c0.56,0.79,1.42,1.31,2.38,1.45c0.16,0.02,0.32,0.03,0.48,0.03c0.8,0,1.57-0.27,2.2-0.78l30.99-25.03c1.5-1.21,1.74-3.42,0.52-4.92 C54.13,15.78,51.93,15.55,50.42,16.76z"})),mV=g("svg",{viewBox:"0 0 100 100",class:"line-icon"},g("path",{d:"M80.2,55.5H21.4c-2.8,0-5.1-2.5-5.1-5.5l0,0c0-3,2.3-5.5,5.1-5.5h58.7c2.8,0,5.1,2.5,5.1,5.5l0,0C85.2,53.1,82.9,55.5,80.2,55.5z"})),Q_="n-checkbox-group",gV={min:Number,max:Number,size:String,value:Array,defaultValue:{type:Array,default:null},disabled:{type:Boolean,default:void 0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onChange:[Function,Array]},vV=ge({name:"CheckboxGroup",props:gV,setup(e){const{mergedClsPrefixRef:t}=st(e),n=fr(e),{mergedSizeRef:o,mergedDisabledRef:r}=n,i=W(e.defaultValue),a=L(()=>e.value),s=sn(a,i),l=L(()=>{var d;return((d=s.value)===null||d===void 0?void 0:d.length)||0}),c=L(()=>Array.isArray(s.value)?new Set(s.value):new Set);function u(d,f){const{nTriggerFormInput:p,nTriggerFormChange:h}=n,{onChange:m,"onUpdate:value":v,onUpdateValue:b}=e;if(Array.isArray(s.value)){const w=Array.from(s.value),C=w.findIndex(S=>S===f);d?~C||(w.push(f),b&&Ee(b,w,{actionType:"check",value:f}),v&&Ee(v,w,{actionType:"check",value:f}),p(),h(),i.value=w,m&&Ee(m,w)):~C&&(w.splice(C,1),b&&Ee(b,w,{actionType:"uncheck",value:f}),v&&Ee(v,w,{actionType:"uncheck",value:f}),m&&Ee(m,w),i.value=w,p(),h())}else d?(b&&Ee(b,[f],{actionType:"check",value:f}),v&&Ee(v,[f],{actionType:"check",value:f}),m&&Ee(m,[f]),i.value=[f],p(),h()):(b&&Ee(b,[],{actionType:"uncheck",value:f}),v&&Ee(v,[],{actionType:"uncheck",value:f}),m&&Ee(m,[]),i.value=[],p(),h())}return at(Q_,{checkedCountRef:l,maxRef:Ve(e,"max"),minRef:Ve(e,"min"),valueSetRef:c,disabledRef:r,mergedSizeRef:o,toggleCheckbox:u}),{mergedClsPrefix:t}},render(){return g("div",{class:`${this.mergedClsPrefix}-checkbox-group`,role:"group"},this.$slots)}}),bV=q([z("checkbox",` font-size: var(--n-font-size); outline: none; cursor: pointer; @@ -1594,23 +1611,23 @@ ${t} word-break: break-word; line-height: var(--n-size); --n-merged-color-table: var(--n-color-table); - `,[Z("show-label","line-height: var(--n-label-line-height);"),U("&:hover",[z("checkbox-box",[V("border","border: var(--n-border-checked);")])]),U("&:focus:not(:active)",[z("checkbox-box",[V("border",` + `,[Z("show-label","line-height: var(--n-label-line-height);"),q("&:hover",[z("checkbox-box",[V("border","border: var(--n-border-checked);")])]),q("&:focus:not(:active)",[z("checkbox-box",[V("border",` border: var(--n-border-focus); box-shadow: var(--n-box-shadow-focus); `)])]),Z("inside-table",[z("checkbox-box",` background-color: var(--n-merged-color-table); `)]),Z("checked",[z("checkbox-box",` background-color: var(--n-color-checked); - `,[z("checkbox-icon",[U(".check-icon",` + `,[z("checkbox-icon",[q(".check-icon",` opacity: 1; transform: scale(1); - `)])])]),Z("indeterminate",[z("checkbox-box",[z("checkbox-icon",[U(".check-icon",` + `)])])]),Z("indeterminate",[z("checkbox-box",[z("checkbox-icon",[q(".check-icon",` opacity: 0; transform: scale(.5); - `),U(".line-icon",` + `),q(".line-icon",` opacity: 1; transform: scale(1); - `)])])]),Z("checked, indeterminate",[U("&:focus:not(:active)",[z("checkbox-box",[V("border",` + `)])])]),Z("checked, indeterminate",[q("&:focus:not(:active)",[z("checkbox-box",[V("border",` border: var(--n-border-checked); box-shadow: var(--n-box-shadow-focus); `)])]),z("checkbox-box",` @@ -1619,11 +1636,11 @@ ${t} border-top: 0; `,[V("border",{border:"var(--n-border-checked)"})])]),Z("disabled",{cursor:"not-allowed"},[Z("checked",[z("checkbox-box",` background-color: var(--n-color-disabled-checked); - `,[V("border",{border:"var(--n-border-disabled-checked)"}),z("checkbox-icon",[U(".check-icon, .line-icon",{fill:"var(--n-check-mark-color-disabled-checked)"})])])]),z("checkbox-box",` + `,[V("border",{border:"var(--n-border-disabled-checked)"}),z("checkbox-icon",[q(".check-icon, .line-icon",{fill:"var(--n-check-mark-color-disabled-checked)"})])])]),z("checkbox-box",` background-color: var(--n-color-disabled); `,[V("border",` border: var(--n-border-disabled); - `),z("checkbox-icon",[U(".check-icon, .line-icon",` + `),z("checkbox-icon",[q(".check-icon, .line-icon",` fill: var(--n-check-mark-color-disabled); `)])]),V("label",` color: var(--n-text-color-disabled); @@ -1666,7 +1683,7 @@ ${t} right: 1px; top: 1px; bottom: 1px; - `,[U(".check-icon, .line-icon",` + `,[q(".check-icon, .line-icon",` width: 100%; fill: var(--n-check-mark-color); opacity: 0; @@ -1684,13 +1701,13 @@ ${t} -webkit-user-select: none; padding: var(--n-label-padding); font-weight: var(--n-label-font-weight); - `,[U("&:empty",{display:"none"})])]),nl(z("checkbox",` + `,[q("&:empty",{display:"none"})])]),rl(z("checkbox",` --n-merged-color-table: var(--n-color-table-modal); - `)),yu(z("checkbox",` + `)),Cu(z("checkbox",` --n-merged-color-table: var(--n-color-table-popover); - `))]),dV=Object.assign(Object.assign({},Be.props),{size:String,checked:{type:[Boolean,String,Number],default:void 0},defaultChecked:{type:[Boolean,String,Number],default:!1},value:[String,Number],disabled:{type:Boolean,default:void 0},indeterminate:Boolean,label:String,focusable:{type:Boolean,default:!0},checkedValue:{type:[Boolean,String,Number],default:!0},uncheckedValue:{type:[Boolean,String,Number],default:!1},"onUpdate:checked":[Function,Array],onUpdateChecked:[Function,Array],privateInsideTable:Boolean,onChange:[Function,Array]}),dl=me({name:"Checkbox",props:dV,setup(e){const t=F(null),{mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=it(e),i=dr(e,{mergedSize(C){const{size:y}=e;if(y!==void 0)return y;if(l){const{value:k}=l.mergedSizeRef;if(k!==void 0)return k}if(C){const{mergedSize:k}=C;if(k!==void 0)return k.value}return"medium"},mergedDisabled(C){const{disabled:y}=e;if(y!==void 0)return y;if(l){if(l.disabledRef.value)return!0;const{maxRef:{value:k},checkedCountRef:R}=l;if(k!==void 0&&R.value>=k&&!f.value)return!0;const{minRef:{value:$}}=l;if($!==void 0&&R.value<=$&&f.value)return!0}return C?C.disabled.value:!1}}),{mergedDisabledRef:a,mergedSizeRef:s}=i,l=We(U_,null),c=F(e.defaultChecked),u=je(e,"checked"),d=ln(u,c),f=St(()=>{if(l){const C=l.valueSetRef.value;return C&&e.value!==void 0?C.has(e.value):!1}else return d.value===e.checkedValue}),p=Be("Checkbox","-checkbox",uV,W_,e,n);function h(C){if(l&&e.value!==void 0)l.toggleCheckbox(!f.value,e.value);else{const{onChange:y,"onUpdate:checked":k,onUpdateChecked:R}=e,{nTriggerFormInput:$,nTriggerFormChange:I}=i,A=f.value?e.uncheckedValue:e.checkedValue;k&&Re(k,A,C),R&&Re(R,A,C),y&&Re(y,A,C),$(),I(),c.value=A}}function g(C){a.value||h(C)}function b(C){if(!a.value)switch(C.key){case" ":case"Enter":h(C)}}function m(C){switch(C.key){case" ":C.preventDefault()}}const x={focus:()=>{var C;(C=t.value)===null||C===void 0||C.focus()},blur:()=>{var C;(C=t.value)===null||C===void 0||C.blur()}},S=pn("Checkbox",r,n),_=L(()=>{const{value:C}=s,{common:{cubicBezierEaseInOut:y},self:{borderRadius:k,color:R,colorChecked:$,colorDisabled:I,colorTableHeader:A,colorTableHeaderModal:K,colorTableHeaderPopover:B,checkMarkColor:M,checkMarkColorDisabled:D,border:Y,borderFocus:Q,borderDisabled:ue,borderChecked:le,boxShadowFocus:N,textColor:E,textColorDisabled:O,checkMarkColorDisabledChecked:q,colorDisabledChecked:ne,borderDisabledChecked:ve,labelPadding:J,labelLineHeight:be,labelFontWeight:H,[ke("fontSize",C)]:ge,[ke("size",C)]:Ie}}=p.value;return{"--n-label-line-height":be,"--n-label-font-weight":H,"--n-size":Ie,"--n-bezier":y,"--n-border-radius":k,"--n-border":Y,"--n-border-checked":le,"--n-border-focus":Q,"--n-border-disabled":ue,"--n-border-disabled-checked":ve,"--n-box-shadow-focus":N,"--n-color":R,"--n-color-checked":$,"--n-color-table":A,"--n-color-table-modal":K,"--n-color-table-popover":B,"--n-color-disabled":I,"--n-color-disabled-checked":ne,"--n-text-color":E,"--n-text-color-disabled":O,"--n-check-mark-color":M,"--n-check-mark-color-disabled":D,"--n-check-mark-color-disabled-checked":q,"--n-font-size":ge,"--n-label-padding":J}}),w=o?kt("checkbox",L(()=>s.value[0]),_,e):void 0;return Object.assign(i,x,{rtlEnabled:S,selfRef:t,mergedClsPrefix:n,mergedDisabled:a,renderedChecked:f,mergedTheme:p,labelId:Ii(),handleClick:g,handleKeyUp:b,handleKeyDown:m,cssVars:o?void 0:_,themeClass:w==null?void 0:w.themeClass,onRender:w==null?void 0:w.onRender})},render(){var e;const{$slots:t,renderedChecked:n,mergedDisabled:o,indeterminate:r,privateInsideTable:i,cssVars:a,labelId:s,label:l,mergedClsPrefix:c,focusable:u,handleKeyUp:d,handleKeyDown:f,handleClick:p}=this;(e=this.onRender)===null||e===void 0||e.call(this);const h=Et(t.default,g=>l||g?v("span",{class:`${c}-checkbox__label`,id:s},l||g):null);return v("div",{ref:"selfRef",class:[`${c}-checkbox`,this.themeClass,this.rtlEnabled&&`${c}-checkbox--rtl`,n&&`${c}-checkbox--checked`,o&&`${c}-checkbox--disabled`,r&&`${c}-checkbox--indeterminate`,i&&`${c}-checkbox--inside-table`,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:()=>{Ot("selectstart",window,g=>{g.preventDefault()},{once:!0})}},v("div",{class:`${c}-checkbox-box-wrapper`}," ",v("div",{class:`${c}-checkbox-box`},v(Hi,null,{default:()=>this.indeterminate?v("div",{key:"indeterminate",class:`${c}-checkbox-icon`},sV):v("div",{key:"check",class:`${c}-checkbox-icon`},aV)}),v("div",{class:`${c}-checkbox-box__border`}))),h)}}),fV={name:"Code",common:He,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}}},q_=fV,hV=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"}},pV={name:"Collapse",common:He,self:hV},mV=pV,gV=e=>{const{cubicBezierEaseInOut:t}=e;return{bezier:t}},vV={name:"CollapseTransition",common:He,self:gV},bV=vV,yV={abstract:Boolean,bordered:{type:Boolean,default:void 0},clsPrefix:{type:String,default:Gs},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:()=>(sr("config-provider","`as` is deprecated, please use `tag` instead."),!0),default:void 0}},K_=me({name:"ConfigProvider",alias:["App"],props:yV,setup(e){const t=We(wo,null),n=L(()=>{const{theme:h}=e;if(h===null)return;const g=t==null?void 0:t.mergedThemeRef.value;return h===void 0?g:g===void 0?h:Object.assign({},g,h)}),o=L(()=>{const{themeOverrides:h}=e;if(h!==null){if(h===void 0)return t==null?void 0:t.mergedThemeOverridesRef.value;{const g=t==null?void 0:t.mergedThemeOverridesRef.value;return g===void 0?h:ds({},g,h)}}}),r=St(()=>{const{namespace:h}=e;return h===void 0?t==null?void 0:t.mergedNamespaceRef.value:h}),i=St(()=>{const{bordered:h}=e;return h===void 0?t==null?void 0:t.mergedBorderedRef.value:h}),a=L(()=>{const{icons:h}=e;return h===void 0?t==null?void 0:t.mergedIconsRef.value:h}),s=L(()=>{const{componentOptions:h}=e;return h!==void 0?h:t==null?void 0:t.mergedComponentPropsRef.value}),l=L(()=>{const{clsPrefix:h}=e;return h!==void 0?h:t?t.mergedClsPrefixRef.value:Gs}),c=L(()=>{var h;const{rtl:g}=e;if(g===void 0)return t==null?void 0:t.mergedRtlRef.value;const b={};for(const m of g)b[m.name]=va(m),(h=m.peers)===null||h===void 0||h.forEach(x=>{x.name in b||(b[x.name]=va(x))});return b}),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:g}=o,b=g&&Object.keys(g).length!==0,m=h==null?void 0:h.name;return m?b?`${m}-${Vs(JSON.stringify(o.value))}`:m:b?Vs(JSON.stringify(o.value)):""});return lt(wo,{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):v(this.as||this.tag,{class:`${this.mergedClsPrefix||Gs}-config-provider`},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}}),xV=e=>1-Math.pow(1-e,5);function CV(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)*xV(c/o);if(c===o){i();return}r(u),requestAnimationFrame(a)},s=performance.now();a()}const wV={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},_V=me({name:"NumberAnimation",props:wV,setup(e){const{localeRef:t}=Li("name"),{duration:n}=e,o=F(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&&CV({from:f,to:p,duration:n,onUpdate:a,onFinish:s})},c=L(()=>{var f;const h=IL(o.value,e.precision).toFixed(e.precision).split("."),g=new Intl.NumberFormat(r.value),b=(f=g.formatToParts(.5).find(S=>S.type==="decimal"))===null||f===void 0?void 0:f.value,m=e.showSeparator?g.format(Number(h[0])):h[0],x=h[1];return{integer:m,decimal:x,decimalSeparator:b}});function u(){i||l()}return Ft(()=>{nn(()=>{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:He,peers:{Popover:Ui,InternalSelectMenu:ll}},G_=SV;function kV(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const PV={name:"Popselect",common:bt,peers:{Popover:Wa,InternalSelectMenu:Qp},self:kV},im=PV,Y_="n-popselect",TV=z("popselect-menu",` + `))]),yV=Object.assign(Object.assign({},Be.props),{size:String,checked:{type:[Boolean,String,Number],default:void 0},defaultChecked:{type:[Boolean,String,Number],default:!1},value:[String,Number],disabled:{type:Boolean,default:void 0},indeterminate:Boolean,label:String,focusable:{type:Boolean,default:!0},checkedValue:{type:[Boolean,String,Number],default:!0},uncheckedValue:{type:[Boolean,String,Number],default:!1},"onUpdate:checked":[Function,Array],onUpdateChecked:[Function,Array],privateInsideTable:Boolean,onChange:[Function,Array]}),hl=ge({name:"Checkbox",props:yV,setup(e){const t=W(null),{mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=fr(e,{mergedSize(x){const{size:y}=e;if(y!==void 0)return y;if(l){const{value:k}=l.mergedSizeRef;if(k!==void 0)return k}if(x){const{mergedSize:k}=x;if(k!==void 0)return k.value}return"medium"},mergedDisabled(x){const{disabled:y}=e;if(y!==void 0)return y;if(l){if(l.disabledRef.value)return!0;const{maxRef:{value:k},checkedCountRef:P}=l;if(k!==void 0&&P.value>=k&&!f.value)return!0;const{minRef:{value:T}}=l;if(T!==void 0&&P.value<=T&&f.value)return!0}return x?x.disabled.value:!1}}),{mergedDisabledRef:a,mergedSizeRef:s}=i,l=We(Q_,null),c=W(e.defaultChecked),u=Ve(e,"checked"),d=sn(u,c),f=St(()=>{if(l){const x=l.valueSetRef.value;return x&&e.value!==void 0?x.has(e.value):!1}else return d.value===e.checkedValue}),p=Be("Checkbox","-checkbox",bV,J_,e,n);function h(x){if(l&&e.value!==void 0)l.toggleCheckbox(!f.value,e.value);else{const{onChange:y,"onUpdate:checked":k,onUpdateChecked:P}=e,{nTriggerFormInput:T,nTriggerFormChange:$}=i,R=f.value?e.uncheckedValue:e.checkedValue;k&&Ee(k,R,x),P&&Ee(P,R,x),y&&Ee(y,R,x),T(),$(),c.value=R}}function m(x){a.value||h(x)}function v(x){if(!a.value)switch(x.key){case" ":case"Enter":h(x)}}function b(x){switch(x.key){case" ":x.preventDefault()}}const w={focus:()=>{var x;(x=t.value)===null||x===void 0||x.focus()},blur:()=>{var x;(x=t.value)===null||x===void 0||x.blur()}},C=pn("Checkbox",r,n),S=L(()=>{const{value:x}=s,{common:{cubicBezierEaseInOut:y},self:{borderRadius:k,color:P,colorChecked:T,colorDisabled:$,colorTableHeader:R,colorTableHeaderModal:K,colorTableHeaderPopover:H,checkMarkColor:D,checkMarkColorDisabled:M,border:Y,borderFocus:Q,borderDisabled:de,borderChecked:he,boxShadowFocus:B,textColor:E,textColorDisabled:A,checkMarkColorDisabledChecked:G,colorDisabledChecked:ne,borderDisabledChecked:ye,labelPadding:J,labelLineHeight:xe,labelFontWeight:j,[Te("fontSize",x)]:ve,[Te("size",x)]:Oe}}=p.value;return{"--n-label-line-height":xe,"--n-label-font-weight":j,"--n-size":Oe,"--n-bezier":y,"--n-border-radius":k,"--n-border":Y,"--n-border-checked":he,"--n-border-focus":Q,"--n-border-disabled":de,"--n-border-disabled-checked":ye,"--n-box-shadow-focus":B,"--n-color":P,"--n-color-checked":T,"--n-color-table":R,"--n-color-table-modal":K,"--n-color-table-popover":H,"--n-color-disabled":$,"--n-color-disabled-checked":ne,"--n-text-color":E,"--n-text-color-disabled":A,"--n-check-mark-color":D,"--n-check-mark-color-disabled":M,"--n-check-mark-color-disabled-checked":G,"--n-font-size":ve,"--n-label-padding":J}}),_=o?kt("checkbox",L(()=>s.value[0]),S,e):void 0;return Object.assign(i,w,{rtlEnabled:C,selfRef:t,mergedClsPrefix:n,mergedDisabled:a,renderedChecked:f,mergedTheme:p,labelId:Gr(),handleClick:m,handleKeyUp:v,handleKeyDown:b,cssVars:o?void 0:S,themeClass:_==null?void 0:_.themeClass,onRender:_==null?void 0:_.onRender})},render(){var e;const{$slots:t,renderedChecked:n,mergedDisabled:o,indeterminate:r,privateInsideTable:i,cssVars:a,labelId:s,label:l,mergedClsPrefix:c,focusable:u,handleKeyUp:d,handleKeyDown:f,handleClick:p}=this;(e=this.onRender)===null||e===void 0||e.call(this);const h=Et(t.default,m=>l||m?g("span",{class:`${c}-checkbox__label`,id:s},l||m):null);return g("div",{ref:"selfRef",class:[`${c}-checkbox`,this.themeClass,this.rtlEnabled&&`${c}-checkbox--rtl`,n&&`${c}-checkbox--checked`,o&&`${c}-checkbox--disabled`,r&&`${c}-checkbox--indeterminate`,i&&`${c}-checkbox--inside-table`,h&&`${c}-checkbox--show-label`],tabindex:o||!u?void 0:0,role:"checkbox","aria-checked":r?"mixed":n,"aria-labelledby":s,style:a,onKeyup:d,onKeydown:f,onClick:p,onMousedown:()=>{It("selectstart",window,m=>{m.preventDefault()},{once:!0})}},g("div",{class:`${c}-checkbox-box-wrapper`}," ",g("div",{class:`${c}-checkbox-box`},g(Ni,null,{default:()=>this.indeterminate?g("div",{key:"indeterminate",class:`${c}-checkbox-icon`},mV):g("div",{key:"check",class:`${c}-checkbox-icon`},pV)}),g("div",{class:`${c}-checkbox-box__border`}))),h)}}),xV={name:"Code",common:Ne,self(e){const{textColor2:t,fontSize:n,fontWeightStrong:o,textColor3:r}=e;return{textColor:t,fontSize:n,fontWeightStrong:o,"mono-3":"#5c6370","hue-1":"#56b6c2","hue-2":"#61aeee","hue-3":"#c678dd","hue-4":"#98c379","hue-5":"#e06c75","hue-5-2":"#be5046","hue-6":"#d19a66","hue-6-2":"#e6c07b",lineNumberTextColor:r}}},e2=xV,CV=e=>{const{fontWeight:t,textColor1:n,textColor2:o,textColorDisabled:r,dividerColor:i,fontSize:a}=e;return{titleFontSize:a,titleFontWeight:t,dividerColor:i,titleTextColor:n,titleTextColorDisabled:r,fontSize:a,textColor:o,arrowColor:o,arrowColorDisabled:r,itemMargin:"16px 0 0 0",titlePadding:"16px 0 0 0"}},wV={name:"Collapse",common:Ne,self:CV},_V=wV,SV=e=>{const{cubicBezierEaseInOut:t}=e;return{bezier:t}},kV={name:"CollapseTransition",common:Ne,self:SV},PV=kV,TV={abstract:Boolean,bordered:{type:Boolean,default:void 0},clsPrefix:{type:String,default:Xs},locale:Object,dateLocale:Object,namespace:String,rtl:Array,tag:{type:String,default:"div"},hljs:Object,katex:Object,theme:Object,themeOverrides:Object,componentOptions:Object,icons:Object,breakpoints:Object,preflightStyleDisabled:Boolean,inlineThemeDisabled:{type:Boolean,default:void 0},as:{type:String,validator:()=>(ar("config-provider","`as` is deprecated, please use `tag` instead."),!0),default:void 0}},t2=ge({name:"ConfigProvider",alias:["App"],props:TV,setup(e){const t=We(ko,null),n=L(()=>{const{theme:h}=e;if(h===null)return;const m=t==null?void 0:t.mergedThemeRef.value;return h===void 0?m:m===void 0?h:Object.assign({},m,h)}),o=L(()=>{const{themeOverrides:h}=e;if(h!==null){if(h===void 0)return t==null?void 0:t.mergedThemeOverridesRef.value;{const m=t==null?void 0:t.mergedThemeOverridesRef.value;return m===void 0?h:ls({},m,h)}}}),r=St(()=>{const{namespace:h}=e;return h===void 0?t==null?void 0:t.mergedNamespaceRef.value:h}),i=St(()=>{const{bordered:h}=e;return h===void 0?t==null?void 0:t.mergedBorderedRef.value:h}),a=L(()=>{const{icons:h}=e;return h===void 0?t==null?void 0:t.mergedIconsRef.value:h}),s=L(()=>{const{componentOptions:h}=e;return h!==void 0?h:t==null?void 0:t.mergedComponentPropsRef.value}),l=L(()=>{const{clsPrefix:h}=e;return h!==void 0?h:t?t.mergedClsPrefixRef.value:Xs}),c=L(()=>{var h;const{rtl:m}=e;if(m===void 0)return t==null?void 0:t.mergedRtlRef.value;const v={};for(const b of m)v[b.name]=$s(b),(h=b.peers)===null||h===void 0||h.forEach(w=>{w.name in v||(v[w.name]=$s(w))});return v}),u=L(()=>e.breakpoints||(t==null?void 0:t.mergedBreakpointsRef.value)),d=e.inlineThemeDisabled||(t==null?void 0:t.inlineThemeDisabled),f=e.preflightStyleDisabled||(t==null?void 0:t.preflightStyleDisabled),p=L(()=>{const{value:h}=n,{value:m}=o,v=m&&Object.keys(m).length!==0,b=h==null?void 0:h.name;return b?v?`${b}-${Us(JSON.stringify(o.value))}`:b:v?Us(JSON.stringify(o.value)):""});return at(ko,{mergedThemeHashRef:p,mergedBreakpointsRef:u,mergedRtlRef:c,mergedIconsRef:a,mergedComponentPropsRef:s,mergedBorderedRef:i,mergedNamespaceRef:r,mergedClsPrefixRef:l,mergedLocaleRef:L(()=>{const{locale:h}=e;if(h!==null)return h===void 0?t==null?void 0:t.mergedLocaleRef.value:h}),mergedDateLocaleRef:L(()=>{const{dateLocale:h}=e;if(h!==null)return h===void 0?t==null?void 0:t.mergedDateLocaleRef.value:h}),mergedHljsRef:L(()=>{const{hljs:h}=e;return h===void 0?t==null?void 0:t.mergedHljsRef.value:h}),mergedKatexRef:L(()=>{const{katex:h}=e;return h===void 0?t==null?void 0:t.mergedKatexRef.value:h}),mergedThemeRef:n,mergedThemeOverridesRef:o,inlineThemeDisabled:d||!1,preflightStyleDisabled:f||!1}),{mergedClsPrefix:l,mergedBordered:i,mergedNamespace:r,mergedTheme:n,mergedThemeOverrides:o}},render(){var e,t,n,o;return this.abstract?(o=(n=this.$slots).default)===null||o===void 0?void 0:o.call(n):g(this.as||this.tag,{class:`${this.mergedClsPrefix||Xs}-config-provider`},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}}),RV=e=>1-Math.pow(1-e,5);function EV(e){const{from:t,to:n,duration:o,onUpdate:r,onFinish:i}=e,a=()=>{const l=performance.now(),c=Math.min(l-s,o),u=t+(n-t)*RV(c/o);if(c===o){i();return}r(u),requestAnimationFrame(a)},s=performance.now();a()}const $V={to:{type:Number,default:0},precision:{type:Number,default:0},showSeparator:Boolean,locale:String,from:{type:Number,default:0},active:{type:Boolean,default:!0},duration:{type:Number,default:2e3},onFinish:Function},AV=ge({name:"NumberAnimation",props:$V,setup(e){const{localeRef:t}=Di("name"),{duration:n}=e,o=W(e.from),r=L(()=>{const{locale:f}=e;return f!==void 0?f:t.value});let i=!1;const a=f=>{o.value=f},s=()=>{var f;o.value=e.to,i=!1,(f=e.onFinish)===null||f===void 0||f.call(e)},l=(f=e.from,p=e.to)=>{i=!0,o.value=e.from,f!==p&&EV({from:f,to:p,duration:n,onUpdate:a,onFinish:s})},c=L(()=>{var f;const h=NL(o.value,e.precision).toFixed(e.precision).split("."),m=new Intl.NumberFormat(r.value),v=(f=m.formatToParts(.5).find(C=>C.type==="decimal"))===null||f===void 0?void 0:f.value,b=e.showSeparator?m.format(Number(h[0])):h[0],w=h[1];return{integer:b,decimal:w,decimalSeparator:v}});function u(){i||l()}return jt(()=>{Yt(()=>{e.active&&l()})}),Object.assign({formattedValue:c},{play:u})},render(){const{formattedValue:{integer:e,decimal:t,decimalSeparator:n}}=this;return[e,t?n:null,t]}}),IV={name:"Popselect",common:Ne,peers:{Popover:Wi,InternalSelectMenu:ul}},n2=IV;function OV(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const MV={name:"Popselect",common:bt,peers:{Popover:Ha,InternalSelectMenu:Qp},self:OV},am=MV,o2="n-popselect",zV=z("popselect-menu",` box-shadow: var(--n-menu-box-shadow); -`),am={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]},z0=qr(am),RV=me({name:"PopselectPanel",props:am,setup(e){const t=We(Y_),{mergedClsPrefixRef:n,inlineThemeDisabled:o}=it(e),r=Be("Popselect","-pop-select",TV,im,t.props,n),i=L(()=>bi(e.options,R_("value","children")));function a(f,p){const{onUpdateValue:h,"onUpdate:value":g,onChange:b}=e;h&&Re(h,f,p),g&&Re(g,f,p),b&&Re(b,f,p)}function s(f){c(f.key)}function l(f){!Vo(f,"action")&&!Vo(f,"empty")&&f.preventDefault()}function c(f){const{value:{getNode:p}}=i;if(e.multiple)if(Array.isArray(e.value)){const h=[],g=[];let b=!0;e.value.forEach(m=>{if(m===f){b=!1;return}const x=p(m);x&&(h.push(x.key),g.push(x.rawNode))}),b&&(h.push(f),g.push(p(f).rawNode)),a(h,g)}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":g,onUpdateShow:b}=t.props;g&&Re(g,!1),b&&Re(b,!1),t.setShow(!1)}jt(()=>{t.syncPosition()})}ht(je(e,"options"),()=>{jt(()=>{t.syncPosition()})});const u=L(()=>{const{self:{menuBoxShadow:f}}=r.value;return{"--n-menu-box-shadow":f}}),d=o?kt("select",void 0,u,t.props):void 0;return{mergedTheme:t.mergedThemeRef,mergedClsPrefix:n,treeMate:i,handleToggle:s,handleMenuMousedown:l,cssVars:o?void 0:u,themeClass:d==null?void 0:d.themeClass,onRender:d==null?void 0:d.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),v(v_,{clsPrefix:this.mergedClsPrefix,focusable:!0,nodeProps:this.nodeProps,class:[`${this.mergedClsPrefix}-popselect-menu`,this.themeClass],style:this.cssVars,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,multiple:this.multiple,treeMate:this.treeMate,size:this.size,value:this.value,virtualScroll:this.virtualScroll,scrollable:this.scrollable,renderLabel:this.renderLabel,onToggle:this.handleToggle,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseenter,onMousedown:this.handleMenuMousedown,showCheckmark:this.showCheckmark},{header:()=>{var t,n;return((n=(t=this.$slots).header)===null||n===void 0?void 0:n.call(t))||[]},action:()=>{var t,n;return((n=(t=this.$slots).action)===null||n===void 0?void 0:n.call(t))||[]},empty:()=>{var t,n;return((n=(t=this.$slots).empty)===null||n===void 0?void 0:n.call(t))||[]}})}}),$V=Object.assign(Object.assign(Object.assign(Object.assign({},Be.props),el($a,["showArrow","arrow"])),{placement:Object.assign(Object.assign({},$a.placement),{default:"bottom"}),trigger:{type:String,default:"hover"}}),am),fl=me({name:"Popselect",props:$V,inheritAttrs:!1,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=it(e),n=Be("Popselect","-popselect",void 0,im,e,t),o=F(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(Y_,{props:e,mergedThemeRef:n,syncPosition:r,setShow:i}),Object.assign(Object.assign({},{syncPosition:r,setShow:i}),{popoverInstRef:o,mergedTheme:n})},render(){const{mergedTheme:e}=this,t={theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:{padding:"0"},ref:"popoverInstRef",internalRenderBody:(n,o,r,i,a)=>{const{$attrs:s}=this;return v(RV,Object.assign({},s,{class:[s.class,n],style:[s.style,...r]},Xn(this.$props,z0),{ref:IC(o),onMouseenter:_s([i,s.onMouseenter]),onMouseleave:_s([a,s.onMouseleave])}),{header:()=>{var l,c;return(c=(l=this.$slots).header)===null||c===void 0?void 0:c.call(l)},action:()=>{var l,c;return(c=(l=this.$slots).action)===null||c===void 0?void 0:c.call(l)},empty:()=>{var l,c;return(c=(l=this.$slots).empty)===null||c===void 0?void 0:c.call(l)}})}};return v(cl,Object.assign({},el(this.$props,z0),t,{internalDeactivateImmediately:!0}),{trigger:()=>{var n,o;return(o=(n=this.$slots).default)===null||o===void 0?void 0:o.call(n)}})}});function X_(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const EV={name:"Select",common:bt,peers:{InternalSelection:k_,InternalSelectMenu:Qp},self:X_},Z_=EV,AV={name:"Select",common:He,peers:{InternalSelection:em,InternalSelectMenu:ll},self:X_},J_=AV,IV=U([z("select",` +`),sm={multiple:Boolean,value:{type:[String,Number,Array],default:null},cancelable:Boolean,options:{type:Array,default:()=>[]},size:{type:String,default:"medium"},scrollable:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onMouseenter:Function,onMouseleave:Function,renderLabel:Function,showCheckmark:{type:Boolean,default:void 0},nodeProps:Function,virtualScroll:Boolean,onChange:[Function,Array]},L0=Yr(sm),DV=ge({name:"PopselectPanel",props:sm,setup(e){const t=We(o2),{mergedClsPrefixRef:n,inlineThemeDisabled:o}=st(e),r=Be("Popselect","-pop-select",zV,am,t.props,n),i=L(()=>wi(e.options,D_("value","children")));function a(f,p){const{onUpdateValue:h,"onUpdate:value":m,onChange:v}=e;h&&Ee(h,f,p),m&&Ee(m,f,p),v&&Ee(v,f,p)}function s(f){c(f.key)}function l(f){!wo(f,"action")&&!wo(f,"empty")&&!wo(f,"header")&&f.preventDefault()}function c(f){const{value:{getNode:p}}=i;if(e.multiple)if(Array.isArray(e.value)){const h=[],m=[];let v=!0;e.value.forEach(b=>{if(b===f){v=!1;return}const w=p(b);w&&(h.push(w.key),m.push(w.rawNode))}),v&&(h.push(f),m.push(p(f).rawNode)),a(h,m)}else{const h=p(f);h&&a([f],[h.rawNode])}else if(e.value===f&&e.cancelable)a(null,null);else{const h=p(f);h&&a(f,h.rawNode);const{"onUpdate:show":m,onUpdateShow:v}=t.props;m&&Ee(m,!1),v&&Ee(v,!1),t.setShow(!1)}Ht(()=>{t.syncPosition()})}ft(Ve(e,"options"),()=>{Ht(()=>{t.syncPosition()})});const u=L(()=>{const{self:{menuBoxShadow:f}}=r.value;return{"--n-menu-box-shadow":f}}),d=o?kt("select",void 0,u,t.props):void 0;return{mergedTheme:t.mergedThemeRef,mergedClsPrefix:n,treeMate:i,handleToggle:s,handleMenuMousedown:l,cssVars:o?void 0:u,themeClass:d==null?void 0:d.themeClass,onRender:d==null?void 0:d.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),g(k_,{clsPrefix:this.mergedClsPrefix,focusable:!0,nodeProps:this.nodeProps,class:[`${this.mergedClsPrefix}-popselect-menu`,this.themeClass],style:this.cssVars,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,multiple:this.multiple,treeMate:this.treeMate,size:this.size,value:this.value,virtualScroll:this.virtualScroll,scrollable:this.scrollable,renderLabel:this.renderLabel,onToggle:this.handleToggle,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseenter,onMousedown:this.handleMenuMousedown,showCheckmark:this.showCheckmark},{header:()=>{var t,n;return((n=(t=this.$slots).header)===null||n===void 0?void 0:n.call(t))||[]},action:()=>{var t,n;return((n=(t=this.$slots).action)===null||n===void 0?void 0:n.call(t))||[]},empty:()=>{var t,n;return((n=(t=this.$slots).empty)===null||n===void 0?void 0:n.call(t))||[]}})}}),LV=Object.assign(Object.assign(Object.assign(Object.assign({},Be.props),Da(Pa,["showArrow","arrow"])),{placement:Object.assign(Object.assign({},Pa.placement),{default:"bottom"}),trigger:{type:String,default:"hover"}}),sm),lm=ge({name:"Popselect",props:LV,inheritAttrs:!1,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=st(e),n=Be("Popselect","-popselect",void 0,am,e,t),o=W(null);function r(){var s;(s=o.value)===null||s===void 0||s.syncPosition()}function i(s){var l;(l=o.value)===null||l===void 0||l.setShow(s)}return at(o2,{props:e,mergedThemeRef:n,syncPosition:r,setShow:i}),Object.assign(Object.assign({},{syncPosition:r,setShow:i}),{popoverInstRef:o,mergedTheme:n})},render(){const{mergedTheme:e}=this,t={theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:{padding:"0"},ref:"popoverInstRef",internalRenderBody:(n,o,r,i,a)=>{const{$attrs:s}=this;return g(DV,Object.assign({},s,{class:[s.class,n],style:[s.style,...r]},Xn(this.$props,L0),{ref:jC(o),onMouseenter:_s([i,s.onMouseenter]),onMouseleave:_s([a,s.onMouseleave])}),{header:()=>{var l,c;return(c=(l=this.$slots).header)===null||c===void 0?void 0:c.call(l)},action:()=>{var l,c;return(c=(l=this.$slots).action)===null||c===void 0?void 0:c.call(l)},empty:()=>{var l,c;return(c=(l=this.$slots).empty)===null||c===void 0?void 0:c.call(l)}})}};return g(dl,Object.assign({},Da(this.$props,L0),t,{internalDeactivateImmediately:!0}),{trigger:()=>{var n,o;return(o=(n=this.$slots).default)===null||o===void 0?void 0:o.call(n)}})}});function r2(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const FV={name:"Select",common:bt,peers:{InternalSelection:O_,InternalSelectMenu:Qp},self:r2},i2=FV,BV={name:"Select",common:Ne,peers:{InternalSelection:em,InternalSelectMenu:ul},self:r2},a2=BV,NV=q([z("select",` z-index: auto; outline: none; width: 100%; @@ -1698,15 +1715,15 @@ ${t} `),z("select-menu",` margin: 4px 0; box-shadow: var(--n-menu-box-shadow); - `,[Va({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})])]),OV=Object.assign(Object.assign({},Be.props),{to:Uo.propTo,bordered:{type:Boolean,default:void 0},clearable:Boolean,clearFilterAfterSelect:{type:Boolean,default:!0},options:{type:Array,default:()=>[]},defaultValue:{type:[String,Number,Array],default:null},keyboard:{type:Boolean,default:!0},value:[String,Number,Array],placeholder:String,menuProps:Object,multiple:Boolean,size:String,filterable:Boolean,disabled:{type:Boolean,default:void 0},remote:Boolean,loading:Boolean,filter:Function,placement:{type:String,default:"bottom-start"},widthMode:{type:String,default:"trigger"},tag:Boolean,onCreate:Function,fallbackOption:{type:[Function,Boolean],default:void 0},show:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:!0},maxTagCount:[Number,String],ellipsisTagPopoverProps:Object,consistentMenuWidth:{type:Boolean,default:!0},virtualScroll:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},childrenField:{type:String,default:"children"},renderLabel:Function,renderOption:Function,renderTag:Function,"onUpdate:value":[Function,Array],inputProps:Object,nodeProps:Function,ignoreComposition:{type:Boolean,default:!0},showOnFocus:Boolean,onUpdateValue:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onFocus:[Function,Array],onScroll:[Function,Array],onSearch:[Function,Array],onUpdateShow:[Function,Array],"onUpdate:show":[Function,Array],displayDirective:{type:String,default:"show"},resetMenuOnOptionsChange:{type:Boolean,default:!0},status:String,showCheckmark:{type:Boolean,default:!0},onChange:[Function,Array],items:Array}),Au=me({name:"Select",props:OV,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,namespaceRef:o,inlineThemeDisabled:r}=it(e),i=Be("Select","-select",IV,Z_,e,t),a=F(e.defaultValue),s=je(e,"value"),l=ln(s,a),c=F(!1),u=F(""),d=L(()=>{const{valueField:X,childrenField:pe}=e,$e=R_(X,pe);return bi(A.value,$e)}),f=L(()=>kH($.value,e.valueField,e.childrenField)),p=F(!1),h=ln(je(e,"show"),p),g=F(null),b=F(null),m=F(null),{localeRef:x}=Li("Select"),S=L(()=>{var X;return(X=e.placeholder)!==null&&X!==void 0?X:x.value.placeholder}),_=xu(e,["items","options"]),w=[],C=F([]),y=F([]),k=F(new Map),R=L(()=>{const{fallbackOption:X}=e;if(X===void 0){const{labelField:pe,valueField:$e}=e;return qe=>({[pe]:String(qe),[$e]:qe})}return X===!1?!1:pe=>Object.assign(X(pe),{value:pe})}),$=L(()=>y.value.concat(C.value).concat(_.value)),I=L(()=>{const{filter:X}=e;if(X)return X;const{labelField:pe,valueField:$e}=e;return(qe,Xe)=>{if(!Xe)return!1;const Ze=Xe[pe];if(typeof Ze=="string")return jd(qe,Ze);const nt=Xe[$e];return typeof nt=="string"?jd(qe,nt):typeof nt=="number"?jd(qe,String(nt)):!1}}),A=L(()=>{if(e.remote)return _.value;{const{value:X}=$,{value:pe}=u;return!pe.length||!e.filterable?X:SH(X,I.value,pe,e.childrenField)}});function K(X){const pe=e.remote,{value:$e}=k,{value:qe}=f,{value:Xe}=R,Ze=[];return X.forEach(nt=>{if(qe.has(nt))Ze.push(qe.get(nt));else if(pe&&$e.has(nt))Ze.push($e.get(nt));else if(Xe){const rt=Xe(nt);rt&&Ze.push(rt)}}),Ze}const B=L(()=>{if(e.multiple){const{value:X}=l;return Array.isArray(X)?K(X):[]}return null}),M=L(()=>{const{value:X}=l;return!e.multiple&&!Array.isArray(X)?X===null?null:K([X])[0]||null:null}),D=dr(e),{mergedSizeRef:Y,mergedDisabledRef:Q,mergedStatusRef:ue}=D;function le(X,pe){const{onChange:$e,"onUpdate:value":qe,onUpdateValue:Xe}=e,{nTriggerFormChange:Ze,nTriggerFormInput:nt}=D;$e&&Re($e,X,pe),Xe&&Re(Xe,X,pe),qe&&Re(qe,X,pe),a.value=X,Ze(),nt()}function N(X){const{onBlur:pe}=e,{nTriggerFormBlur:$e}=D;pe&&Re(pe,X),$e()}function E(){const{onClear:X}=e;X&&Re(X)}function O(X){const{onFocus:pe,showOnFocus:$e}=e,{nTriggerFormFocus:qe}=D;pe&&Re(pe,X),qe(),$e&&be()}function q(X){const{onSearch:pe}=e;pe&&Re(pe,X)}function ne(X){const{onScroll:pe}=e;pe&&Re(pe,X)}function ve(){var X;const{remote:pe,multiple:$e}=e;if(pe){const{value:qe}=k;if($e){const{valueField:Xe}=e;(X=B.value)===null||X===void 0||X.forEach(Ze=>{qe.set(Ze[Xe],Ze)})}else{const Xe=M.value;Xe&&qe.set(Xe[e.valueField],Xe)}}}function J(X){const{onUpdateShow:pe,"onUpdate:show":$e}=e;pe&&Re(pe,X),$e&&Re($e,X),p.value=X}function be(){Q.value||(J(!0),p.value=!0,e.filterable&&De())}function H(){J(!1)}function ge(){u.value="",y.value=w}const Ie=F(!1);function Le(){e.filterable&&(Ie.value=!0)}function P(){e.filterable&&(Ie.value=!1,h.value||ge())}function T(){Q.value||(h.value?e.filterable?De():H():be())}function W(X){var pe,$e;!(($e=(pe=m.value)===null||pe===void 0?void 0:pe.selfRef)===null||$e===void 0)&&$e.contains(X.relatedTarget)||(c.value=!1,N(X),H())}function oe(X){O(X),c.value=!0}function G(X){c.value=!0}function se(X){var pe;!((pe=g.value)===null||pe===void 0)&&pe.$el.contains(X.relatedTarget)||(c.value=!1,N(X),H())}function xe(){var X;(X=g.value)===null||X===void 0||X.focus(),H()}function ye(X){var pe;h.value&&(!((pe=g.value)===null||pe===void 0)&&pe.$el.contains(wi(X))||H())}function Ce(X){if(!Array.isArray(X))return[];if(R.value)return Array.from(X);{const{remote:pe}=e,{value:$e}=f;if(pe){const{value:qe}=k;return X.filter(Xe=>$e.has(Xe)||qe.has(Xe))}else return X.filter(qe=>$e.has(qe))}}function we(X){Ee(X.rawNode)}function Ee(X){if(Q.value)return;const{tag:pe,remote:$e,clearFilterAfterSelect:qe,valueField:Xe}=e;if(pe&&!$e){const{value:Ze}=y,nt=Ze[0]||null;if(nt){const rt=C.value;rt.length?rt.push(nt):C.value=[nt],y.value=w}}if($e&&k.value.set(X[Xe],X),e.multiple){const Ze=Ce(l.value),nt=Ze.findIndex(rt=>rt===X[Xe]);if(~nt){if(Ze.splice(nt,1),pe&&!$e){const rt=de(X[Xe]);~rt&&(C.value.splice(rt,1),qe&&(u.value=""))}}else Ze.push(X[Xe]),qe&&(u.value="");le(Ze,K(Ze))}else{if(pe&&!$e){const Ze=de(X[Xe]);~Ze?C.value=[C.value[Ze]]:C.value=w}Se(),H(),le(X[Xe],X)}}function de(X){return C.value.findIndex($e=>$e[e.valueField]===X)}function ee(X){h.value||be();const{value:pe}=X.target;u.value=pe;const{tag:$e,remote:qe}=e;if(q(pe),$e&&!qe){if(!pe){y.value=w;return}const{onCreate:Xe}=e,Ze=Xe?Xe(pe):{[e.labelField]:pe,[e.valueField]:pe},{valueField:nt,labelField:rt}=e;_.value.some(yt=>yt[nt]===Ze[nt]||yt[rt]===Ze[rt])||C.value.some(yt=>yt[nt]===Ze[nt]||yt[rt]===Ze[rt])?y.value=w:y.value=[Ze]}}function fe(X){X.stopPropagation();const{multiple:pe}=e;!pe&&e.filterable&&H(),E(),pe?le([],[]):le(null,null)}function Te(X){!Vo(X,"action")&&!Vo(X,"empty")&&X.preventDefault()}function Fe(X){ne(X)}function Ye(X){var pe,$e,qe,Xe,Ze;if(!e.keyboard){X.preventDefault();return}switch(X.key){case" ":if(e.filterable)break;X.preventDefault();case"Enter":if(!(!((pe=g.value)===null||pe===void 0)&&pe.isComposing)){if(h.value){const nt=($e=m.value)===null||$e===void 0?void 0:$e.getPendingTmNode();nt?we(nt):e.filterable||(H(),Se())}else if(be(),e.tag&&Ie.value){const nt=y.value[0];if(nt){const rt=nt[e.valueField],{value:yt}=l;e.multiple&&Array.isArray(yt)&&yt.some(on=>on===rt)||Ee(nt)}}}X.preventDefault();break;case"ArrowUp":if(X.preventDefault(),e.loading)return;h.value&&((qe=m.value)===null||qe===void 0||qe.prev());break;case"ArrowDown":if(X.preventDefault(),e.loading)return;h.value?(Xe=m.value)===null||Xe===void 0||Xe.next():be();break;case"Escape":h.value&&(w6(X),H()),(Ze=g.value)===null||Ze===void 0||Ze.focus();break}}function Se(){var X;(X=g.value)===null||X===void 0||X.focus()}function De(){var X;(X=g.value)===null||X===void 0||X.focusInput()}function Ue(){var X;h.value&&((X=b.value)===null||X===void 0||X.syncPosition())}ve(),ht(je(e,"options"),ve);const Ae={focus:()=>{var X;(X=g.value)===null||X===void 0||X.focus()},focusInput:()=>{var X;(X=g.value)===null||X===void 0||X.focusInput()},blur:()=>{var X;(X=g.value)===null||X===void 0||X.blur()},blurInput:()=>{var X;(X=g.value)===null||X===void 0||X.blurInput()}},Qe=L(()=>{const{self:{menuBoxShadow:X}}=i.value;return{"--n-menu-box-shadow":X}}),xt=r?kt("select",void 0,Qe,e):void 0;return Object.assign(Object.assign({},Ae),{mergedStatus:ue,mergedClsPrefix:t,mergedBordered:n,namespace:o,treeMate:d,isMounted:Gr(),triggerRef:g,menuRef:m,pattern:u,uncontrolledShow:p,mergedShow:h,adjustedTo:Uo(e),uncontrolledValue:a,mergedValue:l,followerRef:b,localizedPlaceholder:S,selectedOption:M,selectedOptions:B,mergedSize:Y,mergedDisabled:Q,focused:c,activeWithoutMenuOpen:Ie,inlineThemeDisabled:r,onTriggerInputFocus:Le,onTriggerInputBlur:P,handleTriggerOrMenuResize:Ue,handleMenuFocus:G,handleMenuBlur:se,handleMenuTabOut:xe,handleTriggerClick:T,handleToggle:we,handleDeleteOption:Ee,handlePatternInput:ee,handleClear:fe,handleTriggerBlur:W,handleTriggerFocus:oe,handleKeydown:Ye,handleMenuAfterLeave:ge,handleMenuClickOutside:ye,handleMenuScroll:Fe,handleMenuKeydown:Ye,handleMenuMousedown:Te,mergedTheme:i,cssVars:r?void 0:Qe,themeClass:xt==null?void 0:xt.themeClass,onRender:xt==null?void 0:xt.onRender})},render(){return v("div",{class:`${this.mergedClsPrefix}-select`},v(Ap,null,{default:()=>[v(Ip,null,{default:()=>v(cH,{ref:"triggerRef",inlineThemeDisabled:this.inlineThemeDisabled,status:this.mergedStatus,inputProps:this.inputProps,clsPrefix:this.mergedClsPrefix,showArrow:this.showArrow,maxTagCount:this.maxTagCount,ellipsisTagPopoverProps:this.ellipsisTagPopoverProps,bordered:this.mergedBordered,active:this.activeWithoutMenuOpen||this.mergedShow,pattern:this.pattern,placeholder:this.localizedPlaceholder,selectedOption:this.selectedOption,selectedOptions:this.selectedOptions,multiple:this.multiple,renderTag:this.renderTag,renderLabel:this.renderLabel,filterable:this.filterable,clearable:this.clearable,disabled:this.mergedDisabled,size:this.mergedSize,theme:this.mergedTheme.peers.InternalSelection,labelField:this.labelField,valueField:this.valueField,themeOverrides:this.mergedTheme.peerOverrides.InternalSelection,loading:this.loading,focused:this.focused,onClick:this.handleTriggerClick,onDeleteOption:this.handleDeleteOption,onPatternInput:this.handlePatternInput,onClear:this.handleClear,onBlur:this.handleTriggerBlur,onFocus:this.handleTriggerFocus,onKeydown:this.handleKeydown,onPatternBlur:this.onTriggerInputBlur,onPatternFocus:this.onTriggerInputFocus,onResize:this.handleTriggerOrMenuResize,ignoreComposition:this.ignoreComposition},{arrow:()=>{var e,t;return[(t=(e=this.$slots).arrow)===null||t===void 0?void 0:t.call(e)]}})}),v(Mp,{ref:"followerRef",show:this.mergedShow,to:this.adjustedTo,teleportDisabled:this.adjustedTo===Uo.tdkey,containerClass:this.namespace,width:this.consistentMenuWidth?"target":void 0,minWidth:"target",placement:this.placement},{default:()=>v(hn,{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(v(v_,Object.assign({},this.menuProps,{ref:"menuRef",onResize:this.handleTriggerOrMenuResize,inlineThemeDisabled:this.inlineThemeDisabled,virtualScroll:this.consistentMenuWidth&&this.virtualScroll,class:[`${this.mergedClsPrefix}-select-menu`,this.themeClass,(t=this.menuProps)===null||t===void 0?void 0:t.class],clsPrefix:this.mergedClsPrefix,focusable:!0,labelField:this.labelField,valueField:this.valueField,autoPending:!0,nodeProps:this.nodeProps,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,treeMate:this.treeMate,multiple:this.multiple,size:"medium",renderOption:this.renderOption,renderLabel:this.renderLabel,value:this.mergedValue,style:[(n=this.menuProps)===null||n===void 0?void 0:n.style,this.cssVars],onToggle:this.handleToggle,onScroll:this.handleMenuScroll,onFocus:this.handleMenuFocus,onBlur:this.handleMenuBlur,onKeydown:this.handleMenuKeydown,onTabOut:this.handleMenuTabOut,onMousedown:this.handleMenuMousedown,show:this.mergedShow,showCheckmark:this.showCheckmark,resetMenuOnOptionsChange:this.resetMenuOnOptionsChange}),{empty:()=>{var o,r;return[(r=(o=this.$slots).empty)===null||r===void 0?void 0:r.call(o)]},header:()=>{var o,r;return[(r=(o=this.$slots).header)===null||r===void 0?void 0:r.call(o)]},action:()=>{var o,r;return[(r=(o=this.$slots).action)===null||r===void 0?void 0:r.call(o)]}}),this.displayDirective==="show"?[[Jn,this.mergedShow],[Ta,this.handleMenuClickOutside,void 0,{capture:!0}]]:[[Ta,this.handleMenuClickOutside,void 0,{capture:!0}]])):null}})})]}))}}),MV={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"},Q_=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({},MV),{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})},zV={name:"Pagination",common:bt,peers:{Select:Z_,Input:nm,Popselect:im},self:Q_},e2=zV,DV={name:"Pagination",common:He,peers:{Select:J_,Input:uo,Popselect:G_},self(e){const{primaryColor:t,opacity3:n}=e,o=Me(t,{alpha:Number(n)}),r=Q_(e);return r.itemBorderActive=`1px solid ${o}`,r.itemBorderDisabled="1px solid #0000",r}},t2=DV,n2=e=>{var t;if(!e)return 10;const{defaultPageSize:n}=e;if(n!==void 0)return n;const o=(t=e.pageSizes)===null||t===void 0?void 0:t[0];return typeof o=="number"?o:(o==null?void 0:o.value)||10};function LV(e,t,n,o){let r=!1,i=!1,a=1,s=t;if(t===1)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:s,fastBackwardTo:a,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1}]};if(t===2)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:s,fastBackwardTo:a,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1},{type:"page",label:2,active:e===2,mayBeFastBackward:!0,mayBeFastForward:!1}]};const l=1,c=t;let u=e,d=e;const f=(n-5)/2;d+=Math.ceil(f),d=Math.min(Math.max(d,l+n-3),c-2),u-=Math.floor(f),u=Math.max(Math.min(u,c-n+3),l+2);let p=!1,h=!1;u>l+2&&(p=!0),d=l+1&&g.push({type:"page",label:l+1,mayBeFastBackward:!0,mayBeFastForward:!1,active:e===l+1});for(let b=u;b<=d;++b)g.push({type:"page",label:b,mayBeFastBackward:!1,mayBeFastForward:!1,active:e===b});return h?(i=!0,s=d+1,g.push({type:"fast-forward",active:!1,label:void 0,options:o?D0(d+1,c-1):null})):d===c-2&&g[g.length-1].label!==c-1&&g.push({type:"page",mayBeFastForward:!0,mayBeFastBackward:!1,label:c-1,active:e===c-1}),g[g.length-1].label!==c&&g.push({type:"page",mayBeFastForward:!1,mayBeFastBackward:!1,label:c,active:e===c}),{hasFastBackward:r,hasFastForward:i,fastBackwardTo:a,fastForwardTo:s,items:g}}function D0(e,t){const n=[];for(let o=e;o<=t;++o)n.push({label:`${o}`,value:o});return n}const L0=` + `,[Na({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})])]),HV=Object.assign(Object.assign({},Be.props),{to:Vo.propTo,bordered:{type:Boolean,default:void 0},clearable:Boolean,clearFilterAfterSelect:{type:Boolean,default:!0},options:{type:Array,default:()=>[]},defaultValue:{type:[String,Number,Array],default:null},keyboard:{type:Boolean,default:!0},value:[String,Number,Array],placeholder:String,menuProps:Object,multiple:Boolean,size:String,filterable:Boolean,disabled:{type:Boolean,default:void 0},remote:Boolean,loading:Boolean,filter:Function,placement:{type:String,default:"bottom-start"},widthMode:{type:String,default:"trigger"},tag:Boolean,onCreate:Function,fallbackOption:{type:[Function,Boolean],default:void 0},show:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:!0},maxTagCount:[Number,String],ellipsisTagPopoverProps:Object,consistentMenuWidth:{type:Boolean,default:!0},virtualScroll:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},childrenField:{type:String,default:"children"},renderLabel:Function,renderOption:Function,renderTag:Function,"onUpdate:value":[Function,Array],inputProps:Object,nodeProps:Function,ignoreComposition:{type:Boolean,default:!0},showOnFocus:Boolean,onUpdateValue:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onFocus:[Function,Array],onScroll:[Function,Array],onSearch:[Function,Array],onUpdateShow:[Function,Array],"onUpdate:show":[Function,Array],displayDirective:{type:String,default:"show"},resetMenuOnOptionsChange:{type:Boolean,default:!0},status:String,showCheckmark:{type:Boolean,default:!0},onChange:[Function,Array],items:Array}),cm=ge({name:"Select",props:HV,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,namespaceRef:o,inlineThemeDisabled:r}=st(e),i=Be("Select","-select",NV,i2,e,t),a=W(e.defaultValue),s=Ve(e,"value"),l=sn(s,a),c=W(!1),u=W(""),d=L(()=>{const{valueField:X,childrenField:me}=e,$e=D_(X,me);return wi(R.value,$e)}),f=L(()=>OH(T.value,e.valueField,e.childrenField)),p=W(!1),h=sn(Ve(e,"show"),p),m=W(null),v=W(null),b=W(null),{localeRef:w}=Di("Select"),C=L(()=>{var X;return(X=e.placeholder)!==null&&X!==void 0?X:w.value.placeholder}),S=wu(e,["items","options"]),_=[],x=W([]),y=W([]),k=W(new Map),P=L(()=>{const{fallbackOption:X}=e;if(X===void 0){const{labelField:me,valueField:$e}=e;return Ke=>({[me]:String(Ke),[$e]:Ke})}return X===!1?!1:me=>Object.assign(X(me),{value:me})}),T=L(()=>y.value.concat(x.value).concat(S.value)),$=L(()=>{const{filter:X}=e;if(X)return X;const{labelField:me,valueField:$e}=e;return(Ke,Xe)=>{if(!Xe)return!1;const Ze=Xe[me];if(typeof Ze=="string")return jd(Ke,Ze);const tt=Xe[$e];return typeof tt=="string"?jd(Ke,tt):typeof tt=="number"?jd(Ke,String(tt)):!1}}),R=L(()=>{if(e.remote)return S.value;{const{value:X}=T,{value:me}=u;return!me.length||!e.filterable?X:IH(X,$.value,me,e.childrenField)}});function K(X){const me=e.remote,{value:$e}=k,{value:Ke}=f,{value:Xe}=P,Ze=[];return X.forEach(tt=>{if(Ke.has(tt))Ze.push(Ke.get(tt));else if(me&&$e.has(tt))Ze.push($e.get(tt));else if(Xe){const it=Xe(tt);it&&Ze.push(it)}}),Ze}const H=L(()=>{if(e.multiple){const{value:X}=l;return Array.isArray(X)?K(X):[]}return null}),D=L(()=>{const{value:X}=l;return!e.multiple&&!Array.isArray(X)?X===null?null:K([X])[0]||null:null}),M=fr(e),{mergedSizeRef:Y,mergedDisabledRef:Q,mergedStatusRef:de}=M;function he(X,me){const{onChange:$e,"onUpdate:value":Ke,onUpdateValue:Xe}=e,{nTriggerFormChange:Ze,nTriggerFormInput:tt}=M;$e&&Ee($e,X,me),Xe&&Ee(Xe,X,me),Ke&&Ee(Ke,X,me),a.value=X,Ze(),tt()}function B(X){const{onBlur:me}=e,{nTriggerFormBlur:$e}=M;me&&Ee(me,X),$e()}function E(){const{onClear:X}=e;X&&Ee(X)}function A(X){const{onFocus:me,showOnFocus:$e}=e,{nTriggerFormFocus:Ke}=M;me&&Ee(me,X),Ke(),$e&&xe()}function G(X){const{onSearch:me}=e;me&&Ee(me,X)}function ne(X){const{onScroll:me}=e;me&&Ee(me,X)}function ye(){var X;const{remote:me,multiple:$e}=e;if(me){const{value:Ke}=k;if($e){const{valueField:Xe}=e;(X=H.value)===null||X===void 0||X.forEach(Ze=>{Ke.set(Ze[Xe],Ze)})}else{const Xe=D.value;Xe&&Ke.set(Xe[e.valueField],Xe)}}}function J(X){const{onUpdateShow:me,"onUpdate:show":$e}=e;me&&Ee(me,X),$e&&Ee($e,X),p.value=X}function xe(){Q.value||(J(!0),p.value=!0,e.filterable&&Fe())}function j(){J(!1)}function ve(){u.value="",y.value=_}const Oe=W(!1);function Le(){e.filterable&&(Oe.value=!0)}function F(){e.filterable&&(Oe.value=!1,h.value||ve())}function O(){Q.value||(h.value?e.filterable?Fe():j():xe())}function re(X){var me,$e;!(($e=(me=b.value)===null||me===void 0?void 0:me.selfRef)===null||$e===void 0)&&$e.contains(X.relatedTarget)||(c.value=!1,B(X),j())}function _e(X){A(X),c.value=!0}function ee(X){c.value=!0}function be(X){var me;!((me=m.value)===null||me===void 0)&&me.$el.contains(X.relatedTarget)||(c.value=!1,B(X),j())}function Pe(){var X;(X=m.value)===null||X===void 0||X.focus(),j()}function I(X){var me;h.value&&(!((me=m.value)===null||me===void 0)&&me.$el.contains(ki(X))||j())}function N(X){if(!Array.isArray(X))return[];if(P.value)return Array.from(X);{const{remote:me}=e,{value:$e}=f;if(me){const{value:Ke}=k;return X.filter(Xe=>$e.has(Xe)||Ke.has(Xe))}else return X.filter(Ke=>$e.has(Ke))}}function te(X){Ce(X.rawNode)}function Ce(X){if(Q.value)return;const{tag:me,remote:$e,clearFilterAfterSelect:Ke,valueField:Xe}=e;if(me&&!$e){const{value:Ze}=y,tt=Ze[0]||null;if(tt){const it=x.value;it.length?it.push(tt):x.value=[tt],y.value=_}}if($e&&k.value.set(X[Xe],X),e.multiple){const Ze=N(l.value),tt=Ze.findIndex(it=>it===X[Xe]);if(~tt){if(Ze.splice(tt,1),me&&!$e){const it=ae(X[Xe]);~it&&(x.value.splice(it,1),Ke&&(u.value=""))}}else Ze.push(X[Xe]),Ke&&(u.value="");he(Ze,K(Ze))}else{if(me&&!$e){const Ze=ae(X[Xe]);~Ze?x.value=[x.value[Ze]]:x.value=_}ke(),j(),he(X[Xe],X)}}function ae(X){return x.value.findIndex($e=>$e[e.valueField]===X)}function fe(X){h.value||xe();const{value:me}=X.target;u.value=me;const{tag:$e,remote:Ke}=e;if(G(me),$e&&!Ke){if(!me){y.value=_;return}const{onCreate:Xe}=e,Ze=Xe?Xe(me):{[e.labelField]:me,[e.valueField]:me},{valueField:tt,labelField:it}=e;S.value.some(yt=>yt[tt]===Ze[tt]||yt[it]===Ze[it])||x.value.some(yt=>yt[tt]===Ze[tt]||yt[it]===Ze[it])?y.value=_:y.value=[Ze]}}function oe(X){X.stopPropagation();const{multiple:me}=e;!me&&e.filterable&&j(),E(),me?he([],[]):he(null,null)}function ue(X){!wo(X,"action")&&!wo(X,"empty")&&X.preventDefault()}function De(X){ne(X)}function Ue(X){var me,$e,Ke,Xe,Ze;if(!e.keyboard){X.preventDefault();return}switch(X.key){case" ":if(e.filterable)break;X.preventDefault();case"Enter":if(!(!((me=m.value)===null||me===void 0)&&me.isComposing)){if(h.value){const tt=($e=b.value)===null||$e===void 0?void 0:$e.getPendingTmNode();tt?te(tt):e.filterable||(j(),ke())}else if(xe(),e.tag&&Oe.value){const tt=y.value[0];if(tt){const it=tt[e.valueField],{value:yt}=l;e.multiple&&Array.isArray(yt)&&yt.some(on=>on===it)||Ce(tt)}}}X.preventDefault();break;case"ArrowUp":if(X.preventDefault(),e.loading)return;h.value&&((Ke=b.value)===null||Ke===void 0||Ke.prev());break;case"ArrowDown":if(X.preventDefault(),e.loading)return;h.value?(Xe=b.value)===null||Xe===void 0||Xe.next():xe();break;case"Escape":h.value&&(E6(X),j()),(Ze=m.value)===null||Ze===void 0||Ze.focus();break}}function ke(){var X;(X=m.value)===null||X===void 0||X.focus()}function Fe(){var X;(X=m.value)===null||X===void 0||X.focusInput()}function je(){var X;h.value&&((X=v.value)===null||X===void 0||X.syncPosition())}ye(),ft(Ve(e,"options"),ye);const Ae={focus:()=>{var X;(X=m.value)===null||X===void 0||X.focus()},focusInput:()=>{var X;(X=m.value)===null||X===void 0||X.focusInput()},blur:()=>{var X;(X=m.value)===null||X===void 0||X.blur()},blurInput:()=>{var X;(X=m.value)===null||X===void 0||X.blurInput()}},Je=L(()=>{const{self:{menuBoxShadow:X}}=i.value;return{"--n-menu-box-shadow":X}}),xt=r?kt("select",void 0,Je,e):void 0;return Object.assign(Object.assign({},Ae),{mergedStatus:de,mergedClsPrefix:t,mergedBordered:n,namespace:o,treeMate:d,isMounted:Xr(),triggerRef:m,menuRef:b,pattern:u,uncontrolledShow:p,mergedShow:h,adjustedTo:Vo(e),uncontrolledValue:a,mergedValue:l,followerRef:v,localizedPlaceholder:C,selectedOption:D,selectedOptions:H,mergedSize:Y,mergedDisabled:Q,focused:c,activeWithoutMenuOpen:Oe,inlineThemeDisabled:r,onTriggerInputFocus:Le,onTriggerInputBlur:F,handleTriggerOrMenuResize:je,handleMenuFocus:ee,handleMenuBlur:be,handleMenuTabOut:Pe,handleTriggerClick:O,handleToggle:te,handleDeleteOption:Ce,handlePatternInput:fe,handleClear:oe,handleTriggerBlur:re,handleTriggerFocus:_e,handleKeydown:Ue,handleMenuAfterLeave:ve,handleMenuClickOutside:I,handleMenuScroll:De,handleMenuKeydown:Ue,handleMenuMousedown:ue,mergedTheme:i,cssVars:r?void 0:Je,themeClass:xt==null?void 0:xt.themeClass,onRender:xt==null?void 0:xt.onRender})},render(){return g("div",{class:`${this.mergedClsPrefix}-select`},g(Ap,null,{default:()=>[g(Ip,null,{default:()=>g(vH,{ref:"triggerRef",inlineThemeDisabled:this.inlineThemeDisabled,status:this.mergedStatus,inputProps:this.inputProps,clsPrefix:this.mergedClsPrefix,showArrow:this.showArrow,maxTagCount:this.maxTagCount,ellipsisTagPopoverProps:this.ellipsisTagPopoverProps,bordered:this.mergedBordered,active:this.activeWithoutMenuOpen||this.mergedShow,pattern:this.pattern,placeholder:this.localizedPlaceholder,selectedOption:this.selectedOption,selectedOptions:this.selectedOptions,multiple:this.multiple,renderTag:this.renderTag,renderLabel:this.renderLabel,filterable:this.filterable,clearable:this.clearable,disabled:this.mergedDisabled,size:this.mergedSize,theme:this.mergedTheme.peers.InternalSelection,labelField:this.labelField,valueField:this.valueField,themeOverrides:this.mergedTheme.peerOverrides.InternalSelection,loading:this.loading,focused:this.focused,onClick:this.handleTriggerClick,onDeleteOption:this.handleDeleteOption,onPatternInput:this.handlePatternInput,onClear:this.handleClear,onBlur:this.handleTriggerBlur,onFocus:this.handleTriggerFocus,onKeydown:this.handleKeydown,onPatternBlur:this.onTriggerInputBlur,onPatternFocus:this.onTriggerInputFocus,onResize:this.handleTriggerOrMenuResize,ignoreComposition:this.ignoreComposition},{arrow:()=>{var e,t;return[(t=(e=this.$slots).arrow)===null||t===void 0?void 0:t.call(e)]}})}),g(Mp,{ref:"followerRef",show:this.mergedShow,to:this.adjustedTo,teleportDisabled:this.adjustedTo===Vo.tdkey,containerClass:this.namespace,width:this.consistentMenuWidth?"target":void 0,minWidth:"target",placement:this.placement},{default:()=>g(fn,{name:"fade-in-scale-up-transition",appear:this.isMounted,onAfterLeave:this.handleMenuAfterLeave},{default:()=>{var e,t,n;return this.mergedShow||this.displayDirective==="show"?((e=this.onRender)===null||e===void 0||e.call(this),dn(g(k_,Object.assign({},this.menuProps,{ref:"menuRef",onResize:this.handleTriggerOrMenuResize,inlineThemeDisabled:this.inlineThemeDisabled,virtualScroll:this.consistentMenuWidth&&this.virtualScroll,class:[`${this.mergedClsPrefix}-select-menu`,this.themeClass,(t=this.menuProps)===null||t===void 0?void 0:t.class],clsPrefix:this.mergedClsPrefix,focusable:!0,labelField:this.labelField,valueField:this.valueField,autoPending:!0,nodeProps:this.nodeProps,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,treeMate:this.treeMate,multiple:this.multiple,size:"medium",renderOption:this.renderOption,renderLabel:this.renderLabel,value:this.mergedValue,style:[(n=this.menuProps)===null||n===void 0?void 0:n.style,this.cssVars],onToggle:this.handleToggle,onScroll:this.handleMenuScroll,onFocus:this.handleMenuFocus,onBlur:this.handleMenuBlur,onKeydown:this.handleMenuKeydown,onTabOut:this.handleMenuTabOut,onMousedown:this.handleMenuMousedown,show:this.mergedShow,showCheckmark:this.showCheckmark,resetMenuOnOptionsChange:this.resetMenuOnOptionsChange}),{empty:()=>{var o,r;return[(r=(o=this.$slots).empty)===null||r===void 0?void 0:r.call(o)]},header:()=>{var o,r;return[(r=(o=this.$slots).header)===null||r===void 0?void 0:r.call(o)]},action:()=>{var o,r;return[(r=(o=this.$slots).action)===null||r===void 0?void 0:r.call(o)]}}),this.displayDirective==="show"?[[Mn,this.mergedShow],[Sa,this.handleMenuClickOutside,void 0,{capture:!0}]]:[[Sa,this.handleMenuClickOutside,void 0,{capture:!0}]])):null}})})]}))}}),jV={itemPaddingSmall:"0 4px",itemMarginSmall:"0 0 0 8px",itemMarginSmallRtl:"0 8px 0 0",itemPaddingMedium:"0 4px",itemMarginMedium:"0 0 0 8px",itemMarginMediumRtl:"0 8px 0 0",itemPaddingLarge:"0 4px",itemMarginLarge:"0 0 0 8px",itemMarginLargeRtl:"0 8px 0 0",buttonIconSizeSmall:"14px",buttonIconSizeMedium:"16px",buttonIconSizeLarge:"18px",inputWidthSmall:"60px",selectWidthSmall:"unset",inputMarginSmall:"0 0 0 8px",inputMarginSmallRtl:"0 8px 0 0",selectMarginSmall:"0 0 0 8px",prefixMarginSmall:"0 8px 0 0",suffixMarginSmall:"0 0 0 8px",inputWidthMedium:"60px",selectWidthMedium:"unset",inputMarginMedium:"0 0 0 8px",inputMarginMediumRtl:"0 8px 0 0",selectMarginMedium:"0 0 0 8px",prefixMarginMedium:"0 8px 0 0",suffixMarginMedium:"0 0 0 8px",inputWidthLarge:"60px",selectWidthLarge:"unset",inputMarginLarge:"0 0 0 8px",inputMarginLargeRtl:"0 8px 0 0",selectMarginLarge:"0 0 0 8px",prefixMarginLarge:"0 8px 0 0",suffixMarginLarge:"0 0 0 8px"},s2=e=>{const{textColor2:t,primaryColor:n,primaryColorHover:o,primaryColorPressed:r,inputColorDisabled:i,textColorDisabled:a,borderColor:s,borderRadius:l,fontSizeTiny:c,fontSizeSmall:u,fontSizeMedium:d,heightTiny:f,heightSmall:p,heightMedium:h}=e;return Object.assign(Object.assign({},jV),{buttonColor:"#0000",buttonColorHover:"#0000",buttonColorPressed:"#0000",buttonBorder:`1px solid ${s}`,buttonBorderHover:`1px solid ${s}`,buttonBorderPressed:`1px solid ${s}`,buttonIconColor:t,buttonIconColorHover:t,buttonIconColorPressed:t,itemTextColor:t,itemTextColorHover:o,itemTextColorPressed:r,itemTextColorActive:n,itemTextColorDisabled:a,itemColor:"#0000",itemColorHover:"#0000",itemColorPressed:"#0000",itemColorActive:"#0000",itemColorActiveHover:"#0000",itemColorDisabled:i,itemBorder:"1px solid #0000",itemBorderHover:"1px solid #0000",itemBorderPressed:"1px solid #0000",itemBorderActive:`1px solid ${n}`,itemBorderDisabled:`1px solid ${s}`,itemBorderRadius:l,itemSizeSmall:f,itemSizeMedium:p,itemSizeLarge:h,itemFontSizeSmall:c,itemFontSizeMedium:u,itemFontSizeLarge:d,jumperFontSizeSmall:c,jumperFontSizeMedium:u,jumperFontSizeLarge:d,jumperTextColor:t,jumperTextColorDisabled:a})},VV={name:"Pagination",common:bt,peers:{Select:i2,Input:nm,Popselect:am},self:s2},l2=VV,WV={name:"Pagination",common:Ne,peers:{Select:a2,Input:uo,Popselect:n2},self(e){const{primaryColor:t,opacity3:n}=e,o=Me(t,{alpha:Number(n)}),r=s2(e);return r.itemBorderActive=`1px solid ${o}`,r.itemBorderDisabled="1px solid #0000",r}},c2=WV,u2=e=>{var t;if(!e)return 10;const{defaultPageSize:n}=e;if(n!==void 0)return n;const o=(t=e.pageSizes)===null||t===void 0?void 0:t[0];return typeof o=="number"?o:(o==null?void 0:o.value)||10};function UV(e,t,n,o){let r=!1,i=!1,a=1,s=t;if(t===1)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:s,fastBackwardTo:a,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1}]};if(t===2)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:s,fastBackwardTo:a,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1},{type:"page",label:2,active:e===2,mayBeFastBackward:!0,mayBeFastForward:!1}]};const l=1,c=t;let u=e,d=e;const f=(n-5)/2;d+=Math.ceil(f),d=Math.min(Math.max(d,l+n-3),c-2),u-=Math.floor(f),u=Math.max(Math.min(u,c-n+3),l+2);let p=!1,h=!1;u>l+2&&(p=!0),d=l+1&&m.push({type:"page",label:l+1,mayBeFastBackward:!0,mayBeFastForward:!1,active:e===l+1});for(let v=u;v<=d;++v)m.push({type:"page",label:v,mayBeFastBackward:!1,mayBeFastForward:!1,active:e===v});return h?(i=!0,s=d+1,m.push({type:"fast-forward",active:!1,label:void 0,options:o?F0(d+1,c-1):null})):d===c-2&&m[m.length-1].label!==c-1&&m.push({type:"page",mayBeFastForward:!0,mayBeFastBackward:!1,label:c-1,active:e===c-1}),m[m.length-1].label!==c&&m.push({type:"page",mayBeFastForward:!1,mayBeFastBackward:!1,label:c,active:e===c}),{hasFastBackward:r,hasFastForward:i,fastBackwardTo:a,fastForwardTo:s,items:m}}function F0(e,t){const n=[];for(let o=e;o<=t;++o)n.push({label:`${o}`,value:o});return n}const B0=` background: var(--n-item-color-hover); color: var(--n-item-text-color-hover); border: var(--n-item-border-hover); -`,F0=[Z("button",` +`,N0=[Z("button",` background: var(--n-button-color-hover); border: var(--n-button-border-hover); color: var(--n-button-icon-color-hover); - `)],FV=z("pagination",` + `)],qV=z("pagination",` display: flex; vertical-align: middle; font-size: var(--n-item-font-size); @@ -1719,11 +1736,11 @@ ${t} display: flex; align-items: center; margin: var(--n-suffix-margin); - `),U("> *:not(:first-child)",` + `),q("> *:not(:first-child)",` margin: var(--n-item-margin); `),z("select",` width: var(--n-select-width); - `),U("&.transition-disabled",[z("pagination-item","transition: none!important;")]),z("pagination-quick-jumper",` + `),q("&.transition-disabled",[z("pagination-item","transition: none!important;")]),z("pagination-quick-jumper",` white-space: nowrap; display: flex; color: var(--n-jumper-text-color); @@ -1762,7 +1779,7 @@ ${t} padding: 0; `,[z("base-icon",` font-size: var(--n-button-icon-size); - `)]),Tt("disabled",[Z("hover",L0,F0),U("&:hover",L0,F0),U("&:active",` + `)]),Tt("disabled",[Z("hover",B0,N0),q("&:hover",B0,N0),q("&:active",` background: var(--n-item-color-pressed); color: var(--n-item-text-color-pressed); border: var(--n-item-border-pressed); @@ -1774,7 +1791,7 @@ ${t} background: var(--n-item-color-active); color: var(--n-item-text-color-active); border: var(--n-item-border-active); - `,[U("&:hover",` + `,[q("&:hover",` background: var(--n-item-color-active-hover); `)])]),Z("disabled",` cursor: not-allowed; @@ -1792,7 +1809,7 @@ ${t} flex-wrap: nowrap; `,[z("pagination-quick-jumper",[z("input",` margin: 0; - `)])])]),BV=Object.assign(Object.assign({},Be.props),{simple:Boolean,page:Number,defaultPage:{type:Number,default:1},itemCount:Number,pageCount:Number,defaultPageCount:{type:Number,default:1},showSizePicker:Boolean,pageSize:Number,defaultPageSize:Number,pageSizes:{type:Array,default(){return[10]}},showQuickJumper:Boolean,size:{type:String,default:"medium"},disabled:Boolean,pageSlot:{type:Number,default:9},selectProps:Object,prev:Function,next:Function,goto:Function,prefix:Function,suffix:Function,label:Function,displayOrder:{type:Array,default:["pages","size-picker","quick-jumper"]},to:Uo.propTo,showQuickJumpDropdown:{type:Boolean,default:!0},"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],onPageSizeChange:[Function,Array],onChange:[Function,Array]}),NV=me({name:"Pagination",props:BV,setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=it(e),i=Be("Pagination","-pagination",FV,e2,e,n),{localeRef:a}=Li("Pagination"),s=F(null),l=F(e.defaultPage),c=F(n2(e)),u=ln(je(e,"page"),l),d=ln(je(e,"pageSize"),c),f=L(()=>{const{itemCount:H}=e;if(H!==void 0)return Math.max(1,Math.ceil(H/d.value));const{pageCount:ge}=e;return ge!==void 0?Math.max(ge,1):1}),p=F("");nn(()=>{e.simple,p.value=String(u.value)});const h=F(!1),g=F(!1),b=F(!1),m=F(!1),x=()=>{e.disabled||(h.value=!0,M())},S=()=>{e.disabled||(h.value=!1,M())},_=()=>{g.value=!0,M()},w=()=>{g.value=!1,M()},C=H=>{D(H)},y=L(()=>LV(u.value,f.value,e.pageSlot,e.showQuickJumpDropdown));nn(()=>{y.value.hasFastBackward?y.value.hasFastForward||(h.value=!1,b.value=!1):(g.value=!1,m.value=!1)});const k=L(()=>{const H=a.value.selectionSuffix;return e.pageSizes.map(ge=>typeof ge=="number"?{label:`${ge} / ${H}`,value:ge}:ge)}),R=L(()=>{var H,ge;return((ge=(H=t==null?void 0:t.value)===null||H===void 0?void 0:H.Pagination)===null||ge===void 0?void 0:ge.inputSize)||Qv(e.size)}),$=L(()=>{var H,ge;return((ge=(H=t==null?void 0:t.value)===null||H===void 0?void 0:H.Pagination)===null||ge===void 0?void 0:ge.selectSize)||Qv(e.size)}),I=L(()=>(u.value-1)*d.value),A=L(()=>{const H=u.value*d.value-1,{itemCount:ge}=e;return ge!==void 0&&H>ge-1?ge-1:H}),K=L(()=>{const{itemCount:H}=e;return H!==void 0?H:(e.pageCount||1)*d.value}),B=pn("Pagination",r,n),M=()=>{jt(()=>{var H;const{value:ge}=s;ge&&(ge.classList.add("transition-disabled"),(H=s.value)===null||H===void 0||H.offsetWidth,ge.classList.remove("transition-disabled"))})};function D(H){if(H===u.value)return;const{"onUpdate:page":ge,onUpdatePage:Ie,onChange:Le,simple:P}=e;ge&&Re(ge,H),Ie&&Re(Ie,H),Le&&Re(Le,H),l.value=H,P&&(p.value=String(H))}function Y(H){if(H===d.value)return;const{"onUpdate:pageSize":ge,onUpdatePageSize:Ie,onPageSizeChange:Le}=e;ge&&Re(ge,H),Ie&&Re(Ie,H),Le&&Re(Le,H),c.value=H,f.value{u.value,d.value,M()});const J=L(()=>{const{size:H}=e,{self:{buttonBorder:ge,buttonBorderHover:Ie,buttonBorderPressed:Le,buttonIconColor:P,buttonIconColorHover:T,buttonIconColorPressed:W,itemTextColor:oe,itemTextColorHover:G,itemTextColorPressed:se,itemTextColorActive:xe,itemTextColorDisabled:ye,itemColor:Ce,itemColorHover:we,itemColorPressed:Ee,itemColorActive:de,itemColorActiveHover:ee,itemColorDisabled:fe,itemBorder:Te,itemBorderHover:Fe,itemBorderPressed:Ye,itemBorderActive:Se,itemBorderDisabled:De,itemBorderRadius:Ue,jumperTextColor:Ae,jumperTextColorDisabled:Qe,buttonColor:xt,buttonColorHover:X,buttonColorPressed:pe,[ke("itemPadding",H)]:$e,[ke("itemMargin",H)]:qe,[ke("inputWidth",H)]:Xe,[ke("selectWidth",H)]:Ze,[ke("inputMargin",H)]:nt,[ke("selectMargin",H)]:rt,[ke("jumperFontSize",H)]:yt,[ke("prefixMargin",H)]:on,[ke("suffixMargin",H)]:Dt,[ke("itemSize",H)]:_e,[ke("buttonIconSize",H)]:Ne,[ke("itemFontSize",H)]:et,[`${ke("itemMargin",H)}Rtl`]:pt,[`${ke("inputMargin",H)}Rtl`]:gt},common:{cubicBezierEaseInOut:ct}}=i.value;return{"--n-prefix-margin":on,"--n-suffix-margin":Dt,"--n-item-font-size":et,"--n-select-width":Ze,"--n-select-margin":rt,"--n-input-width":Xe,"--n-input-margin":nt,"--n-input-margin-rtl":gt,"--n-item-size":_e,"--n-item-text-color":oe,"--n-item-text-color-disabled":ye,"--n-item-text-color-hover":G,"--n-item-text-color-active":xe,"--n-item-text-color-pressed":se,"--n-item-color":Ce,"--n-item-color-hover":we,"--n-item-color-disabled":fe,"--n-item-color-active":de,"--n-item-color-active-hover":ee,"--n-item-color-pressed":Ee,"--n-item-border":Te,"--n-item-border-hover":Fe,"--n-item-border-disabled":De,"--n-item-border-active":Se,"--n-item-border-pressed":Ye,"--n-item-padding":$e,"--n-item-border-radius":Ue,"--n-bezier":ct,"--n-jumper-font-size":yt,"--n-jumper-text-color":Ae,"--n-jumper-text-color-disabled":Qe,"--n-item-margin":qe,"--n-item-margin-rtl":pt,"--n-button-icon-size":Ne,"--n-button-icon-color":P,"--n-button-icon-color-hover":T,"--n-button-icon-color-pressed":W,"--n-button-color-hover":X,"--n-button-color":xt,"--n-button-color-pressed":pe,"--n-button-border":ge,"--n-button-border-hover":Ie,"--n-button-border-pressed":Le}}),be=o?kt("pagination",L(()=>{let H="";const{size:ge}=e;return H+=ge[0],H}),J,e):void 0;return{rtlEnabled:B,mergedClsPrefix:n,locale:a,selfRef:s,mergedPage:u,pageItems:L(()=>y.value.items),mergedItemCount:K,jumperValue:p,pageSizeOptions:k,mergedPageSize:d,inputSize:R,selectSize:$,mergedTheme:i,mergedPageCount:f,startIndex:I,endIndex:A,showFastForwardMenu:b,showFastBackwardMenu:m,fastForwardActive:h,fastBackwardActive:g,handleMenuSelect:C,handleFastForwardMouseenter:x,handleFastForwardMouseleave:S,handleFastBackwardMouseenter:_,handleFastBackwardMouseleave:w,handleJumperInput:ve,handleBackwardClick:ue,handleForwardClick:Q,handlePageItemClick:ne,handleSizePickerChange:E,handleQuickJumperChange:q,cssVars:o?void 0:J,themeClass:be==null?void 0:be.themeClass,onRender:be==null?void 0:be.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:g,simple:b,prev:m,next:x,prefix:S,suffix:_,label:w,goto:C,handleJumperInput:y,handleSizePickerChange:k,handleBackwardClick:R,handlePageItemClick:$,handleForwardClick:I,handleQuickJumperChange:A,onRender:K}=this;K==null||K();const B=e.prefix||S,M=e.suffix||_,D=m||e.prev,Y=x||e.next,Q=w||e.label;return v("div",{ref:"selfRef",class:[`${t}-pagination`,this.themeClass,this.rtlEnabled&&`${t}-pagination--rtl`,n&&`${t}-pagination--disabled`,b&&`${t}-pagination--simple`],style:o},B?v("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(ue=>{switch(ue){case"pages":return v(at,null,v("div",{class:[`${t}-pagination-item`,!D&&`${t}-pagination-item--button`,(r<=1||r>i||n)&&`${t}-pagination-item--disabled`],onClick:R},D?D({page:r,pageSize:p,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount}):v(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?v(y0,null):v(g0,null)})),b?v(at,null,v("div",{class:`${t}-pagination-quick-jumper`},v(_o,{value:g,onUpdateValue:y,size:d,placeholder:"",disabled:n,theme:c.peers.Input,themeOverrides:c.peerOverrides.Input,onChange:A}))," / ",i):a.map((le,N)=>{let E,O,q;const{type:ne}=le;switch(ne){case"page":const J=le.label;Q?E=Q({type:"page",node:J,active:le.active}):E=J;break;case"fast-forward":const be=this.fastForwardActive?v(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?v(v0,null):v(b0,null)}):v(Ut,{clsPrefix:t},{default:()=>v(x0,null)});Q?E=Q({type:"fast-forward",node:be,active:this.fastForwardActive||this.showFastForwardMenu}):E=be,O=this.handleFastForwardMouseenter,q=this.handleFastForwardMouseleave;break;case"fast-backward":const H=this.fastBackwardActive?v(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?v(b0,null):v(v0,null)}):v(Ut,{clsPrefix:t},{default:()=>v(x0,null)});Q?E=Q({type:"fast-backward",node:H,active:this.fastBackwardActive||this.showFastBackwardMenu}):E=H,O=this.handleFastBackwardMouseenter,q=this.handleFastBackwardMouseleave;break}const ve=v("div",{key:N,class:[`${t}-pagination-item`,le.active&&`${t}-pagination-item--active`,ne!=="page"&&(ne==="fast-backward"&&this.showFastBackwardMenu||ne==="fast-forward"&&this.showFastForwardMenu)&&`${t}-pagination-item--hover`,n&&`${t}-pagination-item--disabled`,ne==="page"&&`${t}-pagination-item--clickable`],onClick:()=>{$(le)},onMouseenter:O,onMouseleave:q},E);if(ne==="page"&&!le.mayBeFastBackward&&!le.mayBeFastForward)return ve;{const J=le.type==="page"?le.mayBeFastBackward?"fast-backward":"fast-forward":le.type;return le.type!=="page"&&!le.options?ve:v(fl,{to:this.to,key:J,disabled:n,trigger:"hover",virtualScroll:!0,style:{width:"60px"},theme:c.peers.Popselect,themeOverrides:c.peerOverrides.Popselect,builtinThemeOverrides:{peers:{InternalSelectMenu:{height:"calc(var(--n-option-height) * 4.6)"}}},nodeProps:()=>({style:{justifyContent:"center"}}),show:ne==="page"?!1:ne==="fast-backward"?this.showFastBackwardMenu:this.showFastForwardMenu,onUpdateShow:be=>{ne!=="page"&&(be?ne==="fast-backward"?this.showFastBackwardMenu=be:this.showFastForwardMenu=be:(this.showFastBackwardMenu=!1,this.showFastForwardMenu=!1))},options:le.type!=="page"&&le.options?le.options:[],onUpdateValue:this.handleMenuSelect,scrollable:!0,showCheckmark:!1},{default:()=>ve})}}),v("div",{class:[`${t}-pagination-item`,!Y&&`${t}-pagination-item--button`,{[`${t}-pagination-item--disabled`]:r<1||r>=i||n}],onClick:I},Y?Y({page:r,pageSize:p,pageCount:i,itemCount:this.mergedItemCount,startIndex:this.startIndex,endIndex:this.endIndex}):v(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?v(g0,null):v(y0,null)})));case"size-picker":return!b&&s?v(Au,Object.assign({consistentMenuWidth:!1,placeholder:"",showCheckmark:!1,to:this.to},this.selectProps,{size:f,options:h,value:p,disabled:n,theme:c.peers.Select,themeOverrides:c.peerOverrides.Select,onUpdateValue:k})):null;case"quick-jumper":return!b&&l?v("div",{class:`${t}-pagination-quick-jumper`},C?C():An(this.$slots.goto,()=>[u.goto]),v(_o,{value:g,onUpdateValue:y,size:d,placeholder:"",disabled:n,theme:c.peers.Input,themeOverrides:c.peerOverrides.Input,onChange:A})):null;default:return null}}),M?v("div",{class:`${t}-pagination-suffix`},M({page:r,pageSize:p,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null)}}),o2={padding:"8px 14px"},HV={name:"Tooltip",common:He,peers:{Popover:Ui},self(e){const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:r}=e;return Object.assign(Object.assign({},o2),{borderRadius:t,boxShadow:n,color:o,textColor:r})}},Iu=HV,jV=e=>{const{borderRadius:t,boxShadow2:n,baseColor:o}=e;return Object.assign(Object.assign({},o2),{borderRadius:t,boxShadow:n,color:tt(o,"rgba(0, 0, 0, .85)"),textColor:o})},VV={name:"Tooltip",common:bt,peers:{Popover:Wa},self:jV},sm=VV,WV={name:"Ellipsis",common:He,peers:{Tooltip:Iu}},r2=WV,UV={name:"Ellipsis",common:bt,peers:{Tooltip:sm}},i2=UV,a2={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},qV={name:"Radio",common:He,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:g}=e;return Object.assign(Object.assign({},a2),{labelLineHeight:g,buttonHeightSmall:f,buttonHeightMedium:p,buttonHeightLarge:h,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${n}`,boxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Me(n,{alpha:.3})}`,boxShadowHover:`inset 0 0 0 1px ${n}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:"#0000",colorDisabled:i,colorActive:"#0000",textColor:a,textColorDisabled:r,dotColorActive:n,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:n,buttonBorderColorHover:n,buttonColor:"#0000",buttonColorActive:n,buttonTextColor:a,buttonTextColorActive:o,buttonTextColorHover:n,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Me(n,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${n}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})}},s2=qV,KV=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:g}=e;return Object.assign(Object.assign({},a2),{labelLineHeight:g,buttonHeightSmall:f,buttonHeightMedium:p,buttonHeightLarge:h,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${n}`,boxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Me(n,{alpha:.2})}`,boxShadowHover:`inset 0 0 0 1px ${n}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:o,colorDisabled:i,colorActive:"#0000",textColor:a,textColorDisabled:r,dotColorActive:n,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:n,buttonBorderColorHover:t,buttonColor:o,buttonColorActive:o,buttonTextColor:a,buttonTextColorActive:n,buttonTextColorHover:n,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Me(n,{alpha:.3})}`,buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})},GV={name:"Radio",common:bt,self:KV},lm=GV,YV={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"},l2=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:g,textColor3:b,opacityDisabled:m}=e;return Object.assign(Object.assign({},YV),{optionHeightSmall:f,optionHeightMedium:p,optionHeightLarge:h,optionHeightHuge:g,borderRadius:s,fontSizeSmall:l,fontSizeMedium:c,fontSizeLarge:u,fontSizeHuge:d,optionTextColor:n,optionTextColorHover:n,optionTextColorActive:t,optionTextColorChildActive:t,color:i,dividerColor:o,suffixColor:n,prefixColor:n,optionColorHover:r,optionColorActive:Me(t,{alpha:.1}),groupHeaderTextColor:b,optionTextColorInverted:"#BBB",optionTextColorHoverInverted:"#FFF",optionTextColorActiveInverted:"#FFF",optionTextColorChildActiveInverted:"#FFF",colorInverted:a,dividerColorInverted:"#BBB",suffixColorInverted:"#BBB",prefixColorInverted:"#BBB",optionColorHoverInverted:t,optionColorActiveInverted:t,groupHeaderTextColorInverted:"#AAA",optionOpacityDisabled:m})},XV={name:"Dropdown",common:bt,peers:{Popover:Wa},self:l2},cm=XV,ZV={name:"Dropdown",common:He,peers:{Popover:Ui},self(e){const{primaryColorSuppl:t,primaryColor:n,popoverColor:o}=e,r=l2(e);return r.colorInverted=o,r.optionColorActive=Me(n,{alpha:.15}),r.optionColorActiveInverted=t,r.optionColorHoverInverted=t,r}},um=ZV,JV={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"},c2=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:g,dividerColor:b,heightSmall:m,opacityDisabled:x,tableColorStriped:S}=e;return Object.assign(Object.assign({},JV),{actionDividerColor:b,lineHeight:f,borderRadius:d,fontSizeSmall:p,fontSizeMedium:h,fontSizeLarge:g,borderColor:tt(t,b),tdColorHover:tt(t,s),tdColorStriped:tt(t,S),thColor:tt(t,a),thColorHover:tt(tt(t,a),s),tdColor:t,tdTextColor:r,thTextColor:i,thFontWeight:u,thButtonColorHover:s,thIconColor:l,thIconColorActive:c,borderColorModal:tt(n,b),tdColorHoverModal:tt(n,s),tdColorStripedModal:tt(n,S),thColorModal:tt(n,a),thColorHoverModal:tt(tt(n,a),s),tdColorModal:n,borderColorPopover:tt(o,b),tdColorHoverPopover:tt(o,s),tdColorStripedPopover:tt(o,S),thColorPopover:tt(o,a),thColorHoverPopover:tt(tt(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:m,opacityLoading:x})},QV={name:"DataTable",common:bt,peers:{Button:Eu,Checkbox:W_,Radio:lm,Pagination:e2,Scrollbar:Wi,Empty:Ru,Popover:Wa,Ellipsis:i2,Dropdown:cm},self:c2},eW=QV,tW={name:"DataTable",common:He,peers:{Button:Vn,Checkbox:Ua,Radio:s2,Pagination:t2,Scrollbar:jn,Empty:Vi,Popover:Ui,Ellipsis:r2,Dropdown:um},self(e){const t=c2(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}},nW=tW,oW=Object.assign(Object.assign({},$a),Be.props),Ou=me({name:"Tooltip",props:oW,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=it(e),n=Be("Tooltip","-tooltip",void 0,sm,e,t),o=F(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 v(cl,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)}}),u2=z("ellipsis",{overflow:"hidden"},[Tt("line-clamp",` + `)])])]),KV=Object.assign(Object.assign({},Be.props),{simple:Boolean,page:Number,defaultPage:{type:Number,default:1},itemCount:Number,pageCount:Number,defaultPageCount:{type:Number,default:1},showSizePicker:Boolean,pageSize:Number,defaultPageSize:Number,pageSizes:{type:Array,default(){return[10]}},showQuickJumper:Boolean,size:{type:String,default:"medium"},disabled:Boolean,pageSlot:{type:Number,default:9},selectProps:Object,prev:Function,next:Function,goto:Function,prefix:Function,suffix:Function,label:Function,displayOrder:{type:Array,default:["pages","size-picker","quick-jumper"]},to:Vo.propTo,showQuickJumpDropdown:{type:Boolean,default:!0},"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],onPageSizeChange:[Function,Array],onChange:[Function,Array]}),GV=ge({name:"Pagination",props:KV,setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=Be("Pagination","-pagination",qV,l2,e,n),{localeRef:a}=Di("Pagination"),s=W(null),l=W(e.defaultPage),c=W(u2(e)),u=sn(Ve(e,"page"),l),d=sn(Ve(e,"pageSize"),c),f=L(()=>{const{itemCount:j}=e;if(j!==void 0)return Math.max(1,Math.ceil(j/d.value));const{pageCount:ve}=e;return ve!==void 0?Math.max(ve,1):1}),p=W("");Yt(()=>{e.simple,p.value=String(u.value)});const h=W(!1),m=W(!1),v=W(!1),b=W(!1),w=()=>{e.disabled||(h.value=!0,D())},C=()=>{e.disabled||(h.value=!1,D())},S=()=>{m.value=!0,D()},_=()=>{m.value=!1,D()},x=j=>{M(j)},y=L(()=>UV(u.value,f.value,e.pageSlot,e.showQuickJumpDropdown));Yt(()=>{y.value.hasFastBackward?y.value.hasFastForward||(h.value=!1,v.value=!1):(m.value=!1,b.value=!1)});const k=L(()=>{const j=a.value.selectionSuffix;return e.pageSizes.map(ve=>typeof ve=="number"?{label:`${ve} / ${j}`,value:ve}:ve)}),P=L(()=>{var j,ve;return((ve=(j=t==null?void 0:t.value)===null||j===void 0?void 0:j.Pagination)===null||ve===void 0?void 0:ve.inputSize)||eb(e.size)}),T=L(()=>{var j,ve;return((ve=(j=t==null?void 0:t.value)===null||j===void 0?void 0:j.Pagination)===null||ve===void 0?void 0:ve.selectSize)||eb(e.size)}),$=L(()=>(u.value-1)*d.value),R=L(()=>{const j=u.value*d.value-1,{itemCount:ve}=e;return ve!==void 0&&j>ve-1?ve-1:j}),K=L(()=>{const{itemCount:j}=e;return j!==void 0?j:(e.pageCount||1)*d.value}),H=pn("Pagination",r,n),D=()=>{Ht(()=>{var j;const{value:ve}=s;ve&&(ve.classList.add("transition-disabled"),(j=s.value)===null||j===void 0||j.offsetWidth,ve.classList.remove("transition-disabled"))})};function M(j){if(j===u.value)return;const{"onUpdate:page":ve,onUpdatePage:Oe,onChange:Le,simple:F}=e;ve&&Ee(ve,j),Oe&&Ee(Oe,j),Le&&Ee(Le,j),l.value=j,F&&(p.value=String(j))}function Y(j){if(j===d.value)return;const{"onUpdate:pageSize":ve,onUpdatePageSize:Oe,onPageSizeChange:Le}=e;ve&&Ee(ve,j),Oe&&Ee(Oe,j),Le&&Ee(Le,j),c.value=j,f.value{u.value,d.value,D()});const J=L(()=>{const{size:j}=e,{self:{buttonBorder:ve,buttonBorderHover:Oe,buttonBorderPressed:Le,buttonIconColor:F,buttonIconColorHover:O,buttonIconColorPressed:re,itemTextColor:_e,itemTextColorHover:ee,itemTextColorPressed:be,itemTextColorActive:Pe,itemTextColorDisabled:I,itemColor:N,itemColorHover:te,itemColorPressed:Ce,itemColorActive:ae,itemColorActiveHover:fe,itemColorDisabled:oe,itemBorder:ue,itemBorderHover:De,itemBorderPressed:Ue,itemBorderActive:ke,itemBorderDisabled:Fe,itemBorderRadius:je,jumperTextColor:Ae,jumperTextColorDisabled:Je,buttonColor:xt,buttonColorHover:X,buttonColorPressed:me,[Te("itemPadding",j)]:$e,[Te("itemMargin",j)]:Ke,[Te("inputWidth",j)]:Xe,[Te("selectWidth",j)]:Ze,[Te("inputMargin",j)]:tt,[Te("selectMargin",j)]:it,[Te("jumperFontSize",j)]:yt,[Te("prefixMargin",j)]:on,[Te("suffixMargin",j)]:Dt,[Te("itemSize",j)]:Se,[Te("buttonIconSize",j)]:He,[Te("itemFontSize",j)]:Qe,[`${Te("itemMargin",j)}Rtl`]:ht,[`${Te("inputMargin",j)}Rtl`]:gt},common:{cubicBezierEaseInOut:ut}}=i.value;return{"--n-prefix-margin":on,"--n-suffix-margin":Dt,"--n-item-font-size":Qe,"--n-select-width":Ze,"--n-select-margin":it,"--n-input-width":Xe,"--n-input-margin":tt,"--n-input-margin-rtl":gt,"--n-item-size":Se,"--n-item-text-color":_e,"--n-item-text-color-disabled":I,"--n-item-text-color-hover":ee,"--n-item-text-color-active":Pe,"--n-item-text-color-pressed":be,"--n-item-color":N,"--n-item-color-hover":te,"--n-item-color-disabled":oe,"--n-item-color-active":ae,"--n-item-color-active-hover":fe,"--n-item-color-pressed":Ce,"--n-item-border":ue,"--n-item-border-hover":De,"--n-item-border-disabled":Fe,"--n-item-border-active":ke,"--n-item-border-pressed":Ue,"--n-item-padding":$e,"--n-item-border-radius":je,"--n-bezier":ut,"--n-jumper-font-size":yt,"--n-jumper-text-color":Ae,"--n-jumper-text-color-disabled":Je,"--n-item-margin":Ke,"--n-item-margin-rtl":ht,"--n-button-icon-size":He,"--n-button-icon-color":F,"--n-button-icon-color-hover":O,"--n-button-icon-color-pressed":re,"--n-button-color-hover":X,"--n-button-color":xt,"--n-button-color-pressed":me,"--n-button-border":ve,"--n-button-border-hover":Oe,"--n-button-border-pressed":Le}}),xe=o?kt("pagination",L(()=>{let j="";const{size:ve}=e;return j+=ve[0],j}),J,e):void 0;return{rtlEnabled:H,mergedClsPrefix:n,locale:a,selfRef:s,mergedPage:u,pageItems:L(()=>y.value.items),mergedItemCount:K,jumperValue:p,pageSizeOptions:k,mergedPageSize:d,inputSize:P,selectSize:T,mergedTheme:i,mergedPageCount:f,startIndex:$,endIndex:R,showFastForwardMenu:v,showFastBackwardMenu:b,fastForwardActive:h,fastBackwardActive:m,handleMenuSelect:x,handleFastForwardMouseenter:w,handleFastForwardMouseleave:C,handleFastBackwardMouseenter:S,handleFastBackwardMouseleave:_,handleJumperInput:ye,handleBackwardClick:de,handleForwardClick:Q,handlePageItemClick:ne,handleSizePickerChange:E,handleQuickJumperChange:G,cssVars:o?void 0:J,themeClass:xe==null?void 0:xe.themeClass,onRender:xe==null?void 0:xe.onRender}},render(){const{$slots:e,mergedClsPrefix:t,disabled:n,cssVars:o,mergedPage:r,mergedPageCount:i,pageItems:a,showSizePicker:s,showQuickJumper:l,mergedTheme:c,locale:u,inputSize:d,selectSize:f,mergedPageSize:p,pageSizeOptions:h,jumperValue:m,simple:v,prev:b,next:w,prefix:C,suffix:S,label:_,goto:x,handleJumperInput:y,handleSizePickerChange:k,handleBackwardClick:P,handlePageItemClick:T,handleForwardClick:$,handleQuickJumperChange:R,onRender:K}=this;K==null||K();const H=e.prefix||C,D=e.suffix||S,M=b||e.prev,Y=w||e.next,Q=_||e.label;return g("div",{ref:"selfRef",class:[`${t}-pagination`,this.themeClass,this.rtlEnabled&&`${t}-pagination--rtl`,n&&`${t}-pagination--disabled`,v&&`${t}-pagination--simple`],style:o},H?g("div",{class:`${t}-pagination-prefix`},H({page:r,pageSize:p,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null,this.displayOrder.map(de=>{switch(de){case"pages":return g(rt,null,g("div",{class:[`${t}-pagination-item`,!M&&`${t}-pagination-item--button`,(r<=1||r>i||n)&&`${t}-pagination-item--disabled`],onClick:P},M?M({page:r,pageSize:p,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount}):g(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?g(C0,null):g(b0,null)})),v?g(rt,null,g("div",{class:`${t}-pagination-quick-jumper`},g(lr,{value:m,onUpdateValue:y,size:d,placeholder:"",disabled:n,theme:c.peers.Input,themeOverrides:c.peerOverrides.Input,onChange:R}))," / ",i):a.map((he,B)=>{let E,A,G;const{type:ne}=he;switch(ne){case"page":const J=he.label;Q?E=Q({type:"page",node:J,active:he.active}):E=J;break;case"fast-forward":const xe=this.fastForwardActive?g(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?g(y0,null):g(x0,null)}):g(Ut,{clsPrefix:t},{default:()=>g(w0,null)});Q?E=Q({type:"fast-forward",node:xe,active:this.fastForwardActive||this.showFastForwardMenu}):E=xe,A=this.handleFastForwardMouseenter,G=this.handleFastForwardMouseleave;break;case"fast-backward":const j=this.fastBackwardActive?g(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?g(x0,null):g(y0,null)}):g(Ut,{clsPrefix:t},{default:()=>g(w0,null)});Q?E=Q({type:"fast-backward",node:j,active:this.fastBackwardActive||this.showFastBackwardMenu}):E=j,A=this.handleFastBackwardMouseenter,G=this.handleFastBackwardMouseleave;break}const ye=g("div",{key:B,class:[`${t}-pagination-item`,he.active&&`${t}-pagination-item--active`,ne!=="page"&&(ne==="fast-backward"&&this.showFastBackwardMenu||ne==="fast-forward"&&this.showFastForwardMenu)&&`${t}-pagination-item--hover`,n&&`${t}-pagination-item--disabled`,ne==="page"&&`${t}-pagination-item--clickable`],onClick:()=>{T(he)},onMouseenter:A,onMouseleave:G},E);if(ne==="page"&&!he.mayBeFastBackward&&!he.mayBeFastForward)return ye;{const J=he.type==="page"?he.mayBeFastBackward?"fast-backward":"fast-forward":he.type;return he.type!=="page"&&!he.options?ye:g(lm,{to:this.to,key:J,disabled:n,trigger:"hover",virtualScroll:!0,style:{width:"60px"},theme:c.peers.Popselect,themeOverrides:c.peerOverrides.Popselect,builtinThemeOverrides:{peers:{InternalSelectMenu:{height:"calc(var(--n-option-height) * 4.6)"}}},nodeProps:()=>({style:{justifyContent:"center"}}),show:ne==="page"?!1:ne==="fast-backward"?this.showFastBackwardMenu:this.showFastForwardMenu,onUpdateShow:xe=>{ne!=="page"&&(xe?ne==="fast-backward"?this.showFastBackwardMenu=xe:this.showFastForwardMenu=xe:(this.showFastBackwardMenu=!1,this.showFastForwardMenu=!1))},options:he.type!=="page"&&he.options?he.options:[],onUpdateValue:this.handleMenuSelect,scrollable:!0,showCheckmark:!1},{default:()=>ye})}}),g("div",{class:[`${t}-pagination-item`,!Y&&`${t}-pagination-item--button`,{[`${t}-pagination-item--disabled`]:r<1||r>=i||n}],onClick:$},Y?Y({page:r,pageSize:p,pageCount:i,itemCount:this.mergedItemCount,startIndex:this.startIndex,endIndex:this.endIndex}):g(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?g(b0,null):g(C0,null)})));case"size-picker":return!v&&s?g(cm,Object.assign({consistentMenuWidth:!1,placeholder:"",showCheckmark:!1,to:this.to},this.selectProps,{size:f,options:h,value:p,disabled:n,theme:c.peers.Select,themeOverrides:c.peerOverrides.Select,onUpdateValue:k})):null;case"quick-jumper":return!v&&l?g("div",{class:`${t}-pagination-quick-jumper`},x?x():An(this.$slots.goto,()=>[u.goto]),g(lr,{value:m,onUpdateValue:y,size:d,placeholder:"",disabled:n,theme:c.peers.Input,themeOverrides:c.peerOverrides.Input,onChange:R})):null;default:return null}}),D?g("div",{class:`${t}-pagination-suffix`},D({page:r,pageSize:p,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null)}}),d2={padding:"8px 14px"},YV={name:"Tooltip",common:Ne,peers:{Popover:Wi},self(e){const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:r}=e;return Object.assign(Object.assign({},d2),{borderRadius:t,boxShadow:n,color:o,textColor:r})}},Iu=YV,XV=e=>{const{borderRadius:t,boxShadow2:n,baseColor:o}=e;return Object.assign(Object.assign({},d2),{borderRadius:t,boxShadow:n,color:et(o,"rgba(0, 0, 0, .85)"),textColor:o})},ZV={name:"Tooltip",common:bt,peers:{Popover:Ha},self:XV},um=ZV,JV={name:"Ellipsis",common:Ne,peers:{Tooltip:Iu}},f2=JV,QV={name:"Ellipsis",common:bt,peers:{Tooltip:um}},h2=QV,p2={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},eW={name:"Radio",common:Ne,self(e){const{borderColor:t,primaryColor:n,baseColor:o,textColorDisabled:r,inputColorDisabled:i,textColor2:a,opacityDisabled:s,borderRadius:l,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,heightSmall:f,heightMedium:p,heightLarge:h,lineHeight:m}=e;return Object.assign(Object.assign({},p2),{labelLineHeight:m,buttonHeightSmall:f,buttonHeightMedium:p,buttonHeightLarge:h,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${n}`,boxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Me(n,{alpha:.3})}`,boxShadowHover:`inset 0 0 0 1px ${n}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:"#0000",colorDisabled:i,colorActive:"#0000",textColor:a,textColorDisabled:r,dotColorActive:n,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:n,buttonBorderColorHover:n,buttonColor:"#0000",buttonColorActive:n,buttonTextColor:a,buttonTextColorActive:o,buttonTextColorHover:n,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Me(n,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${n}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})}},m2=eW,tW=e=>{const{borderColor:t,primaryColor:n,baseColor:o,textColorDisabled:r,inputColorDisabled:i,textColor2:a,opacityDisabled:s,borderRadius:l,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,heightSmall:f,heightMedium:p,heightLarge:h,lineHeight:m}=e;return Object.assign(Object.assign({},p2),{labelLineHeight:m,buttonHeightSmall:f,buttonHeightMedium:p,buttonHeightLarge:h,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${n}`,boxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Me(n,{alpha:.2})}`,boxShadowHover:`inset 0 0 0 1px ${n}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:o,colorDisabled:i,colorActive:"#0000",textColor:a,textColorDisabled:r,dotColorActive:n,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:n,buttonBorderColorHover:t,buttonColor:o,buttonColorActive:o,buttonTextColor:a,buttonTextColorActive:n,buttonTextColorHover:n,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Me(n,{alpha:.3})}`,buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})},nW={name:"Radio",common:bt,self:tW},dm=nW,oW={padding:"4px 0",optionIconSizeSmall:"14px",optionIconSizeMedium:"16px",optionIconSizeLarge:"16px",optionIconSizeHuge:"18px",optionSuffixWidthSmall:"14px",optionSuffixWidthMedium:"14px",optionSuffixWidthLarge:"16px",optionSuffixWidthHuge:"16px",optionIconSuffixWidthSmall:"32px",optionIconSuffixWidthMedium:"32px",optionIconSuffixWidthLarge:"36px",optionIconSuffixWidthHuge:"36px",optionPrefixWidthSmall:"14px",optionPrefixWidthMedium:"14px",optionPrefixWidthLarge:"16px",optionPrefixWidthHuge:"16px",optionIconPrefixWidthSmall:"36px",optionIconPrefixWidthMedium:"36px",optionIconPrefixWidthLarge:"40px",optionIconPrefixWidthHuge:"40px"},g2=e=>{const{primaryColor:t,textColor2:n,dividerColor:o,hoverColor:r,popoverColor:i,invertedColor:a,borderRadius:s,fontSizeSmall:l,fontSizeMedium:c,fontSizeLarge:u,fontSizeHuge:d,heightSmall:f,heightMedium:p,heightLarge:h,heightHuge:m,textColor3:v,opacityDisabled:b}=e;return Object.assign(Object.assign({},oW),{optionHeightSmall:f,optionHeightMedium:p,optionHeightLarge:h,optionHeightHuge:m,borderRadius:s,fontSizeSmall:l,fontSizeMedium:c,fontSizeLarge:u,fontSizeHuge:d,optionTextColor:n,optionTextColorHover:n,optionTextColorActive:t,optionTextColorChildActive:t,color:i,dividerColor:o,suffixColor:n,prefixColor:n,optionColorHover:r,optionColorActive:Me(t,{alpha:.1}),groupHeaderTextColor:v,optionTextColorInverted:"#BBB",optionTextColorHoverInverted:"#FFF",optionTextColorActiveInverted:"#FFF",optionTextColorChildActiveInverted:"#FFF",colorInverted:a,dividerColorInverted:"#BBB",suffixColorInverted:"#BBB",prefixColorInverted:"#BBB",optionColorHoverInverted:t,optionColorActiveInverted:t,groupHeaderTextColorInverted:"#AAA",optionOpacityDisabled:b})},rW={name:"Dropdown",common:bt,peers:{Popover:Ha},self:g2},fm=rW,iW={name:"Dropdown",common:Ne,peers:{Popover:Wi},self(e){const{primaryColorSuppl:t,primaryColor:n,popoverColor:o}=e,r=g2(e);return r.colorInverted=o,r.optionColorActive=Me(n,{alpha:.15}),r.optionColorActiveInverted=t,r.optionColorHoverInverted=t,r}},hm=iW,aW={thPaddingSmall:"8px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"8px",tdPaddingMedium:"12px",tdPaddingLarge:"12px",sorterSize:"15px",resizableContainerSize:"8px",resizableSize:"2px",filterSize:"15px",paginationMargin:"12px 0 0 0",emptyPadding:"48px 0",actionPadding:"8px 12px",actionButtonMargin:"0 8px 0 0"},v2=e=>{const{cardColor:t,modalColor:n,popoverColor:o,textColor2:r,textColor1:i,tableHeaderColor:a,tableColorHover:s,iconColor:l,primaryColor:c,fontWeightStrong:u,borderRadius:d,lineHeight:f,fontSizeSmall:p,fontSizeMedium:h,fontSizeLarge:m,dividerColor:v,heightSmall:b,opacityDisabled:w,tableColorStriped:C}=e;return Object.assign(Object.assign({},aW),{actionDividerColor:v,lineHeight:f,borderRadius:d,fontSizeSmall:p,fontSizeMedium:h,fontSizeLarge:m,borderColor:et(t,v),tdColorHover:et(t,s),tdColorStriped:et(t,C),thColor:et(t,a),thColorHover:et(et(t,a),s),tdColor:t,tdTextColor:r,thTextColor:i,thFontWeight:u,thButtonColorHover:s,thIconColor:l,thIconColorActive:c,borderColorModal:et(n,v),tdColorHoverModal:et(n,s),tdColorStripedModal:et(n,C),thColorModal:et(n,a),thColorHoverModal:et(et(n,a),s),tdColorModal:n,borderColorPopover:et(o,v),tdColorHoverPopover:et(o,s),tdColorStripedPopover:et(o,C),thColorPopover:et(o,a),thColorHoverPopover:et(et(o,a),s),tdColorPopover:o,boxShadowBefore:"inset -12px 0 8px -12px rgba(0, 0, 0, .18)",boxShadowAfter:"inset 12px 0 8px -12px rgba(0, 0, 0, .18)",loadingColor:c,loadingSize:b,opacityLoading:w})},sW={name:"DataTable",common:bt,peers:{Button:Au,Checkbox:J_,Radio:dm,Pagination:l2,Scrollbar:Vi,Empty:$u,Popover:Ha,Ellipsis:h2,Dropdown:fm},self:v2},lW=sW,cW={name:"DataTable",common:Ne,peers:{Button:Wn,Checkbox:ja,Radio:m2,Pagination:c2,Scrollbar:Vn,Empty:ji,Popover:Wi,Ellipsis:f2,Dropdown:hm},self(e){const t=v2(e);return t.boxShadowAfter="inset 12px 0 8px -12px rgba(0, 0, 0, .36)",t.boxShadowBefore="inset -12px 0 8px -12px rgba(0, 0, 0, .36)",t}},uW=cW,dW=Object.assign(Object.assign({},Pa),Be.props),Ou=ge({name:"Tooltip",props:dW,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=st(e),n=Be("Tooltip","-tooltip",void 0,um,e,t),o=W(null);return Object.assign(Object.assign({},{syncPosition(){o.value.syncPosition()},setShow(i){o.value.setShow(i)}}),{popoverRef:o,mergedTheme:n,popoverThemeOverrides:L(()=>n.value.self)})},render(){const{mergedTheme:e,internalExtraClass:t}=this;return g(dl,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:t.concat("tooltip"),ref:"popoverRef"}),this.$slots)}}),b2=z("ellipsis",{overflow:"hidden"},[Tt("line-clamp",` white-space: nowrap; display: inline-block; vertical-align: bottom; @@ -1802,7 +1819,7 @@ ${t} -webkit-box-orient: vertical; `),Z("cursor-pointer",` cursor: pointer; - `)]);function wh(e){return`${e}-ellipsis--line-clamp`}function _h(e,t){return`${e}-ellipsis--cursor-${t}`}const d2=Object.assign(Object.assign({},Be.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),dm=me({name:"Ellipsis",inheritAttrs:!1,props:d2,setup(e,{slots:t,attrs:n}){const o=n_(),r=Be("Ellipsis","-ellipsis",u2,i2,e,o),i=F(null),a=F(null),s=F(null),l=F(!1),c=L(()=>{const{lineClamp:b}=e,{value:m}=l;return b!==void 0?{textOverflow:"","-webkit-line-clamp":m?"":b}:{textOverflow:m?"":"ellipsis","-webkit-line-clamp":""}});function u(){let b=!1;const{value:m}=l;if(m)return!0;const{value:x}=i;if(x){const{lineClamp:S}=e;if(p(x),S!==void 0)b=x.scrollHeight<=x.offsetHeight;else{const{value:_}=a;_&&(b=_.getBoundingClientRect().width<=x.getBoundingClientRect().width)}h(x,b)}return b}const d=L(()=>e.expandTrigger==="click"?()=>{var b;const{value:m}=l;m&&((b=s.value)===null||b===void 0||b.setShow(!1)),l.value=!m}:void 0);Gc(()=>{var b;e.tooltip&&((b=s.value)===null||b===void 0||b.setShow(!1))});const f=()=>v("span",Object.assign({},Dn(n,{class:[`${o.value}-ellipsis`,e.lineClamp!==void 0?wh(o.value):void 0,e.expandTrigger==="click"?_h(o.value,"pointer"):void 0],style:c.value}),{ref:"triggerRef",onClick:d.value,onMouseenter:e.expandTrigger==="click"?u:void 0}),e.lineClamp?t:v("span",{ref:"triggerInnerRef"},t));function p(b){if(!b)return;const m=c.value,x=wh(o.value);e.lineClamp!==void 0?g(b,x,"add"):g(b,x,"remove");for(const S in m)b.style[S]!==m[S]&&(b.style[S]=m[S])}function h(b,m){const x=_h(o.value,"pointer");e.expandTrigger==="click"&&!m?g(b,x,"add"):g(b,x,"remove")}function g(b,m,x){x==="add"?b.classList.contains(m)||b.classList.add(m):b.classList.contains(m)&&b.classList.remove(m)}return{mergedTheme:r,triggerRef:i,triggerInnerRef:a,tooltipRef:s,handleClick:d,renderTrigger:f,getTooltipDisabled:u}},render(){var e;const{tooltip:t,renderTrigger:n,$slots:o}=this;if(t){const{mergedTheme:r}=this;return v(Ou,Object.assign({ref:"tooltipRef",placement:"top"},t,{getDisabled:this.getTooltipDisabled,theme:r.peers.Tooltip,themeOverrides:r.peerOverrides.Tooltip}),{trigger:n,default:(e=o.tooltip)!==null&&e!==void 0?e:o.default})}else return n()}}),rW=me({name:"PerformantEllipsis",props:d2,inheritAttrs:!1,setup(e,{attrs:t,slots:n}){const o=F(!1),r=n_();return Yr("-ellipsis",u2,r),{mouseEntered:o,renderTrigger:()=>{const{lineClamp:a}=e,s=r.value;return v("span",Object.assign({},Dn(t,{class:[`${s}-ellipsis`,a!==void 0?wh(s):void 0,e.expandTrigger==="click"?_h(s,"pointer"):void 0],style:a===void 0?{textOverflow:"ellipsis"}:{"-webkit-line-clamp":a}}),{onMouseenter:()=>{o.value=!0}}),a?n:v("span",null,n))}}},render(){return this.mouseEntered?v(dm,Dn({},this.$attrs,this.$props),this.$slots):this.renderTrigger()}}),iW=me({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})}}),aW=Object.assign(Object.assign({},Be.props),{onUnstableColumnResize:Function,pagination:{type:[Object,Boolean],default:!1},paginateSinglePage:{type:Boolean,default:!0},minHeight:[Number,String],maxHeight:[Number,String],columns:{type:Array,default:()=>[]},rowClassName:[String,Function],rowProps:Function,rowKey:Function,summary:[Function],data:{type:Array,default:()=>[]},loading:Boolean,bordered:{type:Boolean,default:void 0},bottomBordered:{type:Boolean,default:void 0},striped:Boolean,scrollX:[Number,String],defaultCheckedRowKeys:{type:Array,default:()=>[]},checkedRowKeys:Array,singleLine:{type:Boolean,default:!0},singleColumn:Boolean,size:{type:String,default:"medium"},remote:Boolean,defaultExpandedRowKeys:{type:Array,default:[]},defaultExpandAll:Boolean,expandedRowKeys:Array,stickyExpandedRows:Boolean,virtualScroll:Boolean,tableLayout:{type:String,default:"auto"},allowCheckingNotLoaded:Boolean,cascade:{type:Boolean,default:!0},childrenKey:{type:String,default:"children"},indent:{type:Number,default:16},flexHeight:Boolean,summaryPlacement:{type:String,default:"bottom"},paginationBehaviorOnFilter:{type:String,default:"current"},scrollbarProps:Object,renderCell:Function,renderExpandIcon:Function,spinProps:{type:Object,default:{}},onLoad:Function,"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],"onUpdate:sorter":[Function,Array],onUpdateSorter:[Function,Array],"onUpdate:filters":[Function,Array],onUpdateFilters:[Function,Array],"onUpdate:checkedRowKeys":[Function,Array],onUpdateCheckedRowKeys:[Function,Array],"onUpdate:expandedRowKeys":[Function,Array],onUpdateExpandedRowKeys:[Function,Array],onScroll:Function,onPageChange:[Function,Array],onPageSizeChange:[Function,Array],onSorterChange:[Function,Array],onFiltersChange:[Function,Array],onCheckedRowKeysChange:[Function,Array]}),Po="n-data-table",sW=me({name:"SortIcon",props:{column:{type:Object,required:!0}},setup(e){const{mergedComponentPropsRef:t}=it(),{mergedSortStateRef:n,mergedClsPrefixRef:o}=We(Po),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?v(iW,{render:e,order:t}):v("span",{class:[`${n}-data-table-sorter`,t==="ascend"&&`${n}-data-table-sorter--asc`,t==="descend"&&`${n}-data-table-sorter--desc`]},o?o({order:t}):v(Ut,{clsPrefix:n},{default:()=>v(IB,null)}))}}),lW=me({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})}}),f2={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}},h2="n-radio-group";function p2(e){const t=dr(e,{mergedSize(x){const{size:S}=e;if(S!==void 0)return S;if(a){const{mergedSizeRef:{value:_}}=a;if(_!==void 0)return _}return x?x.mergedSize.value:"medium"},mergedDisabled(x){return!!(e.disabled||a!=null&&a.disabledRef.value||x!=null&&x.disabled.value)}}),{mergedSizeRef:n,mergedDisabledRef:o}=t,r=F(null),i=F(null),a=We(h2,null),s=F(e.defaultChecked),l=je(e,"checked"),c=ln(l,s),u=St(()=>a?a.valueRef.value===e.value:c.value),d=St(()=>{const{name:x}=e;if(x!==void 0)return x;if(a)return a.nameRef.value}),f=F(!1);function p(){if(a){const{doUpdateValue:x}=a,{value:S}=e;Re(x,S)}else{const{onUpdateChecked:x,"onUpdate:checked":S}=e,{nTriggerFormInput:_,nTriggerFormChange:w}=t;x&&Re(x,!0),S&&Re(S,!0),_(),w(),s.value=!0}}function h(){o.value||u.value||p()}function g(){h(),r.value&&(r.value.checked=u.value)}function b(){f.value=!1}function m(){f.value=!0}return{mergedClsPrefix:a?a.mergedClsPrefixRef:it(e).mergedClsPrefixRef,inputRef:r,labelRef:i,mergedName:d,mergedDisabled:o,renderSafeChecked:u,focus:f,mergedSize:n,handleRadioInputChange:g,handleRadioInputBlur:b,handleRadioInputFocus:m}}const cW=z("radio",` + `)]);function Sh(e){return`${e}-ellipsis--line-clamp`}function kh(e,t){return`${e}-ellipsis--cursor-${t}`}const y2=Object.assign(Object.assign({},Be.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),pm=ge({name:"Ellipsis",inheritAttrs:!1,props:y2,setup(e,{slots:t,attrs:n}){const o=u_(),r=Be("Ellipsis","-ellipsis",b2,h2,e,o),i=W(null),a=W(null),s=W(null),l=W(!1),c=L(()=>{const{lineClamp:v}=e,{value:b}=l;return v!==void 0?{textOverflow:"","-webkit-line-clamp":b?"":v}:{textOverflow:b?"":"ellipsis","-webkit-line-clamp":""}});function u(){let v=!1;const{value:b}=l;if(b)return!0;const{value:w}=i;if(w){const{lineClamp:C}=e;if(p(w),C!==void 0)v=w.scrollHeight<=w.offsetHeight;else{const{value:S}=a;S&&(v=S.getBoundingClientRect().width<=w.getBoundingClientRect().width)}h(w,v)}return v}const d=L(()=>e.expandTrigger==="click"?()=>{var v;const{value:b}=l;b&&((v=s.value)===null||v===void 0||v.setShow(!1)),l.value=!b}:void 0);Zc(()=>{var v;e.tooltip&&((v=s.value)===null||v===void 0||v.setShow(!1))});const f=()=>g("span",Object.assign({},Ln(n,{class:[`${o.value}-ellipsis`,e.lineClamp!==void 0?Sh(o.value):void 0,e.expandTrigger==="click"?kh(o.value,"pointer"):void 0],style:c.value}),{ref:"triggerRef",onClick:d.value,onMouseenter:e.expandTrigger==="click"?u:void 0}),e.lineClamp?t:g("span",{ref:"triggerInnerRef"},t));function p(v){if(!v)return;const b=c.value,w=Sh(o.value);e.lineClamp!==void 0?m(v,w,"add"):m(v,w,"remove");for(const C in b)v.style[C]!==b[C]&&(v.style[C]=b[C])}function h(v,b){const w=kh(o.value,"pointer");e.expandTrigger==="click"&&!b?m(v,w,"add"):m(v,w,"remove")}function m(v,b,w){w==="add"?v.classList.contains(b)||v.classList.add(b):v.classList.contains(b)&&v.classList.remove(b)}return{mergedTheme:r,triggerRef:i,triggerInnerRef:a,tooltipRef:s,handleClick:d,renderTrigger:f,getTooltipDisabled:u}},render(){var e;const{tooltip:t,renderTrigger:n,$slots:o}=this;if(t){const{mergedTheme:r}=this;return g(Ou,Object.assign({ref:"tooltipRef",placement:"top"},t,{getDisabled:this.getTooltipDisabled,theme:r.peers.Tooltip,themeOverrides:r.peerOverrides.Tooltip}),{trigger:n,default:(e=o.tooltip)!==null&&e!==void 0?e:o.default})}else return n()}}),fW=ge({name:"PerformantEllipsis",props:y2,inheritAttrs:!1,setup(e,{attrs:t,slots:n}){const o=W(!1),r=u_();return Zr("-ellipsis",b2,r),{mouseEntered:o,renderTrigger:()=>{const{lineClamp:a}=e,s=r.value;return g("span",Object.assign({},Ln(t,{class:[`${s}-ellipsis`,a!==void 0?Sh(s):void 0,e.expandTrigger==="click"?kh(s,"pointer"):void 0],style:a===void 0?{textOverflow:"ellipsis"}:{"-webkit-line-clamp":a}}),{onMouseenter:()=>{o.value=!0}}),a?n:g("span",null,n))}}},render(){return this.mouseEntered?g(pm,Ln({},this.$attrs,this.$props),this.$slots):this.renderTrigger()}}),hW=ge({name:"DataTableRenderSorter",props:{render:{type:Function,required:!0},order:{type:[String,Boolean],default:!1}},render(){const{render:e,order:t}=this;return e({order:t})}}),pW=Object.assign(Object.assign({},Be.props),{onUnstableColumnResize:Function,pagination:{type:[Object,Boolean],default:!1},paginateSinglePage:{type:Boolean,default:!0},minHeight:[Number,String],maxHeight:[Number,String],columns:{type:Array,default:()=>[]},rowClassName:[String,Function],rowProps:Function,rowKey:Function,summary:[Function],data:{type:Array,default:()=>[]},loading:Boolean,bordered:{type:Boolean,default:void 0},bottomBordered:{type:Boolean,default:void 0},striped:Boolean,scrollX:[Number,String],defaultCheckedRowKeys:{type:Array,default:()=>[]},checkedRowKeys:Array,singleLine:{type:Boolean,default:!0},singleColumn:Boolean,size:{type:String,default:"medium"},remote:Boolean,defaultExpandedRowKeys:{type:Array,default:[]},defaultExpandAll:Boolean,expandedRowKeys:Array,stickyExpandedRows:Boolean,virtualScroll:Boolean,tableLayout:{type:String,default:"auto"},allowCheckingNotLoaded:Boolean,cascade:{type:Boolean,default:!0},childrenKey:{type:String,default:"children"},indent:{type:Number,default:16},flexHeight:Boolean,summaryPlacement:{type:String,default:"bottom"},paginationBehaviorOnFilter:{type:String,default:"current"},scrollbarProps:Object,renderCell:Function,renderExpandIcon:Function,spinProps:{type:Object,default:{}},onLoad:Function,"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],"onUpdate:sorter":[Function,Array],onUpdateSorter:[Function,Array],"onUpdate:filters":[Function,Array],onUpdateFilters:[Function,Array],"onUpdate:checkedRowKeys":[Function,Array],onUpdateCheckedRowKeys:[Function,Array],"onUpdate:expandedRowKeys":[Function,Array],onUpdateExpandedRowKeys:[Function,Array],onScroll:Function,onPageChange:[Function,Array],onPageSizeChange:[Function,Array],onSorterChange:[Function,Array],onFiltersChange:[Function,Array],onCheckedRowKeysChange:[Function,Array]}),Ro="n-data-table",mW=ge({name:"SortIcon",props:{column:{type:Object,required:!0}},setup(e){const{mergedComponentPropsRef:t}=st(),{mergedSortStateRef:n,mergedClsPrefixRef:o}=We(Ro),r=L(()=>n.value.find(l=>l.columnKey===e.column.key)),i=L(()=>r.value!==void 0),a=L(()=>{const{value:l}=r;return l&&i.value?l.order:!1}),s=L(()=>{var l,c;return((c=(l=t==null?void 0:t.value)===null||l===void 0?void 0:l.DataTable)===null||c===void 0?void 0:c.renderSorter)||e.column.renderSorter});return{mergedClsPrefix:o,active:i,mergedSortOrder:a,mergedRenderSorter:s}},render(){const{mergedRenderSorter:e,mergedSortOrder:t,mergedClsPrefix:n}=this,{renderSorterIcon:o}=this.column;return e?g(hW,{render:e,order:t}):g("span",{class:[`${n}-data-table-sorter`,t==="ascend"&&`${n}-data-table-sorter--asc`,t==="descend"&&`${n}-data-table-sorter--desc`]},o?o({order:t}):g(Ut,{clsPrefix:n},{default:()=>g(NB,null)}))}}),gW=ge({name:"DataTableRenderFilter",props:{render:{type:Function,required:!0},active:{type:Boolean,default:!1},show:{type:Boolean,default:!1}},render(){const{render:e,active:t,show:n}=this;return e({active:t,show:n})}}),x2={name:String,value:{type:[String,Number,Boolean],default:"on"},checked:{type:Boolean,default:void 0},defaultChecked:Boolean,disabled:{type:Boolean,default:void 0},label:String,size:String,onUpdateChecked:[Function,Array],"onUpdate:checked":[Function,Array],checkedValue:{type:Boolean,default:void 0}},C2="n-radio-group";function w2(e){const t=fr(e,{mergedSize(w){const{size:C}=e;if(C!==void 0)return C;if(a){const{mergedSizeRef:{value:S}}=a;if(S!==void 0)return S}return w?w.mergedSize.value:"medium"},mergedDisabled(w){return!!(e.disabled||a!=null&&a.disabledRef.value||w!=null&&w.disabled.value)}}),{mergedSizeRef:n,mergedDisabledRef:o}=t,r=W(null),i=W(null),a=We(C2,null),s=W(e.defaultChecked),l=Ve(e,"checked"),c=sn(l,s),u=St(()=>a?a.valueRef.value===e.value:c.value),d=St(()=>{const{name:w}=e;if(w!==void 0)return w;if(a)return a.nameRef.value}),f=W(!1);function p(){if(a){const{doUpdateValue:w}=a,{value:C}=e;Ee(w,C)}else{const{onUpdateChecked:w,"onUpdate:checked":C}=e,{nTriggerFormInput:S,nTriggerFormChange:_}=t;w&&Ee(w,!0),C&&Ee(C,!0),S(),_(),s.value=!0}}function h(){o.value||u.value||p()}function m(){h(),r.value&&(r.value.checked=u.value)}function v(){f.value=!1}function b(){f.value=!0}return{mergedClsPrefix:a?a.mergedClsPrefixRef:st(e).mergedClsPrefixRef,inputRef:r,labelRef:i,mergedName:d,mergedDisabled:o,renderSafeChecked:u,focus:f,mergedSize:n,handleRadioInputChange:m,handleRadioInputBlur:v,handleRadioInputFocus:b}}const vW=z("radio",` line-height: var(--n-label-line-height); outline: none; position: relative; @@ -1844,7 +1861,7 @@ ${t} transition: background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier); - `,[U("&::before",` + `,[q("&::before",` content: ""; opacity: 0; position: absolute; @@ -1859,7 +1876,7 @@ ${t} opacity .3s var(--n-bezier), background-color .3s var(--n-bezier), transform .3s var(--n-bezier); - `),Z("checked",{boxShadow:"var(--n-box-shadow-active)"},[U("&::before",` + `),Z("checked",{boxShadow:"var(--n-box-shadow-active)"},[q("&::before",` opacity: 1; transform: scale(1); `)])]),V("label",` @@ -1870,13 +1887,13 @@ ${t} transition: color .3s var(--n-bezier); `),Tt("disabled",` cursor: pointer; - `,[U("&:hover",[V("dot",{boxShadow:"var(--n-box-shadow-hover)"})]),Z("focus",[U("&:not(:active)",[V("dot",{boxShadow:"var(--n-box-shadow-focus)"})])])]),Z("disabled",` + `,[q("&:hover",[V("dot",{boxShadow:"var(--n-box-shadow-hover)"})]),Z("focus",[q("&:not(:active)",[V("dot",{boxShadow:"var(--n-box-shadow-focus)"})])])]),Z("disabled",` cursor: not-allowed; - `,[V("dot",{boxShadow:"var(--n-box-shadow-disabled)",backgroundColor:"var(--n-color-disabled)"},[U("&::before",{backgroundColor:"var(--n-dot-color-disabled)"}),Z("checked",` + `,[V("dot",{boxShadow:"var(--n-box-shadow-disabled)",backgroundColor:"var(--n-color-disabled)"},[q("&::before",{backgroundColor:"var(--n-dot-color-disabled)"}),Z("checked",` opacity: 1; `)]),V("label",{color:"var(--n-text-color-disabled)"}),z("radio-input",` cursor: not-allowed; - `)])]),uW=Object.assign(Object.assign({},Be.props),f2),m2=me({name:"Radio",props:uW,setup(e){const t=p2(e),n=Be("Radio","-radio",cW,lm,e,t.mergedClsPrefix),o=L(()=>{const{mergedSize:{value:c}}=t,{common:{cubicBezierEaseInOut:u},self:{boxShadow:d,boxShadowActive:f,boxShadowDisabled:p,boxShadowFocus:h,boxShadowHover:g,color:b,colorDisabled:m,colorActive:x,textColor:S,textColorDisabled:_,dotColorActive:w,dotColorDisabled:C,labelPadding:y,labelLineHeight:k,labelFontWeight:R,[ke("fontSize",c)]:$,[ke("radioSize",c)]:I}}=n.value;return{"--n-bezier":u,"--n-label-line-height":k,"--n-label-font-weight":R,"--n-box-shadow":d,"--n-box-shadow-active":f,"--n-box-shadow-disabled":p,"--n-box-shadow-focus":h,"--n-box-shadow-hover":g,"--n-color":b,"--n-color-active":x,"--n-color-disabled":m,"--n-dot-color-active":w,"--n-dot-color-disabled":C,"--n-font-size":$,"--n-radio-size":I,"--n-text-color":S,"--n-text-color-disabled":_,"--n-label-padding":y}}),{inlineThemeDisabled:r,mergedClsPrefixRef:i,mergedRtlRef:a}=it(e),s=pn("Radio",a,i),l=r?kt("radio",L(()=>t.mergedSize.value[0]),o,e):void 0;return Object.assign(t,{rtlEnabled:s,cssVars:r?void 0:o,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender})},render(){const{$slots:e,mergedClsPrefix:t,onRender:n,label:o}=this;return n==null||n(),v("label",{class:[`${t}-radio`,this.themeClass,this.rtlEnabled&&`${t}-radio--rtl`,this.mergedDisabled&&`${t}-radio--disabled`,this.renderSafeChecked&&`${t}-radio--checked`,this.focus&&`${t}-radio--focus`],style:this.cssVars},v("input",{ref:"inputRef",type:"radio",class:`${t}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),v("div",{class:`${t}-radio__dot-wrapper`}," ",v("div",{class:[`${t}-radio__dot`,this.renderSafeChecked&&`${t}-radio__dot--checked`]})),Et(e.default,r=>!r&&!o?null:v("div",{ref:"labelRef",class:`${t}-radio__label`},r||o)))}}),dW=z("radio-group",` + `)])]),bW=Object.assign(Object.assign({},Be.props),x2),_2=ge({name:"Radio",props:bW,setup(e){const t=w2(e),n=Be("Radio","-radio",vW,dm,e,t.mergedClsPrefix),o=L(()=>{const{mergedSize:{value:c}}=t,{common:{cubicBezierEaseInOut:u},self:{boxShadow:d,boxShadowActive:f,boxShadowDisabled:p,boxShadowFocus:h,boxShadowHover:m,color:v,colorDisabled:b,colorActive:w,textColor:C,textColorDisabled:S,dotColorActive:_,dotColorDisabled:x,labelPadding:y,labelLineHeight:k,labelFontWeight:P,[Te("fontSize",c)]:T,[Te("radioSize",c)]:$}}=n.value;return{"--n-bezier":u,"--n-label-line-height":k,"--n-label-font-weight":P,"--n-box-shadow":d,"--n-box-shadow-active":f,"--n-box-shadow-disabled":p,"--n-box-shadow-focus":h,"--n-box-shadow-hover":m,"--n-color":v,"--n-color-active":w,"--n-color-disabled":b,"--n-dot-color-active":_,"--n-dot-color-disabled":x,"--n-font-size":T,"--n-radio-size":$,"--n-text-color":C,"--n-text-color-disabled":S,"--n-label-padding":y}}),{inlineThemeDisabled:r,mergedClsPrefixRef:i,mergedRtlRef:a}=st(e),s=pn("Radio",a,i),l=r?kt("radio",L(()=>t.mergedSize.value[0]),o,e):void 0;return Object.assign(t,{rtlEnabled:s,cssVars:r?void 0:o,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender})},render(){const{$slots:e,mergedClsPrefix:t,onRender:n,label:o}=this;return n==null||n(),g("label",{class:[`${t}-radio`,this.themeClass,this.rtlEnabled&&`${t}-radio--rtl`,this.mergedDisabled&&`${t}-radio--disabled`,this.renderSafeChecked&&`${t}-radio--checked`,this.focus&&`${t}-radio--focus`],style:this.cssVars},g("input",{ref:"inputRef",type:"radio",class:`${t}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),g("div",{class:`${t}-radio__dot-wrapper`}," ",g("div",{class:[`${t}-radio__dot`,this.renderSafeChecked&&`${t}-radio__dot--checked`]})),Et(e.default,r=>!r&&!o?null:g("div",{ref:"labelRef",class:`${t}-radio__label`},r||o)))}}),yW=z("radio-group",` display: inline-block; font-size: var(--n-font-size); `,[V("splitor",` @@ -1932,14 +1949,14 @@ ${t} bottom: -1px; right: -1px; top: -1px; - `),U("&:first-child",` + `),q("&: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); `,[V("state-border",` border-top-left-radius: var(--n-button-border-radius); border-bottom-left-radius: var(--n-button-border-radius); - `)]),U("&:last-child",` + `)]),q("&: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); @@ -1948,18 +1965,18 @@ ${t} border-bottom-right-radius: var(--n-button-border-radius); `)]),Tt("disabled",` cursor: pointer; - `,[U("&:hover",[V("state-border",` + `,[q("&:hover",[V("state-border",` transition: box-shadow .3s var(--n-bezier); box-shadow: var(--n-button-box-shadow-hover); - `),Tt("checked",{color:"var(--n-button-text-color-hover)"})]),Z("focus",[U("&:not(:active)",[V("state-border",{boxShadow:"var(--n-button-box-shadow-focus)"})])])]),Z("checked",` + `),Tt("checked",{color:"var(--n-button-text-color-hover)"})]),Z("focus",[q("&:not(:active)",[V("state-border",{boxShadow:"var(--n-button-box-shadow-focus)"})])])]),Z("checked",` background: var(--n-button-color-active); color: var(--n-button-text-color-active); border-color: var(--n-button-border-color-active); `),Z("disabled",` cursor: not-allowed; opacity: var(--n-opacity-disabled); - `)])]);function fW(e,t,n){var o;const r=[];let i=!1;for(let a=0;a{const{value:w}=n,{common:{cubicBezierEaseInOut:C},self:{buttonBorderColor:y,buttonBorderColorActive:k,buttonBorderRadius:R,buttonBoxShadow:$,buttonBoxShadowFocus:I,buttonBoxShadowHover:A,buttonColor:K,buttonColorActive:B,buttonTextColor:M,buttonTextColorActive:D,buttonTextColorHover:Y,opacityDisabled:Q,[ke("buttonHeight",w)]:ue,[ke("fontSize",w)]:le}}=d.value;return{"--n-font-size":le,"--n-bezier":C,"--n-button-border-color":y,"--n-button-border-color-active":k,"--n-button-border-radius":R,"--n-button-box-shadow":$,"--n-button-box-shadow-focus":I,"--n-button-box-shadow-hover":A,"--n-button-color":K,"--n-button-color-active":B,"--n-button-text-color":M,"--n-button-text-color-hover":Y,"--n-button-text-color-active":D,"--n-height":ue,"--n-opacity-disabled":Q}}),_=c?kt("radio-group",L(()=>n.value[0]),S,e):void 0;return{selfElRef:t,rtlEnabled:x,mergedClsPrefix:l,mergedValue:h,handleFocusout:m,handleFocusin:b,cssVars:c?void 0:S,themeClass:_==null?void 0:_.themeClass,onRender:_==null?void 0:_.onRender}},render(){var e;const{mergedValue:t,mergedClsPrefix:n,handleFocusin:o,handleFocusout:r}=this,{children:i,isButtonGroup:a}=fW(Pa(AC(this)),t,n);return(e=this.onRender)===null||e===void 0||e.call(this),v("div",{onFocusin:o,onFocusout:r,ref:"selfElRef",class:[`${n}-radio-group`,this.rtlEnabled&&`${n}-radio-group--rtl`,this.themeClass,a&&`${n}-radio-group--button-group`],style:this.cssVars},i)}}),pW=me({name:"RadioButton",props:f2,setup:p2,render(){const{mergedClsPrefix:e}=this;return v("label",{class:[`${e}-radio-button`,this.mergedDisabled&&`${e}-radio-button--disabled`,this.renderSafeChecked&&`${e}-radio-button--checked`,this.focus&&[`${e}-radio-button--focus`]]},v("input",{ref:"inputRef",type:"radio",class:`${e}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),v("div",{class:`${e}-radio-button__state-border`}),Et(this.$slots.default,t=>!t&&!this.label?null:v("div",{ref:"labelRef",class:`${e}-radio__label`},t||this.label)))}}),v2=40,b2=40;function B0(e){if(e.type==="selection")return e.width===void 0?v2:kn(e.width);if(e.type==="expand")return e.width===void 0?b2:kn(e.width);if(!("children"in e))return typeof e.width=="string"?kn(e.width):e.width}function mW(e){var t,n;if(e.type==="selection")return qt((t=e.width)!==null&&t!==void 0?t:v2);if(e.type==="expand")return qt((n=e.width)!==null&&n!==void 0?n:b2);if(!("children"in e))return qt(e.width)}function go(e){return e.type==="selection"?"__n_selection__":e.type==="expand"?"__n_expand__":e.key}function N0(e){return e&&(typeof e=="object"?Object.assign({},e):e)}function gW(e){return e==="ascend"?1:e==="descend"?-1:0}function vW(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 bW(e,t){if(t!==void 0)return{width:t,minWidth:t,maxWidth:t};const n=mW(e),{minWidth:o,maxWidth:r}=e;return{width:n,minWidth:qt(o)||n,maxWidth:qt(r)}}function yW(e,t,n){return typeof n=="function"?n(e,t):n||""}function Ud(e){return e.filterOptionValues!==void 0||e.filterOptionValue===void 0&&e.defaultFilterOptionValues!==void 0}function qd(e){return"children"in e?!1:!!e.sorter}function y2(e){return"children"in e&&e.children.length?!1:!!e.resizable}function H0(e){return"children"in e?!1:!!e.filter&&(!!e.filterOptions||!!e.renderFilterMenu)}function j0(e){if(e){if(e==="descend")return"ascend"}else return"descend";return!1}function xW(e,t){return e.sorter===void 0?null:t===null||t.columnKey!==e.key?{columnKey:e.key,sorter:e.sorter,order:j0(!1)}:Object.assign(Object.assign({},t),{order:j0(t.order)})}function x2(e,t){return t.find(n=>n.columnKey===e.key&&n.order)!==void 0}function CW(e){return typeof e=="string"?e.replace(/,/g,"\\,"):e==null?"":`${e}`.replace(/,/g,"\\,")}function wW(e,t){const n=e.filter(i=>i.type!=="expand"&&i.type!=="selection"),o=n.map(i=>i.title).join(","),r=t.map(i=>n.map(a=>CW(i[a.key])).join(","));return[o,...r].join(` -`)}const _W=me({name:"DataTableFilterMenu",props:{column:{type:Object,required:!0},radioGroupName:{type:String,required:!0},multiple:{type:Boolean,required:!0},value:{type:[Array,String,Number],default:null},options:{type:Array,required:!0},onConfirm:{type:Function,required:!0},onClear:{type:Function,required:!0},onChange:{type:Function,required:!0}},setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=it(e),o=pn("DataTable",n,t),{mergedClsPrefixRef:r,mergedThemeRef:i,localeRef:a}=We(Po),s=F(e.value),l=L(()=>{const{value:h}=s;return Array.isArray(h)?h:null}),c=L(()=>{const{value:h}=s;return Ud(e.column)?Array.isArray(h)&&h.length&&h[0]||null:Array.isArray(h)?null:h});function u(h){e.onChange(h)}function d(h){e.multiple&&Array.isArray(h)?s.value=h:Ud(e.column)&&!Array.isArray(h)?s.value=[h]:s.value=h}function f(){u(s.value),e.onConfirm()}function p(){e.multiple||Ud(e.column)?u([]):u(null),e.onClear()}return{mergedClsPrefix:r,rtlEnabled:o,mergedTheme:i,locale:a,checkboxGroupValue:l,radioGroupValue:c,handleChange:d,handleConfirmClick:f,handleClearClick:p}},render(){const{mergedTheme:e,locale:t,mergedClsPrefix:n}=this;return v("div",{class:[`${n}-data-table-filter-menu`,this.rtlEnabled&&`${n}-data-table-filter-menu--rtl`]},v(ko,null,{default:()=>{const{checkboxGroupValue:o,handleChange:r}=this;return this.multiple?v(cV,{value:o,class:`${n}-data-table-filter-menu__group`,onUpdateValue:r},{default:()=>this.options.map(i=>v(dl,{key:i.value,theme:e.peers.Checkbox,themeOverrides:e.peerOverrides.Checkbox,value:i.value},{default:()=>i.label}))}):v(g2,{name:this.radioGroupName,class:`${n}-data-table-filter-menu__group`,value:this.radioGroupValue,onUpdateValue:this.handleChange},{default:()=>this.options.map(i=>v(m2,{key:i.value,value:i.value,theme:e.peers.Radio,themeOverrides:e.peerOverrides.Radio},{default:()=>i.label}))})}}),v("div",{class:`${n}-data-table-filter-menu__action`},v($t,{size:"tiny",theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,onClick:this.handleClearClick},{default:()=>t.clear}),v($t,{theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,type:"primary",size:"tiny",onClick:this.handleConfirmClick},{default:()=>t.confirm})))}});function SW(e,t,n){const o=Object.assign({},e);return o[t]=n,o}const kW=me({name:"DataTableFilterButton",props:{column:{type:Object,required:!0},options:{type:Array,default:()=>[]}},setup(e){const{mergedComponentPropsRef:t}=it(),{mergedThemeRef:n,mergedClsPrefixRef:o,mergedFilterStateRef:r,filterMenuCssVarsRef:i,paginationBehaviorOnFilterRef:a,doUpdatePage:s,doUpdateFilters:l}=We(Po),c=F(!1),u=r,d=L(()=>e.column.filterMultiple!==!1),f=L(()=>{const x=u.value[e.column.key];if(x===void 0){const{value:S}=d;return S?[]:null}return x}),p=L(()=>{const{value:x}=f;return Array.isArray(x)?x.length>0:x!==null}),h=L(()=>{var x,S;return((S=(x=t==null?void 0:t.value)===null||x===void 0?void 0:x.DataTable)===null||S===void 0?void 0:S.renderFilter)||e.column.renderFilter});function g(x){const S=SW(u.value,e.column.key,x);l(S,e.column),a.value==="first"&&s(1)}function b(){c.value=!1}function m(){c.value=!1}return{mergedTheme:n,mergedClsPrefix:o,active:p,showPopover:c,mergedRenderFilter:h,filterMultiple:d,mergedFilterValue:f,filterMenuCssVars:i,handleFilterChange:g,handleFilterMenuConfirm:m,handleFilterMenuCancel:b}},render(){const{mergedTheme:e,mergedClsPrefix:t,handleFilterMenuCancel:n}=this;return v(cl,{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 v(lW,{"data-data-table-filter":!0,render:o,active:this.active,show:this.showPopover});const{renderFilterIcon:r}=this.column;return v("div",{"data-data-table-filter":!0,class:[`${t}-data-table-filter`,{[`${t}-data-table-filter--active`]:this.active,[`${t}-data-table-filter--show`]:this.showPopover}]},r?r({active:this.active,show:this.showPopover}):v(Ut,{clsPrefix:t},{default:()=>v(FB,null)}))},default:()=>{const{renderFilterMenu:o}=this.column;return o?o({hide:n}):v(_W,{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})}})}}),PW=me({name:"ColumnResizeButton",props:{onResizeStart:Function,onResize:Function,onResizeEnd:Function},setup(e){const{mergedClsPrefixRef:t}=We(Po),n=F(!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||(Ot("mousemove",window,a),Ot("mouseup",window,s),(c=e.onResizeStart)===null||c===void 0||c.call(e))}function a(l){var c;(c=e.onResize)===null||c===void 0||c.call(e,r(l)-o)}function s(){var l;n.value=!1,(l=e.onResizeEnd)===null||l===void 0||l.call(e),Pt("mousemove",window,a),Pt("mouseup",window,s)}return rn(()=>{Pt("mousemove",window,a),Pt("mouseup",window,s)}),{mergedClsPrefix:t,active:n,handleMousedown:i}},render(){const{mergedClsPrefix:e}=this;return v("span",{"data-data-table-resizable":!0,class:[`${e}-data-table-resize-button`,this.active&&`${e}-data-table-resize-button--active`],onMousedown:this.handleMousedown})}}),C2=me({name:"DropdownDivider",props:{clsPrefix:{type:String,required:!0}},render(){return v("div",{class:`${this.clsPrefix}-dropdown-divider`})}}),w2=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}},TW={name:"Icon",common:bt,self:w2},RW=TW,$W={name:"Icon",common:He,self:w2},EW=$W,AW=z("icon",` + `)])]);function xW(e,t,n){var o;const r=[];let i=!1;for(let a=0;a{const{value:_}=n,{common:{cubicBezierEaseInOut:x},self:{buttonBorderColor:y,buttonBorderColorActive:k,buttonBorderRadius:P,buttonBoxShadow:T,buttonBoxShadowFocus:$,buttonBoxShadowHover:R,buttonColor:K,buttonColorActive:H,buttonTextColor:D,buttonTextColorActive:M,buttonTextColorHover:Y,opacityDisabled:Q,[Te("buttonHeight",_)]:de,[Te("fontSize",_)]:he}}=d.value;return{"--n-font-size":he,"--n-bezier":x,"--n-button-border-color":y,"--n-button-border-color-active":k,"--n-button-border-radius":P,"--n-button-box-shadow":T,"--n-button-box-shadow-focus":$,"--n-button-box-shadow-hover":R,"--n-button-color":K,"--n-button-color-active":H,"--n-button-text-color":D,"--n-button-text-color-hover":Y,"--n-button-text-color-active":M,"--n-height":de,"--n-opacity-disabled":Q}}),S=c?kt("radio-group",L(()=>n.value[0]),C,e):void 0;return{selfElRef:t,rtlEnabled:w,mergedClsPrefix:l,mergedValue:h,handleFocusout:b,handleFocusin:v,cssVars:c?void 0:C,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){var e;const{mergedValue:t,mergedClsPrefix:n,handleFocusin:o,handleFocusout:r}=this,{children:i,isButtonGroup:a}=xW(_a(HC(this)),t,n);return(e=this.onRender)===null||e===void 0||e.call(this),g("div",{onFocusin:o,onFocusout:r,ref:"selfElRef",class:[`${n}-radio-group`,this.rtlEnabled&&`${n}-radio-group--rtl`,this.themeClass,a&&`${n}-radio-group--button-group`],style:this.cssVars},i)}}),wW=ge({name:"RadioButton",props:x2,setup:w2,render(){const{mergedClsPrefix:e}=this;return g("label",{class:[`${e}-radio-button`,this.mergedDisabled&&`${e}-radio-button--disabled`,this.renderSafeChecked&&`${e}-radio-button--checked`,this.focus&&[`${e}-radio-button--focus`]]},g("input",{ref:"inputRef",type:"radio",class:`${e}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),g("div",{class:`${e}-radio-button__state-border`}),Et(this.$slots.default,t=>!t&&!this.label?null:g("div",{ref:"labelRef",class:`${e}-radio__label`},t||this.label)))}}),k2=40,P2=40;function H0(e){if(e.type==="selection")return e.width===void 0?k2:Sn(e.width);if(e.type==="expand")return e.width===void 0?P2:Sn(e.width);if(!("children"in e))return typeof e.width=="string"?Sn(e.width):e.width}function _W(e){var t,n;if(e.type==="selection")return qt((t=e.width)!==null&&t!==void 0?t:k2);if(e.type==="expand")return qt((n=e.width)!==null&&n!==void 0?n:P2);if(!("children"in e))return qt(e.width)}function bo(e){return e.type==="selection"?"__n_selection__":e.type==="expand"?"__n_expand__":e.key}function j0(e){return e&&(typeof e=="object"?Object.assign({},e):e)}function SW(e){return e==="ascend"?1:e==="descend"?-1:0}function kW(e,t,n){return n!==void 0&&(e=Math.min(e,typeof n=="number"?n:parseFloat(n))),t!==void 0&&(e=Math.max(e,typeof t=="number"?t:parseFloat(t))),e}function PW(e,t){if(t!==void 0)return{width:t,minWidth:t,maxWidth:t};const n=_W(e),{minWidth:o,maxWidth:r}=e;return{width:n,minWidth:qt(o)||n,maxWidth:qt(r)}}function TW(e,t,n){return typeof n=="function"?n(e,t):n||""}function Ud(e){return e.filterOptionValues!==void 0||e.filterOptionValue===void 0&&e.defaultFilterOptionValues!==void 0}function qd(e){return"children"in e?!1:!!e.sorter}function T2(e){return"children"in e&&e.children.length?!1:!!e.resizable}function V0(e){return"children"in e?!1:!!e.filter&&(!!e.filterOptions||!!e.renderFilterMenu)}function W0(e){if(e){if(e==="descend")return"ascend"}else return"descend";return!1}function RW(e,t){return e.sorter===void 0?null:t===null||t.columnKey!==e.key?{columnKey:e.key,sorter:e.sorter,order:W0(!1)}:Object.assign(Object.assign({},t),{order:W0(t.order)})}function R2(e,t){return t.find(n=>n.columnKey===e.key&&n.order)!==void 0}function EW(e){return typeof e=="string"?e.replace(/,/g,"\\,"):e==null?"":`${e}`.replace(/,/g,"\\,")}function $W(e,t){const n=e.filter(i=>i.type!=="expand"&&i.type!=="selection"),o=n.map(i=>i.title).join(","),r=t.map(i=>n.map(a=>EW(i[a.key])).join(","));return[o,...r].join(` +`)}const AW=ge({name:"DataTableFilterMenu",props:{column:{type:Object,required:!0},radioGroupName:{type:String,required:!0},multiple:{type:Boolean,required:!0},value:{type:[Array,String,Number],default:null},options:{type:Array,required:!0},onConfirm:{type:Function,required:!0},onClear:{type:Function,required:!0},onChange:{type:Function,required:!0}},setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=st(e),o=pn("DataTable",n,t),{mergedClsPrefixRef:r,mergedThemeRef:i,localeRef:a}=We(Ro),s=W(e.value),l=L(()=>{const{value:h}=s;return Array.isArray(h)?h:null}),c=L(()=>{const{value:h}=s;return Ud(e.column)?Array.isArray(h)&&h.length&&h[0]||null:Array.isArray(h)?null:h});function u(h){e.onChange(h)}function d(h){e.multiple&&Array.isArray(h)?s.value=h:Ud(e.column)&&!Array.isArray(h)?s.value=[h]:s.value=h}function f(){u(s.value),e.onConfirm()}function p(){e.multiple||Ud(e.column)?u([]):u(null),e.onClear()}return{mergedClsPrefix:r,rtlEnabled:o,mergedTheme:i,locale:a,checkboxGroupValue:l,radioGroupValue:c,handleChange:d,handleConfirmClick:f,handleClearClick:p}},render(){const{mergedTheme:e,locale:t,mergedClsPrefix:n}=this;return g("div",{class:[`${n}-data-table-filter-menu`,this.rtlEnabled&&`${n}-data-table-filter-menu--rtl`]},g(To,null,{default:()=>{const{checkboxGroupValue:o,handleChange:r}=this;return this.multiple?g(vV,{value:o,class:`${n}-data-table-filter-menu__group`,onUpdateValue:r},{default:()=>this.options.map(i=>g(hl,{key:i.value,theme:e.peers.Checkbox,themeOverrides:e.peerOverrides.Checkbox,value:i.value},{default:()=>i.label}))}):g(S2,{name:this.radioGroupName,class:`${n}-data-table-filter-menu__group`,value:this.radioGroupValue,onUpdateValue:this.handleChange},{default:()=>this.options.map(i=>g(_2,{key:i.value,value:i.value,theme:e.peers.Radio,themeOverrides:e.peerOverrides.Radio},{default:()=>i.label}))})}}),g("div",{class:`${n}-data-table-filter-menu__action`},g(zt,{size:"tiny",theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,onClick:this.handleClearClick},{default:()=>t.clear}),g(zt,{theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,type:"primary",size:"tiny",onClick:this.handleConfirmClick},{default:()=>t.confirm})))}});function IW(e,t,n){const o=Object.assign({},e);return o[t]=n,o}const OW=ge({name:"DataTableFilterButton",props:{column:{type:Object,required:!0},options:{type:Array,default:()=>[]}},setup(e){const{mergedComponentPropsRef:t}=st(),{mergedThemeRef:n,mergedClsPrefixRef:o,mergedFilterStateRef:r,filterMenuCssVarsRef:i,paginationBehaviorOnFilterRef:a,doUpdatePage:s,doUpdateFilters:l}=We(Ro),c=W(!1),u=r,d=L(()=>e.column.filterMultiple!==!1),f=L(()=>{const w=u.value[e.column.key];if(w===void 0){const{value:C}=d;return C?[]:null}return w}),p=L(()=>{const{value:w}=f;return Array.isArray(w)?w.length>0:w!==null}),h=L(()=>{var w,C;return((C=(w=t==null?void 0:t.value)===null||w===void 0?void 0:w.DataTable)===null||C===void 0?void 0:C.renderFilter)||e.column.renderFilter});function m(w){const C=IW(u.value,e.column.key,w);l(C,e.column),a.value==="first"&&s(1)}function v(){c.value=!1}function b(){c.value=!1}return{mergedTheme:n,mergedClsPrefix:o,active:p,showPopover:c,mergedRenderFilter:h,filterMultiple:d,mergedFilterValue:f,filterMenuCssVars:i,handleFilterChange:m,handleFilterMenuConfirm:b,handleFilterMenuCancel:v}},render(){const{mergedTheme:e,mergedClsPrefix:t,handleFilterMenuCancel:n}=this;return g(dl,{show:this.showPopover,onUpdateShow:o=>this.showPopover=o,trigger:"click",theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,placement:"bottom",style:{padding:0}},{trigger:()=>{const{mergedRenderFilter:o}=this;if(o)return g(gW,{"data-data-table-filter":!0,render:o,active:this.active,show:this.showPopover});const{renderFilterIcon:r}=this.column;return g("div",{"data-data-table-filter":!0,class:[`${t}-data-table-filter`,{[`${t}-data-table-filter--active`]:this.active,[`${t}-data-table-filter--show`]:this.showPopover}]},r?r({active:this.active,show:this.showPopover}):g(Ut,{clsPrefix:t},{default:()=>g(qB,null)}))},default:()=>{const{renderFilterMenu:o}=this.column;return o?o({hide:n}):g(AW,{style:this.filterMenuCssVars,radioGroupName:String(this.column.key),multiple:this.filterMultiple,value:this.mergedFilterValue,options:this.options,column:this.column,onChange:this.handleFilterChange,onClear:this.handleFilterMenuCancel,onConfirm:this.handleFilterMenuConfirm})}})}}),MW=ge({name:"ColumnResizeButton",props:{onResizeStart:Function,onResize:Function,onResizeEnd:Function},setup(e){const{mergedClsPrefixRef:t}=We(Ro),n=W(!1);let o=0;function r(l){return l.clientX}function i(l){var c;l.preventDefault();const u=n.value;o=r(l),n.value=!0,u||(It("mousemove",window,a),It("mouseup",window,s),(c=e.onResizeStart)===null||c===void 0||c.call(e))}function a(l){var c;(c=e.onResize)===null||c===void 0||c.call(e,r(l)-o)}function s(){var l;n.value=!1,(l=e.onResizeEnd)===null||l===void 0||l.call(e),Pt("mousemove",window,a),Pt("mouseup",window,s)}return rn(()=>{Pt("mousemove",window,a),Pt("mouseup",window,s)}),{mergedClsPrefix:t,active:n,handleMousedown:i}},render(){const{mergedClsPrefix:e}=this;return g("span",{"data-data-table-resizable":!0,class:[`${e}-data-table-resize-button`,this.active&&`${e}-data-table-resize-button--active`],onMousedown:this.handleMousedown})}}),E2=ge({name:"DropdownDivider",props:{clsPrefix:{type:String,required:!0}},render(){return g("div",{class:`${this.clsPrefix}-dropdown-divider`})}}),$2=e=>{const{textColorBase:t,opacity1:n,opacity2:o,opacity3:r,opacity4:i,opacity5:a}=e;return{color:t,opacity1Depth:n,opacity2Depth:o,opacity3Depth:r,opacity4Depth:i,opacity5Depth:a}},zW={name:"Icon",common:bt,self:$2},DW=zW,LW={name:"Icon",common:Ne,self:$2},FW=LW,BW=z("icon",` height: 1em; width: 1em; line-height: 1em; @@ -1968,7 +1985,7 @@ ${t} position: relative; fill: currentColor; transform: translateZ(0); -`,[Z("color-transition",{transition:"color .3s var(--n-bezier)"}),Z("depth",{color:"var(--n-color)"},[U("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),U("svg",{height:"1em",width:"1em"})]),IW=Object.assign(Object.assign({},Be.props),{depth:[String,Number],size:[Number,String],color:String,component:Object}),pr=me({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:IW,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=it(e),o=Be("Icon","-icon",AW,RW,e,t),r=L(()=>{const{depth:a}=e,{common:{cubicBezierEaseInOut:s},self:l}=o.value;if(a!==void 0){const{color:c,[`opacity${a}Depth`]:u}=l;return{"--n-bezier":s,"--n-color":c,"--n-opacity":u}}return{"--n-bezier":s,"--n-color":"","--n-opacity":""}}),i=n?kt("icon",L(()=>`${e.depth||"d"}`),r,e):void 0;return{mergedClsPrefix:t,mergedStyle:L(()=>{const{size:a,color:s}=e;return{fontSize:qt(a),color:s}}),cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$parent:t,depth:n,mergedClsPrefix:o,component:r,onRender:i,themeClass:a}=this;return!((e=t==null?void 0:t.$options)===null||e===void 0)&&e._n_icon__&&sr("icon","don't wrap `n-icon` inside `n-icon`"),i==null||i(),v("i",Dn(this.$attrs,{role:"img",class:[`${o}-icon`,a,{[`${o}-icon--depth`]:n,[`${o}-icon--color-transition`]:n!==void 0}],style:[this.cssVars,this.mergedStyle]}),r?v(r):this.$slots)}}),fm="n-dropdown-menu",Mu="n-dropdown",V0="n-dropdown-option";function Sh(e,t){return e.type==="submenu"||e.type===void 0&&e[t]!==void 0}function OW(e){return e.type==="group"}function _2(e){return e.type==="divider"}function MW(e){return e.type==="render"}const S2=me({name:"DropdownOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null},placement:{type:String,default:"right-start"},props:Object,scrollable:Boolean},setup(e){const t=We(Mu),{hoverKeyRef:n,keyboardKeyRef:o,lastToggledSubmenuKeyRef:r,pendingKeyPathRef:i,activeKeyPathRef:a,animatedRef:s,mergedShowRef:l,renderLabelRef:c,renderIconRef:u,labelFieldRef:d,childrenFieldRef:f,renderOptionRef:p,nodePropsRef:h,menuPropsRef:g}=t,b=We(V0,null),m=We(fm),x=We(Na),S=L(()=>e.tmNode.rawNode),_=L(()=>{const{value:Y}=f;return Sh(e.tmNode.rawNode,Y)}),w=L(()=>{const{disabled:Y}=e.tmNode;return Y}),C=L(()=>{if(!_.value)return!1;const{key:Y,disabled:Q}=e.tmNode;if(Q)return!1;const{value:ue}=n,{value:le}=o,{value:N}=r,{value:E}=i;return ue!==null?E.includes(Y):le!==null?E.includes(Y)&&E[E.length-1]!==Y:N!==null?E.includes(Y):!1}),y=L(()=>o.value===null&&!s.value),k=_6(C,300,y),R=L(()=>!!(b!=null&&b.enteringSubmenuRef.value)),$=F(!1);lt(V0,{enteringSubmenuRef:$});function I(){$.value=!0}function A(){$.value=!1}function K(){const{parentKey:Y,tmNode:Q}=e;Q.disabled||l.value&&(r.value=Y,o.value=null,n.value=Q.key)}function B(){const{tmNode:Y}=e;Y.disabled||l.value&&n.value!==Y.key&&K()}function M(Y){if(e.tmNode.disabled||!l.value)return;const{relatedTarget:Q}=Y;Q&&!Vo({target:Q},"dropdownOption")&&!Vo({target:Q},"scrollbarRail")&&(n.value=null)}function D(){const{value:Y}=_,{tmNode:Q}=e;l.value&&!Y&&!Q.disabled&&(t.doSelect(Q.key,Q.rawNode),t.doUpdateShow(!1))}return{labelField:d,renderLabel:c,renderIcon:u,siblingHasIcon:m.showIconRef,siblingHasSubmenu:m.hasSubmenuRef,menuProps:g,popoverBody:x,animated:s,mergedShowSubmenu:L(()=>k.value&&!R.value),rawNode:S,hasSubmenu:_,pending:St(()=>{const{value:Y}=i,{key:Q}=e.tmNode;return Y.includes(Q)}),childActive:St(()=>{const{value:Y}=a,{key:Q}=e.tmNode,ue=Y.findIndex(le=>Q===le);return ue===-1?!1:ue{const{value:Y}=a,{key:Q}=e.tmNode,ue=Y.findIndex(le=>Q===le);return ue===-1?!1:ue===Y.length-1}),mergedDisabled:w,renderOption:p,nodeProps:h,handleClick:D,handleMouseMove:B,handleMouseEnter:K,handleMouseLeave:M,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 x=(e=this.menuProps)===null||e===void 0?void 0:e.call(this,o,o.children);h=v(k2,Object.assign({},x,{clsPrefix:i,scrollable:this.scrollable,tmNodes:this.tmNode.children,parentKey:this.tmNode.key}))}const g={class:[`${i}-dropdown-option-body`,this.pending&&`${i}-dropdown-option-body--pending`,this.active&&`${i}-dropdown-option-body--active`,this.childActive&&`${i}-dropdown-option-body--child-active`,this.mergedDisabled&&`${i}-dropdown-option-body--disabled`],onMousemove:this.handleMouseMove,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onClick:this.handleClick},b=d==null?void 0:d(o),m=v("div",Object.assign({class:[`${i}-dropdown-option`,b==null?void 0:b.class],"data-dropdown-option":!0},b),v("div",Dn(g,f),[v("div",{class:[`${i}-dropdown-option-body__prefix`,a&&`${i}-dropdown-option-body__prefix--show-icon`]},[c?c(o):Wt(o.icon)]),v("div",{"data-dropdown-option":!0,class:`${i}-dropdown-option-body__label`},l?l(o):Wt((t=o[this.labelField])!==null&&t!==void 0?t:o.title)),v("div",{"data-dropdown-option":!0,class:[`${i}-dropdown-option-body__suffix`,s&&`${i}-dropdown-option-body__suffix--has-submenu`]},this.hasSubmenu?v(pr,null,{default:()=>v(Zp,null)}):null)]),this.hasSubmenu?v(Ap,null,{default:()=>[v(Ip,null,{default:()=>v("div",{class:`${i}-dropdown-offset-container`},v(Mp,{show:this.mergedShowSubmenu,placement:this.placement,to:p&&this.popoverBody||void 0,teleportDisabled:!p},{default:()=>v("div",{class:`${i}-dropdown-menu-wrapper`},n?v(hn,{onBeforeEnter:this.handleSubmenuBeforeEnter,onAfterEnter:this.handleSubmenuAfterEnter,name:"fade-in-scale-up-transition",appear:!0},{default:()=>h}):h)}))})]}):null);return u?u({node:m,option:o}):m}}),zW=me({name:"DropdownGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{showIconRef:e,hasSubmenuRef:t}=We(fm),{renderLabelRef:n,labelFieldRef:o,nodePropsRef:r,renderOptionRef:i}=We(Mu);return{labelField:o,showIcon:e,hasSubmenu:t,renderLabel:n,nodeProps:r,renderOption:i}},render(){var e;const{clsPrefix:t,hasSubmenu:n,showIcon:o,nodeProps:r,renderLabel:i,renderOption:a}=this,{rawNode:s}=this.tmNode,l=v("div",Object.assign({class:`${t}-dropdown-option`},r==null?void 0:r(s)),v("div",{class:`${t}-dropdown-option-body ${t}-dropdown-option-body--group`},v("div",{"data-dropdown-option":!0,class:[`${t}-dropdown-option-body__prefix`,o&&`${t}-dropdown-option-body__prefix--show-icon`]},Wt(s.icon)),v("div",{class:`${t}-dropdown-option-body__label`,"data-dropdown-option":!0},i?i(s):Wt((e=s.title)!==null&&e!==void 0?e:s[this.labelField])),v("div",{class:[`${t}-dropdown-option-body__suffix`,n&&`${t}-dropdown-option-body__suffix--has-submenu`],"data-dropdown-option":!0})));return a?a({node:l,option:s}):l}}),DW=me({name:"NDropdownGroup",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null}},render(){const{tmNode:e,parentKey:t,clsPrefix:n}=this,{children:o}=e;return v(at,null,v(zW,{clsPrefix:n,tmNode:e,key:e.key}),o==null?void 0:o.map(r=>{const{rawNode:i}=r;return i.show===!1?null:_2(i)?v(C2,{clsPrefix:n,key:r.key}):r.isGroup?(sr("dropdown","`group` node is not allowed to be put in `group` node."),null):v(S2,{clsPrefix:n,tmNode:r,parentKey:t,key:r.key})}))}}),LW=me({name:"DropdownRenderOption",props:{tmNode:{type:Object,required:!0}},render(){const{rawNode:{render:e,props:t}}=this.tmNode;return v("div",t,[e==null?void 0:e()])}}),k2=me({name:"DropdownMenu",props:{scrollable:Boolean,showArrow:Boolean,arrowStyle:[String,Object],clsPrefix:{type:String,required:!0},tmNodes:{type:Array,default:()=>[]},parentKey:{type:[String,Number],default:null}},setup(e){const{renderIconRef:t,childrenFieldRef:n}=We(Mu);lt(fm,{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})=>Sh(l,r));const{rawNode:s}=i;return Sh(s,r)})})});const o=F(null);return lt(ol,null),lt(rl,null),lt(Na,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:MW(i)?v(LW,{tmNode:r,key:r.key}):_2(i)?v(C2,{clsPrefix:t,key:r.key}):OW(i)?v(DW,{clsPrefix:t,tmNode:r,parentKey:e,key:r.key}):v(S2,{clsPrefix:t,tmNode:r,parentKey:e,key:r.key,props:i.props,scrollable:n})});return v("div",{class:[`${t}-dropdown-menu`,n&&`${t}-dropdown-menu--scrollable`],ref:"bodyRef"},n?v(m_,{contentClass:`${t}-dropdown-menu__content`},{default:()=>o}):o,this.showArrow?x_({clsPrefix:t,arrowStyle:this.arrowStyle,arrowClass:void 0,arrowWrapperClass:void 0,arrowWrapperStyle:void 0}):null)}}),FW=z("dropdown-menu",` +`,[Z("color-transition",{transition:"color .3s var(--n-bezier)"}),Z("depth",{color:"var(--n-color)"},[q("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),q("svg",{height:"1em",width:"1em"})]),NW=Object.assign(Object.assign({},Be.props),{depth:[String,Number],size:[Number,String],color:String,component:Object}),mr=ge({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:NW,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Icon","-icon",BW,DW,e,t),r=L(()=>{const{depth:a}=e,{common:{cubicBezierEaseInOut:s},self:l}=o.value;if(a!==void 0){const{color:c,[`opacity${a}Depth`]:u}=l;return{"--n-bezier":s,"--n-color":c,"--n-opacity":u}}return{"--n-bezier":s,"--n-color":"","--n-opacity":""}}),i=n?kt("icon",L(()=>`${e.depth||"d"}`),r,e):void 0;return{mergedClsPrefix:t,mergedStyle:L(()=>{const{size:a,color:s}=e;return{fontSize:qt(a),color:s}}),cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$parent:t,depth:n,mergedClsPrefix:o,component:r,onRender:i,themeClass:a}=this;return!((e=t==null?void 0:t.$options)===null||e===void 0)&&e._n_icon__&&ar("icon","don't wrap `n-icon` inside `n-icon`"),i==null||i(),g("i",Ln(this.$attrs,{role:"img",class:[`${o}-icon`,a,{[`${o}-icon--depth`]:n,[`${o}-icon--color-transition`]:n!==void 0}],style:[this.cssVars,this.mergedStyle]}),r?g(r):this.$slots)}}),mm="n-dropdown-menu",Mu="n-dropdown",U0="n-dropdown-option";function Ph(e,t){return e.type==="submenu"||e.type===void 0&&e[t]!==void 0}function HW(e){return e.type==="group"}function A2(e){return e.type==="divider"}function jW(e){return e.type==="render"}const I2=ge({name:"DropdownOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null},placement:{type:String,default:"right-start"},props:Object,scrollable:Boolean},setup(e){const t=We(Mu),{hoverKeyRef:n,keyboardKeyRef:o,lastToggledSubmenuKeyRef:r,pendingKeyPathRef:i,activeKeyPathRef:a,animatedRef:s,mergedShowRef:l,renderLabelRef:c,renderIconRef:u,labelFieldRef:d,childrenFieldRef:f,renderOptionRef:p,nodePropsRef:h,menuPropsRef:m}=t,v=We(U0,null),b=We(mm),w=We(La),C=L(()=>e.tmNode.rawNode),S=L(()=>{const{value:Y}=f;return Ph(e.tmNode.rawNode,Y)}),_=L(()=>{const{disabled:Y}=e.tmNode;return Y}),x=L(()=>{if(!S.value)return!1;const{key:Y,disabled:Q}=e.tmNode;if(Q)return!1;const{value:de}=n,{value:he}=o,{value:B}=r,{value:E}=i;return de!==null?E.includes(Y):he!==null?E.includes(Y)&&E[E.length-1]!==Y:B!==null?E.includes(Y):!1}),y=L(()=>o.value===null&&!s.value),k=$6(x,300,y),P=L(()=>!!(v!=null&&v.enteringSubmenuRef.value)),T=W(!1);at(U0,{enteringSubmenuRef:T});function $(){T.value=!0}function R(){T.value=!1}function K(){const{parentKey:Y,tmNode:Q}=e;Q.disabled||l.value&&(r.value=Y,o.value=null,n.value=Q.key)}function H(){const{tmNode:Y}=e;Y.disabled||l.value&&n.value!==Y.key&&K()}function D(Y){if(e.tmNode.disabled||!l.value)return;const{relatedTarget:Q}=Y;Q&&!wo({target:Q},"dropdownOption")&&!wo({target:Q},"scrollbarRail")&&(n.value=null)}function M(){const{value:Y}=S,{tmNode:Q}=e;l.value&&!Y&&!Q.disabled&&(t.doSelect(Q.key,Q.rawNode),t.doUpdateShow(!1))}return{labelField:d,renderLabel:c,renderIcon:u,siblingHasIcon:b.showIconRef,siblingHasSubmenu:b.hasSubmenuRef,menuProps:m,popoverBody:w,animated:s,mergedShowSubmenu:L(()=>k.value&&!P.value),rawNode:C,hasSubmenu:S,pending:St(()=>{const{value:Y}=i,{key:Q}=e.tmNode;return Y.includes(Q)}),childActive:St(()=>{const{value:Y}=a,{key:Q}=e.tmNode,de=Y.findIndex(he=>Q===he);return de===-1?!1:de{const{value:Y}=a,{key:Q}=e.tmNode,de=Y.findIndex(he=>Q===he);return de===-1?!1:de===Y.length-1}),mergedDisabled:_,renderOption:p,nodeProps:h,handleClick:M,handleMouseMove:H,handleMouseEnter:K,handleMouseLeave:D,handleSubmenuBeforeEnter:$,handleSubmenuAfterEnter:R}},render(){var e,t;const{animated:n,rawNode:o,mergedShowSubmenu:r,clsPrefix:i,siblingHasIcon:a,siblingHasSubmenu:s,renderLabel:l,renderIcon:c,renderOption:u,nodeProps:d,props:f,scrollable:p}=this;let h=null;if(r){const w=(e=this.menuProps)===null||e===void 0?void 0:e.call(this,o,o.children);h=g(O2,Object.assign({},w,{clsPrefix:i,scrollable:this.scrollable,tmNodes:this.tmNode.children,parentKey:this.tmNode.key}))}const m={class:[`${i}-dropdown-option-body`,this.pending&&`${i}-dropdown-option-body--pending`,this.active&&`${i}-dropdown-option-body--active`,this.childActive&&`${i}-dropdown-option-body--child-active`,this.mergedDisabled&&`${i}-dropdown-option-body--disabled`],onMousemove:this.handleMouseMove,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onClick:this.handleClick},v=d==null?void 0:d(o),b=g("div",Object.assign({class:[`${i}-dropdown-option`,v==null?void 0:v.class],"data-dropdown-option":!0},v),g("div",Ln(m,f),[g("div",{class:[`${i}-dropdown-option-body__prefix`,a&&`${i}-dropdown-option-body__prefix--show-icon`]},[c?c(o):Wt(o.icon)]),g("div",{"data-dropdown-option":!0,class:`${i}-dropdown-option-body__label`},l?l(o):Wt((t=o[this.labelField])!==null&&t!==void 0?t:o.title)),g("div",{"data-dropdown-option":!0,class:[`${i}-dropdown-option-body__suffix`,s&&`${i}-dropdown-option-body__suffix--has-submenu`]},this.hasSubmenu?g(mr,null,{default:()=>g(Zp,null)}):null)]),this.hasSubmenu?g(Ap,null,{default:()=>[g(Ip,null,{default:()=>g("div",{class:`${i}-dropdown-offset-container`},g(Mp,{show:this.mergedShowSubmenu,placement:this.placement,to:p&&this.popoverBody||void 0,teleportDisabled:!p},{default:()=>g("div",{class:`${i}-dropdown-menu-wrapper`},n?g(fn,{onBeforeEnter:this.handleSubmenuBeforeEnter,onAfterEnter:this.handleSubmenuAfterEnter,name:"fade-in-scale-up-transition",appear:!0},{default:()=>h}):h)}))})]}):null);return u?u({node:b,option:o}):b}}),VW=ge({name:"DropdownGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{showIconRef:e,hasSubmenuRef:t}=We(mm),{renderLabelRef:n,labelFieldRef:o,nodePropsRef:r,renderOptionRef:i}=We(Mu);return{labelField:o,showIcon:e,hasSubmenu:t,renderLabel:n,nodeProps:r,renderOption:i}},render(){var e;const{clsPrefix:t,hasSubmenu:n,showIcon:o,nodeProps:r,renderLabel:i,renderOption:a}=this,{rawNode:s}=this.tmNode,l=g("div",Object.assign({class:`${t}-dropdown-option`},r==null?void 0:r(s)),g("div",{class:`${t}-dropdown-option-body ${t}-dropdown-option-body--group`},g("div",{"data-dropdown-option":!0,class:[`${t}-dropdown-option-body__prefix`,o&&`${t}-dropdown-option-body__prefix--show-icon`]},Wt(s.icon)),g("div",{class:`${t}-dropdown-option-body__label`,"data-dropdown-option":!0},i?i(s):Wt((e=s.title)!==null&&e!==void 0?e:s[this.labelField])),g("div",{class:[`${t}-dropdown-option-body__suffix`,n&&`${t}-dropdown-option-body__suffix--has-submenu`],"data-dropdown-option":!0})));return a?a({node:l,option:s}):l}}),WW=ge({name:"NDropdownGroup",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null}},render(){const{tmNode:e,parentKey:t,clsPrefix:n}=this,{children:o}=e;return g(rt,null,g(VW,{clsPrefix:n,tmNode:e,key:e.key}),o==null?void 0:o.map(r=>{const{rawNode:i}=r;return i.show===!1?null:A2(i)?g(E2,{clsPrefix:n,key:r.key}):r.isGroup?(ar("dropdown","`group` node is not allowed to be put in `group` node."),null):g(I2,{clsPrefix:n,tmNode:r,parentKey:t,key:r.key})}))}}),UW=ge({name:"DropdownRenderOption",props:{tmNode:{type:Object,required:!0}},render(){const{rawNode:{render:e,props:t}}=this.tmNode;return g("div",t,[e==null?void 0:e()])}}),O2=ge({name:"DropdownMenu",props:{scrollable:Boolean,showArrow:Boolean,arrowStyle:[String,Object],clsPrefix:{type:String,required:!0},tmNodes:{type:Array,default:()=>[]},parentKey:{type:[String,Number],default:null}},setup(e){const{renderIconRef:t,childrenFieldRef:n}=We(Mu);at(mm,{showIconRef:L(()=>{const r=t.value;return e.tmNodes.some(i=>{var a;if(i.isGroup)return(a=i.children)===null||a===void 0?void 0:a.some(({rawNode:l})=>r?r(l):l.icon);const{rawNode:s}=i;return r?r(s):s.icon})}),hasSubmenuRef:L(()=>{const{value:r}=n;return e.tmNodes.some(i=>{var a;if(i.isGroup)return(a=i.children)===null||a===void 0?void 0:a.some(({rawNode:l})=>Ph(l,r));const{rawNode:s}=i;return Ph(s,r)})})});const o=W(null);return at(il,null),at(al,null),at(La,o),{bodyRef:o}},render(){const{parentKey:e,clsPrefix:t,scrollable:n}=this,o=this.tmNodes.map(r=>{const{rawNode:i}=r;return i.show===!1?null:jW(i)?g(UW,{tmNode:r,key:r.key}):A2(i)?g(E2,{clsPrefix:t,key:r.key}):HW(i)?g(WW,{clsPrefix:t,tmNode:r,parentKey:e,key:r.key}):g(I2,{clsPrefix:t,tmNode:r,parentKey:e,key:r.key,props:i.props,scrollable:n})});return g("div",{class:[`${t}-dropdown-menu`,n&&`${t}-dropdown-menu--scrollable`],ref:"bodyRef"},n?g(__,{contentClass:`${t}-dropdown-menu__content`},{default:()=>o}):o,this.showArrow?R_({clsPrefix:t,arrowStyle:this.arrowStyle,arrowClass:void 0,arrowWrapperClass:void 0,arrowWrapperStyle:void 0}):null)}}),qW=z("dropdown-menu",` transform-origin: var(--v-transform-origin); background-color: var(--n-color); border-radius: var(--n-border-radius); @@ -1977,13 +1994,13 @@ ${t} transition: background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier); -`,[Va(),z("dropdown-option",` +`,[Na(),z("dropdown-option",` position: relative; - `,[U("a",` + `,[q("a",` text-decoration: none; color: inherit; outline: none; - `,[U("&::before",` + `,[q("&::before",` content: ""; position: absolute; left: 0; @@ -1999,7 +2016,7 @@ ${t} font-size: var(--n-font-size); color: var(--n-option-text-color); transition: color .3s var(--n-bezier); - `,[U("&::before",` + `,[q("&::before",` content: ""; position: absolute; top: 0; @@ -2012,11 +2029,11 @@ ${t} color: var(--n-option-text-color-hover); `,[V("prefix, suffix",` color: var(--n-option-text-color-hover); - `),U("&::before","background-color: var(--n-option-color-hover);")]),Z("active",` + `),q("&::before","background-color: var(--n-option-color-hover);")]),Z("active",` color: var(--n-option-text-color-active); `,[V("prefix, suffix",` color: var(--n-option-text-color-active); - `),U("&::before","background-color: var(--n-option-color-active);")]),Z("child-active",` + `),q("&::before","background-color: var(--n-option-color-active);")]),Z("child-active",` color: var(--n-option-text-color-child-active); `,[V("prefix, suffix",` color: var(--n-option-text-color-child-active); @@ -2077,14 +2094,14 @@ ${t} `),z("dropdown-menu-wrapper",` transform-origin: var(--v-transform-origin); width: fit-content; - `),U(">",[z("scrollbar",` + `),q(">",[z("scrollbar",` height: inherit; max-height: inherit; `)]),Tt("scrollable",` padding: var(--n-padding); `),Z("scrollable",[V("content",` padding: var(--n-padding); - `)])]),BW={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]},NW=Object.keys($a),HW=Object.assign(Object.assign(Object.assign({},$a),BW),Be.props),hm=me({name:"Dropdown",inheritAttrs:!1,props:HW,setup(e){const t=F(!1),n=ln(je(e,"show"),t),o=L(()=>{const{keyField:A,childrenField:K}=e;return bi(e.options,{getKey(B){return B[A]},getDisabled(B){return B.disabled===!0},getIgnored(B){return B.type==="divider"||B.type==="render"},getChildren(B){return B[K]}})}),r=L(()=>o.value.treeNodes),i=F(null),a=F(null),s=F(null),l=L(()=>{var A,K,B;return(B=(K=(A=i.value)!==null&&A!==void 0?A:a.value)!==null&&K!==void 0?K: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=St(()=>e.keyboard&&n.value);z6({keydown:{ArrowUp:{prevent:!0,handler:w},ArrowRight:{prevent:!0,handler:_},ArrowDown:{prevent:!0,handler:C},ArrowLeft:{prevent:!0,handler:S},Enter:{prevent:!0,handler:y},Escape:x}},d);const{mergedClsPrefixRef:f,inlineThemeDisabled:p}=it(e),h=Be("Dropdown","-dropdown",FW,cm,e,f);lt(Mu,{labelFieldRef:je(e,"labelField"),childrenFieldRef:je(e,"childrenField"),renderLabelRef:je(e,"renderLabel"),renderIconRef:je(e,"renderIcon"),hoverKeyRef:i,keyboardKeyRef:a,lastToggledSubmenuKeyRef:s,pendingKeyPathRef:c,activeKeyPathRef:u,animatedRef:je(e,"animated"),mergedShowRef:n,nodePropsRef:je(e,"nodeProps"),renderOptionRef:je(e,"renderOption"),menuPropsRef:je(e,"menuProps"),doSelect:g,doUpdateShow:b}),ht(n,A=>{!e.animated&&!A&&m()});function g(A,K){const{onSelect:B}=e;B&&Re(B,A,K)}function b(A){const{"onUpdate:show":K,onUpdateShow:B}=e;K&&Re(K,A),B&&Re(B,A),t.value=A}function m(){i.value=null,a.value=null,s.value=null}function x(){b(!1)}function S(){R("left")}function _(){R("right")}function w(){R("up")}function C(){R("down")}function y(){const A=k();A!=null&&A.isLeaf&&n.value&&(g(A.key,A.rawNode),b(!1))}function k(){var A;const{value:K}=o,{value:B}=l;return!K||B===null?null:(A=K.getNode(B))!==null&&A!==void 0?A:null}function R(A){const{value:K}=l,{value:{getFirstAvailableNode:B}}=o;let M=null;if(K===null){const D=B();D!==null&&(M=D.key)}else{const D=k();if(D){let Y;switch(A){case"down":Y=D.getNext();break;case"up":Y=D.getPrev();break;case"right":Y=D.getChild();break;case"left":Y=D.getParent();break}Y&&(M=Y.key)}}M!==null&&(i.value=null,a.value=M)}const $=L(()=>{const{size:A,inverted:K}=e,{common:{cubicBezierEaseInOut:B},self:M}=h.value,{padding:D,dividerColor:Y,borderRadius:Q,optionOpacityDisabled:ue,[ke("optionIconSuffixWidth",A)]:le,[ke("optionSuffixWidth",A)]:N,[ke("optionIconPrefixWidth",A)]:E,[ke("optionPrefixWidth",A)]:O,[ke("fontSize",A)]:q,[ke("optionHeight",A)]:ne,[ke("optionIconSize",A)]:ve}=M,J={"--n-bezier":B,"--n-font-size":q,"--n-padding":D,"--n-border-radius":Q,"--n-option-height":ne,"--n-option-prefix-width":O,"--n-option-icon-prefix-width":E,"--n-option-suffix-width":N,"--n-option-icon-suffix-width":le,"--n-option-icon-size":ve,"--n-divider-color":Y,"--n-option-opacity-disabled":ue};return K?(J["--n-color"]=M.colorInverted,J["--n-option-color-hover"]=M.optionColorHoverInverted,J["--n-option-color-active"]=M.optionColorActiveInverted,J["--n-option-text-color"]=M.optionTextColorInverted,J["--n-option-text-color-hover"]=M.optionTextColorHoverInverted,J["--n-option-text-color-active"]=M.optionTextColorActiveInverted,J["--n-option-text-color-child-active"]=M.optionTextColorChildActiveInverted,J["--n-prefix-color"]=M.prefixColorInverted,J["--n-suffix-color"]=M.suffixColorInverted,J["--n-group-header-text-color"]=M.groupHeaderTextColorInverted):(J["--n-color"]=M.color,J["--n-option-color-hover"]=M.optionColorHover,J["--n-option-color-active"]=M.optionColorActive,J["--n-option-text-color"]=M.optionTextColor,J["--n-option-text-color-hover"]=M.optionTextColorHover,J["--n-option-text-color-active"]=M.optionTextColorActive,J["--n-option-text-color-child-active"]=M.optionTextColorChildActive,J["--n-prefix-color"]=M.prefixColor,J["--n-suffix-color"]=M.suffixColor,J["--n-group-header-text-color"]=M.groupHeaderTextColor),J}),I=p?kt("dropdown",L(()=>`${e.size[0]}${e.inverted?"i":""}`),$,e):void 0;return{mergedClsPrefix:f,mergedTheme:h,tmNodes:r,mergedShow:n,handleAfterLeave:()=>{e.animated&&m()},doUpdateShow:b,cssVars:p?void 0:$,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:IC(r),class:[o,`${c}-dropdown`,this.themeClass],clsPrefix:c,tmNodes:this.tmNodes,style:[...i,this.cssVars],showArrow:this.showArrow,arrowStyle:this.arrowStyle,scrollable:this.scrollable,onMouseenter:a,onMouseleave:s};return v(k2,Dn(this.$attrs,f,d))},{mergedTheme:t}=this,n={show:this.mergedShow,theme:t.peers.Popover,themeOverrides:t.peerOverrides.Popover,internalOnAfterLeave:this.handleAfterLeave,internalRenderBody:e,onUpdateShow:this.doUpdateShow,"onUpdate:show":void 0};return v(cl,Object.assign({},Xn(this.$props,NW),n),{trigger:()=>{var o,r;return(r=(o=this.$slots).default)===null||r===void 0?void 0:r.call(o)}})}}),P2="_n_all__",T2="_n_none__";function jW(e,t,n,o){return e?r=>{for(const i of e)switch(r){case P2:n(!0);return;case T2:o(!0);return;default:if(typeof i=="object"&&i.key===r){i.onSelect(t.value);return}}}:()=>{}}function VW(e,t){return e?e.map(n=>{switch(n){case"all":return{label:t.checkTableAll,key:P2};case"none":return{label:t.uncheckTableAll,key:T2};default:return n}}):[]}const WW=me({name:"DataTableSelectionMenu",props:{clsPrefix:{type:String,required:!0}},setup(e){const{props:t,localeRef:n,checkOptionsRef:o,rawPaginatedDataRef:r,doCheckAll:i,doUncheckAll:a}=We(Po),s=L(()=>jW(o.value,r,i,a)),l=L(()=>VW(o.value,n.value));return()=>{var c,u,d,f;const{clsPrefix:p}=e;return v(hm,{theme:(u=(c=t.theme)===null||c===void 0?void 0:c.peers)===null||u===void 0?void 0:u.Dropdown,themeOverrides:(f=(d=t.themeOverrides)===null||d===void 0?void 0:d.peers)===null||f===void 0?void 0:f.Dropdown,options:l.value,onSelect:s.value},{default:()=>v(Ut,{clsPrefix:p,class:`${p}-data-table-check-extra`},{default:()=>v(a_,null)})})}}});function Kd(e){return typeof e.title=="function"?e.title(e):e.title}const R2=me({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:g,doUpdateResizableWidth:b,handleTableHeaderScroll:m,deriveNextSorter:x,doUncheckAll:S,doCheckAll:_}=We(Po),w=F({});function C(A){const K=w.value[A];return K==null?void 0:K.getBoundingClientRect().width}function y(){i.value?S():_()}function k(A,K){if(Vo(A,"dataTableFilter")||Vo(A,"dataTableResizable")||!qd(K))return;const B=d.value.find(D=>D.columnKey===K.key)||null,M=xW(K,B);x(M)}const R=new Map;function $(A){R.set(A.key,C(A.key))}function I(A,K){const B=R.get(A.key);if(B===void 0)return;const M=B+K,D=vW(M,A.minWidth,A.maxWidth);g(M,D,A,C),b(A,D)}return{cellElsRef:w,componentId:f,mergedSortState:d,mergedClsPrefix:e,scrollX:t,fixedColumnLeftMap:n,fixedColumnRightMap:o,currentPage:r,allRowsChecked:i,someRowsChecked:a,rows:s,cols:l,mergedTheme:c,checkOptions:u,mergedTableLayout:p,headerCheckboxDisabled:h,handleCheckboxUpdateChecked:y,handleColHeaderClick:k,handleTableHeaderScroll:m,handleColumnResizeStart:$,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:g,handleColHeaderClick:b,handleCheckboxUpdateChecked:m,handleColumnResizeStart:x,handleColumnResize:S}=this,_=v("thead",{class:`${t}-data-table-thead`,"data-n-id":d},s.map(y=>v("tr",{class:`${t}-data-table-tr`},y.map(({column:k,colSpan:R,rowSpan:$,isLast:I})=>{var A,K;const B=go(k),{ellipsis:M}=k,D=()=>k.type==="selection"?k.multiple!==!1?v(at,null,v(dl,{key:r,privateInsideTable:!0,checked:i,indeterminate:a,disabled:h,onUpdateChecked:m}),u?v(WW,{clsPrefix:t}):null):null:v(at,null,v("div",{class:`${t}-data-table-th__title-wrapper`},v("div",{class:`${t}-data-table-th__title`},M===!0||M&&!M.tooltip?v("div",{class:`${t}-data-table-th__ellipsis`},Kd(k)):M&&typeof M=="object"?v(dm,Object.assign({},M,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>Kd(k)}):Kd(k)),qd(k)?v(sW,{column:k}):null),H0(k)?v(kW,{column:k,options:k.filterOptions}):null,y2(k)?v(PW,{onResizeStart:()=>{x(k)},onResize:ue=>{S(k,ue)}}):null),Y=B in n,Q=B in o;return v("th",{ref:ue=>e[B]=ue,key:B,style:{textAlign:k.titleAlign||k.align,left:Mn((A=n[B])===null||A===void 0?void 0:A.start),right:Mn((K=o[B])===null||K===void 0?void 0:K.start)},colspan:R,rowspan:$,"data-col-key":B,class:[`${t}-data-table-th`,(Y||Q)&&`${t}-data-table-th--fixed-${Y?"left":"right"}`,{[`${t}-data-table-th--hover`]:x2(k,g),[`${t}-data-table-th--filterable`]:H0(k),[`${t}-data-table-th--sortable`]:qd(k),[`${t}-data-table-th--selection`]:k.type==="selection",[`${t}-data-table-th--last`]:I},k.className],onClick:k.type!=="selection"&&k.type!=="expand"&&!("children"in k)?ue=>{b(ue,k)}:void 0},D())}))));if(!f)return _;const{handleTableHeaderScroll:w,scrollX:C}=this;return v("div",{class:`${t}-data-table-base-table-header`,onScroll:w},v("table",{ref:"body",class:`${t}-data-table-table`,style:{minWidth:qt(C),tableLayout:p}},v("colgroup",null,l.map(y=>v("col",{key:y.key,style:y.style}))),_))}}),UW=me({name:"DataTableCell",props:{clsPrefix:{type:String,required:!0},row:{type:Object,required:!0},index:{type:Number,required:!0},column:{type:Object,required:!0},isSummary:Boolean,mergedTheme:{type:Object,required:!0},renderCell:Function},render(){var e;const{isSummary:t,column:n,row:o,renderCell:r}=this;let i;const{render:a,key:s,ellipsis:l}=n;if(a&&!t?i=a(o,this.index):t?i=(e=o[s])===null||e===void 0?void 0:e.value:i=r?r(dh(o,s),o,n):dh(o,s),l)if(typeof l=="object"){const{mergedTheme:c}=this;return n.ellipsisComponent==="performant-ellipsis"?v(rW,Object.assign({},l,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>i}):v(dm,Object.assign({},l,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>i})}else return v("span",{class:`${this.clsPrefix}-data-table-td__ellipsis`},i);return i}}),W0=me({name:"DataTableExpandTrigger",props:{clsPrefix:{type:String,required:!0},expanded:Boolean,loading:Boolean,onClick:{type:Function,required:!0},renderExpandIcon:{type:Function}},render(){const{clsPrefix:e}=this;return v("div",{class:[`${e}-data-table-expand-trigger`,this.expanded&&`${e}-data-table-expand-trigger--expanded`],onClick:this.onClick,onMousedown:t=>{t.preventDefault()}},v(Hi,null,{default:()=>this.loading?v(Xr,{key:"loading",clsPrefix:this.clsPrefix,radius:85,strokeWidth:15,scale:.88}):this.renderExpandIcon?this.renderExpandIcon({expanded:this.expanded}):v(Ut,{clsPrefix:e,key:"base-icon"},{default:()=>v(Zp,null)})}))}}),qW=me({name:"DataTableBodyCheckbox",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,mergedInderminateRowKeySetRef:n}=We(Po);return()=>{const{rowKey:o}=e;return v(dl,{privateInsideTable:!0,disabled:e.disabled,indeterminate:n.value.has(o),checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}}),KW=me({name:"DataTableBodyRadio",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,componentId:n}=We(Po);return()=>{const{rowKey:o}=e;return v(m2,{name:n,disabled:e.disabled,checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}});function GW(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 YW=me({props:{clsPrefix:{type:String,required:!0},id:{type:String,required:!0},cols:{type:Array,required:!0},onMouseenter:Function,onMouseleave:Function},render(){const{clsPrefix:e,id:t,cols:n,onMouseenter:o,onMouseleave:r}=this;return v("table",{style:{tableLayout:"fixed"},class:`${e}-data-table-table`,onMouseenter:o,onMouseleave:r},v("colgroup",null,n.map(i=>v("col",{key:i.key,style:i.style}))),v("tbody",{"data-n-id":t,class:`${e}-data-table-tbody`},this.$slots))}}),XW=me({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:g,rightActiveFixedColKeyRef:b,rightActiveFixedChildrenColKeysRef:m,renderExpandRef:x,hoverKeyRef:S,summaryRef:_,mergedSortStateRef:w,virtualScrollRef:C,componentId:y,mergedTableLayoutRef:k,childTriggerColIndexRef:R,indentRef:$,rowPropsRef:I,maxHeightRef:A,stripedRef:K,loadingRef:B,onLoadRef:M,loadingKeySetRef:D,expandableRef:Y,stickyExpandedRowsRef:Q,renderExpandIconRef:ue,summaryPlacementRef:le,treeMateRef:N,scrollbarPropsRef:E,setHeaderScrollLeft:O,doUpdateExpandedRowKeys:q,handleTableBodyScroll:ne,doCheck:ve,doUncheck:J,renderCell:be}=We(Po),H=F(null),ge=F(null),Ie=F(null),Le=St(()=>l.value.length===0),P=St(()=>e.showHeader||!Le.value),T=St(()=>e.showHeader||Le.value);let W="";const oe=L(()=>new Set(o.value));function G(Se){var De;return(De=N.value.getNode(Se))===null||De===void 0?void 0:De.rawNode}function se(Se,De,Ue){const Ae=G(Se.key);if(!Ae){sr("data-table",`fail to get row data with key ${Se.key}`);return}if(Ue){const Qe=l.value.findIndex(xt=>xt.key===W);if(Qe!==-1){const xt=l.value.findIndex(qe=>qe.key===Se.key),X=Math.min(Qe,xt),pe=Math.max(Qe,xt),$e=[];l.value.slice(X,pe+1).forEach(qe=>{qe.disabled||$e.push(qe.key)}),De?ve($e,!1,Ae):J($e,Ae),W=Se.key;return}}De?ve(Se.key,!1,Ae):J(Se.key,Ae),W=Se.key}function xe(Se){const De=G(Se.key);if(!De){sr("data-table",`fail to get row data with key ${Se.key}`);return}ve(Se.key,!0,De)}function ye(){if(!P.value){const{value:De}=Ie;return De||null}if(C.value)return Ee();const{value:Se}=H;return Se?Se.containerRef:null}function Ce(Se,De){var Ue;if(D.value.has(Se))return;const{value:Ae}=o,Qe=Ae.indexOf(Se),xt=Array.from(Ae);~Qe?(xt.splice(Qe,1),q(xt)):De&&!De.isLeaf&&!De.shallowLoaded?(D.value.add(Se),(Ue=M.value)===null||Ue===void 0||Ue.call(M,De.rawNode).then(()=>{const{value:X}=o,pe=Array.from(X);~pe.indexOf(Se)||pe.push(Se),q(pe)}).finally(()=>{D.value.delete(Se)})):(xt.push(Se),q(xt))}function we(){S.value=null}function Ee(){const{value:Se}=ge;return(Se==null?void 0:Se.listElRef)||null}function de(){const{value:Se}=ge;return(Se==null?void 0:Se.itemsElRef)||null}function ee(Se){var De;ne(Se),(De=H.value)===null||De===void 0||De.sync()}function fe(Se){var De;const{onResize:Ue}=e;Ue&&Ue(Se),(De=H.value)===null||De===void 0||De.sync()}const Te={getScrollContainer:ye,scrollTo(Se,De){var Ue,Ae;C.value?(Ue=ge.value)===null||Ue===void 0||Ue.scrollTo(Se,De):(Ae=H.value)===null||Ae===void 0||Ae.scrollTo(Se,De)}},Fe=U([({props:Se})=>{const De=Ae=>Ae===null?null:U(`[data-n-id="${Se.componentId}"] [data-col-key="${Ae}"]::after`,{boxShadow:"var(--n-box-shadow-after)"}),Ue=Ae=>Ae===null?null:U(`[data-n-id="${Se.componentId}"] [data-col-key="${Ae}"]::before`,{boxShadow:"var(--n-box-shadow-before)"});return U([De(Se.leftActiveFixedColKey),Ue(Se.rightActiveFixedColKey),Se.leftActiveFixedChildrenColKeys.map(Ae=>De(Ae)),Se.rightActiveFixedChildrenColKeys.map(Ae=>Ue(Ae))])}]);let Ye=!1;return nn(()=>{const{value:Se}=h,{value:De}=g,{value:Ue}=b,{value:Ae}=m;if(!Ye&&Se===null&&Ue===null)return;const Qe={leftActiveFixedColKey:Se,leftActiveFixedChildrenColKeys:De,rightActiveFixedColKey:Ue,rightActiveFixedChildrenColKeys:Ae,componentId:y};Fe.mount({id:`n-${y}`,force:!0,props:Qe,anchorMetaName:Ra}),Ye=!0}),Ma(()=>{Fe.unmount({id:`n-${y}`})}),Object.assign({bodyWidth:n,summaryPlacement:le,dataTableSlots:t,componentId:y,scrollbarInstRef:H,virtualListRef:ge,emptyElRef:Ie,summary:_,mergedClsPrefix:r,mergedTheme:i,scrollX:a,cols:s,loading:B,bodyShowHeaderOnly:T,shouldDisplaySomeTablePart:P,empty:Le,paginatedDataAndInfo:L(()=>{const{value:Se}=K;let De=!1;return{data:l.value.map(Se?(Ae,Qe)=>(Ae.isLeaf||(De=!0),{tmNode:Ae,key:Ae.key,striped:Qe%2===1,index:Qe}):(Ae,Qe)=>(Ae.isLeaf||(De=!0),{tmNode:Ae,key:Ae.key,striped:!1,index:Qe})),hasChildren:De}}),rawPaginatedData:c,fixedColumnLeftMap:u,fixedColumnRightMap:d,currentPage:f,rowClassName:p,renderExpand:x,mergedExpandedRowKeySet:oe,hoverKey:S,mergedSortState:w,virtualScroll:C,mergedTableLayout:k,childTriggerColIndex:R,indent:$,rowProps:I,maxHeight:A,loadingKeySet:D,expandable:Y,stickyExpandedRows:Q,renderExpandIcon:ue,scrollbarProps:E,setHeaderScrollLeft:O,handleVirtualListScroll:ee,handleVirtualListResize:fe,handleMouseleaveTable:we,virtualListContainer:Ee,virtualListContent:de,handleTableBodyScroll:ne,handleCheckboxUpdateChecked:se,handleRadioUpdateChecked:xe,handleUpdateExpanded:Ce,renderCell:be},Te)},render(){const{mergedTheme:e,scrollX:t,mergedClsPrefix:n,virtualScroll:o,maxHeight:r,mergedTableLayout:i,flexHeight:a,loadingKeySet:s,onResize:l,setHeaderScrollLeft:c}=this,u=t!==void 0||r!==void 0||a,d=!u&&i==="auto",f=t!==void 0||d,p={minWidth:qt(t)||"100%"};t&&(p.width="100%");const h=v(ko,Object.assign({},this.scrollbarProps,{ref:"scrollbarInstRef",scrollable:u||d,class:`${n}-data-table-base-table-body`,style:this.empty?void 0:this.bodyStyle,theme:e.peers.Scrollbar,themeOverrides:e.peerOverrides.Scrollbar,contentStyle:p,container:o?this.virtualListContainer:void 0,content:o?this.virtualListContent:void 0,horizontalRailStyle:{zIndex:3},verticalRailStyle:{zIndex:3},xScrollable:f,onScroll:o?void 0:this.handleTableBodyScroll,internalOnUpdateScrollLeft:c,onResize:l}),{default:()=>{const g={},b={},{cols:m,paginatedDataAndInfo:x,mergedTheme:S,fixedColumnLeftMap:_,fixedColumnRightMap:w,currentPage:C,rowClassName:y,mergedSortState:k,mergedExpandedRowKeySet:R,stickyExpandedRows:$,componentId:I,childTriggerColIndex:A,expandable:K,rowProps:B,handleMouseleaveTable:M,renderExpand:D,summary:Y,handleCheckboxUpdateChecked:Q,handleRadioUpdateChecked:ue,handleUpdateExpanded:le}=this,{length:N}=m;let E;const{data:O,hasChildren:q}=x,ne=q?GW(O,R):O;if(Y){const P=Y(this.rawPaginatedData);if(Array.isArray(P)){const T=P.map((W,oe)=>({isSummaryRow:!0,key:`__n_summary__${oe}`,tmNode:{rawNode:W,disabled:!0},index:-1}));E=this.summaryPlacement==="top"?[...T,...ne]:[...ne,...T]}else{const T={isSummaryRow:!0,key:"__n_summary__",tmNode:{rawNode:P,disabled:!0},index:-1};E=this.summaryPlacement==="top"?[T,...ne]:[...ne,T]}}else E=ne;const ve=q?{width:Mn(this.indent)}:void 0,J=[];E.forEach(P=>{D&&R.has(P.key)&&(!K||K(P.tmNode.rawNode))?J.push(P,{isExpandedRow:!0,key:`${P.key}-expand`,tmNode:P.tmNode,index:P.index}):J.push(P)});const{length:be}=J,H={};O.forEach(({tmNode:P},T)=>{H[T]=P.key});const ge=$?this.bodyWidth:null,Ie=ge===null?void 0:`${ge}px`,Le=(P,T,W)=>{const{index:oe}=P;if("isExpandedRow"in P){const{tmNode:{key:fe,rawNode:Te}}=P;return v("tr",{class:`${n}-data-table-tr ${n}-data-table-tr--expanded`,key:`${fe}__expand`},v("td",{class:[`${n}-data-table-td`,`${n}-data-table-td--last-col`,T+1===be&&`${n}-data-table-td--last-row`],colspan:N},$?v("div",{class:`${n}-data-table-expand`,style:{width:Ie}},D(Te,oe)):D(Te,oe)))}const G="isSummaryRow"in P,se=!G&&P.striped,{tmNode:xe,key:ye}=P,{rawNode:Ce}=xe,we=R.has(ye),Ee=B?B(Ce,oe):void 0,de=typeof y=="string"?y:yW(Ce,oe,y);return v("tr",Object.assign({onMouseenter:()=>{this.hoverKey=ye},key:ye,class:[`${n}-data-table-tr`,G&&`${n}-data-table-tr--summary`,se&&`${n}-data-table-tr--striped`,we&&`${n}-data-table-tr--expanded`,de]},Ee),m.map((fe,Te)=>{var Fe,Ye,Se,De,Ue;if(T in g){const Dt=g[T],_e=Dt.indexOf(Te);if(~_e)return Dt.splice(_e,1),null}const{column:Ae}=fe,Qe=go(fe),{rowSpan:xt,colSpan:X}=Ae,pe=G?((Fe=P.tmNode.rawNode[Qe])===null||Fe===void 0?void 0:Fe.colSpan)||1:X?X(Ce,oe):1,$e=G?((Ye=P.tmNode.rawNode[Qe])===null||Ye===void 0?void 0:Ye.rowSpan)||1:xt?xt(Ce,oe):1,qe=Te+pe===N,Xe=T+$e===be,Ze=$e>1;if(Ze&&(b[T]={[Te]:[]}),pe>1||Ze)for(let Dt=T;Dt{le(ye,P.tmNode)}})]:null,Ae.type==="selection"?G?null:Ae.multiple===!1?v(KW,{key:C,rowKey:ye,disabled:P.tmNode.disabled,onUpdateChecked:()=>{ue(P.tmNode)}}):v(qW,{key:C,rowKey:ye,disabled:P.tmNode.disabled,onUpdateChecked:(Dt,_e)=>{Q(P.tmNode,Dt,_e.shiftKey)}}):Ae.type==="expand"?G?null:!Ae.expandable||!((Ue=Ae.expandable)===null||Ue===void 0)&&Ue.call(Ae,Ce)?v(W0,{clsPrefix:n,expanded:we,renderExpandIcon:this.renderExpandIcon,onClick:()=>{le(ye,null)}}):null:v(UW,{clsPrefix:n,index:oe,row:Ce,column:Ae,isSummary:G,mergedTheme:S,renderCell:this.renderCell}))}))};return o?v(rw,{ref:"virtualListRef",items:J,itemSize:28,visibleItemsTag:YW,visibleItemsProps:{clsPrefix:n,id:I,cols:m,onMouseleave:M},showScrollbar:!1,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemsStyle:p,itemResizable:!0},{default:({item:P,index:T})=>Le(P,T,!0)}):v("table",{class:`${n}-data-table-table`,onMouseleave:M,style:{tableLayout:this.mergedTableLayout}},v("colgroup",null,m.map(P=>v("col",{key:P.key,style:P.style}))),this.showHeader?v(R2,{discrete:!1}):null,this.empty?null:v("tbody",{"data-n-id":I,class:`${n}-data-table-tbody`},J.map((P,T)=>Le(P,T,!1))))}});if(this.empty){const g=()=>v("div",{class:[`${n}-data-table-empty`,this.loading&&`${n}-data-table-empty--hide`],style:this.bodyStyle,ref:"emptyElRef"},An(this.dataTableSlots.empty,()=>[v(f_,{theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})]));return this.shouldDisplaySomeTablePart?v(at,null,h,g()):v(lr,{onResize:this.onResize},{default:g})}return h}}),ZW=me({name:"MainTable",setup(){const{mergedClsPrefixRef:e,rightFixedColumnsRef:t,leftFixedColumnsRef:n,bodyWidthRef:o,maxHeightRef:r,minHeightRef:i,flexHeightRef:a,syncScrollState:s}=We(Po),l=F(null),c=F(null),u=F(null),d=F(!(n.value.length||t.value.length)),f=L(()=>({maxHeight:qt(r.value),minHeight:qt(i.value)}));function p(m){o.value=m.contentRect.width,s(),d.value||(d.value=!0)}function h(){const{value:m}=l;return m?m.$el:null}function g(){const{value:m}=c;return m?m.getScrollContainer():null}const b={getBodyElement:g,getHeaderElement:h,scrollTo(m,x){var S;(S=c.value)===null||S===void 0||S.scrollTo(m,x)}};return nn(()=>{const{value:m}=u;if(!m)return;const x=`${e.value}-data-table-base-table--transition-disabled`;d.value?setTimeout(()=>{m.classList.remove(x)},0):m.classList.add(x)}),Object.assign({maxHeight:r,mergedClsPrefix:e,selfElRef:u,headerInstRef:l,bodyInstRef:c,bodyStyle:f,flexHeight:a,handleBodyResize:p},b)},render(){const{mergedClsPrefix:e,maxHeight:t,flexHeight:n}=this,o=t===void 0&&!n;return v("div",{class:`${e}-data-table-base-table`,ref:"selfElRef"},o?null:v(R2,{ref:"headerInstRef"}),v(XW,{ref:"bodyInstRef",bodyStyle:this.bodyStyle,showHeader:o,flexHeight:n,onResize:this.handleBodyResize}))}});function JW(e,t){const{paginatedDataRef:n,treeMateRef:o,selectionColumnRef:r}=t,i=F(e.defaultCheckedRowKeys),a=L(()=>{var w;const{checkedRowKeys:C}=e,y=C===void 0?i.value:C;return((w=r.value)===null||w===void 0?void 0:w.multiple)===!1?{checkedKeys:y.slice(0,1),indeterminateKeys:[]}:o.value.getCheckedKeys(y,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded})}),s=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:w}=c;return n.value.reduce((C,y)=>{const{key:k,disabled:R}=y;return C+(!R&&w.has(k)?1:0)},0)}),f=L(()=>n.value.filter(w=>w.disabled).length),p=L(()=>{const{length:w}=n.value,{value:C}=u;return d.value>0&&d.valueC.has(y.key))}),h=L(()=>{const{length:w}=n.value;return d.value!==0&&d.value===w-f.value}),g=L(()=>n.value.length===0);function b(w,C,y){const{"onUpdate:checkedRowKeys":k,onUpdateCheckedRowKeys:R,onCheckedRowKeysChange:$}=e,I=[],{value:{getNode:A}}=o;w.forEach(K=>{var B;const M=(B=A(K))===null||B===void 0?void 0:B.rawNode;I.push(M)}),k&&Re(k,w,I,{row:C,action:y}),R&&Re(R,w,I,{row:C,action:y}),$&&Re($,w,I,{row:C,action:y}),i.value=w}function m(w,C=!1,y){if(!e.loading){if(C){b(Array.isArray(w)?w.slice(0,1):[w],y,"check");return}b(o.value.check(w,s.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,y,"check")}}function x(w,C){e.loading||b(o.value.uncheck(w,s.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,C,"uncheck")}function S(w=!1){const{value:C}=r;if(!C||e.loading)return;const y=[];(w?o.value.treeNodes:n.value).forEach(k=>{k.disabled||y.push(k.key)}),b(o.value.check(y,s.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"checkAll")}function _(w=!1){const{value:C}=r;if(!C||e.loading)return;const y=[];(w?o.value.treeNodes:n.value).forEach(k=>{k.disabled||y.push(k.key)}),b(o.value.uncheck(y,s.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"uncheckAll")}return{mergedCheckedRowKeySetRef:c,mergedCheckedRowKeysRef:s,mergedInderminateRowKeySetRef:u,someRowsCheckedRef:p,allRowsCheckedRef:h,headerCheckboxDisabledRef:g,doUpdateCheckedRowKeys:b,doCheckAll:S,doUncheckAll:_,doCheck:m,doUncheck:x}}function Nl(e){return typeof e=="object"&&typeof e.multiple=="number"?e.multiple:!1}function QW(e,t){return t&&(e===void 0||e==="default"||typeof e=="object"&&e.compare==="default")?eU(t):typeof e=="function"?e:e&&typeof e=="object"&&e.compare&&e.compare!=="default"?e.compare:!1}function eU(e){return(t,n)=>{const o=t[e],r=n[e];return o==null?r==null?0:-1:r==null?1:typeof o=="number"&&typeof r=="number"?o-r:typeof o=="string"&&typeof r=="string"?o.localeCompare(r):0}}function tU(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=F(o),i=L(()=>{const p=t.value.filter(b=>b.type!=="selection"&&b.sorter!==void 0&&(b.sortOrder==="ascend"||b.sortOrder==="descend"||b.sortOrder===!1)),h=p.filter(b=>b.sortOrder!==!1);if(h.length)return h.map(b=>({columnKey:b.key,order:b.sortOrder,sorter:b.sorter}));if(p.length)return[];const{value:g}=r;return Array.isArray(g)?g:g?[g]:[]}),a=L(()=>{const p=i.value.slice().sort((h,g)=>{const b=Nl(h.sorter)||0;return(Nl(g.sorter)||0)-b});return p.length?n.value.slice().sort((g,b)=>{let m=0;return p.some(x=>{const{columnKey:S,sorter:_,order:w}=x,C=QW(_,S);return C&&w&&(m=C(g.rawNode,b.rawNode),m!==0)?(m=m*gW(w),!0):!1}),m}):n.value});function s(p){let h=i.value.slice();return p&&Nl(p.sorter)!==!1?(h=h.filter(g=>Nl(g.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:g,onSorterChange:b}=e;h&&Re(h,p),g&&Re(g,p),b&&Re(b,p),r.value=p}function u(p,h="ascend"){if(!p)d();else{const g=t.value.find(m=>m.type!=="selection"&&m.type!=="expand"&&m.key===p);if(!(g!=null&&g.sorter))return;const b=g.sorter;l({columnKey:p,sorter:b,order:h})}}function d(){c(null)}function f(p,h){const g=p.findIndex(b=>(h==null?void 0:h.columnKey)&&b.columnKey===h.columnKey);g!==void 0&&g>=0?p[g]=h:p.push(h)}return{clearSorter:d,sort:u,sortedDataRef:a,mergedSortStateRef:i,deriveNextSorter:l}}function nU(e,{dataRelatedColsRef:t}){const n=L(()=>{const N=E=>{for(let O=0;O{const{childrenKey:N}=e;return bi(e.data,{ignoreEmptyChildren:!0,getKey:e.rowKey,getChildren:E=>E[N],getDisabled:E=>{var O,q;return!!(!((q=(O=n.value)===null||O===void 0?void 0:O.disabled)===null||q===void 0)&&q.call(O,E))}})}),r=St(()=>{const{columns:N}=e,{length:E}=N;let O=null;for(let q=0;q{const N=t.value.filter(q=>q.filterOptionValues!==void 0||q.filterOptionValue!==void 0),E={};return N.forEach(q=>{var ne;q.type==="selection"||q.type==="expand"||(q.filterOptionValues===void 0?E[q.key]=(ne=q.filterOptionValue)!==null&&ne!==void 0?ne:null:E[q.key]=q.filterOptionValues)}),Object.assign(N0(i.value),E)}),u=L(()=>{const N=c.value,{columns:E}=e;function O(ve){return(J,be)=>!!~String(be[ve]).indexOf(String(J))}const{value:{treeNodes:q}}=o,ne=[];return E.forEach(ve=>{ve.type==="selection"||ve.type==="expand"||"children"in ve||ne.push([ve.key,ve])}),q?q.filter(ve=>{const{rawNode:J}=ve;for(const[be,H]of ne){let ge=N[be];if(ge==null||(Array.isArray(ge)||(ge=[ge]),!ge.length))continue;const Ie=H.filter==="default"?O(be):H.filter;if(H&&typeof Ie=="function")if(H.filterMode==="and"){if(ge.some(Le=>!Ie(Le,J)))return!1}else{if(ge.some(Le=>Ie(Le,J)))continue;return!1}}return!0}):[]}),{sortedDataRef:d,deriveNextSorter:f,mergedSortStateRef:p,sort:h,clearSorter:g}=tU(e,{dataRelatedColsRef:t,filteredDataRef:u});t.value.forEach(N=>{var E;if(N.filter){const O=N.defaultFilterOptionValues;N.filterMultiple?i.value[N.key]=O||[]:O!==void 0?i.value[N.key]=O===null?[]:O:i.value[N.key]=(E=N.defaultFilterOptionValue)!==null&&E!==void 0?E:null}});const b=L(()=>{const{pagination:N}=e;if(N!==!1)return N.page}),m=L(()=>{const{pagination:N}=e;if(N!==!1)return N.pageSize}),x=ln(b,s),S=ln(m,l),_=St(()=>{const N=x.value;return e.remote?N:Math.max(1,Math.min(Math.ceil(u.value.length/S.value),N))}),w=L(()=>{const{pagination:N}=e;if(N){const{pageCount:E}=N;if(E!==void 0)return E}}),C=L(()=>{if(e.remote)return o.value.treeNodes;if(!e.pagination)return d.value;const N=S.value,E=(_.value-1)*N;return d.value.slice(E,E+N)}),y=L(()=>C.value.map(N=>N.rawNode));function k(N){const{pagination:E}=e;if(E){const{onChange:O,"onUpdate:page":q,onUpdatePage:ne}=E;O&&Re(O,N),ne&&Re(ne,N),q&&Re(q,N),A(N)}}function R(N){const{pagination:E}=e;if(E){const{onPageSizeChange:O,"onUpdate:pageSize":q,onUpdatePageSize:ne}=E;O&&Re(O,N),ne&&Re(ne,N),q&&Re(q,N),K(N)}}const $=L(()=>{if(e.remote){const{pagination:N}=e;if(N){const{itemCount:E}=N;if(E!==void 0)return E}return}return u.value.length}),I=L(()=>Object.assign(Object.assign({},e.pagination),{onChange:void 0,onUpdatePage:void 0,onUpdatePageSize:void 0,onPageSizeChange:void 0,"onUpdate:page":k,"onUpdate:pageSize":R,page:_.value,pageSize:S.value,pageCount:$.value===void 0?w.value:void 0,itemCount:$.value}));function A(N){const{"onUpdate:page":E,onPageChange:O,onUpdatePage:q}=e;q&&Re(q,N),E&&Re(E,N),O&&Re(O,N),s.value=N}function K(N){const{"onUpdate:pageSize":E,onPageSizeChange:O,onUpdatePageSize:q}=e;O&&Re(O,N),q&&Re(q,N),E&&Re(E,N),l.value=N}function B(N,E){const{onUpdateFilters:O,"onUpdate:filters":q,onFiltersChange:ne}=e;O&&Re(O,N,E),q&&Re(q,N,E),ne&&Re(ne,N,E),i.value=N}function M(N,E,O,q){var ne;(ne=e.onUnstableColumnResize)===null||ne===void 0||ne.call(e,N,E,O,q)}function D(N){A(N)}function Y(){Q()}function Q(){ue({})}function ue(N){le(N)}function le(N){N?N&&(i.value=N0(N)):i.value={}}return{treeMateRef:o,mergedCurrentPageRef:_,mergedPaginationRef:I,paginatedDataRef:C,rawPaginatedDataRef:y,mergedFilterStateRef:c,mergedSortStateRef:p,hoverKeyRef:F(null),selectionColumnRef:n,childTriggerColIndexRef:r,doUpdateFilters:B,deriveNextSorter:f,doUpdatePageSize:K,doUpdatePage:A,onUnstableColumnResize:M,filter:le,filters:ue,clearFilter:Y,clearFilters:Q,clearSorter:g,page:D,sort:h}}function oU(e,{mainTableInstRef:t,mergedCurrentPageRef:n,bodyWidthRef:o}){let r=0;const i=F(),a=F(null),s=F([]),l=F(null),c=F([]),u=L(()=>qt(e.scrollX)),d=L(()=>e.columns.filter(R=>R.fixed==="left")),f=L(()=>e.columns.filter(R=>R.fixed==="right")),p=L(()=>{const R={};let $=0;function I(A){A.forEach(K=>{const B={start:$,end:0};R[go(K)]=B,"children"in K?(I(K.children),B.end=$):($+=B0(K)||0,B.end=$)})}return I(d.value),R}),h=L(()=>{const R={};let $=0;function I(A){for(let K=A.length-1;K>=0;--K){const B=A[K],M={start:$,end:0};R[go(B)]=M,"children"in B?(I(B.children),M.end=$):($+=B0(B)||0,M.end=$)}}return I(f.value),R});function g(){var R,$;const{value:I}=d;let A=0;const{value:K}=p;let B=null;for(let M=0;M(((R=K[D])===null||R===void 0?void 0:R.start)||0)-A)B=D,A=(($=K[D])===null||$===void 0?void 0:$.end)||0;else break}a.value=B}function b(){s.value=[];let R=e.columns.find($=>go($)===a.value);for(;R&&"children"in R;){const $=R.children.length;if($===0)break;const I=R.children[$-1];s.value.push(go(I)),R=I}}function m(){var R,$;const{value:I}=f,A=Number(e.scrollX),{value:K}=o;if(K===null)return;let B=0,M=null;const{value:D}=h;for(let Y=I.length-1;Y>=0;--Y){const Q=go(I[Y]);if(Math.round(r+(((R=D[Q])===null||R===void 0?void 0:R.start)||0)+K-B)go($)===l.value);for(;R&&"children"in R&&R.children.length;){const $=R.children[0];c.value.push(go($)),R=$}}function S(){const R=t.value?t.value.getHeaderElement():null,$=t.value?t.value.getBodyElement():null;return{header:R,body:$}}function _(){const{body:R}=S();R&&(R.scrollTop=0)}function w(){i.value!=="body"?kc(y):i.value=void 0}function C(R){var $;($=e.onScroll)===null||$===void 0||$.call(e,R),i.value!=="head"?kc(y):i.value=void 0}function y(){const{header:R,body:$}=S();if(!$)return;const{value:I}=o;if(I!==null){if(e.maxHeight||e.flexHeight){if(!R)return;const A=r-R.scrollLeft;i.value=A!==0?"head":"body",i.value==="head"?(r=R.scrollLeft,$.scrollLeft=r):(r=$.scrollLeft,R.scrollLeft=r)}else r=$.scrollLeft;g(),b(),m(),x()}}function k(R){const{header:$}=S();$&&($.scrollLeft=R,y())}return ht(n,()=>{_()}),{styleScrollXRef:u,fixedColumnLeftMapRef:p,fixedColumnRightMapRef:h,leftFixedColumnsRef:d,rightFixedColumnsRef:f,leftActiveFixedColKeyRef:a,leftActiveFixedChildrenColKeysRef:s,rightActiveFixedColKeyRef:l,rightActiveFixedChildrenColKeysRef:c,syncScrollState:y,handleTableBodyScroll:C,handleTableHeaderScroll:w,setHeaderScrollLeft:k}}function rU(){const e=F({});function t(r){return e.value[r]}function n(r,i){y2(r)&&"key"in r&&(e.value[r.key]=i)}function o(){e.value={}}return{getResizableWidth:t,doUpdateResizableWidth:n,clearResizableWidth:o}}function iU(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 g="key"in h?h.key:void 0;o.push({key:go(h),style:bW(h,g!==void 0?qt(t(g)):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((g,b)=>{var m;if("children"in g){const x=u,S={column:g,colSpan:0,rowSpan:1,isLast:!1};d(g.children,p+1),g.children.forEach(_=>{var w,C;S.colSpan+=(C=(w=i.get(_))===null||w===void 0?void 0:w.colSpan)!==null&&C!==void 0?C:0}),x+S.colSpan===s&&(S.isLast=!0),i.set(g,S),n[p].push(S)}else{if(u1&&(h=u+x);const S=u+x===s,_={column:g,colSpan:x,rowSpan:a-p+1,isLast:S};i.set(g,_),n[p].push(_),u+=1}})}return d(e,0),{hasEllipsis:l,rows:n,cols:o,dataRelatedCols:r}}function aU(e,t){const n=L(()=>iU(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 sU(e,t){const n=St(()=>{for(const c of e.columns)if(c.type==="expand")return c.renderExpand}),o=St(()=>{let c;for(const u of e.columns)if(u.type==="expand"){c=u.expandable;break}return c}),r=F(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=je(e,"expandedRowKeys"),a=je(e,"stickyExpandedRows"),s=ln(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 U0=cU(),lU=U([z("data-table",` + `)])]),KW={animated:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},size:{type:String,default:"medium"},inverted:Boolean,placement:{type:String,default:"bottom"},onSelect:[Function,Array],options:{type:Array,default:()=>[]},menuProps:Function,showArrow:Boolean,renderLabel:Function,renderIcon:Function,renderOption:Function,nodeProps:Function,labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},value:[String,Number]},GW=Object.keys(Pa),YW=Object.assign(Object.assign(Object.assign({},Pa),KW),Be.props),gm=ge({name:"Dropdown",inheritAttrs:!1,props:YW,setup(e){const t=W(!1),n=sn(Ve(e,"show"),t),o=L(()=>{const{keyField:R,childrenField:K}=e;return wi(e.options,{getKey(H){return H[R]},getDisabled(H){return H.disabled===!0},getIgnored(H){return H.type==="divider"||H.type==="render"},getChildren(H){return H[K]}})}),r=L(()=>o.value.treeNodes),i=W(null),a=W(null),s=W(null),l=L(()=>{var R,K,H;return(H=(K=(R=i.value)!==null&&R!==void 0?R:a.value)!==null&&K!==void 0?K:s.value)!==null&&H!==void 0?H:null}),c=L(()=>o.value.getPath(l.value).keyPath),u=L(()=>o.value.getPath(e.value).keyPath),d=St(()=>e.keyboard&&n.value);j6({keydown:{ArrowUp:{prevent:!0,handler:_},ArrowRight:{prevent:!0,handler:S},ArrowDown:{prevent:!0,handler:x},ArrowLeft:{prevent:!0,handler:C},Enter:{prevent:!0,handler:y},Escape:w}},d);const{mergedClsPrefixRef:f,inlineThemeDisabled:p}=st(e),h=Be("Dropdown","-dropdown",qW,fm,e,f);at(Mu,{labelFieldRef:Ve(e,"labelField"),childrenFieldRef:Ve(e,"childrenField"),renderLabelRef:Ve(e,"renderLabel"),renderIconRef:Ve(e,"renderIcon"),hoverKeyRef:i,keyboardKeyRef:a,lastToggledSubmenuKeyRef:s,pendingKeyPathRef:c,activeKeyPathRef:u,animatedRef:Ve(e,"animated"),mergedShowRef:n,nodePropsRef:Ve(e,"nodeProps"),renderOptionRef:Ve(e,"renderOption"),menuPropsRef:Ve(e,"menuProps"),doSelect:m,doUpdateShow:v}),ft(n,R=>{!e.animated&&!R&&b()});function m(R,K){const{onSelect:H}=e;H&&Ee(H,R,K)}function v(R){const{"onUpdate:show":K,onUpdateShow:H}=e;K&&Ee(K,R),H&&Ee(H,R),t.value=R}function b(){i.value=null,a.value=null,s.value=null}function w(){v(!1)}function C(){P("left")}function S(){P("right")}function _(){P("up")}function x(){P("down")}function y(){const R=k();R!=null&&R.isLeaf&&n.value&&(m(R.key,R.rawNode),v(!1))}function k(){var R;const{value:K}=o,{value:H}=l;return!K||H===null?null:(R=K.getNode(H))!==null&&R!==void 0?R:null}function P(R){const{value:K}=l,{value:{getFirstAvailableNode:H}}=o;let D=null;if(K===null){const M=H();M!==null&&(D=M.key)}else{const M=k();if(M){let Y;switch(R){case"down":Y=M.getNext();break;case"up":Y=M.getPrev();break;case"right":Y=M.getChild();break;case"left":Y=M.getParent();break}Y&&(D=Y.key)}}D!==null&&(i.value=null,a.value=D)}const T=L(()=>{const{size:R,inverted:K}=e,{common:{cubicBezierEaseInOut:H},self:D}=h.value,{padding:M,dividerColor:Y,borderRadius:Q,optionOpacityDisabled:de,[Te("optionIconSuffixWidth",R)]:he,[Te("optionSuffixWidth",R)]:B,[Te("optionIconPrefixWidth",R)]:E,[Te("optionPrefixWidth",R)]:A,[Te("fontSize",R)]:G,[Te("optionHeight",R)]:ne,[Te("optionIconSize",R)]:ye}=D,J={"--n-bezier":H,"--n-font-size":G,"--n-padding":M,"--n-border-radius":Q,"--n-option-height":ne,"--n-option-prefix-width":A,"--n-option-icon-prefix-width":E,"--n-option-suffix-width":B,"--n-option-icon-suffix-width":he,"--n-option-icon-size":ye,"--n-divider-color":Y,"--n-option-opacity-disabled":de};return K?(J["--n-color"]=D.colorInverted,J["--n-option-color-hover"]=D.optionColorHoverInverted,J["--n-option-color-active"]=D.optionColorActiveInverted,J["--n-option-text-color"]=D.optionTextColorInverted,J["--n-option-text-color-hover"]=D.optionTextColorHoverInverted,J["--n-option-text-color-active"]=D.optionTextColorActiveInverted,J["--n-option-text-color-child-active"]=D.optionTextColorChildActiveInverted,J["--n-prefix-color"]=D.prefixColorInverted,J["--n-suffix-color"]=D.suffixColorInverted,J["--n-group-header-text-color"]=D.groupHeaderTextColorInverted):(J["--n-color"]=D.color,J["--n-option-color-hover"]=D.optionColorHover,J["--n-option-color-active"]=D.optionColorActive,J["--n-option-text-color"]=D.optionTextColor,J["--n-option-text-color-hover"]=D.optionTextColorHover,J["--n-option-text-color-active"]=D.optionTextColorActive,J["--n-option-text-color-child-active"]=D.optionTextColorChildActive,J["--n-prefix-color"]=D.prefixColor,J["--n-suffix-color"]=D.suffixColor,J["--n-group-header-text-color"]=D.groupHeaderTextColor),J}),$=p?kt("dropdown",L(()=>`${e.size[0]}${e.inverted?"i":""}`),T,e):void 0;return{mergedClsPrefix:f,mergedTheme:h,tmNodes:r,mergedShow:n,handleAfterLeave:()=>{e.animated&&b()},doUpdateShow:v,cssVars:p?void 0:T,themeClass:$==null?void 0:$.themeClass,onRender:$==null?void 0:$.onRender}},render(){const e=(o,r,i,a,s)=>{var l;const{mergedClsPrefix:c,menuProps:u}=this;(l=this.onRender)===null||l===void 0||l.call(this);const d=(u==null?void 0:u(void 0,this.tmNodes.map(p=>p.rawNode)))||{},f={ref:jC(r),class:[o,`${c}-dropdown`,this.themeClass],clsPrefix:c,tmNodes:this.tmNodes,style:[...i,this.cssVars],showArrow:this.showArrow,arrowStyle:this.arrowStyle,scrollable:this.scrollable,onMouseenter:a,onMouseleave:s};return g(O2,Ln(this.$attrs,f,d))},{mergedTheme:t}=this,n={show:this.mergedShow,theme:t.peers.Popover,themeOverrides:t.peerOverrides.Popover,internalOnAfterLeave:this.handleAfterLeave,internalRenderBody:e,onUpdateShow:this.doUpdateShow,"onUpdate:show":void 0};return g(dl,Object.assign({},Xn(this.$props,GW),n),{trigger:()=>{var o,r;return(r=(o=this.$slots).default)===null||r===void 0?void 0:r.call(o)}})}}),M2="_n_all__",z2="_n_none__";function XW(e,t,n,o){return e?r=>{for(const i of e)switch(r){case M2:n(!0);return;case z2:o(!0);return;default:if(typeof i=="object"&&i.key===r){i.onSelect(t.value);return}}}:()=>{}}function ZW(e,t){return e?e.map(n=>{switch(n){case"all":return{label:t.checkTableAll,key:M2};case"none":return{label:t.uncheckTableAll,key:z2};default:return n}}):[]}const JW=ge({name:"DataTableSelectionMenu",props:{clsPrefix:{type:String,required:!0}},setup(e){const{props:t,localeRef:n,checkOptionsRef:o,rawPaginatedDataRef:r,doCheckAll:i,doUncheckAll:a}=We(Ro),s=L(()=>XW(o.value,r,i,a)),l=L(()=>ZW(o.value,n.value));return()=>{var c,u,d,f;const{clsPrefix:p}=e;return g(gm,{theme:(u=(c=t.theme)===null||c===void 0?void 0:c.peers)===null||u===void 0?void 0:u.Dropdown,themeOverrides:(f=(d=t.themeOverrides)===null||d===void 0?void 0:d.peers)===null||f===void 0?void 0:f.Dropdown,options:l.value,onSelect:s.value},{default:()=>g(Ut,{clsPrefix:p,class:`${p}-data-table-check-extra`},{default:()=>g(p_,null)})})}}});function Kd(e){return typeof e.title=="function"?e.title(e):e.title}const D2=ge({name:"DataTableHeader",props:{discrete:{type:Boolean,default:!0}},setup(){const{mergedClsPrefixRef:e,scrollXRef:t,fixedColumnLeftMapRef:n,fixedColumnRightMapRef:o,mergedCurrentPageRef:r,allRowsCheckedRef:i,someRowsCheckedRef:a,rowsRef:s,colsRef:l,mergedThemeRef:c,checkOptionsRef:u,mergedSortStateRef:d,componentId:f,mergedTableLayoutRef:p,headerCheckboxDisabledRef:h,onUnstableColumnResize:m,doUpdateResizableWidth:v,handleTableHeaderScroll:b,deriveNextSorter:w,doUncheckAll:C,doCheckAll:S}=We(Ro),_=W({});function x(R){const K=_.value[R];return K==null?void 0:K.getBoundingClientRect().width}function y(){i.value?C():S()}function k(R,K){if(wo(R,"dataTableFilter")||wo(R,"dataTableResizable")||!qd(K))return;const H=d.value.find(M=>M.columnKey===K.key)||null,D=RW(K,H);w(D)}const P=new Map;function T(R){P.set(R.key,x(R.key))}function $(R,K){const H=P.get(R.key);if(H===void 0)return;const D=H+K,M=kW(D,R.minWidth,R.maxWidth);m(D,M,R,x),v(R,M)}return{cellElsRef:_,componentId:f,mergedSortState:d,mergedClsPrefix:e,scrollX:t,fixedColumnLeftMap:n,fixedColumnRightMap:o,currentPage:r,allRowsChecked:i,someRowsChecked:a,rows:s,cols:l,mergedTheme:c,checkOptions:u,mergedTableLayout:p,headerCheckboxDisabled:h,handleCheckboxUpdateChecked:y,handleColHeaderClick:k,handleTableHeaderScroll:b,handleColumnResizeStart:T,handleColumnResize:$}},render(){const{cellElsRef:e,mergedClsPrefix:t,fixedColumnLeftMap:n,fixedColumnRightMap:o,currentPage:r,allRowsChecked:i,someRowsChecked:a,rows:s,cols:l,mergedTheme:c,checkOptions:u,componentId:d,discrete:f,mergedTableLayout:p,headerCheckboxDisabled:h,mergedSortState:m,handleColHeaderClick:v,handleCheckboxUpdateChecked:b,handleColumnResizeStart:w,handleColumnResize:C}=this,S=g("thead",{class:`${t}-data-table-thead`,"data-n-id":d},s.map(y=>g("tr",{class:`${t}-data-table-tr`},y.map(({column:k,colSpan:P,rowSpan:T,isLast:$})=>{var R,K;const H=bo(k),{ellipsis:D}=k,M=()=>k.type==="selection"?k.multiple!==!1?g(rt,null,g(hl,{key:r,privateInsideTable:!0,checked:i,indeterminate:a,disabled:h,onUpdateChecked:b}),u?g(JW,{clsPrefix:t}):null):null:g(rt,null,g("div",{class:`${t}-data-table-th__title-wrapper`},g("div",{class:`${t}-data-table-th__title`},D===!0||D&&!D.tooltip?g("div",{class:`${t}-data-table-th__ellipsis`},Kd(k)):D&&typeof D=="object"?g(pm,Object.assign({},D,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>Kd(k)}):Kd(k)),qd(k)?g(mW,{column:k}):null),V0(k)?g(OW,{column:k,options:k.filterOptions}):null,T2(k)?g(MW,{onResizeStart:()=>{w(k)},onResize:de=>{C(k,de)}}):null),Y=H in n,Q=H in o;return g("th",{ref:de=>e[H]=de,key:H,style:{textAlign:k.titleAlign||k.align,left:zn((R=n[H])===null||R===void 0?void 0:R.start),right:zn((K=o[H])===null||K===void 0?void 0:K.start)},colspan:P,rowspan:T,"data-col-key":H,class:[`${t}-data-table-th`,(Y||Q)&&`${t}-data-table-th--fixed-${Y?"left":"right"}`,{[`${t}-data-table-th--hover`]:R2(k,m),[`${t}-data-table-th--filterable`]:V0(k),[`${t}-data-table-th--sortable`]:qd(k),[`${t}-data-table-th--selection`]:k.type==="selection",[`${t}-data-table-th--last`]:$},k.className],onClick:k.type!=="selection"&&k.type!=="expand"&&!("children"in k)?de=>{v(de,k)}:void 0},M())}))));if(!f)return S;const{handleTableHeaderScroll:_,scrollX:x}=this;return g("div",{class:`${t}-data-table-base-table-header`,onScroll:_},g("table",{ref:"body",class:`${t}-data-table-table`,style:{minWidth:qt(x),tableLayout:p}},g("colgroup",null,l.map(y=>g("col",{key:y.key,style:y.style}))),S))}}),QW=ge({name:"DataTableCell",props:{clsPrefix:{type:String,required:!0},row:{type:Object,required:!0},index:{type:Number,required:!0},column:{type:Object,required:!0},isSummary:Boolean,mergedTheme:{type:Object,required:!0},renderCell:Function},render(){var e;const{isSummary:t,column:n,row:o,renderCell:r}=this;let i;const{render:a,key:s,ellipsis:l}=n;if(a&&!t?i=a(o,this.index):t?i=(e=o[s])===null||e===void 0?void 0:e.value:i=r?r(hh(o,s),o,n):hh(o,s),l)if(typeof l=="object"){const{mergedTheme:c}=this;return n.ellipsisComponent==="performant-ellipsis"?g(fW,Object.assign({},l,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>i}):g(pm,Object.assign({},l,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>i})}else return g("span",{class:`${this.clsPrefix}-data-table-td__ellipsis`},i);return i}}),q0=ge({name:"DataTableExpandTrigger",props:{clsPrefix:{type:String,required:!0},expanded:Boolean,loading:Boolean,onClick:{type:Function,required:!0},renderExpandIcon:{type:Function}},render(){const{clsPrefix:e}=this;return g("div",{class:[`${e}-data-table-expand-trigger`,this.expanded&&`${e}-data-table-expand-trigger--expanded`],onClick:this.onClick,onMousedown:t=>{t.preventDefault()}},g(Ni,null,{default:()=>this.loading?g(Jr,{key:"loading",clsPrefix:this.clsPrefix,radius:85,strokeWidth:15,scale:.88}):this.renderExpandIcon?this.renderExpandIcon({expanded:this.expanded}):g(Ut,{clsPrefix:e,key:"base-icon"},{default:()=>g(Zp,null)})}))}}),eU=ge({name:"DataTableBodyCheckbox",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,mergedInderminateRowKeySetRef:n}=We(Ro);return()=>{const{rowKey:o}=e;return g(hl,{privateInsideTable:!0,disabled:e.disabled,indeterminate:n.value.has(o),checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}}),tU=ge({name:"DataTableBodyRadio",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,componentId:n}=We(Ro);return()=>{const{rowKey:o}=e;return g(_2,{name:n,disabled:e.disabled,checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}});function nU(e,t){const n=[];function o(r,i){r.forEach(a=>{a.children&&t.has(a.key)?(n.push({tmNode:a,striped:!1,key:a.key,index:i}),o(a.children,i)):n.push({key:a.key,tmNode:a,striped:!1,index:i})})}return e.forEach(r=>{n.push(r);const{children:i}=r.tmNode;i&&t.has(r.key)&&o(i,r.index)}),n}const oU=ge({props:{clsPrefix:{type:String,required:!0},id:{type:String,required:!0},cols:{type:Array,required:!0},onMouseenter:Function,onMouseleave:Function},render(){const{clsPrefix:e,id:t,cols:n,onMouseenter:o,onMouseleave:r}=this;return g("table",{style:{tableLayout:"fixed"},class:`${e}-data-table-table`,onMouseenter:o,onMouseleave:r},g("colgroup",null,n.map(i=>g("col",{key:i.key,style:i.style}))),g("tbody",{"data-n-id":t,class:`${e}-data-table-tbody`},this.$slots))}}),rU=ge({name:"DataTableBody",props:{onResize:Function,showHeader:Boolean,flexHeight:Boolean,bodyStyle:Object},setup(e){const{slots:t,bodyWidthRef:n,mergedExpandedRowKeysRef:o,mergedClsPrefixRef:r,mergedThemeRef:i,scrollXRef:a,colsRef:s,paginatedDataRef:l,rawPaginatedDataRef:c,fixedColumnLeftMapRef:u,fixedColumnRightMapRef:d,mergedCurrentPageRef:f,rowClassNameRef:p,leftActiveFixedColKeyRef:h,leftActiveFixedChildrenColKeysRef:m,rightActiveFixedColKeyRef:v,rightActiveFixedChildrenColKeysRef:b,renderExpandRef:w,hoverKeyRef:C,summaryRef:S,mergedSortStateRef:_,virtualScrollRef:x,componentId:y,mergedTableLayoutRef:k,childTriggerColIndexRef:P,indentRef:T,rowPropsRef:$,maxHeightRef:R,stripedRef:K,loadingRef:H,onLoadRef:D,loadingKeySetRef:M,expandableRef:Y,stickyExpandedRowsRef:Q,renderExpandIconRef:de,summaryPlacementRef:he,treeMateRef:B,scrollbarPropsRef:E,setHeaderScrollLeft:A,doUpdateExpandedRowKeys:G,handleTableBodyScroll:ne,doCheck:ye,doUncheck:J,renderCell:xe}=We(Ro),j=W(null),ve=W(null),Oe=W(null),Le=St(()=>l.value.length===0),F=St(()=>e.showHeader||!Le.value),O=St(()=>e.showHeader||Le.value);let re="";const _e=L(()=>new Set(o.value));function ee(ke){var Fe;return(Fe=B.value.getNode(ke))===null||Fe===void 0?void 0:Fe.rawNode}function be(ke,Fe,je){const Ae=ee(ke.key);if(!Ae){ar("data-table",`fail to get row data with key ${ke.key}`);return}if(je){const Je=l.value.findIndex(xt=>xt.key===re);if(Je!==-1){const xt=l.value.findIndex(Ke=>Ke.key===ke.key),X=Math.min(Je,xt),me=Math.max(Je,xt),$e=[];l.value.slice(X,me+1).forEach(Ke=>{Ke.disabled||$e.push(Ke.key)}),Fe?ye($e,!1,Ae):J($e,Ae),re=ke.key;return}}Fe?ye(ke.key,!1,Ae):J(ke.key,Ae),re=ke.key}function Pe(ke){const Fe=ee(ke.key);if(!Fe){ar("data-table",`fail to get row data with key ${ke.key}`);return}ye(ke.key,!0,Fe)}function I(){if(!F.value){const{value:Fe}=Oe;return Fe||null}if(x.value)return Ce();const{value:ke}=j;return ke?ke.containerRef:null}function N(ke,Fe){var je;if(M.value.has(ke))return;const{value:Ae}=o,Je=Ae.indexOf(ke),xt=Array.from(Ae);~Je?(xt.splice(Je,1),G(xt)):Fe&&!Fe.isLeaf&&!Fe.shallowLoaded?(M.value.add(ke),(je=D.value)===null||je===void 0||je.call(D,Fe.rawNode).then(()=>{const{value:X}=o,me=Array.from(X);~me.indexOf(ke)||me.push(ke),G(me)}).finally(()=>{M.value.delete(ke)})):(xt.push(ke),G(xt))}function te(){C.value=null}function Ce(){const{value:ke}=ve;return(ke==null?void 0:ke.listElRef)||null}function ae(){const{value:ke}=ve;return(ke==null?void 0:ke.itemsElRef)||null}function fe(ke){var Fe;ne(ke),(Fe=j.value)===null||Fe===void 0||Fe.sync()}function oe(ke){var Fe;const{onResize:je}=e;je&&je(ke),(Fe=j.value)===null||Fe===void 0||Fe.sync()}const ue={getScrollContainer:I,scrollTo(ke,Fe){var je,Ae;x.value?(je=ve.value)===null||je===void 0||je.scrollTo(ke,Fe):(Ae=j.value)===null||Ae===void 0||Ae.scrollTo(ke,Fe)}},De=q([({props:ke})=>{const Fe=Ae=>Ae===null?null:q(`[data-n-id="${ke.componentId}"] [data-col-key="${Ae}"]::after`,{boxShadow:"var(--n-box-shadow-after)"}),je=Ae=>Ae===null?null:q(`[data-n-id="${ke.componentId}"] [data-col-key="${Ae}"]::before`,{boxShadow:"var(--n-box-shadow-before)"});return q([Fe(ke.leftActiveFixedColKey),je(ke.rightActiveFixedColKey),ke.leftActiveFixedChildrenColKeys.map(Ae=>Fe(Ae)),ke.rightActiveFixedChildrenColKeys.map(Ae=>je(Ae))])}]);let Ue=!1;return Yt(()=>{const{value:ke}=h,{value:Fe}=m,{value:je}=v,{value:Ae}=b;if(!Ue&&ke===null&&je===null)return;const Je={leftActiveFixedColKey:ke,leftActiveFixedChildrenColKeys:Fe,rightActiveFixedColKey:je,rightActiveFixedChildrenColKeys:Ae,componentId:y};De.mount({id:`n-${y}`,force:!0,props:Je,anchorMetaName:ka}),Ue=!0}),Ea(()=>{De.unmount({id:`n-${y}`})}),Object.assign({bodyWidth:n,summaryPlacement:he,dataTableSlots:t,componentId:y,scrollbarInstRef:j,virtualListRef:ve,emptyElRef:Oe,summary:S,mergedClsPrefix:r,mergedTheme:i,scrollX:a,cols:s,loading:H,bodyShowHeaderOnly:O,shouldDisplaySomeTablePart:F,empty:Le,paginatedDataAndInfo:L(()=>{const{value:ke}=K;let Fe=!1;return{data:l.value.map(ke?(Ae,Je)=>(Ae.isLeaf||(Fe=!0),{tmNode:Ae,key:Ae.key,striped:Je%2===1,index:Je}):(Ae,Je)=>(Ae.isLeaf||(Fe=!0),{tmNode:Ae,key:Ae.key,striped:!1,index:Je})),hasChildren:Fe}}),rawPaginatedData:c,fixedColumnLeftMap:u,fixedColumnRightMap:d,currentPage:f,rowClassName:p,renderExpand:w,mergedExpandedRowKeySet:_e,hoverKey:C,mergedSortState:_,virtualScroll:x,mergedTableLayout:k,childTriggerColIndex:P,indent:T,rowProps:$,maxHeight:R,loadingKeySet:M,expandable:Y,stickyExpandedRows:Q,renderExpandIcon:de,scrollbarProps:E,setHeaderScrollLeft:A,handleVirtualListScroll:fe,handleVirtualListResize:oe,handleMouseleaveTable:te,virtualListContainer:Ce,virtualListContent:ae,handleTableBodyScroll:ne,handleCheckboxUpdateChecked:be,handleRadioUpdateChecked:Pe,handleUpdateExpanded:N,renderCell:xe},ue)},render(){const{mergedTheme:e,scrollX:t,mergedClsPrefix:n,virtualScroll:o,maxHeight:r,mergedTableLayout:i,flexHeight:a,loadingKeySet:s,onResize:l,setHeaderScrollLeft:c}=this,u=t!==void 0||r!==void 0||a,d=!u&&i==="auto",f=t!==void 0||d,p={minWidth:qt(t)||"100%"};t&&(p.width="100%");const h=g(To,Object.assign({},this.scrollbarProps,{ref:"scrollbarInstRef",scrollable:u||d,class:`${n}-data-table-base-table-body`,style:this.empty?void 0:this.bodyStyle,theme:e.peers.Scrollbar,themeOverrides:e.peerOverrides.Scrollbar,contentStyle:p,container:o?this.virtualListContainer:void 0,content:o?this.virtualListContent:void 0,horizontalRailStyle:{zIndex:3},verticalRailStyle:{zIndex:3},xScrollable:f,onScroll:o?void 0:this.handleTableBodyScroll,internalOnUpdateScrollLeft:c,onResize:l}),{default:()=>{const m={},v={},{cols:b,paginatedDataAndInfo:w,mergedTheme:C,fixedColumnLeftMap:S,fixedColumnRightMap:_,currentPage:x,rowClassName:y,mergedSortState:k,mergedExpandedRowKeySet:P,stickyExpandedRows:T,componentId:$,childTriggerColIndex:R,expandable:K,rowProps:H,handleMouseleaveTable:D,renderExpand:M,summary:Y,handleCheckboxUpdateChecked:Q,handleRadioUpdateChecked:de,handleUpdateExpanded:he}=this,{length:B}=b;let E;const{data:A,hasChildren:G}=w,ne=G?nU(A,P):A;if(Y){const F=Y(this.rawPaginatedData);if(Array.isArray(F)){const O=F.map((re,_e)=>({isSummaryRow:!0,key:`__n_summary__${_e}`,tmNode:{rawNode:re,disabled:!0},index:-1}));E=this.summaryPlacement==="top"?[...O,...ne]:[...ne,...O]}else{const O={isSummaryRow:!0,key:"__n_summary__",tmNode:{rawNode:F,disabled:!0},index:-1};E=this.summaryPlacement==="top"?[O,...ne]:[...ne,O]}}else E=ne;const ye=G?{width:zn(this.indent)}:void 0,J=[];E.forEach(F=>{M&&P.has(F.key)&&(!K||K(F.tmNode.rawNode))?J.push(F,{isExpandedRow:!0,key:`${F.key}-expand`,tmNode:F.tmNode,index:F.index}):J.push(F)});const{length:xe}=J,j={};A.forEach(({tmNode:F},O)=>{j[O]=F.key});const ve=T?this.bodyWidth:null,Oe=ve===null?void 0:`${ve}px`,Le=(F,O,re)=>{const{index:_e}=F;if("isExpandedRow"in F){const{tmNode:{key:oe,rawNode:ue}}=F;return g("tr",{class:`${n}-data-table-tr ${n}-data-table-tr--expanded`,key:`${oe}__expand`},g("td",{class:[`${n}-data-table-td`,`${n}-data-table-td--last-col`,O+1===xe&&`${n}-data-table-td--last-row`],colspan:B},T?g("div",{class:`${n}-data-table-expand`,style:{width:Oe}},M(ue,_e)):M(ue,_e)))}const ee="isSummaryRow"in F,be=!ee&&F.striped,{tmNode:Pe,key:I}=F,{rawNode:N}=Pe,te=P.has(I),Ce=H?H(N,_e):void 0,ae=typeof y=="string"?y:TW(N,_e,y);return g("tr",Object.assign({onMouseenter:()=>{this.hoverKey=I},key:I,class:[`${n}-data-table-tr`,ee&&`${n}-data-table-tr--summary`,be&&`${n}-data-table-tr--striped`,te&&`${n}-data-table-tr--expanded`,ae]},Ce),b.map((oe,ue)=>{var De,Ue,ke,Fe,je;if(O in m){const Dt=m[O],Se=Dt.indexOf(ue);if(~Se)return Dt.splice(Se,1),null}const{column:Ae}=oe,Je=bo(oe),{rowSpan:xt,colSpan:X}=Ae,me=ee?((De=F.tmNode.rawNode[Je])===null||De===void 0?void 0:De.colSpan)||1:X?X(N,_e):1,$e=ee?((Ue=F.tmNode.rawNode[Je])===null||Ue===void 0?void 0:Ue.rowSpan)||1:xt?xt(N,_e):1,Ke=ue+me===B,Xe=O+$e===xe,Ze=$e>1;if(Ze&&(v[O]={[ue]:[]}),me>1||Ze)for(let Dt=O;Dt{he(I,F.tmNode)}})]:null,Ae.type==="selection"?ee?null:Ae.multiple===!1?g(tU,{key:x,rowKey:I,disabled:F.tmNode.disabled,onUpdateChecked:()=>{de(F.tmNode)}}):g(eU,{key:x,rowKey:I,disabled:F.tmNode.disabled,onUpdateChecked:(Dt,Se)=>{Q(F.tmNode,Dt,Se.shiftKey)}}):Ae.type==="expand"?ee?null:!Ae.expandable||!((je=Ae.expandable)===null||je===void 0)&&je.call(Ae,N)?g(q0,{clsPrefix:n,expanded:te,renderExpandIcon:this.renderExpandIcon,onClick:()=>{he(I,null)}}):null:g(QW,{clsPrefix:n,index:_e,row:N,column:Ae,isSummary:ee,mergedTheme:C,renderCell:this.renderCell}))}))};return o?g(fw,{ref:"virtualListRef",items:J,itemSize:28,visibleItemsTag:oU,visibleItemsProps:{clsPrefix:n,id:$,cols:b,onMouseleave:D},showScrollbar:!1,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemsStyle:p,itemResizable:!0},{default:({item:F,index:O})=>Le(F,O,!0)}):g("table",{class:`${n}-data-table-table`,onMouseleave:D,style:{tableLayout:this.mergedTableLayout}},g("colgroup",null,b.map(F=>g("col",{key:F.key,style:F.style}))),this.showHeader?g(D2,{discrete:!1}):null,this.empty?null:g("tbody",{"data-n-id":$,class:`${n}-data-table-tbody`},J.map((F,O)=>Le(F,O,!1))))}});if(this.empty){const m=()=>g("div",{class:[`${n}-data-table-empty`,this.loading&&`${n}-data-table-empty--hide`],style:this.bodyStyle,ref:"emptyElRef"},An(this.dataTableSlots.empty,()=>[g(x_,{theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})]));return this.shouldDisplaySomeTablePart?g(rt,null,h,m()):g(sr,{onResize:this.onResize},{default:m})}return h}}),iU=ge({name:"MainTable",setup(){const{mergedClsPrefixRef:e,rightFixedColumnsRef:t,leftFixedColumnsRef:n,bodyWidthRef:o,maxHeightRef:r,minHeightRef:i,flexHeightRef:a,syncScrollState:s}=We(Ro),l=W(null),c=W(null),u=W(null),d=W(!(n.value.length||t.value.length)),f=L(()=>({maxHeight:qt(r.value),minHeight:qt(i.value)}));function p(b){o.value=b.contentRect.width,s(),d.value||(d.value=!0)}function h(){const{value:b}=l;return b?b.$el:null}function m(){const{value:b}=c;return b?b.getScrollContainer():null}const v={getBodyElement:m,getHeaderElement:h,scrollTo(b,w){var C;(C=c.value)===null||C===void 0||C.scrollTo(b,w)}};return Yt(()=>{const{value:b}=u;if(!b)return;const w=`${e.value}-data-table-base-table--transition-disabled`;d.value?setTimeout(()=>{b.classList.remove(w)},0):b.classList.add(w)}),Object.assign({maxHeight:r,mergedClsPrefix:e,selfElRef:u,headerInstRef:l,bodyInstRef:c,bodyStyle:f,flexHeight:a,handleBodyResize:p},v)},render(){const{mergedClsPrefix:e,maxHeight:t,flexHeight:n}=this,o=t===void 0&&!n;return g("div",{class:`${e}-data-table-base-table`,ref:"selfElRef"},o?null:g(D2,{ref:"headerInstRef"}),g(rU,{ref:"bodyInstRef",bodyStyle:this.bodyStyle,showHeader:o,flexHeight:n,onResize:this.handleBodyResize}))}});function aU(e,t){const{paginatedDataRef:n,treeMateRef:o,selectionColumnRef:r}=t,i=W(e.defaultCheckedRowKeys),a=L(()=>{var _;const{checkedRowKeys:x}=e,y=x===void 0?i.value:x;return((_=r.value)===null||_===void 0?void 0:_.multiple)===!1?{checkedKeys:y.slice(0,1),indeterminateKeys:[]}:o.value.getCheckedKeys(y,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded})}),s=L(()=>a.value.checkedKeys),l=L(()=>a.value.indeterminateKeys),c=L(()=>new Set(s.value)),u=L(()=>new Set(l.value)),d=L(()=>{const{value:_}=c;return n.value.reduce((x,y)=>{const{key:k,disabled:P}=y;return x+(!P&&_.has(k)?1:0)},0)}),f=L(()=>n.value.filter(_=>_.disabled).length),p=L(()=>{const{length:_}=n.value,{value:x}=u;return d.value>0&&d.value<_-f.value||n.value.some(y=>x.has(y.key))}),h=L(()=>{const{length:_}=n.value;return d.value!==0&&d.value===_-f.value}),m=L(()=>n.value.length===0);function v(_,x,y){const{"onUpdate:checkedRowKeys":k,onUpdateCheckedRowKeys:P,onCheckedRowKeysChange:T}=e,$=[],{value:{getNode:R}}=o;_.forEach(K=>{var H;const D=(H=R(K))===null||H===void 0?void 0:H.rawNode;$.push(D)}),k&&Ee(k,_,$,{row:x,action:y}),P&&Ee(P,_,$,{row:x,action:y}),T&&Ee(T,_,$,{row:x,action:y}),i.value=_}function b(_,x=!1,y){if(!e.loading){if(x){v(Array.isArray(_)?_.slice(0,1):[_],y,"check");return}v(o.value.check(_,s.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,y,"check")}}function w(_,x){e.loading||v(o.value.uncheck(_,s.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,x,"uncheck")}function C(_=!1){const{value:x}=r;if(!x||e.loading)return;const y=[];(_?o.value.treeNodes:n.value).forEach(k=>{k.disabled||y.push(k.key)}),v(o.value.check(y,s.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"checkAll")}function S(_=!1){const{value:x}=r;if(!x||e.loading)return;const y=[];(_?o.value.treeNodes:n.value).forEach(k=>{k.disabled||y.push(k.key)}),v(o.value.uncheck(y,s.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"uncheckAll")}return{mergedCheckedRowKeySetRef:c,mergedCheckedRowKeysRef:s,mergedInderminateRowKeySetRef:u,someRowsCheckedRef:p,allRowsCheckedRef:h,headerCheckboxDisabledRef:m,doUpdateCheckedRowKeys:v,doCheckAll:C,doUncheckAll:S,doCheck:b,doUncheck:w}}function Hl(e){return typeof e=="object"&&typeof e.multiple=="number"?e.multiple:!1}function sU(e,t){return t&&(e===void 0||e==="default"||typeof e=="object"&&e.compare==="default")?lU(t):typeof e=="function"?e:e&&typeof e=="object"&&e.compare&&e.compare!=="default"?e.compare:!1}function lU(e){return(t,n)=>{const o=t[e],r=n[e];return o==null?r==null?0:-1:r==null?1:typeof o=="number"&&typeof r=="number"?o-r:typeof o=="string"&&typeof r=="string"?o.localeCompare(r):0}}function cU(e,{dataRelatedColsRef:t,filteredDataRef:n}){const o=[];t.value.forEach(p=>{var h;p.sorter!==void 0&&f(o,{columnKey:p.key,sorter:p.sorter,order:(h=p.defaultSortOrder)!==null&&h!==void 0?h:!1})});const r=W(o),i=L(()=>{const p=t.value.filter(v=>v.type!=="selection"&&v.sorter!==void 0&&(v.sortOrder==="ascend"||v.sortOrder==="descend"||v.sortOrder===!1)),h=p.filter(v=>v.sortOrder!==!1);if(h.length)return h.map(v=>({columnKey:v.key,order:v.sortOrder,sorter:v.sorter}));if(p.length)return[];const{value:m}=r;return Array.isArray(m)?m:m?[m]:[]}),a=L(()=>{const p=i.value.slice().sort((h,m)=>{const v=Hl(h.sorter)||0;return(Hl(m.sorter)||0)-v});return p.length?n.value.slice().sort((m,v)=>{let b=0;return p.some(w=>{const{columnKey:C,sorter:S,order:_}=w,x=sU(S,C);return x&&_&&(b=x(m.rawNode,v.rawNode),b!==0)?(b=b*SW(_),!0):!1}),b}):n.value});function s(p){let h=i.value.slice();return p&&Hl(p.sorter)!==!1?(h=h.filter(m=>Hl(m.sorter)!==!1),f(h,p),h):p||null}function l(p){const h=s(p);c(h)}function c(p){const{"onUpdate:sorter":h,onUpdateSorter:m,onSorterChange:v}=e;h&&Ee(h,p),m&&Ee(m,p),v&&Ee(v,p),r.value=p}function u(p,h="ascend"){if(!p)d();else{const m=t.value.find(b=>b.type!=="selection"&&b.type!=="expand"&&b.key===p);if(!(m!=null&&m.sorter))return;const v=m.sorter;l({columnKey:p,sorter:v,order:h})}}function d(){c(null)}function f(p,h){const m=p.findIndex(v=>(h==null?void 0:h.columnKey)&&v.columnKey===h.columnKey);m!==void 0&&m>=0?p[m]=h:p.push(h)}return{clearSorter:d,sort:u,sortedDataRef:a,mergedSortStateRef:i,deriveNextSorter:l}}function uU(e,{dataRelatedColsRef:t}){const n=L(()=>{const B=E=>{for(let A=0;A{const{childrenKey:B}=e;return wi(e.data,{ignoreEmptyChildren:!0,getKey:e.rowKey,getChildren:E=>E[B],getDisabled:E=>{var A,G;return!!(!((G=(A=n.value)===null||A===void 0?void 0:A.disabled)===null||G===void 0)&&G.call(A,E))}})}),r=St(()=>{const{columns:B}=e,{length:E}=B;let A=null;for(let G=0;G{const B=t.value.filter(G=>G.filterOptionValues!==void 0||G.filterOptionValue!==void 0),E={};return B.forEach(G=>{var ne;G.type==="selection"||G.type==="expand"||(G.filterOptionValues===void 0?E[G.key]=(ne=G.filterOptionValue)!==null&&ne!==void 0?ne:null:E[G.key]=G.filterOptionValues)}),Object.assign(j0(i.value),E)}),u=L(()=>{const B=c.value,{columns:E}=e;function A(ye){return(J,xe)=>!!~String(xe[ye]).indexOf(String(J))}const{value:{treeNodes:G}}=o,ne=[];return E.forEach(ye=>{ye.type==="selection"||ye.type==="expand"||"children"in ye||ne.push([ye.key,ye])}),G?G.filter(ye=>{const{rawNode:J}=ye;for(const[xe,j]of ne){let ve=B[xe];if(ve==null||(Array.isArray(ve)||(ve=[ve]),!ve.length))continue;const Oe=j.filter==="default"?A(xe):j.filter;if(j&&typeof Oe=="function")if(j.filterMode==="and"){if(ve.some(Le=>!Oe(Le,J)))return!1}else{if(ve.some(Le=>Oe(Le,J)))continue;return!1}}return!0}):[]}),{sortedDataRef:d,deriveNextSorter:f,mergedSortStateRef:p,sort:h,clearSorter:m}=cU(e,{dataRelatedColsRef:t,filteredDataRef:u});t.value.forEach(B=>{var E;if(B.filter){const A=B.defaultFilterOptionValues;B.filterMultiple?i.value[B.key]=A||[]:A!==void 0?i.value[B.key]=A===null?[]:A:i.value[B.key]=(E=B.defaultFilterOptionValue)!==null&&E!==void 0?E:null}});const v=L(()=>{const{pagination:B}=e;if(B!==!1)return B.page}),b=L(()=>{const{pagination:B}=e;if(B!==!1)return B.pageSize}),w=sn(v,s),C=sn(b,l),S=St(()=>{const B=w.value;return e.remote?B:Math.max(1,Math.min(Math.ceil(u.value.length/C.value),B))}),_=L(()=>{const{pagination:B}=e;if(B){const{pageCount:E}=B;if(E!==void 0)return E}}),x=L(()=>{if(e.remote)return o.value.treeNodes;if(!e.pagination)return d.value;const B=C.value,E=(S.value-1)*B;return d.value.slice(E,E+B)}),y=L(()=>x.value.map(B=>B.rawNode));function k(B){const{pagination:E}=e;if(E){const{onChange:A,"onUpdate:page":G,onUpdatePage:ne}=E;A&&Ee(A,B),ne&&Ee(ne,B),G&&Ee(G,B),R(B)}}function P(B){const{pagination:E}=e;if(E){const{onPageSizeChange:A,"onUpdate:pageSize":G,onUpdatePageSize:ne}=E;A&&Ee(A,B),ne&&Ee(ne,B),G&&Ee(G,B),K(B)}}const T=L(()=>{if(e.remote){const{pagination:B}=e;if(B){const{itemCount:E}=B;if(E!==void 0)return E}return}return u.value.length}),$=L(()=>Object.assign(Object.assign({},e.pagination),{onChange:void 0,onUpdatePage:void 0,onUpdatePageSize:void 0,onPageSizeChange:void 0,"onUpdate:page":k,"onUpdate:pageSize":P,page:S.value,pageSize:C.value,pageCount:T.value===void 0?_.value:void 0,itemCount:T.value}));function R(B){const{"onUpdate:page":E,onPageChange:A,onUpdatePage:G}=e;G&&Ee(G,B),E&&Ee(E,B),A&&Ee(A,B),s.value=B}function K(B){const{"onUpdate:pageSize":E,onPageSizeChange:A,onUpdatePageSize:G}=e;A&&Ee(A,B),G&&Ee(G,B),E&&Ee(E,B),l.value=B}function H(B,E){const{onUpdateFilters:A,"onUpdate:filters":G,onFiltersChange:ne}=e;A&&Ee(A,B,E),G&&Ee(G,B,E),ne&&Ee(ne,B,E),i.value=B}function D(B,E,A,G){var ne;(ne=e.onUnstableColumnResize)===null||ne===void 0||ne.call(e,B,E,A,G)}function M(B){R(B)}function Y(){Q()}function Q(){de({})}function de(B){he(B)}function he(B){B?B&&(i.value=j0(B)):i.value={}}return{treeMateRef:o,mergedCurrentPageRef:S,mergedPaginationRef:$,paginatedDataRef:x,rawPaginatedDataRef:y,mergedFilterStateRef:c,mergedSortStateRef:p,hoverKeyRef:W(null),selectionColumnRef:n,childTriggerColIndexRef:r,doUpdateFilters:H,deriveNextSorter:f,doUpdatePageSize:K,doUpdatePage:R,onUnstableColumnResize:D,filter:he,filters:de,clearFilter:Y,clearFilters:Q,clearSorter:m,page:M,sort:h}}function dU(e,{mainTableInstRef:t,mergedCurrentPageRef:n,bodyWidthRef:o}){let r=0;const i=W(),a=W(null),s=W([]),l=W(null),c=W([]),u=L(()=>qt(e.scrollX)),d=L(()=>e.columns.filter(P=>P.fixed==="left")),f=L(()=>e.columns.filter(P=>P.fixed==="right")),p=L(()=>{const P={};let T=0;function $(R){R.forEach(K=>{const H={start:T,end:0};P[bo(K)]=H,"children"in K?($(K.children),H.end=T):(T+=H0(K)||0,H.end=T)})}return $(d.value),P}),h=L(()=>{const P={};let T=0;function $(R){for(let K=R.length-1;K>=0;--K){const H=R[K],D={start:T,end:0};P[bo(H)]=D,"children"in H?($(H.children),D.end=T):(T+=H0(H)||0,D.end=T)}}return $(f.value),P});function m(){var P,T;const{value:$}=d;let R=0;const{value:K}=p;let H=null;for(let D=0;D<$.length;++D){const M=bo($[D]);if(r>(((P=K[M])===null||P===void 0?void 0:P.start)||0)-R)H=M,R=((T=K[M])===null||T===void 0?void 0:T.end)||0;else break}a.value=H}function v(){s.value=[];let P=e.columns.find(T=>bo(T)===a.value);for(;P&&"children"in P;){const T=P.children.length;if(T===0)break;const $=P.children[T-1];s.value.push(bo($)),P=$}}function b(){var P,T;const{value:$}=f,R=Number(e.scrollX),{value:K}=o;if(K===null)return;let H=0,D=null;const{value:M}=h;for(let Y=$.length-1;Y>=0;--Y){const Q=bo($[Y]);if(Math.round(r+(((P=M[Q])===null||P===void 0?void 0:P.start)||0)+K-H)bo(T)===l.value);for(;P&&"children"in P&&P.children.length;){const T=P.children[0];c.value.push(bo(T)),P=T}}function C(){const P=t.value?t.value.getHeaderElement():null,T=t.value?t.value.getBodyElement():null;return{header:P,body:T}}function S(){const{body:P}=C();P&&(P.scrollTop=0)}function _(){i.value!=="body"?kc(y):i.value=void 0}function x(P){var T;(T=e.onScroll)===null||T===void 0||T.call(e,P),i.value!=="head"?kc(y):i.value=void 0}function y(){const{header:P,body:T}=C();if(!T)return;const{value:$}=o;if($!==null){if(e.maxHeight||e.flexHeight){if(!P)return;const R=r-P.scrollLeft;i.value=R!==0?"head":"body",i.value==="head"?(r=P.scrollLeft,T.scrollLeft=r):(r=T.scrollLeft,P.scrollLeft=r)}else r=T.scrollLeft;m(),v(),b(),w()}}function k(P){const{header:T}=C();T&&(T.scrollLeft=P,y())}return ft(n,()=>{S()}),{styleScrollXRef:u,fixedColumnLeftMapRef:p,fixedColumnRightMapRef:h,leftFixedColumnsRef:d,rightFixedColumnsRef:f,leftActiveFixedColKeyRef:a,leftActiveFixedChildrenColKeysRef:s,rightActiveFixedColKeyRef:l,rightActiveFixedChildrenColKeysRef:c,syncScrollState:y,handleTableBodyScroll:x,handleTableHeaderScroll:_,setHeaderScrollLeft:k}}function fU(){const e=W({});function t(r){return e.value[r]}function n(r,i){T2(r)&&"key"in r&&(e.value[r.key]=i)}function o(){e.value={}}return{getResizableWidth:t,doUpdateResizableWidth:n,clearResizableWidth:o}}function hU(e,t){const n=[],o=[],r=[],i=new WeakMap;let a=-1,s=0,l=!1;function c(f,p){p>a&&(n[p]=[],a=p);for(const h of f)if("children"in h)c(h.children,p+1);else{const m="key"in h?h.key:void 0;o.push({key:bo(h),style:PW(h,m!==void 0?qt(t(m)):void 0),column:h}),s+=1,l||(l=!!h.ellipsis),r.push(h)}}c(e,0);let u=0;function d(f,p){let h=0;f.forEach((m,v)=>{var b;if("children"in m){const w=u,C={column:m,colSpan:0,rowSpan:1,isLast:!1};d(m.children,p+1),m.children.forEach(S=>{var _,x;C.colSpan+=(x=(_=i.get(S))===null||_===void 0?void 0:_.colSpan)!==null&&x!==void 0?x:0}),w+C.colSpan===s&&(C.isLast=!0),i.set(m,C),n[p].push(C)}else{if(u1&&(h=u+w);const C=u+w===s,S={column:m,colSpan:w,rowSpan:a-p+1,isLast:C};i.set(m,S),n[p].push(S),u+=1}})}return d(e,0),{hasEllipsis:l,rows:n,cols:o,dataRelatedCols:r}}function pU(e,t){const n=L(()=>hU(e.columns,t));return{rowsRef:L(()=>n.value.rows),colsRef:L(()=>n.value.cols),hasEllipsisRef:L(()=>n.value.hasEllipsis),dataRelatedColsRef:L(()=>n.value.dataRelatedCols)}}function mU(e,t){const n=St(()=>{for(const c of e.columns)if(c.type==="expand")return c.renderExpand}),o=St(()=>{let c;for(const u of e.columns)if(u.type==="expand"){c=u.expandable;break}return c}),r=W(e.defaultExpandAll?n!=null&&n.value?(()=>{const c=[];return t.value.treeNodes.forEach(u=>{var d;!((d=o.value)===null||d===void 0)&&d.call(o,u.rawNode)&&c.push(u.key)}),c})():t.value.getNonLeafKeys():e.defaultExpandedRowKeys),i=Ve(e,"expandedRowKeys"),a=Ve(e,"stickyExpandedRows"),s=sn(i,r);function l(c){const{onUpdateExpandedRowKeys:u,"onUpdate:expandedRowKeys":d}=e;u&&Ee(u,c),d&&Ee(d,c),r.value=c}return{stickyExpandedRowsRef:a,mergedExpandedRowKeysRef:s,renderExpandRef:n,expandableRef:o,doUpdateExpandedRowKeys:l}}const K0=vU(),gU=q([z("data-table",` width: 100%; font-size: var(--n-font-size); display: flex; @@ -2100,11 +2117,11 @@ ${t} flex-grow: 1; display: flex; flex-direction: column; - `),Z("flex-height",[U(">",[z("data-table-wrapper",[U(">",[z("data-table-base-table",` + `),Z("flex-height",[q(">",[z("data-table-wrapper",[q(">",[z("data-table-base-table",` display: flex; flex-direction: column; flex-grow: 1; - `,[U(">",[z("data-table-base-table-body","flex-basis: 0;",[U("&:last-child","flex-grow: 1;")])])])])])])]),U(">",[z("data-table-loading-wrapper",` + `,[q(">",[z("data-table-base-table-body","flex-basis: 0;",[q("&:last-child","flex-grow: 1;")])])])])])])]),q(">",[z("data-table-loading-wrapper",` color: var(--n-loading-color); font-size: var(--n-loading-size); position: absolute; @@ -2115,7 +2132,7 @@ ${t} display: flex; align-items: center; justify-content: center; - `,[Va({originalTransform:"translateX(-50%) translateY(-50%)"})])]),z("data-table-expand-placeholder",` + `,[Na({originalTransform:"translateX(-50%) translateY(-50%)"})])]),z("data-table-expand-placeholder",` margin-right: 8px; display: inline-block; width: 16px; @@ -2168,7 +2185,7 @@ ${t} margin: calc(var(--n-th-padding) * -1); padding: var(--n-th-padding); box-sizing: border-box; - `),Z("striped","background-color: var(--n-merged-td-color-striped);",[z("data-table-td","background-color: var(--n-merged-td-color-striped);")]),Tt("summary",[U("&:hover","background-color: var(--n-merged-td-color-hover);",[U(">",[z("data-table-td","background-color: var(--n-merged-td-color-hover);")])])])]),z("data-table-th",` + `),Z("striped","background-color: var(--n-merged-td-color-striped);",[z("data-table-td","background-color: var(--n-merged-td-color-striped);")]),Tt("summary",[q("&:hover","background-color: var(--n-merged-td-color-hover);",[q(">",[z("data-table-td","background-color: var(--n-merged-td-color-hover);")])])])]),z("data-table-th",` padding: var(--n-th-padding); position: relative; text-align: start; @@ -2186,7 +2203,7 @@ ${t} padding-right: 36px; `,[Z("sortable",` padding-right: calc(var(--n-th-padding) + 36px); - `)]),U0,Z("selection",` + `)]),K0,Z("selection",` padding: 0; text-align: center; line-height: 0; @@ -2212,7 +2229,7 @@ ${t} cursor: pointer; `,[V("ellipsis",` max-width: calc(100% - 18px); - `),U("&:hover",` + `),q("&:hover",` background-color: var(--n-merged-th-color-hover); `)]),z("data-table-sorter",` height: var(--n-sorter-size); @@ -2239,7 +2256,7 @@ ${t} bottom: 0; cursor: col-resize; user-select: none; - `,[U("&::after",` + `,[q("&::after",` width: var(--n-resizable-size); height: 50%; position: absolute; @@ -2251,9 +2268,9 @@ ${t} transition: background-color .3s var(--n-bezier); z-index: 1; content: ''; - `),Z("active",[U("&::after",` + `),Z("active",[q("&::after",` background-color: var(--n-th-icon-color-active); - `)]),U("&:hover::after",` + `)]),q("&:hover::after",` background-color: var(--n-th-icon-color-active); `)]),z("data-table-filter",` position: absolute; @@ -2271,7 +2288,7 @@ ${t} color .3s var(--n-bezier); font-size: var(--n-filter-size); color: var(--n-th-icon-color); - `,[U("&:hover",` + `,[q("&:hover",` background-color: var(--n-th-button-color-hover); `),Z("show",` background-color: var(--n-th-button-color-hover); @@ -2295,9 +2312,9 @@ ${t} margin-right: 0; `)]),Z("last-row",` border-bottom: 0 solid var(--n-merged-border-color); - `,[U("&::after",` + `,[q("&::after",` bottom: 0 !important; - `),U("&::before",` + `),q("&::before",` bottom: 0 !important; `)]),Z("summary",` background-color: var(--n-merged-th-color); @@ -2315,7 +2332,7 @@ ${t} text-align: center; padding: 0; line-height: 0; - `),U0]),z("data-table-empty",` + `),K0]),z("data-table-empty",` box-sizing: border-box; padding: var(--n-empty-padding); flex-grow: 1; @@ -2343,7 +2360,7 @@ ${t} pointer-events: none; `)]),Z("single-column",[z("data-table-td",` border-bottom: 0 solid var(--n-merged-border-color); - `,[U("&::after, &::before",` + `,[q("&::after, &::before",` bottom: 0 !important; `)])]),Tt("single-line",[z("data-table-th",` border-right: 1px solid var(--n-merged-border-color); @@ -2358,7 +2375,7 @@ ${t} border-bottom-left-radius: var(--n-border-radius); border-bottom-right-radius: var(--n-border-radius); overflow: hidden; - `)]),z("data-table-base-table",[Z("transition-disabled",[z("data-table-th",[U("&::after, &::before","transition: none;")]),z("data-table-td",[U("&::after, &::before","transition: none;")])])]),Z("bottom-bordered",[z("data-table-td",[Z("last-row",` + `)]),z("data-table-base-table",[Z("transition-disabled",[z("data-table-th",[q("&::after, &::before","transition: none;")]),z("data-table-td",[q("&::after, &::before","transition: none;")])])]),Z("bottom-bordered",[z("data-table-td",[Z("last-row",` border-bottom: 1px solid var(--n-merged-border-color); `)])]),z("data-table-table",` font-variant-numeric: tabular-nums; @@ -2376,7 +2393,7 @@ ${t} flex-shrink: 0; transition: border-color .3s var(--n-bezier); scrollbar-width: none; - `,[U("&::-webkit-scrollbar",` + `,[q("&::-webkit-scrollbar",` width: 0; height: 0; `)]),z("data-table-check-extra",` @@ -2406,31 +2423,31 @@ ${t} flex-wrap: nowrap; justify-content: space-evenly; border-top: 1px solid var(--n-action-divider-color); - `,[z("button",[U("&:not(:last-child)",` + `,[z("button",[q("&:not(:last-child)",` margin: var(--n-action-button-margin); - `),U("&:last-child",` + `),q("&:last-child",` margin-right: 0; `)])]),z("divider",` margin: 0 !important; - `)]),nl(z("data-table",` + `)]),rl(z("data-table",` --n-merged-th-color: var(--n-th-color-modal); --n-merged-td-color: var(--n-td-color-modal); --n-merged-border-color: var(--n-border-color-modal); --n-merged-th-color-hover: var(--n-th-color-hover-modal); --n-merged-td-color-hover: var(--n-td-color-hover-modal); --n-merged-td-color-striped: var(--n-td-color-striped-modal); - `)),yu(z("data-table",` + `)),Cu(z("data-table",` --n-merged-th-color: var(--n-th-color-popover); --n-merged-td-color: var(--n-td-color-popover); --n-merged-border-color: var(--n-border-color-popover); --n-merged-th-color-hover: var(--n-th-color-hover-popover); --n-merged-td-color-hover: var(--n-td-color-hover-popover); --n-merged-td-color-striped: var(--n-td-color-striped-popover); - `))]);function cU(){return[Z("fixed-left",` + `))]);function vU(){return[Z("fixed-left",` left: 0; position: sticky; z-index: 2; - `,[U("&::after",` + `,[q("&::after",` pointer-events: none; content: ""; width: 36px; @@ -2444,7 +2461,7 @@ ${t} right: 0; position: sticky; z-index: 1; - `,[U("&::before",` + `,[q("&::before",` pointer-events: none; content: ""; width: 36px; @@ -2454,7 +2471,7 @@ ${t} bottom: -1px; transition: box-shadow .2s var(--n-bezier); left: -36px; - `)])]}const zu=me({name:"DataTable",alias:["AdvancedTable"],props:aW,setup(e,{slots:t}){const{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:i}=it(e),a=pn("DataTable",i,o),s=L(()=>{const{bottomBordered:X}=e;return n.value?!1:X!==void 0?X:!0}),l=Be("DataTable","-data-table",lU,eW,e,o),c=F(null),u=F(null),{getResizableWidth:d,clearResizableWidth:f,doUpdateResizableWidth:p}=rU(),{rowsRef:h,colsRef:g,dataRelatedColsRef:b,hasEllipsisRef:m}=aU(e,d),x=X=>{const{fileName:pe="data.csv",keepOriginalData:$e=!1}=X||{},qe=$e?e.data:C.value,Xe=wW(e.columns,qe),Ze=new Blob([Xe],{type:"text/csv;charset=utf-8"}),nt=URL.createObjectURL(Ze);$8(nt,pe.endsWith(".csv")?pe:`${pe}.csv`),URL.revokeObjectURL(nt)},{treeMateRef:S,mergedCurrentPageRef:_,paginatedDataRef:w,rawPaginatedDataRef:C,selectionColumnRef:y,hoverKeyRef:k,mergedPaginationRef:R,mergedFilterStateRef:$,mergedSortStateRef:I,childTriggerColIndexRef:A,doUpdatePage:K,doUpdateFilters:B,onUnstableColumnResize:M,deriveNextSorter:D,filter:Y,filters:Q,clearFilter:ue,clearFilters:le,clearSorter:N,page:E,sort:O}=nU(e,{dataRelatedColsRef:b}),{doCheckAll:q,doUncheckAll:ne,doCheck:ve,doUncheck:J,headerCheckboxDisabledRef:be,someRowsCheckedRef:H,allRowsCheckedRef:ge,mergedCheckedRowKeySetRef:Ie,mergedInderminateRowKeySetRef:Le}=JW(e,{selectionColumnRef:y,treeMateRef:S,paginatedDataRef:w}),{stickyExpandedRowsRef:P,mergedExpandedRowKeysRef:T,renderExpandRef:W,expandableRef:oe,doUpdateExpandedRowKeys:G}=sU(e,S),{handleTableBodyScroll:se,handleTableHeaderScroll:xe,syncScrollState:ye,setHeaderScrollLeft:Ce,leftActiveFixedColKeyRef:we,leftActiveFixedChildrenColKeysRef:Ee,rightActiveFixedColKeyRef:de,rightActiveFixedChildrenColKeysRef:ee,leftFixedColumnsRef:fe,rightFixedColumnsRef:Te,fixedColumnLeftMapRef:Fe,fixedColumnRightMapRef:Ye}=oU(e,{bodyWidthRef:c,mainTableInstRef:u,mergedCurrentPageRef:_}),{localeRef:Se}=Li("DataTable"),De=L(()=>e.virtualScroll||e.flexHeight||e.maxHeight!==void 0||m.value?"fixed":e.tableLayout);lt(Po,{props:e,treeMateRef:S,renderExpandIconRef:je(e,"renderExpandIcon"),loadingKeySetRef:F(new Set),slots:t,indentRef:je(e,"indent"),childTriggerColIndexRef:A,bodyWidthRef:c,componentId:Ii(),hoverKeyRef:k,mergedClsPrefixRef:o,mergedThemeRef:l,scrollXRef:L(()=>e.scrollX),rowsRef:h,colsRef:g,paginatedDataRef:w,leftActiveFixedColKeyRef:we,leftActiveFixedChildrenColKeysRef:Ee,rightActiveFixedColKeyRef:de,rightActiveFixedChildrenColKeysRef:ee,leftFixedColumnsRef:fe,rightFixedColumnsRef:Te,fixedColumnLeftMapRef:Fe,fixedColumnRightMapRef:Ye,mergedCurrentPageRef:_,someRowsCheckedRef:H,allRowsCheckedRef:ge,mergedSortStateRef:I,mergedFilterStateRef:$,loadingRef:je(e,"loading"),rowClassNameRef:je(e,"rowClassName"),mergedCheckedRowKeySetRef:Ie,mergedExpandedRowKeysRef:T,mergedInderminateRowKeySetRef:Le,localeRef:Se,expandableRef:oe,stickyExpandedRowsRef:P,rowKeyRef:je(e,"rowKey"),renderExpandRef:W,summaryRef:je(e,"summary"),virtualScrollRef:je(e,"virtualScroll"),rowPropsRef:je(e,"rowProps"),stripedRef:je(e,"striped"),checkOptionsRef:L(()=>{const{value:X}=y;return X==null?void 0:X.options}),rawPaginatedDataRef:C,filterMenuCssVarsRef:L(()=>{const{self:{actionDividerColor:X,actionPadding:pe,actionButtonMargin:$e}}=l.value;return{"--n-action-padding":pe,"--n-action-button-margin":$e,"--n-action-divider-color":X}}),onLoadRef:je(e,"onLoad"),mergedTableLayoutRef:De,maxHeightRef:je(e,"maxHeight"),minHeightRef:je(e,"minHeight"),flexHeightRef:je(e,"flexHeight"),headerCheckboxDisabledRef:be,paginationBehaviorOnFilterRef:je(e,"paginationBehaviorOnFilter"),summaryPlacementRef:je(e,"summaryPlacement"),scrollbarPropsRef:je(e,"scrollbarProps"),syncScrollState:ye,doUpdatePage:K,doUpdateFilters:B,getResizableWidth:d,onUnstableColumnResize:M,clearResizableWidth:f,doUpdateResizableWidth:p,deriveNextSorter:D,doCheck:ve,doUncheck:J,doCheckAll:q,doUncheckAll:ne,doUpdateExpandedRowKeys:G,handleTableHeaderScroll:xe,handleTableBodyScroll:se,setHeaderScrollLeft:Ce,renderCell:je(e,"renderCell")});const Ue={filter:Y,filters:Q,clearFilters:le,clearSorter:N,page:E,sort:O,clearFilter:ue,downloadCsv:x,scrollTo:(X,pe)=>{var $e;($e=u.value)===null||$e===void 0||$e.scrollTo(X,pe)}},Ae=L(()=>{const{size:X}=e,{common:{cubicBezierEaseInOut:pe},self:{borderColor:$e,tdColorHover:qe,thColor:Xe,thColorHover:Ze,tdColor:nt,tdTextColor:rt,thTextColor:yt,thFontWeight:on,thButtonColorHover:Dt,thIconColor:_e,thIconColorActive:Ne,filterSize:et,borderRadius:pt,lineHeight:gt,tdColorModal:ct,thColorModal:Rt,borderColorModal:ae,thColorHoverModal:Pe,tdColorHoverModal:ot,borderColorPopover:Nt,thColorPopover:Kt,tdColorPopover:Lt,tdColorHoverPopover:ho,thColorHoverPopover:po,paginationMargin:mo,emptyPadding:Xo,boxShadowAfter:Zo,boxShadowBefore:Jr,sorterSize:Ya,resizableContainerSize:Xa,resizableSize:Za,loadingColor:Ja,loadingSize:gr,opacityLoading:vr,tdColorStriped:Ju,tdColorStripedModal:Qu,tdColorStripedPopover:ed,[ke("fontSize",X)]:td,[ke("thPadding",X)]:nd,[ke("tdPadding",X)]:od}}=l.value;return{"--n-font-size":td,"--n-th-padding":nd,"--n-td-padding":od,"--n-bezier":pe,"--n-border-radius":pt,"--n-line-height":gt,"--n-border-color":$e,"--n-border-color-modal":ae,"--n-border-color-popover":Nt,"--n-th-color":Xe,"--n-th-color-hover":Ze,"--n-th-color-modal":Rt,"--n-th-color-hover-modal":Pe,"--n-th-color-popover":Kt,"--n-th-color-hover-popover":po,"--n-td-color":nt,"--n-td-color-hover":qe,"--n-td-color-modal":ct,"--n-td-color-hover-modal":ot,"--n-td-color-popover":Lt,"--n-td-color-hover-popover":ho,"--n-th-text-color":yt,"--n-td-text-color":rt,"--n-th-font-weight":on,"--n-th-button-color-hover":Dt,"--n-th-icon-color":_e,"--n-th-icon-color-active":Ne,"--n-filter-size":et,"--n-pagination-margin":mo,"--n-empty-padding":Xo,"--n-box-shadow-before":Jr,"--n-box-shadow-after":Zo,"--n-sorter-size":Ya,"--n-resizable-container-size":Xa,"--n-resizable-size":Za,"--n-loading-size":gr,"--n-loading-color":Ja,"--n-opacity-loading":vr,"--n-td-color-striped":Ju,"--n-td-color-striped-modal":Qu,"--n-td-color-striped-popover":ed}}),Qe=r?kt("data-table",L(()=>e.size[0]),Ae,e):void 0,xt=L(()=>{if(!e.pagination)return!1;if(e.paginateSinglePage)return!0;const X=R.value,{pageCount:pe}=X;return pe!==void 0?pe>1:X.itemCount&&X.pageSize&&X.itemCount>X.pageSize});return Object.assign({mainTableInstRef:u,mergedClsPrefix:o,rtlEnabled:a,mergedTheme:l,paginatedData:w,mergedBordered:n,mergedBottomBordered:s,mergedPagination:R,mergedShowPagination:xt,cssVars:r?void 0:Ae,themeClass:Qe==null?void 0:Qe.themeClass,onRender:Qe==null?void 0:Qe.onRender},Ue)},render(){const{mergedClsPrefix:e,themeClass:t,onRender:n,$slots:o,spinProps:r}=this;return n==null||n(),v("div",{class:[`${e}-data-table`,this.rtlEnabled&&`${e}-data-table--rtl`,t,{[`${e}-data-table--bordered`]:this.mergedBordered,[`${e}-data-table--bottom-bordered`]:this.mergedBottomBordered,[`${e}-data-table--single-line`]:this.singleLine,[`${e}-data-table--single-column`]:this.singleColumn,[`${e}-data-table--loading`]:this.loading,[`${e}-data-table--flex-height`]:this.flexHeight}],style:this.cssVars},v("div",{class:`${e}-data-table-wrapper`},v(ZW,{ref:"mainTableInstRef"})),this.mergedShowPagination?v("div",{class:`${e}-data-table__pagination`},v(NV,Object.assign({theme:this.mergedTheme.peers.Pagination,themeOverrides:this.mergedTheme.peerOverrides.Pagination,disabled:this.loading},this.mergedPagination))):null,v(hn,{name:"fade-in-scale-up-transition"},{default:()=>this.loading?v("div",{class:`${e}-data-table-loading-wrapper`},An(o.loading,()=>[v(Xr,Object.assign({clsPrefix:e,strokeWidth:20},r))])):null}))}}),uU={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"},dU=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({},uU),{panelColor:t,panelBoxShadow:s,panelDividerColor:i,itemTextColor:n,itemTextColorActive:o,itemColorHover:r,itemOpacityDisabled:a,itemBorderRadius:l,borderRadius:l,iconColor:c,iconColorDisabled:u})},fU={name:"TimePicker",common:He,peers:{Scrollbar:jn,Button:Vn,Input:uo},self:dU},$2=fU,hU={itemSize:"24px",itemCellWidth:"38px",itemCellHeight:"32px",scrollItemWidth:"80px",scrollItemHeight:"40px",panelExtraFooterPadding:"8px 12px",panelActionPadding:"8px 12px",calendarTitlePadding:"0",calendarTitleHeight:"28px",arrowSize:"14px",panelHeaderPadding:"8px 12px",calendarDaysHeight:"32px",calendarTitleGridTempateColumns:"28px 28px 1fr 28px 28px",calendarLeftPaddingDate:"6px 12px 4px 12px",calendarLeftPaddingDatetime:"4px 12px",calendarLeftPaddingDaterange:"6px 12px 4px 12px",calendarLeftPaddingDatetimerange:"4px 12px",calendarLeftPaddingMonth:"0",calendarLeftPaddingYear:"0",calendarLeftPaddingQuarter:"0",calendarLeftPaddingMonthrange:"0",calendarLeftPaddingQuarterrange:"0",calendarLeftPaddingYearrange:"0",calendarLeftPaddingWeek:"6px 12px 4px 12px",calendarRightPaddingDate:"6px 12px 4px 12px",calendarRightPaddingDatetime:"4px 12px",calendarRightPaddingDaterange:"6px 12px 4px 12px",calendarRightPaddingDatetimerange:"4px 12px",calendarRightPaddingMonth:"0",calendarRightPaddingYear:"0",calendarRightPaddingQuarter:"0",calendarRightPaddingMonthrange:"0",calendarRightPaddingQuarterrange:"0",calendarRightPaddingYearrange:"0",calendarRightPaddingWeek:"0"},pU=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({},hU),{itemFontSize:n,calendarDaysFontSize:n,calendarTitleFontSize:n,itemTextColor:o,itemTextColorDisabled:r,itemTextColorActive:i,itemTextColorCurrent:a,itemColorIncluded:Me(a,{alpha:.1}),itemColorHover:t,itemColorDisabled:t,itemColorActive:a,itemBorderRadius:s,panelColor:i,panelTextColor:o,arrowColor:l,calendarTitleTextColor:u,calendarTitleColorHover:t,calendarDaysTextColor:o,panelHeaderDividerColor:d,calendarDaysDividerColor:d,calendarDividerColor:d,panelActionDividerColor:d,panelBoxShadow:f,panelBorderRadius:p,calendarTitleFontWeight:h,scrollItemBorderRadius:p,iconColor:l,iconColorDisabled:c})},mU={name:"DatePicker",common:He,peers:{Input:uo,Button:Vn,TimePicker:$2,Scrollbar:jn},self(e){const{popoverColor:t,hoverColor:n,primaryColor:o}=e,r=pU(e);return r.itemColorDisabled=tt(t,n),r.itemColorIncluded=Me(o,{alpha:.15}),r.itemColorHover=tt(t,n),r}},gU=mU,vU={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"},bU=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({},vU),{lineHeight:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:p,titleTextColor:o,thColor:tt(r,t),thColorModal:tt(i,t),thColorPopover:tt(a,t),thTextColor:o,thFontWeight:c,tdTextColor:n,tdColor:r,tdColorModal:i,tdColorPopover:a,borderColor:tt(r,s),borderColorModal:tt(i,s),borderColorPopover:tt(a,s),borderRadius:l})},yU={name:"Descriptions",common:He,self:bU},xU=yU,CU={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"},E2=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:g,fontWeightStrong:b,lineHeight:m,fontSize:x}=e;return Object.assign(Object.assign({},CU),{fontSize:x,lineHeight:m,border:`1px solid ${h}`,titleTextColor:t,textColor:n,color:o,closeColorHover:s,closeColorPressed:l,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeBorderRadius:g,iconColor:p,iconColorInfo:c,iconColorSuccess:u,iconColorWarning:d,iconColorError:f,borderRadius:g,titleFontWeight:b})},wU={name:"Dialog",common:bt,peers:{Button:Eu},self:E2},A2=wU,_U={name:"Dialog",common:He,peers:{Button:Vn},self:E2},I2=_U,Du={icon:Function,type:{type:String,default:"default"},title:[String,Function],closable:{type:Boolean,default:!0},negativeText:String,positiveText:String,positiveButtonProps:Object,negativeButtonProps:Object,content:[String,Function],action:Function,showIcon:{type:Boolean,default:!0},loading:Boolean,bordered:Boolean,iconPlacement:String,onPositiveClick:Function,onNegativeClick:Function,onClose:Function},O2=qr(Du),SU=U([z("dialog",` + `)])]}const zu=ge({name:"DataTable",alias:["AdvancedTable"],props:pW,setup(e,{slots:t}){const{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:i}=st(e),a=pn("DataTable",i,o),s=L(()=>{const{bottomBordered:X}=e;return n.value?!1:X!==void 0?X:!0}),l=Be("DataTable","-data-table",gU,lW,e,o),c=W(null),u=W(null),{getResizableWidth:d,clearResizableWidth:f,doUpdateResizableWidth:p}=fU(),{rowsRef:h,colsRef:m,dataRelatedColsRef:v,hasEllipsisRef:b}=pU(e,d),w=X=>{const{fileName:me="data.csv",keepOriginalData:$e=!1}=X||{},Ke=$e?e.data:x.value,Xe=$W(e.columns,Ke),Ze=new Blob([Xe],{type:"text/csv;charset=utf-8"}),tt=URL.createObjectURL(Ze);L8(tt,me.endsWith(".csv")?me:`${me}.csv`),URL.revokeObjectURL(tt)},{treeMateRef:C,mergedCurrentPageRef:S,paginatedDataRef:_,rawPaginatedDataRef:x,selectionColumnRef:y,hoverKeyRef:k,mergedPaginationRef:P,mergedFilterStateRef:T,mergedSortStateRef:$,childTriggerColIndexRef:R,doUpdatePage:K,doUpdateFilters:H,onUnstableColumnResize:D,deriveNextSorter:M,filter:Y,filters:Q,clearFilter:de,clearFilters:he,clearSorter:B,page:E,sort:A}=uU(e,{dataRelatedColsRef:v}),{doCheckAll:G,doUncheckAll:ne,doCheck:ye,doUncheck:J,headerCheckboxDisabledRef:xe,someRowsCheckedRef:j,allRowsCheckedRef:ve,mergedCheckedRowKeySetRef:Oe,mergedInderminateRowKeySetRef:Le}=aU(e,{selectionColumnRef:y,treeMateRef:C,paginatedDataRef:_}),{stickyExpandedRowsRef:F,mergedExpandedRowKeysRef:O,renderExpandRef:re,expandableRef:_e,doUpdateExpandedRowKeys:ee}=mU(e,C),{handleTableBodyScroll:be,handleTableHeaderScroll:Pe,syncScrollState:I,setHeaderScrollLeft:N,leftActiveFixedColKeyRef:te,leftActiveFixedChildrenColKeysRef:Ce,rightActiveFixedColKeyRef:ae,rightActiveFixedChildrenColKeysRef:fe,leftFixedColumnsRef:oe,rightFixedColumnsRef:ue,fixedColumnLeftMapRef:De,fixedColumnRightMapRef:Ue}=dU(e,{bodyWidthRef:c,mainTableInstRef:u,mergedCurrentPageRef:S}),{localeRef:ke}=Di("DataTable"),Fe=L(()=>e.virtualScroll||e.flexHeight||e.maxHeight!==void 0||b.value?"fixed":e.tableLayout);at(Ro,{props:e,treeMateRef:C,renderExpandIconRef:Ve(e,"renderExpandIcon"),loadingKeySetRef:W(new Set),slots:t,indentRef:Ve(e,"indent"),childTriggerColIndexRef:R,bodyWidthRef:c,componentId:Gr(),hoverKeyRef:k,mergedClsPrefixRef:o,mergedThemeRef:l,scrollXRef:L(()=>e.scrollX),rowsRef:h,colsRef:m,paginatedDataRef:_,leftActiveFixedColKeyRef:te,leftActiveFixedChildrenColKeysRef:Ce,rightActiveFixedColKeyRef:ae,rightActiveFixedChildrenColKeysRef:fe,leftFixedColumnsRef:oe,rightFixedColumnsRef:ue,fixedColumnLeftMapRef:De,fixedColumnRightMapRef:Ue,mergedCurrentPageRef:S,someRowsCheckedRef:j,allRowsCheckedRef:ve,mergedSortStateRef:$,mergedFilterStateRef:T,loadingRef:Ve(e,"loading"),rowClassNameRef:Ve(e,"rowClassName"),mergedCheckedRowKeySetRef:Oe,mergedExpandedRowKeysRef:O,mergedInderminateRowKeySetRef:Le,localeRef:ke,expandableRef:_e,stickyExpandedRowsRef:F,rowKeyRef:Ve(e,"rowKey"),renderExpandRef:re,summaryRef:Ve(e,"summary"),virtualScrollRef:Ve(e,"virtualScroll"),rowPropsRef:Ve(e,"rowProps"),stripedRef:Ve(e,"striped"),checkOptionsRef:L(()=>{const{value:X}=y;return X==null?void 0:X.options}),rawPaginatedDataRef:x,filterMenuCssVarsRef:L(()=>{const{self:{actionDividerColor:X,actionPadding:me,actionButtonMargin:$e}}=l.value;return{"--n-action-padding":me,"--n-action-button-margin":$e,"--n-action-divider-color":X}}),onLoadRef:Ve(e,"onLoad"),mergedTableLayoutRef:Fe,maxHeightRef:Ve(e,"maxHeight"),minHeightRef:Ve(e,"minHeight"),flexHeightRef:Ve(e,"flexHeight"),headerCheckboxDisabledRef:xe,paginationBehaviorOnFilterRef:Ve(e,"paginationBehaviorOnFilter"),summaryPlacementRef:Ve(e,"summaryPlacement"),scrollbarPropsRef:Ve(e,"scrollbarProps"),syncScrollState:I,doUpdatePage:K,doUpdateFilters:H,getResizableWidth:d,onUnstableColumnResize:D,clearResizableWidth:f,doUpdateResizableWidth:p,deriveNextSorter:M,doCheck:ye,doUncheck:J,doCheckAll:G,doUncheckAll:ne,doUpdateExpandedRowKeys:ee,handleTableHeaderScroll:Pe,handleTableBodyScroll:be,setHeaderScrollLeft:N,renderCell:Ve(e,"renderCell")});const je={filter:Y,filters:Q,clearFilters:he,clearSorter:B,page:E,sort:A,clearFilter:de,downloadCsv:w,scrollTo:(X,me)=>{var $e;($e=u.value)===null||$e===void 0||$e.scrollTo(X,me)}},Ae=L(()=>{const{size:X}=e,{common:{cubicBezierEaseInOut:me},self:{borderColor:$e,tdColorHover:Ke,thColor:Xe,thColorHover:Ze,tdColor:tt,tdTextColor:it,thTextColor:yt,thFontWeight:on,thButtonColorHover:Dt,thIconColor:Se,thIconColorActive:He,filterSize:Qe,borderRadius:ht,lineHeight:gt,tdColorModal:ut,thColorModal:Rt,borderColorModal:se,thColorHoverModal:Re,tdColorHoverModal:ot,borderColorPopover:Bt,thColorPopover:Kt,tdColorPopover:Lt,tdColorHoverPopover:po,thColorHoverPopover:mo,paginationMargin:go,emptyPadding:Go,boxShadowAfter:Yo,boxShadowBefore:ei,sorterSize:qa,resizableContainerSize:Ka,resizableSize:Ga,loadingColor:Ya,loadingSize:vr,opacityLoading:br,tdColorStriped:Ju,tdColorStripedModal:Qu,tdColorStripedPopover:ed,[Te("fontSize",X)]:td,[Te("thPadding",X)]:nd,[Te("tdPadding",X)]:od}}=l.value;return{"--n-font-size":td,"--n-th-padding":nd,"--n-td-padding":od,"--n-bezier":me,"--n-border-radius":ht,"--n-line-height":gt,"--n-border-color":$e,"--n-border-color-modal":se,"--n-border-color-popover":Bt,"--n-th-color":Xe,"--n-th-color-hover":Ze,"--n-th-color-modal":Rt,"--n-th-color-hover-modal":Re,"--n-th-color-popover":Kt,"--n-th-color-hover-popover":mo,"--n-td-color":tt,"--n-td-color-hover":Ke,"--n-td-color-modal":ut,"--n-td-color-hover-modal":ot,"--n-td-color-popover":Lt,"--n-td-color-hover-popover":po,"--n-th-text-color":yt,"--n-td-text-color":it,"--n-th-font-weight":on,"--n-th-button-color-hover":Dt,"--n-th-icon-color":Se,"--n-th-icon-color-active":He,"--n-filter-size":Qe,"--n-pagination-margin":go,"--n-empty-padding":Go,"--n-box-shadow-before":ei,"--n-box-shadow-after":Yo,"--n-sorter-size":qa,"--n-resizable-container-size":Ka,"--n-resizable-size":Ga,"--n-loading-size":vr,"--n-loading-color":Ya,"--n-opacity-loading":br,"--n-td-color-striped":Ju,"--n-td-color-striped-modal":Qu,"--n-td-color-striped-popover":ed}}),Je=r?kt("data-table",L(()=>e.size[0]),Ae,e):void 0,xt=L(()=>{if(!e.pagination)return!1;if(e.paginateSinglePage)return!0;const X=P.value,{pageCount:me}=X;return me!==void 0?me>1:X.itemCount&&X.pageSize&&X.itemCount>X.pageSize});return Object.assign({mainTableInstRef:u,mergedClsPrefix:o,rtlEnabled:a,mergedTheme:l,paginatedData:_,mergedBordered:n,mergedBottomBordered:s,mergedPagination:P,mergedShowPagination:xt,cssVars:r?void 0:Ae,themeClass:Je==null?void 0:Je.themeClass,onRender:Je==null?void 0:Je.onRender},je)},render(){const{mergedClsPrefix:e,themeClass:t,onRender:n,$slots:o,spinProps:r}=this;return n==null||n(),g("div",{class:[`${e}-data-table`,this.rtlEnabled&&`${e}-data-table--rtl`,t,{[`${e}-data-table--bordered`]:this.mergedBordered,[`${e}-data-table--bottom-bordered`]:this.mergedBottomBordered,[`${e}-data-table--single-line`]:this.singleLine,[`${e}-data-table--single-column`]:this.singleColumn,[`${e}-data-table--loading`]:this.loading,[`${e}-data-table--flex-height`]:this.flexHeight}],style:this.cssVars},g("div",{class:`${e}-data-table-wrapper`},g(iU,{ref:"mainTableInstRef"})),this.mergedShowPagination?g("div",{class:`${e}-data-table__pagination`},g(GV,Object.assign({theme:this.mergedTheme.peers.Pagination,themeOverrides:this.mergedTheme.peerOverrides.Pagination,disabled:this.loading},this.mergedPagination))):null,g(fn,{name:"fade-in-scale-up-transition"},{default:()=>this.loading?g("div",{class:`${e}-data-table-loading-wrapper`},An(o.loading,()=>[g(Jr,Object.assign({clsPrefix:e,strokeWidth:20},r))])):null}))}}),bU={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"},yU=e=>{const{popoverColor:t,textColor2:n,primaryColor:o,hoverColor:r,dividerColor:i,opacityDisabled:a,boxShadow2:s,borderRadius:l,iconColor:c,iconColorDisabled:u}=e;return Object.assign(Object.assign({},bU),{panelColor:t,panelBoxShadow:s,panelDividerColor:i,itemTextColor:n,itemTextColorActive:o,itemColorHover:r,itemOpacityDisabled:a,itemBorderRadius:l,borderRadius:l,iconColor:c,iconColorDisabled:u})},xU={name:"TimePicker",common:Ne,peers:{Scrollbar:Vn,Button:Wn,Input:uo},self:yU},L2=xU,CU={itemSize:"24px",itemCellWidth:"38px",itemCellHeight:"32px",scrollItemWidth:"80px",scrollItemHeight:"40px",panelExtraFooterPadding:"8px 12px",panelActionPadding:"8px 12px",calendarTitlePadding:"0",calendarTitleHeight:"28px",arrowSize:"14px",panelHeaderPadding:"8px 12px",calendarDaysHeight:"32px",calendarTitleGridTempateColumns:"28px 28px 1fr 28px 28px",calendarLeftPaddingDate:"6px 12px 4px 12px",calendarLeftPaddingDatetime:"4px 12px",calendarLeftPaddingDaterange:"6px 12px 4px 12px",calendarLeftPaddingDatetimerange:"4px 12px",calendarLeftPaddingMonth:"0",calendarLeftPaddingYear:"0",calendarLeftPaddingQuarter:"0",calendarLeftPaddingMonthrange:"0",calendarLeftPaddingQuarterrange:"0",calendarLeftPaddingYearrange:"0",calendarLeftPaddingWeek:"6px 12px 4px 12px",calendarRightPaddingDate:"6px 12px 4px 12px",calendarRightPaddingDatetime:"4px 12px",calendarRightPaddingDaterange:"6px 12px 4px 12px",calendarRightPaddingDatetimerange:"4px 12px",calendarRightPaddingMonth:"0",calendarRightPaddingYear:"0",calendarRightPaddingQuarter:"0",calendarRightPaddingMonthrange:"0",calendarRightPaddingQuarterrange:"0",calendarRightPaddingYearrange:"0",calendarRightPaddingWeek:"0"},wU=e=>{const{hoverColor:t,fontSize:n,textColor2:o,textColorDisabled:r,popoverColor:i,primaryColor:a,borderRadiusSmall:s,iconColor:l,iconColorDisabled:c,textColor1:u,dividerColor:d,boxShadow2:f,borderRadius:p,fontWeightStrong:h}=e;return Object.assign(Object.assign({},CU),{itemFontSize:n,calendarDaysFontSize:n,calendarTitleFontSize:n,itemTextColor:o,itemTextColorDisabled:r,itemTextColorActive:i,itemTextColorCurrent:a,itemColorIncluded:Me(a,{alpha:.1}),itemColorHover:t,itemColorDisabled:t,itemColorActive:a,itemBorderRadius:s,panelColor:i,panelTextColor:o,arrowColor:l,calendarTitleTextColor:u,calendarTitleColorHover:t,calendarDaysTextColor:o,panelHeaderDividerColor:d,calendarDaysDividerColor:d,calendarDividerColor:d,panelActionDividerColor:d,panelBoxShadow:f,panelBorderRadius:p,calendarTitleFontWeight:h,scrollItemBorderRadius:p,iconColor:l,iconColorDisabled:c})},_U={name:"DatePicker",common:Ne,peers:{Input:uo,Button:Wn,TimePicker:L2,Scrollbar:Vn},self(e){const{popoverColor:t,hoverColor:n,primaryColor:o}=e,r=wU(e);return r.itemColorDisabled=et(t,n),r.itemColorIncluded=Me(o,{alpha:.15}),r.itemColorHover=et(t,n),r}},SU=_U,kU={thPaddingBorderedSmall:"8px 12px",thPaddingBorderedMedium:"12px 16px",thPaddingBorderedLarge:"16px 24px",thPaddingSmall:"0",thPaddingMedium:"0",thPaddingLarge:"0",tdPaddingBorderedSmall:"8px 12px",tdPaddingBorderedMedium:"12px 16px",tdPaddingBorderedLarge:"16px 24px",tdPaddingSmall:"0 0 8px 0",tdPaddingMedium:"0 0 12px 0",tdPaddingLarge:"0 0 16px 0"},PU=e=>{const{tableHeaderColor:t,textColor2:n,textColor1:o,cardColor:r,modalColor:i,popoverColor:a,dividerColor:s,borderRadius:l,fontWeightStrong:c,lineHeight:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:p}=e;return Object.assign(Object.assign({},kU),{lineHeight:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:p,titleTextColor:o,thColor:et(r,t),thColorModal:et(i,t),thColorPopover:et(a,t),thTextColor:o,thFontWeight:c,tdTextColor:n,tdColor:r,tdColorModal:i,tdColorPopover:a,borderColor:et(r,s),borderColorModal:et(i,s),borderColorPopover:et(a,s),borderRadius:l})},TU={name:"Descriptions",common:Ne,self:PU},RU=TU,EU={titleFontSize:"18px",padding:"16px 28px 20px 28px",iconSize:"28px",actionSpace:"12px",contentMargin:"8px 0 16px 0",iconMargin:"0 4px 0 0",iconMarginIconTop:"4px 0 8px 0",closeSize:"22px",closeIconSize:"18px",closeMargin:"20px 26px 0 0",closeMarginIconTop:"10px 16px 0 0"},F2=e=>{const{textColor1:t,textColor2:n,modalColor:o,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,infoColor:c,successColor:u,warningColor:d,errorColor:f,primaryColor:p,dividerColor:h,borderRadius:m,fontWeightStrong:v,lineHeight:b,fontSize:w}=e;return Object.assign(Object.assign({},EU),{fontSize:w,lineHeight:b,border:`1px solid ${h}`,titleTextColor:t,textColor:n,color:o,closeColorHover:s,closeColorPressed:l,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeBorderRadius:m,iconColor:p,iconColorInfo:c,iconColorSuccess:u,iconColorWarning:d,iconColorError:f,borderRadius:m,titleFontWeight:v})},$U={name:"Dialog",common:bt,peers:{Button:Au},self:F2},B2=$U,AU={name:"Dialog",common:Ne,peers:{Button:Wn},self:F2},N2=AU,Du={icon:Function,type:{type:String,default:"default"},title:[String,Function],closable:{type:Boolean,default:!0},negativeText:String,positiveText:String,positiveButtonProps:Object,negativeButtonProps:Object,content:[String,Function],action:Function,showIcon:{type:Boolean,default:!0},loading:Boolean,bordered:Boolean,iconPlacement:String,onPositiveClick:Function,onNegativeClick:Function,onClose:Function},H2=Yr(Du),IU=q([z("dialog",` --n-icon-margin: var(--n-icon-margin-top) var(--n-icon-margin-right) var(--n-icon-margin-bottom) var(--n-icon-margin-left); word-break: break-word; line-height: var(--n-line-height); @@ -2488,7 +2505,7 @@ ${t} `,[Z("last","margin-bottom: 0;")]),V("action",` display: flex; justify-content: flex-end; - `,[U("> *:not(:last-child)",` + `,[q("> *:not(:last-child)",` margin-right: var(--n-action-space); `)]),V("icon",` font-size: var(--n-icon-size); @@ -2503,13 +2520,13 @@ ${t} `),z("dialog-icon-container",` display: flex; justify-content: center; - `)]),nl(z("dialog",` + `)]),rl(z("dialog",` width: 446px; max-width: calc(100vw - 32px); - `)),z("dialog",[NC(` + `)),z("dialog",[XC(` width: 446px; max-width: calc(100vw - 32px); - `)])]),kU={default:()=>v(jr,null),info:()=>v(jr,null),success:()=>v(Bi,null),warning:()=>v(Ni,null),error:()=>v(Fi,null)},M2=me({name:"Dialog",alias:["NimbusConfirmCard","Confirm"],props:Object.assign(Object.assign({},Be.props),Du),setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=it(e),i=pn("Dialog",r,n),a=L(()=>{var p,h;const{iconPlacement:g}=e;return g||((h=(p=t==null?void 0:t.value)===null||p===void 0?void 0:p.Dialog)===null||h===void 0?void 0:h.iconPlacement)||"left"});function s(p){const{onPositiveClick:h}=e;h&&h(p)}function l(p){const{onNegativeClick:h}=e;h&&h(p)}function c(){const{onClose:p}=e;p&&p()}const u=Be("Dialog","-dialog",SU,A2,e,n),d=L(()=>{const{type:p}=e,h=a.value,{common:{cubicBezierEaseInOut:g},self:{fontSize:b,lineHeight:m,border:x,titleTextColor:S,textColor:_,color:w,closeBorderRadius:C,closeColorHover:y,closeColorPressed:k,closeIconColor:R,closeIconColorHover:$,closeIconColorPressed:I,closeIconSize:A,borderRadius:K,titleFontWeight:B,titleFontSize:M,padding:D,iconSize:Y,actionSpace:Q,contentMargin:ue,closeSize:le,[h==="top"?"iconMarginIconTop":"iconMargin"]:N,[h==="top"?"closeMarginIconTop":"closeMargin"]:E,[ke("iconColor",p)]:O}}=u.value,q=yo(N);return{"--n-font-size":b,"--n-icon-color":O,"--n-bezier":g,"--n-close-margin":E,"--n-icon-margin-top":q.top,"--n-icon-margin-right":q.right,"--n-icon-margin-bottom":q.bottom,"--n-icon-margin-left":q.left,"--n-icon-size":Y,"--n-close-size":le,"--n-close-icon-size":A,"--n-close-border-radius":C,"--n-close-color-hover":y,"--n-close-color-pressed":k,"--n-close-icon-color":R,"--n-close-icon-color-hover":$,"--n-close-icon-color-pressed":I,"--n-color":w,"--n-text-color":_,"--n-border-radius":K,"--n-padding":D,"--n-line-height":m,"--n-border":x,"--n-content-margin":ue,"--n-title-font-size":M,"--n-title-font-weight":B,"--n-title-text-color":S,"--n-action-space":Q}}),f=o?kt("dialog",L(()=>`${e.type[0]}${a.value[0]}`),d,e):void 0;return{mergedClsPrefix:n,rtlEnabled:i,mergedIconPlacement:a,mergedTheme:u,handlePositiveClick:s,handleNegativeClick:l,handleCloseClick:c,cssVars:o?void 0:d,themeClass:f==null?void 0:f.themeClass,onRender:f==null?void 0:f.onRender}},render(){var e;const{bordered:t,mergedIconPlacement:n,cssVars:o,closable:r,showIcon:i,title:a,content:s,action:l,negativeText:c,positiveText:u,positiveButtonProps:d,negativeButtonProps:f,handlePositiveClick:p,handleNegativeClick:h,mergedTheme:g,loading:b,type:m,mergedClsPrefix:x}=this;(e=this.onRender)===null||e===void 0||e.call(this);const S=i?v(Ut,{clsPrefix:x,class:`${x}-dialog__icon`},{default:()=>Et(this.$slots.icon,w=>w||(this.icon?Wt(this.icon):kU[this.type]()))}):null,_=Et(this.$slots.action,w=>w||u||c||l?v("div",{class:`${x}-dialog__action`},w||(l?[Wt(l)]:[this.negativeText&&v($t,Object.assign({theme:g.peers.Button,themeOverrides:g.peerOverrides.Button,ghost:!0,size:"small",onClick:h},f),{default:()=>Wt(this.negativeText)}),this.positiveText&&v($t,Object.assign({theme:g.peers.Button,themeOverrides:g.peerOverrides.Button,size:"small",type:m==="default"?"primary":m,disabled:b,loading:b,onClick:p},d),{default:()=>Wt(this.positiveText)})])):null);return v("div",{class:[`${x}-dialog`,this.themeClass,this.closable&&`${x}-dialog--closable`,`${x}-dialog--icon-${n}`,t&&`${x}-dialog--bordered`,this.rtlEnabled&&`${x}-dialog--rtl`],style:o,role:"dialog"},r?Et(this.$slots.close,w=>{const C=[`${x}-dialog__close`,this.rtlEnabled&&`${x}-dialog--rtl`];return w?v("div",{class:C},w):v(ji,{clsPrefix:x,class:C,onClick:this.handleCloseClick})}):null,i&&n==="top"?v("div",{class:`${x}-dialog-icon-container`},S):null,v("div",{class:`${x}-dialog__title`},i&&n==="left"?S:null,An(this.$slots.header,()=>[Wt(a)])),v("div",{class:[`${x}-dialog__content`,_?"":`${x}-dialog__content--last`]},An(this.$slots.default,()=>[Wt(s)])),_)}}),z2="n-dialog-provider",D2="n-dialog-api",PU="n-dialog-reactive-list",L2=e=>{const{modalColor:t,textColor2:n,boxShadow3:o}=e;return{color:t,textColor:n,boxShadow:o}},TU={name:"Modal",common:bt,peers:{Scrollbar:Wi,Dialog:A2,Card:B_},self:L2},RU=TU,$U={name:"Modal",common:He,peers:{Scrollbar:jn,Dialog:I2,Card:N_},self:L2},EU=$U,pm=Object.assign(Object.assign({},om),Du),AU=qr(pm),IU=me({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},pm),{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=F(null),n=F(null),o=F(e.show),r=F(null),i=F(null);ht(je(e,"show"),b=>{b&&(o.value=!0)}),uw(L(()=>e.blockScroll&&o.value));const a=We(KC);function s(){if(a.transformOriginRef.value==="center")return"";const{value:b}=r,{value:m}=i;if(b===null||m===null)return"";if(n.value){const x=n.value.containerScrollTop;return`${b}px ${m+x}px`}return""}function l(b){if(a.transformOriginRef.value==="center")return;const m=a.getMousePosition();if(!m||!n.value)return;const x=n.value.containerScrollTop,{offsetLeft:S,offsetTop:_}=b;if(m){const w=m.y,C=m.x;r.value=-(S-C),i.value=-(_-w-x)}b.style.transformOrigin=s()}function c(b){jt(()=>{l(b)})}function u(b){b.style.transformOrigin=s(),e.onBeforeLeave()}function d(){o.value=!1,r.value=null,i.value=null,e.onAfterLeave()}function f(){const{onClose:b}=e;b&&b()}function p(){e.onNegativeClick()}function h(){e.onPositiveClick()}const g=F(null);return ht(g,b=>{b&&jt(()=>{const m=b.el;m&&t.value!==m&&(t.value=m)})}),lt(ol,t),lt(rl,null),lt(Na,null),{mergedTheme:a.mergedThemeRef,appear:a.appearRef,isMounted:a.isMountedRef,mergedClsPrefix:a.mergedClsPrefixRef,bodyRef:t,scrollbarRef:n,displayed:o,childNodeRef:g,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=th(e),!s){sr("modal","default slot is empty");return}s=ao(s),s.props=Dn({class:`${a}-modal`},t,s.props||{})}return this.displayDirective==="show"||this.displayed||this.show?Cn(v("div",{role:"none",class:`${a}-modal-body-wrapper`},v(ko,{ref:"scrollbarRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:`${a}-modal-scroll-content`},{default:()=>{var l;return[(l=this.renderMask)===null||l===void 0?void 0:l.call(this),v(Dp,{disabled:!this.trapFocus,active:this.show,onEsc:this.onEsc,autoFocus:this.autoFocus},{default:()=>{var c;return v(hn,{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=[[Jn,this.show]],{onClickoutside:d}=this;return d&&u.push([Ta,this.onClickoutside,void 0,{capture:!0}]),Cn(this.preset==="confirm"||this.preset==="dialog"?v(M2,Object.assign({},this.$attrs,{class:[`${a}-modal`,this.$attrs.class],ref:"bodyRef",theme:this.mergedTheme.peers.Dialog,themeOverrides:this.mergedTheme.peerOverrides.Dialog},Xn(this.$props,O2),{"aria-modal":"true"}),e):this.preset==="card"?v(Wn,Object.assign({},this.$attrs,{ref:"bodyRef",class:[`${a}-modal`,this.$attrs.class],theme:this.mergedTheme.peers.Card,themeOverrides:this.mergedTheme.peerOverrides.Card},Xn(this.$props,Ej),{"aria-modal":"true",role:"dialog"}),e):this.childNodeRef=s,u)}})}})]}})),[[Jn,this.displayDirective==="if"||this.displayed||this.show]]):null}}),OU=U([z("modal-container",` + `)])]),OU={default:()=>g(jr,null),info:()=>g(jr,null),success:()=>g(Fi,null),warning:()=>g(Bi,null),error:()=>g(Li,null)},j2=ge({name:"Dialog",alias:["NimbusConfirmCard","Confirm"],props:Object.assign(Object.assign({},Be.props),Du),setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=pn("Dialog",r,n),a=L(()=>{var p,h;const{iconPlacement:m}=e;return m||((h=(p=t==null?void 0:t.value)===null||p===void 0?void 0:p.Dialog)===null||h===void 0?void 0:h.iconPlacement)||"left"});function s(p){const{onPositiveClick:h}=e;h&&h(p)}function l(p){const{onNegativeClick:h}=e;h&&h(p)}function c(){const{onClose:p}=e;p&&p()}const u=Be("Dialog","-dialog",IU,B2,e,n),d=L(()=>{const{type:p}=e,h=a.value,{common:{cubicBezierEaseInOut:m},self:{fontSize:v,lineHeight:b,border:w,titleTextColor:C,textColor:S,color:_,closeBorderRadius:x,closeColorHover:y,closeColorPressed:k,closeIconColor:P,closeIconColorHover:T,closeIconColorPressed:$,closeIconSize:R,borderRadius:K,titleFontWeight:H,titleFontSize:D,padding:M,iconSize:Y,actionSpace:Q,contentMargin:de,closeSize:he,[h==="top"?"iconMarginIconTop":"iconMargin"]:B,[h==="top"?"closeMarginIconTop":"closeMargin"]:E,[Te("iconColor",p)]:A}}=u.value,G=_o(B);return{"--n-font-size":v,"--n-icon-color":A,"--n-bezier":m,"--n-close-margin":E,"--n-icon-margin-top":G.top,"--n-icon-margin-right":G.right,"--n-icon-margin-bottom":G.bottom,"--n-icon-margin-left":G.left,"--n-icon-size":Y,"--n-close-size":he,"--n-close-icon-size":R,"--n-close-border-radius":x,"--n-close-color-hover":y,"--n-close-color-pressed":k,"--n-close-icon-color":P,"--n-close-icon-color-hover":T,"--n-close-icon-color-pressed":$,"--n-color":_,"--n-text-color":S,"--n-border-radius":K,"--n-padding":M,"--n-line-height":b,"--n-border":w,"--n-content-margin":de,"--n-title-font-size":D,"--n-title-font-weight":H,"--n-title-text-color":C,"--n-action-space":Q}}),f=o?kt("dialog",L(()=>`${e.type[0]}${a.value[0]}`),d,e):void 0;return{mergedClsPrefix:n,rtlEnabled:i,mergedIconPlacement:a,mergedTheme:u,handlePositiveClick:s,handleNegativeClick:l,handleCloseClick:c,cssVars:o?void 0:d,themeClass:f==null?void 0:f.themeClass,onRender:f==null?void 0:f.onRender}},render(){var e;const{bordered:t,mergedIconPlacement:n,cssVars:o,closable:r,showIcon:i,title:a,content:s,action:l,negativeText:c,positiveText:u,positiveButtonProps:d,negativeButtonProps:f,handlePositiveClick:p,handleNegativeClick:h,mergedTheme:m,loading:v,type:b,mergedClsPrefix:w}=this;(e=this.onRender)===null||e===void 0||e.call(this);const C=i?g(Ut,{clsPrefix:w,class:`${w}-dialog__icon`},{default:()=>Et(this.$slots.icon,_=>_||(this.icon?Wt(this.icon):OU[this.type]()))}):null,S=Et(this.$slots.action,_=>_||u||c||l?g("div",{class:`${w}-dialog__action`},_||(l?[Wt(l)]:[this.negativeText&&g(zt,Object.assign({theme:m.peers.Button,themeOverrides:m.peerOverrides.Button,ghost:!0,size:"small",onClick:h},f),{default:()=>Wt(this.negativeText)}),this.positiveText&&g(zt,Object.assign({theme:m.peers.Button,themeOverrides:m.peerOverrides.Button,size:"small",type:b==="default"?"primary":b,disabled:v,loading:v,onClick:p},d),{default:()=>Wt(this.positiveText)})])):null);return g("div",{class:[`${w}-dialog`,this.themeClass,this.closable&&`${w}-dialog--closable`,`${w}-dialog--icon-${n}`,t&&`${w}-dialog--bordered`,this.rtlEnabled&&`${w}-dialog--rtl`],style:o,role:"dialog"},r?Et(this.$slots.close,_=>{const x=[`${w}-dialog__close`,this.rtlEnabled&&`${w}-dialog--rtl`];return _?g("div",{class:x},_):g(Hi,{clsPrefix:w,class:x,onClick:this.handleCloseClick})}):null,i&&n==="top"?g("div",{class:`${w}-dialog-icon-container`},C):null,g("div",{class:`${w}-dialog__title`},i&&n==="left"?C:null,An(this.$slots.header,()=>[Wt(a)])),g("div",{class:[`${w}-dialog__content`,S?"":`${w}-dialog__content--last`]},An(this.$slots.default,()=>[Wt(s)])),S)}}),V2="n-dialog-provider",W2="n-dialog-api",MU="n-dialog-reactive-list",U2=e=>{const{modalColor:t,textColor2:n,boxShadow3:o}=e;return{color:t,textColor:n,boxShadow:o}},zU={name:"Modal",common:bt,peers:{Scrollbar:Vi,Dialog:B2,Card:K_},self:U2},DU=zU,LU={name:"Modal",common:Ne,peers:{Scrollbar:Vn,Dialog:N2,Card:G_},self:U2},FU=LU,vm=Object.assign(Object.assign({},rm),Du),BU=Yr(vm),NU=ge({name:"ModalBody",inheritAttrs:!1,props:Object.assign(Object.assign({show:{type:Boolean,required:!0},preset:String,displayDirective:{type:String,required:!0},trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},blockScroll:Boolean},vm),{renderMask:Function,onClickoutside:Function,onBeforeLeave:{type:Function,required:!0},onAfterLeave:{type:Function,required:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0},onClose:{type:Function,required:!0},onAfterEnter:Function,onEsc:Function}),setup(e){const t=W(null),n=W(null),o=W(e.show),r=W(null),i=W(null);ft(Ve(e,"show"),v=>{v&&(o.value=!0)}),bw(L(()=>e.blockScroll&&o.value));const a=We(tw);function s(){if(a.transformOriginRef.value==="center")return"";const{value:v}=r,{value:b}=i;if(v===null||b===null)return"";if(n.value){const w=n.value.containerScrollTop;return`${v}px ${b+w}px`}return""}function l(v){if(a.transformOriginRef.value==="center")return;const b=a.getMousePosition();if(!b||!n.value)return;const w=n.value.containerScrollTop,{offsetLeft:C,offsetTop:S}=v;if(b){const _=b.y,x=b.x;r.value=-(C-x),i.value=-(S-_-w)}v.style.transformOrigin=s()}function c(v){Ht(()=>{l(v)})}function u(v){v.style.transformOrigin=s(),e.onBeforeLeave()}function d(){o.value=!1,r.value=null,i.value=null,e.onAfterLeave()}function f(){const{onClose:v}=e;v&&v()}function p(){e.onNegativeClick()}function h(){e.onPositiveClick()}const m=W(null);return ft(m,v=>{v&&Ht(()=>{const b=v.el;b&&t.value!==b&&(t.value=b)})}),at(il,t),at(al,null),at(La,null),{mergedTheme:a.mergedThemeRef,appear:a.appearRef,isMounted:a.isMountedRef,mergedClsPrefix:a.mergedClsPrefixRef,bodyRef:t,scrollbarRef:n,displayed:o,childNodeRef:m,handlePositiveClick:h,handleNegativeClick:p,handleCloseClick:f,handleAfterLeave:d,handleBeforeLeave:u,handleEnter:c}},render(){const{$slots:e,$attrs:t,handleEnter:n,handleAfterLeave:o,handleBeforeLeave:r,preset:i,mergedClsPrefix:a}=this;let s=null;if(!i){if(s=oh(e),!s){ar("modal","default slot is empty");return}s=ao(s),s.props=Ln({class:`${a}-modal`},t,s.props||{})}return this.displayDirective==="show"||this.displayed||this.show?dn(g("div",{role:"none",class:`${a}-modal-body-wrapper`},g(To,{ref:"scrollbarRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:`${a}-modal-scroll-content`},{default:()=>{var l;return[(l=this.renderMask)===null||l===void 0?void 0:l.call(this),g(Dp,{disabled:!this.trapFocus,active:this.show,onEsc:this.onEsc,autoFocus:this.autoFocus},{default:()=>{var c;return g(fn,{name:"fade-in-scale-up-transition",appear:(c=this.appear)!==null&&c!==void 0?c:this.isMounted,onEnter:n,onAfterEnter:this.onAfterEnter,onAfterLeave:o,onBeforeLeave:r},{default:()=>{const u=[[Mn,this.show]],{onClickoutside:d}=this;return d&&u.push([Sa,this.onClickoutside,void 0,{capture:!0}]),dn(this.preset==="confirm"||this.preset==="dialog"?g(j2,Object.assign({},this.$attrs,{class:[`${a}-modal`,this.$attrs.class],ref:"bodyRef",theme:this.mergedTheme.peers.Dialog,themeOverrides:this.mergedTheme.peerOverrides.Dialog},Xn(this.$props,H2),{"aria-modal":"true"}),e):this.preset==="card"?g(fo,Object.assign({},this.$attrs,{ref:"bodyRef",class:[`${a}-modal`,this.$attrs.class],theme:this.mergedTheme.peers.Card,themeOverrides:this.mergedTheme.peerOverrides.Card},Xn(this.$props,Fj),{"aria-modal":"true",role:"dialog"}),e):this.childNodeRef=s,u)}})}})]}})),[[Mn,this.displayDirective==="if"||this.displayed||this.show]]):null}}),HU=q([z("modal-container",` position: fixed; left: 0; top: 0; @@ -2523,7 +2540,7 @@ ${t} top: 0; bottom: 0; background-color: rgba(0, 0, 0, .4); - `,[sl({enterDuration:".25s",leaveDuration:".25s",enterCubicBezier:"var(--n-bezier-ease-out)",leaveCubicBezier:"var(--n-bezier-ease-out)"})]),z("modal-body-wrapper",` + `,[cl({enterDuration:".25s",leaveDuration:".25s",enterCubicBezier:"var(--n-bezier-ease-out)",leaveCubicBezier:"var(--n-bezier-ease-out)"})]),z("modal-body-wrapper",` position: fixed; left: 0; right: 0; @@ -2540,7 +2557,7 @@ ${t} color: var(--n-text-color); margin: auto; box-shadow: var(--n-box-shadow); - `,[Va({duration:".25s",enterScale:".5"})])]),MU=Object.assign(Object.assign(Object.assign(Object.assign({},Be.props),{show:Boolean,unstableShowMask:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0},preset:String,to:[String,Object],displayDirective:{type:String,default:"if"},transformOrigin:{type:String,default:"mouse"},zIndex:Number,autoFocus:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0}}),pm),{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}),Zr=me({name:"Modal",inheritAttrs:!1,props:MU,setup(e){const t=F(null),{mergedClsPrefixRef:n,namespaceRef:o,inlineThemeDisabled:r}=it(e),i=Be("Modal","-modal",OU,RU,e,n),a=UC(64),s=WC(),l=Gr(),c=e.internalDialog?We(z2,null):null,u=dw();function d(w){const{onUpdateShow:C,"onUpdate:show":y,onHide:k}=e;C&&Re(C,w),y&&Re(y,w),k&&!w&&k(w)}function f(){const{onClose:w}=e;w?Promise.resolve(w()).then(C=>{C!==!1&&d(!1)}):d(!1)}function p(){const{onPositiveClick:w}=e;w?Promise.resolve(w()).then(C=>{C!==!1&&d(!1)}):d(!1)}function h(){const{onNegativeClick:w}=e;w?Promise.resolve(w()).then(C=>{C!==!1&&d(!1)}):d(!1)}function g(){const{onBeforeLeave:w,onBeforeHide:C}=e;w&&Re(w),C&&C()}function b(){const{onAfterLeave:w,onAfterHide:C}=e;w&&Re(w),C&&C()}function m(w){var C;const{onMaskClick:y}=e;y&&y(w),e.maskClosable&&!((C=t.value)===null||C===void 0)&&C.contains(wi(w))&&d(!1)}function x(w){var C;(C=e.onEsc)===null||C===void 0||C.call(e),e.show&&e.closeOnEsc&&jC(w)&&!u.value&&d(!1)}lt(KC,{getMousePosition:()=>{if(c){const{clickedRef:w,clickPositionRef:C}=c;if(w.value&&C.value)return C.value}return a.value?s.value:null},mergedClsPrefixRef:n,mergedThemeRef:i,isMountedRef:l,appearRef:je(e,"internalAppear"),transformOriginRef:je(e,"transformOrigin")});const S=L(()=>{const{common:{cubicBezierEaseOut:w},self:{boxShadow:C,color:y,textColor:k}}=i.value;return{"--n-bezier-ease-out":w,"--n-box-shadow":C,"--n-color":y,"--n-text-color":k}}),_=r?kt("theme-class",void 0,S,e):void 0;return{mergedClsPrefix:n,namespace:o,isMounted:l,containerRef:t,presetProps:L(()=>Xn(e,AU)),handleEsc:x,handleAfterLeave:b,handleClickoutside:m,handleBeforeLeave:g,doUpdateShow:d,handleNegativeClick:h,handlePositiveClick:p,handleCloseClick:f,cssVars:r?void 0:S,themeClass:_==null?void 0:_.themeClass,onRender:_==null?void 0:_.onRender}},render(){const{mergedClsPrefix:e}=this;return v(wu,{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(v("div",{role:"none",ref:"containerRef",class:[`${e}-modal-container`,this.themeClass,this.namespace],style:this.cssVars},v(IU,Object.assign({style:this.overlayStyle},this.$attrs,{ref:"bodyWrapper",displayDirective:this.displayDirective,show:this.show,preset:this.preset,autoFocus:this.autoFocus,trapFocus:this.trapFocus,blockScroll:this.blockScroll},this.presetProps,{onEsc:this.handleEsc,onClose:this.handleCloseClick,onNegativeClick:this.handleNegativeClick,onPositiveClick:this.handlePositiveClick,onBeforeLeave:this.handleBeforeLeave,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave,onClickoutside:n?void 0:this.handleClickoutside,renderMask:n?()=>{var o;return v(hn,{name:"fade-in-transition",key:"mask",appear:(o=this.internalAppear)!==null&&o!==void 0?o:this.isMounted},{default:()=>this.show?v("div",{"aria-hidden":!0,ref:"containerRef",class:`${e}-modal-mask`,onClick:this.handleClickoutside}):null})}:void 0}),this.$slots)),[[Cu,{zIndex:this.zIndex,enabled:this.show}]])}})}}),zU=Object.assign(Object.assign({},Du),{onAfterEnter:Function,onAfterLeave:Function,transformOrigin:String,blockScroll:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},internalStyle:[String,Object],maskClosable:{type:Boolean,default:!0},onPositiveClick:Function,onNegativeClick:Function,onClose:Function,onMaskClick:Function}),DU=me({name:"DialogEnvironment",props:Object.assign(Object.assign({},zU),{internalKey:{type:String,required:!0},to:[String,Object],onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=F(!0);function n(){const{onInternalAfterLeave:u,internalKey:d,onAfterLeave:f}=e;u&&u(d),f&&f()}function o(u){const{onPositiveClick:d}=e;d?Promise.resolve(d(u)).then(f=>{f!==!1&&l()}):l()}function r(u){const{onNegativeClick:d}=e;d?Promise.resolve(d(u)).then(f=>{f!==!1&&l()}):l()}function i(){const{onClose:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function a(u){const{onMaskClick:d,maskClosable:f}=e;d&&(d(u),f&&l())}function s(){const{onEsc:u}=e;u&&u()}function l(){t.value=!1}function c(u){t.value=u}return{show:t,hide:l,handleUpdateShow:c,handleAfterLeave:n,handleCloseClick:i,handleNegativeClick:r,handlePositiveClick:o,handleMaskClick:a,handleEsc:s}},render(){const{handlePositiveClick:e,handleUpdateShow:t,handleNegativeClick:n,handleCloseClick:o,handleAfterLeave:r,handleMaskClick:i,handleEsc:a,to:s,maskClosable:l,show:c}=this;return v(Zr,{show:c,onUpdateShow:t,onMaskClick:i,onEsc:a,to:s,maskClosable:l,onAfterEnter:this.onAfterEnter,onAfterLeave:r,closeOnEsc:this.closeOnEsc,blockScroll:this.blockScroll,autoFocus:this.autoFocus,transformOrigin:this.transformOrigin,internalAppear:!0,internalDialog:!0},{default:()=>v(M2,Object.assign({},Xn(this.$props,O2),{style:this.internalStyle,onClose:o,onNegativeClick:n,onPositiveClick:e}))})}}),LU={injectionKey:String,to:[String,Object]},FU=me({name:"DialogProvider",props:LU,setup(){const e=F([]),t={};function n(s={}){const l=Ii(),c=xo(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(D2,a),lt(z2,{clickedRef:UC(64),clickPositionRef:WC()}),lt(PU,e),Object.assign(Object.assign({},a),{dialogList:e,dialogInstRefs:t,handleAfterLeave:r})},render(){var e,t;return v(at,null,[this.dialogList.map(n=>v(DU,el(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 BU(){const e=We(D2,null);return e===null&&Kr("use-dialog","No outer founded."),e}const F2=e=>{const{textColor1:t,dividerColor:n,fontWeightStrong:o}=e;return{textColor:t,color:n,fontWeight:o}},NU={name:"Divider",common:bt,self:F2},HU=NU,jU={name:"Divider",common:He,self:F2},VU=jU,WU=z("divider",` + `,[Na({duration:".25s",enterScale:".5"})])]),q2=Object.assign(Object.assign(Object.assign(Object.assign({},Be.props),{show:Boolean,unstableShowMask:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0},preset:String,to:[String,Object],displayDirective:{type:String,default:"if"},transformOrigin:{type:String,default:"mouse"},zIndex:Number,autoFocus:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0}}),vm),{onEsc:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onBeforeLeave:Function,onAfterLeave:Function,onClose:Function,onPositiveClick:Function,onNegativeClick:Function,onMaskClick:Function,internalDialog:Boolean,internalModal:Boolean,internalAppear:{type:Boolean,default:void 0},overlayStyle:[String,Object],onBeforeHide:Function,onAfterHide:Function,onHide:Function}),Qr=ge({name:"Modal",inheritAttrs:!1,props:q2,setup(e){const t=W(null),{mergedClsPrefixRef:n,namespaceRef:o,inlineThemeDisabled:r}=st(e),i=Be("Modal","-modal",HU,DU,e,n),a=Rc(64),s=Tc(),l=Xr(),c=e.internalDialog?We(V2,null):null,u=e.internalModal?We(V6,null):null,d=yw();function f(x){const{onUpdateShow:y,"onUpdate:show":k,onHide:P}=e;y&&Ee(y,x),k&&Ee(k,x),P&&!x&&P(x)}function p(){const{onClose:x}=e;x?Promise.resolve(x()).then(y=>{y!==!1&&f(!1)}):f(!1)}function h(){const{onPositiveClick:x}=e;x?Promise.resolve(x()).then(y=>{y!==!1&&f(!1)}):f(!1)}function m(){const{onNegativeClick:x}=e;x?Promise.resolve(x()).then(y=>{y!==!1&&f(!1)}):f(!1)}function v(){const{onBeforeLeave:x,onBeforeHide:y}=e;x&&Ee(x),y&&y()}function b(){const{onAfterLeave:x,onAfterHide:y}=e;x&&Ee(x),y&&y()}function w(x){var y;const{onMaskClick:k}=e;k&&k(x),e.maskClosable&&!((y=t.value)===null||y===void 0)&&y.contains(ki(x))&&f(!1)}function C(x){var y;(y=e.onEsc)===null||y===void 0||y.call(e),e.show&&e.closeOnEsc&&JC(x)&&!d.value&&f(!1)}at(tw,{getMousePosition:()=>{const x=c||u;if(x){const{clickedRef:y,clickedPositionRef:k}=x;if(y.value&&k.value)return k.value}return a.value?s.value:null},mergedClsPrefixRef:n,mergedThemeRef:i,isMountedRef:l,appearRef:Ve(e,"internalAppear"),transformOriginRef:Ve(e,"transformOrigin")});const S=L(()=>{const{common:{cubicBezierEaseOut:x},self:{boxShadow:y,color:k,textColor:P}}=i.value;return{"--n-bezier-ease-out":x,"--n-box-shadow":y,"--n-color":k,"--n-text-color":P}}),_=r?kt("theme-class",void 0,S,e):void 0;return{mergedClsPrefix:n,namespace:o,isMounted:l,containerRef:t,presetProps:L(()=>Xn(e,BU)),handleEsc:C,handleAfterLeave:b,handleClickoutside:w,handleBeforeLeave:v,doUpdateShow:f,handleNegativeClick:m,handlePositiveClick:h,handleCloseClick:p,cssVars:r?void 0:S,themeClass:_==null?void 0:_.themeClass,onRender:_==null?void 0:_.onRender}},render(){const{mergedClsPrefix:e}=this;return g(Su,{to:this.to,show:this.show},{default:()=>{var t;(t=this.onRender)===null||t===void 0||t.call(this);const{unstableShowMask:n}=this;return dn(g("div",{role:"none",ref:"containerRef",class:[`${e}-modal-container`,this.themeClass,this.namespace],style:this.cssVars},g(NU,Object.assign({style:this.overlayStyle},this.$attrs,{ref:"bodyWrapper",displayDirective:this.displayDirective,show:this.show,preset:this.preset,autoFocus:this.autoFocus,trapFocus:this.trapFocus,blockScroll:this.blockScroll},this.presetProps,{onEsc:this.handleEsc,onClose:this.handleCloseClick,onNegativeClick:this.handleNegativeClick,onPositiveClick:this.handlePositiveClick,onBeforeLeave:this.handleBeforeLeave,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave,onClickoutside:n?void 0:this.handleClickoutside,renderMask:n?()=>{var o;return g(fn,{name:"fade-in-transition",key:"mask",appear:(o=this.internalAppear)!==null&&o!==void 0?o:this.isMounted},{default:()=>this.show?g("div",{"aria-hidden":!0,ref:"containerRef",class:`${e}-modal-mask`,onClick:this.handleClickoutside}):null})}:void 0}),this.$slots)),[[_u,{zIndex:this.zIndex,enabled:this.show}]])}})}}),jU=Object.assign(Object.assign({},Du),{onAfterEnter:Function,onAfterLeave:Function,transformOrigin:String,blockScroll:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},internalStyle:[String,Object],maskClosable:{type:Boolean,default:!0},onPositiveClick:Function,onNegativeClick:Function,onClose:Function,onMaskClick:Function}),VU=ge({name:"DialogEnvironment",props:Object.assign(Object.assign({},jU),{internalKey:{type:String,required:!0},to:[String,Object],onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=W(!0);function n(){const{onInternalAfterLeave:u,internalKey:d,onAfterLeave:f}=e;u&&u(d),f&&f()}function o(u){const{onPositiveClick:d}=e;d?Promise.resolve(d(u)).then(f=>{f!==!1&&l()}):l()}function r(u){const{onNegativeClick:d}=e;d?Promise.resolve(d(u)).then(f=>{f!==!1&&l()}):l()}function i(){const{onClose:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function a(u){const{onMaskClick:d,maskClosable:f}=e;d&&(d(u),f&&l())}function s(){const{onEsc:u}=e;u&&u()}function l(){t.value=!1}function c(u){t.value=u}return{show:t,hide:l,handleUpdateShow:c,handleAfterLeave:n,handleCloseClick:i,handleNegativeClick:r,handlePositiveClick:o,handleMaskClick:a,handleEsc:s}},render(){const{handlePositiveClick:e,handleUpdateShow:t,handleNegativeClick:n,handleCloseClick:o,handleAfterLeave:r,handleMaskClick:i,handleEsc:a,to:s,maskClosable:l,show:c}=this;return g(Qr,{show:c,onUpdateShow:t,onMaskClick:i,onEsc:a,to:s,maskClosable:l,onAfterEnter:this.onAfterEnter,onAfterLeave:r,closeOnEsc:this.closeOnEsc,blockScroll:this.blockScroll,autoFocus:this.autoFocus,transformOrigin:this.transformOrigin,internalAppear:!0,internalDialog:!0},{default:()=>g(j2,Object.assign({},Xn(this.$props,H2),{style:this.internalStyle,onClose:o,onNegativeClick:n,onPositiveClick:e}))})}}),WU={injectionKey:String,to:[String,Object]},UU=ge({name:"DialogProvider",props:WU,setup(){const e=W([]),t={};function n(s={}){const l=Gr(),c=Zn(Object.assign(Object.assign({},s),{key:l,destroy:()=>{t[`n-dialog-${l}`].hide()}}));return e.value.push(c),c}const o=["info","success","warning","error"].map(s=>l=>n(Object.assign(Object.assign({},l),{type:s})));function r(s){const{value:l}=e;l.splice(l.findIndex(c=>c.key===s),1)}function i(){Object.values(t).forEach(s=>{s.hide()})}const a={create:n,destroyAll:i,info:o[0],success:o[1],warning:o[2],error:o[3]};return at(W2,a),at(V2,{clickedRef:Rc(64),clickedPositionRef:Tc()}),at(MU,e),Object.assign(Object.assign({},a),{dialogList:e,dialogInstRefs:t,handleAfterLeave:r})},render(){var e,t;return g(rt,null,[this.dialogList.map(n=>g(VU,Da(n,["destroy","style"],{internalStyle:n.style,to:this.to,ref:o=>{o===null?delete this.dialogInstRefs[`n-dialog-${n.key}`]:this.dialogInstRefs[`n-dialog-${n.key}`]=o},internalKey:n.key,onInternalAfterLeave:this.handleAfterLeave}))),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)])}});function qU(){const e=We(W2,null);return e===null&&ur("use-dialog","No outer founded."),e}const K2=e=>{const{textColor1:t,dividerColor:n,fontWeightStrong:o}=e;return{textColor:t,color:n,fontWeight:o}},KU={name:"Divider",common:bt,self:K2},GU=KU,YU={name:"Divider",common:Ne,self:K2},XU=YU,ZU=z("divider",` position: relative; display: flex; width: 100%; @@ -2581,7 +2598,7 @@ ${t} height: 1px; width: 100%; margin: 0; - `),Tt("dashed",[V("line",{backgroundColor:"var(--n-color)"})]),Z("dashed",[V("line",{borderColor:"var(--n-color)"})]),Z("vertical",{backgroundColor:"var(--n-color)"})]),UU=Object.assign(Object.assign({},Be.props),{titlePlacement:{type:String,default:"center"},dashed:Boolean,vertical:Boolean}),qi=me({name:"Divider",props:UU,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=it(e),o=Be("Divider","-divider",WU,HU,e,t),r=L(()=>{const{common:{cubicBezierEaseInOut:a},self:{color:s,textColor:l,fontWeight:c}}=o.value;return{"--n-bezier":a,"--n-color":s,"--n-text-color":l,"--n-font-weight":c}}),i=n?kt("divider",void 0,r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$slots:t,titlePlacement:n,vertical:o,dashed:r,cssVars:i,mergedClsPrefix:a}=this;return(e=this.onRender)===null||e===void 0||e.call(this),v("div",{role:"separator",class:[`${a}-divider`,this.themeClass,{[`${a}-divider--vertical`]:o,[`${a}-divider--no-title`]:!t.default,[`${a}-divider--dashed`]:r,[`${a}-divider--title-position-${n}`]:t.default&&n}],style:i},o?null:v("div",{class:`${a}-divider__line ${a}-divider__line--left`}),!o&&t.default?v(at,null,v("div",{class:`${a}-divider__title`},this.$slots),v("div",{class:`${a}-divider__line ${a}-divider__line--right`})):null)}}),B2=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}},qU={name:"Drawer",common:bt,peers:{Scrollbar:Wi},self:B2},KU=qU,GU={name:"Drawer",common:He,peers:{Scrollbar:jn},self:B2},YU=GU,XU=me({name:"NDrawerContent",inheritAttrs:!1,props:{blockScroll:Boolean,show:{type:Boolean,default:void 0},displayDirective:{type:String,required:!0},placement:{type:String,required:!0},contentClass:String,contentStyle:[Object,String],nativeScrollbar:{type:Boolean,required:!0},scrollbarProps:Object,trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},showMask:{type:[Boolean,String],required:!0},maxWidth:Number,maxHeight:Number,minWidth:Number,minHeight:Number,resizable:Boolean,onClickoutside:Function,onAfterLeave:Function,onAfterEnter:Function,onEsc:Function},setup(e){const t=F(!!e.show),n=F(null),o=We(Ep);let r=0,i="",a=null;const s=F(!1),l=F(!1),c=L(()=>e.placement==="top"||e.placement==="bottom"),{mergedClsPrefixRef:u,mergedRtlRef:d}=it(e),f=pn("Drawer",d,u),p=R=>{l.value=!0,r=c.value?R.clientY:R.clientX,i=document.body.style.cursor,document.body.style.cursor=c.value?"ns-resize":"ew-resize",document.body.addEventListener("mousemove",_),document.body.addEventListener("mouseleave",C),document.body.addEventListener("mouseup",w)},h=()=>{a!==null&&(window.clearTimeout(a),a=null),l.value?s.value=!0:a=window.setTimeout(()=>{s.value=!0},300)},g=()=>{a!==null&&(window.clearTimeout(a),a=null),s.value=!1},{doUpdateHeight:b,doUpdateWidth:m}=o,x=R=>{const{maxWidth:$}=e;if($&&R>$)return $;const{minWidth:I}=e;return I&&R{const{maxHeight:$}=e;if($&&R>$)return $;const{minHeight:I}=e;return I&&R{var $,I;if(l.value)if(c.value){let A=(($=n.value)===null||$===void 0?void 0:$.offsetHeight)||0;const K=r-R.clientY;A+=e.placement==="bottom"?K:-K,A=S(A),b(A),r=R.clientY}else{let A=((I=n.value)===null||I===void 0?void 0:I.offsetWidth)||0;const K=r-R.clientX;A+=e.placement==="right"?K:-K,A=x(A),m(A),r=R.clientX}},w=()=>{l.value&&(r=0,l.value=!1,document.body.style.cursor=i,document.body.removeEventListener("mousemove",_),document.body.removeEventListener("mouseup",w),document.body.removeEventListener("mouseleave",C))},C=w;nn(()=>{e.show&&(t.value=!0)}),ht(()=>e.show,R=>{R||w()}),rn(()=>{w()});const y=L(()=>{const{show:R}=e,$=[[Jn,R]];return e.showMask||$.push([Ta,e.onClickoutside,void 0,{capture:!0}]),$});function k(){var R;t.value=!1,(R=e.onAfterLeave)===null||R===void 0||R.call(e)}return uw(L(()=>e.blockScroll&&t.value)),lt(rl,n),lt(Na,null),lt(ol,null),{bodyRef:n,rtlEnabled:f,mergedClsPrefix:o.mergedClsPrefixRef,isMounted:o.isMountedRef,mergedTheme:o.mergedThemeRef,displayed:t,transitionName:L(()=>({right:"slide-in-from-right-transition",left:"slide-in-from-left-transition",top:"slide-in-from-top-transition",bottom:"slide-in-from-bottom-transition"})[e.placement]),handleAfterLeave:k,bodyDirectives:y,handleMousedownResizeTrigger:p,handleMouseenterResizeTrigger:h,handleMouseleaveResizeTrigger:g,isDragging:l,isHoverOnResizeTrigger:s}},render(){const{$slots:e,mergedClsPrefix:t}=this;return this.displayDirective==="show"||this.displayed||this.show?Cn(v("div",{role:"none"},v(Dp,{disabled:!this.showMask||!this.trapFocus,active:this.show,autoFocus:this.autoFocus,onEsc:this.onEsc},{default:()=>v(hn,{name:this.transitionName,appear:this.isMounted,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave},{default:()=>Cn(v("div",Dn(this.$attrs,{role:"dialog",ref:"bodyRef","aria-modal":"true",class:[`${t}-drawer`,this.rtlEnabled&&`${t}-drawer--rtl`,`${t}-drawer--${this.placement}-placement`,this.isDragging&&`${t}-drawer--unselectable`,this.nativeScrollbar&&`${t}-drawer--native-scrollbar`]}),[this.resizable?v("div",{class:[`${t}-drawer__resize-trigger`,(this.isDragging||this.isHoverOnResizeTrigger)&&`${t}-drawer__resize-trigger--hover`],onMouseenter:this.handleMouseenterResizeTrigger,onMouseleave:this.handleMouseleaveResizeTrigger,onMousedown:this.handleMousedownResizeTrigger}):null,this.nativeScrollbar?v("div",{class:[`${t}-drawer-content-wrapper`,this.contentClass],style:this.contentStyle,role:"none"},e):v(ko,Object.assign({},this.scrollbarProps,{contentStyle:this.contentStyle,contentClass:[`${t}-drawer-content-wrapper`,this.contentClass],theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar}),e)]),this.bodyDirectives)})})),[[Jn,this.displayDirective==="if"||this.displayed||this.show]]):null}}),{cubicBezierEaseIn:ZU,cubicBezierEaseOut:JU}=co;function QU({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-right"}={}){return[U(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${ZU}`}),U(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${JU}`}),U(`&.${n}-transition-enter-to`,{transform:"translateX(0)"}),U(`&.${n}-transition-enter-from`,{transform:"translateX(100%)"}),U(`&.${n}-transition-leave-from`,{transform:"translateX(0)"}),U(`&.${n}-transition-leave-to`,{transform:"translateX(100%)"})]}const{cubicBezierEaseIn:eq,cubicBezierEaseOut:tq}=co;function nq({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-left"}={}){return[U(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${eq}`}),U(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${tq}`}),U(`&.${n}-transition-enter-to`,{transform:"translateX(0)"}),U(`&.${n}-transition-enter-from`,{transform:"translateX(-100%)"}),U(`&.${n}-transition-leave-from`,{transform:"translateX(0)"}),U(`&.${n}-transition-leave-to`,{transform:"translateX(-100%)"})]}const{cubicBezierEaseIn:oq,cubicBezierEaseOut:rq}=co;function iq({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-top"}={}){return[U(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${oq}`}),U(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${rq}`}),U(`&.${n}-transition-enter-to`,{transform:"translateY(0)"}),U(`&.${n}-transition-enter-from`,{transform:"translateY(-100%)"}),U(`&.${n}-transition-leave-from`,{transform:"translateY(0)"}),U(`&.${n}-transition-leave-to`,{transform:"translateY(-100%)"})]}const{cubicBezierEaseIn:aq,cubicBezierEaseOut:sq}=co;function lq({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-bottom"}={}){return[U(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${aq}`}),U(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${sq}`}),U(`&.${n}-transition-enter-to`,{transform:"translateY(0)"}),U(`&.${n}-transition-enter-from`,{transform:"translateY(100%)"}),U(`&.${n}-transition-leave-from`,{transform:"translateY(0)"}),U(`&.${n}-transition-leave-to`,{transform:"translateY(100%)"})]}const cq=U([z("drawer",` + `),Tt("dashed",[V("line",{backgroundColor:"var(--n-color)"})]),Z("dashed",[V("line",{borderColor:"var(--n-color)"})]),Z("vertical",{backgroundColor:"var(--n-color)"})]),JU=Object.assign(Object.assign({},Be.props),{titlePlacement:{type:String,default:"center"},dashed:Boolean,vertical:Boolean}),Ui=ge({name:"Divider",props:JU,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Divider","-divider",ZU,GU,e,t),r=L(()=>{const{common:{cubicBezierEaseInOut:a},self:{color:s,textColor:l,fontWeight:c}}=o.value;return{"--n-bezier":a,"--n-color":s,"--n-text-color":l,"--n-font-weight":c}}),i=n?kt("divider",void 0,r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$slots:t,titlePlacement:n,vertical:o,dashed:r,cssVars:i,mergedClsPrefix:a}=this;return(e=this.onRender)===null||e===void 0||e.call(this),g("div",{role:"separator",class:[`${a}-divider`,this.themeClass,{[`${a}-divider--vertical`]:o,[`${a}-divider--no-title`]:!t.default,[`${a}-divider--dashed`]:r,[`${a}-divider--title-position-${n}`]:t.default&&n}],style:i},o?null:g("div",{class:`${a}-divider__line ${a}-divider__line--left`}),!o&&t.default?g(rt,null,g("div",{class:`${a}-divider__title`},this.$slots),g("div",{class:`${a}-divider__line ${a}-divider__line--right`})):null)}}),G2=e=>{const{modalColor:t,textColor1:n,textColor2:o,boxShadow3:r,lineHeight:i,fontWeightStrong:a,dividerColor:s,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,borderRadius:p,primaryColorHover:h}=e;return{bodyPadding:"16px 24px",borderRadius:p,headerPadding:"16px 24px",footerPadding:"16px 24px",color:t,textColor:o,titleTextColor:n,titleFontSize:"18px",titleFontWeight:a,boxShadow:r,lineHeight:i,headerBorderBottom:`1px solid ${s}`,footerBorderTop:`1px solid ${s}`,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,closeSize:"22px",closeIconSize:"18px",closeColorHover:l,closeColorPressed:c,closeBorderRadius:p,resizableTriggerColorHover:h}},QU={name:"Drawer",common:bt,peers:{Scrollbar:Vi},self:G2},eq=QU,tq={name:"Drawer",common:Ne,peers:{Scrollbar:Vn},self:G2},nq=tq,oq=ge({name:"NDrawerContent",inheritAttrs:!1,props:{blockScroll:Boolean,show:{type:Boolean,default:void 0},displayDirective:{type:String,required:!0},placement:{type:String,required:!0},contentClass:String,contentStyle:[Object,String],nativeScrollbar:{type:Boolean,required:!0},scrollbarProps:Object,trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},showMask:{type:[Boolean,String],required:!0},maxWidth:Number,maxHeight:Number,minWidth:Number,minHeight:Number,resizable:Boolean,onClickoutside:Function,onAfterLeave:Function,onAfterEnter:Function,onEsc:Function},setup(e){const t=W(!!e.show),n=W(null),o=We($p);let r=0,i="",a=null;const s=W(!1),l=W(!1),c=L(()=>e.placement==="top"||e.placement==="bottom"),{mergedClsPrefixRef:u,mergedRtlRef:d}=st(e),f=pn("Drawer",d,u),p=P=>{l.value=!0,r=c.value?P.clientY:P.clientX,i=document.body.style.cursor,document.body.style.cursor=c.value?"ns-resize":"ew-resize",document.body.addEventListener("mousemove",S),document.body.addEventListener("mouseleave",x),document.body.addEventListener("mouseup",_)},h=()=>{a!==null&&(window.clearTimeout(a),a=null),l.value?s.value=!0:a=window.setTimeout(()=>{s.value=!0},300)},m=()=>{a!==null&&(window.clearTimeout(a),a=null),s.value=!1},{doUpdateHeight:v,doUpdateWidth:b}=o,w=P=>{const{maxWidth:T}=e;if(T&&P>T)return T;const{minWidth:$}=e;return $&&P<$?$:P},C=P=>{const{maxHeight:T}=e;if(T&&P>T)return T;const{minHeight:$}=e;return $&&P<$?$:P},S=P=>{var T,$;if(l.value)if(c.value){let R=((T=n.value)===null||T===void 0?void 0:T.offsetHeight)||0;const K=r-P.clientY;R+=e.placement==="bottom"?K:-K,R=C(R),v(R),r=P.clientY}else{let R=(($=n.value)===null||$===void 0?void 0:$.offsetWidth)||0;const K=r-P.clientX;R+=e.placement==="right"?K:-K,R=w(R),b(R),r=P.clientX}},_=()=>{l.value&&(r=0,l.value=!1,document.body.style.cursor=i,document.body.removeEventListener("mousemove",S),document.body.removeEventListener("mouseup",_),document.body.removeEventListener("mouseleave",x))},x=_;Yt(()=>{e.show&&(t.value=!0)}),ft(()=>e.show,P=>{P||_()}),rn(()=>{_()});const y=L(()=>{const{show:P}=e,T=[[Mn,P]];return e.showMask||T.push([Sa,e.onClickoutside,void 0,{capture:!0}]),T});function k(){var P;t.value=!1,(P=e.onAfterLeave)===null||P===void 0||P.call(e)}return bw(L(()=>e.blockScroll&&t.value)),at(al,n),at(La,null),at(il,null),{bodyRef:n,rtlEnabled:f,mergedClsPrefix:o.mergedClsPrefixRef,isMounted:o.isMountedRef,mergedTheme:o.mergedThemeRef,displayed:t,transitionName:L(()=>({right:"slide-in-from-right-transition",left:"slide-in-from-left-transition",top:"slide-in-from-top-transition",bottom:"slide-in-from-bottom-transition"})[e.placement]),handleAfterLeave:k,bodyDirectives:y,handleMousedownResizeTrigger:p,handleMouseenterResizeTrigger:h,handleMouseleaveResizeTrigger:m,isDragging:l,isHoverOnResizeTrigger:s}},render(){const{$slots:e,mergedClsPrefix:t}=this;return this.displayDirective==="show"||this.displayed||this.show?dn(g("div",{role:"none"},g(Dp,{disabled:!this.showMask||!this.trapFocus,active:this.show,autoFocus:this.autoFocus,onEsc:this.onEsc},{default:()=>g(fn,{name:this.transitionName,appear:this.isMounted,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave},{default:()=>dn(g("div",Ln(this.$attrs,{role:"dialog",ref:"bodyRef","aria-modal":"true",class:[`${t}-drawer`,this.rtlEnabled&&`${t}-drawer--rtl`,`${t}-drawer--${this.placement}-placement`,this.isDragging&&`${t}-drawer--unselectable`,this.nativeScrollbar&&`${t}-drawer--native-scrollbar`]}),[this.resizable?g("div",{class:[`${t}-drawer__resize-trigger`,(this.isDragging||this.isHoverOnResizeTrigger)&&`${t}-drawer__resize-trigger--hover`],onMouseenter:this.handleMouseenterResizeTrigger,onMouseleave:this.handleMouseleaveResizeTrigger,onMousedown:this.handleMousedownResizeTrigger}):null,this.nativeScrollbar?g("div",{class:[`${t}-drawer-content-wrapper`,this.contentClass],style:this.contentStyle,role:"none"},e):g(To,Object.assign({},this.scrollbarProps,{contentStyle:this.contentStyle,contentClass:[`${t}-drawer-content-wrapper`,this.contentClass],theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar}),e)]),this.bodyDirectives)})})),[[Mn,this.displayDirective==="if"||this.displayed||this.show]]):null}}),{cubicBezierEaseIn:rq,cubicBezierEaseOut:iq}=co;function aq({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-right"}={}){return[q(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${rq}`}),q(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${iq}`}),q(`&.${n}-transition-enter-to`,{transform:"translateX(0)"}),q(`&.${n}-transition-enter-from`,{transform:"translateX(100%)"}),q(`&.${n}-transition-leave-from`,{transform:"translateX(0)"}),q(`&.${n}-transition-leave-to`,{transform:"translateX(100%)"})]}const{cubicBezierEaseIn:sq,cubicBezierEaseOut:lq}=co;function cq({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-left"}={}){return[q(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${sq}`}),q(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${lq}`}),q(`&.${n}-transition-enter-to`,{transform:"translateX(0)"}),q(`&.${n}-transition-enter-from`,{transform:"translateX(-100%)"}),q(`&.${n}-transition-leave-from`,{transform:"translateX(0)"}),q(`&.${n}-transition-leave-to`,{transform:"translateX(-100%)"})]}const{cubicBezierEaseIn:uq,cubicBezierEaseOut:dq}=co;function fq({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-top"}={}){return[q(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${uq}`}),q(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${dq}`}),q(`&.${n}-transition-enter-to`,{transform:"translateY(0)"}),q(`&.${n}-transition-enter-from`,{transform:"translateY(-100%)"}),q(`&.${n}-transition-leave-from`,{transform:"translateY(0)"}),q(`&.${n}-transition-leave-to`,{transform:"translateY(-100%)"})]}const{cubicBezierEaseIn:hq,cubicBezierEaseOut:pq}=co;function mq({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-bottom"}={}){return[q(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${hq}`}),q(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${pq}`}),q(`&.${n}-transition-enter-to`,{transform:"translateY(0)"}),q(`&.${n}-transition-enter-from`,{transform:"translateY(100%)"}),q(`&.${n}-transition-leave-from`,{transform:"translateY(0)"}),q(`&.${n}-transition-leave-to`,{transform:"translateY(100%)"})]}const gq=q([z("drawer",` word-break: break-word; line-height: var(--n-line-height); position: absolute; @@ -2593,7 +2610,7 @@ ${t} background-color: var(--n-color); color: var(--n-text-color); box-sizing: border-box; - `,[QU(),nq(),iq(),lq(),Z("unselectable",` + `,[aq(),cq(),fq(),mq(),Z("unselectable",` user-select: none; -webkit-user-select: none; `),Z("native-scrollbar",[z("drawer-content-wrapper",` @@ -2647,6 +2664,8 @@ ${t} top: 0; bottom: 0; right: 0; + border-top-left-radius: var(--n-border-radius); + border-bottom-left-radius: var(--n-border-radius); `,[V("resize-trigger",` width: 3px; height: 100%; @@ -2658,6 +2677,8 @@ ${t} top: 0; bottom: 0; left: 0; + border-top-right-radius: var(--n-border-radius); + border-bottom-right-radius: var(--n-border-radius); `,[V("resize-trigger",` width: 3px; height: 100%; @@ -2669,6 +2690,8 @@ ${t} top: 0; left: 0; right: 0; + border-bottom-left-radius: var(--n-border-radius); + border-bottom-right-radius: var(--n-border-radius); `,[V("resize-trigger",` width: 100%; height: 3px; @@ -2680,6 +2703,8 @@ ${t} left: 0; bottom: 0; right: 0; + border-top-left-radius: var(--n-border-radius); + border-top-right-radius: var(--n-border-radius); `,[V("resize-trigger",` width: 100%; height: 3px; @@ -2687,7 +2712,9 @@ ${t} left: 0; transform: translateY(-1.5px); cursor: ns-resize; - `)])]),U("body",[U(">",[z("drawer-container",{position:"fixed"})])]),z("drawer-container",` + `)])]),q("body",[q(">",[z("drawer-container",` + position: fixed; + `)])]),z("drawer-container",` position: relative; position: absolute; left: 0; @@ -2695,7 +2722,9 @@ ${t} top: 0; bottom: 0; pointer-events: none; - `,[U("> *",{pointerEvents:"all"})]),z("drawer-mask",` + `,[q("> *",` + pointer-events: all; + `)]),z("drawer-mask",` background-color: rgba(0, 0, 0, .3); position: absolute; left: 0; @@ -2704,13 +2733,13 @@ ${t} bottom: 0; `,[Z("invisible",` background-color: rgba(0, 0, 0, 0) - `),sl({enterDuration:"0.2s",leaveDuration:"0.2s",enterCubicBezier:"var(--n-bezier-in)",leaveCubicBezier:"var(--n-bezier-out)"})])]),uq=Object.assign(Object.assign({},Be.props),{show:Boolean,width:[Number,String],height:[Number,String],placement:{type:String,default:"right"},maskClosable:{type:Boolean,default:!0},showMask:{type:[Boolean,String],default:!0},to:[String,Object],displayDirective:{type:String,default:"if"},nativeScrollbar:{type:Boolean,default:!0},zIndex:Number,onMaskClick:Function,scrollbarProps:Object,contentClass:String,contentStyle:[Object,String],trapFocus:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0},maxWidth:Number,maxHeight:Number,minWidth:Number,minHeight:Number,resizable:Boolean,defaultWidth:{type:[Number,String],default:251},defaultHeight:{type:[Number,String],default:251},onUpdateWidth:[Function,Array],onUpdateHeight:[Function,Array],"onUpdate:width":[Function,Array],"onUpdate:height":[Function,Array],"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,drawerStyle:[String,Object],drawerClass:String,target:null,onShow:Function,onHide:Function}),N2=me({name:"Drawer",inheritAttrs:!1,props:uq,setup(e){const{mergedClsPrefixRef:t,namespaceRef:n,inlineThemeDisabled:o}=it(e),r=Gr(),i=Be("Drawer","-drawer",cq,KU,e,t),a=F(e.defaultWidth),s=F(e.defaultHeight),l=ln(je(e,"width"),a),c=ln(je(e,"height"),s),u=L(()=>{const{placement:C}=e;return C==="top"||C==="bottom"?"":qt(l.value)}),d=L(()=>{const{placement:C}=e;return C==="left"||C==="right"?"":qt(c.value)}),f=C=>{const{onUpdateWidth:y,"onUpdate:width":k}=e;y&&Re(y,C),k&&Re(k,C),a.value=C},p=C=>{const{onUpdateHeight:y,"onUpdate:width":k}=e;y&&Re(y,C),k&&Re(k,C),s.value=C},h=L(()=>[{width:u.value,height:d.value},e.drawerStyle||""]);function g(C){const{onMaskClick:y,maskClosable:k}=e;k&&S(!1),y&&y(C)}function b(C){g(C)}const m=dw();function x(C){var y;(y=e.onEsc)===null||y===void 0||y.call(e),e.show&&e.closeOnEsc&&jC(C)&&!m.value&&S(!1)}function S(C){const{onHide:y,onUpdateShow:k,"onUpdate:show":R}=e;k&&Re(k,C),R&&Re(R,C),y&&!C&&Re(y,C)}lt(Ep,{isMountedRef:r,mergedThemeRef:i,mergedClsPrefixRef:t,doUpdateShow:S,doUpdateHeight:p,doUpdateWidth:f});const _=L(()=>{const{common:{cubicBezierEaseInOut:C,cubicBezierEaseIn:y,cubicBezierEaseOut:k},self:{color:R,textColor:$,boxShadow:I,lineHeight:A,headerPadding:K,footerPadding:B,bodyPadding:M,titleFontSize:D,titleTextColor:Y,titleFontWeight:Q,headerBorderBottom:ue,footerBorderTop:le,closeIconColor:N,closeIconColorHover:E,closeIconColorPressed:O,closeColorHover:q,closeColorPressed:ne,closeIconSize:ve,closeSize:J,closeBorderRadius:be,resizableTriggerColorHover:H}}=i.value;return{"--n-line-height":A,"--n-color":R,"--n-text-color":$,"--n-box-shadow":I,"--n-bezier":C,"--n-bezier-out":k,"--n-bezier-in":y,"--n-header-padding":K,"--n-body-padding":M,"--n-footer-padding":B,"--n-title-text-color":Y,"--n-title-font-size":D,"--n-title-font-weight":Q,"--n-header-border-bottom":ue,"--n-footer-border-top":le,"--n-close-icon-color":N,"--n-close-icon-color-hover":E,"--n-close-icon-color-pressed":O,"--n-close-size":J,"--n-close-color-hover":q,"--n-close-color-pressed":ne,"--n-close-icon-size":ve,"--n-close-border-radius":be,"--n-resize-trigger-color-hover":H}}),w=o?kt("drawer",void 0,_,e):void 0;return{mergedClsPrefix:t,namespace:n,mergedBodyStyle:h,handleOutsideClick:b,handleMaskClick:g,handleEsc:x,mergedTheme:i,cssVars:o?void 0:_,themeClass:w==null?void 0:w.themeClass,onRender:w==null?void 0:w.onRender,isMounted:r}},render(){const{mergedClsPrefix:e}=this;return v(wu,{to:this.to,show:this.show},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),Cn(v("div",{class:[`${e}-drawer-container`,this.namespace,this.themeClass],style:this.cssVars,role:"none"},this.showMask?v(hn,{name:"fade-in-transition",appear:this.isMounted},{default:()=>this.show?v("div",{"aria-hidden":!0,class:[`${e}-drawer-mask`,this.showMask==="transparent"&&`${e}-drawer-mask--invisible`],onClick:this.handleMaskClick}):null}):null,v(XU,Object.assign({},this.$attrs,{class:[this.drawerClass,this.$attrs.class],style:[this.mergedBodyStyle,this.$attrs.style],blockScroll:this.blockScroll,contentStyle:this.contentStyle,contentClass:this.contentClass,placement:this.placement,scrollbarProps:this.scrollbarProps,show:this.show,displayDirective:this.displayDirective,nativeScrollbar:this.nativeScrollbar,onAfterEnter:this.onAfterEnter,onAfterLeave:this.onAfterLeave,trapFocus:this.trapFocus,autoFocus:this.autoFocus,resizable:this.resizable,maxHeight:this.maxHeight,minHeight:this.minHeight,maxWidth:this.maxWidth,minWidth:this.minWidth,showMask:this.showMask,onEsc:this.handleEsc,onClickoutside:this.handleOutsideClick}),this.$slots)),[[Cu,{zIndex:this.zIndex,enabled:this.show}]])}})}}),dq={title:String,headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],bodyClass:String,bodyStyle:[Object,String],bodyContentClass:String,bodyContentStyle:[Object,String],nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,closable:Boolean},fq=me({name:"DrawerContent",props:dq,setup(){const e=We(Ep,null);e||Kr("drawer-content","`n-drawer-content` must be placed inside `n-drawer`.");const{doUpdateShow:t}=e;function n(){t(!1)}return{handleCloseClick:n,mergedTheme:e.mergedThemeRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{title:e,mergedClsPrefix:t,nativeScrollbar:n,mergedTheme:o,bodyClass:r,bodyStyle:i,bodyContentClass:a,bodyContentStyle:s,headerClass:l,headerStyle:c,footerClass:u,footerStyle:d,scrollbarProps:f,closable:p,$slots:h}=this;return v("div",{role:"none",class:[`${t}-drawer-content`,n&&`${t}-drawer-content--native-scrollbar`]},h.header||e||p?v("div",{class:[`${t}-drawer-header`,l],style:c,role:"none"},v("div",{class:`${t}-drawer-header__main`,role:"heading","aria-level":"1"},h.header!==void 0?h.header():e),p&&v(ji,{onClick:this.handleCloseClick,clsPrefix:t,class:`${t}-drawer-header__close`,absolute:!0})):null,n?v("div",{class:[`${t}-drawer-body`,r],style:i,role:"none"},v("div",{class:[`${t}-drawer-body-content-wrapper`,a],style:s,role:"none"},h)):v(ko,Object.assign({themeOverrides:o.peerOverrides.Scrollbar,theme:o.peers.Scrollbar},f,{class:`${t}-drawer-body`,contentClass:[`${t}-drawer-body-content-wrapper`,a],contentStyle:s}),h),h.footer?v("div",{class:[`${t}-drawer-footer`,u],style:d,role:"none"},h.footer()):null)}}),hq={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},pq={name:"DynamicInput",common:He,peers:{Input:uo,Button:Vn},self(){return hq}},mq=pq,H2={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},gq={name:"Space",self(){return H2}},j2=gq,vq=()=>H2,bq={name:"Space",self:vq},yq=bq;let Gd;const xq=()=>{if(!ur)return!0;if(Gd===void 0){const e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e);const t=e.scrollHeight===1;return document.body.removeChild(e),Gd=t}return Gd},Cq=Object.assign(Object.assign({},Be.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrapItem:{type:Boolean,default:!0},itemClass:String,itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),Ki=me({name:"Space",props:Cq,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=it(e),o=Be("Space","-space",void 0,yq,e,t),r=pn("Space",n,t);return{useGap:xq(),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:{[ke("gap",i)]:a}}=o.value,{row:s,col:l}=jA(a);return{horizontal:kn(l),vertical:kn(s)}})}},render(){const{vertical:e,reverse:t,align:n,inline:o,justify:r,itemClass:i,itemStyle:a,margin:s,wrap:l,mergedClsPrefix:c,rtlEnabled:u,useGap:d,wrapItem:f,internalUseGap:p}=this,h=Pa(AC(this),!1);if(!h.length)return null;const g=`${s.horizontal}px`,b=`${s.horizontal/2}px`,m=`${s.vertical}px`,x=`${s.vertical/2}px`,S=h.length-1,_=r.startsWith("space-");return v("div",{role:"none",class:[`${c}-space`,u&&`${c}-space--rtl`],style:{display:o?"inline-flex":"flex",flexDirection:(()=>e&&!t?"column":e&&t?"column-reverse":!e&&t?"row-reverse":"row")(),justifyContent:["start","end"].includes(r)?"flex-"+r:r,flexWrap:!l||e?"nowrap":"wrap",marginTop:d||e?"":`-${x}`,marginBottom:d||e?"":`-${x}`,alignItems:n,gap:d?`${s.vertical}px ${s.horizontal}px`:""}},!f&&(d||p)?h:h.map((w,C)=>w.type===En?w:v("div",{role:"none",class:i,style:[a,{maxWidth:"100%"},d?"":e?{marginBottom:C!==S?m:""}:u?{marginLeft:_?r==="space-between"&&C===S?"":b:C!==S?g:"",marginRight:_?r==="space-between"&&C===0?"":b:"",paddingTop:x,paddingBottom:x}:{marginRight:_?r==="space-between"&&C===S?"":b:C!==S?g:"",marginLeft:_?r==="space-between"&&C===0?"":b:"",paddingTop:x,paddingBottom:x}]},w)))}}),wq={name:"DynamicTags",common:He,peers:{Input:uo,Button:Vn,Tag:w_,Space:j2},self(){return{inputWidth:"64px"}}},_q=wq,Sq={name:"Element",common:He},kq=Sq,Pq={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},Tq={name:"Flex",self(){return Pq}},Rq=Tq,$q={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"},Eq=e=>{const{heightSmall:t,heightMedium:n,heightLarge:o,textColor1:r,errorColor:i,warningColor:a,lineHeight:s,textColor3:l}=e;return Object.assign(Object.assign({},$q),{blankHeightSmall:t,blankHeightMedium:n,blankHeightLarge:o,lineHeight:s,labelTextColor:r,asteriskColor:i,feedbackTextColorError:i,feedbackTextColorWarning:a,feedbackTextColor:l})},Aq={name:"Form",common:He,self:Eq},Iq=Aq,Oq={name:"GradientText",common:He,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}}},Mq=Oq,zq=e=>{const{primaryColor:t,baseColor:n}=e;return{color:t,iconColor:n}},Dq={name:"IconWrapper",common:He,self:zq},Lq=Dq,Fq={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"},V2=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:g,boxShadow2:b,lineHeight:m,fontSize:x}=e;return Object.assign(Object.assign({},Fq),{borderRadius:h,lineHeight:m,fontSize:x,headerFontWeight:g,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:b})},Bq={name:"Notification",common:bt,peers:{Scrollbar:Wi},self:V2},Nq=Bq,Hq={name:"Notification",common:He,peers:{Scrollbar:jn},self:V2},jq=Hq,Vq={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"},W2=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:g}=e;return Object.assign(Object.assign({},Vq),{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:g,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:r,closeColorHoverInfo:h,closeColorPressedInfo:g,closeIconColorInfo:n,closeIconColorHoverInfo:o,closeIconColorPressedInfo:r,closeColorHoverSuccess:h,closeColorPressedSuccess:g,closeIconColorSuccess:n,closeIconColorHoverSuccess:o,closeIconColorPressedSuccess:r,closeColorHoverError:h,closeColorPressedError:g,closeIconColorError:n,closeIconColorHoverError:o,closeIconColorPressedError:r,closeColorHoverWarning:h,closeColorPressedWarning:g,closeIconColorWarning:n,closeIconColorHoverWarning:o,closeIconColorPressedWarning:r,closeColorHoverLoading:h,closeColorPressedLoading:g,closeIconColorLoading:n,closeIconColorHoverLoading:o,closeIconColorPressedLoading:r,loadingColor:d,lineHeight:f,borderRadius:p})},Wq={name:"Message",common:bt,self:W2},Uq=Wq,qq={name:"Message",common:He,self:W2},Kq=qq,Gq={name:"ButtonGroup",common:He},Yq=Gq,Xq={name:"InputNumber",common:He,peers:{Button:Vn,Input:uo},self(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}},Zq=Xq,Jq=e=>{const{textColorDisabled:t}=e;return{iconColorDisabled:t}},Qq={name:"InputNumber",common:bt,peers:{Button:Eu,Input:nm},self:Jq},eK=Qq,tK={name:"Layout",common:He,peers:{Scrollbar:jn},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:tt(n,a),siderToggleBarColorHover:tt(n,s),__invertScrollbar:"false"}}},nK=tK,oK=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:tt(o,s),siderToggleBarColorHover:tt(o,l),__invertScrollbar:"true"}},rK={name:"Layout",common:bt,peers:{Scrollbar:Wi},self:oK},U2=rK,q2=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:tt(o,l),colorPopover:r,colorHoverPopover:tt(r,l),borderColor:i,borderColorModal:tt(o,i),borderColorPopover:tt(r,i),borderRadius:a,fontSize:s}},iK={name:"List",common:bt,self:q2},aK=iK,sK={name:"List",common:He,self:q2},lK=sK,cK={name:"LoadingBar",common:He,self(e){const{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}},uK=cK,dK=e=>{const{primaryColor:t,errorColor:n}=e;return{colorError:n,colorLoading:t,height:"2px"}},fK={name:"LoadingBar",common:bt,self:dK},hK=fK,pK={name:"Log",common:He,peers:{Scrollbar:jn,Code:q_},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}}},mK=pK,gK={name:"Mention",common:He,peers:{InternalSelectMenu:ll,Input:uo},self(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}},vK=gK;function bK(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 K2=e=>{const{borderRadius:t,textColor3:n,primaryColor:o,textColor2:r,textColor1:i,fontSize:a,dividerColor:s,hoverColor:l,primaryColorHover:c}=e;return Object.assign({borderRadius:t,color:"#0000",groupTextColor:n,itemColorHover:l,itemColorActive:Me(o,{alpha:.1}),itemColorActiveHover:Me(o,{alpha:.1}),itemColorActiveCollapsed:Me(o,{alpha:.1}),itemTextColor:r,itemTextColorHover:r,itemTextColorActive:o,itemTextColorActiveHover:o,itemTextColorChildActive:o,itemTextColorChildActiveHover:o,itemTextColorHorizontal:r,itemTextColorHoverHorizontal:c,itemTextColorActiveHorizontal:o,itemTextColorActiveHoverHorizontal:o,itemTextColorChildActiveHorizontal:o,itemTextColorChildActiveHoverHorizontal:o,itemIconColor:i,itemIconColorHover:i,itemIconColorActive:o,itemIconColorActiveHover:o,itemIconColorChildActive:o,itemIconColorChildActiveHover:o,itemIconColorCollapsed:i,itemIconColorHorizontal:i,itemIconColorHoverHorizontal:c,itemIconColorActiveHorizontal:o,itemIconColorActiveHoverHorizontal:o,itemIconColorChildActiveHorizontal:o,itemIconColorChildActiveHoverHorizontal:o,itemHeight:"42px",arrowColor:r,arrowColorHover:r,arrowColorActive:o,arrowColorActiveHover:o,arrowColorChildActive:o,arrowColorChildActiveHover:o,colorInverted:"#0000",borderColorHorizontal:"#0000",fontSize:a,dividerColor:s},bK("#BBB",o,"#FFF","#AAA"))},yK={name:"Menu",common:bt,peers:{Tooltip:sm,Dropdown:cm},self:K2},xK=yK,CK={name:"Menu",common:He,peers:{Tooltip:Iu,Dropdown:um},self(e){const{primaryColor:t,primaryColorSuppl:n}=e,o=K2(e);return o.itemColorActive=Me(t,{alpha:.15}),o.itemColorActiveHover=Me(t,{alpha:.15}),o.itemColorActiveCollapsed=Me(t,{alpha:.15}),o.itemColorActiveInverted=n,o.itemColorActiveHoverInverted=n,o.itemColorActiveCollapsedInverted=n,o}},wK=CK,_K={titleFontSize:"18px",backSize:"22px"};function SK(e){const{textColor1:t,textColor2:n,textColor3:o,fontSize:r,fontWeightStrong:i,primaryColorHover:a,primaryColorPressed:s}=e;return Object.assign(Object.assign({},_K),{titleFontWeight:i,fontSize:r,titleTextColor:t,backColor:n,backColorHover:a,backColorPressed:s,subtitleTextColor:o})}const kK={name:"PageHeader",common:He,self:SK},PK={iconSize:"22px"},TK=e=>{const{fontSize:t,warningColor:n}=e;return Object.assign(Object.assign({},PK),{fontSize:t,iconColor:n})},RK={name:"Popconfirm",common:He,peers:{Button:Vn,Popover:Ui},self:TK},$K=RK,G2=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%)"}},EK={name:"Progress",common:bt,self:G2},AK=EK,IK={name:"Progress",common:He,self(e){const t=G2(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}},Y2=IK,OK={name:"Rate",common:He,self(e){const{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},MK=OK,zK={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},X2=e=>{const{textColor2:t,textColor1:n,errorColor:o,successColor:r,infoColor:i,warningColor:a,lineHeight:s,fontWeightStrong:l}=e;return Object.assign(Object.assign({},zK),{lineHeight:s,titleFontWeight:l,titleTextColor:n,textColor:t,iconColorError:o,iconColorSuccess:r,iconColorInfo:i,iconColorWarning:a})},DK={name:"Result",common:bt,self:X2},LK=DK,FK={name:"Result",common:He,self:X2},BK=FK,NK={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},HK={name:"Slider",common:He,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({},NK),{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:""})}},jK=HK,Z2=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}},VK={name:"Spin",common:bt,self:Z2},WK=VK,UK={name:"Spin",common:He,self:Z2},qK=UK,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}},GK={name:"Statistic",common:He,self:KK},YK=GK,XK={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"},ZK=e=>{const{fontWeightStrong:t,baseColor:n,textColorDisabled:o,primaryColor:r,errorColor:i,textColor1:a,textColor2:s}=e;return Object.assign(Object.assign({},XK),{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})},JK={name:"Steps",common:He,self:ZK},QK=JK,J2={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"},eG={name:"Switch",common:He,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({},J2),{iconColor:a,textColor:i,loadingColor:t,opacityDisabled:n,railColor:s,railColorActive:t,buttonBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 8px 0 ${Me(r,{alpha:.3})}`})}},tG=eG,nG=e=>{const{primaryColor:t,opacityDisabled:n,borderRadius:o,textColor3:r}=e,i="rgba(0, 0, 0, .14)";return Object.assign(Object.assign({},J2),{iconColor:r,textColor:"white",loadingColor:t,opacityDisabled:n,railColor:i,railColorActive:t,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 0 2px ${Me(t,{alpha:.2})}`})},oG={name:"Switch",common:bt,self:nG},rG=oG,iG={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"},aG=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({},iG),{fontSizeSmall:f,fontSizeMedium:p,fontSizeLarge:h,lineHeight:d,borderRadius:c,borderColor:tt(n,t),borderColorModal:tt(o,t),borderColorPopover:tt(r,t),tdColor:n,tdColorModal:o,tdColorPopover:r,tdColorStriped:tt(n,a),tdColorStripedModal:tt(o,a),tdColorStripedPopover:tt(r,a),thColor:tt(n,i),thColorModal:tt(o,i),thColorPopover:tt(r,i),thTextColor:s,tdTextColor:l,thFontWeight:u})},sG={name:"Table",common:He,self:aG},lG=sG,cG={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"},uG=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:g,fontWeightStrong:b}=e;return Object.assign(Object.assign({},cG),{colorSegment:c,tabFontSizeCard:g,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:b})},dG={name:"Tabs",common:He,self(e){const t=uG(e),{inputColor:n}=e;return t.colorSegment=n,t.tabColorSegment=n,t}},fG=dG,hG=e=>{const{textColor1:t,textColor2:n,fontWeightStrong:o,fontSize:r}=e;return{fontSize:r,titleTextColor:t,textColor:n,titleFontWeight:o}},pG={name:"Thing",common:He,self:hG},mG=pG,gG={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},vG={name:"Timeline",common:He,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({},gG),{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})}},bG=vG,yG={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"},xG={name:"Transfer",common:He,peers:{Checkbox:Ua,Scrollbar:jn,Input:uo,Empty:Vi,Button:Vn},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:g,closeColorPressed:b,closeIconColor:m,closeIconColorHover:x,closeIconColorPressed:S,dividerColor:_}=e;return Object.assign(Object.assign({},yG),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:i,fontSizeSmall:r,fontSizeMedium:o,fontSizeLarge:n,borderRadius:s,dividerColor:_,borderColor:"#0000",listColor:l,headerColor:c,titleTextColor:u,titleTextColorDisabled:d,extraTextColor:p,extraTextColorDisabled:d,itemTextColor:f,itemTextColorDisabled:d,itemColorPending:h,titleFontWeight:t,closeColorHover:g,closeColorPressed:b,closeIconColor:m,closeIconColorHover:x,closeIconColorPressed:S})}},CG=xG,wG=e=>{const{borderRadiusSmall:t,dividerColor:n,hoverColor:o,pressedColor:r,primaryColor:i,textColor3:a,textColor2:s,textColorDisabled:l,fontSize:c}=e;return{fontSize:c,lineHeight:"1.5",nodeHeight:"30px",nodeWrapperPadding:"3px 0",nodeBorderRadius:t,nodeColorHover:o,nodeColorPressed:r,nodeColorActive:Me(i,{alpha:.1}),arrowColor:a,nodeTextColor:s,nodeTextColorDisabled:l,loadingColor:i,dropMarkColor:i,lineColor:n}},_G={name:"Tree",common:He,peers:{Checkbox:Ua,Scrollbar:jn,Empty:Vi},self(e){const{primaryColor:t}=e,n=wG(e);return n.nodeColorActive=Me(t,{alpha:.15}),n}},Q2=_G,SG={name:"TreeSelect",common:He,peers:{Tree:Q2,Empty:Vi,InternalSelection:em}},kG=SG,PG={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"},TG=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:g}=e;return Object.assign(Object.assign({},PG),{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:g,codeBorder:"1px solid #0000"})},RG={name:"Typography",common:He,self:TG},$G=RG,EG=e=>{const{iconColor:t,primaryColor:n,errorColor:o,textColor2:r,successColor:i,opacityDisabled:a,actionColor:s,borderColor:l,hoverColor:c,lineHeight:u,borderRadius:d,fontSize:f}=e;return{fontSize:f,lineHeight:u,borderRadius:d,draggerColor:s,draggerBorder:`1px dashed ${l}`,draggerBorderHover:`1px dashed ${n}`,itemColorHover:c,itemColorHoverError:Me(o,{alpha:.06}),itemTextColor:r,itemTextColorError:o,itemTextColorSuccess:i,itemIconColor:t,itemDisabledOpacity:a,itemBorderImageCardError:`1px solid ${o}`,itemBorderImageCard:`1px solid ${l}`}},AG={name:"Upload",common:He,peers:{Button:Vn,Progress:Y2},self(e){const{errorColor:t}=e,n=EG(e);return n.itemColorHoverError=Me(t,{alpha:.09}),n}},IG=AG,OG={name:"Watermark",common:He,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},MG=OG,zG={name:"Row",common:He},DG=zG,LG={name:"Image",common:He,peers:{Tooltip:Iu},self:e=>{const{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}};function FG(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 Yd(e){return e==null?!0:!Number.isNaN(e)}function q0(e,t){return e==null?"":t===void 0?String(e):e.toFixed(t)}function Xd(e){if(e===null)return null;if(typeof e=="number")return e;{const t=Number(e);return Number.isNaN(t)?null:t}}const NG=U([z("input-number-suffix",` + `),cl({enterDuration:"0.2s",leaveDuration:"0.2s",enterCubicBezier:"var(--n-bezier-in)",leaveCubicBezier:"var(--n-bezier-out)"})])]),vq=Object.assign(Object.assign({},Be.props),{show:Boolean,width:[Number,String],height:[Number,String],placement:{type:String,default:"right"},maskClosable:{type:Boolean,default:!0},showMask:{type:[Boolean,String],default:!0},to:[String,Object],displayDirective:{type:String,default:"if"},nativeScrollbar:{type:Boolean,default:!0},zIndex:Number,onMaskClick:Function,scrollbarProps:Object,contentClass:String,contentStyle:[Object,String],trapFocus:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0},maxWidth:Number,maxHeight:Number,minWidth:Number,minHeight:Number,resizable:Boolean,defaultWidth:{type:[Number,String],default:251},defaultHeight:{type:[Number,String],default:251},onUpdateWidth:[Function,Array],onUpdateHeight:[Function,Array],"onUpdate:width":[Function,Array],"onUpdate:height":[Function,Array],"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,drawerStyle:[String,Object],drawerClass:String,target:null,onShow:Function,onHide:Function}),Y2=ge({name:"Drawer",inheritAttrs:!1,props:vq,setup(e){const{mergedClsPrefixRef:t,namespaceRef:n,inlineThemeDisabled:o}=st(e),r=Xr(),i=Be("Drawer","-drawer",gq,eq,e,t),a=W(e.defaultWidth),s=W(e.defaultHeight),l=sn(Ve(e,"width"),a),c=sn(Ve(e,"height"),s),u=L(()=>{const{placement:x}=e;return x==="top"||x==="bottom"?"":qt(l.value)}),d=L(()=>{const{placement:x}=e;return x==="left"||x==="right"?"":qt(c.value)}),f=x=>{const{onUpdateWidth:y,"onUpdate:width":k}=e;y&&Ee(y,x),k&&Ee(k,x),a.value=x},p=x=>{const{onUpdateHeight:y,"onUpdate:width":k}=e;y&&Ee(y,x),k&&Ee(k,x),s.value=x},h=L(()=>[{width:u.value,height:d.value},e.drawerStyle||""]);function m(x){const{onMaskClick:y,maskClosable:k}=e;k&&C(!1),y&&y(x)}function v(x){m(x)}const b=yw();function w(x){var y;(y=e.onEsc)===null||y===void 0||y.call(e),e.show&&e.closeOnEsc&&JC(x)&&!b.value&&C(!1)}function C(x){const{onHide:y,onUpdateShow:k,"onUpdate:show":P}=e;k&&Ee(k,x),P&&Ee(P,x),y&&!x&&Ee(y,x)}at($p,{isMountedRef:r,mergedThemeRef:i,mergedClsPrefixRef:t,doUpdateShow:C,doUpdateHeight:p,doUpdateWidth:f});const S=L(()=>{const{common:{cubicBezierEaseInOut:x,cubicBezierEaseIn:y,cubicBezierEaseOut:k},self:{color:P,textColor:T,boxShadow:$,lineHeight:R,headerPadding:K,footerPadding:H,borderRadius:D,bodyPadding:M,titleFontSize:Y,titleTextColor:Q,titleFontWeight:de,headerBorderBottom:he,footerBorderTop:B,closeIconColor:E,closeIconColorHover:A,closeIconColorPressed:G,closeColorHover:ne,closeColorPressed:ye,closeIconSize:J,closeSize:xe,closeBorderRadius:j,resizableTriggerColorHover:ve}}=i.value;return{"--n-line-height":R,"--n-color":P,"--n-border-radius":D,"--n-text-color":T,"--n-box-shadow":$,"--n-bezier":x,"--n-bezier-out":k,"--n-bezier-in":y,"--n-header-padding":K,"--n-body-padding":M,"--n-footer-padding":H,"--n-title-text-color":Q,"--n-title-font-size":Y,"--n-title-font-weight":de,"--n-header-border-bottom":he,"--n-footer-border-top":B,"--n-close-icon-color":E,"--n-close-icon-color-hover":A,"--n-close-icon-color-pressed":G,"--n-close-size":xe,"--n-close-color-hover":ne,"--n-close-color-pressed":ye,"--n-close-icon-size":J,"--n-close-border-radius":j,"--n-resize-trigger-color-hover":ve}}),_=o?kt("drawer",void 0,S,e):void 0;return{mergedClsPrefix:t,namespace:n,mergedBodyStyle:h,handleOutsideClick:v,handleMaskClick:m,handleEsc:w,mergedTheme:i,cssVars:o?void 0:S,themeClass:_==null?void 0:_.themeClass,onRender:_==null?void 0:_.onRender,isMounted:r}},render(){const{mergedClsPrefix:e}=this;return g(Su,{to:this.to,show:this.show},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),dn(g("div",{class:[`${e}-drawer-container`,this.namespace,this.themeClass],style:this.cssVars,role:"none"},this.showMask?g(fn,{name:"fade-in-transition",appear:this.isMounted},{default:()=>this.show?g("div",{"aria-hidden":!0,class:[`${e}-drawer-mask`,this.showMask==="transparent"&&`${e}-drawer-mask--invisible`],onClick:this.handleMaskClick}):null}):null,g(oq,Object.assign({},this.$attrs,{class:[this.drawerClass,this.$attrs.class],style:[this.mergedBodyStyle,this.$attrs.style],blockScroll:this.blockScroll,contentStyle:this.contentStyle,contentClass:this.contentClass,placement:this.placement,scrollbarProps:this.scrollbarProps,show:this.show,displayDirective:this.displayDirective,nativeScrollbar:this.nativeScrollbar,onAfterEnter:this.onAfterEnter,onAfterLeave:this.onAfterLeave,trapFocus:this.trapFocus,autoFocus:this.autoFocus,resizable:this.resizable,maxHeight:this.maxHeight,minHeight:this.minHeight,maxWidth:this.maxWidth,minWidth:this.minWidth,showMask:this.showMask,onEsc:this.handleEsc,onClickoutside:this.handleOutsideClick}),this.$slots)),[[_u,{zIndex:this.zIndex,enabled:this.show}]])}})}}),bq={title:String,headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],bodyClass:String,bodyStyle:[Object,String],bodyContentClass:String,bodyContentStyle:[Object,String],nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,closable:Boolean},yq=ge({name:"DrawerContent",props:bq,setup(){const e=We($p,null);e||ur("drawer-content","`n-drawer-content` must be placed inside `n-drawer`.");const{doUpdateShow:t}=e;function n(){t(!1)}return{handleCloseClick:n,mergedTheme:e.mergedThemeRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{title:e,mergedClsPrefix:t,nativeScrollbar:n,mergedTheme:o,bodyClass:r,bodyStyle:i,bodyContentClass:a,bodyContentStyle:s,headerClass:l,headerStyle:c,footerClass:u,footerStyle:d,scrollbarProps:f,closable:p,$slots:h}=this;return g("div",{role:"none",class:[`${t}-drawer-content`,n&&`${t}-drawer-content--native-scrollbar`]},h.header||e||p?g("div",{class:[`${t}-drawer-header`,l],style:c,role:"none"},g("div",{class:`${t}-drawer-header__main`,role:"heading","aria-level":"1"},h.header!==void 0?h.header():e),p&&g(Hi,{onClick:this.handleCloseClick,clsPrefix:t,class:`${t}-drawer-header__close`,absolute:!0})):null,n?g("div",{class:[`${t}-drawer-body`,r],style:i,role:"none"},g("div",{class:[`${t}-drawer-body-content-wrapper`,a],style:s,role:"none"},h)):g(To,Object.assign({themeOverrides:o.peerOverrides.Scrollbar,theme:o.peers.Scrollbar},f,{class:`${t}-drawer-body`,contentClass:[`${t}-drawer-body-content-wrapper`,a],contentStyle:s}),h),h.footer?g("div",{class:[`${t}-drawer-footer`,u],style:d,role:"none"},h.footer()):null)}}),xq={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},Cq={name:"DynamicInput",common:Ne,peers:{Input:uo,Button:Wn},self(){return xq}},wq=Cq,X2={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},_q={name:"Space",self(){return X2}},Z2=_q,Sq=()=>X2,kq={name:"Space",self:Sq},Pq=kq;let Gd;const Tq=()=>{if(!dr)return!0;if(Gd===void 0){const e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e);const t=e.scrollHeight===1;return document.body.removeChild(e),Gd=t}return Gd},Rq=Object.assign(Object.assign({},Be.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrapItem:{type:Boolean,default:!0},itemClass:String,itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),qi=ge({name:"Space",props:Rq,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=st(e),o=Be("Space","-space",void 0,Pq,e,t),r=pn("Space",n,t);return{useGap:Tq(),rtlEnabled:r,mergedClsPrefix:t,margin:L(()=>{const{size:i}=e;if(Array.isArray(i))return{horizontal:i[0],vertical:i[1]};if(typeof i=="number")return{horizontal:i,vertical:i};const{self:{[Te("gap",i)]:a}}=o.value,{row:s,col:l}=XA(a);return{horizontal:Sn(l),vertical:Sn(s)}})}},render(){const{vertical:e,reverse:t,align:n,inline:o,justify:r,itemClass:i,itemStyle:a,margin:s,wrap:l,mergedClsPrefix:c,rtlEnabled:u,useGap:d,wrapItem:f,internalUseGap:p}=this,h=_a(HC(this),!1);if(!h.length)return null;const m=`${s.horizontal}px`,v=`${s.horizontal/2}px`,b=`${s.vertical}px`,w=`${s.vertical/2}px`,C=h.length-1,S=r.startsWith("space-");return g("div",{role:"none",class:[`${c}-space`,u&&`${c}-space--rtl`],style:{display:o?"inline-flex":"flex",flexDirection:(()=>e&&!t?"column":e&&t?"column-reverse":!e&&t?"row-reverse":"row")(),justifyContent:["start","end"].includes(r)?"flex-"+r:r,flexWrap:!l||e?"nowrap":"wrap",marginTop:d||e?"":`-${w}`,marginBottom:d||e?"":`-${w}`,alignItems:n,gap:d?`${s.vertical}px ${s.horizontal}px`:""}},!f&&(d||p)?h:h.map((_,x)=>_.type===$n?_:g("div",{role:"none",class:i,style:[a,{maxWidth:"100%"},d?"":e?{marginBottom:x!==C?b:""}:u?{marginLeft:S?r==="space-between"&&x===C?"":v:x!==C?m:"",marginRight:S?r==="space-between"&&x===0?"":v:"",paddingTop:w,paddingBottom:w}:{marginRight:S?r==="space-between"&&x===C?"":v:x!==C?m:"",marginLeft:S?r==="space-between"&&x===0?"":v:"",paddingTop:w,paddingBottom:w}]},_)))}}),Eq={name:"DynamicTags",common:Ne,peers:{Input:uo,Button:Wn,Tag:$_,Space:Z2},self(){return{inputWidth:"64px"}}},$q=Eq,Aq={name:"Element",common:Ne},Iq=Aq,Oq={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},Mq={name:"Flex",self(){return Oq}},zq=Mq,Dq={feedbackPadding:"4px 0 0 2px",feedbackHeightSmall:"24px",feedbackHeightMedium:"24px",feedbackHeightLarge:"26px",feedbackFontSizeSmall:"13px",feedbackFontSizeMedium:"14px",feedbackFontSizeLarge:"14px",labelFontSizeLeftSmall:"14px",labelFontSizeLeftMedium:"14px",labelFontSizeLeftLarge:"15px",labelFontSizeTopSmall:"13px",labelFontSizeTopMedium:"14px",labelFontSizeTopLarge:"14px",labelHeightSmall:"24px",labelHeightMedium:"26px",labelHeightLarge:"28px",labelPaddingVertical:"0 0 6px 2px",labelPaddingHorizontal:"0 12px 0 0",labelTextAlignVertical:"left",labelTextAlignHorizontal:"right",labelFontWeight:"400"},Lq=e=>{const{heightSmall:t,heightMedium:n,heightLarge:o,textColor1:r,errorColor:i,warningColor:a,lineHeight:s,textColor3:l}=e;return Object.assign(Object.assign({},Dq),{blankHeightSmall:t,blankHeightMedium:n,blankHeightLarge:o,lineHeight:s,labelTextColor:r,asteriskColor:i,feedbackTextColorError:i,feedbackTextColorWarning:a,feedbackTextColor:l})},Fq={name:"Form",common:Ne,self:Lq},Bq=Fq,Nq={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"},J2=e=>{const{textColor2:t,successColor:n,infoColor:o,warningColor:r,errorColor:i,popoverColor:a,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:c,closeColorHover:u,closeColorPressed:d,textColor1:f,textColor3:p,borderRadius:h,fontWeightStrong:m,boxShadow2:v,lineHeight:b,fontSize:w}=e;return Object.assign(Object.assign({},Nq),{borderRadius:h,lineHeight:b,fontSize:w,headerFontWeight:m,iconColor:t,iconColorSuccess:n,iconColorInfo:o,iconColorWarning:r,iconColorError:i,color:a,textColor:t,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:c,closeBorderRadius:h,closeColorHover:u,closeColorPressed:d,headerTextColor:f,descriptionTextColor:p,actionTextColor:t,boxShadow:v})},Hq={name:"Notification",common:bt,peers:{Scrollbar:Vi},self:J2},jq=Hq,Vq={name:"Notification",common:Ne,peers:{Scrollbar:Vn},self:J2},Wq=Vq,Uq={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 10px",closeSize:"20px",closeIconSize:"16px",iconSize:"20px",fontSize:"14px"},Q2=e=>{const{textColor2:t,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:r,infoColor:i,successColor:a,errorColor:s,warningColor:l,popoverColor:c,boxShadow2:u,primaryColor:d,lineHeight:f,borderRadius:p,closeColorHover:h,closeColorPressed:m}=e;return Object.assign(Object.assign({},Uq),{closeBorderRadius:p,textColor:t,textColorInfo:t,textColorSuccess:t,textColorError:t,textColorWarning:t,textColorLoading:t,color:c,colorInfo:c,colorSuccess:c,colorError:c,colorWarning:c,colorLoading:c,boxShadow:u,boxShadowInfo:u,boxShadowSuccess:u,boxShadowError:u,boxShadowWarning:u,boxShadowLoading:u,iconColor:t,iconColorInfo:i,iconColorSuccess:a,iconColorWarning:l,iconColorError:s,iconColorLoading:d,closeColorHover:h,closeColorPressed:m,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:r,closeColorHoverInfo:h,closeColorPressedInfo:m,closeIconColorInfo:n,closeIconColorHoverInfo:o,closeIconColorPressedInfo:r,closeColorHoverSuccess:h,closeColorPressedSuccess:m,closeIconColorSuccess:n,closeIconColorHoverSuccess:o,closeIconColorPressedSuccess:r,closeColorHoverError:h,closeColorPressedError:m,closeIconColorError:n,closeIconColorHoverError:o,closeIconColorPressedError:r,closeColorHoverWarning:h,closeColorPressedWarning:m,closeIconColorWarning:n,closeIconColorHoverWarning:o,closeIconColorPressedWarning:r,closeColorHoverLoading:h,closeColorPressedLoading:m,closeIconColorLoading:n,closeIconColorHoverLoading:o,closeIconColorPressedLoading:r,loadingColor:d,lineHeight:f,borderRadius:p})},qq={name:"Message",common:bt,self:Q2},Kq=qq,Gq={name:"Message",common:Ne,self:Q2},Yq=Gq,Xq={name:"ButtonGroup",common:Ne},Zq=Xq,Jq={name:"GradientText",common:Ne,self(e){const{primaryColor:t,successColor:n,warningColor:o,errorColor:r,infoColor:i,primaryColorSuppl:a,successColorSuppl:s,warningColorSuppl:l,errorColorSuppl:c,infoColorSuppl:u,fontWeightStrong:d}=e;return{fontWeight:d,rotate:"252deg",colorStartPrimary:t,colorEndPrimary:a,colorStartInfo:i,colorEndInfo:u,colorStartWarning:o,colorEndWarning:l,colorStartError:r,colorEndError:c,colorStartSuccess:n,colorEndSuccess:s}}},Qq=Jq,eK={name:"InputNumber",common:Ne,peers:{Button:Wn,Input:uo},self(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}},tK=eK,nK=e=>{const{textColorDisabled:t}=e;return{iconColorDisabled:t}},oK={name:"InputNumber",common:bt,peers:{Button:Au,Input:nm},self:nK},rK=oK,iK={name:"Layout",common:Ne,peers:{Scrollbar:Vn},self(e){const{textColor2:t,bodyColor:n,popoverColor:o,cardColor:r,dividerColor:i,scrollbarColor:a,scrollbarColorHover:s}=e;return{textColor:t,textColorInverted:t,color:n,colorEmbedded:n,headerColor:r,headerColorInverted:r,footerColor:r,footerColorInverted:r,headerBorderColor:i,headerBorderColorInverted:i,footerBorderColor:i,footerBorderColorInverted:i,siderBorderColor:i,siderBorderColorInverted:i,siderColor:r,siderColorInverted:r,siderToggleButtonBorder:"1px solid transparent",siderToggleButtonColor:o,siderToggleButtonIconColor:t,siderToggleButtonIconColorInverted:t,siderToggleBarColor:et(n,a),siderToggleBarColorHover:et(n,s),__invertScrollbar:"false"}}},aK=iK,sK=e=>{const{baseColor:t,textColor2:n,bodyColor:o,cardColor:r,dividerColor:i,actionColor:a,scrollbarColor:s,scrollbarColorHover:l,invertedColor:c}=e;return{textColor:n,textColorInverted:"#FFF",color:o,colorEmbedded:a,headerColor:r,headerColorInverted:c,footerColor:a,footerColorInverted:c,headerBorderColor:i,headerBorderColorInverted:c,footerBorderColor:i,footerBorderColorInverted:c,siderBorderColor:i,siderBorderColorInverted:c,siderColor:r,siderColorInverted:c,siderToggleButtonBorder:`1px solid ${i}`,siderToggleButtonColor:t,siderToggleButtonIconColor:n,siderToggleButtonIconColorInverted:n,siderToggleBarColor:et(o,s),siderToggleBarColorHover:et(o,l),__invertScrollbar:"true"}},lK={name:"Layout",common:bt,peers:{Scrollbar:Vi},self:sK},eS=lK,tS=e=>{const{textColor2:t,cardColor:n,modalColor:o,popoverColor:r,dividerColor:i,borderRadius:a,fontSize:s,hoverColor:l}=e;return{textColor:t,color:n,colorHover:l,colorModal:o,colorHoverModal:et(o,l),colorPopover:r,colorHoverPopover:et(r,l),borderColor:i,borderColorModal:et(o,i),borderColorPopover:et(r,i),borderRadius:a,fontSize:s}},cK={name:"List",common:bt,self:tS},uK=cK,dK={name:"List",common:Ne,self:tS},fK=dK,hK={name:"LoadingBar",common:Ne,self(e){const{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}},pK=hK,mK=e=>{const{primaryColor:t,errorColor:n}=e;return{colorError:n,colorLoading:t,height:"2px"}},gK={name:"LoadingBar",common:bt,self:mK},vK=gK,bK={name:"Log",common:Ne,peers:{Scrollbar:Vn,Code:e2},self(e){const{textColor2:t,inputColor:n,fontSize:o,primaryColor:r}=e;return{loaderFontSize:o,loaderTextColor:t,loaderColor:n,loaderBorder:"1px solid #0000",loadingColor:r}}},yK=bK,xK={name:"Mention",common:Ne,peers:{InternalSelectMenu:ul,Input:uo},self(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}},CK=xK;function wK(e,t,n,o){return{itemColorHoverInverted:"#0000",itemColorActiveInverted:t,itemColorActiveHoverInverted:t,itemColorActiveCollapsedInverted:t,itemTextColorInverted:e,itemTextColorHoverInverted:n,itemTextColorChildActiveInverted:n,itemTextColorChildActiveHoverInverted:n,itemTextColorActiveInverted:n,itemTextColorActiveHoverInverted:n,itemTextColorHorizontalInverted:e,itemTextColorHoverHorizontalInverted:n,itemTextColorChildActiveHorizontalInverted:n,itemTextColorChildActiveHoverHorizontalInverted:n,itemTextColorActiveHorizontalInverted:n,itemTextColorActiveHoverHorizontalInverted:n,itemIconColorInverted:e,itemIconColorHoverInverted:n,itemIconColorActiveInverted:n,itemIconColorActiveHoverInverted:n,itemIconColorChildActiveInverted:n,itemIconColorChildActiveHoverInverted:n,itemIconColorCollapsedInverted:e,itemIconColorHorizontalInverted:e,itemIconColorHoverHorizontalInverted:n,itemIconColorActiveHorizontalInverted:n,itemIconColorActiveHoverHorizontalInverted:n,itemIconColorChildActiveHorizontalInverted:n,itemIconColorChildActiveHoverHorizontalInverted:n,arrowColorInverted:e,arrowColorHoverInverted:n,arrowColorActiveInverted:n,arrowColorActiveHoverInverted:n,arrowColorChildActiveInverted:n,arrowColorChildActiveHoverInverted:n,groupTextColorInverted:o}}const nS=e=>{const{borderRadius:t,textColor3:n,primaryColor:o,textColor2:r,textColor1:i,fontSize:a,dividerColor:s,hoverColor:l,primaryColorHover:c}=e;return Object.assign({borderRadius:t,color:"#0000",groupTextColor:n,itemColorHover:l,itemColorActive:Me(o,{alpha:.1}),itemColorActiveHover:Me(o,{alpha:.1}),itemColorActiveCollapsed:Me(o,{alpha:.1}),itemTextColor:r,itemTextColorHover:r,itemTextColorActive:o,itemTextColorActiveHover:o,itemTextColorChildActive:o,itemTextColorChildActiveHover:o,itemTextColorHorizontal:r,itemTextColorHoverHorizontal:c,itemTextColorActiveHorizontal:o,itemTextColorActiveHoverHorizontal:o,itemTextColorChildActiveHorizontal:o,itemTextColorChildActiveHoverHorizontal:o,itemIconColor:i,itemIconColorHover:i,itemIconColorActive:o,itemIconColorActiveHover:o,itemIconColorChildActive:o,itemIconColorChildActiveHover:o,itemIconColorCollapsed:i,itemIconColorHorizontal:i,itemIconColorHoverHorizontal:c,itemIconColorActiveHorizontal:o,itemIconColorActiveHoverHorizontal:o,itemIconColorChildActiveHorizontal:o,itemIconColorChildActiveHoverHorizontal:o,itemHeight:"42px",arrowColor:r,arrowColorHover:r,arrowColorActive:o,arrowColorActiveHover:o,arrowColorChildActive:o,arrowColorChildActiveHover:o,colorInverted:"#0000",borderColorHorizontal:"#0000",fontSize:a,dividerColor:s},wK("#BBB",o,"#FFF","#AAA"))},_K={name:"Menu",common:bt,peers:{Tooltip:um,Dropdown:fm},self:nS},SK=_K,kK={name:"Menu",common:Ne,peers:{Tooltip:Iu,Dropdown:hm},self(e){const{primaryColor:t,primaryColorSuppl:n}=e,o=nS(e);return o.itemColorActive=Me(t,{alpha:.15}),o.itemColorActiveHover=Me(t,{alpha:.15}),o.itemColorActiveCollapsed=Me(t,{alpha:.15}),o.itemColorActiveInverted=n,o.itemColorActiveHoverInverted=n,o.itemColorActiveCollapsedInverted=n,o}},PK=kK,TK={titleFontSize:"18px",backSize:"22px"};function RK(e){const{textColor1:t,textColor2:n,textColor3:o,fontSize:r,fontWeightStrong:i,primaryColorHover:a,primaryColorPressed:s}=e;return Object.assign(Object.assign({},TK),{titleFontWeight:i,fontSize:r,titleTextColor:t,backColor:n,backColorHover:a,backColorPressed:s,subtitleTextColor:o})}const EK={name:"PageHeader",common:Ne,self:RK},$K={iconSize:"22px"},AK=e=>{const{fontSize:t,warningColor:n}=e;return Object.assign(Object.assign({},$K),{fontSize:t,iconColor:n})},IK={name:"Popconfirm",common:Ne,peers:{Button:Wn,Popover:Wi},self:AK},OK=IK,oS=e=>{const{infoColor:t,successColor:n,warningColor:o,errorColor:r,textColor2:i,progressRailColor:a,fontSize:s,fontWeight:l}=e;return{fontSize:s,fontSizeCircle:"28px",fontWeightCircle:l,railColor:a,railHeight:"8px",iconSizeCircle:"36px",iconSizeLine:"18px",iconColor:t,iconColorInfo:t,iconColorSuccess:n,iconColorWarning:o,iconColorError:r,textColorCircle:i,textColorLineInner:"rgb(255, 255, 255)",textColorLineOuter:i,fillColor:t,fillColorInfo:t,fillColorSuccess:n,fillColorWarning:o,fillColorError:r,lineBgProcessing:"linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)"}},MK={name:"Progress",common:bt,self:oS},zK=MK,DK={name:"Progress",common:Ne,self(e){const t=oS(e);return t.textColorLineInner="rgb(0, 0, 0)",t.lineBgProcessing="linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)",t}},rS=DK,LK={name:"Rate",common:Ne,self(e){const{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},FK=LK,BK={titleFontSizeSmall:"26px",titleFontSizeMedium:"32px",titleFontSizeLarge:"40px",titleFontSizeHuge:"48px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",iconSizeSmall:"64px",iconSizeMedium:"80px",iconSizeLarge:"100px",iconSizeHuge:"125px",iconColor418:void 0,iconColor404:void 0,iconColor403:void 0,iconColor500:void 0},iS=e=>{const{textColor2:t,textColor1:n,errorColor:o,successColor:r,infoColor:i,warningColor:a,lineHeight:s,fontWeightStrong:l}=e;return Object.assign(Object.assign({},BK),{lineHeight:s,titleFontWeight:l,titleTextColor:n,textColor:t,iconColorError:o,iconColorSuccess:r,iconColorInfo:i,iconColorWarning:a})},NK={name:"Result",common:bt,self:iS},HK=NK,jK={name:"Result",common:Ne,self:iS},VK=jK,WK={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},UK={name:"Slider",common:Ne,self(e){const t="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:n,modalColor:o,primaryColorSuppl:r,popoverColor:i,textColor2:a,cardColor:s,borderRadius:l,fontSize:c,opacityDisabled:u}=e;return Object.assign(Object.assign({},WK),{fontSize:c,markFontSize:c,railColor:n,railColorHover:n,fillColor:r,fillColorHover:r,opacityDisabled:u,handleColor:"#FFF",dotColor:s,dotColorModal:o,dotColorPopover:i,handleBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowHover:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowActive:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowFocus:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",indicatorColor:i,indicatorBoxShadow:t,indicatorTextColor:a,indicatorBorderRadius:l,dotBorder:`2px solid ${n}`,dotBorderActive:`2px solid ${r}`,dotBoxShadow:""})}},qK=UK,aS=e=>{const{opacityDisabled:t,heightTiny:n,heightSmall:o,heightMedium:r,heightLarge:i,heightHuge:a,primaryColor:s,fontSize:l}=e;return{fontSize:l,textColor:s,sizeTiny:n,sizeSmall:o,sizeMedium:r,sizeLarge:i,sizeHuge:a,color:s,opacitySpinning:t}},KK={name:"Spin",common:bt,self:aS},GK=KK,YK={name:"Spin",common:Ne,self:aS},XK=YK,ZK=e=>{const{textColor2:t,textColor3:n,fontSize:o,fontWeight:r}=e;return{labelFontSize:o,labelFontWeight:r,valueFontWeight:r,valueFontSize:"24px",labelTextColor:n,valuePrefixTextColor:t,valueSuffixTextColor:t,valueTextColor:t}},JK={name:"Statistic",common:Ne,self:ZK},QK=JK,eG={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"},tG=e=>{const{fontWeightStrong:t,baseColor:n,textColorDisabled:o,primaryColor:r,errorColor:i,textColor1:a,textColor2:s}=e;return Object.assign(Object.assign({},eG),{stepHeaderFontWeight:t,indicatorTextColorProcess:n,indicatorTextColorWait:o,indicatorTextColorFinish:r,indicatorTextColorError:i,indicatorBorderColorProcess:r,indicatorBorderColorWait:o,indicatorBorderColorFinish:r,indicatorBorderColorError:i,indicatorColorProcess:r,indicatorColorWait:"#0000",indicatorColorFinish:"#0000",indicatorColorError:"#0000",splitorColorProcess:o,splitorColorWait:o,splitorColorFinish:r,splitorColorError:o,headerTextColorProcess:a,headerTextColorWait:o,headerTextColorFinish:o,headerTextColorError:i,descriptionTextColorProcess:s,descriptionTextColorWait:o,descriptionTextColorFinish:o,descriptionTextColorError:i})},nG={name:"Steps",common:Ne,self:tG},oG=nG,sS={buttonHeightSmall:"14px",buttonHeightMedium:"18px",buttonHeightLarge:"22px",buttonWidthSmall:"14px",buttonWidthMedium:"18px",buttonWidthLarge:"22px",buttonWidthPressedSmall:"20px",buttonWidthPressedMedium:"24px",buttonWidthPressedLarge:"28px",railHeightSmall:"18px",railHeightMedium:"22px",railHeightLarge:"26px",railWidthSmall:"32px",railWidthMedium:"40px",railWidthLarge:"48px"},rG={name:"Switch",common:Ne,self(e){const{primaryColorSuppl:t,opacityDisabled:n,borderRadius:o,primaryColor:r,textColor2:i,baseColor:a}=e,s="rgba(255, 255, 255, .20)";return Object.assign(Object.assign({},sS),{iconColor:a,textColor:i,loadingColor:t,opacityDisabled:n,railColor:s,railColorActive:t,buttonBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 8px 0 ${Me(r,{alpha:.3})}`})}},iG=rG,aG=e=>{const{primaryColor:t,opacityDisabled:n,borderRadius:o,textColor3:r}=e,i="rgba(0, 0, 0, .14)";return Object.assign(Object.assign({},sS),{iconColor:r,textColor:"white",loadingColor:t,opacityDisabled:n,railColor:i,railColorActive:t,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 0 2px ${Me(t,{alpha:.2})}`})},sG={name:"Switch",common:bt,self:aG},lG=sG,cG={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"},uG=e=>{const{dividerColor:t,cardColor:n,modalColor:o,popoverColor:r,tableHeaderColor:i,tableColorStriped:a,textColor1:s,textColor2:l,borderRadius:c,fontWeightStrong:u,lineHeight:d,fontSizeSmall:f,fontSizeMedium:p,fontSizeLarge:h}=e;return Object.assign(Object.assign({},cG),{fontSizeSmall:f,fontSizeMedium:p,fontSizeLarge:h,lineHeight:d,borderRadius:c,borderColor:et(n,t),borderColorModal:et(o,t),borderColorPopover:et(r,t),tdColor:n,tdColorModal:o,tdColorPopover:r,tdColorStriped:et(n,a),tdColorStripedModal:et(o,a),tdColorStripedPopover:et(r,a),thColor:et(n,i),thColorModal:et(o,i),thColorPopover:et(r,i),thTextColor:s,tdTextColor:l,thFontWeight:u})},dG={name:"Table",common:Ne,self:uG},fG=dG,hG={tabFontSizeSmall:"14px",tabFontSizeMedium:"14px",tabFontSizeLarge:"16px",tabGapSmallLine:"36px",tabGapMediumLine:"36px",tabGapLargeLine:"36px",tabGapSmallLineVertical:"8px",tabGapMediumLineVertical:"8px",tabGapLargeLineVertical:"8px",tabPaddingSmallLine:"6px 0",tabPaddingMediumLine:"10px 0",tabPaddingLargeLine:"14px 0",tabPaddingVerticalSmallLine:"6px 12px",tabPaddingVerticalMediumLine:"8px 16px",tabPaddingVerticalLargeLine:"10px 20px",tabGapSmallBar:"36px",tabGapMediumBar:"36px",tabGapLargeBar:"36px",tabGapSmallBarVertical:"8px",tabGapMediumBarVertical:"8px",tabGapLargeBarVertical:"8px",tabPaddingSmallBar:"4px 0",tabPaddingMediumBar:"6px 0",tabPaddingLargeBar:"10px 0",tabPaddingVerticalSmallBar:"6px 12px",tabPaddingVerticalMediumBar:"8px 16px",tabPaddingVerticalLargeBar:"10px 20px",tabGapSmallCard:"4px",tabGapMediumCard:"4px",tabGapLargeCard:"4px",tabGapSmallCardVertical:"4px",tabGapMediumCardVertical:"4px",tabGapLargeCardVertical:"4px",tabPaddingSmallCard:"8px 16px",tabPaddingMediumCard:"10px 20px",tabPaddingLargeCard:"12px 24px",tabPaddingSmallSegment:"4px 0",tabPaddingMediumSegment:"6px 0",tabPaddingLargeSegment:"8px 0",tabPaddingVerticalLargeSegment:"0 8px",tabPaddingVerticalSmallCard:"8px 12px",tabPaddingVerticalMediumCard:"10px 16px",tabPaddingVerticalLargeCard:"12px 20px",tabPaddingVerticalSmallSegment:"0 4px",tabPaddingVerticalMediumSegment:"0 6px",tabGapSmallSegment:"0",tabGapMediumSegment:"0",tabGapLargeSegment:"0",tabGapSmallSegmentVertical:"0",tabGapMediumSegmentVertical:"0",tabGapLargeSegmentVertical:"0",panePaddingSmall:"8px 0 0 0",panePaddingMedium:"12px 0 0 0",panePaddingLarge:"16px 0 0 0",closeSize:"18px",closeIconSize:"14px"},pG=e=>{const{textColor2:t,primaryColor:n,textColorDisabled:o,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,tabColor:c,baseColor:u,dividerColor:d,fontWeight:f,textColor1:p,borderRadius:h,fontSize:m,fontWeightStrong:v}=e;return Object.assign(Object.assign({},hG),{colorSegment:c,tabFontSizeCard:m,tabTextColorLine:p,tabTextColorActiveLine:n,tabTextColorHoverLine:n,tabTextColorDisabledLine:o,tabTextColorSegment:p,tabTextColorActiveSegment:t,tabTextColorHoverSegment:t,tabTextColorDisabledSegment:o,tabTextColorBar:p,tabTextColorActiveBar:n,tabTextColorHoverBar:n,tabTextColorDisabledBar:o,tabTextColorCard:p,tabTextColorHoverCard:p,tabTextColorActiveCard:n,tabTextColorDisabledCard:o,barColor:n,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,closeBorderRadius:h,tabColor:c,tabColorSegment:u,tabBorderColor:d,tabFontWeightActive:f,tabFontWeight:f,tabBorderRadius:h,paneTextColor:t,fontWeightStrong:v})},mG={name:"Tabs",common:Ne,self(e){const t=pG(e),{inputColor:n}=e;return t.colorSegment=n,t.tabColorSegment=n,t}},gG=mG,vG=e=>{const{textColor1:t,textColor2:n,fontWeightStrong:o,fontSize:r}=e;return{fontSize:r,titleTextColor:t,textColor:n,titleFontWeight:o}},bG={name:"Thing",common:Ne,self:vG},yG=bG,xG={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},CG={name:"Timeline",common:Ne,self(e){const{textColor3:t,infoColorSuppl:n,errorColorSuppl:o,successColorSuppl:r,warningColorSuppl:i,textColor1:a,textColor2:s,railColor:l,fontWeightStrong:c,fontSize:u}=e;return Object.assign(Object.assign({},xG),{contentFontSize:u,titleFontWeight:c,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${n}`,circleBorderError:`2px solid ${o}`,circleBorderSuccess:`2px solid ${r}`,circleBorderWarning:`2px solid ${i}`,iconColor:t,iconColorInfo:n,iconColorError:o,iconColorSuccess:r,iconColorWarning:i,titleTextColor:a,contentTextColor:s,metaTextColor:t,lineColor:l})}},wG=CG,_G={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"},SG={name:"Transfer",common:Ne,peers:{Checkbox:ja,Scrollbar:Vn,Input:uo,Empty:ji,Button:Wn},self(e){const{fontWeight:t,fontSizeLarge:n,fontSizeMedium:o,fontSizeSmall:r,heightLarge:i,heightMedium:a,borderRadius:s,inputColor:l,tableHeaderColor:c,textColor1:u,textColorDisabled:d,textColor2:f,textColor3:p,hoverColor:h,closeColorHover:m,closeColorPressed:v,closeIconColor:b,closeIconColorHover:w,closeIconColorPressed:C,dividerColor:S}=e;return Object.assign(Object.assign({},_G),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:i,fontSizeSmall:r,fontSizeMedium:o,fontSizeLarge:n,borderRadius:s,dividerColor:S,borderColor:"#0000",listColor:l,headerColor:c,titleTextColor:u,titleTextColorDisabled:d,extraTextColor:p,extraTextColorDisabled:d,itemTextColor:f,itemTextColorDisabled:d,itemColorPending:h,titleFontWeight:t,closeColorHover:m,closeColorPressed:v,closeIconColor:b,closeIconColorHover:w,closeIconColorPressed:C})}},kG=SG,PG=e=>{const{borderRadiusSmall:t,dividerColor:n,hoverColor:o,pressedColor:r,primaryColor:i,textColor3:a,textColor2:s,textColorDisabled:l,fontSize:c}=e;return{fontSize:c,lineHeight:"1.5",nodeHeight:"30px",nodeWrapperPadding:"3px 0",nodeBorderRadius:t,nodeColorHover:o,nodeColorPressed:r,nodeColorActive:Me(i,{alpha:.1}),arrowColor:a,nodeTextColor:s,nodeTextColorDisabled:l,loadingColor:i,dropMarkColor:i,lineColor:n}},TG={name:"Tree",common:Ne,peers:{Checkbox:ja,Scrollbar:Vn,Empty:ji},self(e){const{primaryColor:t}=e,n=PG(e);return n.nodeColorActive=Me(t,{alpha:.15}),n}},lS=TG,RG={name:"TreeSelect",common:Ne,peers:{Tree:lS,Empty:ji,InternalSelection:em}},EG=RG,$G={headerFontSize1:"30px",headerFontSize2:"22px",headerFontSize3:"18px",headerFontSize4:"16px",headerFontSize5:"16px",headerFontSize6:"16px",headerMargin1:"28px 0 20px 0",headerMargin2:"28px 0 20px 0",headerMargin3:"28px 0 20px 0",headerMargin4:"28px 0 18px 0",headerMargin5:"28px 0 18px 0",headerMargin6:"28px 0 18px 0",headerPrefixWidth1:"16px",headerPrefixWidth2:"16px",headerPrefixWidth3:"12px",headerPrefixWidth4:"12px",headerPrefixWidth5:"12px",headerPrefixWidth6:"12px",headerBarWidth1:"4px",headerBarWidth2:"4px",headerBarWidth3:"3px",headerBarWidth4:"3px",headerBarWidth5:"3px",headerBarWidth6:"3px",pMargin:"16px 0 16px 0",liMargin:".25em 0 0 0",olPadding:"0 0 0 2em",ulPadding:"0 0 0 2em"},AG=e=>{const{primaryColor:t,textColor2:n,borderColor:o,lineHeight:r,fontSize:i,borderRadiusSmall:a,dividerColor:s,fontWeightStrong:l,textColor1:c,textColor3:u,infoColor:d,warningColor:f,errorColor:p,successColor:h,codeColor:m}=e;return Object.assign(Object.assign({},$G),{aTextColor:t,blockquoteTextColor:n,blockquotePrefixColor:o,blockquoteLineHeight:r,blockquoteFontSize:i,codeBorderRadius:a,liTextColor:n,liLineHeight:r,liFontSize:i,hrColor:s,headerFontWeight:l,headerTextColor:c,pTextColor:n,pTextColor1Depth:c,pTextColor2Depth:n,pTextColor3Depth:u,pLineHeight:r,pFontSize:i,headerBarColor:t,headerBarColorPrimary:t,headerBarColorInfo:d,headerBarColorError:p,headerBarColorWarning:f,headerBarColorSuccess:h,textColor:n,textColor1Depth:c,textColor2Depth:n,textColor3Depth:u,textColorPrimary:t,textColorInfo:d,textColorSuccess:h,textColorWarning:f,textColorError:p,codeTextColor:n,codeColor:m,codeBorder:"1px solid #0000"})},IG={name:"Typography",common:Ne,self:AG},OG=IG,MG=e=>{const{iconColor:t,primaryColor:n,errorColor:o,textColor2:r,successColor:i,opacityDisabled:a,actionColor:s,borderColor:l,hoverColor:c,lineHeight:u,borderRadius:d,fontSize:f}=e;return{fontSize:f,lineHeight:u,borderRadius:d,draggerColor:s,draggerBorder:`1px dashed ${l}`,draggerBorderHover:`1px dashed ${n}`,itemColorHover:c,itemColorHoverError:Me(o,{alpha:.06}),itemTextColor:r,itemTextColorError:o,itemTextColorSuccess:i,itemIconColor:t,itemDisabledOpacity:a,itemBorderImageCardError:`1px solid ${o}`,itemBorderImageCard:`1px solid ${l}`}},zG={name:"Upload",common:Ne,peers:{Button:Wn,Progress:rS},self(e){const{errorColor:t}=e,n=MG(e);return n.itemColorHoverError=Me(t,{alpha:.09}),n}},DG=zG,LG={name:"Watermark",common:Ne,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},FG=LG,BG={name:"Row",common:Ne},NG=BG,HG={name:"FloatButton",common:Ne,self(e){const{popoverColor:t,textColor2:n,buttonColor2Hover:o,buttonColor2Pressed:r,primaryColor:i,primaryColorHover:a,primaryColorPressed:s,baseColor:l,borderRadius:c}=e;return{color:t,textColor:n,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)",colorHover:o,colorPressed:r,colorPrimary:i,colorPrimaryHover:a,colorPrimaryPressed:s,textColorPrimary:l,borderRadiusSquare:c}}},jG=HG,VG=e=>{const{primaryColor:t,baseColor:n}=e;return{color:t,iconColor:n}},WG={name:"IconWrapper",common:Ne,self:VG},UG=WG,qG={name:"Image",common:Ne,peers:{Tooltip:Iu},self:e=>{const{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}};function KG(e){return e==null||typeof e=="string"&&e.trim()===""?null:Number(e)}function GG(e){return e.includes(".")&&(/^(-)?\d+.*(\.|0)$/.test(e)||/^\.\d+$/.test(e))}function Yd(e){return e==null?!0:!Number.isNaN(e)}function G0(e,t){return e==null?"":t===void 0?String(e):e.toFixed(t)}function Xd(e){if(e===null)return null;if(typeof e=="number")return e;{const t=Number(e);return Number.isNaN(t)?null:t}}const YG=q([z("input-number-suffix",` display: inline-block; margin-right: 10px; `),z("input-number-prefix",` display: inline-block; margin-left: 10px; - `)]),K0=800,G0=100,HG=Object.assign(Object.assign({},Be.props),{autofocus:Boolean,loading:{type:Boolean,default:void 0},placeholder:String,defaultValue:{type:Number,default:null},value:Number,step:{type:[Number,String],default:1},min:[Number,String],max:[Number,String],size:String,disabled:{type:Boolean,default:void 0},validator:Function,bordered:{type:Boolean,default:void 0},showButton:{type:Boolean,default:!0},buttonPlacement:{type:String,default:"right"},inputProps:Object,readonly:Boolean,clearable:Boolean,keyboard:{type:Object,default:{}},updateValueOnInput:{type:Boolean,default:!0},parse:Function,format:Function,precision:Number,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onChange:[Function,Array]}),jG=me({name:"InputNumber",props:HG,setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:n,mergedRtlRef:o}=it(e),r=Be("InputNumber","-input-number",NG,eK,e,n),{localeRef:i}=Li("InputNumber"),a=dr(e),{mergedSizeRef:s,mergedDisabledRef:l,mergedStatusRef:c}=a,u=F(null),d=F(null),f=F(null),p=F(e.defaultValue),h=je(e,"value"),g=ln(h,p),b=F(""),m=G=>{const se=String(G).split(".")[1];return se?se.length:0},x=G=>{const se=[e.min,e.max,e.step,G].map(xe=>xe===void 0?0:m(xe));return Math.max(...se)},S=St(()=>{const{placeholder:G}=e;return G!==void 0?G:i.value.placeholder}),_=St(()=>{const G=Xd(e.step);return G!==null?G===0?1:Math.abs(G):1}),w=St(()=>{const G=Xd(e.min);return G!==null?G:null}),C=St(()=>{const G=Xd(e.max);return G!==null?G:null}),y=G=>{const{value:se}=g;if(G===se){R();return}const{"onUpdate:value":xe,onUpdateValue:ye,onChange:Ce}=e,{nTriggerFormInput:we,nTriggerFormChange:Ee}=a;Ce&&Re(Ce,G),ye&&Re(ye,G),xe&&Re(xe,G),p.value=G,we(),Ee()},k=({offset:G,doUpdateIfValid:se,fixPrecision:xe,isInputing:ye})=>{const{value:Ce}=b;if(ye&&BG(Ce))return!1;const we=(e.parse||FG)(Ce);if(we===null)return se&&y(null),null;if(Yd(we)){const Ee=m(we),{precision:de}=e;if(de!==void 0&&defe){if(!se||ye)return!1;ee=fe}if(Te!==null&&ee{const{value:G}=g;if(Yd(G)){const{format:se,precision:xe}=e;se?b.value=se(G):G===null||xe===void 0||m(G)>xe?b.value=q0(G,void 0):b.value=q0(G,xe)}else b.value=String(G)};R();const $=St(()=>k({offset:0,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})===!1),I=St(()=>{const{value:G}=g;if(e.validator&&G===null)return!1;const{value:se}=_;return k({offset:-se,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1}),A=St(()=>{const{value:G}=g;if(e.validator&&G===null)return!1;const{value:se}=_;return k({offset:+se,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1});function K(G){const{onFocus:se}=e,{nTriggerFormFocus:xe}=a;se&&Re(se,G),xe()}function B(G){var se,xe;if(G.target===((se=u.value)===null||se===void 0?void 0:se.wrapperElRef))return;const ye=k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});if(ye!==!1){const Ee=(xe=u.value)===null||xe===void 0?void 0:xe.inputElRef;Ee&&(Ee.value=String(ye||"")),g.value===ye&&R()}else R();const{onBlur:Ce}=e,{nTriggerFormBlur:we}=a;Ce&&Re(Ce,G),we(),jt(()=>{R()})}function M(G){const{onClear:se}=e;se&&Re(se,G)}function D(){const{value:G}=A;if(!G){J();return}const{value:se}=g;if(se===null)e.validator||y(le());else{const{value:xe}=_;k({offset:xe,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function Y(){const{value:G}=I;if(!G){ve();return}const{value:se}=g;if(se===null)e.validator||y(le());else{const{value:xe}=_;k({offset:-xe,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}const Q=K,ue=B;function le(){if(e.validator)return null;const{value:G}=w,{value:se}=C;return G!==null?Math.max(0,G):se!==null?Math.min(0,se):0}function N(G){M(G),y(null)}function E(G){var se,xe,ye;!((se=f.value)===null||se===void 0)&&se.$el.contains(G.target)&&G.preventDefault(),!((xe=d.value)===null||xe===void 0)&&xe.$el.contains(G.target)&&G.preventDefault(),(ye=u.value)===null||ye===void 0||ye.activate()}let O=null,q=null,ne=null;function ve(){ne&&(window.clearTimeout(ne),ne=null),O&&(window.clearInterval(O),O=null)}function J(){H&&(window.clearTimeout(H),H=null),q&&(window.clearInterval(q),q=null)}function be(){ve(),ne=window.setTimeout(()=>{O=window.setInterval(()=>{Y()},G0)},K0),Ot("mouseup",document,ve,{once:!0})}let H=null;function ge(){J(),H=window.setTimeout(()=>{q=window.setInterval(()=>{D()},G0)},K0),Ot("mouseup",document,J,{once:!0})}const Ie=()=>{q||D()},Le=()=>{O||Y()};function P(G){var se,xe;if(G.key==="Enter"){if(G.target===((se=u.value)===null||se===void 0?void 0:se.wrapperElRef))return;k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&((xe=u.value)===null||xe===void 0||xe.deactivate())}else if(G.key==="ArrowUp"){if(!A.value||e.keyboard.ArrowUp===!1)return;G.preventDefault(),k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&D()}else if(G.key==="ArrowDown"){if(!I.value||e.keyboard.ArrowDown===!1)return;G.preventDefault(),k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&Y()}}function T(G){b.value=G,e.updateValueOnInput&&!e.format&&!e.parse&&e.precision===void 0&&k({offset:0,doUpdateIfValid:!0,isInputing:!0,fixPrecision:!1})}ht(g,()=>{R()});const W={focus:()=>{var G;return(G=u.value)===null||G===void 0?void 0:G.focus()},blur:()=>{var G;return(G=u.value)===null||G===void 0?void 0:G.blur()},select:()=>{var G;return(G=u.value)===null||G===void 0?void 0:G.select()}},oe=pn("InputNumber",o,n);return Object.assign(Object.assign({},W),{rtlEnabled:oe,inputInstRef:u,minusButtonInstRef:d,addButtonInstRef:f,mergedClsPrefix:n,mergedBordered:t,uncontrolledValue:p,mergedValue:g,mergedPlaceholder:S,displayedValueInvalid:$,mergedSize:s,mergedDisabled:l,displayedValue:b,addable:A,minusable:I,mergedStatus:c,handleFocus:Q,handleBlur:ue,handleClear:N,handleMouseDown:E,handleAddClick:Ie,handleMinusClick:Le,handleAddMousedown:ge,handleMinusMousedown:be,handleKeyDown:P,handleUpdateDisplayedValue:T,mergedTheme:r,inputThemeOverrides:{paddingSmall:"0 8px 0 10px",paddingMedium:"0 8px 0 12px",paddingLarge:"0 8px 0 14px"},buttonThemeOverrides:L(()=>{const{self:{iconColorDisabled:G}}=r.value,[se,xe,ye,Ce]=Wo(G);return{textColorTextDisabled:`rgb(${se}, ${xe}, ${ye})`,opacityDisabled:`${Ce}`}})})},render(){const{mergedClsPrefix:e,$slots:t}=this,n=()=>v(E0,{text:!0,disabled:!this.minusable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleMinusClick,onMousedown:this.handleMinusMousedown,ref:"minusButtonInstRef"},{icon:()=>An(t["minus-icon"],()=>[v(Ut,{clsPrefix:e},{default:()=>v(BB,null)})])}),o=()=>v(E0,{text:!0,disabled:!this.addable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleAddClick,onMousedown:this.handleAddMousedown,ref:"addButtonInstRef"},{icon:()=>An(t["add-icon"],()=>[v(Ut,{clsPrefix:e},{default:()=>v(AB,null)})])});return v("div",{class:[`${e}-input-number`,this.rtlEnabled&&`${e}-input-number--rtl`]},v(_o,{ref:"inputInstRef",autofocus:this.autofocus,status:this.mergedStatus,bordered:this.mergedBordered,loading:this.loading,value:this.displayedValue,onUpdateValue:this.handleUpdateDisplayedValue,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,builtinThemeOverrides:this.inputThemeOverrides,size:this.mergedSize,placeholder:this.mergedPlaceholder,disabled:this.mergedDisabled,readonly:this.readonly,textDecoration:this.displayedValueInvalid?"line-through":void 0,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onClear:this.handleClear,clearable:this.clearable,inputProps:this.inputProps,internalLoadingBeforeSuffix:!0},{prefix:()=>{var r;return this.showButton&&this.buttonPlacement==="both"?[n(),Et(t.prefix,i=>i?v("span",{class:`${e}-input-number-prefix`},i):null)]:(r=t.prefix)===null||r===void 0?void 0:r.call(t)},suffix:()=>{var r;return this.showButton?[Et(t.suffix,i=>i?v("span",{class:`${e}-input-number-suffix`},i):null),this.buttonPlacement==="right"?n():null,o()]:(r=t.suffix)===null||r===void 0?void 0:r.call(t)}}))}}),eS="n-layout-sider",tS={type:String,default:"static"},VG=z("layout",` + `)]),Y0=800,X0=100,XG=Object.assign(Object.assign({},Be.props),{autofocus:Boolean,loading:{type:Boolean,default:void 0},placeholder:String,defaultValue:{type:Number,default:null},value:Number,step:{type:[Number,String],default:1},min:[Number,String],max:[Number,String],size:String,disabled:{type:Boolean,default:void 0},validator:Function,bordered:{type:Boolean,default:void 0},showButton:{type:Boolean,default:!0},buttonPlacement:{type:String,default:"right"},inputProps:Object,readonly:Boolean,clearable:Boolean,keyboard:{type:Object,default:{}},updateValueOnInput:{type:Boolean,default:!0},parse:Function,format:Function,precision:Number,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onChange:[Function,Array]}),ZG=ge({name:"InputNumber",props:XG,setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:n,mergedRtlRef:o}=st(e),r=Be("InputNumber","-input-number",YG,rK,e,n),{localeRef:i}=Di("InputNumber"),a=fr(e),{mergedSizeRef:s,mergedDisabledRef:l,mergedStatusRef:c}=a,u=W(null),d=W(null),f=W(null),p=W(e.defaultValue),h=Ve(e,"value"),m=sn(h,p),v=W(""),b=ee=>{const be=String(ee).split(".")[1];return be?be.length:0},w=ee=>{const be=[e.min,e.max,e.step,ee].map(Pe=>Pe===void 0?0:b(Pe));return Math.max(...be)},C=St(()=>{const{placeholder:ee}=e;return ee!==void 0?ee:i.value.placeholder}),S=St(()=>{const ee=Xd(e.step);return ee!==null?ee===0?1:Math.abs(ee):1}),_=St(()=>{const ee=Xd(e.min);return ee!==null?ee:null}),x=St(()=>{const ee=Xd(e.max);return ee!==null?ee:null}),y=ee=>{const{value:be}=m;if(ee===be){P();return}const{"onUpdate:value":Pe,onUpdateValue:I,onChange:N}=e,{nTriggerFormInput:te,nTriggerFormChange:Ce}=a;N&&Ee(N,ee),I&&Ee(I,ee),Pe&&Ee(Pe,ee),p.value=ee,te(),Ce()},k=({offset:ee,doUpdateIfValid:be,fixPrecision:Pe,isInputing:I})=>{const{value:N}=v;if(I&&GG(N))return!1;const te=(e.parse||KG)(N);if(te===null)return be&&y(null),null;if(Yd(te)){const Ce=b(te),{precision:ae}=e;if(ae!==void 0&&aeoe){if(!be||I)return!1;fe=oe}if(ue!==null&&fe{const{value:ee}=m;if(Yd(ee)){const{format:be,precision:Pe}=e;be?v.value=be(ee):ee===null||Pe===void 0||b(ee)>Pe?v.value=G0(ee,void 0):v.value=G0(ee,Pe)}else v.value=String(ee)};P();const T=St(()=>k({offset:0,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})===!1),$=St(()=>{const{value:ee}=m;if(e.validator&&ee===null)return!1;const{value:be}=S;return k({offset:-be,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1}),R=St(()=>{const{value:ee}=m;if(e.validator&&ee===null)return!1;const{value:be}=S;return k({offset:+be,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1});function K(ee){const{onFocus:be}=e,{nTriggerFormFocus:Pe}=a;be&&Ee(be,ee),Pe()}function H(ee){var be,Pe;if(ee.target===((be=u.value)===null||be===void 0?void 0:be.wrapperElRef))return;const I=k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});if(I!==!1){const Ce=(Pe=u.value)===null||Pe===void 0?void 0:Pe.inputElRef;Ce&&(Ce.value=String(I||"")),m.value===I&&P()}else P();const{onBlur:N}=e,{nTriggerFormBlur:te}=a;N&&Ee(N,ee),te(),Ht(()=>{P()})}function D(ee){const{onClear:be}=e;be&&Ee(be,ee)}function M(){const{value:ee}=R;if(!ee){J();return}const{value:be}=m;if(be===null)e.validator||y(he());else{const{value:Pe}=S;k({offset:Pe,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function Y(){const{value:ee}=$;if(!ee){ye();return}const{value:be}=m;if(be===null)e.validator||y(he());else{const{value:Pe}=S;k({offset:-Pe,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}const Q=K,de=H;function he(){if(e.validator)return null;const{value:ee}=_,{value:be}=x;return ee!==null?Math.max(0,ee):be!==null?Math.min(0,be):0}function B(ee){D(ee),y(null)}function E(ee){var be,Pe,I;!((be=f.value)===null||be===void 0)&&be.$el.contains(ee.target)&&ee.preventDefault(),!((Pe=d.value)===null||Pe===void 0)&&Pe.$el.contains(ee.target)&&ee.preventDefault(),(I=u.value)===null||I===void 0||I.activate()}let A=null,G=null,ne=null;function ye(){ne&&(window.clearTimeout(ne),ne=null),A&&(window.clearInterval(A),A=null)}function J(){j&&(window.clearTimeout(j),j=null),G&&(window.clearInterval(G),G=null)}function xe(){ye(),ne=window.setTimeout(()=>{A=window.setInterval(()=>{Y()},X0)},Y0),It("mouseup",document,ye,{once:!0})}let j=null;function ve(){J(),j=window.setTimeout(()=>{G=window.setInterval(()=>{M()},X0)},Y0),It("mouseup",document,J,{once:!0})}const Oe=()=>{G||M()},Le=()=>{A||Y()};function F(ee){var be,Pe;if(ee.key==="Enter"){if(ee.target===((be=u.value)===null||be===void 0?void 0:be.wrapperElRef))return;k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&((Pe=u.value)===null||Pe===void 0||Pe.deactivate())}else if(ee.key==="ArrowUp"){if(!R.value||e.keyboard.ArrowUp===!1)return;ee.preventDefault(),k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&M()}else if(ee.key==="ArrowDown"){if(!$.value||e.keyboard.ArrowDown===!1)return;ee.preventDefault(),k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&Y()}}function O(ee){v.value=ee,e.updateValueOnInput&&!e.format&&!e.parse&&e.precision===void 0&&k({offset:0,doUpdateIfValid:!0,isInputing:!0,fixPrecision:!1})}ft(m,()=>{P()});const re={focus:()=>{var ee;return(ee=u.value)===null||ee===void 0?void 0:ee.focus()},blur:()=>{var ee;return(ee=u.value)===null||ee===void 0?void 0:ee.blur()},select:()=>{var ee;return(ee=u.value)===null||ee===void 0?void 0:ee.select()}},_e=pn("InputNumber",o,n);return Object.assign(Object.assign({},re),{rtlEnabled:_e,inputInstRef:u,minusButtonInstRef:d,addButtonInstRef:f,mergedClsPrefix:n,mergedBordered:t,uncontrolledValue:p,mergedValue:m,mergedPlaceholder:C,displayedValueInvalid:T,mergedSize:s,mergedDisabled:l,displayedValue:v,addable:R,minusable:$,mergedStatus:c,handleFocus:Q,handleBlur:de,handleClear:B,handleMouseDown:E,handleAddClick:Oe,handleMinusClick:Le,handleAddMousedown:ve,handleMinusMousedown:xe,handleKeyDown:F,handleUpdateDisplayedValue:O,mergedTheme:r,inputThemeOverrides:{paddingSmall:"0 8px 0 10px",paddingMedium:"0 8px 0 12px",paddingLarge:"0 8px 0 14px"},buttonThemeOverrides:L(()=>{const{self:{iconColorDisabled:ee}}=r.value,[be,Pe,I,N]=jo(ee);return{textColorTextDisabled:`rgb(${be}, ${Pe}, ${I})`,opacityDisabled:`${N}`}})})},render(){const{mergedClsPrefix:e,$slots:t}=this,n=()=>g(I0,{text:!0,disabled:!this.minusable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleMinusClick,onMousedown:this.handleMinusMousedown,ref:"minusButtonInstRef"},{icon:()=>An(t["minus-icon"],()=>[g(Ut,{clsPrefix:e},{default:()=>g(KB,null)})])}),o=()=>g(I0,{text:!0,disabled:!this.addable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleAddClick,onMousedown:this.handleAddMousedown,ref:"addButtonInstRef"},{icon:()=>An(t["add-icon"],()=>[g(Ut,{clsPrefix:e},{default:()=>g(BB,null)})])});return g("div",{class:[`${e}-input-number`,this.rtlEnabled&&`${e}-input-number--rtl`]},g(lr,{ref:"inputInstRef",autofocus:this.autofocus,status:this.mergedStatus,bordered:this.mergedBordered,loading:this.loading,value:this.displayedValue,onUpdateValue:this.handleUpdateDisplayedValue,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,builtinThemeOverrides:this.inputThemeOverrides,size:this.mergedSize,placeholder:this.mergedPlaceholder,disabled:this.mergedDisabled,readonly:this.readonly,textDecoration:this.displayedValueInvalid?"line-through":void 0,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onClear:this.handleClear,clearable:this.clearable,inputProps:this.inputProps,internalLoadingBeforeSuffix:!0},{prefix:()=>{var r;return this.showButton&&this.buttonPlacement==="both"?[n(),Et(t.prefix,i=>i?g("span",{class:`${e}-input-number-prefix`},i):null)]:(r=t.prefix)===null||r===void 0?void 0:r.call(t)},suffix:()=>{var r;return this.showButton?[Et(t.suffix,i=>i?g("span",{class:`${e}-input-number-suffix`},i):null),this.buttonPlacement==="right"?n():null,o()]:(r=t.suffix)===null||r===void 0?void 0:r.call(t)}}))}}),cS="n-layout-sider",uS={type:String,default:"static"},JG=z("layout",` color: var(--n-text-color); background-color: var(--n-color); box-sizing: border-box; @@ -2732,7 +2761,7 @@ ${t} right: 0; top: 0; bottom: 0; - `)]),WG={embedded:Boolean,position:tS,nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,onScroll:Function,contentClass:String,contentStyle:{type:[String,Object],default:""},hasSider:Boolean,siderPlacement:{type:String,default:"left"}},nS="n-layout";function UG(e){return me({name:e?"LayoutContent":"Layout",props:Object.assign(Object.assign({},Be.props),WG),setup(t){const n=F(null),o=F(null),{mergedClsPrefixRef:r,inlineThemeDisabled:i}=it(t),a=Be("Layout","-layout",VG,U2,t,r);function s(g,b){if(t.nativeScrollbar){const{value:m}=n;m&&(b===void 0?m.scrollTo(g):m.scrollTo(g,b))}else{const{value:m}=o;m&&m.scrollTo(g,b)}}lt(nS,t);let l=0,c=0;const u=g=>{var b;const m=g.target;l=m.scrollLeft,c=m.scrollTop,(b=t.onScroll)===null||b===void 0||b.call(t,g)};Fp(()=>{if(t.nativeScrollbar){const g=n.value;g&&(g.scrollTop=c,g.scrollLeft=l)}});const d={display:"flex",flexWrap:"nowrap",width:"100%",flexDirection:"row"},f={scrollTo:s},p=L(()=>{const{common:{cubicBezierEaseInOut:g},self:b}=a.value;return{"--n-bezier":g,"--n-color":t.embedded?b.colorEmbedded:b.color,"--n-text-color":b.textColor}}),h=i?kt("layout",L(()=>t.embedded?"e":""),p,t):void 0;return Object.assign({mergedClsPrefix:r,scrollableElRef:n,scrollbarInstRef:o,hasSiderStyle:d,mergedTheme:a,handleNativeElScroll:u,cssVars:i?void 0:p,themeClass:h==null?void 0:h.themeClass,onRender:h==null?void 0:h.onRender},f)},render(){var t;const{mergedClsPrefix:n,hasSider:o}=this;(t=this.onRender)===null||t===void 0||t.call(this);const r=o?this.hasSiderStyle:void 0,i=[this.themeClass,e&&`${n}-layout-content`,`${n}-layout`,`${n}-layout--${this.position}-positioned`];return v("div",{class:i,style:this.cssVars},this.nativeScrollbar?v("div",{ref:"scrollableElRef",class:[`${n}-layout-scroll-container`,this.contentClass],style:[this.contentStyle,r],onScroll:this.handleNativeElScroll},this.$slots):v(ko,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:this.contentClass,contentStyle:[this.contentStyle,r]}),this.$slots))}})}const qG=UG(!1),KG=z("layout-sider",` + `)]),QG={embedded:Boolean,position:uS,nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,onScroll:Function,contentClass:String,contentStyle:{type:[String,Object],default:""},hasSider:Boolean,siderPlacement:{type:String,default:"left"}},dS="n-layout";function eY(e){return ge({name:e?"LayoutContent":"Layout",props:Object.assign(Object.assign({},Be.props),QG),setup(t){const n=W(null),o=W(null),{mergedClsPrefixRef:r,inlineThemeDisabled:i}=st(t),a=Be("Layout","-layout",JG,eS,t,r);function s(m,v){if(t.nativeScrollbar){const{value:b}=n;b&&(v===void 0?b.scrollTo(m):b.scrollTo(m,v))}else{const{value:b}=o;b&&b.scrollTo(m,v)}}at(dS,t);let l=0,c=0;const u=m=>{var v;const b=m.target;l=b.scrollLeft,c=b.scrollTop,(v=t.onScroll)===null||v===void 0||v.call(t,m)};Fp(()=>{if(t.nativeScrollbar){const m=n.value;m&&(m.scrollTop=c,m.scrollLeft=l)}});const d={display:"flex",flexWrap:"nowrap",width:"100%",flexDirection:"row"},f={scrollTo:s},p=L(()=>{const{common:{cubicBezierEaseInOut:m},self:v}=a.value;return{"--n-bezier":m,"--n-color":t.embedded?v.colorEmbedded:v.color,"--n-text-color":v.textColor}}),h=i?kt("layout",L(()=>t.embedded?"e":""),p,t):void 0;return Object.assign({mergedClsPrefix:r,scrollableElRef:n,scrollbarInstRef:o,hasSiderStyle:d,mergedTheme:a,handleNativeElScroll:u,cssVars:i?void 0:p,themeClass:h==null?void 0:h.themeClass,onRender:h==null?void 0:h.onRender},f)},render(){var t;const{mergedClsPrefix:n,hasSider:o}=this;(t=this.onRender)===null||t===void 0||t.call(this);const r=o?this.hasSiderStyle:void 0,i=[this.themeClass,e&&`${n}-layout-content`,`${n}-layout`,`${n}-layout--${this.position}-positioned`];return g("div",{class:i,style:this.cssVars},this.nativeScrollbar?g("div",{ref:"scrollableElRef",class:[`${n}-layout-scroll-container`,this.contentClass],style:[this.contentStyle,r],onScroll:this.handleNativeElScroll},this.$slots):g(To,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:this.contentClass,contentStyle:[this.contentStyle,r]}),this.$slots))}})}const tY=eY(!1),nY=z("layout-sider",` flex-shrink: 0; box-sizing: border-box; position: relative; @@ -2764,7 +2793,7 @@ ${t} left: 0; `)]),Z("collapsed",[z("layout-toggle-button",[z("base-icon",` transform: rotate(180deg); - `)]),z("layout-toggle-bar",[U("&:hover",[V("top",{transform:"rotate(-12deg) scale(1.15) translateY(-2px)"}),V("bottom",{transform:"rotate(12deg) scale(1.15) translateY(2px)"})])])]),z("layout-toggle-button",` + `)]),z("layout-toggle-bar",[q("&:hover",[V("top",{transform:"rotate(-12deg) scale(1.15) translateY(-2px)"}),V("bottom",{transform:"rotate(12deg) scale(1.15) translateY(2px)"})])])]),z("layout-toggle-button",` left: 0; transform: translateX(-50%) translateY(-50%); `,[z("base-icon",` @@ -2772,7 +2801,7 @@ ${t} `)]),z("layout-toggle-bar",` left: -28px; transform: rotate(180deg); - `,[U("&:hover",[V("top",{transform:"rotate(12deg) scale(1.15) translateY(-2px)"}),V("bottom",{transform:"rotate(-12deg) scale(1.15) translateY(2px)"})])])]),Z("collapsed",[z("layout-toggle-bar",[U("&:hover",[V("top",{transform:"rotate(-12deg) scale(1.15) translateY(-2px)"}),V("bottom",{transform:"rotate(12deg) scale(1.15) translateY(2px)"})])]),z("layout-toggle-button",[z("base-icon",` + `,[q("&:hover",[V("top",{transform:"rotate(12deg) scale(1.15) translateY(-2px)"}),V("bottom",{transform:"rotate(-12deg) scale(1.15) translateY(2px)"})])])]),Z("collapsed",[z("layout-toggle-bar",[q("&:hover",[V("top",{transform:"rotate(-12deg) scale(1.15) translateY(-2px)"}),V("bottom",{transform:"rotate(12deg) scale(1.15) translateY(2px)"})])]),z("layout-toggle-button",[z("base-icon",` transform: rotate(0); `)])]),z("layout-toggle-button",` transition: @@ -2820,7 +2849,7 @@ ${t} `),V("bottom",` position: absolute; top: 34px; - `),U("&:hover",[V("top",{transform:"rotate(12deg) scale(1.15) translateY(-2px)"}),V("bottom",{transform:"rotate(-12deg) scale(1.15) translateY(2px)"})]),V("top, bottom",{backgroundColor:"var(--n-toggle-bar-color)"}),U("&:hover",[V("top, bottom",{backgroundColor:"var(--n-toggle-bar-color-hover)"})])]),V("border",` + `),q("&:hover",[V("top",{transform:"rotate(12deg) scale(1.15) translateY(-2px)"}),V("bottom",{transform:"rotate(-12deg) scale(1.15) translateY(2px)"})]),V("top, bottom",{backgroundColor:"var(--n-toggle-bar-color)"}),q("&:hover",[V("top, bottom",{backgroundColor:"var(--n-toggle-bar-color-hover)"})])]),V("border",` position: absolute; top: 0; right: 0; @@ -2840,7 +2869,7 @@ ${t} left: 0; top: 0; bottom: 0; - `)]),GG=me({name:"LayoutToggleButton",props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return v("div",{class:`${e}-layout-toggle-button`,onClick:this.onClick},v(Ut,{clsPrefix:e},{default:()=>v(Zp,null)}))}}),YG=me({props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return v("div",{onClick:this.onClick,class:`${e}-layout-toggle-bar`},v("div",{class:`${e}-layout-toggle-bar__top`}),v("div",{class:`${e}-layout-toggle-bar__bottom`}))}}),XG={position:tS,bordered:Boolean,collapsedWidth:{type:Number,default:48},width:{type:[Number,String],default:272},contentClass:String,contentStyle:{type:[String,Object],default:""},collapseMode:{type:String,default:"transform"},collapsed:{type:Boolean,default:void 0},defaultCollapsed:Boolean,showCollapsedContent:{type:Boolean,default:!0},showTrigger:{type:[Boolean,String],default:!1},nativeScrollbar:{type:Boolean,default:!0},inverted:Boolean,scrollbarProps:Object,triggerClass:String,triggerStyle:[String,Object],collapsedTriggerClass:String,collapsedTriggerStyle:[String,Object],"onUpdate:collapsed":[Function,Array],onUpdateCollapsed:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,onExpand:[Function,Array],onCollapse:[Function,Array],onScroll:Function},ZG=me({name:"LayoutSider",props:Object.assign(Object.assign({},Be.props),XG),setup(e){const t=We(nS),n=F(null),o=F(null),r=L(()=>qt(l.value?e.collapsedWidth:e.width)),i=L(()=>e.collapseMode!=="transform"?{}:{minWidth:qt(e.width)}),a=L(()=>t?t.siderPlacement:"left"),s=F(e.defaultCollapsed),l=ln(je(e,"collapsed"),s);function c(w,C){if(e.nativeScrollbar){const{value:y}=n;y&&(C===void 0?y.scrollTo(w):y.scrollTo(w,C))}else{const{value:y}=o;y&&y.scrollTo(w,C)}}function u(){const{"onUpdate:collapsed":w,onUpdateCollapsed:C,onExpand:y,onCollapse:k}=e,{value:R}=l;C&&Re(C,!R),w&&Re(w,!R),s.value=!R,R?y&&Re(y):k&&Re(k)}let d=0,f=0;const p=w=>{var C;const y=w.target;d=y.scrollLeft,f=y.scrollTop,(C=e.onScroll)===null||C===void 0||C.call(e,w)};Fp(()=>{if(e.nativeScrollbar){const w=n.value;w&&(w.scrollTop=f,w.scrollLeft=d)}}),lt(eS,{collapsedRef:l,collapseModeRef:je(e,"collapseMode")});const{mergedClsPrefixRef:h,inlineThemeDisabled:g}=it(e),b=Be("Layout","-layout-sider",KG,U2,e,h);function m(w){var C,y;w.propertyName==="max-width"&&(l.value?(C=e.onAfterLeave)===null||C===void 0||C.call(e):(y=e.onAfterEnter)===null||y===void 0||y.call(e))}const x={scrollTo:c},S=L(()=>{const{common:{cubicBezierEaseInOut:w},self:C}=b.value,{siderToggleButtonColor:y,siderToggleButtonBorder:k,siderToggleBarColor:R,siderToggleBarColorHover:$}=C,I={"--n-bezier":w,"--n-toggle-button-color":y,"--n-toggle-button-border":k,"--n-toggle-bar-color":R,"--n-toggle-bar-color-hover":$};return e.inverted?(I["--n-color"]=C.siderColorInverted,I["--n-text-color"]=C.textColorInverted,I["--n-border-color"]=C.siderBorderColorInverted,I["--n-toggle-button-icon-color"]=C.siderToggleButtonIconColorInverted,I.__invertScrollbar=C.__invertScrollbar):(I["--n-color"]=C.siderColor,I["--n-text-color"]=C.textColor,I["--n-border-color"]=C.siderBorderColor,I["--n-toggle-button-icon-color"]=C.siderToggleButtonIconColor),I}),_=g?kt("layout-sider",L(()=>e.inverted?"a":"b"),S,e):void 0;return Object.assign({scrollableElRef:n,scrollbarInstRef:o,mergedClsPrefix:h,mergedTheme:b,styleMaxWidth:r,mergedCollapsed:l,scrollContainerStyle:i,siderPlacement:a,handleNativeElScroll:p,handleTransitionend:m,handleTriggerClick:u,inlineThemeDisabled:g,cssVars:S,themeClass:_==null?void 0:_.themeClass,onRender:_==null?void 0:_.onRender},x)},render(){var e;const{mergedClsPrefix:t,mergedCollapsed:n,showTrigger:o}=this;return(e=this.onRender)===null||e===void 0||e.call(this),v("aside",{class:[`${t}-layout-sider`,this.themeClass,`${t}-layout-sider--${this.position}-positioned`,`${t}-layout-sider--${this.siderPlacement}-placement`,this.bordered&&`${t}-layout-sider--bordered`,n&&`${t}-layout-sider--collapsed`,(!n||this.showCollapsedContent)&&`${t}-layout-sider--show-content`],onTransitionend:this.handleTransitionend,style:[this.inlineThemeDisabled?void 0:this.cssVars,{maxWidth:this.styleMaxWidth,width:qt(this.width)}]},this.nativeScrollbar?v("div",{class:[`${t}-layout-sider-scroll-container`,this.contentClass],onScroll:this.handleNativeElScroll,style:[this.scrollContainerStyle,{overflow:"auto"},this.contentStyle],ref:"scrollableElRef"},this.$slots):v(ko,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",style:this.scrollContainerStyle,contentStyle:this.contentStyle,contentClass:this.contentClass,theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,builtinThemeOverrides:this.inverted&&this.cssVars.__invertScrollbar==="true"?{colorHover:"rgba(255, 255, 255, .4)",color:"rgba(255, 255, 255, .3)"}:void 0}),this.$slots),o?o==="bar"?v(YG,{clsPrefix:t,class:n?this.collapsedTriggerClass:this.triggerClass,style:n?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):v(GG,{clsPrefix:t,class:n?this.collapsedTriggerClass:this.triggerClass,style:n?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):null,this.bordered?v("div",{class:`${t}-layout-sider__border`}):null)}}),JG={extraFontSize:"12px",width:"440px"},QG={name:"Transfer",common:He,peers:{Checkbox:Ua,Scrollbar:jn,Input:uo,Empty:Vi,Button:Vn},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:g,hoverColor:b}=e;return Object.assign(Object.assign({},JG),{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:g,filterDividerColor:"#0000",itemTextColor:g,itemTextColorDisabled:h,itemColorPending:b,titleFontWeight:o,iconColor:n,iconColorDisabled:t})}},eY=QG,tY=U([z("list",` + `)]),oY=ge({name:"LayoutToggleButton",props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return g("div",{class:`${e}-layout-toggle-button`,onClick:this.onClick},g(Ut,{clsPrefix:e},{default:()=>g(Zp,null)}))}}),rY=ge({props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return g("div",{onClick:this.onClick,class:`${e}-layout-toggle-bar`},g("div",{class:`${e}-layout-toggle-bar__top`}),g("div",{class:`${e}-layout-toggle-bar__bottom`}))}}),iY={position:uS,bordered:Boolean,collapsedWidth:{type:Number,default:48},width:{type:[Number,String],default:272},contentClass:String,contentStyle:{type:[String,Object],default:""},collapseMode:{type:String,default:"transform"},collapsed:{type:Boolean,default:void 0},defaultCollapsed:Boolean,showCollapsedContent:{type:Boolean,default:!0},showTrigger:{type:[Boolean,String],default:!1},nativeScrollbar:{type:Boolean,default:!0},inverted:Boolean,scrollbarProps:Object,triggerClass:String,triggerStyle:[String,Object],collapsedTriggerClass:String,collapsedTriggerStyle:[String,Object],"onUpdate:collapsed":[Function,Array],onUpdateCollapsed:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,onExpand:[Function,Array],onCollapse:[Function,Array],onScroll:Function},aY=ge({name:"LayoutSider",props:Object.assign(Object.assign({},Be.props),iY),setup(e){const t=We(dS),n=W(null),o=W(null),r=L(()=>qt(l.value?e.collapsedWidth:e.width)),i=L(()=>e.collapseMode!=="transform"?{}:{minWidth:qt(e.width)}),a=L(()=>t?t.siderPlacement:"left"),s=W(e.defaultCollapsed),l=sn(Ve(e,"collapsed"),s);function c(_,x){if(e.nativeScrollbar){const{value:y}=n;y&&(x===void 0?y.scrollTo(_):y.scrollTo(_,x))}else{const{value:y}=o;y&&y.scrollTo(_,x)}}function u(){const{"onUpdate:collapsed":_,onUpdateCollapsed:x,onExpand:y,onCollapse:k}=e,{value:P}=l;x&&Ee(x,!P),_&&Ee(_,!P),s.value=!P,P?y&&Ee(y):k&&Ee(k)}let d=0,f=0;const p=_=>{var x;const y=_.target;d=y.scrollLeft,f=y.scrollTop,(x=e.onScroll)===null||x===void 0||x.call(e,_)};Fp(()=>{if(e.nativeScrollbar){const _=n.value;_&&(_.scrollTop=f,_.scrollLeft=d)}}),at(cS,{collapsedRef:l,collapseModeRef:Ve(e,"collapseMode")});const{mergedClsPrefixRef:h,inlineThemeDisabled:m}=st(e),v=Be("Layout","-layout-sider",nY,eS,e,h);function b(_){var x,y;_.propertyName==="max-width"&&(l.value?(x=e.onAfterLeave)===null||x===void 0||x.call(e):(y=e.onAfterEnter)===null||y===void 0||y.call(e))}const w={scrollTo:c},C=L(()=>{const{common:{cubicBezierEaseInOut:_},self:x}=v.value,{siderToggleButtonColor:y,siderToggleButtonBorder:k,siderToggleBarColor:P,siderToggleBarColorHover:T}=x,$={"--n-bezier":_,"--n-toggle-button-color":y,"--n-toggle-button-border":k,"--n-toggle-bar-color":P,"--n-toggle-bar-color-hover":T};return e.inverted?($["--n-color"]=x.siderColorInverted,$["--n-text-color"]=x.textColorInverted,$["--n-border-color"]=x.siderBorderColorInverted,$["--n-toggle-button-icon-color"]=x.siderToggleButtonIconColorInverted,$.__invertScrollbar=x.__invertScrollbar):($["--n-color"]=x.siderColor,$["--n-text-color"]=x.textColor,$["--n-border-color"]=x.siderBorderColor,$["--n-toggle-button-icon-color"]=x.siderToggleButtonIconColor),$}),S=m?kt("layout-sider",L(()=>e.inverted?"a":"b"),C,e):void 0;return Object.assign({scrollableElRef:n,scrollbarInstRef:o,mergedClsPrefix:h,mergedTheme:v,styleMaxWidth:r,mergedCollapsed:l,scrollContainerStyle:i,siderPlacement:a,handleNativeElScroll:p,handleTransitionend:b,handleTriggerClick:u,inlineThemeDisabled:m,cssVars:C,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender},w)},render(){var e;const{mergedClsPrefix:t,mergedCollapsed:n,showTrigger:o}=this;return(e=this.onRender)===null||e===void 0||e.call(this),g("aside",{class:[`${t}-layout-sider`,this.themeClass,`${t}-layout-sider--${this.position}-positioned`,`${t}-layout-sider--${this.siderPlacement}-placement`,this.bordered&&`${t}-layout-sider--bordered`,n&&`${t}-layout-sider--collapsed`,(!n||this.showCollapsedContent)&&`${t}-layout-sider--show-content`],onTransitionend:this.handleTransitionend,style:[this.inlineThemeDisabled?void 0:this.cssVars,{maxWidth:this.styleMaxWidth,width:qt(this.width)}]},this.nativeScrollbar?g("div",{class:[`${t}-layout-sider-scroll-container`,this.contentClass],onScroll:this.handleNativeElScroll,style:[this.scrollContainerStyle,{overflow:"auto"},this.contentStyle],ref:"scrollableElRef"},this.$slots):g(To,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",style:this.scrollContainerStyle,contentStyle:this.contentStyle,contentClass:this.contentClass,theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,builtinThemeOverrides:this.inverted&&this.cssVars.__invertScrollbar==="true"?{colorHover:"rgba(255, 255, 255, .4)",color:"rgba(255, 255, 255, .3)"}:void 0}),this.$slots),o?o==="bar"?g(rY,{clsPrefix:t,class:n?this.collapsedTriggerClass:this.triggerClass,style:n?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):g(oY,{clsPrefix:t,class:n?this.collapsedTriggerClass:this.triggerClass,style:n?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):null,this.bordered?g("div",{class:`${t}-layout-sider__border`}):null)}}),sY={extraFontSize:"12px",width:"440px"},lY={name:"Transfer",common:Ne,peers:{Checkbox:ja,Scrollbar:Vn,Input:uo,Empty:ji,Button:Wn},self(e){const{iconColorDisabled:t,iconColor:n,fontWeight:o,fontSizeLarge:r,fontSizeMedium:i,fontSizeSmall:a,heightLarge:s,heightMedium:l,heightSmall:c,borderRadius:u,inputColor:d,tableHeaderColor:f,textColor1:p,textColorDisabled:h,textColor2:m,hoverColor:v}=e;return Object.assign(Object.assign({},sY),{itemHeightSmall:c,itemHeightMedium:l,itemHeightLarge:s,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:r,borderRadius:u,borderColor:"#0000",listColor:d,headerColor:f,titleTextColor:p,titleTextColorDisabled:h,extraTextColor:m,filterDividerColor:"#0000",itemTextColor:m,itemTextColorDisabled:h,itemColorPending:v,titleFontWeight:o,iconColor:n,iconColorDisabled:t})}},cY=lY,uY=q([z("list",` --n-merged-border-color: var(--n-border-color); --n-merged-color: var(--n-color); --n-merged-color-hover: var(--n-color-hover); @@ -2854,7 +2883,7 @@ ${t} list-style-type: none; color: var(--n-text-color); background-color: var(--n-merged-color); - `,[Z("show-divider",[z("list-item",[U("&:not(:last-child)",[V("divider",` + `,[Z("show-divider",[z("list-item",[q("&:not(:last-child)",[V("divider",` background-color: var(--n-merged-border-color); `)])])]),Z("clickable",[z("list-item",` cursor: pointer; @@ -2863,7 +2892,7 @@ ${t} border-radius: var(--n-border-radius); `),Z("hoverable",[z("list-item",` border-radius: var(--n-border-radius); - `,[U("&:hover",` + `,[q("&:hover",` background-color: var(--n-merged-color-hover); `,[V("divider",` background-color: transparent; @@ -2875,7 +2904,7 @@ ${t} padding: 12px 0; box-sizing: border-box; transition: border-color .3s var(--n-bezier); - `,[U("&:not(:last-child)",` + `,[q("&:not(:last-child)",` border-bottom: 1px solid var(--n-merged-border-color); `)]),z("list-item",` position: relative; @@ -2904,22 +2933,22 @@ ${t} background-color: transparent; transition: background-color .3s var(--n-bezier); pointer-events: none; - `)])]),nl(z("list",` + `)])]),rl(z("list",` --n-merged-color-hover: var(--n-color-hover-modal); --n-merged-color: var(--n-color-modal); --n-merged-border-color: var(--n-border-color-modal); - `)),yu(z("list",` + `)),Cu(z("list",` --n-merged-color-hover: var(--n-color-hover-popover); --n-merged-color: var(--n-color-popover); --n-merged-border-color: var(--n-border-color-popover); - `))]),nY=Object.assign(Object.assign({},Be.props),{size:{type:String,default:"medium"},bordered:Boolean,clickable:Boolean,hoverable:Boolean,showDivider:{type:Boolean,default:!0}}),oS="n-list",mm=me({name:"List",props:nY,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=it(e),r=pn("List",o,t),i=Be("List","-list",tY,aK,e,t);lt(oS,{showDividerRef:je(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:g,borderColorPopover:b,borderRadius:m,colorHover:x,colorHoverModal:S,colorHoverPopover:_}}=i.value;return{"--n-font-size":c,"--n-bezier":l,"--n-text-color":u,"--n-color":d,"--n-border-radius":m,"--n-border-color":h,"--n-border-color-modal":g,"--n-border-color-popover":b,"--n-color-modal":f,"--n-color-popover":p,"--n-color-hover":x,"--n-color-hover-modal":S,"--n-color-hover-popover":_}}),s=n?kt("list",void 0,a,e):void 0;return{mergedClsPrefix:t,rtlEnabled:r,cssVars:n?void 0:a,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender}},render(){var e;const{$slots:t,mergedClsPrefix:n,onRender:o}=this;return o==null||o(),v("ul",{class:[`${n}-list`,this.rtlEnabled&&`${n}-list--rtl`,this.bordered&&`${n}-list--bordered`,this.showDivider&&`${n}-list--show-divider`,this.hoverable&&`${n}-list--hoverable`,this.clickable&&`${n}-list--clickable`,this.themeClass],style:this.cssVars},t.header?v("div",{class:`${n}-list__header`},t.header()):null,(e=t.default)===null||e===void 0?void 0:e.call(t),t.footer?v("div",{class:`${n}-list__footer`},t.footer()):null)}}),gm=me({name:"ListItem",setup(){const e=We(oS,null);return e||Kr("list-item","`n-list-item` must be placed in `n-list`."),{showDivider:e.showDividerRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{$slots:e,mergedClsPrefix:t}=this;return v("li",{class:`${t}-list-item`},e.prefix?v("div",{class:`${t}-list-item__prefix`},e.prefix()):null,e.default?v("div",{class:`${t}-list-item__main`},e):null,e.suffix?v("div",{class:`${t}-list-item__suffix`},e.suffix()):null,this.showDivider&&v("div",{class:`${t}-list-item__divider`}))}}),rS="n-loading-bar",iS="n-loading-bar-api",oY=z("loading-bar-container",` + `))]),dY=Object.assign(Object.assign({},Be.props),{size:{type:String,default:"medium"},bordered:Boolean,clickable:Boolean,hoverable:Boolean,showDivider:{type:Boolean,default:!0}}),fS="n-list",bm=ge({name:"List",props:dY,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=st(e),r=pn("List",o,t),i=Be("List","-list",uY,uK,e,t);at(fS,{showDividerRef:Ve(e,"showDivider"),mergedClsPrefixRef:t});const a=L(()=>{const{common:{cubicBezierEaseInOut:l},self:{fontSize:c,textColor:u,color:d,colorModal:f,colorPopover:p,borderColor:h,borderColorModal:m,borderColorPopover:v,borderRadius:b,colorHover:w,colorHoverModal:C,colorHoverPopover:S}}=i.value;return{"--n-font-size":c,"--n-bezier":l,"--n-text-color":u,"--n-color":d,"--n-border-radius":b,"--n-border-color":h,"--n-border-color-modal":m,"--n-border-color-popover":v,"--n-color-modal":f,"--n-color-popover":p,"--n-color-hover":w,"--n-color-hover-modal":C,"--n-color-hover-popover":S}}),s=n?kt("list",void 0,a,e):void 0;return{mergedClsPrefix:t,rtlEnabled:r,cssVars:n?void 0:a,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender}},render(){var e;const{$slots:t,mergedClsPrefix:n,onRender:o}=this;return o==null||o(),g("ul",{class:[`${n}-list`,this.rtlEnabled&&`${n}-list--rtl`,this.bordered&&`${n}-list--bordered`,this.showDivider&&`${n}-list--show-divider`,this.hoverable&&`${n}-list--hoverable`,this.clickable&&`${n}-list--clickable`,this.themeClass],style:this.cssVars},t.header?g("div",{class:`${n}-list__header`},t.header()):null,(e=t.default)===null||e===void 0?void 0:e.call(t),t.footer?g("div",{class:`${n}-list__footer`},t.footer()):null)}}),ym=ge({name:"ListItem",setup(){const e=We(fS,null);return e||ur("list-item","`n-list-item` must be placed in `n-list`."),{showDivider:e.showDividerRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{$slots:e,mergedClsPrefix:t}=this;return g("li",{class:`${t}-list-item`},e.prefix?g("div",{class:`${t}-list-item__prefix`},e.prefix()):null,e.default?g("div",{class:`${t}-list-item__main`},e):null,e.suffix?g("div",{class:`${t}-list-item__suffix`},e.suffix()):null,this.showDivider&&g("div",{class:`${t}-list-item__divider`}))}}),hS="n-loading-bar",pS="n-loading-bar-api",fY=z("loading-bar-container",` z-index: 5999; position: fixed; top: 0; left: 0; right: 0; height: 2px; -`,[sl({enterDuration:"0.3s",leaveDuration:"0.8s"}),z("loading-bar",` +`,[cl({enterDuration:"0.3s",leaveDuration:"0.8s"}),z("loading-bar",` width: 100%; transition: max-width 4s linear, @@ -2937,25 +2966,25 @@ ${t} transition: max-width .2s linear, background .2s linear; - `)])]);var Hl=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 jl(e,t){return`${t}-loading-bar ${t}-loading-bar--${e}`}const rY=me({name:"LoadingBar",props:{containerClass:String,containerStyle:[String,Object]},setup(){const{inlineThemeDisabled:e}=it(),{props:t,mergedClsPrefixRef:n}=We(rS),o=F(null),r=F(!1),i=F(!1),a=F(!1),s=F(!1);let l=!1;const c=F(!1),u=L(()=>{const{loadingBarStyle:w}=t;return w?w[c.value?"error":"loading"]:""});function d(){return Hl(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(w=0,C=80,y="starting"){return Hl(this,void 0,void 0,function*(){if(i.value=!0,yield d(),l)return;a.value=!0,yield jt();const k=o.value;k&&(k.style.maxWidth=`${w}%`,k.style.transition="none",k.offsetWidth,k.className=jl(y,n.value),k.style.transition="",k.style.maxWidth=`${C}%`)})}function p(){return Hl(this,void 0,void 0,function*(){if(l||c.value)return;i.value&&(yield jt()),l=!0;const w=o.value;w&&(w.className=jl("finishing",n.value),w.style.maxWidth="100%",w.offsetWidth,a.value=!1)})}function h(){if(!(l||c.value))if(!a.value)f(100,100,"error").then(()=>{c.value=!0;const w=o.value;w&&(w.className=jl("error",n.value),w.offsetWidth,a.value=!1)});else{c.value=!0;const w=o.value;if(!w)return;w.className=jl("error",n.value),w.style.maxWidth="100%",w.offsetWidth,a.value=!1}}function g(){r.value=!0}function b(){r.value=!1}function m(){return Hl(this,void 0,void 0,function*(){yield d()})}const x=Be("LoadingBar","-loading-bar",oY,hK,t,n),S=L(()=>{const{self:{height:w,colorError:C,colorLoading:y}}=x.value;return{"--n-height":w,"--n-color-loading":y,"--n-color-error":C}}),_=e?kt("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:g,handleAfterEnter:b,handleAfterLeave:m,mergedLoadingBarStyle:u,cssVars:e?void 0:S,themeClass:_==null?void 0:_.themeClass,onRender:_==null?void 0:_.onRender}},render(){if(!this.started)return null;const{mergedClsPrefix:e}=this;return v(hn,{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(v("div",{class:[`${e}-loading-bar-container`,this.themeClass,this.containerClass],style:this.containerStyle},v("div",{ref:"loadingBarRef",class:[`${e}-loading-bar`],style:[this.cssVars,this.mergedLoadingBarStyle]})),[[Jn,this.loading||!this.loading&&this.entering]])}})}}),iY=Object.assign(Object.assign({},Be.props),{to:{type:[String,Object,Boolean],default:void 0},containerClass:String,containerStyle:[String,Object],loadingBarStyle:{type:Object}}),aY=me({name:"LoadingBarProvider",props:iY,setup(e){const t=Gr(),n=F(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}=it(e);return lt(iS,o),lt(rS,{props:e,mergedClsPrefixRef:r}),Object.assign(o,{loadingBarRef:n})},render(){var e,t;return v(at,null,v(Zc,{disabled:this.to===!1,to:this.to||"body"},v(rY,{ref:"loadingBarRef",containerStyle:this.containerStyle,containerClass:this.containerClass})),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}});function sY(){const e=We(iS,null);return e===null&&Kr("use-loading-bar","No outer founded."),e}const hl="n-menu",vm="n-submenu",bm="n-menu-item-group",Vl=8;function ym(e){const t=We(hl),{props:n,mergedCollapsedRef:o}=t,r=We(vm,null),i=We(bm,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:g,isGroup:b}=e,m=h===void 0?p:h;return g?o.value?f/2-l.value/2:m:i&&typeof i.paddingLeftRef.value=="number"?p/2+i.paddingLeftRef.value:r&&typeof r.paddingLeftRef.value=="number"?(b?p/2:p)+r.paddingLeftRef.value:0}),d=L(()=>{const{collapsedWidth:f,indent:p,rootIndent:h}=n,{value:g}=l,{root:b}=e;return a.value||!b||!o.value?Vl:(h===void 0?p:h)+g+Vl-(f+g)/2});return{dropdownPlacement:s,activeIconSize:c,maxIconSize:l,paddingLeft:u,iconMarginRight:d,NMenu:t,NSubmenu:r}}const xm={internalKey:{type:[String,Number],required:!0},root:Boolean,isGroup:Boolean,level:{type:Number,required:!0},title:[String,Function],extra:[String,Function]},aS=Object.assign(Object.assign({},xm),{tmNode:{type:Object,required:!0},tmNodes:{type:Array,required:!0}}),lY=me({name:"MenuOptionGroup",props:aS,setup(e){lt(vm,null);const t=ym(e);lt(bm,{paddingLeftRef:t.paddingLeft});const{mergedClsPrefixRef:n,props:o}=We(hl);return function(){const{value:r}=n,i=t.paddingLeft.value,{nodeProps:a}=o,s=a==null?void 0:a(e.tmNode.rawNode);return v("div",{class:`${r}-menu-item-group`,role:"group"},v("div",Object.assign({},s,{class:[`${r}-menu-item-group-title`,s==null?void 0:s.class],style:[(s==null?void 0:s.style)||"",i!==void 0?`padding-left: ${i}px;`:""]}),Wt(e.title),e.extra?v(at,null," ",Wt(e.extra)):null),v("div",null,e.tmNodes.map(l=>Cm(l,o))))}}}),sS=me({name:"MenuOptionContent",props:{collapsed:Boolean,disabled:Boolean,title:[String,Function],icon:Function,extra:[String,Function],showArrow:Boolean,childActive:Boolean,hover:Boolean,paddingLeft:Number,selected:Boolean,maxIconSize:{type:Number,required:!0},activeIconSize:{type:Number,required:!0},iconMarginRight:{type:Number,required:!0},clsPrefix:{type:String,required:!0},onClick:Function,tmNode:{type:Object,required:!0},isEllipsisPlaceholder:Boolean},setup(e){const{props:t}=We(hl);return{menuProps:t,style:L(()=>{const{paddingLeft:n}=e;return{paddingLeft:n&&`${n}px`}}),iconStyle:L(()=>{const{maxIconSize:n,activeIconSize:o,iconMarginRight:r}=e;return{width:`${n}px`,height:`${n}px`,fontSize:`${o}px`,marginRight:`${r}px`}})}},render(){const{clsPrefix:e,tmNode:t,menuProps:{renderIcon:n,renderLabel:o,renderExtra:r,expandIcon:i}}=this,a=n?n(t.rawNode):Wt(this.icon);return v("div",{onClick:s=>{var l;(l=this.onClick)===null||l===void 0||l.call(this,s)},role:"none",class:[`${e}-menu-item-content`,{[`${e}-menu-item-content--selected`]:this.selected,[`${e}-menu-item-content--collapsed`]:this.collapsed,[`${e}-menu-item-content--child-active`]:this.childActive,[`${e}-menu-item-content--disabled`]:this.disabled,[`${e}-menu-item-content--hover`]:this.hover}],style:this.style},a&&v("div",{class:`${e}-menu-item-content__icon`,style:this.iconStyle,role:"none"},[a]),v("div",{class:`${e}-menu-item-content-header`,role:"none"},this.isEllipsisPlaceholder?this.title:o?o(t.rawNode):Wt(this.title),this.extra||r?v("span",{class:`${e}-menu-item-content-header__extra`}," ",r?r(t.rawNode):Wt(this.extra)):null),this.showArrow?v(Ut,{ariaHidden:!0,class:`${e}-menu-item-content__arrow`,clsPrefix:e},{default:()=>i?i(t.rawNode):v(HB,null)}):null)}}),lS=Object.assign(Object.assign({},xm),{rawNodes:{type:Array,default:()=>[]},tmNodes:{type:Array,default:()=>[]},tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function,domId:String,virtualChildActive:{type:Boolean,default:void 0},isEllipsisPlaceholder:Boolean}),kh=me({name:"Submenu",props:lS,setup(e){const t=ym(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=F(!1);lt(vm,{paddingLeftRef:t.paddingLeft,mergedDisabledRef:s}),lt(bm,null);function c(){const{onClick:f}=e;f&&f()}function u(){s.value||(i.value||n.toggleExpand(e.internalKey),c())}function d(f){l.value=f}return{menuProps:r,mergedTheme:a,doSelect:n.doSelect,inverted:n.invertedRef,isHorizontal:n.isHorizontalRef,mergedClsPrefix:n.mergedClsPrefixRef,maxIconSize:t.maxIconSize,activeIconSize:t.activeIconSize,iconMarginRight:t.iconMarginRight,dropdownPlacement:t.dropdownPlacement,dropdownShow:l,paddingLeft:t.paddingLeft,mergedDisabled:s,mergedValue:n.mergedValueRef,childActive:St(()=>{var f;return(f=e.virtualChildActive)!==null&&f!==void 0?f:n.activePathRef.value.includes(e.internalKey)}),collapsed:L(()=>r.mode==="horizontal"?!1:i.value?!0:!n.mergedExpandedKeysRef.value.includes(e.internalKey)),dropdownEnabled:L(()=>!s.value&&(r.mode==="horizontal"||i.value)),handlePopoverShowChange:d,handleClick:u}},render(){var e;const{mergedClsPrefix:t,menuProps:{renderIcon:n,renderLabel:o}}=this,r=()=>{const{isHorizontal:a,paddingLeft:s,collapsed:l,mergedDisabled:c,maxIconSize:u,activeIconSize:d,title:f,childActive:p,icon:h,handleClick:g,menuProps:{nodeProps:b},dropdownShow:m,iconMarginRight:x,tmNode:S,mergedClsPrefix:_,isEllipsisPlaceholder:w,extra:C}=this,y=b==null?void 0:b(S.rawNode);return v("div",Object.assign({},y,{class:[`${_}-menu-item`,y==null?void 0:y.class],role:"menuitem"}),v(sS,{tmNode:S,paddingLeft:s,collapsed:l,disabled:c,iconMarginRight:x,maxIconSize:u,activeIconSize:d,title:f,extra:C,showArrow:!a,childActive:p,clsPrefix:_,icon:h,hover:m,onClick:g,isEllipsisPlaceholder:w}))},i=()=>v(Tu,null,{default:()=>{const{tmNodes:a,collapsed:s}=this;return s?null:v("div",{class:`${t}-submenu-children`,role:"menu"},a.map(l=>Cm(l,this.menuProps)))}});return this.root?v(hm,Object.assign({size:"large",trigger:"hover"},(e=this.menuProps)===null||e===void 0?void 0:e.dropdownProps,{themeOverrides:this.mergedTheme.peerOverrides.Dropdown,theme:this.mergedTheme.peers.Dropdown,builtinThemeOverrides:{fontSizeLarge:"14px",optionIconSizeLarge:"18px"},value:this.mergedValue,disabled:!this.dropdownEnabled,placement:this.dropdownPlacement,keyField:this.menuProps.keyField,labelField:this.menuProps.labelField,childrenField:this.menuProps.childrenField,onUpdateShow:this.handlePopoverShowChange,options:this.rawNodes,onSelect:this.doSelect,inverted:this.inverted,renderIcon:n,renderLabel:o}),{default:()=>v("div",{class:`${t}-submenu`,role:"menuitem","aria-expanded":!this.collapsed,id:this.domId},r(),this.isHorizontal?null:i())}):v("div",{class:`${t}-submenu`,role:"menuitem","aria-expanded":!this.collapsed,id:this.domId},r(),i())}}),cS=Object.assign(Object.assign({},xm),{tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function}),cY=me({name:"MenuOption",props:cS,setup(e){const t=ym(e),{NSubmenu:n,NMenu:o}=t,{props:r,mergedClsPrefixRef:i,mergedCollapsedRef:a}=o,s=n?n.mergedDisabledRef:{value:!1},l=L(()=>s.value||e.disabled);function c(d){const{onClick:f}=e;f&&f(d)}function u(d){l.value||(o.doSelect(e.internalKey,e.tmNode.rawNode),c(d))}return{mergedClsPrefix:i,dropdownPlacement:t.dropdownPlacement,paddingLeft:t.paddingLeft,iconMarginRight:t.iconMarginRight,maxIconSize:t.maxIconSize,activeIconSize:t.activeIconSize,mergedTheme:o.mergedThemeRef,menuProps:r,dropdownEnabled:St(()=>e.root&&a.value&&r.mode!=="horizontal"&&!l.value),selected:St(()=>o.mergedValueRef.value===e.internalKey),mergedDisabled:l,handleClick:u}},render(){const{mergedClsPrefix:e,mergedTheme:t,tmNode:n,menuProps:{renderLabel:o,nodeProps:r}}=this,i=r==null?void 0:r(n.rawNode);return v("div",Object.assign({},i,{role:"menuitem",class:[`${e}-menu-item`,i==null?void 0:i.class]}),v(Ou,{theme:t.peers.Tooltip,themeOverrides:t.peerOverrides.Tooltip,trigger:"hover",placement:this.dropdownPlacement,disabled:!this.dropdownEnabled||this.title===void 0,internalExtraClass:["menu-tooltip"]},{default:()=>o?o(n.rawNode):Wt(this.title),trigger:()=>v(sS,{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})}))}}),uY=me({name:"MenuDivider",setup(){const e=We(hl),{mergedClsPrefixRef:t,isHorizontalRef:n}=e;return()=>n.value?null:v("div",{class:`${t.value}-menu-divider`})}}),dY=qr(aS),fY=qr(cS),hY=qr(lS);function Ph(e){return e.type==="divider"||e.type==="render"}function pY(e){return e.type==="divider"}function Cm(e,t){const{rawNode:n}=e,{show:o}=n;if(o===!1)return null;if(Ph(n))return pY(n)?v(uY,Object.assign({key:e.key},n.props)):null;const{labelField:r}=t,{key:i,level:a,isGroup:s}=e,l=Object.assign(Object.assign({},n),{title:n.title||n[r],extra:n.titleExtra||n.extra,key:i,internalKey:i,level:a,root:a===0,isGroup:s});return e.children?e.isGroup?v(lY,Xn(l,dY,{tmNode:e,tmNodes:e.children,key:i})):v(kh,Xn(l,hY,{key:i,rawNodes:n[t.childrenField],tmNodes:e.children,tmNode:e})):v(cY,Xn(l,fY,{key:i,tmNode:e}))}const Y0=[U("&::before","background-color: var(--n-item-color-hover);"),V("arrow",` + `)])]);var jl=globalThis&&globalThis.__awaiter||function(e,t,n,o){function r(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(u){try{c(o.next(u))}catch(d){a(d)}}function l(u){try{c(o.throw(u))}catch(d){a(d)}}function c(u){u.done?i(u.value):r(u.value).then(s,l)}c((o=o.apply(e,t||[])).next())})};function Vl(e,t){return`${t}-loading-bar ${t}-loading-bar--${e}`}const hY=ge({name:"LoadingBar",props:{containerClass:String,containerStyle:[String,Object]},setup(){const{inlineThemeDisabled:e}=st(),{props:t,mergedClsPrefixRef:n}=We(hS),o=W(null),r=W(!1),i=W(!1),a=W(!1),s=W(!1);let l=!1;const c=W(!1),u=L(()=>{const{loadingBarStyle:_}=t;return _?_[c.value?"error":"loading"]:""});function d(){return jl(this,void 0,void 0,function*(){r.value=!1,a.value=!1,l=!1,c.value=!1,s.value=!0,yield Ht(),s.value=!1})}function f(_=0,x=80,y="starting"){return jl(this,void 0,void 0,function*(){if(i.value=!0,yield d(),l)return;a.value=!0,yield Ht();const k=o.value;k&&(k.style.maxWidth=`${_}%`,k.style.transition="none",k.offsetWidth,k.className=Vl(y,n.value),k.style.transition="",k.style.maxWidth=`${x}%`)})}function p(){return jl(this,void 0,void 0,function*(){if(l||c.value)return;i.value&&(yield Ht()),l=!0;const _=o.value;_&&(_.className=Vl("finishing",n.value),_.style.maxWidth="100%",_.offsetWidth,a.value=!1)})}function h(){if(!(l||c.value))if(!a.value)f(100,100,"error").then(()=>{c.value=!0;const _=o.value;_&&(_.className=Vl("error",n.value),_.offsetWidth,a.value=!1)});else{c.value=!0;const _=o.value;if(!_)return;_.className=Vl("error",n.value),_.style.maxWidth="100%",_.offsetWidth,a.value=!1}}function m(){r.value=!0}function v(){r.value=!1}function b(){return jl(this,void 0,void 0,function*(){yield d()})}const w=Be("LoadingBar","-loading-bar",fY,vK,t,n),C=L(()=>{const{self:{height:_,colorError:x,colorLoading:y}}=w.value;return{"--n-height":_,"--n-color-loading":y,"--n-color-error":x}}),S=e?kt("loading-bar",void 0,C,t):void 0;return{mergedClsPrefix:n,loadingBarRef:o,started:i,loading:a,entering:r,transitionDisabled:s,start:f,error:h,finish:p,handleEnter:m,handleAfterEnter:v,handleAfterLeave:b,mergedLoadingBarStyle:u,cssVars:e?void 0:C,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){if(!this.started)return null;const{mergedClsPrefix:e}=this;return g(fn,{name:"fade-in-transition",appear:!0,onEnter:this.handleEnter,onAfterEnter:this.handleAfterEnter,onAfterLeave:this.handleAfterLeave,css:!this.transitionDisabled},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),dn(g("div",{class:[`${e}-loading-bar-container`,this.themeClass,this.containerClass],style:this.containerStyle},g("div",{ref:"loadingBarRef",class:[`${e}-loading-bar`],style:[this.cssVars,this.mergedLoadingBarStyle]})),[[Mn,this.loading||!this.loading&&this.entering]])}})}}),pY=Object.assign(Object.assign({},Be.props),{to:{type:[String,Object,Boolean],default:void 0},containerClass:String,containerStyle:[String,Object],loadingBarStyle:{type:Object}}),mY=ge({name:"LoadingBarProvider",props:pY,setup(e){const t=Xr(),n=W(null),o={start(){var i;t.value?(i=n.value)===null||i===void 0||i.start():Ht(()=>{var a;(a=n.value)===null||a===void 0||a.start()})},error(){var i;t.value?(i=n.value)===null||i===void 0||i.error():Ht(()=>{var a;(a=n.value)===null||a===void 0||a.error()})},finish(){var i;t.value?(i=n.value)===null||i===void 0||i.finish():Ht(()=>{var a;(a=n.value)===null||a===void 0||a.finish()})}},{mergedClsPrefixRef:r}=st(e);return at(pS,o),at(hS,{props:e,mergedClsPrefixRef:r}),Object.assign(o,{loadingBarRef:n})},render(){var e,t;return g(rt,null,g(eu,{disabled:this.to===!1,to:this.to||"body"},g(hY,{ref:"loadingBarRef",containerStyle:this.containerStyle,containerClass:this.containerClass})),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}});function gY(){const e=We(pS,null);return e===null&&ur("use-loading-bar","No outer founded."),e}const pl="n-menu",xm="n-submenu",Cm="n-menu-item-group",Wl=8;function wm(e){const t=We(pl),{props:n,mergedCollapsedRef:o}=t,r=We(xm,null),i=We(Cm,null),a=L(()=>n.mode==="horizontal"),s=L(()=>a.value?n.dropdownPlacement:"tmNodes"in e?"right-start":"right"),l=L(()=>{var f;return Math.max((f=n.collapsedIconSize)!==null&&f!==void 0?f:n.iconSize,n.iconSize)}),c=L(()=>{var f;return!a.value&&e.root&&o.value&&(f=n.collapsedIconSize)!==null&&f!==void 0?f:n.iconSize}),u=L(()=>{if(a.value||a.value)return;const{collapsedWidth:f,indent:p,rootIndent:h}=n,{root:m,isGroup:v}=e,b=h===void 0?p:h;return m?o.value?f/2-l.value/2:b:i&&typeof i.paddingLeftRef.value=="number"?p/2+i.paddingLeftRef.value:r&&typeof r.paddingLeftRef.value=="number"?(v?p/2:p)+r.paddingLeftRef.value:0}),d=L(()=>{const{collapsedWidth:f,indent:p,rootIndent:h}=n,{value:m}=l,{root:v}=e;return a.value||!v||!o.value?Wl:(h===void 0?p:h)+m+Wl-(f+m)/2});return{dropdownPlacement:s,activeIconSize:c,maxIconSize:l,paddingLeft:u,iconMarginRight:d,NMenu:t,NSubmenu:r}}const _m={internalKey:{type:[String,Number],required:!0},root:Boolean,isGroup:Boolean,level:{type:Number,required:!0},title:[String,Function],extra:[String,Function]},mS=Object.assign(Object.assign({},_m),{tmNode:{type:Object,required:!0},tmNodes:{type:Array,required:!0}}),vY=ge({name:"MenuOptionGroup",props:mS,setup(e){at(xm,null);const t=wm(e);at(Cm,{paddingLeftRef:t.paddingLeft});const{mergedClsPrefixRef:n,props:o}=We(pl);return function(){const{value:r}=n,i=t.paddingLeft.value,{nodeProps:a}=o,s=a==null?void 0:a(e.tmNode.rawNode);return g("div",{class:`${r}-menu-item-group`,role:"group"},g("div",Object.assign({},s,{class:[`${r}-menu-item-group-title`,s==null?void 0:s.class],style:[(s==null?void 0:s.style)||"",i!==void 0?`padding-left: ${i}px;`:""]}),Wt(e.title),e.extra?g(rt,null," ",Wt(e.extra)):null),g("div",null,e.tmNodes.map(l=>Sm(l,o))))}}}),gS=ge({name:"MenuOptionContent",props:{collapsed:Boolean,disabled:Boolean,title:[String,Function],icon:Function,extra:[String,Function],showArrow:Boolean,childActive:Boolean,hover:Boolean,paddingLeft:Number,selected:Boolean,maxIconSize:{type:Number,required:!0},activeIconSize:{type:Number,required:!0},iconMarginRight:{type:Number,required:!0},clsPrefix:{type:String,required:!0},onClick:Function,tmNode:{type:Object,required:!0},isEllipsisPlaceholder:Boolean},setup(e){const{props:t}=We(pl);return{menuProps:t,style:L(()=>{const{paddingLeft:n}=e;return{paddingLeft:n&&`${n}px`}}),iconStyle:L(()=>{const{maxIconSize:n,activeIconSize:o,iconMarginRight:r}=e;return{width:`${n}px`,height:`${n}px`,fontSize:`${o}px`,marginRight:`${r}px`}})}},render(){const{clsPrefix:e,tmNode:t,menuProps:{renderIcon:n,renderLabel:o,renderExtra:r,expandIcon:i}}=this,a=n?n(t.rawNode):Wt(this.icon);return g("div",{onClick:s=>{var l;(l=this.onClick)===null||l===void 0||l.call(this,s)},role:"none",class:[`${e}-menu-item-content`,{[`${e}-menu-item-content--selected`]:this.selected,[`${e}-menu-item-content--collapsed`]:this.collapsed,[`${e}-menu-item-content--child-active`]:this.childActive,[`${e}-menu-item-content--disabled`]:this.disabled,[`${e}-menu-item-content--hover`]:this.hover}],style:this.style},a&&g("div",{class:`${e}-menu-item-content__icon`,style:this.iconStyle,role:"none"},[a]),g("div",{class:`${e}-menu-item-content-header`,role:"none"},this.isEllipsisPlaceholder?this.title:o?o(t.rawNode):Wt(this.title),this.extra||r?g("span",{class:`${e}-menu-item-content-header__extra`}," ",r?r(t.rawNode):Wt(this.extra)):null),this.showArrow?g(Ut,{ariaHidden:!0,class:`${e}-menu-item-content__arrow`,clsPrefix:e},{default:()=>i?i(t.rawNode):g(YB,null)}):null)}}),vS=Object.assign(Object.assign({},_m),{rawNodes:{type:Array,default:()=>[]},tmNodes:{type:Array,default:()=>[]},tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function,domId:String,virtualChildActive:{type:Boolean,default:void 0},isEllipsisPlaceholder:Boolean}),Th=ge({name:"Submenu",props:vS,setup(e){const t=wm(e),{NMenu:n,NSubmenu:o}=t,{props:r,mergedCollapsedRef:i,mergedThemeRef:a}=n,s=L(()=>{const{disabled:f}=e;return o!=null&&o.mergedDisabledRef.value||r.disabled?!0:f}),l=W(!1);at(xm,{paddingLeftRef:t.paddingLeft,mergedDisabledRef:s}),at(Cm,null);function c(){const{onClick:f}=e;f&&f()}function u(){s.value||(i.value||n.toggleExpand(e.internalKey),c())}function d(f){l.value=f}return{menuProps:r,mergedTheme:a,doSelect:n.doSelect,inverted:n.invertedRef,isHorizontal:n.isHorizontalRef,mergedClsPrefix:n.mergedClsPrefixRef,maxIconSize:t.maxIconSize,activeIconSize:t.activeIconSize,iconMarginRight:t.iconMarginRight,dropdownPlacement:t.dropdownPlacement,dropdownShow:l,paddingLeft:t.paddingLeft,mergedDisabled:s,mergedValue:n.mergedValueRef,childActive:St(()=>{var f;return(f=e.virtualChildActive)!==null&&f!==void 0?f:n.activePathRef.value.includes(e.internalKey)}),collapsed:L(()=>r.mode==="horizontal"?!1:i.value?!0:!n.mergedExpandedKeysRef.value.includes(e.internalKey)),dropdownEnabled:L(()=>!s.value&&(r.mode==="horizontal"||i.value)),handlePopoverShowChange:d,handleClick:u}},render(){var e;const{mergedClsPrefix:t,menuProps:{renderIcon:n,renderLabel:o}}=this,r=()=>{const{isHorizontal:a,paddingLeft:s,collapsed:l,mergedDisabled:c,maxIconSize:u,activeIconSize:d,title:f,childActive:p,icon:h,handleClick:m,menuProps:{nodeProps:v},dropdownShow:b,iconMarginRight:w,tmNode:C,mergedClsPrefix:S,isEllipsisPlaceholder:_,extra:x}=this,y=v==null?void 0:v(C.rawNode);return g("div",Object.assign({},y,{class:[`${S}-menu-item`,y==null?void 0:y.class],role:"menuitem"}),g(gS,{tmNode:C,paddingLeft:s,collapsed:l,disabled:c,iconMarginRight:w,maxIconSize:u,activeIconSize:d,title:f,extra:x,showArrow:!a,childActive:p,clsPrefix:S,icon:h,hover:b,onClick:m,isEllipsisPlaceholder:_}))},i=()=>g(Eu,null,{default:()=>{const{tmNodes:a,collapsed:s}=this;return s?null:g("div",{class:`${t}-submenu-children`,role:"menu"},a.map(l=>Sm(l,this.menuProps)))}});return this.root?g(gm,Object.assign({size:"large",trigger:"hover"},(e=this.menuProps)===null||e===void 0?void 0:e.dropdownProps,{themeOverrides:this.mergedTheme.peerOverrides.Dropdown,theme:this.mergedTheme.peers.Dropdown,builtinThemeOverrides:{fontSizeLarge:"14px",optionIconSizeLarge:"18px"},value:this.mergedValue,disabled:!this.dropdownEnabled,placement:this.dropdownPlacement,keyField:this.menuProps.keyField,labelField:this.menuProps.labelField,childrenField:this.menuProps.childrenField,onUpdateShow:this.handlePopoverShowChange,options:this.rawNodes,onSelect:this.doSelect,inverted:this.inverted,renderIcon:n,renderLabel:o}),{default:()=>g("div",{class:`${t}-submenu`,role:"menuitem","aria-expanded":!this.collapsed,id:this.domId},r(),this.isHorizontal?null:i())}):g("div",{class:`${t}-submenu`,role:"menuitem","aria-expanded":!this.collapsed,id:this.domId},r(),i())}}),bS=Object.assign(Object.assign({},_m),{tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function}),bY=ge({name:"MenuOption",props:bS,setup(e){const t=wm(e),{NSubmenu:n,NMenu:o}=t,{props:r,mergedClsPrefixRef:i,mergedCollapsedRef:a}=o,s=n?n.mergedDisabledRef:{value:!1},l=L(()=>s.value||e.disabled);function c(d){const{onClick:f}=e;f&&f(d)}function u(d){l.value||(o.doSelect(e.internalKey,e.tmNode.rawNode),c(d))}return{mergedClsPrefix:i,dropdownPlacement:t.dropdownPlacement,paddingLeft:t.paddingLeft,iconMarginRight:t.iconMarginRight,maxIconSize:t.maxIconSize,activeIconSize:t.activeIconSize,mergedTheme:o.mergedThemeRef,menuProps:r,dropdownEnabled:St(()=>e.root&&a.value&&r.mode!=="horizontal"&&!l.value),selected:St(()=>o.mergedValueRef.value===e.internalKey),mergedDisabled:l,handleClick:u}},render(){const{mergedClsPrefix:e,mergedTheme:t,tmNode:n,menuProps:{renderLabel:o,nodeProps:r}}=this,i=r==null?void 0:r(n.rawNode);return g("div",Object.assign({},i,{role:"menuitem",class:[`${e}-menu-item`,i==null?void 0:i.class]}),g(Ou,{theme:t.peers.Tooltip,themeOverrides:t.peerOverrides.Tooltip,trigger:"hover",placement:this.dropdownPlacement,disabled:!this.dropdownEnabled||this.title===void 0,internalExtraClass:["menu-tooltip"]},{default:()=>o?o(n.rawNode):Wt(this.title),trigger:()=>g(gS,{tmNode:n,clsPrefix:e,paddingLeft:this.paddingLeft,iconMarginRight:this.iconMarginRight,maxIconSize:this.maxIconSize,activeIconSize:this.activeIconSize,selected:this.selected,title:this.title,extra:this.extra,disabled:this.mergedDisabled,icon:this.icon,onClick:this.handleClick})}))}}),yY=ge({name:"MenuDivider",setup(){const e=We(pl),{mergedClsPrefixRef:t,isHorizontalRef:n}=e;return()=>n.value?null:g("div",{class:`${t.value}-menu-divider`})}}),xY=Yr(mS),CY=Yr(bS),wY=Yr(vS);function Rh(e){return e.type==="divider"||e.type==="render"}function _Y(e){return e.type==="divider"}function Sm(e,t){const{rawNode:n}=e,{show:o}=n;if(o===!1)return null;if(Rh(n))return _Y(n)?g(yY,Object.assign({key:e.key},n.props)):null;const{labelField:r}=t,{key:i,level:a,isGroup:s}=e,l=Object.assign(Object.assign({},n),{title:n.title||n[r],extra:n.titleExtra||n.extra,key:i,internalKey:i,level:a,root:a===0,isGroup:s});return e.children?e.isGroup?g(vY,Xn(l,xY,{tmNode:e,tmNodes:e.children,key:i})):g(Th,Xn(l,wY,{key:i,rawNodes:n[t.childrenField],tmNodes:e.children,tmNode:e})):g(bY,Xn(l,CY,{key:i,tmNode:e}))}const Z0=[q("&::before","background-color: var(--n-item-color-hover);"),V("arrow",` color: var(--n-arrow-color-hover); `),V("icon",` color: var(--n-item-icon-color-hover); `),z("menu-item-content-header",` color: var(--n-item-text-color-hover); - `,[U("a",` + `,[q("a",` color: var(--n-item-text-color-hover); `),V("extra",` color: var(--n-item-text-color-hover); - `)])],X0=[V("icon",` + `)])],J0=[V("icon",` color: var(--n-item-icon-color-hover-horizontal); `),z("menu-item-content-header",` color: var(--n-item-text-color-hover-horizontal); - `,[U("a",` + `,[q("a",` color: var(--n-item-text-color-hover-horizontal); `),V("extra",` color: var(--n-item-text-color-hover-horizontal); - `)])],mY=U([z("menu",` + `)])],SY=q([z("menu",` background-color: var(--n-color); color: var(--n-item-text-color); overflow: hidden; @@ -2972,26 +3001,26 @@ ${t} `,[z("submenu","margin: 0;"),z("menu-item","margin: 0;"),z("menu-item-content",` padding: 0 20px; border-bottom: 2px solid #0000; - `,[U("&::before","display: none;"),Z("selected","border-bottom: 2px solid var(--n-border-color-horizontal)")]),z("menu-item-content",[Z("selected",[V("icon","color: var(--n-item-icon-color-active-horizontal);"),z("menu-item-content-header",` + `,[q("&::before","display: none;"),Z("selected","border-bottom: 2px solid var(--n-border-color-horizontal)")]),z("menu-item-content",[Z("selected",[V("icon","color: var(--n-item-icon-color-active-horizontal);"),z("menu-item-content-header",` color: var(--n-item-text-color-active-horizontal); - `,[U("a","color: var(--n-item-text-color-active-horizontal);"),V("extra","color: var(--n-item-text-color-active-horizontal);")])]),Z("child-active",` + `,[q("a","color: var(--n-item-text-color-active-horizontal);"),V("extra","color: var(--n-item-text-color-active-horizontal);")])]),Z("child-active",` border-bottom: 2px solid var(--n-border-color-horizontal); `,[z("menu-item-content-header",` color: var(--n-item-text-color-child-active-horizontal); - `,[U("a",` + `,[q("a",` color: var(--n-item-text-color-child-active-horizontal); `),V("extra",` color: var(--n-item-text-color-child-active-horizontal); `)]),V("icon",` color: var(--n-item-icon-color-child-active-horizontal); - `)]),Tt("disabled",[Tt("selected, child-active",[U("&:focus-within",X0)]),Z("selected",[ri(null,[V("icon","color: var(--n-item-icon-color-active-hover-horizontal);"),z("menu-item-content-header",` + `)]),Tt("disabled",[Tt("selected, child-active",[q("&:focus-within",J0)]),Z("selected",[si(null,[V("icon","color: var(--n-item-icon-color-active-hover-horizontal);"),z("menu-item-content-header",` color: var(--n-item-text-color-active-hover-horizontal); - `,[U("a","color: var(--n-item-text-color-active-hover-horizontal);"),V("extra","color: var(--n-item-text-color-active-hover-horizontal);")])])]),Z("child-active",[ri(null,[V("icon","color: var(--n-item-icon-color-child-active-hover-horizontal);"),z("menu-item-content-header",` + `,[q("a","color: var(--n-item-text-color-active-hover-horizontal);"),V("extra","color: var(--n-item-text-color-active-hover-horizontal);")])])]),Z("child-active",[si(null,[V("icon","color: var(--n-item-icon-color-child-active-hover-horizontal);"),z("menu-item-content-header",` color: var(--n-item-text-color-child-active-hover-horizontal); - `,[U("a","color: var(--n-item-text-color-child-active-hover-horizontal);"),V("extra","color: var(--n-item-text-color-child-active-hover-horizontal);")])])]),ri("border-bottom: 2px solid var(--n-border-color-horizontal);",X0)]),z("menu-item-content-header",[U("a","color: var(--n-item-text-color-horizontal);")])])]),Tt("responsive",[z("menu-item-content-header",` + `,[q("a","color: var(--n-item-text-color-child-active-hover-horizontal);"),V("extra","color: var(--n-item-text-color-child-active-hover-horizontal);")])])]),si("border-bottom: 2px solid var(--n-border-color-horizontal);",J0)]),z("menu-item-content-header",[q("a","color: var(--n-item-text-color-horizontal);")])])]),Tt("responsive",[z("menu-item-content-header",` overflow: hidden; text-overflow: ellipsis; - `)]),Z("collapsed",[z("menu-item-content",[Z("selected",[U("&::before",` + `)]),Z("collapsed",[z("menu-item-content",[Z("selected",[q("&::before",` background-color: var(--n-item-color-active-collapsed) !important; `)]),z("menu-item-content-header","opacity: 0;"),V("arrow","opacity: 0;"),V("icon","color: var(--n-item-icon-color-collapsed);")])]),z("menu-item",` height: var(--n-item-height); @@ -3012,7 +3041,7 @@ ${t} background-color .3s var(--n-bezier), padding-left .3s var(--n-bezier), border-color .3s var(--n-bezier); - `,[U("> *","z-index: 1;"),U("&::before",` + `,[q("> *","z-index: 1;"),q("&::before",` z-index: auto; content: ""; background-color: #0000; @@ -3027,11 +3056,11 @@ ${t} `),Z("disabled",` opacity: .45; cursor: not-allowed; - `),Z("collapsed",[V("arrow","transform: rotate(0);")]),Z("selected",[U("&::before","background-color: var(--n-item-color-active);"),V("arrow","color: var(--n-arrow-color-active);"),V("icon","color: var(--n-item-icon-color-active);"),z("menu-item-content-header",` + `),Z("collapsed",[V("arrow","transform: rotate(0);")]),Z("selected",[q("&::before","background-color: var(--n-item-color-active);"),V("arrow","color: var(--n-arrow-color-active);"),V("icon","color: var(--n-item-icon-color-active);"),z("menu-item-content-header",` color: var(--n-item-text-color-active); - `,[U("a","color: var(--n-item-text-color-active);"),V("extra","color: var(--n-item-text-color-active);")])]),Z("child-active",[z("menu-item-content-header",` + `,[q("a","color: var(--n-item-text-color-active);"),V("extra","color: var(--n-item-text-color-active);")])]),Z("child-active",[z("menu-item-content-header",` color: var(--n-item-text-color-child-active); - `,[U("a",` + `,[q("a",` color: var(--n-item-text-color-child-active); `),V("extra",` color: var(--n-item-text-color-child-active); @@ -3039,11 +3068,11 @@ ${t} color: var(--n-arrow-color-child-active); `),V("icon",` color: var(--n-item-icon-color-child-active); - `)]),Tt("disabled",[Tt("selected, child-active",[U("&:focus-within",Y0)]),Z("selected",[ri(null,[V("arrow","color: var(--n-arrow-color-active-hover);"),V("icon","color: var(--n-item-icon-color-active-hover);"),z("menu-item-content-header",` + `)]),Tt("disabled",[Tt("selected, child-active",[q("&:focus-within",Z0)]),Z("selected",[si(null,[V("arrow","color: var(--n-arrow-color-active-hover);"),V("icon","color: var(--n-item-icon-color-active-hover);"),z("menu-item-content-header",` color: var(--n-item-text-color-active-hover); - `,[U("a","color: var(--n-item-text-color-active-hover);"),V("extra","color: var(--n-item-text-color-active-hover);")])])]),Z("child-active",[ri(null,[V("arrow","color: var(--n-arrow-color-child-active-hover);"),V("icon","color: var(--n-item-icon-color-child-active-hover);"),z("menu-item-content-header",` + `,[q("a","color: var(--n-item-text-color-active-hover);"),V("extra","color: var(--n-item-text-color-active-hover);")])])]),Z("child-active",[si(null,[V("arrow","color: var(--n-arrow-color-child-active-hover);"),V("icon","color: var(--n-item-icon-color-child-active-hover);"),z("menu-item-content-header",` color: var(--n-item-text-color-child-active-hover); - `,[U("a","color: var(--n-item-text-color-child-active-hover);"),V("extra","color: var(--n-item-text-color-child-active-hover);")])])]),Z("selected",[ri(null,[U("&::before","background-color: var(--n-item-color-active-hover);")])]),ri(null,Y0)]),V("icon",` + `,[q("a","color: var(--n-item-text-color-child-active-hover);"),V("extra","color: var(--n-item-text-color-child-active-hover);")])])]),Z("selected",[si(null,[q("&::before","background-color: var(--n-item-color-active-hover);")])]),si(null,Z0)]),V("icon",` grid-area: icon; color: var(--n-item-icon-color); transition: @@ -3072,12 +3101,12 @@ ${t} opacity: 1; white-space: nowrap; color: var(--n-item-text-color); - `,[U("a",` + `,[q("a",` outline: none; text-decoration: none; transition: color .3s var(--n-bezier); color: var(--n-item-text-color); - `,[U("&::before",` + `,[q("&::before",` content: ""; position: absolute; left: 0; @@ -3108,7 +3137,7 @@ ${t} transition: padding-left .3s var(--n-bezier), color .3s var(--n-bezier); - `)])]),z("menu-tooltip",[U("a",` + `)])]),z("menu-tooltip",[q("a",` color: inherit; text-decoration: none; `)]),z("menu-divider",` @@ -3116,7 +3145,7 @@ ${t} background-color: var(--n-divider-color); height: 1px; margin: 6px 18px; - `)]);function ri(e,t){return[Z("hover",e,t),U("&:hover",e,t)]}const gY=Object.assign(Object.assign({},Be.props),{options:{type:Array,default:()=>[]},collapsed:{type:Boolean,default:void 0},collapsedWidth:{type:Number,default:48},iconSize:{type:Number,default:20},collapsedIconSize:{type:Number,default:24},rootIndent:Number,indent:{type:Number,default:32},labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},disabledField:{type:String,default:"disabled"},defaultExpandAll:Boolean,defaultExpandedKeys:Array,expandedKeys:Array,value:[String,Number],defaultValue:{type:[String,Number],default:null},mode:{type:String,default:"vertical"},watchProps:{type:Array,default:void 0},disabled:Boolean,show:{type:Boolean,default:!0},inverted:Boolean,"onUpdate:expandedKeys":[Function,Array],onUpdateExpandedKeys:[Function,Array],onUpdateValue:[Function,Array],"onUpdate:value":[Function,Array],expandIcon:Function,renderIcon:Function,renderLabel:Function,renderExtra:Function,dropdownProps:Object,accordion:Boolean,nodeProps:Function,dropdownPlacement:{type:String,default:"bottom"},responsive:Boolean,items:Array,onOpenNamesChange:[Function,Array],onSelect:[Function,Array],onExpandedNamesChange:[Function,Array],expandedNames:Array,defaultExpandedNames:Array}),vY=me({name:"Menu",props:gY,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=it(e),o=Be("Menu","-menu",mY,xK,e,t),r=We(eS,null),i=L(()=>{var N;const{collapsed:E}=e;if(E!==void 0)return E;if(r){const{collapseModeRef:O,collapsedRef:q}=r;if(O.value==="width")return(N=q.value)!==null&&N!==void 0?N:!1}return!1}),a=L(()=>{const{keyField:N,childrenField:E,disabledField:O}=e;return bi(e.items||e.options,{getIgnored(q){return Ph(q)},getChildren(q){return q[E]},getDisabled(q){return q[O]},getKey(q){var ne;return(ne=q[N])!==null&&ne!==void 0?ne:q.name}})}),s=L(()=>new Set(a.value.treeNodes.map(N=>N.key))),{watchProps:l}=e,c=F(null);l!=null&&l.includes("defaultValue")?nn(()=>{c.value=e.defaultValue}):c.value=e.defaultValue;const u=je(e,"value"),d=ln(u,c),f=F([]),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")?nn(p):p();const h=xu(e,["expandedNames","expandedKeys"]),g=ln(h,f),b=L(()=>a.value.treeNodes),m=L(()=>a.value.getPath(d.value).keyPath);lt(hl,{props:e,mergedCollapsedRef:i,mergedThemeRef:o,mergedValueRef:d,mergedExpandedKeysRef:g,activePathRef:m,mergedClsPrefixRef:t,isHorizontalRef:L(()=>e.mode==="horizontal"),invertedRef:je(e,"inverted"),doSelect:x,toggleExpand:_});function x(N,E){const{"onUpdate:value":O,onUpdateValue:q,onSelect:ne}=e;q&&Re(q,N,E),O&&Re(O,N,E),ne&&Re(ne,N,E),c.value=N}function S(N){const{"onUpdate:expandedKeys":E,onUpdateExpandedKeys:O,onExpandedNamesChange:q,onOpenNamesChange:ne}=e;E&&Re(E,N),O&&Re(O,N),q&&Re(q,N),ne&&Re(ne,N),f.value=N}function _(N){const E=Array.from(g.value),O=E.findIndex(q=>q===N);if(~O)E.splice(O,1);else{if(e.accordion&&s.value.has(N)){const q=E.findIndex(ne=>s.value.has(ne));q>-1&&E.splice(q,1)}E.push(N)}S(E)}const w=N=>{const E=a.value.getPath(N??d.value,{includeSelf:!1}).keyPath;if(!E.length)return;const O=Array.from(g.value),q=new Set([...O,...E]);e.accordion&&s.value.forEach(ne=>{q.has(ne)&&!E.includes(ne)&&q.delete(ne)}),S(Array.from(q))},C=L(()=>{const{inverted:N}=e,{common:{cubicBezierEaseInOut:E},self:O}=o.value,{borderRadius:q,borderColorHorizontal:ne,fontSize:ve,itemHeight:J,dividerColor:be}=O,H={"--n-divider-color":be,"--n-bezier":E,"--n-font-size":ve,"--n-border-color-horizontal":ne,"--n-border-radius":q,"--n-item-height":J};return N?(H["--n-group-text-color"]=O.groupTextColorInverted,H["--n-color"]=O.colorInverted,H["--n-item-text-color"]=O.itemTextColorInverted,H["--n-item-text-color-hover"]=O.itemTextColorHoverInverted,H["--n-item-text-color-active"]=O.itemTextColorActiveInverted,H["--n-item-text-color-child-active"]=O.itemTextColorChildActiveInverted,H["--n-item-text-color-child-active-hover"]=O.itemTextColorChildActiveInverted,H["--n-item-text-color-active-hover"]=O.itemTextColorActiveHoverInverted,H["--n-item-icon-color"]=O.itemIconColorInverted,H["--n-item-icon-color-hover"]=O.itemIconColorHoverInverted,H["--n-item-icon-color-active"]=O.itemIconColorActiveInverted,H["--n-item-icon-color-active-hover"]=O.itemIconColorActiveHoverInverted,H["--n-item-icon-color-child-active"]=O.itemIconColorChildActiveInverted,H["--n-item-icon-color-child-active-hover"]=O.itemIconColorChildActiveHoverInverted,H["--n-item-icon-color-collapsed"]=O.itemIconColorCollapsedInverted,H["--n-item-text-color-horizontal"]=O.itemTextColorHorizontalInverted,H["--n-item-text-color-hover-horizontal"]=O.itemTextColorHoverHorizontalInverted,H["--n-item-text-color-active-horizontal"]=O.itemTextColorActiveHorizontalInverted,H["--n-item-text-color-child-active-horizontal"]=O.itemTextColorChildActiveHorizontalInverted,H["--n-item-text-color-child-active-hover-horizontal"]=O.itemTextColorChildActiveHoverHorizontalInverted,H["--n-item-text-color-active-hover-horizontal"]=O.itemTextColorActiveHoverHorizontalInverted,H["--n-item-icon-color-horizontal"]=O.itemIconColorHorizontalInverted,H["--n-item-icon-color-hover-horizontal"]=O.itemIconColorHoverHorizontalInverted,H["--n-item-icon-color-active-horizontal"]=O.itemIconColorActiveHorizontalInverted,H["--n-item-icon-color-active-hover-horizontal"]=O.itemIconColorActiveHoverHorizontalInverted,H["--n-item-icon-color-child-active-horizontal"]=O.itemIconColorChildActiveHorizontalInverted,H["--n-item-icon-color-child-active-hover-horizontal"]=O.itemIconColorChildActiveHoverHorizontalInverted,H["--n-arrow-color"]=O.arrowColorInverted,H["--n-arrow-color-hover"]=O.arrowColorHoverInverted,H["--n-arrow-color-active"]=O.arrowColorActiveInverted,H["--n-arrow-color-active-hover"]=O.arrowColorActiveHoverInverted,H["--n-arrow-color-child-active"]=O.arrowColorChildActiveInverted,H["--n-arrow-color-child-active-hover"]=O.arrowColorChildActiveHoverInverted,H["--n-item-color-hover"]=O.itemColorHoverInverted,H["--n-item-color-active"]=O.itemColorActiveInverted,H["--n-item-color-active-hover"]=O.itemColorActiveHoverInverted,H["--n-item-color-active-collapsed"]=O.itemColorActiveCollapsedInverted):(H["--n-group-text-color"]=O.groupTextColor,H["--n-color"]=O.color,H["--n-item-text-color"]=O.itemTextColor,H["--n-item-text-color-hover"]=O.itemTextColorHover,H["--n-item-text-color-active"]=O.itemTextColorActive,H["--n-item-text-color-child-active"]=O.itemTextColorChildActive,H["--n-item-text-color-child-active-hover"]=O.itemTextColorChildActiveHover,H["--n-item-text-color-active-hover"]=O.itemTextColorActiveHover,H["--n-item-icon-color"]=O.itemIconColor,H["--n-item-icon-color-hover"]=O.itemIconColorHover,H["--n-item-icon-color-active"]=O.itemIconColorActive,H["--n-item-icon-color-active-hover"]=O.itemIconColorActiveHover,H["--n-item-icon-color-child-active"]=O.itemIconColorChildActive,H["--n-item-icon-color-child-active-hover"]=O.itemIconColorChildActiveHover,H["--n-item-icon-color-collapsed"]=O.itemIconColorCollapsed,H["--n-item-text-color-horizontal"]=O.itemTextColorHorizontal,H["--n-item-text-color-hover-horizontal"]=O.itemTextColorHoverHorizontal,H["--n-item-text-color-active-horizontal"]=O.itemTextColorActiveHorizontal,H["--n-item-text-color-child-active-horizontal"]=O.itemTextColorChildActiveHorizontal,H["--n-item-text-color-child-active-hover-horizontal"]=O.itemTextColorChildActiveHoverHorizontal,H["--n-item-text-color-active-hover-horizontal"]=O.itemTextColorActiveHoverHorizontal,H["--n-item-icon-color-horizontal"]=O.itemIconColorHorizontal,H["--n-item-icon-color-hover-horizontal"]=O.itemIconColorHoverHorizontal,H["--n-item-icon-color-active-horizontal"]=O.itemIconColorActiveHorizontal,H["--n-item-icon-color-active-hover-horizontal"]=O.itemIconColorActiveHoverHorizontal,H["--n-item-icon-color-child-active-horizontal"]=O.itemIconColorChildActiveHorizontal,H["--n-item-icon-color-child-active-hover-horizontal"]=O.itemIconColorChildActiveHoverHorizontal,H["--n-arrow-color"]=O.arrowColor,H["--n-arrow-color-hover"]=O.arrowColorHover,H["--n-arrow-color-active"]=O.arrowColorActive,H["--n-arrow-color-active-hover"]=O.arrowColorActiveHover,H["--n-arrow-color-child-active"]=O.arrowColorChildActive,H["--n-arrow-color-child-active-hover"]=O.arrowColorChildActiveHover,H["--n-item-color-hover"]=O.itemColorHover,H["--n-item-color-active"]=O.itemColorActive,H["--n-item-color-active-hover"]=O.itemColorActiveHover,H["--n-item-color-active-collapsed"]=O.itemColorActiveCollapsed),H}),y=n?kt("menu",L(()=>e.inverted?"a":"b"),C,e):void 0,k=Ii(),R=F(null),$=F(null);let I=!0;const A=()=>{var N;I?I=!1:(N=R.value)===null||N===void 0||N.sync({showAllItemsBeforeCalculate:!0})};function K(){return document.getElementById(k)}const B=F(-1);function M(N){B.value=e.options.length-N}function D(N){N||(B.value=-1)}const Y=L(()=>{const N=B.value;return{children:N===-1?[]:e.options.slice(N)}}),Q=L(()=>{const{childrenField:N,disabledField:E,keyField:O}=e;return bi([Y.value],{getIgnored(q){return Ph(q)},getChildren(q){return q[N]},getDisabled(q){return q[E]},getKey(q){var ne;return(ne=q[O])!==null&&ne!==void 0?ne:q.name}})}),ue=L(()=>bi([{}]).treeNodes[0]);function le(){var N;if(B.value===-1)return v(kh,{root:!0,level:0,key:"__ellpisisGroupPlaceholder__",internalKey:"__ellpisisGroupPlaceholder__",title:"···",tmNode:ue.value,domId:k,isEllipsisPlaceholder:!0});const E=Q.value.treeNodes[0],O=m.value,q=!!(!((N=E.children)===null||N===void 0)&&N.some(ne=>O.includes(ne.key)));return v(kh,{level:0,root:!0,key:"__ellpisisGroup__",internalKey:"__ellpisisGroup__",title:"···",virtualChildActive:q,tmNode:E,domId:k,rawNodes:E.rawNode.children||[],tmNodes:E.children||[],isEllipsisPlaceholder:!0})}return{mergedClsPrefix:t,controlledExpandedKeys:h,uncontrolledExpanededKeys:f,mergedExpandedKeys:g,uncontrolledValue:c,mergedValue:d,activePath:m,tmNodes:b,mergedTheme:o,mergedCollapsed:i,cssVars:n?void 0:C,themeClass:y==null?void 0:y.themeClass,overflowRef:R,counterRef:$,updateCounter:()=>{},onResize:A,onUpdateOverflow:D,onUpdateCount:M,renderCounter:le,getCounter:K,onRender:y==null?void 0:y.onRender,showOption:w,deriveResponsiveState:A}},render(){const{mergedClsPrefix:e,mode:t,themeClass:n,onRender:o}=this;o==null||o();const r=()=>this.tmNodes.map(l=>Cm(l,this.$props)),a=t==="horizontal"&&this.responsive,s=()=>v("div",{role:t==="horizontal"?"menubar":"menu",class:[`${e}-menu`,n,`${e}-menu--${t}`,a&&`${e}-menu--responsive`,this.mergedCollapsed&&`${e}-menu--collapsed`],style:this.cssVars},a?v(lh,{ref:"overflowRef",onUpdateOverflow:this.onUpdateOverflow,getCounter:this.getCounter,onUpdateCount:this.onUpdateCount,updateCounter:this.updateCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:r,counter:this.renderCounter}):r());return a?v(lr,{onResize:this.onResize},{default:s}):s()}}),uS={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},dS="n-message-api",fS="n-message-provider",bY=U([z("message-wrapper",` + `)]);function si(e,t){return[Z("hover",e,t),q("&:hover",e,t)]}const kY=Object.assign(Object.assign({},Be.props),{options:{type:Array,default:()=>[]},collapsed:{type:Boolean,default:void 0},collapsedWidth:{type:Number,default:48},iconSize:{type:Number,default:20},collapsedIconSize:{type:Number,default:24},rootIndent:Number,indent:{type:Number,default:32},labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},disabledField:{type:String,default:"disabled"},defaultExpandAll:Boolean,defaultExpandedKeys:Array,expandedKeys:Array,value:[String,Number],defaultValue:{type:[String,Number],default:null},mode:{type:String,default:"vertical"},watchProps:{type:Array,default:void 0},disabled:Boolean,show:{type:Boolean,default:!0},inverted:Boolean,"onUpdate:expandedKeys":[Function,Array],onUpdateExpandedKeys:[Function,Array],onUpdateValue:[Function,Array],"onUpdate:value":[Function,Array],expandIcon:Function,renderIcon:Function,renderLabel:Function,renderExtra:Function,dropdownProps:Object,accordion:Boolean,nodeProps:Function,dropdownPlacement:{type:String,default:"bottom"},responsive:Boolean,items:Array,onOpenNamesChange:[Function,Array],onSelect:[Function,Array],onExpandedNamesChange:[Function,Array],expandedNames:Array,defaultExpandedNames:Array}),PY=ge({name:"Menu",props:kY,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Menu","-menu",SY,SK,e,t),r=We(cS,null),i=L(()=>{var B;const{collapsed:E}=e;if(E!==void 0)return E;if(r){const{collapseModeRef:A,collapsedRef:G}=r;if(A.value==="width")return(B=G.value)!==null&&B!==void 0?B:!1}return!1}),a=L(()=>{const{keyField:B,childrenField:E,disabledField:A}=e;return wi(e.items||e.options,{getIgnored(G){return Rh(G)},getChildren(G){return G[E]},getDisabled(G){return G[A]},getKey(G){var ne;return(ne=G[B])!==null&&ne!==void 0?ne:G.name}})}),s=L(()=>new Set(a.value.treeNodes.map(B=>B.key))),{watchProps:l}=e,c=W(null);l!=null&&l.includes("defaultValue")?Yt(()=>{c.value=e.defaultValue}):c.value=e.defaultValue;const u=Ve(e,"value"),d=sn(u,c),f=W([]),p=()=>{f.value=e.defaultExpandAll?a.value.getNonLeafKeys():e.defaultExpandedNames||e.defaultExpandedKeys||a.value.getPath(d.value,{includeSelf:!1}).keyPath};l!=null&&l.includes("defaultExpandedKeys")?Yt(p):p();const h=wu(e,["expandedNames","expandedKeys"]),m=sn(h,f),v=L(()=>a.value.treeNodes),b=L(()=>a.value.getPath(d.value).keyPath);at(pl,{props:e,mergedCollapsedRef:i,mergedThemeRef:o,mergedValueRef:d,mergedExpandedKeysRef:m,activePathRef:b,mergedClsPrefixRef:t,isHorizontalRef:L(()=>e.mode==="horizontal"),invertedRef:Ve(e,"inverted"),doSelect:w,toggleExpand:S});function w(B,E){const{"onUpdate:value":A,onUpdateValue:G,onSelect:ne}=e;G&&Ee(G,B,E),A&&Ee(A,B,E),ne&&Ee(ne,B,E),c.value=B}function C(B){const{"onUpdate:expandedKeys":E,onUpdateExpandedKeys:A,onExpandedNamesChange:G,onOpenNamesChange:ne}=e;E&&Ee(E,B),A&&Ee(A,B),G&&Ee(G,B),ne&&Ee(ne,B),f.value=B}function S(B){const E=Array.from(m.value),A=E.findIndex(G=>G===B);if(~A)E.splice(A,1);else{if(e.accordion&&s.value.has(B)){const G=E.findIndex(ne=>s.value.has(ne));G>-1&&E.splice(G,1)}E.push(B)}C(E)}const _=B=>{const E=a.value.getPath(B??d.value,{includeSelf:!1}).keyPath;if(!E.length)return;const A=Array.from(m.value),G=new Set([...A,...E]);e.accordion&&s.value.forEach(ne=>{G.has(ne)&&!E.includes(ne)&&G.delete(ne)}),C(Array.from(G))},x=L(()=>{const{inverted:B}=e,{common:{cubicBezierEaseInOut:E},self:A}=o.value,{borderRadius:G,borderColorHorizontal:ne,fontSize:ye,itemHeight:J,dividerColor:xe}=A,j={"--n-divider-color":xe,"--n-bezier":E,"--n-font-size":ye,"--n-border-color-horizontal":ne,"--n-border-radius":G,"--n-item-height":J};return B?(j["--n-group-text-color"]=A.groupTextColorInverted,j["--n-color"]=A.colorInverted,j["--n-item-text-color"]=A.itemTextColorInverted,j["--n-item-text-color-hover"]=A.itemTextColorHoverInverted,j["--n-item-text-color-active"]=A.itemTextColorActiveInverted,j["--n-item-text-color-child-active"]=A.itemTextColorChildActiveInverted,j["--n-item-text-color-child-active-hover"]=A.itemTextColorChildActiveInverted,j["--n-item-text-color-active-hover"]=A.itemTextColorActiveHoverInverted,j["--n-item-icon-color"]=A.itemIconColorInverted,j["--n-item-icon-color-hover"]=A.itemIconColorHoverInverted,j["--n-item-icon-color-active"]=A.itemIconColorActiveInverted,j["--n-item-icon-color-active-hover"]=A.itemIconColorActiveHoverInverted,j["--n-item-icon-color-child-active"]=A.itemIconColorChildActiveInverted,j["--n-item-icon-color-child-active-hover"]=A.itemIconColorChildActiveHoverInverted,j["--n-item-icon-color-collapsed"]=A.itemIconColorCollapsedInverted,j["--n-item-text-color-horizontal"]=A.itemTextColorHorizontalInverted,j["--n-item-text-color-hover-horizontal"]=A.itemTextColorHoverHorizontalInverted,j["--n-item-text-color-active-horizontal"]=A.itemTextColorActiveHorizontalInverted,j["--n-item-text-color-child-active-horizontal"]=A.itemTextColorChildActiveHorizontalInverted,j["--n-item-text-color-child-active-hover-horizontal"]=A.itemTextColorChildActiveHoverHorizontalInverted,j["--n-item-text-color-active-hover-horizontal"]=A.itemTextColorActiveHoverHorizontalInverted,j["--n-item-icon-color-horizontal"]=A.itemIconColorHorizontalInverted,j["--n-item-icon-color-hover-horizontal"]=A.itemIconColorHoverHorizontalInverted,j["--n-item-icon-color-active-horizontal"]=A.itemIconColorActiveHorizontalInverted,j["--n-item-icon-color-active-hover-horizontal"]=A.itemIconColorActiveHoverHorizontalInverted,j["--n-item-icon-color-child-active-horizontal"]=A.itemIconColorChildActiveHorizontalInverted,j["--n-item-icon-color-child-active-hover-horizontal"]=A.itemIconColorChildActiveHoverHorizontalInverted,j["--n-arrow-color"]=A.arrowColorInverted,j["--n-arrow-color-hover"]=A.arrowColorHoverInverted,j["--n-arrow-color-active"]=A.arrowColorActiveInverted,j["--n-arrow-color-active-hover"]=A.arrowColorActiveHoverInverted,j["--n-arrow-color-child-active"]=A.arrowColorChildActiveInverted,j["--n-arrow-color-child-active-hover"]=A.arrowColorChildActiveHoverInverted,j["--n-item-color-hover"]=A.itemColorHoverInverted,j["--n-item-color-active"]=A.itemColorActiveInverted,j["--n-item-color-active-hover"]=A.itemColorActiveHoverInverted,j["--n-item-color-active-collapsed"]=A.itemColorActiveCollapsedInverted):(j["--n-group-text-color"]=A.groupTextColor,j["--n-color"]=A.color,j["--n-item-text-color"]=A.itemTextColor,j["--n-item-text-color-hover"]=A.itemTextColorHover,j["--n-item-text-color-active"]=A.itemTextColorActive,j["--n-item-text-color-child-active"]=A.itemTextColorChildActive,j["--n-item-text-color-child-active-hover"]=A.itemTextColorChildActiveHover,j["--n-item-text-color-active-hover"]=A.itemTextColorActiveHover,j["--n-item-icon-color"]=A.itemIconColor,j["--n-item-icon-color-hover"]=A.itemIconColorHover,j["--n-item-icon-color-active"]=A.itemIconColorActive,j["--n-item-icon-color-active-hover"]=A.itemIconColorActiveHover,j["--n-item-icon-color-child-active"]=A.itemIconColorChildActive,j["--n-item-icon-color-child-active-hover"]=A.itemIconColorChildActiveHover,j["--n-item-icon-color-collapsed"]=A.itemIconColorCollapsed,j["--n-item-text-color-horizontal"]=A.itemTextColorHorizontal,j["--n-item-text-color-hover-horizontal"]=A.itemTextColorHoverHorizontal,j["--n-item-text-color-active-horizontal"]=A.itemTextColorActiveHorizontal,j["--n-item-text-color-child-active-horizontal"]=A.itemTextColorChildActiveHorizontal,j["--n-item-text-color-child-active-hover-horizontal"]=A.itemTextColorChildActiveHoverHorizontal,j["--n-item-text-color-active-hover-horizontal"]=A.itemTextColorActiveHoverHorizontal,j["--n-item-icon-color-horizontal"]=A.itemIconColorHorizontal,j["--n-item-icon-color-hover-horizontal"]=A.itemIconColorHoverHorizontal,j["--n-item-icon-color-active-horizontal"]=A.itemIconColorActiveHorizontal,j["--n-item-icon-color-active-hover-horizontal"]=A.itemIconColorActiveHoverHorizontal,j["--n-item-icon-color-child-active-horizontal"]=A.itemIconColorChildActiveHorizontal,j["--n-item-icon-color-child-active-hover-horizontal"]=A.itemIconColorChildActiveHoverHorizontal,j["--n-arrow-color"]=A.arrowColor,j["--n-arrow-color-hover"]=A.arrowColorHover,j["--n-arrow-color-active"]=A.arrowColorActive,j["--n-arrow-color-active-hover"]=A.arrowColorActiveHover,j["--n-arrow-color-child-active"]=A.arrowColorChildActive,j["--n-arrow-color-child-active-hover"]=A.arrowColorChildActiveHover,j["--n-item-color-hover"]=A.itemColorHover,j["--n-item-color-active"]=A.itemColorActive,j["--n-item-color-active-hover"]=A.itemColorActiveHover,j["--n-item-color-active-collapsed"]=A.itemColorActiveCollapsed),j}),y=n?kt("menu",L(()=>e.inverted?"a":"b"),x,e):void 0,k=Gr(),P=W(null),T=W(null);let $=!0;const R=()=>{var B;$?$=!1:(B=P.value)===null||B===void 0||B.sync({showAllItemsBeforeCalculate:!0})};function K(){return document.getElementById(k)}const H=W(-1);function D(B){H.value=e.options.length-B}function M(B){B||(H.value=-1)}const Y=L(()=>{const B=H.value;return{children:B===-1?[]:e.options.slice(B)}}),Q=L(()=>{const{childrenField:B,disabledField:E,keyField:A}=e;return wi([Y.value],{getIgnored(G){return Rh(G)},getChildren(G){return G[B]},getDisabled(G){return G[E]},getKey(G){var ne;return(ne=G[A])!==null&&ne!==void 0?ne:G.name}})}),de=L(()=>wi([{}]).treeNodes[0]);function he(){var B;if(H.value===-1)return g(Th,{root:!0,level:0,key:"__ellpisisGroupPlaceholder__",internalKey:"__ellpisisGroupPlaceholder__",title:"···",tmNode:de.value,domId:k,isEllipsisPlaceholder:!0});const E=Q.value.treeNodes[0],A=b.value,G=!!(!((B=E.children)===null||B===void 0)&&B.some(ne=>A.includes(ne.key)));return g(Th,{level:0,root:!0,key:"__ellpisisGroup__",internalKey:"__ellpisisGroup__",title:"···",virtualChildActive:G,tmNode:E,domId:k,rawNodes:E.rawNode.children||[],tmNodes:E.children||[],isEllipsisPlaceholder:!0})}return{mergedClsPrefix:t,controlledExpandedKeys:h,uncontrolledExpanededKeys:f,mergedExpandedKeys:m,uncontrolledValue:c,mergedValue:d,activePath:b,tmNodes:v,mergedTheme:o,mergedCollapsed:i,cssVars:n?void 0:x,themeClass:y==null?void 0:y.themeClass,overflowRef:P,counterRef:T,updateCounter:()=>{},onResize:R,onUpdateOverflow:M,onUpdateCount:D,renderCounter:he,getCounter:K,onRender:y==null?void 0:y.onRender,showOption:_,deriveResponsiveState:R}},render(){const{mergedClsPrefix:e,mode:t,themeClass:n,onRender:o}=this;o==null||o();const r=()=>this.tmNodes.map(l=>Sm(l,this.$props)),a=t==="horizontal"&&this.responsive,s=()=>g("div",{role:t==="horizontal"?"menubar":"menu",class:[`${e}-menu`,n,`${e}-menu--${t}`,a&&`${e}-menu--responsive`,this.mergedCollapsed&&`${e}-menu--collapsed`],style:this.cssVars},a?g(uh,{ref:"overflowRef",onUpdateOverflow:this.onUpdateOverflow,getCounter:this.getCounter,onUpdateCount:this.onUpdateCount,updateCounter:this.updateCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:r,counter:this.renderCounter}):r());return a?g(sr,{onResize:this.onResize},{default:s}):s()}}),yS={icon:Function,type:{type:String,default:"info"},content:[String,Number,Function],showIcon:{type:Boolean,default:!0},closable:Boolean,keepAliveOnHover:Boolean,onClose:Function,onMouseenter:Function,onMouseleave:Function},xS="n-message-api",CS="n-message-provider",TY=q([z("message-wrapper",` margin: var(--n-margin); z-index: 0; transform-origin: top center; @@ -3151,10 +3180,10 @@ ${t} width: var(--n-icon-size); font-size: var(--n-icon-size); flex-shrink: 0; - `,[["default","info","success","warning","error","loading"].map(e=>Z(`${e}-type`,[U("> *",` + `,[["default","info","success","warning","error","loading"].map(e=>Z(`${e}-type`,[q("> *",` color: var(--n-icon-color-${e}); transition: color .3s var(--n-bezier); - `)])),U("> *",` + `)])),q("> *",` position: absolute; left: 0; top: 0; @@ -3166,9 +3195,9 @@ ${t} background-color .3s var(--n-bezier), color .3s var(--n-bezier); flex-shrink: 0; - `,[U("&:hover",` + `,[q("&:hover",` color: var(--n-close-icon-color-hover); - `),U("&:active",` + `),q("&:active",` color: var(--n-close-icon-color-pressed); `)])]),z("message-container",` z-index: 6000; @@ -3209,20 +3238,20 @@ ${t} right: 12px; justify-content: flex-end; align-items: flex-end; - `)])]),yY={info:()=>v(jr,null),success:()=>v(Bi,null),warning:()=>v(Ni,null),error:()=>v(Fi,null),default:()=>null},xY=me({name:"Message",props:Object.assign(Object.assign({},uS),{render:Function}),setup(e){const{inlineThemeDisabled:t,mergedRtlRef:n}=it(e),{props:o,mergedClsPrefixRef:r}=We(fS),i=pn("Message",n,r),a=Be("Message","-message",bY,Uq,o,r),s=L(()=>{const{type:c}=e,{common:{cubicBezierEaseInOut:u},self:{padding:d,margin:f,maxWidth:p,iconMargin:h,closeMargin:g,closeSize:b,iconSize:m,fontSize:x,lineHeight:S,borderRadius:_,iconColorInfo:w,iconColorSuccess:C,iconColorWarning:y,iconColorError:k,iconColorLoading:R,closeIconSize:$,closeBorderRadius:I,[ke("textColor",c)]:A,[ke("boxShadow",c)]:K,[ke("color",c)]:B,[ke("closeColorHover",c)]:M,[ke("closeColorPressed",c)]:D,[ke("closeIconColor",c)]:Y,[ke("closeIconColorPressed",c)]:Q,[ke("closeIconColorHover",c)]:ue}}=a.value;return{"--n-bezier":u,"--n-margin":f,"--n-padding":d,"--n-max-width":p,"--n-font-size":x,"--n-icon-margin":h,"--n-icon-size":m,"--n-close-icon-size":$,"--n-close-border-radius":I,"--n-close-size":b,"--n-close-margin":g,"--n-text-color":A,"--n-color":B,"--n-box-shadow":K,"--n-icon-color-info":w,"--n-icon-color-success":C,"--n-icon-color-warning":y,"--n-icon-color-error":k,"--n-icon-color-loading":R,"--n-close-color-hover":M,"--n-close-color-pressed":D,"--n-close-icon-color":Y,"--n-close-icon-color-pressed":Q,"--n-close-icon-color-hover":ue,"--n-line-height":S,"--n-border-radius":_}}),l=t?kt("message",L(()=>e.type[0]),s,{}):void 0;return{mergedClsPrefix:r,rtlEnabled:i,messageProviderProps:o,handleClose(){var c;(c=e.onClose)===null||c===void 0||c.call(e)},cssVars:t?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender,placement:o.placement}},render(){const{render:e,type:t,closable:n,content:o,mergedClsPrefix:r,cssVars:i,themeClass:a,onRender:s,icon:l,handleClose:c,showIcon:u}=this;s==null||s();let d;return v("div",{class:[`${r}-message-wrapper`,a],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:[{alignItems:this.placement.startsWith("top")?"flex-start":"flex-end"},i]},e?e(this.$props):v("div",{class:[`${r}-message ${r}-message--${t}-type`,this.rtlEnabled&&`${r}-message--rtl`]},(d=CY(l,t,r))&&u?v("div",{class:`${r}-message__icon ${r}-message__icon--${t}-type`},v(Hi,null,{default:()=>d})):null,v("div",{class:`${r}-message__content`},Wt(o)),n?v(ji,{clsPrefix:r,class:`${r}-message__close`,onClick:c,absolute:!0}):null))}});function CY(e,t,n){if(typeof e=="function")return e();{const o=t==="loading"?v(Xr,{clsPrefix:n,strokeWidth:24,scale:.85}):yY[t]();return o?v(Ut,{clsPrefix:n,key:t},{default:()=>o}):null}}const wY=me({name:"MessageEnvironment",props:Object.assign(Object.assign({},uS),{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=F(!0);Ft(()=>{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 v(Tu,{appear:!0,onAfterLeave:this.handleAfterLeave,onLeave:this.onLeave},{default:()=>[this.show?v(xY,{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]})}}),_Y=Object.assign(Object.assign({},Be.props),{to:[String,Object],duration:{type:Number,default:3e3},keepAliveOnHover:Boolean,max:Number,placement:{type:String,default:"top"},closable:Boolean,containerClass:String,containerStyle:[String,Object]}),SY=me({name:"MessageProvider",props:_Y,setup(e){const{mergedClsPrefixRef:t}=it(e),n=F([]),o=F({}),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(fS,{props:e,mergedClsPrefixRef:t}),lt(dS,r);function i(l,c){const u=Ii(),d=xo(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 v(at,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.messageList.length?v(Zc,{to:(n=this.to)!==null&&n!==void 0?n:"body"},v("div",{class:[`${this.mergedClsPrefix}-message-container`,`${this.mergedClsPrefix}-message-container--${this.placement}`,this.containerClass],key:"message-container",style:this.containerStyle},this.messageList.map(o=>v(wY,Object.assign({ref:r=>{r&&(this.messageRefs[o.key]=r)},internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave},el(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 kY(){const e=We(dS,null);return e===null&&Kr("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 Lu="n-notification-provider",PY=me({name:"NotificationContainer",props:{scrollable:{type:Boolean,required:!0},placement:{type:String,required:!0}},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t,wipTransitionCountRef:n}=We(Lu),o=F(null);return nn(()=>{var r,i;n.value>0?(r=o==null?void 0:o.value)===null||r===void 0||r.classList.add("transitioning"):(i=o==null?void 0:o.value)===null||i===void 0||i.classList.remove("transitioning")}),{selfRef:o,mergedTheme:e,mergedClsPrefix:t,transitioning:n}},render(){const{$slots:e,scrollable:t,mergedClsPrefix:n,mergedTheme:o,placement:r}=this;return v("div",{ref:"selfRef",class:[`${n}-notification-container`,t&&`${n}-notification-container--scrollable`,`${n}-notification-container--${r}`]},t?v(ko,{theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,contentStyle:{overflow:"hidden"}},e):e)}}),TY={info:()=>v(jr,null),success:()=>v(Bi,null),warning:()=>v(Ni,null),error:()=>v(Fi,null),default:()=>null},wm={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},RY=qr(wm),$Y=me({name:"Notification",props:wm,setup(e){const{mergedClsPrefixRef:t,mergedThemeRef:n,props:o}=We(Lu),{inlineThemeDisabled:r,mergedRtlRef:i}=it(),a=pn("Notification",i,t),s=L(()=>{const{type:c}=e,{self:{color:u,textColor:d,closeIconColor:f,closeIconColorHover:p,closeIconColorPressed:h,headerTextColor:g,descriptionTextColor:b,actionTextColor:m,borderRadius:x,headerFontWeight:S,boxShadow:_,lineHeight:w,fontSize:C,closeMargin:y,closeSize:k,width:R,padding:$,closeIconSize:I,closeBorderRadius:A,closeColorHover:K,closeColorPressed:B,titleFontSize:M,metaFontSize:D,descriptionFontSize:Y,[ke("iconColor",c)]:Q},common:{cubicBezierEaseOut:ue,cubicBezierEaseIn:le,cubicBezierEaseInOut:N}}=n.value,{left:E,right:O,top:q,bottom:ne}=yo($);return{"--n-color":u,"--n-font-size":C,"--n-text-color":d,"--n-description-text-color":b,"--n-action-text-color":m,"--n-title-text-color":g,"--n-title-font-weight":S,"--n-bezier":N,"--n-bezier-ease-out":ue,"--n-bezier-ease-in":le,"--n-border-radius":x,"--n-box-shadow":_,"--n-close-border-radius":A,"--n-close-color-hover":K,"--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":w,"--n-icon-color":Q,"--n-close-margin":y,"--n-close-size":k,"--n-close-icon-size":I,"--n-width":R,"--n-padding-left":E,"--n-padding-right":O,"--n-padding-top":q,"--n-padding-bottom":ne,"--n-title-font-size":M,"--n-meta-font-size":D,"--n-description-font-size":Y}}),l=r?kt("notification",L(()=>e.type[0]),s,o):void 0;return{mergedClsPrefix:t,showAvatar:L(()=>e.avatar||e.type!=="default"),handleCloseClick(){e.onClose()},rtlEnabled:a,cssVars:r?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){var e;const{mergedClsPrefix:t}=this;return(e=this.onRender)===null||e===void 0||e.call(this),v("div",{class:[`${t}-notification-wrapper`,this.themeClass],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:this.cssVars},v("div",{class:[`${t}-notification`,this.rtlEnabled&&`${t}-notification--rtl`,this.themeClass,{[`${t}-notification--closable`]:this.closable,[`${t}-notification--show-avatar`]:this.showAvatar}],style:this.cssVars},this.showAvatar?v("div",{class:`${t}-notification__avatar`},this.avatar?Wt(this.avatar):this.type!=="default"?v(Ut,{clsPrefix:t},{default:()=>TY[this.type]()}):null):null,this.closable?v(ji,{clsPrefix:t,class:`${t}-notification__close`,onClick:this.handleCloseClick}):null,v("div",{ref:"bodyRef",class:`${t}-notification-main`},this.title?v("div",{class:`${t}-notification-main__header`},Wt(this.title)):null,this.description?v("div",{class:`${t}-notification-main__description`},Wt(this.description)):null,this.content?v("pre",{class:`${t}-notification-main__content`},Wt(this.content)):null,this.meta||this.action?v("div",{class:`${t}-notification-main-footer`},this.meta?v("div",{class:`${t}-notification-main-footer__meta`},Wt(this.meta)):null,this.action?v("div",{class:`${t}-notification-main-footer__action`},Wt(this.action)):null):null)))}}),EY=Object.assign(Object.assign({},wm),{duration:Number,onClose:Function,onLeave:Function,onAfterEnter:Function,onAfterLeave:Function,onHide:Function,onAfterShow:Function,onAfterHide:Function}),AY=me({name:"NotificationEnvironment",props:Object.assign(Object.assign({},EY),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const{wipTransitionCountRef:t}=We(Lu),n=F(!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:g,onAfterShow:b}=e;g&&g(),b&&b()}function s(h){t.value++,h.style.maxHeight=`${h.offsetHeight}px`,h.style.height=`${h.offsetHeight}px`,h.offsetHeight}function l(h){const{onHide:g}=e;g&&g(),h.style.maxHeight="0",h.offsetHeight}function c(){t.value--;const{onAfterLeave:h,onInternalAfterLeave:g,onAfterHide:b,internalKey:m}=e;h&&h(),g(m),b&&b()}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(g=>{g!==!1&&r()}):r()}return Ft(()=>{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 v(hn,{name:"notification-transition",appear:!0,onBeforeEnter:this.handleBeforeEnter,onAfterEnter:this.handleAfterEnter,onBeforeLeave:this.handleBeforeLeave,onLeave:this.handleLeave,onAfterLeave:this.handleAfterLeave},{default:()=>this.show?v($Y,Object.assign({},Xn(this.$props,RY),{onClose:this.handleClose,onMouseenter:this.duration&&this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.duration&&this.keepAliveOnHover?this.handleMouseleave:void 0})):null})}}),IY=U([z("notification-container",` + `)])]),RY={info:()=>g(jr,null),success:()=>g(Fi,null),warning:()=>g(Bi,null),error:()=>g(Li,null),default:()=>null},EY=ge({name:"Message",props:Object.assign(Object.assign({},yS),{render:Function}),setup(e){const{inlineThemeDisabled:t,mergedRtlRef:n}=st(e),{props:o,mergedClsPrefixRef:r}=We(CS),i=pn("Message",n,r),a=Be("Message","-message",TY,Kq,o,r),s=L(()=>{const{type:c}=e,{common:{cubicBezierEaseInOut:u},self:{padding:d,margin:f,maxWidth:p,iconMargin:h,closeMargin:m,closeSize:v,iconSize:b,fontSize:w,lineHeight:C,borderRadius:S,iconColorInfo:_,iconColorSuccess:x,iconColorWarning:y,iconColorError:k,iconColorLoading:P,closeIconSize:T,closeBorderRadius:$,[Te("textColor",c)]:R,[Te("boxShadow",c)]:K,[Te("color",c)]:H,[Te("closeColorHover",c)]:D,[Te("closeColorPressed",c)]:M,[Te("closeIconColor",c)]:Y,[Te("closeIconColorPressed",c)]:Q,[Te("closeIconColorHover",c)]:de}}=a.value;return{"--n-bezier":u,"--n-margin":f,"--n-padding":d,"--n-max-width":p,"--n-font-size":w,"--n-icon-margin":h,"--n-icon-size":b,"--n-close-icon-size":T,"--n-close-border-radius":$,"--n-close-size":v,"--n-close-margin":m,"--n-text-color":R,"--n-color":H,"--n-box-shadow":K,"--n-icon-color-info":_,"--n-icon-color-success":x,"--n-icon-color-warning":y,"--n-icon-color-error":k,"--n-icon-color-loading":P,"--n-close-color-hover":D,"--n-close-color-pressed":M,"--n-close-icon-color":Y,"--n-close-icon-color-pressed":Q,"--n-close-icon-color-hover":de,"--n-line-height":C,"--n-border-radius":S}}),l=t?kt("message",L(()=>e.type[0]),s,{}):void 0;return{mergedClsPrefix:r,rtlEnabled:i,messageProviderProps:o,handleClose(){var c;(c=e.onClose)===null||c===void 0||c.call(e)},cssVars:t?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender,placement:o.placement}},render(){const{render:e,type:t,closable:n,content:o,mergedClsPrefix:r,cssVars:i,themeClass:a,onRender:s,icon:l,handleClose:c,showIcon:u}=this;s==null||s();let d;return g("div",{class:[`${r}-message-wrapper`,a],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:[{alignItems:this.placement.startsWith("top")?"flex-start":"flex-end"},i]},e?e(this.$props):g("div",{class:[`${r}-message ${r}-message--${t}-type`,this.rtlEnabled&&`${r}-message--rtl`]},(d=$Y(l,t,r))&&u?g("div",{class:`${r}-message__icon ${r}-message__icon--${t}-type`},g(Ni,null,{default:()=>d})):null,g("div",{class:`${r}-message__content`},Wt(o)),n?g(Hi,{clsPrefix:r,class:`${r}-message__close`,onClick:c,absolute:!0}):null))}});function $Y(e,t,n){if(typeof e=="function")return e();{const o=t==="loading"?g(Jr,{clsPrefix:n,strokeWidth:24,scale:.85}):RY[t]();return o?g(Ut,{clsPrefix:n,key:t},{default:()=>o}):null}}const AY=ge({name:"MessageEnvironment",props:Object.assign(Object.assign({},yS),{duration:{type:Number,default:3e3},onAfterLeave:Function,onLeave:Function,internalKey:{type:String,required:!0},onInternalAfterLeave:Function,onHide:Function,onAfterHide:Function}),setup(e){let t=null;const n=W(!0);jt(()=>{o()});function o(){const{duration:u}=e;u&&(t=window.setTimeout(a,u))}function r(u){u.currentTarget===u.target&&t!==null&&(window.clearTimeout(t),t=null)}function i(u){u.currentTarget===u.target&&o()}function a(){const{onHide:u}=e;n.value=!1,t&&(window.clearTimeout(t),t=null),u&&u()}function s(){const{onClose:u}=e;u&&u(),a()}function l(){const{onAfterLeave:u,onInternalAfterLeave:d,onAfterHide:f,internalKey:p}=e;u&&u(),d&&d(p),f&&f()}function c(){a()}return{show:n,hide:a,handleClose:s,handleAfterLeave:l,handleMouseleave:i,handleMouseenter:r,deactivate:c}},render(){return g(Eu,{appear:!0,onAfterLeave:this.handleAfterLeave,onLeave:this.onLeave},{default:()=>[this.show?g(EY,{content:this.content,type:this.type,icon:this.icon,showIcon:this.showIcon,closable:this.closable,onClose:this.handleClose,onMouseenter:this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.keepAliveOnHover?this.handleMouseleave:void 0}):null]})}}),IY=Object.assign(Object.assign({},Be.props),{to:[String,Object],duration:{type:Number,default:3e3},keepAliveOnHover:Boolean,max:Number,placement:{type:String,default:"top"},closable:Boolean,containerClass:String,containerStyle:[String,Object]}),OY=ge({name:"MessageProvider",props:IY,setup(e){const{mergedClsPrefixRef:t}=st(e),n=W([]),o=W({}),r={create(l,c){return i(l,Object.assign({type:"default"},c))},info(l,c){return i(l,Object.assign(Object.assign({},c),{type:"info"}))},success(l,c){return i(l,Object.assign(Object.assign({},c),{type:"success"}))},warning(l,c){return i(l,Object.assign(Object.assign({},c),{type:"warning"}))},error(l,c){return i(l,Object.assign(Object.assign({},c),{type:"error"}))},loading(l,c){return i(l,Object.assign(Object.assign({},c),{type:"loading"}))},destroyAll:s};at(CS,{props:e,mergedClsPrefixRef:t}),at(xS,r);function i(l,c){const u=Gr(),d=Zn(Object.assign(Object.assign({},c),{content:l,key:u,destroy:()=>{var p;(p=o.value[u])===null||p===void 0||p.hide()}})),{max:f}=e;return f&&n.value.length>=f&&n.value.shift(),n.value.push(d),d}function a(l){n.value.splice(n.value.findIndex(c=>c.key===l),1),delete o.value[l]}function s(){Object.values(o.value).forEach(l=>{l.hide()})}return Object.assign({mergedClsPrefix:t,messageRefs:o,messageList:n,handleAfterLeave:a},r)},render(){var e,t,n;return g(rt,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.messageList.length?g(eu,{to:(n=this.to)!==null&&n!==void 0?n:"body"},g("div",{class:[`${this.mergedClsPrefix}-message-container`,`${this.mergedClsPrefix}-message-container--${this.placement}`,this.containerClass],key:"message-container",style:this.containerStyle},this.messageList.map(o=>g(AY,Object.assign({ref:r=>{r&&(this.messageRefs[o.key]=r)},internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave},Da(o,["destroy"],void 0),{duration:o.duration===void 0?this.duration:o.duration,keepAliveOnHover:o.keepAliveOnHover===void 0?this.keepAliveOnHover:o.keepAliveOnHover,closable:o.closable===void 0?this.closable:o.closable}))))):null)}});function MY(){const e=We(xS,null);return e===null&&ur("use-message","No outer founded. See prerequisite in https://www.naiveui.com/en-US/os-theme/components/message for more details. If you want to use `useMessage` outside setup, please check https://www.naiveui.com/zh-CN/os-theme/components/message#Q-&-A."),e}const zY=ge({name:"ModalEnvironment",props:Object.assign(Object.assign({},q2),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=W(!0);function n(){const{onInternalAfterLeave:u,internalKey:d,onAfterLeave:f}=e;u&&u(d),f&&f()}function o(){const{onPositiveClick:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function r(){const{onNegativeClick:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function i(){const{onClose:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function a(u){const{onMaskClick:d,maskClosable:f}=e;d&&(d(u),f&&l())}function s(){const{onEsc:u}=e;u&&u()}function l(){t.value=!1}function c(u){t.value=u}return{show:t,hide:l,handleUpdateShow:c,handleAfterLeave:n,handleCloseClick:i,handleNegativeClick:r,handlePositiveClick:o,handleMaskClick:a,handleEsc:s}},render(){const{handleUpdateShow:e,handleAfterLeave:t,handleMaskClick:n,handleEsc:o,show:r}=this;return g(Qr,Object.assign({},this.$props,{show:r,onUpdateShow:e,onMaskClick:n,onEsc:o,onAfterLeave:t,internalAppear:!0,internalModal:!0}))}}),Q0="n-modal-provider",wS="n-modal-api",DY="n-modal-reactive-list",LY={to:[String,Object]},FY=ge({name:"ModalProvider",props:LY,setup(){const e=Rc(64),t=Tc(),n=W([]),o={};function r(l={}){const c=Gr(),u=Zn(Object.assign(Object.assign({},l),{key:c,destroy:()=>{o[`n-modal-${c}`].hide()}}));return n.value.push(u),u}function i(l){const{value:c}=n;c.splice(c.findIndex(u=>u.key===l),1)}function a(){Object.values(o).forEach(l=>{l.hide()})}const s={create:r,destroyAll:a};return at(wS,s),at(Q0,{clickedRef:Rc(64),clickedPositionRef:Tc()}),at(DY,n),at(Q0,{clickedRef:e,clickedPositionRef:t}),Object.assign(Object.assign({},s),{modalList:n,modalInstRefs:o,handleAfterLeave:i})},render(){var e,t;return g(rt,null,[this.modalList.map(n=>{var o;return g(zY,Da(n,["destroy","style"],{internalStyle:n.style,to:(o=n.to)!==null&&o!==void 0?o:this.to,ref:r=>{r===null?delete this.modalInstRefs[`n-modal-${n.key}`]:this.modalInstRefs[`n-modal-${n.key}`]=r},internalKey:n.key,onInternalAfterLeave:this.handleAfterLeave}))}),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)])}});function BY(){const e=We(wS,null);return e===null&&ur("use-modal","No outer founded."),e}const Lu="n-notification-provider",NY=ge({name:"NotificationContainer",props:{scrollable:{type:Boolean,required:!0},placement:{type:String,required:!0}},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t,wipTransitionCountRef:n}=We(Lu),o=W(null);return Yt(()=>{var r,i;n.value>0?(r=o==null?void 0:o.value)===null||r===void 0||r.classList.add("transitioning"):(i=o==null?void 0:o.value)===null||i===void 0||i.classList.remove("transitioning")}),{selfRef:o,mergedTheme:e,mergedClsPrefix:t,transitioning:n}},render(){const{$slots:e,scrollable:t,mergedClsPrefix:n,mergedTheme:o,placement:r}=this;return g("div",{ref:"selfRef",class:[`${n}-notification-container`,t&&`${n}-notification-container--scrollable`,`${n}-notification-container--${r}`]},t?g(To,{theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,contentStyle:{overflow:"hidden"}},e):e)}}),HY={info:()=>g(jr,null),success:()=>g(Fi,null),warning:()=>g(Bi,null),error:()=>g(Li,null),default:()=>null},km={closable:{type:Boolean,default:!0},type:{type:String,default:"default"},avatar:Function,title:[String,Function],description:[String,Function],content:[String,Function],meta:[String,Function],action:[String,Function],onClose:{type:Function,required:!0},keepAliveOnHover:Boolean,onMouseenter:Function,onMouseleave:Function},jY=Yr(km),VY=ge({name:"Notification",props:km,setup(e){const{mergedClsPrefixRef:t,mergedThemeRef:n,props:o}=We(Lu),{inlineThemeDisabled:r,mergedRtlRef:i}=st(),a=pn("Notification",i,t),s=L(()=>{const{type:c}=e,{self:{color:u,textColor:d,closeIconColor:f,closeIconColorHover:p,closeIconColorPressed:h,headerTextColor:m,descriptionTextColor:v,actionTextColor:b,borderRadius:w,headerFontWeight:C,boxShadow:S,lineHeight:_,fontSize:x,closeMargin:y,closeSize:k,width:P,padding:T,closeIconSize:$,closeBorderRadius:R,closeColorHover:K,closeColorPressed:H,titleFontSize:D,metaFontSize:M,descriptionFontSize:Y,[Te("iconColor",c)]:Q},common:{cubicBezierEaseOut:de,cubicBezierEaseIn:he,cubicBezierEaseInOut:B}}=n.value,{left:E,right:A,top:G,bottom:ne}=_o(T);return{"--n-color":u,"--n-font-size":x,"--n-text-color":d,"--n-description-text-color":v,"--n-action-text-color":b,"--n-title-text-color":m,"--n-title-font-weight":C,"--n-bezier":B,"--n-bezier-ease-out":de,"--n-bezier-ease-in":he,"--n-border-radius":w,"--n-box-shadow":S,"--n-close-border-radius":R,"--n-close-color-hover":K,"--n-close-color-pressed":H,"--n-close-icon-color":f,"--n-close-icon-color-hover":p,"--n-close-icon-color-pressed":h,"--n-line-height":_,"--n-icon-color":Q,"--n-close-margin":y,"--n-close-size":k,"--n-close-icon-size":$,"--n-width":P,"--n-padding-left":E,"--n-padding-right":A,"--n-padding-top":G,"--n-padding-bottom":ne,"--n-title-font-size":D,"--n-meta-font-size":M,"--n-description-font-size":Y}}),l=r?kt("notification",L(()=>e.type[0]),s,o):void 0;return{mergedClsPrefix:t,showAvatar:L(()=>e.avatar||e.type!=="default"),handleCloseClick(){e.onClose()},rtlEnabled:a,cssVars:r?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){var e;const{mergedClsPrefix:t}=this;return(e=this.onRender)===null||e===void 0||e.call(this),g("div",{class:[`${t}-notification-wrapper`,this.themeClass],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:this.cssVars},g("div",{class:[`${t}-notification`,this.rtlEnabled&&`${t}-notification--rtl`,this.themeClass,{[`${t}-notification--closable`]:this.closable,[`${t}-notification--show-avatar`]:this.showAvatar}],style:this.cssVars},this.showAvatar?g("div",{class:`${t}-notification__avatar`},this.avatar?Wt(this.avatar):this.type!=="default"?g(Ut,{clsPrefix:t},{default:()=>HY[this.type]()}):null):null,this.closable?g(Hi,{clsPrefix:t,class:`${t}-notification__close`,onClick:this.handleCloseClick}):null,g("div",{ref:"bodyRef",class:`${t}-notification-main`},this.title?g("div",{class:`${t}-notification-main__header`},Wt(this.title)):null,this.description?g("div",{class:`${t}-notification-main__description`},Wt(this.description)):null,this.content?g("pre",{class:`${t}-notification-main__content`},Wt(this.content)):null,this.meta||this.action?g("div",{class:`${t}-notification-main-footer`},this.meta?g("div",{class:`${t}-notification-main-footer__meta`},Wt(this.meta)):null,this.action?g("div",{class:`${t}-notification-main-footer__action`},Wt(this.action)):null):null)))}}),WY=Object.assign(Object.assign({},km),{duration:Number,onClose:Function,onLeave:Function,onAfterEnter:Function,onAfterLeave:Function,onHide:Function,onAfterShow:Function,onAfterHide:Function}),UY=ge({name:"NotificationEnvironment",props:Object.assign(Object.assign({},WY),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const{wipTransitionCountRef:t}=We(Lu),n=W(!0);let o=null;function r(){n.value=!1,o&&window.clearTimeout(o)}function i(h){t.value++,Ht(()=>{h.style.height=`${h.offsetHeight}px`,h.style.maxHeight="0",h.style.transition="none",h.offsetHeight,h.style.transition="",h.style.maxHeight=h.style.height})}function a(h){t.value--,h.style.height="",h.style.maxHeight="";const{onAfterEnter:m,onAfterShow:v}=e;m&&m(),v&&v()}function s(h){t.value++,h.style.maxHeight=`${h.offsetHeight}px`,h.style.height=`${h.offsetHeight}px`,h.offsetHeight}function l(h){const{onHide:m}=e;m&&m(),h.style.maxHeight="0",h.offsetHeight}function c(){t.value--;const{onAfterLeave:h,onInternalAfterLeave:m,onAfterHide:v,internalKey:b}=e;h&&h(),m(b),v&&v()}function u(){const{duration:h}=e;h&&(o=window.setTimeout(r,h))}function d(h){h.currentTarget===h.target&&o!==null&&(window.clearTimeout(o),o=null)}function f(h){h.currentTarget===h.target&&u()}function p(){const{onClose:h}=e;h?Promise.resolve(h()).then(m=>{m!==!1&&r()}):r()}return jt(()=>{e.duration&&(o=window.setTimeout(r,e.duration))}),{show:n,hide:r,handleClose:p,handleAfterLeave:c,handleLeave:l,handleBeforeLeave:s,handleAfterEnter:a,handleBeforeEnter:i,handleMouseenter:d,handleMouseleave:f}},render(){return g(fn,{name:"notification-transition",appear:!0,onBeforeEnter:this.handleBeforeEnter,onAfterEnter:this.handleAfterEnter,onBeforeLeave:this.handleBeforeLeave,onLeave:this.handleLeave,onAfterLeave:this.handleAfterLeave},{default:()=>this.show?g(VY,Object.assign({},Xn(this.$props,jY),{onClose:this.handleClose,onMouseenter:this.duration&&this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.duration&&this.keepAliveOnHover?this.handleMouseleave:void 0})):null})}}),qY=q([z("notification-container",` z-index: 4000; position: fixed; overflow: visible; display: flex; flex-direction: column; align-items: flex-end; - `,[U(">",[z("scrollbar",` + `,[q(">",[z("scrollbar",` width: initial; overflow: visible; height: -moz-fit-content !important; height: fit-content !important; max-height: 100vh !important; - `,[U(">",[z("scrollbar-container",` + `,[q(">",[z("scrollbar-container",` height: -moz-fit-content !important; height: fit-content !important; max-height: 100vh !important; @@ -3231,11 +3260,11 @@ ${t} padding-bottom: 33px; `)])])])]),Z("top, top-right, top-left",` top: 12px; - `,[U("&.transitioning >",[z("scrollbar",[U(">",[z("scrollbar-container",` + `,[q("&.transitioning >",[z("scrollbar",[q(">",[z("scrollbar-container",` min-height: 100vh !important; `)])])])]),Z("bottom, bottom-right, bottom-left",` bottom: 12px; - `,[U(">",[z("scrollbar",[U(">",[z("scrollbar-container",[z("scrollbar-content",` + `,[q(">",[z("scrollbar",[q(">",[z("scrollbar-container",[z("scrollbar-content",` padding-bottom: 12px; `)])])])]),z("notification-wrapper",` display: flex; @@ -3245,9 +3274,9 @@ ${t} `)]),Z("top, bottom",` left: 50%; transform: translateX(-50%); - `,[z("notification-wrapper",[U("&.notification-transition-enter-from, &.notification-transition-leave-to",` + `,[z("notification-wrapper",[q("&.notification-transition-enter-from, &.notification-transition-leave-to",` transform: scale(0.85); - `),U("&.notification-transition-leave-from, &.notification-transition-enter-to",` + `),q("&.notification-transition-leave-from, &.notification-transition-enter-to",` transform: scale(1); `)])]),Z("top",[z("notification-wrapper",` transform-origin: top center; @@ -3261,13 +3290,13 @@ ${t} margin-right: 28px; `)]),Z("top-right",` right: 0; - `,[Wl("top-right")]),Z("top-left",` + `,[Ul("top-right")]),Z("top-left",` left: 0; - `,[Wl("top-left")]),Z("bottom-right",` + `,[Ul("top-left")]),Z("bottom-right",` right: 0; - `,[Wl("bottom-right")]),Z("bottom-left",` + `,[Ul("bottom-right")]),Z("bottom-left",` left: 0; - `,[Wl("bottom-left")]),Z("scrollable",[Z("top-right",` + `,[Ul("bottom-left")]),Z("scrollable",[Z("top-right",` top: 0; `),Z("top-left",` top: 0; @@ -3277,13 +3306,13 @@ ${t} bottom: 0; `)]),z("notification-wrapper",` margin-bottom: 12px; - `,[U("&.notification-transition-enter-from, &.notification-transition-leave-to",` + `,[q("&.notification-transition-enter-from, &.notification-transition-leave-to",` opacity: 0; margin-top: 0 !important; margin-bottom: 0 !important; - `),U("&.notification-transition-leave-from, &.notification-transition-enter-to",` + `),q("&.notification-transition-leave-from, &.notification-transition-enter-to",` opacity: 1; - `),U("&.notification-transition-leave-active",` + `),q("&.notification-transition-leave-active",` transition: background-color .3s var(--n-bezier), color .3s var(--n-bezier), @@ -3293,7 +3322,7 @@ ${t} margin-top .3s linear, margin-bottom .3s linear, box-shadow .3s var(--n-bezier); - `),U("&.notification-transition-enter-active",` + `),q("&.notification-transition-enter-active",` transition: background-color .3s var(--n-bezier), color .3s var(--n-bezier), @@ -3333,7 +3362,7 @@ ${t} `)]),Z("show-avatar",[z("notification-main",` margin-left: 40px; width: calc(100% - 40px); - `)]),Z("closable",[z("notification-main",[U("> *:first-child",` + `)]),Z("closable",[z("notification-main",[q("> *:first-child",` padding-right: 20px; `)]),V("close",` position: absolute; @@ -3394,11 +3423,11 @@ ${t} word-wrap: break-word; transition: color .3s var(--n-bezier-ease-out); color: var(--n-text-color); - `,[U("&:first-child","margin: 0;")])])])])]);function Wl(e){const n=e.split("-")[1]==="left"?"calc(-100%)":"calc(100%)",o="0";return z("notification-wrapper",[U("&.notification-transition-enter-from, &.notification-transition-leave-to",` + `,[q("&:first-child","margin: 0;")])])])])]);function Ul(e){const n=e.split("-")[1]==="left"?"calc(-100%)":"calc(100%)",o="0";return z("notification-wrapper",[q("&.notification-transition-enter-from, &.notification-transition-leave-to",` transform: translate(${n}, 0); - `),U("&.notification-transition-leave-from, &.notification-transition-enter-to",` + `),q("&.notification-transition-leave-from, &.notification-transition-enter-to",` transform: translate(${o}, 0); - `)])}const hS="n-notification-api",OY=Object.assign(Object.assign({},Be.props),{containerClass:String,containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),MY=me({name:"NotificationProvider",props:OY,setup(e){const{mergedClsPrefixRef:t}=it(e),n=F([]),o={},r=new Set;function i(p){const h=Ii(),g=()=>{r.add(h),o[h]&&o[h].hide()},b=xo(Object.assign(Object.assign({},p),{key:h,destroy:g,hide:g,deactivate:g})),{max:m}=e;if(m&&n.value.length-r.size>=m){let x=!1,S=0;for(const _ of n.value){if(!r.has(_.key)){o[_.key]&&(_.destroy(),x=!0);break}S++}x||n.value.splice(S,1)}return n.value.push(b),b}const a=["info","success","warning","error"].map(p=>h=>i(Object.assign(Object.assign({},h),{type:p})));function s(p){r.delete(p),n.value.splice(n.value.findIndex(h=>h.key===p),1)}const l=Be("Notification","-notification",IY,Nq,e,t),c={create:i,info:a[0],success:a[1],warning:a[2],error:a[3],open:d,destroyAll:f},u=F(0);lt(hS,c),lt(Lu,{props:e,mergedClsPrefixRef:t,mergedThemeRef:l,wipTransitionCountRef:u});function d(p){return i(p)}function f(){Object.values(n.value).forEach(p=>{p.hide()})}return Object.assign({mergedClsPrefix:t,notificationList:n,notificationRefs:o,handleAfterLeave:s},c)},render(){var e,t,n;const{placement:o}=this;return v(at,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.notificationList.length?v(Zc,{to:(n=this.to)!==null&&n!==void 0?n:"body"},v(PY,{class:this.containerClass,style:this.containerStyle,scrollable:this.scrollable&&o!=="top"&&o!=="bottom",placement:o},{default:()=>this.notificationList.map(r=>v(AY,Object.assign({ref:i=>{const a=r.key;i===null?delete this.notificationRefs[a]:this.notificationRefs[a]=i}},el(r,["destroy","hide","deactivate"]),{internalKey:r.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:r.keepAliveOnHover===void 0?this.keepAliveOnHover:r.keepAliveOnHover})))})):null)}});function zY(){const e=We(hS,null);return e===null&&Kr("use-notification","No outer `n-notification-provider` found."),e}const DY=U([z("progress",{display:"inline-block"},[z("progress-icon",` + `)])}const _S="n-notification-api",KY=Object.assign(Object.assign({},Be.props),{containerClass:String,containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),GY=ge({name:"NotificationProvider",props:KY,setup(e){const{mergedClsPrefixRef:t}=st(e),n=W([]),o={},r=new Set;function i(p){const h=Gr(),m=()=>{r.add(h),o[h]&&o[h].hide()},v=Zn(Object.assign(Object.assign({},p),{key:h,destroy:m,hide:m,deactivate:m})),{max:b}=e;if(b&&n.value.length-r.size>=b){let w=!1,C=0;for(const S of n.value){if(!r.has(S.key)){o[S.key]&&(S.destroy(),w=!0);break}C++}w||n.value.splice(C,1)}return n.value.push(v),v}const a=["info","success","warning","error"].map(p=>h=>i(Object.assign(Object.assign({},h),{type:p})));function s(p){r.delete(p),n.value.splice(n.value.findIndex(h=>h.key===p),1)}const l=Be("Notification","-notification",qY,jq,e,t),c={create:i,info:a[0],success:a[1],warning:a[2],error:a[3],open:d,destroyAll:f},u=W(0);at(_S,c),at(Lu,{props:e,mergedClsPrefixRef:t,mergedThemeRef:l,wipTransitionCountRef:u});function d(p){return i(p)}function f(){Object.values(n.value).forEach(p=>{p.hide()})}return Object.assign({mergedClsPrefix:t,notificationList:n,notificationRefs:o,handleAfterLeave:s},c)},render(){var e,t,n;const{placement:o}=this;return g(rt,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.notificationList.length?g(eu,{to:(n=this.to)!==null&&n!==void 0?n:"body"},g(NY,{class:this.containerClass,style:this.containerStyle,scrollable:this.scrollable&&o!=="top"&&o!=="bottom",placement:o},{default:()=>this.notificationList.map(r=>g(UY,Object.assign({ref:i=>{const a=r.key;i===null?delete this.notificationRefs[a]:this.notificationRefs[a]=i}},Da(r,["destroy","hide","deactivate"]),{internalKey:r.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:r.keepAliveOnHover===void 0?this.keepAliveOnHover:r.keepAliveOnHover})))})):null)}});function YY(){const e=We(_S,null);return e===null&&ur("use-notification","No outer `n-notification-provider` found."),e}const XY=q([z("progress",{display:"inline-block"},[z("progress-icon",` color: var(--n-icon-color); transition: color .3s var(--n-bezier); `),Z("line",` @@ -3464,7 +3493,7 @@ ${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",[U("svg",{verticalAlign:"bottom"}),z("progress-graph-circle-fill",` + `)]),z("progress-content",{position:"relative"}),z("progress-graph",{position:"relative"},[z("progress-graph-circle",[q("svg",{verticalAlign:"bottom"}),z("progress-graph-circle-fill",` stroke: var(--n-fill-color); transition: opacity .3s var(--n-bezier), @@ -3532,11 +3561,11 @@ ${t} transition: background-color .3s var(--n-bezier), max-width .2s var(--n-bezier); - `,[Z("processing",[U("&::after",` + `,[Z("processing",[q("&::after",` content: ""; background-image: var(--n-line-bg-processing); animation: progress-processing-animation 2s var(--n-bezier) infinite; - `)])])])])])]),U("@keyframes progress-processing-animation",` + `)])])])])])]),q("@keyframes progress-processing-animation",` 0% { position: absolute; left: 0; @@ -3561,13 +3590,13 @@ ${t} right: 0; opacity: 0; } - `)]),LY={success:v(Bi,null),error:v(Fi,null),warning:v(Ni,null),info:v(jr,null)},FY=me({name:"ProgressLine",props:{clsPrefix:{type:String,required:!0},percentage:{type:Number,default:0},railColor:String,railStyle:[String,Object],fillColor:String,status:{type:String,required:!0},indicatorPlacement:{type:String,required:!0},indicatorTextColor:String,unit:{type:String,default:"%"},processing:{type:Boolean,required:!0},showIndicator:{type:Boolean,required:!0},height:[String,Number],railBorderRadius:[String,Number],fillBorderRadius:[String,Number]},setup(e,{slots:t}){const n=L(()=>qt(e.height)),o=L(()=>e.railBorderRadius!==void 0?qt(e.railBorderRadius):e.height!==void 0?qt(e.height,{c:.5}):""),r=L(()=>e.fillBorderRadius!==void 0?qt(e.fillBorderRadius):e.railBorderRadius!==void 0?qt(e.railBorderRadius):e.height!==void 0?qt(e.height,{c:.5}):"");return()=>{const{indicatorPlacement:i,railColor:a,railStyle:s,percentage:l,unit:c,indicatorTextColor:u,status:d,showIndicator:f,fillColor:p,processing:h,clsPrefix:g}=e;return v("div",{class:`${g}-progress-content`,role:"none"},v("div",{class:`${g}-progress-graph`,"aria-hidden":!0},v("div",{class:[`${g}-progress-graph-line`,{[`${g}-progress-graph-line--indicator-${i}`]:!0}]},v("div",{class:`${g}-progress-graph-line-rail`,style:[{backgroundColor:a,height:n.value,borderRadius:o.value},s]},v("div",{class:[`${g}-progress-graph-line-fill`,h&&`${g}-progress-graph-line-fill--processing`],style:{maxWidth:`${e.percentage}%`,backgroundColor:p,height:n.value,lineHeight:n.value,borderRadius:r.value}},i==="inside"?v("div",{class:`${g}-progress-graph-line-indicator`,style:{color:u}},t.default?t.default():`${l}${c}`):null)))),f&&i==="outside"?v("div",null,t.default?v("div",{class:`${g}-progress-custom-content`,style:{color:u},role:"none"},t.default()):d==="default"?v("div",{role:"none",class:`${g}-progress-icon ${g}-progress-icon--as-text`,style:{color:u}},l,c):v("div",{class:`${g}-progress-icon`,"aria-hidden":!0},v(Ut,{clsPrefix:g},{default:()=>LY[d]}))):null)}}}),BY={success:v(Bi,null),error:v(Fi,null),warning:v(Ni,null),info:v(jr,null)},NY=me({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,g=`M ${h},${h} m ${u},${d} + `)]),ZY={success:g(Fi,null),error:g(Li,null),warning:g(Bi,null),info:g(jr,null)},JY=ge({name:"ProgressLine",props:{clsPrefix:{type:String,required:!0},percentage:{type:Number,default:0},railColor:String,railStyle:[String,Object],fillColor:String,status:{type:String,required:!0},indicatorPlacement:{type:String,required:!0},indicatorTextColor:String,unit:{type:String,default:"%"},processing:{type:Boolean,required:!0},showIndicator:{type:Boolean,required:!0},height:[String,Number],railBorderRadius:[String,Number],fillBorderRadius:[String,Number]},setup(e,{slots:t}){const n=L(()=>qt(e.height)),o=L(()=>e.railBorderRadius!==void 0?qt(e.railBorderRadius):e.height!==void 0?qt(e.height,{c:.5}):""),r=L(()=>e.fillBorderRadius!==void 0?qt(e.fillBorderRadius):e.railBorderRadius!==void 0?qt(e.railBorderRadius):e.height!==void 0?qt(e.height,{c:.5}):"");return()=>{const{indicatorPlacement:i,railColor:a,railStyle:s,percentage:l,unit:c,indicatorTextColor:u,status:d,showIndicator:f,fillColor:p,processing:h,clsPrefix:m}=e;return g("div",{class:`${m}-progress-content`,role:"none"},g("div",{class:`${m}-progress-graph`,"aria-hidden":!0},g("div",{class:[`${m}-progress-graph-line`,{[`${m}-progress-graph-line--indicator-${i}`]:!0}]},g("div",{class:`${m}-progress-graph-line-rail`,style:[{backgroundColor:a,height:n.value,borderRadius:o.value},s]},g("div",{class:[`${m}-progress-graph-line-fill`,h&&`${m}-progress-graph-line-fill--processing`],style:{maxWidth:`${e.percentage}%`,backgroundColor:p,height:n.value,lineHeight:n.value,borderRadius:r.value}},i==="inside"?g("div",{class:`${m}-progress-graph-line-indicator`,style:{color:u}},t.default?t.default():`${l}${c}`):null)))),f&&i==="outside"?g("div",null,t.default?g("div",{class:`${m}-progress-custom-content`,style:{color:u},role:"none"},t.default()):d==="default"?g("div",{role:"none",class:`${m}-progress-icon ${m}-progress-icon--as-text`,style:{color:u}},l,c):g("div",{class:`${m}-progress-icon`,"aria-hidden":!0},g(Ut,{clsPrefix:m},{default:()=>ZY[d]}))):null)}}}),QY={success:g(Fi,null),error:g(Li,null),warning:g(Bi,null),info:g(jr,null)},eX=ge({name:"ProgressCircle",props:{clsPrefix:{type:String,required:!0},status:{type:String,required:!0},strokeWidth:{type:Number,required:!0},fillColor:String,railColor:String,railStyle:[String,Object],percentage:{type:Number,default:0},offsetDegree:{type:Number,default:0},showIndicator:{type:Boolean,required:!0},indicatorTextColor:String,unit:String,viewBoxWidth:{type:Number,required:!0},gapDegree:{type:Number,required:!0},gapOffsetDegree:{type:Number,default:0}},setup(e,{slots:t}){function n(o,r,i){const{gapDegree:a,viewBoxWidth:s,strokeWidth:l}=e,c=50,u=0,d=c,f=0,p=2*c,h=50+l/2,m=`M ${h},${h} m ${u},${d} a ${c},${c} 0 1 1 ${f},${-p} - a ${c},${c} 0 1 1 ${-f},${p}`,b=Math.PI*2*c,m={stroke:i,strokeDasharray:`${o/100*(b-a)}px ${s*8}px`,strokeDashoffset:`-${a/2}px`,transformOrigin:r?"center":void 0,transform:r?`rotate(${r}deg)`:void 0};return{pathString:g,pathStyle:m}}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:g}=n(100,0,r),{pathString:b,pathStyle:m}=n(l,a,o),x=100+i;return v("div",{class:`${p}-progress-content`,role:"none"},v("div",{class:`${p}-progress-graph`,"aria-hidden":!0},v("div",{class:`${p}-progress-graph-circle`,style:{transform:f?`rotate(${f}deg)`:void 0}},v("svg",{viewBox:`0 0 ${x} ${x}`},v("g",null,v("path",{class:`${p}-progress-graph-circle-rail`,d:h,"stroke-width":i,"stroke-linecap":"round",fill:"none",style:g})),v("g",null,v("path",{class:[`${p}-progress-graph-circle-fill`,l===0&&`${p}-progress-graph-circle-fill--empty`],d:b,"stroke-width":i,"stroke-linecap":"round",fill:"none",style:m}))))),c?v("div",null,t.default?v("div",{class:`${p}-progress-custom-content`,role:"none"},t.default()):s!=="default"?v("div",{class:`${p}-progress-icon`,"aria-hidden":!0},v(Ut,{clsPrefix:p},{default:()=>BY[s]})):v("div",{class:`${p}-progress-text`,style:{color:u},role:"none"},v("span",{class:`${p}-progress-text__percentage`},l),v("span",{class:`${p}-progress-text__unit`},d))):null)}}});function Z0(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 HY=me({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 v("div",{class:`${d}-progress-content`,role:"none"},v("div",{class:`${d}-progress-graph`,"aria-hidden":!0},v("div",{class:`${d}-progress-graph-circle`},v("svg",{viewBox:`0 0 ${o} ${o}`},u.map((f,p)=>v("g",{key:p},v("path",{class:`${d}-progress-graph-circle-rail`,d:Z0(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]]}),v("path",{class:[`${d}-progress-graph-circle-fill`,f===0&&`${d}-progress-graph-circle-fill--empty`],d:Z0(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?v("div",null,v("div",{class:`${d}-progress-text`},t.default())):null)}}}),jY=Object.assign(Object.assign({},Be.props),{processing:Boolean,type:{type:String,default:"line"},gapDegree:Number,gapOffsetDegree:Number,status:{type:String,default:"default"},railColor:[String,Array],railStyle:[String,Array],color:[String,Array],viewBoxWidth:{type:Number,default:100},strokeWidth:{type:Number,default:7},percentage:[Number,Array],unit:{type:String,default:"%"},showIndicator:{type:Boolean,default:!0},indicatorPosition:{type:String,default:"outside"},indicatorPlacement:{type:String,default:"outside"},indicatorTextColor:String,circleGap:{type:Number,default:1},height:Number,borderRadius:[String,Number],fillBorderRadius:[String,Number],offsetDegree:Number}),VY=me({name:"Progress",props:jY,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}=it(e),i=Be("Progress","-progress",DY,AK,e,o),a=L(()=>{const{status:l}=e,{common:{cubicBezierEaseInOut:c},self:{fontSize:u,fontSizeCircle:d,railColor:f,railHeight:p,iconSizeCircle:h,iconSizeLine:g,textColorCircle:b,textColorLineInner:m,textColorLineOuter:x,lineBgProcessing:S,fontWeightCircle:_,[ke("iconColor",l)]:w,[ke("fillColor",l)]:C}}=i.value;return{"--n-bezier":c,"--n-fill-color":C,"--n-font-size":u,"--n-font-size-circle":d,"--n-font-weight-circle":_,"--n-icon-color":w,"--n-icon-size-circle":h,"--n-icon-size-line":g,"--n-line-bg-processing":S,"--n-rail-color":f,"--n-rail-height":p,"--n-text-color-circle":b,"--n-text-color-line-inner":m,"--n-text-color-line-outer":x}}),s=r?kt("progress",L(()=>e.status[0]),a,e):void 0;return{mergedClsPrefix:o,mergedIndicatorPlacement:t,gapDeg:n,cssVars:r?void 0:a,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender}},render(){const{type:e,cssVars:t,indicatorTextColor:n,showIndicator:o,status:r,railColor:i,railStyle:a,color:s,percentage:l,viewBoxWidth:c,strokeWidth:u,mergedIndicatorPlacement:d,unit:f,borderRadius:p,fillBorderRadius:h,height:g,processing:b,circleGap:m,mergedClsPrefix:x,gapDeg:S,gapOffsetDegree:_,themeClass:w,$slots:C,onRender:y}=this;return y==null||y(),v("div",{class:[w,`${x}-progress`,`${x}-progress--${e}`,`${x}-progress--${r}`],style:t,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":l,role:e==="circle"||e==="line"||e==="dashboard"?"progressbar":"none"},e==="circle"||e==="dashboard"?v(NY,{clsPrefix:x,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:_,unit:f},C):e==="line"?v(FY,{clsPrefix:x,status:r,showIndicator:o,indicatorTextColor:n,railColor:i,fillColor:s,railStyle:a,percentage:l,processing:b,indicatorPlacement:d,unit:f,fillBorderRadius:h,railBorderRadius:p,height:g},C):e==="multiple-circle"?v(HY,{clsPrefix:x,strokeWidth:u,railColor:i,fillColor:s,railStyle:a,viewBoxWidth:c,percentage:l,showIndicator:o,circleGap:m},C):null)}}),WY=U([z("qr-code",` + a ${c},${c} 0 1 1 ${-f},${p}`,v=Math.PI*2*c,b={stroke:i,strokeDasharray:`${o/100*(v-a)}px ${s*8}px`,strokeDashoffset:`-${a/2}px`,transformOrigin:r?"center":void 0,transform:r?`rotate(${r}deg)`:void 0};return{pathString:m,pathStyle:b}}return()=>{const{fillColor:o,railColor:r,strokeWidth:i,offsetDegree:a,status:s,percentage:l,showIndicator:c,indicatorTextColor:u,unit:d,gapOffsetDegree:f,clsPrefix:p}=e,{pathString:h,pathStyle:m}=n(100,0,r),{pathString:v,pathStyle:b}=n(l,a,o),w=100+i;return g("div",{class:`${p}-progress-content`,role:"none"},g("div",{class:`${p}-progress-graph`,"aria-hidden":!0},g("div",{class:`${p}-progress-graph-circle`,style:{transform:f?`rotate(${f}deg)`:void 0}},g("svg",{viewBox:`0 0 ${w} ${w}`},g("g",null,g("path",{class:`${p}-progress-graph-circle-rail`,d:h,"stroke-width":i,"stroke-linecap":"round",fill:"none",style:m})),g("g",null,g("path",{class:[`${p}-progress-graph-circle-fill`,l===0&&`${p}-progress-graph-circle-fill--empty`],d:v,"stroke-width":i,"stroke-linecap":"round",fill:"none",style:b}))))),c?g("div",null,t.default?g("div",{class:`${p}-progress-custom-content`,role:"none"},t.default()):s!=="default"?g("div",{class:`${p}-progress-icon`,"aria-hidden":!0},g(Ut,{clsPrefix:p},{default:()=>QY[s]})):g("div",{class:`${p}-progress-text`,style:{color:u},role:"none"},g("span",{class:`${p}-progress-text__percentage`},l),g("span",{class:`${p}-progress-text__unit`},d))):null)}}});function e1(e,t,n=100){return`m ${n/2} ${n/2-e} a ${e} ${e} 0 1 1 0 ${2*e} a ${e} ${e} 0 1 1 0 -${2*e}`}const tX=ge({name:"ProgressMultipleCircle",props:{clsPrefix:{type:String,required:!0},viewBoxWidth:{type:Number,required:!0},percentage:{type:Array,default:[0]},strokeWidth:{type:Number,required:!0},circleGap:{type:Number,required:!0},showIndicator:{type:Boolean,required:!0},fillColor:{type:Array,default:()=>[]},railColor:{type:Array,default:()=>[]},railStyle:{type:Array,default:()=>[]}},setup(e,{slots:t}){const n=L(()=>e.percentage.map((r,i)=>`${Math.PI*r/100*(e.viewBoxWidth/2-e.strokeWidth/2*(1+2*i)-e.circleGap*i)*2}, ${e.viewBoxWidth*8}`));return()=>{const{viewBoxWidth:o,strokeWidth:r,circleGap:i,showIndicator:a,fillColor:s,railColor:l,railStyle:c,percentage:u,clsPrefix:d}=e;return g("div",{class:`${d}-progress-content`,role:"none"},g("div",{class:`${d}-progress-graph`,"aria-hidden":!0},g("div",{class:`${d}-progress-graph-circle`},g("svg",{viewBox:`0 0 ${o} ${o}`},u.map((f,p)=>g("g",{key:p},g("path",{class:`${d}-progress-graph-circle-rail`,d:e1(o/2-r/2*(1+2*p)-i*p,r,o),"stroke-width":r,"stroke-linecap":"round",fill:"none",style:[{strokeDashoffset:0,stroke:l[p]},c[p]]}),g("path",{class:[`${d}-progress-graph-circle-fill`,f===0&&`${d}-progress-graph-circle-fill--empty`],d:e1(o/2-r/2*(1+2*p)-i*p,r,o),"stroke-width":r,"stroke-linecap":"round",fill:"none",style:{strokeDasharray:n.value[p],strokeDashoffset:0,stroke:s[p]}})))))),a&&t.default?g("div",null,g("div",{class:`${d}-progress-text`},t.default())):null)}}}),nX=Object.assign(Object.assign({},Be.props),{processing:Boolean,type:{type:String,default:"line"},gapDegree:Number,gapOffsetDegree:Number,status:{type:String,default:"default"},railColor:[String,Array],railStyle:[String,Array],color:[String,Array],viewBoxWidth:{type:Number,default:100},strokeWidth:{type:Number,default:7},percentage:[Number,Array],unit:{type:String,default:"%"},showIndicator:{type:Boolean,default:!0},indicatorPosition:{type:String,default:"outside"},indicatorPlacement:{type:String,default:"outside"},indicatorTextColor:String,circleGap:{type:Number,default:1},height:Number,borderRadius:[String,Number],fillBorderRadius:[String,Number],offsetDegree:Number}),oX=ge({name:"Progress",props:nX,setup(e){const t=L(()=>e.indicatorPlacement||e.indicatorPosition),n=L(()=>{if(e.gapDegree||e.gapDegree===0)return e.gapDegree;if(e.type==="dashboard")return 75}),{mergedClsPrefixRef:o,inlineThemeDisabled:r}=st(e),i=Be("Progress","-progress",XY,zK,e,o),a=L(()=>{const{status:l}=e,{common:{cubicBezierEaseInOut:c},self:{fontSize:u,fontSizeCircle:d,railColor:f,railHeight:p,iconSizeCircle:h,iconSizeLine:m,textColorCircle:v,textColorLineInner:b,textColorLineOuter:w,lineBgProcessing:C,fontWeightCircle:S,[Te("iconColor",l)]:_,[Te("fillColor",l)]:x}}=i.value;return{"--n-bezier":c,"--n-fill-color":x,"--n-font-size":u,"--n-font-size-circle":d,"--n-font-weight-circle":S,"--n-icon-color":_,"--n-icon-size-circle":h,"--n-icon-size-line":m,"--n-line-bg-processing":C,"--n-rail-color":f,"--n-rail-height":p,"--n-text-color-circle":v,"--n-text-color-line-inner":b,"--n-text-color-line-outer":w}}),s=r?kt("progress",L(()=>e.status[0]),a,e):void 0;return{mergedClsPrefix:o,mergedIndicatorPlacement:t,gapDeg:n,cssVars:r?void 0:a,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender}},render(){const{type:e,cssVars:t,indicatorTextColor:n,showIndicator:o,status:r,railColor:i,railStyle:a,color:s,percentage:l,viewBoxWidth:c,strokeWidth:u,mergedIndicatorPlacement:d,unit:f,borderRadius:p,fillBorderRadius:h,height:m,processing:v,circleGap:b,mergedClsPrefix:w,gapDeg:C,gapOffsetDegree:S,themeClass:_,$slots:x,onRender:y}=this;return y==null||y(),g("div",{class:[_,`${w}-progress`,`${w}-progress--${e}`,`${w}-progress--${r}`],style:t,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":l,role:e==="circle"||e==="line"||e==="dashboard"?"progressbar":"none"},e==="circle"||e==="dashboard"?g(eX,{clsPrefix:w,status:r,showIndicator:o,indicatorTextColor:n,railColor:i,fillColor:s,railStyle:a,offsetDegree:this.offsetDegree,percentage:l,viewBoxWidth:c,strokeWidth:u,gapDegree:C===void 0?e==="dashboard"?75:0:C,gapOffsetDegree:S,unit:f},x):e==="line"?g(JY,{clsPrefix:w,status:r,showIndicator:o,indicatorTextColor:n,railColor:i,fillColor:s,railStyle:a,percentage:l,processing:v,indicatorPlacement:d,unit:f,fillBorderRadius:h,railBorderRadius:p,height:m},x):e==="multiple-circle"?g(tX,{clsPrefix:w,strokeWidth:u,railColor:i,fillColor:s,railStyle:a,viewBoxWidth:c,percentage:l,showIndicator:o,circleGap:b},x):null)}}),rX=q([z("qr-code",` background: #fff; border-radius: var(--n-border-radius); display: inline-flex; - `)]),UY={name:"QrCode",common:He,self:e=>({borderRadius:e.borderRadius})},qY=UY,KY=e=>({borderRadius:e.borderRadius}),GY={name:"QrCode",common:bt,self:KY},YY=GY;var ki;(function(e){class t{static encodeText(a,s){const l=e.QrSegment.makeSegments(a);return t.encodeSegments(l,s)}static encodeBinary(a,s){const l=e.QrSegment.makeBytes(a);return t.encodeSegments([l],s)}static encodeSegments(a,s,l=1,c=40,u=-1,d=!0){if(!(t.MIN_VERSION<=l&&l<=c&&c<=t.MAX_VERSION)||u<-1||u>7)throw new RangeError("Invalid value");let f,p;for(f=l;;f++){const m=t.getNumDataCodewords(f,s)*8,x=r.getTotalBits(a,f);if(x<=m){p=x;break}if(f>=c)throw new RangeError("Data too long")}for(const m of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])d&&p<=t.getNumDataCodewords(f,m)*8&&(s=m);const h=[];for(const m of a){n(m.mode.modeBits,4,h),n(m.numChars,m.mode.numCharCountBits(f),h);for(const x of m.getData())h.push(x)}const g=t.getNumDataCodewords(f,s)*8;n(0,Math.min(4,g-h.length),h),n(0,(8-h.length%8)%8,h);for(let m=236;h.lengthb[x>>>3]|=m<<7-(x&7)),new t(f,s,b,u)}constructor(a,s,l,c){if(this.version=a,this.errorCorrectionLevel=s,this.modules=[],this.isFunction=[],at.MAX_VERSION)throw new RangeError("Version value out of range");if(c<-1||c>7)throw new RangeError("Mask value out of range");this.size=a*4+17;const u=[];for(let f=0;f=0&&a=0&&s>>9)*1335;const c=(s<<10|l)^21522;for(let u=0;u<=5;u++)this.setFunctionModule(8,u,o(c,u));this.setFunctionModule(8,7,o(c,6)),this.setFunctionModule(8,8,o(c,7)),this.setFunctionModule(7,8,o(c,8));for(let u=9;u<15;u++)this.setFunctionModule(14-u,8,o(c,u));for(let u=0;u<8;u++)this.setFunctionModule(this.size-1-u,8,o(c,u));for(let u=8;u<15;u++)this.setFunctionModule(8,this.size-15+u,o(c,u));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let a=this.version;for(let l=0;l<12;l++)a=a<<1^(a>>>11)*7973;const s=this.version<<12|a;for(let l=0;l<18;l++){const c=o(s,l),u=this.size-11+l%3,d=Math.floor(l/3);this.setFunctionModule(u,d,c),this.setFunctionModule(d,u,c)}}drawFinderPattern(a,s){for(let l=-4;l<=4;l++)for(let c=-4;c<=4;c++){const u=Math.max(Math.abs(c),Math.abs(l)),d=a+c,f=s+l;d>=0&&d=0&&f{(m!==p-u||S>=f)&&b.push(x[m])});return b}drawCodewords(a){if(a.length!==Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let s=0;for(let l=this.size-1;l>=1;l-=2){l===6&&(l=5);for(let c=0;c>>3],7-(s&7)),s++)}}}applyMask(a){if(a<0||a>7)throw new RangeError("Mask value out of range");for(let s=0;s5&&a++):(this.finderPenaltyAddHistory(f,p),d||(a+=this.finderPenaltyCountPatterns(p)*t.PENALTY_N3),d=this.modules[u][h],f=1);a+=this.finderPenaltyTerminateAndCount(d,f,p)*t.PENALTY_N3}for(let u=0;u5&&a++):(this.finderPenaltyAddHistory(f,p),d||(a+=this.finderPenaltyCountPatterns(p)*t.PENALTY_N3),d=this.modules[h][u],f=1);a+=this.finderPenaltyTerminateAndCount(d,f,p)*t.PENALTY_N3}for(let u=0;ud+(f?1:0),s);const l=this.size*this.size,c=Math.ceil(Math.abs(s*20-l*10)/l)-1;return a+=c*t.PENALTY_N4,a}getAlignmentPatternPositions(){if(this.version===1)return[];{const a=Math.floor(this.version/7)+2,s=this.version===32?26:Math.ceil((this.version*4+4)/(a*2-2))*2,l=[6];for(let c=this.size-7;l.lengtht.MAX_VERSION)throw new RangeError("Version number out of range");let s=(16*a+128)*a+64;if(a>=2){const l=Math.floor(a/7)+2;s-=(25*l-10)*l-55,a>=7&&(s-=36)}return s}static getNumDataCodewords(a,s){return Math.floor(t.getNumRawDataModules(a)/8)-t.ECC_CODEWORDS_PER_BLOCK[s.ordinal][a]*t.NUM_ERROR_CORRECTION_BLOCKS[s.ordinal][a]}static reedSolomonComputeDivisor(a){if(a<1||a>255)throw new RangeError("Degree out of range");const s=[];for(let c=0;c0);for(const c of a){const u=c^l.shift();l.push(0),s.forEach((d,f)=>l[f]^=t.reedSolomonMultiply(d,u))}return l}static reedSolomonMultiply(a,s){if(a>>>8||s>>>8)throw new RangeError("Byte out of range");let l=0;for(let c=7;c>=0;c--)l=l<<1^(l>>>7)*285,l^=(s>>>c&1)*a;return l}finderPenaltyCountPatterns(a){const s=a[1],l=s>0&&a[2]===s&&a[3]===s*3&&a[4]===s&&a[5]===s;return(l&&a[0]>=s*4&&a[6]>=s?1:0)+(l&&a[6]>=s*4&&a[0]>=s?1:0)}finderPenaltyTerminateAndCount(a,s,l){return a&&(this.finderPenaltyAddHistory(s,l),s=0),s+=this.size,this.finderPenaltyAddHistory(s,l),this.finderPenaltyCountPatterns(l)}finderPenaltyAddHistory(a,s){s[0]===0&&(a+=this.size),s.pop(),s.unshift(a)}}t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;function n(i,a,s){if(a<0||a>31||i>>>a)throw new RangeError("Value out of range");for(let l=a-1;l>=0;l--)s.push(i>>>l&1)}function o(i,a){return(i>>>a&1)!==0}class r{static makeBytes(a){const s=[];for(const l of a)n(l,8,s);return new r(r.Mode.BYTE,a.length,s)}static makeNumeric(a){if(!r.isNumeric(a))throw new RangeError("String contains non-numeric characters");const s=[];for(let l=0;l=1<({"--n-border-radius":o.value.self.borderRadius})),i=n?kt("qr-code",void 0,r,e):void 0,a=F(),s=L(()=>{var c;const u=XY[e.errorCorrectionLevel];return fs.QrCode.encodeText((c=e.value)!==null&&c!==void 0?c:"-",u)});Ft(()=>{const c=F(0);let u=null;nn(()=>{c.value,l(s.value,e.size,e.color,e.backgroundColor,u?{icon:u,iconBorderRadius:e.iconBorderRadius,iconSize:e.iconSize,iconBackgroundColor:e.iconBackgroundColor}:null)}),nn(()=>{const{iconSrc:d}=e;if(d){let f=!1;const p=new Image;return p.src=d,p.onload=()=>{f||(u=p,c.value++)},()=>{f=!0}}})});function l(c,u,d,f,p){const h=a.value;if(!h)return;const g=u*Zd,b=c.size,m=g/b;h.width=g,h.height=g;const x=h.getContext("2d");if(x){x.clearRect(0,0,h.width,h.height);for(let S=0;S=1?y:y*$,A=$<=1?y:y/$,K=k+(y-I)/2,B=R+(y-A)/2;x.drawImage(S,K,B,I,A)}}}return{canvasRef:a,mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass}},render(){const{mergedClsPrefix:e,backgroundColor:t,padding:n,cssVars:o,themeClass:r,size:i}=this;return v("div",{class:[`${e}-qr-code`,r],style:Object.assign({padding:typeof n=="number"?`${n}px`:n,backgroundColor:t},o)},v("canvas",{ref:"canvasRef",style:{width:`${i}px`,height:`${i}px`}}))}}),JY=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},v("circle",{fill:"#FFCB4C",cx:"18",cy:"17.018",r:"17"}),v("path",{fill:"#65471B",d:"M14.524 21.036c-.145-.116-.258-.274-.312-.464-.134-.46.13-.918.59-1.021 4.528-1.021 7.577 1.363 7.706 1.465.384.306.459.845.173 1.205-.286.358-.828.401-1.211.097-.11-.084-2.523-1.923-6.182-1.098-.274.061-.554-.016-.764-.184z"}),v("ellipse",{fill:"#65471B",cx:"13.119",cy:"11.174",rx:"2.125",ry:"2.656"}),v("ellipse",{fill:"#65471B",cx:"24.375",cy:"12.236",rx:"2.125",ry:"2.656"}),v("path",{fill:"#F19020",d:"M17.276 35.149s1.265-.411 1.429-1.352c.173-.972-.624-1.167-.624-1.167s1.041-.208 1.172-1.376c.123-1.101-.861-1.363-.861-1.363s.97-.4 1.016-1.539c.038-.959-.995-1.428-.995-1.428s5.038-1.221 5.556-1.341c.516-.12 1.32-.615 1.069-1.694-.249-1.08-1.204-1.118-1.697-1.003-.494.115-6.744 1.566-8.9 2.068l-1.439.334c-.54.127-.785-.11-.404-.512.508-.536.833-1.129.946-2.113.119-1.035-.232-2.313-.433-2.809-.374-.921-1.005-1.649-1.734-1.899-1.137-.39-1.945.321-1.542 1.561.604 1.854.208 3.375-.833 4.293-2.449 2.157-3.588 3.695-2.83 6.973.828 3.575 4.377 5.876 7.952 5.048l3.152-.681z"}),v("path",{fill:"#65471B",d:"M9.296 6.351c-.164-.088-.303-.224-.391-.399-.216-.428-.04-.927.393-1.112 4.266-1.831 7.699-.043 7.843.034.433.231.608.747.391 1.154-.216.405-.74.546-1.173.318-.123-.063-2.832-1.432-6.278.047-.257.109-.547.085-.785-.042zm12.135 3.75c-.156-.098-.286-.243-.362-.424-.187-.442.023-.927.468-1.084 4.381-1.536 7.685.48 7.823.567.415.26.555.787.312 1.178-.242.39-.776.495-1.191.238-.12-.072-2.727-1.621-6.267-.379-.266.091-.553.046-.783-.096z"})),QY=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},v("path",{fill:"#FFCC4D",d:"M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"}),v("ellipse",{fill:"#664500",cx:"18",cy:"27",rx:"5",ry:"6"}),v("path",{fill:"#664500",d:"M5.999 11c-.208 0-.419-.065-.599-.2-.442-.331-.531-.958-.2-1.4C8.462 5.05 12.816 5 13 5c.552 0 1 .448 1 1 0 .551-.445.998-.996 1-.155.002-3.568.086-6.204 3.6-.196.262-.497.4-.801.4zm24.002 0c-.305 0-.604-.138-.801-.4-2.64-3.521-6.061-3.598-6.206-3.6-.55-.006-.994-.456-.991-1.005C22.006 5.444 22.45 5 23 5c.184 0 4.537.05 7.8 4.4.332.442.242 1.069-.2 1.4-.18.135-.39.2-.599.2zm-16.087 4.5l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L12.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L13.914 15.5zm11 0l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L23.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L24.914 15.5z"})),eX=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},v("ellipse",{fill:"#292F33",cx:"18",cy:"26",rx:"18",ry:"10"}),v("ellipse",{fill:"#66757F",cx:"18",cy:"24",rx:"18",ry:"10"}),v("path",{fill:"#E1E8ED",d:"M18 31C3.042 31 1 16 1 12h34c0 2-1.958 19-17 19z"}),v("path",{fill:"#77B255",d:"M35 12.056c0 5.216-7.611 9.444-17 9.444S1 17.271 1 12.056C1 6.84 8.611 3.611 18 3.611s17 3.229 17 8.445z"}),v("ellipse",{fill:"#A6D388",cx:"18",cy:"13",rx:"15",ry:"7"}),v("path",{d:"M21 17c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.739-1.109.9-2.246.478-3.377-.461-1.236-1.438-1.996-1.731-2.077-.553 0-.958-.443-.958-.996 0-.552.491-.995 1.043-.995.997 0 2.395 1.153 3.183 2.625 1.034 1.933.91 4.039-.351 5.929-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.196-.451.294-.707.294zm-6-2c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.727-1.091.893-2.083.494-2.947-.444-.961-1.431-1.469-1.684-1.499-.552 0-.989-.447-.989-1 0-.552.458-1 1.011-1 .997 0 2.585.974 3.36 2.423.481.899 1.052 2.761-.528 5.131-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.197-.451.295-.707.295z",fill:"#5C913B"})),tX=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},v("path",{fill:"#EF9645",d:"M15.5 2.965c1.381 0 2.5 1.119 2.5 2.5v.005L20.5.465c1.381 0 2.5 1.119 2.5 2.5V4.25l2.5-1.535c1.381 0 2.5 1.119 2.5 2.5V8.75L29 18H15.458L15.5 2.965z"}),v("path",{fill:"#FFDC5D",d:"M4.625 16.219c1.381-.611 3.354.208 4.75 2.188.917 1.3 1.187 3.151 2.391 3.344.46.073 1.234-.313 1.234-1.397V4.5s0-2 2-2 2 2 2 2v11.633c0-.029 1-.064 1-.082V2s0-2 2-2 2 2 2 2v14.053c0 .017 1 .041 1 .069V4.25s0-2 2-2 2 2 2 2v12.638c0 .118 1 .251 1 .398V8.75s0-2 2-2 2 2 2 2V24c0 6.627-5.373 12-12 12-4.775 0-8.06-2.598-9.896-5.292C8.547 28.423 8.096 26.051 8 25.334c0 0-.123-1.479-1.156-2.865-1.469-1.969-2.5-3.156-3.125-3.866-.317-.359-.625-1.707.906-2.384z"})),nX=z("result",` + `)]),iX={name:"QrCode",common:Ne,self:e=>({borderRadius:e.borderRadius})},aX=iX,sX=e=>({borderRadius:e.borderRadius}),lX={name:"QrCode",common:bt,self:sX},cX=lX;var Ri;(function(e){class t{static encodeText(a,s){const l=e.QrSegment.makeSegments(a);return t.encodeSegments(l,s)}static encodeBinary(a,s){const l=e.QrSegment.makeBytes(a);return t.encodeSegments([l],s)}static encodeSegments(a,s,l=1,c=40,u=-1,d=!0){if(!(t.MIN_VERSION<=l&&l<=c&&c<=t.MAX_VERSION)||u<-1||u>7)throw new RangeError("Invalid value");let f,p;for(f=l;;f++){const b=t.getNumDataCodewords(f,s)*8,w=r.getTotalBits(a,f);if(w<=b){p=w;break}if(f>=c)throw new RangeError("Data too long")}for(const b of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])d&&p<=t.getNumDataCodewords(f,b)*8&&(s=b);const h=[];for(const b of a){n(b.mode.modeBits,4,h),n(b.numChars,b.mode.numCharCountBits(f),h);for(const w of b.getData())h.push(w)}const m=t.getNumDataCodewords(f,s)*8;n(0,Math.min(4,m-h.length),h),n(0,(8-h.length%8)%8,h);for(let b=236;h.lengthv[w>>>3]|=b<<7-(w&7)),new t(f,s,v,u)}constructor(a,s,l,c){if(this.version=a,this.errorCorrectionLevel=s,this.modules=[],this.isFunction=[],at.MAX_VERSION)throw new RangeError("Version value out of range");if(c<-1||c>7)throw new RangeError("Mask value out of range");this.size=a*4+17;const u=[];for(let f=0;f=0&&a=0&&s>>9)*1335;const c=(s<<10|l)^21522;for(let u=0;u<=5;u++)this.setFunctionModule(8,u,o(c,u));this.setFunctionModule(8,7,o(c,6)),this.setFunctionModule(8,8,o(c,7)),this.setFunctionModule(7,8,o(c,8));for(let u=9;u<15;u++)this.setFunctionModule(14-u,8,o(c,u));for(let u=0;u<8;u++)this.setFunctionModule(this.size-1-u,8,o(c,u));for(let u=8;u<15;u++)this.setFunctionModule(8,this.size-15+u,o(c,u));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let a=this.version;for(let l=0;l<12;l++)a=a<<1^(a>>>11)*7973;const s=this.version<<12|a;for(let l=0;l<18;l++){const c=o(s,l),u=this.size-11+l%3,d=Math.floor(l/3);this.setFunctionModule(u,d,c),this.setFunctionModule(d,u,c)}}drawFinderPattern(a,s){for(let l=-4;l<=4;l++)for(let c=-4;c<=4;c++){const u=Math.max(Math.abs(c),Math.abs(l)),d=a+c,f=s+l;d>=0&&d=0&&f{(b!==p-u||C>=f)&&v.push(w[b])});return v}drawCodewords(a){if(a.length!==Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let s=0;for(let l=this.size-1;l>=1;l-=2){l===6&&(l=5);for(let c=0;c>>3],7-(s&7)),s++)}}}applyMask(a){if(a<0||a>7)throw new RangeError("Mask value out of range");for(let s=0;s5&&a++):(this.finderPenaltyAddHistory(f,p),d||(a+=this.finderPenaltyCountPatterns(p)*t.PENALTY_N3),d=this.modules[u][h],f=1);a+=this.finderPenaltyTerminateAndCount(d,f,p)*t.PENALTY_N3}for(let u=0;u5&&a++):(this.finderPenaltyAddHistory(f,p),d||(a+=this.finderPenaltyCountPatterns(p)*t.PENALTY_N3),d=this.modules[h][u],f=1);a+=this.finderPenaltyTerminateAndCount(d,f,p)*t.PENALTY_N3}for(let u=0;ud+(f?1:0),s);const l=this.size*this.size,c=Math.ceil(Math.abs(s*20-l*10)/l)-1;return a+=c*t.PENALTY_N4,a}getAlignmentPatternPositions(){if(this.version===1)return[];{const a=Math.floor(this.version/7)+2,s=this.version===32?26:Math.ceil((this.version*4+4)/(a*2-2))*2,l=[6];for(let c=this.size-7;l.lengtht.MAX_VERSION)throw new RangeError("Version number out of range");let s=(16*a+128)*a+64;if(a>=2){const l=Math.floor(a/7)+2;s-=(25*l-10)*l-55,a>=7&&(s-=36)}return s}static getNumDataCodewords(a,s){return Math.floor(t.getNumRawDataModules(a)/8)-t.ECC_CODEWORDS_PER_BLOCK[s.ordinal][a]*t.NUM_ERROR_CORRECTION_BLOCKS[s.ordinal][a]}static reedSolomonComputeDivisor(a){if(a<1||a>255)throw new RangeError("Degree out of range");const s=[];for(let c=0;c0);for(const c of a){const u=c^l.shift();l.push(0),s.forEach((d,f)=>l[f]^=t.reedSolomonMultiply(d,u))}return l}static reedSolomonMultiply(a,s){if(a>>>8||s>>>8)throw new RangeError("Byte out of range");let l=0;for(let c=7;c>=0;c--)l=l<<1^(l>>>7)*285,l^=(s>>>c&1)*a;return l}finderPenaltyCountPatterns(a){const s=a[1],l=s>0&&a[2]===s&&a[3]===s*3&&a[4]===s&&a[5]===s;return(l&&a[0]>=s*4&&a[6]>=s?1:0)+(l&&a[6]>=s*4&&a[0]>=s?1:0)}finderPenaltyTerminateAndCount(a,s,l){return a&&(this.finderPenaltyAddHistory(s,l),s=0),s+=this.size,this.finderPenaltyAddHistory(s,l),this.finderPenaltyCountPatterns(l)}finderPenaltyAddHistory(a,s){s[0]===0&&(a+=this.size),s.pop(),s.unshift(a)}}t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;function n(i,a,s){if(a<0||a>31||i>>>a)throw new RangeError("Value out of range");for(let l=a-1;l>=0;l--)s.push(i>>>l&1)}function o(i,a){return(i>>>a&1)!==0}class r{static makeBytes(a){const s=[];for(const l of a)n(l,8,s);return new r(r.Mode.BYTE,a.length,s)}static makeNumeric(a){if(!r.isNumeric(a))throw new RangeError("String contains non-numeric characters");const s=[];for(let l=0;l=1<({"--n-border-radius":o.value.self.borderRadius})),i=n?kt("qr-code",void 0,r,e):void 0,a=W(),s=L(()=>{var c;const u=uX[e.errorCorrectionLevel];return cs.QrCode.encodeText((c=e.value)!==null&&c!==void 0?c:"-",u)});jt(()=>{const c=W(0);let u=null;Yt(()=>{c.value,l(s.value,e.size,e.color,e.backgroundColor,u?{icon:u,iconBorderRadius:e.iconBorderRadius,iconSize:e.iconSize,iconBackgroundColor:e.iconBackgroundColor}:null)}),Yt(()=>{const{iconSrc:d}=e;if(d){let f=!1;const p=new Image;return p.src=d,p.onload=()=>{f||(u=p,c.value++)},()=>{f=!0}}})});function l(c,u,d,f,p){const h=a.value;if(!h)return;const m=u*Zd,v=c.size,b=m/v;h.width=m,h.height=m;const w=h.getContext("2d");if(w){w.clearRect(0,0,h.width,h.height);for(let C=0;C=1?y:y*T,R=T<=1?y:y/T,K=k+(y-$)/2,H=P+(y-R)/2;w.drawImage(C,K,H,$,R)}}}return{canvasRef:a,mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass}},render(){const{mergedClsPrefix:e,backgroundColor:t,padding:n,cssVars:o,themeClass:r,size:i}=this;return g("div",{class:[`${e}-qr-code`,r],style:Object.assign({padding:typeof n=="number"?`${n}px`:n,backgroundColor:t,width:`${i}px`,height:`${i}px`},o)},g("canvas",{ref:"canvasRef",style:{width:`${i}px`,height:`${i}px`}}))}}),fX=g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},g("circle",{fill:"#FFCB4C",cx:"18",cy:"17.018",r:"17"}),g("path",{fill:"#65471B",d:"M14.524 21.036c-.145-.116-.258-.274-.312-.464-.134-.46.13-.918.59-1.021 4.528-1.021 7.577 1.363 7.706 1.465.384.306.459.845.173 1.205-.286.358-.828.401-1.211.097-.11-.084-2.523-1.923-6.182-1.098-.274.061-.554-.016-.764-.184z"}),g("ellipse",{fill:"#65471B",cx:"13.119",cy:"11.174",rx:"2.125",ry:"2.656"}),g("ellipse",{fill:"#65471B",cx:"24.375",cy:"12.236",rx:"2.125",ry:"2.656"}),g("path",{fill:"#F19020",d:"M17.276 35.149s1.265-.411 1.429-1.352c.173-.972-.624-1.167-.624-1.167s1.041-.208 1.172-1.376c.123-1.101-.861-1.363-.861-1.363s.97-.4 1.016-1.539c.038-.959-.995-1.428-.995-1.428s5.038-1.221 5.556-1.341c.516-.12 1.32-.615 1.069-1.694-.249-1.08-1.204-1.118-1.697-1.003-.494.115-6.744 1.566-8.9 2.068l-1.439.334c-.54.127-.785-.11-.404-.512.508-.536.833-1.129.946-2.113.119-1.035-.232-2.313-.433-2.809-.374-.921-1.005-1.649-1.734-1.899-1.137-.39-1.945.321-1.542 1.561.604 1.854.208 3.375-.833 4.293-2.449 2.157-3.588 3.695-2.83 6.973.828 3.575 4.377 5.876 7.952 5.048l3.152-.681z"}),g("path",{fill:"#65471B",d:"M9.296 6.351c-.164-.088-.303-.224-.391-.399-.216-.428-.04-.927.393-1.112 4.266-1.831 7.699-.043 7.843.034.433.231.608.747.391 1.154-.216.405-.74.546-1.173.318-.123-.063-2.832-1.432-6.278.047-.257.109-.547.085-.785-.042zm12.135 3.75c-.156-.098-.286-.243-.362-.424-.187-.442.023-.927.468-1.084 4.381-1.536 7.685.48 7.823.567.415.26.555.787.312 1.178-.242.39-.776.495-1.191.238-.12-.072-2.727-1.621-6.267-.379-.266.091-.553.046-.783-.096z"})),hX=g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},g("path",{fill:"#FFCC4D",d:"M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"}),g("ellipse",{fill:"#664500",cx:"18",cy:"27",rx:"5",ry:"6"}),g("path",{fill:"#664500",d:"M5.999 11c-.208 0-.419-.065-.599-.2-.442-.331-.531-.958-.2-1.4C8.462 5.05 12.816 5 13 5c.552 0 1 .448 1 1 0 .551-.445.998-.996 1-.155.002-3.568.086-6.204 3.6-.196.262-.497.4-.801.4zm24.002 0c-.305 0-.604-.138-.801-.4-2.64-3.521-6.061-3.598-6.206-3.6-.55-.006-.994-.456-.991-1.005C22.006 5.444 22.45 5 23 5c.184 0 4.537.05 7.8 4.4.332.442.242 1.069-.2 1.4-.18.135-.39.2-.599.2zm-16.087 4.5l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L12.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L13.914 15.5zm11 0l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L23.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L24.914 15.5z"})),pX=g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},g("ellipse",{fill:"#292F33",cx:"18",cy:"26",rx:"18",ry:"10"}),g("ellipse",{fill:"#66757F",cx:"18",cy:"24",rx:"18",ry:"10"}),g("path",{fill:"#E1E8ED",d:"M18 31C3.042 31 1 16 1 12h34c0 2-1.958 19-17 19z"}),g("path",{fill:"#77B255",d:"M35 12.056c0 5.216-7.611 9.444-17 9.444S1 17.271 1 12.056C1 6.84 8.611 3.611 18 3.611s17 3.229 17 8.445z"}),g("ellipse",{fill:"#A6D388",cx:"18",cy:"13",rx:"15",ry:"7"}),g("path",{d:"M21 17c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.739-1.109.9-2.246.478-3.377-.461-1.236-1.438-1.996-1.731-2.077-.553 0-.958-.443-.958-.996 0-.552.491-.995 1.043-.995.997 0 2.395 1.153 3.183 2.625 1.034 1.933.91 4.039-.351 5.929-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.196-.451.294-.707.294zm-6-2c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.727-1.091.893-2.083.494-2.947-.444-.961-1.431-1.469-1.684-1.499-.552 0-.989-.447-.989-1 0-.552.458-1 1.011-1 .997 0 2.585.974 3.36 2.423.481.899 1.052 2.761-.528 5.131-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.197-.451.295-.707.295z",fill:"#5C913B"})),mX=g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},g("path",{fill:"#EF9645",d:"M15.5 2.965c1.381 0 2.5 1.119 2.5 2.5v.005L20.5.465c1.381 0 2.5 1.119 2.5 2.5V4.25l2.5-1.535c1.381 0 2.5 1.119 2.5 2.5V8.75L29 18H15.458L15.5 2.965z"}),g("path",{fill:"#FFDC5D",d:"M4.625 16.219c1.381-.611 3.354.208 4.75 2.188.917 1.3 1.187 3.151 2.391 3.344.46.073 1.234-.313 1.234-1.397V4.5s0-2 2-2 2 2 2 2v11.633c0-.029 1-.064 1-.082V2s0-2 2-2 2 2 2 2v14.053c0 .017 1 .041 1 .069V4.25s0-2 2-2 2 2 2 2v12.638c0 .118 1 .251 1 .398V8.75s0-2 2-2 2 2 2 2V24c0 6.627-5.373 12-12 12-4.775 0-8.06-2.598-9.896-5.292C8.547 28.423 8.096 26.051 8 25.334c0 0-.123-1.479-1.156-2.865-1.469-1.969-2.5-3.156-3.125-3.866-.317-.359-.625-1.707.906-2.384z"})),gX=z("result",` color: var(--n-text-color); line-height: var(--n-line-height); font-size: var(--n-font-size); @@ -3598,17 +3627,16 @@ ${t} margin-top: 4px; text-align: center; font-size: var(--n-font-size); - `)])]),oX={403:tX,404:JY,418:eX,500:QY,info:v(jr,null),success:v(Bi,null),warning:v(Ni,null),error:v(Fi,null)},rX=Object.assign(Object.assign({},Be.props),{size:{type:String,default:"medium"},status:{type:String,default:"info"},title:String,description:String}),iX=me({name:"Result",props:rX,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=it(e),o=Be("Result","-result",nX,LK,e,t),r=L(()=>{const{size:a,status:s}=e,{common:{cubicBezierEaseInOut:l},self:{textColor:c,lineHeight:u,titleTextColor:d,titleFontWeight:f,[ke("iconColor",s)]:p,[ke("fontSize",a)]:h,[ke("titleFontSize",a)]:g,[ke("iconSize",a)]:b}}=o.value;return{"--n-bezier":l,"--n-font-size":h,"--n-icon-size":b,"--n-line-height":u,"--n-text-color":c,"--n-title-font-size":g,"--n-title-font-weight":f,"--n-title-text-color":d,"--n-icon-color":p||""}}),i=n?kt("result",L(()=>{const{size:a,status:s}=e;let l="";return a&&(l+=a[0]),s&&(l+=s[0]),l}),r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{status:t,$slots:n,mergedClsPrefix:o,onRender:r}=this;return r==null||r(),v("div",{class:[`${o}-result`,this.themeClass],style:this.cssVars},v("div",{class:`${o}-result-icon`},((e=n.icon)===null||e===void 0?void 0:e.call(n))||v(Ut,{clsPrefix:o},{default:()=>oX[t]})),v("div",{class:`${o}-result-header`},this.title?v("div",{class:`${o}-result-header__title`},this.title):null,this.description?v("div",{class:`${o}-result-header__description`},this.description):null),n.default&&v("div",{class:`${o}-result-content`},n),n.footer&&v("div",{class:`${o}-result-footer`},n.footer()))}}),aX=Object.assign(Object.assign({},Be.props),{trigger:String,xScrollable:Boolean,onScroll:Function,size:Number}),sX=me({name:"Scrollbar",props:aX,setup(){const e=F(null);return Object.assign(Object.assign({},{scrollTo:(...n)=>{var o;(o=e.value)===null||o===void 0||o.scrollTo(n[0],n[1])},scrollBy:(...n)=>{var o;(o=e.value)===null||o===void 0||o.scrollBy(n[0],n[1])}}),{scrollbarInstRef:e})},render(){return v(ko,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),lX=sX,cX={name:"Skeleton",common:He,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}}},uX=e=>{const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:r}=e;return{color:"#eee",colorEnd:"#ddd",borderRadius:r,heightSmall:t,heightMedium:n,heightLarge:o}},dX={name:"Skeleton",common:bt,self:uX},fX=U([z("skeleton",` + `)])]),vX={403:()=>mX,404:()=>fX,418:()=>pX,500:()=>hX,info:()=>g(jr,null),success:()=>g(Fi,null),warning:()=>g(Bi,null),error:()=>g(Li,null)},bX=Object.assign(Object.assign({},Be.props),{size:{type:String,default:"medium"},status:{type:String,default:"info"},title:String,description:String}),yX=ge({name:"Result",props:bX,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Result","-result",gX,HK,e,t),r=L(()=>{const{size:a,status:s}=e,{common:{cubicBezierEaseInOut:l},self:{textColor:c,lineHeight:u,titleTextColor:d,titleFontWeight:f,[Te("iconColor",s)]:p,[Te("fontSize",a)]:h,[Te("titleFontSize",a)]:m,[Te("iconSize",a)]:v}}=o.value;return{"--n-bezier":l,"--n-font-size":h,"--n-icon-size":v,"--n-line-height":u,"--n-text-color":c,"--n-title-font-size":m,"--n-title-font-weight":f,"--n-title-text-color":d,"--n-icon-color":p||""}}),i=n?kt("result",L(()=>{const{size:a,status:s}=e;let l="";return a&&(l+=a[0]),s&&(l+=s[0]),l}),r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{status:t,$slots:n,mergedClsPrefix:o,onRender:r}=this;return r==null||r(),g("div",{class:[`${o}-result`,this.themeClass],style:this.cssVars},g("div",{class:`${o}-result-icon`},((e=n.icon)===null||e===void 0?void 0:e.call(n))||g(Ut,{clsPrefix:o},{default:()=>vX[t]()})),g("div",{class:`${o}-result-header`},this.title?g("div",{class:`${o}-result-header__title`},this.title):null,this.description?g("div",{class:`${o}-result-header__description`},this.description):null),n.default&&g("div",{class:`${o}-result-content`},n),n.footer&&g("div",{class:`${o}-result-footer`},n.footer()))}}),xX=Object.assign(Object.assign({},Be.props),{trigger:String,xScrollable:Boolean,onScroll:Function,size:Number}),CX=ge({name:"Scrollbar",props:xX,setup(){const e=W(null);return Object.assign(Object.assign({},{scrollTo:(...n)=>{var o;(o=e.value)===null||o===void 0||o.scrollTo(n[0],n[1])},scrollBy:(...n)=>{var o;(o=e.value)===null||o===void 0||o.scrollBy(n[0],n[1])}}),{scrollbarInstRef:e})},render(){return g(To,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),wX=CX,_X={name:"Skeleton",common:Ne,self(e){const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:r}=e;return{color:"rgba(255, 255, 255, 0.12)",colorEnd:"rgba(255, 255, 255, 0.18)",borderRadius:r,heightSmall:t,heightMedium:n,heightLarge:o}}},SX=e=>{const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:r}=e;return{color:"#eee",colorEnd:"#ddd",borderRadius:r,heightSmall:t,heightMedium:n,heightLarge:o}},kX={name:"Skeleton",common:bt,self:SX},PX=q([z("skeleton",` height: 1em; width: 100%; - transition: background-color .3s var(--n-bezier); transition: --n-color-start .3s var(--n-bezier), --n-color-end .3s var(--n-bezier), 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); - `),U("@keyframes skeleton-loading",` + `),q("@keyframes skeleton-loading",` 0% { background: var(--n-color-start); } @@ -3621,8 +3649,8 @@ ${t} 100% { background: var(--n-color-start); } - `)]),hX=Object.assign(Object.assign({},Be.props),{text:Boolean,round:Boolean,circle:Boolean,height:[String,Number],width:[String,Number],size:String,repeat:{type:Number,default:1},animated:{type:Boolean,default:!0},sharp:{type:Boolean,default:!0}}),pl=me({name:"Skeleton",inheritAttrs:!1,props:hX,setup(e){D6();const{mergedClsPrefixRef:t}=it(e),n=Be("Skeleton","-skeleton",fX,dX,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:g,height:b,size:m,text:x,animated:S}=e;m!==void 0&&(d=s[ke("height",m)]);const _=f?(o=g??b)!==null&&o!==void 0?o:d:g,w=(r=f?g??b:b)!==null&&r!==void 0?r:d;return{display:x?"inline-block":"",verticalAlign:x?"-0.125em":"",borderRadius:f?"50%":h?"4096px":p?"":u,width:typeof _=="number"?Mn(_):_,height:typeof w=="number"?Mn(w):w,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=v("div",Dn({class:`${n}-skeleton`,style:t},o));return e>1?v(at,null,EC(e,null).map(i=>[r,` -`])):r}}),pX=U([U("@keyframes spin-rotate",` + `)]),TX=Object.assign(Object.assign({},Be.props),{text:Boolean,round:Boolean,circle:Boolean,height:[String,Number],width:[String,Number],size:String,repeat:{type:Number,default:1},animated:{type:Boolean,default:!0},sharp:{type:Boolean,default:!0}}),ml=ge({name:"Skeleton",inheritAttrs:!1,props:TX,setup(e){W6();const{mergedClsPrefixRef:t}=st(e),n=Be("Skeleton","-skeleton",PX,kX,e,t);return{mergedClsPrefix:t,style:L(()=>{var o,r;const i=n.value,{common:{cubicBezierEaseInOut:a}}=i,s=i.self,{color:l,colorEnd:c,borderRadius:u}=s;let d;const{circle:f,sharp:p,round:h,width:m,height:v,size:b,text:w,animated:C}=e;b!==void 0&&(d=s[Te("height",b)]);const S=f?(o=m??v)!==null&&o!==void 0?o:d:m,_=(r=f?m??v:v)!==null&&r!==void 0?r:d;return{display:w?"inline-block":"",verticalAlign:w?"-0.125em":"",borderRadius:f?"50%":h?"4096px":p?"":u,width:typeof S=="number"?zn(S):S,height:typeof _=="number"?zn(_):_,animation:C?"":"none","--n-bezier":a,"--n-color-start":l,"--n-color-end":c}})}},render(){const{repeat:e,style:t,mergedClsPrefix:n,$attrs:o}=this,r=g("div",Ln({class:`${n}-skeleton`,style:t},o));return e>1?g(rt,null,NC(e,null).map(i=>[r,` +`])):r}}),RX=q([q("@keyframes spin-rotate",` from { transform: rotate(0); } @@ -3636,7 +3664,7 @@ ${t} top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); - `,[sl()])]),z("spin-body",` + `,[cl()])]),z("spin-body",` display: inline-flex; align-items: center; justify-content: center; @@ -3664,7 +3692,7 @@ ${t} -webkit-user-select: none; pointer-events: none; opacity: var(--n-opacity-spinning); - `)])]),mX={small:20,medium:18,large:16},gX=Object.assign(Object.assign({},Be.props),{contentClass:String,contentStyle:[Object,String],description:String,stroke:String,size:{type:[String,Number],default:"medium"},show:{type:Boolean,default:!0},strokeWidth:Number,rotate:{type:Boolean,default:!0},spinning:{type:Boolean,validator:()=>!0,default:void 0},delay:Number}),vX=me({name:"Spin",props:gX,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=it(e),o=Be("Spin","-spin",pX,WK,e,t),r=L(()=>{const{size:l}=e,{common:{cubicBezierEaseInOut:c},self:u}=o.value,{opacitySpinning:d,color:f,textColor:p}=u,h=typeof l=="number"?Mn(l):u[ke("size",l)];return{"--n-bezier":c,"--n-opacity-spinning":d,"--n-size":h,"--n-color":f,"--n-text-color":p}}),i=n?kt("spin",L(()=>{const{size:l}=e;return typeof l=="number"?String(l):l[0]}),r,e):void 0,a=xu(e,["spinning","show"]),s=F(!1);return nn(l=>{let c;if(a.value){const{delay:u}=e;if(u){c=window.setTimeout(()=>{s.value=!0},u),l(()=>{clearTimeout(c)});return}}s.value=a.value}),{mergedClsPrefix:t,active:s,mergedStrokeWidth:L(()=>{const{strokeWidth:l}=e;if(l!==void 0)return l;const{size:c}=e;return mX[typeof c=="number"?"medium":c]}),cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e,t;const{$slots:n,mergedClsPrefix:o,description:r}=this,i=n.icon&&this.rotate,a=(r||n.description)&&v("div",{class:`${o}-spin-description`},r||((e=n.description)===null||e===void 0?void 0:e.call(n))),s=n.icon?v("div",{class:[`${o}-spin-body`,this.themeClass]},v("div",{class:[`${o}-spin`,i&&`${o}-spin--rotate`],style:n.default?"":this.cssVars},n.icon()),a):v("div",{class:[`${o}-spin-body`,this.themeClass]},v(Xr,{clsPrefix:o,style:n.default?"":this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,class:`${o}-spin`}),a);return(t=this.onRender)===null||t===void 0||t.call(this),n.default?v("div",{class:[`${o}-spin-container`,this.themeClass],style:this.cssVars},v("div",{class:[`${o}-spin-content`,this.active&&`${o}-spin-content--spinning`,this.contentClass],style:this.contentStyle},n),v(hn,{name:"fade-in-transition"},{default:()=>this.active?s:null})):s}}),bX={name:"Split",common:He},yX=bX,xX=z("switch",` + `)])]),EX={small:20,medium:18,large:16},$X=Object.assign(Object.assign({},Be.props),{contentClass:String,contentStyle:[Object,String],description:String,stroke:String,size:{type:[String,Number],default:"medium"},show:{type:Boolean,default:!0},strokeWidth:Number,rotate:{type:Boolean,default:!0},spinning:{type:Boolean,validator:()=>!0,default:void 0},delay:Number}),AX=ge({name:"Spin",props:$X,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Spin","-spin",RX,GK,e,t),r=L(()=>{const{size:l}=e,{common:{cubicBezierEaseInOut:c},self:u}=o.value,{opacitySpinning:d,color:f,textColor:p}=u,h=typeof l=="number"?zn(l):u[Te("size",l)];return{"--n-bezier":c,"--n-opacity-spinning":d,"--n-size":h,"--n-color":f,"--n-text-color":p}}),i=n?kt("spin",L(()=>{const{size:l}=e;return typeof l=="number"?String(l):l[0]}),r,e):void 0,a=wu(e,["spinning","show"]),s=W(!1);return Yt(l=>{let c;if(a.value){const{delay:u}=e;if(u){c=window.setTimeout(()=>{s.value=!0},u),l(()=>{clearTimeout(c)});return}}s.value=a.value}),{mergedClsPrefix:t,active:s,mergedStrokeWidth:L(()=>{const{strokeWidth:l}=e;if(l!==void 0)return l;const{size:c}=e;return EX[typeof c=="number"?"medium":c]}),cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e,t;const{$slots:n,mergedClsPrefix:o,description:r}=this,i=n.icon&&this.rotate,a=(r||n.description)&&g("div",{class:`${o}-spin-description`},r||((e=n.description)===null||e===void 0?void 0:e.call(n))),s=n.icon?g("div",{class:[`${o}-spin-body`,this.themeClass]},g("div",{class:[`${o}-spin`,i&&`${o}-spin--rotate`],style:n.default?"":this.cssVars},n.icon()),a):g("div",{class:[`${o}-spin-body`,this.themeClass]},g(Jr,{clsPrefix:o,style:n.default?"":this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,class:`${o}-spin`}),a);return(t=this.onRender)===null||t===void 0||t.call(this),n.default?g("div",{class:[`${o}-spin-container`,this.themeClass],style:this.cssVars},g("div",{class:[`${o}-spin-content`,this.active&&`${o}-spin-content--spinning`,this.contentClass],style:this.contentStyle},n),g(fn,{name:"fade-in-transition"},{default:()=>this.active?s:null})):s}}),IX={name:"Split",common:Ne},OX=IX,MX=z("switch",` height: var(--n-height); min-width: var(--n-width); vertical-align: middle; @@ -3713,9 +3741,9 @@ ${t} left: 0; justify-content: flex-end; padding-left: calc(1.25 * var(--n-rail-height) - var(--n-offset)); - `),U("&:focus",[V("rail",` + `),q("&:focus",[V("rail",` box-shadow: var(--n-box-shadow-focus); - `)]),Z("round",[V("rail","border-radius: calc(var(--n-rail-height) / 2);",[V("button","border-radius: calc(var(--n-button-height) / 2);")])]),Tt("disabled",[Tt("icon",[Z("rubber-band",[Z("pressed",[V("rail",[V("button","max-width: var(--n-button-width-pressed);")])]),V("rail",[U("&:active",[V("button","max-width: var(--n-button-width-pressed);")])]),Z("active",[Z("pressed",[V("rail",[V("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),V("rail",[U("&:active",[V("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),Z("active",[V("rail",[V("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),V("rail",` + `)]),Z("round",[V("rail","border-radius: calc(var(--n-rail-height) / 2);",[V("button","border-radius: calc(var(--n-button-height) / 2);")])]),Tt("disabled",[Tt("icon",[Z("rubber-band",[Z("pressed",[V("rail",[V("button","max-width: var(--n-button-width-pressed);")])]),V("rail",[q("&:active",[V("button","max-width: var(--n-button-width-pressed);")])]),Z("active",[Z("pressed",[V("rail",[V("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),V("rail",[q("&:active",[V("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),Z("active",[V("rail",[V("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),V("rail",` overflow: hidden; height: var(--n-rail-height); min-width: var(--n-rail-width); @@ -3765,20 +3793,20 @@ ${t} `)]),Z("disabled",[V("rail",` cursor: not-allowed; opacity: .5; - `)])]),CX=Object.assign(Object.assign({},Be.props),{size:{type:String,default:"medium"},value:{type:[String,Number,Boolean],default:void 0},loading:Boolean,defaultValue:{type:[String,Number,Boolean],default:!1},disabled:{type:Boolean,default:void 0},round:{type:Boolean,default:!0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},railStyle:Function,rubberBand:{type:Boolean,default:!0},onChange:[Function,Array]});let ls;const wX=me({name:"Switch",props:CX,setup(e){ls===void 0&&(typeof CSS<"u"?typeof CSS.supports<"u"?ls=CSS.supports("width","max(1px)"):ls=!1:ls=!0);const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=it(e),o=Be("Switch","-switch",xX,rG,e,t),r=dr(e),{mergedSizeRef:i,mergedDisabledRef:a}=r,s=F(e.defaultValue),l=je(e,"value"),c=ln(l,s),u=L(()=>c.value===e.checkedValue),d=F(!1),f=F(!1),p=L(()=>{const{railStyle:k}=e;if(k)return k({focused:f.value,checked:u.value})});function h(k){const{"onUpdate:value":R,onChange:$,onUpdateValue:I}=e,{nTriggerFormInput:A,nTriggerFormChange:K}=r;R&&Re(R,k),I&&Re(I,k),$&&Re($,k),s.value=k,A(),K()}function g(){const{nTriggerFormFocus:k}=r;k()}function b(){const{nTriggerFormBlur:k}=r;k()}function m(){e.loading||a.value||(c.value!==e.checkedValue?h(e.checkedValue):h(e.uncheckedValue))}function x(){f.value=!0,g()}function S(){f.value=!1,b(),d.value=!1}function _(k){e.loading||a.value||k.key===" "&&(c.value!==e.checkedValue?h(e.checkedValue):h(e.uncheckedValue),d.value=!1)}function w(k){e.loading||a.value||k.key===" "&&(k.preventDefault(),d.value=!0)}const C=L(()=>{const{value:k}=i,{self:{opacityDisabled:R,railColor:$,railColorActive:I,buttonBoxShadow:A,buttonColor:K,boxShadowFocus:B,loadingColor:M,textColor:D,iconColor:Y,[ke("buttonHeight",k)]:Q,[ke("buttonWidth",k)]:ue,[ke("buttonWidthPressed",k)]:le,[ke("railHeight",k)]:N,[ke("railWidth",k)]:E,[ke("railBorderRadius",k)]:O,[ke("buttonBorderRadius",k)]:q},common:{cubicBezierEaseInOut:ne}}=o.value;let ve,J,be;return ls?(ve=`calc((${N} - ${Q}) / 2)`,J=`max(${N}, ${Q})`,be=`max(${E}, calc(${E} + ${Q} - ${N}))`):(ve=Mn((kn(N)-kn(Q))/2),J=Mn(Math.max(kn(N),kn(Q))),be=kn(N)>kn(Q)?E:Mn(kn(E)+kn(Q)-kn(N))),{"--n-bezier":ne,"--n-button-border-radius":q,"--n-button-box-shadow":A,"--n-button-color":K,"--n-button-width":ue,"--n-button-width-pressed":le,"--n-button-height":Q,"--n-height":J,"--n-offset":ve,"--n-opacity-disabled":R,"--n-rail-border-radius":O,"--n-rail-color":$,"--n-rail-color-active":I,"--n-rail-height":N,"--n-rail-width":E,"--n-width":be,"--n-box-shadow-focus":B,"--n-loading-color":M,"--n-text-color":D,"--n-icon-color":Y}}),y=n?kt("switch",L(()=>i.value[0]),C,e):void 0;return{handleClick:m,handleBlur:S,handleFocus:x,handleKeyup:_,handleKeydown:w,mergedRailStyle:p,pressed:d,mergedClsPrefix:t,mergedValue:c,checked:u,mergedDisabled:a,cssVars:n?void 0:C,themeClass:y==null?void 0:y.themeClass,onRender:y==null?void 0:y.onRender}},render(){const{mergedClsPrefix:e,mergedDisabled:t,checked:n,mergedRailStyle:o,onRender:r,$slots:i}=this;r==null||r();const{checked:a,unchecked:s,icon:l,"checked-icon":c,"unchecked-icon":u}=i,d=!(fa(l)&&fa(c)&&fa(u));return v("div",{role:"switch","aria-checked":n,class:[`${e}-switch`,this.themeClass,d&&`${e}-switch--icon`,n&&`${e}-switch--active`,t&&`${e}-switch--disabled`,this.round&&`${e}-switch--round`,this.loading&&`${e}-switch--loading`,this.pressed&&`${e}-switch--pressed`,this.rubberBand&&`${e}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},v("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:o},Et(a,f=>Et(s,p=>f||p?v("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},v("div",{class:`${e}-switch__rail-placeholder`},v("div",{class:`${e}-switch__button-placeholder`}),f),v("div",{class:`${e}-switch__rail-placeholder`},v("div",{class:`${e}-switch__button-placeholder`}),p)):null)),v("div",{class:`${e}-switch__button`},Et(l,f=>Et(c,p=>Et(u,h=>v(Hi,null,{default:()=>this.loading?v(Xr,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(p||f)?v("div",{class:`${e}-switch__button-icon`,key:p?"checked-icon":"icon"},p||f):!this.checked&&(h||f)?v("div",{class:`${e}-switch__button-icon`,key:h?"unchecked-icon":"icon"},h||f):null})))),Et(a,f=>f&&v("div",{key:"checked",class:`${e}-switch__checked`},f)),Et(s,f=>f&&v("div",{key:"unchecked",class:`${e}-switch__unchecked`},f)))))}}),_X=me({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)}}}),SX={message:kY,notification:zY,loadingBar:sY,dialog:BU};function kX({providersAndProps:e,configProviderProps:t}){let o=qy(()=>v(K_,he(t),{default:()=>e.map(({type:s,Provider:l,props:c})=>v(l,he(c),{default:()=>v(_X,{onSetup:()=>r[s]=SX[s]()})}))}));const r={app:o};let i;return ur&&(i=document.createElement("div"),document.body.appendChild(i),o.mount(i)),Object.assign({unmount:()=>{var s;if(o===null||i===null){sr("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 PX(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:SY,props:n});break;case"notification":a.push({type:l,Provider:MY,props:r});break;case"dialog":a.push({type:l,Provider:FU,props:o});break;case"loadingBar":a.push({type:l,Provider:aY,props:i});break}}),kX({providersAndProps:a,configProviderProps:t})}function TX(){const e=We(wo,null);return L(()=>{if(e===null)return bt;const{mergedThemeRef:{value:t},mergedThemeOverridesRef:{value:n}}=e,o=(t==null?void 0:t.common)||bt;return n!=null&&n.common?Object.assign({},o,n.common):o})}const RX=()=>({}),$X={name:"Equation",common:He,self:RX},EX=$X,mS={name:"dark",common:He,Alert:fH,Anchor:_H,AutoComplete:BH,Avatar:I_,AvatarGroup:WH,BackTop:qH,Badge:tj,Breadcrumb:aj,Button:Vn,ButtonGroup:Yq,Calendar:wj,Card:N_,Carousel:zj,Cascader:iV,Checkbox:Ua,Code:q_,Collapse:mV,CollapseTransition:bV,ColorPicker:kj,DataTable:nW,DatePicker:gU,Descriptions:xU,Dialog:I2,Divider:VU,Drawer:YU,Dropdown:um,DynamicInput:mq,DynamicTags:_q,Element:kq,Empty:Vi,Ellipsis:r2,Equation:EX,Flex:Rq,Form:Iq,GradientText:Mq,Icon:EW,IconWrapper:Lq,Image:LG,Input:uo,InputNumber:Zq,LegacyTransfer:eY,Layout:nK,List:lK,LoadingBar:uK,Log:mK,Menu:wK,Mention:vK,Message:Kq,Modal:EU,Notification:jq,PageHeader:kK,Pagination:t2,Popconfirm:$K,Popover:Ui,Popselect:G_,Progress:Y2,QrCode:qY,Radio:s2,Rate:MK,Result:BK,Row:DG,Scrollbar:jn,Select:J_,Skeleton:cX,Slider:jK,Space:j2,Spin:qK,Statistic:YK,Steps:QK,Switch:tG,Table:lG,Tabs:fG,Tag:w_,Thing:mG,TimePicker:$2,Timeline:bG,Tooltip:Iu,Transfer:CG,Tree:Q2,TreeSelect:kG,Typography:$G,Upload:IG,Watermark:MG,Split:yX},AX={"aria-hidden":"true",width:"1em",height:"1em"},IX=["xlink:href","fill"],OX=me({__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)=>(ce(),ze("svg",AX,[j("use",{"xlink:href":n.value,fill:e.color},null,8,IX)]))}}),Ys=(e,t={size:12})=>()=>v(pr,t,()=>v(FA,{icon:e})),gS=(e,t={size:12})=>()=>v(pr,t,()=>v(OX,{icon:e}));function MX(){var n,o;const e={default:zX,blue:DX,black:LX,darkblue:FX},t=((o=(n=window.settings)==null?void 0:n.theme)==null?void 0:o.color)||"default";return Object.prototype.hasOwnProperty.call(e,t)?e[t]:e.default}const zX={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#316C72FF",primaryColorHover:"#316C72E3",primaryColorPressed:"#2B4C59FF",primaryColorSuppl:"#316C72E3",infoColor:"#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"}}},DX={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#0665d0",primaryColorHover:"#2a84de",primaryColorPressed:"#004085",primaryColorSuppl:"#0056b3",infoColor:"#17a2b8",infoColorHover:"#138496",infoColorPressed:"#0c5460",infoColorSuppl:"#138496",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},LX={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#343a40",primaryColorHover:"#23272b",primaryColorPressed:"#1d2124",primaryColorSuppl:"#23272b",infoColor:"#17a2b8",infoColorHover:"#138496",infoColorPressed:"#0c5460",infoColorSuppl:"#138496",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},FX={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#004175",primaryColorHover:"#002c4c",primaryColorPressed:"#001f35",primaryColorSuppl:"#002c4c",infoColor:"#17a2b8",infoColorHover:"#138496",infoColorPressed:"#0c5460",infoColorSuppl:"#138496",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},{header:BX,tags:IBe,naiveThemeOverrides:Th}=MX();function Fu(e){return zh()?(G1(e),!0):!1}function Do(e){return typeof e=="function"?e():he(e)}const vS=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const NX=Object.prototype.toString,HX=e=>NX.call(e)==="[object Object]",bS=()=>{};function jX(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 yS=e=>e();function VX(e=yS){const t=F(!0);function n(){t.value=!1}function o(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:io(t),pause:n,resume:o,eventFilter:r}}function WX(e){return e||Zn()}function UX(...e){if(e.length!==1)return je(...e);const t=e[0];return typeof t=="function"?io(_3(()=>({get:t,set:bS}))):F(t)}function qX(e,t,n={}){const{eventFilter:o=yS,...r}=n;return ht(e,jX(o,t),r)}function KX(e,t,n={}){const{eventFilter:o,...r}=n,{eventFilter:i,pause:a,resume:s,isActive:l}=VX(o);return{stop:qX(e,t,{...r,eventFilter:i}),pause:a,resume:s,isActive:l}}function xS(e,t=!0,n){WX()?Ft(e,n):t?e():jt(e)}function GX(e=!1,t={}){const{truthyValue:n=!0,falsyValue:o=!1}=t,r=dn(e),i=F(e);function a(s){if(arguments.length)return i.value=s,i.value;{const l=Do(n);return i.value=i.value===l?Do(o):l,i.value}}return r?a:[i,a]}function Ea(e){var t;const n=Do(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Vr=vS?window:void 0,YX=vS?window.document:void 0;function zc(...e){let t,n,o,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,r]=e,t=Vr):[t,n,o,r]=e,!t)return bS;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(()=>[Ea(t),Do(r)],([u,d])=>{if(a(),!u)return;const f=HX(d)?{...d}:d;i.push(...n.flatMap(p=>o.map(h=>s(u,p,h,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),a()};return Fu(c),c}function XX(){const e=F(!1);return Zn()&&Ft(()=>{e.value=!0}),e}function _m(e){const t=XX();return L(()=>(t.value,!!e()))}function ZX(e,t={}){const{window:n=Vr}=t,o=_m(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=F(!1),a=c=>{i.value=c.matches},s=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",a):r.removeListener(a))},l=nn(()=>{o.value&&(s(),r=n.matchMedia(Do(e)),"addEventListener"in r?r.addEventListener("change",a):r.addListener(a),i.value=r.matches)});return Fu(()=>{l(),s(),r=void 0}),i}const Ul=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ql="__vueuse_ssr_handlers__",JX=QX();function QX(){return ql in Ul||(Ul[ql]=Ul[ql]||{}),Ul[ql]}function CS(e,t){return JX[e]||t}function eZ(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 tZ={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()}},J0="vueuse-storage";function nZ(e,t,n,o={}){var r;const{flush:i="pre",deep:a=!0,listenToStorageChanges:s=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:d=Vr,eventFilter:f,onError:p=R=>{console.error(R)},initOnMounted:h}=o,g=(u?Ia:F)(typeof t=="function"?t():t);if(!n)try{n=CS("getDefaultStorage",()=>{var R;return(R=Vr)==null?void 0:R.localStorage})()}catch(R){p(R)}if(!n)return g;const b=Do(t),m=eZ(b),x=(r=o.serializer)!=null?r:tZ[m],{pause:S,resume:_}=KX(g,()=>w(g.value),{flush:i,deep:a,eventFilter:f});return d&&s&&xS(()=>{zc(d,"storage",k),zc(d,J0,y),h&&k()}),h||k(),g;function w(R){try{if(R==null)n.removeItem(e);else{const $=x.write(R),I=n.getItem(e);I!==$&&(n.setItem(e,$),d&&d.dispatchEvent(new CustomEvent(J0,{detail:{key:e,oldValue:I,newValue:$,storageArea:n}})))}}catch($){p($)}}function C(R){const $=R?R.newValue:n.getItem(e);if($==null)return l&&b!=null&&n.setItem(e,x.write(b)),b;if(!R&&c){const I=x.read($);return typeof c=="function"?c(I,b):m==="object"&&!Array.isArray(I)?{...b,...I}:I}else return typeof $!="string"?$:x.read($)}function y(R){k(R.detail)}function k(R){if(!(R&&R.storageArea!==n)){if(R&&R.key==null){g.value=b;return}if(!(R&&R.key!==e)){S();try{(R==null?void 0:R.newValue)!==x.write(g.value)&&(g.value=C(R))}catch($){p($)}finally{R?jt(_):_()}}}}}function wS(e){return ZX("(prefers-color-scheme: dark)",e)}function oZ(e={}){const{selector:t="html",attribute:n="class",initialValue:o="auto",window:r=Vr,storage:i,storageKey:a="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},f=wS({window:r}),p=L(()=>f.value?"dark":"light"),h=l||(a==null?UX(o):nZ(a,o,i,{window:r,listenToStorageChanges:s})),g=L(()=>h.value==="auto"?p.value:h.value),b=CS("updateHTMLAttrs",(_,w,C)=>{const y=typeof _=="string"?r==null?void 0:r.document.querySelector(_):Ea(_);if(!y)return;let k;if(u){k=r.document.createElement("style");const R="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";k.appendChild(document.createTextNode(R)),r.document.head.appendChild(k)}if(w==="class"){const R=C.split(/\s/g);Object.values(d).flatMap($=>($||"").split(/\s/g)).filter(Boolean).forEach($=>{R.includes($)?y.classList.add($):y.classList.remove($)})}else y.setAttribute(w,C);u&&(r.getComputedStyle(k).opacity,document.head.removeChild(k))});function m(_){var w;b(t,n,(w=d[_])!=null?w:_)}function x(_){e.onChanged?e.onChanged(_,m):m(_)}ht(g,x,{flush:"post",immediate:!0}),xS(()=>x(g.value));const S=L({get(){return c?h.value:g.value},set(_){h.value=_}});try{return Object.assign(S,{store:h,system:p,state:g})}catch{return S}}function rZ(e,t,n={}){const{window:o=Vr,...r}=n;let i;const a=_m(()=>o&&"MutationObserver"in o),s=()=>{i&&(i.disconnect(),i=void 0)},l=ht(()=>Ea(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 Fu(u),{isSupported:a,stop:u,takeRecords:c}}function iZ(e,t,n={}){const{window:o=Vr,initialValue:r="",observe:i=!1}=n,a=F(r),s=L(()=>{var c;return Ea(t)||((c=o==null?void 0:o.document)==null?void 0:c.documentElement)});function l(){var c;const u=Do(e),d=Do(s);if(d&&o){const f=(c=o.getComputedStyle(d).getPropertyValue(u))==null?void 0:c.trim();a.value=f||r}}return i&&rZ(s,l,{attributeFilter:["style","class"],window:o}),ht([s,()=>Do(e)],l,{immediate:!0}),ht(a,c=>{var u;(u=s.value)!=null&&u.style&&s.value.style.setProperty(Do(e),c)}),a}function _S(e={}){const{valueDark:t="dark",valueLight:n="",window:o=Vr}=e,r=oZ({...e,onChanged:(s,l)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,s==="dark",l,s):l(s)},modes:{dark:t,light:n}}),i=L(()=>r.system?r.system.value:wS({window:o}).value?"dark":"light");return L({get(){return r.value==="dark"},set(s){const l=s?"dark":"light";i.value===l?r.value="auto":r.value=l}})}const Q0=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function aZ(e,t={}){const{document:n=YX,autoExit:o=!1}=t,r=L(()=>{var m;return(m=Ea(e))!=null?m:n==null?void 0:n.querySelector("html")}),i=F(!1),a=L(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(m=>n&&m in n||r.value&&m in r.value)),s=L(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(m=>n&&m in n||r.value&&m in r.value)),l=L(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(m=>n&&m in n||r.value&&m in r.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(m=>n&&m in n),u=_m(()=>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 m=r.value;if((m==null?void 0:m[l.value])!=null)return!!m[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 m=r.value;(m==null?void 0:m[s.value])!=null&&await m[s.value]()}i.value=!1}}async function h(){if(!u.value||i.value)return;f()&&await p();const m=r.value;a.value&&(m==null?void 0:m[a.value])!=null&&(await m[a.value](),i.value=!0)}async function g(){await(i.value?p():h())}const b=()=>{const m=f();(!m||m&&d())&&(i.value=m)};return zc(n,Q0,b,!1),zc(()=>Ea(r),Q0,b,!1),o&&Fu(p),{isSupported:u,isFullscreen:i,enter:h,exit:p,toggle:g}}const wn=iu("app",{state(){var e,t,n,o,r,i,a;return{collapsed:window.innerWidth<768,isDark:_S(),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:pu().value||"zh-CN",appConfig:{}}},actions:{async getConfig(){const{data:e}=await yZ();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){uC(e),location.reload()}}});function sZ(e){let t=null;class n{removeMessage(r=t,i=2e3){setTimeout(()=>{r&&(r.destroy(),r=null)},i)}showMessage(r,i,a={}){if(t&&t.type==="loading")t.type=r,t.content=i,r!=="loading"&&this.removeMessage(t,a.duration);else{const s=e[r](i,a);r==="loading"&&(t=s)}}loading(r){this.showMessage("loading",r,{duration:0})}success(r,i={}){this.showMessage("success",r,i)}error(r,i={}){this.showMessage("error",r,i)}info(r,i={}){this.showMessage("info",r,i)}warning(r,i={}){this.showMessage("warning",r,i)}}return new n}function lZ(e){return e.confirm=function(t={}){const n=!fC(t.title);return new Promise(o=>{e[t.type||"warning"]({showIcon:n,positiveText:sn.global.t("确定"),negativeText:sn.global.t("取消"),onPositiveClick:()=>{t.confirm&&t.confirm(),o(!0)},onNegativeClick:()=>{t.cancel&&t.cancel(),o(!1)},onMaskClick:()=>{t.cancel&&t.cancel(),o(!1)},...t})})},e}function cZ(){const e=wn(),t=L(()=>({theme:e.isDark?mS:void 0,themeOverrides:Th})),{message:n,dialog:o,notification:r,loadingBar:i}=PX(["message","dialog","notification","loadingBar"],{configProviderProps:t});window.$loadingBar=i,window.$notification=r,window.$message=sZ(n),window.$dialog=lZ(o)}const uZ="access_token",dZ=6*60*60;function e1(e){Ai.set(uZ,e,dZ)}function fZ(e){if(e.method==="get"&&(e.params={...e.params,t:new Date().getTime()}),_R(e))return e;const t=Ox();return t.value?(e.headers.Authorization=e.headers.Authorization||t.value,e.headers["Content-Language"]=pu().value||"zh-CN",e):(dp(),Promise.reject({code:"-1",message:"未登录"}))}function hZ(e){return Promise.reject(e)}function pZ(e){return Promise.resolve((e==null?void 0:e.data)||{code:-1,message:"未知错误"})}function mZ(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 gZ(e={}){const t={headers:{"Content-Type":"application/x-www-form-urlencoded"},timeout:12e3},n=CR.create({...t,...e});return n.interceptors.request.use(fZ,hZ),n.interceptors.response.use(pZ,mZ),n}const wt=gZ({baseURL:vZ()});function vZ(){let e=bZ(window.routerBase||"/")+"api/v1";return/^https?:\/\//.test(e)||(e=window.location.origin+e),e}function bZ(e){return e.endsWith("/")?e:"/"+e}function yZ(){return wt.get("/user/comm/config")}function xZ(){return wt.get("/user/info")}function CZ(){return wt.get("/user/getStat")}function wZ(){return wt.get("/user/getSubscribe")}function _Z(){return wt.get("/user/notice/fetch")}function SZ(){return wt.get("/user/plan/fetch")}function SS(){return wt.get("/user/server/fetch")}function Sm(){return wt.get("/user/order/fetch")}function kZ(e){return wt.get("/user/order/detail?trade_no="+e)}function Bu(e){return wt.post("/user/order/cancel",{trade_no:e})}function PZ(e){return wt.get("/user/order/check?trade_no="+e)}function TZ(){return wt.get("/user/invite/fetch")}function RZ(e=1,t=10){return wt.get(`/user/invite/details?current=${e}&page_size=${t}`)}function $Z(){return wt.get("/user/invite/save")}function EZ(e){return wt.post("/user/transfer",{transfer_amount:e})}function AZ(e){return wt.post("/user/ticket/withdraw",e)}function t1(e){return wt.post("/user/update",e)}function IZ(e,t){return wt.post("/user/changePassword",{old_password:e,new_password:t})}function OZ(){return wt.get("/user/resetSecurity")}function MZ(){return wt.get("/user/stat/getTrafficLog")}function zZ(){return wt.get("/user/order/getPaymentMethod")}function kS(e,t,n){return wt.post("/user/order/save",{plan_id:e,period:t,coupon_code:n})}function DZ(e,t){return wt.post("/user/order/checkout",{trade_no:e,method:t})}function LZ(e){return wt.get("/user/plan/fetch?id="+e)}function FZ(e,t){return wt.post("/user/coupon/check",{code:e,plan_id:t})}function BZ(){return wt.get("/user/ticket/fetch")}function NZ(e,t,n){return wt.post("/user/ticket/save",{subject:e,level:t,message:n})}function HZ(e){return wt.post("/user/ticket/close",{id:e})}function jZ(e){return wt.get("/user/ticket/fetch?id="+e)}function VZ(e,t){return wt.post("/user/ticket/reply",{id:e,message:t})}function WZ(e="",t="zh-CN"){return wt.get(`/user/knowledge/fetch?keyword=${e}&language=${t}`)}function UZ(e,t="zh-CN"){return wt.get(`/user/knowledge/fetch?id=${e}&language=${t}`)}function qZ(){return wt.get("user/telegram/getBotInfo")}const Gi=iu("user",{state:()=>({userInfo:{}}),getters:{userUUID(){var e;return(e=this.userInfo)==null?void 0:e.uuid},email(){var e;return(e=this.userInfo)==null?void 0:e.email},avatar(){return this.userInfo.avatar_url??""},role(){return[]},remind_expire(){return this.userInfo.remind_expire},remind_traffic(){return this.userInfo.remind_traffic},balance(){return this.userInfo.balance},plan_id(){return this.userInfo.plan_id},expired_at(){return this.userInfo.expired_at},plan(){return this.userInfo.plan},subscribe(){return this.userInfo.subscribe}},actions:{async getUserInfo(){try{const e=await xZ(),{data:t}=e;return t?(this.userInfo=t,t):Promise.reject(e)}catch(e){return Promise.reject(e)}},async getUserSubscribe(){try{const e=await wZ(),{data:t}=e;return t?(this.userInfo.subscribe=t,this.userInfo.plan=t.plan,t):Promise.reject(e)}catch(e){return Promise.reject(e)}},async logout(){Mx(),this.userInfo={},dp()},setUserInfo(e){this.userInfo={...this.userInfo,...e}}}});function KZ(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(KZ(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 TS=iu("permission",{state(){return{accessRoutes:[]}},getters:{routes(){return ox.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(rx,e);return this.accessRoutes=t,t}}}),GZ=xc.get("activeTag"),YZ=xc.get("tags"),XZ=["/404","/login"],ZZ=iu({id:"tag",state:()=>{const e=F(YZ.value),t=F(GZ.value),n=F(!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,xc.set("activeTag",e)},setTags(e){this.tags=e,xc.set("tags",e)},addTag(e={}){if(XZ.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&&Zt.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&&Zt.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)||Zt.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)||Zt.push(n[n.length-1].path)},resetTags(){this.setTags([]),this.setActiveTag("")}}});function JZ(e){e.use(JP())}const QZ=["/login","/register","/forgetpassword"];function eJ(e){const t=Gi(),n=TS();e.beforeEach(async(o,r,i)=>{var s;Ox().value?o.path==="/login"?i({path:((s=o.query.redirect)==null?void 0:s.toString())??"/dashboard"}):t.userUUID?i():(await Promise.all([wn().getConfig(),t.getUserInfo().catch(c=>{Mx(),dp(),window.$message.error(c.message||"获取用户信息失败!")})]),n.generateRoutes(t.role).forEach(c=>{c.name&&!e.hasRoute(c.name)&&e.addRoute(c)}),e.addRoute(GP),i({...o,replace:!0})):QZ.includes(o.path)?i():i({path:"/login"})})}function tJ(e){YP(e),eJ(e),XP(e)}const Zt=vP({history:O5("/"),routes:ox,scrollBehavior:()=>({left:0,top:0})});function nJ(e){e.use(Zt),tJ(Zt)}const oJ=me({__name:"AppProvider",setup(e){const t=wn(),n={"zh-CN":[LL,m0],"en-US":[o_,i_],"fa-IR":[GL,EB],"ko-KR":[WL,j7],"vi-VN":[qL,RB],"zh-TW":[BL,m0],"ja-JP":[jL,r7]};function o(){const r=Th.common;for(const i in r)iZ(`--${$L(i)}`,document.documentElement).value=r[i]||"",i==="primaryColor"&&window.localStorage.setItem("__THEME_COLOR__",r[i]||"")}return o(),(r,i)=>{const a=K_;return ce(),Ve(a,{"wh-full":"",locale:n[he(t).lang][0],"date-locale":n[he(t).lang][1],theme:he(t).isDark?he(mS):void 0,"theme-overrides":he(Th)},{default:re(()=>[Xc(r.$slots,"default")]),_:3},8,["locale","date-locale","theme","theme-overrides"])}}}),rJ=me({__name:"App",setup(e){const t=Gi();return nn(()=>{const{balance:o,plan:r,expired_at:i,subscribe:a,email:s}=t;if(window.$crisp&&s){const l=[["Balance",(o/100).toString()],...r!=null&&r.name?[["Plan",r.name]]:[],["ExpireTime",jo(i)],["UsedTraffic",xs(((a==null?void 0:a.u)||0)+((a==null?void 0:a.d)||0))],["AllTraffic",xs(a==null?void 0:a.transfer_enable)]];window.$crisp.push(["set","user:email",s]),window.$crisp.push(["set","session:data",[l]])}}),(o,r)=>{const i=Oa("router-view");return ce(),Ve(oJ,null,{default:re(()=>[te(i,null,{default:re(({Component:a})=>[(ce(),Ve(qc(a)))]),_:1})]),_:1})}}}),Nu=qy(rJ);JZ(Nu);cZ();nJ(Nu);zE(Nu);Nu.mount("#app");const iJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},aJ=j("path",{fill:"currentColor",d:"M6.225 4.811a1 1 0 0 0-1.414 1.414L10.586 12L4.81 17.775a1 1 0 1 0 1.414 1.414L12 13.414l5.775 5.775a1 1 0 0 0 1.414-1.414L13.414 12l5.775-5.775a1 1 0 0 0-1.414-1.414L12 10.586z"},null,-1),sJ=[aJ];function lJ(e,t){return ce(),ze("svg",iJ,[...sJ])}const RS={name:"gg-close",render:lJ},cJ={"h-60":"","f-c-c":""},uJ=["src"],dJ=me({__name:"SideLogo",setup(e){const t=wn();return(n,o)=>{const r=RS,i=$t;return ce(),ze("div",cJ,[he(t).logo?(ce(),ze("img",{key:0,src:he(t).logo,height:"30"},null,8,uJ)):ut("",!0),Cn(j("h2",{"ml-10":"","max-w-140":"","flex-shrink-0":"","text-16":"","font-bold":"","color-primary":""},ie(he(t).title),513),[[Jn,!he(t).collapsed]]),te(i,{onClick:[o[0]||(o[0]=c5(()=>{},["stop"])),he(t).switchCollapsed],class:"absolute right-15 h-auto p-0 md:hidden",tertiary:"",size:"medium"},{icon:re(()=>[te(r,{class:"cursor-pointer opacity-85"})]),_:1},8,["onClick"])])}}}),fJ=me({__name:"SideMenu",setup(e){const t=wn(),n=h=>sn.global.t(h);function o(){window.innerWidth<=950&&(t.collapsed=!0)}const r=ou(),i=Ei(),a=TS(),s=L(()=>{var h;return((h=i.meta)==null?void 0:h.activeMenu)||i.name}),l=L(()=>a.menus.reduce((b,m)=>{var S,_,w,C;const x=d(m);if((_=(S=x.meta)==null?void 0:S.group)!=null&&_.key){const y=x.meta.group.key,k=b.findIndex(R=>R.key===y);if(k!==-1)(w=b[k].children)==null||w.push(x),b[k].children=(C=b[k].children)==null?void 0:C.sort((R,$)=>R.order-$.order);else{const R={type:"group",label:n(x.meta.group.label||""),key:y,children:[x]};b.push(R)}}else b.push(x);return b.sort((y,k)=>y.order-k.order)},[]).sort((b,m)=>b.type==="group"&&m.type!=="group"?1:b.type!=="group"&&m.type==="group"?-1:b.order-m.order));function c(h,g){return Lv(g)?g:"/"+[h,g].filter(b=>!!b&&b!=="/").map(b=>b.replace(/(^\/)|(\/$)/g,"")).join("/")}function u(h,g){var m;const b=((m=h.children)==null?void 0:m.filter(x=>{var S;return x.name&&!((S=x.meta)!=null&&S.isHidden)}))||[];return b.length===1?d(b[0],g):b.length>1?{children:b.map(x=>d(x,g)).sort((x,S)=>x.order-S.order)}:null}function d(h,g=""){const{title:b,order:m}=h.meta||{title:"",order:0},{name:x,path:S}=h,_=b||x||"",w=x||"",C=f(h.meta),y=m||0,k=h.meta;let R={label:n(_),key:w,path:c(g,S),icon:C!==null?C:void 0,meta:k,order:y};const $=u(h,R.path);return $&&(R={...R,...$}),R}function f(h){return h!=null&&h.customIcon?gS(h.customIcon,{size:18}):h!=null&&h.icon?Ys(h.icon,{size:18}):null}function p(h,g){Lv(g.path)?window.open(g.path):r.push(g.path)}return(h,g)=>{const b=vY;return ce(),Ve(b,{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:g[0]||(g[0]=m=>o())},null,8,["options","value"])}}}),n1=me({__name:"index",setup(e){return(t,n)=>(ce(),ze(at,null,[te(dJ),te(fJ)],64))}}),hJ=me({__name:"AppMain",setup(e){const t=ZZ();return(n,o)=>{const r=Oa("router-view");return ce(),Ve(r,null,{default:re(({Component:i,route:a})=>[he(t).reloading?ut("",!0):(ce(),Ve(qc(i),{key:a.fullPath}))]),_:1})}}}),pJ=me({__name:"BreadCrumb",setup(e){const t=Ei();function n(o){return o!=null&&o.customIcon?gS(o.customIcon,{size:18}):o!=null&&o.icon?Ys(o.icon,{size:18}):null}return(o,r)=>{const i=fj,a=cj;return ce(),Ve(a,null,{default:re(()=>[(ce(!0),ze(at,null,Nn(he(t).matched.filter(s=>{var l;return!!((l=s.meta)!=null&&l.title)}),s=>(ce(),Ve(i,{key:s.path},{default:re(()=>[(ce(),Ve(qc(n(s.meta)))),Je(" "+ie(o.$t(s.meta.title)),1)]),_:2},1024))),128))]),_:1})}}}),mJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},gJ=j("path",{fill:"currentColor",d:"M11 13h10v-2H11m0-2h10V7H11M3 3v2h18V3M3 21h18v-2H3m0-7l4 4V8m4 9h10v-2H11z"},null,-1),vJ=[gJ];function bJ(e,t){return ce(),ze("svg",mJ,[...vJ])}const yJ={name:"mdi-format-indent-decrease",render:bJ},xJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},CJ=j("path",{fill:"currentColor",d:"M11 13h10v-2H11m0-2h10V7H11M3 3v2h18V3M11 17h10v-2H11M3 8v8l4-4m-4 9h18v-2H3z"},null,-1),wJ=[CJ];function _J(e,t){return ce(),ze("svg",xJ,[...wJ])}const SJ={name:"mdi-format-indent-increase",render:_J},kJ=me({__name:"MenuCollapse",setup(e){const t=wn();return(n,o)=>{const r=SJ,i=yJ,a=pr;return ce(),Ve(a,{size:"20","cursor-pointer":"",onClick:he(t).switchCollapsed},{default:re(()=>[he(t).collapsed?(ce(),Ve(r,{key:0})):(ce(),Ve(i,{key:1}))]),_:1},8,["onClick"])}}}),PJ={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},TJ=j("path",{fill:"currentColor",d:"m290 236.4l43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6l43.7 43.7a8.01 8.01 0 0 0 13.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 0 0 0 11.3zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9zm-463.7-94.6a8.03 8.03 0 0 0-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6L423.7 654c3.1-3.1 3.1-8.2 0-11.3z"},null,-1),RJ=[TJ];function $J(e,t){return ce(),ze("svg",PJ,[...RJ])}const EJ={name:"ant-design-fullscreen-outlined",render:$J},AJ={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},IJ=j("path",{fill:"currentColor",d:"M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 0 0 0 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 0 0 391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8m221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6L877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 0 0-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9M744 690.4l43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3z"},null,-1),OJ=[IJ];function MJ(e,t){return ce(),ze("svg",AJ,[...OJ])}const zJ={name:"ant-design-fullscreen-exit-outlined",render:MJ},DJ=me({__name:"FullScreen",setup(e){const{isFullscreen:t,toggle:n}=aZ();return(o,r)=>{const i=zJ,a=EJ,s=pr;return ce(),Ve(s,{mr20:"",size:"18",style:{cursor:"pointer"},onClick:he(n)},{default:re(()=>[he(t)?(ce(),Ve(i,{key:0})):(ce(),Ve(a,{key:1}))]),_:1},8,["onClick"])}}}),LJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},FJ=j("path",{fill:"currentColor",d:"M15.88 9.29L12 13.17L8.12 9.29a.996.996 0 1 0-1.41 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 0 0-1.41c-.39-.38-1.03-.39-1.42 0"},null,-1),BJ=[FJ];function NJ(e,t){return ce(),ze("svg",LJ,[...BJ])}const HJ={name:"ic-round-expand-more",render:NJ},jJ={class:"inline-block",viewBox:"0 0 32 32",width:"1em",height:"1em"},VJ=j("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),WJ=j("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),UJ=[VJ,WJ];function qJ(e,t){return ce(),ze("svg",jJ,[...UJ])}const KJ={name:"carbon-user-avatar-filled",render:qJ},GJ={class:"hidden md:block"},YJ=me({__name:"UserAvatar",setup(e){const t=Gi(),n=i=>sn.global.t(i),o=[{label:n("个人中心"),key:"profile",icon:Ys("mdi-account-outline",{size:14})},{label:n("登出"),key:"logout",icon:Ys("mdi:exit-to-app",{size:14})}];function r(i){i==="logout"&&window.$dialog.confirm({title:n("提示"),type:"info",content:n("确认退出?"),confirm(){t.logout(),window.$message.success(n("已退出登录"))}}),i==="profile"&&Zt.push("/profile")}return(i,a)=>{const s=KJ,l=HJ,c=$t,u=hm;return ce(),Ve(u,{options:o,onSelect:r},{default:re(()=>[te(c,{text:"",flex:"","cursor-pointer":"","items-center":""},{default:re(()=>[te(s,{class:"mr-0 h-20 w-20 rounded-full md:mr10 md:h-30 md:w-30"}),te(l,{class:"h-20 w-20 md:hidden"}),j("span",GJ,ie(he(t).email),1)]),_:1})]),_:1})}}}),XJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},ZJ=j("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),JJ=[ZJ];function QJ(e,t){return ce(),ze("svg",XJ,[...JJ])}const eQ={name:"fontisto-language",render:QJ},tQ=me({__name:"SwitchLang",setup(e){const t=wn();return(n,o)=>{const r=eQ,i=$t,a=fl;return ce(),Ve(a,{value:he(t).lang,"onUpdate:value":o[0]||(o[0]=s=>he(t).lang=s),options:Object.entries(he(xi)).map(([s,l])=>({label:l,value:s})),trigger:"click","on-update:value":he(t).switchLang},{default:re(()=>[te(i,{text:"","icon-placement":"left",class:"mr-20"},{icon:re(()=>[te(r)]),_:1})]),_:1},8,["value","options","on-update:value"])}}}),nQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},oQ=j("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),rQ=[oQ];function iQ(e,t){return ce(),ze("svg",nQ,[...rQ])}const aQ={name:"mdi-white-balance-sunny",render:iQ},sQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},lQ=j("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),cQ=[lQ];function uQ(e,t){return ce(),ze("svg",sQ,[...cQ])}const dQ={name:"mdi-moon-waning-crescent",render:uQ},fQ=me({__name:"ThemeMode",setup(e){const t=wn(),n=_S(),o=()=>{t.toggleDark(),GX(n)()};return(r,i)=>{const a=dQ,s=aQ,l=pr;return ce(),Ve(l,{"mr-20":"","cursor-pointer":"",size:"18",onClick:o},{default:re(()=>[he(n)?(ce(),Ve(a,{key:0})):(ce(),Ve(s,{key:1}))]),_:1})}}}),hQ={flex:"","items-center":""},pQ={"ml-auto":"",flex:"","items-center":""},mQ=me({__name:"index",setup(e){return(t,n)=>(ce(),ze(at,null,[j("div",hQ,[te(kJ),te(pJ)]),j("div",pQ,[te(fQ),te(tQ),te(DJ),te(YJ)])],64))}}),gQ={"flex-col":"","flex-1":"","overflow-hidden":""},vQ={"flex-1":"","overflow-hidden":"","bg-hex-f5f6fb":"","dark:bg-hex-101014":""},bQ=me({__name:"index",setup(e){const t=wn();function n(a){t.collapsed=a}const o=L({get:()=>r.value&&!t.collapsed,set:a=>t.collapsed=!a}),r=F(!1),i=()=>{document.body.clientWidth<=950?(r.value=!0,t.collapsed=!0):(t.collapsed=!1,r.value=!1)};return Ft(()=>{window.addEventListener("resize",i),i()}),(a,s)=>{const l=ZG,c=N2,u=qG;return ce(),Ve(u,{"has-sider":"","wh-full":""},{default:re(()=>[Cn(te(l,{bordered:"","collapse-mode":"transform","collapsed-width":0,width:220,"native-scrollbar":!1,collapsed:he(t).collapsed,"on-update:collapsed":n},{default:re(()=>[te(n1)]),_:1},8,["collapsed"]),[[Jn,!o.value]]),te(c,{show:o.value,"onUpdate:show":s[0]||(s[0]=d=>o.value=d),width:220,placement:"left"},{default:re(()=>[te(l,{bordered:"","collapse-mode":"transform","collapsed-width":0,width:220,"native-scrollbar":!1,collapsed:he(t).collapsed,"on-update:collapsed":n},{default:re(()=>[te(n1)]),_:1},8,["collapsed"])]),_:1},8,["show"]),j("article",gQ,[j("header",{class:"flex items-center bg-white px-15",dark:"bg-dark border-0",style:Ho(`height: ${he(BX).height}px`)},[te(mQ)],4),j("section",vQ,[te(hJ)])])]),_:1})}}}),mr=Object.freeze(Object.defineProperty({__proto__:null,default:bQ},Symbol.toStringTag,{value:"Module"})),Hu=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},yQ={},xQ={"f-c-c":"","flex-col":"","text-14":"",color:"#6a6a6a"},CQ=j("p",null,[Je(" Copyright © 2022-present "),j("a",{href:"https://github.com/zclzone",target:"__blank",hover:"decoration-underline color-primary"}," Ronnie Zhang ")],-1),wQ=j("p",null,null,-1),_Q=[CQ,wQ];function SQ(e,t){return ce(),ze("footer",xQ,_Q)}const kQ=Hu(yQ,[["render",SQ]]),PQ={class:"cus-scroll-y wh-full flex-col bg-[#f5f6fb] p-5 dark:bg-hex-121212 md:p-15"},fo=me({__name:"AppPage",props:{showFooter:{type:Boolean,default:!1}},setup(e){return(t,n)=>{const o=kQ,r=QH;return ce(),Ve(hn,{name:"fade-slide",mode:"out-in",appear:""},{default:re(()=>[j("section",PQ,[Xc(t.$slots,"default"),e.showFooter?(ce(),Ve(o,{key:0,"mt-15":""})):ut("",!0),te(r,{bottom:20,class:"z-99999"})])]),_:3})}}}),TQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},RQ=j("path",{fill:"currentColor",d:"M20 2H4c-.53 0-1.04.21-1.41.59C2.21 2.96 2 3.47 2 4v12c0 .53.21 1.04.59 1.41c.37.38.88.59 1.41.59h4l4 4l4-4h4c.53 0 1.04-.21 1.41-.59S22 16.53 22 16V4c0-.53-.21-1.04-.59-1.41C21.04 2.21 20.53 2 20 2M4 16V4h16v12h-4.83L12 19.17L8.83 16m1.22-9.96c.54-.36 1.25-.54 2.14-.54c.94 0 1.69.21 2.23.62c.54.42.81.98.81 1.68c0 .44-.15.83-.44 1.2c-.29.36-.67.64-1.13.85c-.26.15-.43.3-.52.47c-.09.18-.14.4-.14.68h-2c0-.5.1-.84.29-1.08c.21-.24.55-.52 1.07-.84c.26-.14.47-.32.64-.54c.14-.21.22-.46.22-.74c0-.3-.09-.52-.27-.69c-.18-.18-.45-.26-.76-.26c-.27 0-.49.07-.69.21c-.16.14-.26.35-.26.63H9.27c-.05-.69.23-1.29.78-1.65M11 14v-2h2v2Z"},null,-1),$Q=[RQ];function EQ(e,t){return ce(),ze("svg",TQ,[...$Q])}const AQ={name:"mdi-tooltip-question-outline",render:EQ},IQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},OQ=j("path",{fill:"currentColor",d:"M12 20a8 8 0 0 0 8-8a8 8 0 0 0-8-8a8 8 0 0 0-8 8a8 8 0 0 0 8 8m0-18a10 10 0 0 1 10 10a10 10 0 0 1-10 10C6.47 22 2 17.5 2 12A10 10 0 0 1 12 2m.5 5v5.25l4.5 2.67l-.75 1.23L11 13V7z"},null,-1),MQ=[OQ];function zQ(e,t){return ce(),ze("svg",IQ,[...MQ])}const DQ={name:"mdi-clock-outline",render:zQ},LQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},FQ=j("path",{fill:"currentColor",d:"M6.18 15.64a2.18 2.18 0 0 1 2.18 2.18C8.36 19 7.38 20 6.18 20C5 20 4 19 4 17.82a2.18 2.18 0 0 1 2.18-2.18M4 4.44A15.56 15.56 0 0 1 19.56 20h-2.83A12.73 12.73 0 0 0 4 7.27zm0 5.66a9.9 9.9 0 0 1 9.9 9.9h-2.83A7.07 7.07 0 0 0 4 12.93z"},null,-1),BQ=[FQ];function NQ(e,t){return ce(),ze("svg",LQ,[...BQ])}const HQ={name:"mdi-rss",render:NQ},jQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},VQ=j("path",{fill:"currentColor",d:"M12 21.5c-1.35-.85-3.8-1.5-5.5-1.5c-1.65 0-3.35.3-4.75 1.05c-.1.05-.15.05-.25.05c-.25 0-.5-.25-.5-.5V6c.6-.45 1.25-.75 2-1c1.11-.35 2.33-.5 3.5-.5c1.95 0 4.05.4 5.5 1.5c1.45-1.1 3.55-1.5 5.5-1.5c1.17 0 2.39.15 3.5.5c.75.25 1.4.55 2 1v14.6c0 .25-.25.5-.5.5c-.1 0-.15 0-.25-.05c-1.4-.75-3.1-1.05-4.75-1.05c-1.7 0-4.15.65-5.5 1.5M12 8v11.5c1.35-.85 3.8-1.5 5.5-1.5c1.2 0 2.4.15 3.5.5V7c-1.1-.35-2.3-.5-3.5-.5c-1.7 0-4.15.65-5.5 1.5m1 3.5c1.11-.68 2.6-1 4.5-1c.91 0 1.76.09 2.5.28V9.23c-.87-.15-1.71-.23-2.5-.23c-1.77 0-3.27.28-4.5.84zm4.5.17c-1.71 0-3.21.26-4.5.79v1.69c1.11-.65 2.6-.99 4.5-.99c1.04 0 1.88.08 2.5.24v-1.5c-.87-.16-1.71-.23-2.5-.23m2.5 2.9c-.87-.16-1.71-.24-2.5-.24c-1.83 0-3.33.27-4.5.8v1.69c1.11-.66 2.6-.99 4.5-.99c1.04 0 1.88.08 2.5.24z"},null,-1),WQ=[VQ];function UQ(e,t){return ce(),ze("svg",jQ,[...WQ])}const qQ={name:"mdi-book-open-variant",render:UQ},KQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},GQ=j("g",{fill:"none"},[j("path",{d:"M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),j("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),YQ=[GQ];function XQ(e,t){return ce(),ze("svg",KQ,[...YQ])}const ZQ={name:"mingcute-add-fill",render:XQ},JQ={class:"inline-block",viewBox:"0 0 1200 1200",width:"1em",height:"1em"},QQ=j("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),eee=[QQ];function tee(e,t){return ce(),ze("svg",JQ,[...eee])}const nee={name:"el-qrcode",render:tee},oee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},ree=j("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),iee=[ree];function aee(e,t){return ce(),ze("svg",oee,[...iee])}const see={name:"fluent-copy24-filled",render:aee},lee="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",$S="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==",cee="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==",uee="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=",dee="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",fee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAADAFBMVEVGpf9Do/8AZ+VIp/83m/1Lqf8AZeQmkfkymPs7nf4Cg/L1+f48n/80mvwtlfrx9/4cjPcZivX3+v4BaeQBgPEAbeg+oP/v9v4BauYBfvDn8f3u9f1Bov8/of8AZeMqlPr4+/4Oh/Qjj/ggjvcAXsoAcOnt8/0BcusIhfM4nf7l8PwSh/QAe+4AduwAee3k7/zz+P/6/P4BYMwBfO/i7vwvlvsAdevp8f3h7Prk7vsAYtLp8/0Wivb9/v7g7P0BZ+Dd6/zc6vwAYM77/f6Ns9yUuOAAZNXr9P7a6PmcvuIBaOKXu+CPtt+RtNva6fzS4vYAZdnV5fjA1++20OvY5/re6vzX5vjI3fS50u0AZdzU4/euyuixy+elxOWXudzL3vK91e2dvN+Ut9sAYdCzzemoxube6vnG2/HF2e+qyOmgweTW5vrK3/XC2fGsyOeMstvs8vvS5PnP4fXM4PXO3/PH3PPE2/O20e6zzuywzOoAcObC2O+jw+agwOGbu91AfdGmxugHYa3z9/zQ4/fN4faiweMAbuKaveEAZt4CX63Y6Py50+/B1usBdun////o8Png6ve91vG71PC80+qty+oAeOoAc+fY5PTS4fPJ2+8Bf+260ekAbeWsx+QAad4AbNjf7P3i7Pjd6PbA1/MAe+yyzesAduYwlPcZiPErkvYmj/WoxeOkwuJDn/wijPMNhPAXhO4AfOm3z+iFrNkAadIvdNBWqP1ztfwuiOoAcd44edElbs/W5PakyfVdo/IrjvF+sO1QmOtTkOC32f1OpP2Cu/q51veu0PeKuvI4kfCbwO6Su+4hie4KgOwGdeITZ80caLKgzP7C3v1erP3L4/xyrvNHmPGvzu5yqOw8kesQf+kggehGjuaBrOIeeeFnmdpXjdcCaNYQZK+TxfzB2vc6l/Vnp/GkxvBjouxbmumIsuhknOQ4g+Iuf+J6pNdzoNIcas5omMwmbbSax/hGnPVTn/MRd+d1pOF9qOBDht4NZc0yfNgYc9hfkcg4d7owc7j13NKGAAAKFElEQVRo3uzUP2gTURzA8RMjJlzj6RsM5BRPhQPjkGQIyXFGBIdzURDESRzEQVDw/LOJQw6XiFwEBwUR/DPkjyQGhMSliZI/rRohSRvBNbXipNjW0T+/e7kber73ajNkEL+06aP58fvwrn+4TRNoMsjGCTQhhIMPy1rHgRsdOPcBPvGQ68D9b31tmED/ELJjAnE7JxC3fa2mnMP4U9zUFEzAy5TrAOHDxrkNo4P9HvEAUzsIbzkbAWHm6wUaFd9aQ5VGosoY4nzsmodMc76yjz20oYFQjzGzBuKpItM0+xxT2bdgIKlfZCD7WPn8C2YS6vkYQ565gxJChyoe6gTnYbbYsBBTqPrpM8WGhCQkVr3UCTbiXzkGCCg3m1TFXxWRJCFjYVzEWxMBsepRjWIfWQiaWaQjflbZajQ5Sq56ySPeloEQGOjGCkyQYyLe7LJ9kcPJfpE8UpxHOD7xPUtFvKyybRMTEN+KkSZiLYPHhqEPsrQ1HNNYvGQCMep8MxaL+X3FZrMyV6k0i0WPF74BF+ERDxnGbH485HsYiFFRaXmu1WvM33wYDgaD4YPH5vszC9VKKwDACJnOxmhIjFH+k5C0CUhQUdRKghB+QUIozttFjI+LWcoebgu9bKEVdQic5IRG8fhJOcjxlTxlEROpLyejQDi5CAw4REQQHtXGQfL1djJKINyCELGMgD4o7KIgu+jlX99Irn0LEMAARHxbz5MXcQyj8D7xtwRGZqjIZmr5Uk12EVQBIx9fF8ibGEihNOAlN0EGgAgExOPvx0A6sy6BQYAh366VxkCmo/TnJKwiMJIZlApkZA+1Ur0dRSQBWg2AAMn6bKdA3MRCXl+SkGPAfVyCQwgRARuarE93SmRkL7Xc+4RzCySeO3VVIF5CPvfgWhyuAenteom4iY5szdV0+zmhzNfucOmo+IcgBjLPl4ZLXxRR1jRVv/JhGxnZSq08MOx/gOh0KpVKd+/zf/wghKfDdCo1vB6QVVXPHHmV20vaREdK5VneTvyRtpTnEZtwDOgrfuebCsVDjz7ltq4PyZWnkY0EHMRFyLKDxMGIh5SX5W1EZButXKeN7N8n/vownU4v3YqsEiBNPNWFd7pPtXg8GAxl3pRzpFUM5MUFAKyEiP78V/fnddEWbEDTZFUOnvnZ/XVRAQIQZaazTqT84YRhCTjx3q27LkKWVav41TtXg6PCypMXZOQApdyzV4rghP/kRMgW4BMD1kNSNdW6BRRWLn94tp+wi9tP691n3RZwWNDsxyQ7Ai5kpyROvnpGWsXtJgfIS9FFiJiAr2dPgeQmwmEl8fjTu/2EZb8pJ3uYJsIADDu7uJgY4+RijLE41JC7mJB20glT6A8pxmpCTgyotaD8NHFA4oC59DBcr1w00uPayaQ2cShJUWBQgcBosVQmI/g3OKiDDr7f992f7d3AE0rb5Xnu/e564DhK9OX8gP+ljfWJI4eaCyfO55/03fvx43LvM8EunKGc5TlpacOaAg+DRDwo1RcnzAKw7gT/5Na9ePXqrZscEo4CgZPW6iW3JSc9KG2/njhmjmDgPoDz53BS5HfhmEATHR2cUNsuubg8I2pl0DnC9V6zBCuAuYgwXVHdIgc9UN+HmkZYBccGu4AGIrH3qovLK3JYXeao3n5e3RPUTl5zgUDkwsVl9fA+IuW9DBJGAdin5NzAcfB3BCKRABKB4IXqXnlfka1k0jqm1gKPAMAOYgdBQlhZco0cdkctv00CFByHxJ/BH8/ziLAAJpj+zmBn51Q4ul5WW2Xekd2k85QAj4ZVmHNOQIIwNTUQ3a3vI6LX3yTNDQB65rdOiWyIBFmDBqbC4fBAfGRbP9oaOeqOvj2ftBNWo8OxIUhhE5AgjYH4fKXcKmuK+J+vvnuFd1WuTJ6yn1ZWMCawDdBTTD/ldvxOo6x6R1ji5ZuQEPvpP+qXG1HehD2qSESApYfZkkMfCt0G9xOfZZeI38HqIpfJZKRPfr8uLmt5nucMcPGCEAwKFyhEHo1GB0KAuOPETpicHEpsFXV/M87Iu4+ZDJ9JbdV1v17ck/IcEAhBAXoK7IDZnXIwBAZjiSW3yGmL1Y+ZfD5fa2wWZV0vbkmSACy9KY8D2C8CyFOGnBADd66tb+qnm7EjzxfRkNZ3ni6gIhffSpqmWXrTDjXk91Op1GSKuWPUDe4SbqTXdmTdM9L2UstL0trfFy+eLiCyuaZFTb9lh97DDv2NeULX9e9iW0ukzWBjF42uP2iQiPhrV6tGq9WqqU+BoWGqTxj2a8wN4J8mPAJj38S2ZsyIrxLD+XxgDVEu7owoDv/w8NDwYCJB9JDbdly5ZX9I6RltZGWvSPtyVdOUFaPhy36fzgHoCQkCuXZA3Ol0ugtQOVOPmHR3r2R9LREfI/tZUZQcIgtZ0eeTs9/6c7h8pocc9Pf3Q0/tV64we08Ps48SarXRQq1Q6Ps6DsH/GBFxnESUr6yBr41ZGjD1adBF/QBy2LsBkRcKhbGZsRmD3r7fXpF28cFKTskpXxbGxXby9fHKbGKW+W096CEYesgJvTO9121uXvqwmW1vjvyjjIx5EwXjOPwp+g007gwdHI2YWDXpeMkBF6AmvQ52adKEVHQpLm42jQSkH0AnPZOLLk3Hu4H1kosFx7NXz6lVr0N/7ytCQBz6DCR/As/z8ueQcquR/bQvnxVvfNJ9f6C/DOlvNvZ6mMoMkQh+5O1r++LLxezFG191+JtU3wpOf0L1n73Dl8v1Os9fheDLxUdlJ5KiKNrdsq3r+un971TqEOPktAl9CwGD+E8A0YNKpVIGPE/812dR+MKjkorgR6b/P+lkRT/+fH/BOGu2jEDPcdQe6GGHPx9DtfGs3O6L3H1zdL1JuPl5/+vpyuhTP+f5ff01qFar+XwDFHYRxb9mMjaSRCRnTxBpUQyj7/tB4D+DHn6qZ2MpiCttJ5LcoFlTebFEBP4+LWzP34W+B7+v9/zFeFh1pSnJMNuIaU3TmbVbRgUNDo1Op9Pt8r0eAsF2BJaViD675fw8G6IoqQ9H+yKKZuVkhhk7LGcY6HAcjXTRwB8QRbGhqoIgSKBUIu6ALO3gbglIgvhgmfsipnVMKow9cp3XyUDkQAeQTg8ZgAwgmQgSQQAqkFa7kQMPU8PCSCWRSOA6rrnOfDnIFllBFX1UQEtezQviwwaDwXz+z3Hd2nBqmQdhENlWjqzjtJxhNiRoa23bi/F4PASj0agWYQSGAE8sFra93rwm5+IjQSWXluVMxs98HIZ5724OkRgIYSgMdyp6gRhUD4LJDAIRFRu9l8mx+8os7LAMSMR+/r0fEZpGUCF2zTlGlErqsv69pHREXUcCCbuZolRSkHrdHzRHgVHOJkMk9IhEmNm9pE5xKTeqauZC4QaRAQFS4H/W6I1VXjCIEIVpZOyAVDwnFZ3CGKENXu8NHhT5bLAn8t3gB5tRcTnQFMqEAAAAAElFTkSuQmCC";var Bt={};const hee="Á",pee="á",mee="Ă",gee="ă",vee="∾",bee="∿",yee="∾̳",xee="Â",Cee="â",wee="´",_ee="А",See="а",kee="Æ",Pee="æ",Tee="⁡",Ree="𝔄",$ee="𝔞",Eee="À",Aee="à",Iee="ℵ",Oee="ℵ",Mee="Α",zee="α",Dee="Ā",Lee="ā",Fee="⨿",Bee="&",Nee="&",Hee="⩕",jee="⩓",Vee="∧",Wee="⩜",Uee="⩘",qee="⩚",Kee="∠",Gee="⦤",Yee="∠",Xee="⦨",Zee="⦩",Jee="⦪",Qee="⦫",ete="⦬",tte="⦭",nte="⦮",ote="⦯",rte="∡",ite="∟",ate="⊾",ste="⦝",lte="∢",cte="Å",ute="⍼",dte="Ą",fte="ą",hte="𝔸",pte="𝕒",mte="⩯",gte="≈",vte="⩰",bte="≊",yte="≋",xte="'",Cte="⁡",wte="≈",_te="≊",Ste="Å",kte="å",Pte="𝒜",Tte="𝒶",Rte="≔",$te="*",Ete="≈",Ate="≍",Ite="Ã",Ote="ã",Mte="Ä",zte="ä",Dte="∳",Lte="⨑",Fte="≌",Bte="϶",Nte="‵",Hte="∽",jte="⋍",Vte="∖",Wte="⫧",Ute="⊽",qte="⌅",Kte="⌆",Gte="⌅",Yte="⎵",Xte="⎶",Zte="≌",Jte="Б",Qte="б",ene="„",tne="∵",nne="∵",one="∵",rne="⦰",ine="϶",ane="ℬ",sne="ℬ",lne="Β",cne="β",une="ℶ",dne="≬",fne="𝔅",hne="𝔟",pne="⋂",mne="◯",gne="⋃",vne="⨀",bne="⨁",yne="⨂",xne="⨆",Cne="★",wne="▽",_ne="△",Sne="⨄",kne="⋁",Pne="⋀",Tne="⤍",Rne="⧫",$ne="▪",Ene="▴",Ane="▾",Ine="◂",One="▸",Mne="␣",zne="▒",Dne="░",Lne="▓",Fne="█",Bne="=⃥",Nne="≡⃥",Hne="⫭",jne="⌐",Vne="𝔹",Wne="𝕓",Une="⊥",qne="⊥",Kne="⋈",Gne="⧉",Yne="┐",Xne="╕",Zne="╖",Jne="╗",Qne="┌",eoe="╒",toe="╓",noe="╔",ooe="─",roe="═",ioe="┬",aoe="╤",soe="╥",loe="╦",coe="┴",uoe="╧",doe="╨",foe="╩",hoe="⊟",poe="⊞",moe="⊠",goe="┘",voe="╛",boe="╜",yoe="╝",xoe="└",Coe="╘",woe="╙",_oe="╚",Soe="│",koe="║",Poe="┼",Toe="╪",Roe="╫",$oe="╬",Eoe="┤",Aoe="╡",Ioe="╢",Ooe="╣",Moe="├",zoe="╞",Doe="╟",Loe="╠",Foe="‵",Boe="˘",Noe="˘",Hoe="¦",joe="𝒷",Voe="ℬ",Woe="⁏",Uoe="∽",qoe="⋍",Koe="⧅",Goe="\\",Yoe="⟈",Xoe="•",Zoe="•",Joe="≎",Qoe="⪮",ere="≏",tre="≎",nre="≏",ore="Ć",rre="ć",ire="⩄",are="⩉",sre="⩋",lre="∩",cre="⋒",ure="⩇",dre="⩀",fre="ⅅ",hre="∩︀",pre="⁁",mre="ˇ",gre="ℭ",vre="⩍",bre="Č",yre="č",xre="Ç",Cre="ç",wre="Ĉ",_re="ĉ",Sre="∰",kre="⩌",Pre="⩐",Tre="Ċ",Rre="ċ",$re="¸",Ere="¸",Are="⦲",Ire="¢",Ore="·",Mre="·",zre="𝔠",Dre="ℭ",Lre="Ч",Fre="ч",Bre="✓",Nre="✓",Hre="Χ",jre="χ",Vre="ˆ",Wre="≗",Ure="↺",qre="↻",Kre="⊛",Gre="⊚",Yre="⊝",Xre="⊙",Zre="®",Jre="Ⓢ",Qre="⊖",eie="⊕",tie="⊗",nie="○",oie="⧃",rie="≗",iie="⨐",aie="⫯",sie="⧂",lie="∲",cie="”",uie="’",die="♣",fie="♣",hie=":",pie="∷",mie="⩴",gie="≔",vie="≔",bie=",",yie="@",xie="∁",Cie="∘",wie="∁",_ie="ℂ",Sie="≅",kie="⩭",Pie="≡",Tie="∮",Rie="∯",$ie="∮",Eie="𝕔",Aie="ℂ",Iie="∐",Oie="∐",Mie="©",zie="©",Die="℗",Lie="∳",Fie="↵",Bie="✗",Nie="⨯",Hie="𝒞",jie="𝒸",Vie="⫏",Wie="⫑",Uie="⫐",qie="⫒",Kie="⋯",Gie="⤸",Yie="⤵",Xie="⋞",Zie="⋟",Jie="↶",Qie="⤽",eae="⩈",tae="⩆",nae="≍",oae="∪",rae="⋓",iae="⩊",aae="⊍",sae="⩅",lae="∪︀",cae="↷",uae="⤼",dae="⋞",fae="⋟",hae="⋎",pae="⋏",mae="¤",gae="↶",vae="↷",bae="⋎",yae="⋏",xae="∲",Cae="∱",wae="⌭",_ae="†",Sae="‡",kae="ℸ",Pae="↓",Tae="↡",Rae="⇓",$ae="‐",Eae="⫤",Aae="⊣",Iae="⤏",Oae="˝",Mae="Ď",zae="ď",Dae="Д",Lae="д",Fae="‡",Bae="⇊",Nae="ⅅ",Hae="ⅆ",jae="⤑",Vae="⩷",Wae="°",Uae="∇",qae="Δ",Kae="δ",Gae="⦱",Yae="⥿",Xae="𝔇",Zae="𝔡",Jae="⥥",Qae="⇃",ese="⇂",tse="´",nse="˙",ose="˝",rse="`",ise="˜",ase="⋄",sse="⋄",lse="⋄",cse="♦",use="♦",dse="¨",fse="ⅆ",hse="ϝ",pse="⋲",mse="÷",gse="÷",vse="⋇",bse="⋇",yse="Ђ",xse="ђ",Cse="⌞",wse="⌍",_se="$",Sse="𝔻",kse="𝕕",Pse="¨",Tse="˙",Rse="⃜",$se="≐",Ese="≑",Ase="≐",Ise="∸",Ose="∔",Mse="⊡",zse="⌆",Dse="∯",Lse="¨",Fse="⇓",Bse="⇐",Nse="⇔",Hse="⫤",jse="⟸",Vse="⟺",Wse="⟹",Use="⇒",qse="⊨",Kse="⇑",Gse="⇕",Yse="∥",Xse="⤓",Zse="↓",Jse="↓",Qse="⇓",ele="⇵",tle="̑",nle="⇊",ole="⇃",rle="⇂",ile="⥐",ale="⥞",sle="⥖",lle="↽",cle="⥟",ule="⥗",dle="⇁",fle="↧",hle="⊤",ple="⤐",mle="⌟",gle="⌌",vle="𝒟",ble="𝒹",yle="Ѕ",xle="ѕ",Cle="⧶",wle="Đ",_le="đ",Sle="⋱",kle="▿",Ple="▾",Tle="⇵",Rle="⥯",$le="⦦",Ele="Џ",Ale="џ",Ile="⟿",Ole="É",Mle="é",zle="⩮",Dle="Ě",Lle="ě",Fle="Ê",Ble="ê",Nle="≖",Hle="≕",jle="Э",Vle="э",Wle="⩷",Ule="Ė",qle="ė",Kle="≑",Gle="ⅇ",Yle="≒",Xle="𝔈",Zle="𝔢",Jle="⪚",Qle="È",ece="è",tce="⪖",nce="⪘",oce="⪙",rce="∈",ice="⏧",ace="ℓ",sce="⪕",lce="⪗",cce="Ē",uce="ē",dce="∅",fce="∅",hce="◻",pce="∅",mce="▫",gce=" ",vce=" ",bce=" ",yce="Ŋ",xce="ŋ",Cce=" ",wce="Ę",_ce="ę",Sce="𝔼",kce="𝕖",Pce="⋕",Tce="⧣",Rce="⩱",$ce="ε",Ece="Ε",Ace="ε",Ice="ϵ",Oce="≖",Mce="≕",zce="≂",Dce="⪖",Lce="⪕",Fce="⩵",Bce="=",Nce="≂",Hce="≟",jce="⇌",Vce="≡",Wce="⩸",Uce="⧥",qce="⥱",Kce="≓",Gce="ℯ",Yce="ℰ",Xce="≐",Zce="⩳",Jce="≂",Qce="Η",eue="η",tue="Ð",nue="ð",oue="Ë",rue="ë",iue="€",aue="!",sue="∃",lue="∃",cue="ℰ",uue="ⅇ",due="ⅇ",fue="≒",hue="Ф",pue="ф",mue="♀",gue="ffi",vue="ff",bue="ffl",yue="𝔉",xue="𝔣",Cue="fi",wue="◼",_ue="▪",Sue="fj",kue="♭",Pue="fl",Tue="▱",Rue="ƒ",$ue="𝔽",Eue="𝕗",Aue="∀",Iue="∀",Oue="⋔",Mue="⫙",zue="ℱ",Due="⨍",Lue="½",Fue="⅓",Bue="¼",Nue="⅕",Hue="⅙",jue="⅛",Vue="⅔",Wue="⅖",Uue="¾",que="⅗",Kue="⅜",Gue="⅘",Yue="⅚",Xue="⅝",Zue="⅞",Jue="⁄",Que="⌢",ede="𝒻",tde="ℱ",nde="ǵ",ode="Γ",rde="γ",ide="Ϝ",ade="ϝ",sde="⪆",lde="Ğ",cde="ğ",ude="Ģ",dde="Ĝ",fde="ĝ",hde="Г",pde="г",mde="Ġ",gde="ġ",vde="≥",bde="≧",yde="⪌",xde="⋛",Cde="≥",wde="≧",_de="⩾",Sde="⪩",kde="⩾",Pde="⪀",Tde="⪂",Rde="⪄",$de="⋛︀",Ede="⪔",Ade="𝔊",Ide="𝔤",Ode="≫",Mde="⋙",zde="⋙",Dde="ℷ",Lde="Ѓ",Fde="ѓ",Bde="⪥",Nde="≷",Hde="⪒",jde="⪤",Vde="⪊",Wde="⪊",Ude="⪈",qde="≩",Kde="⪈",Gde="≩",Yde="⋧",Xde="𝔾",Zde="𝕘",Jde="`",Qde="≥",efe="⋛",tfe="≧",nfe="⪢",ofe="≷",rfe="⩾",ife="≳",afe="𝒢",sfe="ℊ",lfe="≳",cfe="⪎",ufe="⪐",dfe="⪧",ffe="⩺",hfe=">",pfe=">",mfe="≫",gfe="⋗",vfe="⦕",bfe="⩼",yfe="⪆",xfe="⥸",Cfe="⋗",wfe="⋛",_fe="⪌",Sfe="≷",kfe="≳",Pfe="≩︀",Tfe="≩︀",Rfe="ˇ",$fe=" ",Efe="½",Afe="ℋ",Ife="Ъ",Ofe="ъ",Mfe="⥈",zfe="↔",Dfe="⇔",Lfe="↭",Ffe="^",Bfe="ℏ",Nfe="Ĥ",Hfe="ĥ",jfe="♥",Vfe="♥",Wfe="…",Ufe="⊹",qfe="𝔥",Kfe="ℌ",Gfe="ℋ",Yfe="⤥",Xfe="⤦",Zfe="⇿",Jfe="∻",Qfe="↩",ehe="↪",the="𝕙",nhe="ℍ",ohe="―",rhe="─",ihe="𝒽",ahe="ℋ",she="ℏ",lhe="Ħ",che="ħ",uhe="≎",dhe="≏",fhe="⁃",hhe="‐",phe="Í",mhe="í",ghe="⁣",vhe="Î",bhe="î",yhe="И",xhe="и",Che="İ",whe="Е",_he="е",She="¡",khe="⇔",Phe="𝔦",The="ℑ",Rhe="Ì",$he="ì",Ehe="ⅈ",Ahe="⨌",Ihe="∭",Ohe="⧜",Mhe="℩",zhe="IJ",Dhe="ij",Lhe="Ī",Fhe="ī",Bhe="ℑ",Nhe="ⅈ",Hhe="ℐ",jhe="ℑ",Vhe="ı",Whe="ℑ",Uhe="⊷",qhe="Ƶ",Khe="⇒",Ghe="℅",Yhe="∞",Xhe="⧝",Zhe="ı",Jhe="⊺",Qhe="∫",epe="∬",tpe="ℤ",npe="∫",ope="⊺",rpe="⋂",ipe="⨗",ape="⨼",spe="⁣",lpe="⁢",cpe="Ё",upe="ё",dpe="Į",fpe="į",hpe="𝕀",ppe="𝕚",mpe="Ι",gpe="ι",vpe="⨼",bpe="¿",ype="𝒾",xpe="ℐ",Cpe="∈",wpe="⋵",_pe="⋹",Spe="⋴",kpe="⋳",Ppe="∈",Tpe="⁢",Rpe="Ĩ",$pe="ĩ",Epe="І",Ape="і",Ipe="Ï",Ope="ï",Mpe="Ĵ",zpe="ĵ",Dpe="Й",Lpe="й",Fpe="𝔍",Bpe="𝔧",Npe="ȷ",Hpe="𝕁",jpe="𝕛",Vpe="𝒥",Wpe="𝒿",Upe="Ј",qpe="ј",Kpe="Є",Gpe="є",Ype="Κ",Xpe="κ",Zpe="ϰ",Jpe="Ķ",Qpe="ķ",eme="К",tme="к",nme="𝔎",ome="𝔨",rme="ĸ",ime="Х",ame="х",sme="Ќ",lme="ќ",cme="𝕂",ume="𝕜",dme="𝒦",fme="𝓀",hme="⇚",pme="Ĺ",mme="ĺ",gme="⦴",vme="ℒ",bme="Λ",yme="λ",xme="⟨",Cme="⟪",wme="⦑",_me="⟨",Sme="⪅",kme="ℒ",Pme="«",Tme="⇤",Rme="⤟",$me="←",Eme="↞",Ame="⇐",Ime="⤝",Ome="↩",Mme="↫",zme="⤹",Dme="⥳",Lme="↢",Fme="⤙",Bme="⤛",Nme="⪫",Hme="⪭",jme="⪭︀",Vme="⤌",Wme="⤎",Ume="❲",qme="{",Kme="[",Gme="⦋",Yme="⦏",Xme="⦍",Zme="Ľ",Jme="ľ",Qme="Ļ",ege="ļ",tge="⌈",nge="{",oge="Л",rge="л",ige="⤶",age="“",sge="„",lge="⥧",cge="⥋",uge="↲",dge="≤",fge="≦",hge="⟨",pge="⇤",mge="←",gge="←",vge="⇐",bge="⇆",yge="↢",xge="⌈",Cge="⟦",wge="⥡",_ge="⥙",Sge="⇃",kge="⌊",Pge="↽",Tge="↼",Rge="⇇",$ge="↔",Ege="↔",Age="⇔",Ige="⇆",Oge="⇋",Mge="↭",zge="⥎",Dge="↤",Lge="⊣",Fge="⥚",Bge="⋋",Nge="⧏",Hge="⊲",jge="⊴",Vge="⥑",Wge="⥠",Uge="⥘",qge="↿",Kge="⥒",Gge="↼",Yge="⪋",Xge="⋚",Zge="≤",Jge="≦",Qge="⩽",eve="⪨",tve="⩽",nve="⩿",ove="⪁",rve="⪃",ive="⋚︀",ave="⪓",sve="⪅",lve="⋖",cve="⋚",uve="⪋",dve="⋚",fve="≦",hve="≶",pve="≶",mve="⪡",gve="≲",vve="⩽",bve="≲",yve="⥼",xve="⌊",Cve="𝔏",wve="𝔩",_ve="≶",Sve="⪑",kve="⥢",Pve="↽",Tve="↼",Rve="⥪",$ve="▄",Eve="Љ",Ave="љ",Ive="⇇",Ove="≪",Mve="⋘",zve="⌞",Dve="⇚",Lve="⥫",Fve="◺",Bve="Ŀ",Nve="ŀ",Hve="⎰",jve="⎰",Vve="⪉",Wve="⪉",Uve="⪇",qve="≨",Kve="⪇",Gve="≨",Yve="⋦",Xve="⟬",Zve="⇽",Jve="⟦",Qve="⟵",ebe="⟵",tbe="⟸",nbe="⟷",obe="⟷",rbe="⟺",ibe="⟼",abe="⟶",sbe="⟶",lbe="⟹",cbe="↫",ube="↬",dbe="⦅",fbe="𝕃",hbe="𝕝",pbe="⨭",mbe="⨴",gbe="∗",vbe="_",bbe="↙",ybe="↘",xbe="◊",Cbe="◊",wbe="⧫",_be="(",Sbe="⦓",kbe="⇆",Pbe="⌟",Tbe="⇋",Rbe="⥭",$be="‎",Ebe="⊿",Abe="‹",Ibe="𝓁",Obe="ℒ",Mbe="↰",zbe="↰",Dbe="≲",Lbe="⪍",Fbe="⪏",Bbe="[",Nbe="‘",Hbe="‚",jbe="Ł",Vbe="ł",Wbe="⪦",Ube="⩹",qbe="<",Kbe="<",Gbe="≪",Ybe="⋖",Xbe="⋋",Zbe="⋉",Jbe="⥶",Qbe="⩻",e0e="◃",t0e="⊴",n0e="◂",o0e="⦖",r0e="⥊",i0e="⥦",a0e="≨︀",s0e="≨︀",l0e="¯",c0e="♂",u0e="✠",d0e="✠",f0e="↦",h0e="↦",p0e="↧",m0e="↤",g0e="↥",v0e="▮",b0e="⨩",y0e="М",x0e="м",C0e="—",w0e="∺",_0e="∡",S0e=" ",k0e="ℳ",P0e="𝔐",T0e="𝔪",R0e="℧",$0e="µ",E0e="*",A0e="⫰",I0e="∣",O0e="·",M0e="⊟",z0e="−",D0e="∸",L0e="⨪",F0e="∓",B0e="⫛",N0e="…",H0e="∓",j0e="⊧",V0e="𝕄",W0e="𝕞",U0e="∓",q0e="𝓂",K0e="ℳ",G0e="∾",Y0e="Μ",X0e="μ",Z0e="⊸",J0e="⊸",Q0e="∇",e1e="Ń",t1e="ń",n1e="∠⃒",o1e="≉",r1e="⩰̸",i1e="≋̸",a1e="ʼn",s1e="≉",l1e="♮",c1e="ℕ",u1e="♮",d1e=" ",f1e="≎̸",h1e="≏̸",p1e="⩃",m1e="Ň",g1e="ň",v1e="Ņ",b1e="ņ",y1e="≇",x1e="⩭̸",C1e="⩂",w1e="Н",_1e="н",S1e="–",k1e="⤤",P1e="↗",T1e="⇗",R1e="↗",$1e="≠",E1e="≐̸",A1e="​",I1e="​",O1e="​",M1e="​",z1e="≢",D1e="⤨",L1e="≂̸",F1e="≫",B1e="≪",N1e=` -`,H1e="∄",j1e="∄",V1e="𝔑",W1e="𝔫",U1e="≧̸",q1e="≱",K1e="≱",G1e="≧̸",Y1e="⩾̸",X1e="⩾̸",Z1e="⋙̸",J1e="≵",Q1e="≫⃒",eye="≯",tye="≯",nye="≫̸",oye="↮",rye="⇎",iye="⫲",aye="∋",sye="⋼",lye="⋺",cye="∋",uye="Њ",dye="њ",fye="↚",hye="⇍",pye="‥",mye="≦̸",gye="≰",vye="↚",bye="⇍",yye="↮",xye="⇎",Cye="≰",wye="≦̸",_ye="⩽̸",Sye="⩽̸",kye="≮",Pye="⋘̸",Tye="≴",Rye="≪⃒",$ye="≮",Eye="⋪",Aye="⋬",Iye="≪̸",Oye="∤",Mye="⁠",zye=" ",Dye="𝕟",Lye="ℕ",Fye="⫬",Bye="¬",Nye="≢",Hye="≭",jye="∦",Vye="∉",Wye="≠",Uye="≂̸",qye="∄",Kye="≯",Gye="≱",Yye="≧̸",Xye="≫̸",Zye="≹",Jye="⩾̸",Qye="≵",exe="≎̸",txe="≏̸",nxe="∉",oxe="⋵̸",rxe="⋹̸",ixe="∉",axe="⋷",sxe="⋶",lxe="⧏̸",cxe="⋪",uxe="⋬",dxe="≮",fxe="≰",hxe="≸",pxe="≪̸",mxe="⩽̸",gxe="≴",vxe="⪢̸",bxe="⪡̸",yxe="∌",xxe="∌",Cxe="⋾",wxe="⋽",_xe="⊀",Sxe="⪯̸",kxe="⋠",Pxe="∌",Txe="⧐̸",Rxe="⋫",$xe="⋭",Exe="⊏̸",Axe="⋢",Ixe="⊐̸",Oxe="⋣",Mxe="⊂⃒",zxe="⊈",Dxe="⊁",Lxe="⪰̸",Fxe="⋡",Bxe="≿̸",Nxe="⊃⃒",Hxe="⊉",jxe="≁",Vxe="≄",Wxe="≇",Uxe="≉",qxe="∤",Kxe="∦",Gxe="∦",Yxe="⫽⃥",Xxe="∂̸",Zxe="⨔",Jxe="⊀",Qxe="⋠",eCe="⊀",tCe="⪯̸",nCe="⪯̸",oCe="⤳̸",rCe="↛",iCe="⇏",aCe="↝̸",sCe="↛",lCe="⇏",cCe="⋫",uCe="⋭",dCe="⊁",fCe="⋡",hCe="⪰̸",pCe="𝒩",mCe="𝓃",gCe="∤",vCe="∦",bCe="≁",yCe="≄",xCe="≄",CCe="∤",wCe="∦",_Ce="⋢",SCe="⋣",kCe="⊄",PCe="⫅̸",TCe="⊈",RCe="⊂⃒",$Ce="⊈",ECe="⫅̸",ACe="⊁",ICe="⪰̸",OCe="⊅",MCe="⫆̸",zCe="⊉",DCe="⊃⃒",LCe="⊉",FCe="⫆̸",BCe="≹",NCe="Ñ",HCe="ñ",jCe="≸",VCe="⋪",WCe="⋬",UCe="⋫",qCe="⋭",KCe="Ν",GCe="ν",YCe="#",XCe="№",ZCe=" ",JCe="≍⃒",QCe="⊬",ewe="⊭",twe="⊮",nwe="⊯",owe="≥⃒",rwe=">⃒",iwe="⤄",awe="⧞",swe="⤂",lwe="≤⃒",cwe="<⃒",uwe="⊴⃒",dwe="⤃",fwe="⊵⃒",hwe="∼⃒",pwe="⤣",mwe="↖",gwe="⇖",vwe="↖",bwe="⤧",ywe="Ó",xwe="ó",Cwe="⊛",wwe="Ô",_we="ô",Swe="⊚",kwe="О",Pwe="о",Twe="⊝",Rwe="Ő",$we="ő",Ewe="⨸",Awe="⊙",Iwe="⦼",Owe="Œ",Mwe="œ",zwe="⦿",Dwe="𝔒",Lwe="𝔬",Fwe="˛",Bwe="Ò",Nwe="ò",Hwe="⧁",jwe="⦵",Vwe="Ω",Wwe="∮",Uwe="↺",qwe="⦾",Kwe="⦻",Gwe="‾",Ywe="⧀",Xwe="Ō",Zwe="ō",Jwe="Ω",Qwe="ω",e_e="Ο",t_e="ο",n_e="⦶",o_e="⊖",r_e="𝕆",i_e="𝕠",a_e="⦷",s_e="“",l_e="‘",c_e="⦹",u_e="⊕",d_e="↻",f_e="⩔",h_e="∨",p_e="⩝",m_e="ℴ",g_e="ℴ",v_e="ª",b_e="º",y_e="⊶",x_e="⩖",C_e="⩗",w_e="⩛",__e="Ⓢ",S_e="𝒪",k_e="ℴ",P_e="Ø",T_e="ø",R_e="⊘",$_e="Õ",E_e="õ",A_e="⨶",I_e="⨷",O_e="⊗",M_e="Ö",z_e="ö",D_e="⌽",L_e="‾",F_e="⏞",B_e="⎴",N_e="⏜",H_e="¶",j_e="∥",V_e="∥",W_e="⫳",U_e="⫽",q_e="∂",K_e="∂",G_e="П",Y_e="п",X_e="%",Z_e=".",J_e="‰",Q_e="⊥",e2e="‱",t2e="𝔓",n2e="𝔭",o2e="Φ",r2e="φ",i2e="ϕ",a2e="ℳ",s2e="☎",l2e="Π",c2e="π",u2e="⋔",d2e="ϖ",f2e="ℏ",h2e="ℎ",p2e="ℏ",m2e="⨣",g2e="⊞",v2e="⨢",b2e="+",y2e="∔",x2e="⨥",C2e="⩲",w2e="±",_2e="±",S2e="⨦",k2e="⨧",P2e="±",T2e="ℌ",R2e="⨕",$2e="𝕡",E2e="ℙ",A2e="£",I2e="⪷",O2e="⪻",M2e="≺",z2e="≼",D2e="⪷",L2e="≺",F2e="≼",B2e="≺",N2e="⪯",H2e="≼",j2e="≾",V2e="⪯",W2e="⪹",U2e="⪵",q2e="⋨",K2e="⪯",G2e="⪳",Y2e="≾",X2e="′",Z2e="″",J2e="ℙ",Q2e="⪹",eSe="⪵",tSe="⋨",nSe="∏",oSe="∏",rSe="⌮",iSe="⌒",aSe="⌓",sSe="∝",lSe="∝",cSe="∷",uSe="∝",dSe="≾",fSe="⊰",hSe="𝒫",pSe="𝓅",mSe="Ψ",gSe="ψ",vSe=" ",bSe="𝔔",ySe="𝔮",xSe="⨌",CSe="𝕢",wSe="ℚ",_Se="⁗",SSe="𝒬",kSe="𝓆",PSe="ℍ",TSe="⨖",RSe="?",$Se="≟",ESe='"',ASe='"',ISe="⇛",OSe="∽̱",MSe="Ŕ",zSe="ŕ",DSe="√",LSe="⦳",FSe="⟩",BSe="⟫",NSe="⦒",HSe="⦥",jSe="⟩",VSe="»",WSe="⥵",USe="⇥",qSe="⤠",KSe="⤳",GSe="→",YSe="↠",XSe="⇒",ZSe="⤞",JSe="↪",QSe="↬",eke="⥅",tke="⥴",nke="⤖",oke="↣",rke="↝",ike="⤚",ake="⤜",ske="∶",lke="ℚ",cke="⤍",uke="⤏",dke="⤐",fke="❳",hke="}",pke="]",mke="⦌",gke="⦎",vke="⦐",bke="Ř",yke="ř",xke="Ŗ",Cke="ŗ",wke="⌉",_ke="}",Ske="Р",kke="р",Pke="⤷",Tke="⥩",Rke="”",$ke="”",Eke="↳",Ake="ℜ",Ike="ℛ",Oke="ℜ",Mke="ℝ",zke="ℜ",Dke="▭",Lke="®",Fke="®",Bke="∋",Nke="⇋",Hke="⥯",jke="⥽",Vke="⌋",Wke="𝔯",Uke="ℜ",qke="⥤",Kke="⇁",Gke="⇀",Yke="⥬",Xke="Ρ",Zke="ρ",Jke="ϱ",Qke="⟩",e3e="⇥",t3e="→",n3e="→",o3e="⇒",r3e="⇄",i3e="↣",a3e="⌉",s3e="⟧",l3e="⥝",c3e="⥕",u3e="⇂",d3e="⌋",f3e="⇁",h3e="⇀",p3e="⇄",m3e="⇌",g3e="⇉",v3e="↝",b3e="↦",y3e="⊢",x3e="⥛",C3e="⋌",w3e="⧐",_3e="⊳",S3e="⊵",k3e="⥏",P3e="⥜",T3e="⥔",R3e="↾",$3e="⥓",E3e="⇀",A3e="˚",I3e="≓",O3e="⇄",M3e="⇌",z3e="‏",D3e="⎱",L3e="⎱",F3e="⫮",B3e="⟭",N3e="⇾",H3e="⟧",j3e="⦆",V3e="𝕣",W3e="ℝ",U3e="⨮",q3e="⨵",K3e="⥰",G3e=")",Y3e="⦔",X3e="⨒",Z3e="⇉",J3e="⇛",Q3e="›",e4e="𝓇",t4e="ℛ",n4e="↱",o4e="↱",r4e="]",i4e="’",a4e="’",s4e="⋌",l4e="⋊",c4e="▹",u4e="⊵",d4e="▸",f4e="⧎",h4e="⧴",p4e="⥨",m4e="℞",g4e="Ś",v4e="ś",b4e="‚",y4e="⪸",x4e="Š",C4e="š",w4e="⪼",_4e="≻",S4e="≽",k4e="⪰",P4e="⪴",T4e="Ş",R4e="ş",$4e="Ŝ",E4e="ŝ",A4e="⪺",I4e="⪶",O4e="⋩",M4e="⨓",z4e="≿",D4e="С",L4e="с",F4e="⊡",B4e="⋅",N4e="⩦",H4e="⤥",j4e="↘",V4e="⇘",W4e="↘",U4e="§",q4e=";",K4e="⤩",G4e="∖",Y4e="∖",X4e="✶",Z4e="𝔖",J4e="𝔰",Q4e="⌢",e5e="♯",t5e="Щ",n5e="щ",o5e="Ш",r5e="ш",i5e="↓",a5e="←",s5e="∣",l5e="∥",c5e="→",u5e="↑",d5e="­",f5e="Σ",h5e="σ",p5e="ς",m5e="ς",g5e="∼",v5e="⩪",b5e="≃",y5e="≃",x5e="⪞",C5e="⪠",w5e="⪝",_5e="⪟",S5e="≆",k5e="⨤",P5e="⥲",T5e="←",R5e="∘",$5e="∖",E5e="⨳",A5e="⧤",I5e="∣",O5e="⌣",M5e="⪪",z5e="⪬",D5e="⪬︀",L5e="Ь",F5e="ь",B5e="⌿",N5e="⧄",H5e="/",j5e="𝕊",V5e="𝕤",W5e="♠",U5e="♠",q5e="∥",K5e="⊓",G5e="⊓︀",Y5e="⊔",X5e="⊔︀",Z5e="√",J5e="⊏",Q5e="⊑",ePe="⊏",tPe="⊑",nPe="⊐",oPe="⊒",rPe="⊐",iPe="⊒",aPe="□",sPe="□",lPe="⊓",cPe="⊏",uPe="⊑",dPe="⊐",fPe="⊒",hPe="⊔",pPe="▪",mPe="□",gPe="▪",vPe="→",bPe="𝒮",yPe="𝓈",xPe="∖",CPe="⌣",wPe="⋆",_Pe="⋆",SPe="☆",kPe="★",PPe="ϵ",TPe="ϕ",RPe="¯",$Pe="⊂",EPe="⋐",APe="⪽",IPe="⫅",OPe="⊆",MPe="⫃",zPe="⫁",DPe="⫋",LPe="⊊",FPe="⪿",BPe="⥹",NPe="⊂",HPe="⋐",jPe="⊆",VPe="⫅",WPe="⊆",UPe="⊊",qPe="⫋",KPe="⫇",GPe="⫕",YPe="⫓",XPe="⪸",ZPe="≻",JPe="≽",QPe="≻",eTe="⪰",tTe="≽",nTe="≿",oTe="⪰",rTe="⪺",iTe="⪶",aTe="⋩",sTe="≿",lTe="∋",cTe="∑",uTe="∑",dTe="♪",fTe="¹",hTe="²",pTe="³",mTe="⊃",gTe="⋑",vTe="⪾",bTe="⫘",yTe="⫆",xTe="⊇",CTe="⫄",wTe="⊃",_Te="⊇",STe="⟉",kTe="⫗",PTe="⥻",TTe="⫂",RTe="⫌",$Te="⊋",ETe="⫀",ATe="⊃",ITe="⋑",OTe="⊇",MTe="⫆",zTe="⊋",DTe="⫌",LTe="⫈",FTe="⫔",BTe="⫖",NTe="⤦",HTe="↙",jTe="⇙",VTe="↙",WTe="⤪",UTe="ß",qTe=" ",KTe="⌖",GTe="Τ",YTe="τ",XTe="⎴",ZTe="Ť",JTe="ť",QTe="Ţ",eRe="ţ",tRe="Т",nRe="т",oRe="⃛",rRe="⌕",iRe="𝔗",aRe="𝔱",sRe="∴",lRe="∴",cRe="∴",uRe="Θ",dRe="θ",fRe="ϑ",hRe="ϑ",pRe="≈",mRe="∼",gRe="  ",vRe=" ",bRe=" ",yRe="≈",xRe="∼",CRe="Þ",wRe="þ",_Re="˜",SRe="∼",kRe="≃",PRe="≅",TRe="≈",RRe="⨱",$Re="⊠",ERe="×",ARe="⨰",IRe="∭",ORe="⤨",MRe="⌶",zRe="⫱",DRe="⊤",LRe="𝕋",FRe="𝕥",BRe="⫚",NRe="⤩",HRe="‴",jRe="™",VRe="™",WRe="▵",URe="▿",qRe="◃",KRe="⊴",GRe="≜",YRe="▹",XRe="⊵",ZRe="◬",JRe="≜",QRe="⨺",e$e="⃛",t$e="⨹",n$e="⧍",o$e="⨻",r$e="⏢",i$e="𝒯",a$e="𝓉",s$e="Ц",l$e="ц",c$e="Ћ",u$e="ћ",d$e="Ŧ",f$e="ŧ",h$e="≬",p$e="↞",m$e="↠",g$e="Ú",v$e="ú",b$e="↑",y$e="↟",x$e="⇑",C$e="⥉",w$e="Ў",_$e="ў",S$e="Ŭ",k$e="ŭ",P$e="Û",T$e="û",R$e="У",$$e="у",E$e="⇅",A$e="Ű",I$e="ű",O$e="⥮",M$e="⥾",z$e="𝔘",D$e="𝔲",L$e="Ù",F$e="ù",B$e="⥣",N$e="↿",H$e="↾",j$e="▀",V$e="⌜",W$e="⌜",U$e="⌏",q$e="◸",K$e="Ū",G$e="ū",Y$e="¨",X$e="_",Z$e="⏟",J$e="⎵",Q$e="⏝",eEe="⋃",tEe="⊎",nEe="Ų",oEe="ų",rEe="𝕌",iEe="𝕦",aEe="⤒",sEe="↑",lEe="↑",cEe="⇑",uEe="⇅",dEe="↕",fEe="↕",hEe="⇕",pEe="⥮",mEe="↿",gEe="↾",vEe="⊎",bEe="↖",yEe="↗",xEe="υ",CEe="ϒ",wEe="ϒ",_Ee="Υ",SEe="υ",kEe="↥",PEe="⊥",TEe="⇈",REe="⌝",$Ee="⌝",EEe="⌎",AEe="Ů",IEe="ů",OEe="◹",MEe="𝒰",zEe="𝓊",DEe="⋰",LEe="Ũ",FEe="ũ",BEe="▵",NEe="▴",HEe="⇈",jEe="Ü",VEe="ü",WEe="⦧",UEe="⦜",qEe="ϵ",KEe="ϰ",GEe="∅",YEe="ϕ",XEe="ϖ",ZEe="∝",JEe="↕",QEe="⇕",eAe="ϱ",tAe="ς",nAe="⊊︀",oAe="⫋︀",rAe="⊋︀",iAe="⫌︀",aAe="ϑ",sAe="⊲",lAe="⊳",cAe="⫨",uAe="⫫",dAe="⫩",fAe="В",hAe="в",pAe="⊢",mAe="⊨",gAe="⊩",vAe="⊫",bAe="⫦",yAe="⊻",xAe="∨",CAe="⋁",wAe="≚",_Ae="⋮",SAe="|",kAe="‖",PAe="|",TAe="‖",RAe="∣",$Ae="|",EAe="❘",AAe="≀",IAe=" ",OAe="𝔙",MAe="𝔳",zAe="⊲",DAe="⊂⃒",LAe="⊃⃒",FAe="𝕍",BAe="𝕧",NAe="∝",HAe="⊳",jAe="𝒱",VAe="𝓋",WAe="⫋︀",UAe="⊊︀",qAe="⫌︀",KAe="⊋︀",GAe="⊪",YAe="⦚",XAe="Ŵ",ZAe="ŵ",JAe="⩟",QAe="∧",e6e="⋀",t6e="≙",n6e="℘",o6e="𝔚",r6e="𝔴",i6e="𝕎",a6e="𝕨",s6e="℘",l6e="≀",c6e="≀",u6e="𝒲",d6e="𝓌",f6e="⋂",h6e="◯",p6e="⋃",m6e="▽",g6e="𝔛",v6e="𝔵",b6e="⟷",y6e="⟺",x6e="Ξ",C6e="ξ",w6e="⟵",_6e="⟸",S6e="⟼",k6e="⋻",P6e="⨀",T6e="𝕏",R6e="𝕩",$6e="⨁",E6e="⨂",A6e="⟶",I6e="⟹",O6e="𝒳",M6e="𝓍",z6e="⨆",D6e="⨄",L6e="△",F6e="⋁",B6e="⋀",N6e="Ý",H6e="ý",j6e="Я",V6e="я",W6e="Ŷ",U6e="ŷ",q6e="Ы",K6e="ы",G6e="¥",Y6e="𝔜",X6e="𝔶",Z6e="Ї",J6e="ї",Q6e="𝕐",e8e="𝕪",t8e="𝒴",n8e="𝓎",o8e="Ю",r8e="ю",i8e="ÿ",a8e="Ÿ",s8e="Ź",l8e="ź",c8e="Ž",u8e="ž",d8e="З",f8e="з",h8e="Ż",p8e="ż",m8e="ℨ",g8e="​",v8e="Ζ",b8e="ζ",y8e="𝔷",x8e="ℨ",C8e="Ж",w8e="ж",_8e="⇝",S8e="𝕫",k8e="ℤ",P8e="𝒵",T8e="𝓏",R8e="‍",$8e="‌",E8e={Aacute:hee,aacute:pee,Abreve:mee,abreve:gee,ac:vee,acd:bee,acE:yee,Acirc:xee,acirc:Cee,acute:wee,Acy:_ee,acy:See,AElig:kee,aelig:Pee,af:Tee,Afr:Ree,afr:$ee,Agrave:Eee,agrave:Aee,alefsym:Iee,aleph:Oee,Alpha:Mee,alpha:zee,Amacr:Dee,amacr:Lee,amalg:Fee,amp:Bee,AMP:Nee,andand:Hee,And:jee,and:Vee,andd:Wee,andslope:Uee,andv:qee,ang:Kee,ange:Gee,angle:Yee,angmsdaa:Xee,angmsdab:Zee,angmsdac:Jee,angmsdad:Qee,angmsdae:ete,angmsdaf:tte,angmsdag:nte,angmsdah:ote,angmsd:rte,angrt:ite,angrtvb:ate,angrtvbd:ste,angsph:lte,angst:cte,angzarr:ute,Aogon:dte,aogon:fte,Aopf:hte,aopf:pte,apacir:mte,ap:gte,apE:vte,ape:bte,apid:yte,apos:xte,ApplyFunction:Cte,approx:wte,approxeq:_te,Aring:Ste,aring:kte,Ascr:Pte,ascr:Tte,Assign:Rte,ast:$te,asymp:Ete,asympeq:Ate,Atilde:Ite,atilde:Ote,Auml:Mte,auml:zte,awconint:Dte,awint:Lte,backcong:Fte,backepsilon:Bte,backprime:Nte,backsim:Hte,backsimeq:jte,Backslash:Vte,Barv:Wte,barvee:Ute,barwed:qte,Barwed:Kte,barwedge:Gte,bbrk:Yte,bbrktbrk:Xte,bcong:Zte,Bcy:Jte,bcy:Qte,bdquo:ene,becaus:tne,because:nne,Because:one,bemptyv:rne,bepsi:ine,bernou:ane,Bernoullis:sne,Beta:lne,beta:cne,beth:une,between:dne,Bfr:fne,bfr:hne,bigcap:pne,bigcirc:mne,bigcup:gne,bigodot:vne,bigoplus:bne,bigotimes:yne,bigsqcup:xne,bigstar:Cne,bigtriangledown:wne,bigtriangleup:_ne,biguplus:Sne,bigvee:kne,bigwedge:Pne,bkarow:Tne,blacklozenge:Rne,blacksquare:$ne,blacktriangle:Ene,blacktriangledown:Ane,blacktriangleleft:Ine,blacktriangleright:One,blank:Mne,blk12:zne,blk14:Dne,blk34:Lne,block:Fne,bne:Bne,bnequiv:Nne,bNot:Hne,bnot:jne,Bopf:Vne,bopf:Wne,bot:Une,bottom:qne,bowtie:Kne,boxbox:Gne,boxdl:Yne,boxdL:Xne,boxDl:Zne,boxDL:Jne,boxdr:Qne,boxdR:eoe,boxDr:toe,boxDR:noe,boxh:ooe,boxH:roe,boxhd:ioe,boxHd:aoe,boxhD:soe,boxHD:loe,boxhu:coe,boxHu:uoe,boxhU:doe,boxHU:foe,boxminus:hoe,boxplus:poe,boxtimes:moe,boxul:goe,boxuL:voe,boxUl:boe,boxUL:yoe,boxur:xoe,boxuR:Coe,boxUr:woe,boxUR:_oe,boxv:Soe,boxV:koe,boxvh:Poe,boxvH:Toe,boxVh:Roe,boxVH:$oe,boxvl:Eoe,boxvL:Aoe,boxVl:Ioe,boxVL:Ooe,boxvr:Moe,boxvR:zoe,boxVr:Doe,boxVR:Loe,bprime:Foe,breve:Boe,Breve:Noe,brvbar:Hoe,bscr:joe,Bscr:Voe,bsemi:Woe,bsim:Uoe,bsime:qoe,bsolb:Koe,bsol:Goe,bsolhsub:Yoe,bull:Xoe,bullet:Zoe,bump:Joe,bumpE:Qoe,bumpe:ere,Bumpeq:tre,bumpeq:nre,Cacute:ore,cacute:rre,capand:ire,capbrcup:are,capcap:sre,cap:lre,Cap:cre,capcup:ure,capdot:dre,CapitalDifferentialD:fre,caps:hre,caret:pre,caron:mre,Cayleys:gre,ccaps:vre,Ccaron:bre,ccaron:yre,Ccedil:xre,ccedil:Cre,Ccirc:wre,ccirc:_re,Cconint:Sre,ccups:kre,ccupssm:Pre,Cdot:Tre,cdot:Rre,cedil:$re,Cedilla:Ere,cemptyv:Are,cent:Ire,centerdot:Ore,CenterDot:Mre,cfr:zre,Cfr:Dre,CHcy:Lre,chcy:Fre,check:Bre,checkmark:Nre,Chi:Hre,chi:jre,circ:Vre,circeq:Wre,circlearrowleft:Ure,circlearrowright:qre,circledast:Kre,circledcirc:Gre,circleddash:Yre,CircleDot:Xre,circledR:Zre,circledS:Jre,CircleMinus:Qre,CirclePlus:eie,CircleTimes:tie,cir:nie,cirE:oie,cire:rie,cirfnint:iie,cirmid:aie,cirscir:sie,ClockwiseContourIntegral:lie,CloseCurlyDoubleQuote:cie,CloseCurlyQuote:uie,clubs:die,clubsuit:fie,colon:hie,Colon:pie,Colone:mie,colone:gie,coloneq:vie,comma:bie,commat:yie,comp:xie,compfn:Cie,complement:wie,complexes:_ie,cong:Sie,congdot:kie,Congruent:Pie,conint:Tie,Conint:Rie,ContourIntegral:$ie,copf:Eie,Copf:Aie,coprod:Iie,Coproduct:Oie,copy:Mie,COPY:zie,copysr:Die,CounterClockwiseContourIntegral:Lie,crarr:Fie,cross:Bie,Cross:Nie,Cscr:Hie,cscr:jie,csub:Vie,csube:Wie,csup:Uie,csupe:qie,ctdot:Kie,cudarrl:Gie,cudarrr:Yie,cuepr:Xie,cuesc:Zie,cularr:Jie,cularrp:Qie,cupbrcap:eae,cupcap:tae,CupCap:nae,cup:oae,Cup:rae,cupcup:iae,cupdot:aae,cupor:sae,cups:lae,curarr:cae,curarrm:uae,curlyeqprec:dae,curlyeqsucc:fae,curlyvee:hae,curlywedge:pae,curren:mae,curvearrowleft:gae,curvearrowright:vae,cuvee:bae,cuwed:yae,cwconint:xae,cwint:Cae,cylcty:wae,dagger:_ae,Dagger:Sae,daleth:kae,darr:Pae,Darr:Tae,dArr:Rae,dash:$ae,Dashv:Eae,dashv:Aae,dbkarow:Iae,dblac:Oae,Dcaron:Mae,dcaron:zae,Dcy:Dae,dcy:Lae,ddagger:Fae,ddarr:Bae,DD:Nae,dd:Hae,DDotrahd:jae,ddotseq:Vae,deg:Wae,Del:Uae,Delta:qae,delta:Kae,demptyv:Gae,dfisht:Yae,Dfr:Xae,dfr:Zae,dHar:Jae,dharl:Qae,dharr:ese,DiacriticalAcute:tse,DiacriticalDot:nse,DiacriticalDoubleAcute:ose,DiacriticalGrave:rse,DiacriticalTilde:ise,diam:ase,diamond:sse,Diamond:lse,diamondsuit:cse,diams:use,die:dse,DifferentialD:fse,digamma:hse,disin:pse,div:mse,divide:gse,divideontimes:vse,divonx:bse,DJcy:yse,djcy:xse,dlcorn:Cse,dlcrop:wse,dollar:_se,Dopf:Sse,dopf:kse,Dot:Pse,dot:Tse,DotDot:Rse,doteq:$se,doteqdot:Ese,DotEqual:Ase,dotminus:Ise,dotplus:Ose,dotsquare:Mse,doublebarwedge:zse,DoubleContourIntegral:Dse,DoubleDot:Lse,DoubleDownArrow:Fse,DoubleLeftArrow:Bse,DoubleLeftRightArrow:Nse,DoubleLeftTee:Hse,DoubleLongLeftArrow:jse,DoubleLongLeftRightArrow:Vse,DoubleLongRightArrow:Wse,DoubleRightArrow:Use,DoubleRightTee:qse,DoubleUpArrow:Kse,DoubleUpDownArrow:Gse,DoubleVerticalBar:Yse,DownArrowBar:Xse,downarrow:Zse,DownArrow:Jse,Downarrow:Qse,DownArrowUpArrow:ele,DownBreve:tle,downdownarrows:nle,downharpoonleft:ole,downharpoonright:rle,DownLeftRightVector:ile,DownLeftTeeVector:ale,DownLeftVectorBar:sle,DownLeftVector:lle,DownRightTeeVector:cle,DownRightVectorBar:ule,DownRightVector:dle,DownTeeArrow:fle,DownTee:hle,drbkarow:ple,drcorn:mle,drcrop:gle,Dscr:vle,dscr:ble,DScy:yle,dscy:xle,dsol:Cle,Dstrok:wle,dstrok:_le,dtdot:Sle,dtri:kle,dtrif:Ple,duarr:Tle,duhar:Rle,dwangle:$le,DZcy:Ele,dzcy:Ale,dzigrarr:Ile,Eacute:Ole,eacute:Mle,easter:zle,Ecaron:Dle,ecaron:Lle,Ecirc:Fle,ecirc:Ble,ecir:Nle,ecolon:Hle,Ecy:jle,ecy:Vle,eDDot:Wle,Edot:Ule,edot:qle,eDot:Kle,ee:Gle,efDot:Yle,Efr:Xle,efr:Zle,eg:Jle,Egrave:Qle,egrave:ece,egs:tce,egsdot:nce,el:oce,Element:rce,elinters:ice,ell:ace,els:sce,elsdot:lce,Emacr:cce,emacr:uce,empty:dce,emptyset:fce,EmptySmallSquare:hce,emptyv:pce,EmptyVerySmallSquare:mce,emsp13:gce,emsp14:vce,emsp:bce,ENG:yce,eng:xce,ensp:Cce,Eogon:wce,eogon:_ce,Eopf:Sce,eopf:kce,epar:Pce,eparsl:Tce,eplus:Rce,epsi:$ce,Epsilon:Ece,epsilon:Ace,epsiv:Ice,eqcirc:Oce,eqcolon:Mce,eqsim:zce,eqslantgtr:Dce,eqslantless:Lce,Equal:Fce,equals:Bce,EqualTilde:Nce,equest:Hce,Equilibrium:jce,equiv:Vce,equivDD:Wce,eqvparsl:Uce,erarr:qce,erDot:Kce,escr:Gce,Escr:Yce,esdot:Xce,Esim:Zce,esim:Jce,Eta:Qce,eta:eue,ETH:tue,eth:nue,Euml:oue,euml:rue,euro:iue,excl:aue,exist:sue,Exists:lue,expectation:cue,exponentiale:uue,ExponentialE:due,fallingdotseq:fue,Fcy:hue,fcy:pue,female:mue,ffilig:gue,fflig:vue,ffllig:bue,Ffr:yue,ffr:xue,filig:Cue,FilledSmallSquare:wue,FilledVerySmallSquare:_ue,fjlig:Sue,flat:kue,fllig:Pue,fltns:Tue,fnof:Rue,Fopf:$ue,fopf:Eue,forall:Aue,ForAll:Iue,fork:Oue,forkv:Mue,Fouriertrf:zue,fpartint:Due,frac12:Lue,frac13:Fue,frac14:Bue,frac15:Nue,frac16:Hue,frac18:jue,frac23:Vue,frac25:Wue,frac34:Uue,frac35:que,frac38:Kue,frac45:Gue,frac56:Yue,frac58:Xue,frac78:Zue,frasl:Jue,frown:Que,fscr:ede,Fscr:tde,gacute:nde,Gamma:ode,gamma:rde,Gammad:ide,gammad:ade,gap:sde,Gbreve:lde,gbreve:cde,Gcedil:ude,Gcirc:dde,gcirc:fde,Gcy:hde,gcy:pde,Gdot:mde,gdot:gde,ge:vde,gE:bde,gEl:yde,gel:xde,geq:Cde,geqq:wde,geqslant:_de,gescc:Sde,ges:kde,gesdot:Pde,gesdoto:Tde,gesdotol:Rde,gesl:$de,gesles:Ede,Gfr:Ade,gfr:Ide,gg:Ode,Gg:Mde,ggg:zde,gimel:Dde,GJcy:Lde,gjcy:Fde,gla:Bde,gl:Nde,glE:Hde,glj:jde,gnap:Vde,gnapprox:Wde,gne:Ude,gnE:qde,gneq:Kde,gneqq:Gde,gnsim:Yde,Gopf:Xde,gopf:Zde,grave:Jde,GreaterEqual:Qde,GreaterEqualLess:efe,GreaterFullEqual:tfe,GreaterGreater:nfe,GreaterLess:ofe,GreaterSlantEqual:rfe,GreaterTilde:ife,Gscr:afe,gscr:sfe,gsim:lfe,gsime:cfe,gsiml:ufe,gtcc:dfe,gtcir:ffe,gt:hfe,GT:pfe,Gt:mfe,gtdot:gfe,gtlPar:vfe,gtquest:bfe,gtrapprox:yfe,gtrarr:xfe,gtrdot:Cfe,gtreqless:wfe,gtreqqless:_fe,gtrless:Sfe,gtrsim:kfe,gvertneqq:Pfe,gvnE:Tfe,Hacek:Rfe,hairsp:$fe,half:Efe,hamilt:Afe,HARDcy:Ife,hardcy:Ofe,harrcir:Mfe,harr:zfe,hArr:Dfe,harrw:Lfe,Hat:Ffe,hbar:Bfe,Hcirc:Nfe,hcirc:Hfe,hearts:jfe,heartsuit:Vfe,hellip:Wfe,hercon:Ufe,hfr:qfe,Hfr:Kfe,HilbertSpace:Gfe,hksearow:Yfe,hkswarow:Xfe,hoarr:Zfe,homtht:Jfe,hookleftarrow:Qfe,hookrightarrow:ehe,hopf:the,Hopf:nhe,horbar:ohe,HorizontalLine:rhe,hscr:ihe,Hscr:ahe,hslash:she,Hstrok:lhe,hstrok:che,HumpDownHump:uhe,HumpEqual:dhe,hybull:fhe,hyphen:hhe,Iacute:phe,iacute:mhe,ic:ghe,Icirc:vhe,icirc:bhe,Icy:yhe,icy:xhe,Idot:Che,IEcy:whe,iecy:_he,iexcl:She,iff:khe,ifr:Phe,Ifr:The,Igrave:Rhe,igrave:$he,ii:Ehe,iiiint:Ahe,iiint:Ihe,iinfin:Ohe,iiota:Mhe,IJlig:zhe,ijlig:Dhe,Imacr:Lhe,imacr:Fhe,image:Bhe,ImaginaryI:Nhe,imagline:Hhe,imagpart:jhe,imath:Vhe,Im:Whe,imof:Uhe,imped:qhe,Implies:Khe,incare:Ghe,in:"∈",infin:Yhe,infintie:Xhe,inodot:Zhe,intcal:Jhe,int:Qhe,Int:epe,integers:tpe,Integral:npe,intercal:ope,Intersection:rpe,intlarhk:ipe,intprod:ape,InvisibleComma:spe,InvisibleTimes:lpe,IOcy:cpe,iocy:upe,Iogon:dpe,iogon:fpe,Iopf:hpe,iopf:ppe,Iota:mpe,iota:gpe,iprod:vpe,iquest:bpe,iscr:ype,Iscr:xpe,isin:Cpe,isindot:wpe,isinE:_pe,isins:Spe,isinsv:kpe,isinv:Ppe,it:Tpe,Itilde:Rpe,itilde:$pe,Iukcy:Epe,iukcy:Ape,Iuml:Ipe,iuml:Ope,Jcirc:Mpe,jcirc:zpe,Jcy:Dpe,jcy:Lpe,Jfr:Fpe,jfr:Bpe,jmath:Npe,Jopf:Hpe,jopf:jpe,Jscr:Vpe,jscr:Wpe,Jsercy:Upe,jsercy:qpe,Jukcy:Kpe,jukcy:Gpe,Kappa:Ype,kappa:Xpe,kappav:Zpe,Kcedil:Jpe,kcedil:Qpe,Kcy:eme,kcy:tme,Kfr:nme,kfr:ome,kgreen:rme,KHcy:ime,khcy:ame,KJcy:sme,kjcy:lme,Kopf:cme,kopf:ume,Kscr:dme,kscr:fme,lAarr:hme,Lacute:pme,lacute:mme,laemptyv:gme,lagran:vme,Lambda:bme,lambda:yme,lang:xme,Lang:Cme,langd:wme,langle:_me,lap:Sme,Laplacetrf:kme,laquo:Pme,larrb:Tme,larrbfs:Rme,larr:$me,Larr:Eme,lArr:Ame,larrfs:Ime,larrhk:Ome,larrlp:Mme,larrpl:zme,larrsim:Dme,larrtl:Lme,latail:Fme,lAtail:Bme,lat:Nme,late:Hme,lates:jme,lbarr:Vme,lBarr:Wme,lbbrk:Ume,lbrace:qme,lbrack:Kme,lbrke:Gme,lbrksld:Yme,lbrkslu:Xme,Lcaron:Zme,lcaron:Jme,Lcedil:Qme,lcedil:ege,lceil:tge,lcub:nge,Lcy:oge,lcy:rge,ldca:ige,ldquo:age,ldquor:sge,ldrdhar:lge,ldrushar:cge,ldsh:uge,le:dge,lE:fge,LeftAngleBracket:hge,LeftArrowBar:pge,leftarrow:mge,LeftArrow:gge,Leftarrow:vge,LeftArrowRightArrow:bge,leftarrowtail:yge,LeftCeiling:xge,LeftDoubleBracket:Cge,LeftDownTeeVector:wge,LeftDownVectorBar:_ge,LeftDownVector:Sge,LeftFloor:kge,leftharpoondown:Pge,leftharpoonup:Tge,leftleftarrows:Rge,leftrightarrow:$ge,LeftRightArrow:Ege,Leftrightarrow:Age,leftrightarrows:Ige,leftrightharpoons:Oge,leftrightsquigarrow:Mge,LeftRightVector:zge,LeftTeeArrow:Dge,LeftTee:Lge,LeftTeeVector:Fge,leftthreetimes:Bge,LeftTriangleBar:Nge,LeftTriangle:Hge,LeftTriangleEqual:jge,LeftUpDownVector:Vge,LeftUpTeeVector:Wge,LeftUpVectorBar:Uge,LeftUpVector:qge,LeftVectorBar:Kge,LeftVector:Gge,lEg:Yge,leg:Xge,leq:Zge,leqq:Jge,leqslant:Qge,lescc:eve,les:tve,lesdot:nve,lesdoto:ove,lesdotor:rve,lesg:ive,lesges:ave,lessapprox:sve,lessdot:lve,lesseqgtr:cve,lesseqqgtr:uve,LessEqualGreater:dve,LessFullEqual:fve,LessGreater:hve,lessgtr:pve,LessLess:mve,lesssim:gve,LessSlantEqual:vve,LessTilde:bve,lfisht:yve,lfloor:xve,Lfr:Cve,lfr:wve,lg:_ve,lgE:Sve,lHar:kve,lhard:Pve,lharu:Tve,lharul:Rve,lhblk:$ve,LJcy:Eve,ljcy:Ave,llarr:Ive,ll:Ove,Ll:Mve,llcorner:zve,Lleftarrow:Dve,llhard:Lve,lltri:Fve,Lmidot:Bve,lmidot:Nve,lmoustache:Hve,lmoust:jve,lnap:Vve,lnapprox:Wve,lne:Uve,lnE:qve,lneq:Kve,lneqq:Gve,lnsim:Yve,loang:Xve,loarr:Zve,lobrk:Jve,longleftarrow:Qve,LongLeftArrow:ebe,Longleftarrow:tbe,longleftrightarrow:nbe,LongLeftRightArrow:obe,Longleftrightarrow:rbe,longmapsto:ibe,longrightarrow:abe,LongRightArrow:sbe,Longrightarrow:lbe,looparrowleft:cbe,looparrowright:ube,lopar:dbe,Lopf:fbe,lopf:hbe,loplus:pbe,lotimes:mbe,lowast:gbe,lowbar:vbe,LowerLeftArrow:bbe,LowerRightArrow:ybe,loz:xbe,lozenge:Cbe,lozf:wbe,lpar:_be,lparlt:Sbe,lrarr:kbe,lrcorner:Pbe,lrhar:Tbe,lrhard:Rbe,lrm:$be,lrtri:Ebe,lsaquo:Abe,lscr:Ibe,Lscr:Obe,lsh:Mbe,Lsh:zbe,lsim:Dbe,lsime:Lbe,lsimg:Fbe,lsqb:Bbe,lsquo:Nbe,lsquor:Hbe,Lstrok:jbe,lstrok:Vbe,ltcc:Wbe,ltcir:Ube,lt:qbe,LT:Kbe,Lt:Gbe,ltdot:Ybe,lthree:Xbe,ltimes:Zbe,ltlarr:Jbe,ltquest:Qbe,ltri:e0e,ltrie:t0e,ltrif:n0e,ltrPar:o0e,lurdshar:r0e,luruhar:i0e,lvertneqq:a0e,lvnE:s0e,macr:l0e,male:c0e,malt:u0e,maltese:d0e,Map:"⤅",map:f0e,mapsto:h0e,mapstodown:p0e,mapstoleft:m0e,mapstoup:g0e,marker:v0e,mcomma:b0e,Mcy:y0e,mcy:x0e,mdash:C0e,mDDot:w0e,measuredangle:_0e,MediumSpace:S0e,Mellintrf:k0e,Mfr:P0e,mfr:T0e,mho:R0e,micro:$0e,midast:E0e,midcir:A0e,mid:I0e,middot:O0e,minusb:M0e,minus:z0e,minusd:D0e,minusdu:L0e,MinusPlus:F0e,mlcp:B0e,mldr:N0e,mnplus:H0e,models:j0e,Mopf:V0e,mopf:W0e,mp:U0e,mscr:q0e,Mscr:K0e,mstpos:G0e,Mu:Y0e,mu:X0e,multimap:Z0e,mumap:J0e,nabla:Q0e,Nacute:e1e,nacute:t1e,nang:n1e,nap:o1e,napE:r1e,napid:i1e,napos:a1e,napprox:s1e,natural:l1e,naturals:c1e,natur:u1e,nbsp:d1e,nbump:f1e,nbumpe:h1e,ncap:p1e,Ncaron:m1e,ncaron:g1e,Ncedil:v1e,ncedil:b1e,ncong:y1e,ncongdot:x1e,ncup:C1e,Ncy:w1e,ncy:_1e,ndash:S1e,nearhk:k1e,nearr:P1e,neArr:T1e,nearrow:R1e,ne:$1e,nedot:E1e,NegativeMediumSpace:A1e,NegativeThickSpace:I1e,NegativeThinSpace:O1e,NegativeVeryThinSpace:M1e,nequiv:z1e,nesear:D1e,nesim:L1e,NestedGreaterGreater:F1e,NestedLessLess:B1e,NewLine:N1e,nexist:H1e,nexists:j1e,Nfr:V1e,nfr:W1e,ngE:U1e,nge:q1e,ngeq:K1e,ngeqq:G1e,ngeqslant:Y1e,nges:X1e,nGg:Z1e,ngsim:J1e,nGt:Q1e,ngt:eye,ngtr:tye,nGtv:nye,nharr:oye,nhArr:rye,nhpar:iye,ni:aye,nis:sye,nisd:lye,niv:cye,NJcy:uye,njcy:dye,nlarr:fye,nlArr:hye,nldr:pye,nlE:mye,nle:gye,nleftarrow:vye,nLeftarrow:bye,nleftrightarrow:yye,nLeftrightarrow:xye,nleq:Cye,nleqq:wye,nleqslant:_ye,nles:Sye,nless:kye,nLl:Pye,nlsim:Tye,nLt:Rye,nlt:$ye,nltri:Eye,nltrie:Aye,nLtv:Iye,nmid:Oye,NoBreak:Mye,NonBreakingSpace:zye,nopf:Dye,Nopf:Lye,Not:Fye,not:Bye,NotCongruent:Nye,NotCupCap:Hye,NotDoubleVerticalBar:jye,NotElement:Vye,NotEqual:Wye,NotEqualTilde:Uye,NotExists:qye,NotGreater:Kye,NotGreaterEqual:Gye,NotGreaterFullEqual:Yye,NotGreaterGreater:Xye,NotGreaterLess:Zye,NotGreaterSlantEqual:Jye,NotGreaterTilde:Qye,NotHumpDownHump:exe,NotHumpEqual:txe,notin:nxe,notindot:oxe,notinE:rxe,notinva:ixe,notinvb:axe,notinvc:sxe,NotLeftTriangleBar:lxe,NotLeftTriangle:cxe,NotLeftTriangleEqual:uxe,NotLess:dxe,NotLessEqual:fxe,NotLessGreater:hxe,NotLessLess:pxe,NotLessSlantEqual:mxe,NotLessTilde:gxe,NotNestedGreaterGreater:vxe,NotNestedLessLess:bxe,notni:yxe,notniva:xxe,notnivb:Cxe,notnivc:wxe,NotPrecedes:_xe,NotPrecedesEqual:Sxe,NotPrecedesSlantEqual:kxe,NotReverseElement:Pxe,NotRightTriangleBar:Txe,NotRightTriangle:Rxe,NotRightTriangleEqual:$xe,NotSquareSubset:Exe,NotSquareSubsetEqual:Axe,NotSquareSuperset:Ixe,NotSquareSupersetEqual:Oxe,NotSubset:Mxe,NotSubsetEqual:zxe,NotSucceeds:Dxe,NotSucceedsEqual:Lxe,NotSucceedsSlantEqual:Fxe,NotSucceedsTilde:Bxe,NotSuperset:Nxe,NotSupersetEqual:Hxe,NotTilde:jxe,NotTildeEqual:Vxe,NotTildeFullEqual:Wxe,NotTildeTilde:Uxe,NotVerticalBar:qxe,nparallel:Kxe,npar:Gxe,nparsl:Yxe,npart:Xxe,npolint:Zxe,npr:Jxe,nprcue:Qxe,nprec:eCe,npreceq:tCe,npre:nCe,nrarrc:oCe,nrarr:rCe,nrArr:iCe,nrarrw:aCe,nrightarrow:sCe,nRightarrow:lCe,nrtri:cCe,nrtrie:uCe,nsc:dCe,nsccue:fCe,nsce:hCe,Nscr:pCe,nscr:mCe,nshortmid:gCe,nshortparallel:vCe,nsim:bCe,nsime:yCe,nsimeq:xCe,nsmid:CCe,nspar:wCe,nsqsube:_Ce,nsqsupe:SCe,nsub:kCe,nsubE:PCe,nsube:TCe,nsubset:RCe,nsubseteq:$Ce,nsubseteqq:ECe,nsucc:ACe,nsucceq:ICe,nsup:OCe,nsupE:MCe,nsupe:zCe,nsupset:DCe,nsupseteq:LCe,nsupseteqq:FCe,ntgl:BCe,Ntilde:NCe,ntilde:HCe,ntlg:jCe,ntriangleleft:VCe,ntrianglelefteq:WCe,ntriangleright:UCe,ntrianglerighteq:qCe,Nu:KCe,nu:GCe,num:YCe,numero:XCe,numsp:ZCe,nvap:JCe,nvdash:QCe,nvDash:ewe,nVdash:twe,nVDash:nwe,nvge:owe,nvgt:rwe,nvHarr:iwe,nvinfin:awe,nvlArr:swe,nvle:lwe,nvlt:cwe,nvltrie:uwe,nvrArr:dwe,nvrtrie:fwe,nvsim:hwe,nwarhk:pwe,nwarr:mwe,nwArr:gwe,nwarrow:vwe,nwnear:bwe,Oacute:ywe,oacute:xwe,oast:Cwe,Ocirc:wwe,ocirc:_we,ocir:Swe,Ocy:kwe,ocy:Pwe,odash:Twe,Odblac:Rwe,odblac:$we,odiv:Ewe,odot:Awe,odsold:Iwe,OElig:Owe,oelig:Mwe,ofcir:zwe,Ofr:Dwe,ofr:Lwe,ogon:Fwe,Ograve:Bwe,ograve:Nwe,ogt:Hwe,ohbar:jwe,ohm:Vwe,oint:Wwe,olarr:Uwe,olcir:qwe,olcross:Kwe,oline:Gwe,olt:Ywe,Omacr:Xwe,omacr:Zwe,Omega:Jwe,omega:Qwe,Omicron:e_e,omicron:t_e,omid:n_e,ominus:o_e,Oopf:r_e,oopf:i_e,opar:a_e,OpenCurlyDoubleQuote:s_e,OpenCurlyQuote:l_e,operp:c_e,oplus:u_e,orarr:d_e,Or:f_e,or:h_e,ord:p_e,order:m_e,orderof:g_e,ordf:v_e,ordm:b_e,origof:y_e,oror:x_e,orslope:C_e,orv:w_e,oS:__e,Oscr:S_e,oscr:k_e,Oslash:P_e,oslash:T_e,osol:R_e,Otilde:$_e,otilde:E_e,otimesas:A_e,Otimes:I_e,otimes:O_e,Ouml:M_e,ouml:z_e,ovbar:D_e,OverBar:L_e,OverBrace:F_e,OverBracket:B_e,OverParenthesis:N_e,para:H_e,parallel:j_e,par:V_e,parsim:W_e,parsl:U_e,part:q_e,PartialD:K_e,Pcy:G_e,pcy:Y_e,percnt:X_e,period:Z_e,permil:J_e,perp:Q_e,pertenk:e2e,Pfr:t2e,pfr:n2e,Phi:o2e,phi:r2e,phiv:i2e,phmmat:a2e,phone:s2e,Pi:l2e,pi:c2e,pitchfork:u2e,piv:d2e,planck:f2e,planckh:h2e,plankv:p2e,plusacir:m2e,plusb:g2e,pluscir:v2e,plus:b2e,plusdo:y2e,plusdu:x2e,pluse:C2e,PlusMinus:w2e,plusmn:_2e,plussim:S2e,plustwo:k2e,pm:P2e,Poincareplane:T2e,pointint:R2e,popf:$2e,Popf:E2e,pound:A2e,prap:I2e,Pr:O2e,pr:M2e,prcue:z2e,precapprox:D2e,prec:L2e,preccurlyeq:F2e,Precedes:B2e,PrecedesEqual:N2e,PrecedesSlantEqual:H2e,PrecedesTilde:j2e,preceq:V2e,precnapprox:W2e,precneqq:U2e,precnsim:q2e,pre:K2e,prE:G2e,precsim:Y2e,prime:X2e,Prime:Z2e,primes:J2e,prnap:Q2e,prnE:eSe,prnsim:tSe,prod:nSe,Product:oSe,profalar:rSe,profline:iSe,profsurf:aSe,prop:sSe,Proportional:lSe,Proportion:cSe,propto:uSe,prsim:dSe,prurel:fSe,Pscr:hSe,pscr:pSe,Psi:mSe,psi:gSe,puncsp:vSe,Qfr:bSe,qfr:ySe,qint:xSe,qopf:CSe,Qopf:wSe,qprime:_Se,Qscr:SSe,qscr:kSe,quaternions:PSe,quatint:TSe,quest:RSe,questeq:$Se,quot:ESe,QUOT:ASe,rAarr:ISe,race:OSe,Racute:MSe,racute:zSe,radic:DSe,raemptyv:LSe,rang:FSe,Rang:BSe,rangd:NSe,range:HSe,rangle:jSe,raquo:VSe,rarrap:WSe,rarrb:USe,rarrbfs:qSe,rarrc:KSe,rarr:GSe,Rarr:YSe,rArr:XSe,rarrfs:ZSe,rarrhk:JSe,rarrlp:QSe,rarrpl:eke,rarrsim:tke,Rarrtl:nke,rarrtl:oke,rarrw:rke,ratail:ike,rAtail:ake,ratio:ske,rationals:lke,rbarr:cke,rBarr:uke,RBarr:dke,rbbrk:fke,rbrace:hke,rbrack:pke,rbrke:mke,rbrksld:gke,rbrkslu:vke,Rcaron:bke,rcaron:yke,Rcedil:xke,rcedil:Cke,rceil:wke,rcub:_ke,Rcy:Ske,rcy:kke,rdca:Pke,rdldhar:Tke,rdquo:Rke,rdquor:$ke,rdsh:Eke,real:Ake,realine:Ike,realpart:Oke,reals:Mke,Re:zke,rect:Dke,reg:Lke,REG:Fke,ReverseElement:Bke,ReverseEquilibrium:Nke,ReverseUpEquilibrium:Hke,rfisht:jke,rfloor:Vke,rfr:Wke,Rfr:Uke,rHar:qke,rhard:Kke,rharu:Gke,rharul:Yke,Rho:Xke,rho:Zke,rhov:Jke,RightAngleBracket:Qke,RightArrowBar:e3e,rightarrow:t3e,RightArrow:n3e,Rightarrow:o3e,RightArrowLeftArrow:r3e,rightarrowtail:i3e,RightCeiling:a3e,RightDoubleBracket:s3e,RightDownTeeVector:l3e,RightDownVectorBar:c3e,RightDownVector:u3e,RightFloor:d3e,rightharpoondown:f3e,rightharpoonup:h3e,rightleftarrows:p3e,rightleftharpoons:m3e,rightrightarrows:g3e,rightsquigarrow:v3e,RightTeeArrow:b3e,RightTee:y3e,RightTeeVector:x3e,rightthreetimes:C3e,RightTriangleBar:w3e,RightTriangle:_3e,RightTriangleEqual:S3e,RightUpDownVector:k3e,RightUpTeeVector:P3e,RightUpVectorBar:T3e,RightUpVector:R3e,RightVectorBar:$3e,RightVector:E3e,ring:A3e,risingdotseq:I3e,rlarr:O3e,rlhar:M3e,rlm:z3e,rmoustache:D3e,rmoust:L3e,rnmid:F3e,roang:B3e,roarr:N3e,robrk:H3e,ropar:j3e,ropf:V3e,Ropf:W3e,roplus:U3e,rotimes:q3e,RoundImplies:K3e,rpar:G3e,rpargt:Y3e,rppolint:X3e,rrarr:Z3e,Rrightarrow:J3e,rsaquo:Q3e,rscr:e4e,Rscr:t4e,rsh:n4e,Rsh:o4e,rsqb:r4e,rsquo:i4e,rsquor:a4e,rthree:s4e,rtimes:l4e,rtri:c4e,rtrie:u4e,rtrif:d4e,rtriltri:f4e,RuleDelayed:h4e,ruluhar:p4e,rx:m4e,Sacute:g4e,sacute:v4e,sbquo:b4e,scap:y4e,Scaron:x4e,scaron:C4e,Sc:w4e,sc:_4e,sccue:S4e,sce:k4e,scE:P4e,Scedil:T4e,scedil:R4e,Scirc:$4e,scirc:E4e,scnap:A4e,scnE:I4e,scnsim:O4e,scpolint:M4e,scsim:z4e,Scy:D4e,scy:L4e,sdotb:F4e,sdot:B4e,sdote:N4e,searhk:H4e,searr:j4e,seArr:V4e,searrow:W4e,sect:U4e,semi:q4e,seswar:K4e,setminus:G4e,setmn:Y4e,sext:X4e,Sfr:Z4e,sfr:J4e,sfrown:Q4e,sharp:e5e,SHCHcy:t5e,shchcy:n5e,SHcy:o5e,shcy:r5e,ShortDownArrow:i5e,ShortLeftArrow:a5e,shortmid:s5e,shortparallel:l5e,ShortRightArrow:c5e,ShortUpArrow:u5e,shy:d5e,Sigma:f5e,sigma:h5e,sigmaf:p5e,sigmav:m5e,sim:g5e,simdot:v5e,sime:b5e,simeq:y5e,simg:x5e,simgE:C5e,siml:w5e,simlE:_5e,simne:S5e,simplus:k5e,simrarr:P5e,slarr:T5e,SmallCircle:R5e,smallsetminus:$5e,smashp:E5e,smeparsl:A5e,smid:I5e,smile:O5e,smt:M5e,smte:z5e,smtes:D5e,SOFTcy:L5e,softcy:F5e,solbar:B5e,solb:N5e,sol:H5e,Sopf:j5e,sopf:V5e,spades:W5e,spadesuit:U5e,spar:q5e,sqcap:K5e,sqcaps:G5e,sqcup:Y5e,sqcups:X5e,Sqrt:Z5e,sqsub:J5e,sqsube:Q5e,sqsubset:ePe,sqsubseteq:tPe,sqsup:nPe,sqsupe:oPe,sqsupset:rPe,sqsupseteq:iPe,square:aPe,Square:sPe,SquareIntersection:lPe,SquareSubset:cPe,SquareSubsetEqual:uPe,SquareSuperset:dPe,SquareSupersetEqual:fPe,SquareUnion:hPe,squarf:pPe,squ:mPe,squf:gPe,srarr:vPe,Sscr:bPe,sscr:yPe,ssetmn:xPe,ssmile:CPe,sstarf:wPe,Star:_Pe,star:SPe,starf:kPe,straightepsilon:PPe,straightphi:TPe,strns:RPe,sub:$Pe,Sub:EPe,subdot:APe,subE:IPe,sube:OPe,subedot:MPe,submult:zPe,subnE:DPe,subne:LPe,subplus:FPe,subrarr:BPe,subset:NPe,Subset:HPe,subseteq:jPe,subseteqq:VPe,SubsetEqual:WPe,subsetneq:UPe,subsetneqq:qPe,subsim:KPe,subsub:GPe,subsup:YPe,succapprox:XPe,succ:ZPe,succcurlyeq:JPe,Succeeds:QPe,SucceedsEqual:eTe,SucceedsSlantEqual:tTe,SucceedsTilde:nTe,succeq:oTe,succnapprox:rTe,succneqq:iTe,succnsim:aTe,succsim:sTe,SuchThat:lTe,sum:cTe,Sum:uTe,sung:dTe,sup1:fTe,sup2:hTe,sup3:pTe,sup:mTe,Sup:gTe,supdot:vTe,supdsub:bTe,supE:yTe,supe:xTe,supedot:CTe,Superset:wTe,SupersetEqual:_Te,suphsol:STe,suphsub:kTe,suplarr:PTe,supmult:TTe,supnE:RTe,supne:$Te,supplus:ETe,supset:ATe,Supset:ITe,supseteq:OTe,supseteqq:MTe,supsetneq:zTe,supsetneqq:DTe,supsim:LTe,supsub:FTe,supsup:BTe,swarhk:NTe,swarr:HTe,swArr:jTe,swarrow:VTe,swnwar:WTe,szlig:UTe,Tab:qTe,target:KTe,Tau:GTe,tau:YTe,tbrk:XTe,Tcaron:ZTe,tcaron:JTe,Tcedil:QTe,tcedil:eRe,Tcy:tRe,tcy:nRe,tdot:oRe,telrec:rRe,Tfr:iRe,tfr:aRe,there4:sRe,therefore:lRe,Therefore:cRe,Theta:uRe,theta:dRe,thetasym:fRe,thetav:hRe,thickapprox:pRe,thicksim:mRe,ThickSpace:gRe,ThinSpace:vRe,thinsp:bRe,thkap:yRe,thksim:xRe,THORN:CRe,thorn:wRe,tilde:_Re,Tilde:SRe,TildeEqual:kRe,TildeFullEqual:PRe,TildeTilde:TRe,timesbar:RRe,timesb:$Re,times:ERe,timesd:ARe,tint:IRe,toea:ORe,topbot:MRe,topcir:zRe,top:DRe,Topf:LRe,topf:FRe,topfork:BRe,tosa:NRe,tprime:HRe,trade:jRe,TRADE:VRe,triangle:WRe,triangledown:URe,triangleleft:qRe,trianglelefteq:KRe,triangleq:GRe,triangleright:YRe,trianglerighteq:XRe,tridot:ZRe,trie:JRe,triminus:QRe,TripleDot:e$e,triplus:t$e,trisb:n$e,tritime:o$e,trpezium:r$e,Tscr:i$e,tscr:a$e,TScy:s$e,tscy:l$e,TSHcy:c$e,tshcy:u$e,Tstrok:d$e,tstrok:f$e,twixt:h$e,twoheadleftarrow:p$e,twoheadrightarrow:m$e,Uacute:g$e,uacute:v$e,uarr:b$e,Uarr:y$e,uArr:x$e,Uarrocir:C$e,Ubrcy:w$e,ubrcy:_$e,Ubreve:S$e,ubreve:k$e,Ucirc:P$e,ucirc:T$e,Ucy:R$e,ucy:$$e,udarr:E$e,Udblac:A$e,udblac:I$e,udhar:O$e,ufisht:M$e,Ufr:z$e,ufr:D$e,Ugrave:L$e,ugrave:F$e,uHar:B$e,uharl:N$e,uharr:H$e,uhblk:j$e,ulcorn:V$e,ulcorner:W$e,ulcrop:U$e,ultri:q$e,Umacr:K$e,umacr:G$e,uml:Y$e,UnderBar:X$e,UnderBrace:Z$e,UnderBracket:J$e,UnderParenthesis:Q$e,Union:eEe,UnionPlus:tEe,Uogon:nEe,uogon:oEe,Uopf:rEe,uopf:iEe,UpArrowBar:aEe,uparrow:sEe,UpArrow:lEe,Uparrow:cEe,UpArrowDownArrow:uEe,updownarrow:dEe,UpDownArrow:fEe,Updownarrow:hEe,UpEquilibrium:pEe,upharpoonleft:mEe,upharpoonright:gEe,uplus:vEe,UpperLeftArrow:bEe,UpperRightArrow:yEe,upsi:xEe,Upsi:CEe,upsih:wEe,Upsilon:_Ee,upsilon:SEe,UpTeeArrow:kEe,UpTee:PEe,upuparrows:TEe,urcorn:REe,urcorner:$Ee,urcrop:EEe,Uring:AEe,uring:IEe,urtri:OEe,Uscr:MEe,uscr:zEe,utdot:DEe,Utilde:LEe,utilde:FEe,utri:BEe,utrif:NEe,uuarr:HEe,Uuml:jEe,uuml:VEe,uwangle:WEe,vangrt:UEe,varepsilon:qEe,varkappa:KEe,varnothing:GEe,varphi:YEe,varpi:XEe,varpropto:ZEe,varr:JEe,vArr:QEe,varrho:eAe,varsigma:tAe,varsubsetneq:nAe,varsubsetneqq:oAe,varsupsetneq:rAe,varsupsetneqq:iAe,vartheta:aAe,vartriangleleft:sAe,vartriangleright:lAe,vBar:cAe,Vbar:uAe,vBarv:dAe,Vcy:fAe,vcy:hAe,vdash:pAe,vDash:mAe,Vdash:gAe,VDash:vAe,Vdashl:bAe,veebar:yAe,vee:xAe,Vee:CAe,veeeq:wAe,vellip:_Ae,verbar:SAe,Verbar:kAe,vert:PAe,Vert:TAe,VerticalBar:RAe,VerticalLine:$Ae,VerticalSeparator:EAe,VerticalTilde:AAe,VeryThinSpace:IAe,Vfr:OAe,vfr:MAe,vltri:zAe,vnsub:DAe,vnsup:LAe,Vopf:FAe,vopf:BAe,vprop:NAe,vrtri:HAe,Vscr:jAe,vscr:VAe,vsubnE:WAe,vsubne:UAe,vsupnE:qAe,vsupne:KAe,Vvdash:GAe,vzigzag:YAe,Wcirc:XAe,wcirc:ZAe,wedbar:JAe,wedge:QAe,Wedge:e6e,wedgeq:t6e,weierp:n6e,Wfr:o6e,wfr:r6e,Wopf:i6e,wopf:a6e,wp:s6e,wr:l6e,wreath:c6e,Wscr:u6e,wscr:d6e,xcap:f6e,xcirc:h6e,xcup:p6e,xdtri:m6e,Xfr:g6e,xfr:v6e,xharr:b6e,xhArr:y6e,Xi:x6e,xi:C6e,xlarr:w6e,xlArr:_6e,xmap:S6e,xnis:k6e,xodot:P6e,Xopf:T6e,xopf:R6e,xoplus:$6e,xotime:E6e,xrarr:A6e,xrArr:I6e,Xscr:O6e,xscr:M6e,xsqcup:z6e,xuplus:D6e,xutri:L6e,xvee:F6e,xwedge:B6e,Yacute:N6e,yacute:H6e,YAcy:j6e,yacy:V6e,Ycirc:W6e,ycirc:U6e,Ycy:q6e,ycy:K6e,yen:G6e,Yfr:Y6e,yfr:X6e,YIcy:Z6e,yicy:J6e,Yopf:Q6e,yopf:e8e,Yscr:t8e,yscr:n8e,YUcy:o8e,yucy:r8e,yuml:i8e,Yuml:a8e,Zacute:s8e,zacute:l8e,Zcaron:c8e,zcaron:u8e,Zcy:d8e,zcy:f8e,Zdot:h8e,zdot:p8e,zeetrf:m8e,ZeroWidthSpace:g8e,Zeta:v8e,zeta:b8e,zfr:y8e,Zfr:x8e,ZHcy:C8e,zhcy:w8e,zigrarr:_8e,zopf:S8e,Zopf:k8e,Zscr:P8e,zscr:T8e,zwj:R8e,zwnj:$8e};var ES=E8e,km=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,qa={},o1={};function A8e(e){var t,n,o=o1[e];if(o)return o;for(o=o1[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=A8e(t),o=0,r=e.length;o=55296&&i<=57343){if(i>=55296&&i<=56319&&o+1=56320&&a<=57343)){l+=encodeURIComponent(e[o]+e[o+1]),o++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(e[o])}return l}ju.defaultChars=";/?:@&=+$,-_.!~*'()#";ju.componentChars="-_.!~*'()";var I8e=ju,r1={};function O8e(e){var t,n,o=r1[e];if(o)return o;for(o=r1[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),o.push(n);for(t=0;t=55296&&u<=57343?d+="���":d+=String.fromCharCode(u),r+=6;continue}if((a&248)===240&&r+91114111?d+="����":(u-=65536,d+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),r+=9;continue}d+="�"}return d})}Vu.defaultChars=";/?:@&=+$,#";Vu.componentChars="";var M8e=Vu,z8e=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 Dc(){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 D8e=/^([a-z0-9.+-]+:)/i,L8e=/:[0-9]*$/,F8e=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,B8e=["<",">",'"',"`"," ","\r",` -`," "],N8e=["{","}","|","\\","^","`"].concat(B8e),H8e=["'"].concat(N8e),i1=["%","/","?",";","#"].concat(H8e),a1=["/","?","#"],j8e=255,s1=/^[+a-z0-9A-Z_-]{0,63}$/,V8e=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,l1={javascript:!0,"javascript:":!0},c1={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function W8e(e,t){if(e&&e instanceof Dc)return e;var n=new Dc;return n.parse(e,t),n}Dc.prototype.parse=function(e,t){var n,o,r,i,a,s=e;if(s=s.trim(),!t&&e.split("#").length===1){var l=F8e.exec(s);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=D8e.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&&l1[c])&&(s=s.substr(2),this.slashes=!0)),!l1[c]&&(a||c&&!c1[c])){var u=-1;for(n=0;n127?m+="x":m+=b[x];if(!m.match(s1)){var _=g.slice(0,n),w=g.slice(n+1),C=b.match(V8e);C&&(_.push(C[1]),w.unshift(C[2])),w.length&&(s=w.join(".")+s),this.hostname=_.join(".");break}}}}this.hostname.length>j8e&&(this.hostname=""),h&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var y=s.indexOf("#");y!==-1&&(this.hash=s.substr(y),s=s.slice(0,y));var k=s.indexOf("?");return k!==-1&&(this.search=s.substr(k),s=s.slice(0,k)),s&&(this.pathname=s),c1[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Dc.prototype.parseHost=function(e){var t=L8e.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 U8e=W8e;qa.encode=I8e;qa.decode=M8e;qa.format=z8e;qa.parse=U8e;var ii={},Jd,u1;function AS(){return u1||(u1=1,Jd=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Jd}var Qd,d1;function IS(){return d1||(d1=1,Qd=/[\0-\x1F\x7F-\x9F]/),Qd}var ef,f1;function q8e(){return f1||(f1=1,ef=/[\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]/),ef}var tf,h1;function OS(){return h1||(h1=1,tf=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),tf}var p1;function K8e(){return p1||(p1=1,ii.Any=AS(),ii.Cc=IS(),ii.Cf=q8e(),ii.P=km,ii.Z=OS()),ii}(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,M){return o.call(B,M)}function i(B){var M=Array.prototype.slice.call(arguments,1);return M.forEach(function(D){if(D){if(typeof D!="object")throw new TypeError(D+"must be object");Object.keys(D).forEach(function(Y){B[Y]=D[Y]})}}),B}function a(B,M,D){return[].concat(B.slice(0,M),D,B.slice(M+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 M=55296+(B>>10),D=56320+(B&1023);return String.fromCharCode(M,D)}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=ES;function h(B,M){var D;return r(p,M)?p[M]:M.charCodeAt(0)===35&&f.test(M)&&(D=M[1].toLowerCase()==="x"?parseInt(M.slice(2),16):parseInt(M.slice(1),10),s(D))?l(D):B}function g(B){return B.indexOf("\\")<0?B:B.replace(c,"$1")}function b(B){return B.indexOf("\\")<0&&B.indexOf("&")<0?B:B.replace(d,function(M,D,Y){return D||h(M,Y)})}var m=/[&<>"]/,x=/[&<>"]/g,S={"&":"&","<":"<",">":">",'"':"""};function _(B){return S[B]}function w(B){return m.test(B)?B.replace(x,_):B}var C=/[.?*+^$[\]\\(){}|-]/g;function y(B){return B.replace(C,"\\$&")}function k(B){switch(B){case 9:case 32:return!0}return!1}function R(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 $=km;function I(B){return $.test(B)}function A(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 K(B){return B=B.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(B=B.replace(/ẞ/g,"ß")),B.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=qa,e.lib.ucmicro=K8e(),e.assign=i,e.isString=n,e.has=r,e.unescapeMd=g,e.unescapeAll=b,e.isValidEntityCode=s,e.fromCodePoint=l,e.escapeHtml=w,e.arrayReplaceAt=a,e.isSpace=k,e.isWhiteSpace=R,e.isMdAsciiPunct=A,e.isPunctChar=I,e.escapeRE=y,e.normalizeReference=K})(Bt);var Wu={},G8e=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=m1(t.slice(n,a)),s.pos=a,s.ok=!0),s},X8e=Bt.unescapeAll,Z8e=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"+Pi(i.content)+""};Go.code_block=function(e,t,n,o,r){var i=e[t];return""+Pi(e[t].content)+` -`};Go.fence=function(e,t,n,o,r){var i=e[t],a=i.info?Q8e(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)||Pi(i.content):c=Pi(i.content),c.indexOf("c.value===e.checkedValue),d=W(!1),f=W(!1),p=L(()=>{const{railStyle:k}=e;if(k)return k({focused:f.value,checked:u.value})});function h(k){const{"onUpdate:value":P,onChange:T,onUpdateValue:$}=e,{nTriggerFormInput:R,nTriggerFormChange:K}=r;P&&Ee(P,k),$&&Ee($,k),T&&Ee(T,k),s.value=k,R(),K()}function m(){const{nTriggerFormFocus:k}=r;k()}function v(){const{nTriggerFormBlur:k}=r;k()}function b(){e.loading||a.value||(c.value!==e.checkedValue?h(e.checkedValue):h(e.uncheckedValue))}function w(){f.value=!0,m()}function C(){f.value=!1,v(),d.value=!1}function S(k){e.loading||a.value||k.key===" "&&(c.value!==e.checkedValue?h(e.checkedValue):h(e.uncheckedValue),d.value=!1)}function _(k){e.loading||a.value||k.key===" "&&(k.preventDefault(),d.value=!0)}const x=L(()=>{const{value:k}=i,{self:{opacityDisabled:P,railColor:T,railColorActive:$,buttonBoxShadow:R,buttonColor:K,boxShadowFocus:H,loadingColor:D,textColor:M,iconColor:Y,[Te("buttonHeight",k)]:Q,[Te("buttonWidth",k)]:de,[Te("buttonWidthPressed",k)]:he,[Te("railHeight",k)]:B,[Te("railWidth",k)]:E,[Te("railBorderRadius",k)]:A,[Te("buttonBorderRadius",k)]:G},common:{cubicBezierEaseInOut:ne}}=o.value;let ye,J,xe;return is?(ye=`calc((${B} - ${Q}) / 2)`,J=`max(${B}, ${Q})`,xe=`max(${E}, calc(${E} + ${Q} - ${B}))`):(ye=zn((Sn(B)-Sn(Q))/2),J=zn(Math.max(Sn(B),Sn(Q))),xe=Sn(B)>Sn(Q)?E:zn(Sn(E)+Sn(Q)-Sn(B))),{"--n-bezier":ne,"--n-button-border-radius":G,"--n-button-box-shadow":R,"--n-button-color":K,"--n-button-width":de,"--n-button-width-pressed":he,"--n-button-height":Q,"--n-height":J,"--n-offset":ye,"--n-opacity-disabled":P,"--n-rail-border-radius":A,"--n-rail-color":T,"--n-rail-color-active":$,"--n-rail-height":B,"--n-rail-width":E,"--n-width":xe,"--n-box-shadow-focus":H,"--n-loading-color":D,"--n-text-color":M,"--n-icon-color":Y}}),y=n?kt("switch",L(()=>i.value[0]),x,e):void 0;return{handleClick:b,handleBlur:C,handleFocus:w,handleKeyup:S,handleKeydown:_,mergedRailStyle:p,pressed:d,mergedClsPrefix:t,mergedValue:c,checked:u,mergedDisabled:a,cssVars:n?void 0:x,themeClass:y==null?void 0:y.themeClass,onRender:y==null?void 0:y.onRender}},render(){const{mergedClsPrefix:e,mergedDisabled:t,checked:n,mergedRailStyle:o,onRender:r,$slots:i}=this;r==null||r();const{checked:a,unchecked:s,icon:l,"checked-icon":c,"unchecked-icon":u}=i,d=!(fa(l)&&fa(c)&&fa(u));return g("div",{role:"switch","aria-checked":n,class:[`${e}-switch`,this.themeClass,d&&`${e}-switch--icon`,n&&`${e}-switch--active`,t&&`${e}-switch--disabled`,this.round&&`${e}-switch--round`,this.loading&&`${e}-switch--loading`,this.pressed&&`${e}-switch--pressed`,this.rubberBand&&`${e}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},g("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:o},Et(a,f=>Et(s,p=>f||p?g("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},g("div",{class:`${e}-switch__rail-placeholder`},g("div",{class:`${e}-switch__button-placeholder`}),f),g("div",{class:`${e}-switch__rail-placeholder`},g("div",{class:`${e}-switch__button-placeholder`}),p)):null)),g("div",{class:`${e}-switch__button`},Et(l,f=>Et(c,p=>Et(u,h=>g(Ni,null,{default:()=>this.loading?g(Jr,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(p||f)?g("div",{class:`${e}-switch__button-icon`,key:p?"checked-icon":"icon"},p||f):!this.checked&&(h||f)?g("div",{class:`${e}-switch__button-icon`,key:h?"unchecked-icon":"icon"},h||f):null})))),Et(a,f=>f&&g("div",{key:"checked",class:`${e}-switch__checked`},f)),Et(s,f=>f&&g("div",{key:"unchecked",class:`${e}-switch__unchecked`},f)))))}}),LX=ge({name:"InjectionExtractor",props:{onSetup:Function},setup(e,{slots:t}){var n;return(n=e.onSetup)===null||n===void 0||n.call(e),()=>{var o;return(o=t.default)===null||o===void 0?void 0:o.call(t)}}}),FX={message:MY,notification:YY,loadingBar:gY,dialog:qU,modal:BY};function BX({providersAndProps:e,configProviderProps:t}){let o=Jy(()=>g(t2,we(t),{default:()=>e.map(({type:s,Provider:l,props:c})=>g(l,we(c),{default:()=>g(LX,{onSetup:()=>r[s]=FX[s]()})}))}));const r={app:o};let i;return dr&&(i=document.createElement("div"),document.body.appendChild(i),o.mount(i)),Object.assign({unmount:()=>{var s;if(o===null||i===null){ar("discrete","unmount call no need because discrete app has been unmounted");return}o.unmount(),(s=i.parentNode)===null||s===void 0||s.removeChild(i),i=null,o=null}},r)}function NX(e,{configProviderProps:t,messageProviderProps:n,dialogProviderProps:o,notificationProviderProps:r,loadingBarProviderProps:i,modalProviderProps:a}={}){const s=[];return e.forEach(c=>{switch(c){case"message":s.push({type:c,Provider:OY,props:n});break;case"notification":s.push({type:c,Provider:GY,props:r});break;case"dialog":s.push({type:c,Provider:UU,props:o});break;case"loadingBar":s.push({type:c,Provider:mY,props:i});break;case"modal":s.push({type:c,Provider:FY,props:a})}}),BX({providersAndProps:s,configProviderProps:t})}function HX(){const e=We(ko,null);return L(()=>{if(e===null)return bt;const{mergedThemeRef:{value:t},mergedThemeOverridesRef:{value:n}}=e,o=(t==null?void 0:t.common)||bt;return n!=null&&n.common?Object.assign({},o,n.common):o})}const jX=()=>({}),VX={name:"Equation",common:Ne,self:jX},WX=VX,UX={name:"FloatButtonGroup",common:Ne,self(e){const{popoverColor:t,dividerColor:n,borderRadius:o}=e;return{color:t,buttonBorderColor:n,borderRadiusSquare:o,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}}},qX=UX,kS={name:"dark",common:Ne,Alert:xH,Anchor:AH,AutoComplete:KH,Avatar:N_,AvatarGroup:JH,BackTop:ej,Badge:cj,Breadcrumb:pj,Button:Wn,ButtonGroup:Zq,Calendar:$j,Card:G_,Carousel:Vj,Cascader:hV,Checkbox:ja,Code:e2,Collapse:_V,CollapseTransition:PV,ColorPicker:Oj,DataTable:uW,DatePicker:SU,Descriptions:RU,Dialog:N2,Divider:XU,Drawer:nq,Dropdown:hm,DynamicInput:wq,DynamicTags:$q,Element:Iq,Empty:ji,Ellipsis:f2,Equation:WX,Flex:zq,Form:Bq,GradientText:Qq,Icon:FW,IconWrapper:UG,Image:qG,Input:uo,InputNumber:tK,LegacyTransfer:cY,Layout:aK,List:fK,LoadingBar:pK,Log:yK,Menu:PK,Mention:CK,Message:Yq,Modal:FU,Notification:Wq,PageHeader:EK,Pagination:c2,Popconfirm:OK,Popover:Wi,Popselect:n2,Progress:rS,QrCode:aX,Radio:m2,Rate:FK,Result:VK,Row:NG,Scrollbar:Vn,Select:a2,Skeleton:_X,Slider:qK,Space:Z2,Spin:XK,Statistic:QK,Steps:oG,Switch:iG,Table:fG,Tabs:gG,Tag:$_,Thing:yG,TimePicker:L2,Timeline:wG,Tooltip:Iu,Transfer:kG,Tree:lS,TreeSelect:EG,Typography:OG,Upload:DG,Watermark:FG,Split:OX,FloatButton:jG,FloatButtonGroup:qX},KX={"aria-hidden":"true",width:"1em",height:"1em"},GX=["xlink:href","fill"],YX=ge({__name:"SvgIcon",props:{icon:{type:String,required:!0},prefix:{type:String,default:"icon-custom"},color:{type:String,default:"currentColor"}},setup(e){const t=e,n=L(()=>`#${t.prefix}-${t.icon}`);return(o,r)=>(pe(),ze("svg",KX,[U("use",{"xlink:href":n.value,fill:e.color},null,8,GX)]))}}),Zs=(e,t={size:12})=>()=>g(mr,t,()=>g(qA,{icon:e})),PS=(e,t={size:12})=>()=>g(mr,t,()=>g(YX,{icon:e}));function XX(){var n,o;const e={default:ZX,blue:JX,black:QX,darkblue:eZ},t=((o=(n=window.settings)==null?void 0:n.theme)==null?void 0:o.color)||"default";return Object.prototype.hasOwnProperty.call(e,t)?e[t]:e.default}const ZX={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#316C72FF",primaryColorHover:"#316C72E3",primaryColorPressed:"#2B4C59FF",primaryColorSuppl:"#316C72E3",infoColor:"#316C72FF",infoColorHover:"#316C72E3",infoColorPressed:"#2B4C59FF",infoColorSuppl:"#316C72E3",successColor:"#18A058FF",successColorHover:"#36AD6AFF",successColorPressed:"#0C7A43FF",successColorSuppl:"#36AD6AFF",warningColor:"#F0A020FF",warningColorHover:"#FCB040FF",warningColorPressed:"#C97C10FF",warningColorSuppl:"#FCB040FF",errorColor:"#D03050FF",errorColorHover:"#DE576DFF",errorColorPressed:"#AB1F3FFF",errorColorSuppl:"#DE576DFF"}}},JX={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#0665d0",primaryColorHover:"#2a84de",primaryColorPressed:"#004085",primaryColorSuppl:"#0056b3",infoColor:"#0665d0",infoColorHover:"#2a84de",infoColorPressed:"#0c5460",infoColorSuppl:"#004085",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},QX={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#343a40",primaryColorHover:"#23272b",primaryColorPressed:"#1d2124",primaryColorSuppl:"#23272b",infoColor:"#343a40",infoColorHover:"#23272b",infoColorPressed:"#1d2124",infoColorSuppl:"#23272b",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},eZ={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#004175",primaryColorHover:"#002c4c",primaryColorPressed:"#001f35",primaryColorSuppl:"#002c4c",infoColor:"#004175",infoColorHover:"#002c4c",infoColorPressed:"#001f35",infoColorSuppl:"#002c4c",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},{header:tZ,tags:bBe,naiveThemeOverrides:Eh}=XX();function Fu(e){return Lh()?(Z1(e),!0):!1}function Co(e){return typeof e=="function"?e():we(e)}const TS=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const nZ=e=>e!=null,oZ=Object.prototype.toString,rZ=e=>oZ.call(e)==="[object Object]",RS=()=>{};function iZ(e,t){function n(...o){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(r).catch(i)})}return n}const ES=e=>e();function aZ(e=ES){const t=W(!0);function n(){t.value=!1}function o(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:io(t),pause:n,resume:o,eventFilter:r}}function sZ(e){return e||Jn()}function lZ(...e){if(e.length!==1)return Ve(...e);const t=e[0];return typeof t=="function"?io($3(()=>({get:t,set:RS}))):W(t)}function cZ(e,t,n={}){const{eventFilter:o=ES,...r}=n;return ft(e,iZ(o,t),r)}function uZ(e,t,n={}){const{eventFilter:o,...r}=n,{eventFilter:i,pause:a,resume:s,isActive:l}=aZ(o);return{stop:cZ(e,t,{...r,eventFilter:i}),pause:a,resume:s,isActive:l}}function $S(e,t=!0,n){sZ()?jt(e,n):t?e():Ht(e)}function dZ(e=!1,t={}){const{truthyValue:n=!0,falsyValue:o=!1}=t,r=cn(e),i=W(e);function a(s){if(arguments.length)return i.value=s,i.value;{const l=Co(n);return i.value=i.value===l?Co(o):l,i.value}}return r?a:[i,a]}function Ta(e){var t;const n=Co(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Vr=TS?window:void 0,fZ=TS?window.document:void 0;function Lc(...e){let t,n,o,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,r]=e,t=Vr):[t,n,o,r]=e,!t)return RS;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const i=[],a=()=>{i.forEach(u=>u()),i.length=0},s=(u,d,f,p)=>(u.addEventListener(d,f,p),()=>u.removeEventListener(d,f,p)),l=ft(()=>[Ta(t),Co(r)],([u,d])=>{if(a(),!u)return;const f=rZ(d)?{...d}:d;i.push(...n.flatMap(p=>o.map(h=>s(u,p,h,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),a()};return Fu(c),c}function hZ(){const e=W(!1),t=Jn();return t&&jt(()=>{e.value=!0},t),e}function Pm(e){const t=hZ();return L(()=>(t.value,!!e()))}function pZ(e,t={}){const{window:n=Vr}=t,o=Pm(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=W(!1),a=c=>{i.value=c.matches},s=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",a):r.removeListener(a))},l=Yt(()=>{o.value&&(s(),r=n.matchMedia(Co(e)),"addEventListener"in r?r.addEventListener("change",a):r.addListener(a),i.value=r.matches)});return Fu(()=>{l(),s(),r=void 0}),i}const ql=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Kl="__vueuse_ssr_handlers__",mZ=gZ();function gZ(){return Kl in ql||(ql[Kl]=ql[Kl]||{}),ql[Kl]}function AS(e,t){return mZ[e]||t}function vZ(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const bZ={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},t1="vueuse-storage";function yZ(e,t,n,o={}){var r;const{flush:i="pre",deep:a=!0,listenToStorageChanges:s=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:d=Vr,eventFilter:f,onError:p=T=>{console.error(T)},initOnMounted:h}=o,m=(u?Ra:W)(typeof t=="function"?t():t);if(!n)try{n=AS("getDefaultStorage",()=>{var T;return(T=Vr)==null?void 0:T.localStorage})()}catch(T){p(T)}if(!n)return m;const v=Co(t),b=vZ(v),w=(r=o.serializer)!=null?r:bZ[b],{pause:C,resume:S}=uZ(m,()=>x(m.value),{flush:i,deep:a,eventFilter:f});d&&s&&$S(()=>{Lc(d,"storage",k),Lc(d,t1,P),h&&k()}),h||k();function _(T,$){d&&d.dispatchEvent(new CustomEvent(t1,{detail:{key:e,oldValue:T,newValue:$,storageArea:n}}))}function x(T){try{const $=n.getItem(e);if(T==null)_($,null),n.removeItem(e);else{const R=w.write(T);$!==R&&(n.setItem(e,R),_($,R))}}catch($){p($)}}function y(T){const $=T?T.newValue:n.getItem(e);if($==null)return l&&v!=null&&n.setItem(e,w.write(v)),v;if(!T&&c){const R=w.read($);return typeof c=="function"?c(R,v):b==="object"&&!Array.isArray(R)?{...v,...R}:R}else return typeof $!="string"?$:w.read($)}function k(T){if(!(T&&T.storageArea!==n)){if(T&&T.key==null){m.value=v;return}if(!(T&&T.key!==e)){C();try{(T==null?void 0:T.newValue)!==w.write(m.value)&&(m.value=y(T))}catch($){p($)}finally{T?Ht(S):S()}}}}function P(T){k(T.detail)}return m}function IS(e){return pZ("(prefers-color-scheme: dark)",e)}function xZ(e={}){const{selector:t="html",attribute:n="class",initialValue:o="auto",window:r=Vr,storage:i,storageKey:a="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},f=IS({window:r}),p=L(()=>f.value?"dark":"light"),h=l||(a==null?lZ(o):yZ(a,o,i,{window:r,listenToStorageChanges:s})),m=L(()=>h.value==="auto"?p.value:h.value),v=AS("updateHTMLAttrs",(S,_,x)=>{const y=typeof S=="string"?r==null?void 0:r.document.querySelector(S):Ta(S);if(!y)return;let k;if(u){k=r.document.createElement("style");const P="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";k.appendChild(document.createTextNode(P)),r.document.head.appendChild(k)}if(_==="class"){const P=x.split(/\s/g);Object.values(d).flatMap(T=>(T||"").split(/\s/g)).filter(Boolean).forEach(T=>{P.includes(T)?y.classList.add(T):y.classList.remove(T)})}else y.setAttribute(_,x);u&&(r.getComputedStyle(k).opacity,document.head.removeChild(k))});function b(S){var _;v(t,n,(_=d[S])!=null?_:S)}function w(S){e.onChanged?e.onChanged(S,b):b(S)}ft(m,w,{flush:"post",immediate:!0}),$S(()=>w(m.value));const C=L({get(){return c?h.value:m.value},set(S){h.value=S}});try{return Object.assign(C,{store:h,system:p,state:m})}catch{return C}}function CZ(e,t,n={}){const{window:o=Vr,...r}=n;let i;const a=Pm(()=>o&&"MutationObserver"in o),s=()=>{i&&(i.disconnect(),i=void 0)},l=L(()=>{const f=Co(e),p=(Array.isArray(f)?f:[f]).map(Ta).filter(nZ);return new Set(p)}),c=ft(()=>l.value,f=>{s(),a.value&&o&&f.size&&(i=new MutationObserver(t),f.forEach(p=>i.observe(p,r)))},{immediate:!0,flush:"post"}),u=()=>i==null?void 0:i.takeRecords(),d=()=>{s(),c()};return Fu(d),{isSupported:a,stop:d,takeRecords:u}}function wZ(e,t,n={}){const{window:o=Vr,initialValue:r="",observe:i=!1}=n,a=W(r),s=L(()=>{var c;return Ta(t)||((c=o==null?void 0:o.document)==null?void 0:c.documentElement)});function l(){var c;const u=Co(e),d=Co(s);if(d&&o){const f=(c=o.getComputedStyle(d).getPropertyValue(u))==null?void 0:c.trim();a.value=f||r}}return i&&CZ(s,l,{attributeFilter:["style","class"],window:o}),ft([s,()=>Co(e)],l,{immediate:!0}),ft(a,c=>{var u;(u=s.value)!=null&&u.style&&s.value.style.setProperty(Co(e),c)}),a}function OS(e={}){const{valueDark:t="dark",valueLight:n="",window:o=Vr}=e,r=xZ({...e,onChanged:(s,l)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,s==="dark",l,s):l(s)},modes:{dark:t,light:n}}),i=L(()=>r.system?r.system.value:IS({window:o}).value?"dark":"light");return L({get(){return r.value==="dark"},set(s){const l=s?"dark":"light";i.value===l?r.value="auto":r.value=l}})}const n1=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function _Z(e,t={}){const{document:n=fZ,autoExit:o=!1}=t,r=L(()=>{var b;return(b=Ta(e))!=null?b:n==null?void 0:n.querySelector("html")}),i=W(!1),a=L(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(b=>n&&b in n||r.value&&b in r.value)),s=L(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(b=>n&&b in n||r.value&&b in r.value)),l=L(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(b=>n&&b in n||r.value&&b in r.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(b=>n&&b in n),u=Pm(()=>r.value&&n&&a.value!==void 0&&s.value!==void 0&&l.value!==void 0),d=()=>c?(n==null?void 0:n[c])===r.value:!1,f=()=>{if(l.value){if(n&&n[l.value]!=null)return n[l.value];{const b=r.value;if((b==null?void 0:b[l.value])!=null)return!!b[l.value]}}return!1};async function p(){if(!(!u.value||!i.value)){if(s.value)if((n==null?void 0:n[s.value])!=null)await n[s.value]();else{const b=r.value;(b==null?void 0:b[s.value])!=null&&await b[s.value]()}i.value=!1}}async function h(){if(!u.value||i.value)return;f()&&await p();const b=r.value;a.value&&(b==null?void 0:b[a.value])!=null&&(await b[a.value](),i.value=!0)}async function m(){await(i.value?p():h())}const v=()=>{const b=f();(!b||b&&d())&&(i.value=b)};return Lc(n,n1,v,!1),Lc(()=>Ta(r),n1,v,!1),o&&Fu(p),{isSupported:u,isFullscreen:i,enter:h,exit:p,toggle:m}}const Pn=au("app",{state(){var e,t,n,o,r,i,a;return{collapsed:window.innerWidth<768,isDark:OS(),title:(e=window.settings)==null?void 0:e.title,assets_path:(t=window.settings)==null?void 0:t.assets_path,theme:(n=window.settings)==null?void 0:n.theme,version:(o=window.settings)==null?void 0:o.version,background_url:(r=window.settings)==null?void 0:r.background_url,description:(i=window.settings)==null?void 0:i.description,logo:(a=window.settings)==null?void 0:a.logo,lang:gu().value||"zh-CN",appConfig:{}}},actions:{async getConfig(){const{data:e}=await DZ();e&&(this.appConfig=e)},switchCollapsed(){this.collapsed=!this.collapsed},setCollapsed(e){this.collapsed=e},setDark(e){this.isDark=e},toggleDark(){this.isDark=!this.isDark},async switchLang(e){xC(e),location.reload()}}});function SZ(e){let t=null;class n{removeMessage(r=t,i=2e3){setTimeout(()=>{r&&(r.destroy(),r=null)},i)}showMessage(r,i,a={}){if(t&&t.type==="loading")t.type=r,t.content=i,r!=="loading"&&this.removeMessage(t,a.duration);else{const s=e[r](i,a);r==="loading"&&(t=s)}}loading(r){this.showMessage("loading",r,{duration:0})}success(r,i={}){this.showMessage("success",r,i)}error(r,i={}){this.showMessage("error",r,i)}info(r,i={}){this.showMessage("info",r,i)}warning(r,i={}){this.showMessage("warning",r,i)}}return new n}function kZ(e){return e.confirm=function(t={}){const n=!wC(t.title);return new Promise(o=>{e[t.type||"warning"]({showIcon:n,positiveText:gn.global.t("确定"),negativeText:gn.global.t("取消"),onPositiveClick:()=>{t.confirm&&t.confirm(),o(!0)},onNegativeClick:()=>{t.cancel&&t.cancel(),o(!1)},onMaskClick:()=>{t.cancel&&t.cancel(),o(!1)},...t})})},e}function PZ(){const e=Pn(),t=L(()=>({theme:e.isDark?kS:void 0,themeOverrides:Eh})),{message:n,dialog:o,notification:r,loadingBar:i}=NX(["message","dialog","notification","loadingBar"],{configProviderProps:t});window.$loadingBar=i,window.$notification=r,window.$message=SZ(n),window.$dialog=kZ(o)}const TZ="access_token",RZ=6*60*60;function Jd(e){nl.set(TZ,e,RZ)}function EZ(e){if(e.method==="get"&&(e.params={...e.params,t:new Date().getTime()}),AR(e))return e;const t=Hx();return t.value?(e.headers.Authorization=e.headers.Authorization||t.value,e.headers["Content-Language"]=gu().value||"zh-CN",e):(dp(),Promise.reject({code:"-1",message:"未登录"}))}function $Z(e){return Promise.reject(e)}function AZ(e){return Promise.resolve((e==null?void 0:e.data)||{code:-1,message:"未知错误"})}function IZ(e){var i;const t=((i=e.response)==null?void 0:i.data)||{code:-1,message:"未知错误"};let n=t.message;const{code:o,errors:r}=t;switch(o){case 401:n=n||"登录已过期";break;case 403:n=n||"没有权限";break;case 404:n=n||"资源或接口不存在";break;default:n=n||"未知异常"}return window.$message.error(n),Promise.resolve({code:o,message:n,errors:r})}function OZ(e={}){const t={headers:{"Content-Type":"application/x-www-form-urlencoded"},timeout:12e3},n=ER.create({...t,...e});return n.interceptors.request.use(EZ,$Z),n.interceptors.response.use(AZ,IZ),n}const wt=OZ({baseURL:MZ()});function MZ(){let e=zZ(window.routerBase||"/")+"api/v1";return/^https?:\/\//.test(e)||(e=window.location.origin+e),e}function zZ(e){return e.endsWith("/")?e:"/"+e}function DZ(){return wt.get("/user/comm/config")}function LZ(){return wt.get("/user/info")}function FZ(){return wt.get("/user/getStat")}function BZ(){return wt.get("/user/getSubscribe")}function NZ(){return wt.get("/user/notice/fetch")}function HZ(){return wt.get("/user/plan/fetch")}function MS(){return wt.get("/user/server/fetch")}function Tm(){return wt.get("/user/order/fetch")}function jZ(e){return wt.get("/user/order/detail?trade_no="+e)}function Bu(e){return wt.post("/user/order/cancel",{trade_no:e})}function VZ(e){return wt.get("/user/order/check?trade_no="+e)}function WZ(){return wt.get("/user/invite/fetch")}function UZ(e=1,t=10){return wt.get(`/user/invite/details?current=${e}&page_size=${t}`)}function qZ(){return wt.get("/user/invite/save")}function KZ(e){return wt.post("/user/transfer",{transfer_amount:e})}function GZ(e){return wt.post("/user/ticket/withdraw",e)}function o1(e){return wt.post("/user/update",e)}function YZ(e,t){return wt.post("/user/changePassword",{old_password:e,new_password:t})}function XZ(){return wt.get("/user/resetSecurity")}function ZZ(){return wt.get("/user/stat/getTrafficLog")}function JZ(){return wt.get("/user/order/getPaymentMethod")}function zS(e,t,n){return wt.post("/user/order/save",{plan_id:e,period:t,coupon_code:n})}function QZ(e,t){return wt.post("/user/order/checkout",{trade_no:e,method:t})}function eJ(e){return wt.get("/user/plan/fetch?id="+e)}function tJ(e,t){return wt.post("/user/coupon/check",{code:e,plan_id:t})}function nJ(){return wt.get("/user/ticket/fetch")}function oJ(e,t,n){return wt.post("/user/ticket/save",{subject:e,level:t,message:n})}function rJ(e){return wt.post("/user/ticket/close",{id:e})}function iJ(e){return wt.get("/user/ticket/fetch?id="+e)}function aJ(e,t){return wt.post("/user/ticket/reply",{id:e,message:t})}function sJ(e="",t="zh-CN"){return wt.get(`/user/knowledge/fetch?keyword=${e}&language=${t}`)}function lJ(e,t="zh-CN"){return wt.get(`/user/knowledge/fetch?id=${e}&language=${t}`)}function cJ(){return wt.get("user/telegram/getBotInfo")}const Ki=au("user",{state:()=>({userInfo:{}}),getters:{userUUID(){var e;return(e=this.userInfo)==null?void 0:e.uuid},email(){var e;return(e=this.userInfo)==null?void 0:e.email},avatar(){return this.userInfo.avatar_url??""},role(){return[]},remind_expire(){return this.userInfo.remind_expire},remind_traffic(){return this.userInfo.remind_traffic},balance(){return this.userInfo.balance},plan_id(){return this.userInfo.plan_id},expired_at(){return this.userInfo.expired_at},plan(){return this.userInfo.plan},subscribe(){return this.userInfo.subscribe}},actions:{async getUserInfo(){try{const e=await LZ(),{data:t}=e;return t?(this.userInfo=t,t):Promise.reject(e)}catch(e){return Promise.reject(e)}},async getUserSubscribe(){try{const e=await BZ(),{data:t}=e;return t?(this.userInfo.subscribe=t,this.userInfo.plan=t.plan,t):Promise.reject(e)}catch(e){return Promise.reject(e)}},async logout(){jx(),this.userInfo={},dp()},setUserInfo(e){this.userInfo={...this.userInfo,...e}}}});function uJ(e,t){var o,r;if(!((o=e.meta)!=null&&o.requireAuth))return!0;const n=((r=e.meta)==null?void 0:r.role)||[];return!t.length||!n.length?!1:t.some(i=>n.includes(i))}function DS(e,t){const n=[];return e.forEach(o=>{if(uJ(o,t)){const r={...o,children:[]};o.children&&o.children.length?r.children=DS(o.children,t):Reflect.deleteProperty(r,"children"),n.push(r)}}),n}const LS=au("permission",{state(){return{accessRoutes:[]}},getters:{routes(){return ux.concat(JSON.parse(JSON.stringify(this.accessRoutes)))},menus(){return this.routes.filter(e=>{var t;return e.name&&!((t=e.meta)!=null&&t.isHidden)})}},actions:{generateRoutes(e){const t=DS(dx,e);return this.accessRoutes=t,t}}}),dJ=yc.get("activeTag"),fJ=yc.get("tags"),hJ=["/404","/login"],pJ=au({id:"tag",state:()=>{const e=W(fJ.value),t=W(dJ.value),n=W(!1);return{tags:e,activeTag:t,reloading:n}},getters:{activeIndex:e=>()=>e.tags.findIndex(t=>t.path===e.activeTag)},actions:{setActiveTag(e){this.activeTag=e,yc.set("activeTag",e)},setTags(e){this.tags=e,yc.set("tags",e)},addTag(e={}){if(hJ.includes(e.path))return;let t=this.tags.find(n=>n.path===e.path);t?t=e:this.setTags([...this.tags,e]),this.setActiveTag(e.path)},async reloadTag(e,t){let n=this.tags.find(o=>o.path===e);n?t&&(n.keepAlive=!1):(n={path:e,keepAlive:!1},this.tags.push(n)),window.$loadingBar.start(),this.reloading=!0,await Ht(),this.reloading=!1,n.keepAlive=t,setTimeout(()=>{document.documentElement.scrollTo({left:0,top:0}),window.$loadingBar.finish()},100)},removeTag(e){this.setTags(this.tags.filter(t=>t.path!==e)),e===this.activeTag&&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 mJ(e){e.use(a5())}const gJ=["/login","/register","/forgetpassword"];function vJ(e){const t=Ki(),n=LS();e.beforeEach(async(o,r,i)=>{var s;Hx().value?o.path==="/login"?i({path:((s=o.query.redirect)==null?void 0:s.toString())??"/dashboard"}):t.userUUID?i():(await Promise.all([Pn().getConfig(),t.getUserInfo().catch(c=>{jx(),dp(),window.$message.error(c.message||"获取用户信息失败!")})]),n.generateRoutes(t.role).forEach(c=>{c.name&&!e.hasRoute(c.name)&&e.addRoute(c)}),e.addRoute(n5),i({...o,replace:!0})):gJ.includes(o.path)?i():i({path:"/login"})})}function bJ(e){o5(e),vJ(e),r5(e)}const Jt=kT({history:eT("/"),routes:ux,scrollBehavior:()=>({left:0,top:0})});function yJ(e){e.use(Jt),bJ(Jt)}const xJ=ge({__name:"AppProvider",setup(e){const t=Pn(),n={"zh-CN":[UL,v0],"en-US":[d_,h_],"fa-IR":[n9,FB],"ko-KR":[JL,X7],"vi-VN":[e9,DB],"zh-TW":[KL,v0],"ja-JP":[XL,f7]};function o(){const r=Eh.common;for(const i in r)wZ(`--${LL(i)}`,document.documentElement).value=r[i]||"",i==="primaryColor"&&window.localStorage.setItem("__THEME_COLOR__",r[i]||"")}return o(),(r,i)=>{const a=t2;return pe(),qe(a,{"wh-full":"",locale:n[we(t).lang][0],"date-locale":n[we(t).lang][1],theme:we(t).isDark?we(kS):void 0,"theme-overrides":we(Eh)},{default:ce(()=>[Qc(r.$slots,"default")]),_:3},8,["locale","date-locale","theme","theme-overrides"])}}}),CJ=ge({__name:"App",setup(e){const t=Ki();return Yt(()=>{const{balance:o,plan:r,expired_at:i,subscribe:a,email:s}=t;if(window.$crisp&&s){const l=[["Balance",(o/100).toString()],...r!=null&&r.name?[["Plan",r.name]]:[],["ExpireTime",Ho(i)],["UsedTraffic",xs(((a==null?void 0:a.u)||0)+((a==null?void 0:a.d)||0))],["AllTraffic",xs(a==null?void 0:a.transfer_enable)]];window.$crisp.push(["set","user:email",s]),window.$crisp.push(["set","session:data",[l]])}}),(o,r)=>{const i=Gc("router-view");return pe(),qe(xJ,null,{default:ce(()=>[ie(i,null,{default:ce(({Component:a})=>[(pe(),qe(Yc(a)))]),_:1})]),_:1})}}}),Nu=Jy(CJ);mJ(Nu);PZ();yJ(Nu);j$(Nu);Nu.mount("#app");const wJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},_J=U("path",{fill:"currentColor",d:"M6.225 4.811a1 1 0 0 0-1.414 1.414L10.586 12L4.81 17.775a1 1 0 1 0 1.414 1.414L12 13.414l5.775 5.775a1 1 0 0 0 1.414-1.414L13.414 12l5.775-5.775a1 1 0 0 0-1.414-1.414L12 10.586z"},null,-1),SJ=[_J];function kJ(e,t){return pe(),ze("svg",wJ,[...SJ])}const FS={name:"gg-close",render:kJ},PJ={"h-60":"","f-c-c":""},TJ=["src"],RJ=ge({__name:"SideLogo",setup(e){const t=Pn();return(n,o)=>{const r=FS,i=zt;return pe(),ze("div",PJ,[we(t).logo?(pe(),ze("img",{key:0,src:we(t).logo,height:"30"},null,8,TJ)):pt("",!0),dn(U("h2",{"ml-10":"","max-w-140":"","flex-shrink-0":"","text-16":"","font-bold":"","color-primary":""},le(we(t).title),513),[[Mn,!we(t).collapsed]]),ie(i,{onClick:[o[0]||(o[0]=vP(()=>{},["stop"])),we(t).switchCollapsed],class:"absolute right-15 h-auto p-0 md:hidden",tertiary:"",size:"medium"},{icon:ce(()=>[ie(r,{class:"cursor-pointer opacity-85"})]),_:1},8,["onClick"])])}}}),EJ=ge({__name:"SideMenu",setup(e){const t=Pn(),n=h=>gn.global.t(h);function o(){window.innerWidth<=950&&(t.collapsed=!0)}const r=cx(),i=Aa(),a=LS(),s=L(()=>{var h;return((h=i.meta)==null?void 0:h.activeMenu)||i.name}),l=L(()=>a.menus.reduce((v,b)=>{var C,S,_,x;const w=d(b);if((S=(C=w.meta)==null?void 0:C.group)!=null&&S.key){const y=w.meta.group.key,k=v.findIndex(P=>P.key===y);if(k!==-1)(_=v[k].children)==null||_.push(w),v[k].children=(x=v[k].children)==null?void 0:x.sort((P,T)=>P.order-T.order);else{const P={type:"group",label:n(w.meta.group.label||""),key:y,children:[w]};v.push(P)}}else v.push(w);return v.sort((y,k)=>y.order-k.order)},[]).sort((v,b)=>v.type==="group"&&b.type!=="group"?1:v.type!=="group"&&b.type==="group"?-1:v.order-b.order));function c(h,m){return Fv(m)?m:"/"+[h,m].filter(v=>!!v&&v!=="/").map(v=>v.replace(/(^\/)|(\/$)/g,"")).join("/")}function u(h,m){var b;const v=((b=h.children)==null?void 0:b.filter(w=>{var C;return w.name&&!((C=w.meta)!=null&&C.isHidden)}))||[];return v.length===1?d(v[0],m):v.length>1?{children:v.map(w=>d(w,m)).sort((w,C)=>w.order-C.order)}:null}function d(h,m=""){const{title:v,order:b}=h.meta||{title:"",order:0},{name:w,path:C}=h,S=v||w||"",_=w||"",x=f(h.meta),y=b||0,k=h.meta;let P={label:n(S),key:_,path:c(m,C),icon:x!==null?x:void 0,meta:k,order:y};const T=u(h,P.path);return T&&(P={...P,...T}),P}function f(h){return h!=null&&h.customIcon?PS(h.customIcon,{size:18}):h!=null&&h.icon?Zs(h.icon,{size:18}):null}function p(h,m){Fv(m.path)?window.open(m.path):r.push(m.path)}return(h,m)=>{const v=PY;return pe(),qe(v,{ref:"menu",class:"side-menu",accordion:"","root-indent":18,indent:0,"collapsed-icon-size":22,"collapsed-width":60,options:l.value,value:s.value,"onUpdate:value":p,onClick:m[0]||(m[0]=b=>o())},null,8,["options","value"])}}}),r1=ge({__name:"index",setup(e){return(t,n)=>(pe(),ze(rt,null,[ie(RJ),ie(EJ)],64))}}),$J=ge({__name:"AppMain",setup(e){const t=pJ();return(n,o)=>{const r=Gc("router-view");return pe(),qe(r,null,{default:ce(({Component:i,route:a})=>[we(t).reloading?pt("",!0):(pe(),qe(Yc(i),{key:a.fullPath}))]),_:1})}}}),AJ=ge({__name:"BreadCrumb",setup(e){const t=Aa();function n(o){return o!=null&&o.customIcon?PS(o.customIcon,{size:18}):o!=null&&o.icon?Zs(o.icon,{size:18}):null}return(o,r)=>{const i=xj,a=vj;return pe(),qe(a,null,{default:ce(()=>[(pe(!0),ze(rt,null,Hn(we(t).matched.filter(s=>{var l;return!!((l=s.meta)!=null&&l.title)}),s=>(pe(),qe(i,{key:s.path},{default:ce(()=>[(pe(),qe(Yc(n(s.meta)))),nt(" "+le(o.$t(s.meta.title)),1)]),_:2},1024))),128))]),_:1})}}}),IJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},OJ=U("path",{fill:"currentColor",d:"M11 13h10v-2H11m0-2h10V7H11M3 3v2h18V3M3 21h18v-2H3m0-7l4 4V8m4 9h10v-2H11z"},null,-1),MJ=[OJ];function zJ(e,t){return pe(),ze("svg",IJ,[...MJ])}const DJ={name:"mdi-format-indent-decrease",render:zJ},LJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},FJ=U("path",{fill:"currentColor",d:"M11 13h10v-2H11m0-2h10V7H11M3 3v2h18V3M11 17h10v-2H11M3 8v8l4-4m-4 9h18v-2H3z"},null,-1),BJ=[FJ];function NJ(e,t){return pe(),ze("svg",LJ,[...BJ])}const HJ={name:"mdi-format-indent-increase",render:NJ},jJ=ge({__name:"MenuCollapse",setup(e){const t=Pn();return(n,o)=>{const r=HJ,i=DJ,a=mr;return pe(),qe(a,{size:"20","cursor-pointer":"",onClick:we(t).switchCollapsed},{default:ce(()=>[we(t).collapsed?(pe(),qe(r,{key:0})):(pe(),qe(i,{key:1}))]),_:1},8,["onClick"])}}}),VJ={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},WJ=U("path",{fill:"currentColor",d:"m290 236.4l43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6l43.7 43.7a8.01 8.01 0 0 0 13.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 0 0 0 11.3zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9zm-463.7-94.6a8.03 8.03 0 0 0-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6L423.7 654c3.1-3.1 3.1-8.2 0-11.3z"},null,-1),UJ=[WJ];function qJ(e,t){return pe(),ze("svg",VJ,[...UJ])}const KJ={name:"ant-design-fullscreen-outlined",render:qJ},GJ={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},YJ=U("path",{fill:"currentColor",d:"M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 0 0 0 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 0 0 391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8m221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6L877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 0 0-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9M744 690.4l43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3z"},null,-1),XJ=[YJ];function ZJ(e,t){return pe(),ze("svg",GJ,[...XJ])}const JJ={name:"ant-design-fullscreen-exit-outlined",render:ZJ},QJ=ge({__name:"FullScreen",setup(e){const{isFullscreen:t,toggle:n}=_Z();return(o,r)=>{const i=JJ,a=KJ,s=mr;return pe(),qe(s,{mr20:"",size:"18",style:{cursor:"pointer"},onClick:we(n)},{default:ce(()=>[we(t)?(pe(),qe(i,{key:0})):(pe(),qe(a,{key:1}))]),_:1},8,["onClick"])}}}),eQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},tQ=U("path",{fill:"currentColor",d:"M15.88 9.29L12 13.17L8.12 9.29a.996.996 0 1 0-1.41 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 0 0-1.41c-.39-.38-1.03-.39-1.42 0"},null,-1),nQ=[tQ];function oQ(e,t){return pe(),ze("svg",eQ,[...nQ])}const rQ={name:"ic-round-expand-more",render:oQ},iQ={class:"inline-block",viewBox:"0 0 32 32",width:"1em",height:"1em"},aQ=U("path",{fill:"none",d:"M8.007 24.93A4.996 4.996 0 0 1 13 20h6a4.996 4.996 0 0 1 4.993 4.93a11.94 11.94 0 0 1-15.986 0M20.5 12.5A4.5 4.5 0 1 1 16 8a4.5 4.5 0 0 1 4.5 4.5"},null,-1),sQ=U("path",{fill:"currentColor",d:"M26.749 24.93A13.99 13.99 0 1 0 2 16a13.899 13.899 0 0 0 3.251 8.93l-.02.017c.07.084.15.156.222.239c.09.103.187.2.28.3c.28.304.568.596.87.87c.092.084.187.162.28.242c.32.276.649.538.99.782c.044.03.084.069.128.1v-.012a13.901 13.901 0 0 0 16 0v.012c.044-.031.083-.07.128-.1c.34-.245.67-.506.99-.782c.093-.08.188-.159.28-.242c.302-.275.59-.566.87-.87c.093-.1.189-.197.28-.3c.071-.083.152-.155.222-.24ZM16 8a4.5 4.5 0 1 1-4.5 4.5A4.5 4.5 0 0 1 16 8M8.007 24.93A4.996 4.996 0 0 1 13 20h6a4.996 4.996 0 0 1 4.993 4.93a11.94 11.94 0 0 1-15.986 0"},null,-1),lQ=[aQ,sQ];function cQ(e,t){return pe(),ze("svg",iQ,[...lQ])}const uQ={name:"carbon-user-avatar-filled",render:cQ},dQ={class:"hidden md:block"},fQ=ge({__name:"UserAvatar",setup(e){const t=Ki(),n=i=>gn.global.t(i),o=[{label:n("个人中心"),key:"profile",icon:Zs("mdi-account-outline",{size:14})},{label:n("登出"),key:"logout",icon:Zs("mdi:exit-to-app",{size:14})}];function r(i){i==="logout"&&window.$dialog.confirm({title:n("提示"),type:"info",content:n("确认退出?"),confirm(){t.logout(),window.$message.success(n("已退出登录"))}}),i==="profile"&&Jt.push("/profile")}return(i,a)=>{const s=uQ,l=rQ,c=zt,u=gm;return pe(),qe(u,{options:o,onSelect:r},{default:ce(()=>[ie(c,{text:"",flex:"","cursor-pointer":"","items-center":""},{default:ce(()=>[ie(s,{class:"mr-0 h-20 w-20 rounded-full md:mr10 md:h-30 md:w-30"}),ie(l,{class:"h-20 w-20 md:hidden"}),U("span",dQ,le(we(t).email),1)]),_:1})]),_:1})}}}),hQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},pQ=U("path",{fill:"currentColor",d:"M11.4 18.4H.9a.9.9 0 0 1-.9-.9V7.3a.9.9 0 0 1 .9-.9h10.5zm-4.525-2.72c.058.187.229.32.431.32h.854a.45.45 0 0 0 .425-.597l.001.003l-2.15-6.34a.451.451 0 0 0-.426-.306H4.791a.451.451 0 0 0-.425.302l-.001.003l-2.154 6.34a.45.45 0 0 0 .426.596h.856a.45.45 0 0 0 .431-.323l.001-.003l.342-1.193h2.258l.351 1.195zM5.41 10.414s.16.79.294 1.245l.406 1.408H4.68l.415-1.408c.131-.455.294-1.245.294-1.245zM23.1 18.4H12.6v-12h10.5a.9.9 0 0 1 .9.9v10.2a.9.9 0 0 1-.9.9m-1.35-8.55h-2.4v-.601a.45.45 0 0 0-.45-.45h-.601a.45.45 0 0 0-.45.45v.601h-2.4a.45.45 0 0 0-.45.45v.602c0 .248.201.45.45.45h4.281a5.861 5.861 0 0 1-1.126 1.621l.001-.001a7.105 7.105 0 0 1-.637-.764l-.014-.021a.452.452 0 0 0-.602-.129l.002-.001l-.273.16l-.24.146a.45.45 0 0 0-.139.642l-.001-.001c.253.359.511.674.791.969l-.004-.004c-.28.216-.599.438-.929.645l-.05.029a.45.45 0 0 0-.159.61l-.001-.002l.298.52a.451.451 0 0 0 .628.159l-.002.001c.507-.312.94-.619 1.353-.95l-.026.02c.387.313.82.62 1.272.901l.055.032a.449.449 0 0 0 .626-.158l.001-.002l.298-.52a.45.45 0 0 0-.153-.605l-.002-.001a11.5 11.5 0 0 1-1.004-.696l.027.02a6.708 6.708 0 0 0 1.586-2.572l.014-.047h.43a.45.45 0 0 0 .45-.45v-.602a.45.45 0 0 0-.45-.447h-.001z"},null,-1),mQ=[pQ];function gQ(e,t){return pe(),ze("svg",hQ,[...mQ])}const vQ={name:"fontisto-language",render:gQ},bQ=ge({__name:"SwitchLang",setup(e){const t=Pn();return(n,o)=>{const r=vQ,i=zt,a=lm;return pe(),qe(a,{value:we(t).lang,"onUpdate:value":o[0]||(o[0]=s=>we(t).lang=s),options:Object.entries(we(Kf)).map(([s,l])=>({label:l,value:s})),trigger:"click","on-update:value":we(t).switchLang},{default:ce(()=>[ie(i,{text:"","icon-placement":"left",class:"mr-20"},{icon:ce(()=>[ie(r)]),_:1})]),_:1},8,["value","options","on-update:value"])}}}),yQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},xQ=U("path",{fill:"currentColor",d:"m3.55 19.09l1.41 1.41l1.8-1.79l-1.42-1.42M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6s6-2.69 6-6c0-3.32-2.69-6-6-6m8 7h3v-2h-3m-2.76 7.71l1.8 1.79l1.41-1.41l-1.79-1.8M20.45 5l-1.41-1.4l-1.8 1.79l1.42 1.42M13 1h-2v3h2M6.76 5.39L4.96 3.6L3.55 5l1.79 1.81zM1 13h3v-2H1m12 9h-2v3h2"},null,-1),CQ=[xQ];function wQ(e,t){return pe(),ze("svg",yQ,[...CQ])}const _Q={name:"mdi-white-balance-sunny",render:wQ},SQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},kQ=U("path",{fill:"currentColor",d:"M2 12a10 10 0 0 0 13 9.54a10 10 0 0 1 0-19.08A10 10 0 0 0 2 12"},null,-1),PQ=[kQ];function TQ(e,t){return pe(),ze("svg",SQ,[...PQ])}const RQ={name:"mdi-moon-waning-crescent",render:TQ},EQ=ge({__name:"ThemeMode",setup(e){const t=Pn(),n=OS(),o=()=>{t.toggleDark(),dZ(n)()};return(r,i)=>{const a=RQ,s=_Q,l=mr;return pe(),qe(l,{"mr-20":"","cursor-pointer":"",size:"18",onClick:o},{default:ce(()=>[we(n)?(pe(),qe(a,{key:0})):(pe(),qe(s,{key:1}))]),_:1})}}}),$Q={flex:"","items-center":""},AQ={"ml-auto":"",flex:"","items-center":""},IQ=ge({__name:"index",setup(e){return(t,n)=>(pe(),ze(rt,null,[U("div",$Q,[ie(jJ),ie(AJ)]),U("div",AQ,[ie(EQ),ie(bQ),ie(QJ),ie(fQ)])],64))}}),OQ={"flex-col":"","flex-1":"","overflow-hidden":""},MQ={"flex-1":"","overflow-hidden":"","bg-hex-f5f6fb":"","dark:bg-hex-101014":""},zQ=ge({__name:"index",setup(e){const t=Pn();function n(a){t.collapsed=a}const o=L({get:()=>r.value&&!t.collapsed,set:a=>t.collapsed=!a}),r=W(!1),i=()=>{document.body.clientWidth<=950?(r.value=!0,t.collapsed=!0):(t.collapsed=!1,r.value=!1)};return jt(()=>{window.addEventListener("resize",i),i()}),(a,s)=>{const l=aY,c=Y2,u=tY;return pe(),qe(u,{"has-sider":"","wh-full":""},{default:ce(()=>[dn(ie(l,{bordered:"","collapse-mode":"transform","collapsed-width":0,width:220,"native-scrollbar":!1,collapsed:we(t).collapsed,"on-update:collapsed":n},{default:ce(()=>[ie(r1)]),_:1},8,["collapsed"]),[[Mn,!o.value]]),ie(c,{show:o.value,"onUpdate:show":s[0]||(s[0]=d=>o.value=d),width:220,placement:"left"},{default:ce(()=>[ie(l,{bordered:"","collapse-mode":"transform","collapsed-width":0,width:220,"native-scrollbar":!1,collapsed:we(t).collapsed,"on-update:collapsed":n},{default:ce(()=>[ie(r1)]),_:1},8,["collapsed"])]),_:1},8,["show"]),U("article",OQ,[U("header",{class:"flex items-center bg-white px-15",dark:"bg-dark border-0",style:Fr(`height: ${we(tZ).height}px`)},[ie(IQ)],4),U("section",MQ,[ie($J)])])]),_:1})}}}),gr=Object.freeze(Object.defineProperty({__proto__:null,default:zQ},Symbol.toStringTag,{value:"Module"})),Hu=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},DQ={},LQ={"f-c-c":"","flex-col":"","text-14":"",color:"#6a6a6a"},FQ=U("p",null,[nt(" Copyright © 2022-present "),U("a",{href:"https://github.com/zclzone",target:"__blank",hover:"decoration-underline color-primary"}," Ronnie Zhang ")],-1),BQ=U("p",null,null,-1),NQ=[FQ,BQ];function HQ(e,t){return pe(),ze("footer",LQ,NQ)}const jQ=Hu(DQ,[["render",HQ]]),VQ={class:"cus-scroll-y wh-full flex-col bg-[#f5f6fb] p-5 dark:bg-hex-121212 md:p-15"},ho=ge({__name:"AppPage",props:{showFooter:{type:Boolean,default:!1}},setup(e){return(t,n)=>{const o=jQ,r=sj;return pe(),qe(fn,{name:"fade-slide",mode:"out-in",appear:""},{default:ce(()=>[U("section",VQ,[Qc(t.$slots,"default"),e.showFooter?(pe(),qe(o,{key:0,"mt-15":""})):pt("",!0),ie(r,{bottom:20,class:"z-99999"})])]),_:3})}}}),WQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},UQ=U("path",{fill:"currentColor",d:"M20 2H4c-.53 0-1.04.21-1.41.59C2.21 2.96 2 3.47 2 4v12c0 .53.21 1.04.59 1.41c.37.38.88.59 1.41.59h4l4 4l4-4h4c.53 0 1.04-.21 1.41-.59S22 16.53 22 16V4c0-.53-.21-1.04-.59-1.41C21.04 2.21 20.53 2 20 2M4 16V4h16v12h-4.83L12 19.17L8.83 16m1.22-9.96c.54-.36 1.25-.54 2.14-.54c.94 0 1.69.21 2.23.62q.81.63.81 1.68c0 .44-.15.83-.44 1.2c-.29.36-.67.64-1.13.85c-.26.15-.43.3-.52.47c-.09.18-.14.4-.14.68h-2c0-.5.1-.84.29-1.08c.21-.24.55-.52 1.07-.84c.26-.14.47-.32.64-.54c.14-.21.22-.46.22-.74c0-.3-.09-.52-.27-.69c-.18-.18-.45-.26-.76-.26c-.27 0-.49.07-.69.21c-.16.14-.26.35-.26.63H9.27c-.05-.69.23-1.29.78-1.65M11 14v-2h2v2Z"},null,-1),qQ=[UQ];function KQ(e,t){return pe(),ze("svg",WQ,[...qQ])}const GQ={name:"mdi-tooltip-question-outline",render:KQ},YQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},XQ=U("path",{fill:"currentColor",d:"M12 20a8 8 0 0 0 8-8a8 8 0 0 0-8-8a8 8 0 0 0-8 8a8 8 0 0 0 8 8m0-18a10 10 0 0 1 10 10a10 10 0 0 1-10 10C6.47 22 2 17.5 2 12A10 10 0 0 1 12 2m.5 5v5.25l4.5 2.67l-.75 1.23L11 13V7z"},null,-1),ZQ=[XQ];function JQ(e,t){return pe(),ze("svg",YQ,[...ZQ])}const QQ={name:"mdi-clock-outline",render:JQ},eee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},tee=U("path",{fill:"currentColor",d:"M6.18 15.64a2.18 2.18 0 0 1 2.18 2.18C8.36 19 7.38 20 6.18 20C5 20 4 19 4 17.82a2.18 2.18 0 0 1 2.18-2.18M4 4.44A15.56 15.56 0 0 1 19.56 20h-2.83A12.73 12.73 0 0 0 4 7.27zm0 5.66a9.9 9.9 0 0 1 9.9 9.9h-2.83A7.07 7.07 0 0 0 4 12.93z"},null,-1),nee=[tee];function oee(e,t){return pe(),ze("svg",eee,[...nee])}const ree={name:"mdi-rss",render:oee},iee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},aee=U("path",{fill:"currentColor",d:"M12 21.5c-1.35-.85-3.8-1.5-5.5-1.5c-1.65 0-3.35.3-4.75 1.05c-.1.05-.15.05-.25.05c-.25 0-.5-.25-.5-.5V6c.6-.45 1.25-.75 2-1c1.11-.35 2.33-.5 3.5-.5c1.95 0 4.05.4 5.5 1.5c1.45-1.1 3.55-1.5 5.5-1.5c1.17 0 2.39.15 3.5.5c.75.25 1.4.55 2 1v14.6c0 .25-.25.5-.5.5c-.1 0-.15 0-.25-.05c-1.4-.75-3.1-1.05-4.75-1.05c-1.7 0-4.15.65-5.5 1.5M12 8v11.5c1.35-.85 3.8-1.5 5.5-1.5c1.2 0 2.4.15 3.5.5V7c-1.1-.35-2.3-.5-3.5-.5c-1.7 0-4.15.65-5.5 1.5m1 3.5c1.11-.68 2.6-1 4.5-1c.91 0 1.76.09 2.5.28V9.23c-.87-.15-1.71-.23-2.5-.23q-2.655 0-4.5.84zm4.5.17c-1.71 0-3.21.26-4.5.79v1.69c1.11-.65 2.6-.99 4.5-.99c1.04 0 1.88.08 2.5.24v-1.5c-.87-.16-1.71-.23-2.5-.23m2.5 2.9c-.87-.16-1.71-.24-2.5-.24c-1.83 0-3.33.27-4.5.8v1.69c1.11-.66 2.6-.99 4.5-.99c1.04 0 1.88.08 2.5.24z"},null,-1),see=[aee];function lee(e,t){return pe(),ze("svg",iee,[...see])}const cee={name:"mdi-book-open-variant",render:lee},uee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},dee=U("g",{fill:"none"},[U("path",{d:"M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),U("path",{fill:"currentColor",d:"M10.5 20a1.5 1.5 0 0 0 3 0v-6.5H20a1.5 1.5 0 0 0 0-3h-6.5V4a1.5 1.5 0 0 0-3 0v6.5H4a1.5 1.5 0 0 0 0 3h6.5z"})],-1),fee=[dee];function hee(e,t){return pe(),ze("svg",uee,[...fee])}const pee={name:"mingcute-add-fill",render:hee},mee={class:"inline-block",viewBox:"0 0 1200 1200",width:"1em",height:"1em"},gee=U("path",{fill:"currentColor",d:"M0 0v545.312h545.312V0zm654.688 0v545.312H1200V0zM108.594 108.594h328.125v328.125H108.594zm654.687 0h328.125v328.125H763.281zM217.969 219.531v108.594h110.156V219.531zm653.906 0v108.594h108.594V219.531zM0 654.688V1200h545.312V654.688zm654.688 0V1200h108.595V873.438h108.594v108.595H1200V654.688h-108.594v108.595H980.469V654.688zM108.594 763.281h328.125v328.125H108.594zm109.375 108.594v110.156h110.156V871.875zm653.906 219.531V1200h108.594v-108.594zm219.531 0V1200H1200v-108.594z"},null,-1),vee=[gee];function bee(e,t){return pe(),ze("svg",mee,[...vee])}const yee={name:"el-qrcode",render:bee},xee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},Cee=U("path",{fill:"currentColor",d:"M5.503 4.627L5.5 6.75v10.504a3.25 3.25 0 0 0 3.25 3.25h8.616a2.25 2.25 0 0 1-2.122 1.5H8.75A4.75 4.75 0 0 1 4 17.254V6.75c0-.98.627-1.815 1.503-2.123M17.75 2A2.25 2.25 0 0 1 20 4.25v13a2.25 2.25 0 0 1-2.25 2.25h-9a2.25 2.25 0 0 1-2.25-2.25v-13A2.25 2.25 0 0 1 8.75 2z"},null,-1),wee=[Cee];function _ee(e,t){return pe(),ze("svg",xee,[...wee])}const See={name:"fluent-copy24-filled",render:_ee},kee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAIAAAAiOjnJAAAON0lEQVR4nOydX2xT5f/Hn7M11A1lAqNmTQ1CS9QiZqbTSMwqetF6IwiJBRPwhkBi5EKyGLNyxcUk7sLtxkXjBRrNUHGikZiVSIKtMYGxaIo0TlcHsesCbVbJBqNs7X7xd/Y9bF3HnvY8/87zfF4XJmDPed7n87z5PKfnc55PbbOzswhYxIULF5555hneKixMDW8BgvLVV1/xlmBtNMhYiykWi+vXr//nn394C7EwkLHK8Msvv6RSKd4qrA0YqwxffvklbwmWB5bCUmZmZlwu17Vr1yAyZoCMVUo0Gr127RpvFZYHjFVKb28vbwkyAEvhAu7cudPU1DQ+Po4QgsiYATLWAs6cOaO7CjAJGGsB8FyUFLAU3uX27dsOh2NiYkL/I0TGDJCx7vLDDz8YrgJMAsa6C6yDBIGlcI7JyUmHwzE1NWX8DUTGDJCx5vj+++/nuwowCRhrjhMnTvCWIBWwFP5HLpdramrK5/Pz/xIiYwbIWP/x3XfflbgKMAkY6z+++OIL3hJkA4yFstns2bNnqzs2EomQliMJYCx08uTJmZmZ6o599913ScuRBDCWqeei0Wg0FosRlSMJqn8rTKfTLperbBBwIqNpWjAY7O/vp6POwqiesU6ePGnyn1YkErl48SI5RZKgurGI7Js4duwYCS1SofRSeOXKlY0bNy4VAcylUP/v77//7vV6KWi0KkpnLPProM7s7CwkrRKUzlhPPfXUb7/9ttT/xc9YCKHa2tqhoSG3201UoIVRN2P9+eef93BVpRQKhc7OTlJnkwB1jUX8dYZPP/0UNuYbqGss4u+L5vP5999/n+w5rYui91iXLl168skn7/2Ziu6xdOrr669evdrY2GhaoOVRNGNRep3h1q1bXV1dNM5sORTNWJs2bRoeHr73Z6rIWAihhoaGK1euPPjgg+YEWh4VM9aFCxeWdVXV3Lhxo6enh9LJLYSKxqK9zau7u/vmzZtUhxAf5YxVLBZp91XLZDIff/wx1SHER7l7rJ9//rm1tRXnk9XdY+k4nc6RkZEVK1ZULlASlMtYbNpAptPpTz75hMFAwqJWxjLaQOJ82EzGQgi53e4//vjDZrNVqFES1MpYLNtAJpNJlZvkqmUsxm0gjx07ViwWWY4oDgoZ686dO6dOnWI54uXLl7/99luWI4qDQsbi0gZS2f1hChmLS/urwcFBNTe1qvKtsKQNJA4mvxUa+P3+n376CX9cOVAlY3FsA6nmplZVjMW3DWRHRwfH0bmgxFK4uA0kDqSWQp2BgYGWlpaKBFgaJTKWCG0gVdsfpoSxRGgDeerUqUQiwVsFO+Q3Vi6XO3PmDG8Vym1qld9Y4rSBPHHiRDKZ5K2CEfIbS5w2kEptapX8W2E2m21qaqquYR/Zb4U6drt9eHjY5XJVocdaSJ6xzLSBpIE6m1olz1gvvPDCuXPnqjuWRsZSZ1OrzBkrnU4LWKRTZFOrzMYi1f6KOB988MG///7LWwVdZDaWsG8Gq7CpVdp7rHu3gcSB0j2Wzrp160ZGRlauXFnd4eIjbcYSdh3UkX5Tq7QZ695tIHGgmrGk39QqZ8Yi2waSEnJvapXTWCK8zoBDZ2enUM9vCSKnsazys+ESb2qV8B4Lpw0kDrTvsXQ2b94cj8dramT7Fy7b9Qj1OgMOsm5qlTBj4bSBxIFNxkII+Xw++X7mSZ6MVSwWv/nmm5aWFnptICkxODi4adOmI0eOXLp0ibcWcsxan+np6c8//3zz5s3sI0N2RISQ1+s9evTo0NAQ/bDRxdrGyufzH330EaVfsMERQGNcnebm5s7OzpGREfpRpIJVjTU5OdnV1eV0OulNLY4MeqPraJq2devW7u7u0dFR+kElifWMlcvlOjo61q1bR3tSccTQ1mCgadq2bdt6enoymQz9GBPASsbKZDLhcLihoYHNXOJIYqNkPjabLRgMHj9+PJfL0Q959VjDWKlU6vDhw/X19SynEEcYSz0l2O327du39/b2TkxM0J+BihHdWMlk8uDBg3a7nf3M4chjr2oxdXV1u3fv7uvrm5qaoj8huIhrrEQisXfv3traWl4ThiOSl7ayrFq1at++fadPn87n8/TnZ7nI8BZQhoGBgV27dhF5qG0GHKl8FS7F2rVr9+/ff/bs2enpafrTtURkeA1clmg0GgwGec/LHDiCeWtchoceeujQoUOxWKxQKNCfvYWRYTzeUvT39/v9ft4TsQAc2bw14uJyudra2s6fP09/Jv8XGWYjlaVQKPT19fl8Pt6RLwOOft4aK8bj8YTD4Xg8TntmuRmLUoGPIDhXwVtj9dAuSnIwFtUCH0FwroW3RgJQKkoyNRaDAh9BcK6It0ZiEC9KMjIWswIfQXCui7dG8pAqSlI3FuMCH0GwwicvJouSFI3FpcBHEKzwKUB1RUkqxuJY4CMIVvhUoqKiJGFjcS/wEQTnenlr5ANOUZKYsQQp8BEEjLUs9yhKEjCWUAU+goCx8FlclDRlLAELfAQBY1WBUZSUcMMqIALybFgFhAKMBVABjAVQAYwFUAGMBVABjAVQAYwFUAGMBVABjAVQAYwFUAGMBdDh/PnzbW1tKvyYbKWoXIRubW3t7+8384LCXPgKhUIsFjt06JDD4eB9UaKgprGCwWA0GjVjqQXGMpienv7xxx/379+/du1a3tfIGaWMpWnarl27BgYGzFuqvLEM8vn86dOn9+3bt2rVKt5XzQdFjFVbW7t3797Lly+TstRcZJb9xNTU1Ndffx0Kherq6ngHgSlY4bMydrv9wIEDw8PDJIy0KDL4H52YmOjt7d2+fbvVt99gghU+a1JfX//WW2+lUikTzlkuMlUcMz4+fvz48UAgYLPZeIeIIljhsxoNDQ3hcJhB62VT77xnMpmenp5t27bJtDnHACt81qGxsbGjo2N8fNzMjONDZvvX6Ohod3f31q1bZXIYVvisgNPp7OrqmpycJDLXmBDesPr333+/9957zc3NvINJAKzwiY3b7f7www9v375NdpaxIkPpvENDQ0ePHvV6vbxjWz1Y4RMVr9f72WefydzcNh6Pt7e3ezwe3qGuGKzwiYfP5+vr62PfzbY0MsxGslxREueieGtcgPkCH0FYt4q0UFES53J4a5yDVIGPIDyb2wpelMS5Cr4KiRf4CMK/z7uwRUkc8by0USrwEYS/sQxEK0riaGavimqBjyACGctAkKIkjlSWehgU+AgiorEM+BYlcRSyUcKswEcQoY1lwKUoiSOMtgbGBT6CWMNYBiyLkjh66I3OpcBHEIsZy4BBURJHBo1xORb4CGJVYxnQK0rijE52RO4FPoJY3lgGxIuSOIOSGkuQAh9BJOxB2tLSMjg4aP48OJEhcqvn8Xj++usv8+cRCgl3QofDYd4SKuPVV1/lLYE8EmasYrG4ZcuWRCJh8jzMMlY8Ht+yZYv58wiFhBmrpqamvb2dtwpcHn/8cflcJaexEEJ79uwR/xdcdXbv3s1bAhXkNJbNZnv77bd5q8Biz549vCVQQcJ7LJ18Pr9x48Z0Ol31GRjcYzU3N//6669mziAscmYs/fUS8ZPWa6+9xlsCLaTNWAihmzdvPvLII9lstrrDaWcsTdOSyeSGDRuqPoPISJuxEEIrV648fPgwbxVL8uyzz8rqKsmNhRB64403hP2d81AoxFsCRSQ31urVq998803eKsqgaZrcxpL5Hksnm82uX7/+1q1blR5I9R7r+eefP3fuXHXHWgLJM5b+EubBgwd5qyhF1ueiBvJnLIRQKpXyeDz5fL6io+hlLJvNNjY21tjYWMWxVkH+jKX/UPHrr7/OW8VdXnzxRbldpYqxEELvvPNObW0tbxVzSPxc1EAVY7ndbkGm026379ixg7cK6qhiLIRQe3u7CA0HA4HA6tWreaugjkLG8nq9O3fu5K1C2tcZSlDiW6HBxYsXn376acwP0/hWWFdXd/369fvvv7+io6yIQhlL32cRDAY5Cnj55ZdVcJVyxkIIHTlyhOPocpdx5qPWUqjj9/tjsdiyHyO+FD7wwAPXr1+/77778A+xLsplLI5Ja8eOHYq4SlFjBYNBn8/Hflzp64PzUdFYXDa1rlmzJhAIMB6UI4oa65VXXmH84wY7d+5csWIFyxH5oqix2G9qFaSgxAwVvxXqzMzMPPbYY8lkcqkPEPxW6HA4RkdH5f4VvhIUzViMN7WGQiGlXKV0xlp2UyvBjBWNRltbWysXaGHUzVjMNrW6XK7nnnuO9iiiobSxEEIHDhyg/TJnKBSqqVEuzspdcAkMNrUq9VzUQOl7LJ1cLrdhw4YbN26U/D2Reywp20DioHrGor2pVco2kDhAxkJLbWolkrGkbAOJA2QsRG9Tq6xtIHEAY83R1tZG/MfG1Lxt1wFjzUFjU6si+ybKAvdYd0kmk48++mihUND/aPIeS+I2kDhAxroL2U2tqr3OUAJkrAUkEoknnnhCj4mZjCV3G0gcIGMtgNSmVrnbQOIAxiqFyAuA6mzzWgpYCsvw0ksvRSKRqpdCTdNSqZTT6aSjzhpAxiqDyf1hfr9fcVeBscrT+v9UfbjKz0UNYCksTyQSwenysHgpVKENJA5gLFMsNlYgEIhEIpzkCAQshYRR/LmoAWQsU5RkLLvdPjY2pkLDvmWBjEUSRdpA4gDGIonKrzOUAEuhKeYvheq0gcQBMhYx1GkDiQMYixhQH5wPLIWmMJZCpdpA4gAZiwxKtYHEAYxFBqgPlgBLoSn0pXDNmjVjY2NKNexbFshYBFCtDSQOYCwCQH1wMbAUmkLTNAXbQOIAGcssCraBxAGMZRZ4LloWWApN8fDDD1+9elXBhn3LAhExhZptIHGAoJgCnosuxf8FAAD//3s5fchYZyekAAAAAElFTkSuQmCC",BS="data:image/png;base64,UklGRiYGAABXRUJQVlA4WAoAAAAQAAAATwAATwAAQUxQSJ4CAAABkAVJsmlb8847eLZt27Zt27Zt27ZtG9e2bdv39tNZe++17vNPREwA/dOZo6hWhOxFssnRaNra4w+M3CJNqvLX1D7cxeDukVWTazDpXKDXrxFvXaOg9x1TDg99iOzM17Ak6Ddgc2dA0hCeZoL1k2zImMbPGvABrORlP7jBHi40l8ARzquVy/MEXOFhLqWKGYAzfCqiTGV7cAfbCko09IUA8KonX8cICIGwdnINToQgiO8vz9QMCIP0iXKsgNx8AEuk7YZg2C5BfQ7C4ZSKJdcDZAK4UyR7iSq1a1Uuri3+EZkCgt0jk1JTE8OdfJFJ8PoTsW7ZP5APx45dffiYRFTTlQfjkkQb+RhJRKXNlXuej4iW8TGaiKjAa6Wu6oiIVnBE2W8qc4h+yBVlOa7EehKBaLN8s0kQWiBT8ggShsak6ktL1xfdjQSiXhEIfLFzUrdm9es37zlt37sw+DQjoahCu0LEXLxDCRJM6f84fDIDYybV/XTx0o4xkab6sL0fQwRY+aOA19v6V8rK9sPCrRccPHhoT2meah08ePDArKYFiP+ClSqUlEXc0h5J8fGDuWozdpTE0YNys5WKAjCSLfeg0aMkjm3DVAsybmCjdYCxmm0tZKzFUtQg0E+iv98gCfm90YPY+/v6+0kMNCjKQup8eaXmJKm1e5DUnHml5lPTL7y21f4PrZVq9WF/Ky0n6qbb7AFsVWorAPttTdWKqRpusAYAx+1FlSq63REArDc0VClRZ5VZOgC3/W11xKGu7X43AOlmq+rIVGOJYSoAr6OdchC3OTod9QKQarikhqTi8z8kA/A70yM3cZ67xxk/AMkf5hdnUhkBCLrULx8Jma/fpSAARioWuhR+c0ghErjQkJvhl4hZXYCEL6Bm+5cSVlA4IGIDAAAwGQCdASpQAFAAPkEaikOioaEa2ed8KAQEtgBbJur/YPxm64bFPaPyH5r3ezvr+QGYz+G/on+Z/p35Z9rD8o+wB+lvmZ+p3+Af3D+5ewD9b/2v94D0Af9X1AP8H/uvVU/zfsMfsV7AH7O+mR7Gn7ifuB7V2Yn/RLToBFaF49vT657i4FNhTFMPtqGBnLHb4B0mdEFIcp89CJvbbCPD4/QeZhwQQzZ8BxgBYJstiZqMBJD6z585YDHszJsSre6r3yMDyPrDGOzaYTcIIILf8uoSangA/uHNmzlTvvlp4WxismwIwhrpTbKk5HA99Zt/tjf//B1f/wjF//4Oz7Ro8qdwrGruK80gZGdfcjEjVmeAY3UNq/bKHbPJeZyPGePUJYsf1pTxUT+M/1yY9sp5QEaUI/nWbM+hrV4Wv2GCz8YHB1EU6uczvWjFJmo/ILHBjfR2dpCGtC7aaJrcU2802eJTgxsCLzPMTBp+iLQAcf1z34AZndAHu/MsTUnzhvX5iBLRl0rcsyt8px9H3DpVdPqz9F30dKwOAKELHB71muyZVCqSi6Ijvf/Z3WEYi+Jy9gg4gwMX75I/kfFsZTr7B6AUO5g/bTvaEq7oh9QTCrGVLPJY2tIyTiFf6+rnBPHuJQFG2ntz1V2ZE3kFqOf1JYkNtmTx5bM42JZLzDv8lK+cZlqBMuGj5tTqsUlkszMA9vYVj/+YQXiow3o8IGtvSD8Z9yp7r5vAB/RBYfyMXHGCD2/Vj9Krhqkp9w11usppHaLv4fZw8b3KwrMeg4xklboK6/9Fk8fH9jbQr2Gh3gBR1O00KEtl0DoRpGMbFooOH7dbaaubWVWnZJSKjwKIyP/s2PwjLOOynzDVSVfh9QzyYBAtiUl2qfMRoRAekN+1zwxjUnBZz1zVVnum4pxFz4O/ytYWZA4AKd06/BG2+/aqSmflFZELL5IvsKadrnEUwQiAtJkrfXIu0S5ATyAZ8U7ztY9txpPVO65FVvH6NJPkeoxN4DJMkkeJyGkxeZyTOKOXTYLyG410M+lef83/R1x+Fufa2JlrS4UJj9uQp/8XdI+6n2yYec5INem5wZ3l+51bAhgdYqwdZhQ4nrP/8zviDM+SQAmVegbwNZIXMtlySH9p0fzgvNUc4nPYjSzoYgAAAA==",Pee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAC+lBMVEX///////7+//79//+ZfOn//v+UfumXe+f9/f9crPCZe+n7/P5Lu/Fmo+/8/v6cd+b5+f339/1ooO32+v16lOuYfeqgduqZeedQuPFVs/Bfqe92q+1xme10l+1+j+yOg+qdd+n6/v7x9/318PxStfJJvO9Qte93l+uQf+nq9PzX0PRiqu5vnO2Bje2IiOv8+v719f3y9P3y7ftPtvJNt/BVsu9Lue6Hiu2RgOubfeqbeeqXgOideuigd+f69/7w+v3z+f3n6/vf8Prp4vnH6fjp3/jA5/fXyfRZr/JHvvFXr/FrwO9Rve/Due9fsu9lpu9fvu5Yse61o+xum+uLheqJkemgdOmnkuiUe+j3/P71/P75+/7u8/318vvj7/rc6/jb1/VXsvLHwPFzye5ipu2Mhu2ymux7kOyEjOmeg+emieagfuXo9/zk9fvn8Pvt6frw6PrY7/nV7Pnr5vnJ5Pfm3PfE1/a72PTO0fSz0/NKvfJeru+Twu5roO66su1osO3Eru2Nq+1qq+yMpetyoOuCm+utneqajOipjeehiOeihOeLhualfebx8Pvp7vrN7Pni5fnV5/fQ5vfg3vfV4/bD4Pa54vXPy/OCz/KnyfK0xvLTw/K+x/GzvvGHyfCpwfB6xu+guu/Kue+Mte97ku9pue7ItO68qe5ztO2ur+1Yu+yXsuxuseuKmOuqpOqWouqtk+mWk+iKjObs9/3n5fm55fa+3vbX3Pbk1/a02/Xg1PWv3/Oc3POt1/PWwPOS1vKj1PKd0fKtyvLPw/GcyPCKw/B7ve9Cve+Hue9pxO6Cwu5zwe6Dt+62sO6Zr+6ese1/r+2Eoe2Truyfq+yapuyCpuy6n+uOnuuZm+uYleuwlepypumhkeiSi+iRhefQ1/XR3PTay/SWy/O60PKZz/KPyvLIxvCVuu9bt++Lve13ue2zt+2msO2Ro+2ms+ysqux6luzDp+t5oOqmmuqNhuqxoumkn+m1nemviufl+fqo2/S6v/Cuue2yuOxBqZCiAAAHmUlEQVRo3u2ZZ1ATQRSAd+9ISALpxJgASYBAAoGIIEW6ShdRpAjYBQTF3nvvYu+9995777333nvvbcbNJSjqDBIu+0u/yeQ2JHnfvvf2lpsLsAG4QYr/4IYkAW6aNcPrQNEz1x3Kis4AWGm+I+FAXMKOZgAf5Igs17i4uC5xWW0gwITT+BquXbrEoYfroUgewILTlsW2trauroaHbY1oLO1HjrJIkjBxYoK/ra0/BgsJWeMXVyhbtkKNz+GZ46v6+6NRpMUlILKGwVE10glCRuuZboZxa0tbKlet4FvW7UgbBoQkAzSf7qb29Z3pbtk1Fj5dplarj7SG0HTaI4vabVeGJS2MbX5qtaxofZrPlKllD6MJyzlgm3kymWxeJFnkT63n+TWUHWluOUnmPRQwcROrSGoQjkv0S0ra6WSpPMC4xIYNG94W/3be7Eryi59nsf3F+TA7Nv5xZfhbA9z3x8fG3raxUCbru7LZXddDgvh11qhgsbE921ho+T5is9n7wiEC/IK4G7sre69lutJOx2b3bAf/lIDRPbuyl1a2yFXTXpRIN7FJQqKVxSjcazK7yeXybZZofb2Fcrmu3c9FlZHBKpSA0X3k8qPOgD4ddTr5QWdIUmGbj98xceLW6GYkMqBHxMFsXZ/R9B21u2XrsjsTVD8ytxzy93f1t03IWpdhmkF29exJBKRdLXtudfv6VD/C7/q5VfB1c/NVuz3cmQmh8V2uBeo1jlud+4g62XnbusbGJx7edXd/YlLDxE3U/DO6GaZA10FMQpLOhKEj9ZfK2Y/bRRC8NZ2XstkLK0OqXlyuqCNNB4yYw+VeGWUYEbuzq9uPIiCDALzOOl31zkiMzPbdRXt5NCUt7Lmik+5GnUg0iSBIBlpVa46KuA+oGkbM6S46GEFTMrZfd9GD2tR+eM6zXwdIFY7kzUj27E31m5wkEtm3oCnpkOyZvJsqTItTjpqbJonTDEfH3uWNi1jUvd9YQI/dyZ6eHahR+Wdz7aYaJUB83G7uceP/F5Rqvw40N65ZDp6vxxqHT728ztYBFBtSvRTTWNTyGn7O02EypCURL0GSesZxp9UBAYuGoQFrzMWAnNQNxl3ZubeDwwweSrDUUCHOuQNqpt7LlTlD399v4NFjYEqO8piAcgDBEgeHWTa0UqnTF3XYGRrjrb2qZWqZwcHMwEDtm5bwR0EdlohpSYafcnQ8LTZJQNSAYGsOh2PFCX7XFpggZ6BPeNOSVDqlcTwuAIXUndJ4SH5+0/Mx3uAH0zSavuUBLUl/jeZEbVAIhGGtoqJahRWd+GQ7+hI7uxPFXvUgiV3fOnQluSiTv0gu0JQsU+SeKV4yLdfuGb1yDV+mUJwVg2IgvubOXUFPUueCQrHCu9iN5zmahpDeEr7gpSh+noIzXl4rhtGRlF+U57WsU7Gri9cp1Svvm7D0DsGTvIDUTiwGo7ie8Cak5uV9KfXFPby/Wh8wlQeRpNhcpq4OWD2htJIxq/T6F8K/XrpB4SJ9wKWRsFR9ES4fOnTVyJJ8de2qgJRFAkiWQuIxNGVoNaIkEkajnJxrDUAp8H6fknKpEigRLS+9TVkuKIWkwXWl8hgLlAhWD+Xba2PMd7COKQOve5gzo2rm92TY1cDAgS1BCWk5UKt9421+tYIDtQOEJT5tl2sDB1YxW9KIydT2MLUEAlDOpe1vxnJ1yxVtipbJjIHmtmQBk8lsZIzmUsWjWs1aAz0A/CXVWjWreVRxMZogmlN6NbO3rQFMCXMCyxi/SbB1OpM5oMg1CQTCd+np6RUHF5omMCWcBSwzJXVrSSTMxii+dXq6tbVVRYlEEtyI8VNC7Am2tkJYI5rUqjl7AfpAYzPPFOgzGMXgSK2tJFYca4MFvWoSw4KF73sMNhnQgcORSjkVKwatNHfDbzVEKg0JCUHf5+cPvrxgT0xTDidoyOxhpjxnD+FU5Kyc0qtx0yZ8qTQoKCgESQa5mClpiyR8fn7Txr2mbGwZRkA4n68KUfFXzt8cFbV59kopPyjIKgYwwnzax/T6MKhJiJSvUpkvaUrFbxWG+gARwOcyP0RVRsUPLcjn81VIqDqP3jMABcg0/8Og/EE+ZvZEGOUj4KEj9YJ6rnKZH1pGFVqmTCg/DT2FnvcpXNIkOjLQQt8sBLRp9aoARUeElklLK5jvQsktTrmNrz4WpKWlhRZ87BVlQxBIggOWT/tb27ffau/CMpURG7AwPE6HUQLx5QE/rdu6NTocp4R0isxyPXAgIWsEga9UZHQNf1uEa9UR+IpVuSr6eWNxgm9Z6lcNPPB2+smS7o2InI4OmwAm1uyPj98XDqD74aT4fWKAh/o9DTehAQnX62IXugM8oLvAC1tQvekjRze28TCqD/cklQC6nWdfD+Chnr3oSn3KdkV0sg7AQ8Qcz+Q7EEBwJzl5lg3AxFSNZokzAM6nHTUdAC5G9rfrfxOAGy9f9h0OcFH7uSL3aZj3mdy503gEwAW695h6o1OeYtlIiE0CBS/0+osX9fonNgQ+CRhzLUefoly1FiAJNmx6aAOVykYsAqcEtL0qYQ6oC5EDJ3usBrcHuBHW3M4A2KkrBNiBEAL8QPAP8x0ZyfbHp+5ubwAAAABJRU5ErkJggg==",Tee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAADAFBMVEX////9/f38+/v5+fj6+vr09fT29vb49/f8/Pz3+Pju7u7y8vIHWenx8fDt7ewJZOvw8PAVfvH08/MUe/EGYOkPcO4HXekmsfwWgfILZ+wJbu4kpfsQc+7m5uYJae0hmvcJWuspuP4ekvYbkPQLa+zq6ukjxf8nwv8hl/fr6+smyP8kvf8LXukotf4oz/8HZusJYerh4eAjofkMa+8Mcu4Zh/URde8ag/Po6OgUePHd3d0s1v8djvYObu4HV+fW1tcq0/4nqfwknfgelvYfivQWw/8mrv4hqPsDgO0mq/0Nee8iyv8drPsnp/sNr/ohovoBnvUClPIjwP8jrf0Fh+nj5OM94P8z2P8jzf843f4Uyf4GqPkcifUOgfAEiO8MYusG2f0Dg/AOfe8v0f4C0/0Muvwgn/kXhPQCjvARdvAD3/4Ds/IWr/gCeesD1vcUh/Dk6e6gwOza2toA2f0Tv/0Fo/gBmfMYjPIGjunx+PvW4OoDgePS09MJ5f8W0P9C4f7x8/SHr+sgeOrg5ughZ+LP0NAx2/8i0/8Mzv8E0fcfnffr8/Y2pfXV5fTp7vCTuOs0gOkLZuZ0oeU4eeNK5v8T1//l9fsQtfvZ7/hPv/MumvLP4vDD3O+pzu/K3e7d4+zH1ehUiOLO1twj2P4ou/y53vdMsPV+wvMQsfOV2fK20O9truy71+p8r+o/m+lmlOIg4/9FyfmE3/VuyvXh6/TF6PRZzvMxsvGTw+8tjuwFcOoVcOlNkOhEgeYxcuOAqd/FztEywfkEufnK7fih3PSVzfIMu/Lb5/C35O+Fuu4jcegVYeTHx8kw5P142fe91fGr1/APnvACqu9Moe6sxuofgul70uilvti6y9Y76f8P3v4Gxfhauvfm8PZq4vaP4vVBuPWAzPFxvPFAqu5moexfreq1xuDZ3d+Uu9ubtMhC5v8MyP5P2vtW4vkem/ir5vWe5PWr3vU1zvM7ku9s0uhboeas0t04id2xwtNI1/OUz+Bsrd96odS6wcVzvuN1vNeI7X81AAAQf0lEQVRo3uzXfUzMcRwHcNzd7552t5/zBxvNaB1p2mo7TtfmyMOMPJRKedhZp4idJk9nyNaUW/FXcSGsRwlTuS7/6QFnUwtj8tCDh6EHkZiYh/f3+z1dHqbu5D9vf/in/V69P5/vt9/dsP/5nwEz/Mf8G2DYj/+GmmLAz2HUkBH9BMkIFsnQDq6PoA8XCqQCRMgYZ8UhqoECQrPVVlCLFNis6Rwg6jBoKGrAMNcUl2dXTcjP9/OrqiotL7Y94sRSIRiWoRiVuaC8ZfTUqRMm+Pn5hU0KU6vVpeWORxwHhhKeKzDYtIQ15XYQMAgyaZJ6klo9ZUp3vU0h4gRCCVP+7nJIzLUt4aNHQ6FI2Hdk4cLS14dUKCNhP/dXTQ632heFE+UXZEVs2UWm0HhcBEZRaHj4vHn9EAQGlBX+/vVWucjjLqwGM2YtAPJTExDE8I+tv9ineIQgEvOV0PmzZi1gCBQgMICwIrH62OZDcg6KZ1XYHXyTMTYUSPgCF8JWAoMi+t43vGv7Hm3EWrhkbCibF0Py/cLCnAg1kI4ahUgsYIon19BcFDiWIlBolan5SJjahej0uqiyRCjkVqK9B9MqyABC5wUEyW690tBQ3Fo6Rf29iE4XFdXrkPUt3/1pmR/HBQYyhKy+pfV4itbHxzfxWHGp2oWkptZfVABxvwq96gUZcYFLnFXmLShsSNH6KpUymYz3dVRQREeKREd3OHgV2YoHTSTSoldAoNDVPzzrpfWV8QqVSqRS8LYKen5hpEZHR5cdYlXcVMg7yvrkVVzcEraV8MKzXj5KXi7ixGIxx4nkUPTOIpGRncdkck5AEHdXIsmZ/CpudiDdSmhGjpeWGuS9KJWKOXlXqZ4Z0cmRyV1K3rl6t9ceMn72bChkLUUniYEH4T0lIe9gLr0slhooEplclsiTU+z+uKy3Q8aPBxMHpvA49gFDwF6FVKnpAMKM5KZjMhWZF+LeSgqOhkyGQssURfjAELPHMEW8rxlLZ0Zyp0Op4DyY14hK78kIYeIysHVehSJ4ikup6UhlRmZm5msfnpwvd5uYS7xDnMjsZ7u8lAoVfaOzkLVw6U1OAylLlKncWgoMKIdve0+c6FQqI7RKBU6vVNAXHLB9r6MjwbS1AWm6ppRzbiL4XQ++BcKYo2ci2PntH5FIYUuuq6trbGxra2vstOG3ELjZBHu/5O1NEOT2qQDcRNx2Bc/LeB7/K3hEebDzAkKcxkyHVqaSCt1sMiJnjjcUJCTk2fOggJRdNseb2tpiktoGx4ldKVptSlPCHhpIXdgaJ5C4hYwQVq4KJiFMyfuPd3squvV6vNRXxMTMnRtW1ZJd3ppzFghLQkKzly/uoztVhksE0uub58wJDqZt7N0Wi9FozMpKS/P3XxgT0z5369Z11dWj7fb2pARnygJ8eHaRBl9EwJ3bPAfZEQxoo4UgSTDS9KiCLkRZd2Tx4k2Lqx9YTAaDIenu8whfBTvkg96IdF9JvGYVFNTxvmqxmJKSDAaC6Mm8gKyjyOKVSPUDo8nYkxvkpZRTZLCXRChOfxo/XaNZBWhV8FWLyQQjKy9PFxu792dk29JtGx9YKi7PDPCRiQTC4cggatBpPXo3Zjqi0WiAwHAiev3eAxTZyhAY25Yit7I/70cVFdkKMpBBj5bY2nyUIvHxGs0OiiTdvw9ER5CYX5Dty0I+fUAVnv6VxCMGMjAsc1en5ebIMTTx0zcTxJBw/0JeXpRO1w9xGduXLdt5/kVuhBJ/4Ab6MOn8WmVtTk0y3hxJQqWrOD8ESU2NitLtZfNyIcxYtn79jk+ncO05bIXmT99HJMKapiyDgSIsQGAQBEnbazzQ3u5C2LAosmb5+RzcSOkfv3yxT7/mro68LAOajOrLaZMJRl1vRc9dBJc/u7Rqa3U1EGcRQgBZs/xSZaLij1++2Lk63Byly8PlsjiRGchNU3dvz8f39y7v3717JpKbe+/9xy/Z9k20CBsWDGTtnXPXVBw7YmB+u3MY+HigS8vKMhpP0+dPm7Zhw7hLX19+vrF/98wtW4KCAmiCtmyZefnDVztBmEEEZPXmkoP4SAOF5vfGt17NNabNKozjSunAt6Ut0FZa24LSGqs1LbbY2gjEMUWJZlFG4ochEZcRsi1QPshkC4HSxQUGpW2iDhgXo9uEAVGJjruXIAGMqIOwxJnoNnGLiVGXOeMt/p9zerUx0S/+tyVLOO/7e//n8pznebZPkHpyyL6a+yEdpAoRo6TRXVCp17uY9PrKAnfJ+a/2fQ4jMQYgVVWXuyTMC7eSvB4vfULF03Mvthzds+ejGgI4VNDKVTDcuFPMLEnFpSLIZK5K98/vfrBv3+fPxxiPPgpIJiixmzrRCPOBDJfU0rJnzxf1Dh0A2qKiIuPvHx9pLHDJhAyJmAuZqmCq/PX0y4xCEIbgkMzLSxJxhPJ3Iy+8RVUHCqinW44ePfrFQZVDVVRkhwzDHx926ynxitzylEIK7Rf373/5NCifPwkGCFBNTU1mTfYYKhYRp8QxSKk/vH831ZvgtLQA8tl0ERhGu0Fjnf+lBIEJSbUoNTXSxhEr+k4+vn8/IMA8uQuAAwcOgJGN315/tyQtkcKNpH/4JpWbxMG9dPS7n0ZX7HajQaORy+WrCwSR8BNASk8ViRWfPlQBCsOcvn7jAKkcwq6s6xlRiEGJnzBer799J4mBQHnz5/Mhg1GjsYKhVA+z20Icl9yJxN0Xyx4HBJTT+y5dvQoKh2Df15XPLkUTzngjP7yPehN9AMLc+fA7Z9wlE1bGqLYp83ybblx8YchNHNJ/qawMGGbmtz8+3rwxzSA4Wdj5M35Kz+OtsDr3OLoAJAI9/E4/TtyVGY0cDItSLS2eKClwCQhLMSetpzp23gYIYR6/grO6NTftgHR85/cM8GoVijJS30DxDHHS8TOVOHdDIbJhYxDflhtxHNlIdE36Lu3duRNWSJd+OXK4sWC9hygqrpmx7oiVOCP3kAh0z1Pvf6pHAWpqD9rkNqXaYpFKmRUTRdiokeXcDlC4lz/fA0Pv8ni1Wi0RsC21sEL3ZBwk9Ud05CJ67et2HApBZl732ZRKtToPEKwKv13TuZFb+sfv4hQszLHNwyUUDyaD01qS3Uh//ArKXqIQxPe30W3guuf24wOoeCgTHRwmBmxI89TYYEgUMM3pxEibHL0DkDDlm/dKGispjx3oMRiNeD/JMNsQl+2R+w+/4gTqbNy7qDcJGWKxRCJ4VtU0VcV5UotldYFlVpgBpADixd7S0u87OjqoOj52BUEHj2RJMtoChqhW1li1GoP8iLffG9bxAZS5WUjbs2AFJjBXeRabzTq/VaCX0e5HKdc/np9fWprLvcAIiwd4pC9k1YRlDfgFKryjENEi+ibQraRTDWaBytw0sUThWWUMtdImt1qHkdwLrIBYul7fRPkryorvO3qvHG6sNOOzUHq3Tiix661M8qBMwaY3UlW9fWtMJ1xUVeGDEQQHh6URiMZgnKBlkWSJJ0dzagubgMkvhZgRqlrxRJonYKuulpOqlcPtAnZKFNJ5gXqMj0AVj7x7xsTCbSqqQrGw7gPEYoERQGaCoMiEhrGNnBxnIWGg3k0yQt+MJ0RrPqUFstkQjOYGsSgxyEsXKgBgkIqTWBJcOoihoEgagsXwoayWazTYlzML2Krtbd5ySpVqkVwC8xs3QsETT3TNq9VqJWSzKUPN8ZCULy9UVDyG9hxUdrLZRDU5QjpOg1gYmGOThdkCxOFdePXVBa+jLptRnKCMny9xV5p4awVndHI+T81ksahDzbJESBkQD1HLqQxOqOeDSwPPpElk6z4lLbuBToDK4Q1OzGgduvvLaximduoKnXX2Vawo7pqX0tkFRP13SOcFdDMBKYOOYU0ieTOsKBoWVpVyBilSqXR1RissgfJANrlxLhxhNw0/pHjT2qqUC3FibjABIr4ICBC3kc668DPe30intW+esMgDNFsUlKxKq5VwDl15OW7a65gsimmornm4aStmwo7Mk2J3xSB41+ITEADQzpPN/KJNZ8XQtgzz0JxSrrHbYUSDqYYrWh6ilM/+wiYrnJyk35wyOQeAlGOKg6YESOrrx8IQdJ62nzULbAunh62YtkJWgmiUiC9qzJ0mTLmxySYLFwfbJ2jDtVmkzAShVj0yIStuulJeOclM7CRGxyWkzfw5FqYyZPr1kMFu1CgpkLGtZqDJc4SuUoR3CQwCpYjWfbTghIGd+SFzwolPaT11H9PevXu35+aOexqokyIiIbgI5nb/isEQsFHQpzBms1phxYtsjIwIEgoPmN9O/wodEYs6j1Q80SBLiF3pIjRnibGdGLmlvaMjk9RLgQBZWhubm7Frqm2YCwR9Cz8204du/L756rd6mSKDtQy/HJnw4QMA4W5WPWYBX5oSg6R2XtwOABFy0ecoze/9ZvlEf1dXV9+aZ2zWq9NqjRq5DXdkMZsxRKfpQ9DGbNB/or+vr6//RNvsipUiVjW80CkpHm42K/hRiGaosLI9xkAXIr9px9S1a9emNjay6+7XqbR2jbyaFoVBlGCQKKHz9kDeGY0B0Z3nNpDF4vOY2WylxyDpos5TuQmMBx/cXVhYW5tTVYMaRacqsmsCcnwjD8qBA4cO7dq1i+WlSIIcDi2sGjUGRqm2kJmJQbMirsPK86htXefCCMbIf3D37t2FtTk5yGwfqGMQPl8UNAJE4BD6BDh1IDE3UrrJKHATGjIxI/GJBLb4tk+PAcEZ6HXsAKPQSZDyB+4niAHzhSAOyPSug5xR9WxVGAJKEZIHg4FTbD4PMeK73rysFrUu9tJUkQ8OYYzMbOSEBMHKy202tSVw6CBEkHpWJ2Rn1xFFBQpSZ547+9pwu0bbifFJvajzLLKDCGMHJotDsnW6MASLMv/7wvhB0jP1z9RX0c8zuRVUMlQCMIpvYdAsk/DQlJgMI4J0Lvbm35EPEYMg/B1YWLwCkMB8cOvwkfNjhKmHnDlEoeKVVoUVMzBjXWkbNAmsLwUG9LeGSuvIuXzqcYGBBeFG8KG0rlprIBTc+tbtdjd+e2ZsvKm+sN5JI6owIhsQjAEGkMCcp4GlO9xHohOipGV1LV9ramoiSHS2UAFji64M+4cq9UiRSZVDZ69P1dc6a8kKUSiRBwSrMh8cMrOaTJRUNeKvnCLu7F8e3+EsZAwnN+LQeWfHRppNZrPZROkrZDYNri2fm3JWVRGEBsEucoCe4Eg7hmQkMTgF4pSs7j7P6LmpHc4c2jqZGz2zl/0jzS4Tb6dKWrOy8FsikSi6l9bOjs72bGDVYFbn9c5d9gy4ZDKFohU3BTGSK9OoF1S23Uv9JzzLy21tfs/IUHODWSYDQSHJopjJhfySGrfdgwMjHn8b5F8/0+wym1Eh0yhRMoMU7cGjsEVSmyEI3QIkY++XSAiwjbW4UyFW/m6jz5EgL2ejumUCxD+E8ilO4IxkLyhs6XG8N4OLAGSBAOwCZKMgkFDRhwdSR7pVzAlAJPpI9oIX3ML/TYkEQLhJDwAfETeQOcLUkTCOIzAuyUeymZTwlECgiSIOksQregzkIqv/4j80xD/OUfQUFCNgTKLww5SIooSkbleymX8Q/1lsWPLAf4Ug0Zh/9SSn/ncElPihyR6SvyjpFwb+//oLYHj/LyqNdWsAAAAASUVORK5CYII=",Ree="data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N//AABEIAFwAXAMBIgACEQEDEQH/xAAbAAACAgMBAAAAAAAAAAAAAAAABgQFAgMHAf/EAEAQAAEDAwIDBAUJBAsAAAAAAAEAAgMEBRESIQYxURNBYXEigZGhwQcUFSMkkrHC0TI1UvAWQkNiY3J0orKz4f/EABkBAAMBAQEAAAAAAAAAAAAAAAACBAMBBf/EACQRAAICAQIFBQAAAAAAAAAAAAABAhEDEjETITJBUQQUIiMz/9oADAMBAAIRAxEAPwDuKEIQAKPHXUctVJSR1cD6mLHaQtkBezIyMt5jYqQuAfKXTPj45rJImuMk0jCzTnVq0tG3q0rqVgd/QuY8HniqkhY2turuyxnsJgJXNHi87jyyUydtcnHP0jL91g/Kn4UjJ5ooakJZZd7hSnM2iqjHMEBr/URt6setSqbi/h+cY+laaJ42dHO8RuaehDsJXBrcaOSMti8QodPdbdUuDaavpZnHkI5muJ9hUxKOCEIQAIQhAAkS822E8WVNdLpdoa1zHfwEsAd/ta37xT2UlXU9pPWu73zaDnpqDT7gVpj6rM8rajS7mAlw+GAbOly946NGPjgepWGsDRnm7l7MqipnOkuUs2fQDQxu3QnPwU+onDaiJo/s2F59mB/PiqE01aI5RcXTN1PIJJaiM7gP29g/Vcy+USkNHeY5Ym7VTMkDveDg+4tXQbUXmaR7xjtJHOH+UgYUHiC1S3O70HYQ9o+HtHAZGxIbvulk/jaNMUfsSYqcD8Jurr/QOrgfqnCqdGP6rWEEZPUu0jHn0XdUr8D2qS3w1ktc0MrppcOYDnRE3IYM9+fSd5uI7k0KW7LZVfx2BCEIOAhCEACQ65xllcRqx28kp08yGh5/HSnKouNDTP0VNZTwv56ZJWtPsJXPpL5aKZ9LV1dRE5gB1BkrS5pc7ngHfHRMr0uheWuOrYvG2csL2Ubi9sEun03Z15jaSQfPO3LcjZaJbTUR656naJoc+TS7LnAD9kePTyVtbrrZ5aRj6K4URgI9HRK0AeruWVbXUUtO+NtdS4cMHEzf1WGuSN+HGTK6UTNuPZyRRsMQDD2ZOnIaDgZ6BwHq8cDGC40lFd/tNRHFJ2ZLBIcBwzvvy7lFdc4hWfaK2l0mQ+mZAMkjJPPHIAexVf0hb5uI6jtqmkfFoY0apGlp5k/iqsVOFEmZaMtjZaby2634imb9njp3gyA+i92pnLrj4pjStaLla2Vxd8/o2hsJA+uaAMkePgmhrg5oc0gg7gjvSSSTpD423G2eoQhKOC1VM8dLTy1E7tMUTC97ugAyVtSn8ode6ntUdIzI+cP+sdjYMbgnfxOkeWUsnpTZ1K3RTWCrkuD7lVzjEktXqI56fq2YHqGB6la6W9B7FQ8HkOo6xzSCDVHcH/DYr9eRNty5lVIx0MPNjfYsTHHjJjZ90LYsJTiN58Cks6VNJUht/qKfYRSsbob3BzQDt4kE/dVxgdEtVYdG19fG0l9PVB3ojJIDGZA826h61cm7W8HHzuP3p2r2AmFocMEDCsuF6smKW3SHMlMRo8Yzy9nLy09UuS323xjaVzz0ZG4/BRrfdKgXSG40tHWvjDtLhHSyODmHZwyG+GfMBbencoz25CTScTpSF4F6vTJgXhXqCgBNd+9ruetWP+qMLNYP/e93b3irHvhjPxWa8fN+jKo9KBRbjKIqV3V2wW+WWOFmuV7WN6kpcuNf87m9DIjbs0H8VmOkWdoayakn1tDmumO3kAPgpLqamGQ2Fod1I2UTh1wdRPHf2r/xKnuJaSzSXuJyOi69wCOnjG5hYD3eir7hhwdb5C3l28g96U7jcexYYm7Snng50j9UxcDHNhaes8v/ADKq9H1syzdIwoQheiTghCEAUlbw82orJ6qKuqKd85a57WNYWlwaG53GeQHf3KDNwtXPyGXtzR40/wCjgmlCzeKEnbQynJdxGm4Hr3nUbrDIer4HD85Wh3BN1b+xPRu83ub+UroCEvt8fgbiz8iRRcK3imiAE1G14c47SOI3JP8ACpEvDl6mbg3CljH9xjv/ABN6Fz22LwHFkIv9Bq487nTg/wCncfzpn4etbrPa2Uck7Z3Ne9xe1mgHU4nlk9eqs0J44oQdxQrm5bghCFoKf//Z",Eee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAADAFBMVEVGpf9Do/8AZ+VIp/83m/1Lqf8AZeQmkfkymPs7nf4Cg/L1+f48n/80mvwtlfrx9/4cjPcZivX3+v4BaeQBgPEAbeg+oP/v9v4BauYBfvDn8f3u9f1Bov8/of8AZeMqlPr4+/4Oh/Qjj/ggjvcAXsoAcOnt8/0BcusIhfM4nf7l8PwSh/QAe+4AduwAee3k7/zz+P/6/P4BYMwBfO/i7vwvlvsAdevp8f3h7Prk7vsAYtLp8/0Wivb9/v7g7P0BZ+Dd6/zc6vwAYM77/f6Ns9yUuOAAZNXr9P7a6PmcvuIBaOKXu+CPtt+RtNva6fzS4vYAZdnV5fjA1++20OvY5/re6vzX5vjI3fS50u0AZdzU4/euyuixy+elxOWXudzL3vK91e2dvN+Ut9sAYdCzzemoxube6vnG2/HF2e+qyOmgweTW5vrK3/XC2fGsyOeMstvs8vvS5PnP4fXM4PXO3/PH3PPE2/O20e6zzuywzOoAcObC2O+jw+agwOGbu91AfdGmxugHYa3z9/zQ4/fN4faiweMAbuKaveEAZt4CX63Y6Py50+/B1usBdun////o8Png6ve91vG71PC80+qty+oAeOoAc+fY5PTS4fPJ2+8Bf+260ekAbeWsx+QAad4AbNjf7P3i7Pjd6PbA1/MAe+yyzesAduYwlPcZiPErkvYmj/WoxeOkwuJDn/wijPMNhPAXhO4AfOm3z+iFrNkAadIvdNBWqP1ztfwuiOoAcd44edElbs/W5PakyfVdo/IrjvF+sO1QmOtTkOC32f1OpP2Cu/q51veu0PeKuvI4kfCbwO6Su+4hie4KgOwGdeITZ80caLKgzP7C3v1erP3L4/xyrvNHmPGvzu5yqOw8kesQf+kggehGjuaBrOIeeeFnmdpXjdcCaNYQZK+TxfzB2vc6l/Vnp/GkxvBjouxbmumIsuhknOQ4g+Iuf+J6pNdzoNIcas5omMwmbbSax/hGnPVTn/MRd+d1pOF9qOBDht4NZc0yfNgYc9hfkcg4d7owc7j13NKGAAAKFElEQVRo3uzUP2gTURzA8RMjJlzj6RsM5BRPhQPjkGQIyXFGBIdzURDESRzEQVDw/LOJQw6XiFwEBwUR/DPkjyQGhMSliZI/rRohSRvBNbXipNjW0T+/e7kber73ajNkEL+06aP58fvwrn+4TRNoMsjGCTQhhIMPy1rHgRsdOPcBPvGQ68D9b31tmED/ELJjAnE7JxC3fa2mnMP4U9zUFEzAy5TrAOHDxrkNo4P9HvEAUzsIbzkbAWHm6wUaFd9aQ5VGosoY4nzsmodMc76yjz20oYFQjzGzBuKpItM0+xxT2bdgIKlfZCD7WPn8C2YS6vkYQ565gxJChyoe6gTnYbbYsBBTqPrpM8WGhCQkVr3UCTbiXzkGCCg3m1TFXxWRJCFjYVzEWxMBsepRjWIfWQiaWaQjflbZajQ5Sq56ySPeloEQGOjGCkyQYyLe7LJ9kcPJfpE8UpxHOD7xPUtFvKyybRMTEN+KkSZiLYPHhqEPsrQ1HNNYvGQCMep8MxaL+X3FZrMyV6k0i0WPF74BF+ERDxnGbH485HsYiFFRaXmu1WvM33wYDgaD4YPH5vszC9VKKwDACJnOxmhIjFH+k5C0CUhQUdRKghB+QUIozttFjI+LWcoebgu9bKEVdQic5IRG8fhJOcjxlTxlEROpLyejQDi5CAw4REQQHtXGQfL1djJKINyCELGMgD4o7KIgu+jlX99Irn0LEMAARHxbz5MXcQyj8D7xtwRGZqjIZmr5Uk12EVQBIx9fF8ibGEihNOAlN0EGgAgExOPvx0A6sy6BQYAh366VxkCmo/TnJKwiMJIZlApkZA+1Ur0dRSQBWg2AAMn6bKdA3MRCXl+SkGPAfVyCQwgRARuarE93SmRkL7Xc+4RzCySeO3VVIF5CPvfgWhyuAenteom4iY5szdV0+zmhzNfucOmo+IcgBjLPl4ZLXxRR1jRVv/JhGxnZSq08MOx/gOh0KpVKd+/zf/wghKfDdCo1vB6QVVXPHHmV20vaREdK5VneTvyRtpTnEZtwDOgrfuebCsVDjz7ltq4PyZWnkY0EHMRFyLKDxMGIh5SX5W1EZButXKeN7N8n/vownU4v3YqsEiBNPNWFd7pPtXg8GAxl3pRzpFUM5MUFAKyEiP78V/fnddEWbEDTZFUOnvnZ/XVRAQIQZaazTqT84YRhCTjx3q27LkKWVav41TtXg6PCypMXZOQApdyzV4rghP/kRMgW4BMD1kNSNdW6BRRWLn94tp+wi9tP691n3RZwWNDsxyQ7Ai5kpyROvnpGWsXtJgfIS9FFiJiAr2dPgeQmwmEl8fjTu/2EZb8pJ3uYJsIADDu7uJgY4+RijLE41JC7mJB20glT6A8pxmpCTgyotaD8NHFA4oC59DBcr1w00uPayaQ2cShJUWBQgcBosVQmI/g3OKiDDr7f992f7d3AE0rb5Xnu/e564DhK9OX8gP+ljfWJI4eaCyfO55/03fvx43LvM8EunKGc5TlpacOaAg+DRDwo1RcnzAKw7gT/5Na9ePXqrZscEo4CgZPW6iW3JSc9KG2/njhmjmDgPoDz53BS5HfhmEATHR2cUNsuubg8I2pl0DnC9V6zBCuAuYgwXVHdIgc9UN+HmkZYBccGu4AGIrH3qovLK3JYXeao3n5e3RPUTl5zgUDkwsVl9fA+IuW9DBJGAdin5NzAcfB3BCKRABKB4IXqXnlfka1k0jqm1gKPAMAOYgdBQlhZco0cdkctv00CFByHxJ/BH8/ziLAAJpj+zmBn51Q4ul5WW2Xekd2k85QAj4ZVmHNOQIIwNTUQ3a3vI6LX3yTNDQB65rdOiWyIBFmDBqbC4fBAfGRbP9oaOeqOvj2ftBNWo8OxIUhhE5AgjYH4fKXcKmuK+J+vvnuFd1WuTJ6yn1ZWMCawDdBTTD/ldvxOo6x6R1ji5ZuQEPvpP+qXG1HehD2qSESApYfZkkMfCt0G9xOfZZeI38HqIpfJZKRPfr8uLmt5nucMcPGCEAwKFyhEHo1GB0KAuOPETpicHEpsFXV/M87Iu4+ZDJ9JbdV1v17ck/IcEAhBAXoK7IDZnXIwBAZjiSW3yGmL1Y+ZfD5fa2wWZV0vbkmSACy9KY8D2C8CyFOGnBADd66tb+qnm7EjzxfRkNZ3ni6gIhffSpqmWXrTDjXk91Op1GSKuWPUDe4SbqTXdmTdM9L2UstL0trfFy+eLiCyuaZFTb9lh97DDv2NeULX9e9iW0ukzWBjF42uP2iQiPhrV6tGq9WqqU+BoWGqTxj2a8wN4J8mPAJj38S2ZsyIrxLD+XxgDVEu7owoDv/w8NDwYCJB9JDbdly5ZX9I6RltZGWvSPtyVdOUFaPhy36fzgHoCQkCuXZA3Ol0ugtQOVOPmHR3r2R9LREfI/tZUZQcIgtZ0eeTs9/6c7h8pocc9Pf3Q0/tV64we08Ps48SarXRQq1Q6Ps6DsH/GBFxnESUr6yBr41ZGjD1adBF/QBy2LsBkRcKhbGZsRmD3r7fXpF28cFKTskpXxbGxXby9fHKbGKW+W096CEYesgJvTO9121uXvqwmW1vjvyjjIx5EwXjOPwp+g007gwdHI2YWDXpeMkBF6AmvQ52adKEVHQpLm42jQSkH0AnPZOLLk3Hu4H1kosFx7NXz6lVr0N/7ytCQBz6DCR/As/z8ueQcquR/bQvnxVvfNJ9f6C/DOlvNvZ6mMoMkQh+5O1r++LLxezFG191+JtU3wpOf0L1n73Dl8v1Os9fheDLxUdlJ5KiKNrdsq3r+un971TqEOPktAl9CwGD+E8A0YNKpVIGPE/812dR+MKjkorgR6b/P+lkRT/+fH/BOGu2jEDPcdQe6GGHPx9DtfGs3O6L3H1zdL1JuPl5/+vpyuhTP+f5ff01qFar+XwDFHYRxb9mMjaSRCRnTxBpUQyj7/tB4D+DHn6qZ2MpiCttJ5LcoFlTebFEBP4+LWzP34W+B7+v9/zFeFh1pSnJMNuIaU3TmbVbRgUNDo1Op9Pt8r0eAsF2BJaViD675fw8G6IoqQ9H+yKKZuVkhhk7LGcY6HAcjXTRwB8QRbGhqoIgSKBUIu6ALO3gbglIgvhgmfsipnVMKow9cp3XyUDkQAeQTg8ZgAwgmQgSQQAqkFa7kQMPU8PCSCWRSOA6rrnOfDnIFllBFX1UQEtezQviwwaDwXz+z3Hd2nBqmQdhENlWjqzjtJxhNiRoa23bi/F4PASj0agWYQSGAE8sFra93rwm5+IjQSWXluVMxs98HIZ5724OkRgIYSgMdyp6gRhUD4LJDAIRFRu9l8mx+8os7LAMSMR+/r0fEZpGUCF2zTlGlErqsv69pHREXUcCCbuZolRSkHrdHzRHgVHOJkMk9IhEmNm9pE5xKTeqauZC4QaRAQFS4H/W6I1VXjCIEIVpZOyAVDwnFZ3CGKENXu8NHhT5bLAn8t3gB5tRcTnQFMqEAAAAAElFTkSuQmCC";var Ft={};const $ee="Á",Aee="á",Iee="Ă",Oee="ă",Mee="∾",zee="∿",Dee="∾̳",Lee="Â",Fee="â",Bee="´",Nee="А",Hee="а",jee="Æ",Vee="æ",Wee="⁡",Uee="𝔄",qee="𝔞",Kee="À",Gee="à",Yee="ℵ",Xee="ℵ",Zee="Α",Jee="α",Qee="Ā",ete="ā",tte="⨿",nte="&",ote="&",rte="⩕",ite="⩓",ate="∧",ste="⩜",lte="⩘",cte="⩚",ute="∠",dte="⦤",fte="∠",hte="⦨",pte="⦩",mte="⦪",gte="⦫",vte="⦬",bte="⦭",yte="⦮",xte="⦯",Cte="∡",wte="∟",_te="⊾",Ste="⦝",kte="∢",Pte="Å",Tte="⍼",Rte="Ą",Ete="ą",$te="𝔸",Ate="𝕒",Ite="⩯",Ote="≈",Mte="⩰",zte="≊",Dte="≋",Lte="'",Fte="⁡",Bte="≈",Nte="≊",Hte="Å",jte="å",Vte="𝒜",Wte="𝒶",Ute="≔",qte="*",Kte="≈",Gte="≍",Yte="Ã",Xte="ã",Zte="Ä",Jte="ä",Qte="∳",ene="⨑",tne="≌",nne="϶",one="‵",rne="∽",ine="⋍",ane="∖",sne="⫧",lne="⊽",cne="⌅",une="⌆",dne="⌅",fne="⎵",hne="⎶",pne="≌",mne="Б",gne="б",vne="„",bne="∵",yne="∵",xne="∵",Cne="⦰",wne="϶",_ne="ℬ",Sne="ℬ",kne="Β",Pne="β",Tne="ℶ",Rne="≬",Ene="𝔅",$ne="𝔟",Ane="⋂",Ine="◯",One="⋃",Mne="⨀",zne="⨁",Dne="⨂",Lne="⨆",Fne="★",Bne="▽",Nne="△",Hne="⨄",jne="⋁",Vne="⋀",Wne="⤍",Une="⧫",qne="▪",Kne="▴",Gne="▾",Yne="◂",Xne="▸",Zne="␣",Jne="▒",Qne="░",eoe="▓",toe="█",noe="=⃥",ooe="≡⃥",roe="⫭",ioe="⌐",aoe="𝔹",soe="𝕓",loe="⊥",coe="⊥",uoe="⋈",doe="⧉",foe="┐",hoe="╕",poe="╖",moe="╗",goe="┌",voe="╒",boe="╓",yoe="╔",xoe="─",Coe="═",woe="┬",_oe="╤",Soe="╥",koe="╦",Poe="┴",Toe="╧",Roe="╨",Eoe="╩",$oe="⊟",Aoe="⊞",Ioe="⊠",Ooe="┘",Moe="╛",zoe="╜",Doe="╝",Loe="└",Foe="╘",Boe="╙",Noe="╚",Hoe="│",joe="║",Voe="┼",Woe="╪",Uoe="╫",qoe="╬",Koe="┤",Goe="╡",Yoe="╢",Xoe="╣",Zoe="├",Joe="╞",Qoe="╟",ere="╠",tre="‵",nre="˘",ore="˘",rre="¦",ire="𝒷",are="ℬ",sre="⁏",lre="∽",cre="⋍",ure="⧅",dre="\\",fre="⟈",hre="•",pre="•",mre="≎",gre="⪮",vre="≏",bre="≎",yre="≏",xre="Ć",Cre="ć",wre="⩄",_re="⩉",Sre="⩋",kre="∩",Pre="⋒",Tre="⩇",Rre="⩀",Ere="ⅅ",$re="∩︀",Are="⁁",Ire="ˇ",Ore="ℭ",Mre="⩍",zre="Č",Dre="č",Lre="Ç",Fre="ç",Bre="Ĉ",Nre="ĉ",Hre="∰",jre="⩌",Vre="⩐",Wre="Ċ",Ure="ċ",qre="¸",Kre="¸",Gre="⦲",Yre="¢",Xre="·",Zre="·",Jre="𝔠",Qre="ℭ",eie="Ч",tie="ч",nie="✓",oie="✓",rie="Χ",iie="χ",aie="ˆ",sie="≗",lie="↺",cie="↻",uie="⊛",die="⊚",fie="⊝",hie="⊙",pie="®",mie="Ⓢ",gie="⊖",vie="⊕",bie="⊗",yie="○",xie="⧃",Cie="≗",wie="⨐",_ie="⫯",Sie="⧂",kie="∲",Pie="”",Tie="’",Rie="♣",Eie="♣",$ie=":",Aie="∷",Iie="⩴",Oie="≔",Mie="≔",zie=",",Die="@",Lie="∁",Fie="∘",Bie="∁",Nie="ℂ",Hie="≅",jie="⩭",Vie="≡",Wie="∮",Uie="∯",qie="∮",Kie="𝕔",Gie="ℂ",Yie="∐",Xie="∐",Zie="©",Jie="©",Qie="℗",eae="∳",tae="↵",nae="✗",oae="⨯",rae="𝒞",iae="𝒸",aae="⫏",sae="⫑",lae="⫐",cae="⫒",uae="⋯",dae="⤸",fae="⤵",hae="⋞",pae="⋟",mae="↶",gae="⤽",vae="⩈",bae="⩆",yae="≍",xae="∪",Cae="⋓",wae="⩊",_ae="⊍",Sae="⩅",kae="∪︀",Pae="↷",Tae="⤼",Rae="⋞",Eae="⋟",$ae="⋎",Aae="⋏",Iae="¤",Oae="↶",Mae="↷",zae="⋎",Dae="⋏",Lae="∲",Fae="∱",Bae="⌭",Nae="†",Hae="‡",jae="ℸ",Vae="↓",Wae="↡",Uae="⇓",qae="‐",Kae="⫤",Gae="⊣",Yae="⤏",Xae="˝",Zae="Ď",Jae="ď",Qae="Д",ese="д",tse="‡",nse="⇊",ose="ⅅ",rse="ⅆ",ise="⤑",ase="⩷",sse="°",lse="∇",cse="Δ",use="δ",dse="⦱",fse="⥿",hse="𝔇",pse="𝔡",mse="⥥",gse="⇃",vse="⇂",bse="´",yse="˙",xse="˝",Cse="`",wse="˜",_se="⋄",Sse="⋄",kse="⋄",Pse="♦",Tse="♦",Rse="¨",Ese="ⅆ",$se="ϝ",Ase="⋲",Ise="÷",Ose="÷",Mse="⋇",zse="⋇",Dse="Ђ",Lse="ђ",Fse="⌞",Bse="⌍",Nse="$",Hse="𝔻",jse="𝕕",Vse="¨",Wse="˙",Use="⃜",qse="≐",Kse="≑",Gse="≐",Yse="∸",Xse="∔",Zse="⊡",Jse="⌆",Qse="∯",ele="¨",tle="⇓",nle="⇐",ole="⇔",rle="⫤",ile="⟸",ale="⟺",sle="⟹",lle="⇒",cle="⊨",ule="⇑",dle="⇕",fle="∥",hle="⤓",ple="↓",mle="↓",gle="⇓",vle="⇵",ble="̑",yle="⇊",xle="⇃",Cle="⇂",wle="⥐",_le="⥞",Sle="⥖",kle="↽",Ple="⥟",Tle="⥗",Rle="⇁",Ele="↧",$le="⊤",Ale="⤐",Ile="⌟",Ole="⌌",Mle="𝒟",zle="𝒹",Dle="Ѕ",Lle="ѕ",Fle="⧶",Ble="Đ",Nle="đ",Hle="⋱",jle="▿",Vle="▾",Wle="⇵",Ule="⥯",qle="⦦",Kle="Џ",Gle="џ",Yle="⟿",Xle="É",Zle="é",Jle="⩮",Qle="Ě",ece="ě",tce="Ê",nce="ê",oce="≖",rce="≕",ice="Э",ace="э",sce="⩷",lce="Ė",cce="ė",uce="≑",dce="ⅇ",fce="≒",hce="𝔈",pce="𝔢",mce="⪚",gce="È",vce="è",bce="⪖",yce="⪘",xce="⪙",Cce="∈",wce="⏧",_ce="ℓ",Sce="⪕",kce="⪗",Pce="Ē",Tce="ē",Rce="∅",Ece="∅",$ce="◻",Ace="∅",Ice="▫",Oce=" ",Mce=" ",zce=" ",Dce="Ŋ",Lce="ŋ",Fce=" ",Bce="Ę",Nce="ę",Hce="𝔼",jce="𝕖",Vce="⋕",Wce="⧣",Uce="⩱",qce="ε",Kce="Ε",Gce="ε",Yce="ϵ",Xce="≖",Zce="≕",Jce="≂",Qce="⪖",eue="⪕",tue="⩵",nue="=",oue="≂",rue="≟",iue="⇌",aue="≡",sue="⩸",lue="⧥",cue="⥱",uue="≓",due="ℯ",fue="ℰ",hue="≐",pue="⩳",mue="≂",gue="Η",vue="η",bue="Ð",yue="ð",xue="Ë",Cue="ë",wue="€",_ue="!",Sue="∃",kue="∃",Pue="ℰ",Tue="ⅇ",Rue="ⅇ",Eue="≒",$ue="Ф",Aue="ф",Iue="♀",Oue="ffi",Mue="ff",zue="ffl",Due="𝔉",Lue="𝔣",Fue="fi",Bue="◼",Nue="▪",Hue="fj",jue="♭",Vue="fl",Wue="▱",Uue="ƒ",que="𝔽",Kue="𝕗",Gue="∀",Yue="∀",Xue="⋔",Zue="⫙",Jue="ℱ",Que="⨍",ede="½",tde="⅓",nde="¼",ode="⅕",rde="⅙",ide="⅛",ade="⅔",sde="⅖",lde="¾",cde="⅗",ude="⅜",dde="⅘",fde="⅚",hde="⅝",pde="⅞",mde="⁄",gde="⌢",vde="𝒻",bde="ℱ",yde="ǵ",xde="Γ",Cde="γ",wde="Ϝ",_de="ϝ",Sde="⪆",kde="Ğ",Pde="ğ",Tde="Ģ",Rde="Ĝ",Ede="ĝ",$de="Г",Ade="г",Ide="Ġ",Ode="ġ",Mde="≥",zde="≧",Dde="⪌",Lde="⋛",Fde="≥",Bde="≧",Nde="⩾",Hde="⪩",jde="⩾",Vde="⪀",Wde="⪂",Ude="⪄",qde="⋛︀",Kde="⪔",Gde="𝔊",Yde="𝔤",Xde="≫",Zde="⋙",Jde="⋙",Qde="ℷ",efe="Ѓ",tfe="ѓ",nfe="⪥",ofe="≷",rfe="⪒",ife="⪤",afe="⪊",sfe="⪊",lfe="⪈",cfe="≩",ufe="⪈",dfe="≩",ffe="⋧",hfe="𝔾",pfe="𝕘",mfe="`",gfe="≥",vfe="⋛",bfe="≧",yfe="⪢",xfe="≷",Cfe="⩾",wfe="≳",_fe="𝒢",Sfe="ℊ",kfe="≳",Pfe="⪎",Tfe="⪐",Rfe="⪧",Efe="⩺",$fe=">",Afe=">",Ife="≫",Ofe="⋗",Mfe="⦕",zfe="⩼",Dfe="⪆",Lfe="⥸",Ffe="⋗",Bfe="⋛",Nfe="⪌",Hfe="≷",jfe="≳",Vfe="≩︀",Wfe="≩︀",Ufe="ˇ",qfe=" ",Kfe="½",Gfe="ℋ",Yfe="Ъ",Xfe="ъ",Zfe="⥈",Jfe="↔",Qfe="⇔",ehe="↭",the="^",nhe="ℏ",ohe="Ĥ",rhe="ĥ",ihe="♥",ahe="♥",she="…",lhe="⊹",che="𝔥",uhe="ℌ",dhe="ℋ",fhe="⤥",hhe="⤦",phe="⇿",mhe="∻",ghe="↩",vhe="↪",bhe="𝕙",yhe="ℍ",xhe="―",Che="─",whe="𝒽",_he="ℋ",She="ℏ",khe="Ħ",Phe="ħ",The="≎",Rhe="≏",Ehe="⁃",$he="‐",Ahe="Í",Ihe="í",Ohe="⁣",Mhe="Î",zhe="î",Dhe="И",Lhe="и",Fhe="İ",Bhe="Е",Nhe="е",Hhe="¡",jhe="⇔",Vhe="𝔦",Whe="ℑ",Uhe="Ì",qhe="ì",Khe="ⅈ",Ghe="⨌",Yhe="∭",Xhe="⧜",Zhe="℩",Jhe="IJ",Qhe="ij",epe="Ī",tpe="ī",npe="ℑ",ope="ⅈ",rpe="ℐ",ipe="ℑ",ape="ı",spe="ℑ",lpe="⊷",cpe="Ƶ",upe="⇒",dpe="℅",fpe="∞",hpe="⧝",ppe="ı",mpe="⊺",gpe="∫",vpe="∬",bpe="ℤ",ype="∫",xpe="⊺",Cpe="⋂",wpe="⨗",_pe="⨼",Spe="⁣",kpe="⁢",Ppe="Ё",Tpe="ё",Rpe="Į",Epe="į",$pe="𝕀",Ape="𝕚",Ipe="Ι",Ope="ι",Mpe="⨼",zpe="¿",Dpe="𝒾",Lpe="ℐ",Fpe="∈",Bpe="⋵",Npe="⋹",Hpe="⋴",jpe="⋳",Vpe="∈",Wpe="⁢",Upe="Ĩ",qpe="ĩ",Kpe="І",Gpe="і",Ype="Ï",Xpe="ï",Zpe="Ĵ",Jpe="ĵ",Qpe="Й",eme="й",tme="𝔍",nme="𝔧",ome="ȷ",rme="𝕁",ime="𝕛",ame="𝒥",sme="𝒿",lme="Ј",cme="ј",ume="Є",dme="є",fme="Κ",hme="κ",pme="ϰ",mme="Ķ",gme="ķ",vme="К",bme="к",yme="𝔎",xme="𝔨",Cme="ĸ",wme="Х",_me="х",Sme="Ќ",kme="ќ",Pme="𝕂",Tme="𝕜",Rme="𝒦",Eme="𝓀",$me="⇚",Ame="Ĺ",Ime="ĺ",Ome="⦴",Mme="ℒ",zme="Λ",Dme="λ",Lme="⟨",Fme="⟪",Bme="⦑",Nme="⟨",Hme="⪅",jme="ℒ",Vme="«",Wme="⇤",Ume="⤟",qme="←",Kme="↞",Gme="⇐",Yme="⤝",Xme="↩",Zme="↫",Jme="⤹",Qme="⥳",ege="↢",tge="⤙",nge="⤛",oge="⪫",rge="⪭",ige="⪭︀",age="⤌",sge="⤎",lge="❲",cge="{",uge="[",dge="⦋",fge="⦏",hge="⦍",pge="Ľ",mge="ľ",gge="Ļ",vge="ļ",bge="⌈",yge="{",xge="Л",Cge="л",wge="⤶",_ge="“",Sge="„",kge="⥧",Pge="⥋",Tge="↲",Rge="≤",Ege="≦",$ge="⟨",Age="⇤",Ige="←",Oge="←",Mge="⇐",zge="⇆",Dge="↢",Lge="⌈",Fge="⟦",Bge="⥡",Nge="⥙",Hge="⇃",jge="⌊",Vge="↽",Wge="↼",Uge="⇇",qge="↔",Kge="↔",Gge="⇔",Yge="⇆",Xge="⇋",Zge="↭",Jge="⥎",Qge="↤",eve="⊣",tve="⥚",nve="⋋",ove="⧏",rve="⊲",ive="⊴",ave="⥑",sve="⥠",lve="⥘",cve="↿",uve="⥒",dve="↼",fve="⪋",hve="⋚",pve="≤",mve="≦",gve="⩽",vve="⪨",bve="⩽",yve="⩿",xve="⪁",Cve="⪃",wve="⋚︀",_ve="⪓",Sve="⪅",kve="⋖",Pve="⋚",Tve="⪋",Rve="⋚",Eve="≦",$ve="≶",Ave="≶",Ive="⪡",Ove="≲",Mve="⩽",zve="≲",Dve="⥼",Lve="⌊",Fve="𝔏",Bve="𝔩",Nve="≶",Hve="⪑",jve="⥢",Vve="↽",Wve="↼",Uve="⥪",qve="▄",Kve="Љ",Gve="љ",Yve="⇇",Xve="≪",Zve="⋘",Jve="⌞",Qve="⇚",ebe="⥫",tbe="◺",nbe="Ŀ",obe="ŀ",rbe="⎰",ibe="⎰",abe="⪉",sbe="⪉",lbe="⪇",cbe="≨",ube="⪇",dbe="≨",fbe="⋦",hbe="⟬",pbe="⇽",mbe="⟦",gbe="⟵",vbe="⟵",bbe="⟸",ybe="⟷",xbe="⟷",Cbe="⟺",wbe="⟼",_be="⟶",Sbe="⟶",kbe="⟹",Pbe="↫",Tbe="↬",Rbe="⦅",Ebe="𝕃",$be="𝕝",Abe="⨭",Ibe="⨴",Obe="∗",Mbe="_",zbe="↙",Dbe="↘",Lbe="◊",Fbe="◊",Bbe="⧫",Nbe="(",Hbe="⦓",jbe="⇆",Vbe="⌟",Wbe="⇋",Ube="⥭",qbe="‎",Kbe="⊿",Gbe="‹",Ybe="𝓁",Xbe="ℒ",Zbe="↰",Jbe="↰",Qbe="≲",e0e="⪍",t0e="⪏",n0e="[",o0e="‘",r0e="‚",i0e="Ł",a0e="ł",s0e="⪦",l0e="⩹",c0e="<",u0e="<",d0e="≪",f0e="⋖",h0e="⋋",p0e="⋉",m0e="⥶",g0e="⩻",v0e="◃",b0e="⊴",y0e="◂",x0e="⦖",C0e="⥊",w0e="⥦",_0e="≨︀",S0e="≨︀",k0e="¯",P0e="♂",T0e="✠",R0e="✠",E0e="↦",$0e="↦",A0e="↧",I0e="↤",O0e="↥",M0e="▮",z0e="⨩",D0e="М",L0e="м",F0e="—",B0e="∺",N0e="∡",H0e=" ",j0e="ℳ",V0e="𝔐",W0e="𝔪",U0e="℧",q0e="µ",K0e="*",G0e="⫰",Y0e="∣",X0e="·",Z0e="⊟",J0e="−",Q0e="∸",e1e="⨪",t1e="∓",n1e="⫛",o1e="…",r1e="∓",i1e="⊧",a1e="𝕄",s1e="𝕞",l1e="∓",c1e="𝓂",u1e="ℳ",d1e="∾",f1e="Μ",h1e="μ",p1e="⊸",m1e="⊸",g1e="∇",v1e="Ń",b1e="ń",y1e="∠⃒",x1e="≉",C1e="⩰̸",w1e="≋̸",_1e="ʼn",S1e="≉",k1e="♮",P1e="ℕ",T1e="♮",R1e=" ",E1e="≎̸",$1e="≏̸",A1e="⩃",I1e="Ň",O1e="ň",M1e="Ņ",z1e="ņ",D1e="≇",L1e="⩭̸",F1e="⩂",B1e="Н",N1e="н",H1e="–",j1e="⤤",V1e="↗",W1e="⇗",U1e="↗",q1e="≠",K1e="≐̸",G1e="​",Y1e="​",X1e="​",Z1e="​",J1e="≢",Q1e="⤨",eye="≂̸",tye="≫",nye="≪",oye=` +`,rye="∄",iye="∄",aye="𝔑",sye="𝔫",lye="≧̸",cye="≱",uye="≱",dye="≧̸",fye="⩾̸",hye="⩾̸",pye="⋙̸",mye="≵",gye="≫⃒",vye="≯",bye="≯",yye="≫̸",xye="↮",Cye="⇎",wye="⫲",_ye="∋",Sye="⋼",kye="⋺",Pye="∋",Tye="Њ",Rye="њ",Eye="↚",$ye="⇍",Aye="‥",Iye="≦̸",Oye="≰",Mye="↚",zye="⇍",Dye="↮",Lye="⇎",Fye="≰",Bye="≦̸",Nye="⩽̸",Hye="⩽̸",jye="≮",Vye="⋘̸",Wye="≴",Uye="≪⃒",qye="≮",Kye="⋪",Gye="⋬",Yye="≪̸",Xye="∤",Zye="⁠",Jye=" ",Qye="𝕟",exe="ℕ",txe="⫬",nxe="¬",oxe="≢",rxe="≭",ixe="∦",axe="∉",sxe="≠",lxe="≂̸",cxe="∄",uxe="≯",dxe="≱",fxe="≧̸",hxe="≫̸",pxe="≹",mxe="⩾̸",gxe="≵",vxe="≎̸",bxe="≏̸",yxe="∉",xxe="⋵̸",Cxe="⋹̸",wxe="∉",_xe="⋷",Sxe="⋶",kxe="⧏̸",Pxe="⋪",Txe="⋬",Rxe="≮",Exe="≰",$xe="≸",Axe="≪̸",Ixe="⩽̸",Oxe="≴",Mxe="⪢̸",zxe="⪡̸",Dxe="∌",Lxe="∌",Fxe="⋾",Bxe="⋽",Nxe="⊀",Hxe="⪯̸",jxe="⋠",Vxe="∌",Wxe="⧐̸",Uxe="⋫",qxe="⋭",Kxe="⊏̸",Gxe="⋢",Yxe="⊐̸",Xxe="⋣",Zxe="⊂⃒",Jxe="⊈",Qxe="⊁",eCe="⪰̸",tCe="⋡",nCe="≿̸",oCe="⊃⃒",rCe="⊉",iCe="≁",aCe="≄",sCe="≇",lCe="≉",cCe="∤",uCe="∦",dCe="∦",fCe="⫽⃥",hCe="∂̸",pCe="⨔",mCe="⊀",gCe="⋠",vCe="⊀",bCe="⪯̸",yCe="⪯̸",xCe="⤳̸",CCe="↛",wCe="⇏",_Ce="↝̸",SCe="↛",kCe="⇏",PCe="⋫",TCe="⋭",RCe="⊁",ECe="⋡",$Ce="⪰̸",ACe="𝒩",ICe="𝓃",OCe="∤",MCe="∦",zCe="≁",DCe="≄",LCe="≄",FCe="∤",BCe="∦",NCe="⋢",HCe="⋣",jCe="⊄",VCe="⫅̸",WCe="⊈",UCe="⊂⃒",qCe="⊈",KCe="⫅̸",GCe="⊁",YCe="⪰̸",XCe="⊅",ZCe="⫆̸",JCe="⊉",QCe="⊃⃒",ewe="⊉",twe="⫆̸",nwe="≹",owe="Ñ",rwe="ñ",iwe="≸",awe="⋪",swe="⋬",lwe="⋫",cwe="⋭",uwe="Ν",dwe="ν",fwe="#",hwe="№",pwe=" ",mwe="≍⃒",gwe="⊬",vwe="⊭",bwe="⊮",ywe="⊯",xwe="≥⃒",Cwe=">⃒",wwe="⤄",_we="⧞",Swe="⤂",kwe="≤⃒",Pwe="<⃒",Twe="⊴⃒",Rwe="⤃",Ewe="⊵⃒",$we="∼⃒",Awe="⤣",Iwe="↖",Owe="⇖",Mwe="↖",zwe="⤧",Dwe="Ó",Lwe="ó",Fwe="⊛",Bwe="Ô",Nwe="ô",Hwe="⊚",jwe="О",Vwe="о",Wwe="⊝",Uwe="Ő",qwe="ő",Kwe="⨸",Gwe="⊙",Ywe="⦼",Xwe="Œ",Zwe="œ",Jwe="⦿",Qwe="𝔒",e_e="𝔬",t_e="˛",n_e="Ò",o_e="ò",r_e="⧁",i_e="⦵",a_e="Ω",s_e="∮",l_e="↺",c_e="⦾",u_e="⦻",d_e="‾",f_e="⧀",h_e="Ō",p_e="ō",m_e="Ω",g_e="ω",v_e="Ο",b_e="ο",y_e="⦶",x_e="⊖",C_e="𝕆",w_e="𝕠",__e="⦷",S_e="“",k_e="‘",P_e="⦹",T_e="⊕",R_e="↻",E_e="⩔",$_e="∨",A_e="⩝",I_e="ℴ",O_e="ℴ",M_e="ª",z_e="º",D_e="⊶",L_e="⩖",F_e="⩗",B_e="⩛",N_e="Ⓢ",H_e="𝒪",j_e="ℴ",V_e="Ø",W_e="ø",U_e="⊘",q_e="Õ",K_e="õ",G_e="⨶",Y_e="⨷",X_e="⊗",Z_e="Ö",J_e="ö",Q_e="⌽",e2e="‾",t2e="⏞",n2e="⎴",o2e="⏜",r2e="¶",i2e="∥",a2e="∥",s2e="⫳",l2e="⫽",c2e="∂",u2e="∂",d2e="П",f2e="п",h2e="%",p2e=".",m2e="‰",g2e="⊥",v2e="‱",b2e="𝔓",y2e="𝔭",x2e="Φ",C2e="φ",w2e="ϕ",_2e="ℳ",S2e="☎",k2e="Π",P2e="π",T2e="⋔",R2e="ϖ",E2e="ℏ",$2e="ℎ",A2e="ℏ",I2e="⨣",O2e="⊞",M2e="⨢",z2e="+",D2e="∔",L2e="⨥",F2e="⩲",B2e="±",N2e="±",H2e="⨦",j2e="⨧",V2e="±",W2e="ℌ",U2e="⨕",q2e="𝕡",K2e="ℙ",G2e="£",Y2e="⪷",X2e="⪻",Z2e="≺",J2e="≼",Q2e="⪷",eSe="≺",tSe="≼",nSe="≺",oSe="⪯",rSe="≼",iSe="≾",aSe="⪯",sSe="⪹",lSe="⪵",cSe="⋨",uSe="⪯",dSe="⪳",fSe="≾",hSe="′",pSe="″",mSe="ℙ",gSe="⪹",vSe="⪵",bSe="⋨",ySe="∏",xSe="∏",CSe="⌮",wSe="⌒",_Se="⌓",SSe="∝",kSe="∝",PSe="∷",TSe="∝",RSe="≾",ESe="⊰",$Se="𝒫",ASe="𝓅",ISe="Ψ",OSe="ψ",MSe=" ",zSe="𝔔",DSe="𝔮",LSe="⨌",FSe="𝕢",BSe="ℚ",NSe="⁗",HSe="𝒬",jSe="𝓆",VSe="ℍ",WSe="⨖",USe="?",qSe="≟",KSe='"',GSe='"',YSe="⇛",XSe="∽̱",ZSe="Ŕ",JSe="ŕ",QSe="√",eke="⦳",tke="⟩",nke="⟫",oke="⦒",rke="⦥",ike="⟩",ake="»",ske="⥵",lke="⇥",cke="⤠",uke="⤳",dke="→",fke="↠",hke="⇒",pke="⤞",mke="↪",gke="↬",vke="⥅",bke="⥴",yke="⤖",xke="↣",Cke="↝",wke="⤚",_ke="⤜",Ske="∶",kke="ℚ",Pke="⤍",Tke="⤏",Rke="⤐",Eke="❳",$ke="}",Ake="]",Ike="⦌",Oke="⦎",Mke="⦐",zke="Ř",Dke="ř",Lke="Ŗ",Fke="ŗ",Bke="⌉",Nke="}",Hke="Р",jke="р",Vke="⤷",Wke="⥩",Uke="”",qke="”",Kke="↳",Gke="ℜ",Yke="ℛ",Xke="ℜ",Zke="ℝ",Jke="ℜ",Qke="▭",e3e="®",t3e="®",n3e="∋",o3e="⇋",r3e="⥯",i3e="⥽",a3e="⌋",s3e="𝔯",l3e="ℜ",c3e="⥤",u3e="⇁",d3e="⇀",f3e="⥬",h3e="Ρ",p3e="ρ",m3e="ϱ",g3e="⟩",v3e="⇥",b3e="→",y3e="→",x3e="⇒",C3e="⇄",w3e="↣",_3e="⌉",S3e="⟧",k3e="⥝",P3e="⥕",T3e="⇂",R3e="⌋",E3e="⇁",$3e="⇀",A3e="⇄",I3e="⇌",O3e="⇉",M3e="↝",z3e="↦",D3e="⊢",L3e="⥛",F3e="⋌",B3e="⧐",N3e="⊳",H3e="⊵",j3e="⥏",V3e="⥜",W3e="⥔",U3e="↾",q3e="⥓",K3e="⇀",G3e="˚",Y3e="≓",X3e="⇄",Z3e="⇌",J3e="‏",Q3e="⎱",e4e="⎱",t4e="⫮",n4e="⟭",o4e="⇾",r4e="⟧",i4e="⦆",a4e="𝕣",s4e="ℝ",l4e="⨮",c4e="⨵",u4e="⥰",d4e=")",f4e="⦔",h4e="⨒",p4e="⇉",m4e="⇛",g4e="›",v4e="𝓇",b4e="ℛ",y4e="↱",x4e="↱",C4e="]",w4e="’",_4e="’",S4e="⋌",k4e="⋊",P4e="▹",T4e="⊵",R4e="▸",E4e="⧎",$4e="⧴",A4e="⥨",I4e="℞",O4e="Ś",M4e="ś",z4e="‚",D4e="⪸",L4e="Š",F4e="š",B4e="⪼",N4e="≻",H4e="≽",j4e="⪰",V4e="⪴",W4e="Ş",U4e="ş",q4e="Ŝ",K4e="ŝ",G4e="⪺",Y4e="⪶",X4e="⋩",Z4e="⨓",J4e="≿",Q4e="С",ePe="с",tPe="⊡",nPe="⋅",oPe="⩦",rPe="⤥",iPe="↘",aPe="⇘",sPe="↘",lPe="§",cPe=";",uPe="⤩",dPe="∖",fPe="∖",hPe="✶",pPe="𝔖",mPe="𝔰",gPe="⌢",vPe="♯",bPe="Щ",yPe="щ",xPe="Ш",CPe="ш",wPe="↓",_Pe="←",SPe="∣",kPe="∥",PPe="→",TPe="↑",RPe="­",EPe="Σ",$Pe="σ",APe="ς",IPe="ς",OPe="∼",MPe="⩪",zPe="≃",DPe="≃",LPe="⪞",FPe="⪠",BPe="⪝",NPe="⪟",HPe="≆",jPe="⨤",VPe="⥲",WPe="←",UPe="∘",qPe="∖",KPe="⨳",GPe="⧤",YPe="∣",XPe="⌣",ZPe="⪪",JPe="⪬",QPe="⪬︀",eTe="Ь",tTe="ь",nTe="⌿",oTe="⧄",rTe="/",iTe="𝕊",aTe="𝕤",sTe="♠",lTe="♠",cTe="∥",uTe="⊓",dTe="⊓︀",fTe="⊔",hTe="⊔︀",pTe="√",mTe="⊏",gTe="⊑",vTe="⊏",bTe="⊑",yTe="⊐",xTe="⊒",CTe="⊐",wTe="⊒",_Te="□",STe="□",kTe="⊓",PTe="⊏",TTe="⊑",RTe="⊐",ETe="⊒",$Te="⊔",ATe="▪",ITe="□",OTe="▪",MTe="→",zTe="𝒮",DTe="𝓈",LTe="∖",FTe="⌣",BTe="⋆",NTe="⋆",HTe="☆",jTe="★",VTe="ϵ",WTe="ϕ",UTe="¯",qTe="⊂",KTe="⋐",GTe="⪽",YTe="⫅",XTe="⊆",ZTe="⫃",JTe="⫁",QTe="⫋",e5e="⊊",t5e="⪿",n5e="⥹",o5e="⊂",r5e="⋐",i5e="⊆",a5e="⫅",s5e="⊆",l5e="⊊",c5e="⫋",u5e="⫇",d5e="⫕",f5e="⫓",h5e="⪸",p5e="≻",m5e="≽",g5e="≻",v5e="⪰",b5e="≽",y5e="≿",x5e="⪰",C5e="⪺",w5e="⪶",_5e="⋩",S5e="≿",k5e="∋",P5e="∑",T5e="∑",R5e="♪",E5e="¹",$5e="²",A5e="³",I5e="⊃",O5e="⋑",M5e="⪾",z5e="⫘",D5e="⫆",L5e="⊇",F5e="⫄",B5e="⊃",N5e="⊇",H5e="⟉",j5e="⫗",V5e="⥻",W5e="⫂",U5e="⫌",q5e="⊋",K5e="⫀",G5e="⊃",Y5e="⋑",X5e="⊇",Z5e="⫆",J5e="⊋",Q5e="⫌",eRe="⫈",tRe="⫔",nRe="⫖",oRe="⤦",rRe="↙",iRe="⇙",aRe="↙",sRe="⤪",lRe="ß",cRe=" ",uRe="⌖",dRe="Τ",fRe="τ",hRe="⎴",pRe="Ť",mRe="ť",gRe="Ţ",vRe="ţ",bRe="Т",yRe="т",xRe="⃛",CRe="⌕",wRe="𝔗",_Re="𝔱",SRe="∴",kRe="∴",PRe="∴",TRe="Θ",RRe="θ",ERe="ϑ",$Re="ϑ",ARe="≈",IRe="∼",ORe="  ",MRe=" ",zRe=" ",DRe="≈",LRe="∼",FRe="Þ",BRe="þ",NRe="˜",HRe="∼",jRe="≃",VRe="≅",WRe="≈",URe="⨱",qRe="⊠",KRe="×",GRe="⨰",YRe="∭",XRe="⤨",ZRe="⌶",JRe="⫱",QRe="⊤",eEe="𝕋",tEe="𝕥",nEe="⫚",oEe="⤩",rEe="‴",iEe="™",aEe="™",sEe="▵",lEe="▿",cEe="◃",uEe="⊴",dEe="≜",fEe="▹",hEe="⊵",pEe="◬",mEe="≜",gEe="⨺",vEe="⃛",bEe="⨹",yEe="⧍",xEe="⨻",CEe="⏢",wEe="𝒯",_Ee="𝓉",SEe="Ц",kEe="ц",PEe="Ћ",TEe="ћ",REe="Ŧ",EEe="ŧ",$Ee="≬",AEe="↞",IEe="↠",OEe="Ú",MEe="ú",zEe="↑",DEe="↟",LEe="⇑",FEe="⥉",BEe="Ў",NEe="ў",HEe="Ŭ",jEe="ŭ",VEe="Û",WEe="û",UEe="У",qEe="у",KEe="⇅",GEe="Ű",YEe="ű",XEe="⥮",ZEe="⥾",JEe="𝔘",QEe="𝔲",e$e="Ù",t$e="ù",n$e="⥣",o$e="↿",r$e="↾",i$e="▀",a$e="⌜",s$e="⌜",l$e="⌏",c$e="◸",u$e="Ū",d$e="ū",f$e="¨",h$e="_",p$e="⏟",m$e="⎵",g$e="⏝",v$e="⋃",b$e="⊎",y$e="Ų",x$e="ų",C$e="𝕌",w$e="𝕦",_$e="⤒",S$e="↑",k$e="↑",P$e="⇑",T$e="⇅",R$e="↕",E$e="↕",$$e="⇕",A$e="⥮",I$e="↿",O$e="↾",M$e="⊎",z$e="↖",D$e="↗",L$e="υ",F$e="ϒ",B$e="ϒ",N$e="Υ",H$e="υ",j$e="↥",V$e="⊥",W$e="⇈",U$e="⌝",q$e="⌝",K$e="⌎",G$e="Ů",Y$e="ů",X$e="◹",Z$e="𝒰",J$e="𝓊",Q$e="⋰",eAe="Ũ",tAe="ũ",nAe="▵",oAe="▴",rAe="⇈",iAe="Ü",aAe="ü",sAe="⦧",lAe="⦜",cAe="ϵ",uAe="ϰ",dAe="∅",fAe="ϕ",hAe="ϖ",pAe="∝",mAe="↕",gAe="⇕",vAe="ϱ",bAe="ς",yAe="⊊︀",xAe="⫋︀",CAe="⊋︀",wAe="⫌︀",_Ae="ϑ",SAe="⊲",kAe="⊳",PAe="⫨",TAe="⫫",RAe="⫩",EAe="В",$Ae="в",AAe="⊢",IAe="⊨",OAe="⊩",MAe="⊫",zAe="⫦",DAe="⊻",LAe="∨",FAe="⋁",BAe="≚",NAe="⋮",HAe="|",jAe="‖",VAe="|",WAe="‖",UAe="∣",qAe="|",KAe="❘",GAe="≀",YAe=" ",XAe="𝔙",ZAe="𝔳",JAe="⊲",QAe="⊂⃒",e6e="⊃⃒",t6e="𝕍",n6e="𝕧",o6e="∝",r6e="⊳",i6e="𝒱",a6e="𝓋",s6e="⫋︀",l6e="⊊︀",c6e="⫌︀",u6e="⊋︀",d6e="⊪",f6e="⦚",h6e="Ŵ",p6e="ŵ",m6e="⩟",g6e="∧",v6e="⋀",b6e="≙",y6e="℘",x6e="𝔚",C6e="𝔴",w6e="𝕎",_6e="𝕨",S6e="℘",k6e="≀",P6e="≀",T6e="𝒲",R6e="𝓌",E6e="⋂",$6e="◯",A6e="⋃",I6e="▽",O6e="𝔛",M6e="𝔵",z6e="⟷",D6e="⟺",L6e="Ξ",F6e="ξ",B6e="⟵",N6e="⟸",H6e="⟼",j6e="⋻",V6e="⨀",W6e="𝕏",U6e="𝕩",q6e="⨁",K6e="⨂",G6e="⟶",Y6e="⟹",X6e="𝒳",Z6e="𝓍",J6e="⨆",Q6e="⨄",e8e="△",t8e="⋁",n8e="⋀",o8e="Ý",r8e="ý",i8e="Я",a8e="я",s8e="Ŷ",l8e="ŷ",c8e="Ы",u8e="ы",d8e="¥",f8e="𝔜",h8e="𝔶",p8e="Ї",m8e="ї",g8e="𝕐",v8e="𝕪",b8e="𝒴",y8e="𝓎",x8e="Ю",C8e="ю",w8e="ÿ",_8e="Ÿ",S8e="Ź",k8e="ź",P8e="Ž",T8e="ž",R8e="З",E8e="з",$8e="Ż",A8e="ż",I8e="ℨ",O8e="​",M8e="Ζ",z8e="ζ",D8e="𝔷",L8e="ℨ",F8e="Ж",B8e="ж",N8e="⇝",H8e="𝕫",j8e="ℤ",V8e="𝒵",W8e="𝓏",U8e="‍",q8e="‌",K8e={Aacute:$ee,aacute:Aee,Abreve:Iee,abreve:Oee,ac:Mee,acd:zee,acE:Dee,Acirc:Lee,acirc:Fee,acute:Bee,Acy:Nee,acy:Hee,AElig:jee,aelig:Vee,af:Wee,Afr:Uee,afr:qee,Agrave:Kee,agrave:Gee,alefsym:Yee,aleph:Xee,Alpha:Zee,alpha:Jee,Amacr:Qee,amacr:ete,amalg:tte,amp:nte,AMP:ote,andand:rte,And:ite,and:ate,andd:ste,andslope:lte,andv:cte,ang:ute,ange:dte,angle:fte,angmsdaa:hte,angmsdab:pte,angmsdac:mte,angmsdad:gte,angmsdae:vte,angmsdaf:bte,angmsdag:yte,angmsdah:xte,angmsd:Cte,angrt:wte,angrtvb:_te,angrtvbd:Ste,angsph:kte,angst:Pte,angzarr:Tte,Aogon:Rte,aogon:Ete,Aopf:$te,aopf:Ate,apacir:Ite,ap:Ote,apE:Mte,ape:zte,apid:Dte,apos:Lte,ApplyFunction:Fte,approx:Bte,approxeq:Nte,Aring:Hte,aring:jte,Ascr:Vte,ascr:Wte,Assign:Ute,ast:qte,asymp:Kte,asympeq:Gte,Atilde:Yte,atilde:Xte,Auml:Zte,auml:Jte,awconint:Qte,awint:ene,backcong:tne,backepsilon:nne,backprime:one,backsim:rne,backsimeq:ine,Backslash:ane,Barv:sne,barvee:lne,barwed:cne,Barwed:une,barwedge:dne,bbrk:fne,bbrktbrk:hne,bcong:pne,Bcy:mne,bcy:gne,bdquo:vne,becaus:bne,because:yne,Because:xne,bemptyv:Cne,bepsi:wne,bernou:_ne,Bernoullis:Sne,Beta:kne,beta:Pne,beth:Tne,between:Rne,Bfr:Ene,bfr:$ne,bigcap:Ane,bigcirc:Ine,bigcup:One,bigodot:Mne,bigoplus:zne,bigotimes:Dne,bigsqcup:Lne,bigstar:Fne,bigtriangledown:Bne,bigtriangleup:Nne,biguplus:Hne,bigvee:jne,bigwedge:Vne,bkarow:Wne,blacklozenge:Une,blacksquare:qne,blacktriangle:Kne,blacktriangledown:Gne,blacktriangleleft:Yne,blacktriangleright:Xne,blank:Zne,blk12:Jne,blk14:Qne,blk34:eoe,block:toe,bne:noe,bnequiv:ooe,bNot:roe,bnot:ioe,Bopf:aoe,bopf:soe,bot:loe,bottom:coe,bowtie:uoe,boxbox:doe,boxdl:foe,boxdL:hoe,boxDl:poe,boxDL:moe,boxdr:goe,boxdR:voe,boxDr:boe,boxDR:yoe,boxh:xoe,boxH:Coe,boxhd:woe,boxHd:_oe,boxhD:Soe,boxHD:koe,boxhu:Poe,boxHu:Toe,boxhU:Roe,boxHU:Eoe,boxminus:$oe,boxplus:Aoe,boxtimes:Ioe,boxul:Ooe,boxuL:Moe,boxUl:zoe,boxUL:Doe,boxur:Loe,boxuR:Foe,boxUr:Boe,boxUR:Noe,boxv:Hoe,boxV:joe,boxvh:Voe,boxvH:Woe,boxVh:Uoe,boxVH:qoe,boxvl:Koe,boxvL:Goe,boxVl:Yoe,boxVL:Xoe,boxvr:Zoe,boxvR:Joe,boxVr:Qoe,boxVR:ere,bprime:tre,breve:nre,Breve:ore,brvbar:rre,bscr:ire,Bscr:are,bsemi:sre,bsim:lre,bsime:cre,bsolb:ure,bsol:dre,bsolhsub:fre,bull:hre,bullet:pre,bump:mre,bumpE:gre,bumpe:vre,Bumpeq:bre,bumpeq:yre,Cacute:xre,cacute:Cre,capand:wre,capbrcup:_re,capcap:Sre,cap:kre,Cap:Pre,capcup:Tre,capdot:Rre,CapitalDifferentialD:Ere,caps:$re,caret:Are,caron:Ire,Cayleys:Ore,ccaps:Mre,Ccaron:zre,ccaron:Dre,Ccedil:Lre,ccedil:Fre,Ccirc:Bre,ccirc:Nre,Cconint:Hre,ccups:jre,ccupssm:Vre,Cdot:Wre,cdot:Ure,cedil:qre,Cedilla:Kre,cemptyv:Gre,cent:Yre,centerdot:Xre,CenterDot:Zre,cfr:Jre,Cfr:Qre,CHcy:eie,chcy:tie,check:nie,checkmark:oie,Chi:rie,chi:iie,circ:aie,circeq:sie,circlearrowleft:lie,circlearrowright:cie,circledast:uie,circledcirc:die,circleddash:fie,CircleDot:hie,circledR:pie,circledS:mie,CircleMinus:gie,CirclePlus:vie,CircleTimes:bie,cir:yie,cirE:xie,cire:Cie,cirfnint:wie,cirmid:_ie,cirscir:Sie,ClockwiseContourIntegral:kie,CloseCurlyDoubleQuote:Pie,CloseCurlyQuote:Tie,clubs:Rie,clubsuit:Eie,colon:$ie,Colon:Aie,Colone:Iie,colone:Oie,coloneq:Mie,comma:zie,commat:Die,comp:Lie,compfn:Fie,complement:Bie,complexes:Nie,cong:Hie,congdot:jie,Congruent:Vie,conint:Wie,Conint:Uie,ContourIntegral:qie,copf:Kie,Copf:Gie,coprod:Yie,Coproduct:Xie,copy:Zie,COPY:Jie,copysr:Qie,CounterClockwiseContourIntegral:eae,crarr:tae,cross:nae,Cross:oae,Cscr:rae,cscr:iae,csub:aae,csube:sae,csup:lae,csupe:cae,ctdot:uae,cudarrl:dae,cudarrr:fae,cuepr:hae,cuesc:pae,cularr:mae,cularrp:gae,cupbrcap:vae,cupcap:bae,CupCap:yae,cup:xae,Cup:Cae,cupcup:wae,cupdot:_ae,cupor:Sae,cups:kae,curarr:Pae,curarrm:Tae,curlyeqprec:Rae,curlyeqsucc:Eae,curlyvee:$ae,curlywedge:Aae,curren:Iae,curvearrowleft:Oae,curvearrowright:Mae,cuvee:zae,cuwed:Dae,cwconint:Lae,cwint:Fae,cylcty:Bae,dagger:Nae,Dagger:Hae,daleth:jae,darr:Vae,Darr:Wae,dArr:Uae,dash:qae,Dashv:Kae,dashv:Gae,dbkarow:Yae,dblac:Xae,Dcaron:Zae,dcaron:Jae,Dcy:Qae,dcy:ese,ddagger:tse,ddarr:nse,DD:ose,dd:rse,DDotrahd:ise,ddotseq:ase,deg:sse,Del:lse,Delta:cse,delta:use,demptyv:dse,dfisht:fse,Dfr:hse,dfr:pse,dHar:mse,dharl:gse,dharr:vse,DiacriticalAcute:bse,DiacriticalDot:yse,DiacriticalDoubleAcute:xse,DiacriticalGrave:Cse,DiacriticalTilde:wse,diam:_se,diamond:Sse,Diamond:kse,diamondsuit:Pse,diams:Tse,die:Rse,DifferentialD:Ese,digamma:$se,disin:Ase,div:Ise,divide:Ose,divideontimes:Mse,divonx:zse,DJcy:Dse,djcy:Lse,dlcorn:Fse,dlcrop:Bse,dollar:Nse,Dopf:Hse,dopf:jse,Dot:Vse,dot:Wse,DotDot:Use,doteq:qse,doteqdot:Kse,DotEqual:Gse,dotminus:Yse,dotplus:Xse,dotsquare:Zse,doublebarwedge:Jse,DoubleContourIntegral:Qse,DoubleDot:ele,DoubleDownArrow:tle,DoubleLeftArrow:nle,DoubleLeftRightArrow:ole,DoubleLeftTee:rle,DoubleLongLeftArrow:ile,DoubleLongLeftRightArrow:ale,DoubleLongRightArrow:sle,DoubleRightArrow:lle,DoubleRightTee:cle,DoubleUpArrow:ule,DoubleUpDownArrow:dle,DoubleVerticalBar:fle,DownArrowBar:hle,downarrow:ple,DownArrow:mle,Downarrow:gle,DownArrowUpArrow:vle,DownBreve:ble,downdownarrows:yle,downharpoonleft:xle,downharpoonright:Cle,DownLeftRightVector:wle,DownLeftTeeVector:_le,DownLeftVectorBar:Sle,DownLeftVector:kle,DownRightTeeVector:Ple,DownRightVectorBar:Tle,DownRightVector:Rle,DownTeeArrow:Ele,DownTee:$le,drbkarow:Ale,drcorn:Ile,drcrop:Ole,Dscr:Mle,dscr:zle,DScy:Dle,dscy:Lle,dsol:Fle,Dstrok:Ble,dstrok:Nle,dtdot:Hle,dtri:jle,dtrif:Vle,duarr:Wle,duhar:Ule,dwangle:qle,DZcy:Kle,dzcy:Gle,dzigrarr:Yle,Eacute:Xle,eacute:Zle,easter:Jle,Ecaron:Qle,ecaron:ece,Ecirc:tce,ecirc:nce,ecir:oce,ecolon:rce,Ecy:ice,ecy:ace,eDDot:sce,Edot:lce,edot:cce,eDot:uce,ee:dce,efDot:fce,Efr:hce,efr:pce,eg:mce,Egrave:gce,egrave:vce,egs:bce,egsdot:yce,el:xce,Element:Cce,elinters:wce,ell:_ce,els:Sce,elsdot:kce,Emacr:Pce,emacr:Tce,empty:Rce,emptyset:Ece,EmptySmallSquare:$ce,emptyv:Ace,EmptyVerySmallSquare:Ice,emsp13:Oce,emsp14:Mce,emsp:zce,ENG:Dce,eng:Lce,ensp:Fce,Eogon:Bce,eogon:Nce,Eopf:Hce,eopf:jce,epar:Vce,eparsl:Wce,eplus:Uce,epsi:qce,Epsilon:Kce,epsilon:Gce,epsiv:Yce,eqcirc:Xce,eqcolon:Zce,eqsim:Jce,eqslantgtr:Qce,eqslantless:eue,Equal:tue,equals:nue,EqualTilde:oue,equest:rue,Equilibrium:iue,equiv:aue,equivDD:sue,eqvparsl:lue,erarr:cue,erDot:uue,escr:due,Escr:fue,esdot:hue,Esim:pue,esim:mue,Eta:gue,eta:vue,ETH:bue,eth:yue,Euml:xue,euml:Cue,euro:wue,excl:_ue,exist:Sue,Exists:kue,expectation:Pue,exponentiale:Tue,ExponentialE:Rue,fallingdotseq:Eue,Fcy:$ue,fcy:Aue,female:Iue,ffilig:Oue,fflig:Mue,ffllig:zue,Ffr:Due,ffr:Lue,filig:Fue,FilledSmallSquare:Bue,FilledVerySmallSquare:Nue,fjlig:Hue,flat:jue,fllig:Vue,fltns:Wue,fnof:Uue,Fopf:que,fopf:Kue,forall:Gue,ForAll:Yue,fork:Xue,forkv:Zue,Fouriertrf:Jue,fpartint:Que,frac12:ede,frac13:tde,frac14:nde,frac15:ode,frac16:rde,frac18:ide,frac23:ade,frac25:sde,frac34:lde,frac35:cde,frac38:ude,frac45:dde,frac56:fde,frac58:hde,frac78:pde,frasl:mde,frown:gde,fscr:vde,Fscr:bde,gacute:yde,Gamma:xde,gamma:Cde,Gammad:wde,gammad:_de,gap:Sde,Gbreve:kde,gbreve:Pde,Gcedil:Tde,Gcirc:Rde,gcirc:Ede,Gcy:$de,gcy:Ade,Gdot:Ide,gdot:Ode,ge:Mde,gE:zde,gEl:Dde,gel:Lde,geq:Fde,geqq:Bde,geqslant:Nde,gescc:Hde,ges:jde,gesdot:Vde,gesdoto:Wde,gesdotol:Ude,gesl:qde,gesles:Kde,Gfr:Gde,gfr:Yde,gg:Xde,Gg:Zde,ggg:Jde,gimel:Qde,GJcy:efe,gjcy:tfe,gla:nfe,gl:ofe,glE:rfe,glj:ife,gnap:afe,gnapprox:sfe,gne:lfe,gnE:cfe,gneq:ufe,gneqq:dfe,gnsim:ffe,Gopf:hfe,gopf:pfe,grave:mfe,GreaterEqual:gfe,GreaterEqualLess:vfe,GreaterFullEqual:bfe,GreaterGreater:yfe,GreaterLess:xfe,GreaterSlantEqual:Cfe,GreaterTilde:wfe,Gscr:_fe,gscr:Sfe,gsim:kfe,gsime:Pfe,gsiml:Tfe,gtcc:Rfe,gtcir:Efe,gt:$fe,GT:Afe,Gt:Ife,gtdot:Ofe,gtlPar:Mfe,gtquest:zfe,gtrapprox:Dfe,gtrarr:Lfe,gtrdot:Ffe,gtreqless:Bfe,gtreqqless:Nfe,gtrless:Hfe,gtrsim:jfe,gvertneqq:Vfe,gvnE:Wfe,Hacek:Ufe,hairsp:qfe,half:Kfe,hamilt:Gfe,HARDcy:Yfe,hardcy:Xfe,harrcir:Zfe,harr:Jfe,hArr:Qfe,harrw:ehe,Hat:the,hbar:nhe,Hcirc:ohe,hcirc:rhe,hearts:ihe,heartsuit:ahe,hellip:she,hercon:lhe,hfr:che,Hfr:uhe,HilbertSpace:dhe,hksearow:fhe,hkswarow:hhe,hoarr:phe,homtht:mhe,hookleftarrow:ghe,hookrightarrow:vhe,hopf:bhe,Hopf:yhe,horbar:xhe,HorizontalLine:Che,hscr:whe,Hscr:_he,hslash:She,Hstrok:khe,hstrok:Phe,HumpDownHump:The,HumpEqual:Rhe,hybull:Ehe,hyphen:$he,Iacute:Ahe,iacute:Ihe,ic:Ohe,Icirc:Mhe,icirc:zhe,Icy:Dhe,icy:Lhe,Idot:Fhe,IEcy:Bhe,iecy:Nhe,iexcl:Hhe,iff:jhe,ifr:Vhe,Ifr:Whe,Igrave:Uhe,igrave:qhe,ii:Khe,iiiint:Ghe,iiint:Yhe,iinfin:Xhe,iiota:Zhe,IJlig:Jhe,ijlig:Qhe,Imacr:epe,imacr:tpe,image:npe,ImaginaryI:ope,imagline:rpe,imagpart:ipe,imath:ape,Im:spe,imof:lpe,imped:cpe,Implies:upe,incare:dpe,in:"∈",infin:fpe,infintie:hpe,inodot:ppe,intcal:mpe,int:gpe,Int:vpe,integers:bpe,Integral:ype,intercal:xpe,Intersection:Cpe,intlarhk:wpe,intprod:_pe,InvisibleComma:Spe,InvisibleTimes:kpe,IOcy:Ppe,iocy:Tpe,Iogon:Rpe,iogon:Epe,Iopf:$pe,iopf:Ape,Iota:Ipe,iota:Ope,iprod:Mpe,iquest:zpe,iscr:Dpe,Iscr:Lpe,isin:Fpe,isindot:Bpe,isinE:Npe,isins:Hpe,isinsv:jpe,isinv:Vpe,it:Wpe,Itilde:Upe,itilde:qpe,Iukcy:Kpe,iukcy:Gpe,Iuml:Ype,iuml:Xpe,Jcirc:Zpe,jcirc:Jpe,Jcy:Qpe,jcy:eme,Jfr:tme,jfr:nme,jmath:ome,Jopf:rme,jopf:ime,Jscr:ame,jscr:sme,Jsercy:lme,jsercy:cme,Jukcy:ume,jukcy:dme,Kappa:fme,kappa:hme,kappav:pme,Kcedil:mme,kcedil:gme,Kcy:vme,kcy:bme,Kfr:yme,kfr:xme,kgreen:Cme,KHcy:wme,khcy:_me,KJcy:Sme,kjcy:kme,Kopf:Pme,kopf:Tme,Kscr:Rme,kscr:Eme,lAarr:$me,Lacute:Ame,lacute:Ime,laemptyv:Ome,lagran:Mme,Lambda:zme,lambda:Dme,lang:Lme,Lang:Fme,langd:Bme,langle:Nme,lap:Hme,Laplacetrf:jme,laquo:Vme,larrb:Wme,larrbfs:Ume,larr:qme,Larr:Kme,lArr:Gme,larrfs:Yme,larrhk:Xme,larrlp:Zme,larrpl:Jme,larrsim:Qme,larrtl:ege,latail:tge,lAtail:nge,lat:oge,late:rge,lates:ige,lbarr:age,lBarr:sge,lbbrk:lge,lbrace:cge,lbrack:uge,lbrke:dge,lbrksld:fge,lbrkslu:hge,Lcaron:pge,lcaron:mge,Lcedil:gge,lcedil:vge,lceil:bge,lcub:yge,Lcy:xge,lcy:Cge,ldca:wge,ldquo:_ge,ldquor:Sge,ldrdhar:kge,ldrushar:Pge,ldsh:Tge,le:Rge,lE:Ege,LeftAngleBracket:$ge,LeftArrowBar:Age,leftarrow:Ige,LeftArrow:Oge,Leftarrow:Mge,LeftArrowRightArrow:zge,leftarrowtail:Dge,LeftCeiling:Lge,LeftDoubleBracket:Fge,LeftDownTeeVector:Bge,LeftDownVectorBar:Nge,LeftDownVector:Hge,LeftFloor:jge,leftharpoondown:Vge,leftharpoonup:Wge,leftleftarrows:Uge,leftrightarrow:qge,LeftRightArrow:Kge,Leftrightarrow:Gge,leftrightarrows:Yge,leftrightharpoons:Xge,leftrightsquigarrow:Zge,LeftRightVector:Jge,LeftTeeArrow:Qge,LeftTee:eve,LeftTeeVector:tve,leftthreetimes:nve,LeftTriangleBar:ove,LeftTriangle:rve,LeftTriangleEqual:ive,LeftUpDownVector:ave,LeftUpTeeVector:sve,LeftUpVectorBar:lve,LeftUpVector:cve,LeftVectorBar:uve,LeftVector:dve,lEg:fve,leg:hve,leq:pve,leqq:mve,leqslant:gve,lescc:vve,les:bve,lesdot:yve,lesdoto:xve,lesdotor:Cve,lesg:wve,lesges:_ve,lessapprox:Sve,lessdot:kve,lesseqgtr:Pve,lesseqqgtr:Tve,LessEqualGreater:Rve,LessFullEqual:Eve,LessGreater:$ve,lessgtr:Ave,LessLess:Ive,lesssim:Ove,LessSlantEqual:Mve,LessTilde:zve,lfisht:Dve,lfloor:Lve,Lfr:Fve,lfr:Bve,lg:Nve,lgE:Hve,lHar:jve,lhard:Vve,lharu:Wve,lharul:Uve,lhblk:qve,LJcy:Kve,ljcy:Gve,llarr:Yve,ll:Xve,Ll:Zve,llcorner:Jve,Lleftarrow:Qve,llhard:ebe,lltri:tbe,Lmidot:nbe,lmidot:obe,lmoustache:rbe,lmoust:ibe,lnap:abe,lnapprox:sbe,lne:lbe,lnE:cbe,lneq:ube,lneqq:dbe,lnsim:fbe,loang:hbe,loarr:pbe,lobrk:mbe,longleftarrow:gbe,LongLeftArrow:vbe,Longleftarrow:bbe,longleftrightarrow:ybe,LongLeftRightArrow:xbe,Longleftrightarrow:Cbe,longmapsto:wbe,longrightarrow:_be,LongRightArrow:Sbe,Longrightarrow:kbe,looparrowleft:Pbe,looparrowright:Tbe,lopar:Rbe,Lopf:Ebe,lopf:$be,loplus:Abe,lotimes:Ibe,lowast:Obe,lowbar:Mbe,LowerLeftArrow:zbe,LowerRightArrow:Dbe,loz:Lbe,lozenge:Fbe,lozf:Bbe,lpar:Nbe,lparlt:Hbe,lrarr:jbe,lrcorner:Vbe,lrhar:Wbe,lrhard:Ube,lrm:qbe,lrtri:Kbe,lsaquo:Gbe,lscr:Ybe,Lscr:Xbe,lsh:Zbe,Lsh:Jbe,lsim:Qbe,lsime:e0e,lsimg:t0e,lsqb:n0e,lsquo:o0e,lsquor:r0e,Lstrok:i0e,lstrok:a0e,ltcc:s0e,ltcir:l0e,lt:c0e,LT:u0e,Lt:d0e,ltdot:f0e,lthree:h0e,ltimes:p0e,ltlarr:m0e,ltquest:g0e,ltri:v0e,ltrie:b0e,ltrif:y0e,ltrPar:x0e,lurdshar:C0e,luruhar:w0e,lvertneqq:_0e,lvnE:S0e,macr:k0e,male:P0e,malt:T0e,maltese:R0e,Map:"⤅",map:E0e,mapsto:$0e,mapstodown:A0e,mapstoleft:I0e,mapstoup:O0e,marker:M0e,mcomma:z0e,Mcy:D0e,mcy:L0e,mdash:F0e,mDDot:B0e,measuredangle:N0e,MediumSpace:H0e,Mellintrf:j0e,Mfr:V0e,mfr:W0e,mho:U0e,micro:q0e,midast:K0e,midcir:G0e,mid:Y0e,middot:X0e,minusb:Z0e,minus:J0e,minusd:Q0e,minusdu:e1e,MinusPlus:t1e,mlcp:n1e,mldr:o1e,mnplus:r1e,models:i1e,Mopf:a1e,mopf:s1e,mp:l1e,mscr:c1e,Mscr:u1e,mstpos:d1e,Mu:f1e,mu:h1e,multimap:p1e,mumap:m1e,nabla:g1e,Nacute:v1e,nacute:b1e,nang:y1e,nap:x1e,napE:C1e,napid:w1e,napos:_1e,napprox:S1e,natural:k1e,naturals:P1e,natur:T1e,nbsp:R1e,nbump:E1e,nbumpe:$1e,ncap:A1e,Ncaron:I1e,ncaron:O1e,Ncedil:M1e,ncedil:z1e,ncong:D1e,ncongdot:L1e,ncup:F1e,Ncy:B1e,ncy:N1e,ndash:H1e,nearhk:j1e,nearr:V1e,neArr:W1e,nearrow:U1e,ne:q1e,nedot:K1e,NegativeMediumSpace:G1e,NegativeThickSpace:Y1e,NegativeThinSpace:X1e,NegativeVeryThinSpace:Z1e,nequiv:J1e,nesear:Q1e,nesim:eye,NestedGreaterGreater:tye,NestedLessLess:nye,NewLine:oye,nexist:rye,nexists:iye,Nfr:aye,nfr:sye,ngE:lye,nge:cye,ngeq:uye,ngeqq:dye,ngeqslant:fye,nges:hye,nGg:pye,ngsim:mye,nGt:gye,ngt:vye,ngtr:bye,nGtv:yye,nharr:xye,nhArr:Cye,nhpar:wye,ni:_ye,nis:Sye,nisd:kye,niv:Pye,NJcy:Tye,njcy:Rye,nlarr:Eye,nlArr:$ye,nldr:Aye,nlE:Iye,nle:Oye,nleftarrow:Mye,nLeftarrow:zye,nleftrightarrow:Dye,nLeftrightarrow:Lye,nleq:Fye,nleqq:Bye,nleqslant:Nye,nles:Hye,nless:jye,nLl:Vye,nlsim:Wye,nLt:Uye,nlt:qye,nltri:Kye,nltrie:Gye,nLtv:Yye,nmid:Xye,NoBreak:Zye,NonBreakingSpace:Jye,nopf:Qye,Nopf:exe,Not:txe,not:nxe,NotCongruent:oxe,NotCupCap:rxe,NotDoubleVerticalBar:ixe,NotElement:axe,NotEqual:sxe,NotEqualTilde:lxe,NotExists:cxe,NotGreater:uxe,NotGreaterEqual:dxe,NotGreaterFullEqual:fxe,NotGreaterGreater:hxe,NotGreaterLess:pxe,NotGreaterSlantEqual:mxe,NotGreaterTilde:gxe,NotHumpDownHump:vxe,NotHumpEqual:bxe,notin:yxe,notindot:xxe,notinE:Cxe,notinva:wxe,notinvb:_xe,notinvc:Sxe,NotLeftTriangleBar:kxe,NotLeftTriangle:Pxe,NotLeftTriangleEqual:Txe,NotLess:Rxe,NotLessEqual:Exe,NotLessGreater:$xe,NotLessLess:Axe,NotLessSlantEqual:Ixe,NotLessTilde:Oxe,NotNestedGreaterGreater:Mxe,NotNestedLessLess:zxe,notni:Dxe,notniva:Lxe,notnivb:Fxe,notnivc:Bxe,NotPrecedes:Nxe,NotPrecedesEqual:Hxe,NotPrecedesSlantEqual:jxe,NotReverseElement:Vxe,NotRightTriangleBar:Wxe,NotRightTriangle:Uxe,NotRightTriangleEqual:qxe,NotSquareSubset:Kxe,NotSquareSubsetEqual:Gxe,NotSquareSuperset:Yxe,NotSquareSupersetEqual:Xxe,NotSubset:Zxe,NotSubsetEqual:Jxe,NotSucceeds:Qxe,NotSucceedsEqual:eCe,NotSucceedsSlantEqual:tCe,NotSucceedsTilde:nCe,NotSuperset:oCe,NotSupersetEqual:rCe,NotTilde:iCe,NotTildeEqual:aCe,NotTildeFullEqual:sCe,NotTildeTilde:lCe,NotVerticalBar:cCe,nparallel:uCe,npar:dCe,nparsl:fCe,npart:hCe,npolint:pCe,npr:mCe,nprcue:gCe,nprec:vCe,npreceq:bCe,npre:yCe,nrarrc:xCe,nrarr:CCe,nrArr:wCe,nrarrw:_Ce,nrightarrow:SCe,nRightarrow:kCe,nrtri:PCe,nrtrie:TCe,nsc:RCe,nsccue:ECe,nsce:$Ce,Nscr:ACe,nscr:ICe,nshortmid:OCe,nshortparallel:MCe,nsim:zCe,nsime:DCe,nsimeq:LCe,nsmid:FCe,nspar:BCe,nsqsube:NCe,nsqsupe:HCe,nsub:jCe,nsubE:VCe,nsube:WCe,nsubset:UCe,nsubseteq:qCe,nsubseteqq:KCe,nsucc:GCe,nsucceq:YCe,nsup:XCe,nsupE:ZCe,nsupe:JCe,nsupset:QCe,nsupseteq:ewe,nsupseteqq:twe,ntgl:nwe,Ntilde:owe,ntilde:rwe,ntlg:iwe,ntriangleleft:awe,ntrianglelefteq:swe,ntriangleright:lwe,ntrianglerighteq:cwe,Nu:uwe,nu:dwe,num:fwe,numero:hwe,numsp:pwe,nvap:mwe,nvdash:gwe,nvDash:vwe,nVdash:bwe,nVDash:ywe,nvge:xwe,nvgt:Cwe,nvHarr:wwe,nvinfin:_we,nvlArr:Swe,nvle:kwe,nvlt:Pwe,nvltrie:Twe,nvrArr:Rwe,nvrtrie:Ewe,nvsim:$we,nwarhk:Awe,nwarr:Iwe,nwArr:Owe,nwarrow:Mwe,nwnear:zwe,Oacute:Dwe,oacute:Lwe,oast:Fwe,Ocirc:Bwe,ocirc:Nwe,ocir:Hwe,Ocy:jwe,ocy:Vwe,odash:Wwe,Odblac:Uwe,odblac:qwe,odiv:Kwe,odot:Gwe,odsold:Ywe,OElig:Xwe,oelig:Zwe,ofcir:Jwe,Ofr:Qwe,ofr:e_e,ogon:t_e,Ograve:n_e,ograve:o_e,ogt:r_e,ohbar:i_e,ohm:a_e,oint:s_e,olarr:l_e,olcir:c_e,olcross:u_e,oline:d_e,olt:f_e,Omacr:h_e,omacr:p_e,Omega:m_e,omega:g_e,Omicron:v_e,omicron:b_e,omid:y_e,ominus:x_e,Oopf:C_e,oopf:w_e,opar:__e,OpenCurlyDoubleQuote:S_e,OpenCurlyQuote:k_e,operp:P_e,oplus:T_e,orarr:R_e,Or:E_e,or:$_e,ord:A_e,order:I_e,orderof:O_e,ordf:M_e,ordm:z_e,origof:D_e,oror:L_e,orslope:F_e,orv:B_e,oS:N_e,Oscr:H_e,oscr:j_e,Oslash:V_e,oslash:W_e,osol:U_e,Otilde:q_e,otilde:K_e,otimesas:G_e,Otimes:Y_e,otimes:X_e,Ouml:Z_e,ouml:J_e,ovbar:Q_e,OverBar:e2e,OverBrace:t2e,OverBracket:n2e,OverParenthesis:o2e,para:r2e,parallel:i2e,par:a2e,parsim:s2e,parsl:l2e,part:c2e,PartialD:u2e,Pcy:d2e,pcy:f2e,percnt:h2e,period:p2e,permil:m2e,perp:g2e,pertenk:v2e,Pfr:b2e,pfr:y2e,Phi:x2e,phi:C2e,phiv:w2e,phmmat:_2e,phone:S2e,Pi:k2e,pi:P2e,pitchfork:T2e,piv:R2e,planck:E2e,planckh:$2e,plankv:A2e,plusacir:I2e,plusb:O2e,pluscir:M2e,plus:z2e,plusdo:D2e,plusdu:L2e,pluse:F2e,PlusMinus:B2e,plusmn:N2e,plussim:H2e,plustwo:j2e,pm:V2e,Poincareplane:W2e,pointint:U2e,popf:q2e,Popf:K2e,pound:G2e,prap:Y2e,Pr:X2e,pr:Z2e,prcue:J2e,precapprox:Q2e,prec:eSe,preccurlyeq:tSe,Precedes:nSe,PrecedesEqual:oSe,PrecedesSlantEqual:rSe,PrecedesTilde:iSe,preceq:aSe,precnapprox:sSe,precneqq:lSe,precnsim:cSe,pre:uSe,prE:dSe,precsim:fSe,prime:hSe,Prime:pSe,primes:mSe,prnap:gSe,prnE:vSe,prnsim:bSe,prod:ySe,Product:xSe,profalar:CSe,profline:wSe,profsurf:_Se,prop:SSe,Proportional:kSe,Proportion:PSe,propto:TSe,prsim:RSe,prurel:ESe,Pscr:$Se,pscr:ASe,Psi:ISe,psi:OSe,puncsp:MSe,Qfr:zSe,qfr:DSe,qint:LSe,qopf:FSe,Qopf:BSe,qprime:NSe,Qscr:HSe,qscr:jSe,quaternions:VSe,quatint:WSe,quest:USe,questeq:qSe,quot:KSe,QUOT:GSe,rAarr:YSe,race:XSe,Racute:ZSe,racute:JSe,radic:QSe,raemptyv:eke,rang:tke,Rang:nke,rangd:oke,range:rke,rangle:ike,raquo:ake,rarrap:ske,rarrb:lke,rarrbfs:cke,rarrc:uke,rarr:dke,Rarr:fke,rArr:hke,rarrfs:pke,rarrhk:mke,rarrlp:gke,rarrpl:vke,rarrsim:bke,Rarrtl:yke,rarrtl:xke,rarrw:Cke,ratail:wke,rAtail:_ke,ratio:Ske,rationals:kke,rbarr:Pke,rBarr:Tke,RBarr:Rke,rbbrk:Eke,rbrace:$ke,rbrack:Ake,rbrke:Ike,rbrksld:Oke,rbrkslu:Mke,Rcaron:zke,rcaron:Dke,Rcedil:Lke,rcedil:Fke,rceil:Bke,rcub:Nke,Rcy:Hke,rcy:jke,rdca:Vke,rdldhar:Wke,rdquo:Uke,rdquor:qke,rdsh:Kke,real:Gke,realine:Yke,realpart:Xke,reals:Zke,Re:Jke,rect:Qke,reg:e3e,REG:t3e,ReverseElement:n3e,ReverseEquilibrium:o3e,ReverseUpEquilibrium:r3e,rfisht:i3e,rfloor:a3e,rfr:s3e,Rfr:l3e,rHar:c3e,rhard:u3e,rharu:d3e,rharul:f3e,Rho:h3e,rho:p3e,rhov:m3e,RightAngleBracket:g3e,RightArrowBar:v3e,rightarrow:b3e,RightArrow:y3e,Rightarrow:x3e,RightArrowLeftArrow:C3e,rightarrowtail:w3e,RightCeiling:_3e,RightDoubleBracket:S3e,RightDownTeeVector:k3e,RightDownVectorBar:P3e,RightDownVector:T3e,RightFloor:R3e,rightharpoondown:E3e,rightharpoonup:$3e,rightleftarrows:A3e,rightleftharpoons:I3e,rightrightarrows:O3e,rightsquigarrow:M3e,RightTeeArrow:z3e,RightTee:D3e,RightTeeVector:L3e,rightthreetimes:F3e,RightTriangleBar:B3e,RightTriangle:N3e,RightTriangleEqual:H3e,RightUpDownVector:j3e,RightUpTeeVector:V3e,RightUpVectorBar:W3e,RightUpVector:U3e,RightVectorBar:q3e,RightVector:K3e,ring:G3e,risingdotseq:Y3e,rlarr:X3e,rlhar:Z3e,rlm:J3e,rmoustache:Q3e,rmoust:e4e,rnmid:t4e,roang:n4e,roarr:o4e,robrk:r4e,ropar:i4e,ropf:a4e,Ropf:s4e,roplus:l4e,rotimes:c4e,RoundImplies:u4e,rpar:d4e,rpargt:f4e,rppolint:h4e,rrarr:p4e,Rrightarrow:m4e,rsaquo:g4e,rscr:v4e,Rscr:b4e,rsh:y4e,Rsh:x4e,rsqb:C4e,rsquo:w4e,rsquor:_4e,rthree:S4e,rtimes:k4e,rtri:P4e,rtrie:T4e,rtrif:R4e,rtriltri:E4e,RuleDelayed:$4e,ruluhar:A4e,rx:I4e,Sacute:O4e,sacute:M4e,sbquo:z4e,scap:D4e,Scaron:L4e,scaron:F4e,Sc:B4e,sc:N4e,sccue:H4e,sce:j4e,scE:V4e,Scedil:W4e,scedil:U4e,Scirc:q4e,scirc:K4e,scnap:G4e,scnE:Y4e,scnsim:X4e,scpolint:Z4e,scsim:J4e,Scy:Q4e,scy:ePe,sdotb:tPe,sdot:nPe,sdote:oPe,searhk:rPe,searr:iPe,seArr:aPe,searrow:sPe,sect:lPe,semi:cPe,seswar:uPe,setminus:dPe,setmn:fPe,sext:hPe,Sfr:pPe,sfr:mPe,sfrown:gPe,sharp:vPe,SHCHcy:bPe,shchcy:yPe,SHcy:xPe,shcy:CPe,ShortDownArrow:wPe,ShortLeftArrow:_Pe,shortmid:SPe,shortparallel:kPe,ShortRightArrow:PPe,ShortUpArrow:TPe,shy:RPe,Sigma:EPe,sigma:$Pe,sigmaf:APe,sigmav:IPe,sim:OPe,simdot:MPe,sime:zPe,simeq:DPe,simg:LPe,simgE:FPe,siml:BPe,simlE:NPe,simne:HPe,simplus:jPe,simrarr:VPe,slarr:WPe,SmallCircle:UPe,smallsetminus:qPe,smashp:KPe,smeparsl:GPe,smid:YPe,smile:XPe,smt:ZPe,smte:JPe,smtes:QPe,SOFTcy:eTe,softcy:tTe,solbar:nTe,solb:oTe,sol:rTe,Sopf:iTe,sopf:aTe,spades:sTe,spadesuit:lTe,spar:cTe,sqcap:uTe,sqcaps:dTe,sqcup:fTe,sqcups:hTe,Sqrt:pTe,sqsub:mTe,sqsube:gTe,sqsubset:vTe,sqsubseteq:bTe,sqsup:yTe,sqsupe:xTe,sqsupset:CTe,sqsupseteq:wTe,square:_Te,Square:STe,SquareIntersection:kTe,SquareSubset:PTe,SquareSubsetEqual:TTe,SquareSuperset:RTe,SquareSupersetEqual:ETe,SquareUnion:$Te,squarf:ATe,squ:ITe,squf:OTe,srarr:MTe,Sscr:zTe,sscr:DTe,ssetmn:LTe,ssmile:FTe,sstarf:BTe,Star:NTe,star:HTe,starf:jTe,straightepsilon:VTe,straightphi:WTe,strns:UTe,sub:qTe,Sub:KTe,subdot:GTe,subE:YTe,sube:XTe,subedot:ZTe,submult:JTe,subnE:QTe,subne:e5e,subplus:t5e,subrarr:n5e,subset:o5e,Subset:r5e,subseteq:i5e,subseteqq:a5e,SubsetEqual:s5e,subsetneq:l5e,subsetneqq:c5e,subsim:u5e,subsub:d5e,subsup:f5e,succapprox:h5e,succ:p5e,succcurlyeq:m5e,Succeeds:g5e,SucceedsEqual:v5e,SucceedsSlantEqual:b5e,SucceedsTilde:y5e,succeq:x5e,succnapprox:C5e,succneqq:w5e,succnsim:_5e,succsim:S5e,SuchThat:k5e,sum:P5e,Sum:T5e,sung:R5e,sup1:E5e,sup2:$5e,sup3:A5e,sup:I5e,Sup:O5e,supdot:M5e,supdsub:z5e,supE:D5e,supe:L5e,supedot:F5e,Superset:B5e,SupersetEqual:N5e,suphsol:H5e,suphsub:j5e,suplarr:V5e,supmult:W5e,supnE:U5e,supne:q5e,supplus:K5e,supset:G5e,Supset:Y5e,supseteq:X5e,supseteqq:Z5e,supsetneq:J5e,supsetneqq:Q5e,supsim:eRe,supsub:tRe,supsup:nRe,swarhk:oRe,swarr:rRe,swArr:iRe,swarrow:aRe,swnwar:sRe,szlig:lRe,Tab:cRe,target:uRe,Tau:dRe,tau:fRe,tbrk:hRe,Tcaron:pRe,tcaron:mRe,Tcedil:gRe,tcedil:vRe,Tcy:bRe,tcy:yRe,tdot:xRe,telrec:CRe,Tfr:wRe,tfr:_Re,there4:SRe,therefore:kRe,Therefore:PRe,Theta:TRe,theta:RRe,thetasym:ERe,thetav:$Re,thickapprox:ARe,thicksim:IRe,ThickSpace:ORe,ThinSpace:MRe,thinsp:zRe,thkap:DRe,thksim:LRe,THORN:FRe,thorn:BRe,tilde:NRe,Tilde:HRe,TildeEqual:jRe,TildeFullEqual:VRe,TildeTilde:WRe,timesbar:URe,timesb:qRe,times:KRe,timesd:GRe,tint:YRe,toea:XRe,topbot:ZRe,topcir:JRe,top:QRe,Topf:eEe,topf:tEe,topfork:nEe,tosa:oEe,tprime:rEe,trade:iEe,TRADE:aEe,triangle:sEe,triangledown:lEe,triangleleft:cEe,trianglelefteq:uEe,triangleq:dEe,triangleright:fEe,trianglerighteq:hEe,tridot:pEe,trie:mEe,triminus:gEe,TripleDot:vEe,triplus:bEe,trisb:yEe,tritime:xEe,trpezium:CEe,Tscr:wEe,tscr:_Ee,TScy:SEe,tscy:kEe,TSHcy:PEe,tshcy:TEe,Tstrok:REe,tstrok:EEe,twixt:$Ee,twoheadleftarrow:AEe,twoheadrightarrow:IEe,Uacute:OEe,uacute:MEe,uarr:zEe,Uarr:DEe,uArr:LEe,Uarrocir:FEe,Ubrcy:BEe,ubrcy:NEe,Ubreve:HEe,ubreve:jEe,Ucirc:VEe,ucirc:WEe,Ucy:UEe,ucy:qEe,udarr:KEe,Udblac:GEe,udblac:YEe,udhar:XEe,ufisht:ZEe,Ufr:JEe,ufr:QEe,Ugrave:e$e,ugrave:t$e,uHar:n$e,uharl:o$e,uharr:r$e,uhblk:i$e,ulcorn:a$e,ulcorner:s$e,ulcrop:l$e,ultri:c$e,Umacr:u$e,umacr:d$e,uml:f$e,UnderBar:h$e,UnderBrace:p$e,UnderBracket:m$e,UnderParenthesis:g$e,Union:v$e,UnionPlus:b$e,Uogon:y$e,uogon:x$e,Uopf:C$e,uopf:w$e,UpArrowBar:_$e,uparrow:S$e,UpArrow:k$e,Uparrow:P$e,UpArrowDownArrow:T$e,updownarrow:R$e,UpDownArrow:E$e,Updownarrow:$$e,UpEquilibrium:A$e,upharpoonleft:I$e,upharpoonright:O$e,uplus:M$e,UpperLeftArrow:z$e,UpperRightArrow:D$e,upsi:L$e,Upsi:F$e,upsih:B$e,Upsilon:N$e,upsilon:H$e,UpTeeArrow:j$e,UpTee:V$e,upuparrows:W$e,urcorn:U$e,urcorner:q$e,urcrop:K$e,Uring:G$e,uring:Y$e,urtri:X$e,Uscr:Z$e,uscr:J$e,utdot:Q$e,Utilde:eAe,utilde:tAe,utri:nAe,utrif:oAe,uuarr:rAe,Uuml:iAe,uuml:aAe,uwangle:sAe,vangrt:lAe,varepsilon:cAe,varkappa:uAe,varnothing:dAe,varphi:fAe,varpi:hAe,varpropto:pAe,varr:mAe,vArr:gAe,varrho:vAe,varsigma:bAe,varsubsetneq:yAe,varsubsetneqq:xAe,varsupsetneq:CAe,varsupsetneqq:wAe,vartheta:_Ae,vartriangleleft:SAe,vartriangleright:kAe,vBar:PAe,Vbar:TAe,vBarv:RAe,Vcy:EAe,vcy:$Ae,vdash:AAe,vDash:IAe,Vdash:OAe,VDash:MAe,Vdashl:zAe,veebar:DAe,vee:LAe,Vee:FAe,veeeq:BAe,vellip:NAe,verbar:HAe,Verbar:jAe,vert:VAe,Vert:WAe,VerticalBar:UAe,VerticalLine:qAe,VerticalSeparator:KAe,VerticalTilde:GAe,VeryThinSpace:YAe,Vfr:XAe,vfr:ZAe,vltri:JAe,vnsub:QAe,vnsup:e6e,Vopf:t6e,vopf:n6e,vprop:o6e,vrtri:r6e,Vscr:i6e,vscr:a6e,vsubnE:s6e,vsubne:l6e,vsupnE:c6e,vsupne:u6e,Vvdash:d6e,vzigzag:f6e,Wcirc:h6e,wcirc:p6e,wedbar:m6e,wedge:g6e,Wedge:v6e,wedgeq:b6e,weierp:y6e,Wfr:x6e,wfr:C6e,Wopf:w6e,wopf:_6e,wp:S6e,wr:k6e,wreath:P6e,Wscr:T6e,wscr:R6e,xcap:E6e,xcirc:$6e,xcup:A6e,xdtri:I6e,Xfr:O6e,xfr:M6e,xharr:z6e,xhArr:D6e,Xi:L6e,xi:F6e,xlarr:B6e,xlArr:N6e,xmap:H6e,xnis:j6e,xodot:V6e,Xopf:W6e,xopf:U6e,xoplus:q6e,xotime:K6e,xrarr:G6e,xrArr:Y6e,Xscr:X6e,xscr:Z6e,xsqcup:J6e,xuplus:Q6e,xutri:e8e,xvee:t8e,xwedge:n8e,Yacute:o8e,yacute:r8e,YAcy:i8e,yacy:a8e,Ycirc:s8e,ycirc:l8e,Ycy:c8e,ycy:u8e,yen:d8e,Yfr:f8e,yfr:h8e,YIcy:p8e,yicy:m8e,Yopf:g8e,yopf:v8e,Yscr:b8e,yscr:y8e,YUcy:x8e,yucy:C8e,yuml:w8e,Yuml:_8e,Zacute:S8e,zacute:k8e,Zcaron:P8e,zcaron:T8e,Zcy:R8e,zcy:E8e,Zdot:$8e,zdot:A8e,zeetrf:I8e,ZeroWidthSpace:O8e,Zeta:M8e,zeta:z8e,zfr:D8e,Zfr:L8e,ZHcy:F8e,zhcy:B8e,zigrarr:N8e,zopf:H8e,Zopf:j8e,Zscr:V8e,zscr:W8e,zwj:U8e,zwnj:q8e};var NS=K8e,Rm=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Va={},i1={};function G8e(e){var t,n,o=i1[e];if(o)return o;for(o=i1[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?o.push(n):o.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t"u"&&(n=!0),s=G8e(t),o=0,r=e.length;o=55296&&i<=57343){if(i>=55296&&i<=56319&&o+1=56320&&a<=57343)){l+=encodeURIComponent(e[o]+e[o+1]),o++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(e[o])}return l}ju.defaultChars=";/?:@&=+$,-_.!~*'()#";ju.componentChars="-_.!~*'()";var Y8e=ju,a1={};function X8e(e){var t,n,o=a1[e];if(o)return o;for(o=a1[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),o.push(n);for(t=0;t=55296&&u<=57343?d+="���":d+=String.fromCharCode(u),r+=6;continue}if((a&248)===240&&r+91114111?d+="����":(u-=65536,d+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),r+=9;continue}d+="�"}return d})}Vu.defaultChars=";/?:@&=+$,#";Vu.componentChars="";var Z8e=Vu,J8e=function(t){var n="";return n+=t.protocol||"",n+=t.slashes?"//":"",n+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?n+="["+t.hostname+"]":n+=t.hostname||"",n+=t.port?":"+t.port:"",n+=t.pathname||"",n+=t.search||"",n+=t.hash||"",n};function Fc(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var Q8e=/^([a-z0-9.+-]+:)/i,eIe=/:[0-9]*$/,tIe=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,nIe=["<",">",'"',"`"," ","\r",` +`," "],oIe=["{","}","|","\\","^","`"].concat(nIe),rIe=["'"].concat(oIe),s1=["%","/","?",";","#"].concat(rIe),l1=["/","?","#"],iIe=255,c1=/^[+a-z0-9A-Z_-]{0,63}$/,aIe=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,u1={javascript:!0,"javascript:":!0},d1={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function sIe(e,t){if(e&&e instanceof Fc)return e;var n=new Fc;return n.parse(e,t),n}Fc.prototype.parse=function(e,t){var n,o,r,i,a,s=e;if(s=s.trim(),!t&&e.split("#").length===1){var l=tIe.exec(s);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=Q8e.exec(s);if(c&&(c=c[0],r=c.toLowerCase(),this.protocol=c,s=s.substr(c.length)),(t||c||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(a=s.substr(0,2)==="//",a&&!(c&&u1[c])&&(s=s.substr(2),this.slashes=!0)),!u1[c]&&(a||c&&!d1[c])){var u=-1;for(n=0;n127?b+="x":b+=v[w];if(!b.match(c1)){var S=m.slice(0,n),_=m.slice(n+1),x=v.match(aIe);x&&(S.push(x[1]),_.unshift(x[2])),_.length&&(s=_.join(".")+s),this.hostname=S.join(".");break}}}}this.hostname.length>iIe&&(this.hostname=""),h&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var y=s.indexOf("#");y!==-1&&(this.hash=s.substr(y),s=s.slice(0,y));var k=s.indexOf("?");return k!==-1&&(this.search=s.substr(k),s=s.slice(0,k)),s&&(this.pathname=s),d1[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Fc.prototype.parseHost=function(e){var t=eIe.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var lIe=sIe;Va.encode=Y8e;Va.decode=Z8e;Va.format=J8e;Va.parse=lIe;var li={},Qd,f1;function HS(){return f1||(f1=1,Qd=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Qd}var ef,h1;function jS(){return h1||(h1=1,ef=/[\0-\x1F\x7F-\x9F]/),ef}var tf,p1;function cIe(){return p1||(p1=1,tf=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),tf}var nf,m1;function VS(){return m1||(m1=1,nf=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),nf}var g1;function uIe(){return g1||(g1=1,li.Any=HS(),li.Cc=jS(),li.Cf=cIe(),li.P=Rm,li.Z=VS()),li}(function(e){function t(H){return Object.prototype.toString.call(H)}function n(H){return t(H)==="[object String]"}var o=Object.prototype.hasOwnProperty;function r(H,D){return o.call(H,D)}function i(H){var D=Array.prototype.slice.call(arguments,1);return D.forEach(function(M){if(M){if(typeof M!="object")throw new TypeError(M+"must be object");Object.keys(M).forEach(function(Y){H[Y]=M[Y]})}}),H}function a(H,D,M){return[].concat(H.slice(0,D),M,H.slice(D+1))}function s(H){return!(H>=55296&&H<=57343||H>=64976&&H<=65007||(H&65535)===65535||(H&65535)===65534||H>=0&&H<=8||H===11||H>=14&&H<=31||H>=127&&H<=159||H>1114111)}function l(H){if(H>65535){H-=65536;var D=55296+(H>>10),M=56320+(H&1023);return String.fromCharCode(D,M)}return String.fromCharCode(H)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,d=new RegExp(c.source+"|"+u.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,p=NS;function h(H,D){var M;return r(p,D)?p[D]:D.charCodeAt(0)===35&&f.test(D)&&(M=D[1].toLowerCase()==="x"?parseInt(D.slice(2),16):parseInt(D.slice(1),10),s(M))?l(M):H}function m(H){return H.indexOf("\\")<0?H:H.replace(c,"$1")}function v(H){return H.indexOf("\\")<0&&H.indexOf("&")<0?H:H.replace(d,function(D,M,Y){return M||h(D,Y)})}var b=/[&<>"]/,w=/[&<>"]/g,C={"&":"&","<":"<",">":">",'"':"""};function S(H){return C[H]}function _(H){return b.test(H)?H.replace(w,S):H}var x=/[.?*+^$[\]\\(){}|-]/g;function y(H){return H.replace(x,"\\$&")}function k(H){switch(H){case 9:case 32:return!0}return!1}function P(H){if(H>=8192&&H<=8202)return!0;switch(H){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var T=Rm;function $(H){return T.test(H)}function R(H){switch(H){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function K(H){return H=H.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(H=H.replace(/ẞ/g,"ß")),H.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=Va,e.lib.ucmicro=uIe(),e.assign=i,e.isString=n,e.has=r,e.unescapeMd=m,e.unescapeAll=v,e.isValidEntityCode=s,e.fromCodePoint=l,e.escapeHtml=_,e.arrayReplaceAt=a,e.isSpace=k,e.isWhiteSpace=P,e.isMdAsciiPunct=R,e.isPunctChar=$,e.escapeRE=y,e.normalizeReference=K})(Ft);var Wu={},dIe=function(t,n,o){var r,i,a,s,l=-1,c=t.posMax,u=t.pos;for(t.pos=n+1,r=1;t.pos32))return s;if(r===41){if(i===0)break;i--}a++}return n===a||i!==0||(s.str=v1(t.slice(n,a)),s.pos=a,s.ok=!0),s},hIe=Ft.unescapeAll,pIe=function(t,n,o){var r,i,a=0,s=n,l={ok:!1,pos:0,lines:0,str:""};if(s>=o||(i=t.charCodeAt(s),i!==34&&i!==39&&i!==40))return l;for(s++,i===40&&(i=41);s"+Ei(i.content)+""};qo.code_block=function(e,t,n,o,r){var i=e[t];return""+Ei(e[t].content)+` +`};qo.fence=function(e,t,n,o,r){var i=e[t],a=i.info?gIe(i.info).trim():"",s="",l="",c,u,d,f,p;return a&&(d=a.split(/(\s+)/g),s=d[0],l=d.slice(2).join("")),n.highlight?c=n.highlight(i.content,s,l)||Ei(i.content):c=Ei(i.content),c.indexOf(""+c+` `):"
"+c+`
-`};Go.image=function(e,t,n,o,r){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=r.renderInlineAsText(i.children,n,o),r.renderToken(e,t,n)};Go.hardbreak=function(e,t,n){return n.xhtmlOut?`
+`};qo.image=function(e,t,n,o,r){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=r.renderInlineAsText(i.children,n,o),r.renderToken(e,t,n)};qo.hardbreak=function(e,t,n){return n.xhtmlOut?`
`:`
-`};Go.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`
+`};qo.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`
`:`
`:` -`};Go.text=function(e,t){return Pi(e[t].content)};Go.html_block=function(e,t){return e[t].content};Go.html_inline=function(e,t){return e[t].content};function Ka(){this.rules=J8e({},Go)}Ka.prototype.renderAttrs=function(t){var n,o,r;if(!t.attrs)return"";for(r="",n=0,o=t.attrs.length;n -`:">",i)};Ka.prototype.renderInline=function(e,t,n){for(var o,r="",i=this.rules,a=0,s=e.length;a\s]/i.test(e)}function lIe(e){return/^<\/a\s*>/i.test(e)}var cIe=function(t){var n,o,r,i,a,s,l,c,u,d,f,p,h,g,b,m,x=t.tokens,S;if(t.md.options.linkify){for(o=0,r=x.length;o=0;n--){if(s=i[n],s.type==="link_close"){for(n--;i[n].level!==s.level&&i[n].type!=="link_open";)n--;continue}if(s.type==="html_inline"&&(sIe(s.content)&&h>0&&h--,lIe(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",b]],a.level=p++,a.markup="linkify",a.info="auto",l.push(a),a=new t.Token("text","",0),a.content=m,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(dIe,hIe)),n.type==="link_open"&&n.info==="auto"&&o--,n.type==="link_close"&&n.info==="auto"&&o++}function mIe(e){var t,n,o=0;for(t=e.length-1;t>=0;t--)n=e[t],n.type==="text"&&!o&&MS.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 gIe=function(t){var n;if(t.md.options.typographer)for(n=t.tokens.length-1;n>=0;n--)t.tokens[n].type==="inline"&&(uIe.test(t.tokens[n].content)&&pIe(t.tokens[n].children),MS.test(t.tokens[n].content)&&mIe(t.tokens[n].children))},g1=Bt.isWhiteSpace,v1=Bt.isPunctChar,b1=Bt.isMdAsciiPunct,vIe=/['"]/,y1=/['"]/g,x1="’";function Kl(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function bIe(e,t){var n,o,r,i,a,s,l,c,u,d,f,p,h,g,b,m,x,S,_,w,C;for(_=[],n=0;n=0&&!(_[x].level<=l);x--);if(_.length=x+1,o.type==="text"){r=o.content,a=0,s=r.length;e:for(;a=0)u=r.charCodeAt(i.index-1);else for(x=n-1;x>=0&&!(e[x].type==="softbreak"||e[x].type==="hardbreak");x--)if(e[x].content){u=e[x].content.charCodeAt(e[x].content.length-1);break}if(d=32,a=48&&u<=57&&(m=b=!1),b&&m&&(b=f,m=p),!b&&!m){S&&(o.content=Kl(o.content,i.index,x1));continue}if(m){for(x=_.length-1;x>=0&&(c=_[x],!(_[x].level=0;n--)t.tokens[n].type!=="inline"||!vIe.test(t.tokens[n].content)||bIe(t.tokens[n].children,t)},xIe=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};Ga.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 Tm=Ga,CIe=Tm;function zS(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}zS.prototype.Token=CIe;var wIe=zS,_Ie=Pm,nf=[["normalize",oIe],["block",rIe],["inline",iIe],["linkify",cIe],["replacements",gIe],["smartquotes",yIe],["text_join",xIe]];function Rm(){this.ruler=new _Ie;for(var e=0;eo||(u=n+1,t.sCount[u]=4||(s=t.bMarks[u]+t.tShift[u],s>=t.eMarks[u])||(w=t.src.charCodeAt(s++),w!==124&&w!==45&&w!==58)||s>=t.eMarks[u]||(C=t.src.charCodeAt(s++),C!==124&&C!==45&&C!==58&&!of(C))||w===45&&of(C))return!1;for(;s=4||(d=C1(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(x=t.parentType,t.parentType="table",_=t.md.block.ruler.getRules("blockquote"),p=t.push("table_open","table",1),p.map=b=[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=C1(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=m=[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},TIe=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($)!==62)return!1;if(r)return!0;for(h=[],g=[],x=[],S=[],C=t.md.block.ruler.getRules("blockquote"),m=t.parentType,t.parentType="blockquote",f=n;f=I));f++){if(t.src.charCodeAt($++)===62&&!k){for(l=t.sCount[f]+1,t.src.charCodeAt($)===32?($++,l++,i=!1,_=!0):t.src.charCodeAt($)===9?(_=!0,(t.bsCount[f]+l)%4===3?($++,l++,i=!1):i=!0):_=!1,p=l,h.push(t.bMarks[f]),t.bMarks[f]=$;$=I,g.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(_?1:0),x.push(t.sCount[f]),t.sCount[f]=p-l,S.push(t.tShift[f]),t.tShift[f]=$-t.bMarks[f];continue}if(u)break;for(w=!1,s=0,c=C.length;s",y.map=d=[n,0],t.md.block.tokenize(t,n,f),y=t.push("blockquote_close","blockquote",-1),y.markup=">",t.lineMax=R,t.parentType=m,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[D]-t.listIndent>=4&&t.sCount[D]=t.blkIndent&&(Y=!0),($=_1(t,D))>=0){if(d=!0,A=t.bMarks[D]+t.tShift[D],m=Number(t.src.slice(A,$-1)),Y&&m!==1)return!1}else if(($=w1(t,D))>=0)d=!1;else return!1;if(Y&&t.skipSpaces($)>=t.eMarks[D])return!1;if(r)return!0;for(b=t.src.charCodeAt($-1),g=t.tokens.length,d?(M=t.push("ordered_list_open","ol",1),m!==1&&(M.attrs=[["start",m]])):M=t.push("bullet_list_open","ul",1),M.map=h=[D,0],M.markup=String.fromCharCode(b),I=!1,B=t.md.block.ruler.getRules("list"),w=t.parentType,t.parentType="list";D=x?c=1:c=S-u,c>4&&(c=1),l=u+c,M=t.push("list_item_open","li",1),M.markup=String.fromCharCode(b),M.map=f=[D,0],d&&(M.info=t.src.slice(A,$-1)),k=t.tight,y=t.tShift[D],C=t.sCount[D],_=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=l,t.tight=!0,t.tShift[D]=a-t.bMarks[D],t.sCount[D]=S,a>=x&&t.isEmpty(D+1)?t.line=Math.min(t.line+2,o):t.md.block.tokenize(t,D,o,!0),(!t.tight||I)&&(Q=!1),I=t.line-D>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=_,t.tShift[D]=y,t.sCount[D]=C,t.tight=k,M=t.push("list_item_close","li",-1),M.markup=String.fromCharCode(b),D=t.line,f[1]=D,D>=o||t.sCount[D]=4)break;for(K=!1,s=0,p=B.length;s=4||t.src.charCodeAt(C)!==91)return!1;for(;++C3)&&!(t.sCount[k]<0)){for(x=!1,u=0,d=S.length;u"u"&&(t.env.references={}),typeof t.env.references[f]>"u"&&(t.env.references[f]={title:_,href:c}),t.parentType=h,t.line=n+w+1),!0)},DIe=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Uu={},LIe="[a-zA-Z_:][a-zA-Z0-9:._-]*",FIe="[^\"'=<>`\\x00-\\x20]+",BIe="'[^']*'",NIe='"[^"]*"',HIe="(?:"+FIe+"|"+BIe+"|"+NIe+")",jIe="(?:\\s+"+LIe+"(?:\\s*=\\s*"+HIe+")?)",LS="<[A-Za-z][A-Za-z0-9\\-]*"+jIe+"*\\s*\\/?>",FS="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",VIe="|",WIe="<[?][\\s\\S]*?[?]>",UIe="]*>",qIe="",KIe=new RegExp("^(?:"+LS+"|"+FS+"|"+VIe+"|"+WIe+"|"+UIe+"|"+qIe+")"),GIe=new RegExp("^(?:"+LS+"|"+FS+")");Uu.HTML_TAG_RE=KIe;Uu.HTML_OPEN_CLOSE_TAG_RE=GIe;var YIe=DIe,XIe=Uu.HTML_OPEN_CLOSE_TAG_RE,ta=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(XIe.source+"\\s*$"),/^$/,!1]],ZIe=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&&S1(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)},QIe=function(t,n,o){var r,i,a,s,l,c,u,d,f,p=n+1,h,g=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=g.length;a3)&&!(t.sCount[u]<0)){for(i=!1,a=0,s=d.length;a0&&this.level++,this.tokens.push(o),o};Yo.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};Yo.prototype.skipEmptyLines=function(t){for(var n=this.lineMax;tn;)if(!qu(this.src.charCodeAt(--t)))return t+1;return t};Yo.prototype.skipChars=function(t,n){for(var o=this.src.length;to;)if(n!==this.src.charCodeAt(--t))return t+1;return t};Yo.prototype.getLines=function(t,n,o,r){var i,a,s,l,c,u,d,f=t;if(t>=n)return"";for(u=new Array(n-t),i=0;fo?u[i]=new Array(a-o+1).join(" ")+this.src.slice(l,c):u[i]=this.src.slice(l,c)}return u.join("")};Yo.prototype.Token=BS;var tOe=Yo,nOe=Pm,Yl=[["table",kIe,["paragraph","reference"]],["code",PIe],["fence",TIe,["paragraph","reference","blockquote","list"]],["blockquote",$Ie,["paragraph","reference","blockquote","list"]],["hr",AIe,["paragraph","reference","blockquote","list"]],["list",OIe,["paragraph","reference","blockquote"]],["reference",zIe],["html_block",ZIe,["paragraph","reference","blockquote"]],["heading",JIe,["paragraph","reference","blockquote"]],["lheading",QIe],["paragraph",eOe]];function Ku(){this.ruler=new nOe;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(aOe),!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)},lOe=Bt.isSpace,cOe=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){$m[e.charCodeAt(0)]=1});var dOe=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&&$m[o]!==0?s.content=a:s.content=i,s.markup=i,s.info="escape"),t.pos=l+1,!0},fOe=function(t,n){var o,r,i,a,s,l,c,u,d=t.pos,f=t.src.charCodeAt(d);if(f!==96)return!1;for(o=d,d++,r=t.posMax;d=0;n--)o=t[n],!(o.marker!==95&&o.marker!==42)&&o.end!==-1&&(r=t[o.end],s=n>0&&t[n-1].end===o.end+1&&t[n-1].marker===o.marker&&t[n-1].token===o.token-1&&t[o.end+1].token===r.token+1,a=String.fromCharCode(o.marker),i=e.tokens[o.token],i.type=s?"strong_open":"em_open",i.tag=s?"strong":"em",i.nesting=1,i.markup=s?a+a:a,i.content="",i=e.tokens[r.token],i.type=s?"strong_close":"em_close",i.tag=s?"strong":"em",i.nesting=-1,i.markup=s?a+a:a,i.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[o.end+1].token].content="",n--))}Yu.postProcess=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for(T1(t,t.delimiters),n=0;n=g)return!1;if(b=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="",b=l;l=g||t.src.charCodeAt(l)!==41)&&(m=!0),l++}if(m){if(typeof t.env.references>"u")return!1;if(l=0?i=t.src.slice(b,l++):l=a+1):l=a+1,i||(i=t.src.slice(s,a)),u=t.env.references[hOe(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=g,!0},mOe=Bt.normalizeReference,sf=Bt.isSpace,gOe=function(t,n){var o,r,i,a,s,l,c,u,d,f,p,h,g,b="",m=t.pos,x=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=x)return!1;for(g=c,d=t.md.helpers.parseLinkDestination(t.src,c,t.posMax),d.ok&&(b=t.md.normalizeLink(d.str),t.md.validateLink(b)?c=d.pos:b=""),g=c;c=x||t.src.charCodeAt(c)!==41)return t.pos=m,!1;c++}else{if(typeof t.env.references>"u")return!1;if(c=0?a=t.src.slice(g,c++):c=s+1):c=s+1,a||(a=t.src.slice(l,s)),u=t.env.references[mOe(a)],!u)return t.pos=m,!1;b=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",b],["alt",""]],p.children=h,p.content=i,f&&o.push(["title",f])),t.pos=c,t.posMax=x,!0},vOe=/^([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])?)*)$/,bOe=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,yOe=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),bOe.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):vOe.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},xOe=Uu.HTML_TAG_RE;function COe(e){return/^\s]/i.test(e)}function wOe(e){return/^<\/a\s*>/i.test(e)}function _Oe(e){var t=e|32;return t>=97&&t<=122}var SOe=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&&!_Oe(o))||(r=t.src.slice(s).match(xOe),!r)?!1:(n||(a=t.push("html_inline","",0),a.content=r[0],COe(a.content)&&t.linkLevel++,wOe(a.content)&&t.linkLevel--),t.pos+=r[0].length,!0)},R1=ES,kOe=Bt.has,POe=Bt.isValidEntityCode,$1=Bt.fromCodePoint,TOe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,ROe=/^&([a-z][a-z0-9]{1,31});/i,$Oe=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(TOe),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=POe(r)?$1(r):$1(65533),a.markup=i[0],a.info="entity"),t.pos+=i[0].length,!0}else if(i=t.src.slice(s).match(ROe),i&&kOe(R1,i[1]))return n||(a=t.push("text_special","",0),a.content=R1[i[1]],a.markup=i[0],a.info="entity"),t.pos+=i[0].length,!0;return!1};function E1(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 EOe=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for(E1(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};ml.prototype.scanDelims=function(e,t){var n=e,o,r,i,a,s,l,c,u,d,f=!0,p=!0,h=this.posMax,g=this.src.charCodeAt(e);for(o=e>0?this.src.charCodeAt(e-1):32;n=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;t||e.pos++,s[o]=e.pos};gl.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()};gl.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}),uf}function Rh(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(n){n&&Object.keys(n).forEach(function(o){e[o]=n[o]})}),e}function Xu(e){return Object.prototype.toString.call(e)}function zOe(e){return Xu(e)==="[object String]"}function DOe(e){return Xu(e)==="[object Object]"}function LOe(e){return Xu(e)==="[object RegExp]"}function D1(e){return Xu(e)==="[object Function]"}function FOe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var NS={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function BOe(e){return Object.keys(e||{}).reduce(function(t,n){return t||NS.hasOwnProperty(n)},!1)}var NOe={"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}}},HOe="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]",jOe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function VOe(e){e.__index__=-1,e.__text_cache__=""}function WOe(e){return function(t,n){var o=t.slice(n);return e.test(o)?o.match(e)[0].length:0}}function L1(){return function(e,t){t.normalize(e)}}function Lc(e){var t=e.re=MOe()(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(HOe),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,DOe(l)){LOe(l.validate)?c.validate=WOe(l.validate):D1(l.validate)?c.validate=l.validate:i(s,l),D1(l.normalize)?c.normalize=l.normalize:l.normalize?i(s,l):c.normalize=L1();return}if(zOe(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:L1()};var a=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(FOe).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"),VOe(e)}function UOe(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 $h(e,t){var n=new UOe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Qn(e,t){if(!(this instanceof Qn))return new Qn(e,t);t||BOe(e)&&(t=e,e={}),this.__opts__=Rh({},NS,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Rh({},NOe,e),this.__compiled__={},this.__tlds__=jOe,this.__tlds_replaced__=!1,this.re={},Lc(this)}Qn.prototype.add=function(t,n){return this.__schemas__[t]=n,Lc(this),this};Qn.prototype.set=function(t){return this.__opts__=Rh(this.__opts__,t),this};Qn.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var n,o,r,i,a,s,l,c,u;if(this.re.schema_test.test(t)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(t))!==null;)if(i=this.testSchemaAt(t,n[2],l.lastIndex),i){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=t.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(r=t.match(this.re.email_fuzzy))!==null&&(a=r.index+r[1].length,s=r.index+r[0].length,(this.__index__<0||athis.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=s))),this.__index__>=0};Qn.prototype.pretest=function(t){return this.re.pretest.test(t)};Qn.prototype.testSchemaAt=function(t,n,o){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,o,this):0};Qn.prototype.match=function(t){var n=0,o=[];this.__index__>=0&&this.__text_cache__===t&&(o.push($h(this,n)),n=this.__last_index__);for(var r=n?t.slice(n):t;this.test(r);)o.push($h(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return o.length?o:null};Qn.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;var n=this.re.schema_at_start.exec(t);if(!n)return null;var o=this.testSchemaAt(t,n[2],n[0].length);return o?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o,$h(this,0)):null};Qn.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(o,r,i){return o!==i[r-1]}).reverse(),Lc(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,Lc(this),this)};Qn.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};Qn.prototype.onCompile=function(){};var qOe=Qn;const ma=2147483647,Lo=36,Am=1,Xs=26,KOe=38,GOe=700,HS=72,jS=128,VS="-",YOe=/^xn--/,XOe=/[^\0-\x7F]/,ZOe=/[\x2E\u3002\uFF0E\uFF61]/g,JOe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},df=Lo-Am,Fo=Math.floor,ff=String.fromCharCode;function Or(e){throw new RangeError(JOe[e])}function QOe(e,t){const n=[];let o=e.length;for(;o--;)n[o]=t(e[o]);return n}function WS(e,t){const n=e.split("@");let o="";n.length>1&&(o=n[0]+"@",e=n[1]),e=e.replace(ZOe,".");const r=e.split("."),i=QOe(r,t).join(".");return o+i}function Im(e){const t=[];let n=0;const o=e.length;for(;n=55296&&r<=56319&&nString.fromCodePoint(...e),eMe=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Lo},F1=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},qS=function(e,t,n){let o=0;for(e=n?Fo(e/GOe):e>>1,e+=Fo(e/t);e>df*Xs>>1;o+=Lo)e=Fo(e/df);return Fo(o+(df+1)*e/(e+KOe))},Om=function(e){const t=[],n=e.length;let o=0,r=jS,i=HS,a=e.lastIndexOf(VS);a<0&&(a=0);for(let s=0;s=128&&Or("not-basic"),t.push(e.charCodeAt(s));for(let s=a>0?a+1:0;s=n&&Or("invalid-input");const f=eMe(e.charCodeAt(s++));f>=Lo&&Or("invalid-input"),f>Fo((ma-o)/u)&&Or("overflow"),o+=f*u;const p=d<=i?Am:d>=i+Xs?Xs:d-i;if(fFo(ma/h)&&Or("overflow"),u*=h}const c=t.length+1;i=qS(o-l,c,l==0),Fo(o/c)>ma-r&&Or("overflow"),r+=Fo(o/c),o%=c,t.splice(o++,0,r)}return String.fromCodePoint(...t)},Mm=function(e){const t=[];e=Im(e);const n=e.length;let o=jS,r=0,i=HS;for(const l of e)l<128&&t.push(ff(l));const a=t.length;let s=a;for(a&&t.push(VS);s=o&&uFo((ma-r)/c)&&Or("overflow"),r+=(l-o)*c,o=l;for(const u of e)if(uma&&Or("overflow"),u===o){let d=r;for(let f=Lo;;f+=Lo){const p=f<=i?Am:f>=i+Xs?Xs:f-i;if(d=0))try{t.hostname=YS.toASCII(t.hostname)}catch{}return hi.encode(hi.format(t))}function bMe(e){var t=hi.parse(e,!0);if(t.hostname&&(!t.protocol||XS.indexOf(t.protocol)>=0))try{t.hostname=YS.toUnicode(t.hostname)}catch{}return hi.decode(hi.format(t),hi.decode.defaultChars+"%")}function lo(e,t){if(!(this instanceof lo))return new lo(e,t);t||Ts.isString(e)||(t=e||{},e="default"),this.inline=new dMe,this.block=new uMe,this.core=new cMe,this.renderer=new lMe,this.linkify=new fMe,this.validateLink=gMe,this.normalizeLink=vMe,this.normalizeLinkText=bMe,this.utils=Ts,this.helpers=Ts.assign({},sMe),this.options={},this.configure(e),t&&this.set(t)}lo.prototype.set=function(e){return Ts.assign(this.options,e),this};lo.prototype.configure=function(e){var t=this,n;if(Ts.isString(e)&&(n=e,e=hMe[n],!e))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(o){e.components[o].rules&&t[o].ruler.enableOnly(e.components[o].rules),e.components[o].rules2&&t[o].ruler2.enableOnly(e.components[o].rules2)}),this};lo.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var o=e.filter(function(r){return n.indexOf(r)<0});if(o.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+o);return this};lo.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var o=e.filter(function(r){return n.indexOf(r)<0});if(o.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+o);return this};lo.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};lo.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};lo.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};lo.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};lo.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var yMe=lo,xMe=yMe;const Zu=fp(xMe),CMe={xmlns:"http://www.w3.org/2000/svg",id:"Layer_1",viewBox:"0 0 442.19 323.31"},wMe=j("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),_Me=j("path",{d:"M382.09 37.76H340l-10.84 123.9H221.09l-14.14 161.65 85.83-121.47h145.89l3.52-40.18h-70.94z",class:"cls-2"},null,-1),SMe=j("path",{d:"M149.41 121.47H3.52L0 161.66h221.09L235.23 0z",style:{fill:"#ffbc00"}},null,-1);function kMe(e,t){return ce(),ze("svg",CMe,[j("defs",null,[(ce(),Ve(qc("style"),null,{default:re(()=>[Je(".cls-2{fill:#000}@media (prefers-color-scheme:dark){.cls-2{fill:#fff}}")]),_:1}))]),wMe,_Me,SMe])}const PMe={render:kMe},TMe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1109 1027"},RMe=C4('',2),$Me=[RMe];function EMe(e,t){return ce(),ze("svg",TMe,[...$Me])}const AMe={render:EMe},IMe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64"},OMe=j("g",{fill:"#E29942","clip-path":"url(#clip0_408_56)"},[j("path",{d:"M47.158 14.428c0-.591.31-1.14.818-1.444L61.449 4.9C62.572 4.225 64 5.034 64 6.343V20.21c0 .93-.754 1.685-1.684 1.685H48.842c-.93 0-1.684-.755-1.684-1.685z"}),j("path",{"fill-rule":"evenodd",d:"M24.397 26.46a1.68 1.68 0 0 0-.818 1.443V48c0 .93-.754 1.6-1.684 1.6h-3.369c-.93 0-1.684-.67-1.684-1.6V34.976c0-1.31-1.428-2.118-2.55-1.444L.817 41.617A1.68 1.68 0 0 0 0 43.062v17.572c0 .93.754 1.684 1.684 1.684h13.474c.93 0 1.684-.754 1.684-1.684v-3.803c0-.93.754-1.493 1.684-1.493h3.369c.93 0 1.684.563 1.684 1.493v3.803c0 .93.754 1.684 1.684 1.684h13.474c.93 0 1.684-.754 1.684-1.684V19.818c0-1.309-1.428-2.118-2.55-1.444z","clip-rule":"evenodd"}),j("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),MMe=[OMe];function zMe(e,t){return ce(),ze("svg",IMe,[...MMe])}const DMe={render:zMe};var Rs=(e=>(e[e.PENDING=0]="PENDING",e[e.PROCESSING=1]="PROCESSING",e[e.CANCELLED=2]="CANCELLED",e[e.COMPLETED=3]="COMPLETED",e[e.DISCOUNTED=4]="DISCOUNTED",e))(Rs||{});const LMe={0:"待支付",1:"开通中",2:"已取消",3:"已完成",4:"已折抵"},ZS={month_price:"月付",quarter_price:"季付",half_year_price:"半年付",year_price:"年付",two_year_price:"两年付",three_year_price:"三年付",onetime_price:"一次性",reset_price:"流量重置包"},Yi=e=>(O3("data-v-ecba5f1f"),e=e(),M3(),e),FMe=["innerHTML"],BMe={class:"w-64"},NMe={class:"text-#666"},HMe={class:"w-64"},jMe={class:"text-#666"},VMe=Yi(()=>j("div",{class:"w-64"},[j("img",{src:lee,class:"h-30 w-30"})],-1)),WMe={class:"text-#666"},UMe={class:"w-64"},qMe={class:"text-#666"},KMe={class:"font-bold"},GMe={class:"mb-20"},YMe={class:"text-center"},XMe={class:"mt-10 text-center"},ZMe=Yi(()=>j("div",{class:"w-64"},[j("img",{src:$S,class:"h-30 w-30"})],-1)),JMe={class:"text-#666"},QMe={class:"w-64"},eze={class:"text-#666"},tze={class:"w-64"},nze={class:"text-#666"},oze=Yi(()=>j("div",{class:"w-64"},[j("img",{src:cee,class:"h-30 w-30 border-rounded-5"})],-1)),rze={class:"text-#666"},ize=Yi(()=>j("div",{class:"w-64"},[j("img",{src:uee,class:"h-30 w-30 border-rounded-5"})],-1)),aze={class:"text-#666"},sze=Yi(()=>j("div",{class:"w-64"},[j("img",{src:dee,class:"h-30 w-30"})],-1)),lze={class:"text-#666"},cze=Yi(()=>j("div",{class:"w-64"},[j("img",{src:$S,class:"h-30 w-30"})],-1)),uze={class:"text-#666"},dze=Yi(()=>j("div",{class:"w-64"},[j("img",{src:fee,class:"h-30 w-30"})],-1)),fze={class:"text-#666"},hze={class:"p-10 text-center"},pze={class:"mb-5 md:mb-40"},mze={key:0,class:"mb-10"},gze={class:"font-bold"},vze=["onClick"],bze={class:"text-20"},yze={class:"text-16 font-600 color-[hsla(0,0%,100%,.75)]"},xze={class:"text-block mb-16 p-t-20 text-20 font-600"},Cze={key:0,class:"mb-16 text-14 text-gray"},wze={key:1,class:"mb-16 text-14 font-600 text-red-500"},_ze={key:2,class:"mb-16 text-14 text-gray"},Sze={class:"text-gray"},kze={class:"flex items-center justify-between"},Pze={class:""},Tze={class:"text-16"},Rze={class:"text-14 text-gray"},$ze={class:"flex items-center justify-between"},Eze={class:"text-16"},Aze={class:"text-14 text-gray"},Ize={class:"flex items-center justify-between"},Oze={class:"text-16"},Mze={class:"text-14 text-gray"},zze={class:"flex items-center justify-between"},Dze={class:"text-16"},Lze={class:"text-14 text-gray"},Fze=me({__name:"index",setup(e){const t=N=>sn.global.t(N),n=TX(),o=new Zu({html:!0}),r=N=>o.render(N),i=wn(),a=Gi(),s=navigator.userAgent.toLowerCase();let l="unknown";s.includes("windows")?l="windows":s.includes("iphone")||s.includes("ipad")?l="ios":s.includes("macintosh")?l="mac":s.includes("android")&&(l="android");const c=F(!1),u=F();Ft(()=>{});const d=F(!1),f=F(!1),p=F(""),h=F(["auto"]),g=[{label:"自动",type:"auto"},{label:"全部",type:"all"},{label:"Vless",type:"vless"},{label:"Hy1",type:"hysteria"},{label:"Hy2",type:"hysteria2"},{label:"Shadowsocks",type:"shadowsocks"},{label:"Vmess",type:"vmess"},{label:"Trojan",type:"trojan"}],b=F([]);function m(N){if(N==="auto"||N==="all"&&h.value.includes("all"))h.value=["auto"];else if(N==="all"&&!h.value.includes("all"))h.value=b.value.map(E=>E.type).filter(E=>E!=="auto");else{const E=h.value.includes(N);h.value=E?h.value.filter(q=>q!==N):[...h.value.filter(q=>q!=="auto"),N],DE(b.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"]),x()}function x(){var E,O,q;const N=h.value;N.includes("all")?p.value=((E=w.value)==null?void 0:E.subscribe_url)+"&types=all":N.includes("auto")?p.value=((O=w.value)==null?void 0:O.subscribe_url)+"&types=auto":p.value=((q=w.value)==null?void 0:q.subscribe_url)+"&types="+h.value.join(",")}function S(N){window.location.href=N}function _(N){return btoa(unescape(encodeURIComponent(N)))}const w=L(()=>a.subscribe);function C(){var q,ne,ve;const N=(q=w.value)==null?void 0:q.transfer_enable,E=((ne=w.value)==null?void 0:ne.u)||0,O=((ve=w.value)==null?void 0:ve.d)||0;return N?Math.floor((E+O)/N*100):0}const{errorColor:y,warningColor:k,successColor:R,primaryColor:$}=n.value;function I(){const N=C();return N>=100?y:N>=70?k:R}async function A(){var ve,J;if(!await window.$dialog.confirm({title:t("确定重置当前已用流量?"),type:"warning",content:t("点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。"),showIcon:!1}))return;const E=(ve=await Sm())==null?void 0:ve.data,O=E==null?void 0:E.find(be=>be.status===Rs.PENDING);if(O)if(await window.$dialog.confirm({title:t("注意"),type:"warning",content:t("你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?"),positiveText:t("确认取消"),negativeText:t("返回我的订单"),showIcon:!1})){const H=O.trade_no;if(!await Bu(H))return}else{Zt.push("order");return}const q=(J=w.value)==null?void 0:J.plan_id;if(!q)return;const{data:ne}=await kS(q,"reset_price");ne&&Zt.push("order/"+ne)}const K=F([]);async function B(){const{data:N}=await _Z();K.value=N,N.map(E=>{var O;(O=E.tags)!=null&&O.includes("弹窗")&&(c.value=!0,u.value=E)})}const M=F([0,0,0]);async function D(){const{data:N}=await CZ();N&&(M.value=N)}const Y=F(),Q=F();async function ue(){const{data:N}=await SS();if(N){Y.value=N;const O=[...new Set(N.map(q=>{let ne=q.type;return q.type==="hysteria"&&q.version==2&&(ne="hysteria2"),ne}))];Q.value=O,b.value=g.filter(q=>O.includes(q.type)||["auto","all"].includes(q.type))}}function le(){B(),a.getUserSubscribe(),D(),ue()}return cn(()=>{le()}),(N,E)=>{const O=Zr,q=see,ne=gm,ve=pr,J=nee,be=dl,H=pS,ge=Wn,Ie=mm,Le=qi,P=$t,T=ul,W=yi,oe=Jj,G=pl,se=Ki,xe=VY,ye=ZQ,Ce=qQ,we=HQ,Ee=DQ,de=AQ,ee=fo;return ce(),Ve(ee,{"show-footer":!1},{default:re(()=>{var fe,Te,Fe,Ye;return[te(O,{show:c.value,"onUpdate:show":E[0]||(E[0]=Se=>c.value=Se),class:"mx-10 max-w-100% w-600 md:mx-auto",preset:"card",title:(fe=u.value)==null?void 0:fe.title,size:"huge",bordered:!1,"content-style":"padding-top:0",segmented:{content:!1}},{default:re(()=>{var Se;return[j("div",{innerHTML:r(((Se=u.value)==null?void 0:Se.content)||""),class:"markdown-body custom-html-style"},null,8,FMe)]}),_:1},8,["show","title"]),te(O,{show:d.value,"onUpdate:show":E[15]||(E[15]=Se=>d.value=Se),"transform-origin":"center","auto-focus":!1,"display-directive":"show","trap-focus":!1},{default:re(()=>[te(ge,{class:"max-w-100% w-300",bordered:!1,size:"huge",contentStyle:"padding:0"},{default:re(()=>[te(Ie,{hoverable:""},{default:re(()=>{var Se,De;return[te(ne,{class:"p-0!"},{default:re(()=>[j("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[1]||(E[1]=Ue=>{var Ae,Qe;return((Ae=w.value)==null?void 0:Ae.subscribe_url)&&he(da)((Qe=w.value)==null?void 0:Qe.subscribe_url)})},[j("div",BMe,[te(q,{class:"text-30 text-#595959"})]),j("div",NMe,ie(N.$t("复制订阅地址")),1)])]),_:1}),(Se=Q.value)!=null&&Se.includes("hysteria2")?(ce(),Ve(ne,{key:0,class:"p-0!"},{default:re(()=>[j("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[2]||(E[2]=Ue=>{var Ae,Qe;return((Ae=w.value)==null?void 0:Ae.subscribe_url)&&he(da)(((Qe=w.value)==null?void 0:Qe.subscribe_url)+"&types=hysteria2")})},[j("div",HMe,[te(ve,{size:"30"},{default:re(()=>[te(he(PMe))]),_:1})]),j("div",jMe,ie(N.$t("复制HY2订阅地址")),1)])]),_:1})):ut("",!0),(De=Q.value)!=null&&De.includes("vless")?(ce(),Ve(ne,{key:1,class:"p-0!"},{default:re(()=>[j("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[3]||(E[3]=Ue=>{var Ae,Qe;return((Ae=w.value)==null?void 0:Ae.subscribe_url)&&he(da)(((Qe=w.value)==null?void 0:Qe.subscribe_url)+"&types=vless")})},[VMe,j("div",WMe,ie(N.$t("复制Vless订阅地址")),1)])]),_:1})):ut("",!0),te(ne,{class:"p-0!"},{default:re(()=>[j("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[5]||(E[5]=Ue=>{var Ae;return p.value=((Ae=w.value)==null?void 0:Ae.subscribe_url)||"",f.value=!0})},[j("div",UMe,[te(J,{class:"text-30 text-#595959"})]),j("div",qMe,ie(N.$t("扫描二维码订阅")),1),te(O,{show:f.value,"onUpdate:show":E[4]||(E[4]=Ue=>f.value=Ue)},{default:re(()=>[te(ge,{class:"w-300"},{default:re(()=>[j("div",KMe,ie(N.$t("选择协议"))+":",1),j("div",GMe,[(ce(!0),ze(at,null,Nn(b.value,Ue=>(ce(),Ve(be,{key:Ue.type,value:Ue.type,checked:h.value.includes(Ue.type),onClick:Ae=>m(Ue.type)},{default:re(()=>[Je(ie(N.$t(Ue.label)),1)]),_:2},1032,["value","checked","onClick"]))),128))]),j("div",YMe,[te(H,{value:p.value,"icon-src":he(i).logo,size:140,color:he($)},null,8,["value","icon-src","color"])]),j("div",XMe,ie(N.$t("使用支持扫码的客户端进行订阅")),1)]),_:1})]),_:1},8,["show"])])]),_:1}),["mac"].includes(he(l))?(ce(),Ve(ne,{key:2,class:"p-0!"},{default:re(()=>[j("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[6]||(E[6]=Ue=>{var Ae;return((Ae=w.value)==null?void 0:Ae.subscribe_url)&&S("clash://install-config?url="+w.value.subscribe_url+`&name=${he(i).title}`)})},[ZMe,j("div",JMe,ie(N.$t("导入到"))+" ClashX Meta",1)])]),_:1})):ut("",!0),["mac","android","windows"].includes(he(l))?(ce(),Ve(ne,{key:3,class:"p-0!"},{default:re(()=>[j("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[7]||(E[7]=Ue=>{var Ae;return((Ae=w.value)==null?void 0:Ae.subscribe_url)&&S("sing-box://import-remote-profile?url="+encodeURIComponent(w.value.subscribe_url)+`#${encodeURIComponent(he(i).title||"")}`)})},[j("div",QMe,[te(ve,{size:"30"},{default:re(()=>[te(he(DMe))]),_:1})]),j("div",eze,ie(N.$t("导入到"))+" Hiddify Next",1)])]),_:1})):ut("",!0),["android","mac","ios"].includes(he(l))?(ce(),Ve(ne,{key:4,class:"p-0!"},{default:re(()=>[j("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[8]||(E[8]=Ue=>{var Ae;return((Ae=w.value)==null?void 0:Ae.subscribe_url)&&S("sing-box://import-remote-profile?url="+encodeURIComponent(w.value.subscribe_url)+`#${encodeURIComponent(he(i).title||"")}`)})},[j("div",tze,[te(ve,{size:"30"},{default:re(()=>[te(he(AMe))]),_:1})]),j("div",nze,ie(N.$t("导入到"))+" sing-box",1)])]),_:1})):ut("",!0),["mac","ios"].includes(he(l))?(ce(),Ve(ne,{key:5,class:"p-0!"},{default:re(()=>[j("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[9]||(E[9]=Ue=>{var Ae;return((Ae=w.value)==null?void 0:Ae.subscribe_url)&&S("shadowrocket://add/sub://"+_(w.value.subscribe_url).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")+`?remark=${he(i).title}`)})},[oze,j("div",rze,ie(N.$t("导入到"))+" Shadowsocket",1)])]),_:1})):ut("",!0),["mac","ios"].includes(he(l))?(ce(),Ve(ne,{key:6,class:"p-0!"},{default:re(()=>[j("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[10]||(E[10]=Ue=>{var Ae;return((Ae=w.value)==null?void 0:Ae.subscribe_url)&&S("stash://install-config?url="+encodeURIComponent(w.value.subscribe_url)+`&name=${he(i).title}`)})},[ize,j("div",aze,ie(N.$t("导入到"))+" Stash",1)])]),_:1})):ut("",!0),["android"].includes(he(l))?(ce(),Ve(ne,{key:7,class:"p-0!"},{default:re(()=>[j("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[11]||(E[11]=Ue=>{var Ae;return((Ae=w.value)==null?void 0:Ae.subscribe_url)&&S("clash://install-config?url="+(w.value.subscribe_url+"&types=hysteria2")+`&name=${he(i).title}`)})},[sze,j("div",lze,ie(N.$t("导入到"))+" NekoBox",1)])]),_:1})):ut("",!0),["android"].includes(he(l))?(ce(),Ve(ne,{key:8,class:"p-0!"},{default:re(()=>[j("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[12]||(E[12]=Ue=>{var Ae;return((Ae=w.value)==null?void 0:Ae.subscribe_url)&&S("clash://install-config?url="+(w.value.subscribe_url+"&types=hysteria2")+`&name=${he(i).title}`)})},[cze,j("div",uze,ie(N.$t("导入到"))+" Clash Meta",1)])]),_:1})):ut("",!0),["windows"].includes(he(l))?(ce(),Ve(ne,{key:9,class:"p-0!"},{default:re(()=>[j("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[13]||(E[13]=Ue=>{var Ae;return((Ae=w.value)==null?void 0:Ae.subscribe_url)&&S("clash://install-config?url="+(w.value.subscribe_url+"&types=hysteria2")+`&name=${he(i).title}`)})},[dze,j("div",fze,ie(N.$t("导入到"))+" Clash",1)])]),_:1})):ut("",!0)]}),_:1}),te(Le,{class:"m-0!"}),j("div",hze,[te(P,{type:"primary",class:"w-100%",size:"large",onClick:E[14]||(E[14]=Se=>N.$router.push("/knowledge"))},{default:re(()=>[Je(ie(N.$t("不会使用,查看使用教程")),1)]),_:1})])]),_:1})]),_:1},8,["show"]),j("div",pze,[M.value[1]&&M.value[1]>0||M.value[0]&&M.value[0]>0?(ce(),ze("div",mze,[M.value[1]&&M.value[1]>0?(ce(),Ve(T,{key:0,type:"warning","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:re(()=>[Je(ie(M.value[1])+" "+ie(N.$t("条工单正在处理中"))+" ",1),te(P,{strong:"",text:"",onClick:E[16]||(E[16]=Se=>he(Zt).push("/ticket"))},{default:re(()=>[Je(ie(N.$t("立即查看")),1)]),_:1})]),_:1})):ut("",!0),M.value[0]&&M.value[0]>0?(ce(),Ve(T,{key:1,type:"error","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:re(()=>[Je(ie(N.$t("还有没支付的订单"))+" ",1),te(P,{text:"",strong:"",onClick:E[17]||(E[17]=Se=>he(Zt).push("/order"))},{default:re(()=>[Je(ie(N.$t("立即支付")),1)]),_:1})]),_:1})):ut("",!0),!((Te=w.value)!=null&&Te.expired_at&&(((Fe=w.value)==null?void 0:Fe.expired_at)||0)>Date.now()/1e3)&&C()>=70?(ce(),Ve(T,{key:2,type:"info","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:re(()=>[Je(ie(N.$tc("当前已使用流量达{rate}%",{rate:C()}))+" ",1),te(P,{text:"",onClick:E[18]||(E[18]=Se=>A())},{default:re(()=>[j("span",gze,ie(N.$t("重置已用流量")),1)]),_:1})]),_:1})):ut("",!0)])):ut("",!0),Cn(te(ge,{class:"w-100% cursor-pointer overflow-hidden border-rounded-5 text-white transition hover:opacity-75",bordered:!1,"content-style":"padding: 0"},{default:re(()=>[te(oe,null,{default:re(()=>[(ce(!0),ze(at,null,Nn(K.value,Se=>(ce(),ze("div",{key:Se.id,class:"",style:Ho(Se.img_url?`background:url(${Se.img_url}) no-repeat;background-size: cover `:`background:url(${he(i).$state.assets_path}/images/background.svg)`),onClick:De=>(c.value=!0,u.value=Se)},[j("div",{class:"carousel-img flex flex-col justify-between p-20",style:Ho({background:"rgba(0, 0, 0, 0.5) !important"})},[j("div",null,[te(W,{bordered:!1,class:"bg-#e04f1a text-12 color-white"},{default:re(()=>[Je(ie(N.$t("公告")),1)]),_:1})]),j("div",null,[j("p",bze,ie(Se.title),1),j("p",yze,ie(he(jo)(Se.created_at)),1)])],4)],12,vze))),128))]),_:1})]),_:1},512),[[Jn,((Ye=K.value)==null?void 0:Ye.length)>0]]),te(ge,{title:N.$t("我的订阅"),class:"mt-5 border-rounded-5 md:m-t-20"},{default:re(()=>{var Se,De,Ue,Ae,Qe,xt,X,pe,$e,qe,Xe,Ze,nt,rt,yt,on;return[w.value?(Se=w.value)!=null&&Se.plan_id?(ce(),ze(at,{key:1},[j("div",xze,ie((Ue=(De=w.value)==null?void 0:De.plan)==null?void 0:Ue.name),1),((Ae=w.value)==null?void 0:Ae.expired_at)===null?(ce(),ze("div",Cze,ie(N.$t("该订阅长期有效")),1)):(Qe=w.value)!=null&&Qe.expired_at&&(((xt=w.value)==null?void 0:xt.expired_at)??0)(((qe=w.value)==null?void 0:qe.reset_day)||0)?(ce(),ze(at,{key:0},[Je(ie(N.$tc("已用流量将在 {reset_day} 日后重置",{reset_day:(Xe=w.value)==null?void 0:Xe.reset_day})),1)],64)):ut("",!0)])),te(xe,{type:"line",percentage:C(),processing:"",color:I()},null,8,["percentage","color"]),j("div",null,ie(N.$tc("已用 {used} / 总计 {total}",{used:he(sa)(((((Ze=w.value)==null?void 0:Ze.u)||0)+(((nt=w.value)==null?void 0:nt.d)||0))/1024/1024/1024)+" GB",total:he(sa)((((rt=w.value)==null?void 0:rt.transfer_enable)||0)/1024/1024/1024)+" GB"})),1),(yt=w.value)!=null&&yt.expired_at&&(((on=w.value)==null?void 0:on.expired_at)||0)he(Zt).push("/plan/"+he(a).plan_id))},{default:re(()=>[Je(ie(N.$t("续费订阅")),1)]),_:1})):C()>=70?(ce(),Ve(P,{key:4,type:"primary",class:"mt-20",onClick:E[20]||(E[20]=Dt=>A())},{default:re(()=>[Je(ie(N.$t("重置已用流量")),1)]),_:1})):ut("",!0)],64)):(ce(),ze("div",{key:2,class:"cursor-pointer pt-20 text-center",onClick:E[21]||(E[21]=Dt=>he(Zt).push("/plan"))},[te(ye,{class:"text-40"}),j("div",Sze,ie(N.$t("购买订阅")),1)])):(ce(),Ve(se,{key:0},{default:re(()=>[te(G,{height:"20px",width:"33%"}),te(G,{height:"20px",width:"66%"}),te(G,{height:"20px"})]),_:1}))]}),_:1},8,["title"]),te(ge,{title:N.$t("捷径"),class:"m-t-20 border-rounded-5","content-style":"padding: 0"},{default:re(()=>[te(Ie,{hoverable:"",clickable:""},{default:re(()=>[te(ne,{class:"flex flex cursor-pointer justify-between p-19 hover:bg-#f6f6f6",onClick:E[22]||(E[22]=Se=>he(Zt).push("/knowledge"))},{default:re(()=>[j("div",kze,[j("div",Pze,[j("div",Tze,ie(N.$t("查看教程")),1),j("div",Rze,ie(N.$t("学习如何使用"))+" "+ie(he(i).title),1)]),j("div",null,[te(Ce,{class:"text-30 color-gray-500"})])])]),_:1}),te(ne,{class:"flex cursor-pointer justify-between p-19 hover:bg-#f6f6f6",onClick:E[23]||(E[23]=Se=>d.value=!0)},{default:re(()=>[j("div",$ze,[j("div",null,[j("div",Eze,ie(N.$t("一键订阅")),1),j("div",Aze,ie(N.$t("快速将节点导入对应客户端进行使用")),1)]),j("div",null,[te(we,{class:"text-30 color-gray-500"})])])]),_:1}),te(ne,{class:"flex cursor-pointer justify-between p-19",onClick:E[24]||(E[24]=Se=>he(a).plan_id?he(Zt).push("/plan/"+he(a).plan_id):he(Zt).push("/plan"))},{default:re(()=>{var Se;return[j("div",Ize,[j("div",null,[j("div",Oze,ie((Se=w.value)!=null&&Se.plan_id?N.$t("续费订阅"):N.$t("购买订阅")),1),j("div",Mze,ie(N.$t("对您当前的订阅进行购买")),1)]),j("div",null,[te(Ee,{class:"text-30 color-gray-500"})])])]}),_:1}),te(ne,{class:"flex cursor-pointer justify-between p-19",onClick:E[25]||(E[25]=Se=>N.$router.push("/ticket"))},{default:re(()=>[j("div",zze,[j("div",null,[j("div",Dze,ie(N.$t("遇到问题")),1),j("div",Lze,ie(N.$t("遇到问题可以通过工单与我们沟通")),1)]),j("div",null,[te(de,{class:"text-30 color-gray-500"})])])]),_:1})]),_:1})]),_:1},8,["title"])])]}),_:1})}}}),Bze=Hu(Fze,[["__scopeId","data-v-ecba5f1f"]]),Nze=Object.freeze(Object.defineProperty({__proto__:null,default:Bze},Symbol.toStringTag,{value:"Module"})),Hze={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},jze=j("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),Vze=[jze];function Wze(e,t){return ce(),ze("svg",Hze,[...Vze])}const Uze={name:"ant-design-pay-circle-outlined",render:Wze},qze={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},Kze=j("path",{fill:"currentColor",d:"M668.6 320c0-4.4-3.6-8-8-8h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 0 0-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1c-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.5-1.1.9-2.4.9-3.7M157.9 504.2a352.7 352.7 0 0 1 103.5-242.4c32.5-32.5 70.3-58.1 112.4-75.9c43.6-18.4 89.9-27.8 137.6-27.8c47.8 0 94.1 9.3 137.6 27.8c42.1 17.8 79.9 43.4 112.4 75.9c10 10 19.3 20.5 27.9 31.4l-50 39.1a8 8 0 0 0 3 14.1l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3l-47.8 37.4C770.7 146.3 648.6 82 511.5 82C277 82 86.3 270.1 82 503.8a8 8 0 0 0 8 8.2h60c4.3 0 7.8-3.5 7.9-7.8M934 512h-60c-4.3 0-7.9 3.5-8 7.8a352.7 352.7 0 0 1-103.5 242.4a352.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),Gze=[Kze];function Yze(e,t){return ce(),ze("svg",qze,[...Gze])}const Xze={name:"ant-design-transaction-outlined",render:Yze},Zze={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},Jze=j("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),Qze=[Jze];function eDe(e,t){return ce(),ze("svg",Zze,[...Qze])}const tDe={name:"mdi-invite",render:eDe},nDe={class:"text-50 font-400"},oDe={class:"m-l-10 text-20 text-#6c757d md:m-l20"},rDe={class:"text-#6c757d"},iDe={class:"flex justify-between p-b-5 p-t-5"},aDe={class:"flex justify-between p-b-5 p-t-5"},sDe={key:0},lDe={key:1},cDe={class:"flex justify-between p-b-5 p-t-5"},uDe={class:"flex justify-between p-b-5 p-t-5"},dDe={class:"m-t-10"},fDe={class:"m-b-5"},hDe={class:"m-t-10"},pDe={class:"m-b-5"},mDe={class:"flex justify-end"},gDe={class:"m-t-10"},vDe={class:"m-b-5"},bDe={class:"m-t-10"},yDe={class:"m-b-5"},xDe={class:"flex justify-end"},CDe=me({__name:"index",setup(e){const t=wn(),n=C=>sn.global.t(C),o=[{title:n("邀请码"),key:"code",render(C){const y=`${window.location.protocol}//${window.location.host}/#/register?code=${C.code}`;return v("div",[v("span",C.code),v($t,{size:"small",onClick:()=>da(y),quaternary:!0,type:"info"},{default:()=>n("复制链接")})])}},{title:n("创建时间"),key:"created_at",fixed:"right",align:"right",render(C){return jo(C.created_at)}}],r=[{title:n("发放时间"),key:"created_at",render(C){return jo(C.created_at)}},{title:n("佣金"),key:"get_amount",fixed:"right",align:"right",render(C){return an(C.get_amount)}}],i=F(),a=F([]);async function s(){const C=await TZ(),{data:y}=C;i.value=y.codes,a.value=y.stat}const l=F([]),c=xo({page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,50,100,150],onChange:C=>{c.page=C,u()},onUpdatePageSize:C=>{c.pageSize=C,c.page=1,u()}});async function u(){const C=await RZ(c.page,c.pageSize),{data:y}=C;l.value=y}const d=F(!1);async function f(){d.value=!0;const{data:C}=await $Z();C===!0&&(window.$message.success(n("已生成")),w()),d.value=!1}const p=F(!1),h=F(),g=F(!1);async function b(){g.value=!0;const C=h.value;if(typeof C!="number"){window.$message.error(n("请输入正确的划转金额")),g.value=!1;return}const{data:y}=await EZ(C*100);y===!0&&(window.$message.success(n("划转成功")),p.value=!1,s()),g.value=!1}const m=F(!1),x=xo({method:null,account:null}),S=F(!1);async function _(){if(S.value=!0,!x.method){window.$message.error(n("提现方式不能为空")),S.value=!1;return}if(!x.account){window.$message.error(n("提现账号不能为空")),S.value=!1;return}const C=x.method,y=x.account,{data:k}=await AZ({withdraw_method:C,withdraw_account:y});k===!0&&Zt.push("/ticket"),S.value=!1}function w(){s(),u()}return cn(()=>{w()}),(C,y)=>{const k=tDe,R=_V,$=Xze,I=Uze,A=Ki,K=Wn,B=zu,M=ul,D=_o,Y=jG,Q=Zr,ue=RS,le=Au,N=fo;return ce(),Ve(N,null,{default:re(()=>[te(K,{title:C.$t("我的邀请"),class:"border-rounded-5"},{"header-extra":re(()=>[te(k,{class:"text-40 text-gray"})]),default:re(()=>{var E;return[j("div",null,[j("span",nDe,[te(R,{from:0,to:parseFloat(he(an)(a.value[4])),active:!0,precision:2,duration:500},null,8,["to"])]),j("span",oDe,ie((E=he(t).appConfig)==null?void 0:E.currency),1)]),j("div",rDe,ie(C.$t("当前剩余佣金")),1),te(A,{class:"m-t-10"},{default:re(()=>{var O;return[te(he($t),{size:"small",type:"primary",onClick:y[0]||(y[0]=q=>p.value=!0)},{icon:re(()=>[te($)]),default:re(()=>[Je(" "+ie(C.$t("划转")),1)]),_:1}),(O=he(t).appConfig)!=null&&O.withdraw_close?ut("",!0):(ce(),Ve(he($t),{key:0,size:"small",type:"primary",onClick:y[1]||(y[1]=q=>m.value=!0)},{icon:re(()=>[te(I)]),default:re(()=>[Je(" "+ie(C.$t("推广佣金提现")),1)]),_:1}))]}),_:1})]}),_:1},8,["title"]),te(K,{class:"m-t-15 border-rounded-5"},{default:re(()=>{var E,O,q,ne,ve,J;return[j("div",iDe,[j("div",null,ie(C.$t("已注册用户数")),1),j("div",null,ie(C.$tc("{number} 人",{number:a.value[0]})),1)]),j("div",aDe,[j("div",null,ie(C.$t("佣金比例")),1),(E=he(t).appConfig)!=null&&E.commission_distribution_enable?(ce(),ze("div",sDe,ie(`${Math.floor((((O=he(t).appConfig)==null?void 0:O.commission_distribution_l1)||0)*a.value[3]/100)}%,${Math.floor((((q=he(t).appConfig)==null?void 0:q.commission_distribution_l2)||0)*a.value[3]/100)}%,${Math.floor((((ne=he(t).appConfig)==null?void 0:ne.commission_distribution_l3)||0)*a.value[3]/100)}%`),1)):(ce(),ze("div",lDe,ie(a.value[3])+"%",1))]),j("div",cDe,[j("div",null,ie(C.$t("确认中的佣金")),1),j("div",null,ie((ve=he(t).appConfig)==null?void 0:ve.currency_symbol)+" "+ie(he(an)(a.value[2])),1)]),j("div",uDe,[j("div",null,ie(C.$t("累计获得佣金")),1),j("div",null,ie((J=he(t).appConfig)==null?void 0:J.currency_symbol)+" "+ie(he(an)(a.value[1])),1)])]}),_:1}),te(K,{title:C.$t("邀请码管理"),class:"m-t-15 border-rounded-5"},{"header-extra":re(()=>[te(he($t),{size:"small",type:"primary",round:"",loading:d.value,onClick:f},{default:re(()=>[Je(ie(C.$t("生成邀请码")),1)]),_:1},8,["loading"])]),default:re(()=>[te(B,{columns:o,data:i.value,bordered:!0},null,8,["data"])]),_:1},8,["title"]),te(K,{title:C.$t("佣金发放记录"),class:"m-t-15 border-rounded-5"},{default:re(()=>[te(B,{columns:r,data:l.value,pagination:c},null,8,["data","pagination"])]),_:1},8,["title"]),te(Q,{show:p.value,"onUpdate:show":y[6]||(y[6]=E=>p.value=E)},{default:re(()=>[te(K,{title:C.$t("划转"),segmented:{content:!0,footer:!0},"footer-style":"padding-top: 10px; padding-bottom:10px",class:"mx-10 max-w-100% w-600 md:mx-auto",closable:"",onClose:y[5]||(y[5]=E=>p.value=!1)},{footer:re(()=>[j("div",mDe,[j("div",null,[te(he($t),{onClick:y[3]||(y[3]=E=>p.value=!1)},{default:re(()=>[Je(ie(C.$t("取消")),1)]),_:1}),te(he($t),{type:"primary",class:"ml-10",onClick:y[4]||(y[4]=E=>b()),loading:g.value,disabled:g.value},{default:re(()=>[Je(ie(C.$t("确定")),1)]),_:1},8,["loading","disabled"])])])]),default:re(()=>[te(M,{type:"warning"},{default:re(()=>[Je(ie(C.$tc("划转后的余额仅用于{title}消费使用",{title:he(t).title})),1)]),_:1}),j("div",dDe,[j("div",fDe,ie(C.$t("当前推广佣金余额")),1),te(D,{placeholder:he(an)(a.value[4]),type:"number",disabled:""},null,8,["placeholder"])]),j("div",hDe,[j("div",pDe,ie(C.$t("划转金额")),1),te(Y,{value:h.value,"onUpdate:value":y[2]||(y[2]=E=>h.value=E),min:0,placeholder:C.$t("请输入需要划转到余额的金额"),clearable:""},null,8,["value","placeholder"])])]),_:1},8,["title"])]),_:1},8,["show"]),te(Q,{show:m.value,"onUpdate:show":y[12]||(y[12]=E=>m.value=E)},{default:re(()=>[te(K,{title:C.$t("推广佣金划转至余额"),segmented:{content:!0,footer:!0},"footer-style":"padding-top: 10px; padding-bottom:10px",class:"mx-10 max-w-100% w-600 md:mx-auto"},{"header-extra":re(()=>[te(he($t),{class:"h-auto p-2",tertiary:"",size:"large",onClick:y[7]||(y[7]=E=>m.value=!1)},{icon:re(()=>[te(ue,{class:"cursor-pointer opacity-85"})]),_:1})]),footer:re(()=>[j("div",xDe,[j("div",null,[te(he($t),{onClick:y[10]||(y[10]=E=>m.value=!1)},{default:re(()=>[Je(ie(C.$t("取消")),1)]),_:1}),te(he($t),{type:"primary",class:"ml-10",onClick:y[11]||(y[11]=E=>_()),loading:S.value,disabled:S.value},{default:re(()=>[Je(ie(C.$t("确定")),1)]),_:1},8,["loading","disabled"])])])]),default:re(()=>{var E;return[j("div",gDe,[j("div",vDe,ie(C.$t("提现方式")),1),te(le,{value:x.method,"onUpdate:value":y[8]||(y[8]=O=>x.method=O),options:(E=he(t).appConfig)==null?void 0:E.withdraw_methods.map(O=>({label:O,value:O})),placeholder:C.$t("请选择提现方式")},null,8,["value","options","placeholder"])]),j("div",bDe,[j("div",yDe,ie(C.$t("提现账号")),1),te(D,{value:x.account,"onUpdate:value":y[9]||(y[9]=O=>x.account=O),placeholder:C.$t("请输入提现账号"),type:"string"},null,8,["value","placeholder"])])]}),_:1},8,["title"])]),_:1},8,["show"])]),_:1})}}}),wDe=Object.freeze(Object.defineProperty({__proto__:null,default:CDe},Symbol.toStringTag,{value:"Module"})),_De={class:""},SDe={class:"mb-4 text-16 font-600"},kDe={class:"text-12 text-gray"},PDe=["innerHTML"],TDe=me({__name:"index",setup(e){const t=wn(),n=new Zu({html:!0}),o=f=>n.render(f);window.copy=f=>da(f),window.jump=f=>a(f);const r=F(!1),i=F();async function a(f){const{data:p}=await UZ(f,t.lang);p&&(i.value=p),r.value=!0}const s=F(""),l=F(!0),c=F();async function u(){l.value=!0;const f=s.value,{data:p}=await WZ(f,t.lang);c.value=p,l.value=!1}function d(){u()}return cn(()=>{d()}),(f,p)=>{const h=_o,g=$t,b=$u,m=pl,x=Ki,S=gm,_=mm,w=Wn,C=fq,y=N2,k=fo;return ce(),Ve(k,{"show-footer":!1},{default:re(()=>[te(b,null,{default:re(()=>[te(h,{placeholder:f.$t("使用文档"),value:s.value,"onUpdate:value":p[0]||(p[0]=R=>s.value=R),onKeyup:p[1]||(p[1]=ya(R=>d(),["enter"]))},null,8,["placeholder","value"]),te(g,{type:"primary",ghost:"",onClick:p[2]||(p[2]=R=>d())},{default:re(()=>[Je(ie(f.$t("搜索")),1)]),_:1})]),_:1}),l.value?(ce(),Ve(x,{key:0,vertical:"",class:"mt-20"},{default:re(()=>[te(m,{height:"20px",width:"33%"}),te(m,{height:"20px",width:"66%"}),te(m,{height:"20px"})]),_:1})):ut("",!0),(ce(!0),ze(at,null,Nn(c.value,(R,$)=>(ce(),Ve(w,{key:$,title:$,class:"mt-20 border-rounded-5",contentStyle:"padding:0"},{default:re(()=>[te(_,{clickable:"",hoverable:""},{default:re(()=>[(ce(!0),ze(at,null,Nn(R,I=>(ce(),Ve(S,{key:I.id,onClick:A=>a(I.id)},{default:re(()=>[j("div",_De,[j("div",SDe,ie(I.title),1),j("div",kDe,ie(f.$t("最后更新"))+" "+ie(he(xp)(I.updated_at)),1)])]),_:2},1032,["onClick"]))),128))]),_:2},1024)]),_:2},1032,["title"]))),128)),te(y,{show:r.value,"onUpdate:show":p[3]||(p[3]=R=>r.value=R),width:"80%",placement:"right"},{default:re(()=>{var R;return[te(C,{title:(R=i.value)==null?void 0:R.title,closable:""},{default:re(()=>{var $;return[j("div",{innerHTML:o((($=i.value)==null?void 0:$.body)||""),class:"custom-html-style markdown-body"},null,8,PDe)]}),_:1},8,["title"])]}),_:1},8,["show"])]),_:1})}}}),RDe=Object.freeze(Object.defineProperty({__proto__:null,default:TDe},Symbol.toStringTag,{value:"Module"})),$De={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},EDe=j("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),ADe=[EDe];function IDe(e,t){return ce(),ze("svg",$De,[...ADe])}const ODe={name:"mdi-help-circle-outline",render:IDe},MDe={class:"flex"},zDe={class:"flex-[1]"},DDe={class:"flex flex-[2] flex-shrink-0 text-center"},LDe={class:"flex flex-1 items-center justify-center"},FDe={class:"flex flex-1 items-center justify-center"},BDe={class:"flex-1"},NDe={class:"flex"},HDe={class:"flex-[1] break-anywhere"},jDe={class:"flex flex-[2] flex-shrink-0 items-center text-center"},VDe={class:"flex flex-[1] items-center justify-center"},WDe={class:"flex-[1]"},UDe={class:"flex-[1]"},qDe={key:0},KDe={key:1},GDe=me({__name:"index",setup(e){const t=F([]),n=F(!0);async function o(){n.value=!0;const r=await SS(),{data:i}=r;t.value=i,n.value=!1}return cn(()=>{o()}),(r,i)=>{const a=pl,s=Ki,l=ODe,c=Ou,u=yi,d=gm,f=mm,p=Oa("router-link"),h=ul,g=fo;return ce(),Ve(g,null,{default:re(()=>[n.value?(ce(),Ve(s,{key:0,vertical:"",class:"mt-20"},{default:re(()=>[te(a,{height:"20px",width:"33%"}),te(a,{height:"20px",width:"66%"}),te(a,{height:"20px"})]),_:1})):t.value.length>0?(ce(),Ve(f,{key:1,clickable:"",hoverable:""},{header:re(()=>[j("div",MDe,[j("div",zDe,ie(r.$t("名称")),1),j("div",DDe,[j("div",LDe,[Je(ie(r.$t("状态"))+" ",1),te(c,{placement:"bottom",trigger:"hover"},{trigger:re(()=>[te(l,{class:"m-l-3 text-16"})]),default:re(()=>[j("span",null,ie(r.$t("五分钟内节点在线情况")),1)]),_:1})]),j("div",FDe,[Je(ie(r.$t("倍率"))+" ",1),te(c,{placement:"bottom",trigger:"hover"},{trigger:re(()=>[te(l,{class:"m-l-3 text-16"})]),default:re(()=>[j("span",null,ie(r.$t("使用的流量将乘以倍率进行扣除")),1)]),_:1})]),j("div",BDe,ie(r.$t("标签")),1)])])]),default:re(()=>[(ce(!0),ze(at,null,Nn(t.value,b=>(ce(),Ve(d,{key:b.id},{default:re(()=>[j("div",NDe,[j("div",HDe,ie(b.name),1),j("div",jDe,[j("div",VDe,[j("div",{class:ar(["h-6 w-6 rounded-full",b.is_online?"bg-blue-500":"bg-red-500"])},null,2)]),j("div",WDe,[te(u,{size:"small",round:"",class:""},{default:re(()=>[Je(ie(b.rate)+" x ",1)]),_:2},1024)]),j("div",UDe,[b.tags&&b.tags.length>0?(ce(),ze("div",qDe,[(ce(!0),ze(at,null,Nn(b.tags,m=>(ce(),Ve(u,{size:"small",round:"",key:m},{default:re(()=>[Je(ie(m),1)]),_:2},1024))),128))])):(ce(),ze("span",KDe,"-"))])])])]),_:2},1024))),128))]),_:1})):(ce(),Ve(h,{key:2,type:"info"},{default:re(()=>[j("div",null,[Je(ie(r.$t("没有可用节点,如果您未订阅或已过期请"))+" ",1),te(p,{class:"font-600",to:"/plan"},{default:re(()=>[Je(ie(r.$t("订阅")),1)]),_:1}),Je("。 ")])]),_:1}))]),_:1})}}}),YDe=Object.freeze(Object.defineProperty({__proto__:null,default:GDe},Symbol.toStringTag,{value:"Module"})),XDe=me({__name:"index",setup(e){const t=s=>sn.global.t(s),n=[{title:t("# 订单号"),key:"trade_no",render(s){return v($t,{text:!0,class:"color-primary",onClick:()=>Zt.push(`/order/${s.trade_no}`)},{default:()=>s.trade_no})}},{title:t("周期"),key:"period",render(s){return v(yi,{round:!0,size:"small"},{default:()=>t(ZS[s.period])})}},{title:t("订单金额"),key:"total_amount",render(s){return an(s.total_amount)}},{title:t("订单状态"),key:"status",render(s){const l=t(LMe[s.status]),c=v("div",{class:["h-6 w-6 rounded-full mr-5",s.status===3?"bg-green-500":"bg-red-500"]});return v("div",{class:"flex items-center"},[c,l])}},{title:t("创建时间"),key:"created_at",render(s){return jo(s.created_at)}},{title:t("操作"),key:"actions",fixed:"right",render(s){const l=v($t,{text:!0,type:"primary",onClick:()=>Zt.push(`/order/${s.trade_no}`)},{default:()=>t("查看详情")}),c=v($t,{text:!0,type:"primary",disabled:s.status!==0,onClick:()=>o(s.trade_no)},{default:()=>t("取消")}),u=v(qi,{vertical:!0});return v("div",[l,u,c])}}];async function o(s){window.$dialog.confirm({title:t("注意"),type:"warning",content:t("如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?"),async confirm(){const{data:l}=await Bu(s);l===!0&&(window.$message.success(t("取消成功")),a())}})}const r=F([]);async function i(){const s=await Sm(),{data:l}=s;r.value=l}async function a(){i()}return cn(()=>{a()}),(s,l)=>{const c=zu,u=fo;return ce(),Ve(u,null,{default:re(()=>[te(c,{columns:n,data:r.value,bordered:!1,"scroll-x":800},null,8,["data"])]),_:1})}}}),ZDe=Object.freeze(Object.defineProperty({__proto__:null,default:XDe},Symbol.toStringTag,{value:"Module"})),JDe={class:"inline-block",viewBox:"0 0 48 48",width:"1em",height:"1em"},QDe=j("g",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd"},[j("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"}),j("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),eLe=[QDe];function tLe(e,t){return ce(),ze("svg",JDe,[...eLe])}const JS={name:"healthicons-yes-outline",render:tLe},nLe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},oLe=j("path",{fill:"currentColor",d:"M952.08 1.552L529.039 116.144c-10.752 2.88-34.096 2.848-44.815-.16L72.08 1.776C35.295-8.352-.336 18.176-.336 56.048V834.16c0 32.096 24.335 62.785 55.311 71.409l412.16 114.224c11.025 3.055 25.217 4.751 39.937 4.751c10.095 0 25.007-.784 38.72-4.528l423.023-114.592c31.056-8.4 55.504-39.024 55.504-71.248V56.048c.016-37.84-35.616-64.464-72.24-54.496zM479.999 956.943L71.071 843.887c-3.088-.847-7.408-6.496-7.408-9.712V66.143L467.135 177.68c3.904 1.088 8.288 1.936 12.864 2.656zm480.336-122.767c0 3.152-5.184 8.655-8.256 9.503L544 954.207v-775.92c.592-.144 1.2-.224 1.792-.384L960.32 65.775v768.4h.016zM641.999 366.303c2.88 0 5.81-.367 8.69-1.184l223.935-63.024c17.025-4.816 26.945-22.465 22.16-39.473s-22.56-26.88-39.472-22.16l-223.936 63.025c-17.024 4.816-26.944 22.464-22.16 39.472c3.968 14.128 16.815 23.344 30.783 23.344m.002 192.001c2.88 0 5.81-.368 8.69-1.185l223.935-63.024c17.025-4.816 26.945-22.465 22.16-39.473c-4.783-17.008-22.56-26.88-39.472-22.16l-223.936 63.025c-17.024 4.816-26.944 22.464-22.16 39.457c3.968 14.127 16.815 23.36 30.783 23.36m.002 192c2.88 0 5.81-.368 8.69-1.185l223.935-63.024c17.025-4.816 26.945-22.465 22.16-39.473s-22.56-26.88-39.472-22.16L633.38 687.487c-17.024 4.816-26.944 22.464-22.16 39.472c3.968 14.113 16.815 23.345 30.783 23.345M394.629 303.487l-223.934-63.025c-16.912-4.72-34.688 5.152-39.473 22.16s5.12 34.656 22.16 39.473l223.937 63.024a31.827 31.827 0 0 0 8.687 1.184c13.968 0 26.815-9.215 30.783-23.343c4.784-16.993-5.12-34.657-22.16-39.473m.002 191.999l-223.934-63.025c-16.912-4.72-34.689 5.152-39.473 22.16s5.12 34.656 22.16 39.473l223.936 63.024a31.827 31.827 0 0 0 8.688 1.184c13.968 0 26.815-9.215 30.783-23.343c4.784-16.993-5.12-34.657-22.16-39.473m.002 191.999L170.699 624.46c-16.912-4.72-34.689 5.152-39.473 22.16s5.12 34.656 22.16 39.473l223.936 63.024a31.827 31.827 0 0 0 8.688 1.184c13.968 0 26.815-9.215 30.783-23.343c4.784-17.008-5.12-34.657-22.16-39.473"},null,-1),rLe=[oLe];function iLe(e,t){return ce(),ze("svg",nLe,[...rLe])}const aLe={name:"simple-line-icons-book-open",render:iLe},sLe={class:"inline-block",viewBox:"0 0 20 20",width:"1em",height:"1em"},lLe=j("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),cLe=[lLe];function uLe(e,t){return ce(),ze("svg",sLe,[...cLe])}const dLe={name:"dashicons-yes-alt",render:uLe},fLe={class:"inline-block",viewBox:"0 0 20 20",width:"1em",height:"1em"},hLe=j("path",{fill:"currentColor",d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8s-8-3.58-8-8s3.58-8 8-8m1.13 9.38l.35-6.46H8.52l.35 6.46zm-.09 3.36c.24-.23.37-.55.37-.96c0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35s-.82.12-1.07.35s-.37.55-.37.97c0 .41.13.73.38.96c.26.23.61.34 1.06.34s.8-.11 1.05-.34"},null,-1),pLe=[hLe];function mLe(e,t){return ce(),ze("svg",fLe,[...pLe])}const gLe={name:"dashicons-warning",render:mLe},vLe={class:"p-20"},bLe={class:"p-10 text-center"},yLe={key:1,class:"flex flex-wrap"},xLe={class:"w-100% md:flex-[2]"},CLe={key:2,class:"mt-10 text-22"},wLe={key:3,class:"text-14 text-[rgba(0,0,0,0.45)]"},_Le={class:"flex"},SLe={class:"flex-[1] text-#49505799"},kLe={class:"flex-[2]"},PLe={class:"flex"},TLe={class:"m-t-5 flex-[1] text-#49505799"},RLe={class:"flex-[2]"},$Le={class:"flex"},ELe={class:"m-b-5 m-t-5 flex-[1] text-#49505799"},ALe={class:"flex-[2]"},ILe={class:"flex"},OLe={class:"flex-[1] text-#49505799"},MLe={class:"flex-[2]"},zLe={key:0,class:"flex"},DLe={class:"flex-[1] text-#49505799"},LLe={class:"flex-[2]"},FLe={key:1,class:"flex"},BLe={class:"flex-[1] text-#49505799"},NLe={class:"flex-[2]"},HLe={key:2,class:"flex"},jLe={class:"flex-[1] text-#49505799"},VLe={class:"flex-[2]"},WLe={key:3,class:"flex"},ULe={class:"flex-[1] text-#49505799"},qLe={class:"flex-[2]"},KLe={key:4,class:"flex"},GLe={class:"flex-[1] text-#49505799"},YLe={class:"flex-[2]"},XLe={class:"flex"},ZLe={class:"m-t-5 flex-[1] text-#49505799"},JLe={class:"flex-[2]"},QLe=["onClick"],e9e={class:"flex-[1] whitespace-nowrap"},t9e={class:"flex-[1]"},n9e=["src"],o9e={key:0,class:"w-100% md:flex-[1] md:pl-20"},r9e={class:"mt-20 border-rounded-5 bg-#2f3135 p-20 color-white"},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-#f8f9fa41"},d9e={class:"pt-16 text-right"},f9e={key:1,class:"border-[#646669] border-b-solid pb-16 pt-16"},h9e={class:"color-#f8f9fa41"},p9e={class:"pt-16 text-right"},m9e={key:2,class:"border-[#646669] border-b-solid pb-16 pt-16"},g9e={class:"color-#f8f9fa41"},v9e={class:"pt-16 text-right"},b9e={key:3,class:"border-[#646669] border-b-solid pb-16 pt-16"},y9e={class:"color-#f8f9fa41"},x9e={class:"pt-16 text-right"},C9e={key:4,class:"border-[#646669] border-b-solid pb-16 pt-16"},w9e={class:"color-#f8f9fa41"},_9e={class:"pt-16 text-right"},S9e={class:"pb-16 pt-16"},k9e={class:"color-#f8f9fa41"},P9e={class:"text-36 font-600"},T9e=me({__name:"detail",setup(e){const t=wn(),n=Gi(),o=Ei(),r=y=>sn.global.t(y);function i(y){switch(y){case 1:return{icon:"info",title:r("开通中"),subTitle:r("订单系统正在进行处理,请稍等1-3分钟。")};case 2:return{icon:"info",title:r("已取消"),subTitle:r("订单由于超时支付已被取消。")};case 3:case 4:return{icon:"info",title:r("已完成"),subTitle:r("订单已支付并开通。")}}return{icon:"error",title:r("意料之外"),subTitle:r("意料之外的状态")}}async function a(){window.$dialog.confirm({title:r("注意"),type:"warning",content:r("如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?"),async confirm(){const{data:y}=await Bu(s.value);y===!0&&(window.$message.success(r("取消成功")),C())}})}const s=F(""),l=F(),c=F(),u=F(!0);async function d(){u.value=!0;const{data:y}=await kZ(s.value);l.value=y,clearInterval(c.value),y.status===Rs.PENDING&&h(),[Rs.PENDING,Rs.PROCESSING].includes(y.status)&&(c.value=setInterval(_,1500)),u.value=!1}const f=F([]),p=F(0);async function h(){const{data:y}=await zZ();f.value=y}function g(){var k,R,$,I,A;return((k=l.value)==null?void 0:k.plan[l.value.period])-(((R=l.value)==null?void 0:R.balance_amount)||0)-((($=l.value)==null?void 0:$.surplus_amount)||0)+(((I=l.value)==null?void 0:I.refund_amount)||0)-(((A=l.value)==null?void 0:A.discount_amount)||0)}function b(){const y=f.value[p.value];return(y!=null&&y.handling_fee_percent||y!=null&&y.handling_fee_fixed)&&g()?g()*parseFloat(y.handling_fee_percent||"0")/100+((y==null?void 0:y.handling_fee_fixed)||0):0}async function m(){const y=f.value[p.value],{data:k,type:R}=await DZ(s.value,y==null?void 0:y.id);k&&(k===!0?(window.$message.info(r("支付成功")),setTimeout(()=>{w()},500)):R===0?(x.value=!0,S.value=k):R===1&&(window.$message.info(r("正在前往收银台")),setTimeout(()=>{window.location.href=k},500)))}const x=F(!1),S=F("");async function _(){var k;const{data:y}=await PZ(s.value);y!==((k=l.value)==null?void 0:k.status)&&w()}async function w(){C(),n.getUserInfo()}async function C(){d(),x.value=!1}return cn(()=>{typeof o.params.trade_no=="string"&&(s.value=o.params.trade_no),C()}),Ma(()=>{clearInterval(c.value)}),(y,k)=>{const R=pS,$=qi,I=Wn,A=Zr,K=pl,B=Ki,M=gLe,D=dLe,Y=aLe,Q=$t,ue=JS,le=fo;return ce(),Ve(le,null,{default:re(()=>{var N,E,O,q,ne,ve,J,be,H,ge,Ie,Le,P,T,W,oe,G,se,xe,ye,Ce,we,Ee,de,ee,fe;return[te(A,{show:x.value,"onUpdate:show":k[0]||(k[0]=Te=>x.value=Te),onOnAfterLeave:k[1]||(k[1]=Te=>S.value="")},{default:re(()=>[te(I,{style:{width:"300px",padding:"0","max-width":"100%"},"content-style":"padding:0",bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{default:re(()=>[j("div",vLe,[S.value?(ce(),Ve(R,{key:0,value:S.value,class:"pay-qrcode",size:"400"},null,8,["value"])):ut("",!0)]),te($,{class:"m-0!"}),j("div",bLe,ie(y.$t("等待支付中")),1)]),_:1})]),_:1},8,["show"]),u.value?(ce(),Ve(B,{key:0,vertical:"",class:"mt-20"},{default:re(()=>[te(K,{height:"20px",width:"33%"}),te(K,{height:"20px",width:"66%"}),te(K,{height:"20px"})]),_:1})):(ce(),ze("div",yLe,[j("div",xLe,[((N=l.value)==null?void 0:N.status)!==0?(ce(),Ve(I,{key:0,class:"flex text-center","items-center":"","border-rounded-5":""},{default:re(()=>{var Te,Fe,Ye,Se,De,Ue;return[((Te=l.value)==null?void 0:Te.status)===2?(ce(),Ve(M,{key:0,class:"text-90 color-#f9a314"})):ut("",!0),((Fe=l.value)==null?void 0:Fe.status)===3||((Ye=l.value)==null?void 0:Ye.status)==4?(ce(),Ve(D,{key:1,class:"text-90 color-#48bc19"})):ut("",!0),(Se=l.value)!=null&&Se.status?(ce(),ze("div",CLe,ie(i(l.value.status).title),1)):ut("",!0),(De=l.value)!=null&&De.status?(ce(),ze("div",wLe,ie(i(l.value.status).subTitle),1)):ut("",!0),((Ue=l.value)==null?void 0:Ue.status)===3?(ce(),Ve(Q,{key:4,"icon-placement":"left",strong:"",color:"#db4619",size:"small",round:"",class:"mt-30",onClick:k[2]||(k[2]=Ae=>y.$router.push("/knowledge"))},{icon:re(()=>[te(Y)]),default:re(()=>[Je(" "+ie(y.$t("查看使用教程")),1)]),_:1})):ut("",!0)]}),_:1})):ut("",!0),te(I,{class:"mt-20 border-rounded-5",title:y.$t("商品信息")},{default:re(()=>{var Te,Fe,Ye;return[j("div",_Le,[j("div",SLe,ie(y.$t("产品名称"))+":",1),j("div",kLe,ie((Te=l.value)==null?void 0:Te.plan.name),1)]),j("div",PLe,[j("div",TLe,ie(y.$t("类型/周期"))+":",1),j("div",RLe,ie((Fe=l.value)!=null&&Fe.period?y.$t(he(ZS)[l.value.period]):""),1)]),j("div",$Le,[j("div",ELe,ie(y.$t("产品流量"))+":",1),j("div",ALe,ie((Ye=l.value)==null?void 0:Ye.plan.transfer_enable)+" GB",1)])]}),_:1},8,["title"]),te(I,{class:"mt-20 border-rounded-5",title:y.$t("订单信息")},{"header-extra":re(()=>{var Te;return[((Te=l.value)==null?void 0:Te.status)===0?(ce(),Ve(Q,{key:0,color:"#db4619",size:"small",round:"",strong:"",onClick:k[3]||(k[3]=Fe=>a())},{default:re(()=>[Je(ie(y.$t("关闭订单")),1)]),_:1})):ut("",!0)]}),default:re(()=>{var Te,Fe,Ye,Se,De,Ue,Ae,Qe,xt,X,pe;return[j("div",ILe,[j("div",OLe,ie(y.$t("订单号"))+":",1),j("div",MLe,ie((Te=l.value)==null?void 0:Te.trade_no),1)]),(Fe=l.value)!=null&&Fe.discount_amount&&((Ye=l.value)==null?void 0:Ye.discount_amount)>0?(ce(),ze("div",zLe,[j("div",DLe,ie(y.$t("优惠金额")),1),j("div",LLe,ie(he(an)(l.value.discount_amount)),1)])):ut("",!0),(Se=l.value)!=null&&Se.surplus_amount&&((De=l.value)==null?void 0:De.surplus_amount)>0?(ce(),ze("div",FLe,[j("div",BLe,ie(y.$t("旧订阅折抵金额")),1),j("div",NLe,ie(he(an)(l.value.surplus_amount)),1)])):ut("",!0),(Ue=l.value)!=null&&Ue.refund_amount&&((Ae=l.value)==null?void 0:Ae.refund_amount)>0?(ce(),ze("div",HLe,[j("div",jLe,ie(y.$t("退款金额")),1),j("div",VLe,ie(he(an)(l.value.refund_amount)),1)])):ut("",!0),(Qe=l.value)!=null&&Qe.balance_amount&&((xt=l.value)==null?void 0:xt.balance_amount)>0?(ce(),ze("div",WLe,[j("div",ULe,ie(y.$t("余额支付 ")),1),j("div",qLe,ie(he(an)(l.value.balance_amount)),1)])):ut("",!0),((X=l.value)==null?void 0:X.status)===0&&b()>0?(ce(),ze("div",KLe,[j("div",GLe,ie(y.$t("支付手续费"))+":",1),j("div",YLe,ie(he(an)(b())),1)])):ut("",!0),j("div",XLe,[j("div",ZLe,ie(y.$t("创建时间"))+":",1),j("div",JLe,ie(he(jo)((pe=l.value)==null?void 0:pe.created_at)),1)])]}),_:1},8,["title"]),((E=l.value)==null?void 0:E.status)===0?(ce(),Ve(I,{key:1,title:y.$t("支付方式"),class:"mt-20","content-style":"padding:0"},{default:re(()=>[(ce(!0),ze(at,null,Nn(f.value,(Te,Fe)=>(ce(),ze("div",{key:Te.id,class:ar(["border-2 border-rounded-5 p-20 border-solid flex",p.value===Fe?"border-#0665d0":"border-transparent"]),onClick:Ye=>p.value=Fe},[j("div",e9e,ie(Te.name),1),j("div",t9e,[j("img",{class:"max-h-30",src:Te.icon},null,8,n9e)])],10,QLe))),128))]),_:1},8,["title"])):ut("",!0)]),((O=l.value)==null?void 0:O.status)===0?(ce(),ze("div",o9e,[j("div",r9e,[j("div",i9e,ie(y.$t("订单总额")),1),j("div",a9e,[j("div",s9e,ie((q=l.value)==null?void 0:q.plan.name),1),j("div",l9e,ie((ne=he(t).appConfig)==null?void 0:ne.currency_symbol)+ie(((ve=l.value)==null?void 0:ve.period)&&he(an)((J=l.value)==null?void 0:J.plan[l.value.period])),1)]),(be=l.value)!=null&&be.surplus_amount&&((H=l.value)==null?void 0:H.surplus_amount)>0?(ce(),ze("div",c9e,[j("div",u9e,ie(y.$t("折抵")),1),j("div",d9e," - "+ie((ge=he(t).appConfig)==null?void 0:ge.currency_symbol)+ie(he(an)((Ie=l.value)==null?void 0:Ie.surplus_amount)),1)])):ut("",!0),(Le=l.value)!=null&&Le.discount_amount&&((P=l.value)==null?void 0:P.discount_amount)>0?(ce(),ze("div",f9e,[j("div",h9e,ie(y.$t("折扣")),1),j("div",p9e," - "+ie((T=he(t).appConfig)==null?void 0:T.currency_symbol)+ie(he(an)((W=l.value)==null?void 0:W.discount_amount)),1)])):ut("",!0),(oe=l.value)!=null&&oe.refund_amount&&((G=l.value)==null?void 0:G.refund_amount)>0?(ce(),ze("div",m9e,[j("div",g9e,ie(y.$t("退款")),1),j("div",v9e," - "+ie((se=he(t).appConfig)==null?void 0:se.currency_symbol)+ie(he(an)((xe=l.value)==null?void 0:xe.refund_amount)),1)])):ut("",!0),(ye=l.value)!=null&&ye.balance_amount&&((Ce=l.value)==null?void 0:Ce.balance_amount)>0?(ce(),ze("div",b9e,[j("div",y9e,ie(y.$t("余额支付")),1),j("div",x9e," - "+ie((we=he(t).appConfig)==null?void 0:we.currency_symbol)+ie(he(an)((Ee=l.value)==null?void 0:Ee.balance_amount)),1)])):ut("",!0),b()>0?(ce(),ze("div",C9e,[j("div",w9e,ie(y.$t("支付手续费")),1),j("div",_9e," + "+ie((de=he(t).appConfig)==null?void 0:de.currency_symbol)+ie(he(an)(b())),1)])):ut("",!0),j("div",S9e,[j("div",k9e,ie(y.$t("总计")),1),j("div",P9e,ie((ee=he(t).appConfig)==null?void 0:ee.currency_symbol)+" "+ie(he(an)(g()+b()))+" "+ie((fe=he(t).appConfig)==null?void 0:fe.currency),1)]),te(Q,{type:"primary",class:"w-100% text-white","icon-placement":"left",strong:"",onClick:k[4]||(k[4]=Te=>m())},{icon:re(()=>[te(ue)]),default:re(()=>[Je(" "+ie(y.$t("结账")),1)]),_:1})])])):ut("",!0)]))]}),_:1})}}}),R9e=Object.freeze(Object.defineProperty({__proto__:null,default:T9e},Symbol.toStringTag,{value:"Module"})),$9e={class:"inline-block",viewBox:"0 0 50 50",width:"1em",height:"1em"},E9e=j("path",{fill:"currentColor",d:"M25 42c-9.4 0-17-7.6-17-17S15.6 8 25 8s17 7.6 17 17s-7.6 17-17 17m0-32c-8.3 0-15 6.7-15 15s6.7 15 15 15s15-6.7 15-15s-6.7-15-15-15"},null,-1),A9e=j("path",{fill:"currentColor",d:"m32.283 16.302l1.414 1.415l-15.98 15.98l-1.414-1.414z"},null,-1),I9e=j("path",{fill:"currentColor",d:"m17.717 16.302l15.98 15.98l-1.414 1.415l-15.98-15.98z"},null,-1),O9e=[E9e,A9e,I9e];function M9e(e,t){return ce(),ze("svg",$9e,[...O9e])}const QS={name:"ei-close-o",render:M9e},z9e={class:"inline-block",viewBox:"0 0 50 50",width:"1em",height:"1em"},D9e=j("path",{fill:"currentColor",d:"M25 42c-9.4 0-17-7.6-17-17S15.6 8 25 8s17 7.6 17 17s-7.6 17-17 17m0-32c-8.3 0-15 6.7-15 15s6.7 15 15 15s15-6.7 15-15s-6.7-15-15-15"},null,-1),L9e=j("path",{fill:"currentColor",d:"m23 32.4l-8.7-8.7l1.4-1.4l7.3 7.3l11.3-11.3l1.4 1.4z"},null,-1),F9e=[D9e,L9e];function B9e(e,t){return ce(),ze("svg",z9e,[...F9e])}const ek={name:"ei-check",render:B9e},N9e={class:"ml-auto mr-auto max-w-1200 w-100%"},H9e={class:"m-3 mb-4 mt-4 text-30 font-400"},j9e={class:"card-container m-t-10 md:m-t-40"},V9e=["onClick"],W9e={class:"vertical-bottom"},U9e={class:"text-30 font-600"},q9e={class:"p-l-5 text-16 text-gray"},K9e={key:0},G9e=["innerHTML"],Y9e=me({__name:"index",setup(e){const t=wn(),n=d=>sn.global.t(d),o=new Zu({html:!0}),r=d=>o.render(d),i=F(0),a=[{value:0,label:n("全部")},{value:1,label:n("按周期")},{value:2,label:n("按流量")}],s=F([]),l=F([]);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})});async function c(){const{data:d}=await SZ();d.forEach(f=>{const p=u(f);f.price=p.price,f.cycle=p.cycle}),l.value=d}cn(()=>{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=pW,h=g2,g=ek,b=QS,m=pr,x=$t,S=Wn,_=fo;return ce(),Ve(_,null,{default:re(()=>[j("div",N9e,[j("h2",H9e,ie(d.$t("选择最适合你的计划")),1),te(h,{value:i.value,"onUpdate:value":f[0]||(f[0]=w=>i.value=w),name:"plan_select",class:""},{default:re(()=>[(ce(),ze(at,null,Nn(a,w=>te(p,{key:w.value,value:w.value,label:w.label,style:{background:"--n-color"}},null,8,["value","label"])),64))]),_:1},8,["value"]),j("section",j9e,[(ce(!0),ze(at,null,Nn(s.value,w=>(ce(),ze("div",{class:"card-item min-w-300 cursor-pointer",key:w.id,onClick:C=>d.$router.push("/plan/"+w.id)},[te(S,{title:w.name,hoverable:"",class:"max-w-100% w-375"},{"header-extra":re(()=>{var C;return[j("div",W9e,[j("span",U9e,ie((C=he(t).appConfig)==null?void 0:C.currency_symbol)+" "+ie(w.price),1),j("span",q9e," /"+ie(w.cycle),1)])]}),action:re(()=>[te(x,{strong:"",secondary:"",type:"primary"},{default:re(()=>[Je(ie(d.$t("立即订阅")),1)]),_:1})]),default:re(()=>[he(Ex)(w.content)?(ce(),ze("div",K9e,[(ce(!0),ze(at,null,Nn(JSON.parse(w.content),(C,y)=>(ce(),ze("div",{key:y,class:ar(["vertical-center flex items-center",C.support?"":"opacity-30"])},[te(m,{size:"30",class:"flex items-center text-[--primary-color]"},{default:re(()=>[C.support?(ce(),Ve(g,{key:0})):(ce(),Ve(b,{key:1}))]),_:2},1024),j("div",null,ie(C.feature),1)],2))),128))])):(ce(),ze("div",{key:1,innerHTML:r(w.content||""),class:"markdown-body"},null,8,G9e))]),_:2},1032,["title"])],8,V9e))),128))])])]),_:1})}}}),X9e=Hu(Y9e,[["__scopeId","data-v-79fa0f66"]]),Z9e=Object.freeze(Object.defineProperty({__proto__:null,default:X9e},Symbol.toStringTag,{value:"Module"})),J9e={class:"inline-block",viewBox:"0 0 576 512",width:"1em",height:"1em"},Q9e=j("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),eFe=[Q9e];function tFe(e,t){return ce(),ze("svg",J9e,[...eFe])}const nFe={name:"fa6-solid-ticket",render:tFe},oFe={key:1,class:"flex flex-wrap"},rFe={class:"w-100% md:max-w-2/3"},iFe={key:0},aFe=["innerHTML"],sFe=["onClick"],lFe={class:"mt-20 w-full md:mt-0 md:max-w-1/3 sm:max-w-full md:pl-20"},cFe={class:"border-rounded-5 bg-#2f3135 p-20 color-white"},uFe={class:"flex items-center"},dFe=["placeholder"],fFe={class:"mt-0 border-rounded-5 bg-#2f3135 p-20 color-white md:mt-20"},hFe={class:"text-18 font-600"},pFe={class:"flex border-#646669 border-b-solid pb-16 pt-16"},mFe={class:"flex-[2]"},gFe={class:"flex-[1] text-right color-#f8f9fa"},vFe={key:0,class:"border-[#646669] border-b-solid pb-16 pt-16"},bFe={class:"color-#f8f9fa"},yFe={class:"flex pb-16 pt-16"},xFe={class:"flex-[2]"},CFe={class:"flex-[1] text-right color-#f8f9fa"},wFe={class:"pb-16 pt-16"},_Fe={class:"color-#f8f9fa"},SFe={class:"text-36 font-600"},kFe=me({__name:"detail",setup(e){const t=wn(),n=Ei(),o=Gi(),r=$=>sn.global.t($),i=new Zu({html:!0}),a=$=>i.render($),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=F(0),c=F([]);async function u(){const $=S.value;c.value=[];for(const I in $)I in s&&$[I]!==null&&c.value.push({name:s[I],key:I})}const d=F(""),f=F(!1),p=F();async function h(){f.value=!0;const{data:$}=await FZ(d.value,R.value);$&&(p.value=$),f.value=!1}function g(){if(!p.value||!S.value||fC(l.value))return 0;const{type:$,value:I}=p.value,A=c.value[l.value].key;return $===1?I:I*S.value[A]/100}const b=F(!1);async function m(){var I;const $=(I=C.value)==null?void 0:I.find(A=>A.status===0);if($){const A=$.trade_no;window.$dialog.confirm({title:r("注意"),type:"warning",content:r("你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?"),positiveText:r("确认取消"),negativeText:r("返回我的订单"),confirm(){Bu(A).then(({data:K})=>{K&&x()})},cancel(){Zt.push("/order")}});return}if(o.plan_id&&o.plan_id!=R.value&&(o.expired_at===null||o.expired_at>=Math.floor(Date.now()/1e3))){window.$dialog.confirm({title:r("注意"),type:"warning",content:r("请注意,变更订阅会导致当前订阅被覆盖。"),confirm(){x()}});return}x()}async function x(){var A;b.value=!0;const $=c.value[l.value].key,{data:I}=await kS(R.value,$,(A=p.value)==null?void 0:A.code);I&&(window.$message.success(r("订单提交成功,正在跳转支付")),setTimeout(()=>{Zt.push("/order/"+I)},500)),b.value=!1}const S=F(),_=F(!0);async function w(){_.value=!0;const{data:$}=await LZ(R.value);S.value=$,u(),_.value=!1}const C=F();async function y(){const{data:$}=await Sm();C.value=$}function k(){w(),y()}const R=F();return cn(()=>{R.value=n.params.plan_id,k()}),($,I)=>{const A=pl,K=Ki,B=ek,M=QS,D=pr,Y=Wn,Q=qi,ue=nFe,le=$t,N=JS,E=fo;return ce(),Ve(E,null,{default:re(()=>{var O,q,ne,ve,J,be,H,ge;return[_.value?(ce(),Ve(K,{key:0,vertical:"",class:"mt-20"},{default:re(()=>[te(A,{height:"20px",width:"33%"}),te(A,{height:"20px",width:"66%"}),te(A,{height:"20px"})]),_:1})):(ce(),ze("div",oFe,[j("div",rFe,[te(Y,{title:(O=S.value)==null?void 0:O.name,class:"m-auto max-w-100% border-rounded-5"},{default:re(()=>{var Ie,Le,P;return[he(Ex)(((Ie=S.value)==null?void 0:Ie.content)||"")?(ce(),ze("div",iFe,[(ce(!0),ze(at,null,Nn(JSON.parse(((Le=S.value)==null?void 0:Le.content)||""),(T,W)=>(ce(),ze("div",{key:W,class:ar(["vertical-center flex items-center",T.support?"":"opacity-30"])},[te(D,{size:"30",class:"flex items-center text-[--primary-color]"},{default:re(()=>[T.support?(ce(),Ve(B,{key:0})):(ce(),Ve(M,{key:1}))]),_:2},1024),j("div",null,ie(T.feature),1)],2))),128))])):(ce(),ze("div",{key:1,innerHTML:a(((P=S.value)==null?void 0:P.content)||""),class:"markdown-body"},null,8,aFe))]}),_:1},8,["title"]),te(Y,{title:$.$t("付款周期"),class:"mt-20 border-rounded-5",contentStyle:"padding:0"},{default:re(()=>[(ce(!0),ze(at,null,Nn(c.value,(Ie,Le)=>{var P,T;return ce(),ze("div",{key:Ie.key},[j("div",{class:ar(["flex justify-between border-2 border-rounded-5 border-solid p-20 text-16 cursor-pointer",Le===l.value?"border-#0665d0":"border-transparent"]),onClick:W=>l.value=Le},[j("div",null,ie(Ie.name),1),j("div",null,ie((P=he(t).appConfig)==null?void 0:P.currency_symbol)+" "+ie(he(an)((T=S.value)==null?void 0:T[c.value[Le].key])),1)],10,sFe),te(Q,{class:"m-0!"})])}),128))]),_:1},8,["title"])]),j("div",lFe,[j("div",cFe,[j("div",uFe,[Cn(j("input",{placeholder:r("有优惠券?"),"onUpdate:modelValue":I[0]||(I[0]=Ie=>d.value=Ie),class:"min-w-0 flex-[1] border-none bg-transparent color-white outline-none"},null,8,dFe),[[a5,d.value]]),te(le,{type:"primary","icon-placement":"left",loading:f.value,disabled:f.value,onClick:I[1]||(I[1]=Ie=>h())},{icon:re(()=>[te(ue)]),default:re(()=>[Je(" "+ie($.$t("验证")),1)]),_:1},8,["loading","disabled"])])]),j("div",fFe,[j("div",hFe,ie($.$t("订单总额")),1),j("div",pFe,[j("div",mFe,ie((q=S.value)==null?void 0:q.name),1),j("div",gFe,ie((ne=he(t).appConfig)==null?void 0:ne.currency_symbol)+" "+ie(he(an)((ve=S.value)==null?void 0:ve[c.value[l.value].key])),1)]),p.value?(ce(),ze("div",vFe,[j("div",bFe,ie($.$t("折扣")),1),j("div",yFe,[j("div",xFe,ie((J=p.value)==null?void 0:J.name),1),j("div",CFe,"- "+ie(he(an)(g())),1)])])):ut("",!0),j("div",wFe,[j("div",_Fe,ie($.$t("总计")),1),j("div",SFe,ie((be=he(t).appConfig)==null?void 0:be.currency_symbol)+" "+ie(he(an)(((H=S.value)==null?void 0:H[c.value[l.value].key])-g()))+" "+ie((ge=he(t).appConfig)==null?void 0:ge.currency),1)]),te(le,{type:"primary",class:"w-100% text-white","icon-placement":"left",strong:"",loading:b.value,disabled:b.value,onClick:I[2]||(I[2]=Ie=>m())},{icon:re(()=>[te(N)]),default:re(()=>[Je(" "+ie($.$t("下单")),1)]),_:1},8,["loading","disabled"])])])]))]}),_:1})}}}),PFe=Object.freeze(Object.defineProperty({__proto__:null,default:kFe},Symbol.toStringTag,{value:"Module"})),TFe={class:"inline-block",viewBox:"0 0 256 256",width:"1em",height:"1em"},RFe=j("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),$Fe=[RFe];function EFe(e,t){return ce(),ze("svg",TFe,[...$Fe])}const AFe={name:"ph-wallet-fill",render:EFe},IFe={class:"text-50 font-400"},OFe={class:"m-l-20 text-20 text-#6c757d"},MFe={class:"text-#6c757d"},zFe={class:"mt-10 max-w-500"},DFe={class:"mt-10 max-w-500"},LFe={class:"mt-10 max-w-500"},FFe={class:"mt-10 max-w-500"},BFe={class:"mb-5"},NFe={class:"mt-10 max-w-500"},HFe={class:"mb-5"},jFe={class:"m-0 pb-10 pt-10 text-20"},VFe={class:"mt-20"},WFe=["href"],UFe={class:"mt-20"},qFe={class:"m-0 pb-10 pt-10 text-20"},KFe={class:"mt-20"},GFe={class:"flex justify-end"},YFe=me({__name:"index",setup(e){const t=Gi(),n=wn(),o=S=>sn.global.t(S),r=F(""),i=F(""),a=F(""),s=F(!1);async function l(){if(s.value=!0,i.value!==a.value){window.$message.error(o("两次新密码输入不同"));return}const{data:S}=await IZ(r.value,i.value);S===!0&&window.$message.success(o("密码修改成功")),s.value=!1}const c=F(!1),u=F(!1);async function d(S){if(S==="expire"){const{data:_}=await t1({remind_expire:c.value?1:0});_===!0?window.$message.success(o("更新成功")):(window.$message.error(o("更新失败")),c.value=!c.value)}else if(S==="traffic"){const{data:_}=await t1({remind_traffic:u.value?1:0});_===!0?window.$message.success(o("更新成功")):(window.$message.error(o("更新失败")),u.value=!u.value)}}const f=F(),p=F(!1);async function h(){const{data:S}=await qZ();S&&(f.value=S)}function g(S){window.location.href=S}const b=F(!1);async function m(){const{data:S}=await OZ();S&&window.$message.success(o("重置成功"))}async function x(){t.getUserInfo(),c.value=!!t.remind_expire,u.value=!!t.remind_traffic}return cn(()=>{x()}),(S,_)=>{const w=AFe,C=Wn,y=_o,k=$t,R=wX,$=ul,I=qi,A=vX,K=Zr,B=fo;return ce(),Ve(B,null,{default:re(()=>{var M,D,Y,Q;return[te(C,{title:S.$t("我的钱包"),class:"border-rounded-5"},{"header-extra":re(()=>[te(w,{class:"text-40 color-gray"})]),default:re(()=>{var ue;return[j("div",null,[j("span",IFe,ie(he(an)(he(t).balance)),1),j("span",OFe,ie((ue=he(n).appConfig)==null?void 0:ue.currency),1)]),j("div",MFe,ie(S.$t("账户余额(仅消费)")),1)]}),_:1},8,["title"]),te(C,{title:S.$t("修改密码"),class:"mt-20 border-rounded-5"},{default:re(()=>[j("div",zFe,[j("label",null,ie(S.$t("旧密码")),1),te(y,{type:"password",value:r.value,"onUpdate:value":_[0]||(_[0]=ue=>r.value=ue),placeholder:S.$t("请输入旧密码"),maxlength:32},null,8,["value","placeholder"])]),j("div",DFe,[j("label",null,ie(S.$t("新密码")),1),te(y,{type:"password",value:i.value,"onUpdate:value":_[1]||(_[1]=ue=>i.value=ue),placeholder:S.$t("请输入新密码"),maxlength:32},null,8,["value","placeholder"])]),j("div",LFe,[j("label",null,ie(S.$t("新密码")),1),te(y,{type:"password",value:a.value,"onUpdate:value":_[2]||(_[2]=ue=>a.value=ue),placeholder:S.$t("请输入新密码"),maxlength:32},null,8,["value","placeholder"])]),te(k,{class:"mt-20",type:"primary",onClick:l,loading:s.value,disabled:s.value},{default:re(()=>[Je(ie(S.$t("保存")),1)]),_:1},8,["loading","disabled"])]),_:1},8,["title"]),te(C,{title:S.$t("通知"),class:"mt-20 border-rounded-5"},{default:re(()=>[j("div",FFe,[j("div",BFe,ie(S.$t("到期邮件提醒")),1),te(R,{value:c.value,"onUpdate:value":[_[3]||(_[3]=ue=>c.value=ue),_[4]||(_[4]=ue=>d("expire"))]},null,8,["value"])]),j("div",NFe,[j("div",HFe,ie(S.$t("流量邮件提醒")),1),te(R,{value:u.value,"onUpdate:value":[_[5]||(_[5]=ue=>u.value=ue),_[6]||(_[6]=ue=>d("traffic"))]},null,8,["value"])])]),_:1},8,["title"]),(D=(M=he(n))==null?void 0:M.appConfig)!=null&&D.is_telegram?(ce(),Ve(C,{key:0,title:S.$t("绑定Telegram"),class:"mt-20 border-rounded-5"},{"header-extra":re(()=>[te(k,{type:"primary",round:"",disabled:he(t).userInfo.telegram_id,onClick:_[7]||(_[7]=ue=>(p.value=!0,h(),he(t).getUserSubscribe()))},{default:re(()=>[Je(ie(he(t).userInfo.telegram_id?S.$t("已绑定"):S.$t("立即开始")),1)]),_:1},8,["disabled"])]),_:1},8,["title"])):ut("",!0),(Q=(Y=he(n))==null?void 0:Y.appConfig)!=null&&Q.telegram_discuss_link?(ce(),Ve(C,{key:1,title:S.$t("Telegram 讨论组"),class:"mt-20 border-rounded-5"},{"header-extra":re(()=>[te(k,{type:"primary",round:"",onClick:_[8]||(_[8]=ue=>{var le,N;return g((N=(le=he(n))==null?void 0:le.appConfig)==null?void 0:N.telegram_discuss_link)})},{default:re(()=>[Je(ie(S.$t("立即加入")),1)]),_:1})]),_:1},8,["title"])):ut("",!0),te(C,{title:S.$t("重置订阅信息"),class:"mt-20 border-rounded-5"},{default:re(()=>[te($,{type:"warning"},{default:re(()=>[Je(ie(S.$t("当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。")),1)]),_:1}),te(k,{type:"error",size:"small",class:"mt-10",onClick:_[9]||(_[9]=ue=>b.value=!0)},{default:re(()=>[Je(ie(S.$t("重置")),1)]),_:1})]),_:1},8,["title"]),te(K,{title:S.$t("绑定Telegram"),preset:"card",show:p.value,"onUpdate:show":_[12]||(_[12]=ue=>p.value=ue),class:"mx-10 max-w-100% w-600 md:mx-auto",footerStyle:"padding: 10px 16px",segmented:{content:!0,footer:!0}},{footer:re(()=>[j("div",GFe,[te(k,{type:"primary",onClick:_[11]||(_[11]=ue=>p.value=!1)},{default:re(()=>[Je(ie(S.$t("我知道了")),1)]),_:1})])]),default:re(()=>{var ue,le,N;return[f.value&&he(t).subscribe?(ce(),ze(at,{key:0},[j("div",null,[j("h2",jFe,ie(S.$t("第一步")),1),te(I,{class:"m-0!"}),j("div",VFe,[Je(ie(S.$t("打开Telegram搜索"))+" ",1),j("a",{href:"https://t.me/"+((ue=f.value)==null?void 0:ue.username)},"@"+ie((le=f.value)==null?void 0:le.username),9,WFe)])]),j("div",UFe,[j("h2",qFe,ie(S.$t("第二步")),1),te(I,{class:"m-0!"}),j("div",KFe,ie(S.$t("向机器人发送你的")),1),j("code",{class:"cursor-pointer",onClick:_[10]||(_[10]=E=>{var O;return he(da)("/bind "+((O=he(t).subscribe)==null?void 0:O.subscribe_url))})},"/bind "+ie((N=he(t).subscribe)==null?void 0:N.subscribe_url),1)])],64)):(ce(),Ve(A,{key:1,size:"large"}))]}),_:1},8,["title","show"]),te(K,{show:b.value,"onUpdate:show":_[13]||(_[13]=ue=>b.value=ue),preset:"dialog",title:S.$t("确定要重置订阅信息?"),content:S.$t("如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。"),"positive-text":S.$t("确认"),"negative-text":S.$t("取消"),onPositiveClick:m},null,8,["show","title","content","positive-text","negative-text"])]}),_:1})}}}),XFe=Object.freeze(Object.defineProperty({__proto__:null,default:YFe},Symbol.toStringTag,{value:"Module"})),ZFe={class:"flex justify-end"},JFe=me({__name:"index",setup(e){const t=p=>sn.global.t(p),n=[{label:t("低"),value:0},{label:t("中"),value:1},{label:t("高"),value:2}],o=[{title:t("主题"),key:"subject"},{title:t("工单级别"),key:"u",render(p){return n[p.level].label}},{title:t("工单状态"),key:"status",render(p){const h=v("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"]}),g=p.status===1?t("已关闭"):p.reply_status===0?t("已回复"):t("待回复");return v("div",{class:"flex items-center"},[h,g])}},{title:t("创建时间"),key:"created_at",render(p){return jo(p.created_at)}},{title:t("最后回复时间"),key:"updated_at",render(p){return jo(p.updated_at)}},{title:t("操作"),key:"actions",fixed:"right",render(p){const h=v($t,{text:!0,type:"primary",onClick:()=>Zt.push(`/ticket/${p.id}`)},{default:()=>t("查看")}),g=v($t,{text:!0,type:"primary",disabled:p.status===1,onClick:()=>c(p.id)},{default:()=>t("关闭")}),b=v(qi,{vertical:!0});return v("div",[h,b,g])}}],r=F(!1),i=F(""),a=F(),s=F("");async function l(){const{data:p}=await NZ(i.value,a.value,s.value);p===!0&&(window.$message.success(t("创建成功")),f(),r.value=!1)}async function c(p){const{data:h}=await HZ(p);h&&(window.$message.success(t("关闭成功")),f())}const u=F([]);async function d(){const{data:p}=await BZ();u.value=p}function f(){d()}return cn(()=>{f()}),(p,h)=>{const g=_o,b=Au,m=Ki,x=Wn,S=Zr,_=zu,w=fo;return ce(),Ve(w,null,{default:re(()=>[te(S,{show:r.value,"onUpdate:show":h[6]||(h[6]=C=>r.value=C)},{default:re(()=>[te(x,{title:p.$t("新的工单"),class:"mx-10 max-w-100% w-600 md:mx-auto",segmented:{content:!0,footer:!0},closable:"",onClose:h[5]||(h[5]=C=>r.value=!1)},{footer:re(()=>[j("div",ZFe,[te(m,null,{default:re(()=>[te(he($t),{onClick:h[3]||(h[3]=C=>r.value=!1)},{default:re(()=>[Je(ie(p.$t("取消")),1)]),_:1}),te(he($t),{type:"primary",onClick:h[4]||(h[4]=C=>l())},{default:re(()=>[Je(ie(p.$t("确认")),1)]),_:1})]),_:1})])]),default:re(()=>[j("div",null,[j("label",null,ie(p.$t("主题")),1),te(g,{value:i.value,"onUpdate:value":h[0]||(h[0]=C=>i.value=C),class:"mt-5",placeholder:p.$t("请输入工单主题")},null,8,["value","placeholder"])]),j("div",null,[j("label",null,ie(p.$t("工单级别")),1),te(b,{value:a.value,"onUpdate:value":h[1]||(h[1]=C=>a.value=C),options:n,placeholder:p.$t("请选项工单等级"),class:"mt-5"},null,8,["value","placeholder"])]),j("div",null,[j("label",null,ie(p.$t("消息")),1),te(g,{value:s.value,"onUpdate:value":h[2]||(h[2]=C=>s.value=C),type:"textarea",placeholder:p.$t("请描述你遇到的问题"),round:"",class:"mt-5"},null,8,["value","placeholder"])])]),_:1},8,["title"])]),_:1},8,["show"]),te(x,{class:"border-rounded-5",title:p.$t("工单历史")},{"header-extra":re(()=>[te(he($t),{type:"primary",round:"",onClick:h[7]||(h[7]=C=>r.value=!0)},{default:re(()=>[Je(ie(p.$t("新的工单")),1)]),_:1})]),default:re(()=>[te(_,{columns:o,data:u.value,"scroll-x":800},null,8,["data"])]),_:1},8,["title"])]),_:1})}}}),QFe=Object.freeze(Object.defineProperty({__proto__:null,default:JFe},Symbol.toStringTag,{value:"Module"})),e7e={class:"relative",style:{height:"calc(100% - 70px)"}},t7e={class:"mb-8 mt-8 text-14 text-gray"},n7e={class:"mb-8 inline-block border-rounded-5 bg-#f8f9fa pb-8 pl-16 pr-16 pt-8"},o7e=me({__name:"detail",setup(e){const t=Ei(),n=p=>sn.global.t(p),o=F("");async function r(){const{data:p}=await VZ(i.value,o.value);p===!0&&(window.$message.success(n("回复成功")),o.value="",f())}const i=F(),a=F();async function s(){const{data:p}=await jZ(i.value);p&&(a.value=p)}const l=F(null),c=F(null),u=async()=>{const p=l.value,h=c.value;p&&h&&p.scrollBy({top:h.scrollHeight,behavior:"auto"})},d=F();async function f(){await s(),await jt(),u(),d.value=setInterval(s,2e3)}return cn(()=>{i.value=t.params.ticket_id,f()}),(p,h)=>{const g=lX,b=_o,m=$t,x=$u,S=Wn,_=fo;return ce(),Ve(_,null,{default:re(()=>{var w;return[te(S,{title:(w=a.value)==null?void 0:w.subject,class:"h-full overflow-hidden"},{default:re(()=>[j("div",e7e,[te(g,{class:"absolute right-0 h-full",ref_key:"scrollbarRef",ref:l},{default:re(()=>{var C;return[j("div",{ref_key:"scrollContainerRef",ref:c},[(ce(!0),ze(at,null,Nn((C=a.value)==null?void 0:C.message,y=>(ce(),ze("div",{key:y.id,class:ar([y.is_me?"text-right":"text-left"])},[j("div",t7e,ie(he(jo)(y.created_at)),1),j("div",n7e,ie(y.message),1)],2))),128))],512)]}),_:1},512)]),te(x,{size:"large",class:"mt-30"},{default:re(()=>[te(b,{type:"text",size:"large",placeholder:p.$t("输入内容回复工单"),autofocus:!0,value:o.value,"onUpdate:value":h[0]||(h[0]=C=>o.value=C),onKeyup:h[1]||(h[1]=ya(C=>r(),["enter"]))},null,8,["placeholder","value"]),te(m,{type:"primary",size:"large",onClick:h[2]||(h[2]=C=>r())},{default:re(()=>[Je(ie(p.$t("回复")),1)]),_:1})]),_:1})]),_:1},8,["title"])]}),_:1})}}}),r7e=Object.freeze(Object.defineProperty({__proto__:null,default:o7e},Symbol.toStringTag,{value:"Module"})),i7e=me({__name:"index",setup(e){const t=i=>sn.global.t(i),n=[{title:t("记录时间"),key:"record_at",render(i){return xp(i.record_at)}},{title:t("实际上行"),key:"u",render(i){return xs(i.u)}},{title:t("实际下行"),key:"d",render(i){return xs(i.d)}},{title:t("扣费倍率"),key:"server_rate",render(i){return v(yi,{size:"small",round:!0},{default:()=>i.server_rate+" x"})}},{title(){const i=v(Ou,{placement:"bottom",trigger:"hover"},{trigger:()=>v(Ys("mdi-help-circle-outline",{size:16})),default:()=>t("公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量")});return v("div",{class:"flex items-center"},[t("总计"),i])},key:"total",fixed:"right",render(i){return xs((i.d+i.u)*parseFloat(i.server_rate))}}],o=F([]);async function r(){const{data:i}=await MZ();o.value=i}return cn(()=>{r()}),(i,a)=>{const s=ul,l=zu,c=Wn,u=fo;return ce(),Ve(u,null,{default:re(()=>[te(c,{class:"border-rounded-5"},{default:re(()=>[te(s,{type:"info",bordered:!1,class:"mb-20"},{default:re(()=>[Je(ie(i.$t("流量明细仅保留近月数据以供查询。")),1)]),_:1}),te(l,{columns:n,data:o.value,"scroll-x":600},null,8,["data"])]),_:1})]),_:1})}}}),a7e=Object.freeze(Object.defineProperty({__proto__:null,default:i7e},Symbol.toStringTag,{value:"Module"})),s7e={name:"NOTFOUND"},l7e={"h-full":"",flex:""};function c7e(e,t,n,o,r,i){const a=$t,s=iX;return ce(),ze("div",l7e,[te(s,{"m-auto":"",status:"404",title:"404 Not Found",description:""},{footer:re(()=>[te(a,null,{default:re(()=>[Je("Find some fun")]),_:1})]),_:1})])}const u7e=Hu(s7e,[["render",c7e]]),d7e=Object.freeze(Object.defineProperty({__proto__:null,default:u7e},Symbol.toStringTag,{value:"Module"})),f7e={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},h7e=j("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[j("path",{d:"M2 12c0 5.523 4.477 10 10 10s10-4.477 10-10S17.523 2 12 2S2 6.477 2 12"}),j("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),p7e=[h7e];function m7e(e,t){return ce(),ze("svg",f7e,[...p7e])}const zm={name:"iconoir-language",render:m7e},g7e={class:"inline-block",viewBox:"0 0 32 32",width:"1em",height:"1em"},v7e=j("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),b7e=j("path",{fill:"currentColor",d:"M14.59 20.59L18.17 17H4v-2h14.17l-3.58-3.59L16 10l6 6l-6 6z"},null,-1),y7e=[v7e,b7e];function x7e(e,t){return ce(),ze("svg",g7e,[...y7e])}const C7e={name:"carbon-login",render:x7e},w7e=e=>wt({url:"/passport/auth/login",method:"post",data:e}),_7e=e=>wt.get("/passport/auth/token2Login?verify="+encodeURIComponent(e.verify)+"&redirect="+encodeURIComponent(e.redirect)),S7e=e=>wt({url:"/passport/auth/register",method:"post",data:e});function tk(){return wt.get("/guest/comm/config")}function nk(e,t){return wt.post("/passport/comm/sendEmailVerify",{email:e,recaptcha_data:t})}function k7e(e,t,n){return wt.post("/passport/auth/forget",{email:e,password:t,email_code:n})}const P7e={class:"p-24"},T7e={key:0,class:"text-center"},R7e=["src"],$7e={key:1,class:"m-1 text-center text-36 font-normal",color:"#343a40"},E7e={"text-muted":"","mb-3":"","text-center":"","text-14":"","font-400":"",color:"#6c757d"},A7e={"mt-20":"","w-full":""},I7e={"mt-20":"","w-full":""},O7e={"mt-20":"","w-full":""},M7e={class:"flex justify-between bg-[--n-color-embedded] p-x-24 p-y-16 text-#6c757d"},z7e=me({__name:"login",setup(e){const t=wn(),n=ou(),o=Ei(),r=c=>sn.global.t(c),i=F({email:"",password:""});a();function a(){const c=Ai.get("loginInfo");c.value&&(i.value.email=c.value.email||"",i.value.password=c.value.password||"")}const s=F(!1);async function l(){var f;const{email:c,password:u}=i.value;if(!c||!u){window.$message.warning(r("请输入用户名和密码"));return}s.value=!0;const{data:d}=await w7e({email:c,password:u.toString()});s.value=!1,d!=null&&d.auth_data&&(window.$message.success(r("登录成功")),e1(d==null?void 0:d.auth_data),n.push(((f=o.query.redirect)==null?void 0:f.toString())??"/dashboard"))}return Ft(async()=>{const c=o.query.verify,u=o.query.redirect;if(c&&u){const{data:d}=await _7e({verify:c.toString(),redirect:u.toString()});d!=null&&d.auth_data&&(window.$message.success(r("登录成功")),e1(d==null?void 0:d.auth_data),n.push(u.toString()))}}),(c,u)=>{const d=_o,f=C7e,p=$t,h=Oa("router-link"),g=qi,b=zm,m=fl,x=Wn;return ce(),ze("div",{"wh-full":"",flex:"","items-center":"","justify-center":"",style:Ho(he(t).background_url&&`background:url(${he(t).background_url}) no-repeat center center / cover;`)},[te(x,{class:"m-auto max-w-450 rounded-5 bg-[--n-color] shadow-black","content-style":"padding: 0;"},{default:re(()=>[j("div",P7e,[he(t).logo?(ce(),ze("div",T7e,[j("img",{src:he(t).logo,class:"mb-1em max-w-100%"},null,8,R7e)])):(ce(),ze("h1",$7e,ie(he(t).title),1)),j("h5",E7e,ie(he(t).description||" "),1),j("div",A7e,[te(d,{value:i.value.email,"onUpdate:value":u[0]||(u[0]=S=>i.value.email=S),autofocus:"",placeholder:c.$t("邮箱"),maxlength:40},null,8,["value","placeholder"])]),j("div",I7e,[te(d,{value:i.value.password,"onUpdate:value":u[1]||(u[1]=S=>i.value.password=S),class:"",type:"password","show-password-on":"click",placeholder:c.$t("密码"),maxlength:40,onKeydown:ya(l,["enter"])},null,8,["value","placeholder"])]),j("div",O7e,[te(p,{"h-36":"","w-full":"","rounded-5":"","text-16":"",type:"primary","icon-placement":"left",onClick:l,loading:s.value,disabled:s.value},{icon:re(()=>[te(f)]),default:re(()=>[Je(" "+ie(c.$t("登入")),1)]),_:1},8,["loading","disabled"])])]),j("div",M7e,[j("div",null,[te(h,{to:"/register",class:"text-#6c757d"},{default:re(()=>[Je(ie(c.$t("注册")),1)]),_:1}),te(g,{vertical:""}),te(h,{to:"/forgetpassword",class:"text-#6c757d"},{default:re(()=>[Je(ie(c.$t("忘记密码")),1)]),_:1})]),j("div",null,[te(m,{value:he(t).lang,"onUpdate:value":u[2]||(u[2]=S=>he(t).lang=S),options:Object.entries(he(xi)).map(([S,_])=>({label:_,value:S})),trigger:"click","on-update:value":he(t).switchLang},{default:re(()=>[te(p,{text:"","icon-placement":"left"},{icon:re(()=>[te(b)]),default:re(()=>[Je(" "+ie(he(xi)[he(t).lang]),1)]),_:1})]),_:1},8,["value","options","on-update:value"])])])]),_:1})],4)}}}),D7e=Object.freeze(Object.defineProperty({__proto__:null,default:z7e},Symbol.toStringTag,{value:"Module"})),L7e={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},F7e=j("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),B7e=[F7e];function N7e(e,t){return ce(),ze("svg",L7e,[...B7e])}const H7e={name:"mdi-emoticon-kiss-outline",render:N7e},ok=me({__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=F(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 Ft(()=>{window.grecaptcha==null?new Promise((s,l)=>{let c,u=!1;window.recaptchaReady=function(){u||(u=!0,clearTimeout(c),s())};const d="recaptcha-script",f=g=>()=>{var b;u||(u=!0,clearTimeout(c),(b=document.getElementById(d))==null||b.remove(),l(g))};o.loadingTimeout>0&&(c=setTimeout(f("timeout"),o.loadingTimeout));const p=window.document,h=p.createElement("script");h.id=d,h.onerror=f("error"),h.onabort=f("aborted"),h.setAttribute("src",`https://www.recaptcha.net/recaptcha/api.js?onload=recaptchaReady&render=explicit&hl=${o.hl}&_=${+new Date}`),p.head.appendChild(h)}).then(()=>{a()}).catch(s=>{n("error",s)}):a()}),(s,l)=>(ce(),ze("div",{ref_key:"recaptchaDiv",ref:r},null,512))}}),j7e={class:"p-24"},V7e={key:0,class:"text-center"},W7e=["src"],U7e={key:1,class:"m-1 text-center text-36 font-normal",color:"#343a40"},q7e={"text-muted":"","mb-3":"","text-center":"","text-14":"","font-400":"",color:"#6c757d"},K7e={"mt-20":"","w-full":""},G7e={key:2,"mt-20":"","w-full":""},Y7e={"mt-20":"","w-full":""},X7e={"mt-20":"","w-full":""},Z7e={"mt-20":"","w-full":""},J7e={key:3,"mt-20":"","w-full":""},Q7e=["innerHTML"],eBe={"mt-20":"","w-full":""},tBe={class:"flex justify-between bg-[--n-color-embedded] p-x-24 p-y-16 text-#6c757d"},nBe=me({__name:"register",setup(e){const t=Ei(),n=wn(),o=ou(),r=y=>sn.global.t(y),i=F({email:"",password:"",confirm_password:"",invite_code:"",lock_invite_code:!1,suffix:"",email_code:""}),a=F(!0),s=L(()=>{var k;const y=(k=w.value)==null?void 0:k.tos_url;return"
"+sn.global.tc('我已阅读并同意 服务条款',{url:y})+"
"}),l=F(),c=F(),u=F(!1),d=F();function f(y){l.value=y,setTimeout(()=>{u.value=!1,c.value&&c.value.reset,d.value==="register"?(_(),d.value=""):d.value==="sendEmailVerify"&&(x(),d.value="")},500)}function p(){c.value&&c.value.reset()}function h(){c.value&&c.value.reset()}function g(){c.value&&c.value.reset&&c.value.reset()}const b=F(!1),m=F(0);async function x(){var R,$;if(i.value.email===""){window.$message.error(r("请输入邮箱地址"));return}if(b.value=!0,m.value>0){window.$message.warning(sn.global.tc("{second}秒后可重新发送",{second:m.value}));return}if((R=w.value)!=null&&R.is_recaptcha&&(($=w.value)!=null&&$.recaptcha_site_key)&&!l.value){u.value=!0,b.value=!1,d.value="sendEmailVerify";return}const y=i.value.suffix?`${i.value.email}${i.value.suffix}`:i.value.email,{data:k}=await nk(y,l.value);if(k===!0){window.$message.success(r("发送成功")),m.value=60;const I=setInterval(()=>{m.value--,m.value===0&&clearInterval(I)},1e3);l.value=""}b.value=!1}const S=F(!1);async function _(){var K,B;if(i.value.email===""){window.$message.error(r("请输入邮箱地址"));return}const{password:y,confirm_password:k,invite_code:R,email_code:$}=i.value,I=i.value.suffix?`${i.value.email}${i.value.suffix}`:i.value.email;if(!I||!y){window.$message.warning(r("请输入账号密码"));return}if(y!==k){window.$message.warning(r("请确保两次密码输入一致"));return}if((K=w.value)!=null&&K.is_recaptcha&&((B=w.value)!=null&&B.recaptcha_site_key)&&!l.value){l.value||(u.value=!0),d.value="register";return}S.value=!0;const{data:A}=await S7e({email:I,password:y.toString(),invite_code:R,email_code:$,recaptcha_data:l.value});S.value=!1,A.auth_data&&(window.$message.success(r("注册成功")),AR(A.auth_data),o.push("/"))}const w=F();async function C(){var k,R;const{data:y}=await tk();y&&(w.value=y,Dv(y.email_whitelist_suffix)&&(i.value.suffix=(k=y.email_whitelist_suffix)!=null&&k[0]?"@"+((R=y.email_whitelist_suffix)==null?void 0:R[0]):""),y.tos_url&&(a.value=!1))}return cn(()=>{t.query.code&&(i.value.lock_invite_code=!0,i.value.invite_code=t.query.code),C()}),(y,k)=>{const R=Zr,$=_o,I=Au,A=$u,K=$t,B=dl,M=H7e,D=Oa("router-link"),Y=zm,Q=fl,ue=Wn;return ce(),ze("div",{"wh-full":"",flex:"","items-center":"","justify-center":"",style:Ho(he(n).background_url&&`background:url(${he(n).background_url}) no-repeat center center / cover;`)},[te(R,{show:u.value,"onUpdate:show":k[0]||(k[0]=le=>u.value=le)},{default:re(()=>{var le,N,E;return[(le=w.value)!=null&&le.is_recaptcha&&((N=w.value)!=null&&N.recaptcha_site_key)?Cn((ce(),Ve(he(ok),{key:0,sitekey:(E=w.value)==null?void 0:E.recaptcha_site_key,size:"normal",theme:"light","loading-timeout":3e4,onVerify:f,onExpire:p,onFail:h,onError:g,ref_key:"vueRecaptchaRef",ref:c},null,8,["sitekey"])),[[Jn,u.value]]):ut("",!0)]}),_:1},8,["show"]),te(ue,{class:"m-auto max-w-450 rounded-5 bg-[--n-color] shadow-black","content-style":"padding: 0;"},{default:re(()=>{var le,N,E;return[j("div",j7e,[he(n).logo?(ce(),ze("div",V7e,[j("img",{src:he(n).logo,class:"mb-1em max-w-100%"},null,8,W7e)])):(ce(),ze("h1",U7e,ie(he(n).title),1)),j("h5",q7e,ie(he(n).description||" "),1),j("div",K7e,[te(A,{class:"flex"},{default:re(()=>{var O,q,ne;return[te($,{value:i.value.email,"onUpdate:value":k[1]||(k[1]=ve=>i.value.email=ve),autofocus:"",class:"flex-[2] pl-5",placeholder:y.$t("邮箱"),maxlength:80},null,8,["value","placeholder"]),he(Dv)((O=w.value)==null?void 0:O.email_whitelist_suffix)?(ce(),Ve(I,{key:0,value:i.value.suffix,"onUpdate:value":k[2]||(k[2]=ve=>i.value.suffix=ve),options:((ne=(q=w.value)==null?void 0:q.email_whitelist_suffix)==null?void 0:ne.map(ve=>({value:`@${ve}`,label:`@${ve}`})))||[],class:"flex-[1]","consistent-menu-width":!1},null,8,["value","options"])):ut("",!0)]}),_:1})]),(le=w.value)!=null&&le.is_email_verify?(ce(),ze("div",G7e,[te(A,{class:"flex"},{default:re(()=>[te($,{value:i.value.email_code,"onUpdate:value":k[3]||(k[3]=O=>i.value.email_code=O),placeholder:y.$t("邮箱验证码"),class:"pl-5"},null,8,["value","placeholder"]),te(K,{type:"primary",onClick:k[4]||(k[4]=O=>x()),loading:b.value,disabled:b.value||m.value>0},{default:re(()=>[Je(ie(m.value||y.$t("发送")),1)]),_:1},8,["loading","disabled"])]),_:1})])):ut("",!0),j("div",Y7e,[te($,{value:i.value.password,"onUpdate:value":k[5]||(k[5]=O=>i.value.password=O),class:"pl-5",type:"password","show-password-on":"click",placeholder:y.$t("密码"),maxlength:40,onKeydown:ya(_,["enter"])},null,8,["value","placeholder"])]),j("div",X7e,[te($,{value:i.value.confirm_password,"onUpdate:value":k[6]||(k[6]=O=>i.value.confirm_password=O),class:"pl-5",type:"password","show-password-on":"click",placeholder:y.$t("再次输入密码"),maxlength:40,onKeydown:ya(_,["enter"])},null,8,["value","placeholder"])]),j("div",Z7e,[te($,{value:i.value.invite_code,"onUpdate:value":k[7]||(k[7]=O=>i.value.invite_code=O),class:"pl-5",placeholder:[y.$t("邀请码"),(N=w.value)!=null&&N.is_invite_force?`(${y.$t("必填")})`:`(${y.$t("选填")})`],maxlength:20,disabled:i.value.lock_invite_code},null,8,["value","placeholder","disabled"])]),(E=w.value)!=null&&E.tos_url?(ce(),ze("div",J7e,[te(B,{checked:a.value,"onUpdate:checked":k[8]||(k[8]=O=>a.value=O),class:"text-bold text-16"},{default:re(()=>[j("div",{innerHTML:s.value},null,8,Q7e)]),_:1},8,["checked"])])):ut("",!0),j("div",eBe,[te(K,{"h-36":"","w-full":"","rounded-5":"","text-16":"",type:"primary",onClick:_,"icon-placement":"left",loading:S.value,disabled:S.value||!a.value},{icon:re(()=>[te(M)]),default:re(()=>[Je(" "+ie(y.$t("注册")),1)]),_:1},8,["loading","disabled"])])]),j("div",tBe,[j("div",null,[te(D,{to:"/login",class:"text-#6c757d"},{default:re(()=>[Je(ie(y.$t("返回登入")),1)]),_:1})]),j("div",null,[te(Q,{value:he(n).lang,"onUpdate:value":k[9]||(k[9]=O=>he(n).lang=O),options:Object.entries(he(xi)).map(([O,q])=>({label:q,value:O})),trigger:"click","on-update:value":he(n).switchLang},{default:re(()=>[te(K,{text:"","icon-placement":"left"},{icon:re(()=>[te(Y)]),default:re(()=>[Je(" "+ie(he(xi)[he(n).lang]),1)]),_:1})]),_:1},8,["value","options","on-update:value"])])])]}),_:1})],4)}}}),oBe=Object.freeze(Object.defineProperty({__proto__:null,default:nBe},Symbol.toStringTag,{value:"Module"})),rBe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},iBe=j("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.94z"},null,-1),aBe=[iBe];function sBe(e,t){return ce(),ze("svg",rBe,[...aBe])}const lBe={name:"fluent-key-reset24-regular",render:sBe},cBe={class:"p-24"},uBe={key:0,class:"text-center"},dBe=["src"],fBe={key:1,class:"m-1 text-center text-36 font-normal",color:"#343a40"},hBe={"text-muted":"","mb-3":"","text-center":"","text-14":"","font-400":"",color:"#6c757d"},pBe={"mt-20":"","w-full":""},mBe={"mt-20":"","w-full":""},gBe={"mt-20":"","w-full":""},vBe={"mt-20":"","w-full":""},bBe={"mt-20":"","w-full":""},yBe={class:"flex justify-between bg-[--n-color-embedded] p-x-24 p-y-16 text-#6c757d"},xBe=me({__name:"forgetpassword",setup(e){const t=wn(),n=ou(),o=_=>sn.global.t(_),r=F({email:"",email_code:"",password:"",confirm_password:"",invite_code:"",suffix:""}),i=F(null),a=F(),s=F(!1),l=F();function c(_){i.value=_,setTimeout(()=>{s.value=!1,a.value&&a.value.reset(),l.value==="sendEmailVerify"&&(g(),l.value="")},500)}function u(){a.value.reset()}function d(){a.value.reset()}function f(){a.value.reset()}const p=F(!1),h=F(0);async function g(){var C,y;if(r.value.email===""){window.$message.error(o("请输入邮箱地址"));return}if(p.value=!0,h.value>0){window.$message.warning(sn.global.tc("{second}秒后可重新发送",{second:h.value}));return}if((C=x.value)!=null&&C.is_recaptcha&&((y=x.value)!=null&&y.is_recaptcha)&&!i.value){s.value=!0,p.value=!1,l.value="sendEmailVerify";return}const _=r.value.suffix?`${r.value.email}${r.value.suffix}`:r.value.email,{data:w}=await nk(_,i.value);if(w===!0){window.$message.success(o("发送成功")),h.value=60;const k=setInterval(()=>{h.value--,h.value===0&&clearInterval(k)},1e3);i.value=""}p.value=!1}const b=F(!1);async function m(){if(r.value.email===""){window.$message.error(o("请输入邮箱地址"));return}const{email:_,password:w,confirm_password:C,email_code:y}=r.value;if(!_||!w){window.$message.warning(o("请输入账号密码"));return}if(w!==C){window.$message.warning(o("请确保两次密码输入一致"));return}b.value=!0;const{data:k}=await k7e(_,w.toString(),y);b.value=!1,k&&(window.$message.success(o("重置密码成功,正在返回登录")),setTimeout(()=>{n.push("/login")},500))}const x=F();async function S(){const{data:_}=await tk();_&&(x.value=_)}return cn(()=>{S()}),(_,w)=>{const C=Zr,y=_o,k=$u,R=$t,$=lBe,I=Oa("router-link"),A=zm,K=fl,B=Wn;return ce(),ze("div",{"wh-full":"",flex:"","items-center":"","justify-center":"",style:Ho(he(t).background_url&&`background:url(${he(t).background_url}) no-repeat center center / cover;`)},[te(C,{show:s.value,"onUpdate:show":w[0]||(w[0]=M=>s.value=M)},{default:re(()=>{var M,D,Y;return[(M=x.value)!=null&&M.is_recaptcha&&((D=x.value)!=null&&D.recaptcha_site_key)?Cn((ce(),Ve(he(ok),{key:0,sitekey:(Y=x.value)==null?void 0:Y.recaptcha_site_key,size:"normal",theme:"light","loading-timeout":500,onVerify:c,onExpire:u,onFail:d,onError:f,ref_key:"vueRecaptchaRef",ref:a},null,8,["sitekey"])),[[Jn,s.value]]):ut("",!0)]}),_:1},8,["show"]),te(B,{class:"m-auto max-w-450 rounded-5 bg-[--n-color] shadow-black","content-style":"padding: 0;"},{default:re(()=>[j("div",cBe,[he(t).logo?(ce(),ze("div",uBe,[j("img",{src:he(t).logo,class:"mb-1em max-w-100%"},null,8,dBe)])):(ce(),ze("h1",fBe,ie(he(t).title),1)),j("h5",hBe,ie(he(t).description||" "),1),j("div",pBe,[te(k,{class:"flex"},{default:re(()=>[te(y,{value:r.value.email,"onUpdate:value":w[1]||(w[1]=M=>r.value.email=M),autofocus:"",class:"flex-[2] pl-5",placeholder:_.$t("邮箱"),maxlength:40},null,8,["value","placeholder"])]),_:1})]),j("div",mBe,[te(k,{class:"flex"},{default:re(()=>[te(y,{placeholder:_.$t("邮箱验证码"),value:r.value.email_code,"onUpdate:value":w[2]||(w[2]=M=>r.value.email_code=M),class:"pl-5"},null,8,["placeholder","value"]),te(R,{type:"primary",onClick:w[3]||(w[3]=M=>g()),loading:p.value,disabled:p.value||h.value>0},{default:re(()=>[Je(ie(h.value||_.$t("发送")),1)]),_:1},8,["loading","disabled"])]),_:1})]),j("div",gBe,[te(y,{value:r.value.password,"onUpdate:value":w[4]||(w[4]=M=>r.value.password=M),class:"pl-5",type:"password","show-password-on":"click",placeholder:_.$t("密码"),maxlength:40},null,8,["value","placeholder"])]),j("div",vBe,[te(y,{value:r.value.confirm_password,"onUpdate:value":w[5]||(w[5]=M=>r.value.confirm_password=M),class:"pl-5",type:"password","show-password-on":"click",placeholder:_.$t("再次输入密码"),maxlength:40,onKeydown:w[6]||(w[6]=ya(M=>m(),["enter"]))},null,8,["value","placeholder"])]),j("div",bBe,[te(R,{"h-36":"","w-full":"","rounded-5":"","text-16":"",type:"primary","icon-placement":"left",onClick:w[7]||(w[7]=M=>m()),loading:b.value,disabled:b.value},{icon:re(()=>[te($)]),default:re(()=>[Je(" "+ie(_.$t("重置密码")),1)]),_:1},8,["loading","disabled"])])]),j("div",yBe,[j("div",null,[te(I,{to:"/login",class:"text-#6c757d"},{default:re(()=>[Je(ie(_.$t("返回登录")),1)]),_:1})]),j("div",null,[te(K,{value:he(t).lang,"onUpdate:value":w[8]||(w[8]=M=>he(t).lang=M),options:Object.entries(he(xi)).map(([M,D])=>({label:D,value:M})),trigger:"click","on-update:value":he(t).switchLang},{default:re(()=>[te(R,{text:"","icon-placement":"left"},{icon:re(()=>[te(A)]),default:re(()=>[Je(" "+ie(he(xi)[he(t).lang]),1)]),_:1})]),_:1},8,["value","options","on-update:value"])])])]),_:1})],4)}}}),CBe=Object.freeze(Object.defineProperty({__proto__:null,default:xBe},Symbol.toStringTag,{value:"Module"})),wBe={请求失败:"Request failed",月付:"Monthly",季付:"Quarterly",半年付:"Semi-Annually",年付:"Annually",两年付:"Biennially",三年付:"Triennially",一次性:"One Time",重置流量包:"Data Reset Package",待支付:"Pending Payment",开通中:"Pending Active",已取消:"Canceled",已完成:"Completed",已折抵:"Converted",待确认:"Pending",发放中:"Confirming",已发放:"Completed",无效:"Invalid",个人中心:"User Center",登出:"Logout",搜索:"Search",仪表盘:"Dashboard",订阅:"Subscription",我的订阅:"My Subscription",购买订阅:"Purchase Subscription",财务:"Billing",我的订单:"My Orders",我的邀请:"My Invitation",用户:"Account",我的工单:"My Tickets",流量明细:"Transfer Data Details",使用文档:"Knowledge Base",绑定Telegram获取更多服务:"Not link to Telegram yet",点击这里进行绑定:"Please click here to link to Telegram",公告:"Announcements",总览:"Overview",该订阅长期有效:"The subscription is valid for an unlimited time",已过期:"Expired","已用 {used} / 总计 {total}":"{used} Used / Total {total}",查看订阅:"View Subscription",邮箱:"Email",邮箱验证码:"Email verification code",发送:"Send",重置密码:"Reset Password",返回登入:"Back to Login",邀请码:"Invitation Code",复制链接:"Copy Link",完成时间:"Complete Time",佣金:"Commission",已注册用户数:"Registered users",佣金比例:"Commission rate",确认中的佣金:"Pending commission","佣金将会在确认后会到达你的佣金账户。":"The commission will reach your commission account after review.",邀请码管理:"Invitation Code Management",生成邀请码:"Generate invitation code",佣金发放记录:"Commission Income Record",复制成功:"Copied successfully",密码:"Password",登入:"Login",注册:"Register",忘记密码:"Forgot password","# 订单号":"Order Number #",周期:"Type / Cycle",订单金额:"Order Amount",订单状态:"Order Status",创建时间:"Creation Time",操作:"Action",查看详情:"View Details",请选择支付方式:"Please select a payment method",请检查信用卡支付信息:"Please check credit card payment information",订单详情:"Order Details",折扣:"Discount",折抵:"Converted",退款:"Refund",支付方式:"Payment Method",填写信用卡支付信息:"Please fill in credit card payment information","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"We will not collect your credit card information, credit card number and other details only use to verify the current transaction.",订单总额:"Order Total",总计:"Total",结账:"Checkout",等待支付中:"Waiting for payment","订单系统正在进行处理,请稍等1-3分钟。":"Order system is being processed, please wait 1 to 3 minutes.","订单由于超时支付已被取消。":"The order has been canceled due to overtime payment.","订单已支付并开通。":"The order has been paid and the service is activated.",选择订阅:"Select a Subscription",立即订阅:"Subscribe now",配置订阅:"Configure Subscription",付款周期:"Payment Cycle","有优惠券?":"Have coupons?",验证:"Verify",下单:"Order","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"Attention please, change subscription will overwrite your current subscription.",该订阅无法续费:"This subscription cannot be renewed",选择其他订阅:"Choose another subscription",我的钱包:"My Wallet","账户余额(仅消费)":"Account Balance (For billing only)","推广佣金(可提现)":"Invitation Commission (Can be used to withdraw)",钱包组成部分:"Wallet Details",划转:"Transfer",推广佣金提现:"Invitation Commission Withdrawal",修改密码:"Change Password",保存:"Save",旧密码:"Old Password",新密码:"New Password",请输入旧密码:"Please enter the old password",请输入新密码:"Please enter the new password",通知:"Notification",到期邮件提醒:"Subscription expiration email reminder",流量邮件提醒:"Insufficient transfer data email alert",绑定Telegram:"Link to Telegram",立即开始:"Start Now",重置订阅信息:"Reset Subscription",重置:"Reset","确定要重置订阅信息?":"Do you want to reset subscription?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"In case of your account information or subscription leak, this option is for reset. After resetting your UUID and subscription will change, you need to re-subscribe.",重置成功:"Reset successfully",两次新密码输入不同:"Two new passwords entered do not match",两次密码输入不同:"The passwords entered do not match","邀请码(选填)":"Invitation code (Optional)",'我已阅读并同意 服务条款':'I have read and agree to the terms of service',请同意服务条款:"Please agree to the terms of service",名称:"Name",标签:"Tags",状态:"Status",节点五分钟内节点在线情况:"Access Point online status in the last 5 minutes",倍率:"Rate",使用的流量将乘以倍率进行扣除:"The transfer data usage will be multiplied by the transfer data rate deducted.",更多操作:"Action","没有可用节点,如果您未订阅或已过期请":"No access points are available. If you have not subscribed or the subscription has expired, please","确定重置当前已用流量?":"Are you sure to reset your current data usage?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":'Click "Confirm" and you will be redirected to the payment page. The system will empty your current month"s usage after your purchase.',确定:"Confirm",低:"Low",中:"Medium",高:"High",主题:"Subject",工单级别:"Ticket Priority",工单状态:"Ticket Status",最后回复:"Last Reply",已关闭:"Closed",待回复:"Pending Reply",已回复:"Replied",查看:"View",关闭:"Cancel",新的工单:"My Tickets",确认:"Confirm",请输入工单主题:"Please enter a subject",工单等级:"Ticket Priority",请选择工单等级:"Please select the ticket priority",消息:"Message",请描述你遇到的问题:"Please describe the problem you encountered",记录时间:"Record Time",实际上行:"Actual Upload",实际下行:"Actual Download",合计:"Total","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"Formula: (Actual Upload + Actual Download) x Deduction Rate = Deduct Transfer Data",复制订阅地址:"Copy Subscription URL",导入到:"Export to",一键订阅:"Quick Subscription",复制订阅:"Copy Subscription URL",推广佣金划转至余额:"Transfer Invitation Commission to Account Balance","划转后的余额仅用于{title}消费使用":"The transferred balance will be used for {title} payments only",当前推广佣金余额:"Current invitation balance",划转金额:"Transfer amount",请输入需要划转到余额的金额:"Please enter the amount to be transferred to the balance","输入内容回复工单...":"Please enter to reply to the ticket...",申请提现:"Apply For Withdrawal",取消:"Cancel",提现方式:"Withdrawal Method",请选择提现方式:"Please select a withdrawal method",提现账号:"Withdrawal Account",请输入提现账号:"Please enter the withdrawal account",我知道了:"I got it",第一步:"First Step",第二步:"Second Step",打开Telegram搜索:"Open Telegram and Search ",向机器人发送你的:"Send the following command to bot","最后更新: {date}":"Last Updated: {date}",还有没支付的订单:"There are still unpaid orders",立即支付:"Pay Now",条工单正在处理中:"tickets are in process",立即查看:"View Now",节点状态:"Access Point Status",商品信息:"Product Information",产品名称:"Product Name","类型/周期":"Type / Cycle",产品流量:"Product Transfer Data",订单信息:"Order Details",关闭订单:"Close order",订单号:"Order Number",优惠金额:"Discount amount",旧订阅折抵金额:"Old subscription converted amount",退款金额:"Refunded amount",余额支付:"Balance payment",工单历史:"Ticket History","已用流量将在 {reset_day} 日后重置":"Used data will reset after {reset_day} days",已用流量已在今日重置:"Data usage has been reset today",重置已用流量:"Reset used data",查看节点状态:"View Access Point status","当前已使用流量达{rate}%":"Currently used data up to {rate}%",节点名称:"Access Point Name","于 {date} 到期,距离到期还有 {day} 天。":"Will expire on {date}, {day} days before expiration.","Telegram 讨论组":"Telegram Discussion Group",立即加入:"Join Now","该订阅无法续费,仅允许新用户购买":"This subscription cannot be renewed and is only available to new users.",重置当月流量:"Reset current month usage","流量明细仅保留近月数据以供查询。":'Only keep the most recent month"s usage for checking the transfer data details.',扣费倍率:"Fee deduction rate",支付手续费:"Payment fee",续费订阅:"Renewal Subscription",学习如何使用:"Learn how to use",快速将节点导入对应客户端进行使用:"Quickly export subscription into the client app",对您当前的订阅进行续费:"Renew your current subscription",对您当前的订阅进行购买:"Purchase your current subscription",捷径:"Shortcut","不会使用,查看使用教程":"I am a newbie, view the tutorial",使用支持扫码的客户端进行订阅:"Use a client app that supports scanning QR code to subscribe",扫描二维码订阅:"Scan QR code to subscribe",续费:"Renewal",购买:"Purchase",查看教程:"View Tutorial",注意:"Attention","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"You still have an unpaid order. You need to cancel it before purchasing. Are you sure you want to cancel the previous order?",确定取消:"Confirm Cancel",返回我的订单:"Back to My Order","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"If you have already paid, canceling the order may cause the payment to fail. Are you sure you want to cancel the order?",选择最适合你的计划:"Choose the right plan for you",全部:"All",按周期:"By Cycle",遇到问题:"I have a problem",遇到问题可以通过工单与我们沟通:"If you have any problems, you can contact us via ticket",按流量:"Pay As You Go",搜索文档:"Search Documents",技术支持:"Technical Support",当前剩余佣金:"Current commission remaining",三级分销比例:"Three-level Distribution Ratio",累计获得佣金:"Cumulative commission earned","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"The users you invite to re-invite users will be divided according to the order amount multiplied by the distribution level.",发放时间:"Commission Time","{number} 人":"{number} people","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"If your subscription address or account is leaked and misused by others, you can reset your subscription information here to prevent unnecessary losses.",再次输入密码:"Enter password again",返回登陆:"Return to Login",选填:"Optional",必填:"Required",最后回复时间:"Last Reply Time",请选项工单等级:"Please Select Ticket Priority",回复:"Reply",输入内容回复工单:"Enter Content to Reply to Ticket",已生成:"Generated",选择协议:"Select Protocol",自动:"Automatic",流量重置包:"Data Reset Package",复制失败:"Copy failed",提示:"Notification","确认退出?":"Confirm Logout?",已退出登录:"Logged out successfully",请输入邮箱地址:"Enter email address","{second}秒后可重新发送":"Resend available in {second} seconds",发送成功:"Sent successfully",请输入账号密码:"Enter account and password",请确保两次密码输入一致:"Ensure password entries match",注册成功:"Registration successful","重置密码成功,正在返回登录":"Password reset successful, returning to login",确认取消:"Confirm Cancel","请注意,变更订阅会导致当前订阅被覆盖。":"Please note that changing the subscription will overwrite the current subscription.","订单提交成功,正在跳转支付":"Order submitted successfully, redirecting to payment.",回复成功:"Reply Successful",工单详情:"Ticket Details",登录成功:"Login Successful","确定退出?":"Are you sure you want to exit?",支付成功:"Payment Successful",正在前往收银台:"Proceeding to Checkout",请输入正确的划转金额:"Please enter the correct transfer amount",划转成功:"Transfer Successful",提现方式不能为空:"Withdrawal method cannot be empty",提现账号不能为空:"Withdrawal account cannot be empty",已绑定:"Already Bound",创建成功:"Creation successful",关闭成功:"Shutdown successful"},rk=Object.freeze(Object.defineProperty({__proto__:null,default:wBe},Symbol.toStringTag,{value:"Module"})),_Be={请求失败:"درخواست انجام نشد",月付:"ماهانه",季付:"سه ماهه",半年付:"نیم سال",年付:"سالانه",两年付:"دو سال",三年付:"سه سال",一次性:"یک‌باره",重置流量包:"بازنشانی بسته های داده",待支付:"در انتظار پرداخت",开通中:"ایجاید",已取消:"صرف نظر شد",已完成:"به پایان رسید",已折抵:"تخفیف داده شده است",待确认:"در حال بررسی",发放中:"صدور",已发放:"صادر شده",无效:"نامعتبر",个人中心:"پروفایل",登出:"خروج",搜索:"جستجو",仪表盘:"داشبرد",订阅:"اشتراک",我的订阅:"اشتراک من",购买订阅:"خرید اشتراک",财务:"امور مالی",我的订单:"درخواست های من",我的邀请:"دعوتنامه های من",用户:"کاربر",我的工单:"درخواست های من",流量明细:"جزئیات\\nعبورو مرور در\\nمحیط آموزشی",使用文档:"کار با مستندات",绑定Telegram获取更多服务:"برای خدمات بیشتر تلگرام را ببندید",点击这里进行绑定:"برای اتصال اینجا را کلیک کنید",公告:"هشدارها",总览:"بررسی کلی",该订阅长期有效:"این اشتراک برای مدت طولانی معتبر است",已过期:"منقضی شده","已用 {used} / 总计 {total}":"استفاده شده {used} / مجموع {total}",查看订阅:"مشاهده عضویت ها",邮箱:"ایمیل",邮箱验证码:"کد تایید ایمیل شما",发送:"ارسال",重置密码:"بازنشانی رمز عبور",返回登入:"بازگشت به صفحه ورود",邀请码:"کد دعوت شما",复制链接:"کپی‌کردن لینک",完成时间:"زمان پایان",佣金:"کمیسیون",已注册用户数:"تعداد کاربران ثبت نام شده",佣金比例:"نرخ کمیسیون",确认中的佣金:"کمیسیون تایید شده","佣金将会在确认后会到达你的佣金账户。":"کمیسیون پس از تایید به حساب کمیسیون شما واریز خواهد شد",邀请码管理:"مدیریت کد دعوت",生成邀请码:"یک کد دعوت ایجاد کنید",佣金发放记录:"سابقه پرداخت کمیسیون",复制成功:"آدرس URL با موفقیت کپی شد",密码:"رمز عبور",登入:"ورود",注册:"ثبت‌نام",忘记密码:"رمز عبور فراموش شده","# 订单号":"# شماره سفارش",周期:"چرخه",订单金额:"مقدار سفارش",订单状态:"وضعیت سفارش",创建时间:"ساختن",操作:"عملیات",查看详情:"مشاهده جزئیات",请选择支付方式:"لطفا نوع پرداخت را انتخاب کنید",请检查信用卡支付信息:"لطفا اطلاعات پرداخت کارت اعتباری خود را بررسی کنید",订单详情:"اطلاعات سفارش",折扣:"ذخیره",折抵:"折抵",退款:"بازگشت هزینه",支付方式:"روش پرداخت",填写信用卡支付信息:"لطفا اطلاعات پرداخت کارت اعتباری خود را بررسی کنید","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"اطلاعات کارت اعتباری شما فقط برای بدهی فعلی استفاده می شود، سیستم آن را ذخیره نمی کند، که ما فکر می کنیم امن ترین است.",订单总额:"مجموع سفارش",总计:"مجموع",结账:"پرداخت",等待支付中:"در انتظار پرداخت","订单系统正在进行处理,请稍等1-3分钟。":"سیستم سفارش در حال پردازش است، لطفا 1-3 دقیقه صبر کنید.","订单由于超时支付已被取消。":"سفارش به دلیل پرداخت اضافه کاری لغو شده است","订单已支付并开通。":"سفارش پرداخت و باز شد.",选择订阅:"انتخاب اشتراک",立即订阅:"همین حالا مشترک شوید",配置订阅:"پیکربندی اشتراک",付款周期:"چرخه پرداخت","有优惠券?":"یک کوپن دارید؟",验证:"تأیید",下单:"ایجاد سفارش","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"لطفاً توجه داشته باشید، تغییر یک اشتراک باعث می‌شود که اشتراک فعلی توسط اشتراک جدید بازنویسی شود.",该订阅无法续费:"این اشتراک قابل تمدید نیست",选择其他订阅:"اشتراک دیگری را انتخاب کنید",我的钱包:"کیف پول من","账户余额(仅消费)":"موجودی حساب (فقط خرج کردن)","推广佣金(可提现)":"کمیسیون ارتقاء (قابل برداشت)",钱包组成部分:"اجزای کیف پول",划转:"منتقل کردن",推广佣金提现:"انصراف کمیسیون ارتقاء",修改密码:"تغییر کلمه عبور",保存:"ذخیره کردن",旧密码:"گذرواژه قدیمی",新密码:"رمز عبور جدید",请输入旧密码:", رمز عبور مورد نیاز است",请输入新密码:"گذاشتن گذرواژه",通知:"اعلانات",到期邮件提醒:"یادآوری ایمیل انقضا",流量邮件提醒:"یادآوری ایمیل ترافیک",绑定Telegram:"تلگرام را ببندید",立即开始:"امروز شروع کنید",重置订阅信息:"بازنشانی اطلاعات اشتراک",重置:"تغییر","确定要重置订阅信息?":"آیا مطمئن هستید که می خواهید اطلاعات اشتراک خود را بازنشانی کنید؟","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"اگر آدرس یا اطلاعات اشتراک شما لو رفته باشد، این کار را می توان انجام داد. پس از تنظیم مجدد، Uuid و اشتراک شما تغییر خواهد کرد و باید دوباره مشترک شوید.",重置成功:"بازنشانی با موفقیت انجام شد",两次新密码输入不同:"رمز جدید را دو بار وارد کنید",两次密码输入不同:"رمز جدید را دو بار وارد کنید","邀请码(选填)":"کد دعوت (اختیاری)",'我已阅读并同意 服务条款':"من شرایط خدمات را خوانده‌ام و با آن موافقم",请同意服务条款:"لطفاً با شرایط خدمات موافقت کنید",名称:"نام ویژگی محصول",标签:"برچسب‌ها",状态:"وضعیت",节点五分钟内节点在线情况:"وضعیت آنلاین گره را در عرض پنج دقیقه ثبت کنید",倍率:"بزرگنمایی",使用的流量将乘以倍率进行扣除:"جریان استفاده شده در ضریب برای کسر ضرب خواهد شد",更多操作:"اکشن های بیشتر","没有可用节点,如果您未订阅或已过期请":"هیچ گره ای در دسترس نیست، اگر مشترک نیستید یا منقضی شده اید، لطفاً","确定重置当前已用流量?":"آیا مطمئن هستید که می خواهید داده های استفاده شده فعلی را بازنشانی کنید؟","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"برای رفتن به صندوقدار روی 'OK' کلیک کنید. پس از پرداخت سفارش، سیستم اطلاعاتی را که برای ماه استفاده کرده اید پاک می کند.",确定:"تأیید",低:"پایین",中:"متوسط",高:"بالا",主题:"موضوع",工单级别:"سطح بلیط",工单状态:"وضعیت درخواست",最后回复:"آخرین پاسخ",已关闭:"پایان‌یافته",待回复:"در انتظار پاسخ",已回复:"پاسخ داده",查看:"بازدیدها",关闭:"بستن",新的工单:"سفارش کار جدید",确认:"تاييدات",请输入工单主题:"لطفا موضوع بلیط را وارد کنید",工单等级:"سطح سفارش کار",请选择工单等级:"لطفا سطح بلیط را انتخاب کنید",消息:"پیام ها",请描述你遇到的问题:"لطفا مشکلی که با آن مواجه شدید را شرح دهید",记录时间:"زمان ضبط",实际上行:"نقطه ضعف واقعی",实际下行:"نقطه ضعف واقعی",合计:"تعداد ارزش‌ها","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"فرمول: (خط واقعی + پایین دست واقعی) x نرخ کسر = ترافیک کسر شده",复制订阅地址:"آدرس اشتراک را کپی کنید",导入到:"واردات در:",一键订阅:"اشتراک با یک کلیک",复制订阅:"اشتراک را کپی کنید",推广佣金划转至余额:"کمیسیون ارتقاء به موجودی منتقل می شود","划转后的余额仅用于{title}消费使用":"موجودی منتقل شده فقط برای مصرف {title} استفاده می شود",当前推广佣金余额:"موجودی کمیسیون ترفیع فعلی",划转金额:"مقدار انتقال",请输入需要划转到余额的金额:"لطفا مبلغی را که باید به موجودی منتقل شود وارد کنید","输入内容回复工单...":"برای پاسخ به تیکت محتوا را وارد کنید...",申请提现:"برای انصراف اقدام کنید",取消:"انصراف",提现方式:"روش برداشت",请选择提现方式:"لطفاً یک روش برداشت را انتخاب کنید",提现账号:"حساب برداشت",请输入提现账号:"لطفا حساب برداشت را وارد کنید",我知道了:"می فهمم",第一步:"گام ۱",第二步:"گام ۲",打开Telegram搜索:"جستجوی تلگرام را باز کنید",向机器人发送你的:"ربات های خود را بفرستید","最后更新: {date}":"آخرین به روز رسانی: {date}",还有没支付的订单:"هنوز سفارشات پرداخت نشده وجود دارد",立即支付:"اکنون پرداخت کنید",条工单正在处理中:"بلیط در حال پردازش است",立即查看:"آن را در عمل ببینید",节点状态:"وضعیت گره",商品信息:"مشتریان ثبت نام شده",产品名称:"عنوان کالا","类型/周期":"نوع/چرخه",产品流量:"جریان محصول",订单信息:"اطلاعات سفارش",关闭订单:"سفارش بستن",订单号:"شماره سفارش",优惠金额:"قیمت با تخفیف",旧订阅折抵金额:"مبلغ تخفیف اشتراک قدیمی",退款金额:"کل مبلغ مسترد شده",余额支付:"پرداخت مانده",工单历史:"تاریخچه بلیط","已用流量将在 {reset_day} 日后重置":"داده‌های استفاده شده ظرف {reset_day} روز بازنشانی می‌شوند",已用流量已在今日重置:"امروز بازنشانی داده استفاده شده است",重置已用流量:"بازنشانی داده های استفاده شده",查看节点状态:"مشاهده وضعیت گره","当前已使用流量达{rate}%":"ترافیک استفاده شده در حال حاضر در {rate}%",节点名称:"نام گره","于 {date} 到期,距离到期还有 {day} 天。":"در {date} منقضی می‌شود که {day} روز دیگر است.","Telegram 讨论组":"گروه گفتگوی تلگرام",立即加入:"حالا پیوستن","该订阅无法续费,仅允许新用户购买":"این اشتراک قابل تمدید نیست، فقط کاربران جدید مجاز به خرید آن هستند",重置当月流量:"بازنشانی ترافیک ماه جاری","流量明细仅保留近月数据以供查询。":"جزئیات ترافیک فقط داده های ماه های اخیر را برای پرس و جو حفظ می کند.",扣费倍率:"نرخ کسر",支付手续费:"پرداخت هزینه های پردازش",续费订阅:"تمدید اشتراک",学习如何使用:"نحوه استفاده را یاد بگیرید",快速将节点导入对应客户端进行使用:"به سرعت گره ها را برای استفاده به مشتری مربوطه وارد کنید",对您当前的订阅进行续费:"با اشتراک فعلی خود خرید کنید",对您当前的订阅进行购买:"با اشتراک فعلی خود خرید کنید",捷径:"میانبر","不会使用,查看使用教程":"استفاده نمی شود، به آموزش مراجعه کنید",使用支持扫码的客户端进行订阅:"برای اشتراک از کلاینتی استفاده کنید که از کد اسکن پشتیبانی می کند",扫描二维码订阅:"برای اشتراک، کد QR را اسکن کنید",续费:"تمدید",购买:"خرید",查看教程:"مشاهده آموزش",注意:"یادداشت!","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"هنوز سفارشات ناتمام دارید. قبل از خرید باید آن را لغو کنید. آیا مطمئن هستید که می‌خواهید سفارش قبلی را لغو کنید؟",确定取消:"تایید لغو",返回我的订单:"بازگشت به سفارش من","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"اگر قبلاً پرداخت کرده‌اید، لغو سفارش ممکن است باعث عدم موفقیت در پرداخت شود. آیا مطمئن هستید که می‌خواهید سفارش را لغو کنید؟",选择最适合你的计划:"طرحی را انتخاب کنید که مناسب شما باشد",全部:"تمام",按周期:"توسط چرخه",遇到问题:"ما یک مشکل داریم",遇到问题可以通过工单与我们沟通:"در صورت بروز مشکل می توانید از طریق تیکت با ما در ارتباط باشید",按流量:"با جریان",搜索文档:"جستجوی اسناد",技术支持:"دریافت پشتیبانی",当前剩余佣金:"کمیسیون فعلی باقی مانده",三级分销比例:"نسبت توزیع سه لایه",累计获得佣金:"کمیسیون انباشته شده","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"کاربرانی که برای دعوت مجدد از کاربران دعوت می کنید بر اساس نسبت مقدار سفارش ضرب در سطح توزیع تقسیم می شوند.",发放时间:"زمان پرداخت","{number} 人":"{number} نفر","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"در صورت انتشار آدرس یا حساب اشتراک شما و سوء استفاده از آن توسط دیگران، می‌توانید اطلاعات اشتراک خود را در اینجا بازنشانی کنید تا از زیان‌های غیرضروری جلوگیری شود.",再次输入密码:"ورود مجدد رمز عبور",返回登陆:"بازگشت به ورود",选填:"اختیاری",必填:"الزامی",最后回复时间:"زمان آخرین پاسخ",请选项工单等级:"لطفاً اولویت تیکت را انتخاب کنید",回复:"پاسخ",输入内容回复工单:"محتوا را برای پاسخ به تیکت وارد کنید",已生成:"تولید شده",选择协议:"انتخاب پروتکل",自动:"خودکار",流量重置包:"بسته بازنشانی داده",复制失败:"کپی ناموفق بود",提示:"اطلاع","确认退出?":"تأیید خروج?",已退出登录:"با موفقیت خارج شده",请输入邮箱地址:"آدرس ایمیل را وارد کنید","{second}秒后可重新发送":"{second} ثانیه دیگر می‌توانید مجدداً ارسال کنید",发送成功:"با موفقیت ارسال شد",请输入账号密码:"نام کاربری و رمز عبور را وارد کنید",请确保两次密码输入一致:"اطمینان حاصل کنید که ورودهای رمز عبور مطابقت دارند",注册成功:"ثبت نام با موفقیت انجام شد","重置密码成功,正在返回登录":"با موفقیت رمز عبور بازنشانی شد، در حال بازگشت به صفحه ورود",确认取消:"تایید لغو","请注意,变更订阅会导致当前订阅被覆盖。":"لطفاً توجه داشته باشید که تغییر اشتراک موجب ایجاد اشتراک فعلی می‌شود.","订单提交成功,正在跳转支付":"سفارش با موفقیت ثبت شد، به پرداخت هدایت می‌شود.",回复成功:"پاسخ با موفقیت ارسال شد",工单详情:"جزئیات تیکت",登录成功:"ورود موفقیت‌آمیز","确定退出?":"آیا مطمئن هستید که می‌خواهید خارج شوید؟",支付成功:"پرداخت موفق",正在前往收银台:"در حال رفتن به صندوق پرداخت",请输入正确的划转金额:"لطفا مبلغ انتقال صحیح را وارد کنید",划转成功:"انتقال موفق",提现方式不能为空:"روش برداشت نمی‌تواند خالی باشد",提现账号不能为空:"حساب برداشت نمی‌تواند خالی باشد",已绑定:"قبلاً متصل شده",创建成功:"ایجاد موفقیت‌آمیز",关闭成功:"خاموش کردن موفق"},ik=Object.freeze(Object.defineProperty({__proto__:null,default:_Be},Symbol.toStringTag,{value:"Module"})),SBe={请求失败:"リクエストエラー",月付:"月間プラン",季付:"3か月プラン",半年付:"半年プラン",年付:"年間プラン",两年付:"2年プラン",三年付:"3年プラン",一次性:"一括払い",重置流量包:"使用済みデータをリセット",待支付:"お支払い待ち",开通中:"開通中",已取消:"キャンセル済み",已完成:"済み",已折抵:"控除済み",待确认:"承認待ち",发放中:"処理中",已发放:"処理済み",无效:"無効",个人中心:"会員メニュー",登出:"ログアウト",搜索:"検索",仪表盘:"ダッシュボード",订阅:"サブスクリプションプラン",我的订阅:"マイプラン",购买订阅:"プランの購入",财务:"ファイナンス",我的订单:"注文履歴",我的邀请:"招待リスト",用户:"ユーザー",我的工单:"お問い合わせ",流量明细:"データ通信明細",使用文档:"ナレッジベース",绑定Telegram获取更多服务:"Telegramと連携し各種便利な通知を受け取ろう",点击这里进行绑定:"こちらをクリックして連携開始",公告:"お知らせ",总览:"概要",该订阅长期有效:"時間制限なし",已过期:"期限切れ","已用 {used} / 总计 {total}":"使用済み {used} / 合計 {total}",查看订阅:"プランを表示",邮箱:"E-mail アドレス",邮箱验证码:"確認コード",发送:"送信",重置密码:"パスワードを変更",返回登入:"ログインページへ戻る",邀请码:"招待コード",复制链接:"URLをコピー",完成时间:"完了日時",佣金:"コミッション金額",已注册用户数:"登録済みユーザー数",佣金比例:"コミッションレート",确认中的佣金:"承認待ちのコミッション","佣金将会在确认后会到达你的佣金账户。":"コミッションは承認処理完了後にカウントされます",邀请码管理:"招待コードの管理",生成邀请码:"招待コードを生成",佣金发放记录:"コミッション履歴",复制成功:"クリップボードにコピーされました",密码:"パスワード",登入:"ログイン",注册:"新規登録",忘记密码:"パスワードをお忘れの方","# 订单号":"受注番号",周期:"サイクル",订单金额:"ご注文金額",订单状态:"ご注文状況",创建时间:"作成日時",操作:"アクション",查看详情:"詳細を表示",请选择支付方式:"支払い方法をお選びください",请检查信用卡支付信息:"クレジットカード決済情報をご確認ください",订单详情:"ご注文詳細",折扣:"割引",折抵:"控除",退款:"払い戻し",支付方式:"お支払い方法",填写信用卡支付信息:"クレジットカード決済情報をご入力ください。","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"お客様のカード情報は今回限りリクエストされ、記録に残ることはございません",订单总额:"ご注文の合計金額",总计:"合計金額",结账:"チェックアウト",等待支付中:"お支払い待ち","订单系统正在进行处理,请稍等1-3分钟。":"システム処理中です、しばらくお待ちください","订单由于超时支付已被取消。":"ご注文はキャンセルされました","订单已支付并开通。":"お支払いが完了しました、プランはご利用可能です",选择订阅:"プランをお選びください",立即订阅:"今すぐ購入",配置订阅:"プランの内訳",付款周期:"お支払いサイクル","有优惠券?":"キャンペーンコード",验证:"確定",下单:"チェックアウト","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"プランを変更なされます場合は、既存のプランが新規プランによって上書きされます、ご注意下さい",该订阅无法续费:"該当プランは継続利用できません",选择其他订阅:"その他のプランを選択",我的钱包:"マイウォレット","账户余额(仅消费)":"残高(サービスの購入のみ)","推广佣金(可提现)":"招待によるコミッション(出金可)",钱包组成部分:"ウォレットの内訳",划转:"お振替",推广佣金提现:"コミッションのお引き出し",修改密码:"パスワードの変更",保存:"変更を保存",旧密码:"現在のパスワード",新密码:"新しいパスワード",请输入旧密码:"現在のパスワードをご入力ください",请输入新密码:"新しいパスワードをご入力ください",通知:"お知らせ",到期邮件提醒:"期限切れ前にメールで通知",流量邮件提醒:"データ量不足時にメールで通知",绑定Telegram:"Telegramと連携",立即开始:"今すぐ連携開始",重置订阅信息:"サブスクリプションURLの変更",重置:"変更","确定要重置订阅信息?":"サブスクリプションURLをご変更なされますか?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"サブスクリプションのURL及び情報が外部に漏れた場合にご操作ください。操作後はUUIDやURLが変更され、再度サブスクリプションのインポートが必要になります。",重置成功:"変更完了",两次新密码输入不同:"ご入力されました新しいパスワードが一致しません",两次密码输入不同:"ご入力されましたパスワードが一致しません","邀请码(选填)":"招待コード (オプション)",'我已阅读并同意 服务条款':"ご利用規約に同意します",请同意服务条款:"ご利用規約に同意してください",名称:"名称",标签:"ラベル",状态:"ステータス",节点五分钟内节点在线情况:"5分間のオンラインステータス",倍率:"適応レート",使用的流量将乘以倍率进行扣除:"通信量は該当レートに基き計算されます",更多操作:"アクション","没有可用节点,如果您未订阅或已过期请":"ご利用可能なサーバーがありません,プランの期限切れまたは購入なされていない場合は","确定重置当前已用流量?":"利用済みデータ量をリセットしますか?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"「確定」をクリックし次のページへ移動,お支払い後に当月分のデータ通信量は即時リセットされます",确定:"確定",低:"低",中:"中",高:"高",主题:"タイトル",工单级别:"プライオリティ",工单状态:"進捗状況",最后回复:"最終回答日時",已关闭:"終了",待回复:"対応待ち",已回复:"回答済み",查看:"閲覧",关闭:"終了",新的工单:"新規お問い合わせ",确认:"確定",请输入工单主题:"お問い合わせタイトルをご入力ください",工单等级:"ご希望のプライオリティ",请选择工单等级:"ご希望のプライオリティをお選びください",消息:"メッセージ",请描述你遇到的问题:"お問い合わせ内容をご入力ください",记录时间:"記録日時",实际上行:"アップロード",实际下行:"ダウンロード",合计:"合計","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"計算式:(アップロード + ダウンロード) x 適応レート = 使用済みデータ通信量",复制订阅地址:"サブスクリプションのURLをコピー",导入到:"インポート先:",一键订阅:"ワンクリックインポート",复制订阅:"サブスクリプションのURLをコピー",推广佣金划转至余额:"コミッションを残高へ振替","划转后的余额仅用于{title}消费使用":"振替済みの残高は{title}でのみご利用可能です",当前推广佣金余额:"現在のコミッション金額",划转金额:"振替金額",请输入需要划转到余额的金额:"振替金額をご入力ください","输入内容回复工单...":"お問い合わせ内容をご入力ください...",申请提现:"出金申請",取消:"キャンセル",提现方式:"お振込み先",请选择提现方式:"お振込み先をお選びください",提现账号:"お振り込み先口座",请输入提现账号:"お振込み先口座をご入力ください",我知道了:"了解",第一步:"ステップその1",第二步:"ステップその2",打开Telegram搜索:"Telegramを起動後に右記内容を入力し検索",向机器人发送你的:"テレグラムボットへ下記内容を送信","最后更新: {date}":"最終更新日: {date}",还有没支付的订单:"未払いのご注文があります",立即支付:"チェックアウト",条工单正在处理中:"件のお問い合わせ",立即查看:"閲覧",节点状态:"サーバーステータス",商品信息:"プラン詳細",产品名称:"プラン名","类型/周期":"サイクル",产品流量:"ご利用可能データ量",订单信息:"オーダー情報",关闭订单:"注文をキャンセル",订单号:"受注番号",优惠金额:"'割引額",旧订阅折抵金额:"既存プラン控除額",退款金额:"返金額",余额支付:"残高ご利用分",工单历史:"お問い合わせ履歴","已用流量将在 {reset_day} 日后重置":"利用済みデータ量は {reset_day} 日後にリセットします",已用流量已在今日重置:"利用済みデータ量は本日リセットされました",重置已用流量:"利用済みデータ量をリセット",查看节点状态:"接続先サーバのステータス","当前已使用流量达{rate}%":"データ使用量が{rate}%になりました",节点名称:"サーバー名","于 {date} 到期,距离到期还有 {day} 天。":"ご利用期限は {date} まで,期限まであと {day} 日","Telegram 讨论组":"Telegramグループ",立即加入:"今すぐ参加","该订阅无法续费,仅允许新用户购买":"該当プランは継続利用できません、新規ユーザーのみが購入可能です",重置当月流量:"使用済みデータ量のカウントリセット","流量明细仅保留近月数据以供查询。":"データ通信明細は当月分のみ表示されます",扣费倍率:"適応レート",支付手续费:"お支払い手数料",续费订阅:"購読更新",学习如何使用:"ご利用ガイド",快速将节点导入对应客户端进行使用:"最短ルートでサーバー情報をアプリにインポートして使用する",对您当前的订阅进行续费:"ご利用中のサブスクの継続料金を支払う",对您当前的订阅进行购买:"ご利用中のサブスクを再度購入する",捷径:"ショートカット","不会使用,查看使用教程":"ご利用方法がわからない方はナレッジベースをご閲覧ください",使用支持扫码的客户端进行订阅:"使用支持扫码的客户端进行订阅",扫描二维码订阅:"QRコードをスキャンしてサブスクを設定",续费:"更新",购买:"購入",查看教程:"チュートリアルを表示",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"まだ購入が完了していないオーダーがあります。購入前にそちらをキャンセルする必要がありますが、キャンセルしてよろしいですか?",确定取消:"キャンセル",返回我的订单:"注文履歴に戻る","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"もし既にお支払いが完了していると、注文をキャンセルすると支払いが失敗となる可能性があります。キャンセルしてもよろしいですか?",选择最适合你的计划:"あなたにピッタリのプランをお選びください",全部:"全て",按周期:"期間順",遇到问题:"何かお困りですか?",遇到问题可以通过工单与我们沟通:"何かお困りでしたら、お問い合わせからご連絡ください。",按流量:"データ通信量順",搜索文档:"ドキュメント内を検索",技术支持:"テクニカルサポート",当前剩余佣金:"コミッション残高",三级分销比例:"3ティア比率",累计获得佣金:"累計獲得コミッション金額","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"お客様に招待された方が更に別の方を招待された場合、お客様は支払われるオーダーからティア分配分の比率分を受け取ることができます。",发放时间:"手数料支払時間","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"購読アドレスまたはアカウントが漏れて他者に悪用された場合、不必要な損失を防ぐためにここで購読情報をリセットできます。",再次输入密码:"パスワードを再入力してください",返回登陆:"ログインに戻る",选填:"任意",必填:"必須",最后回复时间:"最終返信時刻",请选项工单等级:"チケットの優先度を選択してください",回复:"返信",输入内容回复工单:"チケットへの返信内容を入力",已生成:"生成済み",选择协议:"プロトコルの選択",自动:"自動",流量重置包:"データリセットパッケージ",复制失败:"コピーに失敗しました",提示:"通知","确认退出?":"ログアウトを確認?",已退出登录:"正常にログアウトしました",请输入邮箱地址:"メールアドレスを入力してください","{second}秒后可重新发送":"{second} 秒後に再送信可能",发送成功:"送信成功",请输入账号密码:"アカウントとパスワードを入力してください",请确保两次密码输入一致:"パスワードの入力が一致していることを確認してください",注册成功:"登録が成功しました","重置密码成功,正在返回登录":"パスワードのリセットが成功しました。ログインに戻っています",确认取消:"キャンセルの確認","请注意,变更订阅会导致当前订阅被覆盖。":"購読の変更は現在の購読を上書きします。","订单提交成功,正在跳转支付":"注文が成功裏に送信されました。支払いにリダイレクトしています。",回复成功:"返信が成功しました",工单详情:"チケットの詳細",登录成功:"ログイン成功","确定退出?":"本当に退出しますか?",支付成功:"支払い成功",正在前往收银台:"チェックアウトに進行中",请输入正确的划转金额:"正しい振替金額を入力してください",划转成功:"振替成功",提现方式不能为空:"出金方法は空にできません",提现账号不能为空:"出金口座を空にすることはできません",已绑定:"既にバインドされています",创建成功:"作成成功",关闭成功:"閉鎖成功"},ak=Object.freeze(Object.defineProperty({__proto__:null,default:SBe},Symbol.toStringTag,{value:"Module"})),kBe={请求失败:"요청실패",月付:"월간",季付:"3개월간",半年付:"반년간",年付:"1년간",两年付:"2년마다",三年付:"3년마다",一次性:"한 번",重置流量包:"데이터 재설정 패키지",待支付:"지불 보류중",开通中:"보류 활성화",已取消:"취소 됨",已完成:"완료",已折抵:"변환",待确认:"보류중",发放中:"확인중",已发放:"완료",无效:"유효하지 않음",个人中心:"사용자 센터",登出:"로그아웃",搜索:"검색",仪表盘:"대시보드",订阅:"구독",我的订阅:"나의 구독",购买订阅:"구독 구매 내역",财务:"청구",我的订单:"나의 주문",我的邀请:"나의 초청",用户:"사용자 센터",我的工单:"나의 티켓",流量明细:"데이터 세부 정보 전송",使用文档:"사용 설명서",绑定Telegram获取更多服务:"텔레그램에 아직 연결되지 않았습니다",点击这里进行绑定:"텔레그램에 연결되도록 여기를 눌러주세요",公告:"발표",总览:"개요",该订阅长期有效:"구독은 무제한으로 유효합니다",已过期:"만료","已用 {used} / 总计 {total}":"{date}에 만료됩니다, 만료 {day}이 전, {reset_day}후 데이터 전송 재설정",查看订阅:"구독 보기",邮箱:"이메일",邮箱验证码:"이메일 확인 코드",发送:"보내기",重置密码:"비밀번호 재설정",返回登入:"로그인 다시하기",邀请码:"초청 코드",复制链接:"링크 복사",完成时间:"완료 시간",佣金:"수수료",已注册用户数:"등록 된 사용자들",佣金比例:"수수료율",确认中的佣金:"수수료 상태","佣金将会在确认后会到达你的佣金账户。":"수수료는 검토 후 수수료 계정에서 확인할 수 있습니다",邀请码管理:"초청 코드 관리",生成邀请码:"초청 코드 생성하기",佣金发放记录:"수수료 지불 기록",复制成功:"복사 성공",密码:"비밀번호",登入:"로그인",注册:"등록하기",忘记密码:"비밀번호를 잊으셨나요","# 订单号":"주문 번호 #",周期:"유형/기간",订单金额:"주문량",订单状态:"주문 상태",创建时间:"생성 시간",操作:"설정",查看详情:"세부사항 보기",请选择支付方式:"지불 방식을 선택 해주세요",请检查信用卡支付信息:"신용카드 지불 정보를 확인 해주세요",订单详情:"주문 세부사항",折扣:"할인",折抵:"변환",退款:"환불",支付方式:"지불 방식",填写信用卡支付信息:"신용카드 지불 정보를 적으세요","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"현재 거래를 확인하는 데 사용하는 귀하의 신용 카드 정보, 신용 카드 번호 및 기타 세부 정보를 수집하지 않습니다.",订单总额:"전체주문",总计:"전체",结账:"결제하기",等待支付中:"결제 대기 중","订单系统正在进行处理,请稍等1-3分钟。":"주문 시스템이 처리 중입니다. 1-3분 정도 기다려 주십시오.","订单由于超时支付已被取消。":"결제 시간 초과로 인해 주문이 취소되었습니다.","订单已支付并开通。":"주문이 결제되고 개통되었습니다.",选择订阅:"구독 선택하기",立即订阅:"지금 구독하기",配置订阅:"구독 환경 설정하기",付款周期:"지불 기간","有优惠券?":"쿠폰을 가지고 있나요?",验证:"확인",下单:"주문","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"주의하십시오. 구독을 변경하면 현재 구독을 덮어씁니다",该订阅无法续费:"이 구독은 갱신할 수 없습니다.",选择其他订阅:"다른 구독 선택",我的钱包:"나의 지갑","账户余额(仅消费)":"계정 잔액(결제 전용)","推广佣金(可提现)":"초청수수료(인출하는 데 사용할 수 있습니다)",钱包组成部分:"지갑 세부사항",划转:"이체하기",推广佣金提现:"초청 수수료 인출",修改密码:"비밀번호 변경",保存:"저장하기",旧密码:"이전 비밀번호",新密码:"새로운 비밀번호",请输入旧密码:"이전 비밀번호를 입력해주세요",请输入新密码:"새로운 비밀번호를 입력해주세요",通知:"공고",到期邮件提醒:"구독 만료 이메일 알림",流量邮件提醒:"불충분한 데이터 이메일 전송 알림",绑定Telegram:"탤레그램으로 연결",立即开始:"지금 시작하기",重置订阅信息:"구독 재설정하기",重置:"재설정","确定要重置订阅信息?":"구독을 재설정하시겠습니까?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"계정 정보나 구독이 누출된 경우 이 옵션은 UUID를 재설정하는 데 사용되며 재설정 후에 구독이 변경되므로 다시 구독해야 합니다.",重置成功:"재설정 성공",两次新密码输入不同:"입력한 두 개의 새 비밀번호가 일치하지 않습니다.",两次密码输入不同:"입력한 비밀번호가 일치하지 않습니다.","邀请码(选填)":"초청 코드(선택 사항)",'我已阅读并同意 服务条款':"을 읽었으며 이에 동의합니다 서비스 약관",请同意服务条款:"서비스 약관에 동의해주세요",名称:"이름",标签:"태그",状态:"설정",节点五分钟内节点在线情况:"지난 5분 동안의 액세스 포인트 온라인 상태",倍率:"요금",使用的流量将乘以倍率进行扣除:"사용된 전송 데이터에 전송 데이터 요금을 뺀 값을 곱합니다.",更多操作:"설정","没有可用节点,如果您未订阅或已过期请":"사용 가능한 액세스 포인트가 없습니다. 구독을 신청하지 않았거나 구독이 만료된 경우","确定重置当前已用流量?":"현재 사용 중인 데이터를 재설정 하시겠습니까?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":'확인"을 클릭하면 결제 페이지로 이동됩니다. 주문이 완료되면 시스템에서 해당 월의 사용 데이터를 삭제합니다.',确定:"확인",低:"낮음",中:"중간",高:"높음",主题:"주제",工单级别:"티켓 우선 순위",工单状态:"티켓 상태",最后回复:"생성 시간",已关闭:"마지막 답장",待回复:"설정",已回复:"닫힘",查看:"보기",关闭:"닫기",新的工单:"새로운 티켓",确认:"확인",请输入工单主题:"제목을 입력하세요",工单等级:"티켓 우선순위",请选择工单等级:"티켓 우선순위를 선택해주세요",消息:"메세지",请描述你遇到的问题:"문제를 설명하십시오 발생한",记录时间:"기록 시간",实际上行:"실제 업로드",实际下行:"실제 다운로드",合计:"전체","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"공식: (실제 업로드 + 실제 다운로드) x 공제율 = 전송 데이터 공제",复制订阅地址:"구독 URL 복사",导入到:"내보내기",一键订阅:"빠른 구독",复制订阅:"구독 URL 복사",推广佣金划转至余额:"초청 수수료를 계좌 잔액으로 이체","划转后的余额仅用于{title}消费使用":"이체된 잔액은 {title} 소비에만 사용됩니다.",当前推广佣金余额:"현재 홍보 수수료 잔액",请输入需要划转到余额的金额:"잔액으로 이체할 금액을 입력하세요.",取消:"취소",提现方式:"인출 방법",请选择提现方式:"인출 방법을 선택해주세요",提现账号:"인출 계좌",请输入提现账号:"인출 계좌를 입력해주세요",我知道了:"알겠습니다.",第一步:"첫번째 단계",第二步:"두번째 단계",打开Telegram搜索:"텔레그램 열기 및 탐색",向机器人发送你的:"봇에 다음 명령을 보냅니다","最后更新: {date}":"마지막 업데이트{date}",还有没支付的订单:"미결제 주문이 있습니다",立即支付:"즉시 지불",条工单正在处理中:"티켓이 처리 중입니다",立即查看:"제목을 입력하세요",节点状态:"노드 상태",商品信息:"제품 정보",产品名称:"제품 명칭","类型/周期":"종류/기간",产品流量:"제품 데이터 용량",订单信息:"주문 정보",关闭订单:"주문 취소",订单号:"주문 번호",优惠金额:"할인 가격",旧订阅折抵金额:"기존 패키지 공제 금액",退款金额:"환불 금액",余额支付:"잔액 지불",工单历史:"티켓 기록","已用流量将在 {reset_day} 日后重置":"{reset_day}일 후에 사용한 데이터가 재설정됩니다",已用流量已在今日重置:"오늘 이미 사용한 데이터가 재설정되었습니다",重置已用流量:"사용한 데이터 재설정",查看节点状态:"노드 상태 확인","当前已使用流量达{rate}%":"현재 사용한 데이터 비율이 {rate}%에 도달했습니다",节点名称:"환불 금액","于 {date} 到期,距离到期还有 {day} 天。":"{day}까지, 만료 {day}일 전.","Telegram 讨论组":"텔레그램으로 문의하세요",立即加入:"지금 가입하세요","该订阅无法续费,仅允许新用户购买":"이 구독은 갱신할 수 없습니다. 신규 사용자만 구매할 수 있습니다.",重置当月流量:"이번 달 트래픽 초기화","流量明细仅保留近月数据以供查询。":"귀하의 트래픽 세부 정보는 최근 몇 달 동안만 유지됩니다",扣费倍率:"수수료 공제율",支付手续费:"수수료 지불",续费订阅:"구독 갱신",学习如何使用:"사용 방법 배우기",快速将节点导入对应客户端进行使用:"빠르게 노드를 해당 클라이언트로 가져와 사용하기",对您当前的订阅进行续费:"현재 구독 갱신",对您当前的订阅进行购买:"현재 구독 구매",捷径:"단축키","不会使用,查看使用教程":"사용 방법을 모르겠다면 사용 설명서 확인",使用支持扫码的客户端进行订阅:"스캔 가능한 클라이언트로 구독하기",扫描二维码订阅:"QR 코드 스캔하여 구독",续费:"갱신",购买:"구매",查看教程:"사용 설명서 보기",注意:"주의","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"미완료된 주문이 있습니다. 구매 전에 취소해야 합니다. 이전 주문을 취소하시겠습니까?",确定取消:"취소 확인",返回我的订单:"내 주문으로 돌아가기","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"이미 결제를 했을 경우 주문 취소는 결제 실패로 이어질 수 있습니다. 주문을 취소하시겠습니까?",选择最适合你的计划:"가장 적합한 요금제 선택",全部:"전체",按周期:"주기별",遇到问题:"문제 발생",遇到问题可以通过工单与我们沟通:"문제가 발생하면 서포트 티켓을 통해 문의하세요",按流量:"트래픽별",搜索文档:"문서 검색",技术支持:"기술 지원",当前剩余佣金:"현재 잔여 수수료",三级分销比例:"삼수준 분배 비율",累计获得佣金:"누적 수수료 획득","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"초대한 사용자가 다시 초대하면 주문 금액에 분배 비율을 곱하여 분배됩니다.",发放时间:"수수료 지급 시간","{number} 人":"{number} 명","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"구독 주소 또는 계정이 유출되어 다른 사람에게 남용되는 경우 여기에서 구독 정보를 재설정하여 불필요한 손실을 방지할 수 있습니다.",再次输入密码:"비밀번호를 다시 입력하세요",返回登陆:"로그인으로 돌아가기",选填:"선택 사항",必填:"필수",最后回复时间:"최근 답장 시간",请选项工单等级:"티켓 우선 순위 선택",回复:"답장",输入内容回复工单:"티켓에 대한 내용 입력",已生成:"생성됨",选择协议:"프로토콜 선택",自动:"자동",流量重置包:"데이터 리셋 패키지",复制失败:"복사 실패",提示:"알림","确认退出?":"로그아웃 확인?",已退出登录:"로그아웃 완료",请输入邮箱地址:"이메일 주소를 입력하세요","{second}秒后可重新发送":"{second} 초 후에 다시 전송 가능",发送成功:"전송 성공",请输入账号密码:"계정과 비밀번호를 입력하세요",请确保两次密码输入一致:"비밀번호 입력이 일치하는지 확인하세요",注册成功:"등록 성공","重置密码成功,正在返回登录":"비밀번호 재설정 성공, 로그인 페이지로 돌아가는 중",确认取消:"취소 확인","请注意,变更订阅会导致当前订阅被覆盖。":"구독 변경은 현재 구독을 덮어씁니다.","订单提交成功,正在跳转支付":"주문이 성공적으로 제출되었습니다. 지불로 이동 중입니다.",回复成功:"답장 성공",工单详情:"티켓 상세 정보",登录成功:"로그인 성공","确定退出?":"확실히 종료하시겠습니까?",支付成功:"결제 성공",正在前往收银台:"결제 진행 중",请输入正确的划转金额:"정확한 이체 금액을 입력하세요",划转成功:"이체 성공",提现方式不能为空:"출금 방식은 비워 둘 수 없습니다",提现账号不能为空:"출금 계좌는 비워 둘 수 없습니다",已绑定:"이미 연결됨",创建成功:"생성 성공",关闭成功:"종료 성공"},sk=Object.freeze(Object.defineProperty({__proto__:null,default:kBe},Symbol.toStringTag,{value:"Module"})),PBe={请求失败:"Yêu Cầu Thất Bại",月付:"Tháng",季付:"Hàng Quý",半年付:"6 Tháng",年付:"Năm",两年付:"Hai Năm",三年付:"Ba Năm",一次性:"Dài Hạn",重置流量包:"Cập Nhật Dung Lượng",待支付:"Đợi Thanh Toán",开通中:"Đang xử lý",已取消:"Đã Hủy",已完成:"Thực Hiện",已折抵:"Quy Đổi",待确认:"Đợi Xác Nhận",发放中:"Đang Xác Nhận",已发放:"Hoàn Thành",无效:"Không Hợp Lệ",个人中心:"Trung Tâm Kiểm Soát",登出:"Đăng Xuất",搜索:"Tìm Kiếm",仪表盘:"Trang Chủ",订阅:"Gói Dịch Vụ",我的订阅:"Gói Dịch Vụ Của Tôi",购买订阅:"Mua Gói Dịch Vụ",财务:"Tài Chính",我的订单:"Đơn Hàng Của Tôi",我的邀请:"Lời Mời Của Tôi",用户:"Người Dùng",我的工单:"Liên Hệ Với Chúng Tôi",流量明细:"Chi Tiết Dung Lượng",使用文档:"Tài liệu sử dụng",绑定Telegram获取更多服务:"Liên kết Telegram thêm dịch vụ",点击这里进行绑定:"Ấn vào để liên kết",公告:"Thông Báo",总览:"Tổng Quat",该订阅长期有效:"Gói này có thời hạn dài",已过期:"Tài khoản hết hạn","已用 {used} / 总计 {total}":"Đã sử dụng {used} / Tổng dung lượng {total}",查看订阅:"Xem Dịch Vụ",邮箱:"E-mail",邮箱验证码:"Mã xác minh mail",发送:"Gửi",重置密码:"Đặt Lại Mật Khẩu",返回登入:"Về đăng nhập",邀请码:"Mã mời",复制链接:"Sao chép đường dẫn",完成时间:"Thời gian hoàn thành",佣金:"Tiền hoa hồng",已注册用户数:"Số người dùng đã đăng ký",佣金比例:"Tỷ lệ hoa hồng",确认中的佣金:"Hoa hồng đang xác nhận","佣金将会在确认后会到达你的佣金账户。":"Sau khi xác nhận tiền hoa hồng sẽ gửi đến tài khoản hoa hồng của bạn.",邀请码管理:"Quản lý mã mời",生成邀请码:"Tạo mã mời",佣金发放记录:"Hồ sơ hoa hồng",复制成功:"Sao chép thành công",密码:"Mật khẩu",登入:"Đăng nhập",注册:"Đăng ký",忘记密码:"Quên mật khẩu","# 订单号":"# Mã đơn hàng",周期:"Chu Kỳ",订单金额:"Tiền đơn hàng",订单状态:"Trạng thái đơn",创建时间:"Thời gian tạo",操作:"Thao tác",查看详情:"Xem chi tiết",请选择支付方式:"Chọn phương thức thanh toán",请检查信用卡支付信息:"Hãy kiểm tra thông tin thẻ thanh toán",订单详情:"Chi tiết đơn hàng",折扣:"Chiết khấu",折抵:"Giảm giá",退款:"Hoàn lại",支付方式:"Phương thức thanh toán",填写信用卡支付信息:"Điền thông tin Thẻ Tín Dụng","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"Thông tin thẻ tín dụng của bạn sẽ chỉ được sử dụng cho lần thanh toán này, hệ thống sẽ không lưu thông tin đó, chúng tôi nghĩ đây à cách an toàn nhất.",订单总额:"Tổng tiền đơn hàng",总计:"Tổng",结账:"Kết toán",等待支付中:"Đang chờ thanh toán","订单系统正在进行处理,请稍等1-3分钟。":"Hệ thống đang xử lý đơn hàng, vui lòng đợi 1-3p.","订单由于超时支付已被取消。":"Do quá giờ nên đã hủy đơn hàng.","订单已支付并开通。":"Đơn hàng đã thanh toán và mở.",选择订阅:"Chọn gói",立即订阅:"Mua gói ngay",配置订阅:"Thiết lập gói",付款周期:"Chu kỳ thanh toán","有优惠券?":"Có phiếu giảm giá?",验证:"Xác minh",下单:"Đặt hàng","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"Việc thay đổi gói dịch vụ sẽ thay thế gói hiện tại bằng gói mới, xin lưu ý.",该订阅无法续费:"Gói này không thể gia hạn",选择其他订阅:"Chọn gói dịch vụ khác",我的钱包:"Ví tiền của tôi","账户余额(仅消费)":"Số dư tài khoản (Chỉ tiêu dùng)","推广佣金(可提现)":"Tiền hoa hồng giới thiệu (Được rút)",钱包组成部分:"Thành phần ví tiền",划转:"Chuyển khoản",推广佣金提现:"Rút tiền hoa hồng giới thiệu",修改密码:"Đổi mật khẩu",保存:"Lưu",旧密码:"Mật khẩu cũ",新密码:"Mật khẩu mới",请输入旧密码:"Hãy nhập mật khẩu cũ",请输入新密码:"Hãy nhập mật khẩu mới",通知:"Thông Báo",到期邮件提醒:"Mail nhắc đến hạn",流量邮件提醒:"Mail nhắc dung lượng",绑定Telegram:"Liên kết Telegram",立即开始:"Bắt Đầu",重置订阅信息:"Reset thông tin gói",重置:"Reset","确定要重置订阅信息?":"Xác nhận reset thông tin gói?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"Nếu địa chỉ hoặc thông tin gói dịch vụ của bạn bị tiết lộ có thể tiến hành thao tác này. Sau khi reset UUID sẽ thay đổi.",重置成功:"Reset thành công",两次新密码输入不同:"Mật khẩu mới xác nhận không khớp",两次密码输入不同:"Mật khẩu xác nhận không khớp","邀请码(选填)":"Mã mời(Điền)",'我已阅读并同意 服务条款':"Tôi đã đọc và đồng ý điều khoản dịch vụ",请同意服务条款:"Hãy đồng ý điều khoản dịch vụ",名称:"Tên",标签:"Nhãn",状态:"Trạng thái",节点五分钟内节点在线情况:"Node trạng thái online trong vòng 5 phút",倍率:"Bội số",使用的流量将乘以倍率进行扣除:"Dung lượng sử dụng nhân với bội số rồi khấu trừ",更多操作:"Thêm thao tác","没有可用节点,如果您未订阅或已过期请":"Chưa có node khả dụng, nếu bạn chưa mua gói hoặc đã hết hạn hãy","确定重置当前已用流量?":"确定重置当前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"Ấn 「OK」 sẽ chuyển đến trang thanh toán, sau khi thanh toán đơn hàng hệ thống sẽ xóa dung lượng đã dùng tháng này của bạn.",确定:"OK",低:"Thấp",中:"Vừa",高:"Cao",主题:"Chủ Đề",工单级别:"Cấp độ",工单状态:"Trạng thái",最后回复:"Trả lời gần đây",已关闭:"Đã đóng",待回复:"Chờ trả lời",已回复:"Đã trả lời",查看:"Xem",关闭:"Đóng",新的工单:"Việc mới",确认:"OK",请输入工单主题:"Hãy nhập chủ đề công việc",工单等级:"Cấp độ công việc",请选择工单等级:"Hãy chọn cấp độ công việc",消息:"Thông tin",请描述你遇到的问题:"Hãy mô tả vấn đề gặp phải",记录时间:"Thời gian ghi",实际上行:"Upload thực tế",实际下行:"Download thực tế",合计:"Cộng","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"Công thức: (upload thực tế + download thực tế) x bội số trừ phí = Dung lượng khấu trừ",复制订阅地址:"Sao chép liên kết",导入到:"Nhập vào",一键订阅:"Nhấp chuột để đồng bộ máy chủ",复制订阅:"Sao chép liên kết",推广佣金划转至余额:"Chuyển khoản hoa hồng giới thiệu đến số dư","划转后的余额仅用于{title}消费使用":"Số dư sau khi chuyển khoản chỉ dùng để tiêu dùng {title}",当前推广佣金余额:"Số dư hoa hồng giới thiệu hiện tại",划转金额:"Chuyển tiền",请输入需要划转到余额的金额:"Hãy nhậo số tiền muốn chuyển đến số dư","输入内容回复工单...":"Nhập nội dung trả lời công việc...",申请提现:"Yêu cầu rút tiền",取消:"Hủy",提现方式:"Phương thức rút tiền",请选择提现方式:"Hãy chọn phương thức rút tiền",提现账号:"Rút về tào khoản",请输入提现账号:"Hãy chọn tài khoản rút tiền",我知道了:"OK",第一步:"Bước 1",第二步:"Bước 2",打开Telegram搜索:"Mở Telegram tìm kiếm",向机器人发送你的:"Gửi cho bot","最后更新: {date}":"Cập nhật gần đây: {date}",还有没支付的订单:"Có đơn hàng chưa thanh toán",立即支付:"Thanh toán ngay",条工单正在处理中:" công việc đang xử lý",立即查看:"Xem Ngay",节点状态:"Trạng thái node",商品信息:"Thông tin",产品名称:"Tên sản phẩm","类型/周期":"Loại/Chu kỳ",产品流量:"Dung Lượng",订单信息:"Thông tin đơn hàng",关闭订单:"Đóng đơn hàng",订单号:"Mã đơn hàng",优惠金额:"Tiền ưu đãi",旧订阅折抵金额:"Tiền giảm giá gói cũ",退款金额:"Số tiền hoàn lại",余额支付:"Thanh toán số dư",工单历史:"Lịch sử đơn hàng","已用流量将在 {reset_day} 日后重置":"Dữ liệu đã sử dụng sẽ được đặt lại sau {reset_day} ngày",已用流量已在今日重置:"Dữ liệu đã sử dụng đã được đặt lại trong ngày hôm nay",重置已用流量:"Đặt lại dữ liệu đã sử dụng",查看节点状态:"Xem trạng thái nút","当前已使用流量达{rate}%":"Dữ liệu đã sử dụng hiện tại đạt {rate}%",节点名称:"Tên node","于 {date} 到期,距离到期还有 {day} 天。":"Hết hạn vào {date}, còn {day} ngày.","Telegram 讨论组":"Nhóm Telegram",立即加入:"Vào ngay","该订阅无法续费,仅允许新用户购买":"Đăng ký này không thể gia hạn, chỉ người dùng mới được phép mua",重置当月流量:"Đặt lại dung lượng tháng hiện tại","流量明细仅保留近月数据以供查询。":"Chi tiết dung lượng chỉ lưu dữ liệu của những tháng gần đây để truy vấn.",扣费倍率:"Tỷ lệ khấu trừ",支付手续费:"Phí thủ tục",续费订阅:"Gia hạn đăng ký",学习如何使用:"Hướng dẫn sử dụng",快速将节点导入对应客户端进行使用:"Bạn cần phải mua gói này",对您当前的订阅进行续费:"Gia hạn gói hiện tại",对您当前的订阅进行购买:"Mua gói bạn đã chọn",捷径:"Phím tắt","不会使用,查看使用教程":"Mua gói này nếu bạn đăng ký",使用支持扫码的客户端进行订阅:"Sử dụng ứng dụng quét mã để đăng ký",扫描二维码订阅:"Quét mã QR để đăng ký",续费:"Gia hạn",购买:"Mua",查看教程:"Xem hướng dẫn",注意:"Chú Ý","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"Bạn vẫn còn đơn đặt hàng chưa hoàn thành. Bạn cần hủy trước khi mua. Bạn có chắc chắn muốn hủy đơn đặt hàng trước đó không ?",确定取消:"Đúng/không",返回我的订单:"Quay lại đơn đặt hàng của tôi","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"Nếu bạn đã thanh toán, việc hủy đơn hàng có thể khiến việc thanh toán không thành công. Bạn có chắc chắn muốn hủy đơn hàng không ?",选择最适合你的计划:"Chọn kế hoạch phù hợp với bạn nhất",全部:"Tất cả",按周期:"Chu kỳ",遇到问题:"Chúng tôi có một vấn đề",遇到问题可以通过工单与我们沟通:"Nếu bạn gặp sự cố, bạn có thể liên lạc với chúng tôi thông qua ",按流量:"Theo lưu lượng",搜索文档:"Tìm kiếm tài liệu",技术支持:"Hỗ trợ kỹ thuật",当前剩余佣金:"Số dư hoa hồng hiện tại",三级分销比例:"Tỷ lệ phân phối cấp 3",累计获得佣金:"Tổng hoa hồng đã nhận","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"Người dùng bạn mời lại mời người dùng sẽ được chia theo tỷ lệ của số tiền đơn hàng nhân với cấp độ phân phối.",发放时间:"Thời gian thanh toán hoa hồng","{number} 人":"{number} người","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"Nếu địa chỉ đăng ký hoặc tài khoản của bạn bị rò rỉ và bị người khác lạm dụng, bạn có thể đặt lại thông tin đăng ký tại đây để tránh mất mát không cần thiết.",再次输入密码:"Nhập lại mật khẩu",返回登陆:"Quay lại Đăng nhập",选填:"Tùy chọn",必填:"Bắt buộc",最后回复时间:"Thời gian Trả lời Cuối cùng",请选项工单等级:"Vui lòng Chọn Mức độ Ưu tiên Công việc",回复:"Trả lời",输入内容回复工单:"Nhập Nội dung để Trả lời Công việc",已生成:"Đã tạo",选择协议:"Chọn Giao thức",自动:"Tự động",流量重置包:"Gói Reset Dữ liệu",复制失败:"Sao chép thất bại",提示:"Thông báo","确认退出?":"Xác nhận Đăng xuất?",已退出登录:"Đã đăng xuất thành công",请输入邮箱地址:"Nhập địa chỉ email","{second}秒后可重新发送":"Gửi lại sau {second} giây",发送成功:"Gửi thành công",请输入账号密码:"Nhập tên đăng nhập và mật khẩu",请确保两次密码输入一致:"Đảm bảo hai lần nhập mật khẩu giống nhau",注册成功:"Đăng ký thành công","重置密码成功,正在返回登录":"Đặt lại mật khẩu thành công, đang quay trở lại trang đăng nhập",确认取消:"Xác nhận Hủy","请注意,变更订阅会导致当前订阅被覆盖。":"Vui lòng lưu ý rằng thay đổi đăng ký sẽ ghi đè lên đăng ký hiện tại.","订单提交成功,正在跳转支付":"Đơn hàng đã được gửi thành công, đang chuyển hướng đến thanh toán.",回复成功:"Trả lời thành công",工单详情:"Chi tiết Ticket",登录成功:"Đăng nhập thành công","确定退出?":"Xác nhận thoát?",支付成功:"Thanh toán thành công",正在前往收银台:"Đang tiến hành thanh toán",请输入正确的划转金额:"Vui lòng nhập số tiền chuyển đúng",划转成功:"Chuyển khoản thành công",提现方式不能为空:"Phương thức rút tiền không được để trống",提现账号不能为空:"Tài khoản rút tiền không được để trống",已绑定:"Đã liên kết",创建成功:"Tạo thành công",关闭成功:"Đóng thành công"},lk=Object.freeze(Object.defineProperty({__proto__:null,default:PBe},Symbol.toStringTag,{value:"Module"})),TBe={请求失败:"请求失败",月付:"月付",季付:"季付",半年付:"半年付",年付:"年付",两年付:"两年付",三年付:"三年付",一次性:"一次性",重置流量包:"重置流量包",待支付:"待支付",开通中:"开通中",已取消:"已取消",已完成:"已完成",已折抵:"已折抵",待确认:"待确认",发放中:"发放中",已发放:"已发放",无效:"无效",个人中心:"个人中心",登出:"登出",搜索:"搜索",仪表盘:"仪表盘",订阅:"订阅",我的订阅:"我的订阅",购买订阅:"购买订阅",财务:"财务",我的订单:"我的订单",我的邀请:"我的邀请",用户:"用户",我的工单:"我的工单",流量明细:"流量明细",使用文档:"使用文档",绑定Telegram获取更多服务:"绑定 Telegram 获取更多服务",点击这里进行绑定:"点击这里进行绑定",公告:"公告",总览:"总览",该订阅长期有效:"该订阅长期有效",已过期:"已过期","已用 {used} / 总计 {total}":"已用 {used} / 总计 {total}",查看订阅:"查看订阅",邮箱:"邮箱",邮箱验证码:"邮箱验证码",发送:"发送",重置密码:"重置密码",返回登入:"返回登入",邀请码:"邀请码",复制链接:"复制链接",完成时间:"完成时间",佣金:"佣金",已注册用户数:"已注册用户数",佣金比例:"佣金比例",确认中的佣金:"确认中的佣金","佣金将会在确认后会到达你的佣金账户。":"佣金将会在确认后到达您的佣金账户。",邀请码管理:"邀请码管理",生成邀请码:"生成邀请码",佣金发放记录:"佣金发放记录",复制成功:"复制成功",密码:"密码",登入:"登入",注册:"注册",忘记密码:"忘记密码","# 订单号":"# 订单号",周期:"周期",订单金额:"订单金额",订单状态:"订单状态",创建时间:"创建时间",操作:"操作",查看详情:"查看详情",请选择支付方式:"请选择支付方式",请检查信用卡支付信息:"请检查信用卡支付信息",订单详情:"订单详情",折扣:"折扣",折抵:"折抵",退款:"退款",支付方式:"支付方式",填写信用卡支付信息:"填写信用卡支付信息","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"您的信用卡信息只会用于当次扣款,系统并不会保存,我们认为这是最安全的。",订单总额:"订单总额",总计:"总计",结账:"结账",等待支付中:"等待支付中","订单系统正在进行处理,请稍等1-3分钟。":"订单系统正在进行处理,请等候 1-3 分钟。","订单由于超时支付已被取消。":"订单由于超时支付已被取消。","订单已支付并开通。":"订单已支付并开通。",选择订阅:"选择订阅",立即订阅:"立即订阅",配置订阅:"配置订阅",付款周期:"付款周期","有优惠券?":"有优惠券?",验证:"验证",下单:"下单","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"请注意,变更订阅会导致当前订阅被新订阅覆盖。",该订阅无法续费:"该订阅无法续费",选择其他订阅:"选择其它订阅",我的钱包:"我的钱包","账户余额(仅消费)":"账户余额(仅消费)","推广佣金(可提现)":"推广佣金(可提现)",钱包组成部分:"钱包组成部分",划转:"划转",推广佣金提现:"推广佣金提现",修改密码:"修改密码",保存:"保存",旧密码:"旧密码",新密码:"新密码",请输入旧密码:"请输入旧密码",请输入新密码:"请输入新密码",通知:"通知",到期邮件提醒:"到期邮件提醒",流量邮件提醒:"流量邮件提醒",绑定Telegram:"绑定 Telegram",立即开始:"立即开始",重置订阅信息:"重置订阅信息",重置:"重置","确定要重置订阅信息?":"确定要重置订阅信息?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"如果您的订阅地址或信息发生泄露可以执行此操作。重置后您的 UUID 及订阅将会变更,需要重新导入订阅。",重置成功:"重置成功",两次新密码输入不同:"两次新密码输入不同",两次密码输入不同:"两次密码输入不同","邀请码(选填)":"邀请码(选填)",'我已阅读并同意 服务条款':'我已阅读并同意 服务条款',请同意服务条款:"请同意服务条款",名称:"名称",标签:"标签",状态:"状态",节点五分钟内节点在线情况:"五分钟内节点在线情况",倍率:"倍率",使用的流量将乘以倍率进行扣除:"使用的流量将乘以倍率进行扣除",更多操作:"更多操作","没有可用节点,如果您未订阅或已过期请":"没有可用节点,如果您未订阅或已过期请","确定重置当前已用流量?":"确定重置当前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。",确定:"确定",低:"低",中:"中",高:"高",主题:"主题",工单级别:"工单级别",工单状态:"工单状态",最后回复:"最后回复",已关闭:"已关闭",待回复:"待回复",已回复:"已回复",查看:"查看",关闭:"关闭",新的工单:"新的工单",确认:"确认",请输入工单主题:"请输入工单主题",工单等级:"工单等级",请选择工单等级:"请选择工单等级",消息:"消息",请描述你遇到的问题:"请描述您遇到的问题",记录时间:"记录时间",实际上行:"实际上行",实际下行:"实际下行",合计:"合计","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量",复制订阅地址:"复制订阅地址",导入到:"导入到",一键订阅:"一键订阅",复制订阅:"复制订阅",推广佣金划转至余额:"推广佣金划转至余额","划转后的余额仅用于{title}消费使用":"划转后的余额仅用于{title}消费使用",当前推广佣金余额:"当前推广佣金余额",划转金额:"划转金额",请输入需要划转到余额的金额:"请输入需要划转到余额的金额","输入内容回复工单...":"输入内容回复工单...",申请提现:"申请提现",取消:"取消",提现方式:"提现方式",请选择提现方式:"请选择提现方式",提现账号:"提现账号",请输入提现账号:"请输入提现账号",我知道了:"我知道了",第一步:"第一步",第二步:"第二步",打开Telegram搜索:"打开 Telegram 搜索",向机器人发送你的:"向机器人发送您的",最后更新:"{date}",还有没支付的订单:"还有没支付的订单",立即支付:"立即支付",条工单正在处理中:"条工单正在处理中",立即查看:"立即查看",节点状态:"节点状态",商品信息:"商品信息",产品名称:"产品名称","类型/周期":"类型/周期",产品流量:"产品流量",订单信息:"订单信息",关闭订单:"关闭订单",订单号:"订单号",优惠金额:"优惠金额",旧订阅折抵金额:"旧订阅折抵金额",退款金额:"退款金额",余额支付:"余额支付",工单历史:"工单历史","已用流量将在 {reset_day} 日后重置":"已用流量将在 {reset_day} 日后重置",已用流量已在今日重置:"已用流量已在今日重置",重置已用流量:"重置已用流量",查看节点状态:"查看节点状态","当前已使用流量达{rate}%":"当前已使用流量达 {rate}%",节点名称:"节点名称","于 {date} 到期,距离到期还有 {day} 天。":"于 {date} 到期,距离到期还有 {day} 天。","Telegram 讨论组":"Telegram 讨论组",立即加入:"立即加入","该订阅无法续费,仅允许新用户购买":"该订阅无法续费,仅允许新用户购买",重置当月流量:"重置当月流量","流量明细仅保留近月数据以供查询。":"流量明细仅保留近一个月数据以供查询。",扣费倍率:"扣费倍率",支付手续费:"支付手续费",续费订阅:"续费订阅",学习如何使用:"学习如何使用",快速将节点导入对应客户端进行使用:"快速将节点导入对应客户端进行使用",对您当前的订阅进行续费:"对您当前的订阅进行续费",对您当前的订阅进行购买:"对您当前的订阅进行购买",捷径:"捷径","不会使用,查看使用教程":"不会使用,查看使用教程",使用支持扫码的客户端进行订阅:"使用支持扫码的客户端进行订阅",扫描二维码订阅:"扫描二维码订阅",续费:"续费",购买:"购买",查看教程:"查看教程",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"您还有未完成的订单,购买前需要先取消,确定要取消之前的订单吗?",确定取消:"确定取消",返回我的订单:"返回我的订单","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?",选择最适合你的计划:"选择最适合您的计划",全部:"全部",按周期:"按周期",遇到问题:"遇到问题",遇到问题可以通过工单与我们沟通:"遇到问题可以通过工单与我们沟通",按流量:"按流量",搜索文档:"搜索文档",技术支持:"技术支持",当前剩余佣金:"当前剩余佣金",三级分销比例:"三级分销比例",累计获得佣金:"累计获得佣金","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。",发放时间:"发放时间","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。",再次输入密码:"再次输入密码",返回登陆:"返回登录",选填:"选填",必填:"必填",最后回复时间:"最后回复时间",请选项工单等级:"请选择工单优先级",回复:"回复",输入内容回复工单:"输入内容回复工单",已生成:"已生成",选择协议:"选择协议",自动:"自动",流量重置包:"流量重置包",复制失败:"复制失败",提示:"提示","确认退出?":"确认退出?",已退出登录:"已成功退出登录",请输入邮箱地址:"请输入邮箱地址","{second}秒后可重新发送":"{second}秒后可重新发送",发送成功:"发送成功",请输入账号密码:"请输入账号密码",请确保两次密码输入一致:"请确保两次密码输入一致",注册成功:"注册成功","重置密码成功,正在返回登录":"重置密码成功,正在返回登录",确认取消:"确认取消","请注意,变更订阅会导致当前订阅被覆盖。":"请注意,变更订阅会导致当前订阅被覆盖。","订单提交成功,正在跳转支付":"订单提交成功,正在跳转支付",回复成功:"回复成功",工单详情:"工单详情",登录成功:"登录成功","确定退出?":"确定退出?",支付成功:"支付成功",正在前往收银台:"正在前往收银台",请输入正确的划转金额:"请输入正确的划转金额",划转成功:"划转成功",提现方式不能为空:"提现方式不能为空",提现账号不能为空:"提现账号不能为空",已绑定:"已绑定",创建成功:"创建成功",关闭成功:"关闭成功"},ck=Object.freeze(Object.defineProperty({__proto__:null,default:TBe},Symbol.toStringTag,{value:"Module"})),RBe={请求失败:"請求失敗",月付:"月繳制",季付:"季繳",半年付:"半年缴",年付:"年繳",两年付:"兩年繳",三年付:"三年繳",一次性:"一次性",重置流量包:"重置流量包",待支付:"待支付",开通中:"開通中",已取消:"已取消",已完成:"已完成",已折抵:"已折抵",待确认:"待確認",发放中:"發放中",已发放:"已發放",无效:"無效",个人中心:"您的帳戸",登出:"登出",搜索:"搜尋",仪表盘:"儀表板",订阅:"訂閱",我的订阅:"我的訂閱",购买订阅:"購買訂閱",财务:"財務",我的订单:"我的訂單",我的邀请:"我的邀請",用户:"使用者",我的工单:"我的工單",流量明细:"流量明細",使用文档:"說明文件",绑定Telegram获取更多服务:"綁定 Telegram 獲取更多服務",点击这里进行绑定:"點擊這裡進行綁定",公告:"公告",总览:"總覽",该订阅长期有效:"該訂閱長期有效",已过期:"已過期","已用 {used} / 总计 {total}":"已用 {used} / 總計 {total}",查看订阅:"查看訂閱",邮箱:"郵箱",邮箱验证码:"郵箱驗證碼",发送:"傳送",重置密码:"重設密碼",返回登入:"返回登錄",邀请码:"邀請碼",复制链接:"複製鏈接",完成时间:"完成時間",佣金:"佣金",已注册用户数:"已註冊用戶數",佣金比例:"佣金比例",确认中的佣金:"確認中的佣金","佣金将会在确认后会到达你的佣金账户。":"佣金將會在確認後到達您的佣金帳戶。",邀请码管理:"邀請碼管理",生成邀请码:"生成邀請碼",佣金发放记录:"佣金發放記錄",复制成功:"複製成功",密码:"密碼",登入:"登入",注册:"註冊",忘记密码:"忘記密碼","# 订单号":"# 訂單號",周期:"週期",订单金额:"訂單金額",订单状态:"訂單狀態",创建时间:"創建時間",操作:"操作",查看详情:"查看詳情",请选择支付方式:"請選擇支付方式",请检查信用卡支付信息:"請檢查信用卡支付資訊",订单详情:"訂單詳情",折扣:"折扣",折抵:"折抵",退款:"退款",支付方式:"支付方式",填写信用卡支付信息:"填寫信用卡支付資訊","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"您的信用卡資訊只會被用作當次扣款,系統並不會保存,我們認為這是最安全的。",订单总额:"訂單總額",总计:"總計",结账:"結賬",等待支付中:"等待支付中","订单系统正在进行处理,请稍等1-3分钟。":"訂單系統正在進行處理,請稍等 1-3 分鐘。","订单由于超时支付已被取消。":"訂單由於支付超時已被取消","订单已支付并开通。":"訂單已支付並開通",选择订阅:"選擇訂閱",立即订阅:"立即訂閱",配置订阅:"配置訂閱",付款周期:"付款週期","有优惠券?":"有優惠券?",验证:"驗證",下单:"下單","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"請注意,變更訂閱會導致當前訂閱被新訂閱覆蓋。",该订阅无法续费:"該訂閱無法續費",选择其他订阅:"選擇其它訂閱",我的钱包:"我的錢包","账户余额(仅消费)":"賬戶餘額(僅消費)","推广佣金(可提现)":"推廣佣金(可提現)",钱包组成部分:"錢包組成部分",划转:"劃轉",推广佣金提现:"推廣佣金提現",修改密码:"修改密碼",保存:"儲存",旧密码:"舊密碼",新密码:"新密碼",请输入旧密码:"請輸入舊密碼",请输入新密码:"請輸入新密碼",通知:"通知",到期邮件提醒:"到期郵件提醒",流量邮件提醒:"流量郵件提醒",绑定Telegram:"綁定 Telegram",立即开始:"立即開始",重置订阅信息:"重置訂閲資訊",重置:"重置","确定要重置订阅信息?":"確定要重置訂閱資訊?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"如果您的訂閱位址或資訊發生洩露可以執行此操作。重置後您的 UUID 及訂閱將會變更,需要重新導入訂閱。",重置成功:"重置成功",两次新密码输入不同:"兩次新密碼輸入不同",两次密码输入不同:"兩次密碼輸入不同","邀请码(选填)":"邀請碼(選填)",'我已阅读并同意 服务条款':'我已閱讀並同意 服務條款',请同意服务条款:"請同意服務條款",名称:"名稱",标签:"標籤",状态:"狀態",节点五分钟内节点在线情况:"五分鐘內節點線上情況",倍率:"倍率",使用的流量将乘以倍率进行扣除:"使用的流量將乘以倍率進行扣除",更多操作:"更多操作","没有可用节点,如果您未订阅或已过期请":"沒有可用節點,如果您未訂閱或已過期請","确定重置当前已用流量?":"確定重置當前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"點擊「確定」將會跳轉到收銀台,支付訂單後系統將會清空您當月已使用流量。",确定:"確定",低:"低",中:"中",高:"高",主题:"主題",工单级别:"工單級別",工单状态:"工單狀態",最后回复:"最新回復",已关闭:"已關閉",待回复:"待回復",已回复:"已回復",查看:"檢視",关闭:"關閉",新的工单:"新的工單",确认:"確認",请输入工单主题:"請輸入工單主題",工单等级:"工單等級",请选择工单等级:"請選擇工單等級",消息:"訊息",请描述你遇到的问题:"請描述您遇到的問題",记录时间:"記錄時間",实际上行:"實際上行",实际下行:"實際下行",合计:"合計","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"公式:(實際上行 + 實際下行) x 扣費倍率 = 扣除流量",复制订阅地址:"複製訂閲位址",导入到:"导入到",一键订阅:"一鍵訂閲",复制订阅:"複製訂閲",推广佣金划转至余额:"推廣佣金劃轉至餘額","划转后的余额仅用于{title}消费使用":"劃轉后的餘額僅用於 {title} 消費使用",当前推广佣金余额:"當前推廣佣金餘額",划转金额:"劃轉金額",请输入需要划转到余额的金额:"請輸入需要劃轉到餘額的金額","输入内容回复工单...":"輸入内容回復工單…",申请提现:"申請提現",取消:"取消",提现方式:"提現方式",请选择提现方式:"請選擇提現方式",提现账号:"提現賬號",请输入提现账号:"請輸入提現賬號",我知道了:"我知道了",第一步:"步驟一",第二步:"步驟二",打开Telegram搜索:"打開 Telegram 並搜索",向机器人发送你的:"向機器人發送您的","最后更新: {date}":"最後更新: {date}",还有没支付的订单:"還有未支付的訂單",立即支付:"立即支付",条工单正在处理中:"條工單正在處理中",立即查看:"立即檢視",节点状态:"節點狀態",商品信息:"商品資訊",产品名称:"產品名稱","类型/周期":"類型/週期",产品流量:"產品流量",订单信息:"訂單信息",关闭订单:"關閉訂單",订单号:"訂單號",优惠金额:"優惠金額",旧订阅折抵金额:"舊訂閲折抵金額",退款金额:"退款金額",余额支付:"餘額支付",工单历史:"工單歷史","已用流量将在 {reset_day} 日后重置":"已用流量將在 {reset_day} 日后重置",已用流量已在今日重置:"已用流量已在今日重置",重置已用流量:"重置已用流量",查看节点状态:"查看節點狀態","当前已使用流量达{rate}%":"當前已用流量達 {rate}%",节点名称:"節點名稱","于 {date} 到期,距离到期还有 {day} 天。":"於 {date} 到期,距離到期還有 {day} 天。","Telegram 讨论组":"Telegram 討論組",立即加入:"立即加入","该订阅无法续费,仅允许新用户购买":"該訂閲無法續費,僅允許新用戶購買",重置当月流量:"重置當月流量","流量明细仅保留近月数据以供查询。":"流量明細僅保留近一個月資料以供查詢。",扣费倍率:"扣费倍率",支付手续费:"支付手續費",续费订阅:"續費訂閲",学习如何使用:"學習如何使用",快速将节点导入对应客户端进行使用:"快速將訂閲導入對應的客戶端進行使用",对您当前的订阅进行续费:"對您的當前訂閲進行續費",对您当前的订阅进行购买:"重新購買您的當前訂閲",捷径:"捷徑","不会使用,查看使用教程":"不會使用,檢視使用檔案",使用支持扫码的客户端进行订阅:"使用支持掃碼的客戶端進行訂閲",扫描二维码订阅:"掃描二維碼訂閲",续费:"續費",购买:"購買",查看教程:"查看教程",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"您还有未完成的订单,购买前需要先取消,确定要取消之前的订单吗?",确定取消:"確定取消",返回我的订单:"返回我的訂單","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"如果您已經付款,取消訂單可能會導致支付失敗,確定要取消訂單嗎?",选择最适合你的计划:"選擇最適合您的計劃",全部:"全部",按周期:"按週期",遇到问题:"遇到問題",遇到问题可以通过工单与我们沟通:"遇到問題您可以通過工單與我們溝通",按流量:"按流量",搜索文档:"搜尋文檔",技术支持:"技術支援",当前剩余佣金:"当前剩余佣金",三级分销比例:"三级分销比例",累计获得佣金:"累计获得佣金","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。",发放时间:"发放时间","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"如果您的訂閱地址或帳戶洩漏並被他人濫用,您可以在此重置訂閱資訊,以避免不必要的損失。",再次输入密码:"請再次輸入密碼",返回登陆:"返回登入",选填:"選填",必填:"必填",最后回复时间:"最後回覆時間",请选项工单等级:"請選擇工單優先級",回复:"回覆",输入内容回复工单:"輸入內容回覆工單",已生成:"已生成",选择协议:"選擇協議",自动:"自動",流量重置包:"流量重置包",复制失败:"複製失敗",提示:"提示","确认退出?":"確認退出?",已退出登录:"已成功登出",请输入邮箱地址:"請輸入電子郵件地址","{second}秒后可重新发送":"{second} 秒後可重新發送",发送成功:"發送成功",请输入账号密码:"請輸入帳號和密碼",请确保两次密码输入一致:"請確保兩次密碼輸入一致",注册成功:"註冊成功","重置密码成功,正在返回登录":"重置密碼成功,正在返回登入",确认取消:"確認取消","请注意,变更订阅会导致当前订阅被覆盖。":"請注意,變更訂閱會導致目前的訂閱被覆蓋。","订单提交成功,正在跳转支付":"訂單提交成功,正在跳轉支付",回复成功:"回覆成功",工单详情:"工單詳情",登录成功:"登入成功","确定退出?":"確定退出?",支付成功:"支付成功",正在前往收银台:"正在前往收銀台",请输入正确的划转金额:"請輸入正確的劃轉金額",划转成功:"劃轉成功",提现方式不能为空:"提現方式不能為空",提现账号不能为空:"提現帳號不能為空",已绑定:"已綁定",创建成功:"創建成功",关闭成功:"關閉成功"},uk=Object.freeze(Object.defineProperty({__proto__:null,default:RBe},Symbol.toStringTag,{value:"Module"}))});export default $Be(); +`:">",i)};Wa.prototype.renderInline=function(e,t,n){for(var o,r="",i=this.rules,a=0,s=e.length;a\s]/i.test(e)}function kIe(e){return/^<\/a\s*>/i.test(e)}var PIe=function(t){var n,o,r,i,a,s,l,c,u,d,f,p,h,m,v,b,w=t.tokens,C;if(t.md.options.linkify){for(o=0,r=w.length;o=0;n--){if(s=i[n],s.type==="link_close"){for(n--;i[n].level!==s.level&&i[n].type!=="link_open";)n--;continue}if(s.type==="html_inline"&&(SIe(s.content)&&h>0&&h--,kIe(s.content)&&h++),!(h>0)&&s.type==="text"&&t.md.linkify.test(s.content)){for(u=s.content,C=t.md.linkify.match(u),l=[],p=s.level,f=0,C.length>0&&C[0].index===0&&n>0&&i[n-1].type==="text_special"&&(C=C.slice(1)),c=0;cf&&(a=new t.Token("text","",0),a.content=u.slice(f,d),a.level=p,l.push(a)),a=new t.Token("link_open","a",1),a.attrs=[["href",v]],a.level=p++,a.markup="linkify",a.info="auto",l.push(a),a=new t.Token("text","",0),a.content=b,a.level=p,l.push(a),a=new t.Token("link_close","a",-1),a.level=--p,a.markup="linkify",a.info="auto",l.push(a),f=C[c].lastIndex);f=0;t--)n=e[t],n.type==="text"&&!o&&(n.content=n.content.replace(RIe,$Ie)),n.type==="link_open"&&n.info==="auto"&&o--,n.type==="link_close"&&n.info==="auto"&&o++}function IIe(e){var t,n,o=0;for(t=e.length-1;t>=0;t--)n=e[t],n.type==="text"&&!o&&WS.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&o--,n.type==="link_close"&&n.info==="auto"&&o++}var OIe=function(t){var n;if(t.md.options.typographer)for(n=t.tokens.length-1;n>=0;n--)t.tokens[n].type==="inline"&&(TIe.test(t.tokens[n].content)&&AIe(t.tokens[n].children),WS.test(t.tokens[n].content)&&IIe(t.tokens[n].children))},b1=Ft.isWhiteSpace,y1=Ft.isPunctChar,x1=Ft.isMdAsciiPunct,MIe=/['"]/,C1=/['"]/g,w1="’";function Gl(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function zIe(e,t){var n,o,r,i,a,s,l,c,u,d,f,p,h,m,v,b,w,C,S,_,x;for(S=[],n=0;n=0&&!(S[w].level<=l);w--);if(S.length=w+1,o.type==="text"){r=o.content,a=0,s=r.length;e:for(;a=0)u=r.charCodeAt(i.index-1);else for(w=n-1;w>=0&&!(e[w].type==="softbreak"||e[w].type==="hardbreak");w--)if(e[w].content){u=e[w].content.charCodeAt(e[w].content.length-1);break}if(d=32,a=48&&u<=57&&(b=v=!1),v&&b&&(v=f,b=p),!v&&!b){C&&(o.content=Gl(o.content,i.index,w1));continue}if(b){for(w=S.length-1;w>=0&&(c=S[w],!(S[w].level=0;n--)t.tokens[n].type!=="inline"||!MIe.test(t.tokens[n].content)||zIe(t.tokens[n].children,t)},LIe=function(t){var n,o,r,i,a,s,l=t.tokens;for(n=0,o=l.length;n=0&&(o=this.attrs[n][1]),o};Ua.prototype.attrJoin=function(t,n){var o=this.attrIndex(t);o<0?this.attrPush([t,n]):this.attrs[o][1]=this.attrs[o][1]+" "+n};var $m=Ua,FIe=$m;function US(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}US.prototype.Token=FIe;var BIe=US,NIe=Em,of=[["normalize",xIe],["block",CIe],["inline",wIe],["linkify",PIe],["replacements",OIe],["smartquotes",DIe],["text_join",LIe]];function Am(){this.ruler=new NIe;for(var e=0;eo||(u=n+1,t.sCount[u]=4||(s=t.bMarks[u]+t.tShift[u],s>=t.eMarks[u])||(_=t.src.charCodeAt(s++),_!==124&&_!==45&&_!==58)||s>=t.eMarks[u]||(x=t.src.charCodeAt(s++),x!==124&&x!==45&&x!==58&&!rf(x))||_===45&&rf(x))return!1;for(;s=4||(d=_1(a),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),f=d.length,f===0||f!==h.length))return!1;if(r)return!0;for(w=t.parentType,t.parentType="table",S=t.md.block.ruler.getRules("blockquote"),p=t.push("table_open","table",1),p.map=v=[n,0],p=t.push("thead_open","thead",1),p.map=[n,n+1],p=t.push("tr_open","tr",1),p.map=[n,n+1],l=0;l=4)break;for(d=_1(a),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),u===n+2&&(p=t.push("tbody_open","tbody",1),p.map=b=[n+2,0]),p=t.push("tr_open","tr",1),p.map=[u,u+1],l=0;l=4){r++,i=r;continue}break}return t.line=i,a=t.push("code_block","code",0),a.content=t.getLines(n,i,4+t.blkIndent,!1)+` +`,a.map=[n,t.line],!0},WIe=function(t,n,o,r){var i,a,s,l,c,u,d,f=!1,p=t.bMarks[n]+t.tShift[n],h=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||p+3>h||(i=t.src.charCodeAt(p),i!==126&&i!==96)||(c=p,p=t.skipChars(p,i),a=p-c,a<3)||(d=t.src.slice(c,p),s=t.src.slice(p,h),i===96&&s.indexOf(String.fromCharCode(i))>=0))return!1;if(r)return!0;for(l=n;l++,!(l>=o||(p=c=t.bMarks[l]+t.tShift[l],h=t.eMarks[l],p=4)&&(p=t.skipChars(p,i),!(p-c=4||t.src.charCodeAt(T)!==62)return!1;if(r)return!0;for(h=[],m=[],w=[],C=[],x=t.md.block.ruler.getRules("blockquote"),b=t.parentType,t.parentType="blockquote",f=n;f=$));f++){if(t.src.charCodeAt(T++)===62&&!k){for(l=t.sCount[f]+1,t.src.charCodeAt(T)===32?(T++,l++,i=!1,S=!0):t.src.charCodeAt(T)===9?(S=!0,(t.bsCount[f]+l)%4===3?(T++,l++,i=!1):i=!0):S=!1,p=l,h.push(t.bMarks[f]),t.bMarks[f]=T;T<$&&(a=t.src.charCodeAt(T),UIe(a));){a===9?p+=4-(p+t.bsCount[f]+(i?1:0))%4:p++;T++}u=T>=$,m.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(S?1:0),w.push(t.sCount[f]),t.sCount[f]=p-l,C.push(t.tShift[f]),t.tShift[f]=T-t.bMarks[f];continue}if(u)break;for(_=!1,s=0,c=x.length;s",y.map=d=[n,0],t.md.block.tokenize(t,n,f),y=t.push("blockquote_close","blockquote",-1),y.markup=">",t.lineMax=P,t.parentType=b,d[1]=t.line,s=0;s=4||(i=t.src.charCodeAt(c++),i!==42&&i!==45&&i!==95))return!1;for(a=1;c=i||(n=e.src.charCodeAt(r++),n<48||n>57))return-1;for(;;){if(r>=i)return-1;if(n=e.src.charCodeAt(r++),n>=48&&n<=57){if(r-o>=10)return-1;continue}if(n===41||n===46)break;return-1}return r=4||t.listIndent>=0&&t.sCount[M]-t.listIndent>=4&&t.sCount[M]=t.blkIndent&&(Y=!0),(T=k1(t,M))>=0){if(d=!0,R=t.bMarks[M]+t.tShift[M],b=Number(t.src.slice(R,T-1)),Y&&b!==1)return!1}else if((T=S1(t,M))>=0)d=!1;else return!1;if(Y&&t.skipSpaces(T)>=t.eMarks[M])return!1;if(r)return!0;for(v=t.src.charCodeAt(T-1),m=t.tokens.length,d?(D=t.push("ordered_list_open","ol",1),b!==1&&(D.attrs=[["start",b]])):D=t.push("bullet_list_open","ul",1),D.map=h=[M,0],D.markup=String.fromCharCode(v),$=!1,H=t.md.block.ruler.getRules("list"),_=t.parentType,t.parentType="list";M=w?c=1:c=C-u,c>4&&(c=1),l=u+c,D=t.push("list_item_open","li",1),D.markup=String.fromCharCode(v),D.map=f=[M,0],d&&(D.info=t.src.slice(R,T-1)),k=t.tight,y=t.tShift[M],x=t.sCount[M],S=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=l,t.tight=!0,t.tShift[M]=a-t.bMarks[M],t.sCount[M]=C,a>=w&&t.isEmpty(M+1)?t.line=Math.min(t.line+2,o):t.md.block.tokenize(t,M,o,!0),(!t.tight||$)&&(Q=!1),$=t.line-M>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=S,t.tShift[M]=y,t.sCount[M]=x,t.tight=k,D=t.push("list_item_close","li",-1),D.markup=String.fromCharCode(v),M=t.line,f[1]=M,M>=o||t.sCount[M]=4)break;for(K=!1,s=0,p=H.length;s=4||t.src.charCodeAt(x)!==91)return!1;for(;++x3)&&!(t.sCount[k]<0)){for(w=!1,u=0,d=C.length;u"u"&&(t.env.references={}),typeof t.env.references[f]>"u"&&(t.env.references[f]={title:S,href:c}),t.parentType=h,t.line=n+_+1),!0)},QIe=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Uu={},eOe="[a-zA-Z_:][a-zA-Z0-9:._-]*",tOe="[^\"'=<>`\\x00-\\x20]+",nOe="'[^']*'",oOe='"[^"]*"',rOe="(?:"+tOe+"|"+nOe+"|"+oOe+")",iOe="(?:\\s+"+eOe+"(?:\\s*=\\s*"+rOe+")?)",KS="<[A-Za-z][A-Za-z0-9\\-]*"+iOe+"*\\s*\\/?>",GS="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",aOe="|",sOe="<[?][\\s\\S]*?[?]>",lOe="]*>",cOe="",uOe=new RegExp("^(?:"+KS+"|"+GS+"|"+aOe+"|"+sOe+"|"+lOe+"|"+cOe+")"),dOe=new RegExp("^(?:"+KS+"|"+GS+")");Uu.HTML_TAG_RE=uOe;Uu.HTML_OPEN_CLOSE_TAG_RE=dOe;var fOe=QIe,hOe=Uu.HTML_OPEN_CLOSE_TAG_RE,ea=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(hOe.source+"\\s*$"),/^$/,!1]],pOe=function(t,n,o,r){var i,a,s,l,c=t.bMarks[n]+t.tShift[n],u=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||!t.md.options.html||t.src.charCodeAt(c)!==60)return!1;for(l=t.src.slice(c,u),i=0;i=4||(i=t.src.charCodeAt(c),i!==35||c>=u))return!1;for(a=1,i=t.src.charCodeAt(++c);i===35&&c6||cc&&P1(t.src.charCodeAt(s-1))&&(u=s),t.line=n+1,l=t.push("heading_open","h"+String(a),1),l.markup="########".slice(0,a),l.map=[n,t.line],l=t.push("inline","",0),l.content=t.src.slice(c,u).trim(),l.map=[n,t.line],l.children=[],l=t.push("heading_close","h"+String(a),-1),l.markup="########".slice(0,a)),!0)},gOe=function(t,n,o){var r,i,a,s,l,c,u,d,f,p=n+1,h,m=t.md.block.ruler.getRules("paragraph");if(t.sCount[n]-t.blkIndent>=4)return!1;for(h=t.parentType,t.parentType="paragraph";p3)){if(t.sCount[p]>=t.blkIndent&&(c=t.bMarks[p]+t.tShift[p],u=t.eMarks[p],c=u)))){d=f===61?1:2;break}if(!(t.sCount[p]<0)){for(i=!1,a=0,s=m.length;a3)&&!(t.sCount[u]<0)){for(i=!1,a=0,s=d.length;a0&&this.level++,this.tokens.push(o),o};Ko.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};Ko.prototype.skipEmptyLines=function(t){for(var n=this.lineMax;tn;)if(!qu(this.src.charCodeAt(--t)))return t+1;return t};Ko.prototype.skipChars=function(t,n){for(var o=this.src.length;to;)if(n!==this.src.charCodeAt(--t))return t+1;return t};Ko.prototype.getLines=function(t,n,o,r){var i,a,s,l,c,u,d,f=t;if(t>=n)return"";for(u=new Array(n-t),i=0;fo?u[i]=new Array(a-o+1).join(" ")+this.src.slice(l,c):u[i]=this.src.slice(l,c)}return u.join("")};Ko.prototype.Token=YS;var bOe=Ko,yOe=Em,Xl=[["table",jIe,["paragraph","reference"]],["code",VIe],["fence",WIe,["paragraph","reference","blockquote","list"]],["blockquote",qIe,["paragraph","reference","blockquote","list"]],["hr",GIe,["paragraph","reference","blockquote","list"]],["list",XIe,["paragraph","reference","blockquote"]],["reference",JIe],["html_block",pOe,["paragraph","reference","blockquote"]],["heading",mOe,["paragraph","reference","blockquote"]],["lheading",gOe],["paragraph",vOe]];function Ku(){this.ruler=new yOe;for(var e=0;e=n||e.sCount[l]=u){e.line=n;break}for(i=e.line,r=0;r=e.line)throw new Error("block rule didn't increment state.line");break}if(!o)throw new Error("none of the block rules matched");e.tight=!c,e.isEmpty(e.line-1)&&(c=!0),l=e.line,l0||(o=t.pos,r=t.posMax,o+3>r)||t.src.charCodeAt(o)!==58||t.src.charCodeAt(o+1)!==47||t.src.charCodeAt(o+2)!==47||(i=t.pending.match(_Oe),!i)||(a=i[1],s=t.md.linkify.matchAtStart(t.src.slice(o-a.length)),!s)||(l=s.url,l.length<=a.length)||(l=l.replace(/\*+$/,""),c=t.md.normalizeLink(l),!t.md.validateLink(c))?!1:(n||(t.pending=t.pending.slice(0,-a.length),u=t.push("link_open","a",1),u.attrs=[["href",c]],u.markup="linkify",u.info="auto",u=t.push("text","",0),u.content=t.md.normalizeLinkText(l),u=t.push("link_close","a",-1),u.markup="linkify",u.info="auto"),t.pos+=l.length-a.length,!0)},kOe=Ft.isSpace,POe=function(t,n){var o,r,i,a=t.pos;if(t.src.charCodeAt(a)!==10)return!1;if(o=t.pending.length-1,r=t.posMax,!n)if(o>=0&&t.pending.charCodeAt(o)===32)if(o>=1&&t.pending.charCodeAt(o-1)===32){for(i=o-1;i>=1&&t.pending.charCodeAt(i-1)===32;)i--;t.pending=t.pending.slice(0,i),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(a++;a?@[]^_`{|}~-".split("").forEach(function(e){Im[e.charCodeAt(0)]=1});var ROe=function(t,n){var o,r,i,a,s,l=t.pos,c=t.posMax;if(t.src.charCodeAt(l)!==92||(l++,l>=c))return!1;if(o=t.src.charCodeAt(l),o===10){for(n||t.push("hardbreak","br",0),l++;l=55296&&o<=56319&&l+1=56320&&r<=57343&&(a+=t.src[l+1],l++)),i="\\"+a,n||(s=t.push("text_special","",0),o<256&&Im[o]!==0?s.content=a:s.content=i,s.markup=i,s.info="escape"),t.pos=l+1,!0},EOe=function(t,n){var o,r,i,a,s,l,c,u,d=t.pos,f=t.src.charCodeAt(d);if(f!==96)return!1;for(o=d,d++,r=t.posMax;d=0;n--)o=t[n],!(o.marker!==95&&o.marker!==42)&&o.end!==-1&&(r=t[o.end],s=n>0&&t[n-1].end===o.end+1&&t[n-1].marker===o.marker&&t[n-1].token===o.token-1&&t[o.end+1].token===r.token+1,a=String.fromCharCode(o.marker),i=e.tokens[o.token],i.type=s?"strong_open":"em_open",i.tag=s?"strong":"em",i.nesting=1,i.markup=s?a+a:a,i.content="",i=e.tokens[r.token],i.type=s?"strong_close":"em_close",i.tag=s?"strong":"em",i.nesting=-1,i.markup=s?a+a:a,i.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[o.end+1].token].content="",n--))}Yu.postProcess=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for(E1(t,t.delimiters),n=0;n=m)return!1;if(v=l,c=t.md.helpers.parseLinkDestination(t.src,l,t.posMax),c.ok){for(f=t.md.normalizeLink(c.str),t.md.validateLink(f)?l=c.pos:f="",v=l;l=m||t.src.charCodeAt(l)!==41)&&(b=!0),l++}if(b){if(typeof t.env.references>"u")return!1;if(l=0?i=t.src.slice(v,l++):l=a+1):l=a+1,i||(i=t.src.slice(s,a)),u=t.env.references[$Oe(i)],!u)return t.pos=h,!1;f=u.href,p=u.title}return n||(t.pos=s,t.posMax=a,d=t.push("link_open","a",1),d.attrs=o=[["href",f]],p&&o.push(["title",p]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,d=t.push("link_close","a",-1)),t.pos=l,t.posMax=m,!0},IOe=Ft.normalizeReference,lf=Ft.isSpace,OOe=function(t,n){var o,r,i,a,s,l,c,u,d,f,p,h,m,v="",b=t.pos,w=t.posMax;if(t.src.charCodeAt(t.pos)!==33||t.src.charCodeAt(t.pos+1)!==91||(l=t.pos+2,s=t.md.helpers.parseLinkLabel(t,t.pos+1,!1),s<0))return!1;if(c=s+1,c=w)return!1;for(m=c,d=t.md.helpers.parseLinkDestination(t.src,c,t.posMax),d.ok&&(v=t.md.normalizeLink(d.str),t.md.validateLink(v)?c=d.pos:v=""),m=c;c=w||t.src.charCodeAt(c)!==41)return t.pos=b,!1;c++}else{if(typeof t.env.references>"u")return!1;if(c=0?a=t.src.slice(m,c++):c=s+1):c=s+1,a||(a=t.src.slice(l,s)),u=t.env.references[IOe(a)],!u)return t.pos=b,!1;v=u.href,f=u.title}return n||(i=t.src.slice(l,s),t.md.inline.parse(i,t.md,t.env,h=[]),p=t.push("image","img",0),p.attrs=o=[["src",v],["alt",""]],p.children=h,p.content=i,f&&o.push(["title",f])),t.pos=c,t.posMax=w,!0},MOe=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,zOe=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,DOe=function(t,n){var o,r,i,a,s,l,c=t.pos;if(t.src.charCodeAt(c)!==60)return!1;for(s=t.pos,l=t.posMax;;){if(++c>=l||(a=t.src.charCodeAt(c),a===60))return!1;if(a===62)break}return o=t.src.slice(s+1,c),zOe.test(o)?(r=t.md.normalizeLink(o),t.md.validateLink(r)?(n||(i=t.push("link_open","a",1),i.attrs=[["href",r]],i.markup="autolink",i.info="auto",i=t.push("text","",0),i.content=t.md.normalizeLinkText(o),i=t.push("link_close","a",-1),i.markup="autolink",i.info="auto"),t.pos+=o.length+2,!0):!1):MOe.test(o)?(r=t.md.normalizeLink("mailto:"+o),t.md.validateLink(r)?(n||(i=t.push("link_open","a",1),i.attrs=[["href",r]],i.markup="autolink",i.info="auto",i=t.push("text","",0),i.content=t.md.normalizeLinkText(o),i=t.push("link_close","a",-1),i.markup="autolink",i.info="auto"),t.pos+=o.length+2,!0):!1):!1},LOe=Uu.HTML_TAG_RE;function FOe(e){return/^\s]/i.test(e)}function BOe(e){return/^<\/a\s*>/i.test(e)}function NOe(e){var t=e|32;return t>=97&&t<=122}var HOe=function(t,n){var o,r,i,a,s=t.pos;return!t.md.options.html||(i=t.posMax,t.src.charCodeAt(s)!==60||s+2>=i)||(o=t.src.charCodeAt(s+1),o!==33&&o!==63&&o!==47&&!NOe(o))||(r=t.src.slice(s).match(LOe),!r)?!1:(n||(a=t.push("html_inline","",0),a.content=r[0],FOe(a.content)&&t.linkLevel++,BOe(a.content)&&t.linkLevel--),t.pos+=r[0].length,!0)},$1=NS,jOe=Ft.has,VOe=Ft.isValidEntityCode,A1=Ft.fromCodePoint,WOe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,UOe=/^&([a-z][a-z0-9]{1,31});/i,qOe=function(t,n){var o,r,i,a,s=t.pos,l=t.posMax;if(t.src.charCodeAt(s)!==38||s+1>=l)return!1;if(o=t.src.charCodeAt(s+1),o===35){if(i=t.src.slice(s).match(WOe),i)return n||(r=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),a=t.push("text_special","",0),a.content=VOe(r)?A1(r):A1(65533),a.markup=i[0],a.info="entity"),t.pos+=i[0].length,!0}else if(i=t.src.slice(s).match(UOe),i&&jOe($1,i[1]))return n||(a=t.push("text_special","",0),a.content=$1[i[1]],a.markup=i[0],a.info="entity"),t.pos+=i[0].length,!0;return!1};function I1(e){var t,n,o,r,i,a,s,l,c={},u=e.length;if(u){var d=0,f=-2,p=[];for(t=0;ti;n-=p[n]+1)if(r=e[n],r.marker===o.marker&&r.open&&r.end<0&&(s=!1,(r.close||o.open)&&(r.length+o.length)%3===0&&(r.length%3!==0||o.length%3!==0)&&(s=!0),!s)){l=n>0&&!e[n-1].open?p[n-1]+1:0,p[t]=t-n+l,p[n]=l,o.open=!1,r.end=t,r.close=!1,a=-1,f=-2;break}a!==-1&&(c[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}var KOe=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for(I1(t.delimiters),n=0;n0&&r++,i[n].type==="text"&&n+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(r),o};gl.prototype.scanDelims=function(e,t){var n=e,o,r,i,a,s,l,c,u,d,f=!0,p=!0,h=this.posMax,m=this.src.charCodeAt(e);for(o=e>0?this.src.charCodeAt(e-1):32;n=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;t||e.pos++,s[o]=e.pos};vl.prototype.tokenize=function(e){for(var t,n,o,r=this.ruler.getRules(""),i=r.length,a=e.posMax,s=e.md.options.maxNesting;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(t){if(e.pos>=a)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};vl.prototype.parse=function(e,t,n,o){var r,i,a,s=new this.State(e,t,n,o);for(this.tokenize(s),i=this.ruler2.getRules(""),a=i.length,r=0;r|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}),df}function $h(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(n){n&&Object.keys(n).forEach(function(o){e[o]=n[o]})}),e}function Xu(e){return Object.prototype.toString.call(e)}function JOe(e){return Xu(e)==="[object String]"}function QOe(e){return Xu(e)==="[object Object]"}function eMe(e){return Xu(e)==="[object RegExp]"}function F1(e){return Xu(e)==="[object Function]"}function tMe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var XS={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function nMe(e){return Object.keys(e||{}).reduce(function(t,n){return t||XS.hasOwnProperty(n)},!1)}var oMe={"http:":{validate:function(e,t,n){var o=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(o)?o.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var o=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(o)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:o.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var o=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(o)?o.match(n.re.mailto)[0].length:0}}},rMe="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",iMe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function aMe(e){e.__index__=-1,e.__text_cache__=""}function sMe(e){return function(t,n){var o=t.slice(n);return e.test(o)?o.match(e)[0].length:0}}function B1(){return function(e,t){t.normalize(e)}}function Bc(e){var t=e.re=ZOe()(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(rMe),n.push(t.src_xn),t.src_tlds=n.join("|");function o(s){return s.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(o(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(o(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(o(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(o(t.tpl_host_fuzzy_test),"i");var r=[];e.__compiled__={};function i(s,l){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+l)}Object.keys(e.__schemas__).forEach(function(s){var l=e.__schemas__[s];if(l!==null){var c={validate:null,link:null};if(e.__compiled__[s]=c,QOe(l)){eMe(l.validate)?c.validate=sMe(l.validate):F1(l.validate)?c.validate=l.validate:i(s,l),F1(l.normalize)?c.normalize=l.normalize:l.normalize?i(s,l):c.normalize=B1();return}if(JOe(l)){r.push(s);return}i(s,l)}}),r.forEach(function(s){e.__compiled__[e.__schemas__[s]]&&(e.__compiled__[s].validate=e.__compiled__[e.__schemas__[s]].validate,e.__compiled__[s].normalize=e.__compiled__[e.__schemas__[s]].normalize)}),e.__compiled__[""]={validate:null,normalize:B1()};var a=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(tMe).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),aMe(e)}function lMe(e,t){var n=e.__index__,o=e.__last_index__,r=e.__text_cache__.slice(n,o);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=o+t,this.raw=r,this.text=r,this.url=r}function Ah(e,t){var n=new lMe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Qn(e,t){if(!(this instanceof Qn))return new Qn(e,t);t||nMe(e)&&(t=e,e={}),this.__opts__=$h({},XS,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=$h({},oMe,e),this.__compiled__={},this.__tlds__=iMe,this.__tlds_replaced__=!1,this.re={},Bc(this)}Qn.prototype.add=function(t,n){return this.__schemas__[t]=n,Bc(this),this};Qn.prototype.set=function(t){return this.__opts__=$h(this.__opts__,t),this};Qn.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var n,o,r,i,a,s,l,c,u;if(this.re.schema_test.test(t)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(t))!==null;)if(i=this.testSchemaAt(t,n[2],l.lastIndex),i){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=t.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(r=t.match(this.re.email_fuzzy))!==null&&(a=r.index+r[1].length,s=r.index+r[0].length,(this.__index__<0||athis.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=s))),this.__index__>=0};Qn.prototype.pretest=function(t){return this.re.pretest.test(t)};Qn.prototype.testSchemaAt=function(t,n,o){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,o,this):0};Qn.prototype.match=function(t){var n=0,o=[];this.__index__>=0&&this.__text_cache__===t&&(o.push(Ah(this,n)),n=this.__last_index__);for(var r=n?t.slice(n):t;this.test(r);)o.push(Ah(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return o.length?o:null};Qn.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;var n=this.re.schema_at_start.exec(t);if(!n)return null;var o=this.testSchemaAt(t,n[2],n[0].length);return o?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o,Ah(this,0)):null};Qn.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(o,r,i){return o!==i[r-1]}).reverse(),Bc(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,Bc(this),this)};Qn.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};Qn.prototype.onCompile=function(){};var cMe=Qn;const ma=2147483647,Lo=36,Mm=1,Js=26,uMe=38,dMe=700,ZS=72,JS=128,QS="-",fMe=/^xn--/,hMe=/[^\0-\x7F]/,pMe=/[\x2E\u3002\uFF0E\uFF61]/g,mMe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ff=Lo-Mm,Fo=Math.floor,hf=String.fromCharCode;function Or(e){throw new RangeError(mMe[e])}function gMe(e,t){const n=[];let o=e.length;for(;o--;)n[o]=t(e[o]);return n}function ek(e,t){const n=e.split("@");let o="";n.length>1&&(o=n[0]+"@",e=n[1]),e=e.replace(pMe,".");const r=e.split("."),i=gMe(r,t).join(".");return o+i}function zm(e){const t=[];let n=0;const o=e.length;for(;n=55296&&r<=56319&&nString.fromCodePoint(...e),vMe=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Lo},N1=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},nk=function(e,t,n){let o=0;for(e=n?Fo(e/dMe):e>>1,e+=Fo(e/t);e>ff*Js>>1;o+=Lo)e=Fo(e/ff);return Fo(o+(ff+1)*e/(e+uMe))},Dm=function(e){const t=[],n=e.length;let o=0,r=JS,i=ZS,a=e.lastIndexOf(QS);a<0&&(a=0);for(let s=0;s=128&&Or("not-basic"),t.push(e.charCodeAt(s));for(let s=a>0?a+1:0;s=n&&Or("invalid-input");const f=vMe(e.charCodeAt(s++));f>=Lo&&Or("invalid-input"),f>Fo((ma-o)/u)&&Or("overflow"),o+=f*u;const p=d<=i?Mm:d>=i+Js?Js:d-i;if(fFo(ma/h)&&Or("overflow"),u*=h}const c=t.length+1;i=nk(o-l,c,l==0),Fo(o/c)>ma-r&&Or("overflow"),r+=Fo(o/c),o%=c,t.splice(o++,0,r)}return String.fromCodePoint(...t)},Lm=function(e){const t=[];e=zm(e);const n=e.length;let o=JS,r=0,i=ZS;for(const l of e)l<128&&t.push(hf(l));const a=t.length;let s=a;for(a&&t.push(QS);s=o&&uFo((ma-r)/c)&&Or("overflow"),r+=(l-o)*c,o=l;for(const u of e)if(uma&&Or("overflow"),u===o){let d=r;for(let f=Lo;;f+=Lo){const p=f<=i?Mm:f>=i+Js?Js:f-i;if(d=0))try{t.hostname=ik.toASCII(t.hostname)}catch{}return gi.encode(gi.format(t))}function zMe(e){var t=gi.parse(e,!0);if(t.hostname&&(!t.protocol||ak.indexOf(t.protocol)>=0))try{t.hostname=ik.toUnicode(t.hostname)}catch{}return gi.decode(gi.format(t),gi.decode.defaultChars+"%")}function lo(e,t){if(!(this instanceof lo))return new lo(e,t);t||Ts.isString(e)||(t=e||{},e="default"),this.inline=new RMe,this.block=new TMe,this.core=new PMe,this.renderer=new kMe,this.linkify=new EMe,this.validateLink=OMe,this.normalizeLink=MMe,this.normalizeLinkText=zMe,this.utils=Ts,this.helpers=Ts.assign({},SMe),this.options={},this.configure(e),t&&this.set(t)}lo.prototype.set=function(e){return Ts.assign(this.options,e),this};lo.prototype.configure=function(e){var t=this,n;if(Ts.isString(e)&&(n=e,e=$Me[n],!e))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(o){e.components[o].rules&&t[o].ruler.enableOnly(e.components[o].rules),e.components[o].rules2&&t[o].ruler2.enableOnly(e.components[o].rules2)}),this};lo.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var o=e.filter(function(r){return n.indexOf(r)<0});if(o.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+o);return this};lo.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var o=e.filter(function(r){return n.indexOf(r)<0});if(o.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+o);return this};lo.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};lo.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};lo.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};lo.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};lo.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var DMe=lo,LMe=DMe;const Zu=fp(LMe),FMe={xmlns:"http://www.w3.org/2000/svg",id:"Layer_1",viewBox:"0 0 442.19 323.31"},BMe=U("path",{d:"m72.8 140.45-12.7 145.1h42.41l8.99-102.69h.04l3.67-42.41zM124.16 37.75h-42.4l-5.57 63.61h42.4zM318.36 285.56h42.08l5.57-63.61H323.9z",class:"cls-2"},null,-1),NMe=U("path",{d:"M382.09 37.76H340l-10.84 123.9H221.09l-14.14 161.65 85.83-121.47h145.89l3.52-40.18h-70.94z",class:"cls-2"},null,-1),HMe=U("path",{d:"M149.41 121.47H3.52L0 161.66h221.09L235.23 0z",style:{fill:"#ffbc00"}},null,-1);function jMe(e,t){return pe(),ze("svg",FMe,[U("defs",null,[(pe(),qe(Yc("style"),null,{default:ce(()=>[nt(".cls-2{fill:#000}@media (prefers-color-scheme:dark){.cls-2{fill:#fff}}")]),_:1}))]),BMe,NMe,HMe])}const VMe={render:jMe},WMe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1109 1027"},UMe=R4('',2),qMe=[UMe];function KMe(e,t){return pe(),ze("svg",WMe,[...qMe])}const GMe={render:KMe},YMe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64"},XMe=U("g",{fill:"#E29942","clip-path":"url(#clip0_408_56)"},[U("path",{d:"M47.158 14.428c0-.591.31-1.14.818-1.444L61.449 4.9C62.572 4.225 64 5.034 64 6.343V20.21c0 .93-.754 1.685-1.684 1.685H48.842c-.93 0-1.684-.755-1.684-1.685z"}),U("path",{"fill-rule":"evenodd",d:"M24.397 26.46a1.68 1.68 0 0 0-.818 1.443V48c0 .93-.754 1.6-1.684 1.6h-3.369c-.93 0-1.684-.67-1.684-1.6V34.976c0-1.31-1.428-2.118-2.55-1.444L.817 41.617A1.68 1.68 0 0 0 0 43.062v17.572c0 .93.754 1.684 1.684 1.684h13.474c.93 0 1.684-.754 1.684-1.684v-3.803c0-.93.754-1.493 1.684-1.493h3.369c.93 0 1.684.563 1.684 1.493v3.803c0 .93.754 1.684 1.684 1.684h13.474c.93 0 1.684-.754 1.684-1.684V19.818c0-1.309-1.428-2.118-2.55-1.444z","clip-rule":"evenodd"}),U("path",{d:"M47.16 28.8v32c0 .884.753 1.6 1.683 1.6h13.474c.93 0 1.684-.716 1.684-1.6v-32c0-.884-.754-1.6-1.684-1.6H48.843c-.93 0-1.684.716-1.684 1.6"})],-1),ZMe=[XMe];function JMe(e,t){return pe(),ze("svg",YMe,[...ZMe])}const QMe={render:JMe};var Rs=(e=>(e[e.PENDING=0]="PENDING",e[e.PROCESSING=1]="PROCESSING",e[e.CANCELLED=2]="CANCELLED",e[e.COMPLETED=3]="COMPLETED",e[e.DISCOUNTED=4]="DISCOUNTED",e))(Rs||{});const eze={0:"待支付",1:"开通中",2:"已取消",3:"已完成",4:"已折抵"},sk={month_price:"月付",quarter_price:"季付",half_year_price:"半年付",year_price:"年付",two_year_price:"两年付",three_year_price:"三年付",onetime_price:"一次性",reset_price:"流量重置包"},Gi=e=>(N3("data-v-ecba5f1f"),e=e(),H3(),e),tze=["innerHTML"],nze={class:"w-64"},oze={class:"text-#666"},rze={class:"w-64"},ize={class:"text-#666"},aze=Gi(()=>U("div",{class:"w-64"},[U("img",{src:kee,class:"h-30 w-30"})],-1)),sze={class:"text-#666"},lze={class:"w-64"},cze={class:"text-#666"},uze={class:"font-bold"},dze={class:"mb-20"},fze={class:"text-center"},hze={class:"mt-10 text-center"},pze=Gi(()=>U("div",{class:"w-64"},[U("img",{src:BS,class:"h-30 w-30"})],-1)),mze={class:"text-#666"},gze={class:"w-64"},vze={class:"text-#666"},bze={class:"w-64"},yze={class:"text-#666"},xze=Gi(()=>U("div",{class:"w-64"},[U("img",{src:Pee,class:"h-30 w-30 border-rounded-5"})],-1)),Cze={class:"text-#666"},wze=Gi(()=>U("div",{class:"w-64"},[U("img",{src:Tee,class:"h-30 w-30 border-rounded-5"})],-1)),_ze={class:"text-#666"},Sze=Gi(()=>U("div",{class:"w-64"},[U("img",{src:Ree,class:"h-30 w-30"})],-1)),kze={class:"text-#666"},Pze=Gi(()=>U("div",{class:"w-64"},[U("img",{src:BS,class:"h-30 w-30"})],-1)),Tze={class:"text-#666"},Rze=Gi(()=>U("div",{class:"w-64"},[U("img",{src:Eee,class:"h-30 w-30"})],-1)),Eze={class:"text-#666"},$ze={class:"p-10 text-center"},Aze={class:"mb-5 md:mb-40"},Ize={key:0,class:"mb-10"},Oze={class:"font-bold"},Mze=["onClick"],zze={class:"text-20"},Dze={class:"text-16 font-600 color-[hsla(0,0%,100%,.75)]"},Lze={class:"text-block mb-16 p-t-20 text-20 font-600"},Fze={key:0,class:"mb-16 text-14 text-gray"},Bze={key:1,class:"mb-16 text-14 font-600 text-red-500"},Nze={key:2,class:"mb-16 text-14 text-gray"},Hze={class:"text-gray"},jze={class:"flex items-center justify-between"},Vze={class:""},Wze={class:"text-16"},Uze={class:"text-14 text-gray"},qze={class:"flex items-center justify-between"},Kze={class:"text-16"},Gze={class:"text-14 text-gray"},Yze={class:"flex items-center justify-between"},Xze={class:"text-16"},Zze={class:"text-14 text-gray"},Jze={class:"flex items-center justify-between"},Qze={class:"text-16"},eDe={class:"text-14 text-gray"},tDe=ge({__name:"index",setup(e){const t=B=>gn.global.t(B),n=HX(),o=new Zu({html:!0}),r=B=>o.render(B),i=Pn(),a=Ki(),s=navigator.userAgent.toLowerCase();let l="unknown";s.includes("windows")?l="windows":s.includes("iphone")||s.includes("ipad")?l="ios":s.includes("macintosh")?l="mac":s.includes("android")&&(l="android");const c=W(!1),u=W();jt(()=>{});const d=W(!1),f=W(!1),p=W(""),h=W(["auto"]),m=[{label:"自动",type:"auto"},{label:"全部",type:"all"},{label:"Vless",type:"vless"},{label:"Hy1",type:"hysteria"},{label:"Hy2",type:"hysteria2"},{label:"Shadowsocks",type:"shadowsocks"},{label:"Vmess",type:"vmess"},{label:"Trojan",type:"trojan"}],v=W([]);function b(B){if(B==="auto"||B==="all"&&h.value.includes("all"))h.value=["auto"];else if(B==="all"&&!h.value.includes("all"))h.value=v.value.map(E=>E.type).filter(E=>E!=="auto");else{const E=h.value.includes(B);h.value=E?h.value.filter(G=>G!==B):[...h.value.filter(G=>G!=="auto"),B],V$(v.value.map(G=>G.type).filter(G=>G!=="auto"&&G!=="all"),h.value)?h.value.push("all"):h.value=h.value.filter(G=>G!=="all")}h.value.length===0&&(h.value=["auto"]),w()}function w(){var E,A,G;const B=h.value;B.includes("all")?p.value=((E=_.value)==null?void 0:E.subscribe_url)+"&types=all":B.includes("auto")?p.value=((A=_.value)==null?void 0:A.subscribe_url)+"&types=auto":p.value=((G=_.value)==null?void 0:G.subscribe_url)+"&types="+h.value.join(",")}function C(B){window.location.href=B}function S(B){return btoa(unescape(encodeURIComponent(B)))}const _=L(()=>a.subscribe);function x(){var G,ne,ye;const B=(G=_.value)==null?void 0:G.transfer_enable,E=((ne=_.value)==null?void 0:ne.u)||0,A=((ye=_.value)==null?void 0:ye.d)||0;return B?Math.floor((E+A)/B*100):0}const{errorColor:y,warningColor:k,successColor:P,primaryColor:T}=n.value;function $(){const B=x();return B>=100?y:B>=70?k:P}async function R(){var ye,J;if(!await window.$dialog.confirm({title:t("确定重置当前已用流量?"),type:"warning",content:t("点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。"),showIcon:!1}))return;const E=(ye=await Tm())==null?void 0:ye.data,A=E==null?void 0:E.find(xe=>xe.status===Rs.PENDING);if(A)if(await window.$dialog.confirm({title:t("注意"),type:"warning",content:t("你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?"),positiveText:t("确认取消"),negativeText:t("返回我的订单"),showIcon:!1})){const j=A.trade_no;if(!await Bu(j))return}else{Jt.push("order");return}const G=(J=_.value)==null?void 0:J.plan_id;if(!G)return;const{data:ne}=await zS(G,"reset_price");ne&&Jt.push("order/"+ne)}const K=W([]);async function H(){const{data:B}=await NZ();K.value=B,B.map(E=>{var A;(A=E.tags)!=null&&A.includes("弹窗")&&(c.value=!0,u.value=E)})}const D=W([0,0,0]);async function M(){const{data:B}=await FZ();B&&(D.value=B)}const Y=W(),Q=W();async function de(){const{data:B}=await MS();if(B){Y.value=B;const A=[...new Set(B.map(G=>{let ne=G.type;return G.type==="hysteria"&&G.version==2&&(ne="hysteria2"),ne}))];Q.value=A,v.value=m.filter(G=>A.includes(G.type)||["auto","all"].includes(G.type))}}function he(){H(),a.getUserSubscribe(),M(),de()}return hn(()=>{he()}),(B,E)=>{const A=Qr,G=See,ne=ym,ye=mr,J=yee,xe=hl,j=SS,ve=fo,Oe=bm,Le=Ui,F=zt,O=fl,re=_i,_e=aV,ee=ml,be=qi,Pe=oX,I=pee,N=cee,te=ree,Ce=QQ,ae=GQ,fe=ho;return pe(),qe(fe,{"show-footer":!1},{default:ce(()=>{var oe,ue,De,Ue;return[ie(A,{show:c.value,"onUpdate:show":E[0]||(E[0]=ke=>c.value=ke),class:"mx-10 max-w-100% w-600 md:mx-auto",preset:"card",title:(oe=u.value)==null?void 0:oe.title,size:"huge",bordered:!1,"content-style":"padding-top:0",segmented:{content:!1}},{default:ce(()=>{var ke;return[U("div",{innerHTML:r(((ke=u.value)==null?void 0:ke.content)||""),class:"markdown-body custom-html-style"},null,8,tze)]}),_:1},8,["show","title"]),ie(A,{show:d.value,"onUpdate:show":E[15]||(E[15]=ke=>d.value=ke),"transform-origin":"center","auto-focus":!1,"display-directive":"show","trap-focus":!1},{default:ce(()=>[ie(ve,{class:"max-w-100% w-300",bordered:!1,size:"huge",contentStyle:"padding:0"},{default:ce(()=>[ie(Oe,{hoverable:""},{default:ce(()=>{var ke,Fe;return[ie(ne,{class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[1]||(E[1]=je=>{var Ae,Je;return((Ae=_.value)==null?void 0:Ae.subscribe_url)&&we(da)((Je=_.value)==null?void 0:Je.subscribe_url)})},[U("div",nze,[ie(G,{class:"text-30 text-#595959"})]),U("div",oze,le(B.$t("复制订阅地址")),1)])]),_:1}),(ke=Q.value)!=null&&ke.includes("hysteria2")?(pe(),qe(ne,{key:0,class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[2]||(E[2]=je=>{var Ae,Je;return((Ae=_.value)==null?void 0:Ae.subscribe_url)&&we(da)(((Je=_.value)==null?void 0:Je.subscribe_url)+"&types=hysteria2")})},[U("div",rze,[ie(ye,{size:"30"},{default:ce(()=>[ie(we(VMe))]),_:1})]),U("div",ize,le(B.$t("复制HY2订阅地址")),1)])]),_:1})):pt("",!0),(Fe=Q.value)!=null&&Fe.includes("vless")?(pe(),qe(ne,{key:1,class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[3]||(E[3]=je=>{var Ae,Je;return((Ae=_.value)==null?void 0:Ae.subscribe_url)&&we(da)(((Je=_.value)==null?void 0:Je.subscribe_url)+"&types=vless")})},[aze,U("div",sze,le(B.$t("复制Vless订阅地址")),1)])]),_:1})):pt("",!0),ie(ne,{class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[5]||(E[5]=je=>{var Ae;return p.value=((Ae=_.value)==null?void 0:Ae.subscribe_url)||"",f.value=!0})},[U("div",lze,[ie(J,{class:"text-30 text-#595959"})]),U("div",cze,le(B.$t("扫描二维码订阅")),1),ie(A,{show:f.value,"onUpdate:show":E[4]||(E[4]=je=>f.value=je)},{default:ce(()=>[ie(ve,{class:"w-300"},{default:ce(()=>[U("div",uze,le(B.$t("选择协议"))+":",1),U("div",dze,[(pe(!0),ze(rt,null,Hn(v.value,je=>(pe(),qe(xe,{key:je.type,value:je.type,checked:h.value.includes(je.type),onClick:Ae=>b(je.type)},{default:ce(()=>[nt(le(B.$t(je.label)),1)]),_:2},1032,["value","checked","onClick"]))),128))]),U("div",fze,[ie(j,{value:p.value,"icon-src":we(i).logo,size:140,color:we(T)},null,8,["value","icon-src","color"])]),U("div",hze,le(B.$t("使用支持扫码的客户端进行订阅")),1)]),_:1})]),_:1},8,["show"])])]),_:1}),["mac"].includes(we(l))?(pe(),qe(ne,{key:2,class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[6]||(E[6]=je=>{var Ae;return((Ae=_.value)==null?void 0:Ae.subscribe_url)&&C("clash://install-config?url="+_.value.subscribe_url+`&name=${we(i).title}`)})},[pze,U("div",mze,le(B.$t("导入到"))+" ClashX Meta",1)])]),_:1})):pt("",!0),["mac","android","windows"].includes(we(l))?(pe(),qe(ne,{key:3,class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[7]||(E[7]=je=>{var Ae;return((Ae=_.value)==null?void 0:Ae.subscribe_url)&&C("sing-box://import-remote-profile?url="+encodeURIComponent(_.value.subscribe_url)+`#${encodeURIComponent(we(i).title||"")}`)})},[U("div",gze,[ie(ye,{size:"30"},{default:ce(()=>[ie(we(QMe))]),_:1})]),U("div",vze,le(B.$t("导入到"))+" Hiddify Next",1)])]),_:1})):pt("",!0),["android","mac","ios"].includes(we(l))?(pe(),qe(ne,{key:4,class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[8]||(E[8]=je=>{var Ae;return((Ae=_.value)==null?void 0:Ae.subscribe_url)&&C("sing-box://import-remote-profile?url="+encodeURIComponent(_.value.subscribe_url)+`#${encodeURIComponent(we(i).title||"")}`)})},[U("div",bze,[ie(ye,{size:"30"},{default:ce(()=>[ie(we(GMe))]),_:1})]),U("div",yze,le(B.$t("导入到"))+" sing-box",1)])]),_:1})):pt("",!0),["mac","ios"].includes(we(l))?(pe(),qe(ne,{key:5,class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[9]||(E[9]=je=>{var Ae;return((Ae=_.value)==null?void 0:Ae.subscribe_url)&&C("shadowrocket://add/sub://"+S(_.value.subscribe_url).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")+`?remark=${we(i).title}`)})},[xze,U("div",Cze,le(B.$t("导入到"))+" Shadowsocket",1)])]),_:1})):pt("",!0),["mac","ios"].includes(we(l))?(pe(),qe(ne,{key:6,class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[10]||(E[10]=je=>{var Ae;return((Ae=_.value)==null?void 0:Ae.subscribe_url)&&C("stash://install-config?url="+encodeURIComponent(_.value.subscribe_url)+`&name=${we(i).title}`)})},[wze,U("div",_ze,le(B.$t("导入到"))+" Stash",1)])]),_:1})):pt("",!0),["android"].includes(we(l))?(pe(),qe(ne,{key:7,class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[11]||(E[11]=je=>{var Ae;return((Ae=_.value)==null?void 0:Ae.subscribe_url)&&C("clash://install-config?url="+(_.value.subscribe_url+"&types=hysteria2")+`&name=${we(i).title}`)})},[Sze,U("div",kze,le(B.$t("导入到"))+" NekoBox",1)])]),_:1})):pt("",!0),["android"].includes(we(l))?(pe(),qe(ne,{key:8,class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[12]||(E[12]=je=>{var Ae;return((Ae=_.value)==null?void 0:Ae.subscribe_url)&&C("clash://install-config?url="+(_.value.subscribe_url+"&types=hysteria2")+`&name=${we(i).title}`)})},[Pze,U("div",Tze,le(B.$t("导入到"))+" Clash Meta",1)])]),_:1})):pt("",!0),["windows"].includes(we(l))?(pe(),qe(ne,{key:9,class:"p-0!"},{default:ce(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:E[13]||(E[13]=je=>{var Ae;return((Ae=_.value)==null?void 0:Ae.subscribe_url)&&C("clash://install-config?url="+(_.value.subscribe_url+"&types=hysteria2")+`&name=${we(i).title}`)})},[Rze,U("div",Eze,le(B.$t("导入到"))+" Clash",1)])]),_:1})):pt("",!0)]}),_:1}),ie(Le,{class:"m-0!"}),U("div",$ze,[ie(F,{type:"primary",class:"w-100%",size:"large",onClick:E[14]||(E[14]=ke=>B.$router.push("/knowledge"))},{default:ce(()=>[nt(le(B.$t("不会使用,查看使用教程")),1)]),_:1})])]),_:1})]),_:1},8,["show"]),U("div",Aze,[D.value[1]&&D.value[1]>0||D.value[0]&&D.value[0]>0?(pe(),ze("div",Ize,[D.value[1]&&D.value[1]>0?(pe(),qe(O,{key:0,type:"warning","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:ce(()=>[nt(le(D.value[1])+" "+le(B.$t("条工单正在处理中"))+" ",1),ie(F,{strong:"",text:"",onClick:E[16]||(E[16]=ke=>we(Jt).push("/ticket"))},{default:ce(()=>[nt(le(B.$t("立即查看")),1)]),_:1})]),_:1})):pt("",!0),D.value[0]&&D.value[0]>0?(pe(),qe(O,{key:1,type:"error","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:ce(()=>[nt(le(B.$t("还有没支付的订单"))+" ",1),ie(F,{text:"",strong:"",onClick:E[17]||(E[17]=ke=>we(Jt).push("/order"))},{default:ce(()=>[nt(le(B.$t("立即支付")),1)]),_:1})]),_:1})):pt("",!0),!((ue=_.value)!=null&&ue.expired_at&&(((De=_.value)==null?void 0:De.expired_at)||0)>Date.now()/1e3)&&x()>=70?(pe(),qe(O,{key:2,type:"info","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:ce(()=>[nt(le(B.$tc("当前已使用流量达{rate}%",{rate:x()}))+" ",1),ie(F,{text:"",onClick:E[18]||(E[18]=ke=>R())},{default:ce(()=>[U("span",Oze,le(B.$t("重置已用流量")),1)]),_:1})]),_:1})):pt("",!0)])):pt("",!0),dn(ie(ve,{class:"w-100% cursor-pointer overflow-hidden border-rounded-5 text-white transition hover:opacity-75",bordered:!1,"content-style":"padding: 0"},{default:ce(()=>[ie(_e,null,{default:ce(()=>[(pe(!0),ze(rt,null,Hn(K.value,ke=>(pe(),ze("div",{key:ke.id,class:"",style:Fr(ke.img_url?`background:url(${ke.img_url}) no-repeat;background-size: cover `:`background:url(${we(i).$state.assets_path}/images/background.svg)`),onClick:Fe=>(c.value=!0,u.value=ke)},[U("div",{class:"carousel-img flex flex-col justify-between p-20",style:Fr({background:"rgba(0, 0, 0, 0.5) !important"})},[U("div",null,[ie(re,{bordered:!1,class:"bg-#e04f1a text-12 color-white"},{default:ce(()=>[nt(le(B.$t("公告")),1)]),_:1})]),U("div",null,[U("p",zze,le(ke.title),1),U("p",Dze,le(we(Ho)(ke.created_at)),1)])],4)],12,Mze))),128))]),_:1})]),_:1},512),[[Mn,((Ue=K.value)==null?void 0:Ue.length)>0]]),ie(ve,{title:B.$t("我的订阅"),class:"mt-5 border-rounded-5 md:m-t-20"},{default:ce(()=>{var ke,Fe,je,Ae,Je,xt,X,me,$e,Ke,Xe,Ze,tt,it,yt,on;return[_.value?(ke=_.value)!=null&&ke.plan_id?(pe(),ze(rt,{key:1},[U("div",Lze,le((je=(Fe=_.value)==null?void 0:Fe.plan)==null?void 0:je.name),1),((Ae=_.value)==null?void 0:Ae.expired_at)===null?(pe(),ze("div",Fze,le(B.$t("该订阅长期有效")),1)):(Je=_.value)!=null&&Je.expired_at&&(((xt=_.value)==null?void 0:xt.expired_at)??0)(((Ke=_.value)==null?void 0:Ke.reset_day)||0)?(pe(),ze(rt,{key:0},[nt(le(B.$tc("已用流量将在 {reset_day} 日后重置",{reset_day:(Xe=_.value)==null?void 0:Xe.reset_day})),1)],64)):pt("",!0)])),ie(Pe,{type:"line",percentage:x(),processing:"",color:$()},null,8,["percentage","color"]),U("div",null,le(B.$tc("已用 {used} / 总计 {total}",{used:we(aa)(((((Ze=_.value)==null?void 0:Ze.u)||0)+(((tt=_.value)==null?void 0:tt.d)||0))/1024/1024/1024)+" GB",total:we(aa)((((it=_.value)==null?void 0:it.transfer_enable)||0)/1024/1024/1024)+" GB"})),1),(yt=_.value)!=null&&yt.expired_at&&(((on=_.value)==null?void 0:on.expired_at)||0)we(Jt).push("/plan/"+we(a).plan_id))},{default:ce(()=>[nt(le(B.$t("续费订阅")),1)]),_:1})):x()>=70?(pe(),qe(F,{key:4,type:"primary",class:"mt-20",onClick:E[20]||(E[20]=Dt=>R())},{default:ce(()=>[nt(le(B.$t("重置已用流量")),1)]),_:1})):pt("",!0)],64)):(pe(),ze("div",{key:2,class:"cursor-pointer pt-20 text-center",onClick:E[21]||(E[21]=Dt=>we(Jt).push("/plan"))},[ie(I,{class:"text-40"}),U("div",Hze,le(B.$t("购买订阅")),1)])):(pe(),qe(be,{key:0},{default:ce(()=>[ie(ee,{height:"20px",width:"33%"}),ie(ee,{height:"20px",width:"66%"}),ie(ee,{height:"20px"})]),_:1}))]}),_:1},8,["title"]),ie(ve,{title:B.$t("捷径"),class:"m-t-20 border-rounded-5","content-style":"padding: 0"},{default:ce(()=>[ie(Oe,{hoverable:"",clickable:""},{default:ce(()=>[ie(ne,{class:"flex flex cursor-pointer justify-between p-19 hover:bg-#f6f6f6",onClick:E[22]||(E[22]=ke=>we(Jt).push("/knowledge"))},{default:ce(()=>[U("div",jze,[U("div",Vze,[U("div",Wze,le(B.$t("查看教程")),1),U("div",Uze,le(B.$t("学习如何使用"))+" "+le(we(i).title),1)]),U("div",null,[ie(N,{class:"text-30 color-gray-500"})])])]),_:1}),ie(ne,{class:"flex cursor-pointer justify-between p-19 hover:bg-#f6f6f6",onClick:E[23]||(E[23]=ke=>d.value=!0)},{default:ce(()=>[U("div",qze,[U("div",null,[U("div",Kze,le(B.$t("一键订阅")),1),U("div",Gze,le(B.$t("快速将节点导入对应客户端进行使用")),1)]),U("div",null,[ie(te,{class:"text-30 color-gray-500"})])])]),_:1}),ie(ne,{class:"flex cursor-pointer justify-between p-19",onClick:E[24]||(E[24]=ke=>we(a).plan_id?we(Jt).push("/plan/"+we(a).plan_id):we(Jt).push("/plan"))},{default:ce(()=>{var ke;return[U("div",Yze,[U("div",null,[U("div",Xze,le((ke=_.value)!=null&&ke.plan_id?B.$t("续费订阅"):B.$t("购买订阅")),1),U("div",Zze,le(B.$t("对您当前的订阅进行购买")),1)]),U("div",null,[ie(Ce,{class:"text-30 color-gray-500"})])])]}),_:1}),ie(ne,{class:"flex cursor-pointer justify-between p-19",onClick:E[25]||(E[25]=ke=>B.$router.push("/ticket"))},{default:ce(()=>[U("div",Jze,[U("div",null,[U("div",Qze,le(B.$t("遇到问题")),1),U("div",eDe,le(B.$t("遇到问题可以通过工单与我们沟通")),1)]),U("div",null,[ie(ae,{class:"text-30 color-gray-500"})])])]),_:1})]),_:1})]),_:1},8,["title"])])]}),_:1})}}}),nDe=Hu(tDe,[["__scopeId","data-v-ecba5f1f"]]),oDe=Object.freeze(Object.defineProperty({__proto__:null,default:nDe},Symbol.toStringTag,{value:"Module"})),rDe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},iDe=U("path",{fill:"currentColor",d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448s448-200.6 448-448S759.4 64 512 64m0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372s372 166.6 372 372s-166.6 372-372 372m159.6-585h-59.5c-3 0-5.8 1.7-7.1 4.4l-90.6 180H511l-90.6-180a8 8 0 0 0-7.1-4.4h-60.7c-1.3 0-2.6.3-3.8 1c-3.9 2.1-5.3 7-3.2 10.9L457 515.7h-61.4c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V603h-81.7c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V717c0 4.4 3.6 8 8 8h54.3c4.4 0 8-3.6 8-8v-68.1h82c4.4 0 8-3.6 8-8V611c0-4.4-3.6-8-8-8h-82v-41.5h82c4.4 0 8-3.6 8-8v-29.9c0-4.4-3.6-8-8-8h-62l111.1-204.8c.6-1.2 1-2.5 1-3.8c-.1-4.4-3.7-8-8.1-8"},null,-1),aDe=[iDe];function sDe(e,t){return pe(),ze("svg",rDe,[...aDe])}const lDe={name:"ant-design-pay-circle-outlined",render:sDe},cDe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},uDe=U("path",{fill:"currentColor",d:"M668.6 320c0-4.4-3.6-8-8-8h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 0 0-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1c-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.5-1.1.9-2.4.9-3.7M157.9 504.2a352.7 352.7 0 0 1 103.5-242.4c32.5-32.5 70.3-58.1 112.4-75.9c43.6-18.4 89.9-27.8 137.6-27.8c47.8 0 94.1 9.3 137.6 27.8c42.1 17.8 79.9 43.4 112.4 75.9c10 10 19.3 20.5 27.9 31.4l-50 39.1a8 8 0 0 0 3 14.1l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3l-47.8 37.4C770.7 146.3 648.6 82 511.5 82C277 82 86.3 270.1 82 503.8a8 8 0 0 0 8 8.2h60c4.3 0 7.8-3.5 7.9-7.8M934 512h-60c-4.3 0-7.9 3.5-8 7.8a352.7 352.7 0 0 1-103.5 242.4a352.6 352.6 0 0 1-112.4 75.9c-43.6 18.4-89.9 27.8-137.6 27.8s-94.1-9.3-137.6-27.8a352.6 352.6 0 0 1-112.4-75.9c-10-10-19.3-20.5-27.9-31.4l49.9-39.1a8 8 0 0 0-3-14.1l-156.8-38.3c-5-1.2-9.9 2.6-9.9 7.7l-.8 161.7c0 6.7 7.7 10.5 12.9 6.3l47.8-37.4C253.3 877.7 375.4 942 512.5 942C747 942 937.7 753.9 942 520.2a8 8 0 0 0-8-8.2"},null,-1),dDe=[uDe];function fDe(e,t){return pe(),ze("svg",cDe,[...dDe])}const hDe={name:"ant-design-transaction-outlined",render:fDe},pDe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},mDe=U("path",{fill:"currentColor",d:"M19 17v2H7v-2s0-4 6-4s6 4 6 4m-3-9a3 3 0 1 0-3 3a3 3 0 0 0 3-3m3.2 5.06A5.6 5.6 0 0 1 21 17v2h3v-2s0-3.45-4.8-3.94M18 5a2.9 2.9 0 0 0-.89.14a5 5 0 0 1 0 5.72A2.9 2.9 0 0 0 18 11a3 3 0 0 0 0-6M8 10H5V7H3v3H0v2h3v3h2v-3h3Z"},null,-1),gDe=[mDe];function vDe(e,t){return pe(),ze("svg",pDe,[...gDe])}const bDe={name:"mdi-invite",render:vDe},yDe={class:"text-50 font-400"},xDe={class:"m-l-10 text-20 text-#6c757d md:m-l20"},CDe={class:"text-#6c757d"},wDe={class:"flex justify-between p-b-5 p-t-5"},_De={class:"flex justify-between p-b-5 p-t-5"},SDe={key:0},kDe={key:1},PDe={class:"flex justify-between p-b-5 p-t-5"},TDe={class:"flex justify-between p-b-5 p-t-5"},RDe={class:"m-t-10"},EDe={class:"m-b-5"},$De={class:"m-t-10"},ADe={class:"m-b-5"},IDe={class:"flex justify-end"},ODe={class:"m-t-10"},MDe={class:"m-b-5"},zDe={class:"m-t-10"},DDe={class:"m-b-5"},LDe={class:"flex justify-end"},FDe=ge({__name:"index",setup(e){const t=Pn(),n=x=>gn.global.t(x),o=[{title:n("邀请码"),key:"code",render(x){const y=`${window.location.protocol}//${window.location.host}/#/register?code=${x.code}`;return g("div",[g("span",x.code),g(zt,{size:"small",onClick:()=>da(y),quaternary:!0,type:"info"},{default:()=>n("复制链接")})])}},{title:n("创建时间"),key:"created_at",fixed:"right",align:"right",render(x){return Ho(x.created_at)}}],r=[{title:n("发放时间"),key:"created_at",render(x){return Ho(x.created_at)}},{title:n("佣金"),key:"get_amount",fixed:"right",align:"right",render(x){return an(x.get_amount)}}],i=W(),a=W([]);async function s(){const x=await WZ(),{data:y}=x;i.value=y.codes,a.value=y.stat}const l=W([]),c=Zn({page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,50,100,150],onChange:x=>{c.page=x,u()},onUpdatePageSize:x=>{c.pageSize=x,c.page=1,u()}});async function u(){const x=await UZ(c.page,c.pageSize),{data:y}=x;l.value=y}const d=W(!1);async function f(){d.value=!0;const{data:x}=await qZ();x===!0&&(window.$message.success(n("已生成")),_()),d.value=!1}const p=W(!1),h=W(),m=W(!1);async function v(){m.value=!0;const x=h.value;if(typeof x!="number"){window.$message.error(n("请输入正确的划转金额")),m.value=!1;return}const{data:y}=await KZ(x*100);y===!0&&(window.$message.success(n("划转成功")),p.value=!1,s()),m.value=!1}const b=W(!1),w=Zn({method:null,account:null}),C=W(!1);async function S(){if(C.value=!0,!w.method){window.$message.error(n("提现方式不能为空")),C.value=!1;return}if(!w.account){window.$message.error(n("提现账号不能为空")),C.value=!1;return}const x=w.method,y=w.account,{data:k}=await GZ({withdraw_method:x,withdraw_account:y});k===!0&&Jt.push("/ticket"),C.value=!1}function _(){s(),u()}return hn(()=>{_()}),(x,y)=>{const k=bDe,P=AV,T=hDe,$=lDe,R=qi,K=fo,H=zu,D=fl,M=lr,Y=ZG,Q=Qr,de=FS,he=cm,B=ho;return pe(),qe(B,null,{default:ce(()=>[ie(K,{title:x.$t("我的邀请"),class:"border-rounded-5"},{"header-extra":ce(()=>[ie(k,{class:"text-40 text-gray"})]),default:ce(()=>{var E;return[U("div",null,[U("span",yDe,[ie(P,{from:0,to:parseFloat(we(an)(a.value[4])),active:!0,precision:2,duration:500},null,8,["to"])]),U("span",xDe,le((E=we(t).appConfig)==null?void 0:E.currency),1)]),U("div",CDe,le(x.$t("当前剩余佣金")),1),ie(R,{class:"m-t-10"},{default:ce(()=>{var A;return[ie(we(zt),{size:"small",type:"primary",onClick:y[0]||(y[0]=G=>p.value=!0)},{icon:ce(()=>[ie(T)]),default:ce(()=>[nt(" "+le(x.$t("划转")),1)]),_:1}),(A=we(t).appConfig)!=null&&A.withdraw_close?pt("",!0):(pe(),qe(we(zt),{key:0,size:"small",type:"primary",onClick:y[1]||(y[1]=G=>b.value=!0)},{icon:ce(()=>[ie($)]),default:ce(()=>[nt(" "+le(x.$t("推广佣金提现")),1)]),_:1}))]}),_:1})]}),_:1},8,["title"]),ie(K,{class:"m-t-15 border-rounded-5"},{default:ce(()=>{var E,A,G,ne,ye,J;return[U("div",wDe,[U("div",null,le(x.$t("已注册用户数")),1),U("div",null,le(x.$tc("{number} 人",{number:a.value[0]})),1)]),U("div",_De,[U("div",null,le(x.$t("佣金比例")),1),(E=we(t).appConfig)!=null&&E.commission_distribution_enable?(pe(),ze("div",SDe,le(`${Math.floor((((A=we(t).appConfig)==null?void 0:A.commission_distribution_l1)||0)*a.value[3]/100)}%,${Math.floor((((G=we(t).appConfig)==null?void 0:G.commission_distribution_l2)||0)*a.value[3]/100)}%,${Math.floor((((ne=we(t).appConfig)==null?void 0:ne.commission_distribution_l3)||0)*a.value[3]/100)}%`),1)):(pe(),ze("div",kDe,le(a.value[3])+"%",1))]),U("div",PDe,[U("div",null,le(x.$t("确认中的佣金")),1),U("div",null,le((ye=we(t).appConfig)==null?void 0:ye.currency_symbol)+" "+le(we(an)(a.value[2])),1)]),U("div",TDe,[U("div",null,le(x.$t("累计获得佣金")),1),U("div",null,le((J=we(t).appConfig)==null?void 0:J.currency_symbol)+" "+le(we(an)(a.value[1])),1)])]}),_:1}),ie(K,{title:x.$t("邀请码管理"),class:"m-t-15 border-rounded-5"},{"header-extra":ce(()=>[ie(we(zt),{size:"small",type:"primary",round:"",loading:d.value,onClick:f},{default:ce(()=>[nt(le(x.$t("生成邀请码")),1)]),_:1},8,["loading"])]),default:ce(()=>[ie(H,{columns:o,data:i.value,bordered:!0},null,8,["data"])]),_:1},8,["title"]),ie(K,{title:x.$t("佣金发放记录"),class:"m-t-15 border-rounded-5"},{default:ce(()=>[ie(H,{columns:r,data:l.value,pagination:c},null,8,["data","pagination"])]),_:1},8,["title"]),ie(Q,{show:p.value,"onUpdate:show":y[6]||(y[6]=E=>p.value=E)},{default:ce(()=>[ie(K,{title:x.$t("划转"),segmented:{content:!0,footer:!0},"footer-style":"padding-top: 10px; padding-bottom:10px",class:"mx-10 max-w-100% w-600 md:mx-auto",closable:"",onClose:y[5]||(y[5]=E=>p.value=!1)},{footer:ce(()=>[U("div",IDe,[U("div",null,[ie(we(zt),{onClick:y[3]||(y[3]=E=>p.value=!1)},{default:ce(()=>[nt(le(x.$t("取消")),1)]),_:1}),ie(we(zt),{type:"primary",class:"ml-10",onClick:y[4]||(y[4]=E=>v()),loading:m.value,disabled:m.value},{default:ce(()=>[nt(le(x.$t("确定")),1)]),_:1},8,["loading","disabled"])])])]),default:ce(()=>[ie(D,{type:"warning"},{default:ce(()=>[nt(le(x.$tc("划转后的余额仅用于{title}消费使用",{title:we(t).title})),1)]),_:1}),U("div",RDe,[U("div",EDe,le(x.$t("当前推广佣金余额")),1),ie(M,{placeholder:we(an)(a.value[4]),type:"number",disabled:""},null,8,["placeholder"])]),U("div",$De,[U("div",ADe,le(x.$t("划转金额")),1),ie(Y,{value:h.value,"onUpdate:value":y[2]||(y[2]=E=>h.value=E),min:0,placeholder:x.$t("请输入需要划转到余额的金额"),clearable:""},null,8,["value","placeholder"])])]),_:1},8,["title"])]),_:1},8,["show"]),ie(Q,{show:b.value,"onUpdate:show":y[12]||(y[12]=E=>b.value=E)},{default:ce(()=>[ie(K,{title:x.$t("推广佣金划转至余额"),segmented:{content:!0,footer:!0},"footer-style":"padding-top: 10px; padding-bottom:10px",class:"mx-10 max-w-100% w-600 md:mx-auto"},{"header-extra":ce(()=>[ie(we(zt),{class:"h-auto p-2",tertiary:"",size:"large",onClick:y[7]||(y[7]=E=>b.value=!1)},{icon:ce(()=>[ie(de,{class:"cursor-pointer opacity-85"})]),_:1})]),footer:ce(()=>[U("div",LDe,[U("div",null,[ie(we(zt),{onClick:y[10]||(y[10]=E=>b.value=!1)},{default:ce(()=>[nt(le(x.$t("取消")),1)]),_:1}),ie(we(zt),{type:"primary",class:"ml-10",onClick:y[11]||(y[11]=E=>S()),loading:C.value,disabled:C.value},{default:ce(()=>[nt(le(x.$t("确定")),1)]),_:1},8,["loading","disabled"])])])]),default:ce(()=>{var E;return[U("div",ODe,[U("div",MDe,le(x.$t("提现方式")),1),ie(he,{value:w.method,"onUpdate:value":y[8]||(y[8]=A=>w.method=A),options:(E=we(t).appConfig)==null?void 0:E.withdraw_methods.map(A=>({label:A,value:A})),placeholder:x.$t("请选择提现方式")},null,8,["value","options","placeholder"])]),U("div",zDe,[U("div",DDe,le(x.$t("提现账号")),1),ie(M,{value:w.account,"onUpdate:value":y[9]||(y[9]=A=>w.account=A),placeholder:x.$t("请输入提现账号"),type:"string"},null,8,["value","placeholder"])])]}),_:1},8,["title"])]),_:1},8,["show"])]),_:1})}}}),BDe=Object.freeze(Object.defineProperty({__proto__:null,default:FDe},Symbol.toStringTag,{value:"Module"})),NDe={class:""},HDe={class:"mb-4 text-16 font-600"},jDe={class:"text-12 text-gray"},VDe=["innerHTML"],WDe=ge({__name:"index",setup(e){const t=Pn(),n=new Zu({html:!0}),o=f=>n.render(f);window.copy=f=>da(f),window.jump=f=>a(f);const r=W(!1),i=W();async function a(f){const{data:p}=await lJ(f,t.lang);p&&(i.value=p),r.value=!0}const s=W(""),l=W(!0),c=W();async function u(){l.value=!0;const f=s.value,{data:p}=await sJ(f,t.lang);c.value=p,l.value=!1}function d(){u()}return hn(()=>{d()}),(f,p)=>{const h=lr,m=zt,v=om,b=ml,w=qi,C=ym,S=bm,_=fo,x=yq,y=Y2,k=ho;return pe(),qe(k,{"show-footer":!1},{default:ce(()=>[ie(v,null,{default:ce(()=>[ie(h,{placeholder:f.$t("使用文档"),value:s.value,"onUpdate:value":p[0]||(p[0]=P=>s.value=P),onKeyup:p[1]||(p[1]=gs(P=>d(),["enter"]))},null,8,["placeholder","value"]),ie(m,{type:"primary",ghost:"",onClick:p[2]||(p[2]=P=>d())},{default:ce(()=>[nt(le(f.$t("搜索")),1)]),_:1})]),_:1}),l.value?(pe(),qe(w,{key:0,vertical:"",class:"mt-20"},{default:ce(()=>[ie(b,{height:"20px",width:"33%"}),ie(b,{height:"20px",width:"66%"}),ie(b,{height:"20px"})]),_:1})):pt("",!0),(pe(!0),ze(rt,null,Hn(c.value,(P,T)=>(pe(),qe(_,{key:T,title:T,class:"mt-20 border-rounded-5",contentStyle:"padding:0"},{default:ce(()=>[ie(S,{clickable:"",hoverable:""},{default:ce(()=>[(pe(!0),ze(rt,null,Hn(P,$=>(pe(),qe(C,{key:$.id,onClick:R=>a($.id)},{default:ce(()=>[U("div",NDe,[U("div",HDe,le($.title),1),U("div",jDe,le(f.$t("最后更新"))+" "+le(we(xp)($.updated_at)),1)])]),_:2},1032,["onClick"]))),128))]),_:2},1024)]),_:2},1032,["title"]))),128)),ie(y,{show:r.value,"onUpdate:show":p[3]||(p[3]=P=>r.value=P),width:"80%",placement:"right"},{default:ce(()=>{var P;return[ie(x,{title:(P=i.value)==null?void 0:P.title,closable:""},{default:ce(()=>{var T;return[U("div",{innerHTML:o(((T=i.value)==null?void 0:T.body)||""),class:"custom-html-style markdown-body"},null,8,VDe)]}),_:1},8,["title"])]}),_:1},8,["show"])]),_:1})}}}),UDe=Object.freeze(Object.defineProperty({__proto__:null,default:WDe},Symbol.toStringTag,{value:"Module"})),qDe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},KDe=U("path",{fill:"currentColor",d:"M11 18h2v-2h-2zm1-16A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8m0-14a4 4 0 0 0-4 4h2a2 2 0 0 1 2-2a2 2 0 0 1 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5a4 4 0 0 0-4-4"},null,-1),GDe=[KDe];function YDe(e,t){return pe(),ze("svg",qDe,[...GDe])}const XDe={name:"mdi-help-circle-outline",render:YDe},ZDe={class:"flex"},JDe={class:"flex-[1]"},QDe={class:"flex flex-[2] flex-shrink-0 text-center"},eLe={class:"flex flex-1 items-center justify-center"},tLe={class:"flex flex-1 items-center justify-center"},nLe={class:"flex-1"},oLe={class:"flex"},rLe={class:"flex-[1] break-anywhere"},iLe={class:"flex flex-[2] flex-shrink-0 items-center text-center"},aLe={class:"flex flex-[1] items-center justify-center"},sLe={class:"flex-[1]"},lLe={class:"flex-[1]"},cLe={key:0},uLe={key:1},dLe=ge({__name:"index",setup(e){const t=W([]),n=W(!0);async function o(){n.value=!0;const r=await MS(),{data:i}=r;t.value=i,n.value=!1}return hn(()=>{o()}),(r,i)=>{const a=ml,s=qi,l=XDe,c=Ou,u=_i,d=ym,f=bm,p=Gc("router-link"),h=fl,m=ho;return pe(),qe(m,null,{default:ce(()=>[n.value?(pe(),qe(s,{key:0,vertical:"",class:"mt-20"},{default:ce(()=>[ie(a,{height:"20px",width:"33%"}),ie(a,{height:"20px",width:"66%"}),ie(a,{height:"20px"})]),_:1})):t.value.length>0?(pe(),qe(f,{key:1,clickable:"",hoverable:""},{header:ce(()=>[U("div",ZDe,[U("div",JDe,le(r.$t("名称")),1),U("div",QDe,[U("div",eLe,[nt(le(r.$t("状态"))+" ",1),ie(c,{placement:"bottom",trigger:"hover"},{trigger:ce(()=>[ie(l,{class:"m-l-3 text-16"})]),default:ce(()=>[U("span",null,le(r.$t("五分钟内节点在线情况")),1)]),_:1})]),U("div",tLe,[nt(le(r.$t("倍率"))+" ",1),ie(c,{placement:"bottom",trigger:"hover"},{trigger:ce(()=>[ie(l,{class:"m-l-3 text-16"})]),default:ce(()=>[U("span",null,le(r.$t("使用的流量将乘以倍率进行扣除")),1)]),_:1})]),U("div",nLe,le(r.$t("标签")),1)])])]),default:ce(()=>[(pe(!0),ze(rt,null,Hn(t.value,v=>(pe(),qe(d,{key:v.id},{default:ce(()=>[U("div",oLe,[U("div",rLe,le(v.name),1),U("div",iLe,[U("div",aLe,[U("div",{class:ir(["h-6 w-6 rounded-full",v.is_online?"bg-blue-500":"bg-red-500"])},null,2)]),U("div",sLe,[ie(u,{size:"small",round:"",class:""},{default:ce(()=>[nt(le(v.rate)+" x ",1)]),_:2},1024)]),U("div",lLe,[v.tags&&v.tags.length>0?(pe(),ze("div",cLe,[(pe(!0),ze(rt,null,Hn(v.tags,b=>(pe(),qe(u,{size:"small",round:"",key:b},{default:ce(()=>[nt(le(b),1)]),_:2},1024))),128))])):(pe(),ze("span",uLe,"-"))])])])]),_:2},1024))),128))]),_:1})):(pe(),qe(h,{key:2,type:"info"},{default:ce(()=>[U("div",null,[nt(le(r.$t("没有可用节点,如果您未订阅或已过期请"))+" ",1),ie(p,{class:"font-600",to:"/plan"},{default:ce(()=>[nt(le(r.$t("订阅")),1)]),_:1}),nt("。 ")])]),_:1}))]),_:1})}}}),fLe=Object.freeze(Object.defineProperty({__proto__:null,default:dLe},Symbol.toStringTag,{value:"Module"})),hLe=ge({__name:"index",setup(e){const t=s=>gn.global.t(s),n=[{title:t("# 订单号"),key:"trade_no",render(s){return g(zt,{text:!0,class:"color-primary",onClick:()=>Jt.push(`/order/${s.trade_no}`)},{default:()=>s.trade_no})}},{title:t("周期"),key:"period",render(s){return g(_i,{round:!0,size:"small"},{default:()=>t(sk[s.period])})}},{title:t("订单金额"),key:"total_amount",render(s){return an(s.total_amount)}},{title:t("订单状态"),key:"status",render(s){const l=t(eze[s.status]),c=g("div",{class:["h-6 w-6 rounded-full mr-5",s.status===3?"bg-green-500":"bg-red-500"]});return g("div",{class:"flex items-center"},[c,l])}},{title:t("创建时间"),key:"created_at",render(s){return Ho(s.created_at)}},{title:t("操作"),key:"actions",fixed:"right",render(s){const l=g(zt,{text:!0,type:"primary",onClick:()=>Jt.push(`/order/${s.trade_no}`)},{default:()=>t("查看详情")}),c=g(zt,{text:!0,type:"primary",disabled:s.status!==0,onClick:()=>o(s.trade_no)},{default:()=>t("取消")}),u=g(Ui,{vertical:!0});return g("div",[l,u,c])}}];async function o(s){window.$dialog.confirm({title:t("注意"),type:"warning",content:t("如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?"),async confirm(){const{data:l}=await Bu(s);l===!0&&(window.$message.success(t("取消成功")),a())}})}const r=W([]);async function i(){const s=await Tm(),{data:l}=s;r.value=l}async function a(){i()}return hn(()=>{a()}),(s,l)=>{const c=zu,u=ho;return pe(),qe(u,null,{default:ce(()=>[ie(c,{columns:n,data:r.value,bordered:!1,"scroll-x":800},null,8,["data"])]),_:1})}}}),pLe=Object.freeze(Object.defineProperty({__proto__:null,default:hLe},Symbol.toStringTag,{value:"Module"})),mLe={class:"inline-block",viewBox:"0 0 48 48",width:"1em",height:"1em"},gLe=U("g",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd"},[U("path",{d:"M24 42c9.941 0 18-8.059 18-18S33.941 6 24 6S6 14.059 6 24s8.059 18 18 18m0 2c11.046 0 20-8.954 20-20S35.046 4 24 4S4 12.954 4 24s8.954 20 20 20"}),U("path",{d:"M34.67 16.259a1 1 0 0 1 .072 1.412L21.386 32.432l-8.076-7.709a1 1 0 0 1 1.38-1.446l6.59 6.29L33.259 16.33a1 1 0 0 1 1.413-.07"})],-1),vLe=[gLe];function bLe(e,t){return pe(),ze("svg",mLe,[...vLe])}const lk={name:"healthicons-yes-outline",render:bLe},yLe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},xLe=U("path",{fill:"currentColor",d:"M952.08 1.552L529.039 116.144c-10.752 2.88-34.096 2.848-44.815-.16L72.08 1.776C35.295-8.352-.336 18.176-.336 56.048V834.16c0 32.096 24.335 62.785 55.311 71.409l412.16 114.224c11.025 3.055 25.217 4.751 39.937 4.751c10.095 0 25.007-.784 38.72-4.528l423.023-114.592c31.056-8.4 55.504-39.024 55.504-71.248V56.048c.016-37.84-35.616-64.464-72.24-54.496zM479.999 956.943L71.071 843.887c-3.088-.847-7.408-6.496-7.408-9.712V66.143L467.135 177.68c3.904 1.088 8.288 1.936 12.864 2.656zm480.336-122.767c0 3.152-5.184 8.655-8.256 9.503L544 954.207v-775.92c.592-.144 1.2-.224 1.792-.384L960.32 65.775v768.4h.016zM641.999 366.303c2.88 0 5.81-.367 8.69-1.184l223.935-63.024c17.025-4.816 26.945-22.465 22.16-39.473s-22.56-26.88-39.472-22.16l-223.936 63.025c-17.024 4.816-26.944 22.464-22.16 39.472c3.968 14.128 16.815 23.344 30.783 23.344m.002 192.001c2.88 0 5.81-.368 8.69-1.185l223.935-63.024c17.025-4.816 26.945-22.465 22.16-39.473c-4.783-17.008-22.56-26.88-39.472-22.16l-223.936 63.025c-17.024 4.816-26.944 22.464-22.16 39.457c3.968 14.127 16.815 23.36 30.783 23.36m.002 192c2.88 0 5.81-.368 8.69-1.185l223.935-63.024c17.025-4.816 26.945-22.465 22.16-39.473s-22.56-26.88-39.472-22.16L633.38 687.487c-17.024 4.816-26.944 22.464-22.16 39.472c3.968 14.113 16.815 23.345 30.783 23.345M394.629 303.487l-223.934-63.025c-16.912-4.72-34.688 5.152-39.473 22.16s5.12 34.656 22.16 39.473l223.937 63.024a31.827 31.827 0 0 0 8.687 1.184c13.968 0 26.815-9.215 30.783-23.343c4.784-16.993-5.12-34.657-22.16-39.473m.002 191.999l-223.934-63.025c-16.912-4.72-34.689 5.152-39.473 22.16s5.12 34.656 22.16 39.473l223.936 63.024a31.827 31.827 0 0 0 8.688 1.184c13.968 0 26.815-9.215 30.783-23.343c4.784-16.993-5.12-34.657-22.16-39.473m.002 191.999L170.699 624.46c-16.912-4.72-34.689 5.152-39.473 22.16s5.12 34.656 22.16 39.473l223.936 63.024a31.827 31.827 0 0 0 8.688 1.184c13.968 0 26.815-9.215 30.783-23.343c4.784-17.008-5.12-34.657-22.16-39.473"},null,-1),CLe=[xLe];function wLe(e,t){return pe(),ze("svg",yLe,[...CLe])}const _Le={name:"simple-line-icons-book-open",render:wLe},SLe={class:"inline-block",viewBox:"0 0 20 20",width:"1em",height:"1em"},kLe=U("path",{fill:"currentColor",d:"M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8s8-3.58 8-8s-3.58-8-8-8m-.615 12.66h-1.34l-3.24-4.54l1.341-1.25l2.569 2.4l5.141-5.931l1.34.94z"},null,-1),PLe=[kLe];function TLe(e,t){return pe(),ze("svg",SLe,[...PLe])}const RLe={name:"dashicons-yes-alt",render:TLe},ELe={class:"inline-block",viewBox:"0 0 20 20",width:"1em",height:"1em"},$Le=U("path",{fill:"currentColor",d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8s-8-3.58-8-8s3.58-8 8-8m1.13 9.38l.35-6.46H8.52l.35 6.46zm-.09 3.36c.24-.23.37-.55.37-.96c0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35s-.82.12-1.07.35s-.37.55-.37.97c0 .41.13.73.38.96c.26.23.61.34 1.06.34s.8-.11 1.05-.34"},null,-1),ALe=[$Le];function ILe(e,t){return pe(),ze("svg",ELe,[...ALe])}const OLe={name:"dashicons-warning",render:ILe},MLe={class:"p-20"},zLe={class:"p-10 text-center"},DLe={key:1,class:"flex flex-wrap"},LLe={class:"w-100% md:flex-[2]"},FLe={key:2,class:"mt-10 text-22"},BLe={key:3,class:"text-14 text-[rgba(0,0,0,0.45)]"},NLe={class:"flex"},HLe={class:"flex-[1] text-#49505799"},jLe={class:"flex-[2]"},VLe={class:"flex"},WLe={class:"m-t-5 flex-[1] text-#49505799"},ULe={class:"flex-[2]"},qLe={class:"flex"},KLe={class:"m-b-5 m-t-5 flex-[1] text-#49505799"},GLe={class:"flex-[2]"},YLe={class:"flex"},XLe={class:"flex-[1] text-#49505799"},ZLe={class:"flex-[2]"},JLe={key:0,class:"flex"},QLe={class:"flex-[1] text-#49505799"},e9e={class:"flex-[2]"},t9e={key:1,class:"flex"},n9e={class:"flex-[1] text-#49505799"},o9e={class:"flex-[2]"},r9e={key:2,class:"flex"},i9e={class:"flex-[1] text-#49505799"},a9e={class:"flex-[2]"},s9e={key:3,class:"flex"},l9e={class:"flex-[1] text-#49505799"},c9e={class:"flex-[2]"},u9e={key:4,class:"flex"},d9e={class:"flex-[1] text-#49505799"},f9e={class:"flex-[2]"},h9e={class:"flex"},p9e={class:"m-t-5 flex-[1] text-#49505799"},m9e={class:"flex-[2]"},g9e=["onClick"],v9e={class:"flex-[1] whitespace-nowrap"},b9e={class:"flex-[1]"},y9e=["src"],x9e={key:0,class:"w-100% md:flex-[1] md:pl-20"},C9e={class:"mt-20 border-rounded-5 bg-#2f3135 p-20 color-white"},w9e={class:"text-18 font-600"},_9e={class:"flex border-#646669 border-b-solid pb-16 pt-16"},S9e={class:"flex-[2]"},k9e={class:"flex-[1] text-right color-#f8f9fa"},P9e={key:0,class:"border-[#646669] border-b-solid pb-16 pt-16"},T9e={class:"color-#f8f9fa41"},R9e={class:"pt-16 text-right"},E9e={key:1,class:"border-[#646669] border-b-solid pb-16 pt-16"},$9e={class:"color-#f8f9fa41"},A9e={class:"pt-16 text-right"},I9e={key:2,class:"border-[#646669] border-b-solid pb-16 pt-16"},O9e={class:"color-#f8f9fa41"},M9e={class:"pt-16 text-right"},z9e={key:3,class:"border-[#646669] border-b-solid pb-16 pt-16"},D9e={class:"color-#f8f9fa41"},L9e={class:"pt-16 text-right"},F9e={key:4,class:"border-[#646669] border-b-solid pb-16 pt-16"},B9e={class:"color-#f8f9fa41"},N9e={class:"pt-16 text-right"},H9e={class:"pb-16 pt-16"},j9e={class:"color-#f8f9fa41"},V9e={class:"text-36 font-600"},W9e=ge({__name:"detail",setup(e){const t=Pn(),n=Ki(),o=Aa(),r=y=>gn.global.t(y);function i(y){switch(y){case 1:return{icon:"info",title:r("开通中"),subTitle:r("订单系统正在进行处理,请稍等1-3分钟。")};case 2:return{icon:"info",title:r("已取消"),subTitle:r("订单由于超时支付已被取消。")};case 3:case 4:return{icon:"info",title:r("已完成"),subTitle:r("订单已支付并开通。")}}return{icon:"error",title:r("意料之外"),subTitle:r("意料之外的状态")}}async function a(){window.$dialog.confirm({title:r("注意"),type:"warning",content:r("如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?"),async confirm(){const{data:y}=await Bu(s.value);y===!0&&(window.$message.success(r("取消成功")),x())}})}const s=W(""),l=W(),c=W(),u=W(!0);async function d(){u.value=!0;const{data:y}=await jZ(s.value);l.value=y,clearInterval(c.value),y.status===Rs.PENDING&&h(),[Rs.PENDING,Rs.PROCESSING].includes(y.status)&&(c.value=setInterval(S,1500)),u.value=!1}const f=W([]),p=W(0);async function h(){const{data:y}=await JZ();f.value=y}function m(){var k,P,T,$,R;return((k=l.value)==null?void 0:k.plan[l.value.period])-(((P=l.value)==null?void 0:P.balance_amount)||0)-(((T=l.value)==null?void 0:T.surplus_amount)||0)+((($=l.value)==null?void 0:$.refund_amount)||0)-(((R=l.value)==null?void 0:R.discount_amount)||0)}function v(){const y=f.value[p.value];return(y!=null&&y.handling_fee_percent||y!=null&&y.handling_fee_fixed)&&m()?m()*parseFloat(y.handling_fee_percent||"0")/100+((y==null?void 0:y.handling_fee_fixed)||0):0}async function b(){const y=f.value[p.value],{data:k,type:P}=await QZ(s.value,y==null?void 0:y.id);k&&(k===!0?(window.$message.info(r("支付成功")),setTimeout(()=>{_()},500)):P===0?(w.value=!0,C.value=k):P===1&&(window.$message.info(r("正在前往收银台")),setTimeout(()=>{window.location.href=k},500)))}const w=W(!1),C=W("");async function S(){var k;const{data:y}=await VZ(s.value);y!==((k=l.value)==null?void 0:k.status)&&_()}async function _(){x(),n.getUserInfo()}async function x(){d(),w.value=!1}return hn(()=>{typeof o.params.trade_no=="string"&&(s.value=o.params.trade_no),x()}),Ea(()=>{clearInterval(c.value)}),(y,k)=>{const P=SS,T=Ui,$=fo,R=Qr,K=ml,H=qi,D=OLe,M=RLe,Y=_Le,Q=zt,de=lk,he=ho;return pe(),qe(he,null,{default:ce(()=>{var B,E,A,G,ne,ye,J,xe,j,ve,Oe,Le,F,O,re,_e,ee,be,Pe,I,N,te,Ce,ae,fe,oe;return[ie(R,{show:w.value,"onUpdate:show":k[0]||(k[0]=ue=>w.value=ue),onOnAfterLeave:k[1]||(k[1]=ue=>C.value="")},{default:ce(()=>[ie($,{style:{width:"300px",padding:"0","max-width":"100%"},"content-style":"padding:0",bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{default:ce(()=>[U("div",MLe,[C.value?(pe(),qe(P,{key:0,value:C.value,class:"pay-qrcode",size:"400"},null,8,["value"])):pt("",!0)]),ie(T,{class:"m-0!"}),U("div",zLe,le(y.$t("等待支付中")),1)]),_:1})]),_:1},8,["show"]),u.value?(pe(),qe(H,{key:0,vertical:"",class:"mt-20"},{default:ce(()=>[ie(K,{height:"20px",width:"33%"}),ie(K,{height:"20px",width:"66%"}),ie(K,{height:"20px"})]),_:1})):(pe(),ze("div",DLe,[U("div",LLe,[((B=l.value)==null?void 0:B.status)!==0?(pe(),qe($,{key:0,class:"flex text-center","items-center":"","border-rounded-5":""},{default:ce(()=>{var ue,De,Ue,ke,Fe,je;return[((ue=l.value)==null?void 0:ue.status)===2?(pe(),qe(D,{key:0,class:"text-90 color-#f9a314"})):pt("",!0),((De=l.value)==null?void 0:De.status)===3||((Ue=l.value)==null?void 0:Ue.status)==4?(pe(),qe(M,{key:1,class:"text-90 color-#48bc19"})):pt("",!0),(ke=l.value)!=null&&ke.status?(pe(),ze("div",FLe,le(i(l.value.status).title),1)):pt("",!0),(Fe=l.value)!=null&&Fe.status?(pe(),ze("div",BLe,le(i(l.value.status).subTitle),1)):pt("",!0),((je=l.value)==null?void 0:je.status)===3?(pe(),qe(Q,{key:4,"icon-placement":"left",strong:"",color:"#db4619",size:"small",round:"",class:"mt-30",onClick:k[2]||(k[2]=Ae=>y.$router.push("/knowledge"))},{icon:ce(()=>[ie(Y)]),default:ce(()=>[nt(" "+le(y.$t("查看使用教程")),1)]),_:1})):pt("",!0)]}),_:1})):pt("",!0),ie($,{class:"mt-20 border-rounded-5",title:y.$t("商品信息")},{default:ce(()=>{var ue,De,Ue;return[U("div",NLe,[U("div",HLe,le(y.$t("产品名称"))+":",1),U("div",jLe,le((ue=l.value)==null?void 0:ue.plan.name),1)]),U("div",VLe,[U("div",WLe,le(y.$t("类型/周期"))+":",1),U("div",ULe,le((De=l.value)!=null&&De.period?y.$t(we(sk)[l.value.period]):""),1)]),U("div",qLe,[U("div",KLe,le(y.$t("产品流量"))+":",1),U("div",GLe,le((Ue=l.value)==null?void 0:Ue.plan.transfer_enable)+" GB",1)])]}),_:1},8,["title"]),ie($,{class:"mt-20 border-rounded-5",title:y.$t("订单信息")},{"header-extra":ce(()=>{var ue;return[((ue=l.value)==null?void 0:ue.status)===0?(pe(),qe(Q,{key:0,color:"#db4619",size:"small",round:"",strong:"",onClick:k[3]||(k[3]=De=>a())},{default:ce(()=>[nt(le(y.$t("关闭订单")),1)]),_:1})):pt("",!0)]}),default:ce(()=>{var ue,De,Ue,ke,Fe,je,Ae,Je,xt,X,me;return[U("div",YLe,[U("div",XLe,le(y.$t("订单号"))+":",1),U("div",ZLe,le((ue=l.value)==null?void 0:ue.trade_no),1)]),(De=l.value)!=null&&De.discount_amount&&((Ue=l.value)==null?void 0:Ue.discount_amount)>0?(pe(),ze("div",JLe,[U("div",QLe,le(y.$t("优惠金额")),1),U("div",e9e,le(we(an)(l.value.discount_amount)),1)])):pt("",!0),(ke=l.value)!=null&&ke.surplus_amount&&((Fe=l.value)==null?void 0:Fe.surplus_amount)>0?(pe(),ze("div",t9e,[U("div",n9e,le(y.$t("旧订阅折抵金额")),1),U("div",o9e,le(we(an)(l.value.surplus_amount)),1)])):pt("",!0),(je=l.value)!=null&&je.refund_amount&&((Ae=l.value)==null?void 0:Ae.refund_amount)>0?(pe(),ze("div",r9e,[U("div",i9e,le(y.$t("退款金额")),1),U("div",a9e,le(we(an)(l.value.refund_amount)),1)])):pt("",!0),(Je=l.value)!=null&&Je.balance_amount&&((xt=l.value)==null?void 0:xt.balance_amount)>0?(pe(),ze("div",s9e,[U("div",l9e,le(y.$t("余额支付 ")),1),U("div",c9e,le(we(an)(l.value.balance_amount)),1)])):pt("",!0),((X=l.value)==null?void 0:X.status)===0&&v()>0?(pe(),ze("div",u9e,[U("div",d9e,le(y.$t("支付手续费"))+":",1),U("div",f9e,le(we(an)(v())),1)])):pt("",!0),U("div",h9e,[U("div",p9e,le(y.$t("创建时间"))+":",1),U("div",m9e,le(we(Ho)((me=l.value)==null?void 0:me.created_at)),1)])]}),_:1},8,["title"]),((E=l.value)==null?void 0:E.status)===0?(pe(),qe($,{key:1,title:y.$t("支付方式"),class:"mt-20","content-style":"padding:0"},{default:ce(()=>[(pe(!0),ze(rt,null,Hn(f.value,(ue,De)=>(pe(),ze("div",{key:ue.id,class:ir(["border-2 border-rounded-5 p-20 border-solid flex",p.value===De?"border-#0665d0":"border-transparent"]),onClick:Ue=>p.value=De},[U("div",v9e,le(ue.name),1),U("div",b9e,[U("img",{class:"max-h-30",src:ue.icon},null,8,y9e)])],10,g9e))),128))]),_:1},8,["title"])):pt("",!0)]),((A=l.value)==null?void 0:A.status)===0?(pe(),ze("div",x9e,[U("div",C9e,[U("div",w9e,le(y.$t("订单总额")),1),U("div",_9e,[U("div",S9e,le((G=l.value)==null?void 0:G.plan.name),1),U("div",k9e,le((ne=we(t).appConfig)==null?void 0:ne.currency_symbol)+le(((ye=l.value)==null?void 0:ye.period)&&we(an)((J=l.value)==null?void 0:J.plan[l.value.period])),1)]),(xe=l.value)!=null&&xe.surplus_amount&&((j=l.value)==null?void 0:j.surplus_amount)>0?(pe(),ze("div",P9e,[U("div",T9e,le(y.$t("折抵")),1),U("div",R9e," - "+le((ve=we(t).appConfig)==null?void 0:ve.currency_symbol)+le(we(an)((Oe=l.value)==null?void 0:Oe.surplus_amount)),1)])):pt("",!0),(Le=l.value)!=null&&Le.discount_amount&&((F=l.value)==null?void 0:F.discount_amount)>0?(pe(),ze("div",E9e,[U("div",$9e,le(y.$t("折扣")),1),U("div",A9e," - "+le((O=we(t).appConfig)==null?void 0:O.currency_symbol)+le(we(an)((re=l.value)==null?void 0:re.discount_amount)),1)])):pt("",!0),(_e=l.value)!=null&&_e.refund_amount&&((ee=l.value)==null?void 0:ee.refund_amount)>0?(pe(),ze("div",I9e,[U("div",O9e,le(y.$t("退款")),1),U("div",M9e," - "+le((be=we(t).appConfig)==null?void 0:be.currency_symbol)+le(we(an)((Pe=l.value)==null?void 0:Pe.refund_amount)),1)])):pt("",!0),(I=l.value)!=null&&I.balance_amount&&((N=l.value)==null?void 0:N.balance_amount)>0?(pe(),ze("div",z9e,[U("div",D9e,le(y.$t("余额支付")),1),U("div",L9e," - "+le((te=we(t).appConfig)==null?void 0:te.currency_symbol)+le(we(an)((Ce=l.value)==null?void 0:Ce.balance_amount)),1)])):pt("",!0),v()>0?(pe(),ze("div",F9e,[U("div",B9e,le(y.$t("支付手续费")),1),U("div",N9e," + "+le((ae=we(t).appConfig)==null?void 0:ae.currency_symbol)+le(we(an)(v())),1)])):pt("",!0),U("div",H9e,[U("div",j9e,le(y.$t("总计")),1),U("div",V9e,le((fe=we(t).appConfig)==null?void 0:fe.currency_symbol)+" "+le(we(an)(m()+v()))+" "+le((oe=we(t).appConfig)==null?void 0:oe.currency),1)]),ie(Q,{type:"primary",class:"w-100% text-white","icon-placement":"left",strong:"",onClick:k[4]||(k[4]=ue=>b())},{icon:ce(()=>[ie(de)]),default:ce(()=>[nt(" "+le(y.$t("结账")),1)]),_:1})])])):pt("",!0)]))]}),_:1})}}}),U9e=Object.freeze(Object.defineProperty({__proto__:null,default:W9e},Symbol.toStringTag,{value:"Module"})),q9e={class:"inline-block",viewBox:"0 0 50 50",width:"1em",height:"1em"},K9e=U("path",{fill:"currentColor",d:"M25 42c-9.4 0-17-7.6-17-17S15.6 8 25 8s17 7.6 17 17s-7.6 17-17 17m0-32c-8.3 0-15 6.7-15 15s6.7 15 15 15s15-6.7 15-15s-6.7-15-15-15"},null,-1),G9e=U("path",{fill:"currentColor",d:"m32.283 16.302l1.414 1.415l-15.98 15.98l-1.414-1.414z"},null,-1),Y9e=U("path",{fill:"currentColor",d:"m17.717 16.302l15.98 15.98l-1.414 1.415l-15.98-15.98z"},null,-1),X9e=[K9e,G9e,Y9e];function Z9e(e,t){return pe(),ze("svg",q9e,[...X9e])}const ck={name:"ei-close-o",render:Z9e},J9e={class:"inline-block",viewBox:"0 0 50 50",width:"1em",height:"1em"},Q9e=U("path",{fill:"currentColor",d:"M25 42c-9.4 0-17-7.6-17-17S15.6 8 25 8s17 7.6 17 17s-7.6 17-17 17m0-32c-8.3 0-15 6.7-15 15s6.7 15 15 15s15-6.7 15-15s-6.7-15-15-15"},null,-1),eFe=U("path",{fill:"currentColor",d:"m23 32.4l-8.7-8.7l1.4-1.4l7.3 7.3l11.3-11.3l1.4 1.4z"},null,-1),tFe=[Q9e,eFe];function nFe(e,t){return pe(),ze("svg",J9e,[...tFe])}const uk={name:"ei-check",render:nFe},oFe={class:"ml-auto mr-auto max-w-1200 w-100%"},rFe={class:"m-3 mb-4 mt-4 text-30 font-400"},iFe={class:"card-container m-t-10 md:m-t-40"},aFe=["onClick"],sFe={class:"vertical-bottom"},lFe={class:"text-30 font-600"},cFe={class:"p-l-5 text-16 text-gray"},uFe={key:0},dFe=["innerHTML"],fFe=ge({__name:"index",setup(e){const t=Pn(),n=d=>gn.global.t(d),o=new Zu({html:!0}),r=d=>o.render(d),i=W(0),a=[{value:0,label:n("全部")},{value:1,label:n("按周期")},{value:2,label:n("按流量")}],s=W([]),l=W([]);ft([l,i],d=>{s.value=d[0].filter(f=>{if(d[1]===0)return 1;if(d[1]===1)return!((f.onetime_price||0)>0);if(d[1]===2)return(f.onetime_price||0)>0})});async function c(){const{data:d}=await HZ();d.forEach(f=>{const p=u(f);f.price=p.price,f.cycle=p.cycle}),l.value=d}hn(()=>{c()});function u(d){return d.onetime_price!==null?{price:d.onetime_price/100,cycle:n("一次性")}:d.month_price!==null?{price:d.month_price/100,cycle:n("月付")}:d.quarter_price!==null?{price:d.quarter_price/100,cycle:n("季付")}:d.half_year_price!==null?{price:d.half_year_price/100,cycle:n("半年付")}:d.year_price!==null?{price:d.year_price/100,cycle:n("年付")}:d.two_year_price!==null?{price:d.two_year_price/100,cycle:n("两年付")}:d.three_year_price!==null?{price:d.three_year_price/100,cycle:n("三年付")}:{price:0,cycle:n("错误")}}return(d,f)=>{const p=wW,h=S2,m=uk,v=ck,b=mr,w=zt,C=fo,S=ho;return pe(),qe(S,null,{default:ce(()=>[U("div",oFe,[U("h2",rFe,le(d.$t("选择最适合你的计划")),1),ie(h,{value:i.value,"onUpdate:value":f[0]||(f[0]=_=>i.value=_),name:"plan_select",class:""},{default:ce(()=>[(pe(),ze(rt,null,Hn(a,_=>ie(p,{key:_.value,value:_.value,label:_.label,style:{background:"--n-color"}},null,8,["value","label"])),64))]),_:1},8,["value"]),U("section",iFe,[(pe(!0),ze(rt,null,Hn(s.value,_=>(pe(),ze("div",{class:"card-item min-w-300 cursor-pointer",key:_.id,onClick:x=>d.$router.push("/plan/"+_.id)},[ie(C,{title:_.name,hoverable:"",class:"max-w-100% w-375"},{"header-extra":ce(()=>{var x;return[U("div",sFe,[U("span",lFe,le((x=we(t).appConfig)==null?void 0:x.currency_symbol)+" "+le(_.price),1),U("span",cFe," /"+le(_.cycle),1)])]}),action:ce(()=>[ie(w,{strong:"",secondary:"",type:"primary"},{default:ce(()=>[nt(le(d.$t("立即订阅")),1)]),_:1})]),default:ce(()=>[we(Lx)(_.content)?(pe(),ze("div",uFe,[(pe(!0),ze(rt,null,Hn(JSON.parse(_.content),(x,y)=>(pe(),ze("div",{key:y,class:ir(["vertical-center flex items-center",x.support?"":"opacity-30"])},[ie(b,{size:"30",class:"flex items-center text-[--primary-color]"},{default:ce(()=>[x.support?(pe(),qe(m,{key:0})):(pe(),qe(v,{key:1}))]),_:2},1024),U("div",null,le(x.feature),1)],2))),128))])):(pe(),ze("div",{key:1,innerHTML:r(_.content||""),class:"markdown-body"},null,8,dFe))]),_:2},1032,["title"])],8,aFe))),128))])])]),_:1})}}}),hFe=Hu(fFe,[["__scopeId","data-v-79fa0f66"]]),pFe=Object.freeze(Object.defineProperty({__proto__:null,default:hFe},Symbol.toStringTag,{value:"Module"})),mFe={class:"inline-block",viewBox:"0 0 576 512",width:"1em",height:"1em"},gFe=U("path",{fill:"currentColor",d:"M64 64C28.7 64 0 92.7 0 128v64c0 8.8 7.4 15.7 15.7 18.6C34.5 217.1 48 235 48 256s-13.5 38.9-32.3 45.4C7.4 304.3 0 311.2 0 320v64c0 35.3 28.7 64 64 64h448c35.3 0 64-28.7 64-64v-64c0-8.8-7.4-15.7-15.7-18.6C541.5 294.9 528 277 528 256s13.5-38.9 32.3-45.4c8.3-2.9 15.7-9.8 15.7-18.6v-64c0-35.3-28.7-64-64-64zm64 112v160c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V176c0-8.8-7.2-16-16-16H144c-8.8 0-16 7.2-16 16m-32-16c0-17.7 14.3-32 32-32h320c17.7 0 32 14.3 32 32v192c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32z"},null,-1),vFe=[gFe];function bFe(e,t){return pe(),ze("svg",mFe,[...vFe])}const yFe={name:"fa6-solid-ticket",render:bFe},xFe={key:1,class:"flex flex-wrap"},CFe={class:"w-100% md:max-w-2/3"},wFe={key:0},_Fe=["innerHTML"],SFe=["onClick"],kFe={class:"mt-20 w-full md:mt-0 md:max-w-1/3 sm:max-w-full md:pl-20"},PFe={class:"border-rounded-5 bg-#2f3135 p-20 color-white"},TFe={class:"flex items-center"},RFe=["placeholder"],EFe={class:"mt-0 border-rounded-5 bg-#2f3135 p-20 color-white md:mt-20"},$Fe={class:"text-18 font-600"},AFe={class:"flex border-#646669 border-b-solid pb-16 pt-16"},IFe={class:"flex-[2]"},OFe={class:"flex-[1] text-right color-#f8f9fa"},MFe={key:0,class:"border-[#646669] border-b-solid pb-16 pt-16"},zFe={class:"color-#f8f9fa"},DFe={class:"flex pb-16 pt-16"},LFe={class:"flex-[2]"},FFe={class:"flex-[1] text-right color-#f8f9fa"},BFe={class:"pb-16 pt-16"},NFe={class:"color-#f8f9fa"},HFe={class:"text-36 font-600"},jFe=ge({__name:"detail",setup(e){const t=Pn(),n=Aa(),o=Ki(),r=T=>gn.global.t(T),i=new Zu({html:!0}),a=T=>i.render(T),s={month_price:r("月付"),quarter_price:r("季付"),half_year_price:r("半年付"),year_price:r("年付"),two_year_price:r("两年付"),three_year_price:r("三年付"),onetime_price:r("一次性"),reset_price:r("流量重置包")},l=W(0),c=W([]);async function u(){const T=C.value;c.value=[];for(const $ in T)$ in s&&T[$]!==null&&c.value.push({name:s[$],key:$})}const d=W(""),f=W(!1),p=W();async function h(){f.value=!0;const{data:T}=await tJ(d.value,P.value);T&&(p.value=T),f.value=!1}function m(){if(!p.value||!C.value||wC(l.value))return 0;const{type:T,value:$}=p.value,R=c.value[l.value].key;return T===1?$:$*C.value[R]/100}const v=W(!1);async function b(){var $;const T=($=x.value)==null?void 0:$.find(R=>R.status===0);if(T){const R=T.trade_no;window.$dialog.confirm({title:r("注意"),type:"warning",content:r("你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?"),positiveText:r("确认取消"),negativeText:r("返回我的订单"),confirm(){Bu(R).then(({data:K})=>{K&&w()})},cancel(){Jt.push("/order")}});return}if(o.plan_id&&o.plan_id!=P.value&&(o.expired_at===null||o.expired_at>=Math.floor(Date.now()/1e3))){window.$dialog.confirm({title:r("注意"),type:"warning",content:r("请注意,变更订阅会导致当前订阅被覆盖。"),confirm(){w()}});return}w()}async function w(){var R;v.value=!0;const T=c.value[l.value].key,{data:$}=await zS(P.value,T,(R=p.value)==null?void 0:R.code);$&&(window.$message.success(r("订单提交成功,正在跳转支付")),setTimeout(()=>{Jt.push("/order/"+$)},500)),v.value=!1}const C=W(),S=W(!0);async function _(){S.value=!0;const{data:T}=await eJ(P.value);C.value=T,u(),S.value=!1}const x=W();async function y(){const{data:T}=await Tm();x.value=T}function k(){_(),y()}const P=W();return hn(()=>{P.value=n.params.plan_id,k()}),(T,$)=>{const R=ml,K=qi,H=uk,D=ck,M=mr,Y=fo,Q=Ui,de=yFe,he=zt,B=lk,E=ho;return pe(),qe(E,null,{default:ce(()=>{var A,G,ne,ye,J,xe,j,ve;return[S.value?(pe(),qe(K,{key:0,vertical:"",class:"mt-20"},{default:ce(()=>[ie(R,{height:"20px",width:"33%"}),ie(R,{height:"20px",width:"66%"}),ie(R,{height:"20px"})]),_:1})):(pe(),ze("div",xFe,[U("div",CFe,[ie(Y,{title:(A=C.value)==null?void 0:A.name,class:"m-auto max-w-100% border-rounded-5"},{default:ce(()=>{var Oe,Le,F;return[we(Lx)(((Oe=C.value)==null?void 0:Oe.content)||"")?(pe(),ze("div",wFe,[(pe(!0),ze(rt,null,Hn(JSON.parse(((Le=C.value)==null?void 0:Le.content)||""),(O,re)=>(pe(),ze("div",{key:re,class:ir(["vertical-center flex items-center",O.support?"":"opacity-30"])},[ie(M,{size:"30",class:"flex items-center text-[--primary-color]"},{default:ce(()=>[O.support?(pe(),qe(H,{key:0})):(pe(),qe(D,{key:1}))]),_:2},1024),U("div",null,le(O.feature),1)],2))),128))])):(pe(),ze("div",{key:1,innerHTML:a(((F=C.value)==null?void 0:F.content)||""),class:"markdown-body"},null,8,_Fe))]}),_:1},8,["title"]),ie(Y,{title:T.$t("付款周期"),class:"mt-20 border-rounded-5",contentStyle:"padding:0"},{default:ce(()=>[(pe(!0),ze(rt,null,Hn(c.value,(Oe,Le)=>{var F,O;return pe(),ze("div",{key:Oe.key},[U("div",{class:ir(["flex justify-between border-2 border-rounded-5 border-solid p-20 text-16 cursor-pointer",Le===l.value?"border-#0665d0":"border-transparent"]),onClick:re=>l.value=Le},[U("div",null,le(Oe.name),1),U("div",null,le((F=we(t).appConfig)==null?void 0:F.currency_symbol)+" "+le(we(an)((O=C.value)==null?void 0:O[c.value[Le].key])),1)],10,SFe),ie(Q,{class:"m-0!"})])}),128))]),_:1},8,["title"])]),U("div",kFe,[U("div",PFe,[U("div",TFe,[dn(U("input",{placeholder:r("有优惠券?"),"onUpdate:modelValue":$[0]||($[0]=Oe=>d.value=Oe),class:"min-w-0 flex-[1] border-none bg-transparent color-white outline-none"},null,8,RFe),[[pP,d.value]]),ie(he,{type:"primary","icon-placement":"left",loading:f.value,disabled:f.value,onClick:$[1]||($[1]=Oe=>h())},{icon:ce(()=>[ie(de)]),default:ce(()=>[nt(" "+le(T.$t("验证")),1)]),_:1},8,["loading","disabled"])])]),U("div",EFe,[U("div",$Fe,le(T.$t("订单总额")),1),U("div",AFe,[U("div",IFe,le((G=C.value)==null?void 0:G.name),1),U("div",OFe,le((ne=we(t).appConfig)==null?void 0:ne.currency_symbol)+" "+le(we(an)((ye=C.value)==null?void 0:ye[c.value[l.value].key])),1)]),p.value?(pe(),ze("div",MFe,[U("div",zFe,le(T.$t("折扣")),1),U("div",DFe,[U("div",LFe,le((J=p.value)==null?void 0:J.name),1),U("div",FFe,"- "+le(we(an)(m())),1)])])):pt("",!0),U("div",BFe,[U("div",NFe,le(T.$t("总计")),1),U("div",HFe,le((xe=we(t).appConfig)==null?void 0:xe.currency_symbol)+" "+le(we(an)(((j=C.value)==null?void 0:j[c.value[l.value].key])-m()))+" "+le((ve=we(t).appConfig)==null?void 0:ve.currency),1)]),ie(he,{type:"primary",class:"w-100% text-white","icon-placement":"left",strong:"",loading:v.value,disabled:v.value,onClick:$[2]||($[2]=Oe=>b())},{icon:ce(()=>[ie(B)]),default:ce(()=>[nt(" "+le(T.$t("下单")),1)]),_:1},8,["loading","disabled"])])])]))]}),_:1})}}}),VFe=Object.freeze(Object.defineProperty({__proto__:null,default:jFe},Symbol.toStringTag,{value:"Module"})),WFe={class:"inline-block",viewBox:"0 0 256 256",width:"1em",height:"1em"},UFe=U("path",{fill:"currentColor",d:"M216 64H56a8 8 0 0 1 0-16h136a8 8 0 0 0 0-16H56a24 24 0 0 0-24 24v128a24 24 0 0 0 24 24h160a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16m-36 80a12 12 0 1 1 12-12a12 12 0 0 1-12 12"},null,-1),qFe=[UFe];function KFe(e,t){return pe(),ze("svg",WFe,[...qFe])}const GFe={name:"ph-wallet-fill",render:KFe},YFe={class:"text-50 font-400"},XFe={class:"m-l-20 text-20 text-#6c757d"},ZFe={class:"text-#6c757d"},JFe={class:"mt-10 max-w-500"},QFe={class:"mt-10 max-w-500"},e7e={class:"mt-10 max-w-500"},t7e={class:"mt-10 max-w-500"},n7e={class:"mb-5"},o7e={class:"mt-10 max-w-500"},r7e={class:"mb-5"},i7e={class:"m-0 pb-10 pt-10 text-20"},a7e={class:"mt-20"},s7e=["href"],l7e={class:"mt-20"},c7e={class:"m-0 pb-10 pt-10 text-20"},u7e={class:"mt-20"},d7e={class:"flex justify-end"},f7e=ge({__name:"index",setup(e){const t=Ki(),n=Pn(),o=C=>gn.global.t(C),r=W(""),i=W(""),a=W(""),s=W(!1);async function l(){if(s.value=!0,i.value!==a.value){window.$message.error(o("两次新密码输入不同"));return}const{data:C}=await YZ(r.value,i.value);C===!0&&window.$message.success(o("密码修改成功")),s.value=!1}const c=W(!1),u=W(!1);async function d(C){if(C==="expire"){const{data:S}=await o1({remind_expire:c.value?1:0});S===!0?window.$message.success(o("更新成功")):(window.$message.error(o("更新失败")),c.value=!c.value)}else if(C==="traffic"){const{data:S}=await o1({remind_traffic:u.value?1:0});S===!0?window.$message.success(o("更新成功")):(window.$message.error(o("更新失败")),u.value=!u.value)}}const f=W(),p=W(!1);async function h(){const{data:C}=await cJ();C&&(f.value=C)}function m(C){window.location.href=C}const v=W(!1);async function b(){const{data:C}=await XZ();C&&window.$message.success(o("重置成功"))}async function w(){t.getUserInfo(),c.value=!!t.remind_expire,u.value=!!t.remind_traffic}return hn(()=>{w()}),(C,S)=>{const _=GFe,x=fo,y=lr,k=zt,P=DX,T=fl,$=Ui,R=AX,K=Qr,H=ho;return pe(),qe(H,null,{default:ce(()=>{var D,M,Y,Q;return[ie(x,{title:C.$t("我的钱包"),class:"border-rounded-5"},{"header-extra":ce(()=>[ie(_,{class:"text-40 color-gray"})]),default:ce(()=>{var de;return[U("div",null,[U("span",YFe,le(we(an)(we(t).balance)),1),U("span",XFe,le((de=we(n).appConfig)==null?void 0:de.currency),1)]),U("div",ZFe,le(C.$t("账户余额(仅消费)")),1)]}),_:1},8,["title"]),ie(x,{title:C.$t("修改密码"),class:"mt-20 border-rounded-5"},{default:ce(()=>[U("div",JFe,[U("label",null,le(C.$t("旧密码")),1),ie(y,{type:"password",value:r.value,"onUpdate:value":S[0]||(S[0]=de=>r.value=de),placeholder:C.$t("请输入旧密码"),maxlength:32},null,8,["value","placeholder"])]),U("div",QFe,[U("label",null,le(C.$t("新密码")),1),ie(y,{type:"password",value:i.value,"onUpdate:value":S[1]||(S[1]=de=>i.value=de),placeholder:C.$t("请输入新密码"),maxlength:32},null,8,["value","placeholder"])]),U("div",e7e,[U("label",null,le(C.$t("新密码")),1),ie(y,{type:"password",value:a.value,"onUpdate:value":S[2]||(S[2]=de=>a.value=de),placeholder:C.$t("请输入新密码"),maxlength:32},null,8,["value","placeholder"])]),ie(k,{class:"mt-20",type:"primary",onClick:l,loading:s.value,disabled:s.value},{default:ce(()=>[nt(le(C.$t("保存")),1)]),_:1},8,["loading","disabled"])]),_:1},8,["title"]),ie(x,{title:C.$t("通知"),class:"mt-20 border-rounded-5"},{default:ce(()=>[U("div",t7e,[U("div",n7e,le(C.$t("到期邮件提醒")),1),ie(P,{value:c.value,"onUpdate:value":[S[3]||(S[3]=de=>c.value=de),S[4]||(S[4]=de=>d("expire"))]},null,8,["value"])]),U("div",o7e,[U("div",r7e,le(C.$t("流量邮件提醒")),1),ie(P,{value:u.value,"onUpdate:value":[S[5]||(S[5]=de=>u.value=de),S[6]||(S[6]=de=>d("traffic"))]},null,8,["value"])])]),_:1},8,["title"]),(M=(D=we(n))==null?void 0:D.appConfig)!=null&&M.is_telegram?(pe(),qe(x,{key:0,title:C.$t("绑定Telegram"),class:"mt-20 border-rounded-5"},{"header-extra":ce(()=>[ie(k,{type:"primary",round:"",disabled:we(t).userInfo.telegram_id,onClick:S[7]||(S[7]=de=>(p.value=!0,h(),we(t).getUserSubscribe()))},{default:ce(()=>[nt(le(we(t).userInfo.telegram_id?C.$t("已绑定"):C.$t("立即开始")),1)]),_:1},8,["disabled"])]),_:1},8,["title"])):pt("",!0),(Q=(Y=we(n))==null?void 0:Y.appConfig)!=null&&Q.telegram_discuss_link?(pe(),qe(x,{key:1,title:C.$t("Telegram 讨论组"),class:"mt-20 border-rounded-5"},{"header-extra":ce(()=>[ie(k,{type:"primary",round:"",onClick:S[8]||(S[8]=de=>{var he,B;return m((B=(he=we(n))==null?void 0:he.appConfig)==null?void 0:B.telegram_discuss_link)})},{default:ce(()=>[nt(le(C.$t("立即加入")),1)]),_:1})]),_:1},8,["title"])):pt("",!0),ie(x,{title:C.$t("重置订阅信息"),class:"mt-20 border-rounded-5"},{default:ce(()=>[ie(T,{type:"warning"},{default:ce(()=>[nt(le(C.$t("当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。")),1)]),_:1}),ie(k,{type:"error",size:"small",class:"mt-10",onClick:S[9]||(S[9]=de=>v.value=!0)},{default:ce(()=>[nt(le(C.$t("重置")),1)]),_:1})]),_:1},8,["title"]),ie(K,{title:C.$t("绑定Telegram"),preset:"card",show:p.value,"onUpdate:show":S[12]||(S[12]=de=>p.value=de),class:"mx-10 max-w-100% w-600 md:mx-auto",footerStyle:"padding: 10px 16px",segmented:{content:!0,footer:!0}},{footer:ce(()=>[U("div",d7e,[ie(k,{type:"primary",onClick:S[11]||(S[11]=de=>p.value=!1)},{default:ce(()=>[nt(le(C.$t("我知道了")),1)]),_:1})])]),default:ce(()=>{var de,he,B;return[f.value&&we(t).subscribe?(pe(),ze(rt,{key:0},[U("div",null,[U("h2",i7e,le(C.$t("第一步")),1),ie($,{class:"m-0!"}),U("div",a7e,[nt(le(C.$t("打开Telegram搜索"))+" ",1),U("a",{href:"https://t.me/"+((de=f.value)==null?void 0:de.username)},"@"+le((he=f.value)==null?void 0:he.username),9,s7e)])]),U("div",l7e,[U("h2",c7e,le(C.$t("第二步")),1),ie($,{class:"m-0!"}),U("div",u7e,le(C.$t("向机器人发送你的")),1),U("code",{class:"cursor-pointer",onClick:S[10]||(S[10]=E=>{var A;return we(da)("/bind "+((A=we(t).subscribe)==null?void 0:A.subscribe_url))})},"/bind "+le((B=we(t).subscribe)==null?void 0:B.subscribe_url),1)])],64)):(pe(),qe(R,{key:1,size:"large"}))]}),_:1},8,["title","show"]),ie(K,{show:v.value,"onUpdate:show":S[13]||(S[13]=de=>v.value=de),preset:"dialog",title:C.$t("确定要重置订阅信息?"),content:C.$t("如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。"),"positive-text":C.$t("确认"),"negative-text":C.$t("取消"),onPositiveClick:b},null,8,["show","title","content","positive-text","negative-text"])]}),_:1})}}}),h7e=Object.freeze(Object.defineProperty({__proto__:null,default:f7e},Symbol.toStringTag,{value:"Module"})),p7e={class:"flex justify-end"},m7e=ge({__name:"index",setup(e){const t=p=>gn.global.t(p),n=[{label:t("低"),value:0},{label:t("中"),value:1},{label:t("高"),value:2}],o=[{title:t("主题"),key:"subject"},{title:t("工单级别"),key:"u",render(p){return n[p.level].label}},{title:t("工单状态"),key:"status",render(p){const h=g("div",{class:["h-6 w-6 rounded-full mr-5",p.status===1?"bg-green-500":p.reply_status===0?"bg-blue-500":"bg-red-500"]}),m=p.status===1?t("已关闭"):p.reply_status===0?t("已回复"):t("待回复");return g("div",{class:"flex items-center"},[h,m])}},{title:t("创建时间"),key:"created_at",render(p){return Ho(p.created_at)}},{title:t("最后回复时间"),key:"updated_at",render(p){return Ho(p.updated_at)}},{title:t("操作"),key:"actions",fixed:"right",render(p){const h=g(zt,{text:!0,type:"primary",onClick:()=>Jt.push(`/ticket/${p.id}`)},{default:()=>t("查看")}),m=g(zt,{text:!0,type:"primary",disabled:p.status===1,onClick:()=>c(p.id)},{default:()=>t("关闭")}),v=g(Ui,{vertical:!0});return g("div",[h,v,m])}}],r=W(!1),i=W(""),a=W(),s=W("");async function l(){const{data:p}=await oJ(i.value,a.value,s.value);p===!0&&(window.$message.success(t("创建成功")),f(),r.value=!1)}async function c(p){const{data:h}=await rJ(p);h&&(window.$message.success(t("关闭成功")),f())}const u=W([]);async function d(){const{data:p}=await nJ();u.value=p}function f(){d()}return hn(()=>{f()}),(p,h)=>{const m=lr,v=cm,b=qi,w=fo,C=Qr,S=zu,_=ho;return pe(),qe(_,null,{default:ce(()=>[ie(C,{show:r.value,"onUpdate:show":h[6]||(h[6]=x=>r.value=x)},{default:ce(()=>[ie(w,{title:p.$t("新的工单"),class:"mx-10 max-w-100% w-600 md:mx-auto",segmented:{content:!0,footer:!0},closable:"",onClose:h[5]||(h[5]=x=>r.value=!1)},{footer:ce(()=>[U("div",p7e,[ie(b,null,{default:ce(()=>[ie(we(zt),{onClick:h[3]||(h[3]=x=>r.value=!1)},{default:ce(()=>[nt(le(p.$t("取消")),1)]),_:1}),ie(we(zt),{type:"primary",onClick:h[4]||(h[4]=x=>l())},{default:ce(()=>[nt(le(p.$t("确认")),1)]),_:1})]),_:1})])]),default:ce(()=>[U("div",null,[U("label",null,le(p.$t("主题")),1),ie(m,{value:i.value,"onUpdate:value":h[0]||(h[0]=x=>i.value=x),class:"mt-5",placeholder:p.$t("请输入工单主题")},null,8,["value","placeholder"])]),U("div",null,[U("label",null,le(p.$t("工单级别")),1),ie(v,{value:a.value,"onUpdate:value":h[1]||(h[1]=x=>a.value=x),options:n,placeholder:p.$t("请选项工单等级"),class:"mt-5"},null,8,["value","placeholder"])]),U("div",null,[U("label",null,le(p.$t("消息")),1),ie(m,{value:s.value,"onUpdate:value":h[2]||(h[2]=x=>s.value=x),type:"textarea",placeholder:p.$t("请描述你遇到的问题"),round:"",class:"mt-5"},null,8,["value","placeholder"])])]),_:1},8,["title"])]),_:1},8,["show"]),ie(w,{class:"border-rounded-5",title:p.$t("工单历史")},{"header-extra":ce(()=>[ie(we(zt),{type:"primary",round:"",onClick:h[7]||(h[7]=x=>r.value=!0)},{default:ce(()=>[nt(le(p.$t("新的工单")),1)]),_:1})]),default:ce(()=>[ie(S,{columns:o,data:u.value,"scroll-x":800},null,8,["data"])]),_:1},8,["title"])]),_:1})}}}),g7e=Object.freeze(Object.defineProperty({__proto__:null,default:m7e},Symbol.toStringTag,{value:"Module"})),v7e={class:"relative",style:{height:"calc(100% - 70px)"}},b7e={class:"mb-8 mt-8 text-14 text-gray"},y7e={class:"mb-8 inline-block border-rounded-5 bg-#f8f9fa pb-8 pl-16 pr-16 pt-8"},x7e=ge({__name:"detail",setup(e){const t=Aa(),n=p=>gn.global.t(p),o=W("");async function r(){const{data:p}=await aJ(i.value,o.value);p===!0&&(window.$message.success(n("回复成功")),o.value="",f())}const i=W(),a=W();async function s(){const{data:p}=await iJ(i.value);p&&(a.value=p)}const l=W(null),c=W(null),u=async()=>{const p=l.value,h=c.value;p&&h&&p.scrollBy({top:h.scrollHeight,behavior:"auto"})},d=W();async function f(){await s(),await Ht(),u(),d.value=setInterval(s,2e3)}return hn(()=>{i.value=t.params.ticket_id,f()}),(p,h)=>{const m=wX,v=lr,b=zt,w=om,C=fo,S=ho;return pe(),qe(S,null,{default:ce(()=>{var _;return[ie(C,{title:(_=a.value)==null?void 0:_.subject,class:"h-full overflow-hidden"},{default:ce(()=>[U("div",v7e,[ie(m,{class:"absolute right-0 h-full",ref_key:"scrollbarRef",ref:l},{default:ce(()=>{var x;return[U("div",{ref_key:"scrollContainerRef",ref:c},[(pe(!0),ze(rt,null,Hn((x=a.value)==null?void 0:x.message,y=>(pe(),ze("div",{key:y.id,class:ir([y.is_me?"text-right":"text-left"])},[U("div",b7e,le(we(Ho)(y.created_at)),1),U("div",y7e,le(y.message),1)],2))),128))],512)]}),_:1},512)]),ie(w,{size:"large",class:"mt-30"},{default:ce(()=>[ie(v,{type:"text",size:"large",placeholder:p.$t("输入内容回复工单"),autofocus:!0,value:o.value,"onUpdate:value":h[0]||(h[0]=x=>o.value=x),onKeyup:h[1]||(h[1]=gs(x=>r(),["enter"]))},null,8,["placeholder","value"]),ie(b,{type:"primary",size:"large",onClick:h[2]||(h[2]=x=>r())},{default:ce(()=>[nt(le(p.$t("回复")),1)]),_:1})]),_:1})]),_:1},8,["title"])]}),_:1})}}}),C7e=Object.freeze(Object.defineProperty({__proto__:null,default:x7e},Symbol.toStringTag,{value:"Module"})),w7e=ge({__name:"index",setup(e){const t=i=>gn.global.t(i),n=[{title:t("记录时间"),key:"record_at",render(i){return xp(i.record_at)}},{title:t("实际上行"),key:"u",render(i){return xs(i.u)}},{title:t("实际下行"),key:"d",render(i){return xs(i.d)}},{title:t("扣费倍率"),key:"server_rate",render(i){return g(_i,{size:"small",round:!0},{default:()=>i.server_rate+" x"})}},{title(){const i=g(Ou,{placement:"bottom",trigger:"hover"},{trigger:()=>g(Zs("mdi-help-circle-outline",{size:16})),default:()=>t("公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量")});return g("div",{class:"flex items-center"},[t("总计"),i])},key:"total",fixed:"right",render(i){return xs((i.d+i.u)*parseFloat(i.server_rate))}}],o=W([]);async function r(){const{data:i}=await ZZ();o.value=i}return hn(()=>{r()}),(i,a)=>{const s=fl,l=zu,c=fo,u=ho;return pe(),qe(u,null,{default:ce(()=>[ie(c,{class:"border-rounded-5"},{default:ce(()=>[ie(s,{type:"info",bordered:!1,class:"mb-20"},{default:ce(()=>[nt(le(i.$t("流量明细仅保留近月数据以供查询。")),1)]),_:1}),ie(l,{columns:n,data:o.value,"scroll-x":600},null,8,["data"])]),_:1})]),_:1})}}}),_7e=Object.freeze(Object.defineProperty({__proto__:null,default:w7e},Symbol.toStringTag,{value:"Module"})),S7e={name:"NOTFOUND"},k7e={"h-full":"",flex:""};function P7e(e,t,n,o,r,i){const a=zt,s=yX;return pe(),ze("div",k7e,[ie(s,{"m-auto":"",status:"404",title:"404 Not Found",description:""},{footer:ce(()=>[ie(a,null,{default:ce(()=>[nt("Find some fun")]),_:1})]),_:1})])}const T7e=Hu(S7e,[["render",P7e]]),R7e=Object.freeze(Object.defineProperty({__proto__:null,default:T7e},Symbol.toStringTag,{value:"Module"})),E7e={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},$7e=U("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[U("path",{d:"M2 12c0 5.523 4.477 10 10 10s10-4.477 10-10S17.523 2 12 2S2 6.477 2 12"}),U("path",{d:"M13 2.05S16 6 16 12s-3 9.95-3 9.95m-2 0S8 18 8 12s3-9.95 3-9.95M2.63 15.5h18.74m-18.74-7h18.74"})],-1),A7e=[$7e];function I7e(e,t){return pe(),ze("svg",E7e,[...A7e])}const O7e={name:"iconoir-language",render:I7e},M7e={class:"inline-block",viewBox:"0 0 32 32",width:"1em",height:"1em"},z7e=U("path",{fill:"currentColor",d:"M26 30H14a2 2 0 0 1-2-2v-3h2v3h12V4H14v3h-2V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v24a2 2 0 0 1-2 2"},null,-1),D7e=U("path",{fill:"currentColor",d:"M14.59 20.59L18.17 17H4v-2h14.17l-3.58-3.59L16 10l6 6l-6 6z"},null,-1),L7e=[z7e,D7e];function F7e(e,t){return pe(),ze("svg",M7e,[...L7e])}const B7e={name:"carbon-login",render:F7e},N7e=ge({__name:"vueRecaptcha",props:{sitekey:{type:String,required:!0},size:{type:String,required:!1,default:"normal"},theme:{type:String,required:!1,default:"light"},hl:{type:String,required:!1},loadingTimeout:{type:Number,required:!1,default:0}},emits:{verify:e=>e!=null&&e!="",error:e=>e,expire:null,fail:null},setup(e,{expose:t,emit:n}){const o=e,r=W(null);let i=null;t({execute:function(){window.grecaptcha.execute(i)},reset:function(){window.grecaptcha.reset(i)}});function a(){i=window.grecaptcha.render(r.value,{sitekey:o.sitekey,theme:o.theme,size:o.size,callback:s=>n("verify",s),"expired-callback":()=>n("expire"),"error-callback":()=>n("fail")})}return jt(()=>{window.grecaptcha==null?new Promise((s,l)=>{let c,u=!1;window.recaptchaReady=function(){u||(u=!0,clearTimeout(c),s())};const d="recaptcha-script",f=m=>()=>{var v;u||(u=!0,clearTimeout(c),(v=document.getElementById(d))==null||v.remove(),l(m))};o.loadingTimeout>0&&(c=setTimeout(f("timeout"),o.loadingTimeout));const p=window.document,h=p.createElement("script");h.id=d,h.onerror=f("error"),h.onabort=f("aborted"),h.setAttribute("src",`https://www.recaptcha.net/recaptcha/api.js?onload=recaptchaReady&render=explicit&hl=${o.hl}&_=${+new Date}`),p.head.appendChild(h)}).then(()=>{a()}).catch(s=>{n("error",s)}):a()}),(s,l)=>(pe(),ze("div",{ref_key:"recaptchaDiv",ref:r},null,512))}}),H7e=e=>wt({url:"/passport/auth/login",method:"post",data:e}),j7e=e=>wt.get("/passport/auth/token2Login?verify="+encodeURIComponent(e.verify)+"&redirect="+encodeURIComponent(e.redirect)),V7e=e=>wt({url:"/passport/auth/register",method:"post",data:e});function W7e(){return wt.get("/guest/comm/config")}function U7e(e,t){return wt.post("/passport/comm/sendEmailVerify",{email:e,recaptcha_data:t})}function q7e(e,t,n){return wt.post("/passport/auth/forget",{email:e,password:t,email_code:n})}const K7e={class:"p-24"},G7e={key:0,class:"text-center"},Y7e=["src"],X7e={key:1,class:"m-1 text-center text-36 font-normal",color:"#343a40"},Z7e={class:"text-muted mb-3 text-center text-14 font-400",color:"#6c757d"},J7e={class:"mt-20 w-full"},Q7e={class:"mt-20 w-full"},eBe={class:"mt-20 w-full"},tBe={class:"mt-20 w-full"},nBe={class:"mt-20 w-full"},oBe={class:"mt-20 w-full"},rBe=["innerHTML"],iBe={class:"mt-20 w-full"},aBe={class:"flex justify-between bg-[--n-color-embedded] p-x-24 p-y-16 text-#6c757d"},sBe=ge({__name:"login",setup(e){const t=Pn(),n=cx(),o=Aa(),r=P=>gn.global.t(P),i=Zn({email:"",email_code:"",password:"",confirm_password:"",confirm:"",invite_code:"",lock_invite_code:!1,suffix:""}),a=W(!0),s=L(()=>{var T;const P=(T=C.value)==null?void 0:T.tos_url;return"
"+gn.global.tc('我已阅读并同意 服务条款',{url:P})+"
"}),l=W(),c=W(),u=W(!1),d=W();function f(P){l.value=P,setTimeout(()=>{u.value=!1,c.value&&c.value.reset,d.value==="register"?(x(),d.value=""):d.value==="sendEmailVerify"&&(w(),d.value="")},500)}function p(){c.value&&c.value.reset()}function h(){c.value&&c.value.reset()}function m(){c.value&&c.value.reset&&c.value.reset()}const v=W(!1),b=W(0);async function w(){var $,R;if(i.email===""){window.$message.error(r("请输入邮箱地址"));return}if(v.value=!0,b.value>0){window.$message.warning(gn.global.tc("{second}秒后可重新发送",{second:b.value}));return}if(($=C.value)!=null&&$.is_recaptcha&&((R=C.value)!=null&&R.recaptcha_site_key)&&!l.value){u.value=!0,v.value=!1,d.value="sendEmailVerify";return}const P=i.suffix?`${i.email}${i.suffix}`:i.email,{data:T}=await U7e(P,l.value);if(T===!0){window.$message.success(r("发送成功")),b.value=60;const K=setInterval(()=>{b.value--,b.value===0&&clearInterval(K)},1e3);l.value=""}v.value=!1}const C=W();async function S(){var T,$;const{data:P}=await W7e();P&&(C.value=P,q$(P.email_whitelist_suffix)&&(i.suffix=(T=P.email_whitelist_suffix)!=null&&T[0]?"@"+(($=P.email_whitelist_suffix)==null?void 0:$[0]):""),P.tos_url&&(a.value=!1))}const _=W(!1);async function x(){var K,H,D;const{email:P,password:T,confirm_password:$,email_code:R}=i;switch(y.value){case"login":{if(!P||!T){window.$message.warning(r("请输入用户名和密码"));return}_.value=!0;const{data:M}=await H7e({email:P,password:T.toString()});_.value=!1,M!=null&&M.auth_data&&(window.$message.success(r("登录成功")),Jd(M==null?void 0:M.auth_data),n.push(((K=o.query.redirect)==null?void 0:K.toString())??"/dashboard"));break}case"register":{if(i.email===""){window.$message.error(r("请输入邮箱地址"));return}const{password:M,confirm_password:Y,invite_code:Q,email_code:de}=i,he=i.suffix?`${i.email}${i.suffix}`:i.email;if(!he||!M){window.$message.warning(r("请输入账号密码"));return}if(M!==Y){window.$message.warning(r("请确保两次密码输入一致"));return}if((H=C.value)!=null&&H.is_recaptcha&&((D=C.value)!=null&&D.recaptcha_site_key)&&!l.value){l.value||(u.value=!0),d.value="register";return}_.value=!0;const{data:B}=await V7e({email:he,password:M,invite_code:Q,email_code:de,recaptcha_data:l.value});_.value=!1,B!=null&&B.auth_data&&(window.$message.success(r("注册成功")),Jd(B.auth_data),n.push("/")),l.value="";break}case"forgetpassword":{if(P===""){window.$message.error(r("请输入邮箱地址"));return}if(!P||!T){window.$message.warning(r("请输入账号密码"));return}if(T!==$){window.$message.warning(r("请确保两次密码输入一致"));return}_.value=!0;const{data:M}=await q7e(P,T,R);_.value=!1,M&&(window.$message.success(r("重置密码成功,正在返回登录")),setTimeout(()=>{n.push("/login")},500))}}}const y=L(()=>{const P=o.path;return P.includes("login")?"login":P.includes("register")?"register":P.includes("forgetpassword")?"forgetpassword":""}),k=async()=>{["register","forgetpassword"].includes(y.value)&&S(),o.query.code&&(i.lock_invite_code=!0,i.invite_code=o.query.code);const{verify:P,redirect:T}=o.query;if(P&&T){const{data:$}=await j7e({verify:P,redirect:T});$!=null&&$.auth_data&&(window.$message.success(r("登录成功")),Jd($==null?void 0:$.auth_data),n.push(T.toString()))}};return Yt(()=>{k()}),(P,T)=>{const $=Qr,R=lr,K=zt,H=om,D=hl,M=B7e,Y=Gc("router-link"),Q=Ui,de=O7e,he=lm,B=fo;return pe(),ze(rt,null,[ie($,{show:u.value,"onUpdate:show":T[0]||(T[0]=E=>u.value=E)},{default:ce(()=>{var E,A,G;return[(E=C.value)!=null&&E.is_recaptcha&&((A=C.value)!=null&&A.recaptcha_site_key)?(pe(),qe(we(N7e),{key:0,sitekey:(G=C.value)==null?void 0:G.recaptcha_site_key,size:"normal",theme:"light","loading-timeout":3e4,onVerify:f,onExpire:p,onFail:h,onError:m,ref_key:"vueRecaptchaRef",ref:c},null,8,["sitekey"])):pt("",!0)]}),_:1},8,["show"]),U("div",{class:"wh-full flex items-center justify-center",style:Fr(we(t).background_url&&`background:url(${we(t).background_url}) no-repeat center center / cover;`)},[ie(B,{class:"m-auto max-w-450 rounded-5 bg-[--n-color] shadow-black","content-style":"padding: 0;"},{default:ce(()=>{var E,A,G;return[U("div",K7e,[we(t).logo?(pe(),ze("div",G7e,[U("img",{src:we(t).logo,class:"mb-1em max-w-100%"},null,8,Y7e)])):(pe(),ze("h1",X7e,le(we(t).title),1)),U("h5",Z7e,le(we(t).description||" "),1),U("div",J7e,[ie(R,{value:i.email,"onUpdate:value":T[1]||(T[1]=ne=>i.email=ne),autofocus:"",placeholder:P.$t("邮箱"),maxlength:40},null,8,["value","placeholder"])]),dn(U("div",Q7e,[ie(H,{class:"flex"},{default:ce(()=>[ie(R,{value:i.email_code,"onUpdate:value":T[2]||(T[2]=ne=>i.email_code=ne),placeholder:P.$t("邮箱验证码")},null,8,["value","placeholder"]),ie(K,{type:"primary",onClick:T[3]||(T[3]=ne=>w()),loading:v.value,disabled:v.value||b.value>0},{default:ce(()=>[nt(le(b.value||P.$t("发送")),1)]),_:1},8,["loading","disabled"])]),_:1})],512),[[Mn,["register"].includes(y.value)&&((E=C.value)==null?void 0:E.is_email_verify)||["forgetpassword"].includes(y.value)]]),U("div",eBe,[ie(R,{value:i.password,"onUpdate:value":T[4]||(T[4]=ne=>i.password=ne),class:"",type:"password","show-password-on":"click",placeholder:P.$t("密码"),maxlength:40,onKeydown:T[5]||(T[5]=gs(ne=>["login"].includes(y.value)&&x(),["enter"]))},null,8,["value","placeholder"])]),dn(U("div",tBe,[ie(R,{value:i.confirm_password,"onUpdate:value":T[6]||(T[6]=ne=>i.confirm_password=ne),type:"password","show-password-on":"click",placeholder:P.$t("再次输入密码"),maxlength:40,onKeydown:T[7]||(T[7]=gs(ne=>["forgetpassword"].includes(y.value)&&x(),["enter"]))},null,8,["value","placeholder"])],512),[[Mn,["register","forgetpassword"].includes(y.value)]]),dn(U("div",nBe,[ie(R,{value:i.invite_code,"onUpdate:value":T[8]||(T[8]=ne=>i.invite_code=ne),placeholder:[P.$t("邀请码"),(A=C.value)!=null&&A.is_invite_force?`(${P.$t("必填")})`:`(${P.$t("选填")})`],maxlength:20,disabled:i.lock_invite_code,onKeydown:T[9]||(T[9]=gs(ne=>x(),["enter"]))},null,8,["value","placeholder","disabled"])],512),[[Mn,["register"].includes(y.value)]]),dn(U("div",oBe,[ie(D,{checked:a.value,"onUpdate:checked":T[10]||(T[10]=ne=>a.value=ne),class:"text-bold text-16"},{default:ce(()=>[U("div",{innerHTML:s.value},null,8,rBe)]),_:1},8,["checked"])],512),[[Mn,["register"].includes(y.value)&&((G=C.value)==null?void 0:G.tos_url)]]),U("div",iBe,[ie(K,{class:"h-36 w-full rounded-5 text-16",type:"primary","icon-placement":"left",onClick:T[11]||(T[11]=ne=>x()),loading:_.value,disabled:_.value||!a.value&&["register"].includes(y.value)},{icon:ce(()=>[ie(M)]),default:ce(()=>[nt(" "+le(["login"].includes(y.value)?P.$t("登入"):["register"].includes(y.value)?P.$t("注册"):P.$t("重置密码")),1)]),_:1},8,["loading","disabled"])])]),U("div",aBe,[U("div",null,[["login"].includes(y.value)?(pe(),ze(rt,{key:0},[ie(Y,{to:"/register",class:"text-#6c757d"},{default:ce(()=>[nt(le(P.$t("注册")),1)]),_:1}),ie(Q,{vertical:""}),ie(Y,{to:"/forgetpassword",class:"text-#6c757d"},{default:ce(()=>[nt(le(P.$t("忘记密码")),1)]),_:1})],64)):(pe(),qe(Y,{key:1,to:"/login",class:"text-#6c757d"},{default:ce(()=>[nt(le(P.$t("返回登入")),1)]),_:1}))]),U("div",null,[ie(he,{value:we(t).lang,"onUpdate:value":T[12]||(T[12]=ne=>we(t).lang=ne),options:Object.entries(we(Kf)).map(([ne,ye])=>({label:ye,value:ne})),trigger:"click","on-update:value":we(t).switchLang},{default:ce(()=>[ie(K,{text:"","icon-placement":"left"},{icon:ce(()=>[ie(de)]),default:ce(()=>[nt(" "+le(we(Kf)[we(t).lang]),1)]),_:1})]),_:1},8,["value","options","on-update:value"])])])]}),_:1})],4)],64)}}}),pf=Object.freeze(Object.defineProperty({__proto__:null,default:sBe},Symbol.toStringTag,{value:"Module"})),lBe={请求失败:"Request failed",月付:"Monthly",季付:"Quarterly",半年付:"Semi-Annually",年付:"Annually",两年付:"Biennially",三年付:"Triennially",一次性:"One Time",重置流量包:"Data Reset Package",待支付:"Pending Payment",开通中:"Pending Active",已取消:"Canceled",已完成:"Completed",已折抵:"Converted",待确认:"Pending",发放中:"Confirming",已发放:"Completed",无效:"Invalid",个人中心:"User Center",登出:"Logout",搜索:"Search",仪表盘:"Dashboard",订阅:"Subscription",我的订阅:"My Subscription",购买订阅:"Purchase Subscription",财务:"Billing",我的订单:"My Orders",我的邀请:"My Invitation",用户:"Account",我的工单:"My Tickets",流量明细:"Transfer Data Details",使用文档:"Knowledge Base",绑定Telegram获取更多服务:"Not link to Telegram yet",点击这里进行绑定:"Please click here to link to Telegram",公告:"Announcements",总览:"Overview",该订阅长期有效:"The subscription is valid for an unlimited time",已过期:"Expired","已用 {used} / 总计 {total}":"{used} Used / Total {total}",查看订阅:"View Subscription",邮箱:"Email",邮箱验证码:"Email verification code",发送:"Send",重置密码:"Reset Password",返回登入:"Back to Login",邀请码:"Invitation Code",复制链接:"Copy Link",完成时间:"Complete Time",佣金:"Commission",已注册用户数:"Registered users",佣金比例:"Commission rate",确认中的佣金:"Pending commission","佣金将会在确认后会到达你的佣金账户。":"The commission will reach your commission account after review.",邀请码管理:"Invitation Code Management",生成邀请码:"Generate invitation code",佣金发放记录:"Commission Income Record",复制成功:"Copied successfully",密码:"Password",登入:"Login",注册:"Register",忘记密码:"Forgot password","# 订单号":"Order Number #",周期:"Type / Cycle",订单金额:"Order Amount",订单状态:"Order Status",创建时间:"Creation Time",操作:"Action",查看详情:"View Details",请选择支付方式:"Please select a payment method",请检查信用卡支付信息:"Please check credit card payment information",订单详情:"Order Details",折扣:"Discount",折抵:"Converted",退款:"Refund",支付方式:"Payment Method",填写信用卡支付信息:"Please fill in credit card payment information","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"We will not collect your credit card information, credit card number and other details only use to verify the current transaction.",订单总额:"Order Total",总计:"Total",结账:"Checkout",等待支付中:"Waiting for payment","订单系统正在进行处理,请稍等1-3分钟。":"Order system is being processed, please wait 1 to 3 minutes.","订单由于超时支付已被取消。":"The order has been canceled due to overtime payment.","订单已支付并开通。":"The order has been paid and the service is activated.",选择订阅:"Select a Subscription",立即订阅:"Subscribe now",配置订阅:"Configure Subscription",付款周期:"Payment Cycle","有优惠券?":"Have coupons?",验证:"Verify",下单:"Order","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"Attention please, change subscription will overwrite your current subscription.",该订阅无法续费:"This subscription cannot be renewed",选择其他订阅:"Choose another subscription",我的钱包:"My Wallet","账户余额(仅消费)":"Account Balance (For billing only)","推广佣金(可提现)":"Invitation Commission (Can be used to withdraw)",钱包组成部分:"Wallet Details",划转:"Transfer",推广佣金提现:"Invitation Commission Withdrawal",修改密码:"Change Password",保存:"Save",旧密码:"Old Password",新密码:"New Password",请输入旧密码:"Please enter the old password",请输入新密码:"Please enter the new password",通知:"Notification",到期邮件提醒:"Subscription expiration email reminder",流量邮件提醒:"Insufficient transfer data email alert",绑定Telegram:"Link to Telegram",立即开始:"Start Now",重置订阅信息:"Reset Subscription",重置:"Reset","确定要重置订阅信息?":"Do you want to reset subscription?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"In case of your account information or subscription leak, this option is for reset. After resetting your UUID and subscription will change, you need to re-subscribe.",重置成功:"Reset successfully",两次新密码输入不同:"Two new passwords entered do not match",两次密码输入不同:"The passwords entered do not match","邀请码(选填)":"Invitation code (Optional)",'我已阅读并同意 服务条款':'I have read and agree to the terms of service',请同意服务条款:"Please agree to the terms of service",名称:"Name",标签:"Tags",状态:"Status",节点五分钟内节点在线情况:"Access Point online status in the last 5 minutes",倍率:"Rate",使用的流量将乘以倍率进行扣除:"The transfer data usage will be multiplied by the transfer data rate deducted.",更多操作:"Action","没有可用节点,如果您未订阅或已过期请":"No access points are available. If you have not subscribed or the subscription has expired, please","确定重置当前已用流量?":"Are you sure to reset your current data usage?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":'Click "Confirm" and you will be redirected to the payment page. The system will empty your current month"s usage after your purchase.',确定:"Confirm",低:"Low",中:"Medium",高:"High",主题:"Subject",工单级别:"Ticket Priority",工单状态:"Ticket Status",最后回复:"Last Reply",已关闭:"Closed",待回复:"Pending Reply",已回复:"Replied",查看:"View",关闭:"Cancel",新的工单:"My Tickets",确认:"Confirm",请输入工单主题:"Please enter a subject",工单等级:"Ticket Priority",请选择工单等级:"Please select the ticket priority",消息:"Message",请描述你遇到的问题:"Please describe the problem you encountered",记录时间:"Record Time",实际上行:"Actual Upload",实际下行:"Actual Download",合计:"Total","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"Formula: (Actual Upload + Actual Download) x Deduction Rate = Deduct Transfer Data",复制订阅地址:"Copy Subscription URL",导入到:"Export to",一键订阅:"Quick Subscription",复制订阅:"Copy Subscription URL",推广佣金划转至余额:"Transfer Invitation Commission to Account Balance","划转后的余额仅用于{title}消费使用":"The transferred balance will be used for {title} payments only",当前推广佣金余额:"Current invitation balance",划转金额:"Transfer amount",请输入需要划转到余额的金额:"Please enter the amount to be transferred to the balance","输入内容回复工单...":"Please enter to reply to the ticket...",申请提现:"Apply For Withdrawal",取消:"Cancel",提现方式:"Withdrawal Method",请选择提现方式:"Please select a withdrawal method",提现账号:"Withdrawal Account",请输入提现账号:"Please enter the withdrawal account",我知道了:"I got it",第一步:"First Step",第二步:"Second Step",打开Telegram搜索:"Open Telegram and Search ",向机器人发送你的:"Send the following command to bot","最后更新: {date}":"Last Updated: {date}",还有没支付的订单:"There are still unpaid orders",立即支付:"Pay Now",条工单正在处理中:"tickets are in process",立即查看:"View Now",节点状态:"Access Point Status",商品信息:"Product Information",产品名称:"Product Name","类型/周期":"Type / Cycle",产品流量:"Product Transfer Data",订单信息:"Order Details",关闭订单:"Close order",订单号:"Order Number",优惠金额:"Discount amount",旧订阅折抵金额:"Old subscription converted amount",退款金额:"Refunded amount",余额支付:"Balance payment",工单历史:"Ticket History","已用流量将在 {reset_day} 日后重置":"Used data will reset after {reset_day} days",已用流量已在今日重置:"Data usage has been reset today",重置已用流量:"Reset used data",查看节点状态:"View Access Point status","当前已使用流量达{rate}%":"Currently used data up to {rate}%",节点名称:"Access Point Name","于 {date} 到期,距离到期还有 {day} 天。":"Will expire on {date}, {day} days before expiration.","Telegram 讨论组":"Telegram Discussion Group",立即加入:"Join Now","该订阅无法续费,仅允许新用户购买":"This subscription cannot be renewed and is only available to new users.",重置当月流量:"Reset current month usage","流量明细仅保留近月数据以供查询。":'Only keep the most recent month"s usage for checking the transfer data details.',扣费倍率:"Fee deduction rate",支付手续费:"Payment fee",续费订阅:"Renewal Subscription",学习如何使用:"Learn how to use",快速将节点导入对应客户端进行使用:"Quickly export subscription into the client app",对您当前的订阅进行续费:"Renew your current subscription",对您当前的订阅进行购买:"Purchase your current subscription",捷径:"Shortcut","不会使用,查看使用教程":"I am a newbie, view the tutorial",使用支持扫码的客户端进行订阅:"Use a client app that supports scanning QR code to subscribe",扫描二维码订阅:"Scan QR code to subscribe",续费:"Renewal",购买:"Purchase",查看教程:"View Tutorial",注意:"Attention","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"You still have an unpaid order. You need to cancel it before purchasing. Are you sure you want to cancel the previous order?",确定取消:"Confirm Cancel",返回我的订单:"Back to My Order","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"If you have already paid, canceling the order may cause the payment to fail. Are you sure you want to cancel the order?",选择最适合你的计划:"Choose the right plan for you",全部:"All",按周期:"By Cycle",遇到问题:"I have a problem",遇到问题可以通过工单与我们沟通:"If you have any problems, you can contact us via ticket",按流量:"Pay As You Go",搜索文档:"Search Documents",技术支持:"Technical Support",当前剩余佣金:"Current commission remaining",三级分销比例:"Three-level Distribution Ratio",累计获得佣金:"Cumulative commission earned","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"The users you invite to re-invite users will be divided according to the order amount multiplied by the distribution level.",发放时间:"Commission Time","{number} 人":"{number} people","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"If your subscription address or account is leaked and misused by others, you can reset your subscription information here to prevent unnecessary losses.",再次输入密码:"Enter password again",返回登陆:"Return to Login",选填:"Optional",必填:"Required",最后回复时间:"Last Reply Time",请选项工单等级:"Please Select Ticket Priority",回复:"Reply",输入内容回复工单:"Enter Content to Reply to Ticket",已生成:"Generated",选择协议:"Select Protocol",自动:"Automatic",流量重置包:"Data Reset Package",复制失败:"Copy failed",提示:"Notification","确认退出?":"Confirm Logout?",已退出登录:"Logged out successfully",请输入邮箱地址:"Enter email address","{second}秒后可重新发送":"Resend available in {second} seconds",发送成功:"Sent successfully",请输入账号密码:"Enter account and password",请确保两次密码输入一致:"Ensure password entries match",注册成功:"Registration successful","重置密码成功,正在返回登录":"Password reset successful, returning to login",确认取消:"Confirm Cancel","请注意,变更订阅会导致当前订阅被覆盖。":"Please note that changing the subscription will overwrite the current subscription.","订单提交成功,正在跳转支付":"Order submitted successfully, redirecting to payment.",回复成功:"Reply Successful",工单详情:"Ticket Details",登录成功:"Login Successful","确定退出?":"Are you sure you want to exit?",支付成功:"Payment Successful",正在前往收银台:"Proceeding to Checkout",请输入正确的划转金额:"Please enter the correct transfer amount",划转成功:"Transfer Successful",提现方式不能为空:"Withdrawal method cannot be empty",提现账号不能为空:"Withdrawal account cannot be empty",已绑定:"Already Bound",创建成功:"Creation successful",关闭成功:"Shutdown successful"},dk=Object.freeze(Object.defineProperty({__proto__:null,default:lBe},Symbol.toStringTag,{value:"Module"})),cBe={请求失败:"درخواست انجام نشد",月付:"ماهانه",季付:"سه ماهه",半年付:"نیم سال",年付:"سالانه",两年付:"دو سال",三年付:"سه سال",一次性:"یک‌باره",重置流量包:"بازنشانی بسته های داده",待支付:"در انتظار پرداخت",开通中:"ایجاید",已取消:"صرف نظر شد",已完成:"به پایان رسید",已折抵:"تخفیف داده شده است",待确认:"در حال بررسی",发放中:"صدور",已发放:"صادر شده",无效:"نامعتبر",个人中心:"پروفایل",登出:"خروج",搜索:"جستجو",仪表盘:"داشبرد",订阅:"اشتراک",我的订阅:"اشتراک من",购买订阅:"خرید اشتراک",财务:"امور مالی",我的订单:"درخواست های من",我的邀请:"دعوتنامه های من",用户:"کاربر",我的工单:"درخواست های من",流量明细:"جزئیات\\nعبورو مرور در\\nمحیط آموزشی",使用文档:"کار با مستندات",绑定Telegram获取更多服务:"برای خدمات بیشتر تلگرام را ببندید",点击这里进行绑定:"برای اتصال اینجا را کلیک کنید",公告:"هشدارها",总览:"بررسی کلی",该订阅长期有效:"این اشتراک برای مدت طولانی معتبر است",已过期:"منقضی شده","已用 {used} / 总计 {total}":"استفاده شده {used} / مجموع {total}",查看订阅:"مشاهده عضویت ها",邮箱:"ایمیل",邮箱验证码:"کد تایید ایمیل شما",发送:"ارسال",重置密码:"بازنشانی رمز عبور",返回登入:"بازگشت به صفحه ورود",邀请码:"کد دعوت شما",复制链接:"کپی‌کردن لینک",完成时间:"زمان پایان",佣金:"کمیسیون",已注册用户数:"تعداد کاربران ثبت نام شده",佣金比例:"نرخ کمیسیون",确认中的佣金:"کمیسیون تایید شده","佣金将会在确认后会到达你的佣金账户。":"کمیسیون پس از تایید به حساب کمیسیون شما واریز خواهد شد",邀请码管理:"مدیریت کد دعوت",生成邀请码:"یک کد دعوت ایجاد کنید",佣金发放记录:"سابقه پرداخت کمیسیون",复制成功:"آدرس URL با موفقیت کپی شد",密码:"رمز عبور",登入:"ورود",注册:"ثبت‌نام",忘记密码:"رمز عبور فراموش شده","# 订单号":"# شماره سفارش",周期:"چرخه",订单金额:"مقدار سفارش",订单状态:"وضعیت سفارش",创建时间:"ساختن",操作:"عملیات",查看详情:"مشاهده جزئیات",请选择支付方式:"لطفا نوع پرداخت را انتخاب کنید",请检查信用卡支付信息:"لطفا اطلاعات پرداخت کارت اعتباری خود را بررسی کنید",订单详情:"اطلاعات سفارش",折扣:"ذخیره",折抵:"折抵",退款:"بازگشت هزینه",支付方式:"روش پرداخت",填写信用卡支付信息:"لطفا اطلاعات پرداخت کارت اعتباری خود را بررسی کنید","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"اطلاعات کارت اعتباری شما فقط برای بدهی فعلی استفاده می شود، سیستم آن را ذخیره نمی کند، که ما فکر می کنیم امن ترین است.",订单总额:"مجموع سفارش",总计:"مجموع",结账:"پرداخت",等待支付中:"در انتظار پرداخت","订单系统正在进行处理,请稍等1-3分钟。":"سیستم سفارش در حال پردازش است، لطفا 1-3 دقیقه صبر کنید.","订单由于超时支付已被取消。":"سفارش به دلیل پرداخت اضافه کاری لغو شده است","订单已支付并开通。":"سفارش پرداخت و باز شد.",选择订阅:"انتخاب اشتراک",立即订阅:"همین حالا مشترک شوید",配置订阅:"پیکربندی اشتراک",付款周期:"چرخه پرداخت","有优惠券?":"یک کوپن دارید؟",验证:"تأیید",下单:"ایجاد سفارش","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"لطفاً توجه داشته باشید، تغییر یک اشتراک باعث می‌شود که اشتراک فعلی توسط اشتراک جدید بازنویسی شود.",该订阅无法续费:"این اشتراک قابل تمدید نیست",选择其他订阅:"اشتراک دیگری را انتخاب کنید",我的钱包:"کیف پول من","账户余额(仅消费)":"موجودی حساب (فقط خرج کردن)","推广佣金(可提现)":"کمیسیون ارتقاء (قابل برداشت)",钱包组成部分:"اجزای کیف پول",划转:"منتقل کردن",推广佣金提现:"انصراف کمیسیون ارتقاء",修改密码:"تغییر کلمه عبور",保存:"ذخیره کردن",旧密码:"گذرواژه قدیمی",新密码:"رمز عبور جدید",请输入旧密码:", رمز عبور مورد نیاز است",请输入新密码:"گذاشتن گذرواژه",通知:"اعلانات",到期邮件提醒:"یادآوری ایمیل انقضا",流量邮件提醒:"یادآوری ایمیل ترافیک",绑定Telegram:"تلگرام را ببندید",立即开始:"امروز شروع کنید",重置订阅信息:"بازنشانی اطلاعات اشتراک",重置:"تغییر","确定要重置订阅信息?":"آیا مطمئن هستید که می خواهید اطلاعات اشتراک خود را بازنشانی کنید؟","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"اگر آدرس یا اطلاعات اشتراک شما لو رفته باشد، این کار را می توان انجام داد. پس از تنظیم مجدد، Uuid و اشتراک شما تغییر خواهد کرد و باید دوباره مشترک شوید.",重置成功:"بازنشانی با موفقیت انجام شد",两次新密码输入不同:"رمز جدید را دو بار وارد کنید",两次密码输入不同:"رمز جدید را دو بار وارد کنید","邀请码(选填)":"کد دعوت (اختیاری)",'我已阅读并同意 服务条款':"من شرایط خدمات را خوانده‌ام و با آن موافقم",请同意服务条款:"لطفاً با شرایط خدمات موافقت کنید",名称:"نام ویژگی محصول",标签:"برچسب‌ها",状态:"وضعیت",节点五分钟内节点在线情况:"وضعیت آنلاین گره را در عرض پنج دقیقه ثبت کنید",倍率:"بزرگنمایی",使用的流量将乘以倍率进行扣除:"جریان استفاده شده در ضریب برای کسر ضرب خواهد شد",更多操作:"اکشن های بیشتر","没有可用节点,如果您未订阅或已过期请":"هیچ گره ای در دسترس نیست، اگر مشترک نیستید یا منقضی شده اید، لطفاً","确定重置当前已用流量?":"آیا مطمئن هستید که می خواهید داده های استفاده شده فعلی را بازنشانی کنید؟","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"برای رفتن به صندوقدار روی 'OK' کلیک کنید. پس از پرداخت سفارش، سیستم اطلاعاتی را که برای ماه استفاده کرده اید پاک می کند.",确定:"تأیید",低:"پایین",中:"متوسط",高:"بالا",主题:"موضوع",工单级别:"سطح بلیط",工单状态:"وضعیت درخواست",最后回复:"آخرین پاسخ",已关闭:"پایان‌یافته",待回复:"در انتظار پاسخ",已回复:"پاسخ داده",查看:"بازدیدها",关闭:"بستن",新的工单:"سفارش کار جدید",确认:"تاييدات",请输入工单主题:"لطفا موضوع بلیط را وارد کنید",工单等级:"سطح سفارش کار",请选择工单等级:"لطفا سطح بلیط را انتخاب کنید",消息:"پیام ها",请描述你遇到的问题:"لطفا مشکلی که با آن مواجه شدید را شرح دهید",记录时间:"زمان ضبط",实际上行:"نقطه ضعف واقعی",实际下行:"نقطه ضعف واقعی",合计:"تعداد ارزش‌ها","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"فرمول: (خط واقعی + پایین دست واقعی) x نرخ کسر = ترافیک کسر شده",复制订阅地址:"آدرس اشتراک را کپی کنید",导入到:"واردات در:",一键订阅:"اشتراک با یک کلیک",复制订阅:"اشتراک را کپی کنید",推广佣金划转至余额:"کمیسیون ارتقاء به موجودی منتقل می شود","划转后的余额仅用于{title}消费使用":"موجودی منتقل شده فقط برای مصرف {title} استفاده می شود",当前推广佣金余额:"موجودی کمیسیون ترفیع فعلی",划转金额:"مقدار انتقال",请输入需要划转到余额的金额:"لطفا مبلغی را که باید به موجودی منتقل شود وارد کنید","输入内容回复工单...":"برای پاسخ به تیکت محتوا را وارد کنید...",申请提现:"برای انصراف اقدام کنید",取消:"انصراف",提现方式:"روش برداشت",请选择提现方式:"لطفاً یک روش برداشت را انتخاب کنید",提现账号:"حساب برداشت",请输入提现账号:"لطفا حساب برداشت را وارد کنید",我知道了:"می فهمم",第一步:"گام ۱",第二步:"گام ۲",打开Telegram搜索:"جستجوی تلگرام را باز کنید",向机器人发送你的:"ربات های خود را بفرستید","最后更新: {date}":"آخرین به روز رسانی: {date}",还有没支付的订单:"هنوز سفارشات پرداخت نشده وجود دارد",立即支付:"اکنون پرداخت کنید",条工单正在处理中:"بلیط در حال پردازش است",立即查看:"آن را در عمل ببینید",节点状态:"وضعیت گره",商品信息:"مشتریان ثبت نام شده",产品名称:"عنوان کالا","类型/周期":"نوع/چرخه",产品流量:"جریان محصول",订单信息:"اطلاعات سفارش",关闭订单:"سفارش بستن",订单号:"شماره سفارش",优惠金额:"قیمت با تخفیف",旧订阅折抵金额:"مبلغ تخفیف اشتراک قدیمی",退款金额:"کل مبلغ مسترد شده",余额支付:"پرداخت مانده",工单历史:"تاریخچه بلیط","已用流量将在 {reset_day} 日后重置":"داده‌های استفاده شده ظرف {reset_day} روز بازنشانی می‌شوند",已用流量已在今日重置:"امروز بازنشانی داده استفاده شده است",重置已用流量:"بازنشانی داده های استفاده شده",查看节点状态:"مشاهده وضعیت گره","当前已使用流量达{rate}%":"ترافیک استفاده شده در حال حاضر در {rate}%",节点名称:"نام گره","于 {date} 到期,距离到期还有 {day} 天。":"در {date} منقضی می‌شود که {day} روز دیگر است.","Telegram 讨论组":"گروه گفتگوی تلگرام",立即加入:"حالا پیوستن","该订阅无法续费,仅允许新用户购买":"این اشتراک قابل تمدید نیست، فقط کاربران جدید مجاز به خرید آن هستند",重置当月流量:"بازنشانی ترافیک ماه جاری","流量明细仅保留近月数据以供查询。":"جزئیات ترافیک فقط داده های ماه های اخیر را برای پرس و جو حفظ می کند.",扣费倍率:"نرخ کسر",支付手续费:"پرداخت هزینه های پردازش",续费订阅:"تمدید اشتراک",学习如何使用:"نحوه استفاده را یاد بگیرید",快速将节点导入对应客户端进行使用:"به سرعت گره ها را برای استفاده به مشتری مربوطه وارد کنید",对您当前的订阅进行续费:"با اشتراک فعلی خود خرید کنید",对您当前的订阅进行购买:"با اشتراک فعلی خود خرید کنید",捷径:"میانبر","不会使用,查看使用教程":"استفاده نمی شود، به آموزش مراجعه کنید",使用支持扫码的客户端进行订阅:"برای اشتراک از کلاینتی استفاده کنید که از کد اسکن پشتیبانی می کند",扫描二维码订阅:"برای اشتراک، کد QR را اسکن کنید",续费:"تمدید",购买:"خرید",查看教程:"مشاهده آموزش",注意:"یادداشت!","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"هنوز سفارشات ناتمام دارید. قبل از خرید باید آن را لغو کنید. آیا مطمئن هستید که می‌خواهید سفارش قبلی را لغو کنید؟",确定取消:"تایید لغو",返回我的订单:"بازگشت به سفارش من","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"اگر قبلاً پرداخت کرده‌اید، لغو سفارش ممکن است باعث عدم موفقیت در پرداخت شود. آیا مطمئن هستید که می‌خواهید سفارش را لغو کنید؟",选择最适合你的计划:"طرحی را انتخاب کنید که مناسب شما باشد",全部:"تمام",按周期:"توسط چرخه",遇到问题:"ما یک مشکل داریم",遇到问题可以通过工单与我们沟通:"در صورت بروز مشکل می توانید از طریق تیکت با ما در ارتباط باشید",按流量:"با جریان",搜索文档:"جستجوی اسناد",技术支持:"دریافت پشتیبانی",当前剩余佣金:"کمیسیون فعلی باقی مانده",三级分销比例:"نسبت توزیع سه لایه",累计获得佣金:"کمیسیون انباشته شده","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"کاربرانی که برای دعوت مجدد از کاربران دعوت می کنید بر اساس نسبت مقدار سفارش ضرب در سطح توزیع تقسیم می شوند.",发放时间:"زمان پرداخت","{number} 人":"{number} نفر","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"در صورت انتشار آدرس یا حساب اشتراک شما و سوء استفاده از آن توسط دیگران، می‌توانید اطلاعات اشتراک خود را در اینجا بازنشانی کنید تا از زیان‌های غیرضروری جلوگیری شود.",再次输入密码:"ورود مجدد رمز عبور",返回登陆:"بازگشت به ورود",选填:"اختیاری",必填:"الزامی",最后回复时间:"زمان آخرین پاسخ",请选项工单等级:"لطفاً اولویت تیکت را انتخاب کنید",回复:"پاسخ",输入内容回复工单:"محتوا را برای پاسخ به تیکت وارد کنید",已生成:"تولید شده",选择协议:"انتخاب پروتکل",自动:"خودکار",流量重置包:"بسته بازنشانی داده",复制失败:"کپی ناموفق بود",提示:"اطلاع","确认退出?":"تأیید خروج?",已退出登录:"با موفقیت خارج شده",请输入邮箱地址:"آدرس ایمیل را وارد کنید","{second}秒后可重新发送":"{second} ثانیه دیگر می‌توانید مجدداً ارسال کنید",发送成功:"با موفقیت ارسال شد",请输入账号密码:"نام کاربری و رمز عبور را وارد کنید",请确保两次密码输入一致:"اطمینان حاصل کنید که ورودهای رمز عبور مطابقت دارند",注册成功:"ثبت نام با موفقیت انجام شد","重置密码成功,正在返回登录":"با موفقیت رمز عبور بازنشانی شد، در حال بازگشت به صفحه ورود",确认取消:"تایید لغو","请注意,变更订阅会导致当前订阅被覆盖。":"لطفاً توجه داشته باشید که تغییر اشتراک موجب ایجاد اشتراک فعلی می‌شود.","订单提交成功,正在跳转支付":"سفارش با موفقیت ثبت شد، به پرداخت هدایت می‌شود.",回复成功:"پاسخ با موفقیت ارسال شد",工单详情:"جزئیات تیکت",登录成功:"ورود موفقیت‌آمیز","确定退出?":"آیا مطمئن هستید که می‌خواهید خارج شوید؟",支付成功:"پرداخت موفق",正在前往收银台:"در حال رفتن به صندوق پرداخت",请输入正确的划转金额:"لطفا مبلغ انتقال صحیح را وارد کنید",划转成功:"انتقال موفق",提现方式不能为空:"روش برداشت نمی‌تواند خالی باشد",提现账号不能为空:"حساب برداشت نمی‌تواند خالی باشد",已绑定:"قبلاً متصل شده",创建成功:"ایجاد موفقیت‌آمیز",关闭成功:"خاموش کردن موفق"},fk=Object.freeze(Object.defineProperty({__proto__:null,default:cBe},Symbol.toStringTag,{value:"Module"})),uBe={请求失败:"リクエストエラー",月付:"月間プラン",季付:"3か月プラン",半年付:"半年プラン",年付:"年間プラン",两年付:"2年プラン",三年付:"3年プラン",一次性:"一括払い",重置流量包:"使用済みデータをリセット",待支付:"お支払い待ち",开通中:"開通中",已取消:"キャンセル済み",已完成:"済み",已折抵:"控除済み",待确认:"承認待ち",发放中:"処理中",已发放:"処理済み",无效:"無効",个人中心:"会員メニュー",登出:"ログアウト",搜索:"検索",仪表盘:"ダッシュボード",订阅:"サブスクリプションプラン",我的订阅:"マイプラン",购买订阅:"プランの購入",财务:"ファイナンス",我的订单:"注文履歴",我的邀请:"招待リスト",用户:"ユーザー",我的工单:"お問い合わせ",流量明细:"データ通信明細",使用文档:"ナレッジベース",绑定Telegram获取更多服务:"Telegramと連携し各種便利な通知を受け取ろう",点击这里进行绑定:"こちらをクリックして連携開始",公告:"お知らせ",总览:"概要",该订阅长期有效:"時間制限なし",已过期:"期限切れ","已用 {used} / 总计 {total}":"使用済み {used} / 合計 {total}",查看订阅:"プランを表示",邮箱:"E-mail アドレス",邮箱验证码:"確認コード",发送:"送信",重置密码:"パスワードを変更",返回登入:"ログインページへ戻る",邀请码:"招待コード",复制链接:"URLをコピー",完成时间:"完了日時",佣金:"コミッション金額",已注册用户数:"登録済みユーザー数",佣金比例:"コミッションレート",确认中的佣金:"承認待ちのコミッション","佣金将会在确认后会到达你的佣金账户。":"コミッションは承認処理完了後にカウントされます",邀请码管理:"招待コードの管理",生成邀请码:"招待コードを生成",佣金发放记录:"コミッション履歴",复制成功:"クリップボードにコピーされました",密码:"パスワード",登入:"ログイン",注册:"新規登録",忘记密码:"パスワードをお忘れの方","# 订单号":"受注番号",周期:"サイクル",订单金额:"ご注文金額",订单状态:"ご注文状況",创建时间:"作成日時",操作:"アクション",查看详情:"詳細を表示",请选择支付方式:"支払い方法をお選びください",请检查信用卡支付信息:"クレジットカード決済情報をご確認ください",订单详情:"ご注文詳細",折扣:"割引",折抵:"控除",退款:"払い戻し",支付方式:"お支払い方法",填写信用卡支付信息:"クレジットカード決済情報をご入力ください。","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"お客様のカード情報は今回限りリクエストされ、記録に残ることはございません",订单总额:"ご注文の合計金額",总计:"合計金額",结账:"チェックアウト",等待支付中:"お支払い待ち","订单系统正在进行处理,请稍等1-3分钟。":"システム処理中です、しばらくお待ちください","订单由于超时支付已被取消。":"ご注文はキャンセルされました","订单已支付并开通。":"お支払いが完了しました、プランはご利用可能です",选择订阅:"プランをお選びください",立即订阅:"今すぐ購入",配置订阅:"プランの内訳",付款周期:"お支払いサイクル","有优惠券?":"キャンペーンコード",验证:"確定",下单:"チェックアウト","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"プランを変更なされます場合は、既存のプランが新規プランによって上書きされます、ご注意下さい",该订阅无法续费:"該当プランは継続利用できません",选择其他订阅:"その他のプランを選択",我的钱包:"マイウォレット","账户余额(仅消费)":"残高(サービスの購入のみ)","推广佣金(可提现)":"招待によるコミッション(出金可)",钱包组成部分:"ウォレットの内訳",划转:"お振替",推广佣金提现:"コミッションのお引き出し",修改密码:"パスワードの変更",保存:"変更を保存",旧密码:"現在のパスワード",新密码:"新しいパスワード",请输入旧密码:"現在のパスワードをご入力ください",请输入新密码:"新しいパスワードをご入力ください",通知:"お知らせ",到期邮件提醒:"期限切れ前にメールで通知",流量邮件提醒:"データ量不足時にメールで通知",绑定Telegram:"Telegramと連携",立即开始:"今すぐ連携開始",重置订阅信息:"サブスクリプションURLの変更",重置:"変更","确定要重置订阅信息?":"サブスクリプションURLをご変更なされますか?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"サブスクリプションのURL及び情報が外部に漏れた場合にご操作ください。操作後はUUIDやURLが変更され、再度サブスクリプションのインポートが必要になります。",重置成功:"変更完了",两次新密码输入不同:"ご入力されました新しいパスワードが一致しません",两次密码输入不同:"ご入力されましたパスワードが一致しません","邀请码(选填)":"招待コード (オプション)",'我已阅读并同意 服务条款':"ご利用規約に同意します",请同意服务条款:"ご利用規約に同意してください",名称:"名称",标签:"ラベル",状态:"ステータス",节点五分钟内节点在线情况:"5分間のオンラインステータス",倍率:"適応レート",使用的流量将乘以倍率进行扣除:"通信量は該当レートに基き計算されます",更多操作:"アクション","没有可用节点,如果您未订阅或已过期请":"ご利用可能なサーバーがありません,プランの期限切れまたは購入なされていない場合は","确定重置当前已用流量?":"利用済みデータ量をリセットしますか?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"「確定」をクリックし次のページへ移動,お支払い後に当月分のデータ通信量は即時リセットされます",确定:"確定",低:"低",中:"中",高:"高",主题:"タイトル",工单级别:"プライオリティ",工单状态:"進捗状況",最后回复:"最終回答日時",已关闭:"終了",待回复:"対応待ち",已回复:"回答済み",查看:"閲覧",关闭:"終了",新的工单:"新規お問い合わせ",确认:"確定",请输入工单主题:"お問い合わせタイトルをご入力ください",工单等级:"ご希望のプライオリティ",请选择工单等级:"ご希望のプライオリティをお選びください",消息:"メッセージ",请描述你遇到的问题:"お問い合わせ内容をご入力ください",记录时间:"記録日時",实际上行:"アップロード",实际下行:"ダウンロード",合计:"合計","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"計算式:(アップロード + ダウンロード) x 適応レート = 使用済みデータ通信量",复制订阅地址:"サブスクリプションのURLをコピー",导入到:"インポート先:",一键订阅:"ワンクリックインポート",复制订阅:"サブスクリプションのURLをコピー",推广佣金划转至余额:"コミッションを残高へ振替","划转后的余额仅用于{title}消费使用":"振替済みの残高は{title}でのみご利用可能です",当前推广佣金余额:"現在のコミッション金額",划转金额:"振替金額",请输入需要划转到余额的金额:"振替金額をご入力ください","输入内容回复工单...":"お問い合わせ内容をご入力ください...",申请提现:"出金申請",取消:"キャンセル",提现方式:"お振込み先",请选择提现方式:"お振込み先をお選びください",提现账号:"お振り込み先口座",请输入提现账号:"お振込み先口座をご入力ください",我知道了:"了解",第一步:"ステップその1",第二步:"ステップその2",打开Telegram搜索:"Telegramを起動後に右記内容を入力し検索",向机器人发送你的:"テレグラムボットへ下記内容を送信","最后更新: {date}":"最終更新日: {date}",还有没支付的订单:"未払いのご注文があります",立即支付:"チェックアウト",条工单正在处理中:"件のお問い合わせ",立即查看:"閲覧",节点状态:"サーバーステータス",商品信息:"プラン詳細",产品名称:"プラン名","类型/周期":"サイクル",产品流量:"ご利用可能データ量",订单信息:"オーダー情報",关闭订单:"注文をキャンセル",订单号:"受注番号",优惠金额:"'割引額",旧订阅折抵金额:"既存プラン控除額",退款金额:"返金額",余额支付:"残高ご利用分",工单历史:"お問い合わせ履歴","已用流量将在 {reset_day} 日后重置":"利用済みデータ量は {reset_day} 日後にリセットします",已用流量已在今日重置:"利用済みデータ量は本日リセットされました",重置已用流量:"利用済みデータ量をリセット",查看节点状态:"接続先サーバのステータス","当前已使用流量达{rate}%":"データ使用量が{rate}%になりました",节点名称:"サーバー名","于 {date} 到期,距离到期还有 {day} 天。":"ご利用期限は {date} まで,期限まであと {day} 日","Telegram 讨论组":"Telegramグループ",立即加入:"今すぐ参加","该订阅无法续费,仅允许新用户购买":"該当プランは継続利用できません、新規ユーザーのみが購入可能です",重置当月流量:"使用済みデータ量のカウントリセット","流量明细仅保留近月数据以供查询。":"データ通信明細は当月分のみ表示されます",扣费倍率:"適応レート",支付手续费:"お支払い手数料",续费订阅:"購読更新",学习如何使用:"ご利用ガイド",快速将节点导入对应客户端进行使用:"最短ルートでサーバー情報をアプリにインポートして使用する",对您当前的订阅进行续费:"ご利用中のサブスクの継続料金を支払う",对您当前的订阅进行购买:"ご利用中のサブスクを再度購入する",捷径:"ショートカット","不会使用,查看使用教程":"ご利用方法がわからない方はナレッジベースをご閲覧ください",使用支持扫码的客户端进行订阅:"使用支持扫码的客户端进行订阅",扫描二维码订阅:"QRコードをスキャンしてサブスクを設定",续费:"更新",购买:"購入",查看教程:"チュートリアルを表示",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"まだ購入が完了していないオーダーがあります。購入前にそちらをキャンセルする必要がありますが、キャンセルしてよろしいですか?",确定取消:"キャンセル",返回我的订单:"注文履歴に戻る","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"もし既にお支払いが完了していると、注文をキャンセルすると支払いが失敗となる可能性があります。キャンセルしてもよろしいですか?",选择最适合你的计划:"あなたにピッタリのプランをお選びください",全部:"全て",按周期:"期間順",遇到问题:"何かお困りですか?",遇到问题可以通过工单与我们沟通:"何かお困りでしたら、お問い合わせからご連絡ください。",按流量:"データ通信量順",搜索文档:"ドキュメント内を検索",技术支持:"テクニカルサポート",当前剩余佣金:"コミッション残高",三级分销比例:"3ティア比率",累计获得佣金:"累計獲得コミッション金額","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"お客様に招待された方が更に別の方を招待された場合、お客様は支払われるオーダーからティア分配分の比率分を受け取ることができます。",发放时间:"手数料支払時間","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"購読アドレスまたはアカウントが漏れて他者に悪用された場合、不必要な損失を防ぐためにここで購読情報をリセットできます。",再次输入密码:"パスワードを再入力してください",返回登陆:"ログインに戻る",选填:"任意",必填:"必須",最后回复时间:"最終返信時刻",请选项工单等级:"チケットの優先度を選択してください",回复:"返信",输入内容回复工单:"チケットへの返信内容を入力",已生成:"生成済み",选择协议:"プロトコルの選択",自动:"自動",流量重置包:"データリセットパッケージ",复制失败:"コピーに失敗しました",提示:"通知","确认退出?":"ログアウトを確認?",已退出登录:"正常にログアウトしました",请输入邮箱地址:"メールアドレスを入力してください","{second}秒后可重新发送":"{second} 秒後に再送信可能",发送成功:"送信成功",请输入账号密码:"アカウントとパスワードを入力してください",请确保两次密码输入一致:"パスワードの入力が一致していることを確認してください",注册成功:"登録が成功しました","重置密码成功,正在返回登录":"パスワードのリセットが成功しました。ログインに戻っています",确认取消:"キャンセルの確認","请注意,变更订阅会导致当前订阅被覆盖。":"購読の変更は現在の購読を上書きします。","订单提交成功,正在跳转支付":"注文が成功裏に送信されました。支払いにリダイレクトしています。",回复成功:"返信が成功しました",工单详情:"チケットの詳細",登录成功:"ログイン成功","确定退出?":"本当に退出しますか?",支付成功:"支払い成功",正在前往收银台:"チェックアウトに進行中",请输入正确的划转金额:"正しい振替金額を入力してください",划转成功:"振替成功",提现方式不能为空:"出金方法は空にできません",提现账号不能为空:"出金口座を空にすることはできません",已绑定:"既にバインドされています",创建成功:"作成成功",关闭成功:"閉鎖成功"},hk=Object.freeze(Object.defineProperty({__proto__:null,default:uBe},Symbol.toStringTag,{value:"Module"})),dBe={请求失败:"요청실패",月付:"월간",季付:"3개월간",半年付:"반년간",年付:"1년간",两年付:"2년마다",三年付:"3년마다",一次性:"한 번",重置流量包:"데이터 재설정 패키지",待支付:"지불 보류중",开通中:"보류 활성화",已取消:"취소 됨",已完成:"완료",已折抵:"변환",待确认:"보류중",发放中:"확인중",已发放:"완료",无效:"유효하지 않음",个人中心:"사용자 센터",登出:"로그아웃",搜索:"검색",仪表盘:"대시보드",订阅:"구독",我的订阅:"나의 구독",购买订阅:"구독 구매 내역",财务:"청구",我的订单:"나의 주문",我的邀请:"나의 초청",用户:"사용자 센터",我的工单:"나의 티켓",流量明细:"데이터 세부 정보 전송",使用文档:"사용 설명서",绑定Telegram获取更多服务:"텔레그램에 아직 연결되지 않았습니다",点击这里进行绑定:"텔레그램에 연결되도록 여기를 눌러주세요",公告:"발표",总览:"개요",该订阅长期有效:"구독은 무제한으로 유효합니다",已过期:"만료","已用 {used} / 总计 {total}":"{date}에 만료됩니다, 만료 {day}이 전, {reset_day}후 데이터 전송 재설정",查看订阅:"구독 보기",邮箱:"이메일",邮箱验证码:"이메일 확인 코드",发送:"보내기",重置密码:"비밀번호 재설정",返回登入:"로그인 다시하기",邀请码:"초청 코드",复制链接:"링크 복사",完成时间:"완료 시간",佣金:"수수료",已注册用户数:"등록 된 사용자들",佣金比例:"수수료율",确认中的佣金:"수수료 상태","佣金将会在确认后会到达你的佣金账户。":"수수료는 검토 후 수수료 계정에서 확인할 수 있습니다",邀请码管理:"초청 코드 관리",生成邀请码:"초청 코드 생성하기",佣金发放记录:"수수료 지불 기록",复制成功:"복사 성공",密码:"비밀번호",登入:"로그인",注册:"등록하기",忘记密码:"비밀번호를 잊으셨나요","# 订单号":"주문 번호 #",周期:"유형/기간",订单金额:"주문량",订单状态:"주문 상태",创建时间:"생성 시간",操作:"설정",查看详情:"세부사항 보기",请选择支付方式:"지불 방식을 선택 해주세요",请检查信用卡支付信息:"신용카드 지불 정보를 확인 해주세요",订单详情:"주문 세부사항",折扣:"할인",折抵:"변환",退款:"환불",支付方式:"지불 방식",填写信用卡支付信息:"신용카드 지불 정보를 적으세요","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"현재 거래를 확인하는 데 사용하는 귀하의 신용 카드 정보, 신용 카드 번호 및 기타 세부 정보를 수집하지 않습니다.",订单总额:"전체주문",总计:"전체",结账:"결제하기",等待支付中:"결제 대기 중","订单系统正在进行处理,请稍等1-3分钟。":"주문 시스템이 처리 중입니다. 1-3분 정도 기다려 주십시오.","订单由于超时支付已被取消。":"결제 시간 초과로 인해 주문이 취소되었습니다.","订单已支付并开通。":"주문이 결제되고 개통되었습니다.",选择订阅:"구독 선택하기",立即订阅:"지금 구독하기",配置订阅:"구독 환경 설정하기",付款周期:"지불 기간","有优惠券?":"쿠폰을 가지고 있나요?",验证:"확인",下单:"주문","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"주의하십시오. 구독을 변경하면 현재 구독을 덮어씁니다",该订阅无法续费:"이 구독은 갱신할 수 없습니다.",选择其他订阅:"다른 구독 선택",我的钱包:"나의 지갑","账户余额(仅消费)":"계정 잔액(결제 전용)","推广佣金(可提现)":"초청수수료(인출하는 데 사용할 수 있습니다)",钱包组成部分:"지갑 세부사항",划转:"이체하기",推广佣金提现:"초청 수수료 인출",修改密码:"비밀번호 변경",保存:"저장하기",旧密码:"이전 비밀번호",新密码:"새로운 비밀번호",请输入旧密码:"이전 비밀번호를 입력해주세요",请输入新密码:"새로운 비밀번호를 입력해주세요",通知:"공고",到期邮件提醒:"구독 만료 이메일 알림",流量邮件提醒:"불충분한 데이터 이메일 전송 알림",绑定Telegram:"탤레그램으로 연결",立即开始:"지금 시작하기",重置订阅信息:"구독 재설정하기",重置:"재설정","确定要重置订阅信息?":"구독을 재설정하시겠습니까?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"계정 정보나 구독이 누출된 경우 이 옵션은 UUID를 재설정하는 데 사용되며 재설정 후에 구독이 변경되므로 다시 구독해야 합니다.",重置成功:"재설정 성공",两次新密码输入不同:"입력한 두 개의 새 비밀번호가 일치하지 않습니다.",两次密码输入不同:"입력한 비밀번호가 일치하지 않습니다.","邀请码(选填)":"초청 코드(선택 사항)",'我已阅读并同意 服务条款':"을 읽었으며 이에 동의합니다 서비스 약관",请同意服务条款:"서비스 약관에 동의해주세요",名称:"이름",标签:"태그",状态:"설정",节点五分钟内节点在线情况:"지난 5분 동안의 액세스 포인트 온라인 상태",倍率:"요금",使用的流量将乘以倍率进行扣除:"사용된 전송 데이터에 전송 데이터 요금을 뺀 값을 곱합니다.",更多操作:"설정","没有可用节点,如果您未订阅或已过期请":"사용 가능한 액세스 포인트가 없습니다. 구독을 신청하지 않았거나 구독이 만료된 경우","确定重置当前已用流量?":"현재 사용 중인 데이터를 재설정 하시겠습니까?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":'확인"을 클릭하면 결제 페이지로 이동됩니다. 주문이 완료되면 시스템에서 해당 월의 사용 데이터를 삭제합니다.',确定:"확인",低:"낮음",中:"중간",高:"높음",主题:"주제",工单级别:"티켓 우선 순위",工单状态:"티켓 상태",最后回复:"생성 시간",已关闭:"마지막 답장",待回复:"설정",已回复:"닫힘",查看:"보기",关闭:"닫기",新的工单:"새로운 티켓",确认:"확인",请输入工单主题:"제목을 입력하세요",工单等级:"티켓 우선순위",请选择工单等级:"티켓 우선순위를 선택해주세요",消息:"메세지",请描述你遇到的问题:"문제를 설명하십시오 발생한",记录时间:"기록 시간",实际上行:"실제 업로드",实际下行:"실제 다운로드",合计:"전체","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"공식: (실제 업로드 + 실제 다운로드) x 공제율 = 전송 데이터 공제",复制订阅地址:"구독 URL 복사",导入到:"내보내기",一键订阅:"빠른 구독",复制订阅:"구독 URL 복사",推广佣金划转至余额:"초청 수수료를 계좌 잔액으로 이체","划转后的余额仅用于{title}消费使用":"이체된 잔액은 {title} 소비에만 사용됩니다.",当前推广佣金余额:"현재 홍보 수수료 잔액",请输入需要划转到余额的金额:"잔액으로 이체할 금액을 입력하세요.",取消:"취소",提现方式:"인출 방법",请选择提现方式:"인출 방법을 선택해주세요",提现账号:"인출 계좌",请输入提现账号:"인출 계좌를 입력해주세요",我知道了:"알겠습니다.",第一步:"첫번째 단계",第二步:"두번째 단계",打开Telegram搜索:"텔레그램 열기 및 탐색",向机器人发送你的:"봇에 다음 명령을 보냅니다","最后更新: {date}":"마지막 업데이트{date}",还有没支付的订单:"미결제 주문이 있습니다",立即支付:"즉시 지불",条工单正在处理中:"티켓이 처리 중입니다",立即查看:"제목을 입력하세요",节点状态:"노드 상태",商品信息:"제품 정보",产品名称:"제품 명칭","类型/周期":"종류/기간",产品流量:"제품 데이터 용량",订单信息:"주문 정보",关闭订单:"주문 취소",订单号:"주문 번호",优惠金额:"할인 가격",旧订阅折抵金额:"기존 패키지 공제 금액",退款金额:"환불 금액",余额支付:"잔액 지불",工单历史:"티켓 기록","已用流量将在 {reset_day} 日后重置":"{reset_day}일 후에 사용한 데이터가 재설정됩니다",已用流量已在今日重置:"오늘 이미 사용한 데이터가 재설정되었습니다",重置已用流量:"사용한 데이터 재설정",查看节点状态:"노드 상태 확인","当前已使用流量达{rate}%":"현재 사용한 데이터 비율이 {rate}%에 도달했습니다",节点名称:"환불 금액","于 {date} 到期,距离到期还有 {day} 天。":"{day}까지, 만료 {day}일 전.","Telegram 讨论组":"텔레그램으로 문의하세요",立即加入:"지금 가입하세요","该订阅无法续费,仅允许新用户购买":"이 구독은 갱신할 수 없습니다. 신규 사용자만 구매할 수 있습니다.",重置当月流量:"이번 달 트래픽 초기화","流量明细仅保留近月数据以供查询。":"귀하의 트래픽 세부 정보는 최근 몇 달 동안만 유지됩니다",扣费倍率:"수수료 공제율",支付手续费:"수수료 지불",续费订阅:"구독 갱신",学习如何使用:"사용 방법 배우기",快速将节点导入对应客户端进行使用:"빠르게 노드를 해당 클라이언트로 가져와 사용하기",对您当前的订阅进行续费:"현재 구독 갱신",对您当前的订阅进行购买:"현재 구독 구매",捷径:"단축키","不会使用,查看使用教程":"사용 방법을 모르겠다면 사용 설명서 확인",使用支持扫码的客户端进行订阅:"스캔 가능한 클라이언트로 구독하기",扫描二维码订阅:"QR 코드 스캔하여 구독",续费:"갱신",购买:"구매",查看教程:"사용 설명서 보기",注意:"주의","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"미완료된 주문이 있습니다. 구매 전에 취소해야 합니다. 이전 주문을 취소하시겠습니까?",确定取消:"취소 확인",返回我的订单:"내 주문으로 돌아가기","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"이미 결제를 했을 경우 주문 취소는 결제 실패로 이어질 수 있습니다. 주문을 취소하시겠습니까?",选择最适合你的计划:"가장 적합한 요금제 선택",全部:"전체",按周期:"주기별",遇到问题:"문제 발생",遇到问题可以通过工单与我们沟通:"문제가 발생하면 서포트 티켓을 통해 문의하세요",按流量:"트래픽별",搜索文档:"문서 검색",技术支持:"기술 지원",当前剩余佣金:"현재 잔여 수수료",三级分销比例:"삼수준 분배 비율",累计获得佣金:"누적 수수료 획득","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"초대한 사용자가 다시 초대하면 주문 금액에 분배 비율을 곱하여 분배됩니다.",发放时间:"수수료 지급 시간","{number} 人":"{number} 명","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"구독 주소 또는 계정이 유출되어 다른 사람에게 남용되는 경우 여기에서 구독 정보를 재설정하여 불필요한 손실을 방지할 수 있습니다.",再次输入密码:"비밀번호를 다시 입력하세요",返回登陆:"로그인으로 돌아가기",选填:"선택 사항",必填:"필수",最后回复时间:"최근 답장 시간",请选项工单等级:"티켓 우선 순위 선택",回复:"답장",输入内容回复工单:"티켓에 대한 내용 입력",已生成:"생성됨",选择协议:"프로토콜 선택",自动:"자동",流量重置包:"데이터 리셋 패키지",复制失败:"복사 실패",提示:"알림","确认退出?":"로그아웃 확인?",已退出登录:"로그아웃 완료",请输入邮箱地址:"이메일 주소를 입력하세요","{second}秒后可重新发送":"{second} 초 후에 다시 전송 가능",发送成功:"전송 성공",请输入账号密码:"계정과 비밀번호를 입력하세요",请确保两次密码输入一致:"비밀번호 입력이 일치하는지 확인하세요",注册成功:"등록 성공","重置密码成功,正在返回登录":"비밀번호 재설정 성공, 로그인 페이지로 돌아가는 중",确认取消:"취소 확인","请注意,变更订阅会导致当前订阅被覆盖。":"구독 변경은 현재 구독을 덮어씁니다.","订单提交成功,正在跳转支付":"주문이 성공적으로 제출되었습니다. 지불로 이동 중입니다.",回复成功:"답장 성공",工单详情:"티켓 상세 정보",登录成功:"로그인 성공","确定退出?":"확실히 종료하시겠습니까?",支付成功:"결제 성공",正在前往收银台:"결제 진행 중",请输入正确的划转金额:"정확한 이체 금액을 입력하세요",划转成功:"이체 성공",提现方式不能为空:"출금 방식은 비워 둘 수 없습니다",提现账号不能为空:"출금 계좌는 비워 둘 수 없습니다",已绑定:"이미 연결됨",创建成功:"생성 성공",关闭成功:"종료 성공"},pk=Object.freeze(Object.defineProperty({__proto__:null,default:dBe},Symbol.toStringTag,{value:"Module"})),fBe={请求失败:"Yêu Cầu Thất Bại",月付:"Tháng",季付:"Hàng Quý",半年付:"6 Tháng",年付:"Năm",两年付:"Hai Năm",三年付:"Ba Năm",一次性:"Dài Hạn",重置流量包:"Cập Nhật Dung Lượng",待支付:"Đợi Thanh Toán",开通中:"Đang xử lý",已取消:"Đã Hủy",已完成:"Thực Hiện",已折抵:"Quy Đổi",待确认:"Đợi Xác Nhận",发放中:"Đang Xác Nhận",已发放:"Hoàn Thành",无效:"Không Hợp Lệ",个人中心:"Trung Tâm Kiểm Soát",登出:"Đăng Xuất",搜索:"Tìm Kiếm",仪表盘:"Trang Chủ",订阅:"Gói Dịch Vụ",我的订阅:"Gói Dịch Vụ Của Tôi",购买订阅:"Mua Gói Dịch Vụ",财务:"Tài Chính",我的订单:"Đơn Hàng Của Tôi",我的邀请:"Lời Mời Của Tôi",用户:"Người Dùng",我的工单:"Liên Hệ Với Chúng Tôi",流量明细:"Chi Tiết Dung Lượng",使用文档:"Tài liệu sử dụng",绑定Telegram获取更多服务:"Liên kết Telegram thêm dịch vụ",点击这里进行绑定:"Ấn vào để liên kết",公告:"Thông Báo",总览:"Tổng Quat",该订阅长期有效:"Gói này có thời hạn dài",已过期:"Tài khoản hết hạn","已用 {used} / 总计 {total}":"Đã sử dụng {used} / Tổng dung lượng {total}",查看订阅:"Xem Dịch Vụ",邮箱:"E-mail",邮箱验证码:"Mã xác minh mail",发送:"Gửi",重置密码:"Đặt Lại Mật Khẩu",返回登入:"Về đăng nhập",邀请码:"Mã mời",复制链接:"Sao chép đường dẫn",完成时间:"Thời gian hoàn thành",佣金:"Tiền hoa hồng",已注册用户数:"Số người dùng đã đăng ký",佣金比例:"Tỷ lệ hoa hồng",确认中的佣金:"Hoa hồng đang xác nhận","佣金将会在确认后会到达你的佣金账户。":"Sau khi xác nhận tiền hoa hồng sẽ gửi đến tài khoản hoa hồng của bạn.",邀请码管理:"Quản lý mã mời",生成邀请码:"Tạo mã mời",佣金发放记录:"Hồ sơ hoa hồng",复制成功:"Sao chép thành công",密码:"Mật khẩu",登入:"Đăng nhập",注册:"Đăng ký",忘记密码:"Quên mật khẩu","# 订单号":"# Mã đơn hàng",周期:"Chu Kỳ",订单金额:"Tiền đơn hàng",订单状态:"Trạng thái đơn",创建时间:"Thời gian tạo",操作:"Thao tác",查看详情:"Xem chi tiết",请选择支付方式:"Chọn phương thức thanh toán",请检查信用卡支付信息:"Hãy kiểm tra thông tin thẻ thanh toán",订单详情:"Chi tiết đơn hàng",折扣:"Chiết khấu",折抵:"Giảm giá",退款:"Hoàn lại",支付方式:"Phương thức thanh toán",填写信用卡支付信息:"Điền thông tin Thẻ Tín Dụng","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"Thông tin thẻ tín dụng của bạn sẽ chỉ được sử dụng cho lần thanh toán này, hệ thống sẽ không lưu thông tin đó, chúng tôi nghĩ đây à cách an toàn nhất.",订单总额:"Tổng tiền đơn hàng",总计:"Tổng",结账:"Kết toán",等待支付中:"Đang chờ thanh toán","订单系统正在进行处理,请稍等1-3分钟。":"Hệ thống đang xử lý đơn hàng, vui lòng đợi 1-3p.","订单由于超时支付已被取消。":"Do quá giờ nên đã hủy đơn hàng.","订单已支付并开通。":"Đơn hàng đã thanh toán và mở.",选择订阅:"Chọn gói",立即订阅:"Mua gói ngay",配置订阅:"Thiết lập gói",付款周期:"Chu kỳ thanh toán","有优惠券?":"Có phiếu giảm giá?",验证:"Xác minh",下单:"Đặt hàng","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"Việc thay đổi gói dịch vụ sẽ thay thế gói hiện tại bằng gói mới, xin lưu ý.",该订阅无法续费:"Gói này không thể gia hạn",选择其他订阅:"Chọn gói dịch vụ khác",我的钱包:"Ví tiền của tôi","账户余额(仅消费)":"Số dư tài khoản (Chỉ tiêu dùng)","推广佣金(可提现)":"Tiền hoa hồng giới thiệu (Được rút)",钱包组成部分:"Thành phần ví tiền",划转:"Chuyển khoản",推广佣金提现:"Rút tiền hoa hồng giới thiệu",修改密码:"Đổi mật khẩu",保存:"Lưu",旧密码:"Mật khẩu cũ",新密码:"Mật khẩu mới",请输入旧密码:"Hãy nhập mật khẩu cũ",请输入新密码:"Hãy nhập mật khẩu mới",通知:"Thông Báo",到期邮件提醒:"Mail nhắc đến hạn",流量邮件提醒:"Mail nhắc dung lượng",绑定Telegram:"Liên kết Telegram",立即开始:"Bắt Đầu",重置订阅信息:"Reset thông tin gói",重置:"Reset","确定要重置订阅信息?":"Xác nhận reset thông tin gói?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"Nếu địa chỉ hoặc thông tin gói dịch vụ của bạn bị tiết lộ có thể tiến hành thao tác này. Sau khi reset UUID sẽ thay đổi.",重置成功:"Reset thành công",两次新密码输入不同:"Mật khẩu mới xác nhận không khớp",两次密码输入不同:"Mật khẩu xác nhận không khớp","邀请码(选填)":"Mã mời(Điền)",'我已阅读并同意 服务条款':"Tôi đã đọc và đồng ý điều khoản dịch vụ",请同意服务条款:"Hãy đồng ý điều khoản dịch vụ",名称:"Tên",标签:"Nhãn",状态:"Trạng thái",节点五分钟内节点在线情况:"Node trạng thái online trong vòng 5 phút",倍率:"Bội số",使用的流量将乘以倍率进行扣除:"Dung lượng sử dụng nhân với bội số rồi khấu trừ",更多操作:"Thêm thao tác","没有可用节点,如果您未订阅或已过期请":"Chưa có node khả dụng, nếu bạn chưa mua gói hoặc đã hết hạn hãy","确定重置当前已用流量?":"确定重置当前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"Ấn 「OK」 sẽ chuyển đến trang thanh toán, sau khi thanh toán đơn hàng hệ thống sẽ xóa dung lượng đã dùng tháng này của bạn.",确定:"OK",低:"Thấp",中:"Vừa",高:"Cao",主题:"Chủ Đề",工单级别:"Cấp độ",工单状态:"Trạng thái",最后回复:"Trả lời gần đây",已关闭:"Đã đóng",待回复:"Chờ trả lời",已回复:"Đã trả lời",查看:"Xem",关闭:"Đóng",新的工单:"Việc mới",确认:"OK",请输入工单主题:"Hãy nhập chủ đề công việc",工单等级:"Cấp độ công việc",请选择工单等级:"Hãy chọn cấp độ công việc",消息:"Thông tin",请描述你遇到的问题:"Hãy mô tả vấn đề gặp phải",记录时间:"Thời gian ghi",实际上行:"Upload thực tế",实际下行:"Download thực tế",合计:"Cộng","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"Công thức: (upload thực tế + download thực tế) x bội số trừ phí = Dung lượng khấu trừ",复制订阅地址:"Sao chép liên kết",导入到:"Nhập vào",一键订阅:"Nhấp chuột để đồng bộ máy chủ",复制订阅:"Sao chép liên kết",推广佣金划转至余额:"Chuyển khoản hoa hồng giới thiệu đến số dư","划转后的余额仅用于{title}消费使用":"Số dư sau khi chuyển khoản chỉ dùng để tiêu dùng {title}",当前推广佣金余额:"Số dư hoa hồng giới thiệu hiện tại",划转金额:"Chuyển tiền",请输入需要划转到余额的金额:"Hãy nhậo số tiền muốn chuyển đến số dư","输入内容回复工单...":"Nhập nội dung trả lời công việc...",申请提现:"Yêu cầu rút tiền",取消:"Hủy",提现方式:"Phương thức rút tiền",请选择提现方式:"Hãy chọn phương thức rút tiền",提现账号:"Rút về tào khoản",请输入提现账号:"Hãy chọn tài khoản rút tiền",我知道了:"OK",第一步:"Bước 1",第二步:"Bước 2",打开Telegram搜索:"Mở Telegram tìm kiếm",向机器人发送你的:"Gửi cho bot","最后更新: {date}":"Cập nhật gần đây: {date}",还有没支付的订单:"Có đơn hàng chưa thanh toán",立即支付:"Thanh toán ngay",条工单正在处理中:" công việc đang xử lý",立即查看:"Xem Ngay",节点状态:"Trạng thái node",商品信息:"Thông tin",产品名称:"Tên sản phẩm","类型/周期":"Loại/Chu kỳ",产品流量:"Dung Lượng",订单信息:"Thông tin đơn hàng",关闭订单:"Đóng đơn hàng",订单号:"Mã đơn hàng",优惠金额:"Tiền ưu đãi",旧订阅折抵金额:"Tiền giảm giá gói cũ",退款金额:"Số tiền hoàn lại",余额支付:"Thanh toán số dư",工单历史:"Lịch sử đơn hàng","已用流量将在 {reset_day} 日后重置":"Dữ liệu đã sử dụng sẽ được đặt lại sau {reset_day} ngày",已用流量已在今日重置:"Dữ liệu đã sử dụng đã được đặt lại trong ngày hôm nay",重置已用流量:"Đặt lại dữ liệu đã sử dụng",查看节点状态:"Xem trạng thái nút","当前已使用流量达{rate}%":"Dữ liệu đã sử dụng hiện tại đạt {rate}%",节点名称:"Tên node","于 {date} 到期,距离到期还有 {day} 天。":"Hết hạn vào {date}, còn {day} ngày.","Telegram 讨论组":"Nhóm Telegram",立即加入:"Vào ngay","该订阅无法续费,仅允许新用户购买":"Đăng ký này không thể gia hạn, chỉ người dùng mới được phép mua",重置当月流量:"Đặt lại dung lượng tháng hiện tại","流量明细仅保留近月数据以供查询。":"Chi tiết dung lượng chỉ lưu dữ liệu của những tháng gần đây để truy vấn.",扣费倍率:"Tỷ lệ khấu trừ",支付手续费:"Phí thủ tục",续费订阅:"Gia hạn đăng ký",学习如何使用:"Hướng dẫn sử dụng",快速将节点导入对应客户端进行使用:"Bạn cần phải mua gói này",对您当前的订阅进行续费:"Gia hạn gói hiện tại",对您当前的订阅进行购买:"Mua gói bạn đã chọn",捷径:"Phím tắt","不会使用,查看使用教程":"Mua gói này nếu bạn đăng ký",使用支持扫码的客户端进行订阅:"Sử dụng ứng dụng quét mã để đăng ký",扫描二维码订阅:"Quét mã QR để đăng ký",续费:"Gia hạn",购买:"Mua",查看教程:"Xem hướng dẫn",注意:"Chú Ý","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"Bạn vẫn còn đơn đặt hàng chưa hoàn thành. Bạn cần hủy trước khi mua. Bạn có chắc chắn muốn hủy đơn đặt hàng trước đó không ?",确定取消:"Đúng/không",返回我的订单:"Quay lại đơn đặt hàng của tôi","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"Nếu bạn đã thanh toán, việc hủy đơn hàng có thể khiến việc thanh toán không thành công. Bạn có chắc chắn muốn hủy đơn hàng không ?",选择最适合你的计划:"Chọn kế hoạch phù hợp với bạn nhất",全部:"Tất cả",按周期:"Chu kỳ",遇到问题:"Chúng tôi có một vấn đề",遇到问题可以通过工单与我们沟通:"Nếu bạn gặp sự cố, bạn có thể liên lạc với chúng tôi thông qua ",按流量:"Theo lưu lượng",搜索文档:"Tìm kiếm tài liệu",技术支持:"Hỗ trợ kỹ thuật",当前剩余佣金:"Số dư hoa hồng hiện tại",三级分销比例:"Tỷ lệ phân phối cấp 3",累计获得佣金:"Tổng hoa hồng đã nhận","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"Người dùng bạn mời lại mời người dùng sẽ được chia theo tỷ lệ của số tiền đơn hàng nhân với cấp độ phân phối.",发放时间:"Thời gian thanh toán hoa hồng","{number} 人":"{number} người","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"Nếu địa chỉ đăng ký hoặc tài khoản của bạn bị rò rỉ và bị người khác lạm dụng, bạn có thể đặt lại thông tin đăng ký tại đây để tránh mất mát không cần thiết.",再次输入密码:"Nhập lại mật khẩu",返回登陆:"Quay lại Đăng nhập",选填:"Tùy chọn",必填:"Bắt buộc",最后回复时间:"Thời gian Trả lời Cuối cùng",请选项工单等级:"Vui lòng Chọn Mức độ Ưu tiên Công việc",回复:"Trả lời",输入内容回复工单:"Nhập Nội dung để Trả lời Công việc",已生成:"Đã tạo",选择协议:"Chọn Giao thức",自动:"Tự động",流量重置包:"Gói Reset Dữ liệu",复制失败:"Sao chép thất bại",提示:"Thông báo","确认退出?":"Xác nhận Đăng xuất?",已退出登录:"Đã đăng xuất thành công",请输入邮箱地址:"Nhập địa chỉ email","{second}秒后可重新发送":"Gửi lại sau {second} giây",发送成功:"Gửi thành công",请输入账号密码:"Nhập tên đăng nhập và mật khẩu",请确保两次密码输入一致:"Đảm bảo hai lần nhập mật khẩu giống nhau",注册成功:"Đăng ký thành công","重置密码成功,正在返回登录":"Đặt lại mật khẩu thành công, đang quay trở lại trang đăng nhập",确认取消:"Xác nhận Hủy","请注意,变更订阅会导致当前订阅被覆盖。":"Vui lòng lưu ý rằng thay đổi đăng ký sẽ ghi đè lên đăng ký hiện tại.","订单提交成功,正在跳转支付":"Đơn hàng đã được gửi thành công, đang chuyển hướng đến thanh toán.",回复成功:"Trả lời thành công",工单详情:"Chi tiết Ticket",登录成功:"Đăng nhập thành công","确定退出?":"Xác nhận thoát?",支付成功:"Thanh toán thành công",正在前往收银台:"Đang tiến hành thanh toán",请输入正确的划转金额:"Vui lòng nhập số tiền chuyển đúng",划转成功:"Chuyển khoản thành công",提现方式不能为空:"Phương thức rút tiền không được để trống",提现账号不能为空:"Tài khoản rút tiền không được để trống",已绑定:"Đã liên kết",创建成功:"Tạo thành công",关闭成功:"Đóng thành công"},mk=Object.freeze(Object.defineProperty({__proto__:null,default:fBe},Symbol.toStringTag,{value:"Module"})),hBe={请求失败:"请求失败",月付:"月付",季付:"季付",半年付:"半年付",年付:"年付",两年付:"两年付",三年付:"三年付",一次性:"一次性",重置流量包:"重置流量包",待支付:"待支付",开通中:"开通中",已取消:"已取消",已完成:"已完成",已折抵:"已折抵",待确认:"待确认",发放中:"发放中",已发放:"已发放",无效:"无效",个人中心:"个人中心",登出:"登出",搜索:"搜索",仪表盘:"仪表盘",订阅:"订阅",我的订阅:"我的订阅",购买订阅:"购买订阅",财务:"财务",我的订单:"我的订单",我的邀请:"我的邀请",用户:"用户",我的工单:"我的工单",流量明细:"流量明细",使用文档:"使用文档",绑定Telegram获取更多服务:"绑定 Telegram 获取更多服务",点击这里进行绑定:"点击这里进行绑定",公告:"公告",总览:"总览",该订阅长期有效:"该订阅长期有效",已过期:"已过期","已用 {used} / 总计 {total}":"已用 {used} / 总计 {total}",查看订阅:"查看订阅",邮箱:"邮箱",邮箱验证码:"邮箱验证码",发送:"发送",重置密码:"重置密码",返回登入:"返回登入",邀请码:"邀请码",复制链接:"复制链接",完成时间:"完成时间",佣金:"佣金",已注册用户数:"已注册用户数",佣金比例:"佣金比例",确认中的佣金:"确认中的佣金","佣金将会在确认后会到达你的佣金账户。":"佣金将会在确认后到达您的佣金账户。",邀请码管理:"邀请码管理",生成邀请码:"生成邀请码",佣金发放记录:"佣金发放记录",复制成功:"复制成功",密码:"密码",登入:"登入",注册:"注册",忘记密码:"忘记密码","# 订单号":"# 订单号",周期:"周期",订单金额:"订单金额",订单状态:"订单状态",创建时间:"创建时间",操作:"操作",查看详情:"查看详情",请选择支付方式:"请选择支付方式",请检查信用卡支付信息:"请检查信用卡支付信息",订单详情:"订单详情",折扣:"折扣",折抵:"折抵",退款:"退款",支付方式:"支付方式",填写信用卡支付信息:"填写信用卡支付信息","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"您的信用卡信息只会用于当次扣款,系统并不会保存,我们认为这是最安全的。",订单总额:"订单总额",总计:"总计",结账:"结账",等待支付中:"等待支付中","订单系统正在进行处理,请稍等1-3分钟。":"订单系统正在进行处理,请等候 1-3 分钟。","订单由于超时支付已被取消。":"订单由于超时支付已被取消。","订单已支付并开通。":"订单已支付并开通。",选择订阅:"选择订阅",立即订阅:"立即订阅",配置订阅:"配置订阅",付款周期:"付款周期","有优惠券?":"有优惠券?",验证:"验证",下单:"下单","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"请注意,变更订阅会导致当前订阅被新订阅覆盖。",该订阅无法续费:"该订阅无法续费",选择其他订阅:"选择其它订阅",我的钱包:"我的钱包","账户余额(仅消费)":"账户余额(仅消费)","推广佣金(可提现)":"推广佣金(可提现)",钱包组成部分:"钱包组成部分",划转:"划转",推广佣金提现:"推广佣金提现",修改密码:"修改密码",保存:"保存",旧密码:"旧密码",新密码:"新密码",请输入旧密码:"请输入旧密码",请输入新密码:"请输入新密码",通知:"通知",到期邮件提醒:"到期邮件提醒",流量邮件提醒:"流量邮件提醒",绑定Telegram:"绑定 Telegram",立即开始:"立即开始",重置订阅信息:"重置订阅信息",重置:"重置","确定要重置订阅信息?":"确定要重置订阅信息?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"如果您的订阅地址或信息发生泄露可以执行此操作。重置后您的 UUID 及订阅将会变更,需要重新导入订阅。",重置成功:"重置成功",两次新密码输入不同:"两次新密码输入不同",两次密码输入不同:"两次密码输入不同","邀请码(选填)":"邀请码(选填)",'我已阅读并同意 服务条款':'我已阅读并同意 服务条款',请同意服务条款:"请同意服务条款",名称:"名称",标签:"标签",状态:"状态",节点五分钟内节点在线情况:"五分钟内节点在线情况",倍率:"倍率",使用的流量将乘以倍率进行扣除:"使用的流量将乘以倍率进行扣除",更多操作:"更多操作","没有可用节点,如果您未订阅或已过期请":"没有可用节点,如果您未订阅或已过期请","确定重置当前已用流量?":"确定重置当前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。",确定:"确定",低:"低",中:"中",高:"高",主题:"主题",工单级别:"工单级别",工单状态:"工单状态",最后回复:"最后回复",已关闭:"已关闭",待回复:"待回复",已回复:"已回复",查看:"查看",关闭:"关闭",新的工单:"新的工单",确认:"确认",请输入工单主题:"请输入工单主题",工单等级:"工单等级",请选择工单等级:"请选择工单等级",消息:"消息",请描述你遇到的问题:"请描述您遇到的问题",记录时间:"记录时间",实际上行:"实际上行",实际下行:"实际下行",合计:"合计","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量",复制订阅地址:"复制订阅地址",导入到:"导入到",一键订阅:"一键订阅",复制订阅:"复制订阅",推广佣金划转至余额:"推广佣金划转至余额","划转后的余额仅用于{title}消费使用":"划转后的余额仅用于{title}消费使用",当前推广佣金余额:"当前推广佣金余额",划转金额:"划转金额",请输入需要划转到余额的金额:"请输入需要划转到余额的金额","输入内容回复工单...":"输入内容回复工单...",申请提现:"申请提现",取消:"取消",提现方式:"提现方式",请选择提现方式:"请选择提现方式",提现账号:"提现账号",请输入提现账号:"请输入提现账号",我知道了:"我知道了",第一步:"第一步",第二步:"第二步",打开Telegram搜索:"打开 Telegram 搜索",向机器人发送你的:"向机器人发送您的",最后更新:"{date}",还有没支付的订单:"还有没支付的订单",立即支付:"立即支付",条工单正在处理中:"条工单正在处理中",立即查看:"立即查看",节点状态:"节点状态",商品信息:"商品信息",产品名称:"产品名称","类型/周期":"类型/周期",产品流量:"产品流量",订单信息:"订单信息",关闭订单:"关闭订单",订单号:"订单号",优惠金额:"优惠金额",旧订阅折抵金额:"旧订阅折抵金额",退款金额:"退款金额",余额支付:"余额支付",工单历史:"工单历史","已用流量将在 {reset_day} 日后重置":"已用流量将在 {reset_day} 日后重置",已用流量已在今日重置:"已用流量已在今日重置",重置已用流量:"重置已用流量",查看节点状态:"查看节点状态","当前已使用流量达{rate}%":"当前已使用流量达 {rate}%",节点名称:"节点名称","于 {date} 到期,距离到期还有 {day} 天。":"于 {date} 到期,距离到期还有 {day} 天。","Telegram 讨论组":"Telegram 讨论组",立即加入:"立即加入","该订阅无法续费,仅允许新用户购买":"该订阅无法续费,仅允许新用户购买",重置当月流量:"重置当月流量","流量明细仅保留近月数据以供查询。":"流量明细仅保留近一个月数据以供查询。",扣费倍率:"扣费倍率",支付手续费:"支付手续费",续费订阅:"续费订阅",学习如何使用:"学习如何使用",快速将节点导入对应客户端进行使用:"快速将节点导入对应客户端进行使用",对您当前的订阅进行续费:"对您当前的订阅进行续费",对您当前的订阅进行购买:"对您当前的订阅进行购买",捷径:"捷径","不会使用,查看使用教程":"不会使用,查看使用教程",使用支持扫码的客户端进行订阅:"使用支持扫码的客户端进行订阅",扫描二维码订阅:"扫描二维码订阅",续费:"续费",购买:"购买",查看教程:"查看教程",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"您还有未完成的订单,购买前需要先取消,确定要取消之前的订单吗?",确定取消:"确定取消",返回我的订单:"返回我的订单","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?",选择最适合你的计划:"选择最适合您的计划",全部:"全部",按周期:"按周期",遇到问题:"遇到问题",遇到问题可以通过工单与我们沟通:"遇到问题可以通过工单与我们沟通",按流量:"按流量",搜索文档:"搜索文档",技术支持:"技术支持",当前剩余佣金:"当前剩余佣金",三级分销比例:"三级分销比例",累计获得佣金:"累计获得佣金","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。",发放时间:"发放时间","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。",再次输入密码:"再次输入密码",返回登陆:"返回登录",选填:"选填",必填:"必填",最后回复时间:"最后回复时间",请选项工单等级:"请选择工单优先级",回复:"回复",输入内容回复工单:"输入内容回复工单",已生成:"已生成",选择协议:"选择协议",自动:"自动",流量重置包:"流量重置包",复制失败:"复制失败",提示:"提示","确认退出?":"确认退出?",已退出登录:"已成功退出登录",请输入邮箱地址:"请输入邮箱地址","{second}秒后可重新发送":"{second}秒后可重新发送",发送成功:"发送成功",请输入账号密码:"请输入账号密码",请确保两次密码输入一致:"请确保两次密码输入一致",注册成功:"注册成功","重置密码成功,正在返回登录":"重置密码成功,正在返回登录",确认取消:"确认取消","请注意,变更订阅会导致当前订阅被覆盖。":"请注意,变更订阅会导致当前订阅被覆盖。","订单提交成功,正在跳转支付":"订单提交成功,正在跳转支付",回复成功:"回复成功",工单详情:"工单详情",登录成功:"登录成功","确定退出?":"确定退出?",支付成功:"支付成功",正在前往收银台:"正在前往收银台",请输入正确的划转金额:"请输入正确的划转金额",划转成功:"划转成功",提现方式不能为空:"提现方式不能为空",提现账号不能为空:"提现账号不能为空",已绑定:"已绑定",创建成功:"创建成功",关闭成功:"关闭成功"},gk=Object.freeze(Object.defineProperty({__proto__:null,default:hBe},Symbol.toStringTag,{value:"Module"})),pBe={请求失败:"請求失敗",月付:"月繳制",季付:"季繳",半年付:"半年缴",年付:"年繳",两年付:"兩年繳",三年付:"三年繳",一次性:"一次性",重置流量包:"重置流量包",待支付:"待支付",开通中:"開通中",已取消:"已取消",已完成:"已完成",已折抵:"已折抵",待确认:"待確認",发放中:"發放中",已发放:"已發放",无效:"無效",个人中心:"您的帳戸",登出:"登出",搜索:"搜尋",仪表盘:"儀表板",订阅:"訂閱",我的订阅:"我的訂閱",购买订阅:"購買訂閱",财务:"財務",我的订单:"我的訂單",我的邀请:"我的邀請",用户:"使用者",我的工单:"我的工單",流量明细:"流量明細",使用文档:"說明文件",绑定Telegram获取更多服务:"綁定 Telegram 獲取更多服務",点击这里进行绑定:"點擊這裡進行綁定",公告:"公告",总览:"總覽",该订阅长期有效:"該訂閱長期有效",已过期:"已過期","已用 {used} / 总计 {total}":"已用 {used} / 總計 {total}",查看订阅:"查看訂閱",邮箱:"郵箱",邮箱验证码:"郵箱驗證碼",发送:"傳送",重置密码:"重設密碼",返回登入:"返回登錄",邀请码:"邀請碼",复制链接:"複製鏈接",完成时间:"完成時間",佣金:"佣金",已注册用户数:"已註冊用戶數",佣金比例:"佣金比例",确认中的佣金:"確認中的佣金","佣金将会在确认后会到达你的佣金账户。":"佣金將會在確認後到達您的佣金帳戶。",邀请码管理:"邀請碼管理",生成邀请码:"生成邀請碼",佣金发放记录:"佣金發放記錄",复制成功:"複製成功",密码:"密碼",登入:"登入",注册:"註冊",忘记密码:"忘記密碼","# 订单号":"# 訂單號",周期:"週期",订单金额:"訂單金額",订单状态:"訂單狀態",创建时间:"創建時間",操作:"操作",查看详情:"查看詳情",请选择支付方式:"請選擇支付方式",请检查信用卡支付信息:"請檢查信用卡支付資訊",订单详情:"訂單詳情",折扣:"折扣",折抵:"折抵",退款:"退款",支付方式:"支付方式",填写信用卡支付信息:"填寫信用卡支付資訊","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"您的信用卡資訊只會被用作當次扣款,系統並不會保存,我們認為這是最安全的。",订单总额:"訂單總額",总计:"總計",结账:"結賬",等待支付中:"等待支付中","订单系统正在进行处理,请稍等1-3分钟。":"訂單系統正在進行處理,請稍等 1-3 分鐘。","订单由于超时支付已被取消。":"訂單由於支付超時已被取消","订单已支付并开通。":"訂單已支付並開通",选择订阅:"選擇訂閱",立即订阅:"立即訂閱",配置订阅:"配置訂閱",付款周期:"付款週期","有优惠券?":"有優惠券?",验证:"驗證",下单:"下單","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"請注意,變更訂閱會導致當前訂閱被新訂閱覆蓋。",该订阅无法续费:"該訂閱無法續費",选择其他订阅:"選擇其它訂閱",我的钱包:"我的錢包","账户余额(仅消费)":"賬戶餘額(僅消費)","推广佣金(可提现)":"推廣佣金(可提現)",钱包组成部分:"錢包組成部分",划转:"劃轉",推广佣金提现:"推廣佣金提現",修改密码:"修改密碼",保存:"儲存",旧密码:"舊密碼",新密码:"新密碼",请输入旧密码:"請輸入舊密碼",请输入新密码:"請輸入新密碼",通知:"通知",到期邮件提醒:"到期郵件提醒",流量邮件提醒:"流量郵件提醒",绑定Telegram:"綁定 Telegram",立即开始:"立即開始",重置订阅信息:"重置訂閲資訊",重置:"重置","确定要重置订阅信息?":"確定要重置訂閱資訊?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"如果您的訂閱位址或資訊發生洩露可以執行此操作。重置後您的 UUID 及訂閱將會變更,需要重新導入訂閱。",重置成功:"重置成功",两次新密码输入不同:"兩次新密碼輸入不同",两次密码输入不同:"兩次密碼輸入不同","邀请码(选填)":"邀請碼(選填)",'我已阅读并同意 服务条款':'我已閱讀並同意 服務條款',请同意服务条款:"請同意服務條款",名称:"名稱",标签:"標籤",状态:"狀態",节点五分钟内节点在线情况:"五分鐘內節點線上情況",倍率:"倍率",使用的流量将乘以倍率进行扣除:"使用的流量將乘以倍率進行扣除",更多操作:"更多操作","没有可用节点,如果您未订阅或已过期请":"沒有可用節點,如果您未訂閱或已過期請","确定重置当前已用流量?":"確定重置當前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"點擊「確定」將會跳轉到收銀台,支付訂單後系統將會清空您當月已使用流量。",确定:"確定",低:"低",中:"中",高:"高",主题:"主題",工单级别:"工單級別",工单状态:"工單狀態",最后回复:"最新回復",已关闭:"已關閉",待回复:"待回復",已回复:"已回復",查看:"檢視",关闭:"關閉",新的工单:"新的工單",确认:"確認",请输入工单主题:"請輸入工單主題",工单等级:"工單等級",请选择工单等级:"請選擇工單等級",消息:"訊息",请描述你遇到的问题:"請描述您遇到的問題",记录时间:"記錄時間",实际上行:"實際上行",实际下行:"實際下行",合计:"合計","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"公式:(實際上行 + 實際下行) x 扣費倍率 = 扣除流量",复制订阅地址:"複製訂閲位址",导入到:"导入到",一键订阅:"一鍵訂閲",复制订阅:"複製訂閲",推广佣金划转至余额:"推廣佣金劃轉至餘額","划转后的余额仅用于{title}消费使用":"劃轉后的餘額僅用於 {title} 消費使用",当前推广佣金余额:"當前推廣佣金餘額",划转金额:"劃轉金額",请输入需要划转到余额的金额:"請輸入需要劃轉到餘額的金額","输入内容回复工单...":"輸入内容回復工單…",申请提现:"申請提現",取消:"取消",提现方式:"提現方式",请选择提现方式:"請選擇提現方式",提现账号:"提現賬號",请输入提现账号:"請輸入提現賬號",我知道了:"我知道了",第一步:"步驟一",第二步:"步驟二",打开Telegram搜索:"打開 Telegram 並搜索",向机器人发送你的:"向機器人發送您的","最后更新: {date}":"最後更新: {date}",还有没支付的订单:"還有未支付的訂單",立即支付:"立即支付",条工单正在处理中:"條工單正在處理中",立即查看:"立即檢視",节点状态:"節點狀態",商品信息:"商品資訊",产品名称:"產品名稱","类型/周期":"類型/週期",产品流量:"產品流量",订单信息:"訂單信息",关闭订单:"關閉訂單",订单号:"訂單號",优惠金额:"優惠金額",旧订阅折抵金额:"舊訂閲折抵金額",退款金额:"退款金額",余额支付:"餘額支付",工单历史:"工單歷史","已用流量将在 {reset_day} 日后重置":"已用流量將在 {reset_day} 日后重置",已用流量已在今日重置:"已用流量已在今日重置",重置已用流量:"重置已用流量",查看节点状态:"查看節點狀態","当前已使用流量达{rate}%":"當前已用流量達 {rate}%",节点名称:"節點名稱","于 {date} 到期,距离到期还有 {day} 天。":"於 {date} 到期,距離到期還有 {day} 天。","Telegram 讨论组":"Telegram 討論組",立即加入:"立即加入","该订阅无法续费,仅允许新用户购买":"該訂閲無法續費,僅允許新用戶購買",重置当月流量:"重置當月流量","流量明细仅保留近月数据以供查询。":"流量明細僅保留近一個月資料以供查詢。",扣费倍率:"扣费倍率",支付手续费:"支付手續費",续费订阅:"續費訂閲",学习如何使用:"學習如何使用",快速将节点导入对应客户端进行使用:"快速將訂閲導入對應的客戶端進行使用",对您当前的订阅进行续费:"對您的當前訂閲進行續費",对您当前的订阅进行购买:"重新購買您的當前訂閲",捷径:"捷徑","不会使用,查看使用教程":"不會使用,檢視使用檔案",使用支持扫码的客户端进行订阅:"使用支持掃碼的客戶端進行訂閲",扫描二维码订阅:"掃描二維碼訂閲",续费:"續費",购买:"購買",查看教程:"查看教程",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"您还有未完成的订单,购买前需要先取消,确定要取消之前的订单吗?",确定取消:"確定取消",返回我的订单:"返回我的訂單","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"如果您已經付款,取消訂單可能會導致支付失敗,確定要取消訂單嗎?",选择最适合你的计划:"選擇最適合您的計劃",全部:"全部",按周期:"按週期",遇到问题:"遇到問題",遇到问题可以通过工单与我们沟通:"遇到問題您可以通過工單與我們溝通",按流量:"按流量",搜索文档:"搜尋文檔",技术支持:"技術支援",当前剩余佣金:"当前剩余佣金",三级分销比例:"三级分销比例",累计获得佣金:"累计获得佣金","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。",发放时间:"发放时间","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"如果您的訂閱地址或帳戶洩漏並被他人濫用,您可以在此重置訂閱資訊,以避免不必要的損失。",再次输入密码:"請再次輸入密碼",返回登陆:"返回登入",选填:"選填",必填:"必填",最后回复时间:"最後回覆時間",请选项工单等级:"請選擇工單優先級",回复:"回覆",输入内容回复工单:"輸入內容回覆工單",已生成:"已生成",选择协议:"選擇協議",自动:"自動",流量重置包:"流量重置包",复制失败:"複製失敗",提示:"提示","确认退出?":"確認退出?",已退出登录:"已成功登出",请输入邮箱地址:"請輸入電子郵件地址","{second}秒后可重新发送":"{second} 秒後可重新發送",发送成功:"發送成功",请输入账号密码:"請輸入帳號和密碼",请确保两次密码输入一致:"請確保兩次密碼輸入一致",注册成功:"註冊成功","重置密码成功,正在返回登录":"重置密碼成功,正在返回登入",确认取消:"確認取消","请注意,变更订阅会导致当前订阅被覆盖。":"請注意,變更訂閱會導致目前的訂閱被覆蓋。","订单提交成功,正在跳转支付":"訂單提交成功,正在跳轉支付",回复成功:"回覆成功",工单详情:"工單詳情",登录成功:"登入成功","确定退出?":"確定退出?",支付成功:"支付成功",正在前往收银台:"正在前往收銀台",请输入正确的划转金额:"請輸入正確的劃轉金額",划转成功:"劃轉成功",提现方式不能为空:"提現方式不能為空",提现账号不能为空:"提現帳號不能為空",已绑定:"已綁定",创建成功:"創建成功",关闭成功:"關閉成功"},vk=Object.freeze(Object.defineProperty({__proto__:null,default:pBe},Symbol.toStringTag,{value:"Module"}))});export default mBe(); diff --git a/public/theme/Xboard/assets/umi.js.br b/public/theme/Xboard/assets/umi.js.br index 6b20041..2450c8b 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 599341c..8c193f6 100644 Binary files a/public/theme/Xboard/assets/umi.js.gz and b/public/theme/Xboard/assets/umi.js.gz differ