dpl/theme/Xboard/assets/umi.js
2025-01-21 14:57:54 +08:00

3819 lines
1.3 MiB
Vendored
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(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,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>");mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.markdown-body mark{background-color:var(--color-attention-subtle);color:var(--color-fg-default)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default);border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.25em}.markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:1em}.markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.875em}.markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em;color:var(--color-fg-muted)}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body .color-fg-accent{color:var(--color-accent-fg)!important}.markdown-body .color-fg-attention{color:var(--color-attention-fg)!important}.markdown-body .color-fg-done{color:var(--color-done-fg)!important}.markdown-body .flex-items-center{align-items:center!important}.markdown-body .mb-1{margin-bottom:var(--base-size-4, 4px)!important}.markdown-body .text-semibold{font-weight:var(--base-text-weight-medium, 500)!important}.markdown-body .d-inline-flex{display:inline-flex!important}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:var(--color-danger-fg)}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type="a s"]{list-style-type:lower-alpha}.markdown-body ol[type="A s"]{list-style-type:upper-alpha}.markdown-body ol[type="i s"]{list-style-type:lower-roman}.markdown-body ol[type="I s"]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-body table td>:last-child{margin-bottom:0}.markdown-body table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;color:var(--color-fg-default);background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:var(--base-text-weight-semibold, 600);background:var(--color-canvas-subtle);border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes ol ul{display:inline-block;padding-left:16px;margin-top:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.markdown-body .footnotes li:target{color:var(--color-fg-default)}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.markdown-body .pl-e,.markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:var(--color-prettylights-syntax-storage-modifier-import)}.markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:var(--color-prettylights-syntax-string)}.markdown-body .pl-v,.markdown-body .pl-smw{color:var(--color-prettylights-syntax-variable)}.markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.markdown-body .pl-ii{color:var(--color-prettylights-syntax-invalid-illegal-text);background-color:var(--color-prettylights-syntax-invalid-illegal-bg)}.markdown-body .pl-c2{color:var(--color-prettylights-syntax-carriage-return-text);background-color:var(--color-prettylights-syntax-carriage-return-bg)}.markdown-body .pl-sr .pl-cce{font-weight:700;color:var(--color-prettylights-syntax-string-regexp)}.markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:var(--color-prettylights-syntax-markup-heading)}.markdown-body .pl-mi{font-style:italic;color:var(--color-prettylights-syntax-markup-italic)}.markdown-body .pl-mb{font-weight:700;color:var(--color-prettylights-syntax-markup-bold)}.markdown-body .pl-md{color:var(--color-prettylights-syntax-markup-deleted-text);background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.markdown-body .pl-mi1{color:var(--color-prettylights-syntax-markup-inserted-text);background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.markdown-body .pl-mc{color:var(--color-prettylights-syntax-markup-changed-text);background-color:var(--color-prettylights-syntax-markup-changed-bg)}.markdown-body .pl-mi2{color:var(--color-prettylights-syntax-markup-ignored-text);background-color:var(--color-prettylights-syntax-markup-ignored-bg)}.markdown-body .pl-mdr{font-weight:700;color:var(--color-prettylights-syntax-meta-diff-range)}.markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.markdown-body .pl-corl{text-decoration:underline;color:var(--color-prettylights-syntax-constant-other-reference-link)}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:var(--base-text-weight-normal, 400);line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:var(--base-text-weight-normal, 400)}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:4px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list{position:relative}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body .QueryBuilder .qb-entity{color:var(--color-prettylights-syntax-entity)}.markdown-body .QueryBuilder .qb-constant{color:var(--color-prettylights-syntax-constant)}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body .markdown-alert{padding:0 1em;margin-bottom:16px;color:inherit;border-left:.25em solid var(--color-border-default)}.markdown-body .markdown-alert>:first-child{margin-top:0}.markdown-body .markdown-alert>:last-child{margin-bottom:0}.markdown-body .markdown-alert.markdown-alert-note{border-left-color:var(--color-accent-fg)}.markdown-body .markdown-alert.markdown-alert-important{border-left-color:var(--color-done-fg)}.markdown-body .markdown-alert.markdown-alert-warning{border-left-color:var(--color-attention-fg)}*,:before,:after{box-sizing:border-box;background-repeat:no-repeat}:before,:after{text-decoration:inherit;vertical-align:inherit}:where(:root){cursor:default;line-height:1.5;overflow-wrap:break-word;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}:where(body){margin:0}:where(h1){font-size:2em;margin:.67em 0}:where(dl,ol,ul) :where(dl,ol,ul){margin:0}:where(hr){color:inherit;height:0}:where(nav) :where(ol,ul){list-style-type:none;padding:0}:where(nav li):before{content:"​";float:left}:where(pre){font-family:monospace,monospace;font-size:1em;overflow:auto}:where(abbr[title]){text-decoration:underline;text-decoration:underline dotted}:where(b,strong){font-weight:bolder}:where(code,kbd,samp){font-family:monospace,monospace;font-size:1em}:where(small){font-size:80%}:where(audio,canvas,iframe,img,svg,video){vertical-align:baseline}:where(iframe){border-style:none}:where(svg:not([fill])){fill:currentColor}:where(table){border-collapse:collapse;border-color:inherit;text-indent:0}:where(button,input,select){margin:0}:where(button,[type=button i],[type=reset i],[type=submit i]){-webkit-appearance:button}:where(fieldset){border:1px solid #a0a0a0}:where(progress){vertical-align:baseline}:where(textarea){margin:0;resize:vertical}:where([type=search i]){-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:where(dialog){background-color:#fff;border:solid;color:#000;height:-moz-fit-content;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:-moz-fit-content;width:fit-content}:where(dialog:not([open])){display:none}:where(details>summary:first-of-type){display:list-item}:where([aria-busy=true i]){cursor:progress}:where([aria-controls]){cursor:pointer}:where([aria-disabled=true i],[disabled]){cursor:not-allowed}:where([aria-hidden=false i][hidden]){display:initial}:where([aria-hidden=false i][hidden]:not(:focus)){clip:rect(0,0,0,0);position:absolute}html{font-size:4px}html,body{width:100%;height:100%;overflow:hidden;background-color:#f2f2f2;font-family:Encode Sans Condensed,sans-serif}html.dark body{background-color:#292b2b}::-webkit-scrollbar{width:8px;background-color:#eee}::-webkit-scrollbar-thumb{background-color:#c1c1c1}::-webkit-scrollbar-thumb:hover{background-color:#a8a8a8}html,body{width:100%;height:100%;overflow:hidden;font-size:16px}#app{width:100%;height:100%}.fade-slide-leave-active,.fade-slide-enter-active{transition:all .3s}.fade-slide-enter-from{opacity:0;transform:translate(-30px)}.fade-slide-leave-to{opacity:0;transform:translate(30px)}.cus-scroll{overflow:auto}.cus-scroll::-webkit-scrollbar{width:8px;height:8px}.cus-scroll-x{overflow-x:auto}.cus-scroll-x::-webkit-scrollbar{width:0;height:8px}.cus-scroll-y{overflow-y:auto}.cus-scroll-y::-webkit-scrollbar{width:8px;height:0}.cus-scroll::-webkit-scrollbar-thumb,.cus-scroll-x::-webkit-scrollbar-thumb,.cus-scroll-y::-webkit-scrollbar-thumb{background-color:transparent;border-radius:4px}.cus-scroll:hover::-webkit-scrollbar-thumb,.cus-scroll-x:hover::-webkit-scrollbar-thumb,.cus-scroll-y:hover::-webkit-scrollbar-thumb{background:#bfbfbf}.cus-scroll:hover::-webkit-scrollbar-thumb:hover,.cus-scroll-x:hover::-webkit-scrollbar-thumb:hover,.cus-scroll-y:hover::-webkit-scrollbar-thumb:hover{background:var(--primary-color)}#--unocss--{layer:__ALL__}#app{height:100%}#app .n-config-provider{height:inherit}.side-menu:not(.n-menu--collapsed) .n-menu-item-content:before{left:5px;right:5px}.side-menu:not(.n-menu--collapsed) .n-menu-item-content.n-menu-item-content--selected:before,.side-menu:not(.n-menu--collapsed) .n-menu-item-content:hover:before{border-left:4px solid var(--primary-color)}.carousel-img[data-v-8ed2ef0c]{width:100%;height:240px;object-fit:cover}.pay-qrcode{width:100%;height:100%}.pay-qrcode>canvas{width:100%!important;height:100%!important}.card-container[data-v-79fa0f66]{display:grid;justify-content:space-between;grid-template-columns:repeat(auto-fit,minmax(calc(100% - 1rem),1fr));row-gap:20px;min-width:100%}.card-item[data-v-79fa0f66]{max-width:100%}@media screen and (min-width: 768px){.card-container[data-v-79fa0f66]{grid-template-columns:repeat(auto-fit,minmax(calc(50% - 1rem),1fr));column-gap:20px;min-width:375px}}@media screen and (min-width: 1200px){.card-container[data-v-79fa0f66]{grid-template-columns:repeat(auto-fit,minmax(calc(33.33% - 1rem),1fr));padding:0 10px;column-gap:20px;min-width:375px}}#--unocss-layer-start--__ALL__--{start:__ALL__}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.wh-full,[wh-full=""]{width:100%;height:100%}.f-c-c,[f-c-c=""]{display:flex;align-items:center;justify-content:center}.flex-col,[flex-col=""]{display:flex;flex-direction:column}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.right-0{right:0}.right-15{right:15px}[bottom~="20"]{bottom:20px}.z-99999{z-index:99999}.grid{display:grid}.m-0{margin:0}.m-0\\!{margin:0!important}.m-1{margin:1px}.m-3{margin:3px}.m-auto,[m-auto=""]{margin:auto}.mx-10{margin-left:10px;margin-right:10px}.m-b-5,.mb-5{margin-bottom:5px}.m-l-10,.ml-10,[ml-10=""]{margin-left:10px}.m-l-20{margin-left:20px}.m-l-3{margin-left:3px}.m-t-10,.mt-10{margin-top:10px}.m-t-15,.mt-15,[mt-15=""]{margin-top:15px}.m-t-20,.mt-20,[mt-20=""]{margin-top:20px}.m-t-5,.mt-5{margin-top:5px}.mb-10{margin-bottom:10px}.mb-16{margin-bottom:16px}.mb-1em{margin-bottom:1em}.mb-20{margin-bottom:20px}.mb-3{margin-bottom:3px}.mb-4{margin-bottom:4px}.mb-8{margin-bottom:8px}.ml-auto,[ml-auto=""]{margin-left:auto}.mr-0{margin-right:0}.mr-20,.mr20,[mr-20=""],[mr20=""]{margin-right:20px}.mr-5{margin-right:5px}.mr-auto{margin-right:auto}.mr10,[mr10=""]{margin-right:10px}.mt-0{margin-top:0}.mt-30{margin-top:30px}.mt-4{margin-top:4px}.mt-8{margin-top:8px}.inline-block{display:inline-block}.hidden{display:none}.h-20{height:20px}.h-30{height:30px}.h-35,[h-35=""]{height:35px}.h-36{height:36px}.h-6{height:6px}.h-60,[h-60=""]{height:60px}.h-auto{height:auto}.h-full,[h-full=""]{height:100%}.h-full\\!{height:100%!important}.h1{height:1px}.h2{height:2px}.h5{height:5px}.max-h-30{max-height:30px}.max-w-100\\%,.max-w-full{max-width:100%}.max-w-1200{max-width:1200px}.max-w-140,[max-w-140=""]{max-width:140px}.max-w-450{max-width:450px}.max-w-500{max-width:500px}.min-w-0{min-width:0}.min-w-300{min-width:300px}.w-100\\%,.w-full{width:100%}.w-20{width:20px}.w-30{width:30px}.w-300{width:300px}.w-35,[w-35=""]{width:35px}.w-375{width:375px}.w-6{width:6px}.w-600{width:600px}.w-64{width:64px}.w-auto{width:auto}.w-full\\!{width:100%!important}.flex,[flex=""]{display:flex}.flex-\\[1\\]{flex:1}.flex-\\[2\\]{flex:2}.flex-1,[flex-1=""]{flex:1 1 0%}.flex-shrink-0,[flex-shrink-0=""]{flex-shrink:0}.flex-wrap{flex-wrap:wrap}[transform-origin~=center]{transform-origin:center}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.resize{resize:both}.items-center,[items-center=""]{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.overflow-hidden,[overflow-hidden=""]{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.break-anywhere{overflow-wrap:anywhere}.b{border-width:1px}.border-0,.dark [dark~=border-0]{border-width:0px}.border-2{border-width:2px}.border-\\[\\#646669\\],.border-\\#646669{--un-border-opacity:1;border-color:rgb(100 102 105 / var(--un-border-opacity))}.border-\\#0665d0{--un-border-opacity:1;border-color:rgb(6 101 208 / var(--un-border-opacity))}.border-transparent{border-color:transparent}.border-rounded-5,.rounded-5,[border-rounded-5=""]{border-radius:5px}.rounded-full,[rounded-full=""]{border-radius:9999px}.border-none{border-style:none}.border-solid{border-style:solid}.border-b-solid{border-bottom-style:solid}.bg-\\[--n-color-embedded\\]{background-color:var(--n-color-embedded)}.bg-\\[--n-color\\]{background-color:var(--n-color)}.bg-\\[\\#f5f6fb\\],.bg-hex-f5f6fb,[bg-hex-f5f6fb=""]{--un-bg-opacity:1;background-color:rgb(245 246 251 / var(--un-bg-opacity))}.bg-\\#2f3135{--un-bg-opacity:1;background-color:rgb(47 49 53 / var(--un-bg-opacity))}.bg-\\#e04f1a{--un-bg-opacity:1;background-color:rgb(224 79 26 / var(--un-bg-opacity))}.bg-\\#f8f9fa{--un-bg-opacity:1;background-color:rgb(248 249 250 / var(--un-bg-opacity))}.bg-blue-500{--un-bg-opacity:1;background-color:rgb(59 130 246 / var(--un-bg-opacity))}.bg-dark,.dark [dark~=bg-dark]{--un-bg-opacity:1;background-color:rgb(24 24 28 / var(--un-bg-opacity))}.bg-green-500{--un-bg-opacity:1;background-color:rgb(34 197 94 / var(--un-bg-opacity))}.bg-red-500{--un-bg-opacity:1;background-color:rgb(239 68 68 / var(--un-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.dark .dark\\:bg-hex-101014,.dark [dark\\:bg-hex-101014=""]{--un-bg-opacity:1;background-color:rgb(16 16 20 / var(--un-bg-opacity))}.dark .dark\\:bg-hex-101014\\>{background-color:#101014>}.dark .dark\\:bg-hex-121212{--un-bg-opacity:1;background-color:rgb(18 18 18 / var(--un-bg-opacity))}.hover\\:bg-\\#f6f6f6:hover{--un-bg-opacity:1;background-color:rgb(246 246 246 / var(--un-bg-opacity))}.p-0{padding:0}.p-0\\!{padding:0!important}.p-10{padding:10px}.p-19{padding:19px}.p-2{padding:2px}.p-20{padding:20px}.p-24{padding:24px}.p-5{padding:5px}.p-x-24{padding-left:24px;padding-right:24px}.p-y-16{padding-top:16px;padding-bottom:16px}.px{padding-left:4px;padding-right:4px}.px-15{padding-left:15px;padding-right:15px}.p-b-5{padding-bottom:5px}.p-l-5{padding-left:5px}.p-t-20,.pt-20{padding-top:20px}.p-t-5{padding-top:5px}.pb-10{padding-bottom:10px}.pb-16{padding-bottom:16px}.pb-8{padding-bottom:8px}.pl-16{padding-left:16px}.pl-20{padding-left:20px}.pr-16{padding-right:16px}.pr-20{padding-right:20px}.pt-10{padding-top:10px}.pt-16{padding-top:16px}.pt-8{padding-top:8px}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.indent{text-indent:6px}[indent~="0"]{text-indent:0}.root-indent:root{text-indent:6px}[root-indent~="18"]:root{text-indent:18px}.vertical-bottom{vertical-align:bottom}.text-12{font-size:12px}.text-14,[text-14=""]{font-size:14px}.text-16,[text-16=""]{font-size:16px}.text-18{font-size:18px}.text-20{font-size:20px}.text-22{font-size:22px}.text-30{font-size:30px}.text-36{font-size:36px}.text-40{font-size:40px}.text-50{font-size:50px}.text-90{font-size:90px}.font-400,.font-normal{font-weight:400}.font-600{font-weight:600}.font-bold,[font-bold=""]{font-weight:700}.color-\\[hsla\\(0\\,0\\%\\,100\\%\\,\\.75\\)\\]{--un-text-opacity:.75;color:hsla(0,0%,100%,var(--un-text-opacity))}.color-\\#48bc19{--un-text-opacity:1;color:rgb(72 188 25 / var(--un-text-opacity))}.color-\\#f8f9fa{--un-text-opacity:1;color:rgb(248 249 250 / var(--un-text-opacity))}.color-\\#f8f9fa41{--un-text-opacity:.25;color:rgb(248 249 250 / var(--un-text-opacity))}.color-\\#f9a314{--un-text-opacity:1;color:rgb(249 163 20 / var(--un-text-opacity))}.color-gray,.text-gray{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity))}.color-gray-500{--un-text-opacity:1;color:rgb(107 114 128 / var(--un-text-opacity))}.color-primary,.text-\\[--primary-color\\],[color-primary=""]{color:var(--primary-color)}.color-white,.text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}[color~="#343a40"]{--un-text-opacity:1;color:rgb(52 58 64 / var(--un-text-opacity))}[color~="#6a6a6a"]{--un-text-opacity:1;color:rgb(106 106 106 / var(--un-text-opacity))}.text-\\#6c757d,[color~="#6c757d"]{--un-text-opacity:1;color:rgb(108 117 125 / var(--un-text-opacity))}[color~="#db4619"]{--un-text-opacity:1;color:rgb(219 70 25 / var(--un-text-opacity))}[hover~=color-primary]:hover{color:var(--primary-color)}.text-\\[rgba\\(0\\,0\\,0\\,0\\.45\\)\\]{--un-text-opacity:.45;color:rgba(0,0,0,var(--un-text-opacity))}.text-\\#49505799{--un-text-opacity:.6;color:rgb(73 80 87 / var(--un-text-opacity))}.text-\\#595959{--un-text-opacity:1;color:rgb(89 89 89 / var(--un-text-opacity))}.text-\\#666{--un-text-opacity:1;color:rgb(102 102 102 / var(--un-text-opacity))}.text-red-500{--un-text-opacity:1;color:rgb(239 68 68 / var(--un-text-opacity))}.decoration-underline,[hover~=decoration-underline]:hover{text-decoration-line:underline}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.opacity-30{opacity:.3}.opacity-85{opacity:.85}.hover\\:opacity-75:hover{opacity:.75}.shadow-black{--un-shadow-opacity:1;--un-shadow-color:rgb(0 0 0 / var(--un-shadow-opacity))}.outline-none{outline:2px solid transparent;outline-offset:2px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[duration~="500"]{transition-duration:.5s}[content~="$t("]{content:var(--t\\()}[placeholder~="$t("]::placeholder{color:var(--t\\()}@media (min-width: 640px){.sm\\:max-w-full{max-width:100%}}@media (min-width: 768px){.md\\:mx-auto{margin-left:auto;margin-right:auto}.md\\:m-l20{margin-left:20px}.md\\:m-t-20,.md\\:mt-20{margin-top:20px}.md\\:m-t-40{margin-top:40px}.md\\:mb-40{margin-bottom:40px}.md\\:mr10{margin-right:10px}.md\\:mt-0{margin-top:0}.md\\:block{display:block}.md\\:hidden{display:none}.md\\:h-30{height:30px}.md\\:max-w-1\\/3{max-width:33.3333333333%}.md\\:max-w-2\\/3{max-width:66.6666666667%}.md\\:w-30{width:30px}.md\\:flex-\\[1\\]{flex:1}.md\\:flex-\\[2\\]{flex:2}.md\\:p-15{padding:15px}.md\\:pl-20{padding-left:20px}}#--unocss-layer-end--__ALL__--{end:__ALL__}`)),document.head.appendChild(o)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
var f3=Object.defineProperty;var h3=(e,t,n)=>t in e?f3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var p3=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var md=(e,t,n)=>(h3(e,typeof t!="symbol"?t+"":t,n),n);var sNe=p3((Yn,Xn)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();/**
* @vue/shared v3.4.38
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function qh(e,t){const n=new Set(e.split(","));return t?o=>n.has(o.toLowerCase()):o=>n.has(o)}const nn={},fa=[],Kn=()=>{},m3=()=>!1,Vc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Kh=e=>e.startsWith("onUpdate:"),wn=Object.assign,Gh=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},g3=Object.prototype.hasOwnProperty,Mt=(e,t)=>g3.call(e,t),ct=Array.isArray,ha=e=>Wc(e)==="[object Map]",ay=e=>Wc(e)==="[object Set]",mt=e=>typeof e=="function",ln=e=>typeof e=="string",Ur=e=>typeof e=="symbol",Zt=e=>e!==null&&typeof e=="object",sy=e=>(Zt(e)||mt(e))&&mt(e.then)&&mt(e.catch),ly=Object.prototype.toString,Wc=e=>ly.call(e),v3=e=>Wc(e).slice(8,-1),cy=e=>Wc(e)==="[object Object]",Yh=e=>ln(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,gs=qh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Uc=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},b3=/-(\w)/g,To=Uc(e=>e.replace(b3,(t,n)=>n?n.toUpperCase():"")),y3=/\B([A-Z])/g,qr=Uc(e=>e.replace(y3,"-$1").toLowerCase()),qc=Uc(e=>e.charAt(0).toUpperCase()+e.slice(1)),gd=Uc(e=>e?`on${qc(e)}`:""),Br=(e,t)=>!Object.is(e,t),Ql=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},uy=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},Tf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},x3=e=>{const t=ln(e)?Number(e):NaN;return isNaN(t)?e:t};let Jm;const dy=()=>Jm||(Jm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Di(e){if(ct(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=ln(o)?S3(o):Di(o);if(r)for(const i in r)t[i]=r[i]}return t}else if(ln(e)||Zt(e))return e}const C3=/;(?![^(]*\))/g,w3=/:([^]+)/,_3=/\/\*[^]*?\*\//g;function S3(e){const t={};return e.replace(_3,"").split(C3).forEach(n=>{if(n){const o=n.split(w3);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function sr(e){let t="";if(ln(e))t=e;else if(ct(e))for(let n=0;n<e.length;n++){const o=sr(e[n]);o&&(t+=o+" ")}else if(Zt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const k3="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",P3=qh(k3);function fy(e){return!!e||e===""}const hy=e=>!!(e&&e.__v_isRef===!0),se=e=>ln(e)?e:e==null?"":ct(e)||Zt(e)&&(e.toString===ly||!mt(e.toString))?hy(e)?se(e.value):JSON.stringify(e,py,2):String(e),py=(e,t)=>hy(t)?py(e,t.value):ha(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],i)=>(n[vd(o,i)+" =>"]=r,n),{})}:ay(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>vd(n))}:Ur(t)?vd(t):Zt(t)&&!ct(t)&&!cy(t)?String(t):t,vd=(e,t="")=>{var n;return Ur(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.4.38
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Un;class my{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Un,!t&&Un&&(this.index=(Un.scopes||(Un.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Un;try{return Un=this,t()}finally{Un=n}}}on(){Un=this}off(){Un=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.scopes)for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function Xh(e){return new my(e)}function T3(e,t=Un){t&&t.active&&t.effects.push(e)}function Zh(){return Un}function gy(e){Un&&Un.cleanups.push(e)}let xi;class Jh{constructor(t,n,o,r){this.fn=t,this.trigger=n,this.scheduler=o,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,T3(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Kr();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(R3(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Gr()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Lr,n=xi;try{return Lr=!0,xi=this,this._runnings++,Qm(this),this.fn()}finally{eg(this),this._runnings--,xi=n,Lr=t}}stop(){this.active&&(Qm(this),eg(this),this.onStop&&this.onStop(),this.active=!1)}}function R3(e){return e.value}function Qm(e){e._trackId++,e._depsLength=0}function eg(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)vy(e.deps[t],e);e.deps.length=e._depsLength}}function vy(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Lr=!0,Rf=0;const by=[];function Kr(){by.push(Lr),Lr=!1}function Gr(){const e=by.pop();Lr=e===void 0?!0:e}function Qh(){Rf++}function ep(){for(Rf--;!Rf&&Ef.length;)Ef.shift()()}function yy(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const o=e.deps[e._depsLength];o!==t?(o&&vy(o,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Ef=[];function xy(e,t,n){Qh();for(const o of e.keys()){let r;o._dirtyLevel<t&&(r??(r=e.get(o)===o._trackId))&&(o._shouldSchedule||(o._shouldSchedule=o._dirtyLevel===0),o._dirtyLevel=t),o._shouldSchedule&&(r??(r=e.get(o)===o._trackId))&&(o.trigger(),(!o._runnings||o.allowRecurse)&&o._dirtyLevel!==2&&(o._shouldSchedule=!1,o.scheduler&&Ef.push(o.scheduler)))}ep()}const Cy=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},hc=new WeakMap,Ci=Symbol(""),$f=Symbol("");function jn(e,t,n){if(Lr&&xi){let o=hc.get(e);o||hc.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=Cy(()=>o.delete(n))),yy(xi,r)}}function ar(e,t,n,o,r,i){const a=hc.get(e);if(!a)return;let s=[];if(t==="clear")s=[...a.values()];else if(n==="length"&&ct(e)){const l=Number(o);a.forEach((c,u)=>{(u==="length"||!Ur(u)&&u>=l)&&s.push(c)})}else switch(n!==void 0&&s.push(a.get(n)),t){case"add":ct(e)?Yh(n)&&s.push(a.get("length")):(s.push(a.get(Ci)),ha(e)&&s.push(a.get($f)));break;case"delete":ct(e)||(s.push(a.get(Ci)),ha(e)&&s.push(a.get($f)));break;case"set":ha(e)&&s.push(a.get(Ci));break}Qh();for(const l of s)l&&xy(l,4);ep()}function E3(e,t){const n=hc.get(e);return n&&n.get(t)}const $3=qh("__proto__,__v_isRef,__isVue"),wy=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ur)),tg=A3();function A3(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=It(this);for(let i=0,a=this.length;i<a;i++)jn(o,"get",i+"");const r=o[t](...n);return r===-1||r===!1?o[t](...n.map(It)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Kr(),Qh();const o=It(this)[t].apply(this,n);return ep(),Gr(),o}}),e}function I3(e){Ur(e)||(e=String(e));const t=It(this);return jn(t,"has",e),t.hasOwnProperty(e)}class _y{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return o===(r?i?U3:Ty:i?Py:ky).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const a=ct(t);if(!r){if(a&&Mt(tg,n))return Reflect.get(tg,n,o);if(n==="hasOwnProperty")return I3}const s=Reflect.get(t,n,o);return(Ur(n)?wy.has(n):$3(n))||(r||jn(t,"get",n),i)?s:cn(s)?a&&Yh(n)?s:s.value:Zt(s)?r?co(s):eo(s):s}}class Sy extends _y{constructor(t=!1){super(!1,t)}set(t,n,o,r){let i=t[n];if(!this._isShallow){const l=Ri(i);if(!xa(o)&&!Ri(o)&&(i=It(i),o=It(o)),!ct(t)&&cn(i)&&!cn(o))return l?!1:(i.value=o,!0)}const a=ct(t)&&Yh(n)?Number(n)<t.length:Mt(t,n),s=Reflect.set(t,n,o,r);return t===It(r)&&(a?Br(o,i)&&ar(t,"set",n,o):ar(t,"add",n,o)),s}deleteProperty(t,n){const o=Mt(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&o&&ar(t,"delete",n,void 0),r}has(t,n){const o=Reflect.has(t,n);return(!Ur(n)||!wy.has(n))&&jn(t,"has",n),o}ownKeys(t){return jn(t,"iterate",ct(t)?"length":Ci),Reflect.ownKeys(t)}}class O3 extends _y{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const M3=new Sy,z3=new O3,D3=new Sy(!0),tp=e=>e,Kc=e=>Reflect.getPrototypeOf(e);function xl(e,t,n=!1,o=!1){e=e.__v_raw;const r=It(e),i=It(t);n||(Br(t,i)&&jn(r,"get",t),jn(r,"get",i));const{has:a}=Kc(r),s=o?tp:n?rp:Ds;if(a.call(r,t))return s(e.get(t));if(a.call(r,i))return s(e.get(i));e!==r&&e.get(t)}function Cl(e,t=!1){const n=this.__v_raw,o=It(n),r=It(e);return t||(Br(e,r)&&jn(o,"has",e),jn(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function wl(e,t=!1){return e=e.__v_raw,!t&&jn(It(e),"iterate",Ci),Reflect.get(e,"size",e)}function ng(e,t=!1){!t&&!xa(e)&&!Ri(e)&&(e=It(e));const n=It(this);return Kc(n).has.call(n,e)||(n.add(e),ar(n,"add",e,e)),this}function og(e,t,n=!1){!n&&!xa(t)&&!Ri(t)&&(t=It(t));const o=It(this),{has:r,get:i}=Kc(o);let a=r.call(o,e);a||(e=It(e),a=r.call(o,e));const s=i.call(o,e);return o.set(e,t),a?Br(t,s)&&ar(o,"set",e,t):ar(o,"add",e,t),this}function rg(e){const t=It(this),{has:n,get:o}=Kc(t);let r=n.call(t,e);r||(e=It(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&ar(t,"delete",e,void 0),i}function ig(){const e=It(this),t=e.size!==0,n=e.clear();return t&&ar(e,"clear",void 0,void 0),n}function _l(e,t){return function(o,r){const i=this,a=i.__v_raw,s=It(a),l=t?tp:e?rp:Ds;return!e&&jn(s,"iterate",Ci),a.forEach((c,u)=>o.call(r,l(c),l(u),i))}}function Sl(e,t,n){return function(...o){const r=this.__v_raw,i=It(r),a=ha(i),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=r[e](...o),u=n?tp:t?rp:Ds;return!t&&jn(i,"iterate",l?$f:Ci),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:s?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function Cr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function L3(){const e={get(i){return xl(this,i)},get size(){return wl(this)},has:Cl,add:ng,set:og,delete:rg,clear:ig,forEach:_l(!1,!1)},t={get(i){return xl(this,i,!1,!0)},get size(){return wl(this)},has:Cl,add(i){return ng.call(this,i,!0)},set(i,a){return og.call(this,i,a,!0)},delete:rg,clear:ig,forEach:_l(!1,!0)},n={get(i){return xl(this,i,!0)},get size(){return wl(this,!0)},has(i){return Cl.call(this,i,!0)},add:Cr("add"),set:Cr("set"),delete:Cr("delete"),clear:Cr("clear"),forEach:_l(!0,!1)},o={get(i){return xl(this,i,!0,!0)},get size(){return wl(this,!0)},has(i){return Cl.call(this,i,!0)},add:Cr("add"),set:Cr("set"),delete:Cr("delete"),clear:Cr("clear"),forEach:_l(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Sl(i,!1,!1),n[i]=Sl(i,!0,!1),t[i]=Sl(i,!1,!0),o[i]=Sl(i,!0,!0)}),[e,n,t,o]}const[F3,B3,N3,H3]=L3();function np(e,t){const n=t?e?H3:N3:e?B3:F3;return(o,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(Mt(n,r)&&r in o?n:o,r,i)}const j3={get:np(!1,!1)},V3={get:np(!1,!0)},W3={get:np(!0,!1)},ky=new WeakMap,Py=new WeakMap,Ty=new WeakMap,U3=new WeakMap;function q3(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function K3(e){return e.__v_skip||!Object.isExtensible(e)?0:q3(v3(e))}function eo(e){return Ri(e)?e:op(e,!1,M3,j3,ky)}function Ry(e){return op(e,!1,D3,V3,Py)}function co(e){return op(e,!0,z3,W3,Ty)}function op(e,t,n,o,r){if(!Zt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=K3(e);if(a===0)return e;const s=new Proxy(e,a===2?o:n);return r.set(e,s),s}function wi(e){return Ri(e)?wi(e.__v_raw):!!(e&&e.__v_isReactive)}function Ri(e){return!!(e&&e.__v_isReadonly)}function xa(e){return!!(e&&e.__v_isShallow)}function Ey(e){return e?!!e.__v_raw:!1}function It(e){const t=e&&e.__v_raw;return t?It(t):e}function zs(e){return Object.isExtensible(e)&&uy(e,"__v_skip",!0),e}const Ds=e=>Zt(e)?eo(e):e,rp=e=>Zt(e)?co(e):e;class $y{constructor(t,n,o,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Jh(()=>t(this._value),()=>vs(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=It(this);return(!t._cacheable||t.effect.dirty)&&Br(t._value,t._value=t.effect.run())&&vs(t,4),ip(t),t.effect._dirtyLevel>=2&&vs(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function G3(e,t,n=!1){let o,r;const i=mt(e);return i?(o=e,r=Kn):(o=e.get,r=e.set),new $y(o,r,i||!r,n)}function ip(e){var t;Lr&&xi&&(e=It(e),yy(xi,(t=e.dep)!=null?t:e.dep=Cy(()=>e.dep=void 0,e instanceof $y?e:void 0)))}function vs(e,t=4,n,o){e=It(e);const r=e.dep;r&&xy(r,t)}function cn(e){return!!(e&&e.__v_isRef===!0)}function W(e){return Ay(e,!1)}function Oa(e){return Ay(e,!0)}function Ay(e,t){return cn(e)?e:new Y3(e,t)}class Y3{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:It(t),this._value=n?t:Ds(t)}get value(){return ip(this),this._value}set value(t){const n=this.__v_isShallow||xa(t)||Ri(t);t=n?t:It(t),Br(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:Ds(t),vs(this,4))}}function we(e){return cn(e)?e.value:e}const X3={get:(e,t,n)=>we(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return cn(r)&&!cn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Iy(e){return wi(e)?e:new Proxy(e,X3)}class Z3{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:o}=t(()=>ip(this),()=>vs(this));this._get=n,this._set=o}get value(){return this._get()}set value(t){this._set(t)}}function J3(e){return new Z3(e)}function Q3(e){const t=ct(e)?new Array(e.length):{};for(const n in e)t[n]=Oy(e,n);return t}class e4{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return E3(It(this._object),this._key)}}class t4{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function We(e,t,n){return cn(e)?e:mt(e)?new t4(e):Zt(e)&&arguments.length>1?Oy(e,t,n):W(e)}function Oy(e,t,n){const o=e[t];return cn(o)?o:new e4(e,t,n)}/**
* @vue/runtime-core v3.4.38
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Fr(e,t,n,o){try{return o?e(...o):e()}catch(r){Gc(r,t,n)}}function ao(e,t,n,o){if(mt(e)){const r=Fr(e,t,n,o);return r&&sy(r)&&r.catch(i=>{Gc(i,t,n)}),r}if(ct(e)){const r=[];for(let i=0;i<e.length;i++)r.push(ao(e[i],t,n,o));return r}}function Gc(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const a=t.proxy,s=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const c=i.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,a,s)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){Kr(),Fr(l,null,10,[e,a,s]),Gr();return}}n4(e,n,r,o)}function n4(e,t,n,o=!0){console.error(e)}let Ls=!1,Af=!1;const $n=[];let Bo=0;const pa=[];let $r=null,hi=0;const My=Promise.resolve();let ap=null;function Ht(e){const t=ap||My;return e?t.then(this?e.bind(this):e):t}function o4(e){let t=Bo+1,n=$n.length;for(;t<n;){const o=t+n>>>1,r=$n[o],i=Fs(r);i<e||i===e&&r.pre?t=o+1:n=o}return t}function sp(e){(!$n.length||!$n.includes(e,Ls&&e.allowRecurse?Bo+1:Bo))&&(e.id==null?$n.push(e):$n.splice(o4(e.id),0,e),zy())}function zy(){!Ls&&!Af&&(Af=!0,ap=My.then(Ly))}function r4(e){const t=$n.indexOf(e);t>Bo&&$n.splice(t,1)}function i4(e){ct(e)?pa.push(...e):(!$r||!$r.includes(e,e.allowRecurse?hi+1:hi))&&pa.push(e),zy()}function ag(e,t,n=Ls?Bo+1:0){for(;n<$n.length;n++){const o=$n[n];if(o&&o.pre){if(e&&o.id!==e.uid)continue;$n.splice(n,1),n--,o()}}}function Dy(e){if(pa.length){const t=[...new Set(pa)].sort((n,o)=>Fs(n)-Fs(o));if(pa.length=0,$r){$r.push(...t);return}for($r=t,hi=0;hi<$r.length;hi++){const n=$r[hi];n.active!==!1&&n()}$r=null,hi=0}}const Fs=e=>e.id==null?1/0:e.id,a4=(e,t)=>{const n=Fs(e)-Fs(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ly(e){Af=!1,Ls=!0,$n.sort(a4);const t=Kn;try{for(Bo=0;Bo<$n.length;Bo++){const n=$n[Bo];n&&n.active!==!1&&Fr(n,n.i,n.i?15:14)}}finally{Bo=0,$n.length=0,Dy(),Ls=!1,ap=null,($n.length||pa.length)&&Ly()}}let xn=null,Yc=null;function pc(e){const t=xn;return xn=e,Yc=e&&e.type.__scopeId||null,t}function s4(e){Yc=e}function l4(){Yc=null}function ue(e,t=xn,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&bg(-1);const i=pc(t);let a;try{a=e(...r)}finally{pc(i),o._d&&bg(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function dn(e,t){if(xn===null)return e;const n=iu(xn),o=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,a,s,l=nn]=t[r];i&&(mt(i)&&(i={mounted:i,updated:i}),i.deep&&zr(a),o.push({dir:i,instance:n,value:a,oldValue:void 0,arg:s,modifiers:l}))}return e}function ri(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let a=0;a<r.length;a++){const s=r[a];i&&(s.oldValue=i[a].value);let l=s.dir[o];l&&(Kr(),ao(l,n,8,[e.el,s,e,t]),Gr())}}const Ar=Symbol("_leaveCb"),kl=Symbol("_enterCb");function Fy(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return jt(()=>{e.isMounted=!0}),on(()=>{e.isUnmounting=!0}),e}const oo=[Function,Array],By={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:oo,onEnter:oo,onAfterEnter:oo,onEnterCancelled:oo,onBeforeLeave:oo,onLeave:oo,onAfterLeave:oo,onLeaveCancelled:oo,onBeforeAppear:oo,onAppear:oo,onAfterAppear:oo,onAppearCancelled:oo},Ny=e=>{const t=e.subTree;return t.component?Ny(t.component):t},c4={name:"BaseTransition",props:By,setup(e,{slots:t}){const n=to(),o=Fy();return()=>{const r=t.default&&lp(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const f of r)if(f.type!==_n){i=f;break}}const a=It(e),{mode:s}=a;if(o.isLeaving)return bd(i);const l=sg(i);if(!l)return bd(i);let c=Bs(l,a,o,n,f=>c=f);Ca(l,c);const u=n.subTree,d=u&&sg(u);if(d&&d.type!==_n&&!pi(l,d)&&Ny(n).type!==_n){const f=Bs(d,a,o,n);if(Ca(d,f),s==="out-in"&&l.type!==_n)return o.isLeaving=!0,f.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},bd(i);s==="in-out"&&l.type!==_n&&(f.delayLeave=(h,p,g)=>{const m=Hy(o,d);m[String(d.key)]=d,h[Ar]=()=>{p(),h[Ar]=void 0,delete c.delayedLeave},c.delayedLeave=g})}return i}}},u4=c4;function Hy(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Bs(e,t,n,o,r){const{appear:i,mode:a,persisted:s=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:p,onLeaveCancelled:g,onBeforeAppear:m,onAppear:b,onAfterAppear:_,onAppearCancelled:C}=t,S=String(e.key),w=Hy(n,e),x=(k,T)=>{k&&ao(k,o,9,T)},y=(k,T)=>{const E=T[1];x(k,T),ct(k)?k.every(R=>R.length<=1)&&E():k.length<=1&&E()},P={mode:a,persisted:s,beforeEnter(k){let T=l;if(!n.isMounted)if(i)T=m||l;else return;k[Ar]&&k[Ar](!0);const E=w[S];E&&pi(e,E)&&E.el[Ar]&&E.el[Ar](),x(T,[k])},enter(k){let T=c,E=u,R=d;if(!n.isMounted)if(i)T=b||c,E=_||u,R=C||d;else return;let K=!1;const N=k[kl]=D=>{K||(K=!0,D?x(R,[k]):x(E,[k]),P.delayedLeave&&P.delayedLeave(),k[kl]=void 0)};T?y(T,[k,N]):N()},leave(k,T){const E=String(e.key);if(k[kl]&&k[kl](!0),n.isUnmounting)return T();x(f,[k]);let R=!1;const K=k[Ar]=N=>{R||(R=!0,T(),N?x(g,[k]):x(p,[k]),k[Ar]=void 0,w[E]===e&&delete w[E])};w[E]=e,h?y(h,[k,K]):K()},clone(k){const T=Bs(k,t,n,o,r);return r&&r(T),T}};return P}function bd(e){if(Xc(e))return e=uo(e),e.children=null,e}function sg(e){if(!Xc(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&mt(n.default))return n.default()}}function Ca(e,t){e.shapeFlag&6&&e.component?Ca(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function lp(e,t=!1,n){let o=[],r=0;for(let i=0;i<e.length;i++){let a=e[i];const s=n==null?a.key:String(n)+String(a.key!=null?a.key:i);a.type===it?(a.patchFlag&128&&r++,o=o.concat(lp(a.children,t,s))):(t||a.type!==_n)&&o.push(s!=null?uo(a,{key:s}):a)}if(r>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}/*! #__NO_SIDE_EFFECTS__ */function be(e,t){return mt(e)?(()=>wn({name:e.name},t,{setup:e}))():e}const bs=e=>!!e.type.__asyncLoader,Xc=e=>e.type.__isKeepAlive;function cp(e,t){jy(e,"a",t)}function Zc(e,t){jy(e,"da",t)}function jy(e,t,n=Sn){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Jc(t,o,n),n){let r=n.parent;for(;r&&r.parent;)Xc(r.parent.vnode)&&d4(o,t,n,r),r=r.parent}}function d4(e,t,n,o){const r=Jc(t,e,o,!0);Ma(()=>{Gh(o[t],r)},n)}function Jc(e,t,n=Sn,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{Kr();const s=ol(n),l=ao(t,n,e,a);return s(),Gr(),l});return o?r.unshift(i):r.push(i),i}}const dr=e=>(t,n=Sn)=>{(!ru||e==="sp")&&Jc(e,(...o)=>t(...o),n)},hn=dr("bm"),jt=dr("m"),Vy=dr("bu"),up=dr("u"),on=dr("bum"),Ma=dr("um"),f4=dr("sp"),h4=dr("rtg"),p4=dr("rtc");function m4(e,t=Sn){Jc("ec",e,t)}const dp="components";function Qc(e,t){return Uy(dp,e,!0,t)||e}const Wy=Symbol.for("v-ndc");function eu(e){return ln(e)?Uy(dp,e,!1)||e:e||Wy}function Uy(e,t,n=!0,o=!1){const r=xn||Sn;if(r){const i=r.type;if(e===dp){const s=aP(i,!1);if(s&&(s===t||s===To(t)||s===qc(To(t))))return i}const a=lg(r[e]||i[e],t)||lg(r.appContext[e],t);return!a&&o?i:a}}function lg(e,t){return e&&(e[t]||e[To(t)]||e[qc(To(t))])}function Hn(e,t,n,o){let r;const i=n&&n[o];if(ct(e)||ln(e)){r=new Array(e.length);for(let a=0,s=e.length;a<s;a++)r[a]=t(e[a],a,void 0,i&&i[a])}else if(typeof e=="number"){r=new Array(e);for(let a=0;a<e;a++)r[a]=t(a+1,a,void 0,i&&i[a])}else if(Zt(e))if(e[Symbol.iterator])r=Array.from(e,(a,s)=>t(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;s<l;s++){const c=a[s];r[s]=t(e[c],c,s,i&&i[s])}}else r=[];return n&&(n[o]=r),r}function tu(e,t,n={},o,r){if(xn.isCE||xn.parent&&bs(xn.parent)&&xn.parent.isCE)return t!=="default"&&(n.name=t),ie("slot",n,o&&o());let i=e[t];i&&i._c&&(i._d=!1),me();const a=i&&qy(i(n)),s=qe(it,{key:(n.key||a&&a.key||`_${t}`)+(!a&&o?"_fb":"")},a||(o?o():[]),a&&e._===1?64:-2);return!r&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function qy(e){return e.some(t=>Hs(t)?!(t.type===_n||t.type===it&&!qy(t.children)):!0)?e:null}const If=e=>e?fx(e)?iu(e):If(e.parent):null,ys=wn(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>If(e.parent),$root:e=>If(e.root),$emit:e=>e.emit,$options:e=>fp(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,sp(e.update)}),$nextTick:e=>e.n||(e.n=Ht.bind(e.proxy)),$watch:e=>N4.bind(e)}),yd=(e,t)=>e!==nn&&!e.__isScriptSetup&&Mt(e,t),g4={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:r,props:i,accessCache:a,type:s,appContext:l}=e;let c;if(t[0]!=="$"){const h=a[t];if(h!==void 0)switch(h){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(yd(o,t))return a[t]=1,o[t];if(r!==nn&&Mt(r,t))return a[t]=2,r[t];if((c=e.propsOptions[0])&&Mt(c,t))return a[t]=3,i[t];if(n!==nn&&Mt(n,t))return a[t]=4,n[t];Of&&(a[t]=0)}}const u=ys[t];let d,f;if(u)return t==="$attrs"&&jn(e.attrs,"get",""),u(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==nn&&Mt(n,t))return a[t]=4,n[t];if(f=l.config.globalProperties,Mt(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return yd(r,t)?(r[t]=n,!0):o!==nn&&Mt(o,t)?(o[t]=n,!0):Mt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:i}},a){let s;return!!n[a]||e!==nn&&Mt(e,a)||yd(t,a)||(s=i[0])&&Mt(s,a)||Mt(o,a)||Mt(ys,a)||Mt(r.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Mt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function cg(e){return ct(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Of=!0;function v4(e){const t=fp(e),n=e.proxy,o=e.ctx;Of=!1,t.beforeCreate&&ug(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:a,watch:s,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:h,updated:p,activated:g,deactivated:m,beforeDestroy:b,beforeUnmount:_,destroyed:C,unmounted:S,render:w,renderTracked:x,renderTriggered:y,errorCaptured:P,serverPrefetch:k,expose:T,inheritAttrs:E,components:R,directives:K,filters:N}=t;if(c&&b4(c,o,null),a)for(const G in a){const J=a[G];mt(J)&&(o[G]=J.bind(n))}if(r){const G=r.call(n,n);Zt(G)&&(e.data=eo(G))}if(Of=!0,i)for(const G in i){const J=i[G],he=mt(J)?J.bind(n,n):mt(J.get)?J.get.bind(n,n):Kn,pe=!mt(J)&&mt(J.set)?J.set.bind(n):Kn,B=F({get:he,set:pe});Object.defineProperty(o,G,{enumerable:!0,configurable:!0,get:()=>B.value,set:$=>B.value=$})}if(s)for(const G in s)Ky(s[G],o,n,G);if(l){const G=mt(l)?l.call(n):l;Reflect.ownKeys(G).forEach(J=>{at(J,G[J])})}u&&ug(u,e,"c");function M(G,J){ct(J)?J.forEach(he=>G(he.bind(n))):J&&G(J.bind(n))}if(M(hn,d),M(jt,f),M(Vy,h),M(up,p),M(cp,g),M(Zc,m),M(m4,P),M(p4,x),M(h4,y),M(on,_),M(Ma,S),M(f4,k),ct(T))if(T.length){const G=e.exposed||(e.exposed={});T.forEach(J=>{Object.defineProperty(G,J,{get:()=>n[J],set:he=>n[J]=he})})}else e.exposed||(e.exposed={});w&&e.render===Kn&&(e.render=w),E!=null&&(e.inheritAttrs=E),R&&(e.components=R),K&&(e.directives=K)}function b4(e,t,n=Kn){ct(e)&&(e=Mf(e));for(const o in e){const r=e[o];let i;Zt(r)?"default"in r?i=Ue(r.from||o,r.default,!0):i=Ue(r.from||o):i=Ue(r),cn(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[o]=i}}function ug(e,t,n){ao(ct(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ky(e,t,n,o){const r=o.includes(".")?lx(n,o):()=>n[o];if(ln(e)){const i=t[e];mt(i)&&ft(r,i)}else if(mt(e))ft(r,e.bind(n));else if(Zt(e))if(ct(e))e.forEach(i=>Ky(i,t,n,o));else{const i=mt(e.handler)?e.handler.bind(n):t[e.handler];mt(i)&&ft(r,i,e)}}function fp(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let l;return s?l=s:!r.length&&!n&&!o?l=t:(l={},r.length&&r.forEach(c=>mc(l,c,a,!0)),mc(l,t,a)),Zt(t)&&i.set(t,l),l}function mc(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&mc(e,i,n,!0),r&&r.forEach(a=>mc(e,a,n,!0));for(const a in t)if(!(o&&a==="expose")){const s=y4[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const y4={data:dg,props:fg,emits:fg,methods:fs,computed:fs,beforeCreate:In,created:In,beforeMount:In,mounted:In,beforeUpdate:In,updated:In,beforeDestroy:In,beforeUnmount:In,destroyed:In,unmounted:In,activated:In,deactivated:In,errorCaptured:In,serverPrefetch:In,components:fs,directives:fs,watch:C4,provide:dg,inject:x4};function dg(e,t){return t?e?function(){return wn(mt(e)?e.call(this,this):e,mt(t)?t.call(this,this):t)}:t:e}function x4(e,t){return fs(Mf(e),Mf(t))}function Mf(e){if(ct(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function In(e,t){return e?[...new Set([].concat(e,t))]:t}function fs(e,t){return e?wn(Object.create(null),e,t):t}function fg(e,t){return e?ct(e)&&ct(t)?[...new Set([...e,...t])]:wn(Object.create(null),cg(e),cg(t??{})):t}function C4(e,t){if(!e)return t;if(!t)return e;const n=wn(Object.create(null),e);for(const o in t)n[o]=In(e[o],t[o]);return n}function Gy(){return{app:null,config:{isNativeTag:m3,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let w4=0;function _4(e,t){return function(o,r=null){mt(o)||(o=wn({},o)),r!=null&&!Zt(r)&&(r=null);const i=Gy(),a=new WeakSet;let s=!1;const l=i.app={_uid:w4++,_component:o,_props:r,_container:null,_context:i,_instance:null,version:lP,get config(){return i.config},set config(c){},use(c,...u){return a.has(c)||(c&&mt(c.install)?(a.add(c),c.install(l,...u)):mt(c)&&(a.add(c),c(l,...u))),l},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),l},component(c,u){return u?(i.components[c]=u,l):i.components[c]},directive(c,u){return u?(i.directives[c]=u,l):i.directives[c]},mount(c,u,d){if(!s){const f=ie(o,r);return f.appContext=i,d===!0?d="svg":d===!1&&(d=void 0),u&&t?t(f,c):e(f,c,d),s=!0,l._container=c,c.__vue_app__=l,iu(f.component)}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return i.provides[c]=u,l},runWithContext(c){const u=_i;_i=l;try{return c()}finally{_i=u}}};return l}}let _i=null;function at(e,t){if(Sn){let n=Sn.provides;const o=Sn.parent&&Sn.parent.provides;o===n&&(n=Sn.provides=Object.create(o)),n[e]=t}}function Ue(e,t,n=!1){const o=Sn||xn;if(o||_i){const r=_i?_i._context.provides:o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&mt(t)?t.call(o&&o.proxy):t}}function S4(){return!!(Sn||xn||_i)}const Yy={},Xy=()=>Object.create(Yy),Zy=e=>Object.getPrototypeOf(e)===Yy;function k4(e,t,n,o=!1){const r={},i=Xy();e.propsDefaults=Object.create(null),Jy(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:Ry(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function P4(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:a}}=e,s=It(r),[l]=e.propsOptions;let c=!1;if((o||a>0)&&!(a&16)){if(a&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let f=u[d];if(ou(e.emitsOptions,f))continue;const h=t[f];if(l)if(Mt(i,f))h!==i[f]&&(i[f]=h,c=!0);else{const p=To(f);r[p]=zf(l,s,p,h,e,!1)}else h!==i[f]&&(i[f]=h,c=!0)}}}else{Jy(e,t,r,i)&&(c=!0);let u;for(const d in s)(!t||!Mt(t,d)&&((u=qr(d))===d||!Mt(t,u)))&&(l?n&&(n[d]!==void 0||n[u]!==void 0)&&(r[d]=zf(l,s,d,void 0,e,!0)):delete r[d]);if(i!==s)for(const d in i)(!t||!Mt(t,d))&&(delete i[d],c=!0)}c&&ar(e.attrs,"set","")}function Jy(e,t,n,o){const[r,i]=e.propsOptions;let a=!1,s;if(t)for(let l in t){if(gs(l))continue;const c=t[l];let u;r&&Mt(r,u=To(l))?!i||!i.includes(u)?n[u]=c:(s||(s={}))[u]=c:ou(e.emitsOptions,l)||(!(l in o)||c!==o[l])&&(o[l]=c,a=!0)}if(i){const l=It(n),c=s||nn;for(let u=0;u<i.length;u++){const d=i[u];n[d]=zf(r,l,d,c[d],e,!Mt(c,d))}}return a}function zf(e,t,n,o,r,i){const a=e[n];if(a!=null){const s=Mt(a,"default");if(s&&o===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&mt(l)){const{propsDefaults:c}=r;if(n in c)o=c[n];else{const u=ol(r);o=c[n]=l.call(null,t),u()}}else o=l}a[0]&&(i&&!s?o=!1:a[1]&&(o===""||o===qr(n))&&(o=!0))}return o}const T4=new WeakMap;function Qy(e,t,n=!1){const o=n?T4:t.propsCache,r=o.get(e);if(r)return r;const i=e.props,a={},s=[];let l=!1;if(!mt(e)){const u=d=>{l=!0;const[f,h]=Qy(d,t,!0);wn(a,f),h&&s.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return Zt(e)&&o.set(e,fa),fa;if(ct(i))for(let u=0;u<i.length;u++){const d=To(i[u]);hg(d)&&(a[d]=nn)}else if(i)for(const u in i){const d=To(u);if(hg(d)){const f=i[u],h=a[d]=ct(f)||mt(f)?{type:f}:wn({},f),p=h.type;let g=!1,m=!0;if(ct(p))for(let b=0;b<p.length;++b){const _=p[b],C=mt(_)&&_.name;if(C==="Boolean"){g=!0;break}else C==="String"&&(m=!1)}else g=mt(p)&&p.name==="Boolean";h[0]=g,h[1]=m,(g||Mt(h,"default"))&&s.push(d)}}const c=[a,s];return Zt(e)&&o.set(e,c),c}function hg(e){return e[0]!=="$"&&!gs(e)}const ex=e=>e[0]==="_"||e==="$stable",hp=e=>ct(e)?e.map(Fo):[Fo(e)],R4=(e,t,n)=>{if(t._n)return t;const o=ue((...r)=>hp(t(...r)),n);return o._c=!1,o},tx=(e,t,n)=>{const o=e._ctx;for(const r in e){if(ex(r))continue;const i=e[r];if(mt(i))t[r]=R4(r,i,o);else if(i!=null){const a=hp(i);t[r]=()=>a}}},nx=(e,t)=>{const n=hp(t);e.slots.default=()=>n},ox=(e,t,n)=>{for(const o in t)(n||o!=="_")&&(e[o]=t[o])},E4=(e,t,n)=>{const o=e.slots=Xy();if(e.vnode.shapeFlag&32){const r=t._;r?(ox(o,t,n),n&&uy(o,"_",r,!0)):tx(t,o)}else t&&nx(e,t)},$4=(e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,a=nn;if(o.shapeFlag&32){const s=t._;s?n&&s===1?i=!1:ox(r,t,n):(i=!t.$stable,tx(t,r)),a=t}else t&&(nx(e,t),a={default:1});if(i)for(const s in r)!ex(s)&&a[s]==null&&delete r[s]};function Df(e,t,n,o,r=!1){if(ct(e)){e.forEach((f,h)=>Df(f,t&&(ct(t)?t[h]:t),n,o,r));return}if(bs(o)&&!r)return;const i=o.shapeFlag&4?iu(o.component):o.el,a=r?null:i,{i:s,r:l}=e,c=t&&t.r,u=s.refs===nn?s.refs={}:s.refs,d=s.setupState;if(c!=null&&c!==l&&(ln(c)?(u[c]=null,Mt(d,c)&&(d[c]=null)):cn(c)&&(c.value=null)),mt(l))Fr(l,s,12,[a,u]);else{const f=ln(l),h=cn(l);if(f||h){const p=()=>{if(e.f){const g=f?Mt(d,l)?d[l]:u[l]:l.value;r?ct(g)&&Gh(g,i):ct(g)?g.includes(i)||g.push(i):f?(u[l]=[i],Mt(d,l)&&(d[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else f?(u[l]=a,Mt(d,l)&&(d[l]=a)):h&&(l.value=a,e.k&&(u[e.k]=a))};a?(p.id=-1,Nn(p,n)):p()}}}const rx=Symbol("_vte"),A4=e=>e.__isTeleport,xs=e=>e&&(e.disabled||e.disabled===""),pg=e=>typeof SVGElement<"u"&&e instanceof SVGElement,mg=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Lf=(e,t)=>{const n=e&&e.to;return ln(n)?t?t(n):null:n},I4={name:"Teleport",__isTeleport:!0,process(e,t,n,o,r,i,a,s,l,c){const{mc:u,pc:d,pbc:f,o:{insert:h,querySelector:p,createText:g,createComment:m}}=c,b=xs(t.props);let{shapeFlag:_,children:C,dynamicChildren:S}=t;if(e==null){const w=t.el=g(""),x=t.anchor=g("");h(w,n,o),h(x,n,o);const y=t.target=Lf(t.props,p),P=ax(y,t,g,h);y&&(a==="svg"||pg(y)?a="svg":(a==="mathml"||mg(y))&&(a="mathml"));const k=(T,E)=>{_&16&&u(C,T,E,r,i,a,s,l)};b?k(n,x):y&&k(y,P)}else{t.el=e.el,t.targetStart=e.targetStart;const w=t.anchor=e.anchor,x=t.target=e.target,y=t.targetAnchor=e.targetAnchor,P=xs(e.props),k=P?n:x,T=P?w:y;if(a==="svg"||pg(x)?a="svg":(a==="mathml"||mg(x))&&(a="mathml"),S?(f(e.dynamicChildren,S,k,r,i,a,s),pp(e,t,!0)):l||d(e,t,k,T,r,i,a,s,!1),b)P?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Pl(t,n,w,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const E=t.target=Lf(t.props,p);E&&Pl(t,E,null,c,0)}else P&&Pl(t,x,y,c,1)}ix(t)},remove(e,t,n,{um:o,o:{remove:r}},i){const{shapeFlag:a,children:s,anchor:l,targetStart:c,targetAnchor:u,target:d,props:f}=e;if(d&&(r(c),r(u)),i&&r(l),a&16){const h=i||!xs(f);for(let p=0;p<s.length;p++){const g=s[p];o(g,t,n,h,!!g.dynamicChildren)}}},move:Pl,hydrate:O4};function Pl(e,t,n,{o:{insert:o},m:r},i=2){i===0&&o(e.targetAnchor,t,n);const{el:a,anchor:s,shapeFlag:l,children:c,props:u}=e,d=i===2;if(d&&o(a,t,n),(!d||xs(u))&&l&16)for(let f=0;f<c.length;f++)r(c[f],t,n,2);d&&o(s,t,n)}function O4(e,t,n,o,r,i,{o:{nextSibling:a,parentNode:s,querySelector:l,insert:c,createText:u}},d){const f=t.target=Lf(t.props,l);if(f){const h=f._lpa||f.firstChild;if(t.shapeFlag&16)if(xs(t.props))t.anchor=d(a(e),t,s(e),n,o,r,i),t.targetStart=h,t.targetAnchor=h&&a(h);else{t.anchor=a(e);let p=h;for(;p;){if(p&&p.nodeType===8){if(p.data==="teleport start anchor")t.targetStart=p;else if(p.data==="teleport anchor"){t.targetAnchor=p,f._lpa=t.targetAnchor&&a(t.targetAnchor);break}}p=a(p)}t.targetAnchor||ax(f,t,u,c),d(h&&a(h),t,f,n,o,r,i)}ix(t)}return t.anchor&&a(t.anchor)}const nu=I4;function ix(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}function ax(e,t,n,o){const r=t.targetStart=n(""),i=t.targetAnchor=n("");return r[rx]=i,e&&(o(r,e),o(i,e)),i}const Nn=G4;function M4(e){return z4(e)}function z4(e,t){const n=dy();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:h=Kn,insertStaticContent:p}=e,g=(L,O,oe,_e=null,te=null,ge=null,ke=void 0,I=null,j=!!O.dynamicChildren)=>{if(L===O)return;L&&!pi(L,O)&&(_e=Q(L),$(L,te,ge,!0),L=null),O.patchFlag===-2&&(j=!1,O.dynamicChildren=null);const{type:ee,ref:Ce,shapeFlag:ce}=O;switch(ee){case za:m(L,O,oe,_e);break;case _n:b(L,O,oe,_e);break;case ec:L==null&&_(O,oe,_e,ke);break;case it:R(L,O,oe,_e,te,ge,ke,I,j);break;default:ce&1?w(L,O,oe,_e,te,ge,ke,I,j):ce&6?K(L,O,oe,_e,te,ge,ke,I,j):(ce&64||ce&128)&&ee.process(L,O,oe,_e,te,ge,ke,I,j,ye)}Ce!=null&&te&&Df(Ce,L&&L.ref,ge,O||L,!O)},m=(L,O,oe,_e)=>{if(L==null)o(O.el=s(O.children),oe,_e);else{const te=O.el=L.el;O.children!==L.children&&c(te,O.children)}},b=(L,O,oe,_e)=>{L==null?o(O.el=l(O.children||""),oe,_e):O.el=L.el},_=(L,O,oe,_e)=>{[L.el,L.anchor]=p(L.children,O,oe,_e,L.el,L.anchor)},C=({el:L,anchor:O},oe,_e)=>{let te;for(;L&&L!==O;)te=f(L),o(L,oe,_e),L=te;o(O,oe,_e)},S=({el:L,anchor:O})=>{let oe;for(;L&&L!==O;)oe=f(L),r(L),L=oe;r(O)},w=(L,O,oe,_e,te,ge,ke,I,j)=>{O.type==="svg"?ke="svg":O.type==="math"&&(ke="mathml"),L==null?x(O,oe,_e,te,ge,ke,I,j):k(L,O,te,ge,ke,I,j)},x=(L,O,oe,_e,te,ge,ke,I)=>{let j,ee;const{props:Ce,shapeFlag:ce,transition:le,dirs:re}=L;if(j=L.el=a(L.type,ge,Ce&&Ce.is,Ce),ce&8?u(j,L.children):ce&16&&P(L.children,j,null,_e,te,xd(L,ge),ke,I),re&&ri(L,null,_e,"created"),y(j,L,L.scopeId,ke,_e),Ce){for(const De in Ce)De!=="value"&&!gs(De)&&i(j,De,null,Ce[De],ge,_e);"value"in Ce&&i(j,"value",null,Ce.value,ge),(ee=Ce.onVnodeBeforeMount)&&zo(ee,_e,L)}re&&ri(L,null,_e,"beforeMount");const de=D4(te,le);de&&le.beforeEnter(j),o(j,O,oe),((ee=Ce&&Ce.onVnodeMounted)||de||re)&&Nn(()=>{ee&&zo(ee,_e,L),de&&le.enter(j),re&&ri(L,null,_e,"mounted")},te)},y=(L,O,oe,_e,te)=>{if(oe&&h(L,oe),_e)for(let ge=0;ge<_e.length;ge++)h(L,_e[ge]);if(te){let ge=te.subTree;if(O===ge){const ke=te.vnode;y(L,ke,ke.scopeId,ke.slotScopeIds,te.parent)}}},P=(L,O,oe,_e,te,ge,ke,I,j=0)=>{for(let ee=j;ee<L.length;ee++){const Ce=L[ee]=I?Ir(L[ee]):Fo(L[ee]);g(null,Ce,O,oe,_e,te,ge,ke,I)}},k=(L,O,oe,_e,te,ge,ke)=>{const I=O.el=L.el;let{patchFlag:j,dynamicChildren:ee,dirs:Ce}=O;j|=L.patchFlag&16;const ce=L.props||nn,le=O.props||nn;let re;if(oe&&ii(oe,!1),(re=le.onVnodeBeforeUpdate)&&zo(re,oe,O,L),Ce&&ri(O,L,oe,"beforeUpdate"),oe&&ii(oe,!0),(ce.innerHTML&&le.innerHTML==null||ce.textContent&&le.textContent==null)&&u(I,""),ee?T(L.dynamicChildren,ee,I,oe,_e,xd(O,te),ge):ke||J(L,O,I,null,oe,_e,xd(O,te),ge,!1),j>0){if(j&16)E(I,ce,le,oe,te);else if(j&2&&ce.class!==le.class&&i(I,"class",null,le.class,te),j&4&&i(I,"style",ce.style,le.style,te),j&8){const de=O.dynamicProps;for(let De=0;De<de.length;De++){const Le=de[De],Pe=ce[Le],Fe=le[Le];(Fe!==Pe||Le==="value")&&i(I,Le,Pe,Fe,te,oe)}}j&1&&L.children!==O.children&&u(I,O.children)}else!ke&&ee==null&&E(I,ce,le,oe,te);((re=le.onVnodeUpdated)||Ce)&&Nn(()=>{re&&zo(re,oe,O,L),Ce&&ri(O,L,oe,"updated")},_e)},T=(L,O,oe,_e,te,ge,ke)=>{for(let I=0;I<O.length;I++){const j=L[I],ee=O[I],Ce=j.el&&(j.type===it||!pi(j,ee)||j.shapeFlag&70)?d(j.el):oe;g(j,ee,Ce,null,_e,te,ge,ke,!0)}},E=(L,O,oe,_e,te)=>{if(O!==oe){if(O!==nn)for(const ge in O)!gs(ge)&&!(ge in oe)&&i(L,ge,O[ge],null,te,_e);for(const ge in oe){if(gs(ge))continue;const ke=oe[ge],I=O[ge];ke!==I&&ge!=="value"&&i(L,ge,I,ke,te,_e)}"value"in oe&&i(L,"value",O.value,oe.value,te)}},R=(L,O,oe,_e,te,ge,ke,I,j)=>{const ee=O.el=L?L.el:s(""),Ce=O.anchor=L?L.anchor:s("");let{patchFlag:ce,dynamicChildren:le,slotScopeIds:re}=O;re&&(I=I?I.concat(re):re),L==null?(o(ee,oe,_e),o(Ce,oe,_e),P(O.children||[],oe,Ce,te,ge,ke,I,j)):ce>0&&ce&64&&le&&L.dynamicChildren?(T(L.dynamicChildren,le,oe,te,ge,ke,I),(O.key!=null||te&&O===te.subTree)&&pp(L,O,!0)):J(L,O,oe,Ce,te,ge,ke,I,j)},K=(L,O,oe,_e,te,ge,ke,I,j)=>{O.slotScopeIds=I,L==null?O.shapeFlag&512?te.ctx.activate(O,oe,_e,ke,j):N(O,oe,_e,te,ge,ke,j):D(L,O,j)},N=(L,O,oe,_e,te,ge,ke)=>{const I=L.component=tP(L,_e,te);if(Xc(L)&&(I.ctx.renderer=ye),nP(I,!1,ke),I.asyncDep){if(te&&te.registerDep(I,M,ke),!L.el){const j=I.subTree=ie(_n);b(null,j,O,oe)}}else M(I,L,O,oe,te,ge,ke)},D=(L,O,oe)=>{const _e=O.component=L.component;if(U4(L,O,oe))if(_e.asyncDep&&!_e.asyncResolved){G(_e,O,oe);return}else _e.next=O,r4(_e.update),_e.effect.dirty=!0,_e.update();else O.el=L.el,_e.vnode=O},M=(L,O,oe,_e,te,ge,ke)=>{const I=()=>{if(L.isMounted){let{next:Ce,bu:ce,u:le,parent:re,vnode:de}=L;{const He=sx(L);if(He){Ce&&(Ce.el=de.el,G(L,Ce,ke)),He.asyncDep.then(()=>{L.isUnmounted||I()});return}}let De=Ce,Le;ii(L,!1),Ce?(Ce.el=de.el,G(L,Ce,ke)):Ce=de,ce&&Ql(ce),(Le=Ce.props&&Ce.props.onVnodeBeforeUpdate)&&zo(Le,re,Ce,de),ii(L,!0);const Pe=Cd(L),Fe=L.subTree;L.subTree=Pe,g(Fe,Pe,d(Fe.el),Q(Fe),L,te,ge),Ce.el=Pe.el,De===null&&q4(L,Pe.el),le&&Nn(le,te),(Le=Ce.props&&Ce.props.onVnodeUpdated)&&Nn(()=>zo(Le,re,Ce,de),te)}else{let Ce;const{el:ce,props:le}=O,{bm:re,m:de,parent:De}=L,Le=bs(O);if(ii(L,!1),re&&Ql(re),!Le&&(Ce=le&&le.onVnodeBeforeMount)&&zo(Ce,De,O),ii(L,!0),ce&&Ne){const Pe=()=>{L.subTree=Cd(L),Ne(ce,L.subTree,L,te,null)};Le?O.type.__asyncLoader().then(()=>!L.isUnmounted&&Pe()):Pe()}else{const Pe=L.subTree=Cd(L);g(null,Pe,oe,_e,L,te,ge),O.el=Pe.el}if(de&&Nn(de,te),!Le&&(Ce=le&&le.onVnodeMounted)){const Pe=O;Nn(()=>zo(Ce,De,Pe),te)}(O.shapeFlag&256||De&&bs(De.vnode)&&De.vnode.shapeFlag&256)&&L.a&&Nn(L.a,te),L.isMounted=!0,O=oe=_e=null}},j=L.effect=new Jh(I,Kn,()=>sp(ee),L.scope),ee=L.update=()=>{j.dirty&&j.run()};ee.i=L,ee.id=L.uid,ii(L,!0),ee()},G=(L,O,oe)=>{O.component=L;const _e=L.vnode.props;L.vnode=O,L.next=null,P4(L,O.props,_e,oe),$4(L,O.children,oe),Kr(),ag(L),Gr()},J=(L,O,oe,_e,te,ge,ke,I,j=!1)=>{const ee=L&&L.children,Ce=L?L.shapeFlag:0,ce=O.children,{patchFlag:le,shapeFlag:re}=O;if(le>0){if(le&128){pe(ee,ce,oe,_e,te,ge,ke,I,j);return}else if(le&256){he(ee,ce,oe,_e,te,ge,ke,I,j);return}}re&8?(Ce&16&&fe(ee,te,ge),ce!==ee&&u(oe,ce)):Ce&16?re&16?pe(ee,ce,oe,_e,te,ge,ke,I,j):fe(ee,te,ge,!0):(Ce&8&&u(oe,""),re&16&&P(ce,oe,_e,te,ge,ke,I,j))},he=(L,O,oe,_e,te,ge,ke,I,j)=>{L=L||fa,O=O||fa;const ee=L.length,Ce=O.length,ce=Math.min(ee,Ce);let le;for(le=0;le<ce;le++){const re=O[le]=j?Ir(O[le]):Fo(O[le]);g(L[le],re,oe,null,te,ge,ke,I,j)}ee>Ce?fe(L,te,ge,!0,!1,ce):P(O,oe,_e,te,ge,ke,I,j,ce)},pe=(L,O,oe,_e,te,ge,ke,I,j)=>{let ee=0;const Ce=O.length;let ce=L.length-1,le=Ce-1;for(;ee<=ce&&ee<=le;){const re=L[ee],de=O[ee]=j?Ir(O[ee]):Fo(O[ee]);if(pi(re,de))g(re,de,oe,null,te,ge,ke,I,j);else break;ee++}for(;ee<=ce&&ee<=le;){const re=L[ce],de=O[le]=j?Ir(O[le]):Fo(O[le]);if(pi(re,de))g(re,de,oe,null,te,ge,ke,I,j);else break;ce--,le--}if(ee>ce){if(ee<=le){const re=le+1,de=re<Ce?O[re].el:_e;for(;ee<=le;)g(null,O[ee]=j?Ir(O[ee]):Fo(O[ee]),oe,de,te,ge,ke,I,j),ee++}}else if(ee>le)for(;ee<=ce;)$(L[ee],te,ge,!0),ee++;else{const re=ee,de=ee,De=new Map;for(ee=de;ee<=le;ee++){const X=O[ee]=j?Ir(O[ee]):Fo(O[ee]);X.key!=null&&De.set(X.key,ee)}let Le,Pe=0;const Fe=le-de+1;let He=!1,Ie=0;const Qe=new Array(Fe);for(ee=0;ee<Fe;ee++)Qe[ee]=0;for(ee=re;ee<=ce;ee++){const X=L[ee];if(Pe>=Fe){$(X,te,ge,!0);continue}let ve;if(X.key!=null)ve=De.get(X.key);else for(Le=de;Le<=le;Le++)if(Qe[Le-de]===0&&pi(X,O[Le])){ve=Le;break}ve===void 0?$(X,te,ge,!0):(Qe[ve-de]=ee+1,ve>=Ie?Ie=ve:He=!0,g(X,O[ve],oe,null,te,ge,ke,I,j),Pe++)}const Ct=He?L4(Qe):fa;for(Le=Ct.length-1,ee=Fe-1;ee>=0;ee--){const X=de+ee,ve=O[X],Ae=X+1<Ce?O[X+1].el:_e;Qe[ee]===0?g(null,ve,oe,Ae,te,ge,ke,I,j):He&&(Le<0||ee!==Ct[Le]?B(ve,oe,Ae,2):Le--)}}},B=(L,O,oe,_e,te=null)=>{const{el:ge,type:ke,transition:I,children:j,shapeFlag:ee}=L;if(ee&6){B(L.component.subTree,O,oe,_e);return}if(ee&128){L.suspense.move(O,oe,_e);return}if(ee&64){ke.move(L,O,oe,ye);return}if(ke===it){o(ge,O,oe);for(let ce=0;ce<j.length;ce++)B(j[ce],O,oe,_e);o(L.anchor,O,oe);return}if(ke===ec){C(L,O,oe);return}if(_e!==2&&ee&1&&I)if(_e===0)I.beforeEnter(ge),o(ge,O,oe),Nn(()=>I.enter(ge),te);else{const{leave:ce,delayLeave:le,afterLeave:re}=I,de=()=>o(ge,O,oe),De=()=>{ce(ge,()=>{de(),re&&re()})};le?le(ge,de,De):De()}else o(ge,O,oe)},$=(L,O,oe,_e=!1,te=!1)=>{const{type:ge,props:ke,ref:I,children:j,dynamicChildren:ee,shapeFlag:Ce,patchFlag:ce,dirs:le,cacheIndex:re}=L;if(ce===-2&&(te=!1),I!=null&&Df(I,null,oe,L,!0),re!=null&&(O.renderCache[re]=void 0),Ce&256){O.ctx.deactivate(L);return}const de=Ce&1&&le,De=!bs(L);let Le;if(De&&(Le=ke&&ke.onVnodeBeforeUnmount)&&zo(Le,O,L),Ce&6)ne(L.component,oe,_e);else{if(Ce&128){L.suspense.unmount(oe,_e);return}de&&ri(L,null,O,"beforeUnmount"),Ce&64?L.type.remove(L,O,oe,ye,_e):ee&&!ee.hasOnce&&(ge!==it||ce>0&&ce&64)?fe(ee,O,oe,!1,!0):(ge===it&&ce&384||!te&&Ce&16)&&fe(j,O,oe),_e&&A(L)}(De&&(Le=ke&&ke.onVnodeUnmounted)||de)&&Nn(()=>{Le&&zo(Le,O,L),de&&ri(L,null,O,"unmounted")},oe)},A=L=>{const{type:O,el:oe,anchor:_e,transition:te}=L;if(O===it){Y(oe,_e);return}if(O===ec){S(L);return}const ge=()=>{r(oe),te&&!te.persisted&&te.afterLeave&&te.afterLeave()};if(L.shapeFlag&1&&te&&!te.persisted){const{leave:ke,delayLeave:I}=te,j=()=>ke(oe,ge);I?I(L.el,ge,j):j()}else ge()},Y=(L,O)=>{let oe;for(;L!==O;)oe=f(L),r(L),L=oe;r(O)},ne=(L,O,oe)=>{const{bum:_e,scope:te,update:ge,subTree:ke,um:I,m:j,a:ee}=L;gg(j),gg(ee),_e&&Ql(_e),te.stop(),ge&&(ge.active=!1,$(ke,L,O,oe)),I&&Nn(I,O),Nn(()=>{L.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&L.asyncDep&&!L.asyncResolved&&L.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},fe=(L,O,oe,_e=!1,te=!1,ge=0)=>{for(let ke=ge;ke<L.length;ke++)$(L[ke],O,oe,_e,te)},Q=L=>{if(L.shapeFlag&6)return Q(L.component.subTree);if(L.shapeFlag&128)return L.suspense.next();const O=f(L.anchor||L.el),oe=O&&O[rx];return oe?f(oe):O};let xe=!1;const H=(L,O,oe)=>{L==null?O._vnode&&$(O._vnode,null,null,!0):g(O._vnode||null,L,O,null,null,null,oe),O._vnode=L,xe||(xe=!0,ag(),Dy(),xe=!1)},ye={p:g,um:$,m:B,r:A,mt:N,mc:P,pc:J,pbc:T,n:Q,o:e};let Oe,Ne;return t&&([Oe,Ne]=t(ye)),{render:H,hydrate:Oe,createApp:_4(H,Oe)}}function xd({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ii({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function D4(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function pp(e,t,n=!1){const o=e.children,r=t.children;if(ct(o)&&ct(r))for(let i=0;i<o.length;i++){const a=o[i];let s=r[i];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=r[i]=Ir(r[i]),s.el=a.el),!n&&s.patchFlag!==-2&&pp(a,s)),s.type===za&&(s.el=a.el)}}function L4(e){const t=e.slice(),n=[0];let o,r,i,a,s;const l=e.length;for(o=0;o<l;o++){const c=e[o];if(c!==0){if(r=n[n.length-1],e[r]<c){t[o]=r,n.push(o);continue}for(i=0,a=n.length-1;i<a;)s=i+a>>1,e[n[s]]<c?i=s+1:a=s;c<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}function sx(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:sx(t)}function gg(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const F4=Symbol.for("v-scx"),B4=()=>Ue(F4);function Xt(e,t){return mp(e,null,t)}const Tl={};function ft(e,t,n){return mp(e,t,n)}function mp(e,t,{immediate:n,deep:o,flush:r,once:i,onTrack:a,onTrigger:s}=nn){if(t&&i){const x=t;t=(...y)=>{x(...y),w()}}const l=Sn,c=x=>o===!0?x:zr(x,o===!1?1:void 0);let u,d=!1,f=!1;if(cn(e)?(u=()=>e.value,d=xa(e)):wi(e)?(u=()=>c(e),d=!0):ct(e)?(f=!0,d=e.some(x=>wi(x)||xa(x)),u=()=>e.map(x=>{if(cn(x))return x.value;if(wi(x))return c(x);if(mt(x))return Fr(x,l,2)})):mt(e)?t?u=()=>Fr(e,l,2):u=()=>(h&&h(),ao(e,l,3,[p])):u=Kn,t&&o){const x=u;u=()=>zr(x())}let h,p=x=>{h=C.onStop=()=>{Fr(x,l,4),h=C.onStop=void 0}},g;if(ru)if(p=Kn,t?n&&ao(t,l,3,[u(),f?[]:void 0,p]):u(),r==="sync"){const x=B4();g=x.__watcherHandles||(x.__watcherHandles=[])}else return Kn;let m=f?new Array(e.length).fill(Tl):Tl;const b=()=>{if(!(!C.active||!C.dirty))if(t){const x=C.run();(o||d||(f?x.some((y,P)=>Br(y,m[P])):Br(x,m)))&&(h&&h(),ao(t,l,3,[x,m===Tl?void 0:f&&m[0]===Tl?[]:m,p]),m=x)}else C.run()};b.allowRecurse=!!t;let _;r==="sync"?_=b:r==="post"?_=()=>Nn(b,l&&l.suspense):(b.pre=!0,l&&(b.id=l.uid),_=()=>sp(b));const C=new Jh(u,Kn,_),S=Zh(),w=()=>{C.stop(),S&&Gh(S.effects,C)};return t?n?b():m=C.run():r==="post"?Nn(C.run.bind(C),l&&l.suspense):C.run(),g&&g.push(w),w}function N4(e,t,n){const o=this.proxy,r=ln(e)?e.includes(".")?lx(o,e):()=>o[e]:e.bind(o,o);let i;mt(t)?i=t:(i=t.handler,n=t);const a=ol(this),s=mp(r,i.bind(o),n);return a(),s}function lx(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r<n.length&&o;r++)o=o[n[r]];return o}}function zr(e,t=1/0,n){if(t<=0||!Zt(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,cn(e))zr(e.value,t,n);else if(ct(e))for(let o=0;o<e.length;o++)zr(e[o],t,n);else if(ay(e)||ha(e))e.forEach(o=>{zr(o,t,n)});else if(cy(e)){for(const o in e)zr(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&zr(e[o],t,n)}return e}const H4=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${To(t)}Modifiers`]||e[`${qr(t)}Modifiers`];function j4(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||nn;let r=n;const i=t.startsWith("update:"),a=i&&H4(o,t.slice(7));a&&(a.trim&&(r=n.map(u=>ln(u)?u.trim():u)),a.number&&(r=n.map(Tf)));let s,l=o[s=gd(t)]||o[s=gd(To(t))];!l&&i&&(l=o[s=gd(qr(t))]),l&&ao(l,e,6,r);const c=o[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,ao(c,e,6,r)}}function cx(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const i=e.emits;let a={},s=!1;if(!mt(e)){const l=c=>{const u=cx(c,t,!0);u&&(s=!0,wn(a,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!s?(Zt(e)&&o.set(e,null),null):(ct(i)?i.forEach(l=>a[l]=null):wn(a,i),Zt(e)&&o.set(e,a),a)}function ou(e,t){return!e||!Vc(t)?!1:(t=t.slice(2).replace(/Once$/,""),Mt(e,t[0].toLowerCase()+t.slice(1))||Mt(e,qr(t))||Mt(e,t))}function Cd(e){const{type:t,vnode:n,proxy:o,withProxy:r,propsOptions:[i],slots:a,attrs:s,emit:l,render:c,renderCache:u,props:d,data:f,setupState:h,ctx:p,inheritAttrs:g}=e,m=pc(e);let b,_;try{if(n.shapeFlag&4){const S=r||o,w=S;b=Fo(c.call(w,S,u,d,h,f,p)),_=s}else{const S=t;b=Fo(S.length>1?S(d,{attrs:s,slots:a,emit:l}):S(d,null)),_=t.props?s:V4(s)}}catch(S){Cs.length=0,Gc(S,e,1),b=ie(_n)}let C=b;if(_&&g!==!1){const S=Object.keys(_),{shapeFlag:w}=C;S.length&&w&7&&(i&&S.some(Kh)&&(_=W4(_,i)),C=uo(C,_,!1,!0))}return n.dirs&&(C=uo(C,null,!1,!0),C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition&&(C.transition=n.transition),b=C,pc(m),b}const V4=e=>{let t;for(const n in e)(n==="class"||n==="style"||Vc(n))&&((t||(t={}))[n]=e[n]);return t},W4=(e,t)=>{const n={};for(const o in e)(!Kh(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function U4(e,t,n){const{props:o,children:r,component:i}=e,{props:a,children:s,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?vg(o,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const f=u[d];if(a[f]!==o[f]&&!ou(c,f))return!0}}}else return(r||s)&&(!s||!s.$stable)?!0:o===a?!1:o?a?vg(o,a,c):!0:!!a;return!1}function vg(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!ou(n,i))return!0}return!1}function q4({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o===e)(e=t.vnode).el=n,t=t.parent;else break}}const K4=e=>e.__isSuspense;function G4(e,t){t&&t.pendingBranch?ct(e)?t.effects.push(...e):t.effects.push(e):i4(e)}const it=Symbol.for("v-fgt"),za=Symbol.for("v-txt"),_n=Symbol.for("v-cmt"),ec=Symbol.for("v-stc"),Cs=[];let Gn=null;function me(e=!1){Cs.push(Gn=e?null:[])}function Y4(){Cs.pop(),Gn=Cs[Cs.length-1]||null}let Ns=1;function bg(e){Ns+=e,e<0&&Gn&&(Gn.hasOnce=!0)}function ux(e){return e.dynamicChildren=Ns>0?Gn||fa:null,Y4(),Ns>0&&Gn&&Gn.push(e),e}function ze(e,t,n,o,r,i){return ux(U(e,t,n,o,r,i,!0))}function qe(e,t,n,o,r){return ux(ie(e,t,n,o,r,!0))}function Hs(e){return e?e.__v_isVNode===!0:!1}function pi(e,t){return e.type===t.type&&e.key===t.key}const dx=({key:e})=>e??null,tc=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ln(e)||cn(e)||mt(e)?{i:xn,r:e,k:t,f:!!n}:e:null);function U(e,t=null,n=null,o=0,r=null,i=e===it?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&dx(t),ref:t&&tc(t),scopeId:Yc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:xn};return s?(gp(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=ln(n)?8:16),Ns>0&&!a&&Gn&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Gn.push(l),l}const ie=X4;function X4(e,t=null,n=null,o=0,r=null,i=!1){if((!e||e===Wy)&&(e=_n),Hs(e)){const s=uo(e,t,!0);return n&&gp(s,n),Ns>0&&!i&&Gn&&(s.shapeFlag&6?Gn[Gn.indexOf(e)]=s:Gn.push(s)),s.patchFlag=-2,s}if(sP(e)&&(e=e.__vccOpts),t){t=Z4(t);let{class:s,style:l}=t;s&&!ln(s)&&(t.class=sr(s)),Zt(l)&&(Ey(l)&&!ct(l)&&(l=wn({},l)),t.style=Di(l))}const a=ln(e)?1:K4(e)?128:A4(e)?64:Zt(e)?4:mt(e)?2:0;return U(e,t,n,o,r,a,i,!0)}function Z4(e){return e?Ey(e)||Zy(e)?wn({},e):e:null}function uo(e,t,n=!1,o=!1){const{props:r,ref:i,patchFlag:a,children:s,transition:l}=e,c=t?Ln(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&dx(c),ref:t&&t.ref?n&&i?ct(i)?i.concat(tc(t)):[i,tc(t)]:tc(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==it?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&uo(e.ssContent),ssFallback:e.ssFallback&&uo(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&o&&Ca(u,l.clone(u)),u}function nt(e=" ",t=0){return ie(za,null,e,t)}function J4(e,t){const n=ie(ec,null,e);return n.staticCount=t,n}function pt(e="",t=!1){return t?(me(),qe(_n,null,e)):ie(_n,null,e)}function Fo(e){return e==null||typeof e=="boolean"?ie(_n):ct(e)?ie(it,null,e.slice()):typeof e=="object"?Ir(e):ie(za,null,String(e))}function Ir(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:uo(e)}function gp(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(ct(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),gp(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Zy(t)?t._ctx=xn:r===3&&xn&&(xn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else mt(t)?(t={default:t,_ctx:xn},n=32):(t=String(t),o&64?(n=16,t=[nt(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ln(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const r in o)if(r==="class")t.class!==o.class&&(t.class=sr([t.class,o.class]));else if(r==="style")t.style=Di([t.style,o.style]);else if(Vc(r)){const i=t[r],a=o[r];a&&i!==a&&!(ct(i)&&i.includes(a))&&(t[r]=i?[].concat(i,a):a)}else r!==""&&(t[r]=o[r])}return t}function zo(e,t,n,o=null){ao(e,t,7,[n,o])}const Q4=Gy();let eP=0;function tP(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||Q4,i={uid:eP++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new my(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Qy(o,r),emitsOptions:cx(o,r),emit:null,emitted:null,propsDefaults:nn,inheritAttrs:o.inheritAttrs,ctx:nn,data:nn,props:nn,attrs:nn,slots:nn,refs:nn,setupState:nn,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=j4.bind(null,i),e.ce&&e.ce(i),i}let Sn=null;const to=()=>Sn||xn;let gc,Ff;{const e=dy(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),i=>{r.length>1?r.forEach(a=>a(i)):r[0](i)}};gc=t("__VUE_INSTANCE_SETTERS__",n=>Sn=n),Ff=t("__VUE_SSR_SETTERS__",n=>ru=n)}const ol=e=>{const t=Sn;return gc(e),e.scope.on(),()=>{e.scope.off(),gc(t)}},yg=()=>{Sn&&Sn.scope.off(),gc(null)};function fx(e){return e.vnode.shapeFlag&4}let ru=!1;function nP(e,t=!1,n=!1){t&&Ff(t);const{props:o,children:r}=e.vnode,i=fx(e);k4(e,o,i,t),E4(e,r,n);const a=i?oP(e,t):void 0;return t&&Ff(!1),a}function oP(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,g4);const{setup:o}=n;if(o){const r=e.setupContext=o.length>1?iP(e):null,i=ol(e);Kr();const a=Fr(o,e,0,[e.props,r]);if(Gr(),i(),sy(a)){if(a.then(yg,yg),t)return a.then(s=>{xg(e,s,t)}).catch(s=>{Gc(s,e,0)});e.asyncDep=a}else xg(e,a,t)}else hx(e,t)}function xg(e,t,n){mt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Zt(t)&&(e.setupState=Iy(t)),hx(e,n)}let Cg;function hx(e,t,n){const o=e.type;if(!e.render){if(!t&&Cg&&!o.render){const r=o.template||fp(e).template;if(r){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=o,c=wn(wn({isCustomElement:i,delimiters:s},a),l);o.render=Cg(r,c)}}e.render=o.render||Kn}{const r=ol(e);Kr();try{v4(e)}finally{Gr(),r()}}}const rP={get(e,t){return jn(e,"get",""),e[t]}};function iP(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,rP),slots:e.slots,emit:e.emit,expose:t}}function iu(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Iy(zs(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ys)return ys[n](e)},has(t,n){return n in t||n in ys}})):e.proxy}function aP(e,t=!0){return mt(e)?e.displayName||e.name:e.name||t&&e.__name}function sP(e){return mt(e)&&"__vccOpts"in e}const F=(e,t)=>G3(e,t,ru);function v(e,t,n){const o=arguments.length;return o===2?Zt(t)&&!ct(t)?Hs(t)?ie(e,null,[t]):ie(e,t):ie(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Hs(n)&&(n=[n]),ie(e,t,n))}const lP="3.4.38";/**
* @vue/runtime-dom v3.4.38
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const cP="http://www.w3.org/2000/svg",uP="http://www.w3.org/1998/Math/MathML",rr=typeof document<"u"?document:null,wg=rr&&rr.createElement("template"),dP={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t==="svg"?rr.createElementNS(cP,e):t==="mathml"?rr.createElementNS(uP,e):n?rr.createElement(e,{is:n}):rr.createElement(e);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>rr.createTextNode(e),createComment:e=>rr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>rr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const a=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{wg.innerHTML=o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e;const s=wg.content;if(o==="svg"||o==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},wr="transition",ns="animation",wa=Symbol("_vtc"),fn=(e,{slots:t})=>v(u4,mx(e),t);fn.displayName="Transition";const px={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},fP=fn.props=wn({},By,px),ai=(e,t=[])=>{ct(e)?e.forEach(n=>n(...t)):e&&e(...t)},_g=e=>e?ct(e)?e.some(t=>t.length>1):e.length>1:!1;function mx(e){const t={};for(const R in e)R in px||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=a,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=hP(r),g=p&&p[0],m=p&&p[1],{onBeforeEnter:b,onEnter:_,onEnterCancelled:C,onLeave:S,onLeaveCancelled:w,onBeforeAppear:x=b,onAppear:y=_,onAppearCancelled:P=C}=t,k=(R,K,N)=>{Rr(R,K?u:s),Rr(R,K?c:a),N&&N()},T=(R,K)=>{R._isLeaving=!1,Rr(R,d),Rr(R,h),Rr(R,f),K&&K()},E=R=>(K,N)=>{const D=R?y:_,M=()=>k(K,R,N);ai(D,[K,M]),Sg(()=>{Rr(K,R?l:i),or(K,R?u:s),_g(D)||kg(K,o,g,M)})};return wn(t,{onBeforeEnter(R){ai(b,[R]),or(R,i),or(R,a)},onBeforeAppear(R){ai(x,[R]),or(R,l),or(R,c)},onEnter:E(!1),onAppear:E(!0),onLeave(R,K){R._isLeaving=!0;const N=()=>T(R,K);or(R,d),or(R,f),vx(),Sg(()=>{R._isLeaving&&(Rr(R,d),or(R,h),_g(S)||kg(R,o,m,N))}),ai(S,[R,N])},onEnterCancelled(R){k(R,!1),ai(C,[R])},onAppearCancelled(R){k(R,!0),ai(P,[R])},onLeaveCancelled(R){T(R),ai(w,[R])}})}function hP(e){if(e==null)return null;if(Zt(e))return[wd(e.enter),wd(e.leave)];{const t=wd(e);return[t,t]}}function wd(e){return x3(e)}function or(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[wa]||(e[wa]=new Set)).add(t)}function Rr(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[wa];n&&(n.delete(t),n.size||(e[wa]=void 0))}function Sg(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let pP=0;function kg(e,t,n,o){const r=e._endId=++pP,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=gx(e,t);if(!a)return o();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=h=>{h.target===e&&++u>=l&&d()};setTimeout(()=>{u<l&&d()},s+1),e.addEventListener(c,f)}function gx(e,t){const n=window.getComputedStyle(e),o=p=>(n[p]||"").split(", "),r=o(`${wr}Delay`),i=o(`${wr}Duration`),a=Pg(r,i),s=o(`${ns}Delay`),l=o(`${ns}Duration`),c=Pg(s,l);let u=null,d=0,f=0;t===wr?a>0&&(u=wr,d=a,f=i.length):t===ns?c>0&&(u=ns,d=c,f=l.length):(d=Math.max(a,c),u=d>0?a>c?wr:ns:null,f=u?u===wr?i.length:l.length:0);const h=u===wr&&/\b(transform|all)(,|$)/.test(o(`${wr}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:h}}function Pg(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,o)=>Tg(n)+Tg(e[o])))}function Tg(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function vx(){return document.body.offsetHeight}function mP(e,t,n){const o=e[wa];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const vc=Symbol("_vod"),bx=Symbol("_vsh"),Mn={beforeMount(e,{value:t},{transition:n}){e[vc]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):os(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),os(e,!0),o.enter(e)):o.leave(e,()=>{os(e,!1)}):os(e,t))},beforeUnmount(e,{value:t}){os(e,t)}};function os(e,t){e.style.display=t?e[vc]:"none",e[bx]=!t}const gP=Symbol(""),vP=/(^|;)\s*display\s*:/;function bP(e,t,n){const o=e.style,r=ln(n);let i=!1;if(n&&!r){if(t)if(ln(t))for(const a of t.split(";")){const s=a.slice(0,a.indexOf(":")).trim();n[s]==null&&nc(o,s,"")}else for(const a in t)n[a]==null&&nc(o,a,"");for(const a in n)a==="display"&&(i=!0),nc(o,a,n[a])}else if(r){if(t!==n){const a=o[gP];a&&(n+=";"+a),o.cssText=n,i=vP.test(n)}}else t&&e.removeAttribute("style");vc in e&&(e[vc]=i?o.display:"",e[bx]&&(o.display="none"))}const Rg=/\s*!important$/;function nc(e,t,n){if(ct(n))n.forEach(o=>nc(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=yP(e,t);Rg.test(n)?e.setProperty(qr(o),n.replace(Rg,""),"important"):e[o]=n}}const Eg=["Webkit","Moz","ms"],_d={};function yP(e,t){const n=_d[t];if(n)return n;let o=To(t);if(o!=="filter"&&o in e)return _d[t]=o;o=qc(o);for(let r=0;r<Eg.length;r++){const i=Eg[r]+o;if(i in e)return _d[t]=i}return t}const $g="http://www.w3.org/1999/xlink";function Ag(e,t,n,o,r,i=P3(t)){o&&t.startsWith("xlink:")?n==null?e.removeAttributeNS($g,t.slice(6,t.length)):e.setAttributeNS($g,t,n):n==null||i&&!fy(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Ur(n)?String(n):n)}function xP(e,t,n,o){if(t==="innerHTML"||t==="textContent"){if(n==null)return;e[t]=n;return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const a=r==="OPTION"?e.getAttribute("value")||"":e.value,s=n==null?"":String(n);(a!==s||!("_value"in e))&&(e.value=s),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=fy(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(t)}function aa(e,t,n,o){e.addEventListener(t,n,o)}function CP(e,t,n,o){e.removeEventListener(t,n,o)}const Ig=Symbol("_vei");function wP(e,t,n,o,r=null){const i=e[Ig]||(e[Ig]={}),a=i[t];if(o&&a)a.value=o;else{const[s,l]=_P(t);if(o){const c=i[t]=PP(o,r);aa(e,s,c,l)}else a&&(CP(e,s,a,l),i[t]=void 0)}}const Og=/(?:Once|Passive|Capture)$/;function _P(e){let t;if(Og.test(e)){t={};let o;for(;o=e.match(Og);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):qr(e.slice(2)),t]}let Sd=0;const SP=Promise.resolve(),kP=()=>Sd||(SP.then(()=>Sd=0),Sd=Date.now());function PP(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;ao(TP(o,n.value),t,5,[o])};return n.value=e,n.attached=kP(),n}function TP(e,t){if(ct(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const Mg=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,RP=(e,t,n,o,r,i)=>{const a=r==="svg";t==="class"?mP(e,o,a):t==="style"?bP(e,n,o):Vc(t)?Kh(t)||wP(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):EP(e,t,o,a))?(xP(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ag(e,t,o,a,i,t!=="value")):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),Ag(e,t,o,a))};function EP(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&Mg(t)&&mt(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Mg(t)&&ln(n)?!1:t in e}const yx=new WeakMap,xx=new WeakMap,bc=Symbol("_moveCb"),zg=Symbol("_enterCb"),Cx={name:"TransitionGroup",props:wn({},fP,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=to(),o=Fy();let r,i;return up(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!zP(r[0].el,n.vnode.el,a))return;r.forEach(IP),r.forEach(OP);const s=r.filter(MP);vx(),s.forEach(l=>{const c=l.el,u=c.style;or(c,a),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[bc]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[bc]=null,Rr(c,a))};c.addEventListener("transitionend",d)})}),()=>{const a=It(e),s=mx(a);let l=a.tag||it;if(r=[],i)for(let c=0;c<i.length;c++){const u=i[c];u.el&&u.el instanceof Element&&(r.push(u),Ca(u,Bs(u,s,o,n)),yx.set(u,u.el.getBoundingClientRect()))}i=t.default?lp(t.default()):[];for(let c=0;c<i.length;c++){const u=i[c];u.key!=null&&Ca(u,Bs(u,s,o,n))}return ie(l,null,i)}}},$P=e=>delete e.mode;Cx.props;const AP=Cx;function IP(e){const t=e.el;t[bc]&&t[bc](),t[zg]&&t[zg]()}function OP(e){xx.set(e,e.el.getBoundingClientRect())}function MP(e){const t=yx.get(e),n=xx.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${o}px,${r}px)`,i.transitionDuration="0s",e}}function zP(e,t,n){const o=e.cloneNode(),r=e[wa];r&&r.forEach(s=>{s.split(/\s+/).forEach(l=>l&&o.classList.remove(l))}),n.split(/\s+/).forEach(s=>s&&o.classList.add(s)),o.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(o);const{hasTransform:a}=gx(o);return i.removeChild(o),a}const Dg=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ct(t)?n=>Ql(t,n):t};function DP(e){e.target.composing=!0}function Lg(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const kd=Symbol("_assign"),LP={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e[kd]=Dg(r);const i=o||r.props&&r.props.type==="number";aa(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),i&&(s=Tf(s)),e[kd](s)}),n&&aa(e,"change",()=>{e.value=e.value.trim()}),t||(aa(e,"compositionstart",DP),aa(e,"compositionend",Lg),aa(e,"change",Lg))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:o,trim:r,number:i}},a){if(e[kd]=Dg(a),e.composing)return;const s=(i||e.type==="number")&&!/^0\d/.test(e.value)?Tf(e.value):e.value,l=t??"";s!==l&&(document.activeElement===e&&e.type!=="range"&&(o&&t===n||r&&e.value.trim()===l)||(e.value=l))}},FP=["ctrl","shift","alt","meta"],BP={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>FP.some(n=>e[`${n}Key`]&&!t.includes(n))},NP=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(r,...i)=>{for(let a=0;a<t.length;a++){const s=BP[t[a]];if(s&&s(r,t))return}return e(r,...i)})},HP={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ws=(e,t)=>{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=r=>{if(!("key"in r))return;const i=qr(r.key);if(t.some(a=>a===i||HP[a]===i))return e(r)})},jP=wn({patchProp:RP},dP);let Fg;function VP(){return Fg||(Fg=M4(jP))}const wx=(...e)=>{const t=VP().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=UP(o);if(!r)return;const i=t._component;!mt(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const a=n(r,!1,WP(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function WP(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function UP(e){return ln(e)?document.querySelector(e):e}/*!
* vue-router v4.4.3
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/const sa=typeof document<"u";function qP(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Vt=Object.assign;function Pd(e,t){const n={};for(const o in t){const r=t[o];n[o]=Ro(r)?r.map(e):e(r)}return n}const _s=()=>{},Ro=Array.isArray,_x=/#/g,KP=/&/g,GP=/\//g,YP=/=/g,XP=/\?/g,Sx=/\+/g,ZP=/%5B/g,JP=/%5D/g,kx=/%5E/g,QP=/%60/g,Px=/%7B/g,eT=/%7C/g,Tx=/%7D/g,tT=/%20/g;function vp(e){return encodeURI(""+e).replace(eT,"|").replace(ZP,"[").replace(JP,"]")}function nT(e){return vp(e).replace(Px,"{").replace(Tx,"}").replace(kx,"^")}function Bf(e){return vp(e).replace(Sx,"%2B").replace(tT,"+").replace(_x,"%23").replace(KP,"%26").replace(QP,"`").replace(Px,"{").replace(Tx,"}").replace(kx,"^")}function oT(e){return Bf(e).replace(YP,"%3D")}function rT(e){return vp(e).replace(_x,"%23").replace(XP,"%3F")}function iT(e){return e==null?"":rT(e).replace(GP,"%2F")}function js(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const aT=/\/$/,sT=e=>e.replace(aT,"");function Td(e,t,n="/"){let o,r={},i="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),r=e(i)),s>-1&&(o=o||t.slice(0,s),a=t.slice(s,t.length)),o=dT(o??t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:js(a)}}function lT(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Bg(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function cT(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&_a(t.matched[o],n.matched[r])&&Rx(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function _a(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Rx(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!uT(e[n],t[n]))return!1;return!0}function uT(e,t){return Ro(e)?Ng(e,t):Ro(t)?Ng(t,e):e===t}function Ng(e,t){return Ro(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function dT(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let i=n.length-1,a,s;for(a=0;a<o.length;a++)if(s=o[a],s!==".")if(s==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+o.slice(a).join("/")}const _r={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Vs;(function(e){e.pop="pop",e.push="push"})(Vs||(Vs={}));var Ss;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ss||(Ss={}));function fT(e){if(!e)if(sa){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),sT(e)}const hT=/^[^#]+#/;function pT(e,t){return e.replace(hT,"#")+t}function mT(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const au=()=>({left:window.scrollX,top:window.scrollY});function gT(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=mT(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Hg(e,t){return(history.state?history.state.position-t:-1)+e}const Nf=new Map;function vT(e,t){Nf.set(e,t)}function bT(e){const t=Nf.get(e);return Nf.delete(e),t}let yT=()=>location.protocol+"//"+location.host;function Ex(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let s=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(s);return l[0]!=="/"&&(l="/"+l),Bg(l,"")}return Bg(n,e)+o+r}function xT(e,t,n,o){let r=[],i=[],a=null;const s=({state:f})=>{const h=Ex(e,location),p=n.value,g=t.value;let m=0;if(f){if(n.value=h,t.value=f,a&&a===p){a=null;return}m=g?f.position-g.position:0}else o(h);r.forEach(b=>{b(n.value,p,{delta:m,type:Vs.pop,direction:m?m>0?Ss.forward:Ss.back:Ss.unknown})})};function l(){a=n.value}function c(f){r.push(f);const h=()=>{const p=r.indexOf(f);p>-1&&r.splice(p,1)};return i.push(h),h}function u(){const{history:f}=window;f.state&&f.replaceState(Vt({},f.state,{scroll:au()}),"")}function d(){for(const f of i)f();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function jg(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?au():null}}function CT(e){const{history:t,location:n}=window,o={value:Ex(e,n)},r={value:t.state};r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:yT()+e+l;try{t[u?"replaceState":"pushState"](c,"",f),r.value=c}catch(h){console.error(h),n[u?"replace":"assign"](f)}}function a(l,c){const u=Vt({},t.state,jg(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});i(l,u,!0),o.value=l}function s(l,c){const u=Vt({},r.value,t.state,{forward:l,scroll:au()});i(u.current,u,!0);const d=Vt({},jg(o.value,l,null),{position:u.position+1},c);i(l,d,!1),o.value=l}return{location:o,state:r,push:s,replace:a}}function wT(e){e=fT(e);const t=CT(e),n=xT(e,t.state,t.location,t.replace);function o(i,a=!0){a||n.pauseListeners(),history.go(i)}const r=Vt({location:"",base:e,go:o,createHref:pT.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function _T(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),wT(e)}function ST(e){return typeof e=="string"||e&&typeof e=="object"}function $x(e){return typeof e=="string"||typeof e=="symbol"}const Ax=Symbol("");var Vg;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Vg||(Vg={}));function Sa(e,t){return Vt(new Error,{type:e,[Ax]:!0},t)}function Jo(e,t){return e instanceof Error&&Ax in e&&(t==null||!!(e.type&t))}const Wg="[^/]+?",kT={sensitive:!1,strict:!1,start:!0,end:!0},PT=/[.+*?^${}()[\]/\\]/g;function TT(e,t){const n=Vt({},kT,t),o=[];let r=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let d=0;d<c.length;d++){const f=c[d];let h=40+(n.sensitive?.25:0);if(f.type===0)d||(r+="/"),r+=f.value.replace(PT,"\\$&"),h+=40;else if(f.type===1){const{value:p,repeatable:g,optional:m,regexp:b}=f;i.push({name:p,repeatable:g,optional:m});const _=b||Wg;if(_!==Wg){h+=10;try{new RegExp(`(${_})`)}catch(S){throw new Error(`Invalid custom RegExp for param "${p}" (${_}): `+S.message)}}let C=g?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;d||(C=m&&c.length<2?`(?:/${C})`:"/"+C),m&&(C+="?"),r+=C,h+=20,m&&(h+=-8),g&&(h+=-20),_===".*"&&(h+=-50)}u.push(h)}o.push(u)}if(n.strict&&n.end){const c=o.length-1;o[c][o[c].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const a=new RegExp(r,n.sensitive?"":"i");function s(c){const u=c.match(a),d={};if(!u)return null;for(let f=1;f<u.length;f++){const h=u[f]||"",p=i[f-1];d[p.name]=h&&p.repeatable?h.split("/"):h}return d}function l(c){let u="",d=!1;for(const f of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const h of f)if(h.type===0)u+=h.value;else if(h.type===1){const{value:p,repeatable:g,optional:m}=h,b=p in c?c[p]:"";if(Ro(b)&&!g)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const _=Ro(b)?b.join("/"):b;if(!_)if(m)f.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${p}"`);u+=_}}return u||"/"}return{re:a,score:o,keys:i,parse:s,stringify:l}}function RT(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Ix(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const i=RT(o[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-o.length)===1){if(Ug(o))return 1;if(Ug(r))return-1}return r.length-o.length}function Ug(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ET={type:0,value:""},$T=/[a-zA-Z0-9_]/;function AT(e){if(!e)return[[]];if(e==="/")return[[ET]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,o=n;const r=[];let i;function a(){i&&r.push(i),i=[]}let s=0,l,c="",u="";function d(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;s<e.length;){if(l=e[s++],l==="\\"&&n!==2){o=n,n=4;continue}switch(n){case 0:l==="/"?(c&&d(),a()):l===":"?(d(),n=1):f();break;case 4:f(),n=o;break;case 1:l==="("?n=2:$T.test(l)?f():(d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&s--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&s--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),d(),a(),r}function IT(e,t,n){const o=TT(AT(e.path),n),r=Vt(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function OT(e,t){const n=[],o=new Map;t=Gg({strict:!1,end:!0,sensitive:!1},t);function r(d){return o.get(d)}function i(d,f,h){const p=!h,g=MT(d);g.aliasOf=h&&h.record;const m=Gg(t,d),b=[g];if("alias"in d){const S=typeof d.alias=="string"?[d.alias]:d.alias;for(const w of S)b.push(Vt({},g,{components:h?h.record.components:g.components,path:w,aliasOf:h?h.record:g}))}let _,C;for(const S of b){const{path:w}=S;if(f&&w[0]!=="/"){const x=f.record.path,y=x[x.length-1]==="/"?"":"/";S.path=f.record.path+(w&&y+w)}if(_=IT(S,f,m),h?h.alias.push(_):(C=C||_,C!==_&&C.alias.push(_),p&&d.name&&!Kg(_)&&a(d.name)),Ox(_)&&l(_),g.children){const x=g.children;for(let y=0;y<x.length;y++)i(x[y],_,h&&h.children[y])}h=h||_}return C?()=>{a(C)}:_s}function a(d){if($x(d)){const f=o.get(d);f&&(o.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(a),f.alias.forEach(a))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&o.delete(d.record.name),d.children.forEach(a),d.alias.forEach(a))}}function s(){return n}function l(d){const f=LT(d,n);n.splice(f,0,d),d.record.name&&!Kg(d)&&o.set(d.record.name,d)}function c(d,f){let h,p={},g,m;if("name"in d&&d.name){if(h=o.get(d.name),!h)throw Sa(1,{location:d});m=h.record.name,p=Vt(qg(f.params,h.keys.filter(C=>!C.optional).concat(h.parent?h.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),d.params&&qg(d.params,h.keys.map(C=>C.name))),g=h.stringify(p)}else if(d.path!=null)g=d.path,h=n.find(C=>C.re.test(g)),h&&(p=h.parse(g),m=h.record.name);else{if(h=f.name?o.get(f.name):n.find(C=>C.re.test(f.path)),!h)throw Sa(1,{location:d,currentLocation:f});m=h.record.name,p=Vt({},f.params,d.params),g=h.stringify(p)}const b=[];let _=h;for(;_;)b.unshift(_.record),_=_.parent;return{name:m,path:g,params:p,matched:b,meta:DT(b)}}e.forEach(d=>i(d));function u(){n.length=0,o.clear()}return{addRoute:i,resolve:c,removeRoute:a,clearRoutes:u,getRoutes:s,getRecordMatcher:r}}function qg(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function MT(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:zT(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function zT(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function Kg(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function DT(e){return e.reduce((t,n)=>Vt(t,n.meta),{})}function Gg(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function LT(e,t){let n=0,o=t.length;for(;n!==o;){const i=n+o>>1;Ix(e,t[i])<0?o=i:n=i+1}const r=FT(e);return r&&(o=t.lastIndexOf(r,o-1)),o}function FT(e){let t=e;for(;t=t.parent;)if(Ox(t)&&Ix(e,t)===0)return t}function Ox({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function BT(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<o.length;++r){const i=o[r].replace(Sx," "),a=i.indexOf("="),s=js(a<0?i:i.slice(0,a)),l=a<0?null:js(i.slice(a+1));if(s in t){let c=t[s];Ro(c)||(c=t[s]=[c]),c.push(l)}else t[s]=l}return t}function Yg(e){let t="";for(let n in e){const o=e[n];if(n=oT(n),o==null){o!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ro(o)?o.map(i=>i&&Bf(i)):[o&&Bf(o)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function NT(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Ro(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const HT=Symbol(""),Xg=Symbol(""),su=Symbol(""),bp=Symbol(""),Hf=Symbol("");function rs(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Or(e,t,n,o,r,i=a=>a()){const a=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((s,l)=>{const c=f=>{f===!1?l(Sa(4,{from:n,to:t})):f instanceof Error?l(f):ST(f)?l(Sa(2,{from:t,to:f})):(a&&o.enterCallbacks[r]===a&&typeof f=="function"&&a.push(f),s())},u=i(()=>e.call(o&&o.instances[r],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(f=>l(f))})}function Rd(e,t,n,o,r=i=>i()){const i=[];for(const a of e)for(const s in a.components){let l=a.components[s];if(!(t!=="beforeRouteEnter"&&!a.instances[s]))if(jT(l)){const u=(l.__vccOpts||l)[t];u&&i.push(Or(u,n,o,a,s,r))}else{let c=l();i.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${a.path}"`));const d=qP(u)?u.default:u;a.components[s]=d;const h=(d.__vccOpts||d)[t];return h&&Or(h,n,o,a,s,r)()}))}}return i}function jT(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Zg(e){const t=Ue(su),n=Ue(bp),o=F(()=>{const l=we(e.to);return t.resolve(l)}),r=F(()=>{const{matched:l}=o.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(_a.bind(null,u));if(f>-1)return f;const h=Jg(l[c-2]);return c>1&&Jg(u)===h&&d[d.length-1].path!==h?d.findIndex(_a.bind(null,l[c-2])):f}),i=F(()=>r.value>-1&&qT(n.params,o.value.params)),a=F(()=>r.value>-1&&r.value===n.matched.length-1&&Rx(n.params,o.value.params));function s(l={}){return UT(l)?t[we(e.replace)?"replace":"push"](we(e.to)).catch(_s):Promise.resolve()}return{route:o,href:F(()=>o.value.href),isActive:i,isExactActive:a,navigate:s}}const VT=be({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Zg,setup(e,{slots:t}){const n=eo(Zg(e)),{options:o}=Ue(su),r=F(()=>({[Qg(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Qg(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:v("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),WT=VT;function UT(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function qT(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(!Ro(r)||r.length!==o.length||o.some((i,a)=>i!==r[a]))return!1}return!0}function Jg(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Qg=(e,t,n)=>e??t??n,KT=be({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Ue(Hf),r=F(()=>e.route||o.value),i=Ue(Xg,0),a=F(()=>{let c=we(i);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),s=F(()=>r.value.matched[a.value]);at(Xg,F(()=>a.value+1)),at(HT,s),at(Hf,r);const l=W();return ft(()=>[l.value,s.value,e.name],([c,u,d],[f,h,p])=>{u&&(u.instances[d]=c,h&&h!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!_a(u,h)||!f)&&(u.enterCallbacks[d]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,d=s.value,f=d&&d.components[u];if(!f)return ev(n.default,{Component:f,route:c});const h=d.props[u],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,m=v(f,Vt({},p,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return ev(n.default,{Component:m,route:c})||m}}});function ev(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const GT=KT;function YT(e){const t=OT(e.routes,e),n=e.parseQuery||BT,o=e.stringifyQuery||Yg,r=e.history,i=rs(),a=rs(),s=rs(),l=Oa(_r);let c=_r;sa&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Pd.bind(null,Q=>""+Q),d=Pd.bind(null,iT),f=Pd.bind(null,js);function h(Q,xe){let H,ye;return $x(Q)?(H=t.getRecordMatcher(Q),ye=xe):ye=Q,t.addRoute(ye,H)}function p(Q){const xe=t.getRecordMatcher(Q);xe&&t.removeRoute(xe)}function g(){return t.getRoutes().map(Q=>Q.record)}function m(Q){return!!t.getRecordMatcher(Q)}function b(Q,xe){if(xe=Vt({},xe||l.value),typeof Q=="string"){const O=Td(n,Q,xe.path),oe=t.resolve({path:O.path},xe),_e=r.createHref(O.fullPath);return Vt(O,oe,{params:f(oe.params),hash:js(O.hash),redirectedFrom:void 0,href:_e})}let H;if(Q.path!=null)H=Vt({},Q,{path:Td(n,Q.path,xe.path).path});else{const O=Vt({},Q.params);for(const oe in O)O[oe]==null&&delete O[oe];H=Vt({},Q,{params:d(O)}),xe.params=d(xe.params)}const ye=t.resolve(H,xe),Oe=Q.hash||"";ye.params=u(f(ye.params));const Ne=lT(o,Vt({},Q,{hash:nT(Oe),path:ye.path})),L=r.createHref(Ne);return Vt({fullPath:Ne,hash:Oe,query:o===Yg?NT(Q.query):Q.query||{}},ye,{redirectedFrom:void 0,href:L})}function _(Q){return typeof Q=="string"?Td(n,Q,l.value.path):Vt({},Q)}function C(Q,xe){if(c!==Q)return Sa(8,{from:xe,to:Q})}function S(Q){return y(Q)}function w(Q){return S(Vt(_(Q),{replace:!0}))}function x(Q){const xe=Q.matched[Q.matched.length-1];if(xe&&xe.redirect){const{redirect:H}=xe;let ye=typeof H=="function"?H(Q):H;return typeof ye=="string"&&(ye=ye.includes("?")||ye.includes("#")?ye=_(ye):{path:ye},ye.params={}),Vt({query:Q.query,hash:Q.hash,params:ye.path!=null?{}:Q.params},ye)}}function y(Q,xe){const H=c=b(Q),ye=l.value,Oe=Q.state,Ne=Q.force,L=Q.replace===!0,O=x(H);if(O)return y(Vt(_(O),{state:typeof O=="object"?Vt({},Oe,O.state):Oe,force:Ne,replace:L}),xe||H);const oe=H;oe.redirectedFrom=xe;let _e;return!Ne&&cT(o,ye,H)&&(_e=Sa(16,{to:oe,from:ye}),B(ye,ye,!0,!1)),(_e?Promise.resolve(_e):T(oe,ye)).catch(te=>Jo(te)?Jo(te,2)?te:pe(te):J(te,oe,ye)).then(te=>{if(te){if(Jo(te,2))return y(Vt({replace:L},_(te.to),{state:typeof te.to=="object"?Vt({},Oe,te.to.state):Oe,force:Ne}),xe||oe)}else te=R(oe,ye,!0,L,Oe);return E(oe,ye,te),te})}function P(Q,xe){const H=C(Q,xe);return H?Promise.reject(H):Promise.resolve()}function k(Q){const xe=Y.values().next().value;return xe&&typeof xe.runWithContext=="function"?xe.runWithContext(Q):Q()}function T(Q,xe){let H;const[ye,Oe,Ne]=XT(Q,xe);H=Rd(ye.reverse(),"beforeRouteLeave",Q,xe);for(const O of ye)O.leaveGuards.forEach(oe=>{H.push(Or(oe,Q,xe))});const L=P.bind(null,Q,xe);return H.push(L),fe(H).then(()=>{H=[];for(const O of i.list())H.push(Or(O,Q,xe));return H.push(L),fe(H)}).then(()=>{H=Rd(Oe,"beforeRouteUpdate",Q,xe);for(const O of Oe)O.updateGuards.forEach(oe=>{H.push(Or(oe,Q,xe))});return H.push(L),fe(H)}).then(()=>{H=[];for(const O of Ne)if(O.beforeEnter)if(Ro(O.beforeEnter))for(const oe of O.beforeEnter)H.push(Or(oe,Q,xe));else H.push(Or(O.beforeEnter,Q,xe));return H.push(L),fe(H)}).then(()=>(Q.matched.forEach(O=>O.enterCallbacks={}),H=Rd(Ne,"beforeRouteEnter",Q,xe,k),H.push(L),fe(H))).then(()=>{H=[];for(const O of a.list())H.push(Or(O,Q,xe));return H.push(L),fe(H)}).catch(O=>Jo(O,8)?O:Promise.reject(O))}function E(Q,xe,H){s.list().forEach(ye=>k(()=>ye(Q,xe,H)))}function R(Q,xe,H,ye,Oe){const Ne=C(Q,xe);if(Ne)return Ne;const L=xe===_r,O=sa?history.state:{};H&&(ye||L?r.replace(Q.fullPath,Vt({scroll:L&&O&&O.scroll},Oe)):r.push(Q.fullPath,Oe)),l.value=Q,B(Q,xe,H,L),pe()}let K;function N(){K||(K=r.listen((Q,xe,H)=>{if(!ne.listening)return;const ye=b(Q),Oe=x(ye);if(Oe){y(Vt(Oe,{replace:!0}),ye).catch(_s);return}c=ye;const Ne=l.value;sa&&vT(Hg(Ne.fullPath,H.delta),au()),T(ye,Ne).catch(L=>Jo(L,12)?L:Jo(L,2)?(y(L.to,ye).then(O=>{Jo(O,20)&&!H.delta&&H.type===Vs.pop&&r.go(-1,!1)}).catch(_s),Promise.reject()):(H.delta&&r.go(-H.delta,!1),J(L,ye,Ne))).then(L=>{L=L||R(ye,Ne,!1),L&&(H.delta&&!Jo(L,8)?r.go(-H.delta,!1):H.type===Vs.pop&&Jo(L,20)&&r.go(-1,!1)),E(ye,Ne,L)}).catch(_s)}))}let D=rs(),M=rs(),G;function J(Q,xe,H){pe(Q);const ye=M.list();return ye.length?ye.forEach(Oe=>Oe(Q,xe,H)):console.error(Q),Promise.reject(Q)}function he(){return G&&l.value!==_r?Promise.resolve():new Promise((Q,xe)=>{D.add([Q,xe])})}function pe(Q){return G||(G=!Q,N(),D.list().forEach(([xe,H])=>Q?H(Q):xe()),D.reset()),Q}function B(Q,xe,H,ye){const{scrollBehavior:Oe}=e;if(!sa||!Oe)return Promise.resolve();const Ne=!H&&bT(Hg(Q.fullPath,0))||(ye||!H)&&history.state&&history.state.scroll||null;return Ht().then(()=>Oe(Q,xe,Ne)).then(L=>L&&gT(L)).catch(L=>J(L,Q,xe))}const $=Q=>r.go(Q);let A;const Y=new Set,ne={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:m,getRoutes:g,resolve:b,options:e,push:S,replace:w,go:$,back:()=>$(-1),forward:()=>$(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:M.add,isReady:he,install(Q){const xe=this;Q.component("RouterLink",WT),Q.component("RouterView",GT),Q.config.globalProperties.$router=xe,Object.defineProperty(Q.config.globalProperties,"$route",{enumerable:!0,get:()=>we(l)}),sa&&!A&&l.value===_r&&(A=!0,S(r.location).catch(Oe=>{}));const H={};for(const Oe in _r)Object.defineProperty(H,Oe,{get:()=>l.value[Oe],enumerable:!0});Q.provide(su,xe),Q.provide(bp,Ry(H)),Q.provide(Hf,l);const ye=Q.unmount;Y.add(Q),Q.unmount=function(){Y.delete(Q),Y.size<1&&(c=_r,K&&K(),K=null,l.value=_r,A=!1,G=!1),ye()}}};function fe(Q){return Q.reduce((xe,H)=>xe.then(()=>k(H)),Promise.resolve())}return ne}function XT(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;a<i;a++){const s=t.matched[a];s&&(e.matched.find(c=>_a(c,s))?o.push(s):n.push(s));const l=e.matched[a];l&&(t.matched.find(c=>_a(c,l))||r.push(l))}return[n,o,r]}function Mx(){return Ue(su)}function Da(e){return Ue(bp)}const ZT="modulepreload",JT=function(e){return"/"+e},tv={},wt=function(t,n,o){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=JT(i),i in tv)return;tv[i]=!0;const a=i.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(!!o)for(let u=r.length-1;u>=0;u--){const d=r[u];if(d.href===i&&(!a||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${s}`))return;const c=document.createElement("link");if(c.rel=a?"stylesheet":ZT,a||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),a)return new Promise((u,d)=>{c.addEventListener("load",u),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})},QT=()=>wt(()=>Promise.resolve().then(()=>br),void 0),e5={name:"dashboard",path:"/",component:QT,redirect:"dashboard",meta:{isHidden:!1},children:[{name:"dashboard",path:"/dashboard",component:()=>wt(()=>Promise.resolve().then(()=>YDe),void 0),meta:{title:"仪表盘",icon:"mdi:home",order:0}}]},t5=Object.freeze(Object.defineProperty({__proto__:null,default:e5},Symbol.toStringTag,{value:"Module"})),n5=()=>wt(()=>Promise.resolve().then(()=>br),void 0),o5={name:"Invite",path:"/",component:n5,redirect:"/invite",meta:{isHidden:!1},children:[{name:"Invite",path:"invite",component:()=>wt(()=>Promise.resolve().then(()=>ALe),void 0),meta:{title:"我的邀请",icon:"mdi:invite",order:1,group:{key:"finance",label:"财务"}}}]},r5=Object.freeze(Object.defineProperty({__proto__:null,default:o5},Symbol.toStringTag,{value:"Module"})),i5=()=>wt(()=>Promise.resolve().then(()=>br),void 0),a5={name:"knowledge",path:"/",component:i5,redirect:"/knowledge",meta:{isHidden:!1},children:[{name:"Knowledge",path:"knowledge",component:()=>wt(()=>Promise.resolve().then(()=>LLe),void 0),meta:{title:"使用文档",icon:"mdi-book-open-variant",order:10}}]},s5=Object.freeze(Object.defineProperty({__proto__:null,default:a5},Symbol.toStringTag,{value:"Module"})),l5=()=>wt(()=>Promise.resolve().then(()=>br),void 0),c5={name:"Node",path:"/",component:l5,redirect:"/node",meta:{isHidden:!1},children:[{name:"Node",path:"node",component:()=>wt(()=>Promise.resolve().then(()=>rFe),void 0),meta:{title:"节点状态",icon:"mdi-check-circle-outline",order:11,group:{key:"subscribe",label:"订阅"}}}]},u5=Object.freeze(Object.defineProperty({__proto__:null,default:c5},Symbol.toStringTag,{value:"Module"})),d5=()=>wt(()=>Promise.resolve().then(()=>br),void 0),f5={name:"Order",path:"/",component:d5,redirect:"/order",meta:{isHidden:!1},children:[{name:"Order",path:"order",component:()=>wt(()=>Promise.resolve().then(()=>aFe),void 0),meta:{title:"我的订单",icon:"mdi-format-list-bulleted",order:0,group:{key:"finance",label:"财务"}}},{name:"OrderDetail",path:"order/:trade_no",component:()=>wt(()=>Promise.resolve().then(()=>L9e),void 0),meta:{title:"订单详情",icon:"mdi:doc",order:1,isHidden:!0}}]},h5=Object.freeze(Object.defineProperty({__proto__:null,default:f5},Symbol.toStringTag,{value:"Module"})),p5=()=>wt(()=>Promise.resolve().then(()=>br),void 0),m5={name:"plan",path:"/",component:p5,redirect:"/plan",meta:{isHidden:!1},children:[{name:"Plan",path:"plan",component:()=>wt(()=>Promise.resolve().then(()=>a7e),void 0),meta:{title:"购买订阅",icon:"mdi-shopping-outline",order:10,group:{key:"subscribe",label:"订阅"}}},{name:"PlanDetail",path:"plan/:plan_id",component:()=>wt(()=>Promise.resolve().then(()=>z7e),void 0),meta:{title:"配置订阅",icon:"mdi:doc",order:1,isHidden:!0}}]},g5=Object.freeze(Object.defineProperty({__proto__:null,default:m5},Symbol.toStringTag,{value:"Module"})),v5=()=>wt(()=>Promise.resolve().then(()=>br),void 0),b5={name:"profile",path:"/",component:v5,redirect:"/profile",meta:{isHidden:!1},children:[{name:"Profile",path:"profile",component:()=>wt(()=>Promise.resolve().then(()=>iBe),void 0),meta:{title:"个人中心",icon:"mdi-account-outline",order:0,group:{key:"user",label:"用户"}}}]},y5=Object.freeze(Object.defineProperty({__proto__:null,default:b5},Symbol.toStringTag,{value:"Module"})),x5=()=>wt(()=>Promise.resolve().then(()=>br),void 0),C5={name:"ticket",path:"/",component:x5,redirect:"/ticket",meta:{isHidden:!1},children:[{name:"Ticket",path:"ticket",component:()=>wt(()=>Promise.resolve().then(()=>lBe),void 0),meta:{title:"我的工单",icon:"mdi-comment-alert-outline",order:0,group:{key:"user",label:"用户"}}},{name:"TicketDetail",path:"ticket/:ticket_id",component:()=>wt(()=>Promise.resolve().then(()=>hBe),void 0),meta:{title:"工单详情",order:0,isHidden:!0}}]},w5=Object.freeze(Object.defineProperty({__proto__:null,default:C5},Symbol.toStringTag,{value:"Module"})),_5=()=>wt(()=>Promise.resolve().then(()=>br),void 0),S5={name:"traffic",path:"/",component:_5,redirect:"/traffic",meta:{isHidden:!1},children:[{name:"Traffic",path:"traffic",component:()=>wt(()=>Promise.resolve().then(()=>mBe),void 0),meta:{title:"流量明细",icon:"mdi-poll",order:0,group:{key:"user",label:"用户"}}}]},k5=Object.freeze(Object.defineProperty({__proto__:null,default:S5},Symbol.toStringTag,{value:"Module"})),zx=[{name:"404",path:"/404",component:()=>wt(()=>Promise.resolve().then(()=>xBe),void 0),meta:{title:"404",isHidden:!0}},{name:"LOGIN",path:"/login",component:()=>wt(()=>Promise.resolve().then(()=>Pf),void 0),meta:{title:"登录页",isHidden:!0}},{name:"Register",path:"/register",component:()=>wt(()=>Promise.resolve().then(()=>Pf),void 0),meta:{title:"注册",isHidden:!0}},{name:"forgetpassword",path:"/forgetpassword",component:()=>wt(()=>Promise.resolve().then(()=>Pf),void 0),meta:{title:"重置密码",isHidden:!0}}],P5={name:"NotFound",path:"/:pathMatch(.*)*",redirect:"/404",meta:{title:"Not Found"}},nv=Object.assign({"/src/views/dashboard/route.ts":t5,"/src/views/invite/route.ts":r5,"/src/views/knowledge/route.ts":s5,"/src/views/node/route.ts":u5,"/src/views/order/route.ts":h5,"/src/views/plan/route.ts":g5,"/src/views/profile/route.ts":y5,"/src/views/ticket/route.ts":w5,"/src/views/traffic/route.ts":k5}),Dx=[];Object.keys(nv).forEach(e=>{Dx.push(nv[e].default)});function T5(e){e.beforeEach(()=>{var t;(t=window.$loadingBar)==null||t.start()}),e.afterEach(()=>{setTimeout(()=>{var t;(t=window.$loadingBar)==null||t.finish()},200)}),e.onError(()=>{var t;(t=window.$loadingBar)==null||t.error()})}var iy;const ov=((iy=window.settings)==null?void 0:iy.title)||"Xboard";function R5(e){e.afterEach(t=>{var o;const n=(o=t.meta)==null?void 0:o.title;n?document.title=`${n} | ${ov}`:document.title=ov})}var E5=!1;/*!
* pinia v2.2.2
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/let Lx;const lu=e=>Lx=e,Fx=Symbol();function jf(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ks;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ks||(ks={}));function $5(){const e=Xh(!0),t=e.run(()=>W({}));let n=[],o=[];const r=zs({install(i){lu(r),r._a=i,i.provide(Fx,r),i.config.globalProperties.$pinia=r,o.forEach(a=>n.push(a)),o=[]},use(i){return!this._a&&!E5?o.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Bx=()=>{};function rv(e,t,n,o=Bx){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),o())};return!n&&Zh()&&gy(r),r}function ea(e,...t){e.slice().forEach(n=>{n(...t)})}const A5=e=>e(),iv=Symbol(),Ed=Symbol();function Vf(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,o)=>e.set(o,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];jf(r)&&jf(o)&&e.hasOwnProperty(n)&&!cn(o)&&!wi(o)?e[n]=Vf(r,o):e[n]=o}return e}const I5=Symbol();function O5(e){return!jf(e)||!e.hasOwnProperty(I5)}const{assign:Er}=Object;function M5(e){return!!(cn(e)&&e.effect)}function z5(e,t,n,o){const{state:r,actions:i,getters:a}=t,s=n.state.value[e];let l;function c(){s||(n.state.value[e]=r?r():{});const u=Q3(n.state.value[e]);return Er(u,i,Object.keys(a||{}).reduce((d,f)=>(d[f]=zs(F(()=>{lu(n);const h=n._s.get(e);return a[f].call(h,h)})),d),{}))}return l=Nx(e,c,t,n,o,!0),l}function Nx(e,t,n={},o,r,i){let a;const s=Er({actions:{}},n),l={deep:!0};let c,u,d=[],f=[],h;const p=o.state.value[e];!i&&!p&&(o.state.value[e]={}),W({});let g;function m(P){let k;c=u=!1,typeof P=="function"?(P(o.state.value[e]),k={type:ks.patchFunction,storeId:e,events:h}):(Vf(o.state.value[e],P),k={type:ks.patchObject,payload:P,storeId:e,events:h});const T=g=Symbol();Ht().then(()=>{g===T&&(c=!0)}),u=!0,ea(d,k,o.state.value[e])}const b=i?function(){const{state:k}=n,T=k?k():{};this.$patch(E=>{Er(E,T)})}:Bx;function _(){a.stop(),d=[],f=[],o._s.delete(e)}const C=(P,k="")=>{if(iv in P)return P[Ed]=k,P;const T=function(){lu(o);const E=Array.from(arguments),R=[],K=[];function N(G){R.push(G)}function D(G){K.push(G)}ea(f,{args:E,name:T[Ed],store:w,after:N,onError:D});let M;try{M=P.apply(this&&this.$id===e?this:w,E)}catch(G){throw ea(K,G),G}return M instanceof Promise?M.then(G=>(ea(R,G),G)).catch(G=>(ea(K,G),Promise.reject(G))):(ea(R,M),M)};return T[iv]=!0,T[Ed]=k,T},S={_p:o,$id:e,$onAction:rv.bind(null,f),$patch:m,$reset:b,$subscribe(P,k={}){const T=rv(d,P,k.detached,()=>E()),E=a.run(()=>ft(()=>o.state.value[e],R=>{(k.flush==="sync"?u:c)&&P({storeId:e,type:ks.direct,events:h},R)},Er({},l,k)));return T},$dispose:_},w=eo(S);o._s.set(e,w);const y=(o._a&&o._a.runWithContext||A5)(()=>o._e.run(()=>(a=Xh()).run(()=>t({action:C}))));for(const P in y){const k=y[P];if(cn(k)&&!M5(k)||wi(k))i||(p&&O5(k)&&(cn(k)?k.value=p[P]:Vf(k,p[P])),o.state.value[e][P]=k);else if(typeof k=="function"){const T=C(k,P);y[P]=T,s.actions[P]=k}}return Er(w,y),Er(It(w),y),Object.defineProperty(w,"$state",{get:()=>o.state.value[e],set:P=>{m(k=>{Er(k,P)})}}),o._p.forEach(P=>{Er(w,a.run(()=>P({store:w,app:o._a,pinia:o,options:s})))}),p&&i&&n.hydrate&&n.hydrate(w.$state,p),c=!0,u=!0,w}function cu(e,t,n){let o,r;const i=typeof t=="function";typeof e=="string"?(o=e,r=i?n:t):(r=e,o=e.id);function a(s,l){const c=S4();return s=s||(c?Ue(Fx,null):null),s&&lu(s),s=Lx,s._s.has(o)||(i?Nx(o,t,r,s):z5(o,r,s)),s._s.get(o)}return a.$id=o,a}function Hx(e,t){return function(){return e.apply(t,arguments)}}const{toString:D5}=Object.prototype,{getPrototypeOf:yp}=Object,uu=(e=>t=>{const n=D5.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),$o=e=>(e=e.toLowerCase(),t=>uu(t)===e),du=e=>t=>typeof t===e,{isArray:La}=Array,Ws=du("undefined");function L5(e){return e!==null&&!Ws(e)&&e.constructor!==null&&!Ws(e.constructor)&&Zn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const jx=$o("ArrayBuffer");function F5(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&jx(e.buffer),t}const B5=du("string"),Zn=du("function"),Vx=du("number"),fu=e=>e!==null&&typeof e=="object",N5=e=>e===!0||e===!1,oc=e=>{if(uu(e)!=="object")return!1;const t=yp(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},H5=$o("Date"),j5=$o("File"),V5=$o("Blob"),W5=$o("FileList"),U5=e=>fu(e)&&Zn(e.pipe),q5=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Zn(e.append)&&((t=uu(e))==="formdata"||t==="object"&&Zn(e.toString)&&e.toString()==="[object FormData]"))},K5=$o("URLSearchParams"),[G5,Y5,X5,Z5]=["ReadableStream","Request","Response","Headers"].map($o),J5=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function rl(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,r;if(typeof e!="object"&&(e=[e]),La(e))for(o=0,r=e.length;o<r;o++)t.call(null,e[o],o,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let s;for(o=0;o<a;o++)s=i[o],t.call(null,e[s],s,e)}}function Wx(e,t){t=t.toLowerCase();const n=Object.keys(e);let o=n.length,r;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const mi=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Ux=e=>!Ws(e)&&e!==mi;function Wf(){const{caseless:e}=Ux(this)&&this||{},t={},n=(o,r)=>{const i=e&&Wx(t,r)||r;oc(t[i])&&oc(o)?t[i]=Wf(t[i],o):oc(o)?t[i]=Wf({},o):La(o)?t[i]=o.slice():t[i]=o};for(let o=0,r=arguments.length;o<r;o++)arguments[o]&&rl(arguments[o],n);return t}const Q5=(e,t,n,{allOwnKeys:o}={})=>(rl(t,(r,i)=>{n&&Zn(r)?e[i]=Hx(r,n):e[i]=r},{allOwnKeys:o}),e),eR=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),tR=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},nR=(e,t,n,o)=>{let r,i,a;const s={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)a=r[i],(!o||o(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&yp(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},oR=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n},rR=e=>{if(!e)return null;if(La(e))return e;let t=e.length;if(!Vx(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},iR=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&yp(Uint8Array)),aR=(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=o.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},sR=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},lR=$o("HTMLFormElement"),cR=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,r){return o.toUpperCase()+r}),av=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),uR=$o("RegExp"),qx=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};rl(n,(r,i)=>{let a;(a=t(r,i,e))!==!1&&(o[i]=a||r)}),Object.defineProperties(e,o)},dR=e=>{qx(e,(t,n)=>{if(Zn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(Zn(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},fR=(e,t)=>{const n={},o=r=>{r.forEach(i=>{n[i]=!0})};return La(e)?o(e):o(String(e).split(t)),n},hR=()=>{},pR=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,$d="abcdefghijklmnopqrstuvwxyz",sv="0123456789",Kx={DIGIT:sv,ALPHA:$d,ALPHA_DIGIT:$d+$d.toUpperCase()+sv},mR=(e=16,t=Kx.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n};function gR(e){return!!(e&&Zn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const vR=e=>{const t=new Array(10),n=(o,r)=>{if(fu(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[r]=o;const i=La(o)?[]:{};return rl(o,(a,s)=>{const l=n(a,r+1);!Ws(l)&&(i[s]=l)}),t[r]=void 0,i}}return o};return n(e,0)},bR=$o("AsyncFunction"),yR=e=>e&&(fu(e)||Zn(e))&&Zn(e.then)&&Zn(e.catch),Gx=((e,t)=>e?setImmediate:t?((n,o)=>(mi.addEventListener("message",({source:r,data:i})=>{r===mi&&i===n&&o.length&&o.shift()()},!1),r=>{o.push(r),mi.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Zn(mi.postMessage)),xR=typeof queueMicrotask<"u"?queueMicrotask.bind(mi):typeof process<"u"&&process.nextTick||Gx,Te={isArray:La,isArrayBuffer:jx,isBuffer:L5,isFormData:q5,isArrayBufferView:F5,isString:B5,isNumber:Vx,isBoolean:N5,isObject:fu,isPlainObject:oc,isReadableStream:G5,isRequest:Y5,isResponse:X5,isHeaders:Z5,isUndefined:Ws,isDate:H5,isFile:j5,isBlob:V5,isRegExp:uR,isFunction:Zn,isStream:U5,isURLSearchParams:K5,isTypedArray:iR,isFileList:W5,forEach:rl,merge:Wf,extend:Q5,trim:J5,stripBOM:eR,inherits:tR,toFlatObject:nR,kindOf:uu,kindOfTest:$o,endsWith:oR,toArray:rR,forEachEntry:aR,matchAll:sR,isHTMLForm:lR,hasOwnProperty:av,hasOwnProp:av,reduceDescriptors:qx,freezeMethods:dR,toObjectSet:fR,toCamelCase:cR,noop:hR,toFiniteNumber:pR,findKey:Wx,global:mi,isContextDefined:Ux,ALPHABET:Kx,generateString:mR,isSpecCompliantForm:gR,toJSONObject:vR,isAsyncFn:bR,isThenable:yR,setImmediate:Gx,asap:xR};function yt(e,t,n,o,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),o&&(this.request=o),r&&(this.response=r,this.status=r.status?r.status:null)}Te.inherits(yt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Te.toJSONObject(this.config),code:this.code,status:this.status}}});const Yx=yt.prototype,Xx={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Xx[e]={value:e}});Object.defineProperties(yt,Xx);Object.defineProperty(Yx,"isAxiosError",{value:!0});yt.from=(e,t,n,o,r,i)=>{const a=Object.create(Yx);return Te.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),yt.call(a,e.message,t,n,o,r),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const CR=null;function Uf(e){return Te.isPlainObject(e)||Te.isArray(e)}function Zx(e){return Te.endsWith(e,"[]")?e.slice(0,-2):e}function lv(e,t,n){return e?e.concat(t).map(function(r,i){return r=Zx(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function wR(e){return Te.isArray(e)&&!e.some(Uf)}const _R=Te.toFlatObject(Te,{},null,function(t){return/^is[A-Z]/.test(t)});function hu(e,t,n){if(!Te.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Te.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,m){return!Te.isUndefined(m[g])});const o=n.metaTokens,r=n.visitor||u,i=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Te.isSpecCompliantForm(t);if(!Te.isFunction(r))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(Te.isDate(p))return p.toISOString();if(!l&&Te.isBlob(p))throw new yt("Blob is not supported. Use a Buffer instead.");return Te.isArrayBuffer(p)||Te.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,g,m){let b=p;if(p&&!m&&typeof p=="object"){if(Te.endsWith(g,"{}"))g=o?g:g.slice(0,-2),p=JSON.stringify(p);else if(Te.isArray(p)&&wR(p)||(Te.isFileList(p)||Te.endsWith(g,"[]"))&&(b=Te.toArray(p)))return g=Zx(g),b.forEach(function(C,S){!(Te.isUndefined(C)||C===null)&&t.append(a===!0?lv([g],S,i):a===null?g:g+"[]",c(C))}),!1}return Uf(p)?!0:(t.append(lv(m,g,i),c(p)),!1)}const d=[],f=Object.assign(_R,{defaultVisitor:u,convertValue:c,isVisitable:Uf});function h(p,g){if(!Te.isUndefined(p)){if(d.indexOf(p)!==-1)throw Error("Circular reference detected in "+g.join("."));d.push(p),Te.forEach(p,function(b,_){(!(Te.isUndefined(b)||b===null)&&r.call(t,b,Te.isString(_)?_.trim():_,g,f))===!0&&h(b,g?g.concat(_):[_])}),d.pop()}}if(!Te.isObject(e))throw new TypeError("data must be an object");return h(e),t}function cv(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function xp(e,t){this._pairs=[],e&&hu(e,this,t)}const Jx=xp.prototype;Jx.append=function(t,n){this._pairs.push([t,n])};Jx.toString=function(t){const n=t?function(o){return t.call(this,o,cv)}:cv;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function SR(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Qx(e,t,n){if(!t)return e;const o=n&&n.encode||SR,r=n&&n.serialize;let i;if(r?i=r(t,n):i=Te.isURLSearchParams(t)?t.toString():new xp(t,n).toString(o),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class kR{constructor(){this.handlers=[]}use(t,n,o){return this.handlers.push({fulfilled:t,rejected:n,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Te.forEach(this.handlers,function(o){o!==null&&t(o)})}}const uv=kR,eC={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},PR=typeof URLSearchParams<"u"?URLSearchParams:xp,TR=typeof FormData<"u"?FormData:null,RR=typeof Blob<"u"?Blob:null,ER={isBrowser:!0,classes:{URLSearchParams:PR,FormData:TR,Blob:RR},protocols:["http","https","file","blob","url","data"]},Cp=typeof window<"u"&&typeof document<"u",qf=typeof navigator=="object"&&navigator||void 0,$R=Cp&&(!qf||["ReactNative","NativeScript","NS"].indexOf(qf.product)<0),AR=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),IR=Cp&&window.location.href||"http://localhost",OR=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Cp,hasStandardBrowserEnv:$R,hasStandardBrowserWebWorkerEnv:AR,navigator:qf,origin:IR},Symbol.toStringTag,{value:"Module"})),Jn={...OR,...ER};function MR(e,t){return hu(e,new Jn.classes.URLSearchParams,Object.assign({visitor:function(n,o,r,i){return Jn.isNode&&Te.isBuffer(n)?(this.append(o,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function zR(e){return Te.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function DR(e){const t={},n=Object.keys(e);let o;const r=n.length;let i;for(o=0;o<r;o++)i=n[o],t[i]=e[i];return t}function tC(e){function t(n,o,r,i){let a=n[i++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),l=i>=n.length;return a=!a&&Te.isArray(r)?r.length:a,l?(Te.hasOwnProp(r,a)?r[a]=[r[a],o]:r[a]=o,!s):((!r[a]||!Te.isObject(r[a]))&&(r[a]=[]),t(n,o,r[a],i)&&Te.isArray(r[a])&&(r[a]=DR(r[a])),!s)}if(Te.isFormData(e)&&Te.isFunction(e.entries)){const n={};return Te.forEachEntry(e,(o,r)=>{t(zR(o),r,n,0)}),n}return null}function LR(e,t,n){if(Te.isString(e))try{return(t||JSON.parse)(e),Te.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const wp={transitional:eC,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const o=n.getContentType()||"",r=o.indexOf("application/json")>-1,i=Te.isObject(t);if(i&&Te.isHTMLForm(t)&&(t=new FormData(t)),Te.isFormData(t))return r?JSON.stringify(tC(t)):t;if(Te.isArrayBuffer(t)||Te.isBuffer(t)||Te.isStream(t)||Te.isFile(t)||Te.isBlob(t)||Te.isReadableStream(t))return t;if(Te.isArrayBufferView(t))return t.buffer;if(Te.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(o.indexOf("application/x-www-form-urlencoded")>-1)return MR(t,this.formSerializer).toString();if((s=Te.isFileList(t))||o.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return hu(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),LR(t)):t}],transformResponse:[function(t){const n=this.transitional||wp.transitional,o=n&&n.forcedJSONParsing,r=this.responseType==="json";if(Te.isResponse(t)||Te.isReadableStream(t))return t;if(t&&Te.isString(t)&&(o&&!this.responseType||r)){const a=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?yt.from(s,yt.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Jn.classes.FormData,Blob:Jn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Te.forEach(["delete","get","head","post","put","patch"],e=>{wp.headers[e]={}});const _p=wp,FR=Te.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),BR=e=>{const t={};let n,o,r;return e&&e.split(`
`).forEach(function(a){r=a.indexOf(":"),n=a.substring(0,r).trim().toLowerCase(),o=a.substring(r+1).trim(),!(!n||t[n]&&FR[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},dv=Symbol("internals");function is(e){return e&&String(e).trim().toLowerCase()}function rc(e){return e===!1||e==null?e:Te.isArray(e)?e.map(rc):String(e)}function NR(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}const HR=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ad(e,t,n,o,r){if(Te.isFunction(o))return o.call(this,t,n);if(r&&(t=n),!!Te.isString(t)){if(Te.isString(o))return t.indexOf(o)!==-1;if(Te.isRegExp(o))return o.test(t)}}function jR(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function VR(e,t){const n=Te.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(r,i,a){return this[o].call(this,t,r,i,a)},configurable:!0})})}class pu{constructor(t){t&&this.set(t)}set(t,n,o){const r=this;function i(s,l,c){const u=is(l);if(!u)throw new Error("header name must be a non-empty string");const d=Te.findKey(r,u);(!d||r[d]===void 0||c===!0||c===void 0&&r[d]!==!1)&&(r[d||l]=rc(s))}const a=(s,l)=>Te.forEach(s,(c,u)=>i(c,u,l));if(Te.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(Te.isString(t)&&(t=t.trim())&&!HR(t))a(BR(t),n);else if(Te.isHeaders(t))for(const[s,l]of t.entries())i(l,s,o);else t!=null&&i(n,t,o);return this}get(t,n){if(t=is(t),t){const o=Te.findKey(this,t);if(o){const r=this[o];if(!n)return r;if(n===!0)return NR(r);if(Te.isFunction(n))return n.call(this,r,o);if(Te.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=is(t),t){const o=Te.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||Ad(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let r=!1;function i(a){if(a=is(a),a){const s=Te.findKey(o,a);s&&(!n||Ad(o,o[s],s,n))&&(delete o[s],r=!0)}}return Te.isArray(t)?t.forEach(i):i(t),r}clear(t){const n=Object.keys(this);let o=n.length,r=!1;for(;o--;){const i=n[o];(!t||Ad(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,o={};return Te.forEach(this,(r,i)=>{const a=Te.findKey(o,i);if(a){n[a]=rc(r),delete n[i];return}const s=t?jR(i):String(i).trim();s!==i&&delete n[i],n[s]=rc(r),o[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Te.forEach(this,(o,r)=>{o!=null&&o!==!1&&(n[r]=t&&Te.isArray(o)?o.join(", "):o)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(r=>o.set(r)),o}static accessor(t){const o=(this[dv]=this[dv]={accessors:{}}).accessors,r=this.prototype;function i(a){const s=is(a);o[s]||(VR(r,a),o[s]=!0)}return Te.isArray(t)?t.forEach(i):i(t),this}}pu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Te.reduceDescriptors(pu.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});Te.freezeMethods(pu);const Po=pu;function Id(e,t){const n=this||_p,o=t||n,r=Po.from(o.headers);let i=o.data;return Te.forEach(e,function(s){i=s.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function nC(e){return!!(e&&e.__CANCEL__)}function Fa(e,t,n){yt.call(this,e??"canceled",yt.ERR_CANCELED,t,n),this.name="CanceledError"}Te.inherits(Fa,yt,{__CANCEL__:!0});function oC(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new yt("Request failed with status code "+n.status,[yt.ERR_BAD_REQUEST,yt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function WR(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function UR(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r=0,i=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=o[i];a||(a=c),n[r]=l,o[r]=c;let d=i,f=0;for(;d!==r;)f+=n[d++],d=d%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),c-a<t)return;const h=u&&c-u;return h?Math.round(f*1e3/h):void 0}}function qR(e,t){let n=0,o=1e3/t,r,i;const a=(c,u=Date.now())=>{n=u,r=null,i&&(clearTimeout(i),i=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=o?a(c,u):(r=c,i||(i=setTimeout(()=>{i=null,a(r)},o-d)))},()=>r&&a(r)]}const yc=(e,t,n=3)=>{let o=0;const r=UR(50,250);return qR(i=>{const a=i.loaded,s=i.lengthComputable?i.total:void 0,l=a-o,c=r(l),u=a<=s;o=a;const d={loaded:a,total:s,progress:s?a/s:void 0,bytes:l,rate:c||void 0,estimated:c&&s&&u?(s-a)/c:void 0,event:i,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(d)},n)},fv=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},hv=e=>(...t)=>Te.asap(()=>e(...t)),KR=Jn.hasStandardBrowserEnv?function(){const t=Jn.navigator&&/(msie|trident)/i.test(Jn.navigator.userAgent),n=document.createElement("a");let o;function r(i){let a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return o=r(window.location.href),function(a){const s=Te.isString(a)?r(a):a;return s.protocol===o.protocol&&s.host===o.host}}():function(){return function(){return!0}}(),GR=Jn.hasStandardBrowserEnv?{write(e,t,n,o,r,i){const a=[e+"="+encodeURIComponent(t)];Te.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Te.isString(o)&&a.push("path="+o),Te.isString(r)&&a.push("domain="+r),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function YR(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function XR(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function rC(e,t){return e&&!YR(t)?XR(e,t):t}const pv=e=>e instanceof Po?{...e}:e;function Ei(e,t){t=t||{};const n={};function o(c,u,d){return Te.isPlainObject(c)&&Te.isPlainObject(u)?Te.merge.call({caseless:d},c,u):Te.isPlainObject(u)?Te.merge({},u):Te.isArray(u)?u.slice():u}function r(c,u,d){if(Te.isUndefined(u)){if(!Te.isUndefined(c))return o(void 0,c,d)}else return o(c,u,d)}function i(c,u){if(!Te.isUndefined(u))return o(void 0,u)}function a(c,u){if(Te.isUndefined(u)){if(!Te.isUndefined(c))return o(void 0,c)}else return o(void 0,u)}function s(c,u,d){if(d in t)return o(c,u);if(d in e)return o(void 0,c)}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u)=>r(pv(c),pv(u),!0)};return Te.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||r,f=d(e[u],t[u],u);Te.isUndefined(f)&&d!==s||(n[u]=f)}),n}const iC=e=>{const t=Ei({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:r,xsrfCookieName:i,headers:a,auth:s}=t;t.headers=a=Po.from(a),t.url=Qx(rC(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let l;if(Te.isFormData(n)){if(Jn.hasStandardBrowserEnv||Jn.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((l=a.getContentType())!==!1){const[c,...u]=l?l.split(";").map(d=>d.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(Jn.hasStandardBrowserEnv&&(o&&Te.isFunction(o)&&(o=o(t)),o||o!==!1&&KR(t.url))){const c=r&&i&&GR.read(i);c&&a.set(r,c)}return t},ZR=typeof XMLHttpRequest<"u",JR=ZR&&function(e){return new Promise(function(n,o){const r=iC(e);let i=r.data;const a=Po.from(r.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:c}=r,u,d,f,h,p;function g(){h&&h(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let m=new XMLHttpRequest;m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout;function b(){if(!m)return;const C=Po.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),w={data:!s||s==="text"||s==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:C,config:e,request:m};oC(function(y){n(y),g()},function(y){o(y),g()},w),m=null}"onloadend"in m?m.onloadend=b:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(b)},m.onabort=function(){m&&(o(new yt("Request aborted",yt.ECONNABORTED,e,m)),m=null)},m.onerror=function(){o(new yt("Network Error",yt.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let S=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const w=r.transitional||eC;r.timeoutErrorMessage&&(S=r.timeoutErrorMessage),o(new yt(S,w.clarifyTimeoutError?yt.ETIMEDOUT:yt.ECONNABORTED,e,m)),m=null},i===void 0&&a.setContentType(null),"setRequestHeader"in m&&Te.forEach(a.toJSON(),function(S,w){m.setRequestHeader(w,S)}),Te.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),s&&s!=="json"&&(m.responseType=r.responseType),c&&([f,p]=yc(c,!0),m.addEventListener("progress",f)),l&&m.upload&&([d,h]=yc(l),m.upload.addEventListener("progress",d),m.upload.addEventListener("loadend",h)),(r.cancelToken||r.signal)&&(u=C=>{m&&(o(!C||C.type?new Fa(null,e,m):C),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const _=WR(r.url);if(_&&Jn.protocols.indexOf(_)===-1){o(new yt("Unsupported protocol "+_+":",yt.ERR_BAD_REQUEST,e));return}m.send(i||null)})},QR=(e,t)=>{let n=new AbortController,o;const r=function(l){if(!o){o=!0,a();const c=l instanceof Error?l:this.reason;n.abort(c instanceof yt?c:new Fa(c instanceof Error?c.message:c))}};let i=t&&setTimeout(()=>{r(new yt(`timeout ${t} of ms exceeded`,yt.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(l=>{l&&(l.removeEventListener?l.removeEventListener("abort",r):l.unsubscribe(r))}),e=null)};e.forEach(l=>l&&l.addEventListener&&l.addEventListener("abort",r));const{signal:s}=n;return s.unsubscribe=a,[s,()=>{i&&clearTimeout(i),i=null}]},eE=QR,tE=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let o=0,r;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},nE=async function*(e,t,n){for await(const o of e)yield*tE(ArrayBuffer.isView(o)?o:await n(String(o)),t)},mv=(e,t,n,o,r)=>{const i=nE(e,t,r);let a=0,s,l=c=>{s||(s=!0,o&&o(c))};return new ReadableStream({async pull(c){try{const{done:u,value:d}=await i.next();if(u){l(),c.close();return}let f=d.byteLength;if(n){let h=a+=f;n(h)}c.enqueue(new Uint8Array(d))}catch(u){throw l(u),u}},cancel(c){return l(c),i.return()}},{highWaterMark:2})},mu=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",aC=mu&&typeof ReadableStream=="function",Kf=mu&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),sC=(e,...t)=>{try{return!!e(...t)}catch{return!1}},oE=aC&&sC(()=>{let e=!1;const t=new Request(Jn.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),gv=64*1024,Gf=aC&&sC(()=>Te.isReadableStream(new Response("").body)),xc={stream:Gf&&(e=>e.body)};mu&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!xc[t]&&(xc[t]=Te.isFunction(e[t])?n=>n[t]():(n,o)=>{throw new yt(`Response type '${t}' is not supported`,yt.ERR_NOT_SUPPORT,o)})})})(new Response);const rE=async e=>{if(e==null)return 0;if(Te.isBlob(e))return e.size;if(Te.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(Te.isArrayBufferView(e)||Te.isArrayBuffer(e))return e.byteLength;if(Te.isURLSearchParams(e)&&(e=e+""),Te.isString(e))return(await Kf(e)).byteLength},iE=async(e,t)=>{const n=Te.toFiniteNumber(e.getContentLength());return n??rE(t)},aE=mu&&(async e=>{let{url:t,method:n,data:o,signal:r,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=iC(e);c=c?(c+"").toLowerCase():"text";let[h,p]=r||i||a?eE([r,i],a):[],g,m;const b=()=>{!g&&setTimeout(()=>{h&&h.unsubscribe()}),g=!0};let _;try{if(l&&oE&&n!=="get"&&n!=="head"&&(_=await iE(u,o))!==0){let y=new Request(t,{method:"POST",body:o,duplex:"half"}),P;if(Te.isFormData(o)&&(P=y.headers.get("content-type"))&&u.setContentType(P),y.body){const[k,T]=fv(_,yc(hv(l)));o=mv(y.body,gv,k,T,Kf)}}Te.isString(d)||(d=d?"include":"omit");const C="credentials"in Request.prototype;m=new Request(t,{...f,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:o,duplex:"half",credentials:C?d:void 0});let S=await fetch(m);const w=Gf&&(c==="stream"||c==="response");if(Gf&&(s||w)){const y={};["status","statusText","headers"].forEach(E=>{y[E]=S[E]});const P=Te.toFiniteNumber(S.headers.get("content-length")),[k,T]=s&&fv(P,yc(hv(s),!0))||[];S=new Response(mv(S.body,gv,k,()=>{T&&T(),w&&b()},Kf),y)}c=c||"text";let x=await xc[Te.findKey(xc,c)||"text"](S,e);return!w&&b(),p&&p(),await new Promise((y,P)=>{oC(y,P,{data:x,headers:Po.from(S.headers),status:S.status,statusText:S.statusText,config:e,request:m})})}catch(C){throw b(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new yt("Network Error",yt.ERR_NETWORK,e,m),{cause:C.cause||C}):yt.from(C,C&&C.code,e,m)}}),Yf={http:CR,xhr:JR,fetch:aE};Te.forEach(Yf,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const vv=e=>`- ${e}`,sE=e=>Te.isFunction(e)||e===null||e===!1,lC={getAdapter:e=>{e=Te.isArray(e)?e:[e];const{length:t}=e;let n,o;const r={};for(let i=0;i<t;i++){n=e[i];let a;if(o=n,!sE(n)&&(o=Yf[(a=String(n)).toLowerCase()],o===void 0))throw new yt(`Unknown adapter '${a}'`);if(o)break;r[a||"#"+i]=o}if(!o){const i=Object.entries(r).map(([s,l])=>`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since :
`+i.map(vv).join(`
`):" "+vv(i[0]):"as no adapter specified";throw new yt("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o},adapters:Yf};function Od(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Fa(null,e)}function bv(e){return Od(e),e.headers=Po.from(e.headers),e.data=Id.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),lC.getAdapter(e.adapter||_p.adapter)(e).then(function(o){return Od(e),o.data=Id.call(e,e.transformResponse,o),o.headers=Po.from(o.headers),o},function(o){return nC(o)||(Od(e),o&&o.response&&(o.response.data=Id.call(e,e.transformResponse,o.response),o.response.headers=Po.from(o.response.headers))),Promise.reject(o)})}const cC="1.7.5",Sp={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Sp[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const yv={};Sp.transitional=function(t,n,o){function r(i,a){return"[Axios v"+cC+"] Transitional option '"+i+"'"+a+(o?". "+o:"")}return(i,a,s)=>{if(t===!1)throw new yt(r(a," has been removed"+(n?" in "+n:"")),yt.ERR_DEPRECATED);return n&&!yv[a]&&(yv[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,s):!0}};function lE(e,t,n){if(typeof e!="object")throw new yt("options must be an object",yt.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let r=o.length;for(;r-- >0;){const i=o[r],a=t[i];if(a){const s=e[i],l=s===void 0||a(s,i,e);if(l!==!0)throw new yt("option "+i+" must be "+l,yt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new yt("Unknown option "+i,yt.ERR_BAD_OPTION)}}const Xf={assertOptions:lE,validators:Sp},Sr=Xf.validators;class Cc{constructor(t){this.defaults=t,this.interceptors={request:new uv,response:new uv}}async request(t,n){try{return await this._request(t,n)}catch(o){if(o instanceof Error){let r;Error.captureStackTrace?Error.captureStackTrace(r={}):r=new Error;const i=r.stack?r.stack.replace(/^.+\n/,""):"";try{o.stack?i&&!String(o.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(o.stack+=`
`+i):o.stack=i}catch{}}throw o}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ei(this.defaults,n);const{transitional:o,paramsSerializer:r,headers:i}=n;o!==void 0&&Xf.assertOptions(o,{silentJSONParsing:Sr.transitional(Sr.boolean),forcedJSONParsing:Sr.transitional(Sr.boolean),clarifyTimeoutError:Sr.transitional(Sr.boolean)},!1),r!=null&&(Te.isFunction(r)?n.paramsSerializer={serialize:r}:Xf.assertOptions(r,{encode:Sr.function,serialize:Sr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&Te.merge(i.common,i[n.method]);i&&Te.forEach(["delete","get","head","post","put","patch","common"],p=>{delete i[p]}),n.headers=Po.concat(a,i);const s=[];let l=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(l=l&&g.synchronous,s.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let u,d=0,f;if(!l){const p=[bv.bind(this),void 0];for(p.unshift.apply(p,s),p.push.apply(p,c),f=p.length,u=Promise.resolve(n);d<f;)u=u.then(p[d++],p[d++]);return u}f=s.length;let h=n;for(d=0;d<f;){const p=s[d++],g=s[d++];try{h=p(h)}catch(m){g.call(this,m);break}}try{u=bv.call(this,h)}catch(p){return Promise.reject(p)}for(d=0,f=c.length;d<f;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=Ei(this.defaults,t);const n=rC(t.baseURL,t.url);return Qx(n,t.params,t.paramsSerializer)}}Te.forEach(["delete","get","head","options"],function(t){Cc.prototype[t]=function(n,o){return this.request(Ei(o||{},{method:t,url:n,data:(o||{}).data}))}});Te.forEach(["post","put","patch"],function(t){function n(o){return function(i,a,s){return this.request(Ei(s||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}Cc.prototype[t]=n(),Cc.prototype[t+"Form"]=n(!0)});const ic=Cc;class kp{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const o=this;this.promise.then(r=>{if(!o._listeners)return;let i=o._listeners.length;for(;i-- >0;)o._listeners[i](r);o._listeners=null}),this.promise.then=r=>{let i;const a=new Promise(s=>{o.subscribe(s),i=s}).then(r);return a.cancel=function(){o.unsubscribe(i)},a},t(function(i,a,s){o.reason||(o.reason=new Fa(i,a,s),n(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new kp(function(r){t=r}),cancel:t}}}const cE=kp;function uE(e){return function(n){return e.apply(null,n)}}function dE(e){return Te.isObject(e)&&e.isAxiosError===!0}const Zf={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Zf).forEach(([e,t])=>{Zf[t]=e});const fE=Zf;function uC(e){const t=new ic(e),n=Hx(ic.prototype.request,t);return Te.extend(n,ic.prototype,t,{allOwnKeys:!0}),Te.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return uC(Ei(e,r))},n}const gn=uC(_p);gn.Axios=ic;gn.CanceledError=Fa;gn.CancelToken=cE;gn.isCancel=nC;gn.VERSION=cC;gn.toFormData=hu;gn.AxiosError=yt;gn.Cancel=gn.CanceledError;gn.all=function(t){return Promise.all(t)};gn.spread=uE;gn.isAxiosError=dE;gn.mergeConfig=Ei;gn.AxiosHeaders=Po;gn.formToJSON=e=>tC(Te.isHTMLForm(e)?new FormData(e):e);gn.getAdapter=lC.getAdapter;gn.HttpStatusCode=fE;gn.default=gn;const hE=gn,pE=[{url:"/passport/auth/login",method:"POST"},{url:"/passport/auth/token2Login",method:"GET"},{url:"/passport/auth/register",method:"POST"},{url:"/passport/auth/register",method:"POST"},{url:"/guest/comm/config",method:"GET"},{url:"/passport/comm/sendEmailVerify",method:"POST"},{url:"/passport/auth/forget",method:"POST"}];function mE({url:e,method:t=""}){return pE.some(n=>n.url===e.split("?")[0]&&n.method===t.toUpperCase())}function gE(e){return typeof e>"u"}function vE(e){return e===null}function bE(e){return vE(e)||gE(e)}function dC(e){try{if(typeof JSON.parse(e)=="object")return!0}catch{return!1}}class yE{constructor(t){md(this,"storage");md(this,"prefixKey");this.storage=t.storage,this.prefixKey=t.prefixKey}getKey(t){return`${this.prefixKey}${t}`.toUpperCase()}set(t,n,o=null){const r=JSON.stringify({value:n,time:Date.now(),expire:o!==null?new Date().getTime()+o*1e3:null});this.storage.setItem(this.getKey(t),r)}get(t,n=null){const o=this.storage.getItem(this.getKey(t));if(!o)return{value:n,time:0};try{const r=JSON.parse(o),{value:i,time:a,expire:s}=r;return bE(s)||s>new Date().getTime()?{value:i,time:a}:(this.remove(t),{value:n,time:0})}catch{return this.remove(t),{value:n,time:0}}}remove(t){this.storage.removeItem(this.getKey(t))}clear(){this.storage.clear()}}function fC({prefixKey:e="",storage:t=sessionStorage}){return new yE({prefixKey:e,storage:t})}const hC="Vue_Naive_",xE=function(e={}){return fC({prefixKey:e.prefixKey||"",storage:localStorage})},CE=function(e={}){return fC({prefixKey:e.prefixKey||"",storage:sessionStorage})},il=xE({prefixKey:hC}),wc=CE({prefixKey:hC}),pC="access_token";function mC(){return il.get(pC)}function gC(){il.remove(pC)}function Pp(){const e=we(Gt.currentRoute),t=!e.meta.requireAuth&&!["/404","/login"].includes(Gt.currentRoute.value.path);Gt.replace({path:"/login",query:t?{...e.query,redirect:e.path}:{}})}var vC=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Tp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function wE(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}),n}var bC={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(vC,function(){var n=1e3,o=6e4,r=36e5,i="millisecond",a="second",s="minute",l="hour",c="day",u="week",d="month",f="quarter",h="year",p="date",g="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(N){var D=["th","st","nd","rd"],M=N%100;return"["+N+(D[(M-20)%10]||D[M]||D[0])+"]"}},C=function(N,D,M){var G=String(N);return!G||G.length>=D?N:""+Array(D+1-G.length).join(M)+N},S={s:C,z:function(N){var D=-N.utcOffset(),M=Math.abs(D),G=Math.floor(M/60),J=M%60;return(D<=0?"+":"-")+C(G,2,"0")+":"+C(J,2,"0")},m:function N(D,M){if(D.date()<M.date())return-N(M,D);var G=12*(M.year()-D.year())+(M.month()-D.month()),J=D.clone().add(G,d),he=M-J<0,pe=D.clone().add(G+(he?-1:1),d);return+(-(G+(M-J)/(he?J-pe:pe-J))||0)},a:function(N){return N<0?Math.ceil(N)||0:Math.floor(N)},p:function(N){return{M:d,y:h,w:u,d:c,D:p,h:l,m:s,s:a,ms:i,Q:f}[N]||String(N||"").toLowerCase().replace(/s$/,"")},u:function(N){return N===void 0}},w="en",x={};x[w]=_;var y="$isDayjsObject",P=function(N){return N instanceof R||!(!N||!N[y])},k=function N(D,M,G){var J;if(!D)return w;if(typeof D=="string"){var he=D.toLowerCase();x[he]&&(J=he),M&&(x[he]=M,J=he);var pe=D.split("-");if(!J&&pe.length>1)return N(pe[0])}else{var B=D.name;x[B]=D,J=B}return!G&&J&&(w=J),J||!G&&w},T=function(N,D){if(P(N))return N.clone();var M=typeof D=="object"?D:{};return M.date=N,M.args=arguments,new R(M)},E=S;E.l=k,E.i=P,E.w=function(N,D){return T(N,{locale:D.$L,utc:D.$u,x:D.$x,$offset:D.$offset})};var R=function(){function N(M){this.$L=k(M.locale,null,!0),this.parse(M),this.$x=this.$x||M.x||{},this[y]=!0}var D=N.prototype;return D.parse=function(M){this.$d=function(G){var J=G.date,he=G.utc;if(J===null)return new Date(NaN);if(E.u(J))return new Date;if(J instanceof Date)return new Date(J);if(typeof J=="string"&&!/Z$/i.test(J)){var pe=J.match(m);if(pe){var B=pe[2]-1||0,$=(pe[7]||"0").substring(0,3);return he?new Date(Date.UTC(pe[1],B,pe[3]||1,pe[4]||0,pe[5]||0,pe[6]||0,$)):new Date(pe[1],B,pe[3]||1,pe[4]||0,pe[5]||0,pe[6]||0,$)}}return new Date(J)}(M),this.init()},D.init=function(){var M=this.$d;this.$y=M.getFullYear(),this.$M=M.getMonth(),this.$D=M.getDate(),this.$W=M.getDay(),this.$H=M.getHours(),this.$m=M.getMinutes(),this.$s=M.getSeconds(),this.$ms=M.getMilliseconds()},D.$utils=function(){return E},D.isValid=function(){return this.$d.toString()!==g},D.isSame=function(M,G){var J=T(M);return this.startOf(G)<=J&&J<=this.endOf(G)},D.isAfter=function(M,G){return T(M)<this.startOf(G)},D.isBefore=function(M,G){return this.endOf(G)<T(M)},D.$g=function(M,G,J){return E.u(M)?this[G]:this.set(J,M)},D.unix=function(){return Math.floor(this.valueOf()/1e3)},D.valueOf=function(){return this.$d.getTime()},D.startOf=function(M,G){var J=this,he=!!E.u(G)||G,pe=E.p(M),B=function(H,ye){var Oe=E.w(J.$u?Date.UTC(J.$y,ye,H):new Date(J.$y,ye,H),J);return he?Oe:Oe.endOf(c)},$=function(H,ye){return E.w(J.toDate()[H].apply(J.toDate("s"),(he?[0,0,0,0]:[23,59,59,999]).slice(ye)),J)},A=this.$W,Y=this.$M,ne=this.$D,fe="set"+(this.$u?"UTC":"");switch(pe){case h:return he?B(1,0):B(31,11);case d:return he?B(1,Y):B(0,Y+1);case u:var Q=this.$locale().weekStart||0,xe=(A<Q?A+7:A)-Q;return B(he?ne-xe:ne+(6-xe),Y);case c:case p:return $(fe+"Hours",0);case l:return $(fe+"Minutes",1);case s:return $(fe+"Seconds",2);case a:return $(fe+"Milliseconds",3);default:return this.clone()}},D.endOf=function(M){return this.startOf(M,!1)},D.$set=function(M,G){var J,he=E.p(M),pe="set"+(this.$u?"UTC":""),B=(J={},J[c]=pe+"Date",J[p]=pe+"Date",J[d]=pe+"Month",J[h]=pe+"FullYear",J[l]=pe+"Hours",J[s]=pe+"Minutes",J[a]=pe+"Seconds",J[i]=pe+"Milliseconds",J)[he],$=he===c?this.$D+(G-this.$W):G;if(he===d||he===h){var A=this.clone().set(p,1);A.$d[B]($),A.init(),this.$d=A.set(p,Math.min(this.$D,A.daysInMonth())).$d}else B&&this.$d[B]($);return this.init(),this},D.set=function(M,G){return this.clone().$set(M,G)},D.get=function(M){return this[E.p(M)]()},D.add=function(M,G){var J,he=this;M=Number(M);var pe=E.p(G),B=function(Y){var ne=T(he);return E.w(ne.date(ne.date()+Math.round(Y*M)),he)};if(pe===d)return this.set(d,this.$M+M);if(pe===h)return this.set(h,this.$y+M);if(pe===c)return B(1);if(pe===u)return B(7);var $=(J={},J[s]=o,J[l]=r,J[a]=n,J)[pe]||1,A=this.$d.getTime()+M*$;return E.w(A,this)},D.subtract=function(M,G){return this.add(-1*M,G)},D.format=function(M){var G=this,J=this.$locale();if(!this.isValid())return J.invalidDate||g;var he=M||"YYYY-MM-DDTHH:mm:ssZ",pe=E.z(this),B=this.$H,$=this.$m,A=this.$M,Y=J.weekdays,ne=J.months,fe=J.meridiem,Q=function(ye,Oe,Ne,L){return ye&&(ye[Oe]||ye(G,he))||Ne[Oe].slice(0,L)},xe=function(ye){return E.s(B%12||12,ye,"0")},H=fe||function(ye,Oe,Ne){var L=ye<12?"AM":"PM";return Ne?L.toLowerCase():L};return he.replace(b,function(ye,Oe){return Oe||function(Ne){switch(Ne){case"YY":return String(G.$y).slice(-2);case"YYYY":return E.s(G.$y,4,"0");case"M":return A+1;case"MM":return E.s(A+1,2,"0");case"MMM":return Q(J.monthsShort,A,ne,3);case"MMMM":return Q(ne,A);case"D":return G.$D;case"DD":return E.s(G.$D,2,"0");case"d":return String(G.$W);case"dd":return Q(J.weekdaysMin,G.$W,Y,2);case"ddd":return Q(J.weekdaysShort,G.$W,Y,3);case"dddd":return Y[G.$W];case"H":return String(B);case"HH":return E.s(B,2,"0");case"h":return xe(1);case"hh":return xe(2);case"a":return H(B,$,!0);case"A":return H(B,$,!1);case"m":return String($);case"mm":return E.s($,2,"0");case"s":return String(G.$s);case"ss":return E.s(G.$s,2,"0");case"SSS":return E.s(G.$ms,3,"0");case"Z":return pe}return null}(ye)||pe.replace(":","")})},D.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},D.diff=function(M,G,J){var he,pe=this,B=E.p(G),$=T(M),A=($.utcOffset()-this.utcOffset())*o,Y=this-$,ne=function(){return E.m(pe,$)};switch(B){case h:he=ne()/12;break;case d:he=ne();break;case f:he=ne()/3;break;case u:he=(Y-A)/6048e5;break;case c:he=(Y-A)/864e5;break;case l:he=Y/r;break;case s:he=Y/o;break;case a:he=Y/n;break;default:he=Y}return J?he:E.a(he)},D.daysInMonth=function(){return this.endOf(d).$D},D.$locale=function(){return x[this.$L]},D.locale=function(M,G){if(!M)return this.$L;var J=this.clone(),he=k(M,G,!0);return he&&(J.$L=he),J},D.clone=function(){return E.w(this.$d,this)},D.toDate=function(){return new Date(this.valueOf())},D.toJSON=function(){return this.isValid()?this.toISOString():null},D.toISOString=function(){return this.$d.toISOString()},D.toString=function(){return this.$d.toUTCString()},N}(),K=R.prototype;return T.prototype=K,[["$ms",i],["$s",a],["$m",s],["$H",l],["$W",c],["$M",d],["$y",h],["$D",p]].forEach(function(N){K[N[1]]=function(D){return this.$g(D,N[0],N[1])}}),T.extend=function(N,D){return N.$i||(N(D,R,T),N.$i=!0),T},T.locale=k,T.isDayjs=P,T.unix=function(N){return T(1e3*N)},T.en=x[w],T.Ls=x,T.p={},T})})(bC);var _E=bC.exports;const SE=Tp(_E);var yC={exports:{}};/*!
* clipboard.js v2.0.11
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/(function(e,t){(function(o,r){e.exports=r()})(vC,function(){return function(){var n={686:function(i,a,s){s.d(a,{default:function(){return B}});var l=s(279),c=s.n(l),u=s(370),d=s.n(u),f=s(817),h=s.n(f);function p($){try{return document.execCommand($)}catch{return!1}}var g=function(A){var Y=h()(A);return p("cut"),Y},m=g;function b($){var A=document.documentElement.getAttribute("dir")==="rtl",Y=document.createElement("textarea");Y.style.fontSize="12pt",Y.style.border="0",Y.style.padding="0",Y.style.margin="0",Y.style.position="absolute",Y.style[A?"right":"left"]="-9999px";var ne=window.pageYOffset||document.documentElement.scrollTop;return Y.style.top="".concat(ne,"px"),Y.setAttribute("readonly",""),Y.value=$,Y}var _=function(A,Y){var ne=b(A);Y.container.appendChild(ne);var fe=h()(ne);return p("copy"),ne.remove(),fe},C=function(A){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},ne="";return typeof A=="string"?ne=_(A,Y):A instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(A==null?void 0:A.type)?ne=_(A.value,Y):(ne=h()(A),p("copy")),ne},S=C;function w($){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(Y){return typeof Y}:w=function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y},w($)}var x=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Y=A.action,ne=Y===void 0?"copy":Y,fe=A.container,Q=A.target,xe=A.text;if(ne!=="copy"&&ne!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(Q!==void 0)if(Q&&w(Q)==="object"&&Q.nodeType===1){if(ne==="copy"&&Q.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(ne==="cut"&&(Q.hasAttribute("readonly")||Q.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(xe)return S(xe,{container:fe});if(Q)return ne==="cut"?m(Q):S(Q,{container:fe})},y=x;function P($){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?P=function(Y){return typeof Y}:P=function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y},P($)}function k($,A){if(!($ instanceof A))throw new TypeError("Cannot call a class as a function")}function T($,A){for(var Y=0;Y<A.length;Y++){var ne=A[Y];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty($,ne.key,ne)}}function E($,A,Y){return A&&T($.prototype,A),Y&&T($,Y),$}function R($,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function");$.prototype=Object.create(A&&A.prototype,{constructor:{value:$,writable:!0,configurable:!0}}),A&&K($,A)}function K($,A){return K=Object.setPrototypeOf||function(ne,fe){return ne.__proto__=fe,ne},K($,A)}function N($){var A=G();return function(){var ne=J($),fe;if(A){var Q=J(this).constructor;fe=Reflect.construct(ne,arguments,Q)}else fe=ne.apply(this,arguments);return D(this,fe)}}function D($,A){return A&&(P(A)==="object"||typeof A=="function")?A:M($)}function M($){if($===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return $}function G(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function J($){return J=Object.setPrototypeOf?Object.getPrototypeOf:function(Y){return Y.__proto__||Object.getPrototypeOf(Y)},J($)}function he($,A){var Y="data-clipboard-".concat($);if(A.hasAttribute(Y))return A.getAttribute(Y)}var pe=function($){R(Y,$);var A=N(Y);function Y(ne,fe){var Q;return k(this,Y),Q=A.call(this),Q.resolveOptions(fe),Q.listenClick(ne),Q}return E(Y,[{key:"resolveOptions",value:function(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof fe.action=="function"?fe.action:this.defaultAction,this.target=typeof fe.target=="function"?fe.target:this.defaultTarget,this.text=typeof fe.text=="function"?fe.text:this.defaultText,this.container=P(fe.container)==="object"?fe.container:document.body}},{key:"listenClick",value:function(fe){var Q=this;this.listener=d()(fe,"click",function(xe){return Q.onClick(xe)})}},{key:"onClick",value:function(fe){var Q=fe.delegateTarget||fe.currentTarget,xe=this.action(Q)||"copy",H=y({action:xe,container:this.container,target:this.target(Q),text:this.text(Q)});this.emit(H?"success":"error",{action:xe,text:H,trigger:Q,clearSelection:function(){Q&&Q.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(fe){return he("action",fe)}},{key:"defaultTarget",value:function(fe){var Q=he("target",fe);if(Q)return document.querySelector(Q)}},{key:"defaultText",value:function(fe){return he("text",fe)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(fe){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return S(fe,Q)}},{key:"cut",value:function(fe){return m(fe)}},{key:"isSupported",value:function(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],Q=typeof fe=="string"?[fe]:fe,xe=!!document.queryCommandSupported;return Q.forEach(function(H){xe=xe&&!!document.queryCommandSupported(H)}),xe}}]),Y}(c()),B=pe},828:function(i){var a=9;if(typeof Element<"u"&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}function l(c,u){for(;c&&c.nodeType!==a;){if(typeof c.matches=="function"&&c.matches(u))return c;c=c.parentNode}}i.exports=l},438:function(i,a,s){var l=s(828);function c(f,h,p,g,m){var b=d.apply(this,arguments);return f.addEventListener(p,b,m),{destroy:function(){f.removeEventListener(p,b,m)}}}function u(f,h,p,g,m){return typeof f.addEventListener=="function"?c.apply(null,arguments):typeof p=="function"?c.bind(null,document).apply(null,arguments):(typeof f=="string"&&(f=document.querySelectorAll(f)),Array.prototype.map.call(f,function(b){return c(b,h,p,g,m)}))}function d(f,h,p,g){return function(m){m.delegateTarget=l(m.target,h),m.delegateTarget&&g.call(f,m)}}i.exports=u},879:function(i,a){a.node=function(s){return s!==void 0&&s instanceof HTMLElement&&s.nodeType===1},a.nodeList=function(s){var l=Object.prototype.toString.call(s);return s!==void 0&&(l==="[object NodeList]"||l==="[object HTMLCollection]")&&"length"in s&&(s.length===0||a.node(s[0]))},a.string=function(s){return typeof s=="string"||s instanceof String},a.fn=function(s){var l=Object.prototype.toString.call(s);return l==="[object Function]"}},370:function(i,a,s){var l=s(879),c=s(438);function u(p,g,m){if(!p&&!g&&!m)throw new Error("Missing required arguments");if(!l.string(g))throw new TypeError("Second argument must be a String");if(!l.fn(m))throw new TypeError("Third argument must be a Function");if(l.node(p))return d(p,g,m);if(l.nodeList(p))return f(p,g,m);if(l.string(p))return h(p,g,m);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function d(p,g,m){return p.addEventListener(g,m),{destroy:function(){p.removeEventListener(g,m)}}}function f(p,g,m){return Array.prototype.forEach.call(p,function(b){b.addEventListener(g,m)}),{destroy:function(){Array.prototype.forEach.call(p,function(b){b.removeEventListener(g,m)})}}}function h(p,g,m){return c(document.body,p,g,m)}i.exports=u},817:function(i){function a(s){var l;if(s.nodeName==="SELECT")s.focus(),l=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var c=s.hasAttribute("readonly");c||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),c||s.removeAttribute("readonly"),l=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var u=window.getSelection(),d=document.createRange();d.selectNodeContents(s),u.removeAllRanges(),u.addRange(d),l=u.toString()}return l}i.exports=a},279:function(i){function a(){}a.prototype={on:function(s,l,c){var u=this.e||(this.e={});return(u[s]||(u[s]=[])).push({fn:l,ctx:c}),this},once:function(s,l,c){var u=this;function d(){u.off(s,d),l.apply(c,arguments)}return d._=l,this.on(s,d,c)},emit:function(s){var l=[].slice.call(arguments,1),c=((this.e||(this.e={}))[s]||[]).slice(),u=0,d=c.length;for(u;u<d;u++)c[u].fn.apply(c[u].ctx,l);return this},off:function(s,l){var c=this.e||(this.e={}),u=c[s],d=[];if(u&&l)for(var f=0,h=u.length;f<h;f++)u[f].fn!==l&&u[f].fn._!==l&&d.push(u[f]);return d.length?c[s]=d:delete c[s],this}},i.exports=a,i.exports.TinyEmitter=a}},o={};function r(i){if(o[i])return o[i].exports;var a=o[i]={exports:{}};return n[i](a,a.exports,r),a.exports}return function(){r.n=function(i){var a=i&&i.__esModule?function(){return i.default}:function(){return i};return r.d(a,{a}),a}}(),function(){r.d=function(i,a){for(var s in a)r.o(a,s)&&!r.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:a[s]})}}(),function(){r.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)}}(),r(686)}().default})})(yC);var kE=yC.exports;const PE=Tp(kE),TE=(e,t)=>{const n=e[t];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((o,r)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+t)))})};/*!
* shared v9.14.0
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const _c=typeof window<"u",Yr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),RE=(e,t,n)=>EE({l:e,k:t,s:n}),EE=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),yn=e=>typeof e=="number"&&isFinite(e),$E=e=>CC(e)==="[object Date]",Nr=e=>CC(e)==="[object RegExp]",gu=e=>gt(e)&&Object.keys(e).length===0,Pn=Object.assign;let xv;const ir=()=>xv||(xv=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Cv(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const AE=Object.prototype.hasOwnProperty;function Sc(e,t){return AE.call(e,t)}const tn=Array.isArray,Yt=e=>typeof e=="function",Ye=e=>typeof e=="string",St=e=>typeof e=="boolean",Nt=e=>e!==null&&typeof e=="object",IE=e=>Nt(e)&&Yt(e.then)&&Yt(e.catch),xC=Object.prototype.toString,CC=e=>xC.call(e),gt=e=>{if(!Nt(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},OE=e=>e==null?"":tn(e)||gt(e)&&e.toString===xC?JSON.stringify(e,null,2):String(e);function ME(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}function vu(e){let t=e;return()=>++t}function zE(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Rl=e=>!Nt(e)||tn(e);function ac(e,t){if(Rl(e)||Rl(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:o,des:r}=n.pop();Object.keys(o).forEach(i=>{Rl(o[i])||Rl(r[i])?r[i]=o[i]:n.push({src:o[i],des:r[i]})})}}/*!
* message-compiler v9.14.0
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/function DE(e,t,n){return{line:e,column:t,offset:n}}function kc(e,t,n){const o={start:e,end:t};return n!=null&&(o.source=n),o}const LE=/\{([0-9a-zA-Z]+)\}/g;function wC(e,...t){return t.length===1&&FE(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(LE,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const _C=Object.assign,wv=e=>typeof e=="string",FE=e=>e!==null&&typeof e=="object";function SC(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}const Rp={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},BE={[Rp.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function NE(e,t,...n){const o=wC(BE[e]||"",...n||[]),r={message:String(o),code:e};return t&&(r.location=t),r}const dt={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},HE={[dt.EXPECTED_TOKEN]:"Expected token: '{0}'",[dt.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[dt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[dt.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[dt.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[dt.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[dt.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[dt.EMPTY_PLACEHOLDER]:"Empty placeholder",[dt.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[dt.INVALID_LINKED_FORMAT]:"Invalid linked format",[dt.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[dt.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[dt.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[dt.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[dt.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[dt.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Ba(e,t,n={}){const{domain:o,messages:r,args:i}=n,a=wC((r||HE)[e]||"",...i||[]),s=new SyntaxError(String(a));return s.code=e,t&&(s.location=t),s.domain=o,s}function jE(e){throw e}const Qo=" ",VE="\r",On=`
`,WE=String.fromCharCode(8232),UE=String.fromCharCode(8233);function qE(e){const t=e;let n=0,o=1,r=1,i=0;const a=y=>t[y]===VE&&t[y+1]===On,s=y=>t[y]===On,l=y=>t[y]===UE,c=y=>t[y]===WE,u=y=>a(y)||s(y)||l(y)||c(y),d=()=>n,f=()=>o,h=()=>r,p=()=>i,g=y=>a(y)||l(y)||c(y)?On:t[y],m=()=>g(n),b=()=>g(n+i);function _(){return i=0,u(n)&&(o++,r=0),a(n)&&n++,n++,r++,t[n]}function C(){return a(n+i)&&i++,i++,t[n+i]}function S(){n=0,o=1,r=1,i=0}function w(y=0){i=y}function x(){const y=n+i;for(;y!==n;)_();i=0}return{index:d,line:f,column:h,peekOffset:p,charAt:g,currentChar:m,currentPeek:b,next:_,peek:C,reset:S,resetPeek:w,skipToPeek:x}}const kr=void 0,KE=".",_v="'",GE="tokenizer";function YE(e,t={}){const n=t.location!==!1,o=qE(e),r=()=>o.index(),i=()=>DE(o.line(),o.column(),o.index()),a=i(),s=r(),l={currentType:14,offset:s,startLoc:a,endLoc:a,lastType:14,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(I,j,ee,...Ce){const ce=c();if(j.column+=ee,j.offset+=ee,u){const le=n?kc(ce.startLoc,j):null,re=Ba(I,le,{domain:GE,args:Ce});u(re)}}function f(I,j,ee){I.endLoc=i(),I.currentType=j;const Ce={type:j};return n&&(Ce.loc=kc(I.startLoc,I.endLoc)),ee!=null&&(Ce.value=ee),Ce}const h=I=>f(I,14);function p(I,j){return I.currentChar()===j?(I.next(),j):(d(dt.EXPECTED_TOKEN,i(),0,j),"")}function g(I){let j="";for(;I.currentPeek()===Qo||I.currentPeek()===On;)j+=I.currentPeek(),I.peek();return j}function m(I){const j=g(I);return I.skipToPeek(),j}function b(I){if(I===kr)return!1;const j=I.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j===95}function _(I){if(I===kr)return!1;const j=I.charCodeAt(0);return j>=48&&j<=57}function C(I,j){const{currentType:ee}=j;if(ee!==2)return!1;g(I);const Ce=b(I.currentPeek());return I.resetPeek(),Ce}function S(I,j){const{currentType:ee}=j;if(ee!==2)return!1;g(I);const Ce=I.currentPeek()==="-"?I.peek():I.currentPeek(),ce=_(Ce);return I.resetPeek(),ce}function w(I,j){const{currentType:ee}=j;if(ee!==2)return!1;g(I);const Ce=I.currentPeek()===_v;return I.resetPeek(),Ce}function x(I,j){const{currentType:ee}=j;if(ee!==8)return!1;g(I);const Ce=I.currentPeek()===".";return I.resetPeek(),Ce}function y(I,j){const{currentType:ee}=j;if(ee!==9)return!1;g(I);const Ce=b(I.currentPeek());return I.resetPeek(),Ce}function P(I,j){const{currentType:ee}=j;if(!(ee===8||ee===12))return!1;g(I);const Ce=I.currentPeek()===":";return I.resetPeek(),Ce}function k(I,j){const{currentType:ee}=j;if(ee!==10)return!1;const Ce=()=>{const le=I.currentPeek();return le==="{"?b(I.peek()):le==="@"||le==="%"||le==="|"||le===":"||le==="."||le===Qo||!le?!1:le===On?(I.peek(),Ce()):R(I,!1)},ce=Ce();return I.resetPeek(),ce}function T(I){g(I);const j=I.currentPeek()==="|";return I.resetPeek(),j}function E(I){const j=g(I),ee=I.currentPeek()==="%"&&I.peek()==="{";return I.resetPeek(),{isModulo:ee,hasSpace:j.length>0}}function R(I,j=!0){const ee=(ce=!1,le="",re=!1)=>{const de=I.currentPeek();return de==="{"?le==="%"?!1:ce:de==="@"||!de?le==="%"?!0:ce:de==="%"?(I.peek(),ee(ce,"%",!0)):de==="|"?le==="%"||re?!0:!(le===Qo||le===On):de===Qo?(I.peek(),ee(!0,Qo,re)):de===On?(I.peek(),ee(!0,On,re)):!0},Ce=ee();return j&&I.resetPeek(),Ce}function K(I,j){const ee=I.currentChar();return ee===kr?kr:j(ee)?(I.next(),ee):null}function N(I){const j=I.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j>=48&&j<=57||j===95||j===36}function D(I){return K(I,N)}function M(I){const j=I.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j>=48&&j<=57||j===95||j===36||j===45}function G(I){return K(I,M)}function J(I){const j=I.charCodeAt(0);return j>=48&&j<=57}function he(I){return K(I,J)}function pe(I){const j=I.charCodeAt(0);return j>=48&&j<=57||j>=65&&j<=70||j>=97&&j<=102}function B(I){return K(I,pe)}function $(I){let j="",ee="";for(;j=he(I);)ee+=j;return ee}function A(I){m(I);const j=I.currentChar();return j!=="%"&&d(dt.EXPECTED_TOKEN,i(),0,j),I.next(),"%"}function Y(I){let j="";for(;;){const ee=I.currentChar();if(ee==="{"||ee==="}"||ee==="@"||ee==="|"||!ee)break;if(ee==="%")if(R(I))j+=ee,I.next();else break;else if(ee===Qo||ee===On)if(R(I))j+=ee,I.next();else{if(T(I))break;j+=ee,I.next()}else j+=ee,I.next()}return j}function ne(I){m(I);let j="",ee="";for(;j=G(I);)ee+=j;return I.currentChar()===kr&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),ee}function fe(I){m(I);let j="";return I.currentChar()==="-"?(I.next(),j+=`-${$(I)}`):j+=$(I),I.currentChar()===kr&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),j}function Q(I){return I!==_v&&I!==On}function xe(I){m(I),p(I,"'");let j="",ee="";for(;j=K(I,Q);)j==="\\"?ee+=H(I):ee+=j;const Ce=I.currentChar();return Ce===On||Ce===kr?(d(dt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),Ce===On&&(I.next(),p(I,"'")),ee):(p(I,"'"),ee)}function H(I){const j=I.currentChar();switch(j){case"\\":case"'":return I.next(),`\\${j}`;case"u":return ye(I,j,4);case"U":return ye(I,j,6);default:return d(dt.UNKNOWN_ESCAPE_SEQUENCE,i(),0,j),""}}function ye(I,j,ee){p(I,j);let Ce="";for(let ce=0;ce<ee;ce++){const le=B(I);if(!le){d(dt.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${j}${Ce}${I.currentChar()}`);break}Ce+=le}return`\\${j}${Ce}`}function Oe(I){return I!=="{"&&I!=="}"&&I!==Qo&&I!==On}function Ne(I){m(I);let j="",ee="";for(;j=K(I,Oe);)ee+=j;return ee}function L(I){let j="",ee="";for(;j=D(I);)ee+=j;return ee}function O(I){const j=ee=>{const Ce=I.currentChar();return Ce==="{"||Ce==="%"||Ce==="@"||Ce==="|"||Ce==="("||Ce===")"||!Ce||Ce===Qo?ee:(ee+=Ce,I.next(),j(ee))};return j("")}function oe(I){m(I);const j=p(I,"|");return m(I),j}function _e(I,j){let ee=null;switch(I.currentChar()){case"{":return j.braceNest>=1&&d(dt.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),I.next(),ee=f(j,2,"{"),m(I),j.braceNest++,ee;case"}":return j.braceNest>0&&j.currentType===2&&d(dt.EMPTY_PLACEHOLDER,i(),0),I.next(),ee=f(j,3,"}"),j.braceNest--,j.braceNest>0&&m(I),j.inLinked&&j.braceNest===0&&(j.inLinked=!1),ee;case"@":return j.braceNest>0&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),ee=te(I,j)||h(j),j.braceNest=0,ee;default:{let ce=!0,le=!0,re=!0;if(T(I))return j.braceNest>0&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),ee=f(j,1,oe(I)),j.braceNest=0,j.inLinked=!1,ee;if(j.braceNest>0&&(j.currentType===5||j.currentType===6||j.currentType===7))return d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),j.braceNest=0,ge(I,j);if(ce=C(I,j))return ee=f(j,5,ne(I)),m(I),ee;if(le=S(I,j))return ee=f(j,6,fe(I)),m(I),ee;if(re=w(I,j))return ee=f(j,7,xe(I)),m(I),ee;if(!ce&&!le&&!re)return ee=f(j,13,Ne(I)),d(dt.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,ee.value),m(I),ee;break}}return ee}function te(I,j){const{currentType:ee}=j;let Ce=null;const ce=I.currentChar();switch((ee===8||ee===9||ee===12||ee===10)&&(ce===On||ce===Qo)&&d(dt.INVALID_LINKED_FORMAT,i(),0),ce){case"@":return I.next(),Ce=f(j,8,"@"),j.inLinked=!0,Ce;case".":return m(I),I.next(),f(j,9,".");case":":return m(I),I.next(),f(j,10,":");default:return T(I)?(Ce=f(j,1,oe(I)),j.braceNest=0,j.inLinked=!1,Ce):x(I,j)||P(I,j)?(m(I),te(I,j)):y(I,j)?(m(I),f(j,12,L(I))):k(I,j)?(m(I),ce==="{"?_e(I,j)||Ce:f(j,11,O(I))):(ee===8&&d(dt.INVALID_LINKED_FORMAT,i(),0),j.braceNest=0,j.inLinked=!1,ge(I,j))}}function ge(I,j){let ee={type:14};if(j.braceNest>0)return _e(I,j)||h(j);if(j.inLinked)return te(I,j)||h(j);switch(I.currentChar()){case"{":return _e(I,j)||h(j);case"}":return d(dt.UNBALANCED_CLOSING_BRACE,i(),0),I.next(),f(j,3,"}");case"@":return te(I,j)||h(j);default:{if(T(I))return ee=f(j,1,oe(I)),j.braceNest=0,j.inLinked=!1,ee;const{isModulo:ce,hasSpace:le}=E(I);if(ce)return le?f(j,0,Y(I)):f(j,4,A(I));if(R(I))return f(j,0,Y(I));break}}return ee}function ke(){const{currentType:I,offset:j,startLoc:ee,endLoc:Ce}=l;return l.lastType=I,l.lastOffset=j,l.lastStartLoc=ee,l.lastEndLoc=Ce,l.offset=r(),l.startLoc=i(),o.currentChar()===kr?f(l,14):ge(o,l)}return{nextToken:ke,currentOffset:r,currentPosition:i,context:c}}const XE="parser",ZE=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function JE(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"<22>"}}}function QE(e={}){const t=e.location!==!1,{onError:n,onWarn:o}=e;function r(C,S,w,x,...y){const P=C.currentPosition();if(P.offset+=x,P.column+=x,n){const k=t?kc(w,P):null,T=Ba(S,k,{domain:XE,args:y});n(T)}}function i(C,S,w,x,...y){const P=C.currentPosition();if(P.offset+=x,P.column+=x,o){const k=t?kc(w,P):null;o(NE(S,k,y))}}function a(C,S,w){const x={type:C};return t&&(x.start=S,x.end=S,x.loc={start:w,end:w}),x}function s(C,S,w,x){x&&(C.type=x),t&&(C.end=S,C.loc&&(C.loc.end=w))}function l(C,S){const w=C.context(),x=a(3,w.offset,w.startLoc);return x.value=S,s(x,C.currentOffset(),C.currentPosition()),x}function c(C,S){const w=C.context(),{lastOffset:x,lastStartLoc:y}=w,P=a(5,x,y);return P.index=parseInt(S,10),C.nextToken(),s(P,C.currentOffset(),C.currentPosition()),P}function u(C,S,w){const x=C.context(),{lastOffset:y,lastStartLoc:P}=x,k=a(4,y,P);return k.key=S,w===!0&&(k.modulo=!0),C.nextToken(),s(k,C.currentOffset(),C.currentPosition()),k}function d(C,S){const w=C.context(),{lastOffset:x,lastStartLoc:y}=w,P=a(9,x,y);return P.value=S.replace(ZE,JE),C.nextToken(),s(P,C.currentOffset(),C.currentPosition()),P}function f(C){const S=C.nextToken(),w=C.context(),{lastOffset:x,lastStartLoc:y}=w,P=a(8,x,y);return S.type!==12?(r(C,dt.UNEXPECTED_EMPTY_LINKED_MODIFIER,w.lastStartLoc,0),P.value="",s(P,x,y),{nextConsumeToken:S,node:P}):(S.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Co(S)),P.value=S.value||"",s(P,C.currentOffset(),C.currentPosition()),{node:P})}function h(C,S){const w=C.context(),x=a(7,w.offset,w.startLoc);return x.value=S,s(x,C.currentOffset(),C.currentPosition()),x}function p(C){const S=C.context(),w=a(6,S.offset,S.startLoc);let x=C.nextToken();if(x.type===9){const y=f(C);w.modifier=y.node,x=y.nextConsumeToken||C.nextToken()}switch(x.type!==10&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Co(x)),x=C.nextToken(),x.type===2&&(x=C.nextToken()),x.type){case 11:x.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Co(x)),w.key=h(C,x.value||"");break;case 5:x.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Co(x)),w.key=u(C,x.value||"");break;case 6:x.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Co(x)),w.key=c(C,x.value||"");break;case 7:x.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Co(x)),w.key=d(C,x.value||"");break;default:{r(C,dt.UNEXPECTED_EMPTY_LINKED_KEY,S.lastStartLoc,0);const y=C.context(),P=a(7,y.offset,y.startLoc);return P.value="",s(P,y.offset,y.startLoc),w.key=P,s(w,y.offset,y.startLoc),{nextConsumeToken:x,node:w}}}return s(w,C.currentOffset(),C.currentPosition()),{node:w}}function g(C){const S=C.context(),w=S.currentType===1?C.currentOffset():S.offset,x=S.currentType===1?S.endLoc:S.startLoc,y=a(2,w,x);y.items=[];let P=null,k=null;do{const R=P||C.nextToken();switch(P=null,R.type){case 0:R.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Co(R)),y.items.push(l(C,R.value||""));break;case 6:R.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Co(R)),y.items.push(c(C,R.value||""));break;case 4:k=!0;break;case 5:R.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Co(R)),y.items.push(u(C,R.value||"",!!k)),k&&(i(C,Rp.USE_MODULO_SYNTAX,S.lastStartLoc,0,Co(R)),k=null);break;case 7:R.value==null&&r(C,dt.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Co(R)),y.items.push(d(C,R.value||""));break;case 8:{const K=p(C);y.items.push(K.node),P=K.nextConsumeToken||null;break}}}while(S.currentType!==14&&S.currentType!==1);const T=S.currentType===1?S.lastOffset:C.currentOffset(),E=S.currentType===1?S.lastEndLoc:C.currentPosition();return s(y,T,E),y}function m(C,S,w,x){const y=C.context();let P=x.items.length===0;const k=a(1,S,w);k.cases=[],k.cases.push(x);do{const T=g(C);P||(P=T.items.length===0),k.cases.push(T)}while(y.currentType!==14);return P&&r(C,dt.MUST_HAVE_MESSAGES_IN_PLURAL,w,0),s(k,C.currentOffset(),C.currentPosition()),k}function b(C){const S=C.context(),{offset:w,startLoc:x}=S,y=g(C);return S.currentType===14?y:m(C,w,x,y)}function _(C){const S=YE(C,_C({},e)),w=S.context(),x=a(0,w.offset,w.startLoc);return t&&x.loc&&(x.loc.source=C),x.body=b(S),e.onCacheKey&&(x.cacheKey=e.onCacheKey(C)),w.currentType!==14&&r(S,dt.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,C[w.offset]||""),s(x,S.currentOffset(),S.currentPosition()),x}return{parse:_}}function Co(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function e$(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function Sv(e,t){for(let n=0;n<e.length;n++)Ep(e[n],t)}function Ep(e,t){switch(e.type){case 1:Sv(e.cases,t),t.helper("plural");break;case 2:Sv(e.items,t);break;case 6:{Ep(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function t$(e,t={}){const n=e$(e);n.helper("normalize"),e.body&&Ep(e.body,n);const o=n.context();e.helpers=Array.from(o.helpers)}function n$(e){const t=e.body;return t.type===2?kv(t):t.cases.forEach(n=>kv(n)),e}function kv(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const o=e.items[n];if(!(o.type===3||o.type===9)||o.value==null)break;t.push(o.value)}if(t.length===e.items.length){e.static=SC(t);for(let n=0;n<e.items.length;n++){const o=e.items[n];(o.type===3||o.type===9)&&delete o.value}}}}const o$="minifier";function la(e){switch(e.t=e.type,e.type){case 0:{const t=e;la(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let o=0;o<n.length;o++)la(n[o]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let o=0;o<n.length;o++)la(n[o]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;la(t.key),t.k=t.key,delete t.key,t.modifier&&(la(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:throw Ba(dt.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:o$,args:[e.type]})}delete e.type}const r$="parser";function i$(e,t){const{sourceMap:n,filename:o,breakLineCode:r,needIndent:i}=t,a=t.location!==!1,s={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:i,indentLevel:0};a&&e.loc&&(s.source=e.loc.source);const l=()=>s;function c(m,b){s.code+=m}function u(m,b=!0){const _=b?r:"";c(i?_+" ".repeat(m):_)}function d(m=!0){const b=++s.indentLevel;m&&u(b)}function f(m=!0){const b=--s.indentLevel;m&&u(b)}function h(){u(s.indentLevel)}return{context:l,push:c,indent:d,deindent:f,newline:h,helper:m=>`_${m}`,needIndent:()=>s.needIndent}}function a$(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ka(e,t.key),t.modifier?(e.push(", "),ka(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function s$(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const r=t.items.length;for(let i=0;i<r&&(ka(e,t.items[i]),i!==r-1);i++)e.push(", ");e.deindent(o()),e.push("])")}function l$(e,t){const{helper:n,needIndent:o}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(o());const r=t.cases.length;for(let i=0;i<r&&(ka(e,t.cases[i]),i!==r-1);i++)e.push(", ");e.deindent(o()),e.push("])")}}function c$(e,t){t.body?ka(e,t.body):e.push("null")}function ka(e,t){const{helper:n}=e;switch(t.type){case 0:c$(e,t);break;case 1:l$(e,t);break;case 2:s$(e,t);break;case 6:a$(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw Ba(dt.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:r$,args:[t.type]})}}const u$=(e,t={})=>{const n=wv(t.mode)?t.mode:"normal",o=wv(t.filename)?t.filename:"message.intl",r=!!t.sourceMap,i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
`,a=t.needIndent?t.needIndent:n!=="arrow",s=e.helpers||[],l=i$(e,{mode:n,filename:o,sourceMap:r,breakLineCode:i,needIndent:a});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(a),s.length>0&&(l.push(`const { ${SC(s.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),ka(l,e),l.deindent(a),l.push("}"),delete e.helpers;const{code:c,map:u}=l.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function d$(e,t={}){const n=_C({},t),o=!!n.jit,r=!!n.minify,i=n.optimize==null?!0:n.optimize,s=QE(n).parse(e);return o?(i&&n$(s),r&&la(s),{ast:s,code:""}):(t$(s,n),u$(s,n))}/*!
* core-base v9.14.0
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/function f$(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ir().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(ir().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(ir().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Xr=[];Xr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Xr[1]={w:[1],".":[2],"[":[4],o:[7]};Xr[2]={w:[2],i:[3,0],0:[3,0]};Xr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Xr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Xr[5]={"'":[4,0],o:8,l:[5,0]};Xr[6]={'"':[4,0],o:8,l:[6,0]};const h$=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function p$(e){return h$.test(e)}function m$(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function g$(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function v$(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:p$(t)?m$(t):"*"+t}function b$(e){const t=[];let n=-1,o=0,r=0,i,a,s,l,c,u,d;const f=[];f[0]=()=>{a===void 0?a=s:a+=s},f[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},f[2]=()=>{f[0](),r++},f[3]=()=>{if(r>0)r--,o=4,f[0]();else{if(r=0,a===void 0||(a=v$(a),a===!1))return!1;f[1]()}};function h(){const p=e[n+1];if(o===5&&p==="'"||o===6&&p==='"')return n++,s="\\"+p,f[0](),!0}for(;o!==null;)if(n++,i=e[n],!(i==="\\"&&h())){if(l=g$(i),d=Xr[o],c=d[l]||d.l||8,c===8||(o=c[0],c[1]!==void 0&&(u=f[c[1]],u&&(s=i,u()===!1))))return;if(o===7)return t}}const Pv=new Map;function y$(e,t){return Nt(e)?e[t]:null}function x$(e,t){if(!Nt(e))return null;let n=Pv.get(t);if(n||(n=b$(t),n&&Pv.set(t,n)),!n)return null;const o=n.length;let r=e,i=0;for(;i<o;){const a=r[n[i]];if(a===void 0||Yt(r))return null;r=a,i++}return r}const C$=e=>e,w$=e=>"",_$="text",S$=e=>e.length===0?"":ME(e),k$=OE;function Tv(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function P$(e){const t=yn(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(yn(e.named.count)||yn(e.named.n))?yn(e.named.count)?e.named.count:yn(e.named.n)?e.named.n:t:t}function T$(e,t){t.count||(t.count=e),t.n||(t.n=e)}function R$(e={}){const t=e.locale,n=P$(e),o=Nt(e.pluralRules)&&Ye(t)&&Yt(e.pluralRules[t])?e.pluralRules[t]:Tv,r=Nt(e.pluralRules)&&Ye(t)&&Yt(e.pluralRules[t])?Tv:void 0,i=b=>b[o(n,b.length,r)],a=e.list||[],s=b=>a[b],l=e.named||{};yn(e.pluralIndex)&&T$(n,l);const c=b=>l[b];function u(b){const _=Yt(e.messages)?e.messages(b):Nt(e.messages)?e.messages[b]:!1;return _||(e.parent?e.parent.message(b):w$)}const d=b=>e.modifiers?e.modifiers[b]:C$,f=gt(e.processor)&&Yt(e.processor.normalize)?e.processor.normalize:S$,h=gt(e.processor)&&Yt(e.processor.interpolate)?e.processor.interpolate:k$,p=gt(e.processor)&&Ye(e.processor.type)?e.processor.type:_$,m={list:s,named:c,plural:i,linked:(b,..._)=>{const[C,S]=_;let w="text",x="";_.length===1?Nt(C)?(x=C.modifier||x,w=C.type||w):Ye(C)&&(x=C||x):_.length===2&&(Ye(C)&&(x=C||x),Ye(S)&&(w=S||w));const y=u(b)(m),P=w==="vnode"&&tn(y)&&x?y[0]:y;return x?d(x)(P,w):P},message:u,type:p,interpolate:h,normalize:f,values:Pn({},a,l)};return m}let Us=null;function E$(e){Us=e}function $$(e,t,n){Us&&Us.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const A$=I$("function:translate");function I$(e){return t=>Us&&Us.emit(e,t)}const kC=Rp.__EXTEND_POINT__,si=vu(kC),O$={NOT_FOUND_KEY:kC,FALLBACK_TO_TRANSLATE:si(),CANNOT_FORMAT_NUMBER:si(),FALLBACK_TO_NUMBER_FORMAT:si(),CANNOT_FORMAT_DATE:si(),FALLBACK_TO_DATE_FORMAT:si(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:si(),__EXTEND_POINT__:si()},PC=dt.__EXTEND_POINT__,li=vu(PC),So={INVALID_ARGUMENT:PC,INVALID_DATE_ARGUMENT:li(),INVALID_ISO_DATE_ARGUMENT:li(),NOT_SUPPORT_NON_STRING_MESSAGE:li(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:li(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:li(),NOT_SUPPORT_LOCALE_TYPE:li(),__EXTEND_POINT__:li()};function No(e){return Ba(e,null,void 0)}function $p(e,t){return t.locale!=null?Rv(t.locale):Rv(e.locale)}let Md;function Rv(e){if(Ye(e))return e;if(Yt(e)){if(e.resolvedOnce&&Md!=null)return Md;if(e.constructor.name==="Function"){const t=e();if(IE(t))throw No(So.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Md=t}else throw No(So.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw No(So.NOT_SUPPORT_LOCALE_TYPE)}function M$(e,t,n){return[...new Set([n,...tn(t)?t:Nt(t)?Object.keys(t):Ye(t)?[t]:[n]])]}function TC(e,t,n){const o=Ye(n)?n:Pa,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let i=r.__localeChainCache.get(o);if(!i){i=[];let a=[n];for(;tn(a);)a=Ev(i,a,t);const s=tn(t)||!gt(t)?t:t.default?t.default:null;a=Ye(s)?[s]:s,tn(a)&&Ev(i,a,!1),r.__localeChainCache.set(o,i)}return i}function Ev(e,t,n){let o=!0;for(let r=0;r<t.length&&St(o);r++){const i=t[r];Ye(i)&&(o=z$(e,t[r],n))}return o}function z$(e,t,n){let o;const r=t.split("-");do{const i=r.join("-");o=D$(e,i,n),r.splice(-1,1)}while(r.length&&o===!0);return o}function D$(e,t,n){let o=!1;if(!e.includes(t)&&(o=!0,t)){o=t[t.length-1]!=="!";const r=t.replace(/!/g,"");e.push(r),(tn(n)||gt(n))&&n[r]&&(o=n[r])}return o}const L$="9.14.0",bu=-1,Pa="en-US",$v="",Av=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function F$(){return{upper:(e,t)=>t==="text"&&Ye(e)?e.toUpperCase():t==="vnode"&&Nt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Ye(e)?e.toLowerCase():t==="vnode"&&Nt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Ye(e)?Av(e):t==="vnode"&&Nt(e)&&"__v_isVNode"in e?Av(e.children):e}}let RC;function Iv(e){RC=e}let EC;function B$(e){EC=e}let $C;function N$(e){$C=e}let AC=null;const H$=e=>{AC=e},j$=()=>AC;let IC=null;const Ov=e=>{IC=e},V$=()=>IC;let Mv=0;function W$(e={}){const t=Yt(e.onWarn)?e.onWarn:zE,n=Ye(e.version)?e.version:L$,o=Ye(e.locale)||Yt(e.locale)?e.locale:Pa,r=Yt(o)?Pa:o,i=tn(e.fallbackLocale)||gt(e.fallbackLocale)||Ye(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,a=gt(e.messages)?e.messages:{[r]:{}},s=gt(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},l=gt(e.numberFormats)?e.numberFormats:{[r]:{}},c=Pn({},e.modifiers||{},F$()),u=e.pluralRules||{},d=Yt(e.missing)?e.missing:null,f=St(e.missingWarn)||Nr(e.missingWarn)?e.missingWarn:!0,h=St(e.fallbackWarn)||Nr(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,g=!!e.unresolving,m=Yt(e.postTranslation)?e.postTranslation:null,b=gt(e.processor)?e.processor:null,_=St(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter,S=Yt(e.messageCompiler)?e.messageCompiler:RC,w=Yt(e.messageResolver)?e.messageResolver:EC||y$,x=Yt(e.localeFallbacker)?e.localeFallbacker:$C||M$,y=Nt(e.fallbackContext)?e.fallbackContext:void 0,P=e,k=Nt(P.__datetimeFormatters)?P.__datetimeFormatters:new Map,T=Nt(P.__numberFormatters)?P.__numberFormatters:new Map,E=Nt(P.__meta)?P.__meta:{};Mv++;const R={version:n,cid:Mv,locale:o,fallbackLocale:i,messages:a,modifiers:c,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:h,fallbackFormat:p,unresolving:g,postTranslation:m,processor:b,warnHtmlMessage:_,escapeParameter:C,messageCompiler:S,messageResolver:w,localeFallbacker:x,fallbackContext:y,onWarn:t,__meta:E};return R.datetimeFormats=s,R.numberFormats=l,R.__datetimeFormatters=k,R.__numberFormatters=T,__INTLIFY_PROD_DEVTOOLS__&&$$(R,n,E),R}function Ap(e,t,n,o,r){const{missing:i,onWarn:a}=e;if(i!==null){const s=i(e,n,t,r);return Ye(s)?s:t}else return t}function as(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function U$(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function q$(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let o=n+1;o<t.length;o++)if(U$(e,t[o]))return!0;return!1}function zd(e){return n=>K$(n,e)}function K$(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const o=n,r=o.c||o.cases;return e.plural(r.reduce((i,a)=>[...i,zv(e,a)],[]))}else return zv(e,n)}function zv(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const o=(t.i||t.items).reduce((r,i)=>[...r,Jf(e,i)],[]);return e.normalize(o)}}function Jf(e,t){const n=t.t||t.type;switch(n){case 3:{const o=t;return o.v||o.value}case 9:{const o=t;return o.v||o.value}case 4:{const o=t;return e.interpolate(e.named(o.k||o.key))}case 5:{const o=t;return e.interpolate(e.list(o.i!=null?o.i:o.index))}case 6:{const o=t,r=o.m||o.modifier;return e.linked(Jf(e,o.k||o.key),r?Jf(e,r):void 0,e.type)}case 7:{const o=t;return o.v||o.value}case 8:{const o=t;return o.v||o.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const OC=e=>e;let ua=Object.create(null);const Ta=e=>Nt(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function MC(e,t={}){let n=!1;const o=t.onError||jE;return t.onError=r=>{n=!0,o(r)},{...d$(e,t),detectError:n}}const G$=(e,t)=>{if(!Ye(e))throw No(So.NOT_SUPPORT_NON_STRING_MESSAGE);{St(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||OC)(e),r=ua[o];if(r)return r;const{code:i,detectError:a}=MC(e,t),s=new Function(`return ${i}`)();return a?s:ua[o]=s}};function Y$(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&Ye(e)){St(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||OC)(e),r=ua[o];if(r)return r;const{ast:i,detectError:a}=MC(e,{...t,location:!1,jit:!0}),s=zd(i);return a?s:ua[o]=s}else{const n=e.cacheKey;if(n){const o=ua[n];return o||(ua[n]=zd(e))}else return zd(e)}}const Dv=()=>"",io=e=>Yt(e);function Lv(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,messageCompiler:i,fallbackLocale:a,messages:s}=e,[l,c]=Qf(...t),u=St(c.missingWarn)?c.missingWarn:e.missingWarn,d=St(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=St(c.escapeParameter)?c.escapeParameter:e.escapeParameter,h=!!c.resolvedMessage,p=Ye(c.default)||St(c.default)?St(c.default)?i?l:()=>l:c.default:n?i?l:()=>l:"",g=n||p!=="",m=$p(e,c);f&&X$(c);let[b,_,C]=h?[l,m,s[m]||{}]:zC(e,l,m,a,d,u),S=b,w=l;if(!h&&!(Ye(S)||Ta(S)||io(S))&&g&&(S=p,w=S),!h&&(!(Ye(S)||Ta(S)||io(S))||!Ye(_)))return r?bu:l;let x=!1;const y=()=>{x=!0},P=io(S)?S:DC(e,l,_,S,w,y);if(x)return S;const k=Q$(e,_,C,c),T=R$(k),E=Z$(e,P,T),R=o?o(E,l):E;if(__INTLIFY_PROD_DEVTOOLS__){const K={timestamp:Date.now(),key:Ye(l)?l:io(S)?S.key:"",locale:_||(io(S)?S.locale:""),format:Ye(S)?S:io(S)?S.source:"",message:R};K.meta=Pn({},e.__meta,j$()||{}),A$(K)}return R}function X$(e){tn(e.list)?e.list=e.list.map(t=>Ye(t)?Cv(t):t):Nt(e.named)&&Object.keys(e.named).forEach(t=>{Ye(e.named[t])&&(e.named[t]=Cv(e.named[t]))})}function zC(e,t,n,o,r,i){const{messages:a,onWarn:s,messageResolver:l,localeFallbacker:c}=e,u=c(e,o,n);let d={},f,h=null;const p="translate";for(let g=0;g<u.length&&(f=u[g],d=a[f]||{},(h=l(d,t))===null&&(h=d[t]),!(Ye(h)||Ta(h)||io(h)));g++)if(!q$(f,u)){const m=Ap(e,t,f,i,p);m!==t&&(h=m)}return[h,f,d]}function DC(e,t,n,o,r,i){const{messageCompiler:a,warnHtmlMessage:s}=e;if(io(o)){const c=o;return c.locale=c.locale||n,c.key=c.key||t,c}if(a==null){const c=()=>o;return c.locale=n,c.key=t,c}const l=a(o,J$(e,n,r,o,s,i));return l.locale=n,l.key=t,l.source=o,l}function Z$(e,t,n){return t(n)}function Qf(...e){const[t,n,o]=e,r={};if(!Ye(t)&&!yn(t)&&!io(t)&&!Ta(t))throw No(So.INVALID_ARGUMENT);const i=yn(t)?String(t):(io(t),t);return yn(n)?r.plural=n:Ye(n)?r.default=n:gt(n)&&!gu(n)?r.named=n:tn(n)&&(r.list=n),yn(o)?r.plural=o:Ye(o)?r.default=o:gt(o)&&Pn(r,o),[i,r]}function J$(e,t,n,o,r,i){return{locale:t,key:n,warnHtmlMessage:r,onError:a=>{throw i&&i(a),a},onCacheKey:a=>RE(t,n,a)}}function Q$(e,t,n,o){const{modifiers:r,pluralRules:i,messageResolver:a,fallbackLocale:s,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,f={locale:t,modifiers:r,pluralRules:i,messages:h=>{let p=a(n,h);if(p==null&&u){const[,,g]=zC(u,h,t,s,l,c);p=a(g,h)}if(Ye(p)||Ta(p)){let g=!1;const b=DC(e,h,t,p,h,()=>{g=!0});return g?Dv:b}else return io(p)?p:Dv}};return e.processor&&(f.processor=e.processor),o.list&&(f.list=o.list),o.named&&(f.named=o.named),yn(o.plural)&&(f.pluralIndex=o.plural),f}function Fv(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:s}=e,[l,c,u,d]=eh(...t),f=St(u.missingWarn)?u.missingWarn:e.missingWarn;St(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const h=!!u.part,p=$p(e,u),g=a(e,r,p);if(!Ye(l)||l==="")return new Intl.DateTimeFormat(p,d).format(c);let m={},b,_=null;const C="datetime format";for(let x=0;x<g.length&&(b=g[x],m=n[b]||{},_=m[l],!gt(_));x++)Ap(e,l,b,f,C);if(!gt(_)||!Ye(b))return o?bu:l;let S=`${b}__${l}`;gu(d)||(S=`${S}__${JSON.stringify(d)}`);let w=s.get(S);return w||(w=new Intl.DateTimeFormat(b,Pn({},_,d)),s.set(S,w)),h?w.formatToParts(c):w.format(c)}const LC=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function eh(...e){const[t,n,o,r]=e,i={};let a={},s;if(Ye(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw No(So.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();s=new Date(c);try{s.toISOString()}catch{throw No(So.INVALID_ISO_DATE_ARGUMENT)}}else if($E(t)){if(isNaN(t.getTime()))throw No(So.INVALID_DATE_ARGUMENT);s=t}else if(yn(t))s=t;else throw No(So.INVALID_ARGUMENT);return Ye(n)?i.key=n:gt(n)&&Object.keys(n).forEach(l=>{LC.includes(l)?a[l]=n[l]:i[l]=n[l]}),Ye(o)?i.locale=o:gt(o)&&(a=o),gt(r)&&(a=r),[i.key||"",s,i,a]}function Bv(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__datetimeFormatters.has(i)&&o.__datetimeFormatters.delete(i)}}function Nv(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:s}=e,[l,c,u,d]=th(...t),f=St(u.missingWarn)?u.missingWarn:e.missingWarn;St(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const h=!!u.part,p=$p(e,u),g=a(e,r,p);if(!Ye(l)||l==="")return new Intl.NumberFormat(p,d).format(c);let m={},b,_=null;const C="number format";for(let x=0;x<g.length&&(b=g[x],m=n[b]||{},_=m[l],!gt(_));x++)Ap(e,l,b,f,C);if(!gt(_)||!Ye(b))return o?bu:l;let S=`${b}__${l}`;gu(d)||(S=`${S}__${JSON.stringify(d)}`);let w=s.get(S);return w||(w=new Intl.NumberFormat(b,Pn({},_,d)),s.set(S,w)),h?w.formatToParts(c):w.format(c)}const FC=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function th(...e){const[t,n,o,r]=e,i={};let a={};if(!yn(t))throw No(So.INVALID_ARGUMENT);const s=t;return Ye(n)?i.key=n:gt(n)&&Object.keys(n).forEach(l=>{FC.includes(l)?a[l]=n[l]:i[l]=n[l]}),Ye(o)?i.locale=o:gt(o)&&(a=o),gt(r)&&(a=r),[i.key||"",s,i,a]}function Hv(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__numberFormatters.has(i)&&o.__numberFormatters.delete(i)}}f$();/*!
* vue-i18n v9.14.0
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const eA="9.14.0";function tA(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(ir().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(ir().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(ir().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(ir().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ir().__INTLIFY_PROD_DEVTOOLS__=!1)}const BC=O$.__EXTEND_POINT__,er=vu(BC);er(),er(),er(),er(),er(),er(),er(),er(),er();const NC=So.__EXTEND_POINT__,Fn=vu(NC),Cn={UNEXPECTED_RETURN_TYPE:NC,INVALID_ARGUMENT:Fn(),MUST_BE_CALL_SETUP_TOP:Fn(),NOT_INSTALLED:Fn(),NOT_AVAILABLE_IN_LEGACY_MODE:Fn(),REQUIRED_VALUE:Fn(),INVALID_VALUE:Fn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Fn(),NOT_INSTALLED_WITH_PROVIDE:Fn(),UNEXPECTED_ERROR:Fn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Fn(),BRIDGE_SUPPORT_VUE_2_ONLY:Fn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Fn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Fn(),__EXTEND_POINT__:Fn()};function kn(e,...t){return Ba(e,null,void 0)}const nh=Yr("__translateVNode"),oh=Yr("__datetimeParts"),rh=Yr("__numberParts"),HC=Yr("__setPluralRules"),jC=Yr("__injectWithOption"),ih=Yr("__dispose");function qs(e){if(!Nt(e))return e;for(const t in e)if(Sc(e,t))if(!t.includes("."))Nt(e[t])&&qs(e[t]);else{const n=t.split("."),o=n.length-1;let r=e,i=!1;for(let a=0;a<o;a++){if(n[a]in r||(r[n[a]]={}),!Nt(r[n[a]])){i=!0;break}r=r[n[a]]}i||(r[n[o]]=e[t],delete e[t]),Nt(r[n[o]])&&qs(r[n[o]])}return e}function yu(e,t){const{messages:n,__i18n:o,messageResolver:r,flatJson:i}=t,a=gt(n)?n:tn(o)?{}:{[e]:{}};if(tn(o)&&o.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:l,resource:c}=s;l?(a[l]=a[l]||{},ac(c,a[l])):ac(c,a)}else Ye(s)&&ac(JSON.parse(s),a)}),r==null&&i)for(const s in a)Sc(a,s)&&qs(a[s]);return a}function VC(e){return e.type}function WC(e,t,n){let o=Nt(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=yu(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);r.length&&r.forEach(i=>{e.mergeLocaleMessage(i,o[i])});{if(Nt(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(Nt(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function jv(e){return ie(za,null,e,0)}const Vv="__INTLIFY_META__",Wv=()=>[],nA=()=>!1;let Uv=0;function qv(e){return(t,n,o,r)=>e(n,o,to()||void 0,r)}const oA=()=>{const e=to();let t=null;return e&&(t=VC(e)[Vv])?{[Vv]:t}:null};function Ip(e={},t){const{__root:n,__injectWithOption:o}=e,r=n===void 0,i=e.flatJson,a=_c?W:Oa,s=!!e.translateExistCompatible;let l=St(e.inheritLocale)?e.inheritLocale:!0;const c=a(n&&l?n.locale.value:Ye(e.locale)?e.locale:Pa),u=a(n&&l?n.fallbackLocale.value:Ye(e.fallbackLocale)||tn(e.fallbackLocale)||gt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),d=a(yu(c.value,e)),f=a(gt(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),h=a(gt(e.numberFormats)?e.numberFormats:{[c.value]:{}});let p=n?n.missingWarn:St(e.missingWarn)||Nr(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:St(e.fallbackWarn)||Nr(e.fallbackWarn)?e.fallbackWarn:!0,m=n?n.fallbackRoot:St(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,_=Yt(e.missing)?e.missing:null,C=Yt(e.missing)?qv(e.missing):null,S=Yt(e.postTranslation)?e.postTranslation:null,w=n?n.warnHtmlMessage:St(e.warnHtmlMessage)?e.warnHtmlMessage:!0,x=!!e.escapeParameter;const y=n?n.modifiers:gt(e.modifiers)?e.modifiers:{};let P=e.pluralRules||n&&n.pluralRules,k;k=(()=>{r&&Ov(null);const re={version:eA,locale:c.value,fallbackLocale:u.value,messages:d.value,modifiers:y,pluralRules:P,missing:C===null?void 0:C,missingWarn:p,fallbackWarn:g,fallbackFormat:b,unresolving:!0,postTranslation:S===null?void 0:S,warnHtmlMessage:w,escapeParameter:x,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};re.datetimeFormats=f.value,re.numberFormats=h.value,re.__datetimeFormatters=gt(k)?k.__datetimeFormatters:void 0,re.__numberFormatters=gt(k)?k.__numberFormatters:void 0;const de=W$(re);return r&&Ov(de),de})(),as(k,c.value,u.value);function E(){return[c.value,u.value,d.value,f.value,h.value]}const R=F({get:()=>c.value,set:re=>{c.value=re,k.locale=c.value}}),K=F({get:()=>u.value,set:re=>{u.value=re,k.fallbackLocale=u.value,as(k,c.value,re)}}),N=F(()=>d.value),D=F(()=>f.value),M=F(()=>h.value);function G(){return Yt(S)?S:null}function J(re){S=re,k.postTranslation=re}function he(){return _}function pe(re){re!==null&&(C=qv(re)),_=re,k.missing=C}const B=(re,de,De,Le,Pe,Fe)=>{E();let He;try{__INTLIFY_PROD_DEVTOOLS__,r||(k.fallbackContext=n?V$():void 0),He=re(k)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(k.fallbackContext=void 0)}if(De!=="translate exists"&&yn(He)&&He===bu||De==="translate exists"&&!He){const[Ie,Qe]=de();return n&&m?Le(n):Pe(Ie)}else{if(Fe(He))return He;throw kn(Cn.UNEXPECTED_RETURN_TYPE)}};function $(...re){return B(de=>Reflect.apply(Lv,null,[de,...re]),()=>Qf(...re),"translate",de=>Reflect.apply(de.t,de,[...re]),de=>de,de=>Ye(de))}function A(...re){const[de,De,Le]=re;if(Le&&!Nt(Le))throw kn(Cn.INVALID_ARGUMENT);return $(de,De,Pn({resolvedMessage:!0},Le||{}))}function Y(...re){return B(de=>Reflect.apply(Fv,null,[de,...re]),()=>eh(...re),"datetime format",de=>Reflect.apply(de.d,de,[...re]),()=>$v,de=>Ye(de))}function ne(...re){return B(de=>Reflect.apply(Nv,null,[de,...re]),()=>th(...re),"number format",de=>Reflect.apply(de.n,de,[...re]),()=>$v,de=>Ye(de))}function fe(re){return re.map(de=>Ye(de)||yn(de)||St(de)?jv(String(de)):de)}const xe={normalize:fe,interpolate:re=>re,type:"vnode"};function H(...re){return B(de=>{let De;const Le=de;try{Le.processor=xe,De=Reflect.apply(Lv,null,[Le,...re])}finally{Le.processor=null}return De},()=>Qf(...re),"translate",de=>de[nh](...re),de=>[jv(de)],de=>tn(de))}function ye(...re){return B(de=>Reflect.apply(Nv,null,[de,...re]),()=>th(...re),"number format",de=>de[rh](...re),Wv,de=>Ye(de)||tn(de))}function Oe(...re){return B(de=>Reflect.apply(Fv,null,[de,...re]),()=>eh(...re),"datetime format",de=>de[oh](...re),Wv,de=>Ye(de)||tn(de))}function Ne(re){P=re,k.pluralRules=P}function L(re,de){return B(()=>{if(!re)return!1;const De=Ye(de)?de:c.value,Le=_e(De),Pe=k.messageResolver(Le,re);return s?Pe!=null:Ta(Pe)||io(Pe)||Ye(Pe)},()=>[re],"translate exists",De=>Reflect.apply(De.te,De,[re,de]),nA,De=>St(De))}function O(re){let de=null;const De=TC(k,u.value,c.value);for(let Le=0;Le<De.length;Le++){const Pe=d.value[De[Le]]||{},Fe=k.messageResolver(Pe,re);if(Fe!=null){de=Fe;break}}return de}function oe(re){const de=O(re);return de??(n?n.tm(re)||{}:{})}function _e(re){return d.value[re]||{}}function te(re,de){if(i){const De={[re]:de};for(const Le in De)Sc(De,Le)&&qs(De[Le]);de=De[re]}d.value[re]=de,k.messages=d.value}function ge(re,de){d.value[re]=d.value[re]||{};const De={[re]:de};if(i)for(const Le in De)Sc(De,Le)&&qs(De[Le]);de=De[re],ac(de,d.value[re]),k.messages=d.value}function ke(re){return f.value[re]||{}}function I(re,de){f.value[re]=de,k.datetimeFormats=f.value,Bv(k,re,de)}function j(re,de){f.value[re]=Pn(f.value[re]||{},de),k.datetimeFormats=f.value,Bv(k,re,de)}function ee(re){return h.value[re]||{}}function Ce(re,de){h.value[re]=de,k.numberFormats=h.value,Hv(k,re,de)}function ce(re,de){h.value[re]=Pn(h.value[re]||{},de),k.numberFormats=h.value,Hv(k,re,de)}Uv++,n&&_c&&(ft(n.locale,re=>{l&&(c.value=re,k.locale=re,as(k,c.value,u.value))}),ft(n.fallbackLocale,re=>{l&&(u.value=re,k.fallbackLocale=re,as(k,c.value,u.value))}));const le={id:Uv,locale:R,fallbackLocale:K,get inheritLocale(){return l},set inheritLocale(re){l=re,re&&n&&(c.value=n.locale.value,u.value=n.fallbackLocale.value,as(k,c.value,u.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:N,get modifiers(){return y},get pluralRules(){return P||{}},get isGlobal(){return r},get missingWarn(){return p},set missingWarn(re){p=re,k.missingWarn=p},get fallbackWarn(){return g},set fallbackWarn(re){g=re,k.fallbackWarn=g},get fallbackRoot(){return m},set fallbackRoot(re){m=re},get fallbackFormat(){return b},set fallbackFormat(re){b=re,k.fallbackFormat=b},get warnHtmlMessage(){return w},set warnHtmlMessage(re){w=re,k.warnHtmlMessage=re},get escapeParameter(){return x},set escapeParameter(re){x=re,k.escapeParameter=re},t:$,getLocaleMessage:_e,setLocaleMessage:te,mergeLocaleMessage:ge,getPostTranslationHandler:G,setPostTranslationHandler:J,getMissingHandler:he,setMissingHandler:pe,[HC]:Ne};return le.datetimeFormats=D,le.numberFormats=M,le.rt=A,le.te=L,le.tm=oe,le.d=Y,le.n=ne,le.getDateTimeFormat=ke,le.setDateTimeFormat=I,le.mergeDateTimeFormat=j,le.getNumberFormat=ee,le.setNumberFormat=Ce,le.mergeNumberFormat=ce,le[jC]=o,le[nh]=H,le[oh]=Oe,le[rh]=ye,le}function rA(e){const t=Ye(e.locale)?e.locale:Pa,n=Ye(e.fallbackLocale)||tn(e.fallbackLocale)||gt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=Yt(e.missing)?e.missing:void 0,r=St(e.silentTranslationWarn)||Nr(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=St(e.silentFallbackWarn)||Nr(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=St(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,l=gt(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Yt(e.postTranslation)?e.postTranslation:void 0,d=Ye(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,h=St(e.sync)?e.sync:!0;let p=e.messages;if(gt(e.sharedMessages)){const x=e.sharedMessages;p=Object.keys(x).reduce((P,k)=>{const T=P[k]||(P[k]={});return Pn(T,x[k]),P},p||{})}const{__i18n:g,__root:m,__injectWithOption:b}=e,_=e.datetimeFormats,C=e.numberFormats,S=e.flatJson,w=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:p,flatJson:S,datetimeFormats:_,numberFormats:C,missing:o,missingWarn:r,fallbackWarn:i,fallbackRoot:a,fallbackFormat:s,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:h,translateExistCompatible:w,__i18n:g,__root:m,__injectWithOption:b}}function ah(e={},t){{const n=Ip(rA(e)),{__extender:o}=e,r={id:n.id,get locale(){return n.locale.value},set locale(i){n.locale.value=i},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(i){n.fallbackLocale.value=i},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return n.getMissingHandler()},set missing(i){n.setMissingHandler(i)},get silentTranslationWarn(){return St(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=St(i)?!i:i},get silentFallbackWarn(){return St(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=St(i)?!i:i},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(i){n.fallbackFormat=i},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(i){n.setPostTranslationHandler(i)},get sync(){return n.inheritLocale},set sync(i){n.inheritLocale=i},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){n.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(i){n.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...i){const[a,s,l]=i,c={};let u=null,d=null;if(!Ye(a))throw kn(Cn.INVALID_ARGUMENT);const f=a;return Ye(s)?c.locale=s:tn(s)?u=s:gt(s)&&(d=s),tn(l)?u=l:gt(l)&&(d=l),Reflect.apply(n.t,n,[f,u||d||{},c])},rt(...i){return Reflect.apply(n.rt,n,[...i])},tc(...i){const[a,s,l]=i,c={plural:1};let u=null,d=null;if(!Ye(a))throw kn(Cn.INVALID_ARGUMENT);const f=a;return Ye(s)?c.locale=s:yn(s)?c.plural=s:tn(s)?u=s:gt(s)&&(d=s),Ye(l)?c.locale=l:tn(l)?u=l:gt(l)&&(d=l),Reflect.apply(n.t,n,[f,u||d||{},c])},te(i,a){return n.te(i,a)},tm(i){return n.tm(i)},getLocaleMessage(i){return n.getLocaleMessage(i)},setLocaleMessage(i,a){n.setLocaleMessage(i,a)},mergeLocaleMessage(i,a){n.mergeLocaleMessage(i,a)},d(...i){return Reflect.apply(n.d,n,[...i])},getDateTimeFormat(i){return n.getDateTimeFormat(i)},setDateTimeFormat(i,a){n.setDateTimeFormat(i,a)},mergeDateTimeFormat(i,a){n.mergeDateTimeFormat(i,a)},n(...i){return Reflect.apply(n.n,n,[...i])},getNumberFormat(i){return n.getNumberFormat(i)},setNumberFormat(i,a){n.setNumberFormat(i,a)},mergeNumberFormat(i,a){n.mergeNumberFormat(i,a)},getChoiceIndex(i,a){return-1}};return r.__extender=o,r}}const Op={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function iA({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,r)=>[...o,...r.type===it?r.children:[r]],[]):t.reduce((n,o)=>{const r=e[o];return r&&(n[o]=r()),n},{})}function UC(e){return it}const aA=be({name:"i18n-t",props:Pn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>yn(e)||!isNaN(e)}},Op),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||Mp({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(d=>d!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=Ye(e.plural)?+e.plural:e.plural);const s=iA(t,i),l=r[nh](e.keypath,s,a),c=Pn({},o),u=Ye(e.tag)||Nt(e.tag)?e.tag:UC();return v(u,c,l)}}}),Kv=aA;function sA(e){return tn(e)&&!Ye(e[0])}function qC(e,t,n,o){const{slots:r,attrs:i}=t;return()=>{const a={part:!0};let s={};e.locale&&(a.locale=e.locale),Ye(e.format)?a.key=e.format:Nt(e.format)&&(Ye(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce((f,h)=>n.includes(h)?Pn({},f,{[h]:e.format[h]}):f,{}));const l=o(e.value,a,s);let c=[a.key];tn(l)?c=l.map((f,h)=>{const p=r[f.type],g=p?p({[f.type]:f.value,index:h,parts:l}):[f.value];return sA(g)&&(g[0].key=`${f.type}-${h}`),g}):Ye(l)&&(c=[l]);const u=Pn({},i),d=Ye(e.tag)||Nt(e.tag)?e.tag:UC();return v(d,u,c)}}const lA=be({name:"i18n-n",props:Pn({value:{type:Number,required:!0},format:{type:[String,Object]}},Op),setup(e,t){const n=e.i18n||Mp({useScope:e.scope,__useComponent:!0});return qC(e,t,FC,(...o)=>n[rh](...o))}}),Gv=lA,cA=be({name:"i18n-d",props:Pn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Op),setup(e,t){const n=e.i18n||Mp({useScope:e.scope,__useComponent:!0});return qC(e,t,LC,(...o)=>n[oh](...o))}}),Yv=cA;function uA(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function dA(e){const t=a=>{const{instance:s,modifiers:l,value:c}=a;if(!s||!s.$)throw kn(Cn.UNEXPECTED_ERROR);const u=uA(e,s.$),d=Xv(c);return[Reflect.apply(u.t,u,[...Zv(d)]),u]};return{created:(a,s)=>{const[l,c]=t(s);_c&&e.global===c&&(a.__i18nWatcher=ft(c.locale,()=>{s.instance&&s.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{_c&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:s})=>{if(a.__composer){const l=a.__composer,c=Xv(s);a.textContent=Reflect.apply(l.t,l,[...Zv(c)])}},getSSRProps:a=>{const[s]=t(a);return{textContent:s}}}}function Xv(e){if(Ye(e))return{path:e};if(gt(e)){if(!("path"in e))throw kn(Cn.REQUIRED_VALUE,"path");return e}else throw kn(Cn.INVALID_VALUE)}function Zv(e){const{path:t,locale:n,args:o,choice:r,plural:i}=e,a={},s=o||{};return Ye(n)&&(a.locale=n),yn(r)&&(a.plural=r),yn(i)&&(a.plural=i),[t,s,a]}function fA(e,t,...n){const o=gt(n[0])?n[0]:{},r=!!o.useI18nComponentName;(St(o.globalInstall)?o.globalInstall:!0)&&([r?"i18n":Kv.name,"I18nT"].forEach(a=>e.component(a,Kv)),[Gv.name,"I18nN"].forEach(a=>e.component(a,Gv)),[Yv.name,"I18nD"].forEach(a=>e.component(a,Yv))),e.directive("t",dA(t))}function hA(e,t,n){return{beforeCreate(){const o=to();if(!o)throw kn(Cn.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const i=r.i18n;if(r.__i18n&&(i.__i18n=r.__i18n),i.__root=t,this===this.$root)this.$i18n=Jv(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=ah(i);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=Jv(e,r);else{this.$i18n=ah({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&WC(t,r,r),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,a)=>this.$i18n.te(i,a),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const o=to();if(!o)throw kn(Cn.UNEXPECTED_ERROR);const r=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),n.__deleteInstance(o),delete this.$i18n}}}function Jv(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[HC](t.pluralizationRules||e.pluralizationRules);const n=yu(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const pA=Yr("global-vue-i18n");function mA(e={},t){const n=__VUE_I18N_LEGACY_API__&&St(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=St(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,i=new Map,[a,s]=gA(e,n),l=Yr("");function c(f){return i.get(f)||null}function u(f,h){i.set(f,h)}function d(f){i.delete(f)}{const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return r},async install(h,...p){if(h.__VUE_I18N_SYMBOL__=l,h.provide(h.__VUE_I18N_SYMBOL__,f),gt(p[0])){const b=p[0];f.__composerExtend=b.__composerExtend,f.__vueI18nExtend=b.__vueI18nExtend}let g=null;!n&&o&&(g=kA(h,f.global)),__VUE_I18N_FULL_INSTALL__&&fA(h,f,...p),__VUE_I18N_LEGACY_API__&&n&&h.mixin(hA(s,s.__composer,f));const m=h.unmount;h.unmount=()=>{g&&g(),f.dispose(),m()}},get global(){return s},dispose(){a.stop()},__instances:i,__getInstance:c,__setInstance:u,__deleteInstance:d};return f}}function Mp(e={}){const t=to();if(t==null)throw kn(Cn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw kn(Cn.NOT_INSTALLED);const n=vA(t),o=yA(n),r=VC(t),i=bA(e,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw kn(Cn.NOT_AVAILABLE_IN_LEGACY_MODE);return _A(t,i,o,e)}if(i==="global")return WC(o,e,r),o;if(i==="parent"){let l=xA(n,t,e.__useComponent);return l==null&&(l=o),l}const a=n;let s=a.__getInstance(t);if(s==null){const l=Pn({},e);"__i18n"in r&&(l.__i18n=r.__i18n),o&&(l.__root=o),s=Ip(l),a.__composerExtend&&(s[ih]=a.__composerExtend(s)),wA(a,t,s),a.__setInstance(t,s)}return s}function gA(e,t,n){const o=Xh();{const r=__VUE_I18N_LEGACY_API__&&t?o.run(()=>ah(e)):o.run(()=>Ip(e));if(r==null)throw kn(Cn.UNEXPECTED_ERROR);return[o,r]}}function vA(e){{const t=Ue(e.isCE?pA:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw kn(e.isCE?Cn.NOT_INSTALLED_WITH_PROVIDE:Cn.UNEXPECTED_ERROR);return t}}function bA(e,t){return gu(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function yA(e){return e.mode==="composition"?e.global:e.global.__composer}function xA(e,t,n=!1){let o=null;const r=t.root;let i=CA(t,n);for(;i!=null;){const a=e;if(e.mode==="composition")o=a.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const s=a.__getInstance(i);s!=null&&(o=s.__composer,n&&o&&!o[jC]&&(o=null))}if(o!=null||r===i)break;i=i.parent}return o}function CA(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function wA(e,t,n){jt(()=>{},t),Ma(()=>{const o=n;e.__deleteInstance(t);const r=o[ih];r&&(r(),delete o[ih])},t)}function _A(e,t,n,o={}){const r=t==="local",i=Oa(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw kn(Cn.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=St(o.inheritLocale)?o.inheritLocale:!Ye(o.locale),s=W(!r||a?n.locale.value:Ye(o.locale)?o.locale:Pa),l=W(!r||a?n.fallbackLocale.value:Ye(o.fallbackLocale)||tn(o.fallbackLocale)||gt(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:s.value),c=W(yu(s.value,o)),u=W(gt(o.datetimeFormats)?o.datetimeFormats:{[s.value]:{}}),d=W(gt(o.numberFormats)?o.numberFormats:{[s.value]:{}}),f=r?n.missingWarn:St(o.missingWarn)||Nr(o.missingWarn)?o.missingWarn:!0,h=r?n.fallbackWarn:St(o.fallbackWarn)||Nr(o.fallbackWarn)?o.fallbackWarn:!0,p=r?n.fallbackRoot:St(o.fallbackRoot)?o.fallbackRoot:!0,g=!!o.fallbackFormat,m=Yt(o.missing)?o.missing:null,b=Yt(o.postTranslation)?o.postTranslation:null,_=r?n.warnHtmlMessage:St(o.warnHtmlMessage)?o.warnHtmlMessage:!0,C=!!o.escapeParameter,S=r?n.modifiers:gt(o.modifiers)?o.modifiers:{},w=o.pluralRules||r&&n.pluralRules;function x(){return[s.value,l.value,c.value,u.value,d.value]}const y=F({get:()=>i.value?i.value.locale.value:s.value,set:O=>{i.value&&(i.value.locale.value=O),s.value=O}}),P=F({get:()=>i.value?i.value.fallbackLocale.value:l.value,set:O=>{i.value&&(i.value.fallbackLocale.value=O),l.value=O}}),k=F(()=>i.value?i.value.messages.value:c.value),T=F(()=>u.value),E=F(()=>d.value);function R(){return i.value?i.value.getPostTranslationHandler():b}function K(O){i.value&&i.value.setPostTranslationHandler(O)}function N(){return i.value?i.value.getMissingHandler():m}function D(O){i.value&&i.value.setMissingHandler(O)}function M(O){return x(),O()}function G(...O){return i.value?M(()=>Reflect.apply(i.value.t,null,[...O])):M(()=>"")}function J(...O){return i.value?Reflect.apply(i.value.rt,null,[...O]):""}function he(...O){return i.value?M(()=>Reflect.apply(i.value.d,null,[...O])):M(()=>"")}function pe(...O){return i.value?M(()=>Reflect.apply(i.value.n,null,[...O])):M(()=>"")}function B(O){return i.value?i.value.tm(O):{}}function $(O,oe){return i.value?i.value.te(O,oe):!1}function A(O){return i.value?i.value.getLocaleMessage(O):{}}function Y(O,oe){i.value&&(i.value.setLocaleMessage(O,oe),c.value[O]=oe)}function ne(O,oe){i.value&&i.value.mergeLocaleMessage(O,oe)}function fe(O){return i.value?i.value.getDateTimeFormat(O):{}}function Q(O,oe){i.value&&(i.value.setDateTimeFormat(O,oe),u.value[O]=oe)}function xe(O,oe){i.value&&i.value.mergeDateTimeFormat(O,oe)}function H(O){return i.value?i.value.getNumberFormat(O):{}}function ye(O,oe){i.value&&(i.value.setNumberFormat(O,oe),d.value[O]=oe)}function Oe(O,oe){i.value&&i.value.mergeNumberFormat(O,oe)}const Ne={get id(){return i.value?i.value.id:-1},locale:y,fallbackLocale:P,messages:k,datetimeFormats:T,numberFormats:E,get inheritLocale(){return i.value?i.value.inheritLocale:a},set inheritLocale(O){i.value&&(i.value.inheritLocale=O)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(c.value)},get modifiers(){return i.value?i.value.modifiers:S},get pluralRules(){return i.value?i.value.pluralRules:w},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:f},set missingWarn(O){i.value&&(i.value.missingWarn=O)},get fallbackWarn(){return i.value?i.value.fallbackWarn:h},set fallbackWarn(O){i.value&&(i.value.missingWarn=O)},get fallbackRoot(){return i.value?i.value.fallbackRoot:p},set fallbackRoot(O){i.value&&(i.value.fallbackRoot=O)},get fallbackFormat(){return i.value?i.value.fallbackFormat:g},set fallbackFormat(O){i.value&&(i.value.fallbackFormat=O)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:_},set warnHtmlMessage(O){i.value&&(i.value.warnHtmlMessage=O)},get escapeParameter(){return i.value?i.value.escapeParameter:C},set escapeParameter(O){i.value&&(i.value.escapeParameter=O)},t:G,getPostTranslationHandler:R,setPostTranslationHandler:K,getMissingHandler:N,setMissingHandler:D,rt:J,d:he,n:pe,tm:B,te:$,getLocaleMessage:A,setLocaleMessage:Y,mergeLocaleMessage:ne,getDateTimeFormat:fe,setDateTimeFormat:Q,mergeDateTimeFormat:xe,getNumberFormat:H,setNumberFormat:ye,mergeNumberFormat:Oe};function L(O){O.locale.value=s.value,O.fallbackLocale.value=l.value,Object.keys(c.value).forEach(oe=>{O.mergeLocaleMessage(oe,c.value[oe])}),Object.keys(u.value).forEach(oe=>{O.mergeDateTimeFormat(oe,u.value[oe])}),Object.keys(d.value).forEach(oe=>{O.mergeNumberFormat(oe,d.value[oe])}),O.escapeParameter=C,O.fallbackFormat=g,O.fallbackRoot=p,O.fallbackWarn=h,O.missingWarn=f,O.warnHtmlMessage=_}return hn(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw kn(Cn.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const O=i.value=e.proxy.$i18n.__composer;t==="global"?(s.value=O.locale.value,l.value=O.fallbackLocale.value,c.value=O.messages.value,u.value=O.datetimeFormats.value,d.value=O.numberFormats.value):r&&L(O)}),Ne}const SA=["locale","fallbackLocale","availableLocales"],Qv=["t","rt","d","n","tm","te"];function kA(e,t){const n=Object.create(null);return SA.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i)throw kn(Cn.UNEXPECTED_ERROR);const a=cn(i.value)?{get(){return i.value.value},set(s){i.value.value=s}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,r,a)}),e.config.globalProperties.$i18n=n,Qv.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i||!i.value)throw kn(Cn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,i)}),()=>{delete e.config.globalProperties.$i18n,Qv.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}tA();__INTLIFY_JIT_COMPILATION__?Iv(Y$):Iv(G$);B$(x$);N$(TC);if(__INTLIFY_PROD_DEVTOOLS__){const e=ir();e.__INTLIFY__=!0,E$(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const KC="locale";function xu(){return il.get(KC)}function GC(e){il.set(KC,e)}const YC=Object.keys(Object.assign({"./lang/en-US.json":()=>wt(()=>Promise.resolve().then(()=>Bk),void 0),"./lang/fa-IR.json":()=>wt(()=>Promise.resolve().then(()=>Nk),void 0),"./lang/ja-JP.json":()=>wt(()=>Promise.resolve().then(()=>Hk),void 0),"./lang/ko-KR.json":()=>wt(()=>Promise.resolve().then(()=>jk),void 0),"./lang/vi-VN.json":()=>wt(()=>Promise.resolve().then(()=>Vk),void 0),"./lang/zh-CN.json":()=>wt(()=>Promise.resolve().then(()=>Wk),void 0),"./lang/zh-TW.json":()=>wt(()=>Promise.resolve().then(()=>Uk),void 0)})).map(e=>e.slice(7,-5));function PA(){const e=navigator.language,t="zh-CN",o=YC.includes(e)?e:t;return xu().value||GC(o),o}const mn=mA({locale:xu().value||PA(),fallbackLocale:"en-US",messages:{}});async function TA(){await Promise.all(YC.map(async e=>{const t=await TE(Object.assign({"./lang/en-US.json":()=>wt(()=>Promise.resolve().then(()=>Bk),void 0),"./lang/fa-IR.json":()=>wt(()=>Promise.resolve().then(()=>Nk),void 0),"./lang/ja-JP.json":()=>wt(()=>Promise.resolve().then(()=>Hk),void 0),"./lang/ko-KR.json":()=>wt(()=>Promise.resolve().then(()=>jk),void 0),"./lang/vi-VN.json":()=>wt(()=>Promise.resolve().then(()=>Vk),void 0),"./lang/zh-CN.json":()=>wt(()=>Promise.resolve().then(()=>Wk),void 0),"./lang/zh-TW.json":()=>wt(()=>Promise.resolve().then(()=>Uk),void 0)}),`./lang/${e}.json`).then(n=>n.default||n);mn.global.setLocaleMessage(e,t)}))}async function RA(e){e.use(mn),TA()}const sh={"zh-CN":"简体中文","zh-TW":"繁體中文","en-US":"English","fa-IR":"Iran","ja-JP":"日本語","vi-VN":"Tiếng Việt","ko-KR":"한국어"},lh=e=>mn.global.t(e);function Wo(e=void 0,t="YYYY-MM-DD HH:mm:ss"){return e==null?"":(e.toString().length===10&&(e=e*1e3),SE(e).format(t))}function zp(e=void 0,t="YYYY-MM-DD"){return Wo(e,t)}function da(e){const t=typeof e=="string"?parseFloat(e):e;return isNaN(t)?"0.00":t.toFixed(2)}function rn(e){const t=typeof e=="string"?parseFloat(e):e;return isNaN(t)?"0.00":(t/100).toFixed(2)}function ma(e){navigator.clipboard?navigator.clipboard.writeText(e).then(()=>{window.$message.success(lh("复制成功"))}).catch(t=>{console.error("复制到剪贴板时出错:",t),eb(e)}):eb(e)}function eb(e){const t=document.createElement("button"),n=new PE(t,{text:()=>e});n.on("success",()=>{window.$message.success(lh("复制成功")),n.destroy()}),n.on("error",()=>{window.$message.error(lh("复制失败")),n.destroy()}),t.click()}function EA(e,t){if(e.length!==t.length)return!1;const n=[...e].sort(),o=[...t].sort();return n.every((r,i)=>r===o[i])}function Ps(e){const t=e/1024,n=t/1024,o=n/1024,r=o/1024;return r>=1?da(r)+" TB":o>=1?da(o)+" GB":n>=1?da(n)+" MB":da(t)+" KB"}function $A(e){return typeof e>"u"}function AA(e){return e===null}function tb(e){return e&&Array.isArray(e)}function XC(e){return AA(e)||$A(e)}function nb(e){return/^(https?:|mailto:|tel:)/.test(e)}const Ts=/^[a-z0-9]+(-[a-z0-9]+)*$/,Cu=(e,t,n,o="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const s=r.pop(),l=r.pop(),c={provider:r.length>0?r[0]:o,prefix:l,name:s};return t&&!sc(c)?null:c}const i=r[0],a=i.split("-");if(a.length>1){const s={provider:o,prefix:a.shift(),name:a.join("-")};return t&&!sc(s)?null:s}if(n&&o===""){const s={provider:o,prefix:"",name:i};return t&&!sc(s,n)?null:s}return null},sc=(e,t)=>e?!!((e.provider===""||e.provider.match(Ts))&&(t&&e.prefix===""||e.prefix.match(Ts))&&e.name.match(Ts)):!1,ZC=Object.freeze({left:0,top:0,width:16,height:16}),Pc=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),wu=Object.freeze({...ZC,...Pc}),ch=Object.freeze({...wu,body:"",hidden:!1});function IA(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}function ob(e,t){const n=IA(e,t);for(const o in ch)o in Pc?o in e&&!(o in n)&&(n[o]=Pc[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function OA(e,t){const n=e.icons,o=e.aliases||Object.create(null),r=Object.create(null);function i(a){if(n[a])return r[a]=[];if(!(a in r)){r[a]=null;const s=o[a]&&o[a].parent,l=s&&i(s);l&&(r[a]=[s].concat(l))}return r[a]}return(t||Object.keys(n).concat(Object.keys(o))).forEach(i),r}function MA(e,t,n){const o=e.icons,r=e.aliases||Object.create(null);let i={};function a(s){i=ob(o[s]||r[s],i)}return a(t),n.forEach(a),ob(e,i)}function JC(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(r=>{t(r,null),n.push(r)});const o=OA(e);for(const r in o){const i=o[r];i&&(t(r,MA(e,r,i)),n.push(r))}return n}const zA={provider:"",aliases:{},not_found:{},...ZC};function Dd(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function QC(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Dd(e,zA))return null;const n=t.icons;for(const r in n){const i=n[r];if(!r.match(Ts)||typeof i.body!="string"||!Dd(i,ch))return null}const o=t.aliases||Object.create(null);for(const r in o){const i=o[r],a=i.parent;if(!r.match(Ts)||typeof a!="string"||!n[a]&&!o[a]||!Dd(i,ch))return null}return t}const rb=Object.create(null);function DA(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function $i(e,t){const n=rb[e]||(rb[e]=Object.create(null));return n[t]||(n[t]=DA(e,t))}function Dp(e,t){return QC(t)?JC(t,(n,o)=>{o?e.icons[n]=o:e.missing.add(n)}):[]}function LA(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Ks=!1;function ew(e){return typeof e=="boolean"&&(Ks=e),Ks}function FA(e){const t=typeof e=="string"?Cu(e,!0,Ks):e;if(t){const n=$i(t.provider,t.prefix),o=t.name;return n.icons[o]||(n.missing.has(o)?null:void 0)}}function BA(e,t){const n=Cu(e,!0,Ks);if(!n)return!1;const o=$i(n.provider,n.prefix);return LA(o,n.name,t)}function NA(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ks&&!t&&!e.prefix){let r=!1;return QC(e)&&(e.prefix="",JC(e,(i,a)=>{a&&BA(i,a)&&(r=!0)})),r}const n=e.prefix;if(!sc({provider:t,prefix:n,name:"a"}))return!1;const o=$i(t,n);return!!Dp(o,e)}const tw=Object.freeze({width:null,height:null}),nw=Object.freeze({...tw,...Pc}),HA=/(-?[0-9.]*[0-9]+[0-9.]*)/g,jA=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ib(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const o=e.split(HA);if(o===null||!o.length)return e;const r=[];let i=o.shift(),a=jA.test(i);for(;;){if(a){const s=parseFloat(i);isNaN(s)?r.push(i):r.push(Math.ceil(s*t*n)/n)}else r.push(i);if(i=o.shift(),i===void 0)return r.join("");a=!a}}function VA(e,t="defs"){let n="";const o=e.indexOf("<"+t);for(;o>=0;){const r=e.indexOf(">",o),i=e.indexOf("</"+t);if(r===-1||i===-1)break;const a=e.indexOf(">",i);if(a===-1)break;n+=e.slice(r+1,i).trim(),e=e.slice(0,o).trim()+e.slice(a+1)}return{defs:n,content:e}}function WA(e,t){return e?"<defs>"+e+"</defs>"+t:t}function UA(e,t,n){const o=VA(e);return WA(o.defs,t+o.content+n)}const qA=e=>e==="unset"||e==="undefined"||e==="none";function KA(e,t){const n={...wu,...e},o={...nw,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,o].forEach(g=>{const m=[],b=g.hFlip,_=g.vFlip;let C=g.rotate;b?_?C+=2:(m.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),m.push("scale(-1 1)"),r.top=r.left=0):_&&(m.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),m.push("scale(1 -1)"),r.top=r.left=0);let S;switch(C<0&&(C-=Math.floor(C/4)*4),C=C%4,C){case 1:S=r.height/2+r.top,m.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:m.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:S=r.width/2+r.left,m.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}C%2===1&&(r.left!==r.top&&(S=r.left,r.left=r.top,r.top=S),r.width!==r.height&&(S=r.width,r.width=r.height,r.height=S)),m.length&&(i=UA(i,'<g transform="'+m.join(" ")+'">',"</g>"))});const a=o.width,s=o.height,l=r.width,c=r.height;let u,d;a===null?(d=s===null?"1em":s==="auto"?c:s,u=ib(d,l/c)):(u=a==="auto"?l:a,d=s===null?ib(u,c/l):s==="auto"?c:s);const f={},h=(g,m)=>{qA(m)||(f[g]=m.toString())};h("width",u),h("height",d);const p=[r.left,r.top,l,c];return f.viewBox=p.join(" "),{attributes:f,viewBox:p,body:i}}const GA=/\sid="(\S+)"/g,YA="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let XA=0;function ZA(e,t=YA){const n=[];let o;for(;o=GA.exec(e);)n.push(o[1]);if(!n.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const a=typeof t=="function"?t(i):t+(XA++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+a+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const uh=Object.create(null);function JA(e,t){uh[e]=t}function dh(e){return uh[e]||uh[""]}function Lp(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Fp=Object.create(null),ss=["https://api.simplesvg.com","https://api.unisvg.com"],lc=[];for(;ss.length>0;)ss.length===1||Math.random()>.5?lc.push(ss.shift()):lc.push(ss.pop());Fp[""]=Lp({resources:["https://api.iconify.design"].concat(lc)});function QA(e,t){const n=Lp(t);return n===null?!1:(Fp[e]=n,!0)}function Bp(e){return Fp[e]}const e6=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let ab=e6();function t6(e,t){const n=Bp(e);if(!n)return 0;let o;if(!n.maxURL)o=0;else{let r=0;n.resources.forEach(a=>{r=Math.max(r,a.length)});const i=t+".json?icons=";o=n.maxURL-r-n.path.length-i.length}return o}function n6(e){return e===404}const o6=(e,t,n)=>{const o=[],r=t6(e,t),i="icons";let a={type:i,provider:e,prefix:t,icons:[]},s=0;return n.forEach((l,c)=>{s+=l.length+1,s>=r&&c>0&&(o.push(a),a={type:i,provider:e,prefix:t,icons:[]},s=l.length),a.icons.push(l)}),o.push(a),o};function r6(e){if(typeof e=="string"){const t=Bp(e);if(t)return t.path}return"/"}const i6=(e,t,n)=>{if(!ab){n("abort",424);return}let o=r6(t.provider);switch(t.type){case"icons":{const i=t.prefix,s=t.icons.join(","),l=new URLSearchParams({icons:s});o+=i+".json?"+l.toString();break}case"custom":{const i=t.uri;o+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let r=503;ab(e+o).then(i=>{const a=i.status;if(a!==200){setTimeout(()=>{n(n6(a)?"abort":"next",a)});return}return r=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",r)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",r)})},a6={prepare:o6,send:i6};function s6(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((r,i)=>r.provider!==i.provider?r.provider.localeCompare(i.provider):r.prefix!==i.prefix?r.prefix.localeCompare(i.prefix):r.name.localeCompare(i.name));let o={provider:"",prefix:"",name:""};return e.forEach(r=>{if(o.name===r.name&&o.prefix===r.prefix&&o.provider===r.provider)return;o=r;const i=r.provider,a=r.prefix,s=r.name,l=n[i]||(n[i]=Object.create(null)),c=l[a]||(l[a]=$i(i,a));let u;s in c.icons?u=t.loaded:a===""||c.missing.has(s)?u=t.missing:u=t.pending;const d={provider:i,prefix:a,name:s};u.push(d)}),t}function ow(e,t){e.forEach(n=>{const o=n.loaderCallbacks;o&&(n.loaderCallbacks=o.filter(r=>r.id!==t))})}function l6(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const o=e.provider,r=e.prefix;t.forEach(i=>{const a=i.icons,s=a.pending.length;a.pending=a.pending.filter(l=>{if(l.prefix!==r)return!0;const c=l.name;if(e.icons[c])a.loaded.push({provider:o,prefix:r,name:c});else if(e.missing.has(c))a.missing.push({provider:o,prefix:r,name:c});else return n=!0,!0;return!1}),a.pending.length!==s&&(n||ow([e],i.id),i.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),i.abort))})}))}let c6=0;function u6(e,t,n){const o=c6++,r=ow.bind(null,n,o);if(!t.pending.length)return r;const i={id:o,icons:t,callback:e,abort:r};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(i)}),r}function d6(e,t=!0,n=!1){const o=[];return e.forEach(r=>{const i=typeof r=="string"?Cu(r,t,n):r;i&&o.push(i)}),o}var f6={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function h6(e,t,n,o){const r=e.resources.length,i=e.random?Math.floor(Math.random()*r):e.index;let a;if(e.random){let x=e.resources.slice(0);for(a=[];x.length>1;){const y=Math.floor(Math.random()*x.length);a.push(x[y]),x=x.slice(0,y).concat(x.slice(y+1))}a=a.concat(x)}else a=e.resources.slice(i).concat(e.resources.slice(0,i));const s=Date.now();let l="pending",c=0,u,d=null,f=[],h=[];typeof o=="function"&&h.push(o);function p(){d&&(clearTimeout(d),d=null)}function g(){l==="pending"&&(l="aborted"),p(),f.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),f=[]}function m(x,y){y&&(h=[]),typeof x=="function"&&h.push(x)}function b(){return{startTime:s,payload:t,status:l,queriesSent:c,queriesPending:f.length,subscribe:m,abort:g}}function _(){l="failed",h.forEach(x=>{x(void 0,u)})}function C(){f.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),f=[]}function S(x,y,P){const k=y!=="success";switch(f=f.filter(T=>T!==x),l){case"pending":break;case"failed":if(k||!e.dataAfterTimeout)return;break;default:return}if(y==="abort"){u=P,_();return}if(k){u=P,f.length||(a.length?w():_());return}if(p(),C(),!e.random){const T=e.resources.indexOf(x.resource);T!==-1&&T!==e.index&&(e.index=T)}l="completed",h.forEach(T=>{T(P)})}function w(){if(l!=="pending")return;p();const x=a.shift();if(x===void 0){if(f.length){d=setTimeout(()=>{p(),l==="pending"&&(C(),_())},e.timeout);return}_();return}const y={status:"pending",resource:x,callback:(P,k)=>{S(y,P,k)}};f.push(y),c++,d=setTimeout(w,e.rotate),n(x,t,y.callback)}return setTimeout(w),b}function rw(e){const t={...f6,...e};let n=[];function o(){n=n.filter(s=>s().status==="pending")}function r(s,l,c){const u=h6(t,s,l,(d,f)=>{o(),c&&c(d,f)});return n.push(u),u}function i(s){return n.find(l=>s(l))||null}return{query:r,find:i,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:o}}function sb(){}const Ld=Object.create(null);function p6(e){if(!Ld[e]){const t=Bp(e);if(!t)return;const n=rw(t),o={config:t,redundancy:n};Ld[e]=o}return Ld[e]}function m6(e,t,n){let o,r;if(typeof e=="string"){const i=dh(e);if(!i)return n(void 0,424),sb;r=i.send;const a=p6(e);a&&(o=a.redundancy)}else{const i=Lp(e);if(i){o=rw(i);const a=e.resources?e.resources[0]:"",s=dh(a);s&&(r=s.send)}}return!o||!r?(n(void 0,424),sb):o.query(t,r,n)().abort}const lb="iconify2",Gs="iconify",iw=Gs+"-count",cb=Gs+"-version",aw=36e5,g6=168,v6=50;function fh(e,t){try{return e.getItem(t)}catch{}}function Np(e,t,n){try{return e.setItem(t,n),!0}catch{}}function ub(e,t){try{e.removeItem(t)}catch{}}function hh(e,t){return Np(e,iw,t.toString())}function ph(e){return parseInt(fh(e,iw))||0}const _u={local:!0,session:!0},sw={local:new Set,session:new Set};let Hp=!1;function b6(e){Hp=e}let El=typeof window>"u"?{}:window;function lw(e){const t=e+"Storage";try{if(El&&El[t]&&typeof El[t].length=="number")return El[t]}catch{}_u[e]=!1}function cw(e,t){const n=lw(e);if(!n)return;const o=fh(n,cb);if(o!==lb){if(o){const s=ph(n);for(let l=0;l<s;l++)ub(n,Gs+l.toString())}Np(n,cb,lb),hh(n,0);return}const r=Math.floor(Date.now()/aw)-g6,i=s=>{const l=Gs+s.toString(),c=fh(n,l);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>r&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,s))return!0}catch{}ub(n,l)}};let a=ph(n);for(let s=a-1;s>=0;s--)i(s)||(s===a-1?(a--,hh(n,a)):sw[e].add(s))}function uw(){if(!Hp){b6(!0);for(const e in _u)cw(e,t=>{const n=t.data,o=t.provider,r=n.prefix,i=$i(o,r);if(!Dp(i,n).length)return!1;const a=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,a):a,!0})}}function y6(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const o in _u)cw(o,r=>{const i=r.data;return r.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function x6(e,t){Hp||uw();function n(o){let r;if(!_u[o]||!(r=lw(o)))return;const i=sw[o];let a;if(i.size)i.delete(a=Array.from(i).shift());else if(a=ph(r),a>=v6||!hh(r,a+1))return;const s={cached:Math.floor(Date.now()/aw),provider:e.provider,data:t};return Np(r,Gs+a.toString(),JSON.stringify(s))}t.lastModified&&!y6(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function db(){}function C6(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,l6(e)}))}function w6(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:o}=e,r=e.iconsToLoad;delete e.iconsToLoad;let i;if(!r||!(i=dh(n)))return;i.prepare(n,o,r).forEach(s=>{m6(n,s,l=>{if(typeof l!="object")s.icons.forEach(c=>{e.missing.add(c)});else try{const c=Dp(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(d=>{u.delete(d)}),x6(e,l)}catch(c){console.error(c)}C6(e)})})}))}const _6=(e,t)=>{const n=d6(e,!0,ew()),o=s6(n);if(!o.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(o.loaded,o.missing,o.pending,db)}),()=>{l=!1}}const r=Object.create(null),i=[];let a,s;return o.pending.forEach(l=>{const{provider:c,prefix:u}=l;if(u===s&&c===a)return;a=c,s=u,i.push($i(c,u));const d=r[c]||(r[c]=Object.create(null));d[u]||(d[u]=[])}),o.pending.forEach(l=>{const{provider:c,prefix:u,name:d}=l,f=$i(c,u),h=f.pendingIcons||(f.pendingIcons=new Set);h.has(d)||(h.add(d),r[c][u].push(d))}),i.forEach(l=>{const{provider:c,prefix:u}=l;r[c][u].length&&w6(l,r[c][u])}),t?u6(t,o,i):db};function S6(e,t){const n={...e};for(const o in t){const r=t[o],i=typeof r;o in tw?(r===null||r&&(i==="string"||i==="number"))&&(n[o]=r):i===typeof n[o]&&(n[o]=o==="rotate"?r%4:r)}return n}const k6=/[\s,]+/;function P6(e,t){t.split(k6).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function T6(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(e);return isNaN(r)?0:o(r)}else if(n!==e){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/r,i%1===0?o(i):0)}}return t}function R6(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)n+=" "+o+'="'+t[o]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function E6(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function $6(e){return"data:image/svg+xml,"+E6(e)}function A6(e){return'url("'+$6(e)+'")'}const fb={...nw,inline:!1},I6={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},O6={display:"inline-block"},mh={backgroundColor:"currentColor"},dw={backgroundColor:"transparent"},hb={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},pb={webkitMask:mh,mask:mh,background:dw};for(const e in pb){const t=pb[e];for(const n in hb)t[e+n]=hb[n]}const cc={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";cc[e+"-flip"]=t,cc[e.slice(0,1)+"-flip"]=t,cc[e+"Flip"]=t});function mb(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const gb=(e,t)=>{const n=S6(fb,t),o={...I6},r=t.mode||"svg",i={},a=t.style,s=typeof a=="object"&&!(a instanceof Array)?a:{};for(let g in t){const m=t[g];if(m!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[g]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&P6(n,m);break;case"color":i.color=m;break;case"rotate":typeof m=="string"?n[g]=T6(m):typeof m=="number"&&(n[g]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete o["aria-hidden"];break;default:{const b=cc[g];b?(m===!0||m==="true"||m===1)&&(n[b]=!0):fb[g]===void 0&&(o[g]=m)}}}const l=KA(e,n),c=l.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),r==="svg"){o.style={...i,...s},Object.assign(o,c);let g=0,m=t.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),o.innerHTML=ZA(l.body,m?()=>m+"ID"+g++:"iconifyVue"),v("svg",o)}const{body:u,width:d,height:f}=e,h=r==="mask"||(r==="bg"?!1:u.indexOf("currentColor")!==-1),p=R6(u,{...c,width:d+"",height:f+""});return o.style={...i,"--svg":A6(p),width:mb(c.width),height:mb(c.height),...O6,...h?mh:dw,...s},v("span",o)};ew(!0);JA("",a6);if(typeof document<"u"&&typeof window<"u"){uw();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!NA(o))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const o="IconifyProviders["+n+"] is invalid.";try{const r=t[n];if(typeof r!="object"||!r||r.resources===void 0)continue;QA(n,r)||console.error(o)}catch{console.error(o)}}}}const M6={...wu,body:""},z6=be({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=Cu(e,!1,!0))===null)return this.abortLoading(),null;const o=FA(n);if(!o)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",o!==null&&(this._loadingIcon={name:e,abort:_6([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const r=["iconify"];return n.prefix!==""&&r.push("iconify--"+n.prefix),n.provider!==""&&r.push("iconify--"+n.provider),{data:o,classes:r}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted||e.ssr?this.getIcon(e.icon,e.onLoad):null;if(!t)return gb(M6,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),gb({...wu,...t.data},n)}});let Tc=[];const fw=new WeakMap;function D6(){Tc.forEach(e=>e(...fw.get(e))),Tc=[]}function Rc(e,...t){fw.set(e,t),!Tc.includes(e)&&Tc.push(e)===1&&requestAnimationFrame(D6)}function L6(e){return e.nodeType===9?null:e.parentNode}function hw(e){if(e===null)return null;const t=L6(e);if(t===null)return null;if(t.nodeType===9)return document.documentElement;if(t.nodeType===1){const{overflow:n,overflowX:o,overflowY:r}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(n+r+o))return t}return hw(t)}function F6(e){return typeof e=="string"?document.querySelector(e):typeof e=="function"?e():e}function so(e,t){let{target:n}=e;for(;n;){if(n.dataset&&n.dataset[t]!==void 0)return!0;n=n.parentElement}return!1}function Ai(e){return e.composedPath()[0]||null}function bn(e){return typeof e=="string"?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function zn(e){if(e!=null)return typeof e=="number"?`${e}px`:e.endsWith("px")?e:`${e}px`}function lo(e,t){const n=e.trim().split(/\s+/g),o={top:n[0]};switch(n.length){case 1:o.right=n[0],o.bottom=n[0],o.left=n[0];break;case 2:o.right=n[1],o.left=n[1],o.bottom=n[0];break;case 3:o.right=n[1],o.bottom=n[2],o.left=n[1];break;case 4:o.right=n[1],o.bottom=n[2],o.left=n[3];break;default:throw new Error("[seemly/getMargin]:"+e+" is not a valid value.")}return t===void 0?o:o[t]}function B6(e,t){const[n,o]=e.split(" ");return t?t==="row"?n:o:{row:n,col:o||n}}const vb={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},Na="^\\s*",Ha="\\s*$",gi="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",vi="([0-9A-Fa-f])",bi="([0-9A-Fa-f]{2})",N6=new RegExp(`${Na}rgb\\s*\\(${gi},${gi},${gi}\\)${Ha}`),H6=new RegExp(`${Na}rgba\\s*\\(${gi},${gi},${gi},${gi}\\)${Ha}`),j6=new RegExp(`${Na}#${vi}${vi}${vi}${Ha}`),V6=new RegExp(`${Na}#${bi}${bi}${bi}${Ha}`),W6=new RegExp(`${Na}#${vi}${vi}${vi}${vi}${Ha}`),U6=new RegExp(`${Na}#${bi}${bi}${bi}${bi}${Ha}`);function Bn(e){return parseInt(e,16)}function Uo(e){try{let t;if(t=V6.exec(e))return[Bn(t[1]),Bn(t[2]),Bn(t[3]),1];if(t=N6.exec(e))return[En(t[1]),En(t[5]),En(t[9]),1];if(t=H6.exec(e))return[En(t[1]),En(t[5]),En(t[9]),Rs(t[13])];if(t=j6.exec(e))return[Bn(t[1]+t[1]),Bn(t[2]+t[2]),Bn(t[3]+t[3]),1];if(t=U6.exec(e))return[Bn(t[1]),Bn(t[2]),Bn(t[3]),Rs(Bn(t[4])/255)];if(t=W6.exec(e))return[Bn(t[1]+t[1]),Bn(t[2]+t[2]),Bn(t[3]+t[3]),Rs(Bn(t[4]+t[4])/255)];if(e in vb)return Uo(vb[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function q6(e){return e>1?1:e<0?0:e}function gh(e,t,n,o){return`rgba(${En(e)}, ${En(t)}, ${En(n)}, ${q6(o)})`}function Fd(e,t,n,o,r){return En((e*t*(1-o)+n*o)/r)}function Ge(e,t){Array.isArray(e)||(e=Uo(e)),Array.isArray(t)||(t=Uo(t));const n=e[3],o=t[3],r=Rs(n+o-n*o);return gh(Fd(e[0],n,t[0],o,r),Fd(e[1],n,t[1],o,r),Fd(e[2],n,t[2],o,r),r)}function Me(e,t){const[n,o,r,i=1]=Array.isArray(e)?e:Uo(e);return t.alpha?gh(n,o,r,t.alpha):gh(n,o,r,i)}function un(e,t){const[n,o,r,i=1]=Array.isArray(e)?e:Uo(e),{lightness:a=1,alpha:s=1}=t;return K6([n*a,o*a,r*a,i*s])}function Rs(e){const t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function En(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function K6(e){const[t,n,o]=e;return 3 in e?`rgba(${En(t)}, ${En(n)}, ${En(o)}, ${Rs(e[3])})`:`rgba(${En(t)}, ${En(n)}, ${En(o)}, 1)`}function Zr(e=8){return Math.random().toString(16).slice(2,2+e)}function pw(e,t){const n=[];for(let o=0;o<e;++o)n.push(t);return n}function G6(e,t){const n=[];if(!t){for(let o=0;o<e;++o)n.push(o);return n}for(let o=0;o<e;++o)n.push(t(o));return n}function mw(e,t="default",n=[]){const r=e.$slots[t];return r===void 0?n:r()}function Qn(e,t=[],n){const o={};return t.forEach(r=>{o[r]=e[r]}),Object.assign(o,n)}function ja(e,t=[],n){const o={};return Object.getOwnPropertyNames(e).forEach(i=>{t.includes(i)||(o[i]=e[i])}),Object.assign(o,n)}function Ra(e,t=!0,n=[]){return e.forEach(o=>{if(o!==null){if(typeof o!="object"){(typeof o=="string"||typeof o=="number")&&n.push(nt(String(o)));return}if(Array.isArray(o)){Ra(o,t,n);return}if(o.type===it){if(o.children===null)return;Array.isArray(o.children)&&Ra(o.children,t,n)}else{if(o.type===_n&&t)return;n.push(o)}}}),n}function $e(e,...t){if(Array.isArray(e))e.forEach(n=>$e(n,...t));else return e(...t)}function Jr(e){return Object.keys(e)}function Wt(e,...t){return typeof e=="function"?e(...t):typeof e=="string"?nt(e):typeof e=="number"?nt(String(e)):null}function lr(e,t){console.error(`[naive/${e}]: ${t}`)}function fr(e,t){throw new Error(`[naive/${e}]: ${t}`)}function bb(e){switch(e){case"tiny":return"mini";case"small":return"tiny";case"medium":return"small";case"large":return"medium";case"huge":return"large"}throw new Error(`${e} has no smaller size.`)}function yb(e){switch(typeof e){case"string":return e||void 0;case"number":return String(e);default:return}}function vh(e,t="default",n=void 0){const o=e[t];if(!o)return lr("getFirstSlotVNode",`slot[${t}] is empty`),null;const r=Ra(o(n));return r.length===1?r[0]:(lr("getFirstSlotVNode",`slot[${t}] should have exactly one child`),null)}function gw(e){return t=>{t?e.value=t.$el:e.value=null}}function _o(e){return e.some(t=>Hs(t)?!(t.type===_n||t.type===it&&!_o(t.children)):!0)?e:null}function An(e,t){return e&&_o(e())||t()}function bh(e,t,n){return e&&_o(e(t))||n(t)}function $t(e,t){const n=e&&_o(e());return t(n||null)}function ga(e){return!(e&&_o(e()))}function Es(e){const t=e.filter(n=>n!==void 0);if(t.length!==0)return t.length===1?t[0]:n=>{e.forEach(o=>{o&&o(n)})}}const yh=be({render(){var e,t;return(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)}}),Y6=/^(\d|\.)+$/,xb=/(\d|\.)+/;function qt(e,{c:t=1,offset:n=0,attachPx:o=!0}={}){if(typeof e=="number"){const r=(e+n)*t;return r===0?"0":`${r}px`}else if(typeof e=="string")if(Y6.test(e)){const r=(Number(e)+n)*t;return o?r===0?"0":`${r}px`:`${r}`}else{const r=xb.exec(e);return r?e.replace(xb,String((Number(r[0])+n)*t)):e}return e}function Ec(e){return e.replace(/#|\(|\)|,|\s|\./g,"_")}function X6(e){const{left:t,right:n,top:o,bottom:r}=lo(e);return`${o} ${n} ${r} ${t}`}function Z6(e){let t=0;for(let n=0;n<e.length;++n)e[n]==="&"&&++t;return t}const vw=/\s*,(?![^(]*\))\s*/g,J6=/\s+/g;function Q6(e,t){const n=[];return t.split(vw).forEach(o=>{let r=Z6(o);if(r){if(r===1){e.forEach(a=>{n.push(o.replace("&",a))});return}}else{e.forEach(a=>{n.push((a&&a+" ")+o)});return}let i=[o];for(;r--;){const a=[];i.forEach(s=>{e.forEach(l=>{a.push(s.replace("&",l))})}),i=a}i.forEach(a=>n.push(a))}),n}function e8(e,t){const n=[];return t.split(vw).forEach(o=>{e.forEach(r=>{n.push((r&&r+" ")+o)})}),n}function t8(e){let t=[""];return e.forEach(n=>{n=n&&n.trim(),n&&(n.includes("&")?t=Q6(t,n):t=e8(t,n))}),t.join(", ").replace(J6," ")}function Cb(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function Su(e){return document.querySelector(`style[cssr-id="${e}"]`)}function n8(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function $l(e){return e?/^\s*@(s|m)/.test(e):!1}const o8=/[A-Z]/g;function bw(e){return e.replace(o8,t=>"-"+t.toLowerCase())}function r8(e,t=" "){return typeof e=="object"&&e!==null?` {
`+Object.entries(e).map(n=>t+` ${bw(n[0])}: ${n[1]};`).join(`
`)+`
`+t+"}":`: ${e};`}function i8(e,t,n){return typeof e=="function"?e({context:t.context,props:n}):e}function wb(e,t,n,o){if(!t)return"";const r=i8(t,n,o);if(!r)return"";if(typeof r=="string")return`${e} {
${r}
}`;const i=Object.keys(r);if(i.length===0)return n.config.keepEmptyBlock?e+` {
}`:"";const a=e?[e+" {"]:[];return i.forEach(s=>{const l=r[s];if(s==="raw"){a.push(`
`+l+`
`);return}s=bw(s),l!=null&&a.push(` ${s}${r8(l)}`)}),e&&a.push("}"),a.join(`
`)}function xh(e,t,n){e&&e.forEach(o=>{if(Array.isArray(o))xh(o,t,n);else if(typeof o=="function"){const r=o(t);Array.isArray(r)?xh(r,t,n):r&&n(r)}else o&&n(o)})}function yw(e,t,n,o,r,i){const a=e.$;let s="";if(!a||typeof a=="string")$l(a)?s=a:t.push(a);else if(typeof a=="function"){const u=a({context:o.context,props:r});$l(u)?s=u:t.push(u)}else if(a.before&&a.before(o.context),!a.$||typeof a.$=="string")$l(a.$)?s=a.$:t.push(a.$);else if(a.$){const u=a.$({context:o.context,props:r});$l(u)?s=u:t.push(u)}const l=t8(t),c=wb(l,e.props,o,r);s?(n.push(`${s} {`),i&&c&&i.insertRule(`${s} {
${c}
}
`)):(i&&c&&i.insertRule(c),!i&&c.length&&n.push(c)),e.children&&xh(e.children,{context:o.context,props:r},u=>{if(typeof u=="string"){const d=wb(l,{raw:u},o,r);i?i.insertRule(d):n.push(d)}else yw(u,t,n,o,r,i)}),t.pop(),s&&n.push("}"),a&&a.after&&a.after(o.context)}function xw(e,t,n,o=!1){const r=[];return yw(e,[],r,t,n,o?e.instance.__styleSheet:void 0),o?"":r.join(`
`)}function Ys(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 a8(e,t,n){const{els:o}=t;if(n===void 0)o.forEach(Cb),t.els=[];else{const r=Su(n);r&&o.includes(r)&&(Cb(r),t.els=o.filter(i=>i!==r))}}function _b(e,t){e.push(t)}function s8(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,xw(t,e,o,i));return}let c;if(n===void 0&&(c=t.render(o),n=Ys(c)),l){l.adapter(n,c??t.render(o));return}const u=Su(n);if(u!==null&&!a)return u;const d=u??n8(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),_b(t.els,d),d}return r?document.head.insertBefore(d,document.head.querySelector("style, link")):document.head.appendChild(d),_b(t.els,d),d}function l8(e){return xw(this,this.instance,e)}function c8(e={}){const{id:t,ssr:n,props:o,head:r=!1,silent:i=!1,force:a=!1,anchorMetaName:s}=e;return s8(this.instance,this,t,o,r,i,a,s,n)}function u8(e={}){const{id:t}=e;a8(this.instance,this,t)}const Al=function(e,t,n,o){return{instance:e,$:t,props:n,children:o,els:[],render:l8,mount:c8,unmount:u8}},d8=function(e,t,n,o){return Array.isArray(t)?Al(e,{$:null},null,t):Array.isArray(n)?Al(e,t,null,n):Array.isArray(o)?Al(e,t,n,o):Al(e,t,n,null)};function Cw(e={}){let t=null;const n={c:(...o)=>d8(n,...o),use:(o,...r)=>o.install(n,...r),find:Su,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 f8(e,t){if(e===void 0)return!1;if(t){const{context:{ids:n}}=t;return n.has(e)}return Su(e)!==null}function h8(e){let t=".",n="__",o="--",r;if(e){let p=e.blockPrefix;p&&(t=p),p=e.elementPrefix,p&&(n=p),p=e.modifierPrefix,p&&(o=p)}const i={install(p){r=p.c;const g=p.context;g.bem={},g.bem.b=null,g.bem.els=null}};function a(p){let g,m;return{before(b){g=b.bem.b,m=b.bem.els,b.bem.els=null},after(b){b.bem.b=g,b.bem.els=m},$({context:b,props:_}){return p=typeof p=="string"?p:p({context:b,props:_}),b.bem.b=p,`${(_==null?void 0:_.bPrefix)||t}${b.bem.b}`}}}function s(p){let g;return{before(m){g=m.bem.els},after(m){m.bem.els=g},$({context:m,props:b}){return p=typeof p=="string"?p:p({context:m,props:b}),m.bem.els=p.split(",").map(_=>_.trim()),m.bem.els.map(_=>`${(b==null?void 0:b.bPrefix)||t}${m.bem.b}${n}${_}`).join(", ")}}}function l(p){return{$({context:g,props:m}){p=typeof p=="string"?p:p({context:g,props:m});const b=p.split(",").map(S=>S.trim());function _(S){return b.map(w=>`&${(m==null?void 0:m.bPrefix)||t}${g.bem.b}${S!==void 0?`${n}${S}`:""}${o}${w}`).join(", ")}const C=g.bem.els;return C!==null?_(C[0]):_()}}}function c(p){return{$({context:g,props:m}){p=typeof p=="string"?p:p({context:g,props:m});const b=g.bem.els;return`&:not(${(m==null?void 0:m.bPrefix)||t}${g.bem.b}${b!==null&&b.length>0?`${n}${b[0]}`:""}${o}${p})`}}}return Object.assign(i,{cB:(...p)=>r(a(p[0]),p[1],p[2]),cE:(...p)=>r(s(p[0]),p[1],p[2]),cM:(...p)=>r(l(p[0]),p[1],p[2]),cNotM:(...p)=>r(c(p[0]),p[1],p[2])}),i}const p8="n",Xs=`.${p8}-`,m8="__",g8="--",ww=Cw(),_w=h8({blockPrefix:Xs,elementPrefix:m8,modifierPrefix:g8});ww.use(_w);const{c:q,find:cNe}=ww,{cB:z,cE:V,cM:Z,cNotM:Rt}=_w;function al(e){return q(({props:{bPrefix:t}})=>`${t||Xs}modal, ${t||Xs}drawer`,[e])}function ku(e){return q(({props:{bPrefix:t}})=>`${t||Xs}popover`,[e])}function Sw(e){return q(({props:{bPrefix:t}})=>`&${t||Xs}modal`,e)}const v8=(...e)=>q(">",[z(...e)]);function Re(e,t){return e+(t==="default"?"":t.replace(/^[a-z]/,n=>n.toUpperCase()))}let Bd;function b8(){return Bd===void 0&&(Bd=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),Bd}const hr=typeof document<"u"&&typeof window<"u",kw=new WeakSet;function y8(e){kw.add(e)}function Pw(e){return!kw.has(e)}function x8(e,t,n){if(!t)return e;const o=W(e.value);let r=null;return ft(e,i=>{r!==null&&window.clearTimeout(r),i===!0?n&&!n.value?o.value=!0:r=window.setTimeout(()=>{o.value=!0},t):o.value=!1}),o}function C8(e){const t=W(!!e.value);if(t.value)return co(t);const n=ft(e,o=>{o&&(t.value=!0,n())});return co(t)}function kt(e){const t=F(e),n=W(t.value);return ft(t,o=>{n.value=o}),typeof e=="function"?n:{__v_isRef:!0,get value(){return n.value},set value(o){e.set(o)}}}function jp(){return to()!==null}const Vp=typeof window<"u";let va,$s;const w8=()=>{var e,t;va=Vp?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,$s=!1,va!==void 0?va.then(()=>{$s=!0}):$s=!0};w8();function _8(e){if($s)return;let t=!1;jt(()=>{$s||va==null||va.then(()=>{t||e()})}),on(()=>{t=!0})}function uc(e){return e.composedPath()[0]}const S8={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function k8(e,t,n){if(e==="mousemoveoutside"){const o=r=>{t.contains(uc(r))||n(r)};return{mousemove:o,touchstart:o}}else if(e==="clickoutside"){let o=!1;const r=a=>{o=!t.contains(uc(a))},i=a=>{o&&(t.contains(uc(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 Tw(e,t,n){const o=S8[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=k8(e,t,n)),i}function P8(e,t,n,o){if(e==="mousemoveoutside"||e==="clickoutside"){const r=Tw(e,t,n);return Object.keys(r).forEach(i=>{At(i,document,r[i],o)}),!0}return!1}function T8(e,t,n,o){if(e==="mousemoveoutside"||e==="clickoutside"){const r=Tw(e,t,n);return Object.keys(r).forEach(i=>{Tt(i,document,r[i],o)}),!0}return!1}function R8(){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,P,k){const T=y[P];return y[P]=function(){return k.apply(y,arguments),T.apply(y,arguments)},y}function i(y,P){y[P]=Event.prototype[P]}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,P){s!==void 0&&Object.defineProperty(y,"currentTarget",{configurable:!0,enumerable:!0,get:P??s.get})}const u={bubble:{},capture:{}},d={};function f(){const y=function(P){const{type:k,eventPhase:T,bubbles:E}=P,R=uc(P);if(T===2)return;const K=T===1?"capture":"bubble";let N=R;const D=[];for(;N===null&&(N=window),D.push(N),N!==window;)N=N.parentNode||null;const M=u.capture[k],G=u.bubble[k];if(r(P,"stopPropagation",n),r(P,"stopImmediatePropagation",o),c(P,l),K==="capture"){if(M===void 0)return;for(let J=D.length-1;J>=0&&!e.has(P);--J){const he=D[J],pe=M.get(he);if(pe!==void 0){a.set(P,he);for(const B of pe){if(t.has(P))break;B(P)}}if(J===0&&!E&&G!==void 0){const B=G.get(he);if(B!==void 0)for(const $ of B){if(t.has(P))break;$(P)}}}}else if(K==="bubble"){if(G===void 0)return;for(let J=0;J<D.length&&!e.has(P);++J){const he=D[J],pe=G.get(he);if(pe!==void 0){a.set(P,he);for(const B of pe){if(t.has(P))break;B(P)}}}}i(P,"stopPropagation"),i(P,"stopImmediatePropagation"),c(P)};return y.displayName="evtdUnifiedHandler",y}function h(){const y=function(P){const{type:k,eventPhase:T}=P;if(T!==2)return;const E=d[k];E!==void 0&&E.forEach(R=>R(P))};return y.displayName="evtdUnifiedWindowEventHandler",y}const p=f(),g=h();function m(y,P){const k=u[y];return k[P]===void 0&&(k[P]=new Map,window.addEventListener(P,p,y==="capture")),k[P]}function b(y){return d[y]===void 0&&(d[y]=new Set,window.addEventListener(y,g)),d[y]}function _(y,P){let k=y.get(P);return k===void 0&&y.set(P,k=new Set),k}function C(y,P,k,T){const E=u[P][k];if(E!==void 0){const R=E.get(y);if(R!==void 0&&R.has(T))return!0}return!1}function S(y,P){const k=d[y];return!!(k!==void 0&&k.has(P))}function w(y,P,k,T){let E;if(typeof T=="object"&&T.once===!0?E=M=>{x(y,P,E,T),k(M)}:E=k,P8(y,P,E,T))return;const K=T===!0||typeof T=="object"&&T.capture===!0?"capture":"bubble",N=m(K,y),D=_(N,P);if(D.has(E)||D.add(E),P===window){const M=b(y);M.has(E)||M.add(E)}}function x(y,P,k,T){if(T8(y,P,k,T))return;const R=T===!0||typeof T=="object"&&T.capture===!0,K=R?"capture":"bubble",N=m(K,y),D=_(N,P);if(P===window&&!C(P,R?"bubble":"capture",y,k)&&S(y,k)){const G=d[y];G.delete(k),G.size===0&&(window.removeEventListener(y,g),d[y]=void 0)}D.has(k)&&D.delete(k),D.size===0&&N.delete(P),N.size===0&&(window.removeEventListener(y,p,K==="capture"),u[K][y]=void 0)}return{on:w,off:x}}const{on:At,off:Tt}=R8(),hs=W(null);function Sb(e){if(e.clientX>0||e.clientY>0)hs.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?hs.value={x:n+r/2,y:o+i/2}:hs.value={x:0,y:0}}else hs.value=null}}let Il=0,kb=!0;function $c(){if(!Vp)return co(W(null));Il===0&&At("click",document,Sb,!0);const e=()=>{Il+=1};return kb&&(kb=jp())?(hn(e),on(()=>{Il-=1,Il===0&&Tt("click",document,Sb,!0)})):e(),co(hs)}const E8=W(void 0);let Ol=0;function Pb(){E8.value=Date.now()}let Tb=!0;function Ac(e){if(!Vp)return co(W(!1));const t=W(!1);let n=null;function o(){n!==null&&window.clearTimeout(n)}function r(){o(),t.value=!0,n=window.setTimeout(()=>{t.value=!1},e)}Ol===0&&At("click",window,Pb,!0);const i=()=>{Ol+=1,At("click",window,r,!0)};return Tb&&(Tb=jp())?(hn(i),on(()=>{Ol-=1,Ol===0&&Tt("click",window,Pb,!0),Tt("click",window,r,!0),o()})):i(),co(t)}function an(e,t){return ft(e,n=>{n!==void 0&&(t.value=n)}),F(()=>e.value===void 0?t.value:e.value)}function Qr(){const e=W(!1);return jt(()=>{e.value=!0}),co(e)}function Pu(e,t){return F(()=>{for(const n of t)if(e[n]!==void 0)return e[n];return e[t[t.length-1]]})}const $8=(typeof window>"u"?!1:/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!window.MSStream;function A8(){return $8}function I8(e={},t){const n=eo({ctrl:!1,command:!1,win:!1,shift:!1,tab:!1}),{keydown:o,keyup:r}=e,i=l=>{switch(l.key){case"Control":n.ctrl=!0;break;case"Meta":n.command=!0,n.win=!0;break;case"Shift":n.shift=!0;break;case"Tab":n.tab=!0;break}o!==void 0&&Object.keys(o).forEach(c=>{if(c!==l.key)return;const u=o[c];if(typeof u=="function")u(l);else{const{stop:d=!1,prevent:f=!1}=u;d&&l.stopPropagation(),f&&l.preventDefault(),u.handler(l)}})},a=l=>{switch(l.key){case"Control":n.ctrl=!1;break;case"Meta":n.command=!1,n.win=!1;break;case"Shift":n.shift=!1;break;case"Tab":n.tab=!1;break}r!==void 0&&Object.keys(r).forEach(c=>{if(c!==l.key)return;const u=r[c];if(typeof u=="function")u(l);else{const{stop:d=!1,prevent:f=!1}=u;d&&l.stopPropagation(),f&&l.preventDefault(),u.handler(l)}})},s=()=>{(t===void 0||t.value)&&(At("keydown",document,i),At("keyup",document,a)),t!==void 0&&ft(t,l=>{l?(At("keydown",document,i),At("keyup",document,a)):(Tt("keydown",document,i),Tt("keyup",document,a))})};return jp()?(hn(s),on(()=>{(t===void 0||t.value)&&(Tt("keydown",document,i),Tt("keyup",document,a))})):s(),co(n)}const Wp="n-internal-select-menu",Rw="n-internal-select-menu-body",sl="n-modal-body",O8="n-modal-provider",Ew="n-modal",ll="n-drawer-body",Up="n-drawer",Va="n-popover-body",$w="__disabled__";function qo(e){const t=Ue(sl,null),n=Ue(ll,null),o=Ue(Va,null),r=Ue(Rw,null),i=W();if(typeof document<"u"){i.value=document.fullscreenElement;const a=()=>{i.value=document.fullscreenElement};jt(()=>{At("fullscreenchange",document,a)}),on(()=>{Tt("fullscreenchange",document,a)})}return kt(()=>{var a;const{to:s}=e;return s!==void 0?s===!1?$w: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")})}qo.tdkey=$w;qo.propTo={type:[String,Object,Boolean],default:void 0};let Rb=!1;function M8(){if(hr&&window.CSS&&!Rb&&(Rb=!0,"registerProperty"in(window==null?void 0:window.CSS)))try{CSS.registerProperty({name:"--n-color-start",syntax:"<color>",inherits:!1,initialValue:"#0000"}),CSS.registerProperty({name:"--n-color-end",syntax:"<color>",inherits:!1,initialValue:"#0000"})}catch{}}function Ch(e,t,n="default"){const o=t[n];if(o===void 0)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);return o()}function wh(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)){wh(o,t,n);return}if(o.type===it){if(o.children===null)return;Array.isArray(o.children)&&wh(o.children,t,n)}else o.type!==_n&&n.push(o)}}),n}function Eb(e,t,n="default"){const o=t[n];if(o===void 0)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);const r=wh(o());if(r.length===1)return r[0];throw new Error(`[vueuc/${e}]: slot[${n}] should have exactly one child.`)}let Pr=null;function Aw(){if(Pr===null&&(Pr=document.getElementById("v-binder-view-measurer"),Pr===null)){Pr=document.createElement("div"),Pr.id="v-binder-view-measurer";const{style:e}=Pr;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(Pr)}return Pr.getBoundingClientRect()}function z8(e,t){const n=Aw();return{top:t,left:e,height:0,width:0,right:n.width-e,bottom:n.height-t}}function Nd(e){const t=e.getBoundingClientRect(),n=Aw();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 D8(e){return e.nodeType===9?null:e.parentNode}function Iw(e){if(e===null)return null;const t=D8(e);if(t===null)return null;if(t.nodeType===9)return document;if(t.nodeType===1){const{overflow:n,overflowX:o,overflowY:r}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(n+r+o))return t}return Iw(t)}const L8=be({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;at("VBinder",(t=to())===null||t===void 0?void 0:t.proxy);const n=Ue("VBinder",null),o=W(null),r=b=>{o.value=b,n&&e.syncTargetWithParent&&n.setTargetRef(b)};let i=[];const a=()=>{let b=o.value;for(;b=Iw(b),b!==null;)i.push(b);for(const _ of i)At("scroll",_,d,!0)},s=()=>{for(const b of i)Tt("scroll",b,d,!0);i=[]},l=new Set,c=b=>{l.size===0&&a(),l.has(b)||l.add(b)},u=b=>{l.has(b)&&l.delete(b),l.size===0&&s()},d=()=>{Rc(f)},f=()=>{l.forEach(b=>b())},h=new Set,p=b=>{h.size===0&&At("resize",window,m),h.has(b)||h.add(b)},g=b=>{h.has(b)&&h.delete(b),h.size===0&&Tt("resize",window,m)},m=()=>{h.forEach(b=>b())};return on(()=>{Tt("resize",window,m),s()}),{targetRef:o,setTargetRef:r,addScrollListener:c,removeScrollListener:u,addResizeListener:p,removeResizeListener:g}},render(){return Ch("binder",this.$slots)}}),qp=L8,Kp=be({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=Ue("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?dn(Eb("follower",this.$slots),[[t]]):Eb("follower",this.$slots)}}),ta="@@mmoContext",F8={mounted(e,{value:t}){e[ta]={handler:void 0},typeof t=="function"&&(e[ta].handler=t,At("mousemoveoutside",e,t))},updated(e,{value:t}){const n=e[ta];typeof t=="function"?n.handler?n.handler!==t&&(Tt("mousemoveoutside",e,n.handler),n.handler=t,At("mousemoveoutside",e,t)):(e[ta].handler=t,At("mousemoveoutside",e,t)):n.handler&&(Tt("mousemoveoutside",e,n.handler),n.handler=void 0)},unmounted(e){const{handler:t}=e[ta];t&&Tt("mousemoveoutside",e,t),e[ta].handler=void 0}},B8=F8,na="@@coContext",N8={mounted(e,{value:t,modifiers:n}){e[na]={handler:void 0},typeof t=="function"&&(e[na].handler=t,At("clickoutside",e,t,{capture:n.capture}))},updated(e,{value:t,modifiers:n}){const o=e[na];typeof t=="function"?o.handler?o.handler!==t&&(Tt("clickoutside",e,o.handler,{capture:n.capture}),o.handler=t,At("clickoutside",e,t,{capture:n.capture})):(e[na].handler=t,At("clickoutside",e,t,{capture:n.capture})):o.handler&&(Tt("clickoutside",e,o.handler,{capture:n.capture}),o.handler=void 0)},unmounted(e,{modifiers:t}){const{handler:n}=e[na];n&&Tt("clickoutside",e,n,{capture:t.capture}),e[na].handler=void 0}},Ea=N8;function H8(e,t){console.error(`[vdirs/${e}]: ${t}`)}class j8{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&&H8("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 Hd=new j8,oa="@@ziContext",V8={mounted(e,t){const{value:n={}}=t,{zIndex:o,enabled:r}=n;e[oa]={enabled:!!r,initialized:!1},r&&(Hd.ensureZIndex(e,o),e[oa].initialized=!0)},updated(e,t){const{value:n={}}=t,{zIndex:o,enabled:r}=n,i=e[oa].enabled;r&&!i&&(Hd.ensureZIndex(e,o),e[oa].initialized=!0),e[oa].enabled=!!r},unmounted(e,t){if(!e[oa].initialized)return;const{value:n={}}=t,{zIndex:o}=n;Hd.unregister(e,o)}},Tu=V8,Ow=Symbol("@css-render/vue3-ssr");function W8(e,t){return`<style cssr-id="${e}">
${t}
</style>`}function U8(e,t){const n=Ue(Ow,null);if(n===null){console.error("[css-render/vue3-ssr]: no ssr context found.");return}const{styles:o,ids:r}=n;r.has(e)||o!==null&&(r.add(e),o.push(W8(e,t)))}const q8=typeof document<"u";function Li(){if(q8)return;const e=Ue(Ow,null);if(e!==null)return{adapter:U8,context:e}}function $b(e,t){console.error(`[vueuc/${e}]: ${t}`)}const{c:Dr}=Cw(),Gp="vueuc-style";function Ab(e){return e&-e}class K8{constructor(t,n){this.l=t,this.min=n;const o=new Array(t+1);for(let r=0;r<t+1;++r)o[r]=0;this.ft=o}add(t,n){if(n===0)return;const{l:o,ft:r}=this;for(t+=1;t<=o;)r[t]+=n,t+=Ab(t)}get(t){return this.sum(t+1)-this.sum(t)}sum(t){if(t===void 0&&(t=this.l),t<=0)return 0;const{ft:n,min:o,l:r}=this;if(t>r)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let i=t*o;for(;t>0;)i+=n[t],t-=Ab(t);return i}getBound(t){let n=0,o=this.l;for(;o>n;){const r=Math.floor((n+o)/2),i=this.sum(r);if(i>t){o=r;continue}else if(i<t){if(n===r)return this.sum(n+1)<=t?n+1:r;n=r}else return r}return n}}function Ib(e){return typeof e=="string"?document.querySelector(e):e()}const Ru=be({name:"LazyTeleport",props:{to:{type:[String,Object],default:void 0},disabled:Boolean,show:{type:Boolean,required:!0}},setup(e){return{showTeleport:C8(We(e,"show")),mergedTo:F(()=>{const{to:t}=e;return t??"body"})}},render(){return this.showTeleport?this.disabled?Ch("lazy-teleport",this.$slots):v(nu,{disabled:this.disabled,to:this.mergedTo},Ch("lazy-teleport",this.$slots)):null}}),Ml={top:"bottom",bottom:"top",left:"right",right:"left"},Ob={start:"end",center:"center",end:"start"},jd={top:"height",bottom:"height",left:"width",right:"width"},G8={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},Y8={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},X8={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},Mb={top:!0,bottom:!1,left:!0,right:!1},zb={top:"end",bottom:"start",left:"end",right:"start"};function Z8(e,t,n,o,r,i){if(!r||i)return{placement:e,top:0,left:0};const[a,s]=e.split("-");let l=s??"center",c={top:0,left:0};const u=(h,p,g)=>{let m=0,b=0;const _=n[h]-t[p]-t[h];return _>0&&o&&(g?b=Mb[p]?_:-_:m=Mb[p]?_:-_),{left:m,top:b}},d=a==="left"||a==="right";if(l!=="center"){const h=X8[e],p=Ml[h],g=jd[h];if(n[g]>t[g]){if(t[h]+t[g]<n[g]){const m=(n[g]-t[g])/2;t[h]<m||t[p]<m?t[h]<t[p]?(l=Ob[s],c=u(g,p,d)):c=u(g,h,d):l="center"}}else n[g]<t[g]&&t[p]<0&&t[h]>t[p]&&(l=Ob[s])}else{const h=a==="bottom"||a==="top"?"left":"top",p=Ml[h],g=jd[h],m=(n[g]-t[g])/2;(t[h]<m||t[p]<m)&&(t[h]>t[p]?(l=zb[h],c=u(g,h,d)):(l=zb[p],c=u(g,p,d)))}let f=a;return t[a]<n[jd[a]]&&t[a]<t[Ml[a]]&&(f=Ml[a]),{placement:l!=="center"?`${f}-${l}`:f,left:c.left,top:c.top}}function J8(e,t){return t?Y8[e]:G8[e]}function Q8(e,t,n,o,r,i){if(i)switch(e){case"bottom-start":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-100%)"};case"bottom-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left)}px`,transform:""};case"top-end":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%)"};case"right-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%)"};case"right-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"left-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left)}px`,transform:""};case"left-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-100%)"};case"top":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width/2)}px`,transform:"translateX(-50%)"};case"right":return{top:`${Math.round(n.top-t.top+n.height/2)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-50%)"};case"left":return{top:`${Math.round(n.top-t.top+n.height/2)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-50%)"};case"bottom":default:return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width/2)}px`,transform:"translateX(-50%) translateY(-100%)"}}switch(e){case"bottom-start":return{top:`${Math.round(n.top-t.top+n.height+o)}px`,left:`${Math.round(n.left-t.left+r)}px`,transform:""};case"bottom-end":return{top:`${Math.round(n.top-t.top+n.height+o)}px`,left:`${Math.round(n.left-t.left+n.width+r)}px`,transform:"translateX(-100%)"};case"top-start":return{top:`${Math.round(n.top-t.top+o)}px`,left:`${Math.round(n.left-t.left+r)}px`,transform:"translateY(-100%)"};case"top-end":return{top:`${Math.round(n.top-t.top+o)}px`,left:`${Math.round(n.left-t.left+n.width+r)}px`,transform:"translateX(-100%) translateY(-100%)"};case"right-start":return{top:`${Math.round(n.top-t.top+o)}px`,left:`${Math.round(n.left-t.left+n.width+r)}px`,transform:""};case"right-end":return{top:`${Math.round(n.top-t.top+n.height+o)}px`,left:`${Math.round(n.left-t.left+n.width+r)}px`,transform:"translateY(-100%)"};case"left-start":return{top:`${Math.round(n.top-t.top+o)}px`,left:`${Math.round(n.left-t.left+r)}px`,transform:"translateX(-100%)"};case"left-end":return{top:`${Math.round(n.top-t.top+n.height+o)}px`,left:`${Math.round(n.left-t.left+r)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top":return{top:`${Math.round(n.top-t.top+o)}px`,left:`${Math.round(n.left-t.left+n.width/2+r)}px`,transform:"translateY(-100%) translateX(-50%)"};case"right":return{top:`${Math.round(n.top-t.top+n.height/2+o)}px`,left:`${Math.round(n.left-t.left+n.width+r)}px`,transform:"translateY(-50%)"};case"left":return{top:`${Math.round(n.top-t.top+n.height/2+o)}px`,left:`${Math.round(n.left-t.left+r)}px`,transform:"translateY(-50%) translateX(-100%)"};case"bottom":default:return{top:`${Math.round(n.top-t.top+n.height+o)}px`,left:`${Math.round(n.left-t.left+n.width/2+r)}px`,transform:"translateX(-50%)"}}}const eI=Dr([Dr(".v-binder-follower-container",{position:"absolute",left:"0",right:"0",top:"0",height:"0",pointerEvents:"none",zIndex:"auto"}),Dr(".v-binder-follower-content",{position:"absolute",zIndex:"auto"},[Dr("> *",{pointerEvents:"all"})])]),Yp=be({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){const t=Ue("VBinder"),n=kt(()=>e.enabled!==void 0?e.enabled:e.show),o=W(null),r=W(null),i=()=>{const{syncTrigger:f}=e;f.includes("scroll")&&t.addScrollListener(l),f.includes("resize")&&t.addResizeListener(l)},a=()=>{t.removeScrollListener(l),t.removeResizeListener(l)};jt(()=>{n.value&&(l(),i())});const s=Li();eI.mount({id:"vueuc/binder",head:!0,anchorMetaName:Gp,ssr:s}),on(()=>{a()}),_8(()=>{n.value&&l()});const l=()=>{if(!n.value)return;const f=o.value;if(f===null)return;const h=t.targetRef,{x:p,y:g,overlap:m}=e,b=p!==void 0&&g!==void 0?z8(p,g):Nd(h);f.style.setProperty("--v-target-width",`${Math.round(b.width)}px`),f.style.setProperty("--v-target-height",`${Math.round(b.height)}px`);const{width:_,minWidth:C,placement:S,internalShift:w,flip:x}=e;f.setAttribute("v-placement",S),m?f.setAttribute("v-overlap",""):f.removeAttribute("v-overlap");const{style:y}=f;_==="target"?y.width=`${b.width}px`:_!==void 0?y.width=_:y.width="",C==="target"?y.minWidth=`${b.width}px`:C!==void 0?y.minWidth=C:y.minWidth="";const P=Nd(f),k=Nd(r.value),{left:T,top:E,placement:R}=Z8(S,b,P,w,x,m),K=J8(R,m),{left:N,top:D,transform:M}=Q8(R,k,b,E,T,m);f.setAttribute("v-placement",R),f.style.setProperty("--v-offset-left",`${Math.round(T)}px`),f.style.setProperty("--v-offset-top",`${Math.round(E)}px`),f.style.transform=`translateX(${N}) translateY(${D}) ${M}`,f.style.setProperty("--v-transform-origin",K),f.style.transformOrigin=K};ft(n,f=>{f?(i(),c()):a()});const c=()=>{Ht().then(l).catch(f=>console.error(f))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(f=>{ft(We(e,f),l)}),["teleportDisabled"].forEach(f=>{ft(We(e,f),c)}),ft(We(e,"syncTrigger"),f=>{f.includes("resize")?t.addResizeListener(l):t.removeResizeListener(l),f.includes("scroll")?t.addScrollListener(l):t.removeScrollListener(l)});const u=Qr(),d=kt(()=>{const{to:f}=e;if(f!==void 0)return f;u.value});return{VBinder:t,mergedEnabled:n,offsetContainerRef:r,followerRef:o,mergedTo:d,syncPosition:l}},render(){return v(Ru,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=v("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[v("div",{class:"v-binder-follower-content",ref:"followerRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))]);return this.zindexable?dn(n,[[Tu,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});var Si=[],tI=function(){return Si.some(function(e){return e.activeTargets.length>0})},nI=function(){return Si.some(function(e){return e.skippedTargets.length>0})},Db="ResizeObserver loop completed with undelivered notifications.",oI=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Db}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Db),window.dispatchEvent(e)},Zs;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Zs||(Zs={}));var ki=function(e){return Object.freeze(e)},rI=function(){function e(t,n){this.inlineSize=t,this.blockSize=n,ki(this)}return e}(),Mw=function(){function e(t,n,o,r){return this.x=t,this.y=n,this.width=o,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,ki(this)}return e.prototype.toJSON=function(){var t=this,n=t.x,o=t.y,r=t.top,i=t.right,a=t.bottom,s=t.left,l=t.width,c=t.height;return{x:n,y:o,top:r,right:i,bottom:a,left:s,width:l,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),Xp=function(e){return e instanceof SVGElement&&"getBBox"in e},zw=function(e){if(Xp(e)){var t=e.getBBox(),n=t.width,o=t.height;return!n&&!o}var r=e,i=r.offsetWidth,a=r.offsetHeight;return!(i||a||e.getClientRects().length)},Lb=function(e){var t;if(e instanceof Element)return!0;var n=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},iI=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},As=typeof window<"u"?window:{},zl=new WeakMap,Fb=/auto|scroll/,aI=/^tb|vertical/,sI=/msie|trident/i.test(As.navigator&&As.navigator.userAgent),Do=function(e){return parseFloat(e||"0")},ba=function(e,t,n){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=!1),new rI((n?t:e)||0,(n?e:t)||0)},Bb=ki({devicePixelContentBoxSize:ba(),borderBoxSize:ba(),contentBoxSize:ba(),contentRect:new Mw(0,0,0,0)}),Dw=function(e,t){if(t===void 0&&(t=!1),zl.has(e)&&!t)return zl.get(e);if(zw(e))return zl.set(e,Bb),Bb;var n=getComputedStyle(e),o=Xp(e)&&e.ownerSVGElement&&e.getBBox(),r=!sI&&n.boxSizing==="border-box",i=aI.test(n.writingMode||""),a=!o&&Fb.test(n.overflowY||""),s=!o&&Fb.test(n.overflowX||""),l=o?0:Do(n.paddingTop),c=o?0:Do(n.paddingRight),u=o?0:Do(n.paddingBottom),d=o?0:Do(n.paddingLeft),f=o?0:Do(n.borderTopWidth),h=o?0:Do(n.borderRightWidth),p=o?0:Do(n.borderBottomWidth),g=o?0:Do(n.borderLeftWidth),m=d+c,b=l+u,_=g+h,C=f+p,S=s?e.offsetHeight-C-e.clientHeight:0,w=a?e.offsetWidth-_-e.clientWidth:0,x=r?m+_:0,y=r?b+C:0,P=o?o.width:Do(n.width)-x-w,k=o?o.height:Do(n.height)-y-S,T=P+m+w+_,E=k+b+S+C,R=ki({devicePixelContentBoxSize:ba(Math.round(P*devicePixelRatio),Math.round(k*devicePixelRatio),i),borderBoxSize:ba(T,E,i),contentBoxSize:ba(P,k,i),contentRect:new Mw(d,l,P,k)});return zl.set(e,R),R},Lw=function(e,t,n){var o=Dw(e,n),r=o.borderBoxSize,i=o.contentBoxSize,a=o.devicePixelContentBoxSize;switch(t){case Zs.DEVICE_PIXEL_CONTENT_BOX:return a;case Zs.BORDER_BOX:return r;default:return i}},lI=function(){function e(t){var n=Dw(t);this.target=t,this.contentRect=n.contentRect,this.borderBoxSize=ki([n.borderBoxSize]),this.contentBoxSize=ki([n.contentBoxSize]),this.devicePixelContentBoxSize=ki([n.devicePixelContentBoxSize])}return e}(),Fw=function(e){if(zw(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},cI=function(){var e=1/0,t=[];Si.forEach(function(a){if(a.activeTargets.length!==0){var s=[];a.activeTargets.forEach(function(c){var u=new lI(c.target),d=Fw(c.target);s.push(u),c.lastReportedSize=Lw(c.target,c.observedBox),d<e&&(e=d)}),t.push(function(){a.callback.call(a.observer,s,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var n=0,o=t;n<o.length;n++){var r=o[n];r()}return e},Nb=function(e){Si.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(r){r.isActive()&&(Fw(r.target)>e?n.activeTargets.push(r):n.skippedTargets.push(r))})})},uI=function(){var e=0;for(Nb(e);tI();)e=cI(),Nb(e);return nI()&&oI(),e>0},Vd,Bw=[],dI=function(){return Bw.splice(0).forEach(function(e){return e()})},fI=function(e){if(!Vd){var t=0,n=document.createTextNode(""),o={characterData:!0};new MutationObserver(function(){return dI()}).observe(n,o),Vd=function(){n.textContent="".concat(t?t--:t++)}}Bw.push(e),Vd()},hI=function(e){fI(function(){requestAnimationFrame(e)})},dc=0,pI=function(){return!!dc},mI=250,gI={attributes:!0,characterData:!0,childList:!0,subtree:!0},Hb=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],jb=function(e){return e===void 0&&(e=0),Date.now()+e},Wd=!1,vI=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var n=this;if(t===void 0&&(t=mI),!Wd){Wd=!0;var o=jb(t);hI(function(){var r=!1;try{r=uI()}finally{if(Wd=!1,t=o-jb(),!pI())return;r?n.run(1e3):t>0?n.run(t):n.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,n=function(){return t.observer&&t.observer.observe(document.body,gI)};document.body?n():As.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Hb.forEach(function(n){return As.addEventListener(n,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Hb.forEach(function(n){return As.removeEventListener(n,t.listener,!0)}),this.stopped=!0)},e}(),_h=new vI,Vb=function(e){!dc&&e>0&&_h.start(),dc+=e,!dc&&_h.stop()},bI=function(e){return!Xp(e)&&!iI(e)&&getComputedStyle(e).display==="inline"},yI=function(){function e(t,n){this.target=t,this.observedBox=n||Zs.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Lw(this.target,this.observedBox,!0);return bI(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),xI=function(){function e(t,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=n}return e}(),Dl=new WeakMap,Wb=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},Ll=function(){function e(){}return e.connect=function(t,n){var o=new xI(t,n);Dl.set(t,o)},e.observe=function(t,n,o){var r=Dl.get(t),i=r.observationTargets.length===0;Wb(r.observationTargets,n)<0&&(i&&Si.push(r),r.observationTargets.push(new yI(n,o&&o.box)),Vb(1),_h.schedule())},e.unobserve=function(t,n){var o=Dl.get(t),r=Wb(o.observationTargets,n),i=o.observationTargets.length===1;r>=0&&(i&&Si.splice(Si.indexOf(o),1),o.observationTargets.splice(r,1),Vb(-1))},e.disconnect=function(t){var n=this,o=Dl.get(t);o.observationTargets.slice().forEach(function(r){return n.unobserve(t,r.target)}),o.activeTargets.splice(0,o.activeTargets.length)},e}(),CI=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Ll.connect(this,t)}return e.prototype.observe=function(t,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Lb(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ll.observe(this,t,n)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Lb(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ll.unobserve(this,t)},e.prototype.disconnect=function(){Ll.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class wI{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||CI)(this.handleResize),this.elHandlersMap=new Map}handleResize(t){for(const n of t){const o=this.elHandlersMap.get(n.target);o!==void 0&&o(n)}}registerHandler(t,n){this.elHandlersMap.set(t,n),this.observer.observe(t)}unregisterHandler(t){this.elHandlersMap.has(t)&&(this.elHandlersMap.delete(t),this.observer.unobserve(t))}}const Ic=new wI,cr=be({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1;const n=to().proxy;function o(r){const{onResize:i}=e;i!==void 0&&i(r)}jt(()=>{const r=n.$el;if(r===void 0){$b("resize-observer","$el does not exist.");return}if(r.nextElementSibling!==r.nextSibling&&r.nodeType===3&&r.nodeValue!==""){$b("resize-observer","$el can not be observed (it may be a text node).");return}r.nextElementSibling!==null&&(Ic.registerHandler(r.nextElementSibling,o),t=!0)}),on(()=>{t&&Ic.unregisterHandler(n.$el.nextElementSibling)})},render(){return tu(this.$slots,"default")}});let Fl;function _I(){return typeof document>"u"?!1:(Fl===void 0&&("matchMedia"in window?Fl=window.matchMedia("(pointer:coarse)").matches:Fl=!1),Fl)}let Ud;function Ub(){return typeof document>"u"?1:(Ud===void 0&&(Ud="chrome"in window?window.devicePixelRatio:1),Ud)}const SI=Dr(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[Dr("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[Dr("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),Nw=be({name:"VirtualList",inheritAttrs:!1,props:{showScrollbar:{type:Boolean,default:!0},items:{type:Array,default:()=>[]},itemSize:{type:Number,required:!0},itemResizable:Boolean,itemsStyle:[String,Object],visibleItemsTag:{type:[String,Object],default:"div"},visibleItemsProps:Object,ignoreItemResize:Boolean,onScroll:Function,onWheel:Function,onResize:Function,defaultScrollKey:[Number,String],defaultScrollIndex:Number,keyField:{type:String,default:"key"},paddingTop:{type:[Number,String],default:0},paddingBottom:{type:[Number,String],default:0}},setup(e){const t=Li();SI.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:Gp,ssr:t}),jt(()=>{const{defaultScrollIndex:E,defaultScrollKey:R}=e;E!=null?p({index:E}):R!=null&&p({key:R})});let n=!1,o=!1;cp(()=>{if(n=!1,!o){o=!0;return}p({top:d.value,left:u})}),Zc(()=>{n=!0,o||(o=!0)});const r=F(()=>{const E=new Map,{keyField:R}=e;return e.items.forEach((K,N)=>{E.set(K[R],N)}),E}),i=W(null),a=W(void 0),s=new Map,l=F(()=>{const{items:E,itemSize:R,keyField:K}=e,N=new K8(E.length,R);return E.forEach((D,M)=>{const G=D[K],J=s.get(G);J!==void 0&&N.add(M,J)}),N}),c=W(0);let u=0;const d=W(0),f=kt(()=>Math.max(l.value.getBound(d.value-bn(e.paddingTop))-1,0)),h=F(()=>{const{value:E}=a;if(E===void 0)return[];const{items:R,itemSize:K}=e,N=f.value,D=Math.min(N+Math.ceil(E/K+1),R.length-1),M=[];for(let G=N;G<=D;++G)M.push(R[G]);return M}),p=(E,R)=>{if(typeof E=="number"){_(E,R,"auto");return}const{left:K,top:N,index:D,key:M,position:G,behavior:J,debounce:he=!0}=E;if(K!==void 0||N!==void 0)_(K,N,J);else if(D!==void 0)b(D,J,he);else if(M!==void 0){const pe=r.value.get(M);pe!==void 0&&b(pe,J,he)}else G==="bottom"?_(0,Number.MAX_SAFE_INTEGER,J):G==="top"&&_(0,0,J)};let g,m=null;function b(E,R,K){const{value:N}=l,D=N.sum(E)+bn(e.paddingTop);if(!K)i.value.scrollTo({left:0,top:D,behavior:R});else{g=E,m!==null&&window.clearTimeout(m),m=window.setTimeout(()=>{g=void 0,m=null},16);const{scrollTop:M,offsetHeight:G}=i.value;if(D>M){const J=N.get(E);D+J<=M+G||i.value.scrollTo({left:0,top:D+J-G,behavior:R})}else i.value.scrollTo({left:0,top:D,behavior:R})}}function _(E,R,K){i.value.scrollTo({left:E,top:R,behavior:K})}function C(E,R){var K,N,D;if(n||e.ignoreItemResize||T(R.target))return;const{value:M}=l,G=r.value.get(E),J=M.get(G),he=(D=(N=(K=R.borderBoxSize)===null||K===void 0?void 0:K[0])===null||N===void 0?void 0:N.blockSize)!==null&&D!==void 0?D:R.contentRect.height;if(he===J)return;he-e.itemSize===0?s.delete(E):s.set(E,he-e.itemSize);const B=he-J;if(B===0)return;M.add(G,B);const $=i.value;if($!=null){if(g===void 0){const A=M.sum(G);$.scrollTop>A&&$.scrollBy(0,B)}else if(G<g)$.scrollBy(0,B);else if(G===g){const A=M.sum(G);he+A>$.scrollTop+$.offsetHeight&&$.scrollBy(0,B)}k()}c.value++}const S=!_I();let w=!1;function x(E){var R;(R=e.onScroll)===null||R===void 0||R.call(e,E),(!S||!w)&&k()}function y(E){var R;if((R=e.onWheel)===null||R===void 0||R.call(e,E),S){const K=i.value;if(K!=null){if(E.deltaX===0&&(K.scrollTop===0&&E.deltaY<=0||K.scrollTop+K.offsetHeight>=K.scrollHeight&&E.deltaY>=0))return;E.preventDefault(),K.scrollTop+=E.deltaY/Ub(),K.scrollLeft+=E.deltaX/Ub(),k(),w=!0,Rc(()=>{w=!1})}}}function P(E){if(n||T(E.target)||E.contentRect.height===a.value)return;a.value=E.contentRect.height;const{onResize:R}=e;R!==void 0&&R(E)}function k(){const{value:E}=i;E!=null&&(d.value=E.scrollTop,u=E.scrollLeft)}function T(E){let R=E;for(;R!==null;){if(R.style.display==="none")return!0;R=R.parentElement}return!1}return{listHeight:a,listStyle:{overflow:"auto"},keyToIndex:r,itemsStyle:F(()=>{const{itemResizable:E}=e,R=zn(l.value.sum());return c.value,[e.itemsStyle,{boxSizing:"content-box",height:E?"":R,minHeight:E?R:"",paddingTop:zn(e.paddingTop),paddingBottom:zn(e.paddingBottom)}]}),visibleItemsStyle:F(()=>(c.value,{transform:`translateY(${zn(l.value.sum(f.value))})`})),viewportItems:h,listElRef:i,itemsElRef:W(null),scrollTo:p,handleListResize:P,handleListScroll:x,handleListWheel:y,handleItemResize:C}},render(){const{itemResizable:e,keyField:t,keyToIndex:n,visibleItemsTag:o}=this;return v(cr,{onResize:this.handleListResize},{default:()=>{var r,i;return v("div",Ln(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?v("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[v(o,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>this.viewportItems.map(a=>{const s=a[t],l=n.get(s),c=this.$slots.default({item:a,index:l})[0];return e?v(cr,{key:s,onResize:u=>this.handleItemResize(s,u)},{default:()=>c}):(c.key=s,c)})})]):(i=(r=this.$slots).empty)===null||i===void 0?void 0:i.call(r)])}})}}),tr="v-hidden",kI=Dr("[v-hidden]",{display:"none!important"}),Sh=be({name:"Overflow",props:{getCounter:Function,getTail:Function,updateCounter:Function,onUpdateCount:Function,onUpdateOverflow:Function},setup(e,{slots:t}){const n=W(null),o=W(null);function r(a){const{value:s}=n,{getCounter:l,getTail:c}=e;let u;if(l!==void 0?u=l():u=o.value,!s||!u)return;u.hasAttribute(tr)&&u.removeAttribute(tr);const{children:d}=s;if(a.showAllItemsBeforeCalculate)for(const C of d)C.hasAttribute(tr)&&C.removeAttribute(tr);const f=s.offsetWidth,h=[],p=t.tail?c==null?void 0:c():null;let g=p?p.offsetWidth:0,m=!1;const b=s.children.length-(t.tail?1:0);for(let C=0;C<b-1;++C){if(C<0)continue;const S=d[C];if(m){S.hasAttribute(tr)||S.setAttribute(tr,"");continue}else S.hasAttribute(tr)&&S.removeAttribute(tr);const w=S.offsetWidth;if(g+=w,h[C]=w,g>f){const{updateCounter:x}=e;for(let y=C;y>=0;--y){const P=b-1-y;x!==void 0?x(P):u.textContent=`${P}`;const k=u.offsetWidth;if(g-=h[y],g+k<=f||y===0){m=!0,C=y-1,p&&(C===-1?(p.style.maxWidth=`${f-k}px`,p.style.boxSizing="border-box"):p.style.maxWidth="");const{onUpdateCount:T}=e;T&&T(P);break}}}}const{onUpdateOverflow:_}=e;m?_!==void 0&&_(!0):(_!==void 0&&_(!1),u.setAttribute(tr,""))}const i=Li();return kI.mount({id:"vueuc/overflow",head:!0,anchorMetaName:Gp,ssr:i}),jt(()=>r({showAllItemsBeforeCalculate:!1})),{selfRef:n,counterRef:o,sync:r}},render(){const{$slots:e}=this;return Ht(()=>this.sync({showAllItemsBeforeCalculate:!1})),v("div",{class:"v-overflow",ref:"selfRef"},[tu(e,"default"),e.counter?e.counter():v("span",{style:{display:"inline-block"},ref:"counterRef"}),e.tail?e.tail():null])}});function Hw(e){return e instanceof HTMLElement}function jw(e){for(let t=0;t<e.childNodes.length;t++){const n=e.childNodes[t];if(Hw(n)&&(Ww(n)||jw(n)))return!0}return!1}function Vw(e){for(let t=e.childNodes.length-1;t>=0;t--){const n=e.childNodes[t];if(Hw(n)&&(Ww(n)||Vw(n)))return!0}return!1}function Ww(e){if(!PI(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function PI(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return e.type!=="hidden"&&e.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}let ls=[];const Zp=be({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){const t=Zr(),n=W(null),o=W(null);let r=!1,i=!1;const a=typeof document>"u"?null:document.activeElement;function s(){return ls[ls.length-1]===t}function l(m){var b;m.code==="Escape"&&s()&&((b=e.onEsc)===null||b===void 0||b.call(e,m))}jt(()=>{ft(()=>e.active,m=>{m?(d(),At("keydown",document,l)):(Tt("keydown",document,l),r&&f())},{immediate:!0})}),on(()=>{Tt("keydown",document,l),r&&f()});function c(m){if(!i&&s()){const b=u();if(b===null||b.contains(Ai(m)))return;h("first")}}function u(){const m=n.value;if(m===null)return null;let b=m;for(;b=b.nextSibling,!(b===null||b instanceof Element&&b.tagName==="DIV"););return b}function d(){var m;if(!e.disabled){if(ls.push(t),e.autoFocus){const{initialFocusTo:b}=e;b===void 0?h("first"):(m=Ib(b))===null||m===void 0||m.focus({preventScroll:!0})}r=!0,document.addEventListener("focus",c,!0)}}function f(){var m;if(e.disabled||(document.removeEventListener("focus",c,!0),ls=ls.filter(_=>_!==t),s()))return;const{finalFocusTo:b}=e;b!==void 0?(m=Ib(b))===null||m===void 0||m.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&a instanceof HTMLElement&&(i=!0,a.focus({preventScroll:!0}),i=!1)}function h(m){if(s()&&e.active){const b=n.value,_=o.value;if(b!==null&&_!==null){const C=u();if(C==null||C===_){i=!0,b.focus({preventScroll:!0}),i=!1;return}i=!0;const S=m==="first"?jw(C):Vw(C);i=!1,S||(i=!0,b.focus({preventScroll:!0}),i=!1)}}}function p(m){if(i)return;const b=u();b!==null&&(m.relatedTarget!==null&&b.contains(m.relatedTarget)?h("last"):h("first"))}function g(m){i||(m.relatedTarget!==null&&m.relatedTarget===n.value?h("last"):h("first"))}return{focusableStartRef:n,focusableEndRef:o,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:p,handleEndFocus:g}},render(){const{default:e}=this.$slots;if(e===void 0)return null;if(this.disabled)return e();const{active:t,focusableStyle:n}=this;return v(it,null,[v("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:n,onFocus:this.handleStartFocus}),e(),v("div",{"aria-hidden":"true",style:n,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}});function Uw(e,t){t&&(jt(()=>{const{value:n}=e;n&&Ic.registerHandler(n,t)}),on(()=>{const{value:n}=e;n&&Ic.unregisterHandler(n)}))}let ra=0,qb="",Kb="",Gb="",Yb="";const kh=W("0px");function qw(e){if(typeof document>"u")return;const t=document.documentElement;let n,o=!1;const r=()=>{t.style.marginRight=qb,t.style.overflow=Kb,t.style.overflowX=Gb,t.style.overflowY=Yb,kh.value="0px"};jt(()=>{n=ft(e,i=>{if(i){if(!ra){const a=window.innerWidth-t.offsetWidth;a>0&&(qb=t.style.marginRight,t.style.marginRight=`${a}px`,kh.value=`${a}px`),Kb=t.style.overflow,Gb=t.style.overflowX,Yb=t.style.overflowY,t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden"}o=!0,ra++}else ra--,ra||r(),o=!1},{immediate:!0})}),on(()=>{n==null||n(),o&&(ra--,ra||r(),o=!1)})}const Jp=W(!1);function Xb(){Jp.value=!0}function Zb(){Jp.value=!1}let cs=0;function Kw(){return hr&&(hn(()=>{cs||(window.addEventListener("compositionstart",Xb),window.addEventListener("compositionend",Zb)),cs++}),on(()=>{cs<=1?(window.removeEventListener("compositionstart",Xb),window.removeEventListener("compositionend",Zb),cs=0):cs--})),Jp}function Qp(e){const t={isDeactivated:!1};let n=!1;return cp(()=>{if(t.isDeactivated=!1,!n){n=!0;return}e()}),Zc(()=>{t.isDeactivated=!0,n||(n=!0)}),t}function Jb(e){return e.nodeName==="#document"}function TI(e,t){if(!e)return;const n=document.createElement("a");n.href=e,t!==void 0&&(n.download=t),document.body.appendChild(n),n.click(),document.body.removeChild(n)}const Qb="n-form-item";function pr(e,{defaultSize:t="medium",mergedSize:n,mergedDisabled:o}={}){const r=Ue(Qb,null);at(Qb,null);const i=F(n?()=>n(r):()=>{const{size:l}=e;if(l)return l;if(r){const{mergedSize:c}=r;if(c.value!==void 0)return c.value}return t}),a=F(o?()=>o(r):()=>{const{disabled:l}=e;return l!==void 0?l:r?r.disabled.value:!1}),s=F(()=>{const{status:l}=e;return l||(r==null?void 0:r.mergedValidationStatus.value)});return on(()=>{r&&r.restoreValidation()}),{mergedSizeRef:i,mergedDisabledRef:a,mergedStatusRef:s,nTriggerFormBlur(){r&&r.handleContentBlur()},nTriggerFormChange(){r&&r.handleContentChange()},nTriggerFormFocus(){r&&r.handleContentFocus()},nTriggerFormInput(){r&&r.handleContentInput()}}}var RI=typeof global=="object"&&global&&global.Object===Object&&global;const Gw=RI;var EI=typeof self=="object"&&self&&self.Object===Object&&self,$I=Gw||EI||Function("return this")();const Ao=$I;var AI=Ao.Symbol;const Hr=AI;var Yw=Object.prototype,II=Yw.hasOwnProperty,OI=Yw.toString,us=Hr?Hr.toStringTag:void 0;function MI(e){var t=II.call(e,us),n=e[us];try{e[us]=void 0;var o=!0}catch{}var r=OI.call(e);return o&&(t?e[us]=n:delete e[us]),r}var zI=Object.prototype,DI=zI.toString;function LI(e){return DI.call(e)}var FI="[object Null]",BI="[object Undefined]",e0=Hr?Hr.toStringTag:void 0;function Fi(e){return e==null?e===void 0?BI:FI:e0&&e0 in Object(e)?MI(e):LI(e)}function jr(e){return e!=null&&typeof e=="object"}var NI="[object Symbol]";function Eu(e){return typeof e=="symbol"||jr(e)&&Fi(e)==NI}function Xw(e,t){for(var n=-1,o=e==null?0:e.length,r=Array(o);++n<o;)r[n]=t(e[n],n,e);return r}var HI=Array.isArray;const fo=HI;var jI=1/0,t0=Hr?Hr.prototype:void 0,n0=t0?t0.toString:void 0;function Zw(e){if(typeof e=="string")return e;if(fo(e))return Xw(e,Zw)+"";if(Eu(e))return n0?n0.call(e):"";var t=e+"";return t=="0"&&1/e==-jI?"-0":t}var VI=/\s/;function WI(e){for(var t=e.length;t--&&VI.test(e.charAt(t)););return t}var UI=/^\s+/;function qI(e){return e&&e.slice(0,WI(e)+1).replace(UI,"")}function Ko(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var o0=0/0,KI=/^[-+]0x[0-9a-f]+$/i,GI=/^0b[01]+$/i,YI=/^0o[0-7]+$/i,XI=parseInt;function Jw(e){if(typeof e=="number")return e;if(Eu(e))return o0;if(Ko(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ko(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=qI(e);var n=GI.test(e);return n||YI.test(e)?XI(e.slice(2),n?2:8):KI.test(e)?o0:+e}var r0=1/0,ZI=17976931348623157e292;function JI(e){if(!e)return e===0?e:0;if(e=Jw(e),e===r0||e===-r0){var t=e<0?-1:1;return t*ZI}return e===e?e:0}function QI(e){var t=JI(e),n=t%1;return t===t?n?t-n:t:0}function em(e){return e}var eO="[object AsyncFunction]",tO="[object Function]",nO="[object GeneratorFunction]",oO="[object Proxy]";function tm(e){if(!Ko(e))return!1;var t=Fi(e);return t==tO||t==nO||t==eO||t==oO}var rO=Ao["__core-js_shared__"];const qd=rO;var i0=function(){var e=/[^.]+$/.exec(qd&&qd.keys&&qd.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function iO(e){return!!i0&&i0 in e}var aO=Function.prototype,sO=aO.toString;function Bi(e){if(e!=null){try{return sO.call(e)}catch{}try{return e+""}catch{}}return""}var lO=/[\\^$.*+?()[\]{}|]/g,cO=/^\[object .+?Constructor\]$/,uO=Function.prototype,dO=Object.prototype,fO=uO.toString,hO=dO.hasOwnProperty,pO=RegExp("^"+fO.call(hO).replace(lO,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function mO(e){if(!Ko(e)||iO(e))return!1;var t=tm(e)?pO:cO;return t.test(Bi(e))}function gO(e,t){return e==null?void 0:e[t]}function Ni(e,t){var n=gO(e,t);return mO(n)?n:void 0}var vO=Ni(Ao,"WeakMap");const Ph=vO;var a0=Object.create,bO=function(){function e(){}return function(t){if(!Ko(t))return{};if(a0)return a0(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();const yO=bO;function xO(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function CO(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t}var wO=800,_O=16,SO=Date.now;function kO(e){var t=0,n=0;return function(){var o=SO(),r=_O-(o-n);if(n=o,r>0){if(++t>=wO)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function PO(e){return function(){return e}}var TO=function(){try{var e=Ni(Object,"defineProperty");return e({},"",{}),e}catch{}}();const Oc=TO;var RO=Oc?function(e,t){return Oc(e,"toString",{configurable:!0,enumerable:!1,value:PO(t),writable:!0})}:em;const EO=RO;var $O=kO(EO);const AO=$O;var IO=9007199254740991,OO=/^(?:0|[1-9]\d*)$/;function nm(e,t){var n=typeof e;return t=t??IO,!!t&&(n=="number"||n!="symbol"&&OO.test(e))&&e>-1&&e%1==0&&e<t}function om(e,t,n){t=="__proto__"&&Oc?Oc(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function cl(e,t){return e===t||e!==e&&t!==t}var MO=Object.prototype,zO=MO.hasOwnProperty;function DO(e,t,n){var o=e[t];(!(zO.call(e,t)&&cl(o,n))||n===void 0&&!(t in e))&&om(e,t,n)}function LO(e,t,n,o){var r=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=o?o(n[s],e[s],s,n,e):void 0;l===void 0&&(l=e[s]),r?om(n,s,l):DO(n,s,l)}return n}var s0=Math.max;function FO(e,t,n){return t=s0(t===void 0?e.length-1:t,0),function(){for(var o=arguments,r=-1,i=s0(o.length-t,0),a=Array(i);++r<i;)a[r]=o[t+r];r=-1;for(var s=Array(t+1);++r<t;)s[r]=o[r];return s[t]=n(a),xO(e,this,s)}}function BO(e,t){return AO(FO(e,t,em),e+"")}var NO=9007199254740991;function rm(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=NO}function Wa(e){return e!=null&&rm(e.length)&&!tm(e)}function HO(e,t,n){if(!Ko(n))return!1;var o=typeof t;return(o=="number"?Wa(n)&&nm(t,n.length):o=="string"&&t in n)?cl(n[t],e):!1}function jO(e){return BO(function(t,n){var o=-1,r=n.length,i=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;for(i=e.length>3&&typeof i=="function"?(r--,i):void 0,a&&HO(n[0],n[1],a)&&(i=r<3?void 0:i,r=1),t=Object(t);++o<r;){var s=n[o];s&&e(t,s,o,i)}return t})}var VO=Object.prototype;function im(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||VO;return e===n}function WO(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}var UO="[object Arguments]";function l0(e){return jr(e)&&Fi(e)==UO}var Qw=Object.prototype,qO=Qw.hasOwnProperty,KO=Qw.propertyIsEnumerable,GO=l0(function(){return arguments}())?l0:function(e){return jr(e)&&qO.call(e,"callee")&&!KO.call(e,"callee")};const Mc=GO;function YO(){return!1}var e_=typeof Yn=="object"&&Yn&&!Yn.nodeType&&Yn,c0=e_&&typeof Xn=="object"&&Xn&&!Xn.nodeType&&Xn,XO=c0&&c0.exports===e_,u0=XO?Ao.Buffer:void 0,ZO=u0?u0.isBuffer:void 0,JO=ZO||YO;const zc=JO;var QO="[object Arguments]",eM="[object Array]",tM="[object Boolean]",nM="[object Date]",oM="[object Error]",rM="[object Function]",iM="[object Map]",aM="[object Number]",sM="[object Object]",lM="[object RegExp]",cM="[object Set]",uM="[object String]",dM="[object WeakMap]",fM="[object ArrayBuffer]",hM="[object DataView]",pM="[object Float32Array]",mM="[object Float64Array]",gM="[object Int8Array]",vM="[object Int16Array]",bM="[object Int32Array]",yM="[object Uint8Array]",xM="[object Uint8ClampedArray]",CM="[object Uint16Array]",wM="[object Uint32Array]",Jt={};Jt[pM]=Jt[mM]=Jt[gM]=Jt[vM]=Jt[bM]=Jt[yM]=Jt[xM]=Jt[CM]=Jt[wM]=!0;Jt[QO]=Jt[eM]=Jt[fM]=Jt[tM]=Jt[hM]=Jt[nM]=Jt[oM]=Jt[rM]=Jt[iM]=Jt[aM]=Jt[sM]=Jt[lM]=Jt[cM]=Jt[uM]=Jt[dM]=!1;function _M(e){return jr(e)&&rm(e.length)&&!!Jt[Fi(e)]}function SM(e){return function(t){return e(t)}}var t_=typeof Yn=="object"&&Yn&&!Yn.nodeType&&Yn,Is=t_&&typeof Xn=="object"&&Xn&&!Xn.nodeType&&Xn,kM=Is&&Is.exports===t_,Kd=kM&&Gw.process,PM=function(){try{var e=Is&&Is.require&&Is.require("util").types;return e||Kd&&Kd.binding&&Kd.binding("util")}catch{}}();const d0=PM;var f0=d0&&d0.isTypedArray,TM=f0?SM(f0):_M;const am=TM;var RM=Object.prototype,EM=RM.hasOwnProperty;function n_(e,t){var n=fo(e),o=!n&&Mc(e),r=!n&&!o&&zc(e),i=!n&&!o&&!r&&am(e),a=n||o||r||i,s=a?WO(e.length,String):[],l=s.length;for(var c in e)(t||EM.call(e,c))&&!(a&&(c=="length"||r&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||nm(c,l)))&&s.push(c);return s}function o_(e,t){return function(n){return e(t(n))}}var $M=o_(Object.keys,Object);const AM=$M;var IM=Object.prototype,OM=IM.hasOwnProperty;function MM(e){if(!im(e))return AM(e);var t=[];for(var n in Object(e))OM.call(e,n)&&n!="constructor"&&t.push(n);return t}function sm(e){return Wa(e)?n_(e):MM(e)}function zM(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var DM=Object.prototype,LM=DM.hasOwnProperty;function FM(e){if(!Ko(e))return zM(e);var t=im(e),n=[];for(var o in e)o=="constructor"&&(t||!LM.call(e,o))||n.push(o);return n}function r_(e){return Wa(e)?n_(e,!0):FM(e)}var BM=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,NM=/^\w*$/;function lm(e,t){if(fo(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Eu(e)?!0:NM.test(e)||!BM.test(e)||t!=null&&e in Object(t)}var HM=Ni(Object,"create");const Js=HM;function jM(){this.__data__=Js?Js(null):{},this.size=0}function VM(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var WM="__lodash_hash_undefined__",UM=Object.prototype,qM=UM.hasOwnProperty;function KM(e){var t=this.__data__;if(Js){var n=t[e];return n===WM?void 0:n}return qM.call(t,e)?t[e]:void 0}var GM=Object.prototype,YM=GM.hasOwnProperty;function XM(e){var t=this.__data__;return Js?t[e]!==void 0:YM.call(t,e)}var ZM="__lodash_hash_undefined__";function JM(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Js&&t===void 0?ZM:t,this}function Ii(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}Ii.prototype.clear=jM;Ii.prototype.delete=VM;Ii.prototype.get=KM;Ii.prototype.has=XM;Ii.prototype.set=JM;function QM(){this.__data__=[],this.size=0}function $u(e,t){for(var n=e.length;n--;)if(cl(e[n][0],t))return n;return-1}var ez=Array.prototype,tz=ez.splice;function nz(e){var t=this.__data__,n=$u(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():tz.call(t,n,1),--this.size,!0}function oz(e){var t=this.__data__,n=$u(t,e);return n<0?void 0:t[n][1]}function rz(e){return $u(this.__data__,e)>-1}function iz(e,t){var n=this.__data__,o=$u(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function mr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}mr.prototype.clear=QM;mr.prototype.delete=nz;mr.prototype.get=oz;mr.prototype.has=rz;mr.prototype.set=iz;var az=Ni(Ao,"Map");const Qs=az;function sz(){this.size=0,this.__data__={hash:new Ii,map:new(Qs||mr),string:new Ii}}function lz(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Au(e,t){var n=e.__data__;return lz(t)?n[typeof t=="string"?"string":"hash"]:n.map}function cz(e){var t=Au(this,e).delete(e);return this.size-=t?1:0,t}function uz(e){return Au(this,e).get(e)}function dz(e){return Au(this,e).has(e)}function fz(e,t){var n=Au(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}function gr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}gr.prototype.clear=sz;gr.prototype.delete=cz;gr.prototype.get=uz;gr.prototype.has=dz;gr.prototype.set=fz;var hz="Expected a function";function cm(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(hz);var n=function(){var o=arguments,r=t?t.apply(this,o):o[0],i=n.cache;if(i.has(r))return i.get(r);var a=e.apply(this,o);return n.cache=i.set(r,a)||i,a};return n.cache=new(cm.Cache||gr),n}cm.Cache=gr;var pz=500;function mz(e){var t=cm(e,function(o){return n.size===pz&&n.clear(),o}),n=t.cache;return t}var gz=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,vz=/\\(\\)?/g,bz=mz(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(gz,function(n,o,r,i){t.push(r?i.replace(vz,"$1"):o||n)}),t});const yz=bz;function Oi(e){return e==null?"":Zw(e)}function i_(e,t){return fo(e)?e:lm(e,t)?[e]:yz(Oi(e))}var xz=1/0;function Iu(e){if(typeof e=="string"||Eu(e))return e;var t=e+"";return t=="0"&&1/e==-xz?"-0":t}function a_(e,t){t=i_(t,e);for(var n=0,o=t.length;e!=null&&n<o;)e=e[Iu(t[n++])];return n&&n==o?e:void 0}function Th(e,t,n){var o=e==null?void 0:a_(e,t);return o===void 0?n:o}function Cz(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}var wz=o_(Object.getPrototypeOf,Object);const s_=wz;var _z="[object Object]",Sz=Function.prototype,kz=Object.prototype,l_=Sz.toString,Pz=kz.hasOwnProperty,Tz=l_.call(Object);function Rz(e){if(!jr(e)||Fi(e)!=_z)return!1;var t=s_(e);if(t===null)return!0;var n=Pz.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&l_.call(n)==Tz}function Ez(e,t,n){var o=-1,r=e.length;t<0&&(t=-t>r?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<r;)i[o]=e[o+t];return i}function $z(e,t,n){var o=e.length;return n=n===void 0?o:n,!t&&n>=o?e:Ez(e,t,n)}var Az="\\ud800-\\udfff",Iz="\\u0300-\\u036f",Oz="\\ufe20-\\ufe2f",Mz="\\u20d0-\\u20ff",zz=Iz+Oz+Mz,Dz="\\ufe0e\\ufe0f",Lz="\\u200d",Fz=RegExp("["+Lz+Az+zz+Dz+"]");function c_(e){return Fz.test(e)}function Bz(e){return e.split("")}var u_="\\ud800-\\udfff",Nz="\\u0300-\\u036f",Hz="\\ufe20-\\ufe2f",jz="\\u20d0-\\u20ff",Vz=Nz+Hz+jz,Wz="\\ufe0e\\ufe0f",Uz="["+u_+"]",Rh="["+Vz+"]",Eh="\\ud83c[\\udffb-\\udfff]",qz="(?:"+Rh+"|"+Eh+")",d_="[^"+u_+"]",f_="(?:\\ud83c[\\udde6-\\uddff]){2}",h_="[\\ud800-\\udbff][\\udc00-\\udfff]",Kz="\\u200d",p_=qz+"?",m_="["+Wz+"]?",Gz="(?:"+Kz+"(?:"+[d_,f_,h_].join("|")+")"+m_+p_+")*",Yz=m_+p_+Gz,Xz="(?:"+[d_+Rh+"?",Rh,f_,h_,Uz].join("|")+")",Zz=RegExp(Eh+"(?="+Eh+")|"+Xz+Yz,"g");function Jz(e){return e.match(Zz)||[]}function Qz(e){return c_(e)?Jz(e):Bz(e)}function eD(e){return function(t){t=Oi(t);var n=c_(t)?Qz(t):void 0,o=n?n[0]:t.charAt(0),r=n?$z(n,1).join(""):t.slice(1);return o[e]()+r}}var tD=eD("toUpperCase");const g_=tD;function nD(e){return g_(Oi(e).toLowerCase())}function oD(e,t,n,o){var r=-1,i=e==null?0:e.length;for(o&&i&&(n=e[++r]);++r<i;)n=t(n,e[r],r,e);return n}function rD(e){return function(t){return e==null?void 0:e[t]}}var iD={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},aD=rD(iD);const sD=aD;var lD=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,cD="\\u0300-\\u036f",uD="\\ufe20-\\ufe2f",dD="\\u20d0-\\u20ff",fD=cD+uD+dD,hD="["+fD+"]",pD=RegExp(hD,"g");function mD(e){return e=Oi(e),e&&e.replace(lD,sD).replace(pD,"")}var gD=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function vD(e){return e.match(gD)||[]}var bD=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function yD(e){return bD.test(e)}var v_="\\ud800-\\udfff",xD="\\u0300-\\u036f",CD="\\ufe20-\\ufe2f",wD="\\u20d0-\\u20ff",_D=xD+CD+wD,b_="\\u2700-\\u27bf",y_="a-z\\xdf-\\xf6\\xf8-\\xff",SD="\\xac\\xb1\\xd7\\xf7",kD="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",PD="\\u2000-\\u206f",TD=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",x_="A-Z\\xc0-\\xd6\\xd8-\\xde",RD="\\ufe0e\\ufe0f",C_=SD+kD+PD+TD,w_="['’]",h0="["+C_+"]",ED="["+_D+"]",__="\\d+",$D="["+b_+"]",S_="["+y_+"]",k_="[^"+v_+C_+__+b_+y_+x_+"]",AD="\\ud83c[\\udffb-\\udfff]",ID="(?:"+ED+"|"+AD+")",OD="[^"+v_+"]",P_="(?:\\ud83c[\\udde6-\\uddff]){2}",T_="[\\ud800-\\udbff][\\udc00-\\udfff]",ca="["+x_+"]",MD="\\u200d",p0="(?:"+S_+"|"+k_+")",zD="(?:"+ca+"|"+k_+")",m0="(?:"+w_+"(?:d|ll|m|re|s|t|ve))?",g0="(?:"+w_+"(?:D|LL|M|RE|S|T|VE))?",R_=ID+"?",E_="["+RD+"]?",DD="(?:"+MD+"(?:"+[OD,P_,T_].join("|")+")"+E_+R_+")*",LD="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",FD="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",BD=E_+R_+DD,ND="(?:"+[$D,P_,T_].join("|")+")"+BD,HD=RegExp([ca+"?"+S_+"+"+m0+"(?="+[h0,ca,"$"].join("|")+")",zD+"+"+g0+"(?="+[h0,ca+p0,"$"].join("|")+")",ca+"?"+p0+"+"+m0,ca+"+"+g0,FD,LD,__,ND].join("|"),"g");function jD(e){return e.match(HD)||[]}function VD(e,t,n){return e=Oi(e),t=n?void 0:t,t===void 0?yD(e)?jD(e):vD(e):e.match(t)||[]}var WD="['’]",UD=RegExp(WD,"g");function $_(e){return function(t){return oD(VD(mD(t).replace(UD,"")),e,"")}}var qD=$_(function(e,t,n){return t=t.toLowerCase(),e+(n?nD(t):t)});const v0=qD;var KD=Ao.isFinite,GD=Math.min;function YD(e){var t=Math[e];return function(n,o){if(n=Jw(n),o=o==null?0:GD(QI(o),292),o&&KD(n)){var r=(Oi(n)+"e").split("e"),i=t(r[0]+"e"+(+r[1]+o));return r=(Oi(i)+"e").split("e"),+(r[0]+"e"+(+r[1]-o))}return t(n)}}function XD(){this.__data__=new mr,this.size=0}function ZD(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function JD(e){return this.__data__.get(e)}function QD(e){return this.__data__.has(e)}var eL=200;function tL(e,t){var n=this.__data__;if(n instanceof mr){var o=n.__data__;if(!Qs||o.length<eL-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new gr(o)}return n.set(e,t),this.size=n.size,this}function Vo(e){var t=this.__data__=new mr(e);this.size=t.size}Vo.prototype.clear=XD;Vo.prototype.delete=ZD;Vo.prototype.get=JD;Vo.prototype.has=QD;Vo.prototype.set=tL;var A_=typeof Yn=="object"&&Yn&&!Yn.nodeType&&Yn,b0=A_&&typeof Xn=="object"&&Xn&&!Xn.nodeType&&Xn,nL=b0&&b0.exports===A_,y0=nL?Ao.Buffer:void 0,x0=y0?y0.allocUnsafe:void 0;function oL(e,t){if(t)return e.slice();var n=e.length,o=x0?x0(n):new e.constructor(n);return e.copy(o),o}function rL(e,t){for(var n=-1,o=e==null?0:e.length,r=0,i=[];++n<o;){var a=e[n];t(a,n,e)&&(i[r++]=a)}return i}function iL(){return[]}var aL=Object.prototype,sL=aL.propertyIsEnumerable,C0=Object.getOwnPropertySymbols,lL=C0?function(e){return e==null?[]:(e=Object(e),rL(C0(e),function(t){return sL.call(e,t)}))}:iL;const cL=lL;function uL(e,t,n){var o=t(e);return fo(e)?o:Cz(o,n(e))}function w0(e){return uL(e,sm,cL)}var dL=Ni(Ao,"DataView");const $h=dL;var fL=Ni(Ao,"Promise");const Ah=fL;var hL=Ni(Ao,"Set");const Ih=hL;var _0="[object Map]",pL="[object Object]",S0="[object Promise]",k0="[object Set]",P0="[object WeakMap]",T0="[object DataView]",mL=Bi($h),gL=Bi(Qs),vL=Bi(Ah),bL=Bi(Ih),yL=Bi(Ph),fi=Fi;($h&&fi(new $h(new ArrayBuffer(1)))!=T0||Qs&&fi(new Qs)!=_0||Ah&&fi(Ah.resolve())!=S0||Ih&&fi(new Ih)!=k0||Ph&&fi(new Ph)!=P0)&&(fi=function(e){var t=Fi(e),n=t==pL?e.constructor:void 0,o=n?Bi(n):"";if(o)switch(o){case mL:return T0;case gL:return _0;case vL:return S0;case bL:return k0;case yL:return P0}return t});const R0=fi;var xL=Ao.Uint8Array;const Dc=xL;function CL(e){var t=new e.constructor(e.byteLength);return new Dc(t).set(new Dc(e)),t}function wL(e,t){var n=t?CL(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function _L(e){return typeof e.constructor=="function"&&!im(e)?yO(s_(e)):{}}var SL="__lodash_hash_undefined__";function kL(e){return this.__data__.set(e,SL),this}function PL(e){return this.__data__.has(e)}function Lc(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new gr;++t<n;)this.add(e[t])}Lc.prototype.add=Lc.prototype.push=kL;Lc.prototype.has=PL;function TL(e,t){for(var n=-1,o=e==null?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}function RL(e,t){return e.has(t)}var EL=1,$L=2;function I_(e,t,n,o,r,i){var a=n&EL,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var d=-1,f=!0,h=n&$L?new Lc:void 0;for(i.set(e,t),i.set(t,e);++d<s;){var p=e[d],g=t[d];if(o)var m=a?o(g,p,d,t,e,i):o(p,g,d,e,t,i);if(m!==void 0){if(m)continue;f=!1;break}if(h){if(!TL(t,function(b,_){if(!RL(h,_)&&(p===b||r(p,b,n,o,i)))return h.push(_)})){f=!1;break}}else if(!(p===g||r(p,g,n,o,i))){f=!1;break}}return i.delete(e),i.delete(t),f}function AL(e){var t=-1,n=Array(e.size);return e.forEach(function(o,r){n[++t]=[r,o]}),n}function IL(e){var t=-1,n=Array(e.size);return e.forEach(function(o){n[++t]=o}),n}var OL=1,ML=2,zL="[object Boolean]",DL="[object Date]",LL="[object Error]",FL="[object Map]",BL="[object Number]",NL="[object RegExp]",HL="[object Set]",jL="[object String]",VL="[object Symbol]",WL="[object ArrayBuffer]",UL="[object DataView]",E0=Hr?Hr.prototype:void 0,Gd=E0?E0.valueOf:void 0;function qL(e,t,n,o,r,i,a){switch(n){case UL:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case WL:return!(e.byteLength!=t.byteLength||!i(new Dc(e),new Dc(t)));case zL:case DL:case BL:return cl(+e,+t);case LL:return e.name==t.name&&e.message==t.message;case NL:case jL:return e==t+"";case FL:var s=AL;case HL:var l=o&OL;if(s||(s=IL),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;o|=ML,a.set(e,t);var u=I_(s(e),s(t),o,r,i,a);return a.delete(e),u;case VL:if(Gd)return Gd.call(e)==Gd.call(t)}return!1}var KL=1,GL=Object.prototype,YL=GL.hasOwnProperty;function XL(e,t,n,o,r,i){var a=n&KL,s=w0(e),l=s.length,c=w0(t),u=c.length;if(l!=u&&!a)return!1;for(var d=l;d--;){var f=s[d];if(!(a?f in t:YL.call(t,f)))return!1}var h=i.get(e),p=i.get(t);if(h&&p)return h==t&&p==e;var g=!0;i.set(e,t),i.set(t,e);for(var m=a;++d<l;){f=s[d];var b=e[f],_=t[f];if(o)var C=a?o(_,b,f,t,e,i):o(b,_,f,e,t,i);if(!(C===void 0?b===_||r(b,_,n,o,i):C)){g=!1;break}m||(m=f=="constructor")}if(g&&!m){var S=e.constructor,w=t.constructor;S!=w&&"constructor"in e&&"constructor"in t&&!(typeof S=="function"&&S instanceof S&&typeof w=="function"&&w instanceof w)&&(g=!1)}return i.delete(e),i.delete(t),g}var ZL=1,$0="[object Arguments]",A0="[object Array]",Bl="[object Object]",JL=Object.prototype,I0=JL.hasOwnProperty;function QL(e,t,n,o,r,i){var a=fo(e),s=fo(t),l=a?A0:R0(e),c=s?A0:R0(t);l=l==$0?Bl:l,c=c==$0?Bl:c;var u=l==Bl,d=c==Bl,f=l==c;if(f&&zc(e)){if(!zc(t))return!1;a=!0,u=!1}if(f&&!u)return i||(i=new Vo),a||am(e)?I_(e,t,n,o,r,i):qL(e,t,l,n,o,r,i);if(!(n&ZL)){var h=u&&I0.call(e,"__wrapped__"),p=d&&I0.call(t,"__wrapped__");if(h||p){var g=h?e.value():e,m=p?t.value():t;return i||(i=new Vo),r(g,m,n,o,i)}}return f?(i||(i=new Vo),XL(e,t,n,o,r,i)):!1}function um(e,t,n,o,r){return e===t?!0:e==null||t==null||!jr(e)&&!jr(t)?e!==e&&t!==t:QL(e,t,n,o,um,r)}var eF=1,tF=2;function nF(e,t,n,o){var r=n.length,i=r,a=!o;if(e==null)return!i;for(e=Object(e);r--;){var s=n[r];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++r<i;){s=n[r];var l=s[0],c=e[l],u=s[1];if(a&&s[2]){if(c===void 0&&!(l in e))return!1}else{var d=new Vo;if(o)var f=o(c,u,l,e,t,d);if(!(f===void 0?um(u,c,eF|tF,o,d):f))return!1}}return!0}function O_(e){return e===e&&!Ko(e)}function oF(e){for(var t=sm(e),n=t.length;n--;){var o=t[n],r=e[o];t[n]=[o,r,O_(r)]}return t}function M_(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function rF(e){var t=oF(e);return t.length==1&&t[0][2]?M_(t[0][0],t[0][1]):function(n){return n===e||nF(n,e,t)}}function iF(e,t){return e!=null&&t in Object(e)}function aF(e,t,n){t=i_(t,e);for(var o=-1,r=t.length,i=!1;++o<r;){var a=Iu(t[o]);if(!(i=e!=null&&n(e,a)))break;e=e[a]}return i||++o!=r?i:(r=e==null?0:e.length,!!r&&rm(r)&&nm(a,r)&&(fo(e)||Mc(e)))}function sF(e,t){return e!=null&&aF(e,t,iF)}var lF=1,cF=2;function uF(e,t){return lm(e)&&O_(t)?M_(Iu(e),t):function(n){var o=Th(n,e);return o===void 0&&o===t?sF(n,e):um(t,o,lF|cF)}}function dF(e){return function(t){return t==null?void 0:t[e]}}function fF(e){return function(t){return a_(t,e)}}function hF(e){return lm(e)?dF(Iu(e)):fF(e)}function pF(e){return typeof e=="function"?e:e==null?em:typeof e=="object"?fo(e)?uF(e[0],e[1]):rF(e):hF(e)}function mF(e){return function(t,n,o){for(var r=-1,i=Object(t),a=o(t),s=a.length;s--;){var l=a[e?s:++r];if(n(i[l],l,i)===!1)break}return t}}var gF=mF();const z_=gF;function vF(e,t){return e&&z_(e,t,sm)}function bF(e,t){return function(n,o){if(n==null)return n;if(!Wa(n))return e(n,o);for(var r=n.length,i=t?r:-1,a=Object(n);(t?i--:++i<r)&&o(a[i],i,a)!==!1;);return n}}var yF=bF(vF);const xF=yF;function Oh(e,t,n){(n!==void 0&&!cl(e[t],n)||n===void 0&&!(t in e))&&om(e,t,n)}function CF(e){return jr(e)&&Wa(e)}function Mh(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function wF(e){return LO(e,r_(e))}function _F(e,t,n,o,r,i,a){var s=Mh(e,n),l=Mh(t,n),c=a.get(l);if(c){Oh(e,n,c);return}var u=i?i(s,l,n+"",e,t,a):void 0,d=u===void 0;if(d){var f=fo(l),h=!f&&zc(l),p=!f&&!h&&am(l);u=l,f||h||p?fo(s)?u=s:CF(s)?u=CO(s):h?(d=!1,u=oL(l,!0)):p?(d=!1,u=wL(l,!0)):u=[]:Rz(l)||Mc(l)?(u=s,Mc(s)?u=wF(s):(!Ko(s)||tm(s))&&(u=_L(l))):d=!1}d&&(a.set(l,u),r(u,l,o,i,a),a.delete(l)),Oh(e,n,u)}function D_(e,t,n,o,r){e!==t&&z_(t,function(i,a){if(r||(r=new Vo),Ko(i))_F(e,t,a,n,D_,o,r);else{var s=o?o(Mh(e,a),i,a+"",e,t,r):void 0;s===void 0&&(s=i),Oh(e,a,s)}},r_)}function SF(e,t){var n=-1,o=Wa(e)?Array(e.length):[];return xF(e,function(r,i,a){o[++n]=t(r,i,a)}),o}function kF(e,t){var n=fo(e)?Xw:SF;return n(e,pF(t))}var PF=$_(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()});const TF=PF;var RF=jO(function(e,t,n){D_(e,t,n)});const ps=RF;var EF=YD("round");const $F=EF,po={fontFamily:'v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontFamilyMono:"v-mono, SFMono-Regular, Menlo, Consolas, Courier, monospace",fontWeight:"400",fontWeightStrong:"500",cubicBezierEaseInOut:"cubic-bezier(.4, 0, .2, 1)",cubicBezierEaseOut:"cubic-bezier(0, 0, .2, 1)",cubicBezierEaseIn:"cubic-bezier(.4, 0, 1, 1)",borderRadius:"3px",borderRadiusSmall:"2px",fontSize:"14px",fontSizeMini:"12px",fontSizeTiny:"12px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",lineHeight:"1.6",heightMini:"16px",heightTiny:"22px",heightSmall:"28px",heightMedium:"34px",heightLarge:"40px",heightHuge:"46px"},{fontSize:AF,fontFamily:IF,lineHeight:OF}=po,L_=q("body",`
margin: 0;
font-size: ${AF};
font-family: ${IF};
line-height: ${OF};
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: transparent;
`,[q("input",`
font-family: inherit;
font-size: inherit;
`)]),Eo="n-config-provider",$a="naive-ui-style";function Be(e,t,n,o,r,i){const a=Li(),s=Ue(Eo,null);if(n){const c=()=>{const u=i==null?void 0:i.value;n.mount({id:u===void 0?t:u+t,head:!0,props:{bPrefix:u?`.${u}-`:void 0},anchorMetaName:$a,ssr:a}),s!=null&&s.preflightStyleDisabled||L_.mount({id:"n-global",head:!0,anchorMetaName:$a,ssr:a})};a?c():hn(c)}return F(()=>{var c;const{theme:{common:u,self:d,peers:f={}}={},themeOverrides:h={},builtinThemeOverrides:p={}}=r,{common:g,peers:m}=h,{common:b=void 0,[e]:{common:_=void 0,self:C=void 0,peers:S={}}={}}=(s==null?void 0:s.mergedThemeRef.value)||{},{common:w=void 0,[e]:x={}}=(s==null?void 0:s.mergedThemeOverridesRef.value)||{},{common:y,peers:P={}}=x,k=ps({},u||_||b||o.common,w,y,g),T=ps((c=d||C||o.self)===null||c===void 0?void 0:c(k),p,x,h);return{common:k,self:T,peers:ps({},o.peers,S,f),peerOverrides:ps({},p.peers,P,m)}})}Be.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const el="n";function st(e={},t={defaultBordered:!0}){const n=Ue(Eo,null);return{inlineThemeDisabled:n==null?void 0:n.inlineThemeDisabled,mergedRtlRef:n==null?void 0:n.mergedRtlRef,mergedComponentPropsRef:n==null?void 0:n.mergedComponentPropsRef,mergedBreakpointsRef:n==null?void 0:n.mergedBreakpointsRef,mergedBorderedRef:F(()=>{var o,r;const{bordered:i}=e;return i!==void 0?i:(r=(o=n==null?void 0:n.mergedBorderedRef.value)!==null&&o!==void 0?o:t.defaultBordered)!==null&&r!==void 0?r:!0}),mergedClsPrefixRef:n?n.mergedClsPrefixRef:Oa(el),namespaceRef:F(()=>n==null?void 0:n.mergedNamespaceRef.value)}}function F_(){const e=Ue(Eo,null);return e?e.mergedClsPrefixRef:Oa(el)}const MF={name:"zh-CN",global:{undo:"撤销",redo:"重做",confirm:"确认",clear:"清除"},Popconfirm:{positiveText:"确认",negativeText:"取消"},Cascader:{placeholder:"请选择",loading:"加载中",loadingRequiredMessage:e=>`加载全部 ${e} 的子节点后才可选中`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"RRRR-w周",clear:"清除",now:"此刻",confirm:"确认",selectTime:"选择时间",selectDate:"选择日期",datePlaceholder:"选择日期",datetimePlaceholder:"选择日期时间",monthPlaceholder:"选择月份",yearPlaceholder:"选择年份",quarterPlaceholder:"选择季度",weekPlaceholder:"选择周",startDatePlaceholder:"开始日期",endDatePlaceholder:"结束日期",startDatetimePlaceholder:"开始日期时间",endDatetimePlaceholder:"结束日期时间",startMonthPlaceholder:"开始月份",endMonthPlaceholder:"结束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"选择全部表格数据",uncheckTableAll:"取消选择全部表格数据",confirm:"确认",clear:"重置"},LegacyTransfer:{sourceTitle:"源项",targetTitle:"目标项"},Transfer:{selectAll:"全选",clearAll:"清除",unselectAll:"取消全选",total:e=>`共 ${e} 项`,selected:e=>`已选 ${e} 项`},Empty:{description:"无数据"},Select:{placeholder:"请选择"},TimePicker:{placeholder:"请选择时间",positiveText:"确认",negativeText:"取消",now:"此刻",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"页"},DynamicTags:{add:"添加"},Log:{loading:"加载中"},Input:{placeholder:"请输入"},InputNumber:{placeholder:"请输入"},DynamicInput:{create:"添加"},ThemeEditor:{title:"主题编辑器",clearAllVars:"清除全部变量",clearSearch:"清除搜索",filterCompName:"过滤组件名",filterVarName:"过滤变量名",import:"导入",export:"导出",restore:"恢复默认"},Image:{tipPrevious:"上一张(←)",tipNext:"下一张(→)",tipCounterclockwise:"向左旋转",tipClockwise:"向右旋转",tipZoomOut:"缩小",tipZoomIn:"放大",tipDownload:"下载",tipClose:"关闭(Esc)",tipOriginalSize:"缩放到原始尺寸"}},zF=MF,DF={name:"zh-TW",global:{undo:"復原",redo:"重做",confirm:"確定",clear:"清除"},Popconfirm:{positiveText:"確定",negativeText:"取消"},Cascader:{placeholder:"請選擇",loading:"載入中",loadingRequiredMessage:e=>`載入全部 ${e} 的子節點後才可選擇`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy 年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"RRRR-w",clear:"清除",now:"現在",confirm:"確定",selectTime:"選擇時間",selectDate:"選擇日期",datePlaceholder:"選擇日期",datetimePlaceholder:"選擇日期時間",monthPlaceholder:"選擇月份",yearPlaceholder:"選擇年份",quarterPlaceholder:"選擇季度",weekPlaceholder:"Select Week",startDatePlaceholder:"開始日期",endDatePlaceholder:"結束日期",startDatetimePlaceholder:"開始日期時間",endDatetimePlaceholder:"結束日期時間",startMonthPlaceholder:"開始月份",endMonthPlaceholder:"結束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"選擇全部表格資料",uncheckTableAll:"取消選擇全部表格資料",confirm:"確定",clear:"重設"},LegacyTransfer:{sourceTitle:"來源",targetTitle:"目標"},Transfer:{selectAll:"全選",unselectAll:"取消全選",clearAll:"清除全部",total:e=>`共 ${e} 項`,selected:e=>`已選 ${e} 項`},Empty:{description:"無資料"},Select:{placeholder:"請選擇"},TimePicker:{placeholder:"請選擇時間",positiveText:"確定",negativeText:"取消",now:"現在",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"頁"},DynamicTags:{add:"新增"},Log:{loading:"載入中"},Input:{placeholder:"請輸入"},InputNumber:{placeholder:"請輸入"},DynamicInput:{create:"新增"},ThemeEditor:{title:"主題編輯器",clearAllVars:"清除全部變數",clearSearch:"清除搜尋",filterCompName:"過濾組件名稱",filterVarName:"過濾變數名稱",import:"匯入",export:"匯出",restore:"恢復預設"},Image:{tipPrevious:"上一張(←)",tipNext:"下一張(→)",tipCounterclockwise:"向左旋轉",tipClockwise:"向右旋轉",tipZoomOut:"縮小",tipZoomIn:"放大",tipDownload:"下載",tipClose:"關閉(Esc)",tipOriginalSize:"縮放到原始尺寸"}},LF=DF,FF={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"RRRR-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},B_=FF,BF={name:"ja-JP",global:{undo:"元に戻す",redo:"やり直す",confirm:"OK",clear:"クリア"},Popconfirm:{positiveText:"OK",negativeText:"キャンセル"},Cascader:{placeholder:"選択してください",loading:"ロード中",loadingRequiredMessage:e=>`すべての ${e} サブノードをロードしてから選択できます。`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"RRRR-w",clear:"クリア",now:"現在",confirm:"OK",selectTime:"時間を選択",selectDate:"日付を選択",datePlaceholder:"日付を選択",datetimePlaceholder:"選択",monthPlaceholder:"月を選択",yearPlaceholder:"年を選択",quarterPlaceholder:"四半期を選択",weekPlaceholder:"Select Week",startDatePlaceholder:"開始日",endDatePlaceholder:"終了日",startDatetimePlaceholder:"開始時間",endDatetimePlaceholder:"終了時間",startMonthPlaceholder:"開始月",endMonthPlaceholder:"終了月",monthBeforeYear:!1,firstDayOfWeek:0,today:"今日"},DataTable:{checkTableAll:"全選択",uncheckTableAll:"全選択取消",confirm:"OK",clear:"リセット"},LegacyTransfer:{sourceTitle:"元",targetTitle:"先"},Transfer:{selectAll:"全選択",unselectAll:"全選択取消",clearAll:"リセット",total:e=>`合計 ${e} 項目`,selected:e=>`${e} 個の項目を選択`},Empty:{description:"データなし"},Select:{placeholder:"選択してください"},TimePicker:{placeholder:"選択してください",positiveText:"OK",negativeText:"キャンセル",now:"現在",clear:"クリア"},Pagination:{goto:"ページジャンプ",selectionSuffix:"ページ"},DynamicTags:{add:"追加"},Log:{loading:"ロード中"},Input:{placeholder:"入力してください"},InputNumber:{placeholder:"入力してください"},DynamicInput:{create:"追加"},ThemeEditor:{title:"テーマエディタ",clearAllVars:"全件変数クリア",clearSearch:"検索クリア",filterCompName:"コンポネント名をフィルタ",filterVarName:"変数をフィルタ",import:"インポート",export:"エクスポート",restore:"デフォルト"},Image:{tipPrevious:"前の画像 (←)",tipNext:"次の画像 (→)",tipCounterclockwise:"左に回転",tipClockwise:"右に回転",tipZoomOut:"縮小",tipZoomIn:"拡大",tipDownload:"ダウンロード",tipClose:"閉じる (Esc)",tipOriginalSize:"元のサイズに戻す"}},NF=BF,HF={name:"ko-KR",global:{undo:"실행 취소",redo:"다시 실행",confirm:"확인",clear:"지우기"},Popconfirm:{positiveText:"확인",negativeText:"취소"},Cascader:{placeholder:"선택해 주세요",loading:"불러오는 중",loadingRequiredMessage:e=>`${e}의 모든 하위 항목을 불러온 뒤에 선택할 수 있습니다.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy년",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"RRRR-w",clear:"지우기",now:"현재",confirm:"확인",selectTime:"시간 선택",selectDate:"날짜 선택",datePlaceholder:"날짜 선택",datetimePlaceholder:"날짜 및 시간 선택",monthPlaceholder:"월 선택",yearPlaceholder:"년 선택",quarterPlaceholder:"분기 선택",weekPlaceholder:"Select Week",startDatePlaceholder:"시작 날짜",endDatePlaceholder:"종료 날짜",startDatetimePlaceholder:"시작 날짜 및 시간",endDatetimePlaceholder:"종료 날짜 및 시간",startMonthPlaceholder:"시작 월",endMonthPlaceholder:"종료 월",monthBeforeYear:!1,firstDayOfWeek:6,today:"오늘"},DataTable:{checkTableAll:"모두 선택",uncheckTableAll:"모두 선택 해제",confirm:"확인",clear:"지우기"},LegacyTransfer:{sourceTitle:"원본",targetTitle:"타깃"},Transfer:{selectAll:"전체 선택",unselectAll:"전체 해제",clearAll:"전체 삭제",total:e=>`총 ${e} 개`,selected:e=>`${e} 개 선택`},Empty:{description:"데이터 없음"},Select:{placeholder:"선택해 주세요"},TimePicker:{placeholder:"시간 선택",positiveText:"확인",negativeText:"취소",now:"현재 시간",clear:"지우기"},Pagination:{goto:"이동",selectionSuffix:"페이지"},DynamicTags:{add:"추가"},Log:{loading:"불러오는 중"},Input:{placeholder:"입력해 주세요"},InputNumber:{placeholder:"입력해 주세요"},DynamicInput:{create:"추가"},ThemeEditor:{title:"테마 편집기",clearAllVars:"모든 변수 지우기",clearSearch:"검색 지우기",filterCompName:"구성 요소 이름 필터",filterVarName:"변수 이름 필터",import:"가져오기",export:"내보내기",restore:"기본으로 재설정"},Image:{tipPrevious:"이전 (←)",tipNext:"다음 (→)",tipCounterclockwise:"시계 반대 방향으로 회전",tipClockwise:"시계 방향으로 회전",tipZoomOut:"축소",tipZoomIn:"확대",tipDownload:"다운로드",tipClose:"닫기 (Esc)",tipOriginalSize:"원본 크기로 확대"}},jF=HF,VF={name:"vi-VN",global:{undo:"Hoàn tác",redo:"Làm lại",confirm:"Xác nhận",clear:"xóa"},Popconfirm:{positiveText:"Xác nhận",negativeText:"Hủy"},Cascader:{placeholder:"Vui lòng chọn",loading:"Đang tải",loadingRequiredMessage:e=>`Vui lòng tải tất cả thông tin con của ${e} trước.`},Time:{dateFormat:"",dateTimeFormat:"HH:mm:ss dd-MM-yyyy"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"MM-yyyy",dateFormat:"dd-MM-yyyy",dateTimeFormat:"HH:mm:ss dd-MM-yyyy",quarterFormat:"qqq-yyyy",weekFormat:"RRRR-w",clear:"Xóa",now:"Hôm nay",confirm:"Xác nhận",selectTime:"Chọn giờ",selectDate:"Chọn ngày",datePlaceholder:"Chọn ngày",datetimePlaceholder:"Chọn ngày giờ",monthPlaceholder:"Chọn tháng",yearPlaceholder:"Chọn năm",quarterPlaceholder:"Chọn quý",weekPlaceholder:"Select Week",startDatePlaceholder:"Ngày bắt đầu",endDatePlaceholder:"Ngày kết thúc",startDatetimePlaceholder:"Thời gian bắt đầu",endDatetimePlaceholder:"Thời gian kết thúc",startMonthPlaceholder:"Tháng bắt đầu",endMonthPlaceholder:"Tháng kết thúc",monthBeforeYear:!0,firstDayOfWeek:0,today:"Hôm nay"},DataTable:{checkTableAll:"Chọn tất cả có trong bảng",uncheckTableAll:"Bỏ chọn tất cả có trong bảng",confirm:"Xác nhận",clear:"Xóa"},LegacyTransfer:{sourceTitle:"Nguồn",targetTitle:"Đích"},Transfer:{selectAll:"Chọn tất cả",unselectAll:"Bỏ chọn tất cả",clearAll:"Xoá tất cả",total:e=>`Tổng cộng ${e} mục`,selected:e=>`${e} mục được chọn`},Empty:{description:"Không có dữ liệu"},Select:{placeholder:"Vui lòng chọn"},TimePicker:{placeholder:"Chọn thời gian",positiveText:"OK",negativeText:"Hủy",now:"Hiện tại",clear:"Xóa"},Pagination:{goto:"Đi đến trang",selectionSuffix:"trang"},DynamicTags:{add:"Thêm"},Log:{loading:"Đang tải"},Input:{placeholder:"Vui lòng nhập"},InputNumber:{placeholder:"Vui lòng nhập"},DynamicInput:{create:"Tạo"},ThemeEditor:{title:"Tùy chỉnh giao diện",clearAllVars:"Xóa tất cả các biến",clearSearch:"Xóa tìm kiếm",filterCompName:"Lọc tên component",filterVarName:"Lọc tên biến",import:"Nhập",export:"Xuất",restore:"Đặt lại mặc định"},Image:{tipPrevious:"Hình trước (←)",tipNext:"Hình tiếp (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Chiều kim đồng hồ",tipZoomOut:"Thu nhỏ",tipZoomIn:"Phóng to",tipDownload:"Tải về",tipClose:"Đóng (Esc)",tipOriginalSize:"Xem kích thước gốc"}},WF=VF,UF={name:"fa-IR",global:{undo:"لغو انجام شده",redo:"انجام دوباره",confirm:"تأیید",clear:"پاک کردن"},Popconfirm:{positiveText:"تأیید",negativeText:"لغو"},Cascader:{placeholder:"لطفا انتخاب کنید",loading:"بارگذاری",loadingRequiredMessage:e=>`پس از بارگیری کامل زیرمجموعه های ${e} می توانید انتخاب کنید `},Time:{dateFormat:"yyyy/MM/dd",dateTimeFormat:"yyyy/MM/dd، H:mm:ss"},DatePicker:{yearFormat:"yyyy سال",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"MM/yyyy",dateFormat:"yyyy/MM/dd",dateTimeFormat:"yyyy/MM/dd HH:mm:ss",quarterFormat:"سه ماهه yyyy",weekFormat:"RRRR-w",clear:"پاک کردن",now:"اکنون",confirm:"تأیید",selectTime:"انتخاب زمان",selectDate:"انتخاب تاریخ",datePlaceholder:"انتخاب تاریخ",datetimePlaceholder:"انتخاب تاریخ و زمان",monthPlaceholder:"انتخاب ماه",yearPlaceholder:"انتخاب سال",quarterPlaceholder:"انتخاب سه‌ماهه",weekPlaceholder:"Select Week",startDatePlaceholder:"تاریخ شروع",endDatePlaceholder:"تاریخ پایان",startDatetimePlaceholder:"زمان شروع",endDatetimePlaceholder:"زمان پایان",startMonthPlaceholder:"ماه شروع",endMonthPlaceholder:"ماه پایان",monthBeforeYear:!1,firstDayOfWeek:6,today:"امروز"},DataTable:{checkTableAll:"انتخاب همه داده‌های جدول",uncheckTableAll:"عدم انتخاب همه داده‌های جدول",confirm:"تأیید",clear:"تنظیم مجدد"},LegacyTransfer:{sourceTitle:"آیتم منبع",targetTitle:"آیتم مقصد"},Transfer:{selectAll:"انتخاب همه",clearAll:"حذف همه",unselectAll:"عدم انتخاب همه",total:e=>`کل ${e} مورد`,selected:e=>`انتخاب شده ${e} مورد`},Empty:{description:"اطلاعاتی وجود ندارد"},Select:{placeholder:"لطفاً انتخاب کنید"},TimePicker:{placeholder:"لطفاً زمان مورد نظر را انتخاب کنید",positiveText:"تأیید",negativeText:"لغو",now:"همین الان",clear:"پاک کردن"},Pagination:{goto:"رفتن به صفحه",selectionSuffix:"صفحه"},DynamicTags:{add:"افزودن"},Log:{loading:"در حال بارگذاری"},Input:{placeholder:"لطفاً وارد کنید"},InputNumber:{placeholder:"لطفاً وارد کنید"},DynamicInput:{create:"افزودن"},ThemeEditor:{title:"ویرایشگر پوسته",clearAllVars:"پاک کردن همه متغیرها",clearSearch:"پاک کردن جستجو",filterCompName:"فیلتر نام کامپوننت",filterVarName:"فیلتر نام متغیر",import:"ورود",export:"خروج",restore:"بازگردانی به حالت پیش‌فرض"},Image:{tipPrevious:"تصویر قبلی (←)",tipNext:"تصویر بعدی (→)",tipCounterclockwise:"چرخش به سمت چپ",tipClockwise:"چرخش به سمت راست",tipZoomOut:"کوچک نمایی تصویر",tipZoomIn:"بزرگ نمایی تصویر",tipDownload:"بارگیری",tipClose:"بستن (Esc)",tipOriginalSize:"اندازه اصلی تصویر"}},qF=UF;var KF={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},GF=function(t,n,o){var r,i=KF[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",String(n)),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?r+"内":r+"前":r};const YF=GF;function Dn(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,o=e.formats[n]||e.formats[e.defaultWidth];return o}}var XF={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},ZF={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},JF={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},QF={date:Dn({formats:XF,defaultWidth:"full"}),time:Dn({formats:ZF,defaultWidth:"full"}),dateTime:Dn({formats:JF,defaultWidth:"full"})};const e9=QF;function dm(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function zh(e){"@babel/helpers - typeof";return zh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zh(e)}function t9(e){dm(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||zh(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function n9(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}var o9={};function r9(){return o9}function O0(e,t){var n,o,r,i,a,s,l,c;dm(1,arguments);var u=r9(),d=n9((n=(o=(r=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&r!==void 0?r:u.weekStartsOn)!==null&&o!==void 0?o:(l=u.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=t9(e),h=f.getUTCDay(),p=(h<d?7:0)+h-d;return f.setUTCDate(f.getUTCDate()-p),f.setUTCHours(0,0,0,0),f}function i9(e,t,n){dm(2,arguments);var o=O0(e,n),r=O0(t,n);return o.getTime()===r.getTime()}function M0(e,t,n){var o="eeee p";return i9(e,t,n)?o:e.getTime()>t.getTime()?"'下个'"+o:"'上个'"+o}var a9={lastWeek:M0,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:M0,other:"PP p"},s9=function(t,n,o,r){var i=a9[t];return typeof i=="function"?i(n,o,r):i};const l9=s9;function Qt(e){return function(t,n){var o=n!=null&&n.context?String(n.context):"standalone",r;if(o==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):i;r=e.formattingValues[a]||e.formattingValues[i]}else{var s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;r=e.values[l]||e.values[s]}var c=e.argumentCallback?e.argumentCallback(t):t;return r[c]}}var c9={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},u9={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},d9={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},f9={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},h9={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},p9={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},m9=function(t,n){var o=Number(t);switch(n==null?void 0:n.unit){case"date":return o.toString()+"日";case"hour":return o.toString()+"时";case"minute":return o.toString()+"分";case"second":return o.toString()+"秒";default:return"第 "+o.toString()}},g9={ordinalNumber:m9,era:Qt({values:c9,defaultWidth:"wide"}),quarter:Qt({values:u9,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Qt({values:d9,defaultWidth:"wide"}),day:Qt({values:f9,defaultWidth:"wide"}),dayPeriod:Qt({values:h9,defaultWidth:"wide",formattingValues:p9,defaultFormattingWidth:"wide"})};const v9=g9;function en(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=n.width,r=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;var a=i[0],s=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?y9(s,function(d){return d.test(a)}):b9(s,function(d){return d.test(a)}),c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;var u=t.slice(a.length);return{value:c,rest:u}}}function b9(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function y9(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}function ul(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=t.match(e.matchPattern);if(!o)return null;var r=o[0],i=t.match(e.parsePattern);if(!i)return null;var a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;var s=t.slice(r.length);return{value:a,rest:s}}}var x9=/^(第\s*)?\d+(日|时|分|秒)?/i,C9=/\d+/i,w9={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},_9={any:[/^(前)/i,/^(公元)/i]},S9={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},k9={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},P9={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},T9={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},R9={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},E9={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},$9={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},A9={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},I9={ordinalNumber:ul({matchPattern:x9,parsePattern:C9,valueCallback:function(t){return parseInt(t,10)}}),era:en({matchPatterns:w9,defaultMatchWidth:"wide",parsePatterns:_9,defaultParseWidth:"any"}),quarter:en({matchPatterns:S9,defaultMatchWidth:"wide",parsePatterns:k9,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:en({matchPatterns:P9,defaultMatchWidth:"wide",parsePatterns:T9,defaultParseWidth:"any"}),day:en({matchPatterns:R9,defaultMatchWidth:"wide",parsePatterns:E9,defaultParseWidth:"any"}),dayPeriod:en({matchPatterns:$9,defaultMatchWidth:"any",parsePatterns:A9,defaultParseWidth:"any"})};const O9=I9;var M9={code:"zh-CN",formatDistance:YF,formatLong:e9,formatRelative:l9,localize:v9,match:O9,options:{weekStartsOn:1,firstWeekContainsDate:4}};const N_=M9,z9={name:"zh-CN",locale:N_},z0=z9;var D9={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},L9=function(t,n,o){var r,i=D9[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",n.toString()),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?"in "+r:r+" ago":r};const F9=L9;var B9={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},N9={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},H9={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},j9={date:Dn({formats:B9,defaultWidth:"full"}),time:Dn({formats:N9,defaultWidth:"full"}),dateTime:Dn({formats:H9,defaultWidth:"full"})};const V9=j9;var W9={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},U9=function(t,n,o,r){return W9[t]};const q9=U9;var K9={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},G9={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Y9={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},X9={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Z9={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},J9={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Q9=function(t,n){var o=Number(t),r=o%100;if(r>20||r<10)switch(r%10){case 1:return o+"st";case 2:return o+"nd";case 3:return o+"rd"}return o+"th"},e7={ordinalNumber:Q9,era:Qt({values:K9,defaultWidth:"wide"}),quarter:Qt({values:G9,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Qt({values:Y9,defaultWidth:"wide"}),day:Qt({values:X9,defaultWidth:"wide"}),dayPeriod:Qt({values:Z9,defaultWidth:"wide",formattingValues:J9,defaultFormattingWidth:"wide"})};const t7=e7;var n7=/^(\d+)(th|st|nd|rd)?/i,o7=/\d+/i,r7={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},i7={any:[/^b/i,/^(a|c)/i]},a7={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},s7={any:[/1/i,/2/i,/3/i,/4/i]},l7={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},c7={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},u7={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},d7={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},f7={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},h7={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},p7={ordinalNumber:ul({matchPattern:n7,parsePattern:o7,valueCallback:function(t){return parseInt(t,10)}}),era:en({matchPatterns:r7,defaultMatchWidth:"wide",parsePatterns:i7,defaultParseWidth:"any"}),quarter:en({matchPatterns:a7,defaultMatchWidth:"wide",parsePatterns:s7,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:en({matchPatterns:l7,defaultMatchWidth:"wide",parsePatterns:c7,defaultParseWidth:"any"}),day:en({matchPatterns:u7,defaultMatchWidth:"wide",parsePatterns:d7,defaultParseWidth:"any"}),dayPeriod:en({matchPatterns:f7,defaultMatchWidth:"any",parsePatterns:h7,defaultParseWidth:"any"})};const m7=p7;var g7={code:"en-US",formatDistance:F9,formatLong:V9,formatRelative:q9,localize:t7,match:m7,options:{weekStartsOn:0,firstWeekContainsDate:1}};const v7=g7,b7={name:"en-US",locale:v7},H_=b7;var y7={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},x7=function(t,n,o){o=o||{};var r,i=y7[t];return typeof i=="string"?r=i:n===1?o.addSuffix&&i.oneWithSuffix?r=i.oneWithSuffix:r=i.one:o.addSuffix&&i.otherWithSuffix?r=i.otherWithSuffix.replace("{{count}}",String(n)):r=i.other.replace("{{count}}",String(n)),o.addSuffix?o.comparison&&o.comparison>0?r+"後":r+"前":r};const C7=x7;var w7={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},_7={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},S7={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},k7={date:Dn({formats:w7,defaultWidth:"full"}),time:Dn({formats:_7,defaultWidth:"full"}),dateTime:Dn({formats:S7,defaultWidth:"full"})};const P7=k7;var T7={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},R7=function(t,n,o,r){return T7[t]};const E7=R7;var $7={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},A7={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},I7={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},O7={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},M7={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},z7={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},D7=function(t,n){var o=Number(t),r=String(n==null?void 0:n.unit);switch(r){case"year":return"".concat(o,"年");case"quarter":return"第".concat(o,"四半期");case"month":return"".concat(o,"月");case"week":return"第".concat(o,"週");case"date":return"".concat(o,"日");case"hour":return"".concat(o,"時");case"minute":return"".concat(o,"分");case"second":return"".concat(o,"秒");default:return"".concat(o)}},L7={ordinalNumber:D7,era:Qt({values:$7,defaultWidth:"wide"}),quarter:Qt({values:A7,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:Qt({values:I7,defaultWidth:"wide"}),day:Qt({values:O7,defaultWidth:"wide"}),dayPeriod:Qt({values:M7,defaultWidth:"wide",formattingValues:z7,defaultFormattingWidth:"wide"})};const F7=L7;var B7=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,N7=/\d+/i,H7={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},j7={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},V7={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},W7={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},U7={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},q7={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},K7={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},G7={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},Y7={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},X7={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},Z7={ordinalNumber:ul({matchPattern:B7,parsePattern:N7,valueCallback:function(t){return parseInt(t,10)}}),era:en({matchPatterns:H7,defaultMatchWidth:"wide",parsePatterns:j7,defaultParseWidth:"any"}),quarter:en({matchPatterns:V7,defaultMatchWidth:"wide",parsePatterns:W7,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:en({matchPatterns:U7,defaultMatchWidth:"wide",parsePatterns:q7,defaultParseWidth:"any"}),day:en({matchPatterns:K7,defaultMatchWidth:"wide",parsePatterns:G7,defaultParseWidth:"any"}),dayPeriod:en({matchPatterns:Y7,defaultMatchWidth:"any",parsePatterns:X7,defaultParseWidth:"any"})};const J7=Z7;var Q7={code:"ja",formatDistance:C7,formatLong:P7,formatRelative:E7,localize:F7,match:J7,options:{weekStartsOn:0,firstWeekContainsDate:1}};const eB=Q7,tB={name:"ja-JP",locale:eB},nB=tB;var oB={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXWeeks:{one:"약 1주",other:"약 {{count}}주"},xWeeks:{one:"1주",other:"{{count}}주"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}},rB=function(t,n,o){var r,i=oB[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",n.toString()),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?r+" 후":r+" 전":r};const iB=rB;var aB={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},sB={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},lB={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},cB={date:Dn({formats:aB,defaultWidth:"full"}),time:Dn({formats:sB,defaultWidth:"full"}),dateTime:Dn({formats:lB,defaultWidth:"full"})};const uB=cB;var dB={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},fB=function(t,n,o,r){return dB[t]};const hB=fB;var pB={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},mB={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},gB={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},vB={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},bB={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},yB={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},xB=function(t,n){var o=Number(t),r=String(n==null?void 0:n.unit);switch(r){case"minute":case"second":return String(o);case"date":return o+"일";default:return o+"번째"}},CB={ordinalNumber:xB,era:Qt({values:pB,defaultWidth:"wide"}),quarter:Qt({values:mB,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Qt({values:gB,defaultWidth:"wide"}),day:Qt({values:vB,defaultWidth:"wide"}),dayPeriod:Qt({values:bB,defaultWidth:"wide",formattingValues:yB,defaultFormattingWidth:"wide"})};const wB=CB;var _B=/^(\d+)(일|번째)?/i,SB=/\d+/i,kB={narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(기원전|서기)/i},PB={any:[/^(bc|기원전)/i,/^(ad|서기)/i]},TB={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},RB={any:[/1/i,/2/i,/3/i,/4/i]},EB={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},$B={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},AB={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},IB={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},OB={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},MB={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},zB={ordinalNumber:ul({matchPattern:_B,parsePattern:SB,valueCallback:function(t){return parseInt(t,10)}}),era:en({matchPatterns:kB,defaultMatchWidth:"wide",parsePatterns:PB,defaultParseWidth:"any"}),quarter:en({matchPatterns:TB,defaultMatchWidth:"wide",parsePatterns:RB,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:en({matchPatterns:EB,defaultMatchWidth:"wide",parsePatterns:$B,defaultParseWidth:"any"}),day:en({matchPatterns:AB,defaultMatchWidth:"wide",parsePatterns:IB,defaultParseWidth:"any"}),dayPeriod:en({matchPatterns:OB,defaultMatchWidth:"any",parsePatterns:MB,defaultParseWidth:"any"})};const DB=zB;var LB={code:"ko",formatDistance:iB,formatLong:uB,formatRelative:hB,localize:wB,match:DB,options:{weekStartsOn:0,firstWeekContainsDate:1}};const FB=LB,BB={name:"ko-KR",locale:FB},NB=BB;var HB={lessThanXSeconds:{one:"dưới 1 giây",other:"dưới {{count}} giây"},xSeconds:{one:"1 giây",other:"{{count}} giây"},halfAMinute:"nửa phút",lessThanXMinutes:{one:"dưới 1 phút",other:"dưới {{count}} phút"},xMinutes:{one:"1 phút",other:"{{count}} phút"},aboutXHours:{one:"khoảng 1 giờ",other:"khoảng {{count}} giờ"},xHours:{one:"1 giờ",other:"{{count}} giờ"},xDays:{one:"1 ngày",other:"{{count}} ngày"},aboutXWeeks:{one:"khoảng 1 tuần",other:"khoảng {{count}} tuần"},xWeeks:{one:"1 tuần",other:"{{count}} tuần"},aboutXMonths:{one:"khoảng 1 tháng",other:"khoảng {{count}} tháng"},xMonths:{one:"1 tháng",other:"{{count}} tháng"},aboutXYears:{one:"khoảng 1 năm",other:"khoảng {{count}} năm"},xYears:{one:"1 năm",other:"{{count}} năm"},overXYears:{one:"hơn 1 năm",other:"hơn {{count}} năm"},almostXYears:{one:"gần 1 năm",other:"gần {{count}} năm"}},jB=function(t,n,o){var r,i=HB[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",String(n)),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?r+" nữa":r+" trước":r};const VB=jB;var WB={full:"EEEE, 'ngày' d MMMM 'năm' y",long:"'ngày' d MMMM 'năm' y",medium:"d MMM 'năm' y",short:"dd/MM/y"},UB={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},qB={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},KB={date:Dn({formats:WB,defaultWidth:"full"}),time:Dn({formats:UB,defaultWidth:"full"}),dateTime:Dn({formats:qB,defaultWidth:"full"})};const GB=KB;var YB={lastWeek:"eeee 'tuần trước vào lúc' p",yesterday:"'hôm qua vào lúc' p",today:"'hôm nay vào lúc' p",tomorrow:"'ngày mai vào lúc' p",nextWeek:"eeee 'tới vào lúc' p",other:"P"},XB=function(t,n,o,r){return YB[t]};const ZB=XB;var JB={narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},QB={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},eN={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},tN={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["Thg 1","Thg 2","Thg 3","Thg 4","Thg 5","Thg 6","Thg 7","Thg 8","Thg 9","Thg 10","Thg 11","Thg 12"],wide:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"]},nN={narrow:["01","02","03","04","05","06","07","08","09","10","11","12"],abbreviated:["thg 1","thg 2","thg 3","thg 4","thg 5","thg 6","thg 7","thg 8","thg 9","thg 10","thg 11","thg 12"],wide:["tháng 01","tháng 02","tháng 03","tháng 04","tháng 05","tháng 06","tháng 07","tháng 08","tháng 09","tháng 10","tháng 11","tháng 12"]},oN={narrow:["CN","T2","T3","T4","T5","T6","T7"],short:["CN","Th 2","Th 3","Th 4","Th 5","Th 6","Th 7"],abbreviated:["CN","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7"],wide:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"]},rN={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"}},iN={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"giữa trưa",morning:"vào buổi sáng",afternoon:"vào buổi chiều",evening:"vào buổi tối",night:"vào ban đêm"}},aN=function(t,n){var o=Number(t),r=n==null?void 0:n.unit;if(r==="quarter")switch(o){case 1:return"I";case 2:return"II";case 3:return"III";case 4:return"IV"}else if(r==="day")switch(o){case 1:return"thứ 2";case 2:return"thứ 3";case 3:return"thứ 4";case 4:return"thứ 5";case 5:return"thứ 6";case 6:return"thứ 7";case 7:return"chủ nhật"}else{if(r==="week")return o===1?"thứ nhất":"thứ "+o;if(r==="dayOfYear")return o===1?"đầu tiên":"thứ "+o}return String(o)},sN={ordinalNumber:aN,era:Qt({values:JB,defaultWidth:"wide"}),quarter:Qt({values:QB,defaultWidth:"wide",formattingValues:eN,defaultFormattingWidth:"wide",argumentCallback:function(t){return t-1}}),month:Qt({values:tN,defaultWidth:"wide",formattingValues:nN,defaultFormattingWidth:"wide"}),day:Qt({values:oN,defaultWidth:"wide"}),dayPeriod:Qt({values:rN,defaultWidth:"wide",formattingValues:iN,defaultFormattingWidth:"wide"})};const lN=sN;var cN=/^(\d+)/i,uN=/\d+/i,dN={narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},fN={any:[/^t/i,/^s/i]},hN={narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},pN={any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},mN={narrow:/^(0?[2-9]|10|11|12|0?1)/i,abbreviated:/^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,wide:/^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i},gN={narrow:[/0?1$/i,/0?2/i,/3/,/4/,/5/,/6/,/7/,/8/,/9/,/10/,/11/,/12/],abbreviated:[/^thg[ _]?0?1(?!\d)/i,/^thg[ _]?0?2/i,/^thg[ _]?0?3/i,/^thg[ _]?0?4/i,/^thg[ _]?0?5/i,/^thg[ _]?0?6/i,/^thg[ _]?0?7/i,/^thg[ _]?0?8/i,/^thg[ _]?0?9/i,/^thg[ _]?10/i,/^thg[ _]?11/i,/^thg[ _]?12/i],wide:[/^tháng ?(Một|0?1(?!\d))/i,/^tháng ?(Hai|0?2)/i,/^tháng ?(Ba|0?3)/i,/^tháng ?(Tư|0?4)/i,/^tháng ?(Năm|0?5)/i,/^tháng ?(Sáu|0?6)/i,/^tháng ?(Bảy|0?7)/i,/^tháng ?(Tám|0?8)/i,/^tháng ?(Chín|0?9)/i,/^tháng ?(Mười|10)/i,/^tháng ?(Mười ?Một|11)/i,/^tháng ?(Mười ?Hai|12)/i]},vN={narrow:/^(CN|T2|T3|T4|T5|T6|T7)/i,short:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,abbreviated:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,wide:/^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i},bN={narrow:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],short:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],abbreviated:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],wide:[/(Chủ|Chúa) ?Nhật/i,/Hai/i,/Ba/i,/Tư/i,/Năm/i,/Sáu/i,/Bảy/i]},yN={narrow:/^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,abbreviated:/^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,wide:/^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i},xN={any:{am:/^(a|sa)/i,pm:/^(p|ch[^i]*)/i,midnight:/nửa đêm/i,noon:/trưa/i,morning:/sáng/i,afternoon:/chiều/i,evening:/tối/i,night:/^đêm/i}},CN={ordinalNumber:ul({matchPattern:cN,parsePattern:uN,valueCallback:function(t){return parseInt(t,10)}}),era:en({matchPatterns:dN,defaultMatchWidth:"wide",parsePatterns:fN,defaultParseWidth:"any"}),quarter:en({matchPatterns:hN,defaultMatchWidth:"wide",parsePatterns:pN,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:en({matchPatterns:mN,defaultMatchWidth:"wide",parsePatterns:gN,defaultParseWidth:"wide"}),day:en({matchPatterns:vN,defaultMatchWidth:"wide",parsePatterns:bN,defaultParseWidth:"wide"}),dayPeriod:en({matchPatterns:yN,defaultMatchWidth:"wide",parsePatterns:xN,defaultParseWidth:"any"})};const wN=CN;var _N={code:"vi",formatDistance:VB,formatLong:GB,formatRelative:ZB,localize:lN,match:wN,options:{weekStartsOn:1,firstWeekContainsDate:1}};const SN=_N,kN={name:"vi-VN",locale:SN},PN=kN,TN={name:"fa-IR",locale:N_},RN=TN;function Hi(e){const{mergedLocaleRef:t,mergedDateLocaleRef:n}=Ue(Eo,null)||{},o=F(()=>{var i,a;return(a=(i=t==null?void 0:t.value)===null||i===void 0?void 0:i[e])!==null&&a!==void 0?a:B_[e]});return{dateLocaleRef:F(()=>{var i;return(i=n==null?void 0:n.value)!==null&&i!==void 0?i:H_}),localeRef:o}}function ei(e,t,n){if(!t)return;const o=Li(),r=Ue(Eo,null),i=()=>{const a=n.value;t.mount({id:a===void 0?e:a+e,head:!0,anchorMetaName:$a,props:{bPrefix:a?`.${a}-`:void 0},ssr:o}),r!=null&&r.preflightStyleDisabled||L_.mount({id:"n-global",head:!0,anchorMetaName:$a,ssr:o})};o?i():hn(i)}function Pt(e,t,n,o){var r;n||fr("useThemeClass","cssVarsRef is not passed");const i=(r=Ue(Eo,null))===null||r===void 0?void 0:r.mergedThemeHashRef,a=W(""),s=Li();let l;const c=`__${e}`,u=()=>{let d=c;const f=t?t.value:void 0,h=i==null?void 0:i.value;h&&(d+=`-${h}`),f&&(d+=`-${f}`);const{themeOverrides:p,builtinThemeOverrides:g}=o;p&&(d+=`-${Ys(JSON.stringify(p))}`),g&&(d+=`-${Ys(JSON.stringify(g))}`),a.value=d,l=()=>{const m=n.value;let b="";for(const _ in m)b+=`${_}: ${m[_]};`;q(`.${d}`,b).mount({id:d,ssr:s}),l=void 0}};return Xt(()=>{u()}),{themeClass:a,onRender:()=>{l==null||l()}}}function pn(e,t,n){if(!t)return;const o=Li(),r=F(()=>{const{value:a}=t;if(!a)return;const s=a[e];if(s)return s}),i=()=>{Xt(()=>{const{value:a}=n,s=`${a}${e}Rtl`;if(f8(s,o))return;const{value:l}=r;l&&l.style.mount({id:s,head:!0,anchorMetaName:$a,props:{bPrefix:a?`.${a}-`:void 0},ssr:o})})};return o?i():hn(i),r}const EN=be({name:"Add",render(){return v("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))}}),$N=be({name:"ArrowDown",render(){return v("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M23.7916,15.2664 C24.0788,14.9679 24.0696,14.4931 23.7711,14.206 C23.4726,13.9188 22.9978,13.928 22.7106,14.2265 L14.7511,22.5007 L14.7511,3.74792 C14.7511,3.33371 14.4153,2.99792 14.0011,2.99792 C13.5869,2.99792 13.2511,3.33371 13.2511,3.74793 L13.2511,22.4998 L5.29259,14.2265 C5.00543,13.928 4.53064,13.9188 4.23213,14.206 C3.93361,14.4931 3.9244,14.9679 4.21157,15.2664 L13.2809,24.6944 C13.6743,25.1034 14.3289,25.1034 14.7223,24.6944 L23.7916,15.2664 Z"}))))}});function Ua(e,t){return be({name:g_(e),setup(){var n;const o=(n=Ue(Eo,null))===null||n===void 0?void 0:n.mergedIconsRef;return()=>{var r;const i=(r=o==null?void 0:o.value)===null||r===void 0?void 0:r[e];return i?i():t}}})}const D0=be({name:"Backward",render(){return v("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M12.2674 15.793C11.9675 16.0787 11.4927 16.0672 11.2071 15.7673L6.20572 10.5168C5.9298 10.2271 5.9298 9.7719 6.20572 9.48223L11.2071 4.23177C11.4927 3.93184 11.9675 3.92031 12.2674 4.206C12.5673 4.49169 12.5789 4.96642 12.2932 5.26634L7.78458 9.99952L12.2932 14.7327C12.5789 15.0326 12.5673 15.5074 12.2674 15.793Z",fill:"currentColor"}))}}),AN=be({name:"Checkmark",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},v("g",{fill:"none"},v("path",{d:"M14.046 3.486a.75.75 0 0 1-.032 1.06l-7.93 7.474a.85.85 0 0 1-1.188-.022l-2.68-2.72a.75.75 0 1 1 1.068-1.053l2.234 2.267l7.468-7.038a.75.75 0 0 1 1.06.032z",fill:"currentColor"})))}}),fm=be({name:"ChevronRight",render(){return v("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z",fill:"currentColor"}))}}),IN=Ua("close",v("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z"}))))),ON=be({name:"Eye",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},v("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),v("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}}),MN=be({name:"EyeOff",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},v("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),v("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),v("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),v("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),v("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))}}),zN=be({name:"Empty",render(){return v("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),v("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}}),ji=Ua("error",v("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M17.8838835,16.1161165 L17.7823881,16.0249942 C17.3266086,15.6583353 16.6733914,15.6583353 16.2176119,16.0249942 L16.1161165,16.1161165 L16.0249942,16.2176119 C15.6583353,16.6733914 15.6583353,17.3266086 16.0249942,17.7823881 L16.1161165,17.8838835 L22.233,24 L16.1161165,30.1161165 L16.0249942,30.2176119 C15.6583353,30.6733914 15.6583353,31.3266086 16.0249942,31.7823881 L16.1161165,31.8838835 L16.2176119,31.9750058 C16.6733914,32.3416647 17.3266086,32.3416647 17.7823881,31.9750058 L17.8838835,31.8838835 L24,25.767 L30.1161165,31.8838835 L30.2176119,31.9750058 C30.6733914,32.3416647 31.3266086,32.3416647 31.7823881,31.9750058 L31.8838835,31.8838835 L31.9750058,31.7823881 C32.3416647,31.3266086 32.3416647,30.6733914 31.9750058,30.2176119 L31.8838835,30.1161165 L25.767,24 L31.8838835,17.8838835 L31.9750058,17.7823881 C32.3416647,17.3266086 32.3416647,16.6733914 31.9750058,16.2176119 L31.8838835,16.1161165 L31.7823881,16.0249942 C31.3266086,15.6583353 30.6733914,15.6583353 30.2176119,16.0249942 L30.1161165,16.1161165 L24,22.233 L17.8838835,16.1161165 L17.7823881,16.0249942 L17.8838835,16.1161165 Z"}))))),L0=be({name:"FastBackward",render(){return v("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M8.73171,16.7949 C9.03264,17.0795 9.50733,17.0663 9.79196,16.7654 C10.0766,16.4644 10.0634,15.9897 9.76243,15.7051 L4.52339,10.75 L17.2471,10.75 C17.6613,10.75 17.9971,10.4142 17.9971,10 C17.9971,9.58579 17.6613,9.25 17.2471,9.25 L4.52112,9.25 L9.76243,4.29275 C10.0634,4.00812 10.0766,3.53343 9.79196,3.2325 C9.50733,2.93156 9.03264,2.91834 8.73171,3.20297 L2.31449,9.27241 C2.14819,9.4297 2.04819,9.62981 2.01448,9.8386 C2.00308,9.89058 1.99707,9.94459 1.99707,10 C1.99707,10.0576 2.00356,10.1137 2.01585,10.1675 C2.05084,10.3733 2.15039,10.5702 2.31449,10.7254 L8.73171,16.7949 Z"}))))}}),F0=be({name:"FastForward",render(){return v("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M11.2654,3.20511 C10.9644,2.92049 10.4897,2.93371 10.2051,3.23464 C9.92049,3.53558 9.93371,4.01027 10.2346,4.29489 L15.4737,9.25 L2.75,9.25 C2.33579,9.25 2,9.58579 2,10.0000012 C2,10.4142 2.33579,10.75 2.75,10.75 L15.476,10.75 L10.2346,15.7073 C9.93371,15.9919 9.92049,16.4666 10.2051,16.7675 C10.4897,17.0684 10.9644,17.0817 11.2654,16.797 L17.6826,10.7276 C17.8489,10.5703 17.9489,10.3702 17.9826,10.1614 C17.994,10.1094 18,10.0554 18,10.0000012 C18,9.94241 17.9935,9.88633 17.9812,9.83246 C17.9462,9.62667 17.8467,9.42976 17.6826,9.27455 L11.2654,3.20511 Z"}))))}}),DN=be({name:"Filter",render(){return v("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M17,19 C17.5522847,19 18,19.4477153 18,20 C18,20.5522847 17.5522847,21 17,21 L11,21 C10.4477153,21 10,20.5522847 10,20 C10,19.4477153 10.4477153,19 11,19 L17,19 Z M21,13 C21.5522847,13 22,13.4477153 22,14 C22,14.5522847 21.5522847,15 21,15 L7,15 C6.44771525,15 6,14.5522847 6,14 C6,13.4477153 6.44771525,13 7,13 L21,13 Z M24,7 C24.5522847,7 25,7.44771525 25,8 C25,8.55228475 24.5522847,9 24,9 L4,9 C3.44771525,9 3,8.55228475 3,8 C3,7.44771525 3.44771525,7 4,7 L24,7 Z"}))))}}),B0=be({name:"Forward",render(){return v("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z",fill:"currentColor"}))}}),Vr=Ua("info",v("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M14,2 C20.6274,2 26,7.37258 26,14 C26,20.6274 20.6274,26 14,26 C7.37258,26 2,20.6274 2,14 C2,7.37258 7.37258,2 14,2 Z M14,11 C13.4477,11 13,11.4477 13,12 L13,12 L13,20 C13,20.5523 13.4477,21 14,21 C14.5523,21 15,20.5523 15,20 L15,20 L15,12 C15,11.4477 14.5523,11 14,11 Z M14,6.75 C13.3096,6.75 12.75,7.30964 12.75,8 C12.75,8.69036 13.3096,9.25 14,9.25 C14.6904,9.25 15.25,8.69036 15.25,8 C15.25,7.30964 14.6904,6.75 14,6.75 Z"}))))),N0=be({name:"More",render(){return v("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M4,7 C4.55228,7 5,7.44772 5,8 C5,8.55229 4.55228,9 4,9 C3.44772,9 3,8.55229 3,8 C3,7.44772 3.44772,7 4,7 Z M8,7 C8.55229,7 9,7.44772 9,8 C9,8.55229 8.55229,9 8,9 C7.44772,9 7,8.55229 7,8 C7,7.44772 7.44772,7 8,7 Z M12,7 C12.5523,7 13,7.44772 13,8 C13,8.55229 12.5523,9 12,9 C11.4477,9 11,8.55229 11,8 C11,7.44772 11.4477,7 12,7 Z"}))))}}),LN=be({name:"Remove",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},v("line",{x1:"400",y1:"256",x2:"112",y2:"256",style:`
fill: none;
stroke: currentColor;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 32px;
`}))}}),Vi=Ua("success",v("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M32.6338835,17.6161165 C32.1782718,17.1605048 31.4584514,17.1301307 30.9676119,17.5249942 L30.8661165,17.6161165 L20.75,27.732233 L17.1338835,24.1161165 C16.6457281,23.6279612 15.8542719,23.6279612 15.3661165,24.1161165 C14.9105048,24.5717282 14.8801307,25.2915486 15.2749942,25.7823881 L15.3661165,25.8838835 L19.8661165,30.3838835 C20.3217282,30.8394952 21.0415486,30.8698693 21.5323881,30.4750058 L21.6338835,30.3838835 L32.6338835,19.3838835 C33.1220388,18.8957281 33.1220388,18.1042719 32.6338835,17.6161165 Z"}))))),Wi=Ua("warning",v("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M12,2 C17.523,2 22,6.478 22,12 C22,17.522 17.523,22 12,22 C6.477,22 2,17.522 2,12 C2,6.478 6.477,2 12,2 Z M12.0018002,15.0037242 C11.450254,15.0037242 11.0031376,15.4508407 11.0031376,16.0023869 C11.0031376,16.553933 11.450254,17.0010495 12.0018002,17.0010495 C12.5533463,17.0010495 13.0004628,16.553933 13.0004628,16.0023869 C13.0004628,15.4508407 12.5533463,15.0037242 12.0018002,15.0037242 Z M11.99964,7 C11.4868042,7.00018474 11.0642719,7.38637706 11.0066858,7.8837365 L11,8.00036004 L11.0018003,13.0012393 L11.00857,13.117858 C11.0665141,13.6151758 11.4893244,14.0010638 12.0021602,14.0008793 C12.514996,14.0006946 12.9375283,13.6145023 12.9951144,13.1171428 L13.0018002,13.0005193 L13,7.99964009 L12.9932303,7.8830214 C12.9352861,7.38570354 12.5124758,6.99981552 11.99964,7 Z"}))))),j_=be({name:"ChevronDown",render(){return v("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))}}),FN=Ua("clear",v("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"}))))),BN=be({name:"ChevronDownFilled",render(){return v("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M3.20041 5.73966C3.48226 5.43613 3.95681 5.41856 4.26034 5.70041L8 9.22652L11.7397 5.70041C12.0432 5.41856 12.5177 5.43613 12.7996 5.73966C13.0815 6.0432 13.0639 6.51775 12.7603 6.7996L8.51034 10.7996C8.22258 11.0668 7.77743 11.0668 7.48967 10.7996L3.23966 6.7996C2.93613 6.51775 2.91856 6.0432 3.20041 5.73966Z",fill:"currentColor"}))}}),Ui=be({name:"BaseIconSwitchTransition",setup(e,{slots:t}){const n=Qr();return()=>v(fn,{name:"icon-switch-transition",appear:n.value},t)}}),Ou=be({name:"FadeInExpandTransition",props:{appear:Boolean,group:Boolean,mode:String,onLeave:Function,onAfterLeave:Function,onAfterEnter:Function,width:Boolean,reverse:Boolean},setup(e,{slots:t}){function n(s){e.width?s.style.maxWidth=`${s.offsetWidth}px`:s.style.maxHeight=`${s.offsetHeight}px`,s.offsetWidth}function o(s){e.width?s.style.maxWidth="0":s.style.maxHeight="0",s.offsetWidth;const{onLeave:l}=e;l&&l()}function r(s){e.width?s.style.maxWidth="":s.style.maxHeight="";const{onAfterLeave:l}=e;l&&l()}function i(s){if(s.style.transition="none",e.width){const l=s.offsetWidth;s.style.maxWidth="0",s.offsetWidth,s.style.transition="",s.style.maxWidth=`${l}px`}else if(e.reverse)s.style.maxHeight=`${s.offsetHeight}px`,s.offsetHeight,s.style.transition="",s.style.maxHeight="0";else{const l=s.offsetHeight;s.style.maxHeight="0",s.offsetWidth,s.style.transition="",s.style.maxHeight=`${l}px`}s.offsetWidth}function a(s){var l;e.width?s.style.maxWidth="":e.reverse||(s.style.maxHeight=""),(l=e.onAfterEnter)===null||l===void 0||l.call(e)}return()=>{const{group:s,width:l,appear:c,mode:u}=e,d=s?AP:fn,f={name:l?"fade-in-width-expand-transition":"fade-in-height-expand-transition",appear:c,onEnter:i,onAfterEnter:a,onBeforeLeave:n,onLeave:o,onAfterLeave:r};return s||(f.mode=u),v(d,f,t)}}}),NN=z("base-icon",`
height: 1em;
width: 1em;
line-height: 1em;
text-align: center;
display: inline-block;
position: relative;
fill: currentColor;
transform: translateZ(0);
`,[q("svg",`
height: 1em;
width: 1em;
`)]),Ut=be({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup(e){ei("-base-icon",NN,We(e,"clsPrefix"))},render(){return v("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}}),HN=z("base-close",`
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
background-color: transparent;
color: var(--n-close-icon-color);
border-radius: var(--n-close-border-radius);
height: var(--n-close-size);
width: var(--n-close-size);
font-size: var(--n-close-icon-size);
outline: none;
border: none;
position: relative;
padding: 0;
`,[Z("absolute",`
height: var(--n-close-icon-size);
width: var(--n-close-icon-size);
`),q("&::before",`
content: "";
position: absolute;
width: var(--n-close-size);
height: var(--n-close-size);
left: 50%;
top: 50%;
transform: translateY(-50%) translateX(-50%);
transition: inherit;
border-radius: inherit;
`),Rt("disabled",[q("&:hover",`
color: var(--n-close-icon-color-hover);
`),q("&:hover::before",`
background-color: var(--n-close-color-hover);
`),q("&:focus::before",`
background-color: var(--n-close-color-hover);
`),q("&:active",`
color: var(--n-close-icon-color-pressed);
`),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",[q("&::before",`
border-radius: 50%;
`)])]),qi=be({name:"BaseClose",props:{isButtonTag:{type:Boolean,default:!0},clsPrefix:{type:String,required:!0},disabled:{type:Boolean,default:void 0},focusable:{type:Boolean,default:!0},round:Boolean,onClick:Function,absolute:Boolean},setup(e){return ei("-base-close",HN,We(e,"clsPrefix")),()=>{const{clsPrefix:t,disabled:n,absolute:o,round:r,isButtonTag:i}=e;return v(i?"button":"div",{type:i?"button":void 0,tabindex:n||!e.focusable?-1:0,"aria-disabled":n,"aria-label":"close",role:i?void 0:"button",disabled:n,class:[`${t}-base-close`,o&&`${t}-base-close--absolute`,n&&`${t}-base-close--disabled`,r&&`${t}-base-close--round`],onMousedown:s=>{e.focusable||s.preventDefault()},onClick:e.onClick},v(Ut,{clsPrefix:t},{default:()=>v(IN,null)}))}}}),jN=be({props:{onFocus:Function,onBlur:Function},setup(e){return()=>v("div",{style:"width: 0; height: 0",tabindex:0,onFocus:e.onFocus,onBlur:e.onBlur})}}),{cubicBezierEaseInOut:VN}=po;function qn({originalTransform:e="",left:t=0,top:n=0,transition:o=`all .3s ${VN} !important`}={}){return[q("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:`${e} scale(0.75)`,left:t,top:n,opacity:0}),q("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${e}`,left:t,top:n,opacity:1}),q("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:t,top:n,transition:o})]}const WN=q([q("@keyframes rotator",`
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}`),z("base-loading",`
position: relative;
line-height: 0;
width: 1em;
height: 1em;
`,[V("transition-wrapper",`
position: absolute;
width: 100%;
height: 100%;
`,[qn()]),V("placeholder",`
position: absolute;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
`,[qn({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),V("container",`
animation: rotator 3s linear infinite both;
`,[V("icon",`
height: 1em;
width: 1em;
`)])])]),Yd="1.6s",UN={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},ti=be({name:"BaseLoading",props:Object.assign({clsPrefix:{type:String,required:!0},show:{type:Boolean,default:!0},scale:{type:Number,default:1},radius:{type:Number,default:100}},UN),setup(e){ei("-base-loading",WN,We(e,"clsPrefix"))},render(){const{clsPrefix:e,radius:t,strokeWidth:n,stroke:o,scale:r}=this,i=t/r;return v("div",{class:`${e}-base-loading`,role:"img","aria-label":"loading"},v(Ui,null,{default:()=>this.show?v("div",{key:"icon",class:`${e}-base-loading__transition-wrapper`},v("div",{class:`${e}-base-loading__container`},v("svg",{class:`${e}-base-loading__icon`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},v("g",null,v("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};270 ${i} ${i}`,begin:"0s",dur:Yd,fill:"freeze",repeatCount:"indefinite"}),v("circle",{class:`${e}-base-loading__icon`,fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:i,cy:i,r:t-n/2,"stroke-dasharray":5.67*t,"stroke-dashoffset":18.48*t},v("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};135 ${i} ${i};450 ${i} ${i}`,begin:"0s",dur:Yd,fill:"freeze",repeatCount:"indefinite"}),v("animate",{attributeName:"stroke-dashoffset",values:`${5.67*t};${1.42*t};${5.67*t}`,begin:"0s",dur:Yd,fill:"freeze",repeatCount:"indefinite"})))))):v("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}});function H0(e){return Array.isArray(e)?e:[e]}const Dh={STOP:"STOP"};function V_(e,t){const n=t(e);e.children!==void 0&&n!==Dh.STOP&&e.children.forEach(o=>V_(o,t))}function qN(e,t={}){const{preserveGroup:n=!1}=t,o=[],r=n?a=>{a.isLeaf||(o.push(a.key),i(a.children))}:a=>{a.isLeaf||(a.isGroup||o.push(a.key),i(a.children))};function i(a){a.forEach(r)}return i(e),o}function KN(e,t){const{isLeaf:n}=e;return n!==void 0?n:!t(e)}function GN(e){return e.children}function YN(e){return e.key}function XN(){return!1}function ZN(e,t){const{isLeaf:n}=e;return!(n===!1&&!Array.isArray(t(e)))}function JN(e){return e.disabled===!0}function QN(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function Xd(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function Zd(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function eH(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)||n.add(o)}),Array.from(n)}function tH(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)&&n.delete(o)}),Array.from(n)}function nH(e){return(e==null?void 0:e.type)==="group"}function oH(e){const t=new Map;return e.forEach((n,o)=>{t.set(n.key,o)}),n=>{var o;return(o=t.get(n))!==null&&o!==void 0?o:null}}class rH extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function iH(e,t,n,o){return Fc(t.concat(e),n,o,!1)}function aH(e,t){const n=new Set;return e.forEach(o=>{const r=t.treeNodeMap.get(o);if(r!==void 0){let i=r.parent;for(;i!==null&&!(i.disabled||n.has(i.key));)n.add(i.key),i=i.parent}}),n}function sH(e,t,n,o){const r=Fc(t,n,o,!1),i=Fc(e,n,o,!0),a=aH(e,n),s=[];return r.forEach(l=>{(i.has(l)||a.has(l))&&s.push(l)}),s.forEach(l=>r.delete(l)),r}function Jd(e,t){const{checkedKeys:n,keysToCheck:o,keysToUncheck:r,indeterminateKeys:i,cascade:a,leafOnly:s,checkStrategy:l,allowNotLoaded:c}=e;if(!a)return o!==void 0?{checkedKeys:eH(n,o),indeterminateKeys:Array.from(i)}:r!==void 0?{checkedKeys:tH(n,r),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(n),indeterminateKeys:Array.from(i)};const{levelTreeNodeMap:u}=t;let d;r!==void 0?d=sH(r,n,t,c):o!==void 0?d=iH(o,n,t,c):d=Fc(n,t,c,!1);const f=l==="parent",h=l==="child"||s,p=d,g=new Set,m=Math.max.apply(null,Array.from(u.keys()));for(let b=m;b>=0;b-=1){const _=b===0,C=u.get(b);for(const S of C){if(S.isLeaf)continue;const{key:w,shallowLoaded:x}=S;if(h&&x&&S.children.forEach(T=>{!T.disabled&&!T.isLeaf&&T.shallowLoaded&&p.has(T.key)&&p.delete(T.key)}),S.disabled||!x)continue;let y=!0,P=!1,k=!0;for(const T of S.children){const E=T.key;if(!T.disabled){if(k&&(k=!1),p.has(E))P=!0;else if(g.has(E)){P=!0,y=!1;break}else if(y=!1,P)break}}y&&!k?(f&&S.children.forEach(T=>{!T.disabled&&p.has(T.key)&&p.delete(T.key)}),p.add(w)):P&&g.add(w),_&&h&&p.has(w)&&p.delete(w)}}return{checkedKeys:Array.from(p),indeterminateKeys:Array.from(g)}}function Fc(e,t,n,o){const{treeNodeMap:r,getChildren:i}=t,a=new Set,s=new Set(e);return e.forEach(l=>{const c=r.get(l);c!==void 0&&V_(c,u=>{if(u.disabled)return Dh.STOP;const{key:d}=u;if(!a.has(d)&&(a.add(d),s.add(d),QN(u.rawNode,i))){if(o)return Dh.STOP;if(!n)throw new rH}})}),s}function lH(e,{includeGroup:t=!1,includeSelf:n=!0},o){var r;const i=o.treeNodeMap;let a=e==null?null:(r=i.get(e))!==null&&r!==void 0?r:null;const s={keyPath:[],treeNodePath:[],treeNode:a};if(a!=null&&a.ignored)return s.treeNode=null,s;for(;a;)!a.ignored&&(t||!a.isGroup)&&s.treeNodePath.push(a),a=a.parent;return s.treeNodePath.reverse(),n||s.treeNodePath.pop(),s.keyPath=s.treeNodePath.map(l=>l.key),s}function cH(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function uH(e,t){const n=e.siblings,o=n.length,{index:r}=e;return t?n[(r+1)%o]:r===n.length-1?null:n[r+1]}function j0(e,t,{loop:n=!1,includeDisabled:o=!1}={}){const r=t==="prev"?dH:uH,i={reverse:t==="prev"};let a=!1,s=null;function l(c){if(c!==null){if(c===e){if(!a)a=!0;else if(!e.disabled&&!e.isGroup){s=e;return}}else if((!c.disabled||o)&&!c.ignored&&!c.isGroup){s=c;return}if(c.isGroup){const u=hm(c,i);u!==null?s=u:l(r(c,n))}else{const u=r(c,!1);if(u!==null)l(u);else{const d=fH(c);d!=null&&d.isGroup?l(r(d,n)):n&&l(r(c,!0))}}}}return l(e),s}function dH(e,t){const n=e.siblings,o=n.length,{index:r}=e;return t?n[(r-1+o)%o]:r===0?null:n[r-1]}function fH(e){return e.parent}function hm(e,t={}){const{reverse:n=!1}=t,{children:o}=e;if(o){const{length:r}=o,i=n?r-1:0,a=n?-1:r,s=n?-1:1;for(let l=i;l!==a;l+=s){const c=o[l];if(!c.disabled&&!c.ignored)if(c.isGroup){const u=hm(c,t);if(u!==null)return u}else return c}}return null}const hH={getChild(){return this.ignored?null:hm(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return j0(this,"next",e)},getPrev(e={}){return j0(this,"prev",e)}};function pH(e,t){const n=t?new Set(t):void 0,o=[];function r(i){i.forEach(a=>{o.push(a),!(a.isLeaf||!a.children||a.ignored)&&(a.isGroup||n===void 0||n.has(a.key))&&r(a.children)})}return r(e),o}function mH(e,t){const n=e.key;for(;t;){if(t.key===n)return!0;t=t.parent}return!1}function W_(e,t,n,o,r,i=null,a=0){const s=[];return e.forEach((l,c)=>{var u;const d=Object.create(o);if(d.rawNode=l,d.siblings=s,d.level=a,d.index=c,d.isFirstChild=c===0,d.isLastChild=c+1===e.length,d.parent=i,!d.ignored){const f=r(l);Array.isArray(f)&&(d.children=W_(f,t,n,o,r,d,a+1))}s.push(d),t.set(d.key,d),n.has(a)||n.set(a,[]),(u=n.get(a))===null||u===void 0||u.push(d)}),s}function Pi(e,t={}){var n;const o=new Map,r=new Map,{getDisabled:i=JN,getIgnored:a=XN,getIsGroup:s=nH,getKey:l=YN}=t,c=(n=t.getChildren)!==null&&n!==void 0?n:GN,u=t.ignoreEmptyChildren?S=>{const w=c(S);return Array.isArray(w)?w.length?w:null:w}:c,d=Object.assign({get key(){return l(this.rawNode)},get disabled(){return i(this.rawNode)},get isGroup(){return s(this.rawNode)},get isLeaf(){return KN(this.rawNode,u)},get shallowLoaded(){return ZN(this.rawNode,u)},get ignored(){return a(this.rawNode)},contains(S){return mH(this,S)}},hH),f=W_(e,o,r,d,u);function h(S){if(S==null)return null;const w=o.get(S);return w&&!w.isGroup&&!w.ignored?w:null}function p(S){if(S==null)return null;const w=o.get(S);return w&&!w.ignored?w:null}function g(S,w){const x=p(S);return x?x.getPrev(w):null}function m(S,w){const x=p(S);return x?x.getNext(w):null}function b(S){const w=p(S);return w?w.getParent():null}function _(S){const w=p(S);return w?w.getChild():null}const C={treeNodes:f,treeNodeMap:o,levelTreeNodeMap:r,maxLevel:Math.max(...r.keys()),getChildren:u,getFlattenedNodes(S){return pH(f,S)},getNode:h,getPrev:g,getNext:m,getParent:b,getChild:_,getFirstAvailableNode(){return cH(f)},getPath(S,w={}){return lH(S,w,C)},getCheckedKeys(S,w={}){const{cascade:x=!0,leafOnly:y=!1,checkStrategy:P="all",allowNotLoaded:k=!1}=w;return Jd({checkedKeys:Xd(S),indeterminateKeys:Zd(S),cascade:x,leafOnly:y,checkStrategy:P,allowNotLoaded:k},C)},check(S,w,x={}){const{cascade:y=!0,leafOnly:P=!1,checkStrategy:k="all",allowNotLoaded:T=!1}=x;return Jd({checkedKeys:Xd(w),indeterminateKeys:Zd(w),keysToCheck:S==null?[]:H0(S),cascade:y,leafOnly:P,checkStrategy:k,allowNotLoaded:T},C)},uncheck(S,w,x={}){const{cascade:y=!0,leafOnly:P=!1,checkStrategy:k="all",allowNotLoaded:T=!1}=x;return Jd({checkedKeys:Xd(w),indeterminateKeys:Zd(w),keysToUncheck:S==null?[]:H0(S),cascade:y,leafOnly:P,checkStrategy:k,allowNotLoaded:T},C)},getNonLeafKeys(S={}){return qN(f,S)}};return C}const Xe={neutralBase:"#000",neutralInvertBase:"#fff",neutralTextBase:"#fff",neutralPopover:"rgb(72, 72, 78)",neutralCard:"rgb(24, 24, 28)",neutralModal:"rgb(44, 44, 50)",neutralBody:"rgb(16, 16, 20)",alpha1:"0.9",alpha2:"0.82",alpha3:"0.52",alpha4:"0.38",alpha5:"0.28",alphaClose:"0.52",alphaDisabled:"0.38",alphaDisabledInput:"0.06",alphaPending:"0.09",alphaTablePending:"0.06",alphaTableStriped:"0.05",alphaPressed:"0.05",alphaAvatar:"0.18",alphaRail:"0.2",alphaProgressRail:"0.12",alphaBorder:"0.24",alphaDivider:"0.09",alphaInput:"0.1",alphaAction:"0.06",alphaTab:"0.04",alphaScrollbar:"0.2",alphaScrollbarHover:"0.3",alphaCode:"0.12",alphaTag:"0.2",primaryHover:"#7fe7c4",primaryDefault:"#63e2b7",primaryActive:"#5acea7",primarySuppl:"rgb(42, 148, 125)",infoHover:"#8acbec",infoDefault:"#70c0e8",infoActive:"#66afd3",infoSuppl:"rgb(56, 137, 197)",errorHover:"#e98b8b",errorDefault:"#e88080",errorActive:"#e57272",errorSuppl:"rgb(208, 58, 82)",warningHover:"#f5d599",warningDefault:"#f2c97d",warningActive:"#e6c260",warningSuppl:"rgb(240, 138, 0)",successHover:"#7fe7c4",successDefault:"#63e2b7",successActive:"#5acea7",successSuppl:"rgb(42, 148, 125)"},gH=Uo(Xe.neutralBase),U_=Uo(Xe.neutralInvertBase),vH=`rgba(${U_.slice(0,3).join(", ")}, `;function Ot(e){return`${vH+String(e)})`}function bH(e){const t=Array.from(U_);return t[3]=Number(e),Ge(gH,t)}const yH=Object.assign(Object.assign({name:"common"},po),{baseColor:Xe.neutralBase,primaryColor:Xe.primaryDefault,primaryColorHover:Xe.primaryHover,primaryColorPressed:Xe.primaryActive,primaryColorSuppl:Xe.primarySuppl,infoColor:Xe.infoDefault,infoColorHover:Xe.infoHover,infoColorPressed:Xe.infoActive,infoColorSuppl:Xe.infoSuppl,successColor:Xe.successDefault,successColorHover:Xe.successHover,successColorPressed:Xe.successActive,successColorSuppl:Xe.successSuppl,warningColor:Xe.warningDefault,warningColorHover:Xe.warningHover,warningColorPressed:Xe.warningActive,warningColorSuppl:Xe.warningSuppl,errorColor:Xe.errorDefault,errorColorHover:Xe.errorHover,errorColorPressed:Xe.errorActive,errorColorSuppl:Xe.errorSuppl,textColorBase:Xe.neutralTextBase,textColor1:Ot(Xe.alpha1),textColor2:Ot(Xe.alpha2),textColor3:Ot(Xe.alpha3),textColorDisabled:Ot(Xe.alpha4),placeholderColor:Ot(Xe.alpha4),placeholderColorDisabled:Ot(Xe.alpha5),iconColor:Ot(Xe.alpha4),iconColorDisabled:Ot(Xe.alpha5),iconColorHover:Ot(Number(Xe.alpha4)*1.25),iconColorPressed:Ot(Number(Xe.alpha4)*.8),opacity1:Xe.alpha1,opacity2:Xe.alpha2,opacity3:Xe.alpha3,opacity4:Xe.alpha4,opacity5:Xe.alpha5,dividerColor:Ot(Xe.alphaDivider),borderColor:Ot(Xe.alphaBorder),closeIconColorHover:Ot(Number(Xe.alphaClose)),closeIconColor:Ot(Number(Xe.alphaClose)),closeIconColorPressed:Ot(Number(Xe.alphaClose)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:Ot(Xe.alpha4),clearColorHover:un(Ot(Xe.alpha4),{alpha:1.25}),clearColorPressed:un(Ot(Xe.alpha4),{alpha:.8}),scrollbarColor:Ot(Xe.alphaScrollbar),scrollbarColorHover:Ot(Xe.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Ot(Xe.alphaProgressRail),railColor:Ot(Xe.alphaRail),popoverColor:Xe.neutralPopover,tableColor:Xe.neutralCard,cardColor:Xe.neutralCard,modalColor:Xe.neutralModal,bodyColor:Xe.neutralBody,tagColor:bH(Xe.alphaTag),avatarColor:Ot(Xe.alphaAvatar),invertedColor:Xe.neutralBase,inputColor:Ot(Xe.alphaInput),codeColor:Ot(Xe.alphaCode),tabColor:Ot(Xe.alphaTab),actionColor:Ot(Xe.alphaAction),tableHeaderColor:Ot(Xe.alphaAction),hoverColor:Ot(Xe.alphaPending),tableColorHover:Ot(Xe.alphaTablePending),tableColorStriped:Ot(Xe.alphaTableStriped),pressedColor:Ot(Xe.alphaPressed),opacityDisabled:Xe.alphaDisabled,inputColorDisabled:Ot(Xe.alphaDisabledInput),buttonColor2:"rgba(255, 255, 255, .08)",buttonColor2Hover:"rgba(255, 255, 255, .12)",buttonColor2Pressed:"rgba(255, 255, 255, .08)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),je=yH,lt={neutralBase:"#FFF",neutralInvertBase:"#000",neutralTextBase:"#000",neutralPopover:"#fff",neutralCard:"#fff",neutralModal:"#fff",neutralBody:"#fff",alpha1:"0.82",alpha2:"0.72",alpha3:"0.38",alpha4:"0.24",alpha5:"0.18",alphaClose:"0.6",alphaDisabled:"0.5",alphaDisabledInput:"0.02",alphaPending:"0.05",alphaTablePending:"0.02",alphaPressed:"0.07",alphaAvatar:"0.2",alphaRail:"0.14",alphaProgressRail:".08",alphaBorder:"0.12",alphaDivider:"0.06",alphaInput:"0",alphaAction:"0.02",alphaTab:"0.04",alphaScrollbar:"0.25",alphaScrollbarHover:"0.4",alphaCode:"0.05",alphaTag:"0.02",primaryHover:"#36ad6a",primaryDefault:"#18a058",primaryActive:"#0c7a43",primarySuppl:"#36ad6a",infoHover:"#4098fc",infoDefault:"#2080f0",infoActive:"#1060c9",infoSuppl:"#4098fc",errorHover:"#de576d",errorDefault:"#d03050",errorActive:"#ab1f3f",errorSuppl:"#de576d",warningHover:"#fcb040",warningDefault:"#f0a020",warningActive:"#c97c10",warningSuppl:"#fcb040",successHover:"#36ad6a",successDefault:"#18a058",successActive:"#0c7a43",successSuppl:"#36ad6a"},xH=Uo(lt.neutralBase),q_=Uo(lt.neutralInvertBase),CH=`rgba(${q_.slice(0,3).join(", ")}, `;function V0(e){return`${CH+String(e)})`}function Rn(e){const t=Array.from(q_);return t[3]=Number(e),Ge(xH,t)}const wH=Object.assign(Object.assign({name:"common"},po),{baseColor:lt.neutralBase,primaryColor:lt.primaryDefault,primaryColorHover:lt.primaryHover,primaryColorPressed:lt.primaryActive,primaryColorSuppl:lt.primarySuppl,infoColor:lt.infoDefault,infoColorHover:lt.infoHover,infoColorPressed:lt.infoActive,infoColorSuppl:lt.infoSuppl,successColor:lt.successDefault,successColorHover:lt.successHover,successColorPressed:lt.successActive,successColorSuppl:lt.successSuppl,warningColor:lt.warningDefault,warningColorHover:lt.warningHover,warningColorPressed:lt.warningActive,warningColorSuppl:lt.warningSuppl,errorColor:lt.errorDefault,errorColorHover:lt.errorHover,errorColorPressed:lt.errorActive,errorColorSuppl:lt.errorSuppl,textColorBase:lt.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:Rn(lt.alpha4),placeholderColor:Rn(lt.alpha4),placeholderColorDisabled:Rn(lt.alpha5),iconColor:Rn(lt.alpha4),iconColorHover:un(Rn(lt.alpha4),{lightness:.75}),iconColorPressed:un(Rn(lt.alpha4),{lightness:.9}),iconColorDisabled:Rn(lt.alpha5),opacity1:lt.alpha1,opacity2:lt.alpha2,opacity3:lt.alpha3,opacity4:lt.alpha4,opacity5:lt.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:Rn(Number(lt.alphaClose)),closeIconColorHover:Rn(Number(lt.alphaClose)),closeIconColorPressed:Rn(Number(lt.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:Rn(lt.alpha4),clearColorHover:un(Rn(lt.alpha4),{lightness:.75}),clearColorPressed:un(Rn(lt.alpha4),{lightness:.9}),scrollbarColor:V0(lt.alphaScrollbar),scrollbarColorHover:V0(lt.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Rn(lt.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:lt.neutralPopover,tableColor:lt.neutralCard,cardColor:lt.neutralCard,modalColor:lt.neutralModal,bodyColor:lt.neutralBody,tagColor:"#eee",avatarColor:Rn(lt.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:Rn(lt.alphaInput),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:lt.alphaDisabled,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),xt=wH,_H={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"};function K_(e){const{textColorDisabled:t,iconColor:n,textColor2:o,fontSizeSmall:r,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s}=e;return Object.assign(Object.assign({},_H),{fontSizeSmall:r,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s,textColor:t,iconColor:n,extraTextColor:o})}const SH={name:"Empty",common:xt,self:K_},Mu=SH,kH={name:"Empty",common:je,self:K_},Ki=kH,PH=z("empty",`
display: flex;
flex-direction: column;
align-items: center;
font-size: var(--n-font-size);
`,[V("icon",`
width: var(--n-icon-size);
height: var(--n-icon-size);
font-size: var(--n-icon-size);
line-height: var(--n-icon-size);
color: var(--n-icon-color);
transition:
color .3s var(--n-bezier);
`,[q("+",[V("description",`
margin-top: 8px;
`)])]),V("description",`
transition: color .3s var(--n-bezier);
color: var(--n-text-color);
`),V("extra",`
text-align: center;
transition: color .3s var(--n-bezier);
margin-top: 12px;
color: var(--n-extra-text-color);
`)]),TH=Object.assign(Object.assign({},Be.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function}),G_=be({name:"Empty",props:TH,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Empty","-empty",PH,Mu,e,t),{localeRef:r}=Hi("Empty"),i=Ue(Eo,null),a=F(()=>{var u,d,f;return(u=e.description)!==null&&u!==void 0?u:(f=(d=i==null?void 0:i.mergedComponentPropsRef.value)===null||d===void 0?void 0:d.Empty)===null||f===void 0?void 0:f.description}),s=F(()=>{var u,d;return((d=(u=i==null?void 0:i.mergedComponentPropsRef.value)===null||u===void 0?void 0:u.Empty)===null||d===void 0?void 0:d.renderIcon)||(()=>v(zN,null))}),l=F(()=>{const{size:u}=e,{common:{cubicBezierEaseInOut:d},self:{[Re("iconSize",u)]:f,[Re("fontSize",u)]:h,textColor:p,iconColor:g,extraTextColor:m}}=o.value;return{"--n-icon-size":f,"--n-font-size":h,"--n-bezier":d,"--n-text-color":p,"--n-icon-color":g,"--n-extra-text-color":m}}),c=n?Pt("empty",F(()=>{let u="";const{size:d}=e;return u+=d[0],u}),l,e):void 0;return{mergedClsPrefix:t,mergedRenderIcon:s,localizedDescription:F(()=>a.value||r.value.description),cssVars:n?void 0:l,themeClass:c==null?void 0:c.themeClass,onRender:c==null?void 0:c.onRender}},render(){const{$slots:e,mergedClsPrefix:t,onRender:n}=this;return n==null||n(),v("div",{class:[`${t}-empty`,this.themeClass],style:this.cssVars},this.showIcon?v("div",{class:`${t}-empty__icon`},e.icon?e.icon():v(Ut,{clsPrefix:t},{default:this.mergedRenderIcon})):null,this.showDescription?v("div",{class:`${t}-empty__description`},e.default?e.default():this.localizedDescription):null,e.extra?v("div",{class:`${t}-empty__extra`},e.extra()):null)}}),RH={railInsetHorizontal:"auto 2px 4px 2px",railInsetVertical:"2px 4px 2px auto",railColor:"transparent"};function Y_(e){const{scrollbarColor:t,scrollbarColorHover:n,scrollbarHeight:o,scrollbarWidth:r,scrollbarBorderRadius:i}=e;return Object.assign(Object.assign({},RH),{height:o,width:r,borderRadius:i,color:t,colorHover:n})}const EH={name:"Scrollbar",common:xt,self:Y_},Gi=EH,$H={name:"Scrollbar",common:je,self:Y_},Vn=$H,{cubicBezierEaseInOut:W0}=po;function dl({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:n="0.2s",enterCubicBezier:o=W0,leaveCubicBezier:r=W0}={}){return[q(`&.${e}-transition-enter-active`,{transition:`all ${t} ${o}!important`}),q(`&.${e}-transition-leave-active`,{transition:`all ${n} ${r}!important`}),q(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),q(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}const AH=z("scrollbar",`
overflow: hidden;
position: relative;
z-index: auto;
height: 100%;
width: 100%;
`,[q(">",[z("scrollbar-container",`
width: 100%;
overflow: scroll;
height: 100%;
min-height: inherit;
max-height: inherit;
scrollbar-width: none;
`,[q("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",`
width: 0;
height: 0;
display: none;
`),q(">",[z("scrollbar-content",`
box-sizing: border-box;
min-width: 100%;
`)])])]),q(">, +",[z("scrollbar-rail",`
position: absolute;
pointer-events: none;
user-select: none;
background: var(--n-scrollbar-rail-color);
-webkit-user-select: none;
`,[Z("horizontal",`
inset: var(--n-scrollbar-rail-inset-horizontal);
height: var(--n-scrollbar-height);
`,[q(">",[V("scrollbar",`
height: var(--n-scrollbar-height);
border-radius: var(--n-scrollbar-border-radius);
right: 0;
`)])]),Z("vertical",`
inset: var(--n-scrollbar-rail-inset-vertical);
width: var(--n-scrollbar-width);
`,[q(">",[V("scrollbar",`
width: var(--n-scrollbar-width);
border-radius: var(--n-scrollbar-border-radius);
bottom: 0;
`)])]),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);
`,[dl(),q("&:hover","background-color: var(--n-scrollbar-color-hover);")])])])])]),IH=Object.assign(Object.assign({},Be.props),{duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean}),X_=be({name:"Scrollbar",props:IH,inheritAttrs:!1,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=st(e),r=pn("Scrollbar",o,t),i=W(null),a=W(null),s=W(null),l=W(null),c=W(null),u=W(null),d=W(null),f=W(null),h=W(null),p=W(null),g=W(null),m=W(0),b=W(0),_=W(!1),C=W(!1);let S=!1,w=!1,x,y,P=0,k=0,T=0,E=0;const R=A8(),K=Be("Scrollbar","-scrollbar",AH,Gi,e,t),N=F(()=>{const{value:X}=f,{value:ve}=u,{value:Ae}=p;return X===null||ve===null||Ae===null?0:Math.min(X,Ae*X/ve+bn(K.value.self.width)*1.5)}),D=F(()=>`${N.value}px`),M=F(()=>{const{value:X}=h,{value:ve}=d,{value:Ae}=g;return X===null||ve===null||Ae===null?0:Ae*X/ve+bn(K.value.self.height)*1.5}),G=F(()=>`${M.value}px`),J=F(()=>{const{value:X}=f,{value:ve}=m,{value:Ae}=u,{value:Ke}=p;if(X===null||Ae===null||Ke===null)return 0;{const Ze=Ae-X;return Ze?ve/Ze*(Ke-N.value):0}}),he=F(()=>`${J.value}px`),pe=F(()=>{const{value:X}=h,{value:ve}=b,{value:Ae}=d,{value:Ke}=g;if(X===null||Ae===null||Ke===null)return 0;{const Ze=Ae-X;return Ze?ve/Ze*(Ke-M.value):0}}),B=F(()=>`${pe.value}px`),$=F(()=>{const{value:X}=f,{value:ve}=u;return X!==null&&ve!==null&&ve>X}),A=F(()=>{const{value:X}=h,{value:ve}=d;return X!==null&&ve!==null&&ve>X}),Y=F(()=>{const{trigger:X}=e;return X==="none"||_.value}),ne=F(()=>{const{trigger:X}=e;return X==="none"||C.value}),fe=F(()=>{const{container:X}=e;return X?X():a.value}),Q=F(()=>{const{content:X}=e;return X?X():s.value}),xe=(X,ve)=>{if(!e.scrollable)return;if(typeof X=="number"){L(X,ve??0,0,!1,"auto");return}const{left:Ae,top:Ke,index:Ze,elSize:Je,position:tt,behavior:rt,el:vt,debounce:sn=!0}=X;(Ae!==void 0||Ke!==void 0)&&L(Ae??0,Ke??0,0,!1,rt),vt!==void 0?L(0,vt.offsetTop,vt.offsetHeight,sn,rt):Ze!==void 0&&Je!==void 0?L(0,Ze*Je,Je,sn,rt):tt==="bottom"?L(0,Number.MAX_SAFE_INTEGER,0,!1,rt):tt==="top"&&L(0,0,0,!1,rt)},H=Qp(()=>{e.container||xe({top:m.value,left:b.value})}),ye=()=>{H.isDeactivated||le()},Oe=X=>{if(H.isDeactivated)return;const{onResize:ve}=e;ve&&ve(X),le()},Ne=(X,ve)=>{if(!e.scrollable)return;const{value:Ae}=fe;Ae&&(typeof X=="object"?Ae.scrollBy(X):Ae.scrollBy(X,ve||0))};function L(X,ve,Ae,Ke,Ze){const{value:Je}=fe;if(Je){if(Ke){const{scrollTop:tt,offsetHeight:rt}=Je;if(ve>tt){ve+Ae<=tt+rt||Je.scrollTo({left:X,top:ve+Ae-rt,behavior:Ze});return}}Je.scrollTo({left:X,top:ve,behavior:Ze})}}function O(){ke(),I(),le()}function oe(){_e()}function _e(){te(),ge()}function te(){y!==void 0&&window.clearTimeout(y),y=window.setTimeout(()=>{C.value=!1},e.duration)}function ge(){x!==void 0&&window.clearTimeout(x),x=window.setTimeout(()=>{_.value=!1},e.duration)}function ke(){x!==void 0&&window.clearTimeout(x),_.value=!0}function I(){y!==void 0&&window.clearTimeout(y),C.value=!0}function j(X){const{onScroll:ve}=e;ve&&ve(X),ee()}function ee(){const{value:X}=fe;X&&(m.value=X.scrollTop,b.value=X.scrollLeft*(r!=null&&r.value?-1:1))}function Ce(){const{value:X}=Q;X&&(u.value=X.offsetHeight,d.value=X.offsetWidth);const{value:ve}=fe;ve&&(f.value=ve.offsetHeight,h.value=ve.offsetWidth);const{value:Ae}=c,{value:Ke}=l;Ae&&(g.value=Ae.offsetWidth),Ke&&(p.value=Ke.offsetHeight)}function ce(){const{value:X}=fe;X&&(m.value=X.scrollTop,b.value=X.scrollLeft*(r!=null&&r.value?-1:1),f.value=X.offsetHeight,h.value=X.offsetWidth,u.value=X.scrollHeight,d.value=X.scrollWidth);const{value:ve}=c,{value:Ae}=l;ve&&(g.value=ve.offsetWidth),Ae&&(p.value=Ae.offsetHeight)}function le(){e.scrollable&&(e.useUnifiedContainer?ce():(Ce(),ee()))}function re(X){var ve;return!(!((ve=i.value)===null||ve===void 0)&&ve.contains(Ai(X)))}function de(X){X.preventDefault(),X.stopPropagation(),w=!0,At("mousemove",window,De,!0),At("mouseup",window,Le,!0),k=b.value,T=r!=null&&r.value?window.innerWidth-X.clientX:X.clientX}function De(X){if(!w)return;x!==void 0&&window.clearTimeout(x),y!==void 0&&window.clearTimeout(y);const{value:ve}=h,{value:Ae}=d,{value:Ke}=M;if(ve===null||Ae===null)return;const Je=(r!=null&&r.value?window.innerWidth-X.clientX-T:X.clientX-T)*(Ae-ve)/(ve-Ke),tt=Ae-ve;let rt=k+Je;rt=Math.min(tt,rt),rt=Math.max(rt,0);const{value:vt}=fe;if(vt){vt.scrollLeft=rt*(r!=null&&r.value?-1:1);const{internalOnUpdateScrollLeft:sn}=e;sn&&sn(rt)}}function Le(X){X.preventDefault(),X.stopPropagation(),Tt("mousemove",window,De,!0),Tt("mouseup",window,Le,!0),w=!1,le(),re(X)&&_e()}function Pe(X){X.preventDefault(),X.stopPropagation(),S=!0,At("mousemove",window,Fe,!0),At("mouseup",window,He,!0),P=m.value,E=X.clientY}function Fe(X){if(!S)return;x!==void 0&&window.clearTimeout(x),y!==void 0&&window.clearTimeout(y);const{value:ve}=f,{value:Ae}=u,{value:Ke}=N;if(ve===null||Ae===null)return;const Je=(X.clientY-E)*(Ae-ve)/(ve-Ke),tt=Ae-ve;let rt=P+Je;rt=Math.min(tt,rt),rt=Math.max(rt,0);const{value:vt}=fe;vt&&(vt.scrollTop=rt)}function He(X){X.preventDefault(),X.stopPropagation(),Tt("mousemove",window,Fe,!0),Tt("mouseup",window,He,!0),S=!1,le(),re(X)&&_e()}Xt(()=>{const{value:X}=A,{value:ve}=$,{value:Ae}=t,{value:Ke}=c,{value:Ze}=l;Ke&&(X?Ke.classList.remove(`${Ae}-scrollbar-rail--disabled`):Ke.classList.add(`${Ae}-scrollbar-rail--disabled`)),Ze&&(ve?Ze.classList.remove(`${Ae}-scrollbar-rail--disabled`):Ze.classList.add(`${Ae}-scrollbar-rail--disabled`))}),jt(()=>{e.container||le()}),on(()=>{x!==void 0&&window.clearTimeout(x),y!==void 0&&window.clearTimeout(y),Tt("mousemove",window,Fe,!0),Tt("mouseup",window,He,!0)});const Ie=F(()=>{const{common:{cubicBezierEaseInOut:X},self:{color:ve,colorHover:Ae,height:Ke,width:Ze,borderRadius:Je,railInsetHorizontal:tt,railInsetVertical:rt,railColor:vt}}=K.value;return{"--n-scrollbar-bezier":X,"--n-scrollbar-color":ve,"--n-scrollbar-color-hover":Ae,"--n-scrollbar-border-radius":Je,"--n-scrollbar-width":Ze,"--n-scrollbar-height":Ke,"--n-scrollbar-rail-inset-horizontal":tt,"--n-scrollbar-rail-inset-vertical":r!=null&&r.value?X6(rt):rt,"--n-scrollbar-rail-color":vt}}),Qe=n?Pt("scrollbar",void 0,Ie,e):void 0;return Object.assign(Object.assign({},{scrollTo:xe,scrollBy:Ne,sync:le,syncUnifiedContainer:ce,handleMouseEnterWrapper:O,handleMouseLeaveWrapper:oe}),{mergedClsPrefix:t,rtlEnabled:r,containerScrollTop:m,wrapperRef:i,containerRef:a,contentRef:s,yRailRef:l,xRailRef:c,needYBar:$,needXBar:A,yBarSizePx:D,xBarSizePx:G,yBarTopPx:he,xBarLeftPx:B,isShowXBar:Y,isShowYBar:ne,isIos:R,handleScroll:j,handleContentResize:ye,handleContainerResize:Oe,handleYScrollMouseDown:Pe,handleXScrollMouseDown:de,cssVars:n?void 0:Ie,themeClass:Qe==null?void 0:Qe.themeClass,onRender:Qe==null?void 0:Qe.onRender})},render(){var e;const{$slots:t,mergedClsPrefix:n,triggerDisplayManually:o,rtlEnabled:r,internalHoistYRail:i}=this;if(!this.scrollable)return(e=t.default)===null||e===void 0?void 0:e.call(t);const a=this.trigger==="none",s=(u,d)=>v("div",{ref:"yRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--vertical`,u],"data-scrollbar-rail":!0,style:[d||"",this.verticalRailStyle],"aria-hidden":!0},v(a?yh:fn,a?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?v("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),l=()=>{var u,d;return(u=this.onRender)===null||u===void 0||u.call(this),v("div",Ln(this.$attrs,{role:"none",ref:"wrapperRef",class:[`${n}-scrollbar`,this.themeClass,r&&`${n}-scrollbar--rtl`],style:this.cssVars,onMouseenter:o?void 0:this.handleMouseEnterWrapper,onMouseleave:o?void 0:this.handleMouseLeaveWrapper}),[this.container?(d=t.default)===null||d===void 0?void 0:d.call(t):v("div",{role:"none",ref:"containerRef",class:[`${n}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},v(cr,{onResize:this.handleContentResize},{default:()=>v("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${n}-scrollbar-content`,this.contentClass]},t)})),i?null:s(void 0,void 0),this.xScrollable&&v("div",{ref:"xRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--horizontal`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},v(a?yh:fn,a?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?v("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,right:r?this.xBarLeftPx:void 0,left:r?void 0:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])},c=this.container?l():v(cr,{onResize:this.handleContainerResize},{default:l});return i?v(it,null,c,s(this.themeClass,this.cssVars)):c}}),Io=X_,Z_=X_,OH={height:"calc(var(--n-option-height) * 7.6)",paddingSmall:"4px 0",paddingMedium:"4px 0",paddingLarge:"4px 0",paddingHuge:"4px 0",optionPaddingSmall:"0 12px",optionPaddingMedium:"0 12px",optionPaddingLarge:"0 12px",optionPaddingHuge:"0 12px",loadingSize:"18px"};function J_(e){const{borderRadius:t,popoverColor:n,textColor3:o,dividerColor:r,textColor2:i,primaryColorPressed:a,textColorDisabled:s,primaryColor:l,opacityDisabled:c,hoverColor:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:h,fontSizeHuge:p,heightSmall:g,heightMedium:m,heightLarge:b,heightHuge:_}=e;return Object.assign(Object.assign({},OH),{optionFontSizeSmall:d,optionFontSizeMedium:f,optionFontSizeLarge:h,optionFontSizeHuge:p,optionHeightSmall:g,optionHeightMedium:m,optionHeightLarge:b,optionHeightHuge:_,borderRadius:t,color:n,groupHeaderTextColor:o,actionDividerColor:r,optionTextColor:i,optionTextColorPressed:a,optionTextColorDisabled:s,optionTextColorActive:l,optionOpacityDisabled:c,optionCheckColor:l,optionColorPending:u,optionColorActive:"rgba(0, 0, 0, 0)",optionColorActivePending:u,actionTextColor:i,loadingColor:l})}const MH={name:"InternalSelectMenu",common:xt,peers:{Scrollbar:Gi,Empty:Mu},self:J_},pm=MH,zH={name:"InternalSelectMenu",common:je,peers:{Scrollbar:Vn,Empty:Ki},self:J_},fl=zH;function DH(e,t){return v(fn,{name:"fade-in-scale-up-transition"},{default:()=>e?v(Ut,{clsPrefix:t,class:`${t}-base-select-option__check`},{default:()=>v(AN)}):null})}const U0=be({name:"NBaseSelectOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(e){const{valueRef:t,pendingTmNodeRef:n,multipleRef:o,valueSetRef:r,renderLabelRef:i,renderOptionRef:a,labelFieldRef:s,valueFieldRef:l,showCheckmarkRef:c,nodePropsRef:u,handleOptionClick:d,handleOptionMouseEnter:f}=Ue(Wp),h=kt(()=>{const{value:b}=n;return b?e.tmNode.key===b.key:!1});function p(b){const{tmNode:_}=e;_.disabled||d(b,_)}function g(b){const{tmNode:_}=e;_.disabled||f(b,_)}function m(b){const{tmNode:_}=e,{value:C}=h;_.disabled||C||f(b,_)}return{multiple:o,isGrouped:kt(()=>{const{tmNode:b}=e,{parent:_}=b;return _&&_.rawNode.type==="group"}),showCheckmark:c,nodeProps:u,isPending:h,isSelected:kt(()=>{const{value:b}=t,{value:_}=o;if(b===null)return!1;const C=e.tmNode.rawNode[l.value];if(_){const{value:S}=r;return S.has(C)}else return b===C}),labelField:s,renderLabel:i,renderOption:a,handleMouseMove:m,handleMouseEnter:g,handleClick:p}},render(){const{clsPrefix:e,tmNode:{rawNode:t},isSelected:n,isPending:o,isGrouped:r,showCheckmark:i,nodeProps:a,renderOption:s,renderLabel:l,handleClick:c,handleMouseEnter:u,handleMouseMove:d}=this,f=DH(n,e),h=l?[l(t,n),i&&f]:[Wt(t[this.labelField],t,n),i&&f],p=a==null?void 0:a(t),g=v("div",Object.assign({},p,{class:[`${e}-base-select-option`,t.class,p==null?void 0:p.class,{[`${e}-base-select-option--disabled`]:t.disabled,[`${e}-base-select-option--selected`]:n,[`${e}-base-select-option--grouped`]:r,[`${e}-base-select-option--pending`]:o,[`${e}-base-select-option--show-checkmark`]:i}],style:[(p==null?void 0:p.style)||"",t.style||""],onClick:Es([c,p==null?void 0:p.onClick]),onMouseenter:Es([u,p==null?void 0:p.onMouseenter]),onMousemove:Es([d,p==null?void 0:p.onMousemove])}),v("div",{class:`${e}-base-select-option__content`},h));return t.render?t.render({node:g,option:t,selected:n}):s?s({node:g,option:t,selected:n}):g}}),q0=be({name:"NBaseSelectGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{renderLabelRef:e,renderOptionRef:t,labelFieldRef:n,nodePropsRef:o}=Ue(Wp);return{labelField:n,nodeProps:o,renderLabel:e,renderOption:t}},render(){const{clsPrefix:e,renderLabel:t,renderOption:n,nodeProps:o,tmNode:{rawNode:r}}=this,i=o==null?void 0:o(r),a=t?t(r,!1):Wt(r[this.labelField],r,!1),s=v("div",Object.assign({},i,{class:[`${e}-base-select-group-header`,i==null?void 0:i.class]}),a);return r.render?r.render({node:s,option:r}):n?n({node:s,option:r,selected:!1}):s}}),{cubicBezierEaseIn:K0,cubicBezierEaseOut:G0}=po;function qa({transformOrigin:e="inherit",duration:t=".2s",enterScale:n=".9",originalTransform:o="",originalTransition:r=""}={}){return[q("&.fade-in-scale-up-transition-leave-active",{transformOrigin:e,transition:`opacity ${t} ${K0}, transform ${t} ${K0} ${r&&`,${r}`}`}),q("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${G0}, transform ${t} ${G0} ${r&&`,${r}`}`}),q("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${o} scale(${n})`}),q("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${o} scale(1)`})]}const LH=z("base-select-menu",`
line-height: 1.5;
outline: none;
z-index: 0;
position: relative;
border-radius: var(--n-border-radius);
transition:
background-color .3s var(--n-bezier),
box-shadow .3s var(--n-bezier);
background-color: var(--n-color);
`,[z("scrollbar",`
max-height: var(--n-height);
`),z("virtual-list",`
max-height: var(--n-height);
`),z("base-select-option",`
min-height: var(--n-option-height);
font-size: var(--n-option-font-size);
display: flex;
align-items: center;
`,[V("content",`
z-index: 1;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
`)]),z("base-select-group-header",`
min-height: var(--n-option-height);
font-size: .93em;
display: flex;
align-items: center;
`),z("base-select-menu-option-wrapper",`
position: relative;
width: 100%;
`),V("loading, empty",`
display: flex;
padding: 12px 32px;
flex: 1;
justify-content: center;
`),V("loading",`
color: var(--n-loading-color);
font-size: var(--n-loading-size);
`),V("header",`
padding: 8px var(--n-option-padding-left);
font-size: var(--n-option-font-size);
transition:
color .3s var(--n-bezier),
border-color .3s var(--n-bezier);
border-bottom: 1px solid var(--n-action-divider-color);
color: var(--n-action-text-color);
`),V("action",`
padding: 8px var(--n-option-padding-left);
font-size: var(--n-option-font-size);
transition:
color .3s var(--n-bezier),
border-color .3s var(--n-bezier);
border-top: 1px solid var(--n-action-divider-color);
color: var(--n-action-text-color);
`),z("base-select-group-header",`
position: relative;
cursor: default;
padding: var(--n-option-padding);
color: var(--n-group-header-text-color);
`),z("base-select-option",`
cursor: pointer;
position: relative;
padding: var(--n-option-padding);
transition:
color .3s var(--n-bezier),
opacity .3s var(--n-bezier);
box-sizing: border-box;
color: var(--n-option-text-color);
opacity: 1;
`,[Z("show-checkmark",`
padding-right: calc(var(--n-option-padding-right) + 20px);
`),q("&::before",`
content: "";
position: absolute;
left: 4px;
right: 4px;
top: 0;
bottom: 0;
border-radius: var(--n-border-radius);
transition: background-color .3s var(--n-bezier);
`),q("&:active",`
color: var(--n-option-text-color-pressed);
`),Z("grouped",`
padding-left: calc(var(--n-option-padding-left) * 1.5);
`),Z("pending",[q("&::before",`
background-color: var(--n-option-color-pending);
`)]),Z("selected",`
color: var(--n-option-text-color-active);
`,[q("&::before",`
background-color: var(--n-option-color-active);
`),Z("pending",[q("&::before",`
background-color: var(--n-option-color-active-pending);
`)])]),Z("disabled",`
cursor: not-allowed;
`,[Rt("selected",`
color: var(--n-option-text-color-disabled);
`),Z("selected",`
opacity: var(--n-option-opacity-disabled);
`)]),V("check",`
font-size: 16px;
position: absolute;
right: calc(var(--n-option-padding-right) - 4px);
top: calc(50% - 7px);
color: var(--n-option-check-color);
transition: color .3s var(--n-bezier);
`,[qa({enterScale:"0.5"})])])]),Q_=be({name:"InternalSelectMenu",props:Object.assign(Object.assign({},Be.props),{clsPrefix:{type:String,required:!0},scrollable:{type:Boolean,default:!0},treeMate:{type:Object,required:!0},multiple:Boolean,size:{type:String,default:"medium"},value:{type:[String,Number,Array],default:null},autoPending:Boolean,virtualScroll:{type:Boolean,default:!0},show:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},loading:Boolean,focusable:Boolean,renderLabel:Function,renderOption:Function,nodeProps:Function,showCheckmark:{type:Boolean,default:!0},onMousedown:Function,onScroll:Function,onFocus:Function,onBlur:Function,onKeyup:Function,onKeydown:Function,onTabOut:Function,onMouseenter:Function,onMouseleave:Function,onResize:Function,resetMenuOnOptionsChange:{type:Boolean,default:!0},inlineThemeDisabled:Boolean,onToggle:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=st(e),o=pn("InternalSelectMenu",n,t),r=Be("InternalSelectMenu","-internal-select-menu",LH,pm,e,We(e,"clsPrefix")),i=W(null),a=W(null),s=W(null),l=F(()=>e.treeMate.getFlattenedNodes()),c=F(()=>oH(l.value)),u=W(null);function d(){const{treeMate:$}=e;let A=null;const{value:Y}=e;Y===null?A=$.getFirstAvailableNode():(e.multiple?A=$.getNode((Y||[])[(Y||[]).length-1]):A=$.getNode(Y),(!A||A.disabled)&&(A=$.getFirstAvailableNode())),N(A||null)}function f(){const{value:$}=u;$&&!e.treeMate.getNode($.key)&&(u.value=null)}let h;ft(()=>e.show,$=>{$?h=ft(()=>e.treeMate,()=>{e.resetMenuOnOptionsChange?(e.autoPending?d():f(),Ht(D)):f()},{immediate:!0}):h==null||h()},{immediate:!0}),on(()=>{h==null||h()});const p=F(()=>bn(r.value.self[Re("optionHeight",e.size)])),g=F(()=>lo(r.value.self[Re("padding",e.size)])),m=F(()=>e.multiple&&Array.isArray(e.value)?new Set(e.value):new Set),b=F(()=>{const $=l.value;return $&&$.length===0});function _($){const{onToggle:A}=e;A&&A($)}function C($){const{onScroll:A}=e;A&&A($)}function S($){var A;(A=s.value)===null||A===void 0||A.sync(),C($)}function w(){var $;($=s.value)===null||$===void 0||$.sync()}function x(){const{value:$}=u;return $||null}function y($,A){A.disabled||N(A,!1)}function P($,A){A.disabled||_(A)}function k($){var A;so($,"action")||(A=e.onKeyup)===null||A===void 0||A.call(e,$)}function T($){var A;so($,"action")||(A=e.onKeydown)===null||A===void 0||A.call(e,$)}function E($){var A;(A=e.onMousedown)===null||A===void 0||A.call(e,$),!e.focusable&&$.preventDefault()}function R(){const{value:$}=u;$&&N($.getNext({loop:!0}),!0)}function K(){const{value:$}=u;$&&N($.getPrev({loop:!0}),!0)}function N($,A=!1){u.value=$,A&&D()}function D(){var $,A;const Y=u.value;if(!Y)return;const ne=c.value(Y.key);ne!==null&&(e.virtualScroll?($=a.value)===null||$===void 0||$.scrollTo({index:ne}):(A=s.value)===null||A===void 0||A.scrollTo({index:ne,elSize:p.value}))}function M($){var A,Y;!((A=i.value)===null||A===void 0)&&A.contains($.target)&&((Y=e.onFocus)===null||Y===void 0||Y.call(e,$))}function G($){var A,Y;!((A=i.value)===null||A===void 0)&&A.contains($.relatedTarget)||(Y=e.onBlur)===null||Y===void 0||Y.call(e,$)}at(Wp,{handleOptionMouseEnter:y,handleOptionClick:P,valueSetRef:m,pendingTmNodeRef:u,nodePropsRef:We(e,"nodeProps"),showCheckmarkRef:We(e,"showCheckmark"),multipleRef:We(e,"multiple"),valueRef:We(e,"value"),renderLabelRef:We(e,"renderLabel"),renderOptionRef:We(e,"renderOption"),labelFieldRef:We(e,"labelField"),valueFieldRef:We(e,"valueField")}),at(Rw,i),jt(()=>{const{value:$}=s;$&&$.sync()});const J=F(()=>{const{size:$}=e,{common:{cubicBezierEaseInOut:A},self:{height:Y,borderRadius:ne,color:fe,groupHeaderTextColor:Q,actionDividerColor:xe,optionTextColorPressed:H,optionTextColor:ye,optionTextColorDisabled:Oe,optionTextColorActive:Ne,optionOpacityDisabled:L,optionCheckColor:O,actionTextColor:oe,optionColorPending:_e,optionColorActive:te,loadingColor:ge,loadingSize:ke,optionColorActivePending:I,[Re("optionFontSize",$)]:j,[Re("optionHeight",$)]:ee,[Re("optionPadding",$)]:Ce}}=r.value;return{"--n-height":Y,"--n-action-divider-color":xe,"--n-action-text-color":oe,"--n-bezier":A,"--n-border-radius":ne,"--n-color":fe,"--n-option-font-size":j,"--n-group-header-text-color":Q,"--n-option-check-color":O,"--n-option-color-pending":_e,"--n-option-color-active":te,"--n-option-color-active-pending":I,"--n-option-height":ee,"--n-option-opacity-disabled":L,"--n-option-text-color":ye,"--n-option-text-color-active":Ne,"--n-option-text-color-disabled":Oe,"--n-option-text-color-pressed":H,"--n-option-padding":Ce,"--n-option-padding-left":lo(Ce,"left"),"--n-option-padding-right":lo(Ce,"right"),"--n-loading-color":ge,"--n-loading-size":ke}}),{inlineThemeDisabled:he}=e,pe=he?Pt("internal-select-menu",F(()=>e.size[0]),J,e):void 0,B={selfRef:i,next:R,prev:K,getPendingTmNode:x};return Uw(i,e.onResize),Object.assign({mergedTheme:r,mergedClsPrefix:t,rtlEnabled:o,virtualListRef:a,scrollbarRef:s,itemSize:p,padding:g,flattenedNodes:l,empty:b,virtualListContainer(){const{value:$}=a;return $==null?void 0:$.listElRef},virtualListContent(){const{value:$}=a;return $==null?void 0:$.itemsElRef},doScroll:C,handleFocusin:M,handleFocusout:G,handleKeyUp:k,handleKeyDown:T,handleMouseDown:E,handleVirtualListResize:w,handleVirtualListScroll:S,cssVars:he?void 0:J,themeClass:pe==null?void 0:pe.themeClass,onRender:pe==null?void 0:pe.onRender},B)},render(){const{$slots:e,virtualScroll:t,clsPrefix:n,mergedTheme:o,themeClass:r,onRender:i}=this;return i==null||i(),v("div",{ref:"selfRef",tabindex:this.focusable?0:-1,class:[`${n}-base-select-menu`,this.rtlEnabled&&`${n}-base-select-menu--rtl`,r,this.multiple&&`${n}-base-select-menu--multiple`],style:this.cssVars,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onKeyup:this.handleKeyUp,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},$t(e.header,a=>a&&v("div",{class:`${n}-base-select-menu__header`,"data-header":!0,key:"header"},a)),this.loading?v("div",{class:`${n}-base-select-menu__loading`},v(ti,{clsPrefix:n,strokeWidth:20})):this.empty?v("div",{class:`${n}-base-select-menu__empty`,"data-empty":!0},An(e.empty,()=>[v(G_,{theme:o.peers.Empty,themeOverrides:o.peerOverrides.Empty})])):v(Io,{ref:"scrollbarRef",theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,scrollable:this.scrollable,container:t?this.virtualListContainer:void 0,content:t?this.virtualListContent:void 0,onScroll:t?void 0:this.doScroll},{default:()=>t?v(Nw,{ref:"virtualListRef",class:`${n}-virtual-list`,items:this.flattenedNodes,itemSize:this.itemSize,showScrollbar:!1,paddingTop:this.padding.top,paddingBottom:this.padding.bottom,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemResizable:!0},{default:({item:a})=>a.isGroup?v(q0,{key:a.key,clsPrefix:n,tmNode:a}):a.ignored?null:v(U0,{clsPrefix:n,key:a.key,tmNode:a})}):v("div",{class:`${n}-base-select-menu-option-wrapper`,style:{paddingTop:this.padding.top,paddingBottom:this.padding.bottom}},this.flattenedNodes.map(a=>a.isGroup?v(q0,{key:a.key,clsPrefix:n,tmNode:a}):v(U0,{clsPrefix:n,key:a.key,tmNode:a})))}),$t(e.action,a=>a&&[v("div",{class:`${n}-base-select-menu__action`,"data-action":!0,key:"action"},a),v(jN,{onFocus:this.onTabOut,key:"focus-detector"})]))}}),FH=z("base-wave",`
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
border-radius: inherit;
`),BH=be({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){ei("-base-wave",FH,We(e,"clsPrefix"));const t=W(null),n=W(!1);let o=null;return on(()=>{o!==null&&window.clearTimeout(o)}),{active:n,selfRef:t,play(){o!==null&&(window.clearTimeout(o),n.value=!1,o=null),Ht(()=>{var r;(r=t.value)===null||r===void 0||r.offsetHeight,n.value=!0,o=window.setTimeout(()=>{n.value=!1,o=null},1e3)})}}},render(){const{clsPrefix:e}=this;return v("div",{ref:"selfRef","aria-hidden":!0,class:[`${e}-base-wave`,this.active&&`${e}-base-wave--active`]})}}),NH={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"};function e2(e){const{boxShadow2:t,popoverColor:n,textColor2:o,borderRadius:r,fontSize:i,dividerColor:a}=e;return Object.assign(Object.assign({},NH),{fontSize:i,borderRadius:r,color:n,dividerColor:a,textColor:o,boxShadow:t})}const HH={name:"Popover",common:xt,self:e2},Ka=HH,jH={name:"Popover",common:je,self:e2},Yi=jH,Qd={top:"bottom",bottom:"top",left:"right",right:"left"},vn="var(--n-arrow-height) * 1.414",VH=q([z("popover",`
transition:
box-shadow .3s var(--n-bezier),
background-color .3s var(--n-bezier),
color .3s var(--n-bezier);
position: relative;
font-size: var(--n-font-size);
color: var(--n-text-color);
box-shadow: var(--n-box-shadow);
word-break: break-word;
`,[q(">",[z("scrollbar",`
height: inherit;
max-height: inherit;
`)]),Rt("raw",`
background-color: var(--n-color);
border-radius: var(--n-border-radius);
`,[Rt("scrollable",[Rt("show-header-or-footer","padding: var(--n-padding);")])]),V("header",`
padding: var(--n-padding);
border-bottom: 1px solid var(--n-divider-color);
transition: border-color .3s var(--n-bezier);
`),V("footer",`
padding: var(--n-padding);
border-top: 1px solid var(--n-divider-color);
transition: border-color .3s var(--n-bezier);
`),Z("scrollable, show-header-or-footer",[V("content",`
padding: var(--n-padding);
`)])]),z("popover-shared",`
transform-origin: inherit;
`,[z("popover-arrow-wrapper",`
position: absolute;
overflow: hidden;
pointer-events: none;
`,[z("popover-arrow",`
transition: background-color .3s var(--n-bezier);
position: absolute;
display: block;
width: calc(${vn});
height: calc(${vn});
box-shadow: 0 0 8px 0 rgba(0, 0, 0, .12);
transform: rotate(45deg);
background-color: var(--n-color);
pointer-events: all;
`)]),q("&.popover-transition-enter-from, &.popover-transition-leave-to",`
opacity: 0;
transform: scale(.85);
`),q("&.popover-transition-enter-to, &.popover-transition-leave-from",`
transform: scale(1);
opacity: 1;
`),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);
`),q("&.popover-transition-leave-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-in),
transform .15s var(--n-bezier-ease-in);
`)]),ro("top-start",`
top: calc(${vn} / -2);
left: calc(${nr("top-start")} - var(--v-offset-left));
`),ro("top",`
top: calc(${vn} / -2);
transform: translateX(calc(${vn} / -2)) rotate(45deg);
left: 50%;
`),ro("top-end",`
top: calc(${vn} / -2);
right: calc(${nr("top-end")} + var(--v-offset-left));
`),ro("bottom-start",`
bottom: calc(${vn} / -2);
left: calc(${nr("bottom-start")} - var(--v-offset-left));
`),ro("bottom",`
bottom: calc(${vn} / -2);
transform: translateX(calc(${vn} / -2)) rotate(45deg);
left: 50%;
`),ro("bottom-end",`
bottom: calc(${vn} / -2);
right: calc(${nr("bottom-end")} + var(--v-offset-left));
`),ro("left-start",`
left: calc(${vn} / -2);
top: calc(${nr("left-start")} - var(--v-offset-top));
`),ro("left",`
left: calc(${vn} / -2);
transform: translateY(calc(${vn} / -2)) rotate(45deg);
top: 50%;
`),ro("left-end",`
left: calc(${vn} / -2);
bottom: calc(${nr("left-end")} + var(--v-offset-top));
`),ro("right-start",`
right: calc(${vn} / -2);
top: calc(${nr("right-start")} - var(--v-offset-top));
`),ro("right",`
right: calc(${vn} / -2);
transform: translateY(calc(${vn} / -2)) rotate(45deg);
top: 50%;
`),ro("right-end",`
right: calc(${vn} / -2);
bottom: calc(${nr("right-end")} + var(--v-offset-top));
`),...kF({top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]},(e,t)=>{const n=["right","left"].includes(t),o=n?"width":"height";return e.map(r=>{const i=r.split("-")[1]==="end",s=`calc((${`var(--v-target-${o}, 0px)`} - ${vn}) / 2)`,l=nr(r);return q(`[v-placement="${r}"] >`,[z("popover-shared",[Z("center-arrow",[z("popover-arrow",`${t}: calc(max(${s}, ${l}) ${i?"+":"-"} var(--v-offset-${n?"left":"top"}));`)])])])})})]);function nr(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function ro(e,t){const n=e.split("-")[0],o=["top","bottom"].includes(n)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return q(`[v-placement="${e}"] >`,[z("popover-shared",`
margin-${Qd[n]}: var(--n-space);
`,[Z("show-arrow",`
margin-${Qd[n]}: var(--n-space-arrow);
`),Z("overlap",`
margin: 0;
`),v8("popover-arrow-wrapper",`
right: 0;
left: 0;
top: 0;
bottom: 0;
${n}: 100%;
${Qd[n]}: auto;
${o}
`,[z("popover-arrow",t)])])])}const t2=Object.assign(Object.assign({},Be.props),{to:qo.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number});function n2({arrowClass:e,arrowStyle:t,arrowWrapperClass:n,arrowWrapperStyle:o,clsPrefix:r}){return v("div",{key:"__popover-arrow__",style:o,class:[`${r}-popover-arrow-wrapper`,n]},v("div",{class:[`${r}-popover-arrow`,e],style:t}))}const WH=be({name:"PopoverBody",inheritAttrs:!1,props:t2,setup(e,{slots:t,attrs:n}){const{namespaceRef:o,mergedClsPrefixRef:r,inlineThemeDisabled:i}=st(e),a=Be("Popover","-popover",VH,Ka,e,r),s=W(null),l=Ue("NPopover"),c=W(null),u=W(e.show),d=W(!1);Xt(()=>{const{show:y}=e;y&&!b8()&&!e.internalDeactivateImmediately&&(d.value=!0)});const f=F(()=>{const{trigger:y,onClickoutside:P}=e,k=[],{positionManuallyRef:{value:T}}=l;return T||(y==="click"&&!P&&k.push([Ea,S,void 0,{capture:!0}]),y==="hover"&&k.push([B8,C])),P&&k.push([Ea,S,void 0,{capture:!0}]),(e.displayDirective==="show"||e.animated&&d.value)&&k.push([Mn,e.show]),k}),h=F(()=>{const{common:{cubicBezierEaseInOut:y,cubicBezierEaseIn:P,cubicBezierEaseOut:k},self:{space:T,spaceArrow:E,padding:R,fontSize:K,textColor:N,dividerColor:D,color:M,boxShadow:G,borderRadius:J,arrowHeight:he,arrowOffset:pe,arrowOffsetVertical:B}}=a.value;return{"--n-box-shadow":G,"--n-bezier":y,"--n-bezier-ease-in":P,"--n-bezier-ease-out":k,"--n-font-size":K,"--n-text-color":N,"--n-color":M,"--n-divider-color":D,"--n-border-radius":J,"--n-arrow-height":he,"--n-arrow-offset":pe,"--n-arrow-offset-vertical":B,"--n-padding":R,"--n-space":T,"--n-space-arrow":E}}),p=F(()=>{const y=e.width==="trigger"?void 0:qt(e.width),P=[];y&&P.push({width:y});const{maxWidth:k,minWidth:T}=e;return k&&P.push({maxWidth:qt(k)}),T&&P.push({maxWidth:qt(T)}),i||P.push(h.value),P}),g=i?Pt("popover",void 0,h,e):void 0;l.setBodyInstance({syncPosition:m}),on(()=>{l.setBodyInstance(null)}),ft(We(e,"show"),y=>{e.animated||(y?u.value=!0:u.value=!1)});function m(){var y;(y=s.value)===null||y===void 0||y.syncPosition()}function b(y){e.trigger==="hover"&&e.keepAliveOnHover&&e.show&&l.handleMouseEnter(y)}function _(y){e.trigger==="hover"&&e.keepAliveOnHover&&l.handleMouseLeave(y)}function C(y){e.trigger==="hover"&&!w().contains(Ai(y))&&l.handleMouseMoveOutside(y)}function S(y){(e.trigger==="click"&&!w().contains(Ai(y))||e.onClickoutside)&&l.handleClickOutside(y)}function w(){return l.getTriggerElement()}at(Va,c),at(ll,null),at(sl,null);function x(){if(g==null||g.onRender(),!(e.displayDirective==="show"||e.show||e.animated&&d.value))return null;let P;const k=l.internalRenderBodyRef.value,{value:T}=r;if(k)P=k([`${T}-popover-shared`,g==null?void 0:g.themeClass.value,e.overlap&&`${T}-popover-shared--overlap`,e.showArrow&&`${T}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${T}-popover-shared--center-arrow`],c,p.value,b,_);else{const{value:E}=l.extraClassRef,{internalTrapFocus:R}=e,K=!ga(t.header)||!ga(t.footer),N=()=>{var D,M;const G=K?v(it,null,$t(t.header,pe=>pe?v("div",{class:[`${T}-popover__header`,e.headerClass],style:e.headerStyle},pe):null),$t(t.default,pe=>pe?v("div",{class:[`${T}-popover__content`,e.contentClass],style:e.contentStyle},t):null),$t(t.footer,pe=>pe?v("div",{class:[`${T}-popover__footer`,e.footerClass],style:e.footerStyle},pe):null)):e.scrollable?(D=t.default)===null||D===void 0?void 0:D.call(t):v("div",{class:[`${T}-popover__content`,e.contentClass],style:e.contentStyle},t),J=e.scrollable?v(Z_,{contentClass:K?void 0:`${T}-popover__content ${(M=e.contentClass)!==null&&M!==void 0?M:""}`,contentStyle:K?void 0:e.contentStyle},{default:()=>G}):G,he=e.showArrow?n2({arrowClass:e.arrowClass,arrowStyle:e.arrowStyle,arrowWrapperClass:e.arrowWrapperClass,arrowWrapperStyle:e.arrowWrapperStyle,clsPrefix:T}):null;return[J,he]};P=v("div",Ln({class:[`${T}-popover`,`${T}-popover-shared`,g==null?void 0:g.themeClass.value,E.map(D=>`${T}-${D}`),{[`${T}-popover--scrollable`]:e.scrollable,[`${T}-popover--show-header-or-footer`]:K,[`${T}-popover--raw`]:e.raw,[`${T}-popover-shared--overlap`]:e.overlap,[`${T}-popover-shared--show-arrow`]:e.showArrow,[`${T}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:c,style:p.value,onKeydown:l.handleKeydown,onMouseenter:b,onMouseleave:_},n),R?v(Zp,{active:e.show,autoFocus:!0},{default:N}):N())}return dn(P,f.value)}return{displayed:d,namespace:o,isMounted:l.isMountedRef,zIndex:l.zIndexRef,followerRef:s,adjustedTo:qo(e),followerEnabled:u,renderContentNode:x}},render(){return v(Yp,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:this.width==="trigger"?"target":void 0,teleportDisabled:this.adjustedTo===qo.tdkey},{default:()=>this.animated?v(fn,{name:"popover-transition",appear:this.isMounted,onEnter:()=>{this.followerEnabled=!0},onAfterLeave:()=>{var e;(e=this.internalOnAfterLeave)===null||e===void 0||e.call(this),this.followerEnabled=!1,this.displayed=!1}},{default:this.renderContentNode}):this.renderContentNode()})}}),UH=Object.keys(t2),qH={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};function KH(e,t,n){qH[t].forEach(o=>{e.props?e.props=Object.assign({},e.props):e.props={};const r=e.props[o],i=n[o];r?e.props[o]=(...a)=>{r(...a),i(...a)}:e.props[o]=i})}const Aa={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:qo.propTo,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:()=>[]},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:()=>[]},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},GH=Object.assign(Object.assign(Object.assign({},Be.props),Aa),{internalOnAfterLeave:Function,internalRenderBody:Function}),hl=be({name:"Popover",inheritAttrs:!1,props:GH,__popover__:!0,setup(e){const t=Qr(),n=W(null),o=F(()=>e.show),r=W(e.defaultShow),i=an(o,r),a=kt(()=>e.disabled?!1:i.value),s=()=>{if(e.disabled)return!0;const{getDisabled:D}=e;return!!(D!=null&&D())},l=()=>s()?!1:i.value,c=Pu(e,["arrow","showArrow"]),u=F(()=>e.overlap?!1:c.value);let d=null;const f=W(null),h=W(null),p=kt(()=>e.x!==void 0&&e.y!==void 0);function g(D){const{"onUpdate:show":M,onUpdateShow:G,onShow:J,onHide:he}=e;r.value=D,M&&$e(M,D),G&&$e(G,D),D&&J&&$e(J,!0),D&&he&&$e(he,!1)}function m(){d&&d.syncPosition()}function b(){const{value:D}=f;D&&(window.clearTimeout(D),f.value=null)}function _(){const{value:D}=h;D&&(window.clearTimeout(D),h.value=null)}function C(){const D=s();if(e.trigger==="focus"&&!D){if(l())return;g(!0)}}function S(){const D=s();if(e.trigger==="focus"&&!D){if(!l())return;g(!1)}}function w(){const D=s();if(e.trigger==="hover"&&!D){if(_(),f.value!==null||l())return;const M=()=>{g(!0),f.value=null},{delay:G}=e;G===0?M():f.value=window.setTimeout(M,G)}}function x(){const D=s();if(e.trigger==="hover"&&!D){if(b(),h.value!==null||!l())return;const M=()=>{g(!1),h.value=null},{duration:G}=e;G===0?M():h.value=window.setTimeout(M,G)}}function y(){x()}function P(D){var M;l()&&(e.trigger==="click"&&(b(),_(),g(!1)),(M=e.onClickoutside)===null||M===void 0||M.call(e,D))}function k(){if(e.trigger==="click"&&!s()){b(),_();const D=!l();g(D)}}function T(D){e.internalTrapFocus&&D.key==="Escape"&&(b(),_(),g(!1))}function E(D){r.value=D}function R(){var D;return(D=n.value)===null||D===void 0?void 0:D.targetRef}function K(D){d=D}return at("NPopover",{getTriggerElement:R,handleKeydown:T,handleMouseEnter:w,handleMouseLeave:x,handleClickOutside:P,handleMouseMoveOutside:y,setBodyInstance:K,positionManuallyRef:p,isMountedRef:t,zIndexRef:We(e,"zIndex"),extraClassRef:We(e,"internalExtraClass"),internalRenderBodyRef:We(e,"internalRenderBody")}),Xt(()=>{i.value&&s()&&g(!1)}),{binderInstRef:n,positionManually:p,mergedShowConsideringDisabledProp:a,uncontrolledShow:r,mergedShowArrow:u,getMergedShow:l,setShow:E,handleClick:k,handleMouseEnter:w,handleMouseLeave:x,handleFocus:C,handleBlur:S,syncPosition:m}},render(){var e;const{positionManually:t,$slots:n}=this;let o,r=!1;if(!t&&(n.activator?o=vh(n,"activator"):o=vh(n,"trigger"),o)){o=uo(o),o=o.type===za?v("span",[o]):o;const i={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(!((e=o.type)===null||e===void 0)&&e.__popover__)r=!0,o.props||(o.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),o.props.internalSyncTargetWithParent=!0,o.props.internalInheritedEventHandlers?o.props.internalInheritedEventHandlers=[i,...o.props.internalInheritedEventHandlers]:o.props.internalInheritedEventHandlers=[i];else{const{internalInheritedEventHandlers:a}=this,s=[i,...a],l={onBlur:c=>{s.forEach(u=>{u.onBlur(c)})},onFocus:c=>{s.forEach(u=>{u.onFocus(c)})},onClick:c=>{s.forEach(u=>{u.onClick(c)})},onMouseenter:c=>{s.forEach(u=>{u.onMouseenter(c)})},onMouseleave:c=>{s.forEach(u=>{u.onMouseleave(c)})}};KH(o,a?"nested":t?"manual":this.trigger,l)}}return v(qp,{ref:"binderInstRef",syncTarget:!r,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const i=this.getMergedShow();return[this.internalTrapFocus&&i?dn(v("div",{style:{position:"fixed",inset:0}}),[[Tu,{enabled:i,zIndex:this.zIndex}]]):null,t?null:v(Kp,null,{default:()=>o}),v(WH,Qn(this.$props,UH,Object.assign(Object.assign({},this.$attrs),{showArrow:this.mergedShowArrow,show:i})),{default:()=>{var a,s;return(s=(a=this.$slots).default)===null||s===void 0?void 0:s.call(a)},header:()=>{var a,s;return(s=(a=this.$slots).header)===null||s===void 0?void 0:s.call(a)},footer:()=>{var a,s;return(s=(a=this.$slots).footer)===null||s===void 0?void 0:s.call(a)}})]}})}}),o2={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px"},YH={name:"Tag",common:je,self(e){const{textColor2:t,primaryColorHover:n,primaryColorPressed:o,primaryColor:r,infoColor:i,successColor:a,warningColor:s,errorColor:l,baseColor:c,borderColor:u,tagColor:d,opacityDisabled:f,closeIconColor:h,closeIconColorHover:p,closeIconColorPressed:g,closeColorHover:m,closeColorPressed:b,borderRadiusSmall:_,fontSizeMini:C,fontSizeTiny:S,fontSizeSmall:w,fontSizeMedium:x,heightMini:y,heightTiny:P,heightSmall:k,heightMedium:T,buttonColor2Hover:E,buttonColor2Pressed:R,fontWeightStrong:K}=e;return Object.assign(Object.assign({},o2),{closeBorderRadius:_,heightTiny:y,heightSmall:P,heightMedium:k,heightLarge:T,borderRadius:_,opacityDisabled:f,fontSizeTiny:C,fontSizeSmall:S,fontSizeMedium:w,fontSizeLarge:x,fontWeightStrong:K,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:E,colorPressedCheckable:R,colorChecked:r,colorCheckedHover:n,colorCheckedPressed:o,border:`1px solid ${u}`,textColor:t,color:d,colorBordered:"#0000",closeIconColor:h,closeIconColorHover:p,closeIconColorPressed:g,closeColorHover:m,closeColorPressed:b,borderPrimary:`1px solid ${Me(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:Me(r,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:un(r,{lightness:.7}),closeIconColorHoverPrimary:un(r,{lightness:.7}),closeIconColorPressedPrimary:un(r,{lightness:.7}),closeColorHoverPrimary:Me(r,{alpha:.16}),closeColorPressedPrimary:Me(r,{alpha:.12}),borderInfo:`1px solid ${Me(i,{alpha:.3})}`,textColorInfo:i,colorInfo:Me(i,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:un(i,{alpha:.7}),closeIconColorHoverInfo:un(i,{alpha:.7}),closeIconColorPressedInfo:un(i,{alpha:.7}),closeColorHoverInfo:Me(i,{alpha:.16}),closeColorPressedInfo:Me(i,{alpha:.12}),borderSuccess:`1px solid ${Me(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:Me(a,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:un(a,{alpha:.7}),closeIconColorHoverSuccess:un(a,{alpha:.7}),closeIconColorPressedSuccess:un(a,{alpha:.7}),closeColorHoverSuccess:Me(a,{alpha:.16}),closeColorPressedSuccess:Me(a,{alpha:.12}),borderWarning:`1px solid ${Me(s,{alpha:.3})}`,textColorWarning:s,colorWarning:Me(s,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:un(s,{alpha:.7}),closeIconColorHoverWarning:un(s,{alpha:.7}),closeIconColorPressedWarning:un(s,{alpha:.7}),closeColorHoverWarning:Me(s,{alpha:.16}),closeColorPressedWarning:Me(s,{alpha:.11}),borderError:`1px solid ${Me(l,{alpha:.3})}`,textColorError:l,colorError:Me(l,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:un(l,{alpha:.7}),closeIconColorHoverError:un(l,{alpha:.7}),closeIconColorPressedError:un(l,{alpha:.7}),closeColorHoverError:Me(l,{alpha:.16}),closeColorPressedError:Me(l,{alpha:.12})})}},r2=YH;function XH(e){const{textColor2:t,primaryColorHover:n,primaryColorPressed:o,primaryColor:r,infoColor:i,successColor:a,warningColor:s,errorColor:l,baseColor:c,borderColor:u,opacityDisabled:d,tagColor:f,closeIconColor:h,closeIconColorHover:p,closeIconColorPressed:g,borderRadiusSmall:m,fontSizeMini:b,fontSizeTiny:_,fontSizeSmall:C,fontSizeMedium:S,heightMini:w,heightTiny:x,heightSmall:y,heightMedium:P,closeColorHover:k,closeColorPressed:T,buttonColor2Hover:E,buttonColor2Pressed:R,fontWeightStrong:K}=e;return Object.assign(Object.assign({},o2),{closeBorderRadius:m,heightTiny:w,heightSmall:x,heightMedium:y,heightLarge:P,borderRadius:m,opacityDisabled:d,fontSizeTiny:b,fontSizeSmall:_,fontSizeMedium:C,fontSizeLarge:S,fontWeightStrong:K,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:E,colorPressedCheckable:R,colorChecked:r,colorCheckedHover:n,colorCheckedPressed:o,border:`1px solid ${u}`,textColor:t,color:f,colorBordered:"rgb(250, 250, 252)",closeIconColor:h,closeIconColorHover:p,closeIconColorPressed:g,closeColorHover:k,closeColorPressed:T,borderPrimary:`1px solid ${Me(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:Me(r,{alpha:.12}),colorBorderedPrimary:Me(r,{alpha:.1}),closeIconColorPrimary:r,closeIconColorHoverPrimary:r,closeIconColorPressedPrimary:r,closeColorHoverPrimary:Me(r,{alpha:.12}),closeColorPressedPrimary:Me(r,{alpha:.18}),borderInfo:`1px solid ${Me(i,{alpha:.3})}`,textColorInfo:i,colorInfo:Me(i,{alpha:.12}),colorBorderedInfo:Me(i,{alpha:.1}),closeIconColorInfo:i,closeIconColorHoverInfo:i,closeIconColorPressedInfo:i,closeColorHoverInfo:Me(i,{alpha:.12}),closeColorPressedInfo:Me(i,{alpha:.18}),borderSuccess:`1px solid ${Me(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:Me(a,{alpha:.12}),colorBorderedSuccess:Me(a,{alpha:.1}),closeIconColorSuccess:a,closeIconColorHoverSuccess:a,closeIconColorPressedSuccess:a,closeColorHoverSuccess:Me(a,{alpha:.12}),closeColorPressedSuccess:Me(a,{alpha:.18}),borderWarning:`1px solid ${Me(s,{alpha:.35})}`,textColorWarning:s,colorWarning:Me(s,{alpha:.15}),colorBorderedWarning:Me(s,{alpha:.12}),closeIconColorWarning:s,closeIconColorHoverWarning:s,closeIconColorPressedWarning:s,closeColorHoverWarning:Me(s,{alpha:.12}),closeColorPressedWarning:Me(s,{alpha:.18}),borderError:`1px solid ${Me(l,{alpha:.23})}`,textColorError:l,colorError:Me(l,{alpha:.1}),colorBorderedError:Me(l,{alpha:.08}),closeIconColorError:l,closeIconColorHoverError:l,closeIconColorPressedError:l,closeColorHoverError:Me(l,{alpha:.12}),closeColorPressedError:Me(l,{alpha:.18})})}const ZH={name:"Tag",common:xt,self:XH},JH=ZH,QH={color:Object,type:{type:String,default:"default"},round:Boolean,size:{type:String,default:"medium"},closable:Boolean,disabled:{type:Boolean,default:void 0}},ej=z("tag",`
--n-close-margin: var(--n-close-margin-top) var(--n-close-margin-right) var(--n-close-margin-bottom) var(--n-close-margin-left);
white-space: nowrap;
position: relative;
box-sizing: border-box;
cursor: default;
display: inline-flex;
align-items: center;
flex-wrap: nowrap;
padding: var(--n-padding);
border-radius: var(--n-border-radius);
color: var(--n-text-color);
background-color: var(--n-color);
transition:
border-color .3s var(--n-bezier),
background-color .3s var(--n-bezier),
color .3s var(--n-bezier),
box-shadow .3s var(--n-bezier),
opacity .3s var(--n-bezier);
line-height: 1;
height: var(--n-height);
font-size: var(--n-font-size);
`,[Z("strong",`
font-weight: var(--n-font-weight-strong);
`),V("border",`
pointer-events: none;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
border-radius: inherit;
border: var(--n-border);
transition: border-color .3s var(--n-bezier);
`),V("icon",`
display: flex;
margin: 0 4px 0 0;
color: var(--n-text-color);
transition: color .3s var(--n-bezier);
font-size: var(--n-avatar-size-override);
`),V("avatar",`
display: flex;
margin: 0 6px 0 0;
`),V("close",`
margin: var(--n-close-margin);
transition:
background-color .3s var(--n-bezier),
color .3s var(--n-bezier);
`),Z("round",`
padding: 0 calc(var(--n-height) / 3);
border-radius: calc(var(--n-height) / 2);
`,[V("icon",`
margin: 0 4px 0 calc((var(--n-height) - 8px) / -2);
`),V("avatar",`
margin: 0 6px 0 calc((var(--n-height) - 8px) / -2);
`),Z("closable",`
padding: 0 calc(var(--n-height) / 4) 0 calc(var(--n-height) / 3);
`)]),Z("icon, avatar",[Z("round",`
padding: 0 calc(var(--n-height) / 3) 0 calc(var(--n-height) / 2);
`)]),Z("disabled",`
cursor: not-allowed !important;
opacity: var(--n-opacity-disabled);
`),Z("checkable",`
cursor: pointer;
box-shadow: none;
color: var(--n-text-color-checkable);
background-color: var(--n-color-checkable);
`,[Rt("disabled",[q("&:hover","background-color: var(--n-color-hover-checkable);",[Rt("checked","color: var(--n-text-color-hover-checkable);")]),q("&:active","background-color: var(--n-color-pressed-checkable);",[Rt("checked","color: var(--n-text-color-pressed-checkable);")])]),Z("checked",`
color: var(--n-text-color-checked);
background-color: var(--n-color-checked);
`,[Rt("disabled",[q("&:hover","background-color: var(--n-color-checked-hover);"),q("&:active","background-color: var(--n-color-checked-pressed);")])])])]),tj=Object.assign(Object.assign(Object.assign({},Be.props),QH),{bordered:{type:Boolean,default:void 0},checked:Boolean,checkable:Boolean,strong:Boolean,triggerClickOnClose:Boolean,onClose:[Array,Function],onMouseenter:Function,onMouseleave:Function,"onUpdate:checked":Function,onUpdateChecked:Function,internalCloseFocusable:{type:Boolean,default:!0},internalCloseIsButtonTag:{type:Boolean,default:!0},onCheckedChange:Function}),nj="n-tag",Ti=be({name:"Tag",props:tj,setup(e){const t=W(null),{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:i}=st(e),a=Be("Tag","-tag",ej,JH,e,o);at(nj,{roundRef:We(e,"round")});function s(){if(!e.disabled&&e.checkable){const{checked:h,onCheckedChange:p,onUpdateChecked:g,"onUpdate:checked":m}=e;g&&g(!h),m&&m(!h),p&&p(!h)}}function l(h){if(e.triggerClickOnClose||h.stopPropagation(),!e.disabled){const{onClose:p}=e;p&&$e(p,h)}}const c={setTextContent(h){const{value:p}=t;p&&(p.textContent=h)}},u=pn("Tag",i,o),d=F(()=>{const{type:h,size:p,color:{color:g,textColor:m}={}}=e,{common:{cubicBezierEaseInOut:b},self:{padding:_,closeMargin:C,borderRadius:S,opacityDisabled:w,textColorCheckable:x,textColorHoverCheckable:y,textColorPressedCheckable:P,textColorChecked:k,colorCheckable:T,colorHoverCheckable:E,colorPressedCheckable:R,colorChecked:K,colorCheckedHover:N,colorCheckedPressed:D,closeBorderRadius:M,fontWeightStrong:G,[Re("colorBordered",h)]:J,[Re("closeSize",p)]:he,[Re("closeIconSize",p)]:pe,[Re("fontSize",p)]:B,[Re("height",p)]:$,[Re("color",h)]:A,[Re("textColor",h)]:Y,[Re("border",h)]:ne,[Re("closeIconColor",h)]:fe,[Re("closeIconColorHover",h)]:Q,[Re("closeIconColorPressed",h)]:xe,[Re("closeColorHover",h)]:H,[Re("closeColorPressed",h)]:ye}}=a.value,Oe=lo(C);return{"--n-font-weight-strong":G,"--n-avatar-size-override":`calc(${$} - 8px)`,"--n-bezier":b,"--n-border-radius":S,"--n-border":ne,"--n-close-icon-size":pe,"--n-close-color-pressed":ye,"--n-close-color-hover":H,"--n-close-border-radius":M,"--n-close-icon-color":fe,"--n-close-icon-color-hover":Q,"--n-close-icon-color-pressed":xe,"--n-close-icon-color-disabled":fe,"--n-close-margin-top":Oe.top,"--n-close-margin-right":Oe.right,"--n-close-margin-bottom":Oe.bottom,"--n-close-margin-left":Oe.left,"--n-close-size":he,"--n-color":g||(n.value?J:A),"--n-color-checkable":T,"--n-color-checked":K,"--n-color-checked-hover":N,"--n-color-checked-pressed":D,"--n-color-hover-checkable":E,"--n-color-pressed-checkable":R,"--n-font-size":B,"--n-height":$,"--n-opacity-disabled":w,"--n-padding":_,"--n-text-color":m||Y,"--n-text-color-checkable":x,"--n-text-color-checked":k,"--n-text-color-hover-checkable":y,"--n-text-color-pressed-checkable":P}}),f=r?Pt("tag",F(()=>{let h="";const{type:p,size:g,color:{color:m,textColor:b}={}}=e;return h+=p[0],h+=g[0],m&&(h+=`a${Ec(m)}`),b&&(h+=`b${Ec(b)}`),n.value&&(h+="c"),h}),d,e):void 0;return Object.assign(Object.assign({},c),{rtlEnabled:u,mergedClsPrefix:o,contentRef:t,mergedBordered:n,handleClick:s,handleCloseClick:l,cssVars:r?void 0:d,themeClass:f==null?void 0:f.themeClass,onRender:f==null?void 0:f.onRender})},render(){var e,t;const{mergedClsPrefix:n,rtlEnabled:o,closable:r,color:{borderColor:i}={},round:a,onRender:s,$slots:l}=this;s==null||s();const c=$t(l.avatar,d=>d&&v("div",{class:`${n}-tag__avatar`},d)),u=$t(l.icon,d=>d&&v("div",{class:`${n}-tag__icon`},d));return v("div",{class:[`${n}-tag`,this.themeClass,{[`${n}-tag--rtl`]:o,[`${n}-tag--strong`]:this.strong,[`${n}-tag--disabled`]:this.disabled,[`${n}-tag--checkable`]:this.checkable,[`${n}-tag--checked`]:this.checkable&&this.checked,[`${n}-tag--round`]:a,[`${n}-tag--avatar`]:c,[`${n}-tag--icon`]:u,[`${n}-tag--closable`]:r}],style:this.cssVars,onClick:this.handleClick,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},u||c,v("span",{class:`${n}-tag__content`,ref:"contentRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)),!this.checkable&&r?v(qi,{clsPrefix:n,class:`${n}-tag__close`,disabled:this.disabled,onClick:this.handleCloseClick,focusable:this.internalCloseFocusable,round:a,isButtonTag:this.internalCloseIsButtonTag,absolute:!0}):null,!this.checkable&&this.mergedBordered?v("div",{class:`${n}-tag__border`,style:{borderColor:i}}):null)}}),oj=z("base-clear",`
flex-shrink: 0;
height: 1em;
width: 1em;
position: relative;
`,[q(">",[V("clear",`
font-size: var(--n-clear-size);
height: 1em;
width: 1em;
cursor: pointer;
color: var(--n-clear-color);
transition: color .3s var(--n-bezier);
display: flex;
`,[q("&:hover",`
color: var(--n-clear-color-hover)!important;
`),q("&:active",`
color: var(--n-clear-color-pressed)!important;
`)]),V("placeholder",`
display: flex;
`),V("clear, placeholder",`
position: absolute;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
`,[qn({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),Lh=be({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup(e){return ei("-base-clear",oj,We(e,"clsPrefix")),{handleMouseDown(t){t.preventDefault()}}},render(){const{clsPrefix:e}=this;return v("div",{class:`${e}-base-clear`},v(Ui,null,{default:()=>{var t,n;return this.show?v("div",{key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},An(this.$slots.icon,()=>[v(Ut,{clsPrefix:e},{default:()=>v(FN,null)})])):v("div",{key:"icon",class:`${e}-base-clear__placeholder`},(n=(t=this.$slots).placeholder)===null||n===void 0?void 0:n.call(t))}}))}}),i2=be({name:"InternalSelectionSuffix",props:{clsPrefix:{type:String,required:!0},showArrow:{type:Boolean,default:void 0},showClear:{type:Boolean,default:void 0},loading:{type:Boolean,default:!1},onClear:Function},setup(e,{slots:t}){return()=>{const{clsPrefix:n}=e;return v(ti,{clsPrefix:n,class:`${n}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?v(Lh,{clsPrefix:n,show:e.showClear,onClear:e.onClear},{placeholder:()=>v(Ut,{clsPrefix:n,class:`${n}-base-suffix__arrow`},{default:()=>An(t.default,()=>[v(j_,null)])})}):null})}}}),a2={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"};function rj(e){const{borderRadius:t,textColor2:n,textColorDisabled:o,inputColor:r,inputColorDisabled:i,primaryColor:a,primaryColorHover:s,warningColor:l,warningColorHover:c,errorColor:u,errorColorHover:d,borderColor:f,iconColor:h,iconColorDisabled:p,clearColor:g,clearColorHover:m,clearColorPressed:b,placeholderColor:_,placeholderColorDisabled:C,fontSizeTiny:S,fontSizeSmall:w,fontSizeMedium:x,fontSizeLarge:y,heightTiny:P,heightSmall:k,heightMedium:T,heightLarge:E}=e;return Object.assign(Object.assign({},a2),{fontSizeTiny:S,fontSizeSmall:w,fontSizeMedium:x,fontSizeLarge:y,heightTiny:P,heightSmall:k,heightMedium:T,heightLarge:E,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:_,placeholderColorDisabled:C,color:r,colorDisabled:i,colorActive:r,border:`1px solid ${f}`,borderHover:`1px solid ${s}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 0 2px ${Me(a,{alpha:.2})}`,boxShadowFocus:`0 0 0 2px ${Me(a,{alpha:.2})}`,caretColor:a,arrowColor:h,arrowColorDisabled:p,loadingColor:a,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${c}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 0 2px ${Me(l,{alpha:.2})}`,boxShadowFocusWarning:`0 0 0 2px ${Me(l,{alpha:.2})}`,colorActiveWarning:r,caretColorWarning:l,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,borderActiveError:`1px solid ${u}`,borderFocusError:`1px solid ${d}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 0 2px ${Me(u,{alpha:.2})}`,boxShadowFocusError:`0 0 0 2px ${Me(u,{alpha:.2})}`,colorActiveError:r,caretColorError:u,clearColor:g,clearColorHover:m,clearColorPressed:b})}const ij={name:"InternalSelection",common:xt,peers:{Popover:Ka},self:rj},s2=ij,aj={name:"InternalSelection",common:je,peers:{Popover:Yi},self(e){const{borderRadius:t,textColor2:n,textColorDisabled:o,inputColor:r,inputColorDisabled:i,primaryColor:a,primaryColorHover:s,warningColor:l,warningColorHover:c,errorColor:u,errorColorHover:d,iconColor:f,iconColorDisabled:h,clearColor:p,clearColorHover:g,clearColorPressed:m,placeholderColor:b,placeholderColorDisabled:_,fontSizeTiny:C,fontSizeSmall:S,fontSizeMedium:w,fontSizeLarge:x,heightTiny:y,heightSmall:P,heightMedium:k,heightLarge:T}=e;return Object.assign(Object.assign({},a2),{fontSizeTiny:C,fontSizeSmall:S,fontSizeMedium:w,fontSizeLarge:x,heightTiny:y,heightSmall:P,heightMedium:k,heightLarge:T,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:b,placeholderColorDisabled:_,color:r,colorDisabled:i,colorActive:Me(a,{alpha:.1}),border:"1px solid #0000",borderHover:`1px solid ${s}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 8px 0 ${Me(a,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${Me(a,{alpha:.4})}`,caretColor:a,arrowColor:f,arrowColorDisabled:h,loadingColor:a,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${c}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 8px 0 ${Me(l,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${Me(l,{alpha:.4})}`,colorActiveWarning:Me(l,{alpha:.1}),caretColorWarning:l,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,borderActiveError:`1px solid ${u}`,borderFocusError:`1px solid ${d}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 8px 0 ${Me(u,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${Me(u,{alpha:.4})}`,colorActiveError:Me(u,{alpha:.1}),caretColorError:u,clearColor:p,clearColorHover:g,clearColorPressed:m})}},mm=aj,sj=q([z("base-selection",`
--n-padding-single: var(--n-padding-single-top) var(--n-padding-single-right) var(--n-padding-single-bottom) var(--n-padding-single-left);
--n-padding-multiple: var(--n-padding-multiple-top) var(--n-padding-multiple-right) var(--n-padding-multiple-bottom) var(--n-padding-multiple-left);
position: relative;
z-index: auto;
box-shadow: none;
width: 100%;
max-width: 100%;
display: inline-block;
vertical-align: bottom;
border-radius: var(--n-border-radius);
min-height: var(--n-height);
line-height: 1.5;
font-size: var(--n-font-size);
`,[z("base-loading",`
color: var(--n-loading-color);
`),z("base-selection-tags","min-height: var(--n-height);"),V("border, state-border",`
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
pointer-events: none;
border: var(--n-border);
border-radius: inherit;
transition:
box-shadow .3s var(--n-bezier),
border-color .3s var(--n-bezier);
`),V("state-border",`
z-index: 1;
border-color: #0000;
`),z("base-suffix",`
cursor: pointer;
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 10px;
`,[V("arrow",`
font-size: var(--n-arrow-size);
color: var(--n-arrow-color);
transition: color .3s var(--n-bezier);
`)]),z("base-selection-overlay",`
display: flex;
align-items: center;
white-space: nowrap;
pointer-events: none;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
padding: var(--n-padding-single);
transition: color .3s var(--n-bezier);
`,[V("wrapper",`
flex-basis: 0;
flex-grow: 1;
overflow: hidden;
text-overflow: ellipsis;
`)]),z("base-selection-placeholder",`
color: var(--n-placeholder-color);
`,[V("inner",`
max-width: 100%;
overflow: hidden;
`)]),z("base-selection-tags",`
cursor: pointer;
outline: none;
box-sizing: border-box;
position: relative;
z-index: auto;
display: flex;
padding: var(--n-padding-multiple);
flex-wrap: wrap;
align-items: center;
width: 100%;
vertical-align: bottom;
background-color: var(--n-color);
border-radius: inherit;
transition:
color .3s var(--n-bezier),
box-shadow .3s var(--n-bezier),
background-color .3s var(--n-bezier);
`),z("base-selection-label",`
height: var(--n-height);
display: inline-flex;
width: 100%;
vertical-align: bottom;
cursor: pointer;
outline: none;
z-index: auto;
box-sizing: border-box;
position: relative;
transition:
color .3s var(--n-bezier),
box-shadow .3s var(--n-bezier),
background-color .3s var(--n-bezier);
border-radius: inherit;
background-color: var(--n-color);
align-items: center;
`,[z("base-selection-input",`
font-size: inherit;
line-height: inherit;
outline: none;
cursor: pointer;
box-sizing: border-box;
border:none;
width: 100%;
padding: var(--n-padding-single);
background-color: #0000;
color: var(--n-text-color);
transition: color .3s var(--n-bezier);
caret-color: var(--n-caret-color);
`,[V("content",`
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
`)]),V("render-label",`
color: var(--n-text-color);
`)]),Rt("disabled",[q("&:hover",[V("state-border",`
box-shadow: var(--n-box-shadow-hover);
border: var(--n-border-hover);
`)]),Z("focus",[V("state-border",`
box-shadow: var(--n-box-shadow-focus);
border: var(--n-border-focus);
`)]),Z("active",[V("state-border",`
box-shadow: var(--n-box-shadow-active);
border: var(--n-border-active);
`),z("base-selection-label","background-color: var(--n-color-active);"),z("base-selection-tags","background-color: var(--n-color-active);")])]),Z("disabled","cursor: not-allowed;",[V("arrow",`
color: var(--n-arrow-color-disabled);
`),z("base-selection-label",`
cursor: not-allowed;
background-color: var(--n-color-disabled);
`,[z("base-selection-input",`
cursor: not-allowed;
color: var(--n-text-color-disabled);
`),V("render-label",`
color: var(--n-text-color-disabled);
`)]),z("base-selection-tags",`
cursor: not-allowed;
background-color: var(--n-color-disabled);
`),z("base-selection-placeholder",`
cursor: not-allowed;
color: var(--n-placeholder-color-disabled);
`)]),z("base-selection-input-tag",`
height: calc(var(--n-height) - 6px);
line-height: calc(var(--n-height) - 6px);
outline: none;
display: none;
position: relative;
margin-bottom: 3px;
max-width: 100%;
vertical-align: bottom;
`,[V("input",`
font-size: inherit;
font-family: inherit;
min-width: 1px;
padding: 0;
background-color: #0000;
outline: none;
border: none;
max-width: 100%;
overflow: hidden;
width: 1em;
line-height: inherit;
cursor: pointer;
color: var(--n-text-color);
caret-color: var(--n-caret-color);
`),V("mirror",`
position: absolute;
left: 0;
top: 0;
white-space: pre;
visibility: hidden;
user-select: none;
-webkit-user-select: none;
opacity: 0;
`)]),["warning","error"].map(e=>Z(`${e}-status`,[V("state-border",`border: var(--n-border-${e});`),Rt("disabled",[q("&:hover",[V("state-border",`
box-shadow: var(--n-box-shadow-hover-${e});
border: var(--n-border-hover-${e});
`)]),Z("active",[V("state-border",`
box-shadow: var(--n-box-shadow-active-${e});
border: var(--n-border-active-${e});
`),z("base-selection-label",`background-color: var(--n-color-active-${e});`),z("base-selection-tags",`background-color: var(--n-color-active-${e});`)]),Z("focus",[V("state-border",`
box-shadow: var(--n-box-shadow-focus-${e});
border: var(--n-border-focus-${e});
`)])])]))]),z("base-selection-popover",`
margin-bottom: -3px;
display: flex;
flex-wrap: wrap;
margin-right: -8px;
`),z("base-selection-tag-wrapper",`
max-width: 100%;
display: inline-flex;
padding: 0 7px 3px 0;
`,[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;
`)])])]),lj=be({name:"InternalSelection",props:Object.assign(Object.assign({},Be.props),{clsPrefix:{type:String,required:!0},bordered:{type:Boolean,default:void 0},active:Boolean,pattern:{type:String,default:""},placeholder:String,selectedOption:{type:Object,default:null},selectedOptions:{type:Array,default:null},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},multiple:Boolean,filterable:Boolean,clearable:Boolean,disabled:Boolean,size:{type:String,default:"medium"},loading:Boolean,autofocus:Boolean,showArrow:{type:Boolean,default:!0},inputProps:Object,focused:Boolean,renderTag:Function,onKeydown:Function,onClick:Function,onBlur:Function,onFocus:Function,onDeleteOption:Function,maxTagCount:[String,Number],ellipsisTagPopoverProps:Object,onClear:Function,onPatternInput:Function,onPatternFocus:Function,onPatternBlur:Function,renderLabel:Function,status:String,inlineThemeDisabled:Boolean,ignoreComposition:{type:Boolean,default:!0},onResize:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=st(e),o=pn("InternalSelection",n,t),r=W(null),i=W(null),a=W(null),s=W(null),l=W(null),c=W(null),u=W(null),d=W(null),f=W(null),h=W(null),p=W(!1),g=W(!1),m=W(!1),b=Be("InternalSelection","-internal-selection",sj,s2,e,We(e,"clsPrefix")),_=F(()=>e.clearable&&!e.disabled&&(m.value||e.active)),C=F(()=>e.selectedOption?e.renderTag?e.renderTag({option:e.selectedOption,handleClose:()=>{}}):e.renderLabel?e.renderLabel(e.selectedOption,!0):Wt(e.selectedOption[e.labelField],e.selectedOption,!0):e.placeholder),S=F(()=>{const ce=e.selectedOption;if(ce)return ce[e.labelField]}),w=F(()=>e.multiple?!!(Array.isArray(e.selectedOptions)&&e.selectedOptions.length):e.selectedOption!==null);function x(){var ce;const{value:le}=r;if(le){const{value:re}=i;re&&(re.style.width=`${le.offsetWidth}px`,e.maxTagCount!=="responsive"&&((ce=f.value)===null||ce===void 0||ce.sync({showAllItemsBeforeCalculate:!1})))}}function y(){const{value:ce}=h;ce&&(ce.style.display="none")}function P(){const{value:ce}=h;ce&&(ce.style.display="inline-block")}ft(We(e,"active"),ce=>{ce||y()}),ft(We(e,"pattern"),()=>{e.multiple&&Ht(x)});function k(ce){const{onFocus:le}=e;le&&le(ce)}function T(ce){const{onBlur:le}=e;le&&le(ce)}function E(ce){const{onDeleteOption:le}=e;le&&le(ce)}function R(ce){const{onClear:le}=e;le&&le(ce)}function K(ce){const{onPatternInput:le}=e;le&&le(ce)}function N(ce){var le;(!ce.relatedTarget||!(!((le=a.value)===null||le===void 0)&&le.contains(ce.relatedTarget)))&&k(ce)}function D(ce){var le;!((le=a.value)===null||le===void 0)&&le.contains(ce.relatedTarget)||T(ce)}function M(ce){R(ce)}function G(){m.value=!0}function J(){m.value=!1}function he(ce){!e.active||!e.filterable||ce.target!==i.value&&ce.preventDefault()}function pe(ce){E(ce)}const B=W(!1);function $(ce){if(ce.key==="Backspace"&&!B.value&&!e.pattern.length){const{selectedOptions:le}=e;le!=null&&le.length&&pe(le[le.length-1])}}let A=null;function Y(ce){const{value:le}=r;if(le){const re=ce.target.value;le.textContent=re,x()}e.ignoreComposition&&B.value?A=ce:K(ce)}function ne(){B.value=!0}function fe(){B.value=!1,e.ignoreComposition&&K(A),A=null}function Q(ce){var le;g.value=!0,(le=e.onPatternFocus)===null||le===void 0||le.call(e,ce)}function xe(ce){var le;g.value=!1,(le=e.onPatternBlur)===null||le===void 0||le.call(e,ce)}function H(){var ce,le;if(e.filterable)g.value=!1,(ce=c.value)===null||ce===void 0||ce.blur(),(le=i.value)===null||le===void 0||le.blur();else if(e.multiple){const{value:re}=s;re==null||re.blur()}else{const{value:re}=l;re==null||re.blur()}}function ye(){var ce,le,re;e.filterable?(g.value=!1,(ce=c.value)===null||ce===void 0||ce.focus()):e.multiple?(le=s.value)===null||le===void 0||le.focus():(re=l.value)===null||re===void 0||re.focus()}function Oe(){const{value:ce}=i;ce&&(P(),ce.focus())}function Ne(){const{value:ce}=i;ce&&ce.blur()}function L(ce){const{value:le}=u;le&&le.setTextContent(`+${ce}`)}function O(){const{value:ce}=d;return ce}function oe(){return i.value}let _e=null;function te(){_e!==null&&window.clearTimeout(_e)}function ge(){e.active||(te(),_e=window.setTimeout(()=>{w.value&&(p.value=!0)},100))}function ke(){te()}function I(ce){ce||(te(),p.value=!1)}ft(w,ce=>{ce||(p.value=!1)}),jt(()=>{Xt(()=>{const ce=c.value;ce&&(e.disabled?ce.removeAttribute("tabindex"):ce.tabIndex=g.value?-1:0)})}),Uw(a,e.onResize);const{inlineThemeDisabled:j}=e,ee=F(()=>{const{size:ce}=e,{common:{cubicBezierEaseInOut:le},self:{borderRadius:re,color:de,placeholderColor:De,textColor:Le,paddingSingle:Pe,paddingMultiple:Fe,caretColor:He,colorDisabled:Ie,textColorDisabled:Qe,placeholderColorDisabled:Ct,colorActive:X,boxShadowFocus:ve,boxShadowActive:Ae,boxShadowHover:Ke,border:Ze,borderFocus:Je,borderHover:tt,borderActive:rt,arrowColor:vt,arrowColorDisabled:sn,loadingColor:Dt,colorActiveWarning:Se,boxShadowFocusWarning:Ve,boxShadowActiveWarning:et,boxShadowHoverWarning:ht,borderWarning:bt,borderFocusWarning:ut,borderHoverWarning:Et,borderActiveWarning:ae,colorActiveError:Ee,boxShadowFocusError:ot,boxShadowActiveError:Bt,boxShadowHoverError:Kt,borderError:Lt,borderFocusError:bo,borderHoverError:yo,borderActiveError:xo,clearColor:Xo,clearColorHover:Zo,clearColorPressed:oi,clearSize:Ja,arrowSize:Qa,[Re("height",ce)]:es,[Re("fontSize",ce)]:ts}}=b.value,yr=lo(Pe),xr=lo(Fe);return{"--n-bezier":le,"--n-border":Ze,"--n-border-active":rt,"--n-border-focus":Je,"--n-border-hover":tt,"--n-border-radius":re,"--n-box-shadow-active":Ae,"--n-box-shadow-focus":ve,"--n-box-shadow-hover":Ke,"--n-caret-color":He,"--n-color":de,"--n-color-active":X,"--n-color-disabled":Ie,"--n-font-size":ts,"--n-height":es,"--n-padding-single-top":yr.top,"--n-padding-multiple-top":xr.top,"--n-padding-single-right":yr.right,"--n-padding-multiple-right":xr.right,"--n-padding-single-left":yr.left,"--n-padding-multiple-left":xr.left,"--n-padding-single-bottom":yr.bottom,"--n-padding-multiple-bottom":xr.bottom,"--n-placeholder-color":De,"--n-placeholder-color-disabled":Ct,"--n-text-color":Le,"--n-text-color-disabled":Qe,"--n-arrow-color":vt,"--n-arrow-color-disabled":sn,"--n-loading-color":Dt,"--n-color-active-warning":Se,"--n-box-shadow-focus-warning":Ve,"--n-box-shadow-active-warning":et,"--n-box-shadow-hover-warning":ht,"--n-border-warning":bt,"--n-border-focus-warning":ut,"--n-border-hover-warning":Et,"--n-border-active-warning":ae,"--n-color-active-error":Ee,"--n-box-shadow-focus-error":ot,"--n-box-shadow-active-error":Bt,"--n-box-shadow-hover-error":Kt,"--n-border-error":Lt,"--n-border-focus-error":bo,"--n-border-hover-error":yo,"--n-border-active-error":xo,"--n-clear-size":Ja,"--n-clear-color":Xo,"--n-clear-color-hover":Zo,"--n-clear-color-pressed":oi,"--n-arrow-size":Qa}}),Ce=j?Pt("internal-selection",F(()=>e.size[0]),ee,e):void 0;return{mergedTheme:b,mergedClearable:_,mergedClsPrefix:t,rtlEnabled:o,patternInputFocused:g,filterablePlaceholder:C,label:S,selected:w,showTagsPanel:p,isComposing:B,counterRef:u,counterWrapperRef:d,patternInputMirrorRef:r,patternInputRef:i,selfRef:a,multipleElRef:s,singleElRef:l,patternInputWrapperRef:c,overflowRef:f,inputTagElRef:h,handleMouseDown:he,handleFocusin:N,handleClear:M,handleMouseEnter:G,handleMouseLeave:J,handleDeleteOption:pe,handlePatternKeyDown:$,handlePatternInputInput:Y,handlePatternInputBlur:xe,handlePatternInputFocus:Q,handleMouseEnterCounter:ge,handleMouseLeaveCounter:ke,handleFocusout:D,handleCompositionEnd:fe,handleCompositionStart:ne,onPopoverUpdateShow:I,focus:ye,focusInput:Oe,blur:H,blurInput:Ne,updateCounter:L,getCounter:O,getTail:oe,renderLabel:e.renderLabel,cssVars:j?void 0:ee,themeClass:Ce==null?void 0:Ce.themeClass,onRender:Ce==null?void 0:Ce.onRender}},render(){const{status:e,multiple:t,size:n,disabled:o,filterable:r,maxTagCount:i,bordered:a,clsPrefix:s,ellipsisTagPopoverProps:l,onRender:c,renderTag:u,renderLabel:d}=this;c==null||c();const f=i==="responsive",h=typeof i=="number",p=f||h,g=v(yh,null,{default:()=>v(i2,{clsPrefix:s,loading:this.loading,showArrow:this.showArrow,showClear:this.mergedClearable&&this.selected,onClear:this.handleClear},{default:()=>{var b,_;return(_=(b=this.$slots).arrow)===null||_===void 0?void 0:_.call(b)}})});let m;if(t){const{labelField:b}=this,_=K=>v("div",{class:`${s}-base-selection-tag-wrapper`,key:K.value},u?u({option:K,handleClose:()=>{this.handleDeleteOption(K)}}):v(Ti,{size:n,closable:!K.disabled,disabled:o,onClose:()=>{this.handleDeleteOption(K)},internalCloseIsButtonTag:!1,internalCloseFocusable:!1},{default:()=>d?d(K,!0):Wt(K[b],K,!0)})),C=()=>(h?this.selectedOptions.slice(0,i):this.selectedOptions).map(_),S=r?v("div",{class:`${s}-base-selection-input-tag`,ref:"inputTagElRef",key:"__input-tag__"},v("input",Object.assign({},this.inputProps,{ref:"patternInputRef",tabindex:-1,disabled:o,value:this.pattern,autofocus:this.autofocus,class:`${s}-base-selection-input-tag__input`,onBlur:this.handlePatternInputBlur,onFocus:this.handlePatternInputFocus,onKeydown:this.handlePatternKeyDown,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),v("span",{ref:"patternInputMirrorRef",class:`${s}-base-selection-input-tag__mirror`},this.pattern)):null,w=f?()=>v("div",{class:`${s}-base-selection-tag-wrapper`,ref:"counterWrapperRef"},v(Ti,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,onMouseleave:this.handleMouseLeaveCounter,disabled:o})):void 0;let x;if(h){const K=this.selectedOptions.length-i;K>0&&(x=v("div",{class:`${s}-base-selection-tag-wrapper`,key:"__counter__"},v(Ti,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,disabled:o},{default:()=>`+${K}`})))}const y=f?r?v(Sh,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,getTail:this.getTail,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:C,counter:w,tail:()=>S}):v(Sh,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:C,counter:w}):h&&x?C().concat(x):C(),P=p?()=>v("div",{class:`${s}-base-selection-popover`},f?C():this.selectedOptions.map(_)):void 0,k=p?Object.assign({show:this.showTagsPanel,trigger:"hover",overlap:!0,placement:"top",width:"trigger",onUpdateShow:this.onPopoverUpdateShow,theme:this.mergedTheme.peers.Popover,themeOverrides:this.mergedTheme.peerOverrides.Popover},l):null,E=(this.selected?!1:this.active?!this.pattern&&!this.isComposing:!0)?v("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`},v("div",{class:`${s}-base-selection-placeholder__inner`},this.placeholder)):null,R=r?v("div",{ref:"patternInputWrapperRef",class:`${s}-base-selection-tags`},y,f?null:S,g):v("div",{ref:"multipleElRef",class:`${s}-base-selection-tags`,tabindex:o?void 0:0},y,g);m=v(it,null,p?v(hl,Object.assign({},k,{scrollable:!0,style:"max-height: calc(var(--v-target-height) * 6.6);"}),{trigger:()=>R,default:P}):R,E)}else if(r){const b=this.pattern||this.isComposing,_=this.active?!b:!this.selected,C=this.active?!1:this.selected;m=v("div",{ref:"patternInputWrapperRef",class:`${s}-base-selection-label`,title:this.patternInputFocused?void 0:yb(this.label)},v("input",Object.assign({},this.inputProps,{ref:"patternInputRef",class:`${s}-base-selection-input`,value:this.active?this.pattern:"",placeholder:"",readonly:o,disabled:o,tabindex:-1,autofocus:this.autofocus,onFocus:this.handlePatternInputFocus,onBlur:this.handlePatternInputBlur,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),C?v("div",{class:`${s}-base-selection-label__render-label ${s}-base-selection-overlay`,key:"input"},v("div",{class:`${s}-base-selection-overlay__wrapper`},u?u({option:this.selectedOption,handleClose:()=>{}}):d?d(this.selectedOption,!0):Wt(this.label,this.selectedOption,!0))):null,_?v("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`,key:"placeholder"},v("div",{class:`${s}-base-selection-overlay__wrapper`},this.filterablePlaceholder)):null,g)}else m=v("div",{ref:"singleElRef",class:`${s}-base-selection-label`,tabindex:this.disabled?void 0:0},this.label!==void 0?v("div",{class:`${s}-base-selection-input`,title:yb(this.label),key:"input"},v("div",{class:`${s}-base-selection-input__content`},u?u({option:this.selectedOption,handleClose:()=>{}}):d?d(this.selectedOption,!0):Wt(this.label,this.selectedOption,!0))):v("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`,key:"placeholder"},v("div",{class:`${s}-base-selection-placeholder__inner`},this.placeholder)),g);return v("div",{ref:"selfRef",class:[`${s}-base-selection`,this.rtlEnabled&&`${s}-base-selection--rtl`,this.themeClass,e&&`${s}-base-selection--${e}-status`,{[`${s}-base-selection--active`]:this.active,[`${s}-base-selection--selected`]:this.selected||this.active&&this.pattern,[`${s}-base-selection--disabled`]:this.disabled,[`${s}-base-selection--multiple`]:this.multiple,[`${s}-base-selection--focus`]:this.focused}],style:this.cssVars,onClick:this.onClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onKeydown:this.onKeydown,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onMousedown:this.handleMouseDown},m,a?v("div",{class:`${s}-base-selection__border`}):null,a?v("div",{class:`${s}-base-selection__state-border`}):null)}}),{cubicBezierEaseInOut:Tr}=po;function cj({duration:e=".2s",delay:t=".1s"}={}){return[q("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),q("&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from",`
opacity: 0!important;
margin-left: 0!important;
margin-right: 0!important;
`),q("&.fade-in-width-expand-transition-leave-active",`
overflow: hidden;
transition:
opacity ${e} ${Tr},
max-width ${e} ${Tr} ${t},
margin-left ${e} ${Tr} ${t},
margin-right ${e} ${Tr} ${t};
`),q("&.fade-in-width-expand-transition-enter-active",`
overflow: hidden;
transition:
opacity ${e} ${Tr} ${t},
max-width ${e} ${Tr},
margin-left ${e} ${Tr},
margin-right ${e} ${Tr};
`)]}const l2={iconMargin:"11px 8px 0 12px",iconMarginRtl:"11px 12px 0 8px",iconSize:"24px",closeIconSize:"16px",closeSize:"20px",closeMargin:"13px 14px 0 0",closeMarginRtl:"13px 0 0 14px",padding:"13px"},uj={name:"Alert",common:je,self(e){const{lineHeight:t,borderRadius:n,fontWeightStrong:o,dividerColor:r,inputColor:i,textColor1:a,textColor2:s,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,infoColorSuppl:h,successColorSuppl:p,warningColorSuppl:g,errorColorSuppl:m,fontSize:b}=e;return Object.assign(Object.assign({},l2),{fontSize:b,lineHeight:t,titleFontWeight:o,borderRadius:n,border:`1px solid ${r}`,color:i,titleTextColor:a,iconColor:s,contentTextColor:s,closeBorderRadius:n,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,borderInfo:`1px solid ${Me(h,{alpha:.35})}`,colorInfo:Me(h,{alpha:.25}),titleTextColorInfo:a,iconColorInfo:h,contentTextColorInfo:s,closeColorHoverInfo:l,closeColorPressedInfo:c,closeIconColorInfo:u,closeIconColorHoverInfo:d,closeIconColorPressedInfo:f,borderSuccess:`1px solid ${Me(p,{alpha:.35})}`,colorSuccess:Me(p,{alpha:.25}),titleTextColorSuccess:a,iconColorSuccess:p,contentTextColorSuccess:s,closeColorHoverSuccess:l,closeColorPressedSuccess:c,closeIconColorSuccess:u,closeIconColorHoverSuccess:d,closeIconColorPressedSuccess:f,borderWarning:`1px solid ${Me(g,{alpha:.35})}`,colorWarning:Me(g,{alpha:.25}),titleTextColorWarning:a,iconColorWarning:g,contentTextColorWarning:s,closeColorHoverWarning:l,closeColorPressedWarning:c,closeIconColorWarning:u,closeIconColorHoverWarning:d,closeIconColorPressedWarning:f,borderError:`1px solid ${Me(m,{alpha:.35})}`,colorError:Me(m,{alpha:.25}),titleTextColorError:a,iconColorError:m,contentTextColorError:s,closeColorHoverError:l,closeColorPressedError:c,closeIconColorError:u,closeIconColorHoverError:d,closeIconColorPressedError:f})}},dj=uj;function fj(e){const{lineHeight:t,borderRadius:n,fontWeightStrong:o,baseColor:r,dividerColor:i,actionColor:a,textColor1:s,textColor2:l,closeColorHover:c,closeColorPressed:u,closeIconColor:d,closeIconColorHover:f,closeIconColorPressed:h,infoColor:p,successColor:g,warningColor:m,errorColor:b,fontSize:_}=e;return Object.assign(Object.assign({},l2),{fontSize:_,lineHeight:t,titleFontWeight:o,borderRadius:n,border:`1px solid ${i}`,color:a,titleTextColor:s,iconColor:l,contentTextColor:l,closeBorderRadius:n,closeColorHover:c,closeColorPressed:u,closeIconColor:d,closeIconColorHover:f,closeIconColorPressed:h,borderInfo:`1px solid ${Ge(r,Me(p,{alpha:.25}))}`,colorInfo:Ge(r,Me(p,{alpha:.08})),titleTextColorInfo:s,iconColorInfo:p,contentTextColorInfo:l,closeColorHoverInfo:c,closeColorPressedInfo:u,closeIconColorInfo:d,closeIconColorHoverInfo:f,closeIconColorPressedInfo:h,borderSuccess:`1px solid ${Ge(r,Me(g,{alpha:.25}))}`,colorSuccess:Ge(r,Me(g,{alpha:.08})),titleTextColorSuccess:s,iconColorSuccess:g,contentTextColorSuccess:l,closeColorHoverSuccess:c,closeColorPressedSuccess:u,closeIconColorSuccess:d,closeIconColorHoverSuccess:f,closeIconColorPressedSuccess:h,borderWarning:`1px solid ${Ge(r,Me(m,{alpha:.33}))}`,colorWarning:Ge(r,Me(m,{alpha:.08})),titleTextColorWarning:s,iconColorWarning:m,contentTextColorWarning:l,closeColorHoverWarning:c,closeColorPressedWarning:u,closeIconColorWarning:d,closeIconColorHoverWarning:f,closeIconColorPressedWarning:h,borderError:`1px solid ${Ge(r,Me(b,{alpha:.25}))}`,colorError:Ge(r,Me(b,{alpha:.08})),titleTextColorError:s,iconColorError:b,contentTextColorError:l,closeColorHoverError:c,closeColorPressedError:u,closeIconColorError:d,closeIconColorHoverError:f,closeIconColorPressedError:h})}const hj={name:"Alert",common:xt,self:fj},pj=hj,{cubicBezierEaseInOut:Lo,cubicBezierEaseOut:mj,cubicBezierEaseIn:gj}=po;function gm({overflow:e="hidden",duration:t=".3s",originalTransition:n="",leavingDelay:o="0s",foldPadding:r=!1,enterToProps:i=void 0,leaveToProps:a=void 0,reverse:s=!1}={}){const l=s?"leave":"enter",c=s?"enter":"leave";return[q(`&.fade-in-height-expand-transition-${c}-from,
&.fade-in-height-expand-transition-${l}-to`,Object.assign(Object.assign({},i),{opacity:1})),q(`&.fade-in-height-expand-transition-${c}-to,
&.fade-in-height-expand-transition-${l}-from`,Object.assign(Object.assign({},a),{opacity:0,marginTop:"0 !important",marginBottom:"0 !important",paddingTop:r?"0 !important":void 0,paddingBottom:r?"0 !important":void 0})),q(`&.fade-in-height-expand-transition-${c}-active`,`
overflow: ${e};
transition:
max-height ${t} ${Lo} ${o},
opacity ${t} ${mj} ${o},
margin-top ${t} ${Lo} ${o},
margin-bottom ${t} ${Lo} ${o},
padding-top ${t} ${Lo} ${o},
padding-bottom ${t} ${Lo} ${o}
${n?`,${n}`:""}
`),q(`&.fade-in-height-expand-transition-${l}-active`,`
overflow: ${e};
transition:
max-height ${t} ${Lo},
opacity ${t} ${gj},
margin-top ${t} ${Lo},
margin-bottom ${t} ${Lo},
padding-top ${t} ${Lo},
padding-bottom ${t} ${Lo}
${n?`,${n}`:""}
`)]}const vj=z("alert",`
line-height: var(--n-line-height);
border-radius: var(--n-border-radius);
position: relative;
transition: background-color .3s var(--n-bezier);
background-color: var(--n-color);
text-align: start;
word-break: break-word;
`,[V("border",`
border-radius: inherit;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
transition: border-color .3s var(--n-bezier);
border: var(--n-border);
pointer-events: none;
`),Z("closable",[z("alert-body",[V("title",`
padding-right: 24px;
`)])]),V("icon",{color:"var(--n-icon-color)"}),z("alert-body",{padding:"var(--n-padding)"},[V("title",{color:"var(--n-title-text-color)"}),V("content",{color:"var(--n-content-text-color)"})]),gm({originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.9)"}}),V("icon",`
position: absolute;
left: 0;
top: 0;
align-items: center;
justify-content: center;
display: flex;
width: var(--n-icon-size);
height: var(--n-icon-size);
font-size: var(--n-icon-size);
margin: var(--n-icon-margin);
`),V("close",`
transition:
color .3s var(--n-bezier),
background-color .3s var(--n-bezier);
position: absolute;
right: 0;
top: 0;
margin: var(--n-close-margin);
`),Z("show-icon",[z("alert-body",{paddingLeft:"calc(var(--n-icon-margin-left) + var(--n-icon-size) + var(--n-icon-margin-right))"})]),Z("right-adjust",[z("alert-body",{paddingRight:"calc(var(--n-close-size) + var(--n-padding) + 2px)"})]),z("alert-body",`
border-radius: var(--n-border-radius);
transition: border-color .3s var(--n-bezier);
`,[V("title",`
transition: color .3s var(--n-bezier);
font-size: 16px;
line-height: 19px;
font-weight: var(--n-title-font-weight);
`,[q("& +",[V("content",{marginTop:"9px"})])]),V("content",{transition:"color .3s var(--n-bezier)",fontSize:"var(--n-font-size)"})]),V("icon",{transition:"color .3s var(--n-bezier)"})]),bj=Object.assign(Object.assign({},Be.props),{title:String,showIcon:{type:Boolean,default:!0},type:{type:String,default:"default"},bordered:{type:Boolean,default:!0},closable:Boolean,onClose:Function,onAfterLeave:Function,onAfterHide:Function}),pl=be({name:"Alert",inheritAttrs:!1,props:bj,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=Be("Alert","-alert",vj,pj,e,t),a=pn("Alert",r,t),s=F(()=>{const{common:{cubicBezierEaseInOut:h},self:p}=i.value,{fontSize:g,borderRadius:m,titleFontWeight:b,lineHeight:_,iconSize:C,iconMargin:S,iconMarginRtl:w,closeIconSize:x,closeBorderRadius:y,closeSize:P,closeMargin:k,closeMarginRtl:T,padding:E}=p,{type:R}=e,{left:K,right:N}=lo(S);return{"--n-bezier":h,"--n-color":p[Re("color",R)],"--n-close-icon-size":x,"--n-close-border-radius":y,"--n-close-color-hover":p[Re("closeColorHover",R)],"--n-close-color-pressed":p[Re("closeColorPressed",R)],"--n-close-icon-color":p[Re("closeIconColor",R)],"--n-close-icon-color-hover":p[Re("closeIconColorHover",R)],"--n-close-icon-color-pressed":p[Re("closeIconColorPressed",R)],"--n-icon-color":p[Re("iconColor",R)],"--n-border":p[Re("border",R)],"--n-title-text-color":p[Re("titleTextColor",R)],"--n-content-text-color":p[Re("contentTextColor",R)],"--n-line-height":_,"--n-border-radius":m,"--n-font-size":g,"--n-title-font-weight":b,"--n-icon-size":C,"--n-icon-margin":S,"--n-icon-margin-rtl":w,"--n-close-size":P,"--n-close-margin":k,"--n-close-margin-rtl":T,"--n-padding":E,"--n-icon-margin-left":K,"--n-icon-margin-right":N}}),l=o?Pt("alert",F(()=>e.type[0]),s,e):void 0,c=W(!0),u=()=>{const{onAfterLeave:h,onAfterHide:p}=e;h&&h(),p&&p()};return{rtlEnabled:a,mergedClsPrefix:t,mergedBordered:n,visible:c,handleCloseClick:()=>{var h;Promise.resolve((h=e.onClose)===null||h===void 0?void 0:h.call(e)).then(p=>{p!==!1&&(c.value=!1)})},handleAfterLeave:()=>{u()},mergedTheme:i,cssVars:o?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),v(Ou,{onAfterLeave:this.handleAfterLeave},{default:()=>{const{mergedClsPrefix:t,$slots:n}=this,o={class:[`${t}-alert`,this.themeClass,this.closable&&`${t}-alert--closable`,this.showIcon&&`${t}-alert--show-icon`,!this.title&&this.closable&&`${t}-alert--right-adjust`,this.rtlEnabled&&`${t}-alert--rtl`],style:this.cssVars,role:"alert"};return this.visible?v("div",Object.assign({},Ln(this.$attrs,o)),this.closable&&v(qi,{clsPrefix:t,class:`${t}-alert__close`,onClick:this.handleCloseClick}),this.bordered&&v("div",{class:`${t}-alert__border`}),this.showIcon&&v("div",{class:`${t}-alert__icon`,"aria-hidden":"true"},An(n.icon,()=>[v(Ut,{clsPrefix:t},{default:()=>{switch(this.type){case"success":return v(Vi,null);case"info":return v(Vr,null);case"warning":return v(Wi,null);case"error":return v(ji,null);default:return null}}})])),v("div",{class:[`${t}-alert-body`,this.mergedBordered&&`${t}-alert-body--bordered`]},$t(n.header,r=>{const i=r||this.title;return i?v("div",{class:`${t}-alert-body__title`},i):null}),n.default&&v("div",{class:`${t}-alert-body__content`},n))):null}})}}),yj={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"};function xj(e){const{borderRadius:t,railColor:n,primaryColor:o,primaryColorHover:r,primaryColorPressed:i,textColor2:a}=e;return Object.assign(Object.assign({},yj),{borderRadius:t,railColor:n,railColorActive:o,linkColor:Me(o,{alpha:.15}),linkTextColor:a,linkTextColorHover:r,linkTextColorPressed:i,linkTextColorActive:o})}const Cj={name:"Anchor",common:je,self:xj},wj=Cj;function Bc(e){return e.type==="group"}function c2(e){return e.type==="ignored"}function ef(e,t){try{return!!(1+t.toString().toLowerCase().indexOf(e.trim().toLowerCase()))}catch{return!1}}function u2(e,t){return{getIsGroup:Bc,getIgnored:c2,getKey(o){return Bc(o)?o.name||o.key||"key-required":o[e]},getChildren(o){return o[t]}}}function _j(e,t,n,o){if(!t)return e;function r(i){if(!Array.isArray(i))return[];const a=[];for(const s of i)if(Bc(s)){const l=r(s[o]);l.length&&a.push(Object.assign({},s,{[o]:l}))}else{if(c2(s))continue;t(n,s)&&a.push(s)}return a}return r(e)}function Sj(e,t,n){const o=new Map;return e.forEach(r=>{Bc(r)?r[n].forEach(i=>{o.set(i[t],i)}):o.set(r[t],r)}),o}const kj=hr&&"chrome"in window;hr&&navigator.userAgent.includes("Firefox");const d2=hr&&navigator.userAgent.includes("Safari")&&!kj,f2={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},Pj={name:"Input",common:je,self(e){const{textColor2:t,textColor3:n,textColorDisabled:o,primaryColor:r,primaryColorHover:i,inputColor:a,inputColorDisabled:s,warningColor:l,warningColorHover:c,errorColor:u,errorColorHover:d,borderRadius:f,lineHeight:h,fontSizeTiny:p,fontSizeSmall:g,fontSizeMedium:m,fontSizeLarge:b,heightTiny:_,heightSmall:C,heightMedium:S,heightLarge:w,clearColor:x,clearColorHover:y,clearColorPressed:P,placeholderColor:k,placeholderColorDisabled:T,iconColor:E,iconColorDisabled:R,iconColorHover:K,iconColorPressed:N}=e;return Object.assign(Object.assign({},f2),{countTextColorDisabled:o,countTextColor:n,heightTiny:_,heightSmall:C,heightMedium:S,heightLarge:w,fontSizeTiny:p,fontSizeSmall:g,fontSizeMedium:m,fontSizeLarge:b,lineHeight:h,lineHeightTextarea:h,borderRadius:f,iconSize:"16px",groupLabelColor:a,textColor:t,textColorDisabled:o,textDecorationColor:t,groupLabelTextColor:t,caretColor:r,placeholderColor:k,placeholderColorDisabled:T,color:a,colorDisabled:s,colorFocus:Me(r,{alpha:.1}),groupLabelBorder:"1px solid #0000",border:"1px solid #0000",borderHover:`1px solid ${i}`,borderDisabled:"1px solid #0000",borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 8px 0 ${Me(r,{alpha:.3})}`,loadingColor:r,loadingColorWarning:l,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,colorFocusWarning:Me(l,{alpha:.1}),borderFocusWarning:`1px solid ${c}`,boxShadowFocusWarning:`0 0 8px 0 ${Me(l,{alpha:.3})}`,caretColorWarning:l,loadingColorError:u,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,colorFocusError:Me(u,{alpha:.1}),borderFocusError:`1px solid ${d}`,boxShadowFocusError:`0 0 8px 0 ${Me(u,{alpha:.3})}`,caretColorError:u,clearColor:x,clearColorHover:y,clearColorPressed:P,iconColor:E,iconColorDisabled:R,iconColorHover:K,iconColorPressed:N,suffixTextColor:t})}},mo=Pj;function Tj(e){const{textColor2:t,textColor3:n,textColorDisabled:o,primaryColor:r,primaryColorHover:i,inputColor:a,inputColorDisabled:s,borderColor:l,warningColor:c,warningColorHover:u,errorColor:d,errorColorHover:f,borderRadius:h,lineHeight:p,fontSizeTiny:g,fontSizeSmall:m,fontSizeMedium:b,fontSizeLarge:_,heightTiny:C,heightSmall:S,heightMedium:w,heightLarge:x,actionColor:y,clearColor:P,clearColorHover:k,clearColorPressed:T,placeholderColor:E,placeholderColorDisabled:R,iconColor:K,iconColorDisabled:N,iconColorHover:D,iconColorPressed:M}=e;return Object.assign(Object.assign({},f2),{countTextColorDisabled:o,countTextColor:n,heightTiny:C,heightSmall:S,heightMedium:w,heightLarge:x,fontSizeTiny:g,fontSizeSmall:m,fontSizeMedium:b,fontSizeLarge:_,lineHeight:p,lineHeightTextarea:p,borderRadius:h,iconSize:"16px",groupLabelColor:y,groupLabelTextColor:t,textColor:t,textColorDisabled:o,textDecorationColor:t,caretColor:r,placeholderColor:E,placeholderColorDisabled:R,color:a,colorDisabled:s,colorFocus:a,groupLabelBorder:`1px solid ${l}`,border:`1px solid ${l}`,borderHover:`1px solid ${i}`,borderDisabled:`1px solid ${l}`,borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 0 2px ${Me(r,{alpha:.2})}`,loadingColor:r,loadingColorWarning:c,borderWarning:`1px solid ${c}`,borderHoverWarning:`1px solid ${u}`,colorFocusWarning:a,borderFocusWarning:`1px solid ${u}`,boxShadowFocusWarning:`0 0 0 2px ${Me(c,{alpha:.2})}`,caretColorWarning:c,loadingColorError:d,borderError:`1px solid ${d}`,borderHoverError:`1px solid ${f}`,colorFocusError:a,borderFocusError:`1px solid ${f}`,boxShadowFocusError:`0 0 0 2px ${Me(d,{alpha:.2})}`,caretColorError:d,clearColor:P,clearColorHover:k,clearColorPressed:T,iconColor:K,iconColorDisabled:N,iconColorHover:D,iconColorPressed:M,suffixTextColor:t})}const Rj={name:"Input",common:xt,self:Tj},vm=Rj,h2="n-input";function Ej(e){let t=0;for(const n of e)t++;return t}function Nl(e){return e===""||e==null}function $j(e){const t=W(null);function n(){const{value:i}=e;if(!(i!=null&&i.focus)){r();return}const{selectionStart:a,selectionEnd:s,value:l}=i;if(a==null||s==null){r();return}t.value={start:a,end:s,beforeText:l.slice(0,a),afterText:l.slice(s)}}function o(){var i;const{value:a}=t,{value:s}=e;if(!a||!s)return;const{value:l}=s,{start:c,beforeText:u,afterText:d}=a;let f=l.length;if(l.endsWith(d))f=l.length-d.length;else if(l.startsWith(u))f=u.length;else{const h=u[c-1],p=l.indexOf(h,c-1);p!==-1&&(f=p+1)}(i=s.setSelectionRange)===null||i===void 0||i.call(s,f,f)}function r(){t.value=null}return ft(e,r),{recordCursor:n,restoreCursor:o}}const Y0=be({name:"InputWordCount",setup(e,{slots:t}){const{mergedValueRef:n,maxlengthRef:o,mergedClsPrefixRef:r,countGraphemesRef:i}=Ue(h2),a=F(()=>{const{value:s}=n;return s===null||Array.isArray(s)?0:(i.value||Ej)(s)});return()=>{const{value:s}=o,{value:l}=n;return v("span",{class:`${r.value}-input-word-count`},bh(t.default,{value:l===null||Array.isArray(l)?"":l},()=>[s===void 0?a.value:`${a.value} / ${s}`]))}}}),Aj=z("input",`
max-width: 100%;
cursor: text;
line-height: 1.5;
z-index: auto;
outline: none;
box-sizing: border-box;
position: relative;
display: inline-flex;
border-radius: var(--n-border-radius);
background-color: var(--n-color);
transition: background-color .3s var(--n-bezier);
font-size: var(--n-font-size);
--n-padding-vertical: calc((var(--n-height) - 1.5 * var(--n-font-size)) / 2);
`,[V("input, textarea",`
overflow: hidden;
flex-grow: 1;
position: relative;
`),V("input-el, textarea-el, input-mirror, textarea-mirror, separator, placeholder",`
box-sizing: border-box;
font-size: inherit;
line-height: 1.5;
font-family: inherit;
border: none;
outline: none;
background-color: #0000;
text-align: inherit;
transition:
-webkit-text-fill-color .3s var(--n-bezier),
caret-color .3s var(--n-bezier),
color .3s var(--n-bezier),
text-decoration-color .3s var(--n-bezier);
`),V("input-el, textarea-el",`
-webkit-appearance: none;
scrollbar-width: none;
width: 100%;
min-width: 0;
text-decoration-color: var(--n-text-decoration-color);
color: var(--n-text-color);
caret-color: var(--n-caret-color);
background-color: transparent;
`,[q("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",`
width: 0;
height: 0;
display: none;
`),q("&::placeholder",`
color: #0000;
-webkit-text-fill-color: transparent !important;
`),q("&:-webkit-autofill ~",[V("placeholder","display: none;")])]),Z("round",[Rt("textarea","border-radius: calc(var(--n-height) / 2);")]),V("placeholder",`
pointer-events: none;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
overflow: hidden;
color: var(--n-placeholder-color);
`,[q("span",`
width: 100%;
display: inline-block;
`)]),Z("textarea",[V("placeholder","overflow: visible;")]),Rt("autosize","width: 100%;"),Z("autosize",[V("textarea-el, input-el",`
position: absolute;
top: 0;
left: 0;
height: 100%;
`)]),z("input-wrapper",`
overflow: hidden;
display: inline-flex;
flex-grow: 1;
position: relative;
padding-left: var(--n-padding-left);
padding-right: var(--n-padding-right);
`),V("input-mirror",`
padding: 0;
height: var(--n-height);
line-height: var(--n-height);
overflow: hidden;
visibility: hidden;
position: static;
white-space: pre;
pointer-events: none;
`),V("input-el",`
padding: 0;
height: var(--n-height);
line-height: var(--n-height);
`,[q("&[type=password]::-ms-reveal","display: none;"),q("+",[V("placeholder",`
display: flex;
align-items: center;
`)])]),Rt("textarea",[V("placeholder","white-space: nowrap;")]),V("eye",`
display: flex;
align-items: center;
justify-content: center;
transition: color .3s var(--n-bezier);
`),Z("textarea","width: 100%;",[z("input-word-count",`
position: absolute;
right: var(--n-padding-right);
bottom: var(--n-padding-vertical);
`),Z("resizable",[z("input-wrapper",`
resize: vertical;
min-height: var(--n-height);
`)]),V("textarea-el, textarea-mirror, placeholder",`
height: 100%;
padding-left: 0;
padding-right: 0;
padding-top: var(--n-padding-vertical);
padding-bottom: var(--n-padding-vertical);
word-break: break-word;
display: inline-block;
vertical-align: bottom;
box-sizing: border-box;
line-height: var(--n-line-height-textarea);
margin: 0;
resize: none;
white-space: pre-wrap;
scroll-padding-block-end: var(--n-padding-vertical);
`),V("textarea-mirror",`
width: 100%;
pointer-events: none;
overflow: hidden;
visibility: hidden;
position: static;
white-space: pre-wrap;
overflow-wrap: break-word;
`)]),Z("pair",[V("input-el, placeholder","text-align: center;"),V("separator",`
display: flex;
align-items: center;
transition: color .3s var(--n-bezier);
color: var(--n-text-color);
white-space: nowrap;
`,[z("icon",`
color: var(--n-icon-color);
`),z("base-icon",`
color: var(--n-icon-color);
`)])]),Z("disabled",`
cursor: not-allowed;
background-color: var(--n-color-disabled);
`,[V("border","border: var(--n-border-disabled);"),V("input-el, textarea-el",`
cursor: not-allowed;
color: var(--n-text-color-disabled);
text-decoration-color: var(--n-text-color-disabled);
`),V("placeholder","color: var(--n-placeholder-color-disabled);"),V("separator","color: var(--n-text-color-disabled);",[z("icon",`
color: var(--n-icon-color-disabled);
`),z("base-icon",`
color: var(--n-icon-color-disabled);
`)]),z("input-word-count",`
color: var(--n-count-text-color-disabled);
`),V("suffix, prefix","color: var(--n-text-color-disabled);",[z("icon",`
color: var(--n-icon-color-disabled);
`),z("internal-icon",`
color: var(--n-icon-color-disabled);
`)])]),Rt("disabled",[V("eye",`
color: var(--n-icon-color);
cursor: pointer;
`,[q("&:hover",`
color: var(--n-icon-color-hover);
`),q("&:active",`
color: var(--n-icon-color-pressed);
`)]),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",`
box-sizing: border-box;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
pointer-events: none;
border-radius: inherit;
border: var(--n-border);
transition:
box-shadow .3s var(--n-bezier),
border-color .3s var(--n-bezier);
`),V("state-border",`
border-color: #0000;
z-index: 1;
`),V("prefix","margin-right: 4px;"),V("suffix",`
margin-left: 4px;
`),V("suffix, prefix",`
transition: color .3s var(--n-bezier);
flex-wrap: nowrap;
flex-shrink: 0;
line-height: var(--n-height);
white-space: nowrap;
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--n-suffix-text-color);
`,[z("base-loading",`
font-size: var(--n-icon-size);
margin: 0 2px;
color: var(--n-loading-color);
`),z("base-clear",`
font-size: var(--n-icon-size);
`,[V("placeholder",[z("base-icon",`
transition: color .3s var(--n-bezier);
color: var(--n-icon-color);
font-size: var(--n-icon-size);
`)])]),q(">",[z("icon",`
transition: color .3s var(--n-bezier);
color: var(--n-icon-color);
font-size: var(--n-icon-size);
`)]),z("base-icon",`
font-size: var(--n-icon-size);
`)]),z("input-word-count",`
pointer-events: none;
line-height: 1.5;
font-size: .85em;
color: var(--n-count-text-color);
transition: color .3s var(--n-bezier);
margin-left: 4px;
font-variant: tabular-nums;
`),["warning","error"].map(e=>Z(`${e}-status`,[Rt("disabled",[z("base-loading",`
color: var(--n-loading-color-${e})
`),V("input-el, textarea-el",`
caret-color: var(--n-caret-color-${e});
`),V("state-border",`
border: var(--n-border-${e});
`),q("&:hover",[V("state-border",`
border: var(--n-border-hover-${e});
`)]),q("&:focus",`
background-color: var(--n-color-focus-${e});
`,[V("state-border",`
box-shadow: var(--n-box-shadow-focus-${e});
border: var(--n-border-focus-${e});
`)]),Z("focus",`
background-color: var(--n-color-focus-${e});
`,[V("state-border",`
box-shadow: var(--n-box-shadow-focus-${e});
border: var(--n-border-focus-${e});
`)])])]))]),Ij=z("input",[Z("disabled",[V("input-el, textarea-el",`
-webkit-text-fill-color: var(--n-text-color-disabled);
`)])]),Oj=Object.assign(Object.assign({},Be.props),{bordered:{type:Boolean,default:void 0},type:{type:String,default:"text"},placeholder:[Array,String],defaultValue:{type:[String,Array],default:null},value:[String,Array],disabled:{type:Boolean,default:void 0},size:String,rows:{type:[Number,String],default:3},round:Boolean,minlength:[String,Number],maxlength:[String,Number],clearable:Boolean,autosize:{type:[Boolean,Object],default:!1},pair:Boolean,separator:String,readonly:{type:[String,Boolean],default:!1},passivelyActivated:Boolean,showPasswordOn:String,stateful:{type:Boolean,default:!0},autofocus:Boolean,inputProps:Object,resizable:{type:Boolean,default:!0},showCount:Boolean,loading:{type:Boolean,default:void 0},allowInput:Function,renderCount:Function,onMousedown:Function,onKeydown:Function,onKeyup:[Function,Array],onInput:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClick:[Function,Array],onChange:[Function,Array],onClear:[Function,Array],countGraphemes:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],textDecoration:[String,Array],attrSize:{type:Number,default:20},onInputBlur:[Function,Array],onInputFocus:[Function,Array],onDeactivate:[Function,Array],onActivate:[Function,Array],onWrapperFocus:[Function,Array],onWrapperBlur:[Function,Array],internalDeactivateOnEnter:Boolean,internalForceFocus:Boolean,internalLoadingBeforeSuffix:{type:Boolean,default:!0},showPasswordToggle:Boolean}),ur=be({name:"Input",props:Oj,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=Be("Input","-input",Aj,vm,e,t);d2&&ei("-input-safari",Ij,t);const a=W(null),s=W(null),l=W(null),c=W(null),u=W(null),d=W(null),f=W(null),h=$j(f),p=W(null),{localeRef:g}=Hi("Input"),m=W(e.defaultValue),b=We(e,"value"),_=an(b,m),C=pr(e),{mergedSizeRef:S,mergedDisabledRef:w,mergedStatusRef:x}=C,y=W(!1),P=W(!1),k=W(!1),T=W(!1);let E=null;const R=F(()=>{const{placeholder:ae,pair:Ee}=e;return Ee?Array.isArray(ae)?ae:ae===void 0?["",""]:[ae,ae]:ae===void 0?[g.value.placeholder]:[ae]}),K=F(()=>{const{value:ae}=k,{value:Ee}=_,{value:ot}=R;return!ae&&(Nl(Ee)||Array.isArray(Ee)&&Nl(Ee[0]))&&ot[0]}),N=F(()=>{const{value:ae}=k,{value:Ee}=_,{value:ot}=R;return!ae&&ot[1]&&(Nl(Ee)||Array.isArray(Ee)&&Nl(Ee[1]))}),D=kt(()=>e.internalForceFocus||y.value),M=kt(()=>{if(w.value||e.readonly||!e.clearable||!D.value&&!P.value)return!1;const{value:ae}=_,{value:Ee}=D;return e.pair?!!(Array.isArray(ae)&&(ae[0]||ae[1]))&&(P.value||Ee):!!ae&&(P.value||Ee)}),G=F(()=>{const{showPasswordOn:ae}=e;if(ae)return ae;if(e.showPasswordToggle)return"click"}),J=W(!1),he=F(()=>{const{textDecoration:ae}=e;return ae?Array.isArray(ae)?ae.map(Ee=>({textDecoration:Ee})):[{textDecoration:ae}]:["",""]}),pe=W(void 0),B=()=>{var ae,Ee;if(e.type==="textarea"){const{autosize:ot}=e;if(ot&&(pe.value=(Ee=(ae=p.value)===null||ae===void 0?void 0:ae.$el)===null||Ee===void 0?void 0:Ee.offsetWidth),!s.value||typeof ot=="boolean")return;const{paddingTop:Bt,paddingBottom:Kt,lineHeight:Lt}=window.getComputedStyle(s.value),bo=Number(Bt.slice(0,-2)),yo=Number(Kt.slice(0,-2)),xo=Number(Lt.slice(0,-2)),{value:Xo}=l;if(!Xo)return;if(ot.minRows){const Zo=Math.max(ot.minRows,1),oi=`${bo+yo+xo*Zo}px`;Xo.style.minHeight=oi}if(ot.maxRows){const Zo=`${bo+yo+xo*ot.maxRows}px`;Xo.style.maxHeight=Zo}}},$=F(()=>{const{maxlength:ae}=e;return ae===void 0?void 0:Number(ae)});jt(()=>{const{value:ae}=_;Array.isArray(ae)||vt(ae)});const A=to().proxy;function Y(ae,Ee){const{onUpdateValue:ot,"onUpdate:value":Bt,onInput:Kt}=e,{nTriggerFormInput:Lt}=C;ot&&$e(ot,ae,Ee),Bt&&$e(Bt,ae,Ee),Kt&&$e(Kt,ae,Ee),m.value=ae,Lt()}function ne(ae,Ee){const{onChange:ot}=e,{nTriggerFormChange:Bt}=C;ot&&$e(ot,ae,Ee),m.value=ae,Bt()}function fe(ae){const{onBlur:Ee}=e,{nTriggerFormBlur:ot}=C;Ee&&$e(Ee,ae),ot()}function Q(ae){const{onFocus:Ee}=e,{nTriggerFormFocus:ot}=C;Ee&&$e(Ee,ae),ot()}function xe(ae){const{onClear:Ee}=e;Ee&&$e(Ee,ae)}function H(ae){const{onInputBlur:Ee}=e;Ee&&$e(Ee,ae)}function ye(ae){const{onInputFocus:Ee}=e;Ee&&$e(Ee,ae)}function Oe(){const{onDeactivate:ae}=e;ae&&$e(ae)}function Ne(){const{onActivate:ae}=e;ae&&$e(ae)}function L(ae){const{onClick:Ee}=e;Ee&&$e(Ee,ae)}function O(ae){const{onWrapperFocus:Ee}=e;Ee&&$e(Ee,ae)}function oe(ae){const{onWrapperBlur:Ee}=e;Ee&&$e(Ee,ae)}function _e(){k.value=!0}function te(ae){k.value=!1,ae.target===d.value?ge(ae,1):ge(ae,0)}function ge(ae,Ee=0,ot="input"){const Bt=ae.target.value;if(vt(Bt),ae instanceof InputEvent&&!ae.isComposing&&(k.value=!1),e.type==="textarea"){const{value:Lt}=p;Lt&&Lt.syncUnifiedContainer()}if(E=Bt,k.value)return;h.recordCursor();const Kt=ke(Bt);if(Kt)if(!e.pair)ot==="input"?Y(Bt,{source:Ee}):ne(Bt,{source:Ee});else{let{value:Lt}=_;Array.isArray(Lt)?Lt=[Lt[0],Lt[1]]:Lt=["",""],Lt[Ee]=Bt,ot==="input"?Y(Lt,{source:Ee}):ne(Lt,{source:Ee})}A.$forceUpdate(),Kt||Ht(h.restoreCursor)}function ke(ae){const{countGraphemes:Ee,maxlength:ot,minlength:Bt}=e;if(Ee){let Lt;if(ot!==void 0&&(Lt===void 0&&(Lt=Ee(ae)),Lt>Number(ot))||Bt!==void 0&&(Lt===void 0&&(Lt=Ee(ae)),Lt<Number(ot)))return!1}const{allowInput:Kt}=e;return typeof Kt=="function"?Kt(ae):!0}function I(ae){H(ae),ae.relatedTarget===a.value&&Oe(),ae.relatedTarget!==null&&(ae.relatedTarget===u.value||ae.relatedTarget===d.value||ae.relatedTarget===s.value)||(T.value=!1),ce(ae,"blur"),f.value=null}function j(ae,Ee){ye(ae),y.value=!0,T.value=!0,Ne(),ce(ae,"focus"),Ee===0?f.value=u.value:Ee===1?f.value=d.value:Ee===2&&(f.value=s.value)}function ee(ae){e.passivelyActivated&&(oe(ae),ce(ae,"blur"))}function Ce(ae){e.passivelyActivated&&(y.value=!0,O(ae),ce(ae,"focus"))}function ce(ae,Ee){ae.relatedTarget!==null&&(ae.relatedTarget===u.value||ae.relatedTarget===d.value||ae.relatedTarget===s.value||ae.relatedTarget===a.value)||(Ee==="focus"?(Q(ae),y.value=!0):Ee==="blur"&&(fe(ae),y.value=!1))}function le(ae,Ee){ge(ae,Ee,"change")}function re(ae){L(ae)}function de(ae){xe(ae),De()}function De(){e.pair?(Y(["",""],{source:"clear"}),ne(["",""],{source:"clear"})):(Y("",{source:"clear"}),ne("",{source:"clear"}))}function Le(ae){const{onMousedown:Ee}=e;Ee&&Ee(ae);const{tagName:ot}=ae.target;if(ot!=="INPUT"&&ot!=="TEXTAREA"){if(e.resizable){const{value:Bt}=a;if(Bt){const{left:Kt,top:Lt,width:bo,height:yo}=Bt.getBoundingClientRect(),xo=14;if(Kt+bo-xo<ae.clientX&&ae.clientX<Kt+bo&&Lt+yo-xo<ae.clientY&&ae.clientY<Lt+yo)return}}ae.preventDefault(),y.value||Ae()}}function Pe(){var ae;P.value=!0,e.type==="textarea"&&((ae=p.value)===null||ae===void 0||ae.handleMouseEnterWrapper())}function Fe(){var ae;P.value=!1,e.type==="textarea"&&((ae=p.value)===null||ae===void 0||ae.handleMouseLeaveWrapper())}function He(){w.value||G.value==="click"&&(J.value=!J.value)}function Ie(ae){if(w.value)return;ae.preventDefault();const Ee=Bt=>{Bt.preventDefault(),Tt("mouseup",document,Ee)};if(At("mouseup",document,Ee),G.value!=="mousedown")return;J.value=!0;const ot=()=>{J.value=!1,Tt("mouseup",document,ot)};At("mouseup",document,ot)}function Qe(ae){e.onKeyup&&$e(e.onKeyup,ae)}function Ct(ae){switch(e.onKeydown&&$e(e.onKeydown,ae),ae.key){case"Escape":ve();break;case"Enter":X(ae);break}}function X(ae){var Ee,ot;if(e.passivelyActivated){const{value:Bt}=T;if(Bt){e.internalDeactivateOnEnter&&ve();return}ae.preventDefault(),e.type==="textarea"?(Ee=s.value)===null||Ee===void 0||Ee.focus():(ot=u.value)===null||ot===void 0||ot.focus()}}function ve(){e.passivelyActivated&&(T.value=!1,Ht(()=>{var ae;(ae=a.value)===null||ae===void 0||ae.focus()}))}function Ae(){var ae,Ee,ot;w.value||(e.passivelyActivated?(ae=a.value)===null||ae===void 0||ae.focus():((Ee=s.value)===null||Ee===void 0||Ee.focus(),(ot=u.value)===null||ot===void 0||ot.focus()))}function Ke(){var ae;!((ae=a.value)===null||ae===void 0)&&ae.contains(document.activeElement)&&document.activeElement.blur()}function Ze(){var ae,Ee;(ae=s.value)===null||ae===void 0||ae.select(),(Ee=u.value)===null||Ee===void 0||Ee.select()}function Je(){w.value||(s.value?s.value.focus():u.value&&u.value.focus())}function tt(){const{value:ae}=a;ae!=null&&ae.contains(document.activeElement)&&ae!==document.activeElement&&ve()}function rt(ae){if(e.type==="textarea"){const{value:Ee}=s;Ee==null||Ee.scrollTo(ae)}else{const{value:Ee}=u;Ee==null||Ee.scrollTo(ae)}}function vt(ae){const{type:Ee,pair:ot,autosize:Bt}=e;if(!ot&&Bt)if(Ee==="textarea"){const{value:Kt}=l;Kt&&(Kt.textContent=`${ae??""}\r
`)}else{const{value:Kt}=c;Kt&&(ae?Kt.textContent=ae:Kt.innerHTML="&nbsp;")}}function sn(){B()}const Dt=W({top:"0"});function Se(ae){var Ee;const{scrollTop:ot}=ae.target;Dt.value.top=`${-ot}px`,(Ee=p.value)===null||Ee===void 0||Ee.syncUnifiedContainer()}let Ve=null;Xt(()=>{const{autosize:ae,type:Ee}=e;ae&&Ee==="textarea"?Ve=ft(_,ot=>{!Array.isArray(ot)&&ot!==E&&vt(ot)}):Ve==null||Ve()});let et=null;Xt(()=>{e.type==="textarea"?et=ft(_,ae=>{var Ee;!Array.isArray(ae)&&ae!==E&&((Ee=p.value)===null||Ee===void 0||Ee.syncUnifiedContainer())}):et==null||et()}),at(h2,{mergedValueRef:_,maxlengthRef:$,mergedClsPrefixRef:t,countGraphemesRef:We(e,"countGraphemes")});const ht={wrapperElRef:a,inputElRef:u,textareaElRef:s,isCompositing:k,clear:De,focus:Ae,blur:Ke,select:Ze,deactivate:tt,activate:Je,scrollTo:rt},bt=pn("Input",r,t),ut=F(()=>{const{value:ae}=S,{common:{cubicBezierEaseInOut:Ee},self:{color:ot,borderRadius:Bt,textColor:Kt,caretColor:Lt,caretColorError:bo,caretColorWarning:yo,textDecorationColor:xo,border:Xo,borderDisabled:Zo,borderHover:oi,borderFocus:Ja,placeholderColor:Qa,placeholderColorDisabled:es,lineHeightTextarea:ts,colorDisabled:yr,colorFocus:xr,textColorDisabled:od,boxShadowFocus:rd,iconSize:id,colorFocusWarning:ad,boxShadowFocusWarning:sd,borderWarning:ld,borderFocusWarning:cd,borderHoverWarning:ud,colorFocusError:dd,boxShadowFocusError:fd,borderError:hd,borderFocusError:pd,borderHoverError:qk,clearSize:Kk,clearColor:Gk,clearColorHover:Yk,clearColorPressed:Xk,iconColor:Zk,iconColorDisabled:Jk,suffixTextColor:Qk,countTextColor:e3,countTextColorDisabled:t3,iconColorHover:n3,iconColorPressed:o3,loadingColor:r3,loadingColorError:i3,loadingColorWarning:a3,[Re("padding",ae)]:s3,[Re("fontSize",ae)]:l3,[Re("height",ae)]:c3}}=i.value,{left:u3,right:d3}=lo(s3);return{"--n-bezier":Ee,"--n-count-text-color":e3,"--n-count-text-color-disabled":t3,"--n-color":ot,"--n-font-size":l3,"--n-border-radius":Bt,"--n-height":c3,"--n-padding-left":u3,"--n-padding-right":d3,"--n-text-color":Kt,"--n-caret-color":Lt,"--n-text-decoration-color":xo,"--n-border":Xo,"--n-border-disabled":Zo,"--n-border-hover":oi,"--n-border-focus":Ja,"--n-placeholder-color":Qa,"--n-placeholder-color-disabled":es,"--n-icon-size":id,"--n-line-height-textarea":ts,"--n-color-disabled":yr,"--n-color-focus":xr,"--n-text-color-disabled":od,"--n-box-shadow-focus":rd,"--n-loading-color":r3,"--n-caret-color-warning":yo,"--n-color-focus-warning":ad,"--n-box-shadow-focus-warning":sd,"--n-border-warning":ld,"--n-border-focus-warning":cd,"--n-border-hover-warning":ud,"--n-loading-color-warning":a3,"--n-caret-color-error":bo,"--n-color-focus-error":dd,"--n-box-shadow-focus-error":fd,"--n-border-error":hd,"--n-border-focus-error":pd,"--n-border-hover-error":qk,"--n-loading-color-error":i3,"--n-clear-color":Gk,"--n-clear-size":Kk,"--n-clear-color-hover":Yk,"--n-clear-color-pressed":Xk,"--n-icon-color":Zk,"--n-icon-color-hover":n3,"--n-icon-color-pressed":o3,"--n-icon-color-disabled":Jk,"--n-suffix-text-color":Qk}}),Et=o?Pt("input",F(()=>{const{value:ae}=S;return ae[0]}),ut,e):void 0;return Object.assign(Object.assign({},ht),{wrapperElRef:a,inputElRef:u,inputMirrorElRef:c,inputEl2Ref:d,textareaElRef:s,textareaMirrorElRef:l,textareaScrollbarInstRef:p,rtlEnabled:bt,uncontrolledValue:m,mergedValue:_,passwordVisible:J,mergedPlaceholder:R,showPlaceholder1:K,showPlaceholder2:N,mergedFocus:D,isComposing:k,activated:T,showClearButton:M,mergedSize:S,mergedDisabled:w,textDecorationStyle:he,mergedClsPrefix:t,mergedBordered:n,mergedShowPasswordOn:G,placeholderStyle:Dt,mergedStatus:x,textAreaScrollContainerWidth:pe,handleTextAreaScroll:Se,handleCompositionStart:_e,handleCompositionEnd:te,handleInput:ge,handleInputBlur:I,handleInputFocus:j,handleWrapperBlur:ee,handleWrapperFocus:Ce,handleMouseEnter:Pe,handleMouseLeave:Fe,handleMouseDown:Le,handleChange:le,handleClick:re,handleClear:de,handlePasswordToggleClick:He,handlePasswordToggleMousedown:Ie,handleWrapperKeydown:Ct,handleWrapperKeyup:Qe,handleTextAreaMirrorResize:sn,getTextareaScrollContainer:()=>s.value,mergedTheme:i,cssVars:o?void 0:ut,themeClass:Et==null?void 0:Et.themeClass,onRender:Et==null?void 0:Et.onRender})},render(){var e,t;const{mergedClsPrefix:n,mergedStatus:o,themeClass:r,type:i,countGraphemes:a,onRender:s}=this,l=this.$slots;return s==null||s(),v("div",{ref:"wrapperElRef",class:[`${n}-input`,r,o&&`${n}-input--${o}-status`,{[`${n}-input--rtl`]:this.rtlEnabled,[`${n}-input--disabled`]:this.mergedDisabled,[`${n}-input--textarea`]:i==="textarea",[`${n}-input--resizable`]:this.resizable&&!this.autosize,[`${n}-input--autosize`]:this.autosize,[`${n}-input--round`]:this.round&&i!=="textarea",[`${n}-input--pair`]:this.pair,[`${n}-input--focus`]:this.mergedFocus,[`${n}-input--stateful`]:this.stateful}],style:this.cssVars,tabindex:!this.mergedDisabled&&this.passivelyActivated&&!this.activated?0:void 0,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,onClick:this.handleClick,onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onKeyup:this.handleWrapperKeyup,onKeydown:this.handleWrapperKeydown},v("div",{class:`${n}-input-wrapper`},$t(l.prefix,c=>c&&v("div",{class:`${n}-input__prefix`},c)),i==="textarea"?v(Io,{ref:"textareaScrollbarInstRef",class:`${n}-input__textarea`,container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0,internalHoistYRail:!0},{default:()=>{var c,u;const{textAreaScrollContainerWidth:d}=this,f={width:this.autosize&&d&&`${d}px`};return v(it,null,v("textarea",Object.assign({},this.inputProps,{ref:"textareaElRef",class:[`${n}-input__textarea-el`,(c=this.inputProps)===null||c===void 0?void 0:c.class],autofocus:this.autofocus,rows:Number(this.rows),placeholder:this.placeholder,value:this.mergedValue,disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,readonly:this.readonly,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,style:[this.textDecorationStyle[0],(u=this.inputProps)===null||u===void 0?void 0:u.style,f],onBlur:this.handleInputBlur,onFocus:h=>{this.handleInputFocus(h,2)},onInput:this.handleInput,onChange:this.handleChange,onScroll:this.handleTextAreaScroll})),this.showPlaceholder1?v("div",{class:`${n}-input__placeholder`,style:[this.placeholderStyle,f],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?v(cr,{onResize:this.handleTextAreaMirrorResize},{default:()=>v("div",{ref:"textareaMirrorElRef",class:`${n}-input__textarea-mirror`,key:"mirror"})}):null)}}):v("div",{class:`${n}-input__input`},v("input",Object.assign({type:i==="password"&&this.mergedShowPasswordOn&&this.passwordVisible?"text":i},this.inputProps,{ref:"inputElRef",class:[`${n}-input__input-el`,(e=this.inputProps)===null||e===void 0?void 0:e.class],style:[this.textDecorationStyle[0],(t=this.inputProps)===null||t===void 0?void 0:t.style],tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[0],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[0]:this.mergedValue,readonly:this.readonly,autofocus:this.autofocus,size:this.attrSize,onBlur:this.handleInputBlur,onFocus:c=>{this.handleInputFocus(c,0)},onInput:c=>{this.handleInput(c,0)},onChange:c=>{this.handleChange(c,0)}})),this.showPlaceholder1?v("div",{class:`${n}-input__placeholder`},v("span",null,this.mergedPlaceholder[0])):null,this.autosize?v("div",{class:`${n}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"}," "):null),!this.pair&&$t(l.suffix,c=>c||this.clearable||this.showCount||this.mergedShowPasswordOn||this.loading!==void 0?v("div",{class:`${n}-input__suffix`},[$t(l["clear-icon-placeholder"],u=>(this.clearable||u)&&v(Lh,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{placeholder:()=>u,icon:()=>{var d,f;return(f=(d=this.$slots)["clear-icon"])===null||f===void 0?void 0:f.call(d)}})),this.internalLoadingBeforeSuffix?null:c,this.loading!==void 0?v(i2,{clsPrefix:n,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?c:null,this.showCount&&this.type!=="textarea"?v(Y0,null,{default:u=>{var d;return(d=l.count)===null||d===void 0?void 0:d.call(l,u)}}):null,this.mergedShowPasswordOn&&this.type==="password"?v("div",{class:`${n}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?An(l["password-visible-icon"],()=>[v(Ut,{clsPrefix:n},{default:()=>v(ON,null)})]):An(l["password-invisible-icon"],()=>[v(Ut,{clsPrefix:n},{default:()=>v(MN,null)})])):null]):null)),this.pair?v("span",{class:`${n}-input__separator`},An(l.separator,()=>[this.separator])):null,this.pair?v("div",{class:`${n}-input-wrapper`},v("div",{class:`${n}-input__input`},v("input",{ref:"inputEl2Ref",type:this.type,class:`${n}-input__input-el`,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[1],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[1]:void 0,readonly:this.readonly,style:this.textDecorationStyle[1],onBlur:this.handleInputBlur,onFocus:c=>{this.handleInputFocus(c,1)},onInput:c=>{this.handleInput(c,1)},onChange:c=>{this.handleChange(c,1)}}),this.showPlaceholder2?v("div",{class:`${n}-input__placeholder`},v("span",null,this.mergedPlaceholder[1])):null),$t(l.suffix,c=>(this.clearable||c)&&v("div",{class:`${n}-input__suffix`},[this.clearable&&v(Lh,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{icon:()=>{var u;return(u=l["clear-icon"])===null||u===void 0?void 0:u.call(l)},placeholder:()=>{var u;return(u=l["clear-icon-placeholder"])===null||u===void 0?void 0:u.call(l)}}),c]))):null,this.mergedBordered?v("div",{class:`${n}-input__border`}):null,this.mergedBordered?v("div",{class:`${n}-input__state-border`}):null,this.showCount&&i==="textarea"?v(Y0,null,{default:c=>{var u;const{renderCount:d}=this;return d?d(c):(u=l.count)===null||u===void 0?void 0:u.call(l,c)}}):null)}}),Mj=z("input-group",`
display: inline-flex;
width: 100%;
flex-wrap: nowrap;
vertical-align: bottom;
`,[q(">",[z("input",[q("&:not(:last-child)",`
border-top-right-radius: 0!important;
border-bottom-right-radius: 0!important;
`),q("&:not(:first-child)",`
border-top-left-radius: 0!important;
border-bottom-left-radius: 0!important;
margin-left: -1px!important;
`)]),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;
`)]),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;
`)])]),q("*",[q("&:not(:last-child)",`
border-top-right-radius: 0!important;
border-bottom-right-radius: 0!important;
`,[q(">",[z("input",`
border-top-right-radius: 0!important;
border-bottom-right-radius: 0!important;
`),z("base-selection",[z("base-selection-label",`
border-top-right-radius: 0!important;
border-bottom-right-radius: 0!important;
`),z("base-selection-tags",`
border-top-right-radius: 0!important;
border-bottom-right-radius: 0!important;
`),V("box-shadow, border, state-border",`
border-top-right-radius: 0!important;
border-bottom-right-radius: 0!important;
`)])])]),q("&:not(:first-child)",`
margin-left: -1px!important;
border-top-left-radius: 0!important;
border-bottom-left-radius: 0!important;
`,[q(">",[z("input",`
border-top-left-radius: 0!important;
border-bottom-left-radius: 0!important;
`),z("base-selection",[z("base-selection-label",`
border-top-left-radius: 0!important;
border-bottom-left-radius: 0!important;
`),z("base-selection-tags",`
border-top-left-radius: 0!important;
border-bottom-left-radius: 0!important;
`),V("box-shadow, border, state-border",`
border-top-left-radius: 0!important;
border-bottom-left-radius: 0!important;
`)])])])])])]),zj={},bm=be({name:"InputGroup",props:zj,setup(e){const{mergedClsPrefixRef:t}=st(e);return ei("-input-group",Mj,t),{mergedClsPrefix:t}},render(){const{mergedClsPrefix:e}=this;return v("div",{class:`${e}-input-group`},this.$slots)}});function Dj(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const Lj={name:"AutoComplete",common:je,peers:{InternalSelectMenu:fl,Input:mo},self:Dj},Fj=Lj;function Bj(e){const{borderRadius:t,avatarColor:n,cardColor:o,fontSize:r,heightTiny:i,heightSmall:a,heightMedium:s,heightLarge:l,heightHuge:c,modalColor:u,popoverColor:d}=e;return{borderRadius:t,fontSize:r,border:`2px solid ${o}`,heightTiny:i,heightSmall:a,heightMedium:s,heightLarge:l,heightHuge:c,color:Ge(o,n),colorModal:Ge(u,n),colorPopover:Ge(d,n)}}const Nj={name:"Avatar",common:je,self:Bj},p2=Nj;function Hj(){return{gap:"-12px"}}const jj={name:"AvatarGroup",common:je,peers:{Avatar:p2},self:Hj},Vj=jj,m2={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},Wj={name:"BackTop",common:je,self(e){const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},m2),{color:t,textColor:n,iconColor:n,iconColorHover:o,iconColorPressed:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}},Uj=Wj;function qj(e){const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},m2),{color:t,textColor:n,iconColor:n,iconColorHover:o,iconColorPressed:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}const Kj={name:"BackTop",common:xt,self:qj},Gj=Kj,Yj=v("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xlinkHref:"http://www.w3.org/1999/xlink"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{transform:"translate(-139.000000, -4423.000000)","fill-rule":"nonzero"},v("g",{transform:"translate(120.000000, 4285.000000)"},v("g",{transform:"translate(7.000000, 126.000000)"},v("g",{transform:"translate(24.000000, 24.000000) scale(1, -1) translate(-24.000000, -24.000000) translate(12.000000, 12.000000)"},v("g",{transform:"translate(4.000000, 2.000000)"},v("path",{d:"M8,0 C8.51283584,0 8.93550716,0.38604019 8.99327227,0.883378875 L9,1 L9,10.584 L12.2928932,7.29289322 C12.6834175,6.90236893 13.3165825,6.90236893 13.7071068,7.29289322 C14.0675907,7.65337718 14.0953203,8.22060824 13.7902954,8.61289944 L13.7071068,8.70710678 L8.70710678,13.7071068 L8.62544899,13.7803112 L8.618,13.784 L8.59530661,13.8036654 L8.4840621,13.8753288 L8.37133602,13.9287745 L8.22929083,13.9735893 L8.14346259,13.9897165 L8.03324678,13.9994506 L7.9137692,13.9962979 L7.77070917,13.9735893 L7.6583843,13.9401293 L7.57677845,13.9063266 L7.47929125,13.8540045 L7.4048407,13.8036865 L7.38131006,13.7856883 C7.35030318,13.7612383 7.32077858,13.7349921 7.29289322,13.7071068 L2.29289322,8.70710678 L2.20970461,8.61289944 C1.90467972,8.22060824 1.93240926,7.65337718 2.29289322,7.29289322 C2.65337718,6.93240926 3.22060824,6.90467972 3.61289944,7.20970461 L3.70710678,7.29289322 L7,10.585 L7,1 L7.00672773,0.883378875 C7.06449284,0.38604019 7.48716416,0 8,0 Z"}),v("path",{d:"M14.9333333,15.9994506 C15.5224371,15.9994506 16,16.4471659 16,16.9994506 C16,17.5122865 15.5882238,17.9349578 15.0577292,17.9927229 L14.9333333,17.9994506 L1.06666667,17.9994506 C0.477562934,17.9994506 0,17.5517354 0,16.9994506 C0,16.4866148 0.411776203,16.0639435 0.9422708,16.0061783 L1.06666667,15.9994506 L14.9333333,15.9994506 Z"})))))))),Xj=z("back-top",`
position: fixed;
right: 40px;
bottom: 40px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
color: var(--n-text-color);
transition:
color .3s var(--n-bezier),
box-shadow .3s var(--n-bezier),
background-color .3s var(--n-bezier);
border-radius: var(--n-border-radius);
height: var(--n-height);
min-width: var(--n-width);
box-shadow: var(--n-box-shadow);
background-color: var(--n-color);
`,[qa(),Z("transition-disabled",{transition:"none !important"}),z("base-icon",`
font-size: var(--n-icon-size);
color: var(--n-icon-color);
transition: color .3s var(--n-bezier);
`),q("svg",{pointerEvents:"none"}),q("&:hover",{boxShadow:"var(--n-box-shadow-hover)"},[z("base-icon",{color:"var(--n-icon-color-hover)"})]),q("&:active",{boxShadow:"var(--n-box-shadow-pressed)"},[z("base-icon",{color:"var(--n-icon-color-pressed)"})])]),Zj=Object.assign(Object.assign({},Be.props),{show:{type:Boolean,default:void 0},right:{type:[Number,String],default:40},bottom:{type:[Number,String],default:40},to:{type:[String,Object],default:"body"},visibilityHeight:{type:Number,default:180},listenTo:[String,Object,Function],"onUpdate:show":{type:Function,default:()=>{}},target:Function,onShow:Function,onHide:Function}),Jj=be({name:"BackTop",inheritAttrs:!1,props:Zj,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=W(null),r=W(!1);Xt(()=>{const{value:S}=o;if(S===null){r.value=!1;return}r.value=S>=e.visibilityHeight});const i=W(!1);ft(r,S=>{var w;i.value&&((w=e["onUpdate:show"])===null||w===void 0||w.call(e,S))});const a=We(e,"show"),s=an(a,r),l=W(!0),c=W(null),u=F(()=>({right:`calc(${qt(e.right)} + ${kh.value})`,bottom:qt(e.bottom)}));let d,f;ft(s,S=>{var w,x;i.value&&(S&&((w=e.onShow)===null||w===void 0||w.call(e)),(x=e.onHide)===null||x===void 0||x.call(e))});const h=Be("BackTop","-back-top",Xj,Gj,e,t);function p(){var S;if(f)return;f=!0;const w=((S=e.target)===null||S===void 0?void 0:S.call(e))||F6(e.listenTo)||hw(c.value);if(!w)return;d=w===document.documentElement?document:w;const{to:x}=e;typeof x=="string"&&document.querySelector(x),d.addEventListener("scroll",m),m()}function g(){(Jb(d)?document.documentElement:d).scrollTo({top:0,behavior:"smooth"})}function m(){o.value=(Jb(d)?document.documentElement:d).scrollTop,i.value||Ht(()=>{i.value=!0})}function b(){l.value=!1}jt(()=>{p(),l.value=s.value}),on(()=>{d&&d.removeEventListener("scroll",m)});const _=F(()=>{const{self:{color:S,boxShadow:w,boxShadowHover:x,boxShadowPressed:y,iconColor:P,iconColorHover:k,iconColorPressed:T,width:E,height:R,iconSize:K,borderRadius:N,textColor:D},common:{cubicBezierEaseInOut:M}}=h.value;return{"--n-bezier":M,"--n-border-radius":N,"--n-height":R,"--n-width":E,"--n-box-shadow":w,"--n-box-shadow-hover":x,"--n-box-shadow-pressed":y,"--n-color":S,"--n-icon-size":K,"--n-icon-color":P,"--n-icon-color-hover":k,"--n-icon-color-pressed":T,"--n-text-color":D}}),C=n?Pt("back-top",void 0,_,e):void 0;return{placeholderRef:c,style:u,mergedShow:s,isMounted:Qr(),scrollElement:W(null),scrollTop:o,DomInfoReady:i,transitionDisabled:l,mergedClsPrefix:t,handleAfterEnter:b,handleScroll:m,handleClick:g,cssVars:n?void 0:_,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender}},render(){const{mergedClsPrefix:e}=this;return v("div",{ref:"placeholderRef",class:`${e}-back-top-placeholder`,style:"display: none","aria-hidden":!0},v(Ru,{to:this.to,show:this.mergedShow},{default:()=>v(fn,{name:"fade-in-scale-up-transition",appear:this.isMounted,onAfterEnter:this.handleAfterEnter},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),this.mergedShow?v("div",Ln(this.$attrs,{class:[`${e}-back-top`,this.themeClass,this.transitionDisabled&&`${e}-back-top--transition-disabled`],style:[this.style,this.cssVars],onClick:this.handleClick}),An(this.$slots.default,()=>[v(Ut,{clsPrefix:e},{default:()=>Yj})])):null}})}))}}),Qj={name:"Badge",common:je,self(e){const{errorColorSuppl:t,infoColorSuppl:n,successColorSuppl:o,warningColorSuppl:r,fontFamily:i}=e;return{color:t,colorInfo:n,colorSuccess:o,colorError:t,colorWarning:r,fontSize:"12px",fontFamily:i}}},eV=Qj,tV={fontWeightActive:"400"};function g2(e){const{fontSize:t,textColor3:n,textColor2:o,borderRadius:r,buttonColor2Hover:i,buttonColor2Pressed:a}=e;return Object.assign(Object.assign({},tV),{fontSize:t,itemLineHeight:"1.25",itemTextColor:n,itemTextColorHover:o,itemTextColorPressed:o,itemTextColorActive:o,itemBorderRadius:r,itemColorHover:i,itemColorPressed:a,separatorColor:n})}const nV={name:"Breadcrumb",common:xt,self:g2},oV=nV,rV={name:"Breadcrumb",common:je,self:g2},iV=rV,aV=z("breadcrumb",`
white-space: nowrap;
cursor: default;
line-height: var(--n-item-line-height);
`,[q("ul",`
list-style: none;
padding: 0;
margin: 0;
`),q("a",`
color: inherit;
text-decoration: inherit;
`),z("breadcrumb-item",`
font-size: var(--n-font-size);
transition: color .3s var(--n-bezier);
display: inline-flex;
align-items: center;
`,[z("icon",`
font-size: 18px;
vertical-align: -.2em;
transition: color .3s var(--n-bezier);
color: var(--n-item-text-color);
`),q("&:not(:last-child)",[Z("clickable",[V("link",`
cursor: pointer;
`,[q("&:hover",`
background-color: var(--n-item-color-hover);
`),q("&:active",`
background-color: var(--n-item-color-pressed);
`)])])]),V("link",`
padding: 4px;
border-radius: var(--n-item-border-radius);
transition:
background-color .3s var(--n-bezier),
color .3s var(--n-bezier);
color: var(--n-item-text-color);
position: relative;
`,[q("&:hover",`
color: var(--n-item-text-color-hover);
`,[z("icon",`
color: var(--n-item-text-color-hover);
`)]),q("&:active",`
color: var(--n-item-text-color-pressed);
`,[z("icon",`
color: var(--n-item-text-color-pressed);
`)])]),V("separator",`
margin: 0 8px;
color: var(--n-separator-color);
transition: color .3s var(--n-bezier);
user-select: none;
-webkit-user-select: none;
`),q("&:last-child",[V("link",`
font-weight: var(--n-font-weight-active);
cursor: unset;
color: var(--n-item-text-color-active);
`,[z("icon",`
color: var(--n-item-text-color-active);
`)]),V("separator",`
display: none;
`)])])]),v2="n-breadcrumb",sV=Object.assign(Object.assign({},Be.props),{separator:{type:String,default:"/"}}),lV=be({name:"Breadcrumb",props:sV,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Breadcrumb","-breadcrumb",aV,oV,e,t);at(v2,{separatorRef:We(e,"separator"),mergedClsPrefixRef:t});const r=F(()=>{const{common:{cubicBezierEaseInOut:a},self:{separatorColor:s,itemTextColor:l,itemTextColorHover:c,itemTextColorPressed:u,itemTextColorActive:d,fontSize:f,fontWeightActive:h,itemBorderRadius:p,itemColorHover:g,itemColorPressed:m,itemLineHeight:b}}=o.value;return{"--n-font-size":f,"--n-bezier":a,"--n-item-text-color":l,"--n-item-text-color-hover":c,"--n-item-text-color-pressed":u,"--n-item-text-color-active":d,"--n-separator-color":s,"--n-item-color-hover":g,"--n-item-color-pressed":m,"--n-item-border-radius":p,"--n-font-weight-active":h,"--n-item-line-height":b}}),i=n?Pt("breadcrumb",void 0,r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),v("nav",{class:[`${this.mergedClsPrefix}-breadcrumb`,this.themeClass],style:this.cssVars,"aria-label":"Breadcrumb"},v("ul",null,this.$slots))}});function cV(e=hr?window:null){const t=()=>{const{hash:r,host:i,hostname:a,href:s,origin:l,pathname:c,port:u,protocol:d,search:f}=(e==null?void 0:e.location)||{};return{hash:r,host:i,hostname:a,href:s,origin:l,pathname:c,port:u,protocol:d,search:f}},n=W(t()),o=()=>{n.value=t()};return jt(()=>{e&&(e.addEventListener("popstate",o),e.addEventListener("hashchange",o))}),Ma(()=>{e&&(e.removeEventListener("popstate",o),e.removeEventListener("hashchange",o))}),n}const uV={separator:String,href:String,clickable:{type:Boolean,default:!0},onClick:Function},dV=be({name:"BreadcrumbItem",props:uV,setup(e,{slots:t}){const n=Ue(v2,null);if(!n)return()=>null;const{separatorRef:o,mergedClsPrefixRef:r}=n,i=cV(),a=F(()=>e.href?"a":"span"),s=F(()=>i.value.href===e.href?"location":null);return()=>{const{value:l}=r;return v("li",{class:[`${l}-breadcrumb-item`,e.clickable&&`${l}-breadcrumb-item--clickable`]},v(a.value,{class:`${l}-breadcrumb-item__link`,"aria-current":s.value,href:e.href,onClick:e.onClick},t),v("span",{class:`${l}-breadcrumb-item__separator`,"aria-hidden":"true"},An(t.separator,()=>{var c;return[(c=e.separator)!==null&&c!==void 0?c:o.value]})))}}});function ci(e){return Ge(e,[255,255,255,.16])}function Hl(e){return Ge(e,[0,0,0,.12])}const fV="n-button-group",hV={paddingTiny:"0 6px",paddingSmall:"0 10px",paddingMedium:"0 14px",paddingLarge:"0 18px",paddingRoundTiny:"0 10px",paddingRoundSmall:"0 14px",paddingRoundMedium:"0 18px",paddingRoundLarge:"0 22px",iconMarginTiny:"6px",iconMarginSmall:"6px",iconMarginMedium:"6px",iconMarginLarge:"6px",iconSizeTiny:"14px",iconSizeSmall:"18px",iconSizeMedium:"18px",iconSizeLarge:"20px",rippleDuration:".6s"};function b2(e){const{heightTiny:t,heightSmall:n,heightMedium:o,heightLarge:r,borderRadius:i,fontSizeTiny:a,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:c,opacityDisabled:u,textColor2:d,textColor3:f,primaryColorHover:h,primaryColorPressed:p,borderColor:g,primaryColor:m,baseColor:b,infoColor:_,infoColorHover:C,infoColorPressed:S,successColor:w,successColorHover:x,successColorPressed:y,warningColor:P,warningColorHover:k,warningColorPressed:T,errorColor:E,errorColorHover:R,errorColorPressed:K,fontWeight:N,buttonColor2:D,buttonColor2Hover:M,buttonColor2Pressed:G,fontWeightStrong:J}=e;return Object.assign(Object.assign({},hV),{heightTiny:t,heightSmall:n,heightMedium:o,heightLarge:r,borderRadiusTiny:i,borderRadiusSmall:i,borderRadiusMedium:i,borderRadiusLarge:i,fontSizeTiny:a,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:c,opacityDisabled:u,colorOpacitySecondary:"0.16",colorOpacitySecondaryHover:"0.22",colorOpacitySecondaryPressed:"0.28",colorSecondary:D,colorSecondaryHover:M,colorSecondaryPressed:G,colorTertiary:D,colorTertiaryHover:M,colorTertiaryPressed:G,colorQuaternary:"#0000",colorQuaternaryHover:M,colorQuaternaryPressed:G,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:d,textColorTertiary:f,textColorHover:h,textColorPressed:p,textColorFocus:h,textColorDisabled:d,textColorText:d,textColorTextHover:h,textColorTextPressed:p,textColorTextFocus:h,textColorTextDisabled:d,textColorGhost:d,textColorGhostHover:h,textColorGhostPressed:p,textColorGhostFocus:h,textColorGhostDisabled:d,border:`1px solid ${g}`,borderHover:`1px solid ${h}`,borderPressed:`1px solid ${p}`,borderFocus:`1px solid ${h}`,borderDisabled:`1px solid ${g}`,rippleColor:m,colorPrimary:m,colorHoverPrimary:h,colorPressedPrimary:p,colorFocusPrimary:h,colorDisabledPrimary:m,textColorPrimary:b,textColorHoverPrimary:b,textColorPressedPrimary:b,textColorFocusPrimary:b,textColorDisabledPrimary:b,textColorTextPrimary:m,textColorTextHoverPrimary:h,textColorTextPressedPrimary:p,textColorTextFocusPrimary:h,textColorTextDisabledPrimary:d,textColorGhostPrimary:m,textColorGhostHoverPrimary:h,textColorGhostPressedPrimary:p,textColorGhostFocusPrimary:h,textColorGhostDisabledPrimary:m,borderPrimary:`1px solid ${m}`,borderHoverPrimary:`1px solid ${h}`,borderPressedPrimary:`1px solid ${p}`,borderFocusPrimary:`1px solid ${h}`,borderDisabledPrimary:`1px solid ${m}`,rippleColorPrimary:m,colorInfo:_,colorHoverInfo:C,colorPressedInfo:S,colorFocusInfo:C,colorDisabledInfo:_,textColorInfo:b,textColorHoverInfo:b,textColorPressedInfo:b,textColorFocusInfo:b,textColorDisabledInfo:b,textColorTextInfo:_,textColorTextHoverInfo:C,textColorTextPressedInfo:S,textColorTextFocusInfo:C,textColorTextDisabledInfo:d,textColorGhostInfo:_,textColorGhostHoverInfo:C,textColorGhostPressedInfo:S,textColorGhostFocusInfo:C,textColorGhostDisabledInfo:_,borderInfo:`1px solid ${_}`,borderHoverInfo:`1px solid ${C}`,borderPressedInfo:`1px solid ${S}`,borderFocusInfo:`1px solid ${C}`,borderDisabledInfo:`1px solid ${_}`,rippleColorInfo:_,colorSuccess:w,colorHoverSuccess:x,colorPressedSuccess:y,colorFocusSuccess:x,colorDisabledSuccess:w,textColorSuccess:b,textColorHoverSuccess:b,textColorPressedSuccess:b,textColorFocusSuccess:b,textColorDisabledSuccess:b,textColorTextSuccess:w,textColorTextHoverSuccess:x,textColorTextPressedSuccess:y,textColorTextFocusSuccess:x,textColorTextDisabledSuccess:d,textColorGhostSuccess:w,textColorGhostHoverSuccess:x,textColorGhostPressedSuccess:y,textColorGhostFocusSuccess:x,textColorGhostDisabledSuccess:w,borderSuccess:`1px solid ${w}`,borderHoverSuccess:`1px solid ${x}`,borderPressedSuccess:`1px solid ${y}`,borderFocusSuccess:`1px solid ${x}`,borderDisabledSuccess:`1px solid ${w}`,rippleColorSuccess:w,colorWarning:P,colorHoverWarning:k,colorPressedWarning:T,colorFocusWarning:k,colorDisabledWarning:P,textColorWarning:b,textColorHoverWarning:b,textColorPressedWarning:b,textColorFocusWarning:b,textColorDisabledWarning:b,textColorTextWarning:P,textColorTextHoverWarning:k,textColorTextPressedWarning:T,textColorTextFocusWarning:k,textColorTextDisabledWarning:d,textColorGhostWarning:P,textColorGhostHoverWarning:k,textColorGhostPressedWarning:T,textColorGhostFocusWarning:k,textColorGhostDisabledWarning:P,borderWarning:`1px solid ${P}`,borderHoverWarning:`1px solid ${k}`,borderPressedWarning:`1px solid ${T}`,borderFocusWarning:`1px solid ${k}`,borderDisabledWarning:`1px solid ${P}`,rippleColorWarning:P,colorError:E,colorHoverError:R,colorPressedError:K,colorFocusError:R,colorDisabledError:E,textColorError:b,textColorHoverError:b,textColorPressedError:b,textColorFocusError:b,textColorDisabledError:b,textColorTextError:E,textColorTextHoverError:R,textColorTextPressedError:K,textColorTextFocusError:R,textColorTextDisabledError:d,textColorGhostError:E,textColorGhostHoverError:R,textColorGhostPressedError:K,textColorGhostFocusError:R,textColorGhostDisabledError:E,borderError:`1px solid ${E}`,borderHoverError:`1px solid ${R}`,borderPressedError:`1px solid ${K}`,borderFocusError:`1px solid ${R}`,borderDisabledError:`1px solid ${E}`,rippleColorError:E,waveOpacity:"0.6",fontWeight:N,fontWeightStrong:J})}const pV={name:"Button",common:xt,self:b2},zu=pV,mV={name:"Button",common:je,self(e){const t=b2(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},Wn=mV,gV=q([z("button",`
margin: 0;
font-weight: var(--n-font-weight);
line-height: 1;
font-family: inherit;
padding: var(--n-padding);
height: var(--n-height);
font-size: var(--n-font-size);
border-radius: var(--n-border-radius);
color: var(--n-text-color);
background-color: var(--n-color);
width: var(--n-width);
white-space: nowrap;
outline: none;
position: relative;
z-index: auto;
border: none;
display: inline-flex;
flex-wrap: nowrap;
flex-shrink: 0;
align-items: center;
justify-content: center;
user-select: none;
-webkit-user-select: none;
text-align: center;
cursor: pointer;
text-decoration: none;
transition:
color .3s var(--n-bezier),
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)"})]),Rt("disabled",[q("&:focus",[V("state-border",{borderColor:"var(--n-border-color-focus)"})]),q("&:hover",[V("state-border",{borderColor:"var(--n-border-color-hover)"})]),q("&:active",[V("state-border",{borderColor:"var(--n-border-color-pressed)"})]),Z("pressed",[V("state-border",{borderColor:"var(--n-border-color-pressed)"})])])]),Z("disabled",{backgroundColor:"var(--n-color-disabled)",color:"var(--n-text-color-disabled)"},[V("border",{border:"var(--n-border-disabled)"})]),Rt("disabled",[q("&:focus",{backgroundColor:"var(--n-color-focus)",color:"var(--n-text-color-focus)"},[V("state-border",{border:"var(--n-border-focus)"})]),q("&:hover",{backgroundColor:"var(--n-color-hover)",color:"var(--n-text-color-hover)"},[V("state-border",{border:"var(--n-border-hover)"})]),q("&:active",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[V("state-border",{border:"var(--n-border-pressed)"})]),Z("pressed",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[V("state-border",{border:"var(--n-border-pressed)"})])]),Z("loading","cursor: wait;"),z("base-wave",`
pointer-events: none;
top: 0;
right: 0;
bottom: 0;
left: 0;
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"})]),hr&&"MozBoxSizing"in document.createElement("div").style?q("&::moz-focus-inner",{border:0}):null,V("border, state-border",`
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
border-radius: inherit;
transition: border-color .3s var(--n-bezier);
pointer-events: none;
`),V("border",{border:"var(--n-border)"}),V("state-border",{border:"var(--n-border)",borderColor:"#0000",zIndex:1}),V("icon",`
margin: var(--n-icon-margin);
margin-left: 0;
height: var(--n-icon-size);
width: var(--n-icon-size);
max-width: var(--n-icon-size);
font-size: var(--n-icon-size);
position: relative;
flex-shrink: 0;
`,[z("icon-slot",`
height: var(--n-icon-size);
width: var(--n-icon-size);
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
display: flex;
align-items: center;
justify-content: center;
`,[qn({top:"50%",originalTransform:"translateY(-50%)"})]),cj()]),V("content",`
display: flex;
align-items: center;
flex-wrap: nowrap;
min-width: 0;
`,[q("~",[V("icon",{margin:"var(--n-icon-margin)",marginRight:0})])]),Z("block",`
display: flex;
width: 100%;
`),Z("dashed",[V("border, state-border",{borderStyle:"dashed !important"})]),Z("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),q("@keyframes button-wave-spread",{from:{boxShadow:"0 0 0.5px 0 var(--n-ripple-color)"},to:{boxShadow:"0 0 0.5px 4.5px var(--n-ripple-color)"}}),q("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]),vV=Object.assign(Object.assign({},Be.props),{color:String,textColor:String,text:Boolean,block:Boolean,loading:Boolean,disabled:Boolean,circle:Boolean,size:String,ghost:Boolean,round:Boolean,secondary:Boolean,tertiary:Boolean,quaternary:Boolean,strong:Boolean,focusable:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},tag:{type:String,default:"button"},type:{type:String,default:"default"},dashed:Boolean,renderIcon:Function,iconPlacement:{type:String,default:"left"},attrType:{type:String,default:"button"},bordered:{type:Boolean,default:!0},onClick:[Function,Array],nativeFocusBehavior:{type:Boolean,default:!d2}}),y2=be({name:"Button",props:vV,setup(e){const t=W(null),n=W(null),o=W(!1),r=kt(()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered),i=Ue(fV,{}),{mergedSizeRef:a}=pr({},{defaultSize:"medium",mergedSize:S=>{const{size:w}=e;if(w)return w;const{size:x}=i;if(x)return x;const{mergedSize:y}=S||{};return y?y.value:"medium"}}),s=F(()=>e.focusable&&!e.disabled),l=S=>{var w;s.value||S.preventDefault(),!e.nativeFocusBehavior&&(S.preventDefault(),!e.disabled&&s.value&&((w=t.value)===null||w===void 0||w.focus({preventScroll:!0})))},c=S=>{var w;if(!e.disabled&&!e.loading){const{onClick:x}=e;x&&$e(x,S),e.text||(w=n.value)===null||w===void 0||w.play()}},u=S=>{switch(S.key){case"Enter":if(!e.keyboard)return;o.value=!1}},d=S=>{switch(S.key){case"Enter":if(!e.keyboard||e.loading){S.preventDefault();return}o.value=!0}},f=()=>{o.value=!1},{inlineThemeDisabled:h,mergedClsPrefixRef:p,mergedRtlRef:g}=st(e),m=Be("Button","-button",gV,zu,e,p),b=pn("Button",g,p),_=F(()=>{const S=m.value,{common:{cubicBezierEaseInOut:w,cubicBezierEaseOut:x},self:y}=S,{rippleDuration:P,opacityDisabled:k,fontWeight:T,fontWeightStrong:E}=y,R=a.value,{dashed:K,type:N,ghost:D,text:M,color:G,round:J,circle:he,textColor:pe,secondary:B,tertiary:$,quaternary:A,strong:Y}=e,ne={"font-weight":Y?E:T};let fe={"--n-color":"initial","--n-color-hover":"initial","--n-color-pressed":"initial","--n-color-focus":"initial","--n-color-disabled":"initial","--n-ripple-color":"initial","--n-text-color":"initial","--n-text-color-hover":"initial","--n-text-color-pressed":"initial","--n-text-color-focus":"initial","--n-text-color-disabled":"initial"};const Q=N==="tertiary",xe=N==="default",H=Q?"default":N;if(M){const I=pe||G;fe={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":"#0000","--n-text-color":I||y[Re("textColorText",H)],"--n-text-color-hover":I?ci(I):y[Re("textColorTextHover",H)],"--n-text-color-pressed":I?Hl(I):y[Re("textColorTextPressed",H)],"--n-text-color-focus":I?ci(I):y[Re("textColorTextHover",H)],"--n-text-color-disabled":I||y[Re("textColorTextDisabled",H)]}}else if(D||K){const I=pe||G;fe={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":G||y[Re("rippleColor",H)],"--n-text-color":I||y[Re("textColorGhost",H)],"--n-text-color-hover":I?ci(I):y[Re("textColorGhostHover",H)],"--n-text-color-pressed":I?Hl(I):y[Re("textColorGhostPressed",H)],"--n-text-color-focus":I?ci(I):y[Re("textColorGhostHover",H)],"--n-text-color-disabled":I||y[Re("textColorGhostDisabled",H)]}}else if(B){const I=xe?y.textColor:Q?y.textColorTertiary:y[Re("color",H)],j=G||I,ee=N!=="default"&&N!=="tertiary";fe={"--n-color":ee?Me(j,{alpha:Number(y.colorOpacitySecondary)}):y.colorSecondary,"--n-color-hover":ee?Me(j,{alpha:Number(y.colorOpacitySecondaryHover)}):y.colorSecondaryHover,"--n-color-pressed":ee?Me(j,{alpha:Number(y.colorOpacitySecondaryPressed)}):y.colorSecondaryPressed,"--n-color-focus":ee?Me(j,{alpha:Number(y.colorOpacitySecondaryHover)}):y.colorSecondaryHover,"--n-color-disabled":y.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":j,"--n-text-color-hover":j,"--n-text-color-pressed":j,"--n-text-color-focus":j,"--n-text-color-disabled":j}}else if($||A){const I=xe?y.textColor:Q?y.textColorTertiary:y[Re("color",H)],j=G||I;$?(fe["--n-color"]=y.colorTertiary,fe["--n-color-hover"]=y.colorTertiaryHover,fe["--n-color-pressed"]=y.colorTertiaryPressed,fe["--n-color-focus"]=y.colorSecondaryHover,fe["--n-color-disabled"]=y.colorTertiary):(fe["--n-color"]=y.colorQuaternary,fe["--n-color-hover"]=y.colorQuaternaryHover,fe["--n-color-pressed"]=y.colorQuaternaryPressed,fe["--n-color-focus"]=y.colorQuaternaryHover,fe["--n-color-disabled"]=y.colorQuaternary),fe["--n-ripple-color"]="#0000",fe["--n-text-color"]=j,fe["--n-text-color-hover"]=j,fe["--n-text-color-pressed"]=j,fe["--n-text-color-focus"]=j,fe["--n-text-color-disabled"]=j}else fe={"--n-color":G||y[Re("color",H)],"--n-color-hover":G?ci(G):y[Re("colorHover",H)],"--n-color-pressed":G?Hl(G):y[Re("colorPressed",H)],"--n-color-focus":G?ci(G):y[Re("colorFocus",H)],"--n-color-disabled":G||y[Re("colorDisabled",H)],"--n-ripple-color":G||y[Re("rippleColor",H)],"--n-text-color":pe||(G?y.textColorPrimary:Q?y.textColorTertiary:y[Re("textColor",H)]),"--n-text-color-hover":pe||(G?y.textColorHoverPrimary:y[Re("textColorHover",H)]),"--n-text-color-pressed":pe||(G?y.textColorPressedPrimary:y[Re("textColorPressed",H)]),"--n-text-color-focus":pe||(G?y.textColorFocusPrimary:y[Re("textColorFocus",H)]),"--n-text-color-disabled":pe||(G?y.textColorDisabledPrimary:y[Re("textColorDisabled",H)])};let ye={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};M?ye={"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:ye={"--n-border":y[Re("border",H)],"--n-border-hover":y[Re("borderHover",H)],"--n-border-pressed":y[Re("borderPressed",H)],"--n-border-focus":y[Re("borderFocus",H)],"--n-border-disabled":y[Re("borderDisabled",H)]};const{[Re("height",R)]:Oe,[Re("fontSize",R)]:Ne,[Re("padding",R)]:L,[Re("paddingRound",R)]:O,[Re("iconSize",R)]:oe,[Re("borderRadius",R)]:_e,[Re("iconMargin",R)]:te,waveOpacity:ge}=y,ke={"--n-width":he&&!M?Oe:"initial","--n-height":M?"initial":Oe,"--n-font-size":Ne,"--n-padding":he||M?"initial":J?O:L,"--n-icon-size":oe,"--n-icon-margin":te,"--n-border-radius":M?"initial":he||J?Oe:_e};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":w,"--n-bezier-ease-out":x,"--n-ripple-duration":P,"--n-opacity-disabled":k,"--n-wave-opacity":ge},ne),fe),ye),ke)}),C=h?Pt("button",F(()=>{let S="";const{dashed:w,type:x,ghost:y,text:P,color:k,round:T,circle:E,textColor:R,secondary:K,tertiary:N,quaternary:D,strong:M}=e;w&&(S+="a"),y&&(S+="b"),P&&(S+="c"),T&&(S+="d"),E&&(S+="e"),K&&(S+="f"),N&&(S+="g"),D&&(S+="h"),M&&(S+="i"),k&&(S+=`j${Ec(k)}`),R&&(S+=`k${Ec(R)}`);const{value:G}=a;return S+=`l${G[0]}`,S+=`m${x[0]}`,S}),_,e):void 0;return{selfElRef:t,waveElRef:n,mergedClsPrefix:p,mergedFocusable:s,mergedSize:a,showBorder:r,enterPressed:o,rtlEnabled:b,handleMousedown:l,handleKeydown:d,handleBlur:f,handleKeyup:u,handleClick:c,customColorCssVars:F(()=>{const{color:S}=e;if(!S)return null;const w=ci(S);return{"--n-border-color":S,"--n-border-color-hover":w,"--n-border-color-pressed":Hl(S),"--n-border-color-focus":w,"--n-border-color-disabled":S}}),cssVars:h?void 0:_,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender}},render(){const{mergedClsPrefix:e,tag:t,onRender:n}=this;n==null||n();const o=$t(this.$slots.default,r=>r&&v("span",{class:`${e}-button__content`},r));return v(t,{ref:"selfElRef",class:[this.themeClass,`${e}-button`,`${e}-button--${this.type}-type`,`${e}-button--${this.mergedSize}-type`,this.rtlEnabled&&`${e}-button--rtl`,this.disabled&&`${e}-button--disabled`,this.block&&`${e}-button--block`,this.enterPressed&&`${e}-button--pressed`,!this.text&&this.dashed&&`${e}-button--dashed`,this.color&&`${e}-button--color`,this.secondary&&`${e}-button--secondary`,this.loading&&`${e}-button--loading`,this.ghost&&`${e}-button--ghost`],tabindex:this.mergedFocusable?0:-1,type:this.attrType,style:this.cssVars,disabled:this.disabled,onClick:this.handleClick,onBlur:this.handleBlur,onMousedown:this.handleMousedown,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},this.iconPlacement==="right"&&o,v(Ou,{width:!0},{default:()=>$t(this.$slots.icon,r=>(this.loading||this.renderIcon||r)&&v("span",{class:`${e}-button__icon`,style:{margin:ga(this.$slots.default)?"0":""}},v(Ui,null,{default:()=>this.loading?v(ti,{clsPrefix:e,key:"loading",class:`${e}-icon-slot`,strokeWidth:20}):v("div",{key:"icon",class:`${e}-icon-slot`,role:"none"},this.renderIcon?this.renderIcon():r)})))}),this.iconPlacement==="left"&&o,this.text?null:v(BH,{ref:"waveElRef",clsPrefix:e}),this.showBorder?v("div",{"aria-hidden":!0,class:`${e}-button__border`,style:this.customColorCssVars}):null,this.showBorder?v("div",{"aria-hidden":!0,class:`${e}-button__state-border`,style:this.customColorCssVars}):null)}}),zt=y2,X0=y2,bV={titleFontSize:"22px"};function yV(e){const{borderRadius:t,fontSize:n,lineHeight:o,textColor2:r,textColor1:i,textColorDisabled:a,dividerColor:s,fontWeightStrong:l,primaryColor:c,baseColor:u,hoverColor:d,cardColor:f,modalColor:h,popoverColor:p}=e;return Object.assign(Object.assign({},bV),{borderRadius:t,borderColor:Ge(f,s),borderColorModal:Ge(h,s),borderColorPopover:Ge(p,s),textColor:r,titleFontWeight:l,titleTextColor:i,dayTextColor:a,fontSize:n,lineHeight:o,dateColorCurrent:c,dateTextColorCurrent:u,cellColorHover:Ge(f,d),cellColorHoverModal:Ge(h,d),cellColorHoverPopover:Ge(p,d),cellColor:f,cellColorModal:h,cellColorPopover:p,barColor:c})}const xV={name:"Calendar",common:je,peers:{Button:Wn},self:yV},CV=xV;function wV(e){const{fontSize:t,boxShadow2:n,popoverColor:o,textColor2:r,borderRadius:i,borderColor:a,heightSmall:s,heightMedium:l,heightLarge:c,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,dividerColor:h}=e;return{panelFontSize:t,boxShadow:n,color:o,textColor:r,borderRadius:i,border:`1px solid ${a}`,heightSmall:s,heightMedium:l,heightLarge:c,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,dividerColor:h}}const _V={name:"ColorPicker",common:je,peers:{Input:mo,Button:Wn},self:wV},SV=_V,kV={paddingSmall:"12px 16px 12px",paddingMedium:"19px 24px 20px",paddingLarge:"23px 32px 24px",paddingHuge:"27px 40px 28px",titleFontSizeSmall:"16px",titleFontSizeMedium:"18px",titleFontSizeLarge:"18px",titleFontSizeHuge:"18px",closeIconSize:"18px",closeSize:"22px"};function x2(e){const{primaryColor:t,borderRadius:n,lineHeight:o,fontSize:r,cardColor:i,textColor2:a,textColor1:s,dividerColor:l,fontWeightStrong:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,closeColorHover:h,closeColorPressed:p,modalColor:g,boxShadow1:m,popoverColor:b,actionColor:_}=e;return Object.assign(Object.assign({},kV),{lineHeight:o,color:i,colorModal:g,colorPopover:b,colorTarget:t,colorEmbedded:_,colorEmbeddedModal:_,colorEmbeddedPopover:_,textColor:a,titleTextColor:s,borderColor:l,actionColor:_,titleFontWeight:c,closeColorHover:h,closeColorPressed:p,closeBorderRadius:n,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,fontSizeSmall:r,fontSizeMedium:r,fontSizeLarge:r,fontSizeHuge:r,boxShadow:m,borderRadius:n})}const PV={name:"Card",common:xt,self:x2},C2=PV,TV={name:"Card",common:je,self(e){const t=x2(e),{cardColor:n,modalColor:o,popoverColor:r}=e;return t.colorEmbedded=n,t.colorEmbeddedModal=o,t.colorEmbeddedPopover=r,t}},w2=TV,RV=q([z("card",`
font-size: var(--n-font-size);
line-height: var(--n-line-height);
display: flex;
flex-direction: column;
width: 100%;
box-sizing: border-box;
position: relative;
border-radius: var(--n-border-radius);
background-color: var(--n-color);
color: var(--n-text-color);
word-break: break-word;
transition:
color .3s var(--n-bezier),
background-color .3s var(--n-bezier),
box-shadow .3s var(--n-bezier),
border-color .3s var(--n-bezier);
`,[Sw({background:"var(--n-color-modal)"}),Z("hoverable",[q("&:hover","box-shadow: var(--n-box-shadow);")]),Z("content-segmented",[q(">",[V("content",{paddingTop:"var(--n-padding-bottom)"})])]),Z("content-soft-segmented",[q(">",[V("content",`
margin: 0 var(--n-padding-left);
padding: var(--n-padding-bottom) 0;
`)])]),Z("footer-segmented",[q(">",[V("footer",{paddingTop:"var(--n-padding-bottom)"})])]),Z("footer-soft-segmented",[q(">",[V("footer",`
padding: var(--n-padding-bottom) 0;
margin: 0 var(--n-padding-left);
`)])]),q(">",[z("card-header",`
box-sizing: border-box;
display: flex;
align-items: center;
font-size: var(--n-title-font-size);
padding:
var(--n-padding-top)
var(--n-padding-left)
var(--n-padding-bottom)
var(--n-padding-left);
`,[V("main",`
font-weight: var(--n-title-font-weight);
transition: color .3s var(--n-bezier);
flex: 1;
min-width: 0;
color: var(--n-title-text-color);
`),V("extra",`
display: flex;
align-items: center;
font-size: var(--n-font-size);
font-weight: 400;
transition: color .3s var(--n-bezier);
color: var(--n-text-color);
`),V("close",`
margin: 0 0 0 8px;
transition:
background-color .3s var(--n-bezier),
color .3s var(--n-bezier);
`)]),V("action",`
box-sizing: border-box;
transition:
background-color .3s var(--n-bezier),
border-color .3s var(--n-bezier);
background-clip: padding-box;
background-color: var(--n-action-color);
`),V("content","flex: 1; min-width: 0;"),V("content, footer",`
box-sizing: border-box;
padding: 0 var(--n-padding-left) var(--n-padding-bottom) var(--n-padding-left);
font-size: var(--n-font-size);
`,[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);
border-bottom-right-radius: var(--n-border-radius);
`)]),z("card-cover",`
overflow: hidden;
width: 100%;
border-radius: var(--n-border-radius) var(--n-border-radius) 0 0;
`,[q("img",`
display: block;
width: 100%;
`)]),Z("bordered",`
border: 1px solid var(--n-border-color);
`,[q("&:target","border-color: var(--n-color-target);")]),Z("action-segmented",[q(">",[V("action",[q("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),Z("content-segmented, content-soft-segmented",[q(">",[V("content",{transition:"border-color 0.3s var(--n-bezier)"},[q("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),Z("footer-segmented, footer-soft-segmented",[q(">",[V("footer",{transition:"border-color 0.3s var(--n-bezier)"},[q("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),Z("embedded",`
background-color: var(--n-color-embedded);
`)]),al(z("card",`
background: var(--n-color-modal);
`,[Z("embedded",`
background-color: var(--n-color-embedded-modal);
`)])),ku(z("card",`
background: var(--n-color-popover);
`,[Z("embedded",`
background-color: var(--n-color-embedded-popover);
`)]))]),ym={title:[String,Function],contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],headerExtraClass:String,headerExtraStyle:[Object,String],footerClass:String,footerStyle:[Object,String],embedded:Boolean,segmented:{type:[Boolean,Object],default:!1},size:{type:String,default:"medium"},bordered:{type:Boolean,default:!0},closable:Boolean,hoverable:Boolean,role:String,onClose:[Function,Array],tag:{type:String,default:"div"},cover:Function,content:[String,Function],footer:Function,action:Function,headerExtra:Function},EV=Jr(ym),$V=Object.assign(Object.assign({},Be.props),ym),go=be({name:"Card",props:$V,setup(e){const t=()=>{const{onClose:c}=e;c&&$e(c)},{inlineThemeDisabled:n,mergedClsPrefixRef:o,mergedRtlRef:r}=st(e),i=Be("Card","-card",RV,C2,e,o),a=pn("Card",r,o),s=F(()=>{const{size:c}=e,{self:{color:u,colorModal:d,colorTarget:f,textColor:h,titleTextColor:p,titleFontWeight:g,borderColor:m,actionColor:b,borderRadius:_,lineHeight:C,closeIconColor:S,closeIconColorHover:w,closeIconColorPressed:x,closeColorHover:y,closeColorPressed:P,closeBorderRadius:k,closeIconSize:T,closeSize:E,boxShadow:R,colorPopover:K,colorEmbedded:N,colorEmbeddedModal:D,colorEmbeddedPopover:M,[Re("padding",c)]:G,[Re("fontSize",c)]:J,[Re("titleFontSize",c)]:he},common:{cubicBezierEaseInOut:pe}}=i.value,{top:B,left:$,bottom:A}=lo(G);return{"--n-bezier":pe,"--n-border-radius":_,"--n-color":u,"--n-color-modal":d,"--n-color-popover":K,"--n-color-embedded":N,"--n-color-embedded-modal":D,"--n-color-embedded-popover":M,"--n-color-target":f,"--n-text-color":h,"--n-line-height":C,"--n-action-color":b,"--n-title-text-color":p,"--n-title-font-weight":g,"--n-close-icon-color":S,"--n-close-icon-color-hover":w,"--n-close-icon-color-pressed":x,"--n-close-color-hover":y,"--n-close-color-pressed":P,"--n-border-color":m,"--n-box-shadow":R,"--n-padding-top":B,"--n-padding-bottom":A,"--n-padding-left":$,"--n-font-size":J,"--n-title-font-size":he,"--n-close-size":E,"--n-close-icon-size":T,"--n-close-border-radius":k}}),l=n?Pt("card",F(()=>e.size[0]),s,e):void 0;return{rtlEnabled:a,mergedClsPrefix:o,mergedTheme:i,handleCloseClick:t,cssVars:n?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){const{segmented:e,bordered:t,hoverable:n,mergedClsPrefix:o,rtlEnabled:r,onRender:i,embedded:a,tag:s,$slots:l}=this;return i==null||i(),v(s,{class:[`${o}-card`,this.themeClass,a&&`${o}-card--embedded`,{[`${o}-card--rtl`]:r,[`${o}-card--content${typeof e!="boolean"&&e.content==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.content,[`${o}-card--footer${typeof e!="boolean"&&e.footer==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.footer,[`${o}-card--action-segmented`]:e===!0||e!==!1&&e.action,[`${o}-card--bordered`]:t,[`${o}-card--hoverable`]:n}],style:this.cssVars,role:this.role},$t(l.cover,c=>{const u=this.cover?_o([this.cover()]):c;return u&&v("div",{class:`${o}-card-cover`,role:"none"},u)}),$t(l.header,c=>{const{title:u}=this,d=u?_o(typeof u=="function"?[u()]:[u]):c;return d||this.closable?v("div",{class:[`${o}-card-header`,this.headerClass],style:this.headerStyle,role:"heading"},v("div",{class:`${o}-card-header__main`,role:"heading"},d),$t(l["header-extra"],f=>{const h=this.headerExtra?_o([this.headerExtra()]):f;return h&&v("div",{class:[`${o}-card-header__extra`,this.headerExtraClass],style:this.headerExtraStyle},h)}),this.closable&&v(qi,{clsPrefix:o,class:`${o}-card-header__close`,onClick:this.handleCloseClick,absolute:!0})):null}),$t(l.default,c=>{const{content:u}=this,d=u?_o(typeof u=="function"?[u()]:[u]):c;return d&&v("div",{class:[`${o}-card__content`,this.contentClass],style:this.contentStyle,role:"none"},d)}),$t(l.footer,c=>{const u=this.footer?_o([this.footer()]):c;return u&&v("div",{class:[`${o}-card__footer`,this.footerClass],style:this.footerStyle,role:"none"},u)}),$t(l.action,c=>{const u=this.action?_o([this.action()]):c;return u&&v("div",{class:`${o}-card__action`,role:"none"},u)}))}});function _2(){return{dotSize:"8px",dotColor:"rgba(255, 255, 255, .3)",dotColorActive:"rgba(255, 255, 255, 1)",dotColorFocus:"rgba(255, 255, 255, .5)",dotLineWidth:"16px",dotLineWidthActive:"24px",arrowColor:"#eee"}}const AV={name:"Carousel",common:xt,self:_2},IV=AV,OV={name:"Carousel",common:je,self:_2},MV=OV;function zV(e){const{length:t}=e;return t>1&&(e.push(Z0(e[0],0,"append")),e.unshift(Z0(e[t-1],t-1,"prepend"))),e}function Z0(e,t,n){return uo(e,{key:`carousel-item-duplicate-${t}-${n}`})}function J0(e,t,n){return t===1?0:n?e===0?t-3:e===t-1?0:e-1:e}function tf(e,t){return t?e+1:e}function DV(e,t,n){return e<0?null:e===0?n?t-1:null:e-1}function LV(e,t,n){return e>t-1?null:e===t-1?n?0:null:e+1}function FV(e,t){return t&&e>3?e-2:e}function Q0(e){return window.TouchEvent&&e instanceof window.TouchEvent}function e1(e,t){let{offsetWidth:n,offsetHeight:o}=e;if(t){const r=getComputedStyle(e);n=n-Number.parseFloat(r.getPropertyValue("padding-left"))-Number.parseFloat(r.getPropertyValue("padding-right")),o=o-Number.parseFloat(r.getPropertyValue("padding-top"))-Number.parseFloat(r.getPropertyValue("padding-bottom"))}return{width:n,height:o}}function jl(e,t,n){return e<t?t:e>n?n:e}function BV(e){if(e===void 0)return 0;if(typeof e=="number")return e;const t=/^((\d+)?\.?\d+?)(ms|s)?$/,n=e.match(t);if(n){const[,o,,r="ms"]=n;return Number(o)*(r==="ms"?1:1e3)}return 0}const S2="n-carousel-methods";function NV(e){at(S2,e)}function xm(e="unknown",t="component"){const n=Ue(S2);return n||fr(e,`\`${t}\` must be placed inside \`n-carousel\`.`),n}const HV={total:{type:Number,default:0},currentIndex:{type:Number,default:0},dotType:{type:String,default:"dot"},trigger:{type:String,default:"click"},keyboard:Boolean},jV=be({name:"CarouselDots",props:HV,setup(e){const{mergedClsPrefixRef:t}=st(e),n=W([]),o=xm();function r(c,u){switch(c.key){case"Enter":case" ":c.preventDefault(),o.to(u);return}e.keyboard&&s(c)}function i(c){e.trigger==="hover"&&o.to(c)}function a(c){e.trigger==="click"&&o.to(c)}function s(c){var u;if(c.shiftKey||c.altKey||c.ctrlKey||c.metaKey)return;const d=(u=document.activeElement)===null||u===void 0?void 0:u.nodeName.toLowerCase();if(d==="input"||d==="textarea")return;const{code:f}=c,h=f==="PageUp"||f==="ArrowUp",p=f==="PageDown"||f==="ArrowDown",g=f==="PageUp"||f==="ArrowRight",m=f==="PageDown"||f==="ArrowLeft",b=o.isVertical(),_=b?h:g,C=b?p:m;!_&&!C||(c.preventDefault(),_&&!o.isNextDisabled()?(o.next(),l(o.currentIndexRef.value)):C&&!o.isPrevDisabled()&&(o.prev(),l(o.currentIndexRef.value)))}function l(c){var u;(u=n.value[c])===null||u===void 0||u.focus()}return Vy(()=>n.value.length=0),{mergedClsPrefix:t,dotEls:n,handleKeydown:r,handleMouseenter:i,handleClick:a}},render(){const{mergedClsPrefix:e,dotEls:t}=this;return v("div",{class:[`${e}-carousel__dots`,`${e}-carousel__dots--${this.dotType}`],role:"tablist"},G6(this.total,n=>{const o=n===this.currentIndex;return v("div",{"aria-selected":o,ref:r=>t.push(r),role:"button",tabindex:"0",class:[`${e}-carousel__dot`,o&&`${e}-carousel__dot--active`],key:n,onClick:()=>{this.handleClick(n)},onMouseenter:()=>{this.handleMouseenter(n)},onKeydown:r=>{this.handleKeydown(r,n)}})}))}}),VV=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},v("g",{fill:"none"},v("path",{d:"M10.26 3.2a.75.75 0 0 1 .04 1.06L6.773 8l3.527 3.74a.75.75 0 1 1-1.1 1.02l-4-4.25a.75.75 0 0 1 0-1.02l4-4.25a.75.75 0 0 1 1.06-.04z",fill:"currentColor"}))),WV=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},v("g",{fill:"none"},v("path",{d:"M5.74 3.2a.75.75 0 0 0-.04 1.06L9.227 8L5.7 11.74a.75.75 0 1 0 1.1 1.02l4-4.25a.75.75 0 0 0 0-1.02l-4-4.25a.75.75 0 0 0-1.06-.04z",fill:"currentColor"}))),UV=be({name:"CarouselArrow",setup(e){const{mergedClsPrefixRef:t}=st(e),{isVertical:n,isPrevDisabled:o,isNextDisabled:r,prev:i,next:a}=xm();return{mergedClsPrefix:t,isVertical:n,isPrevDisabled:o,isNextDisabled:r,prev:i,next:a}},render(){const{mergedClsPrefix:e}=this;return v("div",{class:`${e}-carousel__arrow-group`},v("div",{class:[`${e}-carousel__arrow`,this.isPrevDisabled()&&`${e}-carousel__arrow--disabled`],role:"button",onClick:this.prev},VV),v("div",{class:[`${e}-carousel__arrow`,this.isNextDisabled()&&`${e}-carousel__arrow--disabled`],role:"button",onClick:this.next},WV))}}),fc="CarouselItem";function qV(e){var t;return((t=e.type)===null||t===void 0?void 0:t.name)===fc}const KV=be({name:fc,setup(e){const{mergedClsPrefixRef:t}=st(e),n=xm(v0(fc),`n-${v0(fc)}`),o=W(),r=F(()=>{const{value:u}=o;return u?n.getSlideIndex(u):-1}),i=F(()=>n.isPrev(r.value)),a=F(()=>n.isNext(r.value)),s=F(()=>n.isActive(r.value)),l=F(()=>n.getSlideStyle(r.value));jt(()=>{n.addSlide(o.value)}),on(()=>{n.removeSlide(o.value)});function c(u){const{value:d}=r;d!==void 0&&(n==null||n.onCarouselItemClick(d,u))}return{mergedClsPrefix:t,selfElRef:o,isPrev:i,isNext:a,isActive:s,index:r,style:l,handleClick:c}},render(){var e;const{$slots:t,mergedClsPrefix:n,isPrev:o,isNext:r,isActive:i,index:a,style:s}=this,l=[`${n}-carousel__slide`,{[`${n}-carousel__slide--current`]:i,[`${n}-carousel__slide--prev`]:o,[`${n}-carousel__slide--next`]:r}];return v("div",{ref:"selfElRef",class:l,role:"option",tabindex:"-1","data-index":a,"aria-hidden":!i,style:s,onClickCapture:this.handleClick},(e=t.default)===null||e===void 0?void 0:e.call(t,{isPrev:o,isNext:r,isActive:i,index:a}))}}),GV=z("carousel",`
position: relative;
width: 100%;
height: 100%;
touch-action: pan-y;
overflow: hidden;
`,[V("slides",`
display: flex;
width: 100%;
height: 100%;
transition-timing-function: var(--n-bezier);
transition-property: transform;
`,[V("slide",`
flex-shrink: 0;
position: relative;
width: 100%;
height: 100%;
outline: none;
overflow: hidden;
`,[q("> img",`
display: block;
`)])]),V("dots",`
position: absolute;
display: flex;
flex-wrap: nowrap;
`,[Z("dot",[V("dot",`
height: var(--n-dot-size);
width: var(--n-dot-size);
background-color: var(--n-dot-color);
border-radius: 50%;
cursor: pointer;
transition:
box-shadow .3s var(--n-bezier),
background-color .3s var(--n-bezier);
outline: none;
`,[q("&:focus",`
background-color: var(--n-dot-color-focus);
`),Z("active",`
background-color: var(--n-dot-color-active);
`)])]),Z("line",[V("dot",`
border-radius: 9999px;
width: var(--n-dot-line-width);
height: 4px;
background-color: var(--n-dot-color);
cursor: pointer;
transition:
width .3s var(--n-bezier),
box-shadow .3s var(--n-bezier),
background-color .3s var(--n-bezier);
outline: none;
`,[q("&:focus",`
background-color: var(--n-dot-color-focus);
`),Z("active",`
width: var(--n-dot-line-width-active);
background-color: var(--n-dot-color-active);
`)])])]),V("arrow",`
transition: background-color .3s var(--n-bezier);
cursor: pointer;
height: 28px;
width: 28px;
display: flex;
align-items: center;
justify-content: center;
background-color: rgba(255, 255, 255, .2);
color: var(--n-arrow-color);
border-radius: 8px;
user-select: none;
-webkit-user-select: none;
font-size: 18px;
`,[q("svg",`
height: 1em;
width: 1em;
`),q("&:hover",`
background-color: rgba(255, 255, 255, .3);
`)]),Z("vertical",`
touch-action: pan-x;
`,[V("slides",`
flex-direction: column;
`),Z("fade",[V("slide",`
top: 50%;
left: unset;
transform: translateY(-50%);
`)]),Z("card",[V("slide",`
top: 50%;
left: unset;
transform: translateY(-50%) translateZ(-400px);
`,[Z("current",`
transform: translateY(-50%) translateZ(0);
`),Z("prev",`
transform: translateY(-100%) translateZ(-200px);
`),Z("next",`
transform: translateY(0%) translateZ(-200px);
`)])])]),Z("usercontrol",[V("slides",[q(">",[q("div",`
position: absolute;
top: 50%;
left: 50%;
width: 100%;
height: 100%;
transform: translate(-50%, -50%);
`)])])]),Z("left",[V("dots",`
transform: translateY(-50%);
top: 50%;
left: 12px;
flex-direction: column;
`,[Z("line",[V("dot",`
width: 4px;
height: var(--n-dot-line-width);
margin: 4px 0;
transition:
height .3s var(--n-bezier),
box-shadow .3s var(--n-bezier),
background-color .3s var(--n-bezier);
outline: none;
`,[Z("active",`
height: var(--n-dot-line-width-active);
`)])])]),V("dot",`
margin: 4px 0;
`)]),V("arrow-group",`
position: absolute;
display: flex;
flex-wrap: nowrap;
`),Z("vertical",[V("arrow",`
transform: rotate(90deg);
`)]),Z("show-arrow",[Z("bottom",[V("dots",`
transform: translateX(0);
bottom: 18px;
left: 18px;
`)]),Z("top",[V("dots",`
transform: translateX(0);
top: 18px;
left: 18px;
`)]),Z("left",[V("dots",`
transform: translateX(0);
top: 18px;
left: 18px;
`)]),Z("right",[V("dots",`
transform: translateX(0);
top: 18px;
right: 18px;
`)])]),Z("left",[V("arrow-group",`
bottom: 12px;
left: 12px;
flex-direction: column;
`,[q("> *:first-child",`
margin-bottom: 12px;
`)])]),Z("right",[V("dots",`
transform: translateY(-50%);
top: 50%;
right: 12px;
flex-direction: column;
`,[Z("line",[V("dot",`
width: 4px;
height: var(--n-dot-line-width);
margin: 4px 0;
transition:
height .3s var(--n-bezier),
box-shadow .3s var(--n-bezier),
background-color .3s var(--n-bezier);
outline: none;
`,[Z("active",`
height: var(--n-dot-line-width-active);
`)])])]),V("dot",`
margin: 4px 0;
`),V("arrow-group",`
bottom: 12px;
right: 12px;
flex-direction: column;
`,[q("> *:first-child",`
margin-bottom: 12px;
`)])]),Z("top",[V("dots",`
transform: translateX(-50%);
top: 12px;
left: 50%;
`,[Z("line",[V("dot",`
margin: 0 4px;
`)])]),V("dot",`
margin: 0 4px;
`),V("arrow-group",`
top: 12px;
right: 12px;
`,[q("> *:first-child",`
margin-right: 12px;
`)])]),Z("bottom",[V("dots",`
transform: translateX(-50%);
bottom: 12px;
left: 50%;
`,[Z("line",[V("dot",`
margin: 0 4px;
`)])]),V("dot",`
margin: 0 4px;
`),V("arrow-group",`
bottom: 12px;
right: 12px;
`,[q("> *:first-child",`
margin-right: 12px;
`)])]),Z("fade",[V("slide",`
position: absolute;
opacity: 0;
transition-property: opacity;
pointer-events: none;
`,[Z("current",`
opacity: 1;
pointer-events: auto;
`)])]),Z("card",[V("slides",`
perspective: 1000px;
`),V("slide",`
position: absolute;
left: 50%;
opacity: 0;
transform: translateX(-50%) translateZ(-400px);
transition-property: opacity, transform;
`,[Z("current",`
opacity: 1;
transform: translateX(-50%) translateZ(0);
z-index: 1;
`),Z("prev",`
opacity: 0.4;
transform: translateX(-100%) translateZ(-200px);
`),Z("next",`
opacity: 0.4;
transform: translateX(0%) translateZ(-200px);
`)])])]),YV=["transitionDuration","transitionTimingFunction"],XV=Object.assign(Object.assign({},Be.props),{defaultIndex:{type:Number,default:0},currentIndex:Number,showArrow:Boolean,dotType:{type:String,default:"dot"},dotPlacement:{type:String,default:"bottom"},slidesPerView:{type:[Number,String],default:1},spaceBetween:{type:Number,default:0},centeredSlides:Boolean,direction:{type:String,default:"horizontal"},autoplay:Boolean,interval:{type:Number,default:5e3},loop:{type:Boolean,default:!0},effect:{type:String,default:"slide"},showDots:{type:Boolean,default:!0},trigger:{type:String,default:"click"},transitionStyle:{type:Object,default:()=>({transitionDuration:"300ms"})},transitionProps:Object,draggable:Boolean,prevSlideStyle:[Object,String],nextSlideStyle:[Object,String],touchable:{type:Boolean,default:!0},mousewheel:Boolean,keyboard:Boolean,"onUpdate:currentIndex":Function,onUpdateCurrentIndex:Function});let nf=!1;const ZV=be({name:"Carousel",props:XV,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=W(null),r=W(null),i=W([]),a={value:[]},s=F(()=>e.direction==="vertical"),l=F(()=>s.value?"height":"width"),c=F(()=>s.value?"bottom":"right"),u=F(()=>e.effect==="slide"),d=F(()=>e.loop&&e.slidesPerView===1&&u.value),f=F(()=>e.effect==="custom"),h=F(()=>!u.value||e.centeredSlides?1:e.slidesPerView),p=F(()=>f.value?1:e.slidesPerView),g=F(()=>h.value==="auto"||e.slidesPerView==="auto"&&e.centeredSlides),m=W({width:0,height:0}),b=F(()=>{const{value:Se}=i;if(!Se.length)return[];const{value:Ve}=g;if(Ve)return Se.map(ae=>e1(ae));const{value:et}=p,{value:ht}=m,{value:bt}=l;let ut=ht[bt];if(et!=="auto"){const{spaceBetween:ae}=e,Ee=ut-(et-1)*ae,ot=1/Math.max(1,et);ut=Ee*ot}const Et=Object.assign(Object.assign({},ht),{[bt]:ut});return Se.map(()=>Et)}),_=F(()=>{const{value:Se}=b;if(!Se.length)return[];const{centeredSlides:Ve,spaceBetween:et}=e,{value:ht}=l,{[ht]:bt}=m.value;let ut=0;return Se.map(({[ht]:Et})=>{let ae=ut;return Ve&&(ae+=(Et-bt)/2),ut+=Et+et,ae})}),C=W(!1),S=F(()=>{const{transitionStyle:Se}=e;return Se?Qn(Se,YV):{}}),w=F(()=>f.value?0:BV(S.value.transitionDuration)),x=F(()=>{const{value:Se}=i;if(!Se.length)return[];const Ve=!(g.value||p.value===1),et=Et=>{if(Ve){const{value:ae}=l;return{[ae]:`${b.value[Et][ae]}px`}}};if(f.value)return Se.map((Et,ae)=>et(ae));const{effect:ht,spaceBetween:bt}=e,{value:ut}=c;return Se.reduce((Et,ae,Ee)=>{const ot=Object.assign(Object.assign({},et(Ee)),{[`margin-${ut}`]:`${bt}px`});return Et.push(ot),C.value&&(ht==="fade"||ht==="card")&&Object.assign(ot,S.value),Et},[])}),y=F(()=>{const{value:Se}=h,{length:Ve}=i.value;if(Se!=="auto")return Math.max(Ve-Se,0)+1;{const{value:et}=b,{length:ht}=et;if(!ht)return Ve;const{value:bt}=_,{value:ut}=l,Et=m.value[ut];let ae=et[et.length-1][ut],Ee=ht;for(;Ee>1&&ae<Et;)Ee--,ae+=bt[Ee]-bt[Ee-1];return jl(Ee+1,1,ht)}}),P=F(()=>FV(y.value,d.value)),k=tf(e.defaultIndex,d.value),T=W(J0(k,y.value,d.value)),E=an(We(e,"currentIndex"),T),R=F(()=>tf(E.value,d.value));function K(Se){var Ve,et;Se=jl(Se,0,y.value-1);const ht=J0(Se,y.value,d.value),{value:bt}=E;ht!==E.value&&(T.value=ht,(Ve=e["onUpdate:currentIndex"])===null||Ve===void 0||Ve.call(e,ht,bt),(et=e.onUpdateCurrentIndex)===null||et===void 0||et.call(e,ht,bt))}function N(Se=R.value){return DV(Se,y.value,e.loop)}function D(Se=R.value){return LV(Se,y.value,e.loop)}function M(Se){const Ve=ge(Se);return Ve!==null&&N()===Ve}function G(Se){const Ve=ge(Se);return Ve!==null&&D()===Ve}function J(Se){return R.value===ge(Se)}function he(Se){return E.value===Se}function pe(){return N()===null}function B(){return D()===null}function $(Se){const Ve=jl(tf(Se,d.value),0,y.value);(Se!==E.value||Ve!==R.value)&&K(Ve)}function A(){const Se=N();Se!==null&&K(Se)}function Y(){const Se=D();Se!==null&&K(Se)}let ne=!1;function fe(){(!ne||!d.value)&&A()}function Q(){(!ne||!d.value)&&Y()}let xe=0;const H=W({});function ye(Se,Ve=0){H.value=Object.assign({},S.value,{transform:s.value?`translateY(${-Se}px)`:`translateX(${-Se}px)`,transitionDuration:`${Ve}ms`})}function Oe(Se=0){u.value?Ne(R.value,Se):xe!==0&&(!ne&&Se>0&&(ne=!0),ye(xe=0,Se))}function Ne(Se,Ve){const et=L(Se);et!==xe&&Ve>0&&(ne=!0),xe=L(R.value),ye(et,Ve)}function L(Se){let Ve;return Se>=y.value-1?Ve=O():Ve=_.value[Se]||0,Ve}function O(){if(h.value==="auto"){const{value:Se}=l,{[Se]:Ve}=m.value,{value:et}=_,ht=et[et.length-1];let bt;if(ht===void 0)bt=Ve;else{const{value:ut}=b;bt=ht+ut[ut.length-1][Se]}return bt-Ve}else{const{value:Se}=_;return Se[y.value-1]||0}}const oe={currentIndexRef:E,to:$,prev:fe,next:Q,isVertical:()=>s.value,isHorizontal:()=>!s.value,isPrev:M,isNext:G,isActive:J,isPrevDisabled:pe,isNextDisabled:B,getSlideIndex:ge,getSlideStyle:ke,addSlide:_e,removeSlide:te,onCarouselItemClick:re};NV(oe);function _e(Se){Se&&i.value.push(Se)}function te(Se){if(!Se)return;const Ve=ge(Se);Ve!==-1&&i.value.splice(Ve,1)}function ge(Se){return typeof Se=="number"?Se:Se?i.value.indexOf(Se):-1}function ke(Se){const Ve=ge(Se);if(Ve!==-1){const et=[x.value[Ve]],ht=oe.isPrev(Ve),bt=oe.isNext(Ve);return ht&&et.push(e.prevSlideStyle||""),bt&&et.push(e.nextSlideStyle||""),Di(et)}}let I=0,j=0,ee=0,Ce=0,ce=!1,le=!1;function re(Se,Ve){let et=!ne&&!ce&&!le;e.effect==="card"&&et&&!J(Se)&&($(Se),et=!1),et||(Ve.preventDefault(),Ve.stopPropagation())}let de=null;function De(){de&&(clearInterval(de),de=null)}function Le(){De(),!e.autoplay||P.value<2||(de=window.setInterval(Y,e.interval))}function Pe(Se){var Ve;if(nf||!(!((Ve=r.value)===null||Ve===void 0)&&Ve.contains(Ai(Se))))return;nf=!0,ce=!0,le=!1,Ce=Date.now(),De(),Se.type!=="touchstart"&&!Se.target.isContentEditable&&Se.preventDefault();const et=Q0(Se)?Se.touches[0]:Se;s.value?j=et.clientY:I=et.clientX,e.touchable&&(At("touchmove",document,Fe),At("touchend",document,He),At("touchcancel",document,He)),e.draggable&&(At("mousemove",document,Fe),At("mouseup",document,He))}function Fe(Se){const{value:Ve}=s,{value:et}=l,ht=Q0(Se)?Se.touches[0]:Se,bt=Ve?ht.clientY-j:ht.clientX-I,ut=m.value[et];ee=jl(bt,-ut,ut),Se.cancelable&&Se.preventDefault(),u.value&&ye(xe-ee,0)}function He(){const{value:Se}=R;let Ve=Se;if(!ne&&ee!==0&&u.value){const et=xe-ee,ht=[..._.value.slice(0,y.value-1),O()];let bt=null;for(let ut=0;ut<ht.length;ut++){const Et=Math.abs(ht[ut]-et);if(bt!==null&&bt<Et)break;bt=Et,Ve=ut}}if(Ve===Se){const et=Date.now()-Ce,{value:ht}=l,bt=m.value[ht];ee>bt/2||ee/et>.4?Ve=N(Se):(ee<-bt/2||ee/et<-.4)&&(Ve=D(Se))}Ve!==null&&Ve!==Se?(le=!0,K(Ve),Ht(()=>{(!d.value||T.value!==E.value)&&Oe(w.value)})):Oe(w.value),Ie(),Le()}function Ie(){ce&&(nf=!1),ce=!1,I=0,j=0,ee=0,Ce=0,Tt("touchmove",document,Fe),Tt("touchend",document,He),Tt("touchcancel",document,He),Tt("mousemove",document,Fe),Tt("mouseup",document,He)}function Qe(){if(u.value&&ne){const{value:Se}=R;Ne(Se,0)}else Le();u.value&&(H.value.transitionDuration="0ms"),ne=!1}function Ct(Se){if(Se.preventDefault(),ne)return;let{deltaX:Ve,deltaY:et}=Se;Se.shiftKey&&!Ve&&(Ve=et);const ht=-1,bt=1,ut=(Ve||et)>0?bt:ht;let Et=0,ae=0;s.value?ae=ut:Et=ut;const Ee=10;(ae*et>=Ee||Et*Ve>=Ee)&&(ut===bt&&!B()?Y():ut===ht&&!pe()&&A())}function X(){m.value=e1(o.value,!0),Le()}function ve(){var Se,Ve;g.value&&((Ve=(Se=b.effect).scheduler)===null||Ve===void 0||Ve.call(Se),b.effect.run())}function Ae(){e.autoplay&&De()}function Ke(){e.autoplay&&Le()}jt(()=>{Xt(Le),requestAnimationFrame(()=>C.value=!0)}),on(()=>{Ie(),De()}),up(()=>{const{value:Se}=i,{value:Ve}=a,et=new Map,ht=ut=>et.has(ut)?et.get(ut):-1;let bt=!1;for(let ut=0;ut<Se.length;ut++){const Et=Ve.findIndex(ae=>ae.el===Se[ut]);Et!==ut&&(bt=!0),et.set(Se[ut],Et)}bt&&Se.sort((ut,Et)=>ht(ut)-ht(Et))}),ft(R,(Se,Ve)=>{if(Se!==Ve)if(Le(),u.value){if(d.value){const{value:et}=y;P.value>2&&Se===et-2&&Ve===1?Se=0:Se===1&&Ve===et-2&&(Se=et-1)}Ne(Se,w.value)}else Oe()},{immediate:!0}),ft([d,h],()=>void Ht(()=>{K(R.value)})),ft(_,()=>{u.value&&Oe()},{deep:!0}),ft(u,Se=>{Se?Oe():(ne=!1,ye(xe=0))});const Ze=F(()=>({onTouchstartPassive:e.touchable?Pe:void 0,onMousedown:e.draggable?Pe:void 0,onWheel:e.mousewheel?Ct:void 0})),Je=F(()=>Object.assign(Object.assign({},Qn(oe,["to","prev","next","isPrevDisabled","isNextDisabled"])),{total:P.value,currentIndex:E.value})),tt=F(()=>({total:P.value,currentIndex:E.value,to:oe.to})),rt={getCurrentIndex:()=>E.value,to:$,prev:A,next:Y},vt=Be("Carousel","-carousel",GV,IV,e,t),sn=F(()=>{const{common:{cubicBezierEaseInOut:Se},self:{dotSize:Ve,dotColor:et,dotColorActive:ht,dotColorFocus:bt,dotLineWidth:ut,dotLineWidthActive:Et,arrowColor:ae}}=vt.value;return{"--n-bezier":Se,"--n-dot-color":et,"--n-dot-color-focus":bt,"--n-dot-color-active":ht,"--n-dot-size":Ve,"--n-dot-line-width":ut,"--n-dot-line-width-active":Et,"--n-arrow-color":ae}}),Dt=n?Pt("carousel",void 0,sn,e):void 0;return Object.assign(Object.assign({mergedClsPrefix:t,selfElRef:o,slidesElRef:r,slideVNodes:a,duplicatedable:d,userWantsControl:f,autoSlideSize:g,realIndex:R,slideStyles:x,translateStyle:H,slidesControlListeners:Ze,handleTransitionEnd:Qe,handleResize:X,handleSlideResize:ve,handleMouseenter:Ae,handleMouseleave:Ke,isActive:he,arrowSlotProps:Je,dotSlotProps:tt},rt),{cssVars:n?void 0:sn,themeClass:Dt==null?void 0:Dt.themeClass,onRender:Dt==null?void 0:Dt.onRender})},render(){var e;const{mergedClsPrefix:t,showArrow:n,userWantsControl:o,slideStyles:r,dotType:i,dotPlacement:a,slidesControlListeners:s,transitionProps:l={},arrowSlotProps:c,dotSlotProps:u,$slots:{default:d,dots:f,arrow:h}}=this,p=d&&Ra(d())||[];let g=JV(p);return g.length||(g=p.map(m=>v(KV,null,{default:()=>uo(m)}))),this.duplicatedable&&(g=zV(g)),this.slideVNodes.value=g,this.autoSlideSize&&(g=g.map(m=>v(cr,{onResize:this.handleSlideResize},{default:()=>m}))),(e=this.onRender)===null||e===void 0||e.call(this),v("div",Object.assign({ref:"selfElRef",class:[this.themeClass,`${t}-carousel`,this.direction==="vertical"&&`${t}-carousel--vertical`,this.showArrow&&`${t}-carousel--show-arrow`,`${t}-carousel--${a}`,`${t}-carousel--${this.direction}`,`${t}-carousel--${this.effect}`,o&&`${t}-carousel--usercontrol`],style:this.cssVars},s,{onMouseenter:this.handleMouseenter,onMouseleave:this.handleMouseleave}),v(cr,{onResize:this.handleResize},{default:()=>v("div",{ref:"slidesElRef",class:`${t}-carousel__slides`,role:"listbox",style:this.translateStyle,onTransitionend:this.handleTransitionEnd},o?g.map((m,b)=>v("div",{style:r[b],key:b},dn(v(fn,Object.assign({},l),{default:()=>m}),[[Mn,this.isActive(b)]]))):g)}),this.showDots&&u.total>1&&bh(f,u,()=>[v(jV,{key:i+a,total:u.total,currentIndex:u.currentIndex,dotType:i,trigger:this.trigger,keyboard:this.keyboard})]),n&&bh(h,c,()=>[v(UV,null)]))}});function JV(e){return e.reduce((t,n)=>(qV(n)&&t.push(n),t),[])}const QV={sizeSmall:"14px",sizeMedium:"16px",sizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"};function k2(e){const{baseColor:t,inputColorDisabled:n,cardColor:o,modalColor:r,popoverColor:i,textColorDisabled:a,borderColor:s,primaryColor:l,textColor2:c,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,borderRadiusSmall:h,lineHeight:p}=e;return Object.assign(Object.assign({},QV),{labelLineHeight:p,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,borderRadius:h,color:t,colorChecked:l,colorDisabled:n,colorDisabledChecked:n,colorTableHeader:o,colorTableHeaderModal:r,colorTableHeaderPopover:i,checkMarkColor:t,checkMarkColorDisabled:a,checkMarkColorDisabledChecked:a,border:`1px solid ${s}`,borderDisabled:`1px solid ${s}`,borderDisabledChecked:`1px solid ${s}`,borderChecked:`1px solid ${l}`,borderFocus:`1px solid ${l}`,boxShadowFocus:`0 0 0 2px ${Me(l,{alpha:.3})}`,textColor:c,textColorDisabled:a})}const eW={name:"Checkbox",common:xt,self:k2},P2=eW,tW={name:"Checkbox",common:je,self(e){const{cardColor:t}=e,n=k2(e);return n.color="#0000",n.checkMarkColor=t,n}},Ga=tW;function nW(e){const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:r,textColor3:i,primaryColor:a,textColorDisabled:s,dividerColor:l,hoverColor:c,fontSizeMedium:u,heightMedium:d}=e;return{menuBorderRadius:t,menuColor:o,menuBoxShadow:n,menuDividerColor:l,menuHeight:"calc(var(--n-option-height) * 6.6)",optionArrowColor:i,optionHeight:d,optionFontSize:u,optionColorHover:c,optionTextColor:r,optionTextColorActive:a,optionTextColorDisabled:s,optionCheckMarkColor:a,loadingColor:a,columnWidth:"180px"}}const oW={name:"Cascader",common:je,peers:{InternalSelectMenu:fl,InternalSelection:mm,Scrollbar:Vn,Checkbox:Ga,Empty:Mu},self:nW},rW=oW,iW=v("svg",{viewBox:"0 0 64 64",class:"check-icon"},v("path",{d:"M50.42,16.76L22.34,39.45l-8.1-11.46c-1.12-1.58-3.3-1.96-4.88-0.84c-1.58,1.12-1.95,3.3-0.84,4.88l10.26,14.51 c0.56,0.79,1.42,1.31,2.38,1.45c0.16,0.02,0.32,0.03,0.48,0.03c0.8,0,1.57-0.27,2.2-0.78l30.99-25.03c1.5-1.21,1.74-3.42,0.52-4.92 C54.13,15.78,51.93,15.55,50.42,16.76z"})),aW=v("svg",{viewBox:"0 0 100 100",class:"line-icon"},v("path",{d:"M80.2,55.5H21.4c-2.8,0-5.1-2.5-5.1-5.5l0,0c0-3,2.3-5.5,5.1-5.5h58.7c2.8,0,5.1,2.5,5.1,5.5l0,0C85.2,53.1,82.9,55.5,80.2,55.5z"})),T2="n-checkbox-group",sW={min:Number,max:Number,size:String,value:Array,defaultValue:{type:Array,default:null},disabled:{type:Boolean,default:void 0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onChange:[Function,Array]},lW=be({name:"CheckboxGroup",props:sW,setup(e){const{mergedClsPrefixRef:t}=st(e),n=pr(e),{mergedSizeRef:o,mergedDisabledRef:r}=n,i=W(e.defaultValue),a=F(()=>e.value),s=an(a,i),l=F(()=>{var d;return((d=s.value)===null||d===void 0?void 0:d.length)||0}),c=F(()=>Array.isArray(s.value)?new Set(s.value):new Set);function u(d,f){const{nTriggerFormInput:h,nTriggerFormChange:p}=n,{onChange:g,"onUpdate:value":m,onUpdateValue:b}=e;if(Array.isArray(s.value)){const _=Array.from(s.value),C=_.findIndex(S=>S===f);d?~C||(_.push(f),b&&$e(b,_,{actionType:"check",value:f}),m&&$e(m,_,{actionType:"check",value:f}),h(),p(),i.value=_,g&&$e(g,_)):~C&&(_.splice(C,1),b&&$e(b,_,{actionType:"uncheck",value:f}),m&&$e(m,_,{actionType:"uncheck",value:f}),g&&$e(g,_),i.value=_,h(),p())}else d?(b&&$e(b,[f],{actionType:"check",value:f}),m&&$e(m,[f],{actionType:"check",value:f}),g&&$e(g,[f]),i.value=[f],h(),p()):(b&&$e(b,[],{actionType:"uncheck",value:f}),m&&$e(m,[],{actionType:"uncheck",value:f}),g&&$e(g,[]),i.value=[],h(),p())}return at(T2,{checkedCountRef:l,maxRef:We(e,"max"),minRef:We(e,"min"),valueSetRef:c,disabledRef:r,mergedSizeRef:o,toggleCheckbox:u}),{mergedClsPrefix:t}},render(){return v("div",{class:`${this.mergedClsPrefix}-checkbox-group`,role:"group"},this.$slots)}}),cW=q([z("checkbox",`
font-size: var(--n-font-size);
outline: none;
cursor: pointer;
display: inline-flex;
flex-wrap: nowrap;
align-items: flex-start;
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);"),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",[q(".check-icon",`
opacity: 1;
transform: scale(1);
`)])])]),Z("indeterminate",[z("checkbox-box",[z("checkbox-icon",[q(".check-icon",`
opacity: 0;
transform: scale(.5);
`),q(".line-icon",`
opacity: 1;
transform: scale(1);
`)])])]),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",`
background-color: var(--n-color-checked);
border-left: 0;
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",[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",[q(".check-icon, .line-icon",`
fill: var(--n-check-mark-color-disabled);
`)])]),V("label",`
color: var(--n-text-color-disabled);
`)]),z("checkbox-box-wrapper",`
position: relative;
width: var(--n-size);
flex-shrink: 0;
flex-grow: 0;
user-select: none;
-webkit-user-select: none;
`),z("checkbox-box",`
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
height: var(--n-size);
width: var(--n-size);
display: inline-block;
box-sizing: border-box;
border-radius: var(--n-border-radius);
background-color: var(--n-color);
transition: background-color 0.3s var(--n-bezier);
`,[V("border",`
transition:
border-color .3s var(--n-bezier),
box-shadow .3s var(--n-bezier);
border-radius: inherit;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
border: var(--n-border);
`),z("checkbox-icon",`
display: flex;
align-items: center;
justify-content: center;
position: absolute;
left: 1px;
right: 1px;
top: 1px;
bottom: 1px;
`,[q(".check-icon, .line-icon",`
width: 100%;
fill: var(--n-check-mark-color);
opacity: 0;
transform: scale(0.5);
transform-origin: center;
transition:
fill 0.3s var(--n-bezier),
transform 0.3s var(--n-bezier),
opacity 0.3s var(--n-bezier),
border-color 0.3s var(--n-bezier);
`),qn({left:"1px",top:"1px"})])]),V("label",`
color: var(--n-text-color);
transition: color .3s var(--n-bezier);
user-select: none;
-webkit-user-select: none;
padding: var(--n-label-padding);
font-weight: var(--n-label-font-weight);
`,[q("&:empty",{display:"none"})])]),al(z("checkbox",`
--n-merged-color-table: var(--n-color-table-modal);
`)),ku(z("checkbox",`
--n-merged-color-table: var(--n-color-table-popover);
`))]),uW=Object.assign(Object.assign({},Be.props),{size:String,checked:{type:[Boolean,String,Number],default:void 0},defaultChecked:{type:[Boolean,String,Number],default:!1},value:[String,Number],disabled:{type:Boolean,default:void 0},indeterminate:Boolean,label:String,focusable:{type:Boolean,default:!0},checkedValue:{type:[Boolean,String,Number],default:!0},uncheckedValue:{type:[Boolean,String,Number],default:!1},"onUpdate:checked":[Function,Array],onUpdateChecked:[Function,Array],privateInsideTable:Boolean,onChange:[Function,Array]}),ml=be({name:"Checkbox",props:uW,setup(e){const t=Ue(T2,null),n=W(null),{mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:i}=st(e),a=W(e.defaultChecked),s=We(e,"checked"),l=an(s,a),c=kt(()=>{if(t){const x=t.valueSetRef.value;return x&&e.value!==void 0?x.has(e.value):!1}else return l.value===e.checkedValue}),u=pr(e,{mergedSize(x){const{size:y}=e;if(y!==void 0)return y;if(t){const{value:P}=t.mergedSizeRef;if(P!==void 0)return P}if(x){const{mergedSize:P}=x;if(P!==void 0)return P.value}return"medium"},mergedDisabled(x){const{disabled:y}=e;if(y!==void 0)return y;if(t){if(t.disabledRef.value)return!0;const{maxRef:{value:P},checkedCountRef:k}=t;if(P!==void 0&&k.value>=P&&!c.value)return!0;const{minRef:{value:T}}=t;if(T!==void 0&&k.value<=T&&c.value)return!0}return x?x.disabled.value:!1}}),{mergedDisabledRef:d,mergedSizeRef:f}=u,h=Be("Checkbox","-checkbox",cW,P2,e,o);function p(x){if(t&&e.value!==void 0)t.toggleCheckbox(!c.value,e.value);else{const{onChange:y,"onUpdate:checked":P,onUpdateChecked:k}=e,{nTriggerFormInput:T,nTriggerFormChange:E}=u,R=c.value?e.uncheckedValue:e.checkedValue;P&&$e(P,R,x),k&&$e(k,R,x),y&&$e(y,R,x),T(),E(),a.value=R}}function g(x){d.value||p(x)}function m(x){if(!d.value)switch(x.key){case" ":case"Enter":p(x)}}function b(x){switch(x.key){case" ":x.preventDefault()}}const _={focus:()=>{var x;(x=n.value)===null||x===void 0||x.focus()},blur:()=>{var x;(x=n.value)===null||x===void 0||x.blur()}},C=pn("Checkbox",i,o),S=F(()=>{const{value:x}=f,{common:{cubicBezierEaseInOut:y},self:{borderRadius:P,color:k,colorChecked:T,colorDisabled:E,colorTableHeader:R,colorTableHeaderModal:K,colorTableHeaderPopover:N,checkMarkColor:D,checkMarkColorDisabled:M,border:G,borderFocus:J,borderDisabled:he,borderChecked:pe,boxShadowFocus:B,textColor:$,textColorDisabled:A,checkMarkColorDisabledChecked:Y,colorDisabledChecked:ne,borderDisabledChecked:fe,labelPadding:Q,labelLineHeight:xe,labelFontWeight:H,[Re("fontSize",x)]:ye,[Re("size",x)]:Oe}}=h.value;return{"--n-label-line-height":xe,"--n-label-font-weight":H,"--n-size":Oe,"--n-bezier":y,"--n-border-radius":P,"--n-border":G,"--n-border-checked":pe,"--n-border-focus":J,"--n-border-disabled":he,"--n-border-disabled-checked":fe,"--n-box-shadow-focus":B,"--n-color":k,"--n-color-checked":T,"--n-color-table":R,"--n-color-table-modal":K,"--n-color-table-popover":N,"--n-color-disabled":E,"--n-color-disabled-checked":ne,"--n-text-color":$,"--n-text-color-disabled":A,"--n-check-mark-color":D,"--n-check-mark-color-disabled":M,"--n-check-mark-color-disabled-checked":Y,"--n-font-size":ye,"--n-label-padding":Q}}),w=r?Pt("checkbox",F(()=>f.value[0]),S,e):void 0;return Object.assign(u,_,{rtlEnabled:C,selfRef:n,mergedClsPrefix:o,mergedDisabled:d,renderedChecked:c,mergedTheme:h,labelId:Zr(),handleClick:g,handleKeyUp:m,handleKeyDown:b,cssVars:r?void 0:S,themeClass:w==null?void 0:w.themeClass,onRender:w==null?void 0:w.onRender})},render(){var e;const{$slots:t,renderedChecked:n,mergedDisabled:o,indeterminate:r,privateInsideTable:i,cssVars:a,labelId:s,label:l,mergedClsPrefix:c,focusable:u,handleKeyUp:d,handleKeyDown:f,handleClick:h}=this;(e=this.onRender)===null||e===void 0||e.call(this);const p=$t(t.default,g=>l||g?v("span",{class:`${c}-checkbox__label`,id:s},l||g):null);return v("div",{ref:"selfRef",class:[`${c}-checkbox`,this.themeClass,this.rtlEnabled&&`${c}-checkbox--rtl`,n&&`${c}-checkbox--checked`,o&&`${c}-checkbox--disabled`,r&&`${c}-checkbox--indeterminate`,i&&`${c}-checkbox--inside-table`,p&&`${c}-checkbox--show-label`],tabindex:o||!u?void 0:0,role:"checkbox","aria-checked":r?"mixed":n,"aria-labelledby":s,style:a,onKeyup:d,onKeydown:f,onClick:h,onMousedown:()=>{At("selectstart",window,g=>{g.preventDefault()},{once:!0})}},v("div",{class:`${c}-checkbox-box-wrapper`}," ",v("div",{class:`${c}-checkbox-box`},v(Ui,null,{default:()=>this.indeterminate?v("div",{key:"indeterminate",class:`${c}-checkbox-icon`},aW):v("div",{key:"check",class:`${c}-checkbox-icon`},iW)}),v("div",{class:`${c}-checkbox-box__border`}))),p)}}),dW={name:"Code",common:je,self(e){const{textColor2:t,fontSize:n,fontWeightStrong:o,textColor3:r}=e;return{textColor:t,fontSize:n,fontWeightStrong:o,"mono-3":"#5c6370","hue-1":"#56b6c2","hue-2":"#61aeee","hue-3":"#c678dd","hue-4":"#98c379","hue-5":"#e06c75","hue-5-2":"#be5046","hue-6":"#d19a66","hue-6-2":"#e6c07b",lineNumberTextColor:r}}},R2=dW;function fW(e){const{fontWeight:t,textColor1:n,textColor2:o,textColorDisabled:r,dividerColor:i,fontSize:a}=e;return{titleFontSize:a,titleFontWeight:t,dividerColor:i,titleTextColor:n,titleTextColorDisabled:r,fontSize:a,textColor:o,arrowColor:o,arrowColorDisabled:r,itemMargin:"16px 0 0 0",titlePadding:"16px 0 0 0"}}const hW={name:"Collapse",common:je,self:fW},pW=hW;function mW(e){const{cubicBezierEaseInOut:t}=e;return{bezier:t}}const gW={name:"CollapseTransition",common:je,self:mW},vW=gW,bW={abstract:Boolean,bordered:{type:Boolean,default:void 0},clsPrefix:{type:String,default:el},locale:Object,dateLocale:Object,namespace:String,rtl:Array,tag:{type:String,default:"div"},hljs:Object,katex:Object,theme:Object,themeOverrides:Object,componentOptions:Object,icons:Object,breakpoints:Object,preflightStyleDisabled:Boolean,inlineThemeDisabled:{type:Boolean,default:void 0},as:{type:String,validator:()=>(lr("config-provider","`as` is deprecated, please use `tag` instead."),!0),default:void 0}},E2=be({name:"ConfigProvider",alias:["App"],props:bW,setup(e){const t=Ue(Eo,null),n=F(()=>{const{theme:p}=e;if(p===null)return;const g=t==null?void 0:t.mergedThemeRef.value;return p===void 0?g:g===void 0?p:Object.assign({},g,p)}),o=F(()=>{const{themeOverrides:p}=e;if(p!==null){if(p===void 0)return t==null?void 0:t.mergedThemeOverridesRef.value;{const g=t==null?void 0:t.mergedThemeOverridesRef.value;return g===void 0?p:ps({},g,p)}}}),r=kt(()=>{const{namespace:p}=e;return p===void 0?t==null?void 0:t.mergedNamespaceRef.value:p}),i=kt(()=>{const{bordered:p}=e;return p===void 0?t==null?void 0:t.mergedBorderedRef.value:p}),a=F(()=>{const{icons:p}=e;return p===void 0?t==null?void 0:t.mergedIconsRef.value:p}),s=F(()=>{const{componentOptions:p}=e;return p!==void 0?p:t==null?void 0:t.mergedComponentPropsRef.value}),l=F(()=>{const{clsPrefix:p}=e;return p!==void 0?p:t?t.mergedClsPrefixRef.value:el}),c=F(()=>{var p;const{rtl:g}=e;if(g===void 0)return t==null?void 0:t.mergedRtlRef.value;const m={};for(const b of g)m[b.name]=zs(b),(p=b.peers)===null||p===void 0||p.forEach(_=>{_.name in m||(m[_.name]=zs(_))});return m}),u=F(()=>e.breakpoints||(t==null?void 0:t.mergedBreakpointsRef.value)),d=e.inlineThemeDisabled||(t==null?void 0:t.inlineThemeDisabled),f=e.preflightStyleDisabled||(t==null?void 0:t.preflightStyleDisabled),h=F(()=>{const{value:p}=n,{value:g}=o,m=g&&Object.keys(g).length!==0,b=p==null?void 0:p.name;return b?m?`${b}-${Ys(JSON.stringify(o.value))}`:b:m?Ys(JSON.stringify(o.value)):""});return at(Eo,{mergedThemeHashRef:h,mergedBreakpointsRef:u,mergedRtlRef:c,mergedIconsRef:a,mergedComponentPropsRef:s,mergedBorderedRef:i,mergedNamespaceRef:r,mergedClsPrefixRef:l,mergedLocaleRef:F(()=>{const{locale:p}=e;if(p!==null)return p===void 0?t==null?void 0:t.mergedLocaleRef.value:p}),mergedDateLocaleRef:F(()=>{const{dateLocale:p}=e;if(p!==null)return p===void 0?t==null?void 0:t.mergedDateLocaleRef.value:p}),mergedHljsRef:F(()=>{const{hljs:p}=e;return p===void 0?t==null?void 0:t.mergedHljsRef.value:p}),mergedKatexRef:F(()=>{const{katex:p}=e;return p===void 0?t==null?void 0:t.mergedKatexRef.value:p}),mergedThemeRef:n,mergedThemeOverridesRef:o,inlineThemeDisabled:d||!1,preflightStyleDisabled:f||!1}),{mergedClsPrefix:l,mergedBordered:i,mergedNamespace:r,mergedTheme:n,mergedThemeOverrides:o}},render(){var e,t,n,o;return this.abstract?(o=(n=this.$slots).default)===null||o===void 0?void 0:o.call(n):v(this.as||this.tag,{class:`${this.mergedClsPrefix||el}-config-provider`},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}}),yW=e=>1-Math.pow(1-e,5);function xW(e){const{from:t,to:n,duration:o,onUpdate:r,onFinish:i}=e,a=performance.now(),s=()=>{const l=performance.now(),c=Math.min(l-a,o),u=t+(n-t)*yW(c/o);if(c===o){i();return}r(u),requestAnimationFrame(s)};s()}const CW={to:{type:Number,default:0},precision:{type:Number,default:0},showSeparator:Boolean,locale:String,from:{type:Number,default:0},active:{type:Boolean,default:!0},duration:{type:Number,default:2e3},onFinish:Function},wW=be({name:"NumberAnimation",props:CW,setup(e){const{localeRef:t}=Hi("name"),{duration:n}=e,o=W(e.from),r=F(()=>{const{locale:f}=e;return f!==void 0?f:t.value});let i=!1;const a=f=>{o.value=f},s=()=>{var f;o.value=e.to,i=!1,(f=e.onFinish)===null||f===void 0||f.call(e)},l=(f=e.from,h=e.to)=>{i=!0,o.value=e.from,f!==h&&xW({from:f,to:h,duration:n,onUpdate:a,onFinish:s})},c=F(()=>{var f;const p=$F(o.value,e.precision).toFixed(e.precision).split("."),g=new Intl.NumberFormat(r.value),m=(f=g.formatToParts(.5).find(C=>C.type==="decimal"))===null||f===void 0?void 0:f.value,b=e.showSeparator?g.format(Number(p[0])):p[0],_=p[1];return{integer:b,decimal:_,decimalSeparator:m}});function u(){i||l()}return jt(()=>{Xt(()=>{e.active&&l()})}),Object.assign({formattedValue:c},{play:u})},render(){const{formattedValue:{integer:e,decimal:t,decimalSeparator:n}}=this;return[e,t?n:null,t]}}),_W={name:"Popselect",common:je,peers:{Popover:Yi,InternalSelectMenu:fl}},$2=_W;function SW(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const kW={name:"Popselect",common:xt,peers:{Popover:Ka,InternalSelectMenu:pm},self:SW},Cm=kW,A2="n-popselect",PW=z("popselect-menu",`
box-shadow: var(--n-menu-box-shadow);
`),wm={multiple:Boolean,value:{type:[String,Number,Array],default:null},cancelable:Boolean,options:{type:Array,default:()=>[]},size:{type:String,default:"medium"},scrollable:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onMouseenter:Function,onMouseleave:Function,renderLabel:Function,showCheckmark:{type:Boolean,default:void 0},nodeProps:Function,virtualScroll:Boolean,onChange:[Function,Array]},t1=Jr(wm),TW=be({name:"PopselectPanel",props:wm,setup(e){const t=Ue(A2),{mergedClsPrefixRef:n,inlineThemeDisabled:o}=st(e),r=Be("Popselect","-pop-select",PW,Cm,t.props,n),i=F(()=>Pi(e.options,u2("value","children")));function a(f,h){const{onUpdateValue:p,"onUpdate:value":g,onChange:m}=e;p&&$e(p,f,h),g&&$e(g,f,h),m&&$e(m,f,h)}function s(f){c(f.key)}function l(f){!so(f,"action")&&!so(f,"empty")&&!so(f,"header")&&f.preventDefault()}function c(f){const{value:{getNode:h}}=i;if(e.multiple)if(Array.isArray(e.value)){const p=[],g=[];let m=!0;e.value.forEach(b=>{if(b===f){m=!1;return}const _=h(b);_&&(p.push(_.key),g.push(_.rawNode))}),m&&(p.push(f),g.push(h(f).rawNode)),a(p,g)}else{const p=h(f);p&&a([f],[p.rawNode])}else if(e.value===f&&e.cancelable)a(null,null);else{const p=h(f);p&&a(f,p.rawNode);const{"onUpdate:show":g,onUpdateShow:m}=t.props;g&&$e(g,!1),m&&$e(m,!1),t.setShow(!1)}Ht(()=>{t.syncPosition()})}ft(We(e,"options"),()=>{Ht(()=>{t.syncPosition()})});const u=F(()=>{const{self:{menuBoxShadow:f}}=r.value;return{"--n-menu-box-shadow":f}}),d=o?Pt("select",void 0,u,t.props):void 0;return{mergedTheme:t.mergedThemeRef,mergedClsPrefix:n,treeMate:i,handleToggle:s,handleMenuMousedown:l,cssVars:o?void 0:u,themeClass:d==null?void 0:d.themeClass,onRender:d==null?void 0:d.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),v(Q_,{clsPrefix:this.mergedClsPrefix,focusable:!0,nodeProps:this.nodeProps,class:[`${this.mergedClsPrefix}-popselect-menu`,this.themeClass],style:this.cssVars,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,multiple:this.multiple,treeMate:this.treeMate,size:this.size,value:this.value,virtualScroll:this.virtualScroll,scrollable:this.scrollable,renderLabel:this.renderLabel,onToggle:this.handleToggle,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseenter,onMousedown:this.handleMenuMousedown,showCheckmark:this.showCheckmark},{header:()=>{var t,n;return((n=(t=this.$slots).header)===null||n===void 0?void 0:n.call(t))||[]},action:()=>{var t,n;return((n=(t=this.$slots).action)===null||n===void 0?void 0:n.call(t))||[]},empty:()=>{var t,n;return((n=(t=this.$slots).empty)===null||n===void 0?void 0:n.call(t))||[]}})}}),RW=Object.assign(Object.assign(Object.assign(Object.assign({},Be.props),ja(Aa,["showArrow","arrow"])),{placement:Object.assign(Object.assign({},Aa.placement),{default:"bottom"}),trigger:{type:String,default:"hover"}}),wm),_m=be({name:"Popselect",props:RW,inheritAttrs:!1,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=st(e),n=Be("Popselect","-popselect",void 0,Cm,e,t),o=W(null);function r(){var s;(s=o.value)===null||s===void 0||s.syncPosition()}function i(s){var l;(l=o.value)===null||l===void 0||l.setShow(s)}return at(A2,{props:e,mergedThemeRef:n,syncPosition:r,setShow:i}),Object.assign(Object.assign({},{syncPosition:r,setShow:i}),{popoverInstRef:o,mergedTheme:n})},render(){const{mergedTheme:e}=this,t={theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:{padding:"0"},ref:"popoverInstRef",internalRenderBody:(n,o,r,i,a)=>{const{$attrs:s}=this;return v(TW,Object.assign({},s,{class:[s.class,n],style:[s.style,...r]},Qn(this.$props,t1),{ref:gw(o),onMouseenter:Es([i,s.onMouseenter]),onMouseleave:Es([a,s.onMouseleave])}),{header:()=>{var l,c;return(c=(l=this.$slots).header)===null||c===void 0?void 0:c.call(l)},action:()=>{var l,c;return(c=(l=this.$slots).action)===null||c===void 0?void 0:c.call(l)},empty:()=>{var l,c;return(c=(l=this.$slots).empty)===null||c===void 0?void 0:c.call(l)}})}};return v(hl,Object.assign({},ja(this.$props,t1),t,{internalDeactivateImmediately:!0}),{trigger:()=>{var n,o;return(o=(n=this.$slots).default)===null||o===void 0?void 0:o.call(n)}})}});function I2(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const EW={name:"Select",common:xt,peers:{InternalSelection:s2,InternalSelectMenu:pm},self:I2},O2=EW,$W={name:"Select",common:je,peers:{InternalSelection:mm,InternalSelectMenu:fl},self:I2},M2=$W,AW=q([z("select",`
z-index: auto;
outline: none;
width: 100%;
position: relative;
`),z("select-menu",`
margin: 4px 0;
box-shadow: var(--n-menu-box-shadow);
`,[qa({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})])]),IW=Object.assign(Object.assign({},Be.props),{to:qo.propTo,bordered:{type:Boolean,default:void 0},clearable:Boolean,clearFilterAfterSelect:{type:Boolean,default:!0},options:{type:Array,default:()=>[]},defaultValue:{type:[String,Number,Array],default:null},keyboard:{type:Boolean,default:!0},value:[String,Number,Array],placeholder:String,menuProps:Object,multiple:Boolean,size:String,filterable:Boolean,disabled:{type:Boolean,default:void 0},remote:Boolean,loading:Boolean,filter:Function,placement:{type:String,default:"bottom-start"},widthMode:{type:String,default:"trigger"},tag:Boolean,onCreate:Function,fallbackOption:{type:[Function,Boolean],default:void 0},show:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:!0},maxTagCount:[Number,String],ellipsisTagPopoverProps:Object,consistentMenuWidth:{type:Boolean,default:!0},virtualScroll:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},childrenField:{type:String,default:"children"},renderLabel:Function,renderOption:Function,renderTag:Function,"onUpdate:value":[Function,Array],inputProps:Object,nodeProps:Function,ignoreComposition:{type:Boolean,default:!0},showOnFocus:Boolean,onUpdateValue:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onFocus:[Function,Array],onScroll:[Function,Array],onSearch:[Function,Array],onUpdateShow:[Function,Array],"onUpdate:show":[Function,Array],displayDirective:{type:String,default:"show"},resetMenuOnOptionsChange:{type:Boolean,default:!0},status:String,showCheckmark:{type:Boolean,default:!0},onChange:[Function,Array],items:Array}),Du=be({name:"Select",props:IW,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,namespaceRef:o,inlineThemeDisabled:r}=st(e),i=Be("Select","-select",AW,O2,e,t),a=W(e.defaultValue),s=We(e,"value"),l=an(s,a),c=W(!1),u=W(""),d=Pu(e,["items","options"]),f=W([]),h=W([]),p=F(()=>h.value.concat(f.value).concat(d.value)),g=F(()=>{const{filter:X}=e;if(X)return X;const{labelField:ve,valueField:Ae}=e;return(Ke,Ze)=>{if(!Ze)return!1;const Je=Ze[ve];if(typeof Je=="string")return ef(Ke,Je);const tt=Ze[Ae];return typeof tt=="string"?ef(Ke,tt):typeof tt=="number"?ef(Ke,String(tt)):!1}}),m=F(()=>{if(e.remote)return d.value;{const{value:X}=p,{value:ve}=u;return!ve.length||!e.filterable?X:_j(X,g.value,ve,e.childrenField)}}),b=F(()=>{const{valueField:X,childrenField:ve}=e,Ae=u2(X,ve);return Pi(m.value,Ae)}),_=F(()=>Sj(p.value,e.valueField,e.childrenField)),C=W(!1),S=an(We(e,"show"),C),w=W(null),x=W(null),y=W(null),{localeRef:P}=Hi("Select"),k=F(()=>{var X;return(X=e.placeholder)!==null&&X!==void 0?X:P.value.placeholder}),T=[],E=W(new Map),R=F(()=>{const{fallbackOption:X}=e;if(X===void 0){const{labelField:ve,valueField:Ae}=e;return Ke=>({[ve]:String(Ke),[Ae]:Ke})}return X===!1?!1:ve=>Object.assign(X(ve),{value:ve})});function K(X){const ve=e.remote,{value:Ae}=E,{value:Ke}=_,{value:Ze}=R,Je=[];return X.forEach(tt=>{if(Ke.has(tt))Je.push(Ke.get(tt));else if(ve&&Ae.has(tt))Je.push(Ae.get(tt));else if(Ze){const rt=Ze(tt);rt&&Je.push(rt)}}),Je}const N=F(()=>{if(e.multiple){const{value:X}=l;return Array.isArray(X)?K(X):[]}return null}),D=F(()=>{const{value:X}=l;return!e.multiple&&!Array.isArray(X)?X===null?null:K([X])[0]||null:null}),M=pr(e),{mergedSizeRef:G,mergedDisabledRef:J,mergedStatusRef:he}=M;function pe(X,ve){const{onChange:Ae,"onUpdate:value":Ke,onUpdateValue:Ze}=e,{nTriggerFormChange:Je,nTriggerFormInput:tt}=M;Ae&&$e(Ae,X,ve),Ze&&$e(Ze,X,ve),Ke&&$e(Ke,X,ve),a.value=X,Je(),tt()}function B(X){const{onBlur:ve}=e,{nTriggerFormBlur:Ae}=M;ve&&$e(ve,X),Ae()}function $(){const{onClear:X}=e;X&&$e(X)}function A(X){const{onFocus:ve,showOnFocus:Ae}=e,{nTriggerFormFocus:Ke}=M;ve&&$e(ve,X),Ke(),Ae&&xe()}function Y(X){const{onSearch:ve}=e;ve&&$e(ve,X)}function ne(X){const{onScroll:ve}=e;ve&&$e(ve,X)}function fe(){var X;const{remote:ve,multiple:Ae}=e;if(ve){const{value:Ke}=E;if(Ae){const{valueField:Ze}=e;(X=N.value)===null||X===void 0||X.forEach(Je=>{Ke.set(Je[Ze],Je)})}else{const Ze=D.value;Ze&&Ke.set(Ze[e.valueField],Ze)}}}function Q(X){const{onUpdateShow:ve,"onUpdate:show":Ae}=e;ve&&$e(ve,X),Ae&&$e(Ae,X),C.value=X}function xe(){J.value||(Q(!0),C.value=!0,e.filterable&&Fe())}function H(){Q(!1)}function ye(){u.value="",h.value=T}const Oe=W(!1);function Ne(){e.filterable&&(Oe.value=!0)}function L(){e.filterable&&(Oe.value=!1,S.value||ye())}function O(){J.value||(S.value?e.filterable?Fe():H():xe())}function oe(X){var ve,Ae;!((Ae=(ve=y.value)===null||ve===void 0?void 0:ve.selfRef)===null||Ae===void 0)&&Ae.contains(X.relatedTarget)||(c.value=!1,B(X),H())}function _e(X){A(X),c.value=!0}function te(){c.value=!0}function ge(X){var ve;!((ve=w.value)===null||ve===void 0)&&ve.$el.contains(X.relatedTarget)||(c.value=!1,B(X),H())}function ke(){var X;(X=w.value)===null||X===void 0||X.focus(),H()}function I(X){var ve;S.value&&(!((ve=w.value)===null||ve===void 0)&&ve.$el.contains(Ai(X))||H())}function j(X){if(!Array.isArray(X))return[];if(R.value)return Array.from(X);{const{remote:ve}=e,{value:Ae}=_;if(ve){const{value:Ke}=E;return X.filter(Ze=>Ae.has(Ze)||Ke.has(Ze))}else return X.filter(Ke=>Ae.has(Ke))}}function ee(X){Ce(X.rawNode)}function Ce(X){if(J.value)return;const{tag:ve,remote:Ae,clearFilterAfterSelect:Ke,valueField:Ze}=e;if(ve&&!Ae){const{value:Je}=h,tt=Je[0]||null;if(tt){const rt=f.value;rt.length?rt.push(tt):f.value=[tt],h.value=T}}if(Ae&&E.value.set(X[Ze],X),e.multiple){const Je=j(l.value),tt=Je.findIndex(rt=>rt===X[Ze]);if(~tt){if(Je.splice(tt,1),ve&&!Ae){const rt=ce(X[Ze]);~rt&&(f.value.splice(rt,1),Ke&&(u.value=""))}}else Je.push(X[Ze]),Ke&&(u.value="");pe(Je,K(Je))}else{if(ve&&!Ae){const Je=ce(X[Ze]);~Je?f.value=[f.value[Je]]:f.value=T}Pe(),H(),pe(X[Ze],X)}}function ce(X){return f.value.findIndex(Ae=>Ae[e.valueField]===X)}function le(X){S.value||xe();const{value:ve}=X.target;u.value=ve;const{tag:Ae,remote:Ke}=e;if(Y(ve),Ae&&!Ke){if(!ve){h.value=T;return}const{onCreate:Ze}=e,Je=Ze?Ze(ve):{[e.labelField]:ve,[e.valueField]:ve},{valueField:tt,labelField:rt}=e;d.value.some(vt=>vt[tt]===Je[tt]||vt[rt]===Je[rt])||f.value.some(vt=>vt[tt]===Je[tt]||vt[rt]===Je[rt])?h.value=T:h.value=[Je]}}function re(X){X.stopPropagation();const{multiple:ve}=e;!ve&&e.filterable&&H(),$(),ve?pe([],[]):pe(null,null)}function de(X){!so(X,"action")&&!so(X,"empty")&&!so(X,"header")&&X.preventDefault()}function De(X){ne(X)}function Le(X){var ve,Ae,Ke,Ze,Je;if(!e.keyboard){X.preventDefault();return}switch(X.key){case" ":if(e.filterable)break;X.preventDefault();case"Enter":if(!(!((ve=w.value)===null||ve===void 0)&&ve.isComposing)){if(S.value){const tt=(Ae=y.value)===null||Ae===void 0?void 0:Ae.getPendingTmNode();tt?ee(tt):e.filterable||(H(),Pe())}else if(xe(),e.tag&&Oe.value){const tt=h.value[0];if(tt){const rt=tt[e.valueField],{value:vt}=l;e.multiple&&Array.isArray(vt)&&vt.includes(rt)||Ce(tt)}}}X.preventDefault();break;case"ArrowUp":if(X.preventDefault(),e.loading)return;S.value&&((Ke=y.value)===null||Ke===void 0||Ke.prev());break;case"ArrowDown":if(X.preventDefault(),e.loading)return;S.value?(Ze=y.value)===null||Ze===void 0||Ze.next():xe();break;case"Escape":S.value&&(y8(X),H()),(Je=w.value)===null||Je===void 0||Je.focus();break}}function Pe(){var X;(X=w.value)===null||X===void 0||X.focus()}function Fe(){var X;(X=w.value)===null||X===void 0||X.focusInput()}function He(){var X;S.value&&((X=x.value)===null||X===void 0||X.syncPosition())}fe(),ft(We(e,"options"),fe);const Ie={focus:()=>{var X;(X=w.value)===null||X===void 0||X.focus()},focusInput:()=>{var X;(X=w.value)===null||X===void 0||X.focusInput()},blur:()=>{var X;(X=w.value)===null||X===void 0||X.blur()},blurInput:()=>{var X;(X=w.value)===null||X===void 0||X.blurInput()}},Qe=F(()=>{const{self:{menuBoxShadow:X}}=i.value;return{"--n-menu-box-shadow":X}}),Ct=r?Pt("select",void 0,Qe,e):void 0;return Object.assign(Object.assign({},Ie),{mergedStatus:he,mergedClsPrefix:t,mergedBordered:n,namespace:o,treeMate:b,isMounted:Qr(),triggerRef:w,menuRef:y,pattern:u,uncontrolledShow:C,mergedShow:S,adjustedTo:qo(e),uncontrolledValue:a,mergedValue:l,followerRef:x,localizedPlaceholder:k,selectedOption:D,selectedOptions:N,mergedSize:G,mergedDisabled:J,focused:c,activeWithoutMenuOpen:Oe,inlineThemeDisabled:r,onTriggerInputFocus:Ne,onTriggerInputBlur:L,handleTriggerOrMenuResize:He,handleMenuFocus:te,handleMenuBlur:ge,handleMenuTabOut:ke,handleTriggerClick:O,handleToggle:ee,handleDeleteOption:Ce,handlePatternInput:le,handleClear:re,handleTriggerBlur:oe,handleTriggerFocus:_e,handleKeydown:Le,handleMenuAfterLeave:ye,handleMenuClickOutside:I,handleMenuScroll:De,handleMenuKeydown:Le,handleMenuMousedown:de,mergedTheme:i,cssVars:r?void 0:Qe,themeClass:Ct==null?void 0:Ct.themeClass,onRender:Ct==null?void 0:Ct.onRender})},render(){return v("div",{class:`${this.mergedClsPrefix}-select`},v(qp,null,{default:()=>[v(Kp,null,{default:()=>v(lj,{ref:"triggerRef",inlineThemeDisabled:this.inlineThemeDisabled,status:this.mergedStatus,inputProps:this.inputProps,clsPrefix:this.mergedClsPrefix,showArrow:this.showArrow,maxTagCount:this.maxTagCount,ellipsisTagPopoverProps:this.ellipsisTagPopoverProps,bordered:this.mergedBordered,active:this.activeWithoutMenuOpen||this.mergedShow,pattern:this.pattern,placeholder:this.localizedPlaceholder,selectedOption:this.selectedOption,selectedOptions:this.selectedOptions,multiple:this.multiple,renderTag:this.renderTag,renderLabel:this.renderLabel,filterable:this.filterable,clearable:this.clearable,disabled:this.mergedDisabled,size:this.mergedSize,theme:this.mergedTheme.peers.InternalSelection,labelField:this.labelField,valueField:this.valueField,themeOverrides:this.mergedTheme.peerOverrides.InternalSelection,loading:this.loading,focused:this.focused,onClick:this.handleTriggerClick,onDeleteOption:this.handleDeleteOption,onPatternInput:this.handlePatternInput,onClear:this.handleClear,onBlur:this.handleTriggerBlur,onFocus:this.handleTriggerFocus,onKeydown:this.handleKeydown,onPatternBlur:this.onTriggerInputBlur,onPatternFocus:this.onTriggerInputFocus,onResize:this.handleTriggerOrMenuResize,ignoreComposition:this.ignoreComposition},{arrow:()=>{var e,t;return[(t=(e=this.$slots).arrow)===null||t===void 0?void 0:t.call(e)]}})}),v(Yp,{ref:"followerRef",show:this.mergedShow,to:this.adjustedTo,teleportDisabled:this.adjustedTo===qo.tdkey,containerClass:this.namespace,width:this.consistentMenuWidth?"target":void 0,minWidth:"target",placement:this.placement},{default:()=>v(fn,{name:"fade-in-scale-up-transition",appear:this.isMounted,onAfterLeave:this.handleMenuAfterLeave},{default:()=>{var e,t,n;return this.mergedShow||this.displayDirective==="show"?((e=this.onRender)===null||e===void 0||e.call(this),dn(v(Q_,Object.assign({},this.menuProps,{ref:"menuRef",onResize:this.handleTriggerOrMenuResize,inlineThemeDisabled:this.inlineThemeDisabled,virtualScroll:this.consistentMenuWidth&&this.virtualScroll,class:[`${this.mergedClsPrefix}-select-menu`,this.themeClass,(t=this.menuProps)===null||t===void 0?void 0:t.class],clsPrefix:this.mergedClsPrefix,focusable:!0,labelField:this.labelField,valueField:this.valueField,autoPending:!0,nodeProps:this.nodeProps,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,treeMate:this.treeMate,multiple:this.multiple,size:"medium",renderOption:this.renderOption,renderLabel:this.renderLabel,value:this.mergedValue,style:[(n=this.menuProps)===null||n===void 0?void 0:n.style,this.cssVars],onToggle:this.handleToggle,onScroll:this.handleMenuScroll,onFocus:this.handleMenuFocus,onBlur:this.handleMenuBlur,onKeydown:this.handleMenuKeydown,onTabOut:this.handleMenuTabOut,onMousedown:this.handleMenuMousedown,show:this.mergedShow,showCheckmark:this.showCheckmark,resetMenuOnOptionsChange:this.resetMenuOnOptionsChange}),{empty:()=>{var o,r;return[(r=(o=this.$slots).empty)===null||r===void 0?void 0:r.call(o)]},header:()=>{var o,r;return[(r=(o=this.$slots).header)===null||r===void 0?void 0:r.call(o)]},action:()=>{var o,r;return[(r=(o=this.$slots).action)===null||r===void 0?void 0:r.call(o)]}}),this.displayDirective==="show"?[[Mn,this.mergedShow],[Ea,this.handleMenuClickOutside,void 0,{capture:!0}]]:[[Ea,this.handleMenuClickOutside,void 0,{capture:!0}]])):null}})})]}))}}),OW={itemPaddingSmall:"0 4px",itemMarginSmall:"0 0 0 8px",itemMarginSmallRtl:"0 8px 0 0",itemPaddingMedium:"0 4px",itemMarginMedium:"0 0 0 8px",itemMarginMediumRtl:"0 8px 0 0",itemPaddingLarge:"0 4px",itemMarginLarge:"0 0 0 8px",itemMarginLargeRtl:"0 8px 0 0",buttonIconSizeSmall:"14px",buttonIconSizeMedium:"16px",buttonIconSizeLarge:"18px",inputWidthSmall:"60px",selectWidthSmall:"unset",inputMarginSmall:"0 0 0 8px",inputMarginSmallRtl:"0 8px 0 0",selectMarginSmall:"0 0 0 8px",prefixMarginSmall:"0 8px 0 0",suffixMarginSmall:"0 0 0 8px",inputWidthMedium:"60px",selectWidthMedium:"unset",inputMarginMedium:"0 0 0 8px",inputMarginMediumRtl:"0 8px 0 0",selectMarginMedium:"0 0 0 8px",prefixMarginMedium:"0 8px 0 0",suffixMarginMedium:"0 0 0 8px",inputWidthLarge:"60px",selectWidthLarge:"unset",inputMarginLarge:"0 0 0 8px",inputMarginLargeRtl:"0 8px 0 0",selectMarginLarge:"0 0 0 8px",prefixMarginLarge:"0 8px 0 0",suffixMarginLarge:"0 0 0 8px"};function z2(e){const{textColor2:t,primaryColor:n,primaryColorHover:o,primaryColorPressed:r,inputColorDisabled:i,textColorDisabled:a,borderColor:s,borderRadius:l,fontSizeTiny:c,fontSizeSmall:u,fontSizeMedium:d,heightTiny:f,heightSmall:h,heightMedium:p}=e;return Object.assign(Object.assign({},OW),{buttonColor:"#0000",buttonColorHover:"#0000",buttonColorPressed:"#0000",buttonBorder:`1px solid ${s}`,buttonBorderHover:`1px solid ${s}`,buttonBorderPressed:`1px solid ${s}`,buttonIconColor:t,buttonIconColorHover:t,buttonIconColorPressed:t,itemTextColor:t,itemTextColorHover:o,itemTextColorPressed:r,itemTextColorActive:n,itemTextColorDisabled:a,itemColor:"#0000",itemColorHover:"#0000",itemColorPressed:"#0000",itemColorActive:"#0000",itemColorActiveHover:"#0000",itemColorDisabled:i,itemBorder:"1px solid #0000",itemBorderHover:"1px solid #0000",itemBorderPressed:"1px solid #0000",itemBorderActive:`1px solid ${n}`,itemBorderDisabled:`1px solid ${s}`,itemBorderRadius:l,itemSizeSmall:f,itemSizeMedium:h,itemSizeLarge:p,itemFontSizeSmall:c,itemFontSizeMedium:u,itemFontSizeLarge:d,jumperFontSizeSmall:c,jumperFontSizeMedium:u,jumperFontSizeLarge:d,jumperTextColor:t,jumperTextColorDisabled:a})}const MW={name:"Pagination",common:xt,peers:{Select:O2,Input:vm,Popselect:Cm},self:z2},D2=MW,zW={name:"Pagination",common:je,peers:{Select:M2,Input:mo,Popselect:$2},self(e){const{primaryColor:t,opacity3:n}=e,o=Me(t,{alpha:Number(n)}),r=z2(e);return r.itemBorderActive=`1px solid ${o}`,r.itemBorderDisabled="1px solid #0000",r}},L2=zW,n1=`
background: var(--n-item-color-hover);
color: var(--n-item-text-color-hover);
border: var(--n-item-border-hover);
`,o1=[Z("button",`
background: var(--n-button-color-hover);
border: var(--n-button-border-hover);
color: var(--n-button-icon-color-hover);
`)],DW=z("pagination",`
display: flex;
vertical-align: middle;
font-size: var(--n-item-font-size);
flex-wrap: nowrap;
`,[z("pagination-prefix",`
display: flex;
align-items: center;
margin: var(--n-prefix-margin);
`),z("pagination-suffix",`
display: flex;
align-items: center;
margin: var(--n-suffix-margin);
`),q("> *:not(:first-child)",`
margin: var(--n-item-margin);
`),z("select",`
width: var(--n-select-width);
`),q("&.transition-disabled",[z("pagination-item","transition: none!important;")]),z("pagination-quick-jumper",`
white-space: nowrap;
display: flex;
color: var(--n-jumper-text-color);
transition: color .3s var(--n-bezier);
align-items: center;
font-size: var(--n-jumper-font-size);
`,[z("input",`
margin: var(--n-input-margin);
width: var(--n-input-width);
`)]),z("pagination-item",`
position: relative;
cursor: pointer;
user-select: none;
-webkit-user-select: none;
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
min-width: var(--n-item-size);
height: var(--n-item-size);
padding: var(--n-item-padding);
background-color: var(--n-item-color);
color: var(--n-item-text-color);
border-radius: var(--n-item-border-radius);
border: var(--n-item-border);
fill: var(--n-button-icon-color);
transition:
color .3s var(--n-bezier),
border-color .3s var(--n-bezier),
background-color .3s var(--n-bezier),
fill .3s var(--n-bezier);
`,[Z("button",`
background: var(--n-button-color);
color: var(--n-button-icon-color);
border: var(--n-button-border);
padding: 0;
`,[z("base-icon",`
font-size: var(--n-button-icon-size);
`)]),Rt("disabled",[Z("hover",n1,o1),q("&:hover",n1,o1),q("&:active",`
background: var(--n-item-color-pressed);
color: var(--n-item-text-color-pressed);
border: var(--n-item-border-pressed);
`,[Z("button",`
background: var(--n-button-color-pressed);
border: var(--n-button-border-pressed);
color: var(--n-button-icon-color-pressed);
`)]),Z("active",`
background: var(--n-item-color-active);
color: var(--n-item-text-color-active);
border: var(--n-item-border-active);
`,[q("&:hover",`
background: var(--n-item-color-active-hover);
`)])]),Z("disabled",`
cursor: not-allowed;
color: var(--n-item-text-color-disabled);
`,[Z("active, button",`
background-color: var(--n-item-color-disabled);
border: var(--n-item-border-disabled);
`)])]),Z("disabled",`
cursor: not-allowed;
`,[z("pagination-quick-jumper",`
color: var(--n-jumper-text-color-disabled);
`)]),Z("simple",`
display: flex;
align-items: center;
flex-wrap: nowrap;
`,[z("pagination-quick-jumper",[z("input",`
margin: 0;
`)])])]);function F2(e){var t;if(!e)return 10;const{defaultPageSize:n}=e;if(n!==void 0)return n;const o=(t=e.pageSizes)===null||t===void 0?void 0:t[0];return typeof o=="number"?o:(o==null?void 0:o.value)||10}function LW(e,t,n,o){let r=!1,i=!1,a=1,s=t;if(t===1)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:s,fastBackwardTo:a,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1}]};if(t===2)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:s,fastBackwardTo:a,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1},{type:"page",label:2,active:e===2,mayBeFastBackward:!0,mayBeFastForward:!1}]};const l=1,c=t;let u=e,d=e;const f=(n-5)/2;d+=Math.ceil(f),d=Math.min(Math.max(d,l+n-3),c-2),u-=Math.floor(f),u=Math.max(Math.min(u,c-n+3),l+2);let h=!1,p=!1;u>l+2&&(h=!0),d<c-2&&(p=!0);const g=[];g.push({type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1}),h?(r=!0,a=u-1,g.push({type:"fast-backward",active:!1,label:void 0,options:o?r1(l+1,u-1):null})):c>=l+1&&g.push({type:"page",label:l+1,mayBeFastBackward:!0,mayBeFastForward:!1,active:e===l+1});for(let m=u;m<=d;++m)g.push({type:"page",label:m,mayBeFastBackward:!1,mayBeFastForward:!1,active:e===m});return p?(i=!0,s=d+1,g.push({type:"fast-forward",active:!1,label:void 0,options:o?r1(d+1,c-1):null})):d===c-2&&g[g.length-1].label!==c-1&&g.push({type:"page",mayBeFastForward:!0,mayBeFastBackward:!1,label:c-1,active:e===c-1}),g[g.length-1].label!==c&&g.push({type:"page",mayBeFastForward:!1,mayBeFastBackward:!1,label:c,active:e===c}),{hasFastBackward:r,hasFastForward:i,fastBackwardTo:a,fastForwardTo:s,items:g}}function r1(e,t){const n=[];for(let o=e;o<=t;++o)n.push({label:`${o}`,value:o});return n}const FW=Object.assign(Object.assign({},Be.props),{simple:Boolean,page:Number,defaultPage:{type:Number,default:1},itemCount:Number,pageCount:Number,defaultPageCount:{type:Number,default:1},showSizePicker:Boolean,pageSize:Number,defaultPageSize:Number,pageSizes:{type:Array,default(){return[10]}},showQuickJumper:Boolean,size:{type:String,default:"medium"},disabled:Boolean,pageSlot:{type:Number,default:9},selectProps:Object,prev:Function,next:Function,goto:Function,prefix:Function,suffix:Function,label:Function,displayOrder:{type:Array,default:["pages","size-picker","quick-jumper"]},to:qo.propTo,showQuickJumpDropdown:{type:Boolean,default:!0},"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],onPageSizeChange:[Function,Array],onChange:[Function,Array]}),BW=be({name:"Pagination",props:FW,setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=Be("Pagination","-pagination",DW,D2,e,n),{localeRef:a}=Hi("Pagination"),s=W(null),l=W(e.defaultPage),c=W(F2(e)),u=an(We(e,"page"),l),d=an(We(e,"pageSize"),c),f=F(()=>{const{itemCount:H}=e;if(H!==void 0)return Math.max(1,Math.ceil(H/d.value));const{pageCount:ye}=e;return ye!==void 0?Math.max(ye,1):1}),h=W("");Xt(()=>{e.simple,h.value=String(u.value)});const p=W(!1),g=W(!1),m=W(!1),b=W(!1),_=()=>{e.disabled||(p.value=!0,D())},C=()=>{e.disabled||(p.value=!1,D())},S=()=>{g.value=!0,D()},w=()=>{g.value=!1,D()},x=H=>{M(H)},y=F(()=>LW(u.value,f.value,e.pageSlot,e.showQuickJumpDropdown));Xt(()=>{y.value.hasFastBackward?y.value.hasFastForward||(p.value=!1,m.value=!1):(g.value=!1,b.value=!1)});const P=F(()=>{const H=a.value.selectionSuffix;return e.pageSizes.map(ye=>typeof ye=="number"?{label:`${ye} / ${H}`,value:ye}:ye)}),k=F(()=>{var H,ye;return((ye=(H=t==null?void 0:t.value)===null||H===void 0?void 0:H.Pagination)===null||ye===void 0?void 0:ye.inputSize)||bb(e.size)}),T=F(()=>{var H,ye;return((ye=(H=t==null?void 0:t.value)===null||H===void 0?void 0:H.Pagination)===null||ye===void 0?void 0:ye.selectSize)||bb(e.size)}),E=F(()=>(u.value-1)*d.value),R=F(()=>{const H=u.value*d.value-1,{itemCount:ye}=e;return ye!==void 0&&H>ye-1?ye-1:H}),K=F(()=>{const{itemCount:H}=e;return H!==void 0?H:(e.pageCount||1)*d.value}),N=pn("Pagination",r,n);function D(){Ht(()=>{var H;const{value:ye}=s;ye&&(ye.classList.add("transition-disabled"),(H=s.value)===null||H===void 0||H.offsetWidth,ye.classList.remove("transition-disabled"))})}function M(H){if(H===u.value)return;const{"onUpdate:page":ye,onUpdatePage:Oe,onChange:Ne,simple:L}=e;ye&&$e(ye,H),Oe&&$e(Oe,H),Ne&&$e(Ne,H),l.value=H,L&&(h.value=String(H))}function G(H){if(H===d.value)return;const{"onUpdate:pageSize":ye,onUpdatePageSize:Oe,onPageSizeChange:Ne}=e;ye&&$e(ye,H),Oe&&$e(Oe,H),Ne&&$e(Ne,H),c.value=H,f.value<u.value&&M(f.value)}function J(){if(e.disabled)return;const H=Math.min(u.value+1,f.value);M(H)}function he(){if(e.disabled)return;const H=Math.max(u.value-1,1);M(H)}function pe(){if(e.disabled)return;const H=Math.min(y.value.fastForwardTo,f.value);M(H)}function B(){if(e.disabled)return;const H=Math.max(y.value.fastBackwardTo,1);M(H)}function $(H){G(H)}function A(){const H=Number.parseInt(h.value);Number.isNaN(H)||(M(Math.max(1,Math.min(H,f.value))),e.simple||(h.value=""))}function Y(){A()}function ne(H){if(!e.disabled)switch(H.type){case"page":M(H.label);break;case"fast-backward":B();break;case"fast-forward":pe();break}}function fe(H){h.value=H.replace(/\D+/g,"")}Xt(()=>{u.value,d.value,D()});const Q=F(()=>{const{size:H}=e,{self:{buttonBorder:ye,buttonBorderHover:Oe,buttonBorderPressed:Ne,buttonIconColor:L,buttonIconColorHover:O,buttonIconColorPressed:oe,itemTextColor:_e,itemTextColorHover:te,itemTextColorPressed:ge,itemTextColorActive:ke,itemTextColorDisabled:I,itemColor:j,itemColorHover:ee,itemColorPressed:Ce,itemColorActive:ce,itemColorActiveHover:le,itemColorDisabled:re,itemBorder:de,itemBorderHover:De,itemBorderPressed:Le,itemBorderActive:Pe,itemBorderDisabled:Fe,itemBorderRadius:He,jumperTextColor:Ie,jumperTextColorDisabled:Qe,buttonColor:Ct,buttonColorHover:X,buttonColorPressed:ve,[Re("itemPadding",H)]:Ae,[Re("itemMargin",H)]:Ke,[Re("inputWidth",H)]:Ze,[Re("selectWidth",H)]:Je,[Re("inputMargin",H)]:tt,[Re("selectMargin",H)]:rt,[Re("jumperFontSize",H)]:vt,[Re("prefixMargin",H)]:sn,[Re("suffixMargin",H)]:Dt,[Re("itemSize",H)]:Se,[Re("buttonIconSize",H)]:Ve,[Re("itemFontSize",H)]:et,[`${Re("itemMargin",H)}Rtl`]:ht,[`${Re("inputMargin",H)}Rtl`]:bt},common:{cubicBezierEaseInOut:ut}}=i.value;return{"--n-prefix-margin":sn,"--n-suffix-margin":Dt,"--n-item-font-size":et,"--n-select-width":Je,"--n-select-margin":rt,"--n-input-width":Ze,"--n-input-margin":tt,"--n-input-margin-rtl":bt,"--n-item-size":Se,"--n-item-text-color":_e,"--n-item-text-color-disabled":I,"--n-item-text-color-hover":te,"--n-item-text-color-active":ke,"--n-item-text-color-pressed":ge,"--n-item-color":j,"--n-item-color-hover":ee,"--n-item-color-disabled":re,"--n-item-color-active":ce,"--n-item-color-active-hover":le,"--n-item-color-pressed":Ce,"--n-item-border":de,"--n-item-border-hover":De,"--n-item-border-disabled":Fe,"--n-item-border-active":Pe,"--n-item-border-pressed":Le,"--n-item-padding":Ae,"--n-item-border-radius":He,"--n-bezier":ut,"--n-jumper-font-size":vt,"--n-jumper-text-color":Ie,"--n-jumper-text-color-disabled":Qe,"--n-item-margin":Ke,"--n-item-margin-rtl":ht,"--n-button-icon-size":Ve,"--n-button-icon-color":L,"--n-button-icon-color-hover":O,"--n-button-icon-color-pressed":oe,"--n-button-color-hover":X,"--n-button-color":Ct,"--n-button-color-pressed":ve,"--n-button-border":ye,"--n-button-border-hover":Oe,"--n-button-border-pressed":Ne}}),xe=o?Pt("pagination",F(()=>{let H="";const{size:ye}=e;return H+=ye[0],H}),Q,e):void 0;return{rtlEnabled:N,mergedClsPrefix:n,locale:a,selfRef:s,mergedPage:u,pageItems:F(()=>y.value.items),mergedItemCount:K,jumperValue:h,pageSizeOptions:P,mergedPageSize:d,inputSize:k,selectSize:T,mergedTheme:i,mergedPageCount:f,startIndex:E,endIndex:R,showFastForwardMenu:m,showFastBackwardMenu:b,fastForwardActive:p,fastBackwardActive:g,handleMenuSelect:x,handleFastForwardMouseenter:_,handleFastForwardMouseleave:C,handleFastBackwardMouseenter:S,handleFastBackwardMouseleave:w,handleJumperInput:fe,handleBackwardClick:he,handleForwardClick:J,handlePageItemClick:ne,handleSizePickerChange:$,handleQuickJumperChange:Y,cssVars:o?void 0:Q,themeClass:xe==null?void 0:xe.themeClass,onRender:xe==null?void 0:xe.onRender}},render(){const{$slots:e,mergedClsPrefix:t,disabled:n,cssVars:o,mergedPage:r,mergedPageCount:i,pageItems:a,showSizePicker:s,showQuickJumper:l,mergedTheme:c,locale:u,inputSize:d,selectSize:f,mergedPageSize:h,pageSizeOptions:p,jumperValue:g,simple:m,prev:b,next:_,prefix:C,suffix:S,label:w,goto:x,handleJumperInput:y,handleSizePickerChange:P,handleBackwardClick:k,handlePageItemClick:T,handleForwardClick:E,handleQuickJumperChange:R,onRender:K}=this;K==null||K();const N=e.prefix||C,D=e.suffix||S,M=b||e.prev,G=_||e.next,J=w||e.label;return v("div",{ref:"selfRef",class:[`${t}-pagination`,this.themeClass,this.rtlEnabled&&`${t}-pagination--rtl`,n&&`${t}-pagination--disabled`,m&&`${t}-pagination--simple`],style:o},N?v("div",{class:`${t}-pagination-prefix`},N({page:r,pageSize:h,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null,this.displayOrder.map(he=>{switch(he){case"pages":return v(it,null,v("div",{class:[`${t}-pagination-item`,!M&&`${t}-pagination-item--button`,(r<=1||r>i||n)&&`${t}-pagination-item--disabled`],onClick:k},M?M({page:r,pageSize:h,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount}):v(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?v(B0,null):v(D0,null)})),m?v(it,null,v("div",{class:`${t}-pagination-quick-jumper`},v(ur,{value:g,onUpdateValue:y,size:d,placeholder:"",disabled:n,theme:c.peers.Input,themeOverrides:c.peerOverrides.Input,onChange:R}))," /"," ",i):a.map((pe,B)=>{let $,A,Y;const{type:ne}=pe;switch(ne){case"page":const Q=pe.label;J?$=J({type:"page",node:Q,active:pe.active}):$=Q;break;case"fast-forward":const xe=this.fastForwardActive?v(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?v(L0,null):v(F0,null)}):v(Ut,{clsPrefix:t},{default:()=>v(N0,null)});J?$=J({type:"fast-forward",node:xe,active:this.fastForwardActive||this.showFastForwardMenu}):$=xe,A=this.handleFastForwardMouseenter,Y=this.handleFastForwardMouseleave;break;case"fast-backward":const H=this.fastBackwardActive?v(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?v(F0,null):v(L0,null)}):v(Ut,{clsPrefix:t},{default:()=>v(N0,null)});J?$=J({type:"fast-backward",node:H,active:this.fastBackwardActive||this.showFastBackwardMenu}):$=H,A=this.handleFastBackwardMouseenter,Y=this.handleFastBackwardMouseleave;break}const fe=v("div",{key:B,class:[`${t}-pagination-item`,pe.active&&`${t}-pagination-item--active`,ne!=="page"&&(ne==="fast-backward"&&this.showFastBackwardMenu||ne==="fast-forward"&&this.showFastForwardMenu)&&`${t}-pagination-item--hover`,n&&`${t}-pagination-item--disabled`,ne==="page"&&`${t}-pagination-item--clickable`],onClick:()=>{T(pe)},onMouseenter:A,onMouseleave:Y},$);if(ne==="page"&&!pe.mayBeFastBackward&&!pe.mayBeFastForward)return fe;{const Q=pe.type==="page"?pe.mayBeFastBackward?"fast-backward":"fast-forward":pe.type;return pe.type!=="page"&&!pe.options?fe:v(_m,{to:this.to,key:Q,disabled:n,trigger:"hover",virtualScroll:!0,style:{width:"60px"},theme:c.peers.Popselect,themeOverrides:c.peerOverrides.Popselect,builtinThemeOverrides:{peers:{InternalSelectMenu:{height:"calc(var(--n-option-height) * 4.6)"}}},nodeProps:()=>({style:{justifyContent:"center"}}),show:ne==="page"?!1:ne==="fast-backward"?this.showFastBackwardMenu:this.showFastForwardMenu,onUpdateShow:xe=>{ne!=="page"&&(xe?ne==="fast-backward"?this.showFastBackwardMenu=xe:this.showFastForwardMenu=xe:(this.showFastBackwardMenu=!1,this.showFastForwardMenu=!1))},options:pe.type!=="page"&&pe.options?pe.options:[],onUpdateValue:this.handleMenuSelect,scrollable:!0,showCheckmark:!1},{default:()=>fe})}}),v("div",{class:[`${t}-pagination-item`,!G&&`${t}-pagination-item--button`,{[`${t}-pagination-item--disabled`]:r<1||r>=i||n}],onClick:E},G?G({page:r,pageSize:h,pageCount:i,itemCount:this.mergedItemCount,startIndex:this.startIndex,endIndex:this.endIndex}):v(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?v(D0,null):v(B0,null)})));case"size-picker":return!m&&s?v(Du,Object.assign({consistentMenuWidth:!1,placeholder:"",showCheckmark:!1,to:this.to},this.selectProps,{size:f,options:p,value:h,disabled:n,theme:c.peers.Select,themeOverrides:c.peerOverrides.Select,onUpdateValue:P})):null;case"quick-jumper":return!m&&l?v("div",{class:`${t}-pagination-quick-jumper`},x?x():An(this.$slots.goto,()=>[u.goto]),v(ur,{value:g,onUpdateValue:y,size:d,placeholder:"",disabled:n,theme:c.peers.Input,themeOverrides:c.peerOverrides.Input,onChange:R})):null;default:return null}}),D?v("div",{class:`${t}-pagination-suffix`},D({page:r,pageSize:h,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null)}}),B2={padding:"8px 14px"},NW={name:"Tooltip",common:je,peers:{Popover:Yi},self(e){const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:r}=e;return Object.assign(Object.assign({},B2),{borderRadius:t,boxShadow:n,color:o,textColor:r})}},Lu=NW;function HW(e){const{borderRadius:t,boxShadow2:n,baseColor:o}=e;return Object.assign(Object.assign({},B2),{borderRadius:t,boxShadow:n,color:Ge(o,"rgba(0, 0, 0, .85)"),textColor:o})}const jW={name:"Tooltip",common:xt,peers:{Popover:Ka},self:HW},Sm=jW,VW={name:"Ellipsis",common:je,peers:{Tooltip:Lu}},N2=VW,WW={name:"Ellipsis",common:xt,peers:{Tooltip:Sm}},H2=WW,j2={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},UW={name:"Radio",common:je,self(e){const{borderColor:t,primaryColor:n,baseColor:o,textColorDisabled:r,inputColorDisabled:i,textColor2:a,opacityDisabled:s,borderRadius:l,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,heightSmall:f,heightMedium:h,heightLarge:p,lineHeight:g}=e;return Object.assign(Object.assign({},j2),{labelLineHeight:g,buttonHeightSmall:f,buttonHeightMedium:h,buttonHeightLarge:p,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${n}`,boxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Me(n,{alpha:.3})}`,boxShadowHover:`inset 0 0 0 1px ${n}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:"#0000",colorDisabled:i,colorActive:"#0000",textColor:a,textColorDisabled:r,dotColorActive:n,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:n,buttonBorderColorHover:n,buttonColor:"#0000",buttonColorActive:n,buttonTextColor:a,buttonTextColorActive:o,buttonTextColorHover:n,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Me(n,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${n}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})}},V2=UW;function qW(e){const{borderColor:t,primaryColor:n,baseColor:o,textColorDisabled:r,inputColorDisabled:i,textColor2:a,opacityDisabled:s,borderRadius:l,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,heightSmall:f,heightMedium:h,heightLarge:p,lineHeight:g}=e;return Object.assign(Object.assign({},j2),{labelLineHeight:g,buttonHeightSmall:f,buttonHeightMedium:h,buttonHeightLarge:p,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${n}`,boxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Me(n,{alpha:.2})}`,boxShadowHover:`inset 0 0 0 1px ${n}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:o,colorDisabled:i,colorActive:"#0000",textColor:a,textColorDisabled:r,dotColorActive:n,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:n,buttonBorderColorHover:t,buttonColor:o,buttonColorActive:o,buttonTextColor:a,buttonTextColorActive:n,buttonTextColorHover:n,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Me(n,{alpha:.3})}`,buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})}const KW={name:"Radio",common:xt,self:qW},km=KW,GW={padding:"4px 0",optionIconSizeSmall:"14px",optionIconSizeMedium:"16px",optionIconSizeLarge:"16px",optionIconSizeHuge:"18px",optionSuffixWidthSmall:"14px",optionSuffixWidthMedium:"14px",optionSuffixWidthLarge:"16px",optionSuffixWidthHuge:"16px",optionIconSuffixWidthSmall:"32px",optionIconSuffixWidthMedium:"32px",optionIconSuffixWidthLarge:"36px",optionIconSuffixWidthHuge:"36px",optionPrefixWidthSmall:"14px",optionPrefixWidthMedium:"14px",optionPrefixWidthLarge:"16px",optionPrefixWidthHuge:"16px",optionIconPrefixWidthSmall:"36px",optionIconPrefixWidthMedium:"36px",optionIconPrefixWidthLarge:"40px",optionIconPrefixWidthHuge:"40px"};function W2(e){const{primaryColor:t,textColor2:n,dividerColor:o,hoverColor:r,popoverColor:i,invertedColor:a,borderRadius:s,fontSizeSmall:l,fontSizeMedium:c,fontSizeLarge:u,fontSizeHuge:d,heightSmall:f,heightMedium:h,heightLarge:p,heightHuge:g,textColor3:m,opacityDisabled:b}=e;return Object.assign(Object.assign({},GW),{optionHeightSmall:f,optionHeightMedium:h,optionHeightLarge:p,optionHeightHuge:g,borderRadius:s,fontSizeSmall:l,fontSizeMedium:c,fontSizeLarge:u,fontSizeHuge:d,optionTextColor:n,optionTextColorHover:n,optionTextColorActive:t,optionTextColorChildActive:t,color:i,dividerColor:o,suffixColor:n,prefixColor:n,optionColorHover:r,optionColorActive:Me(t,{alpha:.1}),groupHeaderTextColor:m,optionTextColorInverted:"#BBB",optionTextColorHoverInverted:"#FFF",optionTextColorActiveInverted:"#FFF",optionTextColorChildActiveInverted:"#FFF",colorInverted:a,dividerColorInverted:"#BBB",suffixColorInverted:"#BBB",prefixColorInverted:"#BBB",optionColorHoverInverted:t,optionColorActiveInverted:t,groupHeaderTextColorInverted:"#AAA",optionOpacityDisabled:b})}const YW={name:"Dropdown",common:xt,peers:{Popover:Ka},self:W2},Pm=YW,XW={name:"Dropdown",common:je,peers:{Popover:Yi},self(e){const{primaryColorSuppl:t,primaryColor:n,popoverColor:o}=e,r=W2(e);return r.colorInverted=o,r.optionColorActive=Me(n,{alpha:.15}),r.optionColorActiveInverted=t,r.optionColorHoverInverted=t,r}},Tm=XW,ZW={thPaddingSmall:"8px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"8px",tdPaddingMedium:"12px",tdPaddingLarge:"12px",sorterSize:"15px",resizableContainerSize:"8px",resizableSize:"2px",filterSize:"15px",paginationMargin:"12px 0 0 0",emptyPadding:"48px 0",actionPadding:"8px 12px",actionButtonMargin:"0 8px 0 0"};function U2(e){const{cardColor:t,modalColor:n,popoverColor:o,textColor2:r,textColor1:i,tableHeaderColor:a,tableColorHover:s,iconColor:l,primaryColor:c,fontWeightStrong:u,borderRadius:d,lineHeight:f,fontSizeSmall:h,fontSizeMedium:p,fontSizeLarge:g,dividerColor:m,heightSmall:b,opacityDisabled:_,tableColorStriped:C}=e;return Object.assign(Object.assign({},ZW),{actionDividerColor:m,lineHeight:f,borderRadius:d,fontSizeSmall:h,fontSizeMedium:p,fontSizeLarge:g,borderColor:Ge(t,m),tdColorHover:Ge(t,s),tdColorSorting:Ge(t,s),tdColorStriped:Ge(t,C),thColor:Ge(t,a),thColorHover:Ge(Ge(t,a),s),thColorSorting:Ge(Ge(t,a),s),tdColor:t,tdTextColor:r,thTextColor:i,thFontWeight:u,thButtonColorHover:s,thIconColor:l,thIconColorActive:c,borderColorModal:Ge(n,m),tdColorHoverModal:Ge(n,s),tdColorSortingModal:Ge(n,s),tdColorStripedModal:Ge(n,C),thColorModal:Ge(n,a),thColorHoverModal:Ge(Ge(n,a),s),thColorSortingModal:Ge(Ge(n,a),s),tdColorModal:n,borderColorPopover:Ge(o,m),tdColorHoverPopover:Ge(o,s),tdColorSortingPopover:Ge(o,s),tdColorStripedPopover:Ge(o,C),thColorPopover:Ge(o,a),thColorHoverPopover:Ge(Ge(o,a),s),thColorSortingPopover:Ge(Ge(o,a),s),tdColorPopover:o,boxShadowBefore:"inset -12px 0 8px -12px rgba(0, 0, 0, .18)",boxShadowAfter:"inset 12px 0 8px -12px rgba(0, 0, 0, .18)",loadingColor:c,loadingSize:b,opacityLoading:_})}const JW={name:"DataTable",common:xt,peers:{Button:zu,Checkbox:P2,Radio:km,Pagination:D2,Scrollbar:Gi,Empty:Mu,Popover:Ka,Ellipsis:H2,Dropdown:Pm},self:U2},QW=JW,eU={name:"DataTable",common:je,peers:{Button:Wn,Checkbox:Ga,Radio:V2,Pagination:L2,Scrollbar:Vn,Empty:Ki,Popover:Yi,Ellipsis:N2,Dropdown:Tm},self(e){const t=U2(e);return t.boxShadowAfter="inset 12px 0 8px -12px rgba(0, 0, 0, .36)",t.boxShadowBefore="inset -12px 0 8px -12px rgba(0, 0, 0, .36)",t}},tU=eU,nU=Object.assign(Object.assign({},Aa),Be.props),Fu=be({name:"Tooltip",props:nU,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=st(e),n=Be("Tooltip","-tooltip",void 0,Sm,e,t),o=W(null);return Object.assign(Object.assign({},{syncPosition(){o.value.syncPosition()},setShow(i){o.value.setShow(i)}}),{popoverRef:o,mergedTheme:n,popoverThemeOverrides:F(()=>n.value.self)})},render(){const{mergedTheme:e,internalExtraClass:t}=this;return v(hl,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:t.concat("tooltip"),ref:"popoverRef"}),this.$slots)}}),q2=z("ellipsis",{overflow:"hidden"},[Rt("line-clamp",`
white-space: nowrap;
display: inline-block;
vertical-align: bottom;
max-width: 100%;
`),Z("line-clamp",`
display: -webkit-inline-box;
-webkit-box-orient: vertical;
`),Z("cursor-pointer",`
cursor: pointer;
`)]);function Fh(e){return`${e}-ellipsis--line-clamp`}function Bh(e,t){return`${e}-ellipsis--cursor-${t}`}const K2=Object.assign(Object.assign({},Be.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),Rm=be({name:"Ellipsis",inheritAttrs:!1,props:K2,setup(e,{slots:t,attrs:n}){const o=F_(),r=Be("Ellipsis","-ellipsis",q2,H2,e,o),i=W(null),a=W(null),s=W(null),l=W(!1),c=F(()=>{const{lineClamp:m}=e,{value:b}=l;return m!==void 0?{textOverflow:"","-webkit-line-clamp":b?"":m}:{textOverflow:b?"":"ellipsis","-webkit-line-clamp":""}});function u(){let m=!1;const{value:b}=l;if(b)return!0;const{value:_}=i;if(_){const{lineClamp:C}=e;if(h(_),C!==void 0)m=_.scrollHeight<=_.offsetHeight;else{const{value:S}=a;S&&(m=S.getBoundingClientRect().width<=_.getBoundingClientRect().width)}p(_,m)}return m}const d=F(()=>e.expandTrigger==="click"?()=>{var m;const{value:b}=l;b&&((m=s.value)===null||m===void 0||m.setShow(!1)),l.value=!b}:void 0);Zc(()=>{var m;e.tooltip&&((m=s.value)===null||m===void 0||m.setShow(!1))});const f=()=>v("span",Object.assign({},Ln(n,{class:[`${o.value}-ellipsis`,e.lineClamp!==void 0?Fh(o.value):void 0,e.expandTrigger==="click"?Bh(o.value,"pointer"):void 0],style:c.value}),{ref:"triggerRef",onClick:d.value,onMouseenter:e.expandTrigger==="click"?u:void 0}),e.lineClamp?t:v("span",{ref:"triggerInnerRef"},t));function h(m){if(!m)return;const b=c.value,_=Fh(o.value);e.lineClamp!==void 0?g(m,_,"add"):g(m,_,"remove");for(const C in b)m.style[C]!==b[C]&&(m.style[C]=b[C])}function p(m,b){const _=Bh(o.value,"pointer");e.expandTrigger==="click"&&!b?g(m,_,"add"):g(m,_,"remove")}function g(m,b,_){_==="add"?m.classList.contains(b)||m.classList.add(b):m.classList.contains(b)&&m.classList.remove(b)}return{mergedTheme:r,triggerRef:i,triggerInnerRef:a,tooltipRef:s,handleClick:d,renderTrigger:f,getTooltipDisabled:u}},render(){var e;const{tooltip:t,renderTrigger:n,$slots:o}=this;if(t){const{mergedTheme:r}=this;return v(Fu,Object.assign({ref:"tooltipRef",placement:"top"},t,{getDisabled:this.getTooltipDisabled,theme:r.peers.Tooltip,themeOverrides:r.peerOverrides.Tooltip}),{trigger:n,default:(e=o.tooltip)!==null&&e!==void 0?e:o.default})}else return n()}}),oU=be({name:"PerformantEllipsis",props:K2,inheritAttrs:!1,setup(e,{attrs:t,slots:n}){const o=W(!1),r=F_();return ei("-ellipsis",q2,r),{mouseEntered:o,renderTrigger:()=>{const{lineClamp:a}=e,s=r.value;return v("span",Object.assign({},Ln(t,{class:[`${s}-ellipsis`,a!==void 0?Fh(s):void 0,e.expandTrigger==="click"?Bh(s,"pointer"):void 0],style:a===void 0?{textOverflow:"ellipsis"}:{"-webkit-line-clamp":a}}),{onMouseenter:()=>{o.value=!0}}),a?n:v("span",null,n))}}},render(){return this.mouseEntered?v(Rm,Ln({},this.$attrs,this.$props),this.$slots):this.renderTrigger()}}),rU=Object.assign(Object.assign({},Be.props),{onUnstableColumnResize:Function,pagination:{type:[Object,Boolean],default:!1},paginateSinglePage:{type:Boolean,default:!0},minHeight:[Number,String],maxHeight:[Number,String],columns:{type:Array,default:()=>[]},rowClassName:[String,Function],rowProps:Function,rowKey:Function,summary:[Function],data:{type:Array,default:()=>[]},loading:Boolean,bordered:{type:Boolean,default:void 0},bottomBordered:{type:Boolean,default:void 0},striped:Boolean,scrollX:[Number,String],defaultCheckedRowKeys:{type:Array,default:()=>[]},checkedRowKeys:Array,singleLine:{type:Boolean,default:!0},singleColumn:Boolean,size:{type:String,default:"medium"},remote:Boolean,defaultExpandedRowKeys:{type:Array,default:[]},defaultExpandAll:Boolean,expandedRowKeys:Array,stickyExpandedRows:Boolean,virtualScroll:Boolean,tableLayout:{type:String,default:"auto"},allowCheckingNotLoaded:Boolean,cascade:{type:Boolean,default:!0},childrenKey:{type:String,default:"children"},indent:{type:Number,default:16},flexHeight:Boolean,summaryPlacement:{type:String,default:"bottom"},paginationBehaviorOnFilter:{type:String,default:"current"},filterIconPopoverProps:Object,scrollbarProps:Object,renderCell:Function,renderExpandIcon:Function,spinProps:{type:Object,default:{}},onLoad:Function,"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],"onUpdate:sorter":[Function,Array],onUpdateSorter:[Function,Array],"onUpdate:filters":[Function,Array],onUpdateFilters:[Function,Array],"onUpdate:checkedRowKeys":[Function,Array],onUpdateCheckedRowKeys:[Function,Array],"onUpdate:expandedRowKeys":[Function,Array],onUpdateExpandedRowKeys:[Function,Array],onScroll:Function,onPageChange:[Function,Array],onPageSizeChange:[Function,Array],onSorterChange:[Function,Array],onFiltersChange:[Function,Array],onCheckedRowKeysChange:[Function,Array]}),Oo="n-data-table",iU=be({name:"DataTableRenderSorter",props:{render:{type:Function,required:!0},order:{type:[String,Boolean],default:!1}},render(){const{render:e,order:t}=this;return e({order:t})}}),aU=be({name:"SortIcon",props:{column:{type:Object,required:!0}},setup(e){const{mergedComponentPropsRef:t}=st(),{mergedSortStateRef:n,mergedClsPrefixRef:o}=Ue(Oo),r=F(()=>n.value.find(l=>l.columnKey===e.column.key)),i=F(()=>r.value!==void 0),a=F(()=>{const{value:l}=r;return l&&i.value?l.order:!1}),s=F(()=>{var l,c;return((c=(l=t==null?void 0:t.value)===null||l===void 0?void 0:l.DataTable)===null||c===void 0?void 0:c.renderSorter)||e.column.renderSorter});return{mergedClsPrefix:o,active:i,mergedSortOrder:a,mergedRenderSorter:s}},render(){const{mergedRenderSorter:e,mergedSortOrder:t,mergedClsPrefix:n}=this,{renderSorterIcon:o}=this.column;return e?v(iU,{render:e,order:t}):v("span",{class:[`${n}-data-table-sorter`,t==="ascend"&&`${n}-data-table-sorter--asc`,t==="descend"&&`${n}-data-table-sorter--desc`]},o?o({order:t}):v(Ut,{clsPrefix:n},{default:()=>v($N,null)}))}}),G2={name:String,value:{type:[String,Number,Boolean],default:"on"},checked:{type:Boolean,default:void 0},defaultChecked:Boolean,disabled:{type:Boolean,default:void 0},label:String,size:String,onUpdateChecked:[Function,Array],"onUpdate:checked":[Function,Array],checkedValue:{type:Boolean,default:void 0}},Y2="n-radio-group";function X2(e){const t=Ue(Y2,null),n=pr(e,{mergedSize(_){const{size:C}=e;if(C!==void 0)return C;if(t){const{mergedSizeRef:{value:S}}=t;if(S!==void 0)return S}return _?_.mergedSize.value:"medium"},mergedDisabled(_){return!!(e.disabled||t!=null&&t.disabledRef.value||_!=null&&_.disabled.value)}}),{mergedSizeRef:o,mergedDisabledRef:r}=n,i=W(null),a=W(null),s=W(e.defaultChecked),l=We(e,"checked"),c=an(l,s),u=kt(()=>t?t.valueRef.value===e.value:c.value),d=kt(()=>{const{name:_}=e;if(_!==void 0)return _;if(t)return t.nameRef.value}),f=W(!1);function h(){if(t){const{doUpdateValue:_}=t,{value:C}=e;$e(_,C)}else{const{onUpdateChecked:_,"onUpdate:checked":C}=e,{nTriggerFormInput:S,nTriggerFormChange:w}=n;_&&$e(_,!0),C&&$e(C,!0),S(),w(),s.value=!0}}function p(){r.value||u.value||h()}function g(){p(),i.value&&(i.value.checked=u.value)}function m(){f.value=!1}function b(){f.value=!0}return{mergedClsPrefix:t?t.mergedClsPrefixRef:st(e).mergedClsPrefixRef,inputRef:i,labelRef:a,mergedName:d,mergedDisabled:r,renderSafeChecked:u,focus:f,mergedSize:o,handleRadioInputChange:g,handleRadioInputBlur:m,handleRadioInputFocus:b}}const sU=z("radio",`
line-height: var(--n-label-line-height);
outline: none;
position: relative;
user-select: none;
-webkit-user-select: none;
display: inline-flex;
align-items: flex-start;
flex-wrap: nowrap;
font-size: var(--n-font-size);
word-break: break-word;
`,[Z("checked",[V("dot",`
background-color: var(--n-color-active);
`)]),V("dot-wrapper",`
position: relative;
flex-shrink: 0;
flex-grow: 0;
width: var(--n-radio-size);
`),z("radio-input",`
position: absolute;
border: 0;
border-radius: inherit;
left: 0;
right: 0;
top: 0;
bottom: 0;
opacity: 0;
z-index: 1;
cursor: pointer;
`),V("dot",`
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
height: var(--n-radio-size);
width: var(--n-radio-size);
background: var(--n-color);
box-shadow: var(--n-box-shadow);
border-radius: 50%;
transition:
background-color .3s var(--n-bezier),
box-shadow .3s var(--n-bezier);
`,[q("&::before",`
content: "";
opacity: 0;
position: absolute;
left: 4px;
top: 4px;
height: calc(100% - 8px);
width: calc(100% - 8px);
border-radius: 50%;
transform: scale(.8);
background: var(--n-dot-color-active);
transition:
opacity .3s var(--n-bezier),
background-color .3s var(--n-bezier),
transform .3s var(--n-bezier);
`),Z("checked",{boxShadow:"var(--n-box-shadow-active)"},[q("&::before",`
opacity: 1;
transform: scale(1);
`)])]),V("label",`
color: var(--n-text-color);
padding: var(--n-label-padding);
font-weight: var(--n-label-font-weight);
display: inline-block;
transition: color .3s var(--n-bezier);
`),Rt("disabled",`
cursor: pointer;
`,[q("&:hover",[V("dot",{boxShadow:"var(--n-box-shadow-hover)"})]),Z("focus",[q("&:not(:active)",[V("dot",{boxShadow:"var(--n-box-shadow-focus)"})])])]),Z("disabled",`
cursor: not-allowed;
`,[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;
`)])]),lU=Object.assign(Object.assign({},Be.props),G2),Z2=be({name:"Radio",props:lU,setup(e){const t=X2(e),n=Be("Radio","-radio",sU,km,e,t.mergedClsPrefix),o=F(()=>{const{mergedSize:{value:c}}=t,{common:{cubicBezierEaseInOut:u},self:{boxShadow:d,boxShadowActive:f,boxShadowDisabled:h,boxShadowFocus:p,boxShadowHover:g,color:m,colorDisabled:b,colorActive:_,textColor:C,textColorDisabled:S,dotColorActive:w,dotColorDisabled:x,labelPadding:y,labelLineHeight:P,labelFontWeight:k,[Re("fontSize",c)]:T,[Re("radioSize",c)]:E}}=n.value;return{"--n-bezier":u,"--n-label-line-height":P,"--n-label-font-weight":k,"--n-box-shadow":d,"--n-box-shadow-active":f,"--n-box-shadow-disabled":h,"--n-box-shadow-focus":p,"--n-box-shadow-hover":g,"--n-color":m,"--n-color-active":_,"--n-color-disabled":b,"--n-dot-color-active":w,"--n-dot-color-disabled":x,"--n-font-size":T,"--n-radio-size":E,"--n-text-color":C,"--n-text-color-disabled":S,"--n-label-padding":y}}),{inlineThemeDisabled:r,mergedClsPrefixRef:i,mergedRtlRef:a}=st(e),s=pn("Radio",a,i),l=r?Pt("radio",F(()=>t.mergedSize.value[0]),o,e):void 0;return Object.assign(t,{rtlEnabled:s,cssVars:r?void 0:o,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender})},render(){const{$slots:e,mergedClsPrefix:t,onRender:n,label:o}=this;return n==null||n(),v("label",{class:[`${t}-radio`,this.themeClass,this.rtlEnabled&&`${t}-radio--rtl`,this.mergedDisabled&&`${t}-radio--disabled`,this.renderSafeChecked&&`${t}-radio--checked`,this.focus&&`${t}-radio--focus`],style:this.cssVars},v("input",{ref:"inputRef",type:"radio",class:`${t}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),v("div",{class:`${t}-radio__dot-wrapper`}," ",v("div",{class:[`${t}-radio__dot`,this.renderSafeChecked&&`${t}-radio__dot--checked`]})),$t(e.default,r=>!r&&!o?null:v("div",{ref:"labelRef",class:`${t}-radio__label`},r||o)))}}),cU=z("radio-group",`
display: inline-block;
font-size: var(--n-font-size);
`,[V("splitor",`
display: inline-block;
vertical-align: bottom;
width: 1px;
transition:
background-color .3s var(--n-bezier),
opacity .3s var(--n-bezier);
background: var(--n-button-border-color);
`,[Z("checked",{backgroundColor:"var(--n-button-border-color-active)"}),Z("disabled",{opacity:"var(--n-opacity-disabled)"})]),Z("button-group",`
white-space: nowrap;
height: var(--n-height);
line-height: var(--n-height);
`,[z("radio-button",{height:"var(--n-height)",lineHeight:"var(--n-height)"}),V("splitor",{height:"var(--n-height)"})]),z("radio-button",`
vertical-align: bottom;
outline: none;
position: relative;
user-select: none;
-webkit-user-select: none;
display: inline-block;
box-sizing: border-box;
padding-left: 14px;
padding-right: 14px;
white-space: nowrap;
transition:
background-color .3s var(--n-bezier),
opacity .3s var(--n-bezier),
border-color .3s var(--n-bezier),
color .3s var(--n-bezier);
background: var(--n-button-color);
color: var(--n-button-text-color);
border-top: 1px solid var(--n-button-border-color);
border-bottom: 1px solid var(--n-button-border-color);
`,[z("radio-input",`
pointer-events: none;
position: absolute;
border: 0;
border-radius: inherit;
left: 0;
right: 0;
top: 0;
bottom: 0;
opacity: 0;
z-index: 1;
`),V("state-border",`
z-index: 1;
pointer-events: none;
position: absolute;
box-shadow: var(--n-button-box-shadow);
transition: box-shadow .3s var(--n-bezier);
left: -1px;
bottom: -1px;
right: -1px;
top: -1px;
`),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);
`)]),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);
`,[V("state-border",`
border-top-right-radius: var(--n-button-border-radius);
border-bottom-right-radius: var(--n-button-border-radius);
`)]),Rt("disabled",`
cursor: pointer;
`,[q("&:hover",[V("state-border",`
transition: box-shadow .3s var(--n-bezier);
box-shadow: var(--n-button-box-shadow-hover);
`),Rt("checked",{color:"var(--n-button-text-color-hover)"})]),Z("focus",[q("&:not(:active)",[V("state-border",{boxShadow:"var(--n-button-box-shadow-focus)"})])])]),Z("checked",`
background: var(--n-button-color-active);
color: var(--n-button-text-color-active);
border-color: var(--n-button-border-color-active);
`),Z("disabled",`
cursor: not-allowed;
opacity: var(--n-opacity-disabled);
`)])]);function uU(e,t,n){var o;const r=[];let i=!1;for(let a=0;a<e.length;++a){const s=e[a],l=(o=s.type)===null||o===void 0?void 0:o.name;l==="RadioButton"&&(i=!0);const c=s.props;if(l!=="RadioButton"){r.push(s);continue}if(a===0)r.push(s);else{const u=r[r.length-1].props,d=t===u.value,f=u.disabled,h=t===c.value,p=c.disabled,g=(d?2:0)+(f?0:1),m=(h?2:0)+(p?0:1),b={[`${n}-radio-group__splitor--disabled`]:f,[`${n}-radio-group__splitor--checked`]:d},_={[`${n}-radio-group__splitor--disabled`]:p,[`${n}-radio-group__splitor--checked`]:h},C=g<m?_:b;r.push(v("div",{class:[`${n}-radio-group__splitor`,C]}),s)}}return{children:r,isButtonGroup:i}}const dU=Object.assign(Object.assign({},Be.props),{name:String,value:[String,Number,Boolean],defaultValue:{type:[String,Number,Boolean],default:null},size:String,disabled:{type:Boolean,default:void 0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array]}),J2=be({name:"RadioGroup",props:dU,setup(e){const t=W(null),{mergedSizeRef:n,mergedDisabledRef:o,nTriggerFormChange:r,nTriggerFormInput:i,nTriggerFormBlur:a,nTriggerFormFocus:s}=pr(e),{mergedClsPrefixRef:l,inlineThemeDisabled:c,mergedRtlRef:u}=st(e),d=Be("Radio","-radio-group",cU,km,e,l),f=W(e.defaultValue),h=We(e,"value"),p=an(h,f);function g(w){const{onUpdateValue:x,"onUpdate:value":y}=e;x&&$e(x,w),y&&$e(y,w),f.value=w,r(),i()}function m(w){const{value:x}=t;x&&(x.contains(w.relatedTarget)||s())}function b(w){const{value:x}=t;x&&(x.contains(w.relatedTarget)||a())}at(Y2,{mergedClsPrefixRef:l,nameRef:We(e,"name"),valueRef:p,disabledRef:o,mergedSizeRef:n,doUpdateValue:g});const _=pn("Radio",u,l),C=F(()=>{const{value:w}=n,{common:{cubicBezierEaseInOut:x},self:{buttonBorderColor:y,buttonBorderColorActive:P,buttonBorderRadius:k,buttonBoxShadow:T,buttonBoxShadowFocus:E,buttonBoxShadowHover:R,buttonColor:K,buttonColorActive:N,buttonTextColor:D,buttonTextColorActive:M,buttonTextColorHover:G,opacityDisabled:J,[Re("buttonHeight",w)]:he,[Re("fontSize",w)]:pe}}=d.value;return{"--n-font-size":pe,"--n-bezier":x,"--n-button-border-color":y,"--n-button-border-color-active":P,"--n-button-border-radius":k,"--n-button-box-shadow":T,"--n-button-box-shadow-focus":E,"--n-button-box-shadow-hover":R,"--n-button-color":K,"--n-button-color-active":N,"--n-button-text-color":D,"--n-button-text-color-hover":G,"--n-button-text-color-active":M,"--n-height":he,"--n-opacity-disabled":J}}),S=c?Pt("radio-group",F(()=>n.value[0]),C,e):void 0;return{selfElRef:t,rtlEnabled:_,mergedClsPrefix:l,mergedValue:p,handleFocusout:b,handleFocusin:m,cssVars:c?void 0:C,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){var e;const{mergedValue:t,mergedClsPrefix:n,handleFocusin:o,handleFocusout:r}=this,{children:i,isButtonGroup:a}=uU(Ra(mw(this)),t,n);return(e=this.onRender)===null||e===void 0||e.call(this),v("div",{onFocusin:o,onFocusout:r,ref:"selfElRef",class:[`${n}-radio-group`,this.rtlEnabled&&`${n}-radio-group--rtl`,this.themeClass,a&&`${n}-radio-group--button-group`],style:this.cssVars},i)}}),fU=be({name:"RadioButton",props:G2,setup:X2,render(){const{mergedClsPrefix:e}=this;return v("label",{class:[`${e}-radio-button`,this.mergedDisabled&&`${e}-radio-button--disabled`,this.renderSafeChecked&&`${e}-radio-button--checked`,this.focus&&[`${e}-radio-button--focus`]]},v("input",{ref:"inputRef",type:"radio",class:`${e}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),v("div",{class:`${e}-radio-button__state-border`}),$t(this.$slots.default,t=>!t&&!this.label?null:v("div",{ref:"labelRef",class:`${e}-radio__label`},t||this.label)))}}),Q2=40,eS=40;function i1(e){if(e.type==="selection")return e.width===void 0?Q2:bn(e.width);if(e.type==="expand")return e.width===void 0?eS:bn(e.width);if(!("children"in e))return typeof e.width=="string"?bn(e.width):e.width}function hU(e){var t,n;if(e.type==="selection")return qt((t=e.width)!==null&&t!==void 0?t:Q2);if(e.type==="expand")return qt((n=e.width)!==null&&n!==void 0?n:eS);if(!("children"in e))return qt(e.width)}function wo(e){return e.type==="selection"?"__n_selection__":e.type==="expand"?"__n_expand__":e.key}function a1(e){return e&&(typeof e=="object"?Object.assign({},e):e)}function pU(e){return e==="ascend"?1:e==="descend"?-1:0}function mU(e,t,n){return n!==void 0&&(e=Math.min(e,typeof n=="number"?n:Number.parseFloat(n))),t!==void 0&&(e=Math.max(e,typeof t=="number"?t:Number.parseFloat(t))),e}function gU(e,t){if(t!==void 0)return{width:t,minWidth:t,maxWidth:t};const n=hU(e),{minWidth:o,maxWidth:r}=e;return{width:n,minWidth:qt(o)||n,maxWidth:qt(r)}}function vU(e,t,n){return typeof n=="function"?n(e,t):n||""}function of(e){return e.filterOptionValues!==void 0||e.filterOptionValue===void 0&&e.defaultFilterOptionValues!==void 0}function rf(e){return"children"in e?!1:!!e.sorter}function tS(e){return"children"in e&&e.children.length?!1:!!e.resizable}function s1(e){return"children"in e?!1:!!e.filter&&(!!e.filterOptions||!!e.renderFilterMenu)}function l1(e){if(e){if(e==="descend")return"ascend"}else return"descend";return!1}function bU(e,t){return e.sorter===void 0?null:t===null||t.columnKey!==e.key?{columnKey:e.key,sorter:e.sorter,order:l1(!1)}:Object.assign(Object.assign({},t),{order:l1(t.order)})}function nS(e,t){return t.find(n=>n.columnKey===e.key&&n.order)!==void 0}function yU(e){return typeof e=="string"?e.replace(/,/g,"\\,"):e==null?"":`${e}`.replace(/,/g,"\\,")}function xU(e,t){const n=e.filter(i=>i.type!=="expand"&&i.type!=="selection"),o=n.map(i=>i.title).join(","),r=t.map(i=>n.map(a=>yU(i[a.key])).join(","));return[o,...r].join(`
`)}const CU=be({name:"DataTableFilterMenu",props:{column:{type:Object,required:!0},radioGroupName:{type:String,required:!0},multiple:{type:Boolean,required:!0},value:{type:[Array,String,Number],default:null},options:{type:Array,required:!0},onConfirm:{type:Function,required:!0},onClear:{type:Function,required:!0},onChange:{type:Function,required:!0}},setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=st(e),o=pn("DataTable",n,t),{mergedClsPrefixRef:r,mergedThemeRef:i,localeRef:a}=Ue(Oo),s=W(e.value),l=F(()=>{const{value:p}=s;return Array.isArray(p)?p:null}),c=F(()=>{const{value:p}=s;return of(e.column)?Array.isArray(p)&&p.length&&p[0]||null:Array.isArray(p)?null:p});function u(p){e.onChange(p)}function d(p){e.multiple&&Array.isArray(p)?s.value=p:of(e.column)&&!Array.isArray(p)?s.value=[p]:s.value=p}function f(){u(s.value),e.onConfirm()}function h(){e.multiple||of(e.column)?u([]):u(null),e.onClear()}return{mergedClsPrefix:r,rtlEnabled:o,mergedTheme:i,locale:a,checkboxGroupValue:l,radioGroupValue:c,handleChange:d,handleConfirmClick:f,handleClearClick:h}},render(){const{mergedTheme:e,locale:t,mergedClsPrefix:n}=this;return v("div",{class:[`${n}-data-table-filter-menu`,this.rtlEnabled&&`${n}-data-table-filter-menu--rtl`]},v(Io,null,{default:()=>{const{checkboxGroupValue:o,handleChange:r}=this;return this.multiple?v(lW,{value:o,class:`${n}-data-table-filter-menu__group`,onUpdateValue:r},{default:()=>this.options.map(i=>v(ml,{key:i.value,theme:e.peers.Checkbox,themeOverrides:e.peerOverrides.Checkbox,value:i.value},{default:()=>i.label}))}):v(J2,{name:this.radioGroupName,class:`${n}-data-table-filter-menu__group`,value:this.radioGroupValue,onUpdateValue:this.handleChange},{default:()=>this.options.map(i=>v(Z2,{key:i.value,value:i.value,theme:e.peers.Radio,themeOverrides:e.peerOverrides.Radio},{default:()=>i.label}))})}}),v("div",{class:`${n}-data-table-filter-menu__action`},v(zt,{size:"tiny",theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,onClick:this.handleClearClick},{default:()=>t.clear}),v(zt,{theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,type:"primary",size:"tiny",onClick:this.handleConfirmClick},{default:()=>t.confirm})))}}),wU=be({name:"DataTableRenderFilter",props:{render:{type:Function,required:!0},active:{type:Boolean,default:!1},show:{type:Boolean,default:!1}},render(){const{render:e,active:t,show:n}=this;return e({active:t,show:n})}});function _U(e,t,n){const o=Object.assign({},e);return o[t]=n,o}const SU=be({name:"DataTableFilterButton",props:{column:{type:Object,required:!0},options:{type:Array,default:()=>[]}},setup(e){const{mergedComponentPropsRef:t}=st(),{mergedThemeRef:n,mergedClsPrefixRef:o,mergedFilterStateRef:r,filterMenuCssVarsRef:i,paginationBehaviorOnFilterRef:a,doUpdatePage:s,doUpdateFilters:l,filterIconPopoverPropsRef:c}=Ue(Oo),u=W(!1),d=r,f=F(()=>e.column.filterMultiple!==!1),h=F(()=>{const C=d.value[e.column.key];if(C===void 0){const{value:S}=f;return S?[]:null}return C}),p=F(()=>{const{value:C}=h;return Array.isArray(C)?C.length>0:C!==null}),g=F(()=>{var C,S;return((S=(C=t==null?void 0:t.value)===null||C===void 0?void 0:C.DataTable)===null||S===void 0?void 0:S.renderFilter)||e.column.renderFilter});function m(C){const S=_U(d.value,e.column.key,C);l(S,e.column),a.value==="first"&&s(1)}function b(){u.value=!1}function _(){u.value=!1}return{mergedTheme:n,mergedClsPrefix:o,active:p,showPopover:u,mergedRenderFilter:g,filterIconPopoverProps:c,filterMultiple:f,mergedFilterValue:h,filterMenuCssVars:i,handleFilterChange:m,handleFilterMenuConfirm:_,handleFilterMenuCancel:b}},render(){const{mergedTheme:e,mergedClsPrefix:t,handleFilterMenuCancel:n,filterIconPopoverProps:o}=this;return v(hl,Object.assign({show:this.showPopover,onUpdateShow:r=>this.showPopover=r,trigger:"click",theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,placement:"bottom"},o,{style:{padding:0}}),{trigger:()=>{const{mergedRenderFilter:r}=this;if(r)return v(wU,{"data-data-table-filter":!0,render:r,active:this.active,show:this.showPopover});const{renderFilterIcon:i}=this.column;return v("div",{"data-data-table-filter":!0,class:[`${t}-data-table-filter`,{[`${t}-data-table-filter--active`]:this.active,[`${t}-data-table-filter--show`]:this.showPopover}]},i?i({active:this.active,show:this.showPopover}):v(Ut,{clsPrefix:t},{default:()=>v(DN,null)}))},default:()=>{const{renderFilterMenu:r}=this.column;return r?r({hide:n}):v(CU,{style:this.filterMenuCssVars,radioGroupName:String(this.column.key),multiple:this.filterMultiple,value:this.mergedFilterValue,options:this.options,column:this.column,onChange:this.handleFilterChange,onClear:this.handleFilterMenuCancel,onConfirm:this.handleFilterMenuConfirm})}})}}),kU=be({name:"ColumnResizeButton",props:{onResizeStart:Function,onResize:Function,onResizeEnd:Function},setup(e){const{mergedClsPrefixRef:t}=Ue(Oo),n=W(!1);let o=0;function r(l){return l.clientX}function i(l){var c;l.preventDefault();const u=n.value;o=r(l),n.value=!0,u||(At("mousemove",window,a),At("mouseup",window,s),(c=e.onResizeStart)===null||c===void 0||c.call(e))}function a(l){var c;(c=e.onResize)===null||c===void 0||c.call(e,r(l)-o)}function s(){var l;n.value=!1,(l=e.onResizeEnd)===null||l===void 0||l.call(e),Tt("mousemove",window,a),Tt("mouseup",window,s)}return on(()=>{Tt("mousemove",window,a),Tt("mouseup",window,s)}),{mergedClsPrefix:t,active:n,handleMousedown:i}},render(){const{mergedClsPrefix:e}=this;return v("span",{"data-data-table-resizable":!0,class:[`${e}-data-table-resize-button`,this.active&&`${e}-data-table-resize-button--active`],onMousedown:this.handleMousedown})}}),oS=be({name:"DropdownDivider",props:{clsPrefix:{type:String,required:!0}},render(){return v("div",{class:`${this.clsPrefix}-dropdown-divider`})}});function rS(e){const{textColorBase:t,opacity1:n,opacity2:o,opacity3:r,opacity4:i,opacity5:a}=e;return{color:t,opacity1Depth:n,opacity2Depth:o,opacity3Depth:r,opacity4Depth:i,opacity5Depth:a}}const PU={name:"Icon",common:xt,self:rS},TU=PU,RU={name:"Icon",common:je,self:rS},EU=RU,$U=z("icon",`
height: 1em;
width: 1em;
line-height: 1em;
text-align: center;
display: inline-block;
position: relative;
fill: currentColor;
transform: translateZ(0);
`,[Z("color-transition",{transition:"color .3s var(--n-bezier)"}),Z("depth",{color:"var(--n-color)"},[q("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),q("svg",{height:"1em",width:"1em"})]),AU=Object.assign(Object.assign({},Be.props),{depth:[String,Number],size:[Number,String],color:String,component:Object}),vr=be({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:AU,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Icon","-icon",$U,TU,e,t),r=F(()=>{const{depth:a}=e,{common:{cubicBezierEaseInOut:s},self:l}=o.value;if(a!==void 0){const{color:c,[`opacity${a}Depth`]:u}=l;return{"--n-bezier":s,"--n-color":c,"--n-opacity":u}}return{"--n-bezier":s,"--n-color":"","--n-opacity":""}}),i=n?Pt("icon",F(()=>`${e.depth||"d"}`),r,e):void 0;return{mergedClsPrefix:t,mergedStyle:F(()=>{const{size:a,color:s}=e;return{fontSize:qt(a),color:s}}),cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$parent:t,depth:n,mergedClsPrefix:o,component:r,onRender:i,themeClass:a}=this;return!((e=t==null?void 0:t.$options)===null||e===void 0)&&e._n_icon__&&lr("icon","don't wrap `n-icon` inside `n-icon`"),i==null||i(),v("i",Ln(this.$attrs,{role:"img",class:[`${o}-icon`,a,{[`${o}-icon--depth`]:n,[`${o}-icon--color-transition`]:n!==void 0}],style:[this.cssVars,this.mergedStyle]}),r?v(r):this.$slots)}}),Em="n-dropdown-menu",Bu="n-dropdown",c1="n-dropdown-option";function Nh(e,t){return e.type==="submenu"||e.type===void 0&&e[t]!==void 0}function IU(e){return e.type==="group"}function iS(e){return e.type==="divider"}function OU(e){return e.type==="render"}const aS=be({name:"DropdownOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null},placement:{type:String,default:"right-start"},props:Object,scrollable:Boolean},setup(e){const t=Ue(Bu),{hoverKeyRef:n,keyboardKeyRef:o,lastToggledSubmenuKeyRef:r,pendingKeyPathRef:i,activeKeyPathRef:a,animatedRef:s,mergedShowRef:l,renderLabelRef:c,renderIconRef:u,labelFieldRef:d,childrenFieldRef:f,renderOptionRef:h,nodePropsRef:p,menuPropsRef:g}=t,m=Ue(c1,null),b=Ue(Em),_=Ue(Va),C=F(()=>e.tmNode.rawNode),S=F(()=>{const{value:G}=f;return Nh(e.tmNode.rawNode,G)}),w=F(()=>{const{disabled:G}=e.tmNode;return G}),x=F(()=>{if(!S.value)return!1;const{key:G,disabled:J}=e.tmNode;if(J)return!1;const{value:he}=n,{value:pe}=o,{value:B}=r,{value:$}=i;return he!==null?$.includes(G):pe!==null?$.includes(G)&&$[$.length-1]!==G:B!==null?$.includes(G):!1}),y=F(()=>o.value===null&&!s.value),P=x8(x,300,y),k=F(()=>!!(m!=null&&m.enteringSubmenuRef.value)),T=W(!1);at(c1,{enteringSubmenuRef:T});function E(){T.value=!0}function R(){T.value=!1}function K(){const{parentKey:G,tmNode:J}=e;J.disabled||l.value&&(r.value=G,o.value=null,n.value=J.key)}function N(){const{tmNode:G}=e;G.disabled||l.value&&n.value!==G.key&&K()}function D(G){if(e.tmNode.disabled||!l.value)return;const{relatedTarget:J}=G;J&&!so({target:J},"dropdownOption")&&!so({target:J},"scrollbarRail")&&(n.value=null)}function M(){const{value:G}=S,{tmNode:J}=e;l.value&&!G&&!J.disabled&&(t.doSelect(J.key,J.rawNode),t.doUpdateShow(!1))}return{labelField:d,renderLabel:c,renderIcon:u,siblingHasIcon:b.showIconRef,siblingHasSubmenu:b.hasSubmenuRef,menuProps:g,popoverBody:_,animated:s,mergedShowSubmenu:F(()=>P.value&&!k.value),rawNode:C,hasSubmenu:S,pending:kt(()=>{const{value:G}=i,{key:J}=e.tmNode;return G.includes(J)}),childActive:kt(()=>{const{value:G}=a,{key:J}=e.tmNode,he=G.findIndex(pe=>J===pe);return he===-1?!1:he<G.length-1}),active:kt(()=>{const{value:G}=a,{key:J}=e.tmNode,he=G.findIndex(pe=>J===pe);return he===-1?!1:he===G.length-1}),mergedDisabled:w,renderOption:h,nodeProps:p,handleClick:M,handleMouseMove:N,handleMouseEnter:K,handleMouseLeave:D,handleSubmenuBeforeEnter:E,handleSubmenuAfterEnter:R}},render(){var e,t;const{animated:n,rawNode:o,mergedShowSubmenu:r,clsPrefix:i,siblingHasIcon:a,siblingHasSubmenu:s,renderLabel:l,renderIcon:c,renderOption:u,nodeProps:d,props:f,scrollable:h}=this;let p=null;if(r){const _=(e=this.menuProps)===null||e===void 0?void 0:e.call(this,o,o.children);p=v(sS,Object.assign({},_,{clsPrefix:i,scrollable:this.scrollable,tmNodes:this.tmNode.children,parentKey:this.tmNode.key}))}const g={class:[`${i}-dropdown-option-body`,this.pending&&`${i}-dropdown-option-body--pending`,this.active&&`${i}-dropdown-option-body--active`,this.childActive&&`${i}-dropdown-option-body--child-active`,this.mergedDisabled&&`${i}-dropdown-option-body--disabled`],onMousemove:this.handleMouseMove,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onClick:this.handleClick},m=d==null?void 0:d(o),b=v("div",Object.assign({class:[`${i}-dropdown-option`,m==null?void 0:m.class],"data-dropdown-option":!0},m),v("div",Ln(g,f),[v("div",{class:[`${i}-dropdown-option-body__prefix`,a&&`${i}-dropdown-option-body__prefix--show-icon`]},[c?c(o):Wt(o.icon)]),v("div",{"data-dropdown-option":!0,class:`${i}-dropdown-option-body__label`},l?l(o):Wt((t=o[this.labelField])!==null&&t!==void 0?t:o.title)),v("div",{"data-dropdown-option":!0,class:[`${i}-dropdown-option-body__suffix`,s&&`${i}-dropdown-option-body__suffix--has-submenu`]},this.hasSubmenu?v(vr,null,{default:()=>v(fm,null)}):null)]),this.hasSubmenu?v(qp,null,{default:()=>[v(Kp,null,{default:()=>v("div",{class:`${i}-dropdown-offset-container`},v(Yp,{show:this.mergedShowSubmenu,placement:this.placement,to:h&&this.popoverBody||void 0,teleportDisabled:!h},{default:()=>v("div",{class:`${i}-dropdown-menu-wrapper`},n?v(fn,{onBeforeEnter:this.handleSubmenuBeforeEnter,onAfterEnter:this.handleSubmenuAfterEnter,name:"fade-in-scale-up-transition",appear:!0},{default:()=>p}):p)}))})]}):null);return u?u({node:b,option:o}):b}}),MU=be({name:"DropdownGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{showIconRef:e,hasSubmenuRef:t}=Ue(Em),{renderLabelRef:n,labelFieldRef:o,nodePropsRef:r,renderOptionRef:i}=Ue(Bu);return{labelField:o,showIcon:e,hasSubmenu:t,renderLabel:n,nodeProps:r,renderOption:i}},render(){var e;const{clsPrefix:t,hasSubmenu:n,showIcon:o,nodeProps:r,renderLabel:i,renderOption:a}=this,{rawNode:s}=this.tmNode,l=v("div",Object.assign({class:`${t}-dropdown-option`},r==null?void 0:r(s)),v("div",{class:`${t}-dropdown-option-body ${t}-dropdown-option-body--group`},v("div",{"data-dropdown-option":!0,class:[`${t}-dropdown-option-body__prefix`,o&&`${t}-dropdown-option-body__prefix--show-icon`]},Wt(s.icon)),v("div",{class:`${t}-dropdown-option-body__label`,"data-dropdown-option":!0},i?i(s):Wt((e=s.title)!==null&&e!==void 0?e:s[this.labelField])),v("div",{class:[`${t}-dropdown-option-body__suffix`,n&&`${t}-dropdown-option-body__suffix--has-submenu`],"data-dropdown-option":!0})));return a?a({node:l,option:s}):l}}),zU=be({name:"NDropdownGroup",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null}},render(){const{tmNode:e,parentKey:t,clsPrefix:n}=this,{children:o}=e;return v(it,null,v(MU,{clsPrefix:n,tmNode:e,key:e.key}),o==null?void 0:o.map(r=>{const{rawNode:i}=r;return i.show===!1?null:iS(i)?v(oS,{clsPrefix:n,key:r.key}):r.isGroup?(lr("dropdown","`group` node is not allowed to be put in `group` node."),null):v(aS,{clsPrefix:n,tmNode:r,parentKey:t,key:r.key})}))}}),DU=be({name:"DropdownRenderOption",props:{tmNode:{type:Object,required:!0}},render(){const{rawNode:{render:e,props:t}}=this.tmNode;return v("div",t,[e==null?void 0:e()])}}),sS=be({name:"DropdownMenu",props:{scrollable:Boolean,showArrow:Boolean,arrowStyle:[String,Object],clsPrefix:{type:String,required:!0},tmNodes:{type:Array,default:()=>[]},parentKey:{type:[String,Number],default:null}},setup(e){const{renderIconRef:t,childrenFieldRef:n}=Ue(Bu);at(Em,{showIconRef:F(()=>{const r=t.value;return e.tmNodes.some(i=>{var a;if(i.isGroup)return(a=i.children)===null||a===void 0?void 0:a.some(({rawNode:l})=>r?r(l):l.icon);const{rawNode:s}=i;return r?r(s):s.icon})}),hasSubmenuRef:F(()=>{const{value:r}=n;return e.tmNodes.some(i=>{var a;if(i.isGroup)return(a=i.children)===null||a===void 0?void 0:a.some(({rawNode:l})=>Nh(l,r));const{rawNode:s}=i;return Nh(s,r)})})});const o=W(null);return at(sl,null),at(ll,null),at(Va,o),{bodyRef:o}},render(){const{parentKey:e,clsPrefix:t,scrollable:n}=this,o=this.tmNodes.map(r=>{const{rawNode:i}=r;return i.show===!1?null:OU(i)?v(DU,{tmNode:r,key:r.key}):iS(i)?v(oS,{clsPrefix:t,key:r.key}):IU(i)?v(zU,{clsPrefix:t,tmNode:r,parentKey:e,key:r.key}):v(aS,{clsPrefix:t,tmNode:r,parentKey:e,key:r.key,props:i.props,scrollable:n})});return v("div",{class:[`${t}-dropdown-menu`,n&&`${t}-dropdown-menu--scrollable`],ref:"bodyRef"},n?v(Z_,{contentClass:`${t}-dropdown-menu__content`},{default:()=>o}):o,this.showArrow?n2({clsPrefix:t,arrowStyle:this.arrowStyle,arrowClass:void 0,arrowWrapperClass:void 0,arrowWrapperStyle:void 0}):null)}}),LU=z("dropdown-menu",`
transform-origin: var(--v-transform-origin);
background-color: var(--n-color);
border-radius: var(--n-border-radius);
box-shadow: var(--n-box-shadow);
position: relative;
transition:
background-color .3s var(--n-bezier),
box-shadow .3s var(--n-bezier);
`,[qa(),z("dropdown-option",`
position: relative;
`,[q("a",`
text-decoration: none;
color: inherit;
outline: none;
`,[q("&::before",`
content: "";
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
`)]),z("dropdown-option-body",`
display: flex;
cursor: pointer;
position: relative;
height: var(--n-option-height);
line-height: var(--n-option-height);
font-size: var(--n-font-size);
color: var(--n-option-text-color);
transition: color .3s var(--n-bezier);
`,[q("&::before",`
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 4px;
right: 4px;
transition: background-color .3s var(--n-bezier);
border-radius: var(--n-border-radius);
`),Rt("disabled",[Z("pending",`
color: var(--n-option-text-color-hover);
`,[V("prefix, suffix",`
color: var(--n-option-text-color-hover);
`),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);
`),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);
`)])]),Z("disabled",`
cursor: not-allowed;
opacity: var(--n-option-opacity-disabled);
`),Z("group",`
font-size: calc(var(--n-font-size) - 1px);
color: var(--n-group-header-text-color);
`,[V("prefix",`
width: calc(var(--n-option-prefix-width) / 2);
`,[Z("show-icon",`
width: calc(var(--n-option-icon-prefix-width) / 2);
`)])]),V("prefix",`
width: var(--n-option-prefix-width);
display: flex;
justify-content: center;
align-items: center;
color: var(--n-prefix-color);
transition: color .3s var(--n-bezier);
z-index: 1;
`,[Z("show-icon",`
width: var(--n-option-icon-prefix-width);
`),z("icon",`
font-size: var(--n-option-icon-size);
`)]),V("label",`
white-space: nowrap;
flex: 1;
z-index: 1;
`),V("suffix",`
box-sizing: border-box;
flex-grow: 0;
flex-shrink: 0;
display: flex;
justify-content: flex-end;
align-items: center;
min-width: var(--n-option-suffix-width);
padding: 0 8px;
transition: color .3s var(--n-bezier);
color: var(--n-suffix-color);
z-index: 1;
`,[Z("has-submenu",`
width: var(--n-option-icon-suffix-width);
`),z("icon",`
font-size: var(--n-option-icon-size);
`)]),z("dropdown-menu","pointer-events: all;")]),z("dropdown-offset-container",`
pointer-events: none;
position: absolute;
left: 0;
right: 0;
top: -4px;
bottom: -4px;
`)]),z("dropdown-divider",`
transition: background-color .3s var(--n-bezier);
background-color: var(--n-divider-color);
height: 1px;
margin: 4px 0;
`),z("dropdown-menu-wrapper",`
transform-origin: var(--v-transform-origin);
width: fit-content;
`),q(">",[z("scrollbar",`
height: inherit;
max-height: inherit;
`)]),Rt("scrollable",`
padding: var(--n-padding);
`),Z("scrollable",[V("content",`
padding: var(--n-padding);
`)])]),FU={animated:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},size:{type:String,default:"medium"},inverted:Boolean,placement:{type:String,default:"bottom"},onSelect:[Function,Array],options:{type:Array,default:()=>[]},menuProps:Function,showArrow:Boolean,renderLabel:Function,renderIcon:Function,renderOption:Function,nodeProps:Function,labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},value:[String,Number]},BU=Object.keys(Aa),NU=Object.assign(Object.assign(Object.assign({},Aa),FU),Be.props),$m=be({name:"Dropdown",inheritAttrs:!1,props:NU,setup(e){const t=W(!1),n=an(We(e,"show"),t),o=F(()=>{const{keyField:R,childrenField:K}=e;return Pi(e.options,{getKey(N){return N[R]},getDisabled(N){return N.disabled===!0},getIgnored(N){return N.type==="divider"||N.type==="render"},getChildren(N){return N[K]}})}),r=F(()=>o.value.treeNodes),i=W(null),a=W(null),s=W(null),l=F(()=>{var R,K,N;return(N=(K=(R=i.value)!==null&&R!==void 0?R:a.value)!==null&&K!==void 0?K:s.value)!==null&&N!==void 0?N:null}),c=F(()=>o.value.getPath(l.value).keyPath),u=F(()=>o.value.getPath(e.value).keyPath),d=kt(()=>e.keyboard&&n.value);I8({keydown:{ArrowUp:{prevent:!0,handler:w},ArrowRight:{prevent:!0,handler:S},ArrowDown:{prevent:!0,handler:x},ArrowLeft:{prevent:!0,handler:C},Enter:{prevent:!0,handler:y},Escape:_}},d);const{mergedClsPrefixRef:f,inlineThemeDisabled:h}=st(e),p=Be("Dropdown","-dropdown",LU,Pm,e,f);at(Bu,{labelFieldRef:We(e,"labelField"),childrenFieldRef:We(e,"childrenField"),renderLabelRef:We(e,"renderLabel"),renderIconRef:We(e,"renderIcon"),hoverKeyRef:i,keyboardKeyRef:a,lastToggledSubmenuKeyRef:s,pendingKeyPathRef:c,activeKeyPathRef:u,animatedRef:We(e,"animated"),mergedShowRef:n,nodePropsRef:We(e,"nodeProps"),renderOptionRef:We(e,"renderOption"),menuPropsRef:We(e,"menuProps"),doSelect:g,doUpdateShow:m}),ft(n,R=>{!e.animated&&!R&&b()});function g(R,K){const{onSelect:N}=e;N&&$e(N,R,K)}function m(R){const{"onUpdate:show":K,onUpdateShow:N}=e;K&&$e(K,R),N&&$e(N,R),t.value=R}function b(){i.value=null,a.value=null,s.value=null}function _(){m(!1)}function C(){k("left")}function S(){k("right")}function w(){k("up")}function x(){k("down")}function y(){const R=P();R!=null&&R.isLeaf&&n.value&&(g(R.key,R.rawNode),m(!1))}function P(){var R;const{value:K}=o,{value:N}=l;return!K||N===null?null:(R=K.getNode(N))!==null&&R!==void 0?R:null}function k(R){const{value:K}=l,{value:{getFirstAvailableNode:N}}=o;let D=null;if(K===null){const M=N();M!==null&&(D=M.key)}else{const M=P();if(M){let G;switch(R){case"down":G=M.getNext();break;case"up":G=M.getPrev();break;case"right":G=M.getChild();break;case"left":G=M.getParent();break}G&&(D=G.key)}}D!==null&&(i.value=null,a.value=D)}const T=F(()=>{const{size:R,inverted:K}=e,{common:{cubicBezierEaseInOut:N},self:D}=p.value,{padding:M,dividerColor:G,borderRadius:J,optionOpacityDisabled:he,[Re("optionIconSuffixWidth",R)]:pe,[Re("optionSuffixWidth",R)]:B,[Re("optionIconPrefixWidth",R)]:$,[Re("optionPrefixWidth",R)]:A,[Re("fontSize",R)]:Y,[Re("optionHeight",R)]:ne,[Re("optionIconSize",R)]:fe}=D,Q={"--n-bezier":N,"--n-font-size":Y,"--n-padding":M,"--n-border-radius":J,"--n-option-height":ne,"--n-option-prefix-width":A,"--n-option-icon-prefix-width":$,"--n-option-suffix-width":B,"--n-option-icon-suffix-width":pe,"--n-option-icon-size":fe,"--n-divider-color":G,"--n-option-opacity-disabled":he};return K?(Q["--n-color"]=D.colorInverted,Q["--n-option-color-hover"]=D.optionColorHoverInverted,Q["--n-option-color-active"]=D.optionColorActiveInverted,Q["--n-option-text-color"]=D.optionTextColorInverted,Q["--n-option-text-color-hover"]=D.optionTextColorHoverInverted,Q["--n-option-text-color-active"]=D.optionTextColorActiveInverted,Q["--n-option-text-color-child-active"]=D.optionTextColorChildActiveInverted,Q["--n-prefix-color"]=D.prefixColorInverted,Q["--n-suffix-color"]=D.suffixColorInverted,Q["--n-group-header-text-color"]=D.groupHeaderTextColorInverted):(Q["--n-color"]=D.color,Q["--n-option-color-hover"]=D.optionColorHover,Q["--n-option-color-active"]=D.optionColorActive,Q["--n-option-text-color"]=D.optionTextColor,Q["--n-option-text-color-hover"]=D.optionTextColorHover,Q["--n-option-text-color-active"]=D.optionTextColorActive,Q["--n-option-text-color-child-active"]=D.optionTextColorChildActive,Q["--n-prefix-color"]=D.prefixColor,Q["--n-suffix-color"]=D.suffixColor,Q["--n-group-header-text-color"]=D.groupHeaderTextColor),Q}),E=h?Pt("dropdown",F(()=>`${e.size[0]}${e.inverted?"i":""}`),T,e):void 0;return{mergedClsPrefix:f,mergedTheme:p,tmNodes:r,mergedShow:n,handleAfterLeave:()=>{e.animated&&b()},doUpdateShow:m,cssVars:h?void 0:T,themeClass:E==null?void 0:E.themeClass,onRender:E==null?void 0:E.onRender}},render(){const e=(o,r,i,a,s)=>{var l;const{mergedClsPrefix:c,menuProps:u}=this;(l=this.onRender)===null||l===void 0||l.call(this);const d=(u==null?void 0:u(void 0,this.tmNodes.map(h=>h.rawNode)))||{},f={ref:gw(r),class:[o,`${c}-dropdown`,this.themeClass],clsPrefix:c,tmNodes:this.tmNodes,style:[...i,this.cssVars],showArrow:this.showArrow,arrowStyle:this.arrowStyle,scrollable:this.scrollable,onMouseenter:a,onMouseleave:s};return v(sS,Ln(this.$attrs,f,d))},{mergedTheme:t}=this,n={show:this.mergedShow,theme:t.peers.Popover,themeOverrides:t.peerOverrides.Popover,internalOnAfterLeave:this.handleAfterLeave,internalRenderBody:e,onUpdateShow:this.doUpdateShow,"onUpdate:show":void 0};return v(hl,Object.assign({},Qn(this.$props,BU),n),{trigger:()=>{var o,r;return(r=(o=this.$slots).default)===null||r===void 0?void 0:r.call(o)}})}}),lS="_n_all__",cS="_n_none__";function HU(e,t,n,o){return e?r=>{for(const i of e)switch(r){case lS:n(!0);return;case cS:o(!0);return;default:if(typeof i=="object"&&i.key===r){i.onSelect(t.value);return}}}:()=>{}}function jU(e,t){return e?e.map(n=>{switch(n){case"all":return{label:t.checkTableAll,key:lS};case"none":return{label:t.uncheckTableAll,key:cS};default:return n}}):[]}const VU=be({name:"DataTableSelectionMenu",props:{clsPrefix:{type:String,required:!0}},setup(e){const{props:t,localeRef:n,checkOptionsRef:o,rawPaginatedDataRef:r,doCheckAll:i,doUncheckAll:a}=Ue(Oo),s=F(()=>HU(o.value,r,i,a)),l=F(()=>jU(o.value,n.value));return()=>{var c,u,d,f;const{clsPrefix:h}=e;return v($m,{theme:(u=(c=t.theme)===null||c===void 0?void 0:c.peers)===null||u===void 0?void 0:u.Dropdown,themeOverrides:(f=(d=t.themeOverrides)===null||d===void 0?void 0:d.peers)===null||f===void 0?void 0:f.Dropdown,options:l.value,onSelect:s.value},{default:()=>v(Ut,{clsPrefix:h,class:`${h}-data-table-check-extra`},{default:()=>v(j_,null)})})}}});function af(e){return typeof e.title=="function"?e.title(e):e.title}const uS=be({name:"DataTableHeader",props:{discrete:{type:Boolean,default:!0}},setup(){const{mergedClsPrefixRef:e,scrollXRef:t,fixedColumnLeftMapRef:n,fixedColumnRightMapRef:o,mergedCurrentPageRef:r,allRowsCheckedRef:i,someRowsCheckedRef:a,rowsRef:s,colsRef:l,mergedThemeRef:c,checkOptionsRef:u,mergedSortStateRef:d,componentId:f,mergedTableLayoutRef:h,headerCheckboxDisabledRef:p,onUnstableColumnResize:g,doUpdateResizableWidth:m,handleTableHeaderScroll:b,deriveNextSorter:_,doUncheckAll:C,doCheckAll:S}=Ue(Oo),w=W({});function x(R){const K=w.value[R];return K==null?void 0:K.getBoundingClientRect().width}function y(){i.value?C():S()}function P(R,K){if(so(R,"dataTableFilter")||so(R,"dataTableResizable")||!rf(K))return;const N=d.value.find(M=>M.columnKey===K.key)||null,D=bU(K,N);_(D)}const k=new Map;function T(R){k.set(R.key,x(R.key))}function E(R,K){const N=k.get(R.key);if(N===void 0)return;const D=N+K,M=mU(D,R.minWidth,R.maxWidth);g(D,M,R,x),m(R,M)}return{cellElsRef:w,componentId:f,mergedSortState:d,mergedClsPrefix:e,scrollX:t,fixedColumnLeftMap:n,fixedColumnRightMap:o,currentPage:r,allRowsChecked:i,someRowsChecked:a,rows:s,cols:l,mergedTheme:c,checkOptions:u,mergedTableLayout:h,headerCheckboxDisabled:p,handleCheckboxUpdateChecked:y,handleColHeaderClick:P,handleTableHeaderScroll:b,handleColumnResizeStart:T,handleColumnResize:E}},render(){const{cellElsRef:e,mergedClsPrefix:t,fixedColumnLeftMap:n,fixedColumnRightMap:o,currentPage:r,allRowsChecked:i,someRowsChecked:a,rows:s,cols:l,mergedTheme:c,checkOptions:u,componentId:d,discrete:f,mergedTableLayout:h,headerCheckboxDisabled:p,mergedSortState:g,handleColHeaderClick:m,handleCheckboxUpdateChecked:b,handleColumnResizeStart:_,handleColumnResize:C}=this,S=v("thead",{class:`${t}-data-table-thead`,"data-n-id":d},s.map(y=>v("tr",{class:`${t}-data-table-tr`},y.map(({column:P,colSpan:k,rowSpan:T,isLast:E})=>{var R,K;const N=wo(P),{ellipsis:D}=P,M=()=>P.type==="selection"?P.multiple!==!1?v(it,null,v(ml,{key:r,privateInsideTable:!0,checked:i,indeterminate:a,disabled:p,onUpdateChecked:b}),u?v(VU,{clsPrefix:t}):null):null:v(it,null,v("div",{class:`${t}-data-table-th__title-wrapper`},v("div",{class:`${t}-data-table-th__title`},D===!0||D&&!D.tooltip?v("div",{class:`${t}-data-table-th__ellipsis`},af(P)):D&&typeof D=="object"?v(Rm,Object.assign({},D,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>af(P)}):af(P)),rf(P)?v(aU,{column:P}):null),s1(P)?v(SU,{column:P,options:P.filterOptions}):null,tS(P)?v(kU,{onResizeStart:()=>{_(P)},onResize:he=>{C(P,he)}}):null),G=N in n,J=N in o;return v("th",{ref:he=>e[N]=he,key:N,style:{textAlign:P.titleAlign||P.align,left:zn((R=n[N])===null||R===void 0?void 0:R.start),right:zn((K=o[N])===null||K===void 0?void 0:K.start)},colspan:k,rowspan:T,"data-col-key":N,class:[`${t}-data-table-th`,(G||J)&&`${t}-data-table-th--fixed-${G?"left":"right"}`,{[`${t}-data-table-th--sorting`]:nS(P,g),[`${t}-data-table-th--filterable`]:s1(P),[`${t}-data-table-th--sortable`]:rf(P),[`${t}-data-table-th--selection`]:P.type==="selection",[`${t}-data-table-th--last`]:E},P.className],onClick:P.type!=="selection"&&P.type!=="expand"&&!("children"in P)?he=>{m(he,P)}:void 0},M())}))));if(!f)return S;const{handleTableHeaderScroll:w,scrollX:x}=this;return v("div",{class:`${t}-data-table-base-table-header`,onScroll:w},v("table",{ref:"body",class:`${t}-data-table-table`,style:{minWidth:qt(x),tableLayout:h}},v("colgroup",null,l.map(y=>v("col",{key:y.key,style:y.style}))),S))}}),WU=be({name:"DataTableCell",props:{clsPrefix:{type:String,required:!0},row:{type:Object,required:!0},index:{type:Number,required:!0},column:{type:Object,required:!0},isSummary:Boolean,mergedTheme:{type:Object,required:!0},renderCell:Function},render(){var e;const{isSummary:t,column:n,row:o,renderCell:r}=this;let i;const{render:a,key:s,ellipsis:l}=n;if(a&&!t?i=a(o,this.index):t?i=(e=o[s])===null||e===void 0?void 0:e.value:i=r?r(Th(o,s),o,n):Th(o,s),l)if(typeof l=="object"){const{mergedTheme:c}=this;return n.ellipsisComponent==="performant-ellipsis"?v(oU,Object.assign({},l,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>i}):v(Rm,Object.assign({},l,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>i})}else return v("span",{class:`${this.clsPrefix}-data-table-td__ellipsis`},i);return i}}),u1=be({name:"DataTableExpandTrigger",props:{clsPrefix:{type:String,required:!0},expanded:Boolean,loading:Boolean,onClick:{type:Function,required:!0},renderExpandIcon:{type:Function}},render(){const{clsPrefix:e}=this;return v("div",{class:[`${e}-data-table-expand-trigger`,this.expanded&&`${e}-data-table-expand-trigger--expanded`],onClick:this.onClick,onMousedown:t=>{t.preventDefault()}},v(Ui,null,{default:()=>this.loading?v(ti,{key:"loading",clsPrefix:this.clsPrefix,radius:85,strokeWidth:15,scale:.88}):this.renderExpandIcon?this.renderExpandIcon({expanded:this.expanded}):v(Ut,{clsPrefix:e,key:"base-icon"},{default:()=>v(fm,null)})}))}}),UU=be({name:"DataTableBodyCheckbox",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,mergedInderminateRowKeySetRef:n}=Ue(Oo);return()=>{const{rowKey:o}=e;return v(ml,{privateInsideTable:!0,disabled:e.disabled,indeterminate:n.value.has(o),checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}}),qU=be({name:"DataTableBodyRadio",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,componentId:n}=Ue(Oo);return()=>{const{rowKey:o}=e;return v(Z2,{name:n,disabled:e.disabled,checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}});function KU(e,t){const n=[];function o(r,i){r.forEach(a=>{a.children&&t.has(a.key)?(n.push({tmNode:a,striped:!1,key:a.key,index:i}),o(a.children,i)):n.push({key:a.key,tmNode:a,striped:!1,index:i})})}return e.forEach(r=>{n.push(r);const{children:i}=r.tmNode;i&&t.has(r.key)&&o(i,r.index)}),n}const GU=be({props:{clsPrefix:{type:String,required:!0},id:{type:String,required:!0},cols:{type:Array,required:!0},onMouseenter:Function,onMouseleave:Function},render(){const{clsPrefix:e,id:t,cols:n,onMouseenter:o,onMouseleave:r}=this;return v("table",{style:{tableLayout:"fixed"},class:`${e}-data-table-table`,onMouseenter:o,onMouseleave:r},v("colgroup",null,n.map(i=>v("col",{key:i.key,style:i.style}))),v("tbody",{"data-n-id":t,class:`${e}-data-table-tbody`},this.$slots))}}),YU=be({name:"DataTableBody",props:{onResize:Function,showHeader:Boolean,flexHeight:Boolean,bodyStyle:Object},setup(e){const{slots:t,bodyWidthRef:n,mergedExpandedRowKeysRef:o,mergedClsPrefixRef:r,mergedThemeRef:i,scrollXRef:a,colsRef:s,paginatedDataRef:l,rawPaginatedDataRef:c,fixedColumnLeftMapRef:u,fixedColumnRightMapRef:d,mergedCurrentPageRef:f,rowClassNameRef:h,leftActiveFixedColKeyRef:p,leftActiveFixedChildrenColKeysRef:g,rightActiveFixedColKeyRef:m,rightActiveFixedChildrenColKeysRef:b,renderExpandRef:_,hoverKeyRef:C,summaryRef:S,mergedSortStateRef:w,virtualScrollRef:x,componentId:y,mergedTableLayoutRef:P,childTriggerColIndexRef:k,indentRef:T,rowPropsRef:E,maxHeightRef:R,stripedRef:K,loadingRef:N,onLoadRef:D,loadingKeySetRef:M,expandableRef:G,stickyExpandedRowsRef:J,renderExpandIconRef:he,summaryPlacementRef:pe,treeMateRef:B,scrollbarPropsRef:$,setHeaderScrollLeft:A,doUpdateExpandedRowKeys:Y,handleTableBodyScroll:ne,doCheck:fe,doUncheck:Q,renderCell:xe}=Ue(Oo),H=W(null),ye=W(null),Oe=W(null),Ne=kt(()=>l.value.length===0),L=kt(()=>e.showHeader||!Ne.value),O=kt(()=>e.showHeader||Ne.value);let oe="";const _e=F(()=>new Set(o.value));function te(Pe){var Fe;return(Fe=B.value.getNode(Pe))===null||Fe===void 0?void 0:Fe.rawNode}function ge(Pe,Fe,He){const Ie=te(Pe.key);if(!Ie){lr("data-table",`fail to get row data with key ${Pe.key}`);return}if(He){const Qe=l.value.findIndex(Ct=>Ct.key===oe);if(Qe!==-1){const Ct=l.value.findIndex(Ke=>Ke.key===Pe.key),X=Math.min(Qe,Ct),ve=Math.max(Qe,Ct),Ae=[];l.value.slice(X,ve+1).forEach(Ke=>{Ke.disabled||Ae.push(Ke.key)}),Fe?fe(Ae,!1,Ie):Q(Ae,Ie),oe=Pe.key;return}}Fe?fe(Pe.key,!1,Ie):Q(Pe.key,Ie),oe=Pe.key}function ke(Pe){const Fe=te(Pe.key);if(!Fe){lr("data-table",`fail to get row data with key ${Pe.key}`);return}fe(Pe.key,!0,Fe)}function I(){if(!L.value){const{value:Fe}=Oe;return Fe||null}if(x.value)return Ce();const{value:Pe}=H;return Pe?Pe.containerRef:null}function j(Pe,Fe){var He;if(M.value.has(Pe))return;const{value:Ie}=o,Qe=Ie.indexOf(Pe),Ct=Array.from(Ie);~Qe?(Ct.splice(Qe,1),Y(Ct)):Fe&&!Fe.isLeaf&&!Fe.shallowLoaded?(M.value.add(Pe),(He=D.value)===null||He===void 0||He.call(D,Fe.rawNode).then(()=>{const{value:X}=o,ve=Array.from(X);~ve.indexOf(Pe)||ve.push(Pe),Y(ve)}).finally(()=>{M.value.delete(Pe)})):(Ct.push(Pe),Y(Ct))}function ee(){C.value=null}function Ce(){const{value:Pe}=ye;return(Pe==null?void 0:Pe.listElRef)||null}function ce(){const{value:Pe}=ye;return(Pe==null?void 0:Pe.itemsElRef)||null}function le(Pe){var Fe;ne(Pe),(Fe=H.value)===null||Fe===void 0||Fe.sync()}function re(Pe){var Fe;const{onResize:He}=e;He&&He(Pe),(Fe=H.value)===null||Fe===void 0||Fe.sync()}const de={getScrollContainer:I,scrollTo(Pe,Fe){var He,Ie;x.value?(He=ye.value)===null||He===void 0||He.scrollTo(Pe,Fe):(Ie=H.value)===null||Ie===void 0||Ie.scrollTo(Pe,Fe)}},De=q([({props:Pe})=>{const Fe=Ie=>Ie===null?null:q(`[data-n-id="${Pe.componentId}"] [data-col-key="${Ie}"]::after`,{boxShadow:"var(--n-box-shadow-after)"}),He=Ie=>Ie===null?null:q(`[data-n-id="${Pe.componentId}"] [data-col-key="${Ie}"]::before`,{boxShadow:"var(--n-box-shadow-before)"});return q([Fe(Pe.leftActiveFixedColKey),He(Pe.rightActiveFixedColKey),Pe.leftActiveFixedChildrenColKeys.map(Ie=>Fe(Ie)),Pe.rightActiveFixedChildrenColKeys.map(Ie=>He(Ie))])}]);let Le=!1;return Xt(()=>{const{value:Pe}=p,{value:Fe}=g,{value:He}=m,{value:Ie}=b;if(!Le&&Pe===null&&He===null)return;const Qe={leftActiveFixedColKey:Pe,leftActiveFixedChildrenColKeys:Fe,rightActiveFixedColKey:He,rightActiveFixedChildrenColKeys:Ie,componentId:y};De.mount({id:`n-${y}`,force:!0,props:Qe,anchorMetaName:$a}),Le=!0}),Ma(()=>{De.unmount({id:`n-${y}`})}),Object.assign({bodyWidth:n,summaryPlacement:pe,dataTableSlots:t,componentId:y,scrollbarInstRef:H,virtualListRef:ye,emptyElRef:Oe,summary:S,mergedClsPrefix:r,mergedTheme:i,scrollX:a,cols:s,loading:N,bodyShowHeaderOnly:O,shouldDisplaySomeTablePart:L,empty:Ne,paginatedDataAndInfo:F(()=>{const{value:Pe}=K;let Fe=!1;return{data:l.value.map(Pe?(Ie,Qe)=>(Ie.isLeaf||(Fe=!0),{tmNode:Ie,key:Ie.key,striped:Qe%2===1,index:Qe}):(Ie,Qe)=>(Ie.isLeaf||(Fe=!0),{tmNode:Ie,key:Ie.key,striped:!1,index:Qe})),hasChildren:Fe}}),rawPaginatedData:c,fixedColumnLeftMap:u,fixedColumnRightMap:d,currentPage:f,rowClassName:h,renderExpand:_,mergedExpandedRowKeySet:_e,hoverKey:C,mergedSortState:w,virtualScroll:x,mergedTableLayout:P,childTriggerColIndex:k,indent:T,rowProps:E,maxHeight:R,loadingKeySet:M,expandable:G,stickyExpandedRows:J,renderExpandIcon:he,scrollbarProps:$,setHeaderScrollLeft:A,handleVirtualListScroll:le,handleVirtualListResize:re,handleMouseleaveTable:ee,virtualListContainer:Ce,virtualListContent:ce,handleTableBodyScroll:ne,handleCheckboxUpdateChecked:ge,handleRadioUpdateChecked:ke,handleUpdateExpanded:j,renderCell:xe},de)},render(){const{mergedTheme:e,scrollX:t,mergedClsPrefix:n,virtualScroll:o,maxHeight:r,mergedTableLayout:i,flexHeight:a,loadingKeySet:s,onResize:l,setHeaderScrollLeft:c}=this,u=t!==void 0||r!==void 0||a,d=!u&&i==="auto",f=t!==void 0||d,h={minWidth:qt(t)||"100%"};t&&(h.width="100%");const p=v(Io,Object.assign({},this.scrollbarProps,{ref:"scrollbarInstRef",scrollable:u||d,class:`${n}-data-table-base-table-body`,style:this.empty?void 0:this.bodyStyle,theme:e.peers.Scrollbar,themeOverrides:e.peerOverrides.Scrollbar,contentStyle:h,container:o?this.virtualListContainer:void 0,content:o?this.virtualListContent:void 0,horizontalRailStyle:{zIndex:3},verticalRailStyle:{zIndex:3},xScrollable:f,onScroll:o?void 0:this.handleTableBodyScroll,internalOnUpdateScrollLeft:c,onResize:l}),{default:()=>{const g={},m={},{cols:b,paginatedDataAndInfo:_,mergedTheme:C,fixedColumnLeftMap:S,fixedColumnRightMap:w,currentPage:x,rowClassName:y,mergedSortState:P,mergedExpandedRowKeySet:k,stickyExpandedRows:T,componentId:E,childTriggerColIndex:R,expandable:K,rowProps:N,handleMouseleaveTable:D,renderExpand:M,summary:G,handleCheckboxUpdateChecked:J,handleRadioUpdateChecked:he,handleUpdateExpanded:pe}=this,{length:B}=b;let $;const{data:A,hasChildren:Y}=_,ne=Y?KU(A,k):A;if(G){const L=G(this.rawPaginatedData);if(Array.isArray(L)){const O=L.map((oe,_e)=>({isSummaryRow:!0,key:`__n_summary__${_e}`,tmNode:{rawNode:oe,disabled:!0},index:-1}));$=this.summaryPlacement==="top"?[...O,...ne]:[...ne,...O]}else{const O={isSummaryRow:!0,key:"__n_summary__",tmNode:{rawNode:L,disabled:!0},index:-1};$=this.summaryPlacement==="top"?[O,...ne]:[...ne,O]}}else $=ne;const fe=Y?{width:zn(this.indent)}:void 0,Q=[];$.forEach(L=>{M&&k.has(L.key)&&(!K||K(L.tmNode.rawNode))?Q.push(L,{isExpandedRow:!0,key:`${L.key}-expand`,tmNode:L.tmNode,index:L.index}):Q.push(L)});const{length:xe}=Q,H={};A.forEach(({tmNode:L},O)=>{H[O]=L.key});const ye=T?this.bodyWidth:null,Oe=ye===null?void 0:`${ye}px`,Ne=(L,O,oe)=>{const{index:_e}=L;if("isExpandedRow"in L){const{tmNode:{key:re,rawNode:de}}=L;return v("tr",{class:`${n}-data-table-tr ${n}-data-table-tr--expanded`,key:`${re}__expand`},v("td",{class:[`${n}-data-table-td`,`${n}-data-table-td--last-col`,O+1===xe&&`${n}-data-table-td--last-row`],colspan:B},T?v("div",{class:`${n}-data-table-expand`,style:{width:Oe}},M(de,_e)):M(de,_e)))}const te="isSummaryRow"in L,ge=!te&&L.striped,{tmNode:ke,key:I}=L,{rawNode:j}=ke,ee=k.has(I),Ce=N?N(j,_e):void 0,ce=typeof y=="string"?y:vU(j,_e,y);return v("tr",Object.assign({onMouseenter:()=>{this.hoverKey=I},key:I,class:[`${n}-data-table-tr`,te&&`${n}-data-table-tr--summary`,ge&&`${n}-data-table-tr--striped`,ee&&`${n}-data-table-tr--expanded`,ce]},Ce),b.map((re,de)=>{var De,Le,Pe,Fe,He;if(O in g){const Dt=g[O],Se=Dt.indexOf(de);if(~Se)return Dt.splice(Se,1),null}const{column:Ie}=re,Qe=wo(re),{rowSpan:Ct,colSpan:X}=Ie,ve=te?((De=L.tmNode.rawNode[Qe])===null||De===void 0?void 0:De.colSpan)||1:X?X(j,_e):1,Ae=te?((Le=L.tmNode.rawNode[Qe])===null||Le===void 0?void 0:Le.rowSpan)||1:Ct?Ct(j,_e):1,Ke=de+ve===B,Ze=O+Ae===xe,Je=Ae>1;if(Je&&(m[O]={[de]:[]}),ve>1||Je)for(let Dt=O;Dt<O+Ae;++Dt){Je&&m[O][de].push(H[Dt]);for(let Se=de;Se<de+ve;++Se)Dt===O&&Se===de||(Dt in g?g[Dt].push(Se):g[Dt]=[Se])}const tt=Je?this.hoverKey:null,{cellProps:rt}=Ie,vt=rt==null?void 0:rt(j,_e),sn={"--indent-offset":""};return v("td",Object.assign({},vt,{key:Qe,style:[{textAlign:Ie.align||void 0,left:zn((Pe=S[Qe])===null||Pe===void 0?void 0:Pe.start),right:zn((Fe=w[Qe])===null||Fe===void 0?void 0:Fe.start)},sn,(vt==null?void 0:vt.style)||""],colspan:ve,rowspan:oe?void 0:Ae,"data-col-key":Qe,class:[`${n}-data-table-td`,Ie.className,vt==null?void 0:vt.class,te&&`${n}-data-table-td--summary`,tt!==null&&m[O][de].includes(tt)&&`${n}-data-table-td--hover`,nS(Ie,P)&&`${n}-data-table-td--sorting`,Ie.fixed&&`${n}-data-table-td--fixed-${Ie.fixed}`,Ie.align&&`${n}-data-table-td--${Ie.align}-align`,Ie.type==="selection"&&`${n}-data-table-td--selection`,Ie.type==="expand"&&`${n}-data-table-td--expand`,Ke&&`${n}-data-table-td--last-col`,Ze&&`${n}-data-table-td--last-row`]}),Y&&de===R?[pw(sn["--indent-offset"]=te?0:L.tmNode.level,v("div",{class:`${n}-data-table-indent`,style:fe})),te||L.tmNode.isLeaf?v("div",{class:`${n}-data-table-expand-placeholder`}):v(u1,{class:`${n}-data-table-expand-trigger`,clsPrefix:n,expanded:ee,renderExpandIcon:this.renderExpandIcon,loading:s.has(L.key),onClick:()=>{pe(I,L.tmNode)}})]:null,Ie.type==="selection"?te?null:Ie.multiple===!1?v(qU,{key:x,rowKey:I,disabled:L.tmNode.disabled,onUpdateChecked:()=>{he(L.tmNode)}}):v(UU,{key:x,rowKey:I,disabled:L.tmNode.disabled,onUpdateChecked:(Dt,Se)=>{J(L.tmNode,Dt,Se.shiftKey)}}):Ie.type==="expand"?te?null:!Ie.expandable||!((He=Ie.expandable)===null||He===void 0)&&He.call(Ie,j)?v(u1,{clsPrefix:n,expanded:ee,renderExpandIcon:this.renderExpandIcon,onClick:()=>{pe(I,null)}}):null:v(WU,{clsPrefix:n,index:_e,row:j,column:Ie,isSummary:te,mergedTheme:C,renderCell:this.renderCell}))}))};return o?v(Nw,{ref:"virtualListRef",items:Q,itemSize:28,visibleItemsTag:GU,visibleItemsProps:{clsPrefix:n,id:E,cols:b,onMouseleave:D},showScrollbar:!1,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemsStyle:h,itemResizable:!0},{default:({item:L,index:O})=>Ne(L,O,!0)}):v("table",{class:`${n}-data-table-table`,onMouseleave:D,style:{tableLayout:this.mergedTableLayout}},v("colgroup",null,b.map(L=>v("col",{key:L.key,style:L.style}))),this.showHeader?v(uS,{discrete:!1}):null,this.empty?null:v("tbody",{"data-n-id":E,class:`${n}-data-table-tbody`},Q.map((L,O)=>Ne(L,O,!1))))}});if(this.empty){const g=()=>v("div",{class:[`${n}-data-table-empty`,this.loading&&`${n}-data-table-empty--hide`],style:this.bodyStyle,ref:"emptyElRef"},An(this.dataTableSlots.empty,()=>[v(G_,{theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})]));return this.shouldDisplaySomeTablePart?v(it,null,p,g()):v(cr,{onResize:this.onResize},{default:g})}return p}}),XU=be({name:"MainTable",setup(){const{mergedClsPrefixRef:e,rightFixedColumnsRef:t,leftFixedColumnsRef:n,bodyWidthRef:o,maxHeightRef:r,minHeightRef:i,flexHeightRef:a,syncScrollState:s}=Ue(Oo),l=W(null),c=W(null),u=W(null),d=W(!(n.value.length||t.value.length)),f=F(()=>({maxHeight:qt(r.value),minHeight:qt(i.value)}));function h(b){o.value=b.contentRect.width,s(),d.value||(d.value=!0)}function p(){const{value:b}=l;return b?b.$el:null}function g(){const{value:b}=c;return b?b.getScrollContainer():null}const m={getBodyElement:g,getHeaderElement:p,scrollTo(b,_){var C;(C=c.value)===null||C===void 0||C.scrollTo(b,_)}};return Xt(()=>{const{value:b}=u;if(!b)return;const _=`${e.value}-data-table-base-table--transition-disabled`;d.value?setTimeout(()=>{b.classList.remove(_)},0):b.classList.add(_)}),Object.assign({maxHeight:r,mergedClsPrefix:e,selfElRef:u,headerInstRef:l,bodyInstRef:c,bodyStyle:f,flexHeight:a,handleBodyResize:h},m)},render(){const{mergedClsPrefix:e,maxHeight:t,flexHeight:n}=this,o=t===void 0&&!n;return v("div",{class:`${e}-data-table-base-table`,ref:"selfElRef"},o?null:v(uS,{ref:"headerInstRef"}),v(YU,{ref:"bodyInstRef",bodyStyle:this.bodyStyle,showHeader:o,flexHeight:n,onResize:this.handleBodyResize}))}});function ZU(e,t){const{paginatedDataRef:n,treeMateRef:o,selectionColumnRef:r}=t,i=W(e.defaultCheckedRowKeys),a=F(()=>{var w;const{checkedRowKeys:x}=e,y=x===void 0?i.value:x;return((w=r.value)===null||w===void 0?void 0:w.multiple)===!1?{checkedKeys:y.slice(0,1),indeterminateKeys:[]}:o.value.getCheckedKeys(y,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded})}),s=F(()=>a.value.checkedKeys),l=F(()=>a.value.indeterminateKeys),c=F(()=>new Set(s.value)),u=F(()=>new Set(l.value)),d=F(()=>{const{value:w}=c;return n.value.reduce((x,y)=>{const{key:P,disabled:k}=y;return x+(!k&&w.has(P)?1:0)},0)}),f=F(()=>n.value.filter(w=>w.disabled).length),h=F(()=>{const{length:w}=n.value,{value:x}=u;return d.value>0&&d.value<w-f.value||n.value.some(y=>x.has(y.key))}),p=F(()=>{const{length:w}=n.value;return d.value!==0&&d.value===w-f.value}),g=F(()=>n.value.length===0);function m(w,x,y){const{"onUpdate:checkedRowKeys":P,onUpdateCheckedRowKeys:k,onCheckedRowKeysChange:T}=e,E=[],{value:{getNode:R}}=o;w.forEach(K=>{var N;const D=(N=R(K))===null||N===void 0?void 0:N.rawNode;E.push(D)}),P&&$e(P,w,E,{row:x,action:y}),k&&$e(k,w,E,{row:x,action:y}),T&&$e(T,w,E,{row:x,action:y}),i.value=w}function b(w,x=!1,y){if(!e.loading){if(x){m(Array.isArray(w)?w.slice(0,1):[w],y,"check");return}m(o.value.check(w,s.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,y,"check")}}function _(w,x){e.loading||m(o.value.uncheck(w,s.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,x,"uncheck")}function C(w=!1){const{value:x}=r;if(!x||e.loading)return;const y=[];(w?o.value.treeNodes:n.value).forEach(P=>{P.disabled||y.push(P.key)}),m(o.value.check(y,s.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"checkAll")}function S(w=!1){const{value:x}=r;if(!x||e.loading)return;const y=[];(w?o.value.treeNodes:n.value).forEach(P=>{P.disabled||y.push(P.key)}),m(o.value.uncheck(y,s.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"uncheckAll")}return{mergedCheckedRowKeySetRef:c,mergedCheckedRowKeysRef:s,mergedInderminateRowKeySetRef:u,someRowsCheckedRef:h,allRowsCheckedRef:p,headerCheckboxDisabledRef:g,doUpdateCheckedRowKeys:m,doCheckAll:C,doUncheckAll:S,doCheck:b,doUncheck:_}}function Vl(e){return typeof e=="object"&&typeof e.multiple=="number"?e.multiple:!1}function JU(e,t){return t&&(e===void 0||e==="default"||typeof e=="object"&&e.compare==="default")?QU(t):typeof e=="function"?e:e&&typeof e=="object"&&e.compare&&e.compare!=="default"?e.compare:!1}function QU(e){return(t,n)=>{const o=t[e],r=n[e];return o==null?r==null?0:-1:r==null?1:typeof o=="number"&&typeof r=="number"?o-r:typeof o=="string"&&typeof r=="string"?o.localeCompare(r):0}}function eq(e,{dataRelatedColsRef:t,filteredDataRef:n}){const o=[];t.value.forEach(h=>{var p;h.sorter!==void 0&&f(o,{columnKey:h.key,sorter:h.sorter,order:(p=h.defaultSortOrder)!==null&&p!==void 0?p:!1})});const r=W(o),i=F(()=>{const h=t.value.filter(m=>m.type!=="selection"&&m.sorter!==void 0&&(m.sortOrder==="ascend"||m.sortOrder==="descend"||m.sortOrder===!1)),p=h.filter(m=>m.sortOrder!==!1);if(p.length)return p.map(m=>({columnKey:m.key,order:m.sortOrder,sorter:m.sorter}));if(h.length)return[];const{value:g}=r;return Array.isArray(g)?g:g?[g]:[]}),a=F(()=>{const h=i.value.slice().sort((p,g)=>{const m=Vl(p.sorter)||0;return(Vl(g.sorter)||0)-m});return h.length?n.value.slice().sort((g,m)=>{let b=0;return h.some(_=>{const{columnKey:C,sorter:S,order:w}=_,x=JU(S,C);return x&&w&&(b=x(g.rawNode,m.rawNode),b!==0)?(b=b*pU(w),!0):!1}),b}):n.value});function s(h){let p=i.value.slice();return h&&Vl(h.sorter)!==!1?(p=p.filter(g=>Vl(g.sorter)!==!1),f(p,h),p):h||null}function l(h){const p=s(h);c(p)}function c(h){const{"onUpdate:sorter":p,onUpdateSorter:g,onSorterChange:m}=e;p&&$e(p,h),g&&$e(g,h),m&&$e(m,h),r.value=h}function u(h,p="ascend"){if(!h)d();else{const g=t.value.find(b=>b.type!=="selection"&&b.type!=="expand"&&b.key===h);if(!(g!=null&&g.sorter))return;const m=g.sorter;l({columnKey:h,sorter:m,order:p})}}function d(){c(null)}function f(h,p){const g=h.findIndex(m=>(p==null?void 0:p.columnKey)&&m.columnKey===p.columnKey);g!==void 0&&g>=0?h[g]=p:h.push(p)}return{clearSorter:d,sort:u,sortedDataRef:a,mergedSortStateRef:i,deriveNextSorter:l}}function tq(e,{dataRelatedColsRef:t}){const n=F(()=>{const B=$=>{for(let A=0;A<$.length;++A){const Y=$[A];if("children"in Y)return B(Y.children);if(Y.type==="selection")return Y}return null};return B(e.columns)}),o=F(()=>{const{childrenKey:B}=e;return Pi(e.data,{ignoreEmptyChildren:!0,getKey:e.rowKey,getChildren:$=>$[B],getDisabled:$=>{var A,Y;return!!(!((Y=(A=n.value)===null||A===void 0?void 0:A.disabled)===null||Y===void 0)&&Y.call(A,$))}})}),r=kt(()=>{const{columns:B}=e,{length:$}=B;let A=null;for(let Y=0;Y<$;++Y){const ne=B[Y];if(!ne.type&&A===null&&(A=Y),"tree"in ne&&ne.tree)return Y}return A||0}),i=W({}),{pagination:a}=e,s=W(a&&a.defaultPage||1),l=W(F2(a)),c=F(()=>{const B=t.value.filter(Y=>Y.filterOptionValues!==void 0||Y.filterOptionValue!==void 0),$={};return B.forEach(Y=>{var ne;Y.type==="selection"||Y.type==="expand"||(Y.filterOptionValues===void 0?$[Y.key]=(ne=Y.filterOptionValue)!==null&&ne!==void 0?ne:null:$[Y.key]=Y.filterOptionValues)}),Object.assign(a1(i.value),$)}),u=F(()=>{const B=c.value,{columns:$}=e;function A(fe){return(Q,xe)=>!!~String(xe[fe]).indexOf(String(Q))}const{value:{treeNodes:Y}}=o,ne=[];return $.forEach(fe=>{fe.type==="selection"||fe.type==="expand"||"children"in fe||ne.push([fe.key,fe])}),Y?Y.filter(fe=>{const{rawNode:Q}=fe;for(const[xe,H]of ne){let ye=B[xe];if(ye==null||(Array.isArray(ye)||(ye=[ye]),!ye.length))continue;const Oe=H.filter==="default"?A(xe):H.filter;if(H&&typeof Oe=="function")if(H.filterMode==="and"){if(ye.some(Ne=>!Oe(Ne,Q)))return!1}else{if(ye.some(Ne=>Oe(Ne,Q)))continue;return!1}}return!0}):[]}),{sortedDataRef:d,deriveNextSorter:f,mergedSortStateRef:h,sort:p,clearSorter:g}=eq(e,{dataRelatedColsRef:t,filteredDataRef:u});t.value.forEach(B=>{var $;if(B.filter){const A=B.defaultFilterOptionValues;B.filterMultiple?i.value[B.key]=A||[]:A!==void 0?i.value[B.key]=A===null?[]:A:i.value[B.key]=($=B.defaultFilterOptionValue)!==null&&$!==void 0?$:null}});const m=F(()=>{const{pagination:B}=e;if(B!==!1)return B.page}),b=F(()=>{const{pagination:B}=e;if(B!==!1)return B.pageSize}),_=an(m,s),C=an(b,l),S=kt(()=>{const B=_.value;return e.remote?B:Math.max(1,Math.min(Math.ceil(u.value.length/C.value),B))}),w=F(()=>{const{pagination:B}=e;if(B){const{pageCount:$}=B;if($!==void 0)return $}}),x=F(()=>{if(e.remote)return o.value.treeNodes;if(!e.pagination)return d.value;const B=C.value,$=(S.value-1)*B;return d.value.slice($,$+B)}),y=F(()=>x.value.map(B=>B.rawNode));function P(B){const{pagination:$}=e;if($){const{onChange:A,"onUpdate:page":Y,onUpdatePage:ne}=$;A&&$e(A,B),ne&&$e(ne,B),Y&&$e(Y,B),R(B)}}function k(B){const{pagination:$}=e;if($){const{onPageSizeChange:A,"onUpdate:pageSize":Y,onUpdatePageSize:ne}=$;A&&$e(A,B),ne&&$e(ne,B),Y&&$e(Y,B),K(B)}}const T=F(()=>{if(e.remote){const{pagination:B}=e;if(B){const{itemCount:$}=B;if($!==void 0)return $}return}return u.value.length}),E=F(()=>Object.assign(Object.assign({},e.pagination),{onChange:void 0,onUpdatePage:void 0,onUpdatePageSize:void 0,onPageSizeChange:void 0,"onUpdate:page":P,"onUpdate:pageSize":k,page:S.value,pageSize:C.value,pageCount:T.value===void 0?w.value:void 0,itemCount:T.value}));function R(B){const{"onUpdate:page":$,onPageChange:A,onUpdatePage:Y}=e;Y&&$e(Y,B),$&&$e($,B),A&&$e(A,B),s.value=B}function K(B){const{"onUpdate:pageSize":$,onPageSizeChange:A,onUpdatePageSize:Y}=e;A&&$e(A,B),Y&&$e(Y,B),$&&$e($,B),l.value=B}function N(B,$){const{onUpdateFilters:A,"onUpdate:filters":Y,onFiltersChange:ne}=e;A&&$e(A,B,$),Y&&$e(Y,B,$),ne&&$e(ne,B,$),i.value=B}function D(B,$,A,Y){var ne;(ne=e.onUnstableColumnResize)===null||ne===void 0||ne.call(e,B,$,A,Y)}function M(B){R(B)}function G(){J()}function J(){he({})}function he(B){pe(B)}function pe(B){B?B&&(i.value=a1(B)):i.value={}}return{treeMateRef:o,mergedCurrentPageRef:S,mergedPaginationRef:E,paginatedDataRef:x,rawPaginatedDataRef:y,mergedFilterStateRef:c,mergedSortStateRef:h,hoverKeyRef:W(null),selectionColumnRef:n,childTriggerColIndexRef:r,doUpdateFilters:N,deriveNextSorter:f,doUpdatePageSize:K,doUpdatePage:R,onUnstableColumnResize:D,filter:pe,filters:he,clearFilter:G,clearFilters:J,clearSorter:g,page:M,sort:p}}function nq(e,{mainTableInstRef:t,mergedCurrentPageRef:n,bodyWidthRef:o}){let r=0;const i=W(),a=W(null),s=W([]),l=W(null),c=W([]),u=F(()=>qt(e.scrollX)),d=F(()=>e.columns.filter(k=>k.fixed==="left")),f=F(()=>e.columns.filter(k=>k.fixed==="right")),h=F(()=>{const k={};let T=0;function E(R){R.forEach(K=>{const N={start:T,end:0};k[wo(K)]=N,"children"in K?(E(K.children),N.end=T):(T+=i1(K)||0,N.end=T)})}return E(d.value),k}),p=F(()=>{const k={};let T=0;function E(R){for(let K=R.length-1;K>=0;--K){const N=R[K],D={start:T,end:0};k[wo(N)]=D,"children"in N?(E(N.children),D.end=T):(T+=i1(N)||0,D.end=T)}}return E(f.value),k});function g(){var k,T;const{value:E}=d;let R=0;const{value:K}=h;let N=null;for(let D=0;D<E.length;++D){const M=wo(E[D]);if(r>(((k=K[M])===null||k===void 0?void 0:k.start)||0)-R)N=M,R=((T=K[M])===null||T===void 0?void 0:T.end)||0;else break}a.value=N}function m(){s.value=[];let k=e.columns.find(T=>wo(T)===a.value);for(;k&&"children"in k;){const T=k.children.length;if(T===0)break;const E=k.children[T-1];s.value.push(wo(E)),k=E}}function b(){var k,T;const{value:E}=f,R=Number(e.scrollX),{value:K}=o;if(K===null)return;let N=0,D=null;const{value:M}=p;for(let G=E.length-1;G>=0;--G){const J=wo(E[G]);if(Math.round(r+(((k=M[J])===null||k===void 0?void 0:k.start)||0)+K-N)<R)D=J,N=((T=M[J])===null||T===void 0?void 0:T.end)||0;else break}l.value=D}function _(){c.value=[];let k=e.columns.find(T=>wo(T)===l.value);for(;k&&"children"in k&&k.children.length;){const T=k.children[0];c.value.push(wo(T)),k=T}}function C(){const k=t.value?t.value.getHeaderElement():null,T=t.value?t.value.getBodyElement():null;return{header:k,body:T}}function S(){const{body:k}=C();k&&(k.scrollTop=0)}function w(){i.value!=="body"?Rc(y):i.value=void 0}function x(k){var T;(T=e.onScroll)===null||T===void 0||T.call(e,k),i.value!=="head"?Rc(y):i.value=void 0}function y(){const{header:k,body:T}=C();if(!T)return;const{value:E}=o;if(E!==null){if(e.maxHeight||e.flexHeight){if(!k)return;const R=r-k.scrollLeft;i.value=R!==0?"head":"body",i.value==="head"?(r=k.scrollLeft,T.scrollLeft=r):(r=T.scrollLeft,k.scrollLeft=r)}else r=T.scrollLeft;g(),m(),b(),_()}}function P(k){const{header:T}=C();T&&(T.scrollLeft=k,y())}return ft(n,()=>{S()}),{styleScrollXRef:u,fixedColumnLeftMapRef:h,fixedColumnRightMapRef:p,leftFixedColumnsRef:d,rightFixedColumnsRef:f,leftActiveFixedColKeyRef:a,leftActiveFixedChildrenColKeysRef:s,rightActiveFixedColKeyRef:l,rightActiveFixedChildrenColKeysRef:c,syncScrollState:y,handleTableBodyScroll:x,handleTableHeaderScroll:w,setHeaderScrollLeft:P}}function oq(){const e=W({});function t(r){return e.value[r]}function n(r,i){tS(r)&&"key"in r&&(e.value[r.key]=i)}function o(){e.value={}}return{getResizableWidth:t,doUpdateResizableWidth:n,clearResizableWidth:o}}function rq(e,t){const n=[],o=[],r=[],i=new WeakMap;let a=-1,s=0,l=!1;function c(f,h){h>a&&(n[h]=[],a=h);for(const p of f)if("children"in p)c(p.children,h+1);else{const g="key"in p?p.key:void 0;o.push({key:wo(p),style:gU(p,g!==void 0?qt(t(g)):void 0),column:p}),s+=1,l||(l=!!p.ellipsis),r.push(p)}}c(e,0);let u=0;function d(f,h){let p=0;f.forEach(g=>{var m;if("children"in g){const b=u,_={column:g,colSpan:0,rowSpan:1,isLast:!1};d(g.children,h+1),g.children.forEach(C=>{var S,w;_.colSpan+=(w=(S=i.get(C))===null||S===void 0?void 0:S.colSpan)!==null&&w!==void 0?w:0}),b+_.colSpan===s&&(_.isLast=!0),i.set(g,_),n[h].push(_)}else{if(u<p){u+=1;return}let b=1;"titleColSpan"in g&&(b=(m=g.titleColSpan)!==null&&m!==void 0?m:1),b>1&&(p=u+b);const _=u+b===s,C={column:g,colSpan:b,rowSpan:a-h+1,isLast:_};i.set(g,C),n[h].push(C),u+=1}})}return d(e,0),{hasEllipsis:l,rows:n,cols:o,dataRelatedCols:r}}function iq(e,t){const n=F(()=>rq(e.columns,t));return{rowsRef:F(()=>n.value.rows),colsRef:F(()=>n.value.cols),hasEllipsisRef:F(()=>n.value.hasEllipsis),dataRelatedColsRef:F(()=>n.value.dataRelatedCols)}}function aq(e,t){const n=kt(()=>{for(const c of e.columns)if(c.type==="expand")return c.renderExpand}),o=kt(()=>{let c;for(const u of e.columns)if(u.type==="expand"){c=u.expandable;break}return c}),r=W(e.defaultExpandAll?n!=null&&n.value?(()=>{const c=[];return t.value.treeNodes.forEach(u=>{var d;!((d=o.value)===null||d===void 0)&&d.call(o,u.rawNode)&&c.push(u.key)}),c})():t.value.getNonLeafKeys():e.defaultExpandedRowKeys),i=We(e,"expandedRowKeys"),a=We(e,"stickyExpandedRows"),s=an(i,r);function l(c){const{onUpdateExpandedRowKeys:u,"onUpdate:expandedRowKeys":d}=e;u&&$e(u,c),d&&$e(d,c),r.value=c}return{stickyExpandedRowsRef:a,mergedExpandedRowKeysRef:s,renderExpandRef:n,expandableRef:o,doUpdateExpandedRowKeys:l}}const d1=lq(),sq=q([z("data-table",`
width: 100%;
font-size: var(--n-font-size);
display: flex;
flex-direction: column;
position: relative;
--n-merged-th-color: var(--n-th-color);
--n-merged-td-color: var(--n-td-color);
--n-merged-border-color: var(--n-border-color);
--n-merged-th-color-sorting: var(--n-th-color-sorting);
--n-merged-td-color-hover: var(--n-td-color-hover);
--n-merged-td-color-sorting: var(--n-td-color-sorting);
--n-merged-td-color-striped: var(--n-td-color-striped);
`,[z("data-table-wrapper",`
flex-grow: 1;
display: flex;
flex-direction: column;
`),Z("flex-height",[q(">",[z("data-table-wrapper",[q(">",[z("data-table-base-table",`
display: flex;
flex-direction: column;
flex-grow: 1;
`,[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;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
transition: color .3s var(--n-bezier);
display: flex;
align-items: center;
justify-content: center;
`,[qa({originalTransform:"translateX(-50%) translateY(-50%)"})])]),z("data-table-expand-placeholder",`
margin-right: 8px;
display: inline-block;
width: 16px;
height: 1px;
`),z("data-table-indent",`
display: inline-block;
height: 1px;
`),z("data-table-expand-trigger",`
display: inline-flex;
margin-right: 8px;
cursor: pointer;
font-size: 16px;
vertical-align: -0.2em;
position: relative;
width: 16px;
height: 16px;
color: var(--n-td-text-color);
transition: color .3s var(--n-bezier);
`,[Z("expanded",[z("icon","transform: rotate(90deg);",[qn({originalTransform:"rotate(90deg)"})]),z("base-icon","transform: rotate(90deg);",[qn({originalTransform:"rotate(90deg)"})])]),z("base-loading",`
color: var(--n-loading-color);
transition: color .3s var(--n-bezier);
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
`,[qn()]),z("icon",`
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
`,[qn()]),z("base-icon",`
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
`,[qn()])]),z("data-table-thead",`
transition: background-color .3s var(--n-bezier);
background-color: var(--n-merged-th-color);
`),z("data-table-tr",`
box-sizing: border-box;
background-clip: padding-box;
transition: background-color .3s var(--n-bezier);
`,[z("data-table-expand",`
position: sticky;
left: 0;
overflow: hidden;
margin: calc(var(--n-th-padding) * -1);
padding: var(--n-th-padding);
box-sizing: border-box;
`),Z("striped","background-color: var(--n-merged-td-color-striped);",[z("data-table-td","background-color: var(--n-merged-td-color-striped);")]),Rt("summary",[q("&:hover","background-color: var(--n-merged-td-color-hover);",[q(">",[z("data-table-td","background-color: var(--n-merged-td-color-hover);")])])])]),z("data-table-th",`
padding: var(--n-th-padding);
position: relative;
text-align: start;
box-sizing: border-box;
background-color: var(--n-merged-th-color);
border-color: var(--n-merged-border-color);
border-bottom: 1px solid var(--n-merged-border-color);
color: var(--n-th-text-color);
transition:
border-color .3s var(--n-bezier),
color .3s var(--n-bezier),
background-color .3s var(--n-bezier);
font-weight: var(--n-th-font-weight);
`,[Z("filterable",`
padding-right: 36px;
`,[Z("sortable",`
padding-right: calc(var(--n-th-padding) + 36px);
`)]),d1,Z("selection",`
padding: 0;
text-align: center;
line-height: 0;
z-index: 3;
`),V("title-wrapper",`
display: flex;
align-items: center;
flex-wrap: nowrap;
max-width: 100%;
`,[V("title",`
flex: 1;
min-width: 0;
`)]),V("ellipsis",`
display: inline-block;
vertical-align: bottom;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
max-width: 100%;
`),Z("hover",`
background-color: var(--n-merged-th-color-hover);
`),Z("sorting",`
background-color: var(--n-merged-th-color-sorting);
`),Z("sortable",`
cursor: pointer;
`,[V("ellipsis",`
max-width: calc(100% - 18px);
`),q("&:hover",`
background-color: var(--n-merged-th-color-hover);
`)]),z("data-table-sorter",`
height: var(--n-sorter-size);
width: var(--n-sorter-size);
margin-left: 4px;
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
vertical-align: -0.2em;
color: var(--n-th-icon-color);
transition: color .3s var(--n-bezier);
`,[z("base-icon","transition: transform .3s var(--n-bezier)"),Z("desc",[z("base-icon",`
transform: rotate(0deg);
`)]),Z("asc",[z("base-icon",`
transform: rotate(-180deg);
`)]),Z("asc, desc",`
color: var(--n-th-icon-color-active);
`)]),z("data-table-resize-button",`
width: var(--n-resizable-container-size);
position: absolute;
top: 0;
right: calc(var(--n-resizable-container-size) / 2);
bottom: 0;
cursor: col-resize;
user-select: none;
`,[q("&::after",`
width: var(--n-resizable-size);
height: 50%;
position: absolute;
top: 50%;
left: calc(var(--n-resizable-container-size) / 2);
bottom: 0;
background-color: var(--n-merged-border-color);
transform: translateY(-50%);
transition: background-color .3s var(--n-bezier);
z-index: 1;
content: '';
`),Z("active",[q("&::after",`
background-color: var(--n-th-icon-color-active);
`)]),q("&:hover::after",`
background-color: var(--n-th-icon-color-active);
`)]),z("data-table-filter",`
position: absolute;
z-index: auto;
right: 0;
width: 36px;
top: 0;
bottom: 0;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
transition:
background-color .3s var(--n-bezier),
color .3s var(--n-bezier);
font-size: var(--n-filter-size);
color: var(--n-th-icon-color);
`,[q("&:hover",`
background-color: var(--n-th-button-color-hover);
`),Z("show",`
background-color: var(--n-th-button-color-hover);
`),Z("active",`
background-color: var(--n-th-button-color-hover);
color: var(--n-th-icon-color-active);
`)])]),z("data-table-td",`
padding: var(--n-td-padding);
text-align: start;
box-sizing: border-box;
border: none;
background-color: var(--n-merged-td-color);
color: var(--n-td-text-color);
border-bottom: 1px solid var(--n-merged-border-color);
transition:
box-shadow .3s var(--n-bezier),
background-color .3s var(--n-bezier),
border-color .3s var(--n-bezier),
color .3s var(--n-bezier);
`,[Z("expand",[z("data-table-expand-trigger",`
margin-right: 0;
`)]),Z("last-row",`
border-bottom: 0 solid var(--n-merged-border-color);
`,[q("&::after",`
bottom: 0 !important;
`),q("&::before",`
bottom: 0 !important;
`)]),Z("summary",`
background-color: var(--n-merged-th-color);
`),Z("hover",`
background-color: var(--n-merged-td-color-hover);
`),Z("sorting",`
background-color: var(--n-merged-td-color-sorting);
`),V("ellipsis",`
display: inline-block;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
max-width: 100%;
vertical-align: bottom;
max-width: calc(100% - var(--indent-offset, -1.5) * 16px - 24px);
`),Z("selection, expand",`
text-align: center;
padding: 0;
line-height: 0;
`),d1]),z("data-table-empty",`
box-sizing: border-box;
padding: var(--n-empty-padding);
flex-grow: 1;
flex-shrink: 0;
opacity: 1;
display: flex;
align-items: center;
justify-content: center;
transition: opacity .3s var(--n-bezier);
`,[Z("hide",`
opacity: 0;
`)]),V("pagination",`
margin: var(--n-pagination-margin);
display: flex;
justify-content: flex-end;
`),z("data-table-wrapper",`
position: relative;
opacity: 1;
transition: opacity .3s var(--n-bezier), border-color .3s var(--n-bezier);
border-top-left-radius: var(--n-border-radius);
border-top-right-radius: var(--n-border-radius);
line-height: var(--n-line-height);
`),Z("loading",[z("data-table-wrapper",`
opacity: var(--n-opacity-loading);
pointer-events: none;
`)]),Z("single-column",[z("data-table-td",`
border-bottom: 0 solid var(--n-merged-border-color);
`,[q("&::after, &::before",`
bottom: 0 !important;
`)])]),Rt("single-line",[z("data-table-th",`
border-right: 1px solid var(--n-merged-border-color);
`,[Z("last",`
border-right: 0 solid var(--n-merged-border-color);
`)]),z("data-table-td",`
border-right: 1px solid var(--n-merged-border-color);
`,[Z("last-col",`
border-right: 0 solid var(--n-merged-border-color);
`)])]),Z("bordered",[z("data-table-wrapper",`
border: 1px solid var(--n-merged-border-color);
border-bottom-left-radius: var(--n-border-radius);
border-bottom-right-radius: var(--n-border-radius);
overflow: hidden;
`)]),z("data-table-base-table",[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;
width: 100%;
word-break: break-word;
transition: background-color .3s var(--n-bezier);
border-collapse: separate;
border-spacing: 0;
background-color: var(--n-merged-td-color);
`),z("data-table-base-table-header",`
border-top-left-radius: calc(var(--n-border-radius) - 1px);
border-top-right-radius: calc(var(--n-border-radius) - 1px);
z-index: 3;
overflow: scroll;
flex-shrink: 0;
transition: border-color .3s var(--n-bezier);
scrollbar-width: none;
`,[q("&::-webkit-scrollbar",`
width: 0;
height: 0;
`)]),z("data-table-check-extra",`
transition: color .3s var(--n-bezier);
color: var(--n-th-icon-color);
position: absolute;
font-size: 14px;
right: -4px;
top: 50%;
transform: translateY(-50%);
z-index: 1;
`)]),z("data-table-filter-menu",[z("scrollbar",`
max-height: 240px;
`),V("group",`
display: flex;
flex-direction: column;
padding: 12px 12px 0 12px;
`,[z("checkbox",`
margin-bottom: 12px;
margin-right: 0;
`),z("radio",`
margin-bottom: 12px;
margin-right: 0;
`)]),V("action",`
padding: var(--n-action-padding);
display: flex;
flex-wrap: nowrap;
justify-content: space-evenly;
border-top: 1px solid var(--n-action-divider-color);
`,[z("button",[q("&:not(:last-child)",`
margin: var(--n-action-button-margin);
`),q("&:last-child",`
margin-right: 0;
`)])]),z("divider",`
margin: 0 !important;
`)]),al(z("data-table",`
--n-merged-th-color: var(--n-th-color-modal);
--n-merged-td-color: var(--n-td-color-modal);
--n-merged-border-color: var(--n-border-color-modal);
--n-merged-th-color-hover: var(--n-th-color-hover-modal);
--n-merged-td-color-hover: var(--n-td-color-hover-modal);
--n-merged-th-color-sorting: var(--n-th-color-hover-modal);
--n-merged-td-color-sorting: var(--n-td-color-hover-modal);
--n-merged-td-color-striped: var(--n-td-color-striped-modal);
`)),ku(z("data-table",`
--n-merged-th-color: var(--n-th-color-popover);
--n-merged-td-color: var(--n-td-color-popover);
--n-merged-border-color: var(--n-border-color-popover);
--n-merged-th-color-hover: var(--n-th-color-hover-popover);
--n-merged-td-color-hover: var(--n-td-color-hover-popover);
--n-merged-th-color-sorting: var(--n-th-color-hover-popover);
--n-merged-td-color-sorting: var(--n-td-color-hover-popover);
--n-merged-td-color-striped: var(--n-td-color-striped-popover);
`))]);function lq(){return[Z("fixed-left",`
left: 0;
position: sticky;
z-index: 2;
`,[q("&::after",`
pointer-events: none;
content: "";
width: 36px;
display: inline-block;
position: absolute;
top: 0;
bottom: -1px;
transition: box-shadow .2s var(--n-bezier);
right: -36px;
`)]),Z("fixed-right",`
right: 0;
position: sticky;
z-index: 1;
`,[q("&::before",`
pointer-events: none;
content: "";
width: 36px;
display: inline-block;
position: absolute;
top: 0;
bottom: -1px;
transition: box-shadow .2s var(--n-bezier);
left: -36px;
`)])]}const Nu=be({name:"DataTable",alias:["AdvancedTable"],props:rU,setup(e,{slots:t}){const{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:i}=st(e),a=pn("DataTable",i,o),s=F(()=>{const{bottomBordered:X}=e;return n.value?!1:X!==void 0?X:!0}),l=Be("DataTable","-data-table",sq,QW,e,o),c=W(null),u=W(null),{getResizableWidth:d,clearResizableWidth:f,doUpdateResizableWidth:h}=oq(),{rowsRef:p,colsRef:g,dataRelatedColsRef:m,hasEllipsisRef:b}=iq(e,d),{treeMateRef:_,mergedCurrentPageRef:C,paginatedDataRef:S,rawPaginatedDataRef:w,selectionColumnRef:x,hoverKeyRef:y,mergedPaginationRef:P,mergedFilterStateRef:k,mergedSortStateRef:T,childTriggerColIndexRef:E,doUpdatePage:R,doUpdateFilters:K,onUnstableColumnResize:N,deriveNextSorter:D,filter:M,filters:G,clearFilter:J,clearFilters:he,clearSorter:pe,page:B,sort:$}=tq(e,{dataRelatedColsRef:m}),A=X=>{const{fileName:ve="data.csv",keepOriginalData:Ae=!1}=X||{},Ke=Ae?e.data:w.value,Ze=xU(e.columns,Ke),Je=new Blob([Ze],{type:"text/csv;charset=utf-8"}),tt=URL.createObjectURL(Je);TI(tt,ve.endsWith(".csv")?ve:`${ve}.csv`),URL.revokeObjectURL(tt)},{doCheckAll:Y,doUncheckAll:ne,doCheck:fe,doUncheck:Q,headerCheckboxDisabledRef:xe,someRowsCheckedRef:H,allRowsCheckedRef:ye,mergedCheckedRowKeySetRef:Oe,mergedInderminateRowKeySetRef:Ne}=ZU(e,{selectionColumnRef:x,treeMateRef:_,paginatedDataRef:S}),{stickyExpandedRowsRef:L,mergedExpandedRowKeysRef:O,renderExpandRef:oe,expandableRef:_e,doUpdateExpandedRowKeys:te}=aq(e,_),{handleTableBodyScroll:ge,handleTableHeaderScroll:ke,syncScrollState:I,setHeaderScrollLeft:j,leftActiveFixedColKeyRef:ee,leftActiveFixedChildrenColKeysRef:Ce,rightActiveFixedColKeyRef:ce,rightActiveFixedChildrenColKeysRef:le,leftFixedColumnsRef:re,rightFixedColumnsRef:de,fixedColumnLeftMapRef:De,fixedColumnRightMapRef:Le}=nq(e,{bodyWidthRef:c,mainTableInstRef:u,mergedCurrentPageRef:C}),{localeRef:Pe}=Hi("DataTable"),Fe=F(()=>e.virtualScroll||e.flexHeight||e.maxHeight!==void 0||b.value?"fixed":e.tableLayout);at(Oo,{props:e,treeMateRef:_,renderExpandIconRef:We(e,"renderExpandIcon"),loadingKeySetRef:W(new Set),slots:t,indentRef:We(e,"indent"),childTriggerColIndexRef:E,bodyWidthRef:c,componentId:Zr(),hoverKeyRef:y,mergedClsPrefixRef:o,mergedThemeRef:l,scrollXRef:F(()=>e.scrollX),rowsRef:p,colsRef:g,paginatedDataRef:S,leftActiveFixedColKeyRef:ee,leftActiveFixedChildrenColKeysRef:Ce,rightActiveFixedColKeyRef:ce,rightActiveFixedChildrenColKeysRef:le,leftFixedColumnsRef:re,rightFixedColumnsRef:de,fixedColumnLeftMapRef:De,fixedColumnRightMapRef:Le,mergedCurrentPageRef:C,someRowsCheckedRef:H,allRowsCheckedRef:ye,mergedSortStateRef:T,mergedFilterStateRef:k,loadingRef:We(e,"loading"),rowClassNameRef:We(e,"rowClassName"),mergedCheckedRowKeySetRef:Oe,mergedExpandedRowKeysRef:O,mergedInderminateRowKeySetRef:Ne,localeRef:Pe,expandableRef:_e,stickyExpandedRowsRef:L,rowKeyRef:We(e,"rowKey"),renderExpandRef:oe,summaryRef:We(e,"summary"),virtualScrollRef:We(e,"virtualScroll"),rowPropsRef:We(e,"rowProps"),stripedRef:We(e,"striped"),checkOptionsRef:F(()=>{const{value:X}=x;return X==null?void 0:X.options}),rawPaginatedDataRef:w,filterMenuCssVarsRef:F(()=>{const{self:{actionDividerColor:X,actionPadding:ve,actionButtonMargin:Ae}}=l.value;return{"--n-action-padding":ve,"--n-action-button-margin":Ae,"--n-action-divider-color":X}}),onLoadRef:We(e,"onLoad"),mergedTableLayoutRef:Fe,maxHeightRef:We(e,"maxHeight"),minHeightRef:We(e,"minHeight"),flexHeightRef:We(e,"flexHeight"),headerCheckboxDisabledRef:xe,paginationBehaviorOnFilterRef:We(e,"paginationBehaviorOnFilter"),summaryPlacementRef:We(e,"summaryPlacement"),filterIconPopoverPropsRef:We(e,"filterIconPopoverProps"),scrollbarPropsRef:We(e,"scrollbarProps"),syncScrollState:I,doUpdatePage:R,doUpdateFilters:K,getResizableWidth:d,onUnstableColumnResize:N,clearResizableWidth:f,doUpdateResizableWidth:h,deriveNextSorter:D,doCheck:fe,doUncheck:Q,doCheckAll:Y,doUncheckAll:ne,doUpdateExpandedRowKeys:te,handleTableHeaderScroll:ke,handleTableBodyScroll:ge,setHeaderScrollLeft:j,renderCell:We(e,"renderCell")});const He={filter:M,filters:G,clearFilters:he,clearSorter:pe,page:B,sort:$,clearFilter:J,downloadCsv:A,scrollTo:(X,ve)=>{var Ae;(Ae=u.value)===null||Ae===void 0||Ae.scrollTo(X,ve)}},Ie=F(()=>{const{size:X}=e,{common:{cubicBezierEaseInOut:ve},self:{borderColor:Ae,tdColorHover:Ke,tdColorSorting:Ze,tdColorSortingModal:Je,tdColorSortingPopover:tt,thColorSorting:rt,thColorSortingModal:vt,thColorSortingPopover:sn,thColor:Dt,thColorHover:Se,tdColor:Ve,tdTextColor:et,thTextColor:ht,thFontWeight:bt,thButtonColorHover:ut,thIconColor:Et,thIconColorActive:ae,filterSize:Ee,borderRadius:ot,lineHeight:Bt,tdColorModal:Kt,thColorModal:Lt,borderColorModal:bo,thColorHoverModal:yo,tdColorHoverModal:xo,borderColorPopover:Xo,thColorPopover:Zo,tdColorPopover:oi,tdColorHoverPopover:Ja,thColorHoverPopover:Qa,paginationMargin:es,emptyPadding:ts,boxShadowAfter:yr,boxShadowBefore:xr,sorterSize:od,resizableContainerSize:rd,resizableSize:id,loadingColor:ad,loadingSize:sd,opacityLoading:ld,tdColorStriped:cd,tdColorStripedModal:ud,tdColorStripedPopover:dd,[Re("fontSize",X)]:fd,[Re("thPadding",X)]:hd,[Re("tdPadding",X)]:pd}}=l.value;return{"--n-font-size":fd,"--n-th-padding":hd,"--n-td-padding":pd,"--n-bezier":ve,"--n-border-radius":ot,"--n-line-height":Bt,"--n-border-color":Ae,"--n-border-color-modal":bo,"--n-border-color-popover":Xo,"--n-th-color":Dt,"--n-th-color-hover":Se,"--n-th-color-modal":Lt,"--n-th-color-hover-modal":yo,"--n-th-color-popover":Zo,"--n-th-color-hover-popover":Qa,"--n-td-color":Ve,"--n-td-color-hover":Ke,"--n-td-color-modal":Kt,"--n-td-color-hover-modal":xo,"--n-td-color-popover":oi,"--n-td-color-hover-popover":Ja,"--n-th-text-color":ht,"--n-td-text-color":et,"--n-th-font-weight":bt,"--n-th-button-color-hover":ut,"--n-th-icon-color":Et,"--n-th-icon-color-active":ae,"--n-filter-size":Ee,"--n-pagination-margin":es,"--n-empty-padding":ts,"--n-box-shadow-before":xr,"--n-box-shadow-after":yr,"--n-sorter-size":od,"--n-resizable-container-size":rd,"--n-resizable-size":id,"--n-loading-size":sd,"--n-loading-color":ad,"--n-opacity-loading":ld,"--n-td-color-striped":cd,"--n-td-color-striped-modal":ud,"--n-td-color-striped-popover":dd,"n-td-color-sorting":Ze,"n-td-color-sorting-modal":Je,"n-td-color-sorting-popover":tt,"n-th-color-sorting":rt,"n-th-color-sorting-modal":vt,"n-th-color-sorting-popover":sn}}),Qe=r?Pt("data-table",F(()=>e.size[0]),Ie,e):void 0,Ct=F(()=>{if(!e.pagination)return!1;if(e.paginateSinglePage)return!0;const X=P.value,{pageCount:ve}=X;return ve!==void 0?ve>1:X.itemCount&&X.pageSize&&X.itemCount>X.pageSize});return Object.assign({mainTableInstRef:u,mergedClsPrefix:o,rtlEnabled:a,mergedTheme:l,paginatedData:S,mergedBordered:n,mergedBottomBordered:s,mergedPagination:P,mergedShowPagination:Ct,cssVars:r?void 0:Ie,themeClass:Qe==null?void 0:Qe.themeClass,onRender:Qe==null?void 0:Qe.onRender},He)},render(){const{mergedClsPrefix:e,themeClass:t,onRender:n,$slots:o,spinProps:r}=this;return n==null||n(),v("div",{class:[`${e}-data-table`,this.rtlEnabled&&`${e}-data-table--rtl`,t,{[`${e}-data-table--bordered`]:this.mergedBordered,[`${e}-data-table--bottom-bordered`]:this.mergedBottomBordered,[`${e}-data-table--single-line`]:this.singleLine,[`${e}-data-table--single-column`]:this.singleColumn,[`${e}-data-table--loading`]:this.loading,[`${e}-data-table--flex-height`]:this.flexHeight}],style:this.cssVars},v("div",{class:`${e}-data-table-wrapper`},v(XU,{ref:"mainTableInstRef"})),this.mergedShowPagination?v("div",{class:`${e}-data-table__pagination`},v(BW,Object.assign({theme:this.mergedTheme.peers.Pagination,themeOverrides:this.mergedTheme.peerOverrides.Pagination,disabled:this.loading},this.mergedPagination))):null,v(fn,{name:"fade-in-scale-up-transition"},{default:()=>this.loading?v("div",{class:`${e}-data-table-loading-wrapper`},An(o.loading,()=>[v(ti,Object.assign({clsPrefix:e,strokeWidth:20},r))])):null}))}}),cq={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"};function uq(e){const{popoverColor:t,textColor2:n,primaryColor:o,hoverColor:r,dividerColor:i,opacityDisabled:a,boxShadow2:s,borderRadius:l,iconColor:c,iconColorDisabled:u}=e;return Object.assign(Object.assign({},cq),{panelColor:t,panelBoxShadow:s,panelDividerColor:i,itemTextColor:n,itemTextColorActive:o,itemColorHover:r,itemOpacityDisabled:a,itemBorderRadius:l,borderRadius:l,iconColor:c,iconColorDisabled:u})}const dq={name:"TimePicker",common:je,peers:{Scrollbar:Vn,Button:Wn,Input:mo},self:uq},dS=dq,fq={itemSize:"24px",itemCellWidth:"38px",itemCellHeight:"32px",scrollItemWidth:"80px",scrollItemHeight:"40px",panelExtraFooterPadding:"8px 12px",panelActionPadding:"8px 12px",calendarTitlePadding:"0",calendarTitleHeight:"28px",arrowSize:"14px",panelHeaderPadding:"8px 12px",calendarDaysHeight:"32px",calendarTitleGridTempateColumns:"28px 28px 1fr 28px 28px",calendarLeftPaddingDate:"6px 12px 4px 12px",calendarLeftPaddingDatetime:"4px 12px",calendarLeftPaddingDaterange:"6px 12px 4px 12px",calendarLeftPaddingDatetimerange:"4px 12px",calendarLeftPaddingMonth:"0",calendarLeftPaddingYear:"0",calendarLeftPaddingQuarter:"0",calendarLeftPaddingMonthrange:"0",calendarLeftPaddingQuarterrange:"0",calendarLeftPaddingYearrange:"0",calendarLeftPaddingWeek:"6px 12px 4px 12px",calendarRightPaddingDate:"6px 12px 4px 12px",calendarRightPaddingDatetime:"4px 12px",calendarRightPaddingDaterange:"6px 12px 4px 12px",calendarRightPaddingDatetimerange:"4px 12px",calendarRightPaddingMonth:"0",calendarRightPaddingYear:"0",calendarRightPaddingQuarter:"0",calendarRightPaddingMonthrange:"0",calendarRightPaddingQuarterrange:"0",calendarRightPaddingYearrange:"0",calendarRightPaddingWeek:"0"};function hq(e){const{hoverColor:t,fontSize:n,textColor2:o,textColorDisabled:r,popoverColor:i,primaryColor:a,borderRadiusSmall:s,iconColor:l,iconColorDisabled:c,textColor1:u,dividerColor:d,boxShadow2:f,borderRadius:h,fontWeightStrong:p}=e;return Object.assign(Object.assign({},fq),{itemFontSize:n,calendarDaysFontSize:n,calendarTitleFontSize:n,itemTextColor:o,itemTextColorDisabled:r,itemTextColorActive:i,itemTextColorCurrent:a,itemColorIncluded:Me(a,{alpha:.1}),itemColorHover:t,itemColorDisabled:t,itemColorActive:a,itemBorderRadius:s,panelColor:i,panelTextColor:o,arrowColor:l,calendarTitleTextColor:u,calendarTitleColorHover:t,calendarDaysTextColor:o,panelHeaderDividerColor:d,calendarDaysDividerColor:d,calendarDividerColor:d,panelActionDividerColor:d,panelBoxShadow:f,panelBorderRadius:h,calendarTitleFontWeight:p,scrollItemBorderRadius:h,iconColor:l,iconColorDisabled:c})}const pq={name:"DatePicker",common:je,peers:{Input:mo,Button:Wn,TimePicker:dS,Scrollbar:Vn},self(e){const{popoverColor:t,hoverColor:n,primaryColor:o}=e,r=hq(e);return r.itemColorDisabled=Ge(t,n),r.itemColorIncluded=Me(o,{alpha:.15}),r.itemColorHover=Ge(t,n),r}},mq=pq,gq={thPaddingBorderedSmall:"8px 12px",thPaddingBorderedMedium:"12px 16px",thPaddingBorderedLarge:"16px 24px",thPaddingSmall:"0",thPaddingMedium:"0",thPaddingLarge:"0",tdPaddingBorderedSmall:"8px 12px",tdPaddingBorderedMedium:"12px 16px",tdPaddingBorderedLarge:"16px 24px",tdPaddingSmall:"0 0 8px 0",tdPaddingMedium:"0 0 12px 0",tdPaddingLarge:"0 0 16px 0"};function vq(e){const{tableHeaderColor:t,textColor2:n,textColor1:o,cardColor:r,modalColor:i,popoverColor:a,dividerColor:s,borderRadius:l,fontWeightStrong:c,lineHeight:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:h}=e;return Object.assign(Object.assign({},gq),{lineHeight:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:h,titleTextColor:o,thColor:Ge(r,t),thColorModal:Ge(i,t),thColorPopover:Ge(a,t),thTextColor:o,thFontWeight:c,tdTextColor:n,tdColor:r,tdColorModal:i,tdColorPopover:a,borderColor:Ge(r,s),borderColorModal:Ge(i,s),borderColorPopover:Ge(a,s),borderRadius:l})}const bq={name:"Descriptions",common:je,self:vq},yq=bq,xq={titleFontSize:"18px",padding:"16px 28px 20px 28px",iconSize:"28px",actionSpace:"12px",contentMargin:"8px 0 16px 0",iconMargin:"0 4px 0 0",iconMarginIconTop:"4px 0 8px 0",closeSize:"22px",closeIconSize:"18px",closeMargin:"20px 26px 0 0",closeMarginIconTop:"10px 16px 0 0"};function fS(e){const{textColor1:t,textColor2:n,modalColor:o,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,infoColor:c,successColor:u,warningColor:d,errorColor:f,primaryColor:h,dividerColor:p,borderRadius:g,fontWeightStrong:m,lineHeight:b,fontSize:_}=e;return Object.assign(Object.assign({},xq),{fontSize:_,lineHeight:b,border:`1px solid ${p}`,titleTextColor:t,textColor:n,color:o,closeColorHover:s,closeColorPressed:l,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeBorderRadius:g,iconColor:h,iconColorInfo:c,iconColorSuccess:u,iconColorWarning:d,iconColorError:f,borderRadius:g,titleFontWeight:m})}const Cq={name:"Dialog",common:xt,peers:{Button:zu},self:fS},hS=Cq,wq={name:"Dialog",common:je,peers:{Button:Wn},self:fS},pS=wq,Hu={icon:Function,type:{type:String,default:"default"},title:[String,Function],closable:{type:Boolean,default:!0},negativeText:String,positiveText:String,positiveButtonProps:Object,negativeButtonProps:Object,content:[String,Function],action:Function,showIcon:{type:Boolean,default:!0},loading:Boolean,bordered:Boolean,iconPlacement:String,titleClass:[String,Array],titleStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],actionClass:[String,Array],actionStyle:[String,Object],onPositiveClick:Function,onNegativeClick:Function,onClose:Function},mS=Jr(Hu),_q=q([z("dialog",`
--n-icon-margin: var(--n-icon-margin-top) var(--n-icon-margin-right) var(--n-icon-margin-bottom) var(--n-icon-margin-left);
word-break: break-word;
line-height: var(--n-line-height);
position: relative;
background: var(--n-color);
color: var(--n-text-color);
box-sizing: border-box;
margin: auto;
border-radius: var(--n-border-radius);
padding: var(--n-padding);
transition:
border-color .3s var(--n-bezier),
background-color .3s var(--n-bezier),
color .3s var(--n-bezier);
`,[V("icon",{color:"var(--n-icon-color)"}),Z("bordered",{border:"var(--n-border)"}),Z("icon-top",[V("close",{margin:"var(--n-close-margin)"}),V("icon",{margin:"var(--n-icon-margin)"}),V("content",{textAlign:"center"}),V("title",{justifyContent:"center"}),V("action",{justifyContent:"center"})]),Z("icon-left",[V("icon",{margin:"var(--n-icon-margin)"}),Z("closable",[V("title",`
padding-right: calc(var(--n-close-size) + 6px);
`)])]),V("close",`
position: absolute;
right: 0;
top: 0;
margin: var(--n-close-margin);
transition:
background-color .3s var(--n-bezier),
color .3s var(--n-bezier);
z-index: 1;
`),V("content",`
font-size: var(--n-font-size);
margin: var(--n-content-margin);
position: relative;
word-break: break-word;
`,[Z("last","margin-bottom: 0;")]),V("action",`
display: flex;
justify-content: flex-end;
`,[q("> *:not(:last-child)",`
margin-right: var(--n-action-space);
`)]),V("icon",`
font-size: var(--n-icon-size);
transition: color .3s var(--n-bezier);
`),V("title",`
transition: color .3s var(--n-bezier);
display: flex;
align-items: center;
font-size: var(--n-title-font-size);
font-weight: var(--n-title-font-weight);
color: var(--n-title-text-color);
`),z("dialog-icon-container",`
display: flex;
justify-content: center;
`)]),al(z("dialog",`
width: 446px;
max-width: calc(100vw - 32px);
`)),z("dialog",[Sw(`
width: 446px;
max-width: calc(100vw - 32px);
`)])]),Sq={default:()=>v(Vr,null),info:()=>v(Vr,null),success:()=>v(Vi,null),warning:()=>v(Wi,null),error:()=>v(ji,null)},gS=be({name:"Dialog",alias:["NimbusConfirmCard","Confirm"],props:Object.assign(Object.assign({},Be.props),Hu),setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=pn("Dialog",r,n),a=F(()=>{var h,p;const{iconPlacement:g}=e;return g||((p=(h=t==null?void 0:t.value)===null||h===void 0?void 0:h.Dialog)===null||p===void 0?void 0:p.iconPlacement)||"left"});function s(h){const{onPositiveClick:p}=e;p&&p(h)}function l(h){const{onNegativeClick:p}=e;p&&p(h)}function c(){const{onClose:h}=e;h&&h()}const u=Be("Dialog","-dialog",_q,hS,e,n),d=F(()=>{const{type:h}=e,p=a.value,{common:{cubicBezierEaseInOut:g},self:{fontSize:m,lineHeight:b,border:_,titleTextColor:C,textColor:S,color:w,closeBorderRadius:x,closeColorHover:y,closeColorPressed:P,closeIconColor:k,closeIconColorHover:T,closeIconColorPressed:E,closeIconSize:R,borderRadius:K,titleFontWeight:N,titleFontSize:D,padding:M,iconSize:G,actionSpace:J,contentMargin:he,closeSize:pe,[p==="top"?"iconMarginIconTop":"iconMargin"]:B,[p==="top"?"closeMarginIconTop":"closeMargin"]:$,[Re("iconColor",h)]:A}}=u.value,Y=lo(B);return{"--n-font-size":m,"--n-icon-color":A,"--n-bezier":g,"--n-close-margin":$,"--n-icon-margin-top":Y.top,"--n-icon-margin-right":Y.right,"--n-icon-margin-bottom":Y.bottom,"--n-icon-margin-left":Y.left,"--n-icon-size":G,"--n-close-size":pe,"--n-close-icon-size":R,"--n-close-border-radius":x,"--n-close-color-hover":y,"--n-close-color-pressed":P,"--n-close-icon-color":k,"--n-close-icon-color-hover":T,"--n-close-icon-color-pressed":E,"--n-color":w,"--n-text-color":S,"--n-border-radius":K,"--n-padding":M,"--n-line-height":b,"--n-border":_,"--n-content-margin":he,"--n-title-font-size":D,"--n-title-font-weight":N,"--n-title-text-color":C,"--n-action-space":J}}),f=o?Pt("dialog",F(()=>`${e.type[0]}${a.value[0]}`),d,e):void 0;return{mergedClsPrefix:n,rtlEnabled:i,mergedIconPlacement:a,mergedTheme:u,handlePositiveClick:s,handleNegativeClick:l,handleCloseClick:c,cssVars:o?void 0:d,themeClass:f==null?void 0:f.themeClass,onRender:f==null?void 0:f.onRender}},render(){var e;const{bordered:t,mergedIconPlacement:n,cssVars:o,closable:r,showIcon:i,title:a,content:s,action:l,negativeText:c,positiveText:u,positiveButtonProps:d,negativeButtonProps:f,handlePositiveClick:h,handleNegativeClick:p,mergedTheme:g,loading:m,type:b,mergedClsPrefix:_}=this;(e=this.onRender)===null||e===void 0||e.call(this);const C=i?v(Ut,{clsPrefix:_,class:`${_}-dialog__icon`},{default:()=>$t(this.$slots.icon,w=>w||(this.icon?Wt(this.icon):Sq[this.type]()))}):null,S=$t(this.$slots.action,w=>w||u||c||l?v("div",{class:[`${_}-dialog__action`,this.actionClass],style:this.actionStyle},w||(l?[Wt(l)]:[this.negativeText&&v(zt,Object.assign({theme:g.peers.Button,themeOverrides:g.peerOverrides.Button,ghost:!0,size:"small",onClick:p},f),{default:()=>Wt(this.negativeText)}),this.positiveText&&v(zt,Object.assign({theme:g.peers.Button,themeOverrides:g.peerOverrides.Button,size:"small",type:b==="default"?"primary":b,disabled:m,loading:m,onClick:h},d),{default:()=>Wt(this.positiveText)})])):null);return v("div",{class:[`${_}-dialog`,this.themeClass,this.closable&&`${_}-dialog--closable`,`${_}-dialog--icon-${n}`,t&&`${_}-dialog--bordered`,this.rtlEnabled&&`${_}-dialog--rtl`],style:o,role:"dialog"},r?$t(this.$slots.close,w=>{const x=[`${_}-dialog__close`,this.rtlEnabled&&`${_}-dialog--rtl`];return w?v("div",{class:x},w):v(qi,{clsPrefix:_,class:x,onClick:this.handleCloseClick})}):null,i&&n==="top"?v("div",{class:`${_}-dialog-icon-container`},C):null,v("div",{class:[`${_}-dialog__title`,this.titleClass],style:this.titleStyle},i&&n==="left"?C:null,An(this.$slots.header,()=>[Wt(a)])),v("div",{class:[`${_}-dialog__content`,S?"":`${_}-dialog__content--last`,this.contentClass],style:this.contentStyle},An(this.$slots.default,()=>[Wt(s)])),S)}}),vS="n-dialog-provider",bS="n-dialog-api",kq="n-dialog-reactive-list";function yS(e){const{modalColor:t,textColor2:n,boxShadow3:o}=e;return{color:t,textColor:n,boxShadow:o}}const Pq={name:"Modal",common:xt,peers:{Scrollbar:Gi,Dialog:hS,Card:C2},self:yS},Tq=Pq,Rq={name:"Modal",common:je,peers:{Scrollbar:Vn,Dialog:pS,Card:w2},self:yS},Eq=Rq,Am=Object.assign(Object.assign({},ym),Hu),$q=Jr(Am),Aq=be({name:"ModalBody",inheritAttrs:!1,props:Object.assign(Object.assign({show:{type:Boolean,required:!0},preset:String,displayDirective:{type:String,required:!0},trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},blockScroll:Boolean},Am),{renderMask:Function,onClickoutside:Function,onBeforeLeave:{type:Function,required:!0},onAfterLeave:{type:Function,required:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0},onClose:{type:Function,required:!0},onAfterEnter:Function,onEsc:Function}),setup(e){const t=W(null),n=W(null),o=W(e.show),r=W(null),i=W(null);ft(We(e,"show"),m=>{m&&(o.value=!0)}),qw(F(()=>e.blockScroll&&o.value));const a=Ue(Ew);function s(){if(a.transformOriginRef.value==="center")return"";const{value:m}=r,{value:b}=i;if(m===null||b===null)return"";if(n.value){const _=n.value.containerScrollTop;return`${m}px ${b+_}px`}return""}function l(m){if(a.transformOriginRef.value==="center")return;const b=a.getMousePosition();if(!b||!n.value)return;const _=n.value.containerScrollTop,{offsetLeft:C,offsetTop:S}=m;if(b){const w=b.y,x=b.x;r.value=-(C-x),i.value=-(S-w-_)}m.style.transformOrigin=s()}function c(m){Ht(()=>{l(m)})}function u(m){m.style.transformOrigin=s(),e.onBeforeLeave()}function d(){o.value=!1,r.value=null,i.value=null,e.onAfterLeave()}function f(){const{onClose:m}=e;m&&m()}function h(){e.onNegativeClick()}function p(){e.onPositiveClick()}const g=W(null);return ft(g,m=>{m&&Ht(()=>{const b=m.el;b&&t.value!==b&&(t.value=b)})}),at(sl,t),at(ll,null),at(Va,null),{mergedTheme:a.mergedThemeRef,appear:a.appearRef,isMounted:a.isMountedRef,mergedClsPrefix:a.mergedClsPrefixRef,bodyRef:t,scrollbarRef:n,displayed:o,childNodeRef:g,handlePositiveClick:p,handleNegativeClick:h,handleCloseClick:f,handleAfterLeave:d,handleBeforeLeave:u,handleEnter:c}},render(){const{$slots:e,$attrs:t,handleEnter:n,handleAfterLeave:o,handleBeforeLeave:r,preset:i,mergedClsPrefix:a}=this;let s=null;if(!i){if(s=vh(e),!s){lr("modal","default slot is empty");return}s=uo(s),s.props=Ln({class:`${a}-modal`},t,s.props||{})}return this.displayDirective==="show"||this.displayed||this.show?dn(v("div",{role:"none",class:`${a}-modal-body-wrapper`},v(Io,{ref:"scrollbarRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:`${a}-modal-scroll-content`},{default:()=>{var l;return[(l=this.renderMask)===null||l===void 0?void 0:l.call(this),v(Zp,{disabled:!this.trapFocus,active:this.show,onEsc:this.onEsc,autoFocus:this.autoFocus},{default:()=>{var c;return v(fn,{name:"fade-in-scale-up-transition",appear:(c=this.appear)!==null&&c!==void 0?c:this.isMounted,onEnter:n,onAfterEnter:this.onAfterEnter,onAfterLeave:o,onBeforeLeave:r},{default:()=>{const u=[[Mn,this.show]],{onClickoutside:d}=this;return d&&u.push([Ea,this.onClickoutside,void 0,{capture:!0}]),dn(this.preset==="confirm"||this.preset==="dialog"?v(gS,Object.assign({},this.$attrs,{class:[`${a}-modal`,this.$attrs.class],ref:"bodyRef",theme:this.mergedTheme.peers.Dialog,themeOverrides:this.mergedTheme.peerOverrides.Dialog},Qn(this.$props,mS),{"aria-modal":"true"}),e):this.preset==="card"?v(go,Object.assign({},this.$attrs,{ref:"bodyRef",class:[`${a}-modal`,this.$attrs.class],theme:this.mergedTheme.peers.Card,themeOverrides:this.mergedTheme.peerOverrides.Card},Qn(this.$props,EV),{"aria-modal":"true",role:"dialog"}),e):this.childNodeRef=s,u)}})}})]}})),[[Mn,this.displayDirective==="if"||this.displayed||this.show]]):null}}),Iq=q([z("modal-container",`
position: fixed;
left: 0;
top: 0;
height: 0;
width: 0;
display: flex;
`),z("modal-mask",`
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
background-color: rgba(0, 0, 0, .4);
`,[dl({enterDuration:".25s",leaveDuration:".25s",enterCubicBezier:"var(--n-bezier-ease-out)",leaveCubicBezier:"var(--n-bezier-ease-out)"})]),z("modal-body-wrapper",`
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
overflow: visible;
`,[z("modal-scroll-content",`
min-height: 100%;
display: flex;
position: relative;
`)]),z("modal",`
position: relative;
align-self: center;
color: var(--n-text-color);
margin: auto;
box-shadow: var(--n-box-shadow);
`,[qa({duration:".25s",enterScale:".5"})])]),xS=Object.assign(Object.assign(Object.assign(Object.assign({},Be.props),{show:Boolean,unstableShowMask:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0},preset:String,to:[String,Object],displayDirective:{type:String,default:"if"},transformOrigin:{type:String,default:"mouse"},zIndex:Number,autoFocus:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0}}),Am),{onEsc:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onBeforeLeave:Function,onAfterLeave:Function,onClose:Function,onPositiveClick:Function,onNegativeClick:Function,onMaskClick:Function,internalDialog:Boolean,internalModal:Boolean,internalAppear:{type:Boolean,default:void 0},overlayStyle:[String,Object],onBeforeHide:Function,onAfterHide:Function,onHide:Function}),ni=be({name:"Modal",inheritAttrs:!1,props:xS,setup(e){const t=W(null),{mergedClsPrefixRef:n,namespaceRef:o,inlineThemeDisabled:r}=st(e),i=Be("Modal","-modal",Iq,Tq,e,n),a=Ac(64),s=$c(),l=Qr(),c=e.internalDialog?Ue(vS,null):null,u=e.internalModal?Ue(O8,null):null,d=Kw();function f(x){const{onUpdateShow:y,"onUpdate:show":P,onHide:k}=e;y&&$e(y,x),P&&$e(P,x),k&&!x&&k(x)}function h(){const{onClose:x}=e;x?Promise.resolve(x()).then(y=>{y!==!1&&f(!1)}):f(!1)}function p(){const{onPositiveClick:x}=e;x?Promise.resolve(x()).then(y=>{y!==!1&&f(!1)}):f(!1)}function g(){const{onNegativeClick:x}=e;x?Promise.resolve(x()).then(y=>{y!==!1&&f(!1)}):f(!1)}function m(){const{onBeforeLeave:x,onBeforeHide:y}=e;x&&$e(x),y&&y()}function b(){const{onAfterLeave:x,onAfterHide:y}=e;x&&$e(x),y&&y()}function _(x){var y;const{onMaskClick:P}=e;P&&P(x),e.maskClosable&&!((y=t.value)===null||y===void 0)&&y.contains(Ai(x))&&f(!1)}function C(x){var y;(y=e.onEsc)===null||y===void 0||y.call(e),e.show&&e.closeOnEsc&&Pw(x)&&(d.value||f(!1))}at(Ew,{getMousePosition:()=>{const x=c||u;if(x){const{clickedRef:y,clickedPositionRef:P}=x;if(y.value&&P.value)return P.value}return a.value?s.value:null},mergedClsPrefixRef:n,mergedThemeRef:i,isMountedRef:l,appearRef:We(e,"internalAppear"),transformOriginRef:We(e,"transformOrigin")});const S=F(()=>{const{common:{cubicBezierEaseOut:x},self:{boxShadow:y,color:P,textColor:k}}=i.value;return{"--n-bezier-ease-out":x,"--n-box-shadow":y,"--n-color":P,"--n-text-color":k}}),w=r?Pt("theme-class",void 0,S,e):void 0;return{mergedClsPrefix:n,namespace:o,isMounted:l,containerRef:t,presetProps:F(()=>Qn(e,$q)),handleEsc:C,handleAfterLeave:b,handleClickoutside:_,handleBeforeLeave:m,doUpdateShow:f,handleNegativeClick:g,handlePositiveClick:p,handleCloseClick:h,cssVars:r?void 0:S,themeClass:w==null?void 0:w.themeClass,onRender:w==null?void 0:w.onRender}},render(){const{mergedClsPrefix:e}=this;return v(Ru,{to:this.to,show:this.show},{default:()=>{var t;(t=this.onRender)===null||t===void 0||t.call(this);const{unstableShowMask:n}=this;return dn(v("div",{role:"none",ref:"containerRef",class:[`${e}-modal-container`,this.themeClass,this.namespace],style:this.cssVars},v(Aq,Object.assign({style:this.overlayStyle},this.$attrs,{ref:"bodyWrapper",displayDirective:this.displayDirective,show:this.show,preset:this.preset,autoFocus:this.autoFocus,trapFocus:this.trapFocus,blockScroll:this.blockScroll},this.presetProps,{onEsc:this.handleEsc,onClose:this.handleCloseClick,onNegativeClick:this.handleNegativeClick,onPositiveClick:this.handlePositiveClick,onBeforeLeave:this.handleBeforeLeave,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave,onClickoutside:n?void 0:this.handleClickoutside,renderMask:n?()=>{var o;return v(fn,{name:"fade-in-transition",key:"mask",appear:(o=this.internalAppear)!==null&&o!==void 0?o:this.isMounted},{default:()=>this.show?v("div",{"aria-hidden":!0,ref:"containerRef",class:`${e}-modal-mask`,onClick:this.handleClickoutside}):null})}:void 0}),this.$slots)),[[Tu,{zIndex:this.zIndex,enabled:this.show}]])}})}}),Oq=Object.assign(Object.assign({},Hu),{onAfterEnter:Function,onAfterLeave:Function,transformOrigin:String,blockScroll:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},internalStyle:[String,Object],maskClosable:{type:Boolean,default:!0},onPositiveClick:Function,onNegativeClick:Function,onClose:Function,onMaskClick:Function}),Mq=be({name:"DialogEnvironment",props:Object.assign(Object.assign({},Oq),{internalKey:{type:String,required:!0},to:[String,Object],onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=W(!0);function n(){const{onInternalAfterLeave:u,internalKey:d,onAfterLeave:f}=e;u&&u(d),f&&f()}function o(u){const{onPositiveClick:d}=e;d?Promise.resolve(d(u)).then(f=>{f!==!1&&l()}):l()}function r(u){const{onNegativeClick:d}=e;d?Promise.resolve(d(u)).then(f=>{f!==!1&&l()}):l()}function i(){const{onClose:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function a(u){const{onMaskClick:d,maskClosable:f}=e;d&&(d(u),f&&l())}function s(){const{onEsc:u}=e;u&&u()}function l(){t.value=!1}function c(u){t.value=u}return{show:t,hide:l,handleUpdateShow:c,handleAfterLeave:n,handleCloseClick:i,handleNegativeClick:r,handlePositiveClick:o,handleMaskClick:a,handleEsc:s}},render(){const{handlePositiveClick:e,handleUpdateShow:t,handleNegativeClick:n,handleCloseClick:o,handleAfterLeave:r,handleMaskClick:i,handleEsc:a,to:s,maskClosable:l,show:c}=this;return v(ni,{show:c,onUpdateShow:t,onMaskClick:i,onEsc:a,to:s,maskClosable:l,onAfterEnter:this.onAfterEnter,onAfterLeave:r,closeOnEsc:this.closeOnEsc,blockScroll:this.blockScroll,autoFocus:this.autoFocus,transformOrigin:this.transformOrigin,internalAppear:!0,internalDialog:!0},{default:()=>v(gS,Object.assign({},Qn(this.$props,mS),{style:this.internalStyle,onClose:o,onNegativeClick:n,onPositiveClick:e}))})}}),zq={injectionKey:String,to:[String,Object]},Dq=be({name:"DialogProvider",props:zq,setup(){const e=W([]),t={};function n(s={}){const l=Zr(),c=eo(Object.assign(Object.assign({},s),{key:l,destroy:()=>{var u;(u=t[`n-dialog-${l}`])===null||u===void 0||u.hide()}}));return e.value.push(c),c}const o=["info","success","warning","error"].map(s=>l=>n(Object.assign(Object.assign({},l),{type:s})));function r(s){const{value:l}=e;l.splice(l.findIndex(c=>c.key===s),1)}function i(){Object.values(t).forEach(s=>{s==null||s.hide()})}const a={create:n,destroyAll:i,info:o[0],success:o[1],warning:o[2],error:o[3]};return at(bS,a),at(vS,{clickedRef:Ac(64),clickedPositionRef:$c()}),at(kq,e),Object.assign(Object.assign({},a),{dialogList:e,dialogInstRefs:t,handleAfterLeave:r})},render(){var e,t;return v(it,null,[this.dialogList.map(n=>v(Mq,ja(n,["destroy","style"],{internalStyle:n.style,to:this.to,ref:o=>{o===null?delete this.dialogInstRefs[`n-dialog-${n.key}`]:this.dialogInstRefs[`n-dialog-${n.key}`]=o},internalKey:n.key,onInternalAfterLeave:this.handleAfterLeave}))),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)])}});function Lq(){const e=Ue(bS,null);return e===null&&fr("use-dialog","No outer <n-dialog-provider /> founded."),e}function CS(e){const{textColor1:t,dividerColor:n,fontWeightStrong:o}=e;return{textColor:t,color:n,fontWeight:o}}const Fq={name:"Divider",common:xt,self:CS},Bq=Fq,Nq={name:"Divider",common:je,self:CS},Hq=Nq,jq=z("divider",`
position: relative;
display: flex;
width: 100%;
box-sizing: border-box;
font-size: 16px;
color: var(--n-text-color);
transition:
color .3s var(--n-bezier),
background-color .3s var(--n-bezier);
`,[Rt("vertical",`
margin-top: 24px;
margin-bottom: 24px;
`,[Rt("no-title",`
display: flex;
align-items: center;
`)]),V("title",`
display: flex;
align-items: center;
margin-left: 12px;
margin-right: 12px;
white-space: nowrap;
font-weight: var(--n-font-weight);
`),Z("title-position-left",[V("line",[Z("left",{width:"28px"})])]),Z("title-position-right",[V("line",[Z("right",{width:"28px"})])]),Z("dashed",[V("line",`
background-color: #0000;
height: 0px;
width: 100%;
border-style: dashed;
border-width: 1px 0 0;
`)]),Z("vertical",`
display: inline-block;
height: 1em;
margin: 0 8px;
vertical-align: middle;
width: 1px;
`),V("line",`
border: none;
transition: background-color .3s var(--n-bezier), border-color .3s var(--n-bezier);
height: 1px;
width: 100%;
margin: 0;
`),Rt("dashed",[V("line",{backgroundColor:"var(--n-color)"})]),Z("dashed",[V("line",{borderColor:"var(--n-color)"})]),Z("vertical",{backgroundColor:"var(--n-color)"})]),Vq=Object.assign(Object.assign({},Be.props),{titlePlacement:{type:String,default:"center"},dashed:Boolean,vertical:Boolean}),Xi=be({name:"Divider",props:Vq,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Divider","-divider",jq,Bq,e,t),r=F(()=>{const{common:{cubicBezierEaseInOut:a},self:{color:s,textColor:l,fontWeight:c}}=o.value;return{"--n-bezier":a,"--n-color":s,"--n-text-color":l,"--n-font-weight":c}}),i=n?Pt("divider",void 0,r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$slots:t,titlePlacement:n,vertical:o,dashed:r,cssVars:i,mergedClsPrefix:a}=this;return(e=this.onRender)===null||e===void 0||e.call(this),v("div",{role:"separator",class:[`${a}-divider`,this.themeClass,{[`${a}-divider--vertical`]:o,[`${a}-divider--no-title`]:!t.default,[`${a}-divider--dashed`]:r,[`${a}-divider--title-position-${n}`]:t.default&&n}],style:i},o?null:v("div",{class:`${a}-divider__line ${a}-divider__line--left`}),!o&&t.default?v(it,null,v("div",{class:`${a}-divider__title`},this.$slots),v("div",{class:`${a}-divider__line ${a}-divider__line--right`})):null)}});function wS(e){const{modalColor:t,textColor1:n,textColor2:o,boxShadow3:r,lineHeight:i,fontWeightStrong:a,dividerColor:s,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,borderRadius:h,primaryColorHover:p}=e;return{bodyPadding:"16px 24px",borderRadius:h,headerPadding:"16px 24px",footerPadding:"16px 24px",color:t,textColor:o,titleTextColor:n,titleFontSize:"18px",titleFontWeight:a,boxShadow:r,lineHeight:i,headerBorderBottom:`1px solid ${s}`,footerBorderTop:`1px solid ${s}`,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,closeSize:"22px",closeIconSize:"18px",closeColorHover:l,closeColorPressed:c,closeBorderRadius:h,resizableTriggerColorHover:p}}const Wq={name:"Drawer",common:xt,peers:{Scrollbar:Gi},self:wS},Uq=Wq,qq={name:"Drawer",common:je,peers:{Scrollbar:Vn},self:wS},Kq=qq,Gq=be({name:"NDrawerContent",inheritAttrs:!1,props:{blockScroll:Boolean,show:{type:Boolean,default:void 0},displayDirective:{type:String,required:!0},placement:{type:String,required:!0},contentClass:String,contentStyle:[Object,String],nativeScrollbar:{type:Boolean,required:!0},scrollbarProps:Object,trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},showMask:{type:[Boolean,String],required:!0},maxWidth:Number,maxHeight:Number,minWidth:Number,minHeight:Number,resizable:Boolean,onClickoutside:Function,onAfterLeave:Function,onAfterEnter:Function,onEsc:Function},setup(e){const t=W(!!e.show),n=W(null),o=Ue(Up);let r=0,i="",a=null;const s=W(!1),l=W(!1),c=F(()=>e.placement==="top"||e.placement==="bottom"),{mergedClsPrefixRef:u,mergedRtlRef:d}=st(e),f=pn("Drawer",d,u),h=x,p=k=>{l.value=!0,r=c.value?k.clientY:k.clientX,i=document.body.style.cursor,document.body.style.cursor=c.value?"ns-resize":"ew-resize",document.body.addEventListener("mousemove",w),document.body.addEventListener("mouseleave",h),document.body.addEventListener("mouseup",x)},g=()=>{a!==null&&(window.clearTimeout(a),a=null),l.value?s.value=!0:a=window.setTimeout(()=>{s.value=!0},300)},m=()=>{a!==null&&(window.clearTimeout(a),a=null),s.value=!1},{doUpdateHeight:b,doUpdateWidth:_}=o,C=k=>{const{maxWidth:T}=e;if(T&&k>T)return T;const{minWidth:E}=e;return E&&k<E?E:k},S=k=>{const{maxHeight:T}=e;if(T&&k>T)return T;const{minHeight:E}=e;return E&&k<E?E:k};function w(k){var T,E;if(l.value)if(c.value){let R=((T=n.value)===null||T===void 0?void 0:T.offsetHeight)||0;const K=r-k.clientY;R+=e.placement==="bottom"?K:-K,R=S(R),b(R),r=k.clientY}else{let R=((E=n.value)===null||E===void 0?void 0:E.offsetWidth)||0;const K=r-k.clientX;R+=e.placement==="right"?K:-K,R=C(R),_(R),r=k.clientX}}function x(){l.value&&(r=0,l.value=!1,document.body.style.cursor=i,document.body.removeEventListener("mousemove",w),document.body.removeEventListener("mouseup",x),document.body.removeEventListener("mouseleave",h))}Xt(()=>{e.show&&(t.value=!0)}),ft(()=>e.show,k=>{k||x()}),on(()=>{x()});const y=F(()=>{const{show:k}=e,T=[[Mn,k]];return e.showMask||T.push([Ea,e.onClickoutside,void 0,{capture:!0}]),T});function P(){var k;t.value=!1,(k=e.onAfterLeave)===null||k===void 0||k.call(e)}return qw(F(()=>e.blockScroll&&t.value)),at(ll,n),at(Va,null),at(sl,null),{bodyRef:n,rtlEnabled:f,mergedClsPrefix:o.mergedClsPrefixRef,isMounted:o.isMountedRef,mergedTheme:o.mergedThemeRef,displayed:t,transitionName:F(()=>({right:"slide-in-from-right-transition",left:"slide-in-from-left-transition",top:"slide-in-from-top-transition",bottom:"slide-in-from-bottom-transition"})[e.placement]),handleAfterLeave:P,bodyDirectives:y,handleMousedownResizeTrigger:p,handleMouseenterResizeTrigger:g,handleMouseleaveResizeTrigger:m,isDragging:l,isHoverOnResizeTrigger:s}},render(){const{$slots:e,mergedClsPrefix:t}=this;return this.displayDirective==="show"||this.displayed||this.show?dn(v("div",{role:"none"},v(Zp,{disabled:!this.showMask||!this.trapFocus,active:this.show,autoFocus:this.autoFocus,onEsc:this.onEsc},{default:()=>v(fn,{name:this.transitionName,appear:this.isMounted,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave},{default:()=>dn(v("div",Ln(this.$attrs,{role:"dialog",ref:"bodyRef","aria-modal":"true",class:[`${t}-drawer`,this.rtlEnabled&&`${t}-drawer--rtl`,`${t}-drawer--${this.placement}-placement`,this.isDragging&&`${t}-drawer--unselectable`,this.nativeScrollbar&&`${t}-drawer--native-scrollbar`]}),[this.resizable?v("div",{class:[`${t}-drawer__resize-trigger`,(this.isDragging||this.isHoverOnResizeTrigger)&&`${t}-drawer__resize-trigger--hover`],onMouseenter:this.handleMouseenterResizeTrigger,onMouseleave:this.handleMouseleaveResizeTrigger,onMousedown:this.handleMousedownResizeTrigger}):null,this.nativeScrollbar?v("div",{class:[`${t}-drawer-content-wrapper`,this.contentClass],style:this.contentStyle,role:"none"},e):v(Io,Object.assign({},this.scrollbarProps,{contentStyle:this.contentStyle,contentClass:[`${t}-drawer-content-wrapper`,this.contentClass],theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar}),e)]),this.bodyDirectives)})})),[[Mn,this.displayDirective==="if"||this.displayed||this.show]]):null}}),{cubicBezierEaseIn:Yq,cubicBezierEaseOut:Xq}=po;function Zq({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-right"}={}){return[q(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${Yq}`}),q(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${Xq}`}),q(`&.${n}-transition-enter-to`,{transform:"translateX(0)"}),q(`&.${n}-transition-enter-from`,{transform:"translateX(100%)"}),q(`&.${n}-transition-leave-from`,{transform:"translateX(0)"}),q(`&.${n}-transition-leave-to`,{transform:"translateX(100%)"})]}const{cubicBezierEaseIn:Jq,cubicBezierEaseOut:Qq}=po;function eK({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-left"}={}){return[q(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${Jq}`}),q(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${Qq}`}),q(`&.${n}-transition-enter-to`,{transform:"translateX(0)"}),q(`&.${n}-transition-enter-from`,{transform:"translateX(-100%)"}),q(`&.${n}-transition-leave-from`,{transform:"translateX(0)"}),q(`&.${n}-transition-leave-to`,{transform:"translateX(-100%)"})]}const{cubicBezierEaseIn:tK,cubicBezierEaseOut:nK}=po;function oK({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-top"}={}){return[q(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${tK}`}),q(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${nK}`}),q(`&.${n}-transition-enter-to`,{transform:"translateY(0)"}),q(`&.${n}-transition-enter-from`,{transform:"translateY(-100%)"}),q(`&.${n}-transition-leave-from`,{transform:"translateY(0)"}),q(`&.${n}-transition-leave-to`,{transform:"translateY(-100%)"})]}const{cubicBezierEaseIn:rK,cubicBezierEaseOut:iK}=po;function aK({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-bottom"}={}){return[q(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${rK}`}),q(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${iK}`}),q(`&.${n}-transition-enter-to`,{transform:"translateY(0)"}),q(`&.${n}-transition-enter-from`,{transform:"translateY(100%)"}),q(`&.${n}-transition-leave-from`,{transform:"translateY(0)"}),q(`&.${n}-transition-leave-to`,{transform:"translateY(100%)"})]}const sK=q([z("drawer",`
word-break: break-word;
line-height: var(--n-line-height);
position: absolute;
pointer-events: all;
box-shadow: var(--n-box-shadow);
transition:
background-color .3s var(--n-bezier),
color .3s var(--n-bezier);
background-color: var(--n-color);
color: var(--n-text-color);
box-sizing: border-box;
`,[Zq(),eK(),oK(),aK(),Z("unselectable",`
user-select: none;
-webkit-user-select: none;
`),Z("native-scrollbar",[z("drawer-content-wrapper",`
overflow: auto;
height: 100%;
`)]),V("resize-trigger",`
position: absolute;
background-color: #0000;
transition: background-color .3s var(--n-bezier);
`,[Z("hover",`
background-color: var(--n-resize-trigger-color-hover);
`)]),z("drawer-content-wrapper",`
box-sizing: border-box;
`),z("drawer-content",`
height: 100%;
display: flex;
flex-direction: column;
`,[Z("native-scrollbar",[z("drawer-body-content-wrapper",`
height: 100%;
overflow: auto;
`)]),z("drawer-body",`
flex: 1 0 0;
overflow: hidden;
`),z("drawer-body-content-wrapper",`
box-sizing: border-box;
padding: var(--n-body-padding);
`),z("drawer-header",`
font-weight: var(--n-title-font-weight);
line-height: 1;
font-size: var(--n-title-font-size);
color: var(--n-title-text-color);
padding: var(--n-header-padding);
transition: border .3s var(--n-bezier);
border-bottom: 1px solid var(--n-divider-color);
border-bottom: var(--n-header-border-bottom);
display: flex;
justify-content: space-between;
align-items: center;
`,[V("close",`
margin-left: 6px;
transition:
background-color .3s var(--n-bezier),
color .3s var(--n-bezier);
`)]),z("drawer-footer",`
display: flex;
justify-content: flex-end;
border-top: var(--n-footer-border-top);
transition: border .3s var(--n-bezier);
padding: var(--n-footer-padding);
`)]),Z("right-placement",`
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%;
top: 0;
left: 0;
transform: translateX(-1.5px);
cursor: ew-resize;
`)]),Z("left-placement",`
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%;
top: 0;
right: 0;
transform: translateX(1.5px);
cursor: ew-resize;
`)]),Z("top-placement",`
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;
bottom: 0;
left: 0;
transform: translateY(1.5px);
cursor: ns-resize;
`)]),Z("bottom-placement",`
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;
top: 0;
left: 0;
transform: translateY(-1.5px);
cursor: ns-resize;
`)])]),q("body",[q(">",[z("drawer-container",`
position: fixed;
`)])]),z("drawer-container",`
position: relative;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
pointer-events: none;
`,[q("> *",`
pointer-events: all;
`)]),z("drawer-mask",`
background-color: rgba(0, 0, 0, .3);
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
`,[Z("invisible",`
background-color: rgba(0, 0, 0, 0)
`),dl({enterDuration:"0.2s",leaveDuration:"0.2s",enterCubicBezier:"var(--n-bezier-in)",leaveCubicBezier:"var(--n-bezier-out)"})])]),lK=Object.assign(Object.assign({},Be.props),{show:Boolean,width:[Number,String],height:[Number,String],placement:{type:String,default:"right"},maskClosable:{type:Boolean,default:!0},showMask:{type:[Boolean,String],default:!0},to:[String,Object],displayDirective:{type:String,default:"if"},nativeScrollbar:{type:Boolean,default:!0},zIndex:Number,onMaskClick:Function,scrollbarProps:Object,contentClass:String,contentStyle:[Object,String],trapFocus:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0},maxWidth:Number,maxHeight:Number,minWidth:Number,minHeight:Number,resizable:Boolean,defaultWidth:{type:[Number,String],default:251},defaultHeight:{type:[Number,String],default:251},onUpdateWidth:[Function,Array],onUpdateHeight:[Function,Array],"onUpdate:width":[Function,Array],"onUpdate:height":[Function,Array],"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,drawerStyle:[String,Object],drawerClass:String,target:null,onShow:Function,onHide:Function}),_S=be({name:"Drawer",inheritAttrs:!1,props:lK,setup(e){const{mergedClsPrefixRef:t,namespaceRef:n,inlineThemeDisabled:o}=st(e),r=Qr(),i=Be("Drawer","-drawer",sK,Uq,e,t),a=W(e.defaultWidth),s=W(e.defaultHeight),l=an(We(e,"width"),a),c=an(We(e,"height"),s),u=F(()=>{const{placement:x}=e;return x==="top"||x==="bottom"?"":qt(l.value)}),d=F(()=>{const{placement:x}=e;return x==="left"||x==="right"?"":qt(c.value)}),f=x=>{const{onUpdateWidth:y,"onUpdate:width":P}=e;y&&$e(y,x),P&&$e(P,x),a.value=x},h=x=>{const{onUpdateHeight:y,"onUpdate:width":P}=e;y&&$e(y,x),P&&$e(P,x),s.value=x},p=F(()=>[{width:u.value,height:d.value},e.drawerStyle||""]);function g(x){const{onMaskClick:y,maskClosable:P}=e;P&&C(!1),y&&y(x)}function m(x){g(x)}const b=Kw();function _(x){var y;(y=e.onEsc)===null||y===void 0||y.call(e),e.show&&e.closeOnEsc&&Pw(x)&&(b.value||C(!1))}function C(x){const{onHide:y,onUpdateShow:P,"onUpdate:show":k}=e;P&&$e(P,x),k&&$e(k,x),y&&!x&&$e(y,x)}at(Up,{isMountedRef:r,mergedThemeRef:i,mergedClsPrefixRef:t,doUpdateShow:C,doUpdateHeight:h,doUpdateWidth:f});const S=F(()=>{const{common:{cubicBezierEaseInOut:x,cubicBezierEaseIn:y,cubicBezierEaseOut:P},self:{color:k,textColor:T,boxShadow:E,lineHeight:R,headerPadding:K,footerPadding:N,borderRadius:D,bodyPadding:M,titleFontSize:G,titleTextColor:J,titleFontWeight:he,headerBorderBottom:pe,footerBorderTop:B,closeIconColor:$,closeIconColorHover:A,closeIconColorPressed:Y,closeColorHover:ne,closeColorPressed:fe,closeIconSize:Q,closeSize:xe,closeBorderRadius:H,resizableTriggerColorHover:ye}}=i.value;return{"--n-line-height":R,"--n-color":k,"--n-border-radius":D,"--n-text-color":T,"--n-box-shadow":E,"--n-bezier":x,"--n-bezier-out":P,"--n-bezier-in":y,"--n-header-padding":K,"--n-body-padding":M,"--n-footer-padding":N,"--n-title-text-color":J,"--n-title-font-size":G,"--n-title-font-weight":he,"--n-header-border-bottom":pe,"--n-footer-border-top":B,"--n-close-icon-color":$,"--n-close-icon-color-hover":A,"--n-close-icon-color-pressed":Y,"--n-close-size":xe,"--n-close-color-hover":ne,"--n-close-color-pressed":fe,"--n-close-icon-size":Q,"--n-close-border-radius":H,"--n-resize-trigger-color-hover":ye}}),w=o?Pt("drawer",void 0,S,e):void 0;return{mergedClsPrefix:t,namespace:n,mergedBodyStyle:p,handleOutsideClick:m,handleMaskClick:g,handleEsc:_,mergedTheme:i,cssVars:o?void 0:S,themeClass:w==null?void 0:w.themeClass,onRender:w==null?void 0:w.onRender,isMounted:r}},render(){const{mergedClsPrefix:e}=this;return v(Ru,{to:this.to,show:this.show},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),dn(v("div",{class:[`${e}-drawer-container`,this.namespace,this.themeClass],style:this.cssVars,role:"none"},this.showMask?v(fn,{name:"fade-in-transition",appear:this.isMounted},{default:()=>this.show?v("div",{"aria-hidden":!0,class:[`${e}-drawer-mask`,this.showMask==="transparent"&&`${e}-drawer-mask--invisible`],onClick:this.handleMaskClick}):null}):null,v(Gq,Object.assign({},this.$attrs,{class:[this.drawerClass,this.$attrs.class],style:[this.mergedBodyStyle,this.$attrs.style],blockScroll:this.blockScroll,contentStyle:this.contentStyle,contentClass:this.contentClass,placement:this.placement,scrollbarProps:this.scrollbarProps,show:this.show,displayDirective:this.displayDirective,nativeScrollbar:this.nativeScrollbar,onAfterEnter:this.onAfterEnter,onAfterLeave:this.onAfterLeave,trapFocus:this.trapFocus,autoFocus:this.autoFocus,resizable:this.resizable,maxHeight:this.maxHeight,minHeight:this.minHeight,maxWidth:this.maxWidth,minWidth:this.minWidth,showMask:this.showMask,onEsc:this.handleEsc,onClickoutside:this.handleOutsideClick}),this.$slots)),[[Tu,{zIndex:this.zIndex,enabled:this.show}]])}})}}),cK={title:String,headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],bodyClass:String,bodyStyle:[Object,String],bodyContentClass:String,bodyContentStyle:[Object,String],nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,closable:Boolean},uK=be({name:"DrawerContent",props:cK,setup(){const e=Ue(Up,null);e||fr("drawer-content","`n-drawer-content` must be placed inside `n-drawer`.");const{doUpdateShow:t}=e;function n(){t(!1)}return{handleCloseClick:n,mergedTheme:e.mergedThemeRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{title:e,mergedClsPrefix:t,nativeScrollbar:n,mergedTheme:o,bodyClass:r,bodyStyle:i,bodyContentClass:a,bodyContentStyle:s,headerClass:l,headerStyle:c,footerClass:u,footerStyle:d,scrollbarProps:f,closable:h,$slots:p}=this;return v("div",{role:"none",class:[`${t}-drawer-content`,n&&`${t}-drawer-content--native-scrollbar`]},p.header||e||h?v("div",{class:[`${t}-drawer-header`,l],style:c,role:"none"},v("div",{class:`${t}-drawer-header__main`,role:"heading","aria-level":"1"},p.header!==void 0?p.header():e),h&&v(qi,{onClick:this.handleCloseClick,clsPrefix:t,class:`${t}-drawer-header__close`,absolute:!0})):null,n?v("div",{class:[`${t}-drawer-body`,r],style:i,role:"none"},v("div",{class:[`${t}-drawer-body-content-wrapper`,a],style:s,role:"none"},p)):v(Io,Object.assign({themeOverrides:o.peerOverrides.Scrollbar,theme:o.peers.Scrollbar},f,{class:`${t}-drawer-body`,contentClass:[`${t}-drawer-body-content-wrapper`,a],contentStyle:s}),p),p.footer?v("div",{class:[`${t}-drawer-footer`,u],style:d,role:"none"},p.footer()):null)}}),dK={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},fK={name:"DynamicInput",common:je,peers:{Input:mo,Button:Wn},self(){return dK}},hK=fK,SS={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},pK={name:"Space",self(){return SS}},kS=pK;function mK(){return SS}const gK={name:"Space",self:mK},vK=gK;let sf;function bK(){if(!hr)return!0;if(sf===void 0){const e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e);const t=e.scrollHeight===1;return document.body.removeChild(e),sf=t}return sf}const yK=Object.assign(Object.assign({},Be.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrapItem:{type:Boolean,default:!0},itemClass:String,itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),Zi=be({name:"Space",props:yK,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=st(e),o=Be("Space","-space",void 0,vK,e,t),r=pn("Space",n,t);return{useGap:bK(),rtlEnabled:r,mergedClsPrefix:t,margin:F(()=>{const{size:i}=e;if(Array.isArray(i))return{horizontal:i[0],vertical:i[1]};if(typeof i=="number")return{horizontal:i,vertical:i};const{self:{[Re("gap",i)]:a}}=o.value,{row:s,col:l}=B6(a);return{horizontal:bn(l),vertical:bn(s)}})}},render(){const{vertical:e,reverse:t,align:n,inline:o,justify:r,itemClass:i,itemStyle:a,margin:s,wrap:l,mergedClsPrefix:c,rtlEnabled:u,useGap:d,wrapItem:f,internalUseGap:h}=this,p=Ra(mw(this),!1);if(!p.length)return null;const g=`${s.horizontal}px`,m=`${s.horizontal/2}px`,b=`${s.vertical}px`,_=`${s.vertical/2}px`,C=p.length-1,S=r.startsWith("space-");return v("div",{role:"none",class:[`${c}-space`,u&&`${c}-space--rtl`],style:{display:o?"inline-flex":"flex",flexDirection:(()=>e&&!t?"column":e&&t?"column-reverse":!e&&t?"row-reverse":"row")(),justifyContent:["start","end"].includes(r)?`flex-${r}`:r,flexWrap:!l||e?"nowrap":"wrap",marginTop:d||e?"":`-${_}`,marginBottom:d||e?"":`-${_}`,alignItems:n,gap:d?`${s.vertical}px ${s.horizontal}px`:""}},!f&&(d||h)?p:p.map((w,x)=>w.type===_n?w:v("div",{role:"none",class:i,style:[a,{maxWidth:"100%"},d?"":e?{marginBottom:x!==C?b:""}:u?{marginLeft:S?r==="space-between"&&x===C?"":m:x!==C?g:"",marginRight:S?r==="space-between"&&x===0?"":m:"",paddingTop:_,paddingBottom:_}:{marginRight:S?r==="space-between"&&x===C?"":m:x!==C?g:"",marginLeft:S?r==="space-between"&&x===0?"":m:"",paddingTop:_,paddingBottom:_}]},w)))}}),xK={name:"DynamicTags",common:je,peers:{Input:mo,Button:Wn,Tag:r2,Space:kS},self(){return{inputWidth:"64px"}}},CK=xK,wK={name:"Element",common:je},_K=wK,SK={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},kK={name:"Flex",self(){return SK}},PK=kK,TK={feedbackPadding:"4px 0 0 2px",feedbackHeightSmall:"24px",feedbackHeightMedium:"24px",feedbackHeightLarge:"26px",feedbackFontSizeSmall:"13px",feedbackFontSizeMedium:"14px",feedbackFontSizeLarge:"14px",labelFontSizeLeftSmall:"14px",labelFontSizeLeftMedium:"14px",labelFontSizeLeftLarge:"15px",labelFontSizeTopSmall:"13px",labelFontSizeTopMedium:"14px",labelFontSizeTopLarge:"14px",labelHeightSmall:"24px",labelHeightMedium:"26px",labelHeightLarge:"28px",labelPaddingVertical:"0 0 6px 2px",labelPaddingHorizontal:"0 12px 0 0",labelTextAlignVertical:"left",labelTextAlignHorizontal:"right",labelFontWeight:"400"};function RK(e){const{heightSmall:t,heightMedium:n,heightLarge:o,textColor1:r,errorColor:i,warningColor:a,lineHeight:s,textColor3:l}=e;return Object.assign(Object.assign({},TK),{blankHeightSmall:t,blankHeightMedium:n,blankHeightLarge:o,lineHeight:s,labelTextColor:r,asteriskColor:i,feedbackTextColorError:i,feedbackTextColorWarning:a,feedbackTextColor:l})}const EK={name:"Form",common:je,self:RK},$K=EK,AK={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"};function PS(e){const{textColor2:t,successColor:n,infoColor:o,warningColor:r,errorColor:i,popoverColor:a,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:c,closeColorHover:u,closeColorPressed:d,textColor1:f,textColor3:h,borderRadius:p,fontWeightStrong:g,boxShadow2:m,lineHeight:b,fontSize:_}=e;return Object.assign(Object.assign({},AK),{borderRadius:p,lineHeight:b,fontSize:_,headerFontWeight:g,iconColor:t,iconColorSuccess:n,iconColorInfo:o,iconColorWarning:r,iconColorError:i,color:a,textColor:t,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:c,closeBorderRadius:p,closeColorHover:u,closeColorPressed:d,headerTextColor:f,descriptionTextColor:h,actionTextColor:t,boxShadow:m})}const IK={name:"Notification",common:xt,peers:{Scrollbar:Gi},self:PS},OK=IK,MK={name:"Notification",common:je,peers:{Scrollbar:Vn},self:PS},zK=MK,DK={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 10px",closeSize:"20px",closeIconSize:"16px",iconSize:"20px",fontSize:"14px"};function TS(e){const{textColor2:t,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:r,infoColor:i,successColor:a,errorColor:s,warningColor:l,popoverColor:c,boxShadow2:u,primaryColor:d,lineHeight:f,borderRadius:h,closeColorHover:p,closeColorPressed:g}=e;return Object.assign(Object.assign({},DK),{closeBorderRadius:h,textColor:t,textColorInfo:t,textColorSuccess:t,textColorError:t,textColorWarning:t,textColorLoading:t,color:c,colorInfo:c,colorSuccess:c,colorError:c,colorWarning:c,colorLoading:c,boxShadow:u,boxShadowInfo:u,boxShadowSuccess:u,boxShadowError:u,boxShadowWarning:u,boxShadowLoading:u,iconColor:t,iconColorInfo:i,iconColorSuccess:a,iconColorWarning:l,iconColorError:s,iconColorLoading:d,closeColorHover:p,closeColorPressed:g,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:r,closeColorHoverInfo:p,closeColorPressedInfo:g,closeIconColorInfo:n,closeIconColorHoverInfo:o,closeIconColorPressedInfo:r,closeColorHoverSuccess:p,closeColorPressedSuccess:g,closeIconColorSuccess:n,closeIconColorHoverSuccess:o,closeIconColorPressedSuccess:r,closeColorHoverError:p,closeColorPressedError:g,closeIconColorError:n,closeIconColorHoverError:o,closeIconColorPressedError:r,closeColorHoverWarning:p,closeColorPressedWarning:g,closeIconColorWarning:n,closeIconColorHoverWarning:o,closeIconColorPressedWarning:r,closeColorHoverLoading:p,closeColorPressedLoading:g,closeIconColorLoading:n,closeIconColorHoverLoading:o,closeIconColorPressedLoading:r,loadingColor:d,lineHeight:f,borderRadius:h})}const LK={name:"Message",common:xt,self:TS},FK=LK,BK={name:"Message",common:je,self:TS},NK=BK,HK={name:"ButtonGroup",common:je},jK=HK,VK={name:"GradientText",common:je,self(e){const{primaryColor:t,successColor:n,warningColor:o,errorColor:r,infoColor:i,primaryColorSuppl:a,successColorSuppl:s,warningColorSuppl:l,errorColorSuppl:c,infoColorSuppl:u,fontWeightStrong:d}=e;return{fontWeight:d,rotate:"252deg",colorStartPrimary:t,colorEndPrimary:a,colorStartInfo:i,colorEndInfo:u,colorStartWarning:o,colorEndWarning:l,colorStartError:r,colorEndError:c,colorStartSuccess:n,colorEndSuccess:s}}},WK=VK,UK={name:"InputNumber",common:je,peers:{Button:Wn,Input:mo},self(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}},qK=UK;function KK(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}const GK={name:"InputNumber",common:xt,peers:{Button:zu,Input:vm},self:KK},YK=GK,XK={name:"Layout",common:je,peers:{Scrollbar:Vn},self(e){const{textColor2:t,bodyColor:n,popoverColor:o,cardColor:r,dividerColor:i,scrollbarColor:a,scrollbarColorHover:s}=e;return{textColor:t,textColorInverted:t,color:n,colorEmbedded:n,headerColor:r,headerColorInverted:r,footerColor:r,footerColorInverted:r,headerBorderColor:i,headerBorderColorInverted:i,footerBorderColor:i,footerBorderColorInverted:i,siderBorderColor:i,siderBorderColorInverted:i,siderColor:r,siderColorInverted:r,siderToggleButtonBorder:"1px solid transparent",siderToggleButtonColor:o,siderToggleButtonIconColor:t,siderToggleButtonIconColorInverted:t,siderToggleBarColor:Ge(n,a),siderToggleBarColorHover:Ge(n,s),__invertScrollbar:"false"}}},ZK=XK;function JK(e){const{baseColor:t,textColor2:n,bodyColor:o,cardColor:r,dividerColor:i,actionColor:a,scrollbarColor:s,scrollbarColorHover:l,invertedColor:c}=e;return{textColor:n,textColorInverted:"#FFF",color:o,colorEmbedded:a,headerColor:r,headerColorInverted:c,footerColor:a,footerColorInverted:c,headerBorderColor:i,headerBorderColorInverted:c,footerBorderColor:i,footerBorderColorInverted:c,siderBorderColor:i,siderBorderColorInverted:c,siderColor:r,siderColorInverted:c,siderToggleButtonBorder:`1px solid ${i}`,siderToggleButtonColor:t,siderToggleButtonIconColor:n,siderToggleButtonIconColorInverted:n,siderToggleBarColor:Ge(o,s),siderToggleBarColorHover:Ge(o,l),__invertScrollbar:"true"}}const QK={name:"Layout",common:xt,peers:{Scrollbar:Gi},self:JK},RS=QK;function ES(e){const{textColor2:t,cardColor:n,modalColor:o,popoverColor:r,dividerColor:i,borderRadius:a,fontSize:s,hoverColor:l}=e;return{textColor:t,color:n,colorHover:l,colorModal:o,colorHoverModal:Ge(o,l),colorPopover:r,colorHoverPopover:Ge(r,l),borderColor:i,borderColorModal:Ge(o,i),borderColorPopover:Ge(r,i),borderRadius:a,fontSize:s}}const eG={name:"List",common:xt,self:ES},tG=eG,nG={name:"List",common:je,self:ES},oG=nG,rG={name:"LoadingBar",common:je,self(e){const{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}},iG=rG;function aG(e){const{primaryColor:t,errorColor:n}=e;return{colorError:n,colorLoading:t,height:"2px"}}const sG={name:"LoadingBar",common:xt,self:aG},lG=sG,cG={name:"Log",common:je,peers:{Scrollbar:Vn,Code:R2},self(e){const{textColor2:t,inputColor:n,fontSize:o,primaryColor:r}=e;return{loaderFontSize:o,loaderTextColor:t,loaderColor:n,loaderBorder:"1px solid #0000",loadingColor:r}}},uG=cG,dG={name:"Mention",common:je,peers:{InternalSelectMenu:fl,Input:mo},self(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}},fG=dG;function hG(e,t,n,o){return{itemColorHoverInverted:"#0000",itemColorActiveInverted:t,itemColorActiveHoverInverted:t,itemColorActiveCollapsedInverted:t,itemTextColorInverted:e,itemTextColorHoverInverted:n,itemTextColorChildActiveInverted:n,itemTextColorChildActiveHoverInverted:n,itemTextColorActiveInverted:n,itemTextColorActiveHoverInverted:n,itemTextColorHorizontalInverted:e,itemTextColorHoverHorizontalInverted:n,itemTextColorChildActiveHorizontalInverted:n,itemTextColorChildActiveHoverHorizontalInverted:n,itemTextColorActiveHorizontalInverted:n,itemTextColorActiveHoverHorizontalInverted:n,itemIconColorInverted:e,itemIconColorHoverInverted:n,itemIconColorActiveInverted:n,itemIconColorActiveHoverInverted:n,itemIconColorChildActiveInverted:n,itemIconColorChildActiveHoverInverted:n,itemIconColorCollapsedInverted:e,itemIconColorHorizontalInverted:e,itemIconColorHoverHorizontalInverted:n,itemIconColorActiveHorizontalInverted:n,itemIconColorActiveHoverHorizontalInverted:n,itemIconColorChildActiveHorizontalInverted:n,itemIconColorChildActiveHoverHorizontalInverted:n,arrowColorInverted:e,arrowColorHoverInverted:n,arrowColorActiveInverted:n,arrowColorActiveHoverInverted:n,arrowColorChildActiveInverted:n,arrowColorChildActiveHoverInverted:n,groupTextColorInverted:o}}function $S(e){const{borderRadius:t,textColor3:n,primaryColor:o,textColor2:r,textColor1:i,fontSize:a,dividerColor:s,hoverColor:l,primaryColorHover:c}=e;return Object.assign({borderRadius:t,color:"#0000",groupTextColor:n,itemColorHover:l,itemColorActive:Me(o,{alpha:.1}),itemColorActiveHover:Me(o,{alpha:.1}),itemColorActiveCollapsed:Me(o,{alpha:.1}),itemTextColor:r,itemTextColorHover:r,itemTextColorActive:o,itemTextColorActiveHover:o,itemTextColorChildActive:o,itemTextColorChildActiveHover:o,itemTextColorHorizontal:r,itemTextColorHoverHorizontal:c,itemTextColorActiveHorizontal:o,itemTextColorActiveHoverHorizontal:o,itemTextColorChildActiveHorizontal:o,itemTextColorChildActiveHoverHorizontal:o,itemIconColor:i,itemIconColorHover:i,itemIconColorActive:o,itemIconColorActiveHover:o,itemIconColorChildActive:o,itemIconColorChildActiveHover:o,itemIconColorCollapsed:i,itemIconColorHorizontal:i,itemIconColorHoverHorizontal:c,itemIconColorActiveHorizontal:o,itemIconColorActiveHoverHorizontal:o,itemIconColorChildActiveHorizontal:o,itemIconColorChildActiveHoverHorizontal:o,itemHeight:"42px",arrowColor:r,arrowColorHover:r,arrowColorActive:o,arrowColorActiveHover:o,arrowColorChildActive:o,arrowColorChildActiveHover:o,colorInverted:"#0000",borderColorHorizontal:"#0000",fontSize:a,dividerColor:s},hG("#BBB",o,"#FFF","#AAA"))}const pG={name:"Menu",common:xt,peers:{Tooltip:Sm,Dropdown:Pm},self:$S},mG=pG,gG={name:"Menu",common:je,peers:{Tooltip:Lu,Dropdown:Tm},self(e){const{primaryColor:t,primaryColorSuppl:n}=e,o=$S(e);return o.itemColorActive=Me(t,{alpha:.15}),o.itemColorActiveHover=Me(t,{alpha:.15}),o.itemColorActiveCollapsed=Me(t,{alpha:.15}),o.itemColorActiveInverted=n,o.itemColorActiveHoverInverted=n,o.itemColorActiveCollapsedInverted=n,o}},vG=gG,bG={titleFontSize:"18px",backSize:"22px"};function yG(e){const{textColor1:t,textColor2:n,textColor3:o,fontSize:r,fontWeightStrong:i,primaryColorHover:a,primaryColorPressed:s}=e;return Object.assign(Object.assign({},bG),{titleFontWeight:i,fontSize:r,titleTextColor:t,backColor:n,backColorHover:a,backColorPressed:s,subtitleTextColor:o})}const xG={name:"PageHeader",common:je,self:yG},CG={iconSize:"22px"};function wG(e){const{fontSize:t,warningColor:n}=e;return Object.assign(Object.assign({},CG),{fontSize:t,iconColor:n})}const _G={name:"Popconfirm",common:je,peers:{Button:Wn,Popover:Yi},self:wG},SG=_G;function AS(e){const{infoColor:t,successColor:n,warningColor:o,errorColor:r,textColor2:i,progressRailColor:a,fontSize:s,fontWeight:l}=e;return{fontSize:s,fontSizeCircle:"28px",fontWeightCircle:l,railColor:a,railHeight:"8px",iconSizeCircle:"36px",iconSizeLine:"18px",iconColor:t,iconColorInfo:t,iconColorSuccess:n,iconColorWarning:o,iconColorError:r,textColorCircle:i,textColorLineInner:"rgb(255, 255, 255)",textColorLineOuter:i,fillColor:t,fillColorInfo:t,fillColorSuccess:n,fillColorWarning:o,fillColorError:r,lineBgProcessing:"linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)"}}const kG={name:"Progress",common:xt,self:AS},PG=kG,TG={name:"Progress",common:je,self(e){const t=AS(e);return t.textColorLineInner="rgb(0, 0, 0)",t.lineBgProcessing="linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)",t}},IS=TG,RG={name:"Rate",common:je,self(e){const{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},EG=RG,$G={titleFontSizeSmall:"26px",titleFontSizeMedium:"32px",titleFontSizeLarge:"40px",titleFontSizeHuge:"48px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",iconSizeSmall:"64px",iconSizeMedium:"80px",iconSizeLarge:"100px",iconSizeHuge:"125px",iconColor418:void 0,iconColor404:void 0,iconColor403:void 0,iconColor500:void 0};function OS(e){const{textColor2:t,textColor1:n,errorColor:o,successColor:r,infoColor:i,warningColor:a,lineHeight:s,fontWeightStrong:l}=e;return Object.assign(Object.assign({},$G),{lineHeight:s,titleFontWeight:l,titleTextColor:n,textColor:t,iconColorError:o,iconColorSuccess:r,iconColorInfo:i,iconColorWarning:a})}const AG={name:"Result",common:xt,self:OS},IG=AG,OG={name:"Result",common:je,self:OS},MG=OG,zG={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},DG={name:"Slider",common:je,self(e){const t="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:n,modalColor:o,primaryColorSuppl:r,popoverColor:i,textColor2:a,cardColor:s,borderRadius:l,fontSize:c,opacityDisabled:u}=e;return Object.assign(Object.assign({},zG),{fontSize:c,markFontSize:c,railColor:n,railColorHover:n,fillColor:r,fillColorHover:r,opacityDisabled:u,handleColor:"#FFF",dotColor:s,dotColorModal:o,dotColorPopover:i,handleBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowHover:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowActive:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowFocus:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",indicatorColor:i,indicatorBoxShadow:t,indicatorTextColor:a,indicatorBorderRadius:l,dotBorder:`2px solid ${n}`,dotBorderActive:`2px solid ${r}`,dotBoxShadow:""})}},LG=DG;function MS(e){const{opacityDisabled:t,heightTiny:n,heightSmall:o,heightMedium:r,heightLarge:i,heightHuge:a,primaryColor:s,fontSize:l}=e;return{fontSize:l,textColor:s,sizeTiny:n,sizeSmall:o,sizeMedium:r,sizeLarge:i,sizeHuge:a,color:s,opacitySpinning:t}}const FG={name:"Spin",common:xt,self:MS},BG=FG,NG={name:"Spin",common:je,self:MS},HG=NG;function jG(e){const{textColor2:t,textColor3:n,fontSize:o,fontWeight:r}=e;return{labelFontSize:o,labelFontWeight:r,valueFontWeight:r,valueFontSize:"24px",labelTextColor:n,valuePrefixTextColor:t,valueSuffixTextColor:t,valueTextColor:t}}const VG={name:"Statistic",common:je,self:jG},WG=VG,UG={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"};function qG(e){const{fontWeightStrong:t,baseColor:n,textColorDisabled:o,primaryColor:r,errorColor:i,textColor1:a,textColor2:s}=e;return Object.assign(Object.assign({},UG),{stepHeaderFontWeight:t,indicatorTextColorProcess:n,indicatorTextColorWait:o,indicatorTextColorFinish:r,indicatorTextColorError:i,indicatorBorderColorProcess:r,indicatorBorderColorWait:o,indicatorBorderColorFinish:r,indicatorBorderColorError:i,indicatorColorProcess:r,indicatorColorWait:"#0000",indicatorColorFinish:"#0000",indicatorColorError:"#0000",splitorColorProcess:o,splitorColorWait:o,splitorColorFinish:r,splitorColorError:o,headerTextColorProcess:a,headerTextColorWait:o,headerTextColorFinish:o,headerTextColorError:i,descriptionTextColorProcess:s,descriptionTextColorWait:o,descriptionTextColorFinish:o,descriptionTextColorError:i})}const KG={name:"Steps",common:je,self:qG},GG=KG,zS={buttonHeightSmall:"14px",buttonHeightMedium:"18px",buttonHeightLarge:"22px",buttonWidthSmall:"14px",buttonWidthMedium:"18px",buttonWidthLarge:"22px",buttonWidthPressedSmall:"20px",buttonWidthPressedMedium:"24px",buttonWidthPressedLarge:"28px",railHeightSmall:"18px",railHeightMedium:"22px",railHeightLarge:"26px",railWidthSmall:"32px",railWidthMedium:"40px",railWidthLarge:"48px"},YG={name:"Switch",common:je,self(e){const{primaryColorSuppl:t,opacityDisabled:n,borderRadius:o,primaryColor:r,textColor2:i,baseColor:a}=e,s="rgba(255, 255, 255, .20)";return Object.assign(Object.assign({},zS),{iconColor:a,textColor:i,loadingColor:t,opacityDisabled:n,railColor:s,railColorActive:t,buttonBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 8px 0 ${Me(r,{alpha:.3})}`})}},XG=YG;function ZG(e){const{primaryColor:t,opacityDisabled:n,borderRadius:o,textColor3:r}=e,i="rgba(0, 0, 0, .14)";return Object.assign(Object.assign({},zS),{iconColor:r,textColor:"white",loadingColor:t,opacityDisabled:n,railColor:i,railColorActive:t,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 0 2px ${Me(t,{alpha:.2})}`})}const JG={name:"Switch",common:xt,self:ZG},QG=JG,eY={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"};function tY(e){const{dividerColor:t,cardColor:n,modalColor:o,popoverColor:r,tableHeaderColor:i,tableColorStriped:a,textColor1:s,textColor2:l,borderRadius:c,fontWeightStrong:u,lineHeight:d,fontSizeSmall:f,fontSizeMedium:h,fontSizeLarge:p}=e;return Object.assign(Object.assign({},eY),{fontSizeSmall:f,fontSizeMedium:h,fontSizeLarge:p,lineHeight:d,borderRadius:c,borderColor:Ge(n,t),borderColorModal:Ge(o,t),borderColorPopover:Ge(r,t),tdColor:n,tdColorModal:o,tdColorPopover:r,tdColorStriped:Ge(n,a),tdColorStripedModal:Ge(o,a),tdColorStripedPopover:Ge(r,a),thColor:Ge(n,i),thColorModal:Ge(o,i),thColorPopover:Ge(r,i),thTextColor:s,tdTextColor:l,thFontWeight:u})}const nY={name:"Table",common:je,self:tY},oY=nY,rY={tabFontSizeSmall:"14px",tabFontSizeMedium:"14px",tabFontSizeLarge:"16px",tabGapSmallLine:"36px",tabGapMediumLine:"36px",tabGapLargeLine:"36px",tabGapSmallLineVertical:"8px",tabGapMediumLineVertical:"8px",tabGapLargeLineVertical:"8px",tabPaddingSmallLine:"6px 0",tabPaddingMediumLine:"10px 0",tabPaddingLargeLine:"14px 0",tabPaddingVerticalSmallLine:"6px 12px",tabPaddingVerticalMediumLine:"8px 16px",tabPaddingVerticalLargeLine:"10px 20px",tabGapSmallBar:"36px",tabGapMediumBar:"36px",tabGapLargeBar:"36px",tabGapSmallBarVertical:"8px",tabGapMediumBarVertical:"8px",tabGapLargeBarVertical:"8px",tabPaddingSmallBar:"4px 0",tabPaddingMediumBar:"6px 0",tabPaddingLargeBar:"10px 0",tabPaddingVerticalSmallBar:"6px 12px",tabPaddingVerticalMediumBar:"8px 16px",tabPaddingVerticalLargeBar:"10px 20px",tabGapSmallCard:"4px",tabGapMediumCard:"4px",tabGapLargeCard:"4px",tabGapSmallCardVertical:"4px",tabGapMediumCardVertical:"4px",tabGapLargeCardVertical:"4px",tabPaddingSmallCard:"8px 16px",tabPaddingMediumCard:"10px 20px",tabPaddingLargeCard:"12px 24px",tabPaddingSmallSegment:"4px 0",tabPaddingMediumSegment:"6px 0",tabPaddingLargeSegment:"8px 0",tabPaddingVerticalLargeSegment:"0 8px",tabPaddingVerticalSmallCard:"8px 12px",tabPaddingVerticalMediumCard:"10px 16px",tabPaddingVerticalLargeCard:"12px 20px",tabPaddingVerticalSmallSegment:"0 4px",tabPaddingVerticalMediumSegment:"0 6px",tabGapSmallSegment:"0",tabGapMediumSegment:"0",tabGapLargeSegment:"0",tabGapSmallSegmentVertical:"0",tabGapMediumSegmentVertical:"0",tabGapLargeSegmentVertical:"0",panePaddingSmall:"8px 0 0 0",panePaddingMedium:"12px 0 0 0",panePaddingLarge:"16px 0 0 0",closeSize:"18px",closeIconSize:"14px"};function iY(e){const{textColor2:t,primaryColor:n,textColorDisabled:o,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,tabColor:c,baseColor:u,dividerColor:d,fontWeight:f,textColor1:h,borderRadius:p,fontSize:g,fontWeightStrong:m}=e;return Object.assign(Object.assign({},rY),{colorSegment:c,tabFontSizeCard:g,tabTextColorLine:h,tabTextColorActiveLine:n,tabTextColorHoverLine:n,tabTextColorDisabledLine:o,tabTextColorSegment:h,tabTextColorActiveSegment:t,tabTextColorHoverSegment:t,tabTextColorDisabledSegment:o,tabTextColorBar:h,tabTextColorActiveBar:n,tabTextColorHoverBar:n,tabTextColorDisabledBar:o,tabTextColorCard:h,tabTextColorHoverCard:h,tabTextColorActiveCard:n,tabTextColorDisabledCard:o,barColor:n,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,closeBorderRadius:p,tabColor:c,tabColorSegment:u,tabBorderColor:d,tabFontWeightActive:f,tabFontWeight:f,tabBorderRadius:p,paneTextColor:t,fontWeightStrong:m})}const aY={name:"Tabs",common:je,self(e){const t=iY(e),{inputColor:n}=e;return t.colorSegment=n,t.tabColorSegment=n,t}},sY=aY;function lY(e){const{textColor1:t,textColor2:n,fontWeightStrong:o,fontSize:r}=e;return{fontSize:r,titleTextColor:t,textColor:n,titleFontWeight:o}}const cY={name:"Thing",common:je,self:lY},uY=cY,dY={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},fY={name:"Timeline",common:je,self(e){const{textColor3:t,infoColorSuppl:n,errorColorSuppl:o,successColorSuppl:r,warningColorSuppl:i,textColor1:a,textColor2:s,railColor:l,fontWeightStrong:c,fontSize:u}=e;return Object.assign(Object.assign({},dY),{contentFontSize:u,titleFontWeight:c,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${n}`,circleBorderError:`2px solid ${o}`,circleBorderSuccess:`2px solid ${r}`,circleBorderWarning:`2px solid ${i}`,iconColor:t,iconColorInfo:n,iconColorError:o,iconColorSuccess:r,iconColorWarning:i,titleTextColor:a,contentTextColor:s,metaTextColor:t,lineColor:l})}},hY=fY,pY={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"},mY={name:"Transfer",common:je,peers:{Checkbox:Ga,Scrollbar:Vn,Input:mo,Empty:Ki,Button:Wn},self(e){const{fontWeight:t,fontSizeLarge:n,fontSizeMedium:o,fontSizeSmall:r,heightLarge:i,heightMedium:a,borderRadius:s,inputColor:l,tableHeaderColor:c,textColor1:u,textColorDisabled:d,textColor2:f,textColor3:h,hoverColor:p,closeColorHover:g,closeColorPressed:m,closeIconColor:b,closeIconColorHover:_,closeIconColorPressed:C,dividerColor:S}=e;return Object.assign(Object.assign({},pY),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:i,fontSizeSmall:r,fontSizeMedium:o,fontSizeLarge:n,borderRadius:s,dividerColor:S,borderColor:"#0000",listColor:l,headerColor:c,titleTextColor:u,titleTextColorDisabled:d,extraTextColor:h,extraTextColorDisabled:d,itemTextColor:f,itemTextColorDisabled:d,itemColorPending:p,titleFontWeight:t,closeColorHover:g,closeColorPressed:m,closeIconColor:b,closeIconColorHover:_,closeIconColorPressed:C})}},gY=mY;function vY(e){const{borderRadiusSmall:t,dividerColor:n,hoverColor:o,pressedColor:r,primaryColor:i,textColor3:a,textColor2:s,textColorDisabled:l,fontSize:c}=e;return{fontSize:c,lineHeight:"1.5",nodeHeight:"30px",nodeWrapperPadding:"3px 0",nodeBorderRadius:t,nodeColorHover:o,nodeColorPressed:r,nodeColorActive:Me(i,{alpha:.1}),arrowColor:a,nodeTextColor:s,nodeTextColorDisabled:l,loadingColor:i,dropMarkColor:i,lineColor:n}}const bY={name:"Tree",common:je,peers:{Checkbox:Ga,Scrollbar:Vn,Empty:Ki},self(e){const{primaryColor:t}=e,n=vY(e);return n.nodeColorActive=Me(t,{alpha:.15}),n}},DS=bY,yY={name:"TreeSelect",common:je,peers:{Tree:DS,Empty:Ki,InternalSelection:mm}},xY=yY,CY={headerFontSize1:"30px",headerFontSize2:"22px",headerFontSize3:"18px",headerFontSize4:"16px",headerFontSize5:"16px",headerFontSize6:"16px",headerMargin1:"28px 0 20px 0",headerMargin2:"28px 0 20px 0",headerMargin3:"28px 0 20px 0",headerMargin4:"28px 0 18px 0",headerMargin5:"28px 0 18px 0",headerMargin6:"28px 0 18px 0",headerPrefixWidth1:"16px",headerPrefixWidth2:"16px",headerPrefixWidth3:"12px",headerPrefixWidth4:"12px",headerPrefixWidth5:"12px",headerPrefixWidth6:"12px",headerBarWidth1:"4px",headerBarWidth2:"4px",headerBarWidth3:"3px",headerBarWidth4:"3px",headerBarWidth5:"3px",headerBarWidth6:"3px",pMargin:"16px 0 16px 0",liMargin:".25em 0 0 0",olPadding:"0 0 0 2em",ulPadding:"0 0 0 2em"};function wY(e){const{primaryColor:t,textColor2:n,borderColor:o,lineHeight:r,fontSize:i,borderRadiusSmall:a,dividerColor:s,fontWeightStrong:l,textColor1:c,textColor3:u,infoColor:d,warningColor:f,errorColor:h,successColor:p,codeColor:g}=e;return Object.assign(Object.assign({},CY),{aTextColor:t,blockquoteTextColor:n,blockquotePrefixColor:o,blockquoteLineHeight:r,blockquoteFontSize:i,codeBorderRadius:a,liTextColor:n,liLineHeight:r,liFontSize:i,hrColor:s,headerFontWeight:l,headerTextColor:c,pTextColor:n,pTextColor1Depth:c,pTextColor2Depth:n,pTextColor3Depth:u,pLineHeight:r,pFontSize:i,headerBarColor:t,headerBarColorPrimary:t,headerBarColorInfo:d,headerBarColorError:h,headerBarColorWarning:f,headerBarColorSuccess:p,textColor:n,textColor1Depth:c,textColor2Depth:n,textColor3Depth:u,textColorPrimary:t,textColorInfo:d,textColorSuccess:p,textColorWarning:f,textColorError:h,codeTextColor:n,codeColor:g,codeBorder:"1px solid #0000"})}const _Y={name:"Typography",common:je,self:wY},SY=_Y;function kY(e){const{iconColor:t,primaryColor:n,errorColor:o,textColor2:r,successColor:i,opacityDisabled:a,actionColor:s,borderColor:l,hoverColor:c,lineHeight:u,borderRadius:d,fontSize:f}=e;return{fontSize:f,lineHeight:u,borderRadius:d,draggerColor:s,draggerBorder:`1px dashed ${l}`,draggerBorderHover:`1px dashed ${n}`,itemColorHover:c,itemColorHoverError:Me(o,{alpha:.06}),itemTextColor:r,itemTextColorError:o,itemTextColorSuccess:i,itemIconColor:t,itemDisabledOpacity:a,itemBorderImageCardError:`1px solid ${o}`,itemBorderImageCard:`1px solid ${l}`}}const PY={name:"Upload",common:je,peers:{Button:Wn,Progress:IS},self(e){const{errorColor:t}=e,n=kY(e);return n.itemColorHoverError=Me(t,{alpha:.09}),n}},TY=PY,RY={name:"Watermark",common:je,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},EY=RY,$Y={name:"Row",common:je},AY=$Y,IY={name:"FloatButton",common:je,self(e){const{popoverColor:t,textColor2:n,buttonColor2Hover:o,buttonColor2Pressed:r,primaryColor:i,primaryColorHover:a,primaryColorPressed:s,baseColor:l,borderRadius:c}=e;return{color:t,textColor:n,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)",colorHover:o,colorPressed:r,colorPrimary:i,colorPrimaryHover:a,colorPrimaryPressed:s,textColorPrimary:l,borderRadiusSquare:c}}},OY=IY;function MY(e){const{primaryColor:t,baseColor:n}=e;return{color:t,iconColor:n}}const zY={name:"IconWrapper",common:je,self:MY},DY=zY,LY={name:"Image",common:je,peers:{Tooltip:Lu},self:e=>{const{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}};function FY(e){return e==null||typeof e=="string"&&e.trim()===""?null:Number(e)}function BY(e){return e.includes(".")&&(/^(-)?\d+.*(\.|0)$/.test(e)||/^\.\d+$/.test(e))}function lf(e){return e==null?!0:!Number.isNaN(e)}function f1(e,t){return typeof e!="number"?"":t===void 0?String(e):e.toFixed(t)}function cf(e){if(e===null)return null;if(typeof e=="number")return e;{const t=Number(e);return Number.isNaN(t)?null:t}}const NY=q([z("input-number-suffix",`
display: inline-block;
margin-right: 10px;
`),z("input-number-prefix",`
display: inline-block;
margin-left: 10px;
`)]),h1=800,p1=100,HY=Object.assign(Object.assign({},Be.props),{autofocus:Boolean,loading:{type:Boolean,default:void 0},placeholder:String,defaultValue:{type:Number,default:null},value:Number,step:{type:[Number,String],default:1},min:[Number,String],max:[Number,String],size:String,disabled:{type:Boolean,default:void 0},validator:Function,bordered:{type:Boolean,default:void 0},showButton:{type:Boolean,default:!0},buttonPlacement:{type:String,default:"right"},inputProps:Object,readonly:Boolean,clearable:Boolean,keyboard:{type:Object,default:{}},updateValueOnInput:{type:Boolean,default:!0},round:{type:Boolean,default:void 0},parse:Function,format:Function,precision:Number,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onChange:[Function,Array]}),jY=be({name:"InputNumber",props:HY,setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:n,mergedRtlRef:o}=st(e),r=Be("InputNumber","-input-number",NY,YK,e,n),{localeRef:i}=Hi("InputNumber"),a=pr(e),{mergedSizeRef:s,mergedDisabledRef:l,mergedStatusRef:c}=a,u=W(null),d=W(null),f=W(null),h=W(e.defaultValue),p=We(e,"value"),g=an(p,h),m=W(""),b=te=>{const ge=String(te).split(".")[1];return ge?ge.length:0},_=te=>{const ge=[e.min,e.max,e.step,te].map(ke=>ke===void 0?0:b(ke));return Math.max(...ge)},C=kt(()=>{const{placeholder:te}=e;return te!==void 0?te:i.value.placeholder}),S=kt(()=>{const te=cf(e.step);return te!==null?te===0?1:Math.abs(te):1}),w=kt(()=>{const te=cf(e.min);return te!==null?te:null}),x=kt(()=>{const te=cf(e.max);return te!==null?te:null}),y=()=>{const{value:te}=g;if(lf(te)){const{format:ge,precision:ke}=e;ge?m.value=ge(te):te===null||ke===void 0||b(te)>ke?m.value=f1(te,void 0):m.value=f1(te,ke)}else m.value=String(te)};y();const P=te=>{const{value:ge}=g;if(te===ge){y();return}const{"onUpdate:value":ke,onUpdateValue:I,onChange:j}=e,{nTriggerFormInput:ee,nTriggerFormChange:Ce}=a;j&&$e(j,te),I&&$e(I,te),ke&&$e(ke,te),h.value=te,ee(),Ce()},k=({offset:te,doUpdateIfValid:ge,fixPrecision:ke,isInputing:I})=>{const{value:j}=m;if(I&&BY(j))return!1;const ee=(e.parse||FY)(j);if(ee===null)return ge&&P(null),null;if(lf(ee)){const Ce=b(ee),{precision:ce}=e;if(ce!==void 0&&ce<Ce&&!ke)return!1;let le=Number.parseFloat((ee+te).toFixed(ce??_(ee)));if(lf(le)){const{value:re}=x,{value:de}=w;if(re!==null&&le>re){if(!ge||I)return!1;le=re}if(de!==null&&le<de){if(!ge||I)return!1;le=de}return e.validator&&!e.validator(le)?!1:(ge&&P(le),le)}}return!1},T=kt(()=>k({offset:0,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})===!1),E=kt(()=>{const{value:te}=g;if(e.validator&&te===null)return!1;const{value:ge}=S;return k({offset:-ge,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1}),R=kt(()=>{const{value:te}=g;if(e.validator&&te===null)return!1;const{value:ge}=S;return k({offset:+ge,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1});function K(te){const{onFocus:ge}=e,{nTriggerFormFocus:ke}=a;ge&&$e(ge,te),ke()}function N(te){var ge,ke;if(te.target===((ge=u.value)===null||ge===void 0?void 0:ge.wrapperElRef))return;const I=k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});if(I!==!1){const Ce=(ke=u.value)===null||ke===void 0?void 0:ke.inputElRef;Ce&&(Ce.value=String(I||"")),g.value===I&&y()}else y();const{onBlur:j}=e,{nTriggerFormBlur:ee}=a;j&&$e(j,te),ee(),Ht(()=>{y()})}function D(te){const{onClear:ge}=e;ge&&$e(ge,te)}function M(){const{value:te}=R;if(!te){xe();return}const{value:ge}=g;if(ge===null)e.validator||P(pe());else{const{value:ke}=S;k({offset:ke,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function G(){const{value:te}=E;if(!te){fe();return}const{value:ge}=g;if(ge===null)e.validator||P(pe());else{const{value:ke}=S;k({offset:-ke,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}const J=K,he=N;function pe(){if(e.validator)return null;const{value:te}=w,{value:ge}=x;return te!==null?Math.max(0,te):ge!==null?Math.min(0,ge):0}function B(te){D(te),P(null)}function $(te){var ge,ke,I;!((ge=f.value)===null||ge===void 0)&&ge.$el.contains(te.target)&&te.preventDefault(),!((ke=d.value)===null||ke===void 0)&&ke.$el.contains(te.target)&&te.preventDefault(),(I=u.value)===null||I===void 0||I.activate()}let A=null,Y=null,ne=null;function fe(){ne&&(window.clearTimeout(ne),ne=null),A&&(window.clearInterval(A),A=null)}let Q=null;function xe(){Q&&(window.clearTimeout(Q),Q=null),Y&&(window.clearInterval(Y),Y=null)}function H(){fe(),ne=window.setTimeout(()=>{A=window.setInterval(()=>{G()},p1)},h1),At("mouseup",document,fe,{once:!0})}function ye(){xe(),Q=window.setTimeout(()=>{Y=window.setInterval(()=>{M()},p1)},h1),At("mouseup",document,xe,{once:!0})}const Oe=()=>{Y||M()},Ne=()=>{A||G()};function L(te){var ge,ke;if(te.key==="Enter"){if(te.target===((ge=u.value)===null||ge===void 0?void 0:ge.wrapperElRef))return;k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&((ke=u.value)===null||ke===void 0||ke.deactivate())}else if(te.key==="ArrowUp"){if(!R.value||e.keyboard.ArrowUp===!1)return;te.preventDefault(),k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&M()}else if(te.key==="ArrowDown"){if(!E.value||e.keyboard.ArrowDown===!1)return;te.preventDefault(),k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&G()}}function O(te){m.value=te,e.updateValueOnInput&&!e.format&&!e.parse&&e.precision===void 0&&k({offset:0,doUpdateIfValid:!0,isInputing:!0,fixPrecision:!1})}ft(g,()=>{y()});const oe={focus:()=>{var te;return(te=u.value)===null||te===void 0?void 0:te.focus()},blur:()=>{var te;return(te=u.value)===null||te===void 0?void 0:te.blur()},select:()=>{var te;return(te=u.value)===null||te===void 0?void 0:te.select()}},_e=pn("InputNumber",o,n);return Object.assign(Object.assign({},oe),{rtlEnabled:_e,inputInstRef:u,minusButtonInstRef:d,addButtonInstRef:f,mergedClsPrefix:n,mergedBordered:t,uncontrolledValue:h,mergedValue:g,mergedPlaceholder:C,displayedValueInvalid:T,mergedSize:s,mergedDisabled:l,displayedValue:m,addable:R,minusable:E,mergedStatus:c,handleFocus:J,handleBlur:he,handleClear:B,handleMouseDown:$,handleAddClick:Oe,handleMinusClick:Ne,handleAddMousedown:ye,handleMinusMousedown:H,handleKeyDown:L,handleUpdateDisplayedValue:O,mergedTheme:r,inputThemeOverrides:{paddingSmall:"0 8px 0 10px",paddingMedium:"0 8px 0 12px",paddingLarge:"0 8px 0 14px"},buttonThemeOverrides:F(()=>{const{self:{iconColorDisabled:te}}=r.value,[ge,ke,I,j]=Uo(te);return{textColorTextDisabled:`rgb(${ge}, ${ke}, ${I})`,opacityDisabled:`${j}`}})})},render(){const{mergedClsPrefix:e,$slots:t}=this,n=()=>v(X0,{text:!0,disabled:!this.minusable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleMinusClick,onMousedown:this.handleMinusMousedown,ref:"minusButtonInstRef"},{icon:()=>An(t["minus-icon"],()=>[v(Ut,{clsPrefix:e},{default:()=>v(LN,null)})])}),o=()=>v(X0,{text:!0,disabled:!this.addable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleAddClick,onMousedown:this.handleAddMousedown,ref:"addButtonInstRef"},{icon:()=>An(t["add-icon"],()=>[v(Ut,{clsPrefix:e},{default:()=>v(EN,null)})])});return v("div",{class:[`${e}-input-number`,this.rtlEnabled&&`${e}-input-number--rtl`]},v(ur,{ref:"inputInstRef",autofocus:this.autofocus,status:this.mergedStatus,bordered:this.mergedBordered,loading:this.loading,value:this.displayedValue,onUpdateValue:this.handleUpdateDisplayedValue,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,builtinThemeOverrides:this.inputThemeOverrides,size:this.mergedSize,placeholder:this.mergedPlaceholder,disabled:this.mergedDisabled,readonly:this.readonly,round:this.round,textDecoration:this.displayedValueInvalid?"line-through":void 0,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onClear:this.handleClear,clearable:this.clearable,inputProps:this.inputProps,internalLoadingBeforeSuffix:!0},{prefix:()=>{var r;return this.showButton&&this.buttonPlacement==="both"?[n(),$t(t.prefix,i=>i?v("span",{class:`${e}-input-number-prefix`},i):null)]:(r=t.prefix)===null||r===void 0?void 0:r.call(t)},suffix:()=>{var r;return this.showButton?[$t(t.suffix,i=>i?v("span",{class:`${e}-input-number-suffix`},i):null),this.buttonPlacement==="right"?n():null,o()]:(r=t.suffix)===null||r===void 0?void 0:r.call(t)}}))}}),LS="n-layout-sider",FS={type:String,default:"static"},VY=z("layout",`
color: var(--n-text-color);
background-color: var(--n-color);
box-sizing: border-box;
position: relative;
z-index: auto;
flex: auto;
overflow: hidden;
transition:
box-shadow .3s var(--n-bezier),
background-color .3s var(--n-bezier),
color .3s var(--n-bezier);
`,[z("layout-scroll-container",`
overflow-x: hidden;
box-sizing: border-box;
height: 100%;
`),Z("absolute-positioned",`
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
`)]),WY={embedded:Boolean,position:FS,nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,onScroll:Function,contentClass:String,contentStyle:{type:[String,Object],default:""},hasSider:Boolean,siderPlacement:{type:String,default:"left"}},BS="n-layout";function UY(e){return be({name:e?"LayoutContent":"Layout",props:Object.assign(Object.assign({},Be.props),WY),setup(t){const n=W(null),o=W(null),{mergedClsPrefixRef:r,inlineThemeDisabled:i}=st(t),a=Be("Layout","-layout",VY,RS,t,r);function s(g,m){if(t.nativeScrollbar){const{value:b}=n;b&&(m===void 0?b.scrollTo(g):b.scrollTo(g,m))}else{const{value:b}=o;b&&b.scrollTo(g,m)}}at(BS,t);let l=0,c=0;const u=g=>{var m;const b=g.target;l=b.scrollLeft,c=b.scrollTop,(m=t.onScroll)===null||m===void 0||m.call(t,g)};Qp(()=>{if(t.nativeScrollbar){const g=n.value;g&&(g.scrollTop=c,g.scrollLeft=l)}});const d={display:"flex",flexWrap:"nowrap",width:"100%",flexDirection:"row"},f={scrollTo:s},h=F(()=>{const{common:{cubicBezierEaseInOut:g},self:m}=a.value;return{"--n-bezier":g,"--n-color":t.embedded?m.colorEmbedded:m.color,"--n-text-color":m.textColor}}),p=i?Pt("layout",F(()=>t.embedded?"e":""),h,t):void 0;return Object.assign({mergedClsPrefix:r,scrollableElRef:n,scrollbarInstRef:o,hasSiderStyle:d,mergedTheme:a,handleNativeElScroll:u,cssVars:i?void 0:h,themeClass:p==null?void 0:p.themeClass,onRender:p==null?void 0:p.onRender},f)},render(){var t;const{mergedClsPrefix:n,hasSider:o}=this;(t=this.onRender)===null||t===void 0||t.call(this);const r=o?this.hasSiderStyle:void 0,i=[this.themeClass,e&&`${n}-layout-content`,`${n}-layout`,`${n}-layout--${this.position}-positioned`];return v("div",{class:i,style:this.cssVars},this.nativeScrollbar?v("div",{ref:"scrollableElRef",class:[`${n}-layout-scroll-container`,this.contentClass],style:[this.contentStyle,r],onScroll:this.handleNativeElScroll},this.$slots):v(Io,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:this.contentClass,contentStyle:[this.contentStyle,r]}),this.$slots))}})}const qY=UY(!1),KY=z("layout-sider",`
flex-shrink: 0;
box-sizing: border-box;
position: relative;
z-index: 1;
color: var(--n-text-color);
transition:
color .3s var(--n-bezier),
border-color .3s var(--n-bezier),
min-width .3s var(--n-bezier),
max-width .3s var(--n-bezier),
transform .3s var(--n-bezier),
background-color .3s var(--n-bezier);
background-color: var(--n-color);
display: flex;
justify-content: flex-end;
`,[Z("bordered",[V("border",`
content: "";
position: absolute;
top: 0;
bottom: 0;
width: 1px;
background-color: var(--n-border-color);
transition: background-color .3s var(--n-bezier);
`)]),V("left-placement",[Z("bordered",[V("border",`
right: 0;
`)])]),Z("right-placement",`
justify-content: flex-start;
`,[Z("bordered",[V("border",`
left: 0;
`)]),Z("collapsed",[z("layout-toggle-button",[z("base-icon",`
transform: rotate(180deg);
`)]),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",`
transform: rotate(0);
`)]),z("layout-toggle-bar",`
left: -28px;
transform: rotate(180deg);
`,[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:
color .3s var(--n-bezier),
right .3s var(--n-bezier),
left .3s var(--n-bezier),
border-color .3s var(--n-bezier),
background-color .3s var(--n-bezier);
cursor: pointer;
width: 24px;
height: 24px;
position: absolute;
top: 50%;
right: 0;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
color: var(--n-toggle-button-icon-color);
border: var(--n-toggle-button-border);
background-color: var(--n-toggle-button-color);
box-shadow: 0 2px 4px 0px rgba(0, 0, 0, .06);
transform: translateX(50%) translateY(-50%);
z-index: 1;
`,[z("base-icon",`
transition: transform .3s var(--n-bezier);
transform: rotate(180deg);
`)]),z("layout-toggle-bar",`
cursor: pointer;
height: 72px;
width: 32px;
position: absolute;
top: calc(50% - 36px);
right: -28px;
`,[V("top, bottom",`
position: absolute;
width: 4px;
border-radius: 2px;
height: 38px;
left: 14px;
transition:
background-color .3s var(--n-bezier),
transform .3s var(--n-bezier);
`),V("bottom",`
position: absolute;
top: 34px;
`),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;
bottom: 0;
width: 1px;
transition: background-color .3s var(--n-bezier);
`),z("layout-sider-scroll-container",`
flex-grow: 1;
flex-shrink: 0;
box-sizing: border-box;
height: 100%;
opacity: 0;
transition: opacity .3s var(--n-bezier);
max-width: 100%;
`),Z("show-content",[z("layout-sider-scroll-container",{opacity:1})]),Z("absolute-positioned",`
position: absolute;
left: 0;
top: 0;
bottom: 0;
`)]),GY=be({name:"LayoutToggleButton",props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return v("div",{class:`${e}-layout-toggle-button`,onClick:this.onClick},v(Ut,{clsPrefix:e},{default:()=>v(fm,null)}))}}),YY=be({props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return v("div",{onClick:this.onClick,class:`${e}-layout-toggle-bar`},v("div",{class:`${e}-layout-toggle-bar__top`}),v("div",{class:`${e}-layout-toggle-bar__bottom`}))}}),XY={position:FS,bordered:Boolean,collapsedWidth:{type:Number,default:48},width:{type:[Number,String],default:272},contentClass:String,contentStyle:{type:[String,Object],default:""},collapseMode:{type:String,default:"transform"},collapsed:{type:Boolean,default:void 0},defaultCollapsed:Boolean,showCollapsedContent:{type:Boolean,default:!0},showTrigger:{type:[Boolean,String],default:!1},nativeScrollbar:{type:Boolean,default:!0},inverted:Boolean,scrollbarProps:Object,triggerClass:String,triggerStyle:[String,Object],collapsedTriggerClass:String,collapsedTriggerStyle:[String,Object],"onUpdate:collapsed":[Function,Array],onUpdateCollapsed:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,onExpand:[Function,Array],onCollapse:[Function,Array],onScroll:Function},ZY=be({name:"LayoutSider",props:Object.assign(Object.assign({},Be.props),XY),setup(e){const t=Ue(BS),n=W(null),o=W(null),r=W(e.defaultCollapsed),i=an(We(e,"collapsed"),r),a=F(()=>qt(i.value?e.collapsedWidth:e.width)),s=F(()=>e.collapseMode!=="transform"?{}:{minWidth:qt(e.width)}),l=F(()=>t?t.siderPlacement:"left");function c(w,x){if(e.nativeScrollbar){const{value:y}=n;y&&(x===void 0?y.scrollTo(w):y.scrollTo(w,x))}else{const{value:y}=o;y&&y.scrollTo(w,x)}}function u(){const{"onUpdate:collapsed":w,onUpdateCollapsed:x,onExpand:y,onCollapse:P}=e,{value:k}=i;x&&$e(x,!k),w&&$e(w,!k),r.value=!k,k?y&&$e(y):P&&$e(P)}let d=0,f=0;const h=w=>{var x;const y=w.target;d=y.scrollLeft,f=y.scrollTop,(x=e.onScroll)===null||x===void 0||x.call(e,w)};Qp(()=>{if(e.nativeScrollbar){const w=n.value;w&&(w.scrollTop=f,w.scrollLeft=d)}}),at(LS,{collapsedRef:i,collapseModeRef:We(e,"collapseMode")});const{mergedClsPrefixRef:p,inlineThemeDisabled:g}=st(e),m=Be("Layout","-layout-sider",KY,RS,e,p);function b(w){var x,y;w.propertyName==="max-width"&&(i.value?(x=e.onAfterLeave)===null||x===void 0||x.call(e):(y=e.onAfterEnter)===null||y===void 0||y.call(e))}const _={scrollTo:c},C=F(()=>{const{common:{cubicBezierEaseInOut:w},self:x}=m.value,{siderToggleButtonColor:y,siderToggleButtonBorder:P,siderToggleBarColor:k,siderToggleBarColorHover:T}=x,E={"--n-bezier":w,"--n-toggle-button-color":y,"--n-toggle-button-border":P,"--n-toggle-bar-color":k,"--n-toggle-bar-color-hover":T};return e.inverted?(E["--n-color"]=x.siderColorInverted,E["--n-text-color"]=x.textColorInverted,E["--n-border-color"]=x.siderBorderColorInverted,E["--n-toggle-button-icon-color"]=x.siderToggleButtonIconColorInverted,E.__invertScrollbar=x.__invertScrollbar):(E["--n-color"]=x.siderColor,E["--n-text-color"]=x.textColor,E["--n-border-color"]=x.siderBorderColor,E["--n-toggle-button-icon-color"]=x.siderToggleButtonIconColor),E}),S=g?Pt("layout-sider",F(()=>e.inverted?"a":"b"),C,e):void 0;return Object.assign({scrollableElRef:n,scrollbarInstRef:o,mergedClsPrefix:p,mergedTheme:m,styleMaxWidth:a,mergedCollapsed:i,scrollContainerStyle:s,siderPlacement:l,handleNativeElScroll:h,handleTransitionend:b,handleTriggerClick:u,inlineThemeDisabled:g,cssVars:C,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender},_)},render(){var e;const{mergedClsPrefix:t,mergedCollapsed:n,showTrigger:o}=this;return(e=this.onRender)===null||e===void 0||e.call(this),v("aside",{class:[`${t}-layout-sider`,this.themeClass,`${t}-layout-sider--${this.position}-positioned`,`${t}-layout-sider--${this.siderPlacement}-placement`,this.bordered&&`${t}-layout-sider--bordered`,n&&`${t}-layout-sider--collapsed`,(!n||this.showCollapsedContent)&&`${t}-layout-sider--show-content`],onTransitionend:this.handleTransitionend,style:[this.inlineThemeDisabled?void 0:this.cssVars,{maxWidth:this.styleMaxWidth,width:qt(this.width)}]},this.nativeScrollbar?v("div",{class:[`${t}-layout-sider-scroll-container`,this.contentClass],onScroll:this.handleNativeElScroll,style:[this.scrollContainerStyle,{overflow:"auto"},this.contentStyle],ref:"scrollableElRef"},this.$slots):v(Io,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",style:this.scrollContainerStyle,contentStyle:this.contentStyle,contentClass:this.contentClass,theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,builtinThemeOverrides:this.inverted&&this.cssVars.__invertScrollbar==="true"?{colorHover:"rgba(255, 255, 255, .4)",color:"rgba(255, 255, 255, .3)"}:void 0}),this.$slots),o?o==="bar"?v(YY,{clsPrefix:t,class:n?this.collapsedTriggerClass:this.triggerClass,style:n?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):v(GY,{clsPrefix:t,class:n?this.collapsedTriggerClass:this.triggerClass,style:n?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):null,this.bordered?v("div",{class:`${t}-layout-sider__border`}):null)}}),JY={extraFontSize:"12px",width:"440px"},QY={name:"Transfer",common:je,peers:{Checkbox:Ga,Scrollbar:Vn,Input:mo,Empty:Ki,Button:Wn},self(e){const{iconColorDisabled:t,iconColor:n,fontWeight:o,fontSizeLarge:r,fontSizeMedium:i,fontSizeSmall:a,heightLarge:s,heightMedium:l,heightSmall:c,borderRadius:u,inputColor:d,tableHeaderColor:f,textColor1:h,textColorDisabled:p,textColor2:g,hoverColor:m}=e;return Object.assign(Object.assign({},JY),{itemHeightSmall:c,itemHeightMedium:l,itemHeightLarge:s,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:r,borderRadius:u,borderColor:"#0000",listColor:d,headerColor:f,titleTextColor:h,titleTextColorDisabled:p,extraTextColor:g,filterDividerColor:"#0000",itemTextColor:g,itemTextColorDisabled:p,itemColorPending:m,titleFontWeight:o,iconColor:n,iconColorDisabled:t})}},eX=QY,tX=q([z("list",`
--n-merged-border-color: var(--n-border-color);
--n-merged-color: var(--n-color);
--n-merged-color-hover: var(--n-color-hover);
margin: 0;
font-size: var(--n-font-size);
transition:
background-color .3s var(--n-bezier),
color .3s var(--n-bezier),
border-color .3s var(--n-bezier);
padding: 0;
list-style-type: none;
color: var(--n-text-color);
background-color: var(--n-merged-color);
`,[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;
`)]),Z("bordered",`
border: 1px solid var(--n-merged-border-color);
border-radius: var(--n-border-radius);
`),Z("hoverable",[z("list-item",`
border-radius: var(--n-border-radius);
`,[q("&:hover",`
background-color: var(--n-merged-color-hover);
`,[V("divider",`
background-color: transparent;
`)])])]),Z("bordered, hoverable",[z("list-item",`
padding: 12px 20px;
`),V("header, footer",`
padding: 12px 20px;
`)]),V("header, footer",`
padding: 12px 0;
box-sizing: border-box;
transition: border-color .3s var(--n-bezier);
`,[q("&:not(:last-child)",`
border-bottom: 1px solid var(--n-merged-border-color);
`)]),z("list-item",`
position: relative;
padding: 12px 0;
box-sizing: border-box;
display: flex;
flex-wrap: nowrap;
align-items: center;
transition:
background-color .3s var(--n-bezier),
border-color .3s var(--n-bezier);
`,[V("prefix",`
margin-right: 20px;
flex: 0;
`),V("suffix",`
margin-left: 20px;
flex: 0;
`),V("main",`
flex: 1;
`),V("divider",`
height: 1px;
position: absolute;
bottom: 0;
left: 0;
right: 0;
background-color: transparent;
transition: background-color .3s var(--n-bezier);
pointer-events: none;
`)])]),al(z("list",`
--n-merged-color-hover: var(--n-color-hover-modal);
--n-merged-color: var(--n-color-modal);
--n-merged-border-color: var(--n-border-color-modal);
`)),ku(z("list",`
--n-merged-color-hover: var(--n-color-hover-popover);
--n-merged-color: var(--n-color-popover);
--n-merged-border-color: var(--n-border-color-popover);
`))]),nX=Object.assign(Object.assign({},Be.props),{size:{type:String,default:"medium"},bordered:Boolean,clickable:Boolean,hoverable:Boolean,showDivider:{type:Boolean,default:!0}}),NS="n-list",Im=be({name:"List",props:nX,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=st(e),r=pn("List",o,t),i=Be("List","-list",tX,tG,e,t);at(NS,{showDividerRef:We(e,"showDivider"),mergedClsPrefixRef:t});const a=F(()=>{const{common:{cubicBezierEaseInOut:l},self:{fontSize:c,textColor:u,color:d,colorModal:f,colorPopover:h,borderColor:p,borderColorModal:g,borderColorPopover:m,borderRadius:b,colorHover:_,colorHoverModal:C,colorHoverPopover:S}}=i.value;return{"--n-font-size":c,"--n-bezier":l,"--n-text-color":u,"--n-color":d,"--n-border-radius":b,"--n-border-color":p,"--n-border-color-modal":g,"--n-border-color-popover":m,"--n-color-modal":f,"--n-color-popover":h,"--n-color-hover":_,"--n-color-hover-modal":C,"--n-color-hover-popover":S}}),s=n?Pt("list",void 0,a,e):void 0;return{mergedClsPrefix:t,rtlEnabled:r,cssVars:n?void 0:a,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender}},render(){var e;const{$slots:t,mergedClsPrefix:n,onRender:o}=this;return o==null||o(),v("ul",{class:[`${n}-list`,this.rtlEnabled&&`${n}-list--rtl`,this.bordered&&`${n}-list--bordered`,this.showDivider&&`${n}-list--show-divider`,this.hoverable&&`${n}-list--hoverable`,this.clickable&&`${n}-list--clickable`,this.themeClass],style:this.cssVars},t.header?v("div",{class:`${n}-list__header`},t.header()):null,(e=t.default)===null||e===void 0?void 0:e.call(t),t.footer?v("div",{class:`${n}-list__footer`},t.footer()):null)}}),Om=be({name:"ListItem",setup(){const e=Ue(NS,null);return e||fr("list-item","`n-list-item` must be placed in `n-list`."),{showDivider:e.showDividerRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{$slots:e,mergedClsPrefix:t}=this;return v("li",{class:`${t}-list-item`},e.prefix?v("div",{class:`${t}-list-item__prefix`},e.prefix()):null,e.default?v("div",{class:`${t}-list-item__main`},e):null,e.suffix?v("div",{class:`${t}-list-item__suffix`},e.suffix()):null,this.showDivider&&v("div",{class:`${t}-list-item__divider`}))}}),HS="n-loading-bar",jS="n-loading-bar-api",oX=z("loading-bar-container",`
z-index: 5999;
position: fixed;
top: 0;
left: 0;
right: 0;
height: 2px;
`,[dl({enterDuration:"0.3s",leaveDuration:"0.8s"}),z("loading-bar",`
width: 100%;
transition:
max-width 4s linear,
background .2s linear;
height: var(--n-height);
`,[Z("starting",`
background: var(--n-color-loading);
`),Z("finishing",`
background: var(--n-color-loading);
transition:
max-width .2s linear,
background .2s linear;
`),Z("error",`
background: var(--n-color-error);
transition:
max-width .2s linear,
background .2s linear;
`)])]);var Wl=globalThis&&globalThis.__awaiter||function(e,t,n,o){function r(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(u){try{c(o.next(u))}catch(d){a(d)}}function l(u){try{c(o.throw(u))}catch(d){a(d)}}function c(u){u.done?i(u.value):r(u.value).then(s,l)}c((o=o.apply(e,t||[])).next())})};function Ul(e,t){return`${t}-loading-bar ${t}-loading-bar--${e}`}const rX=be({name:"LoadingBar",props:{containerClass:String,containerStyle:[String,Object]},setup(){const{inlineThemeDisabled:e}=st(),{props:t,mergedClsPrefixRef:n}=Ue(HS),o=W(null),r=W(!1),i=W(!1),a=W(!1),s=W(!1);let l=!1;const c=W(!1),u=F(()=>{const{loadingBarStyle:w}=t;return w?w[c.value?"error":"loading"]:""});function d(){return Wl(this,void 0,void 0,function*(){r.value=!1,a.value=!1,l=!1,c.value=!1,s.value=!0,yield Ht(),s.value=!1})}function f(){return Wl(this,arguments,void 0,function*(w=0,x=80,y="starting"){if(i.value=!0,yield d(),l)return;a.value=!0,yield Ht();const P=o.value;P&&(P.style.maxWidth=`${w}%`,P.style.transition="none",P.offsetWidth,P.className=Ul(y,n.value),P.style.transition="",P.style.maxWidth=`${x}%`)})}function h(){return Wl(this,void 0,void 0,function*(){if(l||c.value)return;i.value&&(yield Ht()),l=!0;const w=o.value;w&&(w.className=Ul("finishing",n.value),w.style.maxWidth="100%",w.offsetWidth,a.value=!1)})}function p(){if(!(l||c.value))if(!a.value)f(100,100,"error").then(()=>{c.value=!0;const w=o.value;w&&(w.className=Ul("error",n.value),w.offsetWidth,a.value=!1)});else{c.value=!0;const w=o.value;if(!w)return;w.className=Ul("error",n.value),w.style.maxWidth="100%",w.offsetWidth,a.value=!1}}function g(){r.value=!0}function m(){r.value=!1}function b(){return Wl(this,void 0,void 0,function*(){yield d()})}const _=Be("LoadingBar","-loading-bar",oX,lG,t,n),C=F(()=>{const{self:{height:w,colorError:x,colorLoading:y}}=_.value;return{"--n-height":w,"--n-color-loading":y,"--n-color-error":x}}),S=e?Pt("loading-bar",void 0,C,t):void 0;return{mergedClsPrefix:n,loadingBarRef:o,started:i,loading:a,entering:r,transitionDisabled:s,start:f,error:p,finish:h,handleEnter:g,handleAfterEnter:m,handleAfterLeave:b,mergedLoadingBarStyle:u,cssVars:e?void 0:C,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){if(!this.started)return null;const{mergedClsPrefix:e}=this;return v(fn,{name:"fade-in-transition",appear:!0,onEnter:this.handleEnter,onAfterEnter:this.handleAfterEnter,onAfterLeave:this.handleAfterLeave,css:!this.transitionDisabled},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),dn(v("div",{class:[`${e}-loading-bar-container`,this.themeClass,this.containerClass],style:this.containerStyle},v("div",{ref:"loadingBarRef",class:[`${e}-loading-bar`],style:[this.cssVars,this.mergedLoadingBarStyle]})),[[Mn,this.loading||!this.loading&&this.entering]])}})}}),iX=Object.assign(Object.assign({},Be.props),{to:{type:[String,Object,Boolean],default:void 0},containerClass:String,containerStyle:[String,Object],loadingBarStyle:{type:Object}}),aX=be({name:"LoadingBarProvider",props:iX,setup(e){const t=Qr(),n=W(null),o={start(){var i;t.value?(i=n.value)===null||i===void 0||i.start():Ht(()=>{var a;(a=n.value)===null||a===void 0||a.start()})},error(){var i;t.value?(i=n.value)===null||i===void 0||i.error():Ht(()=>{var a;(a=n.value)===null||a===void 0||a.error()})},finish(){var i;t.value?(i=n.value)===null||i===void 0||i.finish():Ht(()=>{var a;(a=n.value)===null||a===void 0||a.finish()})}},{mergedClsPrefixRef:r}=st(e);return at(jS,o),at(HS,{props:e,mergedClsPrefixRef:r}),Object.assign(o,{loadingBarRef:n})},render(){var e,t;return v(it,null,v(nu,{disabled:this.to===!1,to:this.to||"body"},v(rX,{ref:"loadingBarRef",containerStyle:this.containerStyle,containerClass:this.containerClass})),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}});function sX(){const e=Ue(jS,null);return e===null&&fr("use-loading-bar","No outer <n-loading-bar-provider /> founded."),e}const gl="n-menu",Mm="n-submenu",zm="n-menu-item-group",ql=8;function Dm(e){const t=Ue(gl),{props:n,mergedCollapsedRef:o}=t,r=Ue(Mm,null),i=Ue(zm,null),a=F(()=>n.mode==="horizontal"),s=F(()=>a.value?n.dropdownPlacement:"tmNodes"in e?"right-start":"right"),l=F(()=>{var f;return Math.max((f=n.collapsedIconSize)!==null&&f!==void 0?f:n.iconSize,n.iconSize)}),c=F(()=>{var f;return!a.value&&e.root&&o.value&&(f=n.collapsedIconSize)!==null&&f!==void 0?f:n.iconSize}),u=F(()=>{if(a.value)return;const{collapsedWidth:f,indent:h,rootIndent:p}=n,{root:g,isGroup:m}=e,b=p===void 0?h:p;return g?o.value?f/2-l.value/2:b:i&&typeof i.paddingLeftRef.value=="number"?h/2+i.paddingLeftRef.value:r&&typeof r.paddingLeftRef.value=="number"?(m?h/2:h)+r.paddingLeftRef.value:0}),d=F(()=>{const{collapsedWidth:f,indent:h,rootIndent:p}=n,{value:g}=l,{root:m}=e;return a.value||!m||!o.value?ql:(p===void 0?h:p)+g+ql-(f+g)/2});return{dropdownPlacement:s,activeIconSize:c,maxIconSize:l,paddingLeft:u,iconMarginRight:d,NMenu:t,NSubmenu:r}}const Lm={internalKey:{type:[String,Number],required:!0},root:Boolean,isGroup:Boolean,level:{type:Number,required:!0},title:[String,Function],extra:[String,Function]},VS=Object.assign(Object.assign({},Lm),{tmNode:{type:Object,required:!0},tmNodes:{type:Array,required:!0}}),lX=be({name:"MenuOptionGroup",props:VS,setup(e){at(Mm,null);const t=Dm(e);at(zm,{paddingLeftRef:t.paddingLeft});const{mergedClsPrefixRef:n,props:o}=Ue(gl);return function(){const{value:r}=n,i=t.paddingLeft.value,{nodeProps:a}=o,s=a==null?void 0:a(e.tmNode.rawNode);return v("div",{class:`${r}-menu-item-group`,role:"group"},v("div",Object.assign({},s,{class:[`${r}-menu-item-group-title`,s==null?void 0:s.class],style:[(s==null?void 0:s.style)||"",i!==void 0?`padding-left: ${i}px;`:""]}),Wt(e.title),e.extra?v(it,null," ",Wt(e.extra)):null),v("div",null,e.tmNodes.map(l=>Fm(l,o))))}}}),WS=be({name:"MenuOptionContent",props:{collapsed:Boolean,disabled:Boolean,title:[String,Function],icon:Function,extra:[String,Function],showArrow:Boolean,childActive:Boolean,hover:Boolean,paddingLeft:Number,selected:Boolean,maxIconSize:{type:Number,required:!0},activeIconSize:{type:Number,required:!0},iconMarginRight:{type:Number,required:!0},clsPrefix:{type:String,required:!0},onClick:Function,tmNode:{type:Object,required:!0},isEllipsisPlaceholder:Boolean},setup(e){const{props:t}=Ue(gl);return{menuProps:t,style:F(()=>{const{paddingLeft:n}=e;return{paddingLeft:n&&`${n}px`}}),iconStyle:F(()=>{const{maxIconSize:n,activeIconSize:o,iconMarginRight:r}=e;return{width:`${n}px`,height:`${n}px`,fontSize:`${o}px`,marginRight:`${r}px`}})}},render(){const{clsPrefix:e,tmNode:t,menuProps:{renderIcon:n,renderLabel:o,renderExtra:r,expandIcon:i}}=this,a=n?n(t.rawNode):Wt(this.icon);return v("div",{onClick:s=>{var l;(l=this.onClick)===null||l===void 0||l.call(this,s)},role:"none",class:[`${e}-menu-item-content`,{[`${e}-menu-item-content--selected`]:this.selected,[`${e}-menu-item-content--collapsed`]:this.collapsed,[`${e}-menu-item-content--child-active`]:this.childActive,[`${e}-menu-item-content--disabled`]:this.disabled,[`${e}-menu-item-content--hover`]:this.hover}],style:this.style},a&&v("div",{class:`${e}-menu-item-content__icon`,style:this.iconStyle,role:"none"},[a]),v("div",{class:`${e}-menu-item-content-header`,role:"none"},this.isEllipsisPlaceholder?this.title:o?o(t.rawNode):Wt(this.title),this.extra||r?v("span",{class:`${e}-menu-item-content-header__extra`}," ",r?r(t.rawNode):Wt(this.extra)):null),this.showArrow?v(Ut,{ariaHidden:!0,class:`${e}-menu-item-content__arrow`,clsPrefix:e},{default:()=>i?i(t.rawNode):v(BN,null)}):null)}}),US=Object.assign(Object.assign({},Lm),{rawNodes:{type:Array,default:()=>[]},tmNodes:{type:Array,default:()=>[]},tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function,domId:String,virtualChildActive:{type:Boolean,default:void 0},isEllipsisPlaceholder:Boolean}),Hh=be({name:"Submenu",props:US,setup(e){const t=Dm(e),{NMenu:n,NSubmenu:o}=t,{props:r,mergedCollapsedRef:i,mergedThemeRef:a}=n,s=F(()=>{const{disabled:f}=e;return o!=null&&o.mergedDisabledRef.value||r.disabled?!0:f}),l=W(!1);at(Mm,{paddingLeftRef:t.paddingLeft,mergedDisabledRef:s}),at(zm,null);function c(){const{onClick:f}=e;f&&f()}function u(){s.value||(i.value||n.toggleExpand(e.internalKey),c())}function d(f){l.value=f}return{menuProps:r,mergedTheme:a,doSelect:n.doSelect,inverted:n.invertedRef,isHorizontal:n.isHorizontalRef,mergedClsPrefix:n.mergedClsPrefixRef,maxIconSize:t.maxIconSize,activeIconSize:t.activeIconSize,iconMarginRight:t.iconMarginRight,dropdownPlacement:t.dropdownPlacement,dropdownShow:l,paddingLeft:t.paddingLeft,mergedDisabled:s,mergedValue:n.mergedValueRef,childActive:kt(()=>{var f;return(f=e.virtualChildActive)!==null&&f!==void 0?f:n.activePathRef.value.includes(e.internalKey)}),collapsed:F(()=>r.mode==="horizontal"?!1:i.value?!0:!n.mergedExpandedKeysRef.value.includes(e.internalKey)),dropdownEnabled:F(()=>!s.value&&(r.mode==="horizontal"||i.value)),handlePopoverShowChange:d,handleClick:u}},render(){var e;const{mergedClsPrefix:t,menuProps:{renderIcon:n,renderLabel:o}}=this,r=()=>{const{isHorizontal:a,paddingLeft:s,collapsed:l,mergedDisabled:c,maxIconSize:u,activeIconSize:d,title:f,childActive:h,icon:p,handleClick:g,menuProps:{nodeProps:m},dropdownShow:b,iconMarginRight:_,tmNode:C,mergedClsPrefix:S,isEllipsisPlaceholder:w,extra:x}=this,y=m==null?void 0:m(C.rawNode);return v("div",Object.assign({},y,{class:[`${S}-menu-item`,y==null?void 0:y.class],role:"menuitem"}),v(WS,{tmNode:C,paddingLeft:s,collapsed:l,disabled:c,iconMarginRight:_,maxIconSize:u,activeIconSize:d,title:f,extra:x,showArrow:!a,childActive:h,clsPrefix:S,icon:p,hover:b,onClick:g,isEllipsisPlaceholder:w}))},i=()=>v(Ou,null,{default:()=>{const{tmNodes:a,collapsed:s}=this;return s?null:v("div",{class:`${t}-submenu-children`,role:"menu"},a.map(l=>Fm(l,this.menuProps)))}});return this.root?v($m,Object.assign({size:"large",trigger:"hover"},(e=this.menuProps)===null||e===void 0?void 0:e.dropdownProps,{themeOverrides:this.mergedTheme.peerOverrides.Dropdown,theme:this.mergedTheme.peers.Dropdown,builtinThemeOverrides:{fontSizeLarge:"14px",optionIconSizeLarge:"18px"},value:this.mergedValue,disabled:!this.dropdownEnabled,placement:this.dropdownPlacement,keyField:this.menuProps.keyField,labelField:this.menuProps.labelField,childrenField:this.menuProps.childrenField,onUpdateShow:this.handlePopoverShowChange,options:this.rawNodes,onSelect:this.doSelect,inverted:this.inverted,renderIcon:n,renderLabel:o}),{default:()=>v("div",{class:`${t}-submenu`,role:"menu","aria-expanded":!this.collapsed,id:this.domId},r(),this.isHorizontal?null:i())}):v("div",{class:`${t}-submenu`,role:"menu","aria-expanded":!this.collapsed,id:this.domId},r(),i())}}),qS=Object.assign(Object.assign({},Lm),{tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function}),cX=be({name:"MenuOption",props:qS,setup(e){const t=Dm(e),{NSubmenu:n,NMenu:o}=t,{props:r,mergedClsPrefixRef:i,mergedCollapsedRef:a}=o,s=n?n.mergedDisabledRef:{value:!1},l=F(()=>s.value||e.disabled);function c(d){const{onClick:f}=e;f&&f(d)}function u(d){l.value||(o.doSelect(e.internalKey,e.tmNode.rawNode),c(d))}return{mergedClsPrefix:i,dropdownPlacement:t.dropdownPlacement,paddingLeft:t.paddingLeft,iconMarginRight:t.iconMarginRight,maxIconSize:t.maxIconSize,activeIconSize:t.activeIconSize,mergedTheme:o.mergedThemeRef,menuProps:r,dropdownEnabled:kt(()=>e.root&&a.value&&r.mode!=="horizontal"&&!l.value),selected:kt(()=>o.mergedValueRef.value===e.internalKey),mergedDisabled:l,handleClick:u}},render(){const{mergedClsPrefix:e,mergedTheme:t,tmNode:n,menuProps:{renderLabel:o,nodeProps:r}}=this,i=r==null?void 0:r(n.rawNode);return v("div",Object.assign({},i,{role:"menuitem",class:[`${e}-menu-item`,i==null?void 0:i.class]}),v(Fu,{theme:t.peers.Tooltip,themeOverrides:t.peerOverrides.Tooltip,trigger:"hover",placement:this.dropdownPlacement,disabled:!this.dropdownEnabled||this.title===void 0,internalExtraClass:["menu-tooltip"]},{default:()=>o?o(n.rawNode):Wt(this.title),trigger:()=>v(WS,{tmNode:n,clsPrefix:e,paddingLeft:this.paddingLeft,iconMarginRight:this.iconMarginRight,maxIconSize:this.maxIconSize,activeIconSize:this.activeIconSize,selected:this.selected,title:this.title,extra:this.extra,disabled:this.mergedDisabled,icon:this.icon,onClick:this.handleClick})}))}}),uX=be({name:"MenuDivider",setup(){const e=Ue(gl),{mergedClsPrefixRef:t,isHorizontalRef:n}=e;return()=>n.value?null:v("div",{class:`${t.value}-menu-divider`})}}),dX=Jr(VS),fX=Jr(qS),hX=Jr(US);function jh(e){return e.type==="divider"||e.type==="render"}function pX(e){return e.type==="divider"}function Fm(e,t){const{rawNode:n}=e,{show:o}=n;if(o===!1)return null;if(jh(n))return pX(n)?v(uX,Object.assign({key:e.key},n.props)):null;const{labelField:r}=t,{key:i,level:a,isGroup:s}=e,l=Object.assign(Object.assign({},n),{title:n.title||n[r],extra:n.titleExtra||n.extra,key:i,internalKey:i,level:a,root:a===0,isGroup:s});return e.children?e.isGroup?v(lX,Qn(l,dX,{tmNode:e,tmNodes:e.children,key:i})):v(Hh,Qn(l,hX,{key:i,rawNodes:n[t.childrenField],tmNodes:e.children,tmNode:e})):v(cX,Qn(l,fX,{key:i,tmNode:e}))}const m1=[q("&::before","background-color: var(--n-item-color-hover);"),V("arrow",`
color: var(--n-arrow-color-hover);
`),V("icon",`
color: var(--n-item-icon-color-hover);
`),z("menu-item-content-header",`
color: var(--n-item-text-color-hover);
`,[q("a",`
color: var(--n-item-text-color-hover);
`),V("extra",`
color: var(--n-item-text-color-hover);
`)])],g1=[V("icon",`
color: var(--n-item-icon-color-hover-horizontal);
`),z("menu-item-content-header",`
color: var(--n-item-text-color-hover-horizontal);
`,[q("a",`
color: var(--n-item-text-color-hover-horizontal);
`),V("extra",`
color: var(--n-item-text-color-hover-horizontal);
`)])],mX=q([z("menu",`
background-color: var(--n-color);
color: var(--n-item-text-color);
overflow: hidden;
transition: background-color .3s var(--n-bezier);
box-sizing: border-box;
font-size: var(--n-font-size);
padding-bottom: 6px;
`,[Z("horizontal",`
max-width: 100%;
width: 100%;
display: flex;
overflow: hidden;
padding-bottom: 0;
`,[z("submenu","margin: 0;"),z("menu-item","margin: 0;"),z("menu-item-content",`
padding: 0 20px;
border-bottom: 2px solid #0000;
`,[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);
`,[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);
`,[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);
`)]),Rt("disabled",[Rt("selected, child-active",[q("&:focus-within",g1)]),Z("selected",[ui(null,[V("icon","color: var(--n-item-icon-color-active-hover-horizontal);"),z("menu-item-content-header",`
color: var(--n-item-text-color-active-hover-horizontal);
`,[q("a","color: var(--n-item-text-color-active-hover-horizontal);"),V("extra","color: var(--n-item-text-color-active-hover-horizontal);")])])]),Z("child-active",[ui(null,[V("icon","color: var(--n-item-icon-color-child-active-hover-horizontal);"),z("menu-item-content-header",`
color: var(--n-item-text-color-child-active-hover-horizontal);
`,[q("a","color: var(--n-item-text-color-child-active-hover-horizontal);"),V("extra","color: var(--n-item-text-color-child-active-hover-horizontal);")])])]),ui("border-bottom: 2px solid var(--n-border-color-horizontal);",g1)]),z("menu-item-content-header",[q("a","color: var(--n-item-text-color-horizontal);")])])]),Rt("responsive",[z("menu-item-content-header",`
overflow: hidden;
text-overflow: ellipsis;
`)]),Z("collapsed",[z("menu-item-content",[Z("selected",[q("&::before",`
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);
margin-top: 6px;
position: relative;
`),z("menu-item-content",`
box-sizing: border-box;
line-height: 1.75;
height: 100%;
display: grid;
grid-template-areas: "icon content arrow";
grid-template-columns: auto 1fr auto;
align-items: center;
cursor: pointer;
position: relative;
padding-right: 18px;
transition:
background-color .3s var(--n-bezier),
padding-left .3s var(--n-bezier),
border-color .3s var(--n-bezier);
`,[q("> *","z-index: 1;"),q("&::before",`
z-index: auto;
content: "";
background-color: #0000;
position: absolute;
left: 8px;
right: 8px;
top: 0;
bottom: 0;
pointer-events: none;
border-radius: var(--n-border-radius);
transition: background-color .3s var(--n-bezier);
`),Z("disabled",`
opacity: .45;
cursor: not-allowed;
`),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);
`,[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);
`,[q("a",`
color: var(--n-item-text-color-child-active);
`),V("extra",`
color: var(--n-item-text-color-child-active);
`)]),V("arrow",`
color: var(--n-arrow-color-child-active);
`),V("icon",`
color: var(--n-item-icon-color-child-active);
`)]),Rt("disabled",[Rt("selected, child-active",[q("&:focus-within",m1)]),Z("selected",[ui(null,[V("arrow","color: var(--n-arrow-color-active-hover);"),V("icon","color: var(--n-item-icon-color-active-hover);"),z("menu-item-content-header",`
color: var(--n-item-text-color-active-hover);
`,[q("a","color: var(--n-item-text-color-active-hover);"),V("extra","color: var(--n-item-text-color-active-hover);")])])]),Z("child-active",[ui(null,[V("arrow","color: var(--n-arrow-color-child-active-hover);"),V("icon","color: var(--n-item-icon-color-child-active-hover);"),z("menu-item-content-header",`
color: var(--n-item-text-color-child-active-hover);
`,[q("a","color: var(--n-item-text-color-child-active-hover);"),V("extra","color: var(--n-item-text-color-child-active-hover);")])])]),Z("selected",[ui(null,[q("&::before","background-color: var(--n-item-color-active-hover);")])]),ui(null,m1)]),V("icon",`
grid-area: icon;
color: var(--n-item-icon-color);
transition:
color .3s var(--n-bezier),
font-size .3s var(--n-bezier),
margin-right .3s var(--n-bezier);
box-sizing: content-box;
display: inline-flex;
align-items: center;
justify-content: center;
`),V("arrow",`
grid-area: arrow;
font-size: 16px;
color: var(--n-arrow-color);
transform: rotate(180deg);
opacity: 1;
transition:
color .3s var(--n-bezier),
transform 0.2s var(--n-bezier),
opacity 0.2s var(--n-bezier);
`),z("menu-item-content-header",`
grid-area: content;
transition:
color .3s var(--n-bezier),
opacity .3s var(--n-bezier);
opacity: 1;
white-space: nowrap;
color: var(--n-item-text-color);
`,[q("a",`
outline: none;
text-decoration: none;
transition: color .3s var(--n-bezier);
color: var(--n-item-text-color);
`,[q("&::before",`
content: "";
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
`)]),V("extra",`
font-size: .93em;
color: var(--n-group-text-color);
transition: color .3s var(--n-bezier);
`)])]),z("submenu",`
cursor: pointer;
position: relative;
margin-top: 6px;
`,[z("menu-item-content",`
height: var(--n-item-height);
`),z("submenu-children",`
overflow: hidden;
padding: 0;
`,[gm({duration:".2s"})])]),z("menu-item-group",[z("menu-item-group-title",`
margin-top: 6px;
color: var(--n-group-text-color);
cursor: default;
font-size: .93em;
height: 36px;
display: flex;
align-items: center;
transition:
padding-left .3s var(--n-bezier),
color .3s var(--n-bezier);
`)])]),z("menu-tooltip",[q("a",`
color: inherit;
text-decoration: none;
`)]),z("menu-divider",`
transition: background-color .3s var(--n-bezier);
background-color: var(--n-divider-color);
height: 1px;
margin: 6px 18px;
`)]);function ui(e,t){return[Z("hover",e,t),q("&:hover",e,t)]}const gX=Object.assign(Object.assign({},Be.props),{options:{type:Array,default:()=>[]},collapsed:{type:Boolean,default:void 0},collapsedWidth:{type:Number,default:48},iconSize:{type:Number,default:20},collapsedIconSize:{type:Number,default:24},rootIndent:Number,indent:{type:Number,default:32},labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},disabledField:{type:String,default:"disabled"},defaultExpandAll:Boolean,defaultExpandedKeys:Array,expandedKeys:Array,value:[String,Number],defaultValue:{type:[String,Number],default:null},mode:{type:String,default:"vertical"},watchProps:{type:Array,default:void 0},disabled:Boolean,show:{type:Boolean,default:!0},inverted:Boolean,"onUpdate:expandedKeys":[Function,Array],onUpdateExpandedKeys:[Function,Array],onUpdateValue:[Function,Array],"onUpdate:value":[Function,Array],expandIcon:Function,renderIcon:Function,renderLabel:Function,renderExtra:Function,dropdownProps:Object,accordion:Boolean,nodeProps:Function,dropdownPlacement:{type:String,default:"bottom"},responsive:Boolean,items:Array,onOpenNamesChange:[Function,Array],onSelect:[Function,Array],onExpandedNamesChange:[Function,Array],expandedNames:Array,defaultExpandedNames:Array}),vX=be({name:"Menu",props:gX,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Menu","-menu",mX,mG,e,t),r=Ue(LS,null),i=F(()=>{var B;const{collapsed:$}=e;if($!==void 0)return $;if(r){const{collapseModeRef:A,collapsedRef:Y}=r;if(A.value==="width")return(B=Y.value)!==null&&B!==void 0?B:!1}return!1}),a=F(()=>{const{keyField:B,childrenField:$,disabledField:A}=e;return Pi(e.items||e.options,{getIgnored(Y){return jh(Y)},getChildren(Y){return Y[$]},getDisabled(Y){return Y[A]},getKey(Y){var ne;return(ne=Y[B])!==null&&ne!==void 0?ne:Y.name}})}),s=F(()=>new Set(a.value.treeNodes.map(B=>B.key))),{watchProps:l}=e,c=W(null);l!=null&&l.includes("defaultValue")?Xt(()=>{c.value=e.defaultValue}):c.value=e.defaultValue;const u=We(e,"value"),d=an(u,c),f=W([]),h=()=>{f.value=e.defaultExpandAll?a.value.getNonLeafKeys():e.defaultExpandedNames||e.defaultExpandedKeys||a.value.getPath(d.value,{includeSelf:!1}).keyPath};l!=null&&l.includes("defaultExpandedKeys")?Xt(h):h();const p=Pu(e,["expandedNames","expandedKeys"]),g=an(p,f),m=F(()=>a.value.treeNodes),b=F(()=>a.value.getPath(d.value).keyPath);at(gl,{props:e,mergedCollapsedRef:i,mergedThemeRef:o,mergedValueRef:d,mergedExpandedKeysRef:g,activePathRef:b,mergedClsPrefixRef:t,isHorizontalRef:F(()=>e.mode==="horizontal"),invertedRef:We(e,"inverted"),doSelect:_,toggleExpand:S});function _(B,$){const{"onUpdate:value":A,onUpdateValue:Y,onSelect:ne}=e;Y&&$e(Y,B,$),A&&$e(A,B,$),ne&&$e(ne,B,$),c.value=B}function C(B){const{"onUpdate:expandedKeys":$,onUpdateExpandedKeys:A,onExpandedNamesChange:Y,onOpenNamesChange:ne}=e;$&&$e($,B),A&&$e(A,B),Y&&$e(Y,B),ne&&$e(ne,B),f.value=B}function S(B){const $=Array.from(g.value),A=$.findIndex(Y=>Y===B);if(~A)$.splice(A,1);else{if(e.accordion&&s.value.has(B)){const Y=$.findIndex(ne=>s.value.has(ne));Y>-1&&$.splice(Y,1)}$.push(B)}C($)}const w=B=>{const $=a.value.getPath(B??d.value,{includeSelf:!1}).keyPath;if(!$.length)return;const A=Array.from(g.value),Y=new Set([...A,...$]);e.accordion&&s.value.forEach(ne=>{Y.has(ne)&&!$.includes(ne)&&Y.delete(ne)}),C(Array.from(Y))},x=F(()=>{const{inverted:B}=e,{common:{cubicBezierEaseInOut:$},self:A}=o.value,{borderRadius:Y,borderColorHorizontal:ne,fontSize:fe,itemHeight:Q,dividerColor:xe}=A,H={"--n-divider-color":xe,"--n-bezier":$,"--n-font-size":fe,"--n-border-color-horizontal":ne,"--n-border-radius":Y,"--n-item-height":Q};return B?(H["--n-group-text-color"]=A.groupTextColorInverted,H["--n-color"]=A.colorInverted,H["--n-item-text-color"]=A.itemTextColorInverted,H["--n-item-text-color-hover"]=A.itemTextColorHoverInverted,H["--n-item-text-color-active"]=A.itemTextColorActiveInverted,H["--n-item-text-color-child-active"]=A.itemTextColorChildActiveInverted,H["--n-item-text-color-child-active-hover"]=A.itemTextColorChildActiveInverted,H["--n-item-text-color-active-hover"]=A.itemTextColorActiveHoverInverted,H["--n-item-icon-color"]=A.itemIconColorInverted,H["--n-item-icon-color-hover"]=A.itemIconColorHoverInverted,H["--n-item-icon-color-active"]=A.itemIconColorActiveInverted,H["--n-item-icon-color-active-hover"]=A.itemIconColorActiveHoverInverted,H["--n-item-icon-color-child-active"]=A.itemIconColorChildActiveInverted,H["--n-item-icon-color-child-active-hover"]=A.itemIconColorChildActiveHoverInverted,H["--n-item-icon-color-collapsed"]=A.itemIconColorCollapsedInverted,H["--n-item-text-color-horizontal"]=A.itemTextColorHorizontalInverted,H["--n-item-text-color-hover-horizontal"]=A.itemTextColorHoverHorizontalInverted,H["--n-item-text-color-active-horizontal"]=A.itemTextColorActiveHorizontalInverted,H["--n-item-text-color-child-active-horizontal"]=A.itemTextColorChildActiveHorizontalInverted,H["--n-item-text-color-child-active-hover-horizontal"]=A.itemTextColorChildActiveHoverHorizontalInverted,H["--n-item-text-color-active-hover-horizontal"]=A.itemTextColorActiveHoverHorizontalInverted,H["--n-item-icon-color-horizontal"]=A.itemIconColorHorizontalInverted,H["--n-item-icon-color-hover-horizontal"]=A.itemIconColorHoverHorizontalInverted,H["--n-item-icon-color-active-horizontal"]=A.itemIconColorActiveHorizontalInverted,H["--n-item-icon-color-active-hover-horizontal"]=A.itemIconColorActiveHoverHorizontalInverted,H["--n-item-icon-color-child-active-horizontal"]=A.itemIconColorChildActiveHorizontalInverted,H["--n-item-icon-color-child-active-hover-horizontal"]=A.itemIconColorChildActiveHoverHorizontalInverted,H["--n-arrow-color"]=A.arrowColorInverted,H["--n-arrow-color-hover"]=A.arrowColorHoverInverted,H["--n-arrow-color-active"]=A.arrowColorActiveInverted,H["--n-arrow-color-active-hover"]=A.arrowColorActiveHoverInverted,H["--n-arrow-color-child-active"]=A.arrowColorChildActiveInverted,H["--n-arrow-color-child-active-hover"]=A.arrowColorChildActiveHoverInverted,H["--n-item-color-hover"]=A.itemColorHoverInverted,H["--n-item-color-active"]=A.itemColorActiveInverted,H["--n-item-color-active-hover"]=A.itemColorActiveHoverInverted,H["--n-item-color-active-collapsed"]=A.itemColorActiveCollapsedInverted):(H["--n-group-text-color"]=A.groupTextColor,H["--n-color"]=A.color,H["--n-item-text-color"]=A.itemTextColor,H["--n-item-text-color-hover"]=A.itemTextColorHover,H["--n-item-text-color-active"]=A.itemTextColorActive,H["--n-item-text-color-child-active"]=A.itemTextColorChildActive,H["--n-item-text-color-child-active-hover"]=A.itemTextColorChildActiveHover,H["--n-item-text-color-active-hover"]=A.itemTextColorActiveHover,H["--n-item-icon-color"]=A.itemIconColor,H["--n-item-icon-color-hover"]=A.itemIconColorHover,H["--n-item-icon-color-active"]=A.itemIconColorActive,H["--n-item-icon-color-active-hover"]=A.itemIconColorActiveHover,H["--n-item-icon-color-child-active"]=A.itemIconColorChildActive,H["--n-item-icon-color-child-active-hover"]=A.itemIconColorChildActiveHover,H["--n-item-icon-color-collapsed"]=A.itemIconColorCollapsed,H["--n-item-text-color-horizontal"]=A.itemTextColorHorizontal,H["--n-item-text-color-hover-horizontal"]=A.itemTextColorHoverHorizontal,H["--n-item-text-color-active-horizontal"]=A.itemTextColorActiveHorizontal,H["--n-item-text-color-child-active-horizontal"]=A.itemTextColorChildActiveHorizontal,H["--n-item-text-color-child-active-hover-horizontal"]=A.itemTextColorChildActiveHoverHorizontal,H["--n-item-text-color-active-hover-horizontal"]=A.itemTextColorActiveHoverHorizontal,H["--n-item-icon-color-horizontal"]=A.itemIconColorHorizontal,H["--n-item-icon-color-hover-horizontal"]=A.itemIconColorHoverHorizontal,H["--n-item-icon-color-active-horizontal"]=A.itemIconColorActiveHorizontal,H["--n-item-icon-color-active-hover-horizontal"]=A.itemIconColorActiveHoverHorizontal,H["--n-item-icon-color-child-active-horizontal"]=A.itemIconColorChildActiveHorizontal,H["--n-item-icon-color-child-active-hover-horizontal"]=A.itemIconColorChildActiveHoverHorizontal,H["--n-arrow-color"]=A.arrowColor,H["--n-arrow-color-hover"]=A.arrowColorHover,H["--n-arrow-color-active"]=A.arrowColorActive,H["--n-arrow-color-active-hover"]=A.arrowColorActiveHover,H["--n-arrow-color-child-active"]=A.arrowColorChildActive,H["--n-arrow-color-child-active-hover"]=A.arrowColorChildActiveHover,H["--n-item-color-hover"]=A.itemColorHover,H["--n-item-color-active"]=A.itemColorActive,H["--n-item-color-active-hover"]=A.itemColorActiveHover,H["--n-item-color-active-collapsed"]=A.itemColorActiveCollapsed),H}),y=n?Pt("menu",F(()=>e.inverted?"a":"b"),x,e):void 0,P=Zr(),k=W(null),T=W(null);let E=!0;const R=()=>{var B;E?E=!1:(B=k.value)===null||B===void 0||B.sync({showAllItemsBeforeCalculate:!0})};function K(){return document.getElementById(P)}const N=W(-1);function D(B){N.value=e.options.length-B}function M(B){B||(N.value=-1)}const G=F(()=>{const B=N.value;return{children:B===-1?[]:e.options.slice(B)}}),J=F(()=>{const{childrenField:B,disabledField:$,keyField:A}=e;return Pi([G.value],{getIgnored(Y){return jh(Y)},getChildren(Y){return Y[B]},getDisabled(Y){return Y[$]},getKey(Y){var ne;return(ne=Y[A])!==null&&ne!==void 0?ne:Y.name}})}),he=F(()=>Pi([{}]).treeNodes[0]);function pe(){var B;if(N.value===-1)return v(Hh,{root:!0,level:0,key:"__ellpisisGroupPlaceholder__",internalKey:"__ellpisisGroupPlaceholder__",title:"···",tmNode:he.value,domId:P,isEllipsisPlaceholder:!0});const $=J.value.treeNodes[0],A=b.value,Y=!!(!((B=$.children)===null||B===void 0)&&B.some(ne=>A.includes(ne.key)));return v(Hh,{level:0,root:!0,key:"__ellpisisGroup__",internalKey:"__ellpisisGroup__",title:"···",virtualChildActive:Y,tmNode:$,domId:P,rawNodes:$.rawNode.children||[],tmNodes:$.children||[],isEllipsisPlaceholder:!0})}return{mergedClsPrefix:t,controlledExpandedKeys:p,uncontrolledExpanededKeys:f,mergedExpandedKeys:g,uncontrolledValue:c,mergedValue:d,activePath:b,tmNodes:m,mergedTheme:o,mergedCollapsed:i,cssVars:n?void 0:x,themeClass:y==null?void 0:y.themeClass,overflowRef:k,counterRef:T,updateCounter:()=>{},onResize:R,onUpdateOverflow:M,onUpdateCount:D,renderCounter:pe,getCounter:K,onRender:y==null?void 0:y.onRender,showOption:w,deriveResponsiveState:R}},render(){const{mergedClsPrefix:e,mode:t,themeClass:n,onRender:o}=this;o==null||o();const r=()=>this.tmNodes.map(l=>Fm(l,this.$props)),a=t==="horizontal"&&this.responsive,s=()=>v("div",{role:t==="horizontal"?"menubar":"menu",class:[`${e}-menu`,n,`${e}-menu--${t}`,a&&`${e}-menu--responsive`,this.mergedCollapsed&&`${e}-menu--collapsed`],style:this.cssVars},a?v(Sh,{ref:"overflowRef",onUpdateOverflow:this.onUpdateOverflow,getCounter:this.getCounter,onUpdateCount:this.onUpdateCount,updateCounter:this.updateCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:r,counter:this.renderCounter}):r());return a?v(cr,{onResize:this.onResize},{default:s}):s()}}),KS={icon:Function,type:{type:String,default:"info"},content:[String,Number,Function],showIcon:{type:Boolean,default:!0},closable:Boolean,keepAliveOnHover:Boolean,onClose:Function,onMouseenter:Function,onMouseleave:Function},GS="n-message-api",YS="n-message-provider",bX=q([z("message-wrapper",`
margin: var(--n-margin);
z-index: 0;
transform-origin: top center;
display: flex;
`,[gm({overflow:"visible",originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.85)"}})]),z("message",`
box-sizing: border-box;
display: flex;
align-items: center;
transition:
color .3s var(--n-bezier),
box-shadow .3s var(--n-bezier),
background-color .3s var(--n-bezier),
opacity .3s var(--n-bezier),
transform .3s var(--n-bezier),
margin-bottom .3s var(--n-bezier);
padding: var(--n-padding);
border-radius: var(--n-border-radius);
flex-wrap: nowrap;
overflow: hidden;
max-width: var(--n-max-width);
color: var(--n-text-color);
background-color: var(--n-color);
box-shadow: var(--n-box-shadow);
`,[V("content",`
display: inline-block;
line-height: var(--n-line-height);
font-size: var(--n-font-size);
`),V("icon",`
position: relative;
margin: var(--n-icon-margin);
height: var(--n-icon-size);
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`,[q("> *",`
color: var(--n-icon-color-${e});
transition: color .3s var(--n-bezier);
`)])),q("> *",`
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
`,[qn()])]),V("close",`
margin: var(--n-close-margin);
transition:
background-color .3s var(--n-bezier),
color .3s var(--n-bezier);
flex-shrink: 0;
`,[q("&:hover",`
color: var(--n-close-icon-color-hover);
`),q("&:active",`
color: var(--n-close-icon-color-pressed);
`)])]),z("message-container",`
z-index: 6000;
position: fixed;
height: 0;
overflow: visible;
display: flex;
flex-direction: column;
align-items: center;
`,[Z("top",`
top: 12px;
left: 0;
right: 0;
`),Z("top-left",`
top: 12px;
left: 12px;
right: 0;
align-items: flex-start;
`),Z("top-right",`
top: 12px;
left: 0;
right: 12px;
align-items: flex-end;
`),Z("bottom",`
bottom: 4px;
left: 0;
right: 0;
justify-content: flex-end;
`),Z("bottom-left",`
bottom: 4px;
left: 12px;
right: 0;
justify-content: flex-end;
align-items: flex-start;
`),Z("bottom-right",`
bottom: 4px;
left: 0;
right: 12px;
justify-content: flex-end;
align-items: flex-end;
`)])]),yX={info:()=>v(Vr,null),success:()=>v(Vi,null),warning:()=>v(Wi,null),error:()=>v(ji,null),default:()=>null},xX=be({name:"Message",props:Object.assign(Object.assign({},KS),{render:Function}),setup(e){const{inlineThemeDisabled:t,mergedRtlRef:n}=st(e),{props:o,mergedClsPrefixRef:r}=Ue(YS),i=pn("Message",n,r),a=Be("Message","-message",bX,FK,o,r),s=F(()=>{const{type:c}=e,{common:{cubicBezierEaseInOut:u},self:{padding:d,margin:f,maxWidth:h,iconMargin:p,closeMargin:g,closeSize:m,iconSize:b,fontSize:_,lineHeight:C,borderRadius:S,iconColorInfo:w,iconColorSuccess:x,iconColorWarning:y,iconColorError:P,iconColorLoading:k,closeIconSize:T,closeBorderRadius:E,[Re("textColor",c)]:R,[Re("boxShadow",c)]:K,[Re("color",c)]:N,[Re("closeColorHover",c)]:D,[Re("closeColorPressed",c)]:M,[Re("closeIconColor",c)]:G,[Re("closeIconColorPressed",c)]:J,[Re("closeIconColorHover",c)]:he}}=a.value;return{"--n-bezier":u,"--n-margin":f,"--n-padding":d,"--n-max-width":h,"--n-font-size":_,"--n-icon-margin":p,"--n-icon-size":b,"--n-close-icon-size":T,"--n-close-border-radius":E,"--n-close-size":m,"--n-close-margin":g,"--n-text-color":R,"--n-color":N,"--n-box-shadow":K,"--n-icon-color-info":w,"--n-icon-color-success":x,"--n-icon-color-warning":y,"--n-icon-color-error":P,"--n-icon-color-loading":k,"--n-close-color-hover":D,"--n-close-color-pressed":M,"--n-close-icon-color":G,"--n-close-icon-color-pressed":J,"--n-close-icon-color-hover":he,"--n-line-height":C,"--n-border-radius":S}}),l=t?Pt("message",F(()=>e.type[0]),s,{}):void 0;return{mergedClsPrefix:r,rtlEnabled:i,messageProviderProps:o,handleClose(){var c;(c=e.onClose)===null||c===void 0||c.call(e)},cssVars:t?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender,placement:o.placement}},render(){const{render:e,type:t,closable:n,content:o,mergedClsPrefix:r,cssVars:i,themeClass:a,onRender:s,icon:l,handleClose:c,showIcon:u}=this;s==null||s();let d;return v("div",{class:[`${r}-message-wrapper`,a],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:[{alignItems:this.placement.startsWith("top")?"flex-start":"flex-end"},i]},e?e(this.$props):v("div",{class:[`${r}-message ${r}-message--${t}-type`,this.rtlEnabled&&`${r}-message--rtl`]},(d=CX(l,t,r))&&u?v("div",{class:`${r}-message__icon ${r}-message__icon--${t}-type`},v(Ui,null,{default:()=>d})):null,v("div",{class:`${r}-message__content`},Wt(o)),n?v(qi,{clsPrefix:r,class:`${r}-message__close`,onClick:c,absolute:!0}):null))}});function CX(e,t,n){if(typeof e=="function")return e();{const o=t==="loading"?v(ti,{clsPrefix:n,strokeWidth:24,scale:.85}):yX[t]();return o?v(Ut,{clsPrefix:n,key:t},{default:()=>o}):null}}const wX=be({name:"MessageEnvironment",props:Object.assign(Object.assign({},KS),{duration:{type:Number,default:3e3},onAfterLeave:Function,onLeave:Function,internalKey:{type:String,required:!0},onInternalAfterLeave:Function,onHide:Function,onAfterHide:Function}),setup(e){let t=null;const n=W(!0);jt(()=>{o()});function o(){const{duration:u}=e;u&&(t=window.setTimeout(a,u))}function r(u){u.currentTarget===u.target&&t!==null&&(window.clearTimeout(t),t=null)}function i(u){u.currentTarget===u.target&&o()}function a(){const{onHide:u}=e;n.value=!1,t&&(window.clearTimeout(t),t=null),u&&u()}function s(){const{onClose:u}=e;u&&u(),a()}function l(){const{onAfterLeave:u,onInternalAfterLeave:d,onAfterHide:f,internalKey:h}=e;u&&u(),d&&d(h),f&&f()}function c(){a()}return{show:n,hide:a,handleClose:s,handleAfterLeave:l,handleMouseleave:i,handleMouseenter:r,deactivate:c}},render(){return v(Ou,{appear:!0,onAfterLeave:this.handleAfterLeave,onLeave:this.onLeave},{default:()=>[this.show?v(xX,{content:this.content,type:this.type,icon:this.icon,showIcon:this.showIcon,closable:this.closable,onClose:this.handleClose,onMouseenter:this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.keepAliveOnHover?this.handleMouseleave:void 0}):null]})}}),_X=Object.assign(Object.assign({},Be.props),{to:[String,Object],duration:{type:Number,default:3e3},keepAliveOnHover:Boolean,max:Number,placement:{type:String,default:"top"},closable:Boolean,containerClass:String,containerStyle:[String,Object]}),SX=be({name:"MessageProvider",props:_X,setup(e){const{mergedClsPrefixRef:t}=st(e),n=W([]),o=W({}),r={create(l,c){return i(l,Object.assign({type:"default"},c))},info(l,c){return i(l,Object.assign(Object.assign({},c),{type:"info"}))},success(l,c){return i(l,Object.assign(Object.assign({},c),{type:"success"}))},warning(l,c){return i(l,Object.assign(Object.assign({},c),{type:"warning"}))},error(l,c){return i(l,Object.assign(Object.assign({},c),{type:"error"}))},loading(l,c){return i(l,Object.assign(Object.assign({},c),{type:"loading"}))},destroyAll:s};at(YS,{props:e,mergedClsPrefixRef:t}),at(GS,r);function i(l,c){const u=Zr(),d=eo(Object.assign(Object.assign({},c),{content:l,key:u,destroy:()=>{var h;(h=o.value[u])===null||h===void 0||h.hide()}})),{max:f}=e;return f&&n.value.length>=f&&n.value.shift(),n.value.push(d),d}function a(l){n.value.splice(n.value.findIndex(c=>c.key===l),1),delete o.value[l]}function s(){Object.values(o.value).forEach(l=>{l.hide()})}return Object.assign({mergedClsPrefix:t,messageRefs:o,messageList:n,handleAfterLeave:a},r)},render(){var e,t,n;return v(it,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.messageList.length?v(nu,{to:(n=this.to)!==null&&n!==void 0?n:"body"},v("div",{class:[`${this.mergedClsPrefix}-message-container`,`${this.mergedClsPrefix}-message-container--${this.placement}`,this.containerClass],key:"message-container",style:this.containerStyle},this.messageList.map(o=>v(wX,Object.assign({ref:r=>{r&&(this.messageRefs[o.key]=r)},internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave},ja(o,["destroy"],void 0),{duration:o.duration===void 0?this.duration:o.duration,keepAliveOnHover:o.keepAliveOnHover===void 0?this.keepAliveOnHover:o.keepAliveOnHover,closable:o.closable===void 0?this.closable:o.closable}))))):null)}});function kX(){const e=Ue(GS,null);return e===null&&fr("use-message","No outer <n-message-provider /> founded. See prerequisite in https://www.naiveui.com/en-US/os-theme/components/message for more details. If you want to use `useMessage` outside setup, please check https://www.naiveui.com/zh-CN/os-theme/components/message#Q-&-A."),e}const PX=be({name:"ModalEnvironment",props:Object.assign(Object.assign({},xS),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=W(!0);function n(){const{onInternalAfterLeave:u,internalKey:d,onAfterLeave:f}=e;u&&u(d),f&&f()}function o(){const{onPositiveClick:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function r(){const{onNegativeClick:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function i(){const{onClose:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function a(u){const{onMaskClick:d,maskClosable:f}=e;d&&(d(u),f&&l())}function s(){const{onEsc:u}=e;u&&u()}function l(){t.value=!1}function c(u){t.value=u}return{show:t,hide:l,handleUpdateShow:c,handleAfterLeave:n,handleCloseClick:i,handleNegativeClick:r,handlePositiveClick:o,handleMaskClick:a,handleEsc:s}},render(){const{handleUpdateShow:e,handleAfterLeave:t,handleMaskClick:n,handleEsc:o,show:r}=this;return v(ni,Object.assign({},this.$props,{show:r,onUpdateShow:e,onMaskClick:n,onEsc:o,onAfterLeave:t,internalAppear:!0,internalModal:!0}))}}),v1="n-modal-provider",XS="n-modal-api",TX="n-modal-reactive-list",RX={to:[String,Object]},EX=be({name:"ModalProvider",props:RX,setup(){const e=Ac(64),t=$c(),n=W([]),o={};function r(l={}){const c=Zr(),u=eo(Object.assign(Object.assign({},l),{key:c,destroy:()=>{var d;(d=o[`n-modal-${c}`])===null||d===void 0||d.hide()}}));return n.value.push(u),u}function i(l){const{value:c}=n;c.splice(c.findIndex(u=>u.key===l),1)}function a(){Object.values(o).forEach(l=>{l==null||l.hide()})}const s={create:r,destroyAll:a};return at(XS,s),at(v1,{clickedRef:Ac(64),clickedPositionRef:$c()}),at(TX,n),at(v1,{clickedRef:e,clickedPositionRef:t}),Object.assign(Object.assign({},s),{modalList:n,modalInstRefs:o,handleAfterLeave:i})},render(){var e,t;return v(it,null,[this.modalList.map(n=>{var o;return v(PX,ja(n,["destroy"],{to:(o=n.to)!==null&&o!==void 0?o:this.to,ref:r=>{r===null?delete this.modalInstRefs[`n-modal-${n.key}`]:this.modalInstRefs[`n-modal-${n.key}`]=r},internalKey:n.key,onInternalAfterLeave:this.handleAfterLeave}))}),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)])}});function $X(){const e=Ue(XS,null);return e===null&&fr("use-modal","No outer <n-modal-provider /> founded."),e}const ju="n-notification-provider",AX=be({name:"NotificationContainer",props:{scrollable:{type:Boolean,required:!0},placement:{type:String,required:!0}},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t,wipTransitionCountRef:n}=Ue(ju),o=W(null);return Xt(()=>{var r,i;n.value>0?(r=o==null?void 0:o.value)===null||r===void 0||r.classList.add("transitioning"):(i=o==null?void 0:o.value)===null||i===void 0||i.classList.remove("transitioning")}),{selfRef:o,mergedTheme:e,mergedClsPrefix:t,transitioning:n}},render(){const{$slots:e,scrollable:t,mergedClsPrefix:n,mergedTheme:o,placement:r}=this;return v("div",{ref:"selfRef",class:[`${n}-notification-container`,t&&`${n}-notification-container--scrollable`,`${n}-notification-container--${r}`]},t?v(Io,{theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,contentStyle:{overflow:"hidden"}},e):e)}}),IX={info:()=>v(Vr,null),success:()=>v(Vi,null),warning:()=>v(Wi,null),error:()=>v(ji,null),default:()=>null},Bm={closable:{type:Boolean,default:!0},type:{type:String,default:"default"},avatar:Function,title:[String,Function],description:[String,Function],content:[String,Function],meta:[String,Function],action:[String,Function],onClose:{type:Function,required:!0},keepAliveOnHover:Boolean,onMouseenter:Function,onMouseleave:Function},OX=Jr(Bm),MX=be({name:"Notification",props:Bm,setup(e){const{mergedClsPrefixRef:t,mergedThemeRef:n,props:o}=Ue(ju),{inlineThemeDisabled:r,mergedRtlRef:i}=st(),a=pn("Notification",i,t),s=F(()=>{const{type:c}=e,{self:{color:u,textColor:d,closeIconColor:f,closeIconColorHover:h,closeIconColorPressed:p,headerTextColor:g,descriptionTextColor:m,actionTextColor:b,borderRadius:_,headerFontWeight:C,boxShadow:S,lineHeight:w,fontSize:x,closeMargin:y,closeSize:P,width:k,padding:T,closeIconSize:E,closeBorderRadius:R,closeColorHover:K,closeColorPressed:N,titleFontSize:D,metaFontSize:M,descriptionFontSize:G,[Re("iconColor",c)]:J},common:{cubicBezierEaseOut:he,cubicBezierEaseIn:pe,cubicBezierEaseInOut:B}}=n.value,{left:$,right:A,top:Y,bottom:ne}=lo(T);return{"--n-color":u,"--n-font-size":x,"--n-text-color":d,"--n-description-text-color":m,"--n-action-text-color":b,"--n-title-text-color":g,"--n-title-font-weight":C,"--n-bezier":B,"--n-bezier-ease-out":he,"--n-bezier-ease-in":pe,"--n-border-radius":_,"--n-box-shadow":S,"--n-close-border-radius":R,"--n-close-color-hover":K,"--n-close-color-pressed":N,"--n-close-icon-color":f,"--n-close-icon-color-hover":h,"--n-close-icon-color-pressed":p,"--n-line-height":w,"--n-icon-color":J,"--n-close-margin":y,"--n-close-size":P,"--n-close-icon-size":E,"--n-width":k,"--n-padding-left":$,"--n-padding-right":A,"--n-padding-top":Y,"--n-padding-bottom":ne,"--n-title-font-size":D,"--n-meta-font-size":M,"--n-description-font-size":G}}),l=r?Pt("notification",F(()=>e.type[0]),s,o):void 0;return{mergedClsPrefix:t,showAvatar:F(()=>e.avatar||e.type!=="default"),handleCloseClick(){e.onClose()},rtlEnabled:a,cssVars:r?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){var e;const{mergedClsPrefix:t}=this;return(e=this.onRender)===null||e===void 0||e.call(this),v("div",{class:[`${t}-notification-wrapper`,this.themeClass],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:this.cssVars},v("div",{class:[`${t}-notification`,this.rtlEnabled&&`${t}-notification--rtl`,this.themeClass,{[`${t}-notification--closable`]:this.closable,[`${t}-notification--show-avatar`]:this.showAvatar}],style:this.cssVars},this.showAvatar?v("div",{class:`${t}-notification__avatar`},this.avatar?Wt(this.avatar):this.type!=="default"?v(Ut,{clsPrefix:t},{default:()=>IX[this.type]()}):null):null,this.closable?v(qi,{clsPrefix:t,class:`${t}-notification__close`,onClick:this.handleCloseClick}):null,v("div",{ref:"bodyRef",class:`${t}-notification-main`},this.title?v("div",{class:`${t}-notification-main__header`},Wt(this.title)):null,this.description?v("div",{class:`${t}-notification-main__description`},Wt(this.description)):null,this.content?v("pre",{class:`${t}-notification-main__content`},Wt(this.content)):null,this.meta||this.action?v("div",{class:`${t}-notification-main-footer`},this.meta?v("div",{class:`${t}-notification-main-footer__meta`},Wt(this.meta)):null,this.action?v("div",{class:`${t}-notification-main-footer__action`},Wt(this.action)):null):null)))}}),zX=Object.assign(Object.assign({},Bm),{duration:Number,onClose:Function,onLeave:Function,onAfterEnter:Function,onAfterLeave:Function,onHide:Function,onAfterShow:Function,onAfterHide:Function}),DX=be({name:"NotificationEnvironment",props:Object.assign(Object.assign({},zX),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const{wipTransitionCountRef:t}=Ue(ju),n=W(!0);let o=null;function r(){n.value=!1,o&&window.clearTimeout(o)}function i(p){t.value++,Ht(()=>{p.style.height=`${p.offsetHeight}px`,p.style.maxHeight="0",p.style.transition="none",p.offsetHeight,p.style.transition="",p.style.maxHeight=p.style.height})}function a(p){t.value--,p.style.height="",p.style.maxHeight="";const{onAfterEnter:g,onAfterShow:m}=e;g&&g(),m&&m()}function s(p){t.value++,p.style.maxHeight=`${p.offsetHeight}px`,p.style.height=`${p.offsetHeight}px`,p.offsetHeight}function l(p){const{onHide:g}=e;g&&g(),p.style.maxHeight="0",p.offsetHeight}function c(){t.value--;const{onAfterLeave:p,onInternalAfterLeave:g,onAfterHide:m,internalKey:b}=e;p&&p(),g(b),m&&m()}function u(){const{duration:p}=e;p&&(o=window.setTimeout(r,p))}function d(p){p.currentTarget===p.target&&o!==null&&(window.clearTimeout(o),o=null)}function f(p){p.currentTarget===p.target&&u()}function h(){const{onClose:p}=e;p?Promise.resolve(p()).then(g=>{g!==!1&&r()}):r()}return jt(()=>{e.duration&&(o=window.setTimeout(r,e.duration))}),{show:n,hide:r,handleClose:h,handleAfterLeave:c,handleLeave:l,handleBeforeLeave:s,handleAfterEnter:a,handleBeforeEnter:i,handleMouseenter:d,handleMouseleave:f}},render(){return v(fn,{name:"notification-transition",appear:!0,onBeforeEnter:this.handleBeforeEnter,onAfterEnter:this.handleAfterEnter,onBeforeLeave:this.handleBeforeLeave,onLeave:this.handleLeave,onAfterLeave:this.handleAfterLeave},{default:()=>this.show?v(MX,Object.assign({},Qn(this.$props,OX),{onClose:this.handleClose,onMouseenter:this.duration&&this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.duration&&this.keepAliveOnHover?this.handleMouseleave:void 0})):null})}}),LX=q([z("notification-container",`
z-index: 4000;
position: fixed;
overflow: visible;
display: flex;
flex-direction: column;
align-items: flex-end;
`,[q(">",[z("scrollbar",`
width: initial;
overflow: visible;
height: -moz-fit-content !important;
height: fit-content !important;
max-height: 100vh !important;
`,[q(">",[z("scrollbar-container",`
height: -moz-fit-content !important;
height: fit-content !important;
max-height: 100vh !important;
`,[z("scrollbar-content",`
padding-top: 12px;
padding-bottom: 33px;
`)])])])]),Z("top, top-right, top-left",`
top: 12px;
`,[q("&.transitioning >",[z("scrollbar",[q(">",[z("scrollbar-container",`
min-height: 100vh !important;
`)])])])]),Z("bottom, bottom-right, bottom-left",`
bottom: 12px;
`,[q(">",[z("scrollbar",[q(">",[z("scrollbar-container",[z("scrollbar-content",`
padding-bottom: 12px;
`)])])])]),z("notification-wrapper",`
display: flex;
align-items: flex-end;
margin-bottom: 0;
margin-top: 12px;
`)]),Z("top, bottom",`
left: 50%;
transform: translateX(-50%);
`,[z("notification-wrapper",[q("&.notification-transition-enter-from, &.notification-transition-leave-to",`
transform: scale(0.85);
`),q("&.notification-transition-leave-from, &.notification-transition-enter-to",`
transform: scale(1);
`)])]),Z("top",[z("notification-wrapper",`
transform-origin: top center;
`)]),Z("bottom",[z("notification-wrapper",`
transform-origin: bottom center;
`)]),Z("top-right, bottom-right",[z("notification",`
margin-left: 28px;
margin-right: 16px;
`)]),Z("top-left, bottom-left",[z("notification",`
margin-left: 16px;
margin-right: 28px;
`)]),Z("top-right",`
right: 0;
`,[Kl("top-right")]),Z("top-left",`
left: 0;
`,[Kl("top-left")]),Z("bottom-right",`
right: 0;
`,[Kl("bottom-right")]),Z("bottom-left",`
left: 0;
`,[Kl("bottom-left")]),Z("scrollable",[Z("top-right",`
top: 0;
`),Z("top-left",`
top: 0;
`),Z("bottom-right",`
bottom: 0;
`),Z("bottom-left",`
bottom: 0;
`)]),z("notification-wrapper",`
margin-bottom: 12px;
`,[q("&.notification-transition-enter-from, &.notification-transition-leave-to",`
opacity: 0;
margin-top: 0 !important;
margin-bottom: 0 !important;
`),q("&.notification-transition-leave-from, &.notification-transition-enter-to",`
opacity: 1;
`),q("&.notification-transition-leave-active",`
transition:
background-color .3s var(--n-bezier),
color .3s var(--n-bezier),
opacity .3s var(--n-bezier),
transform .3s var(--n-bezier-ease-in),
max-height .3s var(--n-bezier),
margin-top .3s linear,
margin-bottom .3s linear,
box-shadow .3s var(--n-bezier);
`),q("&.notification-transition-enter-active",`
transition:
background-color .3s var(--n-bezier),
color .3s var(--n-bezier),
opacity .3s var(--n-bezier),
transform .3s var(--n-bezier-ease-out),
max-height .3s var(--n-bezier),
margin-top .3s linear,
margin-bottom .3s linear,
box-shadow .3s var(--n-bezier);
`)]),z("notification",`
background-color: var(--n-color);
color: var(--n-text-color);
transition:
background-color .3s var(--n-bezier),
color .3s var(--n-bezier),
opacity .3s var(--n-bezier),
box-shadow .3s var(--n-bezier);
font-family: inherit;
font-size: var(--n-font-size);
font-weight: 400;
position: relative;
display: flex;
overflow: hidden;
flex-shrink: 0;
padding-left: var(--n-padding-left);
padding-right: var(--n-padding-right);
width: var(--n-width);
max-width: calc(100vw - 16px - 16px);
border-radius: var(--n-border-radius);
box-shadow: var(--n-box-shadow);
box-sizing: border-box;
opacity: 1;
`,[V("avatar",[z("icon",`
color: var(--n-icon-color);
`),z("base-icon",`
color: var(--n-icon-color);
`)]),Z("show-avatar",[z("notification-main",`
margin-left: 40px;
width: calc(100% - 40px);
`)]),Z("closable",[z("notification-main",[q("> *:first-child",`
padding-right: 20px;
`)]),V("close",`
position: absolute;
top: 0;
right: 0;
margin: var(--n-close-margin);
transition:
background-color .3s var(--n-bezier),
color .3s var(--n-bezier);
`)]),V("avatar",`
position: absolute;
top: var(--n-padding-top);
left: var(--n-padding-left);
width: 28px;
height: 28px;
font-size: 28px;
display: flex;
align-items: center;
justify-content: center;
`,[z("icon","transition: color .3s var(--n-bezier);")]),z("notification-main",`
padding-top: var(--n-padding-top);
padding-bottom: var(--n-padding-bottom);
box-sizing: border-box;
display: flex;
flex-direction: column;
margin-left: 8px;
width: calc(100% - 8px);
`,[z("notification-main-footer",`
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 12px;
`,[V("meta",`
font-size: var(--n-meta-font-size);
transition: color .3s var(--n-bezier-ease-out);
color: var(--n-description-text-color);
`),V("action",`
cursor: pointer;
transition: color .3s var(--n-bezier-ease-out);
color: var(--n-action-text-color);
`)]),V("header",`
font-weight: var(--n-title-font-weight);
font-size: var(--n-title-font-size);
transition: color .3s var(--n-bezier-ease-out);
color: var(--n-title-text-color);
`),V("description",`
margin-top: 8px;
font-size: var(--n-description-font-size);
white-space: pre-wrap;
word-wrap: break-word;
transition: color .3s var(--n-bezier-ease-out);
color: var(--n-description-text-color);
`),V("content",`
line-height: var(--n-line-height);
margin: 12px 0 0 0;
font-family: inherit;
white-space: pre-wrap;
word-wrap: break-word;
transition: color .3s var(--n-bezier-ease-out);
color: var(--n-text-color);
`,[q("&:first-child","margin: 0;")])])])])]);function Kl(e){const n=e.split("-")[1]==="left"?"calc(-100%)":"calc(100%)",o="0";return z("notification-wrapper",[q("&.notification-transition-enter-from, &.notification-transition-leave-to",`
transform: translate(${n}, 0);
`),q("&.notification-transition-leave-from, &.notification-transition-enter-to",`
transform: translate(${o}, 0);
`)])}const ZS="n-notification-api",FX=Object.assign(Object.assign({},Be.props),{containerClass:String,containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),BX=be({name:"NotificationProvider",props:FX,setup(e){const{mergedClsPrefixRef:t}=st(e),n=W([]),o={},r=new Set;function i(h){const p=Zr(),g=()=>{r.add(p),o[p]&&o[p].hide()},m=eo(Object.assign(Object.assign({},h),{key:p,destroy:g,hide:g,deactivate:g})),{max:b}=e;if(b&&n.value.length-r.size>=b){let _=!1,C=0;for(const S of n.value){if(!r.has(S.key)){o[S.key]&&(S.destroy(),_=!0);break}C++}_||n.value.splice(C,1)}return n.value.push(m),m}const a=["info","success","warning","error"].map(h=>p=>i(Object.assign(Object.assign({},p),{type:h})));function s(h){r.delete(h),n.value.splice(n.value.findIndex(p=>p.key===h),1)}const l=Be("Notification","-notification",LX,OK,e,t),c={create:i,info:a[0],success:a[1],warning:a[2],error:a[3],open:d,destroyAll:f},u=W(0);at(ZS,c),at(ju,{props:e,mergedClsPrefixRef:t,mergedThemeRef:l,wipTransitionCountRef:u});function d(h){return i(h)}function f(){Object.values(n.value).forEach(h=>{h.hide()})}return Object.assign({mergedClsPrefix:t,notificationList:n,notificationRefs:o,handleAfterLeave:s},c)},render(){var e,t,n;const{placement:o}=this;return v(it,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.notificationList.length?v(nu,{to:(n=this.to)!==null&&n!==void 0?n:"body"},v(AX,{class:this.containerClass,style:this.containerStyle,scrollable:this.scrollable&&o!=="top"&&o!=="bottom",placement:o},{default:()=>this.notificationList.map(r=>v(DX,Object.assign({ref:i=>{const a=r.key;i===null?delete this.notificationRefs[a]:this.notificationRefs[a]=i}},ja(r,["destroy","hide","deactivate"]),{internalKey:r.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:r.keepAliveOnHover===void 0?this.keepAliveOnHover:r.keepAliveOnHover})))})):null)}});function NX(){const e=Ue(ZS,null);return e===null&&fr("use-notification","No outer `n-notification-provider` found."),e}const HX=q([z("progress",{display:"inline-block"},[z("progress-icon",`
color: var(--n-icon-color);
transition: color .3s var(--n-bezier);
`),Z("line",`
width: 100%;
display: block;
`,[z("progress-content",`
display: flex;
align-items: center;
`,[z("progress-graph",{flex:1})]),z("progress-custom-content",{marginLeft:"14px"}),z("progress-icon",`
width: 30px;
padding-left: 14px;
height: var(--n-icon-size-line);
line-height: var(--n-icon-size-line);
font-size: var(--n-icon-size-line);
`,[Z("as-text",`
color: var(--n-text-color-line-outer);
text-align: center;
width: 40px;
font-size: var(--n-font-size);
padding-left: 4px;
transition: color .3s var(--n-bezier);
`)])]),Z("circle, dashboard",{width:"120px"},[z("progress-custom-content",`
position: absolute;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
display: flex;
align-items: center;
justify-content: center;
`),z("progress-text",`
position: absolute;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
display: flex;
align-items: center;
color: inherit;
font-size: var(--n-font-size-circle);
color: var(--n-text-color-circle);
font-weight: var(--n-font-weight-circle);
transition: color .3s var(--n-bezier);
white-space: nowrap;
`),z("progress-icon",`
position: absolute;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
display: flex;
align-items: center;
color: var(--n-icon-color);
font-size: var(--n-icon-size-circle);
`)]),Z("multiple-circle",`
width: 200px;
color: inherit;
`,[z("progress-text",`
font-weight: var(--n-font-weight-circle);
color: var(--n-text-color-circle);
position: absolute;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
display: flex;
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",[q("svg",{verticalAlign:"bottom"}),z("progress-graph-circle-fill",`
stroke: var(--n-fill-color);
transition:
opacity .3s var(--n-bezier),
stroke .3s var(--n-bezier),
stroke-dasharray .3s var(--n-bezier);
`,[Z("empty",{opacity:0})]),z("progress-graph-circle-rail",`
transition: stroke .3s var(--n-bezier);
overflow: hidden;
stroke: var(--n-rail-color);
`)]),z("progress-graph-line",[Z("indicator-inside",[z("progress-graph-line-rail",`
height: 16px;
line-height: 16px;
border-radius: 10px;
`,[z("progress-graph-line-fill",`
height: inherit;
border-radius: 10px;
`),z("progress-graph-line-indicator",`
background: #0000;
white-space: nowrap;
text-align: right;
margin-left: 14px;
margin-right: 14px;
height: inherit;
font-size: 12px;
color: var(--n-text-color-line-inner);
transition: color .3s var(--n-bezier);
`)])]),Z("indicator-inside-label",`
height: 16px;
display: flex;
align-items: center;
`,[z("progress-graph-line-rail",`
flex: 1;
transition: background-color .3s var(--n-bezier);
`),z("progress-graph-line-indicator",`
background: var(--n-fill-color);
font-size: 12px;
transform: translateZ(0);
display: flex;
vertical-align: middle;
height: 16px;
line-height: 16px;
padding: 0 10px;
border-radius: 10px;
position: absolute;
white-space: nowrap;
color: var(--n-text-color-line-inner);
transition:
right .2s var(--n-bezier),
color .3s var(--n-bezier),
background-color .3s var(--n-bezier);
`)]),z("progress-graph-line-rail",`
position: relative;
overflow: hidden;
height: var(--n-rail-height);
border-radius: 5px;
background-color: var(--n-rail-color);
transition: background-color .3s var(--n-bezier);
`,[z("progress-graph-line-fill",`
background: var(--n-fill-color);
position: relative;
border-radius: 5px;
height: inherit;
width: 100%;
max-width: 0%;
transition:
background-color .3s var(--n-bezier),
max-width .2s var(--n-bezier);
`,[Z("processing",[q("&::after",`
content: "";
background-image: var(--n-line-bg-processing);
animation: progress-processing-animation 2s var(--n-bezier) infinite;
`)])])])])])]),q("@keyframes progress-processing-animation",`
0% {
position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 100%;
opacity: 1;
}
66% {
position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 0;
opacity: 0;
}
100% {
position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 0;
opacity: 0;
}
`)]),jX={success:v(Vi,null),error:v(ji,null),warning:v(Wi,null),info:v(Vr,null)},VX=be({name:"ProgressLine",props:{clsPrefix:{type:String,required:!0},percentage:{type:Number,default:0},railColor:String,railStyle:[String,Object],fillColor:String,status:{type:String,required:!0},indicatorPlacement:{type:String,required:!0},indicatorTextColor:String,unit:{type:String,default:"%"},processing:{type:Boolean,required:!0},showIndicator:{type:Boolean,required:!0},height:[String,Number],railBorderRadius:[String,Number],fillBorderRadius:[String,Number]},setup(e,{slots:t}){const n=F(()=>qt(e.height)),o=F(()=>e.railBorderRadius!==void 0?qt(e.railBorderRadius):e.height!==void 0?qt(e.height,{c:.5}):""),r=F(()=>e.fillBorderRadius!==void 0?qt(e.fillBorderRadius):e.railBorderRadius!==void 0?qt(e.railBorderRadius):e.height!==void 0?qt(e.height,{c:.5}):"");return()=>{const{indicatorPlacement:i,railColor:a,railStyle:s,percentage:l,unit:c,indicatorTextColor:u,status:d,showIndicator:f,fillColor:h,processing:p,clsPrefix:g}=e;return v("div",{class:`${g}-progress-content`,role:"none"},v("div",{class:`${g}-progress-graph`,"aria-hidden":!0},v("div",{class:[`${g}-progress-graph-line`,{[`${g}-progress-graph-line--indicator-${i}`]:!0}]},v("div",{class:`${g}-progress-graph-line-rail`,style:[{backgroundColor:a,height:n.value,borderRadius:o.value},s]},v("div",{class:[`${g}-progress-graph-line-fill`,p&&`${g}-progress-graph-line-fill--processing`],style:{maxWidth:`${e.percentage}%`,backgroundColor:h,height:n.value,lineHeight:n.value,borderRadius:r.value}},i==="inside"?v("div",{class:`${g}-progress-graph-line-indicator`,style:{color:u}},t.default?t.default():`${l}${c}`):null)))),f&&i==="outside"?v("div",null,t.default?v("div",{class:`${g}-progress-custom-content`,style:{color:u},role:"none"},t.default()):d==="default"?v("div",{role:"none",class:`${g}-progress-icon ${g}-progress-icon--as-text`,style:{color:u}},l,c):v("div",{class:`${g}-progress-icon`,"aria-hidden":!0},v(Ut,{clsPrefix:g},{default:()=>jX[d]}))):null)}}}),WX={success:v(Vi,null),error:v(ji,null),warning:v(Wi,null),info:v(Vr,null)},UX=be({name:"ProgressCircle",props:{clsPrefix:{type:String,required:!0},status:{type:String,required:!0},strokeWidth:{type:Number,required:!0},fillColor:String,railColor:String,railStyle:[String,Object],percentage:{type:Number,default:0},offsetDegree:{type:Number,default:0},showIndicator:{type:Boolean,required:!0},indicatorTextColor:String,unit:String,viewBoxWidth:{type:Number,required:!0},gapDegree:{type:Number,required:!0},gapOffsetDegree:{type:Number,default:0}},setup(e,{slots:t}){function n(o,r,i){const{gapDegree:a,viewBoxWidth:s,strokeWidth:l}=e,c=50,u=0,d=c,f=0,h=2*c,p=50+l/2,g=`M ${p},${p} m ${u},${d}
a ${c},${c} 0 1 1 ${f},${-h}
a ${c},${c} 0 1 1 ${-f},${h}`,m=Math.PI*2*c,b={stroke:i,strokeDasharray:`${o/100*(m-a)}px ${s*8}px`,strokeDashoffset:`-${a/2}px`,transformOrigin:r?"center":void 0,transform:r?`rotate(${r}deg)`:void 0};return{pathString:g,pathStyle:b}}return()=>{const{fillColor:o,railColor:r,strokeWidth:i,offsetDegree:a,status:s,percentage:l,showIndicator:c,indicatorTextColor:u,unit:d,gapOffsetDegree:f,clsPrefix:h}=e,{pathString:p,pathStyle:g}=n(100,0,r),{pathString:m,pathStyle:b}=n(l,a,o),_=100+i;return v("div",{class:`${h}-progress-content`,role:"none"},v("div",{class:`${h}-progress-graph`,"aria-hidden":!0},v("div",{class:`${h}-progress-graph-circle`,style:{transform:f?`rotate(${f}deg)`:void 0}},v("svg",{viewBox:`0 0 ${_} ${_}`},v("g",null,v("path",{class:`${h}-progress-graph-circle-rail`,d:p,"stroke-width":i,"stroke-linecap":"round",fill:"none",style:g})),v("g",null,v("path",{class:[`${h}-progress-graph-circle-fill`,l===0&&`${h}-progress-graph-circle-fill--empty`],d:m,"stroke-width":i,"stroke-linecap":"round",fill:"none",style:b}))))),c?v("div",null,t.default?v("div",{class:`${h}-progress-custom-content`,role:"none"},t.default()):s!=="default"?v("div",{class:`${h}-progress-icon`,"aria-hidden":!0},v(Ut,{clsPrefix:h},{default:()=>WX[s]})):v("div",{class:`${h}-progress-text`,style:{color:u},role:"none"},v("span",{class:`${h}-progress-text__percentage`},l),v("span",{class:`${h}-progress-text__unit`},d))):null)}}});function b1(e,t,n=100){return`m ${n/2} ${n/2-e} a ${e} ${e} 0 1 1 0 ${2*e} a ${e} ${e} 0 1 1 0 -${2*e}`}const qX=be({name:"ProgressMultipleCircle",props:{clsPrefix:{type:String,required:!0},viewBoxWidth:{type:Number,required:!0},percentage:{type:Array,default:[0]},strokeWidth:{type:Number,required:!0},circleGap:{type:Number,required:!0},showIndicator:{type:Boolean,required:!0},fillColor:{type:Array,default:()=>[]},railColor:{type:Array,default:()=>[]},railStyle:{type:Array,default:()=>[]}},setup(e,{slots:t}){const n=F(()=>e.percentage.map((r,i)=>`${Math.PI*r/100*(e.viewBoxWidth/2-e.strokeWidth/2*(1+2*i)-e.circleGap*i)*2}, ${e.viewBoxWidth*8}`));return()=>{const{viewBoxWidth:o,strokeWidth:r,circleGap:i,showIndicator:a,fillColor:s,railColor:l,railStyle:c,percentage:u,clsPrefix:d}=e;return v("div",{class:`${d}-progress-content`,role:"none"},v("div",{class:`${d}-progress-graph`,"aria-hidden":!0},v("div",{class:`${d}-progress-graph-circle`},v("svg",{viewBox:`0 0 ${o} ${o}`},u.map((f,h)=>v("g",{key:h},v("path",{class:`${d}-progress-graph-circle-rail`,d:b1(o/2-r/2*(1+2*h)-i*h,r,o),"stroke-width":r,"stroke-linecap":"round",fill:"none",style:[{strokeDashoffset:0,stroke:l[h]},c[h]]}),v("path",{class:[`${d}-progress-graph-circle-fill`,f===0&&`${d}-progress-graph-circle-fill--empty`],d:b1(o/2-r/2*(1+2*h)-i*h,r,o),"stroke-width":r,"stroke-linecap":"round",fill:"none",style:{strokeDasharray:n.value[h],strokeDashoffset:0,stroke:s[h]}})))))),a&&t.default?v("div",null,v("div",{class:`${d}-progress-text`},t.default())):null)}}}),KX=Object.assign(Object.assign({},Be.props),{processing:Boolean,type:{type:String,default:"line"},gapDegree:Number,gapOffsetDegree:Number,status:{type:String,default:"default"},railColor:[String,Array],railStyle:[String,Array],color:[String,Array],viewBoxWidth:{type:Number,default:100},strokeWidth:{type:Number,default:7},percentage:[Number,Array],unit:{type:String,default:"%"},showIndicator:{type:Boolean,default:!0},indicatorPosition:{type:String,default:"outside"},indicatorPlacement:{type:String,default:"outside"},indicatorTextColor:String,circleGap:{type:Number,default:1},height:Number,borderRadius:[String,Number],fillBorderRadius:[String,Number],offsetDegree:Number}),GX=be({name:"Progress",props:KX,setup(e){const t=F(()=>e.indicatorPlacement||e.indicatorPosition),n=F(()=>{if(e.gapDegree||e.gapDegree===0)return e.gapDegree;if(e.type==="dashboard")return 75}),{mergedClsPrefixRef:o,inlineThemeDisabled:r}=st(e),i=Be("Progress","-progress",HX,PG,e,o),a=F(()=>{const{status:l}=e,{common:{cubicBezierEaseInOut:c},self:{fontSize:u,fontSizeCircle:d,railColor:f,railHeight:h,iconSizeCircle:p,iconSizeLine:g,textColorCircle:m,textColorLineInner:b,textColorLineOuter:_,lineBgProcessing:C,fontWeightCircle:S,[Re("iconColor",l)]:w,[Re("fillColor",l)]:x}}=i.value;return{"--n-bezier":c,"--n-fill-color":x,"--n-font-size":u,"--n-font-size-circle":d,"--n-font-weight-circle":S,"--n-icon-color":w,"--n-icon-size-circle":p,"--n-icon-size-line":g,"--n-line-bg-processing":C,"--n-rail-color":f,"--n-rail-height":h,"--n-text-color-circle":m,"--n-text-color-line-inner":b,"--n-text-color-line-outer":_}}),s=r?Pt("progress",F(()=>e.status[0]),a,e):void 0;return{mergedClsPrefix:o,mergedIndicatorPlacement:t,gapDeg:n,cssVars:r?void 0:a,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender}},render(){const{type:e,cssVars:t,indicatorTextColor:n,showIndicator:o,status:r,railColor:i,railStyle:a,color:s,percentage:l,viewBoxWidth:c,strokeWidth:u,mergedIndicatorPlacement:d,unit:f,borderRadius:h,fillBorderRadius:p,height:g,processing:m,circleGap:b,mergedClsPrefix:_,gapDeg:C,gapOffsetDegree:S,themeClass:w,$slots:x,onRender:y}=this;return y==null||y(),v("div",{class:[w,`${_}-progress`,`${_}-progress--${e}`,`${_}-progress--${r}`],style:t,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":l,role:e==="circle"||e==="line"||e==="dashboard"?"progressbar":"none"},e==="circle"||e==="dashboard"?v(UX,{clsPrefix:_,status:r,showIndicator:o,indicatorTextColor:n,railColor:i,fillColor:s,railStyle:a,offsetDegree:this.offsetDegree,percentage:l,viewBoxWidth:c,strokeWidth:u,gapDegree:C===void 0?e==="dashboard"?75:0:C,gapOffsetDegree:S,unit:f},x):e==="line"?v(VX,{clsPrefix:_,status:r,showIndicator:o,indicatorTextColor:n,railColor:i,fillColor:s,railStyle:a,percentage:l,processing:m,indicatorPlacement:d,unit:f,fillBorderRadius:p,railBorderRadius:h,height:g},x):e==="multiple-circle"?v(qX,{clsPrefix:_,strokeWidth:u,railColor:i,fillColor:s,railStyle:a,viewBoxWidth:c,percentage:l,showIndicator:o,circleGap:b},x):null)}}),YX={name:"QrCode",common:je,self:e=>({borderRadius:e.borderRadius})},XX=YX;function ZX(e){return{borderRadius:e.borderRadius}}const JX={name:"QrCode",common:xt,self:ZX},QX=JX,eZ=q([z("qr-code",`
background: #fff;
border-radius: var(--n-border-radius);
display: inline-flex;
`)]);var Mi;(function(e){class t{static encodeText(a,s){const l=e.QrSegment.makeSegments(a);return t.encodeSegments(l,s)}static encodeBinary(a,s){const l=e.QrSegment.makeBytes(a);return t.encodeSegments([l],s)}static encodeSegments(a,s,l=1,c=40,u=-1,d=!0){if(!(t.MIN_VERSION<=l&&l<=c&&c<=t.MAX_VERSION)||u<-1||u>7)throw new RangeError("Invalid value");let f,h;for(f=l;;f++){const b=t.getNumDataCodewords(f,s)*8,_=r.getTotalBits(a,f);if(_<=b){h=_;break}if(f>=c)throw new RangeError("Data too long")}for(const b of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])d&&h<=t.getNumDataCodewords(f,b)*8&&(s=b);const p=[];for(const b of a){n(b.mode.modeBits,4,p),n(b.numChars,b.mode.numCharCountBits(f),p);for(const _ of b.getData())p.push(_)}const g=t.getNumDataCodewords(f,s)*8;n(0,Math.min(4,g-p.length),p),n(0,(8-p.length%8)%8,p);for(let b=236;p.length<g;b^=253)n(b,8,p);const m=[];for(;m.length*8<p.length;)m.push(0);return p.forEach((b,_)=>m[_>>>3]|=b<<7-(_&7)),new t(f,s,m,u)}constructor(a,s,l,c){if(this.version=a,this.errorCorrectionLevel=s,this.modules=[],this.isFunction=[],a<t.MIN_VERSION||a>t.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<this.size;f++)u.push(!1);for(let f=0;f<this.size;f++)this.modules.push(u.slice()),this.isFunction.push(u.slice());this.drawFunctionPatterns();const d=this.addEccAndInterleave(l);if(this.drawCodewords(d),c===-1){let f=1e9;for(let h=0;h<8;h++){this.applyMask(h),this.drawFormatBits(h);const p=this.getPenaltyScore();p<f&&(c=h,f=p),this.applyMask(h)}}this.mask=c,this.applyMask(c),this.drawFormatBits(c),this.isFunction=[]}getModule(a,s){return a>=0&&a<this.size&&s>=0&&s<this.size&&this.modules[s][a]}getModules(){return this.modules}drawFunctionPatterns(){for(let l=0;l<this.size;l++)this.setFunctionModule(6,l,l%2===0),this.setFunctionModule(l,6,l%2===0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const a=this.getAlignmentPatternPositions(),s=a.length;for(let l=0;l<s;l++)for(let c=0;c<s;c++)l===0&&c===0||l===0&&c===s-1||l===s-1&&c===0||this.drawAlignmentPattern(a[l],a[c]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(a){const s=this.errorCorrectionLevel.formatBits<<3|a;let l=s;for(let u=0;u<10;u++)l=l<<1^(l>>>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<this.size&&f>=0&&f<this.size&&this.setFunctionModule(d,f,u!==2&&u!==4)}}drawAlignmentPattern(a,s){for(let l=-2;l<=2;l++)for(let c=-2;c<=2;c++)this.setFunctionModule(a+c,s+l,Math.max(Math.abs(c),Math.abs(l))!==1)}setFunctionModule(a,s,l){this.modules[s][a]=l,this.isFunction[s][a]=!0}addEccAndInterleave(a){const s=this.version,l=this.errorCorrectionLevel;if(a.length!==t.getNumDataCodewords(s,l))throw new RangeError("Invalid argument");const c=t.NUM_ERROR_CORRECTION_BLOCKS[l.ordinal][s],u=t.ECC_CODEWORDS_PER_BLOCK[l.ordinal][s],d=Math.floor(t.getNumRawDataModules(s)/8),f=c-d%c,h=Math.floor(d/c),p=[],g=t.reedSolomonComputeDivisor(u);for(let b=0,_=0;b<c;b++){const C=a.slice(_,_+h-u+(b<f?0:1));_+=C.length;const S=t.reedSolomonComputeRemainder(C,g);b<f&&C.push(0),p.push(C.concat(S))}const m=[];for(let b=0;b<p[0].length;b++)p.forEach((_,C)=>{(b!==h-u||C>=f)&&m.push(_[b])});return m}drawCodewords(a){if(a.length!==Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let s=0;for(let l=this.size-1;l>=1;l-=2){l===6&&(l=5);for(let c=0;c<this.size;c++)for(let u=0;u<2;u++){const d=l-u,h=(l+1&2)===0?this.size-1-c:c;!this.isFunction[h][d]&&s<a.length*8&&(this.modules[h][d]=o(a[s>>>3],7-(s&7)),s++)}}}applyMask(a){if(a<0||a>7)throw new RangeError("Mask value out of range");for(let s=0;s<this.size;s++)for(let l=0;l<this.size;l++){let c;switch(a){case 0:c=(l+s)%2===0;break;case 1:c=s%2===0;break;case 2:c=l%3===0;break;case 3:c=(l+s)%3===0;break;case 4:c=(Math.floor(l/3)+Math.floor(s/2))%2===0;break;case 5:c=l*s%2+l*s%3===0;break;case 6:c=(l*s%2+l*s%3)%2===0;break;case 7:c=((l+s)%2+l*s%3)%2===0;break;default:throw new Error("Unreachable")}!this.isFunction[s][l]&&c&&(this.modules[s][l]=!this.modules[s][l])}}getPenaltyScore(){let a=0;for(let u=0;u<this.size;u++){let d=!1,f=0;const h=[0,0,0,0,0,0,0];for(let p=0;p<this.size;p++)this.modules[u][p]===d?(f++,f===5?a+=t.PENALTY_N1:f>5&&a++):(this.finderPenaltyAddHistory(f,h),d||(a+=this.finderPenaltyCountPatterns(h)*t.PENALTY_N3),d=this.modules[u][p],f=1);a+=this.finderPenaltyTerminateAndCount(d,f,h)*t.PENALTY_N3}for(let u=0;u<this.size;u++){let d=!1,f=0;const h=[0,0,0,0,0,0,0];for(let p=0;p<this.size;p++)this.modules[p][u]===d?(f++,f===5?a+=t.PENALTY_N1:f>5&&a++):(this.finderPenaltyAddHistory(f,h),d||(a+=this.finderPenaltyCountPatterns(h)*t.PENALTY_N3),d=this.modules[p][u],f=1);a+=this.finderPenaltyTerminateAndCount(d,f,h)*t.PENALTY_N3}for(let u=0;u<this.size-1;u++)for(let d=0;d<this.size-1;d++){const f=this.modules[u][d];f===this.modules[u][d+1]&&f===this.modules[u+1][d]&&f===this.modules[u+1][d+1]&&(a+=t.PENALTY_N2)}let s=0;for(const u of this.modules)s=u.reduce((d,f)=>d+(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.length<a;c-=s)l.splice(1,0,c);return l}}static getNumRawDataModules(a){if(a<t.MIN_VERSION||a>t.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;c<a-1;c++)s.push(0);s.push(1);let l=1;for(let c=0;c<a;c++){for(let u=0;u<s.length;u++)s[u]=t.reedSolomonMultiply(s[u],l),u+1<s.length&&(s[u]^=s[u+1]);l=t.reedSolomonMultiply(l,2)}return s}static reedSolomonComputeRemainder(a,s){const l=s.map(c=>0);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<a.length;){const c=Math.min(a.length-l,3);n(Number.parseInt(a.substr(l,c),10),c*3+1,s),l+=c}return new r(r.Mode.NUMERIC,a.length,s)}static makeAlphanumeric(a){if(!r.isAlphanumeric(a))throw new RangeError("String contains unencodable characters in alphanumeric mode");const s=[];let l;for(l=0;l+2<=a.length;l+=2){let c=r.ALPHANUMERIC_CHARSET.indexOf(a.charAt(l))*45;c+=r.ALPHANUMERIC_CHARSET.indexOf(a.charAt(l+1)),n(c,11,s)}return l<a.length&&n(r.ALPHANUMERIC_CHARSET.indexOf(a.charAt(l)),6,s),new r(r.Mode.ALPHANUMERIC,a.length,s)}static makeSegments(a){return a===""?[]:r.isNumeric(a)?[r.makeNumeric(a)]:r.isAlphanumeric(a)?[r.makeAlphanumeric(a)]:[r.makeBytes(r.toUtf8ByteArray(a))]}static makeEci(a){const s=[];if(a<0)throw new RangeError("ECI assignment value out of range");if(a<128)n(a,8,s);else if(a<16384)n(2,2,s),n(a,14,s);else if(a<1e6)n(6,3,s),n(a,21,s);else throw new RangeError("ECI assignment value out of range");return new r(r.Mode.ECI,0,s)}static isNumeric(a){return r.NUMERIC_REGEX.test(a)}static isAlphanumeric(a){return r.ALPHANUMERIC_REGEX.test(a)}constructor(a,s,l){if(this.mode=a,this.numChars=s,this.bitData=l,s<0)throw new RangeError("Invalid argument");this.bitData=l.slice()}getData(){return this.bitData.slice()}static getTotalBits(a,s){let l=0;for(const c of a){const u=c.mode.numCharCountBits(s);if(c.numChars>=1<<u)return 1/0;l+=4+u+c.bitData.length}return l}static toUtf8ByteArray(a){a=encodeURI(a);const s=[];for(let l=0;l<a.length;l++)a.charAt(l)!=="%"?s.push(a.charCodeAt(l)):(s.push(Number.parseInt(a.substr(l+1,2),16)),l+=2);return s}}r.NUMERIC_REGEX=/^[0-9]*$/,r.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+./:-]*$/,r.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=r})(Mi||(Mi={}));(function(e){(function(t){class n{constructor(r,i){this.ordinal=r,this.formatBits=i}}n.LOW=new n(0,1),n.MEDIUM=new n(1,0),n.QUARTILE=new n(2,3),n.HIGH=new n(3,2),t.Ecc=n})(e.QrCode||(e.QrCode={}))})(Mi||(Mi={}));(function(e){(function(t){class n{constructor(r,i){this.modeBits=r,this.numBitsCharCount=i}numCharCountBits(r){return this.numBitsCharCount[Math.floor((r+7)/17)]}}n.NUMERIC=new n(1,[10,12,14]),n.ALPHANUMERIC=new n(2,[9,11,13]),n.BYTE=new n(4,[8,16,16]),n.KANJI=new n(8,[8,10,12]),n.ECI=new n(7,[0,0,0]),t.Mode=n})(e.QrSegment||(e.QrSegment={}))})(Mi||(Mi={}));const ms=Mi,tZ={L:ms.QrCode.Ecc.LOW,M:ms.QrCode.Ecc.MEDIUM,Q:ms.QrCode.Ecc.QUARTILE,H:ms.QrCode.Ecc.HIGH},nZ=Object.assign(Object.assign({},Be.props),{value:String,color:{type:String,default:"#000"},backgroundColor:{type:String,default:"#FFF"},iconSrc:String,iconSize:{type:Number,default:40},iconBackgroundColor:{type:String,default:"#FFF"},iconBorderRadius:{type:Number,default:4},size:{type:Number,default:100},padding:{type:[Number,String],default:12},errorCorrectionLevel:{type:String,default:"M"},type:{type:String,default:"canvas"}}),uf=2,JS=be({name:"QrCode",props:nZ,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("QrCode","-qr-code",eZ,QX,e,t),r=F(()=>({"--n-border-radius":o.value.self.borderRadius})),i=n?Pt("qr-code",void 0,r,e):void 0,a=W(),s=F(()=>{var f;const h=tZ[e.errorCorrectionLevel];return ms.QrCode.encodeText((f=e.value)!==null&&f!==void 0?f:"-",h)});jt(()=>{const f=W(0);let h=null;Xt(()=>{e.type!=="svg"&&(f.value,l(s.value,e.size,e.color,e.backgroundColor,h?{icon:h,iconBorderRadius:e.iconBorderRadius,iconSize:e.iconSize,iconBackgroundColor:e.iconBackgroundColor}:null))}),Xt(()=>{if(e.type==="svg")return;const{iconSrc:p}=e;if(p){let g=!1;const m=new Image;return m.src=p,m.onload=()=>{g||(h=m,f.value++)},()=>{g=!0}}})});function l(f,h,p,g,m){const b=a.value;if(!b)return;const _=h*uf,C=f.size,S=_/C;b.width=_,b.height=_;const w=b.getContext("2d");if(w){w.clearRect(0,0,b.width,b.height);for(let x=0;x<f.size;x++)for(let y=0;y<f.size;y++){w.fillStyle=f.getModule(y,x)?p:g;const P=Math.floor(y*S),k=Math.ceil((y+1)*S),T=Math.floor(x*S),E=Math.ceil((x+1)*S);w.fillRect(P,T,k-P,E-T)}if(m){const{icon:x,iconBackgroundColor:y,iconBorderRadius:P,iconSize:k}=m,T=k*uf,E=(b.width-T)/2,R=(b.height-T)/2;w.fillStyle=y,w.beginPath(),w.roundRect(E,R,T,T,P*uf),w.fill();const K=x.width/x.height,N=K>=1?T:T*K,D=K<=1?T:T/K,M=E+(T-N)/2,G=R+(T-D)/2;w.drawImage(x,M,G,N,D)}}}function c(f,h=0){const p=[];return f.forEach((g,m)=>{let b=null;g.forEach((_,C)=>{if(!_&&b!==null){p.push(`M${b+h} ${m+h}h${C-b}v1H${b+h}z`),b=null;return}if(C===g.length-1){if(!_)return;b===null?p.push(`M${C+h},${m+h} h1v1H${C+h}z`):p.push(`M${b+h},${m+h} h${C+1-b}v1H${b+h}z`);return}_&&b===null&&(b=C)})}),p.join("")}function u(f,h,p){const g=f.getModules(),m=g.length,b=g;let _="";const C=`<path fill="transparent" d="M0,0 h${m}v${m}H0z" shape-rendering="crispEdges"></path>`,S=`<path fill="${e.color}" d="${c(b,0)}" shape-rendering="crispEdges"></path>`;let w="";if(p){const{iconSrc:x,iconSize:y}=p,k=Math.floor(h*.1),T=m/h,E=(y||k)*T,R=(y||k)*T,K=g.length/2-R/2,N=g.length/2-E/2;w+=`<image href="${x}" width="${R}" height="${E}" x="${K}" y="${N}" preserveAspectRatio="none"></image>`}return _+=C,_+=S,_+=w,{innerHtml:_,numCells:m}}const d=F(()=>u(s.value,e.size,e.iconSrc?{iconSrc:e.iconSrc,iconBorderRadius:e.iconBorderRadius,iconSize:e.iconSize,iconBackgroundColor:e.iconBackgroundColor}:null));return{canvasRef:a,mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,svgInfo:d}},render(){const{mergedClsPrefix:e,backgroundColor:t,padding:n,cssVars:o,themeClass:r,size:i,type:a}=this;return v("div",{class:[`${e}-qr-code`,r],style:Object.assign({padding:typeof n=="number"?`${n}px`:n,backgroundColor:t,width:`${i}px`,height:`${i}px`},o)},a==="canvas"?v("canvas",{ref:"canvasRef",style:{width:`${i}px`,height:`${i}px`}}):v("svg",{height:i,width:i,viewBox:`0 0 ${this.svgInfo.numCells} ${this.svgInfo.numCells}`,role:"img",innerHTML:this.svgInfo.innerHtml}))}}),oZ=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},v("circle",{fill:"#FFCB4C",cx:"18",cy:"17.018",r:"17"}),v("path",{fill:"#65471B",d:"M14.524 21.036c-.145-.116-.258-.274-.312-.464-.134-.46.13-.918.59-1.021 4.528-1.021 7.577 1.363 7.706 1.465.384.306.459.845.173 1.205-.286.358-.828.401-1.211.097-.11-.084-2.523-1.923-6.182-1.098-.274.061-.554-.016-.764-.184z"}),v("ellipse",{fill:"#65471B",cx:"13.119",cy:"11.174",rx:"2.125",ry:"2.656"}),v("ellipse",{fill:"#65471B",cx:"24.375",cy:"12.236",rx:"2.125",ry:"2.656"}),v("path",{fill:"#F19020",d:"M17.276 35.149s1.265-.411 1.429-1.352c.173-.972-.624-1.167-.624-1.167s1.041-.208 1.172-1.376c.123-1.101-.861-1.363-.861-1.363s.97-.4 1.016-1.539c.038-.959-.995-1.428-.995-1.428s5.038-1.221 5.556-1.341c.516-.12 1.32-.615 1.069-1.694-.249-1.08-1.204-1.118-1.697-1.003-.494.115-6.744 1.566-8.9 2.068l-1.439.334c-.54.127-.785-.11-.404-.512.508-.536.833-1.129.946-2.113.119-1.035-.232-2.313-.433-2.809-.374-.921-1.005-1.649-1.734-1.899-1.137-.39-1.945.321-1.542 1.561.604 1.854.208 3.375-.833 4.293-2.449 2.157-3.588 3.695-2.83 6.973.828 3.575 4.377 5.876 7.952 5.048l3.152-.681z"}),v("path",{fill:"#65471B",d:"M9.296 6.351c-.164-.088-.303-.224-.391-.399-.216-.428-.04-.927.393-1.112 4.266-1.831 7.699-.043 7.843.034.433.231.608.747.391 1.154-.216.405-.74.546-1.173.318-.123-.063-2.832-1.432-6.278.047-.257.109-.547.085-.785-.042zm12.135 3.75c-.156-.098-.286-.243-.362-.424-.187-.442.023-.927.468-1.084 4.381-1.536 7.685.48 7.823.567.415.26.555.787.312 1.178-.242.39-.776.495-1.191.238-.12-.072-2.727-1.621-6.267-.379-.266.091-.553.046-.783-.096z"})),rZ=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},v("path",{fill:"#FFCC4D",d:"M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"}),v("ellipse",{fill:"#664500",cx:"18",cy:"27",rx:"5",ry:"6"}),v("path",{fill:"#664500",d:"M5.999 11c-.208 0-.419-.065-.599-.2-.442-.331-.531-.958-.2-1.4C8.462 5.05 12.816 5 13 5c.552 0 1 .448 1 1 0 .551-.445.998-.996 1-.155.002-3.568.086-6.204 3.6-.196.262-.497.4-.801.4zm24.002 0c-.305 0-.604-.138-.801-.4-2.64-3.521-6.061-3.598-6.206-3.6-.55-.006-.994-.456-.991-1.005C22.006 5.444 22.45 5 23 5c.184 0 4.537.05 7.8 4.4.332.442.242 1.069-.2 1.4-.18.135-.39.2-.599.2zm-16.087 4.5l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L12.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L13.914 15.5zm11 0l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L23.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L24.914 15.5z"})),iZ=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},v("ellipse",{fill:"#292F33",cx:"18",cy:"26",rx:"18",ry:"10"}),v("ellipse",{fill:"#66757F",cx:"18",cy:"24",rx:"18",ry:"10"}),v("path",{fill:"#E1E8ED",d:"M18 31C3.042 31 1 16 1 12h34c0 2-1.958 19-17 19z"}),v("path",{fill:"#77B255",d:"M35 12.056c0 5.216-7.611 9.444-17 9.444S1 17.271 1 12.056C1 6.84 8.611 3.611 18 3.611s17 3.229 17 8.445z"}),v("ellipse",{fill:"#A6D388",cx:"18",cy:"13",rx:"15",ry:"7"}),v("path",{d:"M21 17c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.739-1.109.9-2.246.478-3.377-.461-1.236-1.438-1.996-1.731-2.077-.553 0-.958-.443-.958-.996 0-.552.491-.995 1.043-.995.997 0 2.395 1.153 3.183 2.625 1.034 1.933.91 4.039-.351 5.929-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.196-.451.294-.707.294zm-6-2c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.727-1.091.893-2.083.494-2.947-.444-.961-1.431-1.469-1.684-1.499-.552 0-.989-.447-.989-1 0-.552.458-1 1.011-1 .997 0 2.585.974 3.36 2.423.481.899 1.052 2.761-.528 5.131-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.197-.451.295-.707.295z",fill:"#5C913B"})),aZ=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},v("path",{fill:"#EF9645",d:"M15.5 2.965c1.381 0 2.5 1.119 2.5 2.5v.005L20.5.465c1.381 0 2.5 1.119 2.5 2.5V4.25l2.5-1.535c1.381 0 2.5 1.119 2.5 2.5V8.75L29 18H15.458L15.5 2.965z"}),v("path",{fill:"#FFDC5D",d:"M4.625 16.219c1.381-.611 3.354.208 4.75 2.188.917 1.3 1.187 3.151 2.391 3.344.46.073 1.234-.313 1.234-1.397V4.5s0-2 2-2 2 2 2 2v11.633c0-.029 1-.064 1-.082V2s0-2 2-2 2 2 2 2v14.053c0 .017 1 .041 1 .069V4.25s0-2 2-2 2 2 2 2v12.638c0 .118 1 .251 1 .398V8.75s0-2 2-2 2 2 2 2V24c0 6.627-5.373 12-12 12-4.775 0-8.06-2.598-9.896-5.292C8.547 28.423 8.096 26.051 8 25.334c0 0-.123-1.479-1.156-2.865-1.469-1.969-2.5-3.156-3.125-3.866-.317-.359-.625-1.707.906-2.384z"})),sZ=z("result",`
color: var(--n-text-color);
line-height: var(--n-line-height);
font-size: var(--n-font-size);
transition:
color .3s var(--n-bezier);
`,[z("result-icon",`
display: flex;
justify-content: center;
transition: color .3s var(--n-bezier);
`,[V("status-image",`
font-size: var(--n-icon-size);
width: 1em;
height: 1em;
`),z("base-icon",`
color: var(--n-icon-color);
font-size: var(--n-icon-size);
`)]),z("result-content",{marginTop:"24px"}),z("result-footer",`
margin-top: 24px;
text-align: center;
`),z("result-header",[V("title",`
margin-top: 16px;
font-weight: var(--n-title-font-weight);
transition: color .3s var(--n-bezier);
text-align: center;
color: var(--n-title-text-color);
font-size: var(--n-title-font-size);
`),V("description",`
margin-top: 4px;
text-align: center;
font-size: var(--n-font-size);
`)])]),lZ={403:()=>aZ,404:()=>oZ,418:()=>iZ,500:()=>rZ,info:()=>v(Vr,null),success:()=>v(Vi,null),warning:()=>v(Wi,null),error:()=>v(ji,null)},cZ=Object.assign(Object.assign({},Be.props),{size:{type:String,default:"medium"},status:{type:String,default:"info"},title:String,description:String}),uZ=be({name:"Result",props:cZ,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Result","-result",sZ,IG,e,t),r=F(()=>{const{size:a,status:s}=e,{common:{cubicBezierEaseInOut:l},self:{textColor:c,lineHeight:u,titleTextColor:d,titleFontWeight:f,[Re("iconColor",s)]:h,[Re("fontSize",a)]:p,[Re("titleFontSize",a)]:g,[Re("iconSize",a)]:m}}=o.value;return{"--n-bezier":l,"--n-font-size":p,"--n-icon-size":m,"--n-line-height":u,"--n-text-color":c,"--n-title-font-size":g,"--n-title-font-weight":f,"--n-title-text-color":d,"--n-icon-color":h||""}}),i=n?Pt("result",F(()=>{const{size:a,status:s}=e;let l="";return a&&(l+=a[0]),s&&(l+=s[0]),l}),r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{status:t,$slots:n,mergedClsPrefix:o,onRender:r}=this;return r==null||r(),v("div",{class:[`${o}-result`,this.themeClass],style:this.cssVars},v("div",{class:`${o}-result-icon`},((e=n.icon)===null||e===void 0?void 0:e.call(n))||v(Ut,{clsPrefix:o},{default:()=>lZ[t]()})),v("div",{class:`${o}-result-header`},this.title?v("div",{class:`${o}-result-header__title`},this.title):null,this.description?v("div",{class:`${o}-result-header__description`},this.description):null),n.default&&v("div",{class:`${o}-result-content`},n),n.footer&&v("div",{class:`${o}-result-footer`},n.footer()))}}),dZ=Object.assign(Object.assign({},Be.props),{trigger:String,xScrollable:Boolean,onScroll:Function,contentClass:String,contentStyle:[Object,String],size:Number}),fZ=be({name:"Scrollbar",props:dZ,setup(){const e=W(null);return Object.assign(Object.assign({},{scrollTo:(...n)=>{var o;(o=e.value)===null||o===void 0||o.scrollTo(n[0],n[1])},scrollBy:(...n)=>{var o;(o=e.value)===null||o===void 0||o.scrollBy(n[0],n[1])}}),{scrollbarInstRef:e})},render(){return v(Io,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),hZ=fZ,pZ={name:"Skeleton",common:je,self(e){const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:r}=e;return{color:"rgba(255, 255, 255, 0.12)",colorEnd:"rgba(255, 255, 255, 0.18)",borderRadius:r,heightSmall:t,heightMedium:n,heightLarge:o}}};function mZ(e){const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:r}=e;return{color:"#eee",colorEnd:"#ddd",borderRadius:r,heightSmall:t,heightMedium:n,heightLarge:o}}const gZ={name:"Skeleton",common:xt,self:mZ},vZ=q([z("skeleton",`
height: 1em;
width: 100%;
transition:
--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);
`),q("@keyframes skeleton-loading",`
0% {
background: var(--n-color-start);
}
40% {
background: var(--n-color-end);
}
80% {
background: var(--n-color-start);
}
100% {
background: var(--n-color-start);
}
`)]),bZ=Object.assign(Object.assign({},Be.props),{text:Boolean,round:Boolean,circle:Boolean,height:[String,Number],width:[String,Number],size:String,repeat:{type:Number,default:1},animated:{type:Boolean,default:!0},sharp:{type:Boolean,default:!0}}),vl=be({name:"Skeleton",inheritAttrs:!1,props:bZ,setup(e){M8();const{mergedClsPrefixRef:t}=st(e),n=Be("Skeleton","-skeleton",vZ,gZ,e,t);return{mergedClsPrefix:t,style:F(()=>{var o,r;const i=n.value,{common:{cubicBezierEaseInOut:a}}=i,s=i.self,{color:l,colorEnd:c,borderRadius:u}=s;let d;const{circle:f,sharp:h,round:p,width:g,height:m,size:b,text:_,animated:C}=e;b!==void 0&&(d=s[Re("height",b)]);const S=f?(o=g??m)!==null&&o!==void 0?o:d:g,w=(r=f?g??m:m)!==null&&r!==void 0?r:d;return{display:_?"inline-block":"",verticalAlign:_?"-0.125em":"",borderRadius:f?"50%":p?"4096px":h?"":u,width:typeof S=="number"?zn(S):S,height:typeof w=="number"?zn(w):w,animation:C?"":"none","--n-bezier":a,"--n-color-start":l,"--n-color-end":c}})}},render(){const{repeat:e,style:t,mergedClsPrefix:n,$attrs:o}=this,r=v("div",Ln({class:`${n}-skeleton`,style:t},o));return e>1?v(it,null,pw(e,null).map(i=>[r,`
`])):r}}),yZ=q([q("@keyframes spin-rotate",`
from {
transform: rotate(0);
}
to {
transform: rotate(360deg);
}
`),z("spin-container",`
position: relative;
`,[z("spin-body",`
position: absolute;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
`,[dl()])]),z("spin-body",`
display: inline-flex;
align-items: center;
justify-content: center;
flex-direction: column;
`),z("spin",`
display: inline-flex;
height: var(--n-size);
width: var(--n-size);
font-size: var(--n-size);
color: var(--n-color);
`,[Z("rotate",`
animation: spin-rotate 2s linear infinite;
`)]),z("spin-description",`
display: inline-block;
font-size: var(--n-font-size);
color: var(--n-text-color);
transition: color .3s var(--n-bezier);
margin-top: 8px;
`),z("spin-content",`
opacity: 1;
transition: opacity .3s var(--n-bezier);
pointer-events: all;
`,[Z("spinning",`
user-select: none;
-webkit-user-select: none;
pointer-events: none;
opacity: var(--n-opacity-spinning);
`)])]),xZ={small:20,medium:18,large:16},CZ=Object.assign(Object.assign({},Be.props),{contentClass:String,contentStyle:[Object,String],description:String,stroke:String,size:{type:[String,Number],default:"medium"},show:{type:Boolean,default:!0},strokeWidth:Number,rotate:{type:Boolean,default:!0},spinning:{type:Boolean,validator:()=>!0,default:void 0},delay:Number}),wZ=be({name:"Spin",props:CZ,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Spin","-spin",yZ,BG,e,t),r=F(()=>{const{size:l}=e,{common:{cubicBezierEaseInOut:c},self:u}=o.value,{opacitySpinning:d,color:f,textColor:h}=u,p=typeof l=="number"?zn(l):u[Re("size",l)];return{"--n-bezier":c,"--n-opacity-spinning":d,"--n-size":p,"--n-color":f,"--n-text-color":h}}),i=n?Pt("spin",F(()=>{const{size:l}=e;return typeof l=="number"?String(l):l[0]}),r,e):void 0,a=Pu(e,["spinning","show"]),s=W(!1);return Xt(l=>{let c;if(a.value){const{delay:u}=e;if(u){c=window.setTimeout(()=>{s.value=!0},u),l(()=>{clearTimeout(c)});return}}s.value=a.value}),{mergedClsPrefix:t,active:s,mergedStrokeWidth:F(()=>{const{strokeWidth:l}=e;if(l!==void 0)return l;const{size:c}=e;return xZ[typeof c=="number"?"medium":c]}),cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e,t;const{$slots:n,mergedClsPrefix:o,description:r}=this,i=n.icon&&this.rotate,a=(r||n.description)&&v("div",{class:`${o}-spin-description`},r||((e=n.description)===null||e===void 0?void 0:e.call(n))),s=n.icon?v("div",{class:[`${o}-spin-body`,this.themeClass]},v("div",{class:[`${o}-spin`,i&&`${o}-spin--rotate`],style:n.default?"":this.cssVars},n.icon()),a):v("div",{class:[`${o}-spin-body`,this.themeClass]},v(ti,{clsPrefix:o,style:n.default?"":this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,class:`${o}-spin`}),a);return(t=this.onRender)===null||t===void 0||t.call(this),n.default?v("div",{class:[`${o}-spin-container`,this.themeClass],style:this.cssVars},v("div",{class:[`${o}-spin-content`,this.active&&`${o}-spin-content--spinning`,this.contentClass],style:this.contentStyle},n),v(fn,{name:"fade-in-transition"},{default:()=>this.active?s:null})):s}}),_Z={name:"Split",common:je},SZ=_Z,kZ=z("switch",`
height: var(--n-height);
min-width: var(--n-width);
vertical-align: middle;
user-select: none;
-webkit-user-select: none;
display: inline-flex;
outline: none;
justify-content: center;
align-items: center;
`,[V("children-placeholder",`
height: var(--n-rail-height);
display: flex;
flex-direction: column;
overflow: hidden;
pointer-events: none;
visibility: hidden;
`),V("rail-placeholder",`
display: flex;
flex-wrap: none;
`),V("button-placeholder",`
width: calc(1.75 * var(--n-rail-height));
height: var(--n-rail-height);
`),z("base-loading",`
position: absolute;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
font-size: calc(var(--n-button-width) - 4px);
color: var(--n-loading-color);
transition: color .3s var(--n-bezier);
`,[qn({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),V("checked, unchecked",`
transition: color .3s var(--n-bezier);
color: var(--n-text-color);
box-sizing: border-box;
position: absolute;
white-space: nowrap;
top: 0;
bottom: 0;
display: flex;
align-items: center;
line-height: 1;
`),V("checked",`
right: 0;
padding-right: calc(1.25 * var(--n-rail-height) - var(--n-offset));
`),V("unchecked",`
left: 0;
justify-content: flex-end;
padding-left: calc(1.25 * var(--n-rail-height) - var(--n-offset));
`),q("&:focus",[V("rail",`
box-shadow: var(--n-box-shadow-focus);
`)]),Z("round",[V("rail","border-radius: calc(var(--n-rail-height) / 2);",[V("button","border-radius: calc(var(--n-button-height) / 2);")])]),Rt("disabled",[Rt("icon",[Z("rubber-band",[Z("pressed",[V("rail",[V("button","max-width: var(--n-button-width-pressed);")])]),V("rail",[q("&:active",[V("button","max-width: var(--n-button-width-pressed);")])]),Z("active",[Z("pressed",[V("rail",[V("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),V("rail",[q("&:active",[V("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),Z("active",[V("rail",[V("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),V("rail",`
overflow: hidden;
height: var(--n-rail-height);
min-width: var(--n-rail-width);
border-radius: var(--n-rail-border-radius);
cursor: pointer;
position: relative;
transition:
opacity .3s var(--n-bezier),
background .3s var(--n-bezier),
box-shadow .3s var(--n-bezier);
background-color: var(--n-rail-color);
`,[V("button-icon",`
color: var(--n-icon-color);
transition: color .3s var(--n-bezier);
font-size: calc(var(--n-button-height) - 4px);
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
display: flex;
justify-content: center;
align-items: center;
line-height: 1;
`,[qn()]),V("button",`
align-items: center;
top: var(--n-offset);
left: var(--n-offset);
height: var(--n-button-height);
width: var(--n-button-width-pressed);
max-width: var(--n-button-width);
border-radius: var(--n-button-border-radius);
background-color: var(--n-button-color);
box-shadow: var(--n-button-box-shadow);
box-sizing: border-box;
cursor: inherit;
content: "";
position: absolute;
transition:
background-color .3s var(--n-bezier),
left .3s var(--n-bezier),
opacity .3s var(--n-bezier),
max-width .3s var(--n-bezier),
box-shadow .3s var(--n-bezier);
`)]),Z("active",[V("rail","background-color: var(--n-rail-color-active);")]),Z("loading",[V("rail",`
cursor: wait;
`)]),Z("disabled",[V("rail",`
cursor: not-allowed;
opacity: .5;
`)])]),PZ=Object.assign(Object.assign({},Be.props),{size:{type:String,default:"medium"},value:{type:[String,Number,Boolean],default:void 0},loading:Boolean,defaultValue:{type:[String,Number,Boolean],default:!1},disabled:{type:Boolean,default:void 0},round:{type:Boolean,default:!0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},railStyle:Function,rubberBand:{type:Boolean,default:!0},onChange:[Function,Array]});let ds;const TZ=be({name:"Switch",props:PZ,setup(e){ds===void 0&&(typeof CSS<"u"?typeof CSS.supports<"u"?ds=CSS.supports("width","max(1px)"):ds=!1:ds=!0);const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Be("Switch","-switch",kZ,QG,e,t),r=pr(e),{mergedSizeRef:i,mergedDisabledRef:a}=r,s=W(e.defaultValue),l=We(e,"value"),c=an(l,s),u=F(()=>c.value===e.checkedValue),d=W(!1),f=W(!1),h=F(()=>{const{railStyle:P}=e;if(P)return P({focused:f.value,checked:u.value})});function p(P){const{"onUpdate:value":k,onChange:T,onUpdateValue:E}=e,{nTriggerFormInput:R,nTriggerFormChange:K}=r;k&&$e(k,P),E&&$e(E,P),T&&$e(T,P),s.value=P,R(),K()}function g(){const{nTriggerFormFocus:P}=r;P()}function m(){const{nTriggerFormBlur:P}=r;P()}function b(){e.loading||a.value||(c.value!==e.checkedValue?p(e.checkedValue):p(e.uncheckedValue))}function _(){f.value=!0,g()}function C(){f.value=!1,m(),d.value=!1}function S(P){e.loading||a.value||P.key===" "&&(c.value!==e.checkedValue?p(e.checkedValue):p(e.uncheckedValue),d.value=!1)}function w(P){e.loading||a.value||P.key===" "&&(P.preventDefault(),d.value=!0)}const x=F(()=>{const{value:P}=i,{self:{opacityDisabled:k,railColor:T,railColorActive:E,buttonBoxShadow:R,buttonColor:K,boxShadowFocus:N,loadingColor:D,textColor:M,iconColor:G,[Re("buttonHeight",P)]:J,[Re("buttonWidth",P)]:he,[Re("buttonWidthPressed",P)]:pe,[Re("railHeight",P)]:B,[Re("railWidth",P)]:$,[Re("railBorderRadius",P)]:A,[Re("buttonBorderRadius",P)]:Y},common:{cubicBezierEaseInOut:ne}}=o.value;let fe,Q,xe;return ds?(fe=`calc((${B} - ${J}) / 2)`,Q=`max(${B}, ${J})`,xe=`max(${$}, calc(${$} + ${J} - ${B}))`):(fe=zn((bn(B)-bn(J))/2),Q=zn(Math.max(bn(B),bn(J))),xe=bn(B)>bn(J)?$:zn(bn($)+bn(J)-bn(B))),{"--n-bezier":ne,"--n-button-border-radius":Y,"--n-button-box-shadow":R,"--n-button-color":K,"--n-button-width":he,"--n-button-width-pressed":pe,"--n-button-height":J,"--n-height":Q,"--n-offset":fe,"--n-opacity-disabled":k,"--n-rail-border-radius":A,"--n-rail-color":T,"--n-rail-color-active":E,"--n-rail-height":B,"--n-rail-width":$,"--n-width":xe,"--n-box-shadow-focus":N,"--n-loading-color":D,"--n-text-color":M,"--n-icon-color":G}}),y=n?Pt("switch",F(()=>i.value[0]),x,e):void 0;return{handleClick:b,handleBlur:C,handleFocus:_,handleKeyup:S,handleKeydown:w,mergedRailStyle:h,pressed:d,mergedClsPrefix:t,mergedValue:c,checked:u,mergedDisabled:a,cssVars:n?void 0:x,themeClass:y==null?void 0:y.themeClass,onRender:y==null?void 0:y.onRender}},render(){const{mergedClsPrefix:e,mergedDisabled:t,checked:n,mergedRailStyle:o,onRender:r,$slots:i}=this;r==null||r();const{checked:a,unchecked:s,icon:l,"checked-icon":c,"unchecked-icon":u}=i,d=!(ga(l)&&ga(c)&&ga(u));return v("div",{role:"switch","aria-checked":n,class:[`${e}-switch`,this.themeClass,d&&`${e}-switch--icon`,n&&`${e}-switch--active`,t&&`${e}-switch--disabled`,this.round&&`${e}-switch--round`,this.loading&&`${e}-switch--loading`,this.pressed&&`${e}-switch--pressed`,this.rubberBand&&`${e}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},v("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:o},$t(a,f=>$t(s,h=>f||h?v("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},v("div",{class:`${e}-switch__rail-placeholder`},v("div",{class:`${e}-switch__button-placeholder`}),f),v("div",{class:`${e}-switch__rail-placeholder`},v("div",{class:`${e}-switch__button-placeholder`}),h)):null)),v("div",{class:`${e}-switch__button`},$t(l,f=>$t(c,h=>$t(u,p=>v(Ui,null,{default:()=>this.loading?v(ti,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(h||f)?v("div",{class:`${e}-switch__button-icon`,key:h?"checked-icon":"icon"},h||f):!this.checked&&(p||f)?v("div",{class:`${e}-switch__button-icon`,key:p?"unchecked-icon":"icon"},p||f):null})))),$t(a,f=>f&&v("div",{key:"checked",class:`${e}-switch__checked`},f)),$t(s,f=>f&&v("div",{key:"unchecked",class:`${e}-switch__unchecked`},f)))))}}),RZ=be({name:"InjectionExtractor",props:{onSetup:Function},setup(e,{slots:t}){var n;return(n=e.onSetup)===null||n===void 0||n.call(e),()=>{var o;return(o=t.default)===null||o===void 0?void 0:o.call(t)}}}),EZ={message:kX,notification:NX,loadingBar:sX,dialog:Lq,modal:$X};function $Z({providersAndProps:e,configProviderProps:t}){let n=wx(r);const o={app:n};function r(){return v(E2,we(t),{default:()=>e.map(({type:s,Provider:l,props:c})=>v(l,we(c),{default:()=>v(RZ,{onSetup:()=>o[s]=EZ[s]()})}))})}let i;return hr&&(i=document.createElement("div"),document.body.appendChild(i),n.mount(i)),Object.assign({unmount:()=>{var s;if(n===null||i===null){lr("discrete","unmount call no need because discrete app has been unmounted");return}n.unmount(),(s=i.parentNode)===null||s===void 0||s.removeChild(i),i=null,n=null}},o)}function AZ(e,{configProviderProps:t,messageProviderProps:n,dialogProviderProps:o,notificationProviderProps:r,loadingBarProviderProps:i,modalProviderProps:a}={}){const s=[];return e.forEach(c=>{switch(c){case"message":s.push({type:c,Provider:SX,props:n});break;case"notification":s.push({type:c,Provider:BX,props:r});break;case"dialog":s.push({type:c,Provider:Dq,props:o});break;case"loadingBar":s.push({type:c,Provider:aX,props:i});break;case"modal":s.push({type:c,Provider:EX,props:a})}}),$Z({providersAndProps:s,configProviderProps:t})}function IZ(){const e=Ue(Eo,null);return F(()=>{if(e===null)return xt;const{mergedThemeRef:{value:t},mergedThemeOverridesRef:{value:n}}=e,o=(t==null?void 0:t.common)||xt;return n!=null&&n.common?Object.assign({},o,n.common):o})}const OZ=()=>({}),MZ={name:"Equation",common:je,self:OZ},zZ=MZ,DZ={name:"FloatButtonGroup",common:je,self(e){const{popoverColor:t,dividerColor:n,borderRadius:o}=e;return{color:t,buttonBorderColor:n,borderRadiusSquare:o,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}}},LZ=DZ,QS={name:"dark",common:je,Alert:dj,Anchor:wj,AutoComplete:Fj,Avatar:p2,AvatarGroup:Vj,BackTop:Uj,Badge:eV,Breadcrumb:iV,Button:Wn,ButtonGroup:jK,Calendar:CV,Card:w2,Carousel:MV,Cascader:rW,Checkbox:Ga,Code:R2,Collapse:pW,CollapseTransition:vW,ColorPicker:SV,DataTable:tU,DatePicker:mq,Descriptions:yq,Dialog:pS,Divider:Hq,Drawer:Kq,Dropdown:Tm,DynamicInput:hK,DynamicTags:CK,Element:_K,Empty:Ki,Ellipsis:N2,Equation:zZ,Flex:PK,Form:$K,GradientText:WK,Icon:EU,IconWrapper:DY,Image:LY,Input:mo,InputNumber:qK,LegacyTransfer:eX,Layout:ZK,List:oG,LoadingBar:iG,Log:uG,Menu:vG,Mention:fG,Message:NK,Modal:Eq,Notification:zK,PageHeader:xG,Pagination:L2,Popconfirm:SG,Popover:Yi,Popselect:$2,Progress:IS,QrCode:XX,Radio:V2,Rate:EG,Result:MG,Row:AY,Scrollbar:Vn,Select:M2,Skeleton:pZ,Slider:LG,Space:kS,Spin:HG,Statistic:WG,Steps:GG,Switch:XG,Table:oY,Tabs:sY,Tag:r2,Thing:uY,TimePicker:dS,Timeline:hY,Tooltip:Lu,Transfer:gY,Tree:DS,TreeSelect:xY,Typography:SY,Upload:TY,Watermark:EY,Split:SZ,FloatButton:OY,FloatButtonGroup:LZ},FZ={"aria-hidden":"true",width:"1em",height:"1em"},BZ=["xlink:href","fill"],NZ=be({__name:"SvgIcon",props:{icon:{type:String,required:!0},prefix:{type:String,default:"icon-custom"},color:{type:String,default:"currentColor"}},setup(e){const t=e,n=F(()=>`#${t.prefix}-${t.icon}`);return(o,r)=>(me(),ze("svg",FZ,[U("use",{"xlink:href":n.value,fill:e.color},null,8,BZ)]))}}),tl=(e,t={size:12})=>()=>v(vr,t,()=>v(z6,{icon:e})),ek=(e,t={size:12})=>()=>v(vr,t,()=>v(NZ,{icon:e}));function HZ(){var n,o;const e={default:jZ,blue:VZ,black:WZ,darkblue:UZ},t=((o=(n=window.settings)==null?void 0:n.theme)==null?void 0:o.color)||"default";return Object.prototype.hasOwnProperty.call(e,t)?e[t]:e.default}const jZ={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#316C72FF",primaryColorHover:"#316C72E3",primaryColorPressed:"#2B4C59FF",primaryColorSuppl:"#316C72E3",infoColor:"#316C72FF",infoColorHover:"#316C72E3",infoColorPressed:"#2B4C59FF",infoColorSuppl:"#316C72E3",successColor:"#18A058FF",successColorHover:"#36AD6AFF",successColorPressed:"#0C7A43FF",successColorSuppl:"#36AD6AFF",warningColor:"#F0A020FF",warningColorHover:"#FCB040FF",warningColorPressed:"#C97C10FF",warningColorSuppl:"#FCB040FF",errorColor:"#D03050FF",errorColorHover:"#DE576DFF",errorColorPressed:"#AB1F3FFF",errorColorSuppl:"#DE576DFF"}}},VZ={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#0665d0",primaryColorHover:"#2a84de",primaryColorPressed:"#004085",primaryColorSuppl:"#0056b3",infoColor:"#0665d0",infoColorHover:"#2a84de",infoColorPressed:"#0c5460",infoColorSuppl:"#004085",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},WZ={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#343a40",primaryColorHover:"#23272b",primaryColorPressed:"#1d2124",primaryColorSuppl:"#23272b",infoColor:"#343a40",infoColorHover:"#23272b",infoColorPressed:"#1d2124",infoColorSuppl:"#23272b",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},UZ={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#004175",primaryColorHover:"#002c4c",primaryColorPressed:"#001f35",primaryColorSuppl:"#002c4c",infoColor:"#004175",infoColorHover:"#002c4c",infoColorPressed:"#001f35",infoColorSuppl:"#002c4c",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},{header:qZ,tags:uNe,naiveThemeOverrides:Vh}=HZ();function Vu(e){return Zh()?(gy(e),!0):!1}function ko(e){return typeof e=="function"?e():we(e)}const tk=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const KZ=e=>e!=null,GZ=Object.prototype.toString,YZ=e=>GZ.call(e)==="[object Object]",nk=()=>{};function XZ(e,t){function n(...o){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(r).catch(i)})}return n}const ok=e=>e();function ZZ(e=ok){const t=W(!0);function n(){t.value=!1}function o(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:co(t),pause:n,resume:o,eventFilter:r}}function JZ(e){return e||to()}function QZ(...e){if(e.length!==1)return We(...e);const t=e[0];return typeof t=="function"?co(J3(()=>({get:t,set:nk}))):W(t)}function eJ(e,t,n={}){const{eventFilter:o=ok,...r}=n;return ft(e,XZ(o,t),r)}function tJ(e,t,n={}){const{eventFilter:o,...r}=n,{eventFilter:i,pause:a,resume:s,isActive:l}=ZZ(o);return{stop:eJ(e,t,{...r,eventFilter:i}),pause:a,resume:s,isActive:l}}function rk(e,t=!0,n){JZ()?jt(e,n):t?e():Ht(e)}function nJ(e=!1,t={}){const{truthyValue:n=!0,falsyValue:o=!1}=t,r=cn(e),i=W(e);function a(s){if(arguments.length)return i.value=s,i.value;{const l=ko(n);return i.value=i.value===l?ko(o):l,i.value}}return r?a:[i,a]}function Ia(e){var t;const n=ko(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Wr=tk?window:void 0,oJ=tk?window.document:void 0;function Nc(...e){let t,n,o,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,r]=e,t=Wr):[t,n,o,r]=e,!t)return nk;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const i=[],a=()=>{i.forEach(u=>u()),i.length=0},s=(u,d,f,h)=>(u.addEventListener(d,f,h),()=>u.removeEventListener(d,f,h)),l=ft(()=>[Ia(t),ko(r)],([u,d])=>{if(a(),!u)return;const f=YZ(d)?{...d}:d;i.push(...n.flatMap(h=>o.map(p=>s(u,h,p,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),a()};return Vu(c),c}function rJ(){const e=W(!1),t=to();return t&&jt(()=>{e.value=!0},t),e}function Nm(e){const t=rJ();return F(()=>(t.value,!!e()))}function iJ(e,t,n={}){const{window:o=Wr,...r}=n;let i;const a=Nm(()=>o&&"MutationObserver"in o),s=()=>{i&&(i.disconnect(),i=void 0)},l=F(()=>{const f=ko(e),h=(Array.isArray(f)?f:[f]).map(Ia).filter(KZ);return new Set(h)}),c=ft(()=>l.value,f=>{s(),a.value&&f.size&&(i=new MutationObserver(t),f.forEach(h=>i.observe(h,r)))},{immediate:!0,flush:"post"}),u=()=>i==null?void 0:i.takeRecords(),d=()=>{s(),c()};return Vu(d),{isSupported:a,stop:d,takeRecords:u}}function aJ(e,t={}){const{window:n=Wr}=t,o=Nm(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=W(!1),a=c=>{i.value=c.matches},s=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",a):r.removeListener(a))},l=Xt(()=>{o.value&&(s(),r=n.matchMedia(ko(e)),"addEventListener"in r?r.addEventListener("change",a):r.addListener(a),i.value=r.matches)});return Vu(()=>{l(),s(),r=void 0}),i}const Gl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Yl="__vueuse_ssr_handlers__",sJ=lJ();function lJ(){return Yl in Gl||(Gl[Yl]=Gl[Yl]||{}),Gl[Yl]}function ik(e,t){return sJ[e]||t}function cJ(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const uJ={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},y1="vueuse-storage";function dJ(e,t,n,o={}){var r;const{flush:i="pre",deep:a=!0,listenToStorageChanges:s=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:d=Wr,eventFilter:f,onError:h=T=>{console.error(T)},initOnMounted:p}=o,g=(u?Oa:W)(typeof t=="function"?t():t);if(!n)try{n=ik("getDefaultStorage",()=>{var T;return(T=Wr)==null?void 0:T.localStorage})()}catch(T){h(T)}if(!n)return g;const m=ko(t),b=cJ(m),_=(r=o.serializer)!=null?r:uJ[b],{pause:C,resume:S}=tJ(g,()=>x(g.value),{flush:i,deep:a,eventFilter:f});d&&s&&rk(()=>{Nc(d,"storage",P),Nc(d,y1,k),p&&P()}),p||P();function w(T,E){d&&d.dispatchEvent(new CustomEvent(y1,{detail:{key:e,oldValue:T,newValue:E,storageArea:n}}))}function x(T){try{const E=n.getItem(e);if(T==null)w(E,null),n.removeItem(e);else{const R=_.write(T);E!==R&&(n.setItem(e,R),w(E,R))}}catch(E){h(E)}}function y(T){const E=T?T.newValue:n.getItem(e);if(E==null)return l&&m!=null&&n.setItem(e,_.write(m)),m;if(!T&&c){const R=_.read(E);return typeof c=="function"?c(R,m):b==="object"&&!Array.isArray(R)?{...m,...R}:R}else return typeof E!="string"?E:_.read(E)}function P(T){if(!(T&&T.storageArea!==n)){if(T&&T.key==null){g.value=m;return}if(!(T&&T.key!==e)){C();try{(T==null?void 0:T.newValue)!==_.write(g.value)&&(g.value=y(T))}catch(E){h(E)}finally{T?Ht(S):S()}}}}function k(T){P(T.detail)}return g}function ak(e){return aJ("(prefers-color-scheme: dark)",e)}function fJ(e={}){const{selector:t="html",attribute:n="class",initialValue:o="auto",window:r=Wr,storage:i,storageKey:a="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},f=ak({window:r}),h=F(()=>f.value?"dark":"light"),p=l||(a==null?QZ(o):dJ(a,o,i,{window:r,listenToStorageChanges:s})),g=F(()=>p.value==="auto"?h.value:p.value),m=ik("updateHTMLAttrs",(S,w,x)=>{const y=typeof S=="string"?r==null?void 0:r.document.querySelector(S):Ia(S);if(!y)return;let P;if(u){P=r.document.createElement("style");const k="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";P.appendChild(document.createTextNode(k)),r.document.head.appendChild(P)}if(w==="class"){const k=x.split(/\s/g);Object.values(d).flatMap(T=>(T||"").split(/\s/g)).filter(Boolean).forEach(T=>{k.includes(T)?y.classList.add(T):y.classList.remove(T)})}else y.setAttribute(w,x);u&&(r.getComputedStyle(P).opacity,document.head.removeChild(P))});function b(S){var w;m(t,n,(w=d[S])!=null?w:S)}function _(S){e.onChanged?e.onChanged(S,b):b(S)}ft(g,_,{flush:"post",immediate:!0}),rk(()=>_(g.value));const C=F({get(){return c?p.value:g.value},set(S){p.value=S}});try{return Object.assign(C,{store:p,system:h,state:g})}catch{return C}}function hJ(e,t,n={}){const{window:o=Wr,initialValue:r="",observe:i=!1}=n,a=W(r),s=F(()=>{var c;return Ia(t)||((c=o==null?void 0:o.document)==null?void 0:c.documentElement)});function l(){var c;const u=ko(e),d=ko(s);if(d&&o){const f=(c=o.getComputedStyle(d).getPropertyValue(u))==null?void 0:c.trim();a.value=f||r}}return i&&iJ(s,l,{attributeFilter:["style","class"],window:o}),ft([s,()=>ko(e)],l,{immediate:!0}),ft(a,c=>{var u;(u=s.value)!=null&&u.style&&s.value.style.setProperty(ko(e),c)}),a}function sk(e={}){const{valueDark:t="dark",valueLight:n="",window:o=Wr}=e,r=fJ({...e,onChanged:(s,l)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,s==="dark",l,s):l(s)},modes:{dark:t,light:n}}),i=F(()=>r.system?r.system.value:ak({window:o}).value?"dark":"light");return F({get(){return r.value==="dark"},set(s){const l=s?"dark":"light";i.value===l?r.value="auto":r.value=l}})}const x1=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function pJ(e,t={}){const{document:n=oJ,autoExit:o=!1}=t,r=F(()=>{var b;return(b=Ia(e))!=null?b:n==null?void 0:n.querySelector("html")}),i=W(!1),a=F(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(b=>n&&b in n||r.value&&b in r.value)),s=F(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(b=>n&&b in n||r.value&&b in r.value)),l=F(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(b=>n&&b in n||r.value&&b in r.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(b=>n&&b in n),u=Nm(()=>r.value&&n&&a.value!==void 0&&s.value!==void 0&&l.value!==void 0),d=()=>c?(n==null?void 0:n[c])===r.value:!1,f=()=>{if(l.value){if(n&&n[l.value]!=null)return n[l.value];{const b=r.value;if((b==null?void 0:b[l.value])!=null)return!!b[l.value]}}return!1};async function h(){if(!(!u.value||!i.value)){if(s.value)if((n==null?void 0:n[s.value])!=null)await n[s.value]();else{const b=r.value;(b==null?void 0:b[s.value])!=null&&await b[s.value]()}i.value=!1}}async function p(){if(!u.value||i.value)return;f()&&await h();const b=r.value;a.value&&(b==null?void 0:b[a.value])!=null&&(await b[a.value](),i.value=!0)}async function g(){await(i.value?h():p())}const m=()=>{const b=f();(!b||b&&d())&&(i.value=b)};return Nc(n,x1,m,!1),Nc(()=>Ia(r),x1,m,!1),o&&Vu(h),{isSupported:u,isFullscreen:i,enter:p,exit:h,toggle:g}}const Tn=cu("app",{state(){var e,t,n,o,r,i,a;return{collapsed:window.innerWidth<768,isDark:sk(),title:(e=window.settings)==null?void 0:e.title,assets_path:(t=window.settings)==null?void 0:t.assets_path,theme:(n=window.settings)==null?void 0:n.theme,version:(o=window.settings)==null?void 0:o.version,background_url:(r=window.settings)==null?void 0:r.background_url,description:(i=window.settings)==null?void 0:i.description,logo:(a=window.settings)==null?void 0:a.logo,lang:xu().value||"zh-CN",appConfig:{}}},actions:{async getConfig(){const{data:e}=await TJ();e&&(this.appConfig=e)},switchCollapsed(){this.collapsed=!this.collapsed},setCollapsed(e){this.collapsed=e},setDark(e){this.isDark=e},toggleDark(){this.isDark=!this.isDark},async switchLang(e){GC(e),location.reload()}}});function mJ(e){let t=null;class n{removeMessage(r=t,i=2e3){setTimeout(()=>{r&&(r.destroy(),r=null)},i)}showMessage(r,i,a={}){if(t&&t.type==="loading")t.type=r,t.content=i,r!=="loading"&&this.removeMessage(t,a.duration);else{const s=e[r](i,a);r==="loading"&&(t=s)}}loading(r){this.showMessage("loading",r,{duration:0})}success(r,i={}){this.showMessage("success",r,i)}error(r,i={}){this.showMessage("error",r,i)}info(r,i={}){this.showMessage("info",r,i)}warning(r,i={}){this.showMessage("warning",r,i)}}return new n}function gJ(e){return e.confirm=function(t={}){const n=!XC(t.title);return new Promise(o=>{e[t.type||"warning"]({showIcon:n,positiveText:mn.global.t("确定"),negativeText:mn.global.t("取消"),onPositiveClick:()=>{t.confirm&&t.confirm(),o(!0)},onNegativeClick:()=>{t.cancel&&t.cancel(),o(!1)},onMaskClick:()=>{t.cancel&&t.cancel(),o(!1)},...t})})},e}function vJ(){const e=Tn(),t=F(()=>({theme:e.isDark?QS:void 0,themeOverrides:Vh})),{message:n,dialog:o,notification:r,loadingBar:i}=AZ(["message","dialog","notification","loadingBar"],{configProviderProps:t});window.$loadingBar=i,window.$notification=r,window.$message=mJ(n),window.$dialog=gJ(o)}const bJ="access_token",yJ=6*60*60;function df(e){il.set(bJ,e,yJ)}function xJ(e){if(e.method==="get"&&(e.params={...e.params,t:new Date().getTime()}),mE(e))return e;const t=mC();return t.value?(e.headers.Authorization=e.headers.Authorization||t.value,e):(Pp(),Promise.reject({code:"-1",message:"未登录"}))}function CJ(e){return Promise.reject(e)}function wJ(e){return Promise.resolve((e==null?void 0:e.data)||{code:-1,message:"未知错误"})}function _J(e){var i;const t=((i=e.response)==null?void 0:i.data)||{code:-1,message:"未知错误"};let n=t.message;const{code:o,errors:r}=t;switch(o){case 401:n=n||"登录已过期";break;case 403:n=n||"没有权限";break;case 404:n=n||"资源或接口不存在";break;default:n=n||"未知异常"}return window.$message.error(n),Promise.resolve({code:o,message:n,errors:r})}function SJ(e={}){const t={headers:{"Content-Type":"application/x-www-form-urlencoded","Content-Language":xu().value||"zh-CN"},timeout:12e3},n=hE.create({...t,...e});return n.interceptors.request.use(xJ,CJ),n.interceptors.response.use(wJ,_J),n}const _t=SJ({baseURL:kJ()});function kJ(){let e=PJ(window.routerBase||"/")+"api/v1";return/^https?:\/\//.test(e)||(e=window.location.origin+e),e}function PJ(e){return e.endsWith("/")?e:"/"+e}function TJ(){return _t.get("/user/comm/config")}function RJ(){return _t.get("/user/info")}function EJ(){return _t.get("/user/getStat")}function $J(){return _t.get("/user/getSubscribe")}function AJ(){return _t.get("/user/notice/fetch")}function IJ(){return _t.get("/user/plan/fetch")}function lk(){return _t.get("/user/server/fetch")}function Hm(){return _t.get("/user/order/fetch")}function OJ(e){return _t.get("/user/order/detail?trade_no="+e)}function Wu(e){return _t.post("/user/order/cancel",{trade_no:e})}function MJ(e){return _t.get("/user/order/check?trade_no="+e)}function zJ(){return _t.get("/user/invite/fetch")}function DJ(e=1,t=10){return _t.get(`/user/invite/details?current=${e}&page_size=${t}`)}function LJ(){return _t.get("/user/invite/save")}function FJ(e){return _t.post("/user/transfer",{transfer_amount:e})}function BJ(e){return _t.post("/user/ticket/withdraw",e)}function C1(e){return _t.post("/user/update",e)}function NJ(e,t){return _t.post("/user/changePassword",{old_password:e,new_password:t})}function HJ(){return _t.get("/user/resetSecurity")}function jJ(){return _t.get("/user/stat/getTrafficLog")}function VJ(){return _t.get("/user/order/getPaymentMethod")}function ck(e,t,n){return _t.post("/user/order/save",{plan_id:e,period:t,coupon_code:n})}function WJ(e,t){return _t.post("/user/order/checkout",{trade_no:e,method:t})}function UJ(e){return _t.get("/user/plan/fetch?id="+e)}function qJ(e,t){return _t.post("/user/coupon/check",{code:e,plan_id:t})}function KJ(){return _t.get("/user/ticket/fetch")}function GJ(e,t,n){return _t.post("/user/ticket/save",{subject:e,level:t,message:n})}function YJ(e){return _t.post("/user/ticket/close",{id:e})}function XJ(e){return _t.get("/user/ticket/fetch?id="+e)}function ZJ(e,t){return _t.post("/user/ticket/reply",{id:e,message:t})}function JJ(e="",t="zh-CN"){return _t.get(`/user/knowledge/fetch?keyword=${e}&language=${t}`)}function QJ(e,t="zh-CN"){return _t.get(`/user/knowledge/fetch?id=${e}&language=${t}`)}function eQ(){return _t.get("user/telegram/getBotInfo")}const Ji=cu("user",{state:()=>({userInfo:{}}),getters:{userUUID(){var e;return(e=this.userInfo)==null?void 0:e.uuid},email(){var e;return(e=this.userInfo)==null?void 0:e.email},avatar(){return this.userInfo.avatar_url??""},role(){return[]},remind_expire(){return this.userInfo.remind_expire},remind_traffic(){return this.userInfo.remind_traffic},balance(){return this.userInfo.balance},plan_id(){return this.userInfo.plan_id},expired_at(){return this.userInfo.expired_at},plan(){return this.userInfo.plan},subscribe(){return this.userInfo.subscribe}},actions:{async getUserInfo(){try{const e=await RJ(),{data:t}=e;return t?(this.userInfo=t,t):Promise.reject(e)}catch(e){return Promise.reject(e)}},async getUserSubscribe(){try{const e=await $J(),{data:t}=e;return t?(this.userInfo.subscribe=t,this.userInfo.plan=t.plan,t):Promise.reject(e)}catch(e){return Promise.reject(e)}},async logout(){gC(),this.userInfo={},Pp()},setUserInfo(e){this.userInfo={...this.userInfo,...e}}}});function tQ(e,t){var o,r;if(!((o=e.meta)!=null&&o.requireAuth))return!0;const n=((r=e.meta)==null?void 0:r.role)||[];return!t.length||!n.length?!1:t.some(i=>n.includes(i))}function uk(e,t){const n=[];return e.forEach(o=>{if(tQ(o,t)){const r={...o,children:[]};o.children&&o.children.length?r.children=uk(o.children,t):Reflect.deleteProperty(r,"children"),n.push(r)}}),n}const dk=cu("permission",{state(){return{accessRoutes:[]}},getters:{routes(){return zx.concat(JSON.parse(JSON.stringify(this.accessRoutes)))},menus(){return this.routes.filter(e=>{var t;return e.name&&!((t=e.meta)!=null&&t.isHidden)})}},actions:{generateRoutes(e){const t=uk(Dx,e);return this.accessRoutes=t,t}}}),nQ=wc.get("activeTag"),oQ=wc.get("tags"),rQ=["/404","/login"],iQ=cu({id:"tag",state:()=>{const e=W(oQ.value),t=W(nQ.value),n=W(!1);return{tags:e,activeTag:t,reloading:n}},getters:{activeIndex:e=>()=>e.tags.findIndex(t=>t.path===e.activeTag)},actions:{setActiveTag(e){this.activeTag=e,wc.set("activeTag",e)},setTags(e){this.tags=e,wc.set("tags",e)},addTag(e={}){if(rQ.includes(e.path))return;let t=this.tags.find(n=>n.path===e.path);t?t=e:this.setTags([...this.tags,e]),this.setActiveTag(e.path)},async reloadTag(e,t){let n=this.tags.find(o=>o.path===e);n?t&&(n.keepAlive=!1):(n={path:e,keepAlive:!1},this.tags.push(n)),window.$loadingBar.start(),this.reloading=!0,await Ht(),this.reloading=!1,n.keepAlive=t,setTimeout(()=>{document.documentElement.scrollTo({left:0,top:0}),window.$loadingBar.finish()},100)},removeTag(e){this.setTags(this.tags.filter(t=>t.path!==e)),e===this.activeTag&&Gt.push(this.tags[this.tags.length-1].path)},removeOther(e){e||(e=this.activeTag),e||this.setTags(this.tags.filter(t=>t.path===e)),e!==this.activeTag&&Gt.push(this.tags[this.tags.length-1].path)},removeLeft(e){const t=this.tags.findIndex(o=>o.path===e),n=this.tags.filter((o,r)=>r>=t);this.setTags(n),n.find(o=>o.path===this.activeTag)||Gt.push(n[n.length-1].path)},removeRight(e){const t=this.tags.findIndex(o=>o.path===e),n=this.tags.filter((o,r)=>r<=t);this.setTags(n),n.find(o=>o.path===this.activeTag)||Gt.push(n[n.length-1].path)},resetTags(){this.setTags([]),this.setActiveTag("")}}});function aQ(e){e.use($5())}const sQ=["/login","/register","/forgetpassword"];function lQ(e){const t=Ji(),n=dk();e.beforeEach(async(o,r,i)=>{var s;mC().value?o.path==="/login"?i({path:((s=o.query.redirect)==null?void 0:s.toString())??"/dashboard"}):t.userUUID?i():(await Promise.all([Tn().getConfig(),t.getUserInfo().catch(c=>{gC(),Pp(),window.$message.error(c.message||"获取用户信息失败!")})]),n.generateRoutes(t.role).forEach(c=>{c.name&&!e.hasRoute(c.name)&&e.addRoute(c)}),e.addRoute(P5),i({...o,replace:!0})):sQ.includes(o.path)?i():i({path:"/login"})})}function cQ(e){T5(e),lQ(e),R5(e)}const Gt=YT({history:_T("/"),routes:zx,scrollBehavior:()=>({left:0,top:0})});function uQ(e){e.use(Gt),cQ(Gt)}const dQ=be({__name:"AppProvider",setup(e){const t=Tn(),n={"zh-CN":[zF,z0],"en-US":[B_,H_],"fa-IR":[qF,RN],"ko-KR":[jF,NB],"vi-VN":[WF,PN],"zh-TW":[LF,z0],"ja-JP":[NF,nB]};function o(){const r=Vh.common;for(const i in r)hJ(`--${TF(i)}`,document.documentElement).value=r[i]||"",i==="primaryColor"&&window.localStorage.setItem("__THEME_COLOR__",r[i]||"")}return o(),(r,i)=>{const a=E2;return me(),qe(a,{"wh-full":"",locale:n[we(t).lang][0],"date-locale":n[we(t).lang][1],theme:we(t).isDark?we(QS):void 0,"theme-overrides":we(Vh)},{default:ue(()=>[tu(r.$slots,"default")]),_:3},8,["locale","date-locale","theme","theme-overrides"])}}}),fQ=be({__name:"App",setup(e){const t=Ji();return Xt(()=>{const{balance:o,plan:r,expired_at:i,subscribe:a,email:s}=t;if(window.$crisp&&s){const l=[["Balance",(o/100).toString()],...r!=null&&r.name?[["Plan",r.name]]:[],["ExpireTime",Wo(i)],["UsedTraffic",Ps(((a==null?void 0:a.u)||0)+((a==null?void 0:a.d)||0))],["AllTraffic",Ps(a==null?void 0:a.transfer_enable)]];window.$crisp.push(["set","user:email",s]),window.$crisp.push(["set","session:data",[l]])}}),(o,r)=>{const i=Qc("router-view");return me(),qe(dQ,null,{default:ue(()=>[ie(i,null,{default:ue(({Component:a})=>[(me(),qe(eu(a)))]),_:1})]),_:1})}}}),Uu=wx(fQ);aQ(Uu);vJ();uQ(Uu);RA(Uu);Uu.mount("#app");const hQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},pQ=U("path",{fill:"currentColor",d:"M6.225 4.811a1 1 0 0 0-1.414 1.414L10.586 12L4.81 17.775a1 1 0 1 0 1.414 1.414L12 13.414l5.775 5.775a1 1 0 0 0 1.414-1.414L13.414 12l5.775-5.775a1 1 0 0 0-1.414-1.414L12 10.586z"},null,-1),mQ=[pQ];function gQ(e,t){return me(),ze("svg",hQ,[...mQ])}const fk={name:"gg-close",render:gQ},vQ={"h-60":"","f-c-c":""},bQ=["src"],yQ=be({__name:"SideLogo",setup(e){const t=Tn();return(n,o)=>{const r=fk,i=zt;return me(),ze("div",vQ,[we(t).logo?(me(),ze("img",{key:0,src:we(t).logo,height:"30"},null,8,bQ)):pt("",!0),dn(U("h2",{"ml-10":"","max-w-140":"","flex-shrink-0":"","text-16":"","font-bold":"","color-primary":""},se(we(t).title),513),[[Mn,!we(t).collapsed]]),ie(i,{onClick:[o[0]||(o[0]=NP(()=>{},["stop"])),we(t).switchCollapsed],class:"absolute right-15 h-auto p-0 md:hidden",tertiary:"",size:"medium"},{icon:ue(()=>[ie(r,{class:"cursor-pointer opacity-85"})]),_:1},8,["onClick"])])}}}),xQ=be({__name:"SideMenu",setup(e){const t=Tn(),n=p=>mn.global.t(p);function o(){window.innerWidth<=950&&(t.collapsed=!0)}const r=Mx(),i=Da(),a=dk(),s=F(()=>{var p;return((p=i.meta)==null?void 0:p.activeMenu)||i.name}),l=F(()=>a.menus.reduce((m,b)=>{var C,S,w,x;const _=d(b);if((S=(C=_.meta)==null?void 0:C.group)!=null&&S.key){const y=_.meta.group.key,P=m.findIndex(k=>k.key===y);if(P!==-1)(w=m[P].children)==null||w.push(_),m[P].children=(x=m[P].children)==null?void 0:x.sort((k,T)=>k.order-T.order);else{const k={type:"group",label:n(_.meta.group.label||""),key:y,children:[_]};m.push(k)}}else m.push(_);return m.sort((y,P)=>y.order-P.order)},[]).sort((m,b)=>m.type==="group"&&b.type!=="group"?1:m.type!=="group"&&b.type==="group"?-1:m.order-b.order));function c(p,g){return nb(g)?g:"/"+[p,g].filter(m=>!!m&&m!=="/").map(m=>m.replace(/(^\/)|(\/$)/g,"")).join("/")}function u(p,g){var b;const m=((b=p.children)==null?void 0:b.filter(_=>{var C;return _.name&&!((C=_.meta)!=null&&C.isHidden)}))||[];return m.length===1?d(m[0],g):m.length>1?{children:m.map(_=>d(_,g)).sort((_,C)=>_.order-C.order)}:null}function d(p,g=""){const{title:m,order:b}=p.meta||{title:"",order:0},{name:_,path:C}=p,S=m||_||"",w=_||"",x=f(p.meta),y=b||0,P=p.meta;let k={label:n(S),key:w,path:c(g,C),icon:x!==null?x:void 0,meta:P,order:y};const T=u(p,k.path);return T&&(k={...k,...T}),k}function f(p){return p!=null&&p.customIcon?ek(p.customIcon,{size:18}):p!=null&&p.icon?tl(p.icon,{size:18}):null}function h(p,g){nb(g.path)?window.open(g.path):r.push(g.path)}return(p,g)=>{const m=vX;return me(),qe(m,{ref:"menu",class:"side-menu",accordion:"","root-indent":18,indent:0,"collapsed-icon-size":22,"collapsed-width":60,options:l.value,value:s.value,"onUpdate:value":h,onClick:g[0]||(g[0]=b=>o())},null,8,["options","value"])}}}),w1=be({__name:"index",setup(e){return(t,n)=>(me(),ze(it,null,[ie(yQ),ie(xQ)],64))}}),CQ=be({__name:"AppMain",setup(e){const t=iQ();return(n,o)=>{const r=Qc("router-view");return me(),qe(r,null,{default:ue(({Component:i,route:a})=>[we(t).reloading?pt("",!0):(me(),qe(eu(i),{key:a.fullPath}))]),_:1})}}}),wQ=be({__name:"BreadCrumb",setup(e){const t=Da();function n(o){return o!=null&&o.customIcon?ek(o.customIcon,{size:18}):o!=null&&o.icon?tl(o.icon,{size:18}):null}return(o,r)=>{const i=dV,a=lV;return me(),qe(a,null,{default:ue(()=>[(me(!0),ze(it,null,Hn(we(t).matched.filter(s=>{var l;return!!((l=s.meta)!=null&&l.title)}),s=>(me(),qe(i,{key:s.path},{default:ue(()=>[(me(),qe(eu(n(s.meta)))),nt(" "+se(o.$t(s.meta.title)),1)]),_:2},1024))),128))]),_:1})}}}),_Q={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},SQ=U("path",{fill:"currentColor",d:"M11 13h10v-2H11m0-2h10V7H11M3 3v2h18V3M3 21h18v-2H3m0-7l4 4V8m4 9h10v-2H11z"},null,-1),kQ=[SQ];function PQ(e,t){return me(),ze("svg",_Q,[...kQ])}const TQ={name:"mdi-format-indent-decrease",render:PQ},RQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},EQ=U("path",{fill:"currentColor",d:"M11 13h10v-2H11m0-2h10V7H11M3 3v2h18V3M11 17h10v-2H11M3 8v8l4-4m-4 9h18v-2H3z"},null,-1),$Q=[EQ];function AQ(e,t){return me(),ze("svg",RQ,[...$Q])}const IQ={name:"mdi-format-indent-increase",render:AQ},OQ=be({__name:"MenuCollapse",setup(e){const t=Tn();return(n,o)=>{const r=IQ,i=TQ,a=vr;return me(),qe(a,{size:"20","cursor-pointer":"",onClick:we(t).switchCollapsed},{default:ue(()=>[we(t).collapsed?(me(),qe(r,{key:0})):(me(),qe(i,{key:1}))]),_:1},8,["onClick"])}}}),MQ={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},zQ=U("path",{fill:"currentColor",d:"m290 236.4l43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6l43.7 43.7a8.01 8.01 0 0 0 13.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 0 0 0 11.3zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9zm-463.7-94.6a8.03 8.03 0 0 0-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6L423.7 654c3.1-3.1 3.1-8.2 0-11.3z"},null,-1),DQ=[zQ];function LQ(e,t){return me(),ze("svg",MQ,[...DQ])}const FQ={name:"ant-design-fullscreen-outlined",render:LQ},BQ={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},NQ=U("path",{fill:"currentColor",d:"M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 0 0 0 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 0 0 391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8m221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6L877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 0 0-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9M744 690.4l43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3z"},null,-1),HQ=[NQ];function jQ(e,t){return me(),ze("svg",BQ,[...HQ])}const VQ={name:"ant-design-fullscreen-exit-outlined",render:jQ},WQ=be({__name:"FullScreen",setup(e){const{isFullscreen:t,toggle:n}=pJ();return(o,r)=>{const i=VQ,a=FQ,s=vr;return me(),qe(s,{mr20:"",size:"18",style:{cursor:"pointer"},onClick:we(n)},{default:ue(()=>[we(t)?(me(),qe(i,{key:0})):(me(),qe(a,{key:1}))]),_:1},8,["onClick"])}}}),UQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},qQ=U("path",{fill:"currentColor",d:"M15.88 9.29L12 13.17L8.12 9.29a.996.996 0 1 0-1.41 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 0 0-1.41c-.39-.38-1.03-.39-1.42 0"},null,-1),KQ=[qQ];function GQ(e,t){return me(),ze("svg",UQ,[...KQ])}const YQ={name:"ic-round-expand-more",render:GQ},XQ={class:"inline-block",viewBox:"0 0 32 32",width:"1em",height:"1em"},ZQ=U("path",{fill:"none",d:"M8.007 24.93A4.996 4.996 0 0 1 13 20h6a4.996 4.996 0 0 1 4.993 4.93a11.94 11.94 0 0 1-15.986 0M20.5 12.5A4.5 4.5 0 1 1 16 8a4.5 4.5 0 0 1 4.5 4.5"},null,-1),JQ=U("path",{fill:"currentColor",d:"M26.749 24.93A13.99 13.99 0 1 0 2 16a13.9 13.9 0 0 0 3.251 8.93l-.02.017c.07.084.15.156.222.239c.09.103.187.2.28.3q.418.457.87.87q.14.124.28.242q.48.415.99.782c.044.03.084.069.128.1v-.012a13.9 13.9 0 0 0 16 0v.012c.044-.031.083-.07.128-.1q.51-.368.99-.782q.14-.119.28-.242q.451-.413.87-.87c.093-.1.189-.197.28-.3c.071-.083.152-.155.222-.24ZM16 8a4.5 4.5 0 1 1-4.5 4.5A4.5 4.5 0 0 1 16 8M8.007 24.93A4.996 4.996 0 0 1 13 20h6a4.996 4.996 0 0 1 4.993 4.93a11.94 11.94 0 0 1-15.986 0"},null,-1),QQ=[ZQ,JQ];function eee(e,t){return me(),ze("svg",XQ,[...QQ])}const tee={name:"carbon-user-avatar-filled",render:eee},nee={class:"hidden md:block"},oee=be({__name:"UserAvatar",setup(e){const t=Ji(),n=i=>mn.global.t(i),o=[{label:n("个人中心"),key:"profile",icon:tl("mdi-account-outline",{size:14})},{label:n("登出"),key:"logout",icon:tl("mdi:exit-to-app",{size:14})}];function r(i){i==="logout"&&window.$dialog.confirm({title:n("提示"),type:"info",content:n("确认退出?"),confirm(){t.logout(),window.$message.success(n("已退出登录"))}}),i==="profile"&&Gt.push("/profile")}return(i,a)=>{const s=tee,l=YQ,c=zt,u=$m;return me(),qe(u,{options:o,onSelect:r},{default:ue(()=>[ie(c,{text:"",flex:"","cursor-pointer":"","items-center":""},{default:ue(()=>[ie(s,{class:"mr-0 h-20 w-20 rounded-full md:mr10 md:h-30 md:w-30"}),ie(l,{class:"h-20 w-20 md:hidden"}),U("span",nee,se(we(t).email),1)]),_:1})]),_:1})}}}),ree={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},iee=U("path",{fill:"currentColor",d:"M11.4 18.4H.9a.9.9 0 0 1-.9-.9V7.3a.9.9 0 0 1 .9-.9h10.5zm-4.525-2.72c.058.187.229.32.431.32h.854a.45.45 0 0 0 .425-.597l.001.003l-2.15-6.34a.45.45 0 0 0-.426-.306H4.791a.45.45 0 0 0-.425.302l-.001.003l-2.154 6.34a.45.45 0 0 0 .426.596h.856a.45.45 0 0 0 .431-.323l.001-.003l.342-1.193h2.258l.351 1.195zM5.41 10.414s.16.79.294 1.245l.406 1.408H4.68l.415-1.408c.131-.455.294-1.245.294-1.245zM23.1 18.4H12.6v-12h10.5a.9.9 0 0 1 .9.9v10.2a.9.9 0 0 1-.9.9m-1.35-8.55h-2.4v-.601a.45.45 0 0 0-.45-.45h-.601a.45.45 0 0 0-.45.45v.601h-2.4a.45.45 0 0 0-.45.45v.602c0 .248.201.45.45.45h4.281a5.9 5.9 0 0 1-1.126 1.621l.001-.001a7 7 0 0 1-.637-.764l-.014-.021a.45.45 0 0 0-.602-.129l.002-.001l-.273.16l-.24.146a.45.45 0 0 0-.139.642l-.001-.001c.253.359.511.674.791.969l-.004-.004c-.28.216-.599.438-.929.645l-.05.029a.45.45 0 0 0-.159.61l-.001-.002l.298.52a.45.45 0 0 0 .628.159l-.002.001c.507-.312.94-.619 1.353-.95l-.026.02c.387.313.82.62 1.272.901l.055.032a.45.45 0 0 0 .626-.158l.001-.002l.298-.52a.45.45 0 0 0-.153-.605l-.002-.001a12 12 0 0 1-1.004-.696l.027.02a6.7 6.7 0 0 0 1.586-2.572l.014-.047h.43a.45.45 0 0 0 .45-.45v-.602a.45.45 0 0 0-.45-.447h-.001z"},null,-1),aee=[iee];function see(e,t){return me(),ze("svg",ree,[...aee])}const lee={name:"fontisto-language",render:see},cee=be({__name:"SwitchLang",setup(e){const t=Tn();return(n,o)=>{const r=lee,i=zt,a=_m;return me(),qe(a,{value:we(t).lang,"onUpdate:value":o[0]||(o[0]=s=>we(t).lang=s),options:Object.entries(we(sh)).map(([s,l])=>({label:l,value:s})),trigger:"click","on-update:value":we(t).switchLang},{default:ue(()=>[ie(i,{text:"","icon-placement":"left",class:"mr-20"},{icon:ue(()=>[ie(r)]),_:1})]),_:1},8,["value","options","on-update:value"])}}}),uee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},dee=U("path",{fill:"currentColor",d:"m3.55 19.09l1.41 1.41l1.8-1.79l-1.42-1.42M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6s6-2.69 6-6c0-3.32-2.69-6-6-6m8 7h3v-2h-3m-2.76 7.71l1.8 1.79l1.41-1.41l-1.79-1.8M20.45 5l-1.41-1.4l-1.8 1.79l1.42 1.42M13 1h-2v3h2M6.76 5.39L4.96 3.6L3.55 5l1.79 1.81zM1 13h3v-2H1m12 9h-2v3h2"},null,-1),fee=[dee];function hee(e,t){return me(),ze("svg",uee,[...fee])}const pee={name:"mdi-white-balance-sunny",render:hee},mee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},gee=U("path",{fill:"currentColor",d:"M2 12a10 10 0 0 0 13 9.54a10 10 0 0 1 0-19.08A10 10 0 0 0 2 12"},null,-1),vee=[gee];function bee(e,t){return me(),ze("svg",mee,[...vee])}const yee={name:"mdi-moon-waning-crescent",render:bee},xee=be({__name:"ThemeMode",setup(e){const t=Tn(),n=sk(),o=()=>{t.toggleDark(),nJ(n)()};return(r,i)=>{const a=yee,s=pee,l=vr;return me(),qe(l,{"mr-20":"","cursor-pointer":"",size:"18",onClick:o},{default:ue(()=>[we(n)?(me(),qe(a,{key:0})):(me(),qe(s,{key:1}))]),_:1})}}}),Cee={flex:"","items-center":""},wee={"ml-auto":"",flex:"","items-center":""},_ee=be({__name:"index",setup(e){return(t,n)=>(me(),ze(it,null,[U("div",Cee,[ie(OQ),ie(wQ)]),U("div",wee,[ie(xee),ie(cee),ie(WQ),ie(oee)])],64))}}),See={"flex-col":"","flex-1":"","overflow-hidden":""},kee={"flex-1":"","overflow-hidden":"","bg-hex-f5f6fb":"","dark:bg-hex-101014":""},Pee=be({__name:"index",setup(e){const t=Tn();function n(a){t.collapsed=a}const o=F({get:()=>r.value&&!t.collapsed,set:a=>t.collapsed=!a}),r=W(!1),i=()=>{document.body.clientWidth<=950?(r.value=!0,t.collapsed=!0):(t.collapsed=!1,r.value=!1)};return jt(()=>{window.addEventListener("resize",i),i()}),(a,s)=>{const l=ZY,c=_S,u=qY;return me(),qe(u,{"has-sider":"","wh-full":""},{default:ue(()=>[dn(ie(l,{bordered:"","collapse-mode":"transform","collapsed-width":0,width:220,"native-scrollbar":!1,collapsed:we(t).collapsed,"on-update:collapsed":n},{default:ue(()=>[ie(w1)]),_:1},8,["collapsed"]),[[Mn,!o.value]]),ie(c,{show:o.value,"onUpdate:show":s[0]||(s[0]=d=>o.value=d),width:220,placement:"left"},{default:ue(()=>[ie(l,{bordered:"","collapse-mode":"transform","collapsed-width":0,width:220,"native-scrollbar":!1,collapsed:we(t).collapsed,"on-update:collapsed":n},{default:ue(()=>[ie(w1)]),_:1},8,["collapsed"])]),_:1},8,["show"]),U("article",See,[U("header",{class:"flex items-center bg-white px-15",dark:"bg-dark border-0",style:Di(`height: ${we(qZ).height}px`)},[ie(_ee)],4),U("section",kee,[ie(CQ)])])]),_:1})}}}),br=Object.freeze(Object.defineProperty({__proto__:null,default:Pee},Symbol.toStringTag,{value:"Module"})),qu=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Tee={},Ree={"f-c-c":"","flex-col":"","text-14":"",color:"#6a6a6a"},Eee=U("p",null,[nt(" Copyright © 2022-present "),U("a",{href:"https://github.com/zclzone",target:"__blank",hover:"decoration-underline color-primary"}," Ronnie Zhang ")],-1),$ee=U("p",null,null,-1),Aee=[Eee,$ee];function Iee(e,t){return me(),ze("footer",Ree,Aee)}const Oee=qu(Tee,[["render",Iee]]),Mee={class:"cus-scroll-y wh-full flex-col bg-[#f5f6fb] p-5 dark:bg-hex-121212 md:p-15"},vo=be({__name:"AppPage",props:{showFooter:{type:Boolean,default:!1}},setup(e){return(t,n)=>{const o=Oee,r=Jj;return me(),qe(fn,{name:"fade-slide",mode:"out-in",appear:""},{default:ue(()=>[U("section",Mee,[tu(t.$slots,"default"),e.showFooter?(me(),qe(o,{key:0,"mt-15":""})):pt("",!0),ie(r,{bottom:20,class:"z-99999"})])]),_:3})}}}),zee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},Dee=U("path",{fill:"currentColor",d:"M20 2H4c-.53 0-1.04.21-1.41.59C2.21 2.96 2 3.47 2 4v12c0 .53.21 1.04.59 1.41c.37.38.88.59 1.41.59h4l4 4l4-4h4c.53 0 1.04-.21 1.41-.59S22 16.53 22 16V4c0-.53-.21-1.04-.59-1.41C21.04 2.21 20.53 2 20 2M4 16V4h16v12h-4.83L12 19.17L8.83 16m1.22-9.96c.54-.36 1.25-.54 2.14-.54c.94 0 1.69.21 2.23.62q.81.63.81 1.68c0 .44-.15.83-.44 1.2c-.29.36-.67.64-1.13.85c-.26.15-.43.3-.52.47c-.09.18-.14.4-.14.68h-2c0-.5.1-.84.29-1.08c.21-.24.55-.52 1.07-.84c.26-.14.47-.32.64-.54c.14-.21.22-.46.22-.74c0-.3-.09-.52-.27-.69c-.18-.18-.45-.26-.76-.26c-.27 0-.49.07-.69.21c-.16.14-.26.35-.26.63H9.27c-.05-.69.23-1.29.78-1.65M11 14v-2h2v2Z"},null,-1),Lee=[Dee];function Fee(e,t){return me(),ze("svg",zee,[...Lee])}const Bee={name:"mdi-tooltip-question-outline",render:Fee},Nee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},Hee=U("path",{fill:"currentColor",d:"M12 20a8 8 0 0 0 8-8a8 8 0 0 0-8-8a8 8 0 0 0-8 8a8 8 0 0 0 8 8m0-18a10 10 0 0 1 10 10a10 10 0 0 1-10 10C6.47 22 2 17.5 2 12A10 10 0 0 1 12 2m.5 5v5.25l4.5 2.67l-.75 1.23L11 13V7z"},null,-1),jee=[Hee];function Vee(e,t){return me(),ze("svg",Nee,[...jee])}const Wee={name:"mdi-clock-outline",render:Vee},Uee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},qee=U("path",{fill:"currentColor",d:"M6.18 15.64a2.18 2.18 0 0 1 2.18 2.18C8.36 19 7.38 20 6.18 20C5 20 4 19 4 17.82a2.18 2.18 0 0 1 2.18-2.18M4 4.44A15.56 15.56 0 0 1 19.56 20h-2.83A12.73 12.73 0 0 0 4 7.27zm0 5.66a9.9 9.9 0 0 1 9.9 9.9h-2.83A7.07 7.07 0 0 0 4 12.93z"},null,-1),Kee=[qee];function Gee(e,t){return me(),ze("svg",Uee,[...Kee])}const Yee={name:"mdi-rss",render:Gee},Xee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},Zee=U("path",{fill:"currentColor",d:"M12 21.5c-1.35-.85-3.8-1.5-5.5-1.5c-1.65 0-3.35.3-4.75 1.05c-.1.05-.15.05-.25.05c-.25 0-.5-.25-.5-.5V6c.6-.45 1.25-.75 2-1c1.11-.35 2.33-.5 3.5-.5c1.95 0 4.05.4 5.5 1.5c1.45-1.1 3.55-1.5 5.5-1.5c1.17 0 2.39.15 3.5.5c.75.25 1.4.55 2 1v14.6c0 .25-.25.5-.5.5c-.1 0-.15 0-.25-.05c-1.4-.75-3.1-1.05-4.75-1.05c-1.7 0-4.15.65-5.5 1.5M12 8v11.5c1.35-.85 3.8-1.5 5.5-1.5c1.2 0 2.4.15 3.5.5V7c-1.1-.35-2.3-.5-3.5-.5c-1.7 0-4.15.65-5.5 1.5m1 3.5c1.11-.68 2.6-1 4.5-1c.91 0 1.76.09 2.5.28V9.23c-.87-.15-1.71-.23-2.5-.23q-2.655 0-4.5.84zm4.5.17c-1.71 0-3.21.26-4.5.79v1.69c1.11-.65 2.6-.99 4.5-.99c1.04 0 1.88.08 2.5.24v-1.5c-.87-.16-1.71-.23-2.5-.23m2.5 2.9c-.87-.16-1.71-.24-2.5-.24c-1.83 0-3.33.27-4.5.8v1.69c1.11-.66 2.6-.99 4.5-.99c1.04 0 1.88.08 2.5.24z"},null,-1),Jee=[Zee];function Qee(e,t){return me(),ze("svg",Xee,[...Jee])}const ete={name:"mdi-book-open-variant",render:Qee},tte={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},nte=U("g",{fill:"none"},[U("path",{d:"m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),U("path",{fill:"currentColor",d:"M10.5 20a1.5 1.5 0 0 0 3 0v-6.5H20a1.5 1.5 0 0 0 0-3h-6.5V4a1.5 1.5 0 0 0-3 0v6.5H4a1.5 1.5 0 0 0 0 3h6.5z"})],-1),ote=[nte];function rte(e,t){return me(),ze("svg",tte,[...ote])}const ite={name:"mingcute-add-fill",render:rte},ate={class:"inline-block",viewBox:"0 0 1200 1200",width:"1em",height:"1em"},ste=U("path",{fill:"currentColor",d:"M0 0v545.312h545.312V0zm654.688 0v545.312H1200V0zM108.594 108.594h328.125v328.125H108.594zm654.687 0h328.125v328.125H763.281zM217.969 219.531v108.594h110.156V219.531zm653.906 0v108.594h108.594V219.531zM0 654.688V1200h545.312V654.688zm654.688 0V1200h108.595V873.438h108.594v108.595H1200V654.688h-108.594v108.595H980.469V654.688zM108.594 763.281h328.125v328.125H108.594zm109.375 108.594v110.156h110.156V871.875zm653.906 219.531V1200h108.594v-108.594zm219.531 0V1200H1200v-108.594z"},null,-1),lte=[ste];function cte(e,t){return me(),ze("svg",ate,[...lte])}const ute={name:"el-qrcode",render:cte},dte={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},fte=U("path",{fill:"currentColor",d:"M5.503 4.627L5.5 6.75v10.504a3.25 3.25 0 0 0 3.25 3.25h8.616a2.25 2.25 0 0 1-2.122 1.5H8.75A4.75 4.75 0 0 1 4 17.254V6.75c0-.98.627-1.815 1.503-2.123M17.75 2A2.25 2.25 0 0 1 20 4.25v13a2.25 2.25 0 0 1-2.25 2.25h-9a2.25 2.25 0 0 1-2.25-2.25v-13A2.25 2.25 0 0 1 8.75 2z"},null,-1),hte=[fte];function pte(e,t){return me(),ze("svg",dte,[...hte])}const mte={name:"fluent-copy24-filled",render:pte},gte="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAIAAAAiOjnJAAAON0lEQVR4nOydX2xT5f/Hn7M11A1lAqNmTQ1CS9QiZqbTSMwqetF6IwiJBRPwhkBi5EKyGLNyxcUk7sLtxkXjBRrNUHGikZiVSIKtMYGxaIo0TlcHsesCbVbJBqNs7X7xd/Y9bF3HnvY8/87zfF4XJmDPed7n87z5PKfnc55PbbOzswhYxIULF5555hneKixMDW8BgvLVV1/xlmBtNMhYiykWi+vXr//nn394C7EwkLHK8Msvv6RSKd4qrA0YqwxffvklbwmWB5bCUmZmZlwu17Vr1yAyZoCMVUo0Gr127RpvFZYHjFVKb28vbwkyAEvhAu7cudPU1DQ+Po4QgsiYATLWAs6cOaO7CjAJGGsB8FyUFLAU3uX27dsOh2NiYkL/I0TGDJCx7vLDDz8YrgJMAsa6C6yDBIGlcI7JyUmHwzE1NWX8DUTGDJCx5vj+++/nuwowCRhrjhMnTvCWIBWwFP5HLpdramrK5/Pz/xIiYwbIWP/x3XfflbgKMAkY6z+++OIL3hJkA4yFstns2bNnqzs2EomQliMJYCx08uTJmZmZ6o599913ScuRBDCWqeei0Wg0FosRlSMJqn8rTKfTLperbBBwIqNpWjAY7O/vp6POwqiesU6ePGnyn1YkErl48SI5RZKgurGI7Js4duwYCS1SofRSeOXKlY0bNy4VAcylUP/v77//7vV6KWi0KkpnLPProM7s7CwkrRKUzlhPPfXUb7/9ttT/xc9YCKHa2tqhoSG3201UoIVRN2P9+eef93BVpRQKhc7OTlJnkwB1jUX8dYZPP/0UNuYbqGss4u+L5vP5999/n+w5rYui91iXLl168skn7/2Ziu6xdOrr669evdrY2GhaoOVRNGNRep3h1q1bXV1dNM5sORTNWJs2bRoeHr73Z6rIWAihhoaGK1euPPjgg+YEWh4VM9aFCxeWdVXV3Lhxo6enh9LJLYSKxqK9zau7u/vmzZtUhxAf5YxVLBZp91XLZDIff/wx1SHER7l7rJ9//rm1tRXnk9XdY+k4nc6RkZEVK1ZULlASlMtYbNpAptPpTz75hMFAwqJWxjLaQOJ82EzGQgi53e4//vjDZrNVqFES1MpYLNtAJpNJlZvkqmUsxm0gjx07ViwWWY4oDgoZ686dO6dOnWI54uXLl7/99luWI4qDQsbi0gZS2f1hChmLS/urwcFBNTe1qvKtsKQNJA4mvxUa+P3+n376CX9cOVAlY3FsA6nmplZVjMW3DWRHRwfH0bmgxFK4uA0kDqSWQp2BgYGWlpaKBFgaJTKWCG0gVdsfpoSxRGgDeerUqUQiwVsFO+Q3Vi6XO3PmDG8Vym1qld9Y4rSBPHHiRDKZ5K2CEfIbS5w2kEptapX8W2E2m21qaqquYR/Zb4U6drt9eHjY5XJVocdaSJ6xzLSBpIE6m1olz1gvvPDCuXPnqjuWRsZSZ1OrzBkrnU4LWKRTZFOrzMYi1f6KOB988MG///7LWwVdZDaWsG8Gq7CpVdp7rHu3gcSB0j2Wzrp160ZGRlauXFnd4eIjbcYSdh3UkX5Tq7QZ695tIHGgmrGk39QqZ8Yi2waSEnJvapXTWCK8zoBDZ2enUM9vCSKnsazys+ESb2qV8B4Lpw0kDrTvsXQ2b94cj8dramT7Fy7b9Qj1OgMOsm5qlTBj4bSBxIFNxkII+Xw++X7mSZ6MVSwWv/nmm5aWFnptICkxODi4adOmI0eOXLp0ibcWcsxan+np6c8//3zz5s3sI0N2RISQ1+s9evTo0NAQ/bDRxdrGyufzH330EaVfsMERQGNcnebm5s7OzpGREfpRpIJVjTU5OdnV1eV0OulNLY4MeqPraJq2devW7u7u0dFR+kElifWMlcvlOjo61q1bR3tSccTQ1mCgadq2bdt6enoymQz9GBPASsbKZDLhcLihoYHNXOJIYqNkPjabLRgMHj9+PJfL0Q959VjDWKlU6vDhw/X19SynEEcYSz0l2O327du39/b2TkxM0J+BihHdWMlk8uDBg3a7nf3M4chjr2oxdXV1u3fv7uvrm5qaoj8huIhrrEQisXfv3traWl4ThiOSl7ayrFq1at++fadPn87n8/TnZ7nI8BZQhoGBgV27dhF5qG0GHKl8FS7F2rVr9+/ff/bs2enpafrTtURkeA1clmg0GgwGec/LHDiCeWtchoceeujQoUOxWKxQKNCfvYWRYTzeUvT39/v9ft4TsQAc2bw14uJyudra2s6fP09/Jv8XGWYjlaVQKPT19fl8Pt6RLwOOft4aK8bj8YTD4Xg8TntmuRmLUoGPIDhXwVtj9dAuSnIwFtUCH0FwroW3RgJQKkoyNRaDAh9BcK6It0ZiEC9KMjIWswIfQXCui7dG8pAqSlI3FuMCH0GwwicvJouSFI3FpcBHEKzwKUB1RUkqxuJY4CMIVvhUoqKiJGFjcS/wEQTnenlr5ANOUZKYsQQp8BEEjLUs9yhKEjCWUAU+goCx8FlclDRlLAELfAQBY1WBUZSUcMMqIALybFgFhAKMBVABjAVQAYwFUAGMBVABjAVQAYwFUAGMBVABjAVQAYwFUAGMBdDh/PnzbW1tKvyYbKWoXIRubW3t7+8384LCXPgKhUIsFjt06JDD4eB9UaKgprGCwWA0GjVjqQXGMpienv7xxx/379+/du1a3tfIGaWMpWnarl27BgYGzFuqvLEM8vn86dOn9+3bt2rVKt5XzQdFjFVbW7t3797Lly+TstRcZJb9xNTU1Ndffx0Kherq6ngHgSlY4bMydrv9wIEDw8PDJIy0KDL4H52YmOjt7d2+fbvVt99gghU+a1JfX//WW2+lUikTzlkuMlUcMz4+fvz48UAgYLPZeIeIIljhsxoNDQ3hcJhB62VT77xnMpmenp5t27bJtDnHACt81qGxsbGjo2N8fNzMjONDZvvX6Ohod3f31q1bZXIYVvisgNPp7OrqmpycJDLXmBDesPr333+/9957zc3NvINJAKzwiY3b7f7www9v375NdpaxIkPpvENDQ0ePHvV6vbxjWz1Y4RMVr9f72WefydzcNh6Pt7e3ezwe3qGuGKzwiYfP5+vr62PfzbY0MsxGslxREueieGtcgPkCH0FYt4q0UFES53J4a5yDVIGPIDyb2wpelMS5Cr4KiRf4CMK/z7uwRUkc8by0USrwEYS/sQxEK0riaGavimqBjyACGctAkKIkjlSWehgU+AgiorEM+BYlcRSyUcKswEcQoY1lwKUoiSOMtgbGBT6CWMNYBiyLkjh66I3OpcBHEIsZy4BBURJHBo1xORb4CGJVYxnQK0rijE52RO4FPoJY3lgGxIuSOIOSGkuQAh9BJOxB2tLSMjg4aP48OJEhcqvn8Xj++usv8+cRCgl3QofDYd4SKuPVV1/lLYE8EmasYrG4ZcuWRCJh8jzMMlY8Ht+yZYv58wiFhBmrpqamvb2dtwpcHn/8cflcJaexEEJ79uwR/xdcdXbv3s1bAhXkNJbNZnv77bd5q8Biz549vCVQQcJ7LJ18Pr9x48Z0Ol31GRjcYzU3N//6669mziAscmYs/fUS8ZPWa6+9xlsCLaTNWAihmzdvPvLII9lstrrDaWcsTdOSyeSGDRuqPoPISJuxEEIrV648fPgwbxVL8uyzz8rqKsmNhRB64403hP2d81AoxFsCRSQ31urVq998803eKsqgaZrcxpL5Hksnm82uX7/+1q1blR5I9R7r+eefP3fuXHXHWgLJM5b+EubBgwd5qyhF1ueiBvJnLIRQKpXyeDz5fL6io+hlLJvNNjY21tjYWMWxVkH+jKX/UPHrr7/OW8VdXnzxRbldpYqxEELvvPNObW0tbxVzSPxc1EAVY7ndbkGm026379ixg7cK6qhiLIRQe3u7CA0HA4HA6tWreaugjkLG8nq9O3fu5K1C2tcZSlDiW6HBxYsXn376acwP0/hWWFdXd/369fvvv7+io6yIQhlL32cRDAY5Cnj55ZdVcJVyxkIIHTlyhOPocpdx5qPWUqjj9/tjsdiyHyO+FD7wwAPXr1+/77778A+xLsplLI5Ja8eOHYq4SlFjBYNBn8/Hflzp64PzUdFYXDa1rlmzJhAIMB6UI4oa65VXXmH84wY7d+5csWIFyxH5oqix2G9qFaSgxAwVvxXqzMzMPPbYY8lkcqkPEPxW6HA4RkdH5f4VvhIUzViMN7WGQiGlXKV0xlp2UyvBjBWNRltbWysXaGHUzVjMNrW6XK7nnnuO9iiiobSxEEIHDhyg/TJnKBSqqVEuzspdcAkMNrUq9VzUQOl7LJ1cLrdhw4YbN26U/D2Reywp20DioHrGor2pVco2kDhAxkJLbWolkrGkbAOJA2QsRG9Tq6xtIHEAY83R1tZG/MfG1Lxt1wFjzUFjU6si+ybKAvdYd0kmk48++mihUND/aPIeS+I2kDhAxroL2U2tqr3OUAJkrAUkEoknnnhCj4mZjCV3G0gcIGMtgNSmVrnbQOIAxiqFyAuA6mzzWgpYCsvw0ksvRSKRqpdCTdNSqZTT6aSjzhpAxiqDyf1hfr9fcVeBscrT+v9UfbjKz0UNYCksTyQSwenysHgpVKENJA5gLFMsNlYgEIhEIpzkCAQshYRR/LmoAWQsU5RkLLvdPjY2pkLDvmWBjEUSRdpA4gDGIonKrzOUAEuhKeYvheq0gcQBMhYx1GkDiQMYixhQH5wPLIWmMJZCpdpA4gAZiwxKtYHEAYxFBqgPlgBLoSn0pXDNmjVjY2NKNexbFshYBFCtDSQOYCwCQH1wMbAUmkLTNAXbQOIAGcssCraBxAGMZRZ4LloWWApN8fDDD1+9elXBhn3LAhExhZptIHGAoJgCnosuxf8FAAD//3s5fchYZyekAAAAAElFTkSuQmCC",hk="data:image/png;base64,UklGRiYGAABXRUJQVlA4WAoAAAAQAAAATwAATwAAQUxQSJ4CAAABkAVJsmlb8847eLZt27Zt27Zt27ZtG9e2bdv39tNZe++17vNPREwA/dOZo6hWhOxFssnRaNra4w+M3CJNqvLX1D7cxeDukVWTazDpXKDXrxFvXaOg9x1TDg99iOzM17Ak6Ddgc2dA0hCeZoL1k2zImMbPGvABrORlP7jBHi40l8ARzquVy/MEXOFhLqWKGYAzfCqiTGV7cAfbCko09IUA8KonX8cICIGwdnINToQgiO8vz9QMCIP0iXKsgNx8AEuk7YZg2C5BfQ7C4ZSKJdcDZAK4UyR7iSq1a1Uuri3+EZkCgt0jk1JTE8OdfJFJ8PoTsW7ZP5APx45dffiYRFTTlQfjkkQb+RhJRKXNlXuej4iW8TGaiKjAa6Wu6oiIVnBE2W8qc4h+yBVlOa7EehKBaLN8s0kQWiBT8ggShsak6ktL1xfdjQSiXhEIfLFzUrdm9es37zlt37sw+DQjoahCu0LEXLxDCRJM6f84fDIDYybV/XTx0o4xkab6sL0fQwRY+aOA19v6V8rK9sPCrRccPHhoT2meah08ePDArKYFiP+ClSqUlEXc0h5J8fGDuWozdpTE0YNys5WKAjCSLfeg0aMkjm3DVAsybmCjdYCxmm0tZKzFUtQg0E+iv98gCfm90YPY+/v6+0kMNCjKQup8eaXmJKm1e5DUnHml5lPTL7y21f4PrZVq9WF/Ky0n6qbb7AFsVWorAPttTdWKqRpusAYAx+1FlSq63REArDc0VClRZ5VZOgC3/W11xKGu7X43AOlmq+rIVGOJYSoAr6OdchC3OTod9QKQarikhqTi8z8kA/A70yM3cZ67xxk/AMkf5hdnUhkBCLrULx8Jma/fpSAARioWuhR+c0ghErjQkJvhl4hZXYCEL6Bm+5cSVlA4IGIDAAAwGQCdASpQAFAAPkEaikOioaEa2ed8KAQEtgBbJur/YPxm64bFPaPyH5r3ezvr+QGYz+G/on+Z/p35Z9rD8o+wB+lvmZ+p3+Af3D+5ewD9b/2v94D0Af9X1AP8H/uvVU/zfsMfsV7AH7O+mR7Gn7ifuB7V2Yn/RLToBFaF49vT657i4FNhTFMPtqGBnLHb4B0mdEFIcp89CJvbbCPD4/QeZhwQQzZ8BxgBYJstiZqMBJD6z585YDHszJsSre6r3yMDyPrDGOzaYTcIIILf8uoSangA/uHNmzlTvvlp4WxismwIwhrpTbKk5HA99Zt/tjf//B1f/wjF//4Oz7Ro8qdwrGruK80gZGdfcjEjVmeAY3UNq/bKHbPJeZyPGePUJYsf1pTxUT+M/1yY9sp5QEaUI/nWbM+hrV4Wv2GCz8YHB1EU6uczvWjFJmo/ILHBjfR2dpCGtC7aaJrcU2802eJTgxsCLzPMTBp+iLQAcf1z34AZndAHu/MsTUnzhvX5iBLRl0rcsyt8px9H3DpVdPqz9F30dKwOAKELHB71muyZVCqSi6Ijvf/Z3WEYi+Jy9gg4gwMX75I/kfFsZTr7B6AUO5g/bTvaEq7oh9QTCrGVLPJY2tIyTiFf6+rnBPHuJQFG2ntz1V2ZE3kFqOf1JYkNtmTx5bM42JZLzDv8lK+cZlqBMuGj5tTqsUlkszMA9vYVj/+YQXiow3o8IGtvSD8Z9yp7r5vAB/RBYfyMXHGCD2/Vj9Krhqkp9w11usppHaLv4fZw8b3KwrMeg4xklboK6/9Fk8fH9jbQr2Gh3gBR1O00KEtl0DoRpGMbFooOH7dbaaubWVWnZJSKjwKIyP/s2PwjLOOynzDVSVfh9QzyYBAtiUl2qfMRoRAekN+1zwxjUnBZz1zVVnum4pxFz4O/ytYWZA4AKd06/BG2+/aqSmflFZELL5IvsKadrnEUwQiAtJkrfXIu0S5ATyAZ8U7ztY9txpPVO65FVvH6NJPkeoxN4DJMkkeJyGkxeZyTOKOXTYLyG410M+lef83/R1x+Fufa2JlrS4UJj9uQp/8XdI+6n2yYec5INem5wZ3l+51bAhgdYqwdZhQ4nrP/8zviDM+SQAmVegbwNZIXMtlySH9p0fzgvNUc4nPYjSzoYgAAAA==",vte="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAC+lBMVEX///////7+//79//+ZfOn//v+UfumXe+f9/f9crPCZe+n7/P5Lu/Fmo+/8/v6cd+b5+f339/1ooO32+v16lOuYfeqgduqZeedQuPFVs/Bfqe92q+1xme10l+1+j+yOg+qdd+n6/v7x9/318PxStfJJvO9Qte93l+uQf+nq9PzX0PRiqu5vnO2Bje2IiOv8+v719f3y9P3y7ftPtvJNt/BVsu9Lue6Hiu2RgOubfeqbeeqXgOideuigd+f69/7w+v3z+f3n6/vf8Prp4vnH6fjp3/jA5/fXyfRZr/JHvvFXr/FrwO9Rve/Due9fsu9lpu9fvu5Yse61o+xum+uLheqJkemgdOmnkuiUe+j3/P71/P75+/7u8/318vvj7/rc6/jb1/VXsvLHwPFzye5ipu2Mhu2ymux7kOyEjOmeg+emieagfuXo9/zk9fvn8Pvt6frw6PrY7/nV7Pnr5vnJ5Pfm3PfE1/a72PTO0fSz0/NKvfJeru+Twu5roO66su1osO3Eru2Nq+1qq+yMpetyoOuCm+utneqajOipjeehiOeihOeLhualfebx8Pvp7vrN7Pni5fnV5/fQ5vfg3vfV4/bD4Pa54vXPy/OCz/KnyfK0xvLTw/K+x/GzvvGHyfCpwfB6xu+guu/Kue+Mte97ku9pue7ItO68qe5ztO2ur+1Yu+yXsuxuseuKmOuqpOqWouqtk+mWk+iKjObs9/3n5fm55fa+3vbX3Pbk1/a02/Xg1PWv3/Oc3POt1/PWwPOS1vKj1PKd0fKtyvLPw/GcyPCKw/B7ve9Cve+Hue9pxO6Cwu5zwe6Dt+62sO6Zr+6ese1/r+2Eoe2Truyfq+yapuyCpuy6n+uOnuuZm+uYleuwlepypumhkeiSi+iRhefQ1/XR3PTay/SWy/O60PKZz/KPyvLIxvCVuu9bt++Lve13ue2zt+2msO2Ro+2ms+ysqux6luzDp+t5oOqmmuqNhuqxoumkn+m1nemviufl+fqo2/S6v/Cuue2yuOxBqZCiAAAHmUlEQVRo3u2ZZ1ATQRSAd+9ISALpxJgASYBAAoGIIEW6ShdRpAjYBQTF3nvvYu+9995777333nvvbcbNJSjqDBIu+0u/yeQ2JHnfvvf2lpsLsAG4QYr/4IYkAW6aNcPrQNEz1x3Kis4AWGm+I+FAXMKOZgAf5Igs17i4uC5xWW0gwITT+BquXbrEoYfroUgewILTlsW2trauroaHbY1oLO1HjrJIkjBxYoK/ra0/BgsJWeMXVyhbtkKNz+GZ46v6+6NRpMUlILKGwVE10glCRuuZboZxa0tbKlet4FvW7UgbBoQkAzSf7qb29Z3pbtk1Fj5dplarj7SG0HTaI4vabVeGJS2MbX5qtaxofZrPlKllD6MJyzlgm3kymWxeJFnkT63n+TWUHWluOUnmPRQwcROrSGoQjkv0S0ra6WSpPMC4xIYNG94W/3be7Eryi59nsf3F+TA7Nv5xZfhbA9z3x8fG3raxUCbru7LZXddDgvh11qhgsbE921ho+T5is9n7wiEC/IK4G7sre69lutJOx2b3bAf/lIDRPbuyl1a2yFXTXpRIN7FJQqKVxSjcazK7yeXybZZofb2Fcrmu3c9FlZHBKpSA0X3k8qPOgD4ddTr5QWdIUmGbj98xceLW6GYkMqBHxMFsXZ/R9B21u2XrsjsTVD8ytxzy93f1t03IWpdhmkF29exJBKRdLXtudfv6VD/C7/q5VfB1c/NVuz3cmQmh8V2uBeo1jlud+4g62XnbusbGJx7edXd/YlLDxE3U/DO6GaZA10FMQpLOhKEj9ZfK2Y/bRRC8NZ2XstkLK0OqXlyuqCNNB4yYw+VeGWUYEbuzq9uPIiCDALzOOl31zkiMzPbdRXt5NCUt7Lmik+5GnUg0iSBIBlpVa46KuA+oGkbM6S46GEFTMrZfd9GD2tR+eM6zXwdIFY7kzUj27E31m5wkEtm3oCnpkOyZvJsqTItTjpqbJonTDEfH3uWNi1jUvd9YQI/dyZ6eHahR+Wdz7aYaJUB83G7uceP/F5Rqvw40N65ZDp6vxxqHT728ztYBFBtSvRTTWNTyGn7O02EypCURL0GSesZxp9UBAYuGoQFrzMWAnNQNxl3ZubeDwwweSrDUUCHOuQNqpt7LlTlD399v4NFjYEqO8piAcgDBEgeHWTa0UqnTF3XYGRrjrb2qZWqZwcHMwEDtm5bwR0EdlohpSYafcnQ8LTZJQNSAYGsOh2PFCX7XFpggZ6BPeNOSVDqlcTwuAIXUndJ4SH5+0/Mx3uAH0zSavuUBLUl/jeZEbVAIhGGtoqJahRWd+GQ7+hI7uxPFXvUgiV3fOnQluSiTv0gu0JQsU+SeKV4yLdfuGb1yDV+mUJwVg2IgvubOXUFPUueCQrHCu9iN5zmahpDeEr7gpSh+noIzXl4rhtGRlF+U57WsU7Gri9cp1Svvm7D0DsGTvIDUTiwGo7ie8Cak5uV9KfXFPby/Wh8wlQeRpNhcpq4OWD2htJIxq/T6F8K/XrpB4SJ9wKWRsFR9ES4fOnTVyJJ8de2qgJRFAkiWQuIxNGVoNaIkEkajnJxrDUAp8H6fknKpEigRLS+9TVkuKIWkwXWl8hgLlAhWD+Xba2PMd7COKQOve5gzo2rm92TY1cDAgS1BCWk5UKt9421+tYIDtQOEJT5tl2sDB1YxW9KIydT2MLUEAlDOpe1vxnJ1yxVtipbJjIHmtmQBk8lsZIzmUsWjWs1aAz0A/CXVWjWreVRxMZogmlN6NbO3rQFMCXMCyxi/SbB1OpM5oMg1CQTCd+np6RUHF5omMCWcBSwzJXVrSSTMxii+dXq6tbVVRYlEEtyI8VNC7Am2tkJYI5rUqjl7AfpAYzPPFOgzGMXgSK2tJFYca4MFvWoSw4KF73sMNhnQgcORSjkVKwatNHfDbzVEKg0JCUHf5+cPvrxgT0xTDidoyOxhpjxnD+FU5Kyc0qtx0yZ8qTQoKCgESQa5mClpiyR8fn7Txr2mbGwZRkA4n68KUfFXzt8cFbV59kopPyjIKgYwwnzax/T6MKhJiJSvUpkvaUrFbxWG+gARwOcyP0RVRsUPLcjn81VIqDqP3jMABcg0/8Og/EE+ZvZEGOUj4KEj9YJ6rnKZH1pGFVqmTCg/DT2FnvcpXNIkOjLQQt8sBLRp9aoARUeElklLK5jvQsktTrmNrz4WpKWlhRZ87BVlQxBIggOWT/tb27ffau/CMpURG7AwPE6HUQLx5QE/rdu6NTocp4R0isxyPXAgIWsEga9UZHQNf1uEa9UR+IpVuSr6eWNxgm9Z6lcNPPB2+smS7o2InI4OmwAm1uyPj98XDqD74aT4fWKAh/o9DTehAQnX62IXugM8oLvAC1tQvekjRze28TCqD/cklQC6nWdfD+Chnr3oSn3KdkV0sg7AQ8Qcz+Q7EEBwJzl5lg3AxFSNZokzAM6nHTUdAC5G9rfrfxOAGy9f9h0OcFH7uSL3aZj3mdy503gEwAW695h6o1OeYtlIiE0CBS/0+osX9fonNgQ+CRhzLUefoly1FiAJNmx6aAOVykYsAqcEtL0qYQ6oC5EDJ3usBrcHuBHW3M4A2KkrBNiBEAL8QPAP8x0ZyfbHp+5ubwAAAABJRU5ErkJggg==",bte="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAADAFBMVEX////9/f38+/v5+fj6+vr09fT29vb49/f8/Pz3+Pju7u7y8vIHWenx8fDt7ewJZOvw8PAVfvH08/MUe/EGYOkPcO4HXekmsfwWgfILZ+wJbu4kpfsQc+7m5uYJae0hmvcJWuspuP4ekvYbkPQLa+zq6ukjxf8nwv8hl/fr6+smyP8kvf8LXukotf4oz/8HZusJYerh4eAjofkMa+8Mcu4Zh/URde8ag/Po6OgUePHd3d0s1v8djvYObu4HV+fW1tcq0/4nqfwknfgelvYfivQWw/8mrv4hqPsDgO0mq/0Nee8iyv8drPsnp/sNr/ohovoBnvUClPIjwP8jrf0Fh+nj5OM94P8z2P8jzf843f4Uyf4GqPkcifUOgfAEiO8MYusG2f0Dg/AOfe8v0f4C0/0Muvwgn/kXhPQCjvARdvAD3/4Ds/IWr/gCeesD1vcUh/Dk6e6gwOza2toA2f0Tv/0Fo/gBmfMYjPIGjunx+PvW4OoDgePS09MJ5f8W0P9C4f7x8/SHr+sgeOrg5ughZ+LP0NAx2/8i0/8Mzv8E0fcfnffr8/Y2pfXV5fTp7vCTuOs0gOkLZuZ0oeU4eeNK5v8T1//l9fsQtfvZ7/hPv/MumvLP4vDD3O+pzu/K3e7d4+zH1ehUiOLO1twj2P4ou/y53vdMsPV+wvMQsfOV2fK20O9truy71+p8r+o/m+lmlOIg4/9FyfmE3/VuyvXh6/TF6PRZzvMxsvGTw+8tjuwFcOoVcOlNkOhEgeYxcuOAqd/FztEywfkEufnK7fih3PSVzfIMu/Lb5/C35O+Fuu4jcegVYeTHx8kw5P142fe91fGr1/APnvACqu9Moe6sxuofgul70uilvti6y9Y76f8P3v4Gxfhauvfm8PZq4vaP4vVBuPWAzPFxvPFAqu5moexfreq1xuDZ3d+Uu9ubtMhC5v8MyP5P2vtW4vkem/ir5vWe5PWr3vU1zvM7ku9s0uhboeas0t04id2xwtNI1/OUz+Bsrd96odS6wcVzvuN1vNeI7X81AAAQf0lEQVRo3uzXfUzMcRwHcNzd7552t5/zBxvNaB1p2mo7TtfmyMOMPJRKedhZp4idJk9nyNaUW/FXcSGsRwlTuS7/6QFnUwtj8tCDh6EHkZiYh/f3+z1dHqbu5D9vf/in/V69P5/vt9/dsP/5nwEz/Mf8G2DYj/+GmmLAz2HUkBH9BMkIFsnQDq6PoA8XCqQCRMgYZ8UhqoECQrPVVlCLFNis6Rwg6jBoKGrAMNcUl2dXTcjP9/OrqiotL7Y94sRSIRiWoRiVuaC8ZfTUqRMm+Pn5hU0KU6vVpeWORxwHhhKeKzDYtIQ15XYQMAgyaZJ6klo9ZUp3vU0h4gRCCVP+7nJIzLUt4aNHQ6FI2Hdk4cLS14dUKCNhP/dXTQ632heFE+UXZEVs2UWm0HhcBEZRaHj4vHn9EAQGlBX+/vVWucjjLqwGM2YtAPJTExDE8I+tv9ineIQgEvOV0PmzZi1gCBQgMICwIrH62OZDcg6KZ1XYHXyTMTYUSPgCF8JWAoMi+t43vGv7Hm3EWrhkbCibF0Py/cLCnAg1kI4ahUgsYIon19BcFDiWIlBolan5SJjahej0uqiyRCjkVqK9B9MqyABC5wUEyW690tBQ3Fo6Rf29iE4XFdXrkPUt3/1pmR/HBQYyhKy+pfV4itbHxzfxWHGp2oWkptZfVABxvwq96gUZcYFLnFXmLShsSNH6KpUymYz3dVRQREeKREd3OHgV2YoHTSTSoldAoNDVPzzrpfWV8QqVSqRS8LYKen5hpEZHR5cdYlXcVMg7yvrkVVzcEraV8MKzXj5KXi7ixGIxx4nkUPTOIpGRncdkck5AEHdXIsmZ/CpudiDdSmhGjpeWGuS9KJWKOXlXqZ4Z0cmRyV1K3rl6t9ceMn72bChkLUUniYEH4T0lIe9gLr0slhooEplclsiTU+z+uKy3Q8aPBxMHpvA49gFDwF6FVKnpAMKM5KZjMhWZF+LeSgqOhkyGQssURfjAELPHMEW8rxlLZ0Zyp0Op4DyY14hK78kIYeIysHVehSJ4ikup6UhlRmZm5msfnpwvd5uYS7xDnMjsZ7u8lAoVfaOzkLVw6U1OAylLlKncWgoMKIdve0+c6FQqI7RKBU6vVNAXHLB9r6MjwbS1AWm6ppRzbiL4XQ++BcKYo2ci2PntH5FIYUuuq6trbGxra2vstOG3ELjZBHu/5O1NEOT2qQDcRNx2Bc/LeB7/K3hEebDzAkKcxkyHVqaSCt1sMiJnjjcUJCTk2fOggJRdNseb2tpiktoGx4ldKVptSlPCHhpIXdgaJ5C4hYwQVq4KJiFMyfuPd3squvV6vNRXxMTMnRtW1ZJd3ppzFghLQkKzly/uoztVhksE0uub58wJDqZt7N0Wi9FozMpKS/P3XxgT0z5369Z11dWj7fb2pARnygJ8eHaRBl9EwJ3bPAfZEQxoo4UgSTDS9KiCLkRZd2Tx4k2Lqx9YTAaDIenu8whfBTvkg96IdF9JvGYVFNTxvmqxmJKSDAaC6Mm8gKyjyOKVSPUDo8nYkxvkpZRTZLCXRChOfxo/XaNZBWhV8FWLyQQjKy9PFxu792dk29JtGx9YKi7PDPCRiQTC4cggatBpPXo3Zjqi0WiAwHAiev3eAxTZyhAY25Yit7I/70cVFdkKMpBBj5bY2nyUIvHxGs0OiiTdvw9ER5CYX5Dty0I+fUAVnv6VxCMGMjAsc1en5ebIMTTx0zcTxJBw/0JeXpRO1w9xGduXLdt5/kVuhBJ/4Ab6MOn8WmVtTk0y3hxJQqWrOD8ESU2NitLtZfNyIcxYtn79jk+ncO05bIXmT99HJMKapiyDgSIsQGAQBEnbazzQ3u5C2LAosmb5+RzcSOkfv3yxT7/mro68LAOajOrLaZMJRl1vRc9dBJc/u7Rqa3U1EGcRQgBZs/xSZaLij1++2Lk63Byly8PlsjiRGchNU3dvz8f39y7v3717JpKbe+/9xy/Z9k20CBsWDGTtnXPXVBw7YmB+u3MY+HigS8vKMhpP0+dPm7Zhw7hLX19+vrF/98wtW4KCAmiCtmyZefnDVztBmEEEZPXmkoP4SAOF5vfGt17NNabNKozjSunAt6Ut0FZa24LSGqs1LbbY2gjEMUWJZlFG4ochEZcRsi1QPshkC4HSxQUGpW2iDhgXo9uEAVGJjruXIAGMqIOwxJnoNnGLiVGXOeMt/p9zerUx0S/+tyVLOO/7e//n8pznebZPkHpyyL6a+yEdpAoRo6TRXVCp17uY9PrKAnfJ+a/2fQ4jMQYgVVWXuyTMC7eSvB4vfULF03Mvthzds+ejGgI4VNDKVTDcuFPMLEnFpSLIZK5K98/vfrBv3+fPxxiPPgpIJiixmzrRCPOBDJfU0rJnzxf1Dh0A2qKiIuPvHx9pLHDJhAyJmAuZqmCq/PX0y4xCEIbgkMzLSxJxhPJ3Iy+8RVUHCqinW44ePfrFQZVDVVRkhwzDHx926ynxitzylEIK7Rf373/5NCifPwkGCFBNTU1mTfYYKhYRp8QxSKk/vH831ZvgtLQA8tl0ERhGu0Fjnf+lBIEJSbUoNTXSxhEr+k4+vn8/IMA8uQuAAwcOgJGN315/tyQtkcKNpH/4JpWbxMG9dPS7n0ZX7HajQaORy+WrCwSR8BNASk8ViRWfPlQBCsOcvn7jAKkcwq6s6xlRiEGJnzBer799J4mBQHnz5/Mhg1GjsYKhVA+z20Icl9yJxN0Xyx4HBJTT+y5dvQoKh2Df15XPLkUTzngjP7yPehN9AMLc+fA7Z9wlE1bGqLYp83ybblx8YchNHNJ/qawMGGbmtz8+3rwxzSA4Wdj5M35Kz+OtsDr3OLoAJAI9/E4/TtyVGY0cDItSLS2eKClwCQhLMSetpzp23gYIYR6/grO6NTftgHR85/cM8GoVijJS30DxDHHS8TOVOHdDIbJhYxDflhtxHNlIdE36Lu3duRNWSJd+OXK4sWC9hygqrpmx7oiVOCP3kAh0z1Pvf6pHAWpqD9rkNqXaYpFKmRUTRdiokeXcDlC4lz/fA0Pv8ni1Wi0RsC21sEL3ZBwk9Ud05CJ67et2HApBZl732ZRKtToPEKwKv13TuZFb+sfv4hQszLHNwyUUDyaD01qS3Uh//ArKXqIQxPe30W3guuf24wOoeCgTHRwmBmxI89TYYEgUMM3pxEibHL0DkDDlm/dKGispjx3oMRiNeD/JMNsQl+2R+w+/4gTqbNy7qDcJGWKxRCJ4VtU0VcV5UotldYFlVpgBpADixd7S0u87OjqoOj52BUEHj2RJMtoChqhW1li1GoP8iLffG9bxAZS5WUjbs2AFJjBXeRabzTq/VaCX0e5HKdc/np9fWprLvcAIiwd4pC9k1YRlDfgFKryjENEi+ibQraRTDWaBytw0sUThWWUMtdImt1qHkdwLrIBYul7fRPkryorvO3qvHG6sNOOzUHq3Tiix661M8qBMwaY3UlW9fWtMJ1xUVeGDEQQHh6URiMZgnKBlkWSJJ0dzagubgMkvhZgRqlrxRJonYKuulpOqlcPtAnZKFNJ5gXqMj0AVj7x7xsTCbSqqQrGw7gPEYoERQGaCoMiEhrGNnBxnIWGg3k0yQt+MJ0RrPqUFstkQjOYGsSgxyEsXKgBgkIqTWBJcOoihoEgagsXwoayWazTYlzML2Krtbd5ySpVqkVwC8xs3QsETT3TNq9VqJWSzKUPN8ZCULy9UVDyG9hxUdrLZRDU5QjpOg1gYmGOThdkCxOFdePXVBa+jLptRnKCMny9xV5p4awVndHI+T81ksahDzbJESBkQD1HLqQxOqOeDSwPPpElk6z4lLbuBToDK4Q1OzGgduvvLaximduoKnXX2Vawo7pqX0tkFRP13SOcFdDMBKYOOYU0ieTOsKBoWVpVyBilSqXR1RissgfJANrlxLhxhNw0/pHjT2qqUC3FibjABIr4ICBC3kc668DPe30intW+esMgDNFsUlKxKq5VwDl15OW7a65gsimmornm4aStmwo7Mk2J3xSB41+ITEADQzpPN/KJNZ8XQtgzz0JxSrrHbYUSDqYYrWh6ilM/+wiYrnJyk35wyOQeAlGOKg6YESOrrx8IQdJ62nzULbAunh62YtkJWgmiUiC9qzJ0mTLmxySYLFwfbJ2jDtVmkzAShVj0yIStuulJeOclM7CRGxyWkzfw5FqYyZPr1kMFu1CgpkLGtZqDJc4SuUoR3CQwCpYjWfbTghIGd+SFzwolPaT11H9PevXu35+aOexqokyIiIbgI5nb/isEQsFHQpzBms1phxYtsjIwIEgoPmN9O/wodEYs6j1Q80SBLiF3pIjRnibGdGLmlvaMjk9RLgQBZWhubm7Frqm2YCwR9Cz8204du/L756rd6mSKDtQy/HJnw4QMA4W5WPWYBX5oSg6R2XtwOABFy0ecoze/9ZvlEf1dXV9+aZ2zWq9NqjRq5DXdkMZsxRKfpQ9DGbNB/or+vr6//RNvsipUiVjW80CkpHm42K/hRiGaosLI9xkAXIr9px9S1a9emNjay6+7XqbR2jbyaFoVBlGCQKKHz9kDeGY0B0Z3nNpDF4vOY2WylxyDpos5TuQmMBx/cXVhYW5tTVYMaRacqsmsCcnwjD8qBA4cO7dq1i+WlSIIcDi2sGjUGRqm2kJmJQbMirsPK86htXefCCMbIf3D37t2FtTk5yGwfqGMQPl8UNAJE4BD6BDh1IDE3UrrJKHATGjIxI/GJBLb4tk+PAcEZ6HXsAKPQSZDyB+4niAHzhSAOyPSug5xR9WxVGAJKEZIHg4FTbD4PMeK73rysFrUu9tJUkQ8OYYzMbOSEBMHKy202tSVw6CBEkHpWJ2Rn1xFFBQpSZ547+9pwu0bbifFJvajzLLKDCGMHJotDsnW6MASLMv/7wvhB0jP1z9RX0c8zuRVUMlQCMIpvYdAsk/DQlJgMI4J0Lvbm35EPEYMg/B1YWLwCkMB8cOvwkfNjhKmHnDlEoeKVVoUVMzBjXWkbNAmsLwUG9LeGSuvIuXzqcYGBBeFG8KG0rlprIBTc+tbtdjd+e2ZsvKm+sN5JI6owIhsQjAEGkMCcp4GlO9xHohOipGV1LV9ramoiSHS2UAFji64M+4cq9UiRSZVDZ69P1dc6a8kKUSiRBwSrMh8cMrOaTJRUNeKvnCLu7F8e3+EsZAwnN+LQeWfHRppNZrPZROkrZDYNri2fm3JWVRGEBsEucoCe4Eg7hmQkMTgF4pSs7j7P6LmpHc4c2jqZGz2zl/0jzS4Tb6dKWrOy8FsikSi6l9bOjs72bGDVYFbn9c5d9gy4ZDKFohU3BTGSK9OoF1S23Uv9JzzLy21tfs/IUHODWSYDQSHJopjJhfySGrfdgwMjHn8b5F8/0+wym1Eh0yhRMoMU7cGjsEVSmyEI3QIkY++XSAiwjbW4UyFW/m6jz5EgL2ejumUCxD+E8ilO4IxkLyhs6XG8N4OLAGSBAOwCZKMgkFDRhwdSR7pVzAlAJPpI9oIX3ML/TYkEQLhJDwAfETeQOcLUkTCOIzAuyUeymZTwlECgiSIOksQregzkIqv/4j80xD/OUfQUFCNgTKLww5SIooSkbleymX8Q/1lsWPLAf4Ug0Zh/9SSn/ncElPihyR6SvyjpFwb+//oLYHj/LyqNdWsAAAAASUVORK5CYII=",yte="data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N//AABEIAFwAXAMBIgACEQEDEQH/xAAbAAACAgMBAAAAAAAAAAAAAAAABgQFAgMHAf/EAEAQAAEDAwIDBAUJBAsAAAAAAAEAAgMEBRESIQYxURNBYXEigZGhwQcUFSMkkrHC0TI1UvAWQkNiY3J0orKz4f/EABkBAAMBAQEAAAAAAAAAAAAAAAACBAMBBf/EACQRAAICAQIFBQAAAAAAAAAAAAABAhEDEjETITJBUQQUIiMz/9oADAMBAAIRAxEAPwDuKEIQAKPHXUctVJSR1cD6mLHaQtkBezIyMt5jYqQuAfKXTPj45rJImuMk0jCzTnVq0tG3q0rqVgd/QuY8HniqkhY2turuyxnsJgJXNHi87jyyUydtcnHP0jL91g/Kn4UjJ5ooakJZZd7hSnM2iqjHMEBr/URt6setSqbi/h+cY+laaJ42dHO8RuaehDsJXBrcaOSMti8QodPdbdUuDaavpZnHkI5muJ9hUxKOCEIQAIQhAAkS822E8WVNdLpdoa1zHfwEsAd/ta37xT2UlXU9pPWu73zaDnpqDT7gVpj6rM8rajS7mAlw+GAbOly946NGPjgepWGsDRnm7l7MqipnOkuUs2fQDQxu3QnPwU+onDaiJo/s2F59mB/PiqE01aI5RcXTN1PIJJaiM7gP29g/Vcy+USkNHeY5Ym7VTMkDveDg+4tXQbUXmaR7xjtJHOH+UgYUHiC1S3O70HYQ9o+HtHAZGxIbvulk/jaNMUfsSYqcD8Jurr/QOrgfqnCqdGP6rWEEZPUu0jHn0XdUr8D2qS3w1ktc0MrppcOYDnRE3IYM9+fSd5uI7k0KW7LZVfx2BCEIOAhCEACQ65xllcRqx28kp08yGh5/HSnKouNDTP0VNZTwv56ZJWtPsJXPpL5aKZ9LV1dRE5gB1BkrS5pc7ngHfHRMr0uheWuOrYvG2csL2Ubi9sEun03Z15jaSQfPO3LcjZaJbTUR656naJoc+TS7LnAD9kePTyVtbrrZ5aRj6K4URgI9HRK0AeruWVbXUUtO+NtdS4cMHEzf1WGuSN+HGTK6UTNuPZyRRsMQDD2ZOnIaDgZ6BwHq8cDGC40lFd/tNRHFJ2ZLBIcBwzvvy7lFdc4hWfaK2l0mQ+mZAMkjJPPHIAexVf0hb5uI6jtqmkfFoY0apGlp5k/iqsVOFEmZaMtjZaby2634imb9njp3gyA+i92pnLrj4pjStaLla2Vxd8/o2hsJA+uaAMkePgmhrg5oc0gg7gjvSSSTpD423G2eoQhKOC1VM8dLTy1E7tMUTC97ugAyVtSn8ode6ntUdIzI+cP+sdjYMbgnfxOkeWUsnpTZ1K3RTWCrkuD7lVzjEktXqI56fq2YHqGB6la6W9B7FQ8HkOo6xzSCDVHcH/DYr9eRNty5lVIx0MPNjfYsTHHjJjZ90LYsJTiN58Cks6VNJUht/qKfYRSsbob3BzQDt4kE/dVxgdEtVYdG19fG0l9PVB3ojJIDGZA826h61cm7W8HHzuP3p2r2AmFocMEDCsuF6smKW3SHMlMRo8Yzy9nLy09UuS323xjaVzz0ZG4/BRrfdKgXSG40tHWvjDtLhHSyODmHZwyG+GfMBbencoz25CTScTpSF4F6vTJgXhXqCgBNd+9ruetWP+qMLNYP/e93b3irHvhjPxWa8fN+jKo9KBRbjKIqV3V2wW+WWOFmuV7WN6kpcuNf87m9DIjbs0H8VmOkWdoayakn1tDmumO3kAPgpLqamGQ2Fod1I2UTh1wdRPHf2r/xKnuJaSzSXuJyOi69wCOnjG5hYD3eir7hhwdb5C3l28g96U7jcexYYm7Snng50j9UxcDHNhaes8v/ADKq9H1syzdIwoQheiTghCEAUlbw82orJ6qKuqKd85a57WNYWlwaG53GeQHf3KDNwtXPyGXtzR40/wCjgmlCzeKEnbQynJdxGm4Hr3nUbrDIer4HD85Wh3BN1b+xPRu83ub+UroCEvt8fgbiz8iRRcK3imiAE1G14c47SOI3JP8ACpEvDl6mbg3CljH9xjv/ABN6Fz22LwHFkIv9Bq487nTg/wCncfzpn4etbrPa2Uck7Z3Ne9xe1mgHU4nlk9eqs0J44oQdxQrm5bghCFoKf//Z",xte="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAADAFBMVEVGpf9Do/8AZ+VIp/83m/1Lqf8AZeQmkfkymPs7nf4Cg/L1+f48n/80mvwtlfrx9/4cjPcZivX3+v4BaeQBgPEAbeg+oP/v9v4BauYBfvDn8f3u9f1Bov8/of8AZeMqlPr4+/4Oh/Qjj/ggjvcAXsoAcOnt8/0BcusIhfM4nf7l8PwSh/QAe+4AduwAee3k7/zz+P/6/P4BYMwBfO/i7vwvlvsAdevp8f3h7Prk7vsAYtLp8/0Wivb9/v7g7P0BZ+Dd6/zc6vwAYM77/f6Ns9yUuOAAZNXr9P7a6PmcvuIBaOKXu+CPtt+RtNva6fzS4vYAZdnV5fjA1++20OvY5/re6vzX5vjI3fS50u0AZdzU4/euyuixy+elxOWXudzL3vK91e2dvN+Ut9sAYdCzzemoxube6vnG2/HF2e+qyOmgweTW5vrK3/XC2fGsyOeMstvs8vvS5PnP4fXM4PXO3/PH3PPE2/O20e6zzuywzOoAcObC2O+jw+agwOGbu91AfdGmxugHYa3z9/zQ4/fN4faiweMAbuKaveEAZt4CX63Y6Py50+/B1usBdun////o8Png6ve91vG71PC80+qty+oAeOoAc+fY5PTS4fPJ2+8Bf+260ekAbeWsx+QAad4AbNjf7P3i7Pjd6PbA1/MAe+yyzesAduYwlPcZiPErkvYmj/WoxeOkwuJDn/wijPMNhPAXhO4AfOm3z+iFrNkAadIvdNBWqP1ztfwuiOoAcd44edElbs/W5PakyfVdo/IrjvF+sO1QmOtTkOC32f1OpP2Cu/q51veu0PeKuvI4kfCbwO6Su+4hie4KgOwGdeITZ80caLKgzP7C3v1erP3L4/xyrvNHmPGvzu5yqOw8kesQf+kggehGjuaBrOIeeeFnmdpXjdcCaNYQZK+TxfzB2vc6l/Vnp/GkxvBjouxbmumIsuhknOQ4g+Iuf+J6pNdzoNIcas5omMwmbbSax/hGnPVTn/MRd+d1pOF9qOBDht4NZc0yfNgYc9hfkcg4d7owc7j13NKGAAAKFElEQVRo3uzUP2gTURzA8RMjJlzj6RsM5BRPhQPjkGQIyXFGBIdzURDESRzEQVDw/LOJQw6XiFwEBwUR/DPkjyQGhMSliZI/rRohSRvBNbXipNjW0T+/e7kber73ajNkEL+06aP58fvwrn+4TRNoMsjGCTQhhIMPy1rHgRsdOPcBPvGQ68D9b31tmED/ELJjAnE7JxC3fa2mnMP4U9zUFEzAy5TrAOHDxrkNo4P9HvEAUzsIbzkbAWHm6wUaFd9aQ5VGosoY4nzsmodMc76yjz20oYFQjzGzBuKpItM0+xxT2bdgIKlfZCD7WPn8C2YS6vkYQ565gxJChyoe6gTnYbbYsBBTqPrpM8WGhCQkVr3UCTbiXzkGCCg3m1TFXxWRJCFjYVzEWxMBsepRjWIfWQiaWaQjflbZajQ5Sq56ySPeloEQGOjGCkyQYyLe7LJ9kcPJfpE8UpxHOD7xPUtFvKyybRMTEN+KkSZiLYPHhqEPsrQ1HNNYvGQCMep8MxaL+X3FZrMyV6k0i0WPF74BF+ERDxnGbH485HsYiFFRaXmu1WvM33wYDgaD4YPH5vszC9VKKwDACJnOxmhIjFH+k5C0CUhQUdRKghB+QUIozttFjI+LWcoebgu9bKEVdQic5IRG8fhJOcjxlTxlEROpLyejQDi5CAw4REQQHtXGQfL1djJKINyCELGMgD4o7KIgu+jlX99Irn0LEMAARHxbz5MXcQyj8D7xtwRGZqjIZmr5Uk12EVQBIx9fF8ibGEihNOAlN0EGgAgExOPvx0A6sy6BQYAh366VxkCmo/TnJKwiMJIZlApkZA+1Ur0dRSQBWg2AAMn6bKdA3MRCXl+SkGPAfVyCQwgRARuarE93SmRkL7Xc+4RzCySeO3VVIF5CPvfgWhyuAenteom4iY5szdV0+zmhzNfucOmo+IcgBjLPl4ZLXxRR1jRVv/JhGxnZSq08MOx/gOh0KpVKd+/zf/wghKfDdCo1vB6QVVXPHHmV20vaREdK5VneTvyRtpTnEZtwDOgrfuebCsVDjz7ltq4PyZWnkY0EHMRFyLKDxMGIh5SX5W1EZButXKeN7N8n/vownU4v3YqsEiBNPNWFd7pPtXg8GAxl3pRzpFUM5MUFAKyEiP78V/fnddEWbEDTZFUOnvnZ/XVRAQIQZaazTqT84YRhCTjx3q27LkKWVav41TtXg6PCypMXZOQApdyzV4rghP/kRMgW4BMD1kNSNdW6BRRWLn94tp+wi9tP691n3RZwWNDsxyQ7Ai5kpyROvnpGWsXtJgfIS9FFiJiAr2dPgeQmwmEl8fjTu/2EZb8pJ3uYJsIADDu7uJgY4+RijLE41JC7mJB20glT6A8pxmpCTgyotaD8NHFA4oC59DBcr1w00uPayaQ2cShJUWBQgcBosVQmI/g3OKiDDr7f992f7d3AE0rb5Xnu/e564DhK9OX8gP+ljfWJI4eaCyfO55/03fvx43LvM8EunKGc5TlpacOaAg+DRDwo1RcnzAKw7gT/5Na9ePXqrZscEo4CgZPW6iW3JSc9KG2/njhmjmDgPoDz53BS5HfhmEATHR2cUNsuubg8I2pl0DnC9V6zBCuAuYgwXVHdIgc9UN+HmkZYBccGu4AGIrH3qovLK3JYXeao3n5e3RPUTl5zgUDkwsVl9fA+IuW9DBJGAdin5NzAcfB3BCKRABKB4IXqXnlfka1k0jqm1gKPAMAOYgdBQlhZco0cdkctv00CFByHxJ/BH8/ziLAAJpj+zmBn51Q4ul5WW2Xekd2k85QAj4ZVmHNOQIIwNTUQ3a3vI6LX3yTNDQB65rdOiWyIBFmDBqbC4fBAfGRbP9oaOeqOvj2ftBNWo8OxIUhhE5AgjYH4fKXcKmuK+J+vvnuFd1WuTJ6yn1ZWMCawDdBTTD/ldvxOo6x6R1ji5ZuQEPvpP+qXG1HehD2qSESApYfZkkMfCt0G9xOfZZeI38HqIpfJZKRPfr8uLmt5nucMcPGCEAwKFyhEHo1GB0KAuOPETpicHEpsFXV/M87Iu4+ZDJ9JbdV1v17ck/IcEAhBAXoK7IDZnXIwBAZjiSW3yGmL1Y+ZfD5fa2wWZV0vbkmSACy9KY8D2C8CyFOGnBADd66tb+qnm7EjzxfRkNZ3ni6gIhffSpqmWXrTDjXk91Op1GSKuWPUDe4SbqTXdmTdM9L2UstL0trfFy+eLiCyuaZFTb9lh97DDv2NeULX9e9iW0ukzWBjF42uP2iQiPhrV6tGq9WqqU+BoWGqTxj2a8wN4J8mPAJj38S2ZsyIrxLD+XxgDVEu7owoDv/w8NDwYCJB9JDbdly5ZX9I6RltZGWvSPtyVdOUFaPhy36fzgHoCQkCuXZA3Ol0ugtQOVOPmHR3r2R9LREfI/tZUZQcIgtZ0eeTs9/6c7h8pocc9Pf3Q0/tV64we08Ps48SarXRQq1Q6Ps6DsH/GBFxnESUr6yBr41ZGjD1adBF/QBy2LsBkRcKhbGZsRmD3r7fXpF28cFKTskpXxbGxXby9fHKbGKW+W096CEYesgJvTO9121uXvqwmW1vjvyjjIx5EwXjOPwp+g007gwdHI2YWDXpeMkBF6AmvQ52adKEVHQpLm42jQSkH0AnPZOLLk3Hu4H1kosFx7NXz6lVr0N/7ytCQBz6DCR/As/z8ueQcquR/bQvnxVvfNJ9f6C/DOlvNvZ6mMoMkQh+5O1r++LLxezFG191+JtU3wpOf0L1n73Dl8v1Os9fheDLxUdlJ5KiKNrdsq3r+un971TqEOPktAl9CwGD+E8A0YNKpVIGPE/812dR+MKjkorgR6b/P+lkRT/+fH/BOGu2jEDPcdQe6GGHPx9DtfGs3O6L3H1zdL1JuPl5/+vpyuhTP+f5ff01qFar+XwDFHYRxb9mMjaSRCRnTxBpUQyj7/tB4D+DHn6qZ2MpiCttJ5LcoFlTebFEBP4+LWzP34W+B7+v9/zFeFh1pSnJMNuIaU3TmbVbRgUNDo1Op9Pt8r0eAsF2BJaViD675fw8G6IoqQ9H+yKKZuVkhhk7LGcY6HAcjXTRwB8QRbGhqoIgSKBUIu6ALO3gbglIgvhgmfsipnVMKow9cp3XyUDkQAeQTg8ZgAwgmQgSQQAqkFa7kQMPU8PCSCWRSOA6rrnOfDnIFllBFX1UQEtezQviwwaDwXz+z3Hd2nBqmQdhENlWjqzjtJxhNiRoa23bi/F4PASj0agWYQSGAE8sFra93rwm5+IjQSWXluVMxs98HIZ5724OkRgIYSgMdyp6gRhUD4LJDAIRFRu9l8mx+8os7LAMSMR+/r0fEZpGUCF2zTlGlErqsv69pHREXUcCCbuZolRSkHrdHzRHgVHOJkMk9IhEmNm9pE5xKTeqauZC4QaRAQFS4H/W6I1VXjCIEIVpZOyAVDwnFZ3CGKENXu8NHhT5bLAn8t3gB5tRcTnQFMqEAAAAAElFTkSuQmCC";var Ft={};const Cte="Á",wte="á",_te="Ă",Ste="ă",kte="∾",Pte="∿",Tte="∾̳",Rte="Â",Ete="â",$te="´",Ate="А",Ite="а",Ote="Æ",Mte="æ",zte="⁡",Dte="𝔄",Lte="𝔞",Fte="À",Bte="à",Nte="ℵ",Hte="ℵ",jte="Α",Vte="α",Wte="Ā",Ute="ā",qte="⨿",Kte="&",Gte="&",Yte="⩕",Xte="⩓",Zte="∧",Jte="⩜",Qte="⩘",ene="⩚",tne="∠",nne="⦤",one="∠",rne="⦨",ine="⦩",ane="⦪",sne="⦫",lne="⦬",cne="⦭",une="⦮",dne="⦯",fne="∡",hne="∟",pne="⊾",mne="⦝",gne="∢",vne="Å",bne="⍼",yne="Ą",xne="ą",Cne="𝔸",wne="𝕒",_ne="⩯",Sne="≈",kne="⩰",Pne="≊",Tne="≋",Rne="'",Ene="⁡",$ne="≈",Ane="≊",Ine="Å",One="å",Mne="𝒜",zne="𝒶",Dne="≔",Lne="*",Fne="≈",Bne="≍",Nne="Ã",Hne="ã",jne="Ä",Vne="ä",Wne="∳",Une="⨑",qne="≌",Kne="϶",Gne="‵",Yne="∽",Xne="⋍",Zne="∖",Jne="⫧",Qne="⊽",eoe="⌅",toe="⌆",noe="⌅",ooe="⎵",roe="⎶",ioe="≌",aoe="Б",soe="б",loe="„",coe="∵",uoe="∵",doe="∵",foe="⦰",hoe="϶",poe="ℬ",moe="ℬ",goe="Β",voe="β",boe="ℶ",yoe="≬",xoe="𝔅",Coe="𝔟",woe="⋂",_oe="◯",Soe="⋃",koe="⨀",Poe="⨁",Toe="⨂",Roe="⨆",Eoe="★",$oe="▽",Aoe="△",Ioe="⨄",Ooe="⋁",Moe="⋀",zoe="⤍",Doe="⧫",Loe="▪",Foe="▴",Boe="▾",Noe="◂",Hoe="▸",joe="␣",Voe="▒",Woe="░",Uoe="▓",qoe="█",Koe="=⃥",Goe="≡⃥",Yoe="⫭",Xoe="⌐",Zoe="𝔹",Joe="𝕓",Qoe="⊥",ere="⊥",tre="⋈",nre="⧉",ore="┐",rre="╕",ire="╖",are="╗",sre="┌",lre="╒",cre="╓",ure="╔",dre="─",fre="═",hre="┬",pre="╤",mre="╥",gre="╦",vre="┴",bre="╧",yre="╨",xre="╩",Cre="⊟",wre="⊞",_re="⊠",Sre="┘",kre="╛",Pre="╜",Tre="╝",Rre="└",Ere="╘",$re="╙",Are="╚",Ire="│",Ore="║",Mre="┼",zre="╪",Dre="╫",Lre="╬",Fre="┤",Bre="╡",Nre="╢",Hre="╣",jre="├",Vre="╞",Wre="╟",Ure="╠",qre="‵",Kre="˘",Gre="˘",Yre="¦",Xre="𝒷",Zre="ℬ",Jre="⁏",Qre="∽",eie="⋍",tie="⧅",nie="\\",oie="⟈",rie="•",iie="•",aie="≎",sie="⪮",lie="≏",cie="≎",uie="≏",die="Ć",fie="ć",hie="⩄",pie="⩉",mie="⩋",gie="∩",vie="⋒",bie="⩇",yie="⩀",xie="ⅅ",Cie="∩︀",wie="⁁",_ie="ˇ",Sie="ℭ",kie="⩍",Pie="Č",Tie="č",Rie="Ç",Eie="ç",$ie="Ĉ",Aie="ĉ",Iie="∰",Oie="⩌",Mie="⩐",zie="Ċ",Die="ċ",Lie="¸",Fie="¸",Bie="⦲",Nie="¢",Hie="·",jie="·",Vie="𝔠",Wie="ℭ",Uie="Ч",qie="ч",Kie="✓",Gie="✓",Yie="Χ",Xie="χ",Zie="ˆ",Jie="≗",Qie="↺",eae="↻",tae="⊛",nae="⊚",oae="⊝",rae="⊙",iae="®",aae="Ⓢ",sae="⊖",lae="⊕",cae="⊗",uae="○",dae="⧃",fae="≗",hae="⨐",pae="⫯",mae="⧂",gae="∲",vae="”",bae="’",yae="♣",xae="♣",Cae=":",wae="∷",_ae="⩴",Sae="≔",kae="≔",Pae=",",Tae="@",Rae="∁",Eae="∘",$ae="∁",Aae="ℂ",Iae="≅",Oae="⩭",Mae="≡",zae="∮",Dae="∯",Lae="∮",Fae="𝕔",Bae="ℂ",Nae="∐",Hae="∐",jae="©",Vae="©",Wae="℗",Uae="∳",qae="↵",Kae="✗",Gae="⨯",Yae="𝒞",Xae="𝒸",Zae="⫏",Jae="⫑",Qae="⫐",ese="⫒",tse="⋯",nse="⤸",ose="⤵",rse="⋞",ise="⋟",ase="↶",sse="⤽",lse="⩈",cse="⩆",use="≍",dse="∪",fse="⋓",hse="⩊",pse="⊍",mse="⩅",gse="∪︀",vse="↷",bse="⤼",yse="⋞",xse="⋟",Cse="⋎",wse="⋏",_se="¤",Sse="↶",kse="↷",Pse="⋎",Tse="⋏",Rse="∲",Ese="∱",$se="⌭",Ase="†",Ise="‡",Ose="ℸ",Mse="↓",zse="↡",Dse="⇓",Lse="‐",Fse="⫤",Bse="⊣",Nse="⤏",Hse="˝",jse="Ď",Vse="ď",Wse="Д",Use="д",qse="‡",Kse="⇊",Gse="ⅅ",Yse="ⅆ",Xse="⤑",Zse="⩷",Jse="°",Qse="∇",ele="Δ",tle="δ",nle="⦱",ole="⥿",rle="𝔇",ile="𝔡",ale="⥥",sle="⇃",lle="⇂",cle="´",ule="˙",dle="˝",fle="`",hle="˜",ple="⋄",mle="⋄",gle="⋄",vle="♦",ble="♦",yle="¨",xle="ⅆ",Cle="ϝ",wle="⋲",_le="÷",Sle="÷",kle="⋇",Ple="⋇",Tle="Ђ",Rle="ђ",Ele="⌞",$le="⌍",Ale="$",Ile="𝔻",Ole="𝕕",Mle="¨",zle="˙",Dle="⃜",Lle="≐",Fle="≑",Ble="≐",Nle="∸",Hle="∔",jle="⊡",Vle="⌆",Wle="∯",Ule="¨",qle="⇓",Kle="⇐",Gle="⇔",Yle="⫤",Xle="⟸",Zle="⟺",Jle="⟹",Qle="⇒",ece="⊨",tce="⇑",nce="⇕",oce="∥",rce="⤓",ice="↓",ace="↓",sce="⇓",lce="⇵",cce="̑",uce="⇊",dce="⇃",fce="⇂",hce="⥐",pce="⥞",mce="⥖",gce="↽",vce="⥟",bce="⥗",yce="⇁",xce="↧",Cce="⊤",wce="⤐",_ce="⌟",Sce="⌌",kce="𝒟",Pce="𝒹",Tce="Ѕ",Rce="ѕ",Ece="⧶",$ce="Đ",Ace="đ",Ice="⋱",Oce="▿",Mce="▾",zce="⇵",Dce="⥯",Lce="⦦",Fce="Џ",Bce="џ",Nce="⟿",Hce="É",jce="é",Vce="⩮",Wce="Ě",Uce="ě",qce="Ê",Kce="ê",Gce="≖",Yce="≕",Xce="Э",Zce="э",Jce="⩷",Qce="Ė",eue="ė",tue="≑",nue="ⅇ",oue="≒",rue="𝔈",iue="𝔢",aue="⪚",sue="È",lue="è",cue="⪖",uue="⪘",due="⪙",fue="∈",hue="⏧",pue="ℓ",mue="⪕",gue="⪗",vue="Ē",bue="ē",yue="∅",xue="∅",Cue="◻",wue="∅",_ue="▫",Sue=" ",kue=" ",Pue=" ",Tue="Ŋ",Rue="ŋ",Eue=" ",$ue="Ę",Aue="ę",Iue="𝔼",Oue="𝕖",Mue="⋕",zue="⧣",Due="⩱",Lue="ε",Fue="Ε",Bue="ε",Nue="ϵ",Hue="≖",jue="≕",Vue="≂",Wue="⪖",Uue="⪕",que="⩵",Kue="=",Gue="≂",Yue="≟",Xue="⇌",Zue="≡",Jue="⩸",Que="⧥",ede="⥱",tde="≓",nde="ℯ",ode="ℰ",rde="≐",ide="⩳",ade="≂",sde="Η",lde="η",cde="Ð",ude="ð",dde="Ë",fde="ë",hde="€",pde="!",mde="∃",gde="∃",vde="ℰ",bde="ⅇ",yde="ⅇ",xde="≒",Cde="Ф",wde="ф",_de="♀",Sde="ffi",kde="ff",Pde="ffl",Tde="𝔉",Rde="𝔣",Ede="fi",$de="◼",Ade="▪",Ide="fj",Ode="♭",Mde="fl",zde="▱",Dde="ƒ",Lde="𝔽",Fde="𝕗",Bde="∀",Nde="∀",Hde="⋔",jde="⫙",Vde="ℱ",Wde="⨍",Ude="½",qde="⅓",Kde="¼",Gde="⅕",Yde="⅙",Xde="⅛",Zde="⅔",Jde="⅖",Qde="¾",efe="⅗",tfe="⅜",nfe="⅘",ofe="⅚",rfe="⅝",ife="⅞",afe="⁄",sfe="⌢",lfe="𝒻",cfe="ℱ",ufe="ǵ",dfe="Γ",ffe="γ",hfe="Ϝ",pfe="ϝ",mfe="⪆",gfe="Ğ",vfe="ğ",bfe="Ģ",yfe="Ĝ",xfe="ĝ",Cfe="Г",wfe="г",_fe="Ġ",Sfe="ġ",kfe="≥",Pfe="≧",Tfe="⪌",Rfe="⋛",Efe="≥",$fe="≧",Afe="⩾",Ife="⪩",Ofe="⩾",Mfe="⪀",zfe="⪂",Dfe="⪄",Lfe="⋛︀",Ffe="⪔",Bfe="𝔊",Nfe="𝔤",Hfe="≫",jfe="⋙",Vfe="⋙",Wfe="ℷ",Ufe="Ѓ",qfe="ѓ",Kfe="⪥",Gfe="≷",Yfe="⪒",Xfe="⪤",Zfe="⪊",Jfe="⪊",Qfe="⪈",ehe="≩",the="⪈",nhe="≩",ohe="⋧",rhe="𝔾",ihe="𝕘",ahe="`",she="≥",lhe="⋛",che="≧",uhe="⪢",dhe="≷",fhe="⩾",hhe="≳",phe="𝒢",mhe="ℊ",ghe="≳",vhe="⪎",bhe="⪐",yhe="⪧",xhe="⩺",Che=">",whe=">",_he="≫",She="⋗",khe="⦕",Phe="⩼",The="⪆",Rhe="⥸",Ehe="⋗",$he="⋛",Ahe="⪌",Ihe="≷",Ohe="≳",Mhe="≩︀",zhe="≩︀",Dhe="ˇ",Lhe=" ",Fhe="½",Bhe="ℋ",Nhe="Ъ",Hhe="ъ",jhe="⥈",Vhe="↔",Whe="⇔",Uhe="↭",qhe="^",Khe="ℏ",Ghe="Ĥ",Yhe="ĥ",Xhe="♥",Zhe="♥",Jhe="…",Qhe="⊹",epe="𝔥",tpe="ℌ",npe="ℋ",ope="⤥",rpe="⤦",ipe="⇿",ape="∻",spe="↩",lpe="↪",cpe="𝕙",upe="ℍ",dpe="―",fpe="─",hpe="𝒽",ppe="ℋ",mpe="ℏ",gpe="Ħ",vpe="ħ",bpe="≎",ype="≏",xpe="⁃",Cpe="‐",wpe="Í",_pe="í",Spe="⁣",kpe="Î",Ppe="î",Tpe="И",Rpe="и",Epe="İ",$pe="Е",Ape="е",Ipe="¡",Ope="⇔",Mpe="𝔦",zpe="ℑ",Dpe="Ì",Lpe="ì",Fpe="ⅈ",Bpe="⨌",Npe="∭",Hpe="⧜",jpe="℩",Vpe="IJ",Wpe="ij",Upe="Ī",qpe="ī",Kpe="ℑ",Gpe="ⅈ",Ype="ℐ",Xpe="ℑ",Zpe="ı",Jpe="ℑ",Qpe="⊷",eme="Ƶ",tme="⇒",nme="℅",ome="∞",rme="⧝",ime="ı",ame="⊺",sme="∫",lme="∬",cme="ℤ",ume="∫",dme="⊺",fme="⋂",hme="⨗",pme="⨼",mme="⁣",gme="⁢",vme="Ё",bme="ё",yme="Į",xme="į",Cme="𝕀",wme="𝕚",_me="Ι",Sme="ι",kme="⨼",Pme="¿",Tme="𝒾",Rme="ℐ",Eme="∈",$me="⋵",Ame="⋹",Ime="⋴",Ome="⋳",Mme="∈",zme="⁢",Dme="Ĩ",Lme="ĩ",Fme="І",Bme="і",Nme="Ï",Hme="ï",jme="Ĵ",Vme="ĵ",Wme="Й",Ume="й",qme="𝔍",Kme="𝔧",Gme="ȷ",Yme="𝕁",Xme="𝕛",Zme="𝒥",Jme="𝒿",Qme="Ј",ege="ј",tge="Є",nge="є",oge="Κ",rge="κ",ige="ϰ",age="Ķ",sge="ķ",lge="К",cge="к",uge="𝔎",dge="𝔨",fge="ĸ",hge="Х",pge="х",mge="Ќ",gge="ќ",vge="𝕂",bge="𝕜",yge="𝒦",xge="𝓀",Cge="⇚",wge="Ĺ",_ge="ĺ",Sge="⦴",kge="ℒ",Pge="Λ",Tge="λ",Rge="⟨",Ege="⟪",$ge="⦑",Age="⟨",Ige="⪅",Oge="ℒ",Mge="«",zge="⇤",Dge="⤟",Lge="←",Fge="↞",Bge="⇐",Nge="⤝",Hge="↩",jge="↫",Vge="⤹",Wge="⥳",Uge="↢",qge="⤙",Kge="⤛",Gge="⪫",Yge="⪭",Xge="⪭︀",Zge="⤌",Jge="⤎",Qge="❲",eve="{",tve="[",nve="⦋",ove="⦏",rve="⦍",ive="Ľ",ave="ľ",sve="Ļ",lve="ļ",cve="⌈",uve="{",dve="Л",fve="л",hve="⤶",pve="“",mve="„",gve="⥧",vve="⥋",bve="↲",yve="≤",xve="≦",Cve="⟨",wve="⇤",_ve="←",Sve="←",kve="⇐",Pve="⇆",Tve="↢",Rve="⌈",Eve="⟦",$ve="⥡",Ave="⥙",Ive="⇃",Ove="⌊",Mve="↽",zve="↼",Dve="⇇",Lve="↔",Fve="↔",Bve="⇔",Nve="⇆",Hve="⇋",jve="↭",Vve="⥎",Wve="↤",Uve="⊣",qve="⥚",Kve="⋋",Gve="⧏",Yve="⊲",Xve="⊴",Zve="⥑",Jve="⥠",Qve="⥘",ebe="↿",tbe="⥒",nbe="↼",obe="⪋",rbe="⋚",ibe="≤",abe="≦",sbe="⩽",lbe="⪨",cbe="⩽",ube="⩿",dbe="⪁",fbe="⪃",hbe="⋚︀",pbe="⪓",mbe="⪅",gbe="⋖",vbe="⋚",bbe="⪋",ybe="⋚",xbe="≦",Cbe="≶",wbe="≶",_be="⪡",Sbe="≲",kbe="⩽",Pbe="≲",Tbe="⥼",Rbe="⌊",Ebe="𝔏",$be="𝔩",Abe="≶",Ibe="⪑",Obe="⥢",Mbe="↽",zbe="↼",Dbe="⥪",Lbe="▄",Fbe="Љ",Bbe="љ",Nbe="⇇",Hbe="≪",jbe="⋘",Vbe="⌞",Wbe="⇚",Ube="⥫",qbe="◺",Kbe="Ŀ",Gbe="ŀ",Ybe="⎰",Xbe="⎰",Zbe="⪉",Jbe="⪉",Qbe="⪇",e0e="≨",t0e="⪇",n0e="≨",o0e="⋦",r0e="⟬",i0e="⇽",a0e="⟦",s0e="⟵",l0e="⟵",c0e="⟸",u0e="⟷",d0e="⟷",f0e="⟺",h0e="⟼",p0e="⟶",m0e="⟶",g0e="⟹",v0e="↫",b0e="↬",y0e="⦅",x0e="𝕃",C0e="𝕝",w0e="⨭",_0e="⨴",S0e="∗",k0e="_",P0e="↙",T0e="↘",R0e="◊",E0e="◊",$0e="⧫",A0e="(",I0e="⦓",O0e="⇆",M0e="⌟",z0e="⇋",D0e="⥭",L0e="‎",F0e="⊿",B0e="‹",N0e="𝓁",H0e="ℒ",j0e="↰",V0e="↰",W0e="≲",U0e="⪍",q0e="⪏",K0e="[",G0e="‘",Y0e="‚",X0e="Ł",Z0e="ł",J0e="⪦",Q0e="⩹",e1e="<",t1e="<",n1e="≪",o1e="⋖",r1e="⋋",i1e="⋉",a1e="⥶",s1e="⩻",l1e="◃",c1e="⊴",u1e="◂",d1e="⦖",f1e="⥊",h1e="⥦",p1e="≨︀",m1e="≨︀",g1e="¯",v1e="♂",b1e="✠",y1e="✠",x1e="↦",C1e="↦",w1e="↧",_1e="↤",S1e="↥",k1e="▮",P1e="⨩",T1e="М",R1e="м",E1e="—",$1e="∺",A1e="∡",I1e=" ",O1e="ℳ",M1e="𝔐",z1e="𝔪",D1e="℧",L1e="µ",F1e="*",B1e="⫰",N1e="∣",H1e="·",j1e="⊟",V1e="−",W1e="∸",U1e="⨪",q1e="∓",K1e="⫛",G1e="…",Y1e="∓",X1e="⊧",Z1e="𝕄",J1e="𝕞",Q1e="∓",eye="𝓂",tye="ℳ",nye="∾",oye="Μ",rye="μ",iye="⊸",aye="⊸",sye="∇",lye="Ń",cye="ń",uye="∠⃒",dye="≉",fye="⩰̸",hye="≋̸",pye="ʼn",mye="≉",gye="♮",vye="ℕ",bye="♮",yye=" ",xye="≎̸",Cye="≏̸",wye="⩃",_ye="Ň",Sye="ň",kye="Ņ",Pye="ņ",Tye="≇",Rye="⩭̸",Eye="⩂",$ye="Н",Aye="н",Iye="–",Oye="⤤",Mye="↗",zye="⇗",Dye="↗",Lye="≠",Fye="≐̸",Bye="​",Nye="​",Hye="​",jye="​",Vye="≢",Wye="⤨",Uye="≂̸",qye="≫",Kye="≪",Gye=`
`,Yye="∄",Xye="∄",Zye="𝔑",Jye="𝔫",Qye="≧̸",exe="≱",txe="≱",nxe="≧̸",oxe="⩾̸",rxe="⩾̸",ixe="⋙̸",axe="≵",sxe="≫⃒",lxe="≯",cxe="≯",uxe="≫̸",dxe="↮",fxe="⇎",hxe="⫲",pxe="∋",mxe="⋼",gxe="⋺",vxe="∋",bxe="Њ",yxe="њ",xxe="↚",Cxe="⇍",wxe="‥",_xe="≦̸",Sxe="≰",kxe="↚",Pxe="⇍",Txe="↮",Rxe="⇎",Exe="≰",$xe="≦̸",Axe="⩽̸",Ixe="⩽̸",Oxe="≮",Mxe="⋘̸",zxe="≴",Dxe="≪⃒",Lxe="≮",Fxe="⋪",Bxe="⋬",Nxe="≪̸",Hxe="∤",jxe="⁠",Vxe=" ",Wxe="𝕟",Uxe="ℕ",qxe="⫬",Kxe="¬",Gxe="≢",Yxe="≭",Xxe="∦",Zxe="∉",Jxe="≠",Qxe="≂̸",eCe="∄",tCe="≯",nCe="≱",oCe="≧̸",rCe="≫̸",iCe="≹",aCe="⩾̸",sCe="≵",lCe="≎̸",cCe="≏̸",uCe="∉",dCe="⋵̸",fCe="⋹̸",hCe="∉",pCe="⋷",mCe="⋶",gCe="⧏̸",vCe="⋪",bCe="⋬",yCe="≮",xCe="≰",CCe="≸",wCe="≪̸",_Ce="⩽̸",SCe="≴",kCe="⪢̸",PCe="⪡̸",TCe="∌",RCe="∌",ECe="⋾",$Ce="⋽",ACe="⊀",ICe="⪯̸",OCe="⋠",MCe="∌",zCe="⧐̸",DCe="⋫",LCe="⋭",FCe="⊏̸",BCe="⋢",NCe="⊐̸",HCe="⋣",jCe="⊂⃒",VCe="⊈",WCe="⊁",UCe="⪰̸",qCe="⋡",KCe="≿̸",GCe="⊃⃒",YCe="⊉",XCe="≁",ZCe="≄",JCe="≇",QCe="≉",ewe="∤",twe="∦",nwe="∦",owe="⫽⃥",rwe="∂̸",iwe="⨔",awe="⊀",swe="⋠",lwe="⊀",cwe="⪯̸",uwe="⪯̸",dwe="⤳̸",fwe="↛",hwe="⇏",pwe="↝̸",mwe="↛",gwe="⇏",vwe="⋫",bwe="⋭",ywe="⊁",xwe="⋡",Cwe="⪰̸",wwe="𝒩",_we="𝓃",Swe="∤",kwe="∦",Pwe="≁",Twe="≄",Rwe="≄",Ewe="∤",$we="∦",Awe="⋢",Iwe="⋣",Owe="⊄",Mwe="⫅̸",zwe="⊈",Dwe="⊂⃒",Lwe="⊈",Fwe="⫅̸",Bwe="⊁",Nwe="⪰̸",Hwe="⊅",jwe="⫆̸",Vwe="⊉",Wwe="⊃⃒",Uwe="⊉",qwe="⫆̸",Kwe="≹",Gwe="Ñ",Ywe="ñ",Xwe="≸",Zwe="⋪",Jwe="⋬",Qwe="⋫",e_e="⋭",t_e="Ν",n_e="ν",o_e="#",r_e="№",i_e=" ",a_e="≍⃒",s_e="⊬",l_e="⊭",c_e="⊮",u_e="⊯",d_e="≥⃒",f_e=">⃒",h_e="⤄",p_e="⧞",m_e="⤂",g_e="≤⃒",v_e="<⃒",b_e="⊴⃒",y_e="⤃",x_e="⊵⃒",C_e="∼⃒",w_e="⤣",__e="↖",S_e="⇖",k_e="↖",P_e="⤧",T_e="Ó",R_e="ó",E_e="⊛",$_e="Ô",A_e="ô",I_e="⊚",O_e="О",M_e="о",z_e="⊝",D_e="Ő",L_e="ő",F_e="⨸",B_e="⊙",N_e="⦼",H_e="Œ",j_e="œ",V_e="⦿",W_e="𝔒",U_e="𝔬",q_e="˛",K_e="Ò",G_e="ò",Y_e="⧁",X_e="⦵",Z_e="Ω",J_e="∮",Q_e="↺",e2e="⦾",t2e="⦻",n2e="‾",o2e="⧀",r2e="Ō",i2e="ō",a2e="Ω",s2e="ω",l2e="Ο",c2e="ο",u2e="⦶",d2e="⊖",f2e="𝕆",h2e="𝕠",p2e="⦷",m2e="“",g2e="‘",v2e="⦹",b2e="⊕",y2e="↻",x2e="⩔",C2e="∨",w2e="⩝",_2e="ℴ",S2e="ℴ",k2e="ª",P2e="º",T2e="⊶",R2e="⩖",E2e="⩗",$2e="⩛",A2e="Ⓢ",I2e="𝒪",O2e="ℴ",M2e="Ø",z2e="ø",D2e="⊘",L2e="Õ",F2e="õ",B2e="⨶",N2e="⨷",H2e="⊗",j2e="Ö",V2e="ö",W2e="⌽",U2e="‾",q2e="⏞",K2e="⎴",G2e="⏜",Y2e="¶",X2e="∥",Z2e="∥",J2e="⫳",Q2e="⫽",eSe="∂",tSe="∂",nSe="П",oSe="п",rSe="%",iSe=".",aSe="‰",sSe="⊥",lSe="‱",cSe="𝔓",uSe="𝔭",dSe="Φ",fSe="φ",hSe="ϕ",pSe="ℳ",mSe="☎",gSe="Π",vSe="π",bSe="⋔",ySe="ϖ",xSe="ℏ",CSe="ℎ",wSe="ℏ",_Se="⨣",SSe="⊞",kSe="⨢",PSe="+",TSe="∔",RSe="⨥",ESe="⩲",$Se="±",ASe="±",ISe="⨦",OSe="⨧",MSe="±",zSe="ℌ",DSe="⨕",LSe="𝕡",FSe="ℙ",BSe="£",NSe="⪷",HSe="⪻",jSe="≺",VSe="≼",WSe="⪷",USe="≺",qSe="≼",KSe="≺",GSe="⪯",YSe="≼",XSe="≾",ZSe="⪯",JSe="⪹",QSe="⪵",eke="⋨",tke="⪯",nke="⪳",oke="≾",rke="′",ike="″",ake="ℙ",ske="⪹",lke="⪵",cke="⋨",uke="∏",dke="∏",fke="⌮",hke="⌒",pke="⌓",mke="∝",gke="∝",vke="∷",bke="∝",yke="≾",xke="⊰",Cke="𝒫",wke="𝓅",_ke="Ψ",Ske="ψ",kke=" ",Pke="𝔔",Tke="𝔮",Rke="⨌",Eke="𝕢",$ke="ℚ",Ake="⁗",Ike="𝒬",Oke="𝓆",Mke="ℍ",zke="⨖",Dke="?",Lke="≟",Fke='"',Bke='"',Nke="⇛",Hke="∽̱",jke="Ŕ",Vke="ŕ",Wke="√",Uke="⦳",qke="⟩",Kke="⟫",Gke="⦒",Yke="⦥",Xke="⟩",Zke="»",Jke="⥵",Qke="⇥",e3e="⤠",t3e="⤳",n3e="→",o3e="↠",r3e="⇒",i3e="⤞",a3e="↪",s3e="↬",l3e="⥅",c3e="⥴",u3e="⤖",d3e="↣",f3e="↝",h3e="⤚",p3e="⤜",m3e="∶",g3e="ℚ",v3e="⤍",b3e="⤏",y3e="⤐",x3e="❳",C3e="}",w3e="]",_3e="⦌",S3e="⦎",k3e="⦐",P3e="Ř",T3e="ř",R3e="Ŗ",E3e="ŗ",$3e="⌉",A3e="}",I3e="Р",O3e="р",M3e="⤷",z3e="⥩",D3e="”",L3e="”",F3e="↳",B3e="ℜ",N3e="ℛ",H3e="ℜ",j3e="ℝ",V3e="ℜ",W3e="▭",U3e="®",q3e="®",K3e="∋",G3e="⇋",Y3e="⥯",X3e="⥽",Z3e="⌋",J3e="𝔯",Q3e="ℜ",e4e="⥤",t4e="⇁",n4e="⇀",o4e="⥬",r4e="Ρ",i4e="ρ",a4e="ϱ",s4e="⟩",l4e="⇥",c4e="→",u4e="→",d4e="⇒",f4e="⇄",h4e="↣",p4e="⌉",m4e="⟧",g4e="⥝",v4e="⥕",b4e="⇂",y4e="⌋",x4e="⇁",C4e="⇀",w4e="⇄",_4e="⇌",S4e="⇉",k4e="↝",P4e="↦",T4e="⊢",R4e="⥛",E4e="⋌",$4e="⧐",A4e="⊳",I4e="⊵",O4e="⥏",M4e="⥜",z4e="⥔",D4e="↾",L4e="⥓",F4e="⇀",B4e="˚",N4e="≓",H4e="⇄",j4e="⇌",V4e="‏",W4e="⎱",U4e="⎱",q4e="⫮",K4e="⟭",G4e="⇾",Y4e="⟧",X4e="⦆",Z4e="𝕣",J4e="ℝ",Q4e="⨮",ePe="⨵",tPe="⥰",nPe=")",oPe="⦔",rPe="⨒",iPe="⇉",aPe="⇛",sPe="›",lPe="𝓇",cPe="ℛ",uPe="↱",dPe="↱",fPe="]",hPe="’",pPe="’",mPe="⋌",gPe="⋊",vPe="▹",bPe="⊵",yPe="▸",xPe="⧎",CPe="⧴",wPe="⥨",_Pe="℞",SPe="Ś",kPe="ś",PPe="‚",TPe="⪸",RPe="Š",EPe="š",$Pe="⪼",APe="≻",IPe="≽",OPe="⪰",MPe="⪴",zPe="Ş",DPe="ş",LPe="Ŝ",FPe="ŝ",BPe="⪺",NPe="⪶",HPe="⋩",jPe="⨓",VPe="≿",WPe="С",UPe="с",qPe="⊡",KPe="⋅",GPe="⩦",YPe="⤥",XPe="↘",ZPe="⇘",JPe="↘",QPe="§",eTe=";",tTe="⤩",nTe="∖",oTe="∖",rTe="✶",iTe="𝔖",aTe="𝔰",sTe="⌢",lTe="♯",cTe="Щ",uTe="щ",dTe="Ш",fTe="ш",hTe="↓",pTe="←",mTe="∣",gTe="∥",vTe="→",bTe="↑",yTe="­",xTe="Σ",CTe="σ",wTe="ς",_Te="ς",STe="∼",kTe="⩪",PTe="≃",TTe="≃",RTe="⪞",ETe="⪠",$Te="⪝",ATe="⪟",ITe="≆",OTe="⨤",MTe="⥲",zTe="←",DTe="∘",LTe="∖",FTe="⨳",BTe="⧤",NTe="∣",HTe="⌣",jTe="⪪",VTe="⪬",WTe="⪬︀",UTe="Ь",qTe="ь",KTe="⌿",GTe="⧄",YTe="/",XTe="𝕊",ZTe="𝕤",JTe="♠",QTe="♠",e5e="∥",t5e="⊓",n5e="⊓︀",o5e="⊔",r5e="⊔︀",i5e="√",a5e="⊏",s5e="⊑",l5e="⊏",c5e="⊑",u5e="⊐",d5e="⊒",f5e="⊐",h5e="⊒",p5e="□",m5e="□",g5e="⊓",v5e="⊏",b5e="⊑",y5e="⊐",x5e="⊒",C5e="⊔",w5e="▪",_5e="□",S5e="▪",k5e="→",P5e="𝒮",T5e="𝓈",R5e="∖",E5e="⌣",$5e="⋆",A5e="⋆",I5e="☆",O5e="★",M5e="ϵ",z5e="ϕ",D5e="¯",L5e="⊂",F5e="⋐",B5e="⪽",N5e="⫅",H5e="⊆",j5e="⫃",V5e="⫁",W5e="⫋",U5e="⊊",q5e="⪿",K5e="⥹",G5e="⊂",Y5e="⋐",X5e="⊆",Z5e="⫅",J5e="⊆",Q5e="⊊",eRe="⫋",tRe="⫇",nRe="⫕",oRe="⫓",rRe="⪸",iRe="≻",aRe="≽",sRe="≻",lRe="⪰",cRe="≽",uRe="≿",dRe="⪰",fRe="⪺",hRe="⪶",pRe="⋩",mRe="≿",gRe="∋",vRe="∑",bRe="∑",yRe="♪",xRe="¹",CRe="²",wRe="³",_Re="⊃",SRe="⋑",kRe="⪾",PRe="⫘",TRe="⫆",RRe="⊇",ERe="⫄",$Re="⊃",ARe="⊇",IRe="⟉",ORe="⫗",MRe="⥻",zRe="⫂",DRe="⫌",LRe="⊋",FRe="⫀",BRe="⊃",NRe="⋑",HRe="⊇",jRe="⫆",VRe="⊋",WRe="⫌",URe="⫈",qRe="⫔",KRe="⫖",GRe="⤦",YRe="↙",XRe="⇙",ZRe="↙",JRe="⤪",QRe="ß",eEe=" ",tEe="⌖",nEe="Τ",oEe="τ",rEe="⎴",iEe="Ť",aEe="ť",sEe="Ţ",lEe="ţ",cEe="Т",uEe="т",dEe="⃛",fEe="⌕",hEe="𝔗",pEe="𝔱",mEe="∴",gEe="∴",vEe="∴",bEe="Θ",yEe="θ",xEe="ϑ",CEe="ϑ",wEe="≈",_Ee="∼",SEe="  ",kEe=" ",PEe=" ",TEe="≈",REe="∼",EEe="Þ",$Ee="þ",AEe="˜",IEe="∼",OEe="≃",MEe="≅",zEe="≈",DEe="⨱",LEe="⊠",FEe="×",BEe="⨰",NEe="∭",HEe="⤨",jEe="⌶",VEe="⫱",WEe="⊤",UEe="𝕋",qEe="𝕥",KEe="⫚",GEe="⤩",YEe="‴",XEe="™",ZEe="™",JEe="▵",QEe="▿",e$e="◃",t$e="⊴",n$e="≜",o$e="▹",r$e="⊵",i$e="◬",a$e="≜",s$e="⨺",l$e="⃛",c$e="⨹",u$e="⧍",d$e="⨻",f$e="⏢",h$e="𝒯",p$e="𝓉",m$e="Ц",g$e="ц",v$e="Ћ",b$e="ћ",y$e="Ŧ",x$e="ŧ",C$e="≬",w$e="↞",_$e="↠",S$e="Ú",k$e="ú",P$e="↑",T$e="↟",R$e="⇑",E$e="⥉",$$e="Ў",A$e="ў",I$e="Ŭ",O$e="ŭ",M$e="Û",z$e="û",D$e="У",L$e="у",F$e="⇅",B$e="Ű",N$e="ű",H$e="⥮",j$e="⥾",V$e="𝔘",W$e="𝔲",U$e="Ù",q$e="ù",K$e="⥣",G$e="↿",Y$e="↾",X$e="▀",Z$e="⌜",J$e="⌜",Q$e="⌏",eAe="◸",tAe="Ū",nAe="ū",oAe="¨",rAe="_",iAe="⏟",aAe="⎵",sAe="⏝",lAe="⋃",cAe="⊎",uAe="Ų",dAe="ų",fAe="𝕌",hAe="𝕦",pAe="⤒",mAe="↑",gAe="↑",vAe="⇑",bAe="⇅",yAe="↕",xAe="↕",CAe="⇕",wAe="⥮",_Ae="↿",SAe="↾",kAe="⊎",PAe="↖",TAe="↗",RAe="υ",EAe="ϒ",$Ae="ϒ",AAe="Υ",IAe="υ",OAe="↥",MAe="⊥",zAe="⇈",DAe="⌝",LAe="⌝",FAe="⌎",BAe="Ů",NAe="ů",HAe="◹",jAe="𝒰",VAe="𝓊",WAe="⋰",UAe="Ũ",qAe="ũ",KAe="▵",GAe="▴",YAe="⇈",XAe="Ü",ZAe="ü",JAe="⦧",QAe="⦜",e6e="ϵ",t6e="ϰ",n6e="∅",o6e="ϕ",r6e="ϖ",i6e="∝",a6e="↕",s6e="⇕",l6e="ϱ",c6e="ς",u6e="⊊︀",d6e="⫋︀",f6e="⊋︀",h6e="⫌︀",p6e="ϑ",m6e="⊲",g6e="⊳",v6e="⫨",b6e="⫫",y6e="⫩",x6e="В",C6e="в",w6e="⊢",_6e="⊨",S6e="⊩",k6e="⊫",P6e="⫦",T6e="⊻",R6e="∨",E6e="⋁",$6e="≚",A6e="⋮",I6e="|",O6e="‖",M6e="|",z6e="‖",D6e="∣",L6e="|",F6e="❘",B6e="≀",N6e=" ",H6e="𝔙",j6e="𝔳",V6e="⊲",W6e="⊂⃒",U6e="⊃⃒",q6e="𝕍",K6e="𝕧",G6e="∝",Y6e="⊳",X6e="𝒱",Z6e="𝓋",J6e="⫋︀",Q6e="⊊︀",e8e="⫌︀",t8e="⊋︀",n8e="⊪",o8e="⦚",r8e="Ŵ",i8e="ŵ",a8e="⩟",s8e="∧",l8e="⋀",c8e="≙",u8e="℘",d8e="𝔚",f8e="𝔴",h8e="𝕎",p8e="𝕨",m8e="℘",g8e="≀",v8e="≀",b8e="𝒲",y8e="𝓌",x8e="⋂",C8e="◯",w8e="⋃",_8e="▽",S8e="𝔛",k8e="𝔵",P8e="⟷",T8e="⟺",R8e="Ξ",E8e="ξ",$8e="⟵",A8e="⟸",I8e="⟼",O8e="⋻",M8e="⨀",z8e="𝕏",D8e="𝕩",L8e="⨁",F8e="⨂",B8e="⟶",N8e="⟹",H8e="𝒳",j8e="𝓍",V8e="⨆",W8e="⨄",U8e="△",q8e="⋁",K8e="⋀",G8e="Ý",Y8e="ý",X8e="Я",Z8e="я",J8e="Ŷ",Q8e="ŷ",eIe="Ы",tIe="ы",nIe="¥",oIe="𝔜",rIe="𝔶",iIe="Ї",aIe="ї",sIe="𝕐",lIe="𝕪",cIe="𝒴",uIe="𝓎",dIe="Ю",fIe="ю",hIe="ÿ",pIe="Ÿ",mIe="Ź",gIe="ź",vIe="Ž",bIe="ž",yIe="З",xIe="з",CIe="Ż",wIe="ż",_Ie="ℨ",SIe="​",kIe="Ζ",PIe="ζ",TIe="𝔷",RIe="ℨ",EIe="Ж",$Ie="ж",AIe="⇝",IIe="𝕫",OIe="ℤ",MIe="𝒵",zIe="𝓏",DIe="‍",LIe="‌",FIe={Aacute:Cte,aacute:wte,Abreve:_te,abreve:Ste,ac:kte,acd:Pte,acE:Tte,Acirc:Rte,acirc:Ete,acute:$te,Acy:Ate,acy:Ite,AElig:Ote,aelig:Mte,af:zte,Afr:Dte,afr:Lte,Agrave:Fte,agrave:Bte,alefsym:Nte,aleph:Hte,Alpha:jte,alpha:Vte,Amacr:Wte,amacr:Ute,amalg:qte,amp:Kte,AMP:Gte,andand:Yte,And:Xte,and:Zte,andd:Jte,andslope:Qte,andv:ene,ang:tne,ange:nne,angle:one,angmsdaa:rne,angmsdab:ine,angmsdac:ane,angmsdad:sne,angmsdae:lne,angmsdaf:cne,angmsdag:une,angmsdah:dne,angmsd:fne,angrt:hne,angrtvb:pne,angrtvbd:mne,angsph:gne,angst:vne,angzarr:bne,Aogon:yne,aogon:xne,Aopf:Cne,aopf:wne,apacir:_ne,ap:Sne,apE:kne,ape:Pne,apid:Tne,apos:Rne,ApplyFunction:Ene,approx:$ne,approxeq:Ane,Aring:Ine,aring:One,Ascr:Mne,ascr:zne,Assign:Dne,ast:Lne,asymp:Fne,asympeq:Bne,Atilde:Nne,atilde:Hne,Auml:jne,auml:Vne,awconint:Wne,awint:Une,backcong:qne,backepsilon:Kne,backprime:Gne,backsim:Yne,backsimeq:Xne,Backslash:Zne,Barv:Jne,barvee:Qne,barwed:eoe,Barwed:toe,barwedge:noe,bbrk:ooe,bbrktbrk:roe,bcong:ioe,Bcy:aoe,bcy:soe,bdquo:loe,becaus:coe,because:uoe,Because:doe,bemptyv:foe,bepsi:hoe,bernou:poe,Bernoullis:moe,Beta:goe,beta:voe,beth:boe,between:yoe,Bfr:xoe,bfr:Coe,bigcap:woe,bigcirc:_oe,bigcup:Soe,bigodot:koe,bigoplus:Poe,bigotimes:Toe,bigsqcup:Roe,bigstar:Eoe,bigtriangledown:$oe,bigtriangleup:Aoe,biguplus:Ioe,bigvee:Ooe,bigwedge:Moe,bkarow:zoe,blacklozenge:Doe,blacksquare:Loe,blacktriangle:Foe,blacktriangledown:Boe,blacktriangleleft:Noe,blacktriangleright:Hoe,blank:joe,blk12:Voe,blk14:Woe,blk34:Uoe,block:qoe,bne:Koe,bnequiv:Goe,bNot:Yoe,bnot:Xoe,Bopf:Zoe,bopf:Joe,bot:Qoe,bottom:ere,bowtie:tre,boxbox:nre,boxdl:ore,boxdL:rre,boxDl:ire,boxDL:are,boxdr:sre,boxdR:lre,boxDr:cre,boxDR:ure,boxh:dre,boxH:fre,boxhd:hre,boxHd:pre,boxhD:mre,boxHD:gre,boxhu:vre,boxHu:bre,boxhU:yre,boxHU:xre,boxminus:Cre,boxplus:wre,boxtimes:_re,boxul:Sre,boxuL:kre,boxUl:Pre,boxUL:Tre,boxur:Rre,boxuR:Ere,boxUr:$re,boxUR:Are,boxv:Ire,boxV:Ore,boxvh:Mre,boxvH:zre,boxVh:Dre,boxVH:Lre,boxvl:Fre,boxvL:Bre,boxVl:Nre,boxVL:Hre,boxvr:jre,boxvR:Vre,boxVr:Wre,boxVR:Ure,bprime:qre,breve:Kre,Breve:Gre,brvbar:Yre,bscr:Xre,Bscr:Zre,bsemi:Jre,bsim:Qre,bsime:eie,bsolb:tie,bsol:nie,bsolhsub:oie,bull:rie,bullet:iie,bump:aie,bumpE:sie,bumpe:lie,Bumpeq:cie,bumpeq:uie,Cacute:die,cacute:fie,capand:hie,capbrcup:pie,capcap:mie,cap:gie,Cap:vie,capcup:bie,capdot:yie,CapitalDifferentialD:xie,caps:Cie,caret:wie,caron:_ie,Cayleys:Sie,ccaps:kie,Ccaron:Pie,ccaron:Tie,Ccedil:Rie,ccedil:Eie,Ccirc:$ie,ccirc:Aie,Cconint:Iie,ccups:Oie,ccupssm:Mie,Cdot:zie,cdot:Die,cedil:Lie,Cedilla:Fie,cemptyv:Bie,cent:Nie,centerdot:Hie,CenterDot:jie,cfr:Vie,Cfr:Wie,CHcy:Uie,chcy:qie,check:Kie,checkmark:Gie,Chi:Yie,chi:Xie,circ:Zie,circeq:Jie,circlearrowleft:Qie,circlearrowright:eae,circledast:tae,circledcirc:nae,circleddash:oae,CircleDot:rae,circledR:iae,circledS:aae,CircleMinus:sae,CirclePlus:lae,CircleTimes:cae,cir:uae,cirE:dae,cire:fae,cirfnint:hae,cirmid:pae,cirscir:mae,ClockwiseContourIntegral:gae,CloseCurlyDoubleQuote:vae,CloseCurlyQuote:bae,clubs:yae,clubsuit:xae,colon:Cae,Colon:wae,Colone:_ae,colone:Sae,coloneq:kae,comma:Pae,commat:Tae,comp:Rae,compfn:Eae,complement:$ae,complexes:Aae,cong:Iae,congdot:Oae,Congruent:Mae,conint:zae,Conint:Dae,ContourIntegral:Lae,copf:Fae,Copf:Bae,coprod:Nae,Coproduct:Hae,copy:jae,COPY:Vae,copysr:Wae,CounterClockwiseContourIntegral:Uae,crarr:qae,cross:Kae,Cross:Gae,Cscr:Yae,cscr:Xae,csub:Zae,csube:Jae,csup:Qae,csupe:ese,ctdot:tse,cudarrl:nse,cudarrr:ose,cuepr:rse,cuesc:ise,cularr:ase,cularrp:sse,cupbrcap:lse,cupcap:cse,CupCap:use,cup:dse,Cup:fse,cupcup:hse,cupdot:pse,cupor:mse,cups:gse,curarr:vse,curarrm:bse,curlyeqprec:yse,curlyeqsucc:xse,curlyvee:Cse,curlywedge:wse,curren:_se,curvearrowleft:Sse,curvearrowright:kse,cuvee:Pse,cuwed:Tse,cwconint:Rse,cwint:Ese,cylcty:$se,dagger:Ase,Dagger:Ise,daleth:Ose,darr:Mse,Darr:zse,dArr:Dse,dash:Lse,Dashv:Fse,dashv:Bse,dbkarow:Nse,dblac:Hse,Dcaron:jse,dcaron:Vse,Dcy:Wse,dcy:Use,ddagger:qse,ddarr:Kse,DD:Gse,dd:Yse,DDotrahd:Xse,ddotseq:Zse,deg:Jse,Del:Qse,Delta:ele,delta:tle,demptyv:nle,dfisht:ole,Dfr:rle,dfr:ile,dHar:ale,dharl:sle,dharr:lle,DiacriticalAcute:cle,DiacriticalDot:ule,DiacriticalDoubleAcute:dle,DiacriticalGrave:fle,DiacriticalTilde:hle,diam:ple,diamond:mle,Diamond:gle,diamondsuit:vle,diams:ble,die:yle,DifferentialD:xle,digamma:Cle,disin:wle,div:_le,divide:Sle,divideontimes:kle,divonx:Ple,DJcy:Tle,djcy:Rle,dlcorn:Ele,dlcrop:$le,dollar:Ale,Dopf:Ile,dopf:Ole,Dot:Mle,dot:zle,DotDot:Dle,doteq:Lle,doteqdot:Fle,DotEqual:Ble,dotminus:Nle,dotplus:Hle,dotsquare:jle,doublebarwedge:Vle,DoubleContourIntegral:Wle,DoubleDot:Ule,DoubleDownArrow:qle,DoubleLeftArrow:Kle,DoubleLeftRightArrow:Gle,DoubleLeftTee:Yle,DoubleLongLeftArrow:Xle,DoubleLongLeftRightArrow:Zle,DoubleLongRightArrow:Jle,DoubleRightArrow:Qle,DoubleRightTee:ece,DoubleUpArrow:tce,DoubleUpDownArrow:nce,DoubleVerticalBar:oce,DownArrowBar:rce,downarrow:ice,DownArrow:ace,Downarrow:sce,DownArrowUpArrow:lce,DownBreve:cce,downdownarrows:uce,downharpoonleft:dce,downharpoonright:fce,DownLeftRightVector:hce,DownLeftTeeVector:pce,DownLeftVectorBar:mce,DownLeftVector:gce,DownRightTeeVector:vce,DownRightVectorBar:bce,DownRightVector:yce,DownTeeArrow:xce,DownTee:Cce,drbkarow:wce,drcorn:_ce,drcrop:Sce,Dscr:kce,dscr:Pce,DScy:Tce,dscy:Rce,dsol:Ece,Dstrok:$ce,dstrok:Ace,dtdot:Ice,dtri:Oce,dtrif:Mce,duarr:zce,duhar:Dce,dwangle:Lce,DZcy:Fce,dzcy:Bce,dzigrarr:Nce,Eacute:Hce,eacute:jce,easter:Vce,Ecaron:Wce,ecaron:Uce,Ecirc:qce,ecirc:Kce,ecir:Gce,ecolon:Yce,Ecy:Xce,ecy:Zce,eDDot:Jce,Edot:Qce,edot:eue,eDot:tue,ee:nue,efDot:oue,Efr:rue,efr:iue,eg:aue,Egrave:sue,egrave:lue,egs:cue,egsdot:uue,el:due,Element:fue,elinters:hue,ell:pue,els:mue,elsdot:gue,Emacr:vue,emacr:bue,empty:yue,emptyset:xue,EmptySmallSquare:Cue,emptyv:wue,EmptyVerySmallSquare:_ue,emsp13:Sue,emsp14:kue,emsp:Pue,ENG:Tue,eng:Rue,ensp:Eue,Eogon:$ue,eogon:Aue,Eopf:Iue,eopf:Oue,epar:Mue,eparsl:zue,eplus:Due,epsi:Lue,Epsilon:Fue,epsilon:Bue,epsiv:Nue,eqcirc:Hue,eqcolon:jue,eqsim:Vue,eqslantgtr:Wue,eqslantless:Uue,Equal:que,equals:Kue,EqualTilde:Gue,equest:Yue,Equilibrium:Xue,equiv:Zue,equivDD:Jue,eqvparsl:Que,erarr:ede,erDot:tde,escr:nde,Escr:ode,esdot:rde,Esim:ide,esim:ade,Eta:sde,eta:lde,ETH:cde,eth:ude,Euml:dde,euml:fde,euro:hde,excl:pde,exist:mde,Exists:gde,expectation:vde,exponentiale:bde,ExponentialE:yde,fallingdotseq:xde,Fcy:Cde,fcy:wde,female:_de,ffilig:Sde,fflig:kde,ffllig:Pde,Ffr:Tde,ffr:Rde,filig:Ede,FilledSmallSquare:$de,FilledVerySmallSquare:Ade,fjlig:Ide,flat:Ode,fllig:Mde,fltns:zde,fnof:Dde,Fopf:Lde,fopf:Fde,forall:Bde,ForAll:Nde,fork:Hde,forkv:jde,Fouriertrf:Vde,fpartint:Wde,frac12:Ude,frac13:qde,frac14:Kde,frac15:Gde,frac16:Yde,frac18:Xde,frac23:Zde,frac25:Jde,frac34:Qde,frac35:efe,frac38:tfe,frac45:nfe,frac56:ofe,frac58:rfe,frac78:ife,frasl:afe,frown:sfe,fscr:lfe,Fscr:cfe,gacute:ufe,Gamma:dfe,gamma:ffe,Gammad:hfe,gammad:pfe,gap:mfe,Gbreve:gfe,gbreve:vfe,Gcedil:bfe,Gcirc:yfe,gcirc:xfe,Gcy:Cfe,gcy:wfe,Gdot:_fe,gdot:Sfe,ge:kfe,gE:Pfe,gEl:Tfe,gel:Rfe,geq:Efe,geqq:$fe,geqslant:Afe,gescc:Ife,ges:Ofe,gesdot:Mfe,gesdoto:zfe,gesdotol:Dfe,gesl:Lfe,gesles:Ffe,Gfr:Bfe,gfr:Nfe,gg:Hfe,Gg:jfe,ggg:Vfe,gimel:Wfe,GJcy:Ufe,gjcy:qfe,gla:Kfe,gl:Gfe,glE:Yfe,glj:Xfe,gnap:Zfe,gnapprox:Jfe,gne:Qfe,gnE:ehe,gneq:the,gneqq:nhe,gnsim:ohe,Gopf:rhe,gopf:ihe,grave:ahe,GreaterEqual:she,GreaterEqualLess:lhe,GreaterFullEqual:che,GreaterGreater:uhe,GreaterLess:dhe,GreaterSlantEqual:fhe,GreaterTilde:hhe,Gscr:phe,gscr:mhe,gsim:ghe,gsime:vhe,gsiml:bhe,gtcc:yhe,gtcir:xhe,gt:Che,GT:whe,Gt:_he,gtdot:She,gtlPar:khe,gtquest:Phe,gtrapprox:The,gtrarr:Rhe,gtrdot:Ehe,gtreqless:$he,gtreqqless:Ahe,gtrless:Ihe,gtrsim:Ohe,gvertneqq:Mhe,gvnE:zhe,Hacek:Dhe,hairsp:Lhe,half:Fhe,hamilt:Bhe,HARDcy:Nhe,hardcy:Hhe,harrcir:jhe,harr:Vhe,hArr:Whe,harrw:Uhe,Hat:qhe,hbar:Khe,Hcirc:Ghe,hcirc:Yhe,hearts:Xhe,heartsuit:Zhe,hellip:Jhe,hercon:Qhe,hfr:epe,Hfr:tpe,HilbertSpace:npe,hksearow:ope,hkswarow:rpe,hoarr:ipe,homtht:ape,hookleftarrow:spe,hookrightarrow:lpe,hopf:cpe,Hopf:upe,horbar:dpe,HorizontalLine:fpe,hscr:hpe,Hscr:ppe,hslash:mpe,Hstrok:gpe,hstrok:vpe,HumpDownHump:bpe,HumpEqual:ype,hybull:xpe,hyphen:Cpe,Iacute:wpe,iacute:_pe,ic:Spe,Icirc:kpe,icirc:Ppe,Icy:Tpe,icy:Rpe,Idot:Epe,IEcy:$pe,iecy:Ape,iexcl:Ipe,iff:Ope,ifr:Mpe,Ifr:zpe,Igrave:Dpe,igrave:Lpe,ii:Fpe,iiiint:Bpe,iiint:Npe,iinfin:Hpe,iiota:jpe,IJlig:Vpe,ijlig:Wpe,Imacr:Upe,imacr:qpe,image:Kpe,ImaginaryI:Gpe,imagline:Ype,imagpart:Xpe,imath:Zpe,Im:Jpe,imof:Qpe,imped:eme,Implies:tme,incare:nme,in:"∈",infin:ome,infintie:rme,inodot:ime,intcal:ame,int:sme,Int:lme,integers:cme,Integral:ume,intercal:dme,Intersection:fme,intlarhk:hme,intprod:pme,InvisibleComma:mme,InvisibleTimes:gme,IOcy:vme,iocy:bme,Iogon:yme,iogon:xme,Iopf:Cme,iopf:wme,Iota:_me,iota:Sme,iprod:kme,iquest:Pme,iscr:Tme,Iscr:Rme,isin:Eme,isindot:$me,isinE:Ame,isins:Ime,isinsv:Ome,isinv:Mme,it:zme,Itilde:Dme,itilde:Lme,Iukcy:Fme,iukcy:Bme,Iuml:Nme,iuml:Hme,Jcirc:jme,jcirc:Vme,Jcy:Wme,jcy:Ume,Jfr:qme,jfr:Kme,jmath:Gme,Jopf:Yme,jopf:Xme,Jscr:Zme,jscr:Jme,Jsercy:Qme,jsercy:ege,Jukcy:tge,jukcy:nge,Kappa:oge,kappa:rge,kappav:ige,Kcedil:age,kcedil:sge,Kcy:lge,kcy:cge,Kfr:uge,kfr:dge,kgreen:fge,KHcy:hge,khcy:pge,KJcy:mge,kjcy:gge,Kopf:vge,kopf:bge,Kscr:yge,kscr:xge,lAarr:Cge,Lacute:wge,lacute:_ge,laemptyv:Sge,lagran:kge,Lambda:Pge,lambda:Tge,lang:Rge,Lang:Ege,langd:$ge,langle:Age,lap:Ige,Laplacetrf:Oge,laquo:Mge,larrb:zge,larrbfs:Dge,larr:Lge,Larr:Fge,lArr:Bge,larrfs:Nge,larrhk:Hge,larrlp:jge,larrpl:Vge,larrsim:Wge,larrtl:Uge,latail:qge,lAtail:Kge,lat:Gge,late:Yge,lates:Xge,lbarr:Zge,lBarr:Jge,lbbrk:Qge,lbrace:eve,lbrack:tve,lbrke:nve,lbrksld:ove,lbrkslu:rve,Lcaron:ive,lcaron:ave,Lcedil:sve,lcedil:lve,lceil:cve,lcub:uve,Lcy:dve,lcy:fve,ldca:hve,ldquo:pve,ldquor:mve,ldrdhar:gve,ldrushar:vve,ldsh:bve,le:yve,lE:xve,LeftAngleBracket:Cve,LeftArrowBar:wve,leftarrow:_ve,LeftArrow:Sve,Leftarrow:kve,LeftArrowRightArrow:Pve,leftarrowtail:Tve,LeftCeiling:Rve,LeftDoubleBracket:Eve,LeftDownTeeVector:$ve,LeftDownVectorBar:Ave,LeftDownVector:Ive,LeftFloor:Ove,leftharpoondown:Mve,leftharpoonup:zve,leftleftarrows:Dve,leftrightarrow:Lve,LeftRightArrow:Fve,Leftrightarrow:Bve,leftrightarrows:Nve,leftrightharpoons:Hve,leftrightsquigarrow:jve,LeftRightVector:Vve,LeftTeeArrow:Wve,LeftTee:Uve,LeftTeeVector:qve,leftthreetimes:Kve,LeftTriangleBar:Gve,LeftTriangle:Yve,LeftTriangleEqual:Xve,LeftUpDownVector:Zve,LeftUpTeeVector:Jve,LeftUpVectorBar:Qve,LeftUpVector:ebe,LeftVectorBar:tbe,LeftVector:nbe,lEg:obe,leg:rbe,leq:ibe,leqq:abe,leqslant:sbe,lescc:lbe,les:cbe,lesdot:ube,lesdoto:dbe,lesdotor:fbe,lesg:hbe,lesges:pbe,lessapprox:mbe,lessdot:gbe,lesseqgtr:vbe,lesseqqgtr:bbe,LessEqualGreater:ybe,LessFullEqual:xbe,LessGreater:Cbe,lessgtr:wbe,LessLess:_be,lesssim:Sbe,LessSlantEqual:kbe,LessTilde:Pbe,lfisht:Tbe,lfloor:Rbe,Lfr:Ebe,lfr:$be,lg:Abe,lgE:Ibe,lHar:Obe,lhard:Mbe,lharu:zbe,lharul:Dbe,lhblk:Lbe,LJcy:Fbe,ljcy:Bbe,llarr:Nbe,ll:Hbe,Ll:jbe,llcorner:Vbe,Lleftarrow:Wbe,llhard:Ube,lltri:qbe,Lmidot:Kbe,lmidot:Gbe,lmoustache:Ybe,lmoust:Xbe,lnap:Zbe,lnapprox:Jbe,lne:Qbe,lnE:e0e,lneq:t0e,lneqq:n0e,lnsim:o0e,loang:r0e,loarr:i0e,lobrk:a0e,longleftarrow:s0e,LongLeftArrow:l0e,Longleftarrow:c0e,longleftrightarrow:u0e,LongLeftRightArrow:d0e,Longleftrightarrow:f0e,longmapsto:h0e,longrightarrow:p0e,LongRightArrow:m0e,Longrightarrow:g0e,looparrowleft:v0e,looparrowright:b0e,lopar:y0e,Lopf:x0e,lopf:C0e,loplus:w0e,lotimes:_0e,lowast:S0e,lowbar:k0e,LowerLeftArrow:P0e,LowerRightArrow:T0e,loz:R0e,lozenge:E0e,lozf:$0e,lpar:A0e,lparlt:I0e,lrarr:O0e,lrcorner:M0e,lrhar:z0e,lrhard:D0e,lrm:L0e,lrtri:F0e,lsaquo:B0e,lscr:N0e,Lscr:H0e,lsh:j0e,Lsh:V0e,lsim:W0e,lsime:U0e,lsimg:q0e,lsqb:K0e,lsquo:G0e,lsquor:Y0e,Lstrok:X0e,lstrok:Z0e,ltcc:J0e,ltcir:Q0e,lt:e1e,LT:t1e,Lt:n1e,ltdot:o1e,lthree:r1e,ltimes:i1e,ltlarr:a1e,ltquest:s1e,ltri:l1e,ltrie:c1e,ltrif:u1e,ltrPar:d1e,lurdshar:f1e,luruhar:h1e,lvertneqq:p1e,lvnE:m1e,macr:g1e,male:v1e,malt:b1e,maltese:y1e,Map:"⤅",map:x1e,mapsto:C1e,mapstodown:w1e,mapstoleft:_1e,mapstoup:S1e,marker:k1e,mcomma:P1e,Mcy:T1e,mcy:R1e,mdash:E1e,mDDot:$1e,measuredangle:A1e,MediumSpace:I1e,Mellintrf:O1e,Mfr:M1e,mfr:z1e,mho:D1e,micro:L1e,midast:F1e,midcir:B1e,mid:N1e,middot:H1e,minusb:j1e,minus:V1e,minusd:W1e,minusdu:U1e,MinusPlus:q1e,mlcp:K1e,mldr:G1e,mnplus:Y1e,models:X1e,Mopf:Z1e,mopf:J1e,mp:Q1e,mscr:eye,Mscr:tye,mstpos:nye,Mu:oye,mu:rye,multimap:iye,mumap:aye,nabla:sye,Nacute:lye,nacute:cye,nang:uye,nap:dye,napE:fye,napid:hye,napos:pye,napprox:mye,natural:gye,naturals:vye,natur:bye,nbsp:yye,nbump:xye,nbumpe:Cye,ncap:wye,Ncaron:_ye,ncaron:Sye,Ncedil:kye,ncedil:Pye,ncong:Tye,ncongdot:Rye,ncup:Eye,Ncy:$ye,ncy:Aye,ndash:Iye,nearhk:Oye,nearr:Mye,neArr:zye,nearrow:Dye,ne:Lye,nedot:Fye,NegativeMediumSpace:Bye,NegativeThickSpace:Nye,NegativeThinSpace:Hye,NegativeVeryThinSpace:jye,nequiv:Vye,nesear:Wye,nesim:Uye,NestedGreaterGreater:qye,NestedLessLess:Kye,NewLine:Gye,nexist:Yye,nexists:Xye,Nfr:Zye,nfr:Jye,ngE:Qye,nge:exe,ngeq:txe,ngeqq:nxe,ngeqslant:oxe,nges:rxe,nGg:ixe,ngsim:axe,nGt:sxe,ngt:lxe,ngtr:cxe,nGtv:uxe,nharr:dxe,nhArr:fxe,nhpar:hxe,ni:pxe,nis:mxe,nisd:gxe,niv:vxe,NJcy:bxe,njcy:yxe,nlarr:xxe,nlArr:Cxe,nldr:wxe,nlE:_xe,nle:Sxe,nleftarrow:kxe,nLeftarrow:Pxe,nleftrightarrow:Txe,nLeftrightarrow:Rxe,nleq:Exe,nleqq:$xe,nleqslant:Axe,nles:Ixe,nless:Oxe,nLl:Mxe,nlsim:zxe,nLt:Dxe,nlt:Lxe,nltri:Fxe,nltrie:Bxe,nLtv:Nxe,nmid:Hxe,NoBreak:jxe,NonBreakingSpace:Vxe,nopf:Wxe,Nopf:Uxe,Not:qxe,not:Kxe,NotCongruent:Gxe,NotCupCap:Yxe,NotDoubleVerticalBar:Xxe,NotElement:Zxe,NotEqual:Jxe,NotEqualTilde:Qxe,NotExists:eCe,NotGreater:tCe,NotGreaterEqual:nCe,NotGreaterFullEqual:oCe,NotGreaterGreater:rCe,NotGreaterLess:iCe,NotGreaterSlantEqual:aCe,NotGreaterTilde:sCe,NotHumpDownHump:lCe,NotHumpEqual:cCe,notin:uCe,notindot:dCe,notinE:fCe,notinva:hCe,notinvb:pCe,notinvc:mCe,NotLeftTriangleBar:gCe,NotLeftTriangle:vCe,NotLeftTriangleEqual:bCe,NotLess:yCe,NotLessEqual:xCe,NotLessGreater:CCe,NotLessLess:wCe,NotLessSlantEqual:_Ce,NotLessTilde:SCe,NotNestedGreaterGreater:kCe,NotNestedLessLess:PCe,notni:TCe,notniva:RCe,notnivb:ECe,notnivc:$Ce,NotPrecedes:ACe,NotPrecedesEqual:ICe,NotPrecedesSlantEqual:OCe,NotReverseElement:MCe,NotRightTriangleBar:zCe,NotRightTriangle:DCe,NotRightTriangleEqual:LCe,NotSquareSubset:FCe,NotSquareSubsetEqual:BCe,NotSquareSuperset:NCe,NotSquareSupersetEqual:HCe,NotSubset:jCe,NotSubsetEqual:VCe,NotSucceeds:WCe,NotSucceedsEqual:UCe,NotSucceedsSlantEqual:qCe,NotSucceedsTilde:KCe,NotSuperset:GCe,NotSupersetEqual:YCe,NotTilde:XCe,NotTildeEqual:ZCe,NotTildeFullEqual:JCe,NotTildeTilde:QCe,NotVerticalBar:ewe,nparallel:twe,npar:nwe,nparsl:owe,npart:rwe,npolint:iwe,npr:awe,nprcue:swe,nprec:lwe,npreceq:cwe,npre:uwe,nrarrc:dwe,nrarr:fwe,nrArr:hwe,nrarrw:pwe,nrightarrow:mwe,nRightarrow:gwe,nrtri:vwe,nrtrie:bwe,nsc:ywe,nsccue:xwe,nsce:Cwe,Nscr:wwe,nscr:_we,nshortmid:Swe,nshortparallel:kwe,nsim:Pwe,nsime:Twe,nsimeq:Rwe,nsmid:Ewe,nspar:$we,nsqsube:Awe,nsqsupe:Iwe,nsub:Owe,nsubE:Mwe,nsube:zwe,nsubset:Dwe,nsubseteq:Lwe,nsubseteqq:Fwe,nsucc:Bwe,nsucceq:Nwe,nsup:Hwe,nsupE:jwe,nsupe:Vwe,nsupset:Wwe,nsupseteq:Uwe,nsupseteqq:qwe,ntgl:Kwe,Ntilde:Gwe,ntilde:Ywe,ntlg:Xwe,ntriangleleft:Zwe,ntrianglelefteq:Jwe,ntriangleright:Qwe,ntrianglerighteq:e_e,Nu:t_e,nu:n_e,num:o_e,numero:r_e,numsp:i_e,nvap:a_e,nvdash:s_e,nvDash:l_e,nVdash:c_e,nVDash:u_e,nvge:d_e,nvgt:f_e,nvHarr:h_e,nvinfin:p_e,nvlArr:m_e,nvle:g_e,nvlt:v_e,nvltrie:b_e,nvrArr:y_e,nvrtrie:x_e,nvsim:C_e,nwarhk:w_e,nwarr:__e,nwArr:S_e,nwarrow:k_e,nwnear:P_e,Oacute:T_e,oacute:R_e,oast:E_e,Ocirc:$_e,ocirc:A_e,ocir:I_e,Ocy:O_e,ocy:M_e,odash:z_e,Odblac:D_e,odblac:L_e,odiv:F_e,odot:B_e,odsold:N_e,OElig:H_e,oelig:j_e,ofcir:V_e,Ofr:W_e,ofr:U_e,ogon:q_e,Ograve:K_e,ograve:G_e,ogt:Y_e,ohbar:X_e,ohm:Z_e,oint:J_e,olarr:Q_e,olcir:e2e,olcross:t2e,oline:n2e,olt:o2e,Omacr:r2e,omacr:i2e,Omega:a2e,omega:s2e,Omicron:l2e,omicron:c2e,omid:u2e,ominus:d2e,Oopf:f2e,oopf:h2e,opar:p2e,OpenCurlyDoubleQuote:m2e,OpenCurlyQuote:g2e,operp:v2e,oplus:b2e,orarr:y2e,Or:x2e,or:C2e,ord:w2e,order:_2e,orderof:S2e,ordf:k2e,ordm:P2e,origof:T2e,oror:R2e,orslope:E2e,orv:$2e,oS:A2e,Oscr:I2e,oscr:O2e,Oslash:M2e,oslash:z2e,osol:D2e,Otilde:L2e,otilde:F2e,otimesas:B2e,Otimes:N2e,otimes:H2e,Ouml:j2e,ouml:V2e,ovbar:W2e,OverBar:U2e,OverBrace:q2e,OverBracket:K2e,OverParenthesis:G2e,para:Y2e,parallel:X2e,par:Z2e,parsim:J2e,parsl:Q2e,part:eSe,PartialD:tSe,Pcy:nSe,pcy:oSe,percnt:rSe,period:iSe,permil:aSe,perp:sSe,pertenk:lSe,Pfr:cSe,pfr:uSe,Phi:dSe,phi:fSe,phiv:hSe,phmmat:pSe,phone:mSe,Pi:gSe,pi:vSe,pitchfork:bSe,piv:ySe,planck:xSe,planckh:CSe,plankv:wSe,plusacir:_Se,plusb:SSe,pluscir:kSe,plus:PSe,plusdo:TSe,plusdu:RSe,pluse:ESe,PlusMinus:$Se,plusmn:ASe,plussim:ISe,plustwo:OSe,pm:MSe,Poincareplane:zSe,pointint:DSe,popf:LSe,Popf:FSe,pound:BSe,prap:NSe,Pr:HSe,pr:jSe,prcue:VSe,precapprox:WSe,prec:USe,preccurlyeq:qSe,Precedes:KSe,PrecedesEqual:GSe,PrecedesSlantEqual:YSe,PrecedesTilde:XSe,preceq:ZSe,precnapprox:JSe,precneqq:QSe,precnsim:eke,pre:tke,prE:nke,precsim:oke,prime:rke,Prime:ike,primes:ake,prnap:ske,prnE:lke,prnsim:cke,prod:uke,Product:dke,profalar:fke,profline:hke,profsurf:pke,prop:mke,Proportional:gke,Proportion:vke,propto:bke,prsim:yke,prurel:xke,Pscr:Cke,pscr:wke,Psi:_ke,psi:Ske,puncsp:kke,Qfr:Pke,qfr:Tke,qint:Rke,qopf:Eke,Qopf:$ke,qprime:Ake,Qscr:Ike,qscr:Oke,quaternions:Mke,quatint:zke,quest:Dke,questeq:Lke,quot:Fke,QUOT:Bke,rAarr:Nke,race:Hke,Racute:jke,racute:Vke,radic:Wke,raemptyv:Uke,rang:qke,Rang:Kke,rangd:Gke,range:Yke,rangle:Xke,raquo:Zke,rarrap:Jke,rarrb:Qke,rarrbfs:e3e,rarrc:t3e,rarr:n3e,Rarr:o3e,rArr:r3e,rarrfs:i3e,rarrhk:a3e,rarrlp:s3e,rarrpl:l3e,rarrsim:c3e,Rarrtl:u3e,rarrtl:d3e,rarrw:f3e,ratail:h3e,rAtail:p3e,ratio:m3e,rationals:g3e,rbarr:v3e,rBarr:b3e,RBarr:y3e,rbbrk:x3e,rbrace:C3e,rbrack:w3e,rbrke:_3e,rbrksld:S3e,rbrkslu:k3e,Rcaron:P3e,rcaron:T3e,Rcedil:R3e,rcedil:E3e,rceil:$3e,rcub:A3e,Rcy:I3e,rcy:O3e,rdca:M3e,rdldhar:z3e,rdquo:D3e,rdquor:L3e,rdsh:F3e,real:B3e,realine:N3e,realpart:H3e,reals:j3e,Re:V3e,rect:W3e,reg:U3e,REG:q3e,ReverseElement:K3e,ReverseEquilibrium:G3e,ReverseUpEquilibrium:Y3e,rfisht:X3e,rfloor:Z3e,rfr:J3e,Rfr:Q3e,rHar:e4e,rhard:t4e,rharu:n4e,rharul:o4e,Rho:r4e,rho:i4e,rhov:a4e,RightAngleBracket:s4e,RightArrowBar:l4e,rightarrow:c4e,RightArrow:u4e,Rightarrow:d4e,RightArrowLeftArrow:f4e,rightarrowtail:h4e,RightCeiling:p4e,RightDoubleBracket:m4e,RightDownTeeVector:g4e,RightDownVectorBar:v4e,RightDownVector:b4e,RightFloor:y4e,rightharpoondown:x4e,rightharpoonup:C4e,rightleftarrows:w4e,rightleftharpoons:_4e,rightrightarrows:S4e,rightsquigarrow:k4e,RightTeeArrow:P4e,RightTee:T4e,RightTeeVector:R4e,rightthreetimes:E4e,RightTriangleBar:$4e,RightTriangle:A4e,RightTriangleEqual:I4e,RightUpDownVector:O4e,RightUpTeeVector:M4e,RightUpVectorBar:z4e,RightUpVector:D4e,RightVectorBar:L4e,RightVector:F4e,ring:B4e,risingdotseq:N4e,rlarr:H4e,rlhar:j4e,rlm:V4e,rmoustache:W4e,rmoust:U4e,rnmid:q4e,roang:K4e,roarr:G4e,robrk:Y4e,ropar:X4e,ropf:Z4e,Ropf:J4e,roplus:Q4e,rotimes:ePe,RoundImplies:tPe,rpar:nPe,rpargt:oPe,rppolint:rPe,rrarr:iPe,Rrightarrow:aPe,rsaquo:sPe,rscr:lPe,Rscr:cPe,rsh:uPe,Rsh:dPe,rsqb:fPe,rsquo:hPe,rsquor:pPe,rthree:mPe,rtimes:gPe,rtri:vPe,rtrie:bPe,rtrif:yPe,rtriltri:xPe,RuleDelayed:CPe,ruluhar:wPe,rx:_Pe,Sacute:SPe,sacute:kPe,sbquo:PPe,scap:TPe,Scaron:RPe,scaron:EPe,Sc:$Pe,sc:APe,sccue:IPe,sce:OPe,scE:MPe,Scedil:zPe,scedil:DPe,Scirc:LPe,scirc:FPe,scnap:BPe,scnE:NPe,scnsim:HPe,scpolint:jPe,scsim:VPe,Scy:WPe,scy:UPe,sdotb:qPe,sdot:KPe,sdote:GPe,searhk:YPe,searr:XPe,seArr:ZPe,searrow:JPe,sect:QPe,semi:eTe,seswar:tTe,setminus:nTe,setmn:oTe,sext:rTe,Sfr:iTe,sfr:aTe,sfrown:sTe,sharp:lTe,SHCHcy:cTe,shchcy:uTe,SHcy:dTe,shcy:fTe,ShortDownArrow:hTe,ShortLeftArrow:pTe,shortmid:mTe,shortparallel:gTe,ShortRightArrow:vTe,ShortUpArrow:bTe,shy:yTe,Sigma:xTe,sigma:CTe,sigmaf:wTe,sigmav:_Te,sim:STe,simdot:kTe,sime:PTe,simeq:TTe,simg:RTe,simgE:ETe,siml:$Te,simlE:ATe,simne:ITe,simplus:OTe,simrarr:MTe,slarr:zTe,SmallCircle:DTe,smallsetminus:LTe,smashp:FTe,smeparsl:BTe,smid:NTe,smile:HTe,smt:jTe,smte:VTe,smtes:WTe,SOFTcy:UTe,softcy:qTe,solbar:KTe,solb:GTe,sol:YTe,Sopf:XTe,sopf:ZTe,spades:JTe,spadesuit:QTe,spar:e5e,sqcap:t5e,sqcaps:n5e,sqcup:o5e,sqcups:r5e,Sqrt:i5e,sqsub:a5e,sqsube:s5e,sqsubset:l5e,sqsubseteq:c5e,sqsup:u5e,sqsupe:d5e,sqsupset:f5e,sqsupseteq:h5e,square:p5e,Square:m5e,SquareIntersection:g5e,SquareSubset:v5e,SquareSubsetEqual:b5e,SquareSuperset:y5e,SquareSupersetEqual:x5e,SquareUnion:C5e,squarf:w5e,squ:_5e,squf:S5e,srarr:k5e,Sscr:P5e,sscr:T5e,ssetmn:R5e,ssmile:E5e,sstarf:$5e,Star:A5e,star:I5e,starf:O5e,straightepsilon:M5e,straightphi:z5e,strns:D5e,sub:L5e,Sub:F5e,subdot:B5e,subE:N5e,sube:H5e,subedot:j5e,submult:V5e,subnE:W5e,subne:U5e,subplus:q5e,subrarr:K5e,subset:G5e,Subset:Y5e,subseteq:X5e,subseteqq:Z5e,SubsetEqual:J5e,subsetneq:Q5e,subsetneqq:eRe,subsim:tRe,subsub:nRe,subsup:oRe,succapprox:rRe,succ:iRe,succcurlyeq:aRe,Succeeds:sRe,SucceedsEqual:lRe,SucceedsSlantEqual:cRe,SucceedsTilde:uRe,succeq:dRe,succnapprox:fRe,succneqq:hRe,succnsim:pRe,succsim:mRe,SuchThat:gRe,sum:vRe,Sum:bRe,sung:yRe,sup1:xRe,sup2:CRe,sup3:wRe,sup:_Re,Sup:SRe,supdot:kRe,supdsub:PRe,supE:TRe,supe:RRe,supedot:ERe,Superset:$Re,SupersetEqual:ARe,suphsol:IRe,suphsub:ORe,suplarr:MRe,supmult:zRe,supnE:DRe,supne:LRe,supplus:FRe,supset:BRe,Supset:NRe,supseteq:HRe,supseteqq:jRe,supsetneq:VRe,supsetneqq:WRe,supsim:URe,supsub:qRe,supsup:KRe,swarhk:GRe,swarr:YRe,swArr:XRe,swarrow:ZRe,swnwar:JRe,szlig:QRe,Tab:eEe,target:tEe,Tau:nEe,tau:oEe,tbrk:rEe,Tcaron:iEe,tcaron:aEe,Tcedil:sEe,tcedil:lEe,Tcy:cEe,tcy:uEe,tdot:dEe,telrec:fEe,Tfr:hEe,tfr:pEe,there4:mEe,therefore:gEe,Therefore:vEe,Theta:bEe,theta:yEe,thetasym:xEe,thetav:CEe,thickapprox:wEe,thicksim:_Ee,ThickSpace:SEe,ThinSpace:kEe,thinsp:PEe,thkap:TEe,thksim:REe,THORN:EEe,thorn:$Ee,tilde:AEe,Tilde:IEe,TildeEqual:OEe,TildeFullEqual:MEe,TildeTilde:zEe,timesbar:DEe,timesb:LEe,times:FEe,timesd:BEe,tint:NEe,toea:HEe,topbot:jEe,topcir:VEe,top:WEe,Topf:UEe,topf:qEe,topfork:KEe,tosa:GEe,tprime:YEe,trade:XEe,TRADE:ZEe,triangle:JEe,triangledown:QEe,triangleleft:e$e,trianglelefteq:t$e,triangleq:n$e,triangleright:o$e,trianglerighteq:r$e,tridot:i$e,trie:a$e,triminus:s$e,TripleDot:l$e,triplus:c$e,trisb:u$e,tritime:d$e,trpezium:f$e,Tscr:h$e,tscr:p$e,TScy:m$e,tscy:g$e,TSHcy:v$e,tshcy:b$e,Tstrok:y$e,tstrok:x$e,twixt:C$e,twoheadleftarrow:w$e,twoheadrightarrow:_$e,Uacute:S$e,uacute:k$e,uarr:P$e,Uarr:T$e,uArr:R$e,Uarrocir:E$e,Ubrcy:$$e,ubrcy:A$e,Ubreve:I$e,ubreve:O$e,Ucirc:M$e,ucirc:z$e,Ucy:D$e,ucy:L$e,udarr:F$e,Udblac:B$e,udblac:N$e,udhar:H$e,ufisht:j$e,Ufr:V$e,ufr:W$e,Ugrave:U$e,ugrave:q$e,uHar:K$e,uharl:G$e,uharr:Y$e,uhblk:X$e,ulcorn:Z$e,ulcorner:J$e,ulcrop:Q$e,ultri:eAe,Umacr:tAe,umacr:nAe,uml:oAe,UnderBar:rAe,UnderBrace:iAe,UnderBracket:aAe,UnderParenthesis:sAe,Union:lAe,UnionPlus:cAe,Uogon:uAe,uogon:dAe,Uopf:fAe,uopf:hAe,UpArrowBar:pAe,uparrow:mAe,UpArrow:gAe,Uparrow:vAe,UpArrowDownArrow:bAe,updownarrow:yAe,UpDownArrow:xAe,Updownarrow:CAe,UpEquilibrium:wAe,upharpoonleft:_Ae,upharpoonright:SAe,uplus:kAe,UpperLeftArrow:PAe,UpperRightArrow:TAe,upsi:RAe,Upsi:EAe,upsih:$Ae,Upsilon:AAe,upsilon:IAe,UpTeeArrow:OAe,UpTee:MAe,upuparrows:zAe,urcorn:DAe,urcorner:LAe,urcrop:FAe,Uring:BAe,uring:NAe,urtri:HAe,Uscr:jAe,uscr:VAe,utdot:WAe,Utilde:UAe,utilde:qAe,utri:KAe,utrif:GAe,uuarr:YAe,Uuml:XAe,uuml:ZAe,uwangle:JAe,vangrt:QAe,varepsilon:e6e,varkappa:t6e,varnothing:n6e,varphi:o6e,varpi:r6e,varpropto:i6e,varr:a6e,vArr:s6e,varrho:l6e,varsigma:c6e,varsubsetneq:u6e,varsubsetneqq:d6e,varsupsetneq:f6e,varsupsetneqq:h6e,vartheta:p6e,vartriangleleft:m6e,vartriangleright:g6e,vBar:v6e,Vbar:b6e,vBarv:y6e,Vcy:x6e,vcy:C6e,vdash:w6e,vDash:_6e,Vdash:S6e,VDash:k6e,Vdashl:P6e,veebar:T6e,vee:R6e,Vee:E6e,veeeq:$6e,vellip:A6e,verbar:I6e,Verbar:O6e,vert:M6e,Vert:z6e,VerticalBar:D6e,VerticalLine:L6e,VerticalSeparator:F6e,VerticalTilde:B6e,VeryThinSpace:N6e,Vfr:H6e,vfr:j6e,vltri:V6e,vnsub:W6e,vnsup:U6e,Vopf:q6e,vopf:K6e,vprop:G6e,vrtri:Y6e,Vscr:X6e,vscr:Z6e,vsubnE:J6e,vsubne:Q6e,vsupnE:e8e,vsupne:t8e,Vvdash:n8e,vzigzag:o8e,Wcirc:r8e,wcirc:i8e,wedbar:a8e,wedge:s8e,Wedge:l8e,wedgeq:c8e,weierp:u8e,Wfr:d8e,wfr:f8e,Wopf:h8e,wopf:p8e,wp:m8e,wr:g8e,wreath:v8e,Wscr:b8e,wscr:y8e,xcap:x8e,xcirc:C8e,xcup:w8e,xdtri:_8e,Xfr:S8e,xfr:k8e,xharr:P8e,xhArr:T8e,Xi:R8e,xi:E8e,xlarr:$8e,xlArr:A8e,xmap:I8e,xnis:O8e,xodot:M8e,Xopf:z8e,xopf:D8e,xoplus:L8e,xotime:F8e,xrarr:B8e,xrArr:N8e,Xscr:H8e,xscr:j8e,xsqcup:V8e,xuplus:W8e,xutri:U8e,xvee:q8e,xwedge:K8e,Yacute:G8e,yacute:Y8e,YAcy:X8e,yacy:Z8e,Ycirc:J8e,ycirc:Q8e,Ycy:eIe,ycy:tIe,yen:nIe,Yfr:oIe,yfr:rIe,YIcy:iIe,yicy:aIe,Yopf:sIe,yopf:lIe,Yscr:cIe,yscr:uIe,YUcy:dIe,yucy:fIe,yuml:hIe,Yuml:pIe,Zacute:mIe,zacute:gIe,Zcaron:vIe,zcaron:bIe,Zcy:yIe,zcy:xIe,Zdot:CIe,zdot:wIe,zeetrf:_Ie,ZeroWidthSpace:SIe,Zeta:kIe,zeta:PIe,zfr:TIe,Zfr:RIe,ZHcy:EIe,zhcy:$Ie,zigrarr:AIe,zopf:IIe,Zopf:OIe,Zscr:MIe,zscr:zIe,zwj:DIe,zwnj:LIe};var pk=FIe,jm=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Ya={},_1={};function BIe(e){var t,n,o=_1[e];if(o)return o;for(o=_1[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?o.push(n):o.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)o[e.charCodeAt(t)]=e[t];return o}function Ku(e,t,n){var o,r,i,a,s,l="";for(typeof t!="string"&&(n=t,t=Ku.defaultChars),typeof n>"u"&&(n=!0),s=BIe(t),o=0,r=e.length;o<r;o++){if(i=e.charCodeAt(o),n&&i===37&&o+2<r&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3))){l+=e.slice(o,o+3),o+=2;continue}if(i<128){l+=s[i];continue}if(i>=55296&&i<=57343){if(i>=55296&&i<=56319&&o+1<r&&(a=e.charCodeAt(o+1),a>=56320&&a<=57343)){l+=encodeURIComponent(e[o]+e[o+1]),o++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(e[o])}return l}Ku.defaultChars=";/?:@&=+$,-_.!~*'()#";Ku.componentChars="-_.!~*'()";var NIe=Ku,S1={};function HIe(e){var t,n,o=S1[e];if(o)return o;for(o=S1[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),o.push(n);for(t=0;t<e.length;t++)n=e.charCodeAt(t),o[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return o}function Gu(e,t){var n;return typeof t!="string"&&(t=Gu.defaultChars),n=HIe(t),e.replace(/(%[a-f0-9]{2})+/gi,function(o){var r,i,a,s,l,c,u,d="";for(r=0,i=o.length;r<i;r+=3){if(a=parseInt(o.slice(r+1,r+3),16),a<128){d+=n[a];continue}if((a&224)===192&&r+3<i&&(s=parseInt(o.slice(r+4,r+6),16),(s&192)===128)){u=a<<6&1984|s&63,u<128?d+="<22><>":d+=String.fromCharCode(u),r+=3;continue}if((a&240)===224&&r+6<i&&(s=parseInt(o.slice(r+4,r+6),16),l=parseInt(o.slice(r+7,r+9),16),(s&192)===128&&(l&192)===128)){u=a<<12&61440|s<<6&4032|l&63,u<2048||u>=55296&&u<=57343?d+="<22><><EFBFBD>":d+=String.fromCharCode(u),r+=6;continue}if((a&248)===240&&r+9<i&&(s=parseInt(o.slice(r+4,r+6),16),l=parseInt(o.slice(r+7,r+9),16),c=parseInt(o.slice(r+10,r+12),16),(s&192)===128&&(l&192)===128&&(c&192)===128)){u=a<<18&1835008|s<<12&258048|l<<6&4032|c&63,u<65536||u>1114111?d+="<22><><EFBFBD><EFBFBD>":(u-=65536,d+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),r+=9;continue}d+="<22>"}return d})}Gu.defaultChars=";/?:@&=+$,#";Gu.componentChars="";var jIe=Gu,VIe=function(t){var n="";return n+=t.protocol||"",n+=t.slashes?"//":"",n+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?n+="["+t.hostname+"]":n+=t.hostname||"",n+=t.port?":"+t.port:"",n+=t.pathname||"",n+=t.search||"",n+=t.hash||"",n};function Hc(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var WIe=/^([a-z0-9.+-]+:)/i,UIe=/:[0-9]*$/,qIe=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,KIe=["<",">",'"',"`"," ","\r",`
`," "],GIe=["{","}","|","\\","^","`"].concat(KIe),YIe=["'"].concat(GIe),k1=["%","/","?",";","#"].concat(YIe),P1=["/","?","#"],XIe=255,T1=/^[+a-z0-9A-Z_-]{0,63}$/,ZIe=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,R1={javascript:!0,"javascript:":!0},E1={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function JIe(e,t){if(e&&e instanceof Hc)return e;var n=new Hc;return n.parse(e,t),n}Hc.prototype.parse=function(e,t){var n,o,r,i,a,s=e;if(s=s.trim(),!t&&e.split("#").length===1){var l=qIe.exec(s);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=WIe.exec(s);if(c&&(c=c[0],r=c.toLowerCase(),this.protocol=c,s=s.substr(c.length)),(t||c||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(a=s.substr(0,2)==="//",a&&!(c&&R1[c])&&(s=s.substr(2),this.slashes=!0)),!R1[c]&&(a||c&&!E1[c])){var u=-1;for(n=0;n<P1.length;n++)i=s.indexOf(P1[n]),i!==-1&&(u===-1||i<u)&&(u=i);var d,f;for(u===-1?f=s.lastIndexOf("@"):f=s.lastIndexOf("@",u),f!==-1&&(d=s.slice(0,f),s=s.slice(f+1),this.auth=d),u=-1,n=0;n<k1.length;n++)i=s.indexOf(k1[n]),i!==-1&&(u===-1||i<u)&&(u=i);u===-1&&(u=s.length),s[u-1]===":"&&u--;var h=s.slice(0,u);s=s.slice(u),this.parseHost(h),this.hostname=this.hostname||"";var p=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!p){var g=this.hostname.split(/\./);for(n=0,o=g.length;n<o;n++){var m=g[n];if(m&&!m.match(T1)){for(var b="",_=0,C=m.length;_<C;_++)m.charCodeAt(_)>127?b+="x":b+=m[_];if(!b.match(T1)){var S=g.slice(0,n),w=g.slice(n+1),x=m.match(ZIe);x&&(S.push(x[1]),w.unshift(x[2])),w.length&&(s=w.join(".")+s),this.hostname=S.join(".");break}}}}this.hostname.length>XIe&&(this.hostname=""),p&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var y=s.indexOf("#");y!==-1&&(this.hash=s.substr(y),s=s.slice(0,y));var P=s.indexOf("?");return P!==-1&&(this.search=s.substr(P),s=s.slice(0,P)),s&&(this.pathname=s),E1[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Hc.prototype.parseHost=function(e){var t=UIe.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var QIe=JIe;Ya.encode=NIe;Ya.decode=jIe;Ya.format=VIe;Ya.parse=QIe;var di={},ff,$1;function mk(){return $1||($1=1,ff=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),ff}var hf,A1;function gk(){return A1||(A1=1,hf=/[\0-\x1F\x7F-\x9F]/),hf}var pf,I1;function eOe(){return I1||(I1=1,pf=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),pf}var mf,O1;function vk(){return O1||(O1=1,mf=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),mf}var M1;function tOe(){return M1||(M1=1,di.Any=mk(),di.Cc=gk(),di.Cf=eOe(),di.P=jm,di.Z=vk()),di}(function(e){function t(N){return Object.prototype.toString.call(N)}function n(N){return t(N)==="[object String]"}var o=Object.prototype.hasOwnProperty;function r(N,D){return o.call(N,D)}function i(N){var D=Array.prototype.slice.call(arguments,1);return D.forEach(function(M){if(M){if(typeof M!="object")throw new TypeError(M+"must be object");Object.keys(M).forEach(function(G){N[G]=M[G]})}}),N}function a(N,D,M){return[].concat(N.slice(0,D),M,N.slice(D+1))}function s(N){return!(N>=55296&&N<=57343||N>=64976&&N<=65007||(N&65535)===65535||(N&65535)===65534||N>=0&&N<=8||N===11||N>=14&&N<=31||N>=127&&N<=159||N>1114111)}function l(N){if(N>65535){N-=65536;var D=55296+(N>>10),M=56320+(N&1023);return String.fromCharCode(D,M)}return String.fromCharCode(N)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,d=new RegExp(c.source+"|"+u.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,h=pk;function p(N,D){var M;return r(h,D)?h[D]:D.charCodeAt(0)===35&&f.test(D)&&(M=D[1].toLowerCase()==="x"?parseInt(D.slice(2),16):parseInt(D.slice(1),10),s(M))?l(M):N}function g(N){return N.indexOf("\\")<0?N:N.replace(c,"$1")}function m(N){return N.indexOf("\\")<0&&N.indexOf("&")<0?N:N.replace(d,function(D,M,G){return M||p(D,G)})}var b=/[&<>"]/,_=/[&<>"]/g,C={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function S(N){return C[N]}function w(N){return b.test(N)?N.replace(_,S):N}var x=/[.?*+^$[\]\\(){}|-]/g;function y(N){return N.replace(x,"\\$&")}function P(N){switch(N){case 9:case 32:return!0}return!1}function k(N){if(N>=8192&&N<=8202)return!0;switch(N){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var T=jm;function E(N){return T.test(N)}function R(N){switch(N){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function K(N){return N=N.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(N=N.replace(/ẞ/g,"ß")),N.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=Ya,e.lib.ucmicro=tOe(),e.assign=i,e.isString=n,e.has=r,e.unescapeMd=g,e.unescapeAll=m,e.isValidEntityCode=s,e.fromCodePoint=l,e.escapeHtml=w,e.arrayReplaceAt=a,e.isSpace=P,e.isWhiteSpace=k,e.isMdAsciiPunct=R,e.isPunctChar=E,e.escapeRE=y,e.normalizeReference=K})(Ft);var Yu={},nOe=function(t,n,o){var r,i,a,s,l=-1,c=t.posMax,u=t.pos;for(t.pos=n+1,r=1;t.pos<c;){if(a=t.src.charCodeAt(t.pos),a===93&&(r--,r===0)){i=!0;break}if(s=t.pos,t.md.inline.skipToken(t),a===91){if(s===t.pos-1)r++;else if(o)return t.pos=u,-1}}return i&&(l=t.pos),t.pos=u,l},z1=Ft.unescapeAll,oOe=function(t,n,o){var r,i,a=n,s={ok:!1,pos:0,lines:0,str:""};if(t.charCodeAt(a)===60){for(a++;a<o;){if(r=t.charCodeAt(a),r===10||r===60)return s;if(r===62)return s.pos=a+1,s.str=z1(t.slice(n+1,a)),s.ok=!0,s;if(r===92&&a+1<o){a+=2;continue}a++}return s}for(i=0;a<o&&(r=t.charCodeAt(a),!(r===32||r<32||r===127));){if(r===92&&a+1<o){if(t.charCodeAt(a+1)===32)break;a+=2;continue}if(r===40&&(i++,i>32))return s;if(r===41){if(i===0)break;i--}a++}return n===a||i!==0||(s.str=z1(t.slice(n,a)),s.pos=a,s.ok=!0),s},rOe=Ft.unescapeAll,iOe=function(t,n,o){var r,i,a=0,s=n,l={ok:!1,pos:0,lines:0,str:""};if(s>=o||(i=t.charCodeAt(s),i!==34&&i!==39&&i!==40))return l;for(s++,i===40&&(i=41);s<o;){if(r=t.charCodeAt(s),r===i)return l.pos=s+1,l.lines=a,l.str=rOe(t.slice(n+1,s)),l.ok=!0,l;if(r===40&&i===41)return l;r===10?a++:r===92&&s+1<o&&(s++,t.charCodeAt(s)===10&&a++),s++}return l};Yu.parseLinkLabel=nOe;Yu.parseLinkDestination=oOe;Yu.parseLinkTitle=iOe;var aOe=Ft.assign,sOe=Ft.unescapeAll,zi=Ft.escapeHtml,Go={};Go.code_inline=function(e,t,n,o,r){var i=e[t];return"<code"+r.renderAttrs(i)+">"+zi(i.content)+"</code>"};Go.code_block=function(e,t,n,o,r){var i=e[t];return"<pre"+r.renderAttrs(i)+"><code>"+zi(e[t].content)+`</code></pre>
`};Go.fence=function(e,t,n,o,r){var i=e[t],a=i.info?sOe(i.info).trim():"",s="",l="",c,u,d,f,h;return a&&(d=a.split(/(\s+)/g),s=d[0],l=d.slice(2).join("")),n.highlight?c=n.highlight(i.content,s,l)||zi(i.content):c=zi(i.content),c.indexOf("<pre")===0?c+`
`:a?(u=i.attrIndex("class"),f=i.attrs?i.attrs.slice():[],u<0?f.push(["class",n.langPrefix+s]):(f[u]=f[u].slice(),f[u][1]+=" "+n.langPrefix+s),h={attrs:f},"<pre><code"+r.renderAttrs(h)+">"+c+`</code></pre>
`):"<pre><code"+r.renderAttrs(i)+">"+c+`</code></pre>
`};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?`<br />
`:`<br>
`};Go.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`<br />
`:`<br>
`:`
`};Go.text=function(e,t){return zi(e[t].content)};Go.html_block=function(e,t){return e[t].content};Go.html_inline=function(e,t){return e[t].content};function Xa(){this.rules=aOe({},Go)}Xa.prototype.renderAttrs=function(t){var n,o,r;if(!t.attrs)return"";for(r="",n=0,o=t.attrs.length;n<o;n++)r+=" "+zi(t.attrs[n][0])+'="'+zi(t.attrs[n][1])+'"';return r};Xa.prototype.renderToken=function(t,n,o){var r,i="",a=!1,s=t[n];return s.hidden?"":(s.block&&s.nesting!==-1&&n&&t[n-1].hidden&&(i+=`
`),i+=(s.nesting===-1?"</":"<")+s.tag,i+=this.renderAttrs(s),s.nesting===0&&o.xhtmlOut&&(i+=" /"),s.block&&(a=!0,s.nesting===1&&n+1<t.length&&(r=t[n+1],(r.type==="inline"||r.hidden||r.nesting===-1&&r.tag===s.tag)&&(a=!1))),i+=a?`>
`:">",i)};Xa.prototype.renderInline=function(e,t,n){for(var o,r="",i=this.rules,a=0,s=e.length;a<s;a++)o=e[a].type,typeof i[o]<"u"?r+=i[o](e,a,t,n,this):r+=this.renderToken(e,a,t);return r};Xa.prototype.renderInlineAsText=function(e,t,n){for(var o="",r=0,i=e.length;r<i;r++)e[r].type==="text"?o+=e[r].content:e[r].type==="image"?o+=this.renderInlineAsText(e[r].children,t,n):e[r].type==="softbreak"&&(o+=`
`);return o};Xa.prototype.render=function(e,t,n){var o,r,i,a="",s=this.rules;for(o=0,r=e.length;o<r;o++)i=e[o].type,i==="inline"?a+=this.renderInline(e[o].children,t,n):typeof s[i]<"u"?a+=s[i](e,o,t,n,this):a+=this.renderToken(e,o,t,n);return a};var lOe=Xa;function Mo(){this.__rules__=[],this.__cache__=null}Mo.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};Mo.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(o){t.indexOf(o)<0&&t.push(o)})}),e.__cache__={},t.forEach(function(n){e.__cache__[n]=[],e.__rules__.forEach(function(o){o.enabled&&(n&&o.alt.indexOf(n)<0||e.__cache__[n].push(o.fn))})})};Mo.prototype.at=function(e,t,n){var o=this.__find__(e),r=n||{};if(o===-1)throw new Error("Parser rule not found: "+e);this.__rules__[o].fn=t,this.__rules__[o].alt=r.alt||[],this.__cache__=null};Mo.prototype.before=function(e,t,n,o){var r=this.__find__(e),i=o||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null};Mo.prototype.after=function(e,t,n,o){var r=this.__find__(e),i=o||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r+1,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null};Mo.prototype.push=function(e,t,n){var o=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:o.alt||[]}),this.__cache__=null};Mo.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(o){var r=this.__find__(o);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+o)}this.__rules__[r].enabled=!0,n.push(o)},this),this.__cache__=null,n};Mo.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(e,t)};Mo.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(o){var r=this.__find__(o);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+o)}this.__rules__[r].enabled=!1,n.push(o)},this),this.__cache__=null,n};Mo.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};var Vm=Mo,cOe=/\r\n?|\n/g,uOe=/\0/g,dOe=function(t){var n;n=t.src.replace(cOe,`
`),n=n.replace(uOe,"<22>"),t.src=n},fOe=function(t){var n;t.inlineMode?(n=new t.Token("inline","",0),n.content=t.src,n.map=[0,1],n.children=[],t.tokens.push(n)):t.md.block.parse(t.src,t.md,t.env,t.tokens)},hOe=function(t){var n=t.tokens,o,r,i;for(r=0,i=n.length;r<i;r++)o=n[r],o.type==="inline"&&t.md.inline.parse(o.content,t.md,t.env,o.children)},pOe=Ft.arrayReplaceAt;function mOe(e){return/^<a[>\s]/i.test(e)}function gOe(e){return/^<\/a\s*>/i.test(e)}var vOe=function(t){var n,o,r,i,a,s,l,c,u,d,f,h,p,g,m,b,_=t.tokens,C;if(t.md.options.linkify){for(o=0,r=_.length;o<r;o++)if(!(_[o].type!=="inline"||!t.md.linkify.pretest(_[o].content)))for(i=_[o].children,p=0,n=i.length-1;n>=0;n--){if(s=i[n],s.type==="link_close"){for(n--;i[n].level!==s.level&&i[n].type!=="link_open";)n--;continue}if(s.type==="html_inline"&&(mOe(s.content)&&p>0&&p--,gOe(s.content)&&p++),!(p>0)&&s.type==="text"&&t.md.linkify.test(s.content)){for(u=s.content,C=t.md.linkify.match(u),l=[],h=s.level,f=0,C.length>0&&C[0].index===0&&n>0&&i[n-1].type==="text_special"&&(C=C.slice(1)),c=0;c<C.length;c++)g=C[c].url,m=t.md.normalizeLink(g),t.md.validateLink(m)&&(b=C[c].text,C[c].schema?C[c].schema==="mailto:"&&!/^mailto:/i.test(b)?b=t.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):b=t.md.normalizeLinkText(b):b=t.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,""),d=C[c].index,d>f&&(a=new t.Token("text","",0),a.content=u.slice(f,d),a.level=h,l.push(a)),a=new t.Token("link_open","a",1),a.attrs=[["href",m]],a.level=h++,a.markup="linkify",a.info="auto",l.push(a),a=new t.Token("text","",0),a.content=b,a.level=h,l.push(a),a=new t.Token("link_close","a",-1),a.level=--h,a.markup="linkify",a.info="auto",l.push(a),f=C[c].lastIndex);f<u.length&&(a=new t.Token("text","",0),a.content=u.slice(f),a.level=h,l.push(a)),_[o].children=i=pOe(i,n,l)}}}},bk=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,bOe=/\((c|tm|r)\)/i,yOe=/\((c|tm|r)\)/ig,xOe={c:"©",r:"®",tm:"™"};function COe(e,t){return xOe[t.toLowerCase()]}function wOe(e){var t,n,o=0;for(t=e.length-1;t>=0;t--)n=e[t],n.type==="text"&&!o&&(n.content=n.content.replace(yOe,COe)),n.type==="link_open"&&n.info==="auto"&&o--,n.type==="link_close"&&n.info==="auto"&&o++}function _Oe(e){var t,n,o=0;for(t=e.length-1;t>=0;t--)n=e[t],n.type==="text"&&!o&&bk.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&o--,n.type==="link_close"&&n.info==="auto"&&o++}var SOe=function(t){var n;if(t.md.options.typographer)for(n=t.tokens.length-1;n>=0;n--)t.tokens[n].type==="inline"&&(bOe.test(t.tokens[n].content)&&wOe(t.tokens[n].children),bk.test(t.tokens[n].content)&&_Oe(t.tokens[n].children))},D1=Ft.isWhiteSpace,L1=Ft.isPunctChar,F1=Ft.isMdAsciiPunct,kOe=/['"]/,B1=/['"]/g,N1="’";function Xl(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function POe(e,t){var n,o,r,i,a,s,l,c,u,d,f,h,p,g,m,b,_,C,S,w,x;for(S=[],n=0;n<e.length;n++){for(o=e[n],l=e[n].level,_=S.length-1;_>=0&&!(S[_].level<=l);_--);if(S.length=_+1,o.type==="text"){r=o.content,a=0,s=r.length;e:for(;a<s&&(B1.lastIndex=a,i=B1.exec(r),!!i);){if(m=b=!0,a=i.index+1,C=i[0]==="'",u=32,i.index-1>=0)u=r.charCodeAt(i.index-1);else for(_=n-1;_>=0&&!(e[_].type==="softbreak"||e[_].type==="hardbreak");_--)if(e[_].content){u=e[_].content.charCodeAt(e[_].content.length-1);break}if(d=32,a<s)d=r.charCodeAt(a);else for(_=n+1;_<e.length&&!(e[_].type==="softbreak"||e[_].type==="hardbreak");_++)if(e[_].content){d=e[_].content.charCodeAt(0);break}if(f=F1(u)||L1(String.fromCharCode(u)),h=F1(d)||L1(String.fromCharCode(d)),p=D1(u),g=D1(d),g?m=!1:h&&(p||f||(m=!1)),p?b=!1:f&&(g||h||(b=!1)),d===34&&i[0]==='"'&&u>=48&&u<=57&&(b=m=!1),m&&b&&(m=f,b=h),!m&&!b){C&&(o.content=Xl(o.content,i.index,N1));continue}if(b){for(_=S.length-1;_>=0&&(c=S[_],!(S[_].level<l));_--)if(c.single===C&&S[_].level===l){c=S[_],C?(w=t.md.options.quotes[2],x=t.md.options.quotes[3]):(w=t.md.options.quotes[0],x=t.md.options.quotes[1]),o.content=Xl(o.content,i.index,x),e[c.token].content=Xl(e[c.token].content,c.pos,w),a+=x.length-1,c.token===n&&(a+=w.length-1),r=o.content,s=r.length,S.length=_;continue e}}m?S.push({token:n,pos:i.index,single:C,level:l}):b&&C&&(o.content=Xl(o.content,i.index,N1))}}}}var TOe=function(t){var n;if(t.md.options.typographer)for(n=t.tokens.length-1;n>=0;n--)t.tokens[n].type!=="inline"||!kOe.test(t.tokens[n].content)||POe(t.tokens[n].children,t)},ROe=function(t){var n,o,r,i,a,s,l=t.tokens;for(n=0,o=l.length;n<o;n++)if(l[n].type==="inline"){for(r=l[n].children,a=r.length,i=0;i<a;i++)r[i].type==="text_special"&&(r[i].type="text");for(i=s=0;i<a;i++)r[i].type==="text"&&i+1<a&&r[i+1].type==="text"?r[i+1].content=r[i].content+r[i+1].content:(i!==s&&(r[s]=r[i]),s++);i!==s&&(r.length=s)}};function Za(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Za.prototype.attrIndex=function(t){var n,o,r;if(!this.attrs)return-1;for(n=this.attrs,o=0,r=n.length;o<r;o++)if(n[o][0]===t)return o;return-1};Za.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]};Za.prototype.attrSet=function(t,n){var o=this.attrIndex(t),r=[t,n];o<0?this.attrPush(r):this.attrs[o]=r};Za.prototype.attrGet=function(t){var n=this.attrIndex(t),o=null;return n>=0&&(o=this.attrs[n][1]),o};Za.prototype.attrJoin=function(t,n){var o=this.attrIndex(t);o<0?this.attrPush([t,n]):this.attrs[o][1]=this.attrs[o][1]+" "+n};var Wm=Za,EOe=Wm;function yk(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}yk.prototype.Token=EOe;var $Oe=yk,AOe=Vm,gf=[["normalize",dOe],["block",fOe],["inline",hOe],["linkify",vOe],["replacements",SOe],["smartquotes",TOe],["text_join",ROe]];function Um(){this.ruler=new AOe;for(var e=0;e<gf.length;e++)this.ruler.push(gf[e][0],gf[e][1])}Um.prototype.process=function(e){var t,n,o;for(o=this.ruler.getRules(""),t=0,n=o.length;t<n;t++)o[t](e)};Um.prototype.State=$Oe;var IOe=Um,vf=Ft.isSpace;function bf(e,t){var n=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];return e.src.slice(n,o)}function H1(e){var t=[],n=0,o=e.length,r,i=!1,a=0,s="";for(r=e.charCodeAt(n);n<o;)r===124&&(i?(s+=e.substring(a,n-1),a=n):(t.push(s+e.substring(a,n)),s="",a=n+1)),i=r===92,n++,r=e.charCodeAt(n);return t.push(s+e.substring(a)),t}var OOe=function(t,n,o,r){var i,a,s,l,c,u,d,f,h,p,g,m,b,_,C,S,w,x;if(n+2>o||(u=n+1,t.sCount[u]<t.blkIndent)||t.sCount[u]-t.blkIndent>=4||(s=t.bMarks[u]+t.tShift[u],s>=t.eMarks[u])||(w=t.src.charCodeAt(s++),w!==124&&w!==45&&w!==58)||s>=t.eMarks[u]||(x=t.src.charCodeAt(s++),x!==124&&x!==45&&x!==58&&!vf(x))||w===45&&vf(x))return!1;for(;s<t.eMarks[u];){if(i=t.src.charCodeAt(s),i!==124&&i!==45&&i!==58&&!vf(i))return!1;s++}for(a=bf(t,n+1),d=a.split("|"),p=[],l=0;l<d.length;l++){if(g=d[l].trim(),!g){if(l===0||l===d.length-1)continue;return!1}if(!/^:?-+:?$/.test(g))return!1;g.charCodeAt(g.length-1)===58?p.push(g.charCodeAt(0)===58?"center":"right"):g.charCodeAt(0)===58?p.push("left"):p.push("")}if(a=bf(t,n).trim(),a.indexOf("|")===-1||t.sCount[n]-t.blkIndent>=4||(d=H1(a),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),f=d.length,f===0||f!==p.length))return!1;if(r)return!0;for(_=t.parentType,t.parentType="table",S=t.md.block.ruler.getRules("blockquote"),h=t.push("table_open","table",1),h.map=m=[n,0],h=t.push("thead_open","thead",1),h.map=[n,n+1],h=t.push("tr_open","tr",1),h.map=[n,n+1],l=0;l<d.length;l++)h=t.push("th_open","th",1),p[l]&&(h.attrs=[["style","text-align:"+p[l]]]),h=t.push("inline","",0),h.content=d[l].trim(),h.children=[],h=t.push("th_close","th",-1);for(h=t.push("tr_close","tr",-1),h=t.push("thead_close","thead",-1),u=n+2;u<o&&!(t.sCount[u]<t.blkIndent);u++){for(C=!1,l=0,c=S.length;l<c;l++)if(S[l](t,u,o,!0)){C=!0;break}if(C||(a=bf(t,u).trim(),!a)||t.sCount[u]-t.blkIndent>=4)break;for(d=H1(a),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),u===n+2&&(h=t.push("tbody_open","tbody",1),h.map=b=[n+2,0]),h=t.push("tr_open","tr",1),h.map=[u,u+1],l=0;l<f;l++)h=t.push("td_open","td",1),p[l]&&(h.attrs=[["style","text-align:"+p[l]]]),h=t.push("inline","",0),h.content=d[l]?d[l].trim():"",h.children=[],h=t.push("td_close","td",-1);h=t.push("tr_close","tr",-1)}return b&&(h=t.push("tbody_close","tbody",-1),b[1]=u),h=t.push("table_close","table",-1),m[1]=u,t.parentType=_,t.line=u,!0},MOe=function(t,n,o){var r,i,a;if(t.sCount[n]-t.blkIndent<4)return!1;for(i=r=n+1;r<o;){if(t.isEmpty(r)){r++;continue}if(t.sCount[r]-t.blkIndent>=4){r++,i=r;continue}break}return t.line=i,a=t.push("code_block","code",0),a.content=t.getLines(n,i,4+t.blkIndent,!1)+`
`,a.map=[n,t.line],!0},zOe=function(t,n,o,r){var i,a,s,l,c,u,d,f=!1,h=t.bMarks[n]+t.tShift[n],p=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||h+3>p||(i=t.src.charCodeAt(h),i!==126&&i!==96)||(c=h,h=t.skipChars(h,i),a=h-c,a<3)||(d=t.src.slice(c,h),s=t.src.slice(h,p),i===96&&s.indexOf(String.fromCharCode(i))>=0))return!1;if(r)return!0;for(l=n;l++,!(l>=o||(h=c=t.bMarks[l]+t.tShift[l],p=t.eMarks[l],h<p&&t.sCount[l]<t.blkIndent));)if(t.src.charCodeAt(h)===i&&!(t.sCount[l]-t.blkIndent>=4)&&(h=t.skipChars(h,i),!(h-c<a)&&(h=t.skipSpaces(h),!(h<p)))){f=!0;break}return a=t.sCount[n],t.line=l+(f?1:0),u=t.push("fence","code",0),u.info=s,u.content=t.getLines(n+1,l,a,!0),u.markup=d,u.map=[n,t.line],!0},DOe=Ft.isSpace,LOe=function(t,n,o,r){var i,a,s,l,c,u,d,f,h,p,g,m,b,_,C,S,w,x,y,P,k=t.lineMax,T=t.bMarks[n]+t.tShift[n],E=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||t.src.charCodeAt(T)!==62)return!1;if(r)return!0;for(p=[],g=[],_=[],C=[],x=t.md.block.ruler.getRules("blockquote"),b=t.parentType,t.parentType="blockquote",f=n;f<o&&(P=t.sCount[f]<t.blkIndent,T=t.bMarks[f]+t.tShift[f],E=t.eMarks[f],!(T>=E));f++){if(t.src.charCodeAt(T++)===62&&!P){for(l=t.sCount[f]+1,t.src.charCodeAt(T)===32?(T++,l++,i=!1,S=!0):t.src.charCodeAt(T)===9?(S=!0,(t.bsCount[f]+l)%4===3?(T++,l++,i=!1):i=!0):S=!1,h=l,p.push(t.bMarks[f]),t.bMarks[f]=T;T<E&&(a=t.src.charCodeAt(T),DOe(a));){a===9?h+=4-(h+t.bsCount[f]+(i?1:0))%4:h++;T++}u=T>=E,g.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(S?1:0),_.push(t.sCount[f]),t.sCount[f]=h-l,C.push(t.tShift[f]),t.tShift[f]=T-t.bMarks[f];continue}if(u)break;for(w=!1,s=0,c=x.length;s<c;s++)if(x[s](t,f,o,!0)){w=!0;break}if(w){t.lineMax=f,t.blkIndent!==0&&(p.push(t.bMarks[f]),g.push(t.bsCount[f]),C.push(t.tShift[f]),_.push(t.sCount[f]),t.sCount[f]-=t.blkIndent);break}p.push(t.bMarks[f]),g.push(t.bsCount[f]),C.push(t.tShift[f]),_.push(t.sCount[f]),t.sCount[f]=-1}for(m=t.blkIndent,t.blkIndent=0,y=t.push("blockquote_open","blockquote",1),y.markup=">",y.map=d=[n,0],t.md.block.tokenize(t,n,f),y=t.push("blockquote_close","blockquote",-1),y.markup=">",t.lineMax=k,t.parentType=b,d[1]=t.line,s=0;s<C.length;s++)t.bMarks[s+n]=p[s],t.tShift[s+n]=C[s],t.sCount[s+n]=_[s],t.bsCount[s+n]=g[s];return t.blkIndent=m,!0},FOe=Ft.isSpace,BOe=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||(i=t.src.charCodeAt(c++),i!==42&&i!==45&&i!==95))return!1;for(a=1;c<u;){if(s=t.src.charCodeAt(c++),s!==i&&!FOe(s))return!1;s===i&&a++}return a<3?!1:(r||(t.line=n+1,l=t.push("hr","hr",0),l.map=[n,t.line],l.markup=Array(a+1).join(String.fromCharCode(i))),!0)},xk=Ft.isSpace;function j1(e,t){var n,o,r,i;return o=e.bMarks[t]+e.tShift[t],r=e.eMarks[t],n=e.src.charCodeAt(o++),n!==42&&n!==45&&n!==43||o<r&&(i=e.src.charCodeAt(o),!xk(i))?-1:o}function V1(e,t){var n,o=e.bMarks[t]+e.tShift[t],r=o,i=e.eMarks[t];if(r+1>=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<i&&(n=e.src.charCodeAt(r),!xk(n))?-1:r}function NOe(e,t){var n,o,r=e.level+2;for(n=t+2,o=e.tokens.length-2;n<o;n++)e.tokens[n].level===r&&e.tokens[n].type==="paragraph_open"&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}var HOe=function(t,n,o,r){var i,a,s,l,c,u,d,f,h,p,g,m,b,_,C,S,w,x,y,P,k,T,E,R,K,N,D,M=n,G=!1,J=!0;if(t.sCount[M]-t.blkIndent>=4||t.listIndent>=0&&t.sCount[M]-t.listIndent>=4&&t.sCount[M]<t.blkIndent)return!1;if(r&&t.parentType==="paragraph"&&t.sCount[M]>=t.blkIndent&&(G=!0),(T=V1(t,M))>=0){if(d=!0,R=t.bMarks[M]+t.tShift[M],b=Number(t.src.slice(R,T-1)),G&&b!==1)return!1}else if((T=j1(t,M))>=0)d=!1;else return!1;if(G&&t.skipSpaces(T)>=t.eMarks[M])return!1;if(r)return!0;for(m=t.src.charCodeAt(T-1),g=t.tokens.length,d?(D=t.push("ordered_list_open","ol",1),b!==1&&(D.attrs=[["start",b]])):D=t.push("bullet_list_open","ul",1),D.map=p=[M,0],D.markup=String.fromCharCode(m),E=!1,N=t.md.block.ruler.getRules("list"),w=t.parentType,t.parentType="list";M<o;){for(k=T,_=t.eMarks[M],u=C=t.sCount[M]+T-(t.bMarks[M]+t.tShift[M]);k<_;){if(i=t.src.charCodeAt(k),i===9)C+=4-(C+t.bsCount[M])%4;else if(i===32)C++;else break;k++}if(a=k,a>=_?c=1:c=C-u,c>4&&(c=1),l=u+c,D=t.push("list_item_open","li",1),D.markup=String.fromCharCode(m),D.map=f=[M,0],d&&(D.info=t.src.slice(R,T-1)),P=t.tight,y=t.tShift[M],x=t.sCount[M],S=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=l,t.tight=!0,t.tShift[M]=a-t.bMarks[M],t.sCount[M]=C,a>=_&&t.isEmpty(M+1)?t.line=Math.min(t.line+2,o):t.md.block.tokenize(t,M,o,!0),(!t.tight||E)&&(J=!1),E=t.line-M>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=S,t.tShift[M]=y,t.sCount[M]=x,t.tight=P,D=t.push("list_item_close","li",-1),D.markup=String.fromCharCode(m),M=t.line,f[1]=M,M>=o||t.sCount[M]<t.blkIndent||t.sCount[M]-t.blkIndent>=4)break;for(K=!1,s=0,h=N.length;s<h;s++)if(N[s](t,M,o,!0)){K=!0;break}if(K)break;if(d){if(T=V1(t,M),T<0)break;R=t.bMarks[M]+t.tShift[M]}else if(T=j1(t,M),T<0)break;if(m!==t.src.charCodeAt(T-1))break}return d?D=t.push("ordered_list_close","ol",-1):D=t.push("bullet_list_close","ul",-1),D.markup=String.fromCharCode(m),p[1]=M,t.line=M,t.parentType=w,J&&NOe(t,g),!0},jOe=Ft.normalizeReference,Zl=Ft.isSpace,VOe=function(t,n,o,r){var i,a,s,l,c,u,d,f,h,p,g,m,b,_,C,S,w=0,x=t.bMarks[n]+t.tShift[n],y=t.eMarks[n],P=n+1;if(t.sCount[n]-t.blkIndent>=4||t.src.charCodeAt(x)!==91)return!1;for(;++x<y;)if(t.src.charCodeAt(x)===93&&t.src.charCodeAt(x-1)!==92){if(x+1===y||t.src.charCodeAt(x+1)!==58)return!1;break}for(l=t.lineMax,C=t.md.block.ruler.getRules("reference"),p=t.parentType,t.parentType="reference";P<l&&!t.isEmpty(P);P++)if(!(t.sCount[P]-t.blkIndent>3)&&!(t.sCount[P]<0)){for(_=!1,u=0,d=C.length;u<d;u++)if(C[u](t,P,l,!0)){_=!0;break}if(_)break}for(b=t.getLines(n,P,t.blkIndent,!1).trim(),y=b.length,x=1;x<y;x++){if(i=b.charCodeAt(x),i===91)return!1;if(i===93){h=x;break}else i===10?w++:i===92&&(x++,x<y&&b.charCodeAt(x)===10&&w++)}if(h<0||b.charCodeAt(h+1)!==58)return!1;for(x=h+2;x<y;x++)if(i=b.charCodeAt(x),i===10)w++;else if(!Zl(i))break;if(g=t.md.helpers.parseLinkDestination(b,x,y),!g.ok||(c=t.md.normalizeLink(g.str),!t.md.validateLink(c)))return!1;for(x=g.pos,w+=g.lines,a=x,s=w,m=x;x<y;x++)if(i=b.charCodeAt(x),i===10)w++;else if(!Zl(i))break;for(g=t.md.helpers.parseLinkTitle(b,x,y),x<y&&m!==x&&g.ok?(S=g.str,x=g.pos,w+=g.lines):(S="",x=a,w=s);x<y&&(i=b.charCodeAt(x),!!Zl(i));)x++;if(x<y&&b.charCodeAt(x)!==10&&S)for(S="",x=a,w=s;x<y&&(i=b.charCodeAt(x),!!Zl(i));)x++;return x<y&&b.charCodeAt(x)!==10||(f=jOe(b.slice(1,h)),!f)?!1:(r||(typeof t.env.references>"u"&&(t.env.references={}),typeof t.env.references[f]>"u"&&(t.env.references[f]={title:S,href:c}),t.parentType=p,t.line=n+w+1),!0)},WOe=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Xu={},UOe="[a-zA-Z_:][a-zA-Z0-9:._-]*",qOe="[^\"'=<>`\\x00-\\x20]+",KOe="'[^']*'",GOe='"[^"]*"',YOe="(?:"+qOe+"|"+KOe+"|"+GOe+")",XOe="(?:\\s+"+UOe+"(?:\\s*=\\s*"+YOe+")?)",Ck="<[A-Za-z][A-Za-z0-9\\-]*"+XOe+"*\\s*\\/?>",wk="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",ZOe="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",JOe="<[?][\\s\\S]*?[?]>",QOe="<![A-Z]+\\s+[^>]*>",eMe="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",tMe=new RegExp("^(?:"+Ck+"|"+wk+"|"+ZOe+"|"+JOe+"|"+QOe+"|"+eMe+")"),nMe=new RegExp("^(?:"+Ck+"|"+wk+")");Xu.HTML_TAG_RE=tMe;Xu.HTML_OPEN_CLOSE_TAG_RE=nMe;var oMe=WOe,rMe=Xu.HTML_OPEN_CLOSE_TAG_RE,ia=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+oMe.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(rMe.source+"\\s*$"),/^$/,!1]],iMe=function(t,n,o,r){var i,a,s,l,c=t.bMarks[n]+t.tShift[n],u=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||!t.md.options.html||t.src.charCodeAt(c)!==60)return!1;for(l=t.src.slice(c,u),i=0;i<ia.length&&!ia[i][0].test(l);i++);if(i===ia.length)return!1;if(r)return ia[i][2];if(a=n+1,!ia[i][1].test(l)){for(;a<o&&!(t.sCount[a]<t.blkIndent);a++)if(c=t.bMarks[a]+t.tShift[a],u=t.eMarks[a],l=t.src.slice(c,u),ia[i][1].test(l)){l.length!==0&&a++;break}}return t.line=a,s=t.push("html_block","",0),s.map=[n,a],s.content=t.getLines(n,a,t.blkIndent,!0),!0},W1=Ft.isSpace,aMe=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||(i=t.src.charCodeAt(c),i!==35||c>=u))return!1;for(a=1,i=t.src.charCodeAt(++c);i===35&&c<u&&a<=6;)a++,i=t.src.charCodeAt(++c);return a>6||c<u&&!W1(i)?!1:(r||(u=t.skipSpacesBack(u,c),s=t.skipCharsBack(u,35,c),s>c&&W1(t.src.charCodeAt(s-1))&&(u=s),t.line=n+1,l=t.push("heading_open","h"+String(a),1),l.markup="########".slice(0,a),l.map=[n,t.line],l=t.push("inline","",0),l.content=t.src.slice(c,u).trim(),l.map=[n,t.line],l.children=[],l=t.push("heading_close","h"+String(a),-1),l.markup="########".slice(0,a)),!0)},sMe=function(t,n,o){var r,i,a,s,l,c,u,d,f,h=n+1,p,g=t.md.block.ruler.getRules("paragraph");if(t.sCount[n]-t.blkIndent>=4)return!1;for(p=t.parentType,t.parentType="paragraph";h<o&&!t.isEmpty(h);h++)if(!(t.sCount[h]-t.blkIndent>3)){if(t.sCount[h]>=t.blkIndent&&(c=t.bMarks[h]+t.tShift[h],u=t.eMarks[h],c<u&&(f=t.src.charCodeAt(c),(f===45||f===61)&&(c=t.skipChars(c,f),c=t.skipSpaces(c),c>=u)))){d=f===61?1:2;break}if(!(t.sCount[h]<0)){for(i=!1,a=0,s=g.length;a<s;a++)if(g[a](t,h,o,!0)){i=!0;break}if(i)break}}return d?(r=t.getLines(n,h,t.blkIndent,!1).trim(),t.line=h+1,l=t.push("heading_open","h"+String(d),1),l.markup=String.fromCharCode(f),l.map=[n,t.line],l=t.push("inline","",0),l.content=r,l.map=[n,t.line-1],l.children=[],l=t.push("heading_close","h"+String(d),-1),l.markup=String.fromCharCode(f),t.parentType=p,!0):!1},lMe=function(t,n,o){var r,i,a,s,l,c,u=n+1,d=t.md.block.ruler.getRules("paragraph");for(c=t.parentType,t.parentType="paragraph";u<o&&!t.isEmpty(u);u++)if(!(t.sCount[u]-t.blkIndent>3)&&!(t.sCount[u]<0)){for(i=!1,a=0,s=d.length;a<s;a++)if(d[a](t,u,o,!0)){i=!0;break}if(i)break}return r=t.getLines(n,u,t.blkIndent,!1).trim(),t.line=u,l=t.push("paragraph_open","p",1),l.map=[n,t.line],l=t.push("inline","",0),l.content=r,l.map=[n,t.line],l.children=[],l=t.push("paragraph_close","p",-1),t.parentType=c,!0},_k=Wm,Zu=Ft.isSpace;function Yo(e,t,n,o){var r,i,a,s,l,c,u,d;for(this.src=e,this.md=t,this.env=n,this.tokens=o,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",i=this.src,d=!1,a=s=c=u=0,l=i.length;s<l;s++){if(r=i.charCodeAt(s),!d)if(Zu(r)){c++,r===9?u+=4-u%4:u++;continue}else d=!0;(r===10||s===l-1)&&(r!==10&&s++,this.bMarks.push(a),this.eMarks.push(s),this.tShift.push(c),this.sCount.push(u),this.bsCount.push(0),d=!1,c=0,u=0,a=s+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Yo.prototype.push=function(e,t,n){var o=new _k(e,t,n);return o.block=!0,n<0&&this.level--,o.level=this.level,n>0&&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;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};Yo.prototype.skipSpaces=function(t){for(var n,o=this.src.length;t<o&&(n=this.src.charCodeAt(t),!!Zu(n));t++);return t};Yo.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!Zu(this.src.charCodeAt(--t)))return t+1;return t};Yo.prototype.skipChars=function(t,n){for(var o=this.src.length;t<o&&this.src.charCodeAt(t)===n;t++);return t};Yo.prototype.skipCharsBack=function(t,n,o){if(t<=o)return t;for(;t>o;)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;f<n;f++,i++){for(a=0,d=l=this.bMarks[f],f+1<n||r?c=this.eMarks[f]+1:c=this.eMarks[f];l<c&&a<o;){if(s=this.src.charCodeAt(l),Zu(s))s===9?a+=4-(a+this.bsCount[f])%4:a++;else if(l-d<this.tShift[f])a++;else break;l++}a>o?u[i]=new Array(a-o+1).join(" ")+this.src.slice(l,c):u[i]=this.src.slice(l,c)}return u.join("")};Yo.prototype.Token=_k;var cMe=Yo,uMe=Vm,Jl=[["table",OOe,["paragraph","reference"]],["code",MOe],["fence",zOe,["paragraph","reference","blockquote","list"]],["blockquote",LOe,["paragraph","reference","blockquote","list"]],["hr",BOe,["paragraph","reference","blockquote","list"]],["list",HOe,["paragraph","reference","blockquote"]],["reference",VOe],["html_block",iMe,["paragraph","reference","blockquote"]],["heading",aMe,["paragraph","reference","blockquote"]],["lheading",sMe],["paragraph",lMe]];function Ju(){this.ruler=new uMe;for(var e=0;e<Jl.length;e++)this.ruler.push(Jl[e][0],Jl[e][1],{alt:(Jl[e][2]||[]).slice()})}Ju.prototype.tokenize=function(e,t,n){for(var o,r,i,a=this.ruler.getRules(""),s=a.length,l=t,c=!1,u=e.md.options.maxNesting;l<n&&(e.line=l=e.skipEmptyLines(l),!(l>=n||e.sCount[l]<e.blkIndent));){if(e.level>=u){e.line=n;break}for(i=e.line,r=0;r<s;r++)if(o=a[r](e,l,n,!1),o){if(i>=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,l<n&&e.isEmpty(l)&&(c=!0,l++,e.line=l)}};Ju.prototype.parse=function(e,t,n,o){var r;e&&(r=new this.State(e,t,n,o),this.tokenize(r,r.line,r.lineMax))};Ju.prototype.State=cMe;var dMe=Ju;function fMe(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}var hMe=function(t,n){for(var o=t.pos;o<t.posMax&&!fMe(t.src.charCodeAt(o));)o++;return o===t.pos?!1:(n||(t.pending+=t.src.slice(t.pos,o)),t.pos=o,!0)},pMe=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,mMe=function(t,n){var o,r,i,a,s,l,c,u;return!t.md.options.linkify||t.linkLevel>0||(o=t.pos,r=t.posMax,o+3>r)||t.src.charCodeAt(o)!==58||t.src.charCodeAt(o+1)!==47||t.src.charCodeAt(o+2)!==47||(i=t.pending.match(pMe),!i)||(a=i[1],s=t.md.linkify.matchAtStart(t.src.slice(o-a.length)),!s)||(l=s.url,l.length<=a.length)||(l=l.replace(/\*+$/,""),c=t.md.normalizeLink(l),!t.md.validateLink(c))?!1:(n||(t.pending=t.pending.slice(0,-a.length),u=t.push("link_open","a",1),u.attrs=[["href",c]],u.markup="linkify",u.info="auto",u=t.push("text","",0),u.content=t.md.normalizeLinkText(l),u=t.push("link_close","a",-1),u.markup="linkify",u.info="auto"),t.pos+=l.length-a.length,!0)},gMe=Ft.isSpace,vMe=function(t,n){var o,r,i,a=t.pos;if(t.src.charCodeAt(a)!==10)return!1;if(o=t.pending.length-1,r=t.posMax,!n)if(o>=0&&t.pending.charCodeAt(o)===32)if(o>=1&&t.pending.charCodeAt(o-1)===32){for(i=o-1;i>=1&&t.pending.charCodeAt(i-1)===32;)i--;t.pending=t.pending.slice(0,i),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(a++;a<r&&gMe(t.src.charCodeAt(a));)a++;return t.pos=a,!0},bMe=Ft.isSpace,qm=[];for(var U1=0;U1<256;U1++)qm.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){qm[e.charCodeAt(0)]=1});var yMe=function(t,n){var o,r,i,a,s,l=t.pos,c=t.posMax;if(t.src.charCodeAt(l)!==92||(l++,l>=c))return!1;if(o=t.src.charCodeAt(l),o===10){for(n||t.push("hardbreak","br",0),l++;l<c&&(o=t.src.charCodeAt(l),!!bMe(o));)l++;return t.pos=l,!0}return a=t.src[l],o>=55296&&o<=56319&&l+1<c&&(r=t.src.charCodeAt(l+1),r>=56320&&r<=57343&&(a+=t.src[l+1],l++)),i="\\"+a,n||(s=t.push("text_special","",0),o<256&&qm[o]!==0?s.content=a:s.content=i,s.markup=i,s.info="escape"),t.pos=l+1,!0},xMe=function(t,n){var o,r,i,a,s,l,c,u,d=t.pos,f=t.src.charCodeAt(d);if(f!==96)return!1;for(o=d,d++,r=t.posMax;d<r&&t.src.charCodeAt(d)===96;)d++;if(i=t.src.slice(o,d),c=i.length,t.backticksScanned&&(t.backticks[c]||0)<=o)return n||(t.pending+=i),t.pos+=c,!0;for(l=d;(s=t.src.indexOf("`",l))!==-1;){for(l=s+1;l<r&&t.src.charCodeAt(l)===96;)l++;if(u=l-s,u===c)return n||(a=t.push("code_inline","code",0),a.markup=i,a.content=t.src.slice(d,s).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),t.pos=l,!0;t.backticks[u]=s}return t.backticksScanned=!0,n||(t.pending+=i),t.pos+=c,!0},Qu={};Qu.tokenize=function(t,n){var o,r,i,a,s,l=t.pos,c=t.src.charCodeAt(l);if(n||c!==126||(r=t.scanDelims(t.pos,!0),a=r.length,s=String.fromCharCode(c),a<2))return!1;for(a%2&&(i=t.push("text","",0),i.content=s,a--),o=0;o<a;o+=2)i=t.push("text","",0),i.content=s+s,t.delimiters.push({marker:c,length:0,token:t.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return t.pos+=r.length,!0};function q1(e,t){var n,o,r,i,a,s=[],l=t.length;for(n=0;n<l;n++)r=t[n],r.marker===126&&r.end!==-1&&(i=t[r.end],a=e.tokens[r.token],a.type="s_open",a.tag="s",a.nesting=1,a.markup="~~",a.content="",a=e.tokens[i.token],a.type="s_close",a.tag="s",a.nesting=-1,a.markup="~~",a.content="",e.tokens[i.token-1].type==="text"&&e.tokens[i.token-1].content==="~"&&s.push(i.token-1));for(;s.length;){for(n=s.pop(),o=n+1;o<e.tokens.length&&e.tokens[o].type==="s_close";)o++;o--,n!==o&&(a=e.tokens[o],e.tokens[o]=e.tokens[n],e.tokens[n]=a)}}Qu.postProcess=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for(q1(t,t.delimiters),n=0;n<r;n++)o[n]&&o[n].delimiters&&q1(t,o[n].delimiters)};var ed={};ed.tokenize=function(t,n){var o,r,i,a=t.pos,s=t.src.charCodeAt(a);if(n||s!==95&&s!==42)return!1;for(r=t.scanDelims(t.pos,s===42),o=0;o<r.length;o++)i=t.push("text","",0),i.content=String.fromCharCode(s),t.delimiters.push({marker:s,length:r.length,token:t.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return t.pos+=r.length,!0};function K1(e,t){var n,o,r,i,a,s,l=t.length;for(n=l-1;n>=0;n--)o=t[n],!(o.marker!==95&&o.marker!==42)&&o.end!==-1&&(r=t[o.end],s=n>0&&t[n-1].end===o.end+1&&t[n-1].marker===o.marker&&t[n-1].token===o.token-1&&t[o.end+1].token===r.token+1,a=String.fromCharCode(o.marker),i=e.tokens[o.token],i.type=s?"strong_open":"em_open",i.tag=s?"strong":"em",i.nesting=1,i.markup=s?a+a:a,i.content="",i=e.tokens[r.token],i.type=s?"strong_close":"em_close",i.tag=s?"strong":"em",i.nesting=-1,i.markup=s?a+a:a,i.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[o.end+1].token].content="",n--))}ed.postProcess=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for(K1(t,t.delimiters),n=0;n<r;n++)o[n]&&o[n].delimiters&&K1(t,o[n].delimiters)};var CMe=Ft.normalizeReference,yf=Ft.isSpace,wMe=function(t,n){var o,r,i,a,s,l,c,u,d,f="",h="",p=t.pos,g=t.posMax,m=t.pos,b=!0;if(t.src.charCodeAt(t.pos)!==91||(s=t.pos+1,a=t.md.helpers.parseLinkLabel(t,t.pos,!0),a<0))return!1;if(l=a+1,l<g&&t.src.charCodeAt(l)===40){for(b=!1,l++;l<g&&(r=t.src.charCodeAt(l),!(!yf(r)&&r!==10));l++);if(l>=g)return!1;if(m=l,c=t.md.helpers.parseLinkDestination(t.src,l,t.posMax),c.ok){for(f=t.md.normalizeLink(c.str),t.md.validateLink(f)?l=c.pos:f="",m=l;l<g&&(r=t.src.charCodeAt(l),!(!yf(r)&&r!==10));l++);if(c=t.md.helpers.parseLinkTitle(t.src,l,t.posMax),l<g&&m!==l&&c.ok)for(h=c.str,l=c.pos;l<g&&(r=t.src.charCodeAt(l),!(!yf(r)&&r!==10));l++);}(l>=g||t.src.charCodeAt(l)!==41)&&(b=!0),l++}if(b){if(typeof t.env.references>"u")return!1;if(l<g&&t.src.charCodeAt(l)===91?(m=l+1,l=t.md.helpers.parseLinkLabel(t,l),l>=0?i=t.src.slice(m,l++):l=a+1):l=a+1,i||(i=t.src.slice(s,a)),u=t.env.references[CMe(i)],!u)return t.pos=p,!1;f=u.href,h=u.title}return n||(t.pos=s,t.posMax=a,d=t.push("link_open","a",1),d.attrs=o=[["href",f]],h&&o.push(["title",h]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,d=t.push("link_close","a",-1)),t.pos=l,t.posMax=g,!0},_Me=Ft.normalizeReference,xf=Ft.isSpace,SMe=function(t,n){var o,r,i,a,s,l,c,u,d,f,h,p,g,m="",b=t.pos,_=t.posMax;if(t.src.charCodeAt(t.pos)!==33||t.src.charCodeAt(t.pos+1)!==91||(l=t.pos+2,s=t.md.helpers.parseLinkLabel(t,t.pos+1,!1),s<0))return!1;if(c=s+1,c<_&&t.src.charCodeAt(c)===40){for(c++;c<_&&(r=t.src.charCodeAt(c),!(!xf(r)&&r!==10));c++);if(c>=_)return!1;for(g=c,d=t.md.helpers.parseLinkDestination(t.src,c,t.posMax),d.ok&&(m=t.md.normalizeLink(d.str),t.md.validateLink(m)?c=d.pos:m=""),g=c;c<_&&(r=t.src.charCodeAt(c),!(!xf(r)&&r!==10));c++);if(d=t.md.helpers.parseLinkTitle(t.src,c,t.posMax),c<_&&g!==c&&d.ok)for(f=d.str,c=d.pos;c<_&&(r=t.src.charCodeAt(c),!(!xf(r)&&r!==10));c++);else f="";if(c>=_||t.src.charCodeAt(c)!==41)return t.pos=b,!1;c++}else{if(typeof t.env.references>"u")return!1;if(c<_&&t.src.charCodeAt(c)===91?(g=c+1,c=t.md.helpers.parseLinkLabel(t,c),c>=0?a=t.src.slice(g,c++):c=s+1):c=s+1,a||(a=t.src.slice(l,s)),u=t.env.references[_Me(a)],!u)return t.pos=b,!1;m=u.href,f=u.title}return n||(i=t.src.slice(l,s),t.md.inline.parse(i,t.md,t.env,p=[]),h=t.push("image","img",0),h.attrs=o=[["src",m],["alt",""]],h.children=p,h.content=i,f&&o.push(["title",f])),t.pos=c,t.posMax=_,!0},kMe=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,PMe=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,TMe=function(t,n){var o,r,i,a,s,l,c=t.pos;if(t.src.charCodeAt(c)!==60)return!1;for(s=t.pos,l=t.posMax;;){if(++c>=l||(a=t.src.charCodeAt(c),a===60))return!1;if(a===62)break}return o=t.src.slice(s+1,c),PMe.test(o)?(r=t.md.normalizeLink(o),t.md.validateLink(r)?(n||(i=t.push("link_open","a",1),i.attrs=[["href",r]],i.markup="autolink",i.info="auto",i=t.push("text","",0),i.content=t.md.normalizeLinkText(o),i=t.push("link_close","a",-1),i.markup="autolink",i.info="auto"),t.pos+=o.length+2,!0):!1):kMe.test(o)?(r=t.md.normalizeLink("mailto:"+o),t.md.validateLink(r)?(n||(i=t.push("link_open","a",1),i.attrs=[["href",r]],i.markup="autolink",i.info="auto",i=t.push("text","",0),i.content=t.md.normalizeLinkText(o),i=t.push("link_close","a",-1),i.markup="autolink",i.info="auto"),t.pos+=o.length+2,!0):!1):!1},RMe=Xu.HTML_TAG_RE;function EMe(e){return/^<a[>\s]/i.test(e)}function $Me(e){return/^<\/a\s*>/i.test(e)}function AMe(e){var t=e|32;return t>=97&&t<=122}var IMe=function(t,n){var o,r,i,a,s=t.pos;return!t.md.options.html||(i=t.posMax,t.src.charCodeAt(s)!==60||s+2>=i)||(o=t.src.charCodeAt(s+1),o!==33&&o!==63&&o!==47&&!AMe(o))||(r=t.src.slice(s).match(RMe),!r)?!1:(n||(a=t.push("html_inline","",0),a.content=r[0],EMe(a.content)&&t.linkLevel++,$Me(a.content)&&t.linkLevel--),t.pos+=r[0].length,!0)},G1=pk,OMe=Ft.has,MMe=Ft.isValidEntityCode,Y1=Ft.fromCodePoint,zMe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,DMe=/^&([a-z][a-z0-9]{1,31});/i,LMe=function(t,n){var o,r,i,a,s=t.pos,l=t.posMax;if(t.src.charCodeAt(s)!==38||s+1>=l)return!1;if(o=t.src.charCodeAt(s+1),o===35){if(i=t.src.slice(s).match(zMe),i)return n||(r=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),a=t.push("text_special","",0),a.content=MMe(r)?Y1(r):Y1(65533),a.markup=i[0],a.info="entity"),t.pos+=i[0].length,!0}else if(i=t.src.slice(s).match(DMe),i&&OMe(G1,i[1]))return n||(a=t.push("text_special","",0),a.content=G1[i[1]],a.markup=i[0],a.info="entity"),t.pos+=i[0].length,!0;return!1};function X1(e){var t,n,o,r,i,a,s,l,c={},u=e.length;if(u){var d=0,f=-2,h=[];for(t=0;t<u;t++)if(o=e[t],h.push(0),(e[d].marker!==o.marker||f!==o.token-1)&&(d=t),f=o.token,o.length=o.length||0,!!o.close){for(c.hasOwnProperty(o.marker)||(c[o.marker]=[-1,-1,-1,-1,-1,-1]),i=c[o.marker][(o.open?3:0)+o.length%3],n=d-h[d]-1,a=n;n>i;n-=h[n]+1)if(r=e[n],r.marker===o.marker&&r.open&&r.end<0&&(s=!1,(r.close||o.open)&&(r.length+o.length)%3===0&&(r.length%3!==0||o.length%3!==0)&&(s=!0),!s)){l=n>0&&!e[n-1].open?h[n-1]+1:0,h[t]=t-n+l,h[n]=l,o.open=!1,r.end=t,r.close=!1,a=-1,f=-2;break}a!==-1&&(c[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}var FMe=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for(X1(t.delimiters),n=0;n<r;n++)o[n]&&o[n].delimiters&&X1(o[n].delimiters)},BMe=function(t){var n,o,r=0,i=t.tokens,a=t.tokens.length;for(n=o=0;n<a;n++)i[n].nesting<0&&r--,i[n].level=r,i[n].nesting>0&&r++,i[n].type==="text"&&n+1<a&&i[n+1].type==="text"?i[n+1].content=i[n].content+i[n+1].content:(n!==o&&(i[o]=i[n]),o++);n!==o&&(i.length=o)},Km=Wm,Z1=Ft.isWhiteSpace,J1=Ft.isPunctChar,Q1=Ft.isMdAsciiPunct;function bl(e,t,n,o){this.src=e,this.env=n,this.md=t,this.tokens=o,this.tokens_meta=Array(o.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}bl.prototype.pushPending=function(){var e=new Km("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};bl.prototype.push=function(e,t,n){this.pending&&this.pushPending();var o=new Km(e,t,n),r=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),o.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(r),o};bl.prototype.scanDelims=function(e,t){var n=e,o,r,i,a,s,l,c,u,d,f=!0,h=!0,p=this.posMax,g=this.src.charCodeAt(e);for(o=e>0?this.src.charCodeAt(e-1):32;n<p&&this.src.charCodeAt(n)===g;)n++;return i=n-e,r=n<p?this.src.charCodeAt(n):32,c=Q1(o)||J1(String.fromCharCode(o)),d=Q1(r)||J1(String.fromCharCode(r)),l=Z1(o),u=Z1(r),u?f=!1:d&&(l||c||(f=!1)),l?h=!1:c&&(u||d||(h=!1)),t?(a=f,s=h):(a=f&&(!h||c),s=h&&(!f||d)),{can_open:a,can_close:s,length:i}};bl.prototype.Token=Km;var NMe=bl,ey=Vm,Cf=[["text",hMe],["linkify",mMe],["newline",vMe],["escape",yMe],["backticks",xMe],["strikethrough",Qu.tokenize],["emphasis",ed.tokenize],["link",wMe],["image",SMe],["autolink",TMe],["html_inline",IMe],["entity",LMe]],wf=[["balance_pairs",FMe],["strikethrough",Qu.postProcess],["emphasis",ed.postProcess],["fragments_join",BMe]];function yl(){var e;for(this.ruler=new ey,e=0;e<Cf.length;e++)this.ruler.push(Cf[e][0],Cf[e][1]);for(this.ruler2=new ey,e=0;e<wf.length;e++)this.ruler2.push(wf[e][0],wf[e][1])}yl.prototype.skipToken=function(e){var t,n,o=e.pos,r=this.ruler.getRules(""),i=r.length,a=e.md.options.maxNesting,s=e.cache;if(typeof s[o]<"u"){e.pos=s[o];return}if(e.level<a){for(n=0;n<i;n++)if(e.level++,t=r[n](e,!0),e.level--,t){if(o>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;t||e.pos++,s[o]=e.pos};yl.prototype.tokenize=function(e){for(var t,n,o,r=this.ruler.getRules(""),i=r.length,a=e.posMax,s=e.md.options.maxNesting;e.pos<a;){if(o=e.pos,e.level<s){for(n=0;n<i;n++)if(t=r[n](e,!1),t){if(o>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(t){if(e.pos>=a)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};yl.prototype.parse=function(e,t,n,o){var r,i,a,s=new this.State(e,t,n,o);for(this.tokenize(s),i=this.ruler2.getRules(""),a=i.length,r=0;r<a;r++)i[r](s)};yl.prototype.State=NMe;var HMe=yl,_f,ty;function jMe(){return ty||(ty=1,_f=function(e){var t={};e=e||{},t.src_Any=mk().source,t.src_Cc=gk().source,t.src_Z=vk().source,t.src_P=jm.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}),_f}function Wh(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(n){n&&Object.keys(n).forEach(function(o){e[o]=n[o]})}),e}function td(e){return Object.prototype.toString.call(e)}function VMe(e){return td(e)==="[object String]"}function WMe(e){return td(e)==="[object Object]"}function UMe(e){return td(e)==="[object RegExp]"}function ny(e){return td(e)==="[object Function]"}function qMe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Sk={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function KMe(e){return Object.keys(e||{}).reduce(function(t,n){return t||Sk.hasOwnProperty(n)},!1)}var GMe={"http:":{validate:function(e,t,n){var o=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(o)?o.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var o=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(o)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:o.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var o=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(o)?o.match(n.re.mailto)[0].length:0}}},YMe="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",XMe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function ZMe(e){e.__index__=-1,e.__text_cache__=""}function JMe(e){return function(t,n){var o=t.slice(n);return e.test(o)?o.match(e)[0].length:0}}function oy(){return function(e,t){t.normalize(e)}}function jc(e){var t=e.re=jMe()(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(YMe),n.push(t.src_xn),t.src_tlds=n.join("|");function o(s){return s.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(o(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(o(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(o(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(o(t.tpl_host_fuzzy_test),"i");var r=[];e.__compiled__={};function i(s,l){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+l)}Object.keys(e.__schemas__).forEach(function(s){var l=e.__schemas__[s];if(l!==null){var c={validate:null,link:null};if(e.__compiled__[s]=c,WMe(l)){UMe(l.validate)?c.validate=JMe(l.validate):ny(l.validate)?c.validate=l.validate:i(s,l),ny(l.normalize)?c.normalize=l.normalize:l.normalize?i(s,l):c.normalize=oy();return}if(VMe(l)){r.push(s);return}i(s,l)}}),r.forEach(function(s){e.__compiled__[e.__schemas__[s]]&&(e.__compiled__[s].validate=e.__compiled__[e.__schemas__[s]].validate,e.__compiled__[s].normalize=e.__compiled__[e.__schemas__[s]].normalize)}),e.__compiled__[""]={validate:null,normalize:oy()};var a=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(qMe).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),ZMe(e)}function QMe(e,t){var n=e.__index__,o=e.__last_index__,r=e.__text_cache__.slice(n,o);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=o+t,this.raw=r,this.text=r,this.url=r}function Uh(e,t){var n=new QMe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function no(e,t){if(!(this instanceof no))return new no(e,t);t||KMe(e)&&(t=e,e={}),this.__opts__=Wh({},Sk,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Wh({},GMe,e),this.__compiled__={},this.__tlds__=XMe,this.__tlds_replaced__=!1,this.re={},jc(this)}no.prototype.add=function(t,n){return this.__schemas__[t]=n,jc(this),this};no.prototype.set=function(t){return this.__opts__=Wh(this.__opts__,t),this};no.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var n,o,r,i,a,s,l,c,u;if(this.re.schema_test.test(t)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(t))!==null;)if(i=this.testSchemaAt(t,n[2],l.lastIndex),i){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=t.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c<this.__index__)&&(o=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(a=o.index+o[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=o.index+o[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(u=t.indexOf("@"),u>=0&&(r=t.match(this.re.email_fuzzy))!==null&&(a=r.index+r[1].length,s=r.index+r[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&s>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=s))),this.__index__>=0};no.prototype.pretest=function(t){return this.re.pretest.test(t)};no.prototype.testSchemaAt=function(t,n,o){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,o,this):0};no.prototype.match=function(t){var n=0,o=[];this.__index__>=0&&this.__text_cache__===t&&(o.push(Uh(this,n)),n=this.__last_index__);for(var r=n?t.slice(n):t;this.test(r);)o.push(Uh(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return o.length?o:null};no.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;var n=this.re.schema_at_start.exec(t);if(!n)return null;var o=this.testSchemaAt(t,n[2],n[0].length);return o?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o,Uh(this,0)):null};no.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(o,r,i){return o!==i[r-1]}).reverse(),jc(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,jc(this),this)};no.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};no.prototype.onCompile=function(){};var eze=no;const ya=2147483647,Ho=36,Gm=1,nl=26,tze=38,nze=700,kk=72,Pk=128,Tk="-",oze=/^xn--/,rze=/[^\0-\x7F]/,ize=/[\x2E\u3002\uFF0E\uFF61]/g,aze={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Sf=Ho-Gm,jo=Math.floor,kf=String.fromCharCode;function Mr(e){throw new RangeError(aze[e])}function sze(e,t){const n=[];let o=e.length;for(;o--;)n[o]=t(e[o]);return n}function Rk(e,t){const n=e.split("@");let o="";n.length>1&&(o=n[0]+"@",e=n[1]),e=e.replace(ize,".");const r=e.split("."),i=sze(r,t).join(".");return o+i}function Ym(e){const t=[];let n=0;const o=e.length;for(;n<o;){const r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<o){const i=e.charCodeAt(n++);(i&64512)==56320?t.push(((r&1023)<<10)+(i&1023)+65536):(t.push(r),n--)}else t.push(r)}return t}const Ek=e=>String.fromCodePoint(...e),lze=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Ho},ry=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},$k=function(e,t,n){let o=0;for(e=n?jo(e/nze):e>>1,e+=jo(e/t);e>Sf*nl>>1;o+=Ho)e=jo(e/Sf);return jo(o+(Sf+1)*e/(e+tze))},Xm=function(e){const t=[],n=e.length;let o=0,r=Pk,i=kk,a=e.lastIndexOf(Tk);a<0&&(a=0);for(let s=0;s<a;++s)e.charCodeAt(s)>=128&&Mr("not-basic"),t.push(e.charCodeAt(s));for(let s=a>0?a+1:0;s<n;){const l=o;for(let u=1,d=Ho;;d+=Ho){s>=n&&Mr("invalid-input");const f=lze(e.charCodeAt(s++));f>=Ho&&Mr("invalid-input"),f>jo((ya-o)/u)&&Mr("overflow"),o+=f*u;const h=d<=i?Gm:d>=i+nl?nl:d-i;if(f<h)break;const p=Ho-h;u>jo(ya/p)&&Mr("overflow"),u*=p}const c=t.length+1;i=$k(o-l,c,l==0),jo(o/c)>ya-r&&Mr("overflow"),r+=jo(o/c),o%=c,t.splice(o++,0,r)}return String.fromCodePoint(...t)},Zm=function(e){const t=[];e=Ym(e);const n=e.length;let o=Pk,r=0,i=kk;for(const l of e)l<128&&t.push(kf(l));const a=t.length;let s=a;for(a&&t.push(Tk);s<n;){let l=ya;for(const u of e)u>=o&&u<l&&(l=u);const c=s+1;l-o>jo((ya-r)/c)&&Mr("overflow"),r+=(l-o)*c,o=l;for(const u of e)if(u<o&&++r>ya&&Mr("overflow"),u===o){let d=r;for(let f=Ho;;f+=Ho){const h=f<=i?Gm:f>=i+nl?nl:f-i;if(d<h)break;const p=d-h,g=Ho-h;t.push(kf(ry(h+p%g,0))),d=jo(p/g)}t.push(kf(ry(d,0))),i=$k(r,c,s===a),r=0,++s}++r,++o}return t.join("")},Ak=function(e){return Rk(e,function(t){return oze.test(t)?Xm(t.slice(4).toLowerCase()):t})},Ik=function(e){return Rk(e,function(t){return rze.test(t)?"xn--"+Zm(t):t})},cze={version:"2.3.1",ucs2:{decode:Ym,encode:Ek},decode:Xm,encode:Zm,toASCII:Ik,toUnicode:Ak},uze=Object.freeze(Object.defineProperty({__proto__:null,decode:Xm,default:cze,encode:Zm,toASCII:Ik,toUnicode:Ak,ucs2decode:Ym,ucs2encode:Ek},Symbol.toStringTag,{value:"Module"})),dze=wE(uze);var fze={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},hze={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},pze={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},Os=Ft,mze=Yu,gze=lOe,vze=IOe,bze=dMe,yze=HMe,xze=eze,yi=Ya,Ok=dze,Cze={default:fze,zero:hze,commonmark:pze},wze=/^(vbscript|javascript|file|data):/,_ze=/^data:image\/(gif|png|jpeg|webp);/;function Sze(e){var t=e.trim().toLowerCase();return wze.test(t)?!!_ze.test(t):!0}var Mk=["http:","https:","mailto:"];function kze(e){var t=yi.parse(e,!0);if(t.hostname&&(!t.protocol||Mk.indexOf(t.protocol)>=0))try{t.hostname=Ok.toASCII(t.hostname)}catch{}return yi.encode(yi.format(t))}function Pze(e){var t=yi.parse(e,!0);if(t.hostname&&(!t.protocol||Mk.indexOf(t.protocol)>=0))try{t.hostname=Ok.toUnicode(t.hostname)}catch{}return yi.decode(yi.format(t),yi.decode.defaultChars+"%")}function ho(e,t){if(!(this instanceof ho))return new ho(e,t);t||Os.isString(e)||(t=e||{},e="default"),this.inline=new yze,this.block=new bze,this.core=new vze,this.renderer=new gze,this.linkify=new xze,this.validateLink=Sze,this.normalizeLink=kze,this.normalizeLinkText=Pze,this.utils=Os,this.helpers=Os.assign({},mze),this.options={},this.configure(e),t&&this.set(t)}ho.prototype.set=function(e){return Os.assign(this.options,e),this};ho.prototype.configure=function(e){var t=this,n;if(Os.isString(e)&&(n=e,e=Cze[n],!e))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(o){e.components[o].rules&&t[o].ruler.enableOnly(e.components[o].rules),e.components[o].rules2&&t[o].ruler2.enableOnly(e.components[o].rules2)}),this};ho.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var o=e.filter(function(r){return n.indexOf(r)<0});if(o.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+o);return this};ho.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var o=e.filter(function(r){return n.indexOf(r)<0});if(o.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+o);return this};ho.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};ho.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};ho.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};ho.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};ho.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var Tze=ho,Rze=Tze;const nd=Tp(Rze),Eze={xmlns:"http://www.w3.org/2000/svg",id:"Layer_1",viewBox:"0 0 442.19 323.31"},$ze=U("path",{d:"m72.8 140.45-12.7 145.1h42.41l8.99-102.69h.04l3.67-42.41zM124.16 37.75h-42.4l-5.57 63.61h42.4zM318.36 285.56h42.08l5.57-63.61H323.9z",class:"cls-2"},null,-1),Aze=U("path",{d:"M382.09 37.76H340l-10.84 123.9H221.09l-14.14 161.65 85.83-121.47h145.89l3.52-40.18h-70.94z",class:"cls-2"},null,-1),Ize=U("path",{d:"M149.41 121.47H3.52L0 161.66h221.09L235.23 0z",style:{fill:"#ffbc00"}},null,-1);function Oze(e,t){return me(),ze("svg",Eze,[U("defs",null,[(me(),qe(eu("style"),null,{default:ue(()=>[nt(".cls-2{fill:#000}@media (prefers-color-scheme:dark){.cls-2{fill:#fff}}")]),_:1}))]),$ze,Aze,Ize])}const Mze={render:Oze},zze={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1109 1027"},Dze=J4('<defs><clipPath id="a"><path d="M692 855h1027v1109H692z"></path></clipPath><clipPath id="b"><path d="M-2-2h541v786H-2z"></path></clipPath><clipPath id="d"><path d="M0 0h535v782H0z"></path></clipPath><filter id="c" width="120%" height="120%" x="-10%" y="-10%" filterUnits="userSpaceOnUse" primitiveUnits="userSpaceOnUse"><feComponentTransfer color-interpolation-filters="sRGB"><feFuncR tableValues="0 0" type="discrete"></feFuncR><feFuncG tableValues="0 0" type="discrete"></feFuncG><feFuncB tableValues="0 0" type="discrete"></feFuncB><feFuncA slope=".4" type="linear"></feFuncA></feComponentTransfer><feGaussianBlur stdDeviation="4.58333 4.58333"></feGaussianBlur></filter></defs><g clip-path="url(#a)" transform="translate(-692 -855)"><path fill="#37474F" fill-rule="evenodd" d="M692 1191v384.69c0 64.72 39.499 75.5 39.499 75.5l416.531 280.43c64.63 43.15 46.68-50.33 46.68-50.33v-352.33z"></path><g clip-path="url(#b)" filter="url(#c)" transform="translate(1184 1182)"><g clip-path="url(#d)"><path fill="#455A64" fill-rule="evenodd" d="M520.482 15.482v384.694c0 64.714-39.499 75.5-39.499 75.5s-351.897 237.287-416.53 280.43c-64.635 43.144-46.68-50.333-46.68-50.333V353.437z"></path></g></g><path fill="#455A64" fill-rule="evenodd" d="M1698 1191v384.69c0 64.72-39.5 75.5-39.5 75.5s-351.9 237.29-416.53 280.43c-64.63 43.15-46.68-50.33-46.68-50.33v-352.33z"></path><path fill="#546E7A" fill-rule="evenodd" d="M1241.71 868.473c-28.75-17.964-71.86-17.964-97.01 0L713.557 1163.07c-28.743 17.97-28.743 50.3 0 68.26l431.143 298.2c28.74 17.96 71.86 17.96 97.01 0l434.73-301.79c28.75-17.96 28.75-50.3 0-68.26z"></path><path fill="#546E7A" fill-rule="evenodd" d="M1195 1949c-21.6 0-36-13.81-36-31.08v-386.84c0-17.26 14.4-31.08 36-31.08s36 13.82 36 31.08v383.38c0 20.73-14.4 34.54-36 34.54"></path><path fill="#99AAB5" fill-rule="evenodd" d="M1553.92 1435.92c0 35.97 3.58 50.35-35.89 75.53l-89.71 57.54c-39.47 25.18-53.82 3.6-53.82-28.77v-93.51c0-7.19 0-10.79-10.77-17.98-93.3-64.74-452.139-312.89-516.73-359.64L1012.07 954c46.65 28.772 387.54 255.35 527.49 352.45 7.18 3.6 10.77 10.79 10.77 14.39v115.08Z"></path><path fill="#CCD6DD" fill-rule="evenodd" d="M1543.41 1310.21c-143.59-97.04-484.62-323.458-527.69-352.21l-64.617 39.534L847 1069.41c64.615 46.73 423.59 291.12 516.92 355.81 7.18 3.59 7.18 7.19 7.18 10.78l175.9-122.2s0-3.59-3.59-3.59"></path><path fill="#CCD6DD" fill-rule="evenodd" d="M1554.9 1435.48v-111.29c0-7.18-3.6-10.77-10.79-14.36-143.83-96.94-485.44-323.109-528.6-351.83L940 1008.26c122.26 82.57 449.49 297.98 535.79 359.01 10.79 7.18 10.79 14.36 10.79 17.95V1536l35.96-25.13c35.96-25.13 32.36-43.08 32.36-75.39"></path><path fill="#E1E8ED" fill-rule="evenodd" d="M1543.23 1309.95C1399.6 1212.98 1058.49 986.731 1015.4 958l-75.4 50.28c122.08 82.6 448.83 298.08 535.01 359.13l3.59 3.59 75.4-53.87c-7.18-3.59-7.18-7.18-10.77-7.18"></path></g>',2),Lze=[Dze];function Fze(e,t){return me(),ze("svg",zze,[...Lze])}const Bze={render:Fze},Nze={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64"},Hze=U("g",{fill:"#E29942","clip-path":"url(#clip0_408_56)"},[U("path",{d:"M47.158 14.428c0-.591.31-1.14.818-1.444L61.449 4.9C62.572 4.225 64 5.034 64 6.343V20.21c0 .93-.754 1.685-1.684 1.685H48.842c-.93 0-1.684-.755-1.684-1.685z"}),U("path",{"fill-rule":"evenodd",d:"M24.397 26.46a1.68 1.68 0 0 0-.818 1.443V48c0 .93-.754 1.6-1.684 1.6h-3.369c-.93 0-1.684-.67-1.684-1.6V34.976c0-1.31-1.428-2.118-2.55-1.444L.817 41.617A1.68 1.68 0 0 0 0 43.062v17.572c0 .93.754 1.684 1.684 1.684h13.474c.93 0 1.684-.754 1.684-1.684v-3.803c0-.93.754-1.493 1.684-1.493h3.369c.93 0 1.684.563 1.684 1.493v3.803c0 .93.754 1.684 1.684 1.684h13.474c.93 0 1.684-.754 1.684-1.684V19.818c0-1.309-1.428-2.118-2.55-1.444z","clip-rule":"evenodd"}),U("path",{d:"M47.16 28.8v32c0 .884.753 1.6 1.683 1.6h13.474c.93 0 1.684-.716 1.684-1.6v-32c0-.884-.754-1.6-1.684-1.6H48.843c-.93 0-1.684.716-1.684 1.6"})],-1),jze=[Hze];function Vze(e,t){return me(),ze("svg",Nze,[...jze])}const Wze={render:Vze};var Ms=(e=>(e[e.PENDING=0]="PENDING",e[e.PROCESSING=1]="PROCESSING",e[e.CANCELLED=2]="CANCELLED",e[e.COMPLETED=3]="COMPLETED",e[e.DISCOUNTED=4]="DISCOUNTED",e))(Ms||{});const Uze={0:"待支付",1:"开通中",2:"已取消",3:"已完成",4:"已折抵"},zk={month_price:"月付",quarter_price:"季付",half_year_price:"半年付",year_price:"年付",two_year_price:"两年付",three_year_price:"三年付",onetime_price:"一次性",reset_price:"流量重置包"},Qi=e=>(s4("data-v-8ed2ef0c"),e=e(),l4(),e),qze=["innerHTML"],Kze={class:"w-64"},Gze={class:"text-#666"},Yze={class:"w-64"},Xze={class:"text-#666"},Zze=Qi(()=>U("div",{class:"w-64"},[U("img",{src:gte,class:"h-30 w-30"})],-1)),Jze={class:"text-#666"},Qze={class:"w-64"},eDe={class:"text-#666"},tDe={class:"font-bold"},nDe={class:"mb-20"},oDe={class:"text-center"},rDe={class:"mt-10 text-center"},iDe=Qi(()=>U("div",{class:"w-64"},[U("img",{src:hk,class:"h-30 w-30"})],-1)),aDe={class:"text-#666"},sDe={class:"w-64"},lDe={class:"text-#666"},cDe={class:"w-64"},uDe={class:"text-#666"},dDe=Qi(()=>U("div",{class:"w-64"},[U("img",{src:vte,class:"h-30 w-30 border-rounded-5"})],-1)),fDe={class:"text-#666"},hDe=Qi(()=>U("div",{class:"w-64"},[U("img",{src:bte,class:"h-30 w-30 border-rounded-5"})],-1)),pDe={class:"text-#666"},mDe=Qi(()=>U("div",{class:"w-64"},[U("img",{src:yte,class:"h-30 w-30"})],-1)),gDe={class:"text-#666"},vDe=Qi(()=>U("div",{class:"w-64"},[U("img",{src:hk,class:"h-30 w-30"})],-1)),bDe={class:"text-#666"},yDe=Qi(()=>U("div",{class:"w-64"},[U("img",{src:xte,class:"h-30 w-30"})],-1)),xDe={class:"text-#666"},CDe={class:"p-10 text-center"},wDe={class:"mb-5 md:mb-40"},_De={key:0,class:"mb-10"},SDe={class:"font-bold"},kDe=["onClick"],PDe={class:"carousel-img flex flex-col justify-between p-20",style:{background:"rgba(0, 0, 0, 0.5) !important"}},TDe={class:"text-20"},RDe={class:"text-16 font-600 color-[hsla(0,0%,100%,.75)]"},EDe={class:"text-block mb-16 p-t-20 text-20 font-600"},$De={key:0,class:"mb-16 text-14 text-gray"},ADe={key:1,class:"mb-16 text-14 font-600 text-red-500"},IDe={key:2,class:"mb-16 text-14 text-gray"},ODe={class:"text-gray"},MDe={class:"flex items-center justify-between"},zDe={class:""},DDe={class:"text-16"},LDe={class:"text-14 text-gray"},FDe={class:"flex items-center justify-between"},BDe={class:"text-16"},NDe={class:"text-14 text-gray"},HDe={class:"flex items-center justify-between"},jDe={class:"text-16"},VDe={class:"text-14 text-gray"},WDe={class:"flex items-center justify-between"},UDe={class:"text-16"},qDe={class:"text-14 text-gray"},KDe=be({__name:"index",setup(e){const t=B=>mn.global.t(B),n=IZ(),o=new nd({html:!0}),r=B=>o.render(B),i=Tn(),a=Ji(),s=navigator.userAgent.toLowerCase();let l="unknown";s.includes("windows")?l="windows":s.includes("iphone")||s.includes("ipad")?l="ios":s.includes("macintosh")?l="mac":s.includes("android")&&(l="android");const c=W(!1),u=W();jt(()=>{});const d=W(!1),f=W(!1),h=W(""),p=W(["auto"]),g=[{label:"自动",type:"auto"},{label:"全部",type:"all"},{label:"Vless",type:"vless"},{label:"Hy1",type:"hysteria"},{label:"Hy2",type:"hysteria2"},{label:"Shadowsocks",type:"shadowsocks"},{label:"Vmess",type:"vmess"},{label:"Trojan",type:"trojan"}],m=W([]);function b(B){if(B==="auto"||B==="all"&&p.value.includes("all"))p.value=["auto"];else if(B==="all"&&!p.value.includes("all"))p.value=m.value.map($=>$.type).filter($=>$!=="auto");else{const $=p.value.includes(B);p.value=$?p.value.filter(Y=>Y!==B):[...p.value.filter(Y=>Y!=="auto"),B],EA(m.value.map(Y=>Y.type).filter(Y=>Y!=="auto"&&Y!=="all"),p.value)?p.value.push("all"):p.value=p.value.filter(Y=>Y!=="all")}p.value.length===0&&(p.value=["auto"]),_()}function _(){var $,A,Y;const B=p.value;B.includes("all")?h.value=(($=w.value)==null?void 0:$.subscribe_url)+"&types=all":B.includes("auto")?h.value=((A=w.value)==null?void 0:A.subscribe_url)+"&types=auto":h.value=((Y=w.value)==null?void 0:Y.subscribe_url)+"&types="+p.value.join(",")}function C(B){console.log(B),window.location.href=B}function S(B){return btoa(unescape(encodeURIComponent(B)))}const w=F(()=>a.subscribe);function x(){var Y,ne,fe;const B=(Y=w.value)==null?void 0:Y.transfer_enable,$=((ne=w.value)==null?void 0:ne.u)||0,A=((fe=w.value)==null?void 0:fe.d)||0;return B?Math.floor(($+A)/B*100):0}const{errorColor:y,warningColor:P,successColor:k,primaryColor:T}=n.value;function E(){const B=x();return B>=100?y:B>=70?P:k}async function R(){var fe,Q;if(!await window.$dialog.confirm({title:t("确定重置当前已用流量?"),type:"info",content:t("点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。"),showIcon:!1}))return;const $=(fe=await Hm())==null?void 0:fe.data,A=$==null?void 0:$.find(xe=>xe.status===Ms.PENDING);if(A)if(await window.$dialog.confirm({title:t("注意"),type:"info",content:t("你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?"),positiveText:t("确认取消"),negativeText:t("返回我的订单"),showIcon:!1})){const H=A.trade_no;if(!await Wu(H))return}else{Gt.push("order");return}const Y=(Q=w.value)==null?void 0:Q.plan_id;if(!Y)return;const{data:ne}=await ck(Y,"reset_price");ne&&Gt.push("order/"+ne)}const K=W([]);async function N(){const{data:B}=await AJ();K.value=B,B.map($=>{var A;(A=$.tags)!=null&&A.includes("弹窗")&&(c.value=!0,u.value=$)})}const D=W([0,0,0]);async function M(){const{data:B}=await EJ();B&&(D.value=B)}const G=W(),J=W();async function he(){const{data:B}=await lk();if(B){G.value=B;const A=[...new Set(B.map(Y=>{let ne=Y.type;return Y.type==="hysteria"&&Y.version==2&&(ne="hysteria2"),ne}))];J.value=A,m.value=g.filter(Y=>A.includes(Y.type)||["auto","all"].includes(Y.type))}}function pe(){N(),a.getUserSubscribe(),M(),he()}return hn(()=>{pe()}),(B,$)=>{const A=ni,Y=mte,ne=Om,fe=vr,Q=ute,xe=ml,H=JS,ye=go,Oe=Im,Ne=Xi,L=zt,O=pl,oe=Ti,_e=ZV,te=vl,ge=Zi,ke=GX,I=ite,j=ete,ee=Yee,Ce=Wee,ce=Bee,le=vo;return me(),qe(le,{"show-footer":!1},{default:ue(()=>{var re,de,De,Le;return[ie(A,{show:c.value,"onUpdate:show":$[0]||($[0]=Pe=>c.value=Pe),class:"mx-10 max-w-100% w-600 md:mx-auto",preset:"card",title:(re=u.value)==null?void 0:re.title,size:"huge",bordered:!1,"content-style":"padding-top:0",segmented:{content:!1}},{default:ue(()=>{var Pe;return[U("div",{innerHTML:r(((Pe=u.value)==null?void 0:Pe.content)||""),class:"markdown-body custom-html-style"},null,8,qze)]}),_:1},8,["show","title"]),ie(A,{show:d.value,"onUpdate:show":$[15]||($[15]=Pe=>d.value=Pe),"transform-origin":"center","auto-focus":!1,"display-directive":"show","trap-focus":!1},{default:ue(()=>[ie(ye,{class:"max-w-100% w-300",bordered:!1,size:"huge",contentStyle:"padding:0"},{default:ue(()=>[ie(Oe,{hoverable:""},{default:ue(()=>{var Pe,Fe;return[ie(ne,{class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[1]||($[1]=He=>{var Ie,Qe;return((Ie=w.value)==null?void 0:Ie.subscribe_url)&&we(ma)((Qe=w.value)==null?void 0:Qe.subscribe_url)})},[U("div",Kze,[ie(Y,{class:"text-30 text-#595959"})]),U("div",Gze,se(B.$t("复制订阅地址")),1)])]),_:1}),(Pe=J.value)!=null&&Pe.includes("hysteria2")?(me(),qe(ne,{key:0,class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[2]||($[2]=He=>{var Ie,Qe;return((Ie=w.value)==null?void 0:Ie.subscribe_url)&&we(ma)(((Qe=w.value)==null?void 0:Qe.subscribe_url)+"&types=hysteria2")})},[U("div",Yze,[ie(fe,{size:"30"},{default:ue(()=>[ie(we(Mze))]),_:1})]),U("div",Xze,se(B.$t("复制HY2订阅地址")),1)])]),_:1})):pt("",!0),(Fe=J.value)!=null&&Fe.includes("vless")?(me(),qe(ne,{key:1,class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[3]||($[3]=He=>{var Ie,Qe;return((Ie=w.value)==null?void 0:Ie.subscribe_url)&&we(ma)(((Qe=w.value)==null?void 0:Qe.subscribe_url)+"&types=vless")})},[Zze,U("div",Jze,se(B.$t("复制Vless订阅地址")),1)])]),_:1})):pt("",!0),ie(ne,{class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[5]||($[5]=He=>{var Ie;return h.value=((Ie=w.value)==null?void 0:Ie.subscribe_url)||"",f.value=!0})},[U("div",Qze,[ie(Q,{class:"text-30 text-#595959"})]),U("div",eDe,se(B.$t("扫描二维码订阅")),1),ie(A,{show:f.value,"onUpdate:show":$[4]||($[4]=He=>f.value=He)},{default:ue(()=>[ie(ye,{class:"w-300"},{default:ue(()=>[U("div",tDe,se(B.$t("选择协议"))+":",1),U("div",nDe,[(me(!0),ze(it,null,Hn(m.value,He=>(me(),qe(xe,{key:He.type,value:He.type,checked:p.value.includes(He.type),onClick:Ie=>b(He.type)},{default:ue(()=>[nt(se(B.$t(He.label)),1)]),_:2},1032,["value","checked","onClick"]))),128))]),U("div",oDe,[ie(H,{value:h.value,"icon-src":we(i).logo,size:140,color:we(T),style:{"box-sizing":"content-box"}},null,8,["value","icon-src","color"])]),U("div",rDe,se(B.$t("使用支持扫码的客户端进行订阅")),1)]),_:1})]),_:1},8,["show"])])]),_:1}),["mac"].includes(we(l))?(me(),qe(ne,{key:2,class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[6]||($[6]=He=>{var Ie;return((Ie=w.value)==null?void 0:Ie.subscribe_url)&&C("clash://install-config?url="+w.value.subscribe_url+`&name=${we(i).title}`)})},[iDe,U("div",aDe,se(B.$t("导入到"))+" ClashX Meta",1)])]),_:1})):pt("",!0),["mac","android","windows"].includes(we(l))?(me(),qe(ne,{key:3,class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[7]||($[7]=He=>{var Ie;return((Ie=w.value)==null?void 0:Ie.subscribe_url)&&C("sing-box://import-remote-profile?url="+encodeURIComponent(w.value.subscribe_url)+`#${encodeURIComponent(we(i).title||"")}`)})},[U("div",sDe,[ie(fe,{size:"30"},{default:ue(()=>[ie(we(Wze))]),_:1})]),U("div",lDe,se(B.$t("导入到"))+" Hiddify Next",1)])]),_:1})):pt("",!0),["android","mac","ios"].includes(we(l))?(me(),qe(ne,{key:4,class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[8]||($[8]=He=>{var Ie;return((Ie=w.value)==null?void 0:Ie.subscribe_url)&&C("sing-box://import-remote-profile?url="+encodeURIComponent(w.value.subscribe_url)+`#${encodeURIComponent(we(i).title||"")}`)})},[U("div",cDe,[ie(fe,{size:"30"},{default:ue(()=>[ie(we(Bze))]),_:1})]),U("div",uDe,se(B.$t("导入到"))+" sing-box",1)])]),_:1})):pt("",!0),["mac","ios"].includes(we(l))?(me(),qe(ne,{key:5,class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[9]||($[9]=He=>{var Ie;return((Ie=w.value)==null?void 0:Ie.subscribe_url)&&C("shadowrocket://add/sub://"+S(w.value.subscribe_url).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")+`?remark=${we(i).title}`)})},[dDe,U("div",fDe,se(B.$t("导入到"))+" Shadowsocket",1)])]),_:1})):pt("",!0),["mac","ios"].includes(we(l))?(me(),qe(ne,{key:6,class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[10]||($[10]=He=>{var Ie;return((Ie=w.value)==null?void 0:Ie.subscribe_url)&&C("stash://install-config?url="+encodeURIComponent(w.value.subscribe_url)+`&name=${we(i).title}`)})},[hDe,U("div",pDe,se(B.$t("导入到"))+" Stash",1)])]),_:1})):pt("",!0),["android"].includes(we(l))?(me(),qe(ne,{key:7,class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[11]||($[11]=He=>{var Ie;return((Ie=w.value)==null?void 0:Ie.subscribe_url)&&C("clash://install-config?url="+w.value.subscribe_url+`&name=${we(i).title}`)})},[mDe,U("div",gDe,se(B.$t("导入到"))+" NekoBox",1)])]),_:1})):pt("",!0),["android"].includes(we(l))?(me(),qe(ne,{key:8,class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[12]||($[12]=He=>{var Ie;return((Ie=w.value)==null?void 0:Ie.subscribe_url)&&C("clash://install-config?url="+w.value.subscribe_url+`&name=${we(i).title}`)})},[vDe,U("div",bDe,se(B.$t("导入到"))+" Clash Meta",1)])]),_:1})):pt("",!0),["windows"].includes(we(l))?(me(),qe(ne,{key:9,class:"p-0!"},{default:ue(()=>[U("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[13]||($[13]=He=>{var Ie;return((Ie=w.value)==null?void 0:Ie.subscribe_url)&&C("clash://install-config?url="+w.value.subscribe_url+`&name=${we(i).title}`)})},[yDe,U("div",xDe,se(B.$t("导入到"))+" Clash",1)])]),_:1})):pt("",!0)]}),_:1}),ie(Ne,{class:"m-0!"}),U("div",CDe,[ie(L,{type:"primary",class:"w-100%",size:"large",onClick:$[14]||($[14]=Pe=>B.$router.push("/knowledge"))},{default:ue(()=>[nt(se(B.$t("不会使用,查看使用教程")),1)]),_:1})])]),_:1})]),_:1},8,["show"]),U("div",wDe,[D.value[1]&&D.value[1]>0||D.value[0]&&D.value[0]>0?(me(),ze("div",_De,[D.value[1]&&D.value[1]>0?(me(),qe(O,{key:0,type:"warning","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:ue(()=>[nt(se(D.value[1])+" "+se(B.$t("条工单正在处理中"))+" ",1),ie(L,{strong:"",text:"",onClick:$[16]||($[16]=Pe=>we(Gt).push("/ticket"))},{default:ue(()=>[nt(se(B.$t("立即查看")),1)]),_:1})]),_:1})):pt("",!0),D.value[0]&&D.value[0]>0?(me(),qe(O,{key:1,type:"error","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:ue(()=>[nt(se(B.$t("还有没支付的订单"))+" ",1),ie(L,{text:"",strong:"",onClick:$[17]||($[17]=Pe=>we(Gt).push("/order"))},{default:ue(()=>[nt(se(B.$t("立即支付")),1)]),_:1})]),_:1})):pt("",!0),!((de=w.value)!=null&&de.expired_at&&(((De=w.value)==null?void 0:De.expired_at)||0)>Date.now()/1e3)&&x()>=70?(me(),qe(O,{key:2,type:"info","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:ue(()=>[nt(se(B.$tc("当前已使用流量达{rate}%",{rate:x()}))+" ",1),ie(L,{text:"",onClick:$[18]||($[18]=Pe=>R())},{default:ue(()=>[U("span",SDe,se(B.$t("重置已用流量")),1)]),_:1})]),_:1})):pt("",!0)])):pt("",!0),dn(ie(ye,{class:"w-100% cursor-pointer overflow-hidden border-rounded-5 text-white transition hover:opacity-75",bordered:!1,"content-style":"padding: 0"},{default:ue(()=>[ie(_e,{autoplay:""},{default:ue(()=>[(me(!0),ze(it,null,Hn(K.value,Pe=>(me(),ze("div",{key:Pe.id,class:"",style:Di(Pe.img_url?`background:url(${Pe.img_url}) no-repeat;background-size: cover `:`background:url(${we(i).$state.assets_path}/images/background.svg)`),onClick:Fe=>(c.value=!0,u.value=Pe)},[U("div",PDe,[U("div",null,[ie(oe,{bordered:!1,class:"bg-#e04f1a text-12 color-white"},{default:ue(()=>[nt(se(B.$t("公告")),1)]),_:1})]),U("div",null,[U("p",TDe,se(Pe.title),1),U("p",RDe,se(we(Wo)(Pe.created_at)),1)])])],12,kDe))),128))]),_:1})]),_:1},512),[[Mn,((Le=K.value)==null?void 0:Le.length)>0]]),ie(ye,{title:B.$t("我的订阅"),class:"mt-5 border-rounded-5 md:m-t-20"},{default:ue(()=>{var Pe,Fe,He,Ie,Qe,Ct,X,ve,Ae,Ke,Ze,Je,tt,rt,vt,sn;return[w.value?(Pe=w.value)!=null&&Pe.plan_id?(me(),ze(it,{key:1},[U("div",EDe,se((He=(Fe=w.value)==null?void 0:Fe.plan)==null?void 0:He.name),1),((Ie=w.value)==null?void 0:Ie.expired_at)===null?(me(),ze("div",$De,se(B.$t("该订阅长期有效")),1)):(Qe=w.value)!=null&&Qe.expired_at&&(((Ct=w.value)==null?void 0:Ct.expired_at)??0)<Date.now()/1e3?(me(),ze("div",ADe,se(B.$t("已过期")),1)):(me(),ze("div",IDe,[nt(se(B.$tc("于 {date} 到期,距离到期还有 {day} 天。",{date:we(zp)((X=w.value)==null?void 0:X.expired_at),day:Math.floor(((((ve=w.value)==null?void 0:ve.expired_at)??0)-Date.now()/1e3)/86400)}))+" ",1),Math.floor(((((Ae=w.value)==null?void 0:Ae.expired_at)??0)-Date.now()/1e3)/86400)>(((Ke=w.value)==null?void 0:Ke.reset_day)||0)?(me(),ze(it,{key:0},[nt(se(B.$tc("已用流量将在 {reset_day} 日后重置",{reset_day:(Ze=w.value)==null?void 0:Ze.reset_day})),1)],64)):pt("",!0)])),ie(ke,{type:"line",percentage:x(),processing:"",color:E()},null,8,["percentage","color"]),U("div",null,se(B.$tc("已用 {used} / 总计 {total}",{used:we(da)(((((Je=w.value)==null?void 0:Je.u)||0)+(((tt=w.value)==null?void 0:tt.d)||0))/1024/1024/1024)+" GB",total:we(da)((((rt=w.value)==null?void 0:rt.transfer_enable)||0)/1024/1024/1024)+" GB"})),1),(vt=w.value)!=null&&vt.expired_at&&(((sn=w.value)==null?void 0:sn.expired_at)||0)<Date.now()/1e3?(me(),qe(L,{key:3,type:"primary",class:"mt-20",onClick:$[19]||($[19]=Dt=>we(Gt).push("/plan/"+we(a).plan_id))},{default:ue(()=>[nt(se(B.$t("续费订阅")),1)]),_:1})):x()>=70?(me(),qe(L,{key:4,type:"primary",class:"mt-20",onClick:$[20]||($[20]=Dt=>R())},{default:ue(()=>[nt(se(B.$t("重置已用流量")),1)]),_:1})):pt("",!0)],64)):(me(),ze("div",{key:2,class:"cursor-pointer pt-20 text-center",onClick:$[21]||($[21]=Dt=>we(Gt).push("/plan"))},[ie(I,{class:"text-40"}),U("div",ODe,se(B.$t("购买订阅")),1)])):(me(),qe(ge,{key:0},{default:ue(()=>[ie(te,{height:"20px",width:"33%"}),ie(te,{height:"20px",width:"66%"}),ie(te,{height:"20px"})]),_:1}))]}),_:1},8,["title"]),ie(ye,{title:B.$t("捷径"),class:"m-t-20 border-rounded-5","content-style":"padding: 0"},{default:ue(()=>[ie(Oe,{hoverable:"",clickable:""},{default:ue(()=>[ie(ne,{class:"flex flex cursor-pointer justify-between p-19 hover:bg-#f6f6f6",onClick:$[22]||($[22]=Pe=>we(Gt).push("/knowledge"))},{default:ue(()=>[U("div",MDe,[U("div",zDe,[U("div",DDe,se(B.$t("查看教程")),1),U("div",LDe,se(B.$t("学习如何使用"))+" "+se(we(i).title),1)]),U("div",null,[ie(j,{class:"text-30 color-gray-500"})])])]),_:1}),ie(ne,{class:"flex cursor-pointer justify-between p-19 hover:bg-#f6f6f6",onClick:$[23]||($[23]=Pe=>d.value=!0)},{default:ue(()=>[U("div",FDe,[U("div",null,[U("div",BDe,se(B.$t("一键订阅")),1),U("div",NDe,se(B.$t("快速将节点导入对应客户端进行使用")),1)]),U("div",null,[ie(ee,{class:"text-30 color-gray-500"})])])]),_:1}),ie(ne,{class:"flex cursor-pointer justify-between p-19",onClick:$[24]||($[24]=Pe=>we(a).plan_id?we(Gt).push("/plan/"+we(a).plan_id):we(Gt).push("/plan"))},{default:ue(()=>{var Pe;return[U("div",HDe,[U("div",null,[U("div",jDe,se((Pe=w.value)!=null&&Pe.plan_id?B.$t("续费订阅"):B.$t("购买订阅")),1),U("div",VDe,se(B.$t("对您当前的订阅进行购买")),1)]),U("div",null,[ie(Ce,{class:"text-30 color-gray-500"})])])]}),_:1}),ie(ne,{class:"flex cursor-pointer justify-between p-19",onClick:$[25]||($[25]=Pe=>B.$router.push("/ticket"))},{default:ue(()=>[U("div",WDe,[U("div",null,[U("div",UDe,se(B.$t("遇到问题")),1),U("div",qDe,se(B.$t("遇到问题可以通过工单与我们沟通")),1)]),U("div",null,[ie(ce,{class:"text-30 color-gray-500"})])])]),_:1})]),_:1})]),_:1},8,["title"])])]}),_:1})}}}),GDe=qu(KDe,[["__scopeId","data-v-8ed2ef0c"]]),YDe=Object.freeze(Object.defineProperty({__proto__:null,default:GDe},Symbol.toStringTag,{value:"Module"})),XDe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},ZDe=U("path",{fill:"currentColor",d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448s448-200.6 448-448S759.4 64 512 64m0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372s372 166.6 372 372s-166.6 372-372 372m159.6-585h-59.5c-3 0-5.8 1.7-7.1 4.4l-90.6 180H511l-90.6-180a8 8 0 0 0-7.1-4.4h-60.7c-1.3 0-2.6.3-3.8 1c-3.9 2.1-5.3 7-3.2 10.9L457 515.7h-61.4c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V603h-81.7c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V717c0 4.4 3.6 8 8 8h54.3c4.4 0 8-3.6 8-8v-68.1h82c4.4 0 8-3.6 8-8V611c0-4.4-3.6-8-8-8h-82v-41.5h82c4.4 0 8-3.6 8-8v-29.9c0-4.4-3.6-8-8-8h-62l111.1-204.8c.6-1.2 1-2.5 1-3.8c-.1-4.4-3.7-8-8.1-8"},null,-1),JDe=[ZDe];function QDe(e,t){return me(),ze("svg",XDe,[...JDe])}const eLe={name:"ant-design-pay-circle-outlined",render:QDe},tLe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},nLe=U("path",{fill:"currentColor",d:"M668.6 320c0-4.4-3.6-8-8-8h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 0 0-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1c-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.5-1.1.9-2.4.9-3.7M157.9 504.2a352.7 352.7 0 0 1 103.5-242.4c32.5-32.5 70.3-58.1 112.4-75.9c43.6-18.4 89.9-27.8 137.6-27.8c47.8 0 94.1 9.3 137.6 27.8c42.1 17.8 79.9 43.4 112.4 75.9c10 10 19.3 20.5 27.9 31.4l-50 39.1a8 8 0 0 0 3 14.1l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3l-47.8 37.4C770.7 146.3 648.6 82 511.5 82C277 82 86.3 270.1 82 503.8a8 8 0 0 0 8 8.2h60c4.3 0 7.8-3.5 7.9-7.8M934 512h-60c-4.3 0-7.9 3.5-8 7.8a352.7 352.7 0 0 1-103.5 242.4a352.6 352.6 0 0 1-112.4 75.9c-43.6 18.4-89.9 27.8-137.6 27.8s-94.1-9.3-137.6-27.8a352.6 352.6 0 0 1-112.4-75.9c-10-10-19.3-20.5-27.9-31.4l49.9-39.1a8 8 0 0 0-3-14.1l-156.8-38.3c-5-1.2-9.9 2.6-9.9 7.7l-.8 161.7c0 6.7 7.7 10.5 12.9 6.3l47.8-37.4C253.3 877.7 375.4 942 512.5 942C747 942 937.7 753.9 942 520.2a8 8 0 0 0-8-8.2"},null,-1),oLe=[nLe];function rLe(e,t){return me(),ze("svg",tLe,[...oLe])}const iLe={name:"ant-design-transaction-outlined",render:rLe},aLe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},sLe=U("path",{fill:"currentColor",d:"M19 17v2H7v-2s0-4 6-4s6 4 6 4m-3-9a3 3 0 1 0-3 3a3 3 0 0 0 3-3m3.2 5.06A5.6 5.6 0 0 1 21 17v2h3v-2s0-3.45-4.8-3.94M18 5a2.9 2.9 0 0 0-.89.14a5 5 0 0 1 0 5.72A2.9 2.9 0 0 0 18 11a3 3 0 0 0 0-6M8 10H5V7H3v3H0v2h3v3h2v-3h3Z"},null,-1),lLe=[sLe];function cLe(e,t){return me(),ze("svg",aLe,[...lLe])}const uLe={name:"mdi-invite",render:cLe},dLe={class:"text-50 font-400"},fLe={class:"m-l-10 text-20 text-#6c757d md:m-l20"},hLe={class:"text-#6c757d"},pLe={class:"flex justify-between p-b-5 p-t-5"},mLe={class:"flex justify-between p-b-5 p-t-5"},gLe={key:0},vLe={key:1},bLe={class:"flex justify-between p-b-5 p-t-5"},yLe={class:"flex justify-between p-b-5 p-t-5"},xLe={class:"m-t-10"},CLe={class:"m-b-5"},wLe={class:"m-t-10"},_Le={class:"m-b-5"},SLe={class:"flex justify-end"},kLe={class:"m-t-10"},PLe={class:"m-b-5"},TLe={class:"m-t-10"},RLe={class:"m-b-5"},ELe={class:"flex justify-end"},$Le=be({__name:"index",setup(e){const t=Tn(),n=x=>mn.global.t(x),o=[{title:n("邀请码"),key:"code",render(x){const y=`${window.location.protocol}//${window.location.host}/#/register?code=${x.code}`;return v("div",[v("span",x.code),v(zt,{size:"small",onClick:()=>ma(y),quaternary:!0,type:"info"},{default:()=>n("复制链接")})])}},{title:n("创建时间"),key:"created_at",fixed:"right",align:"right",render(x){return Wo(x.created_at)}}],r=[{title:n("发放时间"),key:"created_at",render(x){return Wo(x.created_at)}},{title:n("佣金"),key:"get_amount",fixed:"right",align:"right",render(x){return rn(x.get_amount)}}],i=W(),a=W([]);async function s(){const x=await zJ(),{data:y}=x;i.value=y.codes,a.value=y.stat}const l=W([]),c=eo({page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,50,100,150],onChange:x=>{c.page=x,u()},onUpdatePageSize:x=>{c.pageSize=x,c.page=1,u()}});async function u(){const x=await DJ(c.page,c.pageSize),{data:y}=x;l.value=y}const d=W(!1);async function f(){d.value=!0;const{data:x}=await LJ();x===!0&&(window.$message.success(n("已生成")),w()),d.value=!1}const h=W(!1),p=W(),g=W(!1);async function m(){g.value=!0;const x=p.value;if(typeof x!="number"){window.$message.error(n("请输入正确的划转金额")),g.value=!1;return}const{data:y}=await FJ(x*100);y===!0&&(window.$message.success(n("划转成功")),h.value=!1,s()),g.value=!1}const b=W(!1),_=eo({method:null,account:null}),C=W(!1);async function S(){if(C.value=!0,!_.method){window.$message.error(n("提现方式不能为空")),C.value=!1;return}if(!_.account){window.$message.error(n("提现账号不能为空")),C.value=!1;return}const x=_.method,y=_.account,{data:P}=await BJ({withdraw_method:x,withdraw_account:y});P===!0&&Gt.push("/ticket"),C.value=!1}function w(){s(),u()}return hn(()=>{w()}),(x,y)=>{const P=uLe,k=wW,T=iLe,E=eLe,R=Zi,K=go,N=Nu,D=pl,M=ur,G=jY,J=ni,he=fk,pe=Du,B=vo;return me(),qe(B,null,{default:ue(()=>[ie(K,{title:x.$t("我的邀请"),class:"border-rounded-5"},{"header-extra":ue(()=>[ie(P,{class:"text-40 text-gray"})]),default:ue(()=>{var $;return[U("div",null,[U("span",dLe,[ie(k,{from:0,to:parseFloat(we(rn)(a.value[4])),active:!0,precision:2,duration:500},null,8,["to"])]),U("span",fLe,se(($=we(t).appConfig)==null?void 0:$.currency),1)]),U("div",hLe,se(x.$t("当前剩余佣金")),1),ie(R,{class:"m-t-10"},{default:ue(()=>{var A;return[ie(we(zt),{size:"small",type:"primary",onClick:y[0]||(y[0]=Y=>h.value=!0)},{icon:ue(()=>[ie(T)]),default:ue(()=>[nt(" "+se(x.$t("划转")),1)]),_:1}),(A=we(t).appConfig)!=null&&A.withdraw_close?pt("",!0):(me(),qe(we(zt),{key:0,size:"small",type:"primary",onClick:y[1]||(y[1]=Y=>b.value=!0)},{icon:ue(()=>[ie(E)]),default:ue(()=>[nt(" "+se(x.$t("推广佣金提现")),1)]),_:1}))]}),_:1})]}),_:1},8,["title"]),ie(K,{class:"m-t-15 border-rounded-5"},{default:ue(()=>{var $,A,Y,ne,fe,Q;return[U("div",pLe,[U("div",null,se(x.$t("已注册用户数")),1),U("div",null,se(x.$tc("{number} 人",{number:a.value[0]})),1)]),U("div",mLe,[U("div",null,se(x.$t("佣金比例")),1),($=we(t).appConfig)!=null&&$.commission_distribution_enable?(me(),ze("div",gLe,se(`${Math.floor((((A=we(t).appConfig)==null?void 0:A.commission_distribution_l1)||0)*a.value[3]/100)}%,${Math.floor((((Y=we(t).appConfig)==null?void 0:Y.commission_distribution_l2)||0)*a.value[3]/100)}%,${Math.floor((((ne=we(t).appConfig)==null?void 0:ne.commission_distribution_l3)||0)*a.value[3]/100)}%`),1)):(me(),ze("div",vLe,se(a.value[3])+"%",1))]),U("div",bLe,[U("div",null,se(x.$t("确认中的佣金")),1),U("div",null,se((fe=we(t).appConfig)==null?void 0:fe.currency_symbol)+" "+se(we(rn)(a.value[2])),1)]),U("div",yLe,[U("div",null,se(x.$t("累计获得佣金")),1),U("div",null,se((Q=we(t).appConfig)==null?void 0:Q.currency_symbol)+" "+se(we(rn)(a.value[1])),1)])]}),_:1}),ie(K,{title:x.$t("邀请码管理"),class:"m-t-15 border-rounded-5"},{"header-extra":ue(()=>[ie(we(zt),{size:"small",type:"primary",round:"",loading:d.value,onClick:f},{default:ue(()=>[nt(se(x.$t("生成邀请码")),1)]),_:1},8,["loading"])]),default:ue(()=>[ie(N,{columns:o,data:i.value,bordered:!0},null,8,["data"])]),_:1},8,["title"]),ie(K,{title:x.$t("佣金发放记录"),class:"m-t-15 border-rounded-5"},{default:ue(()=>[ie(N,{columns:r,data:l.value,pagination:c},null,8,["data","pagination"])]),_:1},8,["title"]),ie(J,{show:h.value,"onUpdate:show":y[6]||(y[6]=$=>h.value=$)},{default:ue(()=>[ie(K,{title:x.$t("划转"),segmented:{content:!0,footer:!0},"footer-style":"padding-top: 10px; padding-bottom:10px",class:"mx-10 max-w-100% w-600 md:mx-auto",closable:"",onClose:y[5]||(y[5]=$=>h.value=!1)},{footer:ue(()=>[U("div",SLe,[U("div",null,[ie(we(zt),{onClick:y[3]||(y[3]=$=>h.value=!1)},{default:ue(()=>[nt(se(x.$t("取消")),1)]),_:1}),ie(we(zt),{type:"primary",class:"ml-10",onClick:y[4]||(y[4]=$=>m()),loading:g.value,disabled:g.value},{default:ue(()=>[nt(se(x.$t("确定")),1)]),_:1},8,["loading","disabled"])])])]),default:ue(()=>[ie(D,{type:"warning"},{default:ue(()=>[nt(se(x.$tc("划转后的余额仅用于{title}消费使用",{title:we(t).title})),1)]),_:1}),U("div",xLe,[U("div",CLe,se(x.$t("当前推广佣金余额")),1),ie(M,{placeholder:we(rn)(a.value[4]),type:"number",disabled:""},null,8,["placeholder"])]),U("div",wLe,[U("div",_Le,se(x.$t("划转金额")),1),ie(G,{value:p.value,"onUpdate:value":y[2]||(y[2]=$=>p.value=$),min:0,placeholder:x.$t("请输入需要划转到余额的金额"),clearable:""},null,8,["value","placeholder"])])]),_:1},8,["title"])]),_:1},8,["show"]),ie(J,{show:b.value,"onUpdate:show":y[12]||(y[12]=$=>b.value=$)},{default:ue(()=>[ie(K,{title:x.$t("推广佣金划转至余额"),segmented:{content:!0,footer:!0},"footer-style":"padding-top: 10px; padding-bottom:10px",class:"mx-10 max-w-100% w-600 md:mx-auto"},{"header-extra":ue(()=>[ie(we(zt),{class:"h-auto p-2",tertiary:"",size:"large",onClick:y[7]||(y[7]=$=>b.value=!1)},{icon:ue(()=>[ie(he,{class:"cursor-pointer opacity-85"})]),_:1})]),footer:ue(()=>[U("div",ELe,[U("div",null,[ie(we(zt),{onClick:y[10]||(y[10]=$=>b.value=!1)},{default:ue(()=>[nt(se(x.$t("取消")),1)]),_:1}),ie(we(zt),{type:"primary",class:"ml-10",onClick:y[11]||(y[11]=$=>S()),loading:C.value,disabled:C.value},{default:ue(()=>[nt(se(x.$t("确定")),1)]),_:1},8,["loading","disabled"])])])]),default:ue(()=>{var $;return[U("div",kLe,[U("div",PLe,se(x.$t("提现方式")),1),ie(pe,{value:_.method,"onUpdate:value":y[8]||(y[8]=A=>_.method=A),options:($=we(t).appConfig)==null?void 0:$.withdraw_methods.map(A=>({label:A,value:A})),placeholder:x.$t("请选择提现方式")},null,8,["value","options","placeholder"])]),U("div",TLe,[U("div",RLe,se(x.$t("提现账号")),1),ie(M,{value:_.account,"onUpdate:value":y[9]||(y[9]=A=>_.account=A),placeholder:x.$t("请输入提现账号"),type:"string"},null,8,["value","placeholder"])])]}),_:1},8,["title"])]),_:1},8,["show"])]),_:1})}}}),ALe=Object.freeze(Object.defineProperty({__proto__:null,default:$Le},Symbol.toStringTag,{value:"Module"})),ILe={class:""},OLe={class:"mb-4 text-16 font-600"},MLe={class:"text-12 text-gray"},zLe=["innerHTML"],DLe=be({__name:"index",setup(e){const t=Tn(),n=new nd({html:!0}),o=f=>n.render(f);window.copy=f=>ma(f),window.jump=f=>a(f);const r=W(!1),i=W();async function a(f){const{data:h}=await QJ(f,t.lang);h&&(i.value=h),r.value=!0}const s=W(""),l=W(!0),c=W();async function u(){l.value=!0;const f=s.value,{data:h}=await JJ(f,t.lang);c.value=h,l.value=!1}function d(){u()}return hn(()=>{d()}),(f,h)=>{const p=ur,g=zt,m=bm,b=vl,_=Zi,C=Om,S=Im,w=go,x=uK,y=_S,P=vo;return me(),qe(P,{"show-footer":!1},{default:ue(()=>[ie(m,null,{default:ue(()=>[ie(p,{placeholder:f.$t("使用文档"),value:s.value,"onUpdate:value":h[0]||(h[0]=k=>s.value=k),onKeyup:h[1]||(h[1]=ws(k=>d(),["enter"]))},null,8,["placeholder","value"]),ie(g,{type:"primary",ghost:"",onClick:h[2]||(h[2]=k=>d())},{default:ue(()=>[nt(se(f.$t("搜索")),1)]),_:1})]),_:1}),l.value?(me(),qe(_,{key:0,vertical:"",class:"mt-20"},{default:ue(()=>[ie(b,{height:"20px",width:"33%"}),ie(b,{height:"20px",width:"66%"}),ie(b,{height:"20px"})]),_:1})):pt("",!0),(me(!0),ze(it,null,Hn(c.value,(k,T)=>(me(),qe(w,{key:T,title:T,class:"mt-20 border-rounded-5",contentStyle:"padding:0"},{default:ue(()=>[ie(S,{clickable:"",hoverable:""},{default:ue(()=>[(me(!0),ze(it,null,Hn(k,E=>(me(),qe(C,{key:E.id,onClick:R=>a(E.id)},{default:ue(()=>[U("div",ILe,[U("div",OLe,se(E.title),1),U("div",MLe,se(f.$t("最后更新"))+" "+se(we(zp)(E.updated_at)),1)])]),_:2},1032,["onClick"]))),128))]),_:2},1024)]),_:2},1032,["title"]))),128)),ie(y,{show:r.value,"onUpdate:show":h[3]||(h[3]=k=>r.value=k),width:"80%",placement:"right"},{default:ue(()=>{var k;return[ie(x,{title:(k=i.value)==null?void 0:k.title,closable:""},{default:ue(()=>{var T;return[U("div",{innerHTML:o(((T=i.value)==null?void 0:T.body)||""),class:"custom-html-style markdown-body"},null,8,zLe)]}),_:1},8,["title"])]}),_:1},8,["show"])]),_:1})}}}),LLe=Object.freeze(Object.defineProperty({__proto__:null,default:DLe},Symbol.toStringTag,{value:"Module"})),FLe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},BLe=U("path",{fill:"currentColor",d:"M11 18h2v-2h-2zm1-16A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8m0-14a4 4 0 0 0-4 4h2a2 2 0 0 1 2-2a2 2 0 0 1 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5a4 4 0 0 0-4-4"},null,-1),NLe=[BLe];function HLe(e,t){return me(),ze("svg",FLe,[...NLe])}const jLe={name:"mdi-help-circle-outline",render:HLe},VLe={class:"flex"},WLe={class:"flex-[1]"},ULe={class:"flex flex-[2] flex-shrink-0 text-center"},qLe={class:"flex flex-1 items-center justify-center"},KLe={class:"flex flex-1 items-center justify-center"},GLe={class:"flex-1"},YLe={class:"flex"},XLe={class:"flex-[1] break-anywhere"},ZLe={class:"flex flex-[2] flex-shrink-0 items-center text-center"},JLe={class:"flex flex-[1] items-center justify-center"},QLe={class:"flex-[1]"},eFe={class:"flex-[1]"},tFe={key:0},nFe={key:1},oFe=be({__name:"index",setup(e){const t=W([]),n=W(!0);async function o(){n.value=!0;const r=await lk(),{data:i}=r;t.value=i,n.value=!1}return hn(()=>{o()}),(r,i)=>{const a=vl,s=Zi,l=jLe,c=Fu,u=Ti,d=Om,f=Im,h=Qc("router-link"),p=pl,g=vo;return me(),qe(g,null,{default:ue(()=>[n.value?(me(),qe(s,{key:0,vertical:"",class:"mt-20"},{default:ue(()=>[ie(a,{height:"20px",width:"33%"}),ie(a,{height:"20px",width:"66%"}),ie(a,{height:"20px"})]),_:1})):t.value.length>0?(me(),qe(f,{key:1,clickable:"",hoverable:""},{header:ue(()=>[U("div",VLe,[U("div",WLe,se(r.$t("名称")),1),U("div",ULe,[U("div",qLe,[nt(se(r.$t("状态"))+" ",1),ie(c,{placement:"bottom",trigger:"hover"},{trigger:ue(()=>[ie(l,{class:"m-l-3 text-16"})]),default:ue(()=>[U("span",null,se(r.$t("五分钟内节点在线情况")),1)]),_:1})]),U("div",KLe,[nt(se(r.$t("倍率"))+" ",1),ie(c,{placement:"bottom",trigger:"hover"},{trigger:ue(()=>[ie(l,{class:"m-l-3 text-16"})]),default:ue(()=>[U("span",null,se(r.$t("使用的流量将乘以倍率进行扣除")),1)]),_:1})]),U("div",GLe,se(r.$t("标签")),1)])])]),default:ue(()=>[(me(!0),ze(it,null,Hn(t.value,m=>(me(),qe(d,{key:m.id},{default:ue(()=>[U("div",YLe,[U("div",XLe,se(m.name),1),U("div",ZLe,[U("div",JLe,[U("div",{class:sr(["h-6 w-6 rounded-full",m.is_online?"bg-blue-500":"bg-red-500"])},null,2)]),U("div",QLe,[ie(u,{size:"small",round:"",class:""},{default:ue(()=>[nt(se(m.rate)+" x ",1)]),_:2},1024)]),U("div",eFe,[m.tags&&m.tags.length>0?(me(),ze("div",tFe,[(me(!0),ze(it,null,Hn(m.tags,b=>(me(),qe(u,{size:"small",round:"",key:b},{default:ue(()=>[nt(se(b),1)]),_:2},1024))),128))])):(me(),ze("span",nFe,"-"))])])])]),_:2},1024))),128))]),_:1})):(me(),qe(p,{key:2,type:"info"},{default:ue(()=>[U("div",null,[nt(se(r.$t("没有可用节点,如果您未订阅或已过期请"))+" ",1),ie(h,{class:"font-600",to:"/plan"},{default:ue(()=>[nt(se(r.$t("订阅")),1)]),_:1}),nt("。 ")])]),_:1}))]),_:1})}}}),rFe=Object.freeze(Object.defineProperty({__proto__:null,default:oFe},Symbol.toStringTag,{value:"Module"})),iFe=be({__name:"index",setup(e){const t=s=>mn.global.t(s),n=[{title:t("# 订单号"),key:"trade_no",render(s){return v(zt,{text:!0,class:"color-primary",onClick:()=>Gt.push(`/order/${s.trade_no}`)},{default:()=>s.trade_no})}},{title:t("周期"),key:"period",render(s){return v(Ti,{round:!0,size:"small"},{default:()=>t(zk[s.period])})}},{title:t("订单金额"),key:"total_amount",render(s){return rn(s.total_amount)}},{title:t("订单状态"),key:"status",render(s){const l=t(Uze[s.status]),c=v("div",{class:["h-6 w-6 rounded-full mr-5",s.status===3?"bg-green-500":"bg-red-500"]});return v("div",{class:"flex items-center"},[c,l])}},{title:t("创建时间"),key:"created_at",render(s){return Wo(s.created_at)}},{title:t("操作"),key:"actions",fixed:"right",render(s){const l=v(zt,{text:!0,type:"primary",onClick:()=>Gt.push(`/order/${s.trade_no}`)},{default:()=>t("查看详情")}),c=v(zt,{text:!0,type:"primary",disabled:s.status!==0,onClick:()=>o(s.trade_no)},{default:()=>t("取消")}),u=v(Xi,{vertical:!0});return v("div",[l,u,c])}}];async function o(s){window.$dialog.confirm({title:t("注意"),type:"info",content:t("如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?"),async confirm(){const{data:l}=await Wu(s);l===!0&&(window.$message.success(t("取消成功")),a())}})}const r=W([]);async function i(){const s=await Hm(),{data:l}=s;r.value=l}async function a(){i()}return hn(()=>{a()}),(s,l)=>{const c=Nu,u=vo;return me(),qe(u,null,{default:ue(()=>[ie(c,{columns:n,data:r.value,bordered:!1,"scroll-x":800},null,8,["data"])]),_:1})}}}),aFe=Object.freeze(Object.defineProperty({__proto__:null,default:iFe},Symbol.toStringTag,{value:"Module"})),sFe={class:"inline-block",viewBox:"0 0 48 48",width:"1em",height:"1em"},lFe=U("g",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd"},[U("path",{d:"M24 42c9.941 0 18-8.059 18-18S33.941 6 24 6S6 14.059 6 24s8.059 18 18 18m0 2c11.046 0 20-8.954 20-20S35.046 4 24 4S4 12.954 4 24s8.954 20 20 20"}),U("path",{d:"M34.67 16.259a1 1 0 0 1 .072 1.412L21.386 32.432l-8.076-7.709a1 1 0 0 1 1.38-1.446l6.59 6.29L33.259 16.33a1 1 0 0 1 1.413-.07"})],-1),cFe=[lFe];function uFe(e,t){return me(),ze("svg",sFe,[...cFe])}const Dk={name:"healthicons-yes-outline",render:uFe},dFe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},fFe=U("path",{fill:"currentColor",d:"M952.08 1.552L529.039 116.144c-10.752 2.88-34.096 2.848-44.815-.16L72.08 1.776C35.295-8.352-.336 18.176-.336 56.048V834.16c0 32.096 24.335 62.785 55.311 71.409l412.16 114.224c11.025 3.055 25.217 4.751 39.937 4.751c10.095 0 25.007-.784 38.72-4.528l423.023-114.592c31.056-8.4 55.504-39.024 55.504-71.248V56.048c.016-37.84-35.616-64.464-72.24-54.496zM479.999 956.943L71.071 843.887c-3.088-.847-7.408-6.496-7.408-9.712V66.143L467.135 177.68c3.904 1.088 8.288 1.936 12.864 2.656zm480.336-122.767c0 3.152-5.184 8.655-8.256 9.503L544 954.207v-775.92c.592-.144 1.2-.224 1.792-.384L960.32 65.775v768.4h.016zM641.999 366.303c2.88 0 5.81-.367 8.69-1.184l223.935-63.024c17.025-4.816 26.945-22.465 22.16-39.473s-22.56-26.88-39.472-22.16l-223.936 63.025c-17.024 4.816-26.944 22.464-22.16 39.472c3.968 14.128 16.815 23.344 30.783 23.344m.002 192.001c2.88 0 5.81-.368 8.69-1.185l223.935-63.024c17.025-4.816 26.945-22.465 22.16-39.473c-4.783-17.008-22.56-26.88-39.472-22.16l-223.936 63.025c-17.024 4.816-26.944 22.464-22.16 39.457c3.968 14.127 16.815 23.36 30.783 23.36m.002 192c2.88 0 5.81-.368 8.69-1.185l223.935-63.024c17.025-4.816 26.945-22.465 22.16-39.473s-22.56-26.88-39.472-22.16L633.38 687.487c-17.024 4.816-26.944 22.464-22.16 39.472c3.968 14.113 16.815 23.345 30.783 23.345M394.629 303.487l-223.934-63.025c-16.912-4.72-34.688 5.152-39.473 22.16s5.12 34.656 22.16 39.473l223.937 63.024a31.8 31.8 0 0 0 8.687 1.184c13.968 0 26.815-9.215 30.783-23.343c4.784-16.993-5.12-34.657-22.16-39.473m.002 191.999l-223.934-63.025c-16.912-4.72-34.689 5.152-39.473 22.16s5.12 34.656 22.16 39.473l223.936 63.024a31.8 31.8 0 0 0 8.688 1.184c13.968 0 26.815-9.215 30.783-23.343c4.784-16.993-5.12-34.657-22.16-39.473m.002 191.999L170.699 624.46c-16.912-4.72-34.689 5.152-39.473 22.16s5.12 34.656 22.16 39.473l223.936 63.024a31.8 31.8 0 0 0 8.688 1.184c13.968 0 26.815-9.215 30.783-23.343c4.784-17.008-5.12-34.657-22.16-39.473"},null,-1),hFe=[fFe];function pFe(e,t){return me(),ze("svg",dFe,[...hFe])}const mFe={name:"simple-line-icons-book-open",render:pFe},gFe={class:"inline-block",viewBox:"0 0 20 20",width:"1em",height:"1em"},vFe=U("path",{fill:"currentColor",d:"M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8s8-3.58 8-8s-3.58-8-8-8m-.615 12.66h-1.34l-3.24-4.54l1.341-1.25l2.569 2.4l5.141-5.931l1.34.94z"},null,-1),bFe=[vFe];function yFe(e,t){return me(),ze("svg",gFe,[...bFe])}const xFe={name:"dashicons-yes-alt",render:yFe},CFe={class:"inline-block",viewBox:"0 0 20 20",width:"1em",height:"1em"},wFe=U("path",{fill:"currentColor",d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8s-8-3.58-8-8s3.58-8 8-8m1.13 9.38l.35-6.46H8.52l.35 6.46zm-.09 3.36c.24-.23.37-.55.37-.96c0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35s-.82.12-1.07.35s-.37.55-.37.97c0 .41.13.73.38.96c.26.23.61.34 1.06.34s.8-.11 1.05-.34"},null,-1),_Fe=[wFe];function SFe(e,t){return me(),ze("svg",CFe,[..._Fe])}const kFe={name:"dashicons-warning",render:SFe},PFe={class:"relative max-w-full w-300",style:{"padding-bottom":"100%"}},TFe={class:"p-10 text-center"},RFe={key:1,class:"flex flex-wrap"},EFe={class:"w-100% md:flex-[2]"},$Fe={key:2,class:"mt-10 text-22"},AFe={key:3,class:"text-14 text-[rgba(0,0,0,0.45)]"},IFe={class:"flex"},OFe={class:"flex-[1] text-#49505799"},MFe={class:"flex-[2]"},zFe={class:"flex"},DFe={class:"m-t-5 flex-[1] text-#49505799"},LFe={class:"flex-[2]"},FFe={class:"flex"},BFe={class:"m-b-5 m-t-5 flex-[1] text-#49505799"},NFe={class:"flex-[2]"},HFe={class:"flex"},jFe={class:"flex-[1] text-#49505799"},VFe={class:"flex-[2]"},WFe={key:0,class:"flex"},UFe={class:"flex-[1] text-#49505799"},qFe={class:"flex-[2]"},KFe={key:1,class:"flex"},GFe={class:"flex-[1] text-#49505799"},YFe={class:"flex-[2]"},XFe={key:2,class:"flex"},ZFe={class:"flex-[1] text-#49505799"},JFe={class:"flex-[2]"},QFe={key:3,class:"flex"},e9e={class:"flex-[1] text-#49505799"},t9e={class:"flex-[2]"},n9e={key:4,class:"flex"},o9e={class:"flex-[1] text-#49505799"},r9e={class:"flex-[2]"},i9e={class:"flex"},a9e={class:"m-t-5 flex-[1] text-#49505799"},s9e={class:"flex-[2]"},l9e=["onClick"],c9e={class:"flex-[1] whitespace-nowrap"},u9e={class:"flex-[1]"},d9e=["src"],f9e={key:0,class:"w-100% md:flex-[1] md:pl-20"},h9e={class:"mt-20 border-rounded-5 bg-#2f3135 p-20 color-white"},p9e={class:"text-18 font-600"},m9e={class:"flex border-#646669 border-b-solid pb-16 pt-16"},g9e={class:"flex-[2]"},v9e={class:"flex-[1] text-right color-#f8f9fa"},b9e={key:0,class:"border-[#646669] border-b-solid pb-16 pt-16"},y9e={class:"color-#f8f9fa41"},x9e={class:"pt-16 text-right"},C9e={key:1,class:"border-[#646669] border-b-solid pb-16 pt-16"},w9e={class:"color-#f8f9fa41"},_9e={class:"pt-16 text-right"},S9e={key:2,class:"border-[#646669] border-b-solid pb-16 pt-16"},k9e={class:"color-#f8f9fa41"},P9e={class:"pt-16 text-right"},T9e={key:3,class:"border-[#646669] border-b-solid pb-16 pt-16"},R9e={class:"color-#f8f9fa41"},E9e={class:"pt-16 text-right"},$9e={key:4,class:"border-[#646669] border-b-solid pb-16 pt-16"},A9e={class:"color-#f8f9fa41"},I9e={class:"pt-16 text-right"},O9e={class:"pb-16 pt-16"},M9e={class:"color-#f8f9fa41"},z9e={class:"text-36 font-600"},D9e=be({__name:"detail",setup(e){const t=Tn(),n=Ji(),o=Da(),r=y=>mn.global.t(y);function i(y){switch(y){case 1:return{icon:"info",title:r("开通中"),subTitle:r("订单系统正在进行处理,请稍等1-3分钟。")};case 2:return{icon:"info",title:r("已取消"),subTitle:r("订单由于超时支付已被取消。")};case 3:case 4:return{icon:"info",title:r("已完成"),subTitle:r("订单已支付并开通。")}}return{icon:"error",title:r("意料之外"),subTitle:r("意料之外的状态")}}async function a(){window.$dialog.confirm({title:r("注意"),type:"info",content:r("如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?"),async confirm(){const{data:y}=await Wu(s.value);y===!0&&(window.$message.success(r("取消成功")),x())}})}const s=W(""),l=W(),c=W(),u=W(!0);async function d(){u.value=!0;const{data:y}=await OJ(s.value);l.value=y,clearInterval(c.value),y.status===Ms.PENDING&&p(),[Ms.PENDING,Ms.PROCESSING].includes(y.status)&&(c.value=setInterval(S,1500)),u.value=!1}const f=W([]),h=W(0);async function p(){const{data:y}=await VJ();f.value=y}function g(){var P,k,T,E,R;return(((P=l.value)==null?void 0:P.plan[l.value.period])||0)-(((k=l.value)==null?void 0:k.balance_amount)||0)-(((T=l.value)==null?void 0:T.surplus_amount)||0)+(((E=l.value)==null?void 0:E.refund_amount)||0)-(((R=l.value)==null?void 0:R.discount_amount)||0)}function m(){const y=f.value[h.value];return(y!=null&&y.handling_fee_percent||y!=null&&y.handling_fee_fixed)&&g()?g()*parseFloat(y.handling_fee_percent||"0")/100+((y==null?void 0:y.handling_fee_fixed)||0):0}async function b(){const y=f.value[h.value],{data:P,type:k}=await WJ(s.value,y==null?void 0:y.id);P&&(P===!0?(window.$message.info(r("支付成功")),setTimeout(()=>{w()},500)):k===0?(_.value=!0,C.value=P):k===1&&(window.$message.info(r("正在前往收银台")),setTimeout(()=>{window.location.href=P},500)))}const _=W(!1),C=W("");async function S(){var P;const{data:y}=await MJ(s.value);y!==((P=l.value)==null?void 0:P.status)&&w()}async function w(){x(),n.getUserInfo()}async function x(){d(),_.value=!1}return hn(()=>{typeof o.params.trade_no=="string"&&(s.value=o.params.trade_no),x()}),Ma(()=>{clearInterval(c.value)}),(y,P)=>{const k=JS,T=Xi,E=go,R=ni,K=vl,N=Zi,D=kFe,M=xFe,G=mFe,J=zt,he=Dk,pe=vo;return me(),qe(pe,null,{default:ue(()=>{var B,$,A,Y,ne,fe,Q,xe,H,ye,Oe,Ne,L,O,oe,_e,te,ge,ke,I,j,ee,Ce,ce,le,re;return[ie(R,{show:_.value,"onUpdate:show":P[0]||(P[0]=de=>_.value=de),onOnAfterLeave:P[1]||(P[1]=de=>C.value="")},{default:ue(()=>[ie(E,{"content-style":"padding:10px",class:"w-auto",bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{default:ue(()=>[U("div",PFe,[C.value?(me(),qe(k,{key:0,value:C.value,class:"pay-qrcode absolute h-full! w-full!",size:"400"},null,8,["value"])):pt("",!0)]),ie(T,{class:"m-0!"}),U("div",TFe,se(y.$t("等待支付中")),1)]),_:1})]),_:1},8,["show"]),u.value?(me(),qe(N,{key:0,vertical:"",class:"mt-20"},{default:ue(()=>[ie(K,{height:"20px",width:"33%"}),ie(K,{height:"20px",width:"66%"}),ie(K,{height:"20px"})]),_:1})):(me(),ze("div",RFe,[U("div",EFe,[((B=l.value)==null?void 0:B.status)!==0?(me(),qe(E,{key:0,class:"flex text-center","items-center":"","border-rounded-5":""},{default:ue(()=>{var de,De,Le,Pe,Fe,He;return[((de=l.value)==null?void 0:de.status)===2?(me(),qe(D,{key:0,class:"text-90 color-#f9a314"})):pt("",!0),((De=l.value)==null?void 0:De.status)===3||((Le=l.value)==null?void 0:Le.status)==4?(me(),qe(M,{key:1,class:"text-90 color-#48bc19"})):pt("",!0),(Pe=l.value)!=null&&Pe.status?(me(),ze("div",$Fe,se(i(l.value.status).title),1)):pt("",!0),(Fe=l.value)!=null&&Fe.status?(me(),ze("div",AFe,se(i(l.value.status).subTitle),1)):pt("",!0),((He=l.value)==null?void 0:He.status)===3?(me(),qe(J,{key:4,"icon-placement":"left",strong:"",color:"#db4619",size:"small",round:"",class:"mt-30",onClick:P[2]||(P[2]=Ie=>y.$router.push("/knowledge"))},{icon:ue(()=>[ie(G)]),default:ue(()=>[nt(" "+se(y.$t("查看使用教程")),1)]),_:1})):pt("",!0)]}),_:1})):pt("",!0),ie(E,{class:"mt-20 border-rounded-5",title:y.$t("商品信息")},{default:ue(()=>{var de,De,Le;return[U("div",IFe,[U("div",OFe,se(y.$t("产品名称"))+":",1),U("div",MFe,se((de=l.value)==null?void 0:de.plan.name),1)]),U("div",zFe,[U("div",DFe,se(y.$t("类型/周期"))+":",1),U("div",LFe,se((De=l.value)!=null&&De.period?y.$t(we(zk)[l.value.period]):""),1)]),U("div",FFe,[U("div",BFe,se(y.$t("产品流量"))+":",1),U("div",NFe,se((Le=l.value)==null?void 0:Le.plan.transfer_enable)+" GB",1)])]}),_:1},8,["title"]),ie(E,{class:"mt-20 border-rounded-5",title:y.$t("订单信息")},{"header-extra":ue(()=>{var de;return[((de=l.value)==null?void 0:de.status)===0?(me(),qe(J,{key:0,color:"#db4619",size:"small",round:"",strong:"",onClick:P[3]||(P[3]=De=>a())},{default:ue(()=>[nt(se(y.$t("关闭订单")),1)]),_:1})):pt("",!0)]}),default:ue(()=>{var de,De,Le,Pe,Fe,He,Ie,Qe,Ct,X,ve;return[U("div",HFe,[U("div",jFe,se(y.$t("订单号"))+":",1),U("div",VFe,se((de=l.value)==null?void 0:de.trade_no),1)]),(De=l.value)!=null&&De.discount_amount&&((Le=l.value)==null?void 0:Le.discount_amount)>0?(me(),ze("div",WFe,[U("div",UFe,se(y.$t("优惠金额")),1),U("div",qFe,se(we(rn)(l.value.discount_amount)),1)])):pt("",!0),(Pe=l.value)!=null&&Pe.surplus_amount&&((Fe=l.value)==null?void 0:Fe.surplus_amount)>0?(me(),ze("div",KFe,[U("div",GFe,se(y.$t("旧订阅折抵金额")),1),U("div",YFe,se(we(rn)(l.value.surplus_amount)),1)])):pt("",!0),(He=l.value)!=null&&He.refund_amount&&((Ie=l.value)==null?void 0:Ie.refund_amount)>0?(me(),ze("div",XFe,[U("div",ZFe,se(y.$t("退款金额")),1),U("div",JFe,se(we(rn)(l.value.refund_amount)),1)])):pt("",!0),(Qe=l.value)!=null&&Qe.balance_amount&&((Ct=l.value)==null?void 0:Ct.balance_amount)>0?(me(),ze("div",QFe,[U("div",e9e,se(y.$t("余额支付 ")),1),U("div",t9e,se(we(rn)(l.value.balance_amount)),1)])):pt("",!0),((X=l.value)==null?void 0:X.status)===0&&m()>0?(me(),ze("div",n9e,[U("div",o9e,se(y.$t("支付手续费"))+":",1),U("div",r9e,se(we(rn)(m())),1)])):pt("",!0),U("div",i9e,[U("div",a9e,se(y.$t("创建时间"))+":",1),U("div",s9e,se(we(Wo)((ve=l.value)==null?void 0:ve.created_at)),1)])]}),_:1},8,["title"]),(($=l.value)==null?void 0:$.status)===0?(me(),qe(E,{key:1,title:y.$t("支付方式"),class:"mt-20","content-style":"padding:0"},{default:ue(()=>[(me(!0),ze(it,null,Hn(f.value,(de,De)=>(me(),ze("div",{key:de.id,class:sr(["border-2 border-rounded-5 p-20 border-solid flex",h.value===De?"border-#0665d0":"border-transparent"]),onClick:Le=>h.value=De},[U("div",c9e,se(de.name),1),U("div",u9e,[U("img",{class:"max-h-30",src:de.icon},null,8,d9e)])],10,l9e))),128))]),_:1},8,["title"])):pt("",!0)]),((A=l.value)==null?void 0:A.status)===0?(me(),ze("div",f9e,[U("div",h9e,[U("div",p9e,se(y.$t("订单总额")),1),U("div",m9e,[U("div",g9e,se((Y=l.value)==null?void 0:Y.plan.name),1),U("div",v9e,se((ne=we(t).appConfig)==null?void 0:ne.currency_symbol)+se(((fe=l.value)==null?void 0:fe.period)&&we(rn)((Q=l.value)==null?void 0:Q.plan[l.value.period])),1)]),(xe=l.value)!=null&&xe.surplus_amount&&((H=l.value)==null?void 0:H.surplus_amount)>0?(me(),ze("div",b9e,[U("div",y9e,se(y.$t("折抵")),1),U("div",x9e," - "+se((ye=we(t).appConfig)==null?void 0:ye.currency_symbol)+se(we(rn)((Oe=l.value)==null?void 0:Oe.surplus_amount)),1)])):pt("",!0),(Ne=l.value)!=null&&Ne.discount_amount&&((L=l.value)==null?void 0:L.discount_amount)>0?(me(),ze("div",C9e,[U("div",w9e,se(y.$t("折扣")),1),U("div",_9e," - "+se((O=we(t).appConfig)==null?void 0:O.currency_symbol)+se(we(rn)((oe=l.value)==null?void 0:oe.discount_amount)),1)])):pt("",!0),(_e=l.value)!=null&&_e.refund_amount&&((te=l.value)==null?void 0:te.refund_amount)>0?(me(),ze("div",S9e,[U("div",k9e,se(y.$t("退款")),1),U("div",P9e," - "+se((ge=we(t).appConfig)==null?void 0:ge.currency_symbol)+se(we(rn)((ke=l.value)==null?void 0:ke.refund_amount)),1)])):pt("",!0),(I=l.value)!=null&&I.balance_amount&&((j=l.value)==null?void 0:j.balance_amount)>0?(me(),ze("div",T9e,[U("div",R9e,se(y.$t("余额支付")),1),U("div",E9e," - "+se((ee=we(t).appConfig)==null?void 0:ee.currency_symbol)+se(we(rn)((Ce=l.value)==null?void 0:Ce.balance_amount)),1)])):pt("",!0),m()>0?(me(),ze("div",$9e,[U("div",A9e,se(y.$t("支付手续费")),1),U("div",I9e," + "+se((ce=we(t).appConfig)==null?void 0:ce.currency_symbol)+se(we(rn)(m())),1)])):pt("",!0),U("div",O9e,[U("div",M9e,se(y.$t("总计")),1),U("div",z9e,se((le=we(t).appConfig)==null?void 0:le.currency_symbol)+" "+se(we(rn)(g()+m()))+" "+se((re=we(t).appConfig)==null?void 0:re.currency),1)]),ie(J,{type:"primary",class:"w-100% text-white","icon-placement":"left",strong:"",onClick:P[4]||(P[4]=de=>b())},{icon:ue(()=>[ie(he)]),default:ue(()=>[nt(" "+se(y.$t("结账")),1)]),_:1})])])):pt("",!0)]))]}),_:1})}}}),L9e=Object.freeze(Object.defineProperty({__proto__:null,default:D9e},Symbol.toStringTag,{value:"Module"})),F9e={class:"inline-block",viewBox:"0 0 50 50",width:"1em",height:"1em"},B9e=U("path",{fill:"currentColor",d:"M25 42c-9.4 0-17-7.6-17-17S15.6 8 25 8s17 7.6 17 17s-7.6 17-17 17m0-32c-8.3 0-15 6.7-15 15s6.7 15 15 15s15-6.7 15-15s-6.7-15-15-15"},null,-1),N9e=U("path",{fill:"currentColor",d:"m32.283 16.302l1.414 1.415l-15.98 15.98l-1.414-1.414z"},null,-1),H9e=U("path",{fill:"currentColor",d:"m17.717 16.302l15.98 15.98l-1.414 1.415l-15.98-15.98z"},null,-1),j9e=[B9e,N9e,H9e];function V9e(e,t){return me(),ze("svg",F9e,[...j9e])}const Lk={name:"ei-close-o",render:V9e},W9e={class:"inline-block",viewBox:"0 0 50 50",width:"1em",height:"1em"},U9e=U("path",{fill:"currentColor",d:"M25 42c-9.4 0-17-7.6-17-17S15.6 8 25 8s17 7.6 17 17s-7.6 17-17 17m0-32c-8.3 0-15 6.7-15 15s6.7 15 15 15s15-6.7 15-15s-6.7-15-15-15"},null,-1),q9e=U("path",{fill:"currentColor",d:"m23 32.4l-8.7-8.7l1.4-1.4l7.3 7.3l11.3-11.3l1.4 1.4z"},null,-1),K9e=[U9e,q9e];function G9e(e,t){return me(),ze("svg",W9e,[...K9e])}const Fk={name:"ei-check",render:G9e},Y9e={class:"ml-auto mr-auto max-w-1200 w-100%"},X9e={class:"m-3 mb-4 mt-4 text-30 font-400"},Z9e={class:"card-container m-t-10 md:m-t-40"},J9e=["onClick"],Q9e={class:"vertical-bottom"},e7e={class:"text-30 font-600"},t7e={class:"p-l-5 text-16 text-gray"},n7e={key:0},o7e=["innerHTML"],r7e=be({__name:"index",setup(e){const t=Tn(),n=d=>mn.global.t(d),o=new nd({html:!0}),r=d=>o.render(d),i=W(0),a=[{value:0,label:n("全部")},{value:1,label:n("按周期")},{value:2,label:n("按流量")}],s=W([]),l=W([]);ft([l,i],d=>{s.value=d[0].filter(f=>{if(d[1]===0)return 1;if(d[1]===1)return!((f.onetime_price||0)>0);if(d[1]===2)return(f.onetime_price||0)>0})});async function c(){const{data:d}=await IJ();d.forEach(f=>{const h=u(f);f.price=h.price,f.cycle=h.cycle}),l.value=d}hn(()=>{c()});function u(d){return d.onetime_price!==null?{price:d.onetime_price/100,cycle:n("一次性")}:d.month_price!==null?{price:d.month_price/100,cycle:n("月付")}:d.quarter_price!==null?{price:d.quarter_price/100,cycle:n("季付")}:d.half_year_price!==null?{price:d.half_year_price/100,cycle:n("半年付")}:d.year_price!==null?{price:d.year_price/100,cycle:n("年付")}:d.two_year_price!==null?{price:d.two_year_price/100,cycle:n("两年付")}:d.three_year_price!==null?{price:d.three_year_price/100,cycle:n("三年付")}:{price:0,cycle:n("错误")}}return(d,f)=>{const h=fU,p=J2,g=Fk,m=Lk,b=vr,_=zt,C=go,S=vo;return me(),qe(S,null,{default:ue(()=>[U("div",Y9e,[U("h2",X9e,se(d.$t("选择最适合你的计划")),1),ie(p,{value:i.value,"onUpdate:value":f[0]||(f[0]=w=>i.value=w),name:"plan_select",class:""},{default:ue(()=>[(me(),ze(it,null,Hn(a,w=>ie(h,{key:w.value,value:w.value,label:w.label,style:{background:"--n-color"}},null,8,["value","label"])),64))]),_:1},8,["value"]),U("section",Z9e,[(me(!0),ze(it,null,Hn(s.value,w=>(me(),ze("div",{class:"card-item min-w-300 cursor-pointer",key:w.id,onClick:x=>d.$router.push("/plan/"+w.id)},[ie(C,{title:w.name,hoverable:"",class:"max-w-100% w-375"},{"header-extra":ue(()=>{var x;return[U("div",Q9e,[U("span",e7e,se((x=we(t).appConfig)==null?void 0:x.currency_symbol)+" "+se(w.price),1),U("span",t7e," /"+se(w.cycle),1)])]}),action:ue(()=>[ie(_,{strong:"",secondary:"",type:"primary"},{default:ue(()=>[nt(se(d.$t("立即订阅")),1)]),_:1})]),default:ue(()=>[we(dC)(w.content)?(me(),ze("div",n7e,[(me(!0),ze(it,null,Hn(JSON.parse(w.content),(x,y)=>(me(),ze("div",{key:y,class:sr(["vertical-center flex items-center",x.support?"":"opacity-30"])},[ie(b,{size:"30",class:"flex items-center text-[--primary-color]"},{default:ue(()=>[x.support?(me(),qe(g,{key:0})):(me(),qe(m,{key:1}))]),_:2},1024),U("div",null,se(x.feature),1)],2))),128))])):(me(),ze("div",{key:1,innerHTML:r(w.content||""),class:"markdown-body"},null,8,o7e))]),_:2},1032,["title"])],8,J9e))),128))])])]),_:1})}}}),i7e=qu(r7e,[["__scopeId","data-v-79fa0f66"]]),a7e=Object.freeze(Object.defineProperty({__proto__:null,default:i7e},Symbol.toStringTag,{value:"Module"})),s7e={class:"inline-block",viewBox:"0 0 576 512",width:"1em",height:"1em"},l7e=U("path",{fill:"currentColor",d:"M64 64C28.7 64 0 92.7 0 128v64c0 8.8 7.4 15.7 15.7 18.6C34.5 217.1 48 235 48 256s-13.5 38.9-32.3 45.4C7.4 304.3 0 311.2 0 320v64c0 35.3 28.7 64 64 64h448c35.3 0 64-28.7 64-64v-64c0-8.8-7.4-15.7-15.7-18.6C541.5 294.9 528 277 528 256s13.5-38.9 32.3-45.4c8.3-2.9 15.7-9.8 15.7-18.6v-64c0-35.3-28.7-64-64-64zm64 112v160c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V176c0-8.8-7.2-16-16-16H144c-8.8 0-16 7.2-16 16m-32-16c0-17.7 14.3-32 32-32h320c17.7 0 32 14.3 32 32v192c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32z"},null,-1),c7e=[l7e];function u7e(e,t){return me(),ze("svg",s7e,[...c7e])}const d7e={name:"fa6-solid-ticket",render:u7e},f7e={key:1,class:"flex flex-wrap"},h7e={class:"w-100% md:max-w-2/3"},p7e={key:0},m7e=["innerHTML"],g7e=["onClick"],v7e={class:"mt-20 w-full md:mt-0 md:max-w-1/3 sm:max-w-full md:pl-20"},b7e={class:"border-rounded-5 bg-#2f3135 p-20 color-white"},y7e={class:"flex items-center"},x7e=["placeholder"],C7e={class:"mt-0 border-rounded-5 bg-#2f3135 p-20 color-white md:mt-20"},w7e={class:"text-18 font-600"},_7e={class:"flex border-#646669 border-b-solid pb-16 pt-16"},S7e={class:"flex-[2]"},k7e={class:"flex-[1] text-right color-#f8f9fa"},P7e={key:0,class:"border-[#646669] border-b-solid pb-16 pt-16"},T7e={class:"color-#f8f9fa"},R7e={class:"flex pb-16 pt-16"},E7e={class:"flex-[2]"},$7e={class:"flex-[1] text-right color-#f8f9fa"},A7e={class:"pb-16 pt-16"},I7e={class:"color-#f8f9fa"},O7e={class:"text-36 font-600"},M7e=be({__name:"detail",setup(e){const t=Tn(),n=Da(),o=Ji(),r=T=>mn.global.t(T),i=new nd({html:!0}),a=T=>i.render(T),s={month_price:r("月付"),quarter_price:r("季付"),half_year_price:r("半年付"),year_price:r("年付"),two_year_price:r("两年付"),three_year_price:r("三年付"),onetime_price:r("一次性"),reset_price:r("流量重置包")},l=W(0),c=W([]);async function u(){const T=C.value;c.value=[];for(const E in T)E in s&&T[E]!==null&&c.value.push({name:s[E],key:E})}const d=W(""),f=W(!1),h=W();async function p(){f.value=!0;const{data:T}=await qJ(d.value,k.value);T&&(h.value=T),f.value=!1}function g(){if(!h.value||!C.value||XC(l.value))return 0;const{type:T,value:E}=h.value,R=c.value[l.value].key;return T===1?E:E*C.value[R]/100}const m=W(!1);async function b(){var E;const T=(E=x.value)==null?void 0:E.find(R=>R.status===0);if(T){const R=T.trade_no;window.$dialog.confirm({title:r("注意"),type:"info",content:r("你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?"),positiveText:r("确认取消"),negativeText:r("返回我的订单"),confirm(){Wu(R).then(({data:K})=>{K&&_()})},cancel(){Gt.push("/order")}});return}if(o.plan_id&&o.plan_id!=k.value&&(o.expired_at===null||o.expired_at>=Math.floor(Date.now()/1e3))){window.$dialog.confirm({title:r("注意"),type:"info",content:r("请注意,变更订阅会导致当前订阅被覆盖。"),confirm(){_()}});return}_()}async function _(){var R;m.value=!0;const T=c.value[l.value].key,{data:E}=await ck(k.value,T,(R=h.value)==null?void 0:R.code);E&&(window.$message.success(r("订单提交成功,正在跳转支付")),setTimeout(()=>{Gt.push("/order/"+E)},500)),m.value=!1}const C=W(),S=W(!0);async function w(){S.value=!0;const{data:T}=await UJ(k.value);S.value=!1,T?(C.value=T,u()):Gt.push("/plan")}const x=W();async function y(){const{data:T}=await Hm();x.value=T}function P(){w(),y()}const k=W();return hn(()=>{k.value=n.params.plan_id,P()}),(T,E)=>{const R=vl,K=Zi,N=Fk,D=Lk,M=vr,G=go,J=Xi,he=d7e,pe=zt,B=Dk,$=vo;return me(),qe($,null,{default:ue(()=>{var A,Y,ne,fe,Q,xe,H,ye;return[S.value?(me(),qe(K,{key:0,vertical:"",class:"mt-20"},{default:ue(()=>[ie(R,{height:"20px",width:"33%"}),ie(R,{height:"20px",width:"66%"}),ie(R,{height:"20px"})]),_:1})):(me(),ze("div",f7e,[U("div",h7e,[ie(G,{title:(A=C.value)==null?void 0:A.name,class:"m-auto max-w-100% border-rounded-5"},{default:ue(()=>{var Oe,Ne,L;return[we(dC)(((Oe=C.value)==null?void 0:Oe.content)||"")?(me(),ze("div",p7e,[(me(!0),ze(it,null,Hn(JSON.parse(((Ne=C.value)==null?void 0:Ne.content)||""),(O,oe)=>(me(),ze("div",{key:oe,class:sr(["vertical-center flex items-center",O.support?"":"opacity-30"])},[ie(M,{size:"30",class:"flex items-center text-[--primary-color]"},{default:ue(()=>[O.support?(me(),qe(N,{key:0})):(me(),qe(D,{key:1}))]),_:2},1024),U("div",null,se(O.feature),1)],2))),128))])):(me(),ze("div",{key:1,innerHTML:a(((L=C.value)==null?void 0:L.content)||""),class:"markdown-body"},null,8,m7e))]}),_:1},8,["title"]),ie(G,{title:T.$t("付款周期"),class:"mt-20 border-rounded-5",contentStyle:"padding:0"},{default:ue(()=>[(me(!0),ze(it,null,Hn(c.value,(Oe,Ne)=>{var L,O;return me(),ze("div",{key:Oe.key},[U("div",{class:sr(["flex justify-between border-2 border-rounded-5 border-solid p-20 text-16 cursor-pointer",Ne===l.value?"border-#0665d0":"border-transparent"]),onClick:oe=>l.value=Ne},[U("div",null,se(Oe.name),1),U("div",null,se((L=we(t).appConfig)==null?void 0:L.currency_symbol)+" "+se(we(rn)((O=C.value)==null?void 0:O[c.value[Ne].key])),1)],10,g7e),ie(J,{class:"m-0!"})])}),128))]),_:1},8,["title"])]),U("div",v7e,[U("div",b7e,[U("div",y7e,[dn(U("input",{placeholder:r("有优惠券?"),"onUpdate:modelValue":E[0]||(E[0]=Oe=>d.value=Oe),class:"min-w-0 flex-[1] border-none bg-transparent color-white outline-none"},null,8,x7e),[[LP,d.value]]),ie(pe,{type:"primary","icon-placement":"left",loading:f.value,disabled:f.value,onClick:E[1]||(E[1]=Oe=>p())},{icon:ue(()=>[ie(he)]),default:ue(()=>[nt(" "+se(T.$t("验证")),1)]),_:1},8,["loading","disabled"])])]),U("div",C7e,[U("div",w7e,se(T.$t("订单总额")),1),U("div",_7e,[U("div",S7e,se((Y=C.value)==null?void 0:Y.name),1),U("div",k7e,se((ne=we(t).appConfig)==null?void 0:ne.currency_symbol)+" "+se(we(rn)((fe=C.value)==null?void 0:fe[c.value[l.value].key])),1)]),h.value?(me(),ze("div",P7e,[U("div",T7e,se(T.$t("折扣")),1),U("div",R7e,[U("div",E7e,se((Q=h.value)==null?void 0:Q.name),1),U("div",$7e,"- "+se(we(rn)(g())),1)])])):pt("",!0),U("div",A7e,[U("div",I7e,se(T.$t("总计")),1),U("div",O7e,se((xe=we(t).appConfig)==null?void 0:xe.currency_symbol)+" "+se(we(rn)(((H=C.value)==null?void 0:H[c.value[l.value].key])-g()))+" "+se((ye=we(t).appConfig)==null?void 0:ye.currency),1)]),ie(pe,{type:"primary",class:"w-100% text-white","icon-placement":"left",strong:"",loading:m.value,disabled:m.value,onClick:E[2]||(E[2]=Oe=>b())},{icon:ue(()=>[ie(B)]),default:ue(()=>[nt(" "+se(T.$t("下单")),1)]),_:1},8,["loading","disabled"])])])]))]}),_:1})}}}),z7e=Object.freeze(Object.defineProperty({__proto__:null,default:M7e},Symbol.toStringTag,{value:"Module"})),D7e={class:"inline-block",viewBox:"0 0 256 256",width:"1em",height:"1em"},L7e=U("path",{fill:"currentColor",d:"M216 64H56a8 8 0 0 1 0-16h136a8 8 0 0 0 0-16H56a24 24 0 0 0-24 24v128a24 24 0 0 0 24 24h160a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16m-36 80a12 12 0 1 1 12-12a12 12 0 0 1-12 12"},null,-1),F7e=[L7e];function B7e(e,t){return me(),ze("svg",D7e,[...F7e])}const N7e={name:"ph-wallet-fill",render:B7e},H7e={class:"text-50 font-400"},j7e={class:"m-l-20 text-20 text-#6c757d"},V7e={class:"text-#6c757d"},W7e={class:"mt-10 max-w-500"},U7e={class:"mt-10 max-w-500"},q7e={class:"mt-10 max-w-500"},K7e={class:"mt-10 max-w-500"},G7e={class:"mb-5"},Y7e={class:"mt-10 max-w-500"},X7e={class:"mb-5"},Z7e={class:"m-0 pb-10 pt-10 text-20"},J7e={class:"mt-20"},Q7e=["href"],eBe={class:"mt-20"},tBe={class:"m-0 pb-10 pt-10 text-20"},nBe={class:"mt-20"},oBe={class:"flex justify-end"},rBe=be({__name:"index",setup(e){const t=Ji(),n=Tn(),o=C=>mn.global.t(C),r=W(""),i=W(""),a=W(""),s=W(!1);async function l(){if(s.value=!0,i.value!==a.value){window.$message.error(o("两次新密码输入不同"));return}const{data:C}=await NJ(r.value,i.value);C===!0&&window.$message.success(o("密码修改成功")),s.value=!1}const c=W(!1),u=W(!1);async function d(C){if(C==="expire"){const{data:S}=await C1({remind_expire:c.value?1:0});S===!0?window.$message.success(o("更新成功")):(window.$message.error(o("更新失败")),c.value=!c.value)}else if(C==="traffic"){const{data:S}=await C1({remind_traffic:u.value?1:0});S===!0?window.$message.success(o("更新成功")):(window.$message.error(o("更新失败")),u.value=!u.value)}}const f=W(),h=W(!1);async function p(){const{data:C}=await eQ();C&&(f.value=C)}function g(C){window.location.href=C}const m=W(!1);async function b(){const{data:C}=await HJ();C&&window.$message.success(o("重置成功"))}async function _(){t.getUserInfo(),c.value=!!t.remind_expire,u.value=!!t.remind_traffic}return hn(()=>{_()}),(C,S)=>{const w=N7e,x=go,y=ur,P=zt,k=TZ,T=pl,E=Xi,R=wZ,K=ni,N=vo;return me(),qe(N,null,{default:ue(()=>{var D,M,G,J;return[ie(x,{title:C.$t("我的钱包"),class:"border-rounded-5"},{"header-extra":ue(()=>[ie(w,{class:"text-40 color-gray"})]),default:ue(()=>{var he;return[U("div",null,[U("span",H7e,se(we(rn)(we(t).balance)),1),U("span",j7e,se((he=we(n).appConfig)==null?void 0:he.currency),1)]),U("div",V7e,se(C.$t("账户余额(仅消费)")),1)]}),_:1},8,["title"]),ie(x,{title:C.$t("修改密码"),class:"mt-20 border-rounded-5"},{default:ue(()=>[U("div",W7e,[U("label",null,se(C.$t("旧密码")),1),ie(y,{type:"password",value:r.value,"onUpdate:value":S[0]||(S[0]=he=>r.value=he),placeholder:C.$t("请输入旧密码"),maxlength:32},null,8,["value","placeholder"])]),U("div",U7e,[U("label",null,se(C.$t("新密码")),1),ie(y,{type:"password",value:i.value,"onUpdate:value":S[1]||(S[1]=he=>i.value=he),placeholder:C.$t("请输入新密码"),maxlength:32},null,8,["value","placeholder"])]),U("div",q7e,[U("label",null,se(C.$t("新密码")),1),ie(y,{type:"password",value:a.value,"onUpdate:value":S[2]||(S[2]=he=>a.value=he),placeholder:C.$t("请输入新密码"),maxlength:32},null,8,["value","placeholder"])]),ie(P,{class:"mt-20",type:"primary",onClick:l,loading:s.value,disabled:s.value},{default:ue(()=>[nt(se(C.$t("保存")),1)]),_:1},8,["loading","disabled"])]),_:1},8,["title"]),ie(x,{title:C.$t("通知"),class:"mt-20 border-rounded-5"},{default:ue(()=>[U("div",K7e,[U("div",G7e,se(C.$t("到期邮件提醒")),1),ie(k,{value:c.value,"onUpdate:value":[S[3]||(S[3]=he=>c.value=he),S[4]||(S[4]=he=>d("expire"))]},null,8,["value"])]),U("div",Y7e,[U("div",X7e,se(C.$t("流量邮件提醒")),1),ie(k,{value:u.value,"onUpdate:value":[S[5]||(S[5]=he=>u.value=he),S[6]||(S[6]=he=>d("traffic"))]},null,8,["value"])])]),_:1},8,["title"]),(M=(D=we(n))==null?void 0:D.appConfig)!=null&&M.is_telegram?(me(),qe(x,{key:0,title:C.$t("绑定Telegram"),class:"mt-20 border-rounded-5"},{"header-extra":ue(()=>[ie(P,{type:"primary",round:"",disabled:we(t).userInfo.telegram_id,onClick:S[7]||(S[7]=he=>(h.value=!0,p(),we(t).getUserSubscribe()))},{default:ue(()=>[nt(se(we(t).userInfo.telegram_id?C.$t("已绑定"):C.$t("立即开始")),1)]),_:1},8,["disabled"])]),_:1},8,["title"])):pt("",!0),(J=(G=we(n))==null?void 0:G.appConfig)!=null&&J.telegram_discuss_link?(me(),qe(x,{key:1,title:C.$t("Telegram 讨论组"),class:"mt-20 border-rounded-5"},{"header-extra":ue(()=>[ie(P,{type:"primary",round:"",onClick:S[8]||(S[8]=he=>{var pe,B;return g((B=(pe=we(n))==null?void 0:pe.appConfig)==null?void 0:B.telegram_discuss_link)})},{default:ue(()=>[nt(se(C.$t("立即加入")),1)]),_:1})]),_:1},8,["title"])):pt("",!0),ie(x,{title:C.$t("重置订阅信息"),class:"mt-20 border-rounded-5"},{default:ue(()=>[ie(T,{type:"warning"},{default:ue(()=>[nt(se(C.$t("当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。")),1)]),_:1}),ie(P,{type:"error",size:"small",class:"mt-10",onClick:S[9]||(S[9]=he=>m.value=!0)},{default:ue(()=>[nt(se(C.$t("重置")),1)]),_:1})]),_:1},8,["title"]),ie(K,{title:C.$t("绑定Telegram"),preset:"card",show:h.value,"onUpdate:show":S[12]||(S[12]=he=>h.value=he),class:"mx-10 max-w-100% w-600 md:mx-auto",footerStyle:"padding: 10px 16px",segmented:{content:!0,footer:!0}},{footer:ue(()=>[U("div",oBe,[ie(P,{type:"primary",onClick:S[11]||(S[11]=he=>h.value=!1)},{default:ue(()=>[nt(se(C.$t("我知道了")),1)]),_:1})])]),default:ue(()=>{var he,pe,B;return[f.value&&we(t).subscribe?(me(),ze(it,{key:0},[U("div",null,[U("h2",Z7e,se(C.$t("第一步")),1),ie(E,{class:"m-0!"}),U("div",J7e,[nt(se(C.$t("打开Telegram搜索"))+" ",1),U("a",{href:"https://t.me/"+((he=f.value)==null?void 0:he.username)},"@"+se((pe=f.value)==null?void 0:pe.username),9,Q7e)])]),U("div",eBe,[U("h2",tBe,se(C.$t("第二步")),1),ie(E,{class:"m-0!"}),U("div",nBe,se(C.$t("向机器人发送你的")),1),U("code",{class:"cursor-pointer",onClick:S[10]||(S[10]=$=>{var A;return we(ma)("/bind "+((A=we(t).subscribe)==null?void 0:A.subscribe_url))})},"/bind "+se((B=we(t).subscribe)==null?void 0:B.subscribe_url),1)])],64)):(me(),qe(R,{key:1,size:"large"}))]}),_:1},8,["title","show"]),ie(K,{show:m.value,"onUpdate:show":S[13]||(S[13]=he=>m.value=he),preset:"dialog",title:C.$t("确定要重置订阅信息?"),content:C.$t("如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。"),"positive-text":C.$t("确认"),"negative-text":C.$t("取消"),onPositiveClick:b},null,8,["show","title","content","positive-text","negative-text"])]}),_:1})}}}),iBe=Object.freeze(Object.defineProperty({__proto__:null,default:rBe},Symbol.toStringTag,{value:"Module"})),aBe={class:"flex justify-end"},sBe=be({__name:"index",setup(e){const t=h=>mn.global.t(h),n=[{label:t("低"),value:0},{label:t("中"),value:1},{label:t("高"),value:2}],o=[{title:t("主题"),key:"subject"},{title:t("工单级别"),key:"u",render(h){return n[h.level].label}},{title:t("工单状态"),key:"status",render(h){const p=v("div",{class:["h-6 w-6 rounded-full mr-5",h.status===1?"bg-green-500":h.reply_status===0?"bg-blue-500":"bg-red-500"]}),g=h.status===1?t("已关闭"):h.reply_status===0?t("已回复"):t("待回复");return v("div",{class:"flex items-center"},[p,g])}},{title:t("创建时间"),key:"created_at",render(h){return Wo(h.created_at)}},{title:t("最后回复时间"),key:"updated_at",render(h){return Wo(h.updated_at)}},{title:t("操作"),key:"actions",fixed:"right",render(h){const p=v(zt,{text:!0,type:"primary",onClick:()=>Gt.push(`/ticket/${h.id}`)},{default:()=>t("查看")}),g=v(zt,{text:!0,type:"primary",disabled:h.status===1,onClick:()=>c(h.id)},{default:()=>t("关闭")}),m=v(Xi,{vertical:!0});return v("div",[p,m,g])}}],r=W(!1),i=W(""),a=W(),s=W("");async function l(){const{data:h}=await GJ(i.value,a.value,s.value);h===!0&&(window.$message.success(t("创建成功")),f(),r.value=!1)}async function c(h){const{data:p}=await YJ(h);p&&(window.$message.success(t("关闭成功")),f())}const u=W([]);async function d(){const{data:h}=await KJ();u.value=h}function f(){d()}return hn(()=>{f()}),(h,p)=>{const g=ur,m=Du,b=Zi,_=go,C=ni,S=Nu,w=vo;return me(),qe(w,null,{default:ue(()=>[ie(C,{show:r.value,"onUpdate:show":p[6]||(p[6]=x=>r.value=x)},{default:ue(()=>[ie(_,{title:h.$t("新的工单"),class:"mx-10 max-w-100% w-600 md:mx-auto",segmented:{content:!0,footer:!0},closable:"",onClose:p[5]||(p[5]=x=>r.value=!1)},{footer:ue(()=>[U("div",aBe,[ie(b,null,{default:ue(()=>[ie(we(zt),{onClick:p[3]||(p[3]=x=>r.value=!1)},{default:ue(()=>[nt(se(h.$t("取消")),1)]),_:1}),ie(we(zt),{type:"primary",onClick:p[4]||(p[4]=x=>l())},{default:ue(()=>[nt(se(h.$t("确认")),1)]),_:1})]),_:1})])]),default:ue(()=>[U("div",null,[U("label",null,se(h.$t("主题")),1),ie(g,{value:i.value,"onUpdate:value":p[0]||(p[0]=x=>i.value=x),class:"mt-5",placeholder:h.$t("请输入工单主题")},null,8,["value","placeholder"])]),U("div",null,[U("label",null,se(h.$t("工单级别")),1),ie(m,{value:a.value,"onUpdate:value":p[1]||(p[1]=x=>a.value=x),options:n,placeholder:h.$t("请选项工单等级"),class:"mt-5"},null,8,["value","placeholder"])]),U("div",null,[U("label",null,se(h.$t("消息")),1),ie(g,{value:s.value,"onUpdate:value":p[2]||(p[2]=x=>s.value=x),type:"textarea",placeholder:h.$t("请描述你遇到的问题"),round:"",class:"mt-5"},null,8,["value","placeholder"])])]),_:1},8,["title"])]),_:1},8,["show"]),ie(_,{class:"border-rounded-5",title:h.$t("工单历史")},{"header-extra":ue(()=>[ie(we(zt),{type:"primary",round:"",onClick:p[7]||(p[7]=x=>r.value=!0)},{default:ue(()=>[nt(se(h.$t("新的工单")),1)]),_:1})]),default:ue(()=>[ie(S,{columns:o,data:u.value,"scroll-x":800},null,8,["data"])]),_:1},8,["title"])]),_:1})}}}),lBe=Object.freeze(Object.defineProperty({__proto__:null,default:sBe},Symbol.toStringTag,{value:"Module"})),cBe={class:"relative",style:{height:"calc(100% - 70px)"}},uBe={class:"mb-8 mt-8 text-14 text-gray"},dBe={class:"mb-8 inline-block border-rounded-5 bg-#f8f9fa pb-8 pl-16 pr-16 pt-8"},fBe=be({__name:"detail",setup(e){const t=Da(),n=h=>mn.global.t(h),o=W("");async function r(){const{data:h}=await ZJ(i.value,o.value);h===!0&&(window.$message.success(n("回复成功")),o.value="",f())}const i=W(),a=W();async function s(){const{data:h}=await XJ(i.value);h&&(a.value=h)}const l=W(null),c=W(null),u=async()=>{const h=l.value,p=c.value;h&&p&&h.scrollBy({top:p.scrollHeight,behavior:"auto"})},d=W();async function f(){await s(),await Ht(),u(),d.value=setInterval(s,2e3)}return hn(()=>{i.value=t.params.ticket_id,f()}),(h,p)=>{const g=hZ,m=ur,b=zt,_=bm,C=go,S=vo;return me(),qe(S,null,{default:ue(()=>{var w;return[ie(C,{title:(w=a.value)==null?void 0:w.subject,class:"h-full overflow-hidden"},{default:ue(()=>[U("div",cBe,[ie(g,{class:"absolute right-0 h-full",ref_key:"scrollbarRef",ref:l},{default:ue(()=>{var x;return[U("div",{ref_key:"scrollContainerRef",ref:c},[(me(!0),ze(it,null,Hn((x=a.value)==null?void 0:x.message,y=>(me(),ze("div",{key:y.id,class:sr([y.is_me?"text-right":"text-left"])},[U("div",uBe,se(we(Wo)(y.created_at)),1),U("div",dBe,se(y.message),1)],2))),128))],512)]}),_:1},512)]),ie(_,{size:"large",class:"mt-30"},{default:ue(()=>[ie(m,{type:"text",size:"large",placeholder:h.$t("输入内容回复工单"),autofocus:!0,value:o.value,"onUpdate:value":p[0]||(p[0]=x=>o.value=x),onKeyup:p[1]||(p[1]=ws(x=>r(),["enter"]))},null,8,["placeholder","value"]),ie(b,{type:"primary",size:"large",onClick:p[2]||(p[2]=x=>r())},{default:ue(()=>[nt(se(h.$t("回复")),1)]),_:1})]),_:1})]),_:1},8,["title"])]}),_:1})}}}),hBe=Object.freeze(Object.defineProperty({__proto__:null,default:fBe},Symbol.toStringTag,{value:"Module"})),pBe=be({__name:"index",setup(e){const t=i=>mn.global.t(i),n=[{title:t("记录时间"),key:"record_at",render(i){return zp(i.record_at)}},{title:t("实际上行"),key:"u",render(i){return Ps(i.u)}},{title:t("实际下行"),key:"d",render(i){return Ps(i.d)}},{title:t("扣费倍率"),key:"server_rate",render(i){return v(Ti,{size:"small",round:!0},{default:()=>i.server_rate+" x"})}},{title(){const i=v(Fu,{placement:"bottom",trigger:"hover"},{trigger:()=>v(tl("mdi-help-circle-outline",{size:16})),default:()=>t("公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量")});return v("div",{class:"flex items-center"},[t("总计"),i])},key:"total",fixed:"right",render(i){return Ps((i.d+i.u)*parseFloat(i.server_rate))}}],o=W([]);async function r(){const{data:i}=await jJ();o.value=i}return hn(()=>{r()}),(i,a)=>{const s=pl,l=Nu,c=go,u=vo;return me(),qe(u,null,{default:ue(()=>[ie(c,{class:"border-rounded-5"},{default:ue(()=>[ie(s,{type:"info",bordered:!1,class:"mb-20"},{default:ue(()=>[nt(se(i.$t("流量明细仅保留近月数据以供查询。")),1)]),_:1}),ie(l,{columns:n,data:o.value,"scroll-x":600},null,8,["data"])]),_:1})]),_:1})}}}),mBe=Object.freeze(Object.defineProperty({__proto__:null,default:pBe},Symbol.toStringTag,{value:"Module"})),gBe={name:"NOTFOUND"},vBe={"h-full":"",flex:""};function bBe(e,t,n,o,r,i){const a=zt,s=uZ;return me(),ze("div",vBe,[ie(s,{"m-auto":"",status:"404",title:"404 Not Found",description:""},{footer:ue(()=>[ie(a,null,{default:ue(()=>[nt("Find some fun")]),_:1})]),_:1})])}const yBe=qu(gBe,[["render",bBe]]),xBe=Object.freeze(Object.defineProperty({__proto__:null,default:yBe},Symbol.toStringTag,{value:"Module"})),CBe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},wBe=U("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[U("path",{d:"M2 12c0 5.523 4.477 10 10 10s10-4.477 10-10S17.523 2 12 2S2 6.477 2 12"}),U("path",{d:"M13 2.05S16 6 16 12s-3 9.95-3 9.95m-2 0S8 18 8 12s3-9.95 3-9.95M2.63 15.5h18.74m-18.74-7h18.74"})],-1),_Be=[wBe];function SBe(e,t){return me(),ze("svg",CBe,[..._Be])}const kBe={name:"iconoir-language",render:SBe},PBe={class:"inline-block",viewBox:"0 0 32 32",width:"1em",height:"1em"},TBe=U("path",{fill:"currentColor",d:"M26 30H14a2 2 0 0 1-2-2v-3h2v3h12V4H14v3h-2V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v24a2 2 0 0 1-2 2"},null,-1),RBe=U("path",{fill:"currentColor",d:"M14.59 20.59L18.17 17H4v-2h14.17l-3.58-3.59L16 10l6 6l-6 6z"},null,-1),EBe=[TBe,RBe];function $Be(e,t){return me(),ze("svg",PBe,[...EBe])}const ABe={name:"carbon-login",render:$Be},IBe=be({__name:"vueRecaptcha",props:{sitekey:{type:String,required:!0},size:{type:String,required:!1,default:"normal"},theme:{type:String,required:!1,default:"light"},hl:{type:String,required:!1},loadingTimeout:{type:Number,required:!1,default:0}},emits:{verify:e=>e!=null&&e!="",error:e=>e,expire:null,fail:null},setup(e,{expose:t,emit:n}){const o=e,r=W(null);let i=null;t({execute:function(){window.grecaptcha.execute(i)},reset:function(){window.grecaptcha.reset(i)}});function a(){i=window.grecaptcha.render(r.value,{sitekey:o.sitekey,theme:o.theme,size:o.size,callback:s=>n("verify",s),"expired-callback":()=>n("expire"),"error-callback":()=>n("fail")})}return jt(()=>{window.grecaptcha==null?new Promise((s,l)=>{let c,u=!1;window.recaptchaReady=function(){u||(u=!0,clearTimeout(c),s())};const d="recaptcha-script",f=g=>()=>{var m;u||(u=!0,clearTimeout(c),(m=document.getElementById(d))==null||m.remove(),l(g))};o.loadingTimeout>0&&(c=setTimeout(f("timeout"),o.loadingTimeout));const h=window.document,p=h.createElement("script");p.id=d,p.onerror=f("error"),p.onabort=f("aborted"),p.setAttribute("src",`https://www.recaptcha.net/recaptcha/api.js?onload=recaptchaReady&render=explicit&hl=${o.hl}&_=${+new Date}`),h.head.appendChild(p)}).then(()=>{a()}).catch(s=>{n("error",s)}):a()}),(s,l)=>(me(),ze("div",{ref_key:"recaptchaDiv",ref:r},null,512))}}),OBe=e=>_t({url:"/passport/auth/login",method:"post",data:e}),MBe=e=>_t.get("/passport/auth/token2Login?verify="+encodeURIComponent(e.verify)+"&redirect="+encodeURIComponent(e.redirect)),zBe=e=>_t({url:"/passport/auth/register",method:"post",data:e});function DBe(){return _t.get("/guest/comm/config")}function LBe(e,t){return _t.post("/passport/comm/sendEmailVerify",{email:e,recaptcha_data:t})}function FBe(e,t,n){return _t.post("/passport/auth/forget",{email:e,password:t,email_code:n})}const BBe={class:"p-24"},NBe={key:0,class:"text-center"},HBe=["src"],jBe={key:1,class:"m-1 text-center text-36 font-normal",color:"#343a40"},VBe={class:"text-muted mb-3 text-center text-14 font-400",color:"#6c757d"},WBe={class:"mt-20 w-full"},UBe={class:"mt-20 w-full"},qBe={class:"mt-20 w-full"},KBe={class:"mt-20 w-full"},GBe={class:"mt-20 w-full"},YBe={class:"mt-20 w-full"},XBe=["innerHTML"],ZBe={class:"mt-20 w-full"},JBe={class:"flex justify-between bg-[--n-color-embedded] p-x-24 p-y-16 text-#6c757d"},QBe=be({__name:"login",setup(e){const t=Tn(),n=Mx(),o=Da(),r=k=>mn.global.t(k),i=eo({email:"",email_code:"",password:"",confirm_password:"",confirm:"",invite_code:"",lock_invite_code:!1,suffix:""}),a=W(!0),s=F(()=>{var T;const k=(T=C.value)==null?void 0:T.tos_url;return"<div>"+mn.global.tc('我已阅读并同意 <a target="_blank" href="{url}">服务条款</a>',{url:k})+"</div>"}),l=W(),c=W(),u=W(!1),d=W();function f(k){l.value=k,setTimeout(()=>{u.value=!1,c.value&&c.value.reset,d.value==="register"?(x(),d.value=""):d.value==="sendEmailVerify"&&(_(),d.value="")},500)}function h(){c.value&&c.value.reset()}function p(){c.value&&c.value.reset()}function g(){c.value&&c.value.reset&&c.value.reset()}const m=W(!1),b=W(0);async function _(){var E,R;if(i.email===""){window.$message.error(r("请输入邮箱地址"));return}if(m.value=!0,b.value>0){window.$message.warning(mn.global.tc("{second}秒后可重新发送",{second:b.value}));return}if((E=C.value)!=null&&E.is_recaptcha&&((R=C.value)!=null&&R.recaptcha_site_key)&&!l.value){u.value=!0,m.value=!1,d.value="sendEmailVerify";return}const k=i.suffix?`${i.email}${i.suffix}`:i.email,{data:T}=await LBe(k,l.value);if(T===!0){window.$message.success(r("发送成功")),b.value=60;const K=setInterval(()=>{b.value--,b.value===0&&clearInterval(K)},1e3);l.value=""}m.value=!1}const C=W();async function S(){var T,E;const{data:k}=await DBe();k&&(C.value=k,tb(k.email_whitelist_suffix)&&(i.suffix=(T=k.email_whitelist_suffix)!=null&&T[0]?"@"+((E=k.email_whitelist_suffix)==null?void 0:E[0]):""),k.tos_url&&(a.value=!1))}const w=W(!1);async function x(){var K,N,D;const{email:k,password:T,confirm_password:E,email_code:R}=i;switch(y.value){case"login":{if(!k||!T){window.$message.warning(r("请输入用户名和密码"));return}w.value=!0;const{data:M}=await OBe({email:k,password:T.toString()});w.value=!1,M!=null&&M.auth_data&&(window.$message.success(r("登录成功")),df(M==null?void 0:M.auth_data),n.push(((K=o.query.redirect)==null?void 0:K.toString())??"/dashboard"));break}case"register":{if(i.email===""){window.$message.error(r("请输入邮箱地址"));return}const{password:M,confirm_password:G,invite_code:J,email_code:he}=i,pe=i.suffix?`${i.email}${i.suffix}`:i.email;if(!pe||!M){window.$message.warning(r("请输入账号密码"));return}if(M!==G){window.$message.warning(r("请确保两次密码输入一致"));return}if((N=C.value)!=null&&N.is_recaptcha&&((D=C.value)!=null&&D.recaptcha_site_key)&&!l.value){l.value||(u.value=!0),d.value="register";return}w.value=!0;const{data:B}=await zBe({email:pe,password:M,invite_code:J,email_code:he,recaptcha_data:l.value});w.value=!1,B!=null&&B.auth_data&&(window.$message.success(r("注册成功")),df(B.auth_data),n.push("/")),l.value="";break}case"forgetpassword":{if(k===""){window.$message.error(r("请输入邮箱地址"));return}if(!k||!T){window.$message.warning(r("请输入账号密码"));return}if(T!==E){window.$message.warning(r("请确保两次密码输入一致"));return}w.value=!0;const M=i.suffix?`${i.email}${i.suffix}`:i.email,{data:G}=await FBe(M,T,R);w.value=!1,G&&(window.$message.success(r("重置密码成功,正在返回登录")),setTimeout(()=>{n.push("/login")},500))}}}const y=F(()=>{const k=o.path;return k.includes("login")?"login":k.includes("register")?"register":k.includes("forgetpassword")?"forgetpassword":""}),P=async()=>{["register","forgetpassword"].includes(y.value)&&S(),o.query.code&&(i.lock_invite_code=!0,i.invite_code=o.query.code);const{verify:k,redirect:T}=o.query;if(k&&T){const{data:E}=await MBe({verify:k,redirect:T});E!=null&&E.auth_data&&(window.$message.success(r("登录成功")),df(E==null?void 0:E.auth_data),n.push(T.toString()))}};return Xt(()=>{P()}),(k,T)=>{const E=ni,R=ur,K=Du,N=bm,D=zt,M=ml,G=ABe,J=Qc("router-link"),he=Xi,pe=kBe,B=_m,$=go;return me(),ze(it,null,[ie(E,{show:u.value,"onUpdate:show":T[0]||(T[0]=A=>u.value=A)},{default:ue(()=>{var A,Y,ne;return[(A=C.value)!=null&&A.is_recaptcha&&((Y=C.value)!=null&&Y.recaptcha_site_key)?(me(),qe(we(IBe),{key:0,sitekey:(ne=C.value)==null?void 0:ne.recaptcha_site_key,size:"normal",theme:"light","loading-timeout":3e4,onVerify:f,onExpire:h,onFail:p,onError:g,ref_key:"vueRecaptchaRef",ref:c},null,8,["sitekey"])):pt("",!0)]}),_:1},8,["show"]),U("div",{class:"wh-full flex items-center justify-center",style:Di(we(t).background_url&&`background:url(${we(t).background_url}) no-repeat center center / cover;`)},[ie($,{class:"m-auto max-w-450 rounded-5 bg-[--n-color] shadow-black","content-style":"padding: 0;"},{default:ue(()=>{var A,Y,ne;return[U("div",BBe,[we(t).logo?(me(),ze("div",NBe,[U("img",{src:we(t).logo,class:"mb-1em max-w-100%"},null,8,HBe)])):(me(),ze("h1",jBe,se(we(t).title),1)),U("h5",VBe,se(we(t).description||" "),1),U("div",WBe,[ie(N,null,{default:ue(()=>{var fe,Q,xe;return[ie(R,{value:i.email,"onUpdate:value":T[1]||(T[1]=H=>i.email=H),autofocus:"",placeholder:k.$t("邮箱"),maxlength:40},null,8,["value","placeholder"]),["register","forgetpassword"].includes(y.value)&&we(tb)((fe=C.value)==null?void 0:fe.email_whitelist_suffix)?(me(),qe(K,{key:0,value:i.suffix,"onUpdate:value":T[2]||(T[2]=H=>i.suffix=H),options:((xe=(Q=C.value)==null?void 0:Q.email_whitelist_suffix)==null?void 0:xe.map(H=>({value:`@${H}`,label:`@${H}`})))||[],class:"flex-[1]","consistent-menu-width":!1},null,8,["value","options"])):pt("",!0)]}),_:1})]),dn(U("div",UBe,[ie(N,{class:"flex"},{default:ue(()=>[ie(R,{value:i.email_code,"onUpdate:value":T[3]||(T[3]=fe=>i.email_code=fe),placeholder:k.$t("邮箱验证码")},null,8,["value","placeholder"]),ie(D,{type:"primary",onClick:T[4]||(T[4]=fe=>_()),loading:m.value,disabled:m.value||b.value>0},{default:ue(()=>[nt(se(b.value||k.$t("发送")),1)]),_:1},8,["loading","disabled"])]),_:1})],512),[[Mn,["register"].includes(y.value)&&((A=C.value)==null?void 0:A.is_email_verify)||["forgetpassword"].includes(y.value)]]),U("div",qBe,[ie(R,{value:i.password,"onUpdate:value":T[5]||(T[5]=fe=>i.password=fe),class:"",type:"password","show-password-on":"click",placeholder:k.$t("密码"),maxlength:40,onKeydown:T[6]||(T[6]=ws(fe=>["login"].includes(y.value)&&x(),["enter"]))},null,8,["value","placeholder"])]),dn(U("div",KBe,[ie(R,{value:i.confirm_password,"onUpdate:value":T[7]||(T[7]=fe=>i.confirm_password=fe),type:"password","show-password-on":"click",placeholder:k.$t("再次输入密码"),maxlength:40,onKeydown:T[8]||(T[8]=ws(fe=>["forgetpassword"].includes(y.value)&&x(),["enter"]))},null,8,["value","placeholder"])],512),[[Mn,["register","forgetpassword"].includes(y.value)]]),dn(U("div",GBe,[ie(R,{value:i.invite_code,"onUpdate:value":T[9]||(T[9]=fe=>i.invite_code=fe),placeholder:[k.$t("邀请码"),(Y=C.value)!=null&&Y.is_invite_force?`(${k.$t("必填")})`:`(${k.$t("选填")})`],maxlength:20,disabled:i.lock_invite_code,onKeydown:T[10]||(T[10]=ws(fe=>x(),["enter"]))},null,8,["value","placeholder","disabled"])],512),[[Mn,["register"].includes(y.value)]]),dn(U("div",YBe,[ie(M,{checked:a.value,"onUpdate:checked":T[11]||(T[11]=fe=>a.value=fe),class:"text-bold text-16"},{default:ue(()=>[U("div",{innerHTML:s.value},null,8,XBe)]),_:1},8,["checked"])],512),[[Mn,["register"].includes(y.value)&&((ne=C.value)==null?void 0:ne.tos_url)]]),U("div",ZBe,[ie(D,{class:"h-36 w-full rounded-5 text-16",type:"primary","icon-placement":"left",onClick:T[12]||(T[12]=fe=>x()),loading:w.value,disabled:w.value||!a.value&&["register"].includes(y.value)},{icon:ue(()=>[ie(G)]),default:ue(()=>[nt(" "+se(["login"].includes(y.value)?k.$t("登入"):["register"].includes(y.value)?k.$t("注册"):k.$t("重置密码")),1)]),_:1},8,["loading","disabled"])])]),U("div",JBe,[U("div",null,[["login"].includes(y.value)?(me(),ze(it,{key:0},[ie(J,{to:"/register",class:"text-#6c757d"},{default:ue(()=>[nt(se(k.$t("注册")),1)]),_:1}),ie(he,{vertical:""}),ie(J,{to:"/forgetpassword",class:"text-#6c757d"},{default:ue(()=>[nt(se(k.$t("忘记密码")),1)]),_:1})],64)):(me(),qe(J,{key:1,to:"/login",class:"text-#6c757d"},{default:ue(()=>[nt(se(k.$t("返回登入")),1)]),_:1}))]),U("div",null,[ie(B,{value:we(t).lang,"onUpdate:value":T[13]||(T[13]=fe=>we(t).lang=fe),options:Object.entries(we(sh)).map(([fe,Q])=>({label:Q,value:fe})),trigger:"click","on-update:value":we(t).switchLang},{default:ue(()=>[ie(D,{text:"","icon-placement":"left"},{icon:ue(()=>[ie(pe)]),default:ue(()=>[nt(" "+se(we(sh)[we(t).lang]),1)]),_:1})]),_:1},8,["value","options","on-update:value"])])])]}),_:1})],4)],64)}}}),Pf=Object.freeze(Object.defineProperty({__proto__:null,default:QBe},Symbol.toStringTag,{value:"Module"})),eNe={请求失败:"Request failed",月付:"Monthly",季付:"Quarterly",半年付:"Semi-Annually",年付:"Annually",两年付:"Biennially",三年付:"Triennially",一次性:"One Time",重置流量包:"Data Reset Package",待支付:"Pending Payment",开通中:"Pending Active",已取消:"Canceled",已完成:"Completed",已折抵:"Converted",待确认:"Pending",发放中:"Confirming",已发放:"Completed",无效:"Invalid",个人中心:"User Center",登出:"Logout",搜索:"Search",仪表盘:"Dashboard",订阅:"Subscription",我的订阅:"My Subscription",购买订阅:"Purchase Subscription",财务:"Billing",我的订单:"My Orders",我的邀请:"My Invitation",用户:"Account",我的工单:"My Tickets",流量明细:"Transfer Data Details",使用文档:"Knowledge Base",绑定Telegram获取更多服务:"Not link to Telegram yet",点击这里进行绑定:"Please click here to link to Telegram",公告:"Announcements",总览:"Overview",该订阅长期有效:"The subscription is valid for an unlimited time",已过期:"Expired","已用 {used} / 总计 {total}":"{used} Used / Total {total}",查看订阅:"View Subscription",邮箱:"Email",邮箱验证码:"Email verification code",发送:"Send",重置密码:"Reset Password",返回登入:"Back to Login",邀请码:"Invitation Code",复制链接:"Copy Link",完成时间:"Complete Time",佣金:"Commission",已注册用户数:"Registered users",佣金比例:"Commission rate",确认中的佣金:"Pending commission","佣金将会在确认后会到达你的佣金账户。":"The commission will reach your commission account after review.",邀请码管理:"Invitation Code Management",生成邀请码:"Generate invitation code",佣金发放记录:"Commission Income Record",复制成功:"Copied successfully",密码:"Password",登入:"Login",注册:"Register",忘记密码:"Forgot password","# 订单号":"Order Number #",周期:"Type / Cycle",订单金额:"Order Amount",订单状态:"Order Status",创建时间:"Creation Time",操作:"Action",查看详情:"View Details",请选择支付方式:"Please select a payment method",请检查信用卡支付信息:"Please check credit card payment information",订单详情:"Order Details",折扣:"Discount",折抵:"Converted",退款:"Refund",支付方式:"Payment Method",填写信用卡支付信息:"Please fill in credit card payment information","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"We will not collect your credit card information, credit card number and other details only use to verify the current transaction.",订单总额:"Order Total",总计:"Total",结账:"Checkout",等待支付中:"Waiting for payment","订单系统正在进行处理,请稍等1-3分钟。":"Order system is being processed, please wait 1 to 3 minutes.","订单由于超时支付已被取消。":"The order has been canceled due to overtime payment.","订单已支付并开通。":"The order has been paid and the service is activated.",选择订阅:"Select a Subscription",立即订阅:"Subscribe now",配置订阅:"Configure Subscription",付款周期:"Payment Cycle","有优惠券?":"Have coupons?",验证:"Verify",下单:"Order","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"Attention please, change subscription will overwrite your current subscription.",该订阅无法续费:"This subscription cannot be renewed",选择其他订阅:"Choose another subscription",我的钱包:"My Wallet","账户余额(仅消费)":"Account Balance (For billing only)","推广佣金(可提现)":"Invitation Commission (Can be used to withdraw)",钱包组成部分:"Wallet Details",划转:"Transfer",推广佣金提现:"Invitation Commission Withdrawal",修改密码:"Change Password",保存:"Save",旧密码:"Old Password",新密码:"New Password",请输入旧密码:"Please enter the old password",请输入新密码:"Please enter the new password",通知:"Notification",到期邮件提醒:"Subscription expiration email reminder",流量邮件提醒:"Insufficient transfer data email alert",绑定Telegram:"Link to Telegram",立即开始:"Start Now",重置订阅信息:"Reset Subscription",重置:"Reset","确定要重置订阅信息?":"Do you want to reset subscription?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"In case of your account information or subscription leak, this option is for reset. After resetting your UUID and subscription will change, you need to re-subscribe.",重置成功:"Reset successfully",两次新密码输入不同:"Two new passwords entered do not match",两次密码输入不同:"The passwords entered do not match","邀请码(选填)":"Invitation code (Optional)",'我已阅读并同意 <a target="_blank" href="{url}">服务条款</a>':'I have read and agree to the <a target="_blank" href="{url}">terms of service</a>',请同意服务条款:"Please agree to the terms of service",名称:"Name",标签:"Tags",状态:"Status",节点五分钟内节点在线情况:"Access Point online status in the last 5 minutes",倍率:"Rate",使用的流量将乘以倍率进行扣除:"The transfer data usage will be multiplied by the transfer data rate deducted.",更多操作:"Action","没有可用节点,如果您未订阅或已过期请":"No access points are available. If you have not subscribed or the subscription has expired, please","确定重置当前已用流量?":"Are you sure to reset your current data usage?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":'Click "Confirm" and you will be redirected to the payment page. The system will empty your current month"s usage after your purchase.',确定:"Confirm",低:"Low",中:"Medium",高:"High",主题:"Subject",工单级别:"Ticket Priority",工单状态:"Ticket Status",最后回复:"Last Reply",已关闭:"Closed",待回复:"Pending Reply",已回复:"Replied",查看:"View",关闭:"Cancel",新的工单:"My Tickets",确认:"Confirm",请输入工单主题:"Please enter a subject",工单等级:"Ticket Priority",请选择工单等级:"Please select the ticket priority",消息:"Message",请描述你遇到的问题:"Please describe the problem you encountered",记录时间:"Record Time",实际上行:"Actual Upload",实际下行:"Actual Download",合计:"Total","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"Formula: (Actual Upload + Actual Download) x Deduction Rate = Deduct Transfer Data",复制订阅地址:"Copy Subscription URL",导入到:"Export to",一键订阅:"Quick Subscription",复制订阅:"Copy Subscription URL",推广佣金划转至余额:"Transfer Invitation Commission to Account Balance","划转后的余额仅用于{title}消费使用":"The transferred balance will be used for {title} payments only",当前推广佣金余额:"Current invitation balance",划转金额:"Transfer amount",请输入需要划转到余额的金额:"Please enter the amount to be transferred to the balance","输入内容回复工单...":"Please enter to reply to the ticket...",申请提现:"Apply For Withdrawal",取消:"Cancel",提现方式:"Withdrawal Method",请选择提现方式:"Please select a withdrawal method",提现账号:"Withdrawal Account",请输入提现账号:"Please enter the withdrawal account",我知道了:"I got it",第一步:"First Step",第二步:"Second Step",打开Telegram搜索:"Open Telegram and Search ",向机器人发送你的:"Send the following command to bot","最后更新: {date}":"Last Updated: {date}",还有没支付的订单:"There are still unpaid orders",立即支付:"Pay Now",条工单正在处理中:"tickets are in process",立即查看:"View Now",节点状态:"Access Point Status",商品信息:"Product Information",产品名称:"Product Name","类型/周期":"Type / Cycle",产品流量:"Product Transfer Data",订单信息:"Order Details",关闭订单:"Close order",订单号:"Order Number",优惠金额:"Discount amount",旧订阅折抵金额:"Old subscription converted amount",退款金额:"Refunded amount",余额支付:"Balance payment",工单历史:"Ticket History","已用流量将在 {reset_day} 日后重置":"Used data will reset after {reset_day} days",已用流量已在今日重置:"Data usage has been reset today",重置已用流量:"Reset used data",查看节点状态:"View Access Point status","当前已使用流量达{rate}%":"Currently used data up to {rate}%",节点名称:"Access Point Name","于 {date} 到期,距离到期还有 {day} 天。":"Will expire on {date}, {day} days before expiration.","Telegram 讨论组":"Telegram Discussion Group",立即加入:"Join Now","该订阅无法续费,仅允许新用户购买":"This subscription cannot be renewed and is only available to new users.",重置当月流量:"Reset current month usage","流量明细仅保留近月数据以供查询。":'Only keep the most recent month"s usage for checking the transfer data details.',扣费倍率:"Fee deduction rate",支付手续费:"Payment fee",续费订阅:"Renewal Subscription",学习如何使用:"Learn how to use",快速将节点导入对应客户端进行使用:"Quickly export subscription into the client app",对您当前的订阅进行续费:"Renew your current subscription",对您当前的订阅进行购买:"Purchase your current subscription",捷径:"Shortcut","不会使用,查看使用教程":"I am a newbie, view the tutorial",使用支持扫码的客户端进行订阅:"Use a client app that supports scanning QR code to subscribe",扫描二维码订阅:"Scan QR code to subscribe",续费:"Renewal",购买:"Purchase",查看教程:"View Tutorial",注意:"Attention","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"You still have an unpaid order. You need to cancel it before purchasing. Are you sure you want to cancel the previous order?",确定取消:"Confirm Cancel",返回我的订单:"Back to My Order","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"If you have already paid, canceling the order may cause the payment to fail. Are you sure you want to cancel the order?",选择最适合你的计划:"Choose the right plan for you",全部:"All",按周期:"By Cycle",遇到问题:"I have a problem",遇到问题可以通过工单与我们沟通:"If you have any problems, you can contact us via ticket",按流量:"Pay As You Go",搜索文档:"Search Documents",技术支持:"Technical Support",当前剩余佣金:"Current commission remaining",三级分销比例:"Three-level Distribution Ratio",累计获得佣金:"Cumulative commission earned","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"The users you invite to re-invite users will be divided according to the order amount multiplied by the distribution level.",发放时间:"Commission Time","{number} 人":"{number} people","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"If your subscription address or account is leaked and misused by others, you can reset your subscription information here to prevent unnecessary losses.",再次输入密码:"Enter password again",返回登陆:"Return to Login",选填:"Optional",必填:"Required",最后回复时间:"Last Reply Time",请选项工单等级:"Please Select Ticket Priority",回复:"Reply",输入内容回复工单:"Enter Content to Reply to Ticket",已生成:"Generated",选择协议:"Select Protocol",自动:"Automatic",流量重置包:"Data Reset Package",复制失败:"Copy failed",提示:"Notification","确认退出?":"Confirm Logout?",已退出登录:"Logged out successfully",请输入邮箱地址:"Enter email address","{second}秒后可重新发送":"Resend available in {second} seconds",发送成功:"Sent successfully",请输入账号密码:"Enter account and password",请确保两次密码输入一致:"Ensure password entries match",注册成功:"Registration successful","重置密码成功,正在返回登录":"Password reset successful, returning to login",确认取消:"Confirm Cancel","请注意,变更订阅会导致当前订阅被覆盖。":"Please note that changing the subscription will overwrite the current subscription.","订单提交成功,正在跳转支付":"Order submitted successfully, redirecting to payment.",回复成功:"Reply Successful",工单详情:"Ticket Details",登录成功:"Login Successful","确定退出?":"Are you sure you want to exit?",支付成功:"Payment Successful",正在前往收银台:"Proceeding to Checkout",请输入正确的划转金额:"Please enter the correct transfer amount",划转成功:"Transfer Successful",提现方式不能为空:"Withdrawal method cannot be empty",提现账号不能为空:"Withdrawal account cannot be empty",已绑定:"Already Bound",创建成功:"Creation successful",关闭成功:"Shutdown successful"},Bk=Object.freeze(Object.defineProperty({__proto__:null,default:eNe},Symbol.toStringTag,{value:"Module"})),tNe={请求失败:"درخواست انجام نشد",月付:"ماهانه",季付:"سه ماهه",半年付:"نیم سال",年付:"سالانه",两年付:"دو سال",三年付:"سه سال",一次性:"یک‌باره",重置流量包:"بازنشانی بسته های داده",待支付:"در انتظار پرداخت",开通中:"ایجاید",已取消:"صرف نظر شد",已完成:"به پایان رسید",已折抵:"تخفیف داده شده است",待确认:"در حال بررسی",发放中:"صدور",已发放:"صادر شده",无效:"نامعتبر",个人中心:"پروفایل",登出:"خروج",搜索:"جستجو",仪表盘:"داشبرد",订阅:"اشتراک",我的订阅:"اشتراک من",购买订阅:"خرید اشتراک",财务:"امور مالی",我的订单:"درخواست های من",我的邀请:"دعوتنامه های من",用户:"کاربر",我的工单:"درخواست های من",流量明细:"جزئیات\\nعبورو مرور در\\nمحیط آموزشی",使用文档:"کار با مستندات",绑定Telegram获取更多服务:"برای خدمات بیشتر تلگرام را ببندید",点击这里进行绑定:"برای اتصال اینجا را کلیک کنید",公告:"هشدارها",总览:"بررسی کلی",该订阅长期有效:"این اشتراک برای مدت طولانی معتبر است",已过期:"منقضی شده","已用 {used} / 总计 {total}":"استفاده شده {used} / مجموع {total}",查看订阅:"مشاهده عضویت ها",邮箱:"ایمیل",邮箱验证码:"کد تایید ایمیل شما",发送:"ارسال",重置密码:"بازنشانی رمز عبور",返回登入:"بازگشت به صفحه ورود",邀请码:"کد دعوت شما",复制链接:"کپی‌کردن لینک",完成时间:"زمان پایان",佣金:"کمیسیون",已注册用户数:"تعداد کاربران ثبت نام شده",佣金比例:"نرخ کمیسیون",确认中的佣金:"کمیسیون تایید شده","佣金将会在确认后会到达你的佣金账户。":"کمیسیون پس از تایید به حساب کمیسیون شما واریز خواهد شد",邀请码管理:"مدیریت کد دعوت",生成邀请码:"یک کد دعوت ایجاد کنید",佣金发放记录:"سابقه پرداخت کمیسیون",复制成功:"آدرس URL با موفقیت کپی شد",密码:"رمز عبور",登入:"ورود",注册:"ثبت‌نام",忘记密码:"رمز عبور فراموش شده","# 订单号":"# شماره سفارش",周期:"چرخه",订单金额:"مقدار سفارش",订单状态:"وضعیت سفارش",创建时间:"ساختن",操作:"عملیات",查看详情:"مشاهده جزئیات",请选择支付方式:"لطفا نوع پرداخت را انتخاب کنید",请检查信用卡支付信息:"لطفا اطلاعات پرداخت کارت اعتباری خود را بررسی کنید",订单详情:"اطلاعات سفارش",折扣:"ذخیره",折抵:"折抵",退款:"بازگشت هزینه",支付方式:"روش پرداخت",填写信用卡支付信息:"لطفا اطلاعات پرداخت کارت اعتباری خود را بررسی کنید","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"اطلاعات کارت اعتباری شما فقط برای بدهی فعلی استفاده می شود، سیستم آن را ذخیره نمی کند، که ما فکر می کنیم امن ترین است.",订单总额:"مجموع سفارش",总计:"مجموع",结账:"پرداخت",等待支付中:"در انتظار پرداخت","订单系统正在进行处理,请稍等1-3分钟。":"سیستم سفارش در حال پردازش است، لطفا 1-3 دقیقه صبر کنید.","订单由于超时支付已被取消。":"سفارش به دلیل پرداخت اضافه کاری لغو شده است","订单已支付并开通。":"سفارش پرداخت و باز شد.",选择订阅:"انتخاب اشتراک",立即订阅:"همین حالا مشترک شوید",配置订阅:"پیکربندی اشتراک",付款周期:"چرخه پرداخت","有优惠券?":"یک کوپن دارید؟",验证:"تأیید",下单:"ایجاد سفارش","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"لطفاً توجه داشته باشید، تغییر یک اشتراک باعث می‌شود که اشتراک فعلی توسط اشتراک جدید بازنویسی شود.",该订阅无法续费:"این اشتراک قابل تمدید نیست",选择其他订阅:"اشتراک دیگری را انتخاب کنید",我的钱包:"کیف پول من","账户余额(仅消费)":"موجودی حساب (فقط خرج کردن)","推广佣金(可提现)":"کمیسیون ارتقاء (قابل برداشت)",钱包组成部分:"اجزای کیف پول",划转:"منتقل کردن",推广佣金提现:"انصراف کمیسیون ارتقاء",修改密码:"تغییر کلمه عبور",保存:"ذخیره کردن",旧密码:"گذرواژه قدیمی",新密码:"رمز عبور جدید",请输入旧密码:", رمز عبور مورد نیاز است",请输入新密码:"گذاشتن گذرواژه",通知:"اعلانات",到期邮件提醒:"یادآوری ایمیل انقضا",流量邮件提醒:"یادآوری ایمیل ترافیک",绑定Telegram:"تلگرام را ببندید",立即开始:"امروز شروع کنید",重置订阅信息:"بازنشانی اطلاعات اشتراک",重置:"تغییر","确定要重置订阅信息?":"آیا مطمئن هستید که می خواهید اطلاعات اشتراک خود را بازنشانی کنید؟","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"اگر آدرس یا اطلاعات اشتراک شما لو رفته باشد، این کار را می توان انجام داد. پس از تنظیم مجدد، Uuid و اشتراک شما تغییر خواهد کرد و باید دوباره مشترک شوید.",重置成功:"بازنشانی با موفقیت انجام شد",两次新密码输入不同:"رمز جدید را دو بار وارد کنید",两次密码输入不同:"رمز جدید را دو بار وارد کنید","邀请码(选填)":"کد دعوت (اختیاری)",'我已阅读并同意 <a target="_blank" href="{url}">服务条款</a>':"من <a target='_blank' href='{url}'>شرایط خدمات</a> را خوانده‌ام و با آن موافقم",请同意服务条款:"لطفاً با شرایط خدمات موافقت کنید",名称:"نام ویژگی محصول",标签:"برچسب‌ها",状态:"وضعیت",节点五分钟内节点在线情况:"وضعیت آنلاین گره را در عرض پنج دقیقه ثبت کنید",倍率:"بزرگنمایی",使用的流量将乘以倍率进行扣除:"جریان استفاده شده در ضریب برای کسر ضرب خواهد شد",更多操作:"اکشن های بیشتر","没有可用节点,如果您未订阅或已过期请":"هیچ گره ای در دسترس نیست، اگر مشترک نیستید یا منقضی شده اید، لطفاً","确定重置当前已用流量?":"آیا مطمئن هستید که می خواهید داده های استفاده شده فعلی را بازنشانی کنید؟","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"برای رفتن به صندوقدار روی 'OK' کلیک کنید. پس از پرداخت سفارش، سیستم اطلاعاتی را که برای ماه استفاده کرده اید پاک می کند.",确定:"تأیید",低:"پایین",中:"متوسط",高:"بالا",主题:"موضوع",工单级别:"سطح بلیط",工单状态:"وضعیت درخواست",最后回复:"آخرین پاسخ",已关闭:"پایان‌یافته",待回复:"در انتظار پاسخ",已回复:"پاسخ داده",查看:"بازدیدها",关闭:"بستن",新的工单:"سفارش کار جدید",确认:"تاييدات",请输入工单主题:"لطفا موضوع بلیط را وارد کنید",工单等级:"سطح سفارش کار",请选择工单等级:"لطفا سطح بلیط را انتخاب کنید",消息:"پیام ها",请描述你遇到的问题:"لطفا مشکلی که با آن مواجه شدید را شرح دهید",记录时间:"زمان ضبط",实际上行:"نقطه ضعف واقعی",实际下行:"نقطه ضعف واقعی",合计:"تعداد ارزش‌ها","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"فرمول: (خط واقعی + پایین دست واقعی) x نرخ کسر = ترافیک کسر شده",复制订阅地址:"آدرس اشتراک را کپی کنید",导入到:"واردات در:",一键订阅:"اشتراک با یک کلیک",复制订阅:"اشتراک را کپی کنید",推广佣金划转至余额:"کمیسیون ارتقاء به موجودی منتقل می شود","划转后的余额仅用于{title}消费使用":"موجودی منتقل شده فقط برای مصرف {title} استفاده می شود",当前推广佣金余额:"موجودی کمیسیون ترفیع فعلی",划转金额:"مقدار انتقال",请输入需要划转到余额的金额:"لطفا مبلغی را که باید به موجودی منتقل شود وارد کنید","输入内容回复工单...":"برای پاسخ به تیکت محتوا را وارد کنید...",申请提现:"برای انصراف اقدام کنید",取消:"انصراف",提现方式:"روش برداشت",请选择提现方式:"لطفاً یک روش برداشت را انتخاب کنید",提现账号:"حساب برداشت",请输入提现账号:"لطفا حساب برداشت را وارد کنید",我知道了:"می فهمم",第一步:"گام ۱",第二步:"گام ۲",打开Telegram搜索:"جستجوی تلگرام را باز کنید",向机器人发送你的:"ربات های خود را بفرستید","最后更新: {date}":"آخرین به روز رسانی: {date}",还有没支付的订单:"هنوز سفارشات پرداخت نشده وجود دارد",立即支付:"اکنون پرداخت کنید",条工单正在处理中:"بلیط در حال پردازش است",立即查看:"آن را در عمل ببینید",节点状态:"وضعیت گره",商品信息:"مشتریان ثبت نام شده",产品名称:"عنوان کالا","类型/周期":"نوع/چرخه",产品流量:"جریان محصول",订单信息:"اطلاعات سفارش",关闭订单:"سفارش بستن",订单号:"شماره سفارش",优惠金额:"قیمت با تخفیف",旧订阅折抵金额:"مبلغ تخفیف اشتراک قدیمی",退款金额:"کل مبلغ مسترد شده",余额支付:"پرداخت مانده",工单历史:"تاریخچه بلیط","已用流量将在 {reset_day} 日后重置":"داده‌های استفاده شده ظرف {reset_day} روز بازنشانی می‌شوند",已用流量已在今日重置:"امروز بازنشانی داده استفاده شده است",重置已用流量:"بازنشانی داده های استفاده شده",查看节点状态:"مشاهده وضعیت گره","当前已使用流量达{rate}%":"ترافیک استفاده شده در حال حاضر در {rate}%",节点名称:"نام گره","于 {date} 到期,距离到期还有 {day} 天。":"در {date} منقضی می‌شود که {day} روز دیگر است.","Telegram 讨论组":"گروه گفتگوی تلگرام",立即加入:"حالا پیوستن","该订阅无法续费,仅允许新用户购买":"این اشتراک قابل تمدید نیست، فقط کاربران جدید مجاز به خرید آن هستند",重置当月流量:"بازنشانی ترافیک ماه جاری","流量明细仅保留近月数据以供查询。":"جزئیات ترافیک فقط داده های ماه های اخیر را برای پرس و جو حفظ می کند.",扣费倍率:"نرخ کسر",支付手续费:"پرداخت هزینه های پردازش",续费订阅:"تمدید اشتراک",学习如何使用:"نحوه استفاده را یاد بگیرید",快速将节点导入对应客户端进行使用:"به سرعت گره ها را برای استفاده به مشتری مربوطه وارد کنید",对您当前的订阅进行续费:"با اشتراک فعلی خود خرید کنید",对您当前的订阅进行购买:"با اشتراک فعلی خود خرید کنید",捷径:"میانبر","不会使用,查看使用教程":"استفاده نمی شود، به آموزش مراجعه کنید",使用支持扫码的客户端进行订阅:"برای اشتراک از کلاینتی استفاده کنید که از کد اسکن پشتیبانی می کند",扫描二维码订阅:"برای اشتراک، کد QR را اسکن کنید",续费:"تمدید",购买:"خرید",查看教程:"مشاهده آموزش",注意:"یادداشت!","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"هنوز سفارشات ناتمام دارید. قبل از خرید باید آن را لغو کنید. آیا مطمئن هستید که می‌خواهید سفارش قبلی را لغو کنید؟",确定取消:"تایید لغو",返回我的订单:"بازگشت به سفارش من","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"اگر قبلاً پرداخت کرده‌اید، لغو سفارش ممکن است باعث عدم موفقیت در پرداخت شود. آیا مطمئن هستید که می‌خواهید سفارش را لغو کنید؟",选择最适合你的计划:"طرحی را انتخاب کنید که مناسب شما باشد",全部:"تمام",按周期:"توسط چرخه",遇到问题:"ما یک مشکل داریم",遇到问题可以通过工单与我们沟通:"در صورت بروز مشکل می توانید از طریق تیکت با ما در ارتباط باشید",按流量:"با جریان",搜索文档:"جستجوی اسناد",技术支持:"دریافت پشتیبانی",当前剩余佣金:"کمیسیون فعلی باقی مانده",三级分销比例:"نسبت توزیع سه لایه",累计获得佣金:"کمیسیون انباشته شده","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"کاربرانی که برای دعوت مجدد از کاربران دعوت می کنید بر اساس نسبت مقدار سفارش ضرب در سطح توزیع تقسیم می شوند.",发放时间:"زمان پرداخت","{number} 人":"{number} نفر","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"در صورت انتشار آدرس یا حساب اشتراک شما و سوء استفاده از آن توسط دیگران، می‌توانید اطلاعات اشتراک خود را در اینجا بازنشانی کنید تا از زیان‌های غیرضروری جلوگیری شود.",再次输入密码:"ورود مجدد رمز عبور",返回登陆:"بازگشت به ورود",选填:"اختیاری",必填:"الزامی",最后回复时间:"زمان آخرین پاسخ",请选项工单等级:"لطفاً اولویت تیکت را انتخاب کنید",回复:"پاسخ",输入内容回复工单:"محتوا را برای پاسخ به تیکت وارد کنید",已生成:"تولید شده",选择协议:"انتخاب پروتکل",自动:"خودکار",流量重置包:"بسته بازنشانی داده",复制失败:"کپی ناموفق بود",提示:"اطلاع","确认退出?":"تأیید خروج?",已退出登录:"با موفقیت خارج شده",请输入邮箱地址:"آدرس ایمیل را وارد کنید","{second}秒后可重新发送":"{second} ثانیه دیگر می‌توانید مجدداً ارسال کنید",发送成功:"با موفقیت ارسال شد",请输入账号密码:"نام کاربری و رمز عبور را وارد کنید",请确保两次密码输入一致:"اطمینان حاصل کنید که ورودهای رمز عبور مطابقت دارند",注册成功:"ثبت نام با موفقیت انجام شد","重置密码成功,正在返回登录":"با موفقیت رمز عبور بازنشانی شد، در حال بازگشت به صفحه ورود",确认取消:"تایید لغو","请注意,变更订阅会导致当前订阅被覆盖。":"لطفاً توجه داشته باشید که تغییر اشتراک موجب ایجاد اشتراک فعلی می‌شود.","订单提交成功,正在跳转支付":"سفارش با موفقیت ثبت شد، به پرداخت هدایت می‌شود.",回复成功:"پاسخ با موفقیت ارسال شد",工单详情:"جزئیات تیکت",登录成功:"ورود موفقیت‌آمیز","确定退出?":"آیا مطمئن هستید که می‌خواهید خارج شوید؟",支付成功:"پرداخت موفق",正在前往收银台:"در حال رفتن به صندوق پرداخت",请输入正确的划转金额:"لطفا مبلغ انتقال صحیح را وارد کنید",划转成功:"انتقال موفق",提现方式不能为空:"روش برداشت نمی‌تواند خالی باشد",提现账号不能为空:"حساب برداشت نمی‌تواند خالی باشد",已绑定:"قبلاً متصل شده",创建成功:"ایجاد موفقیت‌آمیز",关闭成功:"خاموش کردن موفق"},Nk=Object.freeze(Object.defineProperty({__proto__:null,default:tNe},Symbol.toStringTag,{value:"Module"})),nNe={请求失败:"リクエストエラー",月付:"月間プラン",季付:"3か月プラン",半年付:"半年プラン",年付:"年間プラン",两年付:"2年プラン",三年付:"3年プラン",一次性:"一括払い",重置流量包:"使用済みデータをリセット",待支付:"お支払い待ち",开通中:"開通中",已取消:"キャンセル済み",已完成:"済み",已折抵:"控除済み",待确认:"承認待ち",发放中:"処理中",已发放:"処理済み",无效:"無効",个人中心:"会員メニュー",登出:"ログアウト",搜索:"検索",仪表盘:"ダッシュボード",订阅:"サブスクリプションプラン",我的订阅:"マイプラン",购买订阅:"プランの購入",财务:"ファイナンス",我的订单:"注文履歴",我的邀请:"招待リスト",用户:"ユーザー",我的工单:"お問い合わせ",流量明细:"データ通信明細",使用文档:"ナレッジベース",绑定Telegram获取更多服务:"Telegramと連携し各種便利な通知を受け取ろう",点击这里进行绑定:"こちらをクリックして連携開始",公告:"お知らせ",总览:"概要",该订阅长期有效:"時間制限なし",已过期:"期限切れ","已用 {used} / 总计 {total}":"使用済み {used} / 合計 {total}",查看订阅:"プランを表示",邮箱:"E-mail アドレス",邮箱验证码:"確認コード",发送:"送信",重置密码:"パスワードを変更",返回登入:"ログインページへ戻る",邀请码:"招待コード",复制链接:"URLをコピー",完成时间:"完了日時",佣金:"コミッション金額",已注册用户数:"登録済みユーザー数",佣金比例:"コミッションレート",确认中的佣金:"承認待ちのコミッション","佣金将会在确认后会到达你的佣金账户。":"コミッションは承認処理完了後にカウントされます",邀请码管理:"招待コードの管理",生成邀请码:"招待コードを生成",佣金发放记录:"コミッション履歴",复制成功:"クリップボードにコピーされました",密码:"パスワード",登入:"ログイン",注册:"新規登録",忘记密码:"パスワードをお忘れの方","# 订单号":"受注番号",周期:"サイクル",订单金额:"ご注文金額",订单状态:"ご注文状況",创建时间:"作成日時",操作:"アクション",查看详情:"詳細を表示",请选择支付方式:"支払い方法をお選びください",请检查信用卡支付信息:"クレジットカード決済情報をご確認ください",订单详情:"ご注文詳細",折扣:"割引",折抵:"控除",退款:"払い戻し",支付方式:"お支払い方法",填写信用卡支付信息:"クレジットカード決済情報をご入力ください。","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"お客様のカード情報は今回限りリクエストされ、記録に残ることはございません",订单总额:"ご注文の合計金額",总计:"合計金額",结账:"チェックアウト",等待支付中:"お支払い待ち","订单系统正在进行处理,请稍等1-3分钟。":"システム処理中です、しばらくお待ちください","订单由于超时支付已被取消。":"ご注文はキャンセルされました","订单已支付并开通。":"お支払いが完了しました、プランはご利用可能です",选择订阅:"プランをお選びください",立即订阅:"今すぐ購入",配置订阅:"プランの内訳",付款周期:"お支払いサイクル","有优惠券?":"キャンペーンコード",验证:"確定",下单:"チェックアウト","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"プランを変更なされます場合は、既存のプランが新規プランによって上書きされます、ご注意下さい",该订阅无法续费:"該当プランは継続利用できません",选择其他订阅:"その他のプランを選択",我的钱包:"マイウォレット","账户余额(仅消费)":"残高(サービスの購入のみ)","推广佣金(可提现)":"招待によるコミッション(出金可)",钱包组成部分:"ウォレットの内訳",划转:"お振替",推广佣金提现:"コミッションのお引き出し",修改密码:"パスワードの変更",保存:"変更を保存",旧密码:"現在のパスワード",新密码:"新しいパスワード",请输入旧密码:"現在のパスワードをご入力ください",请输入新密码:"新しいパスワードをご入力ください",通知:"お知らせ",到期邮件提醒:"期限切れ前にメールで通知",流量邮件提醒:"データ量不足時にメールで通知",绑定Telegram:"Telegramと連携",立即开始:"今すぐ連携開始",重置订阅信息:"サブスクリプションURLの変更",重置:"変更","确定要重置订阅信息?":"サブスクリプションURLをご変更なされますか?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"サブスクリプションのURL及び情報が外部に漏れた場合にご操作ください。操作後はUUIDやURLが変更され、再度サブスクリプションのインポートが必要になります。",重置成功:"変更完了",两次新密码输入不同:"ご入力されました新しいパスワードが一致しません",两次密码输入不同:"ご入力されましたパスワードが一致しません","邀请码(选填)":"招待コード (オプション)",'我已阅读并同意 <a target="_blank" href="{url}">服务条款</a>':"<a target='_blank' href='{url}'>ご利用規約</a>に同意します",请同意服务条款:"ご利用規約に同意してください",名称:"名称",标签:"ラベル",状态:"ステータス",节点五分钟内节点在线情况:"5分間のオンラインステータス",倍率:"適応レート",使用的流量将乘以倍率进行扣除:"通信量は該当レートに基き計算されます",更多操作:"アクション","没有可用节点,如果您未订阅或已过期请":"ご利用可能なサーバーがありません,プランの期限切れまたは購入なされていない場合は","确定重置当前已用流量?":"利用済みデータ量をリセットしますか?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"「確定」をクリックし次のページへ移動,お支払い後に当月分のデータ通信量は即時リセットされます",确定:"確定",低:"低",中:"中",高:"高",主题:"タイトル",工单级别:"プライオリティ",工单状态:"進捗状況",最后回复:"最終回答日時",已关闭:"終了",待回复:"対応待ち",已回复:"回答済み",查看:"閲覧",关闭:"終了",新的工单:"新規お問い合わせ",确认:"確定",请输入工单主题:"お問い合わせタイトルをご入力ください",工单等级:"ご希望のプライオリティ",请选择工单等级:"ご希望のプライオリティをお選びください",消息:"メッセージ",请描述你遇到的问题:"お問い合わせ内容をご入力ください",记录时间:"記録日時",实际上行:"アップロード",实际下行:"ダウンロード",合计:"合計","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"計算式:(アップロード + ダウンロード) x 適応レート = 使用済みデータ通信量",复制订阅地址:"サブスクリプションのURLをコピー",导入到:"インポート先:",一键订阅:"ワンクリックインポート",复制订阅:"サブスクリプションのURLをコピー",推广佣金划转至余额:"コミッションを残高へ振替","划转后的余额仅用于{title}消费使用":"振替済みの残高は{title}でのみご利用可能です",当前推广佣金余额:"現在のコミッション金額",划转金额:"振替金額",请输入需要划转到余额的金额:"振替金額をご入力ください","输入内容回复工单...":"お問い合わせ内容をご入力ください...",申请提现:"出金申請",取消:"キャンセル",提现方式:"お振込み先",请选择提现方式:"お振込み先をお選びください",提现账号:"お振り込み先口座",请输入提现账号:"お振込み先口座をご入力ください",我知道了:"了解",第一步:"ステップその1",第二步:"ステップその2",打开Telegram搜索:"Telegramを起動後に右記内容を入力し検索",向机器人发送你的:"テレグラムボットへ下記内容を送信","最后更新: {date}":"最終更新日: {date}",还有没支付的订单:"未払いのご注文があります",立即支付:"チェックアウト",条工单正在处理中:"件のお問い合わせ",立即查看:"閲覧",节点状态:"サーバーステータス",商品信息:"プラン詳細",产品名称:"プラン名","类型/周期":"サイクル",产品流量:"ご利用可能データ量",订单信息:"オーダー情報",关闭订单:"注文をキャンセル",订单号:"受注番号",优惠金额:"'割引額",旧订阅折抵金额:"既存プラン控除額",退款金额:"返金額",余额支付:"残高ご利用分",工单历史:"お問い合わせ履歴","已用流量将在 {reset_day} 日后重置":"利用済みデータ量は {reset_day} 日後にリセットします",已用流量已在今日重置:"利用済みデータ量は本日リセットされました",重置已用流量:"利用済みデータ量をリセット",查看节点状态:"接続先サーバのステータス","当前已使用流量达{rate}%":"データ使用量が{rate}%になりました",节点名称:"サーバー名","于 {date} 到期,距离到期还有 {day} 天。":"ご利用期限は {date} まで,期限まであと {day} 日","Telegram 讨论组":"Telegramグループ",立即加入:"今すぐ参加","该订阅无法续费,仅允许新用户购买":"該当プランは継続利用できません、新規ユーザーのみが購入可能です",重置当月流量:"使用済みデータ量のカウントリセット","流量明细仅保留近月数据以供查询。":"データ通信明細は当月分のみ表示されます",扣费倍率:"適応レート",支付手续费:"お支払い手数料",续费订阅:"購読更新",学习如何使用:"ご利用ガイド",快速将节点导入对应客户端进行使用:"最短ルートでサーバー情報をアプリにインポートして使用する",对您当前的订阅进行续费:"ご利用中のサブスクの継続料金を支払う",对您当前的订阅进行购买:"ご利用中のサブスクを再度購入する",捷径:"ショートカット","不会使用,查看使用教程":"ご利用方法がわからない方はナレッジベースをご閲覧ください",使用支持扫码的客户端进行订阅:"使用支持扫码的客户端进行订阅",扫描二维码订阅:"QRコードをスキャンしてサブスクを設定",续费:"更新",购买:"購入",查看教程:"チュートリアルを表示",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"まだ購入が完了していないオーダーがあります。購入前にそちらをキャンセルする必要がありますが、キャンセルしてよろしいですか?",确定取消:"キャンセル",返回我的订单:"注文履歴に戻る","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"もし既にお支払いが完了していると、注文をキャンセルすると支払いが失敗となる可能性があります。キャンセルしてもよろしいですか?",选择最适合你的计划:"あなたにピッタリのプランをお選びください",全部:"全て",按周期:"期間順",遇到问题:"何かお困りですか?",遇到问题可以通过工单与我们沟通:"何かお困りでしたら、お問い合わせからご連絡ください。",按流量:"データ通信量順",搜索文档:"ドキュメント内を検索",技术支持:"テクニカルサポート",当前剩余佣金:"コミッション残高",三级分销比例:"3ティア比率",累计获得佣金:"累計獲得コミッション金額","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"お客様に招待された方が更に別の方を招待された場合、お客様は支払われるオーダーからティア分配分の比率分を受け取ることができます。",发放时间:"手数料支払時間","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"購読アドレスまたはアカウントが漏れて他者に悪用された場合、不必要な損失を防ぐためにここで購読情報をリセットできます。",再次输入密码:"パスワードを再入力してください",返回登陆:"ログインに戻る",选填:"任意",必填:"必須",最后回复时间:"最終返信時刻",请选项工单等级:"チケットの優先度を選択してください",回复:"返信",输入内容回复工单:"チケットへの返信内容を入力",已生成:"生成済み",选择协议:"プロトコルの選択",自动:"自動",流量重置包:"データリセットパッケージ",复制失败:"コピーに失敗しました",提示:"通知","确认退出?":"ログアウトを確認?",已退出登录:"正常にログアウトしました",请输入邮箱地址:"メールアドレスを入力してください","{second}秒后可重新发送":"{second} 秒後に再送信可能",发送成功:"送信成功",请输入账号密码:"アカウントとパスワードを入力してください",请确保两次密码输入一致:"パスワードの入力が一致していることを確認してください",注册成功:"登録が成功しました","重置密码成功,正在返回登录":"パスワードのリセットが成功しました。ログインに戻っています",确认取消:"キャンセルの確認","请注意,变更订阅会导致当前订阅被覆盖。":"購読の変更は現在の購読を上書きします。","订单提交成功,正在跳转支付":"注文が成功裏に送信されました。支払いにリダイレクトしています。",回复成功:"返信が成功しました",工单详情:"チケットの詳細",登录成功:"ログイン成功","确定退出?":"本当に退出しますか?",支付成功:"支払い成功",正在前往收银台:"チェックアウトに進行中",请输入正确的划转金额:"正しい振替金額を入力してください",划转成功:"振替成功",提现方式不能为空:"出金方法は空にできません",提现账号不能为空:"出金口座を空にすることはできません",已绑定:"既にバインドされています",创建成功:"作成成功",关闭成功:"閉鎖成功"},Hk=Object.freeze(Object.defineProperty({__proto__:null,default:nNe},Symbol.toStringTag,{value:"Module"})),oNe={请求失败:"요청실패",月付:"월간",季付:"3개월간",半年付:"반년간",年付:"1년간",两年付:"2년마다",三年付:"3년마다",一次性:"한 번",重置流量包:"데이터 재설정 패키지",待支付:"지불 보류중",开通中:"보류 활성화",已取消:"취소 됨",已完成:"완료",已折抵:"변환",待确认:"보류중",发放中:"확인중",已发放:"완료",无效:"유효하지 않음",个人中心:"사용자 센터",登出:"로그아웃",搜索:"검색",仪表盘:"대시보드",订阅:"구독",我的订阅:"나의 구독",购买订阅:"구독 구매 내역",财务:"청구",我的订单:"나의 주문",我的邀请:"나의 초청",用户:"사용자 센터",我的工单:"나의 티켓",流量明细:"데이터 세부 정보 전송",使用文档:"사용 설명서",绑定Telegram获取更多服务:"텔레그램에 아직 연결되지 않았습니다",点击这里进行绑定:"텔레그램에 연결되도록 여기를 눌러주세요",公告:"발표",总览:"개요",该订阅长期有效:"구독은 무제한으로 유효합니다",已过期:"만료","已用 {used} / 总计 {total}":"{date}에 만료됩니다, 만료 {day}이 전, {reset_day}후 데이터 전송 재설정",查看订阅:"구독 보기",邮箱:"이메일",邮箱验证码:"이메일 확인 코드",发送:"보내기",重置密码:"비밀번호 재설정",返回登入:"로그인 다시하기",邀请码:"초청 코드",复制链接:"링크 복사",完成时间:"완료 시간",佣金:"수수료",已注册用户数:"등록 된 사용자들",佣金比例:"수수료율",确认中的佣金:"수수료 상태","佣金将会在确认后会到达你的佣金账户。":"수수료는 검토 후 수수료 계정에서 확인할 수 있습니다",邀请码管理:"초청 코드 관리",生成邀请码:"초청 코드 생성하기",佣金发放记录:"수수료 지불 기록",复制成功:"복사 성공",密码:"비밀번호",登入:"로그인",注册:"등록하기",忘记密码:"비밀번호를 잊으셨나요","# 订单号":"주문 번호 #",周期:"유형/기간",订单金额:"주문량",订单状态:"주문 상태",创建时间:"생성 시간",操作:"설정",查看详情:"세부사항 보기",请选择支付方式:"지불 방식을 선택 해주세요",请检查信用卡支付信息:"신용카드 지불 정보를 확인 해주세요",订单详情:"주문 세부사항",折扣:"할인",折抵:"변환",退款:"환불",支付方式:"지불 방식",填写信用卡支付信息:"신용카드 지불 정보를 적으세요","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"현재 거래를 확인하는 데 사용하는 귀하의 신용 카드 정보, 신용 카드 번호 및 기타 세부 정보를 수집하지 않습니다.",订单总额:"전체주문",总计:"전체",结账:"결제하기",等待支付中:"결제 대기 중","订单系统正在进行处理,请稍等1-3分钟。":"주문 시스템이 처리 중입니다. 1-3분 정도 기다려 주십시오.","订单由于超时支付已被取消。":"결제 시간 초과로 인해 주문이 취소되었습니다.","订单已支付并开通。":"주문이 결제되고 개통되었습니다.",选择订阅:"구독 선택하기",立即订阅:"지금 구독하기",配置订阅:"구독 환경 설정하기",付款周期:"지불 기간","有优惠券?":"쿠폰을 가지고 있나요?",验证:"확인",下单:"주문","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"주의하십시오. 구독을 변경하면 현재 구독을 덮어씁니다",该订阅无法续费:"이 구독은 갱신할 수 없습니다.",选择其他订阅:"다른 구독 선택",我的钱包:"나의 지갑","账户余额(仅消费)":"계정 잔액(결제 전용)","推广佣金(可提现)":"초청수수료(인출하는 데 사용할 수 있습니다)",钱包组成部分:"지갑 세부사항",划转:"이체하기",推广佣金提现:"초청 수수료 인출",修改密码:"비밀번호 변경",保存:"저장하기",旧密码:"이전 비밀번호",新密码:"새로운 비밀번호",请输入旧密码:"이전 비밀번호를 입력해주세요",请输入新密码:"새로운 비밀번호를 입력해주세요",通知:"공고",到期邮件提醒:"구독 만료 이메일 알림",流量邮件提醒:"불충분한 데이터 이메일 전송 알림",绑定Telegram:"탤레그램으로 연결",立即开始:"지금 시작하기",重置订阅信息:"구독 재설정하기",重置:"재설정","确定要重置订阅信息?":"구독을 재설정하시겠습니까?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"계정 정보나 구독이 누출된 경우 이 옵션은 UUID를 재설정하는 데 사용되며 재설정 후에 구독이 변경되므로 다시 구독해야 합니다.",重置成功:"재설정 성공",两次新密码输入不同:"입력한 두 개의 새 비밀번호가 일치하지 않습니다.",两次密码输入不同:"입력한 비밀번호가 일치하지 않습니다.","邀请码(选填)":"초청 코드(선택 사항)",'我已阅读并同意 <a target="_blank" href="{url}">服务条款</a>':"을 읽었으며 이에 동의합니다 <a target='_blank' href='{url}'>서비스 약관</a>",请同意服务条款:"서비스 약관에 동의해주세요",名称:"이름",标签:"태그",状态:"설정",节点五分钟内节点在线情况:"지난 5분 동안의 액세스 포인트 온라인 상태",倍率:"요금",使用的流量将乘以倍率进行扣除:"사용된 전송 데이터에 전송 데이터 요금을 뺀 값을 곱합니다.",更多操作:"설정","没有可用节点,如果您未订阅或已过期请":"사용 가능한 액세스 포인트가 없습니다. 구독을 신청하지 않았거나 구독이 만료된 경우","确定重置当前已用流量?":"현재 사용 중인 데이터를 재설정 하시겠습니까?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":'확인"을 클릭하면 결제 페이지로 이동됩니다. 주문이 완료되면 시스템에서 해당 월의 사용 데이터를 삭제합니다.',确定:"확인",低:"낮음",中:"중간",高:"높음",主题:"주제",工单级别:"티켓 우선 순위",工单状态:"티켓 상태",最后回复:"생성 시간",已关闭:"마지막 답장",待回复:"설정",已回复:"닫힘",查看:"보기",关闭:"닫기",新的工单:"새로운 티켓",确认:"확인",请输入工单主题:"제목을 입력하세요",工单等级:"티켓 우선순위",请选择工单等级:"티켓 우선순위를 선택해주세요",消息:"메세지",请描述你遇到的问题:"문제를 설명하십시오 발생한",记录时间:"기록 시간",实际上行:"실제 업로드",实际下行:"실제 다운로드",合计:"전체","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"공식: (실제 업로드 + 실제 다운로드) x 공제율 = 전송 데이터 공제",复制订阅地址:"구독 URL 복사",导入到:"내보내기",一键订阅:"빠른 구독",复制订阅:"구독 URL 복사",推广佣金划转至余额:"초청 수수료를 계좌 잔액으로 이체","划转后的余额仅用于{title}消费使用":"이체된 잔액은 {title} 소비에만 사용됩니다.",当前推广佣金余额:"현재 홍보 수수료 잔액",请输入需要划转到余额的金额:"잔액으로 이체할 금액을 입력하세요.",取消:"취소",提现方式:"인출 방법",请选择提现方式:"인출 방법을 선택해주세요",提现账号:"인출 계좌",请输入提现账号:"인출 계좌를 입력해주세요",我知道了:"알겠습니다.",第一步:"첫번째 단계",第二步:"두번째 단계",打开Telegram搜索:"텔레그램 열기 및 탐색",向机器人发送你的:"봇에 다음 명령을 보냅니다","最后更新: {date}":"마지막 업데이트{date}",还有没支付的订单:"미결제 주문이 있습니다",立即支付:"즉시 지불",条工单正在处理中:"티켓이 처리 중입니다",立即查看:"제목을 입력하세요",节点状态:"노드 상태",商品信息:"제품 정보",产品名称:"제품 명칭","类型/周期":"종류/기간",产品流量:"제품 데이터 용량",订单信息:"주문 정보",关闭订单:"주문 취소",订单号:"주문 번호",优惠金额:"할인 가격",旧订阅折抵金额:"기존 패키지 공제 금액",退款金额:"환불 금액",余额支付:"잔액 지불",工单历史:"티켓 기록","已用流量将在 {reset_day} 日后重置":"{reset_day}일 후에 사용한 데이터가 재설정됩니다",已用流量已在今日重置:"오늘 이미 사용한 데이터가 재설정되었습니다",重置已用流量:"사용한 데이터 재설정",查看节点状态:"노드 상태 확인","当前已使用流量达{rate}%":"현재 사용한 데이터 비율이 {rate}%에 도달했습니다",节点名称:"환불 금액","于 {date} 到期,距离到期还有 {day} 天。":"{day}까지, 만료 {day}일 전.","Telegram 讨论组":"텔레그램으로 문의하세요",立即加入:"지금 가입하세요","该订阅无法续费,仅允许新用户购买":"이 구독은 갱신할 수 없습니다. 신규 사용자만 구매할 수 있습니다.",重置当月流量:"이번 달 트래픽 초기화","流量明细仅保留近月数据以供查询。":"귀하의 트래픽 세부 정보는 최근 몇 달 동안만 유지됩니다",扣费倍率:"수수료 공제율",支付手续费:"수수료 지불",续费订阅:"구독 갱신",学习如何使用:"사용 방법 배우기",快速将节点导入对应客户端进行使用:"빠르게 노드를 해당 클라이언트로 가져와 사용하기",对您当前的订阅进行续费:"현재 구독 갱신",对您当前的订阅进行购买:"현재 구독 구매",捷径:"단축키","不会使用,查看使用教程":"사용 방법을 모르겠다면 사용 설명서 확인",使用支持扫码的客户端进行订阅:"스캔 가능한 클라이언트로 구독하기",扫描二维码订阅:"QR 코드 스캔하여 구독",续费:"갱신",购买:"구매",查看教程:"사용 설명서 보기",注意:"주의","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"미완료된 주문이 있습니다. 구매 전에 취소해야 합니다. 이전 주문을 취소하시겠습니까?",确定取消:"취소 확인",返回我的订单:"내 주문으로 돌아가기","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"이미 결제를 했을 경우 주문 취소는 결제 실패로 이어질 수 있습니다. 주문을 취소하시겠습니까?",选择最适合你的计划:"가장 적합한 요금제 선택",全部:"전체",按周期:"주기별",遇到问题:"문제 발생",遇到问题可以通过工单与我们沟通:"문제가 발생하면 서포트 티켓을 통해 문의하세요",按流量:"트래픽별",搜索文档:"문서 검색",技术支持:"기술 지원",当前剩余佣金:"현재 잔여 수수료",三级分销比例:"삼수준 분배 비율",累计获得佣金:"누적 수수료 획득","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"초대한 사용자가 다시 초대하면 주문 금액에 분배 비율을 곱하여 분배됩니다.",发放时间:"수수료 지급 시간","{number} 人":"{number} 명","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"구독 주소 또는 계정이 유출되어 다른 사람에게 남용되는 경우 여기에서 구독 정보를 재설정하여 불필요한 손실을 방지할 수 있습니다.",再次输入密码:"비밀번호를 다시 입력하세요",返回登陆:"로그인으로 돌아가기",选填:"선택 사항",必填:"필수",最后回复时间:"최근 답장 시간",请选项工单等级:"티켓 우선 순위 선택",回复:"답장",输入内容回复工单:"티켓에 대한 내용 입력",已生成:"생성됨",选择协议:"프로토콜 선택",自动:"자동",流量重置包:"데이터 리셋 패키지",复制失败:"복사 실패",提示:"알림","确认退出?":"로그아웃 확인?",已退出登录:"로그아웃 완료",请输入邮箱地址:"이메일 주소를 입력하세요","{second}秒后可重新发送":"{second} 초 후에 다시 전송 가능",发送成功:"전송 성공",请输入账号密码:"계정과 비밀번호를 입력하세요",请确保两次密码输入一致:"비밀번호 입력이 일치하는지 확인하세요",注册成功:"등록 성공","重置密码成功,正在返回登录":"비밀번호 재설정 성공, 로그인 페이지로 돌아가는 중",确认取消:"취소 확인","请注意,变更订阅会导致当前订阅被覆盖。":"구독 변경은 현재 구독을 덮어씁니다.","订单提交成功,正在跳转支付":"주문이 성공적으로 제출되었습니다. 지불로 이동 중입니다.",回复成功:"답장 성공",工单详情:"티켓 상세 정보",登录成功:"로그인 성공","确定退出?":"확실히 종료하시겠습니까?",支付成功:"결제 성공",正在前往收银台:"결제 진행 중",请输入正确的划转金额:"정확한 이체 금액을 입력하세요",划转成功:"이체 성공",提现方式不能为空:"출금 방식은 비워 둘 수 없습니다",提现账号不能为空:"출금 계좌는 비워 둘 수 없습니다",已绑定:"이미 연결됨",创建成功:"생성 성공",关闭成功:"종료 성공"},jk=Object.freeze(Object.defineProperty({__proto__:null,default:oNe},Symbol.toStringTag,{value:"Module"})),rNe={请求失败:"Yêu Cầu Thất Bại",月付:"Tháng",季付:"Hàng Quý",半年付:"6 Tháng",年付:"Năm",两年付:"Hai Năm",三年付:"Ba Năm",一次性:"Dài Hạn",重置流量包:"Cập Nhật Dung Lượng",待支付:"Đợi Thanh Toán",开通中:"Đang xử lý",已取消:"Đã Hủy",已完成:"Thực Hiện",已折抵:"Quy Đổi",待确认:"Đợi Xác Nhận",发放中:"Đang Xác Nhận",已发放:"Hoàn Thành",无效:"Không Hợp Lệ",个人中心:"Trung Tâm Kiểm Soát",登出:"Đăng Xuất",搜索:"Tìm Kiếm",仪表盘:"Trang Chủ",订阅:"Gói Dịch Vụ",我的订阅:"Gói Dịch Vụ Của Tôi",购买订阅:"Mua Gói Dịch Vụ",财务:"Tài Chính",我的订单:"Đơn Hàng Của Tôi",我的邀请:"Lời Mời Của Tôi",用户:"Người Dùng",我的工单:"Liên Hệ Với Chúng Tôi",流量明细:"Chi Tiết Dung Lượng",使用文档:"Tài liệu sử dụng",绑定Telegram获取更多服务:"Liên kết Telegram thêm dịch vụ",点击这里进行绑定:"Ấn vào để liên kết",公告:"Thông Báo",总览:"Tổng Quat",该订阅长期有效:"Gói này có thời hạn dài",已过期:"Tài khoản hết hạn","已用 {used} / 总计 {total}":"Đã sử dụng {used} / Tổng dung lượng {total}",查看订阅:"Xem Dịch Vụ",邮箱:"E-mail",邮箱验证码:"Mã xác minh mail",发送:"Gửi",重置密码:"Đặt Lại Mật Khẩu",返回登入:"Về đăng nhập",邀请码:"Mã mời",复制链接:"Sao chép đường dẫn",完成时间:"Thời gian hoàn thành",佣金:"Tiền hoa hồng",已注册用户数:"Số người dùng đã đăng ký",佣金比例:"Tỷ lệ hoa hồng",确认中的佣金:"Hoa hồng đang xác nhận","佣金将会在确认后会到达你的佣金账户。":"Sau khi xác nhận tiền hoa hồng sẽ gửi đến tài khoản hoa hồng của bạn.",邀请码管理:"Quản lý mã mời",生成邀请码:"Tạo mã mời",佣金发放记录:"Hồ sơ hoa hồng",复制成功:"Sao chép thành công",密码:"Mật khẩu",登入:"Đăng nhập",注册:"Đăng ký",忘记密码:"Quên mật khẩu","# 订单号":"# Mã đơn hàng",周期:"Chu Kỳ",订单金额:"Tiền đơn hàng",订单状态:"Trạng thái đơn",创建时间:"Thời gian tạo",操作:"Thao tác",查看详情:"Xem chi tiết",请选择支付方式:"Chọn phương thức thanh toán",请检查信用卡支付信息:"Hãy kiểm tra thông tin thẻ thanh toán",订单详情:"Chi tiết đơn hàng",折扣:"Chiết khấu",折抵:"Giảm giá",退款:"Hoàn lại",支付方式:"Phương thức thanh toán",填写信用卡支付信息:"Điền thông tin Thẻ Tín Dụng","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"Thông tin thẻ tín dụng của bạn sẽ chỉ được sử dụng cho lần thanh toán này, hệ thống sẽ không lưu thông tin đó, chúng tôi nghĩ đây à cách an toàn nhất.",订单总额:"Tổng tiền đơn hàng",总计:"Tổng",结账:"Kết toán",等待支付中:"Đang chờ thanh toán","订单系统正在进行处理,请稍等1-3分钟。":"Hệ thống đang xử lý đơn hàng, vui lòng đợi 1-3p.","订单由于超时支付已被取消。":"Do quá giờ nên đã hủy đơn hàng.","订单已支付并开通。":"Đơn hàng đã thanh toán và mở.",选择订阅:"Chọn gói",立即订阅:"Mua gói ngay",配置订阅:"Thiết lập gói",付款周期:"Chu kỳ thanh toán","有优惠券?":"Có phiếu giảm giá?",验证:"Xác minh",下单:"Đặt hàng","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"Việc thay đổi gói dịch vụ sẽ thay thế gói hiện tại bằng gói mới, xin lưu ý.",该订阅无法续费:"Gói này không thể gia hạn",选择其他订阅:"Chọn gói dịch vụ khác",我的钱包:"Ví tiền của tôi","账户余额(仅消费)":"Số dư tài khoản (Chỉ tiêu dùng)","推广佣金(可提现)":"Tiền hoa hồng giới thiệu (Được rút)",钱包组成部分:"Thành phần ví tiền",划转:"Chuyển khoản",推广佣金提现:"Rút tiền hoa hồng giới thiệu",修改密码:"Đổi mật khẩu",保存:"Lưu",旧密码:"Mật khẩu cũ",新密码:"Mật khẩu mới",请输入旧密码:"Hãy nhập mật khẩu cũ",请输入新密码:"Hãy nhập mật khẩu mới",通知:"Thông Báo",到期邮件提醒:"Mail nhắc đến hạn",流量邮件提醒:"Mail nhắc dung lượng",绑定Telegram:"Liên kết Telegram",立即开始:"Bắt Đầu",重置订阅信息:"Reset thông tin gói",重置:"Reset","确定要重置订阅信息?":"Xác nhận reset thông tin gói?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"Nếu địa chỉ hoặc thông tin gói dịch vụ của bạn bị tiết lộ có thể tiến hành thao tác này. Sau khi reset UUID sẽ thay đổi.",重置成功:"Reset thành công",两次新密码输入不同:"Mật khẩu mới xác nhận không khớp",两次密码输入不同:"Mật khẩu xác nhận không khớp","邀请码(选填)":"Mã mời(Điền)",'我已阅读并同意 <a target="_blank" href="{url}">服务条款</a>':"Tôi đã đọc và đồng ý <a target='_blank' href='{url}'>điều khoản dịch vụ</a>",请同意服务条款:"Hãy đồng ý điều khoản dịch vụ",名称:"Tên",标签:"Nhãn",状态:"Trạng thái",节点五分钟内节点在线情况:"Node trạng thái online trong vòng 5 phút",倍率:"Bội số",使用的流量将乘以倍率进行扣除:"Dung lượng sử dụng nhân với bội số rồi khấu trừ",更多操作:"Thêm thao tác","没有可用节点,如果您未订阅或已过期请":"Chưa có node khả dụng, nếu bạn chưa mua gói hoặc đã hết hạn hãy","确定重置当前已用流量?":"确定重置当前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"Ấn 「OK」 sẽ chuyển đến trang thanh toán, sau khi thanh toán đơn hàng hệ thống sẽ xóa dung lượng đã dùng tháng này của bạn.",确定:"OK",低:"Thấp",中:"Vừa",高:"Cao",主题:"Chủ Đề",工单级别:"Cấp độ",工单状态:"Trạng thái",最后回复:"Trả lời gần đây",已关闭:"Đã đóng",待回复:"Chờ trả lời",已回复:"Đã trả lời",查看:"Xem",关闭:"Đóng",新的工单:"Việc mới",确认:"OK",请输入工单主题:"Hãy nhập chủ đề công việc",工单等级:"Cấp độ công việc",请选择工单等级:"Hãy chọn cấp độ công việc",消息:"Thông tin",请描述你遇到的问题:"Hãy mô tả vấn đề gặp phải",记录时间:"Thời gian ghi",实际上行:"Upload thực tế",实际下行:"Download thực tế",合计:"Cộng","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"Công thức: (upload thực tế + download thực tế) x bội số trừ phí = Dung lượng khấu trừ",复制订阅地址:"Sao chép liên kết",导入到:"Nhập vào",一键订阅:"Nhấp chuột để đồng bộ máy chủ",复制订阅:"Sao chép liên kết",推广佣金划转至余额:"Chuyển khoản hoa hồng giới thiệu đến số dư","划转后的余额仅用于{title}消费使用":"Số dư sau khi chuyển khoản chỉ dùng để tiêu dùng {title}",当前推广佣金余额:"Số dư hoa hồng giới thiệu hiện tại",划转金额:"Chuyển tiền",请输入需要划转到余额的金额:"Hãy nhậo số tiền muốn chuyển đến số dư","输入内容回复工单...":"Nhập nội dung trả lời công việc...",申请提现:"Yêu cầu rút tiền",取消:"Hủy",提现方式:"Phương thức rút tiền",请选择提现方式:"Hãy chọn phương thức rút tiền",提现账号:"Rút về tào khoản",请输入提现账号:"Hãy chọn tài khoản rút tiền",我知道了:"OK",第一步:"Bước 1",第二步:"Bước 2",打开Telegram搜索:"Mở Telegram tìm kiếm",向机器人发送你的:"Gửi cho bot","最后更新: {date}":"Cập nhật gần đây: {date}",还有没支付的订单:"Có đơn hàng chưa thanh toán",立即支付:"Thanh toán ngay",条工单正在处理中:" công việc đang xử lý",立即查看:"Xem Ngay",节点状态:"Trạng thái node",商品信息:"Thông tin",产品名称:"Tên sản phẩm","类型/周期":"Loại/Chu kỳ",产品流量:"Dung Lượng",订单信息:"Thông tin đơn hàng",关闭订单:"Đóng đơn hàng",订单号:"Mã đơn hàng",优惠金额:"Tiền ưu đãi",旧订阅折抵金额:"Tiền giảm giá gói cũ",退款金额:"Số tiền hoàn lại",余额支付:"Thanh toán số dư",工单历史:"Lịch sử đơn hàng","已用流量将在 {reset_day} 日后重置":"Dữ liệu đã sử dụng sẽ được đặt lại sau {reset_day} ngày",已用流量已在今日重置:"Dữ liệu đã sử dụng đã được đặt lại trong ngày hôm nay",重置已用流量:"Đặt lại dữ liệu đã sử dụng",查看节点状态:"Xem trạng thái nút","当前已使用流量达{rate}%":"Dữ liệu đã sử dụng hiện tại đạt {rate}%",节点名称:"Tên node","于 {date} 到期,距离到期还有 {day} 天。":"Hết hạn vào {date}, còn {day} ngày.","Telegram 讨论组":"Nhóm Telegram",立即加入:"Vào ngay","该订阅无法续费,仅允许新用户购买":"Đăng ký này không thể gia hạn, chỉ người dùng mới được phép mua",重置当月流量:"Đặt lại dung lượng tháng hiện tại","流量明细仅保留近月数据以供查询。":"Chi tiết dung lượng chỉ lưu dữ liệu của những tháng gần đây để truy vấn.",扣费倍率:"Tỷ lệ khấu trừ",支付手续费:"Phí thủ tục",续费订阅:"Gia hạn đăng ký",学习如何使用:"Hướng dẫn sử dụng",快速将节点导入对应客户端进行使用:"Bạn cần phải mua gói này",对您当前的订阅进行续费:"Gia hạn gói hiện tại",对您当前的订阅进行购买:"Mua gói bạn đã chọn",捷径:"Phím tắt","不会使用,查看使用教程":"Mua gói này nếu bạn đăng ký",使用支持扫码的客户端进行订阅:"Sử dụng ứng dụng quét mã để đăng ký",扫描二维码订阅:"Quét mã QR để đăng ký",续费:"Gia hạn",购买:"Mua",查看教程:"Xem hướng dẫn",注意:"Chú Ý","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"Bạn vẫn còn đơn đặt hàng chưa hoàn thành. Bạn cần hủy trước khi mua. Bạn có chắc chắn muốn hủy đơn đặt hàng trước đó không ?",确定取消:"Đúng/không",返回我的订单:"Quay lại đơn đặt hàng của tôi","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"Nếu bạn đã thanh toán, việc hủy đơn hàng có thể khiến việc thanh toán không thành công. Bạn có chắc chắn muốn hủy đơn hàng không ?",选择最适合你的计划:"Chọn kế hoạch phù hợp với bạn nhất",全部:"Tất cả",按周期:"Chu kỳ",遇到问题:"Chúng tôi có một vấn đề",遇到问题可以通过工单与我们沟通:"Nếu bạn gặp sự cố, bạn có thể liên lạc với chúng tôi thông qua ",按流量:"Theo lưu lượng",搜索文档:"Tìm kiếm tài liệu",技术支持:"Hỗ trợ kỹ thuật",当前剩余佣金:"Số dư hoa hồng hiện tại",三级分销比例:"Tỷ lệ phân phối cấp 3",累计获得佣金:"Tổng hoa hồng đã nhận","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"Người dùng bạn mời lại mời người dùng sẽ được chia theo tỷ lệ của số tiền đơn hàng nhân với cấp độ phân phối.",发放时间:"Thời gian thanh toán hoa hồng","{number} 人":"{number} người","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"Nếu địa chỉ đăng ký hoặc tài khoản của bạn bị rò rỉ và bị người khác lạm dụng, bạn có thể đặt lại thông tin đăng ký tại đây để tránh mất mát không cần thiết.",再次输入密码:"Nhập lại mật khẩu",返回登陆:"Quay lại Đăng nhập",选填:"Tùy chọn",必填:"Bắt buộc",最后回复时间:"Thời gian Trả lời Cuối cùng",请选项工单等级:"Vui lòng Chọn Mức độ Ưu tiên Công việc",回复:"Trả lời",输入内容回复工单:"Nhập Nội dung để Trả lời Công việc",已生成:"Đã tạo",选择协议:"Chọn Giao thức",自动:"Tự động",流量重置包:"Gói Reset Dữ liệu",复制失败:"Sao chép thất bại",提示:"Thông báo","确认退出?":"Xác nhận Đăng xuất?",已退出登录:"Đã đăng xuất thành công",请输入邮箱地址:"Nhập địa chỉ email","{second}秒后可重新发送":"Gửi lại sau {second} giây",发送成功:"Gửi thành công",请输入账号密码:"Nhập tên đăng nhập và mật khẩu",请确保两次密码输入一致:"Đảm bảo hai lần nhập mật khẩu giống nhau",注册成功:"Đăng ký thành công","重置密码成功,正在返回登录":"Đặt lại mật khẩu thành công, đang quay trở lại trang đăng nhập",确认取消:"Xác nhận Hủy","请注意,变更订阅会导致当前订阅被覆盖。":"Vui lòng lưu ý rằng thay đổi đăng ký sẽ ghi đè lên đăng ký hiện tại.","订单提交成功,正在跳转支付":"Đơn hàng đã được gửi thành công, đang chuyển hướng đến thanh toán.",回复成功:"Trả lời thành công",工单详情:"Chi tiết Ticket",登录成功:"Đăng nhập thành công","确定退出?":"Xác nhận thoát?",支付成功:"Thanh toán thành công",正在前往收银台:"Đang tiến hành thanh toán",请输入正确的划转金额:"Vui lòng nhập số tiền chuyển đúng",划转成功:"Chuyển khoản thành công",提现方式不能为空:"Phương thức rút tiền không được để trống",提现账号不能为空:"Tài khoản rút tiền không được để trống",已绑定:"Đã liên kết",创建成功:"Tạo thành công",关闭成功:"Đóng thành công"},Vk=Object.freeze(Object.defineProperty({__proto__:null,default:rNe},Symbol.toStringTag,{value:"Module"})),iNe={请求失败:"请求失败",月付:"月付",季付:"季付",半年付:"半年付",年付:"年付",两年付:"两年付",三年付:"三年付",一次性:"一次性",重置流量包:"重置流量包",待支付:"待支付",开通中:"开通中",已取消:"已取消",已完成:"已完成",已折抵:"已折抵",待确认:"待确认",发放中:"发放中",已发放:"已发放",无效:"无效",个人中心:"个人中心",登出:"登出",搜索:"搜索",仪表盘:"仪表盘",订阅:"订阅",我的订阅:"我的订阅",购买订阅:"购买订阅",财务:"财务",我的订单:"我的订单",我的邀请:"我的邀请",用户:"用户",我的工单:"我的工单",流量明细:"流量明细",使用文档:"使用文档",绑定Telegram获取更多服务:"绑定 Telegram 获取更多服务",点击这里进行绑定:"点击这里进行绑定",公告:"公告",总览:"总览",该订阅长期有效:"该订阅长期有效",已过期:"已过期","已用 {used} / 总计 {total}":"已用 {used} / 总计 {total}",查看订阅:"查看订阅",邮箱:"邮箱",邮箱验证码:"邮箱验证码",发送:"发送",重置密码:"重置密码",返回登入:"返回登入",邀请码:"邀请码",复制链接:"复制链接",完成时间:"完成时间",佣金:"佣金",已注册用户数:"已注册用户数",佣金比例:"佣金比例",确认中的佣金:"确认中的佣金","佣金将会在确认后会到达你的佣金账户。":"佣金将会在确认后到达您的佣金账户。",邀请码管理:"邀请码管理",生成邀请码:"生成邀请码",佣金发放记录:"佣金发放记录",复制成功:"复制成功",密码:"密码",登入:"登入",注册:"注册",忘记密码:"忘记密码","# 订单号":"# 订单号",周期:"周期",订单金额:"订单金额",订单状态:"订单状态",创建时间:"创建时间",操作:"操作",查看详情:"查看详情",请选择支付方式:"请选择支付方式",请检查信用卡支付信息:"请检查信用卡支付信息",订单详情:"订单详情",折扣:"折扣",折抵:"折抵",退款:"退款",支付方式:"支付方式",填写信用卡支付信息:"填写信用卡支付信息","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"您的信用卡信息只会用于当次扣款,系统并不会保存,我们认为这是最安全的。",订单总额:"订单总额",总计:"总计",结账:"结账",等待支付中:"等待支付中","订单系统正在进行处理,请稍等1-3分钟。":"订单系统正在进行处理,请等候 1-3 分钟。","订单由于超时支付已被取消。":"订单由于超时支付已被取消。","订单已支付并开通。":"订单已支付并开通。",选择订阅:"选择订阅",立即订阅:"立即订阅",配置订阅:"配置订阅",付款周期:"付款周期","有优惠券?":"有优惠券?",验证:"验证",下单:"下单","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"请注意,变更订阅会导致当前订阅被新订阅覆盖。",该订阅无法续费:"该订阅无法续费",选择其他订阅:"选择其它订阅",我的钱包:"我的钱包","账户余额(仅消费)":"账户余额(仅消费)","推广佣金(可提现)":"推广佣金(可提现)",钱包组成部分:"钱包组成部分",划转:"划转",推广佣金提现:"推广佣金提现",修改密码:"修改密码",保存:"保存",旧密码:"旧密码",新密码:"新密码",请输入旧密码:"请输入旧密码",请输入新密码:"请输入新密码",通知:"通知",到期邮件提醒:"到期邮件提醒",流量邮件提醒:"流量邮件提醒",绑定Telegram:"绑定 Telegram",立即开始:"立即开始",重置订阅信息:"重置订阅信息",重置:"重置","确定要重置订阅信息?":"确定要重置订阅信息?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"如果您的订阅地址或信息发生泄露可以执行此操作。重置后您的 UUID 及订阅将会变更,需要重新导入订阅。",重置成功:"重置成功",两次新密码输入不同:"两次新密码输入不同",两次密码输入不同:"两次密码输入不同","邀请码(选填)":"邀请码(选填)",'我已阅读并同意 <a target="_blank" href="{url}">服务条款</a>':'我已阅读并同意 <a target="_blank" href="{url}">服务条款</a>',请同意服务条款:"请同意服务条款",名称:"名称",标签:"标签",状态:"状态",节点五分钟内节点在线情况:"五分钟内节点在线情况",倍率:"倍率",使用的流量将乘以倍率进行扣除:"使用的流量将乘以倍率进行扣除",更多操作:"更多操作","没有可用节点,如果您未订阅或已过期请":"没有可用节点,如果您未订阅或已过期请","确定重置当前已用流量?":"确定重置当前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。",确定:"确定",低:"低",中:"中",高:"高",主题:"主题",工单级别:"工单级别",工单状态:"工单状态",最后回复:"最后回复",已关闭:"已关闭",待回复:"待回复",已回复:"已回复",查看:"查看",关闭:"关闭",新的工单:"新的工单",确认:"确认",请输入工单主题:"请输入工单主题",工单等级:"工单等级",请选择工单等级:"请选择工单等级",消息:"消息",请描述你遇到的问题:"请描述您遇到的问题",记录时间:"记录时间",实际上行:"实际上行",实际下行:"实际下行",合计:"合计","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量",复制订阅地址:"复制订阅地址",导入到:"导入到",一键订阅:"一键订阅",复制订阅:"复制订阅",推广佣金划转至余额:"推广佣金划转至余额","划转后的余额仅用于{title}消费使用":"划转后的余额仅用于{title}消费使用",当前推广佣金余额:"当前推广佣金余额",划转金额:"划转金额",请输入需要划转到余额的金额:"请输入需要划转到余额的金额","输入内容回复工单...":"输入内容回复工单...",申请提现:"申请提现",取消:"取消",提现方式:"提现方式",请选择提现方式:"请选择提现方式",提现账号:"提现账号",请输入提现账号:"请输入提现账号",我知道了:"我知道了",第一步:"第一步",第二步:"第二步",打开Telegram搜索:"打开 Telegram 搜索",向机器人发送你的:"向机器人发送您的",最后更新:"{date}",还有没支付的订单:"还有没支付的订单",立即支付:"立即支付",条工单正在处理中:"条工单正在处理中",立即查看:"立即查看",节点状态:"节点状态",商品信息:"商品信息",产品名称:"产品名称","类型/周期":"类型/周期",产品流量:"产品流量",订单信息:"订单信息",关闭订单:"关闭订单",订单号:"订单号",优惠金额:"优惠金额",旧订阅折抵金额:"旧订阅折抵金额",退款金额:"退款金额",余额支付:"余额支付",工单历史:"工单历史","已用流量将在 {reset_day} 日后重置":"已用流量将在 {reset_day} 日后重置",已用流量已在今日重置:"已用流量已在今日重置",重置已用流量:"重置已用流量",查看节点状态:"查看节点状态","当前已使用流量达{rate}%":"当前已使用流量达 {rate}%",节点名称:"节点名称","于 {date} 到期,距离到期还有 {day} 天。":"于 {date} 到期,距离到期还有 {day} 天。","Telegram 讨论组":"Telegram 讨论组",立即加入:"立即加入","该订阅无法续费,仅允许新用户购买":"该订阅无法续费,仅允许新用户购买",重置当月流量:"重置当月流量","流量明细仅保留近月数据以供查询。":"流量明细仅保留近一个月数据以供查询。",扣费倍率:"扣费倍率",支付手续费:"支付手续费",续费订阅:"续费订阅",学习如何使用:"学习如何使用",快速将节点导入对应客户端进行使用:"快速将节点导入对应客户端进行使用",对您当前的订阅进行续费:"对您当前的订阅进行续费",对您当前的订阅进行购买:"对您当前的订阅进行购买",捷径:"捷径","不会使用,查看使用教程":"不会使用,查看使用教程",使用支持扫码的客户端进行订阅:"使用支持扫码的客户端进行订阅",扫描二维码订阅:"扫描二维码订阅",续费:"续费",购买:"购买",查看教程:"查看教程",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"您还有未完成的订单,购买前需要先取消,确定要取消之前的订单吗?",确定取消:"确定取消",返回我的订单:"返回我的订单","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?",选择最适合你的计划:"选择最适合您的计划",全部:"全部",按周期:"按周期",遇到问题:"遇到问题",遇到问题可以通过工单与我们沟通:"遇到问题可以通过工单与我们沟通",按流量:"按流量",搜索文档:"搜索文档",技术支持:"技术支持",当前剩余佣金:"当前剩余佣金",三级分销比例:"三级分销比例",累计获得佣金:"累计获得佣金","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。",发放时间:"发放时间","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。",再次输入密码:"再次输入密码",返回登陆:"返回登录",选填:"选填",必填:"必填",最后回复时间:"最后回复时间",请选项工单等级:"请选择工单优先级",回复:"回复",输入内容回复工单:"输入内容回复工单",已生成:"已生成",选择协议:"选择协议",自动:"自动",流量重置包:"流量重置包",复制失败:"复制失败",提示:"提示","确认退出?":"确认退出?",已退出登录:"已成功退出登录",请输入邮箱地址:"请输入邮箱地址","{second}秒后可重新发送":"{second}秒后可重新发送",发送成功:"发送成功",请输入账号密码:"请输入账号密码",请确保两次密码输入一致:"请确保两次密码输入一致",注册成功:"注册成功","重置密码成功,正在返回登录":"重置密码成功,正在返回登录",确认取消:"确认取消","请注意,变更订阅会导致当前订阅被覆盖。":"请注意,变更订阅会导致当前订阅被覆盖。","订单提交成功,正在跳转支付":"订单提交成功,正在跳转支付",回复成功:"回复成功",工单详情:"工单详情",登录成功:"登录成功","确定退出?":"确定退出?",支付成功:"支付成功",正在前往收银台:"正在前往收银台",请输入正确的划转金额:"请输入正确的划转金额",划转成功:"划转成功",提现方式不能为空:"提现方式不能为空",提现账号不能为空:"提现账号不能为空",已绑定:"已绑定",创建成功:"创建成功",关闭成功:"关闭成功"},Wk=Object.freeze(Object.defineProperty({__proto__:null,default:iNe},Symbol.toStringTag,{value:"Module"})),aNe={请求失败:"請求失敗",月付:"月繳制",季付:"季繳",半年付:"半年缴",年付:"年繳",两年付:"兩年繳",三年付:"三年繳",一次性:"一次性",重置流量包:"重置流量包",待支付:"待支付",开通中:"開通中",已取消:"已取消",已完成:"已完成",已折抵:"已折抵",待确认:"待確認",发放中:"發放中",已发放:"已發放",无效:"無效",个人中心:"您的帳戸",登出:"登出",搜索:"搜尋",仪表盘:"儀表板",订阅:"訂閱",我的订阅:"我的訂閱",购买订阅:"購買訂閱",财务:"財務",我的订单:"我的訂單",我的邀请:"我的邀請",用户:"使用者",我的工单:"我的工單",流量明细:"流量明細",使用文档:"說明文件",绑定Telegram获取更多服务:"綁定 Telegram 獲取更多服務",点击这里进行绑定:"點擊這裡進行綁定",公告:"公告",总览:"總覽",该订阅长期有效:"該訂閱長期有效",已过期:"已過期","已用 {used} / 总计 {total}":"已用 {used} / 總計 {total}",查看订阅:"查看訂閱",邮箱:"郵箱",邮箱验证码:"郵箱驗證碼",发送:"傳送",重置密码:"重設密碼",返回登入:"返回登錄",邀请码:"邀請碼",复制链接:"複製鏈接",完成时间:"完成時間",佣金:"佣金",已注册用户数:"已註冊用戶數",佣金比例:"佣金比例",确认中的佣金:"確認中的佣金","佣金将会在确认后会到达你的佣金账户。":"佣金將會在確認後到達您的佣金帳戶。",邀请码管理:"邀請碼管理",生成邀请码:"生成邀請碼",佣金发放记录:"佣金發放記錄",复制成功:"複製成功",密码:"密碼",登入:"登入",注册:"註冊",忘记密码:"忘記密碼","# 订单号":"# 訂單號",周期:"週期",订单金额:"訂單金額",订单状态:"訂單狀態",创建时间:"創建時間",操作:"操作",查看详情:"查看詳情",请选择支付方式:"請選擇支付方式",请检查信用卡支付信息:"請檢查信用卡支付資訊",订单详情:"訂單詳情",折扣:"折扣",折抵:"折抵",退款:"退款",支付方式:"支付方式",填写信用卡支付信息:"填寫信用卡支付資訊","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"您的信用卡資訊只會被用作當次扣款,系統並不會保存,我們認為這是最安全的。",订单总额:"訂單總額",总计:"總計",结账:"結賬",等待支付中:"等待支付中","订单系统正在进行处理,请稍等1-3分钟。":"訂單系統正在進行處理,請稍等 1-3 分鐘。","订单由于超时支付已被取消。":"訂單由於支付超時已被取消","订单已支付并开通。":"訂單已支付並開通",选择订阅:"選擇訂閱",立即订阅:"立即訂閱",配置订阅:"配置訂閱",付款周期:"付款週期","有优惠券?":"有優惠券?",验证:"驗證",下单:"下單","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"請注意,變更訂閱會導致當前訂閱被新訂閱覆蓋。",该订阅无法续费:"該訂閱無法續費",选择其他订阅:"選擇其它訂閱",我的钱包:"我的錢包","账户余额(仅消费)":"賬戶餘額(僅消費)","推广佣金(可提现)":"推廣佣金(可提現)",钱包组成部分:"錢包組成部分",划转:"劃轉",推广佣金提现:"推廣佣金提現",修改密码:"修改密碼",保存:"儲存",旧密码:"舊密碼",新密码:"新密碼",请输入旧密码:"請輸入舊密碼",请输入新密码:"請輸入新密碼",通知:"通知",到期邮件提醒:"到期郵件提醒",流量邮件提醒:"流量郵件提醒",绑定Telegram:"綁定 Telegram",立即开始:"立即開始",重置订阅信息:"重置訂閲資訊",重置:"重置","确定要重置订阅信息?":"確定要重置訂閱資訊?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"如果您的訂閱位址或資訊發生洩露可以執行此操作。重置後您的 UUID 及訂閱將會變更,需要重新導入訂閱。",重置成功:"重置成功",两次新密码输入不同:"兩次新密碼輸入不同",两次密码输入不同:"兩次密碼輸入不同","邀请码(选填)":"邀請碼(選填)",'我已阅读并同意 <a target="_blank" href="{url}">服务条款</a>':'我已閱讀並同意 <a target="_blank" href="{url}">服務條款</a>',请同意服务条款:"請同意服務條款",名称:"名稱",标签:"標籤",状态:"狀態",节点五分钟内节点在线情况:"五分鐘內節點線上情況",倍率:"倍率",使用的流量将乘以倍率进行扣除:"使用的流量將乘以倍率進行扣除",更多操作:"更多操作","没有可用节点,如果您未订阅或已过期请":"沒有可用節點,如果您未訂閱或已過期請","确定重置当前已用流量?":"確定重置當前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"點擊「確定」將會跳轉到收銀台,支付訂單後系統將會清空您當月已使用流量。",确定:"確定",低:"低",中:"中",高:"高",主题:"主題",工单级别:"工單級別",工单状态:"工單狀態",最后回复:"最新回復",已关闭:"已關閉",待回复:"待回復",已回复:"已回復",查看:"檢視",关闭:"關閉",新的工单:"新的工單",确认:"確認",请输入工单主题:"請輸入工單主題",工单等级:"工單等級",请选择工单等级:"請選擇工單等級",消息:"訊息",请描述你遇到的问题:"請描述您遇到的問題",记录时间:"記錄時間",实际上行:"實際上行",实际下行:"實際下行",合计:"合計","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"公式:(實際上行 + 實際下行) x 扣費倍率 = 扣除流量",复制订阅地址:"複製訂閲位址",导入到:"导入到",一键订阅:"一鍵訂閲",复制订阅:"複製訂閲",推广佣金划转至余额:"推廣佣金劃轉至餘額","划转后的余额仅用于{title}消费使用":"劃轉后的餘額僅用於 {title} 消費使用",当前推广佣金余额:"當前推廣佣金餘額",划转金额:"劃轉金額",请输入需要划转到余额的金额:"請輸入需要劃轉到餘額的金額","输入内容回复工单...":"輸入内容回復工單…",申请提现:"申請提現",取消:"取消",提现方式:"提現方式",请选择提现方式:"請選擇提現方式",提现账号:"提現賬號",请输入提现账号:"請輸入提現賬號",我知道了:"我知道了",第一步:"步驟一",第二步:"步驟二",打开Telegram搜索:"打開 Telegram 並搜索",向机器人发送你的:"向機器人發送您的","最后更新: {date}":"最後更新: {date}",还有没支付的订单:"還有未支付的訂單",立即支付:"立即支付",条工单正在处理中:"條工單正在處理中",立即查看:"立即檢視",节点状态:"節點狀態",商品信息:"商品資訊",产品名称:"產品名稱","类型/周期":"類型/週期",产品流量:"產品流量",订单信息:"訂單信息",关闭订单:"關閉訂單",订单号:"訂單號",优惠金额:"優惠金額",旧订阅折抵金额:"舊訂閲折抵金額",退款金额:"退款金額",余额支付:"餘額支付",工单历史:"工單歷史","已用流量将在 {reset_day} 日后重置":"已用流量將在 {reset_day} 日后重置",已用流量已在今日重置:"已用流量已在今日重置",重置已用流量:"重置已用流量",查看节点状态:"查看節點狀態","当前已使用流量达{rate}%":"當前已用流量達 {rate}%",节点名称:"節點名稱","于 {date} 到期,距离到期还有 {day} 天。":"於 {date} 到期,距離到期還有 {day} 天。","Telegram 讨论组":"Telegram 討論組",立即加入:"立即加入","该订阅无法续费,仅允许新用户购买":"該訂閲無法續費,僅允許新用戶購買",重置当月流量:"重置當月流量","流量明细仅保留近月数据以供查询。":"流量明細僅保留近一個月資料以供查詢。",扣费倍率:"扣费倍率",支付手续费:"支付手續費",续费订阅:"續費訂閲",学习如何使用:"學習如何使用",快速将节点导入对应客户端进行使用:"快速將訂閲導入對應的客戶端進行使用",对您当前的订阅进行续费:"對您的當前訂閲進行續費",对您当前的订阅进行购买:"重新購買您的當前訂閲",捷径:"捷徑","不会使用,查看使用教程":"不會使用,檢視使用檔案",使用支持扫码的客户端进行订阅:"使用支持掃碼的客戶端進行訂閲",扫描二维码订阅:"掃描二維碼訂閲",续费:"續費",购买:"購買",查看教程:"查看教程",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"您还有未完成的订单,购买前需要先取消,确定要取消之前的订单吗?",确定取消:"確定取消",返回我的订单:"返回我的訂單","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"如果您已經付款,取消訂單可能會導致支付失敗,確定要取消訂單嗎?",选择最适合你的计划:"選擇最適合您的計劃",全部:"全部",按周期:"按週期",遇到问题:"遇到問題",遇到问题可以通过工单与我们沟通:"遇到問題您可以通過工單與我們溝通",按流量:"按流量",搜索文档:"搜尋文檔",技术支持:"技術支援",当前剩余佣金:"当前剩余佣金",三级分销比例:"三级分销比例",累计获得佣金:"累计获得佣金","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。",发放时间:"发放时间","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"如果您的訂閱地址或帳戶洩漏並被他人濫用,您可以在此重置訂閱資訊,以避免不必要的損失。",再次输入密码:"請再次輸入密碼",返回登陆:"返回登入",选填:"選填",必填:"必填",最后回复时间:"最後回覆時間",请选项工单等级:"請選擇工單優先級",回复:"回覆",输入内容回复工单:"輸入內容回覆工單",已生成:"已生成",选择协议:"選擇協議",自动:"自動",流量重置包:"流量重置包",复制失败:"複製失敗",提示:"提示","确认退出?":"確認退出?",已退出登录:"已成功登出",请输入邮箱地址:"請輸入電子郵件地址","{second}秒后可重新发送":"{second} 秒後可重新發送",发送成功:"發送成功",请输入账号密码:"請輸入帳號和密碼",请确保两次密码输入一致:"請確保兩次密碼輸入一致",注册成功:"註冊成功","重置密码成功,正在返回登录":"重置密碼成功,正在返回登入",确认取消:"確認取消","请注意,变更订阅会导致当前订阅被覆盖。":"請注意,變更訂閱會導致目前的訂閱被覆蓋。","订单提交成功,正在跳转支付":"訂單提交成功,正在跳轉支付",回复成功:"回覆成功",工单详情:"工單詳情",登录成功:"登入成功","确定退出?":"確定退出?",支付成功:"支付成功",正在前往收银台:"正在前往收銀台",请输入正确的划转金额:"請輸入正確的劃轉金額",划转成功:"劃轉成功",提现方式不能为空:"提現方式不能為空",提现账号不能为空:"提現帳號不能為空",已绑定:"已綁定",创建成功:"創建成功",关闭成功:"關閉成功"},Uk=Object.freeze(Object.defineProperty({__proto__:null,default:aNe},Symbol.toStringTag,{value:"Module"}))});export default sNe();