diff --git a/bin/Razord-meta-gh-pages/CNAME b/bin/Razord-meta-gh-pages/CNAME deleted file mode 100644 index adcb8342..00000000 --- a/bin/Razord-meta-gh-pages/CNAME +++ /dev/null @@ -1 +0,0 @@ -clash.metacubex.one \ No newline at end of file diff --git a/bin/Razord-meta-gh-pages/assets/Icon.3ddc065b.png b/bin/Razord-meta-gh-pages/assets/Icon.3ddc065b.png deleted file mode 100644 index cbb3fcbf..00000000 Binary files a/bin/Razord-meta-gh-pages/assets/Icon.3ddc065b.png and /dev/null differ diff --git a/bin/Razord-meta-gh-pages/assets/Icon.48ce63a7.ico b/bin/Razord-meta-gh-pages/assets/Icon.48ce63a7.ico deleted file mode 100644 index 0cc77ed8..00000000 Binary files a/bin/Razord-meta-gh-pages/assets/Icon.48ce63a7.ico and /dev/null differ diff --git a/bin/Razord-meta-gh-pages/assets/index.465a467c.css b/bin/Razord-meta-gh-pages/assets/index.465a467c.css deleted file mode 100644 index 7597ea78..00000000 --- a/bin/Razord-meta-gh-pages/assets/index.465a467c.css +++ /dev/null @@ -1 +0,0 @@ -.header{margin:10px 0;width:100%;display:flex;flex-direction:row;align-items:center;justify-content:space-between;user-select:none}.header>h1{flex-shrink:0;font-size:24px;color:#fff;font-weight:500;text-shadow:0 2px 6px rgba(97,156,194,.4);line-height:32px}.switch{display:inline-block;width:32px;height:16px;border-radius:8px;background-color:#d8dee2;transition:background-color .3s ease;position:relative;cursor:pointer}.switch.checked{background-color:#3b5f76}.switch.checked:after{transform:translate(16px)}.switch.disabled{cursor:not-allowed;background-color:#b7c5d6}.switch.disabled:after{background-color:#e4eaef;box-shadow:0 0 8px #90939980}.switch.checked.disabled{background-color:#e4eaef}.switch:after{content:"";position:absolute;top:-1px;height:18px;width:18px;border-radius:9px;background-color:#fff;box-shadow:0 0 8px #619cc266;transition:transform .3s ease;transform:translate(-2px)}.switch-icon{position:absolute;transform:translate(-1px) scale(.4);color:#fff!important;line-height:16px}.card{padding:15px;box-shadow:2px 5px 20px -3px #619cc22e;background-color:#2b3f4c;border-radius:4px}.button-select{display:flex;flex-direction:row}.button-select .button-select-options{height:30px;padding:0 15px;color:#15222a;font-size:12px;line-height:30px;background:#fff;border:1px solid #e4eaef;border-right:none;transition:all .3s ease;cursor:pointer;outline:0;display:block}.button-select .button-select-options:first-child{border-radius:3px 0 0 3px}.button-select .button-select-options:last-child{border-radius:0 3px 3px 0;border-right:1px solid #e4eaef}.button-select .button-select-options.actived{background:#3b5f76;color:#fff;border-color:#3b5f76;box-shadow:0 2px 5px #15222a80}.button-select .button-select-options.actived:active{box-shadow:none}.tags{display:flex;flex:1;align-items:center;list-style:none;flex-wrap:wrap;box-sizing:content-box}.tags li{position:relative;display:flex;align-items:center;justify-content:center;border:1px solid #15222a;color:#b7c5d6;min-width:90px;height:22px;border-radius:2.2px;padding:0 6px;margin:3px 4px;font-size:10px;background-color:#619cc233}.tags li.error{color:#fff;background-color:#f56c6c;border-color:#f56c6c}.tags li.tags-selected.error{background:linear-gradient(135deg,#619cc2,#f56c6c);border:none;height:24px;padding:0 7px}.tags .tags-selected{background-color:#15222a;color:#a2adb5}.input{display:inline-block;height:30px;width:100%;padding:0 10px;font-size:14px;color:#15222a;border-radius:3px;border:1px solid #e4eaef;transition:all .3s;transition-property:border-color,color,box-shadow}.input:focus{outline:0;border-color:#3b5f76;color:#619cc2;box-shadow:0 2px 5px #3b5f7680}.select{cursor:pointer;font-size:14px;line-height:30px;color:#b7c5d6;display:flex;overflow:hidden}.select>i{margin-left:5px;color:#b7c5d6}.select-list{position:absolute;max-width:170px;border-radius:4px;pointer-events:none;transition:all .2s ease}.select-list .list{opacity:0;max-height:300px;overflow:auto;background:#fff;padding:5px 0;transition:all .2s ease}.select-list .list>.option{color:#b7c5d6;padding:10px 15px;font-size:14px;list-style:none;cursor:pointer}.select-list .list>.option:hover{background:rgba(228,234,239,.5)}.select-list .list>.selected{background:rgba(228,234,239,.5)}.select-list-show{pointer-events:visible;transform:scaleY(1);box-shadow:0 2px 5px #b7c5d680}.select-list-show .list{opacity:1;transform:scaleY(1)}.modal-mask{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.15);opacity:0;pointer-events:none;transition:all .5s ease;display:flex;justify-content:center;align-items:center;z-index:9999}.modal-mask .modal{margin-top:-50px;padding:20px 30px;background:#fff;box-shadow:0 2px 16px #b7c5d633;border-radius:4px;display:flex;flex-direction:column;transform:scale(0);transition:all .3s cubic-bezier(.32,.26,.71,1.29)}.modal-mask .modal .modal-title{margin:5px 0;width:100%;display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:18px;color:#619cc2;text-shadow:0 2px 6px rgba(97,156,194,.4)}.modal-mask .modal .modal-body{margin:10px 0;font-size:14px;color:#b7c5d6}.modal-mask .modal .footer{width:100%;margin:5px 0;display:flex;align-items:center;justify-content:flex-end}.modal-mask .modal .footer .button{margin-left:10px}.modal-mask .modal-small{width:400px}.modal-mask .modal-big{width:600px}.modal-show{opacity:1;pointer-events:visible}.modal-show .modal{transform:scale(1)}@media (max-width: 768px){.modal-mask .modal{margin-top:0;padding:18px 20px}.modal-mask .modal-small{width:280px}.modal-mask .modal-big{width:480px}}.alert{padding:15px;background:#fff;border-radius:4px;box-shadow:0 2px 8px #619cc24d;font-size:13px;line-height:1.6;text-align:justify;display:flex}.alert .alert-icon{margin-right:10px;width:20px;height:20px;border-radius:50%;flex-shrink:0;display:flex;justify-content:center;align-items:center;background:#fff}.alert .alert-icon>i{transform:scale(.5);font-weight:700}.alert .alert-message{width:100%;color:#fff}.alert-box-success{background:linear-gradient(135deg,#5dae34,#67c23a);box-shadow:0 2px 8px #5dae344d}.alert-box-success .alert-icon>i{color:#67c23a}.alert-box-info{background:linear-gradient(135deg,#335165,#3b5f76);box-shadow:0 2px 8px #3351654d}.alert-box-info .alert-icon>i{color:#3b5f76}.alert-box-warning{background:linear-gradient(135deg,#e39725,#e6a23c);box-shadow:0 2px 8px #e397254d}.alert-box-warning .alert-icon>i{color:#e6a23c}.alert-box-error{background:linear-gradient(135deg,#f35454,#f56c6c);box-shadow:0 2px 8px #f354544d}.alert-box-error .alert-icon>i{color:#f56c6c}.alert-note-success{background:rgba(103,194,58,.05);border-radius:1px 4px 4px 1px;border-left:2px solid #67c23a;box-shadow:0 2px 8px #5dae344d}.alert-note-success .alert-icon{background:#67c23a}.alert-note-success .alert-icon>i{color:#fff}.alert-note-success .alert-message{color:#3d7323}.alert-note-info{background:rgba(59,95,118,.05);border-radius:1px 4px 4px 1px;border-left:2px solid #3b5f76;box-shadow:0 2px 8px #3351654d}.alert-note-info .alert-icon{background:#3b5f76}.alert-note-info .alert-icon>i{color:#fff}.alert-note-info .alert-message{color:#192832}.alert-note-warning{background:rgba(230,162,60,.05);border-radius:1px 4px 4px 1px;border-left:2px solid #e6a23c;box-shadow:0 2px 8px #e397254d}.alert-note-warning .alert-icon{background:#e6a23c}.alert-note-warning .alert-icon>i{color:#fff}.alert-note-warning .alert-message{color:#a76d15}.alert-note-error{background:rgba(245,108,108,.05);border-radius:1px 4px 4px 1px;border-left:2px solid #f56c6c;box-shadow:0 2px 8px #f354544d}.alert-note-error .alert-icon{background:#f56c6c}.alert-note-error .alert-icon>i{color:#fff}.alert-note-error .alert-message{color:#eb1010}.button{outline:0;padding:0 15px;height:32px;line-height:32px;border-radius:16px;font-size:14px;cursor:pointer;transition:all .15s ease}.button:focus{outline:none}.button-primary{color:#fff;border:none;background:linear-gradient(135deg,#3b5f76,#619cc2);box-shadow:0 2px 8px #619cc280}.button-primary:hover{border:none}.button-primary:active{box-shadow:0 0 2px #619cc280}.button-normal{color:#909399;background:#fff;border:1px solid rgba(0,0,0,.1)}.button-normal:hover{border-color:#b7c5d6;color:#b7c5d6}.button-normal:active{background:#fafafa;color:#b7c5d6}.button-danger{color:#fff;border:none;background:linear-gradient(135deg,#f56c6c,#f23c3c);box-shadow:0 2px 8px #f23c3c80}.button-danger:hover{border:none}.button-danger:active{box-shadow:0 0 2px #f23c3c80}.button-success{color:#fff;border:none;background:linear-gradient(135deg,#67c23a,#5dae34);box-shadow:0 2px 8px #5dae3480}.button-success:hover{border:none}.button-success:active{box-shadow:0 0 2px #5dae3480}.button-warning{color:#fff;border:none;background:linear-gradient(135deg,#e6a23c,#e39725);box-shadow:0 2px 8px #e3972580}.button-warning:hover{border:none}.button-warning:active{box-shadow:0 0 2px #e3972580}.button.button-disabled{color:#b7c5d6;background:linear-gradient(135deg,#f3f6f9,#e2e9f1);box-shadow:0 2px 8px #e2e9f180;cursor:not-allowed}.button.button-disabled:active{box-shadow:0 0 2px #e2e9f180}.message{position:fixed;top:20px;right:20px;border-radius:4px;opacity:0;background:#fff;display:flex;box-shadow:0 0 20px #619cc233;transition:all .2s ease;transform:translate(100%)}.message .message-icon{width:36px;flex:1;border-radius:4px 0 0 4px;display:flex;justify-content:center;align-items:center}.message .message-icon>i{color:#fff}.message .message-content{padding:10px 15px;font-size:13px;color:#b7c5d6}.message-info .message-icon{background:linear-gradient(135deg,#3b5f76,#619cc2)}.message-success .message-icon{background:linear-gradient(135deg,#67c23a,#5dae34)}.message-warning .message-icon{background:linear-gradient(135deg,#e6a23c,#e39725)}.message-error .message-icon{background:linear-gradient(135deg,#f56c6c,#f23c3c)}.message-show{opacity:1;transition:all .2s ease;transform:translate(0)}.checkbox{display:flex;position:relative;padding-left:26px;cursor:pointer;line-height:18px}.checkbox:before{content:"";display:inline-block;position:absolute;left:0;top:50%;width:18px;height:18px;border-radius:3px;transition:background-color .3s ease;transform:translateY(-9px);background-color:#fff;border:1px solid #e4eaef}.checkbox.checked:before{background-color:#3b5f76}.checkbox-icon{position:absolute;left:0;top:50%;line-height:18px;transform:translateY(-9px) scale(.6);text-shadow:none;font-weight:700}.checkbox-icon.checkbox-icon{color:#fff}.tag{display:flex;align-items:center;justify-content:center;height:24px;font-size:12px;padding:0 12px;text-align:center;background-color:#15222a;border:2px solid #15222a;color:#a2adb5;border-radius:1px}.spinner{position:relative;width:80px;height:80px;border-radius:100%;animation:spinner 5s infinite linear}.spinner-circle{position:absolute;width:100%;height:100%;transform-origin:48% 48%}.spinner-inner{width:100%;height:100%;border-radius:100%;border:5px solid rgba(97,156,194,.7);border-right:none;border-top:none;background-clip:padding-box;box-shadow:inset 0 0 10px #619cc226}@keyframes spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.spinner-circle:nth-of-type(0){transform:rotate(0)}.spinner-circle:nth-of-type(0) .spinner-inner{animation:spinner 2s infinite linear}.spinner-circle:nth-of-type(1){transform:rotate(70deg)}.spinner-circle:nth-of-type(1) .spinner-inner{animation:spinner 2s infinite linear}.spinner-circle:nth-of-type(2){transform:rotate(140deg)}.spinner-circle:nth-of-type(2) .spinner-inner{animation:spinner 2s infinite linear}.loading{position:absolute;display:flex;align-items:center;justify-content:center;top:0;left:0;bottom:0;right:0;background-color:#ffffffe6;box-shadow:inset 0 0 80px #0000001a;z-index:1000}.connections-devices-item{margin-right:20px;font-size:14px;color:#909399;border-radius:3px;cursor:pointer;transition:color .3s ease}.connections-devices-item.selected{color:#619cc2}.connections-card{display:flex;flex:1;margin-top:10px;padding:0;overflow:hidden}.connections-card .connections-th{display:inline-block;position:relative;text-align:center;color:#b7c5d6;background:rgba(97,156,194,.2);height:30px;line-height:30px;font-weight:500;font-size:12px;cursor:pointer;user-select:none;-webkit-user-select:none}.connections-card .connections-th.resizing .connections-resizer{opacity:1;cursor:col-resize}.connections-card .connections-th.fixed{position:sticky!important;left:-.1px;z-index:99}.connections-card .connections-th.fixed.shadow{box-shadow:inset -9px 0 8px -14px #000}.connections-card .connections-resizer{position:absolute;opacity:0;right:-10px;top:8px;bottom:8px;width:20px;transition:opacity .3s ease;z-index:10;font-size:14px;font-weight:300;touch-action:none;cursor:col-resize}.connections-card .connections-resizer:before{content:"";display:block;position:absolute;left:10px;transform:translate(-1px);width:2px;height:100%;background-color:#90939999}.connections-card .connections-header{position:sticky;top:0;z-index:999;white-space:nowrap}.connections-card .connections-header:hover .connections-resizer{opacity:1}.connections-card .connections-block{display:inline-block;font-size:12px;line-height:36px;padding:0 10px;color:#b7c5d6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.connections-card .connections-block.completed{background-color:#e9eef4;color:#b7c5d680}.connections-card .connections-block.fixed{position:sticky;left:0;z-index:998;background-color:#619cc200}.connections-card .connections-block.fixed.shadow{box-shadow:inset -9px 0 8px -14px #000}.connections-filter{color:#619cc2;font-size:14px;line-height:20px;margin-left:15px;text-shadow:0 0 6px rgba(97,156,194,.4);cursor:pointer}.connections-filter.dangerous{color:#f56c6c;text-shadow:0 0 6px rgba(59,95,118,.2)}.external-controller .alert{margin:10px 0}@media (max-width: 768px){.external-controller .alert{display:none}}.logs-panel{display:flex;flex-direction:column;flex-grow:1;flex-basis:0;list-style:none;padding:10px;border-radius:2px;background-color:#2b3f4c;font-size:11px;color:#b7c5d6a6;overflow-y:auto;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}.proxy-item{position:relative;width:100%;height:110px;padding:10px;border-radius:4px;background:#15222a;user-select:none;cursor:default;transition:all .3s ease}.proxy-item .proxy-type{padding:2px 5px;font-size:10px;color:#fff;border-radius:2px}.proxy-item .proxy-name{display:-webkit-box;margin-top:10px;color:#b7c5d6;font-size:10px;overflow:hidden;word-break:break-word;-webkit-line-clamp:2;-webkit-box-orient:vertical}.proxy-item .proxy-delay{position:absolute;left:10px;bottom:13px;font-size:10px;color:#b7c5d6cc}.proxy-item .proxy-editor{position:absolute;right:10px;bottom:10px;cursor:pointer;color:#b7c5d6cc;opacity:0;pointer-events:none;transition:all .3s ease}.proxy-item:hover{box-shadow:0 14px 20px -4px #b7c5d666}.proxy-item:hover .proxy-editor{opacity:1;pointer-events:visible}.proxy-error{opacity:.5}.proxy-error .proxy-type{background-color:#909399}@media (max-width: 768px){.proxy-item{height:70px}.proxy-item .proxy-delay{left:unset;bottom:unset;top:0;right:20px;height:70px;line-height:70px}}.proxy-group{display:flex;align-items:flex-start;font-size:14px;color:#b7c5d6}@media (max-width: 768px){.proxy-group{flex-direction:column}}.proxy-provider{position:relative;display:flex;flex-direction:column;font-size:16px;padding:20px;color:#b7c5d6}.proxy-provider-item:hover{box-shadow:0 0 24px #54759a66}.proxies-list{--item-width: calc(100% / (var(--columns) + 1));--gap: calc(var(--item-width) / var(--columns));display:flex;margin-right:calc(-1 * var(--gap));margin-top:20px;flex-wrap:wrap;align-content:flex-start;list-style:none}@media (min-width: 2001px){.proxies-list{--columns: 12}}@media (max-width: 2000px){.proxies-list{--columns: 10}}@media (max-width: 1600px){.proxies-list{--columns: 8}}@media (max-width: 1340px){.proxies-list{--columns: 7}}@media (max-width: 960px){.proxies-list{--columns: 6}}@media (max-width: 860px){.proxies-list{--columns: 5}}@media (max-width: 760px){.proxies-list{--columns: 3}}.proxies-list>li{display:inline-block;width:var(--item-width);margin-right:var(--gap);flex-shrink:0;margin-bottom:10px}.proxies-speed-test{line-height:32px;margin:0 2px 0 6px;color:#619cc2;text-shadow:0 2px 6px rgba(97,156,194,.4);cursor:pointer}@media (max-width: 768px){.proxies-list{margin-right:0;padding-bottom:20px;flex-wrap:unset;flex-direction:column}.proxies-list>li{width:100%;margin-right:0;margin-bottom:10px}}.rule-provider{position:relative;display:flex;flex-direction:column;font-size:16px;padding:20px;color:#b7c5d6}.rule-provider-header{display:flex;align-items:center;justify-content:space-between}.rule-provider-header-part{display:flex;align-items:center}.rule-provider-name{width:120px;margin-right:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rule-provider-behavior{width:80px;margin:0 20px 0 12px;background-color:#619cc2;color:#fff}.rule-provider-spinner{transform:scale(.4)}.rule-provider-proxies{list-style:none}.rule-provider-item{box-shadow:0 0 24px #2c8af833}.rule-provider-item:hover{box-shadow:0 0 24px #54759a66}.rule-provider-update{line-height:14px;font-size:14px}.rule-provider-icon{display:block;margin-left:20px;cursor:pointer}.rule-provider-icon.rule-provider-loading:before{color:#909399;cursor:not-allowed;animation:spinner 2s infinite linear}@media (max-width: 768px){.rule-provider-header{flex-direction:column;align-items:flex-start}.rule-provider-header-part{margin:6px 0}}.rule-item{line-height:30px;padding:5px 0;height:50px;overflow:hidden;list-style:none;user-select:none;border-bottom:1px solid rgba(228,234,239,.5)}.rule-item .drag-handler{cursor:row-resize;margin:0 10px;display:flex;justify-content:center}.rule-item .drag-handler>i{font-weight:700;color:#b7c5d6}.rule-item .rule-type{font-size:12px;color:#b7c5d6}.rule-item .rule-type>i{margin-left:5px;color:#b7c5d6}.rule-item .payload{font-size:12px;color:#b7c5d6;cursor:pointer}.rule-item .rule-proxy{font-size:12px;color:#b7c5d6}.rule-item .delete-btn{opacity:0;transition:all .3s ease}.rule-item .delete-btn span{font-size:12px;color:#f56c6c;cursor:pointer}.rule-item:last-child{border-bottom:none}.rule-item:hover .delete-btn{opacity:1}.settings-card{margin-top:10px;padding:.75rem 0}.settings-card .label{font-size:14px;color:#b7c5d6}.settings-card .external-controller{font-size:14px;color:#b7c5d6;display:flex;justify-content:flex-end;font-weight:400;line-height:17px}.settings-card .external-controller.modify-btn{color:#b7c5d6;cursor:pointer}.clash-version{position:relative;margin-top:10px;padding:20px 45px;display:flex}.clash-version .check-icon{width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,#3b5f76,#619cc2);display:flex;justify-content:center;align-items:center}.clash-version .check-icon>i{transform:scale(.5);color:#fff;font-weight:700}.clash-version .version-info{margin-left:10px;font-size:14px;line-height:24px;color:#b7c5d6}.clash-version .check-update-btn{position:absolute;right:45px;font-size:14px;line-height:24px;color:#b7c5d6;cursor:pointer;transition:all .15s ease}.clash-version .check-update-btn:hover{color:#b7c5d6}.sidebar{position:fixed;top:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;flex-shrink:0;width:160px;user-select:none}.sidebar-logo{margin-top:50px;width:60px;height:60px}.sidebar-menu{display:flex;flex-direction:column;flex:1;margin-top:12px}.sidebar-menu .item{display:block;margin-top:18px}.sidebar-menu .item>a{display:block;width:120px;height:36px;line-height:36px;font-size:14px;text-align:center}.sidebar-menu .item>a,.sidebar-menu .item a:active,.sidebar-menu .item a:visited{color:#909399;text-decoration:none}.sidebar-menu .item>a.active{background:linear-gradient(90deg,#3b5f76,#619cc2);color:#fff}.sidebar-version{display:flex;flex-direction:column;align-items:center;padding-bottom:20px}.sidebar-version-label{font-size:14px;color:#619cc2;text-shadow:0 2px 6px rgba(97,156,194,.4)}.sidebar-version-text{text-align:center;font-size:14px;margin:8px 0;padding:0 10px;color:#b7c5d6}@media (max-width: 768px){.sidebar{width:100%;height:60px;flex-direction:row;background:#15222a;z-index:10}.sidebar-logo{margin:0 15px;width:36px;height:36px}.sidebar-menu{flex:1;flex-direction:row;justify-content:center;margin-top:0;overflow-x:scroll;padding:10px}.sidebar-menu::-webkit-scrollbar{display:none}.sidebar-menu .item{margin:0 3px}.sidebar-menu .item>a{width:60px;height:32px;line-height:32px}.sidebar-menu .item.no-mobile,.sidebar-version{display:none}}html{box-sizing:border-box;background:#15222a;overflow:hidden}*,*:before,*:after{margin:0;padding:0;border-color:#15222a!important}body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol}body ::-webkit-scrollbar{z-index:11;background:transparent}body ::-webkit-scrollbar-thumb{border-radius:5px;background:#3b5f76}body ::-webkit-scrollbar:vertical{width:6px}body ::-webkit-scrollbar:horizontal{height:6px}.app{min-height:100vh;padding-left:150px}.app.not-clashx{background:#15222a}.page-container{width:100%;height:100vh;padding-left:10px;overflow-y:scroll}.page{padding:20px 35px 30px 20px;width:100%;min-height:100vh;margin:0 auto;display:flex;flex-direction:column}.container{margin:20px 0}input{-webkit-appearance:none}@media (max-width: 768px){.app{padding-left:0;padding-top:60px}.page-container{width:100%;padding:0 10px;height:calc(100vh - 60px);-webkit-overflow-scrolling:touch}.page-container::-webkit-scrollbar{display:none}.page{padding:0 0 20px;height:100%;min-height:unset}}@font-face{font-family:clash-iconfont;src:url(//at.alicdn.com/t/font_841708_ok9czskbhel.ttf?t=1576162884356) format("truetype")}.clash-iconfont{font-family:clash-iconfont!important;font-size:14px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#619cc2}.icon-update:before{content:"\e66f"}.icon-healthcheck:before{content:"\e63c"}.icon-speed:before{content:"\e61b"}.icon-close:before{content:"\e602"}.icon-drag:before{content:"\e604"}.icon-down-arrow-o:before{content:"\e605"}.icon-check:before{content:"\e606"}.icon-plus:before{content:"\e607"}.icon-triangle-up:before{content:"\e608"}.icon-triangle-down:before{content:"\e609"}.icon-up-arrow-o:before{content:"\e60a"}.icon-info:before{content:"\e60b"}.icon-info-o:before{content:"\e60c"}.icon-setting:before{content:"\e60d"}.icon-show:before{content:"\e60e"}.icon-hide:before{content:"\e60f"}.icon-sort:before{content:"\e8b3"}.icon-sort-descending:before{content:"\e8b4"}.icon-sort-ascending:before{content:"\e8b5"}.icon-close-all:before{content:"\e71b"}*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}*{--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgba(59, 130, 246, .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}::moz-focus-inner{border-style:none;padding:0}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}body{margin:0;font-family:inherit;line-height:inherit}button,input{font-family:inherit;font-size:100%;line-height:1.15;margin:0;padding:0;line-height:inherit;color:inherit}button{text-transform:none;background-color:transparent;background-image:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button,[role=button]{cursor:pointer}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1{font-size:inherit;font-weight:inherit}img{border-style:solid;display:block;vertical-align:middle;max-width:100%;height:auto}input::placeholder{opacity:1;color:#9ca3af}input::webkit-input-placeholder{opacity:1;color:#9ca3af}input::-moz-placeholder{opacity:1;color:#9ca3af}input:-ms-input-placeholder{opacity:1;color:#9ca3af}input::-ms-input-placeholder{opacity:1;color:#9ca3af}p,h1{margin:0}table{text-indent:0;border-color:inherit;border-collapse:collapse}ul{list-style:none;margin:0;padding:0}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-300>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgba(209,213,219,var(--tw-divide-opacity))}.bg-\[\#15222a\]{--tw-bg-opacity: 1;background-color:rgba(21,34,42,var(--tw-bg-opacity))}.rounded{border-radius:.25rem}.cursor-pointer{cursor:pointer}.cursor-default{cursor:default}.inline-block{display:inline-block}.flex{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.table{display:table}.hidden{display:none}.flex-col{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.flex-wrap{-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.items-start{-webkit-box-align:start;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.items-center{-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}.justify-end{-webkit-box-pack:end;-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.justify-between{-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.flex-auto{-webkit-box-flex:1;-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto}.flex-1{-webkit-box-flex:1;-ms-flex:1 1 0%;-webkit-flex:1 1 0%;flex:1 1 0%}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-bold{font-weight:700}.h-full{height:100%}.h-7{height:1.75rem}.h-8{height:2rem}.h-10{height:2.5rem}.h-6{height:1.5rem}.\!h-100vh{height:100vh!important}.text-xs{font-size:.75rem;line-height:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}.leading-7{line-height:1.75rem}.leading-5{line-height:1.25rem}.list-none{list-style-type:none}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2\.5{margin-top:.625rem;margin-bottom:.625rem}.mb-2{margin-bottom:.5rem}.mt-3{margin-top:.75rem}.mr-2{margin-right:.5rem}.mt-2\.5{margin-top:.625rem}.mt-4{margin-top:1rem}.mr-5{margin-right:1.25rem}.ml-5{margin-left:1.25rem}.mr-6{margin-right:1.5rem}.ml-3{margin-left:.75rem}.not-first\:mt-7\.5:not(:first-child){margin-top:1.875rem}.min-h-full{min-height:100%}.min-h-120{min-height:30rem}.min-w-full{min-width:100%}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-y-hidden{overflow-y:hidden}.p-0{padding:0}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-1{padding-left:.25rem;padding-right:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.px-8{padding-left:2rem;padding-right:2rem}.pt-2{padding-top:.5rem}.pl-3{padding-left:.75rem}.pr-3{padding-right:.75rem}.pt-3{padding-top:.75rem}.pl-5{padding-left:1.25rem}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0px;right:0px;bottom:0px;left:0px}.right-0{right:0px}.focus\:shadow-none:focus{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-primary{--tw-shadow: 2px 5px 20px -3px rgb(44 138 248 / 18%);--tw-shadow-colored: 2px 5px 20px -3px rgb(44 138 248 / 18%);-webkit-box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.text-center{text-align:center}.text-green{--tw-text-opacity: 1;color:rgba(103,194,58,var(--tw-text-opacity))}.text-red{--tw-text-opacity: 1;color:rgba(245,108,108,var(--tw-text-opacity))}.text-\[\#b7c5d6\]{--tw-text-opacity: 1;color:rgba(183,197,214,var(--tw-text-opacity))}.text-teal-500{--tw-text-opacity: 1;color:rgba(20,184,166,var(--tw-text-opacity))}.text-sky-500{--tw-text-opacity: 1;color:rgba(14,165,233,var(--tw-text-opacity))}.text-pink-500{--tw-text-opacity: 1;color:rgba(236,72,153,var(--tw-text-opacity))}.text-rose-500{--tw-text-opacity: 1;color:rgba(244,63,94,var(--tw-text-opacity))}.text-primary-darken{--tw-text-opacity: 1;color:rgba(84,117,154,var(--tw-text-opacity))}.text-orange-400{--tw-text-opacity: 1;color:rgba(251,146,60,var(--tw-text-opacity))}.text-\[\#619cc2\]{--tw-text-opacity: 1;color:rgba(97,156,194,var(--tw-text-opacity))}.overflow-ellipsis{-o-text-overflow:ellipsis;text-overflow:ellipsis}.text-shadow-primary{text-shadow:0 0 6px rgb(44 138 248 / 40%)}.select-none{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.visible{visibility:visible}.\!visible{visibility:visible!important}.whitespace-nowrap{white-space:nowrap}.break-all{word-break:break-all}.w-20{width:5rem}.w-14{width:3.5rem}.w-full{width:100%}.w-40{width:10rem}.w-28{width:7rem}.w-35{width:8.75rem}.z-9999{z-index:9999}.transform{--tw-translate-x: 0;--tw-translate-y: 0;--tw-translate-z: 0;--tw-rotate: 0;--tw-rotate-x: 0;--tw-rotate-y: 0;--tw-rotate-z: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-scale-z: 1;-webkit-transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) translateZ(var(--tw-translate-z)) rotate(var(--tw-rotate)) rotateX(var(--tw-rotate-x)) rotateY(var(--tw-rotate-y)) rotateZ(var(--tw-rotate-z)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) scaleZ(var(--tw-scale-z));-ms-transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) translateZ(var(--tw-translate-z)) rotate(var(--tw-rotate)) rotateX(var(--tw-rotate-x)) rotateY(var(--tw-rotate-y)) rotateZ(var(--tw-rotate-z)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) scaleZ(var(--tw-scale-z));transform:translate(var(--tw-translate-x)) translateY(var(--tw-translate-y)) translateZ(var(--tw-translate-z)) rotate(var(--tw-rotate)) rotateX(var(--tw-rotate-x)) rotateY(var(--tw-rotate-y)) rotate(var(--tw-rotate-z)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) scaleZ(var(--tw-scale-z))}.translate-x-full{--tw-translate-x: 100%}.translate-x-0{--tw-translate-x: 0px}.transition-transform{-webkit-transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);-o-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transition-duration:.15s;-o-transition-duration:.15s;transition-duration:.15s}.duration-100{-webkit-transition-duration:.1s;-o-transition-duration:.1s;transition-duration:.1s}.duration{-webkit-transition-duration:.15s;-o-transition-duration:.15s;transition-duration:.15s}.filter{--tw-blur: var(--tw-empty, );--tw-brightness: var(--tw-empty, );--tw-contrast: var(--tw-empty, );--tw-grayscale: var(--tw-empty, );--tw-hue-rotate: var(--tw-empty, );--tw-invert: var(--tw-empty, );--tw-saturate: var(--tw-empty, );--tw-sepia: var(--tw-empty, );--tw-drop-shadow: var(--tw-empty, );-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@media (min-width: 768px){.md\:flex-row{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row}.md\:items-center{-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}.md\:h-15{height:3.75rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}.md\:my-3{margin-top:.75rem;margin-bottom:.75rem}.md\:my-4{margin-top:1rem;margin-bottom:1rem}.md\:mt-4{margin-top:1rem}.md\:mt-0{margin-top:0}.md\:mr-0{margin-right:0}.md\:ml-8{margin-left:2rem}.md\:py-4{padding-top:1rem;padding-bottom:1rem}.md\:pt-0{padding-top:0}.md\:w-auto{width:auto}.md\:w-1\/2{width:50%}.md\:w-30{width:7.5rem}} diff --git a/bin/Razord-meta-gh-pages/assets/index.ccefbf9b.js b/bin/Razord-meta-gh-pages/assets/index.ccefbf9b.js deleted file mode 100644 index c94adfb0..00000000 --- a/bin/Razord-meta-gh-pages/assets/index.ccefbf9b.js +++ /dev/null @@ -1 +0,0 @@ -var ot=Object.defineProperty,at=Object.defineProperties;var lt=Object.getOwnPropertyDescriptors;var Le=Object.getOwnPropertySymbols;var rt=Object.prototype.hasOwnProperty,ct=Object.prototype.propertyIsEnumerable;var Ie=(n,t,s)=>t in n?ot(n,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):n[t]=s,b=(n,t)=>{for(var s in t||(t={}))rt.call(t,s)&&Ie(n,s,t[s]);if(Le)for(var s of Le(t))ct.call(t,s)&&Ie(n,s,t[s]);return n},M=(n,t)=>at(n,lt(t));import{R as e,c as v,f as it,r as m,a as ae,E as ze,b as ut,d as Z,e as we,u as Ee,g as Ce,h as U,i as He,j as be,k as ee,l as Oe,m as mt,n as he,o as dt,p as Ne,q as pt,s as Pe,t as ft,v as Et,w as ht,x as yt,y as xt,z as gt,A as vt,B as wt,C as Ct,D as bt,F as Nt,G as Pt,H as St,N as kt,O as Dt,I as Ft,J as pe,K as At,L as $t,M as Lt}from"./vendor.4a7a512f.js";const It=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))o(a);new MutationObserver(a=>{for(const l of a)if(l.type==="childList")for(const r of l.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&o(r)}).observe(document,{childList:!0,subtree:!0});function s(a){const l={};return a.integrity&&(l.integrity=a.integrity),a.referrerpolicy&&(l.referrerPolicy=a.referrerpolicy),a.crossorigin==="use-credentials"?l.credentials="include":a.crossorigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function o(a){if(a.ep)return;a.ep=!0;const l=s(a);fetch(a.href,l)}};It();function ne(){return navigator.userAgent==="ClashX Runtime"}let P=null;class Rt{constructor(t){this.instance=null,window.WebViewJavascriptBridge!=null&&(this.instance=window.WebViewJavascriptBridge),this.initBridge(s=>{this.instance=s,t()})}initBridge(t){if(!ne())return t==null?void 0:t(null);if(window.WebViewJavascriptBridge!=null)return t(window.WebViewJavascriptBridge);if(window.WVJBCallbacks!=null)return window.WVJBCallbacks.push(t);window.WVJBCallbacks=[t];const s=document.createElement("iframe");s.style.display="none",s.src="https://__bridge_loaded__",document.documentElement.appendChild(s),setTimeout(()=>document.documentElement.removeChild(s),0)}async callHandler(t,s){return await new Promise(o=>{var a;(a=this.instance)==null||a.callHandler(t,s,o)})}async ping(){return await this.callHandler("ping")}async readConfigString(){return await this.callHandler("readConfigString")}async getPasteboard(){return await this.callHandler("getPasteboard")}async getAPIInfo(){return await this.callHandler("apiInfo")}async setPasteboard(t){return await this.callHandler("setPasteboard",t)}async writeConfigWithString(t){return await this.callHandler("writeConfigWithString",t)}async setSystemProxy(t){return await this.callHandler("setSystemProxy",t)}async getStartAtLogin(){return await this.callHandler("getStartAtLogin")}async getProxyDelay(t){return await this.callHandler("speedTest",t)}async setStartAtLogin(t){return await this.callHandler("setStartAtLogin",t)}async isSystemProxySet(){return await this.callHandler("isSystemProxySet")}}function Tt(n){if(P!=null){n();return}P=new Rt(n)}function q(n){const{title:t,children:s,className:o,style:a}=n;return e.createElement("header",{className:v("header",o),style:a},e.createElement("h1",{className:"md:text-xl"},t),e.createElement("div",{className:"flex flex-auto items-center justify-end"},s))}function O(n){const{type:t,size:s=14,className:o,style:a}=n,l=v("clash-iconfont",`icon-${t}`,o),r=b({fontSize:s},a),i=M(b({},n),{className:l,style:r});return e.createElement("i",b({},i))}function G(){}function Bt(n,t){const s=[],o=[];for(const a of n)t(a)?s.push(a):o.push(a);return[s,o]}function _(n){var o;const t=["B","KB","MB","GB","TB"],s=Math.floor(Math.log(n||1)/Math.log(1024));return`${it(n/Math.pow(1024,s),2).toFixed(2)} ${(o=t==null?void 0:t[s])!=null?o:""}`}function Ue(n){return n.replace(/.*[/\\]/,"")}function fe(n){const{className:t,checked:s=!1,disabled:o=!1,onChange:a=G}=n,l=v("switch",{checked:s,disabled:o},t);function r(){o||a(!s)}return e.createElement("div",{className:l,onClick:r},e.createElement(O,{className:"switch-icon font-bold",type:"check",size:20}))}const H=m.exports.forwardRef((n,t)=>{const{className:s,style:o,children:a}=n;return e.createElement("div",{className:v("card",s),style:o,ref:t},a)});function Re(n){const{options:t,value:s,onSelect:o}=n;return e.createElement("div",{className:"button-select"},t.map(a=>e.createElement("button",{value:a.value,key:a.value,className:v("button-select-options",{actived:s===a.value}),onClick:()=>o==null?void 0:o(a.value)},a.label)))}const Mt={SideBar:{Proxies:"Proxies",Overview:"Overview",Logs:"Logs",Rules:"Rules",Settings:"Setting",Connections:"Connections",Version:"Version"},Settings:{title:"Settings",labels:{startAtLogin:"Start at login",language:"language",setAsSystemProxy:"Set as system proxy",allowConnectFromLan:"Allow Lan",proxyMode:"Mode",logLevel:"Log Level",redirProxyPort:"Redir proxy port",socks5ProxyPort:"Socks5 proxy port",httpProxyPort:"HTTP proxy port",mixedProxyPort:"Mixed proxy port",externalController:"External controller"},values:{cn:"\u4E2D\u6587",en:"English",global:"Global",rules:"Rules",direct:"Direct",script:"Script"},versionString:"Current ClashX is the latest version\uFF1A{{version}}",checkUpdate:"Check Update",externalControllerSetting:{title:"External Controller",note:"Please note that modifying this configuration will only configure Dashboard. Will not modify your Clash configuration file. Please make sure that the external controller address matches the address in the Clash configuration file, otherwise, Dashboard will not be able to connect to Clash.",host:"Host",port:"Port",secret:"Secret"}},Logs:{title:"Logs",levelLabel:"Log level"},Rules:{title:"Rules",providerTitle:"Providers",providerUpdateTime:"Last updated at",ruleCount:"Rule count"},Connections:{title:"Connections",keepClosed:"Keep closed connections",total:{text:"total",upload:"upload",download:"download"},closeAll:{title:"Warning",content:"This would close all connections"},filter:{all:"All"},columns:{host:"Host",network:"Network",type:"Type",chains:"Chains",process:"Process",rule:"Rule",time:"Time",speed:"Speed",upload:"Upload",download:"Download",sourceIP:"Source IP",destinationIP:"Destination IP"},info:{title:"Connection",id:"ID",host:"Host",hostEmpty:"Empty",dstIP:"Target",dstIPEmpty:"Empty",srcIP:"Source",upload:"Upload",download:"Download",network:"Network",process:"Process",processPath:"Path",inbound:"Inbound",rule:"Rule",chains:"Chains",status:"Status",opening:"Open",closed:"Closed",closeConnection:"Close"}},Proxies:{title:"Proxies",editDialog:{title:"Edit Proxy",color:"Color",name:"Name",type:"Type",server:"Server",port:"Port",password:"Password",cipher:"Cipher",obfs:"Obfs","obfs-host":"Obfs-host",uuid:"UUID",alterId:"AlterId",tls:"TLS"},groupTitle:"Policy Group",providerTitle:"Providers",providerUpdateTime:"Last updated at",expandText:"Expand",collapseText:"Collapse",speedTestText:"Speed Test",breakConnectionsText:"Close connections which include the group"},Modal:{ok:"Ok",cancel:"Cancel"}},zt={SideBar:{Proxies:"\u4EE3\u7406",Overview:"\u603B\u89C8",Logs:"\u65E5\u5FD7",Rules:"\u89C4\u5219",Settings:"\u8BBE\u7F6E",Connections:"\u8FDE\u63A5",Version:"\u7248\u672C"},Settings:{title:"\u8BBE\u7F6E",labels:{startAtLogin:"\u5F00\u673A\u65F6\u542F\u52A8",language:"\u8BED\u8A00",setAsSystemProxy:"\u8BBE\u7F6E\u4E3A\u7CFB\u7EDF\u4EE3\u7406",allowConnectFromLan:"\u5141\u8BB8\u6765\u81EA\u5C40\u57DF\u7F51\u7684\u8FDE\u63A5",proxyMode:"\u4EE3\u7406\u6A21\u5F0F",logLevel:"\u65E5\u5FD7\u7B49\u7EA7",redirProxyPort:"Redir \u4EE3\u7406\u7AEF\u53E3",socks5ProxyPort:"Socks5 \u4EE3\u7406\u7AEF\u53E3",httpProxyPort:"HTTP \u4EE3\u7406\u7AEF\u53E3",mixedProxyPort:"\u6DF7\u5408\u4EE3\u7406\u7AEF\u53E3",externalController:"\u5916\u90E8\u63A7\u5236\u8BBE\u7F6E"},values:{cn:"\u4E2D\u6587",en:"English",global:"\u5168\u5C40",rules:"\u89C4\u5219",direct:"\u76F4\u8FDE",script:"\u811A\u672C"},versionString:"\u5F53\u524D ClashX \u5DF2\u662F\u6700\u65B0\u7248\u672C\uFF1A{{version}}",checkUpdate:"\u68C0\u67E5\u66F4\u65B0",externalControllerSetting:{title:"\u7F16\u8F91\u5916\u90E8\u63A7\u5236\u8BBE\u7F6E",note:"\u8BF7\u6CE8\u610F\uFF0C\u4FEE\u6539\u8BE5\u914D\u7F6E\u9879\u5E76\u4E0D\u4F1A\u4FEE\u6539\u4F60\u7684 Clash \u914D\u7F6E\u6587\u4EF6\uFF0C\u8BF7\u786E\u8BA4\u4FEE\u6539\u540E\u7684\u5916\u90E8\u63A7\u5236\u5730\u5740\u548C Clash \u914D\u7F6E\u6587\u4EF6\u5185\u7684\u5730\u5740\u4E00\u81F4\uFF0C\u5426\u5219\u4F1A\u5BFC\u81F4 Dashboard \u65E0\u6CD5\u8FDE\u63A5\u3002",host:"Host",port:"\u7AEF\u53E3",secret:"\u5BC6\u94A5"}},Logs:{title:"\u65E5\u5FD7",levelLabel:"\u65E5\u5FD7\u7B49\u7EA7"},Rules:{title:"\u89C4\u5219",providerTitle:"\u89C4\u5219\u96C6",providerUpdateTime:"\u6700\u540E\u66F4\u65B0\u4E8E",ruleCount:"\u89C4\u5219\u6761\u6570"},Connections:{title:"\u8FDE\u63A5",keepClosed:"\u4FDD\u7559\u5173\u95ED\u8FDE\u63A5",total:{text:"\u603B\u91CF",upload:"\u4E0A\u4F20",download:"\u4E0B\u8F7D"},closeAll:{title:"\u8B66\u544A",content:"\u5C06\u4F1A\u5173\u95ED\u6240\u6709\u8FDE\u63A5"},filter:{all:"\u5168\u90E8"},columns:{host:"\u57DF\u540D",network:"\u7F51\u7EDC",process:"\u8FDB\u7A0B",type:"\u7C7B\u578B",chains:"\u8282\u70B9\u94FE",rule:"\u89C4\u5219",time:"\u8FDE\u63A5\u65F6\u95F4",speed:"\u901F\u7387",upload:"\u4E0A\u4F20",download:"\u4E0B\u8F7D",sourceIP:"\u6765\u6E90 IP",destinationIP:"\u76EE\u6807 IP"},info:{title:"\u8FDE\u63A5\u4FE1\u606F",id:"ID",host:"\u57DF\u540D",hostEmpty:"\u7A7A",dstIP:"\u76EE\u6807 IP",dstIPEmpty:"\u7A7A",srcIP:"\u6765\u6E90",upload:"\u4E0A\u4F20",download:"\u4E0B\u8F7D",network:"\u7F51\u7EDC",process:"\u8FDB\u7A0B",processPath:"\u8DEF\u5F84",inbound:"\u5165\u53E3",rule:"\u89C4\u5219",chains:"\u4EE3\u7406",status:"\u72B6\u6001",opening:"\u8FDE\u63A5\u4E2D",closed:"\u5DF2\u5173\u95ED",closeConnection:"\u5173\u95ED\u8FDE\u63A5"}},Proxies:{title:"\u4EE3\u7406",editDialog:{title:"\u7F16\u8F91\u4EE3\u7406",color:"\u989C\u8272",name:"\u540D\u5B57",type:"\u7C7B\u578B",server:"\u670D\u52A1\u5668",port:"\u7AEF\u53E3",password:"\u5BC6\u7801",cipher:"\u52A0\u5BC6\u65B9\u5F0F",obfs:"Obfs","obfs-host":"Obfs-host",uuid:"UUID",alterId:"AlterId",tls:"TLS"},groupTitle:"\u7B56\u7565\u7EC4",providerTitle:"\u4EE3\u7406\u96C6",providerUpdateTime:"\u6700\u540E\u66F4\u65B0\u4E8E",expandText:"\u5C55\u5F00",collapseText:"\u6536\u8D77",speedTestText:"\u6D4B\u901F",breakConnectionsText:"\u5207\u6362\u65F6\u6253\u65AD\u5305\u542B\u7B56\u7565\u7EC4\u7684\u8FDE\u63A5"},Modal:{ok:"\u786E \u5B9A",cancel:"\u53D6 \u6D88"}},je={en_US:Mt,zh_CN:zt},Ht=Object.keys(je);function Ot(){for(const n of window.navigator.languages){if(n.includes("zh"))return"zh_CN";if(n.includes("us"))return"en_US"}return"en_US"}function Se(n){return m.exports.useMemo(()=>{function s(o,a){if(typeof o=="string")n(l=>{const r=o,i=a;l[r]=i});else if(typeof o=="function"){const l=o;n(r=>l(r))}else typeof o=="object"&&n(l=>ae(l,r=>{const i=o;for(const u of Object.keys(i)){const h=u;r[h]=i[h]}}))}return s},[n])}class We{constructor(t){this.EE=new ze,this.innerBuffer=[],this.url="",this.connection=null,this.config=Object.assign({bufferLength:0,retryInterval:5e3},t)}connectWebsocket(){const t=new URL(this.url);this.connection=new WebSocket(t.toString()),this.connection.addEventListener("message",s=>{const o=JSON.parse(s.data);this.EE.emit("data",[o]),this.config.bufferLength>0&&(this.innerBuffer.push(o),this.innerBuffer.length>this.config.bufferLength&&this.innerBuffer.splice(0,this.innerBuffer.length-this.config.bufferLength))}),this.connection.addEventListener("error",s=>{var o;this.EE.emit("error",s),(o=this.connection)==null||o.close(),setTimeout(this.connectWebsocket,this.config.retryInterval)})}connect(t){var s;this.url===t&&this.connection||(this.url=t,(s=this.connection)==null||s.close(),this.connectWebsocket())}subscribe(t,s){this.EE.addListener(t,s)}unsubscribe(t,s){this.EE.removeListener(t,s)}buffer(){return this.innerBuffer.slice()}destory(){var t;this.EE.removeAllListeners(),(t=this.connection)==null||t.close(),this.connection=null}}class Ut{constructor(t,s){this.axiosClient=ut.create({baseURL:t,headers:s?{Authorization:`Bearer ${s}`}:{}})}async getConfig(){return await this.axiosClient.get("configs")}async updateConfig(t){return await this.axiosClient.patch("configs",t)}async getRules(){return await this.axiosClient.get("rules")}async getProxyProviders(){const t=await this.axiosClient.get("providers/proxies",{validateStatus(s){return s>=200&&s<300||s===404}});return t.status===404&&(t.data={providers:{}}),t}async getRuleProviders(){return await this.axiosClient.get("providers/rules")}async updateProvider(t){return await this.axiosClient.put(`providers/proxies/${encodeURIComponent(t)}`)}async updateRuleProvider(t){return await this.axiosClient.put(`providers/rules/${encodeURIComponent(t)}`)}async healthCheckProvider(t){return await this.axiosClient.get(`providers/proxies/${encodeURIComponent(t)}/healthcheck`)}async getProxies(){return await this.axiosClient.get("proxies")}async getProxy(t){return await this.axiosClient.get(`proxies/${encodeURIComponent(t)}`)}async getVersion(){return await this.axiosClient.get("version")}async getProxyDelay(t){return await this.axiosClient.get(`proxies/${encodeURIComponent(t)}/delay`,{params:{timeout:5e3,url:"http://www.gstatic.com/generate_204"}})}async closeAllConnections(){return await this.axiosClient.delete("connections")}async closeConnection(t){return await this.axiosClient.delete(`connections/${t}`)}async getConnections(){return await this.axiosClient.get("connections")}async changeProxySelected(t,s){return await this.axiosClient.put(`proxies/${encodeURIComponent(t)}`,{name:s})}}const jt=Z(async()=>{if(!ne())return null;const n=await P.getAPIInfo();return{hostname:n.host,port:n.port,secret:n.secret,protocol:"http:"}}),_e=we("externalControllers",[]);function re(){var h,f,E,d,p,w,g,A,k,D,V,N,j,I,$;const n=Ee(jt),t=Ce(),s=Ee(_e);if(n!=null)return n;let o;{const R=document.querySelector('meta[name="external-controller"]');((h=R==null?void 0:R.content)==null?void 0:h.match(/^https?:/))!=null&&(o=new URL(R.content))}const a=new URLSearchParams(t.search),l=(p=(d=(E=a.get("host"))!=null?E:(f=s==null?void 0:s[0])==null?void 0:f.hostname)!=null?d:o==null?void 0:o.hostname)!=null?p:"127.0.0.1",r=(k=(A=(g=a.get("port"))!=null?g:(w=s==null?void 0:s[0])==null?void 0:w.port)!=null?A:o==null?void 0:o.port)!=null?k:"9090",i=(j=(N=(V=a.get("secret"))!=null?V:(D=s==null?void 0:s[0])==null?void 0:D.secret)!=null?N:o==null?void 0:o.username)!=null?j:"",u=((I=a.get("protocol"))!=null?I:l==="127.0.0.1")?"http:":($=o==null?void 0:o.protocol)!=null?$:window.location.protocol;return{hostname:l,port:r,secret:i,protocol:u}}const Wt=Z({key:"",instance:null});function z(){const{hostname:n,port:t,secret:s,protocol:o}=re(),[a,l]=U(Wt),r=`${o}//${n}:${t}?secret=${s}`;if(a.key===r)return a.instance;const i=new Ut(`${o}//${n}:${t}`,s);return l({key:r,instance:i}),i}const ke=Z(!0),_t=we("language",void 0);function S(){const[n,t]=U(_t),s=m.exports.useMemo(()=>n!=null?n:Ot(),[n]),o=m.exports.useCallback(function(a){function l(r){return dt(je[s][a],r)}return{t:l}},[s]);return{lang:s,locales:Ht,setLang:t,translation:o}}const Ge=Z({version:"",premium:!1,meta:!1});function Ve(){const[n,t]=U(Ge),s=z(),o=be(ke);return ee([s],async function(){const a=await Oe.fromPromise(s.getVersion(),l=>l);o(a.isOk()),t(a.isErr()?{version:"",premium:!1,meta:!1}:{version:a.value.data.version,premium:!!a.value.data.premium,meta:!!a.value.data.meta})}),n}function Je(){const[{premium:n,meta:t}]=U(Ge),s=z(),{data:o,mutate:a}=ee(["/providers/rule",s,n,t],async()=>{if(!n&&!t)return[];const l=await s.getRuleProviders();return Object.keys(l.data.providers).map(r=>l.data.providers[r])});return{providers:o!=null?o:[],update:a}}const Gt=we("profile",{breakConnections:!1,logLevel:""});function me(){const[n,t]=U(Gt),s=m.exports.useCallback(o=>{t(ae(n,o))},[n,t]);return{data:n,set:Se(s)}}const Xe=Z([]);function qe(){const[n,t]=U(Xe),s=z(),{data:o,mutate:a}=ee(["/providers/proxy",s],async()=>{const l=await s.getProxyProviders();return Object.keys(l.data.providers).map(r=>l.data.providers[r]).filter(r=>r.name!=="default").filter(r=>r.vehicleType!=="Compatible")});return m.exports.useEffect(()=>{t(o!=null?o:[])},[o,t]),{providers:n,update:a}}function De(){const n=z(),{data:t,mutate:s}=ee(["/config",n],async()=>{var l;const a=(await n.getConfig()).data;return{port:a.port,socksPort:a["socks-port"],mixedPort:(l=a["mixed-port"])!=null?l:0,redirPort:a["redir-port"],mode:a.mode.toLowerCase(),logLevel:a["log-level"],allowLan:a["allow-lan"]}});return{general:t!=null?t:{},update:s}}const Ke=He({proxies:[],groups:[],global:{name:"GLOBAL",type:"Selector",now:"",history:[],all:[]}});function de(){const[n,t]=U(Ke),s=Se(t),o=z(),{mutate:a}=ee(["/proxies",o],async()=>{const r=await o.getProxies(),i=r.data.proxies.GLOBAL;i.name="GLOBAL";const u=new Set(["Selector","URLTest","Fallback","LoadBalance"]),h=new Set(["DIRECT","REJECT","GLOBAL"]),f=i.all.filter(p=>!h.has(p)).map(p=>M(b({},r.data.proxies[p]),{name:p})),[E,d]=Bt(f,p=>!u.has(p.type));s({proxies:E,groups:d,global:i})}),l=m.exports.useCallback((r,i)=>{s(u=>{r==="GLOBAL"&&(u.global.now=i);for(const h of u.groups)h.name===r&&(h.now=i)})},[s]);return{proxies:n.proxies,groups:n.groups,global:n.global,update:a,markProxySelected:l,set:s}}const Ye=Z(n=>{const t=n(Ke),s=n(Xe),o=new Map;for(const a of t.proxies)o.set(a.name,a);for(const a of s)for(const l of a.proxies)o.set(l.name,l);return o});function Qe(){const{data:n,mutate:t}=ee("/clashx",async()=>{var a,l;if(!ne())return{isClashX:!1,startAtLogin:!1,systemProxy:!1};const s=(a=await(P==null?void 0:P.getStartAtLogin()))!=null?a:!1,o=(l=await(P==null?void 0:P.isSystemProxySet()))!=null?l:!1;return{startAtLogin:s,systemProxy:o,isClashX:!0}});return{data:n,update:t}}const Vt=He([]);function Jt(){const[n,t]=U(Vt),s=Se(t),o=z();async function a(){const l=await o.getRules();s(l.data.rules)}return{rules:n,update:a}}const Xt=Z(new We({bufferLength:200}));function Ze(){const n=re(),{general:t}=De(),{data:{logLevel:s}}=me(),o=Ee(Xt),a=s||t.logLevel,l=mt(`${n.protocol}//${n.hostname}:${n.port}/logs?level=${a}&secret=${n.secret}`),r=he(n);return m.exports.useEffect(()=>{if(a){const i=r.current,h=`${i.protocol==="http:"?"ws:":"wss:"}//${i.hostname}:${i.port}/logs?level=${a}&token=${i.secret}`;o.connect(h)}},[r,o,a,l]),o}function qt(){const n=re(),t=m.exports.useRef(new We({bufferLength:200})),o=`${n.protocol==="http:"?"ws:":"wss:"}//${n.hostname}:${n.port}/connections?token=${n.secret}`;return m.exports.useEffect(()=>{t.current.connect(o)},[o]),t.current}const Te={"#909399":0,"#57b366":260,"#ff9a28":600,"#ff3e5e":1/0};function Kt(n){const{className:t,data:s,onClick:o,select:a,canClick:l,errSet:r,rowHeight:i}=n,{translation:u}=S(),{t:h}=u("Proxies"),[f,E]=m.exports.useState(!1),[d,p]=m.exports.useState(!1),[w]=U(Ye),g=m.exports.useRef(null);m.exports.useLayoutEffect(()=>{var N,j;p(((j=(N=g==null?void 0:g.current)==null?void 0:N.offsetHeight)!=null?j:0)>30)},[]);const A=f?"auto":i,k=l?o:G;function D(){E(!f)}const V=s.map(N=>{var te;const I=v(l?"cursor-pointer":"cursor-default",{"tags-selected":a===N,error:r==null?void 0:r.has(N)}),$=(te=w.get(N))==null?void 0:te.history,R=$!=null&&$.length?$.slice(-1)[0].delay:0,se=Object.keys(Te).find(T=>R<=Te[T]);return e.createElement("li",{className:I,key:N,onClick:()=>k(N)},N," ",e.createElement("span",{className:"proxy-delay",style:{color:se}},"\u2003",R===0?"":`${R}ms`," "))});return e.createElement("div",{className:v("flex items-start overflow-y-hidden",t),style:{height:A}},e.createElement("ul",{ref:g,className:v("tags",{expand:f})},V),d&&e.createElement("span",{className:"h-7 px-5 select-none cursor-pointer leading-7",onClick:D},h(f?"collapseText":"expandText")))}function Q(n){const{className:t,style:s,value:o="",align:a="center",inside:l=!1,autoFocus:r=!1,type:i="text",disabled:u=!1,onChange:h=G,onBlur:f=G,onEnter:E=G}=n,d=v("input",`text-${a}`,{"focus:shadow-none":l},t);function p(w){w.code==="Enter"&&E(w)}return e.createElement("input",{disabled:u,className:d,style:s,value:o,autoFocus:r,type:i,onChange:w=>h(w.target.value,w),onBlur:f,onKeyDown:p})}function Yt(n){const{value:t,options:s,onSelect:o,className:a,style:l}=n,r=m.exports.useRef(document.createElement("div")),i=m.exports.useRef(null),[u,h]=m.exports.useState(!1),[f,E]=m.exports.useState({});m.exports.useLayoutEffect(()=>{const g=i.current.getBoundingClientRect();E({top:Math.floor(g.top+g.height)+6,left:Math.floor(g.left)-10})},[]),m.exports.useLayoutEffect(()=>{const g=r.current;return document.body.appendChild(g),()=>{document.body.removeChild(g)}},[]);function d(){h(!u)}const p=m.exports.useMemo(()=>s.find(g=>g.value===t),[t,s]),w=e.createElement("div",{className:v("select-list",{"select-list-show":u}),style:f},e.createElement("ul",{className:"list"},s.map(g=>{var A;return e.createElement(Qt,{className:v({selected:g.value===t}),onClick:k=>{o==null||o(g.value,k),h(!1)},disabled:g.disabled,key:(A=g.key)!=null?A:g.value,value:g.value},g.label)})));return e.createElement(e.Fragment,null,e.createElement("div",{className:v("select",a),style:l,ref:i,onClick:d},p==null?void 0:p.label,e.createElement(O,{type:"triangle-down"})),Ne.exports.createPortal(w,r.current))}function Qt(n){const{className:t,style:s,disabled:o=!1,children:a,onClick:l=G}=n,r=v("option",{disabled:o},t);return e.createElement("li",{className:r,style:s,onClick:l},a)}function et(n){const{show:t=!0,title:s="Modal",size:o="small",footer:a=!0,onOk:l=G,onClose:r=G,bodyClassName:i,bodyStyle:u,className:h,style:f,children:E}=n,{translation:d}=S(),{t:p}=d("Modal"),w=m.exports.useRef(document.createElement("div")),g=m.exports.useRef(null);m.exports.useLayoutEffect(()=>{const D=w.current;return document.body.appendChild(D),()=>{document.body.removeChild(D)}},[]);function A(D){D.target===g.current&&r()}const k=e.createElement("div",{className:v("modal-mask",{"modal-show":t}),ref:g,onMouseDown:A},e.createElement("div",{className:v("modal",`modal-${o}`,h),style:f},e.createElement("div",{className:"modal-title"},s),e.createElement("div",{className:v("modal-body",i),style:u},E),a&&e.createElement("div",{className:"footer"},e.createElement(ye,{onClick:()=>r()},p("cancel")),e.createElement(ye,{type:"primary",onClick:()=>l()},p("ok")))));return Ne.exports.createPortal(k,w.current)}const Zt={success:"check",info:"info",warning:"info",error:"close"};function en(n){const{message:t="",type:s="info",inside:o=!1,children:a,className:l,style:r}=n,i=v("alert",`alert-${o?"note":"box"}-${s}`,l);return e.createElement("div",{className:i,style:r},e.createElement("span",{className:"alert-icon"},e.createElement(O,{type:Zt[s],size:26})),t?e.createElement("p",{className:"alert-message"},t):e.createElement("div",{className:"alert-message"},a))}function ye(n){const{type:t="normal",onClick:s=G,children:o,className:a,style:l,disiabled:r}=n,i=v("button",`button-${t}`,a,{"button-disabled":r});return e.createElement("button",{className:i,style:l,onClick:s,disabled:r},o)}function ue(n){const[t,s]=pt(n),o=m.exports.useMemo(()=>{function a(l,r){typeof l=="string"?s(i=>{const u=l,h=r;i[u]=h}):typeof l=="function"?s(l):typeof l=="object"&&s(i=>{const u=l;for(const h of Object.keys(u)){const f=h;i[f]=u[f]}})}return a},[s]);return[t,o]}function tn(n,t=0){if(n.length<2)throw new Error("List requires at least two elements");const[s,o]=m.exports.useState(t);function a(){o((s+1)%n.length)}return{current:m.exports.useMemo(()=>n[s],[n,s]),next:a}}function Fe(n=!1){const[t,s]=m.exports.useState(n);function o(){s(!1)}function a(){s(!0)}return{visible:t,hide:o,show:a}}function tt(n){const{className:t,checked:s=!1,onChange:o=G}=n,a=v("checkbox",{checked:s},t);function l(){o(!s)}return e.createElement("div",{className:a,onClick:l},e.createElement(O,{className:"checkbox-icon",type:"check",size:18}),e.createElement("div",null,n.children))}function le(n){const{color:t,className:s,style:o}=n,a=v("tag",s),l=b({color:t},o),r=M(b({},n),{className:a,style:l});return e.createElement("span",b({},r),n.children)}function nn(n){const t=v("spinner",n.className);return e.createElement("div",{className:t},e.createElement("div",{className:"spinner-circle"},e.createElement("div",{className:"spinner-inner"})),e.createElement("div",{className:"spinner-circle"},e.createElement("div",{className:"spinner-inner"})),e.createElement("div",{className:"spinner-circle"},e.createElement("div",{className:"spinner-inner"})),e.createElement("div",{className:"spinner-circle"},e.createElement("div",{className:"spinner-inner"})),e.createElement("div",{className:"spinner-circle"},e.createElement("div",{className:"spinner-inner"})))}function nt(n){const t=v("loading","visible",n.className);return n.visible?e.createElement("div",{className:t},e.createElement(nn,{className:n.spinnerClassName})):null}function sn(n){var a,l,r;const t=m.exports.useRef(document.createElement("div"));m.exports.useLayoutEffect(()=>{const i=t.current;return document.body.appendChild(i),()=>{document.body.removeChild(i)}},[]);const s="absolute h-full right-0 transition-transform transform translate-x-full duration-100 pointer-events-auto",o=e.createElement("div",{className:v(n.className,"absolute inset-0 pointer-events-none z-9999")},e.createElement(H,{className:v(s,n.bodyClassName,{"translate-x-0":n.visible}),style:{width:(a=n.width)!=null?a:400}},n.children));return Ne.exports.createPortal(o,(r=(l=n.containerRef)==null?void 0:l.current)!=null?r:t.current)}Pe.extend(ft);function Ae(n,t){const s=t==="en_US"?"en":"zh-cn";return Pe().locale(s).from(n)}function on(n){const{translation:t}=S(),s=m.exports.useMemo(()=>t("Connections").t,[t]),{className:o,style:a}=n,l=v("flex flex-wrap px-1",o);function r(i){var u;(u=n.onChange)==null||u.call(n,i)}return e.createElement("div",{className:l,style:a},e.createElement("div",{className:v("connections-devices-item pt-2 mb-2",{selected:n.selected===""}),onClick:()=>r("")},s("filter.all")),n.devices.map(i=>e.createElement("div",{key:i.label,className:v("connections-devices-item pt-2 mb-2",{selected:n.selected===i.label}),onClick:()=>r(i.label)},i.label," (",i.number,")")))}function an(n){var o,a,l,r,i,u,h,f,E,d,p,w,g;const{translation:t}=S(),s=m.exports.useMemo(()=>t("Connections").t,[t]);return e.createElement("div",{className:v(n.className,"text-xs flex flex-col overflow-y-auto")},e.createElement("div",{className:"flex my-3"},e.createElement("span",{className:"font-bold w-20"},s("info.id")),e.createElement("span",{className:"font-mono"},n.connection.id)),e.createElement("div",{className:"flex my-3 justify-between"},e.createElement("div",{className:"flex flex-1"},e.createElement("span",{className:"font-bold w-20"},s("info.network")),e.createElement("span",{className:"font-mono"},(o=n.connection.metadata)==null?void 0:o.network)),e.createElement("div",{className:"flex flex-1"},e.createElement("span",{className:"font-bold w-20"},s("info.inbound")),e.createElement("span",{className:"font-mono"},(a=n.connection.metadata)==null?void 0:a.type))),e.createElement("div",{className:"flex my-3"},e.createElement("span",{className:"font-bold w-20"},s("info.host")),e.createElement("span",{className:"font-mono flex-1 break-all"},n.connection.metadata?`${n.connection.metadata.host||n.connection.metadata.destinationIP}:${(l=n.connection.metadata)==null?void 0:l.destinationPort}`:s("info.hostEmpty"))),e.createElement("div",{className:"flex my-3"},e.createElement("span",{className:"font-bold w-20"},s("info.dstIP")),e.createElement("span",{className:"font-mono"},n.connection.metadata?`${((r=n.connection.metadata)==null?void 0:r.remoteDestination)||((i=n.connection.metadata)==null?void 0:i.destinationIP)||((u=n.connection.metadata)==null?void 0:u.host)}`:s("info.hostEmpty"))),e.createElement("div",{className:"flex my-3"},e.createElement("span",{className:"font-bold w-20"},s("info.srcIP")),e.createElement("span",{className:"font-mono"},`${(h=n.connection.metadata)==null?void 0:h.sourceIP}:${(f=n.connection.metadata)==null?void 0:f.sourcePort}`)),e.createElement("div",{className:"flex my-3"},e.createElement("span",{className:"font-bold w-20"},s("info.process")),e.createElement("span",{className:"font-mono"},(E=n.connection.metadata)!=null&&E.processPath?`${Ue(n.connection.metadata.processPath)}`:s("info.hostEmpty"))),e.createElement("div",{className:"flex my-3"},e.createElement("span",{className:"font-bold w-20"},s("info.processPath")),e.createElement("span",{className:"font-mono flex-1 break-all"},(d=n.connection.metadata)!=null&&d.processPath?`${n.connection.metadata.processPath}`:s("info.hostEmpty"))),e.createElement("div",{className:"flex my-3"},e.createElement("span",{className:"font-bold w-20"},s("info.rule")),e.createElement("span",{className:"font-mono"},n.connection.rule&&`${n.connection.rule}${n.connection.rulePayload&&` :: ${n.connection.rulePayload}`}`)),e.createElement("div",{className:"flex my-3"},e.createElement("span",{className:"font-bold w-20"},s("info.chains")),e.createElement("span",{className:"font-mono flex-1 break-all"},(p=n.connection.chains)==null?void 0:p.slice().reverse().join(" / "))),e.createElement("div",{className:"flex my-3 justify-between"},e.createElement("div",{className:"flex flex-1"},e.createElement("span",{className:"font-bold w-20"},s("info.upload")),e.createElement("span",{className:"font-mono"},_((w=n.connection.upload)!=null?w:0))),e.createElement("div",{className:"flex flex-1"},e.createElement("span",{className:"font-bold w-20"},s("info.download")),e.createElement("span",{className:"font-mono"},_((g=n.connection.download)!=null?g:0)))),e.createElement("div",{className:"flex my-3"},e.createElement("span",{className:"font-bold w-20"},s("info.status")),e.createElement("span",{className:"font-mono"},n.connection.completed?e.createElement("span",{className:"text-red"},s("info.closed")):e.createElement("span",{className:"text-green"},s("info.opening")))))}class ln{constructor(){this.connections=new Map,this.saveDisconnection=!1}appendToSet(t){var o;const s=t.reduce((a,l)=>a.set(l.id,l),new Map);for(const a of this.connections.keys())if(!s.has(a))if(!this.saveDisconnection)this.connections.delete(a);else{const l=this.connections.get(a);l!=null&&this.connections.set(a,ae(l,r=>{r.completed=!0,r.uploadSpeed=0,r.downloadSpeed=0}))}for(const a of s.keys()){if(!this.connections.has(a)){this.connections.set(a,M(b({},s.get(a)),{uploadSpeed:0,downloadSpeed:0}));continue}const l=this.connections.get(a),r=s.get(a);(o=this.connections)==null||o.set(a,M(b({},r),{uploadSpeed:r.upload-l.upload,downloadSpeed:r.download-l.download}))}}toggleSave(){var t,s;if(this.saveDisconnection){this.saveDisconnection=!1;for(const o of this.connections.keys())(s=(t=this.connections)==null?void 0:t.get(o))!=null&&s.completed&&this.connections.delete(o)}else this.saveDisconnection=!0;return this.saveDisconnection}getConnections(){return[...this.connections.values()]}}function rn(){const n=m.exports.useMemo(()=>new ln,[]),t=m.exports.useRef(!0),[s,o]=m.exports.useState([]),[a,l]=m.exports.useState(!1),r=m.exports.useCallback(function(u){n.appendToSet(u),t.current&&o(n.getConnections()),t.current=!t.current},[n]),i=m.exports.useCallback(function(){const u=n.toggleSave();l(u),u||o(n.getConnections()),t.current=!0},[n]);return{connections:s,feed:r,toggleSave:i,save:a}}const x={Host:"host",Network:"network",Process:"process",Type:"type",Chains:"chains",Rule:"rule",Speed:"speed",Upload:"upload",Download:"download",SourceIP:"sourceIP",DestinationIP:"destinationIP",Time:"time"},cn=new Set([x.Network,x.Type,x.Speed,x.Upload,x.Download,x.SourceIP,x.Time,x.Process]);function un(n,t){switch(!0){case(n===0&&t===0):return"-";case(n!==0&&t!==0):return`\u2191 ${_(n)}/s \u2193 ${_(t)}/s`;case n!==0:return`\u2191 ${_(n)}/s`;default:return`\u2193 ${_(t)}/s`}}const F=Et().setRowType();function mn(){const{translation:n,lang:t}=S(),s=m.exports.useMemo(()=>n("Connections").t,[n]),o=qt(),a=he(o),l=z(),r=m.exports.useRef(null),[i,u]=ue({uploadTotal:0,downloadTotal:0}),{visible:h,show:f,hide:E}=Fe();function d(){l.closeAllConnections().finally(()=>E())}const{connections:p,feed:w,save:g,toggleSave:A}=rn(),k=m.exports.useMemo(()=>p.map(c=>({id:c.id,host:`${c.metadata.host||c.metadata.destinationIP}:${c.metadata.destinationPort}`,chains:c.chains.slice().reverse().join(" / "),rule:c.rulePayload?`${c.rule} :: ${c.rulePayload}`:c.rule,time:new Date(c.start).getTime(),upload:c.upload,download:c.download,sourceIP:c.metadata.sourceIP,destinationIP:`${c.metadata.remoteDestination||c.metadata.destinationIP||c.metadata.host}`,type:c.metadata.type,network:c.metadata.network.toUpperCase(),process:c.metadata.processPath,speed:{upload:c.uploadSpeed,download:c.downloadSpeed},completed:!!c.completed,original:c})),[p]),D=m.exports.useMemo(()=>{const c=ht(p,"metadata.sourceIP");return Object.keys(c).map(C=>({label:C,number:c[C].length})).sort((C,y)=>C.label.localeCompare(y.label))},[p]),V=m.exports.useRef(null),N=yt(V,{threshold:[1]}),j=m.exports.useMemo(()=>F.createColumns([F.createDataColumn(x.Host,{minSize:260,size:260,header:s(`columns.${x.Host}`)}),F.createDataColumn(x.Network,{minSize:80,size:80,header:s(`columns.${x.Network}`)}),F.createDataColumn(x.Type,{minSize:100,size:100,header:s(`columns.${x.Type}`)}),F.createDataColumn(x.Chains,{minSize:200,size:200,header:s(`columns.${x.Chains}`)}),F.createDataColumn(x.Rule,{minSize:140,size:140,header:s(`columns.${x.Rule}`)}),F.createDataColumn(x.Process,{minSize:100,size:100,header:s(`columns.${x.Process}`),cell:c=>c.value?Ue(c.value):"-"}),F.createDataColumn(c=>[c.speed.upload,c.speed.download],{id:x.Speed,header:s(`columns.${x.Speed}`),minSize:200,size:200,sortDescFirst:!0,sortingFn(c,C){var W,B,Y,$e;const y=(B=(W=c.original)==null?void 0:W.speed)!=null?B:{upload:0,download:0},L=($e=(Y=C.original)==null?void 0:Y.speed)!=null?$e:{upload:0,download:0};return y.download===L.download?y.upload-L.upload:y.download-L.download},cell:c=>un(c.value[0],c.value[1])}),F.createDataColumn(x.Upload,{minSize:100,size:100,header:s(`columns.${x.Upload}`),cell:c=>_(c.value)}),F.createDataColumn(x.Download,{minSize:100,size:100,header:s(`columns.${x.Download}`),cell:c=>_(c.value)}),F.createDataColumn(x.SourceIP,{minSize:140,size:140,header:s(`columns.${x.SourceIP}`),filterFn:"equals"}),F.createDataColumn(x.DestinationIP,{minSize:140,size:140,header:s(`columns.${x.DestinationIP}`)}),F.createDataColumn(x.Time,{minSize:120,size:120,header:s(`columns.${x.Time}`),cell:c=>Ae(new Date(c.value),t),sortingFn:(c,C)=>{var y,L,W,B;return((L=(y=C.original)==null?void 0:y.time)!=null?L:0)-((B=(W=c.original)==null?void 0:W.time)!=null?B:0)}})]),[t,s]);m.exports.useLayoutEffect(()=>{function c(C){for(const y of C)u({uploadTotal:y.uploadTotal,downloadTotal:y.downloadTotal}),w(y.connections)}return o==null||o.subscribe("data",c),()=>{o==null||o.unsubscribe("data",c)}},[o,w,u]),xt(()=>{var c;(c=a.current)==null||c.destory()});const I=gt(F,{data:k,columns:j,getCoreRowModel:vt(),getSortedRowModel:wt(),getColumnFilteredRowModel:Ct(),initialState:{sorting:[{id:x.Time,desc:!1}]},columnResizeMode:"onChange",enableColumnResizing:!0,autoResetSorting:!1,autoResetColumnFilters:!1}),$=I.getHeaderGroups()[0],[R,se]=m.exports.useState("");function te(c){se(c),I.setColumnFilterValue(x.SourceIP,c||void 0)}const[T,X]=ue({visible:!1,selectedID:"",connection:{}});function J(){X(c=>{c.connection.completed=!0}),l.closeConnection(T.selectedID)}const K=he(T.connection);m.exports.useEffect(()=>{var C;const c=(C=k.find(y=>y.id===T.selectedID))==null?void 0:C.original;c?X(y=>{y.connection=b({},c),T.selectedID===K.current.id&&(y.connection.completed=K.current.completed)}):Object.keys(K.current).length!==0&&!K.current.completed&&X(y=>{y.connection.completed=!0})},[k,T.selectedID,K,X]);const oe=m.exports.useMemo(()=>{var c;return((c=N==null?void 0:N.intersectionRatio)!=null?c:0)<1},[N]),ce=$.headers.map((c,C)=>{const y=c.column,L=y.id;return e.createElement("th",M(b({},c.getHeaderProps(W=>ae(W,B=>{B.className=v("connections-th",{resizing:y.getIsResizing(),fixed:y.id===x.Host,shadow:oe&&y.id===x.Host}),!B.style&&(B.style={}),B.style.width=c.getSize()}))),{ref:y.id===x.Host?V:void 0,key:L}),e.createElement("div",b({},y.getToggleSortingProps()),c.renderHeader(),y.getIsSorted()!==!1?y.getIsSorted()==="desc"?" \u2193":" \u2191":null),C!==$.headers.length-1&&e.createElement("div",M(b({},c.getResizerProps()),{className:"connections-resizer"})))}),ie=I.getRowModel().rows.map(c=>{var C;return e.createElement("tr",M(b({},c.getRowProps()),{className:"cursor-default select-none",key:(C=c.original)==null?void 0:C.id,onClick:()=>{var y;return X({visible:!0,selectedID:(y=c.original)==null?void 0:y.id})}}),c.getAllCells().map(y=>{var W;const L=v("connections-block",{"text-center":cn.has(y.column.id),completed:(W=c.original)==null?void 0:W.completed},{fixed:y.column.id===x.Host,shadow:oe&&y.column.id===x.Host});return e.createElement("td",M(b({},y.getCellProps(B=>ae(B,Y=>{!Y.style&&(Y.style={}),Y.className=L,Y.style.width=y.column.getSize()}))),{key:y.column.id}),y.renderCell())}))});return e.createElement("div",{className:"page !h-100vh"},e.createElement(q,{title:s("title")},e.createElement("span",{className:"cursor-default flex-1 connections-filter"},`(${s("total.text")}: ${s("total.upload")} ${_(i.uploadTotal)} ${s("total.download")} ${_(i.downloadTotal)})`),e.createElement(tt,{className:"connections-filter",checked:g,onChange:A},s("keepClosed")),e.createElement(O,{className:"connections-filter dangerous",onClick:f,type:"close-all",size:20})),D.length>1&&e.createElement(on,{devices:D,selected:R,onChange:te}),e.createElement(H,{ref:r,className:"connections-card relative"},e.createElement("div",{className:"overflow-auto min-h-full min-w-full"},e.createElement("table",b({},I.getTableProps()),e.createElement("thead",null,e.createElement("tr",M(b({},$.getHeaderGroupProps()),{className:"connections-header"}),ce)),e.createElement("tbody",b({},I.getTableBodyProps()),ie)))),e.createElement(et,{title:s("closeAll.title"),show:h,onClose:E,onOk:d},s("closeAll.content")),e.createElement(sn,{containerRef:r,bodyClassName:"flex flex-col bg-[#15222a] text-[#b7c5d6]",visible:T.visible,width:450},e.createElement("div",{className:"flex h-8 justify-between items-center"},e.createElement("span",{className:"font-bold pl-3"},s("info.title")),e.createElement(O,{type:"close",size:16,className:"cursor-pointer",onClick:()=>X("visible",!1)})),e.createElement(an,{className:"mt-3 px-5",connection:T.connection}),e.createElement("div",{className:"flex mt-3 pr-3 justify-end"},e.createElement(ye,{type:"danger",disiabled:T.connection.completed,onClick:()=>J()},s("info.closeConnection")))))}function dn(){const{translation:n}=S(),{t}=n("Settings"),{hostname:s,port:o,secret:a}=re(),[l,r]=U(ke),[i,u]=ue({hostname:"",port:"",secret:""});m.exports.useEffect(()=>{u({hostname:s,port:o,secret:a})},[s,o,a,u]);const h=be(_e);function f(){const{hostname:E,port:d,secret:p}=i;h([{hostname:E,port:d,secret:p}])}return e.createElement(et,{show:!l,title:t("externalControllerSetting.title"),bodyClassName:"external-controller",onClose:()=>r(!0),onOk:f},e.createElement(en,{type:"info",inside:!0},e.createElement("p",null,t("externalControllerSetting.note"))),e.createElement("div",{className:"flex items-center"},e.createElement("span",{className:"font-bold my-1 w-14 md:my-3"},t("externalControllerSetting.host")),e.createElement(Q,{className:"flex-1 my-1 md:my-3",align:"left",inside:!0,value:i.hostname,onChange:E=>u("hostname",E),onEnter:f})),e.createElement("div",{className:"flex items-center"},e.createElement("div",{className:"font-bold my-1 w-14 md:my-3"},t("externalControllerSetting.port")),e.createElement(Q,{className:"flex-1 my-1 w-14 md:my-3",align:"left",inside:!0,value:i.port,onChange:E=>u("port",E),onEnter:f})),e.createElement("div",{className:"flex items-center"},e.createElement("div",{className:"font-bold my-1 w-14 md:my-3"},t("externalControllerSetting.secret")),e.createElement(Q,{className:"flex-1 my-1 w-14 md:my-3",align:"left",inside:!0,value:i.secret,onChange:E=>u("secret",E),onEnter:f})))}const pn=[{label:"Default",value:""},{label:"Debug",value:"debug"},{label:"Info",value:"info"},{label:"Warn",value:"warning"},{label:"Error",value:"error"},{label:"Silent",value:"silent"}],fn=new Map([["debug","text-teal-500"],["info","text-sky-500"],["warning","text-pink-500"],["error","text-rose-500"]]);function En(){var f,E;const n=m.exports.useRef(null),t=m.exports.useRef([]),[s,o]=m.exports.useState([]),{translation:a}=S(),{data:{logLevel:l},set:r}=me(),{t:i}=a("Logs"),u=Ze(),h=m.exports.useRef((E=(f=n.current)==null?void 0:f.scrollHeight)!=null?E:0);return m.exports.useLayoutEffect(()=>{var p;const d=n.current;d!=null&&h.current===d.scrollTop+d.clientHeight&&(d.scrollTop=d.scrollHeight-d.clientHeight),h.current=(p=d==null?void 0:d.scrollHeight)!=null?p:0}),m.exports.useEffect(()=>{function d(p){t.current=t.current.slice().concat(p.map(w=>M(b({},w),{time:new Date}))),o(t.current)}return u!=null&&(u.subscribe("data",d),t.current=u.buffer(),o(t.current)),()=>u==null?void 0:u.unsubscribe("data",d)},[u]),e.createElement("div",{className:"page"},e.createElement(q,{title:i("title")},e.createElement("span",{className:"text-sm text-primary-darken mr-2"},i("levelLabel"),":"),e.createElement(Yt,{options:pn,value:bt(l),onSelect:d=>r(p=>{p.logLevel=d})})),e.createElement(H,{className:"flex flex-col flex-1 mt-2.5 md:mt-4"},e.createElement("ul",{className:"logs-panel",ref:n},s.map((d,p)=>e.createElement("li",{className:"leading-5 inline-block",key:p},e.createElement("span",{className:"mr-2 text-orange-400"},"[",Pe(d.time).format("YYYY-MM-DD HH:mm:ss"),"]"),e.createElement("span",{className:fn.get(d.type)},"[",d.type.toUpperCase(),"]"),e.createElement("span",null," ",d.payload))))))}var xe=(n=>(n.SPEED_NOTIFY="speed-notify",n))(xe||{});class hn{constructor(){this.EE=new ze}notifySpeedTest(){this.EE.emit("speed-notify")}subscribe(t,s){this.EE.addListener(t,s)}unsubscribe(t,s){this.EE.removeListener(t,s)}}var ge=new hn;const Be={"#909399":0,"#57b366":260,"#ff9a28":600,"#ff3e5e":1/0};function st(n){const{config:t,className:s}=n,{set:o}=de(),a=z(),l=m.exports.useCallback(async E=>{var p;if(ne())return(p=await(P==null?void 0:P.getProxyDelay(E)))!=null?p:0;const{data:{delay:d}}=await a.getProxyDelay(E);return d},[a]),r=m.exports.useCallback(async function(){const E=await Oe.fromPromise(l(t.name),p=>p),d=E.isErr()?0:E.value;o(p=>{const w=p.proxies.find(g=>g.name===t.name);w!=null&&w.history.push({time:Date.now().toString(),delay:d})})},[t.name,l,o]),i=m.exports.useMemo(()=>{var E;return(E=t.history)!=null&&E.length?t.history.slice(-1)[0].delay:0},[t]);m.exports.useLayoutEffect(()=>{const E=()=>{r()};return ge.subscribe(xe.SPEED_NOTIFY,E),()=>ge.unsubscribe(xe.SPEED_NOTIFY,E)},[r]);const u=m.exports.useMemo(()=>i===0,[i]),h=m.exports.useMemo(()=>Object.keys(Be).find(E=>i<=Be[E]),[i]),f=u?void 0:h;return e.createElement("div",{className:v("proxy-item",{"proxy-error":u},s)},e.createElement("span",{className:"proxy-type",style:{backgroundColor:f}},t.type),e.createElement("p",{className:"proxy-name"},t.name),e.createElement("p",{className:"proxy-delay",style:{color:h}},i===0?"-":`${i}ms`))}function yn(n){const{markProxySelected:t}=de(),[s]=U(Ye),{data:o}=me(),a=z(),{config:l}=n;async function r(h){if(await a.changeProxySelected(n.config.name,h),t(n.config.name,h),o.breakConnections){const f=[],E=await a.getConnections();for(const d of E.data.connections)d.chains.includes(n.config.name)&&f.push(d.id);await Promise.all(f.map(d=>a.closeConnection(d)))}}const i=m.exports.useMemo(()=>{var f;const h=new Set;for(const E of l.all){const d=(f=s.get(E))==null?void 0:f.history;(d==null?void 0:d.length)&&d.slice(-1)[0].delay===0&&h.add(E)}return h},[l.all,s]),u=l.type==="Selector";return e.createElement("div",{className:"proxy-group"},e.createElement("div",{className:"flex h-10 mt-4 w-full items-center justify-between md:h-15 md:mt-0 md:w-auto "},e.createElement("span",{className:"h-6 px-5 w-35 overflow-hidden overflow-ellipsis whitespace-nowrap md:w-30"},l.name),e.createElement(le,{className:"mr-5 md:mr-0"},l.type)),e.createElement("div",{className:"flex-1 py-2 md:py-4"},e.createElement(Kt,{className:"ml-5 md:ml-8",data:l.all,onClick:r,errSet:i,select:l.now,canClick:u,rowHeight:30})))}function xn(n){const{update:t}=qe(),{translation:s,lang:o}=S(),a=z(),{provider:l}=n,{t:r}=s("Proxies"),{visible:i,hide:u,show:h}=Fe();function f(){h(),a.healthCheckProvider(l.name).then(async()=>await t()).finally(()=>u())}function E(){h(),a.updateProvider(l.name).then(async()=>await t()).finally(()=>u())}const d=m.exports.useMemo(()=>l.proxies.slice().sort((p,w)=>-1*ve(p,w)),[l.proxies]);return e.createElement(H,{className:"proxy-provider"},e.createElement(nt,{visible:i}),e.createElement("div",{className:"flex flex-col justify-between md:flex-row md:items-center "},e.createElement("div",{className:"flex items-center"},e.createElement("span",{className:"mr-6"},l.name),e.createElement(le,null,l.vehicleType),e.createElement(le,{className:"rule-provider-behavior"},l.proxies.length)),e.createElement("div",{className:"flex pt-3 items-center md:pt-0"},l.updatedAt&&e.createElement("span",{className:"text-sm"},`${r("providerUpdateTime")}: ${Ae(new Date(l.updatedAt),o)}`),e.createElement(O,{className:"cursor-pointer text-red pl-5",type:"healthcheck",size:18,onClick:f}),e.createElement(O,{className:"cursor-pointer pl-5",type:"update",size:18,onClick:E}))),e.createElement("ul",{className:"proxies-list"},d.map(p=>e.createElement("li",{key:p.name},e.createElement(st,{className:"proxy-provider-item",config:p})))))}const gn={[0]:"sort",[1]:"sort-ascending",[2]:"sort-descending"};function ve(n,t){const s=n.history.length>0?n.history.slice(-1)[0].delay:0;return((t.history.length>0?t.history.slice(-1)[0].delay:0)||Number.MAX_SAFE_INTEGER)-(s||Number.MAX_SAFE_INTEGER)}function vn(){const{groups:n,global:t}=de(),{data:s,set:o}=me(),{general:a}=De(),{translation:l}=S(),{t:r}=l("Proxies"),i=m.exports.useMemo(()=>a.mode==="global"?[t,...n]:n,[a,n,t]);return e.createElement(e.Fragment,null,i.length!==0&&e.createElement("div",{className:"flex flex-col"},e.createElement(q,{title:r("groupTitle")},e.createElement(tt,{className:"cursor-pointer text-sm text-shadow-primary text-[#619cc2]",checked:s.breakConnections,onChange:u=>o("breakConnections",u)},r("breakConnectionsText"))),e.createElement(H,{className:"my-2.5 p-0 md:my-4"},e.createElement("ul",{className:"list-none divide-y divide-gray-300"},i.map(u=>e.createElement("li",{key:u.name},e.createElement(yn,{config:u})))))))}function wn(){const{providers:n}=qe(),{translation:t}=S(),{t:s}=t("Proxies");return e.createElement(e.Fragment,null,n.length!==0&&e.createElement("div",{className:"flex flex-col"},e.createElement(q,{title:s("providerTitle")}),e.createElement("ul",{className:"list-none"},n.map(o=>e.createElement("li",{className:"my-2.5 md:my-4",key:o.name},e.createElement(xn,{provider:o}))))))}function Cn(){const{proxies:n}=de(),{translation:t}=S(),{t:s}=t("Proxies");function o(){ge.notifySpeedTest()}const{current:a,next:l}=tn([1,2,0]),r=m.exports.useMemo(()=>{switch(a){case 2:return n.slice().sort((u,h)=>ve(u,h));case 1:return n.slice().sort((u,h)=>-1*ve(u,h));default:return n.slice()}},[a,n]),i=l;return e.createElement(e.Fragment,null,r.length!==0&&e.createElement("div",{className:"flex flex-col"},e.createElement(q,{title:s("title")},e.createElement(O,{className:"ml-3",type:gn[a],onClick:i,size:20}),e.createElement(O,{className:"ml-3",type:"speed",size:20}),e.createElement("span",{className:"proxies-speed-test text-[#619cc2]",onClick:o},s("speedTestText"))),e.createElement(H,{className:"proxy-provider"},e.createElement("ul",{className:"proxies-list"},r.map(u=>e.createElement("li",{key:u.name},e.createElement(st,{config:u})))))))}function bn(){return e.createElement("div",{className:"page"},e.createElement(vn,null),e.createElement(wn,null),e.createElement(Cn,null))}function Nn(n){const{update:t}=Je(),{translation:s,lang:o}=S(),a=z(),{provider:l}=n,{t:r}=s("Rules"),{visible:i,hide:u,show:h}=Fe();function f(){h(),a.updateRuleProvider(l.name).then(async()=>await t()).finally(()=>u())}const E=v("rule-provider-icon",{"rule-provider-loading":i});return e.createElement("div",{className:"rule-provider"},e.createElement("div",{className:"rule-provider-header"},e.createElement("div",{className:"rule-provider-header-part"},e.createElement("span",{className:"rule-provider-name"},l.name),e.createElement(le,null,l.vehicleType),e.createElement(le,{className:"rule-provider-behavior"},l.behavior),e.createElement("span",{className:"rule-provider-update"},`${r("ruleCount")}: ${l.ruleCount}`)),e.createElement("div",{className:"rule-provider-header-part"},l.updatedAt&&e.createElement("span",{className:"rule-provider-update"},`${r("providerUpdateTime")}: ${Ae(new Date(l.updatedAt),o)}`),e.createElement(O,{className:E,type:"update",size:18,onClick:f}))))}function Pn(){const{providers:n}=Je(),{translation:t}=S(),{t:s}=t("Rules");return e.createElement(e.Fragment,null,n.length!==0&&e.createElement("div",{className:"flex flex-col"},e.createElement(q,{title:s("providerTitle")}),e.createElement(H,{className:"divide-y rounded shadow-primary mt-4 p-0"},n.map(o=>e.createElement(Nn,{key:o.name,provider:o})))))}function Sn(){const{rules:n,update:t}=Jt(),{translation:s}=S(),{t:o}=s("Rules");ee("rules",t);function a({index:l,style:r}){const i=n[l],u=i.size||-1;return e.createElement("li",{className:"rule-item",style:r},e.createElement("div",{className:"flex py-1"},e.createElement("div",{className:"text-center w-40 rule-type"},i.type),e.createElement("div",{className:"flex-1 text-center payload"}," ",u!==-1?`${i.payload} :: ${u}`:i.payload),e.createElement("div",{className:"text-center w-40 rule-proxy"},i.proxy)))}return e.createElement("div",{className:"page"},e.createElement(Pn,null),e.createElement(q,{className:"not-first:mt-7.5",title:o("title")}),e.createElement(H,{className:"flex flex-col flex-1 mt-2.5 p-0 md:mt-4 focus:outline-none text-sm"},e.createElement(Nt,{className:"min-h-120"},({height:l,width:r})=>e.createElement(Pt,{height:l,width:r,itemCount:n.length,itemSize:40},a))))}const kn=[{label:"\u4E2D\u6587",value:"zh_CN"},{label:"English",value:"en_US"}];function Dn(){var oe,ce,ie;const{premium:n}=Ve(),{data:t,update:s}=Qe(),{general:o,update:a}=De(),l=be(ke),r=re(),{translation:i,setLang:u,lang:h}=S(),{t:f}=i("Settings"),E=z(),[d,p]=ue({mixedProxyPort:0,socks5ProxyPort:7891,httpProxyPort:7890,redirProxyPort:7892});m.exports.useEffect(()=>{var c,C,y,L;p("socks5ProxyPort",(c=o==null?void 0:o.socksPort)!=null?c:0),p("httpProxyPort",(C=o==null?void 0:o.port)!=null?C:0),p("mixedProxyPort",(y=o==null?void 0:o.mixedPort)!=null?y:0),p("redirProxyPort",(L=o==null?void 0:o.redirPort)!=null?L:0)},[o,p]);async function w(c){await E.updateConfig({mode:c}),await a()}async function g(c){await(P==null?void 0:P.setStartAtLogin(c)),await s()}async function A(c){await(P==null?void 0:P.setSystemProxy(c)),await s()}function k(c){u(c)}async function D(){await E.updateConfig({port:d.httpProxyPort}),await a()}async function V(){await E.updateConfig({"socks-port":d.socks5ProxyPort}),await a()}async function N(){await E.updateConfig({"mixed-port":d.mixedProxyPort}),await a()}async function j(){await E.updateConfig({"redir-port":d.redirProxyPort}),await a()}async function I(c){await E.updateConfig({"allow-lan":c}),await a()}const{hostname:$,port:R}=r,{allowLan:se,mode:te}=o,T=(oe=t==null?void 0:t.startAtLogin)!=null?oe:!1,X=(ce=t==null?void 0:t.systemProxy)!=null?ce:!1,J=(ie=t==null?void 0:t.isClashX)!=null?ie:!1,K=m.exports.useMemo(()=>{const c=[{label:f("values.global"),value:"Global"},{label:f("values.rules"),value:"Rule"},{label:f("values.direct"),value:"Direct"}];return n&&c.push({label:f("values.script"),value:"Script"}),c},[f,n]);return e.createElement("div",{className:"page"},e.createElement(q,{title:f("title")}),e.createElement(H,{className:"settings-card"},e.createElement("div",{className:"flex flex-wrap"},e.createElement("div",{className:"flex flex-wrap w-full py-3 px-8 items-center justify-between "},e.createElement("span",{className:"font-bold label"},f("labels.language")),e.createElement(Re,{options:kn,value:h,onSelect:c=>k(c)})),e.createElement("div",{className:"flex flex-wrap w-full py-3 px-8 items-center justify-between "},e.createElement("span",{className:"font-bold label"},f("labels.allowConnectFromLan")),e.createElement(fe,{checked:se,onChange:I}))),e.createElement("div",{className:"flex flex-wrap"},e.createElement("div",{className:"flex flex-wrap w-full py-3 px-8 items-center justify-between "},e.createElement("span",{className:"font-bold label"},f("labels.proxyMode")),e.createElement(Re,{options:K,value:St(te),onSelect:w})))),J&&e.createElement(H,{className:"settings-card"},e.createElement("div",{className:"flex flex-wrap"},e.createElement("div",{className:"flex w-full py-3 px-8 items-center justify-between md:w-1/2"},e.createElement("span",{className:"font-bold label"},f("labels.startAtLogin")),e.createElement(fe,{checked:T,onChange:g})),e.createElement("div",{className:"flex w-full py-3 px-8 items-center justify-between md:w-1/2"},e.createElement("span",{className:"font-bold label"},f("labels.setAsSystemProxy")),e.createElement(fe,{checked:X,onChange:A})))),e.createElement(H,{className:"settings-card"},e.createElement("div",{className:"flex flex-wrap"},e.createElement("div",{className:"flex flex-wrap w-full py-3 px-8 items-center justify-between md:w-1/2"},e.createElement("span",{className:"font-bold label"},f("labels.mixedProxyPort")),e.createElement(Q,{className:"w-28",disabled:J,value:d.mixedProxyPort,onChange:c=>p("mixedProxyPort",+c),onBlur:N})),e.createElement("div",{className:"flex w-full py-3 px-8 items-center justify-between md:w-1/2"},e.createElement("span",{className:"font-bold label"},f("labels.redirProxyPort")),e.createElement(Q,{className:"w-28",disabled:J,value:d.redirProxyPort,onChange:c=>p("redirProxyPort",+c),onBlur:j}))),e.createElement("div",{className:"flex flex-wrap"},e.createElement("div",{className:"flex flex-wrap w-full py-3 px-8 items-center justify-between md:w-1/2"},e.createElement("span",{className:"font-bold label"},f("labels.socks5ProxyPort")),e.createElement(Q,{className:"w-28",disabled:J,value:d.socks5ProxyPort,onChange:c=>p("socks5ProxyPort",+c),onBlur:V})),e.createElement("div",{className:"flex flex-wrap w-full py-3 px-8 items-center justify-between md:w-1/2"},e.createElement("span",{className:"font-bold label"},f("labels.httpProxyPort")),e.createElement(Q,{className:"w-28",disabled:J,value:d.httpProxyPort,onChange:c=>p("httpProxyPort",+c),onBlur:D})),e.createElement("div",{className:"flex flex-wrap w-full py-3 px-8 items-center justify-between md:w-1/2"},e.createElement("span",{className:"font-bold label"},f("labels.externalController")),e.createElement("span",{className:v({"modify-btn":!J},"external-controller"),onClick:()=>!J&&l(!1)},`${$}:${R}`)))))}var Fn="./assets/logo.0dc1c7df.png";function An(n){const{routes:t}=n,{translation:s}=S(),{version:o,premium:a,meta:l}=Ve(),{data:r}=Qe(),{t:i}=s("SideBar"),u=Ce(),h=t.map(({path:f,name:E,noMobile:d})=>e.createElement("li",{className:v("item",{"no-mobile":d}),key:E},e.createElement(kt,{to:{pathname:f,search:u.search},className:({isActive:p})=>v({active:p})},i(E))));return e.createElement("div",{className:"sidebar"},e.createElement("img",{src:Fn,alt:"logo",className:"sidebar-logo"}),e.createElement("ul",{className:"sidebar-menu"},h),e.createElement("div",{className:"sidebar-version"},e.createElement("span",{className:"sidebar-version-label"},"Clash",(r==null?void 0:r.isClashX)&&"X"," ",i("Version")),e.createElement("span",{className:"sidebar-version-text"},o),a&&e.createElement("span",{className:"sidebar-version-label"},"Premium"),l&&e.createElement("span",{className:"sidebar-version-label"},"Meta")))}function $n(){Ze();const n=Ce(),t=[{path:"/proxies",name:"Proxies",element:e.createElement(bn,null)},{path:"/logs",name:"Logs",element:e.createElement(En,null)},{path:"/rules",name:"Rules",element:e.createElement(Sn,null),noMobile:!0},{path:"/connections",name:"Connections",element:e.createElement(mn,null),noMobile:!1},{path:"/settings",name:"Settings",element:e.createElement(Dn,null)}],s=e.createElement("div",{className:v("app",{"not-clashx":!ne()})},e.createElement(An,{routes:t}),e.createElement("div",{className:"page-container"},e.createElement(Dt,null)),e.createElement(dn,null));return e.createElement(Ft,null,e.createElement(pe,{path:"/",element:s},e.createElement(pe,{path:"/",element:e.createElement(At,{to:{pathname:"/proxies",search:n.search},replace:!0})}),t.map(o=>e.createElement(pe,{path:o.path,key:o.path,element:o.element}))))}function Me(){const n=document.getElementById("root"),t=e.createElement(m.exports.StrictMode,null,e.createElement(Lt,null,e.createElement(m.exports.Suspense,{fallback:e.createElement(nt,{visible:!0})},e.createElement($n,null))));$t(n).render(t)}ne()?Tt(()=>Me()):Me(); diff --git a/bin/Razord-meta-gh-pages/assets/logo.0dc1c7df.png b/bin/Razord-meta-gh-pages/assets/logo.0dc1c7df.png deleted file mode 100644 index 1f6323da..00000000 Binary files a/bin/Razord-meta-gh-pages/assets/logo.0dc1c7df.png and /dev/null differ diff --git a/bin/Razord-meta-gh-pages/assets/vendor.4a7a512f.js b/bin/Razord-meta-gh-pages/assets/vendor.4a7a512f.js deleted file mode 100644 index a88047c7..00000000 --- a/bin/Razord-meta-gh-pages/assets/vendor.4a7a512f.js +++ /dev/null @@ -1,103 +0,0 @@ -var es=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},F={exports:{}},K={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Do=Symbol.for("react.element"),em=Symbol.for("react.portal"),tm=Symbol.for("react.fragment"),nm=Symbol.for("react.strict_mode"),rm=Symbol.for("react.profiler"),om=Symbol.for("react.provider"),im=Symbol.for("react.context"),um=Symbol.for("react.forward_ref"),lm=Symbol.for("react.suspense"),am=Symbol.for("react.memo"),sm=Symbol.for("react.lazy"),_f=Symbol.iterator;function fm(e){return e===null||typeof e!="object"?null:(e=_f&&e[_f]||e["@@iterator"],typeof e=="function"?e:null)}var Xd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Zd=Object.assign,ep={};function Er(e,t,n){this.props=e,this.context=t,this.refs=ep,this.updater=n||Xd}Er.prototype.isReactComponent={};Er.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Er.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function tp(){}tp.prototype=Er.prototype;function ts(e,t,n){this.props=e,this.context=t,this.refs=ep,this.updater=n||Xd}var ns=ts.prototype=new tp;ns.constructor=ts;Zd(ns,Er.prototype);ns.isPureReactComponent=!0;var Rf=Array.isArray,np=Object.prototype.hasOwnProperty,rs={current:null},rp={key:!0,ref:!0,__self:!0,__source:!0};function op(e,t,n){var r,o={},i=null,u=null;if(t!=null)for(r in t.ref!==void 0&&(u=t.ref),t.key!==void 0&&(i=""+t.key),t)np.call(t,r)&&!rp.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1>>1,O=$[R];if(0>>1;Ro(I,C))Uo(B,I)?($[R]=B,$[U]=C,R=U):($[R]=I,$[M]=C,R=M);else if(Uo(B,C))$[R]=B,$[U]=C,R=U;else break e}}return L}function o($,L){var C=$.sortIndex-L.sortIndex;return C!==0?C:$.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var u=Date,l=u.now();e.unstable_now=function(){return u.now()-l}}var a=[],s=[],f=1,c=null,d=3,m=!1,y=!1,v=!1,w=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate!="undefined"?setImmediate:null;typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h($){for(var L=n(s);L!==null;){if(L.callback===null)r(s);else if(L.startTime<=$)r(s),L.sortIndex=L.expirationTime,t(a,L);else break;L=n(s)}}function S($){if(v=!1,h($),!y)if(n(a)!==null)y=!0,V(_);else{var L=n(s);L!==null&&N(S,L.startTime-$)}}function _($,L){y=!1,v&&(v=!1,p(x),x=-1),m=!0;var C=d;try{for(h(L),c=n(a);c!==null&&(!(c.expirationTime>L)||$&&!G());){var R=c.callback;if(typeof R=="function"){c.callback=null,d=c.priorityLevel;var O=R(c.expirationTime<=L);L=e.unstable_now(),typeof O=="function"?c.callback=O:c===n(a)&&r(a),h(L)}else r(a);c=n(a)}if(c!==null)var b=!0;else{var M=n(s);M!==null&&N(S,M.startTime-L),b=!1}return b}finally{c=null,d=C,m=!1}}var E=!1,P=null,x=-1,A=5,k=-1;function G(){return!(e.unstable_now()-k$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<$?Math.floor(1e3/$):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function($){switch(d){case 1:case 2:case 3:var L=3;break;default:L=d}var C=d;d=L;try{return $()}finally{d=C}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function($,L){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var C=d;d=$;try{return L()}finally{d=C}},e.unstable_scheduleCallback=function($,L,C){var R=e.unstable_now();switch(typeof C=="object"&&C!==null?(C=C.delay,C=typeof C=="number"&&0R?($.sortIndex=C,t(s,$),n(a)===null&&$===n(s)&&(v?(p(x),x=-1):v=!0,N(S,C-R))):($.sortIndex=O,t(a,$),y||m||(y=!0,V(_))),$},e.unstable_shouldYield=G,e.unstable_wrapCallback=function($){var L=d;return function(){var C=d;d=L;try{return $.apply(this,arguments)}finally{d=C}}}})(lp);up.exports=lp;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ap=F.exports,Ve=up.exports;function z(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt}return!1}function be(e,t,n,r,o,i,u){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=u}var we={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){we[e]=new be(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];we[t]=new be(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){we[e]=new be(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){we[e]=new be(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){we[e]=new be(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){we[e]=new be(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){we[e]=new be(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){we[e]=new be(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){we[e]=new be(e,5,!1,e.toLowerCase(),null,!1,!1)});var is=/[\-:]([a-z])/g;function us(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(is,us);we[t]=new be(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(is,us);we[t]=new be(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(is,us);we[t]=new be(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){we[e]=new be(e,1,!1,e.toLowerCase(),null,!1,!1)});we.xlinkHref=new be("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){we[e]=new be(e,1,!1,e.toLowerCase(),null,!0,!0)});function ls(e,t,n,r){var o=we.hasOwnProperty(t)?we[t]:null;(o!==null?o.type!==0:r||!(2l||o[u]!==i[l]){var a=` -`+o[u].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=u&&0<=l);break}}}finally{Uu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Gr(e):""}function Sm(e){switch(e.tag){case 5:return Gr(e.type);case 16:return Gr("Lazy");case 13:return Gr("Suspense");case 19:return Gr("SuspenseList");case 0:case 2:case 15:return e=Vu(e.type,!1),e;case 11:return e=Vu(e.type.render,!1),e;case 1:return e=Vu(e.type,!0),e;default:return""}}function Ll(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Kn:return"Fragment";case Yn:return"Portal";case Tl:return"Profiler";case as:return"StrictMode";case Fl:return"Suspense";case zl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case cp:return(e.displayName||"Context")+".Consumer";case fp:return(e._context.displayName||"Context")+".Provider";case ss:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case fs:return t=e.displayName||null,t!==null?t:Ll(e.type)||"Memo";case Gt:t=e._payload,e=e._init;try{return Ll(e(t))}catch{}}return null}function wm(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ll(t);case 8:return t===as?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function an(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function pp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Cm(e){var t=pp(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n!="undefined"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(u){r=""+u,i.call(this,u)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(u){r=""+u},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Yo(e){e._valueTracker||(e._valueTracker=Cm(e))}function gp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=pp(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Fi(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function Dl(e,t){var n=t.checked;return le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function $f(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=an(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function vp(e,t){t=t.checked,t!=null&&ls(e,"checked",t,!1)}function Nl(e,t){vp(e,t);var n=an(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Hl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Hl(e,t.type,an(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Af(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Hl(e,t,n){(t!=="number"||Fi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Wr=Array.isArray;function ur(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Ko.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function po(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Qr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},_m=["Webkit","ms","Moz","O"];Object.keys(Qr).forEach(function(e){_m.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Qr[t]=Qr[e]})});function Sp(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Qr.hasOwnProperty(e)&&Qr[e]?(""+t).trim():t+"px"}function wp(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Sp(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Rm=le({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Vl(e,t){if(t){if(Rm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(z(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(z(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(z(61))}if(t.style!=null&&typeof t.style!="object")throw Error(z(62))}}function Bl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Gl=null;function cs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Wl=null,lr=null,ar=null;function bf(e){if(e=jo(e)){if(typeof Wl!="function")throw Error(z(280));var t=e.stateNode;t&&(t=mu(t),Wl(e.stateNode,e.type,t))}}function Cp(e){lr?ar?ar.push(e):ar=[e]:lr=e}function _p(){if(lr){var e=lr,t=ar;if(ar=lr=null,bf(e),t)for(e=0;e>>=0,e===0?32:31-(Tm(e)/Fm|0)|0}var Qo=64,Jo=4194304;function qr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ni(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,u=n&268435455;if(u!==0){var l=u&~o;l!==0?r=qr(l):(i&=u,i!==0&&(r=qr(i)))}else u=n&~o,u!==0?r=qr(u):i!==0&&(r=qr(i));if(r===0)return 0;if(t!==0&&t!==r&&(t&o)===0&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function No(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ct(t),e[t]=n}function Nm(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Xr),jf=String.fromCharCode(32),Uf=!1;function Up(e,t){switch(e){case"keyup":return p0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Qn=!1;function v0(e,t){switch(e){case"compositionend":return Vp(t);case"keypress":return t.which!==32?null:(Uf=!0,jf);case"textInput":return e=t.data,e===jf&&Uf?null:e;default:return null}}function h0(e,t){if(Qn)return e==="compositionend"||!Ss&&Up(e,t)?(e=Hp(),_i=hs=Qt=null,Qn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Wf(n)}}function qp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?qp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Yp(){for(var e=window,t=Fi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Fi(e.document)}return t}function ws(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function x0(e){var t=Yp(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&qp(n.ownerDocument.documentElement,n)){if(r!==null&&ws(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=qf(n,i);var u=qf(n,r);o&&u&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(u.node,u.offset)):(t.setEnd(u.node,u.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Jn=null,Xl=null,eo=null,Zl=!1;function Yf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Zl||Jn==null||Jn!==Fi(r)||(r=Jn,"selectionStart"in r&&ws(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),eo&&So(eo,r)||(eo=r,r=Ui(Xl,"onSelect"),0er||(e.current=ia[er],ia[er]=null,er--)}function ee(e,t){er++,ia[er]=e.current,e.current=t}var sn={},Pe=vn(sn),ze=vn(!1),An=sn;function pr(e,t){var n=e.type.contextTypes;if(!n)return sn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Le(e){return e=e.childContextTypes,e!=null}function Bi(){re(ze),re(Pe)}function tc(e,t,n){if(Pe.current!==sn)throw Error(z(168));ee(Pe,t),ee(ze,n)}function rg(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(z(108,wm(e)||"Unknown",o));return le({},n,r)}function Gi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||sn,An=Pe.current,ee(Pe,e),ee(ze,ze.current),!0}function nc(e,t,n){var r=e.stateNode;if(!r)throw Error(z(169));n?(e=rg(e,t,An),r.__reactInternalMemoizedMergedChildContext=e,re(ze),re(Pe),ee(Pe,e)):re(ze),ee(ze,n)}var At=null,yu=!1,rl=!1;function og(e){At===null?At=[e]:At.push(e)}function L0(e){yu=!0,og(e)}function hn(){if(!rl&&At!==null){rl=!0;var e=0,t=X;try{var n=At;for(X=1;e>=u,o-=u,kt=1<<32-ct(t)+o|n<x?(A=P,P=null):A=P.sibling;var k=d(p,P,h[x],S);if(k===null){P===null&&(P=A);break}e&&P&&k.alternate===null&&t(p,P),g=i(k,g,x),E===null?_=k:E.sibling=k,E=k,P=A}if(x===h.length)return n(p,P),oe&&mn(p,x),_;if(P===null){for(;xx?(A=P,P=null):A=P.sibling;var G=d(p,P,k.value,S);if(G===null){P===null&&(P=A);break}e&&P&&G.alternate===null&&t(p,P),g=i(G,g,x),E===null?_=G:E.sibling=G,E=G,P=A}if(k.done)return n(p,P),oe&&mn(p,x),_;if(P===null){for(;!k.done;x++,k=h.next())k=c(p,k.value,S),k!==null&&(g=i(k,g,x),E===null?_=k:E.sibling=k,E=k);return oe&&mn(p,x),_}for(P=r(p,P);!k.done;x++,k=h.next())k=m(P,p,x,k.value,S),k!==null&&(e&&k.alternate!==null&&P.delete(k.key===null?x:k.key),g=i(k,g,x),E===null?_=k:E.sibling=k,E=k);return e&&P.forEach(function(J){return t(p,J)}),oe&&mn(p,x),_}function w(p,g,h,S){if(typeof h=="object"&&h!==null&&h.type===Kn&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case qo:e:{for(var _=h.key,E=g;E!==null;){if(E.key===_){if(_=h.type,_===Kn){if(E.tag===7){n(p,E.sibling),g=o(E,h.props.children),g.return=p,p=g;break e}}else if(E.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Gt&&sc(_)===E.type){n(p,E.sibling),g=o(E,h.props),g.ref=Nr(p,E,h),g.return=p,p=g;break e}n(p,E);break}else t(p,E);E=E.sibling}h.type===Kn?(g=$n(h.props.children,p.mode,S,h.key),g.return=p,p=g):(S=Ai(h.type,h.key,h.props,null,p.mode,S),S.ref=Nr(p,g,h),S.return=p,p=S)}return u(p);case Yn:e:{for(E=h.key;g!==null;){if(g.key===E)if(g.tag===4&&g.stateNode.containerInfo===h.containerInfo&&g.stateNode.implementation===h.implementation){n(p,g.sibling),g=o(g,h.children||[]),g.return=p,p=g;break e}else{n(p,g);break}else t(p,g);g=g.sibling}g=fl(h,p.mode,S),g.return=p,p=g}return u(p);case Gt:return E=h._init,w(p,g,E(h._payload),S)}if(Wr(h))return y(p,g,h,S);if(Mr(h))return v(p,g,h,S);ri(p,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,g!==null&&g.tag===6?(n(p,g.sibling),g=o(g,h),g.return=p,p=g):(n(p,g),g=sl(h,p.mode,S),g.return=p,p=g),u(p)):n(p,g)}return w}var vr=fg(!0),cg=fg(!1),Uo={},Rt=vn(Uo),Ro=vn(Uo),Eo=vn(Uo);function En(e){if(e===Uo)throw Error(z(174));return e}function $s(e,t){switch(ee(Eo,t),ee(Ro,e),ee(Rt,Uo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ul(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ul(t,e)}re(Rt),ee(Rt,t)}function hr(){re(Rt),re(Ro),re(Eo)}function dg(e){En(Eo.current);var t=En(Rt.current),n=Ul(t,e.type);t!==n&&(ee(Ro,e),ee(Rt,n))}function As(e){Ro.current===e&&(re(Rt),re(Ro))}var ie=vn(0);function Ji(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ol=[];function Is(){for(var e=0;en?n:4,e(!0);var r=il.transition;il.transition={};try{e(!1),t()}finally{X=n,il.transition=r}}function Og(){return nt().memoizedState}function j0(e,t,n){var r=un(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},$g(e)?Ag(t,n):(Ig(e,t,n),n=Ie(),e=Ze(e,r,n),e!==null&&kg(e,t,r))}function U0(e,t,n){var r=un(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if($g(e))Ag(t,o);else{Ig(e,t,o);var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var u=t.lastRenderedState,l=i(u,n);if(o.hasEagerState=!0,o.eagerState=l,pt(l,u))return}catch{}finally{}n=Ie(),e=Ze(e,r,n),e!==null&&kg(e,t,r)}}function $g(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function Ag(e,t){to=Xi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ig(e,t,n){Yg(e)?(e=t.interleaved,e===null?(n.next=n,ft===null?ft=[t]:ft.push(t)):(n.next=e.next,e.next=n),t.interleaved=n):(e=t.pending,e===null?n.next=n:(n.next=e.next,e.next=n),t.pending=n)}function kg(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ps(e,n)}}var Zi={readContext:tt,useCallback:_e,useContext:_e,useEffect:_e,useImperativeHandle:_e,useInsertionEffect:_e,useLayoutEffect:_e,useMemo:_e,useReducer:_e,useRef:_e,useState:_e,useDebugValue:_e,useDeferredValue:_e,useTransition:_e,useMutableSource:_e,useSyncExternalStore:_e,useId:_e,unstable_isNewReconciler:!1},V0={readContext:tt,useCallback:function(e,t){return St().memoizedState=[e,t===void 0?null:t],e},useContext:tt,useEffect:cc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Pi(4194308,4,_g.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Pi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Pi(4,2,e,t)},useMemo:function(e,t){var n=St();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=St();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=j0.bind(null,ue,e),[r.memoizedState,e]},useRef:function(e){var t=St();return e={current:e},t.memoizedState=e},useState:fc,useDebugValue:Fs,useDeferredValue:function(e){return St().memoizedState=e},useTransition:function(){var e=fc(!1),t=e[0];return e=H0.bind(null,e[1]),St().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ue,o=St();if(oe){if(n===void 0)throw Error(z(407));n=n()}else{if(n=t(),ge===null)throw Error(z(349));(kn&30)!==0||vg(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,cc(mg.bind(null,r,i,e),[e]),r.flags|=2048,Oo(9,hg.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=St(),t=ge.identifierPrefix;if(oe){var n=bt,r=kt;n=(r&~(1<<32-ct(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=xo++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),n==="select"&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[wt]=t,e[_o]=r,Tg(e,t,!1,!1),t.stateNode=e;e:{switch(u=Bl(n,r),n){case"dialog":te("cancel",e),te("close",e),o=r;break;case"iframe":case"object":case"embed":te("load",e),o=r;break;case"video":case"audio":for(o=0;omr&&(t.flags|=128,r=!0,Hr(i,!1),t.lanes=4194304)}else{if(!r)if(e=Ji(u),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Hr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!u.alternate&&!oe)return Re(t),null}else 2*fe()-i.renderingStartTime>mr&&n!==1073741824&&(t.flags|=128,r=!0,Hr(i,!1),t.lanes=4194304);i.isBackwards?(u.sibling=t.child,t.child=u):(n=i.last,n!==null?n.sibling=u:t.child=u,i.last=u)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=fe(),t.sibling=null,n=ie.current,ee(ie,r?n&1|2:n&1),t):(Re(t),null);case 22:case 23:return js(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(je&1073741824)!==0&&(Re(t),t.subtreeFlags&6&&(t.flags|=8192)):Re(t),null;case 24:return null;case 25:return null}throw Error(z(156,t.tag))}var Y0=Nt.ReactCurrentOwner,Fe=!1;function $e(e,t,n,r){t.child=e===null?cg(t,null,n,r):vr(t,e.child,n,r)}function vc(e,t,n,r,o){n=n.render;var i=t.ref;return fr(t,o),r=bs(e,t,n,r,i,o),n=Ms(),e!==null&&!Fe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Lt(e,t,o)):(oe&&n&&xs(t),t.flags|=1,$e(e,t,r,o),t.child)}function hc(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!Vs(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Lg(e,t,i,r,o)):(e=Ai(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&o)===0){var u=i.memoizedProps;if(n=n.compare,n=n!==null?n:So,n(u,r)&&e.ref===t.ref)return Lt(e,t,o)}return t.flags|=1,e=fn(i,r),e.ref=t.ref,e.return=t,t.child=e}function Lg(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(So(i,r)&&e.ref===t.ref)if(Fe=!1,t.pendingProps=r=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(Fe=!0);else return t.lanes=e.lanes,Lt(e,t,o)}return pa(e,t,n,r,o)}function Dg(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ee(ir,je),je|=n;else if((n&1073741824)!==0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ee(ir,je),je|=r;else return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ee(ir,je),je|=e,null;else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ee(ir,je),je|=r;return $e(e,t,o,n),t.child}function Ng(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function pa(e,t,n,r,o){var i=Le(n)?An:Pe.current;return i=pr(t,i),fr(t,o),n=bs(e,t,n,r,i,o),r=Ms(),e!==null&&!Fe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Lt(e,t,o)):(oe&&r&&xs(t),t.flags|=1,$e(e,t,n,o),t.child)}function mc(e,t,n,r,o){if(Le(n)){var i=!0;Gi(t)}else i=!1;if(fr(t,o),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),lg(t,n,r),aa(t,n,r,o),r=!0;else if(e===null){var u=t.stateNode,l=t.memoizedProps;u.props=l;var a=u.context,s=n.contextType;typeof s=="object"&&s!==null?s=tt(s):(s=Le(n)?An:Pe.current,s=pr(t,s));var f=n.getDerivedStateFromProps,c=typeof f=="function"||typeof u.getSnapshotBeforeUpdate=="function";c||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(l!==r||a!==s)&&uc(t,u,r,s),Wt=!1;var d=t.memoizedState;u.state=d,Yi(t,r,u,o),a=t.memoizedState,l!==r||d!==a||ze.current||Wt?(typeof f=="function"&&(la(t,n,f,r),a=t.memoizedState),(l=Wt||ic(t,n,l,r,d,a,s))?(c||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),u.props=r,u.state=a,u.context=s,r=l):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{u=t.stateNode,ig(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:ut(t.type,l),u.props=s,c=t.pendingProps,d=u.context,a=n.contextType,typeof a=="object"&&a!==null?a=tt(a):(a=Le(n)?An:Pe.current,a=pr(t,a));var m=n.getDerivedStateFromProps;(f=typeof m=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(l!==c||d!==a)&&uc(t,u,r,a),Wt=!1,d=t.memoizedState,u.state=d,Yi(t,r,u,o);var y=t.memoizedState;l!==c||d!==y||ze.current||Wt?(typeof m=="function"&&(la(t,n,m,r),y=t.memoizedState),(s=Wt||ic(t,n,s,r,d,y,a)||!1)?(f||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(r,y,a),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(r,y,a)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),u.props=r,u.state=y,u.context=a,r=s):(typeof u.componentDidUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return ga(e,t,n,r,i,o)}function ga(e,t,n,r,o,i){Ng(e,t);var u=(t.flags&128)!==0;if(!r&&!u)return o&&nc(t,n,!1),Lt(e,t,i);r=t.stateNode,Y0.current=t;var l=u&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&u?(t.child=vr(t,e.child,null,i),t.child=vr(t,null,l,i)):$e(e,t,l,i),t.memoizedState=r.state,o&&nc(t,n,!0),t.child}function Hg(e){var t=e.stateNode;t.pendingContext?tc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&tc(e,t.context,!1),$s(e,t.containerInfo)}function yc(e,t,n,r,o){return gr(),Os(o),t.flags|=256,$e(e,t,n,r),t.child}var oi={dehydrated:null,treeContext:null,retryLane:0};function ii(e){return{baseLanes:e,cachePool:null,transitions:null}}function Sc(e,t){return{baseLanes:e.baseLanes|t,cachePool:null,transitions:e.transitions}}function jg(e,t,n){var r=t.pendingProps,o=ie.current,i=!1,u=(t.flags&128)!==0,l;if((l=u)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),ee(ie,o&1),e===null)return fa(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},(r&1)===0&&i!==null?(i.childLanes=0,i.pendingProps=o):i=ou(o,r,0,null),e=$n(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=ii(n),t.memoizedState=oi,e):va(t,o));if(o=e.memoizedState,o!==null){if(l=o.dehydrated,l!==null){if(u)return t.flags&256?(t.flags&=-257,ui(e,t,n,Error(z(422)))):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=ou({mode:"visible",children:r.children},o,0,null),i=$n(i,o,n,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,(t.mode&1)!==0&&vr(t,e.child,null,n),t.child.memoizedState=ii(n),t.memoizedState=oi,i);if((t.mode&1)===0)t=ui(e,t,n,null);else if(l.data==="$!")t=ui(e,t,n,Error(z(419)));else if(r=(n&e.childLanes)!==0,Fe||r){if(r=ge,r!==null){switch(n&-n){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}r=(i&(r.suspendedLanes|n))!==0?0:i,r!==0&&r!==o.retryLane&&(o.retryLane=r,Ze(e,r,-1))}Us(),t=ui(e,t,n,Error(z(421)))}else l.data==="$?"?(t.flags|=128,t.child=e.child,t=uy.bind(null,e),l._reactRetry=t,t=null):(n=o.treeContext,Te=It(l.nextSibling),Ue=t,oe=!0,at=null,n!==null&&(Ke[Qe++]=kt,Ke[Qe++]=bt,Ke[Qe++]=In,kt=n.id,bt=n.overflow,In=t),t=va(t,t.pendingProps.children),t.flags|=4096);return t}return i?(r=Cc(e,t,r.children,r.fallback,n),i=t.child,o=e.child.memoizedState,i.memoizedState=o===null?ii(n):Sc(o,n),i.childLanes=e.childLanes&~n,t.memoizedState=oi,r):(n=wc(e,t,r.children,n),t.memoizedState=null,n)}return i?(r=Cc(e,t,r.children,r.fallback,n),i=t.child,o=e.child.memoizedState,i.memoizedState=o===null?ii(n):Sc(o,n),i.childLanes=e.childLanes&~n,t.memoizedState=oi,r):(n=wc(e,t,r.children,n),t.memoizedState=null,n)}function va(e,t){return t=ou({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function wc(e,t,n,r){var o=e.child;return e=o.sibling,n=fn(o,{mode:"visible",children:n}),(t.mode&1)===0&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n}function Cc(e,t,n,r,o){var i=t.mode;e=e.child;var u=e.sibling,l={mode:"hidden",children:n};return(i&1)===0&&t.child!==e?(n=t.child,n.childLanes=0,n.pendingProps=l,t.deletions=null):(n=fn(e,l),n.subtreeFlags=e.subtreeFlags&14680064),u!==null?r=fn(u,r):(r=$n(r,i,o,null),r.flags|=2),r.return=t,n.return=t,n.sibling=r,t.child=n,r}function ui(e,t,n,r){return r!==null&&Os(r),vr(t,e.child,null,n),e=va(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function _c(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ua(e.return,t,n)}function al(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Ug(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if($e(e,t,r.children,n),r=ie.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&_c(e,n,t);else if(e.tag===19)_c(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ee(ie,r),(t.mode&1)===0)t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Ji(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),al(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Ji(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}al(t,!0,n,null,i);break;case"together":al(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Lt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),bn|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(z(153));if(t.child!==null){for(e=t.child,n=fn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=fn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function K0(e,t,n){switch(t.tag){case 3:Hg(t),gr();break;case 5:dg(t);break;case 1:Le(t.type)&&Gi(t);break;case 4:$s(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ee(Wi,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ee(ie,ie.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?jg(e,t,n):(ee(ie,ie.current&1),e=Lt(e,t,n),e!==null?e.sibling:null);ee(ie,ie.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return Ug(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ee(ie,ie.current),r)break;return null;case 22:case 23:return t.lanes=0,Dg(e,t,n)}return Lt(e,t,n)}function Q0(e,t){switch(Ps(t),t.tag){case 1:return Le(t.type)&&Bi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return hr(),re(ze),re(Pe),Is(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return As(t),null;case 13:if(re(ie),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(z(340));gr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return re(ie),null;case 4:return hr(),null;case 10:return Rs(t.type._context),null;case 22:case 23:return js(),null;case 24:return null;default:return null}}var li=!1,Ee=!1,J0=typeof WeakSet=="function"?WeakSet:Set,j=null;function or(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ae(e,t,r)}else n.current=null}function ha(e,t,n){try{n()}catch(r){ae(e,t,r)}}var Rc=!1;function X0(e,t){if(ea=Hi,e=Yp(),ws(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var u=0,l=-1,a=-1,s=0,f=0,c=e,d=null;t:for(;;){for(var m;c!==n||o!==0&&c.nodeType!==3||(l=u+o),c!==i||r!==0&&c.nodeType!==3||(a=u+r),c.nodeType===3&&(u+=c.nodeValue.length),(m=c.firstChild)!==null;)d=c,c=m;for(;;){if(c===e)break t;if(d===n&&++s===o&&(l=u),d===i&&++f===r&&(a=u),(m=c.nextSibling)!==null)break;c=d,d=c.parentNode}c=m}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Hi=!1,j=t;j!==null;)if(t=j,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,j=e;else for(;j!==null;){t=j;try{var y=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var v=y.memoizedProps,w=y.memoizedState,p=t.stateNode,g=p.getSnapshotBeforeUpdate(t.elementType===t.type?v:ut(t.type,v),w);p.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var h=t.stateNode.containerInfo;if(h.nodeType===1)h.textContent="";else if(h.nodeType===9){var S=h.body;S!=null&&(S.textContent="")}break;case 5:case 6:case 4:case 17:break;default:throw Error(z(163))}}catch(_){ae(t,t.return,_)}if(e=t.sibling,e!==null){e.return=t.return,j=e;break}j=t.return}return y=Rc,Rc=!1,y}function no(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&ha(t,n,i)}o=o.next}while(o!==r)}}function Cu(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ma(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Vg(e){var t=e.alternate;t!==null&&(e.alternate=null,Vg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[wt],delete t[_o],delete t[oa],delete t[F0],delete t[z0])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Bg(e){return e.tag===5||e.tag===3||e.tag===4}function Ec(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Bg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ya(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Vi));else if(r!==4&&(e=e.child,e!==null))for(ya(e,t,n),e=e.sibling;e!==null;)ya(e,t,n),e=e.sibling}function Sa(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Sa(e,t,n),e=e.sibling;e!==null;)Sa(e,t,n),e=e.sibling}var ye=null,lt=!1;function Vt(e,t,n){for(n=n.child;n!==null;)Gg(e,t,n),n=n.sibling}function Gg(e,t,n){if(_t&&typeof _t.onCommitFiberUnmount=="function")try{_t.onCommitFiberUnmount(pu,n)}catch{}switch(n.tag){case 5:Ee||or(n,t);case 6:var r=ye,o=lt;ye=null,Vt(e,t,n),ye=r,lt=o,ye!==null&&(lt?(e=ye,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ye.removeChild(n.stateNode));break;case 18:ye!==null&&(lt?(e=ye,n=n.stateNode,e.nodeType===8?nl(e.parentNode,n):e.nodeType===1&&nl(e,n),mo(e)):nl(ye,n.stateNode));break;case 4:r=ye,o=lt,ye=n.stateNode.containerInfo,lt=!0,Vt(e,t,n),ye=r,lt=o;break;case 0:case 11:case 14:case 15:if(!Ee&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,u=i.destroy;i=i.tag,u!==void 0&&((i&2)!==0||(i&4)!==0)&&ha(n,t,u),o=o.next}while(o!==r)}Vt(e,t,n);break;case 1:if(!Ee&&(or(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){ae(n,t,l)}Vt(e,t,n);break;case 21:Vt(e,t,n);break;case 22:n.mode&1?(Ee=(r=Ee)||n.memoizedState!==null,Vt(e,t,n),Ee=r):Vt(e,t,n);break;default:Vt(e,t,n)}}function xc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new J0),t.forEach(function(r){var o=ly.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function ot(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=u),r&=~i}if(r=o,r=fe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ey(r/1960))-r,10e?16:e,Jt===null)var r=!1;else{if(e=Jt,Jt=null,nu=0,(Q&6)!==0)throw Error(z(331));var o=Q;for(Q|=4,j=e.current;j!==null;){var i=j,u=i.child;if((j.flags&16)!==0){var l=i.deletions;if(l!==null){for(var a=0;afe()-Ns?On(e,0):Ds|=n),De(e,t)}function ev(e,t){t===0&&((e.mode&1)===0?t=1:(t=Jo,Jo<<=1,(Jo&130023424)===0&&(Jo=4194304)));var n=Ie();e=Ru(e,t),e!==null&&(No(e,t,n),De(e,n))}function uy(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),ev(e,n)}function ly(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(z(314))}r!==null&&r.delete(t),ev(e,n)}var tv;tv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ze.current)Fe=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Fe=!1,K0(e,t,n);Fe=(e.flags&131072)!==0}else Fe=!1,oe&&(t.flags&1048576)!==0&&ag(t,Qi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps;var o=pr(t,Pe.current);fr(t,n),o=bs(null,t,r,e,o,n);var i=Ms();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Le(r)?(i=!0,Gi(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Es(t),o.updater=Su,t.stateNode=o,o._reactInternals=t,aa(t,r,e,n),t=ga(null,t,r,!0,i,n)):(t.tag=0,oe&&i&&xs(t),$e(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=sy(r),e=ut(r,e),o){case 0:t=pa(null,t,r,e,n);break e;case 1:t=mc(null,t,r,e,n);break e;case 11:t=vc(null,t,r,e,n);break e;case 14:t=hc(null,t,r,ut(r.type,e),n);break e}throw Error(z(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),pa(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),mc(e,t,r,o,n);case 3:e:{if(Hg(t),e===null)throw Error(z(387));r=t.pendingProps,i=t.memoizedState,o=i.element,ig(e,t),Yi(t,r,null,n);var u=t.memoizedState;if(r=u.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Error(z(423)),t=yc(e,t,r,n,o);break e}else if(r!==o){o=Error(z(424)),t=yc(e,t,r,n,o);break e}else for(Te=It(t.stateNode.containerInfo.firstChild),Ue=t,oe=!0,at=null,n=cg(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(gr(),r===o){t=Lt(e,t,n);break e}$e(e,t,r,n)}t=t.child}return t;case 5:return dg(t),e===null&&fa(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,u=o.children,na(r,o)?u=null:i!==null&&na(r,i)&&(t.flags|=32),Ng(e,t),$e(e,t,u,n),t.child;case 6:return e===null&&fa(t),null;case 13:return jg(e,t,n);case 4:return $s(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=vr(t,null,r,n):$e(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),vc(e,t,r,o,n);case 7:return $e(e,t,t.pendingProps,n),t.child;case 8:return $e(e,t,t.pendingProps.children,n),t.child;case 12:return $e(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,u=o.value,ee(Wi,r._currentValue),r._currentValue=u,i!==null)if(pt(i.value,u)){if(i.children===o.children&&!ze.current){t=Lt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){u=i.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=Mt(-1,n&-n),a.tag=2;var s=i.updateQueue;if(s!==null){s=s.shared;var f=s.pending;f===null?a.next=a:(a.next=f.next,f.next=a),s.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),ua(i.return,n,t),l.lanes|=n;break}a=a.next}}else if(i.tag===10)u=i.type===t.type?null:i.child;else if(i.tag===18){if(u=i.return,u===null)throw Error(z(341));u.lanes|=n,l=u.alternate,l!==null&&(l.lanes|=n),ua(u,n,t),u=i.sibling}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===t){u=null;break}if(i=u.sibling,i!==null){i.return=u.return,u=i;break}u=u.return}i=u}$e(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,fr(t,n),o=tt(o),r=r(o),t.flags|=1,$e(e,t,r,n),t.child;case 14:return r=t.type,o=ut(r,t.pendingProps),o=ut(r.type,o),hc(e,t,r,o,n);case 15:return Lg(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,Le(r)?(e=!0,Gi(t)):e=!1,fr(t,n),lg(t,r,o),aa(t,r,o,n),ga(null,t,r,!0,e,n);case 19:return Ug(e,t,n);case 22:return Dg(e,t,n)}throw Error(z(156,t.tag))};function nv(e,t){return Ap(e,t)}function ay(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Je(e,t,n,r){return new ay(e,t,n,r)}function Vs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function sy(e){if(typeof e=="function")return Vs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ss)return 11;if(e===fs)return 14}return 2}function fn(e,t){var n=e.alternate;return n===null?(n=Je(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ai(e,t,n,r,o,i){var u=2;if(r=e,typeof e=="function")Vs(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case Kn:return $n(n.children,o,i,t);case as:u=8,o|=8;break;case Tl:return e=Je(12,n,t,o|2),e.elementType=Tl,e.lanes=i,e;case Fl:return e=Je(13,n,t,o),e.elementType=Fl,e.lanes=i,e;case zl:return e=Je(19,n,t,o),e.elementType=zl,e.lanes=i,e;case dp:return ou(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case fp:u=10;break e;case cp:u=9;break e;case ss:u=11;break e;case fs:u=14;break e;case Gt:u=16,r=null;break e}throw Error(z(130,e==null?e:typeof e,""))}return t=Je(u,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function $n(e,t,n,r){return e=Je(7,e,r,t),e.lanes=n,e}function ou(e,t,n,r){return e=Je(22,e,r,t),e.elementType=dp,e.lanes=n,e.stateNode={},e}function sl(e,t,n){return e=Je(6,e,null,t),e.lanes=n,e}function fl(e,t,n){return t=Je(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function fy(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Gu(0),this.expirationTimes=Gu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gu(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Bs(e,t,n,r,o,i,u,l,a){return e=new fy(e,t,n,l,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Je(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Es(i),e}function cy(e,t,n){var r=3=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}/** - * React Router v6.3.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */const Ys=F.exports.createContext(null),Ks=F.exports.createContext(null),Vo=F.exports.createContext({outlet:null,matches:[]});function gt(e,t){if(!e)throw new Error(t)}function _y(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?cn(t):t,o=sv(r.pathname||"/",n);if(o==null)return null;let i=lv(e);Ry(i);let u=null;for(let l=0;u==null&&l{let u={relativePath:o.path||"",caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};u.relativePath.startsWith("/")&&(u.relativePath.startsWith(r)||gt(!1),u.relativePath=u.relativePath.slice(r.length));let l=ln([r,u.relativePath]),a=n.concat(u);o.children&&o.children.length>0&&(o.index===!0&>(!1),lv(o.children,t,a,l)),!(o.path==null&&!o.index)&&t.push({path:l,score:Iy(l,o.index),routesMeta:a})}),t}function Ry(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:ky(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Ey=/^:\w+$/,xy=3,Py=2,Oy=1,$y=10,Ay=-2,Lc=e=>e==="*";function Iy(e,t){let n=e.split("/"),r=n.length;return n.some(Lc)&&(r+=Ay),t&&(r+=Py),n.filter(o=>!Lc(o)).reduce((o,i)=>o+(Ey.test(i)?xy:i===""?Oy:$y),r)}function ky(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function by(e,t){let{routesMeta:n}=e,r={},o="/",i=[];for(let u=0;u{if(f==="*"){let d=l[c]||"";u=i.slice(0,i.length-d.length).replace(/(.)\/+$/,"$1")}return s[f]=Fy(l[c]||""),s},{}),pathname:i,pathnameBase:u,pattern:e}}function Ty(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0);let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(u,l)=>(r.push(l),"([^\\/]+)"));return e.endsWith("*")?(r.push("*"),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o+=n?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(o,t?void 0:"i"),r]}function Fy(e,t){try{return decodeURIComponent(e)}catch{return e}}function zy(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?cn(e):e;return{pathname:n?n.startsWith("/")?n:Ly(n,t):t,search:Ny(r),hash:Hy(o)}}function Ly(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function av(e,t,n){let r=typeof e=="string"?cn(e):e,o=e===""||r.pathname===""?"/":r.pathname,i;if(o==null)i=n;else{let l=t.length-1;if(o.startsWith("..")){let a=o.split("/");for(;a[0]==="..";)a.shift(),l-=1;r.pathname=a.join("/")}i=l>=0?t[l]:"/"}let u=zy(r,i);return o&&o!=="/"&&o.endsWith("/")&&!u.pathname.endsWith("/")&&(u.pathname+="/"),u}function Dy(e){return e===""||e.pathname===""?"/":typeof e=="string"?cn(e).pathname:e.pathname}function sv(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=e.charAt(t.length);return n&&n!=="/"?null:e.slice(t.length)||"/"}const ln=e=>e.join("/").replace(/\/\/+/g,"/"),fv=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Ny=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Hy=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function jy(e){Or()||gt(!1);let{basename:t,navigator:n}=F.exports.useContext(Ys),{hash:r,pathname:o,search:i}=Qs(e),u=o;if(t!=="/"){let l=Dy(e),a=l!=null&&l.endsWith("/");u=o==="/"?t+(a?"/":""):ln([t,o])}return n.createHref({pathname:u,search:i,hash:r})}function Or(){return F.exports.useContext(Ks)!=null}function Bo(){return Or()||gt(!1),F.exports.useContext(Ks).location}function cv(){Or()||gt(!1);let{basename:e,navigator:t}=F.exports.useContext(Ys),{matches:n}=F.exports.useContext(Vo),{pathname:r}=Bo(),o=JSON.stringify(n.map(l=>l.pathnameBase)),i=F.exports.useRef(!1);return F.exports.useEffect(()=>{i.current=!0}),F.exports.useCallback(function(l,a){if(a===void 0&&(a={}),!i.current)return;if(typeof l=="number"){t.go(l);return}let s=av(l,JSON.parse(o),r);e!=="/"&&(s.pathname=ln([e,s.pathname])),(a.replace?t.replace:t.push)(s,a.state)},[e,t,o,r])}const Uy=F.exports.createContext(null);function Vy(e){let t=F.exports.useContext(Vo).outlet;return t&&F.exports.createElement(Uy.Provider,{value:e},t)}function Qs(e){let{matches:t}=F.exports.useContext(Vo),{pathname:n}=Bo(),r=JSON.stringify(t.map(o=>o.pathnameBase));return F.exports.useMemo(()=>av(e,JSON.parse(r),n),[e,r,n])}function By(e,t){Or()||gt(!1);let{matches:n}=F.exports.useContext(Vo),r=n[n.length-1],o=r?r.params:{};r&&r.pathname;let i=r?r.pathnameBase:"/";r&&r.route;let u=Bo(),l;if(t){var a;let d=typeof t=="string"?cn(t):t;i==="/"||((a=d.pathname)==null?void 0:a.startsWith(i))||gt(!1),l=d}else l=u;let s=l.pathname||"/",f=i==="/"?s:s.slice(i.length)||"/",c=_y(e,{pathname:f});return Gy(c&&c.map(d=>Object.assign({},d,{params:Object.assign({},o,d.params),pathname:ln([i,d.pathname]),pathnameBase:d.pathnameBase==="/"?i:ln([i,d.pathnameBase])})),n)}function Gy(e,t){return t===void 0&&(t=[]),e==null?null:e.reduceRight((n,r,o)=>F.exports.createElement(Vo.Provider,{children:r.route.element!==void 0?r.route.element:n,value:{outlet:n,matches:t.concat(e.slice(0,o+1))}}),null)}function oO(e){let{to:t,replace:n,state:r}=e;Or()||gt(!1);let o=cv();return F.exports.useEffect(()=>{o(t,{replace:n,state:r})}),null}function iO(e){return Vy(e.context)}function Wy(e){gt(!1)}function qy(e){let{basename:t="/",children:n=null,location:r,navigationType:o=xn.Pop,navigator:i,static:u=!1}=e;Or()&>(!1);let l=fv(t),a=F.exports.useMemo(()=>({basename:l,navigator:i,static:u}),[l,i,u]);typeof r=="string"&&(r=cn(r));let{pathname:s="/",search:f="",hash:c="",state:d=null,key:m="default"}=r,y=F.exports.useMemo(()=>{let v=sv(s,l);return v==null?null:{pathname:v,search:f,hash:c,state:d,key:m}},[l,s,f,c,d,m]);return y==null?null:F.exports.createElement(Ys.Provider,{value:a},F.exports.createElement(Ks.Provider,{children:n,value:{location:y,navigationType:o}}))}function uO(e){let{children:t,location:n}=e;return By(Ea(t),n)}function Ea(e){let t=[];return F.exports.Children.forEach(e,n=>{if(!F.exports.isValidElement(n))return;if(n.type===F.exports.Fragment){t.push.apply(t,Ea(n.props.children));return}n.type!==Wy&>(!1);let r={caseSensitive:n.props.caseSensitive,element:n.props.element,index:n.props.index,path:n.props.path};n.props.children&&(r.children=Ea(n.props.children)),t.push(r)}),t}/** - * React Router DOM v6.3.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function uu(){return uu=Object.assign||function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}const Yy=["onClick","reloadDocument","replace","state","target","to"],Ky=["aria-current","caseSensitive","className","end","style","to","children"];function lO(e){let{basename:t,children:n,window:r}=e,o=F.exports.useRef();o.current==null&&(o.current=wy({window:r}));let i=o.current,[u,l]=F.exports.useState({action:i.action,location:i.location});return F.exports.useLayoutEffect(()=>i.listen(l),[i]),F.exports.createElement(qy,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:i})}function Qy(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const Jy=F.exports.forwardRef(function(t,n){let{onClick:r,reloadDocument:o,replace:i=!1,state:u,target:l,to:a}=t,s=dv(t,Yy),f=jy(a),c=Xy(a,{replace:i,state:u,target:l});function d(m){r&&r(m),!m.defaultPrevented&&!o&&c(m)}return F.exports.createElement("a",uu({},s,{href:f,onClick:d,ref:n,target:l}))}),aO=F.exports.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:o=!1,className:i="",end:u=!1,style:l,to:a,children:s}=t,f=dv(t,Ky),c=Bo(),d=Qs(a),m=c.pathname,y=d.pathname;o||(m=m.toLowerCase(),y=y.toLowerCase());let v=m===y||!u&&m.startsWith(y)&&m.charAt(y.length)==="/",w=v?r:void 0,p;typeof i=="function"?p=i({isActive:v}):p=[i,v?"active":null].filter(Boolean).join(" ");let g=typeof l=="function"?l({isActive:v}):l;return F.exports.createElement(Jy,uu({},f,{"aria-current":w,className:p,ref:n,style:g,to:a}),typeof s=="function"?s({isActive:v}):s)});function Xy(e,t){let{target:n,replace:r,state:o}=t===void 0?{}:t,i=cv(),u=Bo(),l=Qs(e);return F.exports.useCallback(a=>{if(a.button===0&&(!n||n==="_self")&&!Qy(a)){a.preventDefault();let s=!!r||io(u)===io(l);i(e,{replace:s,state:o})}},[u,i,l,r,o,n,e])}var pv={exports:{}};/*! - Copyright (c) 2018 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var r=[],o=0;o-1&&e%1==0&&e-1&&e%1==0&&e<=K1}function Cv(e){return e!=null&&Js(e.length)&&!yv(e)}var Q1=Object.prototype;function J1(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Q1;return e===n}function X1(e,t){for(var n=-1,r=Array(e);++n-1}function cw(e,t){var n=this.__data__,r=Au(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Ht(e){var t=-1,n=e==null?0:e.length;for(this.clear();++to?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r=r?e:Aw(e,t,n)}var kw="\\ud800-\\udfff",bw="\\u0300-\\u036f",Mw="\\ufe20-\\ufe2f",Tw="\\u20d0-\\u20ff",Fw=bw+Mw+Tw,zw="\\ufe0e\\ufe0f",Lw="\\u200d",Dw=RegExp("["+Lw+kw+Fw+zw+"]");function Av(e){return Dw.test(e)}function Nw(e){return e.split("")}var Iv="\\ud800-\\udfff",Hw="\\u0300-\\u036f",jw="\\ufe20-\\ufe2f",Uw="\\u20d0-\\u20ff",Vw=Hw+jw+Uw,Bw="\\ufe0e\\ufe0f",Gw="["+Iv+"]",Oa="["+Vw+"]",$a="\\ud83c[\\udffb-\\udfff]",Ww="(?:"+Oa+"|"+$a+")",kv="[^"+Iv+"]",bv="(?:\\ud83c[\\udde6-\\uddff]){2}",Mv="[\\ud800-\\udbff][\\udc00-\\udfff]",qw="\\u200d",Tv=Ww+"?",Fv="["+Bw+"]?",Yw="(?:"+qw+"(?:"+[kv,bv,Mv].join("|")+")"+Fv+Tv+")*",Kw=Fv+Tv+Yw,Qw="(?:"+[kv+Oa+"?",Oa,bv,Mv,Gw].join("|")+")",Jw=RegExp($a+"(?="+$a+")|"+Qw+Kw,"g");function Xw(e){return e.match(Jw)||[]}function Zw(e){return Av(e)?Xw(e):Nw(e)}function eC(e){return function(t){t=Fn(t);var n=Av(t)?Zw(t):void 0,r=n?n[0]:t.charAt(0),o=n?Iw(n,1).join(""):t.slice(1);return r[e]()+o}}var tC=eC("toUpperCase"),nC=tC;function rC(e){return nC(Fn(e).toLowerCase())}function oC(e,t,n,r){var o=-1,i=e==null?0:e.length;for(r&&i&&(n=e[++o]);++ol))return!1;var s=i.get(e),f=i.get(t);if(s&&f)return s==t&&f==e;var c=-1,d=!0,m=n&O_?new lu:void 0;for(i.set(e,t),i.set(t,e);++c!!e[Sr],PR=e=>!e[Sr].c,ci=e=>{var t,n;(n=(t=e[Sr]).c)==null||n.call(t)},Ii=(e,t)=>{const n=e[Sr].o,r=t[Sr].o;return n===r||e===r||Xv(n)&&Ii(n,t)},pd=e=>{const t={o:e,c:null},n=new Promise(r=>{t.c=()=>{t.c=null,r()},e.then(t.c,t.c)});return n[Sr]=t,n};var OR=Object.defineProperty,$R=Object.defineProperties,AR=Object.getOwnPropertyDescriptors,gd=Object.getOwnPropertySymbols,IR=Object.prototype.hasOwnProperty,kR=Object.prototype.propertyIsEnumerable,vd=(e,t,n)=>t in e?OR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bR=(e,t)=>{for(var n in t||(t={}))IR.call(t,n)&&vd(e,n,t[n]);if(gd)for(var n of gd(t))kR.call(t,n)&&vd(e,n,t[n]);return e},MR=(e,t)=>$R(e,AR(t));const di=e=>"init"in e,ba="r",Ma="w",Ta="c",Fa="s",hd="h",TR="n",FR="l",zR="a",LR="m",DR=e=>{const t=new WeakMap,n=new WeakMap,r=new Map;let o,i;if(({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0}&&"production")!=="production"&&(o=new Set,i=new Set),e)for(const[C,R]of e){const O={v:R,r:0,d:new Map};({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0}&&"production")!=="production"&&(Object.freeze(O),di(C)||console.warn("Found initial value for derived atom which can cause unexpected behavior",C)),t.set(C,O)}const u=new WeakMap,l=(C,R,O)=>{let b=u.get(R);b||(b=new Map,u.set(R,b)),O.then(()=>{b.get(C)===O&&(b.delete(C),b.size||u.delete(R))}),b.set(C,O)},a=C=>{const R=new Set,O=u.get(C);return O&&(u.delete(C),O.forEach((b,M)=>{ci(b),R.add(M)})),R},s=new WeakMap,f=C=>{let R=s.get(C);return R||(R=new Map,s.set(C,R)),R},c=(C,R)=>{if(C){const O=f(C);let b=O.get(R);return b||(b=c(C.p,R),b&&("p"in b&&b.p.then(()=>O.delete(R)),O.set(R,b))),b}return t.get(R)},d=(C,R,O)=>{if(({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0}&&"production")!=="production"&&Object.freeze(O),C)f(C).set(R,O);else{const b=t.get(R);t.set(R,O),r.has(R)||r.set(R,b)}},m=(C,R=new Map,O)=>{if(!O)return R;const b=new Map;let M=!1;return O.forEach(I=>{var U;const B=((U=c(C,I))==null?void 0:U.r)||0;b.set(I,B),R.get(I)!==B&&(M=!0)}),R.size===b.size&&!M?R:b},y=(C,R,O,b,M)=>{const I=c(C,R);if(I){if(M&&(!("p"in I)||!Ii(I.p,M)))return I;"p"in I&&ci(I.p)}const U={v:O,r:(I==null?void 0:I.r)||0,d:m(C,I==null?void 0:I.d,b)};return!I||!("v"in I)||!Object.is(I.v,O)?(++U.r,U.d.has(R)&&(U.d=new Map(U.d).set(R,U.r))):U.d!==I.d&&(U.d.size!==I.d.size||!Array.from(U.d.keys()).every(B=>I.d.has(B)))&&Promise.resolve().then(()=>{T(C)}),d(C,R,U),U},v=(C,R,O,b,M)=>{const I=c(C,R);if(I){if(M&&(!("p"in I)||!Ii(I.p,M)))return I;"p"in I&&ci(I.p)}const U={e:O,r:(I==null?void 0:I.r)||0,d:m(C,I==null?void 0:I.d,b)};return d(C,R,U),U},w=(C,R,O,b)=>{const M=c(C,R);if(M&&"p"in M){if(Ii(M.p,O))return M;ci(M.p)}l(C,R,O);const I={p:O,r:(M==null?void 0:M.r)||0,d:m(C,M==null?void 0:M.d,b)};return d(C,R,I),I},p=(C,R,O,b)=>{if(O instanceof Promise){const M=pd(O.then(I=>{y(C,R,I,b,M),T(C)}).catch(I=>{if(I instanceof Promise)return Xv(I)?I.then(()=>{h(C,R,!0)}):I;v(C,R,I,b,M),T(C)}));return w(C,R,M,b)}return y(C,R,O,b)},g=(C,R)=>{const O=c(C,R);if(O){const b=MR(bR({},O),{i:O.r});d(C,R,b)}else({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0}&&"production")!=="production"&&console.warn("[Bug] could not invalidate non existing atom",R)},h=(C,R,O)=>{if(!O){const M=c(C,R);if(M&&(M.r!==M.i&&"p"in M&&!PR(M.p)||(M.d.forEach((I,U)=>{if(U!==R)if(!n.has(U))h(C,U);else{const B=c(C,U);B&&B.r===B.i&&h(C,U)}}),Array.from(M.d).every(([I,U])=>{const B=c(C,I);return B&&"v"in B&&B.r===U}))))return M}const b=new Set;try{const M=R.read(I=>{b.add(I);const U=I===R?c(C,I):h(C,I);if(U){if("e"in U)throw U.e;if("p"in U)throw U.p;return U.v}if(di(I))return I.init;throw new Error("no atom init")});return p(C,R,M,b)}catch(M){if(M instanceof Promise){const I=pd(M);return w(C,R,I,b)}return v(C,R,M,b)}},S=(C,R)=>h(R,C),_=C=>{let R=n.get(C);return R||(R=J(C)),R},E=(C,R)=>!R.l.size&&(!R.t.size||R.t.size===1&&R.t.has(C)),P=C=>{const R=n.get(C);R&&E(C,R)&&H(C)},x=(C,R)=>{const O=n.get(R);O==null||O.t.forEach(b=>{b!==R&&(g(C,b),x(C,b))})},A=(C,R,O)=>{let b=!0;const M=(B,Z)=>{const q=h(C,B);if("e"in q)throw q.e;if("p"in q){if(Z!=null&&Z.unstable_promise)return q.p.then(()=>M(B,Z));throw({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0}&&"production")!=="production"&&console.info("Reading pending atom state in write operation. We throw a promise for now.",B),q.p}if("v"in q)return q.v;throw({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0}&&"production")!=="production"&&console.warn("[Bug] no value found while reading atom in write operation. This is probably a bug.",B),new Error("no value found")},I=(B,Z)=>{let q;if(B===R){if(!di(B))throw new Error("atom not writable");a(B).forEach(Ye=>{Ye!==C&&p(Ye,B,Z)}),p(C,B,Z),x(C,B)}else q=A(C,B,Z);return b||T(C),q},U=R.write(M,I,O);return b=!1,C=void 0,U},k=(C,R,O)=>{const b=A(O,C,R);return T(O),b},G=C=>!!C.write,J=(C,R)=>{const O={t:new Set(R&&[R]),l:new Set};if(n.set(C,O),({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0}&&"production")!=="production"&&i.add(C),h(void 0,C).d.forEach((M,I)=>{const U=n.get(I);U?U.t.add(C):I!==C&&J(I,C)}),G(C)&&C.onMount){const M=U=>k(C,U),I=C.onMount(M);I&&(O.u=I)}return O},H=C=>{var R;const O=(R=n.get(C))==null?void 0:R.u;O&&O(),n.delete(C),({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0}&&"production")!=="production"&&i.delete(C);const b=c(void 0,C);b?b.d.forEach((M,I)=>{if(I!==C){const U=n.get(I);U&&(U.t.delete(C),E(I,U)&&H(I))}}):({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0}&&"production")!=="production"&&console.warn("[Bug] could not find atom state to unmount",C)},D=(C,R,O)=>{const b=new Set(R.d.keys());O==null||O.forEach((M,I)=>{if(b.has(I)){b.delete(I);return}const U=n.get(I);U&&(U.t.delete(C),E(I,U)&&H(I))}),b.forEach(M=>{const I=n.get(M);I?I.t.add(C):n.has(C)&&J(M,C)})},T=C=>{if(C){f(C).forEach((O,b)=>{if(O!==t.get(b)){const M=n.get(b);M==null||M.l.forEach(I=>I(C))}});return}for(;r.size;){const R=Array.from(r);r.clear(),R.forEach(([O,b])=>{const M=c(void 0,O);M&&M.d!==(b==null?void 0:b.d)&&D(O,M,b==null?void 0:b.d);const I=n.get(O);I==null||I.l.forEach(U=>U())})}({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0}&&"production")!=="production"&&o.forEach(R=>R())},V=C=>{f(C).forEach((O,b)=>{const M=t.get(b);(O.r>((M==null?void 0:M.r)||0)||"v"in O&&O.r===(M==null?void 0:M.r)&&O.d!==(M==null?void 0:M.d))&&(t.set(b,O),O.d!==(M==null?void 0:M.d)&&D(b,O,M==null?void 0:M.d))})},N=(C,R)=>{R&&V(R),T(void 0)},$=(C,R)=>{const b=_(C).l;return b.add(R),()=>{b.delete(R),P(C)}},L=(C,R)=>{for(const[O,b]of C)di(O)&&(p(R,O,b),x(R,O));T(R)};return({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0}&&"production")!=="production"?{[ba]:S,[Ma]:k,[Ta]:N,[Fa]:$,[hd]:L,[TR]:C=>(o.add(C),()=>{o.delete(C)}),[FR]:()=>i.values(),[zR]:C=>t.get(C),[LR]:C=>n.get(C)}:{[ba]:S,[Ma]:k,[Ta]:N,[Fa]:$,[hd]:L}},NR=(e,t)=>({s:t?t(e).SECRET_INTERNAL_store:DR(e)}),gl=new Map,Zv=e=>(gl.has(e)||gl.set(e,F.exports.createContext(NR())),gl.get(e));let HR=0;function za(e,t){const n=`atom${++HR}`,r={toString:()=>n};return typeof e=="function"?r.read=e:(r.init=e,r.read=o=>o(r),r.write=(o,i,u)=>i(r,typeof u=="function"?u(o(r)):u)),t&&(r.write=t),r}function jR(e,t){const n=Zv(t),{s:r}=F.exports.useContext(n),o=F.exports.useCallback(s=>{const f=r[ba](e,s);if("e"in f)throw f.e;if("p"in f)throw f.p;if("v"in f)return f.v;throw new Error("no atom value")},[r,e]),[[i,u,l],a]=F.exports.useReducer(F.exports.useCallback((s,f)=>{const c=o(f);return Object.is(s[1],c)&&s[2]===e?s:[f,c,e]},[o,e]),void 0,()=>{const f=o(void 0);return[void 0,f,e]});return l!==e&&a(void 0),F.exports.useEffect(()=>{const s=r[Fa](e,a);return a(void 0),s},[r,e]),F.exports.useEffect(()=>{r[Ta](e,i)}),F.exports.useDebugValue(u),u}function UR(e,t){const n=Zv(t),{s:r,w:o}=F.exports.useContext(n);return F.exports.useCallback(u=>{if(({BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0}&&"production")!=="production"&&!("write"in e))throw new Error("not writable atom");const l=a=>r[Ma](e,u,a);return o?o(l):l()},[r,o,e])}function pO(e,t){return"scope"in e&&(console.warn("atom.scope is deprecated. Please do useAtom(atom, scope) instead."),t=e.scope),[jR(e,t),UR(e,t)]}function gO(e){F.exports.useEffect(function(){return function(){e()}},[])}var VR=function(){},BR=function(e,t){return e===t};function GR(){var e=F.exports.useRef(!0);return F.exports.useEffect(function(){e.current=!1},[]),e.current}function WR(){var e=F.exports.useRef(!1),t=F.exports.useCallback(function(){return e.current},[]);return F.exports.useEffect(function(){return e.current=!0,function(){e.current=!1}},[]),t}function qR(e,t){var n=GR();F.exports.useEffect(n?VR:e,t)}function vO(e,t){t===void 0&&(t=BR);var n=F.exports.useState(),r=n[0],o=n[1],i=F.exports.useRef(e);return qR(function(){t(i.current,e)||(o(i.current),i.current=e)},[e]),r}function YR(e){var t=F.exports.useState(e),n=t[0],r=t[1],o=WR();return[n,F.exports.useCallback(function(i){o()&&r(i)},[])]}function hO(e){var t=F.exports.useRef(e);return t.current=e,F.exports.useMemo(function(){return Object.freeze({get current(){return t.current}})},[])}var KR=globalThis&&globalThis.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:nf(e)?2:rf(e)?3:0}function La(e,t){return Ar(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function ZR(e,t){return Ar(e)===2?e.get(t):e[t]}function eh(e,t,n){var r=Ar(e);r===2?e.set(t,n):r===3?(e.delete(t),e.add(n)):e[t]=n}function eE(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function nf(e){return oE&&e instanceof Map}function rf(e){return iE&&e instanceof Set}function wn(e){return e.o||e.t}function of(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=lE(e);delete t[Be];for(var n=af(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=tE),Object.freeze(e),t&&Mo(e,function(n,r){return To(r,!0)},!0)),e}function tE(){st(2)}function uf(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Et(e){var t=aE[e];return t||st(18,e),t}function md(){return Fo}function hl(e,t){t&&(Et("Patches"),e.u=[],e.s=[],e.v=t)}function au(e){Da(e),e.p.forEach(nE),e.p=null}function Da(e){e===Fo&&(Fo=e.l)}function yd(e){return Fo={p:[],l:Fo,h:e,m:!0,_:0}}function nE(e){var t=e[Be];t.i===0||t.i===1?t.j():t.O=!0}function ml(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||Et("ES5").S(t,e,r),r?(n[Be].P&&(au(t),st(4)),zn(e)&&(e=su(t,e),t.l||fu(t,e)),t.u&&Et("Patches").M(n[Be].t,e,t.u,t.s)):e=su(t,n,[]),au(t),t.u&&t.v(t.u,t.s),e!==th?e:void 0}function su(e,t,n){if(uf(t))return t;var r=t[Be];if(!r)return Mo(t,function(i,u){return Sd(e,r,t,i,u,n)},!0),t;if(r.A!==e)return t;if(!r.P)return fu(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=r.i===4||r.i===5?r.o=of(r.k):r.o;Mo(r.i===3?new Set(o):o,function(i,u){return Sd(e,r,o,i,u,n)}),fu(e,o,!1),n&&e.u&&Et("Patches").R(r,n,e.u,e.s)}return r.o}function Sd(e,t,n,r,o,i){if(wr(o)){var u=su(e,o,i&&t&&t.i!==3&&!La(t.D,r)?i.concat(r):void 0);if(eh(n,r,u),!wr(u))return;e.m=!1}if(zn(o)&&!uf(o)){if(!e.h.F&&e._<1)return;su(e,o),t&&t.A.l||fu(e,o)}}function fu(e,t,n){n===void 0&&(n=!1),e.h.F&&e.m&&To(t,n)}function yl(e,t){var n=e[Be];return(n?wn(n):e)[t]}function wd(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Na(e){e.P||(e.P=!0,e.l&&Na(e.l))}function Sl(e){e.o||(e.o=of(e.t))}function Ha(e,t,n){var r=nf(t)?Et("MapSet").N(t,n):rf(t)?Et("MapSet").T(t,n):e.g?function(o,i){var u=Array.isArray(o),l={i:u?1:0,A:i?i.A:md(),P:!1,I:!1,D:{},l:i,t:o,k:null,o:null,j:null,C:!1},a=l,s=ja;u&&(a=[l],s=Kr);var f=Proxy.revocable(a,s),c=f.revoke,d=f.proxy;return l.k=d,l.j=c,d}(t,n):Et("ES5").J(t,n);return(n?n.A:md()).p.push(r),r}function rE(e){return wr(e)||st(22,e),function t(n){if(!zn(n))return n;var r,o=n[Be],i=Ar(n);if(o){if(!o.P&&(o.i<4||!Et("ES5").K(o)))return o.t;o.I=!0,r=Cd(n,i),o.I=!1}else r=Cd(n,i);return Mo(r,function(u,l){o&&ZR(o.t,u)===l||eh(r,u,t(l))}),i===3?new Set(r):r}(e)}function Cd(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return of(e)}var _d,Fo,lf=typeof Symbol!="undefined"&&typeof Symbol("x")=="symbol",oE=typeof Map!="undefined",iE=typeof Set!="undefined",Rd=typeof Proxy!="undefined"&&Proxy.revocable!==void 0&&typeof Reflect!="undefined",th=lf?Symbol.for("immer-nothing"):((_d={})["immer-nothing"]=!0,_d),Ed=lf?Symbol.for("immer-draftable"):"__$immer_draftable",Be=lf?Symbol.for("immer-state"):"__$immer_state",uE=""+Object.prototype.constructor,af=typeof Reflect!="undefined"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,lE=Object.getOwnPropertyDescriptors||function(e){var t={};return af(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},aE={},ja={get:function(e,t){if(t===Be)return e;var n=wn(e);if(!La(n,t))return function(o,i,u){var l,a=wd(i,u);return a?"value"in a?a.value:(l=a.get)===null||l===void 0?void 0:l.call(o.k):void 0}(e,n,t);var r=n[t];return e.I||!zn(r)?r:r===yl(e.t,t)?(Sl(e),e.o[t]=Ha(e.A.h,r,e)):r},has:function(e,t){return t in wn(e)},ownKeys:function(e){return Reflect.ownKeys(wn(e))},set:function(e,t,n){var r=wd(wn(e),t);if(r!=null&&r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=yl(wn(e),t),i=o==null?void 0:o[Be];if(i&&i.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(eE(n,o)&&(n!==void 0||La(e.t,t)))return!0;Sl(e),Na(e)}return e.o[t]===n&&typeof n!="number"&&(n!==void 0||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return yl(e.t,t)!==void 0||t in e.t?(e.D[t]=!1,Sl(e),Na(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=wn(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty:function(){st(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){st(12)}},Kr={};Mo(ja,function(e,t){Kr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Kr.deleteProperty=function(e,t){return Kr.set.call(this,e,t,void 0)},Kr.set=function(e,t,n){return ja.set.call(this,e[0],t,n,e[0])};var sE=function(){function e(n){var r=this;this.g=Rd,this.F=!0,this.produce=function(o,i,u){if(typeof o=="function"&&typeof i!="function"){var l=i;i=o;var a=r;return function(v){var w=this;v===void 0&&(v=l);for(var p=arguments.length,g=Array(p>1?p-1:0),h=1;h1?f-1:0),d=1;d=0;o--){var i=r[o];if(i.path.length===0&&i.op==="replace"){n=i.value;break}}o>-1&&(r=r.slice(o+1));var u=Et("Patches").$;return wr(n)?u(n,r):this.produce(n,function(l){return u(l,r)})},e}(),Ge=new sE,nh=Ge.produce;Ge.produceWithPatches.bind(Ge);Ge.setAutoFreeze.bind(Ge);Ge.setUseProxies.bind(Ge);Ge.applyPatches.bind(Ge);Ge.createDraft.bind(Ge);Ge.finishDraft.bind(Ge);function yO(e){const t=za(e,(n,r,o)=>r(t,nh(n(t),typeof o=="function"?o:()=>o)));return t}const fE=Symbol();function cE(e){let t,n;return{getItem:r=>{const o=u=>(u=u||"",t!==u&&(n=JSON.parse(u),t=u),n),i=e().getItem(r);return i instanceof Promise?i.then(o):o(i)},setItem:(r,o)=>e().setItem(r,JSON.stringify(o)),removeItem:r=>e().removeItem(r)}}const rh=cE(()=>localStorage);rh.subscribe=(e,t)=>{const n=r=>{r.key===e&&r.newValue&&t(JSON.parse(r.newValue))};return window.addEventListener("storage",n),()=>{window.removeEventListener("storage",n)}};function SO(e,t,n=rh){const r=()=>{try{const u=n.getItem(e);return u instanceof Promise?u.catch(()=>t):u}catch{return t}},o=za(n.delayInit?t:r());return o.onMount=u=>{let l;if(n.subscribe&&(l=n.subscribe(e,u),u(r())),n.delayInit){const a=r();a instanceof Promise?a.then(u):u(a)}return l},za(u=>u(o),(u,l,a)=>{if(a===fE)return l(o,t),n.removeItem(e);const s=typeof a=="function"?a(u(o)):a;return l(o,s),n.setItem(e,s)})}/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */function wl(e,t,n,r){function o(i){return i instanceof n?i:new n(function(u){u(i)})}return new(n||(n=Promise))(function(i,u){function l(f){try{s(r.next(f))}catch(c){u(c)}}function a(f){try{s(r.throw(f))}catch(c){u(c)}}function s(f){f.done?i(f.value):o(f.value).then(l,a)}s((r=r.apply(e,t||[])).next())})}function Cl(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,u;return u={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(s){return function(f){return a([s,f])}}function a(s){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,o&&(i=s[0]&2?o.return:s[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;switch(o=0,i&&(s=[s[0]&2,i.value]),s[0]){case 0:case 1:i=s;break;case 4:return n.label++,{value:s[1],done:!1};case 5:n.label++,o=s[1],s=[0];continue;case 7:s=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]0)&&!(o=r.next()).done;)i.push(o.value)}catch(l){u={error:l}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(u)throw u.error}}return i}function pE(){for(var e=[],t=0;t0&&i[i.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]i||setTimeout(r,l,o)},vh=gh(new Map),hh=vh[0],AE=vh[1],mh=Dt({onLoadingSlow:Ct,onSuccess:Ct,onError:Ct,onErrorRetry:$E,onDiscarded:Ct,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Pd?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Pd?5e3:3e3,compare:function(e,t){return zo(e)==zo(t)},isPaused:function(){return!1},cache:hh,mutate:AE,fallback:{}},EE),yh=function(e,t){var n=Dt(e,t);if(t){var r=e.use,o=e.fallback,i=t.use,u=t.fallback;r&&i&&(n.use=r.concat(i)),o&&u&&(n.fallback=Dt(o,u))}return n},qa=F.exports.createContext({}),IE=function(e){var t=e.value,n=yh(F.exports.useContext(qa),t),r=t&&t.provider,o=F.exports.useState(function(){return r?gh(r(n.cache||hh),t):xe})[0];return o&&(n.cache=o[0],n.mutate=o[1]),ao(function(){return o?o[2]:xe},[]),F.exports.createElement(qa.Provider,Dt(e,{value:n}))},kE=function(e,t){var n=F.exports.useState({})[1],r=F.exports.useRef(e),o=F.exports.useRef({data:!1,error:!1,isValidating:!1}),i=F.exports.useCallback(function(u){var l=!1,a=r.current;for(var s in u){var f=s;a[f]!==u[f]&&(a[f]=u[f],o.current[f]&&(l=!0))}l&&!t.current&&n({})},[]);return ao(function(){r.current=e}),[r,o.current,i]},bE=function(e){return Xt(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}]},ME=function(){return Dt(mh,F.exports.useContext(qa))},TE=function(e){return function(){for(var n=[],r=0;r0;)f=c[d](f);return f(u,l||s.fetcher,s)}},$d=function(e,t,n){var r=t[e]||(t[e]=[]);return r.push(n),function(){var o=r.indexOf(n);o>=0&&(r[o]=r[r.length-1],r.pop())}},Rl={dedupe:!0},FE=function(e,t,n){var r=n.cache,o=n.compare,i=n.fallbackData,u=n.suspense,l=n.revalidateOnMount,a=n.refreshInterval,s=n.refreshWhenHidden,f=n.refreshWhenOffline,c=Pn.get(r),d=c[0],m=c[1],y=c[2],v=c[3],w=sh(e),p=w[0],g=w[1],h=w[2],S=F.exports.useRef(!1),_=F.exports.useRef(!1),E=F.exports.useRef(p),P=F.exports.useRef(t),x=F.exports.useRef(n),A=function(){return x.current},k=function(){return A().isVisible()&&A().isOnline()},G=function(B){return r.set(h,Dt(r.get(h),B))},J=r.get(p),H=Ae(i)?n.fallback[p]:i,D=Ae(J)?H:J,T=r.get(h)||{},V=T.error,N=!S.current,$=function(){return N&&!Ae(l)?l:A().isPaused()?!1:u?Ae(D)?!1:n.revalidateIfStale:Ae(D)||n.revalidateIfStale},L=function(){return!p||!t?!1:T.isValidating?!0:N&&$()},C=L(),R=kE({data:D,error:V,isValidating:C},_),O=R[0],b=R[1],M=R[2],I=F.exports.useCallback(function(B){return uh(void 0,void 0,void 0,function(){var Z,q,se,Ye,vt,ht,Oe,Ut,mt,Du,kr,Un,Nu;return lh(this,function(br){switch(br.label){case 0:if(Z=P.current,!p||!Z||_.current||A().isPaused())return[2,!1];Ye=!0,vt=B||{},ht=!v[p]||!vt.dedupe,Oe=function(){return!_.current&&p===E.current&&S.current},Ut=function(){var Cf=v[p];Cf&&Cf[1]===se&&delete v[p]},mt={isValidating:!1},Du=function(){G({isValidating:!1}),Oe()&&M(mt)},G({isValidating:!0}),M({isValidating:!0}),br.label=1;case 1:return br.trys.push([1,3,,4]),ht&&(so(r,p,O.current.data,O.current.error,!0),n.loadingTimeout&&!r.get(p)&&setTimeout(function(){Ye&&Oe()&&A().onLoadingSlow(p,n)},n.loadingTimeout),v[p]=[Z.apply(void 0,g),Wa()]),Nu=v[p],q=Nu[0],se=Nu[1],[4,q];case 2:return q=br.sent(),ht&&setTimeout(Ut,n.dedupingInterval),!v[p]||v[p][1]!==se?(ht&&Oe()&&A().onDiscarded(p),[2,!1]):(G({error:xe}),mt.error=xe,kr=y[p],!Ae(kr)&&(se<=kr[0]||se<=kr[1]||kr[1]===0)?(Du(),ht&&Oe()&&A().onDiscarded(p),[2,!1]):(o(O.current.data,q)?mt.data=O.current.data:mt.data=q,o(r.get(p),q)||r.set(p,q),ht&&Oe()&&A().onSuccess(q,p,n),[3,4]));case 3:return Un=br.sent(),Ut(),A().isPaused()||(G({error:Un}),mt.error=Un,ht&&Oe()&&(A().onError(Un,p,n),(typeof n.shouldRetryOnError=="boolean"&&n.shouldRetryOnError||Xt(n.shouldRetryOnError)&&n.shouldRetryOnError(Un))&&k()&&A().onErrorRetry(Un,p,n,I,{retryCount:(vt.retryCount||0)+1,dedupe:!0}))),[3,4];case 4:return Ye=!1,Du(),Oe()&&ht&&so(r,p,mt.data,mt.error,!1),[2,!0]}})})},[p]),U=F.exports.useCallback(ph.bind(xe,r,function(){return E.current}),[]);if(ao(function(){P.current=t,x.current=n}),ao(function(){if(!!p){var B=p!==E.current,Z=I.bind(xe,Rl),q=function(Oe,Ut,mt){M(Dt({error:Ut,isValidating:mt},o(O.current.data,Oe)?xe:{data:Oe}))},se=0,Ye=function(Oe){if(Oe==fh){var Ut=Date.now();A().revalidateOnFocus&&Ut>se&&k()&&(se=Ut+A().focusThrottleInterval,Z())}else if(Oe==ch)A().revalidateOnReconnect&&k()&&Z();else if(Oe==dh)return I()},vt=$d(p,m,q),ht=$d(p,d,Ye);return _.current=!1,E.current=p,S.current=!0,B&&M({data:D,error:V,isValidating:C}),$()&&(Ae(D)||bu?Z():PE(Z)),function(){_.current=!0,vt(),ht()}}},[p,I]),ao(function(){var B;function Z(){var se=Xt(a)?a(D):a;se&&B!==-1&&(B=setTimeout(q,se))}function q(){!O.current.error&&(s||A().isVisible())&&(f||A().isOnline())?I(Rl).then(Z):Z()}return Z(),function(){B&&(clearTimeout(B),B=-1)}},[a,s,f,I]),F.exports.useDebugValue(D),u&&Ae(D)&&p)throw P.current=t,x.current=n,_.current=!1,Ae(V)?I(Rl):V;return{mutate:U,get data(){return b.data=!0,D},get error(){return b.error=!0,V},get isValidating(){return b.isValidating=!0,C}}};lo.defineProperty(IE,"default",{value:mh});var wO=TE(FE),Sh={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function o(a,s,f){this.fn=a,this.context=s,this.once=f||!1}function i(a,s,f,c,d){if(typeof f!="function")throw new TypeError("The listener must be a function");var m=new o(f,c||a,d),y=n?n+s:s;return a._events[y]?a._events[y].fn?a._events[y]=[a._events[y],m]:a._events[y].push(m):(a._events[y]=m,a._eventsCount++),a}function u(a,s){--a._eventsCount===0?a._events=new r:delete a._events[s]}function l(){this._events=new r,this._eventsCount=0}l.prototype.eventNames=function(){var s=[],f,c;if(this._eventsCount===0)return s;for(c in f=this._events)t.call(f,c)&&s.push(n?c.slice(1):c);return Object.getOwnPropertySymbols?s.concat(Object.getOwnPropertySymbols(f)):s},l.prototype.listeners=function(s){var f=n?n+s:s,c=this._events[f];if(!c)return[];if(c.fn)return[c.fn];for(var d=0,m=c.length,y=new Array(m);d0;)i=r[o],u[i]||(t[i]=e[i],u[i]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t}function ex(e,t,n){e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return r!==-1&&r===n}function tx(e){if(!e)return null;var t=e.length;if(cu(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}var nx=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array!="undefined"&&Object.getPrototypeOf(Uint8Array)),Ce={isArray:vf,isArrayBuffer:Ch,isBuffer:LE,isFormData:WE,isArrayBufferView:DE,isString:NE,isNumber:HE,isObject:_h,isPlainObject:Mi,isUndefined:cu,isDate:jE,isFile:UE,isBlob:VE,isFunction:hf,isStream:GE,isURLSearchParams:qE,isStandardBrowserEnv:KE,forEach:mf,merge:Ya,extend:QE,trim:YE,stripBOM:JE,inherits:XE,toFlatObject:ZE,kindOf:gf,kindOfTest:jn,endsWith:ex,toArray:tx,isTypedArray:nx,isFileList:BE},Bn=Ce;function Ad(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Rh=function(t,n,r){if(!n)return t;var o;if(r)o=r(n);else if(Bn.isURLSearchParams(n))o=n.toString();else{var i=[];Bn.forEach(n,function(a,s){a===null||typeof a=="undefined"||(Bn.isArray(a)?s=s+"[]":a=[a],Bn.forEach(a,function(c){Bn.isDate(c)?c=c.toISOString():Bn.isObject(c)&&(c=JSON.stringify(c)),i.push(Ad(s)+"="+Ad(c))}))}),o=i.join("&")}if(o){var u=t.indexOf("#");u!==-1&&(t=t.slice(0,u)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t},rx=Ce;function Mu(){this.handlers=[]}Mu.prototype.use=function(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};Mu.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};Mu.prototype.forEach=function(t){rx.forEach(this.handlers,function(r){r!==null&&t(r)})};var ox=Mu,ix=Ce,ux=function(t,n){ix.forEach(t,function(o,i){i!==n&&i.toUpperCase()===n.toUpperCase()&&(t[n]=o,delete t[i])})},Eh=Ce;function Cr(e,t,n,r,o){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}Eh.inherits(Cr,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var xh=Cr.prototype,Ph={};["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"].forEach(function(e){Ph[e]={value:e}});Object.defineProperties(Cr,Ph);Object.defineProperty(xh,"isAxiosError",{value:!0});Cr.from=function(e,t,n,r,o,i){var u=Object.create(xh);return Eh.toFlatObject(e,u,function(a){return a!==Error.prototype}),Cr.call(u,e.message,t,n,r,o),u.name=e.name,i&&Object.assign(u,i),u};var Ir=Cr,Oh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},it=Ce;function lx(e,t){t=t||new FormData;var n=[];function r(i){return i===null?"":it.isDate(i)?i.toISOString():it.isArrayBuffer(i)||it.isTypedArray(i)?typeof Blob=="function"?new Blob([i]):Buffer.from(i):i}function o(i,u){if(it.isPlainObject(i)||it.isArray(i)){if(n.indexOf(i)!==-1)throw Error("Circular reference detected in "+u);n.push(i),it.forEach(i,function(a,s){if(!it.isUndefined(a)){var f=u?u+"."+s:s,c;if(a&&!u&&typeof a=="object"){if(it.endsWith(s,"{}"))a=JSON.stringify(a);else if(it.endsWith(s,"[]")&&(c=it.toArray(a))){c.forEach(function(d){!it.isUndefined(d)&&t.append(f,r(d))});return}}o(a,f)}}),n.pop()}else t.append(u,r(i))}return o(e),t}var $h=lx,El=Ir,ax=function(t,n,r){var o=r.config.validateStatus;!r.status||!o||o(r.status)?t(r):n(new El("Request failed with status code "+r.status,[El.ERR_BAD_REQUEST,El.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))},gi=Ce,sx=gi.isStandardBrowserEnv()?function(){return{write:function(n,r,o,i,u,l){var a=[];a.push(n+"="+encodeURIComponent(r)),gi.isNumber(o)&&a.push("expires="+new Date(o).toGMTString()),gi.isString(i)&&a.push("path="+i),gi.isString(u)&&a.push("domain="+u),l===!0&&a.push("secure"),document.cookie=a.join("; ")},read:function(n){var r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),fx=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},cx=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},dx=fx,px=cx,Ah=function(t,n){return t&&!dx(n)?px(t,n):n},xl=Ce,gx=["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"],vx=function(t){var n={},r,o,i;return t&&xl.forEach(t.split(` -`),function(l){if(i=l.indexOf(":"),r=xl.trim(l.substr(0,i)).toLowerCase(),o=xl.trim(l.substr(i+1)),r){if(n[r]&&gx.indexOf(r)>=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([o]):n[r]=n[r]?n[r]+", "+o:o}}),n},Id=Ce,hx=Id.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function o(i){var u=i;return t&&(n.setAttribute("href",u),u=n.href),n.setAttribute("href",u),{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 r=o(window.location.href),function(u){var l=Id.isString(u)?o(u):u;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}(),Ka=Ir,mx=Ce;function Ih(e){Ka.call(this,e==null?"canceled":e,Ka.ERR_CANCELED),this.name="CanceledError"}mx.inherits(Ih,Ka,{__CANCEL__:!0});var Tu=Ih,yx=function(t){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""},Vr=Ce,Sx=ax,wx=sx,Cx=Rh,_x=Ah,Rx=vx,Ex=hx,xx=Oh,Ot=Ir,Px=Tu,Ox=yx,kd=function(t){return new Promise(function(r,o){var i=t.data,u=t.headers,l=t.responseType,a;function s(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}Vr.isFormData(i)&&Vr.isStandardBrowserEnv()&&delete u["Content-Type"];var f=new XMLHttpRequest;if(t.auth){var c=t.auth.username||"",d=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";u.Authorization="Basic "+btoa(c+":"+d)}var m=_x(t.baseURL,t.url);f.open(t.method.toUpperCase(),Cx(m,t.params,t.paramsSerializer),!0),f.timeout=t.timeout;function y(){if(!!f){var p="getAllResponseHeaders"in f?Rx(f.getAllResponseHeaders()):null,g=!l||l==="text"||l==="json"?f.responseText:f.response,h={data:g,status:f.status,statusText:f.statusText,headers:p,config:t,request:f};Sx(function(_){r(_),s()},function(_){o(_),s()},h),f=null}}if("onloadend"in f?f.onloadend=y:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(y)},f.onabort=function(){!f||(o(new Ot("Request aborted",Ot.ECONNABORTED,t,f)),f=null)},f.onerror=function(){o(new Ot("Network Error",Ot.ERR_NETWORK,t,f,f)),f=null},f.ontimeout=function(){var g=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",h=t.transitional||xx;t.timeoutErrorMessage&&(g=t.timeoutErrorMessage),o(new Ot(g,h.clarifyTimeoutError?Ot.ETIMEDOUT:Ot.ECONNABORTED,t,f)),f=null},Vr.isStandardBrowserEnv()){var v=(t.withCredentials||Ex(m))&&t.xsrfCookieName?wx.read(t.xsrfCookieName):void 0;v&&(u[t.xsrfHeaderName]=v)}"setRequestHeader"in f&&Vr.forEach(u,function(g,h){typeof i=="undefined"&&h.toLowerCase()==="content-type"?delete u[h]:f.setRequestHeader(h,g)}),Vr.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),l&&l!=="json"&&(f.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&f.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(a=function(p){!f||(o(!p||p&&p.type?new Px:p),f.abort(),f=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a))),i||(i=null);var w=Ox(m);if(w&&["http","https","file"].indexOf(w)===-1){o(new Ot("Unsupported protocol "+w+":",Ot.ERR_BAD_REQUEST,t));return}f.send(i)})},$x=null,ve=Ce,bd=ux,Md=Ir,Ax=Oh,Ix=$h,kx={"Content-Type":"application/x-www-form-urlencoded"};function Td(e,t){!ve.isUndefined(e)&&ve.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function bx(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=kd),e}function Mx(e,t,n){if(ve.isString(e))try{return(t||JSON.parse)(e),ve.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var Fu={transitional:Ax,adapter:bx(),transformRequest:[function(t,n){if(bd(n,"Accept"),bd(n,"Content-Type"),ve.isFormData(t)||ve.isArrayBuffer(t)||ve.isBuffer(t)||ve.isStream(t)||ve.isFile(t)||ve.isBlob(t))return t;if(ve.isArrayBufferView(t))return t.buffer;if(ve.isURLSearchParams(t))return Td(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r=ve.isObject(t),o=n&&n["Content-Type"],i;if((i=ve.isFileList(t))||r&&o==="multipart/form-data"){var u=this.env&&this.env.FormData;return Ix(i?{"files[]":t}:t,u&&new u)}else if(r||o==="application/json")return Td(n,"application/json"),Mx(t);return t}],transformResponse:[function(t){var n=this.transitional||Fu.transitional,r=n&&n.silentJSONParsing,o=n&&n.forcedJSONParsing,i=!r&&this.responseType==="json";if(i||o&&ve.isString(t)&&t.length)try{return JSON.parse(t)}catch(u){if(i)throw u.name==="SyntaxError"?Md.from(u,Md.ERR_BAD_RESPONSE,this,null,this.response):u}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:$x},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};ve.forEach(["delete","get","head"],function(t){Fu.headers[t]={}});ve.forEach(["post","put","patch"],function(t){Fu.headers[t]=ve.merge(kx)});var yf=Fu,Tx=Ce,Fx=yf,zx=function(t,n,r){var o=this||Fx;return Tx.forEach(r,function(u){t=u.call(o,t,n)}),t},kh=function(t){return!!(t&&t.__CANCEL__)},Fd=Ce,Pl=zx,Lx=kh,Dx=yf,Nx=Tu;function Ol(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Nx}var Hx=function(t){Ol(t),t.headers=t.headers||{},t.data=Pl.call(t,t.data,t.headers,t.transformRequest),t.headers=Fd.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Fd.forEach(["delete","get","head","post","put","patch","common"],function(o){delete t.headers[o]});var n=t.adapter||Dx.adapter;return n(t).then(function(o){return Ol(t),o.data=Pl.call(t,o.data,o.headers,t.transformResponse),o},function(o){return Lx(o)||(Ol(t),o&&o.response&&(o.response.data=Pl.call(t,o.response.data,o.response.headers,t.transformResponse))),Promise.reject(o)})},He=Ce,bh=function(t,n){n=n||{};var r={};function o(f,c){return He.isPlainObject(f)&&He.isPlainObject(c)?He.merge(f,c):He.isPlainObject(c)?He.merge({},c):He.isArray(c)?c.slice():c}function i(f){if(He.isUndefined(n[f])){if(!He.isUndefined(t[f]))return o(void 0,t[f])}else return o(t[f],n[f])}function u(f){if(!He.isUndefined(n[f]))return o(void 0,n[f])}function l(f){if(He.isUndefined(n[f])){if(!He.isUndefined(t[f]))return o(void 0,t[f])}else return o(void 0,n[f])}function a(f){if(f in n)return o(t[f],n[f]);if(f in t)return o(void 0,t[f])}var s={url:u,method:u,data:u,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:a};return He.forEach(Object.keys(t).concat(Object.keys(n)),function(c){var d=s[c]||i,m=d(c);He.isUndefined(m)&&d!==a||(r[c]=m)}),r},Mh={version:"0.27.2"},jx=Mh.version,qt=Ir,Sf={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Sf[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var zd={};Sf.transitional=function(t,n,r){function o(i,u){return"[Axios v"+jx+"] Transitional option '"+i+"'"+u+(r?". "+r:"")}return function(i,u,l){if(t===!1)throw new qt(o(u," has been removed"+(n?" in "+n:"")),qt.ERR_DEPRECATED);return n&&!zd[u]&&(zd[u]=!0,console.warn(o(u," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,u,l):!0}};function Ux(e,t,n){if(typeof e!="object")throw new qt("options must be an object",qt.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],u=t[i];if(u){var l=e[i],a=l===void 0||u(l,i,e);if(a!==!0)throw new qt("option "+i+" must be "+a,qt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new qt("Unknown option "+i,qt.ERR_BAD_OPTION)}}var Vx={assertOptions:Ux,validators:Sf},Th=Ce,Bx=Rh,Ld=ox,Dd=Hx,zu=bh,Gx=Ah,Fh=Vx,Gn=Fh.validators;function _r(e){this.defaults=e,this.interceptors={request:new Ld,response:new Ld}}_r.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=zu(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&Fh.assertOptions(r,{silentJSONParsing:Gn.transitional(Gn.boolean),forcedJSONParsing:Gn.transitional(Gn.boolean),clarifyTimeoutError:Gn.transitional(Gn.boolean)},!1);var o=[],i=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(i=i&&m.synchronous,o.unshift(m.fulfilled,m.rejected))});var u=[];this.interceptors.response.forEach(function(m){u.push(m.fulfilled,m.rejected)});var l;if(!i){var a=[Dd,void 0];for(Array.prototype.unshift.apply(a,o),a=a.concat(u),l=Promise.resolve(n);a.length;)l=l.then(a.shift(),a.shift());return l}for(var s=n;o.length;){var f=o.shift(),c=o.shift();try{s=f(s)}catch(d){c(d);break}}try{l=Dd(s)}catch(d){return Promise.reject(d)}for(;u.length;)l=l.then(u.shift(),u.shift());return l};_r.prototype.getUri=function(t){t=zu(this.defaults,t);var n=Gx(t.baseURL,t.url);return Bx(n,t.params,t.paramsSerializer)};Th.forEach(["delete","get","head","options"],function(t){_r.prototype[t]=function(n,r){return this.request(zu(r||{},{method:t,url:n,data:(r||{}).data}))}});Th.forEach(["post","put","patch"],function(t){function n(r){return function(i,u,l){return this.request(zu(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:u}))}}_r.prototype[t]=n(),_r.prototype[t+"Form"]=n(!0)});var Wx=_r,qx=Tu;function Rr(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(o){t=o});var n=this;this.promise.then(function(r){if(!!n._listeners){var o,i=n._listeners.length;for(o=0;o=0)&&(n[o]=e[o]);return n}function tP(e,t){if(!!e){if(typeof e=="string")return Hd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Hd(e,t)}}function Hd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nP(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Dh(e){var t=nP(e,"string");return typeof t=="symbol"?t:String(t)}function Zt(e,t){return typeof e=="function"?e(t):e}function rt(e,t){return function(n){t.setState(function(r){var o;return Y({},r,(o={},o[e]=Zt(n,r[e]),o))})}}function Lo(e){return e instanceof Function}function rP(e,t){var n=[],r=function o(i){i.forEach(function(u){n.push(u);var l=t(u);l!=null&&l.length&&o(l)})};return r(e),n}var me=function(t,n){return Lo(n)?n(t):Y({},t,n!=null?n:{})};function W(e,t,n){var r=[],o;return function(){var i;n.key&&n.debug&&(i=Date.now());var u=e(),l=u.length!==r.length||u.some(function(y,v){return r[v]!==y});if(l){var a=o,s;if(n.key&&n.debug&&(s=Date.now()),o=t.apply(void 0,u),r=u,n==null||n.onChange==null||n.onChange(o,a),n.key&&n.debug&&n!=null&&n.debug()){var f=Math.round((Date.now()-i)*100)/100,c=Math.round((Date.now()-s)*100)/100,d=c/16,m=function(v,w){for(v=String(v);v.length "+u.length},u.map(function(y,v){return r[v]!==u[v]?[v,r[v],u[v]]:!1}).filter(Boolean).reduce(function(y,v){var w,p=v[0],g=v[1];return Y({},y,(w={},w[p]=g,w))},{}),{parent}))}a=void 0}return o}}var oP={createInstance:function(t){return{getDefaultColumn:W(function(){return[t.options.defaultColumn]},function(n){var r;return n=(r=n)!=null?r:{},Y({header:function(i){return i.header.column.id},footer:function(i){return i.header.column.id},cell:function(i){var u=i.value,l=u===void 0?"":u;return typeof l=="boolean"?l.toString():l}},t._features.reduce(function(o,i){return Object.assign(o,i.getDefaultColumn==null?void 0:i.getDefaultColumn())},{}),n)},{debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugColumns},key:"getDefaultColumn"}),getColumnDefs:function(){return t.options.columns},createColumn:function(r,o,i){var u,l,a=t.getDefaultColumn(),s=(u=(l=r.id)!=null?l:r.accessorKey)!=null?u:typeof r.header=="string"?r.header:void 0,f;if(r.accessorFn?f=r.accessorFn:r.accessorKey&&(f=function(m){return m[r.accessorKey]}),!s)throw new Error;var c=Y({},a,r,{id:""+s,accessorFn:f,parent:i,depth:o,columnDef:r,columnDefType:r.columnDefType,columns:[],getFlatColumns:W(function(){return[!0]},function(){var d;return[c].concat((d=c.columns)==null?void 0:d.flatMap(function(m){return m.getFlatColumns()}))},{key:"column.getFlatColumns",debug:function(){var m;return(m=t.options.debugAll)!=null?m:t.options.debugColumns}}),getLeafColumns:W(function(){return[t._getOrderColumnsFn()]},function(d){var m;if((m=c.columns)!=null&&m.length){var y=c.columns.flatMap(function(v){return v.getLeafColumns()});return d(y)}return[c]},{key:"column.getLeafColumns",debug:function(){var m;return(m=t.options.debugAll)!=null?m:t.options.debugColumns}})});return c=t._features.reduce(function(d,m){return Object.assign(d,m.createColumn==null?void 0:m.createColumn(c,t))},c),c},getAllColumns:W(function(){return[t.getColumnDefs()]},function(n){var r=function o(i,u,l){return l===void 0&&(l=0),i.map(function(a){var s=t.createColumn(a,l,u);return s.columns=a.columns?o(a.columns,s,l+1):[],s})};return r(n)},{key:"getAllColumns",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugColumns}}),getAllFlatColumns:W(function(){return[t.getAllColumns()]},function(n){return n.flatMap(function(r){return r.getFlatColumns()})},{key:"getAllFlatColumns",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugColumns}}),getAllFlatColumnsById:W(function(){return[t.getAllFlatColumns()]},function(n){return n.reduce(function(r,o){return r[o.id]=o,r},{})},{key:"getAllFlatColumnsById",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugColumns}}),getAllLeafColumns:W(function(){return[t.getAllColumns(),t._getOrderColumnsFn()]},function(n,r){var o=n.flatMap(function(i){return i.getLeafColumns()});return r(o)},{key:"getAllLeafColumns",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugColumns}}),getColumn:function(r){var o=t.getAllFlatColumnsById()[r];if(!o)throw new Error;return o}}}},iP={createInstance:function(t){return{getRowId:function(r,o,i){var u;return(u=t.options.getRowId==null?void 0:t.options.getRowId(r,o,i))!=null?u:""+(i?[i.id,o].join("."):o)},createRow:function(r,o,i,u,l){for(var a={id:r,index:i,original:o,depth:u,values:l,subRows:[],getLeafRows:function(){return rP(a.subRows,function(d){return d.subRows})},getRowProps:function(d){return t.getRowProps(a.id,d)}},s=0;s0){var a=u[l-1];return t.getColumnStart(a.id,o)+a.getSize()}return 0},setColumnSizing:function(r){return t.options.onColumnSizingChange==null?void 0:t.options.onColumnSizingChange(r)},setColumnSizingInfo:function(r){return t.options.onColumnSizingInfoChange==null?void 0:t.options.onColumnSizingInfoChange(r)},resetColumnSizing:function(){var r;t.setColumnSizing((r=t.initialState.columnSizing)!=null?r:{})},resetHeaderSizeInfo:function(){var r;t.setColumnSizingInfo((r=t.initialState.columnSizingInfo)!=null?r:{})},resetColumnSize:function(r){t.setColumnSizing(function(o){o[r];var i=Lh(o,[r].map(Dh));return i})},resetHeaderSize:function(r){var o=t.getHeader(r);return t.resetColumnSize(o.column.id)},getHeaderCanResize:function(r){var o=t.getHeader(r);if(!o)throw new Error;return t.getColumnCanResize(o.column.id)},getColumnCanResize:function(r){var o,i,u,l=t.getColumn(r);if(!l)throw new Error;return(o=(i=(u=l.enableResizing)!=null?u:t.options.enableColumnResizing)!=null?i:l.defaultCanResize)!=null?o:!0},getColumnIsResizing:function(r){var o=t.getColumn(r);if(!o)throw new Error;return t.getState().columnSizingInfo.isResizingColumn===r},getHeaderIsResizing:function(r){var o=t.getHeader(r);if(!o)throw new Error;return t.getColumnIsResizing(o.column.id)},getHeaderResizerProps:function(r,o){var i=t.getHeader(r),u=t.getColumn(i.column.id),l=u.getCanResize(),a=function(c){if(!($l(c)&&c.touches&&c.touches.length>1)){var d=r?t.getHeader(r):void 0,m=d?d.getSize():u.getSize(),y=d?d.getLeafHeaders().map(function(E){return[E.column.id,E.getSize()]}):[[u.id,u.getSize()]],v=$l(c)?Math.round(c.touches[0].clientX):c.clientX,w=function(P,x){if(typeof x=="number"){var A={};t.setColumnSizingInfo(function(k){var G,J,H=x-((G=k==null?void 0:k.startOffset)!=null?G:0),D=Math.max(H/((J=k==null?void 0:k.startSize)!=null?J:0),-.999999);return k.columnSizingStart.forEach(function(T){var V=T[0],N=T[1];A[V]=Math.round(Math.max(N+N*D,0)*100)/100}),Y({},k,{deltaOffset:H,deltaPercentage:D})}),(t.options.columnResizeMode==="onChange"||P==="end")&&t.setColumnSizing(function(k){return Y({},k,A)})}},p=function(P){return w("move",P)},g=function(P){w("end",P),t.setColumnSizingInfo(function(x){return Y({},x,{isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]})})},h={moveHandler:function(P){return p(P.clientX)},upHandler:function(P){document.removeEventListener("mousemove",h.moveHandler),document.removeEventListener("mouseup",h.upHandler),g(P.clientX)}},S={moveHandler:function(P){return P.cancelable&&(P.preventDefault(),P.stopPropagation()),p(P.touches[0].clientX),!1},upHandler:function(P){document.removeEventListener("touchmove",S.moveHandler),document.removeEventListener("touchend",S.upHandler),P.cancelable&&(P.preventDefault(),P.stopPropagation()),g(P.touches[0].clientX)}},_=aP()?{passive:!1}:!1;$l(c)?(document.addEventListener("touchmove",S.moveHandler,_),document.addEventListener("touchend",S.upHandler,_)):(document.addEventListener("mousemove",h.moveHandler,_),document.addEventListener("mouseup",h.upHandler,_)),t.setColumnSizingInfo(function(E){return Y({},E,{startOffset:v,startSize:m,deltaOffset:0,deltaPercentage:0,columnSizingStart:y,isResizingColumn:u.id})})}},s=l?{title:"Toggle Grouping",draggable:!1,role:"separator",onMouseDown:function(c){c.persist==null||c.persist(),a(c)},onTouchStart:function(c){c.persist==null||c.persist(),a(c)}}:{};return me(s,o)},getTotalSize:function(){var r,o;return(r=(o=t.getHeaderGroups()[0])==null?void 0:o.headers.reduce(function(i,u){return i+u.getSize()},0))!=null?r:0},getLeftTotalSize:function(){var r,o;return(r=(o=t.getLeftHeaderGroups()[0])==null?void 0:o.headers.reduce(function(i,u){return i+u.getSize()},0))!=null?r:0},getCenterTotalSize:function(){var r,o;return(r=(o=t.getCenterHeaderGroups()[0])==null?void 0:o.headers.reduce(function(i,u){return i+u.getSize()},0))!=null?r:0},getRightTotalSize:function(){var r,o;return(r=(o=t.getRightHeaderGroups()[0])==null?void 0:o.headers.reduce(function(i,u){return i+u.getSize()},0))!=null?r:0}}}},hi=null;function aP(){if(typeof hi=="boolean")return hi;var e=!1;try{var t={get passive(){return e=!0,!1}},n=function(){};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch{e=!1}return hi=e,hi}function $l(e){return e.type==="touchstart"}var sP={getInitialState:function(){return{expanded:{}}},getDefaultOptions:function(t){return{onExpandedChange:rt("expanded",t),autoResetExpanded:!0,expandSubRows:!0,paginateExpandedRows:!0}},createInstance:function(t){var n=!1;return{queueResetExpanded:function(){if(t.queueResetPageIndex(),!n){n=!0;return}t.options.autoResetAll!==!1&&(t.options.autoResetAll===!0||t.options.autoResetExpanded)&&t.resetExpanded()},setExpanded:function(o){return t.options.onExpandedChange==null?void 0:t.options.onExpandedChange(o)},toggleRowExpanded:function(o,i){!o||t.setExpanded(function(u){var l,a=u===!0?!0:!!(u!=null&&u[o]),s={};if(u===!0?Object.keys(t.getRowModel().rowsById).forEach(function(m){s[m]=!0}):s=u,i=(l=i)!=null?l:!a,!a&&i){var f;return Y({},s,(f={},f[o]=!0,f))}if(a&&!i){var c=s;c[o];var d=Lh(c,[o].map(Dh));return d}return u})},toggleAllRowsExpanded:function(o){(o!=null?o:!t.getIsAllRowsExpanded())?t.setExpanded(!0):t.setExpanded({})},resetExpanded:function(){var o,i;t.setExpanded((o=(i=t.initialState)==null?void 0:i.expanded)!=null?o:{})},getIsRowExpanded:function(o){var i,u=t.getPreExpandedRowModel().rowsById[o];if(!u)throw new Error;var l=t.getState().expanded;return!!((i=t.options.getIsRowExpanded==null?void 0:t.options.getIsRowExpanded(u))!=null?i:l===!0||(l==null?void 0:l[o]))},getRowCanExpand:function(o){var i,u,l,a,s=t.getRow(o);if(!s)throw new Error;return(i=(u=(l=t.options.getRowCanExpand==null?void 0:t.options.getRowCanExpand(s))!=null?l:t.options.enableExpanded)!=null?u:t.options.defaultCanExpand)!=null?i:!!((a=s.subRows)!=null&&a.length)},getCanSomeRowsExpand:function(){return Object.keys(t.getRowModel().rowsById).some(function(o){return t.getRowCanExpand(o)})},getToggleExpandedProps:function(o,i){var u=t.getRow(o);if(!!u){var l=t.getRowCanExpand(o),a={title:l?"Toggle Expanded":void 0,onClick:l?function(s){s.persist==null||s.persist(),t.toggleRowExpanded(o)}:void 0};return me(a,i)}},getToggleAllRowsExpandedProps:function(o){var i={title:"Toggle All Expanded",onClick:function(l){l.persist==null||l.persist(),t.toggleAllRowsExpanded()}};return me(i,o)},getIsSomeRowsExpanded:function(){var o=t.getState().expanded;return o===!0||Object.values(o).some(Boolean)},getIsAllRowsExpanded:function(){var o=t.getState().expanded;return o===!0?!0:!Object.keys(t.getRowModel().rowsById).some(function(i){return!t.getIsRowExpanded(i)})},getExpandedDepth:function(){var o=0,i=t.getState().expanded===!0?Object.keys(t.getRowModel().rowsById):Object.keys(t.getState().expanded);return i.forEach(function(u){var l=u.split(".");o=Math.max(o,l.length)}),o},getPreExpandedRowModel:function(){return t.getGroupedRowModel()},getExpandedRowModel:function(){return!t._getExpandedRowModel&&t.options.getExpandedRowModel&&(t._getExpandedRowModel=t.options.getExpandedRowModel(t)),t.options.manualExpanding||!t._getExpandedRowModel?t.getPreExpandedRowModel():t._getExpandedRowModel()}}},createRow:function(t,n){return{toggleExpanded:function(o){return void n.toggleRowExpanded(t.id,o)},getIsExpanded:function(){return n.getIsRowExpanded(t.id)},getCanExpand:function(){return t.subRows&&!!t.subRows.length},getToggleExpandedProps:function(o){return n.getToggleExpandedProps(t.id,o)}}}},Bt={includesString:Nh,includesStringSensitive:Hh,equalsString:jh,equalsStringSensitive:Uh,arrIncludes:Vh,arrIncludesAll:Bh,equals:Gh,weakEquals:Wh,betweenNumberRange:qh};function Nh(e,t,n){var r=String(n).toLowerCase();return e=e.filter(function(o){return t.some(function(i){return String(o.values[i]).toLowerCase().includes(r)})}),e}Nh.autoRemove=function(e){return dt(e)};function Hh(e,t,n){var r=String(n);return e=e.filter(function(o){return t.some(function(i){return String(o.values[i]).includes(r)})}),e}Hh.autoRemove=function(e){return dt(e)};function jh(e,t,n){var r=String(n).toLowerCase();return e.filter(function(o){return t.some(function(i){var u=o.values[i];return u!==void 0?String(u).toLowerCase()===r:!0})})}jh.autoRemove=function(e){return dt(e)};function Uh(e,t,n){var r=String(n);return e.filter(function(o){return t.some(function(i){var u=o.values[i];return u!==void 0?String(u)===r:!0})})}Uh.autoRemove=function(e){return dt(e)};function Vh(e,t,n){return e.filter(function(r){return t.some(function(o){var i=r.values[o];return i.includes(n)})})}Vh.autoRemove=function(e){return dt(e)||!(e!=null&&e.length)};function Bh(e,t,n){return e.filter(function(r){return t.some(function(o){var i=r.values[o];return i&&i.length&&n.every(function(u){return i.includes(u)})})})}Bh.autoRemove=function(e){return dt(e)||!(e!=null&&e.length)};function Gh(e,t,n){return e.filter(function(r){return t.some(function(o){var i=r.values[o];return i===n})})}Gh.autoRemove=function(e){return dt(e)};function Wh(e,t,n){return e.filter(function(r){return t.some(function(o){var i=r.values[o];return i==n})})}Wh.autoRemove=function(e){return dt(e)};function qh(e,t,n){var r=n||[],o=r[0],i=r[1],u=typeof o!="number"?parseFloat(o):o,l=typeof i!="number"?parseFloat(i):i,a=o===null||Number.isNaN(u)?-1/0:u,s=i===null||Number.isNaN(l)?1/0:l;if(a>s){var f=a;a=s,s=f}return e.filter(function(c){return t.some(function(d){var m=c.values[d];return m>=a&&m<=s})})}qh.autoRemove=function(e){return dt(e)||dt(e[0])&&dt(e[1])};function dt(e){return e==null||e===""}var fP={getDefaultColumn:function(){return{filterFn:"auto"}},getInitialState:function(){return{columnFilters:[],globalFilter:void 0,columnFiltersProgress:1,globalFilterProgress:1}},getDefaultOptions:function(t){return{onColumnFiltersChange:rt("columnFilters",t),onGlobalFilterChange:rt("globalFilter",t),autoResetColumnFilters:!0,filterFromLeafRows:!0,autoResetGlobalFilter:!0,globalFilterFn:"auto",getColumnCanGlobalFilterFn:function(r){var o,i,u=(o=t.getCoreRowModel().flatRows[0])==null||(i=o.getAllCellsByColumnId()[r.id])==null?void 0:i.value;return typeof u=="string"}}},createColumn:function(t,n){var r=W(function(){return[t.getPreFilteredRows()]},function(o){var i,u,l,a;o===void 0&&(o=[]);for(var s=new Map,f=[(i=(u=o[0])==null?void 0:u.values[t.id])!=null?i:null,(l=(a=o[0])==null?void 0:a.values[t.id])!=null?l:null],c=0;cf[1]&&(f[1]=m)}return{preFilteredUniqueValues:s,preFilteredMinMaxValues:f}},{key:"column.getFacetInfo",debug:function(){var i;return(i=n.options.debugAll)!=null?i:n.options.debugColumns}});return{filterFn:t.filterFn,getCanColumnFilter:function(){return n.getColumnCanColumnFilter(t.id)},getCanGlobalFilter:function(){return n.getColumnCanGlobalFilter(t.id)},getColumnFilterIndex:function(){return n.getColumnFilterIndex(t.id)},getColumnIsFiltered:function(){return n.getColumnIsFiltered(t.id)},getColumnFilterValue:function(){return n.getColumnFilterValue(t.id)},setColumnFilterValue:function(i){return n.setColumnFilterValue(t.id,i)},getPreFilteredUniqueValues:function(){return r().preFilteredUniqueValues},getPreFilteredMinMaxValues:function(){return r().preFilteredMinMaxValues},getPreFilteredRows:function(){}}},createInstance:function(t){var n=!1;return{queueResetFilters:function(){if(t.queueResetSorting(),!n){n=!0;return}t.options.autoResetAll!==!1&&((t.options.autoResetAll===!0||t.options.autoResetColumnFilters)&&t.resetColumnFilters(),(t.options.autoResetAll===!0||t.options.autoResetGlobalFilter)&&t.resetGlobalFilter())},getColumnAutoFilterFn:function(o){var i=t.getCoreRowModel().flatRows[0],u=i==null?void 0:i.values[o];return typeof u=="string"?Bt.includesString:typeof u=="number"?Bt.betweenNumberRange:u!==null&&typeof u=="object"?Bt.equals:Array.isArray(u)?Bt.arrIncludes:Bt.weakEquals},getGlobalAutoFilterFn:function(){return Bt.includesString},getColumnFilterFn:function(o){var i,u=t.getColumn(o),l=t.options.filterFns;if(!u)throw new Error;return Lo(u.filterFn)?u.filterFn:u.filterFn==="auto"?t.getColumnAutoFilterFn(o):(i=l==null?void 0:l[u.filterFn])!=null?i:Bt[u.filterFn]},getGlobalFilterFn:function(){var o,i=t.options,u=i.filterFns,l=i.globalFilterFn;return Lo(l)?l:l==="auto"?t.getGlobalAutoFilterFn():(o=u==null?void 0:u[l])!=null?o:Bt[l]},setColumnFilters:function(o){var i=t.getAllLeafColumns(),u=function(a){var s;return(s=Zt(o,a))==null?void 0:s.filter(function(f){var c=i.find(function(m){return m.id===f.id});if(c){var d=t.getColumnFilterFn(c.id);if(jd(d,f.value,c))return!1}return!0})};t.options.onColumnFiltersChange==null||t.options.onColumnFiltersChange(u)},setGlobalFilter:function(o){t.options.onGlobalFilterChange==null||t.options.onGlobalFilterChange(o)},resetGlobalFilter:function(){t.setGlobalFilter(t.initialState.globalFilter)},getColumnCanColumnFilter:function(o){var i,u,l,a,s,f,c=t.getColumn(o);if(!c)throw new Error;return(i=(u=(l=(a=(s=(f=c.enableAllFilters)!=null?f:c.enableColumnFilter)!=null?s:t.options.enableFilters)!=null?a:t.options.enableColumnFilters)!=null?l:c.defaultCanColumnFilter)!=null?u:c.defaultCanFilter)!=null?i:!!c.accessorFn},getColumnCanGlobalFilter:function(o){var i,u,l,a,s,f,c,d=t.getColumn(o);if(!d)throw new Error;return(i=((u=(l=(a=(s=(f=(c=t.options.enableFilters)!=null?c:t.options.enableGlobalFilter)!=null?f:d.enableAllFilters)!=null?s:d.enableGlobalFilter)!=null?a:d.defaultCanGlobalFilter)!=null?l:d.defaultCanFilter)!=null?u:!!d.accessorFn)&&(t.options.getColumnCanGlobalFilterFn==null?void 0:t.options.getColumnCanGlobalFilterFn(d)))!=null?i:!0},getColumnIsFiltered:function(o){return t.getColumnFilterIndex(o)>-1},getColumnFilterValue:function(o){var i,u;return(i=t.getState().columnFilters)==null||(u=i.find(function(l){return l.id===o}))==null?void 0:u.value},getColumnFilterIndex:function(o){var i,u;return(i=(u=t.getState().columnFilters)==null?void 0:u.findIndex(function(l){return l.id===o}))!=null?i:-1},setColumnFilterValue:function(o,i){!o||t.setColumnFilters(function(u){var l=t.getColumn(o);if(!l)throw new Error;var a=t.getColumnFilterFn(l.id),s=u==null?void 0:u.find(function(y){return y.id===o}),f=Zt(i,s?s.value:void 0);if(jd(a,f,l)){var c;return(c=u==null?void 0:u.filter(function(y){return y.id!==o}))!=null?c:[]}var d={id:o,value:f};if(s){var m;return(m=u==null?void 0:u.map(function(y){return y.id===o?d:y}))!=null?m:[]}return u!=null&&u.length?[].concat(u,[d]):[d]})},resetColumnFilters:function(){var o,i;t.setColumnFilters((o=(i=t.initialState)==null?void 0:i.columnFilters)!=null?o:[])},getPreColumnFilteredRowModel:function(){return t.getCoreRowModel()},getColumnFilteredRowModel:function(){return!t._getColumnFilteredRowModel&&t.options.getColumnFilteredRowModel&&(t._getColumnFilteredRowModel=t.options.getColumnFilteredRowModel(t)),t.options.manualColumnFiltering||!t._getColumnFilteredRowModel?t.getPreColumnFilteredRowModel():t._getColumnFilteredRowModel()},getPreGlobalFilteredRowModel:function(){return t.getColumnFilteredRowModel()},getGlobalFilteredRowModel:function(){return!t._getGlobalFilteredRowModel&&t.options.getGlobalFilteredRowModel&&(t._getGlobalFilteredRowModel=t.options.getGlobalFilteredRowModel(t)),t.options.manualGlobalFiltering||!t._getGlobalFilteredRowModel?t.getPreGlobalFilteredRowModel():t._getGlobalFilteredRowModel()}}}};function jd(e,t,n){return(e&&e.autoRemove?e.autoRemove(t,n):!1)||typeof t=="undefined"||typeof t=="string"&&!t}var mi={sum:cP,min:dP,max:pP,extent:gP,mean:Yh,median:vP,unique:hP,uniqueCount:mP,count:yP};function cP(e,t){return t().reduce(function(n,r){return n+(typeof r=="number"?r:0)},0)}function dP(e,t){for(var n,r=Go(t()),o;!(o=r()).done;){var i=o.value;i!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function pP(e,t){for(var n,r=Go(t()),o;!(o=r()).done;){var i=o.value;i!=null&&(n=i)&&(n=i)}return n}function gP(e,t){for(var n,r,o=Go(t()),i;!(i=o()).done;){var u=i.value;u!=null&&(n===void 0?u>=u&&(n=r=u):(n>u&&(n=u),r=i&&(++t,n+=i)}if(t)return n/t}function vP(e){var t=e();if(!!t.length){var n=0,r=0;return t.forEach(function(o){typeof o=="number"&&(n=Math.min(n,o),r=Math.max(r,o))}),(n+r)/2}}function hP(e){return Array.from(new Set(e()).values())}function mP(e){return new Set(e()).size}function yP(e){return e().length}var Kh={getDefaultColumn:function(){return{aggregationFn:"auto"}},getInitialState:function(){return{grouping:[]}},getDefaultOptions:function(t){return{onGroupingChange:rt("grouping",t),autoResetGrouping:!0,groupedColumnMode:"reorder"}},createColumn:function(t,n){return{aggregationFn:t.aggregationFn,getCanGroup:function(){return n.getColumnCanGroup(t.id)},getGroupedIndex:function(){return n.getColumnGroupedIndex(t.id)},getIsGrouped:function(){return n.getColumnIsGrouped(t.id)},toggleGrouping:function(){return n.toggleColumnGrouping(t.id)},getToggleGroupingProps:function(o){return n.getToggleGroupingProps(t.id,o)}}},createInstance:function(t){var n=!1;return{queueResetGrouping:function(){if(t.queueResetExpanded(),!n){n=!0;return}t.options.autoResetAll!==!1&&(t.options.autoResetAll===!0||t.options.autoResetGrouping)&&t.resetGrouping()},getColumnAutoAggregationFn:function(o){var i=t.getCoreRowModel().flatRows[0],u=i==null?void 0:i.values[o];return typeof u=="number"?mi.sum:Object.prototype.toString.call(u)==="[object Date]"?mi.extent:mi.count},getColumnAggregationFn:function(o){var i,u=t.getColumn(o),l=t.options.aggregationFns;if(!u)throw new Error;return Lo(u.aggregationFn)?u.aggregationFn:u.aggregationFn==="auto"?t.getColumnAutoAggregationFn(o):(i=l==null?void 0:l[u.aggregationFn])!=null?i:mi[u.aggregationFn]},setGrouping:function(o){return t.options.onGroupingChange==null?void 0:t.options.onGroupingChange(o)},toggleColumnGrouping:function(o){t.setGrouping(function(i){return i!=null&&i.includes(o)?i.filter(function(u){return u!==o}):[].concat(i!=null?i:[],[o])})},getColumnCanGroup:function(o){var i,u,l,a=t.getColumn(o);if(!a)throw new Error;return(i=(u=(l=a.enableGrouping)!=null?l:t.options.enableGrouping)!=null?u:a.defaultCanGroup)!=null?i:!!a.accessorFn},getColumnIsGrouped:function(o){var i;return(i=t.getState().grouping)==null?void 0:i.includes(o)},getColumnGroupedIndex:function(o){var i;return(i=t.getState().grouping)==null?void 0:i.indexOf(o)},resetGrouping:function(){var o,i;t.setGrouping((o=(i=t.initialState)==null?void 0:i.grouping)!=null?o:[])},getToggleGroupingProps:function(o,i){var u=t.getColumn(o),l=u.getCanGroup(),a={title:l?"Toggle Grouping":void 0,onClick:l?function(s){u.toggleGrouping==null||u.toggleGrouping()}:void 0};return me(a,i)},getRowIsGrouped:function(o){var i;return!!((i=t.getRow(o))!=null&&i.groupingColumnId)},getPreGroupedRowModel:function(){return t.getSortedRowModel()},getGroupedRowModel:function(){return!t._getGroupedRowModel&&t.options.getGroupedRowModel&&(t._getGroupedRowModel=t.options.getGroupedRowModel(t)),t.options.manualGrouping||!t._getGroupedRowModel?t.getPreGroupedRowModel():t._getGroupedRowModel()}}},createRow:function(t,n){return{getIsGrouped:function(){return n.getRowIsGrouped(t.id)}}},createCell:function(t,n,r,o){return{getIsGrouped:function(){return n.getIsGrouped()&&n.id===r.groupingColumnId},getIsPlaceholder:function(){return!t.getIsGrouped()&&n.getIsGrouped()},getIsAggregated:function(){var u;return!t.getIsGrouped()&&!t.getIsPlaceholder()&&((u=r.subRows)==null?void 0:u.length)>1},renderAggregatedCell:function(){var u,l=(u=n.aggregatedCell)!=null?u:n.cell;return l?o.render(l,{instance:o,column:n,row:r,cell:t,value:t.value}):null}}},orderColumns:function(t,n,r){if(!(n!=null&&n.length)||!r)return t;var o=t.filter(function(u){return!n.includes(u.id)});if(r==="remove")return o;var i=n.map(function(u){return t.find(function(l){return l.id===u})}).filter(Boolean);return[].concat(i,o)}},SP={getInitialState:function(){return{columnOrder:[]}},getDefaultOptions:function(t){return{onColumnOrderChange:rt("columnOrder",t)}},createInstance:function(t){return{setColumnOrder:function(r){return t.options.onColumnOrderChange==null?void 0:t.options.onColumnOrderChange(r)},resetColumnOrder:function(){var r;t.setColumnOrder((r=t.initialState.columnOrder)!=null?r:[])},_getOrderColumnsFn:W(function(){return[t.getState().columnOrder,t.getState().grouping,t.options.groupedColumnMode]},function(n,r,o){return function(i){var u=[];if(!(n!=null&&n.length))u=i;else{for(var l=[].concat(n),a=[].concat(i),s=function(){var c=l.shift(),d=a.findIndex(function(m){return m.id===c});d>-1&&u.push(a.splice(d,1)[0])};a.length&&l.length;)s();u=[].concat(u,a)}return Kh.orderColumns(u,r,o)}},{key:"getOrderColumnsFn"})}}},wP={getInitialState:function(){return{pagination:{pageCount:-1,pageIndex:0,pageSize:10}}},getDefaultOptions:function(t){return{onPaginationChange:rt("pagination",t),autoResetPageIndex:!0}},createInstance:function(t){var n=!1;return{queueResetPageIndex:function(){if(!n){n=!0;return}t.options.autoResetAll!==!1&&(t.options.autoResetAll===!0||t.options.autoResetPageIndex)&&t.resetPageIndex()},setPagination:function(o){var i=function(l){var a=Zt(o,l);return a};return t.options.onPaginationChange==null?void 0:t.options.onPaginationChange(i)},resetPagination:function(){var o;t.setPagination((o=t.initialState.pagination)!=null?o:{pageIndex:0,pageSize:10,pageCount:-1})},setPageIndex:function(o){t.setPagination(function(i){var u=Zt(o,i.pageIndex),l=i.pageCount&&i.pageCount>0?i.pageCount-1:Number.MAX_SAFE_INTEGER;return u=Math.min(Math.max(0,u),l),Y({},i,{pageIndex:u})})},resetPageIndex:function(){t.setPageIndex(0)},resetPageSize:function(){var o,i,u;t.setPageSize((o=(i=t.initialState)==null||(u=i.pagination)==null?void 0:u.pageSize)!=null?o:10)},setPageSize:function(o){t.setPagination(function(i){var u=Math.max(1,Zt(o,i.pageSize)),l=i.pageSize*i.pageIndex,a=Math.floor(l/u);return Y({},i,{pageIndex:a,pageSize:u})})},setPageCount:function(o){return t.setPagination(function(i){var u=Zt(o,i.pageCount);return typeof u=="number"&&(u=Math.max(-1,u)),Y({},i,{pageCount:u})})},getPageOptions:W(function(){return[t.getState().pagination.pageSize,t.getState().pagination.pageCount]},function(r,o){var i=[];return o&&o>0&&(i=[].concat(new Array(o)).fill(null).map(function(u,l){return l})),i},{key:"getPageOptions",debug:function(){var o;return(o=t.options.debugAll)!=null?o:t.options.debugTable}}),getCanPreviousPage:function(){return t.getState().pagination.pageIndex>0},getCanNextPage:function(){var o=t.getState().pagination.pageIndex,i=t.getPageCount();return i===-1?!0:i===0?!1:o0?o:Math.ceil(t.getPrePaginationRowModel().rows.length/t.getState().pagination.pageSize)}}}},CP={getInitialState:function(){return{columnPinning:{left:[],right:[]}}},getDefaultOptions:function(t){return{onColumnPinningChange:rt("columnPinning",t)}},createColumn:function(t,n){return{getCanPin:function(){return n.getColumnCanPin(t.id)},getPinnedIndex:function(){return n.getColumnPinnedIndex(t.id)},getIsPinned:function(){return n.getColumnIsPinned(t.id)},pin:function(o){return n.pinColumn(t.id,o)}}},createRow:function(t,n){return{getCenterVisibleCells:W(function(){return[t._getAllVisibleCells(),n.getState().columnPinning.left,n.getState().columnPinning.right]},function(r,o,i){var u=[].concat(o!=null?o:[],i!=null?i:[]);return r.filter(function(l){return!u.includes(l.columnId)})},{key:"row.getCenterVisibleCells",debug:function(){var o;return(o=n.options.debugAll)!=null?o:n.options.debugRows}}),getLeftVisibleCells:W(function(){return[t._getAllVisibleCells(),n.getState().columnPinning.left,,]},function(r,o){var i=(o!=null?o:[]).map(function(u){return r.find(function(l){return l.columnId===u})}).filter(Boolean).map(function(u){return Y({},u,{position:"left"})});return i},{key:"row.getLeftVisibleCells",debug:function(){var o;return(o=n.options.debugAll)!=null?o:n.options.debugRows}}),getRightVisibleCells:W(function(){return[t._getAllVisibleCells(),n.getState().columnPinning.right]},function(r,o){var i=(o!=null?o:[]).map(function(u){return r.find(function(l){return l.columnId===u})}).filter(Boolean).map(function(u){return Y({},u,{position:"left"})});return i},{key:"row.getRightVisibleCells",debug:function(){var o;return(o=n.options.debugAll)!=null?o:n.options.debugRows}})}},createCell:function(t,n){return{getCenterVisibleCells:W(function(){return[t.row._getAllVisibleCells(),n.getState().columnPinning.left,n.getState().columnPinning.right]},function(r,o,i){var u=[].concat(o!=null?o:[],i!=null?i:[]);return r.filter(function(l){return!u.includes(l.columnId)})},{key:"row.getCenterVisibleCells",debug:function(){var o;return(o=n.options.debugAll)!=null?o:n.options.debugRows}}),getLeftVisibleCells:W(function(){return[t.row._getAllVisibleCells(),n.getState().columnPinning.left,,]},function(r,o){var i=(o!=null?o:[]).map(function(u){return r.find(function(l){return l.columnId===u})}).filter(Boolean).map(function(u){return Y({},u,{position:"left"})});return i},{key:"row.getLeftVisibleCells",debug:function(){var o;return(o=n.options.debugAll)!=null?o:n.options.debugRows}}),getRightVisibleCells:W(function(){return[t.row._getAllVisibleCells(),n.getState().columnPinning.right]},function(r,o){var i=(o!=null?o:[]).map(function(u){return r.find(function(l){return l.columnId===u})}).filter(Boolean).map(function(u){return Y({},u,{position:"left"})});return i},{key:"row.getRightVisibleCells",debug:function(){var o;return(o=n.options.debugAll)!=null?o:n.options.debugRows}})}},createInstance:function(t){return{setColumnPinning:function(r){return t.options.onColumnPinningChange==null?void 0:t.options.onColumnPinningChange(r)},resetColumnPinning:function(){var r,o;return t.setColumnPinning((r=(o=t.initialState)==null?void 0:o.columnPinning)!=null?r:{})},pinColumn:function(r,o){var i=t.getColumn(r),u=i==null?void 0:i.getLeafColumns().map(function(l){return l.id}).filter(Boolean);t.setColumnPinning(function(l){var a,s;if(o==="right"){var f,c;return{left:((f=l==null?void 0:l.left)!=null?f:[]).filter(function(y){return!(u!=null&&u.includes(y))}),right:[].concat(((c=l==null?void 0:l.right)!=null?c:[]).filter(function(y){return!(u!=null&&u.includes(y))}),u)}}if(o==="left"){var d,m;return{left:[].concat(((d=l==null?void 0:l.left)!=null?d:[]).filter(function(y){return!(u!=null&&u.includes(y))}),u),right:((m=l==null?void 0:l.right)!=null?m:[]).filter(function(y){return!(u!=null&&u.includes(y))})}}return{left:((a=l==null?void 0:l.left)!=null?a:[]).filter(function(y){return!(u!=null&&u.includes(y))}),right:((s=l==null?void 0:l.right)!=null?s:[]).filter(function(y){return!(u!=null&&u.includes(y))})}})},getColumnCanPin:function(r){var o=t.getColumn(r);if(!o)throw new Error;var i=o.getLeafColumns();return i.some(function(u){var l,a,s;return(l=(a=(s=u.enablePinning)!=null?s:t.options.enablePinning)!=null?a:u.defaultCanPin)!=null?l:!!u.accessorFn})},getColumnIsPinned:function(r){var o=t.getColumn(r);if(!o)throw new Error;var i=o.getLeafColumns().map(function(c){return c.id}),u=t.getState().columnPinning,l=u.left,a=u.right,s=i.some(function(c){return l==null?void 0:l.includes(c)}),f=i.some(function(c){return a==null?void 0:a.includes(c)});return s?"left":f?"right":!1},getColumnPinnedIndex:function(r){var o,i,u,l=t.getColumnIsPinned(r);return l?(o=(i=t.getState().columnPinning)==null||(u=i[l])==null?void 0:u.indexOf(r))!=null?o:-1:0},getIsSomeColumnsPinned:function(){var r=t.getState().columnPinning,o=r.left,i=r.right;return Boolean((o==null?void 0:o.length)||(i==null?void 0:i.length))},getLeftLeafColumns:W(function(){return[t.getAllLeafColumns(),t.getState().columnPinning.left]},function(n,r){return(r!=null?r:[]).map(function(o){return n.find(function(i){return i.id===o})}).filter(Boolean)},{key:"getLeftLeafColumns",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugColumns}}),getRightLeafColumns:W(function(){return[t.getAllLeafColumns(),t.getState().columnPinning.right]},function(n,r){return(r!=null?r:[]).map(function(o){return n.find(function(i){return i.id===o})}).filter(Boolean)},{key:"getRightLeafColumns",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugColumns}}),getCenterLeafColumns:W(function(){return[t.getAllLeafColumns(),t.getState().columnPinning.left,t.getState().columnPinning.right]},function(n,r,o){var i=[].concat(r!=null?r:[],o!=null?o:[]);return n.filter(function(u){return!i.includes(u.id)})},{key:"getCenterLeafColumns",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugColumns}})}}},_P={getInitialState:function(){return{rowSelection:{}}},getDefaultOptions:function(t){return{onRowSelectionChange:rt("rowSelection",t),autoResetRowSelection:!0,enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}},createInstance:function(t){var n=!1;return{queueResetRowSelection:function(){if(!n){n=!0;return}t.options.autoResetAll!==!1&&(t.options.autoResetAll===!0||t.options.autoResetRowSelection)&&t.resetRowSelection()},setRowSelection:function(o){return t.options.onRowSelectionChange==null?void 0:t.options.onRowSelectionChange(o)},resetRowSelection:function(){var o;return t.setRowSelection((o=t.initialState.rowSelection)!=null?o:{})},toggleAllRowsSelected:function(o){t.setRowSelection(function(i){o=typeof o!="undefined"?o:!t.getIsAllRowsSelected();var u=Y({},i),l=t.getPreGroupedRowModel().flatRows;return o?l.forEach(function(a){u[a.id]=!0}):l.forEach(function(a){delete u[a.id]}),u})},toggleAllPageRowsSelected:function(o){return t.setRowSelection(function(i){typeof o!="undefined"||t.getIsAllPageRowsSelected();var u=Y({},i);return t.getRowModel().rows.forEach(function(l){Ud(u,l.id,o,t)}),u})},toggleRowSelected:function(o,i){var u=t.getRow(o),l=u.getIsSelected();t.setRowSelection(function(a){if(i=typeof i!="undefined"?i:!l,l===i)return a;var s=Y({},a);return Ud(s,o,i,t),s})},getPreSelectedRowModel:function(){return t.getCoreRowModel()},getSelectedRowModel:W(function(){return[t.getState().rowSelection,t.getCoreRowModel()]},function(r,o){return Object.keys(r).length?Al(t,o):{rows:[],flatRows:[],rowsById:{}}},{key:"getSelectedRowModel",debug:function(){var o;return(o=t.options.debugAll)!=null?o:t.options.debugTable},onChange:function(){t.queue(function(){return t.queueResetExpanded()})}}),getFilteredSelectedRowModel:W(function(){return[t.getState().rowSelection,t.getGlobalFilteredRowModel()]},function(r,o){return Object.keys(r).length?Al(t,o):{rows:[],flatRows:[],rowsById:{}}},{key:"getFilteredSelectedRowModel",debug:function(){var o;return(o=t.options.debugAll)!=null?o:t.options.debugTable},onChange:function(){return t.queue(function(){return t.queueResetExpanded()})}}),getGroupedSelectedRowModel:W(function(){return[t.getState().rowSelection,t.getGroupedRowModel()]},function(r,o){return Object.keys(r).length?Al(t,o):{rows:[],flatRows:[],rowsById:{}}},{key:"getGroupedSelectedRowModel",debug:function(){var o;return(o=t.options.debugAll)!=null?o:t.options.debugTable},onChange:function(){return t.queue(function(){return t.queueResetExpanded()})}}),getRowIsSelected:function(o){var i=t.getState(),u=i.rowSelection,l=t.getRow(o);if(!l)throw new Error;return du(l,u)===!0},getRowIsSomeSelected:function(o){var i=t.getState(),u=i.rowSelection,l=t.getRow(o);if(!l)throw new Error;return du(l,u)==="some"},getRowCanSelect:function(o){var i,u=t.getRow(o);if(!u)throw new Error;return typeof t.options.enableRowSelection=="function"?t.options.enableRowSelection(u):(i=t.options.enableRowSelection)!=null?i:!0},getRowCanSelectSubRows:function(o){var i,u=t.getRow(o);if(!u)throw new Error;return typeof t.options.enableSubRowSelection=="function"?t.options.enableSubRowSelection(u):(i=t.options.enableSubRowSelection)!=null?i:!0},getRowCanMultiSelect:function(o){var i,u=t.getRow(o);if(!u)throw new Error;return typeof t.options.enableMultiRowSelection=="function"?t.options.enableMultiRowSelection(u):(i=t.options.enableMultiRowSelection)!=null?i:!0},getIsAllRowsSelected:function(){var o=t.getPreGlobalFilteredRowModel().flatRows,i=t.getState(),u=i.rowSelection,l=Boolean(o.length&&Object.keys(u).length);return l&&o.some(function(a){return!u[a.id]})&&(l=!1),l},getIsAllPageRowsSelected:function(){var o=t.getPaginationRowModel().flatRows,i=t.getState(),u=i.rowSelection,l=!!o.length;return l&&o.some(function(a){return!u[a.id]})&&(l=!1),l},getIsSomeRowsSelected:function(){var o;return!t.getIsAllRowsSelected()&&!!Object.keys((o=t.getState().rowSelection)!=null?o:{}).length},getIsSomePageRowsSelected:function(){var o=t.getPaginationRowModel().flatRows;return t.getIsAllPageRowsSelected()?!1:!!(o!=null&&o.length)},getToggleRowSelectedProps:function(o,i){var u=t.getRow(o),l=u.getIsSelected(),a=u.getIsSomeSelected(),s=u.getCanSelect(),f={onChange:s?function(c){u.toggleSelected(c.target.checked)}:void 0,checked:l,title:"Toggle Row Selected",indeterminate:a};return me(f,i)},getToggleAllRowsSelectedProps:function(o){var i=t.getIsSomeRowsSelected(),u=t.getIsAllRowsSelected(),l={onChange:function(s){t.toggleAllRowsSelected(s.target.checked)},checked:u,title:"Toggle All Rows Selected",indeterminate:i};return me(l,o)},getToggleAllPageRowsSelectedProps:function(o){var i=t.getIsSomePageRowsSelected(),u=t.getIsAllPageRowsSelected(),l={onChange:function(s){t.toggleAllPageRowsSelected(s.target.checked)},checked:u,title:"Toggle All Current Page Rows Selected",indeterminate:i};return me(l,o)}}},createRow:function(t,n){return{getIsSelected:function(){return n.getRowIsSelected(t.id)},getIsSomeSelected:function(){return n.getRowIsSomeSelected(t.id)},toggleSelected:function(o){return n.toggleRowSelected(t.id,o)},getToggleSelectedProps:function(o){return n.getToggleRowSelectedProps(t.id,o)},getCanMultiSelect:function(){return n.getRowCanMultiSelect(t.id)},getCanSelect:function(){return n.getRowCanSelect(t.id)}}}},Ud=function e(t,n,r,o){var i,u=o.getRow(n);u.getIsGrouped(),r?t[n]=!0:delete t[n],(i=u.subRows)!=null&&i.length&&o.getRowCanSelectSubRows(u.id)&&u.subRows.forEach(function(l){return e(t,l.id,r,o)})};function Al(e,t){var n=e.getState().rowSelection,r=[],o={},i=function u(l,a){return l.map(function(s){var f,c=du(s,n)===!0;if(c&&(r.push(s),o[s.id]=s),(f=s.subRows)!=null&&f.length&&(s=Y({},s,{subRows:u(s.subRows)})),c)return s}).filter(Boolean)};return{rows:i(t.rows),flatRows:r,rowsById:o}}function du(e,t,n){if(t[e.id])return!0;if(e.subRows&&e.subRows.length){var r=!0,o=!1;return e.subRows.forEach(function(i){o&&!r||(du(i,t)?o=!0:r=!1)}),r?!0:o?"some":!1}return!1}var Qa=/([0-9]+)/gm,Br={alphanumeric:RP,alphanumericCaseSensitive:EP,text:xP,textCaseSensitive:PP,datetime:OP,basic:$P};function RP(e,t,n){return Qh(pn(e.values[n]).toLowerCase(),pn(t.values[n]).toLowerCase())}function EP(e,t,n){return Qh(pn(e.values[n]),pn(t.values[n]))}function Qh(e,t){for(var n=e.split(Qa).filter(Boolean),r=t.split(Qa).filter(Boolean);n.length&&r.length;){var o=n.shift(),i=r.shift(),u=parseInt(o,10),l=parseInt(i,10),a=[u,l].sort();if(isNaN(a[0])){if(o>i)return 1;if(i>o)return-1;continue}if(isNaN(a[1]))return isNaN(u)?-1:1;if(u>l)return 1;if(l>u)return-1}return n.length-r.length}function xP(e,t,n){return Lu(pn(e.values[n]).toLowerCase(),pn(t.values[n]).toLowerCase())}function PP(e,t,n){return Lu(pn(e.values[n]),pn(t.values[n]))}function OP(e,t,n){return Lu(e.values[n].getTime(),t.values[n].getTime())}function $P(e,t,n){return Lu(e.values[n],t.values[n])}function Lu(e,t){return e===t?0:e>t?1:-1}function pn(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}var AP={getDefaultColumn:function(){return{sortingFn:"auto"}},getInitialState:function(){return{sorting:[]}},getDefaultOptions:function(t){return{onSortingChange:rt("sorting",t),autoResetSorting:!0,isMultiSortEvent:function(r){return r.shiftKey}}},createColumn:function(t,n){return{sortingFn:t.sortingFn,getCanSort:function(){return n.getColumnCanSort(t.id)},getCanMultiSort:function(){return n.getColumnCanMultiSort(t.id)},getSortIndex:function(){return n.getColumnSortIndex(t.id)},getIsSorted:function(){return n.getColumnIsSorted(t.id)},resetSorting:function(){return n.resetSorting(t.id)},toggleSorting:function(o,i){return n.toggleColumnSorting(t.id,o,i)},getToggleSortingProps:function(o){return n.getToggleSortingProps(t.id,o)}}},createInstance:function(t){var n=!1;return{queueResetSorting:function(){if(t.queueResetGrouping(),!n){n=!0;return}t.options.autoResetAll!==!1&&(t.options.autoResetAll===!0||t.options.autoResetSorting)&&t.resetSorting()},getColumnAutoSortingFn:function(o){for(var i=t.getGlobalFilteredRowModel().flatRows.slice(100),u=!1,l=Go(i),a;!(a=l()).done;){var s=a.value,f=s==null?void 0:s.values[o];if(Object.prototype.toString.call(f)==="[object Date]")return Br.datetime;if(typeof f=="string"&&(u=!0,f.split(Qa).length>1))return Br.alphanumeric}return u?Br.text:Br.basic},getColumnAutoSortDir:function(o){var i=t.getGlobalFilteredRowModel().flatRows[0],u=i==null?void 0:i.values[o];return typeof u=="string"?"asc":"desc"},getColumnSortingFn:function(o){var i,u=t.getColumn(o),l=t.options.sortingFns;if(!u)throw new Error;return Lo(u.sortingFn)?u.sortingFn:u.sortingFn==="auto"?t.getColumnAutoSortingFn(o):(i=l==null?void 0:l[u.sortingFn])!=null?i:Br[u.sortingFn]},setSorting:function(o){return t.options.onSortingChange==null?void 0:t.options.onSortingChange(o)},toggleColumnSorting:function(o,i,u){var l=t.getColumn(o);if(!l)throw new Error;t.setSorting(function(a){var s,f,c,d,m=a==null?void 0:a.find(function(S){return S.id===o}),y=a==null?void 0:a.findIndex(function(S){return S.id===o}),v=typeof i!="undefined"&&i!==null,w=[],p;l.getCanMultiSort()&&u?m?p="toggle":p="add":a!=null&&a.length&&y!==a.length-1?p="replace":m?p="toggle":p="replace";var g=(s=(f=l.sortDescFirst)!=null?f:t.options.sortDescFirst)!=null?s:t.getColumnAutoSortDir(o)==="desc";if(p==="toggle"&&((c=t.options.enableSortingRemoval)!=null?c:!0)&&!v&&(u&&(d=t.options.enableMultiRemove)!=null?d:!0)&&(m!=null&&m.desc?!g:g)&&(p="remove"),p==="replace")w=[{id:o,desc:v?i:!!g}];else if(p==="add"&&a!=null&&a.length){var h;w=[].concat(a,[{id:o,desc:v?i:!!g}]),w.splice(0,w.length-((h=t.options.maxMultiSortColCount)!=null?h:Number.MAX_SAFE_INTEGER))}else p==="toggle"&&a!=null&&a.length?w=a.map(function(S){return S.id===o?Y({},S,{desc:v?i:!(m!=null&&m.desc)}):S}):p==="remove"&&a!=null&&a.length&&(w=a.filter(function(S){return S.id!==o}));return w})},getColumnCanSort:function(o){var i,u,l,a=t.getColumn(o);if(!a)throw new Error;return(i=(u=(l=a.enableSorting)!=null?l:t.options.enableSorting)!=null?u:a.defaultCanSort)!=null?i:!!a.accessorFn},getColumnCanMultiSort:function(o){var i,u,l=t.getColumn(o);if(!l)throw new Error;return(i=(u=l.enableMultiSort)!=null?u:t.options.enableMultiSort)!=null?i:!!l.accessorFn},getColumnIsSorted:function(o){var i,u=(i=t.getState().sorting)==null?void 0:i.find(function(l){return l.id===o});return u?u.desc?"desc":"asc":!1},getColumnSortIndex:function(o){var i,u;return(i=(u=t.getState().sorting)==null?void 0:u.findIndex(function(l){return l.id===o}))!=null?i:-1},resetSorting:function(o){if(o)t.setSorting(function(l){return l!=null&&l.length?l.filter(function(a){return a.id!==o}):[]});else{var i,u;t.setSorting((i=(u=t.initialState)==null?void 0:u.sorting)!=null?i:[])}},getToggleSortingProps:function(o,i){var u=t.getColumn(o);if(!u)throw new Error;var l=u.getCanSort(),a={title:l?"Toggle Sorting":void 0,onClick:l?function(s){s.persist==null||s.persist(),u.toggleSorting==null||u.toggleSorting(void 0,u.getCanMultiSort()?t.options.isMultiSortEvent==null?void 0:t.options.isMultiSortEvent(s):!1)}:void 0};return me(a,i)},getPreSortedRowModel:function(){return t.getGlobalFilteredRowModel()},getSortedRowModel:function(){return!t._getSortedRowModel&&t.options.getSortedRowModel&&(t._getSortedRowModel=t.options.getSortedRowModel(t)),t.options.manualSorting||!t._getSortedRowModel?t.getPreSortedRowModel():t._getSortedRowModel()}}}},IP={getInitialState:function(){return{columnVisibility:{}}},getDefaultOptions:function(t){return{onColumnVisibilityChange:rt("columnVisibility",t)}},getDefaultColumn:function(){return{defaultIsVisible:!0}},createColumn:function(t,n){return{getCanHide:function(){return n.getColumnCanHide(t.id)},getIsVisible:function(){return n.getColumnIsVisible(t.id)},toggleVisibility:function(o){return n.toggleColumnVisibility(t.id,o)},getToggleVisibilityProps:function(o){var i={type:"checkbox",checked:t.getIsVisible==null?void 0:t.getIsVisible(),title:"Toggle Column Visibility",onChange:function(l){t.toggleVisibility==null||t.toggleVisibility(l.target.checked)}};return me(i,o)}}},createRow:function(t,n){return{_getAllVisibleCells:W(function(){return[t.getAllCells().filter(function(r){return r.column.getIsVisible()}).map(function(r){return r.id}).join("_")]},function(r){return t.getAllCells().filter(function(o){return o.column.getIsVisible()})},{key:"row._getAllVisibleCells",debug:function(){var o;return(o=n.options.debugAll)!=null?o:n.options.debugRows}}),getVisibleCells:W(function(){return[t.getLeftVisibleCells(),t.getCenterVisibleCells(),t.getRightVisibleCells()]},function(r,o,i){return[].concat(r,o,i)},{key:"row.getVisibleCells",debug:function(){var o;return(o=n.options.debugAll)!=null?o:n.options.debugRows}})}},createInstance:function(t){var n=function(o,i){return W(function(){return[i(),i().filter(function(u){return u.getIsVisible()}).map(function(u){return u.id}).join("_")]},function(u){return u.filter(function(l){return l.getIsVisible==null?void 0:l.getIsVisible()})},{key:o,debug:function(){var l;return(l=t.options.debugAll)!=null?l:t.options.debugColumns}})};return{getVisibleFlatColumns:n("getVisibleFlatColumns",function(){return t.getAllFlatColumns()}),getVisibleLeafColumns:n("getVisibleLeafColumns",function(){return t.getAllLeafColumns()}),getLeftVisibleLeafColumns:n("getLeftVisibleLeafColumns",function(){return t.getLeftLeafColumns()}),getRightVisibleLeafColumns:n("getRightVisibleLeafColumns",function(){return t.getRightLeafColumns()}),getCenterVisibleLeafColumns:n("getCenterVisibleLeafColumns",function(){return t.getCenterLeafColumns()}),setColumnVisibility:function(o){return t.options.onColumnVisibilityChange==null?void 0:t.options.onColumnVisibilityChange(o)},toggleColumnVisibility:function(o,i){!o||t.getColumnCanHide(o)&&t.setColumnVisibility(function(u){var l;return Y({},u,(l={},l[o]=i!=null?i:!t.getColumnIsVisible(o),l))})},toggleAllColumnsVisible:function(o){var i;o=(i=o)!=null?i:!t.getIsAllColumnsVisible(),t.setColumnVisibility(t.getAllLeafColumns().reduce(function(u,l){var a;return Y({},u,(a={},a[l.id]=o||!(l.getCanHide!=null&&l.getCanHide()),a))},{}))},getColumnIsVisible:function(o){var i,u,l,a=t.getColumn(o);if(!a)throw new Error;return(i=(u=(l=t.getState().columnVisibility)==null?void 0:l[o])!=null?u:a.defaultIsVisible)!=null?i:!0},getColumnCanHide:function(o){var i,u,l,a=t.getColumn(o);if(!a)throw new Error;return(i=(u=(l=t.options.enableHiding)!=null?l:a.enableHiding)!=null?u:a.defaultCanHide)!=null?i:!0},getIsAllColumnsVisible:function(){return!t.getAllLeafColumns().some(function(o){return!(o.getIsVisible!=null&&o.getIsVisible())})},getIsSomeColumnsVisible:function(){return t.getAllLeafColumns().some(function(o){return o.getIsVisible==null?void 0:o.getIsVisible()})},getToggleAllColumnsVisibilityProps:function(o){var i={onChange:function(l){var a;t.toggleAllColumnsVisible((a=l.target)==null?void 0:a.checked)},type:"checkbox",title:"Toggle visibility for all columns",checked:t.getIsAllColumnsVisible(),indeterminate:!t.getIsAllColumnsVisible()&&t.getIsSomeColumnsVisible()?"indeterminate":void 0};return me(i,o)}}}},kP={createInstance:function(t){return{createHeader:function(r,o){var i,u=(i=o.id)!=null?i:r.id,l={id:u,column:r,index:o.index,isPlaceholder:o.isPlaceholder,placeholderId:o.placeholderId,depth:o.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getSize:function(){var s=0,f=function c(d){if(d.subHeaders.length)d.subHeaders.forEach(c);else{var m;s+=(m=d.column.getSize())!=null?m:0}};return f(l),s},getStart:function(){if(l.index>0){var s=l.headerGroup.headers[l.index-1];return s.getStart()+s.getSize()}return 0},getLeafHeaders:function(){var s=[],f=function c(d){d.subHeaders&&d.subHeaders.length&&d.subHeaders.map(c),s.push(d)};return f(l),s},getHeaderProps:function(s){return t.getHeaderProps(l.id,s)},getFooterProps:function(s){return t.getFooterProps(l.id,s)},renderHeader:function(){return r.header?t.render(r.header,{instance:t,header:l,column:r}):null},renderFooter:function(){return r.footer?t.render(r.footer,{instance:t,header:l,column:r}):null}};return t._features.forEach(function(a){Object.assign(l,a.createHeader==null?void 0:a.createHeader(l,t))}),l},getHeaderGroups:W(function(){return[t.getAllColumns(),t.getVisibleLeafColumns(),t.getState().columnPinning.left,t.getState().columnPinning.right]},function(n,r,o,i){var u=r.filter(function(f){return o==null?void 0:o.includes(f.id)}),l=r.filter(function(f){return i==null?void 0:i.includes(f.id)}),a=r.filter(function(f){return!(o!=null&&o.includes(f.id))&&!(i!=null&&i.includes(f.id))}),s=yi(n,[].concat(u,a,l),t);return s},{key:"getHeaderGroups",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugHeaders}}),getCenterHeaderGroups:W(function(){return[t.getAllColumns(),t.getVisibleLeafColumns(),t.getState().columnPinning.left,t.getState().columnPinning.right]},function(n,r,o,i){return r=r.filter(function(u){return!(o!=null&&o.includes(u.id))&&!(i!=null&&i.includes(u.id))}),yi(n,r,t,"center")},{key:"getCenterHeaderGroups",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugHeaders}}),getLeftHeaderGroups:W(function(){return[t.getAllColumns(),t.getVisibleLeafColumns(),t.getState().columnPinning.left]},function(n,r,o){return r=r.filter(function(i){return o==null?void 0:o.includes(i.id)}),yi(n,r,t,"left")},{key:"getLeftHeaderGroups",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugHeaders}}),getRightHeaderGroups:W(function(){return[t.getAllColumns(),t.getVisibleLeafColumns(),t.getState().columnPinning.right]},function(n,r,o){return r=r.filter(function(i){return o==null?void 0:o.includes(i.id)}),yi(n,r,t,"right")},{key:"getRightHeaderGroups",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugHeaders}}),getFooterGroups:W(function(){return[t.getHeaderGroups()]},function(n){return[].concat(n).reverse()},{key:"getFooterGroups",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugHeaders}}),getLeftFooterGroups:W(function(){return[t.getLeftHeaderGroups()]},function(n){return[].concat(n).reverse()},{key:"getLeftFooterGroups",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugHeaders}}),getCenterFooterGroups:W(function(){return[t.getCenterHeaderGroups()]},function(n){return[].concat(n).reverse()},{key:"getCenterFooterGroups",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugHeaders}}),getRightFooterGroups:W(function(){return[t.getRightHeaderGroups()]},function(n){return[].concat(n).reverse()},{key:"getRightFooterGroups",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugHeaders}}),getFlatHeaders:W(function(){return[t.getHeaderGroups()]},function(n){return n.map(function(r){return r.headers}).flat()},{key:"getFlatHeaders",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugHeaders}}),getLeftFlatHeaders:W(function(){return[t.getLeftHeaderGroups()]},function(n){return n.map(function(r){return r.headers}).flat()},{key:"getLeftFlatHeaders",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugHeaders}}),getCenterFlatHeaders:W(function(){return[t.getCenterHeaderGroups()]},function(n){return n.map(function(r){return r.headers}).flat()},{key:"getCenterFlatHeaders",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugHeaders}}),getRightFlatHeaders:W(function(){return[t.getRightHeaderGroups()]},function(n){return n.map(function(r){return r.headers}).flat()},{key:"getRightFlatHeaders",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugHeaders}}),getCenterLeafHeaders:W(function(){return[t.getCenterFlatHeaders()]},function(n){return n.filter(function(r){var o;return!((o=r.subHeaders)!=null&&o.length)})},{key:"getCenterLeafHeaders",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugHeaders}}),getLeftLeafHeaders:W(function(){return[t.getLeftFlatHeaders()]},function(n){return n.filter(function(r){var o;return!((o=r.subHeaders)!=null&&o.length)})},{key:"getLeftLeafHeaders",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugHeaders}}),getRightLeafHeaders:W(function(){return[t.getRightFlatHeaders()]},function(n){return n.filter(function(r){var o;return!((o=r.subHeaders)!=null&&o.length)})},{key:"getRightLeafHeaders",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugHeaders}}),getLeafHeaders:W(function(){return[t.getLeftHeaderGroups(),t.getCenterHeaderGroups(),t.getRightHeaderGroups()]},function(n,r,o){var i,u,l,a,s,f;return[].concat((i=(u=n[0])==null?void 0:u.headers)!=null?i:[],(l=(a=r[0])==null?void 0:a.headers)!=null?l:[],(s=(f=o[0])==null?void 0:f.headers)!=null?s:[]).map(function(c){return c.getLeafHeaders()}).flat()},{key:"getLeafHeaders",debug:function(){var r;return(r=t.options.debugAll)!=null?r:t.options.debugHeaders}}),getHeader:function(r){var o=[].concat(t.getFlatHeaders(),t.getCenterFlatHeaders(),t.getLeftFlatHeaders(),t.getRightFlatHeaders()).find(function(i){return i.id===r});if(!o)throw new Error;return o},getHeaderGroupProps:function(r,o){var i=t.getHeaderGroups().find(function(u){return u.id===r});if(!!i)return me({key:i.id,role:"row"},o)},getFooterGroupProps:function(r,o){var i=t.getFooterGroups().find(function(l){return l.id===r});if(!!i){var u={key:i.id,role:"row"};return me(u,o)}},getHeaderProps:function(r,o){var i=t.getHeader(r);if(!i)throw new Error;var u={key:i.id,role:"columnheader",colSpan:i.colSpan,rowSpan:i.rowSpan};return me(u,o)},getFooterProps:function(r,o){var i=t.getHeader(r),u={key:i.id,role:"columnfooter",colSpan:i.colSpan,rowSpan:i.rowSpan};return me(u,o)}}}};function yi(e,t,n,r){var o,i,u=0,l=function d(m,y){y===void 0&&(y=1),u=Math.max(u,y),m.filter(function(v){return v.getIsVisible()}).forEach(function(v){var w;(w=v.columns)!=null&&w.length&&d(v.columns,y+1)},0)};l(e);var a=[],s=function d(m,y){var v={depth:y,id:[r,""+y].filter(Boolean).join("_"),headers:[],getHeaderGroupProps:function(g){return n.getHeaderGroupProps(""+y,g)},getFooterGroupProps:function(g){return n.getFooterGroupProps(""+y,g)}},w=[];m.forEach(function(p){var g=[].concat(w).reverse()[0],h=p.column.depth===v.depth,S,_=!1;if(h&&p.column.parent?S=p.column.parent:(S=p.column,_=!0),(g==null?void 0:g.column)===S)g.subHeaders.push(p);else{var E=n.createHeader(S,{id:[r,y,S.id,p==null?void 0:p.id].filter(Boolean).join("_"),isPlaceholder:_,placeholderId:_?""+w.filter(function(P){return P.column===S}).length:void 0,depth:y,index:w.length});E.subHeaders.push(p),w.push(E)}v.headers.push(p),p.headerGroup=v}),a.push(v),y>0&&d(w,y-1)},f=t.map(function(d,m){return n.createHeader(d,{depth:u,index:m})});s(f,u-1),a.reverse();var c=function d(m){var y=m.filter(function(v){return v.column.getIsVisible()});return y.map(function(v){var w=0,p=0,g=[0];v.subHeaders&&v.subHeaders.length?(g=[],d(v.subHeaders).forEach(function(S){var _=S.colSpan,E=S.rowSpan;w+=_,g.push(E)})):w=1;var h=Math.min.apply(Math,g);return p=p+h,v.colSpan=w>0?w:void 0,v.rowSpan=p>0?p:void 0,{colSpan:w,rowSpan:p}})};return c((o=(i=a[0])==null?void 0:i.headers)!=null?o:[]),a}function bP(e){var t;(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");var n={};n._features=[oP,iP,uP,kP,IP,SP,CP,fP,AP,Kh,sP,wP,_P,lP];var r=n._features.reduce(function(f,c){return Object.assign(f,c.getDefaultOptions==null?void 0:c.getDefaultOptions(n))},{}),o=function(c){return Y({},r,c)};n.options=o(e);var i={coreProgress:1},u=Y({},i,n._features.reduce(function(f,c){return Object.assign(f,c.getInitialState==null?void 0:c.getInitialState())},{}),(t=e.initialState)!=null?t:{}),l=[],a,s=Y({},n,n._features.reduce(function(f,c){return Object.assign(f,c.createInstance==null?void 0:c.createInstance(n))},{}),{queue:function(c){l.push(c),a||(a=setTimeout(function(){n.setState(function(d){return Y({},d)})}))},willUpdate:function(){for(clearTimeout(a);l.length;)l.shift()()},initialState:u,reset:function(){n.setState(n.initialState)},setOptions:function(c){var d=Zt(c,n.options);n.options.mergeOptions?n.options=n.options.mergeOptions(r,d):n.options=o(d)},render:function(c,d){return typeof n.options.render=="function"?n.options.render(c,d):typeof c=="function"?c(d):c},getState:function(){return n.options.state},setState:function(c){n.options.onStateChange==null||n.options.onStateChange(c)},getTableProps:function(c){return me({role:"table"},c)},getTableBodyProps:function(c){return me({role:"rowgroup"},c)},getOverallProgress:function(){var c=n.getState(),d=c.coreProgress,m=c.columnFiltersProgress,y=c.globalFilterProgress;return Yh(function(){return[d,m,y].filter(function(v){return v<1})})}});return n=Object.assign(n,s),n}function MP(e){return function(){return Jh(void 0,void 0,e)}}function Jh(e,t,n){var r={generics:void 0,options:n!=null?n:{render:function(){throw new Error("")}()},setRowType:function(){return r},setTableMetaType:function(){return r},setColumnMetaType:function(){return r},setOptions:function(i){return Jh(e,t,Y({},n,i))},createColumns:function(i){return i},createDisplayColumn:function(i){return Y({},i,{columnDefType:"display"})},createGroup:function(i){return Y({},i,{columnDefType:"group"})},createDataColumn:function(i,u){if(u=Y({},u,{columnDefType:"data",id:u.id}),typeof i=="string"){var l;return Y({},u,{id:(l=u.id)!=null?l:i,accessorKey:i})}if(typeof i=="function")return Y({},u,{accessorFn:i});throw new Error("Invalid accessor")}};return r}function EO(){return function(e){return W(function(){return[e.options.data]},function(t){for(var n=[],r=[],o={},i=e.getAllLeafColumns(),u=function a(s,f,c,d,m){c===void 0&&(c=0);for(var y=e.getRowId(s,f,m),v={},w=0;w=D?H:""+Array(D+1-V.length).join(T)+H},S={s:h,z:function(H){var D=-H.utcOffset(),T=Math.abs(D),V=Math.floor(T/60),N=T%60;return(D<=0?"+":"-")+h(V,2,"0")+":"+h(N,2,"0")},m:function H(D,T){if(D.date()1)return H(L[0])}else{var C=D.name;E[C]=D,N=C}return!V&&N&&(_=N),N||!V&&_},A=function(H,D){if(P(H))return H.clone();var T=typeof D=="object"?D:{};return T.date=H,T.args=arguments,new G(T)},k=S;k.l=x,k.i=P,k.w=function(H,D){return A(H,{locale:D.$L,utc:D.$u,x:D.$x,$offset:D.$offset})};var G=function(){function H(T){this.$L=x(T.locale,null,!0),this.parse(T)}var D=H.prototype;return D.parse=function(T){this.$d=function(V){var N=V.date,$=V.utc;if(N===null)return new Date(NaN);if(k.u(N))return new Date;if(N instanceof Date)return new Date(N);if(typeof N=="string"&&!/Z$/i.test(N)){var L=N.match(w);if(L){var C=L[2]-1||0,R=(L[7]||"0").substring(0,3);return $?new Date(Date.UTC(L[1],C,L[3]||1,L[4]||0,L[5]||0,L[6]||0,R)):new Date(L[1],C,L[3]||1,L[4]||0,L[5]||0,L[6]||0,R)}}return new Date(N)}(T),this.$x=T.x||{},this.init()},D.init=function(){var T=this.$d;this.$y=T.getFullYear(),this.$M=T.getMonth(),this.$D=T.getDate(),this.$W=T.getDay(),this.$H=T.getHours(),this.$m=T.getMinutes(),this.$s=T.getSeconds(),this.$ms=T.getMilliseconds()},D.$utils=function(){return k},D.isValid=function(){return this.$d.toString()!==v},D.isSame=function(T,V){var N=A(T);return this.startOf(V)<=N&&N<=this.endOf(V)},D.isAfter=function(T,V){return A(T)0,E<=_.r||!_.r){E<=1&&S>0&&(_=g[S-1]);var P=p[_.l];m&&(E=m(""+E)),v=typeof P=="string"?P.replace("%d",E):P(E,f,_.l,w);break}}if(f)return v;var x=w?p.future:p.past;return typeof x=="function"?x(v):x.replace("%s",v)},i.to=function(s,f){return l(s,f,this,!0)},i.from=function(s,f){return l(s,f,this)};var a=function(s){return s.$u?o.utc():o()};i.toNow=function(s){return this.to(a(this),s)},i.fromNow=function(s){return this.from(a(this),s)}}})})(Zh);var IO=Zh.exports,HP={exports:{}};(function(e,t){(function(n,r){e.exports=r(wf.exports)})(es,function(n){function r(u){return u&&typeof u=="object"&&"default"in u?u:{default:u}}var o=r(n),i={name:"zh-cn",weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(u,l){return l==="W"?u+"\u5468":u+"\u65E5"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",LLLL:"YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5185",past:"%s\u524D",s:"\u51E0\u79D2",m:"1 \u5206\u949F",mm:"%d \u5206\u949F",h:"1 \u5C0F\u65F6",hh:"%d \u5C0F\u65F6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4E2A\u6708",MM:"%d \u4E2A\u6708",y:"1 \u5E74",yy:"%d \u5E74"},meridiem:function(u,l){var a=100*u+l;return a<600?"\u51CC\u6668":a<900?"\u65E9\u4E0A":a<1100?"\u4E0A\u5348":a<1300?"\u4E2D\u5348":a<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};return o.default.locale(i,null,!0),i})})(HP);var jP=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},UP=function(){function e(t,n){for(var r=0;r div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',E=S.head||S.getElementsByTagName("head")[0],P=S.createElement("style");P.id="detectElementResize",P.type="text/css",e!=null&&P.setAttribute("nonce",e),P.styleSheet?P.styleSheet.cssText=_:P.appendChild(S.createTextNode(_)),E.appendChild(P)}},p=function(S,_){if(a)S.attachEvent("onresize",_);else{if(!S.__resizeTriggers__){var E=S.ownerDocument,P=et.getComputedStyle(S);P&&P.position==="static"&&(S.style.position="relative"),w(E),S.__resizeLast__={},S.__resizeListeners__=[],(S.__resizeTriggers__=E.createElement("div")).className="resize-triggers";var x=E.createElement("div");x.className="expand-trigger",x.appendChild(E.createElement("div"));var A=E.createElement("div");A.className="contract-trigger",S.__resizeTriggers__.appendChild(x),S.__resizeTriggers__.appendChild(A),S.appendChild(S.__resizeTriggers__),u(S),S.addEventListener("scroll",l,!0),r&&(S.__resizeTriggers__.__animationListener__=function(G){G.animationName===n&&u(S)},S.__resizeTriggers__.addEventListener(r,S.__resizeTriggers__.__animationListener__))}S.__resizeListeners__.push(_)}},g=function(S,_){if(a)S.detachEvent("onresize",_);else if(S.__resizeListeners__.splice(S.__resizeListeners__.indexOf(_),1),!S.__resizeListeners__.length){S.removeEventListener("scroll",l,!0),S.__resizeTriggers__.__animationListener__&&(S.__resizeTriggers__.removeEventListener(r,S.__resizeTriggers__.__animationListener__),S.__resizeTriggers__.__animationListener__=null);try{S.__resizeTriggers__=!S.removeChild(S.__resizeTriggers__)}catch{}}};return{addResizeListener:p,removeResizeListener:g}}var qP=function(e){BP(t,e);function t(){var n,r,o,i;jP(this,t);for(var u=arguments.length,l=Array(u),a=0;a=t?e.call(null):o.id=requestAnimationFrame(r)}var o={id:requestAnimationFrame(r)};return o}var Wn=null;function Jd(e){if(e===void 0&&(e=!1),Wn===null||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?Wn="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?Wn="negative":Wn="positive-ascending"),document.body.removeChild(t),Wn}return Wn}var ZP=150,eO=function(t,n){return t};function tO(e){var t,n=e.getItemOffset,r=e.getEstimatedTotalSize,o=e.getItemSize,i=e.getOffsetForIndexAndAlignment,u=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,a=e.initInstanceProps,s=e.shouldResetStyleCacheOnItemSizeChange,f=e.validateProps;return t=function(c){YP(d,c);function d(y){var v;return v=c.call(this,y)||this,v._instanceProps=a(v.props,qd(v)),v._outerRef=void 0,v._resetIsScrollingTimeoutId=null,v.state={instance:qd(v),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof v.props.initialScrollOffset=="number"?v.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},v._callOnItemsRendered=void 0,v._callOnItemsRendered=bl(function(w,p,g,h){return v.props.onItemsRendered({overscanStartIndex:w,overscanStopIndex:p,visibleStartIndex:g,visibleStopIndex:h})}),v._callOnScroll=void 0,v._callOnScroll=bl(function(w,p,g){return v.props.onScroll({scrollDirection:w,scrollOffset:p,scrollUpdateWasRequested:g})}),v._getItemStyle=void 0,v._getItemStyle=function(w){var p=v.props,g=p.direction,h=p.itemSize,S=p.layout,_=v._getItemStyleCache(s&&h,s&&S,s&&g),E;if(_.hasOwnProperty(w))E=_[w];else{var P=n(v.props,w,v._instanceProps),x=o(v.props,w,v._instanceProps),A=g==="horizontal"||S==="horizontal",k=g==="rtl",G=A?P:0;_[w]=E={position:"absolute",left:k?void 0:G,right:k?G:void 0,top:A?0:P,height:A?"100%":x,width:A?x:"100%"}}return E},v._getItemStyleCache=void 0,v._getItemStyleCache=bl(function(w,p,g){return{}}),v._onScrollHorizontal=function(w){var p=w.currentTarget,g=p.clientWidth,h=p.scrollLeft,S=p.scrollWidth;v.setState(function(_){if(_.scrollOffset===h)return null;var E=v.props.direction,P=h;if(E==="rtl")switch(Jd()){case"negative":P=-h;break;case"positive-descending":P=S-g-h;break}return P=Math.max(0,Math.min(P,S-g)),{isScrolling:!0,scrollDirection:_.scrollOffset0)for(var M=R;M<=O;M++)b.push(F.exports.createElement(w,{data:x,key:k(M,x),index:M,isScrolling:T?N:void 0,style:this._getItemStyle(M)}));var I=r(this.props,this._instanceProps);return F.exports.createElement(J||H||"div",{className:p,onScroll:L,ref:this._outerRefSetter,style:Ao({position:"relative",height:h,width:V,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:g},D)},F.exports.createElement(_||E||"div",{children:b,ref:S,style:{height:$?"100%":I,pointerEvents:N?"none":void 0,width:$?I:"100%"}}))},m._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var v=this.props.itemCount;if(v>0){var w=this._getRangeToRender(),p=w[0],g=w[1],h=w[2],S=w[3];this._callOnItemsRendered(p,g,h,S)}}if(typeof this.props.onScroll=="function"){var _=this.state,E=_.scrollDirection,P=_.scrollOffset,x=_.scrollUpdateWasRequested;this._callOnScroll(E,P,x)}},m._getRangeToRender=function(){var v=this.props,w=v.itemCount,p=v.overscanCount,g=this.state,h=g.isScrolling,S=g.scrollDirection,_=g.scrollOffset;if(w===0)return[0,0,0,0];var E=u(this.props,_,this._instanceProps),P=l(this.props,E,_,this._instanceProps),x=!h||S==="backward"?Math.max(1,p):1,A=!h||S==="forward"?Math.max(1,p):1;return[Math.max(0,E-x),Math.max(0,Math.min(w-1,P+A)),E,P]},d}(F.exports.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var nO=function(t,n){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,n.instance},kO=tO({getItemOffset:function(t,n){var r=t.itemSize;return n*r},getItemSize:function(t,n){var r=t.itemSize;return r},getEstimatedTotalSize:function(t){var n=t.itemCount,r=t.itemSize;return r*n},getOffsetForIndexAndAlignment:function(t,n,r,o){var i=t.direction,u=t.height,l=t.itemCount,a=t.itemSize,s=t.layout,f=t.width,c=i==="horizontal"||s==="horizontal",d=c?f:u,m=Math.max(0,l*a-d),y=Math.min(m,n*a),v=Math.max(0,n*a-d+a);switch(r==="smart"&&(o>=v-d&&o<=y+d?r="auto":r="center"),r){case"start":return y;case"end":return v;case"center":{var w=Math.round(v+(y-v)/2);return wm+Math.floor(d/2)?m:w}case"auto":default:return o>=v&&o<=y?o:o - - - - - - - - - - - - - - - - Clash - - - - - - -
- - - diff --git a/bin/Razord-meta-gh-pages/manifest.webmanifest b/bin/Razord-meta-gh-pages/manifest.webmanifest deleted file mode 100644 index 0af46e3f..00000000 --- a/bin/Razord-meta-gh-pages/manifest.webmanifest +++ /dev/null @@ -1 +0,0 @@ -{"name":"Clash Dashboard","short_name":"Clash Dashboard","start_url":"./","display":"standalone","background_color":"#ffffff","lang":"en","scope":"./","icons":[{"src":"https://raw.githubusercontents.com/MetaCubeX/clash-dashboard/master/src/assets/Icon.png","sizes":"512x512","type":"image/png"}]} diff --git a/bin/Razord-meta-gh-pages/sw.js b/bin/Razord-meta-gh-pages/sw.js deleted file mode 100644 index f1887e5a..00000000 --- a/bin/Razord-meta-gh-pages/sw.js +++ /dev/null @@ -1 +0,0 @@ -if(!self.define){let e,s={};const n=(n,i)=>(n=new URL(n+".js",i).href,s[n]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=n,e.onload=s,document.head.appendChild(e)}else e=n,importScripts(n),s()})).then((()=>{let e=s[n];if(!e)throw new Error(`Module ${n} didn’t register its module`);return e})));self.define=(i,t)=>{const r=e||("document"in self?document.currentScript.src:"")||location.href;if(s[r])return;let o={};const l=e=>n(e,r),f={module:{uri:r},exports:o,require:l};s[r]=Promise.all(i.map((e=>f[e]||l(e)))).then((e=>(t(...e),o)))}}define(["./workbox-4ee7f24a"],(function(e){"use strict";self.addEventListener("message",(e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()})),e.precacheAndRoute([{url:"assets/index.465a467c.css",revision:null},{url:"assets/index.ccefbf9b.js",revision:null},{url:"assets/vendor.4a7a512f.js",revision:null},{url:"index.html",revision:"4f4ce666caa455a52a1df3fc2e454a5d"},{url:"manifest.webmanifest",revision:"f7e51bd07af7699e1422bce9dedf3da5"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))})); diff --git a/bin/Razord-meta-gh-pages/workbox-4ee7f24a.js b/bin/Razord-meta-gh-pages/workbox-4ee7f24a.js deleted file mode 100644 index c46ed199..00000000 --- a/bin/Razord-meta-gh-pages/workbox-4ee7f24a.js +++ /dev/null @@ -1 +0,0 @@ -define(["exports"],(function(t){"use strict";try{self["workbox:core:6.5.2"]&&_()}catch(t){}const e=(t,...e)=>{let s=t;return e.length>0&&(s+=` :: ${JSON.stringify(e)}`),s};class s extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self["workbox:routing:6.5.2"]&&_()}catch(t){}const n=t=>t&&"object"==typeof t?t:{handle:t};class i{constructor(t,e,s="GET"){this.handler=n(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=n(t)}}class r extends i{constructor(t,e,s){super((({url:e})=>{const s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return s.slice(1)}),e,s)}}class o{constructor(){this.t=new Map,this.i=new Map}get routes(){return this.t}addFetchListener(){self.addEventListener("fetch",(t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map((e=>{"string"==typeof e&&(e=[e]);const s=new Request(...e);return this.handleRequest({request:s,event:t})})));t.waitUntil(s),t.ports&&t.ports[0]&&s.then((()=>t.ports[0].postMessage(!0)))}}))}handleRequest({request:t,event:e}){const s=new URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let o=r&&r.handler;const c=t.method;if(!o&&this.i.has(c)&&(o=this.i.get(c)),!o)return;let a;try{a=o.handle({url:s,request:t,event:e,params:i})}catch(t){a=Promise.reject(t)}const h=r&&r.catchHandler;return a instanceof Promise&&(this.o||h)&&(a=a.catch((async n=>{if(h)try{return await h.handle({url:s,request:t,event:e,params:i})}catch(t){t instanceof Error&&(n=t)}if(this.o)return this.o.handle({url:s,request:t,event:e});throw n}))),a}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const i=this.t.get(s.method)||[];for(const r of i){let i;const o=r.match({url:t,sameOrigin:e,request:s,event:n});if(o)return i=o,(Array.isArray(i)&&0===i.length||o.constructor===Object&&0===Object.keys(o).length||"boolean"==typeof o)&&(i=void 0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,n(t))}setCatchHandler(t){this.o=n(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw new s("unregister-route-but-not-found-with-method",{method:t.method});const e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw new s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let c;const a=()=>(c||(c=new o,c.addFetchListener(),c.addCacheListener()),c);function h(t,e,n){let o;if("string"==typeof t){const s=new URL(t,location.href);o=new i((({url:t})=>t.href===s.href),e,n)}else if(t instanceof RegExp)o=new r(t,e,n);else if("function"==typeof t)o=new i(t,e,n);else{if(!(t instanceof i))throw new s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});o=t}return a().registerRoute(o),o}const u={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},l=t=>[u.prefix,t,u.suffix].filter((t=>t&&t.length>0)).join("-"),f=t=>t||l(u.precache),w=t=>t||l(u.runtime);function d(t,e){const s=e();return t.waitUntil(s),s}try{self["workbox:precaching:6.5.2"]&&_()}catch(t){}function p(t){if(!t)throw new s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof t){const e=new URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw new s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const t=new URL(n,location.href);return{cacheKey:t.href,url:t.href}}const i=new URL(n,location.href),r=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class y{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest instanceof Request){const t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return s}}}class g{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const s=(null==e?void 0:e.cacheKey)||this.h.getCacheKeyForURL(t.url);return s?new Request(s,{headers:t.headers}):t},this.h=t}}let R;async function m(t,e){let n=null;if(t.url){n=new URL(t.url).origin}if(n!==self.location.origin)throw new s("cross-origin-copy-response",{origin:n});const i=t.clone(),r={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},o=e?e(r):r,c=function(){if(void 0===R){const t=new Response("");if("body"in t)try{new Response(t.body),R=!0}catch(t){R=!1}R=!1}return R}()?i.body:await i.blob();return new Response(c,o)}function v(t,e){const s=new URL(t);for(const t of e)s.searchParams.delete(t);return s.href}class q{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}const U=new Set;try{self["workbox:strategies:6.5.2"]&&_()}catch(t){}function L(t){return"string"==typeof t?new Request(t):t}class b{constructor(t,e){this.u={},Object.assign(this,e),this.event=e.event,this.l=t,this.p=new q,this.g=[],this.R=[...t.plugins],this.m=new Map;for(const t of this.R)this.m.set(t,{});this.event.waitUntil(this.p.promise)}async fetch(t){const{event:e}=this;let n=L(t);if("navigate"===n.mode&&e instanceof FetchEvent&&e.preloadResponse){const t=await e.preloadResponse;if(t)return t}const i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const t of this.iterateCallbacks("requestWillFetch"))n=await t({request:n.clone(),event:e})}catch(t){if(t instanceof Error)throw new s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const r=n.clone();try{let t;t=await fetch(n,"navigate"===n.mode?void 0:this.l.fetchOptions);for(const s of this.iterateCallbacks("fetchDidSucceed"))t=await s({event:e,request:r,response:t});return t}catch(t){throw i&&await this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async fetchAndCachePut(t){const e=await this.fetch(t),s=e.clone();return this.waitUntil(this.cachePut(t,s)),e}async cacheMatch(t){const e=L(t);let s;const{cacheName:n,matchOptions:i}=this.l,r=await this.getCacheKey(e,"read"),o=Object.assign(Object.assign({},i),{cacheName:n});s=await caches.match(r,o);for(const t of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(t,e){const n=L(t);var i;await(i=0,new Promise((t=>setTimeout(t,i))));const r=await this.getCacheKey(n,"write");if(!e)throw new s("cache-put-with-no-response",{url:(o=r.url,new URL(String(o),location.href).href.replace(new RegExp(`^${location.origin}`),""))});var o;const c=await this.v(e);if(!c)return!1;const{cacheName:a,matchOptions:h}=this.l,u=await self.caches.open(a),l=this.hasCallback("cacheDidUpdate"),f=l?await async function(t,e,s,n){const i=v(e.url,s);if(e.url===i)return t.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),o=await t.keys(e,r);for(const e of o)if(i===v(e.url,s))return t.match(e,n)}(u,r.clone(),["__WB_REVISION__"],h):null;try{await u.put(r,l?c.clone():c)}catch(t){if(t instanceof Error)throw"QuotaExceededError"===t.name&&await async function(){for(const t of U)await t()}(),t}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:a,oldResponse:f,newResponse:c.clone(),request:r,event:this.event});return!0}async getCacheKey(t,e){const s=`${t.url} | ${e}`;if(!this.u[s]){let n=t;for(const t of this.iterateCallbacks("cacheKeyWillBeUsed"))n=L(await t({mode:e,request:n,event:this.event,params:this.params}));this.u[s]=n}return this.u[s]}hasCallback(t){for(const e of this.l.plugins)if(t in e)return!0;return!1}async runCallbacks(t,e){for(const s of this.iterateCallbacks(t))await s(e)}*iterateCallbacks(t){for(const e of this.l.plugins)if("function"==typeof e[t]){const s=this.m.get(e),n=n=>{const i=Object.assign(Object.assign({},n),{state:s});return e[t](i)};yield n}}waitUntil(t){return this.g.push(t),t}async doneWaiting(){let t;for(;t=this.g.shift();)await t}destroy(){this.p.resolve(null)}async v(t){let e=t,s=!1;for(const t of this.iterateCallbacks("cacheWillUpdate"))if(e=await t({request:this.request,response:e,event:this.event})||void 0,s=!0,!e)break;return s||e&&200!==e.status&&(e=void 0),e}}class C extends class{constructor(t={}){this.cacheName=w(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return e}handleAll(t){t instanceof FetchEvent&&(t={event:t,request:t.request});const e=t.event,s="string"==typeof t.request?new Request(t.request):t.request,n="params"in t?t.params:void 0,i=new b(this,{event:e,request:s,params:n}),r=this.q(i,s,e);return[r,this.U(r,i,s,e)]}async q(t,e,n){let i;await t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(i=await this.L(e,t),!i||"error"===i.type)throw new s("no-response",{url:e.url})}catch(s){if(s instanceof Error)for(const r of t.iterateCallbacks("handlerDidError"))if(i=await r({error:s,event:n,request:e}),i)break;if(!i)throw s}for(const s of t.iterateCallbacks("handlerWillRespond"))i=await s({event:n,request:e,response:i});return i}async U(t,e,s,n){let i,r;try{i=await t}catch(r){}try{await e.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await e.doneWaiting()}catch(t){t instanceof Error&&(r=t)}if(await e.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw r}}{constructor(t={}){t.cacheName=f(t.cacheName),super(t),this._=!1!==t.fallbackToNetwork,this.plugins.push(C.copyRedirectedCacheableResponsesPlugin)}async L(t,e){const s=await e.cacheMatch(t);return s||(e.event&&"install"===e.event.type?await this.C(t,e):await this.O(t,e))}async O(t,e){let n;const i=e.params||{};if(!this._)throw new s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const s=i.integrity,r=t.integrity,o=!r||r===s;n=await e.fetch(new Request(t,{integrity:r||s})),s&&o&&(this.N(),await e.cachePut(t,n.clone()))}return n}async C(t,e){this.N();const n=await e.fetch(t);if(!await e.cachePut(t,n.clone()))throw new s("bad-precaching-response",{url:t.url,status:n.status});return n}N(){let t=null,e=0;for(const[s,n]of this.plugins.entries())n!==C.copyRedirectedCacheableResponsesPlugin&&(n===C.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(C.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}C.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},C.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await m(t):t};class E{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.k=new Map,this.K=new Map,this.P=new Map,this.l=new C({cacheName:f(t),plugins:[...e,new g({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this.l}precache(t){this.addToCacheList(t),this.T||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.T=!0)}addToCacheList(t){const e=[];for(const n of t){"string"==typeof n?e.push(n):n&&void 0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=p(n),r="string"!=typeof n&&n.revision?"reload":"default";if(this.k.has(i)&&this.k.get(i)!==t)throw new s("add-to-cache-list-conflicting-entries",{firstEntry:this.k.get(i),secondEntry:t});if("string"!=typeof n&&n.integrity){if(this.P.has(t)&&this.P.get(t)!==n.integrity)throw new s("add-to-cache-list-conflicting-integrities",{url:i});this.P.set(t,n.integrity)}if(this.k.set(i,t),this.K.set(i,r),e.length>0){const t=`Workbox is precaching URLs without revision info: ${e.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return d(t,(async()=>{const e=new y;this.strategy.plugins.push(e);for(const[e,s]of this.k){const n=this.P.get(s),i=this.K.get(e),r=new Request(e,{integrity:n,cache:i,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(t){return d(t,(async()=>{const t=await self.caches.open(this.strategy.cacheName),e=await t.keys(),s=new Set(this.k.values()),n=[];for(const i of e)s.has(i.url)||(await t.delete(i),n.push(i.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this.k}getCachedURLs(){return[...this.k.keys()]}getCacheKeyForURL(t){const e=new URL(t,location.href);return this.k.get(e.href)}getIntegrityForCacheKey(t){return this.P.get(t)}async matchPrecache(t){const e=t instanceof Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const e=this.getCacheKeyForURL(t);if(!e)throw new s("non-precached-url",{url:t});return s=>(s.request=new Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}let O;const x=()=>(O||(O=new E),O);class N extends i{constructor(t,e){super((({request:s})=>{const n=t.getURLsToCacheKeys();for(const i of function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const r=new URL(t,location.href);r.hash="",yield r.href;const o=function(t,e=[]){for(const s of[...t.searchParams.keys()])e.some((t=>t.test(s)))&&t.searchParams.delete(s);return t}(r,e);if(yield o.href,s&&o.pathname.endsWith("/")){const t=new URL(o.href);t.pathname+=s,yield t.href}if(n){const t=new URL(o.href);t.pathname+=".html",yield t.href}if(i){const t=i({url:r});for(const e of t)yield e.href}}(s.url,e)){const e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}}),t.strategy)}}t.NavigationRoute=class extends i{constructor(t,{allowlist:e=[/./],denylist:s=[]}={}){super((t=>this.W(t)),t),this.j=e,this.M=s}W({url:t,request:e}){if(e&&"navigate"!==e.mode)return!1;const s=t.pathname+t.search;for(const t of this.M)if(t.test(s))return!1;return!!this.j.some((t=>t.test(s)))}},t.cleanupOutdatedCaches=function(){self.addEventListener("activate",(t=>{const e=f();t.waitUntil((async(t,e="-precache-")=>{const s=(await self.caches.keys()).filter((s=>s.includes(e)&&s.includes(self.registration.scope)&&s!==t));return await Promise.all(s.map((t=>self.caches.delete(t)))),s})(e).then((t=>{})))}))},t.createHandlerBoundToURL=function(t){return x().createHandlerBoundToURL(t)},t.precacheAndRoute=function(t,e){!function(t){x().precache(t)}(t),function(t){const e=x();h(new N(e,t))}(e)},t.registerRoute=h})); diff --git a/bin/Yacd-meta-gh-pages/CNAME b/bin/Yacd-meta-gh-pages/CNAME deleted file mode 100644 index 501d8c04..00000000 --- a/bin/Yacd-meta-gh-pages/CNAME +++ /dev/null @@ -1 +0,0 @@ -yacd.metacubex.one \ No newline at end of file diff --git a/bin/Yacd-meta-gh-pages/_headers b/bin/Yacd-meta-gh-pages/_headers deleted file mode 100644 index 877d928f..00000000 --- a/bin/Yacd-meta-gh-pages/_headers +++ /dev/null @@ -1,12 +0,0 @@ -# for netlify hosting -# https://docs.netlify.com/routing/headers/#syntax-for-the-headers-file - -/* - X-Frame-Options: DENY - X-XSS-Protection: 1; mode=block - X-Content-Type-Options: nosniff - Referrer-Policy: same-origin -/*.css - Cache-Control: public, max-age=31536000, immutable -/*.js - Cache-Control: public, max-age=31536000, immutable diff --git a/bin/Yacd-meta-gh-pages/apple-touch-icon-precomposed.png b/bin/Yacd-meta-gh-pages/apple-touch-icon-precomposed.png deleted file mode 100644 index cbb3fcbf..00000000 Binary files a/bin/Yacd-meta-gh-pages/apple-touch-icon-precomposed.png and /dev/null differ diff --git a/bin/Yacd-meta-gh-pages/assets/Config.79726ace.js b/bin/Yacd-meta-gh-pages/assets/Config.79726ace.js deleted file mode 100644 index 83520489..00000000 --- a/bin/Yacd-meta-gh-pages/assets/Config.79726ace.js +++ /dev/null @@ -1 +0,0 @@ -var re=Object.defineProperty,oe=Object.defineProperties;var le=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var W=(e,o,l)=>o in e?re(e,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[o]=l,u=(e,o)=>{for(var l in o||(o={}))A.call(o,l)&&W(e,l,o[l]);if(k)for(var l of k(o))B.call(o,l)&&W(e,l,o[l]);return e},v=(e,o)=>oe(e,le(o));var U=(e,o)=>{var l={};for(var a in e)A.call(e,a)&&o.indexOf(a)<0&&(l[a]=e[a]);if(e!=null&&k)for(var a of k(e))o.indexOf(a)<0&&B.call(e,a)&&(l[a]=e[a]);return l};import{r as P,b as c,j as t,P as h,s as q,R as se,c as ie,i as ce,k as G,l as H,n as de,h as J,d as Q,o as ue,g as K,q as pe,t as he,v as x,w as fe,x as ve,y as ge,z as me,A as be,u as ye,C as ke,D as N,F as we,B as w,E as Ce,G as _e,H as Oe}from"./index.1ca2d13d.js";import{r as Se}from"./logs.480db4a8.js";import{S as C}from"./Select.763fb4e2.js";import{R as xe}from"./rotate-cw.a7721ea7.js";function Ne(e,o){if(e==null)return{};var l=je(e,o),a,n;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&(!Object.prototype.propertyIsEnumerable.call(e,a)||(l[a]=e[a]))}return l}function je(e,o){if(e==null)return{};var l={},a=Object.keys(e),n,r;for(r=0;r=0)&&(l[n]=e[n]);return l}var I=P.exports.forwardRef(function(e,o){var l=e.color,a=l===void 0?"currentColor":l,n=e.size,r=n===void 0?24:n,d=Ne(e,["color","size"]);return c("svg",v(u({ref:o,xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:a,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},d),{children:[t("polyline",{points:"8 17 12 21 16 17"}),t("line",{x1:"12",y1:"12",x2:"12",y2:"21"}),t("path",{d:"M20.88 18.09A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.29"})]}))});I.propTypes={color:h.string,size:h.oneOfType([h.string,h.number])};I.displayName="DownloadCloud";var Pe=I;function Ie(e,o){if(e==null)return{};var l=ze(e,o),a,n;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&(!Object.prototype.propertyIsEnumerable.call(e,a)||(l[a]=e[a]))}return l}function ze(e,o){if(e==null)return{};var l={},a=Object.keys(e),n,r;for(r=0;r=0)&&(l[n]=e[n]);return l}var z=P.exports.forwardRef(function(e,o){var l=e.color,a=l===void 0?"currentColor":l,n=e.size,r=n===void 0?24:n,d=Ie(e,["color","size"]);return c("svg",v(u({ref:o,xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:a,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},d),{children:[t("path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}),t("polyline",{points:"16 17 21 12 16 7"}),t("line",{x1:"21",y1:"12",x2:"9",y2:"12"})]}))});z.propTypes={color:h.string,size:h.oneOfType([h.string,h.number])};z.displayName="LogOut";var Le=z;function $e(e,o){if(e==null)return{};var l=Te(e,o),a,n;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&(!Object.prototype.propertyIsEnumerable.call(e,a)||(l[a]=e[a]))}return l}function Te(e,o){if(e==null)return{};var l={},a=Object.keys(e),n,r;for(r=0;r=0)&&(l[n]=e[n]);return l}var L=P.exports.forwardRef(function(e,o){var l=e.color,a=l===void 0?"currentColor":l,n=e.size,r=n===void 0?24:n,d=$e(e,["color","size"]);return c("svg",v(u({ref:o,xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:a,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},d),{children:[t("polyline",{points:"3 6 5 6 21 6"}),t("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}),t("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),t("line",{x1:"14",y1:"11",x2:"14",y2:"17"})]}))});L.propTypes={color:h.string,size:h.oneOfType([h.string,h.number])};L.displayName="Trash2";var Re=L;const{useState:Ee,useRef:De,useEffect:Fe,useCallback:Me}=se;function Ve(e){return t("input",u({className:q.input},e))}function We(l){var a=l,{value:e}=a,o=U(a,["value"]);const[n,r]=Ee(e),d=De(e);Fe(()=>{d.current!==e&&r(e),d.current=e},[e]);const g=Me(_=>r(_.target.value),[r]);return t("input",u({className:q.input,value:n,onChange:g},o))}const Ae="_root_9juo6_1",Be="_section_9juo6_2",Ue="_wrapSwitch_9juo6_27",Ge="_sep_9juo6_33",He="_label_9juo6_46";var i={root:Ae,section:Be,wrapSwitch:Ue,sep:Ge,label:He};const qe="_fieldset_olb4q_1",Je="_input_olb4q_10",Qe="_cnt_olb4q_10";var j={fieldset:qe,input:Je,cnt:Qe};function Ke({OptionComponent:e,optionPropsList:o,selectedIndex:l,onChange:a}){const n=ie("visually-hidden",j.input),r=d=>{a(d.target.value)};return t("fieldset",{className:j.fieldset,children:o.map((d,g)=>c("label",{children:[t("input",{type:"radio",checked:l===g,name:"selection",value:g,"aria-labelledby":"traffic chart type "+g,onChange:r,className:n}),t("div",{className:j.cnt,children:t(e,u({},d))})]},g))})}const{useMemo:Xe}=J,Ye={plugins:{legend:{display:!1}},scales:{x:{display:!1,type:"category"},y:{display:!1,type:"linear"}}},X=[23e3,35e3,46e3,33e3,9e4,68e3,23e3,45e3],Ze=[184e3,183e3,196e3,182e3,19e4,186e3,182e3,189e3],et=X;function tt({id:e}){const o=ce.read(),l=Xe(()=>({labels:et,datasets:[v(u(u({},G),H[e].up),{data:X}),v(u(u({},G),H[e].down),{data:Ze})]}),[e]),a="chart-"+e;return de(o.Chart,a,l,null,Ye),t("div",{style:{width:80,padding:5},children:t("canvas",{id:a})})}const{useEffect:Y,useState:nt,useCallback:b,useRef:at}=J,rt=[{id:0},{id:1},{id:2},{id:3}],ot=[["debug","Debug"],["info","Info"],["warning","Warning"],["error","Error"],["silent","Silent"]],lt=[{key:"port",label:"Http Port"},{key:"socks-port",label:"Socks5 Port"},{key:"mixed-port",label:"Mixed Port"},{key:"redir-port",label:"Redir Port"},{key:"mitm-port",label:"MITM Port"}],st=[["zh","\u4E2D\u6587"],["en","English"]],it=[["direct","Direct"],["rule","Rule"],["script","Script"],["global","Global"]],ct=[["gVisor","gVisor"],["System","System"]],dt=e=>({configs:ue(e),apiConfig:K(e)}),ut=e=>({selectedChartStyleIndex:Ce(e),latencyTestUrl:_e(e),apiConfig:K(e)}),pt=Q(ut)(ft);var kt=Q(dt)(ht);function ht({dispatch:e,configs:o,apiConfig:l}){return Y(()=>{e(pe(l))},[e,l]),t(pt,{configs:o})}function ft({dispatch:e,configs:o,selectedChartStyleIndex:l,latencyTestUrl:a,apiConfig:n}){var F,M;const[r,d]=nt(o),g=at(o);Y(()=>{g.current!==o&&d(o),g.current=o},[o]);const _=b(()=>{e(he("apiConfig"))},[e]),O=b((s,p)=>{d(v(u({},r),{[s]:p}))},[r]),$=b((s,p)=>{const m=v(u({},r.tun),{[s]:p});d(v(u({},r),{tun:u({},m)}))},[r]),y=b(({name:s,value:p})=>{switch(s){case"mode":case"log-level":case"allow-lan":case"sniffing":O(s,p),e(x(n,{[s]:p})),s==="log-level"&&Se(v(u({},n),{logLevel:p}));break;case"mitm-port":case"redir-port":case"socks-port":case"mixed-port":case"port":if(p!==""){const m=parseInt(p,10);if(m<0||m>65535)return}O(s,p);break;case"enable":case"stack":$(s,p),e(x(n,{tun:{[s]:p}}));break;default:return}},[n,e,O,$]),Z=b(s=>y(s.target),[y]),{selectChartStyleIndex:ee,updateAppConfig:T}=fe(),R=b(s=>{const p=s.target,{name:m,value:V}=p;switch(m){case"port":case"socks-port":case"mixed-port":case"redir-port":case"mitm-port":{const S=parseInt(V,10);if(S<0||S>65535)return;e(x(n,{[m]:S}));break}case"latencyTestUrl":{T(m,V);break}default:throw new Error(`unknown input name ${m}`)}},[n,e,T]),te=b(()=>{e(ve(n))},[n,e]),ne=b(()=>{e(ge(n))},[n,e]),ae=b(()=>{e(me(n))},[n,e]),{data:E}=be(["/version",n],()=>Oe("/version",n)),{t:f,i18n:D}=ye();return c("div",{children:[t(ke,{title:f("Config")}),c("div",{className:i.root,children:[lt.map(s=>r[s.key]!==void 0?c("div",{children:[t("div",{className:i.label,children:s.label}),t(Ve,{name:s.key,value:r[s.key],onChange:Z,onBlur:R})]},s.key):null),c("div",{children:[t("div",{className:i.label,children:"Mode"}),t(C,{options:it,selected:r.mode,onChange:s=>y({name:"mode",value:s.target.value})})]}),c("div",{children:[t("div",{className:i.label,children:"Log Level"}),t(C,{options:ot,selected:r["log-level"],onChange:s=>y({name:"log-level",value:s.target.value})})]}),c("div",{children:[t("div",{className:i.label,children:f("allow_lan")}),t("div",{className:i.wrapSwitch,children:t(N,{name:"allow-lan",checked:r["allow-lan"],onChange:s=>y({name:"allow-lan",value:s})})})]}),E.meta&&c("div",{children:[t("div",{className:i.label,children:f("tls_sniffing")}),t("div",{className:i.wrapSwitch,children:t(N,{name:"sniffing",checked:r.sniffing,onChange:s=>y({name:"sniffing",value:s})})})]})]}),t("div",{className:i.sep,children:t("div",{})}),E.meta&&c(we,{children:[c("div",{className:i.section,children:[c("div",{children:[t("div",{className:i.label,children:f("enable_tun_device")}),t("div",{className:i.wrapSwitch,children:t(N,{checked:(F=r.tun)==null?void 0:F.enable,onChange:s=>y({name:"enable",value:s})})})]}),c("div",{children:[t("div",{className:i.label,children:"TUN IP Stack"}),t(C,{options:ct,selected:(M=r.tun)==null?void 0:M.stack,onChange:s=>y({name:"stack",value:s.target.value})})]})]}),t("div",{className:i.sep,children:t("div",{})}),c("div",{className:i.section,children:[c("div",{children:[t("div",{className:i.label,children:"Reload"}),t(w,{start:t(xe,{size:16}),label:f("reload_config_file"),onClick:te})]}),c("div",{children:[t("div",{className:i.label,children:"GEO Databases"}),t(w,{start:t(Pe,{size:16}),label:f("update_geo_databases_file"),onClick:ne})]}),c("div",{children:[t("div",{className:i.label,children:"FakeIP"}),t(w,{start:t(Re,{size:16}),label:f("flush_fake_ip_pool"),onClick:ae})]})]}),t("div",{className:i.sep,children:t("div",{})})]}),c("div",{className:i.section,children:[c("div",{children:[t("div",{className:i.label,children:f("latency_test_url")}),t(We,{name:"latencyTestUrl",type:"text",value:a,onBlur:R})]}),c("div",{children:[t("div",{className:i.label,children:f("lang")}),t("div",{children:t(C,{options:st,selected:D.language,onChange:s=>D.changeLanguage(s.target.value)})})]}),c("div",{children:[t("div",{className:i.label,children:f("chart_style")}),t(Ke,{OptionComponent:tt,optionPropsList:rt,selectedIndex:l,onChange:ee})]}),c("div",{children:[t("div",{className:i.label,children:"Action"}),t(w,{start:t(Le,{size:16}),label:"Switch backend",onClick:_})]})]})]})}export{kt as default}; diff --git a/bin/Yacd-meta-gh-pages/assets/Config.a3c24172.css b/bin/Yacd-meta-gh-pages/assets/Config.a3c24172.css deleted file mode 100644 index bb6719a5..00000000 --- a/bin/Yacd-meta-gh-pages/assets/Config.a3c24172.css +++ /dev/null @@ -1 +0,0 @@ -._root_9juo6_1,._section_9juo6_2{display:grid;grid-template-columns:repeat(auto-fill,minmax(49%,1fr));max-width:900px;gap:5px}@media screen and (min-width: 30em){._root_9juo6_1,._section_9juo6_2{gap:15px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}}._root_9juo6_1,._section_9juo6_2{padding:6px 15px 10px}@media screen and (min-width: 30em){._root_9juo6_1,._section_9juo6_2{padding:10px 40px 15px}}._wrapSwitch_9juo6_27{height:40px;display:flex;align-items:center}._sep_9juo6_33{max-width:900px;padding:0 15px}@media screen and (min-width: 30em){._sep_9juo6_33{padding:0 40px}}._sep_9juo6_33>div{border-top:1px dashed #373737}._label_9juo6_46{padding:15px 0;font-size:small}._fieldset_olb4q_1{margin:0;padding:0;border:0;display:flex;flex-wrap:wrap;flex-direction:row}._input_olb4q_10+._cnt_olb4q_10{border:1px solid transparent;border-radius:4px;cursor:pointer;margin-bottom:5px}._input_olb4q_10:focus+._cnt_olb4q_10{border-color:#387cec}._input_olb4q_10:checked+._cnt_olb4q_10{border-color:#387cec} diff --git a/bin/Yacd-meta-gh-pages/assets/Connections.0d34b527.js b/bin/Yacd-meta-gh-pages/assets/Connections.0d34b527.js deleted file mode 100644 index 67518a39..00000000 --- a/bin/Yacd-meta-gh-pages/assets/Connections.0d34b527.js +++ /dev/null @@ -1 +0,0 @@ -var po=Object.defineProperty,go=Object.defineProperties;var vo=Object.getOwnPropertyDescriptors;var yn=Object.getOwnPropertySymbols;var mo=Object.prototype.hasOwnProperty,ho=Object.prototype.propertyIsEnumerable;var wn=(g,l,s)=>l in g?po(g,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):g[l]=s,Oe=(g,l)=>{for(var s in l||(l={}))mo.call(l,s)&&wn(g,s,l[s]);if(yn)for(var s of yn(l))ho.call(l,s)&&wn(g,s,l[s]);return g},Ge=(g,l)=>go(g,vo(l));import{r as le,R as Pe,c as ke,a as yo,u as An,j as U,b as we,p as bn,m as Rn,M as wo,B as Cn,d as bo,e as Ro,f as Co,C as So,F as Po,S as xo,I as Bo,g as Eo}from"./index.1ca2d13d.js";import{u as Io}from"./useRemainingViewPortHeight.a89bff9d.js";import{r as Nn,t as To,b as ht,a as ze,c as Fo,d as je,e as ko,f as Ao}from"./index.cd34981b.js";import{C as No}from"./chevron-down.35424756.js";import{F as Oo,p as Go,A as Ho}from"./Fab.d363c2c3.js";import{P as Wo,a as _o}from"./play.2aacfa82.js";function Ct(g){return function(l){return!!l.type&&l.type.tabsRole===g}}var at=Ct("Tab"),St=Ct("TabList"),Pt=Ct("TabPanel");function Mo(g){return at(g)||St(g)||Pt(g)}function wt(g,l){return le.exports.Children.map(g,function(s){return s===null?null:Mo(s)?l(s):s.props&&s.props.children&&typeof s.props.children=="object"?le.exports.cloneElement(s,Object.assign({},s.props,{children:wt(s.props.children,l)})):s})}function On(g,l){return le.exports.Children.forEach(g,function(s){s!==null&&(at(s)||Pt(s)?l(s):s.props&&s.props.children&&typeof s.props.children=="object"&&(St(s)&&l(s),On(s.props.children,l)))})}function Gn(g){var l=0;return On(g,function(s){at(s)&&l++}),l}var zo=["children","className","disabledTabClassName","domRef","focus","forceRenderTabPanel","onSelect","selectedIndex","selectedTabClassName","selectedTabPanelClassName","environment","disableUpDownKeys"];function jo(g,l){if(g==null)return{};var s={},d=Object.keys(g),E,G;for(G=0;G=0)&&(s[E]=g[E]);return s}function Hn(g){return g&&"getAttribute"in g}function Sn(g){return Hn(g)&&g.getAttribute("data-rttab")}function Te(g){return Hn(g)&&g.getAttribute("aria-disabled")==="true"}var ot;function Do(g){var l=g||(typeof window!="undefined"?window:void 0);try{ot=!!(typeof l!="undefined"&&l.document&&l.document.activeElement)}catch{ot=!1}}var Lo={className:"react-tabs",focus:!1},xt=function(l){var s=le.exports.useRef([]),d=le.exports.useRef([]),E=le.exports.useRef();function G(w,k){if(!(w<0||w>=Y())){var H=l.onSelect,$=l.selectedIndex;H(w,$,k)}}function p(w){for(var k=Y(),H=w+1;Hw;)if(!Te(J(k)))return k;return w}function ne(){for(var w=Y(),k=0;k=0)&&(s[E]=g[E]);return s}var Ko={className:"react-tabs__tab-list"},ut=function(l){var s=l.children,d=l.className,E=qo(l,Xo);return Pe.createElement("ul",Object.assign({},E,{className:ke(d),role:"tablist"}),s)};ut.tabsRole="TabList";ut.propTypes={};ut.defaultProps=Ko;var Qo=["children","className","disabled","disabledClassName","focus","id","selected","selectedClassName","tabIndex","tabRef"];function Yo(g,l){if(g==null)return{};var s={},d=Object.keys(g),E,G;for(G=0;G=0)&&(s[E]=g[E]);return s}var yt="react-tabs__tab",Jo={className:yt,disabledClassName:yt+"--disabled",focus:!1,id:null,selected:!1,selectedClassName:yt+"--selected"},Ue=function(l){var s,d=le.exports.useRef(),E=l.children,G=l.className,p=l.disabled,X=l.disabledClassName,ne=l.focus,u=l.id,Y=l.selected,J=l.selectedClassName,re=l.tabIndex,ce=l.tabRef,D=Yo(l,Qo);return le.exports.useEffect(function(){Y&&ne&&d.current.focus()},[Y,ne]),Pe.createElement("li",Object.assign({},D,{className:ke(G,(s={},s[J]=Y,s[X]=p,s)),ref:function(de){d.current=de,ce&&ce(de)},role:"tab",id:"tab"+u,"aria-selected":Y?"true":"false","aria-disabled":p?"true":"false","aria-controls":"panel"+u,tabIndex:re||(Y?"0":null),"data-rttab":!0}),E)};Ue.propTypes={};Ue.tabsRole="Tab";Ue.defaultProps=Jo;var Zo=["children","className","forceRender","id","selected","selectedClassName"];function ea(g,l){if(g==null)return{};var s={},d=Object.keys(g),E,G;for(G=0;G=0)&&(s[E]=g[E]);return s}var Pn="react-tabs__tab-panel",ta={className:Pn,forceRender:!1,selectedClassName:Pn+"--selected"},Xe=function(l){var s,d=l.children,E=l.className,G=l.forceRender,p=l.id,X=l.selected,ne=l.selectedClassName,u=ea(l,Zo);return Pe.createElement("div",Object.assign({},u,{className:ke(E,(s={},s[ne]=X,s)),role:"tabpanel",id:"panel"+p,"aria-labelledby":"tab"+p}),G||X?d:null)};Xe.tabsRole="TabPanel";Xe.propTypes={};Xe.defaultProps=ta;const na="_placeHolder_1gxts_1",ra="_connQty_1gxts_16",oa="_inputWrapper_1gxts_28",aa="_input_1gxts_28";var $e={placeHolder:na,connQty:ra,inputWrapper:oa,input:aa};function xn(g){if(g===null||g===!0||g===!1)return NaN;var l=Number(g);return isNaN(l)?l:l<0?Math.ceil(l):Math.floor(l)}function Bn(g,l){Nn(1,arguments);var s=l||{},d=s.locale,E=d&&d.options&&d.options.weekStartsOn,G=E==null?0:xn(E),p=s.weekStartsOn==null?G:xn(s.weekStartsOn);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var X=To(g),ne=X.getUTCDay(),u=(ne0?d+"\u5185":d+"\u524D":d}var sa={full:"y'\u5E74'M'\u6708'd'\u65E5' EEEE",long:"y'\u5E74'M'\u6708'd'\u65E5'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},la={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},ca={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},da={date:ht({formats:sa,defaultWidth:"full"}),time:ht({formats:la,defaultWidth:"full"}),dateTime:ht({formats:ca,defaultWidth:"full"})},fa=da;function En(g,l,s,d){return ia(g,l,s)?d:g.getTime()>l.getTime()?"'\u4E0B\u4E2A'"+d:"'\u4E0A\u4E2A'"+d}var pa={lastWeek:En,yesterday:"'\u6628\u5929' p",today:"'\u4ECA\u5929' p",tomorrow:"'\u660E\u5929' p",nextWeek:En,other:"PP p"};function ga(g,l,s,d){var E=pa[g];return typeof E=="function"?E(l,s,d,"eeee p"):E}var va={narrow:["\u524D","\u516C\u5143"],abbreviated:["\u524D","\u516C\u5143"],wide:["\u516C\u5143\u524D","\u516C\u5143"]},ma={narrow:["1","2","3","4"],abbreviated:["\u7B2C\u4E00\u5B63","\u7B2C\u4E8C\u5B63","\u7B2C\u4E09\u5B63","\u7B2C\u56DB\u5B63"],wide:["\u7B2C\u4E00\u5B63\u5EA6","\u7B2C\u4E8C\u5B63\u5EA6","\u7B2C\u4E09\u5B63\u5EA6","\u7B2C\u56DB\u5B63\u5EA6"]},ha={narrow:["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D","\u5341","\u5341\u4E00","\u5341\u4E8C"],abbreviated:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],wide:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]},ya={narrow:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],short:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],abbreviated:["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],wide:["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"]},wa={narrow:{am:"\u4E0A",pm:"\u4E0B",midnight:"\u51CC\u6668",noon:"\u5348",morning:"\u65E9",afternoon:"\u4E0B\u5348",evening:"\u665A",night:"\u591C"},abbreviated:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"},wide:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"}},ba={narrow:{am:"\u4E0A",pm:"\u4E0B",midnight:"\u51CC\u6668",noon:"\u5348",morning:"\u65E9",afternoon:"\u4E0B\u5348",evening:"\u665A",night:"\u591C"},abbreviated:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"},wide:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"}};function Ra(g,l){var s=Number(g),d=l||{},E=String(d.unit);switch(E){case"date":return s.toString()+"\u65E5";case"hour":return s.toString()+"\u65F6";case"minute":return s.toString()+"\u5206";case"second":return s.toString()+"\u79D2";default:return"\u7B2C "+s.toString()}}var Ca={ordinalNumber:Ra,era:ze({values:va,defaultWidth:"wide"}),quarter:ze({values:ma,defaultWidth:"wide",argumentCallback:function(g){return Number(g)-1}}),month:ze({values:ha,defaultWidth:"wide"}),day:ze({values:ya,defaultWidth:"wide"}),dayPeriod:ze({values:wa,defaultWidth:"wide",formattingValues:ba,defaultFormattingWidth:"wide"})},Sa=Ca,Pa=/^(第\s*)?\d+(日|时|分|秒)?/i,xa=/\d+/i,Ba={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},Ea={any:[/^(前)/i,/^(公元)/i]},Ia={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},Ta={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},Fa={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},ka={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]},Aa={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},Na={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},Oa={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},Ga={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},Ha={ordinalNumber:Fo({matchPattern:Pa,parsePattern:xa,valueCallback:function(g){return parseInt(g,10)}}),era:je({matchPatterns:Ba,defaultMatchWidth:"wide",parsePatterns:Ea,defaultParseWidth:"any"}),quarter:je({matchPatterns:Ia,defaultMatchWidth:"wide",parsePatterns:Ta,defaultParseWidth:"any",valueCallback:function(g){return g+1}}),month:je({matchPatterns:Fa,defaultMatchWidth:"wide",parsePatterns:ka,defaultParseWidth:"any"}),day:je({matchPatterns:Aa,defaultMatchWidth:"wide",parsePatterns:Na,defaultParseWidth:"any"}),dayPeriod:je({matchPatterns:Oa,defaultMatchWidth:"any",parsePatterns:Ga,defaultParseWidth:"any"})},Wa=Ha,_a={code:"zh-CN",formatDistance:ua,formatLong:fa,formatRelative:ga,localize:Sa,match:Wa,options:{weekStartsOn:1,firstWeekContainsDate:4}},Ma=_a,bt={exports:{}},Rt={exports:{}};(function(g,l){(function(s,d){d(l,le.exports)})(yo,function(s,d){function E(e,t,n,r,a,o,i){try{var c=e[o](i),f=c.value}catch(v){return void n(v)}c.done?t(f):Promise.resolve(f).then(r,a)}function G(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(f){E(o,r,a,i,c,"next",f)}function c(f){E(o,r,a,i,c,"throw",f)}i(void 0)})}}function p(){return(p=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}function ne(e){var t=function(n,r){if(typeof n!="object"||n===null)return n;var a=n[Symbol.toPrimitive];if(a!==void 0){var o=a.call(n,r||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(n)}(e,"string");return typeof t=="symbol"?t:String(t)}d=d&&Object.prototype.hasOwnProperty.call(d,"default")?d.default:d;var u={init:"init"},Y=function(e){var t=e.value;return t===void 0?"":t},J=function(){return d.createElement(d.Fragment,null,"\xA0")},re={Cell:Y,width:150,minWidth:0,maxWidth:Number.MAX_SAFE_INTEGER};function ce(){for(var e=arguments.length,t=new Array(e),n=0;n(o=typeof o=="number"?o:1/0)){var i=a;a=o,o=i}return e.filter(function(c){return t.some(function(f){var v=c.values[f];return v>=a&&v<=o})})};zt.autoRemove=function(e){return!e||typeof e[0]!="number"&&typeof e[1]!="number"};var _e=Object.freeze({__proto__:null,text:kt,exactText:At,exactTextCase:Nt,includes:Ot,includesAll:Gt,includesSome:Ht,includesValue:Wt,exact:_t,equals:Mt,between:zt});u.resetFilters="resetFilters",u.setFilter="setFilter",u.setAllFilters="setAllFilters";var jt=function(e){e.stateReducers.push(ur),e.useInstance.push(sr)};function ur(e,t,n,r){if(t.type===u.init)return p({filters:[]},e);if(t.type===u.resetFilters)return p({},e,{filters:r.initialState.filters||[]});if(t.type===u.setFilter){var a=t.columnId,o=t.filterValue,i=r.allColumns,c=r.filterTypes,f=i.find(function(S){return S.id===a});if(!f)throw new Error("React-Table: Could not find a column with id: "+a);var v=Re(f.filter,c||{},_e),R=e.filters.find(function(S){return S.id===a}),y=ie(o,R&&R.value);return Be(v.autoRemove,y,f)?p({},e,{filters:e.filters.filter(function(S){return S.id!==a})}):p({},e,R?{filters:e.filters.map(function(S){return S.id===a?{id:a,value:y}:S})}:{filters:[].concat(e.filters,[{id:a,value:y}])})}if(t.type===u.setAllFilters){var b=t.filters,m=r.allColumns,h=r.filterTypes;return p({},e,{filters:ie(b,e.filters).filter(function(S){var C=m.find(function(B){return B.id===S.id});return!Be(Re(C.filter,h||{},_e).autoRemove,S.value,C)})})}}function sr(e){var t=e.data,n=e.rows,r=e.flatRows,a=e.rowsById,o=e.allColumns,i=e.filterTypes,c=e.manualFilters,f=e.defaultCanFilter,v=f!==void 0&&f,R=e.disableFilters,y=e.state.filters,b=e.dispatch,m=e.autoResetFilters,h=m===void 0||m,S=d.useCallback(function(A,N){b({type:u.setFilter,columnId:A,filterValue:N})},[b]),C=d.useCallback(function(A){b({type:u.setAllFilters,filters:A})},[b]);o.forEach(function(A){var N=A.id,M=A.accessor,I=A.defaultCanFilter,F=A.disableFilters;A.canFilter=M?ue(F!==!0&&void 0,R!==!0&&void 0,!0):ue(I,v,!1),A.setFilter=function(O){return S(A.id,O)};var V=y.find(function(O){return O.id===N});A.filterValue=V&&V.value});var B=d.useMemo(function(){if(c||!y.length)return[n,r,a];var A=[],N={};return[function M(I,F){F===void 0&&(F=0);var V=I;return(V=y.reduce(function(O,L){var j=L.id,Q=L.value,x=o.find(function(te){return te.id===j});if(!x)return O;F===0&&(x.preFilteredRows=O);var z=Re(x.filter,i||{},_e);return z?(x.filteredRows=z(O,[j],Q),x.filteredRows):(console.warn("Could not find a valid 'column.filter' for column with the ID: "+x.id+"."),O)},I)).forEach(function(O){A.push(O),N[O.id]=O,O.subRows&&(O.subRows=O.subRows&&O.subRows.length>0?M(O.subRows,F+1):O.subRows)}),V}(n),A,N]},[c,y,n,r,a,o,i]),_=B[0],W=B[1],P=B[2];d.useMemo(function(){o.filter(function(A){return!y.find(function(N){return N.id===A.id})}).forEach(function(A){A.preFilteredRows=_,A.filteredRows=_})},[_,y,o]);var q=w(h);H(function(){q()&&b({type:u.resetFilters})},[b,c?null:t]),Object.assign(e,{preFilteredRows:n,preFilteredFlatRows:r,preFilteredRowsById:a,filteredRows:_,filteredFlatRows:W,filteredRowsById:P,rows:_,flatRows:W,rowsById:P,setFilter:S,setAllFilters:C})}jt.pluginName="useFilters",u.resetGlobalFilter="resetGlobalFilter",u.setGlobalFilter="setGlobalFilter";var Dt=function(e){e.stateReducers.push(lr),e.useInstance.push(cr)};function lr(e,t,n,r){if(t.type===u.resetGlobalFilter)return p({},e,{globalFilter:r.initialState.globalFilter||void 0});if(t.type===u.setGlobalFilter){var a=t.filterValue,o=r.userFilterTypes,i=Re(r.globalFilter,o||{},_e),c=ie(a,e.globalFilter);return Be(i.autoRemove,c)?(e.globalFilter,X(e,["globalFilter"])):p({},e,{globalFilter:c})}}function cr(e){var t=e.data,n=e.rows,r=e.flatRows,a=e.rowsById,o=e.allColumns,i=e.filterTypes,c=e.globalFilter,f=e.manualGlobalFilter,v=e.state.globalFilter,R=e.dispatch,y=e.autoResetGlobalFilter,b=y===void 0||y,m=e.disableGlobalFilter,h=d.useCallback(function(P){R({type:u.setGlobalFilter,filterValue:P})},[R]),S=d.useMemo(function(){if(f||v===void 0)return[n,r,a];var P=[],q={},A=Re(c,i||{},_e);if(!A)return console.warn("Could not find a valid 'globalFilter' option."),n;o.forEach(function(M){var I=M.disableGlobalFilter;M.canFilter=ue(I!==!0&&void 0,m!==!0&&void 0,!0)});var N=o.filter(function(M){return M.canFilter===!0});return[function M(I){return(I=A(I,N.map(function(F){return F.id}),v)).forEach(function(F){P.push(F),q[F.id]=F,F.subRows=F.subRows&&F.subRows.length?M(F.subRows):F.subRows}),I}(n),P,q]},[f,v,c,i,o,n,r,a,m]),C=S[0],B=S[1],_=S[2],W=w(b);H(function(){W()&&R({type:u.resetGlobalFilter})},[R,f?null:t]),Object.assign(e,{preGlobalFilteredRows:n,preGlobalFilteredFlatRows:r,preGlobalFilteredRowsById:a,globalFilteredRows:C,globalFilteredFlatRows:B,globalFilteredRowsById:_,rows:C,flatRows:B,rowsById:_,setGlobalFilter:h,disableGlobalFilter:m})}function Lt(e,t){return t.reduce(function(n,r){return n+(typeof r=="number"?r:0)},0)}Dt.pluginName="useGlobalFilter";var Vt=Object.freeze({__proto__:null,sum:Lt,min:function(e){var t=e[0]||0;return e.forEach(function(n){typeof n=="number"&&(t=Math.min(t,n))}),t},max:function(e){var t=e[0]||0;return e.forEach(function(n){typeof n=="number"&&(t=Math.max(t,n))}),t},minMax:function(e){var t=e[0]||0,n=e[0]||0;return e.forEach(function(r){typeof r=="number"&&(t=Math.min(t,r),n=Math.max(n,r))}),t+".."+n},average:function(e){return Lt(0,e)/e.length},median:function(e){if(!e.length)return null;var t=Math.floor(e.length/2),n=[].concat(e).sort(function(r,a){return r-a});return e.length%2!=0?n[t]:(n[t-1]+n[t])/2},unique:function(e){return Array.from(new Set(e).values())},uniqueCount:function(e){return new Set(e).size},count:function(e){return e.length}}),dr=[],fr={};u.resetGroupBy="resetGroupBy",u.setGroupBy="setGroupBy",u.toggleGroupBy="toggleGroupBy";var $t=function(e){e.getGroupByToggleProps=[pr],e.stateReducers.push(gr),e.visibleColumnsDeps.push(function(t,n){var r=n.instance;return[].concat(t,[r.state.groupBy])}),e.visibleColumns.push(vr),e.useInstance.push(hr),e.prepareRow.push(yr)};$t.pluginName="useGroupBy";var pr=function(e,t){var n=t.header;return[e,{onClick:n.canGroupBy?function(r){r.persist(),n.toggleGroupBy()}:void 0,style:{cursor:n.canGroupBy?"pointer":void 0},title:"Toggle GroupBy"}]};function gr(e,t,n,r){if(t.type===u.init)return p({groupBy:[]},e);if(t.type===u.resetGroupBy)return p({},e,{groupBy:r.initialState.groupBy||[]});if(t.type===u.setGroupBy)return p({},e,{groupBy:t.value});if(t.type===u.toggleGroupBy){var a=t.columnId,o=t.value,i=o!==void 0?o:!e.groupBy.includes(a);return p({},e,i?{groupBy:[].concat(e.groupBy,[a])}:{groupBy:e.groupBy.filter(function(c){return c!==a})})}}function vr(e,t){var n=t.instance.state.groupBy,r=n.map(function(o){return e.find(function(i){return i.id===o})}).filter(Boolean),a=e.filter(function(o){return!n.includes(o.id)});return(e=[].concat(r,a)).forEach(function(o){o.isGrouped=n.includes(o.id),o.groupedIndex=n.indexOf(o.id)}),e}var mr={};function hr(e){var t=e.data,n=e.rows,r=e.flatRows,a=e.rowsById,o=e.allColumns,i=e.flatHeaders,c=e.groupByFn,f=c===void 0?Ut:c,v=e.manualGroupBy,R=e.aggregations,y=R===void 0?mr:R,b=e.plugins,m=e.state.groupBy,h=e.dispatch,S=e.autoResetGroupBy,C=S===void 0||S,B=e.disableGroupBy,_=e.defaultCanGroupBy,W=e.getHooks;ee(b,["useColumnOrder","useFilters"],"useGroupBy");var P=w(e);o.forEach(function(x){var z=x.accessor,te=x.defaultGroupBy,fe=x.disableGroupBy;x.canGroupBy=z?ue(x.canGroupBy,fe!==!0&&void 0,B!==!0&&void 0,!0):ue(x.canGroupBy,te,_,!1),x.canGroupBy&&(x.toggleGroupBy=function(){return e.toggleGroupBy(x.id)}),x.Aggregated=x.Aggregated||x.Cell});var q=d.useCallback(function(x,z){h({type:u.toggleGroupBy,columnId:x,value:z})},[h]),A=d.useCallback(function(x){h({type:u.setGroupBy,value:x})},[h]);i.forEach(function(x){x.getGroupByToggleProps=D(W().getGroupByToggleProps,{instance:P(),header:x})});var N=d.useMemo(function(){if(v||!m.length)return[n,r,a,dr,fr,r,a];var x=m.filter(function(se){return o.find(function(Ce){return Ce.id===se})}),z=[],te={},fe=[],T={},Z=[],oe={},pe=function se(Ce,Se,dn){if(Se===void 0&&(Se=0),Se===x.length)return Ce;var gt=x[Se],ao=f(Ce,gt);return Object.entries(ao).map(function(fn,io){var pn=fn[0],Ye=fn[1],Je=gt+":"+pn,gn=se(Ye,Se+1,Je=dn?dn+">"+Je:Je),vn=Se?xe(Ye,"leafRows"):Ye,uo=function(ye,vt,lo){var Ze={};return o.forEach(function(ae){if(x.includes(ae.id))Ze[ae.id]=vt[0]?vt[0].values[ae.id]:null;else{var mn=typeof ae.aggregate=="function"?ae.aggregate:y[ae.aggregate]||Vt[ae.aggregate];if(mn){var co=vt.map(function(et){return et.values[ae.id]}),fo=ye.map(function(et){var mt=et.values[ae.id];if(!lo&&ae.aggregateValue){var hn=typeof ae.aggregateValue=="function"?ae.aggregateValue:y[ae.aggregateValue]||Vt[ae.aggregateValue];if(!hn)throw console.info({column:ae}),new Error("React Table: Invalid column.aggregateValue option for column listed above");mt=hn(mt,et,ae)}return mt});Ze[ae.id]=mn(fo,co)}else{if(ae.aggregate)throw console.info({column:ae}),new Error("React Table: Invalid column.aggregate option for column listed above");Ze[ae.id]=null}}}),Ze}(vn,Ye,Se),so={id:Je,isGrouped:!0,groupByID:gt,groupByVal:pn,values:uo,subRows:gn,leafRows:vn,depth:Se,index:io};return gn.forEach(function(ye){z.push(ye),te[ye.id]=ye,ye.isGrouped?(fe.push(ye),T[ye.id]=ye):(Z.push(ye),oe[ye.id]=ye)}),so})}(n);return pe.forEach(function(se){z.push(se),te[se.id]=se,se.isGrouped?(fe.push(se),T[se.id]=se):(Z.push(se),oe[se.id]=se)}),[pe,z,te,fe,T,Z,oe]},[v,m,n,r,a,o,y,f]),M=N[0],I=N[1],F=N[2],V=N[3],O=N[4],L=N[5],j=N[6],Q=w(C);H(function(){Q()&&h({type:u.resetGroupBy})},[h,v?null:t]),Object.assign(e,{preGroupedRows:n,preGroupedFlatRow:r,preGroupedRowsById:a,groupedRows:M,groupedFlatRows:I,groupedRowsById:F,onlyGroupedFlatRows:V,onlyGroupedRowsById:O,nonGroupedFlatRows:L,nonGroupedRowsById:j,rows:M,flatRows:I,rowsById:F,toggleGroupBy:q,setGroupBy:A})}function yr(e){e.allCells.forEach(function(t){var n;t.isGrouped=t.column.isGrouped&&t.column.id===e.groupByID,t.isPlaceholder=!t.isGrouped&&t.column.isGrouped,t.isAggregated=!t.isGrouped&&!t.isPlaceholder&&((n=e.subRows)==null?void 0:n.length)})}function Ut(e,t){return e.reduce(function(n,r,a){var o=""+r.values[t];return n[o]=Array.isArray(n[o])?n[o]:[],n[o].push(r),n},{})}var Xt=/([0-9]+)/gm;function lt(e,t){return e===t?0:e>t?1:-1}function Me(e,t,n){return[e.values[n],t.values[n]]}function qt(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}var wr=Object.freeze({__proto__:null,alphanumeric:function(e,t,n){var r=Me(e,t,n),a=r[0],o=r[1];for(a=qt(a),o=qt(o),a=a.split(Xt).filter(Boolean),o=o.split(Xt).filter(Boolean);a.length&&o.length;){var i=a.shift(),c=o.shift(),f=parseInt(i,10),v=parseInt(c,10),R=[f,v].sort();if(isNaN(R[0])){if(i>c)return 1;if(c>i)return-1}else{if(isNaN(R[1]))return isNaN(f)?-1:1;if(f>v)return 1;if(v>f)return-1}}return a.length-o.length},datetime:function(e,t,n){var r=Me(e,t,n),a=r[0],o=r[1];return lt(a=a.getTime(),o=o.getTime())},basic:function(e,t,n){var r=Me(e,t,n);return lt(r[0],r[1])},string:function(e,t,n){var r=Me(e,t,n),a=r[0],o=r[1];for(a=a.split("").filter(Boolean),o=o.split("").filter(Boolean);a.length&&o.length;){var i=a.shift(),c=o.shift(),f=i.toLowerCase(),v=c.toLowerCase();if(f>v)return 1;if(v>f)return-1;if(i>c)return 1;if(c>i)return-1}return a.length-o.length},number:function(e,t,n){var r=Me(e,t,n),a=r[0],o=r[1],i=/[^0-9.]/gi;return lt(a=Number(String(a).replace(i,"")),o=Number(String(o).replace(i,"")))}});u.resetSortBy="resetSortBy",u.setSortBy="setSortBy",u.toggleSortBy="toggleSortBy",u.clearSortBy="clearSortBy",re.sortType="alphanumeric",re.sortDescFirst=!1;var Kt=function(e){e.getSortByToggleProps=[br],e.stateReducers.push(Rr),e.useInstance.push(Cr)};Kt.pluginName="useSortBy";var br=function(e,t){var n=t.instance,r=t.column,a=n.isMultiSortEvent,o=a===void 0?function(i){return i.shiftKey}:a;return[e,{onClick:r.canSort?function(i){i.persist(),r.toggleSortBy(void 0,!n.disableMultiSort&&o(i))}:void 0,style:{cursor:r.canSort?"pointer":void 0},title:r.canSort?"Toggle SortBy":void 0}]};function Rr(e,t,n,r){if(t.type===u.init)return p({sortBy:[]},e);if(t.type===u.resetSortBy)return p({},e,{sortBy:r.initialState.sortBy||[]});if(t.type===u.clearSortBy)return p({},e,{sortBy:e.sortBy.filter(function(P){return P.id!==t.columnId})});if(t.type===u.setSortBy)return p({},e,{sortBy:t.sortBy});if(t.type===u.toggleSortBy){var a,o=t.columnId,i=t.desc,c=t.multi,f=r.allColumns,v=r.disableMultiSort,R=r.disableSortRemove,y=r.disableMultiRemove,b=r.maxMultiSortColCount,m=b===void 0?Number.MAX_SAFE_INTEGER:b,h=e.sortBy,S=f.find(function(P){return P.id===o}).sortDescFirst,C=h.find(function(P){return P.id===o}),B=h.findIndex(function(P){return P.id===o}),_=i!=null,W=[];return(a=!v&&c?C?"toggle":"add":B!==h.length-1||h.length!==1?"replace":C?"toggle":"replace")!="toggle"||R||_||c&&y||!(C&&C.desc&&!S||!C.desc&&S)||(a="remove"),a==="replace"?W=[{id:o,desc:_?i:S}]:a==="add"?(W=[].concat(h,[{id:o,desc:_?i:S}])).splice(0,W.length-m):a==="toggle"?W=h.map(function(P){return P.id===o?p({},P,{desc:_?i:!C.desc}):P}):a==="remove"&&(W=h.filter(function(P){return P.id!==o})),p({},e,{sortBy:W})}}function Cr(e){var t=e.data,n=e.rows,r=e.flatRows,a=e.allColumns,o=e.orderByFn,i=o===void 0?Qt:o,c=e.sortTypes,f=e.manualSortBy,v=e.defaultCanSort,R=e.disableSortBy,y=e.flatHeaders,b=e.state.sortBy,m=e.dispatch,h=e.plugins,S=e.getHooks,C=e.autoResetSortBy,B=C===void 0||C;ee(h,["useFilters","useGlobalFilter","useGroupBy","usePivotColumns"],"useSortBy");var _=d.useCallback(function(I){m({type:u.setSortBy,sortBy:I})},[m]),W=d.useCallback(function(I,F,V){m({type:u.toggleSortBy,columnId:I,desc:F,multi:V})},[m]),P=w(e);y.forEach(function(I){var F=I.accessor,V=I.canSort,O=I.disableSortBy,L=I.id,j=F?ue(O!==!0&&void 0,R!==!0&&void 0,!0):ue(v,V,!1);I.canSort=j,I.canSort&&(I.toggleSortBy=function(x,z){return W(I.id,x,z)},I.clearSortBy=function(){m({type:u.clearSortBy,columnId:I.id})}),I.getSortByToggleProps=D(S().getSortByToggleProps,{instance:P(),column:I});var Q=b.find(function(x){return x.id===L});I.isSorted=!!Q,I.sortedIndex=b.findIndex(function(x){return x.id===L}),I.isSortedDesc=I.isSorted?Q.desc:void 0});var q=d.useMemo(function(){if(f||!b.length)return[n,r];var I=[],F=b.filter(function(V){return a.find(function(O){return O.id===V.id})});return[function V(O){var L=i(O,F.map(function(j){var Q=a.find(function(te){return te.id===j.id});if(!Q)throw new Error("React-Table: Could not find a column with id: "+j.id+" while sorting");var x=Q.sortType,z=Ne(x)||(c||{})[x]||wr[x];if(!z)throw new Error("React-Table: Could not find a valid sortType of '"+x+"' for column '"+j.id+"'.");return function(te,fe){return z(te,fe,j.id,j.desc)}}),F.map(function(j){var Q=a.find(function(x){return x.id===j.id});return Q&&Q.sortInverted?j.desc:!j.desc}));return L.forEach(function(j){I.push(j),j.subRows&&j.subRows.length!==0&&(j.subRows=V(j.subRows))}),L}(n),I]},[f,b,n,r,a,i,c]),A=q[0],N=q[1],M=w(B);H(function(){M()&&m({type:u.resetSortBy})},[f?null:t]),Object.assign(e,{preSortedRows:n,preSortedFlatRows:r,sortedRows:A,sortedFlatRows:N,rows:A,flatRows:N,setSortBy:_,toggleSortBy:W})}function Qt(e,t,n){return[].concat(e).sort(function(r,a){for(var o=0;oe.pageIndex?c=a===-1?o.length>=e.pageSize:i-1),c?p({},e,{pageIndex:i}):e}if(t.type===u.setPageSize){var f=t.pageSize,v=e.pageSize*e.pageIndex;return p({},e,{pageIndex:Math.floor(v/f),pageSize:f})}}function Pr(e){var t=e.rows,n=e.autoResetPage,r=n===void 0||n,a=e.manualExpandedKey,o=a===void 0?"expanded":a,i=e.plugins,c=e.pageCount,f=e.paginateExpandedRows,v=f===void 0||f,R=e.expandSubRows,y=R===void 0||R,b=e.state,m=b.pageSize,h=b.pageIndex,S=b.expanded,C=b.globalFilter,B=b.filters,_=b.groupBy,W=b.sortBy,P=e.dispatch,q=e.data,A=e.manualPagination;ee(i,["useGlobalFilter","useFilters","useGroupBy","useSortBy","useExpanded"],"usePagination");var N=w(r);H(function(){N()&&P({type:u.resetPage})},[P,A?null:q,C,B,_,W]);var M=A?c:Math.ceil(t.length/m),I=d.useMemo(function(){return M>0?[].concat(new Array(M)).fill(null).map(function(z,te){return te}):[]},[M]),F=d.useMemo(function(){var z;if(A)z=t;else{var te=m*h,fe=te+m;z=t.slice(te,fe)}return v?z:He(z,{manualExpandedKey:o,expanded:S,expandSubRows:y})},[y,S,o,A,h,m,v,t]),V=h>0,O=M===-1?F.length>=m:h-1&&o.push(a.splice(f,1)[0])};a.length&&r.length;)i();return[].concat(o,a)}function Xr(e){var t=e.dispatch;e.setColumnOrder=d.useCallback(function(n){return t({type:u.setColumnOrder,columnOrder:n})},[t])}on.pluginName="useColumnOrder",re.canResize=!0,u.columnStartResizing="columnStartResizing",u.columnResizing="columnResizing",u.columnDoneResizing="columnDoneResizing",u.resetResize="resetResize";var an=function(e){e.getResizerProps=[qr],e.getHeaderProps.push({style:{position:"relative"}}),e.stateReducers.push(Kr),e.useInstance.push(Yr),e.useInstanceBeforeDimensions.push(Qr)},qr=function(e,t){var n=t.instance,r=t.header,a=n.dispatch,o=function(i,c){var f=!1;if(i.type==="touchstart"){if(i.touches&&i.touches.length>1)return;f=!0}var v=function(C){var B=[];return function _(W){W.columns&&W.columns.length&&W.columns.map(_),B.push(W)}(C),B}(c).map(function(C){return[C.id,C.totalWidth]}),R=f?Math.round(i.touches[0].clientX):i.clientX,y=function(C){a({type:u.columnResizing,clientX:C})},b=function(){return a({type:u.columnDoneResizing})},m={mouse:{moveEvent:"mousemove",moveHandler:function(C){return y(C.clientX)},upEvent:"mouseup",upHandler:function(C){document.removeEventListener("mousemove",m.mouse.moveHandler),document.removeEventListener("mouseup",m.mouse.upHandler),b()}},touch:{moveEvent:"touchmove",moveHandler:function(C){return C.cancelable&&(C.preventDefault(),C.stopPropagation()),y(C.touches[0].clientX),!1},upEvent:"touchend",upHandler:function(C){document.removeEventListener(m.touch.moveEvent,m.touch.moveHandler),document.removeEventListener(m.touch.upEvent,m.touch.moveHandler),b()}}},h=f?m.touch:m.mouse,S=!!function(){if(typeof Ie=="boolean")return Ie;var C=!1;try{var B={get passive(){return C=!0,!1}};window.addEventListener("test",null,B),window.removeEventListener("test",null,B)}catch{C=!1}return Ie=C}()&&{passive:!1};document.addEventListener(h.moveEvent,h.moveHandler,S),document.addEventListener(h.upEvent,h.upHandler,S),a({type:u.columnStartResizing,columnId:c.id,columnWidth:c.totalWidth,headerIdWidths:v,clientX:R})};return[e,{onMouseDown:function(i){return i.persist()||o(i,r)},onTouchStart:function(i){return i.persist()||o(i,r)},style:{cursor:"col-resize"},draggable:!1,role:"separator"}]};function Kr(e,t){if(t.type===u.init)return p({columnResizing:{columnWidths:{}}},e);if(t.type===u.resetResize)return p({},e,{columnResizing:{columnWidths:{}}});if(t.type===u.columnStartResizing){var n=t.clientX,r=t.columnId,a=t.columnWidth,o=t.headerIdWidths;return p({},e,{columnResizing:p({},e.columnResizing,{startX:n,headerIdWidths:o,columnWidth:a,isResizingColumn:r})})}if(t.type===u.columnResizing){var i=t.clientX,c=e.columnResizing,f=c.startX,v=c.columnWidth,R=c.headerIdWidths,y=(i-f)/v,b={};return(R===void 0?[]:R).forEach(function(m){var h=m[0],S=m[1];b[h]=Math.max(S+S*y,0)}),p({},e,{columnResizing:p({},e.columnResizing,{columnWidths:p({},e.columnResizing.columnWidths,{},b)})})}return t.type===u.columnDoneResizing?p({},e,{columnResizing:p({},e.columnResizing,{startX:null,isResizingColumn:null})}):void 0}an.pluginName="useResizeColumns";var Qr=function(e){var t=e.flatHeaders,n=e.disableResizing,r=e.getHooks,a=e.state.columnResizing,o=w(e);t.forEach(function(i){var c=ue(i.disableResizing!==!0&&void 0,n!==!0&&void 0,!0);i.canResize=c,i.width=a.columnWidths[i.id]||i.originalWidth||i.width,i.isResizing=a.isResizingColumn===i.id,c&&(i.getResizerProps=D(r().getResizerProps,{instance:o(),header:i}))})};function Yr(e){var t=e.plugins,n=e.dispatch,r=e.autoResetResize,a=r===void 0||r,o=e.columns;ee(t,["useAbsoluteLayout"],"useResizeColumns");var i=w(a);H(function(){i()&&n({type:u.resetResize})},[o]);var c=d.useCallback(function(){return n({type:u.resetResize})},[n]);Object.assign(e,{resetResizing:c})}var ct={position:"absolute",top:0},un=function(e){e.getTableBodyProps.push(Qe),e.getRowProps.push(Qe),e.getHeaderGroupProps.push(Qe),e.getFooterGroupProps.push(Qe),e.getHeaderProps.push(function(t,n){var r=n.column;return[t,{style:p({},ct,{left:r.totalLeft+"px",width:r.totalWidth+"px"})}]}),e.getCellProps.push(function(t,n){var r=n.cell;return[t,{style:p({},ct,{left:r.column.totalLeft+"px",width:r.column.totalWidth+"px"})}]}),e.getFooterProps.push(function(t,n){var r=n.column;return[t,{style:p({},ct,{left:r.totalLeft+"px",width:r.totalWidth+"px"})}]})};un.pluginName="useAbsoluteLayout";var Qe=function(e,t){return[e,{style:{position:"relative",width:t.instance.totalColumnsWidth+"px"}}]},dt={display:"inline-block",boxSizing:"border-box"},ft=function(e,t){return[e,{style:{display:"flex",width:t.instance.totalColumnsWidth+"px"}}]},sn=function(e){e.getRowProps.push(ft),e.getHeaderGroupProps.push(ft),e.getFooterGroupProps.push(ft),e.getHeaderProps.push(function(t,n){var r=n.column;return[t,{style:p({},dt,{width:r.totalWidth+"px"})}]}),e.getCellProps.push(function(t,n){var r=n.cell;return[t,{style:p({},dt,{width:r.column.totalWidth+"px"})}]}),e.getFooterProps.push(function(t,n){var r=n.column;return[t,{style:p({},dt,{width:r.totalWidth+"px"})}]})};function ln(e){e.getTableProps.push(Jr),e.getRowProps.push(pt),e.getHeaderGroupProps.push(pt),e.getFooterGroupProps.push(pt),e.getHeaderProps.push(Zr),e.getCellProps.push(eo),e.getFooterProps.push(to)}sn.pluginName="useBlockLayout",ln.pluginName="useFlexLayout";var Jr=function(e,t){return[e,{style:{minWidth:t.instance.totalColumnsMinWidth+"px"}}]},pt=function(e,t){return[e,{style:{display:"flex",flex:"1 0 auto",minWidth:t.instance.totalColumnsMinWidth+"px"}}]},Zr=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]},eo=function(e,t){var n=t.cell;return[e,{style:{boxSizing:"border-box",flex:n.column.totalFlexWidth+" 0 auto",minWidth:n.column.totalMinWidth+"px",width:n.column.totalWidth+"px"}}]},to=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]};function cn(e){e.stateReducers.push(oo),e.getTableProps.push(no),e.getHeaderProps.push(ro)}cn.pluginName="useGridLayout";var no=function(e,t){return[e,{style:{display:"grid",gridTemplateColumns:t.instance.state.gridLayout.columnWidths.map(function(n){return n}).join(" ")}}]},ro=function(e,t){return[e,{id:"header-cell-"+t.column.id,style:{position:"sticky"}}]};function oo(e,t,n,r){if(t.type==="init")return p({gridLayout:{columnWidths:r.columns.map(function(){return"auto"})}},e);if(t.type==="columnStartResizing"){var a=t.columnId,o=r.visibleColumns.findIndex(function(m){return m.id===a}),i=function(m){var h,S=(h=document.getElementById("header-cell-"+m))==null?void 0:h.offsetWidth;if(S!==void 0)return S}(a);return i!==void 0?p({},e,{gridLayout:p({},e.gridLayout,{columnId:a,columnIndex:o,startingWidth:i})}):e}if(t.type==="columnResizing"){var c=e.gridLayout,f=c.columnIndex,v=c.startingWidth,R=c.columnWidths,y=v-(e.columnResizing.startX-t.clientX),b=[].concat(R);return b[f]=y+"px",p({},e,{gridLayout:p({},e.gridLayout,{columnWidths:b})})}}s._UNSTABLE_usePivotColumns=Jt,s.actions=u,s.defaultColumn=re,s.defaultGroupByFn=Ut,s.defaultOrderByFn=Qt,s.defaultRenderer=Y,s.emptyRenderer=J,s.ensurePluginOrder=ee,s.flexRender=ge,s.functionalUpdate=ie,s.loopHooks=de,s.makePropGetter=D,s.makeRenderer=$,s.reduceHooks=K,s.safeUseLayoutEffect=k,s.useAbsoluteLayout=un,s.useAsyncDebounce=function(e,t){t===void 0&&(t=0);var n=d.useRef({}),r=w(e),a=w(t);return d.useCallback(function(){var o=G(regeneratorRuntime.mark(function i(){var c,f,v,R=arguments;return regeneratorRuntime.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:for(c=R.length,f=new Array(c),v=0;v1?t-1:0),r=1;rwe("div",Ge(Oe({},ne.getHeaderGroupProps()),{className:Fe.tr,children:[ne.headers.map(u=>we("div",Ge(Oe({},u.getHeaderProps(u.getSortByToggleProps())),{className:Fe.th,children:[U("span",{children:G(u.render("Header"))}),U("span",{className:Fe.sortIconContainer,children:u.isSorted?U("span",{className:u.isSortedDesc?"":Fe.rotate180,children:U(No,{size:16})}):null})]}))),d.map((u,Y)=>(E(u),u.cells.map((J,re)=>U("div",Ge(Oe({},J.getCellProps()),{className:ke(Fe.td,Y%2===0?Fe.odd:!1,re>=2&&re<=5?Fe.du:!1),children:qa(J,X)})))))]})))}))}const Ja="_overlay_148w6_1",Za="_cnt_148w6_5",ei="_afterOpen_148w6_15",ti="_btngrp_148w6_20";var nt={overlay:Ja,cnt:Za,afterOpen:ei,btngrp:ti};const{useRef:ni,useCallback:ri,useMemo:oi}=Pe;function ai({isOpen:g,onRequestClose:l,primaryButtonOnTap:s}){const d=ni(null),E=ri(()=>{d.current.focus()},[]),G=oi(()=>({base:ke(Rn.content,nt.cnt),afterOpen:nt.afterOpen,beforeClose:""}),[]);return we(wo,{isOpen:g,onRequestClose:l,onAfterOpen:E,className:G,overlayClassName:ke(Rn.overlay,nt.overlay),children:[U("p",{children:"Are you sure you want to close all connections?"}),we("div",{className:nt.btngrp,children:[U(Cn,{onClick:s,ref:d,children:"I'm sure"}),U("div",{style:{width:20}}),U(Cn,{onClick:l,children:"No"})]})]})}const{useEffect:ii,useState:Le,useRef:ui,useCallback:Ve}=Pe,In=30;function si(g){const l={};for(let s=0;s[s.host,s.sourceIP,s.sourcePort,s.destinationIP,s.chains,s.rule,s.type,s.network,s.process].some(d=>li(d,l))):g}function ci(g,l,s){const{id:d,metadata:E,upload:G,download:p,start:X,chains:ne,rule:u,rulePayload:Y}=g,{host:J,destinationPort:re,destinationIP:ce,remoteDestination:D,network:K,type:de,sourceIP:ee,sourcePort:ie,process:w}=E;let k=J;k===""&&(k=ce);const H=l[d];return Ge(Oe({id:d,upload:G,download:p,start:s-new Date(X).valueOf(),chains:ne.reverse().join(" / "),rule:Y?`${u} :: ${Y}`:u},E),{host:`${k}:${re}`,type:`${de}(${K})`,source:`${ee}:${ie}`,downloadSpeedCurr:p-(H?H.download:0),uploadSpeedCurr:G-(H?H.upload:0),process:w||"-",destinationIP:D||ce||J})}function Fn(g){return g.length>0?U(Ya,{data:g}):U("div",{className:$e.placeHolder,children:U(xo,{width:200,height:200,c1:"var(--color-text)"})})}function kn({qty:g}){return g<100?""+g:"99+"}function di({apiConfig:g}){const[l,s]=Io(),[d,E]=Le([]),[G,p]=Le([]),[X,ne]=Le(""),u=Tn(d,X),Y=Tn(G,X),[J,re]=Le(!1),ce=Ve(()=>re(!0),[]),D=Ve(()=>re(!1),[]),[K,de]=Le(!1),ee=Ve(()=>{de($=>!$)},[]),ie=Ve(()=>{Ro(g),D()},[g,D]),w=ui(d),k=Ve(({connections:$})=>{const ge=si(w.current),ve=Date.now(),me=$.map(he=>ci(he,ge,ve)),be=[];for(const he of w.current)me.findIndex(Ae=>Ae.id===he.id)<0&&be.push(he);p(he=>[...be,...he].slice(0,101)),me&&(me.length!==0||w.current.length!==0)&&!K?(w.current=me,E(me)):w.current=me},[E,K]);ii(()=>Co(g,k),[g,k]);const{t:H}=An();return we("div",{children:[U(So,{title:H("Connections")}),we(it,{children:[we("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"space-between"},children:[we(ut,{children:[we(Ue,{children:[U("span",{children:H("Active")}),U("span",{className:$e.connQty,children:U(kn,{qty:u.length})})]}),we(Ue,{children:[U("span",{children:H("Closed")}),U("span",{className:$e.connQty,children:U(kn,{qty:Y.length})})]})]}),U("div",{className:$e.inputWrapper,children:U("input",{type:"text",name:"filter",autoComplete:"off",className:$e.input,placeholder:H("Search"),onChange:$=>ne($.target.value)})})]}),U("div",{ref:l,style:{padding:30,paddingBottom:In,paddingTop:0},children:we("div",{style:{height:s-In,overflow:"auto"},children:[we(Xe,{children:[U(Po,{children:Fn(u)}),U(Oo,{icon:K?U(Wo,{size:16}):U(_o,{size:16}),mainButtonStyles:K?{background:"#e74c3c"}:{},style:Go,text:H(K?"Resume Refresh":"Pause Refresh"),onClick:ee,children:U(Ho,{text:H("close_all_connections"),onClick:ce,children:U(Bo,{size:10})})})]}),U(Xe,{children:Fn(Y)})]})}),U(ai,{isOpen:J,primaryButtonOnTap:ie,onRequestClose:D})]})]})}const fi=g=>({apiConfig:Eo(g)});var bi=bo(fi)(di);export{bi as default}; diff --git a/bin/Yacd-meta-gh-pages/assets/Connections.10dc6333.css b/bin/Yacd-meta-gh-pages/assets/Connections.10dc6333.css deleted file mode 100644 index b4697cdd..00000000 --- a/bin/Yacd-meta-gh-pages/assets/Connections.10dc6333.css +++ /dev/null @@ -1 +0,0 @@ -.react-tabs{-webkit-tap-highlight-color:transparent}.react-tabs__tab-list{margin:0 0 10px;padding:0 30px}.react-tabs__tab{display:inline-flex;align-items:center;border:1px solid transparent;border-radius:5px;bottom:-1px;position:relative;list-style:none;padding:6px 10px;cursor:pointer;font-size:1.2em;opacity:.5}.react-tabs__tab--selected{opacity:1}.react-tabs__tab--disabled{color:GrayText;cursor:default}.react-tabs__tab:focus{border-color:#0188fe;outline:none}.react-tabs__tab:focus:after{content:"";position:absolute}.react-tabs__tab-panel{display:none}.react-tabs__tab-panel--selected{display:block}._placeHolder_1gxts_1{margin-top:20%;height:100%;display:flex;align-items:center;justify-content:center;color:var(--color-background);opacity:.1}@media (max-width: 768px){._placeHolder_1gxts_1{margin-top:35%}}._connQty_1gxts_16{font-family:var(--font-normal);font-size:.75em;margin-left:3px;padding:2px 7px;display:inline-flex;justify-content:center;align-items:center;background-color:var(--bg-near-transparent);border-radius:30px}._inputWrapper_1gxts_28{margin:0 30px;width:100%;max-width:350px;justify-self:flex-end}._input_1gxts_28{-webkit-appearance:none;background-color:var(--color-input-bg);background-image:none;border-radius:18px;border:1px solid var(--color-input-border);box-sizing:border-box;color:#c1c1c1;display:inline-block;font-size:inherit;height:36px;outline:none;padding:0 15px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%}._tr_1jqmj_1{display:grid;grid-template-columns:repeat(12,minmax(-webkit-max-content,auto));grid-template-columns:repeat(12,minmax(max-content,auto))}._th_1jqmj_7{padding:8px 10px;height:50px;background:var(--color-background);position:-webkit-sticky;position:sticky;top:0;font-size:.9em;text-align:center;-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:space-between}._th_1jqmj_7:hover{color:var(--color-text-highlight)}._td_1jqmj_24{padding:8px 13px;font-size:.9em;cursor:default;font-family:var(--font-normal)}._td_1jqmj_24:hover{color:var(--color-text-highlight)}._td_1jqmj_24._odd_1jqmj_34{background:var(--color-row-odd)}._du_1jqmj_39{text-align:right}._sortIconContainer_1jqmj_43{display:inline-flex;margin-left:10px;width:16px;height:16px}._rotate180_1jqmj_50{-webkit-transform:rotate(180deg);transform:rotate(180deg)}._overlay_148w6_1{background-color:#0009}._cnt_148w6_5{background-color:var(--bg-modal);color:var(--color-text);max-width:300px;line-height:1.4;-webkit-transform:translate(-50%,-50%) scale(1.2);transform:translate(-50%,-50%) scale(1.2);opacity:.6;transition:all .3s ease}._afterOpen_148w6_15{opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}._btngrp_148w6_20{display:flex;align-items:center;justify-content:center;margin-top:30px} diff --git a/bin/Yacd-meta-gh-pages/assets/Fab.33a60e0e.css b/bin/Yacd-meta-gh-pages/assets/Fab.33a60e0e.css deleted file mode 100644 index 673a61d5..00000000 --- a/bin/Yacd-meta-gh-pages/assets/Fab.33a60e0e.css +++ /dev/null @@ -1 +0,0 @@ -.rtf{box-sizing:border-box;margin:25px;position:fixed;white-space:nowrap;z-index:9998;padding-left:0;list-style:none}.rtf.open .rtf--mb{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.rtf.open .rtf--mb>ul{list-style:none;margin:0;padding:0}.rtf.open .rtf--ab__c:hover>span{transition:ease-in-out opacity .2s;opacity:.9}.rtf.open .rtf--ab__c>span.always-show{transition:ease-in-out opacity .2s;opacity:.9}.rtf.open .rtf--ab__c:nth-child(1){-webkit-transform:translateY(-60px) scale(1);transform:translateY(-60px) scale(1);transition-delay:.03s}.rtf.open .rtf--ab__c:nth-child(1).top{-webkit-transform:translateY(60px) scale(1);transform:translateY(60px) scale(1)}.rtf.open .rtf--ab__c:nth-child(2){-webkit-transform:translateY(-120px) scale(1);transform:translateY(-120px) scale(1);transition-delay:.09s}.rtf.open .rtf--ab__c:nth-child(2).top{-webkit-transform:translateY(120px) scale(1);transform:translateY(120px) scale(1)}.rtf.open .rtf--ab__c:nth-child(3){-webkit-transform:translateY(-180px) scale(1);transform:translateY(-180px) scale(1);transition-delay:.12s}.rtf.open .rtf--ab__c:nth-child(3).top{-webkit-transform:translateY(180px) scale(1);transform:translateY(180px) scale(1)}.rtf.open .rtf--ab__c:nth-child(4){-webkit-transform:translateY(-240px) scale(1);transform:translateY(-240px) scale(1);transition-delay:.15s}.rtf.open .rtf--ab__c:nth-child(4).top{-webkit-transform:translateY(240px) scale(1);transform:translateY(240px) scale(1)}.rtf.open .rtf--ab__c:nth-child(5){-webkit-transform:translateY(-300px) scale(1);transform:translateY(-300px) scale(1);transition-delay:.18s}.rtf.open .rtf--ab__c:nth-child(5).top{-webkit-transform:translateY(300px) scale(1);transform:translateY(300px) scale(1)}.rtf.open .rtf--ab__c:nth-child(6){-webkit-transform:translateY(-360px) scale(1);transform:translateY(-360px) scale(1);transition-delay:.21s}.rtf.open .rtf--ab__c:nth-child(6).top{-webkit-transform:translateY(360px) scale(1);transform:translateY(360px) scale(1)}.rtf--mb__c{padding:25px;margin:-25px}.rtf--mb__c *:last-child{margin-bottom:0}.rtf--mb__c:hover>span{transition:ease-in-out opacity .2s;opacity:.9}.rtf--mb__c>span.always-show{transition:ease-in-out opacity .2s;opacity:.9}.rtf--mb__c>span{opacity:0;transition:ease-in-out opacity .2s;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);margin-right:6px;margin-left:4px;background:rgba(0,0,0,.75);padding:2px 4px;border-radius:2px;color:#fff;font-size:13px;box-shadow:0 0 4px #00000024,0 4px 8px #00000047}.rtf--mb__c>span.right{right:100%}.rtf--mb{width:48px;height:48px;background:var(--btn-bg);z-index:9999;display:inline-flex;justify-content:center;align-items:center;position:relative;border:none;border-radius:50%;box-shadow:0 0 4px #00000024,0 4px 8px #00000047;cursor:pointer;outline:none;padding:0;-webkit-user-drag:none;font-weight:700;color:#f1f1f1;font-size:18px}.rtf--mb>*{transition:ease-in-out transform .2s}.rtf--ab__c{display:block;position:absolute;top:0;right:1px;padding:10px 0;margin:-10px 0;transition:ease-in-out transform .2s}.rtf--ab__c>span{opacity:0;transition:ease-in-out opacity .2s;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);margin-right:6px;background:rgba(0,0,0,.75);padding:2px 4px;border-radius:2px;color:#fff;font-size:13px;box-shadow:0 0 4px #00000024,0 4px 8px #00000047}.rtf--ab__c>span.right{right:100%}.rtf--ab__c:nth-child(1){-webkit-transform:translateY(-60px) scale(0);transform:translateY(-60px) scale(0);transition-delay:.21s}.rtf--ab__c:nth-child(1).top{-webkit-transform:translateY(60px) scale(0);transform:translateY(60px) scale(0)}.rtf--ab__c:nth-child(2){-webkit-transform:translateY(-120px) scale(0);transform:translateY(-120px) scale(0);transition-delay:.18s}.rtf--ab__c:nth-child(2).top{-webkit-transform:translateY(120px) scale(0);transform:translateY(120px) scale(0)}.rtf--ab__c:nth-child(3){-webkit-transform:translateY(-180px) scale(0);transform:translateY(-180px) scale(0);transition-delay:.15s}.rtf--ab__c:nth-child(3).top{-webkit-transform:translateY(180px) scale(0);transform:translateY(180px) scale(0)}.rtf--ab__c:nth-child(4){-webkit-transform:translateY(-240px) scale(0);transform:translateY(-240px) scale(0);transition-delay:.12s}.rtf--ab__c:nth-child(4).top{-webkit-transform:translateY(240px) scale(0);transform:translateY(240px) scale(0)}.rtf--ab__c:nth-child(5){-webkit-transform:translateY(-300px) scale(0);transform:translateY(-300px) scale(0);transition-delay:.09s}.rtf--ab__c:nth-child(5).top{-webkit-transform:translateY(300px) scale(0);transform:translateY(300px) scale(0)}.rtf--ab__c:nth-child(6){-webkit-transform:translateY(-360px) scale(0);transform:translateY(-360px) scale(0);transition-delay:.03s}.rtf--ab__c:nth-child(6).top{-webkit-transform:translateY(360px) scale(0);transform:translateY(360px) scale(0)}.rtf--ab{height:40px;width:40px;margin-right:4px;background-color:#aaa;display:inline-flex;justify-content:center;align-items:center;position:relative;border:none;border-radius:50%;box-shadow:0 0 4px #00000024,0 4px 8px #00000047;cursor:pointer;outline:none;padding:0;-webkit-user-drag:none;font-weight:700;color:#f1f1f1;font-size:16px;z-index:10000}.rtf--ab:hover{background:#387cec;border:1px solid #387cec;color:#fff}.rtf--ab:focus{border-color:var(--color-focus-blue)}._spining_4i8sg_1{position:relative;border-radius:50%;background:linear-gradient(60deg,#e66465,#9198e5);width:48px;height:48px;display:flex;justify-content:center;align-items:center}._spining_4i8sg_1:before{content:"";position:absolute;top:0;bottom:0;left:0;right:0;border:2px solid transparent;border-top-color:currentColor;border-radius:50%;-webkit-animation:_spining_keyframes_4i8sg_1 1s linear infinite;animation:_spining_keyframes_4i8sg_1 1s linear infinite}@-webkit-keyframes _spining_keyframes_4i8sg_1{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes _spining_keyframes_4i8sg_1{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}} diff --git a/bin/Yacd-meta-gh-pages/assets/Fab.d363c2c3.js b/bin/Yacd-meta-gh-pages/assets/Fab.d363c2c3.js deleted file mode 100644 index 3b5040ff..00000000 --- a/bin/Yacd-meta-gh-pages/assets/Fab.d363c2c3.js +++ /dev/null @@ -1 +0,0 @@ -var B=Object.defineProperty,H=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var k=(t,s,n)=>s in t?B(t,s,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[s]=n,o=(t,s)=>{for(var n in s||(s={}))N.call(s,n)&&k(t,n,s[n]);if(p)for(var n of p(s))$.call(s,n)&&k(t,n,s[n]);return t},r=(t,s)=>H(t,L(s));var d=(t,s)=>{var n={};for(var e in t)N.call(t,e)&&s.indexOf(e)<0&&(n[e]=t[e]);if(t!=null&&p)for(var e of p(t))s.indexOf(e)<0&&$.call(t,e)&&(n[e]=t[e]);return n};import{j as i,b as v,r as b,h as R}from"./index.1ca2d13d.js";const V="_spining_4i8sg_1",q="_spining_keyframes_4i8sg_1";var w={spining:V,spining_keyframes:q};const{useState:z}=R;function Q({children:t}){return i("span",{className:w.spining,children:t})}const S={right:10,bottom:10},U=n=>{var e=n,{children:t}=e,s=d(e,["children"]);return i("button",r(o({type:"button"},s),{className:"rtf--ab",children:t}))},D=n=>{var e=n,{children:t}=e,s=d(e,["children"]);return i("button",r(o({type:"button",className:"rtf--mb"},s),{children:t}))},G={bottom:24,right:24},W=J=>{var h=J,{event:t="hover",style:s=G,alwaysShowTitle:n=!1,children:e,icon:C,mainButtonStyles:I,onClick:f,text:g}=h,y=d(h,["event","style","alwaysShowTitle","children","icon","mainButtonStyles","onClick","text"]);const[l,u]=z(!1),m=n||!l,_=()=>u(!0),x=()=>u(!1),F=()=>t==="hover"&&_(),M=()=>t==="hover"&&x(),j=a=>f?f(a):(a.persist(),t==="click"?l?x():_():null),E=(a,c)=>{a.persist(),u(!1),setTimeout(()=>{c(a)},1)},O=()=>b.exports.Children.map(e,(a,c)=>b.exports.isValidElement(a)?v("li",{className:`rtf--ab__c ${"top"in s?"top":""}`,children:[b.exports.cloneElement(a,r(o({"data-testid":`action-button-${c}`,"aria-label":a.props.text||`Menu button ${c+1}`,"aria-hidden":m,tabIndex:l?0:-1},a.props),{onClick:A=>{a.props.onClick&&E(A,a.props.onClick)}})),a.props.text&&i("span",{className:`${"right"in s?"right":""} ${n?"always-show":""}`,"aria-hidden":m,children:a.props.text})]}):null);return i("ul",r(o({onMouseEnter:F,onMouseLeave:M,className:`rtf ${l?"open":"closed"}`,"data-testid":"fab",style:s},y),{children:v("li",{className:"rtf--mb__c",children:[i(D,{onClick:j,style:I,"data-testid":"main-button",role:"button","aria-label":"Floating menu",tabIndex:0,children:C}),g&&i("span",{className:`${"right"in s?"right":""} ${n?"always-show":""}`,"aria-hidden":m,children:g}),i("ul",{children:O()})]})}))};export{U as A,W as F,Q as I,S as p}; diff --git a/bin/Yacd-meta-gh-pages/assets/Logs.7be64a6f.css b/bin/Yacd-meta-gh-pages/assets/Logs.7be64a6f.css deleted file mode 100644 index 1d18b594..00000000 --- a/bin/Yacd-meta-gh-pages/assets/Logs.7be64a6f.css +++ /dev/null @@ -1 +0,0 @@ -._RuleSearch_muvsu_1{padding:0 40px 5px}@media (max-width: 768px){._RuleSearch_muvsu_1{padding:0 25px 5px}}._RuleSearchContainer_muvsu_10{position:relative;height:40px}@media (max-width: 768px){._RuleSearchContainer_muvsu_10{height:30px}}._inputWrapper_muvsu_20{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);left:0;width:100%}._input_muvsu_20{-webkit-appearance:none;background-color:var(--color-input-bg);background-image:none;border-radius:20px;border:1px solid var(--color-input-border);box-sizing:border-box;color:#c1c1c1;display:inline-block;font-size:inherit;height:40px;outline:none;padding:0 15px 0 35px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%}._iconWrapper_muvsu_45{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);left:10px}._logMeta_pycfb_1{font-size:.8em;margin-bottom:5px;display:block;line-height:1.55em}._logType_pycfb_8{flex-shrink:0;text-align:center;width:66px;border-radius:100px;padding:3px 5px;margin:0 8px}._logTime_pycfb_17{flex-shrink:0;color:#fb923c}._logText_pycfb_22{flex-shrink:0;color:#888;align-items:center;line-height:1.35em;width:100%}@media (max-width: 768px){._logText_pycfb_22{display:inline-block}}._logsWrapper_pycfb_37{margin:45px;padding:10px;background-color:var(--bg-log-info-card);border-radius:4px;color:var(--color-text);overflow-y:auto}@media (max-width: 768px){._logsWrapper_pycfb_37{margin:25px}}._logsWrapper_pycfb_37 .log{margin-bottom:10px}._logPlaceholder_pycfb_54{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#2d2d30}._logPlaceholder_pycfb_54 div:nth-child(2){color:var(--color-text-secondary);font-size:1.4em;opacity:.6}._logPlaceholderIcon_pycfb_67{opacity:.3} diff --git a/bin/Yacd-meta-gh-pages/assets/Logs.9c10807e.js b/bin/Yacd-meta-gh-pages/assets/Logs.9c10807e.js deleted file mode 100644 index debd0d28..00000000 --- a/bin/Yacd-meta-gh-pages/assets/Logs.9c10807e.js +++ /dev/null @@ -1 +0,0 @@ -var L=Object.defineProperty,N=Object.defineProperties;var W=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var C=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var T=(e,r,o)=>r in e?L(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o,g=(e,r)=>{for(var o in r||(r={}))C.call(r,o)&&T(e,o,r[o]);if(x)for(var o of x(r))k.call(r,o)&&T(e,o,r[o]);return e},f=(e,r)=>N(e,W(r));import{r as _,b as l,j as a,P as m,d as R,N as j,O as I,w as O,Q as z,u as M,C as $,S as A,T as B,U as F,g as H,V as D,h as E}from"./index.1ca2d13d.js";import{r as V,s as Q,f as U}from"./logs.480db4a8.js";import{d as Y}from"./debounce.d080d5e1.js";import{u as q}from"./useRemainingViewPortHeight.a89bff9d.js";import{F as G,p as J}from"./Fab.d363c2c3.js";import{P as K,a as X}from"./play.2aacfa82.js";function Z(e,r){if(e==null)return{};var o=ee(e,r),s,t;if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(t=0;t=0)&&(!Object.prototype.propertyIsEnumerable.call(e,s)||(o[s]=e[s]))}return o}function ee(e,r){if(e==null)return{};var o={},s=Object.keys(e),t,n;for(n=0;n=0)&&(o[t]=e[t]);return o}var y=_.exports.forwardRef(function(e,r){var o=e.color,s=o===void 0?"currentColor":o,t=e.size,n=t===void 0?24:t,p=Z(e,["color","size"]);return l("svg",f(g({ref:r,xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:s,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},p),{children:[a("circle",{cx:"11",cy:"11",r:"8"}),a("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]}))});y.propTypes={color:m.string,size:m.oneOfType([m.string,m.number])};y.displayName="Search";var oe=y;const re="_RuleSearch_muvsu_1",te="_RuleSearchContainer_muvsu_10",ae="_inputWrapper_muvsu_20",ne="_input_muvsu_20",se="_iconWrapper_muvsu_45";var u={RuleSearch:re,RuleSearchContainer:te,inputWrapper:ae,input:ne,iconWrapper:se};function ce({dispatch:e,searchText:r,updateSearchText:o}){const[s,t]=_.exports.useState(r),n=_.exports.useCallback(i=>{e(o(i))},[e,o]),p=_.exports.useMemo(()=>Y(n,300),[n]),h=i=>{t(i.target.value),p(i.target.value)};return a("div",{className:u.RuleSearch,children:l("div",{className:u.RuleSearchContainer,children:[a("div",{className:u.inputWrapper,children:a("input",{type:"text",value:s,onChange:h,className:u.input})}),a("div",{className:u.iconWrapper,children:a(oe,{size:20})})]})})}const le=e=>({searchText:j(e),updateSearchText:I});var ie=R(le)(ce);const pe="_logMeta_pycfb_1",ge="_logType_pycfb_8",ue="_logTime_pycfb_17",he="_logText_pycfb_22",de="_logsWrapper_pycfb_37",fe="_logPlaceholder_pycfb_54",me="_logPlaceholderIcon_pycfb_67";var c={logMeta:pe,logType:ge,logTime:ue,logText:he,logsWrapper:de,logPlaceholder:fe,logPlaceholderIcon:me};const{useCallback:S,useEffect:_e}=E,P=30,ve={debug:"#389d3d",info:"#58c3f2",warning:"#cc5abb",error:"#c11c1c"},ye={debug:"debug",info:"info",warning:"warn",error:"error"};function be({time:e,payload:r,type:o}){return l("div",{className:c.logMeta,children:[a("span",{className:c.logTime,children:e}),l("span",{className:c.logType,style:{color:ve[o]},children:["[ ",ye[o]," ]"]}),a("span",{className:c.logText,children:r})]})}function xe({dispatch:e,logLevel:r,apiConfig:o,logs:s,logStreamingPaused:t}){const n=O(),p=S(()=>{t?V(f(g({},o),{logLevel:r})):Q(),n.app.updateAppConfig("logStreamingPaused",!t)},[o,r,t,n.app]),h=S(v=>e(z(v)),[e]);_e(()=>{U(f(g({},o),{logLevel:r}),h)},[o,r,h]);const[i,b]=q(),{t:d}=M();return l("div",{children:[a($,{title:d("Logs")}),a(ie,{}),a("div",{ref:i,children:s.length===0?l("div",{className:c.logPlaceholder,style:{height:b-P*2},children:[a("div",{className:c.logPlaceholderIcon,children:a(A,{width:200,height:200})}),a("div",{children:d("no_logs")})]}):l("div",{className:c.logsWrapper,style:{height:b-P*2},children:[s.map((v,w)=>a("div",{className:"",children:a(be,g({},v))},w)),a(G,{icon:t?a(K,{size:16}):a(X,{size:16}),mainButtonStyles:t?{background:"#e74c3c"}:{},style:J,text:d(t?"Resume Refresh":"Pause Refresh"),onClick:p})]})})]})}const Te=e=>({logs:B(e),logLevel:F(e),apiConfig:H(e),logStreamingPaused:D(e)});var Ce=R(Te)(xe);export{Ce as default}; diff --git a/bin/Yacd-meta-gh-pages/assets/Proxies.8acf6f55.js b/bin/Yacd-meta-gh-pages/assets/Proxies.8acf6f55.js deleted file mode 100644 index 9d83214e..00000000 --- a/bin/Yacd-meta-gh-pages/assets/Proxies.8acf6f55.js +++ /dev/null @@ -1 +0,0 @@ -var $e=Object.defineProperty,ze=Object.defineProperties;var Fe=Object.getOwnPropertyDescriptors;var ee=Object.getOwnPropertySymbols;var je=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable;var te=(e,t,n)=>t in e?$e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,I=(e,t)=>{for(var n in t||(t={}))je.call(t,n)&&te(e,n,t[n]);if(ee)for(var n of ee(t))Ie.call(t,n)&&te(e,n,t[n]);return e},B=(e,t)=>ze(e,Fe(t));import{r as b,j as s,P as E,b as d,B as g,h as m,W as Be,c as k,X as qe,Y as de,Z as he,d as x,_ as He,F as D,$ as We,a0 as fe,a1 as V,A as Ge,w as $,a2 as Ue,a3 as Ve,a4 as G,a5 as Ke,a6 as pe,a7 as K,a8 as Z,H as Ze,a9 as Ye,aa as Xe,u as Y,ab as Qe,ac as ve,R as Je,ad as et,g as ye,C as me,D as ne,ae as tt,m as re,M as nt,af as rt,ag as ot,ah as st,ai as it}from"./index.1ca2d13d.js";import{C as at}from"./chevron-down.35424756.js";import{F as ct,p as lt,A as ut,I as dt}from"./Fab.d363c2c3.js";import{R as ht,T as ft}from"./TextFitler.eb6072d2.js";import{f as pt}from"./index.cd34981b.js";import{R as vt}from"./rotate-cw.a7721ea7.js";import{S as yt}from"./Select.763fb4e2.js";import"./debounce.d080d5e1.js";function mt(e,t){if(e==null)return{};var n=_t(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function _t(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}var X=b.exports.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=e.size,i=o===void 0?24:o,a=mt(e,["color","size"]);return s("svg",B(I({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),{children:s("polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2"})}))});X.propTypes={color:E.string,size:E.oneOfType([E.string,E.number])};X.displayName="Zap";var L=X;const bt="_FlexCenter_1380a_1";var gt={FlexCenter:bt};function wt({children:e}){return s("div",{className:gt.FlexCenter,children:e})}const{useRef:oe,useEffect:xt}=m;function Ct({onClickPrimaryButton:e,onClickSecondaryButton:t}){const n=oe(null),r=oe(null);return xt(()=>{n.current.focus()},[]),d("div",{onKeyDown:i=>{i.keyCode===39?r.current.focus():i.keyCode===37&&n.current.focus()},children:[s("h2",{children:"Close Connections?"}),s("p",{children:'Click "Yes" to close those connections that are still using the old selected proxy in this group'}),s("div",{style:{height:30}}),d(wt,{children:[s(g,{onClick:e,ref:n,children:"Yes"}),s("div",{style:{width:20}}),s(g,{onClick:t,ref:r,children:"No"})]})]})}const Ot="_header_1y9js_1",Pt="_arrow_1y9js_8",kt="_isOpen_1y9js_13",St="_btn_1y9js_20",Et="_qty_1y9js_25";var C={header:Ot,arrow:Pt,isOpen:kt,btn:St,qty:Et};function _e({name:e,type:t,toggle:n,isOpen:r,qty:o}){const i=b.exports.useCallback(a=>{a.preventDefault(),(a.key==="Enter"||a.key===" ")&&n()},[n]);return d("div",{className:C.header,onClick:n,style:{cursor:"pointer"},tabIndex:0,onKeyDown:i,role:"button",children:[s("div",{children:s(Be,{name:e,type:t})}),typeof o=="number"?s("span",{className:C.qty,children:o}):null,s(g,{kind:"minimal",onClick:n,className:C.btn,title:"Toggle collapsible section",children:s("span",{className:k(C.arrow,{[C.isOpen]:r}),children:s(at,{size:20})})})]})}const{useMemo:Rt}=m;function At(e,t){return e.filter(n=>{const r=t[n];return r===void 0?!0:r.number!==0})}const R=(e,t)=>{if(e&&typeof e.number=="number"&&e.number>0)return e.number;const n=t&&t.type;return n&&he.indexOf(n)>-1?-1:999999},Tt={Natural:e=>e,LatencyAsc:(e,t,n)=>e.sort((r,o)=>{const i=R(t[r],n&&n[r]),a=R(t[o],n&&n[o]);return i-a}),LatencyDesc:(e,t,n)=>e.sort((r,o)=>{const i=R(t[r],n&&n[r]);return R(t[o],n&&n[o])-i}),NameAsc:e=>e.sort(),NameDesc:e=>e.sort((t,n)=>t>n?-1:tr.trim()).filter(r=>!!r);return n.length===0?e:e.filter(r=>{let o=0;for(;o-1)return!0}return!1})}function Nt(e,t,n,r,o,i){let a=[...e];return n&&(a=At(e,t)),typeof r=="string"&&r!==""&&(a=Lt(a,r)),Tt[o](a,t,i)}function be(e,t,n,r,o){const[i]=qe(de);return Rt(()=>Nt(e,t,n,i,r,o),[e,t,n,i,r,o])}const Mt="_header_1g0y5_1",Dt="_zapWrapper_1g0y5_5";var ge={header:Mt,zapWrapper:Dt};const we={Right:39,Left:37,Enter:13,Space:32},$t="_proxy_1j7mi_1",zt="_now_1j7mi_25",Ft="_error_1j7mi_29",jt="_selectable_1j7mi_32",It="_proxyType_1j7mi_40",Bt="_row_1j7mi_51",qt="_proxyName_1j7mi_57",Ht="_proxySmall_1j7mi_71";var y={proxy:$t,now:zt,error:Ft,selectable:jt,proxyType:It,row:Bt,proxyName:qt,proxySmall:Ht};const Wt="_proxyLatency_1sj9a_1";var Gt={proxyLatency:Wt};function Ut({number:e,color:t}){return s("span",{className:Gt.proxyLatency,style:{color:t},children:d("span",{children:[e," ms"]})})}const{useMemo:P}=m,O={good:"#67c23a",normal:"#d4b75c",bad:"#e67f3c",na:"#909399"};function xe({number:e}={}){return e===0?O.na:e<200?O.good:e<400?O.normal:typeof e=="number"?O.bad:O.na}function Vt(e,t){return he.indexOf(t)>-1?"linear-gradient(135deg, white 15%, #999 15% 30%, white 30% 45%, #999 45% 60%, white 60% 75%, #999 75% 90%, white 90% 100%)":xe(e)}function Kt({now:e,name:t,proxy:n,latency:r,isSelectable:o,onClick:i}){const a=P(()=>Vt(r,n.type),[r,n]),c=P(()=>{let f=t;return r&&typeof r.number=="number"&&(f+=" "+r.number+" ms"),f},[t,r]),l=b.exports.useCallback(()=>{o&&i&&i(t)},[t,i,o]),u=P(()=>k(y.proxySmall,{[y.now]:e,[y.selectable]:o}),[o,e]),h=b.exports.useCallback(f=>{f.keyCode===we.Enter&&l()},[l]);return s("div",{title:c,className:u,style:{background:a},onClick:l,onKeyDown:h,role:o?"menuitem":""})}function Zt(e){return e==="Shadowsocks"?"SS":e}const Yt=e=>({left:e.left+window.scrollX-5,top:e.top+window.scrollY-38});function Xt({children:e,label:t,"aria-label":n}){const[r,o]=He();return d(D,{children:[b.exports.cloneElement(e,r),s(We,B(I({},o),{label:t,"aria-label":n,position:Yt}))]})}function Qt({now:e,name:t,proxy:n,latency:r,isSelectable:o,onClick:i}){const a=P(()=>xe(r),[r]),c=b.exports.useCallback(()=>{o&&i&&i(t)},[t,i,o]),l=b.exports.useCallback(h=>{h.keyCode===we.Enter&&c()},[c]),u=P(()=>k(y.proxy,{[y.now]:e,[y.error]:r&&r.error,[y.selectable]:o}),[o,e,r]);return d("div",{tabIndex:0,className:u,onClick:c,onKeyDown:l,role:o?"menuitem":"",children:[s("div",{className:y.proxyName,children:s(Xt,{label:t,"aria-label":"proxy name: "+t,children:s("span",{children:t})})}),d("div",{className:y.row,children:[s("span",{className:y.proxyType,style:{opacity:e?.6:.2},children:Zt(n.type)}),r&&r.number?s(Ut,{number:r.number,color:a}):null]})]})}const Ce=(e,{name:t})=>{const n=fe(e),r=V(e);return{proxy:n[t],latency:r[t]}},Jt=x(Ce)(Qt),en=x(Ce)(Kt),tn="_list_10y5m_1",nn="_listSummaryView_10y5m_8";var Oe={list:tn,listSummaryView:nn};function Pe({all:e,now:t,isSelectable:n,itemOnTapCallback:r}){const o=e;return s("div",{className:Oe.list,children:o.map(i=>s(Jt,{onClick:r,isSelectable:n,name:i,now:i===t},i))})}function ke({all:e,now:t,isSelectable:n,itemOnTapCallback:r}){return s("div",{className:Oe.listSummaryView,children:e.map(o=>s(en,{onClick:r,isSelectable:n,name:o,now:o===t},o))})}const{createElement:rn,useCallback:q,useMemo:on,useState:sn}=m;function an(){return s("div",{className:ge.zapWrapper,children:s(L,{size:16})})}function cn({name:e,all:t,delay:n,hideUnavailableProxies:r,proxySortBy:o,proxies:i,type:a,now:c,isOpen:l,apiConfig:u,dispatch:h}){const f=be(t,n,r,o,i),{data:p}=Ge(["/version",u],()=>Ze("/version",u)),_=on(()=>["Selector",p.meta&&"Fallback"].includes(a),[a,p.meta]),{app:{updateCollapsibleIsOpen:v}}=$(),S=q(()=>{v("proxyGroup",e,!l)},[l,v,e]),F=q(J=>{!_||h(Ue(u,e,J))},[u,h,e,_]),[j,Q]=sn(!1),De=q(async()=>{Q(!0);try{p.meta==!0?(await Ve(u,e),await h(G(u))):(await Ke(u,f),await h(G(u)))}catch{}Q(!1)},[f,u,h,e,p.meta]);return d("div",{className:ge.group,children:[d("div",{style:{display:"flex",alignItems:"center"},children:[s(_e,{name:e,type:a,toggle:S,qty:f.length,isOpen:l}),s(g,{title:"Test latency",kind:"minimal",onClick:De,isLoading:j,children:s(an,{})})]}),rn(l?Pe:ke,{all:f,now:c,isSelectable:_,itemOnTapCallback:F})]})}const ln=x((e,{name:t,delay:n})=>{const r=fe(e),o=pe(e),i=K(e),a=Z(e),c=r[t],{all:l,type:u,now:h}=c;return{all:l,delay:n,hideUnavailableProxies:a,proxySortBy:i,proxies:r,type:u,now:h,isOpen:o[`proxyGroup:${t}`]}})(cn),{useCallback:Se,useState:un}=m;function dn({dispatch:e,apiConfig:t,name:n}){return Se(()=>e(Ye(t,n)),[t,e,n])}function hn({dispatch:e,apiConfig:t,names:n}){const[r,o]=un(!1);return[Se(async()=>{if(!r){o(!0);try{await e(Xe(t,n))}catch{}o(!1)}},[t,e,n,r]),r]}const{useState:fn,useCallback:pn}=m;function vn({isLoading:e}){return e?s(dt,{children:s(L,{width:16,height:16})}):s(L,{width:16,height:16})}function yn({dispatch:e,apiConfig:t}){const[n,r]=fn(!1);return[pn(()=>{n||(r(!0),e(Qe(t)).then(()=>r(!1),()=>r(!1)))},[t,e,n]),n]}function mn({dispatch:e,apiConfig:t,proxyProviders:n}){const{t:r}=Y(),[o,i]=yn({dispatch:e,apiConfig:t}),[a,c]=hn({apiConfig:t,dispatch:e,names:n.map(l=>l.name)});return s(ct,{icon:s(vn,{isLoading:i}),onClick:o,text:r("Test Latency"),style:lt,children:n.length>0?s(ut,{text:r("update_all_proxy_provider"),onClick:a,children:s(ht,{isRotating:c})}):null})}var Ee=function(){if(typeof Map!="undefined")return Map;function e(t,n){var r=-1;return t.some(function(o,i){return o[0]===n?(r=i,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),o=this.__entries__[r];return o&&o[1]},t.prototype.set=function(n,r){var o=e(this.__entries__,n);~o?this.__entries__[o][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,o=e(r,n);~o&&r.splice(o,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var o=0,i=this.__entries__;o0},e.prototype.connect_=function(){!U||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Cn?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!U||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,o=xn.some(function(i){return!!~r.indexOf(i)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Re=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),Te=typeof WeakMap!="undefined"?new WeakMap:new Ee,Le=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=On.getInstance(),r=new Mn(t,n,this);Te.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Le.prototype[e]=function(){var t;return(t=Te.get(this))[e].apply(t,arguments)}});var Dn=function(){return typeof N.ResizeObserver!="undefined"?N.ResizeObserver:Le}();const{memo:$n,useState:zn,useRef:Ne,useEffect:Me}=Je;function Fn(e){const t=Ne();return Me(()=>void(t.current=e),[e]),t.current}function jn(){const e=Ne(),[t,n]=zn({height:0});return Me(()=>{const r=new Dn(([o])=>n(o.contentRect));return e.current&&r.observe(e.current),()=>r.disconnect()},[]),[e,t]}const In={initialOpen:{height:"auto",transition:{duration:0}},open:e=>({height:e,opacity:1,visibility:"visible",transition:{duration:.3}}),closed:{height:0,opacity:0,visibility:"hidden",transition:{duration:.3}}},Bn={open:{x:0},closed:{x:20}},ie=$n(({children:e,isOpen:t})=>{const r=ve.read().motion,o=Fn(t),[i,{height:a}]=jn();return s("div",{children:s(r.div,{animate:t&&o===t?"initialOpen":t?"open":"closed",custom:a,variants:In,children:s(r.div,{variants:Bn,ref:i,children:e})})})}),qn="_updatedAt_1ql33_1",Hn="_body_1ql33_8",Wn="_actionFooter_1ql33_17",Gn="_refresh_1ql33_27";var T={updatedAt:qn,body:Hn,actionFooter:Wn,refresh:Gn};const{useState:Un,useCallback:ae}=m;function Vn({name:e,proxies:t,delay:n,hideUnavailableProxies:r,proxySortBy:o,vehicleType:i,updatedAt:a,isOpen:c,dispatch:l,apiConfig:u}){const h=be(t,n,r,o),[f,p]=Un(!1),_=dn({dispatch:l,apiConfig:u,name:e}),v=ae(async()=>{p(!0),await l(et(u,e)),p(!1)},[u,l,e,p]),{app:{updateCollapsibleIsOpen:S}}=$(),F=ae(()=>{S("proxyProvider",e,!c)},[c,S,e]),j=pt(new Date(a),new Date);return d("div",{className:T.body,children:[s(_e,{name:e,toggle:F,type:i,isOpen:c,qty:h.length}),s("div",{className:T.updatedAt,children:d("small",{children:["Updated ",j," ago"]})}),d(ie,{isOpen:c,children:[s(Pe,{all:h}),d("div",{className:T.actionFooter,children:[s(g,{text:"Update",start:s(Yn,{}),onClick:_}),s(g,{text:"Health Check",start:s(L,{size:16}),onClick:v,isLoading:f})]})]}),s(ie,{isOpen:!c,children:s(ke,{all:h})})]})}const Kn={rest:{scale:1},pressed:{scale:.95}},Zn={rest:{rotate:0},hover:{rotate:360,transition:{duration:.3}}};function Yn(){const t=ve.read().motion;return s(t.div,{className:T.refresh,variants:Kn,initial:"rest",whileHover:"hover",whileTap:"pressed",children:s(t.div,{className:"flexCenter",variants:Zn,children:s(vt,{size:16})})})}const Xn=(e,{proxies:t,name:n})=>{const r=Z(e),o=V(e),i=pe(e),a=ye(e),c=K(e);return{apiConfig:a,proxies:t,delay:o,hideUnavailableProxies:r,proxySortBy:c,isOpen:i[`proxyProvider:${n}`]}},Qn=x(Xn)(Vn);function Jn({items:e}){return e.length===0?null:d(D,{children:[s(me,{title:"Proxy Provider"}),s("div",{children:e.map(t=>s(Qn,{name:t.name,proxies:t.proxies,type:t.type,vehicleType:t.vehicleType,updatedAt:t.updatedAt},t.name))})]})}const er="_labeledInput_cmki0_1";var H={labeledInput:er};const tr=[["Natural","order_natural"],["LatencyAsc","order_latency_asc"],["LatencyDesc","order_latency_desc"],["NameAsc","order_name_asc"],["NameDesc","order_name_desc"]],{useCallback:ce}=m;function nr({appConfig:e}){const{app:{updateAppConfig:t}}=$(),n=ce(i=>{t("proxySortBy",i.target.value)},[t]),r=ce(i=>{t("hideUnavailableProxies",i)},[t]),{t:o}=Y();return d(D,{children:[d("div",{className:H.labeledInput,children:[s("span",{children:o("sort_in_grp")}),s("div",{children:s(yt,{options:tr.map(i=>[i[0],o(i[1])]),selected:e.proxySortBy,onChange:n})})]}),s("hr",{}),d("div",{className:H.labeledInput,children:[s("span",{children:o("hide_unavail_proxies")}),s("div",{children:s(ne,{name:"hideUnavailableProxies",checked:e.hideUnavailableProxies,onChange:r})})]}),d("div",{className:H.labeledInput,children:[s("span",{children:o("auto_close_conns")}),s("div",{children:s(ne,{name:"autoCloseOldConns",checked:e.autoCloseOldConns,onChange:i=>t("autoCloseOldConns",i)})})]})]})}const rr=e=>{const t=K(e),n=Z(e),r=tt(e);return{appConfig:{proxySortBy:t,hideUnavailableProxies:n,autoCloseOldConns:r}}};var or=x(rr)(nr);const sr="_overlay_uuk3b_1",ir="_cnt_uuk3b_5",ar="_afterOpen_uuk3b_16";var W={overlay:sr,cnt:ir,afterOpen:ar};const{useMemo:cr}=m;function le({isOpen:e,onRequestClose:t,children:n}){const r=cr(()=>({base:k(re.content,W.cnt),afterOpen:W.afterOpen,beforeClose:""}),[]);return s(nt,{isOpen:e,onRequestClose:t,className:r,overlayClassName:k(re.overlay,W.overlay),children:n})}function lr({color:e="currentColor",size:t=24}){return d("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[s("path",{d:"M2 6h9M18.5 6H22"}),s("circle",{cx:"16",cy:"6",r:"2"}),s("path",{d:"M22 18h-9M6 18H2"}),s("circle",{r:"2",transform:"matrix(-1 0 0 1 8 18)"})]})}const ur="_topBar_jgy4z_1",dr="_topBarRight_jgy4z_13",hr="_textFilterContainer_jgy4z_22",fr="_group_jgy4z_29";var A={topBar:ur,topBarRight:dr,textFilterContainer:hr,group:fr};const{useState:pr,useEffect:vr,useCallback:ue,useRef:yr}=m;function mr({dispatch:e,groupNames:t,delay:n,proxyProviders:r,apiConfig:o,showModalClosePrevConns:i}){const a=yr({}),c=ue(()=>{a.current.startAt=Date.now(),e(G(o)).then(()=>{a.current.completeAt=Date.now()})},[o,e]);vr(()=>{c();const v=()=>{a.current.startAt&&Date.now()-a.current.startAt>3e4&&c()};return window.addEventListener("focus",v,!1),()=>window.removeEventListener("focus",v,!1)},[c]);const[l,u]=pr(!1),h=ue(()=>{u(!1)},[]),{proxies:{closeModalClosePrevConns:f,closePrevConnsAndTheModal:p}}=$(),{t:_}=Y();return d(D,{children:[s(le,{isOpen:l,onRequestClose:h,children:s(or,{})}),d("div",{className:A.topBar,children:[s(me,{title:_("Proxies")}),d("div",{className:A.topBarRight,children:[s("div",{className:A.textFilterContainer,children:s(ft,{textAtom:de})}),s(rt,{label:_("settings"),children:s(g,{kind:"minimal",onClick:()=>u(!0),children:s(lr,{size:16})})})]})]}),s("div",{children:t.map(v=>s("div",{className:A.group,children:s(ln,{name:v,delay:n,apiConfig:o,dispatch:e})},v))}),s(Jn,{items:r}),s("div",{style:{height:60}}),s(mn,{dispatch:e,apiConfig:o,proxyProviders:r}),s(le,{isOpen:i,onRequestClose:f,children:s(Ct,{onClickPrimaryButton:()=>p(o),onClickSecondaryButton:f})})]})}const _r=e=>({apiConfig:ye(e),groupNames:ot(e),proxyProviders:st(e),delay:V(e),showModalClosePrevConns:it(e)});var Er=x(_r)(mr);export{Er as default}; diff --git a/bin/Yacd-meta-gh-pages/assets/Proxies.9aa0ff44.css b/bin/Yacd-meta-gh-pages/assets/Proxies.9aa0ff44.css deleted file mode 100644 index a16a4c91..00000000 --- a/bin/Yacd-meta-gh-pages/assets/Proxies.9aa0ff44.css +++ /dev/null @@ -1 +0,0 @@ -._FlexCenter_1380a_1{display:flex;justify-content:center;align-items:center}._header_1y9js_1{display:flex;align-items:center}._header_1y9js_1:focus{outline:none}._header_1y9js_1 ._arrow_1y9js_8{display:inline-flex;-webkit-transform:rotate(0deg);transform:rotate(0);transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}._header_1y9js_1 ._arrow_1y9js_8._isOpen_1y9js_13{-webkit-transform:rotate(180deg);transform:rotate(180deg)}._header_1y9js_1 ._arrow_1y9js_8:focus{outline:var(--color-focus-blue) solid 1px}._btn_1y9js_20{margin-left:5px}._qty_1y9js_25{font-family:var(--font-normal);font-size:.75em;margin-left:3px;padding:2px 7px;display:inline-flex;justify-content:center;align-items:center;background-color:var(--bg-near-transparent);border-radius:30px}._header_1g0y5_1{margin-bottom:12px}._zapWrapper_1g0y5_5{width:20px;height:20px;display:flex;align-items:center;justify-content:center}._proxy_1j7mi_1{margin:3px;padding:5px;position:relative;border-radius:8px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;outline:none;border:1px solid transparent;max-width:200px;background-color:var(--color-bg-proxy)}._proxy_1j7mi_1:focus{border:1px solid var(--color-focus-blue)}@media screen and (min-width: 30em){._proxy_1j7mi_1{min-width:200px;border-radius:10px;padding:10px}}._proxy_1j7mi_1._now_1j7mi_25{background-color:var(--color-focus-blue);color:#ddd}._proxy_1j7mi_1._error_1j7mi_29{opacity:.5}._proxy_1j7mi_1._selectable_1j7mi_32{transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;cursor:pointer}._proxy_1j7mi_1._selectable_1j7mi_32:hover{border-color:hsl(0deg,0%,var(--card-hover-border-lightness))}._proxyType_1j7mi_40{font-family:var(--font-mono);font-size:.6em;margin-right:3px}@media screen and (min-width: 30em){._proxyType_1j7mi_40{font-size:.7em}}._row_1j7mi_51{display:flex;align-items:center;justify-content:space-between}._proxyName_1j7mi_57{width:100%;margin-bottom:5px;font-size:.85em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media screen and (min-width: 30em){._proxyName_1j7mi_57{font-size:.85em}}._proxySmall_1j7mi_71{width:11px;height:11px;border-radius:50%;border:1px solid var(--color-background)}._proxySmall_1j7mi_71._now_1j7mi_25{border-color:var(--color-text-secondary)}._proxySmall_1j7mi_71._selectable_1j7mi_32{transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out;cursor:pointer}._proxySmall_1j7mi_71._selectable_1j7mi_32:hover{-webkit-transform:scale(1.2);transform:scale(1.2)}._proxyLatency_1sj9a_1{border-radius:20px;color:#eee;font-size:.6em}@media screen and (min-width: 30em){._proxyLatency_1sj9a_1{font-size:.7em}}._list_10y5m_1{display:flex;flex-wrap:wrap;margin:8px 0 8px -3px}._listSummaryView_10y5m_8{margin:8px 0;display:grid;grid-template-columns:repeat(auto-fill,13px);grid-gap:10px}._updatedAt_1ql33_1{margin-bottom:12px}._updatedAt_1ql33_1 small{color:#777}._body_1ql33_8{padding:10px 15px}@media screen and (min-width: 30em){._body_1ql33_8{padding:10px 40px}}._actionFooter_1ql33_17{display:flex}._actionFooter_1ql33_17 button{margin:0 5px}._actionFooter_1ql33_17 button:first-child{margin-left:0}._refresh_1ql33_27{display:flex;justify-content:center;align-items:center;cursor:pointer}._labeledInput_cmki0_1{max-width:85vw;width:400px;display:flex;justify-content:space-between;align-items:center;font-size:13px;padding:13px 0}hr{height:1px;background-color:var(--color-separator);border:none;outline:none;margin:1rem 0px}._overlay_uuk3b_1{background-color:#0009}._cnt_uuk3b_5{position:absolute;background-color:var(--bg-modal);color:var(--color-text);line-height:1.4;opacity:.6;transition:all .3s ease;-webkit-transform:translate(-50%,-50%) scale(1.2);transform:translate(-50%,-50%) scale(1.2);box-shadow:#0000001f 0 4px 4px,#0000003d 0 16px 32px}._afterOpen_uuk3b_16{opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}._topBar_jgy4z_1{position:-webkit-sticky;position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;z-index:1;background-color:var(--color-background2);-webkit-backdrop-filter:blur(36px);backdrop-filter:blur(36px)}._topBarRight_jgy4z_13{display:flex;align-items:center;flex-wrap:wrap;flex:1;justify-content:flex-end;margin-right:20px}._textFilterContainer_jgy4z_22{max-width:350px;min-width:150px;flex:1;margin-right:8px}._group_jgy4z_29{padding:10px 15px}@media screen and (min-width: 30em){._group_jgy4z_29{padding:10px 40px}} diff --git a/bin/Yacd-meta-gh-pages/assets/Rules.9a6bd403.css b/bin/Yacd-meta-gh-pages/assets/Rules.9a6bd403.css deleted file mode 100644 index ce7a369d..00000000 --- a/bin/Yacd-meta-gh-pages/assets/Rules.9a6bd403.css +++ /dev/null @@ -1 +0,0 @@ -._RuleProviderItem_ly9yn_1{display:grid;grid-template-columns:40px 1fr 46px;height:100%}._left_ly9yn_7{display:inline-flex;align-items:center;color:var(--color-text-secondary);opacity:.4}._middle_ly9yn_14{display:grid;grid-template-rows:1fr auto auto;align-items:center}._gray_ly9yn_20{color:#777}._refreshButtonWrapper_ly9yn_24{display:grid;place-items:center;opacity:0;transition:opacity .2s}._RuleProviderItem_ly9yn_1:hover ._refreshButtonWrapper_ly9yn_24{opacity:1}._rule_14p9p_1{display:flex;align-items:center;padding:6px 15px}@media screen and (min-width: 30em){._rule_14p9p_1{padding:10px 40px}}._left_14p9p_12{width:40px;padding-right:15px;color:var(--color-text-secondary);opacity:.4}._a_14p9p_19{display:flex;align-items:center;font-size:12px;opacity:.8}._b_14p9p_26{padding:10px 0;font-family:Roboto Mono,Menlo,monospace;font-size:12px}@media screen and (min-width: 30em){._b_14p9p_26{font-size:12px}}._type_14p9p_37{width:110px;color:#3b5f76}._header_1j1w3_1{display:grid;grid-template-columns:1fr minmax(auto,330px);align-items:center;padding-right:15px}@media screen and (min-width: 30em){._header_1j1w3_1{padding-right:40px}}._RuleProviderItemWrapper_1j1w3_17{padding:6px 15px}@media screen and (min-width: 30em){._RuleProviderItemWrapper_1j1w3_17{padding:10px 40px}} diff --git a/bin/Yacd-meta-gh-pages/assets/Rules.c899c6cc.js b/bin/Yacd-meta-gh-pages/assets/Rules.c899c6cc.js deleted file mode 100644 index dc8ad0c4..00000000 --- a/bin/Yacd-meta-gh-pages/assets/Rules.c899c6cc.js +++ /dev/null @@ -1 +0,0 @@ -var Oe=Object.defineProperty,Te=Object.defineProperties;var Ce=Object.getOwnPropertyDescriptors;var G=Object.getOwnPropertySymbols;var we=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable;var J=(r,e,t)=>e in r?Oe(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,w=(r,e)=>{for(var t in e||(e={}))we.call(e,t)&&J(r,t,e[t]);if(G)for(var t of G(e))xe.call(e,t)&&J(r,t,e[t]);return r},U=(r,e)=>Te(r,Ce(e));import{aj as ae,ak as F,al as ze,am as oe,an as Ne,R as N,ao as Pe,ap as q,aq as Ee,ar as ke,as as X,r as D,K as j,at as Ae,A as le,X as Le,b as C,j as p,W as De,B as Fe,u as ue,d as We,g as Ue,C as $e}from"./index.1ca2d13d.js";import{R as ce,T as Be}from"./TextFitler.eb6072d2.js";import{f as qe}from"./index.cd34981b.js";import{F as je,p as He}from"./Fab.d363c2c3.js";import{u as Ke}from"./useRemainingViewPortHeight.a89bff9d.js";import"./rotate-cw.a7721ea7.js";import"./debounce.d080d5e1.js";function Z(r,e){if(r==null)return{};var t={},i=Object.keys(r),n,s;for(s=0;s=0)&&(t[n]=r[n]);return t}var Qe=function(r){ae(e,r);function e(i,n){var s;return s=r.call(this)||this,s.client=i,s.setOptions(n),s.bindMethods(),s.updateResult(),s}var t=e.prototype;return t.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},t.setOptions=function(n){this.options=this.client.defaultMutationOptions(n)},t.onUnsubscribe=function(){if(!this.listeners.length){var n;(n=this.currentMutation)==null||n.removeObserver(this)}},t.onMutationUpdate=function(n){this.updateResult();var s={listeners:!0};n.type==="success"?s.onSuccess=!0:n.type==="error"&&(s.onError=!0),this.notify(s)},t.getCurrentResult=function(){return this.currentResult},t.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},t.mutate=function(n,s){return this.mutateOptions=s,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,F({},this.options,{variables:typeof n!="undefined"?n:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},t.updateResult=function(){var n=this.currentMutation?this.currentMutation.state:ze(),s=F({},n,{isLoading:n.status==="loading",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset});this.currentResult=s},t.notify=function(n){var s=this;oe.batch(function(){s.mutateOptions&&(n.onSuccess?(s.mutateOptions.onSuccess==null||s.mutateOptions.onSuccess(s.currentResult.data,s.currentResult.variables,s.currentResult.context),s.mutateOptions.onSettled==null||s.mutateOptions.onSettled(s.currentResult.data,null,s.currentResult.variables,s.currentResult.context)):n.onError&&(s.mutateOptions.onError==null||s.mutateOptions.onError(s.currentResult.error,s.currentResult.variables,s.currentResult.context),s.mutateOptions.onSettled==null||s.mutateOptions.onSettled(void 0,s.currentResult.error,s.currentResult.variables,s.currentResult.context))),n.listeners&&s.listeners.forEach(function(o){o(s.currentResult)})})},e}(Ne);function de(r,e,t){var i=N.useRef(!1),n=N.useState(0),s=n[1],o=Pe(r,e,t),d=q(),c=N.useRef();c.current?c.current.setOptions(o):c.current=new Qe(d,o);var v=c.current.getCurrentResult();N.useEffect(function(){i.current=!0;var _=c.current.subscribe(oe.batchCalls(function(){i.current&&s(function(M){return M+1})}));return function(){i.current=!1,_()}},[]);var R=N.useCallback(function(_,M){c.current.mutate(_,M).catch(Ee)},[]);if(v.error&&ke(void 0,c.current.options.useErrorBoundary,[v.error]))throw v.error;return F({},v,{mutate:R,mutateAsync:v.mutate})}var Y=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function Ve(r,e){return!!(r===e||Y(r)&&Y(e))}function Ge(r,e){if(r.length!==e.length)return!1;for(var t=0;t=e?r.call(null):n.id=requestAnimationFrame(i)}var n={id:requestAnimationFrame(i)};return n}var x=null;function re(r){if(r===void 0&&(r=!1),x===null||r){var e=document.createElement("div"),t=e.style;t.width="50px",t.height="50px",t.overflow="scroll",t.direction="rtl";var i=document.createElement("div"),n=i.style;return n.width="100px",n.height="100px",e.appendChild(i),document.body.appendChild(e),e.scrollLeft>0?x="positive-descending":(e.scrollLeft=1,e.scrollLeft===0?x="negative":x="positive-ascending"),document.body.removeChild(e),x}return x}var Ze=150,Ye=function(e,t){return e};function et(r){var e,t=r.getItemOffset,i=r.getEstimatedTotalSize,n=r.getItemSize,s=r.getOffsetForIndexAndAlignment,o=r.getStartIndexForOffset,d=r.getStopIndexForStartIndex,c=r.initInstanceProps,v=r.shouldResetStyleCacheOnItemSizeChange,R=r.validateProps;return e=function(_){ae(M,_);function M(g){var a;return a=_.call(this,g)||this,a._instanceProps=c(a.props,X(a)),a._outerRef=void 0,a._resetIsScrollingTimeoutId=null,a.state={instance:X(a),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof a.props.initialScrollOffset=="number"?a.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},a._callOnItemsRendered=void 0,a._callOnItemsRendered=$(function(l,u,f,m){return a.props.onItemsRendered({overscanStartIndex:l,overscanStopIndex:u,visibleStartIndex:f,visibleStopIndex:m})}),a._callOnScroll=void 0,a._callOnScroll=$(function(l,u,f){return a.props.onScroll({scrollDirection:l,scrollOffset:u,scrollUpdateWasRequested:f})}),a._getItemStyle=void 0,a._getItemStyle=function(l){var u=a.props,f=u.direction,m=u.itemSize,y=u.layout,h=a._getItemStyleCache(v&&m,v&&y,v&&f),I;if(h.hasOwnProperty(l))I=h[l];else{var S=t(a.props,l,a._instanceProps),O=n(a.props,l,a._instanceProps),T=f==="horizontal"||y==="horizontal",A=f==="rtl",L=T?S:0;h[l]=I={position:"absolute",left:A?void 0:L,right:A?L:void 0,top:T?0:S,height:T?"100%":O,width:T?O:"100%"}}return I},a._getItemStyleCache=void 0,a._getItemStyleCache=$(function(l,u,f){return{}}),a._onScrollHorizontal=function(l){var u=l.currentTarget,f=u.clientWidth,m=u.scrollLeft,y=u.scrollWidth;a.setState(function(h){if(h.scrollOffset===m)return null;var I=a.props.direction,S=m;if(I==="rtl")switch(re()){case"negative":S=-m;break;case"positive-descending":S=y-f-m;break}return S=Math.max(0,Math.min(S,y-f)),{isScrolling:!0,scrollDirection:h.scrollOffset0)for(var E=Me;E<=be;E++)Q.push(D.exports.createElement(l,{data:O,key:A(E,O),index:E,isScrolling:Se?H:void 0,style:this._getItemStyle(E)}));var V=i(this.props,this._instanceProps);return D.exports.createElement(ge||Ie||"div",{className:u,onScroll:_e,ref:this._outerRefSetter,style:F({position:"relative",height:m,width:Re,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:f},ye)},D.exports.createElement(h||I||"div",{children:Q,ref:y,style:{height:W?"100%":V,pointerEvents:H?"none":void 0,width:W?V:"100%"}}))},b._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var a=this.props.itemCount;if(a>0){var l=this._getRangeToRender(),u=l[0],f=l[1],m=l[2],y=l[3];this._callOnItemsRendered(u,f,m,y)}}if(typeof this.props.onScroll=="function"){var h=this.state,I=h.scrollDirection,S=h.scrollOffset,O=h.scrollUpdateWasRequested;this._callOnScroll(I,S,O)}},b._getRangeToRender=function(){var a=this.props,l=a.itemCount,u=a.overscanCount,f=this.state,m=f.isScrolling,y=f.scrollDirection,h=f.scrollOffset;if(l===0)return[0,0,0,0];var I=o(this.props,h,this._instanceProps),S=d(this.props,I,h,this._instanceProps),O=!m||y==="backward"?Math.max(1,u):1,T=!m||y==="forward"?Math.max(1,u):1;return[Math.max(0,I-O),Math.max(0,Math.min(l-1,S+T)),I,S]},M}(D.exports.PureComponent),e.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},e}var tt=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},rt=50,P=function(e,t,i){var n=e,s=n.itemSize,o=i.itemMetadataMap,d=i.lastMeasuredIndex;if(t>d){var c=0;if(d>=0){var v=o[d];c=v.offset+v.size}for(var R=d+1;R<=t;R++){var _=s(R);o[R]={offset:c,size:_},c+=_}i.lastMeasuredIndex=t}return o[t]},nt=function(e,t,i){var n=t.itemMetadataMap,s=t.lastMeasuredIndex,o=s>0?n[s].offset:0;return o>=i?fe(e,t,s,0,i):it(e,t,Math.max(0,s),i)},fe=function(e,t,i,n,s){for(;n<=i;){var o=n+Math.floor((i-n)/2),d=P(e,o,t).offset;if(d===s)return o;ds&&(i=o-1)}return n>0?n-1:0},it=function(e,t,i,n){for(var s=e.itemCount,o=1;i=i&&(o=i-1),o>=0){var c=n[o];d=c.offset+c.size}var v=i-o-1,R=v*s;return d+R},st=et({getItemOffset:function(e,t,i){return P(e,t,i).offset},getItemSize:function(e,t,i){return i.itemMetadataMap[t].size},getEstimatedTotalSize:ne,getOffsetForIndexAndAlignment:function(e,t,i,n,s){var o=e.direction,d=e.height,c=e.layout,v=e.width,R=o==="horizontal"||c==="horizontal",_=R?v:d,M=P(e,t,s),b=ne(e,s),g=Math.max(0,Math.min(b-_,M.offset)),a=Math.max(0,M.offset-_+M.size);switch(i==="smart"&&(n>=a-_&&n<=g+_?i="auto":i="center"),i){case"start":return g;case"end":return a;case"center":return Math.round(a+(g-a)/2);case"auto":default:return n>=a&&n<=g?n:n=0,"there is no valid rules list in the rules API response"),r.rules.map((e,t)=>U(w({},e),{id:t}))}async function vt(r,e){let t={rules:[]};try{const{url:i,init:n}=j(e),s=await fetch(i+r,n);s.ok&&(t=await s.json())}catch(i){console.log("failed to fetch rules",i)}return ht(t)}const he=Ae({key:"ruleFilterText",default:""});function pt(r,e){const t=q(),{mutate:i,isLoading:n}=de(me,{onSuccess:()=>{t.invalidateQueries("/providers/rules")}});return[o=>{o.preventDefault(),i({name:r,apiConfig:e})},n]}function gt(r){const e=q(),{data:t}=ve(r),{mutate:i,isLoading:n}=de(dt,{onSuccess:()=>{e.invalidateQueries("/providers/rules")}});return[o=>{o.preventDefault(),i({names:t.names,apiConfig:r})},n]}function ve(r){return le(["/providers/rules",r],()=>ct("/providers/rules",r))}function It(r){const{data:e,isFetching:t}=le(["/rules",r],()=>vt("/rules",r)),{data:i}=ve(r),[n]=Le(he);if(n==="")return{rules:e,provider:i,isFetching:t};{const s=n.toLowerCase();return{rules:e.filter(o=>o.payload.toLowerCase().indexOf(s)>=0),isFetching:t,provider:{byName:i.byName,names:i.names.filter(o=>o.toLowerCase().indexOf(s)>=0)}}}}const yt="_RuleProviderItem_ly9yn_1",St="_left_ly9yn_7",Rt="_middle_ly9yn_14",_t="_gray_ly9yn_20",Mt="_refreshButtonWrapper_ly9yn_24";var z={RuleProviderItem:yt,left:St,middle:Rt,gray:_t,refreshButtonWrapper:Mt};function bt({idx:r,name:e,vehicleType:t,behavior:i,updatedAt:n,ruleCount:s,apiConfig:o}){const[d,c]=pt(e,o),v=qe(new Date(n),new Date);return C("div",{className:z.RuleProviderItem,children:[p("span",{className:z.left,children:r}),C("div",{className:z.middle,children:[p(De,{name:e,type:`${t} / ${i}`}),p("div",{className:z.gray,children:s<2?`${s} rule`:`${s} rules`}),C("small",{className:z.gray,children:["Updated ",v," ago"]})]}),p("span",{className:z.refreshButtonWrapper,children:p(Fe,{onClick:d,disabled:c,children:p(ce,{isRotating:c})})})]})}function Ot({apiConfig:r}){const[e,t]=gt(r),{t:i}=ue();return p(je,{icon:p(ce,{isRotating:t}),text:i("update_all_rule_provider"),style:He,onClick:e})}const Tt="_rule_14p9p_1",Ct="_left_14p9p_12",wt="_a_14p9p_19",xt="_b_14p9p_26",zt="_type_14p9p_37";var k={rule:Tt,left:Ct,a:wt,b:xt,type:zt};const B={_default:"#59caf9",DIRECT:"#f5bc41",REJECT:"#cb3166"};function Nt({proxy:r}){let e=B._default;return B[r]&&(e=B[r]),{color:e}}function Pt({type:r,payload:e,proxy:t,id:i}){const n=Nt({proxy:t});return C("div",{className:k.rule,children:[p("div",{className:k.left,children:i}),C("div",{children:[p("div",{className:k.b,children:e}),C("div",{className:k.a,children:[p("div",{className:k.type,children:r}),p("div",{style:n,children:t})]})]})]})}const Et="_header_1j1w3_1",kt="_RuleProviderItemWrapper_1j1w3_17";var pe={header:Et,RuleProviderItemWrapper:kt};const{memo:At}=N,se=30;function Lt(r,{rules:e,provider:t}){const i=t.names.length;return r{const{rules:i,provider:n,apiConfig:s}=t,o=n.names.length;if(r({apiConfig:Ue(r)});var Gt=We(Wt)(Ut);function Ut({apiConfig:r}){const[e,t]=Ke(),{rules:i,provider:n}=It(r),s=Dt({provider:n}),{t:o}=ue();return C("div",{children:[C("div",{className:pe.header,children:[p($e,{title:o("Rules")}),p(Be,{placeholder:"Filter",textAtom:he})]}),p("div",{ref:e,style:{paddingBottom:se},children:p(st,{height:t-se,width:"100%",itemCount:i.length+n.names.length,itemSize:s,itemData:{rules:i,provider:n,apiConfig:r},itemKey:Lt,children:Ft})}),n&&n.names&&n.names.length>0?p(Ot,{apiConfig:r}):null]})}export{Gt as default}; diff --git a/bin/Yacd-meta-gh-pages/assets/Select.38f9da49.css b/bin/Yacd-meta-gh-pages/assets/Select.38f9da49.css deleted file mode 100644 index 30e4e45d..00000000 --- a/bin/Yacd-meta-gh-pages/assets/Select.38f9da49.css +++ /dev/null @@ -1 +0,0 @@ -._select_gfkcv_1{height:35px;line-height:1.5;width:100%;font-size:small;padding-left:15px;-webkit-appearance:none;appearance:none;background-color:var(--color-input-bg);color:var(--color-text);padding-right:20px;border-radius:4px;border:1px solid var(--color-input-border);background-image:url(data:image/svg+xml,%0A%20%20%20%20%3Csvg%20width%3D%228%22%20height%3D%2224%22%20viewBox%3D%220%200%208%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%207L7%2011H1L4%207Z%22%20fill%3D%22%23999999%22%20%2F%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2017L1%2013L7%2013L4%2017Z%22%20fill%3D%22%23999999%22%20%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E%0A%20%20);background-position:right 8px center;background-repeat:no-repeat}._select_gfkcv_1:hover,._select_gfkcv_1:focus{border-color:#343434;outline:none!important;color:var(--color-text-highlight);background-image:var(--select-bg-hover)}._select_gfkcv_1:focus{box-shadow:#4299e199 0 0 0 3px}._select_gfkcv_1 option{background-color:var(--color-background)} diff --git a/bin/Yacd-meta-gh-pages/assets/Select.763fb4e2.js b/bin/Yacd-meta-gh-pages/assets/Select.763fb4e2.js deleted file mode 100644 index c4626a4b..00000000 --- a/bin/Yacd-meta-gh-pages/assets/Select.763fb4e2.js +++ /dev/null @@ -1 +0,0 @@ -import{j as c}from"./index.1ca2d13d.js";const n="_select_gfkcv_1";var o={select:n};function i({options:s,selected:t,onChange:l}){return c("select",{className:o.select,value:t,onChange:l,children:s.map(([e,r])=>c("option",{value:e,children:r},e))})}export{i as S}; diff --git a/bin/Yacd-meta-gh-pages/assets/TextFitler.3d9182a0.css b/bin/Yacd-meta-gh-pages/assets/TextFitler.3d9182a0.css deleted file mode 100644 index bbdf0149..00000000 --- a/bin/Yacd-meta-gh-pages/assets/TextFitler.3d9182a0.css +++ /dev/null @@ -1 +0,0 @@ -._rotate_1dspl_1{display:inline-flex}._isRotating_1dspl_5{-webkit-animation:_rotating_1dspl_1 3s infinite linear;animation:_rotating_1dspl_1 3s infinite linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@-webkit-keyframes _rotating_1dspl_1{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes _rotating_1dspl_1{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}._input_16a1f_1{-webkit-appearance:none;background-color:var(--color-input-bg);background-image:none;border-radius:20px;border:1px solid var(--color-input-border);box-sizing:border-box;color:#c1c1c1;display:inline-block;font-size:inherit;outline:none;padding:8px 15px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%}._input_16a1f_1:focus{border:1px solid var(--color-focus-blue)} diff --git a/bin/Yacd-meta-gh-pages/assets/TextFitler.eb6072d2.js b/bin/Yacd-meta-gh-pages/assets/TextFitler.eb6072d2.js deleted file mode 100644 index e53bc774..00000000 --- a/bin/Yacd-meta-gh-pages/assets/TextFitler.eb6072d2.js +++ /dev/null @@ -1 +0,0 @@ -import{c as r,j as o,X as u,h as l}from"./index.1ca2d13d.js";import{R as p}from"./rotate-cw.a7721ea7.js";import{d as _}from"./debounce.d080d5e1.js";const x="_rotate_1dspl_1",g="_isRotating_1dspl_5",d="_rotating_1dspl_1";var c={rotate:x,isRotating:g,rotating:d};function I({isRotating:t}){const e=r(c.rotate,{[c.isRotating]:t});return o("span",{className:e,children:o(p,{width:16})})}const{useCallback:m,useState:R,useMemo:h}=l;function f(t){const[,e]=u(t),[n,i]=R(""),a=h(()=>_(e,300),[e]);return[m(s=>{i(s.target.value),a(s.target.value)},[a]),n]}const T="_input_16a1f_1";var v={input:T};function N(t){const[e,n]=f(t.textAtom);return o("input",{className:v.input,type:"text",value:n,onChange:e,placeholder:t.placeholder})}export{I as R,N as T}; diff --git a/bin/Yacd-meta-gh-pages/assets/chart-lib.1222a339.js b/bin/Yacd-meta-gh-pages/assets/chart-lib.1222a339.js deleted file mode 100644 index a43401f0..00000000 --- a/bin/Yacd-meta-gh-pages/assets/chart-lib.1222a339.js +++ /dev/null @@ -1,18 +0,0 @@ -/*! - * Chart.js v3.7.1 - * https://www.chartjs.org - * (c) 2022 Chart.js Contributors - * Released under the MIT License - */const Ys=function(){return typeof window=="undefined"?function(i){return i()}:window.requestAnimationFrame}();function Xs(i,t,e){const s=e||(r=>Array.prototype.slice.call(r));let n=!1,o=[];return function(...r){o=s(r),n||(n=!0,Ys.call(window,()=>{n=!1,i.apply(t,o)}))}}function jn(i,t){let e;return function(...s){return t?(clearTimeout(e),e=setTimeout(i,t,s)):i.apply(this,s),t}}const Us=i=>i==="start"?"left":i==="end"?"right":"center",K=(i,t,e)=>i==="start"?t:i==="end"?e:(t+e)/2,$n=(i,t,e,s)=>i===(s?"left":"right")?e:i==="center"?(t+e)/2:t,Yn=function(){let i=0;return function(){return i++}}();function E(i){return i===null||typeof i=="undefined"}function B(i){if(Array.isArray&&Array.isArray(i))return!0;const t=Object.prototype.toString.call(i);return t.substr(0,7)==="[object"&&t.substr(-6)==="Array]"}function D(i){return i!==null&&Object.prototype.toString.call(i)==="[object Object]"}const N=i=>(typeof i=="number"||i instanceof Number)&&isFinite(+i);function Z(i,t){return N(i)?i:t}function P(i,t){return typeof i=="undefined"?t:i}const Xn=(i,t)=>typeof i=="string"&&i.endsWith("%")?parseFloat(i)/100:i/t,Ks=(i,t)=>typeof i=="string"&&i.endsWith("%")?parseFloat(i)/100*t:+i;function z(i,t,e){if(i&&typeof i.call=="function")return i.apply(e,t)}function R(i,t,e,s){let n,o,r;if(B(i))if(o=i.length,s)for(n=o-1;n>=0;n--)t.call(e,i[n],n);else for(n=0;ne;)i=i[t.substr(e,s-e)],e=s+1,s=Ri(t,e);return i}function hi(i){return i.charAt(0).toUpperCase()+i.slice(1)}const Q=i=>typeof i!="undefined",ut=i=>typeof i=="function",Ei=(i,t)=>{if(i.size!==t.size)return!1;for(const e of i)if(!t.has(e))return!1;return!0};function Zn(i){return i.type==="mouseup"||i.type==="click"||i.type==="contextmenu"}const W=Math.PI,I=2*W,Jn=I+W,ve=Number.POSITIVE_INFINITY,Qn=W/180,V=W/2,It=W/4,Fi=W*2/3,J=Math.log10,it=Math.sign;function Ii(i){const t=Math.round(i);i=Xt(i,t,i/1e3)?t:i;const e=Math.pow(10,Math.floor(J(i))),s=i/e;return(s<=1?1:s<=2?2:s<=5?5:10)*e}function to(i){const t=[],e=Math.sqrt(i);let s;for(s=1;sn-o).pop(),t}function Gt(i){return!isNaN(parseFloat(i))&&isFinite(i)}function Xt(i,t,e){return Math.abs(i-t)=i}function Gs(i,t,e){let s,n,o;for(s=0,n=i.length;sl&&c=Math.min(t,e)-s&&i<=Math.max(t,e)+s}const oe=i=>i===0||i===1,Bi=(i,t,e)=>-(Math.pow(2,10*(i-=1))*Math.sin((i-t)*I/e)),Vi=(i,t,e)=>Math.pow(2,-10*i)*Math.sin((i-t)*I/e)+1,Ut={linear:i=>i,easeInQuad:i=>i*i,easeOutQuad:i=>-i*(i-2),easeInOutQuad:i=>(i/=.5)<1?.5*i*i:-.5*(--i*(i-2)-1),easeInCubic:i=>i*i*i,easeOutCubic:i=>(i-=1)*i*i+1,easeInOutCubic:i=>(i/=.5)<1?.5*i*i*i:.5*((i-=2)*i*i+2),easeInQuart:i=>i*i*i*i,easeOutQuart:i=>-((i-=1)*i*i*i-1),easeInOutQuart:i=>(i/=.5)<1?.5*i*i*i*i:-.5*((i-=2)*i*i*i-2),easeInQuint:i=>i*i*i*i*i,easeOutQuint:i=>(i-=1)*i*i*i*i+1,easeInOutQuint:i=>(i/=.5)<1?.5*i*i*i*i*i:.5*((i-=2)*i*i*i*i+2),easeInSine:i=>-Math.cos(i*V)+1,easeOutSine:i=>Math.sin(i*V),easeInOutSine:i=>-.5*(Math.cos(W*i)-1),easeInExpo:i=>i===0?0:Math.pow(2,10*(i-1)),easeOutExpo:i=>i===1?1:-Math.pow(2,-10*i)+1,easeInOutExpo:i=>oe(i)?i:i<.5?.5*Math.pow(2,10*(i*2-1)):.5*(-Math.pow(2,-10*(i*2-1))+2),easeInCirc:i=>i>=1?i:-(Math.sqrt(1-i*i)-1),easeOutCirc:i=>Math.sqrt(1-(i-=1)*i),easeInOutCirc:i=>(i/=.5)<1?-.5*(Math.sqrt(1-i*i)-1):.5*(Math.sqrt(1-(i-=2)*i)+1),easeInElastic:i=>oe(i)?i:Bi(i,.075,.3),easeOutElastic:i=>oe(i)?i:Vi(i,.075,.3),easeInOutElastic(i){return oe(i)?i:i<.5?.5*Bi(i*2,.1125,.45):.5+.5*Vi(i*2-1,.1125,.45)},easeInBack(i){return i*i*((1.70158+1)*i-1.70158)},easeOutBack(i){return(i-=1)*i*((1.70158+1)*i+1.70158)+1},easeInOutBack(i){let t=1.70158;return(i/=.5)<1?.5*(i*i*(((t*=1.525)+1)*i-t)):.5*((i-=2)*i*(((t*=1.525)+1)*i+t)+2)},easeInBounce:i=>1-Ut.easeOutBounce(1-i),easeOutBounce(i){return i<1/2.75?7.5625*i*i:i<2/2.75?7.5625*(i-=1.5/2.75)*i+.75:i<2.5/2.75?7.5625*(i-=2.25/2.75)*i+.9375:7.5625*(i-=2.625/2.75)*i+.984375},easeInOutBounce:i=>i<.5?Ut.easeInBounce(i*2)*.5:Ut.easeOutBounce(i*2-1)*.5+.5};/*! - * @kurkle/color v0.1.9 - * https://github.com/kurkle/color#readme - * (c) 2020 Jukka Kurkela - * Released under the MIT License - */const G={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},ei="0123456789ABCDEF",no=i=>ei[i&15],oo=i=>ei[(i&240)>>4]+ei[i&15],re=i=>(i&240)>>4===(i&15);function ro(i){return re(i.r)&&re(i.g)&&re(i.b)&&re(i.a)}function ao(i){var t=i.length,e;return i[0]==="#"&&(t===4||t===5?e={r:255&G[i[1]]*17,g:255&G[i[2]]*17,b:255&G[i[3]]*17,a:t===5?G[i[4]]*17:255}:(t===7||t===9)&&(e={r:G[i[1]]<<4|G[i[2]],g:G[i[3]]<<4|G[i[4]],b:G[i[5]]<<4|G[i[6]],a:t===9?G[i[7]]<<4|G[i[8]]:255})),e}function lo(i){var t=ro(i)?no:oo;return i&&"#"+t(i.r)+t(i.g)+t(i.b)+(i.a<255?t(i.a):"")}function te(i){return i+.5|0}const Le=(i,t,e)=>Math.max(Math.min(i,e),t);function Ht(i){return Le(te(i*2.55),0,255)}function Jt(i){return Le(te(i*255),0,255)}function ui(i){return Le(te(i/2.55)/100,0,1)}function Wi(i){return Le(te(i*100),0,100)}const co=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function ho(i){const t=co.exec(i);let e=255,s,n,o;if(!!t){if(t[7]!==s){const r=+t[7];e=255&(t[8]?Ht(r):r*255)}return s=+t[1],n=+t[3],o=+t[5],s=255&(t[2]?Ht(s):s),n=255&(t[4]?Ht(n):n),o=255&(t[6]?Ht(o):o),{r:s,g:n,b:o,a:e}}}function uo(i){return i&&(i.a<255?`rgba(${i.r}, ${i.g}, ${i.b}, ${ui(i.a)})`:`rgb(${i.r}, ${i.g}, ${i.b})`)}const fo=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Js(i,t,e){const s=t*Math.min(e,1-e),n=(o,r=(o+i/30)%12)=>e-s*Math.max(Math.min(r-3,9-r,1),-1);return[n(0),n(8),n(4)]}function go(i,t,e){const s=(n,o=(n+i/60)%6)=>e-e*t*Math.max(Math.min(o,4-o,1),0);return[s(5),s(3),s(1)]}function po(i,t,e){const s=Js(i,1,.5);let n;for(t+e>1&&(n=1/(t+e),t*=n,e*=n),n=0;n<3;n++)s[n]*=1-t-e,s[n]+=t;return s}function fi(i){const e=i.r/255,s=i.g/255,n=i.b/255,o=Math.max(e,s,n),r=Math.min(e,s,n),a=(o+r)/2;let l,c,h;return o!==r&&(h=o-r,c=a>.5?h/(2-o-r):h/(o+r),l=o===e?(s-n)/h+(s>16&255,o>>8&255,o&255]}return i}let ae;function Mo(i){ae||(ae=vo(),ae.transparent=[0,0,0,0]);const t=ae[i.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}function le(i,t,e){if(i){let s=fi(i);s[t]=Math.max(0,Math.min(s[t]+s[t]*e,t===0?360:1)),s=pi(s),i.r=s[0],i.g=s[1],i.b=s[2]}}function tn(i,t){return i&&Object.assign(t||{},i)}function ji(i){var t={r:0,g:0,b:0,a:255};return Array.isArray(i)?i.length>=3&&(t={r:i[0],g:i[1],b:i[2],a:255},i.length>3&&(t.a=Jt(i[3]))):(t=tn(i,{r:0,g:0,b:0,a:1}),t.a=Jt(t.a)),t}function wo(i){return i.charAt(0)==="r"?ho(i):xo(i)}class Me{constructor(t){if(t instanceof Me)return t;const e=typeof t;let s;e==="object"?s=ji(t):e==="string"&&(s=ao(t)||Mo(t)||wo(t)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var t=tn(this._rgb);return t&&(t.a=ui(t.a)),t}set rgb(t){this._rgb=ji(t)}rgbString(){return this._valid?uo(this._rgb):this._rgb}hexString(){return this._valid?lo(this._rgb):this._rgb}hslString(){return this._valid?yo(this._rgb):this._rgb}mix(t,e){const s=this;if(t){const n=s.rgb,o=t.rgb;let r;const a=e===r?.5:e,l=2*a-1,c=n.a-o.a,h=((l*c===-1?l:(l+c)/(1+l*c))+1)/2;r=1-h,n.r=255&h*n.r+r*o.r+.5,n.g=255&h*n.g+r*o.g+.5,n.b=255&h*n.b+r*o.b+.5,n.a=a*n.a+(1-a)*o.a,s.rgb=n}return s}clone(){return new Me(this.rgb)}alpha(t){return this._rgb.a=Jt(t),this}clearer(t){const e=this._rgb;return e.a*=1-t,this}greyscale(){const t=this._rgb,e=te(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=e,this}opaquer(t){const e=this._rgb;return e.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return le(this._rgb,2,t),this}darken(t){return le(this._rgb,2,-t),this}saturate(t){return le(this._rgb,1,t),this}desaturate(t){return le(this._rgb,1,-t),this}rotate(t){return _o(this._rgb,t),this}}function en(i){return new Me(i)}const sn=i=>i instanceof CanvasGradient||i instanceof CanvasPattern;function $i(i){return sn(i)?i:en(i)}function He(i){return sn(i)?i:en(i).saturate(.5).darken(.1).hexString()}const Mt=Object.create(null),ii=Object.create(null);function Kt(i,t){if(!t)return i;const e=t.split(".");for(let s=0,n=e.length;se.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,s)=>He(s.backgroundColor),this.hoverBorderColor=(e,s)=>He(s.borderColor),this.hoverColor=(e,s)=>He(s.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,e){return je(this,t,e)}get(t){return Kt(this,t)}describe(t,e){return je(ii,t,e)}override(t,e){return je(Mt,t,e)}route(t,e,s,n){const o=Kt(this,t),r=Kt(this,s),a="_"+e;Object.defineProperties(o,{[a]:{value:o[e],writable:!0},[e]:{enumerable:!0,get(){const l=this[a],c=r[n];return D(l)?Object.assign({},c,l):P(l,c)},set(l){this[a]=l}}})}}var O=new ko({_scriptable:i=>!i.startsWith("on"),_indexable:i=>i!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function So(i){return!i||E(i.size)||E(i.family)?null:(i.style?i.style+" ":"")+(i.weight?i.weight+" ":"")+i.size+"px "+i.family}function we(i,t,e,s,n){let o=t[n];return o||(o=t[n]=i.measureText(n).width,e.push(n)),o>s&&(s=o),s}function Po(i,t,e,s){s=s||{};let n=s.data=s.data||{},o=s.garbageCollect=s.garbageCollect||[];s.font!==t&&(n=s.data={},o=s.garbageCollect=[],s.font=t),i.save(),i.font=t;let r=0;const a=e.length;let l,c,h,d,u;for(l=0;le.length){for(l=0;l0&&i.stroke()}}function wt(i,t,e){return e=e||.5,!t||i&&i.x>t.left-e&&i.xt.top-e&&i.y0&&o.strokeColor!=="";let l,c;for(i.save(),i.font=n.string,Oo(i,o),l=0;l+i||0;function mi(i,t){const e={},s=D(t),n=s?Object.keys(t):t,o=D(i)?s?r=>P(i[r],i[t[r]]):r=>i[r]:()=>i;for(const r of n)e[r]=Eo(o(r));return e}function nn(i){return mi(i,{top:"y",right:"x",bottom:"y",left:"x"})}function Ct(i){return mi(i,["topLeft","topRight","bottomLeft","bottomRight"])}function X(i){const t=nn(i);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function j(i,t){i=i||{},t=t||O.font;let e=P(i.size,t.size);typeof e=="string"&&(e=parseInt(e,10));let s=P(i.style,t.style);s&&!(""+s).match(To)&&(console.warn('Invalid font style specified: "'+s+'"'),s="");const n={family:P(i.family,t.family),lineHeight:Ro(P(i.lineHeight,t.lineHeight),e),size:e,style:s,weight:P(i.weight,t.weight),string:""};return n.string=So(n),n}function ce(i,t,e,s){let n=!0,o,r,a;for(o=0,r=i.length;oe&&a===0?0:a+l;return{min:r(s,-Math.abs(o)),max:r(n,o)}}function ft(i,t){return Object.assign(Object.create(i),t)}function bi(i,t,e){e=e||(r=>i[r]1;)o=n+s>>1,e(o)?n=o:s=o;return{lo:n,hi:s}}const _t=(i,t,e)=>bi(i,e,s=>i[s][t]bi(i,e,s=>i[s][t]>=e);function zo(i,t,e){let s=0,n=i.length;for(;ss&&i[n-1]>e;)n--;return s>0||n{const s="_onData"+hi(e),n=i[e];Object.defineProperty(i,e,{configurable:!0,enumerable:!1,value(...o){const r=n.apply(this,o);return i._chartjs.listeners.forEach(a=>{typeof a[s]=="function"&&a[s](...o)}),r}})})}function Xi(i,t){const e=i._chartjs;if(!e)return;const s=e.listeners,n=s.indexOf(t);n!==-1&&s.splice(n,1),!(s.length>0)&&(on.forEach(o=>{delete i[o]}),delete i._chartjs)}function rn(i){const t=new Set;let e,s;for(e=0,s=i.length;ei[0]){Q(s)||(s=hn("_fallback",i));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:i,_rootScopes:e,_fallback:s,_getTarget:n,override:r=>xi([r,...i],t,e,s)};return new Proxy(o,{deleteProperty(r,a){return delete r[a],delete r._keys,delete i[0][a],!0},get(r,a){return ln(r,a,()=>Xo(a,t,i,r))},getOwnPropertyDescriptor(r,a){return Reflect.getOwnPropertyDescriptor(r._scopes[0],a)},getPrototypeOf(){return Reflect.getPrototypeOf(i[0])},has(r,a){return Ki(r).includes(a)},ownKeys(r){return Ki(r)},set(r,a,l){const c=r._storage||(r._storage=n());return r[a]=c[a]=l,delete r._keys,!0}})}function At(i,t,e,s){const n={_cacheable:!1,_proxy:i,_context:t,_subProxy:e,_stack:new Set,_descriptors:an(i,s),setContext:o=>At(i,o,e,s),override:o=>At(i.override(o),t,e,s)};return new Proxy(n,{deleteProperty(o,r){return delete o[r],delete i[r],!0},get(o,r,a){return ln(o,r,()=>Wo(o,r,a))},getOwnPropertyDescriptor(o,r){return o._descriptors.allKeys?Reflect.has(i,r)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(i,r)},getPrototypeOf(){return Reflect.getPrototypeOf(i)},has(o,r){return Reflect.has(i,r)},ownKeys(){return Reflect.ownKeys(i)},set(o,r,a){return i[r]=a,delete o[r],!0}})}function an(i,t={scriptable:!0,indexable:!0}){const{_scriptable:e=t.scriptable,_indexable:s=t.indexable,_allKeys:n=t.allKeys}=i;return{allKeys:n,scriptable:e,indexable:s,isScriptable:ut(e)?e:()=>e,isIndexable:ut(s)?s:()=>s}}const Vo=(i,t)=>i?i+hi(t):t,_i=(i,t)=>D(t)&&i!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function ln(i,t,e){if(Object.prototype.hasOwnProperty.call(i,t))return i[t];const s=e();return i[t]=s,s}function Wo(i,t,e){const{_proxy:s,_context:n,_subProxy:o,_descriptors:r}=i;let a=s[t];return ut(a)&&r.isScriptable(t)&&(a=No(t,a,i,e)),B(a)&&a.length&&(a=Ho(t,a,i,r.isIndexable)),_i(t,a)&&(a=At(a,n,o&&o[t],r)),a}function No(i,t,e,s){const{_proxy:n,_context:o,_subProxy:r,_stack:a}=e;if(a.has(i))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+i);return a.add(i),t=t(o,r||s),a.delete(i),_i(i,t)&&(t=yi(n._scopes,n,i,t)),t}function Ho(i,t,e,s){const{_proxy:n,_context:o,_subProxy:r,_descriptors:a}=e;if(Q(o.index)&&s(i))t=t[o.index%t.length];else if(D(t[0])){const l=t,c=n._scopes.filter(h=>h!==l);t=[];for(const h of l){const d=yi(c,n,i,h);t.push(At(d,o,r&&r[i],a))}}return t}function cn(i,t,e){return ut(i)?i(t,e):i}const jo=(i,t)=>i===!0?t:typeof i=="string"?vt(t,i):void 0;function $o(i,t,e,s,n){for(const o of t){const r=jo(e,o);if(r){i.add(r);const a=cn(r._fallback,e,n);if(Q(a)&&a!==e&&a!==s)return a}else if(r===!1&&Q(s)&&e!==s)return null}return!1}function yi(i,t,e,s){const n=t._rootScopes,o=cn(t._fallback,e,s),r=[...i,...n],a=new Set;a.add(s);let l=Ui(a,r,e,o||e,s);return l===null||Q(o)&&o!==e&&(l=Ui(a,r,o,l,s),l===null)?!1:xi(Array.from(a),[""],n,o,()=>Yo(t,e,s))}function Ui(i,t,e,s,n){for(;e;)e=$o(i,t,e,s,n);return e}function Yo(i,t,e){const s=i._getTarget();t in s||(s[t]={});const n=s[t];return B(n)&&D(e)?e:n}function Xo(i,t,e,s){let n;for(const o of t)if(n=hn(Vo(o,i),e),Q(n))return _i(i,n)?yi(e,s,i,n):n}function hn(i,t){for(const e of t){if(!e)continue;const s=e[i];if(Q(s))return s}}function Ki(i){let t=i._keys;return t||(t=i._keys=Uo(i._scopes)),t}function Uo(i){const t=new Set;for(const e of i)for(const s of Object.keys(e).filter(n=>!n.startsWith("_")))t.add(s);return Array.from(t)}const Ko=Number.EPSILON||1e-14,Lt=(i,t)=>ti==="x"?"y":"x";function qo(i,t,e,s){const n=i.skip?t:i,o=t,r=e.skip?t:e,a=ti(o,n),l=ti(r,o);let c=a/(a+l),h=l/(a+l);c=isNaN(c)?0:c,h=isNaN(h)?0:h;const d=s*c,u=s*h;return{previous:{x:o.x-d*(r.x-n.x),y:o.y-d*(r.y-n.y)},next:{x:o.x+u*(r.x-n.x),y:o.y+u*(r.y-n.y)}}}function Go(i,t,e){const s=i.length;let n,o,r,a,l,c=Lt(i,0);for(let h=0;h!c.skip)),t.cubicInterpolationMode==="monotone")Jo(i,n);else{let c=s?i[i.length-1]:i[0];for(o=0,r=i.length;owindow.getComputedStyle(i,null);function er(i,t){return Ee(i).getPropertyValue(t)}const ir=["top","right","bottom","left"];function yt(i,t,e){const s={};e=e?"-"+e:"";for(let n=0;n<4;n++){const o=ir[n];s[o]=parseFloat(i[t+"-"+o+e])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const sr=(i,t,e)=>(i>0||t>0)&&(!e||!e.shadowRoot);function nr(i,t){const e=i.native||i,s=e.touches,n=s&&s.length?s[0]:e,{offsetX:o,offsetY:r}=n;let a=!1,l,c;if(sr(o,r,e.target))l=o,c=r;else{const h=t.getBoundingClientRect();l=n.clientX-h.left,c=n.clientY-h.top,a=!0}return{x:l,y:c,box:a}}function fn(i,t){const{canvas:e,currentDevicePixelRatio:s}=t,n=Ee(e),o=n.boxSizing==="border-box",r=yt(n,"padding"),a=yt(n,"border","width"),{x:l,y:c,box:h}=nr(i,e),d=r.left+(h&&a.left),u=r.top+(h&&a.top);let{width:f,height:g}=t;return o&&(f-=r.width+a.width,g-=r.height+a.height),{x:Math.round((l-d)/f*e.width/s),y:Math.round((c-u)/g*e.height/s)}}function or(i,t,e){let s,n;if(t===void 0||e===void 0){const o=vi(i);if(!o)t=i.clientWidth,e=i.clientHeight;else{const r=o.getBoundingClientRect(),a=Ee(o),l=yt(a,"border","width"),c=yt(a,"padding");t=r.width-c.width-l.width,e=r.height-c.height-l.height,s=Pe(a.maxWidth,o,"clientWidth"),n=Pe(a.maxHeight,o,"clientHeight")}}return{width:t,height:e,maxWidth:s||ve,maxHeight:n||ve}}const $e=i=>Math.round(i*10)/10;function rr(i,t,e,s){const n=Ee(i),o=yt(n,"margin"),r=Pe(n.maxWidth,i,"clientWidth")||ve,a=Pe(n.maxHeight,i,"clientHeight")||ve,l=or(i,t,e);let{width:c,height:h}=l;if(n.boxSizing==="content-box"){const d=yt(n,"border","width"),u=yt(n,"padding");c-=u.width+d.width,h-=u.height+d.height}return c=Math.max(0,c-o.width),h=Math.max(0,s?Math.floor(c/s):h-o.height),c=$e(Math.min(c,r,l.maxWidth)),h=$e(Math.min(h,a,l.maxHeight)),c&&!h&&(h=$e(c/2)),{width:c,height:h}}function qi(i,t,e){const s=t||1,n=Math.floor(i.height*s),o=Math.floor(i.width*s);i.height=n/s,i.width=o/s;const r=i.canvas;return r.style&&(e||!r.style.height&&!r.style.width)&&(r.style.height=`${i.height}px`,r.style.width=`${i.width}px`),i.currentDevicePixelRatio!==s||r.height!==n||r.width!==o?(i.currentDevicePixelRatio=s,r.height=n,r.width=o,i.ctx.setTransform(s,0,0,s,0,0),!0):!1}const ar=function(){let i=!1;try{const t={get passive(){return i=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch{}return i}();function Gi(i,t){const e=er(i,t),s=e&&e.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function xt(i,t,e,s){return{x:i.x+e*(t.x-i.x),y:i.y+e*(t.y-i.y)}}function lr(i,t,e,s){return{x:i.x+e*(t.x-i.x),y:s==="middle"?e<.5?i.y:t.y:s==="after"?e<1?i.y:t.y:e>0?t.y:i.y}}function cr(i,t,e,s){const n={x:i.cp2x,y:i.cp2y},o={x:t.cp1x,y:t.cp1y},r=xt(i,n,e),a=xt(n,o,e),l=xt(o,t,e),c=xt(r,a,e),h=xt(a,l,e);return xt(c,h,e)}const Zi=new Map;function hr(i,t){t=t||{};const e=i+JSON.stringify(t);let s=Zi.get(e);return s||(s=new Intl.NumberFormat(i,t),Zi.set(e,s)),s}function ee(i,t,e){return hr(t,e).format(i)}const dr=function(i,t){return{x(e){return i+i+t-e},setWidth(e){t=e},textAlign(e){return e==="center"?e:e==="right"?"left":"right"},xPlus(e,s){return e-s},leftForLtr(e,s){return e-s}}},ur=function(){return{x(i){return i},setWidth(i){},textAlign(i){return i},xPlus(i,t){return i+t},leftForLtr(i,t){return i}}};function Dt(i,t,e){return i?dr(t,e):ur()}function gn(i,t){let e,s;(t==="ltr"||t==="rtl")&&(e=i.canvas.style,s=[e.getPropertyValue("direction"),e.getPropertyPriority("direction")],e.setProperty("direction",t,"important"),i.prevTextDirection=s)}function pn(i,t){t!==void 0&&(delete i.prevTextDirection,i.canvas.style.setProperty("direction",t[0],t[1]))}function mn(i){return i==="angle"?{between:Zt,compare:io,normalize:q}:{between:at,compare:(t,e)=>t-e,normalize:t=>t}}function Ji({start:i,end:t,count:e,loop:s,style:n}){return{start:i%e,end:t%e,loop:s&&(t-i+1)%e===0,style:n}}function fr(i,t,e){const{property:s,start:n,end:o}=e,{between:r,normalize:a}=mn(s),l=t.length;let{start:c,end:h,loop:d}=i,u,f;if(d){for(c+=l,h+=l,u=0,f=l;ul(n,y,b)&&a(n,y)!==0,x=()=>a(o,b)===0||l(o,y,b),w=()=>p||_(),M=()=>!p||x();for(let S=h,k=h;S<=d;++S)v=t[S%r],!v.skip&&(b=c(v[s]),b!==y&&(p=l(b,n,o),m===null&&w()&&(m=a(b,n)===0?S:k),m!==null&&M()&&(g.push(Ji({start:m,end:S,loop:u,count:r,style:f})),m=null),k=S,y=b));return m!==null&&g.push(Ji({start:m,end:d,loop:u,count:r,style:f})),g}function xn(i,t){const e=[],s=i.segments;for(let n=0;nn&&i[o%t].skip;)o--;return o%=t,{start:n,end:o}}function pr(i,t,e,s){const n=i.length,o=[];let r=t,a=i[t],l;for(l=t+1;l<=e;++l){const c=i[l%n];c.skip||c.stop?a.skip||(s=!1,o.push({start:t%n,end:(l-1)%n,loop:s}),t=r=c.stop?l:null):(r=l,a.skip&&(t=l)),a=c}return r!==null&&o.push({start:t%n,end:r%n,loop:s}),o}function mr(i,t){const e=i.points,s=i.options.spanGaps,n=e.length;if(!n)return[];const o=!!i._loop,{start:r,end:a}=gr(e,n,o,s);if(s===!0)return Qi(i,[{start:r,end:a,loop:o}],e,t);const l=aa({chart:t,initial:e.initial,numSteps:r,currentStep:Math.min(s-e.start,r)}))}_refresh(){this._request||(this._running=!0,this._request=Ys.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let e=0;this._charts.forEach((s,n)=>{if(!s.running||!s.items.length)return;const o=s.items;let r=o.length-1,a=!1,l;for(;r>=0;--r)l=o[r],l._active?(l._total>s.duration&&(s.duration=l._total),l.tick(t),a=!0):(o[r]=o[o.length-1],o.pop());a&&(n.draw(),this._notify(n,s,t,"progress")),o.length||(s.running=!1,this._notify(n,s,t,"complete"),s.initial=!1),e+=o.length}),this._lastDate=t,e===0&&(this._running=!1)}_getAnims(t){const e=this._charts;let s=e.get(t);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,s)),s}listen(t,e,s){this._getAnims(t).listeners[e].push(s)}add(t,e){!e||!e.length||this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);!e||(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce((s,n)=>Math.max(s,n._duration),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!(!e||!e.running||!e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const s=e.items;let n=s.length-1;for(;n>=0;--n)s[n].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var ot=new _r;const es="transparent",yr={boolean(i,t,e){return e>.5?t:i},color(i,t,e){const s=$i(i||es),n=s.valid&&$i(t||es);return n&&n.valid?n.mix(s,e).hexString():t},number(i,t,e){return i+(t-i)*e}};class vr{constructor(t,e,s,n){const o=e[s];n=ce([t.to,n,o,t.from]);const r=ce([t.from,o,n]);this._active=!0,this._fn=t.fn||yr[t.type||typeof r],this._easing=Ut[t.easing]||Ut.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=s,this._from=r,this._to=n,this._promises=void 0}active(){return this._active}update(t,e,s){if(this._active){this._notify(!1);const n=this._target[this._prop],o=s-this._start,r=this._duration-o;this._start=s,this._duration=Math.floor(Math.max(r,t.duration)),this._total+=o,this._loop=!!t.loop,this._to=ce([t.to,e,n,t.from]),this._from=ce([t.from,n,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,s=this._duration,n=this._prop,o=this._from,r=this._loop,a=this._to;let l;if(this._active=o!==a&&(r||e1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[n]=this._fn(o,a,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((e,s)=>{t.push({res:e,rej:s})})}_notify(t){const e=t?"res":"rej",s=this._promises||[];for(let n=0;ni!=="onProgress"&&i!=="onComplete"&&i!=="fn"});O.set("animations",{colors:{type:"color",properties:wr},numbers:{type:"number",properties:Mr}});O.describe("animations",{_fallback:"animation"});O.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:i=>i|0}}}});class _n{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!D(t))return;const e=this._properties;Object.getOwnPropertyNames(t).forEach(s=>{const n=t[s];if(!D(n))return;const o={};for(const r of kr)o[r]=n[r];(B(n.properties)&&n.properties||[s]).forEach(r=>{(r===s||!e.has(r))&&e.set(r,o)})})}_animateOptions(t,e){const s=e.options,n=Pr(t,s);if(!n)return[];const o=this._createAnimations(n,s);return s.$shared&&Sr(t.options.$animations,s).then(()=>{t.options=s},()=>{}),o}_createAnimations(t,e){const s=this._properties,n=[],o=t.$animations||(t.$animations={}),r=Object.keys(e),a=Date.now();let l;for(l=r.length-1;l>=0;--l){const c=r[l];if(c.charAt(0)==="$")continue;if(c==="options"){n.push(...this._animateOptions(t,e));continue}const h=e[c];let d=o[c];const u=s.get(c);if(d)if(u&&d.active()){d.update(u,h,a);continue}else d.cancel();if(!u||!u.duration){t[c]=h;continue}o[c]=d=new vr(u,t,c,h),n.push(d)}return n}update(t,e){if(this._properties.size===0){Object.assign(t,e);return}const s=this._createAnimations(t,e);if(s.length)return ot.add(this._chart,s),!0}}function Sr(i,t){const e=[],s=Object.keys(t);for(let n=0;n0||!e&&o<0)return n.index}return null}function rs(i,t){const{chart:e,_cachedMeta:s}=i,n=e._stacks||(e._stacks={}),{iScale:o,vScale:r,index:a}=s,l=o.axis,c=r.axis,h=Ar(o,r,s),d=t.length;let u;for(let f=0;fe[s].axis===t).shift()}function Rr(i,t){return ft(i,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function Er(i,t,e){return ft(i,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:e,index:t,mode:"default",type:"data"})}function zt(i,t){const e=i.controller.index,s=i.vScale&&i.vScale.axis;if(!!s){t=t||i._parsed;for(const n of t){const o=n._stacks;if(!o||o[s]===void 0||o[s][e]===void 0)return;delete o[s][e]}}}const Xe=i=>i==="reset"||i==="none",as=(i,t)=>t?i:Object.assign({},i),Fr=(i,t,e)=>i&&!t.hidden&&t._stacked&&{keys:yn(e,!0),values:null};class st{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=ns(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&zt(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,s=this.getDataset(),n=(d,u,f,g)=>d==="x"?u:d==="r"?g:f,o=e.xAxisID=P(s.xAxisID,Ye(t,"x")),r=e.yAxisID=P(s.yAxisID,Ye(t,"y")),a=e.rAxisID=P(s.rAxisID,Ye(t,"r")),l=e.indexAxis,c=e.iAxisID=n(l,o,r,a),h=e.vAxisID=n(l,r,o,a);e.xScale=this.getScaleForId(o),e.yScale=this.getScaleForId(r),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(c),e.vScale=this.getScaleForId(h)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&Xi(this._data,this),t._stacked&&zt(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),s=this._data;if(D(e))this._data=Or(e);else if(s!==e){if(s){Xi(s,this);const n=this._cachedMeta;zt(n),n._parsed=[]}e&&Object.isExtensible(e)&&Bo(e,this),this._syncList=[],this._data=e}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,s=this.getDataset();let n=!1;this._dataCheck();const o=e._stacked;e._stacked=ns(e.vScale,e),e.stack!==s.stack&&(n=!0,zt(e),e.stack=s.stack),this._resyncElements(t),(n||o!==e._stacked)&&rs(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),s=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(s,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:s,_data:n}=this,{iScale:o,_stacked:r}=s,a=o.axis;let l=t===0&&e===n.length?!0:s._sorted,c=t>0&&s._parsed[t-1],h,d,u;if(this._parsing===!1)s._parsed=n,s._sorted=!0,u=n;else{B(n[t])?u=this.parseArrayData(s,n,t,e):D(n[t])?u=this.parseObjectData(s,n,t,e):u=this.parsePrimitiveData(s,n,t,e);const f=()=>d[a]===null||c&&d[a]p||d=0;--u)if(!g()){this.updateRangeFromParsed(c,t,f,l);break}}return c}getAllParsedValues(t){const e=this._cachedMeta._parsed,s=[];let n,o,r;for(n=0,o=e.length;n=0&&tthis.getContext(s,n),p=c.resolveNamedOptions(u,f,g,d);return p.$shared&&(p.$shared=l,o[r]=Object.freeze(as(p,l))),p}_resolveAnimations(t,e,s){const n=this.chart,o=this._cachedDataOpts,r=`animation-${e}`,a=o[r];if(a)return a;let l;if(n.options.animation!==!1){const h=this.chart.config,d=h.datasetAnimationScopeKeys(this._type,e),u=h.getOptionScopes(this.getDataset(),d);l=h.createResolver(u,this.getContext(t,s,e))}const c=new _n(n,l&&l.animations);return l&&l._cacheable&&(o[r]=Object.freeze(c)),c}getSharedOptions(t){if(!!t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||Xe(t)||this.chart._animationsDisabled}updateElement(t,e,s,n){Xe(n)?Object.assign(t,s):this._resolveAnimations(e,n).update(t,s)}updateSharedOptions(t,e,s){t&&!Xe(e)&&this._resolveAnimations(void 0,e).update(t,s)}_setStyle(t,e,s,n){t.active=n;const o=this.getStyle(e,n);this._resolveAnimations(e,s,n).update(t,{options:!n&&this.getSharedOptions(o)||o})}removeHoverStyle(t,e,s){this._setStyle(t,s,"active",!1)}setHoverStyle(t,e,s){this._setStyle(t,s,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,s=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const n=s.length,o=e.length,r=Math.min(o,n);r&&this.parse(0,r),o>n?this._insertElements(n,o-n,t):o{for(c.length+=e,a=c.length-1;a>=r;a--)c[a]=c[a-e]};for(l(o),a=t;an-o))}return i._cache.$bar}function zr(i){const t=i.iScale,e=Ir(t,i.type);let s=t._length,n,o,r,a;const l=()=>{r===32767||r===-32768||(Q(a)&&(s=Math.min(s,Math.abs(r-a)||s)),a=r)};for(n=0,o=e.length;n0?n[i-1]:null,a=iMath.abs(a)&&(l=a,c=r),t[e.axis]=c,t._custom={barStart:l,barEnd:c,start:n,end:o,min:r,max:a}}function vn(i,t,e,s){return B(i)?Wr(i,t,e,s):t[e.axis]=e.parse(i,s),t}function ls(i,t,e,s){const n=i.iScale,o=i.vScale,r=n.getLabels(),a=n===o,l=[];let c,h,d,u;for(c=e,h=e+s;c=e?1:-1)}function Hr(i){let t,e,s,n,o;return i.horizontal?(t=i.base>i.x,e="left",s="right"):(t=i.base=0;--s)e=Math.max(e,t[s].size(this.resolveDataElementOptions(s))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,{xScale:s,yScale:n}=e,o=this.getParsed(t),r=s.getLabelForValue(o.x),a=n.getLabelForValue(o.y),l=o._custom;return{label:e.label,value:"("+r+", "+a+(l?", "+l:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,s,n){const o=n==="reset",{iScale:r,vScale:a}=this._cachedMeta,l=this.resolveDataElementOptions(e,n),c=this.getSharedOptions(l),h=this.includeOptions(n,c),d=r.axis,u=a.axis;for(let f=e;fZt(y,a,l,!0)?1:Math.max(_,_*e,x,x*e),g=(y,_,x)=>Zt(y,a,l,!0)?-1:Math.min(_,_*e,x,x*e),p=f(0,c,d),m=f(V,h,u),b=g(W,c,d),v=g(W+V,h,u);s=(p-b)/2,n=(m-v)/2,o=-(p+b)/2,r=-(m+v)/2}return{ratioX:s,ratioY:n,offsetX:o,offsetY:r}}class ie extends st{constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const s=this.getDataset().data,n=this._cachedMeta;if(this._parsing===!1)n._parsed=s;else{let o=l=>+s[l];if(D(s[t])){const{key:l="value"}=this._parsing;o=c=>+vt(s[c],l)}let r,a;for(r=t,a=t+e;r0&&!isNaN(t)?I*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,s=this.chart,n=s.data.labels||[],o=ee(e._parsed[t],s.options.locale);return{label:n[t]||"",value:o}}getMaxBorderWidth(t){let e=0;const s=this.chart;let n,o,r,a,l;if(!t){for(n=0,o=s.data.datasets.length;ni!=="spacing",_indexable:i=>i!=="spacing"};ie.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(i){const t=i.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:e}}=i.legend.options;return t.labels.map((s,n)=>{const r=i.getDatasetMeta(0).controller.getStyle(n);return{text:s,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,pointStyle:e,hidden:!i.getDataVisibility(n),index:n}})}return[]}},onClick(i,t,e){e.chart.toggleDataVisibility(t.index),e.chart.update()}},tooltip:{callbacks:{title(){return""},label(i){let t=i.label;const e=": "+i.formattedValue;return B(t)?(t=t.slice(),t[0]+=e):t+=e,t}}}}};class se extends st{initialize(){this.enableOptionSharing=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:s,data:n=[],_dataset:o}=e,r=this.chart._animationsDisabled;let{start:a,count:l}=Ur(e,n,r);this._drawStart=a,this._drawCount=l,Kr(e)&&(a=0,l=n.length),s._chart=this.chart,s._datasetIndex=this.index,s._decimated=!!o._decimated,s.points=n;const c=this.resolveDatasetElementOptions(t);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(s,void 0,{animated:!r,options:c},t),this.updateElements(n,a,l,t)}updateElements(t,e,s,n){const o=n==="reset",{iScale:r,vScale:a,_stacked:l,_dataset:c}=this._cachedMeta,h=this.resolveDataElementOptions(e,n),d=this.getSharedOptions(h),u=this.includeOptions(n,d),f=r.axis,g=a.axis,{spanGaps:p,segment:m}=this.options,b=Gt(p)?p:Number.POSITIVE_INFINITY,v=this.chart._animationsDisabled||o||n==="none";let y=e>0&&this.getParsed(e-1);for(let _=e;_0&&w[f]-y[f]>b,m&&(M.parsed=w,M.raw=c.data[_]),u&&(M.options=d||this.resolveDataElementOptions(_,x.active?"active":n)),v||this.updateElement(x,_,M,n),y=w}this.updateSharedOptions(d,n,h)}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,s=e.options&&e.options.borderWidth||0,n=t.data||[];if(!n.length)return s;const o=n[0].size(this.resolveDataElementOptions(0)),r=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(s,o,r)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}se.id="line";se.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};se.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};function Ur(i,t,e){const s=t.length;let n=0,o=s;if(i._sorted){const{iScale:r,_parsed:a}=i,l=r.axis,{min:c,max:h,minDefined:d,maxDefined:u}=r.getUserBounds();d&&(n=$(Math.min(_t(a,r.axis,c).lo,e?s:_t(t,l,r.getPixelForValue(c)).lo),0,s-1)),u?o=$(Math.max(_t(a,r.axis,h).hi+1,e?0:_t(t,l,r.getPixelForValue(h)).hi+1),n,s)-n:o=s-n}return{start:n,count:o}}function Kr(i){const{xScale:t,yScale:e,_scaleRanges:s}=i,n={xmin:t.min,xmax:t.max,ymin:e.min,ymax:e.max};if(!s)return i._scaleRanges=n,!0;const o=s.xmin!==t.min||s.xmax!==t.max||s.ymin!==e.min||s.ymax!==e.max;return Object.assign(s,n),o}class ki extends st{constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,s=this.chart,n=s.data.labels||[],o=ee(e._parsed[t].r,s.options.locale);return{label:n[t]||"",value:o}}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}_updateRadius(){const t=this.chart,e=t.chartArea,s=t.options,n=Math.min(e.right-e.left,e.bottom-e.top),o=Math.max(n/2,0),r=Math.max(s.cutoutPercentage?o/100*s.cutoutPercentage:1,0),a=(o-r)/t.getVisibleDatasetCount();this.outerRadius=o-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(t,e,s,n){const o=n==="reset",r=this.chart,a=this.getDataset(),c=r.options.animation,h=this._cachedMeta.rScale,d=h.xCenter,u=h.yCenter,f=h.getIndexAngle(0)-.5*W;let g=f,p;const m=360/this.countVisibleElements();for(p=0;p{!isNaN(t.data[o])&&this.chart.getDataVisibility(o)&&s++}),s}_computeAngle(t,e,s){return this.chart.getDataVisibility(t)?tt(this.resolveDataElementOptions(t,e).angle||s):0}}ki.id="polarArea";ki.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};ki.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(i){const t=i.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:e}}=i.legend.options;return t.labels.map((s,n)=>{const r=i.getDatasetMeta(0).controller.getStyle(n);return{text:s,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,pointStyle:e,hidden:!i.getDataVisibility(n),index:n}})}return[]}},onClick(i,t,e){e.chart.toggleDataVisibility(t.index),e.chart.update()}},tooltip:{callbacks:{title(){return""},label(i){return i.chart.data.labels[i.dataIndex]+": "+i.formattedValue}}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class Mn extends ie{}Mn.id="pie";Mn.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class Si extends st{getLabelAndValue(t){const e=this._cachedMeta.vScale,s=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(s[e.axis])}}update(t){const e=this._cachedMeta,s=e.dataset,n=e.data||[],o=e.iScale.getLabels();if(s.points=n,t!=="resize"){const r=this.resolveDatasetElementOptions(t);this.options.showLine||(r.borderWidth=0);const a={_loop:!0,_fullLoop:o.length===n.length,options:r};this.updateElement(s,void 0,a,t)}this.updateElements(n,0,n.length,t)}updateElements(t,e,s,n){const o=this.getDataset(),r=this._cachedMeta.rScale,a=n==="reset";for(let l=e;l{c[a](n[r],s)&&o.push({element:c,datasetIndex:h,index:d}),c.inRange(n.x,n.y,s)&&(l=!0)}),e.intersect&&!l?[]:o}var ea={modes:{index(i,t,e,s){const n=jt(t,i),o=e.axis||"x",r=e.intersect?Ke(i,n,o,s):qe(i,n,o,!1,s),a=[];return r.length?(i.getSortedVisibleDatasetMetas().forEach(l=>{const c=r[0].index,h=l.data[c];h&&!h.skip&&a.push({element:h,datasetIndex:l.index,index:c})}),a):[]},dataset(i,t,e,s){const n=jt(t,i),o=e.axis||"xy";let r=e.intersect?Ke(i,n,o,s):qe(i,n,o,!1,s);if(r.length>0){const a=r[0].datasetIndex,l=i.getDatasetMeta(a).data;r=[];for(let c=0;ce.pos===t)}function us(i,t){return i.filter(e=>wn.indexOf(e.pos)===-1&&e.box.axis===t)}function Vt(i,t){return i.sort((e,s)=>{const n=t?s:e,o=t?e:s;return n.weight===o.weight?n.index-o.index:n.weight-o.weight})}function ia(i){const t=[];let e,s,n,o,r,a;for(e=0,s=(i||[]).length;ec.box.fullSize),!0),s=Vt(Bt(t,"left"),!0),n=Vt(Bt(t,"right")),o=Vt(Bt(t,"top"),!0),r=Vt(Bt(t,"bottom")),a=us(t,"x"),l=us(t,"y");return{fullSize:e,leftAndTop:s.concat(o),rightAndBottom:n.concat(l).concat(r).concat(a),chartArea:Bt(t,"chartArea"),vertical:s.concat(n).concat(l),horizontal:o.concat(r).concat(a)}}function fs(i,t,e,s){return Math.max(i[e],t[e])+Math.max(i[s],t[s])}function kn(i,t){i.top=Math.max(i.top,t.top),i.left=Math.max(i.left,t.left),i.bottom=Math.max(i.bottom,t.bottom),i.right=Math.max(i.right,t.right)}function ra(i,t,e,s){const{pos:n,box:o}=e,r=i.maxPadding;if(!D(n)){e.size&&(i[n]-=e.size);const d=s[e.stack]||{size:0,count:1};d.size=Math.max(d.size,e.horizontal?o.height:o.width),e.size=d.size/d.count,i[n]+=e.size}o.getPadding&&kn(r,o.getPadding());const a=Math.max(0,t.outerWidth-fs(r,i,"left","right")),l=Math.max(0,t.outerHeight-fs(r,i,"top","bottom")),c=a!==i.w,h=l!==i.h;return i.w=a,i.h=l,e.horizontal?{same:c,other:h}:{same:h,other:c}}function aa(i){const t=i.maxPadding;function e(s){const n=Math.max(t[s]-i[s],0);return i[s]+=n,n}i.y+=e("top"),i.x+=e("left"),e("right"),e("bottom")}function la(i,t){const e=t.maxPadding;function s(n){const o={left:0,top:0,right:0,bottom:0};return n.forEach(r=>{o[r]=Math.max(t[r],e[r])}),o}return s(i?["left","right"]:["top","bottom"])}function $t(i,t,e,s){const n=[];let o,r,a,l,c,h;for(o=0,r=i.length,c=0;o{typeof p.beforeLayout=="function"&&p.beforeLayout()});const h=l.reduce((p,m)=>m.box.options&&m.box.options.display===!1?p:p+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:e,padding:n,availableWidth:o,availableHeight:r,vBoxMaxWidth:o/2/h,hBoxMaxHeight:r/2}),u=Object.assign({},n);kn(u,X(s));const f=Object.assign({maxPadding:u,w:o,h:r,x:n.left,y:n.top},n),g=na(l.concat(c),d);$t(a.fullSize,f,d,g),$t(l,f,d,g),$t(c,f,d,g)&&$t(l,f,d,g),aa(f),gs(a.leftAndTop,f,d,g),f.x+=f.w,f.y+=f.h,gs(a.rightAndBottom,f,d,g),i.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},R(a.chartArea,p=>{const m=p.box;Object.assign(m,i.chartArea),m.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})})}};class Sn{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,s){}removeEventListener(t,e,s){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,s,n){return e=Math.max(0,e||t.width),s=s||t.height,{width:e,height:Math.max(0,n?Math.floor(e/n):s)}}isAttached(t){return!0}updateConfig(t){}}class ca extends Sn{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const be="$chartjs",ha={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},ps=i=>i===null||i==="";function da(i,t){const e=i.style,s=i.getAttribute("height"),n=i.getAttribute("width");if(i[be]={initial:{height:s,width:n,style:{display:e.display,height:e.height,width:e.width}}},e.display=e.display||"block",e.boxSizing=e.boxSizing||"border-box",ps(n)){const o=Gi(i,"width");o!==void 0&&(i.width=o)}if(ps(s))if(i.style.height==="")i.height=i.width/(t||2);else{const o=Gi(i,"height");o!==void 0&&(i.height=o)}return i}const Pn=ar?{passive:!0}:!1;function ua(i,t,e){i.addEventListener(t,e,Pn)}function fa(i,t,e){i.canvas.removeEventListener(t,e,Pn)}function ga(i,t){const e=ha[i.type]||i.type,{x:s,y:n}=fn(i,t);return{type:e,chart:t,native:i,x:s!==void 0?s:null,y:n!==void 0?n:null}}function Ce(i,t){for(const e of i)if(e===t||e.contains(t))return!0}function pa(i,t,e){const s=i.canvas,n=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||Ce(a.addedNodes,s),r=r&&!Ce(a.removedNodes,s);r&&e()});return n.observe(document,{childList:!0,subtree:!0}),n}function ma(i,t,e){const s=i.canvas,n=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||Ce(a.removedNodes,s),r=r&&!Ce(a.addedNodes,s);r&&e()});return n.observe(document,{childList:!0,subtree:!0}),n}const Qt=new Map;let ms=0;function Cn(){const i=window.devicePixelRatio;i!==ms&&(ms=i,Qt.forEach((t,e)=>{e.currentDevicePixelRatio!==i&&t()}))}function ba(i,t){Qt.size||window.addEventListener("resize",Cn),Qt.set(i,t)}function xa(i){Qt.delete(i),Qt.size||window.removeEventListener("resize",Cn)}function _a(i,t,e){const s=i.canvas,n=s&&vi(s);if(!n)return;const o=Xs((a,l)=>{const c=n.clientWidth;e(a,l),c{const l=a[0],c=l.contentRect.width,h=l.contentRect.height;c===0&&h===0||o(c,h)});return r.observe(n),ba(i,o),r}function Ge(i,t,e){e&&e.disconnect(),t==="resize"&&xa(i)}function ya(i,t,e){const s=i.canvas,n=Xs(o=>{i.ctx!==null&&e(ga(o,i))},i,o=>{const r=o[0];return[r,r.offsetX,r.offsetY]});return ua(s,t,n),n}class va extends Sn{acquireContext(t,e){const s=t&&t.getContext&&t.getContext("2d");return s&&s.canvas===t?(da(t,e),s):null}releaseContext(t){const e=t.canvas;if(!e[be])return!1;const s=e[be].initial;["height","width"].forEach(o=>{const r=s[o];E(r)?e.removeAttribute(o):e.setAttribute(o,r)});const n=s.style||{};return Object.keys(n).forEach(o=>{e.style[o]=n[o]}),e.width=e.width,delete e[be],!0}addEventListener(t,e,s){this.removeEventListener(t,e);const n=t.$proxies||(t.$proxies={}),r={attach:pa,detach:ma,resize:_a}[e]||ya;n[e]=r(t,e,s)}removeEventListener(t,e){const s=t.$proxies||(t.$proxies={}),n=s[e];if(!n)return;({attach:Ge,detach:Ge,resize:Ge}[e]||fa)(t,e,n),s[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,s,n){return rr(t,e,s,n)}isAttached(t){const e=vi(t);return!!(e&&e.isConnected)}}function Ma(i){return!un()||typeof OffscreenCanvas!="undefined"&&i instanceof OffscreenCanvas?ca:va}class nt{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(t){const{x:e,y:s}=this.getProps(["x","y"],t);return{x:e,y:s}}hasValue(){return Gt(this.x)&&Gt(this.y)}getProps(t,e){const s=this.$animations;if(!e||!s)return this;const n={};return t.forEach(o=>{n[o]=s[o]&&s[o].active()?s[o]._to:this[o]}),n}}nt.defaults={};nt.defaultRoutes=void 0;const Dn={values(i){return B(i)?i:""+i},numeric(i,t,e){if(i===0)return"0";const s=this.chart.options.locale;let n,o=i;if(e.length>1){const c=Math.max(Math.abs(e[0].value),Math.abs(e[e.length-1].value));(c<1e-4||c>1e15)&&(n="scientific"),o=wa(i,e)}const r=J(Math.abs(o)),a=Math.max(Math.min(-1*Math.floor(r),20),0),l={notation:n,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),ee(i,s,l)},logarithmic(i,t,e){if(i===0)return"0";const s=i/Math.pow(10,Math.floor(J(i)));return s===1||s===2||s===5?Dn.numeric.call(this,i,t,e):""}};function wa(i,t){let e=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(e)>=1&&i!==Math.floor(i)&&(e=i-Math.floor(i)),e}var Fe={formatters:Dn};O.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(i,t)=>t.lineWidth,tickColor:(i,t)=>t.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Fe.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}});O.route("scale.ticks","color","","color");O.route("scale.grid","color","","borderColor");O.route("scale.grid","borderColor","","borderColor");O.route("scale.title","color","","color");O.describe("scale",{_fallback:!1,_scriptable:i=>!i.startsWith("before")&&!i.startsWith("after")&&i!=="callback"&&i!=="parser",_indexable:i=>i!=="borderDash"&&i!=="tickBorderDash"});O.describe("scales",{_fallback:"scale"});O.describe("scale.ticks",{_scriptable:i=>i!=="backdropPadding"&&i!=="callback",_indexable:i=>i!=="backdropPadding"});function ka(i,t){const e=i.options.ticks,s=e.maxTicksLimit||Sa(i),n=e.major.enabled?Ca(t):[],o=n.length,r=n[0],a=n[o-1],l=[];if(o>s)return Da(t,l,n,o/s),l;const c=Pa(n,t,s);if(o>0){let h,d;const u=o>1?Math.round((a-r)/(o-1)):null;for(ue(t,l,c,E(u)?0:r-u,r),h=0,d=o-1;hn)return l}return Math.max(n,1)}function Ca(i){const t=[];let e,s;for(e=0,s=i.length;ei==="left"?"right":i==="right"?"left":i,bs=(i,t,e)=>t==="top"||t==="left"?i[t]+e:i[t]-e;function xs(i,t){const e=[],s=i.length/t,n=i.length;let o=0;for(;or+a)))return l}function Ta(i,t){R(i,e=>{const s=e.gc,n=s.length/2;let o;if(n>t){for(o=0;os?s:e,s=n&&e>s?e:s,{min:Z(e,Z(s,e)),max:Z(s,Z(e,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){z(this.options.beforeUpdate,[this])}update(t,e,s){const{beginAtZero:n,grace:o,ticks:r}=this.options,a=r.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=Fo(this,o,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=o||s<=1||!this.isHorizontal()){this.labelRotation=n;return}const h=this._getLabelSizes(),d=h.widest.width,u=h.highest.height,f=$(this.chart.width-d,0,this.maxWidth);a=t.offset?this.maxWidth/s:f/(s-1),d+6>a&&(a=f/(s-(t.offset?.5:1)),l=this.maxHeight-Wt(t.grid)-e.padding-_s(t.title,this.chart.options.font),c=Math.sqrt(d*d+u*u),r=di(Math.min(Math.asin($((h.highest.height+6)/a,-1,1)),Math.asin($(l/c,-1,1))-Math.asin($(u/c,-1,1)))),r=Math.max(n,Math.min(o,r))),this.labelRotation=r}afterCalculateLabelRotation(){z(this.options.afterCalculateLabelRotation,[this])}beforeFit(){z(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:s,title:n,grid:o}}=this,r=this._isVisible(),a=this.isHorizontal();if(r){const l=_s(n,e.options.font);if(a?(t.width=this.maxWidth,t.height=Wt(o)+l):(t.height=this.maxHeight,t.width=Wt(o)+l),s.display&&this.ticks.length){const{first:c,last:h,widest:d,highest:u}=this._getLabelSizes(),f=s.padding*2,g=tt(this.labelRotation),p=Math.cos(g),m=Math.sin(g);if(a){const b=s.mirror?0:m*d.width+p*u.height;t.height=Math.min(this.maxHeight,t.height+b+f)}else{const b=s.mirror?0:p*d.width+m*u.height;t.width=Math.min(this.maxWidth,t.width+b+f)}this._calculatePadding(c,h,m,p)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,s,n){const{ticks:{align:o,padding:r},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const h=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,f=0;l?c?(u=n*t.width,f=s*e.height):(u=s*t.height,f=n*e.width):o==="start"?f=e.width:o==="end"?u=t.width:(u=t.width/2,f=e.width/2),this.paddingLeft=Math.max((u-h+r)*this.width/(this.width-h),0),this.paddingRight=Math.max((f-d+r)*this.width/(this.width-d),0)}else{let h=e.height/2,d=t.height/2;o==="start"?(h=0,d=t.height):o==="end"&&(h=e.height,d=0),this.paddingTop=h+r,this.paddingBottom=d+r}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){z(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return e==="top"||e==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let e,s;for(e=0,s=t.length;e({width:o[M]||0,height:r[M]||0});return{first:w(0),last:w(e-1),widest:w(_),highest:w(x),widths:o,heights:r}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return so(this._alignToPixels?mt(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&ta*n?a/s:l/n:l*n0}_computeGridLineItems(t){const e=this.axis,s=this.chart,n=this.options,{grid:o,position:r}=n,a=o.offset,l=this.isHorizontal(),h=this.ticks.length+(a?1:0),d=Wt(o),u=[],f=o.setContext(this.getContext()),g=f.drawBorder?f.borderWidth:0,p=g/2,m=function(C){return mt(s,C,g)};let b,v,y,_,x,w,M,S,k,T,L,A;if(r==="top")b=m(this.bottom),w=this.bottom-d,S=b-p,T=m(t.top)+p,A=t.bottom;else if(r==="bottom")b=m(this.top),T=t.top,A=m(t.bottom)-p,w=b+p,S=this.top+d;else if(r==="left")b=m(this.right),x=this.right-d,M=b-p,k=m(t.left)+p,L=t.right;else if(r==="right")b=m(this.left),k=t.left,L=m(t.right)-p,x=b+p,M=this.left+d;else if(e==="x"){if(r==="center")b=m((t.top+t.bottom)/2+.5);else if(D(r)){const C=Object.keys(r)[0],F=r[C];b=m(this.chart.scales[C].getPixelForValue(F))}T=t.top,A=t.bottom,w=b+p,S=w+d}else if(e==="y"){if(r==="center")b=m((t.left+t.right)/2);else if(D(r)){const C=Object.keys(r)[0],F=r[C];b=m(this.chart.scales[C].getPixelForValue(F))}x=b-p,M=x-d,k=t.left,L=t.right}const H=P(n.ticks.maxTicksLimit,h),Y=Math.max(1,Math.ceil(h/H));for(v=0;vo.value===t);return n>=0?e.setContext(this.getContext(n)).lineWidth:0}drawGrid(t){const e=this.options.grid,s=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let o,r;const a=(l,c,h)=>{!h.width||!h.color||(s.save(),s.lineWidth=h.width,s.strokeStyle=h.color,s.setLineDash(h.borderDash||[]),s.lineDashOffset=h.borderDashOffset,s.beginPath(),s.moveTo(l.x,l.y),s.lineTo(c.x,c.y),s.stroke(),s.restore())};if(e.display)for(o=0,r=n.length;o{this.draw(n)}}]:[{z:s,draw:n=>{this.drawBackground(),this.drawGrid(n),this.drawTitle()}},{z:s+1,draw:()=>{this.drawBorder()}},{z:e,draw:n=>{this.drawLabels(n)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",n=[];let o,r;for(o=0,r=e.length;o{const s=e.split("."),n=s.pop(),o=[i].concat(s).join("."),r=t[e].split("."),a=r.pop(),l=r.join(".");O.route(o,n,l,a)})}function Va(i){return"id"in i&&"defaults"in i}class Wa{constructor(){this.controllers=new fe(st,"datasets",!0),this.elements=new fe(nt,"elements"),this.plugins=new fe(Object,"plugins"),this.scales=new fe(kt,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,s){[...e].forEach(n=>{const o=s||this._getRegistryForType(n);s||o.isForType(n)||o===this.plugins&&n.id?this._exec(t,o,n):R(n,r=>{const a=s||this._getRegistryForType(r);this._exec(t,a,r)})})}_exec(t,e,s){const n=hi(t);z(s["before"+n],[],s),e[t](s),z(s["after"+n],[],s)}_getRegistryForType(t){for(let e=0;eo.filter(a=>!r.some(l=>a.plugin.id===l.plugin.id));this._notify(n(e,s),t,"stop"),this._notify(n(s,e),t,"start")}}function Ha(i){const t=[],e=Object.keys(lt.plugins.items);for(let n=0;n{const l=s[a];if(!D(l))return console.error(`Invalid scale configuration for scale: ${a}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const c=oi(a,l),h=Ua(c,n),d=e.scales||{};o[c]=o[c]||a,r[a]=Yt(Object.create(null),[{axis:c},l,d[c],d[h]])}),i.data.datasets.forEach(a=>{const l=a.type||i.type,c=a.indexAxis||ni(l,t),d=(Mt[l]||{}).scales||{};Object.keys(d).forEach(u=>{const f=Xa(u,c),g=a[f+"AxisID"]||o[f]||f;r[g]=r[g]||Object.create(null),Yt(r[g],[{axis:f},s[g],d[u]])})}),Object.keys(r).forEach(a=>{const l=r[a];Yt(l,[O.scales[l.type],O.scale])}),r}function On(i){const t=i.options||(i.options={});t.plugins=P(t.plugins,{}),t.scales=qa(i,t)}function An(i){return i=i||{},i.datasets=i.datasets||[],i.labels=i.labels||[],i}function Ga(i){return i=i||{},i.data=An(i.data),On(i),i}const ys=new Map,Ln=new Set;function ge(i,t){let e=ys.get(i);return e||(e=t(),ys.set(i,e),Ln.add(e)),e}const Nt=(i,t,e)=>{const s=vt(t,e);s!==void 0&&i.add(s)};class Za{constructor(t){this._config=Ga(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=An(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),On(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return ge(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,e){return ge(`${t}.transition.${e}`,()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,e){return ge(`${t}-${e}`,()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]])}pluginScopeKeys(t){const e=t.id,s=this.type;return ge(`${s}-plugin-${e}`,()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,e){const s=this._scopeCache;let n=s.get(t);return(!n||e)&&(n=new Map,s.set(t,n)),n}getOptionScopes(t,e,s){const{options:n,type:o}=this,r=this._cachedScopes(t,s),a=r.get(e);if(a)return a;const l=new Set;e.forEach(h=>{t&&(l.add(t),h.forEach(d=>Nt(l,t,d))),h.forEach(d=>Nt(l,n,d)),h.forEach(d=>Nt(l,Mt[o]||{},d)),h.forEach(d=>Nt(l,O,d)),h.forEach(d=>Nt(l,ii,d))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),Ln.has(e)&&r.set(e,c),c}chartOptionScopes(){const{options:t,type:e}=this;return[t,Mt[e]||{},O.datasets[e]||{},{type:e},O,ii]}resolveNamedOptions(t,e,s,n=[""]){const o={$shared:!0},{resolver:r,subPrefixes:a}=vs(this._resolverCache,t,n);let l=r;if(Qa(r,e)){o.$shared=!1,s=ut(s)?s():s;const c=this.createResolver(t,s,a);l=At(r,s,c)}for(const c of e)o[c]=l[c];return o}createResolver(t,e,s=[""],n){const{resolver:o}=vs(this._resolverCache,t,s);return D(e)?At(o,e,void 0,n):o}}function vs(i,t,e){let s=i.get(t);s||(s=new Map,i.set(t,s));const n=e.join();let o=s.get(n);return o||(o={resolver:xi(t,e),subPrefixes:e.filter(a=>!a.toLowerCase().includes("hover"))},s.set(n,o)),o}const Ja=i=>D(i)&&Object.getOwnPropertyNames(i).reduce((t,e)=>t||ut(i[e]),!1);function Qa(i,t){const{isScriptable:e,isIndexable:s}=an(i);for(const n of t){const o=e(n),r=s(n),a=(r||o)&&i[n];if(o&&(ut(a)||Ja(a))||r&&B(a))return!0}return!1}var tl="3.7.1";const el=["top","bottom","left","right","chartArea"];function Ms(i,t){return i==="top"||i==="bottom"||el.indexOf(i)===-1&&t==="x"}function ws(i,t){return function(e,s){return e[i]===s[i]?e[t]-s[t]:e[i]-s[i]}}function ks(i){const t=i.chart,e=t.options.animation;t.notifyPlugins("afterRender"),z(e&&e.onComplete,[i],t)}function il(i){const t=i.chart,e=t.options.animation;z(e&&e.onProgress,[i],t)}function Tn(i){return un()&&typeof i=="string"?i=document.getElementById(i):i&&i.length&&(i=i[0]),i&&i.canvas&&(i=i.canvas),i}const De={},Rn=i=>{const t=Tn(i);return Object.values(De).filter(e=>e.canvas===t).pop()};function sl(i,t,e){const s=Object.keys(i);for(const n of s){const o=+n;if(o>=t){const r=i[n];delete i[n],(e>0||o>t)&&(i[o+e]=r)}}}function nl(i,t,e,s){return!e||i.type==="mouseout"?null:s?t:i}class Di{constructor(t,e){const s=this.config=new Za(e),n=Tn(t),o=Rn(n);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas can be reused.");const r=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||Ma(n)),this.platform.updateConfig(s);const a=this.platform.acquireContext(n,r.aspectRatio),l=a&&a.canvas,c=l&&l.height,h=l&&l.width;if(this.id=Yn(),this.ctx=a,this.canvas=l,this.width=h,this.height=c,this._options=r,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Na,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=jn(d=>this.update(d),r.resizeDelay||0),this._dataChanges=[],De[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}ot.listen(this,"complete",ks),ot.listen(this,"progress",il),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:s,height:n,_aspectRatio:o}=this;return E(t)?e&&o?o:n?s/n:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():qi(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Yi(this.canvas,this.ctx),this}stop(){return ot.stop(this),this}resize(t,e){ot.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const s=this.options,n=this.canvas,o=s.maintainAspectRatio&&this.aspectRatio,r=this.platform.getMaximumSize(n,t,e,o),a=s.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=r.width,this.height=r.height,this._aspectRatio=this.aspectRatio,qi(this,a,!0)&&(this.notifyPlugins("resize",{size:r}),z(s.onResize,[this,r],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const e=this.options.scales||{};R(e,(s,n)=>{s.id=n})}buildOrUpdateScales(){const t=this.options,e=t.scales,s=this.scales,n=Object.keys(s).reduce((r,a)=>(r[a]=!1,r),{});let o=[];e&&(o=o.concat(Object.keys(e).map(r=>{const a=e[r],l=oi(r,a),c=l==="r",h=l==="x";return{options:a,dposition:c?"chartArea":h?"bottom":"left",dtype:c?"radialLinear":h?"category":"linear"}}))),R(o,r=>{const a=r.options,l=a.id,c=oi(l,a),h=P(a.type,r.dtype);(a.position===void 0||Ms(a.position,c)!==Ms(r.dposition))&&(a.position=r.dposition),n[l]=!0;let d=null;if(l in s&&s[l].type===h)d=s[l];else{const u=lt.getScale(h);d=new u({id:l,type:h,ctx:this.ctx,chart:this}),s[d.id]=d}d.init(a,t)}),R(n,(r,a)=>{r||delete s[a]}),R(s,r=>{ht.configure(this,r,r.options),ht.addBox(this,r)})}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,s=t.length;if(t.sort((n,o)=>n.index-o.index),s>e){for(let n=e;ne.length&&delete this._stacks,t.forEach((s,n)=>{e.filter(o=>o===s._dataset).length===0&&this._destroyDatasetMeta(n)})}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let s,n;for(this._removeUnreferencedMetasets(),s=0,n=e.length;s{this.getDatasetMeta(e).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const s=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),n=this._animationsDisabled=!s.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let r=0;for(let c=0,h=this.data.datasets.length;c{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(ws("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){R(this.scales,t=>{ht.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),s=new Set(t.events);(!Ei(e,s)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:s,start:n,count:o}of e){const r=s==="_removeElements"?-o:o;sl(t,n,r)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,s=o=>new Set(t.filter(r=>r[0]===o).map((r,a)=>a+","+r.splice(1).join(","))),n=s(0);for(let o=1;oo.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;ht.update(this,this.width,this.height,t);const e=this.chartArea,s=e.width<=0||e.height<=0;this._layers=[],R(this.boxes,n=>{s&&n.position==="chartArea"||(n.configure&&n.configure(),this._layers.push(...n._layers()))},this),this._layers.forEach((n,o)=>{n._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let e=0,s=this.data.datasets.length;e=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,s=t._clip,n=!s.disabled,o=this.chartArea,r={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(n&&Te(e,{left:s.left===!1?0:o.left-s.left,right:s.right===!1?this.width:o.right+s.right,top:s.top===!1?0:o.top-s.top,bottom:s.bottom===!1?this.height:o.bottom+s.bottom}),t.controller.draw(),n&&Re(e),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}getElementsAtEventForMode(t,e,s,n){const o=ea.modes[e];return typeof o=="function"?o(this,t,s,n):[]}getDatasetMeta(t){const e=this.data.datasets[t],s=this._metasets;let n=s.filter(o=>o&&o._dataset===e).pop();return n||(n={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},s.push(n)),n}getContext(){return this.$context||(this.$context=ft(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const s=this.getDatasetMeta(t);return typeof s.hidden=="boolean"?!s.hidden:!e.hidden}setDatasetVisibility(t,e){const s=this.getDatasetMeta(t);s.hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,s){const n=s?"show":"hide",o=this.getDatasetMeta(t),r=o.controller._resolveAnimations(void 0,n);Q(e)?(o.data[e].hidden=!s,this.update()):(this.setDatasetVisibility(t,s),r.update(o,{visible:s}),this.update(a=>a.datasetIndex===t?n:void 0))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),ot.remove(this),t=0,e=this.data.datasets.length;t{e.addEventListener(this,o,r),t[o]=r},n=(o,r,a)=>{o.offsetX=r,o.offsetY=a,this._eventHandler(o)};R(this.options.events,o=>s(o,n))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,s=(l,c)=>{e.addEventListener(this,l,c),t[l]=c},n=(l,c)=>{t[l]&&(e.removeEventListener(this,l,c),delete t[l])},o=(l,c)=>{this.canvas&&this.resize(l,c)};let r;const a=()=>{n("attach",a),this.attached=!0,this.resize(),s("resize",o),s("detach",r)};r=()=>{this.attached=!1,n("resize",o),this._stop(),this._resize(0,0),s("attach",a)},e.isAttached(this.canvas)?a():r()}unbindEvents(){R(this._listeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._listeners={},R(this._responsiveListeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,e,s){const n=s?"set":"remove";let o,r,a,l;for(e==="dataset"&&(o=this.getDatasetMeta(t[0].datasetIndex),o.controller["_"+n+"DatasetHoverStyle"]()),a=0,l=t.length;a{const a=this.getDatasetMeta(o);if(!a)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:a.data[r],index:r}});!_e(s,e)&&(this._active=s,this._lastEvent=null,this._updateHoverStyles(s,e))}notifyPlugins(t,e,s){return this._plugins.notify(this,t,e,s)}_updateHoverStyles(t,e,s){const n=this.options.hover,o=(l,c)=>l.filter(h=>!c.some(d=>h.datasetIndex===d.datasetIndex&&h.index===d.index)),r=o(e,t),a=s?t:o(t,e);r.length&&this.updateHoverStyle(r,n.mode,!1),a.length&&n.mode&&this.updateHoverStyle(a,n.mode,!0)}_eventHandler(t,e){const s={event:t,replay:e,cancelable:!0,inChartArea:wt(t,this.chartArea,this._minPadding)},n=r=>(r.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",s,n)===!1)return;const o=this._handleEvent(t,e,s.inChartArea);return s.cancelable=!1,this.notifyPlugins("afterEvent",s,n),(o||s.changed)&&this.render(),this}_handleEvent(t,e,s){const{_active:n=[],options:o}=this,r=e,a=this._getActiveElements(t,n,s,r),l=Zn(t),c=nl(t,this._lastEvent,s,l);s&&(this._lastEvent=null,z(o.onHover,[t,a,this],this),l&&z(o.onClick,[t,a,this],this));const h=!_e(a,n);return(h||e)&&(this._active=a,this._updateHoverStyles(a,n,e)),this._lastEvent=c,h}_getActiveElements(t,e,s,n){if(t.type==="mouseout")return[];if(!s)return e;const o=this.options.hover;return this.getElementsAtEventForMode(t,o.mode,o,n)}}const Ss=()=>R(Di.instances,i=>i._plugins.invalidate()),ct=!0;Object.defineProperties(Di,{defaults:{enumerable:ct,value:O},instances:{enumerable:ct,value:De},overrides:{enumerable:ct,value:Mt},registry:{enumerable:ct,value:lt},version:{enumerable:ct,value:tl},getChart:{enumerable:ct,value:Rn},register:{enumerable:ct,value:(...i)=>{lt.add(...i),Ss()}},unregister:{enumerable:ct,value:(...i)=>{lt.remove(...i),Ss()}}});function En(i,t,e){const{startAngle:s,pixelMargin:n,x:o,y:r,outerRadius:a,innerRadius:l}=t;let c=n/a;i.beginPath(),i.arc(o,r,a,s-c,e+c),l>n?(c=n/l,i.arc(o,r,l,e+c,s-c,!0)):i.arc(o,r,n,e+V,s-V),i.closePath(),i.clip()}function ol(i){return mi(i,["outerStart","outerEnd","innerStart","innerEnd"])}function rl(i,t,e,s){const n=ol(i.options.borderRadius),o=(e-t)/2,r=Math.min(o,s*t/2),a=l=>{const c=(e-Math.min(o,l))*s/2;return $(l,0,Math.min(o,c))};return{outerStart:a(n.outerStart),outerEnd:a(n.outerEnd),innerStart:$(n.innerStart,0,r),innerEnd:$(n.innerEnd,0,r)}}function Pt(i,t,e,s){return{x:e+i*Math.cos(t),y:s+i*Math.sin(t)}}function ri(i,t,e,s,n){const{x:o,y:r,startAngle:a,pixelMargin:l,innerRadius:c}=t,h=Math.max(t.outerRadius+s+e-l,0),d=c>0?c+s+e+l:0;let u=0;const f=n-a;if(s){const F=c>0?c-s:0,Tt=h>0?h-s:0,pt=(F+Tt)/2,Rt=pt!==0?f*pt/(pt+s):f;u=(f-Rt)/2}const g=Math.max(.001,f*h-e/W)/h,p=(f-g)/2,m=a+p+u,b=n-p-u,{outerStart:v,outerEnd:y,innerStart:_,innerEnd:x}=rl(t,d,h,b-m),w=h-v,M=h-y,S=m+v/w,k=b-y/M,T=d+_,L=d+x,A=m+_/T,H=b-x/L;if(i.beginPath(),i.arc(o,r,h,S,k),y>0){const F=Pt(M,k,o,r);i.arc(F.x,F.y,y,k,b+V)}const Y=Pt(L,b,o,r);if(i.lineTo(Y.x,Y.y),x>0){const F=Pt(L,H,o,r);i.arc(F.x,F.y,x,b+V,H+Math.PI)}if(i.arc(o,r,d,b-x/d,m+_/d,!0),_>0){const F=Pt(T,A,o,r);i.arc(F.x,F.y,_,A+Math.PI,m-V)}const C=Pt(w,m,o,r);if(i.lineTo(C.x,C.y),v>0){const F=Pt(w,S,o,r);i.arc(F.x,F.y,v,m-V,S)}i.closePath()}function al(i,t,e,s){const{fullCircles:n,startAngle:o,circumference:r}=t;let a=t.endAngle;if(n){ri(i,t,e,s,o+I);for(let l=0;l=I||Zt(o,a,l),p=at(r,c+u,h+u);return g&&p}getCenterPoint(t){const{x:e,y:s,startAngle:n,endAngle:o,innerRadius:r,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:l,spacing:c}=this.options,h=(n+o)/2,d=(r+a+c+l)/2;return{x:e+Math.cos(h)*d,y:s+Math.sin(h)*d}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:s}=this,n=(e.offset||0)/2,o=(e.spacing||0)/2;if(this.pixelMargin=e.borderAlign==="inner"?.33:0,this.fullCircles=s>I?Math.floor(s/I):0,s===0||this.innerRadius<0||this.outerRadius<0)return;t.save();let r=0;if(n){r=n/2;const l=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(l)*r,Math.sin(l)*r),this.circumference>=W&&(r=n)}t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor;const a=al(t,this,r,o);cl(t,this,r,o,a),t.restore()}}Oi.id="arc";Oi.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0};Oi.defaultRoutes={backgroundColor:"backgroundColor"};function Fn(i,t,e=t){i.lineCap=P(e.borderCapStyle,t.borderCapStyle),i.setLineDash(P(e.borderDash,t.borderDash)),i.lineDashOffset=P(e.borderDashOffset,t.borderDashOffset),i.lineJoin=P(e.borderJoinStyle,t.borderJoinStyle),i.lineWidth=P(e.borderWidth,t.borderWidth),i.strokeStyle=P(e.borderColor,t.borderColor)}function hl(i,t,e){i.lineTo(e.x,e.y)}function dl(i){return i.stepped?Co:i.tension||i.cubicInterpolationMode==="monotone"?Do:hl}function In(i,t,e={}){const s=i.length,{start:n=0,end:o=s-1}=e,{start:r,end:a}=t,l=Math.max(n,r),c=Math.min(o,a),h=na&&o>a;return{count:s,start:l,loop:t.loop,ilen:c(r+(c?a-_:_))%o,y=()=>{p!==m&&(i.lineTo(h,m),i.lineTo(h,p),i.lineTo(h,b))};for(l&&(f=n[v(0)],i.moveTo(f.x,f.y)),u=0;u<=a;++u){if(f=n[v(u)],f.skip)continue;const _=f.x,x=f.y,w=_|0;w===g?(xm&&(m=x),h=(d*h+_)/++d):(y(),i.lineTo(_,x),g=w,d=0,p=m=x),b=x}y()}function ai(i){const t=i.options,e=t.borderDash&&t.borderDash.length;return!i._decimated&&!i._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!e?fl:ul}function gl(i){return i.stepped?lr:i.tension||i.cubicInterpolationMode==="monotone"?cr:xt}function pl(i,t,e,s){let n=t._path;n||(n=t._path=new Path2D,t.path(n,e,s)&&n.closePath()),Fn(i,t.options),i.stroke(n)}function ml(i,t,e,s){const{segments:n,options:o}=t,r=ai(t);for(const a of n)Fn(i,o,a.style),i.beginPath(),r(i,t,a,{start:e,end:e+s-1})&&i.closePath(),i.stroke()}const bl=typeof Path2D=="function";function xl(i,t,e,s){bl&&!t.options.segment?pl(i,t,e,s):ml(i,t,e,s)}class gt extends nt{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const s=this.options;if((s.tension||s.cubicInterpolationMode==="monotone")&&!s.stepped&&!this._pointsUpdated){const n=s.spanGaps?this._loop:this._fullLoop;tr(this._points,s,t,n,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=mr(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,s=t.length;return s&&e[t[s-1].end]}interpolate(t,e){const s=this.options,n=t[e],o=this.points,r=xn(this,{property:e,start:n,end:n});if(!r.length)return;const a=[],l=gl(s);let c,h;for(c=0,h=r.length;ci!=="borderDash"&&i!=="fill"};function Ps(i,t,e,s){const n=i.options,{[e]:o}=i.getProps([e],s);return Math.abs(t-o)=e?!1:n):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function Cl(i){const{scale:t={},fill:e}=i;let s=null,n;return e==="start"?s=t.bottom:e==="end"?s=t.top:D(e)?s=t.getPixelForValue(e.value):t.getBasePixel&&(s=t.getBasePixel()),N(s)?(n=t.isHorizontal(),{x:n?s:null,y:n?null:s}):null}class Bn{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,e,s){const{x:n,y:o,radius:r}=this;return e=e||{start:0,end:I},t.arc(n,o,r,e.end,e.start,!0),!s.bounds}interpolate(t){const{x:e,y:s,radius:n}=this,o=t.angle;return{x:e+Math.cos(o)*n,y:s+Math.sin(o)*n,angle:o}}}function Dl(i){const{scale:t,fill:e}=i,s=t.options,n=t.getLabels().length,o=[],r=s.reverse?t.max:t.min,a=s.reverse?t.min:t.max;let l,c,h;if(e==="start"?h=r:e==="end"?h=a:D(e)?h=e.value:h=t.getBaseValue(),s.grid.circular)return c=t.getPointPositionForValue(0,r),new Bn({x:c.x,y:c.y,radius:t.getDistanceFromCenterForValue(h)});for(l=0;li;t--){const s=e[t];if(!isNaN(s.x)&&!isNaN(s.y))break}return t}function Al(i,t){const{x:e=null,y:s=null}=i||{},n=t.points,o=[];return t.segments.forEach(({start:r,end:a})=>{a=Li(r,a,n);const l=n[r],c=n[a];s!==null?(o.push({x:l.x,y:s}),o.push({x:c.x,y:s})):e!==null&&(o.push({x:e,y:l.y}),o.push({x:e,y:c.y}))}),o}function Ll(i){const{scale:t,index:e,line:s}=i,n=[],o=s.segments,r=s.points,a=Tl(t,e);a.push(Vn({x:null,y:t.bottom},s));for(let l=0;l=0;--r){const a=n[r].$filler;!a||(a.line.updateControlPoints(o,a.axis),s&&Qe(i.ctx,a,o))}},beforeDatasetsDraw(i,t,e){if(e.drawTime!=="beforeDatasetsDraw")return;const s=i.getSortedVisibleDatasetMetas();for(let n=s.length-1;n>=0;--n){const o=s[n].$filler;o&&Qe(i.ctx,o,i.chartArea)}},beforeDatasetDraw(i,t,e){const s=t.meta.$filler;!s||s.fill===!1||e.drawTime!=="beforeDatasetDraw"||Qe(i.ctx,s,i.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Ls=(i,t)=>{let{boxHeight:e=t,boxWidth:s=t}=i;return i.usePointStyle&&(e=Math.min(e,t),s=Math.min(s,t)),{boxWidth:s,boxHeight:e,itemHeight:Math.max(t,e)}},Nl=(i,t)=>i!==null&&t!==null&&i.datasetIndex===t.datasetIndex&&i.index===t.index;class Ts extends nt{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,s){this.maxWidth=t,this.maxHeight=e,this._margins=s,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=z(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter(s=>t.filter(s,this.chart.data))),t.sort&&(e=e.sort((s,n)=>t.sort(s,n,this.chart.data))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display){this.width=this.height=0;return}const s=t.labels,n=j(s.font),o=n.size,r=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=Ls(s,o);let c,h;e.font=n.string,this.isHorizontal()?(c=this.maxWidth,h=this._fitRows(r,o,a,l)+10):(h=this.maxHeight,c=this._fitCols(r,o,a,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(h,t.maxHeight||this.maxHeight)}_fitRows(t,e,s,n){const{ctx:o,maxWidth:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],h=n+a;let d=t;o.textAlign="left",o.textBaseline="middle";let u=-1,f=-h;return this.legendItems.forEach((g,p)=>{const m=s+e/2+o.measureText(g.text).width;(p===0||c[c.length-1]+m+2*a>r)&&(d+=h,c[c.length-(p>0?0:1)]=0,f+=h,u++),l[p]={left:0,top:f,row:u,width:m,height:n},c[c.length-1]+=m+a}),d}_fitCols(t,e,s,n){const{ctx:o,maxHeight:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],h=r-t;let d=a,u=0,f=0,g=0,p=0;return this.legendItems.forEach((m,b)=>{const v=s+e/2+o.measureText(m.text).width;b>0&&f+n+2*a>h&&(d+=u+a,c.push({width:u,height:f}),g+=u+a,p++,u=f=0),l[b]={left:g,top:f,col:p,width:v,height:n},u=Math.max(u,v),f+=n+a}),d+=u,c.push({width:u,height:f}),d}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:s,labels:{padding:n},rtl:o}}=this,r=Dt(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=K(s,this.left+n,this.right-this.lineWidths[a]);for(const c of e)a!==c.row&&(a=c.row,l=K(s,this.left+n,this.right-this.lineWidths[a])),c.top+=this.top+t+n,c.left=r.leftForLtr(r.x(l),c.width),l+=c.width+n}else{let a=0,l=K(s,this.top+t+n,this.bottom-this.columnSizes[a].height);for(const c of e)c.col!==a&&(a=c.col,l=K(s,this.top+t+n,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+n,c.left=r.leftForLtr(r.x(c.left),c.width),l+=c.height+n}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;Te(t,this),this._draw(),Re(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:s,ctx:n}=this,{align:o,labels:r}=t,a=O.color,l=Dt(t.rtl,this.left,this.width),c=j(r.font),{color:h,padding:d}=r,u=c.size,f=u/2;let g;this.drawTitle(),n.textAlign=l.textAlign("left"),n.textBaseline="middle",n.lineWidth=.5,n.font=c.string;const{boxWidth:p,boxHeight:m,itemHeight:b}=Ls(r,u),v=function(M,S,k){if(isNaN(p)||p<=0||isNaN(m)||m<0)return;n.save();const T=P(k.lineWidth,1);if(n.fillStyle=P(k.fillStyle,a),n.lineCap=P(k.lineCap,"butt"),n.lineDashOffset=P(k.lineDashOffset,0),n.lineJoin=P(k.lineJoin,"miter"),n.lineWidth=T,n.strokeStyle=P(k.strokeStyle,a),n.setLineDash(P(k.lineDash,[])),r.usePointStyle){const L={radius:p*Math.SQRT2/2,pointStyle:k.pointStyle,rotation:k.rotation,borderWidth:T},A=l.xPlus(M,p/2),H=S+f;ke(n,L,A,H)}else{const L=S+Math.max((u-m)/2,0),A=l.leftForLtr(M,p),H=Ct(k.borderRadius);n.beginPath(),Object.values(H).some(Y=>Y!==0)?Se(n,{x:A,y:L,w:p,h:m,radius:H}):n.rect(A,L,p,m),n.fill(),T!==0&&n.stroke()}n.restore()},y=function(M,S,k){Ot(n,k.text,M,S+b/2,c,{strikethrough:k.hidden,textAlign:l.textAlign(k.textAlign)})},_=this.isHorizontal(),x=this._computeTitleHeight();_?g={x:K(o,this.left+d,this.right-s[0]),y:this.top+d+x,line:0}:g={x:this.left+d,y:K(o,this.top+x+d,this.bottom-e[0].height),line:0},gn(this.ctx,t.textDirection);const w=b+d;this.legendItems.forEach((M,S)=>{n.strokeStyle=M.fontColor||h,n.fillStyle=M.fontColor||h;const k=n.measureText(M.text).width,T=l.textAlign(M.textAlign||(M.textAlign=r.textAlign)),L=p+f+k;let A=g.x,H=g.y;l.setWidth(this.width),_?S>0&&A+L+d>this.right&&(H=g.y+=w,g.line++,A=g.x=K(o,this.left+d,this.right-s[g.line])):S>0&&H+w>this.bottom&&(A=g.x=A+e[g.line].width+d,g.line++,H=g.y=K(o,this.top+x+d,this.bottom-e[g.line].height));const Y=l.x(A);v(Y,H,M),A=$n(T,A+p+f,_?A+L:this.right,t.rtl),y(l.x(A),H,M),_?g.x+=L+d:g.y+=w}),pn(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,s=j(e.font),n=X(e.padding);if(!e.display)return;const o=Dt(t.rtl,this.left,this.width),r=this.ctx,a=e.position,l=s.size/2,c=n.top+l;let h,d=this.left,u=this.width;if(this.isHorizontal())u=Math.max(...this.lineWidths),h=this.top+c,d=K(t.align,d,this.right-u);else{const g=this.columnSizes.reduce((p,m)=>Math.max(p,m.height),0);h=c+K(t.align,this.top,this.bottom-g-t.labels.padding-this._computeTitleHeight())}const f=K(a,d,d+u);r.textAlign=o.textAlign(Us(a)),r.textBaseline="middle",r.strokeStyle=e.color,r.fillStyle=e.color,r.font=s.string,Ot(r,e.text,f,h,s)}_computeTitleHeight(){const t=this.options.title,e=j(t.font),s=X(t.padding);return t.display?e.lineHeight+s.height:0}_getLegendItemAt(t,e){let s,n,o;if(at(t,this.left,this.right)&&at(e,this.top,this.bottom)){for(o=this.legendHitBoxes,s=0;si.chart.options.color,boxWidth:40,padding:10,generateLabels(i){const t=i.data.datasets,{labels:{usePointStyle:e,pointStyle:s,textAlign:n,color:o}}=i.legend.options;return i._getSortedDatasetMetas().map(r=>{const a=r.controller.getStyle(e?0:void 0),l=X(a.borderWidth);return{text:t[r.index].label,fillStyle:a.backgroundColor,fontColor:o,hidden:!r.visible,lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:a.borderColor,pointStyle:s||a.pointStyle,rotation:a.rotation,textAlign:n||a.textAlign,borderRadius:0,datasetIndex:r.index}},this)}},title:{color:i=>i.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:i=>!i.startsWith("on"),labels:{_scriptable:i=>!["generateLabels","filter","sort"].includes(i)}}};const xe={average(i){if(!i.length)return!1;let t,e,s=0,n=0,o=0;for(t=0,e=i.length;t-1?i.split(` -`):i}function $l(i,t){const{element:e,datasetIndex:s,index:n}=t,o=i.getDatasetMeta(s).controller,{label:r,value:a}=o.getLabelAndValue(n);return{chart:i,label:r,parsed:o.getParsed(n),raw:i.data.datasets[s].data[n],formattedValue:a,dataset:o.getDataset(),dataIndex:n,datasetIndex:s,element:e}}function Rs(i,t){const e=i.chart.ctx,{body:s,footer:n,title:o}=i,{boxWidth:r,boxHeight:a}=t,l=j(t.bodyFont),c=j(t.titleFont),h=j(t.footerFont),d=o.length,u=n.length,f=s.length,g=X(t.padding);let p=g.height,m=0,b=s.reduce((_,x)=>_+x.before.length+x.lines.length+x.after.length,0);if(b+=i.beforeBody.length+i.afterBody.length,d&&(p+=d*c.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),b){const _=t.displayColors?Math.max(a,l.lineHeight):l.lineHeight;p+=f*_+(b-f)*l.lineHeight+(b-1)*t.bodySpacing}u&&(p+=t.footerMarginTop+u*h.lineHeight+(u-1)*t.footerSpacing);let v=0;const y=function(_){m=Math.max(m,e.measureText(_).width+v)};return e.save(),e.font=c.string,R(i.title,y),e.font=l.string,R(i.beforeBody.concat(i.afterBody),y),v=t.displayColors?r+2+t.boxPadding:0,R(s,_=>{R(_.before,y),R(_.lines,y),R(_.after,y)}),v=0,e.font=h.string,R(i.footer,y),e.restore(),m+=g.width,{width:m,height:p}}function Yl(i,t){const{y:e,height:s}=t;return ei.height-s/2?"bottom":"center"}function Xl(i,t,e,s){const{x:n,width:o}=s,r=e.caretSize+e.caretPadding;if(i==="left"&&n+o+r>t.width||i==="right"&&n-o-r<0)return!0}function Ul(i,t,e,s){const{x:n,width:o}=e,{width:r,chartArea:{left:a,right:l}}=i;let c="center";return s==="center"?c=n<=(a+l)/2?"left":"right":n<=o/2?c="left":n>=r-o/2&&(c="right"),Xl(c,i,t,e)&&(c="center"),c}function Es(i,t,e){const s=e.yAlign||t.yAlign||Yl(i,e);return{xAlign:e.xAlign||t.xAlign||Ul(i,t,e,s),yAlign:s}}function Kl(i,t){let{x:e,width:s}=i;return t==="right"?e-=s:t==="center"&&(e-=s/2),e}function ql(i,t,e){let{y:s,height:n}=i;return t==="top"?s+=e:t==="bottom"?s-=n+e:s-=n/2,s}function Fs(i,t,e,s){const{caretSize:n,caretPadding:o,cornerRadius:r}=i,{xAlign:a,yAlign:l}=e,c=n+o,{topLeft:h,topRight:d,bottomLeft:u,bottomRight:f}=Ct(r);let g=Kl(t,a);const p=ql(t,l,c);return l==="center"?a==="left"?g+=c:a==="right"&&(g-=c):a==="left"?g-=Math.max(h,u)+n:a==="right"&&(g+=Math.max(d,f)+n),{x:$(g,0,s.width-t.width),y:$(p,0,s.height-t.height)}}function pe(i,t,e){const s=X(e.padding);return t==="center"?i.x+i.width/2:t==="right"?i.x+i.width-s.right:i.x+s.left}function Is(i){return et([],rt(i))}function Gl(i,t,e){return ft(i,{tooltip:t,tooltipItems:e,type:"tooltip"})}function zs(i,t){const e=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return e?i.override(e):i}class Zl extends nt{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart||t._chart,this._chart=this.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,s=this.options.setContext(this.getContext()),n=s.enabled&&e.options.animation&&s.animations,o=new _n(this.chart,n);return n._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=Gl(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,e){const{callbacks:s}=e,n=s.beforeTitle.apply(this,[t]),o=s.title.apply(this,[t]),r=s.afterTitle.apply(this,[t]);let a=[];return a=et(a,rt(n)),a=et(a,rt(o)),a=et(a,rt(r)),a}getBeforeBody(t,e){return Is(e.callbacks.beforeBody.apply(this,[t]))}getBody(t,e){const{callbacks:s}=e,n=[];return R(t,o=>{const r={before:[],lines:[],after:[]},a=zs(s,o);et(r.before,rt(a.beforeLabel.call(this,o))),et(r.lines,a.label.call(this,o)),et(r.after,rt(a.afterLabel.call(this,o))),n.push(r)}),n}getAfterBody(t,e){return Is(e.callbacks.afterBody.apply(this,[t]))}getFooter(t,e){const{callbacks:s}=e,n=s.beforeFooter.apply(this,[t]),o=s.footer.apply(this,[t]),r=s.afterFooter.apply(this,[t]);let a=[];return a=et(a,rt(n)),a=et(a,rt(o)),a=et(a,rt(r)),a}_createItems(t){const e=this._active,s=this.chart.data,n=[],o=[],r=[];let a=[],l,c;for(l=0,c=e.length;lt.filter(h,d,u,s))),t.itemSort&&(a=a.sort((h,d)=>t.itemSort(h,d,s))),R(a,h=>{const d=zs(t.callbacks,h);n.push(d.labelColor.call(this,h)),o.push(d.labelPointStyle.call(this,h)),r.push(d.labelTextColor.call(this,h))}),this.labelColors=n,this.labelPointStyles=o,this.labelTextColors=r,this.dataPoints=a,a}update(t,e){const s=this.options.setContext(this.getContext()),n=this._active;let o,r=[];if(!n.length)this.opacity!==0&&(o={opacity:0});else{const a=xe[s.position].call(this,n,this._eventPosition);r=this._createItems(s),this.title=this.getTitle(r,s),this.beforeBody=this.getBeforeBody(r,s),this.body=this.getBody(r,s),this.afterBody=this.getAfterBody(r,s),this.footer=this.getFooter(r,s);const l=this._size=Rs(this,s),c=Object.assign({},a,l),h=Es(this.chart,s,c),d=Fs(s,c,h,this.chart);this.xAlign=h.xAlign,this.yAlign=h.yAlign,o={opacity:1,x:d.x,y:d.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=r,this.$context=void 0,o&&this._resolveAnimations().update(this,o),t&&s.external&&s.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,s,n){const o=this.getCaretPosition(t,s,n);e.lineTo(o.x1,o.y1),e.lineTo(o.x2,o.y2),e.lineTo(o.x3,o.y3)}getCaretPosition(t,e,s){const{xAlign:n,yAlign:o}=this,{caretSize:r,cornerRadius:a}=s,{topLeft:l,topRight:c,bottomLeft:h,bottomRight:d}=Ct(a),{x:u,y:f}=t,{width:g,height:p}=e;let m,b,v,y,_,x;return o==="center"?(_=f+p/2,n==="left"?(m=u,b=m-r,y=_+r,x=_-r):(m=u+g,b=m+r,y=_-r,x=_+r),v=m):(n==="left"?b=u+Math.max(l,h)+r:n==="right"?b=u+g-Math.max(c,d)-r:b=this.caretX,o==="top"?(y=f,_=y-r,m=b-r,v=b+r):(y=f+p,_=y+r,m=b+r,v=b-r),x=y),{x1:m,x2:b,x3:v,y1:y,y2:_,y3:x}}drawTitle(t,e,s){const n=this.title,o=n.length;let r,a,l;if(o){const c=Dt(s.rtl,this.x,this.width);for(t.x=pe(this,s.titleAlign,s),e.textAlign=c.textAlign(s.titleAlign),e.textBaseline="middle",r=j(s.titleFont),a=s.titleSpacing,e.fillStyle=s.titleColor,e.font=r.string,l=0;ly!==0)?(t.beginPath(),t.fillStyle=o.multiKeyBackground,Se(t,{x:m,y:p,w:c,h:l,radius:v}),t.fill(),t.stroke(),t.fillStyle=r.backgroundColor,t.beginPath(),Se(t,{x:b,y:p+1,w:c-2,h:l-2,radius:v}),t.fill()):(t.fillStyle=o.multiKeyBackground,t.fillRect(m,p,c,l),t.strokeRect(m,p,c,l),t.fillStyle=r.backgroundColor,t.fillRect(b,p+1,c-2,l-2))}t.fillStyle=this.labelTextColors[s]}drawBody(t,e,s){const{body:n}=this,{bodySpacing:o,bodyAlign:r,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:h}=s,d=j(s.bodyFont);let u=d.lineHeight,f=0;const g=Dt(s.rtl,this.x,this.width),p=function(S){e.fillText(S,g.x(t.x+f),t.y+u/2),t.y+=u+o},m=g.textAlign(r);let b,v,y,_,x,w,M;for(e.textAlign=r,e.textBaseline="middle",e.font=d.string,t.x=pe(this,m,s),e.fillStyle=s.bodyColor,R(this.beforeBody,p),f=a&&m!=="right"?r==="center"?c/2+h:c+2+h:0,_=0,w=n.length;_0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,s=this.$animations,n=s&&s.x,o=s&&s.y;if(n||o){const r=xe[t.position].call(this,this._active,this._eventPosition);if(!r)return;const a=this._size=Rs(this,t),l=Object.assign({},r,this._size),c=Es(e,t,l),h=Fs(t,l,c,e);(n._to!==h.x||o._to!==h.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=r.x,this.caretY=r.y,this._resolveAnimations().update(this,h))}}draw(t){const e=this.options.setContext(this.getContext());let s=this.opacity;if(!s)return;this._updateAnimationTarget(e);const n={width:this.width,height:this.height},o={x:this.x,y:this.y};s=Math.abs(s)<.001?0:s;const r=X(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&a&&(t.save(),t.globalAlpha=s,this.drawBackground(o,t,n,e),gn(t,e.textDirection),o.y+=r.top,this.drawTitle(o,t,e),this.drawBody(o,t,e),this.drawFooter(o,t,e),pn(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const s=this._active,n=t.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),o=!_e(s,n),r=this._positionChanged(n,e);(o||r)&&(this._active=n,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,s=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const n=this.options,o=this._active||[],r=this._getActiveElements(t,o,e,s),a=this._positionChanged(r,t),l=e||!_e(r,o)||a;return l&&(this._active=r,(n.enabled||n.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),l}_getActiveElements(t,e,s,n){const o=this.options;if(t.type==="mouseout")return[];if(!n)return e;const r=this.chart.getElementsAtEventForMode(t,o.mode,o,s);return o.reverse&&r.reverse(),r}_positionChanged(t,e){const{caretX:s,caretY:n,options:o}=this,r=xe[o.position].call(this,t,e);return r!==!1&&(s!==r.x||n!==r.y)}}Zl.positioners=xe;const Jl=(i,t,e,s)=>(typeof t=="string"?(e=i.push(t)-1,s.unshift({index:e,label:t})):isNaN(t)&&(e=null),e);function Ql(i,t,e,s){const n=i.indexOf(t);if(n===-1)return Jl(i,t,e,s);const o=i.lastIndexOf(t);return n!==o?e:n}const tc=(i,t)=>i===null?null:$(Math.round(i),0,t);class Oe extends kt{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const s=this.getLabels();for(const{index:n,label:o}of e)s[n]===o&&s.splice(n,1);this._addedLabels=[]}super.init(t)}parse(t,e){if(E(t))return null;const s=this.getLabels();return e=isFinite(e)&&s[e]===t?e:Ql(s,t,P(e,t),this._addedLabels),tc(e,s.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:s,max:n}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(s=0),e||(n=this.getLabels().length-1)),this.min=s,this.max=n}buildTicks(){const t=this.min,e=this.max,s=this.options.offset,n=[];let o=this.getLabels();o=t===0&&e===o.length-1?o:o.slice(t,e+1),this._valueRange=Math.max(o.length-(s?0:1),1),this._startValue=this.min-(s?.5:0);for(let r=t;r<=e;r++)n.push({value:r});return n}getLabelForValue(t){const e=this.getLabels();return t>=0&&te.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}Oe.id="category";Oe.defaults={ticks:{callback:Oe.prototype.getLabelForValue}};function ec(i,t){const e=[],{bounds:n,step:o,min:r,max:a,precision:l,count:c,maxTicks:h,maxDigits:d,includeBounds:u}=i,f=o||1,g=h-1,{min:p,max:m}=t,b=!E(r),v=!E(a),y=!E(c),_=(m-p)/(d+1);let x=Ii((m-p)/g/f)*f,w,M,S,k;if(x<1e-14&&!b&&!v)return[{value:p},{value:m}];k=Math.ceil(m/x)-Math.floor(p/x),k>g&&(x=Ii(k*x/g/f)*f),E(l)||(w=Math.pow(10,l),x=Math.ceil(x*w)/w),n==="ticks"?(M=Math.floor(p/x)*x,S=Math.ceil(m/x)*x):(M=p,S=m),b&&v&&o&&eo((a-r)/o,x/1e3)?(k=Math.round(Math.min((a-r)/x,h)),x=(a-r)/k,M=r,S=a):y?(M=b?r:M,S=v?a:S,k=c-1,x=(S-M)/k):(k=(S-M)/x,Xt(k,Math.round(k),x/1e3)?k=Math.round(k):k=Math.ceil(k));const T=Math.max(zi(x),zi(M));w=Math.pow(10,E(l)?T:l),M=Math.round(M*w)/w,S=Math.round(S*w)/w;let L=0;for(b&&(u&&M!==r?(e.push({value:r}),Mn=e?n:l,a=l=>o=s?o:l;if(t){const l=it(n),c=it(o);l<0&&c<0?a(0):l>0&&c>0&&r(0)}if(n===o){let l=1;(o>=Number.MAX_SAFE_INTEGER||n<=Number.MIN_SAFE_INTEGER)&&(l=Math.abs(o*.05)),a(o+l),t||r(n-l)}this.min=n,this.max=o}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:e,stepSize:s}=t,n;return s?(n=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,n>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${n} ticks. Limiting to 1000.`),n=1e3)):(n=this.computeTickLimit(),e=e||11),e&&(n=Math.min(e,n)),n}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let s=this.getTickLimit();s=Math.max(2,s);const n={maxTicks:s,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:e.includeBounds!==!1},o=this._range||this,r=ec(n,o);return t.bounds==="ticks"&&Gs(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const t=this.ticks;let e=this.min,s=this.max;if(super.configure(),this.options.offset&&t.length){const n=(s-e)/Math.max(t.length-1,1)/2;e-=n,s+=n}this._startValue=e,this._endValue=s,this._valueRange=s-e}getLabelForValue(t){return ee(t,this.chart.options.locale,this.options.ticks.format)}}class Ti extends Ae{determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=N(t)?t:0,this.max=N(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,s=tt(this.options.ticks.minRotation),n=(t?Math.sin(s):Math.cos(s))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,o.lineHeight/n))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}Ti.id="linear";Ti.defaults={ticks:{callback:Fe.formatters.numeric}};function Vs(i){return i/Math.pow(10,Math.floor(J(i)))===1}function ic(i,t){const e=Math.floor(J(t.max)),s=Math.ceil(t.max/Math.pow(10,e)),n=[];let o=Z(i.min,Math.pow(10,Math.floor(J(t.min)))),r=Math.floor(J(o)),a=Math.floor(o/Math.pow(10,r)),l=r<0?Math.pow(10,Math.abs(r)):1;do n.push({value:o,major:Vs(o)}),++a,a===10&&(a=1,++r,l=r>=0?1:l),o=Math.round(a*Math.pow(10,r)*l)/l;while(r0?s:null}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=N(t)?Math.max(0,t):null,this.max=N(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let s=this.min,n=this.max;const o=l=>s=t?s:l,r=l=>n=e?n:l,a=(l,c)=>Math.pow(10,Math.floor(J(l))+c);s===n&&(s<=0?(o(1),r(10)):(o(a(s,-1)),r(a(n,1)))),s<=0&&o(a(n,-1)),n<=0&&r(a(s,1)),this._zero&&this.min!==this._suggestedMin&&s===a(this.min,0)&&o(a(s,-1)),this.min=s,this.max=n}buildTicks(){const t=this.options,e={min:this._userMin,max:this._userMax},s=ic(e,this);return t.bounds==="ticks"&&Gs(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}getLabelForValue(t){return t===void 0?"0":ee(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=J(t),this._valueRange=J(this.max)-J(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(J(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}Wn.id="logarithmic";Wn.defaults={ticks:{callback:Fe.formatters.logarithmic,major:{enabled:!0}}};function ci(i){const t=i.ticks;if(t.display&&i.display){const e=X(t.backdropPadding);return P(t.font&&t.font.size,O.font.size)+e.height}return 0}function sc(i,t,e){return e=B(e)?e:[e],{w:Po(i,t.string,e),h:e.length*t.lineHeight}}function Ws(i,t,e,s,n){return i===s||i===n?{start:t-e/2,end:t+e/2}:in?{start:t-e,end:t}:{start:t,end:t+e}}function nc(i){const t={l:i.left+i._padding.left,r:i.right-i._padding.right,t:i.top+i._padding.top,b:i.bottom-i._padding.bottom},e=Object.assign({},t),s=[],n=[],o=i._pointLabels.length,r=i.options.pointLabels,a=r.centerPointLabels?W/o:0;for(let l=0;lt.r&&(a=(s.end-t.r)/o,i.r=Math.max(i.r,t.r+a)),n.startt.b&&(l=(n.end-t.b)/r,i.b=Math.max(i.b,t.b+l))}function rc(i,t,e){const s=[],n=i._pointLabels.length,o=i.options,r=ci(o)/2,a=i.drawingArea,l=o.pointLabels.centerPointLabels?W/n:0;for(let c=0;c270||e<90)&&(i-=t),i}function hc(i,t){const{ctx:e,options:{pointLabels:s}}=i;for(let n=t-1;n>=0;n--){const o=s.setContext(i.getPointLabelContext(n)),r=j(o.font),{x:a,y:l,textAlign:c,left:h,top:d,right:u,bottom:f}=i._pointLabelItems[n],{backdropColor:g}=o;if(!E(g)){const p=X(o.backdropPadding);e.fillStyle=g,e.fillRect(h-p.left,d-p.top,u-h+p.width,f-d+p.height)}Ot(e,i._pointLabels[n],a,l+r.lineHeight/2,r,{color:o.color,textAlign:c,textBaseline:"middle"})}}function Nn(i,t,e,s){const{ctx:n}=i;if(e)n.arc(i.xCenter,i.yCenter,t,0,I);else{let o=i.getPointPosition(0,t);n.moveTo(o.x,o.y);for(let r=1;r{const n=z(this.options.pointLabels.callback,[e,s],this);return n||n===0?n:""}).filter((e,s)=>this.chart.getDataVisibility(s))}fit(){const t=this.options;t.display&&t.pointLabels.display?nc(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,s,n){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((s-n)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,s,n))}getIndexAngle(t){const e=I/(this._pointLabels.length||1),s=this.options.startAngle||0;return q(t*e+tt(s))}getDistanceFromCenterForValue(t){if(E(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(E(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t{if(h!==0){a=this.getDistanceFromCenterForValue(c.value);const d=n.setContext(this.getContext(h-1));dc(this,d,a,o)}}),s.display){for(t.save(),r=o-1;r>=0;r--){const c=s.setContext(this.getPointLabelContext(r)),{color:h,lineWidth:d}=c;!d||!h||(t.lineWidth=d,t.strokeStyle=h,t.setLineDash(c.borderDash),t.lineDashOffset=c.borderDashOffset,a=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),l=this.getPointPosition(r,a),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(l.x,l.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,s=e.ticks;if(!s.display)return;const n=this.getIndexAngle(0);let o,r;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(n),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((a,l)=>{if(l===0&&!e.reverse)return;const c=s.setContext(this.getContext(l)),h=j(c.font);if(o=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){t.font=h.string,r=t.measureText(a.label).width,t.fillStyle=c.backdropColor;const d=X(c.backdropPadding);t.fillRect(-r/2-d.left,-o-h.size/2-d.top,r+d.width,h.size+d.height)}Ot(t,a.label,0,-o,h,{color:c.color})}),t.restore()}drawTitle(){}}ze.id="radialLinear";ze.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Fe.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(i){return i},padding:5,centerPointLabels:!1}};ze.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};ze.descriptors={angleLines:{_fallback:"grid"}};const Be={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},U=Object.keys(Be);function fc(i,t){return i-t}function Ns(i,t){if(E(t))return null;const e=i._adapter,{parser:s,round:n,isoWeekday:o}=i._parseOpts;let r=t;return typeof s=="function"&&(r=s(r)),N(r)||(r=typeof s=="string"?e.parse(r,s):e.parse(r)),r===null?null:(n&&(r=n==="week"&&(Gt(o)||o===!0)?e.startOf(r,"isoWeek",o):e.startOf(r,n)),+r)}function Hs(i,t,e,s){const n=U.length;for(let o=U.indexOf(i);o=U.indexOf(e);o--){const r=U[o];if(Be[r].common&&i._adapter.diff(n,s,r)>=t-1)return r}return U[e?U.indexOf(e):0]}function pc(i){for(let t=U.indexOf(i)+1,e=U.length;t=t?e[s]:e[n];i[o]=!0}}function mc(i,t,e,s){const n=i._adapter,o=+n.startOf(t[0].value,s),r=t[t.length-1].value;let a,l;for(a=o;a<=r;a=+n.add(a,1,s))l=e[a],l>=0&&(t[l].major=!0);return t}function $s(i,t,e){const s=[],n={},o=t.length;let r,a;for(r=0;r1e5*a)throw new Error(e+" and "+s+" are too far apart with stepSize of "+a+" "+r);const g=n.ticks.source==="data"&&this.getDataTimestamps();for(u=d,f=0;up-m).map(p=>+p)}getLabelForValue(t){const e=this._adapter,s=this.options.time;return s.tooltipFormat?e.format(t,s.tooltipFormat):e.format(t,s.displayFormats.datetime)}_tickFormatFunction(t,e,s,n){const o=this.options,r=o.time.displayFormats,a=this._unit,l=this._majorUnit,c=a&&r[a],h=l&&r[l],d=s[e],u=l&&h&&d&&d.major,f=this._adapter.format(t,n||(u?h:c)),g=o.ticks.callback;return g?z(g,[f,e,s],this):f}generateTickLabels(t){let e,s,n;for(e=0,s=t.length;e0?a:1}getDataTimestamps(){let t=this._cache.data||[],e,s;if(t.length)return t;const n=this.getMatchingVisibleMetas();if(this._normalized&&n.length)return this._cache.data=n[0].controller.getAllParsedValues(this);for(e=0,s=n.length;e=i[s].pos&&t<=i[n].pos&&({lo:s,hi:n}=_t(i,"pos",t)),{pos:o,time:a}=i[s],{pos:r,time:l}=i[n]):(t>=i[s].time&&t<=i[n].time&&({lo:s,hi:n}=_t(i,"time",t)),{time:o,pos:a}=i[s],{time:r,pos:l}=i[n]);const c=r-o;return c?a+(l-a)*(t-o)/c:a}class Hn extends Ve{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=me(e,this.min),this._tableRange=me(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:s}=this,n=[],o=[];let r,a,l,c,h;for(r=0,a=t.length;r=e&&c<=s&&n.push(c);if(n.length<2)return[{time:e,pos:0},{time:s,pos:1}];for(r=0,a=n.length;re in r?u(r,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[e]=o,f=(r,e)=>{for(var o in e||(e={}))w.call(e,o)&&p(r,o,e[o]);if(l)for(var o of l(e))b.call(e,o)&&p(r,o,e[o]);return r},v=(r,e)=>y(r,g(e));import{r as d,j as c,P as s}from"./index.1ca2d13d.js";function j(r,e){if(r==null)return{};var o=O(r,e),n,t;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(t=0;t=0)&&(!Object.prototype.propertyIsEnumerable.call(r,n)||(o[n]=r[n]))}return o}function O(r,e){if(r==null)return{};var o={},n=Object.keys(r),t,i;for(i=0;i=0)&&(o[t]=r[t]);return o}var a=d.exports.forwardRef(function(r,e){var o=r.color,n=o===void 0?"currentColor":o,t=r.size,i=t===void 0?24:t,h=j(r,["color","size"]);return c("svg",v(f({ref:e,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},h),{children:c("polyline",{points:"6 9 12 15 18 9"})}))});a.propTypes={color:s.string,size:s.oneOfType([s.string,s.number])};a.displayName="ChevronDown";var x=a;export{x as C}; diff --git a/bin/Yacd-meta-gh-pages/assets/debounce.d080d5e1.js b/bin/Yacd-meta-gh-pages/assets/debounce.d080d5e1.js deleted file mode 100644 index fd75806a..00000000 --- a/bin/Yacd-meta-gh-pages/assets/debounce.d080d5e1.js +++ /dev/null @@ -1 +0,0 @@ -function S(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}var M=typeof global=="object"&&global&&global.Object===Object&&global,R=M,w=typeof self=="object"&&self&&self.Object===Object&&self,B=R||w||Function("return this")(),W=B,F=function(){return W.Date.now()},p=F,G=/\s/;function U(e){for(var n=e.length;n--&&G.test(e.charAt(n)););return n}var _=/^\s+/;function D(e){return e&&e.slice(0,U(e)+1).replace(_,"")}var H=W.Symbol,y=H,L=Object.prototype,X=L.hasOwnProperty,q=L.toString,g=y?y.toStringTag:void 0;function z(e){var n=X.call(e,g),i=e[g];try{e[g]=void 0;var o=!0}catch{}var f=q.call(e);return o&&(n?e[g]=i:delete e[g]),f}var J=Object.prototype,K=J.toString;function Q(e){return K.call(e)}var V="[object Null]",Y="[object Undefined]",$=y?y.toStringTag:void 0;function Z(e){return e==null?e===void 0?Y:V:$&&$ in Object(e)?z(e):Q(e)}function ee(e){return e!=null&&typeof e=="object"}var ne="[object Symbol]";function te(e){return typeof e=="symbol"||ee(e)&&Z(e)==ne}var E=0/0,re=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,oe=/^0o[0-7]+$/i,ae=parseInt;function k(e){if(typeof e=="number")return e;if(te(e))return E;if(S(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=S(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=D(e);var i=ie.test(e);return i||oe.test(e)?ae(e.slice(2),i?2:8):re.test(e)?E:+e}var fe="Expected a function",ce=Math.max,ue=Math.min;function se(e,n,i){var o,f,s,u,r,c,d=0,O=!1,l=!1,T=!0;if(typeof e!="function")throw new TypeError(fe);n=k(n)||0,S(i)&&(O=!!i.leading,l="maxWait"in i,s=l?ce(k(i.maxWait)||0,n):s,T="trailing"in i?!!i.trailing:T);function j(t){var a=o,b=f;return o=f=void 0,d=t,u=e.apply(b,a),u}function N(t){return d=t,r=setTimeout(m,n),O?j(t):u}function P(t){var a=t-c,b=t-d,I=n-a;return l?ue(I,s-b):I}function h(t){var a=t-c,b=t-d;return c===void 0||a>=n||a<0||l&&b>=s}function m(){var t=p();if(h(t))return x(t);r=setTimeout(m,P(t))}function x(t){return r=void 0,T&&o?j(t):(o=f=void 0,u)}function A(){r!==void 0&&clearTimeout(r),d=0,o=c=f=r=void 0}function C(){return r===void 0?u:x(p())}function v(){var t=p(),a=h(t);if(o=arguments,f=this,c=t,a){if(r===void 0)return N(c);if(l)return clearTimeout(r),r=setTimeout(m,n),j(c)}return r===void 0&&(r=setTimeout(m,n)),u}return v.cancel=A,v.flush=C,v}export{se as d}; diff --git a/bin/Yacd-meta-gh-pages/assets/en.27a4fc6f.js b/bin/Yacd-meta-gh-pages/assets/en.27a4fc6f.js deleted file mode 100644 index 73bfda8a..00000000 --- a/bin/Yacd-meta-gh-pages/assets/en.27a4fc6f.js +++ /dev/null @@ -1 +0,0 @@ -const e={Overview:"Overview",Proxies:"Proxies",Rules:"Rules",Conns:"Conns",Config:"Config",Logs:"Logs",Upload:"Upload",Download:"Download","Upload Total":"Upload Total","Download Total":"Download Total","Active Connections":"Active Connections","Pause Refresh":"Pause Refresh","Resume Refresh":"Resume Refresh",close_all_connections:"Close All Connections",Search:"Search",Up:"Up",Down:"Down","Test Latency":"Test Latency",settings:"settings",sort_in_grp:"Sorting in group",hide_unavail_proxies:"Hide unavailable proxies",auto_close_conns:"Automatically close old connections",order_natural:"Original order in config file",order_latency_asc:"By latency from small to big",order_latency_desc:"By latency from big to small",order_name_asc:"By name alphabetically (A-Z)",order_name_desc:"By name alphabetically (Z-A)",Connections:"Connections",Active:"Active",Closed:"Closed",switch_theme:"Switch theme",theme:"theme",about:"about",no_logs:"No logs yet, hang tight...",chart_style:"Chart Style",latency_test_url:"Latency Test URL",lang:"Language",update_all_rule_provider:"Update all rule providers",update_all_proxy_provider:"Update all proxy providers",reload_config_file:"Reload config file",update_geo_databases_file:"Update GEO Databases ",flush_fake_ip_pool:"Flush fake-ip data",enable_tun_device:"Enable TUN Device",allow_lan:"Allow LAN",tls_sniffing:"Sniffer",c_host:"Host",c_process:"Process",c_dl:"DL",c_ul:"UL",c_dl_speed:"DL Speed",c_ul_speed:"UP Speed",c_chains:"Chains",c_rule:"Rule",c_time:"Time",c_source:"Source",c_destination_ip:"Destination IP",c_type:"Type"};export{e as data}; diff --git a/bin/Yacd-meta-gh-pages/assets/index.1ca2d13d.js b/bin/Yacd-meta-gh-pages/assets/index.1ca2d13d.js deleted file mode 100644 index 94bbe6eb..00000000 --- a/bin/Yacd-meta-gh-pages/assets/index.1ca2d13d.js +++ /dev/null @@ -1,85 +0,0 @@ -var dS=Object.defineProperty,pS=Object.defineProperties;var hS=Object.getOwnPropertyDescriptors;var Ea=Object.getOwnPropertySymbols;var xp=Object.prototype.hasOwnProperty,Op=Object.prototype.propertyIsEnumerable;var Ep=(e,t,n)=>t in e?dS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Y=(e,t)=>{for(var n in t||(t={}))xp.call(t,n)&&Ep(e,n,t[n]);if(Ea)for(var n of Ea(t))Op.call(t,n)&&Ep(e,n,t[n]);return e},he=(e,t)=>pS(e,hS(t));var pr=(e,t)=>{var n={};for(var r in e)xp.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ea)for(var r of Ea(e))t.indexOf(r)<0&&Op.call(e,r)&&(n[r]=e[r]);return n};function Bm(e,t){return t.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(r){if(r!=="default"&&!(r in e)){var o=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:function(){return n[r]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const vS=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerpolicy&&(i.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?i.credentials="include":o.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}};vS();const mS="modulepreload",kp={},gS="./",_n=function(t,n){return!n||n.length===0?t():Promise.all(n.map(r=>{if(r=`${gS}${r}`,r in kp)return;kp[r]=!0;const o=r.endsWith(".css"),i=o?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${i}`))return;const a=document.createElement("link");if(a.rel=o?"stylesheet":mS,o||(a.as="script",a.crossOrigin=""),a.href=r,document.head.appendChild(a),o)return new Promise((s,l)=>{a.addEventListener("load",s),a.addEventListener("error",()=>l(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())};function Bn(e){return Bn=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},Bn(e)}function Mt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pp(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{};Mt(this,e),this.init(t,n)}return $t(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=n||SS,this.options=r,this.debug=r.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,r=new Array(n),o=0;o1?r-1:0),i=1;i-1?s.replace(/###/g,"."):s}function o(){return!e||typeof e=="string"}for(var i=typeof t!="string"?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),Object.prototype.hasOwnProperty.call(e,a)?e=e[a]:e={}}return o()?{}:{obj:e,k:r(i.shift())}}function Mp(e,t,n){var r=Af(e,t,Object),o=r.obj,i=r.k;o[i]=n}function RS(e,t,n,r){var o=Af(e,t,Object),i=o.obj,a=o.k;i[a]=i[a]||[],r&&(i[a]=i[a].concat(n)),r||i[a].push(n)}function Cs(e,t){var n=Af(e,t),r=n.obj,o=n.k;if(!!r)return r[o]}function $p(e,t,n){var r=Cs(e,n);return r!==void 0?r:Cs(t,n)}function Qm(e,t,n){for(var r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):Qm(e[r],t[r],n):e[r]=t[r]);return e}function qr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var CS={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function ES(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return CS[t]}):e}var Sl=typeof window!="undefined"&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,xS=[" ",",","?","!",";"];function OS(e,t,n){t=t||"",n=n||"";var r=xS.filter(function(s){return t.indexOf(s)<0&&n.indexOf(s)<0});if(r.length===0)return!0;var o=new RegExp("(".concat(r.map(function(s){return s==="?"?"\\?":s}).join("|"),")")),i=!o.test(e);if(!i){var a=e.indexOf(n);a>0&&!o.test(e.substring(0,a))&&(i=!0)}return i}function Dp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function xa(e){for(var t=1;t2&&arguments[2]!==void 0?arguments[2]:".";if(!!e){if(e[t])return e[t];for(var r=t.split(n),o=e,i=0;ii+a;)a++,s=r.slice(i,i+a).join(n),l=o[s];if(l===void 0)return;if(t.endsWith(s)){if(typeof l=="string")return l;if(s&&typeof l[s]=="string")return l[s]}var u=r.slice(i+a).join(n);return u?Km(l,u,n):void 0}o=o[r[i]]}return o}}var TS=function(e){wl(n,e);var t=kS(n);function n(r){var o,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return Mt(this,n),o=t.call(this),Sl&&Zn.call(Wn(o)),o.data=r||{},o.options=i,o.options.keySeparator===void 0&&(o.options.keySeparator="."),o.options.ignoreJSONStructure===void 0&&(o.options.ignoreJSONStructure=!0),o}return $t(n,[{key:"addNamespaces",value:function(o){this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}},{key:"removeNamespaces",value:function(o){var i=this.options.ns.indexOf(o);i>-1&&this.options.ns.splice(i,1)}},{key:"getResource",value:function(o,i,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},l=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,u=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure,c=[o,i];a&&typeof a!="string"&&(c=c.concat(a)),a&&typeof a=="string"&&(c=c.concat(l?a.split(l):a)),o.indexOf(".")>-1&&(c=o.split("."));var f=Cs(this.data,c);return f||!u||typeof a!="string"?f:Km(this.data&&this.data[o]&&this.data[o][i],a,l)}},{key:"addResource",value:function(o,i,a,s){var l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},u=this.options.keySeparator;u===void 0&&(u=".");var c=[o,i];a&&(c=c.concat(u?a.split(u):a)),o.indexOf(".")>-1&&(c=o.split("."),s=i,i=c[1]),this.addNamespaces(i),Mp(this.data,c,s),l.silent||this.emit("added",o,i,a,s)}},{key:"addResources",value:function(o,i,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var l in a)(typeof a[l]=="string"||Object.prototype.toString.apply(a[l])==="[object Array]")&&this.addResource(o,i,l,a[l],{silent:!0});s.silent||this.emit("added",o,i,a)}},{key:"addResourceBundle",value:function(o,i,a,s,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},c=[o,i];o.indexOf(".")>-1&&(c=o.split("."),s=a,a=i,i=c[1]),this.addNamespaces(i);var f=Cs(this.data,c)||{};s?Qm(f,a,l):f=xa(xa({},f),a),Mp(this.data,c,f),u.silent||this.emit("added",o,i,a)}},{key:"removeResourceBundle",value:function(o,i){this.hasResourceBundle(o,i)&&delete this.data[o][i],this.removeNamespaces(i),this.emit("removed",o,i)}},{key:"hasResourceBundle",value:function(o,i){return this.getResource(o,i)!==void 0}},{key:"getResourceBundle",value:function(o,i){return i||(i=this.options.defaultNS),this.options.compatibilityAPI==="v1"?xa(xa({},{}),this.getResource(o,i)):this.getResource(o,i)}},{key:"getDataByLanguage",value:function(o){return this.data[o]}},{key:"hasLanguageSomeTranslations",value:function(o){var i=this.getDataByLanguage(o),a=i&&Object.keys(i)||[];return!!a.find(function(s){return i[s]&&Object.keys(i[s]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),n}(Zn),Gm={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,n,r,o,i){var a=this;return t.forEach(function(s){a.processors[s]&&(n=a.processors[s].process(n,r,o,i))}),n}};function Ip(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function et(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{};return Mt(this,n),o=t.call(this),Sl&&Zn.call(Wn(o)),bS(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r,Wn(o)),o.options=i,o.options.keySeparator===void 0&&(o.options.keySeparator="."),o.logger=rn.create("translator"),o}return $t(n,[{key:"changeLanguage",value:function(o){o&&(this.language=o)}},{key:"exists",value:function(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(o==null)return!1;var a=this.resolve(o,i);return a&&a.res!==void 0}},{key:"extractFromKey",value:function(o,i){var a=i.nsSeparator!==void 0?i.nsSeparator:this.options.nsSeparator;a===void 0&&(a=":");var s=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,l=i.ns||this.options.defaultNS||[],u=a&&o.indexOf(a)>-1,c=!this.options.userDefinedKeySeparator&&!i.keySeparator&&!this.options.userDefinedNsSeparator&&!i.nsSeparator&&!OS(o,a,s);if(u&&!c){var f=o.match(this.interpolator.nestingRegexp);if(f&&f.length>0)return{key:o,namespaces:l};var d=o.split(a);(a!==s||a===s&&this.options.ns.indexOf(d[0])>-1)&&(l=d.shift()),o=d.join(s)}return typeof l=="string"&&(l=[l]),{key:o,namespaces:l}}},{key:"translate",value:function(o,i,a){var s=this;if(Bn(i)!=="object"&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),i||(i={}),o==null)return"";Array.isArray(o)||(o=[String(o)]);var l=i.returnDetails!==void 0?i.returnDetails:this.options.returnDetails,u=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,c=this.extractFromKey(o[o.length-1],i),f=c.key,d=c.namespaces,h=d[d.length-1],m=i.lng||this.language,y=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(m&&m.toLowerCase()==="cimode"){if(y){var x=i.nsSeparator||this.options.nsSeparator;return l?(v.res="".concat(h).concat(x).concat(f),v):"".concat(h).concat(x).concat(f)}return l?(v.res=f,v):f}var v=this.resolve(o,i),p=v&&v.res,g=v&&v.usedKey||f,S=v&&v.exactUsedKey||f,O=Object.prototype.toString.apply(p),E=["[object Number]","[object Function]","[object RegExp]"],A=i.joinArrays!==void 0?i.joinArrays:this.options.joinArrays,L=!this.i18nFormat||this.i18nFormat.handleAsObject,j=typeof p!="string"&&typeof p!="boolean"&&typeof p!="number";if(L&&p&&j&&E.indexOf(O)<0&&!(typeof A=="string"&&O==="[object Array]")){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var M=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,p,et(et({},i),{},{ns:d})):"key '".concat(f," (").concat(this.language,")' returned an object instead of string.");return l?(v.res=M,v):M}if(u){var Q=O==="[object Array]",te=Q?[]:{},X=Q?S:g;for(var w in p)if(Object.prototype.hasOwnProperty.call(p,w)){var T="".concat(X).concat(u).concat(w);te[w]=this.translate(T,et(et({},i),{joinArrays:!1,ns:d})),te[w]===T&&(te[w]=p[w])}p=te}}else if(L&&typeof A=="string"&&O==="[object Array]")p=p.join(A),p&&(p=this.extendTranslation(p,o,i,a));else{var z=!1,C=!1,k=i.count!==void 0&&typeof i.count!="string",N=n.hasDefaultValue(i),$=k?this.pluralResolver.getSuffix(m,i.count,i):"",F=i["defaultValue".concat($)]||i.defaultValue;!this.isValidLookup(p)&&N&&(z=!0,p=F),this.isValidLookup(p)||(C=!0,p=f);var b=i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,B=b&&C?void 0:p,V=N&&F!==p&&this.options.updateMissing;if(C||z||V){if(this.logger.log(V?"updateKey":"missingKey",m,h,f,V?F:p),u){var Z=this.resolve(f,et(et({},i),{},{keySeparator:!1}));Z&&Z.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var W=[],ne=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo==="fallback"&&ne&&ne[0])for(var le=0;le1&&arguments[1]!==void 0?arguments[1]:{},s,l,u,c,f;return typeof o=="string"&&(o=[o]),o.forEach(function(d){if(!i.isValidLookup(s)){var h=i.extractFromKey(d,a),m=h.key;l=m;var y=h.namespaces;i.options.fallbackNS&&(y=y.concat(i.options.fallbackNS));var x=a.count!==void 0&&typeof a.count!="string",v=x&&!a.ordinal&&a.count===0&&i.pluralResolver.shouldUseIntlApi(),p=a.context!==void 0&&(typeof a.context=="string"||typeof a.context=="number")&&a.context!=="",g=a.lngs?a.lngs:i.languageUtils.toResolveHierarchy(a.lng||i.language,a.fallbackLng);y.forEach(function(S){i.isValidLookup(s)||(f=S,!Fp["".concat(g[0],"-").concat(S)]&&i.utils&&i.utils.hasLoadedNamespace&&!i.utils.hasLoadedNamespace(f)&&(Fp["".concat(g[0],"-").concat(S)]=!0,i.logger.warn('key "'.concat(l,'" for languages "').concat(g.join(", "),`" won't get resolved as namespace "`).concat(f,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),g.forEach(function(O){if(!i.isValidLookup(s)){c=O;var E=[m];if(i.i18nFormat&&i.i18nFormat.addLookupKeys)i.i18nFormat.addLookupKeys(E,m,O,S,a);else{var A;x&&(A=i.pluralResolver.getSuffix(O,a.count,a));var L="_zero";if(x&&(E.push(m+A),v&&E.push(m+L)),p){var j="".concat(m).concat(i.options.contextSeparator).concat(a.context);E.push(j),x&&(E.push(j+A),v&&E.push(j+L))}}for(var M;M=E.pop();)i.isValidLookup(s)||(u=M,s=i.getResource(O,S,M,a))}}))})}}),{res:s,usedKey:l,exactUsedKey:u,usedLng:c,usedNS:f}}},{key:"isValidLookup",value:function(o){return o!==void 0&&!(!this.options.returnNull&&o===null)&&!(!this.options.returnEmptyString&&o==="")}},{key:"getResource",value:function(o,i,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(o,i,a,s):this.resourceStore.getResource(o,i,a,s)}}],[{key:"hasDefaultValue",value:function(o){var i="defaultValue";for(var a in o)if(Object.prototype.hasOwnProperty.call(o,a)&&i===a.substring(0,i.length)&&o[a]!==void 0)return!0;return!1}}]),n}(Zn);function du(e){return e.charAt(0).toUpperCase()+e.slice(1)}var AS=function(){function e(t){Mt(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=rn.create("languageUtils")}return $t(e,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var r=n.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var r=n.split("-");return this.formatLanguageCode(r[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var r=["hans","hant","latn","cyrl","cans","mong","arab"],o=n.split("-");return this.options.lowerCaseLng?o=o.map(function(i){return i.toLowerCase()}):o.length===2?(o[0]=o[0].toLowerCase(),o[1]=o[1].toUpperCase(),r.indexOf(o[1].toLowerCase())>-1&&(o[1]=du(o[1].toLowerCase()))):o.length===3&&(o[0]=o[0].toLowerCase(),o[1].length===2&&(o[1]=o[1].toUpperCase()),o[0]!=="sgn"&&o[2].length===2&&(o[2]=o[2].toUpperCase()),r.indexOf(o[1].toLowerCase())>-1&&(o[1]=du(o[1].toLowerCase())),r.indexOf(o[2].toLowerCase())>-1&&(o[2]=du(o[2].toLowerCase()))),o.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}},{key:"isSupportedCode",value:function(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}},{key:"getBestMatchFromCodes",value:function(n){var r=this;if(!n)return null;var o;return n.forEach(function(i){if(!o){var a=r.formatLanguageCode(i);(!r.options.supportedLngs||r.isSupportedCode(a))&&(o=a)}}),!o&&this.options.supportedLngs&&n.forEach(function(i){if(!o){var a=r.getLanguagePartFromCode(i);if(r.isSupportedCode(a))return o=a;o=r.options.supportedLngs.find(function(s){if(s.indexOf(a)===0)return s})}}),o||(o=this.getFallbackCodes(this.options.fallbackLng)[0]),o}},{key:"getFallbackCodes",value:function(n,r){if(!n)return[];if(typeof n=="function"&&(n=n(r)),typeof n=="string"&&(n=[n]),Object.prototype.toString.apply(n)==="[object Array]")return n;if(!r)return n.default||[];var o=n[r];return o||(o=n[this.getScriptPartFromCode(r)]),o||(o=n[this.formatLanguageCode(r)]),o||(o=n[this.getLanguagePartFromCode(r)]),o||(o=n.default),o||[]}},{key:"toResolveHierarchy",value:function(n,r){var o=this,i=this.getFallbackCodes(r||this.options.fallbackLng||[],n),a=[],s=function(u){!u||(o.isSupportedCode(u)?a.push(u):o.logger.warn("rejecting language code not found in supportedLngs: ".concat(u)))};return typeof n=="string"&&n.indexOf("-")>-1?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(n))):typeof n=="string"&&s(this.formatLanguageCode(n)),i.forEach(function(l){a.indexOf(l)<0&&s(o.formatLanguageCode(l))}),a}}]),e}(),MS=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],$S={1:function(t){return Number(t>1)},2:function(t){return Number(t!=1)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},5:function(t){return Number(t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)},6:function(t){return Number(t==1?0:t>=2&&t<=4?1:2)},7:function(t){return Number(t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},8:function(t){return Number(t==1?0:t==2?1:t!=8&&t!=11?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(t==1?0:t==2?1:t<7?2:t<11?3:4)},11:function(t){return Number(t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(t!==0)},14:function(t){return Number(t==1?0:t==2?1:t==3?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:t!==0?1:2)},17:function(t){return Number(t==1||t%10==1&&t%100!=11?0:1)},18:function(t){return Number(t==0?0:t==1?1:2)},19:function(t){return Number(t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)},20:function(t){return Number(t==1?0:t==0||t%100>0&&t%100<20?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)},22:function(t){return Number(t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3)}},DS=["v1","v2","v3"],jp={zero:0,one:1,two:2,few:3,many:4,other:5};function IS(){var e={};return MS.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:$S[t.fc]}})}),e}var FS=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Mt(this,e),this.languageUtils=t,this.options=n,this.logger=rn.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl=="undefined"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=IS()}return $t(e,[{key:"addRule",value:function(n,r){this.rules[n]=r}},{key:"getRule",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(n,{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this.getRule(n,r);return this.shouldUseIntlApi()?o&&o.resolvedOptions().pluralCategories.length>1:o&&o.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(n,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(n,o).map(function(i){return"".concat(r).concat(i)})}},{key:"getSuffixes",value:function(n){var r=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(n,o);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort(function(a,s){return jp[a]-jp[s]}).map(function(a){return"".concat(r.options.prepend).concat(a)}):i.numbers.map(function(a){return r.getSuffix(n,a,o)}):[]}},{key:"getSuffix",value:function(n,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=this.getRule(n,o);return i?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(i.select(r)):this.getSuffixRetroCompatible(i,r):(this.logger.warn("no plural rule found for: ".concat(n)),"")}},{key:"getSuffixRetroCompatible",value:function(n,r){var o=this,i=n.noAbs?n.plurals(r):n.plurals(Math.abs(r)),a=n.numbers[i];this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var s=function(){return o.options.prepend&&a.toString()?o.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1?s():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}},{key:"shouldUseIntlApi",value:function(){return!DS.includes(this.options.compatibilityJSON)}}]),e}();function zp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Ft(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};Mt(this,e),this.logger=rn.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return $t(e,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var r=n.interpolation;this.escape=r.escape!==void 0?r.escape:ES,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?qr(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?qr(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?qr(r.nestingPrefix):r.nestingPrefixEscaped||qr("$t("),this.nestingSuffix=r.nestingSuffix?qr(r.nestingSuffix):r.nestingSuffixEscaped||qr(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var n="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(n,"g");var r="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(r,"g");var o="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(o,"g")}},{key:"interpolate",value:function(n,r,o,i){var a=this,s,l,u,c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function f(x){return x.replace(/\$/g,"$$$$")}var d=function(v){if(v.indexOf(a.formatSeparator)<0){var p=$p(r,c,v);return a.alwaysFormat?a.format(p,void 0,o,Ft(Ft(Ft({},i),r),{},{interpolationkey:v})):p}var g=v.split(a.formatSeparator),S=g.shift().trim(),O=g.join(a.formatSeparator).trim();return a.format($p(r,c,S),O,o,Ft(Ft(Ft({},i),r),{},{interpolationkey:S}))};this.resetRegExp();var h=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,m=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,y=[{regex:this.regexpUnescape,safeValue:function(v){return f(v)}},{regex:this.regexp,safeValue:function(v){return a.escapeValue?f(a.escape(v)):f(v)}}];return y.forEach(function(x){for(u=0;s=x.regex.exec(n);){var v=s[1].trim();if(l=d(v),l===void 0)if(typeof h=="function"){var p=h(n,s,i);l=typeof p=="string"?p:""}else if(i&&i.hasOwnProperty(v))l="";else if(m){l=s[0];continue}else a.logger.warn("missed to pass in variable ".concat(v," for interpolating ").concat(n)),l="";else typeof l!="string"&&!a.useRawValueToEscape&&(l=Ap(l));var g=x.safeValue(l);if(n=n.replace(s[0],g),m?(x.regex.lastIndex+=g.length,x.regex.lastIndex-=s[0].length):x.regex.lastIndex=0,u++,u>=a.maxReplaces)break}}),n}},{key:"nest",value:function(n,r){var o=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,s,l=Ft({},i);l.applyPostProcessor=!1,delete l.defaultValue;function u(h,m){var y=this.nestingOptionsSeparator;if(h.indexOf(y)<0)return h;var x=h.split(new RegExp("".concat(y,"[ ]*{"))),v="{".concat(x[1]);h=x[0],v=this.interpolate(v,l),v=v.replace(/'/g,'"');try{l=JSON.parse(v),m&&(l=Ft(Ft({},m),l))}catch(p){return this.logger.warn("failed parsing options string in nesting for key ".concat(h),p),"".concat(h).concat(y).concat(v)}return delete l.defaultValue,h}for(;a=this.nestingRegexp.exec(n);){var c=[],f=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){var d=a[1].split(this.formatSeparator).map(function(h){return h.trim()});a[1]=d.shift(),c=d,f=!0}if(s=r(u.call(this,a[1].trim(),l),l),s&&a[0]===n&&typeof s!="string")return s;typeof s!="string"&&(s=Ap(s)),s||(this.logger.warn("missed to resolve ".concat(a[1]," for nesting ").concat(n)),s=""),f&&(s=c.reduce(function(h,m){return o.format(h,m,i.lng,Ft(Ft({},i),{},{interpolationkey:a[1].trim()}))},s.trim())),n=n.replace(a[0],s),this.regexp.lastIndex=0}return n}}]),e}();function Vp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Pn(e){for(var t=1;t-1){var r=e.split("(");t=r[0].toLowerCase().trim();var o=r[1].substring(0,r[1].length-1);if(t==="currency"&&o.indexOf(":")<0)n.currency||(n.currency=o.trim());else if(t==="relativetime"&&o.indexOf(":")<0)n.range||(n.range=o.trim());else{var i=o.split(";");i.forEach(function(a){if(!!a){var s=a.split(":"),l=wS(s),u=l[0],c=l.slice(1),f=c.join(":");n[u.trim()]||(n[u.trim()]=f.trim()),f.trim()==="false"&&(n[u.trim()]=!1),f.trim()==="true"&&(n[u.trim()]=!0),isNaN(f.trim())||(n[u.trim()]=parseInt(f.trim(),10))}})}}return{formatName:t,formatOptions:n}}var zS=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Mt(this,e),this.logger=rn.create("formatter"),this.options=t,this.formats={number:function(r,o,i){return new Intl.NumberFormat(o,i).format(r)},currency:function(r,o,i){return new Intl.NumberFormat(o,Pn(Pn({},i),{},{style:"currency"})).format(r)},datetime:function(r,o,i){return new Intl.DateTimeFormat(o,Pn({},i)).format(r)},relativetime:function(r,o,i){return new Intl.RelativeTimeFormat(o,Pn({},i)).format(r,i.range||"day")},list:function(r,o,i){return new Intl.ListFormat(o,Pn({},i)).format(r)}},this.init(t)}return $t(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},o=r.interpolation;this.formatSeparator=o.formatSeparator?o.formatSeparator:o.formatSeparator||","}},{key:"add",value:function(n,r){this.formats[n.toLowerCase().trim()]=r}},{key:"format",value:function(n,r,o,i){var a=this,s=r.split(this.formatSeparator),l=s.reduce(function(u,c){var f=jS(c),d=f.formatName,h=f.formatOptions;if(a.formats[d]){var m=u;try{var y=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},x=y.locale||y.lng||i.locale||i.lng||o;m=a.formats[d](u,x,Pn(Pn(Pn({},h),i),y))}catch(v){a.logger.warn(v)}return m}else a.logger.warn("there was no format function for ".concat(d));return u},n);return l}}]),e}();function Bp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Wp(e){for(var t=1;t3&&arguments[3]!==void 0?arguments[3]:{};return Mt(this,n),a=t.call(this),Sl&&Zn.call(Wn(a)),a.backend=r,a.store=o,a.services=i,a.languageUtils=i.languageUtils,a.options=s,a.logger=rn.create("backendConnector"),a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(i,s.backend,s),a}return $t(n,[{key:"queueLoad",value:function(o,i,a,s){var l=this,u=[],c=[],f=[],d=[];return o.forEach(function(h){var m=!0;i.forEach(function(y){var x="".concat(h,"|").concat(y);!a.reload&&l.store.hasResourceBundle(h,y)?l.state[x]=2:l.state[x]<0||(l.state[x]===1?c.indexOf(x)<0&&c.push(x):(l.state[x]=1,m=!1,c.indexOf(x)<0&&c.push(x),u.indexOf(x)<0&&u.push(x),d.indexOf(y)<0&&d.push(y)))}),m||f.push(h)}),(u.length||c.length)&&this.queue.push({pending:c,loaded:{},errors:[],callback:s}),{toLoad:u,pending:c,toLoadLanguages:f,toLoadNamespaces:d}}},{key:"loaded",value:function(o,i,a){var s=o.split("|"),l=s[0],u=s[1];i&&this.emit("failedLoading",l,u,i),a&&this.store.addResourceBundle(l,u,a),this.state[o]=i?-1:2;var c={};this.queue.forEach(function(f){RS(f.loaded,[l],u),WS(f.pending,o),i&&f.errors.push(i),f.pending.length===0&&!f.done&&(Object.keys(f.loaded).forEach(function(d){c[d]||(c[d]=[]),f.loaded[d].length&&f.loaded[d].forEach(function(h){c[d].indexOf(h)<0&&c[d].push(h)})}),f.done=!0,f.errors.length?f.callback(f.errors):f.callback())}),this.emit("loaded",c),this.queue=this.queue.filter(function(f){return!f.done})}},{key:"read",value:function(o,i,a){var s=this,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:350,c=arguments.length>5?arguments[5]:void 0;return o.length?this.backend[a](o,i,function(f,d){if(f&&d&&l<5){setTimeout(function(){s.read.call(s,o,i,a,l+1,u*2,c)},u);return}c(f,d)}):c(null,{})}},{key:"prepareLoading",value:function(o,i){var a=this,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),l&&l();typeof o=="string"&&(o=this.languageUtils.toResolveHierarchy(o)),typeof i=="string"&&(i=[i]);var u=this.queueLoad(o,i,s,l);if(!u.toLoad.length)return u.pending.length||l(),null;u.toLoad.forEach(function(c){a.loadOne(c)})}},{key:"load",value:function(o,i,a){this.prepareLoading(o,i,{},a)}},{key:"reload",value:function(o,i,a){this.prepareLoading(o,i,{reload:!0},a)}},{key:"loadOne",value:function(o){var i=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=o.split("|"),l=s[0],u=s[1];this.read(l,u,"read",void 0,void 0,function(c,f){c&&i.logger.warn("".concat(a,"loading namespace ").concat(u," for language ").concat(l," failed"),c),!c&&f&&i.logger.log("".concat(a,"loaded namespace ").concat(u," for language ").concat(l),f),i.loaded(o,c,f)})}},{key:"saveMissing",value:function(o,i,a,s,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(i)){this.logger.warn('did not save key "'.concat(a,'" as the namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}a==null||a===""||(this.backend&&this.backend.create&&this.backend.create(o,i,a,s,null,Wp(Wp({},u),{},{isUpdate:l})),!(!o||!o[0])&&this.store.addResource(o[0],i,a,s))}}]),n}(Zn);function qS(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var n={};if(Bn(t[1])==="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),Bn(t[2])==="object"||Bn(t[3])==="object"){var r=t[3]||t[2];Object.keys(r).forEach(function(o){n[o]=r[o]})}return n},interpolation:{escapeValue:!0,format:function(t,n,r,o){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Hp(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function qp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Zt(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;if(Mt(this,n),r=t.call(this),Sl&&Zn.call(Wn(r)),r.options=Hp(o),r.services={},r.logger=rn,r.modules={external:[]},GS(Wn(r)),i&&!r.isInitialized&&!o.isClone){if(!r.options.initImmediate)return r.init(o,i),ea(r,Wn(r));setTimeout(function(){r.init(o,i)},0)}return r}return $t(n,[{key:"init",value:function(){var o=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;typeof i=="function"&&(a=i,i={}),!i.defaultNS&&i.ns&&(typeof i.ns=="string"?i.defaultNS=i.ns:i.ns.indexOf("translation")<0&&(i.defaultNS=i.ns[0]));var s=qS();this.options=Zt(Zt(Zt({},s),this.options),Hp(i)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=Zt(Zt({},s.interpolation),this.options.interpolation)),i.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=i.keySeparator),i.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=i.nsSeparator);function l(v){return v?typeof v=="function"?new v:v:null}if(!this.options.isClone){this.modules.logger?rn.init(l(this.modules.logger),this.options):rn.init(null,this.options);var u;this.modules.formatter?u=this.modules.formatter:typeof Intl!="undefined"&&(u=zS);var c=new AS(this.options);this.store=new TS(this.options.resources,this.options);var f=this.services;f.logger=rn,f.resourceStore=this.store,f.languageUtils=c,f.pluralResolver=new FS(c,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(f.formatter=l(u),f.formatter.init(f,this.options),this.options.interpolation.format=f.formatter.format.bind(f.formatter)),f.interpolator=new US(this.options),f.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},f.backendConnector=new HS(l(this.modules.backend),f.resourceStore,f,this.options),f.backendConnector.on("*",function(v){for(var p=arguments.length,g=new Array(p>1?p-1:0),S=1;S1?p-1:0),S=1;S0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var h=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];h.forEach(function(v){o[v]=function(){var p;return(p=o.store)[v].apply(p,arguments)}});var m=["addResource","addResources","addResourceBundle","removeResourceBundle"];m.forEach(function(v){o[v]=function(){var p;return(p=o.store)[v].apply(p,arguments),o}});var y=Bo(),x=function(){var p=function(S,O){o.isInitialized&&!o.initializedStoreOnce&&o.logger.warn("init: i18next is already initialized. You should call init just once!"),o.isInitialized=!0,o.options.isClone||o.logger.log("initialized",o.options),o.emit("initialized",o.options),y.resolve(O),a(S,O)};if(o.languages&&o.options.compatibilityAPI!=="v1"&&!o.isInitialized)return p(null,o.t.bind(o));o.changeLanguage(o.options.lng,p)};return this.options.resources||!this.options.initImmediate?x():setTimeout(x,0),y}},{key:"loadResources",value:function(o){var i=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oa,s=a,l=typeof o=="string"?o:this.language;if(typeof o=="function"&&(s=o),!this.options.resources||this.options.partialBundledLanguages){if(l&&l.toLowerCase()==="cimode")return s();var u=[],c=function(h){if(!!h){var m=i.services.languageUtils.toResolveHierarchy(h);m.forEach(function(y){u.indexOf(y)<0&&u.push(y)})}};if(l)c(l);else{var f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.forEach(function(d){return c(d)})}this.options.preload&&this.options.preload.forEach(function(d){return c(d)}),this.services.backendConnector.load(u,this.options.ns,function(d){!d&&!i.resolvedLanguage&&i.language&&i.setResolvedLanguage(i.language),s(d)})}else s(null)}},{key:"reloadResources",value:function(o,i,a){var s=Bo();return o||(o=this.languages),i||(i=this.options.ns),a||(a=Oa),this.services.backendConnector.reload(o,i,function(l){s.resolve(),a(l)}),s}},{key:"use",value:function(o){if(!o)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!o.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return o.type==="backend"&&(this.modules.backend=o),(o.type==="logger"||o.log&&o.warn&&o.error)&&(this.modules.logger=o),o.type==="languageDetector"&&(this.modules.languageDetector=o),o.type==="i18nFormat"&&(this.modules.i18nFormat=o),o.type==="postProcessor"&&Gm.addPostProcessor(o),o.type==="formatter"&&(this.modules.formatter=o),o.type==="3rdParty"&&this.modules.external.push(o),this}},{key:"setResolvedLanguage",value:function(o){if(!(!o||!this.languages)&&!(["cimode","dev"].indexOf(o)>-1))for(var i=0;i-1)&&this.store.hasLanguageSomeTranslations(a)){this.resolvedLanguage=a;break}}}},{key:"changeLanguage",value:function(o,i){var a=this;this.isLanguageChangingTo=o;var s=Bo();this.emit("languageChanging",o);var l=function(d){a.language=d,a.languages=a.services.languageUtils.toResolveHierarchy(d),a.resolvedLanguage=void 0,a.setResolvedLanguage(d)},u=function(d,h){h?(l(h),a.translator.changeLanguage(h),a.isLanguageChangingTo=void 0,a.emit("languageChanged",h),a.logger.log("languageChanged",h)):a.isLanguageChangingTo=void 0,s.resolve(function(){return a.t.apply(a,arguments)}),i&&i(d,function(){return a.t.apply(a,arguments)})},c=function(d){!o&&!d&&a.services.languageDetector&&(d=[]);var h=typeof d=="string"?d:a.services.languageUtils.getBestMatchFromCodes(d);h&&(a.language||l(h),a.translator.language||a.translator.changeLanguage(h),a.services.languageDetector&&a.services.languageDetector.cacheUserLanguage(h)),a.loadResources(h,function(m){u(m,h)})};return!o&&this.services.languageDetector&&!this.services.languageDetector.async?c(this.services.languageDetector.detect()):!o&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(c):c(o),s}},{key:"getFixedT",value:function(o,i,a){var s=this,l=function u(c,f){var d;if(Bn(f)!=="object"){for(var h=arguments.length,m=new Array(h>2?h-2:0),y=2;y1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var s=this.resolvedLanguage||this.languages[0],l=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var c=function(h,m){var y=i.services.backendConnector.state["".concat(h,"|").concat(m)];return y===-1||y===2};if(a.precheck){var f=a.precheck(this,c);if(f!==void 0)return f}return!!(this.hasResourceBundle(s,o)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||c(s,o)&&(!l||c(u,o)))}},{key:"loadNamespaces",value:function(o,i){var a=this,s=Bo();return this.options.ns?(typeof o=="string"&&(o=[o]),o.forEach(function(l){a.options.ns.indexOf(l)<0&&a.options.ns.push(l)}),this.loadResources(function(l){s.resolve(),i&&i(l)}),s):(i&&i(),Promise.resolve())}},{key:"loadLanguages",value:function(o,i){var a=Bo();typeof o=="string"&&(o=[o]);var s=this.options.preload||[],l=o.filter(function(u){return s.indexOf(u)<0});return l.length?(this.options.preload=s.concat(l),this.loadResources(function(u){a.resolve(),i&&i(u)}),a):(i&&i(),Promise.resolve())}},{key:"dir",value:function(o){if(o||(o=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!o)return"rtl";var i=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"];return i.indexOf(this.services.languageUtils.getLanguagePartFromCode(o))>-1||o.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var o=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oa,s=Zt(Zt(Zt({},this.options),i),{isClone:!0}),l=new n(s),u=["store","services","language"];return u.forEach(function(c){l[c]=o[c]}),l.services=Zt({},this.services),l.services.utils={hasLoadedNamespace:l.hasLoadedNamespace.bind(l)},l.translator=new Up(l.services,l.options),l.translator.on("*",function(c){for(var f=arguments.length,d=new Array(f>1?f-1:0),h=1;h0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new Es(e,t)});var rt=Es.createInstance();rt.createInstance=Es.createInstance;rt.createInstance;rt.init;rt.loadResources;rt.reloadResources;rt.use;rt.changeLanguage;rt.getFixedT;rt.t;rt.exists;rt.setDefaultNamespace;rt.hasLoadedNamespace;rt.loadNamespaces;rt.loadLanguages;var Xm=[],XS=Xm.forEach,YS=Xm.slice;function JS(e){return XS.call(YS.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}var Qp=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,ZS=function(t,n,r){var o=r||{};o.path=o.path||"/";var i=encodeURIComponent(n),a=t+"="+i;if(o.maxAge>0){var s=o.maxAge-0;if(isNaN(s))throw new Error("maxAge should be a Number");a+="; Max-Age="+Math.floor(s)}if(o.domain){if(!Qp.test(o.domain))throw new TypeError("option domain is invalid");a+="; Domain="+o.domain}if(o.path){if(!Qp.test(o.path))throw new TypeError("option path is invalid");a+="; Path="+o.path}if(o.expires){if(typeof o.expires.toUTCString!="function")throw new TypeError("option expires is invalid");a+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(a+="; HttpOnly"),o.secure&&(a+="; Secure"),o.sameSite){var l=typeof o.sameSite=="string"?o.sameSite.toLowerCase():o.sameSite;switch(l){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a},Kp={create:function(t,n,r,o){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+r*60*1e3)),o&&(i.domain=o),document.cookie=ZS(t,encodeURIComponent(n),i)},read:function(t){for(var n=t+"=",r=document.cookie.split(";"),o=0;o-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var o=r.substring(1),i=o.split("&"),a=0;a0){var l=i[a].substring(0,s);l===t.lookupQuerystring&&(n=i[a].substring(s+1))}}}return n}},Wo=null,Gp=function(){if(Wo!==null)return Wo;try{Wo=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{Wo=!1}return Wo},n_={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&Gp()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&Gp()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},Ho=null,Xp=function(){if(Ho!==null)return Ho;try{Ho=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{Ho=!1}return Ho},r_={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&Xp()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&Xp()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},o_={name:"navigator",lookup:function(t){var n=[];if(typeof navigator!="undefined"){if(navigator.languages)for(var r=0;r0?n:void 0}},i_={name:"htmlTag",lookup:function(t){var n,r=t.htmlTag||(typeof document!="undefined"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},a_={name:"path",lookup:function(t){var n;if(typeof window!="undefined"){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof r[t.lookupFromPathIndex]!="string")return;n=r[t.lookupFromPathIndex].replace("/","")}else n=r[0].replace("/","")}return n}},s_={name:"subdomain",lookup:function(t){var n;if(typeof window!="undefined"){var r=window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);r instanceof Array&&(typeof t.lookupFromSubdomainIndex=="number"?n=r[t.lookupFromSubdomainIndex].replace("http://","").replace("https://","").replace(".",""):n=r[0].replace("http://","").replace("https://","").replace(".",""))}return n}};function l_(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var Ym=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Mt(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return $t(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=JS(r,this.options||{},l_()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=o,this.addDetector(e_),this.addDetector(t_),this.addDetector(n_),this.addDetector(r_),this.addDetector(o_),this.addDetector(i_),this.addDetector(a_),this.addDetector(s_)}},{key:"addDetector",value:function(n){this.detectors[n.name]=n}},{key:"detect",value:function(n){var r=this;n||(n=this.options.order);var o=[];return n.forEach(function(i){if(r.detectors[i]){var a=r.detectors[i].lookup(r.options);a&&typeof a=="string"&&(a=[a]),a&&(o=o.concat(a))}}),this.services.languageUtils.getBestMatchFromCodes?o:o.length>0?o[0]:null}},{key:"cacheUserLanguage",value:function(n,r){var o=this;r||(r=this.options.caches),r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||r.forEach(function(i){o.detectors[i]&&o.detectors[i].cacheUserLanguage(n,o.options)}))}}]),e}();Ym.type="languageDetector";function sc(e){return sc=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},sc(e)}var Jm=[],u_=Jm.forEach,c_=Jm.slice;function lc(e){return u_.call(c_.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}function Zm(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest=="undefined"?"undefined":sc(XMLHttpRequest))==="object"}function f_(e){return!!e&&typeof e.then=="function"}function d_(e){return f_(e)?e:Promise.resolve(e)}var os=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function p_(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function eg(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}),t}function h_(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var xs={exports:{}},uc={exports:{}};(function(e,t){var n=typeof self!="undefined"?self:os,r=function(){function i(){this.fetch=!1,this.DOMException=n.DOMException}return i.prototype=n,new i}();(function(i){(function(a){var s={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function l(w){return w&&DataView.prototype.isPrototypeOf(w)}if(s.arrayBuffer)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(w){return w&&u.indexOf(Object.prototype.toString.call(w))>-1};function f(w){if(typeof w!="string"&&(w=String(w)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(w))throw new TypeError("Invalid character in header field name");return w.toLowerCase()}function d(w){return typeof w!="string"&&(w=String(w)),w}function h(w){var T={next:function(){var z=w.shift();return{done:z===void 0,value:z}}};return s.iterable&&(T[Symbol.iterator]=function(){return T}),T}function m(w){this.map={},w instanceof m?w.forEach(function(T,z){this.append(z,T)},this):Array.isArray(w)?w.forEach(function(T){this.append(T[0],T[1])},this):w&&Object.getOwnPropertyNames(w).forEach(function(T){this.append(T,w[T])},this)}m.prototype.append=function(w,T){w=f(w),T=d(T);var z=this.map[w];this.map[w]=z?z+", "+T:T},m.prototype.delete=function(w){delete this.map[f(w)]},m.prototype.get=function(w){return w=f(w),this.has(w)?this.map[w]:null},m.prototype.has=function(w){return this.map.hasOwnProperty(f(w))},m.prototype.set=function(w,T){this.map[f(w)]=d(T)},m.prototype.forEach=function(w,T){for(var z in this.map)this.map.hasOwnProperty(z)&&w.call(T,this.map[z],z,this)},m.prototype.keys=function(){var w=[];return this.forEach(function(T,z){w.push(z)}),h(w)},m.prototype.values=function(){var w=[];return this.forEach(function(T){w.push(T)}),h(w)},m.prototype.entries=function(){var w=[];return this.forEach(function(T,z){w.push([z,T])}),h(w)},s.iterable&&(m.prototype[Symbol.iterator]=m.prototype.entries);function y(w){if(w.bodyUsed)return Promise.reject(new TypeError("Already read"));w.bodyUsed=!0}function x(w){return new Promise(function(T,z){w.onload=function(){T(w.result)},w.onerror=function(){z(w.error)}})}function v(w){var T=new FileReader,z=x(T);return T.readAsArrayBuffer(w),z}function p(w){var T=new FileReader,z=x(T);return T.readAsText(w),z}function g(w){for(var T=new Uint8Array(w),z=new Array(T.length),C=0;C-1?T:w}function L(w,T){T=T||{};var z=T.body;if(w instanceof L){if(w.bodyUsed)throw new TypeError("Already read");this.url=w.url,this.credentials=w.credentials,T.headers||(this.headers=new m(w.headers)),this.method=w.method,this.mode=w.mode,this.signal=w.signal,!z&&w._bodyInit!=null&&(z=w._bodyInit,w.bodyUsed=!0)}else this.url=String(w);if(this.credentials=T.credentials||this.credentials||"same-origin",(T.headers||!this.headers)&&(this.headers=new m(T.headers)),this.method=A(T.method||this.method||"GET"),this.mode=T.mode||this.mode||null,this.signal=T.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&z)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(z)}L.prototype.clone=function(){return new L(this,{body:this._bodyInit})};function j(w){var T=new FormData;return w.trim().split("&").forEach(function(z){if(z){var C=z.split("="),k=C.shift().replace(/\+/g," "),N=C.join("=").replace(/\+/g," ");T.append(decodeURIComponent(k),decodeURIComponent(N))}}),T}function M(w){var T=new m,z=w.replace(/\r?\n[\t ]+/g," ");return z.split(/\r?\n/).forEach(function(C){var k=C.split(":"),N=k.shift().trim();if(N){var $=k.join(":").trim();T.append(N,$)}}),T}O.call(L.prototype);function Q(w,T){T||(T={}),this.type="default",this.status=T.status===void 0?200:T.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in T?T.statusText:"OK",this.headers=new m(T.headers),this.url=T.url||"",this._initBody(w)}O.call(Q.prototype),Q.prototype.clone=function(){return new Q(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},Q.error=function(){var w=new Q(null,{status:0,statusText:""});return w.type="error",w};var te=[301,302,303,307,308];Q.redirect=function(w,T){if(te.indexOf(T)===-1)throw new RangeError("Invalid status code");return new Q(null,{status:T,headers:{location:w}})},a.DOMException=i.DOMException;try{new a.DOMException}catch{a.DOMException=function(T,z){this.message=T,this.name=z;var C=Error(T);this.stack=C.stack},a.DOMException.prototype=Object.create(Error.prototype),a.DOMException.prototype.constructor=a.DOMException}function X(w,T){return new Promise(function(z,C){var k=new L(w,T);if(k.signal&&k.signal.aborted)return C(new a.DOMException("Aborted","AbortError"));var N=new XMLHttpRequest;function $(){N.abort()}N.onload=function(){var F={status:N.status,statusText:N.statusText,headers:M(N.getAllResponseHeaders()||"")};F.url="responseURL"in N?N.responseURL:F.headers.get("X-Request-URL");var b="response"in N?N.response:N.responseText;z(new Q(b,F))},N.onerror=function(){C(new TypeError("Network request failed"))},N.ontimeout=function(){C(new TypeError("Network request failed"))},N.onabort=function(){C(new a.DOMException("Aborted","AbortError"))},N.open(k.method,k.url,!0),k.credentials==="include"?N.withCredentials=!0:k.credentials==="omit"&&(N.withCredentials=!1),"responseType"in N&&s.blob&&(N.responseType="blob"),k.headers.forEach(function(F,b){N.setRequestHeader(b,F)}),k.signal&&(k.signal.addEventListener("abort",$),N.onreadystatechange=function(){N.readyState===4&&k.signal.removeEventListener("abort",$)}),N.send(typeof k._bodyInit=="undefined"?null:k._bodyInit)})}return X.polyfill=!0,i.fetch||(i.fetch=X,i.Headers=m,i.Request=L,i.Response=Q),a.Headers=m,a.Request=L,a.Response=Q,a.fetch=X,Object.defineProperty(a,"__esModule",{value:!0}),a})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var o=r;t=o.fetch,t.default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t})(uc,uc.exports);(function(e,t){var n;if(typeof fetch=="function"&&(typeof os!="undefined"&&os.fetch?n=os.fetch:typeof window!="undefined"&&window.fetch&&(n=window.fetch)),typeof h_!="undefined"&&(typeof window=="undefined"||typeof window.document=="undefined")){var r=n||uc.exports;r.default&&(r=r.default),t.default=r,e.exports=t.default}})(xs,xs.exports);var tg=xs.exports,Yp=Bm({__proto__:null,default:tg},[xs.exports]);function Os(e){return Os=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},Os(e)}var er;typeof fetch=="function"&&(typeof global!="undefined"&&global.fetch?er=global.fetch:typeof window!="undefined"&&window.fetch&&(er=window.fetch));var Ti;Zm&&(typeof global!="undefined"&&global.XMLHttpRequest?Ti=global.XMLHttpRequest:typeof window!="undefined"&&window.XMLHttpRequest&&(Ti=window.XMLHttpRequest));var ks;typeof ActiveXObject=="function"&&(typeof global!="undefined"&&global.ActiveXObject?ks=global.ActiveXObject:typeof window!="undefined"&&window.ActiveXObject&&(ks=window.ActiveXObject));!er&&Yp&&!Ti&&!ks&&(er=tg||Yp);typeof er!="function"&&(er=void 0);var cc=function(t,n){if(n&&Os(n)==="object"){var r="";for(var o in n)r+="&"+encodeURIComponent(o)+"="+encodeURIComponent(n[o]);if(!r)return t;t=t+(t.indexOf("?")!==-1?"&":"?")+r.slice(1)}return t},v_=function(t,n,r,o){t.queryStringParams&&(n=cc(n,t.queryStringParams));var i=lc({},typeof t.customHeaders=="function"?t.customHeaders():t.customHeaders);r&&(i["Content-Type"]="application/json"),er(n,lc({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:i},typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions)).then(function(a){if(!a.ok)return o(a.statusText||"Error",{status:a.status});a.text().then(function(s){o(null,{status:a.status,data:s})}).catch(o)}).catch(o)},m_=function(t,n,r,o){r&&Os(r)==="object"&&(r=cc("",r).slice(1)),t.queryStringParams&&(n=cc(n,t.queryStringParams));try{var i;Ti?i=new Ti:i=new ks("MSXML2.XMLHTTP.3.0"),i.open(r?"POST":"GET",n,1),t.crossDomain||i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.withCredentials=!!t.withCredentials,r&&i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.overrideMimeType&&i.overrideMimeType("application/json");var a=t.customHeaders;if(a=typeof a=="function"?a():a,a)for(var s in a)i.setRequestHeader(s,a[s]);i.onreadystatechange=function(){i.readyState>3&&o(i.status>=400?i.statusText:null,{status:i.status,data:i.responseText})},i.send(r)}catch(l){console&&console.log(l)}},g_=function(t,n,r,o){if(typeof r=="function"&&(o=r,r=void 0),o=o||function(){},er)return v_(t,n,r,o);if(Zm||typeof ActiveXObject=="function")return m_(t,n,r,o)};function y_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jp(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};y_(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return w_(e,[{key:"init",value:function(n){var r=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=lc(o,this.options||{},__()),this.allOptions=i,this.services&&this.options.reloadInterval&&setInterval(function(){return r.reload()},this.options.reloadInterval)}},{key:"readMulti",value:function(n,r,o){this._readAny(n,n,r,r,o)}},{key:"read",value:function(n,r,o){this._readAny([n],n,[r],r,o)}},{key:"_readAny",value:function(n,r,o,i,a){var s=this,l=this.options.loadPath;typeof this.options.loadPath=="function"&&(l=this.options.loadPath(n,o)),l=d_(l),l.then(function(u){if(!u)return a(null,{});var c=s.services.interpolator.interpolate(u,{lng:n.join("+"),ns:o.join("+")});s.loadUrl(c,a,r,i)})}},{key:"loadUrl",value:function(n,r,o,i){var a=this;this.options.request(this.options,n,void 0,function(s,l){if(l&&(l.status>=500&&l.status<600||!l.status))return r("failed loading "+n+"; status code: "+l.status,!0);if(l&&l.status>=400&&l.status<500)return r("failed loading "+n+"; status code: "+l.status,!1);if(!l&&s&&s.message&&s.message.indexOf("Failed to fetch")>-1)return r("failed loading "+n+": "+s.message,!0);if(s)return r(s,!1);var u,c;try{typeof l.data=="string"?u=a.options.parse(l.data,o,i):u=l.data}catch{c="failed parsing "+n+" to json"}if(c)return r(c,!1);r(null,u)})}},{key:"create",value:function(n,r,o,i,a){var s=this;if(!!this.options.addPath){typeof n=="string"&&(n=[n]);var l=this.options.parsePayload(r,o,i),u=0,c=[],f=[];n.forEach(function(d){var h=s.options.addPath;typeof s.options.addPath=="function"&&(h=s.options.addPath(d,r));var m=s.services.interpolator.interpolate(h,{lng:d,ns:r});s.options.request(s.options,m,l,function(y,x){u+=1,c.push(y),f.push(x),u===n.length&&a&&a(c,f)})})}}},{key:"reload",value:function(){var n=this,r=this.services,o=r.backendConnector,i=r.languageUtils,a=r.logger,s=o.language;if(!(s&&s.toLowerCase()==="cimode")){var l=[],u=function(f){var d=i.toResolveHierarchy(f);d.forEach(function(h){l.indexOf(h)<0&&l.push(h)})};u(s),this.allOptions.preload&&this.allOptions.preload.forEach(function(c){return u(c)}),l.forEach(function(c){n.allOptions.ns.forEach(function(f){o.read(c,f,"read",null,null,function(d,h){d&&a.warn("loading namespace ".concat(f," for language ").concat(c," failed"),d),!d&&h&&a.log("loaded namespace ".concat(f," for language ").concat(c),h),o.loaded("".concat(c,"|").concat(f),d,h)})})})}}}]),e}();ng.type="backend";var D={exports:{}},pe={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ta=Symbol.for("react.element"),b_=Symbol.for("react.portal"),R_=Symbol.for("react.fragment"),C_=Symbol.for("react.strict_mode"),E_=Symbol.for("react.profiler"),x_=Symbol.for("react.provider"),O_=Symbol.for("react.context"),k_=Symbol.for("react.forward_ref"),P_=Symbol.for("react.suspense"),T_=Symbol.for("react.memo"),L_=Symbol.for("react.lazy"),Zp=Symbol.iterator;function N_(e){return e===null||typeof e!="object"?null:(e=Zp&&e[Zp]||e["@@iterator"],typeof e=="function"?e:null)}var rg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},og=Object.assign,ig={};function Lo(e,t,n){this.props=e,this.context=t,this.refs=ig,this.updater=n||rg}Lo.prototype.isReactComponent={};Lo.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Lo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ag(){}ag.prototype=Lo.prototype;function Mf(e,t,n){this.props=e,this.context=t,this.refs=ig,this.updater=n||rg}var $f=Mf.prototype=new ag;$f.constructor=Mf;og($f,Lo.prototype);$f.isPureReactComponent=!0;var eh=Array.isArray,sg=Object.prototype.hasOwnProperty,Df={current:null},lg={key:!0,ref:!0,__self:!0,__source:!0};function ug(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)sg.call(t,r)&&!lg.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(10&&arguments[0]!==void 0?arguments[0]:{};fc=rh(rh({},fc),e)}function U_(){return fc}var j_=function(){function e(){Mt(this,e),this.usedNamespaces={}}return $t(e,[{key:"addUsedNamespaces",value:function(n){var r=this;n.forEach(function(o){r.usedNamespaces[o]||(r.usedNamespaces[o]=!0)})}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function z_(e){cg=e}function V_(){return cg}var B_={type:"3rdParty",init:function(t){F_(t.options.react),z_(t)}};function W_(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r2&&arguments[2]!==void 0?arguments[2]:{},r=t.languages[0],o=t.options?t.options.fallbackLng:!1,i=t.languages[t.languages.length-1];if(r.toLowerCase()==="cimode")return!0;var a=function(l,u){var c=t.services.backendConnector.state["".concat(l,"|").concat(u)];return c===-1||c===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(r,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||a(r,e)&&(!o||a(i,e)))}function q_(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t.languages||!t.languages.length)return dc("i18n.languages were undefined or empty",t.languages),!0;var r=t.options.ignoreJSONStructure!==void 0;return r?t.hasLoadedNamespace(e,{precheck:function(i,a){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&i.services.backendConnector.backend&&i.isLanguageChangingTo&&!a(i.isLanguageChangingTo,e))return!1}}):H_(e,t,n)}function Q_(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,a,s;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw s}}return r}}function K_(e,t){return Wm(e)||Q_(e,t)||Hm(e,t)||qm()}function ah(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function hu(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},n=t.i18n,r=D.exports.useContext(I_)||{},o=r.i18n,i=r.defaultNS,a=n||o||V_();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new j_),!a){dc("You will need to pass in an i18next instance by using initReactI18next");var s=function(A){return Array.isArray(A)?A[A.length-1]:A},l=[s,{},!1];return l.t=s,l.i18n={},l.ready=!1,l}a.options.react&&a.options.react.wait!==void 0&&dc("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var u=hu(hu(hu({},U_()),a.options.react),t),c=u.useSuspense,f=u.keyPrefix,d=e||i||a.options&&a.options.defaultNS;d=typeof d=="string"?[d]:d||["translation"],a.reportNamespaces.addUsedNamespaces&&a.reportNamespaces.addUsedNamespaces(d);var h=(a.isInitialized||a.initializedStoreOnce)&&d.every(function(E){return q_(E,a,u)});function m(){return a.getFixedT(null,u.nsMode==="fallback"?d:d[0],f)}var y=D.exports.useState(m),x=K_(y,2),v=x[0],p=x[1],g=D.exports.useRef(!0);D.exports.useEffect(function(){var E=u.bindI18n,A=u.bindI18nStore;g.current=!0,!h&&!c&&ih(a,d,function(){g.current&&p(m)});function L(){g.current&&p(m)}return E&&a&&a.on(E,L),A&&a&&a.store.on(A,L),function(){g.current=!1,E&&a&&E.split(" ").forEach(function(j){return a.off(j,L)}),A&&a&&A.split(" ").forEach(function(j){return a.store.off(j,L)})}},[a,d.join()]);var S=D.exports.useRef(!0);D.exports.useEffect(function(){g.current&&!S.current&&p(m),S.current=!1},[a]);var O=[v,a,h];if(O.t=v,O.i18n=a,O.ready=h,h||!h&&!c)return O;throw new Promise(function(E){ih(a,d,function(){E()})})}const sh={zh:_n(()=>import("./zh.c14b4bb9.js"),[]),en:_n(()=>import("./en.27a4fc6f.js"),[])};rt.use(ng).use(B_).use(Ym).init({debug:!1,backend:{loadPath:"/__{{lng}}/{{ns}}.json",request:function(e,t,n,r){let o;switch(t){case"/__zh/translation.json":case"/__zh-CN/translation.json":o=sh.zh;break;case"/__en/translation.json":default:o=sh.en;break}o&&o.then(i=>{r(null,{status:200,data:i.data})})}},supportedLngs:["en","zh"],fallbackLng:"en",interpolation:{escapeValue:!1}});var ra={exports:{}},_t={},fg={exports:{}},dg={};/** - * @license React - * scheduler.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */(function(e){function t(k,N){var $=k.length;k.push(N);e:for(;0<$;){var F=$-1>>>1,b=k[F];if(0>>1;Fo(Z,$))Wo(ne,Z)?(k[F]=ne,k[W]=$,F=W):(k[F]=Z,k[V]=$,F=V);else if(Wo(ne,$))k[F]=ne,k[W]=$,F=W;else break e}}return N}function o(k,N){var $=k.sortIndex-N.sortIndex;return $!==0?$:k.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],c=1,f=null,d=3,h=!1,m=!1,y=!1,x=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate!="undefined"?setImmediate:null;typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(k){for(var N=n(u);N!==null;){if(N.callback===null)r(u);else if(N.startTime<=k)r(u),N.sortIndex=N.expirationTime,t(l,N);else break;N=n(u)}}function S(k){if(y=!1,g(k),!m)if(n(l)!==null)m=!0,z(O);else{var N=n(u);N!==null&&C(S,N.startTime-k)}}function O(k,N){m=!1,y&&(y=!1,v(L),L=-1),h=!0;var $=d;try{for(g(N),f=n(l);f!==null&&(!(f.expirationTime>N)||k&&!Q());){var F=f.callback;if(typeof F=="function"){f.callback=null,d=f.priorityLevel;var b=F(f.expirationTime<=N);N=e.unstable_now(),typeof b=="function"?f.callback=b:f===n(l)&&r(l),g(N)}else r(l);f=n(l)}if(f!==null)var B=!0;else{var V=n(u);V!==null&&C(S,V.startTime-N),B=!1}return B}finally{f=null,d=$,h=!1}}var E=!1,A=null,L=-1,j=5,M=-1;function Q(){return!(e.unstable_now()-Mk||125F?(k.sortIndex=$,t(u,k),n(l)===null&&k===n(u)&&(y?(v(L),L=-1):y=!0,C(S,$-F))):(k.sortIndex=b,t(l,k),m||h||(m=!0,z(O))),k},e.unstable_shouldYield=Q,e.unstable_wrapCallback=function(k){var N=d;return function(){var $=d;d=N;try{return k.apply(this,arguments)}finally{d=$}}}})(dg);fg.exports=dg;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var pg=D.exports,yt=fg.exports;function U(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt}return!1}function it(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var qe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){qe[e]=new it(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];qe[t]=new it(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){qe[e]=new it(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){qe[e]=new it(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){qe[e]=new it(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){qe[e]=new it(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){qe[e]=new it(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){qe[e]=new it(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){qe[e]=new it(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ff=/[\-:]([a-z])/g;function Uf(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ff,Uf);qe[t]=new it(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ff,Uf);qe[t]=new it(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ff,Uf);qe[t]=new it(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){qe[e]=new it(e,1,!1,e.toLowerCase(),null,!1,!1)});qe.xlinkHref=new it("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){qe[e]=new it(e,1,!1,e.toLowerCase(),null,!0,!0)});function jf(e,t,n,r){var o=qe.hasOwnProperty(t)?qe[t]:null;(o!==null?o.type!==0:r||!(2s||o[a]!==i[s]){var l=` -`+o[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{mu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?si(e):""}function Z_(e){switch(e.tag){case 5:return si(e.type);case 16:return si("Lazy");case 13:return si("Suspense");case 19:return si("SuspenseList");case 0:case 2:case 15:return e=gu(e.type,!1),e;case 11:return e=gu(e.type.render,!1),e;case 1:return e=gu(e.type,!0),e;default:return""}}function gc(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Yr:return"Fragment";case Xr:return"Portal";case hc:return"Profiler";case zf:return"StrictMode";case vc:return"Suspense";case mc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case mg:return(e.displayName||"Context")+".Consumer";case vg:return(e._context.displayName||"Context")+".Provider";case Vf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Bf:return t=e.displayName||null,t!==null?t:gc(e.type)||"Memo";case An:t=e._payload,e=e._init;try{return gc(e(t))}catch{}}return null}function eb(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return gc(t);case 8:return t===zf?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function tr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function yg(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function tb(e){var t=yg(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n!="undefined"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ta(e){e._valueTracker||(e._valueTracker=tb(e))}function wg(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=yg(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ps(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function yc(e,t){var n=t.checked;return Ae({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function fh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=tr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Sg(e,t){t=t.checked,t!=null&&jf(e,"checked",t,!1)}function wc(e,t){Sg(e,t);var n=tr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Sc(e,t.type,n):t.hasOwnProperty("defaultValue")&&Sc(e,t.type,tr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function dh(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Sc(e,t,n){(t!=="number"||Ps(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var li=Array.isArray;function co(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=La.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ni(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var pi={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},nb=["Webkit","ms","Moz","O"];Object.keys(pi).forEach(function(e){nb.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pi[t]=pi[e]})});function Cg(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||pi.hasOwnProperty(e)&&pi[e]?(""+t).trim():t+"px"}function Eg(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Cg(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var rb=Ae({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Rc(e,t){if(t){if(rb[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(U(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(U(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(U(61))}if(t.style!=null&&typeof t.style!="object")throw Error(U(62))}}function Cc(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ec=null;function Wf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xc=null,fo=null,po=null;function vh(e){if(e=aa(e)){if(typeof xc!="function")throw Error(U(280));var t=e.stateNode;t&&(t=El(t),xc(e.stateNode,e.type,t))}}function xg(e){fo?po?po.push(e):po=[e]:fo=e}function Og(){if(fo){var e=fo,t=po;if(po=fo=null,vh(e),t)for(e=0;e>>=0,e===0?32:31-(hb(e)/vb|0)|0}var Na=64,Aa=4194304;function ui(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function As(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~o;s!==0?r=ui(s):(i&=a,i!==0&&(r=ui(i)))}else a=n&~o,a!==0?r=ui(a):i!==0&&(r=ui(i));if(r===0)return 0;if(t!==0&&t!==r&&(t&o)===0&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function oa(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Kt(t),e[t]=n}function wb(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=vi),Ch=String.fromCharCode(32),Eh=!1;function Qg(e,t){switch(e){case"keyup":return Qb.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Kg(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Jr=!1;function Gb(e,t){switch(e){case"compositionend":return Kg(t);case"keypress":return t.which!==32?null:(Eh=!0,Ch);case"textInput":return e=t.data,e===Ch&&Eh?null:e;default:return null}}function Xb(e,t){if(Jr)return e==="compositionend"||!Jf&&Qg(e,t)?(e=Hg(),ls=Gf=jn=null,Jr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ph(n)}}function Jg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Jg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Zg(){for(var e=window,t=Ps();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ps(e.document)}return t}function Zf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function i2(e){var t=Zg(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Jg(n.ownerDocument.documentElement,n)){if(r!==null&&Zf(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Th(n,i);var a=Th(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Zr=null,Nc=null,gi=null,Ac=!1;function Lh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ac||Zr==null||Zr!==Ps(r)||(r=Zr,"selectionStart"in r&&Zf(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),gi&&Fi(gi,r)||(gi=r,r=Ds(Nc,"onSelect"),0no||(e.current=Uc[no],Uc[no]=null,no--)}function Ce(e,t){no++,Uc[no]=e.current,e.current=t}var nr={},Ze=lr(nr),ct=lr(!1),Pr=nr;function wo(e,t){var n=e.type.contextTypes;if(!n)return nr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ft(e){return e=e.childContextTypes,e!=null}function Fs(){xe(ct),xe(Ze)}function Fh(e,t,n){if(Ze.current!==nr)throw Error(U(168));Ce(Ze,t),Ce(ct,n)}function ly(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(U(108,eb(e)||"Unknown",o));return Ae({},n,r)}function Us(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||nr,Pr=Ze.current,Ce(Ze,e),Ce(ct,ct.current),!0}function Uh(e,t,n){var r=e.stateNode;if(!r)throw Error(U(169));n?(e=ly(e,t,Pr),r.__reactInternalMemoizedMergedChildContext=e,xe(ct),xe(Ze),Ce(Ze,e)):xe(ct),Ce(ct,n)}var hn=null,xl=!1,Lu=!1;function uy(e){hn===null?hn=[e]:hn.push(e)}function g2(e){xl=!0,uy(e)}function ur(){if(!Lu&&hn!==null){Lu=!0;var e=0,t=we;try{var n=hn;for(we=1;e>=a,o-=a,gn=1<<32-Kt(t)+o|n<L?(j=A,A=null):j=A.sibling;var M=d(v,A,g[L],S);if(M===null){A===null&&(A=j);break}e&&A&&M.alternate===null&&t(v,A),p=i(M,p,L),E===null?O=M:E.sibling=M,E=M,A=j}if(L===g.length)return n(v,A),ke&&gr(v,L),O;if(A===null){for(;LL?(j=A,A=null):j=A.sibling;var Q=d(v,A,M.value,S);if(Q===null){A===null&&(A=j);break}e&&A&&Q.alternate===null&&t(v,A),p=i(Q,p,L),E===null?O=Q:E.sibling=Q,E=Q,A=j}if(M.done)return n(v,A),ke&&gr(v,L),O;if(A===null){for(;!M.done;L++,M=g.next())M=f(v,M.value,S),M!==null&&(p=i(M,p,L),E===null?O=M:E.sibling=M,E=M);return ke&&gr(v,L),O}for(A=r(v,A);!M.done;L++,M=g.next())M=h(A,v,L,M.value,S),M!==null&&(e&&M.alternate!==null&&A.delete(M.key===null?L:M.key),p=i(M,p,L),E===null?O=M:E.sibling=M,E=M);return e&&A.forEach(function(te){return t(v,te)}),ke&&gr(v,L),O}function x(v,p,g,S){if(typeof g=="object"&&g!==null&&g.type===Yr&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Pa:e:{for(var O=g.key,E=p;E!==null;){if(E.key===O){if(O=g.type,O===Yr){if(E.tag===7){n(v,E.sibling),p=o(E,g.props.children),p.return=v,v=p;break e}}else if(E.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===An&&qh(O)===E.type){n(v,E.sibling),p=o(E,g.props),p.ref=Jo(v,E,g),p.return=v,v=p;break e}n(v,E);break}else t(v,E);E=E.sibling}g.type===Yr?(p=Or(g.props.children,v.mode,S,g.key),p.return=v,v=p):(S=vs(g.type,g.key,g.props,null,v.mode,S),S.ref=Jo(v,p,g),S.return=v,v=S)}return a(v);case Xr:e:{for(E=g.key;p!==null;){if(p.key===E)if(p.tag===4&&p.stateNode.containerInfo===g.containerInfo&&p.stateNode.implementation===g.implementation){n(v,p.sibling),p=o(p,g.children||[]),p.return=v,v=p;break e}else{n(v,p);break}else t(v,p);p=p.sibling}p=Fu(g,v.mode,S),p.return=v,v=p}return a(v);case An:return E=g._init,x(v,p,E(g._payload),S)}if(li(g))return m(v,p,g,S);if(qo(g))return y(v,p,g,S);Ua(v,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,p!==null&&p.tag===6?(n(v,p.sibling),p=o(p,g),p.return=v,v=p):(n(v,p),p=Iu(g,v.mode,S),p.return=v,v=p),a(v)):n(v,p)}return x}var _o=vy(!0),my=vy(!1),sa={},an=lr(sa),Vi=lr(sa),Bi=lr(sa);function Rr(e){if(e===sa)throw Error(U(174));return e}function sd(e,t){switch(Ce(Bi,t),Ce(Vi,e),Ce(an,sa),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:bc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=bc(t,e)}xe(an),Ce(an,t)}function bo(){xe(an),xe(Vi),xe(Bi)}function gy(e){Rr(Bi.current);var t=Rr(an.current),n=bc(t,e.type);t!==n&&(Ce(Vi,e),Ce(an,n))}function ld(e){Vi.current===e&&(xe(an),xe(Vi))}var Le=lr(0);function Hs(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Nu=[];function ud(){for(var e=0;en?n:4,e(!0);var r=Au.transition;Au.transition={};try{e(!1),t()}finally{we=n,Au.transition=r}}function Ny(){return At().memoizedState}function _2(e,t,n){var r=Xn(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ay(e)?My(t,n):($y(e,t,n),n=nt(),e=Lt(e,r,n),e!==null&&Dy(e,t,r))}function b2(e,t,n){var r=Xn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ay(e))My(t,o);else{$y(e,t,o);var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,Xt(s,a))return}catch{}finally{}n=nt(),e=Lt(e,r,n),e!==null&&Dy(e,t,r)}}function Ay(e){var t=e.alternate;return e===Ne||t!==null&&t===Ne}function My(e,t){yi=qs=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function $y(e,t,n){Zy(e)?(e=t.interleaved,e===null?(n.next=n,Qt===null?Qt=[t]:Qt.push(t)):(n.next=e.next,e.next=n),t.interleaved=n):(e=t.pending,e===null?n.next=n:(n.next=e.next,e.next=n),t.pending=n)}function Dy(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,qf(e,n)}}var Qs={readContext:Nt,useCallback:Ke,useContext:Ke,useEffect:Ke,useImperativeHandle:Ke,useInsertionEffect:Ke,useLayoutEffect:Ke,useMemo:Ke,useReducer:Ke,useRef:Ke,useState:Ke,useDebugValue:Ke,useDeferredValue:Ke,useTransition:Ke,useMutableSource:Ke,useSyncExternalStore:Ke,useId:Ke,unstable_isNewReconciler:!1},R2={readContext:Nt,useCallback:function(e,t){return tn().memoizedState=[e,t===void 0?null:t],e},useContext:Nt,useEffect:Kh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ds(4194308,4,Oy.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ds(4194308,4,e,t)},useInsertionEffect:function(e,t){return ds(4,2,e,t)},useMemo:function(e,t){var n=tn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=tn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=_2.bind(null,Ne,e),[r.memoizedState,e]},useRef:function(e){var t=tn();return e={current:e},t.memoizedState=e},useState:Qh,useDebugValue:hd,useDeferredValue:function(e){return tn().memoizedState=e},useTransition:function(){var e=Qh(!1),t=e[0];return e=S2.bind(null,e[1]),tn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ne,o=tn();if(ke){if(n===void 0)throw Error(U(407));n=n()}else{if(n=t(),ze===null)throw Error(U(349));(Lr&30)!==0||Sy(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Kh(by.bind(null,r,i,e),[e]),r.flags|=2048,qi(9,_y.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=tn(),t=ze.identifierPrefix;if(ke){var n=yn,r=gn;n=(r&~(1<<32-Kt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Wi++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[nn]=t,e[zi]=r,Uy(e,t,!1,!1),t.stateNode=e;e:{switch(a=Cc(n,r),n){case"dialog":Ee("cancel",e),Ee("close",e),o=r;break;case"iframe":case"object":case"embed":Ee("load",e),o=r;break;case"video":case"audio":for(o=0;oRo&&(t.flags|=128,r=!0,Zo(i,!1),t.lanes=4194304)}else{if(!r)if(e=Hs(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Zo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!ke)return Ge(t),null}else 2*De()-i.renderingStartTime>Ro&&n!==1073741824&&(t.flags|=128,r=!0,Zo(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=De(),t.sibling=null,n=Le.current,Ce(Le,r?n&1|2:n&1),t):(Ge(t),null);case 22:case 23:return Sd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(mt&1073741824)!==0&&(Ge(t),t.subtreeFlags&6&&(t.flags|=8192)):Ge(t),null;case 24:return null;case 25:return null}throw Error(U(156,t.tag))}var k2=xn.ReactCurrentOwner,ut=!1;function tt(e,t,n,r){t.child=e===null?my(t,null,n,r):_o(t,e.child,n,r)}function Jh(e,t,n,r,o){n=n.render;var i=t.ref;return vo(t,o),r=fd(e,t,n,r,i,o),n=dd(),e!==null&&!ut?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Cn(e,t,o)):(ke&&n&&od(t),t.flags|=1,tt(e,t,r,o),t.child)}function Zh(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!bd(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Vy(e,t,i,r,o)):(e=vs(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&o)===0){var a=i.memoizedProps;if(n=n.compare,n=n!==null?n:Fi,n(a,r)&&e.ref===t.ref)return Cn(e,t,o)}return t.flags|=1,e=rr(i,r),e.ref=t.ref,e.return=t,t.child=e}function Vy(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Fi(i,r)&&e.ref===t.ref)if(ut=!1,t.pendingProps=r=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(ut=!0);else return t.lanes=e.lanes,Cn(e,t,o)}return Qc(e,t,n,r,o)}function By(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ce(so,mt),mt|=n;else if((n&1073741824)!==0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Ce(so,mt),mt|=r;else return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ce(so,mt),mt|=e,null;else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Ce(so,mt),mt|=r;return tt(e,t,o,n),t.child}function Wy(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Qc(e,t,n,r,o){var i=ft(n)?Pr:Ze.current;return i=wo(t,i),vo(t,o),n=fd(e,t,n,r,i,o),r=dd(),e!==null&&!ut?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Cn(e,t,o)):(ke&&r&&od(t),t.flags|=1,tt(e,t,n,o),t.child)}function ev(e,t,n,r,o){if(ft(n)){var i=!0;Us(t)}else i=!1;if(vo(t,o),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),dy(t,n,r),Vc(t,n,r,o),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=Nt(u):(u=ft(n)?Pr:Ze.current,u=wo(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";f||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==u)&&Bh(t,a,r,u),Mn=!1;var d=t.memoizedState;a.state=d,Vs(t,r,a,o),l=t.memoizedState,s!==r||d!==l||ct.current||Mn?(typeof c=="function"&&(zc(t,n,c,r),l=t.memoizedState),(s=Mn||Vh(t,n,s,r,d,l,u))?(f||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,cy(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:zt(t.type,s),a.props=u,f=t.pendingProps,d=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=Nt(l):(l=ft(n)?Pr:Ze.current,l=wo(t,l));var h=n.getDerivedStateFromProps;(c=typeof h=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==f||d!==l)&&Bh(t,a,r,l),Mn=!1,d=t.memoizedState,a.state=d,Vs(t,r,a,o);var m=t.memoizedState;s!==f||d!==m||ct.current||Mn?(typeof h=="function"&&(zc(t,n,h,r),m=t.memoizedState),(u=Mn||Vh(t,n,u,r,d,m,l)||!1)?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,m,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,m,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),a.props=r,a.state=m,a.context=l,r=u):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Kc(e,t,n,r,i,o)}function Kc(e,t,n,r,o,i){Wy(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return o&&Uh(t,n,!1),Cn(e,t,i);r=t.stateNode,k2.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=_o(t,e.child,null,i),t.child=_o(t,null,s,i)):tt(e,t,s,i),t.memoizedState=r.state,o&&Uh(t,n,!0),t.child}function Hy(e){var t=e.stateNode;t.pendingContext?Fh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Fh(e,t.context,!1),sd(e,t.containerInfo)}function tv(e,t,n,r,o){return So(),ad(o),t.flags|=256,tt(e,t,n,r),t.child}var ja={dehydrated:null,treeContext:null,retryLane:0};function za(e){return{baseLanes:e,cachePool:null,transitions:null}}function nv(e,t){return{baseLanes:e.baseLanes|t,cachePool:null,transitions:e.transitions}}function qy(e,t,n){var r=t.pendingProps,o=Le.current,i=!1,a=(t.flags&128)!==0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(o&2)!==0),s?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),Ce(Le,o&1),e===null)return Wc(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},(r&1)===0&&i!==null?(i.childLanes=0,i.pendingProps=o):i=Js(o,r,0,null),e=Or(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=za(n),t.memoizedState=ja,e):Gc(t,o));if(o=e.memoizedState,o!==null){if(s=o.dehydrated,s!==null){if(a)return t.flags&256?(t.flags&=-257,Va(e,t,n,Error(U(422)))):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Js({mode:"visible",children:r.children},o,0,null),i=Or(i,o,n,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,(t.mode&1)!==0&&_o(t,e.child,null,n),t.child.memoizedState=za(n),t.memoizedState=ja,i);if((t.mode&1)===0)t=Va(e,t,n,null);else if(s.data==="$!")t=Va(e,t,n,Error(U(419)));else if(r=(n&e.childLanes)!==0,ut||r){if(r=ze,r!==null){switch(n&-n){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}r=(i&(r.suspendedLanes|n))!==0?0:i,r!==0&&r!==o.retryLane&&(o.retryLane=r,Lt(e,r,-1))}_d(),t=Va(e,t,n,Error(U(421)))}else s.data==="$?"?(t.flags|=128,t.child=e.child,t=j2.bind(null,e),s._reactRetry=t,t=null):(n=o.treeContext,lt=mn(s.nextSibling),gt=t,ke=!0,Ht=null,n!==null&&(xt[Ot++]=gn,xt[Ot++]=yn,xt[Ot++]=Tr,gn=n.id,yn=n.overflow,Tr=t),t=Gc(t,t.pendingProps.children),t.flags|=4096);return t}return i?(r=ov(e,t,r.children,r.fallback,n),i=t.child,o=e.child.memoizedState,i.memoizedState=o===null?za(n):nv(o,n),i.childLanes=e.childLanes&~n,t.memoizedState=ja,r):(n=rv(e,t,r.children,n),t.memoizedState=null,n)}return i?(r=ov(e,t,r.children,r.fallback,n),i=t.child,o=e.child.memoizedState,i.memoizedState=o===null?za(n):nv(o,n),i.childLanes=e.childLanes&~n,t.memoizedState=ja,r):(n=rv(e,t,r.children,n),t.memoizedState=null,n)}function Gc(e,t){return t=Js({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function rv(e,t,n,r){var o=e.child;return e=o.sibling,n=rr(o,{mode:"visible",children:n}),(t.mode&1)===0&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n}function ov(e,t,n,r,o){var i=t.mode;e=e.child;var a=e.sibling,s={mode:"hidden",children:n};return(i&1)===0&&t.child!==e?(n=t.child,n.childLanes=0,n.pendingProps=s,t.deletions=null):(n=rr(e,s),n.subtreeFlags=e.subtreeFlags&14680064),a!==null?r=rr(a,r):(r=Or(r,i,o,null),r.flags|=2),r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Va(e,t,n,r){return r!==null&&ad(r),_o(t,e.child,null,n),e=Gc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function iv(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),jc(e.return,t,n)}function Du(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Qy(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(tt(e,t,r.children,n),r=Le.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&iv(e,n,t);else if(e.tag===19)iv(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ce(Le,r),(t.mode&1)===0)t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Hs(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Du(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Hs(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Du(t,!0,n,null,i);break;case"together":Du(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Cn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Nr|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(U(153));if(t.child!==null){for(e=t.child,n=rr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=rr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function P2(e,t,n){switch(t.tag){case 3:Hy(t),So();break;case 5:gy(t);break;case 1:ft(t.type)&&Us(t);break;case 4:sd(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Ce(js,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Ce(Le,Le.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?qy(e,t,n):(Ce(Le,Le.current&1),e=Cn(e,t,n),e!==null?e.sibling:null);Ce(Le,Le.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return Qy(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Ce(Le,Le.current),r)break;return null;case 22:case 23:return t.lanes=0,By(e,t,n)}return Cn(e,t,n)}function T2(e,t){switch(id(t),t.tag){case 1:return ft(t.type)&&Fs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return bo(),xe(ct),xe(Ze),ud(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return ld(t),null;case 13:if(xe(Le),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(U(340));So()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return xe(Le),null;case 4:return bo(),null;case 10:return nd(t.type._context),null;case 22:case 23:return Sd(),null;case 24:return null;default:return null}}var Ba=!1,Je=!1,L2=typeof WeakSet=="function"?WeakSet:Set,K=null;function ao(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Me(e,t,r)}else n.current=null}function Xc(e,t,n){try{n()}catch(r){Me(e,t,r)}}var av=!1;function N2(e,t){if(Mc=Ms,e=Zg(),Zf(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var h;f!==n||o!==0&&f.nodeType!==3||(s=a+o),f!==i||r!==0&&f.nodeType!==3||(l=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(h=f.firstChild)!==null;)d=f,f=h;for(;;){if(f===e)break t;if(d===n&&++u===o&&(s=a),d===i&&++c===r&&(l=a),(h=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=h}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for($c={focusedElem:e,selectionRange:n},Ms=!1,K=t;K!==null;)if(t=K,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,K=e;else for(;K!==null;){t=K;try{var m=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var y=m.memoizedProps,x=m.memoizedState,v=t.stateNode,p=v.getSnapshotBeforeUpdate(t.elementType===t.type?y:zt(t.type,y),x);v.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var g=t.stateNode.containerInfo;if(g.nodeType===1)g.textContent="";else if(g.nodeType===9){var S=g.body;S!=null&&(S.textContent="")}break;case 5:case 6:case 4:case 17:break;default:throw Error(U(163))}}catch(O){Me(t,t.return,O)}if(e=t.sibling,e!==null){e.return=t.return,K=e;break}K=t.return}return m=av,av=!1,m}function wi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Xc(t,n,i)}o=o.next}while(o!==r)}}function Pl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Yc(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Ky(e){var t=e.alternate;t!==null&&(e.alternate=null,Ky(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[nn],delete t[zi],delete t[Fc],delete t[v2],delete t[m2])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Gy(e){return e.tag===5||e.tag===3||e.tag===4}function sv(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Gy(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Jc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Is));else if(r!==4&&(e=e.child,e!==null))for(Jc(e,t,n),e=e.sibling;e!==null;)Jc(e,t,n),e=e.sibling}function Zc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Zc(e,t,n),e=e.sibling;e!==null;)Zc(e,t,n),e=e.sibling}var We=null,Wt=!1;function Tn(e,t,n){for(n=n.child;n!==null;)Xy(e,t,n),n=n.sibling}function Xy(e,t,n){if(on&&typeof on.onCommitFiberUnmount=="function")try{on.onCommitFiberUnmount(_l,n)}catch{}switch(n.tag){case 5:Je||ao(n,t);case 6:var r=We,o=Wt;We=null,Tn(e,t,n),We=r,Wt=o,We!==null&&(Wt?(e=We,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):We.removeChild(n.stateNode));break;case 18:We!==null&&(Wt?(e=We,n=n.stateNode,e.nodeType===8?Tu(e.parentNode,n):e.nodeType===1&&Tu(e,n),Di(e)):Tu(We,n.stateNode));break;case 4:r=We,o=Wt,We=n.stateNode.containerInfo,Wt=!0,Tn(e,t,n),We=r,Wt=o;break;case 0:case 11:case 14:case 15:if(!Je&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&((i&2)!==0||(i&4)!==0)&&Xc(n,t,a),o=o.next}while(o!==r)}Tn(e,t,n);break;case 1:if(!Je&&(ao(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Me(n,t,s)}Tn(e,t,n);break;case 21:Tn(e,t,n);break;case 22:n.mode&1?(Je=(r=Je)||n.memoizedState!==null,Tn(e,t,n),Je=r):Tn(e,t,n);break;default:Tn(e,t,n)}}function lv(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new L2),t.forEach(function(r){var o=z2.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Ut(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=a),r&=~i}if(r=o,r=De()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*M2(r/1960))-r,10e?16:e,zn===null)var r=!1;else{if(e=zn,zn=null,Xs=0,(ve&6)!==0)throw Error(U(331));var o=ve;for(ve|=4,K=e.current;K!==null;){var i=K,a=i.child;if((K.flags&16)!==0){var s=i.deletions;if(s!==null){for(var l=0;lDe()-yd?xr(e,0):gd|=n),dt(e,t)}function i0(e,t){t===0&&((e.mode&1)===0?t=1:(t=Aa,Aa<<=1,(Aa&130023424)===0&&(Aa=4194304)));var n=nt();e=Ll(e,t),e!==null&&(oa(e,t,n),dt(e,n))}function j2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),i0(e,n)}function z2(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(U(314))}r!==null&&r.delete(t),i0(e,n)}var a0;a0=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ct.current)ut=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return ut=!1,P2(e,t,n);ut=(e.flags&131072)!==0}else ut=!1,ke&&(t.flags&1048576)!==0&&py(t,Ws,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps;var o=wo(t,Ze.current);vo(t,n),o=fd(null,t,r,e,o,n);var i=dd();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ft(r)?(i=!0,Us(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,rd(t),o.updater=Ol,t.stateNode=o,o._reactInternals=t,Vc(t,r,e,n),t=Kc(null,t,r,!0,i,n)):(t.tag=0,ke&&i&&od(t),tt(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=B2(r),e=zt(r,e),o){case 0:t=Qc(null,t,r,e,n);break e;case 1:t=ev(null,t,r,e,n);break e;case 11:t=Jh(null,t,r,e,n);break e;case 14:t=Zh(null,t,r,zt(r.type,e),n);break e}throw Error(U(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:zt(r,o),Qc(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:zt(r,o),ev(e,t,r,o,n);case 3:e:{if(Hy(t),e===null)throw Error(U(387));r=t.pendingProps,i=t.memoizedState,o=i.element,cy(e,t),Vs(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Error(U(423)),t=tv(e,t,r,n,o);break e}else if(r!==o){o=Error(U(424)),t=tv(e,t,r,n,o);break e}else for(lt=mn(t.stateNode.containerInfo.firstChild),gt=t,ke=!0,Ht=null,n=my(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(So(),r===o){t=Cn(e,t,n);break e}tt(e,t,r,n)}t=t.child}return t;case 5:return gy(t),e===null&&Wc(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,Dc(r,o)?a=null:i!==null&&Dc(r,i)&&(t.flags|=32),Wy(e,t),tt(e,t,a,n),t.child;case 6:return e===null&&Wc(t),null;case 13:return qy(e,t,n);case 4:return sd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=_o(t,null,r,n):tt(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:zt(r,o),Jh(e,t,r,o,n);case 7:return tt(e,t,t.pendingProps,n),t.child;case 8:return tt(e,t,t.pendingProps.children,n),t.child;case 12:return tt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,Ce(js,r._currentValue),r._currentValue=a,i!==null)if(Xt(i.value,a)){if(i.children===o.children&&!ct.current){t=Cn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=Sn(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),jc(i.return,n,t),s.lanes|=n;break}l=l.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(U(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),jc(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}tt(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,vo(t,n),o=Nt(o),r=r(o),t.flags|=1,tt(e,t,r,n),t.child;case 14:return r=t.type,o=zt(r,t.pendingProps),o=zt(r.type,o),Zh(e,t,r,o,n);case 15:return Vy(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:zt(r,o),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ft(r)?(e=!0,Us(t)):e=!1,vo(t,n),dy(t,r,o),Vc(t,r,o,n),Kc(null,t,r,!0,e,n);case 19:return Qy(e,t,n);case 22:return By(e,t,n)}throw Error(U(156,t.tag))};function s0(e,t){return Mg(e,t)}function V2(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function kt(e,t,n,r){return new V2(e,t,n,r)}function bd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function B2(e){if(typeof e=="function")return bd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Vf)return 11;if(e===Bf)return 14}return 2}function rr(e,t){var n=e.alternate;return n===null?(n=kt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function vs(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")bd(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Yr:return Or(n.children,o,i,t);case zf:a=8,o|=8;break;case hc:return e=kt(12,n,t,o|2),e.elementType=hc,e.lanes=i,e;case vc:return e=kt(13,n,t,o),e.elementType=vc,e.lanes=i,e;case mc:return e=kt(19,n,t,o),e.elementType=mc,e.lanes=i,e;case gg:return Js(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case vg:a=10;break e;case mg:a=9;break e;case Vf:a=11;break e;case Bf:a=14;break e;case An:a=16,r=null;break e}throw Error(U(130,e==null?e:typeof e,""))}return t=kt(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Or(e,t,n,r){return e=kt(7,e,r,t),e.lanes=n,e}function Js(e,t,n,r){return e=kt(22,e,r,t),e.elementType=gg,e.lanes=n,e.stateNode={},e}function Iu(e,t,n){return e=kt(6,e,null,t),e.lanes=n,e}function Fu(e,t,n){return t=kt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function W2(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=wu(0),this.expirationTimes=wu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wu(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Rd(e,t,n,r,o,i,a,s,l){return e=new W2(e,t,n,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=kt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},rd(i),e}function H2(e,t,n){var r=3=0)&&i(l,!c)}function s(l){var u=[].slice.call(l.querySelectorAll("*"),0).reduce(function(c,f){return c.concat(f.shadowRoot?s(f.shadowRoot):[f])},[]);return u.filter(a)}e.exports=t.default})(el,el.exports);Object.defineProperty(Yt,"__esModule",{value:!0});Yt.resetState=oR;Yt.log=iR;Yt.handleBlur=Ki;Yt.handleFocus=Gi;Yt.markForFocusLater=aR;Yt.returnFocus=sR;Yt.popWithoutFocus=lR;Yt.setupScopedFocus=uR;Yt.teardownScopedFocus=cR;var tR=el.exports,nR=rR(tR);function rR(e){return e&&e.__esModule?e:{default:e}}var Co=[],lo=null,sf=!1;function oR(){Co=[]}function iR(){}function Ki(){sf=!0}function Gi(){if(sf){if(sf=!1,!lo)return;setTimeout(function(){if(!lo.contains(document.activeElement)){var e=(0,nR.default)(lo)[0]||lo;e.focus()}},0)}}function aR(){Co.push(document.activeElement)}function sR(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=null;try{Co.length!==0&&(t=Co.pop(),t.focus({preventScroll:e}));return}catch{console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}}function lR(){Co.length>0&&Co.pop()}function uR(e){lo=e,window.addEventListener?(window.addEventListener("blur",Ki,!1),document.addEventListener("focus",Gi,!0)):(window.attachEvent("onBlur",Ki),document.attachEvent("onFocus",Gi))}function cR(){lo=null,window.addEventListener?(window.removeEventListener("blur",Ki),document.removeEventListener("focus",Gi)):(window.detachEvent("onBlur",Ki),document.detachEvent("onFocus",Gi))}var lf={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=el.exports,r=o(n);function o(s){return s&&s.__esModule?s:{default:s}}function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return s.activeElement.shadowRoot?i(s.activeElement.shadowRoot):s.activeElement}function a(s,l){var u=(0,r.default)(s);if(!u.length){l.preventDefault();return}var c=void 0,f=l.shiftKey,d=u[0],h=u[u.length-1],m=i();if(s===m){if(!f)return;c=h}if(h===m&&!f&&(c=d),d===m&&f&&(c=h),c){l.preventDefault(),c.focus();return}var y=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),x=y!=null&&y[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(!!x){var v=u.indexOf(m);if(v>-1&&(v+=f?-1:1),c=u[v],typeof c=="undefined"){l.preventDefault(),c=f?h:d,c.focus();return}l.preventDefault(),c.focus()}}e.exports=t.default})(lf,lf.exports);var Jt={},fR=function(){},dR=fR,Gt={},m0={exports:{}};/*! - Copyright (c) 2015 Jed Watson. - Based on code that is Copyright 2013-2015, Facebook, Inc. - All rights reserved. -*/(function(e){(function(){var t=!!(typeof window!="undefined"&&window.document&&window.document.createElement),n={canUseDOM:t,canUseWorkers:typeof Worker!="undefined",canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n})()})(m0);Object.defineProperty(Gt,"__esModule",{value:!0});Gt.canUseDOM=Gt.SafeNodeList=Gt.SafeHTMLCollection=void 0;var pR=m0.exports,hR=vR(pR);function vR(e){return e&&e.__esModule?e:{default:e}}var Il=hR.default,mR=Il.canUseDOM?window.HTMLElement:{};Gt.SafeHTMLCollection=Il.canUseDOM?window.HTMLCollection:{};Gt.SafeNodeList=Il.canUseDOM?window.NodeList:{};Gt.canUseDOM=Il.canUseDOM;Gt.default=mR;Object.defineProperty(Jt,"__esModule",{value:!0});Jt.resetState=_R;Jt.log=bR;Jt.assertNodeList=g0;Jt.setElement=RR;Jt.validateElement=Od;Jt.hide=CR;Jt.show=ER;Jt.documentNotReadyOrSSRTesting=xR;var gR=dR,yR=SR(gR),wR=Gt;function SR(e){return e&&e.__esModule?e:{default:e}}var Et=null;function _R(){Et&&(Et.removeAttribute?Et.removeAttribute("aria-hidden"):Et.length!=null?Et.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(Et).forEach(function(e){return e.removeAttribute("aria-hidden")})),Et=null}function bR(){}function g0(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function RR(e){var t=e;if(typeof t=="string"&&wR.canUseDOM){var n=document.querySelectorAll(t);g0(n,t),t=n}return Et=t||Et,Et}function Od(e){var t=e||Et;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,yR.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}function CR(e){var t=!0,n=!1,r=void 0;try{for(var o=Od(e)[Symbol.iterator](),i;!(t=(i=o.next()).done);t=!0){var a=i.value;a.setAttribute("aria-hidden","true")}}catch(s){n=!0,r=s}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}}function ER(e){var t=!0,n=!1,r=void 0;try{for(var o=Od(e)[Symbol.iterator](),i;!(t=(i=o.next()).done);t=!0){var a=i.value;a.removeAttribute("aria-hidden")}}catch(s){n=!0,r=s}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}}function xR(){Et=null}var Mo={};Object.defineProperty(Mo,"__esModule",{value:!0});Mo.resetState=OR;Mo.log=kR;var bi={},Ri={};function mv(e,t){e.classList.remove(t)}function OR(){var e=document.getElementsByTagName("html")[0];for(var t in bi)mv(e,bi[t]);var n=document.body;for(var r in Ri)mv(n,Ri[r]);bi={},Ri={}}function kR(){}var PR=function(t,n){return t[n]||(t[n]=0),t[n]+=1,n},TR=function(t,n){return t[n]&&(t[n]-=1),n},LR=function(t,n,r){r.forEach(function(o){PR(n,o),t.add(o)})},NR=function(t,n,r){r.forEach(function(o){TR(n,o),n[o]===0&&t.remove(o)})};Mo.add=function(t,n){return LR(t.classList,t.nodeName.toLowerCase()=="html"?bi:Ri,n.split(" "))};Mo.remove=function(t,n){return NR(t.classList,t.nodeName.toLowerCase()=="html"?bi:Ri,n.split(" "))};var $o={};Object.defineProperty($o,"__esModule",{value:!0});$o.log=MR;$o.resetState=$R;function AR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var y0=function e(){var t=this;AR(this,e),this.register=function(n){t.openInstances.indexOf(n)===-1&&(t.openInstances.push(n),t.emit("register"))},this.deregister=function(n){var r=t.openInstances.indexOf(n);r!==-1&&(t.openInstances.splice(r,1),t.emit("deregister"))},this.subscribe=function(n){t.subscribers.push(n)},this.emit=function(n){t.subscribers.forEach(function(r){return r(n,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},tl=new y0;function MR(){console.log("portalOpenInstances ----------"),console.log(tl.openInstances.length),tl.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")}function $R(){tl=new y0}$o.default=tl;var kd={};Object.defineProperty(kd,"__esModule",{value:!0});kd.resetState=UR;kd.log=jR;var DR=$o,IR=FR(DR);function FR(e){return e&&e.__esModule?e:{default:e}}var Xe=void 0,Vt=void 0,kr=[];function UR(){for(var e=[Xe,Vt],t=0;t0?(document.body.firstChild!==Xe&&document.body.insertBefore(Xe,document.body.firstChild),document.body.lastChild!==Vt&&document.body.appendChild(Vt)):(Xe.parentElement&&Xe.parentElement.removeChild(Xe),Vt.parentElement&&Vt.parentElement.removeChild(Vt))}IR.default.subscribe(zR);(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(w){for(var T=1;T0&&(te-=1,te===0&&h.show(N)),C.props.shouldFocusAfterRender&&(C.props.shouldReturnFocusAfterClose?(u.returnFocus(C.props.preventScroll),u.teardownScopedFocus()):u.popWithoutFocus()),C.props.onAfterClose&&C.props.onAfterClose(),g.default.deregister(C)},C.open=function(){C.beforeOpen(),C.state.afterOpen&&C.state.beforeClose?(clearTimeout(C.closeTimer),C.setState({beforeClose:!1})):(C.props.shouldFocusAfterRender&&(u.setupScopedFocus(C.node),u.markForFocusLater()),C.setState({isOpen:!0},function(){C.openAnimationFrame=requestAnimationFrame(function(){C.setState({afterOpen:!0}),C.props.isOpen&&C.props.onAfterOpen&&C.props.onAfterOpen({overlayEl:C.overlay,contentEl:C.content})})}))},C.close=function(){C.props.closeTimeoutMS>0?C.closeWithTimeout():C.closeWithoutTimeout()},C.focusContent=function(){return C.content&&!C.contentHasFocus()&&C.content.focus({preventScroll:!0})},C.closeWithTimeout=function(){var k=Date.now()+C.props.closeTimeoutMS;C.setState({beforeClose:!0,closesAt:k},function(){C.closeTimer=setTimeout(C.closeWithoutTimeout,C.state.closesAt-Date.now())})},C.closeWithoutTimeout=function(){C.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},C.afterClose)},C.handleKeyDown=function(k){k.keyCode===M&&(0,f.default)(C.content,k),C.props.shouldCloseOnEsc&&k.keyCode===Q&&(k.stopPropagation(),C.requestClose(k))},C.handleOverlayOnClick=function(k){C.shouldClose===null&&(C.shouldClose=!0),C.shouldClose&&C.props.shouldCloseOnOverlayClick&&(C.ownerHandlesClose()?C.requestClose(k):C.focusContent()),C.shouldClose=null},C.handleContentOnMouseUp=function(){C.shouldClose=!1},C.handleOverlayOnMouseDown=function(k){!C.props.shouldCloseOnOverlayClick&&k.target==C.overlay&&k.preventDefault()},C.handleContentOnClick=function(){C.shouldClose=!1},C.handleContentOnMouseDown=function(){C.shouldClose=!1},C.requestClose=function(k){return C.ownerHandlesClose()&&C.props.onRequestClose(k)},C.ownerHandlesClose=function(){return C.props.onRequestClose},C.shouldBeClosed=function(){return!C.state.isOpen&&!C.state.beforeClose},C.contentHasFocus=function(){return document.activeElement===C.content||C.content.contains(document.activeElement)},C.buildClassName=function(k,N){var $=(typeof N=="undefined"?"undefined":r(N))==="object"?N:{base:j[k],afterOpen:j[k]+"--after-open",beforeClose:j[k]+"--before-close"},F=$.base;return C.state.afterOpen&&(F=F+" "+$.afterOpen),C.state.beforeClose&&(F=F+" "+$.beforeClose),typeof N=="string"&&N?F+" "+N:F},C.attributesFromObject=function(k,N){return Object.keys(N).reduce(function($,F){return $[k+"-"+F]=N[F],$},{})},C.state={afterOpen:!1,beforeClose:!1},C.shouldClose=null,C.moveFromContentToOverlay=null,C}return o(T,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(C,k){this.props.isOpen&&!C.isOpen?this.open():!this.props.isOpen&&C.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!k.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var C=this.props,k=C.appElement,N=C.ariaHideApp,$=C.htmlOpenClassName,F=C.bodyOpenClassName;F&&y.add(document.body,F),$&&y.add(document.getElementsByTagName("html")[0],$),N&&(te+=1,h.hide(k)),g.default.register(this)}},{key:"render",value:function(){var C=this.props,k=C.id,N=C.className,$=C.overlayClassName,F=C.defaultStyles,b=C.children,B=N?{}:F.content,V=$?{}:F.overlay;if(this.shouldBeClosed())return null;var Z={ref:this.setOverlayRef,className:this.buildClassName("overlay",$),style:n({},V,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},W=n({id:k,ref:this.setContentRef,style:n({},B,this.props.style.content),className:this.buildClassName("content",N),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),ne=this.props.contentElement(W,b);return this.props.overlayElement(Z,ne)}}]),T}(i.Component);X.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},X.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(v.default),s.default.instanceOf(x.SafeHTMLCollection),s.default.instanceOf(x.SafeNodeList),s.default.arrayOf(s.default.instanceOf(v.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=X,e.exports=t.default})(af,af.exports);function w0(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);e!=null&&this.setState(e)}function S0(e){function t(n){var r=this.constructor.getDerivedStateFromProps(e,n);return r!=null?r:null}this.setState(t.bind(this))}function _0(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}w0.__suppressDeprecationWarning=!0;S0.__suppressDeprecationWarning=!0;_0.__suppressDeprecationWarning=!0;function VR(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if(typeof e.getDerivedStateFromProps!="function"&&typeof t.getSnapshotBeforeUpdate!="function")return e;var n=null,r=null,o=null;if(typeof t.componentWillMount=="function"?n="componentWillMount":typeof t.UNSAFE_componentWillMount=="function"&&(n="UNSAFE_componentWillMount"),typeof t.componentWillReceiveProps=="function"?r="componentWillReceiveProps":typeof t.UNSAFE_componentWillReceiveProps=="function"&&(r="UNSAFE_componentWillReceiveProps"),typeof t.componentWillUpdate=="function"?o="componentWillUpdate":typeof t.UNSAFE_componentWillUpdate=="function"&&(o="UNSAFE_componentWillUpdate"),n!==null||r!==null||o!==null){var i=e.displayName||e.name,a=typeof e.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs. - -`+i+" uses "+a+" but also contains the following legacy lifecycles:"+(n!==null?` - `+n:"")+(r!==null?` - `+r:"")+(o!==null?` - `+o:"")+` - -The above lifecycles should be removed. Learn more about this warning here: -https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=w0,t.componentWillReceiveProps=S0),typeof t.getSnapshotBeforeUpdate=="function"){if(typeof t.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=_0;var s=t.componentDidUpdate;t.componentDidUpdate=function(u,c,f){var d=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:f;s.call(this,u,c,d)}}return e}var BR=Object.freeze(Object.defineProperty({__proto__:null,polyfill:VR},Symbol.toStringTag,{value:"Module"})),WR=eg(BR);Object.defineProperty(Mr,"__esModule",{value:!0});Mr.bodyOpenClassName=Mr.portalClassName=void 0;var yv=Object.assign||function(e){for(var t=1;t0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}();function fe(){return fe=Object.assign||function(e){for(var t=1;t=0&&e!==1/0}function il(e){return Array.isArray(e)?e:[e]}function C0(e,t){return Math.max(e+(t||0)-Date.now(),0)}function ms(e,t,n){return da(e)?typeof t=="function"?fe({},n,{queryKey:e,queryFn:t}):fe({},t,{queryKey:e}):e}function j$(e,t,n){return da(e)?typeof t=="function"?fe({},n,{mutationKey:e,mutationFn:t}):fe({},t,{mutationKey:e}):typeof e=="function"?fe({},t,{mutationFn:e}):fe({},e)}function $n(e,t,n){return da(e)?[fe({},t,{queryKey:e}),n]:[e||{},t]}function oC(e,t){if(e===!0&&t===!0||e==null&&t==null)return"all";if(e===!1&&t===!1)return"none";var n=e!=null?e:!t;return n?"active":"inactive"}function Cv(e,t){var n=e.active,r=e.exact,o=e.fetching,i=e.inactive,a=e.predicate,s=e.queryKey,l=e.stale;if(da(s)){if(r){if(t.queryHash!==Pd(s,t.options))return!1}else if(!al(t.queryKey,s))return!1}var u=oC(n,i);if(u==="none")return!1;if(u!=="all"){var c=t.isActive();if(u==="active"&&!c||u==="inactive"&&c)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||typeof o=="boolean"&&t.isFetching()!==o||a&&!a(t))}function Ev(e,t){var n=e.exact,r=e.fetching,o=e.predicate,i=e.mutationKey;if(da(i)){if(!t.options.mutationKey)return!1;if(n){if(Cr(t.options.mutationKey)!==Cr(i))return!1}else if(!al(t.options.mutationKey,i))return!1}return!(typeof r=="boolean"&&t.state.status==="loading"!==r||o&&!o(t))}function Pd(e,t){var n=(t==null?void 0:t.queryKeyHashFn)||Cr;return n(e)}function Cr(e){var t=il(e);return iC(t)}function iC(e){return JSON.stringify(e,function(t,n){return cf(n)?Object.keys(n).sort().reduce(function(r,o){return r[o]=n[o],r},{}):n})}function al(e,t){return E0(il(e),il(t))}function E0(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(function(n){return!E0(e[n],t[n])}):!1}function sl(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||cf(e)&&cf(t)){for(var r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{},s=0,l=0;l0?this.queries.filter(function(l){return Cv(s,l)}):this.queries},n.notify=function(o){var i=this;$e.batch(function(){i.listeners.forEach(function(a){a(o)})})},n.onFocus=function(){var o=this;$e.batch(function(){o.queries.forEach(function(i){i.onFocus()})})},n.onOnline=function(){var o=this;$e.batch(function(){o.queries.forEach(function(i){i.onOnline()})})},t}(fa),hC=function(){function e(n){this.options=fe({},n.defaultOptions,n.options),this.mutationId=n.mutationId,this.mutationCache=n.mutationCache,this.observers=[],this.state=n.state||vC(),this.meta=n.meta}var t=e.prototype;return t.setState=function(r){this.dispatch({type:"setState",state:r})},t.addObserver=function(r){this.observers.indexOf(r)===-1&&this.observers.push(r)},t.removeObserver=function(r){this.observers=this.observers.filter(function(o){return o!==r})},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(Ye).catch(Ye)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var r=this,o,i=this.state.status==="loading",a=Promise.resolve();return i||(this.dispatch({type:"loading",variables:this.options.variables}),a=a.then(function(){r.mutationCache.config.onMutate==null||r.mutationCache.config.onMutate(r.state.variables,r)}).then(function(){return r.options.onMutate==null?void 0:r.options.onMutate(r.state.variables)}).then(function(s){s!==r.state.context&&r.dispatch({type:"loading",context:s,variables:r.state.variables})})),a.then(function(){return r.executeMutation()}).then(function(s){o=s,r.mutationCache.config.onSuccess==null||r.mutationCache.config.onSuccess(o,r.state.variables,r.state.context,r)}).then(function(){return r.options.onSuccess==null?void 0:r.options.onSuccess(o,r.state.variables,r.state.context)}).then(function(){return r.options.onSettled==null?void 0:r.options.onSettled(o,null,r.state.variables,r.state.context)}).then(function(){return r.dispatch({type:"success",data:o}),o}).catch(function(s){return r.mutationCache.config.onError==null||r.mutationCache.config.onError(s,r.state.variables,r.state.context,r),ul().error(s),Promise.resolve().then(function(){return r.options.onError==null?void 0:r.options.onError(s,r.state.variables,r.state.context)}).then(function(){return r.options.onSettled==null?void 0:r.options.onSettled(void 0,s,r.state.variables,r.state.context)}).then(function(){throw r.dispatch({type:"error",error:s}),s})})},t.executeMutation=function(){var r=this,o;return this.retryer=new k0({fn:function(){return r.options.mutationFn?r.options.mutationFn(r.state.variables):Promise.reject("No mutationFn found")},onFail:function(){r.dispatch({type:"failed"})},onPause:function(){r.dispatch({type:"pause"})},onContinue:function(){r.dispatch({type:"continue"})},retry:(o=this.options.retry)!=null?o:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(r){var o=this;this.state=mC(this.state,r),$e.batch(function(){o.observers.forEach(function(i){i.onMutationUpdate(r)}),o.mutationCache.notify(o)})},e}();function vC(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}function mC(e,t){switch(t.type){case"failed":return fe({},e,{failureCount:e.failureCount+1});case"pause":return fe({},e,{isPaused:!0});case"continue":return fe({},e,{isPaused:!1});case"loading":return fe({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return fe({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return fe({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return fe({},e,t.state);default:return e}}var gC=function(e){ca(t,e);function t(r){var o;return o=e.call(this)||this,o.config=r||{},o.mutations=[],o.mutationId=0,o}var n=t.prototype;return n.build=function(o,i,a){var s=new hC({mutationCache:this,mutationId:++this.mutationId,options:o.defaultMutationOptions(i),state:a,defaultOptions:i.mutationKey?o.getMutationDefaults(i.mutationKey):void 0,meta:i.meta});return this.add(s),s},n.add=function(o){this.mutations.push(o),this.notify(o)},n.remove=function(o){this.mutations=this.mutations.filter(function(i){return i!==o}),o.cancel(),this.notify(o)},n.clear=function(){var o=this;$e.batch(function(){o.mutations.forEach(function(i){o.remove(i)})})},n.getAll=function(){return this.mutations},n.find=function(o){return typeof o.exact=="undefined"&&(o.exact=!0),this.mutations.find(function(i){return Ev(o,i)})},n.findAll=function(o){return this.mutations.filter(function(i){return Ev(o,i)})},n.notify=function(o){var i=this;$e.batch(function(){i.listeners.forEach(function(a){a(o)})})},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var o=this.mutations.filter(function(i){return i.state.isPaused});return $e.batch(function(){return o.reduce(function(i,a){return i.then(function(){return a.continue().catch(Ye)})},Promise.resolve())})},t}(fa);function yC(){return{onFetch:function(t){t.fetchFn=function(){var n,r,o,i,a,s,l=(n=t.fetchOptions)==null||(r=n.meta)==null?void 0:r.refetchPage,u=(o=t.fetchOptions)==null||(i=o.meta)==null?void 0:i.fetchMore,c=u==null?void 0:u.pageParam,f=(u==null?void 0:u.direction)==="forward",d=(u==null?void 0:u.direction)==="backward",h=((a=t.state.data)==null?void 0:a.pages)||[],m=((s=t.state.data)==null?void 0:s.pageParams)||[],y=x0(),x=y==null?void 0:y.signal,v=m,p=!1,g=t.options.queryFn||function(){return Promise.reject("Missing queryFn")},S=function(w,T,z,C){return v=C?[T].concat(v):[].concat(v,[T]),C?[z].concat(w):[].concat(w,[z])},O=function(w,T,z,C){if(p)return Promise.reject("Cancelled");if(typeof z=="undefined"&&!T&&w.length)return Promise.resolve(w);var k={queryKey:t.queryKey,signal:x,pageParam:z,meta:t.meta},N=g(k),$=Promise.resolve(N).then(function(b){return S(w,z,b,C)});if(ll(N)){var F=$;F.cancel=N.cancel}return $},E;if(!h.length)E=O([]);else if(f){var A=typeof c!="undefined",L=A?c:kv(t.options,h);E=O(h,A,L)}else if(d){var j=typeof c!="undefined",M=j?c:wC(t.options,h);E=O(h,j,M,!0)}else(function(){v=[];var X=typeof t.options.getNextPageParam=="undefined",w=l&&h[0]?l(h[0],0,h):!0;E=w?O([],X,m[0]):Promise.resolve(S([],m[0],h[0]));for(var T=function(k){E=E.then(function(N){var $=l&&h[k]?l(h[k],k,h):!0;if($){var F=X?m[k]:kv(t.options,N);return O(N,X,F)}return Promise.resolve(S(N,m[k],h[k]))})},z=1;z0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>d.dataUpdateCount||m.errorUpdateCount>d.errorUpdateCount,isFetching:p,isRefetching:p&&g!=="loading",isLoadingError:g==="error"&&m.dataUpdatedAt===0,isPlaceholderData:O,isPreviousData:S,isRefetchError:g==="error"&&m.dataUpdatedAt!==0,isStale:Td(o,i),refetch:this.refetch,remove:this.remove};return Q},n.shouldNotifyListeners=function(o,i){if(!i)return!0;var a=this.options,s=a.notifyOnChangeProps,l=a.notifyOnChangePropsExclusions;if(!s&&!l||s==="tracked"&&!this.trackedProps.length)return!0;var u=s==="tracked"?this.trackedProps:s;return Object.keys(o).some(function(c){var f=c,d=o[f]!==i[f],h=u==null?void 0:u.some(function(y){return y===c}),m=l==null?void 0:l.some(function(y){return y===c});return d&&!m&&(!u||h)})},n.updateResult=function(o){var i=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!aC(this.currentResult,i)){var a={cache:!0};(o==null?void 0:o.listeners)!==!1&&this.shouldNotifyListeners(this.currentResult,i)&&(a.listeners=!0),this.notify(fe({},a,o))}},n.updateQuery=function(){var o=this.client.getQueryCache().build(this.client,this.options);if(o!==this.currentQuery){var i=this.currentQuery;this.currentQuery=o,this.currentQueryInitialState=o.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(i==null||i.removeObserver(this),o.addObserver(this))}},n.onQueryUpdate=function(o){var i={};o.type==="success"?i.onSuccess=!0:o.type==="error"&&!ys(o.error)&&(i.onError=!0),this.updateResult(i),this.hasListeners()&&this.updateTimers()},n.notify=function(o){var i=this;$e.batch(function(){o.onSuccess?(i.options.onSuccess==null||i.options.onSuccess(i.currentResult.data),i.options.onSettled==null||i.options.onSettled(i.currentResult.data,null)):o.onError&&(i.options.onError==null||i.options.onError(i.currentResult.error),i.options.onSettled==null||i.options.onSettled(void 0,i.currentResult.error)),o.listeners&&i.listeners.forEach(function(a){a(i.currentResult)}),o.cache&&i.client.getQueryCache().notify({query:i.currentQuery,type:"observerResultsUpdated"})})},t}(fa);function bC(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Pv(e,t){return bC(e,t)||e.state.dataUpdatedAt>0&&ff(e,t,t.refetchOnMount)}function ff(e,t,n){if(t.enabled!==!1){var r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Td(e,t)}return!1}function Tv(e,t,n,r){return n.enabled!==!1&&(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&Td(e,n)}function Td(e,t){return e.isStaleByTime(t.staleTime)}var RC=d0.unstable_batchedUpdates;$e.setBatchNotifyFunction(RC);var CC=console;dC(CC);var Lv=ee.createContext(void 0),L0=ee.createContext(!1);function N0(e){return e&&typeof window!="undefined"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Lv),window.ReactQueryClientContext):Lv}var EC=function(){var t=ee.useContext(N0(ee.useContext(L0)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},xC=function(t){var n=t.client,r=t.contextSharing,o=r===void 0?!1:r,i=t.children;ee.useEffect(function(){return n.mount(),function(){n.unmount()}},[n]);var a=N0(o);return ee.createElement(L0.Provider,{value:o},ee.createElement(a.Provider,{value:n},i))};function OC(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var kC=ee.createContext(OC()),PC=function(){return ee.useContext(kC)};function TC(e,t,n){return typeof t=="function"?t.apply(void 0,n):typeof t=="boolean"?t:!!e}function LC(e,t){var n=ee.useRef(!1),r=ee.useState(0),o=r[1],i=EC(),a=PC(),s=i.defaultQueryObserverOptions(e);s.optimisticResults=!0,s.onError&&(s.onError=$e.batchCalls(s.onError)),s.onSuccess&&(s.onSuccess=$e.batchCalls(s.onSuccess)),s.onSettled&&(s.onSettled=$e.batchCalls(s.onSettled)),s.suspense&&(typeof s.staleTime!="number"&&(s.staleTime=1e3),s.cacheTime===0&&(s.cacheTime=1)),(s.suspense||s.useErrorBoundary)&&(a.isReset()||(s.retryOnMount=!1));var l=ee.useState(function(){return new t(i,s)}),u=l[0],c=u.getOptimisticResult(s);if(ee.useEffect(function(){n.current=!0,a.clearReset();var f=u.subscribe($e.batchCalls(function(){n.current&&o(function(d){return d+1})}));return u.updateResult(),function(){n.current=!1,f()}},[a,u]),ee.useEffect(function(){u.setOptions(s,{listeners:!1})},[s,u]),s.suspense&&c.isLoading)throw u.fetchOptimistic(s).then(function(f){var d=f.data;s.onSuccess==null||s.onSuccess(d),s.onSettled==null||s.onSettled(d,null)}).catch(function(f){a.clearReset(),s.onError==null||s.onError(f),s.onSettled==null||s.onSettled(void 0,f)});if(c.isError&&!a.isReset()&&!c.isFetching&&TC(s.suspense,s.useErrorBoundary,[c.error,u.getCurrentQuery()]))throw c.error;return s.notifyOnChangeProps==="tracked"&&(c=u.trackResult(c,s)),c}function NC(e,t,n){var r=ms(e,t,n);return LC(r,_C)}var Er;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Er||(Er={}));var Nv=function(e){return e},Av="beforeunload",AC="hashchange",MC="popstate";function $C(e){e===void 0&&(e={});var t=e,n=t.window,r=n===void 0?document.defaultView:n,o=r.history;function i(){var L=or(r.location.hash.substr(1)),j=L.pathname,M=j===void 0?"/":j,Q=L.search,te=Q===void 0?"":Q,X=L.hash,w=X===void 0?"":X,T=o.state||{};return[T.idx,Nv({pathname:M,search:te,hash:w,state:T.usr||null,key:T.key||"default"})]}var a=null;function s(){if(a)h.call(a),a=null;else{var L=Er.Pop,j=i(),M=j[0],Q=j[1];if(h.length){if(M!=null){var te=c-M;te&&(a={action:L,location:Q,retry:function(){E(te*-1)}},E(te))}}else g(L)}}r.addEventListener(MC,s),r.addEventListener(AC,function(){var L=i(),j=L[1];Ei(j)!==Ei(f)&&s()});var l=Er.Pop,u=i(),c=u[0],f=u[1],d=$v(),h=$v();c==null&&(c=0,o.replaceState(fe({},o.state,{idx:c}),""));function m(){var L=document.querySelector("base"),j="";if(L&&L.getAttribute("href")){var M=r.location.href,Q=M.indexOf("#");j=Q===-1?M:M.slice(0,Q)}return j}function y(L){return m()+"#"+(typeof L=="string"?L:Ei(L))}function x(L,j){return j===void 0&&(j=null),Nv(fe({pathname:f.pathname,hash:"",search:""},typeof L=="string"?or(L):L,{state:j,key:DC()}))}function v(L,j){return[{usr:L.state,key:L.key,idx:j},y(L)]}function p(L,j,M){return!h.length||(h.call({action:L,location:j,retry:M}),!1)}function g(L){l=L;var j=i();c=j[0],f=j[1],d.call({action:l,location:f})}function S(L,j){var M=Er.Push,Q=x(L,j);function te(){S(L,j)}if(p(M,Q,te)){var X=v(Q,c+1),w=X[0],T=X[1];try{o.pushState(w,"",T)}catch{r.location.assign(T)}g(M)}}function O(L,j){var M=Er.Replace,Q=x(L,j);function te(){O(L,j)}if(p(M,Q,te)){var X=v(Q,c),w=X[0],T=X[1];o.replaceState(w,"",T),g(M)}}function E(L){o.go(L)}var A={get action(){return l},get location(){return f},createHref:y,push:S,replace:O,go:E,back:function(){E(-1)},forward:function(){E(1)},listen:function(j){return d.push(j)},block:function(j){var M=h.push(j);return h.length===1&&r.addEventListener(Av,Mv),function(){M(),h.length||r.removeEventListener(Av,Mv)}}};return A}function Mv(e){e.preventDefault(),e.returnValue=""}function $v(){var e=[];return{get length(){return e.length},push:function(n){return e.push(n),function(){e=e.filter(function(r){return r!==n})}},call:function(n){e.forEach(function(r){return r&&r(n)})}}}function DC(){return Math.random().toString(36).substr(2,8)}function Ei(e){var t=e.pathname,n=t===void 0?"/":t,r=e.search,o=r===void 0?"":r,i=e.hash,a=i===void 0?"":i;return o&&o!=="?"&&(n+=o.charAt(0)==="?"?o:"?"+o),a&&a!=="#"&&(n+=a.charAt(0)==="#"?a:"#"+a),n}function or(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}/** - * React Router v6.3.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */const Ld=D.exports.createContext(null),Nd=D.exports.createContext(null),Fl=D.exports.createContext({outlet:null,matches:[]});function ir(e,t){if(!e)throw new Error(t)}function IC(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?or(t):t,o=$0(r.pathname||"/",n);if(o==null)return null;let i=A0(e);FC(i);let a=null;for(let s=0;a==null&&s{let a={relativePath:o.path||"",caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};a.relativePath.startsWith("/")&&(a.relativePath.startsWith(r)||ir(!1),a.relativePath=a.relativePath.slice(r.length));let s=Yn([r,a.relativePath]),l=n.concat(a);o.children&&o.children.length>0&&(o.index===!0&&ir(!1),A0(o.children,t,l,s)),!(o.path==null&&!o.index)&&t.push({path:s,score:HC(s,o.index),routesMeta:l})}),t}function FC(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:qC(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const UC=/^:\w+$/,jC=3,zC=2,VC=1,BC=10,WC=-2,Dv=e=>e==="*";function HC(e,t){let n=e.split("/"),r=n.length;return n.some(Dv)&&(r+=WC),t&&(r+=zC),n.filter(o=>!Dv(o)).reduce((o,i)=>o+(UC.test(i)?jC:i===""?VC:BC),r)}function qC(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function QC(e,t){let{routesMeta:n}=e,r={},o="/",i=[];for(let a=0;a{if(c==="*"){let d=s[f]||"";a=i.slice(0,i.length-d.length).replace(/(.)\/+$/,"$1")}return u[c]=XC(s[f]||""),u},{}),pathname:i,pathnameBase:a,pattern:e}}function GC(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0);let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(a,s)=>(r.push(s),"([^\\/]+)"));return e.endsWith("*")?(r.push("*"),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o+=n?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(o,t?void 0:"i"),r]}function XC(e,t){try{return decodeURIComponent(e)}catch{return e}}function YC(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?or(e):e;return{pathname:n?n.startsWith("/")?n:JC(n,t):t,search:eE(r),hash:tE(o)}}function JC(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function M0(e,t,n){let r=typeof e=="string"?or(e):e,o=e===""||r.pathname===""?"/":r.pathname,i;if(o==null)i=n;else{let s=t.length-1;if(o.startsWith("..")){let l=o.split("/");for(;l[0]==="..";)l.shift(),s-=1;r.pathname=l.join("/")}i=s>=0?t[s]:"/"}let a=YC(r,i);return o&&o!=="/"&&o.endsWith("/")&&!a.pathname.endsWith("/")&&(a.pathname+="/"),a}function ZC(e){return e===""||e.pathname===""?"/":typeof e=="string"?or(e).pathname:e.pathname}function $0(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=e.charAt(t.length);return n&&n!=="/"?null:e.slice(t.length)||"/"}const Yn=e=>e.join("/").replace(/\/\/+/g,"/"),D0=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),eE=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,tE=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function nE(e){pa()||ir(!1);let{basename:t,navigator:n}=D.exports.useContext(Ld),{hash:r,pathname:o,search:i}=I0(e),a=o;if(t!=="/"){let s=ZC(e),l=s!=null&&s.endsWith("/");a=o==="/"?t+(l?"/":""):Yn([t,o])}return n.createHref({pathname:a,search:i,hash:r})}function pa(){return D.exports.useContext(Nd)!=null}function ha(){return pa()||ir(!1),D.exports.useContext(Nd).location}function rE(){pa()||ir(!1);let{basename:e,navigator:t}=D.exports.useContext(Ld),{matches:n}=D.exports.useContext(Fl),{pathname:r}=ha(),o=JSON.stringify(n.map(s=>s.pathnameBase)),i=D.exports.useRef(!1);return D.exports.useEffect(()=>{i.current=!0}),D.exports.useCallback(function(s,l){if(l===void 0&&(l={}),!i.current)return;if(typeof s=="number"){t.go(s);return}let u=M0(s,JSON.parse(o),r);e!=="/"&&(u.pathname=Yn([e,u.pathname])),(l.replace?t.replace:t.push)(u,l.state)},[e,t,o,r])}function I0(e){let{matches:t}=D.exports.useContext(Fl),{pathname:n}=ha(),r=JSON.stringify(t.map(o=>o.pathnameBase));return D.exports.useMemo(()=>M0(e,JSON.parse(r),n),[e,r,n])}function F0(e,t){pa()||ir(!1);let{matches:n}=D.exports.useContext(Fl),r=n[n.length-1],o=r?r.params:{};r&&r.pathname;let i=r?r.pathnameBase:"/";r&&r.route;let a=ha(),s;if(t){var l;let d=typeof t=="string"?or(t):t;i==="/"||((l=d.pathname)==null?void 0:l.startsWith(i))||ir(!1),s=d}else s=a;let u=s.pathname||"/",c=i==="/"?u:u.slice(i.length)||"/",f=IC(e,{pathname:c});return oE(f&&f.map(d=>Object.assign({},d,{params:Object.assign({},o,d.params),pathname:Yn([i,d.pathname]),pathnameBase:d.pathnameBase==="/"?i:Yn([i,d.pathnameBase])})),n)}function oE(e,t){return t===void 0&&(t=[]),e==null?null:e.reduceRight((n,r,o)=>D.exports.createElement(Fl.Provider,{children:r.route.element!==void 0?r.route.element:n,value:{outlet:n,matches:t.concat(e.slice(0,o+1))}}),null)}function iE(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Er.Pop,navigator:i,static:a=!1}=e;pa()&&ir(!1);let s=D0(t),l=D.exports.useMemo(()=>({basename:s,navigator:i,static:a}),[s,i,a]);typeof r=="string"&&(r=or(r));let{pathname:u="/",search:c="",hash:f="",state:d=null,key:h="default"}=r,m=D.exports.useMemo(()=>{let y=$0(u,s);return y==null?null:{pathname:y,search:c,hash:f,state:d,key:h}},[s,u,c,f,d,h]);return m==null?null:D.exports.createElement(Ld.Provider,{value:l},D.exports.createElement(Nd.Provider,{children:n,value:{location:m,navigationType:o}}))}/** - * React Router DOM v6.3.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function df(){return df=Object.assign||function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}const sE=["onClick","reloadDocument","replace","state","target","to"];function lE(e){let{basename:t,children:n,window:r}=e,o=D.exports.useRef();o.current==null&&(o.current=$C({window:r}));let i=o.current,[a,s]=D.exports.useState({action:i.action,location:i.location});return D.exports.useLayoutEffect(()=>i.listen(s),[i]),D.exports.createElement(iE,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:i})}function uE(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const U0=D.exports.forwardRef(function(t,n){let{onClick:r,reloadDocument:o,replace:i=!1,state:a,target:s,to:l}=t,u=aE(t,sE),c=nE(l),f=cE(l,{replace:i,state:a,target:s});function d(h){r&&r(h),!h.defaultPrevented&&!o&&f(h)}return D.exports.createElement("a",df({},u,{href:c,onClick:d,ref:n,target:s}))});function cE(e,t){let{target:n,replace:r,state:o}=t===void 0?{}:t,i=rE(),a=ha(),s=I0(e);return D.exports.useCallback(l=>{if(l.button===0&&(!n||n==="_self")&&!uE(l)){l.preventDefault();let u=!!r||Ei(a)===Ei(s);i(e,{replace:u,state:o})}},[a,i,s,r,o,n,e])}function fE(e){const t=new Error(e);if(t.stack===void 0)try{throw t}catch{}return t}var dE=fE,de=dE;function pE(e){return!!e&&typeof e.then=="function"}var Pe=pE;function hE(e,t){if(e!=null)return e;throw de(t!=null?t:"Got unexpected null or undefined")}var Te=hE;function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class Ul{getValue(){throw de("BaseLoadable")}toPromise(){throw de("BaseLoadable")}valueMaybe(){throw de("BaseLoadable")}valueOrThrow(){throw de(`Loadable expected value, but in "${this.state}" state`)}promiseMaybe(){throw de("BaseLoadable")}promiseOrThrow(){throw de(`Loadable expected promise, but in "${this.state}" state`)}errorMaybe(){throw de("BaseLoadable")}errorOrThrow(){throw de(`Loadable expected error, but in "${this.state}" state`)}is(t){return t.state===this.state&&t.contents===this.contents}map(t){throw de("BaseLoadable")}}class vE extends Ul{constructor(t){super(),se(this,"state","hasValue"),se(this,"contents",void 0),this.contents=t}getValue(){return this.contents}toPromise(){return Promise.resolve(this.contents)}valueMaybe(){return this.contents}valueOrThrow(){return this.contents}promiseMaybe(){}errorMaybe(){}map(t){try{const n=t(this.contents);return Pe(n)?$r(n):Eo(n)?n:va(n)}catch(n){return Pe(n)?$r(n.next(()=>this.map(t))):jl(n)}}}class mE extends Ul{constructor(t){super(),se(this,"state","hasError"),se(this,"contents",void 0),this.contents=t}getValue(){throw this.contents}toPromise(){return Promise.reject(this.contents)}valueMaybe(){}promiseMaybe(){}errorMaybe(){return this.contents}errorOrThrow(){return this.contents}map(t){return this}}class j0 extends Ul{constructor(t){super(),se(this,"state","loading"),se(this,"contents",void 0),this.contents=t}getValue(){throw this.contents}toPromise(){return this.contents}valueMaybe(){}promiseMaybe(){return this.contents}promiseOrThrow(){return this.contents}errorMaybe(){}map(t){return $r(this.contents.then(n=>{const r=t(n);if(Eo(r)){const o=r;switch(o.state){case"hasValue":return o.contents;case"hasError":throw o.contents;case"loading":return o.contents}}return r}).catch(n=>{if(Pe(n))return n.then(()=>this.map(t).contents);throw n}))}}function va(e){return Object.freeze(new vE(e))}function jl(e){return Object.freeze(new mE(e))}function $r(e){return Object.freeze(new j0(e))}function z0(){return Object.freeze(new j0(new Promise(()=>{})))}function gE(e){return e.every(t=>t.state==="hasValue")?va(e.map(t=>t.contents)):e.some(t=>t.state==="hasError")?jl(Te(e.find(t=>t.state==="hasError"),"Invalid loadable passed to loadableAll").contents):$r(Promise.all(e.map(t=>t.contents)))}function V0(e){const n=(Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(o=>e[o])).map(o=>Eo(o)?o:Pe(o)?$r(o):va(o)),r=gE(n);return Array.isArray(e)?r:r.map(o=>Object.getOwnPropertyNames(e).reduce((i,a,s)=>he(Y({},i),{[a]:o[s]}),{}))}function Eo(e){return e instanceof Ul}const yE={of:e=>Pe(e)?$r(e):Eo(e)?e:va(e),error:e=>jl(e),loading:()=>z0(),all:V0,isLoadable:Eo};var Vr={loadableWithValue:va,loadableWithError:jl,loadableWithPromise:$r,loadableLoading:z0,loadableAll:V0,isLoadable:Eo,RecoilLoadable:yE},wE=Vr.loadableWithValue,SE=Vr.loadableWithError,_E=Vr.loadableWithPromise,bE=Vr.loadableLoading,RE=Vr.loadableAll,CE=Vr.isLoadable,EE=Vr.RecoilLoadable,ma=Object.freeze({__proto__:null,loadableWithValue:wE,loadableWithError:SE,loadableWithPromise:_E,loadableLoading:bE,loadableAll:RE,isLoadable:CE,RecoilLoadable:EE});const zl=new Map().set("recoil_hamt_2020",!0).set("recoil_sync_external_store",!0).set("recoil_suppress_rerender_in_callback",!0).set("recoil_memory_managament_2020",!0);function Vl(e){var t;return(t=zl.get(e))!==null&&t!==void 0?t:!1}Vl.setPass=e=>{zl.set(e,!0)};Vl.setFail=e=>{zl.set(e,!1)};Vl.clear=()=>{zl.clear()};var _e=Vl,Uu,ju,zu;const xE=(Uu=ee.createMutableSource)!==null&&Uu!==void 0?Uu:ee.unstable_createMutableSource,B0=(ju=ee.useMutableSource)!==null&&ju!==void 0?ju:ee.unstable_useMutableSource,W0=(zu=ee.useSyncExternalStore)!==null&&zu!==void 0?zu:ee.unstable_useSyncExternalStore;function OE(){return _e("recoil_transition_support")?{mode:"TRANSITION_SUPPORT",early:!0,concurrent:!0}:_e("recoil_sync_external_store")&&W0!=null?{mode:"SYNC_EXTERNAL_STORE",early:!0,concurrent:!1}:_e("recoil_mutable_source")&&B0!=null&&typeof window!="undefined"&&!window.$disableRecoilValueMutableSource_TEMP_HACK_DO_NOT_USE?_e("recoil_suppress_rerender_in_callback")?{mode:"MUTABLE_SOURCE",early:!0,concurrent:!0}:{mode:"MUTABLE_SOURCE",early:!1,concurrent:!1}:_e("recoil_suppress_rerender_in_callback")?{mode:"LEGACY",early:!0,concurrent:!1}:{mode:"LEGACY",early:!1,concurrent:!1}}function kE(){return!1}var ga={createMutableSource:xE,useMutableSource:B0,useSyncExternalStore:W0,reactMode:OE,isFastRefreshEnabled:kE};class Ad{constructor(t){se(this,"key",void 0),this.key=t}}class H0 extends Ad{}class q0 extends Ad{}function PE(e){return e instanceof H0||e instanceof q0}var Bl={AbstractRecoilValue:Ad,RecoilState:H0,RecoilValueReadOnly:q0,isRecoilValue:PE},TE=Bl.AbstractRecoilValue,LE=Bl.RecoilState,NE=Bl.RecoilValueReadOnly,AE=Bl.isRecoilValue,xo=Object.freeze({__proto__:null,AbstractRecoilValue:TE,RecoilState:LE,RecoilValueReadOnly:NE,isRecoilValue:AE});function ME(e,t){return function*(){let n=0;for(const r of e)yield t(r,n++)}()}var Wl=ME;function $E(e,t,{error:n}={}){return null}var DE=$E,Md=DE;class Q0{}const IE=new Q0;class FE extends Error{constructor(t){super(`Tried to set the value of Recoil selector ${t} using an updater function, but it is an async selector in a pending or error state; this is not supported.`)}}const Dr=new Map,$d=new Map;function UE(e){return Wl(e,t=>Te($d.get(t)))}function jE(e){if(Dr.has(e.key)){const n=`Duplicate atom key "${e.key}". This is a FATAL ERROR in - production. But it is safe to ignore this warning if it occurred because of - hot module replacement.`;console.warn(n)}Dr.set(e.key,e);const t=e.set==null?new xo.RecoilValueReadOnly(e.key):new xo.RecoilState(e.key);return $d.set(e.key,t),t}class K0 extends Error{}function zE(e){const t=Dr.get(e);if(t==null)throw new K0(`Missing definition for RecoilValue: "${e}""`);return t}function VE(e){return Dr.get(e)}const cl=new Map;function BE(e){var t;if(!_e("recoil_memory_managament_2020"))return;const n=Dr.get(e);if(n!=null&&(t=n.shouldDeleteConfigOnRelease)!==null&&t!==void 0&&t.call(n)){var r;Dr.delete(e),(r=G0(e))===null||r===void 0||r(),cl.delete(e)}}function WE(e,t){!_e("recoil_memory_managament_2020")||(t===void 0?cl.delete(e):cl.set(e,t))}function G0(e){return cl.get(e)}var ht={nodes:Dr,recoilValues:$d,registerNode:jE,getNode:zE,getNodeMaybe:VE,deleteNodeConfigIfPossible:BE,setConfigDeletionHandler:WE,getConfigDeletionHandler:G0,recoilValuesForKeys:UE,NodeMissingError:K0,DefaultValue:Q0,DEFAULT_VALUE:IE,RecoilValueNotReady:FE};function HE(e,t){t()}var qE={enqueueExecution:HE};function QE(e,t){return t={exports:{}},e(t,t.exports),t.exports}var KE=QE(function(e){var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},n={},r=5,o=Math.pow(2,r),i=o-1,a=o/2,s=o/4,l={},u=function(_){return function(){return _}},c=n.hash=function(P){var _=typeof P=="undefined"?"undefined":t(P);if(_==="number")return P;_!=="string"&&(P+="");for(var I=0,H=0,q=P.length;H>1&1431655765,_=(_&858993459)+(_>>2&858993459),_=_+(_>>4)&252645135,_+=_>>8,_+=_>>16,_&127},d=function(_,I){return I>>>_&i},h=function(_){return 1<<_},m=function(_,I){return f(_&I-1)},y=function(_,I,H,q){var G=q;if(!_){var ie=q.length;G=new Array(ie);for(var re=0;re=I;)q[ie--]=q[ie];return q[I]=H,q}for(var re=0,oe=0,ce=new Array(G+1);re>>=1;return ie[I]=H,Q(_,oe+1,ie)},w=function(_,I,H,q){for(var G=new Array(I-1),ie=0,re=0,oe=0,ce=q.length;oe1?j(_,this.hash,ce):ce[0]}var Oe=q();return Oe===l?this:(++re.value,T(_,H,this.hash,this,G,L(_,G,ie,Oe)))},$=function(_,I,H,q,G,ie,re){var oe=this.mask,ce=this.children,Oe=d(H,G),at=h(Oe),Ve=m(oe,at),Ct=oe&at,It=Ct?ce[Ve]:E,Hr=It._modify(_,I,H+r,q,G,ie,re);if(It===Hr)return this;var Ca=C(_,this),zo=oe,Vo=void 0;if(Ct&&A(Hr)){if(zo&=~at,!zo)return E;if(ce.length<=2&&te(ce[Ve^1]))return ce[Ve^1];Vo=x(Ca,Ve,ce)}else if(!Ct&&!A(Hr)){if(ce.length>=a)return X(_,Oe,Hr,oe,ce);zo|=at,Vo=v(Ca,Ve,Hr,ce)}else Vo=y(Ca,Ve,Hr,ce);return Ca?(this.mask=zo,this.children=Vo,this):M(_,zo,Vo)},F=function(_,I,H,q,G,ie,re){var oe=this.size,ce=this.children,Oe=d(H,G),at=ce[Oe],Ve=(at||E)._modify(_,I,H+r,q,G,ie,re);if(at===Ve)return this;var Ct=C(_,this),It=void 0;if(A(at)&&!A(Ve))++oe,It=y(Ct,Oe,Ve,ce);else if(!A(at)&&A(Ve)){if(--oe,oe<=s)return w(_,oe,Oe,ce);It=y(Ct,Oe,E,ce)}else It=y(Ct,Oe,Ve,ce);return Ct?(this.size=oe,this.children=It,this):Q(_,oe,It)};E._modify=function(P,_,I,H,q,G,ie){var re=H();return re===l?E:(++ie.value,L(P,q,G,re))};function b(P,_,I,H,q){this._editable=P,this._edit=_,this._config=I,this._root=H,this._size=q}b.prototype.setTree=function(P,_){return this._editable?(this._root=P,this._size=_,this):P===this._root?this:new b(this._editable,this._edit,this._config,P,_)};var B=n.tryGetHash=function(P,_,I,H){for(var q=H._root,G=0,ie=H._config.keyEq;;)switch(q.type){case p:return ie(I,q.key)?q.value:P;case g:{if(_===q.hash)for(var re=q.children,oe=0,ce=re.length;oe{n.set(o,t(r,o))}),n}var fl=ex;function tx(){return{nodeDeps:new Map,nodeToNodeSubscriptions:new Map}}function nx(e){return{nodeDeps:fl(e.nodeDeps,t=>new Set(t)),nodeToNodeSubscriptions:fl(e.nodeToNodeSubscriptions,t=>new Set(t))}}function Vu(e,t,n,r){const{nodeDeps:o,nodeToNodeSubscriptions:i}=n,a=o.get(e);if(a&&r&&a!==r.nodeDeps.get(e))return;o.set(e,t);const s=a==null?t:xi(t,a);for(const l of s)i.has(l)||i.set(l,new Set),Te(i.get(l)).add(e);if(a){const l=xi(a,t);for(const u of l){if(!i.has(u))return;const c=Te(i.get(u));c.delete(e),c.size===0&&i.delete(u)}}}function rx(e,t,n,r){var o,i,a,s;const l=n.getState();r===l.currentTree.version||r===((o=l.nextTree)===null||o===void 0?void 0:o.version)||((i=l.previousTree)===null||i===void 0||i.version);const u=n.getGraph(r);if(Vu(e,t,u),r===((a=l.previousTree)===null||a===void 0?void 0:a.version)){const f=n.getGraph(l.currentTree.version);Vu(e,t,f,u)}if(r===((s=l.previousTree)===null||s===void 0?void 0:s.version)||r===l.currentTree.version){var c;const f=(c=l.nextTree)===null||c===void 0?void 0:c.version;if(f!==void 0){const d=n.getGraph(f);Vu(e,t,d,u)}}}var ya={cloneGraph:nx,graph:tx,saveDepsToStore:rx};let ox=0;const ix=()=>ox++;let ax=0;const sx=()=>ax++;let lx=0;const ux=()=>lx++;var Hl={getNextTreeStateVersion:ix,getNextStoreID:sx,getNextComponentID:ux};const{persistentMap:Iv}=JE,{graph:cx}=ya,{getNextTreeStateVersion:X0}=Hl;function Y0(){const e=X0();return{version:e,stateID:e,transactionMetadata:{},dirtyAtoms:new Set,atomValues:Iv(),nonvalidatedAtoms:Iv()}}function fx(){const e=Y0();return{currentTree:e,nextTree:null,previousTree:null,commitDepth:0,knownAtoms:new Set,knownSelectors:new Set,transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:new Map().set(e.version,cx()),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map}}var J0={makeEmptyTreeState:Y0,makeEmptyStoreState:fx,getNextTreeStateVersion:X0};class Z0{}function dx(){return new Z0}var ql={RetentionZone:Z0,retentionZone:dx};function px(e,t){const n=new Set(e);return n.add(t),n}function hx(e,t){const n=new Set(e);return n.delete(t),n}function vx(e,t,n){const r=new Map(e);return r.set(t,n),r}function mx(e,t,n){const r=new Map(e);return r.set(t,n(r.get(t))),r}function gx(e,t){const n=new Map(e);return n.delete(t),n}function yx(e,t){const n=new Map(e);return t.forEach(r=>n.delete(r)),n}var e1={setByAddingToSet:px,setByDeletingFromSet:hx,mapBySettingInMap:vx,mapByUpdatingInMap:mx,mapByDeletingFromMap:gx,mapByDeletingMultipleFromMap:yx};function*wx(e,t){let n=0;for(const r of e)t(r,n++)&&(yield r)}var Fd=wx;function Sx(e,t){return new Proxy(e,{get:(r,o)=>(!(o in r)&&o in t&&(r[o]=t[o]()),r[o]),ownKeys:r=>Object.keys(r)})}var t1=Sx;const{getNode:wa,getNodeMaybe:_x,recoilValuesForKeys:Fv}=ht,{RetentionZone:Uv}=ql,{setByAddingToSet:bx}=e1,Rx=Object.freeze(new Set);class Cx extends Error{}function Ex(e,t,n){if(!_e("recoil_memory_managament_2020"))return()=>{};const{nodesRetainedByZone:r}=e.getState().retention;function o(i){let a=r.get(i);a||r.set(i,a=new Set),a.add(t)}if(n instanceof Uv)o(n);else if(Array.isArray(n))for(const i of n)o(i);return()=>{if(!_e("recoil_memory_managament_2020"))return;const{retention:i}=e.getState();function a(s){const l=i.nodesRetainedByZone.get(s);l==null||l.delete(t),l&&l.size===0&&i.nodesRetainedByZone.delete(s)}if(n instanceof Uv)a(n);else if(Array.isArray(n))for(const s of n)a(s)}}function Ud(e,t,n,r){const o=e.getState();if(o.nodeCleanupFunctions.has(n))return;const i=wa(n),a=Ex(e,n,i.retainedBy),s=i.init(e,t,r);o.nodeCleanupFunctions.set(n,()=>{s(),a()})}function xx(e,t,n){Ud(e,e.getState().currentTree,t,n)}function Ox(e,t){var n;const r=e.getState();(n=r.nodeCleanupFunctions.get(t))===null||n===void 0||n(),r.nodeCleanupFunctions.delete(t)}function kx(e,t,n){return Ud(e,t,n,"get"),wa(n).get(e,t)}function n1(e,t,n){return wa(n).peek(e,t)}function Px(e,t,n){var r;const o=_x(t);return o==null||(r=o.invalidate)===null||r===void 0||r.call(o,e),he(Y({},e),{atomValues:e.atomValues.clone().delete(t),nonvalidatedAtoms:e.nonvalidatedAtoms.clone().set(t,n),dirtyAtoms:bx(e.dirtyAtoms,t)})}function Tx(e,t,n,r){const o=wa(n);if(o.set==null)throw new Cx(`Attempt to set read-only RecoilValue: ${n}`);const i=o.set;return Ud(e,t,n,"set"),i(e,t,r)}function Lx(e,t,n){const r=e.getState(),o=e.getGraph(t.version),i=wa(n).nodeType;return t1({type:i},{loadable:()=>n1(e,t,n),isActive:()=>r.knownAtoms.has(n)||r.knownSelectors.has(n),isSet:()=>i==="selector"?!1:t.atomValues.has(n),isModified:()=>t.dirtyAtoms.has(n),deps:()=>{var a;return Fv((a=o.nodeDeps.get(n))!==null&&a!==void 0?a:[])},subscribers:()=>{var a,s;return{nodes:Fv(Fd(r1(e,t,new Set([n])),l=>l!==n)),components:Wl((a=(s=r.nodeToComponentSubscriptions.get(n))===null||s===void 0?void 0:s.values())!==null&&a!==void 0?a:[],([l])=>({name:l}))}}})}function r1(e,t,n){const r=new Set,o=Array.from(n),i=e.getGraph(t.version);for(let s=o.pop();s;s=o.pop()){var a;r.add(s);const l=(a=i.nodeToNodeSubscriptions.get(s))!==null&&a!==void 0?a:Rx;for(const u of l)r.has(u)||o.push(u)}return r}var cr={getNodeLoadable:kx,peekNodeLoadable:n1,setNodeValue:Tx,initializeNode:xx,cleanUpNode:Ox,setUnvalidatedAtomValue_DEPRECATED:Px,peekNodeInfo:Lx,getDownstreamNodes:r1};let o1=null;function Nx(e){o1=e}function Ax(){var e;(e=o1)===null||e===void 0||e()}var i1={setInvalidateMemoizedSnapshot:Nx,invalidateMemoizedSnapshot:Ax};const{getDownstreamNodes:Mx,getNodeLoadable:a1,setNodeValue:$x}=cr,{getNextComponentID:Dx}=Hl,{getNode:Ix,getNodeMaybe:s1}=ht,{DefaultValue:jd,RecoilValueNotReady:Fx}=ht,{reactMode:Ux}=ga,{AbstractRecoilValue:jx,RecoilState:zx,RecoilValueReadOnly:Vx,isRecoilValue:Bx}=xo,{invalidateMemoizedSnapshot:Wx}=i1;function Hx(e,{key:t},n=e.getState().currentTree){var r,o;const i=e.getState();n.version===i.currentTree.version||n.version===((r=i.nextTree)===null||r===void 0?void 0:r.version)||(n.version,(o=i.previousTree)===null||o===void 0||o.version);const a=a1(e,n,t);return a.state==="loading"&&a.contents.catch(()=>{}),a}function qx(e,t){const n=e.clone();return t.forEach((r,o)=>{r.state==="hasValue"&&r.contents instanceof jd?n.delete(o):n.set(o,r)}),n}function Qx(e,t,{key:n},r){if(typeof r=="function"){const o=a1(e,t,n);if(o.state==="loading")throw new Fx(n);if(o.state==="hasError")throw o.contents;return r(o.contents)}else return r}function Kx(e,t,n){if(n.type==="set"){const{recoilValue:o,valueOrUpdater:i}=n,a=Qx(e,t,o,i),s=$x(e,t,o.key,a);for(const[l,u]of s.entries())pf(t,l,u)}else if(n.type==="setLoadable"){const{recoilValue:{key:o},loadable:i}=n;pf(t,o,i)}else if(n.type==="markModified"){const{recoilValue:{key:o}}=n;t.dirtyAtoms.add(o)}else if(n.type==="setUnvalidated"){var r;const{recoilValue:{key:o},unvalidatedValue:i}=n,a=s1(o);a==null||(r=a.invalidate)===null||r===void 0||r.call(a,t),t.atomValues.delete(o),t.nonvalidatedAtoms.set(o,i),t.dirtyAtoms.add(o)}else Md(`Unknown action ${n.type}`)}function pf(e,t,n){n.state==="hasValue"&&n.contents instanceof jd?e.atomValues.delete(t):e.atomValues.set(t,n),e.dirtyAtoms.add(t),e.nonvalidatedAtoms.delete(t)}function l1(e,t){e.replaceState(n=>{const r=u1(n);for(const o of t)Kx(e,r,o);return c1(e,r),Wx(),r})}function Ql(e,t){if(Oi.length){const n=Oi[Oi.length-1];let r=n.get(e);r||n.set(e,r=[]),r.push(t)}else l1(e,[t])}const Oi=[];function Gx(){const e=new Map;return Oi.push(e),()=>{for(const[t,n]of e)l1(t,n);Oi.pop()}}function u1(e){return he(Y({},e),{atomValues:e.atomValues.clone(),nonvalidatedAtoms:e.nonvalidatedAtoms.clone(),dirtyAtoms:new Set(e.dirtyAtoms)})}function c1(e,t){const n=Mx(e,t,t.dirtyAtoms);for(const i of n){var r,o;(r=s1(i))===null||r===void 0||(o=r.invalidate)===null||o===void 0||o.call(r,t)}}function f1(e,t,n){Ql(e,{type:"set",recoilValue:t,valueOrUpdater:n})}function Xx(e,t,n){if(n instanceof jd)return f1(e,t,n);Ql(e,{type:"setLoadable",recoilValue:t,loadable:n})}function Yx(e,t){Ql(e,{type:"markModified",recoilValue:t})}function Jx(e,t,n){Ql(e,{type:"setUnvalidated",recoilValue:t,unvalidatedValue:n})}function Zx(e,{key:t},n,r=null){const o=Dx(),i=e.getState();i.nodeToComponentSubscriptions.has(t)||i.nodeToComponentSubscriptions.set(t,new Map),Te(i.nodeToComponentSubscriptions.get(t)).set(o,[r!=null?r:"",n]);const a=Ux();if(a.early&&(a.mode==="LEGACY"||a.mode==="MUTABLE_SOURCE")){const s=e.getState().nextTree;s&&s.dirtyAtoms.has(t)&&n(s)}return{release:()=>{const s=e.getState(),l=s.nodeToComponentSubscriptions.get(t);l===void 0||!l.has(o)||(l.delete(o),l.size===0&&s.nodeToComponentSubscriptions.delete(t))}}}function eO(e,t){var n;const{currentTree:r}=e.getState(),o=Ix(t.key);(n=o.clearCache)===null||n===void 0||n.call(o,e,r)}var cn={RecoilValueReadOnly:Vx,AbstractRecoilValue:jx,RecoilState:zx,getRecoilValueAsLoadable:Hx,setRecoilValue:f1,setRecoilValueLoadable:Xx,markRecoilValueModified:Yx,setUnvalidatedRecoilValue:Jx,subscribeToRecoilValue:Zx,isRecoilValue:Bx,applyAtomValueWrites:qx,batchStart:Gx,writeLoadableToTreeState:pf,invalidateDownstreams:c1,copyTreeState:u1,refreshRecoilValue:eO};function tO(e,t,n){const r=e.entries();let o=r.next();for(;!o.done;){const i=o.value;if(t.call(n,i[1],i[0],e))return!0;o=r.next()}return!1}var nO=tO;const{cleanUpNode:rO}=cr,{deleteNodeConfigIfPossible:oO,getNode:d1}=ht,{RetentionZone:p1}=ql,iO=12e4,h1=new Set;function v1(e,t){const n=e.getState(),r=n.currentTree;if(n.nextTree)return;const o=new Set;for(const a of t)if(a instanceof p1)for(const s of uO(n,a))o.add(s);else o.add(a);const i=aO(e,o);for(const a of i)lO(e,r,a)}function aO(e,t){const n=e.getState(),r=n.currentTree,o=e.getGraph(r.version),i=new Set,a=new Set;return s(t),i;function s(l){const u=new Set,c=sO(e,r,l,i,a);for(const m of c){var f;if(d1(m).retainedBy==="recoilRoot"){a.add(m);continue}if(((f=n.retention.referenceCounts.get(m))!==null&&f!==void 0?f:0)>0){a.add(m);continue}if(m1(m).some(x=>n.retention.referenceCounts.get(x))){a.add(m);continue}const y=o.nodeToNodeSubscriptions.get(m);if(y&&nO(y,x=>a.has(x))){a.add(m);continue}i.add(m),u.add(m)}const d=new Set;for(const m of u)for(const y of(h=o.nodeDeps.get(m))!==null&&h!==void 0?h:h1){var h;i.has(y)||d.add(y)}d.size&&s(d)}}function sO(e,t,n,r,o){const i=e.getGraph(t.version),a=[],s=new Set;for(;n.size>0;)l(Te(n.values().next().value));return a;function l(u){if(r.has(u)||o.has(u)){n.delete(u);return}if(s.has(u))return;const c=i.nodeToNodeSubscriptions.get(u);if(c)for(const f of c)l(f);s.add(u),n.delete(u),a.push(u)}}function lO(e,t,n){if(!_e("recoil_memory_managament_2020"))return;rO(e,n);const r=e.getState();r.knownAtoms.delete(n),r.knownSelectors.delete(n),r.nodeTransactionSubscriptions.delete(n),r.retention.referenceCounts.delete(n);const o=m1(n);for(const l of o){var i;(i=r.retention.nodesRetainedByZone.get(l))===null||i===void 0||i.delete(n)}t.atomValues.delete(n),t.dirtyAtoms.delete(n),t.nonvalidatedAtoms.delete(n);const a=r.graphsByVersion.get(t.version);if(a){const l=a.nodeDeps.get(n);if(l!==void 0){a.nodeDeps.delete(n);for(const u of l){var s;(s=a.nodeToNodeSubscriptions.get(u))===null||s===void 0||s.delete(n)}}a.nodeToNodeSubscriptions.delete(n)}oO(n)}function uO(e,t){var n;return(n=e.retention.nodesRetainedByZone.get(t))!==null&&n!==void 0?n:h1}function m1(e){const t=d1(e).retainedBy;return t===void 0||t==="components"||t==="recoilRoot"?[]:t instanceof p1?[t]:t}function cO(e,t){const n=e.getState();n.nextTree?n.retention.retainablesToCheckForRelease.add(t):v1(e,new Set([t]))}function fO(e,t,n){var r;if(!_e("recoil_memory_managament_2020"))return;const o=e.getState().retention.referenceCounts,i=((r=o.get(t))!==null&&r!==void 0?r:0)+n;i===0?g1(e,t):o.set(t,i)}function g1(e,t){if(!_e("recoil_memory_managament_2020"))return;e.getState().retention.referenceCounts.delete(t),cO(e,t)}function dO(e){if(!_e("recoil_memory_managament_2020"))return;const t=e.getState();v1(e,t.retention.retainablesToCheckForRelease),t.retention.retainablesToCheckForRelease.clear()}function pO(e){return e===void 0?"recoilRoot":e}var Br={SUSPENSE_TIMEOUT_MS:iO,updateRetainCount:fO,updateRetainCountToZero:g1,releaseScheduledRetainablesNow:dO,retainedByOptionWithDefault:pO};const{unstable_batchedUpdates:hO}=d0;var vO={unstable_batchedUpdates:hO};const{unstable_batchedUpdates:mO}=vO;var gO={unstable_batchedUpdates:mO};const{batchStart:yO}=cn,{unstable_batchedUpdates:wO}=gO;let zd=wO;const SO=e=>{zd=e},_O=()=>zd,bO=e=>{zd(()=>{let t=()=>{};try{t=yO(),e()}finally{t()}})};var Kl={getBatcher:_O,setBatcher:SO,batchUpdates:bO};function*RO(e){for(const t of e)for(const n of t)yield n}var y1=RO;const w1=typeof Window=="undefined"||typeof window=="undefined",CO=e=>!w1&&(e===window||e instanceof Window),EO=typeof navigator!="undefined"&&navigator.product==="ReactNative";var Vd={isSSR:w1,isReactNative:EO,isWindow:CO};function xO(e,t){let n;return(...o)=>{n||(n={});const i=t(...o);return Object.hasOwnProperty.call(n,i)||(n[i]=e(...o)),n[i]}}function OO(e,t){let n,r;return(...i)=>{const a=t(...i);return n===a||(n=a,r=e(...i)),r}}function kO(e,t){let n,r;return[(...a)=>{const s=t(...a);return n===s||(n=s,r=e(...a)),r},()=>{n=null}]}var PO={memoizeWithArgsHash:xO,memoizeOneWithArgsHash:OO,memoizeOneWithArgsHashAndInvalidation:kO};const{batchUpdates:hf}=Kl,{initializeNode:TO,peekNodeInfo:LO}=cr,{graph:NO}=ya,{getNextStoreID:AO}=Hl,{DEFAULT_VALUE:MO,recoilValues:jv,recoilValuesForKeys:zv}=ht,{AbstractRecoilValue:$O,getRecoilValueAsLoadable:DO,setRecoilValue:Vv,setUnvalidatedRecoilValue:IO}=cn,{updateRetainCount:ws}=Br,{setInvalidateMemoizedSnapshot:FO}=i1,{getNextTreeStateVersion:UO,makeEmptyStoreState:jO}=J0,{isSSR:zO}=Vd,{memoizeOneWithArgsHashAndInvalidation:VO}=PO;class Gl{constructor(t,n){se(this,"_store",void 0),se(this,"_refCount",1),se(this,"getLoadable",r=>(this.checkRefCount_INTERNAL(),DO(this._store,r))),se(this,"getPromise",r=>(this.checkRefCount_INTERNAL(),this.getLoadable(r).toPromise())),se(this,"getNodes_UNSTABLE",r=>{if(this.checkRefCount_INTERNAL(),(r==null?void 0:r.isModified)===!0){if((r==null?void 0:r.isInitialized)===!1)return[];const a=this._store.getState().currentTree;return zv(a.dirtyAtoms)}const o=this._store.getState().knownAtoms,i=this._store.getState().knownSelectors;return(r==null?void 0:r.isInitialized)==null?jv.values():r.isInitialized===!0?zv(y1([o,i])):Fd(jv.values(),({key:a})=>!o.has(a)&&!i.has(a))}),se(this,"getInfo_UNSTABLE",({key:r})=>(this.checkRefCount_INTERNAL(),LO(this._store,this._store.getState().currentTree,r))),se(this,"map",r=>{this.checkRefCount_INTERNAL();const o=new vf(this,hf);return r(o),o}),se(this,"asyncMap",async r=>{this.checkRefCount_INTERNAL();const o=new vf(this,hf);return o.retain(),await r(o),o.autoRelease_INTERNAL(),o}),this._store={storeID:AO(),parentStoreID:n,getState:()=>t,replaceState:r=>{t.currentTree=r(t.currentTree)},getGraph:r=>{const o=t.graphsByVersion;if(o.has(r))return Te(o.get(r));const i=NO();return o.set(r,i),i},subscribeToTransactions:()=>({release:()=>{}}),addTransactionMetadata:()=>{throw de("Cannot subscribe to Snapshots")}};for(const r of this._store.getState().knownAtoms)TO(this._store,r,"get"),ws(this._store,r,1);this.autoRelease_INTERNAL()}retain(){this._refCount<=0,this._refCount++;let t=!1;return()=>{t||(t=!0,this._release())}}autoRelease_INTERNAL(){zO||window.setTimeout(()=>this._release(),0)}_release(){if(this._refCount--,this._refCount===0){if(this._store.getState().nodeCleanupFunctions.forEach(t=>t()),this._store.getState().nodeCleanupFunctions.clear(),!_e("recoil_memory_managament_2020"))return}else this._refCount<0}isRetained(){return this._refCount>0}checkRefCount_INTERNAL(){_e("recoil_memory_managament_2020")&&this._refCount<=0}getStore_INTERNAL(){return this.checkRefCount_INTERNAL(),this._store}getID(){return this.checkRefCount_INTERNAL(),this._store.getState().currentTree.stateID}getStoreID(){return this.checkRefCount_INTERNAL(),this._store.storeID}}function S1(e,t,n=!1){const r=e.getState(),o=n?UO():t.version;return{currentTree:{version:n?o:t.version,stateID:n?o:t.stateID,transactionMetadata:Y({},t.transactionMetadata),dirtyAtoms:new Set(t.dirtyAtoms),atomValues:t.atomValues.clone(),nonvalidatedAtoms:t.nonvalidatedAtoms.clone()},commitDepth:0,nextTree:null,previousTree:null,knownAtoms:new Set(r.knownAtoms),knownSelectors:new Set(r.knownSelectors),transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:new Map().set(o,e.getGraph(t.version)),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map(Wl(r.nodeCleanupFunctions.entries(),([i])=>[i,()=>{}]))}}function BO(e){const t=new Gl(jO());return e!=null?t.map(e):t}const[Bv,_1]=VO((e,t)=>{var n;const r=e.getState(),o=t==="latest"?(n=r.nextTree)!==null&&n!==void 0?n:r.currentTree:Te(r.previousTree);return new Gl(S1(e,o),e.storeID)},(e,t)=>{var n,r;return String(t)+String(e.storeID)+String((n=e.getState().nextTree)===null||n===void 0?void 0:n.version)+String(e.getState().currentTree.version)+String((r=e.getState().previousTree)===null||r===void 0?void 0:r.version)});FO(_1);function WO(e,t="latest"){const n=Bv(e,t);return n.isRetained()?n:(_1(),Bv(e,t))}class vf extends Gl{constructor(t,n){super(S1(t.getStore_INTERNAL(),t.getStore_INTERNAL().getState().currentTree,!0),t.getStoreID()),se(this,"_batch",void 0),se(this,"set",(r,o)=>{this.checkRefCount_INTERNAL();const i=this.getStore_INTERNAL();this._batch(()=>{ws(i,r.key,1),Vv(this.getStore_INTERNAL(),r,o)})}),se(this,"reset",r=>{this.checkRefCount_INTERNAL();const o=this.getStore_INTERNAL();this._batch(()=>{ws(o,r.key,1),Vv(this.getStore_INTERNAL(),r,MO)})}),se(this,"setUnvalidatedAtomValues_DEPRECATED",r=>{this.checkRefCount_INTERNAL();const o=this.getStore_INTERNAL();hf(()=>{for(const[i,a]of r.entries())ws(o,i,1),IO(o,new $O(i),a)})}),this._batch=n}}var Xl={Snapshot:Gl,MutableSnapshot:vf,freshSnapshot:BO,cloneSnapshot:WO},HO=Xl.Snapshot,qO=Xl.MutableSnapshot,QO=Xl.freshSnapshot,KO=Xl.cloneSnapshot,Yl=Object.freeze({__proto__:null,Snapshot:HO,MutableSnapshot:qO,freshSnapshot:QO,cloneSnapshot:KO});function GO(...e){const t=new Set;for(const n of e)for(const r of n)t.add(r);return t}var XO=GO;const{useRef:YO}=ee;function JO(e){const t=YO(e);return t.current===e&&typeof e=="function"&&(t.current=e()),t}var Wv=JO;const{getNextTreeStateVersion:ZO,makeEmptyStoreState:b1}=J0,{cleanUpNode:ek,getDownstreamNodes:tk,initializeNode:nk,setNodeValue:rk,setUnvalidatedAtomValue_DEPRECATED:ok}=cr,{graph:ik}=ya,{cloneGraph:ak}=ya,{getNextStoreID:R1}=Hl,{createMutableSource:Bu,reactMode:C1}=ga,{applyAtomValueWrites:sk}=cn,{releaseScheduledRetainablesNow:E1}=Br,{freshSnapshot:lk}=Yl,{useCallback:uk,useContext:x1,useEffect:mf,useMemo:ck,useRef:fk,useState:dk}=ee;function ti(){throw de("This component must be used inside a component.")}const O1=Object.freeze({storeID:R1(),getState:ti,replaceState:ti,getGraph:ti,subscribeToTransactions:ti,addTransactionMetadata:ti});let gf=!1;function Hv(e){if(gf)throw de("An atom update was triggered within the execution of a state updater function. State updater functions provided to Recoil must be pure functions.");const t=e.getState();if(t.nextTree===null){_e("recoil_memory_managament_2020")&&_e("recoil_release_on_cascading_update_killswitch_2021")&&t.commitDepth>0&&E1(e);const n=t.currentTree.version,r=ZO();t.nextTree=he(Y({},t.currentTree),{version:r,stateID:r,dirtyAtoms:new Set,transactionMetadata:{}}),t.graphsByVersion.set(r,ak(Te(t.graphsByVersion.get(n))))}}const k1=ee.createContext({current:O1}),Jl=()=>x1(k1),P1=ee.createContext(null);function pk(){return x1(P1)}function Bd(e,t,n){const r=tk(e,n,n.dirtyAtoms);for(const o of r){const i=t.nodeToComponentSubscriptions.get(o);if(i)for(const[a,[s,l]]of i)l(n)}}function T1(e){const t=e.getState(),n=t.currentTree,r=n.dirtyAtoms;if(r.size){for(const[o,i]of t.nodeTransactionSubscriptions)if(r.has(o))for(const[a,s]of i)s(e);for(const[o,i]of t.transactionSubscriptions)i(e);(!C1().early||t.suspendedComponentResolvers.size>0)&&(Bd(e,t,n),t.suspendedComponentResolvers.forEach(o=>o()),t.suspendedComponentResolvers.clear())}t.queuedComponentCallbacks_DEPRECATED.forEach(o=>o(n)),t.queuedComponentCallbacks_DEPRECATED.splice(0,t.queuedComponentCallbacks_DEPRECATED.length)}function hk(e){const t=e.getState();t.commitDepth++;try{const{nextTree:n}=t;if(n==null)return;t.previousTree=t.currentTree,t.currentTree=n,t.nextTree=null,T1(e),t.previousTree!=null?t.graphsByVersion.delete(t.previousTree.version):Md("Ended batch with no previous state, which is unexpected","recoil"),t.previousTree=null,_e("recoil_memory_managament_2020")&&n==null&&E1(e)}finally{t.commitDepth--}}function vk({setNotifyBatcherOfChange:e}){const t=Jl(),[,n]=dk([]);return e(()=>n({})),mf(()=>(e(()=>n({})),()=>{e(()=>{})}),[e]),mf(()=>{qE.enqueueExecution("Batcher",()=>{hk(t.current)})}),null}function mk(e,t){const n=b1();return t({set:(r,o)=>{const i=n.currentTree,a=rk(e,i,r.key,o),s=new Set(a.keys()),l=i.nonvalidatedAtoms.clone();for(const u of s)l.delete(u);n.currentTree=he(Y({},i),{dirtyAtoms:XO(i.dirtyAtoms,s),atomValues:sk(i.atomValues,a),nonvalidatedAtoms:l})},setUnvalidatedAtomValues:r=>{r.forEach((o,i)=>{n.currentTree=ok(n.currentTree,i,o)})}}),n}function gk(e){const t=lk(e),n=t.getStore_INTERNAL().getState();return t.retain(),n.nodeCleanupFunctions.forEach(r=>r()),n.nodeCleanupFunctions.clear(),n}let qv=0;function yk({initializeState_DEPRECATED:e,initializeState:t,store_INTERNAL:n,children:r}){let o;const i=h=>{const m=o.current.graphsByVersion;if(m.has(h))return Te(m.get(h));const y=ik();return m.set(h,y),y},a=(h,m)=>{if(m==null){const{transactionSubscriptions:y}=f.current.getState(),x=qv++;return y.set(x,h),{release:()=>{y.delete(x)}}}else{const{nodeTransactionSubscriptions:y}=f.current.getState();y.has(m)||y.set(m,new Map);const x=qv++;return Te(y.get(m)).set(x,h),{release:()=>{const v=y.get(m);v&&(v.delete(x),v.size===0&&y.delete(m))}}}},s=h=>{Hv(f.current);for(const m of Object.keys(h))Te(f.current.getState().nextTree).transactionMetadata[m]=h[m]},l=h=>{Hv(f.current);const m=Te(o.current.nextTree);let y;try{gf=!0,y=h(m)}finally{gf=!1}y!==m&&(o.current.nextTree=y,C1().early&&Bd(f.current,o.current,y),Te(u.current)())},u=fk(null),c=uk(h=>{u.current=h},[u]),f=Wv(()=>n!=null?n:{storeID:R1(),getState:()=>o.current,replaceState:l,getGraph:i,subscribeToTransactions:a,addTransactionMetadata:s});n!=null&&(f.current=n),o=Wv(()=>e!=null?mk(f.current,e):t!=null?gk(t):b1());const d=ck(()=>Bu==null?void 0:Bu(o,()=>o.current.currentTree.version),[o]);return mf(()=>{const h=f.current;for(const m of new Set(h.getState().knownAtoms))nk(h,m,"get");return()=>{for(const m of h.getState().knownAtoms)ek(h,m)}},[f]),ee.createElement(k1.Provider,{value:f},ee.createElement(P1.Provider,{value:d},ee.createElement(vk,{setNotifyBatcherOfChange:c}),r))}function wk(e){const o=e,{override:t}=o,n=pr(o,["override"]),r=Jl();return t===!1&&r.current!==O1?e.children:ee.createElement(yk,n)}function Sk(){return Jl().current.storeID}var On={RecoilRoot:wk,useStoreRef:Jl,useRecoilMutableSource:pk,useRecoilStoreID:Sk,notifyComponents_FOR_TESTING:Bd,sendEndOfBatchNotifications_FOR_TESTING:T1};function _k(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n{t.current=e}),t.current}var L1=Ek;const{useStoreRef:xk}=On,{SUSPENSE_TIMEOUT_MS:Ok}=Br,{updateRetainCount:ni}=Br,{RetentionZone:kk}=ql,{useEffect:Pk,useRef:Tk}=ee,{isSSR:Qv}=Vd;function Lk(e){if(!!_e("recoil_memory_managament_2020"))return Nk(e)}function Nk(e){const n=(Array.isArray(e)?e:[e]).map(a=>a instanceof kk?a:a.key),r=xk();Pk(()=>{if(!_e("recoil_memory_managament_2020"))return;const a=r.current;if(o.current&&!Qv)window.clearTimeout(o.current),o.current=null;else for(const s of n)ni(a,s,1);return()=>{for(const s of n)ni(a,s,-1)}},[r,...n]);const o=Tk(),i=L1(n);if(!Qv&&(i===void 0||!bk(i,n))){const a=r.current;for(const s of n)ni(a,s,1);if(i)for(const s of i)ni(a,s,-1);o.current&&window.clearTimeout(o.current),o.current=window.setTimeout(()=>{o.current=null;for(const s of n)ni(a,s,-1)},Ok)}}var Wd=Lk;function Ak(){return""}var Sa=Ak;const{batchUpdates:Mk}=Kl,{DEFAULT_VALUE:N1}=ht,{reactMode:Do,useMutableSource:$k,useSyncExternalStore:Dk}=ga,{useRecoilMutableSource:Ik,useStoreRef:fn}=On,{AbstractRecoilValue:yf,getRecoilValueAsLoadable:_a,setRecoilValue:dl,setUnvalidatedRecoilValue:Fk,subscribeToRecoilValue:Oo}=cn,{useCallback:pt,useEffect:ko,useMemo:A1,useRef:ki,useState:Hd}=ee,{setByAddingToSet:Uk}=e1;function qd(e,t,n){if(e.state==="hasValue")return e.contents;throw e.state==="loading"?new Promise(o=>{n.current.getState().suspendedComponentResolvers.add(o)}):e.state==="hasError"?e.contents:de(`Invalid value of loadable atom "${t.key}"`)}function jk(){const e=Sa(),t=fn(),[,n]=Hd([]),r=ki(new Set);r.current=new Set;const o=ki(new Set),i=ki(new Map),a=pt(l=>{const u=i.current.get(l);u&&(u.release(),i.current.delete(l))},[i]),s=pt((l,u)=>{i.current.has(u)&&n([])},[]);return ko(()=>{const l=t.current;xi(r.current,o.current).forEach(u=>{if(i.current.has(u))return;const c=Oo(l,new yf(u),d=>s(d,u),e);i.current.set(u,c),l.getState().nextTree?l.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{s(l.getState(),u)}):s(l.getState(),u)}),xi(o.current,r.current).forEach(u=>{a(u)}),o.current=r.current}),ko(()=>{const l=i.current;return xi(r.current,new Set(l.keys())).forEach(u=>{const c=Oo(t.current,new yf(u),f=>s(f,u),e);l.set(u,c)}),()=>l.forEach((u,c)=>a(c))},[e,t,a,s]),A1(()=>{function l(m){return y=>{dl(t.current,m,y)}}function u(m){return()=>dl(t.current,m,N1)}function c(m){var y;r.current.has(m.key)||(r.current=Uk(r.current,m.key));const x=t.current.getState();return _a(t.current,m,Do().early&&(y=x.nextTree)!==null&&y!==void 0?y:x.currentTree)}function f(m){const y=c(m);return qd(y,m,t)}function d(m){return[f(m),l(m)]}function h(m){return[c(m),l(m)]}return{getRecoilValue:f,getRecoilValueLoadable:c,getRecoilState:d,getRecoilStateLoadable:h,getSetRecoilState:l,getResetRecoilState:u}},[r,t])}const zk={current:0};function Vk(e){const t=fn(),n=Sa(),r=pt(()=>{var s;const l=t.current,u=l.getState(),c=Do().early&&(s=u.nextTree)!==null&&s!==void 0?s:u.currentTree;return{loadable:_a(l,e,c),key:e.key}},[t,e]),o=pt(s=>{let l;return()=>{var u,c;const f=s();return(u=l)!==null&&u!==void 0&&u.loadable.is(f.loadable)&&((c=l)===null||c===void 0?void 0:c.key)===f.key?l:(l=f,f)}},[]),i=A1(()=>o(r),[r,o]),a=pt(s=>{const l=t.current;return Oo(l,e,s,n).release},[t,e,n]);return Dk(a,i,i).loadable}function Bk(e){const t=fn(),n=pt(()=>{var u;const c=t.current,f=c.getState(),d=Do().early&&(u=f.nextTree)!==null&&u!==void 0?u:f.currentTree;return _a(c,e,d)},[t,e]),r=pt(()=>n(),[n]),o=Sa(),i=pt((u,c)=>{const f=t.current;return Oo(f,e,()=>{if(!_e("recoil_suppress_rerender_in_callback"))return c();const h=n();l.current.is(h)||c(),l.current=h},o).release},[t,e,o,n]),a=Ik();if(a==null)throw de("Recoil hooks must be used in components contained within a component.");const s=$k(a,r,i),l=ki(s);return ko(()=>{l.current=s}),s}function M1(e){const t=fn(),n=Sa(),r=pt(()=>{var l;const u=t.current,c=u.getState(),f=Do().early&&(l=c.nextTree)!==null&&l!==void 0?l:c.currentTree;return _a(u,e,f)},[t,e]),o=pt(()=>({loadable:r(),key:e.key}),[r,e.key]),i=pt(l=>{const u=o();return l.loadable.is(u.loadable)&&l.key===u.key?l:u},[o]);ko(()=>{const l=Oo(t.current,e,u=>{s(i)},n);return s(i),l.release},[n,e,t,i]);const[a,s]=Hd(o);return a.key!==e.key?o().loadable:a.loadable}function Wk(e){const t=fn(),[,n]=Hd([]),r=Sa(),o=pt(()=>{var s;const l=t.current,u=l.getState(),c=Do().early&&(s=u.nextTree)!==null&&s!==void 0?s:u.currentTree;return _a(l,e,c)},[t,e]),i=o(),a=ki(i);return ko(()=>{a.current=i}),ko(()=>{const s=t.current,l=s.getState(),u=Oo(s,e,f=>{var d;if(!_e("recoil_suppress_rerender_in_callback"))return n([]);const h=o();(d=a.current)!==null&&d!==void 0&&d.is(h)||n(h),a.current=h},r);if(l.nextTree)s.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{a.current=null,n([])});else{var c;if(!_e("recoil_suppress_rerender_in_callback"))return n([]);const f=o();(c=a.current)!==null&&c!==void 0&&c.is(f)||n(f),a.current=f}return u.release},[r,o,e,t]),i}function Qd(e){return _e("recoil_memory_managament_2020")&&Wd(e),{TRANSITION_SUPPORT:M1,SYNC_EXTERNAL_STORE:Vk,MUTABLE_SOURCE:Bk,LEGACY:Wk}[Do().mode](e)}function $1(e){const t=fn(),n=Qd(e);return qd(n,e,t)}function Zl(e){const t=fn();return pt(n=>{dl(t.current,e,n)},[t,e])}function Hk(e){const t=fn();return pt(()=>{dl(t.current,e,N1)},[t,e])}function qk(e){return[$1(e),Zl(e)]}function Qk(e){return[Qd(e),Zl(e)]}function Kk(){const e=fn();return(t,n={})=>{Mk(()=>{e.current.addTransactionMetadata(n),t.forEach((r,o)=>Fk(e.current,new yf(o),r))})}}function D1(e){return _e("recoil_memory_managament_2020")&&Wd(e),M1(e)}function I1(e){const t=fn(),n=D1(e);return qd(n,e,t)}function Gk(e){return[I1(e),Zl(e)]}var Xk={recoilComponentGetRecoilValueCount_FOR_TESTING:zk,useRecoilInterface:jk,useRecoilState:qk,useRecoilStateLoadable:Qk,useRecoilValue:$1,useRecoilValueLoadable:Qd,useResetRecoilState:Hk,useSetRecoilState:Zl,useSetUnvalidatedAtomValues:Kk,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:D1,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:I1,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:Gk};function Yk(e,t){const n=new Map;for(const[r,o]of e)t(o,r)&&n.set(r,o);return n}var Jk=Yk;function Zk(e,t){const n=new Set;for(const r of e)t(r)&&n.add(r);return n}var eP=Zk;function tP(...e){const t=new Map;for(let n=0;nt.current.subscribeToTransactions(e).release,[e,t])}function Xv(e){const t=e.atomValues.toMap(),n=fl(Jk(t,(r,o)=>{const a=F1(o).persistence_UNSTABLE;return a!=null&&a.type!=="none"&&r.state==="hasValue"}),r=>r.contents);return nP(e.nonvalidatedAtoms.toMap(),n)}function cP(e){tu(eu(t=>{let n=t.getState().previousTree;const r=t.getState().currentTree;n||(n=t.getState().currentTree);const o=Xv(r),i=Xv(n),a=fl(iP,l=>{var u,c,f,d;return{persistence_UNSTABLE:{type:(u=(c=l.persistence_UNSTABLE)===null||c===void 0?void 0:c.type)!==null&&u!==void 0?u:"none",backButton:(f=(d=l.persistence_UNSTABLE)===null||d===void 0?void 0:d.backButton)!==null&&f!==void 0?f:!1}}}),s=eP(r.dirtyAtoms,l=>o.has(l)||i.has(l));e({atomValues:o,previousAtomValues:i,atomInfo:a,modifiedAtoms:s,transactionMetadata:Y({},r.transactionMetadata)})},[e]))}function fP(e){tu(eu(t=>{const n=pl(t,"latest"),r=pl(t,"previous");e({snapshot:n,previousSnapshot:r})},[e]))}function dP(){const e=Kd(),[t,n]=uP(()=>pl(e.current)),r=L1(t),o=Kv(),i=Kv();if(tu(eu(s=>n(pl(s)),[])),U1(()=>{const s=t.retain();if(o.current&&!Gv){var l;window.clearTimeout(o.current),o.current=null,(l=i.current)===null||l===void 0||l.call(i),i.current=null}return s},[t]),r!==t&&!Gv){if(o.current){var a;window.clearTimeout(o.current),o.current=null,(a=i.current)===null||a===void 0||a.call(i),i.current=null}i.current=t.retain(),o.current=window.setTimeout(()=>{var s;o.current=null,(s=i.current)===null||s===void 0||s.call(i),i.current=null},lP)}return t}function j1(e,t){var n;const r=e.getState(),o=(n=r.nextTree)!==null&&n!==void 0?n:r.currentTree,i=t.getStore_INTERNAL().getState().currentTree;rP(()=>{const a=new Set;for(const u of[o.atomValues.keys(),i.atomValues.keys()])for(const c of u){var s,l;((s=o.atomValues.get(c))===null||s===void 0?void 0:s.contents)!==((l=i.atomValues.get(c))===null||l===void 0?void 0:l.contents)&&F1(c).shouldRestoreFromSnapshots&&a.add(c)}a.forEach(u=>{sP(e,new aP(u),i.atomValues.has(u)?Te(i.atomValues.get(u)):oP)}),e.replaceState(u=>he(Y({},u),{stateID:t.getID()}))})}function pP(){const e=Kd();return eu(t=>j1(e.current,t),[e])}var z1={useRecoilSnapshot:dP,gotoSnapshot:j1,useGotoRecoilSnapshot:pP,useRecoilTransactionObserver:fP,useTransactionObservation_DEPRECATED:cP,useTransactionSubscription_DEPRECATED:tu};const{peekNodeInfo:hP}=cr,{useStoreRef:vP}=On;function mP(){const e=vP();return({key:t})=>hP(e.current,e.current.getState().currentTree,t)}var gP=mP;const{reactMode:yP}=ga,{RecoilRoot:wP,useStoreRef:SP}=On,{useMemo:_P}=ee;function bP(){yP().mode==="MUTABLE_SOURCE"&&console.warn("Warning: There are known issues using useRecoilBridgeAcrossReactRoots() in recoil_mutable_source rendering mode. Please consider upgrading to recoil_sync_external_store mode.");const e=SP().current;return _P(()=>{function t({children:n}){return ee.createElement(wP,{store_INTERNAL:e},n)}return t},[e])}var RP=bP;const{loadableWithValue:CP}=ma,{initializeNode:EP}=cr,{DEFAULT_VALUE:xP,getNode:OP}=ht,{copyTreeState:kP,getRecoilValueAsLoadable:PP,invalidateDownstreams:TP,writeLoadableToTreeState:LP}=cn;function Yv(e){return OP(e.key).nodeType==="atom"}class NP{constructor(t,n){se(this,"_store",void 0),se(this,"_treeState",void 0),se(this,"_changes",void 0),se(this,"get",r=>{if(this._changes.has(r.key))return this._changes.get(r.key);if(!Yv(r))throw de("Reading selectors within atomicUpdate is not supported");const o=PP(this._store,r,this._treeState);if(o.state==="hasValue")return o.contents;throw o.state==="hasError"?o.contents:de(`Expected Recoil atom ${r.key} to have a value, but it is in a loading state.`)}),se(this,"set",(r,o)=>{if(!Yv(r))throw de("Setting selectors within atomicUpdate is not supported");if(typeof o=="function"){const i=this.get(r);this._changes.set(r.key,o(i))}else EP(this._store,r.key,"set"),this._changes.set(r.key,o)}),se(this,"reset",r=>{this.set(r,xP)}),this._store=t,this._treeState=n,this._changes=new Map}newTreeState_INTERNAL(){if(this._changes.size===0)return this._treeState;const t=kP(this._treeState);for(const[n,r]of this._changes)LP(t,n,CP(r));return TP(this._store,t),t}}function AP(e){return t=>{e.replaceState(n=>{const r=new NP(e,n);return t(r),r.newTreeState_INTERNAL()})}}var MP={atomicUpdater:AP},$P=MP.atomicUpdater,V1=Object.freeze({__proto__:null,atomicUpdater:$P});function DP(e,t){if(!e)throw new Error(t)}var IP=DP,fi=IP;const{atomicUpdater:FP}=V1,{batchUpdates:UP}=Kl,{DEFAULT_VALUE:jP}=ht,{useStoreRef:zP}=On,{refreshRecoilValue:VP,setRecoilValue:Jv}=cn,{cloneSnapshot:BP}=Yl,{gotoSnapshot:WP}=z1,{useCallback:HP}=ee;class B1{}const qP=new B1;function W1(e,t,n,r){let o=qP,i;if(UP(()=>{const s="useRecoilCallback() expects a function that returns a function: it accepts a function of the type (RecoilInterface) => (Args) => ReturnType and returns a callback function (Args) => ReturnType, where RecoilInterface is an object {snapshot, set, ...} and Args and ReturnType are the argument and return types of the callback you want to create. Please see the docs at recoiljs.org for details.";if(typeof t!="function")throw de(s);const l=t1(he(Y({},r!=null?r:{}),{set:(c,f)=>Jv(e,c,f),reset:c=>Jv(e,c,jP),refresh:c=>VP(e,c),gotoSnapshot:c=>WP(e,c),transact_UNSTABLE:c=>FP(e)(c)}),{snapshot:()=>{const c=BP(e);return i=c.retain(),c}}),u=t(l);if(typeof u!="function")throw de(s);o=u(...n)}),o instanceof B1&&fi(!1),Pe(o))o.finally(()=>{var s;(s=i)===null||s===void 0||s()});else{var a;(a=i)===null||a===void 0||a()}return o}function QP(e,t){const n=zP();return HP((...r)=>W1(n.current,e,r),t!=null?[...t,n]:void 0)}var H1={recoilCallback:W1,useRecoilCallback:QP};const{useStoreRef:KP}=On,{refreshRecoilValue:GP}=cn,{useCallback:XP}=ee;function YP(e){const t=KP();return XP(()=>{const n=t.current;GP(n,e)},[e,t])}var JP=YP;const{atomicUpdater:ZP}=V1,{useStoreRef:eT}=On,{useMemo:tT}=ee;function nT(e,t){const n=eT();return tT(()=>(...r)=>{ZP(n.current)(i=>{e(i)(...r)})},t!=null?[...t,n]:void 0)}var rT=nT;class oT{constructor(t){se(this,"value",void 0),this.value=t}}var iT={WrappedValue:oT},aT=iT.WrappedValue,q1=Object.freeze({__proto__:null,WrappedValue:aT});const{isFastRefreshEnabled:sT}=ga;class Zv extends Error{}class lT{constructor(t){var n,r,o;se(this,"_name",void 0),se(this,"_numLeafs",void 0),se(this,"_root",void 0),se(this,"_onHit",void 0),se(this,"_onSet",void 0),se(this,"_mapNodeValue",void 0),this._name=t==null?void 0:t.name,this._numLeafs=0,this._root=null,this._onHit=(n=t==null?void 0:t.onHit)!==null&&n!==void 0?n:()=>{},this._onSet=(r=t==null?void 0:t.onSet)!==null&&r!==void 0?r:()=>{},this._mapNodeValue=(o=t==null?void 0:t.mapNodeValue)!==null&&o!==void 0?o:i=>i}size(){return this._numLeafs}root(){return this._root}get(t,n){var r;return(r=this.getLeafNode(t,n))===null||r===void 0?void 0:r.value}getLeafNode(t,n){if(this._root==null)return;let r=this._root;for(;r;){if(n==null||n.onNodeVisit(r),r.type==="leaf")return this._onHit(r),r;const o=this._mapNodeValue(t(r.nodeKey));r=r.branches.get(o)}}set(t,n,r){const o=()=>{var i,a,s,l;let u,c;for(const[x,v]of t){var f,d,h;const p=this._root;if((p==null?void 0:p.type)==="leaf")throw this.invalidCacheError();const g=u;if(u=g?g.branches.get(c):p,u=(f=u)!==null&&f!==void 0?f:{type:"branch",nodeKey:x,parent:g,branches:new Map,branchKey:c},u.type!=="branch"||u.nodeKey!==x)throw this.invalidCacheError();g==null||g.branches.set(c,u),r==null||(d=r.onNodeVisit)===null||d===void 0||d.call(r,u),c=this._mapNodeValue(v),this._root=(h=this._root)!==null&&h!==void 0?h:u}const m=u?(i=u)===null||i===void 0?void 0:i.branches.get(c):this._root;if(m!=null&&(m.type!=="leaf"||m.branchKey!==c))throw this.invalidCacheError();const y={type:"leaf",value:n,parent:u,branchKey:c};(a=u)===null||a===void 0||a.branches.set(c,y),this._root=(s=this._root)!==null&&s!==void 0?s:y,this._numLeafs++,this._onSet(y),r==null||(l=r.onNodeVisit)===null||l===void 0||l.call(r,y)};try{o()}catch(i){if(i instanceof Zv)this.clear(),o();else throw i}}delete(t){const n=this.root();if(!n)return!1;if(t===n)return this._root=null,this._numLeafs=0,!0;let r=t.parent,o=t.branchKey;for(;r;){var i;if(r.branches.delete(o),r===n)return r.branches.size===0?(this._root=null,this._numLeafs=0):this._numLeafs--,!0;if(r.branches.size>0)break;o=(i=r)===null||i===void 0?void 0:i.branchKey,r=r.parent}for(;r!==n;r=r.parent)if(r==null)return!1;return this._numLeafs--,!0}clear(){this._numLeafs=0,this._root=null}invalidCacheError(){const t=sT()?"Possible Fast Refresh module reload detected. This may also be caused by an selector returning inconsistent values. Resetting cache.":"Invalid cache values. This happens when selectors do not return consistent values for the same input dependency values. That may also be caused when using Fast Refresh to change a selector implementation. Resetting cache.";throw Md(t+(this._name!=null?` - ${this._name}`:"")),new Zv}}var uT={TreeCache:lT},cT=uT.TreeCache,Q1=Object.freeze({__proto__:null,TreeCache:cT});class fT{constructor(t){var n;se(this,"_maxSize",void 0),se(this,"_size",void 0),se(this,"_head",void 0),se(this,"_tail",void 0),se(this,"_map",void 0),se(this,"_keyMapper",void 0),this._maxSize=t.maxSize,this._size=0,this._head=null,this._tail=null,this._map=new Map,this._keyMapper=(n=t.mapKey)!==null&&n!==void 0?n:r=>r}head(){return this._head}tail(){return this._tail}size(){return this._size}maxSize(){return this._maxSize}has(t){return this._map.has(this._keyMapper(t))}get(t){const n=this._keyMapper(t),r=this._map.get(n);if(!!r)return this.set(t,r.value),r.value}set(t,n){const r=this._keyMapper(t);this._map.get(r)&&this.delete(t);const i=this.head(),a={key:t,right:i,left:null,value:n};i?i.left=a:this._tail=a,this._map.set(r,a),this._head=a,this._size++,this._maybeDeleteLRU()}_maybeDeleteLRU(){this.size()>this.maxSize()&&this.deleteLru()}deleteLru(){const t=this.tail();t&&this.delete(t.key)}delete(t){const n=this._keyMapper(t);if(!this._size||!this._map.has(n))return;const r=Te(this._map.get(n)),o=r.right,i=r.left;o&&(o.left=r.left),i&&(i.right=r.right),r===this.head()&&(this._head=o),r===this.tail()&&(this._tail=i),this._map.delete(n),this._size--}clear(){this._size=0,this._head=null,this._tail=null,this._map=new Map}}var dT={LRUCache:fT},pT=dT.LRUCache,K1=Object.freeze({__proto__:null,LRUCache:pT});const{LRUCache:hT}=K1,{TreeCache:vT}=Q1;function mT({name:e,maxSize:t,mapNodeValue:n=r=>r}){const r=new hT({maxSize:t}),o=new vT({name:e,mapNodeValue:n,onHit:i=>{r.set(i,!0)},onSet:i=>{const a=r.tail();r.set(i,!0),a&&o.size()>t&&o.delete(a.key)}});return o}var em=mT;function jt(e,t,n){if(typeof e=="string"&&!e.includes('"')&&!e.includes("\\"))return`"${e}"`;switch(typeof e){case"undefined":return"";case"boolean":return e?"true":"false";case"number":case"symbol":return String(e);case"string":return JSON.stringify(e);case"function":if((t==null?void 0:t.allowFunctions)!==!0)throw de("Attempt to serialize function in a Recoil cache key");return`__FUNCTION(${e.name})__`}if(e===null)return"null";if(typeof e!="object"){var r;return(r=JSON.stringify(e))!==null&&r!==void 0?r:""}if(Pe(e))return"__PROMISE__";if(Array.isArray(e))return`[${e.map((o,i)=>jt(o,t,i.toString()))}]`;if(typeof e.toJSON=="function")return jt(e.toJSON(n),t,n);if(e instanceof Map){const o={};for(const[i,a]of e)o[typeof i=="string"?i:jt(i,t)]=a;return jt(o,t,n)}return e instanceof Set?jt(Array.from(e).sort((o,i)=>jt(o,t).localeCompare(jt(i,t))),t,n):Symbol!==void 0&&e[Symbol.iterator]!=null&&typeof e[Symbol.iterator]=="function"?jt(Array.from(e),t,n):`{${Object.keys(e).filter(o=>e[o]!==void 0).sort().map(o=>`${jt(o,t)}:${jt(e[o],t,o)}`).join(",")}}`}function gT(e,t={allowFunctions:!1}){return jt(e,t)}var nu=gT;const{TreeCache:yT}=Q1,Qa={equality:"reference",eviction:"keep-all",maxSize:1/0};function wT({equality:e=Qa.equality,eviction:t=Qa.eviction,maxSize:n=Qa.maxSize}=Qa,r){const o=ST(e);return _T(t,n,o,r)}function ST(e){switch(e){case"reference":return t=>t;case"value":return t=>nu(t)}throw de(`Unrecognized equality policy ${e}`)}function _T(e,t,n,r){switch(e){case"keep-all":return new yT({name:r,mapNodeValue:n});case"lru":return em({name:r,maxSize:Te(t),mapNodeValue:n});case"most-recent":return em({name:r,maxSize:1,mapNodeValue:n})}throw de(`Unrecognized eviction policy ${e}`)}var bT=wT;function RT(e){return()=>null}var CT={startPerfBlock:RT};const{isLoadable:ET,loadableWithError:Ka,loadableWithPromise:xT,loadableWithValue:Wu}=ma,{WrappedValue:G1}=q1,{getNodeLoadable:Ga,peekNodeLoadable:OT,setNodeValue:kT}=cr,{saveDepsToStore:PT}=ya,{DEFAULT_VALUE:TT,RecoilValueNotReady:LT,getConfigDeletionHandler:NT,getNode:AT,registerNode:tm}=ht,{isRecoilValue:MT}=xo,{markRecoilValueModified:nm}=cn,{retainedByOptionWithDefault:$T}=Br,{recoilCallback:DT}=H1,{startPerfBlock:IT}=CT;class X1{}const ri=new X1,oi=[],Xa=new Map,FT=(()=>{let e=0;return()=>e++})();function Y1(e){let t=null;const{key:n,get:r,cachePolicy_UNSTABLE:o}=e,i=e.set!=null?e.set:void 0,a=new Set,s=bT(o!=null?o:{equality:"reference",eviction:"keep-all"},n),l=$T(e.retainedBy_UNSTABLE),u=new Map;let c=0;function f(){return!_e("recoil_memory_managament_2020")||c>0}function d(b){return b.getState().knownSelectors.add(n),c++,()=>{c--}}function h(){return NT(n)!==void 0&&!f()}function m(b,B,V,Z,W){z(B,Z,W),y(b,V)}function y(b,B){w(b,B)&&X(b),v(B,!0)}function x(b,B){w(b,B)&&(Te(M(b)).stateVersions.clear(),v(B,!1))}function v(b,B){const V=Xa.get(b);if(V!=null){for(const Z of V)nm(Z,Te(t));B&&Xa.delete(b)}}function p(b,B){let V=Xa.get(B);V==null&&Xa.set(B,V=new Set),V.add(b)}function g(b,B,V,Z,W,ne){return B.then(le=>{if(!f())throw X(b),ri;const J=Wu(le);return m(b,V,W,J,Z),le}).catch(le=>{if(!f())throw X(b),ri;if(Pe(le))return S(b,le,V,Z,W,ne);const J=Ka(le);throw m(b,V,W,J,Z),le})}function S(b,B,V,Z,W,ne){return B.then(le=>{if(!f())throw X(b),ri;ne.loadingDepKey!=null&&ne.loadingDepPromise===B?V.atomValues.set(ne.loadingDepKey,Wu(le)):b.getState().knownSelectors.forEach(me=>{V.atomValues.delete(me)});const J=A(b,V);if(J&&J.state!=="loading"){if((w(b,W)||M(b)==null)&&y(b,W),J.state==="hasValue")return J.contents;throw J.contents}if(!w(b,W)){const me=j(b,V);if(me!=null)return me.loadingLoadable.contents}const[Se,be]=E(b,V,W);if(Se.state!=="loading"&&m(b,V,W,Se,be),Se.state==="hasError")throw Se.contents;return Se.contents}).catch(le=>{if(le instanceof X1)throw ri;if(!f())throw X(b),ri;const J=Ka(le);throw m(b,V,W,J,Z),le})}function O(b,B,V,Z){var W,ne,le,J;if(w(b,Z)||B.version===((W=b.getState())===null||W===void 0||(ne=W.currentTree)===null||ne===void 0?void 0:ne.version)||B.version===((le=b.getState())===null||le===void 0||(J=le.nextTree)===null||J===void 0?void 0:J.version)){var Se,be,me;PT(n,V,b,(Se=(be=b.getState())===null||be===void 0||(me=be.nextTree)===null||me===void 0?void 0:me.version)!==null&&Se!==void 0?Se:b.getState().currentTree.version)}for(const Re of V)a.add(Re)}function E(b,B,V){const Z=IT(n);let W=!0,ne=!0;const le=()=>{Z(),ne=!1};let J,Se=!1,be;const me={loadingDepKey:null,loadingDepPromise:null},Re=new Map;function Rt({key:Dt}){const vt=Ga(b,B,Dt);switch(Re.set(Dt,vt),W||(O(b,B,new Set(Re.keys()),V),x(b,V)),vt.state){case"hasValue":return vt.contents;case"hasError":throw vt.contents;case"loading":throw me.loadingDepKey=Dt,me.loadingDepPromise=vt.contents,vt.contents}throw de("Invalid Loadable state")}const dr=Dt=>(...vt)=>{if(ne)throw de("Callbacks from getCallback() should only be called asynchronously after the selector is evalutated. It can be used for selectors to return objects with callbacks that can work with Recoil state without a subscription.");return t==null&&fi(!1),DT(b,Dt,vt,{node:t})};try{J=r({get:Rt,getCallback:dr}),J=MT(J)?Rt(J):J,ET(J)&&(J.state==="hasError"&&(Se=!0),J=J.contents),Pe(J)?J=g(b,J,B,Re,V,me).finally(le):le(),J=J instanceof G1?J.value:J}catch(Dt){J=Dt,Pe(J)?J=S(b,J,B,Re,V,me).finally(le):(Se=!0,le())}return Se?be=Ka(J):Pe(J)?be=xT(J):be=Wu(J),W=!1,te(b,V,Re),O(b,B,new Set(Re.keys()),V),[be,Re]}function A(b,B){let V=B.atomValues.get(n);if(V!=null)return V;const Z=new Set;try{V=s.get(ne=>(typeof ne!="string"&&fi(!1),Ga(b,B,ne).contents),{onNodeVisit:ne=>{ne.type==="branch"&&ne.nodeKey!==n&&Z.add(ne.nodeKey)}})}catch(ne){throw de(`Problem with cache lookup for selector "${n}": ${ne.message}`)}if(V){var W;B.atomValues.set(n,V),O(b,B,Z,(W=M(b))===null||W===void 0?void 0:W.executionID)}return V}function L(b,B){const V=A(b,B);if(V!=null)return X(b),V;const Z=j(b,B);if(Z!=null){var W;return((W=Z.loadingLoadable)===null||W===void 0?void 0:W.state)==="loading"&&p(b,Z.executionID),Z.loadingLoadable}const ne=FT(),[le,J]=E(b,B,ne);return le.state==="loading"?(Q(b,ne,le,J,B),p(b,ne)):(X(b),z(B,le,J)),le}function j(b,B){const V=y1([u.has(b)?[Te(u.get(b))]:[],Wl(Fd(u,([W])=>W!==b),([,W])=>W)]);function Z(W){for(const[ne,le]of W)if(!Ga(b,B,ne).is(le))return!0;return!1}for(const W of V){if(W.stateVersions.get(B.version)||!Z(W.depValuesDiscoveredSoFarDuringAsyncWork))return W.stateVersions.set(B.version,!0),W;W.stateVersions.set(B.version,!1)}}function M(b){return u.get(b)}function Q(b,B,V,Z,W){u.set(b,{depValuesDiscoveredSoFarDuringAsyncWork:Z,executionID:B,loadingLoadable:V,stateVersions:new Map([[W.version,!0]])})}function te(b,B,V){if(w(b,B)){const Z=M(b);Z!=null&&(Z.depValuesDiscoveredSoFarDuringAsyncWork=V)}}function X(b){u.delete(b)}function w(b,B){var V;return B===((V=M(b))===null||V===void 0?void 0:V.executionID)}function T(b){return Array.from(b.entries()).map(([B,V])=>[B,V.contents])}function z(b,B,V){b.atomValues.set(n,B);try{s.set(T(V),B)}catch(Z){throw de(`Problem with setting cache for selector "${n}": ${Z.message}`)}}function C(b){if(oi.includes(n)){const B=`Recoil selector has circular dependencies: ${oi.slice(oi.indexOf(n)).join(" \u2192 ")}`;return Ka(de(B))}oi.push(n);try{return b()}finally{oi.pop()}}function k(b,B){const V=B.atomValues.get(n);return V!=null?V:s.get(Z=>{var W;return typeof Z!="string"&&fi(!1),(W=OT(b,B,Z))===null||W===void 0?void 0:W.contents})}function N(b,B){return C(()=>L(b,B))}function $(b){b.atomValues.delete(n)}function F(b,B){t==null&&fi(!1);for(const Z of a){var V;const W=AT(Z);(V=W.clearCache)===null||V===void 0||V.call(W,b,B)}a.clear(),$(B),s.clear(),nm(b,t)}return i!=null?t=tm({key:n,nodeType:"selector",peek:k,get:N,set:(B,V,Z)=>{let W=!1;const ne=new Map;function le({key:me}){if(W)throw de("Recoil: Async selector sets are not currently supported.");const Re=Ga(B,V,me);if(Re.state==="hasValue")return Re.contents;throw Re.state==="loading"?new LT(me):Re.contents}function J(me,Re){if(W)throw de("Recoil: Async selector sets are not currently supported.");const Rt=typeof Re=="function"?Re(le(me)):Re;kT(B,V,me.key,Rt).forEach((Dt,vt)=>ne.set(vt,Dt))}function Se(me){J(me,TT)}const be=i({set:J,get:le,reset:Se},Z);if(be!==void 0)throw Pe(be)?de("Recoil: Async selector sets are not currently supported."):de("Recoil: selector set should be a void function.");return W=!0,ne},init:d,invalidate:$,clearCache:F,shouldDeleteConfigOnRelease:h,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:l}):t=tm({key:n,nodeType:"selector",peek:k,get:N,init:d,invalidate:$,clearCache:F,shouldDeleteConfigOnRelease:h,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:l})}Y1.value=e=>new G1(e);var Po=Y1;const{isLoadable:UT,loadableWithError:Hu,loadableWithPromise:qu,loadableWithValue:Kr}=ma,{WrappedValue:J1}=q1,{peekNodeInfo:jT}=cr,{DEFAULT_VALUE:_r,DefaultValue:Dn,getConfigDeletionHandler:Z1,registerNode:zT,setConfigDeletionHandler:VT}=ht,{isRecoilValue:BT}=xo,{getRecoilValueAsLoadable:WT,markRecoilValueModified:HT,setRecoilValue:rm,setRecoilValueLoadable:qT}=cn,{retainedByOptionWithDefault:QT}=Br,ii=e=>e instanceof J1?e.value:e;function KT(e){const{key:t,persistence_UNSTABLE:n}=e,r=QT(e.retainedBy_UNSTABLE);let o=0;function i(p){return qu(p.then(g=>(a=Kr(g),g)).catch(g=>{throw a=Hu(g),g}))}let a=Pe(e.default)?i(e.default):UT(e.default)?e.default.state==="loading"?i(e.default.contents):e.default:Kr(ii(e.default));a.contents;let s;const l=new Map;function u(p){return p}function c(p,g){const S=g.then(O=>{var E,A;return((A=((E=p.getState().nextTree)!==null&&E!==void 0?E:p.getState().currentTree).atomValues.get(t))===null||A===void 0?void 0:A.contents)===S&&rm(p,v,O),O}).catch(O=>{var E,A;throw((A=((E=p.getState().nextTree)!==null&&E!==void 0?E:p.getState().currentTree).atomValues.get(t))===null||A===void 0?void 0:A.contents)===S&&qT(p,v,Hu(O)),O});return S}function f(p,g,S){var O;o++;const E=()=>{var M;o--,(M=l.get(p))===null||M===void 0||M.forEach(Q=>Q()),l.delete(p)};if(p.getState().knownAtoms.add(t),a.state==="loading"){const M=()=>{var Q;((Q=p.getState().nextTree)!==null&&Q!==void 0?Q:p.getState().currentTree).atomValues.has(t)||HT(p,v)};a.contents.finally(M)}const A=(O=e.effects)!==null&&O!==void 0?O:e.effects_UNSTABLE;if(A!=null){let w=function($){if(Q&&$.key===t){const F=M;return F instanceof Dn?d(p,g):Pe(F)?qu(F.then(b=>b instanceof Dn?a.toPromise():b)):Kr(F)}return WT(p,$)},T=function($){return w($).toPromise()},z=function($){var F;const b=jT(p,(F=p.getState().nextTree)!==null&&F!==void 0?F:p.getState().currentTree,$.key);return Q&&$.key===t&&!(M instanceof Dn)?he(Y({},b),{isSet:!0,loadable:w($)}):b},M=_r,Q=!0,te=!1,X=null;const C=$=>F=>{if(Q){const b=w(v),B=b.state==="hasValue"?b.contents:_r;M=typeof F=="function"?F(B):F,Pe(M)&&(M=M.then(V=>(X={effect:$,value:V},V)))}else{if(Pe(F))throw de("Setting atoms to async values is not implemented.");typeof F!="function"&&(X={effect:$,value:ii(F)}),rm(p,v,typeof F=="function"?b=>{const B=ii(F(b));return X={effect:$,value:B},B}:ii(F))}},k=$=>()=>C($)(_r),N=$=>F=>{var b;const{release:B}=p.subscribeToTransactions(V=>{var Z;let{currentTree:W,previousTree:ne}=V.getState();ne||(ne=W);const le=(Z=W.atomValues.get(t))!==null&&Z!==void 0?Z:a;if(le.state==="hasValue"){var J,Se,be,me;const Re=le.contents,Rt=(J=ne.atomValues.get(t))!==null&&J!==void 0?J:a,dr=Rt.state==="hasValue"?Rt.contents:_r;((Se=X)===null||Se===void 0?void 0:Se.effect)!==$||((be=X)===null||be===void 0?void 0:be.value)!==Re?F(Re,dr,!W.atomValues.has(t)):((me=X)===null||me===void 0?void 0:me.effect)===$&&(X=null)}},t);l.set(p,[...(b=l.get(p))!==null&&b!==void 0?b:[],B])};for(const $ of A)try{const F=$({node:v,storeID:p.storeID,parentStoreID_UNSTABLE:p.parentStoreID,trigger:S,setSelf:C($),resetSelf:k($),onSet:N($),getPromise:T,getLoadable:w,getInfo_UNSTABLE:z});if(F!=null){var L;l.set(p,[...(L=l.get(p))!==null&&L!==void 0?L:[],F])}}catch(F){M=F,te=!0}if(Q=!1,!(M instanceof Dn)){var j;const $=te?Hu(M):Pe(M)?qu(c(p,M)):Kr(ii(M));$.contents,g.atomValues.set(t,$),(j=p.getState().nextTree)===null||j===void 0||j.atomValues.set(t,$)}}return E}function d(p,g){var S,O;return(S=(O=g.atomValues.get(t))!==null&&O!==void 0?O:s)!==null&&S!==void 0?S:a}function h(p,g){if(g.atomValues.has(t))return Te(g.atomValues.get(t));if(g.nonvalidatedAtoms.has(t)){if(s!=null)return s;if(n==null)return a;const S=g.nonvalidatedAtoms.get(t),O=n.validator(S,_r);return s=O instanceof Dn?a:Kr(O),s}else return a}function m(){s=void 0}function y(p,g,S){if(g.atomValues.has(t)){const O=Te(g.atomValues.get(t));if(O.state==="hasValue"&&S===O.contents)return new Map}else if(!g.nonvalidatedAtoms.has(t)&&S instanceof Dn)return new Map;return s=void 0,new Map().set(t,Kr(S))}function x(){return Z1(t)!==void 0&&o<=0}const v=zT({key:t,nodeType:"atom",peek:d,get:h,set:y,init:f,invalidate:m,shouldDeleteConfigOnRelease:x,dangerouslyAllowMutability:e.dangerouslyAllowMutability,persistence_UNSTABLE:e.persistence_UNSTABLE?{type:e.persistence_UNSTABLE.type,backButton:e.persistence_UNSTABLE.backButton}:void 0,shouldRestoreFromSnapshots:!0,retainedBy:r});return v}function Gd(e){const t=pr(e,[]),n="default"in e?e.default:new Promise(()=>{});return BT(n)?GT(he(Y({},t),{default:n})):KT(he(Y({},t),{default:n}))}function GT(e){const t=Gd(he(Y({},e),{default:_r,persistence_UNSTABLE:e.persistence_UNSTABLE===void 0?void 0:he(Y({},e.persistence_UNSTABLE),{validator:r=>r instanceof Dn?r:Te(e.persistence_UNSTABLE).validator(r,_r)}),effects:e.effects,effects_UNSTABLE:e.effects_UNSTABLE})),n=Po({key:`${e.key}__withFallback`,get:({get:r})=>{const o=r(t);return o instanceof Dn?e.default:o},set:({set:r},o)=>r(t,o),dangerouslyAllowMutability:e.dangerouslyAllowMutability});return VT(n.key,Z1(e.key)),n}Gd.value=e=>new J1(e);var ew=Gd;class XT{constructor(t){var n;se(this,"_map",void 0),se(this,"_keyMapper",void 0),this._map=new Map,this._keyMapper=(n=t==null?void 0:t.mapKey)!==null&&n!==void 0?n:r=>r}size(){return this._map.size}has(t){return this._map.has(this._keyMapper(t))}get(t){return this._map.get(this._keyMapper(t))}set(t,n){this._map.set(this._keyMapper(t),n)}delete(t){this._map.delete(this._keyMapper(t))}clear(){this._map.clear()}}var YT={MapCache:XT},JT=YT.MapCache,ZT=Object.freeze({__proto__:null,MapCache:JT});const{LRUCache:om}=K1,{MapCache:eL}=ZT,Ya={equality:"reference",eviction:"none",maxSize:1/0};function tL({equality:e=Ya.equality,eviction:t=Ya.eviction,maxSize:n=Ya.maxSize}=Ya){const r=nL(e);return rL(t,n,r)}function nL(e){switch(e){case"reference":return t=>t;case"value":return t=>nu(t)}throw de(`Unrecognized equality policy ${e}`)}function rL(e,t,n){switch(e){case"keep-all":return new eL({mapKey:n});case"lru":return new om({mapKey:n,maxSize:Te(t)});case"most-recent":return new om({mapKey:n,maxSize:1})}throw de(`Unrecognized eviction policy ${e}`)}var tw=tL;const{setConfigDeletionHandler:oL}=ht;function iL(e){var t,n;const r=tw({equality:(t=(n=e.cachePolicyForParams_UNSTABLE)===null||n===void 0?void 0:n.equality)!==null&&t!==void 0?t:"value",eviction:"keep-all"});return o=>{var i,a;const s=r.get(o);if(s!=null)return s;const d=e,{cachePolicyForParams_UNSTABLE:l}=d,u=pr(d,["cachePolicyForParams_UNSTABLE"]),c="default"in e?e.default:new Promise(()=>{}),f=ew(he(Y({},u),{key:`${e.key}__${(i=nu(o))!==null&&i!==void 0?i:"void"}`,default:typeof c=="function"?c(o):c,retainedBy_UNSTABLE:typeof e.retainedBy_UNSTABLE=="function"?e.retainedBy_UNSTABLE(o):e.retainedBy_UNSTABLE,effects:typeof e.effects=="function"?e.effects(o):typeof e.effects_UNSTABLE=="function"?e.effects_UNSTABLE(o):(a=e.effects)!==null&&a!==void 0?a:e.effects_UNSTABLE}));return r.set(o,f),oL(f.key,()=>{r.delete(o)}),f}}var aL=iL;const{setConfigDeletionHandler:sL}=ht;let lL=0;function uL(e){var t,n;const r=tw({equality:(t=(n=e.cachePolicyForParams_UNSTABLE)===null||n===void 0?void 0:n.equality)!==null&&t!==void 0?t:"value",eviction:"keep-all"});return o=>{var i;let a;try{a=r.get(o)}catch(d){throw de(`Problem with cache lookup for selector ${e.key}: ${d.message}`)}if(a!=null)return a;const s=`${e.key}__selectorFamily/${(i=nu(o,{allowFunctions:!0}))!==null&&i!==void 0?i:"void"}/${lL++}`,l=d=>e.get(o)(d),u=e.cachePolicy_UNSTABLE,c=typeof e.retainedBy_UNSTABLE=="function"?e.retainedBy_UNSTABLE(o):e.retainedBy_UNSTABLE;let f;if(e.set!=null){const d=e.set;f=Po({key:s,get:l,set:(m,y)=>d(o)(m,y),cachePolicy_UNSTABLE:u,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:c})}else f=Po({key:s,get:l,cachePolicy_UNSTABLE:u,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:c});return r.set(o,f),sL(f.key,()=>{r.delete(o)}),f}}var fr=uL;const cL=fr({key:"__constant",get:e=>()=>e,cachePolicyForParams_UNSTABLE:{equality:"reference"}});function fL(e){return cL(e)}var dL=fL;const pL=fr({key:"__error",get:e=>()=>{throw de(e)},cachePolicyForParams_UNSTABLE:{equality:"reference"}});function hL(e){return pL(e)}var vL=hL;function mL(e){return e}var gL=mL;const{loadableWithError:nw,loadableWithPromise:rw,loadableWithValue:ow}=ma;function ru(e,t){const n=Array(t.length).fill(void 0),r=Array(t.length).fill(void 0);for(const[o,i]of t.entries())try{n[o]=e(i)}catch(a){r[o]=a}return[n,r]}function yL(e){return e!=null&&!Pe(e)}function ou(e){return Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(t=>e[t])}function wf(e,t){return Array.isArray(e)?t:Object.getOwnPropertyNames(e).reduce((n,r,o)=>he(Y({},n),{[r]:t[o]}),{})}function go(e,t,n){const r=n.map((o,i)=>o==null?ow(t[i]):Pe(o)?rw(o):nw(o));return wf(e,r)}function wL(e,t){return t.map((n,r)=>n===void 0?e[r]:n)}const SL=fr({key:"__waitForNone",get:e=>({get:t})=>{const n=ou(e),[r,o]=ru(t,n);return go(e,r,o)},dangerouslyAllowMutability:!0}),_L=fr({key:"__waitForAny",get:e=>({get:t})=>{const n=ou(e),[r,o]=ru(t,n);return o.some(i=>!Pe(i))?go(e,r,o):new Promise(i=>{for(const[a,s]of o.entries())Pe(s)&&s.then(l=>{r[a]=l,o[a]=void 0,i(go(e,r,o))}).catch(l=>{o[a]=l,i(go(e,r,o))})})},dangerouslyAllowMutability:!0}),bL=fr({key:"__waitForAll",get:e=>({get:t})=>{const n=ou(e),[r,o]=ru(t,n);if(o.every(a=>a==null))return wf(e,r);const i=o.find(yL);if(i!=null)throw i;return Promise.all(o).then(a=>wf(e,wL(r,a)))},dangerouslyAllowMutability:!0}),RL=fr({key:"__waitForAllSettled",get:e=>({get:t})=>{const n=ou(e),[r,o]=ru(t,n);return o.every(i=>!Pe(i))?go(e,r,o):Promise.all(o.map((i,a)=>Pe(i)?i.then(s=>{r[a]=s,o[a]=void 0}).catch(s=>{r[a]=void 0,o[a]=s}):null)).then(()=>go(e,r,o))},dangerouslyAllowMutability:!0}),CL=fr({key:"__noWait",get:e=>({get:t})=>{try{return Po.value(ow(t(e)))}catch(n){return Po.value(Pe(n)?rw(n):nw(n))}},dangerouslyAllowMutability:!0});var EL={waitForNone:SL,waitForAny:_L,waitForAll:bL,waitForAllSettled:RL,noWait:CL};const{RecoilLoadable:xL}=ma,{DefaultValue:OL}=ht,{RecoilRoot:kL,useRecoilStoreID:PL}=On,{isRecoilValue:TL}=xo,{retentionZone:LL}=ql,{freshSnapshot:NL}=Yl,{useRecoilState:AL,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:ML,useRecoilStateLoadable:$L,useRecoilValue:DL,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:IL,useRecoilValueLoadable:FL,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:UL,useResetRecoilState:jL,useSetRecoilState:zL}=Xk,{useGotoRecoilSnapshot:VL,useRecoilSnapshot:BL,useRecoilTransactionObserver:WL}=z1,{useRecoilCallback:HL}=H1,{noWait:qL,waitForAll:QL,waitForAllSettled:KL,waitForAny:GL,waitForNone:XL}=EL;var Xd={DefaultValue:OL,isRecoilValue:TL,RecoilLoadable:xL,RecoilRoot:kL,useRecoilStoreID:PL,useRecoilBridgeAcrossReactRoots_UNSTABLE:RP,atom:ew,selector:Po,atomFamily:aL,selectorFamily:fr,constSelector:dL,errorSelector:vL,readOnlySelector:gL,noWait:qL,waitForNone:XL,waitForAny:GL,waitForAll:QL,waitForAllSettled:KL,useRecoilValue:DL,useRecoilValueLoadable:FL,useRecoilState:AL,useRecoilStateLoadable:$L,useSetRecoilState:zL,useResetRecoilState:jL,useGetRecoilValueInfo_UNSTABLE:gP,useRecoilRefresher_UNSTABLE:JP,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:UL,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:IL,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:ML,useRecoilCallback:HL,useRecoilTransaction_UNSTABLE:rT,useGotoRecoilSnapshot:VL,useRecoilSnapshot:BL,useRecoilTransactionObserver_UNSTABLE:WL,snapshot_UNSTABLE:NL,useRetain:Wd,retentionZone:LL},YL=Xd.RecoilRoot,JL=Xd.atom,z$=Xd.useRecoilState,iu={exports:{}},au={};/** - * @license React - * react-jsx-runtime.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ZL=D.exports,eN=Symbol.for("react.element"),tN=Symbol.for("react.fragment"),nN=Object.prototype.hasOwnProperty,rN=ZL.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,oN={key:!0,ref:!0,__self:!0,__source:!0};function iw(e,t,n){var r,o={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)nN.call(t,r)&&!oN.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:eN,type:e,key:i,ref:a,props:o,_owner:rN.current}}au.Fragment=tN;au.jsx=iw;au.jsxs=iw;iu.exports=au;const R=iu.exports.jsx,ue=iu.exports.jsxs,En=iu.exports.Fragment;var iN=Object.freeze(Object.defineProperty({__proto__:null,jsx:R,jsxs:ue,Fragment:En},Symbol.toStringTag,{value:"Module"}));function aN(e,t){if(e==null)return{};var n=sN(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function sN(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}var Yd=D.exports.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=e.size,i=o===void 0?24:o,a=aN(e,["color","size"]);return ue("svg",he(Y({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),{children:[R("path",{d:"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"}),R("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]}))});Yd.propTypes={color:Fe.string,size:Fe.oneOfType([Fe.string,Fe.number])};Yd.displayName="EyeOff";var lN=Yd;function uN(e,t){if(e==null)return{};var n=cN(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function cN(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}var Jd=D.exports.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=e.size,i=o===void 0?24:o,a=uN(e,["color","size"]);return ue("svg",he(Y({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),{children:[R("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),R("circle",{cx:"12",cy:"12",r:"3"})]}))});Jd.propTypes={color:Fe.string,size:Fe.oneOfType([Fe.string,Fe.number])};Jd.displayName="Eye";var fN=Jd;function dN(e,t){if(e==null)return{};var n=pN(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function pN(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}var Zd=D.exports.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=e.size,i=o===void 0?24:o,a=dN(e,["color","size"]);return R("svg",he(Y({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),{children:R("path",{d:"M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"})}))});Zd.propTypes={color:Fe.string,size:Fe.oneOfType([Fe.string,Fe.number])};Zd.displayName="GitHub";var hN=Zd;function vN(e,t){if(e==null)return{};var n=mN(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function mN(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}var ep=D.exports.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=e.size,i=o===void 0?24:o,a=vN(e,["color","size"]);return ue("svg",he(Y({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),{children:[R("circle",{cx:"12",cy:"12",r:"10"}),R("line",{x1:"12",y1:"16",x2:"12",y2:"12"}),R("line",{x1:"12",y1:"8",x2:"12.01",y2:"8"})]}))});ep.propTypes={color:Fe.string,size:Fe.oneOfType([Fe.string,Fe.number])};ep.displayName="Info";var gN=ep;function yN(e,t){if(e==null)return{};var n=wN(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function wN(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}var tp=D.exports.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=e.size,i=o===void 0?24:o,a=yN(e,["color","size"]);return ue("svg",he(Y({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),{children:[R("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),R("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}))});tp.propTypes={color:Fe.string,size:Fe.oneOfType([Fe.string,Fe.number])};tp.displayName="X";var SN=tp;function _N(e,t){let n;return(...r)=>{n&&clearTimeout(n),n=setTimeout(()=>{e(...r)},t)}}function aw(e){return e.replace(/\/$/,"")}function V$(e,t){let n=String(e);for(;n.length1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:np(e)?2:rp(e)?3:0}function Sf(e,t){return Io(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function kN(e,t){return Io(e)===2?e.get(t):e[t]}function cw(e,t,n){var r=Io(e);r===2?e.set(t,n):r===3?(e.delete(t),e.add(n)):e[t]=n}function PN(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function np(e){return AN&&e instanceof Map}function rp(e){return MN&&e instanceof Set}function Sr(e){return e.o||e.t}function op(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=DN(e);delete t[wt];for(var n=lp(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=TN),Object.freeze(e),t&&Xi(e,function(n,r){return ip(r,!0)},!0)),e}function TN(){qt(2)}function ap(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function sn(e){var t=IN[e];return t||qt(18,e),t}function am(){return Yi}function Qu(e,t){t&&(sn("Patches"),e.u=[],e.s=[],e.v=t)}function hl(e){_f(e),e.p.forEach(LN),e.p=null}function _f(e){e===Yi&&(Yi=e.l)}function sm(e){return Yi={p:[],l:Yi,h:e,m:!0,_:0}}function LN(e){var t=e[wt];t.i===0||t.i===1?t.j():t.O=!0}function Ku(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||sn("ES5").S(t,e,r),r?(n[wt].P&&(hl(t),qt(4)),Ir(e)&&(e=vl(t,e),t.l||ml(t,e)),t.u&&sn("Patches").M(n[wt].t,e,t.u,t.s)):e=vl(t,n,[]),hl(t),t.u&&t.v(t.u,t.s),e!==fw?e:void 0}function vl(e,t,n){if(ap(t))return t;var r=t[wt];if(!r)return Xi(t,function(i,a){return lm(e,r,t,i,a,n)},!0),t;if(r.A!==e)return t;if(!r.P)return ml(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=r.i===4||r.i===5?r.o=op(r.k):r.o;Xi(r.i===3?new Set(o):o,function(i,a){return lm(e,r,o,i,a,n)}),ml(e,o,!1),n&&e.u&&sn("Patches").R(r,n,e.u,e.s)}return r.o}function lm(e,t,n,r,o,i){if(To(o)){var a=vl(e,o,i&&t&&t.i!==3&&!Sf(t.D,r)?i.concat(r):void 0);if(cw(n,r,a),!To(a))return;e.m=!1}if(Ir(o)&&!ap(o)){if(!e.h.F&&e._<1)return;vl(e,o),t&&t.A.l||ml(e,o)}}function ml(e,t,n){n===void 0&&(n=!1),e.h.F&&e.m&&ip(t,n)}function Gu(e,t){var n=e[wt];return(n?Sr(n):e)[t]}function um(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function bf(e){e.P||(e.P=!0,e.l&&bf(e.l))}function Xu(e){e.o||(e.o=op(e.t))}function Rf(e,t,n){var r=np(t)?sn("MapSet").N(t,n):rp(t)?sn("MapSet").T(t,n):e.g?function(o,i){var a=Array.isArray(o),s={i:a?1:0,A:i?i.A:am(),P:!1,I:!1,D:{},l:i,t:o,k:null,o:null,j:null,C:!1},l=s,u=Cf;a&&(l=[s],u=di);var c=Proxy.revocable(l,u),f=c.revoke,d=c.proxy;return s.k=d,s.j=f,d}(t,n):sn("ES5").J(t,n);return(n?n.A:am()).p.push(r),r}function NN(e){return To(e)||qt(22,e),function t(n){if(!Ir(n))return n;var r,o=n[wt],i=Io(n);if(o){if(!o.P&&(o.i<4||!sn("ES5").K(o)))return o.t;o.I=!0,r=cm(n,i),o.I=!1}else r=cm(n,i);return Xi(r,function(a,s){o&&kN(o.t,a)===s||cw(r,a,t(s))}),i===3?new Set(r):r}(e)}function cm(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return op(e)}var fm,Yi,sp=typeof Symbol!="undefined"&&typeof Symbol("x")=="symbol",AN=typeof Map!="undefined",MN=typeof Set!="undefined",dm=typeof Proxy!="undefined"&&Proxy.revocable!==void 0&&typeof Reflect!="undefined",fw=sp?Symbol.for("immer-nothing"):((fm={})["immer-nothing"]=!0,fm),pm=sp?Symbol.for("immer-draftable"):"__$immer_draftable",wt=sp?Symbol.for("immer-state"):"__$immer_state",$N=""+Object.prototype.constructor,lp=typeof Reflect!="undefined"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,DN=Object.getOwnPropertyDescriptors||function(e){var t={};return lp(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},IN={},Cf={get:function(e,t){if(t===wt)return e;var n=Sr(e);if(!Sf(n,t))return function(o,i,a){var s,l=um(i,a);return l?"value"in l?l.value:(s=l.get)===null||s===void 0?void 0:s.call(o.k):void 0}(e,n,t);var r=n[t];return e.I||!Ir(r)?r:r===Gu(e.t,t)?(Xu(e),e.o[t]=Rf(e.A.h,r,e)):r},has:function(e,t){return t in Sr(e)},ownKeys:function(e){return Reflect.ownKeys(Sr(e))},set:function(e,t,n){var r=um(Sr(e),t);if(r!=null&&r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=Gu(Sr(e),t),i=o==null?void 0:o[wt];if(i&&i.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(PN(n,o)&&(n!==void 0||Sf(e.t,t)))return!0;Xu(e),bf(e)}return e.o[t]===n&&typeof n!="number"&&(n!==void 0||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return Gu(e.t,t)!==void 0||t in e.t?(e.D[t]=!1,Xu(e),bf(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=Sr(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty:function(){qt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){qt(12)}},di={};Xi(Cf,function(e,t){di[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),di.deleteProperty=function(e,t){return di.set.call(this,e,t,void 0)},di.set=function(e,t,n){return Cf.set.call(this,e[0],t,n,e[0])};var FN=function(){function e(n){var r=this;this.g=dm,this.F=!0,this.produce=function(o,i,a){if(typeof o=="function"&&typeof i!="function"){var s=i;i=o;var l=r;return function(y){var x=this;y===void 0&&(y=s);for(var v=arguments.length,p=Array(v>1?v-1:0),g=1;g1?c-1:0),d=1;d=0;o--){var i=r[o];if(i.path.length===0&&i.op==="replace"){n=i.value;break}}o>-1&&(r=r.slice(o+1));var a=sn("Patches").$;return To(n)?a(n,r):this.produce(n,function(s){return a(s,r)})},e}(),St=new FN,UN=St.produce;St.produceWithPatches.bind(St);var jN=St.setAutoFreeze.bind(St);St.setUseProxies.bind(St);St.applyPatches.bind(St);St.createDraft.bind(St);St.finishDraft.bind(St);jN(!1);const{createContext:up,memo:zN,useMemo:VN,useRef:BN,useEffect:WN,useCallback:hm,useContext:Ef,useState:HN}=ee,dw=up(null),pw=up(null),hw=up(null);function qN(){return Ef(hw)}function QN({initialState:e,actions:t={},children:n}){const r=BN(e),[o,i]=HN(e),a=hm(()=>r.current,[]);WN(()=>{},[a]);const s=hm((u,c)=>{if(typeof u=="function")return u(s,a);const f=UN(a(),c);f!==r.current&&(r.current=f,i(f))},[a]),l=VN(()=>vw(t,s),[t,s]);return R(dw.Provider,{value:o,children:R(pw.Provider,{value:s,children:R(hw.Provider,{value:l,children:n})})})}function kn(e){return t=>{const n=zN(t);function r(o){const i=Ef(dw),a=Ef(pw),s=e(i,o),l=Y(Y({dispatch:a},o),s);return R(n,Y({},l))}return r}}function KN(e,t){return function(...n){return t(e.apply(this,n))}}function vw(e,t){const n={};for(const r in e){const o=e[r];typeof o=="function"?n[r]=KN(o,t):typeof o=="object"&&(n[r]=vw(o,t))}return n}const mw="yacd.metacubex.one";function GN(){try{const e=localStorage.getItem(mw);return e?JSON.parse(e):void 0}catch{return}}function Wr(e){try{const t=JSON.stringify(e);localStorage.setItem(mw,t)}catch{}}const cp="/configs",XN="/configs/geo",YN="/cache/fakeip/flush";async function gw(e){const{url:t,init:n}=Qe(e);return await fetch(t+cp,n)}function JN(e){return"socks-port"in e&&(e["socket-port"]=e["socks-port"]),e}async function ZN(e,t){const{url:n,init:r}=Qe(e),o=JSON.stringify(JN(t));return await fetch(n+cp,he(Y({},r),{body:o,method:"PATCH"}))}async function eA(e){const{url:t,init:n}=Qe(e),r='{"path": "", "payload": ""}';return await fetch(t+cp+"?force=true",he(Y({},n),{body:r,method:"PUT"}))}async function tA(e){const{url:t,init:n}=Qe(e),r='{"path": "", "payload": ""}';return await fetch(t+XN,he(Y({},n),{body:r,method:"POST"}))}async function nA(e){const{url:t,init:n}=Qe(e);return await fetch(t+YN,he(Y({},n),{method:"POST"}))}const yw="/traffic",rA=new TextDecoder("utf-8"),Ja=150,Ji={labels:Array(Ja).fill(0),up:Array(Ja),down:Array(Ja),size:Ja,subscribers:[],appendData(e){this.up.shift(),this.down.shift(),this.labels.shift();const t=Date.now();this.up.push(e.up),this.down.push(e.down),this.labels.push(t),this.subscribers.forEach(n=>n(e))},subscribe(e){return this.subscribers.push(e),()=>{const t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}}};let uo=!1,Za="";function xf(e){Ji.appendData(JSON.parse(e))}function ww(e){return e.read().then(({done:t,value:n})=>{Za+=rA.decode(n,{stream:!t});const o=Za.split(` -`),i=o[o.length-1];for(let a=0;a{if(r.ok){const o=r.body.getReader();ww(o)}else uo=!1},r=>{console.log("fetch /traffic error",r),uo=!1}),Ji}function vm(e){return t=>{t(`openModal:${e}`,n=>{n.modals[e]=!0})}}function iA(e){return t=>{t(`closeModal:${e}`,n=>{n.modals[e]=!1})}}const aA={apiConfig:!1},W$=e=>e.configs.configs,sA=e=>e.configs.haveFetchedConfig,H$=e=>e.configs.configs["log-level"];function ba(e){return async(t,n)=>{let r;try{r=await gw(e)}catch{t(vm("apiConfig"));return}if(!r.ok){console.log("Error fetch configs",r.statusText),t(vm("apiConfig"));return}const o=await r.json();t("store/configs#fetchConfigs",a=>{a.configs.configs=o}),sA(n())?fp(e):t(lA())}}function lA(){return e=>{e("store/configs#markHaveFetchedConfig",t=>{t.configs.haveFetchedConfig=!0})}}function q$(e,t){return async n=>{ZN(e,t).then(r=>{r.ok===!1&&console.log("Error update configs",r.statusText)},r=>{throw console.log("Error update configs",r),r}).then(()=>{n(ba(e))}),n("storeConfigsOptimisticUpdateConfigs",r=>{r.configs.configs=Y(Y({},r.configs.configs),t)})}}function Q$(e){return async t=>{eA(e).then(n=>{n.ok===!1&&console.log("Error reload config file",n.statusText)},n=>{throw console.log("Error reload config file",n),n}).then(()=>{t(ba(e))})}}function K$(e){return async t=>{tA(e).then(n=>{n.ok===!1&&console.log("Error update geo databases file",n.statusText)},n=>{throw console.log("Error update geo databases file",n),n}).then(()=>{t(ba(e))})}}function G$(e){return async t=>{nA(e).then(n=>{n.ok===!1&&console.log("Error flush FakeIP pool",n.statusText)},n=>{throw console.log("Error flush FakeIP pool",n),n}).then(()=>{t(ba(e))})}}const uA={configs:{port:7890,"socks-port":7891,"mixed-port":0,"redir-port":0,"tproxy-port":0,"mitm-port":0,"allow-lan":!1,mode:"rule","log-level":"uninit",sniffing:!1,tun:{enable:!1,device:"",stack:"","dns-hijack":[],"auto-route":!1}},haveFetchedConfig:!1},Fo=e=>{const t=e.app.selectedClashAPIConfigIndex;return e.app.clashAPIConfigs[t]},Sw=e=>e.app.selectedClashAPIConfigIndex,dp=e=>e.app.clashAPIConfigs,pp=e=>e.app.theme,cA=e=>e.app.selectedChartStyleIndex,fA=e=>e.app.latencyTestUrl,X$=e=>e.app.collapsibleIsOpen,Y$=e=>e.app.proxySortBy,J$=e=>e.app.hideUnavailableProxies,dA=e=>e.app.autoCloseOldConns,Z$=e=>e.app.logStreamingPaused,pA=_N(Wr,600);function hp(e,{baseURL:t,secret:n}){const r=dp(e());for(let o=0;o{if(hp(r,{baseURL:e,secret:t}))return;const i={baseURL:e,secret:t,addedAt:Date.now()};n("addClashAPIConfig",a=>{a.app.clashAPIConfigs.push(i)}),Wr(r().app)}}function vA({baseURL:e,secret:t}){return async(n,r)=>{const o=hp(r,{baseURL:e,secret:t});n("removeClashAPIConfig",i=>{i.app.clashAPIConfigs.splice(o,1)}),Wr(r().app)}}function mA({baseURL:e,secret:t}){return async(n,r)=>{const o=hp(r,{baseURL:e,secret:t});Sw(r())!==o&&n("selectClashAPIConfig",a=>{a.app.selectedClashAPIConfigIndex=o}),Wr(r().app);try{window.location.reload()}catch{}}}const Yu=document.querySelector("html");function _w(e="dark"){e==="auto"?Yu.setAttribute("data-theme","auto"):e==="dark"?Yu.setAttribute("data-theme","dark"):Yu.setAttribute("data-theme","light")}function gA(e="auto"){return(t,n)=>{pp(n())!==e&&(_w(e),t("storeSwitchTheme",o=>{o.app.theme=e}),Wr(n().app))}}function yA(e){return(t,n)=>{t("appSelectChartStyleIndex",r=>{r.app.selectedChartStyleIndex=Number(e)}),Wr(n().app)}}function mm(e,t){return(n,r)=>{n("appUpdateAppConfig",o=>{o.app[e]=t}),Wr(r().app)}}function wA(e,t,n){return(r,o)=>{r("updateCollapsibleIsOpen",i=>{i.app.collapsibleIsOpen[`${e}:${t}`]=n}),pA(o().app)}}var zm,Vm;const SA={baseURL:(Vm=(zm=document.getElementById("app"))==null?void 0:zm.getAttribute("data-base-url"))!=null?Vm:"http://127.0.0.1:9090",secret:"",addedAt:0},_A={selectedClashAPIConfigIndex:0,clashAPIConfigs:[SA],latencyTestUrl:"http://www.gstatic.com/generate_204",selectedChartStyleIndex:0,theme:"dark",collapsibleIsOpen:{},proxySortBy:"Natural",hideUnavailableProxies:!1,autoCloseOldConns:!1,logStreamingPaused:!1};function bA(){const{search:e}=window.location,t={};if(typeof e!="string"||e==="")return t;const n=e.replace(/^\?/,"").split("&");for(let r=0;rCN("/version",e.apiConfig));return ue(En,{children:[R(uw,{title:"About"}),t&&t.version?R(gm,{name:t.meta?"Clash.Meta":"Clash",version:t.version,link:"https://github.com/metacubex/clash.meta"}):null,R(gm,{name:"Yacd",version:"0.3.5",link:"https://github.com/metacubex/yacd"})]})}const kA=e=>({apiConfig:Fo(e)}),PA=kn(kA)(OA),TA="_loading_74j3j_1",LA="_spinner_74j3j_9",NA="_rotate_74j3j_1";var ym={loading:TA,spinner:LA,rotate:NA};const bw=({height:e})=>{const t=e?{height:e}:{};return R("div",{className:ym.loading,style:t,children:R("div",{className:ym.spinner})})},AA=e=>({apiConfig:Fo(e),apiConfigs:dp(e)});function MA({apiConfig:e,apiConfigs:t}){return D.exports.useEffect(()=>{let n="yacd";if(t.length>1)try{n=`${new URL(e.baseURL).host} - yacd`}catch{}document.title=n}),R(En,{})}const $A=kn(AA)(MA),DA=new T0,IA=new SC({queryCache:DA,defaultOptions:{queries:{suspense:!0}}});var gl="NOT_FOUND";function FA(e){var t;return{get:function(r){return t&&e(t.key,r)?t.value:gl},put:function(r,o){t={key:r,value:o}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}function UA(e,t){var n=[];function r(s){var l=n.findIndex(function(c){return t(s,c.key)});if(l>-1){var u=n[l];return l>0&&(n.splice(l,1),n.unshift(u)),u.value}return gl}function o(s,l){r(s)===gl&&(n.unshift({key:s,value:l}),n.length>e&&n.pop())}function i(){return n}function a(){n=[]}return{get:r,put:o,getEntries:i,clear:a}}var jA=function(t,n){return t===n};function zA(e){return function(n,r){if(n===null||r===null||n.length!==r.length)return!1;for(var o=n.length,i=0;i1?t-1:0),r=1;re.logs.logs,Cw=e=>e.logs.tail,qA=e=>e.logs.searchText,eD=HA(Rw,Cw,qA,(e,t,n)=>{const r=[];for(let o=t;o>=0;o--)r.push(e[o]);if(e.length===Of)for(let o=Of-1;o>t;o--)r.push(e[o]);return n===""?r:r.filter(o=>o.payload.toLowerCase().indexOf(n)>=0)});function tD(e){return t=>{t("logsUpdateSearchText",n=>{n.logs.searchText=e.toLowerCase()})}}function nD(e){return(t,n)=>{const r=n(),o=Rw(r),i=Cw(r),a=i>=Of-1?0:i+1;o[a]=e,t("logsAppendLog",s=>{s.logs.tail=a})}}const QA={searchText:"",logs:[],tail:-1},su="/connections",Ss=[];function KA(e){let t;try{t=JSON.parse(e)}catch{console.log("JSON.parse error",JSON.parse(e))}Ss.forEach(n=>n(t))}let Zu;function GA(e,t){if(Zu===1&&t)return wm(t);Zu=1;const n=lw(e,su),r=new WebSocket(n);if(r.addEventListener("error",()=>Zu=3),r.addEventListener("message",o=>KA(o.data)),t)return wm(t)}function wm(e){return Ss.push(e),function(){const n=Ss.indexOf(e);Ss.splice(n,1)}}async function rD(e){const{url:t,init:n}=Qe(e);return await fetch(t+su,he(Y({},n),{method:"DELETE"}))}async function XA(e){const{url:t,init:n}=Qe(e);return await fetch(t+su,Y({},n))}async function YA(e,t){const{url:n,init:r}=Qe(e),o=`${n}${su}/${t}`;return await fetch(o,he(Y({},r),{method:"DELETE"}))}const vp="/proxies";async function JA(e){const{url:t,init:n}=Qe(e);return await(await fetch(t+vp,n)).json()}async function ZA(e,t,n){const r={name:n},{url:o,init:i}=Qe(e),a=`${o}${vp}/${t}`;return await fetch(a,he(Y({},i),{method:"PUT",body:JSON.stringify(r)}))}async function e3(e,t,n="http://www.gstatic.com/generate_204"){const{url:r,init:o}=Qe(e),i=`timeout=5000&url=${n}`,a=`${r}${vp}/${encodeURIComponent(t)}/delay?${i}`;return await fetch(a,o)}async function oD(e,t,n="http://www.gstatic.com/generate_202"){const{url:r,init:o}=Qe(e),i=`url=${n}&timeout=2000`,a=`${r}/group/${encodeURIComponent(t)}/delay?${i}`;return await fetch(a,o)}async function t3(e){const{url:t,init:n}=Qe(e),r=await fetch(t+"/providers/proxies",n);return r.status===404?{providers:{}}:await r.json()}async function Ew(e,t){const{url:n,init:r}=Qe(e),o=he(Y({},r),{method:"PUT"});return await fetch(n+"/providers/proxies/"+t,o)}async function n3(e,t){const{url:n,init:r}=Qe(e),o=he(Y({},r),{method:"GET"});return await fetch(n+"/providers/proxies/"+t+"/healthcheck",o)}const r3={proxies:{},delay:{},groupNames:[],showModalClosePrevConns:!1},xw=()=>null,o3=["Direct","Fallback","Reject","Pass","Selector","URLTest","LoadBalance","Unknown"],i3=e=>e.proxies.proxies,Ow=e=>e.proxies.delay,iD=e=>e.proxies.groupNames,a3=e=>e.proxies.proxyProviders||[],kw=e=>e.proxies.dangleProxyNames,aD=e=>e.proxies.showModalClosePrevConns;function Uo(e){return async(t,n)=>{const[r,o]=await Promise.all([JA(e),t3(e)]),{providers:i,proxies:a}=h3(o.providers),s=Y(Y({},a),r.proxies),[l,u]=p3(s),c=Ow(n()),f=Y({},c);for(let h=0;h{h.proxies.proxies=s,h.proxies.groupNames=l,h.proxies.delay=f,h.proxies.proxyProviders=i,h.proxies.dangleProxyNames=d})}}function sD(e,t){return async n=>{try{await Ew(e,t)}catch{}n(Uo(e))}}function lD(e,t){return async n=>{for(let r=0;r{await Pw(e,t),await n(Uo(e))}}async function s3(e,t,n){const r=await XA(e);r.ok||console.log("unable to fetch all connections",r.statusText);const i=(await r.json()).connections,a=[];for(const s of i)s.chains.indexOf(t)>-1&&s.chains.indexOf(n)<0&&a.push(s.id);await Promise.all(a.map(s=>YA(e,s).catch(xw)))}function l3(e,t,n){const r=[n,t];let o,i=n;for(;(o=e[i])&&o.now;)r.unshift(o.now),i=o.now;return r}async function u3(e,t,n,r,o){try{if((await ZA(n,r,o)).ok===!1)throw new Error("failed to switch proxy: res.statusText")}catch(a){throw console.log(a,"failed to swith proxy"),a}if(e(Uo(n)),dA(t())){const a=i3(t());Lw(n,a,{groupName:r,itemName:o})}}function Tw(){return e=>{e("closeModalClosePrevConns",t=>{t.proxies.showModalClosePrevConns=!1})}}function Lw(e,t,n){const r=l3(t,n.groupName,n.itemName);s3(e,n.groupName,r[0])}function c3(e){return async(t,n)=>{var a;const r=n(),o=(a=r.proxies.switchProxyCtx)==null?void 0:a.to;if(!o){t(Tw());return}const i=r.proxies.proxies;Lw(e,i,o),t("closePrevConnsAndTheModal",s=>{s.proxies.showModalClosePrevConns=!1,s.proxies.switchProxyCtx=void 0})}}function cD(e,t,n){return async(r,o)=>{u3(r,o,e,t,n).catch(xw),r("store/proxies#switchProxy",i=>{const a=i.proxies.proxies;a[t]&&a[t].now&&(a[t].now=n)})}}function f3(e,t){return async(n,r)=>{const o=fA(r()),i=await e3(e,t,o);let a="";i.ok===!1&&(a=i.statusText);const{delay:s}=await i.json(),l=Ow(r()),u=he(Y({},l),{[t]:{error:a,number:s}});n("requestDelayForProxyOnce",c=>{c.proxies.delay=u})}}function Nw(e,t){return async n=>{await n(f3(e,t))}}function d3(e,t){return async(n,r)=>{const o=kw(r()),i=t.filter(a=>o.indexOf(a)>-1).map(a=>n(Nw(e,a)));await Promise.all(i),await n(Uo(e))}}function fD(e){return async(t,n)=>{const r=kw(n());await Promise.all(r.map(i=>t(Nw(e,i))));const o=a3(n());for(const i of o)await Pw(e,i.name);await t(Uo(e))}}function p3(e){let t=[],n;const r=[];for(const o in e){const i=e[o];i.all&&Array.isArray(i.all)?(t.push(o),o==="GLOBAL"&&(n=i.all)):o3.indexOf(i.type)<0&&r.push(o)}return n&&(n.push("GLOBAL"),t=t.map(o=>[n.indexOf(o),o]).sort((o,i)=>o[0]-i[0]).map(o=>o[1])),[t,r]}function h3(e){const t=Object.keys(e),n=[],r={};for(let o=0;on(o=>!o),[]);return[t,r]}const _3="_ul_1d6f2_1",b3="_li_1d6f2_10",R3="_close_1d6f2_28",C3="_eye_1d6f2_36",E3="_hasSecret_1d6f2_45",x3="_url_1d6f2_50",O3="_secret_1d6f2_54",k3="_btn_1d6f2_72";var wn={ul:_3,li:b3,close:R3,eye:C3,hasSecret:E3,url:x3,secret:O3,btn:k3};const P3=e=>({apiConfigs:dp(e),selectedClashAPIConfigIndex:Sw(e)}),T3=kn(P3)(L3);function L3({apiConfigs:e,selectedClashAPIConfigIndex:t}){const{app:{removeClashAPIConfig:n,selectClashAPIConfig:r}}=qN(),o=D.exports.useCallback(a=>{n(a)},[n]),i=D.exports.useCallback(a=>{r(a)},[r]);return R(En,{children:R("ul",{className:wn.ul,children:e.map((a,s)=>R("li",{className:Fr(wn.li,{[wn.hasSecret]:a.secret,[wn.isSelected]:s===t}),children:R(N3,{disableRemove:s===t,baseURL:a.baseURL,secret:a.secret,onRemove:o,onSelect:i})},a.baseURL+a.secret))})})}function N3({baseURL:e,secret:t,disableRemove:n,onRemove:r,onSelect:o}){const[i,a]=S3(),s=i?lN:fN,l=D.exports.useCallback(u=>{u.stopPropagation()},[]);return ue(En,{children:[R(Sm,{disabled:n,onClick:()=>r({baseURL:e,secret:t}),className:wn.close,children:R(SN,{size:20})}),R("span",{className:wn.url,tabIndex:0,role:"button",onClick:()=>o({baseURL:e,secret:t}),onKeyUp:l,children:e}),R("span",{}),t?ue(En,{children:[R("span",{className:wn.secret,children:i?t:"***"}),R(Sm,{onClick:a,className:wn.eye,children:R(s,{size:20})})]}):null]})}function Sm({children:e,onClick:t,className:n,disabled:r}){return R("button",{disabled:r,className:Fr(n,wn.btn),onClick:t,children:e})}const A3="_root_zwtea_1",M3="_header_zwtea_5",$3="_icon_zwtea_10",D3="_body_zwtea_20",I3="_hostnamePort_zwtea_24",F3="_error_zwtea_36",U3="_footer_zwtea_42";var hr={root:A3,header:M3,icon:$3,body:D3,hostnamePort:I3,error:F3,footer:U3};const j3="_btn_1fuu8_1",z3="_minimal_1fuu8_34",V3="_btnStart_1fuu8_51",B3="_loadingContainer_1fuu8_58";var _s={btn:j3,minimal:z3,btnStart:V3,loadingContainer:B3};const W3="_sectionNameType_h7h55_1",H3="_loadingDot_h7h55_66",q3="_dot2_h7h55_1",Q3="_dot1_h7h55_1",K3="_dot3_h7h55_1";var Mw={sectionNameType:W3,loadingDot:H3,dot2:q3,dot1:Q3,dot3:K3};function pD({name:e,type:t}){return ue("h2",{className:Mw.sectionNameType,children:[R("span",{children:e}),R("span",{children:t})]})}function G3(){return R("span",{className:Mw.loadingDot})}const{forwardRef:X3,useCallback:Y3}=Ur;function J3(e,t){const y=e,{onClick:n,disabled:r=!1,isLoading:o,kind:i="primary",className:a,children:s,label:l,text:u,start:c}=y,f=pr(y,["onClick","disabled","isLoading","kind","className","children","label","text","start"]),d={children:s,label:l,text:u,start:c},h=Y3(x=>{o||n&&n(x)},[o,n]),m=Fr(_s.btn,{[_s.minimal]:i==="minimal"},a);return R("button",he(Y({className:m,ref:t,onClick:h,disabled:r},f),{children:o?ue(En,{children:[R("span",{style:{display:"inline-flex",opacity:0},children:R(_m,Y({},d))}),R("span",{className:_s.loadingContainer,children:R(G3,{})})]}):R(_m,Y({},d))}))}function _m({children:e,label:t,text:n,start:r}){return ue(En,{children:[r?R("span",{className:_s.btnStart,children:typeof r=="function"?r():r}):null,e||t||n]})}var Z3=X3(J3);const e4="_root_1or8t_1",t4="_floatAbove_1or8t_32";var bm={root:e4,floatAbove:t4};const{useCallback:n4}=Ur;function Rm(i){var a=i,{id:e,label:t,value:n,onChange:r}=a,o=pr(a,["id","label","value","onChange"]);const s=n4(l=>r(l),[r]);return ue("div",{className:bm.root,children:[R("input",Y({id:e,value:n,onChange:s},o)),R("label",{htmlFor:e,className:bm.floatAbove,children:t})]})}const r4="_path_r8pm3_1",o4="_dash_r8pm3_1";var i4={path:r4,dash:o4};function mp({width:e=320,height:t=320,animate:n=!1,c0:r="#316eb5",c1:o="#f19500",line:i="#cccccc"}){const a=Fr({[i4.path]:n});return ue("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.2",viewBox:"0 0 512 512",width:e,height:t,children:[R("path",{id:"Layer",className:a,fill:r,stroke:i,strokeLinecap:"round",strokeWidth:"4",d:"m280.8 182.4l119-108.3c1.9-1.7 4.3-2.7 6.8-2.4l39.5 4.1c2.1 0.3 3.9 2.2 3.9 4.4v251.1c0 2-1.5 3.9-3.5 4.4l-41.9 9c-0.5 0.3-1.2 0.3-1.9 0.3h-18.8c-2.4 0-4.4-2-4.4-4.4v-132.9c0-7.5-9-11.7-14.8-6.3l-59 53.4c-2.2 2.2-5.4 2.9-8.5 1.9-27.1-8-56.3-8-83.4 0-2.9 1-6.1 0.3-8.5-1.9l-59-53.4c-5.6-5.4-14.6-1.2-14.6 6.3v132.9c0 2.4-2.2 4.4-4.7 4.4h-18.7c-0.7 0-1.2 0-2-0.3l-41.6-9c-2-0.5-3.5-2.4-3.5-4.4v-251.1c0-2.2 1.8-4.1 3.9-4.4l39.5-4.1c2.5-0.3 4.9 0.7 6.9 2.4l115.7 105.3c2 1.7 4.6 2.5 7.1 2.2 15.3-2.2 31.4-1.9 46.5 0.8z"}),R("path",{id:"Layer",className:a,fill:r,stroke:i,strokeLinecap:"round",strokeWidth:"4",d:"m269.4 361.8l-7.1 13.4c-2.4 4.2-8.5 4.2-11 0l-7-13.4c-2.5-4.1 0.7-9.3 5.3-9h14.4c4.9 0 7.8 4.9 5.4 9z"}),R("path",{id:"Layer",className:a,fill:o,stroke:i,strokeLinecap:"round",strokeWidth:"4",d:"m160.7 362.5c3.6 0 6.8 3.2 6.8 6.9 0 3.6-3.2 6.5-6.8 6.5h-94.6c-3.6 0-6.8-2.9-6.8-6.5 0-3.7 3.2-6.9 6.8-6.9z"}),R("path",{id:"Layer",className:a,fill:o,stroke:i,strokeLinecap:"round",strokeWidth:"4",d:"m158.7 394.7c3.4-1 7.1 1 8.3 4.4 1 3.4-1 7.3-4.4 8.3l-92.8 31.7c-3.4 1.2-7.3-0.7-8.3-4.2-1.2-3.6 0.7-7.3 4.4-8.5z"}),R("path",{id:"Layer",className:a,fill:o,stroke:i,strokeLinecap:"round",strokeWidth:"4",d:"m446.1 426.4c3.4 1.2 5.3 4.9 4.3 8.5-1.2 3.5-4.8 5.4-8.2 4.2l-93.1-31.7c-3.5-1-5.4-4.9-4.2-8.3 1-3.4 4.9-5.4 8.3-4.4z"}),R("path",{id:"Layer",className:a,fill:o,stroke:i,strokeLinecap:"round",strokeWidth:"4",d:"m445.8 362.5c3.7 0 6.6 3.2 6.6 6.9 0 3.6-2.9 6.5-6.6 6.5h-94.8c-3.6 0-6.6-2.9-6.6-6.5 0-3.7 3-6.9 6.6-6.9z"})]})}const{useState:ec,useRef:Cm,useCallback:tc,useEffect:a4}=Ur,$w=0,s4=e=>({apiConfig:Fo(e)});function l4({dispatch:e}){const[t,n]=ec(""),[r,o]=ec(""),[i,a]=ec(""),s=Cm(!1),l=Cm(null),u=tc(h=>{s.current=!0,a("");const m=h.target,{name:y}=m,x=m.value;switch(y){case"baseURL":n(x);break;case"secret":o(x);break;default:throw new Error(`unknown input name ${y}`)}},[]),c=tc(()=>{u4({baseURL:t,secret:r}).then(h=>{h[0]!==$w?a(h[1]):e(hA({baseURL:t,secret:r}))})},[t,r,e]),f=tc(h=>{h.target instanceof Element&&(!h.target.tagName||h.target.tagName.toUpperCase()!=="INPUT")||h.key==="Enter"&&c()},[c]),d=async()=>{(await fetch("/")).json().then(m=>{m.hello==="clash"&&n(window.location.origin)})};return a4(()=>{d()},[]),ue("div",{className:hr.root,ref:l,onKeyDown:f,children:[R("div",{className:hr.header,children:R("div",{className:hr.icon,children:R(mp,{width:160,height:160,stroke:"var(--stroke)"})})}),R("div",{className:hr.body,children:ue("div",{className:hr.hostnamePort,children:[R(Rm,{id:"baseURL",name:"baseURL",label:"API Base URL",type:"text",placeholder:"http://127.0.0.1:9090",value:t,onChange:u}),R(Rm,{id:"secret",name:"secret",label:"Secret(optional)",value:r,type:"text",onChange:u})]})}),R("div",{className:hr.error,children:i||null}),R("div",{className:hr.footer,children:R(Z3,{label:"Add",onClick:c})}),R("div",{style:{height:20}}),R(T3,{})]})}var Dw=kn(s4)(l4);async function u4(e){try{new URL(e.baseURL)}catch{if(e.baseURL){const n=e.baseURL.substring(0,7);if(n!=="http://"&&n!=="https:/")return[1,"Must starts with http:// or https://"]}return[1,"Invalid URL"]}try{const t=await gw(e);return t.status>399?[1,t.statusText]:[$w]}catch{return[1,"Failed to connect"]}}function Iw(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Pi=Iw()?D.exports.useLayoutEffect:D.exports.useEffect,nc=!1,c4=0;function Em(){return++c4}function f4(e){var t;if(typeof D.exports.useId=="function"){var n=D.exports.useId(e);return e!=null?e:n}var r=e!=null?e:nc?Em():null,o=D.exports.useState(r),i=o[0],a=o[1];return Pi(function(){i===null&&a(Em())},[]),D.exports.useEffect(function(){nc===!1&&(nc=!0)},[]),(t=e!=null?e:i)!=null?t:void 0}function gp(e){return Iw()?e?e.ownerDocument:document:null}function d4(e){var t,n,r=gp(e),o=r.defaultView||window;return r?{width:(t=r.documentElement.clientWidth)!=null?t:o.innerWidth,height:(n=r.documentElement.clientHeight)!=null?n:o.innerHeight}:{width:0,height:0}}function Fw(){for(var e=arguments.length,t=new Array(e),n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return n=e[Symbol.iterator](),n.next.bind(n)}function m4(e,t){if(e!=null)if(Uw(e))e(t);else try{e.current=t}catch{throw new Error('Cannot assign value "'+t+'" to ref "'+e+'"')}}function jw(){for(var e=arguments.length,t=new Array(e),n=0;n=0)&&(n[o]=e[o]);return n}var w4=["unstable_skipInitialRender"],S4=function(t){var n=t.children,r=t.type,o=r===void 0?"reach-portal":r,i=t.containerRef,a=D.exports.useRef(null),s=D.exports.useRef(null),l=g4();return Pi(function(){if(!!a.current){var u=a.current.ownerDocument,c=(i==null?void 0:i.current)||u.body;return s.current=u==null?void 0:u.createElement(o),c.appendChild(s.current),l(),function(){s.current&&c&&c.removeChild(s.current)}}},[o,l,i]),s.current?ra.exports.createPortal(n,s.current):D.exports.createElement("span",{ref:a})},_4=function(t){var n=t.unstable_skipInitialRender,r=y4(t,w4),o=D.exports.useState(!1),i=o[0],a=o[1];return D.exports.useEffect(function(){n&&a(!0)},[n]),n&&!i?null:D.exports.createElement(S4,r)};function yl(){return yl=Object.assign||function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}var R4=["as","style"],C4=D.exports.forwardRef(function(t,n){var r=t.as,o=r===void 0?"span":r,i=t.style,a=i===void 0?{}:i,s=b4(t,R4);return D.exports.createElement(o,yl({ref:n,style:yl({border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},a)},s))}),E4=["bottom","height","left","right","top","width"],x4=function(t,n){return t===void 0&&(t={}),n===void 0&&(n={}),E4.some(function(r){return t[r]!==n[r]})},Nn=new Map,zw,O4=function e(){var t=[];Nn.forEach(function(n,r){var o=r.getBoundingClientRect();x4(o,n.rect)&&(n.rect=o,t.push(n))}),t.forEach(function(n){n.callbacks.forEach(function(r){return r(n.rect)})}),zw=window.requestAnimationFrame(e)};function k4(e,t){return{observe:function(){var r=Nn.size===0;Nn.has(e)?Nn.get(e).callbacks.push(t):Nn.set(e,{rect:void 0,hasRectChanged:!1,callbacks:[t]}),r&&O4()},unobserve:function(){var r=Nn.get(e);if(r){var o=r.callbacks.indexOf(t);o>=0&&r.callbacks.splice(o,1),r.callbacks.length||Nn.delete(e),Nn.size||cancelAnimationFrame(zw)}}}}function Vw(e,t,n){var r,o;if(p4(t))r=t;else{var i;r=(i=t==null?void 0:t.observe)!=null?i:!0,o=t==null?void 0:t.onChange}Uw(n)&&(o=n);var a=D.exports.useState(e.current),s=a[0],l=a[1],u=D.exports.useRef(!1),c=D.exports.useRef(!1),f=D.exports.useState(null),d=f[0],h=f[1],m=D.exports.useRef(o);return Pi(function(){m.current=o,e.current!==s&&l(e.current)}),Pi(function(){s&&!u.current&&(u.current=!0,h(s.getBoundingClientRect()))},[s]),Pi(function(){if(!!r){var y=s;if(c.current||(c.current=!0,y=e.current),!!y){var x=k4(y,function(v){m.current==null||m.current(v),h(v)});return x.observe(),function(){x.unobserve()}}}},[r,s,e]),d}function ar(){return ar=Object.assign||function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}var P4=["children","label","ariaLabel","id","DEBUG_STYLE"],T4=["label","ariaLabel","isVisible","id"],L4=["ariaLabel","aria-label","as","id","isVisible","label","position","style","triggerRect"],N4=["type"],ts,vr,dn,ai,ns,mr,A4=100,M4=500,ye;(function(e){e.Idle="IDLE",e.Focused="FOCUSED",e.Visible="VISIBLE",e.LeavingVisible="LEAVING_VISIBLE",e.Dismissed="DISMISSED"})(ye||(ye={}));var ge;(function(e){e.Blur="BLUR",e.Focus="FOCUS",e.GlobalMouseMove="GLOBAL_MOUSE_MOVE",e.MouseDown="MOUSE_DOWN",e.MouseEnter="MOUSE_ENTER",e.MouseLeave="MOUSE_LEAVE",e.MouseMove="MOUSE_MOVE",e.Rest="REST",e.SelectWithKeyboard="SELECT_WITH_KEYBOARD",e.TimeComplete="TIME_COMPLETE"})(ge||(ge={}));var kf={initial:ye.Idle,states:(mr={},mr[ye.Idle]={enter:rc,on:(ts={},ts[ge.MouseEnter]=ye.Focused,ts[ge.Focus]=ye.Visible,ts)},mr[ye.Focused]={enter:I4,leave:F4,on:(vr={},vr[ge.MouseMove]=ye.Focused,vr[ge.MouseLeave]=ye.Idle,vr[ge.MouseDown]=ye.Dismissed,vr[ge.Blur]=ye.Idle,vr[ge.Rest]=ye.Visible,vr)},mr[ye.Visible]={on:(dn={},dn[ge.Focus]=ye.Focused,dn[ge.MouseEnter]=ye.Focused,dn[ge.MouseLeave]=ye.LeavingVisible,dn[ge.Blur]=ye.LeavingVisible,dn[ge.MouseDown]=ye.Dismissed,dn[ge.SelectWithKeyboard]=ye.Dismissed,dn[ge.GlobalMouseMove]=ye.LeavingVisible,dn)},mr[ye.LeavingVisible]={enter:U4,leave:function(){j4(),rc()},on:(ai={},ai[ge.MouseEnter]=ye.Visible,ai[ge.Focus]=ye.Visible,ai[ge.TimeComplete]=ye.Idle,ai)},mr[ye.Dismissed]={leave:function(){rc()},on:(ns={},ns[ge.MouseLeave]=ye.Idle,ns[ge.Blur]=ye.Idle,ns)},mr)},Pt={value:kf.initial,context:{id:null}},bs=[];function $4(e){return bs.push(e),function(){bs.splice(bs.indexOf(e),1)}}function D4(){bs.forEach(function(e){return e(Pt)})}var Pf;function I4(){window.clearTimeout(Pf),Pf=window.setTimeout(function(){Bt({type:ge.Rest})},A4)}function F4(){window.clearTimeout(Pf)}var Tf;function U4(){window.clearTimeout(Tf),Tf=window.setTimeout(function(){return Bt({type:ge.TimeComplete})},M4)}function j4(){window.clearTimeout(Tf)}function rc(){Pt.context.id=null}function z4(e){var t=e===void 0?{}:e,n=t.id,r=t.onPointerEnter,o=t.onPointerMove,i=t.onPointerLeave,a=t.onPointerDown,s=t.onMouseEnter,l=t.onMouseMove,u=t.onMouseLeave,c=t.onMouseDown,f=t.onFocus,d=t.onBlur,h=t.onKeyDown,m=t.disabled,y=t.ref,x=t.DEBUG_STYLE,v=String(f4(n)),p=D.exports.useState(x?!0:Om(v,!0)),g=p[0],S=p[1],O=D.exports.useRef(null),E=jw(y,O),A=Vw(O,{observe:g});D.exports.useEffect(function(){return $4(function(){S(Om(v))})},[v]),D.exports.useEffect(function(){var N=gp(O.current);function $(F){(F.key==="Escape"||F.key==="Esc")&&Pt.value===ye.Visible&&Bt({type:ge.SelectWithKeyboard})}return N.addEventListener("keydown",$),function(){return N.removeEventListener("keydown",$)}},[]),K4({disabled:m,isVisible:g,ref:O});function L(N,$){return typeof window!="undefined"&&"PointerEvent"in window?N:Ln(N,$)}function j(N){return function(F){F.pointerType==="mouse"&&N(F)}}function M(){Bt({type:ge.MouseEnter,id:v})}function Q(){Bt({type:ge.MouseMove,id:v})}function te(){Bt({type:ge.MouseLeave})}function X(){Pt.context.id===v&&Bt({type:ge.MouseDown})}function w(){window.__REACH_DISABLE_TOOLTIPS||Bt({type:ge.Focus,id:v})}function T(){Pt.context.id===v&&Bt({type:ge.Blur})}function z(N){(N.key==="Enter"||N.key===" ")&&Bt({type:ge.SelectWithKeyboard})}var C={"aria-describedby":g?Fw("tooltip",v):void 0,"data-state":g?"tooltip-visible":"tooltip-hidden","data-reach-tooltip-trigger":"",ref:E,onPointerEnter:Ln(r,j(M)),onPointerMove:Ln(o,j(Q)),onPointerLeave:Ln(i,j(te)),onPointerDown:Ln(a,j(X)),onMouseEnter:L(s,M),onMouseMove:L(l,Q),onMouseLeave:L(u,te),onMouseDown:L(c,X),onFocus:Ln(f,w),onBlur:Ln(d,T),onKeyDown:Ln(h,z)},k={id:v,triggerRect:A,isVisible:g};return[C,k,g]}var V4=D.exports.forwardRef(function(e,t){var n=e.children,r=e.label,o=e.ariaLabel,i=e.id,a=e.DEBUG_STYLE,s=lu(e,P4),l=D.exports.Children.only(n),u=z4({id:i,onPointerEnter:l.props.onPointerEnter,onPointerMove:l.props.onPointerMove,onPointerLeave:l.props.onPointerLeave,onPointerDown:l.props.onPointerDown,onMouseEnter:l.props.onMouseEnter,onMouseMove:l.props.onMouseMove,onMouseLeave:l.props.onMouseLeave,onMouseDown:l.props.onMouseDown,onFocus:l.props.onFocus,onBlur:l.props.onBlur,onKeyDown:l.props.onKeyDown,disabled:l.props.disabled,ref:l.ref,DEBUG_STYLE:a}),c=u[0],f=u[1];return D.exports.createElement(D.exports.Fragment,null,D.exports.cloneElement(l,c),D.exports.createElement(B4,ar({ref:t,label:r,"aria-label":o},f,s)))}),B4=D.exports.forwardRef(function(t,n){var r=t.label,o=t.ariaLabel,i=t.isVisible,a=t.id,s=lu(t,T4);return i?D.exports.createElement(_4,null,D.exports.createElement(W4,ar({ref:n,label:r,"aria-label":o,isVisible:i},s,{id:Fw("tooltip",String(a))}))):null}),W4=D.exports.forwardRef(function(t,n){var r=t.ariaLabel,o=t["aria-label"],i=t.as,a=i===void 0?"div":i,s=t.id,l=t.isVisible,u=t.label,c=t.position,f=c===void 0?Q4:c,d=t.style,h=t.triggerRect,m=lu(t,L4),y=(o||r)!=null,x=D.exports.useRef(null),v=jw(n,x),p=Vw(x,{observe:l});return D.exports.createElement(D.exports.Fragment,null,D.exports.createElement(a,ar({role:y?void 0:"tooltip"},m,{ref:v,"data-reach-tooltip":"",id:y?void 0:s,style:ar({},d,H4(f,h,p))}),u),y&&D.exports.createElement(C4,{role:"tooltip",id:s},o||r))});function H4(e,t,n){var r=!n;return r?{visibility:"hidden"}:e(t,n)}var q4=8,Q4=function(t,n,r){r===void 0&&(r=q4);var o=d4(),i=o.width,a=o.height;if(!t||!n)return{};var s={top:t.top-n.height<0,right:i{delete n[l],t[l]=u}).catch(u=>{r[l]=u}),n[l]}function i(l="default"){t[l]!==void 0||n[l]||o(l)}function a(l="default"){if(t[l]!==void 0)return t[l];throw r[l]?r[l]:n[l]?n[l]:o(l)}function s(l){l?delete t[l]:t={}}return{preload:i,read:a,clear:s}}const yp=X4(()=>_n(()=>import("./index.9c1af6a6.js"),[])),Y4="_iconWrapper_j5g33_1",J4="_themeSwitchContainer_j5g33_23";var km={iconWrapper:Y4,themeSwitchContainer:J4};function Z4({theme:e,dispatch:t}){const{t:n}=na(),r=D.exports.useMemo(()=>{switch(e){case"dark":return R(Pm,{});case"auto":return R(tM,{});case"light":return R(eM,{});default:return console.assert(!1,"Unknown theme"),R(Pm,{})}},[e]),o=D.exports.useCallback(i=>t(gA(i.target.value)),[t]);return R(Bw,{label:n("switch_theme"),"aria-label":"switch theme",children:ue("div",{className:km.themeSwitchContainer,children:[R("span",{className:km.iconWrapper,children:r}),ue("select",{onChange:o,children:[R("option",{value:"auto",children:"Auto"}),R("option",{value:"dark",children:"Dark"}),R("option",{value:"light",children:"Light"})]})]})})}function Pm(){const t=yp.read().motion;return R("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:R(t.path,{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z",initial:{rotate:-30},animate:{rotate:0},transition:{duration:.7}})})}function eM(){const t=yp.read().motion;return ue("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[R("circle",{cx:"12",cy:"12",r:"5"}),ue(t.g,{initial:{scale:.7},animate:{scale:1},transition:{duration:.5},children:[R("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),R("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),R("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),R("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),R("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),R("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),R("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),R("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]})]})}function tM(){const t=yp.read().motion;return ue("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[R("circle",{cx:"12",cy:"12",r:"11"}),R("clipPath",{id:"cut-off-bottom",children:R(t.rect,{x:"12",y:"0",width:"12",height:"24",initial:{rotate:-30},animate:{rotate:0},transition:{duration:.7}})}),R("circle",{cx:"12",cy:"12",r:"6",clipPath:"url(#cut-off-bottom)",fill:"currentColor"})]})}const nM=e=>({theme:pp(e)}),Ww=kn(nM)(Z4),Lf=0,Nf={[Lf]:{message:"Browser not supported!",detail:'This browser does not support "fetch", please choose another one.'},default:{message:"Oops, something went wrong!"}};function rM(e){const{code:t}=e;return typeof t=="number"?Nf[t]:Nf.default}const oM="_content_b98hm_1",iM="_container_b98hm_16",aM="_overlay_b98hm_22",sM="_fixed_b98hm_26";var rs={content:oM,container:iM,overlay:aM,fixed:sM};const lM="_overlay_85t19_1",uM="_content_85t19_11";var Tm={overlay:lM,content:uM};function cM(a){var s=a,{isOpen:e,onRequestClose:t,className:n,overlayClassName:r,children:o}=s,i=pr(s,["isOpen","onRequestClose","className","overlayClassName","children"]);const l=Fr(n,Tm.content),u=Fr(r,Tm.overlay);return R(R0,he(Y({isOpen:e,onRequestClose:t,className:l,overlayClassName:u},i),{children:o}))}var fM=D.exports.memo(cM);const{useCallback:dM,useEffect:pM}=Ur;function hM({dispatch:e,apiConfig:t,modals:n}){if(!window.fetch){const{detail:o}=Nf[Lf],i=new Error(o);throw i.code=Lf,i}const r=dM(()=>{e(iA("apiConfig"))},[e]);return pM(()=>{e(ba(t))},[e,t]),ue(fM,{isOpen:n.apiConfig,className:rs.content,overlayClassName:rs.overlay,shouldCloseOnOverlayClick:!1,shouldCloseOnEsc:!1,onRequestClose:r,children:[R("div",{className:rs.container,children:R(Dw,{})}),R("div",{className:rs.fixed,children:R(Ww,{})})]})}const vM=e=>({modals:e.modals,apiConfig:Fo(e)});var mM=kn(vM)(hM);const gM="_root_4m2cd_1",yM="_yacd_4m2cd_14",wM="_link_4m2cd_23";var oc={root:gM,yacd:yM,link:wM};function SM({width:e=24,height:t=24}={}){return R("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:R("path",{d:"M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"})})}const _M="https://github.com/metacubex/yacd";function bM({message:e,detail:t}){return ue("div",{className:oc.root,children:[R("div",{className:oc.yacd,children:R(mp,{width:150,height:150})}),e?R("h1",{children:e}):null,t?R("p",{children:t}):null,R("p",{children:ue("a",{className:oc.link,href:_M,children:[R(SM,{width:16,height:16}),"metacubex/yacd"]})})]})}class RM extends D.exports.Component{constructor(){super(...arguments),this.state={error:null}}static getDerivedStateFromError(t){return{error:t}}render(){if(this.state.error){const{message:t,detail:n}=rM(this.state.error);return R(bM,{message:t,detail:n})}else return this.props.children}}const CM="_root_ecp08_1";var Lm={root:CM},wp=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(o=r;o--!==0;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(n).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;o--!==0;){var a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!==t&&n!==n};function Nm(e,t,n,r=0,o=!1){for(const a of t)if(wp(n,a.args)){if(o)return;if(a.error)throw a.error;if(a.response)return a.response;throw a.promise}const i={args:n,promise:e(...n).then(a=>i.response=a!=null?a:!0).catch(a=>i.error=a!=null?a:"unknown error").then(()=>{r>0&&setTimeout(()=>{const a=t.indexOf(i);a!==-1&&t.splice(a,1)},r)})};if(t.push(i),!o)throw i.promise}function EM(e,...t){if(t===void 0||t.length===0)e.splice(0,e.length);else{const n=e.find(r=>wp(t,r.args));if(n){const r=e.indexOf(n);r!==-1&&e.splice(r,1)}}}function xM(e,t=0){const n=[];return{read:(...r)=>Nm(e,n,r,t),preload:(...r)=>void Nm(e,n,r,t,!0),clear:(...r)=>EM(n,...r),peek:(...r)=>{var o;return(o=n.find(i=>wp(r,i.args)))==null?void 0:o.response}}}const Am=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];function Zi(e){if(e<1e3)return e+" B";const t=Math.min(Math.floor(Math.log10(e)/3),Am.length-1);e=Number((e/Math.pow(1e3,t)).toPrecision(3));const n=Am[t];return e+" "+n}const OM=xM(()=>_n(()=>import("./chart-lib.1222a339.js"),[])),Mm={borderWidth:1,pointRadius:0,tension:.2,fill:!0},kM={responsive:!0,maintainAspectRatio:!0,plugins:{legend:{labels:{boxWidth:20}}},scales:{x:{display:!1,type:"category"},y:{type:"linear",display:!0,grid:{display:!0,color:"#555",drawTicks:!1,borderDash:[3,6],drawBorder:!1},ticks:{callback(e){return Zi(e)+"/s "}}}}},$m=[{down:{backgroundColor:"rgba(176, 209, 132, 0.8)",borderColor:"rgb(176, 209, 132)"},up:{backgroundColor:"rgba(181, 220, 231, 0.8)",borderColor:"rgb(181, 220, 231)"}},{up:{backgroundColor:"rgb(98, 190, 100)",borderColor:"rgb(78,146,79)"},down:{backgroundColor:"rgb(160, 230, 66)",borderColor:"rgb(110, 156, 44)"}},{up:{backgroundColor:"rgba(94, 175, 223, 0.3)",borderColor:"rgb(94, 175, 223)"},down:{backgroundColor:"rgba(139, 227, 195, 0.3)",borderColor:"rgb(139, 227, 195)"}},{up:{backgroundColor:"rgba(242, 174, 62, 0.3)",borderColor:"rgb(242, 174, 62)"},down:{backgroundColor:"rgba(69, 154, 248, 0.3)",borderColor:"rgb(69, 154, 248)"}}],{useEffect:PM}=ee;function TM(e,t,n,r,o={}){PM(()=>{const i=document.getElementById(t).getContext("2d"),a=Y(Y({},kM),o),s=new e(i,{type:"line",data:n,options:a}),l=r&&r.subscribe(()=>s.update());return()=>{l&&l(),s.destroy()}},[e,t,n,r,o])}const{useMemo:LM}=Ur,NM={position:"relative",maxWidth:1e3,marginTop:"1em"},AM=e=>({apiConfig:Fo(e),selectedChartStyleIndex:cA(e)});var MM=kn(AM)($M);function $M({apiConfig:e,selectedChartStyleIndex:t}){const n=OM.read(),r=fp(e),{t:o}=na(),i=LM(()=>({labels:r.labels,datasets:[he(Y(Y({},Mm),$m[t].up),{label:o("Up"),data:r.up}),he(Y(Y({},Mm),$m[t].down),{label:o("Down"),data:r.down})]}),[r,t,o]);return TM(n.Chart,"trafficChart",i,r),R("div",{style:NM,children:R("canvas",{id:"trafficChart"})})}const DM="_TrafficNow_18twa_1",IM="_sec_18twa_9";var Gr={TrafficNow:DM,sec:IM};const{useState:Hw,useEffect:qw,useCallback:FM}=Ur,UM=e=>({apiConfig:Fo(e)});var jM=kn(UM)(zM);function zM({apiConfig:e}){const{t}=na(),{upStr:n,downStr:r}=VM(e),{upTotal:o,dlTotal:i,connNumber:a}=BM(e);return ue("div",{className:Gr.TrafficNow,children:[ue("div",{className:Gr.sec,children:[R("div",{children:t("Upload")}),R("div",{children:n})]}),ue("div",{className:Gr.sec,children:[R("div",{children:t("Download")}),R("div",{children:r})]}),ue("div",{className:Gr.sec,children:[R("div",{children:t("Upload Total")}),R("div",{children:o})]}),ue("div",{className:Gr.sec,children:[R("div",{children:t("Download Total")}),R("div",{children:i})]}),ue("div",{className:Gr.sec,children:[R("div",{children:t("Active Connections")}),R("div",{children:a})]})]})}function VM(e){const[t,n]=Hw({upStr:"0 B/s",downStr:"0 B/s"});return qw(()=>fp(e).subscribe(r=>n({upStr:Zi(r.up)+"/s",downStr:Zi(r.down)+"/s"})),[e]),t}function BM(e){const[t,n]=Hw({upTotal:"0 B",dlTotal:"0 B",connNumber:0}),r=FM(({downloadTotal:o,uploadTotal:i,connections:a})=>{n({upTotal:Zi(i),dlTotal:Zi(o),connNumber:a.length})},[n]);return qw(()=>GA(e,r),[e,r]),t}function WM(){const{t:e}=na();return ue("div",{children:[R(uw,{title:e("Overview")}),ue("div",{className:Lm.root,children:[R("div",{children:R(jM,{})}),R("div",{className:Lm.chart,children:R(D.exports.Suspense,{fallback:R(bw,{height:"200px"}),children:R(MM,{})})})]})]})}const HM="_lo_pmly2_1";var qM={lo:HM};function QM(){return R("div",{className:qM.lo,children:R(mp,{width:280,height:280,animate:!0,c0:"transparent",c1:"#646464"})})}const KM="_app_1fbxk_1",GM="_content_1fbxk_17";var Qw={app:KM,content:GM},Kw={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Dm=ee.createContext&&ee.createContext(Kw),Jn=globalThis&&globalThis.__assign||function(){return Jn=Object.assign||function(e){for(var t,n=1,r=arguments.length;nR(p$,{to:n,isActive:t.pathname===n,iconId:r,labelText:e(o)},n))}),ue("div",{className:Un.footer,children:[R(Ww,{}),R(Bw,{label:e("about"),children:R(U0,{to:"/about",className:Un.iconWrapper,children:R(gN,{size:20})})})]})]})}const m$="_input_12jxq_1";var hD={input:m$},Xw={exports:{}},Sp={},Yw=eg(iN),vn=Yw.jsx,ic=Yw.jsxs;Object.defineProperty(Sp,"__esModule",{value:!0});var g$=D.exports;function Jw(){return(Jw=Object.assign||function(e){for(var t=1;t=l)&&this.A(n),this.W&&this.setState({N:!1,j:!1}),this.l=Date.now()},t.prototype.p=function(n){n.preventDefault(),typeof n.button=="number"&&n.button!==0||(this.I(n.clientX),window.addEventListener("mousemove",this.v),window.addEventListener("mouseup",this.g))},t.prototype.v=function(n){n.preventDefault(),this.L(n.clientX)},t.prototype.g=function(n){this.U(n),window.removeEventListener("mousemove",this.v),window.removeEventListener("mouseup",this.g)},t.prototype.k=function(n){this.X=null,this.I(n.touches[0].clientX)},t.prototype.M=function(n){this.L(n.touches[0].clientX)},t.prototype.m=function(n){n.preventDefault(),this.U(n)},t.prototype.$=function(n){Date.now()-this.l>50&&(this.A(n),Date.now()-this.u>50&&this.W&&this.setState({j:!1}))},t.prototype.C=function(){this.u=Date.now()},t.prototype.D=function(){this.setState({j:!0})},t.prototype.O=function(){this.setState({j:!1})},t.prototype.S=function(n){this.H=n},t.prototype.T=function(n){n.preventDefault(),this.H.focus(),this.A(n),this.W&&this.setState({j:!1})},t.prototype.A=function(n){var r=this.props;(0,r.onChange)(!r.checked,n,r.id)},t.prototype.render=function(){var n=this.props,r=n.checked,o=n.disabled,i=n.className,a=n.offColor,s=n.onColor,l=n.offHandleColor,u=n.onHandleColor,c=n.checkedIcon,f=n.uncheckedIcon,d=n.checkedHandleIcon,h=n.uncheckedHandleIcon,m=n.boxShadow,y=n.activeBoxShadow,x=n.height,v=n.width,p=n.borderRadius,g=function(T,z){var C={};for(var k in T)Object.prototype.hasOwnProperty.call(T,k)&&z.indexOf(k)===-1&&(C[k]=T[k]);return C}(n,["checked","disabled","className","offColor","onColor","offHandleColor","onHandleColor","checkedIcon","uncheckedIcon","checkedHandleIcon","uncheckedHandleIcon","boxShadow","activeBoxShadow","height","width","borderRadius","handleDiameter"]),S=this.state,O=S.h,E=S.N,A=S.j,L={position:"relative",display:"inline-block",textAlign:"left",opacity:o?.5:1,direction:"ltr",borderRadius:x/2,WebkitTransition:"opacity 0.25s",MozTransition:"opacity 0.25s",transition:"opacity 0.25s",touchAction:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",userSelect:"none"},j={height:x,width:v,margin:Math.max(0,(this.t-x)/2),position:"relative",background:Fm(O,this.i,this.o,a,s),borderRadius:typeof p=="number"?p:x/2,cursor:o?"default":"pointer",WebkitTransition:E?null:"background 0.25s",MozTransition:E?null:"background 0.25s",transition:E?null:"background 0.25s"},M={height:x,width:Math.min(1.5*x,v-(this.t+x)/2+1),position:"relative",opacity:(O-this.o)/(this.i-this.o),pointerEvents:"none",WebkitTransition:E?null:"opacity 0.25s",MozTransition:E?null:"opacity 0.25s",transition:E?null:"opacity 0.25s"},Q={height:x,width:Math.min(1.5*x,v-(this.t+x)/2+1),position:"absolute",opacity:1-(O-this.o)/(this.i-this.o),right:0,top:0,pointerEvents:"none",WebkitTransition:E?null:"opacity 0.25s",MozTransition:E?null:"opacity 0.25s",transition:E?null:"opacity 0.25s"},te={height:this.t,width:this.t,background:Fm(O,this.i,this.o,l,u),display:"inline-block",cursor:o?"default":"pointer",borderRadius:typeof p=="number"?p-1:"50%",position:"absolute",transform:"translateX("+O+"px)",top:Math.max(0,(x-this.t)/2),outline:0,boxShadow:A?y:m,border:0,WebkitTransition:E?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",MozTransition:E?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",transition:E?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s"},X={height:this.t,width:this.t,opacity:Math.max(2*(1-(O-this.o)/(this.i-this.o)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:E?null:"opacity 0.25s",MozTransition:E?null:"opacity 0.25s",transition:E?null:"opacity 0.25s"},w={height:this.t,width:this.t,opacity:Math.max(2*((O-this.o)/(this.i-this.o)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:E?null:"opacity 0.25s",MozTransition:E?null:"opacity 0.25s",transition:E?null:"opacity 0.25s"};return ic("div",{className:i,style:L,children:[ic("div",{className:"react-switch-bg",style:j,onClick:o?null:this.T,onMouseDown:function(T){return T.preventDefault()},children:[c&&vn("div",{style:M,children:c}),f&&vn("div",{style:Q,children:f})]}),ic("div",{className:"react-switch-handle",style:te,onClick:function(T){return T.preventDefault()},onMouseDown:o?null:this.p,onTouchStart:o?null:this.k,onTouchMove:o?null:this.M,onTouchEnd:o?null:this.m,onTouchCancel:o?null:this.O,children:[h&&vn("div",{style:X,children:h}),d&&vn("div",{style:w,children:d})]}),vn("input",Y({},Jw({},{type:"checkbox",role:"switch","aria-checked":r,checked:r,disabled:o,style:{border:0,clip:"rect(0 0 0 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",width:1}},g,{ref:this.S,onFocus:this.D,onBlur:this.O,onKeyUp:this.C,onChange:this.$})))]})},t}(g$.Component);Um.defaultProps={disabled:!1,offColor:"#888",onColor:"#080",offHandleColor:"#fff",onHandleColor:"#fff",uncheckedIcon:y$,checkedIcon:w$,boxShadow:null,activeBoxShadow:"0 0 2px 3px #3bf",height:28,width:56},Sp.default=Um;Xw.exports=Sp;var ac=Xw.exports;const S$=ac.default?ac.default:ac;function _$({checked:e=!1,onChange:t,theme:n,name:r}){return R(S$,{onChange:t,checked:e,uncheckedIcon:!1,checkedIcon:!1,offColor:n==="dark"?"#393939":"#e9e9e9",onColor:"#047aff",offHandleColor:"#fff",onHandleColor:"#fff",handleDiameter:24,height:28,width:44,className:"rs",name:r})}var vD=kn(e=>({theme:pp(e)}))(_$);const b$="_ToggleSwitch_10mtp_1",R$="_slider_10mtp_28";var jm={ToggleSwitch:b$,slider:R$};function C$({options:e,value:t,name:n,onChange:r}){const o=D.exports.useMemo(()=>e.map(s=>s.value).indexOf(t),[e,t]),i=D.exports.useCallback(s=>{const l=Math.floor(100/e.length);if(s===e.length-1)return 100-e.length*l+l;if(s>-1)return l},[e]),a=D.exports.useMemo(()=>({width:i(o)+"%",left:o*i(0)+"%"}),[o,i]);return ue("div",{className:jm.ToggleSwitch,children:[R("div",{className:jm.slider,style:a}),e.map((s,l)=>{const u=`${n}-${s.label}`;return ue("label",{htmlFor:u,className:l===0?"":"border-left",style:{width:i(l)+"%"},children:[R("input",{id:u,name:n,type:"radio",value:s.value,checked:t===s.value,onChange:r}),R("div",{children:s.label})]},u)})]})}ee.memo(C$);const{lazy:Ra,Suspense:Zw}=Ur,E$=Ra(()=>_n(()=>import("./Connections.0d34b527.js"),["assets/Connections.0d34b527.js","assets/Connections.10dc6333.css","assets/useRemainingViewPortHeight.a89bff9d.js","assets/index.cd34981b.js","assets/chevron-down.35424756.js","assets/Fab.d363c2c3.js","assets/Fab.33a60e0e.css","assets/play.2aacfa82.js"])),x$=Ra(()=>_n(()=>import("./Config.79726ace.js"),["assets/Config.79726ace.js","assets/Config.a3c24172.css","assets/logs.480db4a8.js","assets/Select.763fb4e2.js","assets/Select.38f9da49.css","assets/rotate-cw.a7721ea7.js"])),O$=Ra(()=>_n(()=>import("./Logs.9c10807e.js"),["assets/Logs.9c10807e.js","assets/Logs.7be64a6f.css","assets/logs.480db4a8.js","assets/debounce.d080d5e1.js","assets/useRemainingViewPortHeight.a89bff9d.js","assets/Fab.d363c2c3.js","assets/Fab.33a60e0e.css","assets/play.2aacfa82.js"])),k$=Ra(()=>_n(()=>import("./Proxies.8acf6f55.js"),["assets/Proxies.8acf6f55.js","assets/Proxies.9aa0ff44.css","assets/chevron-down.35424756.js","assets/Fab.d363c2c3.js","assets/Fab.33a60e0e.css","assets/TextFitler.eb6072d2.js","assets/TextFitler.3d9182a0.css","assets/rotate-cw.a7721ea7.js","assets/debounce.d080d5e1.js","assets/index.cd34981b.js","assets/Select.763fb4e2.js","assets/Select.38f9da49.css"])),P$=Ra(()=>_n(()=>import("./Rules.c899c6cc.js"),["assets/Rules.c899c6cc.js","assets/Rules.9a6bd403.css","assets/TextFitler.eb6072d2.js","assets/TextFitler.3d9182a0.css","assets/rotate-cw.a7721ea7.js","assets/debounce.d080d5e1.js","assets/index.cd34981b.js","assets/Fab.d363c2c3.js","assets/Fab.33a60e0e.css","assets/useRemainingViewPortHeight.a89bff9d.js"])),T$=[{path:"/",element:R(WM,{})},{path:"/connections",element:R(E$,{})},{path:"/configs",element:R(x$,{})},{path:"/logs",element:R(O$,{})},{path:"/proxies",element:R(k$,{})},{path:"/rules",element:R(P$,{})},{path:"/about",element:R(PA,{})},!1].filter(Boolean);function L$(){return F0(T$)}function N$(){return ue(En,{children:[R(mM,{}),R(v$,{}),R("div",{className:Qw.content,children:R(Zw,{fallback:R(QM,{}),children:R(L$,{})})})]})}function A$(){return F0([{path:"/backend",element:R(Dw,{})},{path:"*",element:R(N$,{})}])}const M$=()=>R(RM,{children:R(YL,{children:R(QN,{initialState:m3,actions:g3,children:R(xC,{client:IA,children:R(lE,{children:ue("div",{className:Qw.app,children:[R($A,{}),R(Zw,{fallback:R(bw,{}),children:R(A$,{})})]})})})})})}),$$=Boolean(window.location.hostname==="localhost"||window.location.hostname==="[::1]"||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));function D$(e){if("serviceWorker"in navigator){if(new URL("./",window.location.href).origin!==window.location.origin)return;window.addEventListener("load",()=>{const n=".//sw.js";$$?(I$(n,e),navigator.serviceWorker.ready.then(()=>{console.log("This web app is being served cache-first by a service worker")})):eS(n,e)})}}function eS(e,t){navigator.serviceWorker.register(e).then(n=>{n.onupdatefound=()=>{const r=n.installing;r!=null&&(r.onstatechange=()=>{r.state==="installed"&&(navigator.serviceWorker.controller?(console.log("New content is available and will be used when all tabs for this page are closed. See https://cra.link/PWA."),t&&t.onUpdate&&t.onUpdate(n)):(console.log("Content is cached for offline use."),t&&t.onSuccess&&t.onSuccess(n)))})}}).catch(n=>{console.error("Error during service worker registration:",n)})}function I$(e,t){fetch(e,{headers:{"Service-Worker":"script"}}).then(n=>{const r=n.headers.get("content-type");n.status===404||r!=null&&r.indexOf("javascript")===-1?navigator.serviceWorker.ready.then(o=>{o.unregister().then(()=>{window.location.reload()})}):eS(e,t)}).catch(()=>{console.log("No internet connection found. App is running in offline mode.")})}const tS=document.getElementById("app"),F$=p0(tS);R0.setAppElement(tS);F$.render(R(D.exports.StrictMode,{children:R(M$,{})}));D$();console.log("Checkout the repo: https://github.com/MetaCubeX/yacd");console.log("Version:","0.3.5");export{B4 as $,NC as A,Z3 as B,uw as C,vD as D,cA as E,En as F,fA as G,CN as H,SN as I,B$ as J,Qe as K,V$ as L,R0 as M,qA as N,tD as O,Fe as P,nD as Q,ee as R,mp as S,eD as T,H$ as U,Z$ as V,pD as W,z$ as X,dD as Y,o3 as Z,z4 as _,os as a,i3 as a0,Ow as a1,cD as a2,oD as a3,Uo as a4,e3 as a5,X$ as a6,Y$ as a7,J$ as a8,sD as a9,lD as aa,fD as ab,yp as ac,uD as ad,dA as ae,Bw as af,iD as ag,a3 as ah,aD as ai,ca as aj,fe as ak,vC as al,$e as am,fa as an,j$ as ao,EC as ap,Ye as aq,TC as ar,Wn as as,JL as at,ue as b,Fr as c,kn as d,rD as e,GA as f,Fo as g,Ur as h,OM as i,R as j,Mm as k,$m as l,Tm as m,TM as n,W$ as o,Zi as p,ba as q,D as r,hD as s,vm as t,na as u,q$ as v,qN as w,Q$ as x,K$ as y,G$ as z}; diff --git a/bin/Yacd-meta-gh-pages/assets/index.73810e97.css b/bin/Yacd-meta-gh-pages/assets/index.73810e97.css deleted file mode 100644 index 00227525..00000000 --- a/bin/Yacd-meta-gh-pages/assets/index.73810e97.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */*,:before,:after{box-sizing:border-box}html{tab-size:4}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}hr{height:0;color:inherit}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}.relative,.border-left,.border-top,.border-bottom{position:relative}.border-bottom:after,.border-top:before{position:absolute;content:"";height:1px;width:100%;-webkit-transform:scaleY(.5) translateZ(0);transform:scaleY(.5) translateZ(0);left:0;right:0;background:#555}.border-left:before{position:absolute;content:"";height:100%;width:1px;-webkit-transform:scaleX(.5) translateZ(0);transform:scaleX(.5) translateZ(0);top:0;bottom:0;background:#555}.border-top:before{top:0}.border-bottom:after{bottom:0}.border-left:before{left:0}*,*:before,*:after{box-sizing:border-box}:root{--font-mono: "Roboto Mono", Menlo, monospace;--font-normal: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, "PingFang SC", "Microsoft YaHei", "\5fae\8f6f\96c5\9ed1", Arial, sans-serif;--color-focus-blue: #1a73e8;--btn-bg: #387cec}body{font-family:var(--font-normal);-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;padding:0}body ::-webkit-scrollbar{z-index:11;background:transparent}body ::-webkit-scrollbar-thumb{border-radius:5px;background:#3b5f76}body ::-webkit-scrollbar:vertical{width:6px}body ::-webkit-scrollbar:horizontal{height:6px}@media (prefers-color-scheme: dark){:root[data-theme=auto]{--color-background: #202020;--color-background2: rgba(32, 32, 32, .3);--color-bg-card: #2d2d2d;--card-hover-border-lightness: 30%;--color-text: #ddd;--color-text-secondary: #ccc;--color-text-highlight: #fff;--color-bg-sidebar: #2d2d30;--color-sb-active-row-bg: #494b4e;--color-input-bg: #2d2d30;--color-input-border: #3f3f3f;--color-toggle-bg: #353535;--color-toggle-selected: #181818;--color-icon: #c7c7c7;--color-separator: #333;--color-btn-bg: #232323;--color-btn-fg: #bebebe;--color-bg-proxy: #303030;--color-row-odd: #282828;--bg-log-info-tag: #454545;--bg-modal: #1f1f20;--bg-near-transparent: rgba(255, 255, 255, .1);--bg-tooltip: #111;--bc-tooltip: #555;--select-border-color: #040404;--select-bg-hover: url(data:image/svg+xml,%0A%20%20%20%20%3Csvg%20width%3D%228%22%20height%3D%2224%22%20viewBox%3D%220%200%208%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%207L7%2011H1L4%207Z%22%20fill%3D%22%23ffffff%22%20%2F%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2017L1%2013L7%2013L4%2017Z%22%20fill%3D%22%23ffffff%22%20%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E%0A%20%20);--bg-log-info-card: #262626;color-scheme:dark}}@media (prefers-color-scheme: light){:root[data-theme=auto]{--color-background: #eee;--color-background2: rgba(240, 240, 240, .3);--color-bg-card: #fafafa;--card-hover-border-lightness: 80%;--color-text: #222;--color-text-secondary: #646464;--color-text-highlight: #040404;--color-bg-sidebar: #f8f8f8;--color-sb-active-row-bg: #d8d8d8;--color-input-bg: #f0f0f0;--color-input-border: #c0c0c0;--color-toggle-bg: #ffffff;--color-toggle-selected: #d7d7d7;--color-icon: #5b5b5b;--color-separator: #ccc;--color-btn-bg: #f4f4f4;--color-btn-fg: #101010;--color-bg-proxy: #fafafa;--color-row-odd: #f5f5f5;--bg-log-info-tag: #888;--bg-modal: #fbfbfb;--bg-near-transparent: rgba(0, 0, 0, .1);--bg-tooltip: #f0f0f0;--bc-tooltip: #ccc;--select-border-color: #999999;--select-bg-hover: url(data:image/svg+xml,%0A%20%20%20%20%3Csvg%20width%3D%228%22%20height%3D%2224%22%20viewBox%3D%220%200%208%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%207L7%2011H1L4%207Z%22%20fill%3D%22%23222222%22%20%2F%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2017L1%2013L7%2013L4%2017Z%22%20fill%3D%22%23222222%22%20%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E%0A%20%20);--bg-log-info-card: #f5f5f5;color-scheme:light}}:root[data-theme=dark]{--color-background: #202020;--color-background2: rgba(32, 32, 32, .3);--color-bg-card: #2d2d2d;--card-hover-border-lightness: 30%;--color-text: #ddd;--color-text-secondary: #ccc;--color-text-highlight: #fff;--color-bg-sidebar: #2d2d30;--color-sb-active-row-bg: #494b4e;--color-input-bg: #2d2d30;--color-input-border: #3f3f3f;--color-toggle-bg: #353535;--color-toggle-selected: #181818;--color-icon: #c7c7c7;--color-separator: #333;--color-btn-bg: #232323;--color-btn-fg: #bebebe;--color-bg-proxy: #303030;--color-row-odd: #282828;--bg-log-info-tag: #454545;--bg-modal: #1f1f20;--bg-near-transparent: rgba(255, 255, 255, .1);--bg-tooltip: #111;--bc-tooltip: #555;--select-border-color: #040404;--select-bg-hover: url(data:image/svg+xml,%0A%20%20%20%20%3Csvg%20width%3D%228%22%20height%3D%2224%22%20viewBox%3D%220%200%208%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%207L7%2011H1L4%207Z%22%20fill%3D%22%23ffffff%22%20%2F%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2017L1%2013L7%2013L4%2017Z%22%20fill%3D%22%23ffffff%22%20%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E%0A%20%20);--bg-log-info-card: #262626;color-scheme:dark}:root[data-theme=light]{--color-background: #eee;--color-background2: rgba(240, 240, 240, .3);--color-bg-card: #fafafa;--card-hover-border-lightness: 80%;--color-text: #222;--color-text-secondary: #646464;--color-text-highlight: #040404;--color-bg-sidebar: #f8f8f8;--color-sb-active-row-bg: #d8d8d8;--color-input-bg: #f0f0f0;--color-input-border: #c0c0c0;--color-toggle-bg: #ffffff;--color-toggle-selected: #d7d7d7;--color-icon: #5b5b5b;--color-separator: #ccc;--color-btn-bg: #f4f4f4;--color-btn-fg: #101010;--color-bg-proxy: #fafafa;--color-row-odd: #f5f5f5;--bg-log-info-tag: #888;--bg-modal: #fbfbfb;--bg-near-transparent: rgba(0, 0, 0, .1);--bg-tooltip: #f0f0f0;--bc-tooltip: #ccc;--select-border-color: #999999;--select-bg-hover: url(data:image/svg+xml,%0A%20%20%20%20%3Csvg%20width%3D%228%22%20height%3D%2224%22%20viewBox%3D%220%200%208%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%207L7%2011H1L4%207Z%22%20fill%3D%22%23222222%22%20%2F%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2017L1%2013L7%2013L4%2017Z%22%20fill%3D%22%23222222%22%20%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E%0A%20%20);--bg-log-info-card: #f5f5f5;color-scheme:light}.flexCenter{display:flex;align-items:center;justify-content:center}.fabgrp{position:fixed;z-index:3;right:20px;bottom:20px}.visually-hidden{position:absolute;overflow:hidden;clip:rect(0 0 0 0);width:1px;height:1px;margin:-1px;border:0;padding:0}:root{--reach-tooltip: 1}[data-reach-tooltip]{z-index:1;pointer-events:none;position:absolute;padding:.25em .5em;box-shadow:2px 2px 10px #0000001a;white-space:nowrap;font-size:85%;background:var(--bg-tooltip);color:var(--color-text);border:solid 1px var(--bc-tooltip);border-radius:4px}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-latin-400-normal.e1fd013a.woff2) format("woff2"),url(./roboto-mono-latin-400-normal.2dfc0e86.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-latin-400-normal.d56fec21.woff2) format("woff2"),url(./inter-latin-400-normal.9ec803ce.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:800;src:url(./inter-latin-800-normal.5eea1309.woff2) format("woff2"),url(./inter-latin-800-normal.98c540b2.woff) format("woff")}._root_1o14m_1{height:76px;display:flex;align-items:center}._h1_1o14m_7{padding:0 15px;font-size:1.7em;text-align:left;margin:0}@media screen and (min-width: 30em){._h1_1o14m_7{padding:0 40px;font-size:2em}}._root_dn70c_1{padding:6px 15px}@media screen and (min-width: 30em){._root_dn70c_1{padding:10px 40px}}._mono_dn70c_10{font-family:var(--font-mono)}._link_dn70c_14{color:var(--color-text-secondary);display:inline-flex}._link_dn70c_14:hover{color:var(--color-text-highlight)}._loading_74j3j_1{width:100%;height:100%;display:flex;justify-content:center;align-items:center}._spinner_74j3j_9{width:20px;height:20px;display:inline-block;vertical-align:middle;-webkit-animation:_rotate_74j3j_1 1s steps(12,end) infinite;animation:_rotate_74j3j_1 1s steps(12,end) infinite;background:transparent url("data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E9E9E9' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23989697' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%239B999A' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23A3A1A2' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23ABA9AA' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23B2B2B2' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23BAB8B9' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23C2C0C1' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23CBCBCB' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23D2D2D2' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23DADADA' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E2E2E2' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E") no-repeat;background-size:100%}@-webkit-keyframes _rotate_74j3j_1{0%{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}to{-webkit-transform:rotate3d(0,0,1,360deg);transform:rotate3d(0,0,1,360deg)}}@keyframes _rotate_74j3j_1{0%{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}to{-webkit-transform:rotate3d(0,0,1,360deg);transform:rotate3d(0,0,1,360deg)}}._ul_1d6f2_1{position:relative;margin:0;padding:0;list-style:none;line-height:1.8;--width-max-content: 230px}._li_1d6f2_10{position:relative;margin:5px 0;padding:10px 0;border-radius:10px;display:grid;place-content:center;grid-template-columns:40px 1fr 40px;grid-template-rows:30px;grid-template-areas:"close url .";-webkit-column-gap:10px;column-gap:10px;border:1px solid var(--bg-near-transparent)}._li_1d6f2_10:hover{background-color:var(--bg-near-transparent)}._close_1d6f2_28{opacity:0;grid-area:close;place-self:center;cursor:pointer}._li_1d6f2_10:hover ._close_1d6f2_28,._li_1d6f2_10:hover ._eye_1d6f2_36{opacity:1}._close_1d6f2_28:focus,._eye_1d6f2_36:focus{opacity:1}._hasSecret_1d6f2_45{grid-template-rows:repeat(2,30px);grid-template-areas:"close url ." "close secret eye"}._url_1d6f2_50{grid-area:url}._secret_1d6f2_54{grid-area:secret}._eye_1d6f2_36{grid-area:eye;opacity:0;place-self:center;cursor:pointer}._url_1d6f2_50,._secret_1d6f2_54{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._btn_1d6f2_72{outline:none;-webkit-appearance:none;appearance:none;border:1px solid transparent;background-color:transparent;color:inherit;display:flex;align-items:center;padding:5px;border-radius:100px}._btn_1d6f2_72:focus{border-color:var(--color-focus-blue)}._btn_1d6f2_72:hover:enabled{background-color:var(--color-focus-blue);color:#fff}._btn_1d6f2_72:active:enabled{-webkit-transform:scale(.97);transform:scale(.97)}._btn_1d6f2_72:disabled{color:var(--color-text-secondary)}._url_1d6f2_50{cursor:pointer}._url_1d6f2_50:hover{color:var(--color-text-highlight)}._root_zwtea_1:focus{outline:none}._header_zwtea_5{display:flex;justify-content:center;align-items:center}._header_zwtea_5 ._icon_zwtea_10{--stroke: #f3f3f3;color:#20497e;opacity:.7;transition:opacity .4s}._header_zwtea_5 ._icon_zwtea_10:hover{opacity:1}._body_zwtea_20{padding:15px 0 0}._hostnamePort_zwtea_24{display:flex}._hostnamePort_zwtea_24 div{flex:1 1 auto}._hostnamePort_zwtea_24 div:nth-child(2){flex-grow:0;flex-basis:120px;margin-left:10px}._error_zwtea_36{height:20px;font-size:.8em;color:#ff8b8b}._footer_zwtea_42{padding:5px 0 10px;display:flex;justify-content:flex-end;align-items:center}._btn_1fuu8_1{-webkit-appearance:none;outline:none;-webkit-user-select:none;user-select:none;position:relative;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;color:var(--color-btn-fg);background:var(--color-btn-bg);border:1px solid #555;border-radius:100px;font-size:.75em;padding:4px 7px}._btn_1fuu8_1:focus{border-color:var(--color-focus-blue)}._btn_1fuu8_1:hover{background:#387cec;border:1px solid #387cec;color:#fff}._btn_1fuu8_1:active{-webkit-transform:scale(.97);transform:scale(.97)}@media screen and (min-width: 30em){._btn_1fuu8_1{font-size:small;padding:6px 12px}}._btn_1fuu8_1._minimal_1fuu8_34{border-color:transparent;background:none}._btn_1fuu8_1._minimal_1fuu8_34:focus{border-color:var(--color-focus-blue)}._btn_1fuu8_1._minimal_1fuu8_34:hover{color:#fff;background:#387cec;border:1px solid #387cec}._btn_1fuu8_1:disabled{opacity:.5}._btnStart_1fuu8_51{margin-right:5px;display:inline-flex;align-items:center;justify-content:center}._loadingContainer_1fuu8_58{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);display:inline-flex}h2._sectionNameType_h7h55_1{margin:0;font-size:1em}@media screen and (min-width: 30em){h2._sectionNameType_h7h55_1{font-size:1.1em}}h2._sectionNameType_h7h55_1 span:nth-child(2){font-size:12px;color:#777;font-weight:400;margin:0 .3em}:root[data-theme=light]{--loading-dot-1-1: rgba(0, 0, 0, .1);--loading-dot-1-2: rgba(0, 0, 0, .5);--loading-dot-1-3: rgba(0, 0, 0, .3);--loading-dot-2-1: rgba(0, 0, 0, .3);--loading-dot-2-2: rgba(0, 0, 0, .1);--loading-dot-2-3: rgba(0, 0, 0, .5);--loading-dot-3-1: rgba(0, 0, 0, .5);--loading-dot-3-2: rgba(0, 0, 0, .3);--loading-dot-3-3: rgba(0, 0, 0, .1)}:root[data-theme=dark]{--loading-dot-1-1: rgba(255, 255, 255, .5);--loading-dot-1-2: rgba(255, 255, 255, .1);--loading-dot-1-3: rgba(255, 255, 255, .3);--loading-dot-2-1: rgba(255, 255, 255, .3);--loading-dot-2-2: rgba(255, 255, 255, .5);--loading-dot-2-3: rgba(255, 255, 255, .1);--loading-dot-3-1: rgba(255, 255, 255, .1);--loading-dot-3-2: rgba(255, 255, 255, .3);--loading-dot-3-3: rgba(255, 255, 255, .5)}._loadingDot_h7h55_66,._loadingDot_h7h55_66:before,._loadingDot_h7h55_66:after{display:inline-block;vertical-align:middle;width:6px;height:6px;border-radius:50%;font-size:0}._loadingDot_h7h55_66{position:relative;background-color:var(--loading-dot-2-1);-webkit-animation:_dot2_h7h55_1 1s step-start infinite;animation:_dot2_h7h55_1 1s step-start infinite}._loadingDot_h7h55_66:before{content:"";position:absolute;left:-12px;background-color:var(--loading-dot-1-1);-webkit-animation:_dot1_h7h55_1 1s step-start infinite;animation:_dot1_h7h55_1 1s step-start infinite}._loadingDot_h7h55_66:after{content:"";position:absolute;right:-12px;background-color:var(--loading-dot-3-1);-webkit-animation:_dot3_h7h55_1 1s step-start infinite;animation:_dot3_h7h55_1 1s step-start infinite}@-webkit-keyframes _dot1_h7h55_1{0%,to{background-color:var(--loading-dot-1-1)}33%{background-color:var(--loading-dot-1-2)}66%{background-color:var(--loading-dot-1-3)}}@keyframes _dot1_h7h55_1{0%,to{background-color:var(--loading-dot-1-1)}33%{background-color:var(--loading-dot-1-2)}66%{background-color:var(--loading-dot-1-3)}}@-webkit-keyframes _dot2_h7h55_1{0%,to{background-color:var(--loading-dot-2-1)}33%{background-color:var(--loading-dot-2-2)}66%{background-color:var(--loading-dot-2-3)}}@keyframes _dot2_h7h55_1{0%,to{background-color:var(--loading-dot-2-1)}33%{background-color:var(--loading-dot-2-2)}66%{background-color:var(--loading-dot-2-3)}}@-webkit-keyframes _dot3_h7h55_1{0%,to{background-color:var(--loading-dot-3-1)}33%{background-color:var(--loading-dot-3-2)}66%{background-color:var(--loading-dot-3-3)}}@keyframes _dot3_h7h55_1{0%,to{background-color:var(--loading-dot-3-1)}33%{background-color:var(--loading-dot-3-2)}66%{background-color:var(--loading-dot-3-3)}}._root_1or8t_1{position:relative;padding:10px 0}._root_1or8t_1 input{-webkit-appearance:none;background-color:transparent;background-image:none;border:none;border-radius:0;border-bottom:1px solid var(--color-input-border);box-sizing:border-box;color:inherit;display:inline-block;font-size:inherit;height:40px;outline:none;padding:0 4px;width:100%}._root_1or8t_1 input:focus{border-color:var(--color-focus-blue)}._root_1or8t_1 label{position:absolute;left:5px;bottom:22px;transition:-webkit-transform .15s ease-in-out;transition:transform .15s ease-in-out;transition:transform .15s ease-in-out,-webkit-transform .15s ease-in-out;-webkit-transform-origin:0 0;transform-origin:0 0;font-size:.9em}._root_1or8t_1 label._floatAbove_1or8t_32{-webkit-transform:scale(.75) translateY(-25px);transform:scale(.75) translateY(-25px)}._root_1or8t_1 input:focus+label{color:var(--color-focus-blue);-webkit-transform:scale(.75) translateY(-25px);transform:scale(.75) translateY(-25px)}._path_r8pm3_1{stroke-dasharray:890;stroke-dashoffset:890;-webkit-animation:_dash_r8pm3_1 3s ease-in-out forwards normal infinite;animation:_dash_r8pm3_1 3s ease-in-out forwards normal infinite}@-webkit-keyframes _dash_r8pm3_1{0%{stroke-dashoffset:890}to{stroke-dashoffset:0}}@keyframes _dash_r8pm3_1{0%{stroke-dashoffset:890}to{stroke-dashoffset:0}}._iconWrapper_j5g33_1{--sz: 40px;width:var(--sz);height:var(--sz);display:flex;justify-content:center;align-items:center;outline:none;padding:5px;color:var(--color-text);border-radius:100%;border:1px solid transparent}._iconWrapper_j5g33_1:hover{opacity:.6}._iconWrapper_j5g33_1:focus{border-color:var(--color-focus-blue)}._themeSwitchContainer_j5g33_23{--sz: 40px;position:relative;display:flex;align-items:center;height:var(--sz)}._themeSwitchContainer_j5g33_23 select{cursor:pointer;padding-left:var(--sz);width:var(--sz);height:var(--sz);-webkit-appearance:none;appearance:none;outline:none;border-radius:100%;border:1px solid transparent;background:var(--color-bg-sidebar)}._themeSwitchContainer_j5g33_23 select:focus{border-color:var(--color-focus-blue)}._themeSwitchContainer_j5g33_23 select option{background:var(--color-bg-sidebar)}._themeSwitchContainer_j5g33_23 ._iconWrapper_j5g33_1{pointer-events:none;display:inline-flex;align-items:center;justify-content:center;position:absolute;left:0;top:0}._content_b98hm_1._content_b98hm_1{background:none;position:fixed;top:0;bottom:0;left:0;right:0;-webkit-transform:none;transform:none;padding:0;border-radius:0;display:flex;justify-content:center;overflow-y:auto}._container_b98hm_16{position:relative;margin-left:20px;margin-right:20px}._overlay_b98hm_22._overlay_b98hm_22{background-color:var(--color-background)}._fixed_b98hm_26{position:fixed;padding:16px;bottom:0;right:0}._overlay_85t19_1{position:fixed;top:0;right:0;left:0;bottom:0;background:#444;z-index:1024}._content_85t19_11{outline:none;position:relative;color:var(--color-text);background:#444;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);padding:20px;border-radius:10px}._root_4m2cd_1{position:fixed;top:0;bottom:0;left:0;right:0;overflow:hidden;padding:20px;background:var(--color-background);color:var(--color-text);text-align:center}._yacd_4m2cd_14{color:#2a477a;opacity:.6;display:flex;justify-content:center;align-items:center;padding:40px}._link_4m2cd_23{display:inline-flex;align-items:center;color:var(--color-text-secondary)}._link_4m2cd_23:hover,._link_4m2cd_23:active{color:#387cec}._link_4m2cd_23 svg{margin-right:5px}._root_ecp08_1{padding:6px 15px}@media screen and (min-width: 30em){._root_ecp08_1{padding:10px 40px}}._TrafficNow_18twa_1{color:var(--color-text);display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;max-width:1000px}._TrafficNow_18twa_1 ._sec_18twa_9{padding:10px;width:19%;margin:3px;background-color:var(--color-bg-card);border-radius:10px;box-shadow:0 1px 5px #0000001a}._TrafficNow_18twa_1 ._sec_18twa_9 div:nth-child(1){color:var(--color-text-secondary);font-size:.65em}._TrafficNow_18twa_1 ._sec_18twa_9 div:nth-child(2){padding:10px 0 0;font-size:1em}@media (max-width: 768px){._TrafficNow_18twa_1 ._sec_18twa_9{width:48%}}._lo_pmly2_1{opacity:.5;width:100%;height:100%;display:flex;justify-content:center;align-items:center}._app_1fbxk_1{position:fixed;top:0;bottom:0;left:0;right:0;display:flex;background:var(--color-background);color:var(--color-text)}@media (max-width: 768px){._app_1fbxk_1{flex-direction:column}}._content_1fbxk_17{flex-grow:1;overflow-y:auto}._root_19qp2_1{background:var(--color-bg-sidebar);min-width:150px;position:relative}._logoPlaceholder_19qp2_7{margin-top:12px;height:120px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3FpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3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QAAAAAAAAQAAAAAAAAQAAAAAAAAAABAAAAAAAABAAAAAAAABAAAAAAAABAAAAAAAAAAAEAAAAAAAAEAAAAAAAAEAAAAAAAAAEAAAAAAAAEAAAAAAAAEAAAAAAAAEAAAAAAAAAAAQAAAAAAAAQAAAAAAAAQAAAAAAAAQAAAAAAAAAABAAAAAAAABAAAAAAAABAAAAAAAABAAAAAAAAAAAEAAAAAAAAEAAAAAAAAEAAAAAAAAEAAAAAAAAAAAQAAAAAAEAAAAAAAAEAAAAAAAAAAAQAAAAAAAAQAAAAAAAAQAAAAAAAAQAAAAAAAAAABAAAAAAAABAAAAAAAABAAAAAAAABAAAAAAAAAAAEAAAAAAAAEAAAAAAAAEAAAAAAAAEAAAAAAAAAAAQAAAAAAIMD/F2AA6T5cYpXw46YAAAAASUVORK5CYII=);background-size:80px;background-repeat:no-repeat;background-position:center}@media (max-width: 768px){._logoPlaceholder_19qp2_7{display:none}}@media (max-width: 768px){._rows_19qp2_22{display:flex;justify-content:space-between;overflow:auto}}._row_19qp2_22{color:var(--color-text);text-decoration:none;display:flex;align-items:center;padding:6px 10px}@media screen and (min-width: 30em){._row_19qp2_22{padding:8px 20px}}@media (max-width: 768px){._row_19qp2_22{flex-direction:column}}._row_19qp2_22 svg{color:var(--color-icon);width:22px;height:22px}@media screen and (min-width: 30em){._row_19qp2_22 svg{width:24px;height:24px}}._rowActive_19qp2_59{background:var(--color-sb-active-row-bg)}@media (max-width: 768px){._rowActive_19qp2_59{background:none;border-bottom:2px solid #387cec}}._label_19qp2_69{padding-left:14px;font-size:.75em}@media (max-width: 768px){._label_19qp2_69{padding-left:0;padding-top:5px}}@media screen and (min-width: 30em){._label_19qp2_69{font-size:1em}}._footer_19qp2_85{position:absolute;bottom:10px;left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%)}@media (max-width: 768px){._footer_19qp2_85{display:none}}._iconWrapper_19qp2_97{--sz: 40px;width:var(--sz);height:var(--sz);display:flex;justify-content:center;align-items:center;outline:none;padding:5px;color:var(--color-text);border-radius:100%;border:1px solid transparent}._iconWrapper_19qp2_97:hover{opacity:.6}._iconWrapper_19qp2_97:focus{border-color:var(--color-focus-blue)}._input_12jxq_1{-webkit-appearance:none;background-color:var(--color-input-bg);background-image:none;border-radius:4px;border:1px solid var(--color-input-border);box-sizing:border-box;color:inherit;display:inline-block;font-size:inherit;height:35px;outline:none;padding:0 15px;width:100%;font-size:small}._input_12jxq_1:focus{box-shadow:#4299e199 0 0 0 3px}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}._ToggleSwitch_10mtp_1{-webkit-user-select:none;user-select:none;border-radius:4px;border:1px solid #525252;color:var(--color-text);background:var(--color-toggle-bg);display:flex;position:relative;outline:none}._ToggleSwitch_10mtp_1:focus{border-color:var(--color-focus-blue)}._ToggleSwitch_10mtp_1 input{position:absolute;left:0;opacity:0}._ToggleSwitch_10mtp_1 label{z-index:2;display:flex;align-items:center;justify-content:center;padding:10px 0;cursor:pointer}._slider_10mtp_28{z-index:1;position:absolute;display:block;left:0;height:100%;transition:left .2s ease-out;background:var(--color-toggle-selected)} diff --git a/bin/Yacd-meta-gh-pages/assets/index.9c1af6a6.js b/bin/Yacd-meta-gh-pages/assets/index.9c1af6a6.js deleted file mode 100644 index 26c7a4eb..00000000 --- a/bin/Yacd-meta-gh-pages/assets/index.9c1af6a6.js +++ /dev/null @@ -1 +0,0 @@ -var Ni=Object.defineProperty;var Nr=Object.getOwnPropertySymbols;var Hi=Object.prototype.hasOwnProperty,zi=Object.prototype.propertyIsEnumerable;var Hr=(t,e,r)=>e in t?Ni(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,zr=(t,e)=>{for(var r in e||(e={}))Hi.call(e,r)&&Hr(t,r,e[r]);if(Nr)for(var r of Nr(e))zi.call(e,r)&&Hr(t,r,e[r]);return t};import{r as m,R as Jn,j as ki}from"./index.1ca2d13d.js";var Ue=function(t,e){return Ue=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},Ue(t,e)};function Qn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Ue(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var g=function(){return g=Object.assign||function(e){for(var r,n=1,o=arguments.length;n=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function L(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),o,a=[],i;try{for(;(e===void 0||e-- >0)&&!(o=n.next()).done;)a.push(o.value)}catch(s){i={error:s}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return a}function K(t,e,r){if(r||arguments.length===2)for(var n=0,o=e.length,a;nperformance.now():()=>Date.now(),so=typeof window!="undefined"?t=>window.requestAnimationFrame(t):t=>setTimeout(()=>t(na()),ao);function oa(t){let e=[],r=[],n=0,o=!1,a=!1;const i=new WeakSet,s={schedule:(u,l=!1,c=!1)=>{const d=c&&o,v=d?e:r;return l&&i.add(u),v.indexOf(u)===-1&&(v.push(u),d&&o&&(n=e.length)),u},cancel:u=>{const l=r.indexOf(u);l!==-1&&r.splice(l,1),i.delete(u)},process:u=>{if(o){a=!0;return}if(o=!0,[e,r]=[r,e],r.length=0,n=e.length,n)for(let l=0;l(t[e]=oa(()=>zt=!0),t),{}),k=Xt.reduce((t,e)=>{const r=Ve[e];return t[e]=(n,o=!1,a=!1)=>(zt||sa(),r.schedule(n,o,a)),t},{}),ht=Xt.reduce((t,e)=>(t[e]=Ve[e].cancel,t),{}),we=Xt.reduce((t,e)=>(t[e]=()=>Ve[e].process(Ct),t),{}),aa=t=>Ve[t].process(Ct),uo=t=>{zt=!1,Ct.delta=He?ao:Math.max(Math.min(t-Ct.timestamp,ia),1),Ct.timestamp=t,ze=!0,Xt.forEach(aa),ze=!1,zt&&(He=!1,so(uo))},sa=()=>{zt=!0,He=!0,ze||so(uo)},fe=()=>Ct,de=(t,e,r)=>Math.min(Math.max(r,t),e),Ae=.001,ua=.01,Gr=10,la=.05,ca=1;function fa({duration:t=800,bounce:e=.25,velocity:r=0,mass:n=1}){let o,a;Ki(t<=Gr*1e3);let i=1-e;i=de(la,ca,i),t=de(ua,Gr,t/1e3),i<1?(o=l=>{const c=l*i,d=c*t,v=c-r,f=ke(l,i),p=Math.exp(-d);return Ae-v/f*p},a=l=>{const d=l*i*t,v=d*r+r,f=Math.pow(i,2)*Math.pow(l,2)*t,p=Math.exp(-d),h=ke(Math.pow(l,2),i);return(-o(l)+Ae>0?-1:1)*((v-f)*p)/h}):(o=l=>{const c=Math.exp(-l*t),d=(l-r)*t+1;return-Ae+c*d},a=l=>{const c=Math.exp(-l*t),d=(r-l)*(t*t);return c*d});const s=5/t,u=va(o,a,s);if(t=t*1e3,isNaN(u))return{stiffness:100,damping:10,duration:t};{const l=Math.pow(u,2)*n;return{stiffness:l,damping:i*2*Math.sqrt(n*l),duration:t}}}const da=12;function va(t,e,r){let n=r;for(let o=1;ot[r]!==void 0)}function ma(t){let e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!Kr(t,ha)&&Kr(t,pa)){const r=fa(t);e=Object.assign(Object.assign(Object.assign({},e),r),{velocity:0,mass:1}),e.isResolvedFromDuration=!0}return e}function ur(t){var{from:e=0,to:r=1,restSpeed:n=2,restDelta:o}=t,a=j(t,["from","to","restSpeed","restDelta"]);const i={done:!1,value:e};let{stiffness:s,damping:u,mass:l,velocity:c,duration:d,isResolvedFromDuration:v}=ma(a),f=Yr,p=Yr;function h(){const y=c?-(c/1e3):0,x=r-e,P=u/(2*Math.sqrt(s*l)),b=Math.sqrt(s/l)/1e3;if(o===void 0&&(o=Math.min(Math.abs(r-e)/100,.4)),P<1){const S=ke(b,P);f=T=>{const M=Math.exp(-P*b*T);return r-M*((y+P*b*x)/S*Math.sin(S*T)+x*Math.cos(S*T))},p=T=>{const M=Math.exp(-P*b*T);return P*b*M*(Math.sin(S*T)*(y+P*b*x)/S+x*Math.cos(S*T))-M*(Math.cos(S*T)*(y+P*b*x)-S*x*Math.sin(S*T))}}else if(P===1)f=S=>r-Math.exp(-b*S)*(x+(y+b*x)*S);else{const S=b*Math.sqrt(P*P-1);f=T=>{const M=Math.exp(-P*b*T),R=Math.min(S*T,300);return r-M*((y+P*b*x)*Math.sinh(R)+S*x*Math.cosh(R))/S}}}return h(),{next:y=>{const x=f(y);if(v)i.done=y>=d;else{const P=p(y)*1e3,b=Math.abs(P)<=n,S=Math.abs(r-x)<=o;i.done=b&&S}return i.value=i.done?r:x,i},flipTarget:()=>{c=-c,[e,r]=[r,e],h()}}}ur.needsInterpolation=(t,e)=>typeof t=="string"||typeof e=="string";const Yr=t=>0,kt=(t,e,r)=>{const n=e-t;return n===0?1:(r-t)/n},F=(t,e,r)=>-r*t+r*e+t,lo=(t,e)=>r=>Math.max(Math.min(r,e),t),It=t=>t%1?Number(t.toFixed(5)):t,Gt=/(-)?([\d]*\.?[\d])+/g,Ge=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,ga=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function $t(t){return typeof t=="string"}const yt={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Ft=Object.assign(Object.assign({},yt),{transform:lo(0,1)}),te=Object.assign(Object.assign({},yt),{default:1}),Zt=t=>({test:e=>$t(e)&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),at=Zt("deg"),tt=Zt("%"),E=Zt("px"),ya=Zt("vh"),xa=Zt("vw"),Wr=Object.assign(Object.assign({},tt),{parse:t=>tt.parse(t)/100,transform:t=>tt.transform(t*100)}),lr=(t,e)=>r=>Boolean($t(r)&&ga.test(r)&&r.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(r,e)),co=(t,e,r)=>n=>{if(!$t(n))return n;const[o,a,i,s]=n.match(Gt);return{[t]:parseFloat(o),[e]:parseFloat(a),[r]:parseFloat(i),alpha:s!==void 0?parseFloat(s):1}},vt={test:lr("hsl","hue"),parse:co("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:r,alpha:n=1})=>"hsla("+Math.round(t)+", "+tt.transform(It(e))+", "+tt.transform(It(r))+", "+It(Ft.transform(n))+")"},ba=lo(0,255),Me=Object.assign(Object.assign({},yt),{transform:t=>Math.round(ba(t))}),ut={test:lr("rgb","red"),parse:co("red","green","blue"),transform:({red:t,green:e,blue:r,alpha:n=1})=>"rgba("+Me.transform(t)+", "+Me.transform(e)+", "+Me.transform(r)+", "+It(Ft.transform(n))+")"};function Sa(t){let e="",r="",n="",o="";return t.length>5?(e=t.substr(1,2),r=t.substr(3,2),n=t.substr(5,2),o=t.substr(7,2)):(e=t.substr(1,1),r=t.substr(2,1),n=t.substr(3,1),o=t.substr(4,1),e+=e,r+=r,n+=n,o+=o),{red:parseInt(e,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}}const Ke={test:lr("#"),parse:Sa,transform:ut.transform},z={test:t=>ut.test(t)||Ke.test(t)||vt.test(t),parse:t=>ut.test(t)?ut.parse(t):vt.test(t)?vt.parse(t):Ke.parse(t),transform:t=>$t(t)?t:t.hasOwnProperty("red")?ut.transform(t):vt.transform(t)},fo="${c}",vo="${n}";function Pa(t){var e,r,n,o;return isNaN(t)&&$t(t)&&((r=(e=t.match(Gt))===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:0)+((o=(n=t.match(Ge))===null||n===void 0?void 0:n.length)!==null&&o!==void 0?o:0)>0}function po(t){typeof t=="number"&&(t=`${t}`);const e=[];let r=0;const n=t.match(Ge);n&&(r=n.length,t=t.replace(Ge,fo),e.push(...n.map(z.parse)));const o=t.match(Gt);return o&&(t=t.replace(Gt,vo),e.push(...o.map(yt.parse))),{values:e,numColors:r,tokenised:t}}function ho(t){return po(t).values}function mo(t){const{values:e,numColors:r,tokenised:n}=po(t),o=e.length;return a=>{let i=n;for(let s=0;stypeof t=="number"?0:t;function Ta(t){const e=ho(t);return mo(t)(e.map(Va))}const nt={test:Pa,parse:ho,createTransformer:mo,getAnimatableNone:Ta},Ca=new Set(["brightness","contrast","saturate","opacity"]);function Ea(t){let[e,r]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[n]=r.match(Gt)||[];if(!n)return t;const o=r.replace(n,"");let a=Ca.has(e)?1:0;return n!==r&&(a*=100),e+"("+a+o+")"}const wa=/([a-z-]*)\(.*?\)/g,Ye=Object.assign(Object.assign({},nt),{getAnimatableNone:t=>{const e=t.match(wa);return e?e.map(Ea).join(" "):t}});function Re(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(e-t)*6*r:r<1/2?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function Xr({hue:t,saturation:e,lightness:r,alpha:n}){t/=360,e/=100,r/=100;let o=0,a=0,i=0;if(!e)o=a=i=r;else{const s=r<.5?r*(1+e):r+e-r*e,u=2*r-s;o=Re(u,s,t+1/3),a=Re(u,s,t),i=Re(u,s,t-1/3)}return{red:Math.round(o*255),green:Math.round(a*255),blue:Math.round(i*255),alpha:n}}const Aa=(t,e,r)=>{const n=t*t,o=e*e;return Math.sqrt(Math.max(0,r*(o-n)+n))},Ma=[Ke,ut,vt],$r=t=>Ma.find(e=>e.test(t)),go=(t,e)=>{let r=$r(t),n=$r(e),o=r.parse(t),a=n.parse(e);r===vt&&(o=Xr(o),r=ut),n===vt&&(a=Xr(a),n=ut);const i=Object.assign({},o);return s=>{for(const u in i)u!=="alpha"&&(i[u]=Aa(o[u],a[u],s));return i.alpha=F(o.alpha,a.alpha,s),r.transform(i)}},We=t=>typeof t=="number",Ra=(t,e)=>r=>e(t(r)),Te=(...t)=>t.reduce(Ra);function yo(t,e){return We(t)?r=>F(t,e,r):z.test(t)?go(t,e):bo(t,e)}const xo=(t,e)=>{const r=[...t],n=r.length,o=t.map((a,i)=>yo(a,e[i]));return a=>{for(let i=0;i{const r=Object.assign(Object.assign({},t),e),n={};for(const o in r)t[o]!==void 0&&e[o]!==void 0&&(n[o]=yo(t[o],e[o]));return o=>{for(const a in n)r[a]=n[a](o);return r}};function Zr(t){const e=nt.parse(t),r=e.length;let n=0,o=0,a=0;for(let i=0;i{const r=nt.createTransformer(e),n=Zr(t),o=Zr(e);return n.numHSL===o.numHSL&&n.numRGB===o.numRGB&&n.numNumbers>=o.numNumbers?Te(xo(n.parsed,o.parsed),r):i=>`${i>0?e:t}`},Oa=(t,e)=>r=>F(t,e,r);function Da(t){if(typeof t=="number")return Oa;if(typeof t=="string")return z.test(t)?go:bo;if(Array.isArray(t))return xo;if(typeof t=="object")return La}function Ia(t,e,r){const n=[],o=r||Da(t[0]),a=t.length-1;for(let i=0;ir(kt(t,e,n))}function ja(t,e){const r=t.length,n=r-1;return o=>{let a=0,i=!1;if(o<=t[0]?i=!0:o>=t[n]&&(a=n-1,i=!0),!i){let u=1;for(;uo||u===n);u++);a=u-1}const s=kt(t[a],t[a+1],o);return e[a](s)}}function cr(t,e,{clamp:r=!0,ease:n,mixer:o}={}){const a=t.length;ce(a===e.length),ce(!n||!Array.isArray(n)||n.length===a-1),t[0]>t[a-1]&&(t=[].concat(t),e=[].concat(e),t.reverse(),e.reverse());const i=Ia(e,n,o),s=a===2?Fa(t,i):ja(t,i);return r?u=>s(de(t[0],t[a-1],u)):s}const Ce=t=>e=>1-t(1-e),fr=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Ba=t=>e=>Math.pow(e,t),So=t=>e=>e*e*((t+1)*e-t),Ua=t=>{const e=So(t);return r=>(r*=2)<1?.5*e(r):.5*(2-Math.pow(2,-10*(r-1)))},Po=1.525,_a=4/11,Na=8/11,Ha=9/10,dr=t=>t,vr=Ba(2),za=Ce(vr),Vo=fr(vr),To=t=>1-Math.sin(Math.acos(t)),pr=Ce(To),ka=fr(pr),hr=So(Po),Ga=Ce(hr),Ka=fr(hr),Ya=Ua(Po),Wa=4356/361,Xa=35442/1805,$a=16061/1805,ve=t=>{if(t===1||t===0)return t;const e=t*t;return t<_a?7.5625*e:tt<.5?.5*(1-ve(1-t*2)):.5*ve(t*2-1)+.5;function Ja(t,e){return t.map(()=>e||Vo).splice(0,t.length-1)}function Qa(t){const e=t.length;return t.map((r,n)=>n!==0?n/(e-1):0)}function ts(t,e){return t.map(r=>r*e)}function ae({from:t=0,to:e=1,ease:r,offset:n,duration:o=300}){const a={done:!1,value:t},i=Array.isArray(e)?e:[t,e],s=ts(n&&n.length===i.length?n:Qa(i),o);function u(){return cr(s,i,{ease:Array.isArray(r)?r:Ja(i,r)})}let l=u();return{next:c=>(a.value=l(c),a.done=c>=o,a),flipTarget:()=>{i.reverse(),l=u()}}}function es({velocity:t=0,from:e=0,power:r=.8,timeConstant:n=350,restDelta:o=.5,modifyTarget:a}){const i={done:!1,value:e};let s=r*t;const u=e+s,l=a===void 0?u:a(u);return l!==u&&(s=l-e),{next:c=>{const d=-s*Math.exp(-c/n);return i.done=!(d>o||d<-o),i.value=i.done?l:l+d,i},flipTarget:()=>{}}}const qr={keyframes:ae,spring:ur,decay:es};function rs(t){if(Array.isArray(t.to))return ae;if(qr[t.type])return qr[t.type];const e=new Set(Object.keys(t));return e.has("ease")||e.has("duration")&&!e.has("dampingRatio")?ae:e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta")?ur:ae}function Co(t,e,r=0){return t-e-r}function ns(t,e,r=0,n=!0){return n?Co(e+-t,e,r):e-(t-e)+r}function os(t,e,r,n){return n?t>=e+r:t<=-r}const is=t=>{const e=({delta:r})=>t(r);return{start:()=>k.update(e,!0),stop:()=>ht.update(e)}};function mr(t){var e,r,{from:n,autoplay:o=!0,driver:a=is,elapsed:i=0,repeat:s=0,repeatType:u="loop",repeatDelay:l=0,onPlay:c,onStop:d,onComplete:v,onRepeat:f,onUpdate:p}=t,h=j(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:y}=h,x,P=0,b=h.duration,S,T=!1,M=!0,R;const w=rs(h);!((r=(e=w).needsInterpolation)===null||r===void 0)&&r.call(e,n,y)&&(R=cr([0,100],[n,y],{clamp:!1}),n=0,y=100);const A=w(Object.assign(Object.assign({},h),{from:n,to:y}));function I(){P++,u==="reverse"?(M=P%2===0,i=ns(i,b,l,M)):(i=Co(i,b,l),u==="mirror"&&A.flipTarget()),T=!1,f&&f()}function B(){x.stop(),v&&v()}function Y(W){if(M||(W=-W),i+=W,!T){const X=A.next(Math.max(0,i));S=X.value,R&&(S=R(S)),T=M?X.done:i<=0}p==null||p(S),T&&(P===0&&(b!=null||(b=i)),P{d==null||d(),x.stop()}}}function Eo(t,e){return e?t*(1e3/e):0}function as({from:t=0,velocity:e=0,min:r,max:n,power:o=.8,timeConstant:a=750,bounceStiffness:i=500,bounceDamping:s=10,restDelta:u=1,modifyTarget:l,driver:c,onUpdate:d,onComplete:v,onStop:f}){let p;function h(b){return r!==void 0&&bn}function y(b){return r===void 0?n:n===void 0||Math.abs(r-b){var T;d==null||d(S),(T=b.onUpdate)===null||T===void 0||T.call(b,S)},onComplete:v,onStop:f}))}function P(b){x(Object.assign({type:"spring",stiffness:i,damping:s,restDelta:u},b))}if(h(t))P({from:t,velocity:e,to:y(t)});else{let b=o*e+t;typeof l!="undefined"&&(b=l(b));const S=y(b),T=S===r?-1:1;let M,R;const w=A=>{M=R,R=A,e=Eo(A-M,fe().delta),(T===1&&A>S||T===-1&&Ap==null?void 0:p.stop()}}const Xe=t=>t.hasOwnProperty("x")&&t.hasOwnProperty("y"),Jr=t=>Xe(t)&&t.hasOwnProperty("z"),ee=(t,e)=>Math.abs(t-e);function wo(t,e){if(We(t)&&We(e))return ee(t,e);if(Xe(t)&&Xe(e)){const r=ee(t.x,e.x),n=ee(t.y,e.y),o=Jr(t)&&Jr(e)?ee(t.z,e.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(o,2))}}const ss=(t,e,r)=>{const n=e-t;return((r-t)%n+n)%n+t},Ao=(t,e)=>1-3*e+3*t,Mo=(t,e)=>3*e-6*t,Ro=t=>3*t,pe=(t,e,r)=>((Ao(e,r)*t+Mo(e,r))*t+Ro(e))*t,Lo=(t,e,r)=>3*Ao(e,r)*t*t+2*Mo(e,r)*t+Ro(e),us=1e-7,ls=10;function cs(t,e,r,n,o){let a,i,s=0;do i=e+(r-e)/2,a=pe(i,n,o)-t,a>0?r=i:e=i;while(Math.abs(a)>us&&++s=ds?vs(i,d,t,r):v===0?d:cs(i,s,s+re,t,r)}return i=>i===0||i===1?i:pe(a(i),e,n)}function gr(t,e){t.indexOf(e)===-1&&t.push(e)}function yr(t,e){var r=t.indexOf(e);r>-1&&t.splice(r,1)}function hs(t,e,r){var n=L(t),o=n.slice(0),a=e<0?o.length+e:e;if(a>=0&&ae?1:r(kt(t,e,n))}}function ln(t,e){t.min=e.min,t.max=e.max}function J(t,e){ln(t.x,e.x),ln(t.y,e.y)}function Oe(t){return t===void 0||t===1}function jo(t){var e=t.scale,r=t.scaleX,n=t.scaleY;return!Oe(e)||!Oe(r)||!Oe(n)}function st(t){return jo(t)||cn(t.x)||cn(t.y)||t.z||t.rotate||t.rotateX||t.rotateY}function cn(t){return t&&t!=="0%"}function me(t,e,r){var n=t-r,o=e*n;return r+o}function fn(t,e,r,n,o){return o!==void 0&&(t=me(t,o,n)),me(t,r,n)+e}function Ze(t,e,r,n,o){e===void 0&&(e=0),r===void 0&&(r=1),t.min=fn(t.min,e,r,n,o),t.max=fn(t.max,e,r,n,o)}function Bo(t,e){var r=e.x,n=e.y;Ze(t.x,r.translate,r.scale,r.originPoint),Ze(t.y,n.translate,n.scale,n.originPoint)}function Fs(t,e,r,n){var o,a;n===void 0&&(n=!1);var i=r.length;if(!!i){e.x=e.y=1;for(var s,u,l=0;l=0;o--){var a=this.members[o];if(a.isPresent!==!1){n=a;break}}return n?(this.promote(n),!0):!1},t.prototype.promote=function(e,r){var n,o=this.lead;if(e!==o&&(this.prevLead=o,this.lead=e,e.show(),o)){o.instance&&o.scheduleRender(),e.scheduleRender(),e.resumeFrom=o,r&&(e.resumeFrom.preserveOpacity=!0),o.snapshot&&(e.snapshot=o.snapshot,e.snapshot.latestValues=o.animationValues||o.latestValues,e.snapshot.isShared=!0),!((n=e.root)===null||n===void 0)&&n.isUpdating&&(e.isLayoutDirty=!0);var a=e.options.crossfade;a===!1&&o.hide()}},t.prototype.exitAnimationComplete=function(){this.members.forEach(function(e){var r,n,o,a,i;(n=(r=e.options).onExitComplete)===null||n===void 0||n.call(r),(i=(o=e.resumingFrom)===null||o===void 0?void 0:(a=o.options).onExitComplete)===null||i===void 0||i.call(a)})},t.prototype.scheduleRender=function(){this.members.forEach(function(e){e.instance&&e.scheduleRender(!1)})},t.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},t}(),ge={};function ks(t){Object.assign(ge,t)}var Gs="translate3d(0px, 0px, 0) scale(1, 1)";function Vn(t,e,r){var n=t.x.translate/e.x,o=t.y.translate/e.y,a="translate3d(".concat(n,"px, ").concat(o,"px, 0) ");if(r){var i=r.rotate,s=r.rotateX,u=r.rotateY;i&&(a+="rotate(".concat(i,"deg) ")),s&&(a+="rotateX(".concat(s,"deg) ")),u&&(a+="rotateY(".concat(u,"deg) "))}return a+="scale(".concat(t.x.scale,", ").concat(t.y.scale,")"),a===Gs?"none":a}function Q(t){return[t("x"),t("y")]}var qe=["","X","Y","Z"],Ks=["translate","scale","rotate","skew"],Yt=["transformPerspective","x","y","z"];Ks.forEach(function(t){return qe.forEach(function(e){return Yt.push(t+e)})});function Ys(t,e){return Yt.indexOf(t)-Yt.indexOf(e)}var Ws=new Set(Yt);function qt(t){return Ws.has(t)}var Xs=new Set(["originX","originY","originZ"]);function No(t){return Xs.has(t)}var $s=function(t,e){return t.depth-e.depth},Zs=function(){function t(){this.children=[],this.isDirty=!1}return t.prototype.add=function(e){gr(this.children,e),this.isDirty=!0},t.prototype.remove=function(e){yr(this.children,e),this.isDirty=!0},t.prototype.forEach=function(e){this.isDirty&&this.children.sort($s),this.isDirty=!1,this.children.forEach(e)},t}();function ue(t){var e=$(t)?t.get():t;return Vs(e)?e.toValue():e}var Tn=1e3,Nt={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Ho(t){var e=t.attachResizeListener,r=t.defaultParent,n=t.measureScroll,o=t.resetTransform;return function(){function a(i,s,u){var l=this;s===void 0&&(s={}),u===void 0&&(u=r==null?void 0:r()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){l.isUpdating&&(l.isUpdating=!1,l.clearAllSnapshots())},this.updateProjection=function(){l.nodes.forEach(ru),l.nodes.forEach(nu)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=i,this.latestValues=s,this.root=u?u.root||u:this,this.path=u?K(K([],L(u.path),!1),[u],!1):[],this.parent=u,this.depth=u?u.depth+1:0,i&&this.root.registerPotentialNode(i,this);for(var c=0;c=0;n--)if(Boolean(t.path[n].instance)){r=t.path[n];break}var o=r&&r!==t.root?r.instance:document,a=o.querySelector('[data-projection-id="'.concat(e,'"]'));a&&t.mount(a,!0)}function An(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function Mn(t){An(t.x),An(t.y)}var cu=1;function fu(){return _(function(){if(Nt.hasEverUpdated)return cu++})}var Wt=m.exports.createContext({}),zo=m.exports.createContext({});function du(t,e,r,n){var o,a=e.layoutId,i=e.layout,s=e.drag,u=e.dragConstraints,l=e.layoutScroll,c=m.exports.useContext(zo);!n||!r||(r==null?void 0:r.projection)||(r.projection=new n(t,r.getLatestValues(),(o=r.parent)===null||o===void 0?void 0:o.projection),r.projection.setOptions({layoutId:a,layout:i,alwaysMeasureLayout:Boolean(s)||u&&Pt(u),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:typeof i=="string"?i:"both",initialPromotionConfig:c,layoutScroll:l}))}var vu=function(t){Qn(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},e.prototype.componentDidUpdate=function(){},e.prototype.updateProps=function(){var r=this.props,n=r.visualElement,o=r.props;n&&n.setProps(o)},e.prototype.render=function(){return this.props.children},e}(Jn.Component);function ko(t){var e=t.preloadedFeatures,r=t.createVisualElement,n=t.projectionNodeConstructor,o=t.useRender,a=t.useVisualState,i=t.Component;e&&_e(e);function s(u,l){var c=pu(u);u=g(g({},u),{layoutId:c});var d=m.exports.useContext(ct),v=null,f=ra(u),p=d.isStatic?void 0:fu(),h=a(u,d.isStatic);return!d.isStatic&&Mt&&(f.visualElement=qi(i,h,g(g({},d),u),r),du(p,u,f.visualElement,n||Ht.projectionNodeConstructor),v=Wi(u,f.visualElement)),m.exports.createElement(vu,{visualElement:f.visualElement,props:g(g({},d),u)},v,m.exports.createElement(be.Provider,{value:f},o(i,u,p,Ji(h,f.visualElement,l),h,d.isStatic,f.visualElement)))}return m.exports.forwardRef(s)}function pu(t){var e,r=t.layoutId,n=(e=m.exports.useContext(Wt))===null||e===void 0?void 0:e.id;return n&&r!==void 0?n+"-"+r:r}function Go(t){function e(n,o){return o===void 0&&(o={}),ko(t(n,o))}if(typeof Proxy=="undefined")return e;var r=new Map;return new Proxy(e,{get:function(n,o){return r.has(o)||r.set(o,e(o)),r.get(o)}})}var hu=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function Vr(t){return typeof t!="string"||t.includes("-")?!1:!!(hu.indexOf(t)>-1||/[A-Z]/.test(t))}function Ko(t,e){var r=e.layout,n=e.layoutId;return qt(t)||No(t)||(r||n!==void 0)&&(!!ge[t]||t==="opacity")}var mu={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function gu(t,e,r,n){var o=t.transform,a=t.transformKeys,i=e.enableHardwareAcceleration,s=i===void 0?!0:i,u=e.allowTransformNone,l=u===void 0?!0:u,c="";a.sort(Ys);for(var d=!1,v=a.length,f=0;fP&&B,et=Array.isArray(I)?I:[I],it=et.reduce(a,{});Y===!1&&(it={});var Rt=A.prevResolvedValues,xt=Rt===void 0?{}:Rt,Jt=g(g({},xt),it),bt=function(C){X=!0,y.delete(C),A.needsAnimating[C]=!0};for(var G in Jt){var O=it[G],V=xt[G];x.hasOwnProperty(G)||(O!==V?Kt(O)&&Kt(V)?!vi(O,V)||W?bt(G):A.protectedKeys[G]=!0:O!==void 0?bt(G):y.add(G):O!==void 0&&y.has(G)?bt(G):A.protectedKeys[G]=!0)}A.prevProp=I,A.prevResolvedValues=it,A.isActive&&(x=g(g({},x),it)),o&&t.blockInitialAnimation&&(X=!1),X&&!N&&h.push.apply(h,K([],L(et.map(function(C){return{animation:C,options:g({type:w},c)}})),!1))},S=0;S=3;if(!(!f&&!p)){var h=v.point,y=fe().timestamp;o.history.push(g(g({},h),{timestamp:y}));var x=o.handlers,P=x.onStart,b=x.onMove;f||(P&&P(o.lastMoveEvent,v),o.startEvent=o.lastMoveEvent),b&&b(o.lastMoveEvent,v)}}},this.handlePointerMove=function(v,f){if(o.lastMoveEvent=v,o.lastMoveEventInfo=Ie(f,o.transformPagePoint),ri(v)&&v.buttons===0){o.handlePointerUp(v,f);return}k.update(o.updatePoint,!0)},this.handlePointerUp=function(v,f){o.end();var p=o.handlers,h=p.onEnd,y=p.onSessionEnd,x=Fe(Ie(f,o.transformPagePoint),o.history);o.startEvent&&h&&h(v,x),y&&y(v,x)},!(ni(e)&&e.touches.length>1)){this.handlers=r,this.transformPagePoint=i;var s=Lr(e),u=Ie(s,this.transformPagePoint),l=u.point,c=fe().timestamp;this.history=[g(g({},l),{timestamp:c})];var d=r.onSessionStart;d&&d(e,Fe(u,this.history)),this.removeListeners=Te(Et(window,"pointermove",this.handlePointerMove),Et(window,"pointerup",this.handlePointerUp),Et(window,"pointercancel",this.handlePointerUp))}}return t.prototype.updateHandlers=function(e){this.handlers=e},t.prototype.end=function(){this.removeListeners&&this.removeListeners(),ht.update(this.updatePoint)},t}();function Ie(t,e){return e?{point:e(t.point)}:t}function Fn(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Fe(t,e){var r=t.point;return{point:r,delta:Fn(r,Si(e)),offset:Fn(r,Vl(e)),velocity:Tl(e,.1)}}function Vl(t){return t[0]}function Si(t){return t[t.length-1]}function Tl(t,e){if(t.length<2)return{x:0,y:0};for(var r=t.length-1,n=null,o=Si(t);r>=0&&(n=t[r],!(o.timestamp-n.timestamp>he(e)));)r--;if(!n)return{x:0,y:0};var a=(o.timestamp-n.timestamp)/1e3;if(a===0)return{x:0,y:0};var i={x:(o.x-n.x)/a,y:(o.y-n.y)/a};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function Cl(t,e,r){var n=e.min,o=e.max;return n!==void 0&&to&&(t=r?F(o,t,r.max):Math.min(t,o)),t}function jn(t,e,r){return{min:e!==void 0?t.min+e:void 0,max:r!==void 0?t.max+r-(t.max-t.min):void 0}}function El(t,e){var r=e.top,n=e.left,o=e.bottom,a=e.right;return{x:jn(t.x,n,a),y:jn(t.y,r,o)}}function Bn(t,e){var r,n=e.min-t.min,o=e.max-t.max;return e.max-e.minn?r=kt(e.min,e.max-n,t.min):n>o&&(r=kt(t.min,t.max-o,e.min)),de(0,1,r)}function Ml(t,e){var r={};return e.min!==void 0&&(r.min=e.min-t.min),e.max!==void 0&&(r.max=e.max-t.min),r}var rr=.35;function Rl(t){return t===void 0&&(t=rr),t===!1?t=0:t===!0&&(t=rr),{x:Un(t,"left","right"),y:Un(t,"top","bottom")}}function Un(t,e,r){return{min:_n(t,e),max:_n(t,r)}}function _n(t,e){var r;return typeof t=="number"?t:(r=t[e])!==null&&r!==void 0?r:0}function Pi(t){var e=t.top,r=t.left,n=t.right,o=t.bottom;return{x:{min:r,max:n},y:{min:e,max:o}}}function Ll(t){var e=t.x,r=t.y;return{top:r.min,right:e.max,bottom:r.max,left:e.min}}function Ol(t,e){if(!e)return t;var r=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}function Vi(t,e){return Pi(Ol(t.getBoundingClientRect(),e))}function Dl(t,e,r){var n=Vi(t,r),o=e.scroll;return o&&(Vt(n.x,o.x),Vt(n.y,o.y)),n}var Il=new WeakMap,Fl=function(){function t(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=U(),this.visualElement=e}return t.prototype.start=function(e,r){var n=this,o=r===void 0?{}:r,a=o.snapToCursor,i=a===void 0?!1:a;if(this.visualElement.isPresent!==!1){var s=function(d){n.stopAnimation(),i&&n.snapToCursor(Lr(d,"page").point)},u=function(d,v){var f,p=n.getProps(),h=p.drag,y=p.dragPropagation,x=p.onDragStart;h&&!y&&(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=si(h),!n.openGlobalLock)||(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),Q(function(P){var b,S,T=n.getAxisMotionValue(P).get()||0;if(tt.test(T)){var M=(S=(b=n.visualElement.projection)===null||b===void 0?void 0:b.layout)===null||S===void 0?void 0:S.actual[P];if(M){var R=ot(M);T=R*(parseFloat(T)/100)}}n.originPoint[P]=T}),x==null||x(d,v),(f=n.visualElement.animationState)===null||f===void 0||f.setActive(D.Drag,!0))},l=function(d,v){var f=n.getProps(),p=f.dragPropagation,h=f.dragDirectionLock,y=f.onDirectionLock,x=f.onDrag;if(!(!p&&!n.openGlobalLock)){var P=v.offset;if(h&&n.currentDirection===null){n.currentDirection=jl(P),n.currentDirection!==null&&(y==null||y(n.currentDirection));return}n.updateAxis("x",v.point,P),n.updateAxis("y",v.point,P),n.visualElement.syncRender(),x==null||x(d,v)}},c=function(d,v){return n.stop(d,v)};this.panSession=new bi(e,{onSessionStart:s,onStart:u,onMove:l,onSessionEnd:c},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},t.prototype.stop=function(e,r){var n=this.isDragging;if(this.cancel(),!!n){var o=r.velocity;this.startAnimation(o);var a=this.getProps().onDragEnd;a==null||a(e,r)}},t.prototype.cancel=function(){var e,r;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(e=this.panSession)===null||e===void 0||e.end(),this.panSession=void 0;var n=this.getProps().dragPropagation;!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(r=this.visualElement.animationState)===null||r===void 0||r.setActive(D.Drag,!1)},t.prototype.updateAxis=function(e,r,n){var o=this.getProps().drag;if(!(!n||!oe(e,o,this.currentDirection))){var a=this.getAxisMotionValue(e),i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=Cl(i,this.constraints[e],this.elastic[e])),a.set(i)}},t.prototype.resolveConstraints=function(){var e=this,r=this.getProps(),n=r.dragConstraints,o=r.dragElastic,a=(this.visualElement.projection||{}).layout,i=this.constraints;n&&Pt(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&a?this.constraints=El(a.actual,n):this.constraints=!1,this.elastic=Rl(o),i!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&Q(function(s){e.getAxisMotionValue(s)&&(e.constraints[s]=Ml(a.actual[s],e.constraints[s]))})},t.prototype.resolveRefConstraints=function(){var e=this.getProps(),r=e.dragConstraints,n=e.onMeasureDragConstraints;if(!r||!Pt(r))return!1;var o=r.current,a=this.visualElement.projection;if(!a||!a.layout)return!1;var i=Dl(o,a.root,this.visualElement.getTransformPagePoint()),s=wl(a.layout.actual,i);if(n){var u=n(Ll(s));this.hasMutatedConstraints=!!u,u&&(s=Pi(u))}return s},t.prototype.startAnimation=function(e){var r=this,n=this.getProps(),o=n.drag,a=n.dragMomentum,i=n.dragElastic,s=n.dragTransition,u=n.dragSnapToOrigin,l=n.onDragTransitionEnd,c=this.constraints||{},d=Q(function(v){var f;if(!!oe(v,o,r.currentDirection)){var p=(f=c==null?void 0:c[v])!==null&&f!==void 0?f:{};u&&(p={min:0,max:0});var h=i?200:1e6,y=i?40:1e7,x=g(g({type:"inertia",velocity:a?e[v]:0,bounceStiffness:h,bounceDamping:y,timeConstant:750,restDelta:1,restSpeed:10},s),p);return r.startAxisValueAnimation(v,x)}});return Promise.all(d).then(l)},t.prototype.startAxisValueAnimation=function(e,r){var n=this.getAxisMotionValue(e);return Pr(e,n,0,r)},t.prototype.stopAnimation=function(){var e=this;Q(function(r){return e.getAxisMotionValue(r).stop()})},t.prototype.getAxisMotionValue=function(e){var r,n,o="_drag"+e.toUpperCase(),a=this.visualElement.getProps()[o];return a||this.visualElement.getValue(e,(n=(r=this.visualElement.getProps().initial)===null||r===void 0?void 0:r[e])!==null&&n!==void 0?n:0)},t.prototype.snapToCursor=function(e){var r=this;Q(function(n){var o=r.getProps().drag;if(!!oe(n,o,r.currentDirection)){var a=r.visualElement.projection,i=r.getAxisMotionValue(n);if(a&&a.layout){var s=a.layout.actual[n],u=s.min,l=s.max;i.set(e[n]-F(u,l,.5))}}})},t.prototype.scalePositionWithinConstraints=function(){var e=this,r,n=this.getProps(),o=n.drag,a=n.dragConstraints,i=this.visualElement.projection;if(!(!Pt(a)||!i||!this.constraints)){this.stopAnimation();var s={x:0,y:0};Q(function(l){var c=e.getAxisMotionValue(l);if(c){var d=c.get();s[l]=Al({min:d,max:d},e.constraints[l])}});var u=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=u?u({},""):"none",(r=i.root)===null||r===void 0||r.updateScroll(),i.updateLayout(),this.resolveConstraints(),Q(function(l){if(!!oe(l,o,null)){var c=e.getAxisMotionValue(l),d=e.constraints[l],v=d.min,f=d.max;c.set(F(v,f,s[l]))}})}},t.prototype.addListeners=function(){var e=this,r;Il.set(this.visualElement,this);var n=this.visualElement.getInstance(),o=Et(n,"pointerdown",function(l){var c=e.getProps(),d=c.drag,v=c.dragListener,f=v===void 0?!0:v;d&&f&&e.start(l)}),a=function(){var l=e.getProps().dragConstraints;Pt(l)&&(e.constraints=e.resolveRefConstraints())},i=this.visualElement.projection,s=i.addEventListener("measure",a);i&&!i.layout&&((r=i.root)===null||r===void 0||r.updateScroll(),i.updateLayout()),a();var u=mt(window,"resize",function(){e.scalePositionWithinConstraints()});return i.addEventListener("didUpdate",function(l){var c=l.delta,d=l.hasLayoutChanged;e.isDragging&&d&&(Q(function(v){var f=e.getAxisMotionValue(v);!f||(e.originPoint[v]+=c[v].translate,f.set(f.get()+c[v].translate))}),e.visualElement.syncRender())}),function(){u(),o(),s()}},t.prototype.getProps=function(){var e=this.visualElement.getProps(),r=e.drag,n=r===void 0?!1:r,o=e.dragDirectionLock,a=o===void 0?!1:o,i=e.dragPropagation,s=i===void 0?!1:i,u=e.dragConstraints,l=u===void 0?!1:u,c=e.dragElastic,d=c===void 0?rr:c,v=e.dragMomentum,f=v===void 0?!0:v;return g(g({},e),{drag:n,dragDirectionLock:a,dragPropagation:s,dragConstraints:l,dragElastic:d,dragMomentum:f})},t}();function oe(t,e,r){return(e===!0||e===t)&&(r===null||r===t)}function jl(t,e){e===void 0&&(e=10);var r=null;return Math.abs(t.y)>e?r="y":Math.abs(t.x)>e&&(r="x"),r}function Bl(t){var e=t.dragControls,r=t.visualElement,n=_(function(){return new Fl(r)});m.exports.useEffect(function(){return e&&e.subscribe(n)},[n,e]),m.exports.useEffect(function(){return n.addListeners()},[n])}function Ul(t){var e=t.onPan,r=t.onPanStart,n=t.onPanEnd,o=t.onPanSessionStart,a=t.visualElement,i=e||r||n||o,s=m.exports.useRef(null),u=m.exports.useContext(ct).transformPagePoint,l={onSessionStart:o,onStart:r,onMove:e,onEnd:function(d,v){s.current=null,n&&n(d,v)}};m.exports.useEffect(function(){s.current!==null&&s.current.updateHandlers(l)});function c(d){s.current=new bi(d,l,{transformPagePoint:u})}xe(a,"pointerdown",i&&c),Or(function(){return s.current&&s.current.end()})}var Ti={pan:lt(Ul),drag:lt(Bl)},ie=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];function _l(){var t=ie.map(function(){return new jt}),e={},r={clearAllListeners:function(){return t.forEach(function(n){return n.clear()})},updatePropListeners:function(n){ie.forEach(function(o){var a,i="on"+o,s=n[i];(a=e[o])===null||a===void 0||a.call(e),s&&(e[o]=r[i](s))})}};return t.forEach(function(n,o){r["on"+ie[o]]=function(a){return n.add(a)},r["notify"+ie[o]]=function(){for(var a=[],i=0;i5)return o;var u=nt.createTransformer(t),l=typeof s[0]!="number"?1:0,c=n.x.scale*r.x,d=n.y.scale*r.y;s[0+l]/=c,s[1+l]/=d;var v=F(c,d,.5);typeof s[2+l]=="number"&&(s[2+l]/=v),typeof s[3+l]=="number"&&(s[3+l]/=v);var f=u(s);if(a){var p=0;f=f.replace(Yn,function(){var h=i[p];return p++,h})}return f}},nc=function(t){Qn(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.componentDidMount=function(){var r=this,n=this.props,o=n.visualElement,a=n.layoutGroup,i=n.switchLayoutGroup,s=n.layoutId,u=o.projection;ks(ic),u&&(a!=null&&a.group&&a.group.add(u),(i==null?void 0:i.register)&&s&&i.register(u),u.root.didUpdate(),u.addEventListener("animationComplete",function(){r.safeToRemove()}),u.setOptions(g(g({},u.options),{onExitComplete:function(){return r.safeToRemove()}}))),Nt.hasEverUpdated=!0},e.prototype.getSnapshotBeforeUpdate=function(r){var n=this,o=this.props,a=o.layoutDependency,i=o.visualElement,s=o.drag,u=o.isPresent,l=i.projection;return l&&(l.isPresent=u,s||r.layoutDependency!==a||a===void 0?l.willUpdate():this.safeToRemove(),r.isPresent!==u&&(u?l.promote():l.relegate()||k.postRender(function(){var c;!((c=l.getStack())===null||c===void 0)&&c.members.length||n.safeToRemove()}))),null},e.prototype.componentDidUpdate=function(){var r=this.props.visualElement.projection;r&&(r.root.didUpdate(),!r.currentAnimation&&r.isLead()&&this.safeToRemove())},e.prototype.componentWillUnmount=function(){var r=this.props,n=r.visualElement,o=r.layoutGroup,a=r.switchLayoutGroup,i=n.projection;i&&(i.scheduleCheckAfterUnmount(),o!=null&&o.group&&o.group.remove(i),a!=null&&a.deregister&&a.deregister(i))},e.prototype.safeToRemove=function(){var r=this.props.safeToRemove;r==null||r()},e.prototype.render=function(){return null},e}(Jn.Component);function oc(t){var e=L(di(),2),r=e[0],n=e[1],o=m.exports.useContext(Wt);return ki(nc,zr({},g({},t,{layoutGroup:o,switchLayoutGroup:m.exports.useContext(zo),isPresent:r,safeToRemove:n})))}var ic={borderRadius:g(g({},Dt),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Dt,borderTopRightRadius:Dt,borderBottomLeftRadius:Dt,borderBottomRightRadius:Dt,boxShadow:rc},Ri={measureLayout:oc},ac=Ho({attachResizeListener:function(t,e){return t.addEventListener("resize",e,{passive:!0}),function(){return t.removeEventListener("resize",e)}},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}}}),pt={current:void 0},Ur=Ho({measureScroll:function(t){return{x:t.scrollLeft,y:t.scrollTop}},defaultParent:function(){if(!pt.current){var t=new ac(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),pt.current=t}return pt.current},resetTransform:function(t,e){t.style.transform=e!=null?e:"none"}}),Li=g(g(g(g({},xi),ci),Ti),Ri),Oi=Go(function(t,e){return Rr(t,e,Li,Br,Ur)});function Gc(t){return ko(Rr(t,{forwardMotionProps:!1},Li,Br,Ur))}var Kc=Go(Rr);function Di(){var t=m.exports.useRef(!1);return wt(function(){return t.current=!0,function(){t.current=!1}},[]),t}function _r(){var t=Di(),e=L(m.exports.useState(0),2),r=e[0],n=e[1],o=m.exports.useCallback(function(){t.current&&n(r+1)},[r]),a=m.exports.useCallback(function(){return k.postRender(o)},[o]);return[a,r]}var je=function(t){var e=t.children,r=t.initial,n=t.isPresent,o=t.onExitComplete,a=t.custom,i=t.presenceAffectsLayout,s=_(sc),u=fi(),l=m.exports.useMemo(function(){return{id:u,initial:r,isPresent:n,custom:a,onExitComplete:function(c){var d,v;s.set(c,!0);try{for(var f=Gi(s.values()),p=f.next();!p.done;p=f.next()){var h=p.value;if(!h)return}}catch(y){d={error:y}}finally{try{p&&!p.done&&(v=f.return)&&v.call(f)}finally{if(d)throw d.error}}o==null||o()},register:function(c){return s.set(c,!1),function(){return s.delete(c)}}}},i?void 0:[n]);return m.exports.useMemo(function(){s.forEach(function(c,d){return s.set(d,!1)})},[n]),m.exports.useEffect(function(){!n&&!s.size&&(o==null||o())},[n]),m.exports.createElement(At.Provider,{value:l},e)};function sc(){return new Map}var St=function(t){return t.key||""};function uc(t,e){t.forEach(function(r){var n=St(r);e.set(n,r)})}function lc(t){var e=[];return m.exports.Children.forEach(t,function(r){m.exports.isValidElement(r)&&e.push(r)}),e}var Yc=function(t){var e=t.children,r=t.custom,n=t.initial,o=n===void 0?!0:n,a=t.onExitComplete,i=t.exitBeforeEnter,s=t.presenceAffectsLayout,u=s===void 0?!0:s,l=L(_r(),1),c=l[0],d=m.exports.useContext(Wt).forceRender;d&&(c=d);var v=Di(),f=lc(e),p=f,h=new Set,y=m.exports.useRef(p),x=m.exports.useRef(new Map).current,P=m.exports.useRef(!0);if(wt(function(){P.current=!1,uc(f,x),y.current=p}),Or(function(){P.current=!0,x.clear(),h.clear()}),P.current)return m.exports.createElement(m.exports.Fragment,null,p.map(function(w){return m.exports.createElement(je,{key:St(w),isPresent:!0,initial:o?void 0:!1,presenceAffectsLayout:u},w)}));p=K([],L(p),!1);for(var b=y.current.map(St),S=f.map(St),T=b.length,M=0;M0?1:-1,i=t[o+a];if(!i)return t;var s=t[o],u=i.layout,l=F(u.min,u.max,.5);return a===1&&s.layout.max+r>l||a===-1&&s.layout.min+r.001?1/t:Nc};function ff(t){var e=gt(1),r=gt(1),n=eo();t?(e=t.scaleX||e,r=t.scaleY||r):n&&(e=n.getValue("scaleX",1),r=n.getValue("scaleY",1));var o=ir(e,qn),a=ir(r,qn);return{scaleX:o,scaleY:a}}export{Yc as AnimatePresence,Wc as AnimateSharedLayout,D as AnimationType,cc as DeprecatedLayoutGroupContext,Ic as DragControls,Zs as FlatTree,vc as LayoutGroup,Wt as LayoutGroupContext,$c as LazyMotion,Xc as MotionConfig,ct as MotionConfigContext,be as MotionContext,gs as MotionValue,At as PresenceContext,Zc as Reorder,zo as SwitchLayoutGroupContext,Et as addPointerEvent,ks as addScaleCorrector,Rs as animate,Ir as animateVisualElement,Dc as animationControls,xi as animations,ot as calcLength,mi as checkTargetForNewValues,U as createBox,Gc as createDomMotionComponent,ko as createMotionComponent,wc as domAnimation,qc as domMax,Tu as filterProps,Mt as isBrowser,ui as isDragActive,$ as isMotionValue,ye as isValidMotionProp,Kc as m,Mr as makeUseVisualState,Oi as motion,q as motionValue,ue as resolveMotionValue,Pc as transform,of as useAnimation,Oc as useAnimationFrame,af as useCycle,cf as useDeprecatedAnimatedState,ff as useDeprecatedInvertedScale,Je as useDomEvent,sf as useDragControls,ef as useElementScroll,_r as useForceUpdate,jc as useInstantLayoutTransition,uf as useInstantTransition,kc as useIsPresent,wt as useIsomorphicLayoutEffect,Jc as useMotionTemplate,gt as useMotionValue,di as usePresence,$i as useReducedMotion,Zi as useReducedMotionConfig,lf as useResetProjection,Qc as useSpring,nf as useTime,ir as useTransform,Or as useUnmountEffect,tf as useVelocity,rf as useViewportScroll,eo as useVisualElementContext,jr as visualElement,oi as wrapHandler}; diff --git a/bin/Yacd-meta-gh-pages/assets/index.cd34981b.js b/bin/Yacd-meta-gh-pages/assets/index.cd34981b.js deleted file mode 100644 index 9eb5c491..00000000 --- a/bin/Yacd-meta-gh-pages/assets/index.cd34981b.js +++ /dev/null @@ -1 +0,0 @@ -function m(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function l(e){m(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||typeof 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!="undefined"&&(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://git.io/fjule"),console.warn(new Error().stack)),new Date(NaN))}function y(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function g(e,t){m(2,arguments);var a=l(e),n=l(t),i=a.getTime()-n.getTime();return i<0?-1:i>0?1:i}function N(e,t){m(2,arguments);var a=l(e),n=l(t),i=a.getFullYear()-n.getFullYear(),r=a.getMonth()-n.getMonth();return i*12+r}function F(e,t){return m(2,arguments),l(e).getTime()-l(t).getTime()}var D={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}},x="trunc";function k(e){return e?D[e]:D[x]}function A(e){m(1,arguments);var t=l(e);return t.setHours(23,59,59,999),t}function C(e){m(1,arguments);var t=l(e),a=t.getMonth();return t.setFullYear(t.getFullYear(),a+1,0),t.setHours(23,59,59,999),t}function X(e){m(1,arguments);var t=l(e);return A(t).getTime()===C(t).getTime()}function I(e,t){m(2,arguments);var a=l(e),n=l(t),i=g(a,n),r=Math.abs(N(a,n)),o;if(r<1)o=0;else{a.getMonth()===1&&a.getDate()>27&&a.setDate(30),a.setMonth(a.getMonth()-i*r);var s=g(a,n)===-i;X(l(e))&&r===1&&g(e,n)===1&&(s=!1),o=i*(r-Number(s))}return o===0?0:o}function O(e,t,a){m(2,arguments);var n=F(e,t)/1e3;return k(a==null?void 0:a.roundingMethod)(n)}var j={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"}},E=function(e,t,a){var n,i=j[e];return typeof i=="string"?n=i:t===1?n=i.one:n=i.other.replace("{{count}}",t.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+n:n+" ago":n},R=E;function M(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=t.width?String(t.width):e.defaultWidth,n=e.formats[a]||e.formats[e.defaultWidth];return n}}var Y={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},_={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},z={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},V={date:M({formats:Y,defaultWidth:"full"}),time:M({formats:_,defaultWidth:"full"}),dateTime:M({formats:z,defaultWidth:"full"})},q=V,L={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},H=function(e,t,a,n){return L[e]},J=H;function c(e){return function(t,a){var n=a||{},i=n.context?String(n.context):"standalone",r;if(i==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,s=n.width?String(n.width):o;r=e.formattingValues[s]||e.formattingValues[o]}else{var d=e.defaultWidth,h=n.width?String(n.width):e.defaultWidth;r=e.values[h]||e.values[d]}var u=e.argumentCallback?e.argumentCallback(t):t;return r[u]}}var U={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Q={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},$={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"]},B={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"]},K={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"}},G={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"}},Z=function(e,t){var a=Number(e),n=a%100;if(n>20||n<10)switch(n%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},ee={ordinalNumber:Z,era:c({values:U,defaultWidth:"wide"}),quarter:c({values:Q,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:c({values:$,defaultWidth:"wide"}),day:c({values:B,defaultWidth:"wide"}),dayPeriod:c({values:K,defaultWidth:"wide",formattingValues:G,defaultFormattingWidth:"wide"})},te=ee;function v(e){return function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],r=t.match(i);if(!r)return null;var o=r[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(s)?ne(s,function(f){return f.test(o)}):ae(s,function(f){return f.test(o)}),h;h=e.valueCallback?e.valueCallback(d):d,h=a.valueCallback?a.valueCallback(h):h;var u=t.slice(o.length);return{value:h,rest:u}}}function ae(e,t){for(var a in e)if(e.hasOwnProperty(a)&&t(e[a]))return a}function ne(e,t){for(var a=0;a1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var i=n[0],r=t.match(e.parsePattern);if(!r)return null;var o=e.valueCallback?e.valueCallback(r[0]):r[0];o=a.valueCallback?a.valueCallback(o):o;var s=t.slice(i.length);return{value:o,rest:s}}}var ie=/^(\d+)(th|st|nd|rd)?/i,oe=/\d+/i,ue={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},se={any:[/^b/i,/^(a|c)/i]},le={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},de={any:[/1/i,/2/i,/3/i,/4/i]},fe={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},me={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]},he={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},ce={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]},ve={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},ge={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}},be={ordinalNumber:re({matchPattern:ie,parsePattern:oe,valueCallback:function(e){return parseInt(e,10)}}),era:v({matchPatterns:ue,defaultMatchWidth:"wide",parsePatterns:se,defaultParseWidth:"any"}),quarter:v({matchPatterns:le,defaultMatchWidth:"wide",parsePatterns:de,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:v({matchPatterns:fe,defaultMatchWidth:"wide",parsePatterns:me,defaultParseWidth:"any"}),day:v({matchPatterns:he,defaultMatchWidth:"wide",parsePatterns:ce,defaultParseWidth:"any"}),dayPeriod:v({matchPatterns:ve,defaultMatchWidth:"any",parsePatterns:ge,defaultParseWidth:"any"})},Me=be,pe={code:"en-US",formatDistance:R,formatLong:q,formatRelative:J,localize:te,match:Me,options:{weekStartsOn:0,firstWeekContainsDate:1}},we=pe;function ye(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");t=t||{};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}function De(e){return ye({},e)}var P=1440,Pe=2520,p=43200,Se=86400;function Te(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};m(2,arguments);var n=a.locale||we;if(!n.formatDistance)throw new RangeError("locale must contain formatDistance property");var i=g(e,t);if(isNaN(i))throw new RangeError("Invalid time value");var r=De(a);r.addSuffix=Boolean(a.addSuffix),r.comparison=i;var o,s;i>0?(o=l(t),s=l(e)):(o=l(e),s=l(t));var d=O(s,o),h=(y(s)-y(o))/1e3,u=Math.round((d-h)/60),f;if(u<2)return a.includeSeconds?d<5?n.formatDistance("lessThanXSeconds",5,r):d<10?n.formatDistance("lessThanXSeconds",10,r):d<20?n.formatDistance("lessThanXSeconds",20,r):d<40?n.formatDistance("halfAMinute",null,r):d<60?n.formatDistance("lessThanXMinutes",1,r):n.formatDistance("xMinutes",1,r):u===0?n.formatDistance("lessThanXMinutes",1,r):n.formatDistance("xMinutes",u,r);if(u<45)return n.formatDistance("xMinutes",u,r);if(u<90)return n.formatDistance("aboutXHours",1,r);if(ut in e?$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,b=(e,t)=>{for(var n in t||(t={}))E.call(t,n)&&S(e,n,t[n]);if(h)for(var n of h(t))J.call(t,n)&&S(e,n,t[n]);return e},v=(e,t)=>k(e,y(t));import{J as O,K as R,L as u}from"./index.1ca2d13d.js";const D="/logs",x=new TextDecoder("utf-8"),A=()=>Math.floor((1+Math.random())*65536).toString(16);let p=!1,i=!1,f="",s,g;function m(e,t){let n;try{n=JSON.parse(e)}catch{console.log("JSON.parse error",JSON.parse(e))}const r=new Date,l=F(r);n.time=l,n.id=+r-0+A(),n.even=p=!p,t(n)}function F(e){const t=e.getFullYear()%100,n=u(e.getMonth()+1,2),r=u(e.getDate(),2),l=u(e.getHours(),2),o=u(e.getMinutes(),2),c=u(e.getSeconds(),2);return`${t}-${n}-${r} ${l}:${o}:${c}`}function M(e,t){return e.read().then(({done:n,value:r})=>{f+=x.decode(r,{stream:!n});const o=f.split(` -`),c=o[o.length-1];for(let d=0;de[n]).join("|")}let w,a;function H(e,t){if(e.logLevel==="uninit"||i||s&&s.readyState===1)return;g=t;const n=O(e,D);s=new WebSocket(n),s.addEventListener("error",()=>{N(e,t)}),s.addEventListener("message",function(r){m(r.data,t)})}function Y(){s.close(),a&&a.abort()}function j(e){!g||!s||(s.close(),i=!1,H(e,g))}function N(e,t){if(a&&L(e)!==w)a.abort();else if(i)return;i=!0,w=L(e),a=new AbortController;const n=a.signal,{url:r,init:l}=R(e);fetch(r+D+"?level="+e.logLevel,v(b({},l),{signal:n})).then(o=>{const c=o.body.getReader();M(c,t)},o=>{i=!1,!n.aborted&&console.log("GET /logs error:",o.message)})}export{H as f,j as r,Y as s}; diff --git a/bin/Yacd-meta-gh-pages/assets/play.2aacfa82.js b/bin/Yacd-meta-gh-pages/assets/play.2aacfa82.js deleted file mode 100644 index 6fc0909e..00000000 --- a/bin/Yacd-meta-gh-pages/assets/play.2aacfa82.js +++ /dev/null @@ -1 +0,0 @@ -var h=Object.defineProperty,d=Object.defineProperties;var w=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;var v=(e,t,r)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,p=(e,t)=>{for(var r in t||(t={}))b.call(t,r)&&v(e,r,t[r]);if(y)for(var r of y(t))O.call(t,r)&&v(e,r,t[r]);return e},f=(e,t)=>d(e,w(t));import{r as g,b as j,j as a,P as s}from"./index.1ca2d13d.js";function P(e,t){if(e==null)return{};var r=k(e,t),i,o;if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&(!Object.prototype.propertyIsEnumerable.call(e,i)||(r[i]=e[i]))}return r}function k(e,t){if(e==null)return{};var r={},i=Object.keys(e),o,n;for(n=0;n=0)&&(r[o]=e[o]);return r}var c=g.exports.forwardRef(function(e,t){var r=e.color,i=r===void 0?"currentColor":r,o=e.size,n=o===void 0?24:o,l=P(e,["color","size"]);return j("svg",f(p({ref:t,xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),{children:[a("rect",{x:"6",y:"4",width:"4",height:"16"}),a("rect",{x:"14",y:"4",width:"4",height:"16"})]}))});c.propTypes={color:s.string,size:s.oneOfType([s.string,s.number])};c.displayName="Pause";var L=c;function x(e,t){if(e==null)return{};var r=m(e,t),i,o;if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&(!Object.prototype.propertyIsEnumerable.call(e,i)||(r[i]=e[i]))}return r}function m(e,t){if(e==null)return{};var r={},i=Object.keys(e),o,n;for(n=0;n=0)&&(r[o]=e[o]);return r}var u=g.exports.forwardRef(function(e,t){var r=e.color,i=r===void 0?"currentColor":r,o=e.size,n=o===void 0?24:o,l=x(e,["color","size"]);return a("svg",f(p({ref:t,xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),{children:a("polygon",{points:"5 3 19 12 5 21 5 3"})}))});u.propTypes={color:s.string,size:s.oneOfType([s.string,s.number])};u.displayName="Play";var W=u;export{W as P,L as a}; diff --git a/bin/Yacd-meta-gh-pages/assets/roboto-mono-latin-400-normal.2dfc0e86.woff b/bin/Yacd-meta-gh-pages/assets/roboto-mono-latin-400-normal.2dfc0e86.woff deleted file mode 100644 index f319fbfa..00000000 Binary files a/bin/Yacd-meta-gh-pages/assets/roboto-mono-latin-400-normal.2dfc0e86.woff and /dev/null differ diff --git a/bin/Yacd-meta-gh-pages/assets/roboto-mono-latin-400-normal.e1fd013a.woff2 b/bin/Yacd-meta-gh-pages/assets/roboto-mono-latin-400-normal.e1fd013a.woff2 deleted file mode 100644 index ed384d22..00000000 Binary files a/bin/Yacd-meta-gh-pages/assets/roboto-mono-latin-400-normal.e1fd013a.woff2 and /dev/null differ diff --git a/bin/Yacd-meta-gh-pages/assets/rotate-cw.a7721ea7.js b/bin/Yacd-meta-gh-pages/assets/rotate-cw.a7721ea7.js deleted file mode 100644 index 289db38d..00000000 --- a/bin/Yacd-meta-gh-pages/assets/rotate-cw.a7721ea7.js +++ /dev/null @@ -1 +0,0 @@ -var y=Object.defineProperty,g=Object.defineProperties;var w=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable;var l=(t,e,r)=>e in t?y(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,f=(t,e)=>{for(var r in e||(e={}))h.call(e,r)&&l(t,r,e[r]);if(p)for(var r of p(e))b.call(e,r)&&l(t,r,e[r]);return t},c=(t,e)=>g(t,w(e));import{r as d,b as j,j as v,P as s}from"./index.1ca2d13d.js";function O(t,e){if(t==null)return{};var r=k(t,e),i,o;if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);for(o=0;o=0)&&(!Object.prototype.propertyIsEnumerable.call(t,i)||(r[i]=t[i]))}return r}function k(t,e){if(t==null)return{};var r={},i=Object.keys(t),o,n;for(n=0;n=0)&&(r[o]=t[o]);return r}var a=d.exports.forwardRef(function(t,e){var r=t.color,i=r===void 0?"currentColor":r,o=t.size,n=o===void 0?24:o,u=O(t,["color","size"]);return j("svg",c(f({ref:e,xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},u),{children:[v("polyline",{points:"23 4 23 10 17 10"}),v("path",{d:"M20.49 15a9 9 0 1 1-2.12-9.36L23 10"})]}))});a.propTypes={color:s.string,size:s.oneOfType([s.string,s.number])};a.displayName="RotateCw";var P=a;export{P as R}; diff --git a/bin/Yacd-meta-gh-pages/assets/useRemainingViewPortHeight.a89bff9d.js b/bin/Yacd-meta-gh-pages/assets/useRemainingViewPortHeight.a89bff9d.js deleted file mode 100644 index 3373e94c..00000000 --- a/bin/Yacd-meta-gh-pages/assets/useRemainingViewPortHeight.a89bff9d.js +++ /dev/null @@ -1 +0,0 @@ -import{h as r}from"./index.1ca2d13d.js";const{useState:s,useRef:u,useCallback:a,useLayoutEffect:c}=r;function d(){const t=u(null),[n,i]=s(200),e=a(()=>{const{top:o}=t.current.getBoundingClientRect();i(window.innerHeight-o)},[]);return c(()=>(e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}),[e]),[t,n]}export{d as u}; diff --git a/bin/Yacd-meta-gh-pages/assets/zh.c14b4bb9.js b/bin/Yacd-meta-gh-pages/assets/zh.c14b4bb9.js deleted file mode 100644 index 69192a16..00000000 --- a/bin/Yacd-meta-gh-pages/assets/zh.c14b4bb9.js +++ /dev/null @@ -1 +0,0 @@ -const u={Overview:"\u6982\u89C8",Proxies:"\u4EE3\u7406",Rules:"\u89C4\u5219",Conns:"\u8FDE\u63A5",Config:"\u914D\u7F6E",Logs:"\u65E5\u5FD7",Upload:"\u4E0A\u4F20",Download:"\u4E0B\u8F7D","Upload Total":"\u4E0A\u4F20\u603B\u91CF","Download Total":"\u4E0B\u8F7D\u603B\u91CF","Active Connections":"\u6D3B\u52A8\u8FDE\u63A5","Pause Refresh":"\u6682\u505C\u5237\u65B0","Resume Refresh":"\u7EE7\u7EED\u5237\u65B0",close_all_connections:"\u95ED\u5173\u6240\u6709\u8FDE\u63A5",Search:"\u67E5\u627E",Up:"\u4E0A\u4F20",Down:"\u4E0B\u8F7D","Test Latency":"\u5EF6\u8FDF\u6D4B\u901F",settings:"\u8BBE\u7F6E",sort_in_grp:"\u4EE3\u7406\u7EC4\u6761\u76EE\u6392\u5E8F",hide_unavail_proxies:"\u9690\u85CF\u4E0D\u53EF\u7528\u4EE3\u7406",auto_close_conns:"\u5207\u6362\u4EE3\u7406\u65F6\u81EA\u52A8\u65AD\u5F00\u65E7\u8FDE\u63A5",order_natural:"\u539F config \u6587\u4EF6\u4E2D\u7684\u6392\u5E8F",order_latency_asc:"\u6309\u5EF6\u8FDF\u4ECE\u5C0F\u5230\u5927",order_latency_desc:"\u6309\u5EF6\u8FDF\u4ECE\u5927\u5230\u5C0F",order_name_asc:"\u6309\u540D\u79F0\u5B57\u6BCD\u6392\u5E8F (A-Z)",order_name_desc:"\u6309\u540D\u79F0\u5B57\u6BCD\u6392\u5E8F (Z-A)",Connections:"\u8FDE\u63A5",Active:"\u6D3B\u52A8",Closed:"\u5DF2\u65AD\u5F00",switch_theme:"\u5207\u6362\u4E3B\u9898",theme:"\u4E3B\u9898",about:"\u5173\u4E8E",no_logs:"\u6682\u65E0\u65E5\u5FD7...",chart_style:"\u6D41\u91CF\u56FE\u6837\u5F0F",latency_test_url:"\u5EF6\u8FDF\u6D4B\u901F URL",lang:"\u8BED\u8A00",update_all_rule_provider:"\u66F4\u65B0\u6240\u6709 rule provider",update_all_proxy_provider:"\u66F4\u65B0\u6240\u6709 proxy providers",reload_config_file:"\u91CD\u8F7D\u914D\u7F6E\u6587\u4EF6",update_geo_databases_file:"\u66F4\u65B0 GEO \u6570\u636E\u5E93\u6587\u4EF6",flush_fake_ip_pool:"\u6E05\u7A7A FakeIP \u6570\u636E\u5E93",enable_tun_device:"\u5F00\u542F TUN \u8F6C\u53D1",allow_lan:"\u5141\u8BB8\u5C40\u57DF\u7F51\u8FDE\u63A5",tls_sniffing:"SNI \u55C5\u63A2",c_host:"\u57DF\u540D",c_process:"\u8FDB\u7A0B",c_dl:"\u4E0B\u8F7D",c_ul:"\u4E0A\u4F20",c_dl_speed:"\u4E0B\u8F7D\u901F\u7387",c_ul_speed:"\u4E0A\u4F20\u901F\u7387",c_chains:"\u8282\u70B9\u94FE",c_rule:"\u89C4\u5219",c_time:"\u8FDE\u63A5\u65F6\u95F4",c_source:"\u6765\u6E90",c_destination_ip:"\u76EE\u6807IP",c_type:"\u7C7B\u578B"};export{u as data}; diff --git a/bin/Yacd-meta-gh-pages/index.html b/bin/Yacd-meta-gh-pages/index.html deleted file mode 100644 index fa460870..00000000 --- a/bin/Yacd-meta-gh-pages/index.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - yacd - - - - -
- - - diff --git a/bin/Yacd-meta-gh-pages/logo.png b/bin/Yacd-meta-gh-pages/logo.png deleted file mode 100644 index 1f6323da..00000000 Binary files a/bin/Yacd-meta-gh-pages/logo.png and /dev/null differ diff --git a/bin/Yacd-meta-gh-pages/manifest.webmanifest b/bin/Yacd-meta-gh-pages/manifest.webmanifest deleted file mode 100644 index 0fda37af..00000000 --- a/bin/Yacd-meta-gh-pages/manifest.webmanifest +++ /dev/null @@ -1 +0,0 @@ -{"name":"yacd","short_name":"yacd","start_url":"./","display":"standalone","background_color":"#ffffff","lang":"en","scope":"./"} diff --git a/bin/Yacd-meta-gh-pages/registerSW.js b/bin/Yacd-meta-gh-pages/registerSW.js deleted file mode 100644 index 179c13c0..00000000 --- a/bin/Yacd-meta-gh-pages/registerSW.js +++ /dev/null @@ -1 +0,0 @@ -if('serviceWorker' in navigator) {window.addEventListener('load', () => {navigator.serviceWorker.register('./sw.js', { scope: './' })})} \ No newline at end of file diff --git a/bin/Yacd-meta-gh-pages/sw.js b/bin/Yacd-meta-gh-pages/sw.js deleted file mode 100644 index 10a4db8c..00000000 --- a/bin/Yacd-meta-gh-pages/sw.js +++ /dev/null @@ -1,2 +0,0 @@ -var X=Object.defineProperty,Y=Object.defineProperties;var Z=Object.getOwnPropertyDescriptors;var A=Object.getOwnPropertySymbols;var ee=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable;var v=(s,e,t)=>e in s?X(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,O=(s,e)=>{for(var t in e||(e={}))ee.call(e,t)&&v(s,t,e[t]);if(A)for(var t of A(e))te.call(e,t)&&v(s,t,e[t]);return s},S=(s,e)=>Y(s,Z(e));try{self["workbox:core:6.5.2"]&&_()}catch{}const se=(s,...e)=>{let t=s;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},ne=se;class l extends Error{constructor(e,t){const n=ne(e,t);super(n),this.name=e,this.details=t}}const V=new Set;function ae(s){V.add(s)}const d={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:typeof registration!="undefined"?registration.scope:""},E=s=>[d.prefix,s,d.suffix].filter(e=>e&&e.length>0).join("-"),re=s=>{for(const e of Object.keys(d))s(e)},x={updateDetails:s=>{re(e=>{typeof s[e]=="string"&&(d[e]=s[e])})},getGoogleAnalyticsName:s=>s||E(d.googleAnalytics),getPrecacheName:s=>s||E(d.precache),getPrefix:()=>d.prefix,getRuntimeName:s=>s||E(d.runtime),getSuffix:()=>d.suffix};function W(s,e){const t=new URL(s);for(const n of e)t.searchParams.delete(n);return t.href}async function ie(s,e,t,n){const a=W(e.url,t);if(e.url===a)return s.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),i=await s.keys(e,r);for(const c of i){const o=W(c.url,t);if(a===o)return s.match(c,n)}}let m;function ce(){if(m===void 0){const s=new Response("");if("body"in s)try{new Response(s.body),m=!0}catch{m=!1}m=!1}return m}function $(s){s.then(()=>{})}class oe{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}}async function he(){for(const s of V)await s()}const le=s=>new URL(String(s),location.href).href.replace(new RegExp(`^${location.origin}`),"");function ue(s){return new Promise(e=>setTimeout(e,s))}function B(s,e){const t=e();return s.waitUntil(t),t}async function de(s,e){let t=null;if(s.url&&(t=new URL(s.url).origin),t!==self.location.origin)throw new l("cross-origin-copy-response",{origin:t});const n=s.clone(),a={headers:new Headers(n.headers),status:n.status,statusText:n.statusText},r=e?e(a):a,i=ce()?n.body:await n.blob();return new Response(i,r)}function fe(){self.addEventListener("activate",()=>self.clients.claim())}const pe=(s,e)=>e.some(t=>s instanceof t);let j,q;function ge(){return j||(j=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function me(){return q||(q=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const G=new WeakMap,P=new WeakMap,Q=new WeakMap,D=new WeakMap,I=new WeakMap;function ye(s){const e=new Promise((t,n)=>{const a=()=>{s.removeEventListener("success",r),s.removeEventListener("error",i)},r=()=>{t(f(s.result)),a()},i=()=>{n(s.error),a()};s.addEventListener("success",r),s.addEventListener("error",i)});return e.then(t=>{t instanceof IDBCursor&&G.set(t,s)}).catch(()=>{}),I.set(e,s),e}function we(s){if(P.has(s))return;const e=new Promise((t,n)=>{const a=()=>{s.removeEventListener("complete",r),s.removeEventListener("error",i),s.removeEventListener("abort",i)},r=()=>{t(),a()},i=()=>{n(s.error||new DOMException("AbortError","AbortError")),a()};s.addEventListener("complete",r),s.addEventListener("error",i),s.addEventListener("abort",i)});P.set(s,e)}let k={get(s,e,t){if(s instanceof IDBTransaction){if(e==="done")return P.get(s);if(e==="objectStoreNames")return s.objectStoreNames||Q.get(s);if(e==="store")return t.objectStoreNames[1]?void 0:t.objectStore(t.objectStoreNames[0])}return f(s[e])},set(s,e,t){return s[e]=t,!0},has(s,e){return s instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in s}};function _e(s){k=s(k)}function Re(s){return s===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(e,...t){const n=s.call(L(this),e,...t);return Q.set(n,e.sort?e.sort():[e]),f(n)}:me().includes(s)?function(...e){return s.apply(L(this),e),f(G.get(this))}:function(...e){return f(s.apply(L(this),e))}}function be(s){return typeof s=="function"?Re(s):(s instanceof IDBTransaction&&we(s),pe(s,ge())?new Proxy(s,k):s)}function f(s){if(s instanceof IDBRequest)return ye(s);if(D.has(s))return D.get(s);const e=be(s);return e!==s&&(D.set(s,e),I.set(e,s)),e}const L=s=>I.get(s);function Ce(s,e,{blocked:t,upgrade:n,blocking:a,terminated:r}={}){const i=indexedDB.open(s,e),c=f(i);return n&&i.addEventListener("upgradeneeded",o=>{n(f(i.result),o.oldVersion,o.newVersion,f(i.transaction))}),t&&i.addEventListener("blocked",()=>t()),c.then(o=>{r&&o.addEventListener("close",()=>r()),a&&o.addEventListener("versionchange",()=>a())}).catch(()=>{}),c}function xe(s,{blocked:e}={}){const t=indexedDB.deleteDatabase(s);return e&&t.addEventListener("blocked",()=>e()),f(t).then(()=>{})}const Ee=["get","getKey","getAll","getAllKeys","count"],De=["put","add","delete","clear"],U=new Map;function F(s,e){if(!(s instanceof IDBDatabase&&!(e in s)&&typeof e=="string"))return;if(U.get(e))return U.get(e);const t=e.replace(/FromIndex$/,""),n=e!==t,a=De.includes(t);if(!(t in(n?IDBIndex:IDBObjectStore).prototype)||!(a||Ee.includes(t)))return;const r=async function(i,...c){const o=this.transaction(i,a?"readwrite":"readonly");let h=o.store;return n&&(h=h.index(c.shift())),(await Promise.all([h[t](...c),a&&o.done]))[0]};return U.set(e,r),r}_e(s=>S(O({},s),{get:(e,t,n)=>F(e,t)||s.get(e,t,n),has:(e,t)=>!!F(e,t)||s.has(e,t)}));try{self["workbox:expiration:6.5.2"]&&_()}catch{}const Le="workbox-expiration",y="cache-entries",H=s=>{const e=new URL(s,location.href);return e.hash="",e.href};class Ue{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(y,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&xe(this._cacheName)}async setTimestamp(e,t){e=H(e);const n={url:e,timestamp:t,cacheName:this._cacheName,id:this._getId(e)},r=(await this.getDb()).transaction(y,"readwrite",{durability:"relaxed"});await r.store.put(n),await r.done}async getTimestamp(e){const n=await(await this.getDb()).get(y,this._getId(e));return n==null?void 0:n.timestamp}async expireEntries(e,t){const n=await this.getDb();let a=await n.transaction(y).store.index("timestamp").openCursor(null,"prev");const r=[];let i=0;for(;a;){const o=a.value;o.cacheName===this._cacheName&&(e&&o.timestamp=t?r.push(a.value):i++),a=await a.continue()}const c=[];for(const o of r)await n.delete(y,o.id),c.push(o.url);return c}_getId(e){return this._cacheName+"|"+H(e)}async getDb(){return this._db||(this._db=await Ce(Le,1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class Te{constructor(e,t={}){this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new Ue(e)}async expireEntries(){if(this._isRunning){this._rerunRequested=!0;return}this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-this._maxAgeSeconds*1e3:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),n=await self.caches.open(this._cacheName);for(const a of t)await n.delete(a,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,$(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),n=Date.now()-this._maxAgeSeconds*1e3;return t!==void 0?t{if(!r)return null;const i=this._isResponseDateFresh(r),c=this._getCacheExpiration(a);$(c.expireEntries());const o=c.updateTimestamp(n.url);if(t)try{t.waitUntil(o)}catch{}return i?r:null},this.cacheDidUpdate=async({cacheName:t,request:n})=>{const a=this._getCacheExpiration(t);await a.updateTimestamp(n.url),await a.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&ae(()=>this.deleteCacheAndMetadata())}_getCacheExpiration(e){if(e===x.getRuntimeName())throw new l("expire-custom-caches-only");let t=this._cacheExpirations.get(e);return t||(t=new Te(e,this._config),this._cacheExpirations.set(e,t)),t}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(t===null)return!0;const n=Date.now();return t>=n-this._maxAgeSeconds*1e3}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),a=new Date(t).getTime();return isNaN(a)?null:a}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}try{self["workbox:precaching:6.5.2"]&&_()}catch{}const ke="__WB_REVISION__";function Ie(s){if(!s)throw new l("add-to-cache-list-unexpected-type",{entry:s});if(typeof s=="string"){const r=new URL(s,location.href);return{cacheKey:r.href,url:r.href}}const{revision:e,url:t}=s;if(!t)throw new l("add-to-cache-list-unexpected-type",{entry:s});if(!e){const r=new URL(t,location.href);return{cacheKey:r.href,url:r.href}}const n=new URL(t,location.href),a=new URL(t,location.href);return n.searchParams.set(ke,e),{cacheKey:n.href,url:a.href}}class Me{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:n})=>{if(e.type==="install"&&t&&t.originalRequest&&t.originalRequest instanceof Request){const a=t.originalRequest.url;n?this.notUpdatedURLs.push(a):this.updatedURLs.push(a)}return n}}}class Ne{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:t,params:n})=>{const a=(n==null?void 0:n.cacheKey)||this._precacheController.getCacheKeyForURL(t.url);return a?new Request(a,{headers:t.headers}):t},this._precacheController=e}}try{self["workbox:strategies:6.5.2"]&&_()}catch{}function b(s){return typeof s=="string"?new Request(s):s}class Ke{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new oe,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const n of this._plugins)this._pluginStateMap.set(n,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let n=b(e);if(n.mode==="navigate"&&t instanceof FetchEvent&&t.preloadResponse){const i=await t.preloadResponse;if(i)return i}const a=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const i of this.iterateCallbacks("requestWillFetch"))n=await i({request:n.clone(),event:t})}catch(i){if(i instanceof Error)throw new l("plugin-error-request-will-fetch",{thrownErrorMessage:i.message})}const r=n.clone();try{let i;i=await fetch(n,n.mode==="navigate"?void 0:this._strategy.fetchOptions);for(const c of this.iterateCallbacks("fetchDidSucceed"))i=await c({event:t,request:r,response:i});return i}catch(i){throw a&&await this.runCallbacks("fetchDidFail",{error:i,event:t,originalRequest:a.clone(),request:r.clone()}),i}}async fetchAndCachePut(e){const t=await this.fetch(e),n=t.clone();return this.waitUntil(this.cachePut(e,n)),t}async cacheMatch(e){const t=b(e);let n;const{cacheName:a,matchOptions:r}=this._strategy,i=await this.getCacheKey(t,"read"),c=Object.assign(Object.assign({},r),{cacheName:a});n=await caches.match(i,c);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))n=await o({cacheName:a,matchOptions:r,cachedResponse:n,request:i,event:this.event})||void 0;return n}async cachePut(e,t){const n=b(e);await ue(0);const a=await this.getCacheKey(n,"write");if(!t)throw new l("cache-put-with-no-response",{url:le(a.url)});const r=await this._ensureResponseSafeToCache(t);if(!r)return!1;const{cacheName:i,matchOptions:c}=this._strategy,o=await self.caches.open(i),h=this.hasCallback("cacheDidUpdate"),g=h?await ie(o,a.clone(),["__WB_REVISION__"],c):null;try{await o.put(a,h?r.clone():r)}catch(u){if(u instanceof Error)throw u.name==="QuotaExceededError"&&await he(),u}for(const u of this.iterateCallbacks("cacheDidUpdate"))await u({cacheName:i,oldResponse:g,newResponse:r.clone(),request:a,event:this.event});return!0}async getCacheKey(e,t){const n=`${e.url} | ${t}`;if(!this._cacheKeys[n]){let a=e;for(const r of this.iterateCallbacks("cacheKeyWillBeUsed"))a=b(await r({mode:t,request:a,event:this.event,params:this.params}));this._cacheKeys[n]=a}return this._cacheKeys[n]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const n of this.iterateCallbacks(e))await n(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if(typeof t[e]=="function"){const n=this._pluginStateMap.get(t);yield r=>{const i=Object.assign(Object.assign({},r),{state:n});return t[e](i)}}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,n=!1;for(const a of this.iterateCallbacks("cacheWillUpdate"))if(t=await a({request:this.request,response:t,event:this.event})||void 0,n=!0,!t)break;return n||t&&t.status!==200&&(t=void 0),t}}class z{constructor(e={}){this.cacheName=x.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,n=typeof e.request=="string"?new Request(e.request):e.request,a="params"in e?e.params:void 0,r=new Ke(this,{event:t,request:n,params:a}),i=this._getResponse(r,n,t),c=this._awaitComplete(i,r,n,t);return[i,c]}async _getResponse(e,t,n){await e.runCallbacks("handlerWillStart",{event:n,request:t});let a;try{if(a=await this._handle(t,e),!a||a.type==="error")throw new l("no-response",{url:t.url})}catch(r){if(r instanceof Error){for(const i of e.iterateCallbacks("handlerDidError"))if(a=await i({error:r,event:n,request:t}),a)break}if(!a)throw r}for(const r of e.iterateCallbacks("handlerWillRespond"))a=await r({event:n,request:t,response:a});return a}async _awaitComplete(e,t,n,a){let r,i;try{r=await e}catch{}try{await t.runCallbacks("handlerDidRespond",{event:a,request:n,response:r}),await t.doneWaiting()}catch(c){c instanceof Error&&(i=c)}if(await t.runCallbacks("handlerDidComplete",{event:a,request:n,response:r,error:i}),t.destroy(),i)throw i}}class p extends z{constructor(e={}){e.cacheName=x.getPrecacheName(e.cacheName),super(e),this._fallbackToNetwork=e.fallbackToNetwork!==!1,this.plugins.push(p.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const n=await t.cacheMatch(e);return n||(t.event&&t.event.type==="install"?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,t){let n;const a=t.params||{};if(this._fallbackToNetwork){const r=a.integrity,i=e.integrity,c=!i||i===r;n=await t.fetch(new Request(e,{integrity:i||r})),r&&c&&(this._useDefaultCacheabilityPluginIfNeeded(),await t.cachePut(e,n.clone()))}else throw new l("missing-precache-entry",{cacheName:this.cacheName,url:e.url});return n}async _handleInstall(e,t){this._useDefaultCacheabilityPluginIfNeeded();const n=await t.fetch(e);if(!await t.cachePut(e,n.clone()))throw new l("bad-precaching-response",{url:e.url,status:n.status});return n}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[n,a]of this.plugins.entries())a!==p.copyRedirectedCacheableResponsesPlugin&&(a===p.defaultPrecacheCacheabilityPlugin&&(e=n),a.cacheWillUpdate&&t++);t===0?this.plugins.push(p.defaultPrecacheCacheabilityPlugin):t>1&&e!==null&&this.plugins.splice(e,1)}}p.defaultPrecacheCacheabilityPlugin={async cacheWillUpdate({response:s}){return!s||s.status>=400?null:s}};p.copyRedirectedCacheableResponsesPlugin={async cacheWillUpdate({response:s}){return s.redirected?await de(s):s}};class Ae{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:n=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new p({cacheName:x.getPrecacheName(e),plugins:[...t,new Ne({precacheController:this})],fallbackToNetwork:n}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}addToCacheList(e){const t=[];for(const n of e){typeof n=="string"?t.push(n):n&&n.revision===void 0&&t.push(n.url);const{cacheKey:a,url:r}=Ie(n),i=typeof n!="string"&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(r)&&this._urlsToCacheKeys.get(r)!==a)throw new l("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(r),secondEntry:a});if(typeof n!="string"&&n.integrity){if(this._cacheKeysToIntegrities.has(a)&&this._cacheKeysToIntegrities.get(a)!==n.integrity)throw new l("add-to-cache-list-conflicting-integrities",{url:r});this._cacheKeysToIntegrities.set(a,n.integrity)}if(this._urlsToCacheKeys.set(r,a),this._urlsToCacheModes.set(r,i),t.length>0){const c=`Workbox is precaching URLs without revision info: ${t.join(", ")} -This is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(c)}}}install(e){return B(e,async()=>{const t=new Me;this.strategy.plugins.push(t);for(const[r,i]of this._urlsToCacheKeys){const c=this._cacheKeysToIntegrities.get(i),o=this._urlsToCacheModes.get(r),h=new Request(r,{integrity:c,cache:o,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:i},request:h,event:e}))}const{updatedURLs:n,notUpdatedURLs:a}=t;return{updatedURLs:n,notUpdatedURLs:a}})}activate(e){return B(e,async()=>{const t=await self.caches.open(this.strategy.cacheName),n=await t.keys(),a=new Set(this._urlsToCacheKeys.values()),r=[];for(const i of n)a.has(i.url)||(await t.delete(i),r.push(i.url));return{deletedURLs:r}})}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,n=this.getCacheKeyForURL(t);if(n)return(await self.caches.open(this.strategy.cacheName)).match(n)}createHandlerBoundToURL(e){const t=this.getCacheKeyForURL(e);if(!t)throw new l("non-precached-url",{url:e});return n=>(n.request=new Request(e),n.params=Object.assign({cacheKey:t},n.params),this.strategy.handle(n))}}let T;const M=()=>(T||(T=new Ae),T);try{self["workbox:routing:6.5.2"]&&_()}catch{}const J="GET",C=s=>s&&typeof s=="object"?s:{handle:s};class R{constructor(e,t,n=J){this.handler=C(t),this.match=e,this.method=n}setCatchHandler(e){this.catchHandler=C(e)}}class ve extends R{constructor(e,t,n){const a=({url:r})=>{const i=e.exec(r.href);if(!!i&&!(r.origin!==location.origin&&i.index!==0))return i.slice(1)};super(a,t,n)}}class Oe{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",e=>{const{request:t}=e,n=this.handleRequest({request:t,event:e});n&&e.respondWith(n)})}addCacheListener(){self.addEventListener("message",e=>{if(e.data&&e.data.type==="CACHE_URLS"){const{payload:t}=e.data,n=Promise.all(t.urlsToCache.map(a=>{typeof a=="string"&&(a=[a]);const r=new Request(...a);return this.handleRequest({request:r,event:e})}));e.waitUntil(n),e.ports&&e.ports[0]&&n.then(()=>e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){const n=new URL(e.url,location.href);if(!n.protocol.startsWith("http"))return;const a=n.origin===location.origin,{params:r,route:i}=this.findMatchingRoute({event:t,request:e,sameOrigin:a,url:n});let c=i&&i.handler;const o=e.method;if(!c&&this._defaultHandlerMap.has(o)&&(c=this._defaultHandlerMap.get(o)),!c)return;let h;try{h=c.handle({url:n,request:e,event:t,params:r})}catch(u){h=Promise.reject(u)}const g=i&&i.catchHandler;return h instanceof Promise&&(this._catchHandler||g)&&(h=h.catch(async u=>{if(g)try{return await g.handle({url:n,request:e,event:t,params:r})}catch(K){K instanceof Error&&(u=K)}if(this._catchHandler)return this._catchHandler.handle({url:n,request:e,event:t});throw u})),h}findMatchingRoute({url:e,sameOrigin:t,request:n,event:a}){const r=this._routes.get(n.method)||[];for(const i of r){let c;const o=i.match({url:e,sameOrigin:t,request:n,event:a});if(o)return c=o,(Array.isArray(c)&&c.length===0||o.constructor===Object&&Object.keys(o).length===0||typeof o=="boolean")&&(c=void 0),{route:i,params:c}}return{}}setDefaultHandler(e,t=J){this._defaultHandlerMap.set(t,C(e))}setCatchHandler(e){this._catchHandler=C(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new l("unregister-route-but-not-found-with-method",{method:e.method});const t=this._routes.get(e.method).indexOf(e);if(t>-1)this._routes.get(e.method).splice(t,1);else throw new l("unregister-route-route-not-registered")}}let w;const Se=()=>(w||(w=new Oe,w.addFetchListener(),w.addCacheListener()),w);function N(s,e,t){let n;if(typeof s=="string"){const r=new URL(s,location.href),i=({url:c})=>c.href===r.href;n=new R(i,e,t)}else if(s instanceof RegExp)n=new ve(s,e,t);else if(typeof s=="function")n=new R(s,e,t);else if(s instanceof R)n=s;else throw new l("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});return Se().registerRoute(n),n}function We(s,e=[]){for(const t of[...s.searchParams.keys()])e.some(n=>n.test(t))&&s.searchParams.delete(t);return s}function*Be(s,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:t="index.html",cleanURLs:n=!0,urlManipulation:a}={}){const r=new URL(s,location.href);r.hash="",yield r.href;const i=We(r,e);if(yield i.href,t&&i.pathname.endsWith("/")){const c=new URL(i.href);c.pathname+=t,yield c.href}if(n){const c=new URL(i.href);c.pathname+=".html",yield c.href}if(a){const c=a({url:r});for(const o of c)yield o.href}}class je extends R{constructor(e,t){const n=({request:a})=>{const r=e.getURLsToCacheKeys();for(const i of Be(a.url,t)){const c=r.get(i);if(c){const o=e.getIntegrityForCacheKey(c);return{cacheKey:c,integrity:o}}}};super(n,e.strategy)}}function qe(s){const e=M(),t=new je(e,s);N(t)}function Fe(s){return M().createHandlerBoundToURL(s)}function He(s){M().precache(s)}function Ve(s,e){He(s),qe(e)}const $e={cacheWillUpdate:async({response:s})=>s.status===200||s.status===0?s:null};class Ge extends z{constructor(e={}){super(e),this.plugins.some(t=>"cacheWillUpdate"in t)||this.plugins.unshift($e)}async _handle(e,t){const n=t.fetchAndCachePut(e).catch(()=>{});t.waitUntil(n);let a=await t.cacheMatch(e),r;if(!a)try{a=await n}catch(i){i instanceof Error&&(r=i)}if(!a)throw new l("no-response",{url:e.url,error:r});return a}}fe();Ve([{"revision":null,"url":"assets/chart-lib.1222a339.js"},{"revision":null,"url":"assets/chevron-down.35424756.js"},{"revision":null,"url":"assets/Config.79726ace.js"},{"revision":null,"url":"assets/Config.a3c24172.css"},{"revision":null,"url":"assets/Connections.0d34b527.js"},{"revision":null,"url":"assets/Connections.10dc6333.css"},{"revision":null,"url":"assets/debounce.d080d5e1.js"},{"revision":null,"url":"assets/en.27a4fc6f.js"},{"revision":null,"url":"assets/Fab.33a60e0e.css"},{"revision":null,"url":"assets/Fab.d363c2c3.js"},{"revision":null,"url":"assets/index.1ca2d13d.js"},{"revision":null,"url":"assets/index.73810e97.css"},{"revision":null,"url":"assets/index.9c1af6a6.js"},{"revision":null,"url":"assets/index.cd34981b.js"},{"revision":null,"url":"assets/logs.480db4a8.js"},{"revision":null,"url":"assets/Logs.7be64a6f.css"},{"revision":null,"url":"assets/Logs.9c10807e.js"},{"revision":null,"url":"assets/play.2aacfa82.js"},{"revision":null,"url":"assets/Proxies.8acf6f55.js"},{"revision":null,"url":"assets/Proxies.9aa0ff44.css"},{"revision":null,"url":"assets/rotate-cw.a7721ea7.js"},{"revision":null,"url":"assets/Rules.9a6bd403.css"},{"revision":null,"url":"assets/Rules.c899c6cc.js"},{"revision":null,"url":"assets/Select.38f9da49.css"},{"revision":null,"url":"assets/Select.763fb4e2.js"},{"revision":null,"url":"assets/TextFitler.3d9182a0.css"},{"revision":null,"url":"assets/TextFitler.eb6072d2.js"},{"revision":null,"url":"assets/useRemainingViewPortHeight.a89bff9d.js"},{"revision":null,"url":"assets/zh.c14b4bb9.js"},{"revision":"21618cab56776af0460e0605735e61af","url":"index.html"},{"revision":"402b66900e731ca748771b6fc5e7a068","url":"registerSW.js"},{"revision":"c0f9cb6aaf647e778bdc01c59944755b","url":"manifest.webmanifest"}]);const Qe=new RegExp("/[^/?]+\\.[^/]+$");N(({request:s,url:e})=>!(s.mode!=="navigate"||e.pathname.startsWith("/_")||e.pathname.match(Qe)),Fe("index.html"));N(({url:s})=>s.origin===self.location.origin&&s.pathname.endsWith(".png"),new Ge({cacheName:"images",plugins:[new Pe({maxEntries:50})]}));self.addEventListener("message",s=>{s.data&&s.data.type==="SKIP_WAITING"&&self.skipWaiting()}); diff --git a/bin/Yacd-meta-gh-pages/yacd.ico b/bin/Yacd-meta-gh-pages/yacd.ico deleted file mode 100644 index 0cc77ed8..00000000 Binary files a/bin/Yacd-meta-gh-pages/yacd.ico and /dev/null differ diff --git a/bin/Yacd-meta-gh-pages/yacd.png b/bin/Yacd-meta-gh-pages/yacd.png deleted file mode 100644 index cbb3fcbf..00000000 Binary files a/bin/Yacd-meta-gh-pages/yacd.png and /dev/null differ diff --git a/bin/clashdb.tar.gz b/bin/clashdb.tar.gz index 17efa1a2..efa1d4c5 100644 Binary files a/bin/clashdb.tar.gz and b/bin/clashdb.tar.gz differ diff --git a/bin/meta_db.tar.gz b/bin/meta_db.tar.gz index 17efa1a2..055e6d71 100644 Binary files a/bin/meta_db.tar.gz and b/bin/meta_db.tar.gz differ diff --git a/bin/meta_yacd.tar.gz b/bin/meta_yacd.tar.gz index 85bc04b8..75efbce7 100644 Binary files a/bin/meta_yacd.tar.gz and b/bin/meta_yacd.tar.gz differ diff --git a/bin/yacd.tar.gz b/bin/yacd.tar.gz index 85bc04b8..57521977 100644 Binary files a/bin/yacd.tar.gz and b/bin/yacd.tar.gz differ